commit 9c7a73bc57677f35e1f36f14b82bbef400d47c3e Author: openKylinBot Date: Fri May 13 20:08:20 2022 +0800 Import Upstream version 2.3.1 diff --git a/.lgtm.yml b/.lgtm.yml new file mode 100644 index 0000000..6265517 --- /dev/null +++ b/.lgtm.yml @@ -0,0 +1,4 @@ +queries: + - exclude: cpp/integer-multiplication-cast-to-long + - exclude: cpp/missing-header-guard + - exclude: cpp/short-global-name diff --git a/CHANGES.md b/CHANGES.md new file mode 100644 index 0000000..5959407 --- /dev/null +++ b/CHANGES.md @@ -0,0 +1,391 @@ +CHANGES - 2.3.1 - 2019-12-13 +============================ + + +Changes in CUPS v2.3.1 +---------------------- + +- Documentation updates (Issue #5661, #5674, #5682) +- CVE-2019-2228: The `ippSetValuetag` function did not validate the default + language value. +- Fixed a crash bug in the web interface (Issue #5621) +- The PPD cache code now looks up page sizes using their dimensions + (Issue #5633) +- PPD files containing "custom" option keywords did not work (Issue #5639) +- Added a workaround for the scheduler's systemd support (Issue #5640) +- On Windows, TLS certificates generated on February 29 would likely fail + (Issue #5643) +- Added a DigestOptions directive for the `client.conf` file to control whether + MD5-based Digest authentication is allowed (Issue #5647) +- Fixed a bug in the handling of printer resource files (Issue #5652) +- The libusb-based USB backend now reports an error when the distribution + permissions are wrong (Issue #5658) +- Added paint can labels to Dymo driver (Issue #5662) +- The `ippeveprinter` program now supports authentication (Issue #5665) +- The `ippeveprinter` program now advertises DNS-SD services on the correct + interfaces, and provides a way to turn them off (Issue #5666) +- The `--with-dbusdir` option was ignored by the configure script (Issue #5671) +- Sandboxed applications were not able to get the default printer (Issue #5676) +- Log file access controls were not preserved by `cupsctl` (Issue #5677) +- Default printers set with `lpoptions` did not work in all cases (Issue #5681, + Issue #5683, Issue #5684) +- Fixed an error in the jobs web interface template (Issue #5694) +- Fixed an off-by-one error in `ippEnumString` (Issue #5695) +- Fixed some new compiler warnings (Issue #5700) +- Fixed a few issues with the Apple Raster support (rdar://55301114) +- The IPP backend did not detect all cases where a job should be retried using + a raster format (rdar://56021091) +- Fixed spelling of "fold-accordion". +- Fixed the default common name for TLS certificates used by `ippeveprinter`. +- Fixed the option names used for IPP Everywhere finishing options. +- Added support for the second roll of the DYMO Twin/DUO label printers. + + +Changes in CUPS v2.3.0 +---------------------- + +- CVE-2019-8696 and CVE-2019-8675: Fixed SNMP buffer overflows (rdar://51685251) +- Added a GPL2/LGPL2 exception to the new CUPS license terms. +- Documentation updates (Issue #5604) +- Localization updates (Issue #5637) +- Fixed a bug in the scheduler job cleanup code (Issue #5588) +- Fixed builds when there is no TLS library (Issue #5590) +- Eliminated some new GCC compiler warnings (Issue #5591) +- Removed dead code from the scheduler (Issue #5593) +- "make" failed with GZIP options (Issue #5595) +- Fixed potential excess logging from the scheduler when removing job files + (Issue #5597) +- Fixed a NULL pointer dereference bug in `httpGetSubField2` (Issue #5598) +- Added FIPS-140 workarounds for GNU TLS (Issue #5601, Issue #5622) +- The scheduler no longer provides a default value for the description + (Issue #5603) +- The scheduler now logs jobs held for authentication using the error level so + it is clear what happened (Issue #5604) +- The `lpadmin` command did not always update the PPD file for changes to the + `cupsIPPSupplies` and `cupsSNMPSupplies` keywords (Issue #5610) +- The scheduler now uses both the group's membership list as well as the + various OS-specific membership functions to determine whether a user belongs + to a named group (Issue #5613) +- Added USB quirks rule for HP LaserJet 1015 (Issue #5617) +- Fixed some PPD parser issues (Issue #5623, Issue #5624) +- The IPP parser no longer allows invalid member attributes in collections + (Issue #5630) +- The configure script now treats the "wheel" group as a potential system + group (Issue #5638) +- Fixed a USB printing issue on macOS (rdar://31433931) +- Fixed IPP buffer overflow (rdar://50035411) +- Fixed memory disclosure issue in the scheduler (rdar://51373853) +- Fixed DoS issues in the scheduler (rdar://51373929) +- Fixed an issue with unsupported "sides" values in the IPP backend + (rdar://51775322) +- The scheduler would restart continuously when idle and printers were not + shared (rdar://52561199) +- Fixed an issue with `EXPECT !name WITH-VALUE ...` tests. +- Fixed a command ordering issue in the Zebra ZPL driver. +- Fixed a memory leak in `ppdOpen`. + + +Changes in CUPS v2.3rc1 +----------------------- + +- The `cups-config` script no longer adds extra libraries when linking against + shared libraries (Issue #5261) +- The supplied example print documents have been optimized for size + (Issue #5529) +- The `cupsctl` command now prevents setting "cups-files.conf" directives + (Issue #5530) +- The "forbidden" message in the web interface is now explained (Issue #5547) +- The footer in the web interface covered some content on small displays + (Issue #5574) +- The libusb-based USB backend now enforces read limits, improving print speed + in many cases (Issue #5583) +- The `ippeveprinter` command now looks for print commands in the "command" + subdirectory. +- The `ipptool` command now supports `$date-current` and `$date-start` variables + to insert the current and starting date and time values, as well as ISO-8601 + relative time values such as "PT30S" for 30 seconds in the future. + + +Changes in CUPS v2.3b8 +---------------------- + +- Media size matching now uses a tolerance of 0.5mm (rdar://33822024) +- The lpadmin command would hang with a bad PPD file (rdar://41495016) +- Fixed a potential crash bug in cups-driverd (rdar://46625579) +- Fixed a performance regression with large PPDs (rdar://47040759) +- Fixed a memory reallocation bug in HTTP header value expansion + (rdar://problem/50000749) +- Timed out job submission now yields an error (Issue #5570) +- Restored minimal support for the `Emulators` keyword in PPD files to allow + old Samsung printer drivers to continue to work (Issue #5562) +- The scheduler did not encode octetString values like "job-password" correctly + for the print filters (Issue #5558) +- The `cupsCheckDestSupported` function did not check octetString values + correctly (Issue #5557) +- Added support for `UserAgentTokens` directive in "client.conf" (Issue #5555) +- Updated the systemd service file for cupsd (Issue #5551) +- The `ippValidateAttribute` function did not catch all instances of invalid + UTF-8 strings (Issue #5509) +- Fixed an issue with the self-signed certificates generated by GNU TLS + (Issue #5506) +- Fixed a potential memory leak when reading at the end of a file (Issue #5473) +- Fixed potential unaligned accesses in the string pool (Issue #5474) +- Fixed a potential memory leak when loading a PPD file (Issue #5475) +- Added a USB quirks rule for the Lexmark E120n (Issue #5478) +- Updated the USB quirks rule for Zebra label printers (Issue #5395) +- Fixed a compile error on Linux (Issue #5483) +- The lpadmin command, web interface, and scheduler all queried an IPP + Everywhere printer differently, resulting in different PPDs for the same + printer (Issue #5484) +- The web interface no longer provides access to the log files (Issue #5513) +- Non-Kerberized printing to Windows via IPP was broken (Issue #5515) +- Eliminated use of private headers and some deprecated macOS APIs (Issue #5516) +- The scheduler no longer stops a printer if an error occurs when a job is + canceled or aborted (Issue #5517) +- Added a USB quirks rule for the DYMO 450 Turbo (Issue #5521) +- Added a USB quirks rule for Xerox printers (Issue #5523) +- The scheduler's self-signed certificate did not include all of the alternate + names for the server when using GNU TLS (Issue #5525) +- Fixed compiler warnings with newer versions of GCC (Issue #5532, Issue #5533) +- Fixed some PPD caching and IPP Everywhere PPD accounting/password bugs + (Issue #5535) +- Fixed `PreserveJobHistory` bug with time values (Issue #5538) +- The scheduler no longer advertises the HTTP methods it supports (Issue #5540) +- Localization updates (Issue #5461, Issues #5471, Issue #5481, Issue #5486, + Issue #5489, Issue #5491, Issue #5492, Issue #5493, Issue #5494, Issue #5495, + Issue #5497, Issue #5499, Issue #5500, Issue #5501, Issue #5504) +- The scheduler did not always idle exit as quickly as it could. +- Added a new `ippeveprinter` command based on the old ippserver sample code. + + +Changes in CUPS v2.3b7 +---------------------- + +- Fixed some build failures (Issue #5451, Issue #5463) +- Running ppdmerge with the same input and output filenames did not work as + advertised (Issue #5455) + + +Changes in CUPS v2.3b6 +---------------------- + +- Localization update (Issue #5339, Issue #5348, Issue #5362, Issue #5408, + Issue #5410) +- Documentation updates (Issue #5369, Issue #5402, Issue #5403, Issue #5404) +- CVE-2018-4300: Linux session cookies used a predictable random number seed. +- All user commands now support the `--help` option (Issue #5326) +- The `lpoptions` command now works with IPP Everywhere printers that have not + yet been added as local queues (Issue #5045) +- The lpadmin command would create a non-working printer in some error cases + (Issue #5305) +- The scheduler would crash if an empty `AccessLog` directive was specified + (Issue #5309) +- The scheduler did not idle-exit on some Linux distributions (Issue #5319) +- Fixed a regression in the changes to ippValidateAttribute (Issue #5322, + Issue #5330) +- Fixed a crash bug in the Epson dot matrix driver (Issue #5323) +- Automatic debug logging of job errors did not work with systemd (Issue #5337) +- The web interface did not list the IPP Everywhere "driver" (Issue #5338) +- The scheduler did not report all of the supported job options and values + (Issue #5340) +- The IPP Everywhere "driver" now properly supports face-up printers + (Issue #5345) +- Fixed some typos in the label printer drivers (Issue #5350) +- Setting the `Community` name to the empty string in `snmp.conf` now disables + SNMP supply level monitoring by all the standard network backends + (Issue #5354) +- Multi-file jobs could get stuck if the backend failed (Issue #5359, + Issue #5413) +- The IPP Everywhere "driver" no longer does local filtering when printing to + a shared CUPS printer (Issue #5361) +- The lpadmin command now correctly reports IPP errors when configuring an + IPP Everywhere printer (Issue #5370) +- Fixed some memory leaks discovered by Coverity (Issue #5375) +- The PPD compiler incorrectly terminated JCL options (Issue #5379) +- The cupstestppd utility did not generate errors for missing/mismatched + CloseUI/JCLCloseUI keywords (Issue #5381) +- The scheduler now reports the actual location of the log file (Issue #5398) +- Added USB quirk rules (Issue #5395, Issue #5420, Issue #5443) +- The generated PPD files for IPP Everywhere printers did not contain the + cupsManualCopies keyword (Issue #5433) +- Kerberos credentials might be truncated (Issue #5435) +- The handling of `MaxJobTime 0` did not match the documentation (Issue #5438) +- Fixed a bug adding a queue with the `-E` option (Issue #5440) +- The `cupsaddsmb` program has been removed (Issue #5449) +- The `cupstestdsc` program has been removed (Issue #5450) +- The scheduler was being backgrounded on macOS, causing applications to spin + (rdar://40436080) +- The scheduler did not validate that required initial request attributes were + in the operation group (rdar://41098178) +- Authentication in the web interface did not work on macOS (rdar://41444473) +- Fixed an issue with HTTP Digest authentication (rdar://41709086) +- The scheduler could crash when job history was purged (rdar://42198057) +- Fixed a crash bug when mapping PPD duplex options to IPP attributes + (rdar://46183976) +- Fixed a memory leak for some IPP (extension) syntaxes. +- The `cupscgi`, `cupsmime`, and `cupsppdc` support libraries are no longer + installed as shared libraries. +- The `snmp` backend is now deprecated. + + +Changes in CUPS v2.3b5 +---------------------- + +- The `ipptool` program no longer checks for duplicate attributes when running + in list or CSV mode (Issue #5278) +- The `cupsCreateJob`, `cupsPrintFile2`, and `cupsPrintFiles2` APIs did not use + the supplied HTTP connection (Issue #5288) +- Fixed another crash in the scheduler when adding an IPP Everywhere printer + (Issue #5290) +- Added a workaround for certain web browsers that do not support multiple + authentication schemes in a single response header (Issue #5289) +- Fixed policy limits containing the `All` operation (Issue #5296) +- The scheduler was always restarted after idle-exit with systemd (Issue #5297) +- Added a USB quirks rule for the HP LaserJet P1102 (Issue #5310) +- The mailto notifier did not wait for the welcome message (Issue #5312) +- Fixed a parsing bug in the pstops filter (Issue #5321) +- Documentation updates (Issue #5299, Issue #5301, Issue #5306) +- Localization updates (Issue #5317) +- The scheduler allowed environment variables to be specified in the + `cupsd.conf` file (rdar://37836779, rdar://37836995, rdar://37837252, + rdar://37837581) +- Fax queues did not support pause (p) or wait-for-dialtone (w) characters + (rdar://39212256) +- The scheduler did not validate notify-recipient-uri values properly + (rdar://40068936) +- The IPP parser allowed invalid group tags (rdar://40442124) +- Fixed a parsing bug in the new authentication code. + + +Changes in CUPS v2.3b4 +---------------------- + +- NOTICE: Printer drivers are now deprecated (Issue #5270) +- Kerberized printing to another CUPS server did not work correctly + (Issue #5233) +- Fixed printing to some IPP Everywhere printers (Issue #5238) +- Fixed installation of filters (Issue #5247) +- The scheduler now supports using temporary print queues for older IPP/1.1 + print queues like those shared by CUPS 1.3 and earlier (Issue #5241) +- Star Micronics printers need the "unidir" USB quirk rule (Issue #5251) +- Documentation fixes (Issue #5252) +- Fixed a compile issue when PAM is not available (Issue #5253) +- Label printers supported by the rastertolabel driver don't support SNMP, so + don't delay printing to test it (Issue #5256) +- The scheduler could crash while adding an IPP Everywhere printer (Issue #5258) +- The Lexmark Optra E310 printer needs the "no-reattach" USB quirk rule + (Issue #5259) +- Systemd did not restart cupsd when configuration changes were made that + required a restart (Issue #5263) +- The IPP Everywhere PPD generator did not include the `cupsJobPassword` + keyword, when supported (Issue #5265) +- Fixed an Avahi crash bug in the scheduler (Issue #5268) +- Raw print queues are now deprecated (Issue #5269) +- Fixed an RPM packaging problem (Issue #5276) +- The IPP backend did not properly detect failed PDF prints (rdar://34055474) +- TLS connections now properly timeout (rdar://34938533) +- Temp files could not be created in some sandboxed applications + (rdar://37789645) +- The ipptool `--ippserver` option did not encode out-of-band attributes + correctly. +- Added public `cupsEncodeOption` API for encoding a single option as an IPP + attribute. +- Removed support for the `-D_PPD_DEPRECATED=""` developer cheat - the PPD API + should no longer be used. +- Removed support for `-D_IPP_PRIVATE_STRUCTURES=1` developer cheat - the IPP + accessor functions should be used instead. + + +Changes in CUPS v2.3b3 +---------------------- + +- More fixes for printing to old CUPS servers (Issue #5211) +- The IPP Everywhere PPD generator did not support deep grayscale or 8-bit per + component AdobeRGB (Issue #5227) +- Additional changes for the scheduler to substitute default values for invalid + job attributes when running in "relaxed conformance" mode (Issue #5229) +- Localization changes (Issue #5232, rdar://37068158) +- The `cupsCopyDestInfo` function did not work with all print queues + (Issue #5235) + + +Changes in CUPS v2.3b2 +---------------------- + +- Localization changes (Issue #5210) +- Build fixes (Issue #5217) +- IPP Everywhere PPDs were not localized to English (Issue #5205) +- The `cupsGetDests` and `cupsEnumDests` functions no longer filter out local + print services like IPP USB devices (Issue #5206) +- The `cupsCopyDest` function now correctly copies the `is_default` value + (Issue #5208) +- Printing to old CUPS servers has been fixed (Issue #5211) +- The `ppdInstallableConflict` tested too many constraints (Issue #5213) +- All HTTP field values can now be longer than `HTTP_MAX_VALUE` bytes + (Issue #5216) +- Added a USB quirk rule for Canon MP280 series printers (Issue #5221) +- The `cupsRasterWritePixels` function did not correctly swap bytes for some + formats (Issue #5225) +- Fixed an issue with mapping finishing options (rdar://34250727) +- The `ppdLocalizeIPPReason` function incorrectly returned a localized version + of "none" (rdar://36566269) +- The scheduler did not add ".local" to the default DNS-SD host name when + needed. + + +Changes in CUPS v2.3b1 +---------------------- + +- CUPS is now provided under the Apache License, Version 2.0. +- Documentation updates (Issue #4580, Issue #5177, Issue #5192) +- The `cupsCopyDestConflicts` function now handles collection attribute + ("media-col", "finishings-col", etc.) constraints (Issue #4096) +- The `lpoptions` command incorrectly saved default options (Issue #4717) +- The `lpstat` command now reports when new jobs are being held (Issue #4761) +- The `ippfind` command now supports finding printers whose name starts with an + underscore (Issue #4833) +- The CUPS library now supports the latest HTTP Digest authentication + specification including support for SHA-256 (Issue #4862) +- The scheduler now supports the "printer-id" attribute (Issue #4868) +- No longer support backslash, question mark, or quotes in printer names + (Issue #4966) +- The scheduler no longer logs pages as they are printed, instead just logging + a total of the pages printed at job completion (Issue #4991) +- Dropped RSS subscription management from the web interface (Issue #5012) +- Bonjour printer sharing now uses the DNS-SD hostname (or ServerName value if + none is defined) when registering shared printers on the network (Issue #5071) +- The `ipptool` command now supports writing `ippserver` attributes files + (Issue #5093) +- The `lp` and `lpr` commands now provide better error messages when the default + printer cannot be found (Issue #5096) +- The `lpadmin` command now provides a better error message when an unsupported + System V interface script is used (Issue #5111) +- The scheduler did not write out dirty configuration and state files if there + were open client connections (Issue #5118) +- The `SSLOptions` directive now supports `MinTLS` and `MaxTLS` options to + control the minimum and maximum TLS versions that will be allowed, + respectively (Issue #5119) +- Dropped hard-coded CGI scripting language support (Issue #5124) +- The `cupsEnumDests` function did not include options from the lpoptions + files (Issue #5144) +- Fixed the `ippserver` sample code when threading is disabled or unavailable + (Issue #5154) +- Added label markup to checkbox and radio button controls in the web interface + templates (Issue #5161) +- Fixed group validation on OpenBSD (Issue #5166) +- Improved IPP Everywhere media support, including a new + `cupsAddDestMediaOptions` function (Issue #5167) +- IPP Everywhere PPDs now include localizations of printer-specific media types, + when available (Issue #5168) +- The cups-driverd program incorrectly stopped scanning PPDs as soon as a loop + was seen (Issue #5170) +- IPP Everywhere PPDs now support IPP job presets (Issue #5179) +- IPP Everywhere PPDs now support finishing templates (Issue #5180) +- Fixed a journald support bug in the scheduler (Issue #5181) +- Fixed PAM module detection and added support for the common PAM definitions + (Issue #5185) +- The scheduler now substitutes default values for invalid job attributes when + running in "relaxed conformance" mode (Issue #5186) +- The scheduler did not work with older versions of uClibc (Issue #5188) +- The scheduler now generates a strings file for localizing PPD options + (Issue #5194) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..2421d0d --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,15 @@ +Contributing to CUPS +==================== + +CUPS is developed by Apple Inc. and distributed as open source software under +the Apache License, Version 2.0 with exceptions to allow linking to GPL2/LGPL2 +code. Significant contributions to CUPS must be licensed to Apple using the +Apple Contributor Agreement: + + https://www.cups.org/AppleContributorAgreement_2011-03-10.pdf + +Contributions should be submitted as attachments to bug reports on the +[CUPS Github project](https://github.com/apple/cups). Changes to existing +source files should be submitted as unified diffs while new source files +should be provided as-is or in an archive. Github pull requests can also be +used to submit changes. diff --git a/CREDITS.md b/CREDITS.md new file mode 100644 index 0000000..8b1a15d --- /dev/null +++ b/CREDITS.md @@ -0,0 +1,54 @@ +CREDITS - 2019-08-21 +==================== + +Few projects are completed by one person, and CUPS is no exception. We'd like +to thank the following individuals for their contributions: + + Niklas 'Nille' Åkerström - Swedish localization. + Nathaniel Barbour - Lots of testing and feedback. + N. Becker - setsid(). + Philippe Combes - French localization and buttons script. + Jean-Eric Cuendet - GhostScript filters for CUPS. + Van Dang - HTTP and IPP policeman. + L. Peter Deutsch - MD5 code. + Dr. ZP Han - setgid()/setuid(). + Guy Harris - *BSD shared libraries and lots of other + fixes. + Bjoern Jacke - I18N stuff. + Wang Jian - CUPS RPM corrections. + Roderick Johnstone - Beta tester of the millenium. + Till Kamppeter - Bug fixes, beta testing, evangelism. + Tomohiro Kato - Japanese localization. + Kiko - Bug fixes. + Sergey V. Kovalyov - ESP Print Pro and CUPS beta tester. + Marek Laane - Estonian translation. + Iñaki Larrañaga - Basque localization. + Mark Lawrence - Microsoft interoperability testing. + Jeff Licquia - Bug fixes, beta testing, evangelism. + Jason McMullan - Original CUPS RPM distributions. + Àngel Mompó - Catalan localization. + Wes Morgan - *BSD fixes. + Kenshi Muto - Japanese localization, patches, and + testing. + Brian Norris - Upstart support. + Daniel Nylander - Swedish localization. + Naruiko Ogasawara - Japanese localization. + Giulio Orsero - Bug fixes and testing. + Michal Osowiecki - Polish localization. + Citra Paska - Indonesian localization. + Kurt Pfeifle - Bug fixes, beta testing, evangelism. + Vincenzo Reale - Italian localization. + Petter Reinholdtsen - HP-UX compiler stuff. + Juan Pablo González Riopedre - Spanish localization. + Giovanni Scafora - Italian localization. + Joachim Schwender - German localization. + Opher Shachar - Hebrew localization. + Stuart Stevens - HP JetDirect IPP information. + Andrea Suatoni - IRIX desktop integration and testing. + Teppo Turliainen - Finnish localization. + Tim Waugh - Lots of patches, testing, and Linux + integration. + Yugami - LDAP browsing support. + +If I've missed someone, please let me know by sending an email to +"msweet@apple.com". diff --git a/DEVELOPING.md b/DEVELOPING.md new file mode 100644 index 0000000..df76323 --- /dev/null +++ b/DEVELOPING.md @@ -0,0 +1,626 @@ +Developing for CUPS +=================== + +Please see the [Contributing to CUPS](CONTRIBUTING.md) file for information on +contributing to the CUPS project. + + +How To Contact The Developers +----------------------------- + +The CUPS mailing lists are the primary means of asking questions and informally +discussing issues and feature requests with the CUPS developers and other +experienced CUPS users and developers. The "cups" mailing list is intended for +CUPS usage questions and new software announcements while the "cups-devel" +mailing list provides a forum for CUPS developers and monitoring new bugs. + + +Interfaces +---------- + +CUPS interfaces, including the C APIs and command-line arguments, environment +variables, configuration files, and output format, are stable across patch +versions and are generally backwards-compatible with interfaces used in prior +major and minor versions. However, program interfaces such as those used by +the scheduler to run filter, port monitor, and backend processes for job +processing should only be considered stable from the point of view of a +filter, port monitor, or backend. Software that simulates the scheduler in +order to run those programs outside of CUPS must necessarily be updated when +the corresponding interface is changed in a subsequent CUPS release, otherwise +undefined behavior can occur. + +CUPS C APIs starting with an underscore (`_`) are considered to be private to +CUPS and are not subject to the normal guarantees of stability between CUPS +releases and must never be used in non-CUPS source code. Similarly, +configuration and state files written by CUPS are considered private if a +corresponding man page is not provided with the CUPS release. Never rely on +undocumented files or formats when developing software for CUPS. Always use a +published C API to access data stored in a file to avoid compatibility problems +in the future. + + +Build System +------------ + +The CUPS build system uses GNU autoconf to tailor the library to the local +operating system. Project files for the current release of Microsoft Visual +Studio are also provided for Microsoft Windows®. To improve portability, +makefiles must not make use of features unique to GNU make. See the MAKEFILE +GUIDELINES section for a description of the allowed make features and makefile +guidelines. + +Additional GNU build programs such as GNU automake and GNU libtool must not be +used. GNU automake produces non-portable makefiles which depend on GNU- +specific extensions, and GNU libtool is not portable or reliable enough for +CUPS. + + +Version Numbering +----------------- + +CUPS uses a three-part version number separated by periods to represent the +major, minor, and patch release numbers. Major release numbers indicate large +design changes or backwards-incompatible changes to the CUPS API or CUPS +Imaging API. Minor release numbers indicate new features and other smaller +changes which are backwards-compatible with previous CUPS releases. Patch +numbers indicate bug fixes to the previous feature or patch release. This +version numbering scheme is consistent with the +[Semantic Versioning](http://semver.org) specification. + +> Note: +> +> When we talk about compatibility, we are talking about binary compatibility +> for public APIs and output format compatibility for program interfaces. +> Changes to configuration file formats or the default behavior of programs +> are not generally considered incompatible as the upgrade process can +> normally address such changes gracefully. + +Production releases use the plain version numbers: + + MAJOR.MINOR.PATCH + 1.0.0 + ... + 1.1.0 + ... + 1.1.23 + ... + 2.0.0 + ... + 2.1.0 + 2.1.1 + 2.1.2 + 2.1.3 + +The first production release in a MAJOR.MINOR series (MAJOR.MINOR.0) is called +a feature release. Feature releases are the only releases that may contain new +features. Subsequent production releases in a MAJOR.MINOR series may only +contain bug fixes. + +Beta-test releases are identified by appending the letter B to the major and +minor version numbers followed by the beta release number: + + MAJOR.MINORbNUMBER + 2.2b1 + +Release candidates are identified by appending the letters RC to the major and +minor version numbers followed by the release candidate number: + + MAJOR.MINORrcNUMBER + 2.2rc1 + + +Coding Guidelines +----------------- + +Contributed source code must follow the guidelines below. While the examples +are for C and C++ source files, source code for other languages should conform +to the same guidelines as allowed by the language. + +Source code comments provide the reference portion of the CUPS Programming +Manual, which is generated using the [codedoc](https://www.msweet.org/codedoc) +software. + + +### Source Files + +All source files names must be 16 characters or less in length to ensure +compatibility with older UNIX filesystems. Source files containing functions +have an extension of ".c" for C and ".cxx" for C++ source files. All other +"include" files have an extension of ".h". Tabs are set to 8 characters or +columns. + +> Note: +> +> The ".cxx" extension is used because it is the only common C++ extension +> between Linux, macOS, UNIX, and Windows. + +The top of each source file contains a header giving the purpose or nature of +the source file and the copyright and licensing notice: + + /* + * Description of file contents. + * + * Copyright 2017 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + + +### Header Files + +All public header files must include the "versioning.h" header file, or a header +that does so. Function declarations are then "decorated" with the correct +`_CUPS_API_major_minor` macro to define its availability based on the build +environment, for example: + + extern int cupsDoThis(int foo, int bar) _CUPS_API_2_2; + +Private API header files must be named with the suffix "-private", for example +the "cups.h" header file defines all of the public CUPS APIs while the +"cups-private.h" header file defines all of the private CUPS APIs as well. +Typically a private API header file will include the corresponding public API +header file. + + +### Comments + +All source code utilizes block comments within functions to describe the +operations being performed by a group of statements; avoid putting a comment +per line unless absolutely necessary, and then consider refactoring the code +so that it is not necessary. C source files use the block comment format +("/* comment */") since many vendor C compilers still do not support C99/C++ +comments ("// comment"): + + /* + * Clear the state array before we begin... + */ + + for (i = 0; i < (sizeof(array) / sizeof(sizeof(array[0])); i ++) + array[i] = CUPS_STATE_IDLE; + + /* + * Wait for state changes on another thread... + */ + + do + { + for (i = 0; i < (sizeof(array) / sizeof(sizeof(array[0])); i ++) + if (array[i] != CUPS_STATE_IDLE) + break; + + if (i == (sizeof(array) / sizeof(array[0]))) + sleep(1); + } while (i == (sizeof(array) / sizeof(array[0]))); + + +### Indentation + +All code blocks enclosed by brackets begin with the opening brace on a new +line. The code then follows starting on a new line after the brace and is +indented 2 spaces. The closing brace is then placed on a new line following +the code at the original indentation: + + { + int i; /* Looping var */ + + /* + * Process foobar values from 0 to 999... + */ + + for (i = 0; i < 1000; i ++) + { + do_this(i); + do_that(i); + } + } + +Single-line statements following "do", "else", "for", "if", and "while" are +indented 2 spaces as well. Blocks of code in a "switch" block are indented 4 +spaces after each "case" and "default" case: + + switch (array[i]) + { + case CUPS_STATE_IDLE : + do_this(i); + do_that(i); + break; + + default : + do_nothing(i); + break; + } + + +### Spacing + +A space follows each reserved word such as `if`, `while`, etc. Spaces are not +inserted between a function name and the arguments in parenthesis. + + +### Return Values + +Parenthesis surround values returned from a function: + + return (CUPS_STATE_IDLE); + + +### Functions + +Functions with a global scope have a lowercase prefix followed by capitalized +words, e.g., `cupsDoThis`, `cupsDoThat`, `cupsDoSomethingElse`, etc. Private +global functions begin with a leading underscore, e.g., `_cupsDoThis`, +`_cupsDoThat`, etc. + +Functions with a local scope are declared static with lowercase names and +underscores between words, e.g., `do_this`, `do_that`, `do_something_else`, etc. + +Each function begins with a comment header describing what the function does, +the possible input limits (if any), the possible output values (if any), and +any special information needed: + + /* + * 'do_this()' - Compute y = this(x). + * + * Notes: none. + */ + + static float /* O - Inverse power value, 0.0 <= y <= 1.1 */ + do_this(float x) /* I - Power value (0.0 <= x <= 1.1) */ + { + ... + return (y); + } + +Return/output values are indicated using an "O" prefix, input values are +indicated using the "I" prefix, and values that are both input and output use +the "IO" prefix for the corresponding in-line comment. + +The [codedoc](https://www.msweet.org/codedoc) documentation generator also +understands the following special text in the function description comment: + + @deprecated@ - Marks the function as deprecated: not recommended + for new development and scheduled for removal. + @link name@ - Provides a hyperlink to the corresponding function + or type definition. + @since CUPS version@ - Marks the function as new in the specified version + of CUPS. + @private@ - Marks the function as private so it will not be + included in the documentation. + + +### Variables + +Variables with a global scope are capitalized, e.g., `ThisVariable`, +`ThatVariable`, `ThisStateVariable`, etc. Globals in CUPS libraries are either +part of the per-thread global values managed by the `_cupsGlobals` function +or are suitably protected for concurrent access. Global variables should be +replaced by function arguments whenever possible. + +Variables with a local scope are lowercase with underscores between words, +e.g., `this_variable`, `that_variable`, etc. Any "local global" variables +shared by functions within a source file are declared static. As for global +variables, local static variables are suitably protected for concurrent access. + +Each variable is declared on a separate line and is immediately followed by a +comment block describing the variable: + + int ThisVariable; /* The current state of this */ + static int that_variable; /* The current state of that */ + + +### Types + +All type names are lowercase with underscores between words and `_t` appended +to the end of the name, e.g., `cups_this_type_t`, `cups_that_type_t`, etc. +Type names start with a prefix, typically `cups` or the name of the program, +to avoid conflicts with system types. Private type names start with an +underscore, e.g., `_cups_this_t`, `_cups_that_t`, etc. + +Each type has a comment block immediately after the typedef: + + typedef int cups_this_type_t; /* This type is for CUPS foobar options. */ + + +### Structures + +All structure names are lowercase with underscores between words and `_s` +appended to the end of the name, e.g., `cups_this_s`, `cups_that_s`, etc. +Structure names start with a prefix, typically `cups` or the name of the +program, to avoid conflicts with system types. Private structure names start +with an underscore, e.g., `_cups_this_s`, `_cups_that_s`, etc. + +Each structure has a comment block immediately after the struct and each member +is documented similar to the variable naming policy above: + + struct cups_this_struct_s /* This structure is for CUPS foobar options. */ + { + int this_member; /* Current state for this */ + int that_member; /* Current state for that */ + }; + + +### Constants + +All constant names are uppercase with underscores between words, e.g., +`CUPS_THIS_CONSTANT`, `CUPS_THAT_CONSTANT`, etc. Constants begin with an +uppercase prefix, typically `CUPS_` or the program or type name. Private +constants start with an underscore, e.g., `_CUPS_THIS_CONSTANT`, +`_CUPS_THAT_CONSTANT`, etc. + +Typed enumerations should be used whenever possible to allow for type checking +by the compiler. + +Comment blocks immediately follow each constant: + + typedef enum cups_tray_e /* Tray enumerations */ + { + CUPS_TRAY_THIS, /* This tray */ + CUPS_TRAY_THAT /* That tray */ + } cups_tray_t; + + +## Makefile Guidelines + +The following is a guide to the makefile-based build system used by CUPS. +These standards have been developed over the years to allow CUPS to be built on +as many systems and environments as possible. + + +### General Organization + +The CUPS source code is organized functionally into a top-level makefile, +include file, and subdirectories each with their own makefile and dependencies +files. The ".in" files are template files for the autoconf software and are +used to generate a static version of the corresponding file. + + +### Makefile Documentation + +Each makefile starts with the standard CUPS header containing the description +of the file, and CUPS copyright and license notice: + + # + # Makefile for ... + # + # Copyright 2017 by Apple Inc. + # + # Licensed under Apache License v2.0. See the file "LICENSE" for more + # information. + # + + +### Portable Makefile Construction + +CUPS uses a common subset of make program syntax to ensure that the software +can be compiled "out of the box" on as many systems as possible. The following +is a list of assumptions we follow when constructing makefiles: + +- Targets; we assume that the make program supports the notion of simple + targets of the form "name:" that perform tab-indented commands that follow + the target, e.g.: + + target: + TAB target commands + +- Dependencies; we assume that the make program supports recursive dependencies + on targets, e.g.: + + target: foo bar + TAB target commands + + foo: bla + TAB foo commands + + bar: + TAB bar commands + + bla: + TAB bla commands + +- Variable Definition; we assume that the make program supports variable + definition on the command-line or in the makefile using the following form: + + name=value + +- Variable Substitution; we assume that the make program supports variable + substitution using the following forms: + + - `$(name)`; substitutes the value of "name", + - `$(name:.old=.new)`; substitutes the value of "name" with the filename + extension ".old" changed to ".new", + - `$(MAKEFLAGS)`; substitutes the command-line options passed to the + program without the leading hyphen (-), + - `$$`; substitutes a single $ character, + - `$<`; substitutes the current source file or dependency, and + - `$@`; substitutes the current target name. + +- Suffixes; we assume that the make program supports filename suffixes with + assumed dependencies, e.g.: + + .SUFFIXES: .c .o + .c.o: + TAB $(CC) $(CFLAGS) -o $@ -c $< + +- Include Files; we assume that the make program supports the include + directive, e.g.: + + include ../Makedefs + include Dependencies + +- Comments; we assume that comments begin with a # character and proceed to the + end of the current line. + +- Line Length; we assume that there is no practical limit to the length of + lines. + +- Continuation of long lines; we assume that the `\` character may be placed at + the end of a line to concatenate two or more lines in a makefile to form a + single long line. + +- Shell; we assume a POSIX-compatible shell is present on the build system. + + +### Standard Variables + +The following variables are defined in the "Makedefs" file generated by the +autoconf software: + +- `ALL_CFLAGS`; the combined C compiler options, +- `ALL_CXXFLAGS`; the combined C++ compiler options, +- `AMANDIR`; the administrative man page installation directory (section 8/1m + depending on the platform), +- `AR`; the library archiver command, +- `ARFLAGS`; options for the library archiver command, +- `AWK`; the local awk command, +- `BINDIR`; the binary installation directory, +- `BUILDROOT`; optional installation prefix (defaults to DSTROOT), +- `CC`; the C compiler command, +- `CFLAGS`; options for the C compiler command, +- `CHMOD`; the chmod command, +- `CXX`; the C++ compiler command, +- `CXXFLAGS`; options for the C++ compiler command, +- `DATADIR`; the data file installation directory, +- `DSO`; the C shared library building command, +- `DSOXX`; the C++ shared library building command, +- `DSOFLAGS`; options for the shared library building command, +- `INCLUDEDIR`; the public header file installation directory, +- `INSTALL`; the install command, +- `INSTALL_BIN`; the program installation command, +- `INSTALL_COMPDATA`; the compressed data file installation command, +- `INSTALL_CONFIG`; the configuration file installation command, +- `INSTALL_DATA`; the data file installation command, +- `INSTALL_DIR`; the directory installation command, +- `INSTALL_LIB`; the library installation command, +- `INSTALL_MAN`; the documentation installation command, +- `INSTALL_SCRIPT`; the shell script installation command, +- `LD`; the linker command, +- `LDFLAGS`; options for the linker, +- `LIBDIR`; the library installation directory, +- `LIBS`; libraries for all programs, +- `LN`; the ln command, +- `MAN1EXT`; extension for man pages in section 1, +- `MAN3EXT`; extension for man pages in section 3, +- `MAN5EXT`; extension for man pages in section 5, +- `MAN7EXT`; extension for man pages in section 7, +- `MAN8DIR`; subdirectory for man pages in section 8, +- `MAN8EXT`; extension for man pages in section 8, +- `MANDIR`; the man page installation directory, +- `OPTIM`; common compiler optimization options, +- `PRIVATEINCLUDE`; the private header file installation directory, +- `RM`; the rm command, +- `SHELL`; the sh (POSIX shell) command, +- `STRIP`; the strip command, +- `srcdir`; the source directory. + + +### Standard Targets + +The following standard targets are defined in each makefile: + +- `all`; creates all target programs, libraries, and documentation files, +- `clean`; removes all target programs libraries, documentation files, and object + files, +- `depend`; generates automatic dependencies for any C or C++ source files (also + see "DEPENDENCIES"), +- `distclean`; removes autoconf-generated files in addition to those removed by + the "clean" target, +- `install`; installs all distribution files in their corresponding locations + (also see "INSTALL/UNINSTALL SUPPORT"), +- `install-data`; installs all data files in their corresponding locations (also + see "INSTALL/UNINSTALL SUPPORT"), +- `install-exec`; installs all executable files in their corresponding locations + (also see "INSTALL/UNINSTALL SUPPORT"), +- `install-headers`; installs all include files in their corresponding locations + (also see "INSTALL/UNINSTALL SUPPORT"), +- `install-libs`; installs all library files in their corresponding locations + (also see "INSTALL/UNINSTALL SUPPORT"), and +- `uninstall`; removes all distribution files from their corresponding locations + (also see "INSTALL/UNINSTALL SUPPORT"). + + +### Object Files + +Object files (the result of compiling a C or C++ source file) have the +extension ".o". + + +### Programs + +Program files are the result of linking object files and libraries together to +form an executable file. A typical program target looks like: + + program: $(OBJS) + TAB echo Linking $@... + TAB $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) + +### Static Libraries + +Static libraries have a prefix of "lib" and the extension ".a". A typical +static library target looks like: + + libname.a: $(OBJECTS) + TAB echo Creating $@... + TAB $(RM) $@ + TAB $(AR) $(ARFLAGS) $@ $(OBJECTS) + TAB $(RANLIB) $@ + +### Shared Libraries + +Shared libraries have a prefix of "lib" and the extension ".dylib" or ".so" +depending on the operating system. A typical shared library is composed of +several targets that look like: + + libname.so: $(OBJECTS) + TAB echo $(DSOCOMMAND) libname.so.$(DSOVERSION) ... + TAB $(DSOCOMMAND) libname.so.$(DSOVERSION) $(OBJECTS) + TAB $(RM) libname.so libname.so.$(DSOMAJOR) + TAB $(LN) libname.so.$(DSOVERSION) libname.so.$(DSOMAJOR) + TAB $(LN) libname.so.$(DSOVERSION) libname.so + + libname.dylib: $(OBJECTS) + TAB echo $(DSOCOMMAND) libname.$(DSOVERSION).dylib ... + TAB $(DSOCOMMAND) libname.$(DSOVERSION).dylib \ + TAB TAB -install_name $(libdir)/libname.$(DSOMAJOR).dylib \ + TAB TAB -current_version libname.$(DSOVERSION).dylib \ + TAB TAB -compatibility_version $(DSOMAJOR).0 \ + TAB TAB $(OBJECTS) $(LIBS) + TAB $(RM) libname.dylib + TAB $(RM) libname.$(DSOMAJOR).dylib + TAB $(LN) libname.$(DSOVERSION).dylib libname.$(DSOMAJOR).dylib + TAB $(LN) libname.$(DSOVERSION).dylib libname.dylib + +### Dependencies + +Static dependencies are expressed in each makefile following the target, for +example: + + foo: bar + +Static dependencies are only used when it is not possible to automatically +generate them. Automatic dependencies are stored in a file named +"Dependencies" and included at the end of the makefile. The following "depend" +target rule is used to create the automatic dependencies: + + depend: + TAB $(CC) -MM $(ALL_CFLAGS) $(OBJS:.o=.c) >Dependencies + +We regenerate the automatic dependencies on an macOS system and express any +non-macOS dependencies statically in the makefile. + + +### Install/Uninstall Support + +All makefiles contains install and uninstall rules which install or remove the +corresponding software. These rules must use the $(BUILDROOT) variable as a +prefix to any installation directory so that CUPS can be installed in a +temporary location for packaging by programs like rpmbuild. + +The `INSTALL_BIN`, `INSTALL_COMPDATA`, `INSTALL_CONFIG`, `INSTALL_DATA`, +`INSTALL_DIR`, `INSTALL_LIB`, `INSTALL_MAN`, and `INSTALL_SCRIPT` variables +must be used when installing files so that the proper ownership and permissions +are set on the installed files. + +The `$(RANLIB)` command must be run on any static libraries after installation +since the symbol table is invalidated when the library is copied on some +platforms. diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 0000000..f880134 --- /dev/null +++ b/INSTALL.md @@ -0,0 +1,227 @@ +INSTALL - CUPS v2.3.1 - 2019-12-13 +================================== + +This file describes how to compile and install CUPS from source code. For more +information on CUPS see the file called "README.md". A complete change log can +be found in "CHANGES.md". + +Using CUPS requires additional third-party support software and printer drivers. +These are typically included with your operating system distribution. Apple +does not endorse or support third-party support software for CUPS. + +> Note: Current versions of macOS DO NOT allow installation to /usr with the +> default System Integrity Protection (SIP) settings. In addition, we do not +> recommend replacing the CUPS supplied with macOS because: +> +> a. not all versions of CUPS are compatible with every macOS release, +> +> b. code signing prevents replacement of system libraries and access to the +> system keychain (needed for encrypted printer sharing), and +> +> c. software updates will often replace parts of your local installation, +> potentially rendering your system unusable. +> +> Apple only supports using the Clang supplied with Xcode to build CUPS on +> macOS. + + +BEFORE YOU BEGIN +---------------- + +You'll need ANSI-compliant C and C++ compilers, plus a make program and POSIX- +compliant shell (/bin/sh). The GNU compiler tools and Bash work well and we +have tested the current CUPS code against several versions of GCC with excellent +results. + +The makefiles used by the project should work with most versions of make. We've +tested them with GNU make as well as the make programs shipped by Compaq, HP, +SGI, and Sun. BSD users should use GNU make (gmake) since BSD make does not +support "include". + +Besides these tools you'll want ZLIB library for compression support, the GNU +TLS library for encryption support on platforms other than iOS, macOS, or +Windows, and either MIT (1.6.3 or higher) or Heimdal Kerberos for Kerberos +support. CUPS will compile and run without these, however you'll miss out on +many of the features provided by CUPS. + +On a stock Ubuntu install, the following command will install the required +prerequisites: + + sudo apt-get install autoconf build-essential libavahi-client-dev \ + libgnutls28-dev libkrb5-dev libnss-mdns libpam-dev \ + libsystemd-dev libusb-1.0-0-dev zlib1g-dev + +Also, please note that CUPS does not include print filters to support PDF or +raster printing. You *must* download GPL Ghostscript and/or the Open Printing +CUPS filters package separately to print on operating systems other than macOS. + + +CONFIGURATION +------------- + +CUPS uses GNU autoconf, so you should find the usual "configure" script in the +main CUPS source directory. To configure CUPS for your system, type: + + ./configure + +The default installation will put the CUPS software in the "/etc", "/usr", and +"/var" directories on your system, which will overwrite any existing printing +commands on your system. Use the `--prefix` option to install the CUPS software +in another location: + + ./configure --prefix=/some/directory + +> Note: Current versions of macOS DO NOT allow installation to /usr with the +> default System Integrity Protection (SIP) settings. + +To see a complete list of configuration options, use the `--help` option: + + ./configure --help + +If any of the dependent libraries are not installed in a system default location +(typically "/usr/include" and "/usr/lib") you'll need to set the CFLAGS, +CPPFLAGS, CXXFLAGS, DSOFLAGS, and LDFLAGS environment variables prior to running +configure: + + setenv CFLAGS "-I/some/directory" + setenv CPPFLAGS "-I/some/directory" + setenv CXXFLAGS "-I/some/directory" + setenv DSOFLAGS "-L/some/directory" + setenv LDFLAGS "-L/some/directory" + ./configure ... + +or: + + CFLAGS="-I/some/directory" \ + CPPFLAGS="-I/some/directory" \ + CXXFLAGS="-I/some/directory" \ + DSOFLAGS="-L/some/directory" \ + LDFLAGS="-L/some/directory" \ + ./configure ... + +The `--enable-debug` option compiles CUPS with debugging information enabled. +Additional debug logging support can be enabled using the +`--enable-debug-printfs` option - these debug messages are enabled using the +`CUPS_DEBUG_xxx` environment variables at run-time. + +CUPS also includes an extensive set of unit tests that can be used to find and +diagnose a variety of common problems - use the "--enable-unit-tests" configure +option to run them at build time. + +On macOS, use the `--with-archflags` option to build with the correct set of +architectures: + + ./configure --with-archflags="-arch i386 -arch x86_64" ... + +Once you have configured things, just type: + + make ENTER + +or if you have FreeBSD, NetBSD, or OpenBSD type: + + gmake ENTER + +to build the software. + + +TESTING THE SOFTWARE +-------------------- + +Aside from the built-in unit tests, CUPS includes an automated test framework +for testing the entire printing system. To run the tests, just type: + + make check ENTER + +or if you have FreeBSD, NetBSD, or OpenBSD type: + + gmake check ENTER + +The test framework runs a copy of the CUPS scheduler (cupsd) on port 8631 in +/tmp/cups-$USER and produces a nice HTML report of the results. + + +INSTALLING THE SOFTWARE +----------------------- + +Once you have built the software you need to install it. The "install" target +provides a quick way to install the software on your local system: + + make install ENTER + +or for FreeBSD, NetBSD, or OpenBSD: + + gmake install ENTER + +Use the BUILDROOT variable to install to an alternate root directory: + + make BUILDROOT=/some/other/root/directory install ENTER + +You can also build binary packages that can be installed on other machines using +the RPM spec file ("packaging/cups.spec") or EPM list file +("packaging/cups.list"). The latter also supports building of binary RPMs, so +it may be more convenient to use. + +You can find the RPM software at: + + http://www.rpm.org/ + +The EPM software is available at: + + https://michaelrsweet.github.io/epm + + +CREATING BINARY DISTRIBUTIONS WITH EPM +-------------------------------------- + +The top level makefile supports generation of many types of binary distributions +using EPM. To build a binary distribution type: + + make ENTER + +or + + gmake ENTER + +for FreeBSD, NetBSD, and OpenBSD. The target is one of the following: + +- "epm": Builds a script + tarfile package +- "bsd": Builds a *BSD package +- "deb": Builds a Debian package +- "pkg": Builds a Solaris package +- "rpm": Builds a RPM package +- "slackware": Build a Slackware package + + +GETTING DEBUG LOGGING FROM CUPS +------------------------------- + +When configured with the `--enable-debug-printfs` option, CUPS compiles in +additional debug logging support in the scheduler, CUPS API, and CUPS Imaging +API. The following environment variables are used to enable and control debug +logging: + +- `CUPS_DEBUG_FILTER`: Specifies a POSIX regular expression to control which + messages are logged. +- `CUPS_DEBUG_LEVEL`: Specifies a number from 0 to 9 to control the verbosity of + the logging. The default level is 1. +- `CUPS_DEBUG_LOG`: Specifies a log file to use. Specify the name "-" to send + the messages to stderr. Prefix a filename with "+" to append to an existing + file. You can include a single "%d" in the filename to embed the current + process ID. + + +REPORTING PROBLEMS +------------------ + +If you have problems, *read the documentation first*! If the documentation does +not solve your problems, please post a message on the users forum at: + + https://www.cups.org/ + +Include your operating system and version, compiler and version, and any errors +or problems you've run into. The "config.log" file and the output from the +configure script and make should also be sent, as it often helps to determine +the cause of your problem. + +If you are running a version of Linux, be sure to provide the Linux distribution +you have, too. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/Makedefs.in b/Makedefs.in new file mode 100644 index 0000000..9ee7585 --- /dev/null +++ b/Makedefs.in @@ -0,0 +1,275 @@ +# +# Common makefile definitions for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2007 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +# +# CUPS version... +# + +CUPS_VERSION = @CUPS_VERSION@ + + +# +# Programs... +# + +AR = @AR@ +AWK = @AWK@ +CC = @LIBTOOL_CC@ @CC@ +CHMOD = @CHMOD@ +CXX = @LIBTOOL_CXX@ @CXX@ +DSO = @DSO@ +DSOXX = @DSOXX@ +GZIPPROG = @GZIPPROG@ +INSTALL = @INSTALL@ +LD = @LD@ +LD_CC = @LD_CC@ +LD_CXX = @LD_CXX@ +LIBTOOL = @LIBTOOL@ +LN = @LN@ -sf +MKDIR = @MKDIR@ -p +MV = @MV@ +RANLIB = @RANLIB@ +RM = @RM@ -f +RMDIR = @RMDIR@ +SED = @SED@ +SHELL = /bin/sh + +# +# Installation programs... +# + +INSTALL_BIN = @LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@ @INSTALL_STRIP@ +INSTALL_COMPDATA = $(INSTALL) -c -m 444 @INSTALL_GZIP@ +INSTALL_CONFIG = $(INSTALL) -c -m @CUPS_CONFIG_FILE_PERM@ +INSTALL_DATA = $(INSTALL) -c -m 444 +INSTALL_DIR = $(INSTALL) -d +INSTALL_LIB = @LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@ @INSTALL_STRIP@ +INSTALL_MAN = $(INSTALL) -c -m 444 +INSTALL_SCRIPT = $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@ + +# +# Default user, group, and system groups for the scheduler... +# + +CUPS_USER = @CUPS_USER@ +CUPS_GROUP = @CUPS_GROUP@ +CUPS_SYSTEM_GROUPS = @CUPS_SYSTEM_GROUPS@ +CUPS_PRIMARY_SYSTEM_GROUP = @CUPS_PRIMARY_SYSTEM_GROUP@ + +# +# Default permissions... +# + +CUPS_CONFIG_FILE_PERM = @CUPS_CONFIG_FILE_PERM@ +CUPS_CUPSD_FILE_PERM = @CUPS_CUPSD_FILE_PERM@ +CUPS_LOG_FILE_PERM = @CUPS_LOG_FILE_PERM@ + +# +# Languages to install... +# + +LANGUAGES = @LANGUAGES@ +INSTALL_LANGUAGES = @INSTALL_LANGUAGES@ +UNINSTALL_LANGUAGES = @UNINSTALL_LANGUAGES@ + +# +# Cross-compilation support: "local" target is used for any tools that are +# built and run locally. +# + +LOCALTARGET = @LOCALTARGET@ + + +# +# Libraries... +# + +LIBCUPS = @LIBCUPS@ +LIBCUPSIMAGE = @LIBCUPSIMAGE@ +LIBCUPSOBJS = @LIBCUPSOBJS@ +LIBCUPSSTATIC = @LIBCUPSSTATIC@ +LIBGSSAPI = @LIBGSSAPI@ +LIBHEADERS = @LIBHEADERS@ +LIBHEADERSPRIV = @LIBHEADERSPRIV@ +LIBMALLOC = @LIBMALLOC@ +LIBPAPER = @LIBPAPER@ +LIBUSB = @LIBUSB@ +LIBWRAP = @LIBWRAP@ +LIBZ = @LIBZ@ + +# +# Install static libraries? +# + +INSTALLSTATIC = @INSTALLSTATIC@ + +# +# IPP backend aliases... +# + +IPPALIASES = @IPPALIASES@ + + +# +# ippeveprinter commands... +# + +IPPEVECOMMANDS = @IPPEVECOMMANDS@ + + +# +# Install XPC backends? +# + +INSTALLXPC = @INSTALLXPC@ + +# +# Code signing... +# + +CODE_SIGN = @CODE_SIGN@ +CODE_SIGN_IDENTITY = - + +# +# Program options... +# +# ARCHFLAGS Defines the default architecture build options. +# OPTIM Defines the common compiler optimization/debugging options +# for all architectures. +# OPTIONS Defines other compile-time options (currently only -DDEBUG +# for extra debug info) +# + +ALL_CFLAGS = -I.. -D_CUPS_SOURCE $(CFLAGS) \ + $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \ + $(ONDEMANDFLAGS) $(OPTIONS) +ALL_CXXFLAGS = -I.. -D_CUPS_SOURCE $(CXXFLAGS) \ + $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \ + $(ONDEMANDFLAGS) $(OPTIONS) +ALL_DSOFLAGS = -L../cups @ARCHFLAGS@ @RELROFLAGS@ $(DSOFLAGS) $(OPTIM) +ALL_LDFLAGS = -L../cups @LDARCHFLAGS@ @RELROFLAGS@ $(LDFLAGS) \ + @PIEFLAGS@ $(OPTIM) +ARCHFLAGS = @ARCHFLAGS@ +ARFLAGS = @ARFLAGS@ +BACKLIBS = @BACKLIBS@ +BUILDDIRS = @BUILDDIRS@ +CFLAGS = @CPPFLAGS@ @CFLAGS@ +COMMONLIBS = @LIBS@ +CXXFLAGS = @CPPFLAGS@ @CXXFLAGS@ +CXXLIBS = @CXXLIBS@ +DBUS_NOTIFIER = @DBUS_NOTIFIER@ +DBUS_NOTIFIERLIBS = @DBUS_NOTIFIERLIBS@ +DNSSD_BACKEND = @DNSSD_BACKEND@ +DSOFLAGS = @DSOFLAGS@ +DNSSDLIBS = @DNSSDLIBS@ +IPPFIND_BIN = @IPPFIND_BIN@ +IPPFIND_MAN = @IPPFIND_MAN@ +LDFLAGS = @LDFLAGS@ +LINKCUPS = @LINKCUPS@ +LINKCUPSSTATIC = ../cups/$(LIBCUPSSTATIC) $(LIBS) +LIBS = $(LIBGSSAPI) $(DNSSDLIBS) $(SSLLIBS) $(LIBZ) $(COMMONLIBS) +ONDEMANDFLAGS = @ONDEMANDFLAGS@ +ONDEMANDLIBS = @ONDEMANDLIBS@ +OPTIM = @OPTIM@ +OPTIONS = @WARNING_OPTIONS@ +PAMLIBS = @PAMLIBS@ +SERVERLIBS = @SERVERLIBS@ +SSLFLAGS = @SSLFLAGS@ +SSLLIBS = @SSLLIBS@ +UNITTESTS = @UNITTESTS@ + + +# +# Directories... +# +# The first section uses the GNU names (which are *extremely* +# difficult to find in a makefile because they are lowercase...) +# We have to define these first because autoconf uses ${prefix} +# and ${exec_prefix} for most of the other directories... +# +# The "datarootdir" variable may not get defined if you are using +# a version of autoconf prior to 2.60. +# +# This is immediately followed by definition in ALL CAPS for the +# needed directories... +# + +bindir = @bindir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +exec_prefix = @exec_prefix@ +includedir = @includedir@ +infodir = @infodir@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +oldincludedir = @oldincludedir@ +prefix = @prefix@ +privateinclude = @privateinclude@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +top_srcdir = @top_srcdir@ + +BUILDROOT = $(DSTROOT)$(DESTDIR) + +BINDIR = $(BUILDROOT)@bindir@ +BUNDLEDIR = @CUPS_BUNDLEDIR@ +CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@ +DATADIR = $(BUILDROOT)@CUPS_DATADIR@ +DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@ +ICONDIR = @ICONDIR@ +INCLUDEDIR = $(BUILDROOT)$(includedir) +LIBDIR = $(BUILDROOT)$(libdir) +LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@ +LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@ +MANDIR = $(BUILDROOT)@mandir@ +MENUDIR = @MENUDIR@ +PRIVATEINCLUDE = $(BUILDROOT)@PRIVATEINCLUDE@ +RCLEVELS = @RCLEVELS@ +RCSTART = @RCSTART@ +RCSTOP = @RCSTOP@ +REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@ +RESOURCEDIR = @CUPS_RESOURCEDIR@ +SBINDIR = $(BUILDROOT)@sbindir@ +SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@ +SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@ +STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@ + +PAMDIR = @PAMDIR@ +PAMFILE = @PAMFILE@ + +DBUSDIR = @DBUSDIR@ +INITDIR = @INITDIR@ +INITDDIR = @INITDDIR@ +LAUNCHD_DIR = @LAUNCHD_DIR@ +SMFMANIFESTDIR = @SMFMANIFESTDIR@ +SYSTEMD_DIR = @SYSTEMD_DIR@ +XINETD = @XINETD@ + +USBQUIRKS = @USBQUIRKS@ + + +# +# Rules... +# + +.SILENT: +.SUFFIXES: .a .c .cxx .h .o + +.c.o: + echo Compiling $<... + $(CC) $(ARCHFLAGS) $(OPTIM) $(ALL_CFLAGS) -c -o $@ $< + +.cxx.o: + echo Compiling $<... + $(CXX) $(ARCHFLAGS) $(OPTIM) $(ALL_CXXFLAGS) -c -o $@ $< diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1554462 --- /dev/null +++ b/Makefile @@ -0,0 +1,292 @@ +# +# Top-level Makefile for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2007 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +include Makedefs + + +# +# Directories to make... +# + +DIRS = cups $(BUILDDIRS) + + +# +# Test suite options - normally blank, override with make command... +# + +TESTOPTIONS = + + +# +# Make all targets... +# + +all: + chmod +x cups-config + echo Using ARCHFLAGS="$(ARCHFLAGS)" + echo Using ALL_CFLAGS="$(ALL_CFLAGS)" + echo Using ALL_CXXFLAGS="$(ALL_CXXFLAGS)" + echo Using CC="$(CC)" + echo Using CXX="$(CC)" + echo Using DSOFLAGS="$(DSOFLAGS)" + echo Using LDFLAGS="$(LDFLAGS)" + echo Using LIBS="$(LIBS)" + for dir in $(DIRS); do\ + echo Making all in $$dir... ;\ + (cd $$dir ; $(MAKE) $(MFLAGS) all $(UNITTESTS)) || exit 1;\ + done + + +# +# Make library targets... +# + +libs: + echo Using ARCHFLAGS="$(ARCHFLAGS)" + echo Using ALL_CFLAGS="$(ALL_CFLAGS)" + echo Using ALL_CXXFLAGS="$(ALL_CXXFLAGS)" + echo Using CC="$(CC)" + echo Using CXX="$(CC)" + echo Using DSOFLAGS="$(DSOFLAGS)" + echo Using LDFLAGS="$(LDFLAGS)" + echo Using LIBS="$(LIBS)" + for dir in $(DIRS); do\ + echo Making libraries in $$dir... ;\ + (cd $$dir ; $(MAKE) $(MFLAGS) libs) || exit 1;\ + done + + +# +# Make unit test targets... +# + +unittests: + echo Using ARCHFLAGS="$(ARCHFLAGS)" + echo Using ALL_CFLAGS="$(ALL_CFLAGS)" + echo Using ALL_CXXFLAGS="$(ALL_CXXFLAGS)" + echo Using CC="$(CC)" + echo Using CXX="$(CC)" + echo Using DSOFLAGS="$(DSOFLAGS)" + echo Using LDFLAGS="$(LDFLAGS)" + echo Using LIBS="$(LIBS)" + for dir in $(DIRS); do\ + echo Making all in $$dir... ;\ + (cd $$dir ; $(MAKE) $(MFLAGS) unittests) || exit 1;\ + done + + +# +# Remove object and target files... +# + +clean: + for dir in $(DIRS); do\ + echo Cleaning in $$dir... ;\ + (cd $$dir; $(MAKE) $(MFLAGS) clean) || exit 1;\ + done + + +# +# Remove all non-distribution files... +# + +distclean: clean + $(RM) Makedefs config.h config.log config.status + $(RM) conf/cups-files.conf conf/cupsd.conf conf/mime.convs conf/pam.std conf/snmp.conf + $(RM) cups-config + $(RM) desktop/cups.desktop + $(RM) doc/index.html + $(RM) packaging/cups.list + $(RM) scheduler/cups-lpd.xinetd scheduler/cups.sh scheduler/cups.xml scheduler/org.cups.cups-lpd.plist scheduler/org.cups.cups-lpdAT.service scheduler/org.cups.cupsd.path scheduler/org.cups.cupsd.service scheduler/org.cups.cupsd.socket + $(RM) templates/header.tmpl + -$(RM) doc/*/index.html + -$(RM) templates/*/header.tmpl + -$(RM) -r autom4te*.cache cups/charmaps cups/locale + + +# +# Make dependencies +# + +depend: + for dir in $(DIRS); do\ + echo Making dependencies in $$dir... ;\ + (cd $$dir; $(MAKE) $(MFLAGS) depend) || exit 1;\ + done + + +# +# Run the STACK tool on the sources, available here: +# +# http://css.csail.mit.edu/stack/ +# +# Do the following to pass options to configure: +# +# make CONFIGFLAGS="--foo --bar" stack +# + +.PHONY: stack +stack: + stack-build ./configure $(CONFIGFLAGS) + stack-build $(MAKE) $(MFLAGS) clean all + poptck + $(MAKE) $(MFLAGS) distclean + $(RM) */*.ll + $(RM) */*.ll.out + + +# +# Generate a ctags file... +# + +ctags: + ctags -R . + + +# +# Install everything... +# + +install: install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + echo Making all in cups... + (cd cups; $(MAKE) $(MFLAGS) all) + for dir in $(DIRS); do\ + echo Installing data files in $$dir... ;\ + (cd $$dir; $(MAKE) $(MFLAGS) install-data) || exit 1;\ + done + echo Installing cups-config script... + $(INSTALL_DIR) -m 755 $(BINDIR) + $(INSTALL_SCRIPT) cups-config $(BINDIR)/cups-config + + +# +# Install header files... +# + +install-headers: + for dir in $(DIRS); do\ + echo Installing header files in $$dir... ;\ + (cd $$dir; $(MAKE) $(MFLAGS) install-headers) || exit 1;\ + done + if test "x$(privateinclude)" != x; then \ + echo Installing config.h into $(PRIVATEINCLUDE)...; \ + $(INSTALL_DIR) -m 755 $(PRIVATEINCLUDE); \ + $(INSTALL_DATA) config.h $(PRIVATEINCLUDE)/config.h; \ + fi + + +# +# Install programs... +# + +install-exec: all + for dir in $(DIRS); do\ + echo Installing programs in $$dir... ;\ + (cd $$dir; $(MAKE) $(MFLAGS) install-exec) || exit 1;\ + done + + +# +# Install libraries... +# + +install-libs: libs + for dir in $(DIRS); do\ + echo Installing libraries in $$dir... ;\ + (cd $$dir; $(MAKE) $(MFLAGS) install-libs) || exit 1;\ + done + + +# +# Uninstall object and target files... +# + +uninstall: + for dir in $(DIRS); do\ + echo Uninstalling in $$dir... ;\ + (cd $$dir; $(MAKE) $(MFLAGS) uninstall) || exit 1;\ + done + echo Uninstalling cups-config script... + $(RM) $(BINDIR)/cups-config + -$(RMDIR) $(BINDIR) + + +# +# Run the test suite... +# + +test: all unittests + echo Running CUPS test suite... + cd test; ./run-stp-tests.sh $(TESTOPTIONS) + + +check: all unittests + echo Running CUPS test suite with defaults... + cd test; ./run-stp-tests.sh 1 0 n n + +debugcheck: all unittests + echo Running CUPS test suite with debug printfs... + cd test; ./run-stp-tests.sh 1 0 n y + + +# +# Create HTML documentation using codedoc (http://www.msweet.org/codedoc)... +# + +apihelp: + for dir in cups filter; do\ + echo Generating API help in $$dir... ;\ + (cd $$dir; $(MAKE) $(MFLAGS) apihelp) || exit 1;\ + done + + +# +# Lines of code computation... +# + +sloc: + for dir in cups scheduler; do \ + (cd $$dir; $(MAKE) $(MFLAGS) sloc) || exit 1;\ + done + + +# +# Make software distributions using EPM (http://www.msweet.org/)... +# + +EPMFLAGS = -v --output-dir dist $(EPMARCH) + +bsd deb epm pkg rpm slackware: + epm $(EPMFLAGS) -f $@ cups packaging/cups.list + +.PHONY: dist +dist: all + $(RM) -r dist + $(MAKE) $(MFLAGS) epm + case `uname` in \ + *BSD*) $(MAKE) $(MFLAGS) bsd;; \ + Linux*) test ! -x /usr/bin/rpm || $(MAKE) $(MFLAGS) rpm;; \ + SunOS*) $(MAKE) $(MFLAGS) pkg;; \ + esac + + +# +# Don't run top-level build targets in parallel... +# + +.NOTPARALLEL: diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..bf088fd --- /dev/null +++ b/NOTICE @@ -0,0 +1,51 @@ +CUPS + +Copyright © 2007-2019 by Apple Inc. +Copyright © 1997-2007 by Easy Software Products. + +CUPS and the CUPS logo are trademarks of Apple Inc. + +The MD5 Digest code is Copyright 1999 Aladdin Enterprises. + +The Kerberos support code ("KSC") is copyright 2006 by Jelmer Vernooij and is +provided 'as-is', without any express or implied warranty. In no event will the +author or Apple Inc. be held liable for any damages arising from the use of the +KSC. + +Sources files containing KSC have the following text at the top of each source +file: + + This file contains Kerberos support code, copyright 2006 by Jelmer Vernooij. + +The KSC copyright and license apply only to Kerberos-related feature code in +CUPS. Such code is typically conditionally compiled based on the present of the +HAVE_GSSAPI preprocessor definition. + +Permission is granted to anyone to use the KSC for any purpose, including +commercial applications, and to alter it and redistribute it freely, subject to +the following restrictions: + + 1. The origin of the KSC must not be misrepresented; you must not claim that + you wrote the original software. If you use the KSC in a product, an + acknowledgment in the product documentation would be appreciated but is not + required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + +-- CUPS Exceptions to the Apache 2.0 License -- + +As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License. + +In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software. diff --git a/README.md b/README.md new file mode 100644 index 0000000..6e15a93 --- /dev/null +++ b/README.md @@ -0,0 +1,170 @@ +README - CUPS v2.3.1 - 2019-12-13 +================================= + +INTRODUCTION +------------ + +CUPS is a standards-based, open source printing system developed by Apple Inc. +for macOS® and other UNIX®-like operating systems. CUPS uses the Internet +Printing Protocol ("IPP") and provides System V and Berkeley command-line +interfaces, a web interface, and a C API to manage printers and print jobs. It +supports printing to both local (parallel, serial, USB) and networked printers, +and printers can be shared from one computer to another, even over the Internet! + +Internally, CUPS uses PostScript Printer Description ("PPD") files to describe +printer capabilities and features and a wide variety of generic and device- +specific programs to convert and print many types of files. Sample drivers are +included with CUPS to support many Dymo, EPSON, HP, Intellitech, OKIDATA, and +Zebra printers. Many more drivers are available online and (in some cases) on +the driver CD-ROM that came with your printer. + +CUPS is licensed under the Apache License Version 2.0. See the file +"LICENSE" for more information. + + +READING THE DOCUMENTATION +------------------------- + +Initial documentation to get you started is provided in the root directory of +the CUPS sources: + +- `CHANGES.md`: A list of changes in the current major release of CUPS. +- `CONTRIBUTING.md`: Guidelines for contributing to the CUPS project. +- `CREDITS.md`: A list of past contributors to the CUPS project. +- `DEVELOPING.md`: Guidelines for developing code for the CUPS project. +- `INSTALL.md`: Instructions for building and installing CUPS. +- `LICENSE`: The CUPS license agreement (Apache 2.0). +- `NOTICE`: Copyright notices and exceptions to the CUPS license agreement. +- `README.md`: This file. + +Once you have installed the software you can access the documentation (and a +bunch of other stuff) online at and using the `man` +command, for example `man cups`. + +If you're having trouble getting that far, the documentation is located under +the `doc/help` and `man` directories. + +Please read the documentation before asking questions. + + +GETTING SUPPORT AND OTHER RESOURCES +----------------------------------- + +If you have problems, *read the documentation first!* We also provide two +mailing lists which are available at . + +See the CUPS web site at for other resources. + + +SETTING UP PRINTER QUEUES USING YOUR WEB BROWSER +------------------------------------------------ + +CUPS includes a web-based administration tool that allows you to manage +printers, classes, and jobs on your server. Open +in your browser to access the printer administration tools: + +*Do not* use the hostname for your machine - it will not work with the default +CUPS configuration. To enable administration access on other addresses, check +the `Allow Remote Administration` box and click on the `Change Settings` button. + +You will be asked for the administration password (root or any other user in the +"sys", "system", "root", "admin", or "lpadmin" group on your system) when +performing any administrative function. + + +SETTING UP PRINTER QUEUES FROM THE COMMAND-LINE +----------------------------------------------- + +CUPS currently uses PPD (PostScript Printer Description) files that describe +printer capabilities and driver programs needed for each printer. The +`everywhere` PPD is used for nearly all modern networks printers sold since +about 2009. For example, the following command creates a print queue for a +printer at address "11.22.33.44": + + lpadmin -p printername -E -v ipp://11.22.33.44/ipp/print -m everywhere + +CUPS also includes several sample PPD files you can use for "legacy" printers: + + Driver | PPD Name + ----------------------------- | ------------------------------ + Dymo Label Printers | drv:///sample.drv/dymo.ppd + Intellitech Intellibar | drv:///sample.drv/intelbar.ppd + EPSON 9-pin Series | drv:///sample.drv/epson9.ppd + EPSON 24-pin Series | drv:///sample.drv/epson24.ppd + Generic PCL Laser Printer | drv:///sample.drv/generpcl.ppd + Generic PostScript Printer | drv:///sample.drv/generic.ppd + HP DeskJet Series | drv:///sample.drv/deskjet.ppd + HP LaserJet Series | drv:///sample.drv/laserjet.ppd + OKIDATA 9-Pin Series | drv:///sample.drv/okidata9.ppd + OKIDATA 24-Pin Series | drv:///sample.drv/okidat24.ppd + Zebra CPCL Label Printer | drv:///sample.drv/zebracpl.ppd + Zebra EPL1 Label Printer | drv:///sample.drv/zebraep1.ppd + Zebra EPL2 Label Printer | drv:///sample.drv/zebraep2.ppd + Zebra ZPL Label Printer | drv:///sample.drv/zebra.ppd + +You can run the `lpinfo -m` command to list all of the available drivers: + + lpinfo -m + +Run the `lpinfo -v` command to list the available printers: + + lpinfo -v + +Then use the correct URI to add the printer using the `lpadmin` command: + + lpadmin -p printername -E -v device-uri -m ppd-name + +Current network printers typically use `ipp` or `ipps` URIS: + + lpadmin -p printername -E -v ipp://11.22.33.44/ipp/print -m everywhere + lpadmin -p printername -E -v ipps://11.22.33.44/ipp/print -m everywhere + +Older network printers typically use `socket` or `lpd` URIs: + + lpadmin -p printername -E -v socket://11.22.33.44 -m ppd-name + lpadmin -p printername -E -v lpd://11.22.33.44/ -m ppd-name + +The sample drivers provide basic printing capabilities, but generally do not +exercise the full potential of the printers or CUPS. Other drivers provide +greater printing capabilities. + + +PRINTING FILES +-------------- + +CUPS provides both the System V `lp` and Berkeley `lpr` commands for printing: + + lp filename + lpr filename + +Both the `lp` and `lpr` commands support printing options for the driver: + + lp -o media=A4 -o resolution=600dpi filename + lpr -o media=A4 -o resolution=600dpi filename + +CUPS recognizes many types of images files as well as PDF, PostScript, and text +files, so you can print those files directly rather than through an application. + +If you have an application that generates output specifically for your printer +then you need to use the `-oraw` or `-l` options: + + lp -o raw filename + lpr -l filename + +This will prevent the filters from misinterpreting your print file. + + +LEGAL STUFF +----------- + +Copyright © 2007-2019 by Apple Inc. +Copyright © 1997-2007 by Easy Software Products. + +CUPS is provided under the terms of the Apache License, Version 2.0 with +exceptions for GPL2/LGPL2 software. A copy of this license can be found in the +file `LICENSE`. Additional legal information is provided in the file `NOTICE`. + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. diff --git a/backend/Dependencies b/backend/Dependencies new file mode 100644 index 0000000..ca6ad40 --- /dev/null +++ b/backend/Dependencies @@ -0,0 +1,72 @@ +ipp.o: ipp.c backend-private.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/snmp-private.h ../cups/backend.h \ + ../cups/sidechannel.h ../cups/ppd-private.h ../cups/ppd.h \ + ../cups/raster.h +lpd.o: lpd.c ../cups/http-private.h ../config.h ../cups/language.h \ + ../cups/array.h ../cups/versioning.h ../cups/http.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/pwg.h backend-private.h ../cups/cups-private.h \ + ../cups/string-private.h ../cups/array-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/snmp-private.h ../cups/backend.h \ + ../cups/sidechannel.h +dnssd.o: dnssd.c backend-private.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/snmp-private.h ../cups/backend.h \ + ../cups/sidechannel.h +snmp.o: snmp.c backend-private.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/snmp-private.h ../cups/backend.h \ + ../cups/sidechannel.h +socket.o: socket.c ../cups/http-private.h ../config.h ../cups/language.h \ + ../cups/array.h ../cups/versioning.h ../cups/http.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/pwg.h backend-private.h ../cups/cups-private.h \ + ../cups/string-private.h ../cups/array-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/snmp-private.h ../cups/backend.h \ + ../cups/sidechannel.h +test1284.o: test1284.c ../cups/string-private.h ../config.h \ + ../cups/versioning.h ieee1284.c backend-private.h \ + ../cups/cups-private.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/snmp-private.h ../cups/backend.h \ + ../cups/sidechannel.h ../cups/ppd-private.h ../cups/ppd.h \ + ../cups/raster.h +testbackend.o: testbackend.c ../cups/string-private.h ../config.h \ + ../cups/versioning.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/array.h ../cups/language.h ../cups/pwg.h \ + ../cups/sidechannel.h +testsupplies.o: testsupplies.c backend-private.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/snmp-private.h ../cups/backend.h \ + ../cups/sidechannel.h +usb.o: usb.c backend-private.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/snmp-private.h ../cups/backend.h \ + ../cups/sidechannel.h usb-darwin.c ../cups/debug-private.h \ + ../cups/file-private.h ../cups/ppd-private.h ../cups/ppd.h \ + ../cups/raster.h diff --git a/backend/Makefile b/backend/Makefile new file mode 100644 index 0000000..e3ce49b --- /dev/null +++ b/backend/Makefile @@ -0,0 +1,320 @@ +# +# Backend makefile for CUPS. +# +# Copyright 2007-2019 by Apple Inc. +# Copyright 1997-2007 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more information. +# + +include ../Makedefs + +# +# Object files... +# + +# RBACKENDS are installed mode 0700 so cupsd will run them as root... +# +# UBACKENDS and ULBACKENDS are installed mode 0755 so cupsd will run them as +# an unprivileged user... +# +# See http://www.cups.org/doc/api-filter.html for more info... +RBACKENDS = \ + ipp \ + lpd \ + $(DNSSD_BACKEND) +UBACKENDS = \ + snmp \ + socket +ULBACKENDS = \ + usb +UNITTESTS = \ + test1284 \ + testbackend \ + testsupplies +TARGETS = \ + libbackend.a \ + $(RBACKENDS) \ + $(UBACKENDS) \ + $(ULBACKENDS) +LIBOBJS = \ + ieee1284.o \ + network.o \ + runloop.o \ + snmp-supplies.o +OBJS = \ + ipp.o \ + lpd.o \ + dnssd.o \ + snmp.o \ + socket.o \ + test1284.o \ + testbackend.o \ + testsupplies.o \ + usb.o + + +# +# Make all targets... +# + +all: $(TARGETS) + + +# +# Make library targets... +# + +libs: $(ULBACKENDS) + + +# +# Make unit tests... +# + +unittests: $(UNITTESTS) + + +# +# Clean all object files... +# + +clean: + $(RM) $(OBJS) $(TARGETS) $(UNITTESTS) $(LIBOBJS) http https ipps mdns socket-static + + +# +# Update dependencies (without system header dependencies...) +# + +depend: + $(CC) -MM $(ALL_CFLAGS) $(OBJS:.o=.c) >Dependencies + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + if test "x$(USBQUIRKS)" != x; then \ + echo Installing USB quirks in $(USBQUIRKS); \ + $(INSTALL_DIR) -m 755 $(USBQUIRKS); \ + $(INSTALL_DATA) org.cups.usb-quirks $(USBQUIRKS); \ + fi + + +# +# Install programs... +# + +install-exec: $(INSTALLXPC) + echo Installing backends in $(SERVERBIN)/backend + $(INSTALL_DIR) -m 755 $(SERVERBIN)/backend + for file in $(RBACKENDS); do \ + $(LIBTOOL) $(INSTALL_BIN) -m 700 $$file $(SERVERBIN)/backend; \ + done + for file in $(UBACKENDS); do \ + $(INSTALL_BIN) $$file $(SERVERBIN)/backend; \ + done + for file in $(IPPALIASES); do \ + $(RM) $(SERVERBIN)/backend/$$file; \ + $(LN) ipp $(SERVERBIN)/backend/$$file; \ + done + if test "x$(DNSSD_BACKEND)" != x -a `uname` = Darwin; then \ + $(RM) $(SERVERBIN)/backend/mdns; \ + $(LN) $(DNSSD_BACKEND) $(SERVERBIN)/backend/mdns; \ + fi + if test "x$(SYMROOT)" != "x"; then \ + $(INSTALL_DIR) $(SYMROOT); \ + for file in $(RBACKENDS) $(UBACKENDS); do \ + cp $$file $(SYMROOT); \ + dsymutil $(SYMROOT)/$$file; \ + done \ + fi + +install-xpc: ipp + echo Installing XPC backends in $(SERVERBIN)/apple + $(INSTALL_DIR) -m 755 $(SERVERBIN)/apple + $(LIBTOOL) $(INSTALL_BIN) ipp $(SERVERBIN)/apple + for file in $(IPPALIASES); do \ + $(RM) $(SERVERBIN)/apple/$$file; \ + $(LN) ipp $(SERVERBIN)/apple/$$file; \ + done + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + echo Installing backends in $(SERVERBIN)/backend + $(INSTALL_DIR) -m 755 $(SERVERBIN)/backend + for file in $(ULBACKENDS); do \ + $(INSTALL_BIN) $$file $(SERVERBIN)/backend; \ + done + if test "x$(SYMROOT)" != "x"; then \ + $(INSTALL_DIR) $(SYMROOT); \ + for file in $(ULBACKENDS); do \ + cp $$file $(SYMROOT); \ + dsymutil $(SYMROOT)/$$file; \ + done \ + fi + + +# +# Uninstall all targets... +# + +uninstall: + $(RM) $(SERVERBIN)/apple/ipp + for file in $(IPPALIASES); do \ + $(RM) $(SERVERBIN)/apple/$$file; \ + done + -$(RMDIR) $(SERVERBIN)/apple + for file in $(RBACKENDS) $(UBACKENDS) $(ULBACKENDS); do \ + $(RM) $(SERVERBIN)/backend/$$file; \ + done + for file in $(IPPALIASES); do \ + $(RM) $(SERVERBIN)/backend/$$file; \ + done + -$(RMDIR) $(SERVERBIN)/backend + -$(RMDIR) $(SERVERBIN) + + +# +# test1284 +# + +test1284: test1284.o ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o test1284 test1284.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testbackend +# + +testbackend: testbackend.o ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o testbackend testbackend.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testsupplies +# + +testsupplies: testsupplies.o libbackend.a ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o testsupplies testsupplies.o libbackend.a \ + $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# libbackend.a +# + +libbackend.a: $(LIBOBJS) + echo Archiving $@... + $(RM) $@ + $(AR) $(ARFLAGS) $@ $(LIBOBJS) + $(RANLIB) $@ + + +# +# dnssd +# + +dnssd: dnssd.o ../cups/$(LIBCUPS) libbackend.a + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o dnssd dnssd.o libbackend.a $(DNSSDLIBS) $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + if test `uname` = Darwin; then \ + $(RM) mdns; \ + $(LN) dnssd mdns; \ + fi + + +# +# ipp +# + +ipp: ipp.o ../cups/$(LIBCUPS) libbackend.a + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o ipp ipp.o libbackend.a $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + $(RM) http https ipps + for file in $(IPPALIASES); do \ + $(LN) ipp $$file; \ + done + + +# +# lpd +# + +lpd: lpd.o ../cups/$(LIBCUPS) libbackend.a + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o lpd lpd.o libbackend.a $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# snmp +# + +snmp: snmp.o ../cups/$(LIBCUPS) libbackend.a + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o snmp snmp.o libbackend.a $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# socket +# + +socket: socket.o ../cups/$(LIBCUPS) libbackend.a + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o socket socket.o libbackend.a $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + +socket-static: socket.o ../cups/$(LIBCUPSSTATIC) libbackend.a + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o socket-static socket.o libbackend.a \ + $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# usb +# + +usb: usb.o ../cups/$(LIBCUPS) libbackend.a + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o usb usb.o libbackend.a $(LIBUSB) \ + $(BACKLIBS) $(COMMONLIBS) $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ +usb.o: usb.c usb-darwin.c usb-libusb.c usb-unix.c + + +# +# Dependencies... +# + +include Dependencies diff --git a/backend/backend-private.h b/backend/backend-private.h new file mode 100644 index 0000000..85fb8ae --- /dev/null +++ b/backend/backend-private.h @@ -0,0 +1,327 @@ +/* + * Backend support definitions for CUPS. + * + * Copyright © 2007-2014 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_BACKEND_PRIVATE_H_ +# define _CUPS_BACKEND_PRIVATE_H_ + + +/* + * Include necessary headers. + */ + +# include +# include +# include +# include +# include + +# ifdef __linux +# include +# include +# define IOCNR_GET_DEVICE_ID 1 +# define LPIOC_GET_DEVICE_ID(len) _IOC(_IOC_READ, 'P', IOCNR_GET_DEVICE_ID, len) +# include +# include +# include +# include +# endif /* __linux */ + +# ifdef __sun +# ifdef __sparc +# include +# else +# include +# include +# endif /* __sparc */ +# endif /* __sun */ + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * OID constants... + */ + +/* Host MIB */ +#define CUPS_OID_mib2 1,3,6,1,2,1 + +#define CUPS_OID_system CUPS_OID_mib2,1 +#define CUPS_OID_sysLocation CUPS_OID_system,6 + +#define CUPS_OID_host CUPS_OID_mib2,25 + +#define CUPS_OID_hrSystem CUPS_OID_host,1 + +#define CUPS_OID_hrStorage CUPS_OID_host,2 + +#define CUPS_OID_hrDevice CUPS_OID_host,3 +#define CUPS_OID_hrDeviceTable CUPS_OID_hrDevice,2 +#define CUPS_OID_hrDeviceEntry CUPS_OID_hrDeviceTable,1 +#define CUPS_OID_hrDeviceIndex CUPS_OID_hrDeviceEntry,1 +#define CUPS_OID_hrDeviceType CUPS_OID_hrDeviceEntry,2 +#define CUPS_OID_hrDeviceDescr CUPS_OID_hrDeviceEntry,3 + +#define CUPS_OID_hrPrinterTable CUPS_OID_hrDevice,5 +#define CUPS_OID_hrPrinterEntry CUPS_OID_hrPrinterTable,1 +#define CUPS_OID_hrPrinterStatus CUPS_OID_hrPrinterEntry,1 +#define CUPS_OID_hrPrinterDetectedErrorState CUPS_OID_hrPrinterEntry,2 + +/* Printer MIB */ +#define CUPS_OID_printmib CUPS_OID_mib2,43 + +#define CUPS_OID_prtGeneral CUPS_OID_printmib,5 +#define CUPS_OID_prtGeneralTable CUPS_OID_prtGeneral,1 +#define CUPS_OID_prtGeneralEntry CUPS_OID_prtGeneralTable,1 +#define CUPS_OID_prtGeneralCurrentLocalization CUPS_OID_prtGeneralEntry,2 +#define CUPS_OID_prtGeneralPrinterName CUPS_OID_prtGeneralEntry,16 +#define CUPS_OID_prtGeneralSerialNumber CUPS_OID_prtGeneralEntry,17 + +#define CUPS_OID_prtCover CUPS_OID_printmib,6 +#define CUPS_OID_prtCoverTable CUPS_OID_prtCover,1 +#define CUPS_OID_prtCoverEntry CUPS_OID_prtCoverTable,1 +#define CUPS_OID_prtCoverDescription CUPS_OID_prtCoverEntry,2 +#define CUPS_OID_prtCoverStatus CUPS_OID_prtCoverEntry,3 + +#define CUPS_OID_prtLocalization CUPS_OID_printmib,7 +#define CUPS_OID_prtLocalizationTable CUPS_OID_prtLocalization,1 +#define CUPS_OID_prtLocalizationEntry CUPS_OID_prtLocalizationTable,1 +#define CUPS_OID_prtLocalizationCharacterSet CUPS_OID_prtLocalizationEntry,4 + +#define CUPS_OID_prtMarker CUPS_OID_printmib,10 +#define CUPS_OID_prtMarkerTable CUPS_OID_prtMarker,2 +#define CUPS_OID_prtMarkerEntry CUPS_OID_prtMarkerTable,1 +#define CUPS_OID_prtMarkerLifeCount CUPS_OID_prtMarkerEntry,4 + +#define CUPS_OID_prtMarkerSupplies CUPS_OID_printmib,11 +#define CUPS_OID_prtMarkerSuppliesTable CUPS_OID_prtMarkerSupplies,1 +#define CUPS_OID_prtMarkerSuppliesEntry CUPS_OID_prtMarkerSuppliesTable,1 +#define CUPS_OID_prtMarkerSuppliesIndex CUPS_OID_prtMarkerSuppliesEntry,1 +#define CUPS_OID_prtMarkerSuppliesMarkerIndex CUPS_OID_prtMarkerSuppliesEntry,2 +#define CUPS_OID_prtMarkerSuppliesColorantIndex CUPS_OID_prtMarkerSuppliesEntry,3 +#define CUPS_OID_prtMarkerSuppliesClass CUPS_OID_prtMarkerSuppliesEntry,4 +#define CUPS_OID_prtMarkerSuppliesType CUPS_OID_prtMarkerSuppliesEntry,5 +#define CUPS_OID_prtMarkerSuppliesDescription CUPS_OID_prtMarkerSuppliesEntry,6 +#define CUPS_OID_prtMarkerSuppliesSupplyUnit CUPS_OID_prtMarkerSuppliesEntry,7 +#define CUPS_OID_prtMarkerSuppliesMaxCapacity CUPS_OID_prtMarkerSuppliesEntry,8 +#define CUPS_OID_prtMarkerSuppliesLevel CUPS_OID_prtMarkerSuppliesEntry,9 + +#define CUPS_OID_prtMarkerColorant CUPS_OID_printmib,12 +#define CUPS_OID_prtMarkerColorantTable CUPS_OID_prtMarkerColorant,1 +#define CUPS_OID_prtMarkerColorantEntry CUPS_OID_prtMarkerColorantTable,1 +#define CUPS_OID_prtMarkerColorantIndex CUPS_OID_prtMarkerColorantEntry,1 +#define CUPS_OID_prtMarkerColorantMarkerIndex CUPS_OID_prtMarkerColorantEntry,2 +#define CUPS_OID_prtMarkerColorantRole CUPS_OID_prtMarkerColorantEntry,3 +#define CUPS_OID_prtMarkerColorantValue CUPS_OID_prtMarkerColorantEntry,4 +#define CUPS_OID_prtMarkerColorantTonality CUPS_OID_prtMarkerColorantEntry,5 + +#define CUPS_OID_prtInterpreter CUPS_OID_printmib,15 +#define CUPS_OID_prtInterpreterTable CUPS_OID_prtInterpreter,1 +#define CUPS_OID_prtInterpreterEntry CUPS_OID_prtInterpreterTable,1 +#define CUPS_OID_prtInterpreterLangFamily CUPS_OID_prtInterpreterEntry,2 +#define CUPS_OID_prtInterpreterLangLevel CUPS_OID_prtInterpreterEntry,3 + +/* Printer Port Monitor MIB */ +#define CUPS_OID_enterprises 1,3,6,1,4,1 +#define CUPS_OID_pwg CUPS_OID_enterprises,2699,1 +#define CUPS_OID_ppmMIB CUPS_OID_pwg,2 +#define CUPS_OID_ppmMIBObjects CUPS_OID_ppmMIB,1 + +#define CUPS_OID_ppmGeneral CUPS_OID_ppmMIBObjects,1 + +#define CUPS_OID_ppmPrinter CUPS_OID_ppmMIBObjects,2 +#define CUPS_OID_ppmPrinterTable CUPS_OID_ppmPrinter,1 +#define CUPS_OID_ppmPrinterEntry CUPS_OID_ppmPrinterTable,1 +#define CUPS_OID_ppmPrinterIndex CUPS_OID_ppmPrinterEntry,1 +#define CUPS_OID_ppmPrinterName CUPS_OID_ppmPrinterEntry,2 +#define CUPS_OID_ppmPrinterIEEE1284DeviceId CUPS_OID_ppmPrinterEntry,3 +#define CUPS_OID_ppmPrinterNumberOfPorts CUPS_OID_ppmPrinterEntry,4 +#define CUPS_OID_ppmPrinterPreferredPortIndex CUPS_OID_ppmPrinterEntry,5 +#define CUPS_OID_ppmPrinterHrDeviceIndex CUPS_OID_ppmPrinterEntry,6 +#define CUPS_OID_ppmPrinterSnmpCommunityName CUPS_OID_ppmPrinterEntry,7 +#define CUPS_OID_ppmPrinterSnmpQueryEnabled CUPS_OID_ppmPrinterEntry,8 + +#define CUPS_OID_ppmPort CUPS_OID_ppmMIBObjects,3 +#define CUPS_OID_ppmPortTable CUPS_OID_ppmPort,1 +#define CUPS_OID_ppmPortEntry CUPS_OID_ppmPortTable,1 +#define CUPS_OID_ppmPortIndex CUPS_OID_ppmPortEntry,1 +#define CUPS_OID_ppmPortEnabled CUPS_OID_ppmPortEntry,2 +#define CUPS_OID_ppmPortName CUPS_OID_ppmPortEntry,3 +#define CUPS_OID_ppmPortServiceNameOrURI CUPS_OID_ppmPortEntry,4 +#define CUPS_OID_ppmPortProtocolType CUPS_OID_ppmPortEntry,5 +#define CUPS_OID_ppmPortProtocolTargetPort CUPS_OID_ppmPortEntry,6 +#define CUPS_OID_ppmPortProtocolAltSourceEnabled CUPS_OID_ppmPortEntry,7 +#define CUPS_OID_ppmPortPrtChannelIndex CUPS_OID_ppmPortEntry,8 +#define CUPS_OID_ppmPortLprByteCountEnabled CUPS_OID_ppmPortEntry,9 + + +/* + * State constants... + */ + +#define CUPS_TC_other 1 +#define CUPS_TC_unknown 2 + +#define CUPS_TC_idle 3 +#define CUPS_TC_printing 4 +#define CUPS_TC_warmup 5 + +/* These come from the hrPrinterDetectedErrorState OCTET-STRING */ +#define CUPS_TC_lowPaper 0x8000 +#define CUPS_TC_noPaper 0x4000 +#define CUPS_TC_lowToner 0x2000 +#define CUPS_TC_noToner 0x1000 +#define CUPS_TC_doorOpen 0x0800 +#define CUPS_TC_jammed 0x0400 +#define CUPS_TC_offline 0x0200 +#define CUPS_TC_serviceRequested 0x0100 +#define CUPS_TC_inputTrayMissing 0x0080 +#define CUPS_TC_outputTrayMissing 0x0040 +#define CUPS_TC_markerSupplyMissing 0x0020 +#define CUPS_TC_outputNearFull 0x0010 +#define CUPS_TC_outputFull 0x0008 +#define CUPS_TC_inputTrayEmpty 0x0004 +#define CUPS_TC_overduePreventMaint 0x0002 + +#define CUPS_TC_prtCoverStatus_coverOpen 3 +#define CUPS_TC_prtCoverStatus_coverClosed 4 +#define CUPS_TC_prtCoverStatus_interlockOpen 5 +#define CUPS_TC_prtCoverStatus_interlockClosed 6 + +#define CUPS_TC_langPCL 3 +#define CUPS_TC_langHPGL 4 +#define CUPS_TC_langPJL 5 +#define CUPS_TC_langPS 6 +#define CUPS_TC_langEscapeP 9 +#define CUPS_TC_langCCITT 26 +#define CUPS_TC_langLIPS 39 +#define CUPS_TC_langTIFF 40 +#define CUPS_TC_langPCLXL 47 +#define CUPS_TC_langPDF 54 +#define CUPS_TC_langJPEG 61 + +#define CUPS_TC_supplyThatIsConsumed 3 +#define CUPS_TC_receptacleThatIsFilled 4 + +#define CUPS_TC_process 3 +#define CUPS_TC_spot 4 + +#define CUPS_TC_toner 3 +#define CUPS_TC_wasteToner 4 +#define CUPS_TC_ink 5 +#define CUPS_TC_inkCartridge 6 +#define CUPS_TC_inkRibbon 7 +#define CUPS_TC_wasteInk 8 +#define CUPS_TC_opc 9 +#define CUPS_TC_developer 10 +#define CUPS_TC_fuserOil 11 +#define CUPS_TC_solidWax 12 +#define CUPS_TC_ribbonWax 13 +#define CUPS_TC_wasteWax 14 +#define CUPS_TC_fuser 15 +#define CUPS_TC_coronaWire 16 +#define CUPS_TC_fuserOilWick 17 +#define CUPS_TC_cleanerUnit 18 +#define CUPS_TC_fuserCleaningPad 19 +#define CUPS_TC_transferUnit 20 +#define CUPS_TC_tonerCartridge 21 +#define CUPS_TC_fuserOiler 22 +#define CUPS_TC_water 23 +#define CUPS_TC_wasteWater 24 +#define CUPS_TC_glueWaterAdditive 25 +#define CUPS_TC_wastePaper 26 +#define CUPS_TC_bindingSupply 27 +#define CUPS_TC_bandingSupply 28 +#define CUPS_TC_stitchingWire 29 +#define CUPS_TC_shrinkWrap 30 +#define CUPS_TC_paperWrap 31 +#define CUPS_TC_staples 32 +#define CUPS_TC_inserts 33 +#define CUPS_TC_covers 34 + +#define CUPS_TC_tenThousandthsOfInches 3 +#define CUPS_TC_micrometers 4 +#define CUPS_TC_impressions 7 +#define CUPS_TC_sheets 8 +#define CUPS_TC_hours 11 +#define CUPS_TC_thousandthsOfOunces 12 +#define CUPS_TC_tenthsOfGrams 13 +#define CUPS_TC_hundrethsOfFluidOunces 14 +#define CUPS_TC_tenthsOfMilliliters 15 +#define CUPS_TC_feet 16 +#define CUPS_TC_meters 17 +#define CUPS_TC_items 18 +#define CUPS_TC_percent 19 + +/* These come from RFC 3808 to define character sets we support */ +/* Also see http://www.iana.org/assignments/character-sets */ +#define CUPS_TC_csASCII 3 +#define CUPS_TC_csISOLatin1 4 +#define CUPS_TC_csShiftJIS 17 +#define CUPS_TC_csUTF8 106 +#define CUPS_TC_csUnicode 1000 /* UCS2 BE */ +#define CUPS_TC_csUCS4 1001 /* UCS4 BE */ +#define CUPS_TC_csUnicodeASCII 1002 +#define CUPS_TC_csUnicodeLatin1 1003 +#define CUPS_TC_csUTF16BE 1013 +#define CUPS_TC_csUTF16LE 1014 +#define CUPS_TC_csUTF32 1017 +#define CUPS_TC_csUTF32BE 1018 +#define CUPS_TC_csUTF32LE 1019 +#define CUPS_TC_csWindows31J 2024 + + +/* + * Types... + */ + +typedef int (*_cups_sccb_t)(int print_fd, int device_fd, int snmp_fd, + http_addr_t *addr, int use_bc); + + +/* + * Prototypes... + */ + +extern void backendCheckSideChannel(int snmp_fd, http_addr_t *addr); +extern int backendDrainOutput(int print_fd, int device_fd); +extern int backendGetDeviceID(int fd, char *device_id, + int device_id_size, + char *make_model, + int make_model_size, + const char *scheme, char *uri, + int uri_size); +extern int backendGetMakeModel(const char *device_id, + char *make_model, + size_t make_model_size); +extern http_addrlist_t *backendLookup(const char *hostname, int port, int *cancel); +extern int backendNetworkSideCB(int print_fd, int device_fd, + int snmp_fd, http_addr_t *addr, + int use_bc); +extern ssize_t backendRunLoop(int print_fd, int device_fd, int snmp_fd, + http_addr_t *addr, int use_bc, + int update_state, _cups_sccb_t side_cb); +extern int backendSNMPSupplies(int snmp_fd, http_addr_t *addr, + int *page_count, + int *printer_state); +extern int backendWaitLoop(int snmp_fd, http_addr_t *addr, + int use_bc, _cups_sccb_t side_cb); + + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_BACKEND_PRIVATE_H_ */ diff --git a/backend/dnssd.c b/backend/dnssd.c new file mode 100644 index 0000000..fde79ec --- /dev/null +++ b/backend/dnssd.c @@ -0,0 +1,1289 @@ +/* + * DNS-SD discovery backend for CUPS. + * + * Copyright © 2008-2018 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include "backend-private.h" +#include +#ifdef HAVE_DNSSD +# include +#endif /* HAVE_DNSSD */ +#ifdef HAVE_AVAHI +# include +# include +# include +# include +# include +# include +#define kDNSServiceMaxDomainName AVAHI_DOMAIN_NAME_MAX +#endif /* HAVE_AVAHI */ + + +/* + * Device structure... + */ + +typedef enum +{ + CUPS_DEVICE_PRINTER = 0, /* lpd://... */ + CUPS_DEVICE_IPPS, /* ipps://... */ + CUPS_DEVICE_IPP, /* ipp://... */ + CUPS_DEVICE_FAX_IPP, /* ipp://... */ + CUPS_DEVICE_PDL_DATASTREAM, /* socket://... */ + CUPS_DEVICE_RIOUSBPRINT /* riousbprint://... */ +} cups_devtype_t; + + +typedef struct +{ +#ifdef HAVE_DNSSD + DNSServiceRef ref; /* Service reference for query */ +#endif /* HAVE_DNSSD */ +#ifdef HAVE_AVAHI + AvahiRecordBrowser *ref; /* Browser for query */ +#endif /* HAVE_AVAHI */ + char *name, /* Service name */ + *domain, /* Domain name */ + *fullName, /* Full name */ + *make_and_model, /* Make and model from TXT record */ + *device_id, /* 1284 device ID from TXT record */ + *uuid; /* UUID from TXT record */ + cups_devtype_t type; /* Device registration type */ + int priority, /* Priority associated with type */ + cups_shared, /* CUPS shared printer? */ + sent; /* Did we list the device? */ +} cups_device_t; + + +/* + * Local globals... + */ + +static int job_canceled = 0; + /* Set to 1 on SIGTERM */ +#ifdef HAVE_AVAHI +static AvahiSimplePoll *simple_poll = NULL; + /* Poll information */ +static int got_data = 0; /* Got data from poll? */ +static int browsers = 0; /* Number of running browsers */ +#endif /* HAVE_AVAHI */ + + +/* + * Local functions... + */ + +#ifdef HAVE_DNSSD +static void browse_callback(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *serviceName, const char *regtype, const char *replyDomain, void *context) _CUPS_NONNULL(1,5,6,7,8); +static void browse_local_callback(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *serviceName, const char *regtype, const char *replyDomain, void *context) _CUPS_NONNULL(1,5,6,7,8); +#endif /* HAVE_DNSSD */ +#ifdef HAVE_AVAHI +static void browse_callback(AvahiServiceBrowser *browser, + AvahiIfIndex interface, + AvahiProtocol protocol, + AvahiBrowserEvent event, + const char *serviceName, + const char *regtype, + const char *replyDomain, + AvahiLookupResultFlags flags, + void *context); +static void client_callback(AvahiClient *client, + AvahiClientState state, + void *context); +#endif /* HAVE_AVAHI */ + +static int compare_devices(cups_device_t *a, cups_device_t *b); +static void exec_backend(char **argv) _CUPS_NORETURN; +static cups_device_t *get_device(cups_array_t *devices, const char *serviceName, const char *regtype, const char *replyDomain) _CUPS_NONNULL(1,2,3,4); +#ifdef HAVE_DNSSD +static void query_callback(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *fullName, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context) _CUPS_NONNULL(1,5,9,11); +#elif defined(HAVE_AVAHI) +static int poll_callback(struct pollfd *pollfds, + unsigned int num_pollfds, int timeout, + void *context); +static void query_callback(AvahiRecordBrowser *browser, + AvahiIfIndex interface, + AvahiProtocol protocol, + AvahiBrowserEvent event, + const char *name, uint16_t rrclass, + uint16_t rrtype, const void *rdata, + size_t rdlen, + AvahiLookupResultFlags flags, + void *context); +#endif /* HAVE_DNSSD */ +static void sigterm_handler(int sig); +static void unquote(char *dst, const char *src, size_t dstsize) _CUPS_NONNULL(1,2); + + +/* + * 'main()' - Browse for printers. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + const char *name; /* Backend name */ + cups_array_t *devices; /* Device array */ + cups_device_t *device; /* Current device */ + char uriName[1024]; /* Unquoted fullName for URI */ +#ifdef HAVE_DNSSD + int fd; /* Main file descriptor */ + fd_set input; /* Input set for select() */ + struct timeval timeout; /* Timeout for select() */ + DNSServiceRef main_ref, /* Main service reference */ + fax_ipp_ref, /* IPP fax service reference */ + ipp_ref, /* IPP service reference */ + ipp_tls_ref, /* IPP w/TLS service reference */ + ipps_ref, /* IPP service reference */ + local_fax_ipp_ref, /* Local IPP fax service reference */ + local_ipp_ref, /* Local IPP service reference */ + local_ipp_tls_ref, /* Local IPP w/TLS service reference */ + local_ipps_ref, /* Local IPP service reference */ + local_printer_ref, /* Local LPD service reference */ + pdl_datastream_ref, /* AppSocket service reference */ + printer_ref, /* LPD service reference */ + riousbprint_ref; /* Remote IO service reference */ +#endif /* HAVE_DNSSD */ +#ifdef HAVE_AVAHI + AvahiClient *client; /* Client information */ + int error; /* Error code, if any */ +#endif /* HAVE_AVAHI */ +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* Actions for POSIX signals */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ + + + /* + * Don't buffer stderr, and catch SIGTERM... + */ + + setbuf(stderr, NULL); + +#ifdef HAVE_SIGSET /* Use System V signals over POSIX to avoid bugs */ + sigset(SIGTERM, sigterm_handler); +#elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + + sigemptyset(&action.sa_mask); + action.sa_handler = sigterm_handler; + sigaction(SIGTERM, &action, NULL); +#else + signal(SIGTERM, sigterm_handler); +#endif /* HAVE_SIGSET */ + + /* + * Check command-line... + */ + + if (argc >= 6) + exec_backend(argv); + else if (argc != 1) + { + _cupsLangPrintf(stderr, + _("Usage: %s job-id user title copies options [file]"), + argv[0]); + return (1); + } + + /* + * Only do discovery when run as "dnssd"... + */ + + if ((name = strrchr(argv[0], '/')) != NULL) + name ++; + else + name = argv[0]; + + if (strcmp(name, "dnssd")) + return (0); + + /* + * Create an array to track devices... + */ + + devices = cupsArrayNew((cups_array_func_t)compare_devices, NULL); + + /* + * Browse for different kinds of printers... + */ + +#ifdef HAVE_DNSSD + if (DNSServiceCreateConnection(&main_ref) != kDNSServiceErr_NoError) + { + perror("ERROR: Unable to create service connection"); + return (1); + } + + fd = DNSServiceRefSockFD(main_ref); + + fax_ipp_ref = main_ref; + DNSServiceBrowse(&fax_ipp_ref, kDNSServiceFlagsShareConnection, 0, + "_fax-ipp._tcp", NULL, browse_callback, devices); + + ipp_ref = main_ref; + DNSServiceBrowse(&ipp_ref, kDNSServiceFlagsShareConnection, 0, + "_ipp._tcp", NULL, browse_callback, devices); + + ipp_tls_ref = main_ref; + DNSServiceBrowse(&ipp_tls_ref, kDNSServiceFlagsShareConnection, 0, + "_ipp-tls._tcp", NULL, browse_callback, devices); + + ipps_ref = main_ref; + DNSServiceBrowse(&ipps_ref, kDNSServiceFlagsShareConnection, 0, + "_ipps._tcp", NULL, browse_callback, devices); + + local_fax_ipp_ref = main_ref; + DNSServiceBrowse(&local_fax_ipp_ref, kDNSServiceFlagsShareConnection, + kDNSServiceInterfaceIndexLocalOnly, + "_fax-ipp._tcp", NULL, browse_local_callback, devices); + + local_ipp_ref = main_ref; + DNSServiceBrowse(&local_ipp_ref, kDNSServiceFlagsShareConnection, + kDNSServiceInterfaceIndexLocalOnly, + "_ipp._tcp", NULL, browse_local_callback, devices); + + local_ipp_tls_ref = main_ref; + DNSServiceBrowse(&local_ipp_tls_ref, kDNSServiceFlagsShareConnection, + kDNSServiceInterfaceIndexLocalOnly, + "_ipp-tls._tcp", NULL, browse_local_callback, devices); + + local_ipps_ref = main_ref; + DNSServiceBrowse(&local_ipps_ref, kDNSServiceFlagsShareConnection, + kDNSServiceInterfaceIndexLocalOnly, + "_ipps._tcp", NULL, browse_local_callback, devices); + + local_printer_ref = main_ref; + DNSServiceBrowse(&local_printer_ref, kDNSServiceFlagsShareConnection, + kDNSServiceInterfaceIndexLocalOnly, + "_printer._tcp", NULL, browse_local_callback, devices); + + pdl_datastream_ref = main_ref; + DNSServiceBrowse(&pdl_datastream_ref, kDNSServiceFlagsShareConnection, 0, + "_pdl-datastream._tcp", NULL, browse_callback, devices); + + printer_ref = main_ref; + DNSServiceBrowse(&printer_ref, kDNSServiceFlagsShareConnection, 0, + "_printer._tcp", NULL, browse_callback, devices); + + riousbprint_ref = main_ref; + DNSServiceBrowse(&riousbprint_ref, kDNSServiceFlagsShareConnection, 0, + "_riousbprint._tcp", NULL, browse_callback, devices); +#endif /* HAVE_DNSSD */ + +#ifdef HAVE_AVAHI + if ((simple_poll = avahi_simple_poll_new()) == NULL) + { + fputs("DEBUG: Unable to create Avahi simple poll object.\n", stderr); + return (0); + } + + avahi_simple_poll_set_func(simple_poll, poll_callback, NULL); + + client = avahi_client_new(avahi_simple_poll_get(simple_poll), + 0, client_callback, simple_poll, &error); + if (!client) + { + fputs("DEBUG: Unable to create Avahi client.\n", stderr); + return (0); + } + + browsers = 6; + avahi_service_browser_new(client, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, + "_fax-ipp._tcp", NULL, 0, + browse_callback, devices); + avahi_service_browser_new(client, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, + "_ipp._tcp", NULL, 0, + browse_callback, devices); + avahi_service_browser_new(client, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, + "_ipp-tls._tcp", NULL, 0, + browse_callback, devices); + avahi_service_browser_new(client, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, + "_ipps._tcp", NULL, 0, + browse_callback, devices); + avahi_service_browser_new(client, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, + "_pdl-datastream._tcp", + NULL, 0, + browse_callback, + devices); + avahi_service_browser_new(client, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, + "_printer._tcp", NULL, 0, + browse_callback, devices); +#endif /* HAVE_AVAHI */ + + /* + * Loop until we are killed... + */ + + while (!job_canceled) + { + int announce = 0; /* Announce printers? */ + +#ifdef HAVE_DNSSD + FD_ZERO(&input); + FD_SET(fd, &input); + + timeout.tv_sec = 0; + timeout.tv_usec = 500000; + + if (select(fd + 1, &input, NULL, NULL, &timeout) < 0) + continue; + + if (FD_ISSET(fd, &input)) + { + /* + * Process results of our browsing... + */ + + DNSServiceProcessResult(main_ref); + } + else + announce = 1; + +#elif defined(HAVE_AVAHI) + got_data = 0; + + if ((error = avahi_simple_poll_iterate(simple_poll, 500)) > 0) + { + /* + * We've been told to exit the loop. Perhaps the connection to + * Avahi failed. + */ + + break; + } + + if (!got_data) + announce = 1; +#endif /* HAVE_DNSSD */ + +/* fprintf(stderr, "DEBUG: announce=%d\n", announce);*/ + + if (announce) + { + /* + * Announce any devices we've found... + */ + +#ifdef HAVE_DNSSD + DNSServiceErrorType status; /* DNS query status */ +#endif /* HAVE_DNSSD */ + cups_device_t *best; /* Best matching device */ + char device_uri[1024]; /* Device URI */ + int count; /* Number of queries */ + int sent; /* Number of sent */ + + for (device = (cups_device_t *)cupsArrayFirst(devices), + best = NULL, count = 0, sent = 0; + device; + device = (cups_device_t *)cupsArrayNext(devices)) + { + if (device->sent) + sent ++; + + if (device->ref) + count ++; + + if (!device->ref && !device->sent) + { + /* + * Found the device, now get the TXT record(s) for it... + */ + + if (count < 50) + { + fprintf(stderr, "DEBUG: Querying \"%s\"...\n", device->fullName); + +#ifdef HAVE_DNSSD + device->ref = main_ref; + + status = DNSServiceQueryRecord(&(device->ref), + kDNSServiceFlagsShareConnection, + 0, device->fullName, + kDNSServiceType_TXT, + kDNSServiceClass_IN, query_callback, + device); + if (status != kDNSServiceErr_NoError) + fprintf(stderr, + "ERROR: Unable to query \"%s\" for TXT records: %d\n", + device->fullName, status); + /* Users never see this */ + else + count ++; + +#else + if ((device->ref = avahi_record_browser_new(client, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, + device->fullName, + AVAHI_DNS_CLASS_IN, + AVAHI_DNS_TYPE_TXT, + 0, + query_callback, + device)) == NULL) + fprintf(stderr, + "ERROR: Unable to query \"%s\" for TXT records: %s\n", + device->fullName, + avahi_strerror(avahi_client_errno(client))); + /* Users never see this */ + else + count ++; +#endif /* HAVE_AVAHI */ + } + } + else if (!device->sent) + { +#ifdef HAVE_DNSSD + /* + * Got the TXT records, now report the device... + */ + + DNSServiceRefDeallocate(device->ref); +#else + avahi_record_browser_free(device->ref); +#endif /* HAVE_DNSSD */ + + device->ref = NULL; + + if (!best) + best = device; + else if (_cups_strcasecmp(best->name, device->name) || + _cups_strcasecmp(best->domain, device->domain)) + { + unquote(uriName, best->fullName, sizeof(uriName)); + + if (best->uuid) + httpAssembleURIf(HTTP_URI_CODING_ALL, device_uri, + sizeof(device_uri), "dnssd", NULL, uriName, 0, + best->cups_shared ? "/cups?uuid=%s" : "/?uuid=%s", + best->uuid); + else + httpAssembleURI(HTTP_URI_CODING_ALL, device_uri, + sizeof(device_uri), "dnssd", NULL, uriName, 0, + best->cups_shared ? "/cups" : "/"); + + cupsBackendReport("network", device_uri, best->make_and_model, + best->name, best->device_id, NULL); + best->sent = 1; + best = device; + + sent ++; + } + else if (best->priority > device->priority || + (best->priority == device->priority && + best->type < device->type)) + { + best->sent = 1; + best = device; + + sent ++; + } + else + { + device->sent = 1; + + sent ++; + } + } + } + + if (best) + { + unquote(uriName, best->fullName, sizeof(uriName)); + + if (best->uuid) + httpAssembleURIf(HTTP_URI_CODING_ALL, device_uri, + sizeof(device_uri), "dnssd", NULL, uriName, 0, + best->cups_shared ? "/cups?uuid=%s" : "/?uuid=%s", + best->uuid); + else + httpAssembleURI(HTTP_URI_CODING_ALL, device_uri, + sizeof(device_uri), "dnssd", NULL, uriName, 0, + best->cups_shared ? "/cups" : "/"); + + cupsBackendReport("network", device_uri, best->make_and_model, + best->name, best->device_id, NULL); + best->sent = 1; + sent ++; + } + + fprintf(stderr, "DEBUG: sent=%d, count=%d\n", sent, count); + +#ifdef HAVE_AVAHI + if (sent == cupsArrayCount(devices) && browsers == 0) +#else + if (sent == cupsArrayCount(devices)) +#endif /* HAVE_AVAHI */ + break; + } + } + + return (CUPS_BACKEND_OK); +} + + +#ifdef HAVE_DNSSD +/* + * 'browse_callback()' - Browse devices. + */ + +static void +browse_callback( + DNSServiceRef sdRef, /* I - Service reference */ + DNSServiceFlags flags, /* I - Option flags */ + uint32_t interfaceIndex, /* I - Interface number */ + DNSServiceErrorType errorCode, /* I - Error, if any */ + const char *serviceName, /* I - Name of service/device */ + const char *regtype, /* I - Type of service */ + const char *replyDomain, /* I - Service domain */ + void *context) /* I - Devices array */ +{ + fprintf(stderr, "DEBUG2: browse_callback(sdRef=%p, flags=%x, " + "interfaceIndex=%d, errorCode=%d, serviceName=\"%s\", " + "regtype=\"%s\", replyDomain=\"%s\", context=%p)\n", + sdRef, flags, interfaceIndex, errorCode, + serviceName, regtype, replyDomain, context); + + /* + * Only process "add" data... + */ + + if (errorCode != kDNSServiceErr_NoError || !(flags & kDNSServiceFlagsAdd)) + return; + + /* + * Get the device... + */ + + get_device((cups_array_t *)context, serviceName, regtype, replyDomain); +} + + +/* + * 'browse_local_callback()' - Browse local devices. + */ + +static void +browse_local_callback( + DNSServiceRef sdRef, /* I - Service reference */ + DNSServiceFlags flags, /* I - Option flags */ + uint32_t interfaceIndex, /* I - Interface number */ + DNSServiceErrorType errorCode, /* I - Error, if any */ + const char *serviceName, /* I - Name of service/device */ + const char *regtype, /* I - Type of service */ + const char *replyDomain, /* I - Service domain */ + void *context) /* I - Devices array */ +{ + cups_device_t *device; /* Device */ + + + fprintf(stderr, "DEBUG2: browse_local_callback(sdRef=%p, flags=%x, " + "interfaceIndex=%d, errorCode=%d, serviceName=\"%s\", " + "regtype=\"%s\", replyDomain=\"%s\", context=%p)\n", + sdRef, flags, interfaceIndex, errorCode, + serviceName, regtype, replyDomain, context); + + /* + * Only process "add" data... + */ + + if (errorCode != kDNSServiceErr_NoError || !(flags & kDNSServiceFlagsAdd)) + return; + + /* + * Get the device... + */ + + device = get_device((cups_array_t *)context, serviceName, regtype, + replyDomain); + + /* + * Hide locally-registered devices... + */ + + fprintf(stderr, "DEBUG: Hiding local printer \"%s\"...\n", + device->fullName); + device->sent = 1; +} +#endif /* HAVE_DNSSD */ + + +#ifdef HAVE_AVAHI +/* + * 'browse_callback()' - Browse devices. + */ + +static void +browse_callback( + AvahiServiceBrowser *browser, /* I - Browser */ + AvahiIfIndex interface, /* I - Interface index (unused) */ + AvahiProtocol protocol, /* I - Network protocol (unused) */ + AvahiBrowserEvent event, /* I - What happened */ + const char *name, /* I - Service name */ + const char *type, /* I - Registration type */ + const char *domain, /* I - Domain */ + AvahiLookupResultFlags flags, /* I - Flags */ + void *context) /* I - Devices array */ +{ + AvahiClient *client = avahi_service_browser_get_client(browser); + /* Client information */ + + + (void)interface; + (void)protocol; + (void)context; + + switch (event) + { + case AVAHI_BROWSER_FAILURE: + fprintf(stderr, "DEBUG: browse_callback: %s\n", + avahi_strerror(avahi_client_errno(client))); + avahi_simple_poll_quit(simple_poll); + break; + + case AVAHI_BROWSER_NEW: + /* + * This object is new on the network. + */ + + if (flags & AVAHI_LOOKUP_RESULT_LOCAL) + { + /* + * This comes from the local machine so ignore it. + */ + + fprintf(stderr, "DEBUG: Ignoring local service %s.\n", name); + } + else + { + /* + * Create a device entry for it if it doesn't yet exist. + */ + + get_device((cups_array_t *)context, name, type, domain); + } + break; + + case AVAHI_BROWSER_REMOVE: + case AVAHI_BROWSER_CACHE_EXHAUSTED: + break; + + case AVAHI_BROWSER_ALL_FOR_NOW: + browsers--; + break; + } +} + + +/* + * 'client_callback()' - Avahi client callback function. + */ + +static void +client_callback( + AvahiClient *client, /* I - Client information (unused) */ + AvahiClientState state, /* I - Current state */ + void *context) /* I - User data (unused) */ +{ + (void)client; + (void)context; + + /* + * If the connection drops, quit. + */ + + if (state == AVAHI_CLIENT_FAILURE) + { + fputs("DEBUG: Avahi connection failed.\n", stderr); + avahi_simple_poll_quit(simple_poll); + } +} +#endif /* HAVE_AVAHI */ + + +/* + * 'compare_devices()' - Compare two devices. + */ + +static int /* O - Result of comparison */ +compare_devices(cups_device_t *a, /* I - First device */ + cups_device_t *b) /* I - Second device */ +{ + return (strcmp(a->name, b->name)); +} + + +/* + * 'exec_backend()' - Execute the backend that corresponds to the + * resolved service name. + */ + +static void +exec_backend(char **argv) /* I - Command-line arguments */ +{ + const char *resolved_uri, /* Resolved device URI */ + *cups_serverbin; /* Location of programs */ + char scheme[1024], /* Scheme from URI */ + *ptr, /* Pointer into scheme */ + filename[1024]; /* Backend filename */ + + + /* + * Resolve the device URI... + */ + + job_canceled = -1; + + while ((resolved_uri = cupsBackendDeviceURI(argv)) == NULL) + { + _cupsLangPrintFilter(stderr, "INFO", _("Unable to locate printer.")); + sleep(10); + + if (getenv("CLASS") != NULL) + exit(CUPS_BACKEND_FAILED); + } + + /* + * Extract the scheme from the URI... + */ + + strlcpy(scheme, resolved_uri, sizeof(scheme)); + if ((ptr = strchr(scheme, ':')) != NULL) + *ptr = '\0'; + + /* + * Get the filename of the backend... + */ + + if ((cups_serverbin = getenv("CUPS_SERVERBIN")) == NULL) + cups_serverbin = CUPS_SERVERBIN; + + snprintf(filename, sizeof(filename), "%s/backend/%s", cups_serverbin, scheme); + + /* + * Overwrite the device URI and run the new backend... + */ + + setenv("DEVICE_URI", resolved_uri, 1); + + argv[0] = (char *)resolved_uri; + + fprintf(stderr, "DEBUG: Executing backend \"%s\"...\n", filename); + + execv(filename, argv); + + fprintf(stderr, "ERROR: Unable to execute backend \"%s\": %s\n", filename, + strerror(errno)); + exit(CUPS_BACKEND_STOP); +} + + +/* + * 'device_type()' - Get DNS-SD type enumeration from string. + */ + +static cups_devtype_t /* O - Device type */ +device_type(const char *regtype) /* I - Service registration type */ +{ +#ifdef HAVE_AVAHI + if (!strcmp(regtype, "_ipp._tcp")) + return (CUPS_DEVICE_IPP); + else if (!strcmp(regtype, "_ipps._tcp") || + !strcmp(regtype, "_ipp-tls._tcp")) + return (CUPS_DEVICE_IPPS); + else if (!strcmp(regtype, "_fax-ipp._tcp")) + return (CUPS_DEVICE_FAX_IPP); + else if (!strcmp(regtype, "_printer._tcp")) + return (CUPS_DEVICE_PDL_DATASTREAM); +#else + if (!strcmp(regtype, "_ipp._tcp.")) + return (CUPS_DEVICE_IPP); + else if (!strcmp(regtype, "_ipps._tcp.") || + !strcmp(regtype, "_ipp-tls._tcp.")) + return (CUPS_DEVICE_IPPS); + else if (!strcmp(regtype, "_fax-ipp._tcp.")) + return (CUPS_DEVICE_FAX_IPP); + else if (!strcmp(regtype, "_printer._tcp.")) + return (CUPS_DEVICE_PRINTER); + else if (!strcmp(regtype, "_pdl-datastream._tcp.")) + return (CUPS_DEVICE_PDL_DATASTREAM); +#endif /* HAVE_AVAHI */ + + return (CUPS_DEVICE_RIOUSBPRINT); +} + + +/* + * 'get_device()' - Create or update a device. + */ + +static cups_device_t * /* O - Device */ +get_device(cups_array_t *devices, /* I - Device array */ + const char *serviceName, /* I - Name of service/device */ + const char *regtype, /* I - Type of service */ + const char *replyDomain) /* I - Service domain */ +{ + cups_device_t key, /* Search key */ + *device; /* Device */ + char fullName[kDNSServiceMaxDomainName]; + /* Full name for query */ + + + /* + * See if this is a new device... + */ + + key.name = (char *)serviceName; + key.type = device_type(regtype); + + for (device = cupsArrayFind(devices, &key); + device; + device = cupsArrayNext(devices)) + if (_cups_strcasecmp(device->name, key.name)) + break; + else if (device->type == key.type) + { + if (!_cups_strcasecmp(device->domain, "local.") && + _cups_strcasecmp(device->domain, replyDomain)) + { + /* + * Update the .local listing to use the "global" domain name instead. + * The backend will try local lookups first, then the global domain name. + */ + + free(device->domain); + device->domain = strdup(replyDomain); + +#ifdef HAVE_DNSSD + DNSServiceConstructFullName(fullName, device->name, regtype, + replyDomain); +#else /* HAVE_AVAHI */ + avahi_service_name_join(fullName, kDNSServiceMaxDomainName, + serviceName, regtype, replyDomain); +#endif /* HAVE_DNSSD */ + + free(device->fullName); + device->fullName = strdup(fullName); + } + + return (device); + } + + /* + * Yes, add the device... + */ + + device = calloc(sizeof(cups_device_t), 1); + device->name = strdup(serviceName); + device->domain = strdup(replyDomain); + device->type = key.type; + device->priority = 50; + + cupsArrayAdd(devices, device); + + /* + * Set the "full name" of this service, which is used for queries... + */ + +#ifdef HAVE_DNSSD + DNSServiceConstructFullName(fullName, serviceName, regtype, replyDomain); +#else /* HAVE_AVAHI */ + avahi_service_name_join(fullName, kDNSServiceMaxDomainName, serviceName, regtype, replyDomain); +#endif /* HAVE_DNSSD */ + + device->fullName = strdup(fullName); + + return (device); +} + + +#ifdef HAVE_AVAHI +/* + * 'poll_callback()' - Wait for input on the specified file descriptors. + * + * Note: This function is needed because avahi_simple_poll_iterate is broken + * and always uses a timeout of 0 (!) milliseconds. + * (https://github.com/lathiat/avahi/issues/127) + */ + +static int /* O - Number of file descriptors matching */ +poll_callback( + struct pollfd *pollfds, /* I - File descriptors */ + unsigned int num_pollfds, /* I - Number of file descriptors */ + int timeout, /* I - Timeout in milliseconds (unused) */ + void *context) /* I - User data (unused) */ +{ + int val; /* Return value */ + + + (void)timeout; + (void)context; + + val = poll(pollfds, num_pollfds, 500); + + if (val < 0) + fprintf(stderr, "DEBUG: poll_callback: %s\n", strerror(errno)); + else if (val > 0) + got_data = 1; + + return (val); +} +#endif /* HAVE_AVAHI */ + + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) +# ifdef HAVE_DNSSD +/* + * 'query_callback()' - Process query data. + */ + +static void +query_callback( + DNSServiceRef sdRef, /* I - Service reference */ + DNSServiceFlags flags, /* I - Data flags */ + uint32_t interfaceIndex, /* I - Interface */ + DNSServiceErrorType errorCode, /* I - Error, if any */ + const char *fullName, /* I - Full service name */ + uint16_t rrtype, /* I - Record type */ + uint16_t rrclass, /* I - Record class */ + uint16_t rdlen, /* I - Length of record data */ + const void *rdata, /* I - Record data */ + uint32_t ttl, /* I - Time-to-live */ + void *context) /* I - Device */ +{ +# else +/* + * 'query_callback()' - Process query data. + */ + +static void +query_callback( + AvahiRecordBrowser *browser, /* I - Record browser */ + AvahiIfIndex interfaceIndex, + /* I - Interface index (unused) */ + AvahiProtocol protocol, /* I - Network protocol (unused) */ + AvahiBrowserEvent event, /* I - What happened? */ + const char *fullName, /* I - Service name */ + uint16_t rrclass, /* I - Record class */ + uint16_t rrtype, /* I - Record type */ + const void *rdata, /* I - TXT record */ + size_t rdlen, /* I - Length of TXT record */ + AvahiLookupResultFlags flags, /* I - Flags */ + void *context) /* I - Device */ +{ + AvahiClient *client = avahi_record_browser_get_client(browser); + /* Client information */ +# endif /* HAVE_DNSSD */ + char *ptr; /* Pointer into string */ + cups_device_t *device = (cups_device_t *)context; + /* Device */ + const uint8_t *data, /* Pointer into data */ + *datanext, /* Next key/value pair */ + *dataend; /* End of entire TXT record */ + uint8_t datalen; /* Length of current key/value pair */ + char key[256], /* Key string */ + value[256], /* Value string */ + make_and_model[512], /* Manufacturer and model */ + model[256], /* Model */ + pdl[256], /* PDL */ + device_id[2048]; /* 1284 device ID */ + + +# ifdef HAVE_DNSSD + fprintf(stderr, "DEBUG2: query_callback(sdRef=%p, flags=%x, " + "interfaceIndex=%d, errorCode=%d, fullName=\"%s\", " + "rrtype=%u, rrclass=%u, rdlen=%u, rdata=%p, ttl=%u, " + "context=%p)\n", + sdRef, flags, interfaceIndex, errorCode, fullName, rrtype, rrclass, rdlen, rdata, ttl, context); + + /* + * Only process "add" data... + */ + + if (errorCode != kDNSServiceErr_NoError || !(flags & kDNSServiceFlagsAdd)) + return; + +# else + fprintf(stderr, "DEBUG2: query_callback(browser=%p, interfaceIndex=%d, " + "protocol=%d, event=%d, fullName=\"%s\", rrclass=%u, " + "rrtype=%u, rdata=%p, rdlen=%u, flags=%x, context=%p)\n", + browser, interfaceIndex, protocol, event, fullName, rrclass, rrtype, rdata, (unsigned)rdlen, flags, context); + + /* + * Only process "add" data... + */ + + if (event != AVAHI_BROWSER_NEW) + { + if (event == AVAHI_BROWSER_FAILURE) + fprintf(stderr, "ERROR: %s\n", + avahi_strerror(avahi_client_errno(client))); + + return; + } +# endif /* HAVE_DNSSD */ + + /* + * Pull out the priority and make and model from the TXT + * record and save it... + */ + + device_id[0] = '\0'; + make_and_model[0] = '\0'; + pdl[0] = '\0'; + + strlcpy(model, "Unknown", sizeof(model)); + + for (data = rdata, dataend = data + rdlen; + data < dataend; + data = datanext) + { + /* + * Read a key/value pair starting with an 8-bit length. Since the + * length is 8 bits and the size of the key/value buffers is 256, we + * don't need to check for overflow... + */ + + datalen = *data++; + + if (!datalen || (data + datalen) > dataend) + break; + + datanext = data + datalen; + + for (ptr = key; data < datanext && *data != '='; data ++) + *ptr++ = (char)*data; + *ptr = '\0'; + + if (data < datanext && *data == '=') + { + data ++; + + if (data < datanext) + memcpy(value, data, (size_t)(datanext - data)); + value[datanext - data] = '\0'; + + fprintf(stderr, "DEBUG2: query_callback: \"%s=%s\".\n", + key, value); + } + else + { + fprintf(stderr, "DEBUG2: query_callback: \"%s\" with no value.\n", + key); + continue; + } + + if (!_cups_strncasecmp(key, "usb_", 4)) + { + /* + * Add USB device ID information... + */ + + ptr = device_id + strlen(device_id); + snprintf(ptr, sizeof(device_id) - (size_t)(ptr - device_id), "%s:%s;", key + 4, value); + } + + if (!_cups_strcasecmp(key, "usb_MFG") || !_cups_strcasecmp(key, "usb_MANU") || + !_cups_strcasecmp(key, "usb_MANUFACTURER")) + strlcpy(make_and_model, value, sizeof(make_and_model)); + else if (!_cups_strcasecmp(key, "usb_MDL") || !_cups_strcasecmp(key, "usb_MODEL")) + strlcpy(model, value, sizeof(model)); + else if (!_cups_strcasecmp(key, "product") && !strstr(value, "Ghostscript")) + { + if (value[0] == '(') + { + /* + * Strip parenthesis... + */ + + if ((ptr = value + strlen(value) - 1) > value && *ptr == ')') + *ptr = '\0'; + + strlcpy(model, value + 1, sizeof(model)); + } + else + strlcpy(model, value, sizeof(model)); + } + else if (!_cups_strcasecmp(key, "ty")) + { + strlcpy(model, value, sizeof(model)); + + if ((ptr = strchr(model, ',')) != NULL) + *ptr = '\0'; + } + else if (!_cups_strcasecmp(key, "pdl")) + strlcpy(pdl, value, sizeof(pdl)); + else if (!_cups_strcasecmp(key, "priority")) + device->priority = atoi(value); + else if ((device->type == CUPS_DEVICE_IPP || + device->type == CUPS_DEVICE_IPPS || + device->type == CUPS_DEVICE_PRINTER) && + !_cups_strcasecmp(key, "printer-type")) + { + /* + * This is a CUPS printer! + */ + + device->cups_shared = 1; + + if (device->type == CUPS_DEVICE_PRINTER) + device->sent = 1; + } + else if (!_cups_strcasecmp(key, "UUID")) + device->uuid = strdup(value); + } + + if (device->device_id) + free(device->device_id); + + if (!device_id[0] && strcmp(model, "Unknown")) + { + if (make_and_model[0]) + snprintf(device_id, sizeof(device_id), "MFG:%s;MDL:%s;", + make_and_model, model); + else if (!_cups_strncasecmp(model, "designjet ", 10)) + snprintf(device_id, sizeof(device_id), "MFG:HP;MDL:%s;", model + 10); + else if (!_cups_strncasecmp(model, "stylus ", 7)) + snprintf(device_id, sizeof(device_id), "MFG:EPSON;MDL:%s;", model + 7); + else if ((ptr = strchr(model, ' ')) != NULL) + { + /* + * Assume the first word is the make... + */ + + memcpy(make_and_model, model, (size_t)(ptr - model)); + make_and_model[ptr - model] = '\0'; + + snprintf(device_id, sizeof(device_id), "MFG:%s;MDL:%s;", + make_and_model, ptr + 1); + } + } + + if (device_id[0] && + !strstr(device_id, "CMD:") && + !strstr(device_id, "COMMAND SET:") && + (strstr(pdl, "application/pdf") || + strstr(pdl, "application/postscript") || + strstr(pdl, "application/vnd.hp-PCL") || + strstr(pdl, "image/"))) + { + value[0] = '\0'; + if (strstr(pdl, "application/pdf")) + strlcat(value, ",PDF", sizeof(value)); + if (strstr(pdl, "application/postscript")) + strlcat(value, ",PS", sizeof(value)); + if (strstr(pdl, "application/vnd.hp-PCL")) + strlcat(value, ",PCL", sizeof(value)); + for (ptr = strstr(pdl, "image/"); ptr; ptr = strstr(ptr, "image/")) + { + char *valptr = value + strlen(value); + /* Pointer into value */ + + if (valptr < (value + sizeof(value) - 1)) + *valptr++ = ','; + + ptr += 6; + while (isalnum(*ptr & 255) || *ptr == '-' || *ptr == '.') + { + if (isalnum(*ptr & 255) && valptr < (value + sizeof(value) - 1)) + *valptr++ = (char)toupper(*ptr++ & 255); + else + break; + } + + *valptr = '\0'; + } + + ptr = device_id + strlen(device_id); + snprintf(ptr, sizeof(device_id) - (size_t)(ptr - device_id), "CMD:%s;", value + 1); + } + + if (device_id[0]) + device->device_id = strdup(device_id); + else + device->device_id = NULL; + + if (device->make_and_model) + free(device->make_and_model); + + if (make_and_model[0]) + { + strlcat(make_and_model, " ", sizeof(make_and_model)); + strlcat(make_and_model, model, sizeof(make_and_model)); + + if (!_cups_strncasecmp(make_and_model, "EPSON EPSON ", 12)) + _cups_strcpy(make_and_model, make_and_model + 6); + else if (!_cups_strncasecmp(make_and_model, "HP HP ", 6)) + _cups_strcpy(make_and_model, make_and_model + 3); + else if (!_cups_strncasecmp(make_and_model, "Lexmark International Lexmark ", 30)) + _cups_strcpy(make_and_model, make_and_model + 22); + + device->make_and_model = strdup(make_and_model); + } + else + device->make_and_model = strdup(model); +} +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + +/* + * 'sigterm_handler()' - Handle termination signals. + */ + +static void +sigterm_handler(int sig) /* I - Signal number (unused) */ +{ + (void)sig; + + if (job_canceled) + _exit(CUPS_BACKEND_OK); + else + job_canceled = 1; +} + + +/* + * 'unquote()' - Unquote a name string. + */ + +static void +unquote(char *dst, /* I - Destination buffer */ + const char *src, /* I - Source string */ + size_t dstsize) /* I - Size of destination buffer */ +{ + char *dstend = dst + dstsize - 1; /* End of destination buffer */ + + + while (*src && dst < dstend) + { + if (*src == '\\') + { + src ++; + if (isdigit(src[0] & 255) && isdigit(src[1] & 255) && + isdigit(src[2] & 255)) + { + *dst++ = ((((src[0] - '0') * 10) + src[1] - '0') * 10) + src[2] - '0'; + src += 3; + } + else + *dst++ = *src++; + } + else + *dst++ = *src ++; + } + + *dst = '\0'; +} diff --git a/backend/ieee1284.c b/backend/ieee1284.c new file mode 100644 index 0000000..821315f --- /dev/null +++ b/backend/ieee1284.c @@ -0,0 +1,445 @@ +/* + * IEEE-1284 support functions for CUPS. + * + * Copyright © 2007-2015 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include "backend-private.h" +#include + + +/* + * 'backendGetDeviceID()' - Get the IEEE-1284 device ID string and + * corresponding URI. + */ + +int /* O - 0 on success, -1 on failure */ +backendGetDeviceID( + int fd, /* I - File descriptor */ + char *device_id, /* O - 1284 device ID */ + int device_id_size, /* I - Size of buffer */ + char *make_model, /* O - Make/model */ + int make_model_size, /* I - Size of buffer */ + const char *scheme, /* I - URI scheme */ + char *uri, /* O - Device URI */ + int uri_size) /* I - Size of buffer */ +{ +#ifdef __APPLE__ /* This function is a no-op */ + (void)fd; + (void)device_id; + (void)device_id_size; + (void)make_model; + (void)make_model_size; + (void)scheme; + (void)uri; + (void)uri_size; + + return (-1); + +#else /* Get the device ID from the specified file descriptor... */ +# ifdef __linux + int length; /* Length of device ID info */ + int got_id = 0; +# endif /* __linux */ +# if defined(__sun) && defined(ECPPIOC_GETDEVID) + struct ecpp_device_id did; /* Device ID buffer */ +# endif /* __sun && ECPPIOC_GETDEVID */ + char *ptr; /* Pointer into device ID */ + + + /* + * Range check input... + */ + + if (!device_id || device_id_size < 32) + { + return (-1); + } + + if (make_model) + *make_model = '\0'; + + if (fd >= 0) + { + /* + * Get the device ID string... + */ + + *device_id = '\0'; + +# ifdef __linux + if (ioctl(fd, LPIOC_GET_DEVICE_ID((unsigned)device_id_size), device_id)) + { + /* + * Linux has to implement things differently for every device it seems. + * Since the standard parallel port driver does not provide a simple + * ioctl() to get the 1284 device ID, we have to open the "raw" parallel + * device corresponding to this port and do some negotiation trickery + * to get the current device ID. + */ + + if (uri && !strncmp(uri, "parallel:/dev/", 14)) + { + char devparport[16]; /* /dev/parportN */ + int devparportfd, /* File descriptor for raw device */ + mode; /* Port mode */ + + + /* + * Since the Linux parallel backend only supports 4 parallel port + * devices, just grab the trailing digit and use it to construct a + * /dev/parportN filename... + */ + + snprintf(devparport, sizeof(devparport), "/dev/parport%s", + uri + strlen(uri) - 1); + + if ((devparportfd = open(devparport, O_RDWR | O_NOCTTY)) != -1) + { + /* + * Claim the device... + */ + + if (!ioctl(devparportfd, PPCLAIM)) + { + fcntl(devparportfd, F_SETFL, fcntl(devparportfd, F_GETFL) | O_NONBLOCK); + + mode = IEEE1284_MODE_COMPAT; + + if (!ioctl(devparportfd, PPNEGOT, &mode)) + { + /* + * Put the device into Device ID mode... + */ + + mode = IEEE1284_MODE_NIBBLE | IEEE1284_DEVICEID; + + if (!ioctl(devparportfd, PPNEGOT, &mode)) + { + /* + * Read the 1284 device ID... + */ + + if ((length = read(devparportfd, device_id, (size_t)device_id_size - 1)) >= 2) + { + device_id[length] = '\0'; + got_id = 1; + } + } + } + + /* + * Release the device... + */ + + ioctl(devparportfd, PPRELEASE); + } + + close(devparportfd); + } + } + } + else + got_id = 1; + + if (got_id) + { + /* + * Extract the length of the device ID string from the first two + * bytes. The 1284 spec says the length is stored MSB first... + */ + + length = (int)((((unsigned)device_id[0] & 255) << 8) + ((unsigned)device_id[1] & 255)); + + /* + * Check to see if the length is larger than our buffer; first + * assume that the vendor incorrectly implemented the 1284 spec, + * and then limit the length to the size of our buffer... + */ + + if (length > device_id_size || length < 14) + length = (int)((((unsigned)device_id[1] & 255) << 8) + ((unsigned)device_id[0] & 255)); + + if (length > device_id_size) + length = device_id_size; + + /* + * The length field counts the number of bytes in the string + * including the length field itself (2 bytes). The minimum + * length for a valid/usable device ID is 14 bytes: + * + * MFG: ;MDL: ; + * 2 + 4 + 1 + 5 + 1 + 1 + */ + + if (length < 14) + { + /* + * Can't use this device ID, so don't try to copy it... + */ + + device_id[0] = '\0'; + got_id = 0; + } + else + { + /* + * Copy the device ID text to the beginning of the buffer and + * nul-terminate. + */ + + length -= 2; + + memmove(device_id, device_id + 2, (size_t)length); + device_id[length] = '\0'; + } + } + else + { + *device_id = '\0'; + } +# endif /* __linux */ + +# if defined(__sun) && defined(ECPPIOC_GETDEVID) + did.mode = ECPP_CENTRONICS; + did.len = device_id_size - 1; + did.rlen = 0; + did.addr = device_id; + + if (!ioctl(fd, ECPPIOC_GETDEVID, &did)) + { + /* + * Nul-terminate the device ID text. + */ + + if (did.rlen < (device_id_size - 1)) + device_id[did.rlen] = '\0'; + else + device_id[device_id_size - 1] = '\0'; + } +# endif /* __sun && ECPPIOC_GETDEVID */ + } + + /* + * Check whether device ID is valid. Turn line breaks and tabs to spaces and + * reject device IDs with non-printable characters. + */ + + for (ptr = device_id; *ptr; ptr ++) + if (_cups_isspace(*ptr)) + *ptr = ' '; + else if ((*ptr & 255) < ' ' || *ptr == 127) + { + *device_id = '\0'; + break; + } + + if (scheme && uri) + *uri = '\0'; + + if (!*device_id) + return (-1); + + /* + * Get the make and model... + */ + + if (make_model) + backendGetMakeModel(device_id, make_model, (size_t)make_model_size); + + /* + * Then generate a device URI... + */ + + if (scheme && uri && uri_size > 32) + { + int num_values; /* Number of keys and values */ + cups_option_t *values; /* Keys and values in device ID */ + const char *mfg, /* Manufacturer */ + *mdl, /* Model */ + *sern; /* Serial number */ + char temp[256], /* Temporary manufacturer string */ + *tempptr; /* Pointer into temp string */ + + + /* + * Get the make, model, and serial numbers... + */ + + num_values = _cupsGet1284Values(device_id, &values); + + if ((sern = cupsGetOption("SERIALNUMBER", num_values, values)) == NULL) + if ((sern = cupsGetOption("SERN", num_values, values)) == NULL) + sern = cupsGetOption("SN", num_values, values); + + if ((mfg = cupsGetOption("MANUFACTURER", num_values, values)) == NULL) + mfg = cupsGetOption("MFG", num_values, values); + + if ((mdl = cupsGetOption("MODEL", num_values, values)) == NULL) + mdl = cupsGetOption("MDL", num_values, values); + + if (mfg) + { + if (!_cups_strcasecmp(mfg, "Hewlett-Packard")) + mfg = "HP"; + else if (!_cups_strcasecmp(mfg, "Lexmark International")) + mfg = "Lexmark"; + } + else + { + strlcpy(temp, make_model, sizeof(temp)); + + if ((tempptr = strchr(temp, ' ')) != NULL) + *tempptr = '\0'; + + mfg = temp; + } + + if (!mdl) + mdl = ""; + + if (!_cups_strncasecmp(mdl, mfg, strlen(mfg))) + { + mdl += strlen(mfg); + + while (isspace(*mdl & 255)) + mdl ++; + } + + /* + * Generate the device URI from the manufacturer, make_model, and + * serial number strings. + */ + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, uri_size, scheme, NULL, mfg, 0, + "/%s%s%s", mdl, sern ? "?serial=" : "", sern ? sern : ""); + + cupsFreeOptions(num_values, values); + } + + return (0); +#endif /* __APPLE__ */ +} + + +/* + * 'backendGetMakeModel()' - Get the make and model string from the device ID. + */ + +int /* O - 0 on success, -1 on failure */ +backendGetMakeModel( + const char *device_id, /* O - 1284 device ID */ + char *make_model, /* O - Make/model */ + size_t make_model_size) /* I - Size of buffer */ +{ + int num_values; /* Number of keys and values */ + cups_option_t *values; /* Keys and values */ + const char *mfg, /* Manufacturer string */ + *mdl, /* Model string */ + *des; /* Description string */ + + + /* + * Range check input... + */ + + if (!device_id || !*device_id || !make_model || make_model_size < 32) + return (-1); + + *make_model = '\0'; + + /* + * Look for the description field... + */ + + num_values = _cupsGet1284Values(device_id, &values); + + if ((mdl = cupsGetOption("MODEL", num_values, values)) == NULL) + mdl = cupsGetOption("MDL", num_values, values); + + if (mdl) + { + /* + * Build a make-model string from the manufacturer and model attributes... + */ + + if ((mfg = cupsGetOption("MANUFACTURER", num_values, values)) == NULL) + mfg = cupsGetOption("MFG", num_values, values); + + if (!mfg || !_cups_strncasecmp(mdl, mfg, strlen(mfg))) + { + /* + * Just copy the model string, since it has the manufacturer... + */ + + _ppdNormalizeMakeAndModel(mdl, make_model, make_model_size); + } + else + { + /* + * Concatenate the make and model... + */ + + char temp[1024]; /* Temporary make and model */ + + snprintf(temp, sizeof(temp), "%s %s", mfg, mdl); + + _ppdNormalizeMakeAndModel(temp, make_model, make_model_size); + } + } + else if ((des = cupsGetOption("DESCRIPTION", num_values, values)) != NULL || + (des = cupsGetOption("DES", num_values, values)) != NULL) + { + /* + * Make sure the description contains something useful, since some + * printer manufacturers (HP) apparently don't follow the standards + * they helped to define... + * + * Here we require the description to be 8 or more characters in length, + * containing at least one space and one letter. + */ + + if (strlen(des) >= 8) + { + const char *ptr; /* Pointer into description */ + int letters, /* Number of letters seen */ + spaces; /* Number of spaces seen */ + + + for (ptr = des, letters = 0, spaces = 0; *ptr; ptr ++) + { + if (isspace(*ptr & 255)) + spaces ++; + else if (isalpha(*ptr & 255)) + letters ++; + + if (spaces && letters) + break; + } + + if (spaces && letters) + _ppdNormalizeMakeAndModel(des, make_model, make_model_size); + } + } + + if (!make_model[0]) + { + /* + * Use "Unknown" as the printer make and model... + */ + + strlcpy(make_model, "Unknown", make_model_size); + } + + cupsFreeOptions(num_values, values); + + return (0); +} diff --git a/backend/ipp.c b/backend/ipp.c new file mode 100644 index 0000000..3f3e186 --- /dev/null +++ b/backend/ipp.c @@ -0,0 +1,3632 @@ +/* + * IPP backend for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include "backend-private.h" +#include +#include +#include +#include +#include +#if defined(HAVE_GSSAPI) && defined(HAVE_XPC) +# include +# define kPMPrintUIToolAgent "com.apple.printuitool.agent" +# define kPMStartJob 100 +# define kPMWaitForJob 101 +extern void xpc_connection_set_target_uid(xpc_connection_t connection, + uid_t uid); +#endif /* HAVE_GSSAPI && HAVE_XPC */ + + +/* + * Bits for job-state-reasons we care about... + */ + +#define _CUPS_JSR_ACCOUNT_AUTHORIZATION_FAILED 0x01 +#define _CUPS_JSR_ACCOUNT_CLOSED 0x02 +#define _CUPS_JSR_ACCOUNT_INFO_NEEDED 0x04 +#define _CUPS_JSR_ACCOUNT_LIMIT_REACHED 0x08 +#define _CUPS_JSR_JOB_PASSWORD_WAIT 0x10 +#define _CUPS_JSR_JOB_RELEASE_WAIT 0x20 +#define _CUPS_JSR_DOCUMENT_FORMAT_ERROR 0x40 +#define _CUPS_JSR_DOCUMENT_UNPRINTABLE 0x80 + + +/* + * Types... + */ + +typedef struct _cups_monitor_s /**** Monitoring data ****/ +{ + const char *uri, /* Printer URI */ + *hostname, /* Hostname */ + *user, /* Username */ + *resource; /* Resource path */ + int port, /* Port number */ + version, /* IPP version */ + job_id, /* Job ID for submitted job */ + job_reasons, /* Job state reasons bits */ + create_job, /* Support Create-Job? */ + get_job_attrs; /* Support Get-Job-Attributes? */ + const char *job_name; /* Job name for submitted job */ + http_encryption_t encryption; /* Use encryption? */ + ipp_jstate_t job_state; /* Current job state */ + ipp_pstate_t printer_state; /* Current printer state */ + int retryable; /* Is this a job that should be retried? */ +} _cups_monitor_t; + + +/* + * Globals... + */ + +static const char *auth_info_required; + /* New auth-info-required value */ +#if defined(HAVE_GSSAPI) && defined(HAVE_XPC) +static pid_t child_pid = 0; /* Child process ID */ +#endif /* HAVE_GSSAPI && HAVE_XPC */ +static const char * const jattrs[] = /* Job attributes we want */ +{ + "job-id", + "job-impressions-completed", + "job-media-sheets-completed", + "job-name", + "job-originating-user-name", + "job-state", + "job-state-reasons" +}; +static int job_canceled = 0, + /* Job cancelled? */ + uri_credentials = 0; + /* Credentials supplied in URI? */ +static char username[256] = "", + /* Username for device URI */ + *password = NULL; + /* Password for device URI */ +static const char * const pattrs[] = /* Printer attributes we want */ +{ +#ifdef HAVE_LIBZ + "compression-supported", +#endif /* HAVE_LIBZ */ + "copies-supported", + "cups-version", + "document-format-supported", + "job-password-encryption-supported", + "marker-colors", + "marker-high-levels", + "marker-levels", + "marker-low-levels", + "marker-message", + "marker-names", + "marker-types", + "media-col-supported", + "multiple-document-handling-supported", + "operations-supported", + "print-color-mode-supported", + "printer-alert", + "printer-alert-description", + "printer-is-accepting-jobs", + "printer-mandatory-job-attributes", + "printer-state", + "printer-state-message", + "printer-state-reasons" +}; +static const char * const remote_job_states[] = +{ /* Remote job state keywords */ + "+cups-remote-pending", + "+cups-remote-pending-held", + "+cups-remote-processing", + "+cups-remote-stopped", + "+cups-remote-canceled", + "+cups-remote-aborted", + "+cups-remote-completed" +}; +static _cups_mutex_t report_mutex = _CUPS_MUTEX_INITIALIZER; + /* Mutex to control access */ +static int num_attr_cache = 0; + /* Number of cached attributes */ +static cups_option_t *attr_cache = NULL; + /* Cached attributes */ +static cups_array_t *state_reasons; /* Array of printe-state-reasons keywords */ +static char tmpfilename[1024] = ""; + /* Temporary spool file name */ +static char mandatory_attrs[1024] = ""; + /* cupsMandatory value */ + + +/* + * Local functions... + */ + +static void cancel_job(http_t *http, const char *uri, int id, + const char *resource, const char *user, + int version); +static ipp_pstate_t check_printer_state(http_t *http, const char *uri, + const char *resource, + const char *user, int version); +static void debug_attributes(ipp_t *ipp); +static void *monitor_printer(_cups_monitor_t *monitor); +static ipp_t *new_request(ipp_op_t op, int version, const char *uri, + const char *user, const char *title, + int num_options, cups_option_t *options, + const char *compression, int copies, + const char *format, _ppd_cache_t *pc, + ppd_file_t *ppd, + ipp_attribute_t *media_col_sup, + ipp_attribute_t *doc_handling_sup, + ipp_attribute_t *print_color_mode_sup); +static const char *password_cb(const char *prompt, http_t *http, + const char *method, const char *resource, + int *user_data); +static const char *quote_string(const char *s, char *q, size_t qsize); +static void report_attr(ipp_attribute_t *attr); +static void report_printer_state(ipp_t *ipp); +#if defined(HAVE_GSSAPI) && defined(HAVE_XPC) +static int run_as_user(char *argv[], uid_t uid, + const char *device_uri, int fd); +#endif /* HAVE_GSSAPI && HAVE_XPC */ +static void sigterm_handler(int sig); +static int timeout_cb(http_t *http, void *user_data); +static void update_reasons(ipp_attribute_t *attr, const char *s); + + +/* + * 'main()' - Send a file to the printer or server. + * + * Usage: + * + * printer-uri job-id user title copies options [file] + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + int send_options; /* Send job options? */ + int num_options; /* Number of printer options */ + cups_option_t *options; /* Printer options */ + const char *device_uri; /* Device URI */ + char scheme[255], /* Scheme in URI */ + hostname[1024], /* Hostname */ + resource[1024], /* Resource info (printer name) */ + addrname[256], /* Address name */ + *optptr, /* Pointer to URI options */ + *name, /* Name of option */ + *value, /* Value of option */ + sep; /* Separator character */ + int password_tries = 0; /* Password tries */ + http_addrlist_t *addrlist; /* Address of printer */ + int snmp_enabled = 1; /* Is SNMP enabled? */ + int snmp_fd, /* SNMP socket */ + start_count, /* Page count via SNMP at start */ + page_count, /* Page count via SNMP */ + have_supplies; /* Printer supports supply levels? */ + int num_files; /* Number of files to print */ + char **files, /* Files to print */ + *compatfile = NULL; /* Compatibility filename */ + off_t compatsize = 0; /* Size of compatibility file */ + int port; /* Port number (not used) */ + char uri[HTTP_MAX_URI]; /* Updated URI without user/pass */ + char print_job_name[1024]; /* Update job-name for Print-Job */ + http_status_t http_status; /* Status of HTTP request */ + ipp_status_t ipp_status; /* Status of IPP request */ + http_t *http; /* HTTP connection */ + ipp_t *request, /* IPP request */ + *response, /* IPP response */ + *supported; /* get-printer-attributes response */ + time_t start_time; /* Time of first connect */ + int contimeout; /* Connection timeout */ + int delay, /* Delay for retries */ + prev_delay; /* Previous delay */ + const char *compression; /* Compression mode */ + int waitjob, /* Wait for job complete? */ + waitjob_tries = 0, /* Number of times we've waited */ + waitprinter; /* Wait for printer ready? */ + _cups_monitor_t monitor; /* Monitoring data */ + ipp_attribute_t *job_id_attr; /* job-id attribute */ + int job_id; /* job-id value */ + ipp_attribute_t *job_sheets; /* job-media-sheets-completed */ + ipp_attribute_t *job_state; /* job-state */ +#ifdef HAVE_LIBZ + ipp_attribute_t *compression_sup; /* compression-supported */ +#endif /* HAVE_LIBZ */ + ipp_attribute_t *copies_sup; /* copies-supported */ + ipp_attribute_t *cups_version; /* cups-version */ + ipp_attribute_t *encryption_sup; /* job-password-encryption-supported */ + ipp_attribute_t *format_sup; /* document-format-supported */ + ipp_attribute_t *job_auth; /* job-authorization-uri */ + ipp_attribute_t *media_col_sup; /* media-col-supported */ + ipp_attribute_t *operations_sup; /* operations-supported */ + ipp_attribute_t *doc_handling_sup; /* multiple-document-handling-supported */ + ipp_attribute_t *printer_state; /* printer-state attribute */ + ipp_attribute_t *printer_accepting; /* printer-is-accepting-jobs */ + ipp_attribute_t *print_color_mode_sup;/* Does printer support print-color-mode? */ + int create_job = 0, /* Does printer support Create-Job? */ + get_job_attrs = 0, /* Does printer support Get-Job-Attributes? */ + send_document = 0, /* Does printer support Send-Document? */ + validate_job = 0, /* Does printer support Validate-Job? */ + copies, /* Number of copies for job */ + copies_remaining; /* Number of copies remaining */ + const char *content_type, /* CONTENT_TYPE environment variable */ + *final_content_type, /* FINAL_CONTENT_TYPE environment var */ + *document_format; /* document-format value */ + int fd; /* File descriptor */ + off_t bytes = 0; /* Bytes copied */ + char buffer[16384]; /* Copy buffer */ +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* Actions for POSIX signals */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ + int version; /* IPP version */ + ppd_file_t *ppd = NULL; /* PPD file */ + _ppd_cache_t *pc = NULL; /* PPD cache and mapping data */ + fd_set input; /* Input set for select() */ + + + /* + * Make sure status messages are not buffered... + */ + + setbuf(stderr, NULL); + + /* + * Ignore SIGPIPE and catch SIGTERM signals... + */ + +#ifdef HAVE_SIGSET + sigset(SIGPIPE, SIG_IGN); + sigset(SIGTERM, sigterm_handler); +#elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + action.sa_handler = SIG_IGN; + sigaction(SIGPIPE, &action, NULL); + + sigemptyset(&action.sa_mask); + sigaddset(&action.sa_mask, SIGTERM); + action.sa_handler = sigterm_handler; + sigaction(SIGTERM, &action, NULL); +#else + signal(SIGPIPE, SIG_IGN); + signal(SIGTERM, sigterm_handler); +#endif /* HAVE_SIGSET */ + + /* + * Check command-line... + */ + + if (argc == 1) + { + char *s; + + if ((s = strrchr(argv[0], '/')) != NULL) + s ++; + else + s = argv[0]; + + printf("network %s \"Unknown\" \"%s (%s)\"\n", + s, _cupsLangString(cupsLangDefault(), + _("Internet Printing Protocol")), s); + return (CUPS_BACKEND_OK); + } + else if (argc < 6) + { + _cupsLangPrintf(stderr, + _("Usage: %s job-id user title copies options [file]"), + argv[0]); + return (CUPS_BACKEND_STOP); + } + + /* + * Get the device URI... + */ + + while ((device_uri = cupsBackendDeviceURI(argv)) == NULL) + { + _cupsLangPrintFilter(stderr, "INFO", _("Unable to locate printer.")); + sleep(10); + + if (getenv("CLASS") != NULL) + return (CUPS_BACKEND_FAILED); + } + + if ((auth_info_required = getenv("AUTH_INFO_REQUIRED")) == NULL) + auth_info_required = "none"; + + state_reasons = _cupsArrayNewStrings(getenv("PRINTER_STATE_REASONS"), ','); + +#ifdef HAVE_GSSAPI + /* + * For Kerberos, become the printing user (if we can) to get the credentials + * that way. + */ + + if (!getuid() && (value = getenv("AUTH_UID")) != NULL) + { + uid_t uid = (uid_t)atoi(value); + /* User ID */ + +# ifdef HAVE_XPC + if (uid > 0) + { + if (argc == 6) + return (run_as_user(argv, uid, device_uri, 0)); + else + { + int status = 0; /* Exit status */ + + for (i = 6; i < argc && !status && !job_canceled; i ++) + { + if ((fd = open(argv[i], O_RDONLY)) >= 0) + { + status = run_as_user(argv, uid, device_uri, fd); + close(fd); + } + else + { + _cupsLangPrintError("ERROR", _("Unable to open print file")); + status = CUPS_BACKEND_FAILED; + } + } + + return (status); + } + } + +# else /* No XPC, just try to run as the user ID */ + if (uid > 0) + setuid(uid); +# endif /* HAVE_XPC */ + } +#endif /* HAVE_GSSAPI */ + + /* + * Get the (final) content type... + */ + + if ((content_type = getenv("CONTENT_TYPE")) == NULL) + content_type = "application/octet-stream"; + + if ((final_content_type = getenv("FINAL_CONTENT_TYPE")) == NULL) + { + final_content_type = content_type; + + if (!strncmp(final_content_type, "printer/", 8)) + final_content_type = "application/vnd.cups-raw"; + } + + /* + * Extract the hostname and printer name from the URI... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, device_uri, scheme, sizeof(scheme), + username, sizeof(username), hostname, sizeof(hostname), &port, + resource, sizeof(resource)); + + if (!port) + port = IPP_PORT; /* Default to port 631 */ + + if (!strcmp(scheme, "https") || !strcmp(scheme, "ipps")) + cupsSetEncryption(HTTP_ENCRYPTION_ALWAYS); + else + cupsSetEncryption(HTTP_ENCRYPTION_IF_REQUESTED); + + /* + * See if there are any options... + */ + + compression = NULL; + version = 20; + waitjob = 1; + waitprinter = 1; + contimeout = 7 * 24 * 60 * 60; + + if ((optptr = strchr(resource, '?')) != NULL) + { + /* + * Yup, terminate the device name string and move to the first + * character of the optptr... + */ + + *optptr++ = '\0'; + + /* + * Then parse the optptr... + */ + + while (*optptr) + { + /* + * Get the name... + */ + + name = optptr; + + while (*optptr && *optptr != '=' && *optptr != '+' && *optptr != '&') + optptr ++; + + if ((sep = *optptr) != '\0') + *optptr++ = '\0'; + + if (sep == '=') + { + /* + * Get the value... + */ + + value = optptr; + + while (*optptr && *optptr != '+' && *optptr != '&') + optptr ++; + + if (*optptr) + *optptr++ = '\0'; + } + else + value = (char *)""; + + /* + * Process the option... + */ + + if (!_cups_strcasecmp(name, "waitjob")) + { + /* + * Wait for job completion? + */ + + waitjob = !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "true"); + } + else if (!_cups_strcasecmp(name, "waitprinter")) + { + /* + * Wait for printer idle? + */ + + waitprinter = !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "true"); + } + else if (!_cups_strcasecmp(name, "encryption")) + { + /* + * Enable/disable encryption? + */ + + if (!_cups_strcasecmp(value, "always")) + cupsSetEncryption(HTTP_ENCRYPTION_ALWAYS); + else if (!_cups_strcasecmp(value, "required")) + cupsSetEncryption(HTTP_ENCRYPTION_REQUIRED); + else if (!_cups_strcasecmp(value, "never")) + cupsSetEncryption(HTTP_ENCRYPTION_NEVER); + else if (!_cups_strcasecmp(value, "ifrequested")) + cupsSetEncryption(HTTP_ENCRYPTION_IF_REQUESTED); + else + { + _cupsLangPrintFilter(stderr, "ERROR", + _("Unknown encryption option value: \"%s\"."), + value); + } + } + else if (!_cups_strcasecmp(name, "snmp")) + { + /* + * Enable/disable SNMP stuff... + */ + + snmp_enabled = !value[0] || !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "true"); + } + else if (!_cups_strcasecmp(name, "version")) + { + if (!strcmp(value, "1.0")) + version = 10; + else if (!strcmp(value, "1.1")) + version = 11; + else if (!strcmp(value, "2.0")) + version = 20; + else if (!strcmp(value, "2.1")) + version = 21; + else if (!strcmp(value, "2.2")) + version = 22; + else + { + _cupsLangPrintFilter(stderr, "ERROR", + _("Unknown version option value: \"%s\"."), + value); + } + } +#ifdef HAVE_LIBZ + else if (!_cups_strcasecmp(name, "compression")) + { + if (!_cups_strcasecmp(value, "true") || !_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "on") || !_cups_strcasecmp(value, "gzip")) + compression = "gzip"; + else if (!_cups_strcasecmp(value, "deflate")) + compression = "deflate"; + else if (!_cups_strcasecmp(value, "false") || + !_cups_strcasecmp(value, "no") || + !_cups_strcasecmp(value, "off") || + !_cups_strcasecmp(value, "none")) + compression = "none"; + } +#endif /* HAVE_LIBZ */ + else if (!_cups_strcasecmp(name, "contimeout")) + { + /* + * Set the connection timeout... + */ + + if (atoi(value) > 0) + contimeout = atoi(value); + } + else + { + /* + * Unknown option... + */ + + _cupsLangPrintFilter(stderr, "ERROR", + _("Unknown option \"%s\" with value \"%s\"."), + name, value); + } + } + } + + /* + * If we have 7 arguments, print the file named on the command-line. + * Otherwise, copy stdin to a temporary file and print the temporary + * file. + */ + + if (argc == 6) + { + num_files = 0; + files = NULL; + send_options = !_cups_strcasecmp(final_content_type, "application/pdf") || + !_cups_strcasecmp(final_content_type, "application/vnd.cups-pdf") || + !_cups_strncasecmp(final_content_type, "image/", 6); + + fputs("DEBUG: Sending stdin for job...\n", stderr); + } + else + { + /* + * Point to the files on the command-line... + */ + + num_files = argc - 6; + files = argv + 6; + send_options = 1; + + fprintf(stderr, "DEBUG: %d files to send in job...\n", num_files); + } + + /* + * Set the authentication info, if any... + */ + + cupsSetPasswordCB2((cups_password_cb2_t)password_cb, &password_tries); + + if (username[0]) + { + /* + * Use authentication information in the device URI... + */ + + if ((password = strchr(username, ':')) != NULL) + *password++ = '\0'; + + cupsSetUser(username); + uri_credentials = 1; + } + else + { + /* + * Try loading authentication information from the environment. + */ + + const char *ptr = getenv("AUTH_USERNAME"); + + if (ptr) + { + strlcpy(username, ptr, sizeof(username)); + cupsSetUser(ptr); + } + + password = getenv("AUTH_PASSWORD"); + } + + /* + * Try finding the remote server... + */ + + start_time = time(NULL); + + addrlist = backendLookup(hostname, port, &job_canceled); + + http = httpConnect2(hostname, port, addrlist, AF_UNSPEC, cupsEncryption(), 1, + 0, NULL); + httpSetTimeout(http, 30.0, timeout_cb, NULL); + + /* + * See if the printer supports SNMP... + */ + + if (snmp_enabled) + snmp_fd = _cupsSNMPOpen(addrlist->addr.addr.sa_family); + else + snmp_fd = -1; + + if (snmp_fd >= 0) + have_supplies = !backendSNMPSupplies(snmp_fd, &(addrlist->addr), + &start_count, NULL); + else + have_supplies = start_count = 0; + + /* + * Wait for data from the filter... + */ + + if (num_files == 0) + { + if (!backendWaitLoop(snmp_fd, &(addrlist->addr), 0, backendNetworkSideCB)) + return (CUPS_BACKEND_OK); + else if ((bytes = read(0, buffer, sizeof(buffer))) <= 0) + return (CUPS_BACKEND_OK); + } + + /* + * Try connecting to the remote server... + */ + + delay = _cupsNextDelay(0, &prev_delay); + + do + { + fprintf(stderr, "DEBUG: Connecting to %s:%d\n", hostname, port); + _cupsLangPrintFilter(stderr, "INFO", _("Connecting to printer.")); + + if (httpReconnect2(http, 30000, NULL)) + { + int error = errno; /* Connection error */ + + if (http->status == HTTP_STATUS_CUPS_PKI_ERROR) + update_reasons(NULL, "+cups-certificate-error"); + + if (job_canceled) + break; + + if (getenv("CLASS") != NULL) + { + /* + * If the CLASS environment variable is set, the job was submitted + * to a class and not to a specific queue. In this case, we want + * to abort immediately so that the job can be requeued on the next + * available printer in the class. + */ + + _cupsLangPrintFilter(stderr, "INFO", + _("Unable to contact printer, queuing on next " + "printer in class.")); + + /* + * Sleep 5 seconds to keep the job from requeuing too rapidly... + */ + + sleep(5); + + update_reasons(NULL, "-connecting-to-device"); + + return (CUPS_BACKEND_FAILED); + } + + fprintf(stderr, "DEBUG: Connection error: %s\n", strerror(errno)); + + if (errno == ECONNREFUSED || errno == EHOSTDOWN || errno == EHOSTUNREACH || errno == ETIMEDOUT || errno == ENOTCONN) + { + if (contimeout && (time(NULL) - start_time) > contimeout) + { + _cupsLangPrintFilter(stderr, "ERROR", + _("The printer is not responding.")); + update_reasons(NULL, "-connecting-to-device"); + return (CUPS_BACKEND_FAILED); + } + + switch (error) + { + case EHOSTDOWN : + _cupsLangPrintFilter(stderr, "WARNING", + _("The printer may not exist or " + "is unavailable at this time.")); + break; + + case EHOSTUNREACH : + default : + _cupsLangPrintFilter(stderr, "WARNING", + _("The printer is unreachable at this " + "time.")); + break; + + case ECONNREFUSED : + _cupsLangPrintFilter(stderr, "WARNING", + _("The printer is in use.")); + break; + } + + sleep((unsigned)delay); + + delay = _cupsNextDelay(delay, &prev_delay); + } + else + { + _cupsLangPrintFilter(stderr, "ERROR", + _("The printer is not responding.")); + sleep(30); + } + + if (job_canceled) + break; + } + else + update_reasons(NULL, "-cups-certificate-error"); + } + while (http->fd < 0); + + if (job_canceled) + return (CUPS_BACKEND_OK); + else if (!http) + return (CUPS_BACKEND_FAILED); + + if (httpIsEncrypted(http)) + { + /* + * Validate TLS credentials... + */ + + cups_array_t *creds; /* TLS credentials */ + cups_array_t *lcreds = NULL; /* Loaded credentials */ + http_trust_t trust; /* Trust level */ + char credinfo[1024], /* Information on credentials */ + lcredinfo[1024];/* Information on saved credentials */ + static const char * const trusts[] = { NULL, "+cups-pki-invalid", "+cups-pki-changed", "+cups-pki-expired", NULL, "+cups-pki-unknown" }; + /* Trust keywords */ + static const char * const trust_msgs[] = + { + "Credentials are OK/trusted", + "Credentials are invalid", + "Credentials have changed", + "Credentials are expired", + "Credentials have been renewed", + "Credentials are unknown/new" + }; + + fputs("DEBUG: Connection is encrypted.\n", stderr); + + if (!httpCopyCredentials(http, &creds)) + { + trust = httpCredentialsGetTrust(creds, hostname); + httpCredentialsString(creds, credinfo, sizeof(credinfo)); + + fprintf(stderr, "DEBUG: %s (%s)\n", trust_msgs[trust], cupsLastErrorString()); + fprintf(stderr, "DEBUG: Printer credentials: %s\n", credinfo); + + if (!httpLoadCredentials(NULL, &lcreds, hostname)) + { + httpCredentialsString(lcreds, lcredinfo, sizeof(lcredinfo)); + fprintf(stderr, "DEBUG: Stored credentials: %s\n", lcredinfo); + } + else + fputs("DEBUG: No stored credentials.\n", stderr); + + update_reasons(NULL, "-cups-pki-invalid,cups-pki-changed,cups-pki-expired,cups-pki-unknown"); + if (trusts[trust]) + { + update_reasons(NULL, trusts[trust]); + return (CUPS_BACKEND_STOP); + } + + if (!lcreds) + { + /* + * Could not load the credentials, let's save the ones we have so we + * can detect changes... + */ + + httpSaveCredentials(NULL, creds, hostname); + } + + httpFreeCredentials(lcreds); + httpFreeCredentials(creds); + } + else + { + fputs("DEBUG: No printer credentials.\n", stderr); + + update_reasons(NULL, "cups-pki-unknown"); + return (CUPS_BACKEND_STOP); + } + } + + update_reasons(NULL, "-connecting-to-device"); + _cupsLangPrintFilter(stderr, "INFO", _("Connected to printer.")); + + fprintf(stderr, "DEBUG: Connected to %s:%d...\n", + httpAddrString(http->hostaddr, addrname, sizeof(addrname)), + httpAddrPort(http->hostaddr)); + + /* + * Build a URI for the printer and fill the standard IPP attributes for + * an IPP_PRINT_FILE request. We can't use the URI in argv[0] because it + * might contain username:password information... + */ + + httpAssembleURI(HTTP_URI_CODING_ALL, uri, sizeof(uri), scheme, NULL, hostname, + port, resource); + + /* + * First validate the destination and see if the device supports multiple + * copies... + */ + +#ifdef HAVE_LIBZ + compression_sup = NULL; +#endif /* HAVE_LIBZ */ + copies_sup = NULL; + cups_version = NULL; + encryption_sup = NULL; + format_sup = NULL; + media_col_sup = NULL; + supported = NULL; + operations_sup = NULL; + doc_handling_sup = NULL; + print_color_mode_sup = NULL; + + do + { + /* + * Check for side-channel requests... + */ + + backendCheckSideChannel(snmp_fd, http->hostaddr); + + /* + * Build the IPP request... + */ + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippSetVersion(request, version / 10, version % 10); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", sizeof(pattrs) / sizeof(pattrs[0]), + NULL, pattrs); + + /* + * Do the request... + */ + + fputs("DEBUG: Getting supported attributes...\n", stderr); + + if (http->version < HTTP_VERSION_1_1) + { + fprintf(stderr, "DEBUG: Printer responded with HTTP version %d.%d.\n", + http->version / 100, http->version % 100); + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-wrong-http-version"); + } + + supported = cupsDoRequest(http, request, resource); + ipp_status = cupsLastError(); + + fprintf(stderr, "DEBUG: Get-Printer-Attributes: %s (%s)\n", + ippErrorString(ipp_status), cupsLastErrorString()); + + if (ipp_status <= IPP_STATUS_OK_CONFLICTING) + password_tries = 0; + else + { + fprintf(stderr, "DEBUG: Get-Printer-Attributes returned %s.\n", + ippErrorString(ipp_status)); + + if (ipp_status == IPP_STATUS_ERROR_BUSY || + ipp_status == IPP_STATUS_ERROR_SERVICE_UNAVAILABLE) + { + if (contimeout && (time(NULL) - start_time) > contimeout) + { + _cupsLangPrintFilter(stderr, "ERROR", + _("The printer is not responding.")); + return (CUPS_BACKEND_FAILED); + } + + _cupsLangPrintFilter(stderr, "INFO", _("The printer is in use.")); + + report_printer_state(supported); + + sleep((unsigned)delay); + + delay = _cupsNextDelay(delay, &prev_delay); + } + else if ((ipp_status == IPP_STATUS_ERROR_BAD_REQUEST || + ipp_status == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) && version > 10) + { + /* + * Switch to IPP/1.1 or IPP/1.0... + */ + + if (version >= 20) + { + _cupsLangPrintFilter(stderr, "INFO", _("Preparing to print.")); + fprintf(stderr, + "DEBUG: The printer does not support IPP/%d.%d, trying " + "IPP/1.1.\n", version / 10, version % 10); + version = 11; + } + else + { + _cupsLangPrintFilter(stderr, "INFO", _("Preparing to print.")); + fprintf(stderr, + "DEBUG: The printer does not support IPP/%d.%d, trying " + "IPP/1.0.\n", version / 10, version % 10); + version = 10; + } + + httpReconnect2(http, 30000, NULL); + } + else if (ipp_status == IPP_STATUS_ERROR_NOT_FOUND) + { + _cupsLangPrintFilter(stderr, "ERROR", + _("The printer configuration is incorrect or the " + "printer no longer exists.")); + + ippDelete(supported); + + return (CUPS_BACKEND_STOP); + } + else if (ipp_status == IPP_STATUS_ERROR_FORBIDDEN || + ipp_status == IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED) + { + const char *www_auth = httpGetField(http, HTTP_FIELD_WWW_AUTHENTICATE); + /* WWW-Authenticate field value */ + + if (!strncmp(www_auth, "Negotiate", 9)) + auth_info_required = "negotiate"; + else if (www_auth[0]) + auth_info_required = "username,password"; + + fprintf(stderr, "ATTR: auth-info-required=%s\n", auth_info_required); + return (CUPS_BACKEND_AUTH_REQUIRED); + } + else if (ipp_status != IPP_STATUS_ERROR_NOT_AUTHORIZED) + { + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to get printer status.")); + sleep(10); + + httpReconnect2(http, 30000, NULL); + } + + ippDelete(supported); + supported = NULL; + continue; + } + + if (!getenv("CLASS")) + { + /* + * Check printer-is-accepting-jobs = false and printer-state-reasons for the + * "spool-area-full" keyword... + */ + + int busy = 0; + + if ((printer_accepting = ippFindAttribute(supported, + "printer-is-accepting-jobs", + IPP_TAG_BOOLEAN)) != NULL && + !printer_accepting->values[0].boolean) + busy = 1; + else if (!printer_accepting) + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-printer-is-accepting-jobs"); + + if ((printer_state = ippFindAttribute(supported, + "printer-state-reasons", + IPP_TAG_KEYWORD)) == NULL) + { + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-printer-state-reasons"); + } + else if (!busy) + { + for (i = 0; i < printer_state->num_values; i ++) + { + if (!strcmp(printer_state->values[0].string.text, + "spool-area-full") || + !strncmp(printer_state->values[0].string.text, "spool-area-full-", + 16)) + { + busy = 1; + break; + } + } + } + + if (busy) + { + _cupsLangPrintFilter(stderr, "INFO", _("The printer is in use.")); + + report_printer_state(supported); + + sleep((unsigned)delay); + + delay = _cupsNextDelay(delay, &prev_delay); + + ippDelete(supported); + supported = NULL; + ipp_status = IPP_STATUS_ERROR_BUSY; + continue; + } + } + + /* + * Check for supported attributes... + */ + +#ifdef HAVE_LIBZ + if ((compression_sup = ippFindAttribute(supported, "compression-supported", + IPP_TAG_KEYWORD)) != NULL) + { + /* + * Check whether the requested compression is supported and/or default to + * compression if supported... + */ + + if (compression && !ippContainsString(compression_sup, compression)) + { + fprintf(stderr, "DEBUG: Printer does not support the requested " + "compression value \"%s\".\n", compression); + compression = NULL; + } + else if (!compression && (!strcmp(final_content_type, "image/pwg-raster") || !strcmp(final_content_type, "image/urf"))) + { + if (ippContainsString(compression_sup, "gzip")) + compression = "gzip"; + else if (ippContainsString(compression_sup, "deflate")) + compression = "deflate"; + + if (compression) + fprintf(stderr, "DEBUG: Automatically using \"%s\" compression.\n", + compression); + } + } +#endif /* HAVE_LIBZ */ + + if ((copies_sup = ippFindAttribute(supported, "copies-supported", + IPP_TAG_RANGE)) != NULL) + { + /* + * Has the "copies-supported" attribute - does it have an upper + * bound > 1? + */ + + fprintf(stderr, "DEBUG: copies-supported=%d-%d\n", + copies_sup->values[0].range.lower, + copies_sup->values[0].range.upper); + + if (copies_sup->values[0].range.upper <= 1) + copies_sup = NULL; /* No */ + } + + if ((cups_version = ippFindAttribute(supported, "cups-version", IPP_TAG_TEXT)) != NULL) + { + const char *val = ippGetString(cups_version, 0, NULL); + + fprintf(stderr, "DEBUG: cups-version = \"%s\"\n", val); + if (!strcmp(val, "cups-version")) + cups_version = NULL; /* Bogus cups-version value returned by buggy printers! */ + } + + encryption_sup = ippFindAttribute(supported, "job-password-encryption-supported", IPP_TAG_KEYWORD); + + if ((format_sup = ippFindAttribute(supported, "document-format-supported", + IPP_TAG_MIMETYPE)) != NULL) + { + fprintf(stderr, "DEBUG: document-format-supported (%d values)\n", + format_sup->num_values); + for (i = 0; i < format_sup->num_values; i ++) + fprintf(stderr, "DEBUG: [%d] = \"%s\"\n", i, + format_sup->values[i].string.text); + } + + if ((media_col_sup = ippFindAttribute(supported, "media-col-supported", + IPP_TAG_KEYWORD)) != NULL) + { + fprintf(stderr, "DEBUG: media-col-supported (%d values)\n", + media_col_sup->num_values); + for (i = 0; i < media_col_sup->num_values; i ++) + fprintf(stderr, "DEBUG: [%d] = \"%s\"\n", i, + media_col_sup->values[i].string.text); + } + + print_color_mode_sup = ippFindAttribute(supported, "print-color-mode-supported", IPP_TAG_KEYWORD); + + if ((operations_sup = ippFindAttribute(supported, "operations-supported", + IPP_TAG_ENUM)) != NULL) + { + fprintf(stderr, "DEBUG: operations-supported (%d values)\n", + operations_sup->num_values); + for (i = 0; i < operations_sup->num_values; i ++) + fprintf(stderr, "DEBUG: [%d] = %s\n", i, + ippOpString(operations_sup->values[i].integer)); + + for (i = 0; i < operations_sup->num_values; i ++) + if (operations_sup->values[i].integer == IPP_OP_PRINT_JOB) + break; + + if (i >= operations_sup->num_values) + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-print-job"); + + for (i = 0; i < operations_sup->num_values; i ++) + if (operations_sup->values[i].integer == IPP_OP_CANCEL_JOB) + break; + + if (i >= operations_sup->num_values) + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-cancel-job"); + + for (i = 0; i < operations_sup->num_values; i ++) + if (operations_sup->values[i].integer == IPP_OP_GET_JOB_ATTRIBUTES) + break; + + if (i >= operations_sup->num_values) + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-get-job-attributes"); + + for (i = 0; i < operations_sup->num_values; i ++) + if (operations_sup->values[i].integer == IPP_OP_GET_PRINTER_ATTRIBUTES) + break; + + if (i >= operations_sup->num_values) + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-get-printer-attributes"); + + for (i = 0; i < operations_sup->num_values; i ++) + { + if (operations_sup->values[i].integer == IPP_OP_VALIDATE_JOB) + validate_job = 1; + else if (operations_sup->values[i].integer == IPP_OP_CREATE_JOB) + create_job = 1; + else if (operations_sup->values[i].integer == IPP_OP_SEND_DOCUMENT) + send_document = 1; + else if (operations_sup->values[i].integer == IPP_OP_GET_JOB_ATTRIBUTES) + get_job_attrs = 1; + } + + if (create_job && !send_document) + { + fputs("DEBUG: Printer supports Create-Job but not Send-Document.\n", + stderr); + create_job = 0; + + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-send-document"); + } + + if (!validate_job) + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-validate-job"); + } + else + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-operations-supported"); + + doc_handling_sup = ippFindAttribute(supported, + "multiple-document-handling-supported", + IPP_TAG_KEYWORD); + + report_printer_state(supported); + } + while (!job_canceled && ipp_status > IPP_STATUS_OK_CONFLICTING); + + if (job_canceled) + return (CUPS_BACKEND_OK); + + /* + * See if the printer is accepting jobs and is not stopped; if either + * condition is true and we are printing to a class, requeue the job... + */ + + if (getenv("CLASS") != NULL) + { + printer_state = ippFindAttribute(supported, "printer-state", + IPP_TAG_ENUM); + printer_accepting = ippFindAttribute(supported, "printer-is-accepting-jobs", + IPP_TAG_BOOLEAN); + + if (printer_state == NULL || + (printer_state->values[0].integer > IPP_PSTATE_PROCESSING && + waitprinter) || + printer_accepting == NULL || + !printer_accepting->values[0].boolean) + { + /* + * If the CLASS environment variable is set, the job was submitted + * to a class and not to a specific queue. In this case, we want + * to abort immediately so that the job can be requeued on the next + * available printer in the class. + */ + + _cupsLangPrintFilter(stderr, "INFO", + _("Unable to contact printer, queuing on next " + "printer in class.")); + + ippDelete(supported); + httpClose(http); + + /* + * Sleep 5 seconds to keep the job from requeuing too rapidly... + */ + + sleep(5); + + return (CUPS_BACKEND_FAILED); + } + } + + /* + * See if the printer supports multiple copies... + */ + + copies = atoi(argv[4]); + + if (copies_sup || argc < 7) + copies_remaining = 1; + else + copies_remaining = copies; + + /* + * Prepare remaining printing options... + */ + + options = NULL; + + if (send_options) + { + num_options = cupsParseOptions(argv[5], 0, &options); + + if (!cups_version && media_col_sup) + { + /* + * Load the PPD file and generate PWG attribute mapping information... + */ + + ppd_attr_t *mandatory; /* cupsMandatory value */ + + ppd = ppdOpenFile(getenv("PPD")); + pc = _ppdCacheCreateWithPPD(ppd); + + ppdMarkDefaults(ppd); + cupsMarkOptions(ppd, num_options, options); + + if ((mandatory = ppdFindAttr(ppd, "cupsMandatory", NULL)) != NULL) + strlcpy(mandatory_attrs, mandatory->value, sizeof(mandatory_attrs)); + } + + /* + * Validate job-password/-encryption... + */ + + if (cupsGetOption("job-password", num_options, options)) + { + const char *keyword; /* job-password-encryption value */ + static const char * const hashes[] = + { /* List of supported hash algorithms, in order of preference */ + "sha-512", + "sha-384", + "sha-512_256", + "sha-512-224", + "sha-256", + "sha-224", + "sha", + "none" + }; + + if ((keyword = cupsGetOption("job-password-encryption", num_options, options)) == NULL || !ippContainsString(encryption_sup, keyword)) + { + /* + * Either no job-password-encryption or the value isn't supported by + * the printer... + */ + + for (i = 0; i < (int)(sizeof(hashes) / sizeof(hashes[0])); i ++) + if (ippContainsString(encryption_sup, hashes[i])) + break; + + if (i < (int)(sizeof(hashes) / sizeof(hashes[0]))) + num_options = cupsAddOption("job-password-encryption", hashes[i], num_options, &options); + } + } + } + else + num_options = 0; + + document_format = NULL; + + if (format_sup != NULL) + { + if (ippContainsString(format_sup, final_content_type)) + document_format = final_content_type; + else if (ippContainsString(format_sup, "application/octet-stream")) + document_format = "application/octet-stream"; + } + + fprintf(stderr, "DEBUG: final_content_type=\"%s\", document_format=\"%s\"\n", + final_content_type, document_format ? document_format : "(null)"); + + /* + * If the printer does not support HTTP/1.1 (which IPP requires), copy stdin + * to a temporary file so that we can do a HTTP/1.0 submission... + * + * (I hate compatibility hacks!) + */ + + if (http->version < HTTP_VERSION_1_1 && num_files == 0) + { + if ((fd = cupsTempFd(tmpfilename, sizeof(tmpfilename))) < 0) + { + perror("DEBUG: Unable to create temporary file"); + return (CUPS_BACKEND_FAILED); + } + + _cupsLangPrintFilter(stderr, "INFO", _("Copying print data.")); + + if ((compatsize = write(fd, buffer, (size_t)bytes)) < 0) + { + perror("DEBUG: Unable to write temporary file"); + return (CUPS_BACKEND_FAILED); + } + + if ((bytes = backendRunLoop(-1, fd, snmp_fd, &(addrlist->addr), 0, 0, + backendNetworkSideCB)) < 0) + return (CUPS_BACKEND_FAILED); + + compatsize += bytes; + + close(fd); + + compatfile = tmpfilename; + files = &compatfile; + num_files = 1; + } + else if (http->version < HTTP_VERSION_1_1 && num_files == 1) + { + struct stat fileinfo; /* File information */ + + if (!stat(files[0], &fileinfo)) + compatsize = fileinfo.st_size; + } + + /* + * If the printer only claims to support IPP/1.0, or if the user specifically + * included version=1.0 in the URI, then do not try to use Create-Job or + * Send-Document. This is another dreaded compatibility hack, but + * unfortunately there are enough broken printers out there that we need + * this for now... + */ + + if (version == 10) + create_job = send_document = 0; + + /* + * Start monitoring the printer in the background... + */ + + monitor.uri = uri; + monitor.hostname = hostname; + monitor.user = argv[2]; + monitor.resource = resource; + monitor.port = port; + monitor.version = version; + monitor.job_id = 0; + monitor.create_job = create_job; + monitor.get_job_attrs = get_job_attrs; + monitor.encryption = cupsEncryption(); + monitor.job_state = IPP_JSTATE_PENDING; + monitor.printer_state = IPP_PSTATE_IDLE; + monitor.retryable = argc == 6 && document_format && strcmp(document_format, "image/pwg-raster") && strcmp(document_format, "image/urf"); + + fprintf(stderr, "DEBUG: retryable=%d\n", monitor.retryable); + + if (create_job) + { + monitor.job_name = argv[3]; + } + else + { + snprintf(print_job_name, sizeof(print_job_name), "%s - %s", argv[1], + argv[3]); + monitor.job_name = print_job_name; + } + + _cupsThreadCreate((_cups_thread_func_t)monitor_printer, &monitor); + + /* + * Validate access to the printer... + */ + + while (!job_canceled && validate_job) + { + request = new_request(IPP_OP_VALIDATE_JOB, version, uri, argv[2], + monitor.job_name, num_options, options, compression, + copies_sup ? copies : 1, document_format, pc, ppd, + media_col_sup, doc_handling_sup, print_color_mode_sup); + + response = cupsDoRequest(http, request, resource); + + ipp_status = cupsLastError(); + + fprintf(stderr, "DEBUG: Validate-Job: %s (%s)\n", + ippErrorString(ipp_status), cupsLastErrorString()); + debug_attributes(response); + + if ((job_auth = ippFindAttribute(response, "job-authorization-uri", + IPP_TAG_URI)) != NULL) + num_options = cupsAddOption("job-authorization-uri", + ippGetString(job_auth, 0, NULL), num_options, + &options); + + if (ipp_status == IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED || ipp_status == IPP_STATUS_OK_CONFLICTING) + { + /* + * One or more options are not supported... + */ + + ipp_attribute_t *attr; /* Unsupported attribute */ + + if ((attr = ippFindAttribute(response, "sides", IPP_TAG_ZERO)) != NULL) + { + /* + * The sides value is not supported, revert to one-sided as needed... + */ + + const char *sides = cupsGetOption("sides", num_options, options); + + if (!sides || !strncmp(sides, "two-sided-", 10)) + { + fputs("DEBUG: Unable to do two-sided printing, setting sides to 'one-sided'.\n", stderr); + num_options = cupsAddOption("sides", "one-sided", num_options, &options); + } + } + } + + ippDelete(response); + + if (job_canceled) + break; + + if (ipp_status == IPP_STATUS_ERROR_SERVICE_UNAVAILABLE || + ipp_status == IPP_STATUS_ERROR_BUSY) + { + _cupsLangPrintFilter(stderr, "INFO", _("The printer is in use.")); + sleep(10); + } + else if (ipp_status == IPP_STATUS_ERROR_DOCUMENT_FORMAT_NOT_SUPPORTED || + ipp_status == IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_INFO_NEEDED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_CLOSED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_LIMIT_REACHED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_AUTHORIZATION_FAILED) + goto cleanup; + else if (ipp_status == IPP_STATUS_ERROR_FORBIDDEN || + ipp_status == IPP_STATUS_ERROR_NOT_AUTHORIZED || + ipp_status == IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED) + { + const char *www_auth = httpGetField(http, HTTP_FIELD_WWW_AUTHENTICATE); + /* WWW-Authenticate field value */ + + if (!strncmp(www_auth, "Negotiate", 9)) + auth_info_required = "negotiate"; + else if (www_auth[0]) + auth_info_required = "username,password"; + + goto cleanup; + } + else if (ipp_status == IPP_STATUS_ERROR_OPERATION_NOT_SUPPORTED) + { + /* + * This is all too common... + */ + + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-validate-job"); + break; + } + else if (ipp_status < IPP_STATUS_REDIRECTION_OTHER_SITE || + ipp_status == IPP_STATUS_ERROR_BAD_REQUEST) + break; + else if (job_auth == NULL && ipp_status > IPP_STATUS_ERROR_BAD_REQUEST) + goto cleanup; + } + + /* + * Then issue the print-job request... + */ + + job_id = 0; + + while (!job_canceled && copies_remaining > 0) + { + /* + * Check for side-channel requests... + */ + + backendCheckSideChannel(snmp_fd, http->hostaddr); + + /* + * Build the IPP job creation request... + */ + + if (job_canceled) + break; + + request = new_request((num_files > 1 || create_job) ? IPP_OP_CREATE_JOB : + IPP_OP_PRINT_JOB, + version, uri, argv[2], monitor.job_name, num_options, + options, compression, copies_sup ? copies : 1, + document_format, pc, ppd, media_col_sup, + doc_handling_sup, print_color_mode_sup); + + /* + * Do the request... + */ + + if (num_files > 1 || create_job) + response = cupsDoRequest(http, request, resource); + else + { + size_t length = 0; /* Length of request */ + + if (compatsize > 0) + { + fputs("DEBUG: Sending file using HTTP/1.0 Content-Length...\n", stderr); + length = ippLength(request) + (size_t)compatsize; + } + else + fputs("DEBUG: Sending file using HTTP/1.1 chunking...\n", stderr); + + http_status = cupsSendRequest(http, request, resource, length); + if (http_status == HTTP_STATUS_CONTINUE && request->state == IPP_STATE_DATA) + { + if (compression && strcmp(compression, "none")) + httpSetField(http, HTTP_FIELD_CONTENT_ENCODING, compression); + + if (num_files == 1) + { + if ((fd = open(files[0], O_RDONLY)) < 0) + { + _cupsLangPrintError("ERROR", _("Unable to open print file")); + return (CUPS_BACKEND_FAILED); + } + } + else + { + fd = 0; + http_status = cupsWriteRequestData(http, buffer, (size_t)bytes); + } + + while (http_status == HTTP_STATUS_CONTINUE && + (!job_canceled || compatsize > 0)) + { + /* + * Check for side-channel requests and more print data... + */ + + FD_ZERO(&input); + FD_SET(fd, &input); + FD_SET(snmp_fd, &input); + FD_SET(CUPS_SC_FD, &input); + + while (select(fd > snmp_fd ? fd + 1 : snmp_fd + 1, &input, NULL, NULL, + NULL) <= 0 && !job_canceled); + + if (FD_ISSET(snmp_fd, &input)) + backendCheckSideChannel(snmp_fd, http->hostaddr); + + if (FD_ISSET(fd, &input)) + { + if ((bytes = read(fd, buffer, sizeof(buffer))) > 0) + { + fprintf(stderr, "DEBUG: Read %d bytes...\n", (int)bytes); + + if ((http_status = cupsWriteRequestData(http, buffer, (size_t)bytes)) + != HTTP_STATUS_CONTINUE) + break; + } + else if (bytes == 0 || (errno != EINTR && errno != EAGAIN)) + break; + } + } + + if (http_status == HTTP_STATUS_ERROR) + fprintf(stderr, "DEBUG: Error writing document data for " + "Print-Job: %s\n", strerror(httpError(http))); + + if (num_files == 1) + close(fd); + } + + response = cupsGetResponse(http, resource); + ippDelete(request); + } + + ipp_status = cupsLastError(); + + fprintf(stderr, "DEBUG: %s: %s (%s)\n", + (num_files > 1 || create_job) ? "Create-Job" : "Print-Job", + ippErrorString(ipp_status), cupsLastErrorString()); + debug_attributes(response); + + if (ipp_status > IPP_STATUS_OK_CONFLICTING) + { + job_id = 0; + + if (job_canceled) + break; + + if (ipp_status == IPP_STATUS_ERROR_SERVICE_UNAVAILABLE || + ipp_status == IPP_STATUS_ERROR_NOT_POSSIBLE || + ipp_status == IPP_STATUS_ERROR_BUSY) + { + _cupsLangPrintFilter(stderr, "INFO", _("The printer is in use.")); + sleep(10); + + if (num_files == 0) + { + /* + * We can't re-submit when we have no files to print, so exit + * immediately with the right status code... + */ + + goto cleanup; + } + } + else if (ipp_status == IPP_STATUS_ERROR_JOB_CANCELED || + ipp_status == IPP_STATUS_ERROR_NOT_AUTHORIZED || + ipp_status == IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_INFO_NEEDED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_CLOSED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_LIMIT_REACHED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_AUTHORIZATION_FAILED) + goto cleanup; + else + { + /* + * Update auth-info-required as needed... + */ + + _cupsLangPrintFilter(stderr, "ERROR", + _("Print job was not accepted.")); + + if (ipp_status == IPP_STATUS_ERROR_FORBIDDEN || + ipp_status == IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED) + { + const char *www_auth = httpGetField(http, HTTP_FIELD_WWW_AUTHENTICATE); + /* WWW-Authenticate field value */ + + if (!strncmp(www_auth, "Negotiate", 9)) + auth_info_required = "negotiate"; + else if (www_auth[0]) + auth_info_required = "username,password"; + } + else if (ipp_status == IPP_STATUS_ERROR_REQUEST_VALUE) + { + /* + * Print file is too large, abort this job... + */ + + goto cleanup; + } + else + sleep(10); + + if (num_files == 0) + { + /* + * We can't re-submit when we have no files to print, so exit + * immediately with the right status code... + */ + + goto cleanup; + } + } + } + else if ((job_id_attr = ippFindAttribute(response, "job-id", + IPP_TAG_INTEGER)) == NULL) + { + fputs("DEBUG: Print job accepted - job ID unknown.\n", stderr); + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-job-id"); + job_id = 0; + } + else + { + password_tries = 0; + monitor.job_id = job_id = job_id_attr->values[0].integer; + fprintf(stderr, "DEBUG: Print job accepted - job ID %d.\n", job_id); + } + + ippDelete(response); + + if (job_canceled) + break; + + if (job_id && (num_files > 1 || create_job)) + { + for (i = 0; num_files == 0 || i < num_files; i ++) + { + /* + * Check for side-channel requests... + */ + + backendCheckSideChannel(snmp_fd, http->hostaddr); + + /* + * Send the next file in the job... + */ + + request = ippNewRequest(IPP_OP_SEND_DOCUMENT); + ippSetVersion(request, version / 10, version % 10); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", + job_id); + + if (argv[2][0]) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, argv[2]); + + ippAddBoolean(request, IPP_TAG_OPERATION, "last-document", + (i + 1) >= num_files); + + if (document_format) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, + "document-format", NULL, document_format); + + if (compression) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "compression", NULL, compression); + + fprintf(stderr, "DEBUG: Sending file %d using chunking...\n", i + 1); + fprintf(stderr, "DEBUG: IPP/%d.%d %s #%d\n", version / 10, version % 10, ippOpString(ippGetOperation(request)), ippGetRequestId(request)); + debug_attributes(request); + + http_status = cupsSendRequest(http, request, resource, 0); + if (http_status == HTTP_STATUS_CONTINUE && request->state == IPP_STATE_DATA) + { + if (compression && strcmp(compression, "none")) + httpSetField(http, HTTP_FIELD_CONTENT_ENCODING, compression); + + if (num_files == 0) + { + fd = 0; + http_status = cupsWriteRequestData(http, buffer, (size_t)bytes); + } + else + { + if ((fd = open(files[i], O_RDONLY)) < 0) + { + _cupsLangPrintError("ERROR", _("Unable to open print file")); + return (CUPS_BACKEND_FAILED); + } + } + } + else + fd = -1; + + if (fd >= 0) + { + while (!job_canceled && http_status == HTTP_STATUS_CONTINUE && + (bytes = read(fd, buffer, sizeof(buffer))) > 0) + { + if ((http_status = cupsWriteRequestData(http, buffer, (size_t)bytes)) + != HTTP_STATUS_CONTINUE) + break; + else + { + /* + * Check for side-channel requests... + */ + + backendCheckSideChannel(snmp_fd, http->hostaddr); + } + } + + if (fd > 0) + close(fd); + } + + if (http_status == HTTP_STATUS_ERROR) + fprintf(stderr, "DEBUG: Error writing document data for " + "Send-Document: %s\n", strerror(httpError(http))); + + response = cupsGetResponse(http, resource); + ippDelete(request); + + fprintf(stderr, "DEBUG: Send-Document: %s (%s)\n", ippErrorString(cupsLastError()), cupsLastErrorString()); + debug_attributes(response); + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING && !job_canceled) + { + ipp_attribute_t *reasons = ippFindAttribute(response, "job-state-reasons", IPP_TAG_KEYWORD); + /* job-state-reasons values */ + + ipp_status = cupsLastError(); + + if (ippContainsString(reasons, "document-format-error")) + ipp_status = IPP_STATUS_ERROR_DOCUMENT_FORMAT_ERROR; + else if (ippContainsString(reasons, "document-unprintable")) + ipp_status = IPP_STATUS_ERROR_DOCUMENT_UNPRINTABLE; + + ippDelete(response); + _cupsLangPrintFilter(stderr, "ERROR", _("Unable to add document to print job.")); + break; + } + else + { + ippDelete(response); + + password_tries = 0; + + if (num_files == 0 || fd < 0) + break; + } + } + } + + if (job_canceled) + break; + + if (ipp_status <= IPP_STATUS_OK_CONFLICTING && argc > 6) + { + fprintf(stderr, "PAGE: 1 %d\n", copies_sup ? atoi(argv[4]) : 1); + copies_remaining --; + } + else if ((ipp_status == IPP_STATUS_ERROR_DOCUMENT_FORMAT_NOT_SUPPORTED || ipp_status == IPP_STATUS_ERROR_DOCUMENT_FORMAT_ERROR || ipp_status == IPP_STATUS_ERROR_DOCUMENT_UNPRINTABLE) && + argc == 6 && + document_format && strcmp(document_format, "image/pwg-raster") && strcmp(document_format, "image/urf")) + { + /* + * Need to reprocess the job as raster... + */ + + fputs("JOBSTATE: cups-retry-as-raster\n", stderr); + if (job_id > 0) + cancel_job(http, uri, job_id, resource, argv[2], version); + + goto cleanup; + } + else if (ipp_status == IPP_STATUS_ERROR_SERVICE_UNAVAILABLE || + ipp_status == IPP_STATUS_ERROR_NOT_POSSIBLE || + ipp_status == IPP_STATUS_ERROR_BUSY) + { + if (argc == 6) + { + /* + * Need to reprocess the entire job; if we have a job ID, cancel the + * job first... + */ + + if (job_id > 0) + cancel_job(http, uri, job_id, resource, argv[2], version); + + goto cleanup; + } + continue; + } + else if (ipp_status == IPP_STATUS_ERROR_REQUEST_VALUE || + ipp_status == IPP_STATUS_ERROR_JOB_CANCELED || + ipp_status == IPP_STATUS_ERROR_NOT_AUTHORIZED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_INFO_NEEDED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_CLOSED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_LIMIT_REACHED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_AUTHORIZATION_FAILED || + ipp_status == IPP_STATUS_ERROR_INTERNAL) + { + /* + * Print file is too large, job was canceled, we need new + * authentication data, or we had some sort of error... + */ + + goto cleanup; + } + else if (ipp_status == IPP_STATUS_ERROR_CUPS_UPGRADE_REQUIRED) + { + /* + * Server is configured incorrectly; the policy for Create-Job and + * Send-Document has to be the same (auth or no auth, encryption or + * no encryption). Force the queue to stop since printing will never + * work. + */ + + fputs("DEBUG: The server or printer is configured incorrectly.\n", + stderr); + fputs("DEBUG: The policy for Create-Job and Send-Document must have the " + "same authentication and encryption requirements.\n", stderr); + + ipp_status = IPP_STATUS_ERROR_INTERNAL; + + if (job_id > 0) + cancel_job(http, uri, job_id, resource, argv[2], version); + + goto cleanup; + } + else if (ipp_status == IPP_STATUS_ERROR_NOT_FOUND) + { + /* + * Printer does not actually implement support for Create-Job/ + * Send-Document, so log the conformance issue and stop the printer. + */ + + fputs("DEBUG: This printer claims to support Create-Job and " + "Send-Document, but those operations failed.\n", stderr); + fputs("DEBUG: Add '?version=1.0' to the device URI to use legacy " + "compatibility mode.\n", stderr); + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-send-document"); + + ipp_status = IPP_STATUS_ERROR_INTERNAL; /* Force queue to stop */ + + goto cleanup; + } + else + copies_remaining --; + + /* + * Wait for the job to complete... + */ + + if (!job_id || !waitjob || !get_job_attrs) + continue; + + fputs("STATE: +cups-waiting-for-job-completed\n", stderr); + + _cupsLangPrintFilter(stderr, "INFO", _("Waiting for job to complete.")); + + for (delay = _cupsNextDelay(0, &prev_delay); !job_canceled;) + { + /* + * Check for side-channel requests... + */ + + backendCheckSideChannel(snmp_fd, http->hostaddr); + + /* + * Check printer state... + */ + + check_printer_state(http, uri, resource, argv[2], version); + + if (cupsLastError() <= IPP_STATUS_OK_CONFLICTING) + password_tries = 0; + + /* + * Build an IPP_OP_GET_JOB_ATTRIBUTES request... + */ + + request = ippNewRequest(IPP_OP_GET_JOB_ATTRIBUTES); + ippSetVersion(request, version / 10, version % 10); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", + job_id); + + if (argv[2][0]) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, argv[2]); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", sizeof(jattrs) / sizeof(jattrs[0]), + NULL, jattrs); + + fprintf(stderr, "DEBUG: IPP/%d.%d %s #%d\n", version / 10, version % 10, ippOpString(ippGetOperation(request)), ippGetRequestId(request)); + debug_attributes(request); + + /* + * Do the request... + */ + + httpReconnect2(http, 30000, NULL); + response = cupsDoRequest(http, request, resource); + ipp_status = cupsLastError(); + + if (ipp_status == IPP_STATUS_ERROR_NOT_FOUND || ipp_status == IPP_STATUS_ERROR_NOT_POSSIBLE) + { + /* + * Job has gone away and/or the server has no job history... + */ + + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-job-history"); + ippDelete(response); + + ipp_status = IPP_STATUS_OK; + break; + } + + fprintf(stderr, "DEBUG: Get-Job-Attributes: %s (%s)\n", + ippErrorString(ipp_status), cupsLastErrorString()); + debug_attributes(response); + + if (ipp_status <= IPP_STATUS_OK_CONFLICTING) + password_tries = 0; + else + { + if (ipp_status != IPP_STATUS_ERROR_SERVICE_UNAVAILABLE && + ipp_status != IPP_STATUS_ERROR_BUSY) + { + ippDelete(response); + ipp_status = IPP_STATUS_OK; + break; + } + else if (ipp_status == IPP_STATUS_ERROR_INTERNAL) + { + waitjob_tries ++; + + if (waitjob_tries > 4) + { + ippDelete(response); + ipp_status = IPP_STATUS_OK; + break; + } + } + } + + if (response) + { + if ((job_state = ippFindAttribute(response, "job-state", + IPP_TAG_ENUM)) != NULL) + { + /* + * Reflect the remote job state in the local queue... + */ + + if (cups_version && + job_state->values[0].integer >= IPP_JSTATE_PENDING && + job_state->values[0].integer <= IPP_JSTATE_COMPLETED) + update_reasons(NULL, + remote_job_states[job_state->values[0].integer - + IPP_JSTATE_PENDING]); + + if ((job_sheets = ippFindAttribute(response, "job-impressions-completed", IPP_TAG_INTEGER)) == NULL) + job_sheets = ippFindAttribute(response, "job-media-sheets-completed", IPP_TAG_INTEGER); + + if (job_sheets) + fprintf(stderr, "PAGE: total %d\n", + job_sheets->values[0].integer); + + /* + * Stop polling if the job is finished or pending-held... + */ + + if (job_state->values[0].integer > IPP_JSTATE_STOPPED || job_state->values[0].integer == IPP_JSTATE_HELD) + { + ippDelete(response); + break; + } + } + else if (ipp_status != IPP_STATUS_ERROR_SERVICE_UNAVAILABLE && + ipp_status != IPP_STATUS_ERROR_NOT_POSSIBLE && + ipp_status != IPP_STATUS_ERROR_BUSY) + { + /* + * If the printer does not return a job-state attribute, it does not + * conform to the IPP specification - break out immediately and fail + * the job... + */ + + update_reasons(NULL, "+cups-ipp-conformance-failure-report," + "cups-ipp-missing-job-state"); + ipp_status = IPP_STATUS_ERROR_INTERNAL; + break; + } + } + + ippDelete(response); + + /* + * Wait before polling again... + */ + + sleep((unsigned)delay); + + delay = _cupsNextDelay(delay, &prev_delay); + } + } + + /* + * Cancel the job as needed... + */ + + if (job_canceled > 0 && job_id > 0) + { + cancel_job(http, uri, job_id, resource, argv[2], version); + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + _cupsLangPrintFilter(stderr, "ERROR", _("Unable to cancel print job.")); + } + + /* + * Check the printer state and report it if necessary... + */ + + check_printer_state(http, uri, resource, argv[2], version); + + if (cupsLastError() <= IPP_STATUS_OK_CONFLICTING) + password_tries = 0; + + /* + * Collect the final page count as needed... + */ + + if (have_supplies && + !backendSNMPSupplies(snmp_fd, &(http->addrlist->addr), &page_count, + NULL) && + page_count > start_count) + fprintf(stderr, "PAGE: total %d\n", page_count - start_count); + +#ifdef HAVE_GSSAPI + /* + * See if we used Kerberos at all... + */ + + if (http->gssctx) + auth_info_required = "negotiate"; +#endif /* HAVE_GSSAPI */ + + /* + * Free memory... + */ + + cleanup: + + cupsFreeOptions(num_options, options); + _ppdCacheDestroy(pc); + ppdClose(ppd); + + httpClose(http); + + ippDelete(supported); + + /* + * Remove the temporary file(s) if necessary... + */ + + if (tmpfilename[0]) + unlink(tmpfilename); + + /* + * Return the queue status... + */ + + if (ipp_status == IPP_STATUS_ERROR_NOT_AUTHORIZED || ipp_status == IPP_STATUS_ERROR_FORBIDDEN || + ipp_status == IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED || + ipp_status <= IPP_STATUS_OK_CONFLICTING) + fprintf(stderr, "ATTR: auth-info-required=%s\n", auth_info_required); + + if (ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_INFO_NEEDED) + fputs("JOBSTATE: account-info-needed\n", stderr); + else if (ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_CLOSED) + fputs("JOBSTATE: account-closed\n", stderr); + else if (ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_LIMIT_REACHED) + fputs("JOBSTATE: account-limit-reached\n", stderr); + else if (ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_AUTHORIZATION_FAILED) + fputs("JOBSTATE: account-authorization-failed\n", stderr); + + if (job_canceled) + return (CUPS_BACKEND_OK); + else if (ipp_status == IPP_STATUS_ERROR_NOT_AUTHORIZED || ipp_status == IPP_STATUS_ERROR_FORBIDDEN || ipp_status == IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED) + return (CUPS_BACKEND_AUTH_REQUIRED); + else if (ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_LIMIT_REACHED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_INFO_NEEDED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_CLOSED || + ipp_status == IPP_STATUS_ERROR_CUPS_ACCOUNT_AUTHORIZATION_FAILED) + return (CUPS_BACKEND_HOLD); + else if (ipp_status == IPP_STATUS_ERROR_INTERNAL) + return (CUPS_BACKEND_STOP); + else if (ipp_status == IPP_STATUS_ERROR_CONFLICTING || ipp_status == IPP_STATUS_ERROR_REQUEST_ENTITY || ipp_status == IPP_STATUS_ERROR_REQUEST_VALUE) + return (CUPS_BACKEND_FAILED); + else if (ipp_status == IPP_STATUS_ERROR_REQUEST_VALUE || + ipp_status == IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES || + ipp_status == IPP_STATUS_ERROR_DOCUMENT_FORMAT_NOT_SUPPORTED || job_canceled < 0) + { + if (ipp_status == IPP_STATUS_ERROR_REQUEST_VALUE) + _cupsLangPrintFilter(stderr, "ERROR", _("Print job too large.")); + else if (ipp_status == IPP_STATUS_ERROR_DOCUMENT_FORMAT_NOT_SUPPORTED) + _cupsLangPrintFilter(stderr, "ERROR", + _("Printer cannot print supplied content.")); + else if (ipp_status == IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES) + _cupsLangPrintFilter(stderr, "ERROR", + _("Printer cannot print with supplied options.")); + else + _cupsLangPrintFilter(stderr, "ERROR", _("Print job canceled at printer.")); + + return (CUPS_BACKEND_CANCEL); + } + else if (ipp_status > IPP_STATUS_OK_CONFLICTING && ipp_status != IPP_STATUS_ERROR_JOB_CANCELED) + return (CUPS_BACKEND_RETRY_CURRENT); + else + return (CUPS_BACKEND_OK); +} + + +/* + * 'cancel_job()' - Cancel a print job. + */ + +static void +cancel_job(http_t *http, /* I - HTTP connection */ + const char *uri, /* I - printer-uri */ + int id, /* I - job-id */ + const char *resource, /* I - Resource path */ + const char *user, /* I - requesting-user-name */ + int version) /* I - IPP version */ +{ + ipp_t *request; /* Cancel-Job request */ + + + _cupsLangPrintFilter(stderr, "INFO", _("Canceling print job.")); + + request = ippNewRequest(IPP_OP_CANCEL_JOB); + ippSetVersion(request, version / 10, version % 10); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", id); + + if (user && user[0]) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + + /* + * Do the request... + */ + + ippDelete(cupsDoRequest(http, request, resource)); +} + + +/* + * 'check_printer_state()' - Check the printer state. + */ + +static ipp_pstate_t /* O - Current printer-state */ +check_printer_state( + http_t *http, /* I - HTTP connection */ + const char *uri, /* I - Printer URI */ + const char *resource, /* I - Resource path */ + const char *user, /* I - Username, if any */ + int version) /* I - IPP version */ + { + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* Attribute in response */ + ipp_pstate_t printer_state = IPP_PSTATE_STOPPED; + /* Current printer-state */ + + + /* + * Send a Get-Printer-Attributes request and log the results... + */ + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippSetVersion(request, version / 10, version % 10); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + if (user && user[0]) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + (int)(sizeof(pattrs) / sizeof(pattrs[0])), NULL, pattrs); + + fprintf(stderr, "DEBUG: IPP/%d.%d %s #%d\n", version / 10, version % 10, ippOpString(ippGetOperation(request)), ippGetRequestId(request)); + debug_attributes(request); + + if ((response = cupsDoRequest(http, request, resource)) != NULL) + { + report_printer_state(response); + + if ((attr = ippFindAttribute(response, "printer-state", + IPP_TAG_ENUM)) != NULL) + printer_state = (ipp_pstate_t)attr->values[0].integer; + } + + fprintf(stderr, "DEBUG: Get-Printer-Attributes: %s (%s)\n", + ippErrorString(cupsLastError()), cupsLastErrorString()); + debug_attributes(response); + ippDelete(response); + + /* + * Return the printer-state value... + */ + + return (printer_state); +} + + +/* + * 'debug_attributes()' - Print out the request or response attributes as DEBUG + * messages... + */ + +static void +debug_attributes(ipp_t *ipp) /* I - Request or response message */ +{ + ipp_tag_t group; /* Current group */ + ipp_attribute_t *attr; /* Current attribute */ + char buffer[1024]; /* Value buffer */ + + + for (group = IPP_TAG_ZERO, attr = ippFirstAttribute(ipp); + attr; + attr = ippNextAttribute(ipp)) + { + const char *name = ippGetName(attr); + + if (!name) + { + group = IPP_TAG_ZERO; + continue; + } + + if (group != ippGetGroupTag(attr)) + { + group = ippGetGroupTag(attr); + fprintf(stderr, "DEBUG: ---- %s ----\n", ippTagString(group)); + } + + if (!strcmp(name, "job-password")) + strlcpy(buffer, "---", sizeof(buffer)); + else + ippAttributeString(attr, buffer, sizeof(buffer)); + + fprintf(stderr, "DEBUG: %s %s%s %s\n", name, + ippGetCount(attr) > 1 ? "1setOf " : "", + ippTagString(ippGetValueTag(attr)), buffer); + } + + fprintf(stderr, "DEBUG: ---- %s ----\n", ippTagString(IPP_TAG_END)); +} + + +/* + * 'monitor_printer()' - Monitor the printer state. + */ + +static void * /* O - Thread exit code */ +monitor_printer( + _cups_monitor_t *monitor) /* I - Monitoring data */ +{ + http_t *http; /* Connection to printer */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* Attribute in response */ + int delay, /* Current delay */ + prev_delay; /* Previous delay */ + ipp_op_t job_op; /* Operation to use */ + int job_id; /* Job ID */ + const char *job_name; /* Job name */ + ipp_jstate_t job_state; /* Job state */ + const char *job_user; /* Job originating user name */ + int password_tries = 0; /* Password tries */ + + + /* + * Make a copy of the printer connection... + */ + + http = httpConnect2(monitor->hostname, monitor->port, NULL, AF_UNSPEC, + monitor->encryption, 1, 0, NULL); + httpSetTimeout(http, 30.0, timeout_cb, NULL); + if (username[0]) + cupsSetUser(username); + + cupsSetPasswordCB2((cups_password_cb2_t)password_cb, &password_tries); + + /* + * Loop until the job is canceled, aborted, or completed. + */ + + delay = _cupsNextDelay(0, &prev_delay); + + monitor->job_reasons = 0; + + while (monitor->job_state < IPP_JSTATE_CANCELED && !job_canceled) + { + /* + * Reconnect to the printer as needed... + */ + + if (httpGetFd(http) < 0) + httpReconnect2(http, 30000, NULL); + + if (httpGetFd(http) >= 0) + { + /* + * Connected, so check on the printer state... + */ + + monitor->printer_state = check_printer_state(http, monitor->uri, + monitor->resource, + monitor->user, + monitor->version); + if (cupsLastError() <= IPP_STATUS_OK_CONFLICTING) + password_tries = 0; + + if (monitor->job_id == 0 && monitor->create_job) + { + /* + * No job-id yet, so continue... + */ + + goto monitor_sleep; + } + + /* + * Check the status of the job itself... + */ + + job_op = (monitor->job_id > 0 && monitor->get_job_attrs) ? + IPP_OP_GET_JOB_ATTRIBUTES : IPP_OP_GET_JOBS; + request = ippNewRequest(job_op); + ippSetVersion(request, monitor->version / 10, monitor->version % 10); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, monitor->uri); + if (job_op == IPP_OP_GET_JOB_ATTRIBUTES) + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", + monitor->job_id); + + if (monitor->user && monitor->user[0]) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, monitor->user); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + (int)(sizeof(jattrs) / sizeof(jattrs[0])), NULL, jattrs); + + /* + * Do the request... + */ + + response = cupsDoRequest(http, request, monitor->resource); + + fprintf(stderr, "DEBUG: (monitor) %s: %s (%s)\n", ippOpString(job_op), + ippErrorString(cupsLastError()), cupsLastErrorString()); + + if (cupsLastError() <= IPP_STATUS_OK_CONFLICTING) + password_tries = 0; + + if (job_op == IPP_OP_GET_JOB_ATTRIBUTES) + { + if ((attr = ippFindAttribute(response, "job-state", + IPP_TAG_ENUM)) != NULL) + monitor->job_state = (ipp_jstate_t)attr->values[0].integer; + else + monitor->job_state = IPP_JSTATE_COMPLETED; + } + else if (response) + { + for (attr = response->attrs; attr; attr = attr->next) + { + job_id = 0; + job_name = NULL; + job_state = IPP_JSTATE_PENDING; + job_user = NULL; + + while (attr && attr->group_tag != IPP_TAG_JOB) + attr = attr->next; + + if (!attr) + break; + + while (attr && attr->group_tag == IPP_TAG_JOB) + { + if (!strcmp(attr->name, "job-id") && + attr->value_tag == IPP_TAG_INTEGER) + job_id = attr->values[0].integer; + else if (!strcmp(attr->name, "job-name") && + (attr->value_tag == IPP_TAG_NAME || + attr->value_tag == IPP_TAG_NAMELANG)) + job_name = attr->values[0].string.text; + else if (!strcmp(attr->name, "job-state") && + attr->value_tag == IPP_TAG_ENUM) + job_state = (ipp_jstate_t)attr->values[0].integer; + else if (!strcmp(attr->name, "job-originating-user-name") && + (attr->value_tag == IPP_TAG_NAME || + attr->value_tag == IPP_TAG_NAMELANG)) + job_user = attr->values[0].string.text; + + attr = attr->next; + } + + if (job_id > 0 && job_name && !strcmp(job_name, monitor->job_name) && + job_user && monitor->user && !strcmp(job_user, monitor->user)) + { + monitor->job_id = job_id; + monitor->job_state = job_state; + break; + } + + if (!attr) + break; + } + } + + fprintf(stderr, "DEBUG: (monitor) job-state = %s\n", ippEnumString("job-state", (int)monitor->job_state)); + + if (!job_canceled && + (monitor->job_state == IPP_JSTATE_CANCELED || + monitor->job_state == IPP_JSTATE_ABORTED)) + { + job_canceled = -1; + fprintf(stderr, "DEBUG: (monitor) job_canceled = -1\n"); + } + + if ((attr = ippFindAttribute(response, "job-state-reasons", + IPP_TAG_KEYWORD)) != NULL) + { + int i, new_reasons = 0; /* Looping var, new reasons */ + + for (i = 0; i < attr->num_values; i ++) + { + if (!strcmp(attr->values[i].string.text, "account-authorization-failed")) + new_reasons |= _CUPS_JSR_ACCOUNT_AUTHORIZATION_FAILED; + else if (!strcmp(attr->values[i].string.text, "account-closed")) + new_reasons |= _CUPS_JSR_ACCOUNT_CLOSED; + else if (!strcmp(attr->values[i].string.text, "account-info-needed")) + new_reasons |= _CUPS_JSR_ACCOUNT_INFO_NEEDED; + else if (!strcmp(attr->values[i].string.text, "account-limit-reached")) + new_reasons |= _CUPS_JSR_ACCOUNT_LIMIT_REACHED; + else if (!strcmp(attr->values[i].string.text, "job-password-wait")) + new_reasons |= _CUPS_JSR_JOB_PASSWORD_WAIT; + else if (!strcmp(attr->values[i].string.text, "job-release-wait")) + new_reasons |= _CUPS_JSR_JOB_RELEASE_WAIT; + else if (!strcmp(attr->values[i].string.text, "document-format-error")) + new_reasons |= _CUPS_JSR_DOCUMENT_FORMAT_ERROR; + else if (!strcmp(attr->values[i].string.text, "document-unprintable")) + new_reasons |= _CUPS_JSR_DOCUMENT_UNPRINTABLE; + + if (!job_canceled && (!strncmp(attr->values[i].string.text, "job-canceled-", 13) || !strcmp(attr->values[i].string.text, "aborted-by-system"))) + job_canceled = 1; + } + + if (new_reasons != monitor->job_reasons) + { + if (new_reasons & _CUPS_JSR_ACCOUNT_AUTHORIZATION_FAILED) + fputs("JOBSTATE: account-authorization-failed\n", stderr); + else if (new_reasons & _CUPS_JSR_ACCOUNT_CLOSED) + fputs("JOBSTATE: account-closed\n", stderr); + else if (new_reasons & _CUPS_JSR_ACCOUNT_INFO_NEEDED) + fputs("JOBSTATE: account-info-needed\n", stderr); + else if (new_reasons & _CUPS_JSR_ACCOUNT_LIMIT_REACHED) + fputs("JOBSTATE: account-limit-reached\n", stderr); + else if (new_reasons & _CUPS_JSR_JOB_PASSWORD_WAIT) + fputs("JOBSTATE: job-password-wait\n", stderr); + else if (new_reasons & _CUPS_JSR_JOB_RELEASE_WAIT) + fputs("JOBSTATE: job-release-wait\n", stderr); + else if (new_reasons & (_CUPS_JSR_DOCUMENT_FORMAT_ERROR | _CUPS_JSR_DOCUMENT_UNPRINTABLE)) + { + if (monitor->retryable) + { + /* + * Can't print this, so retry as raster... + */ + + job_canceled = 1; + fputs("JOBSTATE: cups-retry-as-raster\n", stderr); + } + else if (new_reasons & _CUPS_JSR_DOCUMENT_FORMAT_ERROR) + { + fputs("JOBSTATE: document-format-error\n", stderr); + } + else + { + fputs("JOBSTATE: document-unprintable\n", stderr); + } + } + else + fputs("JOBSTATE: job-printing\n", stderr); + + monitor->job_reasons = new_reasons; + } + } + + ippDelete(response); + + fprintf(stderr, "DEBUG: (monitor) job-state = %s\n", ippEnumString("job-state", (int)monitor->job_state)); + + if (!job_canceled && + (monitor->job_state == IPP_JSTATE_CANCELED || + monitor->job_state == IPP_JSTATE_ABORTED)) + job_canceled = -1; + } + + /* + * Sleep for N seconds... + */ + + monitor_sleep: + + sleep((unsigned)delay); + + delay = _cupsNextDelay(delay, &prev_delay); + } + + /* + * Cancel the job if necessary... + */ + + if (job_canceled > 0 && monitor->job_id > 0) + { + if (httpGetFd(http) < 0) + httpReconnect2(http, 30000, NULL); + + if (httpGetFd(http) >= 0) + { + cancel_job(http, monitor->uri, monitor->job_id, monitor->resource, + monitor->user, monitor->version); + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + fprintf(stderr, "DEBUG: (monitor) cancel_job() = %s\n", cupsLastErrorString()); + _cupsLangPrintFilter(stderr, "ERROR", _("Unable to cancel print job.")); + } + } + } + + /* + * Cleanup and return... + */ + + httpClose(http); + + return (NULL); +} + + +/* + * 'new_request()' - Create a new print creation or validation request. + */ + +static ipp_t * /* O - Request data */ +new_request( + ipp_op_t op, /* I - IPP operation code */ + int version, /* I - IPP version number */ + const char *uri, /* I - printer-uri value */ + const char *user, /* I - requesting-user-name value */ + const char *title, /* I - job-name value */ + int num_options, /* I - Number of options to send */ + cups_option_t *options, /* I - Options to send */ + const char *compression, /* I - compression value or NULL */ + int copies, /* I - copies value or 0 */ + const char *format, /* I - document-format value or NULL */ + _ppd_cache_t *pc, /* I - PPD cache and mapping data */ + ppd_file_t *ppd, /* I - PPD file data */ + ipp_attribute_t *media_col_sup, /* I - media-col-supported values */ + ipp_attribute_t *doc_handling_sup, /* I - multiple-document-handling-supported values */ + ipp_attribute_t *print_color_mode_sup) + /* I - Printer supports print-color-mode */ +{ + ipp_t *request; /* Request data */ + const char *keyword; /* PWG keyword */ + + + /* + * Create the IPP request... + */ + + request = ippNewRequest(op); + ippSetVersion(request, version / 10, version % 10); + + fprintf(stderr, "DEBUG: %s IPP/%d.%d\n", + ippOpString(request->request.op.operation_id), + request->request.op.version[0], + request->request.op.version[1]); + + /* + * Add standard attributes... + */ + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri); + fprintf(stderr, "DEBUG: printer-uri=\"%s\"\n", uri); + + if (user && *user) + { + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, user); + fprintf(stderr, "DEBUG: requesting-user-name=\"%s\"\n", user); + } + + if (title && *title) + { + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "job-name", NULL, title); + fprintf(stderr, "DEBUG: job-name=\"%s\"\n", title); + } + + if (format && op != IPP_OP_CREATE_JOB) + { + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, "document-format", NULL, format); + fprintf(stderr, "DEBUG: document-format=\"%s\"\n", format); + } + +#ifdef HAVE_LIBZ + if (compression && op != IPP_OP_CREATE_JOB && op != IPP_OP_VALIDATE_JOB) + { + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "compression", NULL, compression); + fprintf(stderr, "DEBUG: compression=\"%s\"\n", compression); + } +#endif /* HAVE_LIBZ */ + + /* + * Handle options on the command-line... + */ + + if (num_options > 0) + { + if (pc) + { + /* + * Send standard IPP attributes... + */ + + fputs("DEBUG: Adding standard IPP operation/job attributes.\n", stderr); + + copies = _cupsConvertOptions(request, ppd, pc, media_col_sup, doc_handling_sup, print_color_mode_sup, user, format, copies, num_options, options); + + /* + * Map FaxOut options... + */ + + if ((keyword = cupsGetOption("phone", num_options, options)) != NULL) + { + ipp_t *destination; /* destination collection */ + char phone[1024], /* Phone number string */ + *ptr, /* Pointer into string */ + tel_uri[1024]; /* tel: URI */ + static const char * const allowed = "0123456789#*-+.()pw"; + /* Allowed characters */ + + destination = ippNew(); + + /* + * Unescape and filter out spaces and other characters that are not + * allowed in a tel: URI. + */ + + _httpDecodeURI(phone, keyword, sizeof(phone)); + for (ptr = phone; *ptr;) + { + if (*ptr == ',') + *ptr = 'p'; + else if (!strchr(allowed, *ptr)) + _cups_strcpy(ptr, ptr + 1); + else + ptr ++; + } + + httpAssembleURI(HTTP_URI_CODING_ALL, tel_uri, sizeof(tel_uri), "tel", NULL, NULL, 0, phone); + ippAddString(destination, IPP_TAG_JOB, IPP_TAG_URI, "destination-uri", NULL, tel_uri); + + if ((keyword = cupsGetOption("faxPrefix", num_options, + options)) != NULL && *keyword) + { + char predial[1024]; /* Pre-dial string */ + + _httpDecodeURI(predial, keyword, sizeof(predial)); + ippAddString(destination, IPP_TAG_JOB, IPP_TAG_TEXT, "pre-dial-string", NULL, predial); + } + + ippAddCollection(request, IPP_TAG_JOB, "destination-uris", destination); + ippDelete(destination); + } + } + else + { + /* + * When talking to another CUPS server, send all options... + */ + + fputs("DEBUG: Adding all operation/job attributes.\n", stderr); + cupsEncodeOptions2(request, num_options, options, IPP_TAG_OPERATION); + cupsEncodeOptions2(request, num_options, options, IPP_TAG_JOB); + } + + if (copies > 1 && (!pc || copies <= pc->max_copies)) + ippAddInteger(request, IPP_TAG_JOB, IPP_TAG_INTEGER, "copies", copies); + } + + fprintf(stderr, "DEBUG: IPP/%d.%d %s #%d\n", version / 10, version % 10, ippOpString(ippGetOperation(request)), ippGetRequestId(request)); + debug_attributes(request); + + return (request); +} + + +/* + * 'password_cb()' - Disable the password prompt for cupsDoFileRequest(). + */ + +static const char * /* O - Password */ +password_cb(const char *prompt, /* I - Prompt (not used) */ + http_t *http, /* I - Connection */ + const char *method, /* I - Request method (not used) */ + const char *resource, /* I - Resource path (not used) */ + int *password_tries) /* I - Password tries */ +{ + char def_username[HTTP_MAX_VALUE]; /* Default username */ + + + fprintf(stderr, "DEBUG: password_cb(prompt=\"%s\", http=%p, method=\"%s\", " + "resource=\"%s\", password_tries=%p(%d)), password=%p\n", + prompt, http, method, resource, password_tries, *password_tries, + password); + + (void)prompt; + (void)method; + (void)resource; + + if (!uri_credentials) + { + /* + * Remember that we need to authenticate... + */ + + auth_info_required = "username,password"; + + if (httpGetSubField(http, HTTP_FIELD_WWW_AUTHENTICATE, "username", + def_username)) + { + char quoted[HTTP_MAX_VALUE * 2 + 4]; + /* Quoted string */ + + fprintf(stderr, "ATTR: auth-info-default=%s,\n", + quote_string(def_username, quoted, sizeof(quoted))); + } + } + + if (password && *password && *password_tries < 3) + { + (*password_tries) ++; + + cupsSetUser(username); + + return (password); + } + else + { + /* + * Give up after 3 tries or if we don't have a password to begin with... + */ + + return (NULL); + } +} + + +/* + * 'quote_string()' - Quote a string value. + */ + +static const char * /* O - Quoted string */ +quote_string(const char *s, /* I - String */ + char *q, /* I - Quoted string buffer */ + size_t qsize) /* I - Size of quoted string buffer */ +{ + char *qptr, /* Pointer into string buffer */ + *qend; /* End of string buffer */ + + + qptr = q; + qend = q + qsize - 5; + + if (qend < q) + { + *q = '\0'; + return (q); + } + + *qptr++ = '\''; + *qptr++ = '\"'; + + while (*s && qptr < qend) + { + if (*s == '\\' || *s == '\"' || *s == '\'') + { + if (qptr < (qend - 4)) + { + *qptr++ = '\\'; + *qptr++ = '\\'; + *qptr++ = '\\'; + } + else + break; + } + + *qptr++ = *s++; + } + + *qptr++ = '\"'; + *qptr++ = '\''; + *qptr = '\0'; + + return (q); +} + + +/* + * 'report_attr()' - Report an IPP attribute value. + */ + +static void +report_attr(ipp_attribute_t *attr) /* I - Attribute */ +{ + int i; /* Looping var */ + char value[1024], /* Value string */ + *valptr; /* Pointer into value string */ + const char *cached; /* Cached attribute */ + + + /* + * Convert the attribute values into quoted strings... + */ + + for (i = 0, valptr = value; + i < attr->num_values && valptr < (value + sizeof(value) - 10); + i ++) + { + if (i > 0) + *valptr++ = ','; + + switch (attr->value_tag) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + snprintf(valptr, sizeof(value) - (size_t)(valptr - value), "%d", attr->values[i].integer); + valptr += strlen(valptr); + break; + + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + quote_string(attr->values[i].string.text, valptr, (size_t)(value + sizeof(value) - valptr)); + valptr += strlen(valptr); + break; + + default : + /* + * Unsupported value type... + */ + + return; + } + } + + *valptr = '\0'; + + _cupsMutexLock(&report_mutex); + + if ((cached = cupsGetOption(attr->name, num_attr_cache, + attr_cache)) == NULL || strcmp(cached, value)) + { + /* + * Tell the scheduler about the new values... + */ + + num_attr_cache = cupsAddOption(attr->name, value, num_attr_cache, + &attr_cache); + fprintf(stderr, "ATTR: %s=%s\n", attr->name, value); + } + + _cupsMutexUnlock(&report_mutex); +} + + +/* + * 'report_printer_state()' - Report the printer state. + */ + +static void +report_printer_state(ipp_t *ipp) /* I - IPP response */ +{ + ipp_attribute_t *pa, /* printer-alert */ + *pam, /* printer-alert-message */ + *pmja, /* printer-mandatory-job-attributes */ + *psm, /* printer-state-message */ + *reasons, /* printer-state-reasons */ + *marker; /* marker-* attributes */ + char value[1024], /* State/message string */ + *valptr; /* Pointer into string */ + static int ipp_supplies = -1; + /* Report supply levels? */ + + + /* + * Report alerts and messages... + */ + + if ((pa = ippFindAttribute(ipp, "printer-alert", IPP_TAG_TEXT)) != NULL) + report_attr(pa); + + if ((pam = ippFindAttribute(ipp, "printer-alert-message", + IPP_TAG_TEXT)) != NULL) + report_attr(pam); + + if ((pmja = ippFindAttribute(ipp, "printer-mandatory-job-attributes", IPP_TAG_KEYWORD)) != NULL) + { + int i, /* Looping var */ + count = ippGetCount(pmja); /* Number of values */ + + for (i = 0, valptr = value; i < count; i ++, valptr += strlen(valptr)) + { + if (i) + snprintf(valptr, sizeof(value) - (size_t)(valptr - value), " %s", ippGetString(pmja, i, NULL)); + else + strlcpy(value, ippGetString(pmja, i, NULL), sizeof(value)); + } + + if (strcmp(value, mandatory_attrs)) + { + strlcpy(mandatory_attrs, value, sizeof(mandatory_attrs)); + fprintf(stderr, "PPD: cupsMandatory=\"%s\"\n", value); + } + } + + if ((psm = ippFindAttribute(ipp, "printer-state-message", + IPP_TAG_TEXT)) != NULL) + { + char *ptr; /* Pointer into message */ + + + strlcpy(value, "INFO: ", sizeof(value)); + for (ptr = psm->values[0].string.text, valptr = value + 6; + *ptr && valptr < (value + sizeof(value) - 6); + ptr ++) + { + if (*ptr < ' ' && *ptr > 0 && *ptr != '\t') + { + /* + * Substitute "" for the control character; sprintf is safe because + * we always leave 6 chars free at the end... + */ + + sprintf(valptr, "<%02X>", *ptr); + valptr += 4; + } + else + *valptr++ = *ptr; + } + + *valptr++ = '\n'; + *valptr = '\0'; + + fputs(value, stderr); + } + + /* + * Now report printer-state-reasons, filtering out some of the reasons we never + * want to set... + */ + + if ((reasons = ippFindAttribute(ipp, "printer-state-reasons", + IPP_TAG_KEYWORD)) == NULL) + return; + + update_reasons(reasons, NULL); + + /* + * Relay the current marker-* attribute values... + */ + + if (ipp_supplies < 0) + { + ppd_file_t *ppd; /* PPD file */ + ppd_attr_t *ppdattr; /* Attribute in PPD file */ + + if ((ppd = ppdOpenFile(getenv("PPD"))) != NULL && + (ppdattr = ppdFindAttr(ppd, "cupsIPPSupplies", NULL)) != NULL && + ppdattr->value && _cups_strcasecmp(ppdattr->value, "true")) + ipp_supplies = 0; + else + ipp_supplies = 1; + + ppdClose(ppd); + } + + if (ipp_supplies > 0) + { + if ((marker = ippFindAttribute(ipp, "marker-colors", IPP_TAG_NAME)) != NULL) + report_attr(marker); + if ((marker = ippFindAttribute(ipp, "marker-high-levels", + IPP_TAG_INTEGER)) != NULL) + report_attr(marker); + if ((marker = ippFindAttribute(ipp, "marker-levels", + IPP_TAG_INTEGER)) != NULL) + report_attr(marker); + if ((marker = ippFindAttribute(ipp, "marker-low-levels", + IPP_TAG_INTEGER)) != NULL) + report_attr(marker); + if ((marker = ippFindAttribute(ipp, "marker-message", + IPP_TAG_TEXT)) != NULL) + report_attr(marker); + if ((marker = ippFindAttribute(ipp, "marker-names", IPP_TAG_NAME)) != NULL) + report_attr(marker); + if ((marker = ippFindAttribute(ipp, "marker-types", + IPP_TAG_KEYWORD)) != NULL) + report_attr(marker); + } +} + + +#if defined(HAVE_GSSAPI) && defined(HAVE_XPC) +/* + * 'run_as_user()' - Run the IPP backend as the printing user. + * + * This function uses an XPC-based user agent to run the backend as the printing + * user. We need to do this in order to have access to the user's Kerberos + * credentials. + */ + +static int /* O - Exit status */ +run_as_user(char *argv[], /* I - Command-line arguments */ + uid_t uid, /* I - User ID */ + const char *device_uri, /* I - Device URI */ + int fd) /* I - File to print */ +{ + const char *auth_negotiate;/* AUTH_NEGOTIATE env var */ + xpc_connection_t conn; /* Connection to XPC service */ + xpc_object_t request; /* Request message dictionary */ + __block xpc_object_t response; /* Response message dictionary */ + dispatch_semaphore_t sem; /* Semaphore for waiting for response */ + int status = CUPS_BACKEND_FAILED; + /* Status of request */ + + + fprintf(stderr, "DEBUG: Running IPP backend as UID %d.\n", (int)uid); + + /* + * Connect to the user agent for the specified UID... + */ + + conn = xpc_connection_create_mach_service(kPMPrintUIToolAgent, + dispatch_get_global_queue(0, 0), 0); + if (!conn) + { + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to start backend process.")); + fputs("DEBUG: Unable to create connection to agent.\n", stderr); + goto cleanup; + } + + xpc_connection_set_event_handler(conn, + ^(xpc_object_t event) + { + xpc_type_t messageType = xpc_get_type(event); + + if (messageType == XPC_TYPE_ERROR) + { + if (event == XPC_ERROR_CONNECTION_INTERRUPTED) + fprintf(stderr, "DEBUG: Interrupted connection to service %s.\n", + xpc_connection_get_name(conn)); + else if (event == XPC_ERROR_CONNECTION_INVALID) + fprintf(stderr, "DEBUG: Connection invalid for service %s.\n", + xpc_connection_get_name(conn)); + else + fprintf(stderr, "DEBUG: Unxpected error for service %s: %s\n", + xpc_connection_get_name(conn), + xpc_dictionary_get_string(event, XPC_ERROR_KEY_DESCRIPTION)); + } + }); + xpc_connection_set_target_uid(conn, uid); + xpc_connection_resume(conn); + + /* + * Try starting the backend... + */ + + request = xpc_dictionary_create(NULL, NULL, 0); + xpc_dictionary_set_int64(request, "command", kPMStartJob); + xpc_dictionary_set_string(request, "device-uri", device_uri); + xpc_dictionary_set_string(request, "job-id", argv[1]); + xpc_dictionary_set_string(request, "user", argv[2]); + xpc_dictionary_set_string(request, "title", argv[3]); + xpc_dictionary_set_string(request, "copies", argv[4]); + xpc_dictionary_set_string(request, "options", argv[5]); + xpc_dictionary_set_string(request, "auth-info-required", + getenv("AUTH_INFO_REQUIRED")); + if ((auth_negotiate = getenv("AUTH_NEGOTIATE")) != NULL) + xpc_dictionary_set_string(request, "auth-negotiate", auth_negotiate); + xpc_dictionary_set_fd(request, "stdin", fd); + xpc_dictionary_set_fd(request, "stderr", 2); + xpc_dictionary_set_fd(request, "side-channel", CUPS_SC_FD); + + sem = dispatch_semaphore_create(0); + response = NULL; + + xpc_connection_send_message_with_reply(conn, request, + dispatch_get_global_queue(0,0), + ^(xpc_object_t reply) + { + /* Save the response and wake up */ + if (xpc_get_type(reply) + == XPC_TYPE_DICTIONARY) + response = xpc_retain(reply); + + dispatch_semaphore_signal(sem); + }); + + dispatch_semaphore_wait(sem, DISPATCH_TIME_FOREVER); + xpc_release(request); + dispatch_release(sem); + + if (response) + { + child_pid = (pid_t)xpc_dictionary_get_int64(response, "child-pid"); + + xpc_release(response); + + if (child_pid) + fprintf(stderr, "DEBUG: Child PID=%d.\n", (int)child_pid); + else + { + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to start backend process.")); + fputs("DEBUG: No child PID.\n", stderr); + goto cleanup; + } + } + else + { + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to start backend process.")); + fputs("DEBUG: No reply from agent.\n", stderr); + goto cleanup; + } + + /* + * Then wait for the backend to finish... + */ + + request = xpc_dictionary_create(NULL, NULL, 0); + xpc_dictionary_set_int64(request, "command", kPMWaitForJob); + xpc_dictionary_set_fd(request, "stderr", 2); + + sem = dispatch_semaphore_create(0); + response = NULL; + + xpc_connection_send_message_with_reply(conn, request, + dispatch_get_global_queue(0,0), + ^(xpc_object_t reply) + { + /* Save the response and wake up */ + if (xpc_get_type(reply) + == XPC_TYPE_DICTIONARY) + response = xpc_retain(reply); + + dispatch_semaphore_signal(sem); + }); + + dispatch_semaphore_wait(sem, DISPATCH_TIME_FOREVER); + xpc_release(request); + dispatch_release(sem); + + if (response) + { + status = (int)xpc_dictionary_get_int64(response, "status"); + + if (status == SIGTERM || status == SIGKILL || status == SIGPIPE) + { + fprintf(stderr, "DEBUG: Child terminated on signal %d.\n", status); + status = CUPS_BACKEND_FAILED; + } + else if (WIFSIGNALED(status)) + { + fprintf(stderr, "DEBUG: Child crashed on signal %d.\n", status); + status = CUPS_BACKEND_STOP; + } + else if (WIFEXITED(status)) + { + status = WEXITSTATUS(status); + fprintf(stderr, "DEBUG: Child exited with status %d.\n", status); + } + + xpc_release(response); + } + else + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to get backend exit status.")); + + cleanup: + + if (conn) + { + xpc_connection_cancel(conn); + xpc_release(conn); + } + + return (status); +} +#endif /* HAVE_GSSAPI && HAVE_XPC */ + + +/* + * 'sigterm_handler()' - Handle 'terminate' signals that stop the backend. + */ + +static void +sigterm_handler(int sig) /* I - Signal */ +{ + (void)sig; /* remove compiler warnings... */ + + write(2, "DEBUG: Got SIGTERM.\n", 20); + +#if defined(HAVE_GSSAPI) && defined(HAVE_XPC) + if (child_pid) + { + kill(child_pid, sig); + child_pid = 0; + } +#endif /* HAVE_GSSAPI && HAVE_XPC */ + + if (!job_canceled) + { + /* + * Flag that the job should be canceled... + */ + + write(2, "DEBUG: sigterm_handler: job_canceled = 1.\n", 25); + + job_canceled = 1; + return; + } + + /* + * The scheduler already tried to cancel us once, now just terminate + * after removing our temp file! + */ + + if (tmpfilename[0]) + unlink(tmpfilename); + + _exit(1); +} + + +/* + * 'timeout_cb()' - Handle HTTP timeouts. + */ + +static int /* O - 1 to continue, 0 to cancel */ +timeout_cb(http_t *http, /* I - Connection to server (unused) */ + void *user_data) /* I - User data (unused) */ +{ + (void)http; + (void)user_data; + + return (!job_canceled); +} + + +/* + * 'update_reasons()' - Update the printer-state-reasons values. + */ + +static void +update_reasons(ipp_attribute_t *attr, /* I - printer-state-reasons or NULL */ + const char *s) /* I - STATE: string or NULL */ +{ + char op; /* Add (+), remove (-), replace (\0) */ + cups_array_t *new_reasons; /* New reasons array */ + char *reason, /* Current reason */ + add[2048], /* Reasons added string */ + *addptr, /* Pointer into add string */ + rem[2048], /* Reasons removed string */ + *remptr; /* Pointer into remove string */ + const char *addprefix, /* Current add string prefix */ + *remprefix; /* Current remove string prefix */ + + + fprintf(stderr, "DEBUG: update_reasons(attr=%d(%s%s), s=\"%s\")\n", + attr ? attr->num_values : 0, attr ? attr->values[0].string.text : "", + attr && attr->num_values > 1 ? ",..." : "", s ? s : "(null)"); + + /* + * Create an array of new reason keyword strings... + */ + + if (attr) + { + int i; /* Looping var */ + + new_reasons = cupsArrayNew((cups_array_func_t)strcmp, NULL); + op = '\0'; + + for (i = 0; i < attr->num_values; i ++) + { + reason = attr->values[i].string.text; + + if (strcmp(reason, "none") && + strcmp(reason, "none-report") && + strcmp(reason, "paused") && + strncmp(reason, "spool-area-full", 15) && + strcmp(reason, "com.apple.print.recoverable-warning") && + strncmp(reason, "cups-", 5)) + cupsArrayAdd(new_reasons, reason); + } + } + else if (s) + { + if (*s == '+' || *s == '-') + op = *s++; + else + op = '\0'; + + new_reasons = _cupsArrayNewStrings(s, ','); + } + else + return; + + /* + * Compute the changes... + */ + + add[0] = '\0'; + addprefix = "STATE: +"; + addptr = add; + rem[0] = '\0'; + remprefix = "STATE: -"; + remptr = rem; + + fprintf(stderr, "DEBUG2: op='%c', new_reasons=%d, state_reasons=%d\n", + op ? op : ' ', cupsArrayCount(new_reasons), + cupsArrayCount(state_reasons)); + + _cupsMutexLock(&report_mutex); + + if (op == '+') + { + /* + * Add reasons... + */ + + for (reason = (char *)cupsArrayFirst(new_reasons); + reason; + reason = (char *)cupsArrayNext(new_reasons)) + { + if (!cupsArrayFind(state_reasons, reason)) + { + if (!strncmp(reason, "cups-remote-", 12)) + { + /* + * If we are setting cups-remote-xxx, remove all other cups-remote-xxx + * keywords... + */ + + char *temp; /* Current reason in state_reasons */ + + cupsArraySave(state_reasons); + + for (temp = (char *)cupsArrayFirst(state_reasons); + temp; + temp = (char *)cupsArrayNext(state_reasons)) + if (!strncmp(temp, "cups-remote-", 12)) + { + snprintf(remptr, sizeof(rem) - (size_t)(remptr - rem), "%s%s", remprefix, temp); + remptr += strlen(remptr); + remprefix = ","; + + cupsArrayRemove(state_reasons, temp); + break; + } + + cupsArrayRestore(state_reasons); + } + + cupsArrayAdd(state_reasons, reason); + + snprintf(addptr, sizeof(add) - (size_t)(addptr - add), "%s%s", addprefix, reason); + addptr += strlen(addptr); + addprefix = ","; + } + } + } + else if (op == '-') + { + /* + * Remove reasons... + */ + + for (reason = (char *)cupsArrayFirst(new_reasons); + reason; + reason = (char *)cupsArrayNext(new_reasons)) + { + if (cupsArrayFind(state_reasons, reason)) + { + snprintf(remptr, sizeof(rem) - (size_t)(remptr - rem), "%s%s", remprefix, reason); + remptr += strlen(remptr); + remprefix = ","; + + cupsArrayRemove(state_reasons, reason); + } + } + } + else + { + /* + * Replace reasons... + */ + + for (reason = (char *)cupsArrayFirst(state_reasons); + reason; + reason = (char *)cupsArrayNext(state_reasons)) + { + if (strncmp(reason, "cups-", 5) && !cupsArrayFind(new_reasons, reason)) + { + snprintf(remptr, sizeof(rem) - (size_t)(remptr - rem), "%s%s", remprefix, reason); + remptr += strlen(remptr); + remprefix = ","; + + cupsArrayRemove(state_reasons, reason); + } + } + + for (reason = (char *)cupsArrayFirst(new_reasons); + reason; + reason = (char *)cupsArrayNext(new_reasons)) + { + if (!cupsArrayFind(state_reasons, reason)) + { + cupsArrayAdd(state_reasons, reason); + + snprintf(addptr, sizeof(add) - (size_t)(addptr - add), "%s%s", addprefix, reason); + addptr += strlen(addptr); + addprefix = ","; + } + } + } + + cupsArrayDelete(new_reasons); + + _cupsMutexUnlock(&report_mutex); + + /* + * Report changes and return... + */ + + if (add[0] && rem[0]) + fprintf(stderr, "%s\n%s\n", add, rem); + else if (add[0]) + fprintf(stderr, "%s\n", add); + else if (rem[0]) + fprintf(stderr, "%s\n", rem); +} diff --git a/backend/lpd.c b/backend/lpd.c new file mode 100644 index 0000000..c4aab8b --- /dev/null +++ b/backend/lpd.c @@ -0,0 +1,1293 @@ +/* + * Line Printer Daemon backend for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include +#include "backend-private.h" +#include +#include +#include +#include + +#ifdef _WIN32 +# include +#else +# include +# include +# include +# include +#endif /* _WIN32 */ +#ifdef __APPLE__ +# include +# include +#endif /* __APPLE__ */ + + +/* + * Globals... + */ + +static char tmpfilename[1024] = ""; /* Temporary spool file name */ +static int abort_job = 0; /* Non-zero if we get SIGTERM */ + + +/* + * Print mode... + */ + +#define MODE_STANDARD 0 /* Queue a copy */ +#define MODE_STREAM 1 /* Stream a copy */ + + +/* + * The order for control and data files in LPD requests... + */ + +#define ORDER_CONTROL_DATA 0 /* Control file first, then data */ +#define ORDER_DATA_CONTROL 1 /* Data file first, then control */ + + +/* + * What to reserve... + */ + +#define RESERVE_NONE 0 /* Don't reserve a priviledged port */ +#define RESERVE_RFC1179 1 /* Reserve port 721-731 */ +#define RESERVE_ANY 2 /* Reserve port 1-1023 */ + + +/* + * Local functions... + */ + +static int cups_rresvport(int *port, int family); +static int lpd_command(int lpd_fd, char *format, ...) +# ifdef __GNUC__ +__attribute__ ((__format__ (__printf__, 2, 3))) +# endif /* __GNUC__ */ +; +static int lpd_queue(const char *hostname, http_addrlist_t *addrlist, const char *printer, int print_fd, int snmp_fd, int mode, const char *user, const char *title, int copies, int banner, int format, int order, int reserve, int manual_copies, int timeout, int contimeout, const char *orighost) _CUPS_NONNULL((1,2,3,7,8,17)); +static ssize_t lpd_write(int lpd_fd, char *buffer, size_t length); +static void sigterm_handler(int sig); + + +/* + * 'main()' - Send a file to the printer or server. + * + * Usage: + * + * printer-uri job-id user title copies options [file] + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments (6 or 7) */ + char *argv[]) /* I - Command-line arguments */ +{ + const char *device_uri; /* Device URI */ + char scheme[255], /* Scheme in URI */ + hostname[1024], /* Hostname */ + username[255], /* Username info */ + resource[1024], /* Resource info (printer name) */ + *options, /* Pointer to options */ + *name, /* Name of option */ + *value, /* Value of option */ + sep, /* Separator character */ + *filename, /* File to print */ + title[256]; /* Title string */ + int port; /* Port number */ + http_addrlist_t *addrlist; /* List of addresses for printer */ + int snmp_enabled = 1; /* Is SNMP enabled? */ + int snmp_fd; /* SNMP socket */ + int fd; /* Print file */ + int status; /* Status of LPD job */ + int mode; /* Print mode */ + int banner; /* Print banner page? */ + int format; /* Print format */ + int order; /* Order of control/data files */ + int reserve; /* Reserve priviledged port? */ + int sanitize_title; /* Sanitize title string? */ + int manual_copies, /* Do manual copies? */ + timeout, /* Timeout */ + contimeout, /* Connection timeout */ + copies; /* Number of copies */ + ssize_t bytes = 0; /* Initial bytes read */ + char buffer[16384]; /* Initial print buffer */ +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* Actions for POSIX signals */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ + int num_jobopts; /* Number of job options */ + cups_option_t *jobopts = NULL; /* Job options */ + + + /* + * Make sure status messages are not buffered... + */ + + setbuf(stderr, NULL); + + /* + * Ignore SIGPIPE and catch SIGTERM signals... + */ + +#ifdef HAVE_SIGSET + sigset(SIGPIPE, SIG_IGN); + sigset(SIGTERM, sigterm_handler); +#elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + action.sa_handler = SIG_IGN; + sigaction(SIGPIPE, &action, NULL); + + sigemptyset(&action.sa_mask); + sigaddset(&action.sa_mask, SIGTERM); + action.sa_handler = sigterm_handler; + sigaction(SIGTERM, &action, NULL); +#else + signal(SIGPIPE, SIG_IGN); + signal(SIGTERM, sigterm_handler); +#endif /* HAVE_SIGSET */ + + /* + * Check command-line... + */ + + if (argc == 1) + { + printf("network lpd \"Unknown\" \"%s\"\n", + _cupsLangString(cupsLangDefault(), _("LPD/LPR Host or Printer"))); + return (CUPS_BACKEND_OK); + } + else if (argc < 6 || argc > 7) + { + _cupsLangPrintf(stderr, + _("Usage: %s job-id user title copies options [file]"), + argv[0]); + return (CUPS_BACKEND_FAILED); + } + + num_jobopts = cupsParseOptions(argv[5], 0, &jobopts); + + /* + * Extract the hostname and printer name from the URI... + */ + + while ((device_uri = cupsBackendDeviceURI(argv)) == NULL) + { + _cupsLangPrintFilter(stderr, "INFO", _("Unable to locate printer.")); + sleep(10); + + if (getenv("CLASS") != NULL) + return (CUPS_BACKEND_FAILED); + } + + httpSeparateURI(HTTP_URI_CODING_ALL, device_uri, scheme, sizeof(scheme), + username, sizeof(username), hostname, sizeof(hostname), &port, + resource, sizeof(resource)); + + if (!port) + port = 515; /* Default to port 515 */ + + if (!username[0]) + { + /* + * If no username is in the device URI, then use the print job user... + */ + + strlcpy(username, argv[2], sizeof(username)); + } + + /* + * See if there are any options... + */ + + mode = MODE_STANDARD; + banner = 0; + format = 'l'; + order = ORDER_CONTROL_DATA; + reserve = RESERVE_ANY; + manual_copies = 1; + timeout = 300; + contimeout = 7 * 24 * 60 * 60; + +#ifdef __APPLE__ + /* + * We want to pass UTF-8 characters by default, not re-map them (3071945) + */ + + sanitize_title = 0; +#else + /* + * Otherwise we want to re-map UTF-8 to "safe" characters by default... + */ + + sanitize_title = 1; +#endif /* __APPLE__ */ + + if ((options = strchr(resource, '?')) != NULL) + { + /* + * Yup, terminate the device name string and move to the first + * character of the options... + */ + + *options++ = '\0'; + + /* + * Parse options... + */ + + while (*options) + { + /* + * Get the name... + */ + + name = options; + + while (*options && *options != '=' && *options != '+' && *options != '&') + options ++; + + if ((sep = *options) != '\0') + *options++ = '\0'; + + if (sep == '=') + { + /* + * Get the value... + */ + + value = options; + + while (*options && *options != '+' && *options != '&') + options ++; + + if (*options) + *options++ = '\0'; + } + else + value = (char *)""; + + /* + * Process the option... + */ + + if (!_cups_strcasecmp(name, "banner")) + { + /* + * Set the banner... + */ + + banner = !value[0] || !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "yes") || !_cups_strcasecmp(value, "true"); + } + else if (!_cups_strcasecmp(name, "format") && value[0]) + { + /* + * Set output format... + */ + + if (strchr("cdfglnoprtv", value[0])) + format = value[0]; + else + _cupsLangPrintFilter(stderr, "ERROR", + _("Unknown format character: \"%c\"."), + value[0]); + } + else if (!_cups_strcasecmp(name, "mode") && value[0]) + { + /* + * Set control/data order... + */ + + if (!_cups_strcasecmp(value, "standard")) + mode = MODE_STANDARD; + else if (!_cups_strcasecmp(value, "stream")) + mode = MODE_STREAM; + else + _cupsLangPrintFilter(stderr, "ERROR", + _("Unknown print mode: \"%s\"."), value); + } + else if (!_cups_strcasecmp(name, "order") && value[0]) + { + /* + * Set control/data order... + */ + + if (!_cups_strcasecmp(value, "control,data")) + order = ORDER_CONTROL_DATA; + else if (!_cups_strcasecmp(value, "data,control")) + order = ORDER_DATA_CONTROL; + else + _cupsLangPrintFilter(stderr, "ERROR", + _("Unknown file order: \"%s\"."), value); + } + else if (!_cups_strcasecmp(name, "reserve")) + { + /* + * Set port reservation mode... + */ + + if (!value[0] || !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "true") || + !_cups_strcasecmp(value, "rfc1179")) + reserve = RESERVE_RFC1179; + else if (!_cups_strcasecmp(value, "any")) + reserve = RESERVE_ANY; + else + reserve = RESERVE_NONE; + } + else if (!_cups_strcasecmp(name, "manual_copies")) + { + /* + * Set manual copies... + */ + + manual_copies = !value[0] || !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "true"); + } + else if (!_cups_strcasecmp(name, "sanitize_title")) + { + /* + * Set sanitize title... + */ + + sanitize_title = !value[0] || !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "true"); + } + else if (!_cups_strcasecmp(name, "snmp")) + { + /* + * Enable/disable SNMP stuff... + */ + + snmp_enabled = !value[0] || !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "true"); + } + else if (!_cups_strcasecmp(name, "timeout")) + { + /* + * Set the timeout... + */ + + if (atoi(value) > 0) + timeout = atoi(value); + } + else if (!_cups_strcasecmp(name, "contimeout")) + { + /* + * Set the connection timeout... + */ + + if (atoi(value) > 0) + contimeout = atoi(value); + } + } + } + + if (mode == MODE_STREAM) + order = ORDER_CONTROL_DATA; + + /* + * Find the printer... + */ + + addrlist = backendLookup(hostname, port, NULL); + + /* + * See if the printer supports SNMP... + */ + + if (snmp_enabled) + snmp_fd = _cupsSNMPOpen(addrlist->addr.addr.sa_family); + else + snmp_fd = -1; + + /* + * Wait for data from the filter... + */ + + if (argc == 6) + { + if (!backendWaitLoop(snmp_fd, &(addrlist->addr), 0, backendNetworkSideCB)) + return (CUPS_BACKEND_OK); + else if (mode == MODE_STANDARD && + (bytes = read(0, buffer, sizeof(buffer))) <= 0) + return (CUPS_BACKEND_OK); + } + + /* + * If we have 7 arguments, print the file named on the command-line. + * Otherwise, copy stdin to a temporary file and print the temporary + * file. + */ + + if (argc == 6 && mode == MODE_STANDARD) + { + /* + * Copy stdin to a temporary file... + */ + + if ((fd = cupsTempFd(tmpfilename, sizeof(tmpfilename))) < 0) + { + perror("DEBUG: Unable to create temporary file"); + return (CUPS_BACKEND_FAILED); + } + + _cupsLangPrintFilter(stderr, "INFO", _("Copying print data.")); + + if (bytes > 0) + write(fd, buffer, (size_t)bytes); + + backendRunLoop(-1, fd, snmp_fd, &(addrlist->addr), 0, 0, + backendNetworkSideCB); + } + else if (argc == 6) + { + /* + * Stream from stdin... + */ + + filename = NULL; + fd = 0; + } + else + { + filename = argv[6]; + fd = open(filename, O_RDONLY); + + if (fd == -1) + { + _cupsLangPrintError("ERROR", _("Unable to open print file")); + return (CUPS_BACKEND_FAILED); + } + } + + /* + * Sanitize the document title... + */ + + strlcpy(title, argv[3], sizeof(title)); + + if (sanitize_title) + { + /* + * Sanitize the title string so that we don't cause problems on + * the remote end... + */ + + char *ptr; + + for (ptr = title; *ptr; ptr ++) + if (!isalnum(*ptr & 255) && !isspace(*ptr & 255)) + *ptr = '_'; + } + + /* + * Queue the job... + */ + + if (argc > 6) + { + if (manual_copies) + { + manual_copies = atoi(argv[4]); + copies = 1; + } + else + { + manual_copies = 1; + copies = atoi(argv[4]); + } + + status = lpd_queue(hostname, addrlist, resource + 1, fd, snmp_fd, mode, + username, title, copies, banner, format, order, reserve, + manual_copies, timeout, contimeout, + cupsGetOption("job-originating-host-name", num_jobopts, + jobopts)); + + if (!status) + fprintf(stderr, "PAGE: 1 %d\n", atoi(argv[4])); + } + else + status = lpd_queue(hostname, addrlist, resource + 1, fd, snmp_fd, mode, + username, title, 1, banner, format, order, reserve, 1, + timeout, contimeout, + cupsGetOption("job-originating-host-name", num_jobopts, + jobopts)); + + /* + * Remove the temporary file if necessary... + */ + + if (tmpfilename[0]) + unlink(tmpfilename); + + if (fd) + close(fd); + + if (snmp_fd >= 0) + _cupsSNMPClose(snmp_fd); + + /* + * Return the queue status... + */ + + return (status); +} + + +/* + * 'cups_rresvport()' - A simple implementation of rresvport_af(). + */ + +static int /* O - Socket or -1 on error */ +cups_rresvport(int *port, /* IO - Port number to bind to */ + int family) /* I - Address family */ +{ + http_addr_t addr; /* Socket address */ + int fd; /* Socket file descriptor */ + + + /* + * Try to create an IPv4 socket... + */ + + if ((fd = socket(family, SOCK_STREAM, 0)) < 0) + return (-1); + + /* + * Initialize the address buffer... + */ + + memset(&addr, 0, sizeof(addr)); + addr.addr.sa_family = (sa_family_t)family; + + /* + * Try to bind the socket to a reserved port... + */ + + while (*port > 511) + { + /* + * Set the port number... + */ + + _httpAddrSetPort(&addr, *port); + + /* + * Try binding the port to the socket; return if all is OK... + */ + + if (!bind(fd, (struct sockaddr *)&addr, (socklen_t)httpAddrLength(&addr))) + return (fd); + + /* + * Stop if we have any error other than "address already in use"... + */ + + if (errno != EADDRINUSE) + { + httpAddrClose(NULL, fd); + + return (-1); + } + + /* + * Try the next port... + */ + + (*port)--; + } + + /* + * Wasn't able to bind to a reserved port, so close the socket and return + * -1... + */ + +#ifdef _WIN32 + closesocket(fd); +#else + close(fd); +#endif /* _WIN32 */ + + return (-1); +} + + +/* + * 'lpd_command()' - Send an LPR command sequence and wait for a reply. + */ + +static int /* O - Status of command */ +lpd_command(int fd, /* I - Socket connection to LPD host */ + char *format, /* I - printf()-style format string */ + ...) /* I - Additional args as necessary */ +{ + va_list ap; /* Argument pointer */ + char buf[1024]; /* Output buffer */ + ssize_t bytes; /* Number of bytes to output */ + char status; /* Status from command */ + + + /* + * Don't try to send commands if the job has been canceled... + */ + + if (abort_job) + return (-1); + + /* + * Format the string... + */ + + va_start(ap, format); + bytes = vsnprintf(buf, sizeof(buf), format, ap); + va_end(ap); + + fprintf(stderr, "DEBUG: lpd_command %2.2x %s", buf[0], buf + 1); + + /* + * Send the command... + */ + + fprintf(stderr, "DEBUG: Sending command string (" CUPS_LLFMT " bytes)...\n", CUPS_LLCAST bytes); + + if (lpd_write(fd, buf, (size_t)bytes) < bytes) + { + perror("DEBUG: Unable to send LPD command"); + return (-1); + } + + /* + * Read back the status from the command and return it... + */ + + fputs("DEBUG: Reading command status...\n", stderr); + + if (recv(fd, &status, 1, 0) < 1) + { + _cupsLangPrintFilter(stderr, "WARNING", _("The printer did not respond.")); + status = (char)errno; + } + + fprintf(stderr, "DEBUG: lpd_command returning %d\n", status); + + return (status); +} + + +/* + * 'lpd_queue()' - Queue a file using the Line Printer Daemon protocol. + */ + +static int /* O - Zero on success, non-zero on failure */ +lpd_queue(const char *hostname, /* I - Host to connect to */ + http_addrlist_t *addrlist, /* I - List of host addresses */ + const char *printer, /* I - Printer/queue name */ + int print_fd, /* I - File to print */ + int snmp_fd, /* I - SNMP socket */ + int mode, /* I - Print mode */ + const char *user, /* I - Requesting user */ + const char *title, /* I - Job title */ + int copies, /* I - Number of copies */ + int banner, /* I - Print LPD banner? */ + int format, /* I - Format specifier */ + int order, /* I - Order of data/control files */ + int reserve, /* I - Reserve ports? */ + int manual_copies,/* I - Do copies by hand... */ + int timeout, /* I - Timeout... */ + int contimeout, /* I - Connection timeout */ + const char *orighost) /* I - job-originating-host-name */ +{ + char localhost[255]; /* Local host name */ + int error; /* Error number */ + struct stat filestats; /* File statistics */ + int lport; /* LPD connection local port */ + int fd; /* LPD socket */ + char control[10240], /* LPD control 'file' */ + *cptr; /* Pointer into control file string */ + char status; /* Status byte from command */ + int delay; /* Delay for retries... */ + char addrname[256]; /* Address name */ + http_addrlist_t *addr; /* Socket address */ + int have_supplies; /* Printer supports supply levels? */ + int copy; /* Copies written */ + time_t start_time; /* Time of first connect */ + ssize_t nbytes; /* Number of bytes written */ + off_t tbytes; /* Total bytes written */ + char buffer[32768]; /* Output buffer */ +#ifdef _WIN32 + DWORD tv; /* Timeout in milliseconds */ +#else + struct timeval tv; /* Timeout in secs and usecs */ +#endif /* _WIN32 */ + + + /* + * Remember when we started trying to connect to the printer... + */ + + start_time = time(NULL); + + /* + * Loop forever trying to print the file... + */ + + while (!abort_job) + { + /* + * First try to reserve a port for this connection... + */ + + fprintf(stderr, "DEBUG: Connecting to %s:%d for printer %s\n", hostname, + httpAddrPort(&(addrlist->addr)), printer); + _cupsLangPrintFilter(stderr, "INFO", _("Connecting to printer.")); + + for (lport = reserve == RESERVE_RFC1179 ? 732 : 1024, addr = addrlist, + delay = 5;; + addr = addr->next) + { + /* + * Stop if this job has been canceled... + */ + + if (abort_job) + return (CUPS_BACKEND_FAILED); + + /* + * Choose the next priviledged port... + */ + + if (!addr) + addr = addrlist; + + lport --; + + if (lport < 721 && reserve == RESERVE_RFC1179) + lport = 731; + else if (lport < 1) + lport = 1023; + +#ifdef HAVE_GETEUID + if (geteuid() || !reserve) +#else + if (getuid() || !reserve) +#endif /* HAVE_GETEUID */ + { + /* + * Just create a regular socket... + */ + + if ((fd = socket(addr->addr.addr.sa_family, SOCK_STREAM, 0)) < 0) + { + perror("DEBUG: Unable to create socket"); + sleep(1); + + continue; + } + + lport = 0; + } + else + { + /* + * We're running as root and want to comply with RFC 1179. Reserve a + * priviledged lport between 721 and 731... + */ + + if ((fd = cups_rresvport(&lport, addr->addr.addr.sa_family)) < 0) + { + perror("DEBUG: Unable to reserve port"); + sleep(1); + + continue; + } + } + + /* + * Connect to the printer or server... + */ + + if (abort_job) + { + close(fd); + + return (CUPS_BACKEND_FAILED); + } + + if (!connect(fd, &(addr->addr.addr), (socklen_t)httpAddrLength(&(addr->addr)))) + break; + + error = errno; + close(fd); + + if (addr->next) + continue; + + if (getenv("CLASS") != NULL) + { + /* + * If the CLASS environment variable is set, the job was submitted + * to a class and not to a specific queue. In this case, we want + * to abort immediately so that the job can be requeued on the next + * available printer in the class. + */ + + _cupsLangPrintFilter(stderr, "INFO", + _("Unable to contact printer, queuing on next " + "printer in class.")); + + /* + * Sleep 5 seconds to keep the job from requeuing too rapidly... + */ + + sleep(5); + + return (CUPS_BACKEND_FAILED); + } + + fprintf(stderr, "DEBUG: Connection error: %s\n", strerror(error)); + + if (errno == ECONNREFUSED || errno == EHOSTDOWN || errno == EHOSTUNREACH || errno == ETIMEDOUT || errno == ENOTCONN) + { + if (contimeout && (time(NULL) - start_time) > contimeout) + { + _cupsLangPrintFilter(stderr, "ERROR", + _("The printer is not responding.")); + return (CUPS_BACKEND_FAILED); + } + + switch (error) + { + case EHOSTDOWN : + _cupsLangPrintFilter(stderr, "WARNING", + _("The printer may not exist or " + "is unavailable at this time.")); + break; + + case EHOSTUNREACH : + default : + _cupsLangPrintFilter(stderr, "WARNING", + _("The printer is unreachable at " + "this time.")); + break; + + case ECONNREFUSED : + _cupsLangPrintFilter(stderr, "WARNING", + _("The printer is in use.")); + break; + } + + sleep((unsigned)delay); + + if (delay < 30) + delay += 5; + } + else if (error == EADDRINUSE) + { + /* + * Try on another port... + */ + + sleep(1); + } + else + { + _cupsLangPrintFilter(stderr, "ERROR", + _("The printer is not responding.")); + sleep(30); + } + } + + /* + * Set the timeout... + */ + +#ifdef _WIN32 + tv = (DWORD)(timeout * 1000); + + setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, (char *)&tv, sizeof(tv)); + setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, (char *)&tv, sizeof(tv)); +#else + tv.tv_sec = timeout; + tv.tv_usec = 0; + + setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); + setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv)); +#endif /* _WIN32 */ + + fputs("STATE: -connecting-to-device\n", stderr); + _cupsLangPrintFilter(stderr, "INFO", _("Connected to printer.")); + + fprintf(stderr, "DEBUG: Connected to %s:%d (local port %d)...\n", + httpAddrString(&(addr->addr), addrname, sizeof(addrname)), + httpAddrPort(&(addr->addr)), lport); + + /* + * See if the printer supports SNMP... + */ + + if (snmp_fd >= 0) + have_supplies = !backendSNMPSupplies(snmp_fd, &(addrlist->addr), NULL, + NULL); + else + have_supplies = 0; + + /* + * Check for side-channel requests... + */ + + backendCheckSideChannel(snmp_fd, &(addrlist->addr)); + + /* + * Next, open the print file and figure out its size... + */ + + if (print_fd) + { + /* + * Use the size from the print file... + */ + + if (fstat(print_fd, &filestats)) + { + close(fd); + + perror("DEBUG: unable to stat print file"); + return (CUPS_BACKEND_FAILED); + } + + filestats.st_size *= manual_copies; + } + else + { + /* + * Use a "very large value" for the size so that the printer will + * keep printing until we close the connection... + */ + +#ifdef _LARGEFILE_SOURCE + filestats.st_size = (size_t)(999999999999.0); +#else + filestats.st_size = 2147483647; +#endif /* _LARGEFILE_SOURCE */ + } + + /* + * Send a job header to the printer, specifying no banner page and + * literal output... + */ + + if (lpd_command(fd, "\002%s\n", + printer)) /* Receive print job(s) */ + { + close(fd); + return (CUPS_BACKEND_FAILED); + } + + if (orighost && _cups_strcasecmp(orighost, "localhost")) + strlcpy(localhost, orighost, sizeof(localhost)); + else + httpGetHostname(NULL, localhost, sizeof(localhost)); + + snprintf(control, sizeof(control), + "H%.31s\n" /* RFC 1179, Section 7.2 - host name <= 31 chars */ + "P%.31s\n" /* RFC 1179, Section 7.2 - user name <= 31 chars */ + "J%.99s\n", /* RFC 1179, Section 7.2 - job name <= 99 chars */ + localhost, user, title); + cptr = control + strlen(control); + + if (banner) + { + snprintf(cptr, sizeof(control) - (size_t)(cptr - control), + "C%.31s\n" /* RFC 1179, Section 7.2 - class name <= 31 chars */ + "L%s\n", + localhost, user); + cptr += strlen(cptr); + } + + while (copies > 0) + { + snprintf(cptr, sizeof(control) - (size_t)(cptr - control), "%cdfA%03d%.15s\n", + format, (int)getpid() % 1000, localhost); + cptr += strlen(cptr); + copies --; + } + + snprintf(cptr, sizeof(control) - (size_t)(cptr - control), + "UdfA%03d%.15s\n" + "N%.131s\n", /* RFC 1179, Section 7.2 - sourcefile name <= 131 chars */ + (int)getpid() % 1000, localhost, title); + + fprintf(stderr, "DEBUG: Control file is:\n%s", control); + + if (order == ORDER_CONTROL_DATA) + { + /* + * Check for side-channel requests... + */ + + backendCheckSideChannel(snmp_fd, &(addr->addr)); + + /* + * Send the control file... + */ + + if (lpd_command(fd, "\002%d cfA%03d%.15s\n", (int)strlen(control), + (int)getpid() % 1000, localhost)) + { + close(fd); + + return (CUPS_BACKEND_FAILED); + } + + fprintf(stderr, "DEBUG: Sending control file (%u bytes)\n", + (unsigned)strlen(control)); + + if ((size_t)lpd_write(fd, control, strlen(control) + 1) < (strlen(control) + 1)) + { + status = (char)errno; + perror("DEBUG: Unable to write control file"); + + } + else + { + if (read(fd, &status, 1) < 1) + { + _cupsLangPrintFilter(stderr, "WARNING", + _("The printer did not respond.")); + status = (char)errno; + } + } + + if (status != 0) + _cupsLangPrintFilter(stderr, "ERROR", + _("Remote host did not accept control file (%d)."), + status); + else + _cupsLangPrintFilter(stderr, "INFO", + _("Control file sent successfully.")); + } + else + status = 0; + + if (status == 0) + { + /* + * Check for side-channel requests... + */ + + backendCheckSideChannel(snmp_fd, &(addr->addr)); + + /* + * Send the print file... + */ + + if (lpd_command(fd, "\003" CUPS_LLFMT " dfA%03d%.15s\n", + CUPS_LLCAST filestats.st_size, (int)getpid() % 1000, + localhost)) + { + close(fd); + + return (CUPS_BACKEND_FAILED); + } + + fprintf(stderr, "DEBUG: Sending data file (" CUPS_LLFMT " bytes)\n", + CUPS_LLCAST filestats.st_size); + + tbytes = 0; + for (copy = 0; copy < manual_copies; copy ++) + { + lseek(print_fd, 0, SEEK_SET); + + while ((nbytes = read(print_fd, buffer, sizeof(buffer))) > 0) + { + _cupsLangPrintFilter(stderr, "INFO", + _("Spooling job, %.0f%% complete."), + 100.0 * tbytes / filestats.st_size); + + if (lpd_write(fd, buffer, (size_t)nbytes) < nbytes) + { + perror("DEBUG: Unable to send print file to printer"); + break; + } + else + tbytes += nbytes; + } + } + + if (mode == MODE_STANDARD) + { + if (tbytes < filestats.st_size) + status = (char)errno; + else if (lpd_write(fd, "", 1) < 1) + { + perror("DEBUG: Unable to send trailing nul to printer"); + status = (char)errno; + } + else + { + /* + * Read the status byte from the printer; if we can't read the byte + * back now, we should set status to "errno", however at this point + * we know the printer got the whole file and we don't necessarily + * want to requeue it over and over... + */ + + if (recv(fd, &status, 1, 0) < 1) + { + _cupsLangPrintFilter(stderr, "WARNING", + _("The printer did not respond.")); + status = 0; + } + } + } + else + status = 0; + + if (status != 0) + _cupsLangPrintFilter(stderr, "ERROR", + _("Remote host did not accept data file (%d)."), + status); + else + _cupsLangPrintFilter(stderr, "INFO", + _("Data file sent successfully.")); + } + + if (status == 0 && order == ORDER_DATA_CONTROL) + { + /* + * Check for side-channel requests... + */ + + backendCheckSideChannel(snmp_fd, &(addr->addr)); + + /* + * Send control file... + */ + + if (lpd_command(fd, "\002%d cfA%03d%.15s\n", (int)strlen(control), + (int)getpid() % 1000, localhost)) + { + close(fd); + + return (CUPS_BACKEND_FAILED); + } + + fprintf(stderr, "DEBUG: Sending control file (%lu bytes)\n", + (unsigned long)strlen(control)); + + if ((size_t)lpd_write(fd, control, strlen(control) + 1) < (strlen(control) + 1)) + { + status = (char)errno; + perror("DEBUG: Unable to write control file"); + } + else + { + if (read(fd, &status, 1) < 1) + { + _cupsLangPrintFilter(stderr, "WARNING", + _("The printer did not respond.")); + status = (char)errno; + } + } + + if (status != 0) + _cupsLangPrintFilter(stderr, "ERROR", + _("Remote host did not accept control file (%d)."), + status); + else + _cupsLangPrintFilter(stderr, "INFO", + _("Control file sent successfully.")); + } + + fputs("STATE: +cups-waiting-for-job-completed\n", stderr); + + /* + * Collect the final supply levels as needed... + */ + + if (have_supplies) + backendSNMPSupplies(snmp_fd, &(addr->addr), NULL, NULL); + + /* + * Close the socket connection and input file... + */ + + close(fd); + + if (status == 0) + return (CUPS_BACKEND_OK); + + /* + * Waiting for a retry... + */ + + sleep(30); + } + + /* + * If we get here, then the job has been canceled... + */ + + return (CUPS_BACKEND_FAILED); +} + + +/* + * 'lpd_write()' - Write a buffer of data to an LPD server. + */ + +static ssize_t /* O - Number of bytes written or -1 on error */ +lpd_write(int lpd_fd, /* I - LPD socket */ + char *buffer, /* I - Buffer to write */ + size_t length) /* I - Number of bytes to write */ +{ + ssize_t bytes, /* Number of bytes written */ + total; /* Total number of bytes written */ + + + if (abort_job) + return (-1); + + total = 0; + while ((bytes = send(lpd_fd, buffer, length - (size_t)total, 0)) >= 0) + { + total += bytes; + buffer += bytes; + + if ((size_t)total == length) + break; + } + + if (bytes < 0) + return (-1); + else + return (total); +} + + +/* + * 'sigterm_handler()' - Handle 'terminate' signals that stop the backend. + */ + +static void +sigterm_handler(int sig) /* I - Signal */ +{ + (void)sig; /* remove compiler warnings... */ + + abort_job = 1; +} diff --git a/backend/network.c b/backend/network.c new file mode 100644 index 0000000..5af0a8e --- /dev/null +++ b/backend/network.c @@ -0,0 +1,354 @@ +/* + * Common backend network APIs for CUPS. + * + * Copyright © 2007-2016 by Apple Inc. + * Copyright © 2006-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include "backend-private.h" +#include +#include + + +/* + * 'backendCheckSideChannel()' - Check the side-channel for pending requests. + */ + +void +backendCheckSideChannel( + int snmp_fd, /* I - SNMP socket */ + http_addr_t *addr) /* I - Address of device */ +{ + fd_set input; /* Select input set */ + struct timeval timeout; /* Select timeout */ + + + FD_ZERO(&input); + FD_SET(CUPS_SC_FD, &input); + + timeout.tv_sec = timeout.tv_usec = 0; + + if (select(CUPS_SC_FD + 1, &input, NULL, NULL, &timeout) > 0) + backendNetworkSideCB(-1, -1, snmp_fd, addr, 0); +} + + +/* + * 'backendLookup()' - Lookup the given host and log addresses. + */ + +http_addrlist_t * /* O - List of addresses or NULL */ +backendLookup(const char *hostname, /* I - Hostname */ + int port, /* I - Port number */ + int *cancel) /* I - Variable to watch for job cancel */ +{ + char portname[32], /* Port number as string */ + addrname[256]; /* Address as string */ + http_addrlist_t *addrlist, /* List of addresses */ + *current; /* Current address */ + + + /* + * Lookup the address for the named host... + */ + + snprintf(portname, sizeof(portname), "%d", port); + + fputs("STATE: +connecting-to-device\n", stderr); + fprintf(stderr, "DEBUG: Looking up \"%s\"...\n", hostname); + + while ((addrlist = httpAddrGetList(hostname, AF_UNSPEC, portname)) == NULL) + { + _cupsLangPrintFilter(stderr, "INFO", _("Unable to locate printer \"%s\"."), hostname); + sleep(10); + + if (getenv("CLASS") != NULL) + { + fputs("STATE: -connecting-to-device\n", stderr); + exit(CUPS_BACKEND_STOP); + } + + if (cancel && *cancel) + { + fputs("STATE: -connecting-to-device\n", stderr); + exit(CUPS_BACKEND_OK); + } + } + + fputs("STATE: -connecting-to-device\n", stderr); + + /* + * Log the addresses we got... + */ + + for (current = addrlist; current; current = current->next) + fprintf(stderr, "DEBUG: %s=%s\n", hostname, httpAddrString(¤t->addr, addrname, sizeof(addrname))); + + /* + * Return... + */ + + return (addrlist); +} + + +/* + * 'backendNetworkSideCB()' - Handle common network side-channel commands. + */ + +int /* O - -1 on error, 0 on success */ +backendNetworkSideCB( + int print_fd, /* I - Print file or -1 */ + int device_fd, /* I - Device file or -1 */ + int snmp_fd, /* I - SNMP socket */ + http_addr_t *addr, /* I - Address of device */ + int use_bc) /* I - Use back-channel data? */ +{ + cups_sc_command_t command; /* Request command */ + cups_sc_status_t status; /* Request/response status */ + char data[65536]; /* Request/response data */ + int datalen; /* Request/response data size */ + const char *device_id; /* 1284DEVICEID env var */ + + + datalen = sizeof(data); + + if (cupsSideChannelRead(&command, &status, data, &datalen, 1.0)) + return (-1); + + switch (command) + { + case CUPS_SC_CMD_DRAIN_OUTPUT : + /* + * Our sockets disable the Nagle algorithm and data is sent immediately. + */ + + if (device_fd < 0) + status = CUPS_SC_STATUS_NOT_IMPLEMENTED; + else if (backendDrainOutput(print_fd, device_fd)) + status = CUPS_SC_STATUS_IO_ERROR; + else + status = CUPS_SC_STATUS_OK; + + datalen = 0; + break; + + case CUPS_SC_CMD_GET_BIDI : + status = CUPS_SC_STATUS_OK; + data[0] = (char)use_bc; + datalen = 1; + break; + + case CUPS_SC_CMD_SNMP_GET : + case CUPS_SC_CMD_SNMP_GET_NEXT : + fprintf(stderr, "DEBUG: CUPS_SC_CMD_SNMP_%s: %d (%s)\n", + command == CUPS_SC_CMD_SNMP_GET ? "GET" : "GET_NEXT", datalen, + data); + + if (datalen < 2) + { + status = CUPS_SC_STATUS_BAD_MESSAGE; + datalen = 0; + break; + } + + if (snmp_fd >= 0) + { + char *dataptr; /* Pointer into data */ + cups_snmp_t packet; /* Packet from printer */ + const char *snmp_value; /* CUPS_SNMP_VALUE env var */ + + if ((snmp_value = getenv("CUPS_SNMP_VALUE")) != NULL) + { + const char *snmp_count; /* CUPS_SNMP_COUNT env var */ + int count; /* Repetition count */ + + if ((snmp_count = getenv("CUPS_SNMP_COUNT")) != NULL) + { + if ((count = atoi(snmp_count)) <= 0) + count = 1; + } + else + count = 1; + + for (dataptr = data + strlen(data) + 1; + count > 0 && dataptr < (data + sizeof(data) - 1); + count --, dataptr += strlen(dataptr)) + strlcpy(dataptr, snmp_value, sizeof(data) - (size_t)(dataptr - data)); + + fprintf(stderr, "DEBUG: Returning %s %s\n", data, + data + strlen(data) + 1); + + status = CUPS_SC_STATUS_OK; + datalen = (int)(dataptr - data); + break; + } + + if (!_cupsSNMPStringToOID(data, packet.object_name, CUPS_SNMP_MAX_OID)) + { + status = CUPS_SC_STATUS_BAD_MESSAGE; + datalen = 0; + break; + } + + status = CUPS_SC_STATUS_IO_ERROR; + datalen = 0; + + if (_cupsSNMPWrite(snmp_fd, addr, CUPS_SNMP_VERSION_1, + _cupsSNMPDefaultCommunity(), + command == CUPS_SC_CMD_SNMP_GET ? + CUPS_ASN1_GET_REQUEST : + CUPS_ASN1_GET_NEXT_REQUEST, 1, + packet.object_name)) + { + if (_cupsSNMPRead(snmp_fd, &packet, 1.0)) + { + size_t i; /* Looping var */ + + + if (!_cupsSNMPOIDToString(packet.object_name, data, sizeof(data))) + { + fputs("DEBUG: Bad OID returned!\n", stderr); + break; + } + + datalen = (int)strlen(data) + 1; + dataptr = data + datalen; + + switch (packet.object_type) + { + case CUPS_ASN1_BOOLEAN : + snprintf(dataptr, sizeof(data) - (size_t)(dataptr - data), "%d", packet.object_value.boolean); + datalen += (int)strlen(dataptr); + break; + + case CUPS_ASN1_INTEGER : + snprintf(dataptr, sizeof(data) - (size_t)(dataptr - data), "%d", + packet.object_value.integer); + datalen += (int)strlen(dataptr); + break; + + case CUPS_ASN1_BIT_STRING : + case CUPS_ASN1_OCTET_STRING : + if (packet.object_value.string.num_bytes < (sizeof(data) - (size_t)(dataptr - data))) + i = packet.object_value.string.num_bytes; + else + i = sizeof(data) - (size_t)(dataptr - data); + + memcpy(dataptr, packet.object_value.string.bytes, i); + + datalen += (int)i; + break; + + case CUPS_ASN1_OID : + _cupsSNMPOIDToString(packet.object_value.oid, dataptr, + sizeof(data) - (size_t)(dataptr - data)); + datalen += (int)strlen(dataptr); + break; + + case CUPS_ASN1_HEX_STRING : + for (i = 0; + i < packet.object_value.string.num_bytes && + dataptr < (data + sizeof(data) - 3); + i ++, dataptr += 2) + sprintf(dataptr, "%02X", packet.object_value.string.bytes[i]); + datalen += (int)strlen(dataptr); + break; + + case CUPS_ASN1_COUNTER : + snprintf(dataptr, sizeof(data) - (size_t)(dataptr - data), "%u", packet.object_value.counter); + datalen += (int)strlen(dataptr); + break; + + case CUPS_ASN1_GAUGE : + snprintf(dataptr, sizeof(data) - (size_t)(dataptr - data), "%u", packet.object_value.gauge); + datalen += (int)strlen(dataptr); + break; + + case CUPS_ASN1_TIMETICKS : + snprintf(dataptr, sizeof(data) - (size_t)(dataptr - data), "%u", packet.object_value.timeticks); + datalen += (int)strlen(dataptr); + break; + + default : + fprintf(stderr, "DEBUG: Unknown OID value type %02X.\n", packet.object_type); + + case CUPS_ASN1_NULL_VALUE : + dataptr[0] = '\0'; + break; + } + + fprintf(stderr, "DEBUG: Returning %s %s\n", data, data + datalen); + + status = CUPS_SC_STATUS_OK; + } + else + fputs("DEBUG: SNMP read error...\n", stderr); + } + else + fputs("DEBUG: SNMP write error...\n", stderr); + break; + } + + status = CUPS_SC_STATUS_NOT_IMPLEMENTED; + datalen = 0; + break; + + case CUPS_SC_CMD_GET_CONNECTED : + status = CUPS_SC_STATUS_OK; + data[0] = device_fd != -1; + datalen = 1; + break; + + case CUPS_SC_CMD_GET_DEVICE_ID : + if (snmp_fd >= 0) + { + cups_snmp_t packet; /* Packet from printer */ + static const int ppmPrinterIEEE1284DeviceId[] = + { CUPS_OID_ppmPrinterIEEE1284DeviceId,1,-1 }; + + + status = CUPS_SC_STATUS_IO_ERROR; + datalen = 0; + + if (_cupsSNMPWrite(snmp_fd, addr, CUPS_SNMP_VERSION_1, + _cupsSNMPDefaultCommunity(), + CUPS_ASN1_GET_REQUEST, 1, + ppmPrinterIEEE1284DeviceId)) + { + if (_cupsSNMPRead(snmp_fd, &packet, 1.0) && + packet.object_type == CUPS_ASN1_OCTET_STRING) + { + strlcpy(data, (char *)packet.object_value.string.bytes, + sizeof(data)); + datalen = (int)strlen(data); + status = CUPS_SC_STATUS_OK; + } + } + + break; + } + + if ((device_id = getenv("1284DEVICEID")) != NULL) + { + strlcpy(data, device_id, sizeof(data)); + datalen = (int)strlen(data); + status = CUPS_SC_STATUS_OK; + break; + } + + default : + status = CUPS_SC_STATUS_NOT_IMPLEMENTED; + datalen = 0; + break; + } + + return (cupsSideChannelWrite(command, status, data, datalen, 1.0)); +} diff --git a/backend/org.cups.usb-quirks b/backend/org.cups.usb-quirks new file mode 100644 index 0000000..cd684d3 --- /dev/null +++ b/backend/org.cups.usb-quirks @@ -0,0 +1,304 @@ +# USB backend 'quirks' file. +# +# This file lists known issues with various vendors or printers. Each +# line contains either a comment (starting with #) or the USB vendor ID, +# product ID (omit for all vendor products), and a list of known issues: +# +# blacklist The printer is not functional with the USB backend. +# delay-close Delay close/reset of selected interface +# no-reattach Do no re-attach usblp kernel module after printing. +# soft-reset Do a soft reset after printing for cleanup. +# unidir Only supports unidirectional I/O +# usb-init Needs vendor USB initialization string. +# vendor-class Uses vendor-specific class or subclass. +# whitelist The printer is functional with the USB backend. +# +# To get the USB vendor and product IDs for a given printer, run the "lsusb" +# command, which will show something like the following: +# +# Bus 002 Device 003: ID ab21:34dc Acme Example Printer +# +# The "ab21:34dc" is the vendor and product ID, separated by a colon. + +# HP DeskJet 895C +0x03f0 0x0004 unidir + +# HP DeskJet 880C +0x03f0 0x0104 unidir + +# HP DeskJet 815C +0x03f0 0x0204 unidir + +# HP DeskJet 810C/812C +0x03f0 0x0304 unidir + +# HP DeskJet 830C +0x03f0 0x0404 unidir + +# HP DeskJet 885C +0x03f0 0x0504 unidir + +# HP DeskJet 840C +0x03f0 0x0604 unidir + +# HP DeskJet 816C +0x03f0 0x0804 unidir + +# HP Deskjet 959C +0x03f0 0x1104 unidir + +# NEC Picty900 (HP OEM) +0x0409 0xefbe unidir + +# NEC Picty760 (HP OEM) +0x0409 0xbef4 unidir + +# NEC Picty920 (HP OEM) +0x0409 0xf0be unidir + +# NEC Picty800 (HP OEM) +0x0409 0xf1be unidir + +# Lexmark International, Inc. (e250d) (https://bugs.launchpad.net/bugs/1084164) +0x043d 0x00f3 no-reattach + +# Kyocera Mita FS 820, by zut +0x0482 0x0010 unidir + +# Canon, Inc. PIXMA iP6000D Printer (https://bugs.launchpad.net/bugs/1160638) +0x04a9 0x1095 unidir + +# Canon, Inc. PIXMA iP4200 Printer (Issue #4155) +0x04a9 0x10a2 unidir + +# Canon, Inc. PIXMA iP4300 Printer (https://bugs.launchpad.net/bugs/1032385) +0x04a9 0x10b6 unidir + +# Canon, Inc. MP210 (https://bugzilla.redhat.com/show_bug.cgi?id=847923#c53) +0x04a9 0x1721 unidir + +# Canon, Inc. MP500 Printer (https://bugs.launchpad.net/bugs/1032456) +0x04a9 0x170c unidir + +# Canon, Inc. MP510 Printer (https://bugs.launchpad.net/bugs/1050009) +0x04a9 0x1717 unidir + +# Canon, Inc. MP540 Printer, https://bugzilla.redhat.com/967873 +0x04a9 0x1730 unidir + +# Canon, Inc. MP550 Printer (Issue #4155) +0x04a9 0x173d unidir + +# Canon, Inc. MP560 Printer (Issue #4155) +0x04a9 0x173e unidir + +# Canon, Inc. MF4150 Printer (https://bugs.launchpad.net/bugs/1160638) +0x04a9 0x26a3 no-reattach + +# Brother Industries, Ltd HL-1250 Laser Printer (https://bugs.debian.org/712512) +0x04f9 0x0007 no-reattach + +# Brother Industries, Ltd HL-1430 Laser Printer (https://bugs.launchpad.net/bugs/1038695) +0x04f9 0x001a no-reattach + +# Brother Industries, Ltd HL-1440 Laser Printer (https://bugs.launchpad.net/bugs/1000253) +0x04f9 0x000d no-reattach unidir + +# Brother Industries, Ltd HL-1450 Laser Printer (https://bugs.launchpad.net/bugs/1000253) +0x04f9 0x000e no-reattach unidir + +# Oki Data Corp. Okipage 14ex Printer (https://bugs.launchpad.net/bugs/872483) +0x06bc 0x000b no-reattach + +# Oki Data Corp. B410d (https://bugs.launchpad.net/bugs/872483) +0x06bc 0x01c7 no-reattach + +# Seiko Epson Corp. Stylus Color 740 / Photo 750 (http://bugs.debian.org/697970) +0x04b8 0x0001 no-reattach unidir + +# Seiko Epson Corp. Stylus Color 670 (https://bugs.launchpad.net/bugs/872483) +0x04b8 0x0005 no-reattach + +# Seiko Epson Receipt Printer M129C +0x04b8 0x0202 vendor-class + +# Prolific Technology, Inc. PL2305 Parallel Port (USB -> Parallel adapter) (https://bugs.launchpad.net/bugs/987485) +0x067b 0x2305 no-reattach soft-reset unidir + +# Xerox Phaser 3124 https://bugzilla.redhat.com/show_bug.cgi?id=867392 +0x0924 0x3ce9 no-reattach + +# Xerox WorkCentre 3210 https://bugs.launchpad.net/bugs/1102470 +0x0924 0x4293 no-reattach + +# QinHeng Electronics CH340S (USB -> Parallel adapter) (https://bugs.launchpad.net/bugs/1000253) +0x1a86 0x7584 no-reattach + +# All Samsung devices (https://bugs.launchpad.net/bugs/1032456) +0x04e8 soft-reset + +# Samsung ML-2160 Series (https://bugzilla.redhat.com/show_bug.cgi?id=873123) +0x04e8 0x330f unidir + +# All Zebra devices (https://bugs.launchpad.net/bugs/1001028) (Issue #5395) +0x0a5f unidir no-reattach + +# Canon CP-10 +0x04a9 0x304a blacklist + +# Canon CP-100 +0x04a9 0x3063 blacklist + +# Canon CP-200 +0x04a9 0x307c blacklist + +# Canon CP-300 +0x04a9 0x307d blacklist + +# Canon CP-220 +0x04a9 0x30bd blacklist + +# Canon CP-330 +0x04a9 0x30be blacklist + +# Canon SELPHY CP400 +0x04a9 0x30f6 blacklist + +# Canon SELPHY CP600 +0x04a9 0x310b blacklist + +# Canon SELPHY CP710 +0x04a9 0x3127 blacklist + +# Canon SELPHY CP510 +0x04a9 0x3128 blacklist + +# Canon SELPHY ES1 +0x04a9 0x3141 blacklist + +# Canon SELPHY CP730 +0x04a9 0x3142 blacklist + +# Canon SELPHY CP720 +0x04a9 0x3143 blacklist + +# Canon SELPHY CP750 +0x04a9 0x3170 blacklist + +# Canon SELPHY CP740 +0x04a9 0x3171 blacklist + +# Canon SELPHY ES2 +0x04a9 0x3185 blacklist + +# Canon SELPHY ES20 +0x04a9 0x3186 blacklist + +# Canon SELPHY CP770 +0x04a9 0x31aa blacklist + +# Canon SELPHY CP760 +0x04a9 0x31ab blacklist + +# Canon SELPHY ES30 +0x04a9 0x31b0 blacklist + +# Canon SELPHY CP780 +0x04a9 0x31dd blacklist + +# Canon SELPHY ES40 +0x04a9 0x31ee blacklist + +# Canon SELPHY CP800 +0x04a9 0x3214 blacklist + +# Canon SELPHY CP900 +0x04a9 0x3255 blacklist + +# Canon SELPHY CP810 +0x04a9 0x3256 blacklist + +# Canon SELPHY CP500 +0x04a9 0x30f5 blacklist + +# Canon SELPHY ES3 +0x04a9 0x31af blacklist + +# Canon SELPHY CP780 +0x04a9 0x31dd blacklist + +# Lexmark E238 () +0x043d 0x00d7 no-reattach + +# Lexmark E238 (Issue #4448) +0x043d 0x009a no-reattach + +# Canon MX310 (Issue #4482) +0x04a9 0x1728 unidir + +# Canon MX320 (Issue #4482) +0x04A9 0x1736 unidir + +# All Intermec devices (Issue #4553) +0x067e no-reattach + +# HP LaserJet 1015 (Issue #5617) +0x03f0 0x0e17 delay-close + +# HP LaserJet 1150 (Issue #4549) +0x03f0 0x0f17 delay-close + +# HP LaserJet 1300 (Issue #4549) +0x03f0 0x1017 delay-close +0x03f0 0x1117 delay-close + +# HP LaserJet 1320 (Issue #4549) +0x03f0 0x1d17 delay-close + +# Canon, Inc. MP530 Printer +0x04a9 0x1712 unidir + +# Xerox WorkCentre 3220 (https://bugs.launchpad.net/bugs/1406203, Issue #4789) +0x0924 0x4294 no-reattach + +# Lexmark C540n (Issue #4778) +0x043d 0x0139 no-reattach + +# Kyocera Ecosys P6026cdn (Issue #4900) +0x0482 0x063f no-reattach + +# Kyocera Ecosys P6130cdn (Issue #5102) +0x0482 0x0677 no-reattach + +# Lexmark E260dn (Issue #4994) +0x043d 0x0123 no-reattach + +# HP LaserJet 1160 (Issue #5121) +0x03f0 0x1e17 delay-close + +# Canon, Inc. MP280 series (Issue #5221) +0x04a9 0x1746 unidir + +# Star Micronics printers (Issue #5251) +0x0519 unidir + +# Lexmark Optra E310 (Issue #5259) +0x043d 0x000c no-reattach + +# HP LaserJet P1102 (Issue #5310) +0x03F0 0x002A no-reattach + +# Lexmark MS317dn +0x043d 0x0226 no-reattach + +# Star TSP743 (Issue #5443) +0x0519 0x0001 delay-close + +# Lexmark E120n (Issue #5478) +0x043d 0x00cc no-reattach + +# All Xerox printers (Issue #5523) +0x0924 no-reattach + +# Dymo 450 Turbo (Issue #5521) +0x0922 0x0021 unidir diff --git a/backend/pseudo b/backend/pseudo new file mode 100644 index 0000000..fb7facd --- /dev/null +++ b/backend/pseudo @@ -0,0 +1,24 @@ +#!/bin/sh +# +# Psuedo-backend for CUPS testing purposes. +# +# Copyright 2011 by Apple Inc. +# +# These coded instructions, statements, and computer programs are the +# property of Apple Inc. and are protected by Federal copyright +# law. Distribution and use rights are outlined in the file "LICENSE.txt" +# which should have been included with this file. If this file is +# file is missing or damaged, see the license at "http://www.cups.org/". +# +# This file is subject to the Apple OS-Developed Software exception. +# + +if test $# = 0; then + echo 'direct pseudo:///deskjet "HP DeskJet" "HP DeskJet (pseudo)" "MFG:HP;MDL:DeskJet;CMD:PCL;" "Nowhere"' + echo 'direct pseudo:///laserjet "HP LaserJet" "HP LaserJet (pseudo)" "MFG:HP;MDL:LaserJet;CMD:PCL;" "Nowhere"' + exit 0 +fi + +cat $6 >/dev/null +sleep 5 +exit 0 diff --git a/backend/runloop.c b/backend/runloop.c new file mode 100644 index 0000000..418ab25 --- /dev/null +++ b/backend/runloop.c @@ -0,0 +1,520 @@ +/* + * Common run loop APIs for CUPS backends. + * + * Copyright © 2007-2014 by Apple Inc. + * Copyright © 2006-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include "backend-private.h" +#include +#include + + +/* + * 'backendDrainOutput()' - Drain pending print data to the device. + */ + +int /* O - 0 on success, -1 on error */ +backendDrainOutput(int print_fd, /* I - Print file descriptor */ + int device_fd) /* I - Device file descriptor */ +{ + int nfds; /* Maximum file descriptor value + 1 */ + fd_set input; /* Input set for reading */ + ssize_t print_bytes, /* Print bytes read */ + bytes; /* Bytes written */ + char print_buffer[8192], /* Print data buffer */ + *print_ptr; /* Pointer into print data buffer */ + struct timeval timeout; /* Timeout for read... */ + + + fprintf(stderr, "DEBUG: backendDrainOutput(print_fd=%d, device_fd=%d)\n", + print_fd, device_fd); + + /* + * Figure out the maximum file descriptor value to use with select()... + */ + + nfds = (print_fd > device_fd ? print_fd : device_fd) + 1; + + /* + * Now loop until we are out of data from print_fd... + */ + + for (;;) + { + /* + * Use select() to determine whether we have data to copy around... + */ + + FD_ZERO(&input); + FD_SET(print_fd, &input); + + timeout.tv_sec = 0; + timeout.tv_usec = 0; + + if (select(nfds, &input, NULL, NULL, &timeout) < 0) + return (-1); + + if (!FD_ISSET(print_fd, &input)) + return (0); + + if ((print_bytes = read(print_fd, print_buffer, + sizeof(print_buffer))) < 0) + { + /* + * Read error - bail if we don't see EAGAIN or EINTR... + */ + + if (errno != EAGAIN && errno != EINTR) + { + fprintf(stderr, "DEBUG: Read failed: %s\n", strerror(errno)); + _cupsLangPrintFilter(stderr, "ERROR", _("Unable to read print data.")); + return (-1); + } + + print_bytes = 0; + } + else if (print_bytes == 0) + { + /* + * End of file, return... + */ + + return (0); + } + + fprintf(stderr, "DEBUG: Read %d bytes of print data...\n", + (int)print_bytes); + + for (print_ptr = print_buffer; print_bytes > 0;) + { + if ((bytes = write(device_fd, print_ptr, (size_t)print_bytes)) < 0) + { + /* + * Write error - bail if we don't see an error we can retry... + */ + + if (errno != ENOSPC && errno != ENXIO && errno != EAGAIN && + errno != EINTR && errno != ENOTTY) + { + _cupsLangPrintError("ERROR", _("Unable to write print data")); + return (-1); + } + } + else + { + fprintf(stderr, "DEBUG: Wrote %d bytes of print data...\n", (int)bytes); + + print_bytes -= bytes; + print_ptr += bytes; + } + } + } +} + + +/* + * 'backendRunLoop()' - Read and write print and back-channel data. + */ + +ssize_t /* O - Total bytes on success, -1 on error */ +backendRunLoop( + int print_fd, /* I - Print file descriptor */ + int device_fd, /* I - Device file descriptor */ + int snmp_fd, /* I - SNMP socket or -1 if none */ + http_addr_t *addr, /* I - Address of device */ + int use_bc, /* I - Use back-channel? */ + int update_state, /* I - Update printer-state-reasons? */ + _cups_sccb_t side_cb) /* I - Side-channel callback */ +{ + int nfds; /* Maximum file descriptor value + 1 */ + fd_set input, /* Input set for reading */ + output; /* Output set for writing */ + ssize_t print_bytes, /* Print bytes read */ + bc_bytes, /* Backchannel bytes read */ + total_bytes, /* Total bytes written */ + bytes; /* Bytes written */ + int paperout; /* "Paper out" status */ + int offline; /* "Off-line" status */ + char print_buffer[8192], /* Print data buffer */ + *print_ptr, /* Pointer into print data buffer */ + bc_buffer[1024]; /* Back-channel data buffer */ + struct timeval timeout; /* Timeout for select() */ + time_t curtime, /* Current time */ + snmp_update = 0; +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* Actions for POSIX signals */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ + + + fprintf(stderr, + "DEBUG: backendRunLoop(print_fd=%d, device_fd=%d, snmp_fd=%d, " + "addr=%p, use_bc=%d, side_cb=%p)\n", + print_fd, device_fd, snmp_fd, addr, use_bc, side_cb); + + /* + * If we are printing data from a print driver on stdin, ignore SIGTERM + * so that the driver can finish out any page data, e.g. to eject the + * current page. We only do this for stdin printing as otherwise there + * is no way to cancel a raw print job... + */ + + if (!print_fd) + { +#ifdef HAVE_SIGSET /* Use System V signals over POSIX to avoid bugs */ + sigset(SIGTERM, SIG_IGN); +#elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + + sigemptyset(&action.sa_mask); + action.sa_handler = SIG_IGN; + sigaction(SIGTERM, &action, NULL); +#else + signal(SIGTERM, SIG_IGN); +#endif /* HAVE_SIGSET */ + } + else if (print_fd < 0) + { + /* + * Copy print data from stdin, but don't mess with the signal handlers... + */ + + print_fd = 0; + } + + /* + * Figure out the maximum file descriptor value to use with select()... + */ + + nfds = (print_fd > device_fd ? print_fd : device_fd) + 1; + + /* + * Now loop until we are out of data from print_fd... + */ + + for (print_bytes = 0, print_ptr = print_buffer, offline = -1, + paperout = -1, total_bytes = 0;;) + { + /* + * Use select() to determine whether we have data to copy around... + */ + + FD_ZERO(&input); + if (!print_bytes) + FD_SET(print_fd, &input); + if (use_bc) + FD_SET(device_fd, &input); + if (!print_bytes && side_cb) + FD_SET(CUPS_SC_FD, &input); + + FD_ZERO(&output); + if (print_bytes || (!use_bc && !side_cb)) + FD_SET(device_fd, &output); + + if (use_bc || side_cb) + { + timeout.tv_sec = 5; + timeout.tv_usec = 0; + + if (select(nfds, &input, &output, NULL, &timeout) < 0) + { + /* + * Pause printing to clear any pending errors... + */ + + if (errno == ENXIO && offline != 1 && update_state) + { + fputs("STATE: +offline-report\n", stderr); + _cupsLangPrintFilter(stderr, "INFO", + _("The printer is not connected.")); + offline = 1; + } + else if (errno == EINTR && total_bytes == 0) + { + fputs("DEBUG: Received an interrupt before any bytes were " + "written, aborting.\n", stderr); + return (0); + } + + sleep(1); + continue; + } + } + + /* + * Check if we have a side-channel request ready... + */ + + if (side_cb && FD_ISSET(CUPS_SC_FD, &input)) + { + /* + * Do the side-channel request, then start back over in the select + * loop since it may have read from print_fd... + */ + + if ((*side_cb)(print_fd, device_fd, snmp_fd, addr, use_bc)) + side_cb = NULL; + continue; + } + + /* + * Check if we have back-channel data ready... + */ + + if (FD_ISSET(device_fd, &input)) + { + if ((bc_bytes = read(device_fd, bc_buffer, sizeof(bc_buffer))) > 0) + { + fprintf(stderr, + "DEBUG: Received " CUPS_LLFMT " bytes of back-channel data\n", + CUPS_LLCAST bc_bytes); + cupsBackChannelWrite(bc_buffer, (size_t)bc_bytes, 1.0); + } + else if (bc_bytes < 0 && errno != EAGAIN && errno != EINTR) + { + fprintf(stderr, "DEBUG: Error reading back-channel data: %s\n", + strerror(errno)); + use_bc = 0; + } + else if (bc_bytes == 0) + use_bc = 0; + } + + /* + * Check if we have print data ready... + */ + + if (FD_ISSET(print_fd, &input)) + { + if ((print_bytes = read(print_fd, print_buffer, + sizeof(print_buffer))) < 0) + { + /* + * Read error - bail if we don't see EAGAIN or EINTR... + */ + + if (errno != EAGAIN && errno != EINTR) + { + fprintf(stderr, "DEBUG: Read failed: %s\n", strerror(errno)); + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to read print data.")); + return (-1); + } + + print_bytes = 0; + } + else if (print_bytes == 0) + { + /* + * End of file, break out of the loop... + */ + + break; + } + + print_ptr = print_buffer; + + fprintf(stderr, "DEBUG: Read %d bytes of print data...\n", + (int)print_bytes); + } + + /* + * Check if the device is ready to receive data and we have data to + * send... + */ + + if (print_bytes && FD_ISSET(device_fd, &output)) + { + if ((bytes = write(device_fd, print_ptr, (size_t)print_bytes)) < 0) + { + /* + * Write error - bail if we don't see an error we can retry... + */ + + if (errno == ENOSPC) + { + if (paperout != 1 && update_state) + { + fputs("STATE: +media-empty-warning\n", stderr); + fputs("DEBUG: Out of paper\n", stderr); + paperout = 1; + } + } + else if (errno == ENXIO) + { + if (offline != 1 && update_state) + { + fputs("STATE: +offline-report\n", stderr); + _cupsLangPrintFilter(stderr, "INFO", + _("The printer is not connected.")); + offline = 1; + } + } + else if (errno != EAGAIN && errno != EINTR && errno != ENOTTY) + { + _cupsLangPrintError("ERROR", _("Unable to write print data")); + return (-1); + } + } + else + { + if (paperout && update_state) + { + fputs("STATE: -media-empty-warning\n", stderr); + paperout = 0; + } + + if (offline && update_state) + { + fputs("STATE: -offline-report\n", stderr); + _cupsLangPrintFilter(stderr, "INFO", + _("The printer is now connected.")); + offline = 0; + } + + fprintf(stderr, "DEBUG: Wrote %d bytes of print data...\n", (int)bytes); + + print_bytes -= bytes; + print_ptr += bytes; + total_bytes += bytes; + } + } + + /* + * Do SNMP updates periodically... + */ + + if (snmp_fd >= 0 && time(&curtime) >= snmp_update) + { + if (backendSNMPSupplies(snmp_fd, addr, NULL, NULL)) + snmp_update = INT_MAX; + else + snmp_update = curtime + 5; + } + } + + /* + * Return with success... + */ + + return (total_bytes); +} + + +/* + * 'backendWaitLoop()' - Wait for input from stdin while handling side-channel + * queries. + */ + +int /* O - 1 if data is ready, 0 if not */ +backendWaitLoop( + int snmp_fd, /* I - SNMP socket or -1 if none */ + http_addr_t *addr, /* I - Address of device */ + int use_bc, /* I - Use back-channel? */ + _cups_sccb_t side_cb) /* I - Side-channel callback */ +{ + int nfds; /* Number of file descriptors */ + fd_set input; /* Input set for reading */ + time_t curtime = 0, /* Current time */ + snmp_update = 0;/* Last SNMP status update */ + struct timeval timeout; /* Timeout for select() */ + + + fprintf(stderr, "DEBUG: backendWaitLoop(snmp_fd=%d, addr=%p, side_cb=%p)\n", + snmp_fd, addr, side_cb); + + /* + * Now loop until we receive data from stdin... + */ + + if (snmp_fd >= 0) + snmp_update = time(NULL) + 5; + + for (;;) + { + /* + * Use select() to determine whether we have data to copy around... + */ + + FD_ZERO(&input); + FD_SET(0, &input); + if (side_cb) + FD_SET(CUPS_SC_FD, &input); + + if (snmp_fd >= 0) + { + curtime = time(NULL); + timeout.tv_sec = curtime >= snmp_update ? 0 : snmp_update - curtime; + timeout.tv_usec = 0; + + nfds = select(CUPS_SC_FD + 1, &input, NULL, NULL, &timeout); + } + else + nfds = select(CUPS_SC_FD + 1, &input, NULL, NULL, NULL); + + if (nfds < 0) + { + /* + * Pause printing to clear any pending errors... + */ + + if (errno == EINTR) + { + fputs("DEBUG: Received an interrupt before any bytes were " + "written, aborting.\n", stderr); + return (0); + } + + sleep(1); + continue; + } + + /* + * Check for input on stdin... + */ + + if (FD_ISSET(0, &input)) + break; + + /* + * Check if we have a side-channel request ready... + */ + + if (side_cb && FD_ISSET(CUPS_SC_FD, &input)) + { + /* + * Do the side-channel request, then start back over in the select + * loop since it may have read from print_fd... + */ + + if ((*side_cb)(0, -1, snmp_fd, addr, use_bc)) + side_cb = NULL; + continue; + } + + /* + * Do SNMP updates periodically... + */ + + if (snmp_fd >= 0 && curtime >= snmp_update) + { + if (backendSNMPSupplies(snmp_fd, addr, NULL, NULL)) + snmp_fd = -1; + else + snmp_update = curtime + 5; + } + } + + /* + * Return with success... + */ + + return (1); +} diff --git a/backend/snmp-supplies.c b/backend/snmp-supplies.c new file mode 100644 index 0000000..687e7ae --- /dev/null +++ b/backend/snmp-supplies.c @@ -0,0 +1,1096 @@ +/* + * SNMP supplies functions for CUPS. + * + * Copyright © 2008-2015 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include "backend-private.h" +#include +#include + + +/* + * Local constants... + */ + +#define CUPS_MAX_SUPPLIES 32 /* Maximum number of supplies for a printer */ +#define CUPS_SUPPLY_TIMEOUT 2.0 /* Timeout for SNMP lookups */ + +#define CUPS_DEVELOPER_LOW 0x0001 +#define CUPS_DEVELOPER_EMPTY 0x0002 +#define CUPS_MARKER_SUPPLY_LOW 0x0004 +#define CUPS_MARKER_SUPPLY_EMPTY 0x0008 +#define CUPS_OPC_NEAR_EOL 0x0010 +#define CUPS_OPC_LIFE_OVER 0x0020 +#define CUPS_TONER_LOW 0x0040 +#define CUPS_TONER_EMPTY 0x0080 +#define CUPS_WASTE_ALMOST_FULL 0x0100 +#define CUPS_WASTE_FULL 0x0200 +#define CUPS_CLEANER_NEAR_EOL 0x0400 /* Proposed JPS3 */ +#define CUPS_CLEANER_LIFE_OVER 0x0800 /* Proposed JPS3 */ + +#define CUPS_SNMP_NONE 0x0000 +#define CUPS_SNMP_CAPACITY 0x0001 /* Supply levels reported as percentages */ + + +/* + * Local structures... + */ + +typedef struct /**** Printer supply data ****/ +{ + char name[CUPS_SNMP_MAX_STRING], /* Name of supply */ + color[8]; /* Color: "#RRGGBB" or "none" */ + int colorant, /* Colorant index */ + sclass, /* Supply class */ + type, /* Supply type */ + max_capacity, /* Maximum capacity */ + level; /* Current level value */ +} backend_supplies_t; + +typedef struct /**** Printer state table ****/ +{ + int bit; /* State bit */ + const char *keyword; /* IPP printer-state-reasons keyword */ +} backend_state_t; + + +/* + * Local globals... + */ + +static http_addr_t current_addr; /* Current address */ +static int current_state = -1; + /* Current device state bits */ +static int charset = -1; /* Character set for supply names */ +static unsigned quirks = CUPS_SNMP_NONE; + /* Quirks we have to work around */ +static int num_supplies = 0; + /* Number of supplies found */ +static backend_supplies_t supplies[CUPS_MAX_SUPPLIES]; + /* Supply information */ +static int supply_state = -1; + /* Supply state info */ + +static const int hrDeviceDescr[] = + { CUPS_OID_hrDeviceDescr, 1, -1 }; + /* Device description OID */ +static const int hrPrinterStatus[] = + { CUPS_OID_hrPrinterStatus, 1, -1 }; + /* Current state OID */ +static const int hrPrinterDetectedErrorState[] = + { CUPS_OID_hrPrinterDetectedErrorState, 1, -1 }; + /* Current printer state bits OID */ +static const int prtGeneralCurrentLocalization[] = + { CUPS_OID_prtGeneralCurrentLocalization, 1, -1 }; +static const int prtLocalizationCharacterSet[] = + { CUPS_OID_prtLocalizationCharacterSet, 1, 1, -1 }, + prtLocalizationCharacterSetOffset = + (sizeof(prtLocalizationCharacterSet) / + sizeof(prtLocalizationCharacterSet[0])); +static const int prtMarkerColorantValue[] = + { CUPS_OID_prtMarkerColorantValue, -1 }, + /* Colorant OID */ + prtMarkerColorantValueOffset = + (sizeof(prtMarkerColorantValue) / + sizeof(prtMarkerColorantValue[0])); + /* Offset to colorant index */ +static const int prtMarkerLifeCount[] = + { CUPS_OID_prtMarkerLifeCount, 1, 1, -1 }; + /* Page counter OID */ +static const int prtMarkerSuppliesEntry[] = + { CUPS_OID_prtMarkerSuppliesEntry, -1 }; + /* Supplies OID */ +static const int prtMarkerSuppliesColorantIndex[] = + { CUPS_OID_prtMarkerSuppliesColorantIndex, -1 }, + /* Colorant index OID */ + prtMarkerSuppliesColorantIndexOffset = + (sizeof(prtMarkerSuppliesColorantIndex) / + sizeof(prtMarkerSuppliesColorantIndex[0])); + /* Offset to supply index */ +static const int prtMarkerSuppliesDescription[] = + { CUPS_OID_prtMarkerSuppliesDescription, -1 }, + /* Description OID */ + prtMarkerSuppliesDescriptionOffset = + (sizeof(prtMarkerSuppliesDescription) / + sizeof(prtMarkerSuppliesDescription[0])); + /* Offset to supply index */ +static const int prtMarkerSuppliesLevel[] = + { CUPS_OID_prtMarkerSuppliesLevel, -1 }, + /* Level OID */ + prtMarkerSuppliesLevelOffset = + (sizeof(prtMarkerSuppliesLevel) / + sizeof(prtMarkerSuppliesLevel[0])); + /* Offset to supply index */ +static const int prtMarkerSuppliesMaxCapacity[] = + { CUPS_OID_prtMarkerSuppliesMaxCapacity, -1 }, + /* Max capacity OID */ + prtMarkerSuppliesMaxCapacityOffset = + (sizeof(prtMarkerSuppliesMaxCapacity) / + sizeof(prtMarkerSuppliesMaxCapacity[0])); + /* Offset to supply index */ +static const int prtMarkerSuppliesClass[] = + { CUPS_OID_prtMarkerSuppliesClass, -1 }, + /* Class OID */ + prtMarkerSuppliesClassOffset = + (sizeof(prtMarkerSuppliesClass) / + sizeof(prtMarkerSuppliesClass[0])); + /* Offset to supply index */ +static const int prtMarkerSuppliesType[] = + { CUPS_OID_prtMarkerSuppliesType, -1 }, + /* Type OID */ + prtMarkerSuppliesTypeOffset = + (sizeof(prtMarkerSuppliesType) / + sizeof(prtMarkerSuppliesType[0])); + /* Offset to supply index */ +static const int prtMarkerSuppliesSupplyUnit[] = + { CUPS_OID_prtMarkerSuppliesSupplyUnit, -1 }, + /* Units OID */ + prtMarkerSuppliesSupplyUnitOffset = + (sizeof(prtMarkerSuppliesSupplyUnit) / + sizeof(prtMarkerSuppliesSupplyUnit[0])); + /* Offset to supply index */ + +static const backend_state_t printer_states[] = + { + /* { CUPS_TC_lowPaper, "media-low-report" }, */ + { CUPS_TC_noPaper | CUPS_TC_inputTrayEmpty, "media-empty-warning" }, + /* { CUPS_TC_lowToner, "toner-low-report" }, */ /* now use prtMarkerSupplies */ + /* { CUPS_TC_noToner, "toner-empty-warning" }, */ /* now use prtMarkerSupplies */ + { CUPS_TC_doorOpen, "door-open-report" }, + { CUPS_TC_jammed, "media-jam-warning" }, + /* { CUPS_TC_offline, "offline-report" }, */ /* unreliable */ + /* { CUPS_TC_serviceRequested | CUPS_TC_overduePreventMaint, "service-needed-warning" }, */ /* unreliable */ + { CUPS_TC_inputTrayMissing, "input-tray-missing-warning" }, + { CUPS_TC_outputTrayMissing, "output-tray-missing-warning" }, + { CUPS_TC_markerSupplyMissing, "marker-supply-missing-warning" }, + { CUPS_TC_outputNearFull, "output-area-almost-full-report" }, + { CUPS_TC_outputFull, "output-area-full-warning" } + }; + +static const backend_state_t supply_states[] = + { + { CUPS_DEVELOPER_LOW, "developer-low-report" }, + { CUPS_DEVELOPER_EMPTY, "developer-empty-warning" }, + { CUPS_MARKER_SUPPLY_LOW, "marker-supply-low-report" }, + { CUPS_MARKER_SUPPLY_EMPTY, "marker-supply-empty-warning" }, + { CUPS_OPC_NEAR_EOL, "opc-near-eol-report" }, + { CUPS_OPC_LIFE_OVER, "opc-life-over-warning" }, + { CUPS_TONER_LOW, "toner-low-report" }, + { CUPS_TONER_EMPTY, "toner-empty-warning" }, + { CUPS_WASTE_ALMOST_FULL, "waste-receptacle-almost-full-report" }, + { CUPS_WASTE_FULL, "waste-receptacle-full-warning" }, + { CUPS_CLEANER_NEAR_EOL, "cleaner-life-almost-over-report" }, + { CUPS_CLEANER_LIFE_OVER, "cleaner-life-over-warning" }, + }; + + +/* + * Local functions... + */ + +static void backend_init_supplies(int snmp_fd, http_addr_t *addr); +static void backend_walk_cb(cups_snmp_t *packet, void *data); +static void utf16_to_utf8(cups_utf8_t *dst, const unsigned char *src, + size_t srcsize, size_t dstsize, int le); + + +/* + * 'backendSNMPSupplies()' - Get the current supplies for a device. + */ + +int /* O - 0 on success, -1 on error */ +backendSNMPSupplies( + int snmp_fd, /* I - SNMP socket */ + http_addr_t *addr, /* I - Printer address */ + int *page_count, /* O - Page count */ + int *printer_state) /* O - Printer state */ +{ + if (!httpAddrEqual(addr, ¤t_addr)) + backend_init_supplies(snmp_fd, addr); + else if (num_supplies > 0) + _cupsSNMPWalk(snmp_fd, ¤t_addr, CUPS_SNMP_VERSION_1, + _cupsSNMPDefaultCommunity(), prtMarkerSuppliesLevel, + CUPS_SUPPLY_TIMEOUT, backend_walk_cb, NULL); + + if (page_count) + *page_count = -1; + + if (printer_state) + *printer_state = -1; + + if (num_supplies > 0) + { + int i, /* Looping var */ + percent, /* Percent full */ + new_state, /* New state value */ + change_state, /* State change */ + new_supply_state = 0; /* Supply state */ + char value[CUPS_MAX_SUPPLIES * 4], + /* marker-levels value string */ + *ptr; /* Pointer into value string */ + cups_snmp_t packet; /* SNMP response packet */ + + /* + * Generate the marker-levels value string... + */ + + for (i = 0, ptr = value; i < num_supplies; i ++, ptr += strlen(ptr)) + { + if (supplies[i].max_capacity > 0 && supplies[i].level >= 0) + percent = 100 * supplies[i].level / supplies[i].max_capacity; + else if (supplies[i].level >= 0 && supplies[i].level <= 100 && + (quirks & CUPS_SNMP_CAPACITY)) + percent = supplies[i].level; + else + percent = 50; + + if (supplies[i].sclass == CUPS_TC_receptacleThatIsFilled) + percent = 100 - percent; + + if (percent <= 5) + { + switch (supplies[i].type) + { + case CUPS_TC_toner : + case CUPS_TC_tonerCartridge : + if (percent <= 1) + new_supply_state |= CUPS_TONER_EMPTY; + else + new_supply_state |= CUPS_TONER_LOW; + break; + case CUPS_TC_ink : + case CUPS_TC_inkCartridge : + case CUPS_TC_inkRibbon : + case CUPS_TC_solidWax : + case CUPS_TC_ribbonWax : + if (percent <= 1) + new_supply_state |= CUPS_MARKER_SUPPLY_EMPTY; + else + new_supply_state |= CUPS_MARKER_SUPPLY_LOW; + break; + case CUPS_TC_developer : + if (percent <= 1) + new_supply_state |= CUPS_DEVELOPER_EMPTY; + else + new_supply_state |= CUPS_DEVELOPER_LOW; + break; + case CUPS_TC_coronaWire : + case CUPS_TC_fuser : + case CUPS_TC_opc : + case CUPS_TC_transferUnit : + if (percent <= 1) + new_supply_state |= CUPS_OPC_LIFE_OVER; + else + new_supply_state |= CUPS_OPC_NEAR_EOL; + break; +#if 0 /* Because no two vendors report waste containers the same, disable SNMP reporting of same */ + case CUPS_TC_wasteInk : + case CUPS_TC_wastePaper : + case CUPS_TC_wasteToner : + case CUPS_TC_wasteWater : + case CUPS_TC_wasteWax : + if (percent <= 1) + new_supply_state |= CUPS_WASTE_FULL; + else + new_supply_state |= CUPS_WASTE_ALMOST_FULL; + break; +#endif /* 0 */ + case CUPS_TC_cleanerUnit : + case CUPS_TC_fuserCleaningPad : + if (percent <= 1) + new_supply_state |= CUPS_CLEANER_LIFE_OVER; + else + new_supply_state |= CUPS_CLEANER_NEAR_EOL; + break; + } + } + + if (i) + *ptr++ = ','; + + if ((supplies[i].max_capacity > 0 || (quirks & CUPS_SNMP_CAPACITY)) && + supplies[i].level >= 0) + snprintf(ptr, sizeof(value) - (size_t)(ptr - value), "%d", percent); + else + strlcpy(ptr, "-1", sizeof(value) - (size_t)(ptr - value)); + } + + fprintf(stderr, "ATTR: marker-levels=%s\n", value); + + if (supply_state < 0) + change_state = 0xffff; + else + change_state = supply_state ^ new_supply_state; + + fprintf(stderr, "DEBUG: new_supply_state=%x, change_state=%x\n", + new_supply_state, change_state); + + for (i = 0; + i < (int)(sizeof(supply_states) / sizeof(supply_states[0])); + i ++) + if (change_state & supply_states[i].bit) + { + fprintf(stderr, "STATE: %c%s\n", + (new_supply_state & supply_states[i].bit) ? '+' : '-', + supply_states[i].keyword); + } + + supply_state = new_supply_state; + + /* + * Get the current printer status bits... + */ + + if (!_cupsSNMPWrite(snmp_fd, addr, CUPS_SNMP_VERSION_1, + _cupsSNMPDefaultCommunity(), CUPS_ASN1_GET_REQUEST, 1, + hrPrinterDetectedErrorState)) + return (-1); + + if (!_cupsSNMPRead(snmp_fd, &packet, CUPS_SUPPLY_TIMEOUT) || + packet.object_type != CUPS_ASN1_OCTET_STRING) + return (-1); + + if (packet.object_value.string.num_bytes == 2) + new_state = (packet.object_value.string.bytes[0] << 8) | + packet.object_value.string.bytes[1]; + else if (packet.object_value.string.num_bytes == 1) + new_state = (packet.object_value.string.bytes[0] << 8); + else + new_state = 0; + + if (current_state < 0) + change_state = 0xffff; + else + change_state = current_state ^ new_state; + + fprintf(stderr, "DEBUG: new_state=%x, change_state=%x\n", new_state, + change_state); + + for (i = 0; + i < (int)(sizeof(printer_states) / sizeof(printer_states[0])); + i ++) + if (change_state & printer_states[i].bit) + { + fprintf(stderr, "STATE: %c%s\n", + (new_state & printer_states[i].bit) ? '+' : '-', + printer_states[i].keyword); + } + + current_state = new_state; + + /* + * Get the current printer state... + */ + + if (printer_state) + { + if (!_cupsSNMPWrite(snmp_fd, addr, CUPS_SNMP_VERSION_1, + _cupsSNMPDefaultCommunity(), CUPS_ASN1_GET_REQUEST, 1, + hrPrinterStatus)) + return (-1); + + if (!_cupsSNMPRead(snmp_fd, &packet, CUPS_SUPPLY_TIMEOUT) || + packet.object_type != CUPS_ASN1_INTEGER) + return (-1); + + *printer_state = packet.object_value.integer; + } + + /* + * Get the current page count... + */ + + if (page_count) + { + if (!_cupsSNMPWrite(snmp_fd, addr, CUPS_SNMP_VERSION_1, + _cupsSNMPDefaultCommunity(), CUPS_ASN1_GET_REQUEST, 1, + prtMarkerLifeCount)) + return (-1); + + if (!_cupsSNMPRead(snmp_fd, &packet, CUPS_SUPPLY_TIMEOUT) || + packet.object_type != CUPS_ASN1_COUNTER) + return (-1); + + *page_count = packet.object_value.counter; + } + + return (0); + } + else + return (-1); +} + + +/* + * 'backend_init_supplies()' - Initialize the supplies list. + */ + +static void +backend_init_supplies( + int snmp_fd, /* I - SNMP socket */ + http_addr_t *addr) /* I - Printer address */ +{ + int i, /* Looping var */ + type; /* Current marker type */ + const char *community; /* SNMP community name */ + cups_file_t *cachefile; /* Cache file */ + const char *cachedir; /* CUPS_CACHEDIR value */ + char addrstr[1024], /* Address string */ + cachefilename[1024], /* Cache filename */ + description[CUPS_SNMP_MAX_STRING], + /* Device description string */ + value[CUPS_MAX_SUPPLIES * (CUPS_SNMP_MAX_STRING * 4 + 3)], + /* Value string */ + *ptr, /* Pointer into value string */ + *name_ptr; /* Pointer into name string */ + cups_snmp_t packet; /* SNMP response packet */ + ppd_file_t *ppd; /* PPD file for this queue */ + ppd_attr_t *ppdattr; /* cupsSNMPSupplies attribute */ + static const char * const types[] = /* Supply types */ + { + "other", + "unknown", + "toner", + "waste-toner", + "ink", + "ink-cartridge", + "ink-ribbon", + "waste-ink", + "opc", + "developer", + "fuser-oil", + "solid-wax", + "ribbon-wax", + "waste-wax", + "fuser", + "corona-wire", + "fuser-oil-wick", + "cleaner-unit", + "fuser-cleaning-pad", + "transfer-unit", + "toner-cartridge", + "fuser-oiler", + "water", + "waste-water", + "glue-water-additive", + "waste-paper", + "binding-supply", + "banding-supply", + "stitching-wire", + "shrink-wrap", + "paper-wrap", + "staples", + "inserts", + "covers" + }; + + + /* + * Reset state information... + */ + + current_addr = *addr; + current_state = -1; + num_supplies = -1; + charset = -1; + + memset(supplies, 0, sizeof(supplies)); + + /* + * See if we should be getting supply levels via SNMP... + */ + + community = _cupsSNMPDefaultCommunity(); + if (!*community) + return; + + if ((ppd = ppdOpenFile(getenv("PPD"))) == NULL || + ((ppdattr = ppdFindAttr(ppd, "cupsSNMPSupplies", NULL)) != NULL && + ppdattr->value && _cups_strcasecmp(ppdattr->value, "true"))) + { + ppdClose(ppd); + return; + } + + if ((ppdattr = ppdFindAttr(ppd, "cupsSNMPQuirks", NULL)) != NULL) + { + if (!_cups_strcasecmp(ppdattr->value, "capacity")) + quirks |= CUPS_SNMP_CAPACITY; + } + + ppdClose(ppd); + + /* + * Get the device description... + */ + + if (!_cupsSNMPWrite(snmp_fd, addr, CUPS_SNMP_VERSION_1, + community, CUPS_ASN1_GET_REQUEST, 1, + hrDeviceDescr)) + return; + + if (!_cupsSNMPRead(snmp_fd, &packet, CUPS_SUPPLY_TIMEOUT) || + packet.object_type != CUPS_ASN1_OCTET_STRING) + { + strlcpy(description, "Unknown", sizeof(description)); + num_supplies = 0; + } + else + strlcpy(description, (char *)packet.object_value.string.bytes, + sizeof(description)); + + fprintf(stderr, "DEBUG2: hrDeviceDesc=\"%s\"\n", description); + + /* + * See if we have already queried this device... + */ + + httpAddrString(addr, addrstr, sizeof(addrstr)); + + if ((cachedir = getenv("CUPS_CACHEDIR")) == NULL) + cachedir = CUPS_CACHEDIR; + + snprintf(cachefilename, sizeof(cachefilename), "%s/%s.snmp", cachedir, + addrstr); + + if ((cachefile = cupsFileOpen(cachefilename, "r")) != NULL) + { + /* + * Yes, read the cache file: + * + * 3 num_supplies charset + * device description + * supply structures... + */ + + if (cupsFileGets(cachefile, value, sizeof(value))) + { + if (sscanf(value, "3 %d%d", &num_supplies, &charset) == 2 && + num_supplies <= CUPS_MAX_SUPPLIES && + cupsFileGets(cachefile, value, sizeof(value))) + { + if (!strcmp(description, value)) + cupsFileRead(cachefile, (char *)supplies, + (size_t)num_supplies * sizeof(backend_supplies_t)); + else + { + num_supplies = -1; + charset = -1; + } + } + else + { + num_supplies = -1; + charset = -1; + } + } + + cupsFileClose(cachefile); + } + + /* + * If the cache information isn't correct, scan for supplies... + */ + + if (charset < 0) + { + /* + * Get the configured character set... + */ + + int oid[CUPS_SNMP_MAX_OID]; /* OID for character set */ + + + if (!_cupsSNMPWrite(snmp_fd, ¤t_addr, CUPS_SNMP_VERSION_1, + community, CUPS_ASN1_GET_REQUEST, 1, + prtGeneralCurrentLocalization)) + return; + + if (!_cupsSNMPRead(snmp_fd, &packet, CUPS_SUPPLY_TIMEOUT) || + packet.object_type != CUPS_ASN1_INTEGER) + { + fprintf(stderr, + "DEBUG: prtGeneralCurrentLocalization type is %x, expected %x!\n", + packet.object_type, CUPS_ASN1_INTEGER); + return; + } + + fprintf(stderr, "DEBUG2: prtGeneralCurrentLocalization=%d\n", + packet.object_value.integer); + + _cupsSNMPCopyOID(oid, prtLocalizationCharacterSet, CUPS_SNMP_MAX_OID); + oid[prtLocalizationCharacterSetOffset - 2] = packet.object_value.integer; + + + if (!_cupsSNMPWrite(snmp_fd, ¤t_addr, CUPS_SNMP_VERSION_1, + community, CUPS_ASN1_GET_REQUEST, 1, + oid)) + return; + + if (!_cupsSNMPRead(snmp_fd, &packet, CUPS_SUPPLY_TIMEOUT) || + packet.object_type != CUPS_ASN1_INTEGER) + { + fprintf(stderr, + "DEBUG: prtLocalizationCharacterSet type is %x, expected %x!\n", + packet.object_type, CUPS_ASN1_INTEGER); + return; + } + + fprintf(stderr, "DEBUG2: prtLocalizationCharacterSet=%d\n", + packet.object_value.integer); + charset = packet.object_value.integer; + } + + if (num_supplies < 0) + { + /* + * Walk the printer configuration information... + */ + + _cupsSNMPWalk(snmp_fd, ¤t_addr, CUPS_SNMP_VERSION_1, + community, prtMarkerSuppliesEntry, + CUPS_SUPPLY_TIMEOUT, backend_walk_cb, NULL); + } + + /* + * Save the cached information... + */ + + if (num_supplies < 0) + num_supplies = 0; + + if ((cachefile = cupsFileOpen(cachefilename, "w")) != NULL) + { + cupsFilePrintf(cachefile, "3 %d %d\n", num_supplies, charset); + cupsFilePrintf(cachefile, "%s\n", description); + + if (num_supplies > 0) + cupsFileWrite(cachefile, (char *)supplies, + (size_t)num_supplies * sizeof(backend_supplies_t)); + + cupsFileClose(cachefile); + } + + if (num_supplies <= 0) + return; + + /* + * Get the colors... + */ + + for (i = 0; i < num_supplies; i ++) + strlcpy(supplies[i].color, "none", sizeof(supplies[i].color)); + + _cupsSNMPWalk(snmp_fd, ¤t_addr, CUPS_SNMP_VERSION_1, + community, prtMarkerColorantValue, + CUPS_SUPPLY_TIMEOUT, backend_walk_cb, NULL); + + /* + * Output the marker-colors attribute... + */ + + for (i = 0, ptr = value; i < num_supplies; i ++, ptr += strlen(ptr)) + { + if (i) + *ptr++ = ','; + + strlcpy(ptr, supplies[i].color, sizeof(value) - (size_t)(ptr - value)); + } + + fprintf(stderr, "ATTR: marker-colors=%s\n", value); + + /* + * Output the marker-names attribute (the double quoting is necessary to deal + * with embedded quotes and commas in the marker names...) + */ + + for (i = 0, ptr = value; i < num_supplies; i ++) + { + if (i) + *ptr++ = ','; + + *ptr++ = '\''; + *ptr++ = '\"'; + for (name_ptr = supplies[i].name; *name_ptr;) + { + if (*name_ptr == '\\' || *name_ptr == '\"' || *name_ptr == '\'') + { + *ptr++ = '\\'; + *ptr++ = '\\'; + *ptr++ = '\\'; + } + + *ptr++ = *name_ptr++; + } + *ptr++ = '\"'; + *ptr++ = '\''; + } + + *ptr = '\0'; + + fprintf(stderr, "ATTR: marker-names=%s\n", value); + + /* + * Output the marker-types attribute... + */ + + for (i = 0, ptr = value; i < num_supplies; i ++, ptr += strlen(ptr)) + { + if (i) + *ptr++ = ','; + + type = supplies[i].type; + + if (type < CUPS_TC_other || type > CUPS_TC_covers) + strlcpy(ptr, "unknown", sizeof(value) - (size_t)(ptr - value)); + else + strlcpy(ptr, types[type - CUPS_TC_other], sizeof(value) - (size_t)(ptr - value)); + } + + fprintf(stderr, "ATTR: marker-types=%s\n", value); +} + + +/* + * 'backend_walk_cb()' - Interpret the supply value responses. + */ + +static void +backend_walk_cb(cups_snmp_t *packet, /* I - SNMP packet */ + void *data) /* I - User data (unused) */ +{ + int i, j, k; /* Looping vars */ + static const char * const colors[][2] = + { /* Standard color names */ + { "black", "#000000" }, + { "blue", "#0000FF" }, + { "brown", "#A52A2A" }, + { "cyan", "#00FFFF" }, + { "dark-gray", "#404040" }, + { "dark gray", "#404040" }, + { "dark-yellow", "#FFCC00" }, + { "dark yellow", "#FFCC00" }, + { "gold", "#FFD700" }, + { "gray", "#808080" }, + { "green", "#00FF00" }, + { "light-black", "#606060" }, + { "light black", "#606060" }, + { "light-cyan", "#E0FFFF" }, + { "light cyan", "#E0FFFF" }, + { "light-gray", "#D3D3D3" }, + { "light gray", "#D3D3D3" }, + { "light-magenta", "#FF77FF" }, + { "light magenta", "#FF77FF" }, + { "magenta", "#FF00FF" }, + { "orange", "#FFA500" }, + { "red", "#FF0000" }, + { "silver", "#C0C0C0" }, + { "white", "#FFFFFF" }, + { "yellow", "#FFFF00" } + }; + + + (void)data; + + if (_cupsSNMPIsOIDPrefixed(packet, prtMarkerColorantValue) && + packet->object_type == CUPS_ASN1_OCTET_STRING) + { + /* + * Get colorant... + */ + + i = packet->object_name[prtMarkerColorantValueOffset]; + + fprintf(stderr, "DEBUG2: prtMarkerColorantValue.1.%d = \"%s\"\n", i, + (char *)packet->object_value.string.bytes); + + for (j = 0; j < num_supplies; j ++) + if (supplies[j].colorant == i) + { + for (k = 0; k < (int)(sizeof(colors) / sizeof(colors[0])); k ++) + if (!_cups_strcasecmp(colors[k][0], + (char *)packet->object_value.string.bytes)) + { + strlcpy(supplies[j].color, colors[k][1], sizeof(supplies[j].color)); + break; + } + } + } + else if (_cupsSNMPIsOIDPrefixed(packet, prtMarkerSuppliesColorantIndex)) + { + /* + * Get colorant index... + */ + + i = packet->object_name[prtMarkerSuppliesColorantIndexOffset]; + if (i < 1 || i > CUPS_MAX_SUPPLIES || + packet->object_type != CUPS_ASN1_INTEGER) + return; + + fprintf(stderr, "DEBUG2: prtMarkerSuppliesColorantIndex.1.%d = %d\n", i, + packet->object_value.integer); + + if (i > num_supplies) + num_supplies = i; + + supplies[i - 1].colorant = packet->object_value.integer; + } + else if (_cupsSNMPIsOIDPrefixed(packet, prtMarkerSuppliesDescription)) + { + /* + * Get supply name/description... + */ + + i = packet->object_name[prtMarkerSuppliesDescriptionOffset]; + if (i < 1 || i > CUPS_MAX_SUPPLIES || + packet->object_type != CUPS_ASN1_OCTET_STRING) + return; + + if (i > num_supplies) + num_supplies = i; + + switch (charset) + { + case CUPS_TC_csASCII : + case CUPS_TC_csUTF8 : + case CUPS_TC_csUnicodeASCII : + strlcpy(supplies[i - 1].name, + (char *)packet->object_value.string.bytes, + sizeof(supplies[0].name)); + break; + + case CUPS_TC_csISOLatin1 : + case CUPS_TC_csUnicodeLatin1 : + cupsCharsetToUTF8((cups_utf8_t *)supplies[i - 1].name, + (char *)packet->object_value.string.bytes, + sizeof(supplies[0].name), CUPS_ISO8859_1); + break; + + case CUPS_TC_csShiftJIS : + case CUPS_TC_csWindows31J : /* Close enough for our purposes */ + cupsCharsetToUTF8((cups_utf8_t *)supplies[i - 1].name, + (char *)packet->object_value.string.bytes, + sizeof(supplies[0].name), CUPS_JIS_X0213); + break; + + case CUPS_TC_csUCS4 : + case CUPS_TC_csUTF32 : + case CUPS_TC_csUTF32BE : + case CUPS_TC_csUTF32LE : + cupsUTF32ToUTF8((cups_utf8_t *)supplies[i - 1].name, + (cups_utf32_t *)packet->object_value.string.bytes, + sizeof(supplies[0].name)); + break; + + case CUPS_TC_csUnicode : + case CUPS_TC_csUTF16BE : + case CUPS_TC_csUTF16LE : + utf16_to_utf8((cups_utf8_t *)supplies[i - 1].name, + packet->object_value.string.bytes, + packet->object_value.string.num_bytes, + sizeof(supplies[0].name), charset == CUPS_TC_csUTF16LE); + break; + + default : + /* + * If we get here, the printer is using an unknown character set and + * we just want to copy characters that look like ASCII... + */ + + { + char *src, *dst; /* Pointers into strings */ + + /* + * Loop safe because both the object_value and supplies char arrays + * are CUPS_SNMP_MAX_STRING elements long. + */ + + for (src = (char *)packet->object_value.string.bytes, + dst = supplies[i - 1].name; + *src; + src ++) + { + if ((*src & 0x80) || *src < ' ' || *src == 0x7f) + *dst++ = '?'; + else + *dst++ = *src; + } + + *dst = '\0'; + } + break; + } + + fprintf(stderr, "DEBUG2: prtMarkerSuppliesDescription.1.%d = \"%s\"\n", i, + supplies[i - 1].name); + + } + else if (_cupsSNMPIsOIDPrefixed(packet, prtMarkerSuppliesLevel)) + { + /* + * Get level... + */ + + i = packet->object_name[prtMarkerSuppliesLevelOffset]; + if (i < 1 || i > CUPS_MAX_SUPPLIES || + packet->object_type != CUPS_ASN1_INTEGER) + return; + + fprintf(stderr, "DEBUG2: prtMarkerSuppliesLevel.1.%d = %d\n", i, + packet->object_value.integer); + + if (i > num_supplies) + num_supplies = i; + + supplies[i - 1].level = packet->object_value.integer; + } + else if (_cupsSNMPIsOIDPrefixed(packet, prtMarkerSuppliesMaxCapacity) && + !(quirks & CUPS_SNMP_CAPACITY)) + { + /* + * Get max capacity... + */ + + i = packet->object_name[prtMarkerSuppliesMaxCapacityOffset]; + if (i < 1 || i > CUPS_MAX_SUPPLIES || + packet->object_type != CUPS_ASN1_INTEGER) + return; + + fprintf(stderr, "DEBUG2: prtMarkerSuppliesMaxCapacity.1.%d = %d\n", i, + packet->object_value.integer); + + if (i > num_supplies) + num_supplies = i; + + if (supplies[i - 1].max_capacity == 0 && + packet->object_value.integer > 0) + supplies[i - 1].max_capacity = packet->object_value.integer; + } + else if (_cupsSNMPIsOIDPrefixed(packet, prtMarkerSuppliesClass)) + { + /* + * Get marker class... + */ + + i = packet->object_name[prtMarkerSuppliesClassOffset]; + if (i < 1 || i > CUPS_MAX_SUPPLIES || + packet->object_type != CUPS_ASN1_INTEGER) + return; + + fprintf(stderr, "DEBUG2: prtMarkerSuppliesClass.1.%d = %d\n", i, + packet->object_value.integer); + + if (i > num_supplies) + num_supplies = i; + + supplies[i - 1].sclass = packet->object_value.integer; + } + else if (_cupsSNMPIsOIDPrefixed(packet, prtMarkerSuppliesType)) + { + /* + * Get marker type... + */ + + i = packet->object_name[prtMarkerSuppliesTypeOffset]; + if (i < 1 || i > CUPS_MAX_SUPPLIES || + packet->object_type != CUPS_ASN1_INTEGER) + return; + + fprintf(stderr, "DEBUG2: prtMarkerSuppliesType.1.%d = %d\n", i, + packet->object_value.integer); + + if (i > num_supplies) + num_supplies = i; + + supplies[i - 1].type = packet->object_value.integer; + } + else if (_cupsSNMPIsOIDPrefixed(packet, prtMarkerSuppliesSupplyUnit)) + { + /* + * Get units for capacity... + */ + + i = packet->object_name[prtMarkerSuppliesSupplyUnitOffset]; + if (i < 1 || i > CUPS_MAX_SUPPLIES || + packet->object_type != CUPS_ASN1_INTEGER) + return; + + fprintf(stderr, "DEBUG2: prtMarkerSuppliesSupplyUnit.1.%d = %d\n", i, + packet->object_value.integer); + + if (i > num_supplies) + num_supplies = i; + + if (packet->object_value.integer == CUPS_TC_percent) + supplies[i - 1].max_capacity = 100; + } +} + + +/* + * 'utf16_to_utf8()' - Convert UTF-16 text to UTF-8. + */ + +static void +utf16_to_utf8( + cups_utf8_t *dst, /* I - Destination buffer */ + const unsigned char *src, /* I - Source string */ + size_t srcsize, /* I - Size of source string */ + size_t dstsize, /* I - Size of destination buffer */ + int le) /* I - Source is little-endian? */ +{ + cups_utf32_t ch, /* Current character */ + temp[CUPS_SNMP_MAX_STRING], + /* UTF-32 string */ + *ptr; /* Pointer into UTF-32 string */ + + + for (ptr = temp; srcsize >= 2;) + { + if (le) + ch = (cups_utf32_t)(src[0] | (src[1] << 8)); + else + ch = (cups_utf32_t)((src[0] << 8) | src[1]); + + src += 2; + srcsize -= 2; + + if (ch >= 0xd800 && ch <= 0xdbff && srcsize >= 2) + { + /* + * Multi-word UTF-16 char... + */ + + cups_utf32_t lch; /* Lower word */ + + + if (le) + lch = (cups_utf32_t)(src[0] | (src[1] << 8)); + else + lch = (cups_utf32_t)((src[0] << 8) | src[1]); + + if (lch >= 0xdc00 && lch <= 0xdfff) + { + src += 2; + srcsize -= 2; + + ch = (((ch & 0x3ff) << 10) | (lch & 0x3ff)) + 0x10000; + } + } + + if (ptr < (temp + CUPS_SNMP_MAX_STRING - 1)) + *ptr++ = ch; + } + + *ptr = '\0'; + + cupsUTF32ToUTF8(dst, temp, (int)dstsize); +} diff --git a/backend/snmp.c b/backend/snmp.c new file mode 100644 index 0000000..66ac884 --- /dev/null +++ b/backend/snmp.c @@ -0,0 +1,1356 @@ +/* + * SNMP discovery backend for CUPS. + * + * Copyright © 2007-2014 by Apple Inc. + * Copyright © 2006-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include "backend-private.h" +#include +#include +#include +#include + + +/* + * This backend implements SNMP printer discovery. It uses a broadcast- + * based approach to get SNMP response packets from potential printers, + * requesting OIDs from the Host and Port Monitor MIBs, does a URI + * lookup based on the device description string, and finally a probe of + * port 9100 (AppSocket) and 515 (LPD). + * + * The current focus is on printers with internal network cards, although + * the code also works with many external print servers as well. + * + * The backend reads the snmp.conf file from the CUPS_SERVERROOT directory + * which can contain comments, blank lines, or any number of the following + * directives: + * + * Address ip-address + * Address @LOCAL + * Address @IF(name) + * Community name + * DebugLevel N + * DeviceURI "regex pattern" uri + * HostNameLookups on + * HostNameLookups off + * MaxRunTime N + * + * The default is to use: + * + * Address @LOCAL + * Community public + * DebugLevel 0 + * HostNameLookups off + * MaxRunTime 120 + * + * This backend is known to work with the following network printers and + * print servers: + * + * Axis OfficeBasic, 5400, 5600 + * Brother + * EPSON + * Genicom + * HP JetDirect + * Lexmark + * Sharp + * Tektronix + * Xerox + * + * It does not currently work with: + * + * DLink + * Linksys + * Netgear + * Okidata + * + * (for all of these, they do not support the Host MIB) + */ + +/* + * Types... + */ + +enum /**** Request IDs for each field ****/ +{ + DEVICE_TYPE = 1, + DEVICE_DESCRIPTION, + DEVICE_LOCATION, + DEVICE_ID, + DEVICE_URI, + DEVICE_PRODUCT +}; + +typedef struct device_uri_s /**** DeviceURI values ****/ +{ + regex_t re; /* Regular expression to match */ + cups_array_t *uris; /* URIs */ +} device_uri_t; + +typedef struct snmp_cache_s /**** SNMP scan cache ****/ +{ + http_addr_t address; /* Address of device */ + char *addrname, /* Name of device */ + *uri, /* device-uri */ + *id, /* device-id */ + *info, /* device-info */ + *location, /* device-location */ + *make_and_model; /* device-make-and-model */ + int sent; /* Has this device been listed? */ +} snmp_cache_t; + + +/* + * Local functions... + */ + +static char *add_array(cups_array_t *a, const char *s); +static void add_cache(http_addr_t *addr, const char *addrname, + const char *uri, const char *id, + const char *make_and_model); +static device_uri_t *add_device_uri(char *value); +static void alarm_handler(int sig); +static int compare_cache(snmp_cache_t *a, snmp_cache_t *b); +static void debug_printf(const char *format, ...); +static void fix_make_model(char *make_model, + const char *old_make_model, + int make_model_size); +static void free_array(cups_array_t *a); +static void free_cache(void); +static http_addrlist_t *get_interface_addresses(const char *ifname); +static void list_device(snmp_cache_t *cache); +static const char *password_cb(const char *prompt); +static void probe_device(snmp_cache_t *device); +static void read_snmp_conf(const char *address); +static void read_snmp_response(int fd); +static double run_time(void); +static void scan_devices(int ipv4, int ipv6); +static int try_connect(http_addr_t *addr, const char *addrname, + int port); +static void update_cache(snmp_cache_t *device, const char *uri, + const char *id, const char *make_model); + + +/* + * Local globals... + */ + +static cups_array_t *Addresses = NULL; +static cups_array_t *Communities = NULL; +static cups_array_t *Devices = NULL; +static int DebugLevel = 0; +static const int DescriptionOID[] = { CUPS_OID_hrDeviceDescr, 1, -1 }; +static const int LocationOID[] = { CUPS_OID_sysLocation, 0, -1 }; +static const int DeviceTypeOID[] = { CUPS_OID_hrDeviceType, 1, -1 }; +static const int DeviceIdOID[] = { CUPS_OID_ppmPrinterIEEE1284DeviceId, 1, -1 }; +static const int UriOID[] = { CUPS_OID_ppmPortServiceNameOrURI, 1, 1, -1 }; +static const int LexmarkProductOID[] = { 1,3,6,1,4,1,641,2,1,2,1,2,1,-1 }; +static const int LexmarkProductOID2[] = { 1,3,6,1,4,1,674,10898,100,2,1,2,1,2,1,-1 }; +static const int LexmarkDeviceIdOID[] = { 1,3,6,1,4,1,641,2,1,2,1,3,1,-1 }; +static const int XeroxProductOID[] = { 1,3,6,1,4,1,128,2,1,3,1,2,0,-1 }; +static cups_array_t *DeviceURIs = NULL; +static int HostNameLookups = 0; +static int MaxRunTime = 120; +static struct timeval StartTime; + + +/* + * 'main()' - Discover printers via SNMP. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments (6 or 7) */ + char *argv[]) /* I - Command-line arguments */ +{ + int ipv4, /* SNMP IPv4 socket */ + ipv6; /* SNMP IPv6 socket */ +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* Actions for POSIX signals */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ + + + /* + * Check command-line options... + */ + + if (argc > 2) + { + _cupsLangPuts(stderr, _("Usage: snmp [host-or-ip-address]")); + return (1); + } + + /* + * Set the password callback for IPP operations... + */ + + cupsSetPasswordCB(password_cb); + + /* + * Catch SIGALRM signals... + */ + +#ifdef HAVE_SIGSET + sigset(SIGALRM, alarm_handler); +#elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + + sigemptyset(&action.sa_mask); + sigaddset(&action.sa_mask, SIGALRM); + action.sa_handler = alarm_handler; + sigaction(SIGALRM, &action, NULL); +#else + signal(SIGALRM, alarm_handler); +#endif /* HAVE_SIGSET */ + + /* + * Open the SNMP socket... + */ + + if ((ipv4 = _cupsSNMPOpen(AF_INET)) < 0) + return (1); + +#ifdef AF_INET6 + if ((ipv6 = _cupsSNMPOpen(AF_INET6)) < 0) + perror("DEBUG: Unable to create IPv6 socket"); +#else + ipv6 = -1; +#endif /* AF_INET6 */ + + /* + * Read the configuration file and any cache data... + */ + + read_snmp_conf(argv[1]); + + _cupsSNMPSetDebug(DebugLevel); + + Devices = cupsArrayNew((cups_array_func_t)compare_cache, NULL); + + /* + * Scan for devices... + */ + + scan_devices(ipv4, ipv6); + + /* + * Close, free, and return with no errors... + */ + + _cupsSNMPClose(ipv4); + if (ipv6 >= 0) + _cupsSNMPClose(ipv6); + + free_array(Addresses); + free_array(Communities); + free_cache(); + + return (0); +} + + +/* + * 'add_array()' - Add a string to an array. + */ + +static char * /* O - New string */ +add_array(cups_array_t *a, /* I - Array */ + const char *s) /* I - String to add */ +{ + char *dups; /* New string */ + + + dups = strdup(s); + + cupsArrayAdd(a, dups); + + return (dups); +} + + +/* + * 'add_cache()' - Add a cached device... + */ + +static void +add_cache(http_addr_t *addr, /* I - Device IP address */ + const char *addrname, /* I - IP address or name string */ + const char *uri, /* I - Device URI */ + const char *id, /* I - 1284 device ID */ + const char *make_and_model) /* I - Make and model */ +{ + snmp_cache_t *temp; /* New device entry */ + + + debug_printf("DEBUG: add_cache(addr=%p, addrname=\"%s\", uri=\"%s\", " + "id=\"%s\", make_and_model=\"%s\")\n", + addr, addrname, uri ? uri : "(null)", id ? id : "(null)", + make_and_model ? make_and_model : "(null)"); + + temp = calloc(1, sizeof(snmp_cache_t)); + memcpy(&(temp->address), addr, sizeof(temp->address)); + + temp->addrname = strdup(addrname); + + if (uri) + temp->uri = strdup(uri); + + if (id) + temp->id = strdup(id); + + if (make_and_model) + temp->make_and_model = strdup(make_and_model); + + cupsArrayAdd(Devices, temp); + + if (uri) + list_device(temp); +} + + +/* + * 'add_device_uri()' - Add a device URI to the cache. + * + * The value string is modified (chopped up) as needed. + */ + +static device_uri_t * /* O - Device URI */ +add_device_uri(char *value) /* I - Value from snmp.conf */ +{ + device_uri_t *device_uri; /* Device URI */ + char *start; /* Start of value */ + + + /* + * Allocate memory as needed... + */ + + if (!DeviceURIs) + DeviceURIs = cupsArrayNew(NULL, NULL); + + if (!DeviceURIs) + return (NULL); + + if ((device_uri = calloc(1, sizeof(device_uri_t))) == NULL) + return (NULL); + + if ((device_uri->uris = cupsArrayNew(NULL, NULL)) == NULL) + { + free(device_uri); + return (NULL); + } + + /* + * Scan the value string for the regular expression and URI(s)... + */ + + value ++; /* Skip leading " */ + + for (start = value; *value && *value != '\"'; value ++) + if (*value == '\\' && value[1]) + _cups_strcpy(value, value + 1); + + if (!*value) + { + fputs("ERROR: Missing end quote for DeviceURI!\n", stderr); + + cupsArrayDelete(device_uri->uris); + free(device_uri); + + return (NULL); + } + + *value++ = '\0'; + + if (regcomp(&(device_uri->re), start, REG_EXTENDED | REG_ICASE)) + { + fputs("ERROR: Bad regular expression for DeviceURI!\n", stderr); + + cupsArrayDelete(device_uri->uris); + free(device_uri); + + return (NULL); + } + + while (*value) + { + while (isspace(*value & 255)) + value ++; + + if (!*value) + break; + + for (start = value; *value && !isspace(*value & 255); value ++); + + if (*value) + *value++ = '\0'; + + cupsArrayAdd(device_uri->uris, strdup(start)); + } + + /* + * Add the device URI to the list and return it... + */ + + cupsArrayAdd(DeviceURIs, device_uri); + + return (device_uri); +} + + +/* + * 'alarm_handler()' - Handle alarm signals... + */ + +static void +alarm_handler(int sig) /* I - Signal number */ +{ + /* + * Do nothing... + */ + + (void)sig; + +#if !defined(HAVE_SIGSET) && !defined(HAVE_SIGACTION) + signal(SIGALRM, alarm_handler); +#endif /* !HAVE_SIGSET && !HAVE_SIGACTION */ + + if (DebugLevel) + write(2, "DEBUG: ALARM!\n", 14); +} + + +/* + * 'compare_cache()' - Compare two cache entries. + */ + +static int /* O - Result of comparison */ +compare_cache(snmp_cache_t *a, /* I - First cache entry */ + snmp_cache_t *b) /* I - Second cache entry */ +{ + return (_cups_strcasecmp(a->addrname, b->addrname)); +} + + +/* + * 'debug_printf()' - Display some debugging information. + */ + +static void +debug_printf(const char *format, /* I - Printf-style format string */ + ...) /* I - Additional arguments as needed */ +{ + va_list ap; /* Pointer to arguments */ + + + if (!DebugLevel) + return; + + va_start(ap, format); + vfprintf(stderr, format, ap); + va_end(ap); +} + + +/* + * 'fix_make_model()' - Fix common problems in the make-and-model string. + */ + +static void +fix_make_model( + char *make_model, /* I - New make-and-model string */ + const char *old_make_model, /* I - Old make-and-model string */ + int make_model_size) /* I - Size of new string buffer */ +{ + char *mmptr; /* Pointer into make-and-model string */ + + + /* + * Fix some common problems with the make-and-model string so + * that printer driver detection works better... + */ + + if (!_cups_strncasecmp(old_make_model, "Hewlett-Packard", 15)) + { + /* + * Strip leading Hewlett-Packard and hp prefixes and replace + * with a single HP manufacturer prefix... + */ + + mmptr = (char *)old_make_model + 15; + + while (isspace(*mmptr & 255)) + mmptr ++; + + if (!_cups_strncasecmp(mmptr, "hp", 2)) + { + mmptr += 2; + + while (isspace(*mmptr & 255)) + mmptr ++; + } + + make_model[0] = 'H'; + make_model[1] = 'P'; + make_model[2] = ' '; + strlcpy(make_model + 3, mmptr, (size_t)make_model_size - 3); + } + else if (!_cups_strncasecmp(old_make_model, "deskjet", 7)) + snprintf(make_model, (size_t)make_model_size, "HP DeskJet%s", old_make_model + 7); + else if (!_cups_strncasecmp(old_make_model, "officejet", 9)) + snprintf(make_model, (size_t)make_model_size, "HP OfficeJet%s", old_make_model + 9); + else if (!_cups_strncasecmp(old_make_model, "stylus_pro_", 11)) + snprintf(make_model, (size_t)make_model_size, "EPSON Stylus Pro %s", old_make_model + 11); + else + strlcpy(make_model, old_make_model, (size_t)make_model_size); + + if ((mmptr = strstr(make_model, ", Inc.,")) != NULL) + { + /* + * Strip inc. from name, e.g. "Tektronix, Inc., Phaser 560" + * becomes "Tektronix Phaser 560"... + */ + + _cups_strcpy(mmptr, mmptr + 7); + } + + if ((mmptr = strstr(make_model, " Network")) != NULL) + { + /* + * Drop unnecessary informational text, e.g. "Xerox DocuPrint N2025 + * Network LaserJet - 2.12" becomes "Xerox DocuPrint N2025"... + */ + + *mmptr = '\0'; + } + + if ((mmptr = strchr(make_model, ',')) != NULL) + { + /* + * Drop anything after a trailing comma... + */ + + *mmptr = '\0'; + } +} + + +/* + * 'free_array()' - Free an array of strings. + */ + +static void +free_array(cups_array_t *a) /* I - Array */ +{ + char *s; /* Current string */ + + + for (s = (char *)cupsArrayFirst(a); s; s = (char *)cupsArrayNext(a)) + free(s); + + cupsArrayDelete(a); +} + + +/* + * 'free_cache()' - Free the array of cached devices. + */ + +static void +free_cache(void) +{ + snmp_cache_t *cache; /* Cached device */ + + + for (cache = (snmp_cache_t *)cupsArrayFirst(Devices); + cache; + cache = (snmp_cache_t *)cupsArrayNext(Devices)) + { + free(cache->addrname); + + if (cache->uri) + free(cache->uri); + + if (cache->id) + free(cache->id); + + if (cache->make_and_model) + free(cache->make_and_model); + + free(cache); + } + + cupsArrayDelete(Devices); + Devices = NULL; +} + + +/* + * 'get_interface_addresses()' - Get the broadcast address(es) associated + * with an interface. + */ + +static http_addrlist_t * /* O - List of addresses */ +get_interface_addresses( + const char *ifname) /* I - Interface name */ +{ + struct ifaddrs *addrs, /* Interface address list */ + *addr; /* Current interface address */ + http_addrlist_t *first, /* First address in list */ + *last, /* Last address in list */ + *current; /* Current address */ + + + if (getifaddrs(&addrs) < 0) + return (NULL); + + for (addr = addrs, first = NULL, last = NULL; addr; addr = addr->ifa_next) + if ((addr->ifa_flags & IFF_BROADCAST) && addr->ifa_broadaddr && + addr->ifa_broadaddr->sa_family == AF_INET && + (!ifname || !strcmp(ifname, addr->ifa_name))) + { + current = calloc(1, sizeof(http_addrlist_t)); + + memcpy(&(current->addr), addr->ifa_broadaddr, + sizeof(struct sockaddr_in)); + + if (!last) + first = current; + else + last->next = current; + + last = current; + } + + freeifaddrs(addrs); + + return (first); +} + + +/* + * 'list_device()' - List a device we found... + */ + +static void +list_device(snmp_cache_t *cache) /* I - Cached device */ +{ + if (cache->uri) + cupsBackendReport("network", cache->uri, cache->make_and_model, + cache->info, cache->id, cache->location); +} + + +/* + * 'password_cb()' - Handle authentication requests. + * + * All we do right now is return NULL, indicating that no authentication + * is possible. + */ + +static const char * /* O - Password (NULL) */ +password_cb(const char *prompt) /* I - Prompt message */ +{ + (void)prompt; /* Anti-compiler-warning-code */ + + return (NULL); +} + + +/* + * 'probe_device()' - Probe a device to discover whether it is a printer. + * + * TODO: Try using the Port Monitor MIB to discover the correct protocol + * to use - first need a commercially-available printer that supports + * it, though... + */ + +static void +probe_device(snmp_cache_t *device) /* I - Device */ +{ + char uri[1024], /* Full device URI */ + *uriptr, /* Pointer into URI */ + *format; /* Format string for device */ + device_uri_t *device_uri; /* Current DeviceURI match */ + + + debug_printf("DEBUG: %.3f Probing %s...\n", run_time(), device->addrname); + +#ifdef __APPLE__ + /* + * If the printer supports Bonjour/mDNS, don't report it from the SNMP backend. + */ + + if (!try_connect(&(device->address), device->addrname, 5353)) + { + debug_printf("DEBUG: %s supports mDNS, not reporting!\n", device->addrname); + return; + } +#endif /* __APPLE__ */ + + /* + * Lookup the device in the match table... + */ + + for (device_uri = (device_uri_t *)cupsArrayFirst(DeviceURIs); + device_uri; + device_uri = (device_uri_t *)cupsArrayNext(DeviceURIs)) + if (device->make_and_model && + !regexec(&(device_uri->re), device->make_and_model, 0, NULL, 0)) + { + /* + * Found a match, add the URIs... + */ + + for (format = (char *)cupsArrayFirst(device_uri->uris); + format; + format = (char *)cupsArrayNext(device_uri->uris)) + { + for (uriptr = uri; *format && uriptr < (uri + sizeof(uri) - 1);) + if (*format == '%' && format[1] == 's') + { + /* + * Insert hostname/address... + */ + + strlcpy(uriptr, device->addrname, sizeof(uri) - (size_t)(uriptr - uri)); + uriptr += strlen(uriptr); + format += 2; + } + else + *uriptr++ = *format++; + + *uriptr = '\0'; + + update_cache(device, uri, NULL, NULL); + } + + return; + } + + /* + * Then try the standard ports... + */ + + if (!try_connect(&(device->address), device->addrname, 9100)) + { + debug_printf("DEBUG: %s supports AppSocket!\n", device->addrname); + + snprintf(uri, sizeof(uri), "socket://%s", device->addrname); + update_cache(device, uri, NULL, NULL); + } + else if (!try_connect(&(device->address), device->addrname, 515)) + { + debug_printf("DEBUG: %s supports LPD!\n", device->addrname); + + snprintf(uri, sizeof(uri), "lpd://%s/", device->addrname); + update_cache(device, uri, NULL, NULL); + } +} + + +/* + * 'read_snmp_conf()' - Read the snmp.conf file. + */ + +static void +read_snmp_conf(const char *address) /* I - Single address to probe */ +{ + cups_file_t *fp; /* File pointer */ + char filename[1024], /* Filename */ + line[1024], /* Line from file */ + *value; /* Value on line */ + int linenum; /* Line number */ + const char *cups_serverroot; /* CUPS_SERVERROOT env var */ + const char *debug; /* CUPS_DEBUG_LEVEL env var */ + const char *runtime; /* CUPS_MAX_RUN_TIME env var */ + + + /* + * Initialize the global address and community lists... + */ + + Addresses = cupsArrayNew(NULL, NULL); + Communities = cupsArrayNew(NULL, NULL); + + if (address) + add_array(Addresses, address); + + if ((debug = getenv("CUPS_DEBUG_LEVEL")) != NULL) + DebugLevel = atoi(debug); + + if ((runtime = getenv("CUPS_MAX_RUN_TIME")) != NULL) + MaxRunTime = atoi(runtime); + + /* + * Find the snmp.conf file... + */ + + if ((cups_serverroot = getenv("CUPS_SERVERROOT")) == NULL) + cups_serverroot = CUPS_SERVERROOT; + + snprintf(filename, sizeof(filename), "%s/snmp.conf", cups_serverroot); + + if ((fp = cupsFileOpen(filename, "r")) != NULL) + { + /* + * Read the snmp.conf file... + */ + + linenum = 0; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + if (!value) + fprintf(stderr, "ERROR: Missing value on line %d of %s!\n", linenum, + filename); + else if (!_cups_strcasecmp(line, "Address")) + { + if (!address) + add_array(Addresses, value); + } + else if (!_cups_strcasecmp(line, "Community")) + add_array(Communities, value); + else if (!_cups_strcasecmp(line, "DebugLevel")) + DebugLevel = atoi(value); + else if (!_cups_strcasecmp(line, "DeviceURI")) + { + if (*value != '\"') + fprintf(stderr, + "ERROR: Missing double quote for regular expression on " + "line %d of %s!\n", linenum, filename); + else + add_device_uri(value); + } + else if (!_cups_strcasecmp(line, "HostNameLookups")) + HostNameLookups = !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "true") || + !_cups_strcasecmp(value, "double"); + else if (!_cups_strcasecmp(line, "MaxRunTime")) + MaxRunTime = atoi(value); + else + fprintf(stderr, "ERROR: Unknown directive %s on line %d of %s!\n", + line, linenum, filename); + } + + cupsFileClose(fp); + } + + /* + * Use defaults if parameters are undefined... + */ + + if (cupsArrayCount(Addresses) == 0) + { + /* + * If we have no addresses, exit immediately... + */ + + fprintf(stderr, + "DEBUG: No address specified and no Address line in %s...\n", + filename); + exit(0); + } + + if (cupsArrayCount(Communities) == 0) + { + fputs("INFO: Using default SNMP Community public\n", stderr); + add_array(Communities, "public"); + } +} + + +/* + * 'read_snmp_response()' - Read and parse a SNMP response... + */ + +static void +read_snmp_response(int fd) /* I - SNMP socket file descriptor */ +{ + char addrname[256]; /* Source address name */ + cups_snmp_t packet; /* Decoded packet */ + snmp_cache_t key, /* Search key */ + *device; /* Matching device */ + + + /* + * Read the response data... + */ + + if (!_cupsSNMPRead(fd, &packet, -1.0)) + { + fprintf(stderr, "ERROR: Unable to read data from socket: %s\n", + strerror(errno)); + return; + } + + if (HostNameLookups) + httpAddrLookup(&(packet.address), addrname, sizeof(addrname)); + else + httpAddrString(&(packet.address), addrname, sizeof(addrname)); + + debug_printf("DEBUG: %.3f Received data from %s...\n", run_time(), addrname); + + /* + * Look for the response status code in the SNMP message header... + */ + + if (packet.error) + { + fprintf(stderr, "ERROR: Bad SNMP packet from %s: %s\n", addrname, + packet.error); + + return; + } + + debug_printf("DEBUG: community=\"%s\"\n", packet.community); + debug_printf("DEBUG: request-id=%d\n", packet.request_id); + debug_printf("DEBUG: error-status=%d\n", packet.error_status); + + if (packet.error_status && packet.request_id != DEVICE_TYPE) + return; + + /* + * Find a matching device in the cache... + */ + + key.addrname = addrname; + device = (snmp_cache_t *)cupsArrayFind(Devices, &key); + + /* + * Process the message... + */ + + switch (packet.request_id) + { + case DEVICE_TYPE : + /* + * Got the device type response... + */ + + if (device) + { + debug_printf("DEBUG: Discarding duplicate device type for \"%s\"...\n", + addrname); + return; + } + + /* + * Add the device and request the device data... + */ + + add_cache(&(packet.address), addrname, NULL, NULL, NULL); + + _cupsSNMPWrite(fd, &(packet.address), CUPS_SNMP_VERSION_1, + packet.community, CUPS_ASN1_GET_REQUEST, + DEVICE_DESCRIPTION, DescriptionOID); + _cupsSNMPWrite(fd, &(packet.address), CUPS_SNMP_VERSION_1, + packet.community, CUPS_ASN1_GET_REQUEST, + DEVICE_ID, DeviceIdOID); + _cupsSNMPWrite(fd, &(packet.address), CUPS_SNMP_VERSION_1, + packet.community, CUPS_ASN1_GET_REQUEST, + DEVICE_URI, UriOID); + _cupsSNMPWrite(fd, &(packet.address), CUPS_SNMP_VERSION_1, + packet.community, CUPS_ASN1_GET_REQUEST, + DEVICE_LOCATION, LocationOID); + _cupsSNMPWrite(fd, &(packet.address), CUPS_SNMP_VERSION_1, + packet.community, CUPS_ASN1_GET_REQUEST, + DEVICE_PRODUCT, LexmarkProductOID); + _cupsSNMPWrite(fd, &(packet.address), CUPS_SNMP_VERSION_1, + packet.community, CUPS_ASN1_GET_REQUEST, + DEVICE_PRODUCT, LexmarkProductOID2); + _cupsSNMPWrite(fd, &(packet.address), CUPS_SNMP_VERSION_1, + packet.community, CUPS_ASN1_GET_REQUEST, + DEVICE_ID, LexmarkDeviceIdOID); + _cupsSNMPWrite(fd, &(packet.address), CUPS_SNMP_VERSION_1, + packet.community, CUPS_ASN1_GET_REQUEST, + DEVICE_PRODUCT, XeroxProductOID); + break; + + case DEVICE_DESCRIPTION : + if (device && packet.object_type == CUPS_ASN1_OCTET_STRING) + { + /* + * Update an existing cache entry... + */ + + char make_model[256]; /* Make and model */ + + + if (strchr((char *)packet.object_value.string.bytes, ':') && + strchr((char *)packet.object_value.string.bytes, ';')) + { + /* + * Description is the IEEE-1284 device ID... + */ + + char *ptr; /* Pointer into device ID */ + + for (ptr = (char *)packet.object_value.string.bytes; *ptr; ptr ++) + if (*ptr == '\n') + *ptr = ';'; /* A lot of bad printers put a newline */ + if (!device->id) + device->id = strdup((char *)packet.object_value.string.bytes); + + backendGetMakeModel((char *)packet.object_value.string.bytes, + make_model, sizeof(make_model)); + + if (device->info) + free(device->info); + + device->info = strdup(make_model); + } + else + { + /* + * Description is plain text... + */ + + fix_make_model(make_model, (char *)packet.object_value.string.bytes, + sizeof(make_model)); + + if (device->info) + free(device->info); + + device->info = strdup((char *)packet.object_value.string.bytes); + } + + if (!device->make_and_model) + device->make_and_model = strdup(make_model); + } + break; + + case DEVICE_ID : + if (device && packet.object_type == CUPS_ASN1_OCTET_STRING && + (!device->id || + strlen(device->id) < packet.object_value.string.num_bytes)) + { + /* + * Update an existing cache entry... + */ + + char make_model[256]; /* Make and model */ + char *ptr; /* Pointer into device ID */ + + for (ptr = (char *)packet.object_value.string.bytes; *ptr; ptr ++) + if (*ptr == '\n') + *ptr = ';'; /* A lot of bad printers put a newline */ + if (device->id) + free(device->id); + + device->id = strdup((char *)packet.object_value.string.bytes); + + /* + * Convert the ID to a make and model string... + */ + + backendGetMakeModel((char *)packet.object_value.string.bytes, + make_model, sizeof(make_model)); + if (device->make_and_model) + free(device->make_and_model); + + device->make_and_model = strdup(make_model); + } + break; + + case DEVICE_LOCATION : + if (device && packet.object_type == CUPS_ASN1_OCTET_STRING && + !device->location) + device->location = strdup((char *)packet.object_value.string.bytes); + break; + + case DEVICE_PRODUCT : + if (device && packet.object_type == CUPS_ASN1_OCTET_STRING && + !device->id) + { + /* + * Update an existing cache entry... + */ + + if (!device->info) + device->info = strdup((char *)packet.object_value.string.bytes); + + if (device->make_and_model) + free(device->make_and_model); + + device->make_and_model = strdup((char *)packet.object_value.string.bytes); + } + break; + + case DEVICE_URI : + if (device && packet.object_type == CUPS_ASN1_OCTET_STRING && + !device->uri && packet.object_value.string.num_bytes > 3) + { + /* + * Update an existing cache entry... + */ + + char scheme[32], /* URI scheme */ + userpass[256], /* Username:password in URI */ + hostname[256], /* Hostname in URI */ + resource[1024]; /* Resource path in URI */ + int port; /* Port number in URI */ + + if (!strncmp((char *)packet.object_value.string.bytes, "lpr:", 4)) + { + /* + * We want "lpd://..." for the URI... + */ + + packet.object_value.string.bytes[2] = 'd'; + } + + if (httpSeparateURI(HTTP_URI_CODING_ALL, + (char *)packet.object_value.string.bytes, + scheme, sizeof(scheme), + userpass, sizeof(userpass), + hostname, sizeof(hostname), &port, + resource, sizeof(resource)) >= HTTP_URI_OK) + device->uri = strdup((char *)packet.object_value.string.bytes); + } + break; + } +} + + +/* + * 'run_time()' - Return the total running time... + */ + +static double /* O - Number of seconds */ +run_time(void) +{ + struct timeval curtime; /* Current time */ + + + gettimeofday(&curtime, NULL); + + return (curtime.tv_sec - StartTime.tv_sec + + 0.000001 * (curtime.tv_usec - StartTime.tv_usec)); +} + + +/* + * 'scan_devices()' - Scan for devices using SNMP. + */ + +static void +scan_devices(int ipv4, /* I - SNMP IPv4 socket */ + int ipv6) /* I - SNMP IPv6 socket */ +{ + int fd, /* File descriptor for this address */ + busy; /* Are we busy processing something? */ + char *address, /* Current address */ + *community; /* Current community */ + fd_set input; /* Input set for select() */ + struct timeval timeout; /* Timeout for select() */ + time_t endtime; /* End time for scan */ + http_addrlist_t *addrs, /* List of addresses */ + *addr; /* Current address */ + snmp_cache_t *device; /* Current device */ + char temp[1024]; /* Temporary address string */ + + + gettimeofday(&StartTime, NULL); + + /* + * First send all of the broadcast queries... + */ + + for (address = (char *)cupsArrayFirst(Addresses); + address; + address = (char *)cupsArrayNext(Addresses)) + { + if (!strcmp(address, "@LOCAL")) + addrs = get_interface_addresses(NULL); + else if (!strncmp(address, "@IF(", 4)) + { + char ifname[255]; /* Interface name */ + + strlcpy(ifname, address + 4, sizeof(ifname)); + if (ifname[0]) + ifname[strlen(ifname) - 1] = '\0'; + + addrs = get_interface_addresses(ifname); + } + else + addrs = httpAddrGetList(address, AF_UNSPEC, NULL); + + if (!addrs) + { + fprintf(stderr, "ERROR: Unable to scan \"%s\"!\n", address); + continue; + } + + for (community = (char *)cupsArrayFirst(Communities); + community; + community = (char *)cupsArrayNext(Communities)) + { + debug_printf("DEBUG: Scanning for devices in \"%s\" via \"%s\"...\n", + community, address); + + for (addr = addrs; addr; addr = addr->next) + { +#ifdef AF_INET6 + if (httpAddrFamily(&(addr->addr)) == AF_INET6) + fd = ipv6; + else +#endif /* AF_INET6 */ + fd = ipv4; + + debug_printf("DEBUG: Sending get request to %s...\n", + httpAddrString(&(addr->addr), temp, sizeof(temp))); + + _cupsSNMPWrite(fd, &(addr->addr), CUPS_SNMP_VERSION_1, community, + CUPS_ASN1_GET_REQUEST, DEVICE_TYPE, DeviceTypeOID); + } + } + + httpAddrFreeList(addrs); + } + + /* + * Then read any responses that come in over the next 3 seconds... + */ + + endtime = time(NULL) + MaxRunTime; + + FD_ZERO(&input); + + while (time(NULL) < endtime) + { + timeout.tv_sec = 2; + timeout.tv_usec = 0; + + FD_SET(ipv4, &input); + if (ipv6 >= 0) + FD_SET(ipv6, &input); + + fd = ipv4 > ipv6 ? ipv4 : ipv6; + if (select(fd + 1, &input, NULL, NULL, &timeout) < 0) + { + fprintf(stderr, "ERROR: %.3f select() for %d/%d failed: %s\n", run_time(), + ipv4, ipv6, strerror(errno)); + break; + } + + busy = 0; + + if (FD_ISSET(ipv4, &input)) + { + read_snmp_response(ipv4); + busy = 1; + } + + if (ipv6 >= 0 && FD_ISSET(ipv6, &input)) + { + read_snmp_response(ipv6); + busy = 1; + } + + if (!busy) + { + /* + * List devices with complete information... + */ + + int sent_something = 0; + + for (device = (snmp_cache_t *)cupsArrayFirst(Devices); + device; + device = (snmp_cache_t *)cupsArrayNext(Devices)) + if (!device->sent && device->info && device->make_and_model) + { + if (device->uri) + list_device(device); + else + probe_device(device); + + device->sent = sent_something = 1; + } + + if (!sent_something) + break; + } + } + + debug_printf("DEBUG: %.3f Scan complete!\n", run_time()); +} + + +/* + * 'try_connect()' - Try connecting on a port... + */ + +static int /* O - 0 on success or -1 on error */ +try_connect(http_addr_t *addr, /* I - Socket address */ + const char *addrname, /* I - Hostname or IP address */ + int port) /* I - Port number */ +{ + int fd; /* Socket */ + int status; /* Connection status */ + + + debug_printf("DEBUG: %.3f Trying %s://%s:%d...\n", run_time(), + port == 515 ? "lpd" : "socket", addrname, port); + + if ((fd = socket(httpAddrFamily(addr), SOCK_STREAM, 0)) < 0) + { + fprintf(stderr, "ERROR: Unable to create socket: %s\n", + strerror(errno)); + return (-1); + } + + _httpAddrSetPort(addr, port); + + alarm(1); + + status = connect(fd, (void *)addr, (socklen_t)httpAddrLength(addr)); + + close(fd); + alarm(0); + + return (status); +} + + +/* + * 'update_cache()' - Update a cached device... + */ + +static void +update_cache(snmp_cache_t *device, /* I - Device */ + const char *uri, /* I - Device URI */ + const char *id, /* I - Device ID */ + const char *make_model) /* I - Device make and model */ +{ + if (device->uri) + free(device->uri); + + device->uri = strdup(uri); + + if (id) + { + if (device->id) + free(device->id); + + device->id = strdup(id); + } + + if (make_model) + { + if (device->make_and_model) + free(device->make_and_model); + + device->make_and_model = strdup(make_model); + } + + list_device(device); +} diff --git a/backend/snmp.txt b/backend/snmp.txt new file mode 100644 index 0000000..77a38c4 --- /dev/null +++ b/backend/snmp.txt @@ -0,0 +1,172 @@ +snmp.txt - 2006-04-19 +--------------------- + +This file lists the "interesting" bits from the command: + + snmpwalk -v 1 -c public HOST .1 + +for many network print servers and internal cards. It is mainly here +for SNMP documentation and development purposes. + + +AXIS 5600 + +SNMPv2-MIB::sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT,ROM J.sp.00,JETDIRECT EX,JD28,EEPROM 6.16.5 +SNMPv2-MIB::sysName.0 = STRING: +HOST-RESOURCES-MIB::hrDeviceType.1 = OID: HOST-RESOURCES-TYPES::hrDevicePrinter +HOST-RESOURCES-MIB::hrDeviceType.2 = OID: HOST-RESOURCES-TYPES::hrDevicePrinter +HOST-RESOURCES-MIB::hrDeviceType.3 = OID: HOST-RESOURCES-TYPES::hrDevicePrinter +HOST-RESOURCES-MIB::hrDeviceDescr.1 = STRING: Hewlett-Packard hp LaserJet 3380 +HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: Axis AXIS 5600 +HOST-RESOURCES-MIB::hrDeviceDescr.3 = STRING: Axis AXIS 5600 +HOST-RESOURCES-MIB::hrDeviceID.1 = OID: SNMPv2-SMI::zeroDotZero +HOST-RESOURCES-MIB::hrDeviceID.2 = OID: SNMPv2-SMI::zeroDotZero +HOST-RESOURCES-MIB::hrDeviceID.3 = OID: SNMPv2-SMI::zeroDotZero +SNMPv2-SMI::enterprises.11.2.4.3.10.8.0 = STRING: "AXIS433AE8" +SNMPv2-SMI::enterprises.368.2.3.2.601.0 = INTEGER: 9100 +SNMPv2-SMI::enterprises.368.2.3.2.602.0 = INTEGER: 9101 +SNMPv2-SMI::enterprises.368.2.3.2.603.0 = INTEGER: 9102 +SNMPv2-SMI::enterprises.368.2.3.10.901.0 = STRING: "AXIS433AE8" + + +AXIS OfficeBasic + +SNMPv2-MIB::sysDescr.0 = STRING: AXIS OfficeBasic Parallel Network Print Server V6.43 Sep 4 2003 +HOST-RESOURCES-MIB::hrDeviceType.1 = OID: HOST-RESOURCES-TYPES::hrDevicePrinter +HOST-RESOURCES-MIB::hrDeviceDescr.1 = STRING: EPSON Stylus Photo 870 +HOST-RESOURCES-MIB::hrDeviceID.1 = OID: SNMPv2-SMI::zeroDotZero + + +DLink DP-301P+ + +SNMPv2-MIB::sysDescr.0 = STRING: D-Link DP-301P+ Print Server + + +Genicom ML280 + +SNMPv2-MIB::sysDescr.0 = STRING: GENICOM microLaser 280 +SNMPv2-MIB::sysName.0 = STRING: PRQ_004F75 +HOST-RESOURCES-MIB::hrDeviceType.1 = OID: HOST-RESOURCES-TYPES::hrDevicePrinter +HOST-RESOURCES-MIB::hrDeviceDescr.1 = STRING: MANUFACTURER:GENICOM;MODEL:microLaser 280; +HOST-RESOURCES-MIB::hrDeviceID.1 = OID: SNMPv2-SMI::enterprises.3369.1.1.2.4 + + +EPSON Type-B Network Card + +SNMPv2-MIB::sysDescr.0 = STRING: EPSON Type-B 10Base-T/100Base-TX Print Server +SNMPv2-MIB::sysName.0 = STRING: StylusPro7600-BB87A8 +HOST-RESOURCES-MIB::hrDeviceType.1 = OID: HOST-RESOURCES-TYPES::hrDevicePrinter +HOST-RESOURCES-MIB::hrDeviceDescr.1 = STRING: EPSON Stylus Pro 7600 +HOST-RESOURCES-MIB::hrDeviceID.1 = OID: SNMPv2-SMI::enterprises.1248.1.2.1.22.69.109.117.108.97.116.101.83.116.121.108.117.115.32.80.114.111.32.55.54.48.48 +SNMPv2-SMI::enterprises.11.2.3.9.1.1.7.0 = STRING: "MFG:EPSON;CMD:ESCPL2,BDC;MDL:Stylus Pro 7600;CLS:PRINTER;DES:EPSON Stylus Pro 7600;" +SNMPv2-SMI::enterprises.1248.1.2.2.1.1.1.1.1 = STRING: "MFG:EPSON;CMD:ESCPL2,BDC;MDL:Stylus Pro 7600;CLS:PRINTER;DES:EPSON Stylus Pro 7600;" + + +EPSON Wireless 802.11b Print Server + +SNMPv2-MIB::sysDescr.0 = STRING: EPSON Wireless LAN Print Interface compatible with an HP JETDIRECT EX +SNMPv2-MIB::sysName.0 = STRING: EAI_0F550B +HOST-RESOURCES-MIB::hrDeviceType.1 = OID: HOST-RESOURCES-TYPES::hrDevicePrinter +HOST-RESOURCES-MIB::hrDeviceDescr.1 = STRING: +HOST-RESOURCES-MIB::hrDeviceID.1 = OID: SNMPv2-SMI::zeroDotZero + + +HP JetDirect EX3plus + +SNMPv2-MIB::sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT,ROM D.04.03,JETDIRECT EX,JD26,EEPROM D.05.22 +SNMPv2-MIB::sysName.0 = STRING: NPID1EC0F + + +HP LJ4000 + +SNMPv2-MIB::sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT,ROM G.05.34,JETDIRECT,JD30,EEPROM G.08.32 +SNMPv2-MIB::sysName.0 = STRING: +HOST-RESOURCES-MIB::hrDeviceType.1 = OID: HOST-RESOURCES-TYPES::hrDevicePrinter +HOST-RESOURCES-MIB::hrDeviceDescr.1 = STRING: HP LaserJet 4000 Series +HOST-RESOURCES-MIB::hrDeviceID.1 = OID: SNMPv2-SMI::enterprises.11.2.3.9.1.2.5 + + +HP CLJ4550 + +SNMPv2-MIB::sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT,ROM L.20.07,JETDIRECT,JD84,EEPROM L.21.22,CIDATE 07/06/2001 +SNMPv2-MIB::sysName.0 = STRING: NPI02FDE7 +HOST-RESOURCES-MIB::hrDeviceDescr.1 = STRING: HP Color LaserJet 4550 +HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: Hewlett-Packard Dynamic RAM Disk +HOST-RESOURCES-MIB::hrDeviceID.1 = OID: SNMPv2-SMI::enterprises.11.2.3.9.1.2.14 + + +Lexmark C522 + +SNMPv2-MIB::sysDescr.0 = STRING: Lexmark C522 version NS.NP.N212 kernel 2.6.6 All-N-1 +SNMPv2-MIB::sysName.0 = STRING: ET0004000D0CCA +HOST-RESOURCES-MIB::hrDeviceType.1 = OID: HOST-RESOURCES-TYPES::hrDevicePrinter +HOST-RESOURCES-MIB::hrDeviceType.2 = OID: HOST-RESOURCES-TYPES::hrDeviceNonVolatileMemory +HOST-RESOURCES-MIB::hrDeviceType.3 = OID: HOST-RESOURCES-TYPES::hrDeviceProcessor +HOST-RESOURCES-MIB::hrDeviceType.4 = OID: HOST-RESOURCES-TYPES::hrDeviceSerialPort +HOST-RESOURCES-MIB::hrDeviceType.5 = OID: HOST-RESOURCES-TYPES::hrDeviceNetwork +HOST-RESOURCES-MIB::hrDeviceDescr.1 = STRING: Lexmark C522 9421TTV LS.FA.P129 +HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: Nonvolatile RAM +HOST-RESOURCES-MIB::hrDeviceDescr.3 = STRING: IBM 750 Rev CXr +HOST-RESOURCES-MIB::hrDeviceDescr.4 = STRING: USB Interface +HOST-RESOURCES-MIB::hrDeviceDescr.5 = STRING: Network Interface +HOST-RESOURCES-MIB::hrDeviceID.1 = OID: SNMPv2-SMI::zeroDotZero +HOST-RESOURCES-MIB::hrDeviceID.2 = OID: SNMPv2-SMI::zeroDotZero +HOST-RESOURCES-MIB::hrDeviceID.3 = OID: SNMPv2-SMI::zeroDotZero +HOST-RESOURCES-MIB::hrDeviceID.4 = OID: SNMPv2-SMI::zeroDotZero +HOST-RESOURCES-MIB::hrDeviceID.5 = OID: SNMPv2-SMI::enterprises.641.1 +SNMPv2-SMI::enterprises.641.2.1.2.1.2.1 = STRING: "Lexmark C522" +SNMPv2-SMI::enterprises.641.2.1.2.1.3.1 = STRING: "MANUFACTURER:Lexmark International;COMMAND SET:;MODEL:Lexmark C522" + + +Linksys EPSX3 + +SNMPv2-MIB::sysDescr.0 = STRING: ETHERNET MULTI-ENVIRONMENT.ROM, JETDIRECT EX, EEPROM 6016 + + +NetGear PS113 + +SNMPv2-MIB::sysDescr.0 = STRING: A SNMP proxy agent. + + +Okidata C7200 + +SNMPv2-MIB::sysDescr.0 = STRING: OkiLAN 6200e +SNMPv2-MIB::sysName.0 = STRING: OKI7009715 +HOST-RESOURCES-MIB::hrDeviceType.1 = OID: HOST-RESOURCES-TYPES::hrDevicePrinter +HOST-RESOURCES-MIB::hrDeviceType.2 = OID: HOST-RESOURCES-TYPES::hrDeviceNonVolat +ileMemory +HOST-RESOURCES-MIB::hrDeviceDescr.1 = STRING: C7200 +HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: FLASH0 +HOST-RESOURCES-MIB::hrDeviceID.1 = OID: SNMPv2-SMI::enterprises.2001.1.1.1.1 +HOST-RESOURCES-MIB::hrDeviceID.2 = OID: SNMPv2-SMI::zeroDotZero +SNMPv2-SMI::mib-2.43.14.1.1.3.1.1 = STRING: "IEEE 1284" +SNMPv2-SMI::mib-2.43.14.1.1.3.1.2 = STRING: "EtherTalk Phase 2" +SNMPv2-SMI::mib-2.43.14.1.1.3.1.3 = STRING: "LPD" +SNMPv2-SMI::mib-2.43.14.1.1.3.1.4 = STRING: "Netware Rprinter" +SNMPv2-SMI::mib-2.43.14.1.1.3.1.5 = STRING: "Netware Bindery or NDS Pserver" +SNMPv2-SMI::mib-2.43.14.1.1.3.1.6 = STRING: "Raw TCP Port 9100" +SNMPv2-SMI::mib-2.43.14.1.1.3.1.7 = STRING: "FTP" +SNMPv2-SMI::mib-2.43.14.1.1.3.1.8 = STRING: "DLC/LLC" +SNMPv2-SMI::enterprises.2001.1.1.1.1.1.3530.0 = STRING: "C7200" + + +Xerox N2025 + +SNMPv2-MIB::sysDescr.0 = STRING: Xerox DocuPrint N2025 Network Laser Printer - 2.12-02 +SNMPv2-MIB::sysName.0 = STRING: +HOST-RESOURCES-MIB::hrDeviceType.1 = OID: HOST-RESOURCES-TYPES::hrDevicePrinter +HOST-RESOURCES-MIB::hrDeviceType.2 = OID: HOST-RESOURCES-TYPES::hrDeviceParallelPort +HOST-RESOURCES-MIB::hrDeviceType.3 = OID: HOST-RESOURCES-TYPES::hrDeviceNetwork +HOST-RESOURCES-MIB::hrDeviceType.6 = OID: HOST-RESOURCES-TYPES::hrDeviceProcessor +HOST-RESOURCES-MIB::hrDeviceType.7 = OID: HOST-RESOURCES-TYPES::hrDeviceOther +HOST-RESOURCES-MIB::hrDeviceType.9 = OID: HOST-RESOURCES-TYPES::hrDeviceVolatileMemory +HOST-RESOURCES-MIB::hrDeviceType.10 = OID: HOST-RESOURCES-TYPES::hrDeviceNonVolatileMemory +HOST-RESOURCES-MIB::hrDeviceDescr.1 = STRING: Xerox DocuPrint N2025 Network Laser Printer - 2.12-02 +HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: IEEE 1284 port +HOST-RESOURCES-MIB::hrDeviceDescr.3 = STRING: Ethernet port +HOST-RESOURCES-MIB::hrDeviceDescr.6 = STRING: Motorola Power PC +HOST-RESOURCES-MIB::hrDeviceDescr.7 = STRING: USB Port +HOST-RESOURCES-MIB::hrDeviceDescr.9 = STRING: RAM Memory +HOST-RESOURCES-MIB::hrDeviceDescr.10 = STRING: ROM Memory +HOST-RESOURCES-MIB::hrDeviceID.1 = OID: SNMPv2-SMI::enterprises.253.8.62.1.3.2.17.1 + diff --git a/backend/socket.c b/backend/socket.c new file mode 100644 index 0000000..68379e9 --- /dev/null +++ b/backend/socket.c @@ -0,0 +1,493 @@ +/* + * AppSocket backend for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include +#include "backend-private.h" +#include +#include +#include + +#ifdef _WIN32 +# include +#else +# include +# include +# include +# include +# include +# include +#endif /* _WIN32 */ + + +/* + * Local functions... + */ + +static ssize_t wait_bc(int device_fd, int secs); + + +/* + * 'main()' - Send a file to the printer or server. + * + * Usage: + * + * printer-uri job-id user title copies options [file] + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments (6 or 7) */ + char *argv[]) /* I - Command-line arguments */ +{ + const char *device_uri; /* Device URI */ + char scheme[255], /* Scheme in URI */ + hostname[1024], /* Hostname */ + username[255], /* Username info (not used) */ + resource[1024], /* Resource info (not used) */ + *options, /* Pointer to options */ + *name, /* Name of option */ + *value, /* Value of option */ + sep; /* Option separator */ + int print_fd; /* Print file */ + int copies; /* Number of copies to print */ + time_t start_time; /* Time of first connect */ + int contimeout; /* Connection timeout */ + int waiteof; /* Wait for end-of-file? */ + int port; /* Port number */ + int delay; /* Delay for retries... */ + int device_fd; /* AppSocket */ + int error; /* Error code (if any) */ + http_addrlist_t *addrlist, /* Address list */ + *addr; /* Connected address */ + char addrname[256]; /* Address name */ + int snmp_enabled = 1; /* Is SNMP enabled? */ + int snmp_fd, /* SNMP socket */ + start_count, /* Page count via SNMP at start */ + page_count, /* Page count via SNMP */ + have_supplies; /* Printer supports supply levels? */ + ssize_t bytes = 0, /* Initial bytes read */ + tbytes; /* Total number of bytes written */ + char buffer[1024]; /* Initial print buffer */ +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* Actions for POSIX signals */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ + + + /* + * Make sure status messages are not buffered... + */ + + setbuf(stderr, NULL); + + /* + * Ignore SIGPIPE signals... + */ + +#ifdef HAVE_SIGSET + sigset(SIGPIPE, SIG_IGN); +#elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + action.sa_handler = SIG_IGN; + sigaction(SIGPIPE, &action, NULL); +#else + signal(SIGPIPE, SIG_IGN); +#endif /* HAVE_SIGSET */ + + /* + * Check command-line... + */ + + if (argc == 1) + { + printf("network socket \"Unknown\" \"%s\"\n", + _cupsLangString(cupsLangDefault(), _("AppSocket/HP JetDirect"))); + return (CUPS_BACKEND_OK); + } + else if (argc < 6 || argc > 7) + { + _cupsLangPrintf(stderr, + _("Usage: %s job-id user title copies options [file]"), + argv[0]); + return (CUPS_BACKEND_FAILED); + } + + /* + * If we have 7 arguments, print the file named on the command-line. + * Otherwise, send stdin instead... + */ + + if (argc == 6) + { + print_fd = 0; + copies = 1; + } + else + { + /* + * Try to open the print file... + */ + + if ((print_fd = open(argv[6], O_RDONLY)) < 0) + { + _cupsLangPrintError("ERROR", _("Unable to open print file")); + return (CUPS_BACKEND_FAILED); + } + + copies = atoi(argv[4]); + } + + /* + * Extract the hostname and port number from the URI... + */ + + while ((device_uri = cupsBackendDeviceURI(argv)) == NULL) + { + _cupsLangPrintFilter(stderr, "INFO", _("Unable to locate printer.")); + sleep(10); + + if (getenv("CLASS") != NULL) + return (CUPS_BACKEND_FAILED); + } + + httpSeparateURI(HTTP_URI_CODING_ALL, device_uri, scheme, sizeof(scheme), + username, sizeof(username), hostname, sizeof(hostname), &port, + resource, sizeof(resource)); + + if (port == 0) + port = 9100; /* Default to HP JetDirect/Tektronix PhaserShare */ + + /* + * Get options, if any... + */ + + waiteof = 1; + contimeout = 7 * 24 * 60 * 60; + + if ((options = strchr(resource, '?')) != NULL) + { + /* + * Yup, terminate the device name string and move to the first + * character of the options... + */ + + *options++ = '\0'; + + /* + * Parse options... + */ + + while (*options) + { + /* + * Get the name... + */ + + name = options; + + while (*options && *options != '=' && *options != '+' && *options != '&') + options ++; + + if ((sep = *options) != '\0') + *options++ = '\0'; + + if (sep == '=') + { + /* + * Get the value... + */ + + value = options; + + while (*options && *options != '+' && *options != '&') + options ++; + + if (*options) + *options++ = '\0'; + } + else + value = (char *)""; + + /* + * Process the option... + */ + + if (!_cups_strcasecmp(name, "waiteof")) + { + /* + * Set the wait-for-eof value... + */ + + waiteof = !value[0] || !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "yes") || !_cups_strcasecmp(value, "true"); + } + else if (!_cups_strcasecmp(name, "snmp")) + { + /* + * Enable/disable SNMP stuff... + */ + + snmp_enabled = !value[0] || !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "true"); + } + else if (!_cups_strcasecmp(name, "contimeout")) + { + /* + * Set the connection timeout... + */ + + if (atoi(value) > 0) + contimeout = atoi(value); + } + } + } + + /* + * Then try finding the remote host... + */ + + start_time = time(NULL); + + addrlist = backendLookup(hostname, port, NULL); + + /* + * See if the printer supports SNMP... + */ + + if (snmp_enabled) + snmp_fd = _cupsSNMPOpen(addrlist->addr.addr.sa_family); + else + snmp_fd = -1; + + if (snmp_fd >= 0) + have_supplies = !backendSNMPSupplies(snmp_fd, &(addrlist->addr), + &start_count, NULL); + else + have_supplies = start_count = 0; + + /* + * Wait for data from the filter... + */ + + if (print_fd == 0) + { + if (!backendWaitLoop(snmp_fd, &(addrlist->addr), 1, backendNetworkSideCB)) + return (CUPS_BACKEND_OK); + else if ((bytes = read(0, buffer, sizeof(buffer))) <= 0) + return (CUPS_BACKEND_OK); + } + + /* + * Connect to the printer... + */ + + fprintf(stderr, "DEBUG: Connecting to %s:%d\n", hostname, port); + _cupsLangPrintFilter(stderr, "INFO", _("Connecting to printer.")); + + for (delay = 5;;) + { + if ((addr = httpAddrConnect(addrlist, &device_fd)) == NULL) + { + error = errno; + device_fd = -1; + + if (getenv("CLASS") != NULL) + { + /* + * If the CLASS environment variable is set, the job was submitted + * to a class and not to a specific queue. In this case, we want + * to abort immediately so that the job can be requeued on the next + * available printer in the class. + */ + + _cupsLangPrintFilter(stderr, "INFO", + _("Unable to contact printer, queuing on next " + "printer in class.")); + + /* + * Sleep 5 seconds to keep the job from requeuing too rapidly... + */ + + sleep(5); + + return (CUPS_BACKEND_FAILED); + } + + fprintf(stderr, "DEBUG: Connection error: %s\n", strerror(error)); + + if (errno == ECONNREFUSED || errno == EHOSTDOWN || errno == EHOSTUNREACH || errno == ETIMEDOUT || errno == ENOTCONN) + { + if (contimeout && (time(NULL) - start_time) > contimeout) + { + _cupsLangPrintFilter(stderr, "ERROR", + _("The printer is not responding.")); + return (CUPS_BACKEND_FAILED); + } + + switch (error) + { + case EHOSTDOWN : + _cupsLangPrintFilter(stderr, "WARNING", + _("The printer may not exist or " + "is unavailable at this time.")); + break; + + case EHOSTUNREACH : + default : + _cupsLangPrintFilter(stderr, "WARNING", + _("The printer is unreachable at this " + "time.")); + break; + + case ECONNREFUSED : + _cupsLangPrintFilter(stderr, "WARNING", + _("The printer is in use.")); + break; + } + + sleep((unsigned)delay); + + if (delay < 30) + delay += 5; + } + else + { + _cupsLangPrintFilter(stderr, "ERROR", + _("The printer is not responding.")); + sleep(30); + } + } + else + break; + } + + fputs("STATE: -connecting-to-device\n", stderr); + _cupsLangPrintFilter(stderr, "INFO", _("Connected to printer.")); + + fprintf(stderr, "DEBUG: Connected to %s:%d...\n", + httpAddrString(&(addr->addr), addrname, sizeof(addrname)), + httpAddrPort(&(addr->addr))); + + /* + * Print everything... + */ + + tbytes = 0; + + if (bytes > 0) + tbytes += write(device_fd, buffer, (size_t)bytes); + + while (copies > 0 && tbytes >= 0) + { + copies --; + + if (print_fd != 0) + { + fputs("PAGE: 1 1\n", stderr); + lseek(print_fd, 0, SEEK_SET); + } + + if ((bytes = backendRunLoop(print_fd, device_fd, snmp_fd, &(addrlist->addr), 1, 0, backendNetworkSideCB)) < 0) + tbytes = -1; + else + tbytes = bytes; + + if (print_fd != 0 && tbytes >= 0) + _cupsLangPrintFilter(stderr, "INFO", _("Print file sent.")); + } + + fputs("STATE: +cups-waiting-for-job-completed\n", stderr); + + if (waiteof && tbytes >= 0) + { + /* + * Shutdown the socket and wait for the other end to finish... + */ + + _cupsLangPrintFilter(stderr, "INFO", _("Waiting for printer to finish.")); + + shutdown(device_fd, 1); + + while (wait_bc(device_fd, 90) > 0); + } + + /* + * Collect the final page count as needed... + */ + + if (have_supplies && + !backendSNMPSupplies(snmp_fd, &(addrlist->addr), &page_count, NULL) && + page_count > start_count) + fprintf(stderr, "PAGE: total %d\n", page_count - start_count); + + /* + * Close the socket connection... + */ + + close(device_fd); + + httpAddrFreeList(addrlist); + + /* + * Close the input file and return... + */ + + if (print_fd != 0) + close(print_fd); + + return (tbytes >= 0 ? CUPS_BACKEND_OK : CUPS_BACKEND_FAILED); +} + + +/* + * 'wait_bc()' - Wait for back-channel data... + */ + +static ssize_t /* O - # bytes read or -1 on error */ +wait_bc(int device_fd, /* I - Socket */ + int secs) /* I - Seconds to wait */ +{ + struct timeval timeout; /* Timeout for select() */ + fd_set input; /* Input set for select() */ + ssize_t bytes; /* Number of back-channel bytes read */ + char buffer[1024]; /* Back-channel buffer */ + + + /* + * Wait up to "secs" seconds for backchannel data... + */ + + timeout.tv_sec = secs; + timeout.tv_usec = 0; + + FD_ZERO(&input); + FD_SET(device_fd, &input); + + if (select(device_fd + 1, &input, NULL, NULL, &timeout) > 0) + { + /* + * Grab the data coming back and spit it out to stderr... + */ + + if ((bytes = read(device_fd, buffer, sizeof(buffer))) > 0) + { + fprintf(stderr, "DEBUG: Received %d bytes of back-channel data\n", + (int)bytes); + cupsBackChannelWrite(buffer, (size_t)bytes, 1.0); + } + + return (bytes); + } + else + return (-1); +} diff --git a/backend/test1284.c b/backend/test1284.c new file mode 100644 index 0000000..2da1086 --- /dev/null +++ b/backend/test1284.c @@ -0,0 +1,68 @@ +/* + * IEEE-1284 support functions test program for CUPS. + * + * Copyright © 2007-2010 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include +#ifdef _WIN32 +# include +#else +# include +# include +#endif /* _WIN32 */ + +#include "ieee1284.c" + + +/* + * 'main()' - Test the device-ID functions. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i, /* Looping var */ + fd; /* File descriptor */ + char device_id[1024], /* 1284 device ID string */ + make_model[1024], /* make-and-model string */ + uri[1024]; /* URI string */ + + + if (argc < 2) + { + puts("Usage: test1284 device-file [... device-file-N]"); + exit(1); + } + + for (i = 1; i < argc; i ++) + { + if ((fd = open(argv[i], O_RDWR)) < 0) + { + perror(argv[i]); + return (errno); + } + + printf("%s:\n", argv[i]); + + backendGetDeviceID(fd, device_id, sizeof(device_id), make_model, + sizeof(make_model), "test", uri, sizeof(uri)); + + printf(" device_id=\"%s\"\n", device_id); + printf(" make_model=\"%s\"\n", make_model); + printf(" uri=\"%s\"\n", uri); + + close(fd); + } + + return (0); +} diff --git a/backend/testbackend.c b/backend/testbackend.c new file mode 100644 index 0000000..6dbd0ab --- /dev/null +++ b/backend/testbackend.c @@ -0,0 +1,672 @@ +/* + * Backend test program for CUPS. + * + * Copyright © 2007-2014 by Apple Inc. + * Copyright © 1997-2005 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include +#include +#include +#include +#include +#include +#include + + +/* + * Local globals... + */ + +static int job_canceled = 0; + + +/* + * Local functions... + */ + +static void sigterm_handler(int sig); +static void usage(void) _CUPS_NORETURN; +static void walk_cb(const char *oid, const char *data, int datalen, + void *context); + + +/* + * 'main()' - Run the named backend. + * + * Usage: + * + * testbackend [-s] [-t] device-uri job-id user title copies options [file] + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int first_arg, /* First argument for backend */ + do_cancel = 0, /* Simulate a cancel-job via SIGTERM */ + do_ps = 0, /* Do PostScript query+test? */ + do_pcl = 0, /* Do PCL query+test? */ + do_side_tests = 0, /* Test side-channel ops? */ + do_trickle = 0, /* Trickle data to backend */ + do_walk = 0, /* Do OID lookup (0) or walking (1) */ + show_log = 0; /* Show log messages from backends? */ + const char *oid = ".1.3.6.1.2.1.43.10.2.1.4.1.1"; + /* OID to lookup or walk */ + char scheme[255], /* Scheme in URI == backend */ + backend[1024], /* Backend path */ + libpath[1024], /* Path for libcups */ + *ptr; /* Pointer into path */ + const char *serverbin; /* CUPS_SERVERBIN environment variable */ + int fd, /* Temporary file descriptor */ + back_fds[2], /* Back-channel pipe */ + side_fds[2], /* Side-channel socket */ + data_fds[2], /* Data pipe */ + back_pid = -1, /* Backend process ID */ + data_pid = -1, /* Trickle process ID */ + pid, /* Process ID */ + status; /* Exit status */ + + + /* + * Get the current directory and point the run-time linker at the "cups" + * subdirectory... + */ + + if (getcwd(libpath, sizeof(libpath)) && + (ptr = strrchr(libpath, '/')) != NULL && !strcmp(ptr, "/backend")) + { + strlcpy(ptr, "/cups", sizeof(libpath) - (size_t)(ptr - libpath)); + if (!access(libpath, 0)) + { +#ifdef __APPLE__ + fprintf(stderr, "Setting DYLD_LIBRARY_PATH to \"%s\".\n", libpath); + setenv("DYLD_LIBRARY_PATH", libpath, 1); +#else + fprintf(stderr, "Setting LD_LIBRARY_PATH to \"%s\".\n", libpath); + setenv("LD_LIBRARY_PATH", libpath, 1); +#endif /* __APPLE__ */ + } + else + perror(libpath); + } + + /* + * See if we have side-channel tests to do... + */ + + for (first_arg = 1; + argv[first_arg] && argv[first_arg][0] == '-'; + first_arg ++) + if (!strcmp(argv[first_arg], "-d")) + show_log = 1; + else if (!strcmp(argv[first_arg], "-cancel")) + do_cancel = 1; + else if (!strcmp(argv[first_arg], "-pcl")) + do_pcl = 1; + else if (!strcmp(argv[first_arg], "-ps")) + do_ps = 1; + else if (!strcmp(argv[first_arg], "-s")) + do_side_tests = 1; + else if (!strcmp(argv[first_arg], "-t")) + do_trickle = 1; + else if (!strcmp(argv[first_arg], "-get") && (first_arg + 1) < argc) + { + first_arg ++; + + do_side_tests = 1; + oid = argv[first_arg]; + } + else if (!strcmp(argv[first_arg], "-walk") && (first_arg + 1) < argc) + { + first_arg ++; + + do_side_tests = 1; + do_walk = 1; + oid = argv[first_arg]; + } + else + usage(); + + argc -= first_arg; + if (argc < 6 || argc > 7 || (argc == 7 && do_trickle)) + usage(); + + /* + * Extract the scheme from the device-uri - that's the program we want to + * execute. + */ + + if (sscanf(argv[first_arg], "%254[^:]", scheme) != 1) + { + fputs("testbackend: Bad device-uri - no colon!\n", stderr); + return (1); + } + + if (!access(scheme, X_OK)) + strlcpy(backend, scheme, sizeof(backend)); + else + { + if ((serverbin = getenv("CUPS_SERVERBIN")) == NULL) + serverbin = CUPS_SERVERBIN; + + snprintf(backend, sizeof(backend), "%s/backend/%s", serverbin, scheme); + if (access(backend, X_OK)) + { + fprintf(stderr, "testbackend: Unknown device scheme \"%s\"!\n", scheme); + return (1); + } + } + + /* + * Create the back-channel pipe and side-channel socket... + */ + + open("/dev/null", O_WRONLY); /* Make sure fd 3 and 4 are used */ + open("/dev/null", O_WRONLY); + + pipe(back_fds); + fcntl(back_fds[0], F_SETFL, fcntl(back_fds[0], F_GETFL) | O_NONBLOCK); + fcntl(back_fds[1], F_SETFL, fcntl(back_fds[1], F_GETFL) | O_NONBLOCK); + + socketpair(AF_LOCAL, SOCK_STREAM, 0, side_fds); + fcntl(side_fds[0], F_SETFL, fcntl(side_fds[0], F_GETFL) | O_NONBLOCK); + fcntl(side_fds[1], F_SETFL, fcntl(side_fds[1], F_GETFL) | O_NONBLOCK); + + /* + * Execute the trickle process as needed... + */ + + if (do_trickle || do_pcl || do_ps || do_cancel) + { + pipe(data_fds); + + signal(SIGTERM, sigterm_handler); + + if ((data_pid = fork()) == 0) + { + /* + * Trickle/query child comes here. Rearrange file descriptors so that + * FD 1, 3, and 4 point to the backend... + */ + + if ((fd = open("/dev/null", O_RDONLY)) != 0) + { + dup2(fd, 0); + close(fd); + } + + if (data_fds[1] != 1) + { + dup2(data_fds[1], 1); + close(data_fds[1]); + } + close(data_fds[0]); + + if (back_fds[0] != 3) + { + dup2(back_fds[0], 3); + close(back_fds[0]); + } + close(back_fds[1]); + + if (side_fds[0] != 4) + { + dup2(side_fds[0], 4); + close(side_fds[0]); + } + close(side_fds[1]); + + if (do_trickle) + { + /* + * Write 10 spaces, 1 per second... + */ + + int i; /* Looping var */ + + for (i = 0; i < 10; i ++) + { + write(1, " ", 1); + sleep(1); + } + } + else if (do_cancel) + { + /* + * Write PS or PCL lines until we see SIGTERM... + */ + + int line = 0, page = 0; /* Current line and page */ + ssize_t bytes; /* Number of bytes of response data */ + char buffer[1024]; /* Output buffer */ + + + if (do_pcl) + write(1, "\033E", 2); + else + write(1, "%!\n/Courier findfont 12 scalefont setfont 0 setgray\n", 52); + + while (!job_canceled) + { + if (line == 0) + { + page ++; + + if (do_pcl) + snprintf(buffer, sizeof(buffer), "PCL Page %d\r\n\r\n", page); + else + snprintf(buffer, sizeof(buffer), + "18 732 moveto (PS Page %d) show\n", page); + + write(1, buffer, strlen(buffer)); + } + + line ++; + + if (do_pcl) + snprintf(buffer, sizeof(buffer), "Line %d\r\n", line); + else + snprintf(buffer, sizeof(buffer), "18 %d moveto (Line %d) show\n", + 720 - line * 12, line); + + write(1, buffer, strlen(buffer)); + + if (line >= 55) + { + /* + * Eject after 55 lines... + */ + + line = 0; + if (do_pcl) + write(1, "\014", 1); + else + write(1, "showpage\n", 9); + } + + /* + * Check for back-channel data... + */ + + if ((bytes = cupsBackChannelRead(buffer, sizeof(buffer), 0)) > 0) + write(2, buffer, (size_t)bytes); + + /* + * Throttle output to ~100hz... + */ + + usleep(10000); + } + + /* + * Eject current page with info... + */ + + if (do_pcl) + snprintf(buffer, sizeof(buffer), + "Canceled on line %d of page %d\r\n\014\033E", line, page); + else + snprintf(buffer, sizeof(buffer), + "\n18 %d moveto (Canceled on line %d of page %d)\nshowpage\n", + 720 - line * 12, line, page); + + write(1, buffer, strlen(buffer)); + + /* + * See if we get any back-channel data... + */ + + while ((bytes = cupsBackChannelRead(buffer, sizeof(buffer), 5.0)) > 0) + write(2, buffer, (size_t)bytes); + + exit(0); + } + else + { + /* + * Do PS or PCL query + test pages. + */ + + char buffer[1024]; /* Buffer for response data */ + ssize_t bytes; /* Number of bytes of response data */ + double timeout; /* Timeout */ + const char *data; /* Data to send */ + static const char *pcl_data = /* PCL data */ + "\033%-12345X@PJL\r\n" + "@PJL JOB NAME = \"Hello, World!\"\r\n" + "@PJL INFO USTATUS\r\n" + "@PJL ENTER LANGUAGE = PCL\r\n" + "\033E" + "Hello, World!\n" + "\014" + "\033%-12345X@PJL\r\n" + "@PJL EOJ NAME=\"Hello, World!\"\r\n" + "\033%-12345X"; + static const char *ps_data = /* PostScript data */ + "%!\n" + "save\n" + "product = flush\n" + "currentpagedevice /PageSize get aload pop\n" + "2 copy gt {exch} if\n" + "(Unknown)\n" + "19 dict\n" + "dup [612 792] (Letter) put\n" + "dup [612 1008] (Legal) put\n" + "dup [612 935] (w612h935) put\n" + "dup [522 756] (Executive) put\n" + "dup [595 842] (A4) put\n" + "dup [420 595] (A5) put\n" + "dup [499 709] (ISOB5) put\n" + "dup [516 728] (B5) put\n" + "dup [612 936] (w612h936) put\n" + "dup [284 419] (Postcard) put\n" + "dup [419.5 567] (DoublePostcard) put\n" + "dup [558 774] (w558h774) put\n" + "dup [553 765] (w553h765) put\n" + "dup [522 737] (w522h737) put\n" + "dup [499 709] (EnvISOB5) put\n" + "dup [297 684] (Env10) put\n" + "dup [459 649] (EnvC5) put\n" + "dup [312 624] (EnvDL) put\n" + "dup [279 540] (EnvMonarch) put\n" + "{ exch aload pop 4 index sub abs 5 le exch\n" + " 5 index sub abs 5 le and\n" + " {exch pop exit} {pop} ifelse\n" + "} bind forall\n" + "= flush pop pop\n" + "/Courier findfont 12 scalefont setfont\n" + "0 setgray 36 720 moveto (Hello, ) show product show (!) show\n" + "showpage\n" + "restore\n" + "\004"; + + + if (do_pcl) + data = pcl_data; + else + data = ps_data; + + write(1, data, strlen(data)); + write(2, "DEBUG: START\n", 13); + timeout = 60.0; + while ((bytes = cupsBackChannelRead(buffer, sizeof(buffer), + timeout)) > 0) + { + write(2, buffer, (size_t)bytes); + timeout = 5.0; + } + write(2, "\nDEBUG: END\n", 12); + } + + exit(0); + } + else if (data_pid < 0) + { + perror("testbackend: Unable to fork"); + return (1); + } + } + else + data_fds[0] = data_fds[1] = -1; + + /* + * Execute the backend... + */ + + if ((back_pid = fork()) == 0) + { + /* + * Child comes here... + */ + + if (do_trickle || do_ps || do_pcl || do_cancel) + { + if (data_fds[0] != 0) + { + dup2(data_fds[0], 0); + close(data_fds[0]); + } + close(data_fds[1]); + } + + if (!show_log) + { + if ((fd = open("/dev/null", O_WRONLY)) != 2) + { + dup2(fd, 2); + close(fd); + } + } + + if (back_fds[1] != 3) + { + dup2(back_fds[1], 3); + close(back_fds[0]); + } + close(back_fds[1]); + + if (side_fds[1] != 4) + { + dup2(side_fds[1], 4); + close(side_fds[0]); + } + close(side_fds[1]); + + execv(backend, argv + first_arg); + fprintf(stderr, "testbackend: Unable to execute \"%s\": %s\n", backend, + strerror(errno)); + return (errno); + } + else if (back_pid < 0) + { + perror("testbackend: Unable to fork"); + return (1); + } + + /* + * Parent comes here, setup back and side channel file descriptors... + */ + + if (do_trickle || do_ps || do_pcl || do_cancel) + { + close(data_fds[0]); + close(data_fds[1]); + } + + if (back_fds[0] != 3) + { + dup2(back_fds[0], 3); + close(back_fds[0]); + } + close(back_fds[1]); + + if (side_fds[0] != 4) + { + dup2(side_fds[0], 4); + close(side_fds[0]); + } + close(side_fds[1]); + + /* + * Do side-channel tests as needed, then wait for the backend... + */ + + if (do_side_tests) + { + int length; /* Length of buffer */ + char buffer[2049]; /* Buffer for reponse */ + cups_sc_status_t scstatus; /* Status of side-channel command */ + static const char * const statuses[] = + { + "CUPS_SC_STATUS_NONE", /* No status */ + "CUPS_SC_STATUS_OK", /* Operation succeeded */ + "CUPS_SC_STATUS_IO_ERROR", /* An I/O error occurred */ + "CUPS_SC_STATUS_TIMEOUT", /* The backend did not respond */ + "CUPS_SC_STATUS_NO_RESPONSE", /* The device did not respond */ + "CUPS_SC_STATUS_BAD_MESSAGE", /* The command/response message was invalid */ + "CUPS_SC_STATUS_TOO_BIG", /* Response too big */ + "CUPS_SC_STATUS_NOT_IMPLEMENTED" /* Command not implemented */ + }; + + + sleep(2); + + length = 0; + scstatus = cupsSideChannelDoRequest(CUPS_SC_CMD_DRAIN_OUTPUT, buffer, + &length, 60.0); + printf("CUPS_SC_CMD_DRAIN_OUTPUT returned %s\n", statuses[scstatus]); + + length = 1; + scstatus = cupsSideChannelDoRequest(CUPS_SC_CMD_GET_BIDI, buffer, + &length, 5.0); + printf("CUPS_SC_CMD_GET_BIDI returned %s, %d\n", statuses[scstatus], buffer[0]); + + length = sizeof(buffer) - 1; + scstatus = cupsSideChannelDoRequest(CUPS_SC_CMD_GET_DEVICE_ID, buffer, + &length, 5.0); + buffer[length] = '\0'; + printf("CUPS_SC_CMD_GET_DEVICE_ID returned %s, \"%s\"\n", + statuses[scstatus], buffer); + + length = 1; + scstatus = cupsSideChannelDoRequest(CUPS_SC_CMD_GET_STATE, buffer, + &length, 5.0); + printf("CUPS_SC_CMD_GET_STATE returned %s, %02X\n", statuses[scstatus], + buffer[0] & 255); + + if (do_walk) + { + /* + * Walk the OID tree... + */ + + scstatus = cupsSideChannelSNMPWalk(oid, 5.0, walk_cb, NULL); + printf("CUPS_SC_CMD_SNMP_WALK returned %s\n", statuses[scstatus]); + } + else + { + /* + * Lookup the same OID twice... + */ + + length = sizeof(buffer); + scstatus = cupsSideChannelSNMPGet(oid, buffer, &length, 5.0); + printf("CUPS_SC_CMD_SNMP_GET %s returned %s, %d bytes (%s)\n", oid, + statuses[scstatus], (int)length, buffer); + + length = sizeof(buffer); + scstatus = cupsSideChannelSNMPGet(oid, buffer, &length, 5.0); + printf("CUPS_SC_CMD_SNMP_GET %s returned %s, %d bytes (%s)\n", oid, + statuses[scstatus], (int)length, buffer); + } + + length = 0; + scstatus = cupsSideChannelDoRequest(CUPS_SC_CMD_SOFT_RESET, buffer, + &length, 5.0); + printf("CUPS_SC_CMD_SOFT_RESET returned %s\n", statuses[scstatus]); + } + + if (do_cancel) + { + sleep(1); + kill(data_pid, SIGTERM); + kill(back_pid, SIGTERM); + } + + while ((pid = wait(&status)) > 0) + { + if (status) + { + if (WIFEXITED(status)) + printf("%s exited with status %d!\n", + pid == back_pid ? backend : "test", + WEXITSTATUS(status)); + else + printf("%s crashed with signal %d!\n", + pid == back_pid ? backend : "test", + WTERMSIG(status)); + } + } + + /* + * Exit accordingly... + */ + + return (status != 0); +} + + +/* + * 'sigterm_handler()' - Flag when we get SIGTERM. + */ + +static void +sigterm_handler(int sig) /* I - Signal */ +{ + (void)sig; + + job_canceled = 1; +} + + +/* + * 'usage()' - Show usage information. + */ + +static void +usage(void) +{ + puts("Usage: testbackend [-cancel] [-d] [-ps | -pcl] [-s [-get OID] " + "[-walk OID]] [-t] device-uri job-id user title copies options [file]"); + puts(""); + puts("Options:"); + puts(" -cancel Simulate a canceled print job after 2 seconds."); + puts(" -d Show log messages from backend."); + puts(" -get OID Lookup the specified SNMP OID."); + puts(" (.1.3.6.1.2.1.43.10.2.1.4.1.1 is a good one for printers)"); + puts(" -pcl Send PCL+PJL query and test page to backend."); + puts(" -ps Send PostScript query and test page to backend."); + puts(" -s Do side-channel + SNMP tests."); + puts(" -t Send spaces slowly to backend ('trickle')."); + puts(" -walk OID Walk the specified SNMP OID."); + puts(" (.1.3.6.1.2.1.43 is a good one for printers)"); + + exit(1); +} + + +/* + * 'walk_cb()' - Show results of cupsSideChannelSNMPWalk... + */ + +static void +walk_cb(const char *oid, /* I - OID */ + const char *data, /* I - Data */ + int datalen, /* I - Length of data */ + void *context) /* I - Context (unused) */ +{ + char temp[80]; + + (void)context; + + if ((size_t)datalen > (sizeof(temp) - 1)) + { + memcpy(temp, data, sizeof(temp) - 1); + temp[sizeof(temp) - 1] = '\0'; + } + else + { + memcpy(temp, data, (size_t)datalen); + temp[datalen] = '\0'; + } + + printf("CUPS_SC_CMD_SNMP_WALK %s, %d bytes (%s)\n", oid, datalen, temp); +} diff --git a/backend/testsupplies.c b/backend/testsupplies.c new file mode 100644 index 0000000..5643ea6 --- /dev/null +++ b/backend/testsupplies.c @@ -0,0 +1,67 @@ +/* + * SNMP supplies test program for CUPS. + * + * Copyright © 2008-2011 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include "backend-private.h" + + +/* + * 'main()' - Show the supplies state of a printer. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + http_addrlist_t *host; /* Host addresses */ + int snmp_fd; /* SNMP socket */ + int page_count, /* Current page count */ + printer_state; /* Current printer state */ + + + if (argc != 2) + { + puts("Usage: testsupplies ip-or-hostname"); + return (1); + } + + if ((host = httpAddrGetList(argv[1], AF_UNSPEC, "9100")) == NULL) + { + perror(argv[1]); + return (1); + } + + if ((snmp_fd = _cupsSNMPOpen(host->addr.addr.sa_family)) < 0) + { + perror(argv[1]); + return (1); + } + + for (;;) + { + fputs("backendSNMPSupplies: ", stdout); + + if (backendSNMPSupplies(snmp_fd, &(host->addr), &page_count, + &printer_state)) + { + puts("FAIL"); + return (1); + } + + printf("backendSNMPSupplies: %s (page_count=%d, printer_state=%d)\n", + page_count < 0 || printer_state < CUPS_TC_other || + printer_state > CUPS_TC_warmup ? "FAIL" : "PASS", + page_count, printer_state); + + sleep(5); + } +} diff --git a/backend/usb-darwin.c b/backend/usb-darwin.c new file mode 100644 index 0000000..1c412da --- /dev/null +++ b/backend/usb-darwin.c @@ -0,0 +1,2469 @@ +/* + * Copyright 2005-2016 Apple Inc. All rights reserved. + * + * IMPORTANT: This Apple software is supplied to you by Apple Computer, + * Inc. ("Apple") in consideration of your agreement to the following + * terms, and your use, installation, modification or redistribution of + * this Apple software constitutes acceptance of these terms. If you do + * not agree with these terms, please do not use, install, modify or + * redistribute this Apple software. + * + * In consideration of your agreement to abide by the following terms, and + * subject to these terms, Apple grants you a personal, non-exclusive + * license, under Apple's copyrights in this original Apple software (the + * "Apple Software"), to use, reproduce, modify and redistribute the Apple + * Software, with or without modifications, in source and/or binary forms; + * provided that if you redistribute the Apple Software in its entirety and + * without modifications, you must retain this notice and the following + * text and disclaimers in all such redistributions of the Apple Software. + * Neither the name, trademarks, service marks or logos of Apple Computer, + * Inc. may be used to endorse or promote products derived from the Apple + * Software without specific prior written permission from Apple. Except + * as expressly stated in this notice, no other rights or licenses, express + * or implied, are granted by Apple herein, including but not limited to + * any patent rights that may be infringed by your derivative works or by + * other works in which the Apple Software may be incorporated. + * + * The Apple Software is provided by Apple on an "AS IS" basis. APPLE + * MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION + * THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND + * OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS. + * + * IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL + * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, + * MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED + * AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), + * STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +/* + * Include necessary headers. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "backend-private.h" +#include +#include +#include +#include +#include +#include +#include + +/* + * Include necessary headers. + */ + +extern char **environ; + + +/* + * DEBUG_WRITES, if defined, causes the backend to write data to the printer in + * 512 byte increments, up to 8192 bytes, to make debugging with a USB bus + * analyzer easier. + */ + +#define DEBUG_WRITES 0 + +/* + * WAIT_EOF_DELAY is number of seconds we'll wait for responses from + * the printer after we've finished sending all the data + */ +#define WAIT_EOF_DELAY 7 +#define WAIT_SIDE_DELAY 3 +#define DEFAULT_TIMEOUT 5000L + +#define USB_INTERFACE_KIND CFUUIDGetUUIDBytes(kIOUSBInterfaceInterfaceID245) +#define kUSBLanguageEnglish 0x409 + +#define PRINTER_POLLING_INTERVAL 5 /* seconds */ +#define INITIAL_LOG_INTERVAL PRINTER_POLLING_INTERVAL +#define SUBSEQUENT_LOG_INTERVAL 3 * INITIAL_LOG_INTERVAL + +#define kUSBPrinterClassTypeID CFUUIDGetConstantUUIDWithBytes(NULL, 0x06, 0x04, 0x7D, 0x16, 0x53, 0xA2, 0x11, 0xD6, 0x92, 0x06, 0x00, 0x30, 0x65, 0x52, 0x45, 0x92) +#define kUSBPrinterClassInterfaceID CFUUIDGetConstantUUIDWithBytes(NULL, 0x03, 0x34, 0x6D, 0x74, 0x53, 0xA3, 0x11, 0xD6, 0x9E, 0xA1, 0x76, 0x30, 0x65, 0x52, 0x45, 0x92) + +#define kUSBClassDriverProperty CFSTR("USB Printing Class") + +#define kUSBGenericTOPrinterClassDriver CFSTR("/System/Library/Printers/Libraries/USBGenericPrintingClass.plugin") +#define kUSBPrinterClassDeviceNotOpen -9664 /*kPMInvalidIOMContext*/ + +#define CRSetCrashLogMessage(m) _crc_make_setter(message, m) +#define _crc_make_setter(attr, arg) (gCRAnnotations.attr = (uint64_t)(unsigned long)(arg)) +#define CRASH_REPORTER_CLIENT_HIDDEN __attribute__((visibility("hidden"))) +#define CRASHREPORTER_ANNOTATIONS_VERSION 4 +#define CRASHREPORTER_ANNOTATIONS_SECTION "__crash_info" + +struct crashreporter_annotations_t { + uint64_t version; // unsigned long + uint64_t message; // char * + uint64_t signature_string; // char * + uint64_t backtrace; // char * + uint64_t message2; // char * + uint64_t thread; // uint64_t + uint64_t dialog_mode; // unsigned int +}; + +CRASH_REPORTER_CLIENT_HIDDEN +struct crashreporter_annotations_t gCRAnnotations + __attribute__((section("__DATA," CRASHREPORTER_ANNOTATIONS_SECTION))) + = { CRASHREPORTER_ANNOTATIONS_VERSION, 0, 0, 0, 0, 0, 0 }; + +/* + * Section 5.3 USB Printing Class spec + */ +#define kUSBPrintingSubclass 1 +#define kUSBPrintingProtocolNoOpen 0 +#define kUSBPrintingProtocolUnidirectional 1 +#define kUSBPrintingProtocolBidirectional 2 +#define kUSBPrintingProtocolIPP 4 + +typedef IOUSBInterfaceInterface245 **printer_interface_t; + +typedef struct iodevice_request_s /**** Device request ****/ +{ + UInt8 requestType; + UInt8 request; + UInt16 value; + UInt16 index; + UInt16 length; + void *buffer; +} iodevice_request_t; + +typedef union /**** Centronics status byte ****/ +{ + char b; + struct + { + unsigned reserved0:2; + unsigned paperError:1; + unsigned select:1; + unsigned notError:1; + unsigned reserved1:3; + } status; +} centronics_status_t; + +typedef struct classdriver_s /**** g.classdriver context ****/ +{ + IUNKNOWN_C_GUTS; + CFPlugInRef plugin; /* release plugin */ + IUnknownVTbl **factory; /* Factory */ + void *vendorReference; /* vendor class specific usage */ + UInt32 location; /* unique location in bus topology */ + UInt8 interfaceNumber; /* Interface number */ + UInt16 vendorID; /* Vendor id */ + UInt16 productID; /* Product id */ + printer_interface_t interface; /* identify the device to IOKit */ + UInt8 outpipe; /* mandatory bulkOut pipe */ + UInt8 inpipe; /* optional bulkIn pipe */ + + /* general class requests */ + kern_return_t (*DeviceRequest)(struct classdriver_s **printer, iodevice_request_t *iorequest, UInt16 timeout); + kern_return_t (*GetString)(struct classdriver_s **printer, UInt8 whichString, UInt16 language, UInt16 timeout, CFStringRef *result); + + /* standard printer class requests */ + kern_return_t (*SoftReset)(struct classdriver_s **printer, UInt16 timeout); + kern_return_t (*GetCentronicsStatus)(struct classdriver_s **printer, centronics_status_t *result, UInt16 timeout); + kern_return_t (*GetDeviceID)(struct classdriver_s **printer, CFStringRef *devid, UInt16 timeout); + + /* standard bulk device requests */ + kern_return_t (*ReadPipe)(struct classdriver_s **printer, UInt8 *buffer, UInt32 *count); + kern_return_t (*WritePipe)(struct classdriver_s **printer, UInt8 *buffer, UInt32 *count, Boolean eoj); + + /* interface requests */ + kern_return_t (*Open)(struct classdriver_s **printer, UInt32 location, UInt8 protocol); + kern_return_t (*Abort)(struct classdriver_s **printer); + kern_return_t (*Close)(struct classdriver_s **printer); + + /* initialize and terminate */ + kern_return_t (*Initialize)(struct classdriver_s **printer, struct classdriver_s **baseclass); + kern_return_t (*Terminate)(struct classdriver_s **printer); + +} classdriver_t; + +typedef Boolean (*iterator_callback_t)(io_service_t obj, printer_interface_t printerIntf, void *refcon); + +typedef struct iterator_reference_s /**** Iterator reference data */ +{ + iterator_callback_t callback; + void *userdata; + Boolean keepRunning; +} iterator_reference_t; + +typedef struct globals_s +{ + io_service_t printer_obj; + classdriver_t **classdriver; + + pthread_mutex_t read_thread_mutex; + pthread_cond_t read_thread_cond; + int read_thread_stop; + int read_thread_done; + + pthread_mutex_t readwrite_lock_mutex; + pthread_cond_t readwrite_lock_cond; + int readwrite_lock; + + CFStringRef make; + CFStringRef model; + CFStringRef serial; + UInt32 location; + UInt8 interfaceNum; + UInt8 alternateSetting; + UInt8 interfaceProtocol; + + CFRunLoopTimerRef status_timer; + + int print_fd; /* File descriptor to print */ + ssize_t print_bytes; /* Print bytes read */ +#if DEBUG_WRITES + ssize_t debug_bytes; /* Current bytes to read */ +#endif /* DEBUG_WRITES */ + + Boolean use_generic_class_driver; + Boolean wait_eof; + int drain_output; /* Drain all pending output */ + int bidi_flag; /* 0=unidirectional, 1=bidirectional */ + + pthread_mutex_t sidechannel_thread_mutex; + pthread_cond_t sidechannel_thread_cond; + int sidechannel_thread_stop; + int sidechannel_thread_done; +} globals_t; + + +/* + * Globals... + */ + +globals_t g = { 0 }; /* Globals */ +int Iterating = 0; /* Are we iterating the bus? */ + + +/* + * Local functions... + */ + +static Boolean list_device_cb(io_service_t obj, printer_interface_t printerIntf, void *refcon); +static Boolean find_device_cb(io_service_t obj, printer_interface_t printerIntf, void *refcon); + +static CFStringRef cfstr_create_trim(const char *cstr); +static CFStringRef copy_value_for_key(CFStringRef deviceID, CFStringRef *keys); +static kern_return_t load_classdriver(CFStringRef driverPath, printer_interface_t interface, classdriver_t ***printerDriver); +static kern_return_t load_printerdriver(CFStringRef *driverBundlePath); +static kern_return_t registry_close(void); +static kern_return_t registry_open(CFStringRef *driverBundlePath); +static kern_return_t unload_classdriver(classdriver_t ***classdriver); + +static void *read_thread(void *reference); +static void *sidechannel_thread(void *reference); +static void device_added(void *userdata, io_iterator_t iterator); +static void get_device_id(cups_sc_status_t *status, char *data, int *datalen); +static void iterate_printers(iterator_callback_t callBack, void *userdata); +static void parse_options(char *options, char *serial, int serial_size, UInt32 *location, Boolean *wait_eof); +static void setup_cfLanguage(void); +static void soft_reset(void); +static void status_timer_cb(CFRunLoopTimerRef timer, void *info); +#define IS_64BIT 1 +#define IS_NOT_64BIT 0 + +#if defined(__i386__) || defined(__x86_64__) +static pid_t child_pid; /* Child PID */ +static void run_legacy_backend(int argc, char *argv[], int fd) _CUPS_NORETURN; /* Starts child backend process running as a ppc executable */ +#endif /* __i386__ || __x86_64__ */ +static void sigterm_handler(int sig); /* SIGTERM handler */ +static void sigquit_handler(int sig, siginfo_t *si, void *unused) _CUPS_NORETURN; + +#ifdef PARSE_PS_ERRORS +static const char *next_line (const char *buffer); +static void parse_pserror (char *sockBuffer, int len); +#endif /* PARSE_PS_ERRORS */ + +static printer_interface_t usb_printer_interface_interface(io_service_t usbClass); + +static CFStringRef copy_printer_interface_deviceid(printer_interface_t printer, UInt8 alternateSetting); +static CFStringRef copy_printer_interface_indexed_description(printer_interface_t printer, UInt8 index, UInt16 language); +static CFStringRef deviceIDCopyManufacturer(CFStringRef deviceID); +static CFStringRef deviceIDCopyModel(CFStringRef deviceID); +static CFStringRef deviceIDCopySerialNumber(CFStringRef deviceID); + +#pragma mark - + +/* + * 'list_devices()' - List all USB devices. + */ + +void list_devices() +{ + iterate_printers(list_device_cb, NULL); +} + + +/* + * 'print_device()' - Print a file to a USB device. + */ + +int /* O - Exit status */ +print_device(const char *uri, /* I - Device URI */ + const char *hostname, /* I - Hostname/manufacturer */ + const char *resource, /* I - Resource/modelname */ + char *options, /* I - Device options/serial number */ + int print_fd, /* I - File descriptor to print */ + int copies, /* I - Copies to print */ + int argc, /* I - Number of command-line arguments (6 or 7) */ + char *argv[]) /* I - Command-line arguments */ +{ + char serial[1024]; /* Serial number buffer */ + OSStatus status; /* Function results */ + IOReturn iostatus; /* Current IO status */ + pthread_t read_thread_id, /* Read thread */ + sidechannel_thread_id;/* Side-channel thread */ + int have_sidechannel = 0; /* Was the side-channel thread started? */ + struct stat sidechannel_info; /* Side-channel file descriptor info */ + char print_buffer[8192], /* Print data buffer */ + *print_ptr; /* Pointer into print data buffer */ + UInt32 location; /* Unique location in bus topology */ + fd_set input_set; /* Input set for select() */ + CFStringRef driverBundlePath; /* Class driver path */ + int countdown, /* Logging interval */ + nfds; /* Number of file descriptors */ + ssize_t total_bytes; /* Total bytes written */ + UInt32 bytes; /* Bytes written */ + struct timeval *timeout, /* Timeout pointer */ + tv; /* Time value */ + struct timespec cond_timeout; /* pthread condition timeout */ + struct sigaction action; /* Actions for POSIX signals */ + + + (void)uri; + + /* + * Catch SIGQUIT to determine who is sending it... + */ + + memset(&action, 0, sizeof(action)); + action.sa_sigaction = sigquit_handler; + action.sa_flags = SA_SIGINFO; + sigaction(SIGQUIT, &action, NULL); + + /* + * See if the side-channel descriptor is valid... + */ + + have_sidechannel = !fstat(CUPS_SC_FD, &sidechannel_info) && + S_ISSOCK(sidechannel_info.st_mode); + + /* + * Localize using CoreFoundation... + */ + + setup_cfLanguage(); + + parse_options(options, serial, sizeof(serial), &location, &g.wait_eof); + + if (resource[0] == '/') + resource++; + + g.print_fd = print_fd; + g.make = cfstr_create_trim(hostname); + g.model = cfstr_create_trim(resource); + g.serial = cfstr_create_trim(serial); + g.location = location; + + if (!g.make || !g.model) + { + fprintf(stderr, "DEBUG: Fatal USB error.\n"); + _cupsLangPrintFilter(stderr, "ERROR", + _("There was an unrecoverable USB error.")); + + if (!g.make) + fputs("DEBUG: USB make string is NULL\n", stderr); + if (!g.model) + fputs("DEBUG: USB model string is NULL\n", stderr); + + return (CUPS_BACKEND_STOP); + } + + fputs("STATE: +connecting-to-device\n", stderr); + + countdown = INITIAL_LOG_INTERVAL; + + do + { + if (g.printer_obj) + { + IOObjectRelease(g.printer_obj); + unload_classdriver(&g.classdriver); + g.printer_obj = 0x0; + g.classdriver = 0x0; + } + fprintf(stderr, "DEBUG: Looking for '%s %s'\n", hostname, resource); + + do + { + iterate_printers(find_device_cb, NULL); + if (g.printer_obj != 0x0) + break; + + _cupsLangPrintFilter(stderr, "INFO", _("Waiting for printer to become available.")); + sleep(5); + } while (true); + + fputs("DEBUG: Opening connection\n", stderr); + + driverBundlePath = NULL; + + status = registry_open(&driverBundlePath); + +#if defined(__i386__) || defined(__x86_64__) + /* + * If we were unable to load the class drivers for this printer it's + * probably because they're ppc or i386. In this case try to run this + * backend as i386 or ppc executables so we can use them... + */ + if (status == -2) + { + run_legacy_backend(argc, argv, print_fd); + /* Never returns here */ + } +#endif /* __i386__ || __x86_64__ */ + + if (status == -2) + { + /* + * If we still were unable to load the class drivers for this printer log + * the error and stop the queue... + */ + + if (driverBundlePath == NULL || !CFStringGetCString(driverBundlePath, print_buffer, sizeof(print_buffer), kCFStringEncodingUTF8)) + strlcpy(print_buffer, "USB class driver", sizeof(print_buffer)); + + fputs("STATE: +apple-missing-usbclassdriver-error\n", stderr); + _cupsLangPrintFilter(stderr, "ERROR", + _("There was an unrecoverable USB error.")); + fprintf(stderr, "DEBUG: Could not load %s\n", print_buffer); + + if (driverBundlePath) + CFRelease(driverBundlePath); + + return (CUPS_BACKEND_STOP); + } + + if (driverBundlePath) + CFRelease(driverBundlePath); + + if (status != noErr) + { + sleep(PRINTER_POLLING_INTERVAL); + countdown -= PRINTER_POLLING_INTERVAL; + if (countdown <= 0) + { + _cupsLangPrintFilter(stderr, "INFO", + _("Waiting for printer to become available.")); + fprintf(stderr, "DEBUG: USB printer status: 0x%08x\n", (int)status); + countdown = SUBSEQUENT_LOG_INTERVAL; /* subsequent log entries, every 15 seconds */ + } + } + } while (status != noErr); + + fputs("STATE: -connecting-to-device\n", stderr); + + /* + * Now that we are "connected" to the port, ignore SIGTERM so that we + * can finish out any page data the driver sends (e.g. to eject the + * current page... Only ignore SIGTERM if we are printing data from + * stdin (otherwise you can't cancel raw jobs...) + */ + + if (!print_fd) + { + memset(&action, 0, sizeof(action)); + + sigemptyset(&action.sa_mask); + action.sa_handler = SIG_IGN; + sigaction(SIGTERM, &action, NULL); + } + + /* + * Start the side channel thread if the descriptor is valid... + */ + + pthread_mutex_init(&g.readwrite_lock_mutex, NULL); + pthread_cond_init(&g.readwrite_lock_cond, NULL); + g.readwrite_lock = 1; + + if (have_sidechannel) + { + g.sidechannel_thread_stop = 0; + g.sidechannel_thread_done = 0; + + pthread_cond_init(&g.sidechannel_thread_cond, NULL); + pthread_mutex_init(&g.sidechannel_thread_mutex, NULL); + + if (pthread_create(&sidechannel_thread_id, NULL, sidechannel_thread, NULL)) + { + fprintf(stderr, "DEBUG: Fatal USB error.\n"); + _cupsLangPrintFilter(stderr, "ERROR", + _("There was an unrecoverable USB error.")); + fputs("DEBUG: Couldn't create side-channel thread\n", stderr); + registry_close(); + return (CUPS_BACKEND_STOP); + } + } + + /* + * Get the read thread going... + */ + + g.read_thread_stop = 0; + g.read_thread_done = 0; + + pthread_cond_init(&g.read_thread_cond, NULL); + pthread_mutex_init(&g.read_thread_mutex, NULL); + + if (pthread_create(&read_thread_id, NULL, read_thread, NULL)) + { + fprintf(stderr, "DEBUG: Fatal USB error.\n"); + _cupsLangPrintFilter(stderr, "ERROR", + _("There was an unrecoverable USB error.")); + fputs("DEBUG: Couldn't create read thread\n", stderr); + registry_close(); + return (CUPS_BACKEND_STOP); + } + + /* + * The main thread sends the print file... + */ + + g.drain_output = 0; + g.print_bytes = 0; + total_bytes = 0; + print_ptr = print_buffer; + + while (status == noErr && copies-- > 0) + { + _cupsLangPrintFilter(stderr, "INFO", _("Sending data to printer.")); + + if (print_fd != STDIN_FILENO) + { + fputs("PAGE: 1 1\n", stderr); + lseek(print_fd, 0, SEEK_SET); + } + + while (status == noErr) + { + FD_ZERO(&input_set); + + if (!g.print_bytes) + FD_SET(print_fd, &input_set); + + /* + * Calculate select timeout... + * If we have data waiting to send timeout is 100ms. + * else if we're draining print_fd timeout is 0. + * else we're waiting forever... + */ + + if (g.print_bytes) + { + tv.tv_sec = 0; + tv.tv_usec = 100000; /* 100ms */ + timeout = &tv; + } + else if (g.drain_output) + { + tv.tv_sec = 0; + tv.tv_usec = 0; + timeout = &tv; + } + else + timeout = NULL; + + /* + * I/O is unlocked around select... + */ + + pthread_mutex_lock(&g.readwrite_lock_mutex); + g.readwrite_lock = 0; + pthread_cond_signal(&g.readwrite_lock_cond); + pthread_mutex_unlock(&g.readwrite_lock_mutex); + + nfds = select(print_fd + 1, &input_set, NULL, NULL, timeout); + + /* + * Reacquire the lock... + */ + + pthread_mutex_lock(&g.readwrite_lock_mutex); + while (g.readwrite_lock) + pthread_cond_wait(&g.readwrite_lock_cond, &g.readwrite_lock_mutex); + g.readwrite_lock = 1; + pthread_mutex_unlock(&g.readwrite_lock_mutex); + + if (nfds < 0) + { + if (errno == EINTR && total_bytes == 0) + { + fputs("DEBUG: Received an interrupt before any bytes were " + "written, aborting\n", stderr); + registry_close(); + return (CUPS_BACKEND_OK); + } + else if (errno != EAGAIN && errno != EINTR) + { + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to read print data.")); + perror("DEBUG: select"); + registry_close(); + return (CUPS_BACKEND_FAILED); + } + } + + /* + * If drain output has finished send a response... + */ + + if (g.drain_output && !nfds && !g.print_bytes) + { + /* Send a response... */ + cupsSideChannelWrite(CUPS_SC_CMD_DRAIN_OUTPUT, CUPS_SC_STATUS_OK, NULL, 0, 1.0); + g.drain_output = 0; + } + + /* + * Check if we have print data ready... + */ + + if (FD_ISSET(print_fd, &input_set)) + { +#if DEBUG_WRITES + g.debug_bytes += 512; + if (g.debug_bytes > sizeof(print_buffer)) + g.debug_bytes = 512; + + g.print_bytes = read(print_fd, print_buffer, g.debug_bytes); + +#else + g.print_bytes = read(print_fd, print_buffer, sizeof(print_buffer)); +#endif /* DEBUG_WRITES */ + + if (g.print_bytes < 0) + { + /* + * Read error - bail if we don't see EAGAIN or EINTR... + */ + + if (errno != EAGAIN && errno != EINTR) + { + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to read print data.")); + perror("DEBUG: read"); + registry_close(); + return (CUPS_BACKEND_FAILED); + } + + g.print_bytes = 0; + } + else if (g.print_bytes == 0) + { + /* + * End of file, break out of the loop... + */ + + break; + } + + print_ptr = print_buffer; + + fprintf(stderr, "DEBUG: Read %d bytes of print data...\n", + (int)g.print_bytes); + } + + if (g.print_bytes) + { + bytes = (UInt32)g.print_bytes; + iostatus = (*g.classdriver)->WritePipe(g.classdriver, (UInt8*)print_ptr, &bytes, 0); + + /* + * Ignore timeout errors, but retain the number of bytes written to + * avoid sending duplicate data... + */ + + if (iostatus == kIOUSBTransactionTimeout) + { + fputs("DEBUG: Got USB transaction timeout during write\n", stderr); + iostatus = 0; + } + + /* + * If we've stalled, retry the write... + */ + + else if (iostatus == kIOUSBPipeStalled) + { + fputs("DEBUG: Got USB pipe stalled during write\n", stderr); + + bytes = (UInt32)g.print_bytes; + iostatus = (*g.classdriver)->WritePipe(g.classdriver, (UInt8*)print_ptr, &bytes, 0); + } + + /* + * Retry a write after an aborted write since we probably just got + * SIGTERM... + */ + + else if (iostatus == kIOReturnAborted) + { + fputs("DEBUG: Got USB return aborted during write\n", stderr); + + IOReturn err = (*g.classdriver)->Abort(g.classdriver); + fprintf(stderr, "DEBUG: USB class driver Abort returned %x\n", err); + +#if DEBUG_WRITES + sleep(5); +#endif /* DEBUG_WRITES */ + + bytes = (UInt32)g.print_bytes; + iostatus = (*g.classdriver)->WritePipe(g.classdriver, (UInt8*)print_ptr, &bytes, 0); + } + + if (iostatus) + { + /* + * Write error - bail if we don't see an error we can retry... + */ + + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to send data to printer.")); + fprintf(stderr, "DEBUG: USB class driver WritePipe returned %x\n", + iostatus); + + IOReturn err = (*g.classdriver)->Abort(g.classdriver); + fprintf(stderr, "DEBUG: USB class driver Abort returned %x\n", + err); + + status = CUPS_BACKEND_FAILED; + break; + } + else if (bytes > 0) + { + fprintf(stderr, "DEBUG: Wrote %d bytes of print data...\n", (int)bytes); + + g.print_bytes -= bytes; + print_ptr += bytes; + total_bytes += bytes; + } + } + + if (print_fd != 0 && status == noErr) + fprintf(stderr, "DEBUG: Sending print file, %lld bytes...\n", + (off_t)total_bytes); + } + } + + fprintf(stderr, "DEBUG: Sent %lld bytes...\n", (off_t)total_bytes); + fputs("STATE: +cups-waiting-for-job-completed\n", stderr); + + /* + * Signal the side channel thread to exit... + */ + + if (have_sidechannel) + { + close(CUPS_SC_FD); + pthread_mutex_lock(&g.readwrite_lock_mutex); + g.readwrite_lock = 0; + pthread_cond_signal(&g.readwrite_lock_cond); + pthread_mutex_unlock(&g.readwrite_lock_mutex); + + g.sidechannel_thread_stop = 1; + pthread_mutex_lock(&g.sidechannel_thread_mutex); + + if (!g.sidechannel_thread_done) + { + gettimeofday(&tv, NULL); + cond_timeout.tv_sec = tv.tv_sec + WAIT_SIDE_DELAY; + cond_timeout.tv_nsec = tv.tv_usec * 1000; + + while (!g.sidechannel_thread_done) + { + if (pthread_cond_timedwait(&g.sidechannel_thread_cond, + &g.sidechannel_thread_mutex, + &cond_timeout) != 0) + break; + } + } + + pthread_mutex_unlock(&g.sidechannel_thread_mutex); + } + + /* + * Signal the read thread to exit then wait 7 seconds for it to complete... + */ + + g.read_thread_stop = 1; + + pthread_mutex_lock(&g.read_thread_mutex); + + if (!g.read_thread_done) + { + fputs("DEBUG: Waiting for read thread to exit...\n", stderr); + + gettimeofday(&tv, NULL); + cond_timeout.tv_sec = tv.tv_sec + WAIT_EOF_DELAY; + cond_timeout.tv_nsec = tv.tv_usec * 1000; + + while (!g.read_thread_done) + { + if (pthread_cond_timedwait(&g.read_thread_cond, &g.read_thread_mutex, + &cond_timeout) != 0) + break; + } + + /* + * If it didn't exit abort the pending read and wait an additional second... + */ + + if (!g.read_thread_done) + { + fputs("DEBUG: Read thread still active, aborting the pending read...\n", + stderr); + + g.wait_eof = 0; + + (*g.classdriver)->Abort(g.classdriver); + + gettimeofday(&tv, NULL); + cond_timeout.tv_sec = tv.tv_sec + 1; + cond_timeout.tv_nsec = tv.tv_usec * 1000; + + while (!g.read_thread_done) + { + if (pthread_cond_timedwait(&g.read_thread_cond, &g.read_thread_mutex, + &cond_timeout) != 0) + break; + } + } + } + + pthread_mutex_unlock(&g.read_thread_mutex); + + /* + * Close the connection and input file and general clean up... + */ + + registry_close(); + + if (print_fd != STDIN_FILENO) + close(print_fd); + + if (g.make != NULL) + CFRelease(g.make); + + if (g.model != NULL) + CFRelease(g.model); + + if (g.serial != NULL) + CFRelease(g.serial); + + if (g.printer_obj != 0x0) + IOObjectRelease(g.printer_obj); + + return status; +} + + +/* + * 'read_thread()' - Thread to read the backchannel data on. + */ + +static void *read_thread(void *reference) +{ + UInt8 readbuffer[512]; + UInt32 rbytes; + kern_return_t readstatus; + struct mach_timebase_info timeBaseInfo; + uint64_t start, + delay; + + + (void)reference; + + /* Calculate what 250 milliSeconds are in mach absolute time... + */ + mach_timebase_info(&timeBaseInfo); + delay = ((uint64_t)250000000 * (uint64_t)timeBaseInfo.denom) / (uint64_t)timeBaseInfo.numer; + + do + { + /* + * Remember when we started so we can throttle the loop after the read call... + */ + + start = mach_absolute_time(); + + rbytes = sizeof(readbuffer); + readstatus = (*g.classdriver)->ReadPipe(g.classdriver, readbuffer, &rbytes); + if (readstatus == kIOReturnSuccess && rbytes > 0) + { + fprintf(stderr, "DEBUG: Read %d bytes of back-channel data...\n", + (int)rbytes); + cupsBackChannelWrite((char*)readbuffer, rbytes, 1.0); + + /* cntrl-d is echoed by the printer. + * NOTES: + * Xerox Phaser 6250D doesn't echo the cntrl-d. + * Xerox Phaser 6250D doesn't always send the product query. + */ + if (g.wait_eof && readbuffer[rbytes-1] == 0x4) + break; + +#ifdef PARSE_PS_ERRORS + parse_pserror(readbuffer, rbytes); +#endif + } + else if (readstatus == kIOUSBTransactionTimeout) + fputs("DEBUG: Got USB transaction timeout during read\n", stderr); + else if (readstatus == kIOUSBPipeStalled) + fputs("DEBUG: Got USB pipe stalled during read\n", stderr); + else if (readstatus == kIOReturnAborted) + fputs("DEBUG: Got USB return aborted during read\n", stderr); + + /* + * Make sure this loop executes no more than once every 250 miliseconds... + */ + + if ((readstatus != kIOReturnSuccess || rbytes == 0) && (g.wait_eof || !g.read_thread_stop)) + mach_wait_until(start + delay); + + } while (g.wait_eof || !g.read_thread_stop); /* Abort from main thread tests error here */ + + /* Workaround for usb race condition. */ + if (!g.wait_eof && g.use_generic_class_driver) + { + const char *pdl = getenv("FINAL_CONTENT_TYPE"); + if (pdl && strcmp(pdl, "application/vnd.cups-postscript") == 0) + { + while (readstatus == kIOReturnSuccess && ((rbytes > 0 && readbuffer[rbytes-1] != 0x4) || rbytes == 0)) + { + start = mach_absolute_time(); + + rbytes = sizeof(readbuffer); + readstatus = (*g.classdriver)->ReadPipe(g.classdriver, readbuffer, &rbytes); + if (readstatus == kIOReturnSuccess && rbytes > 0 && readbuffer[rbytes-1] == 0x4) + break; + + /* Make sure this loop executes no more than once every 250 miliseconds... */ + mach_wait_until(start + delay); + } + } + } + + /* + * Let the main thread know that we have completed the read thread... + */ + + pthread_mutex_lock(&g.read_thread_mutex); + g.read_thread_done = 1; + pthread_cond_signal(&g.read_thread_cond); + pthread_mutex_unlock(&g.read_thread_mutex); + + return NULL; +} + + +/* + * 'sidechannel_thread()' - Handle side-channel requests. + */ + +static void* +sidechannel_thread(void *reference) +{ + cups_sc_command_t command; /* Request command */ + cups_sc_status_t status; /* Request/response status */ + char data[2048]; /* Request/response data */ + int datalen; /* Request/response data size */ + + + (void)reference; + + do + { + datalen = sizeof(data); + + if (cupsSideChannelRead(&command, &status, data, &datalen, 1.0)) + { + if (status == CUPS_SC_STATUS_TIMEOUT) + continue; + else + break; + } + + switch (command) + { + case CUPS_SC_CMD_SOFT_RESET: /* Do a soft reset */ + fputs("DEBUG: CUPS_SC_CMD_SOFT_RESET received from driver...\n", + stderr); + + if ((*g.classdriver)->SoftReset != NULL) + { + soft_reset(); + cupsSideChannelWrite(command, CUPS_SC_STATUS_OK, NULL, 0, 1.0); + fputs("DEBUG: Returning status CUPS_STATUS_OK with no bytes...\n", + stderr); + } + else + { + cupsSideChannelWrite(command, CUPS_SC_STATUS_NOT_IMPLEMENTED, + NULL, 0, 1.0); + fputs("DEBUG: Returning status CUPS_STATUS_NOT_IMPLEMENTED with " + "no bytes...\n", stderr); + } + break; + + case CUPS_SC_CMD_DRAIN_OUTPUT: /* Drain all pending output */ + fputs("DEBUG: CUPS_SC_CMD_DRAIN_OUTPUT received from driver...\n", + stderr); + + g.drain_output = 1; + break; + + case CUPS_SC_CMD_GET_BIDI: /* Is the connection bidirectional? */ + fputs("DEBUG: CUPS_SC_CMD_GET_BIDI received from driver...\n", + stderr); + + data[0] = (char)g.bidi_flag; + cupsSideChannelWrite(command, CUPS_SC_STATUS_OK, data, 1, 1.0); + + fprintf(stderr, + "DEBUG: Returned CUPS_SC_STATUS_OK with 1 byte (%02X)...\n", + data[0]); + break; + + case CUPS_SC_CMD_GET_DEVICE_ID: /* Return IEEE-1284 device ID */ + fputs("DEBUG: CUPS_SC_CMD_GET_DEVICE_ID received from driver...\n", + stderr); + + datalen = sizeof(data); + get_device_id(&status, data, &datalen); + cupsSideChannelWrite(command, CUPS_SC_STATUS_OK, data, datalen, 1.0); + + if ((size_t)datalen < sizeof(data)) + data[datalen] = '\0'; + else + data[sizeof(data) - 1] = '\0'; + + fprintf(stderr, + "DEBUG: Returning CUPS_SC_STATUS_OK with %d bytes (%s)...\n", + datalen, data); + break; + + case CUPS_SC_CMD_GET_STATE: /* Return device state */ + fputs("DEBUG: CUPS_SC_CMD_GET_STATE received from driver...\n", + stderr); + + data[0] = CUPS_SC_STATE_ONLINE; + cupsSideChannelWrite(command, CUPS_SC_STATUS_OK, data, 1, 1.0); + + fprintf(stderr, + "DEBUG: Returned CUPS_SC_STATUS_OK with 1 byte (%02X)...\n", + data[0]); + break; + + default: + fprintf(stderr, "DEBUG: Unknown side-channel command (%d) received " + "from driver...\n", command); + + cupsSideChannelWrite(command, CUPS_SC_STATUS_NOT_IMPLEMENTED, + NULL, 0, 1.0); + + fputs("DEBUG: Returned CUPS_SC_STATUS_NOT_IMPLEMENTED with no bytes...\n", + stderr); + break; + } + } + while (!g.sidechannel_thread_stop); + + pthread_mutex_lock(&g.sidechannel_thread_mutex); + g.sidechannel_thread_done = 1; + pthread_cond_signal(&g.sidechannel_thread_cond); + pthread_mutex_unlock(&g.sidechannel_thread_mutex); + + return NULL; +} + + +#pragma mark - +/* + * 'iterate_printers()' - Iterate over all the printers. + */ +static void iterate_printers(iterator_callback_t callBack, void *userdata) +{ + Iterating = 1; + + iterator_reference_t reference = { callBack, userdata, true }; + + IONotificationPortRef addNotification = IONotificationPortCreate(kIOMasterPortDefault); + + int printingClass = kUSBPrintingClass; + int printingSubclass = kUSBPrintingSubclass; + + CFNumberRef interfaceClass = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &printingClass); + CFNumberRef interfaceSubClass = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &printingSubclass); + + CFMutableDictionaryRef usbPrinterMatchDictionary = IOServiceMatching(kIOUSBInterfaceClassName); + CFDictionaryAddValue(usbPrinterMatchDictionary, CFSTR("bInterfaceClass"), interfaceClass); + CFDictionaryAddValue(usbPrinterMatchDictionary, CFSTR("bInterfaceSubClass"), interfaceSubClass); + + CFRelease(interfaceClass); + CFRelease(interfaceSubClass); + + io_iterator_t add_iterator = IO_OBJECT_NULL; + IOServiceAddMatchingNotification(addNotification, kIOMatchedNotification, + usbPrinterMatchDictionary, &device_added, &reference, &add_iterator); + if (add_iterator != IO_OBJECT_NULL) + { + device_added (&reference, add_iterator); + if (reference.keepRunning) + { + CFRunLoopAddSource(CFRunLoopGetCurrent(), IONotificationPortGetRunLoopSource(addNotification), kCFRunLoopDefaultMode); + CFRunLoopRun(); + } + IOObjectRelease(add_iterator); + } + Iterating = 0; +} + + +/* + * 'device_added()' - Device added notifier. + */ +static void device_added(void *userdata, io_iterator_t iterator) +{ + iterator_reference_t *reference = userdata; + io_service_t intf; + + while (reference->keepRunning && (intf = IOIteratorNext(iterator)) != 0x0) + { + printer_interface_t printerIntf = usb_printer_interface_interface(intf); + if (printerIntf != NULL) + { + UInt8 intfClass = 0, intfSubClass = 0; + + (*printerIntf)->GetInterfaceClass(printerIntf, &intfClass); + (*printerIntf)->GetInterfaceSubClass(printerIntf, &intfSubClass); + if (intfClass == kUSBPrintingInterfaceClass && intfSubClass == kUSBPrintingSubclass) + reference->keepRunning = reference->callback(intf, printerIntf, userdata); + (*printerIntf)->Release(printerIntf); + } + IOObjectRelease(intf); + } + + if (reference->keepRunning && reference->callback) + reference->keepRunning = reference->callback(IO_OBJECT_NULL, NULL, reference->userdata); + + if (!reference->keepRunning) + CFRunLoopStop(CFRunLoopGetCurrent()); +} + +/* + * 'list_device_cb()' - list_device iterator callback. + */ +static Boolean list_device_cb(io_service_t obj, printer_interface_t printerIntf, void *refcon) +{ + (void)refcon; + + if (obj != IO_OBJECT_NULL) + { + CFStringRef deviceIDString = NULL; + CFStringRef make = NULL; + CFStringRef model = NULL; + CFStringRef serial = NULL; + UInt32 intfLocation; + + deviceIDString = copy_printer_interface_deviceid(printerIntf, 0); + if (deviceIDString == NULL) + goto list_device_done; + + make = deviceIDCopyManufacturer(deviceIDString); + model = deviceIDCopyModel(deviceIDString); + serial = deviceIDCopySerialNumber(deviceIDString); + + char uristr[1024], makestr[1024], modelstr[1024], serialstr[1024]; + char optionsstr[1024], idstr[1024], make_modelstr[1024]; + + CFStringGetCString(deviceIDString, idstr, sizeof(idstr), kCFStringEncodingUTF8); + backendGetMakeModel(idstr, make_modelstr, sizeof(make_modelstr)); + + modelstr[0] = '/'; + + if (make == NULL || !CFStringGetCString(make, makestr, sizeof(makestr), kCFStringEncodingUTF8)) + strlcpy(makestr, "Unknown", sizeof(makestr)); + + if (model == NULL || !CFStringGetCString(model, &modelstr[1], sizeof(modelstr)-1, kCFStringEncodingUTF8)) + strlcpy(modelstr + 1, "Printer", sizeof(modelstr) - 1); + + optionsstr[0] = '\0'; + if (serial != NULL && CFStringGetCString(serial, serialstr, sizeof(serialstr), kCFStringEncodingUTF8)) + snprintf(optionsstr, sizeof(optionsstr), "?serial=%s", serialstr); + else if ((*printerIntf)->GetLocationID(printerIntf, &intfLocation) == kIOReturnSuccess) + snprintf(optionsstr, sizeof(optionsstr), "?location=%x", (unsigned)intfLocation); + + httpAssembleURI(HTTP_URI_CODING_ALL, uristr, sizeof(uristr), "usb", NULL, makestr, 0, modelstr); + strlcat(uristr, optionsstr, sizeof(uristr)); + + cupsBackendReport("direct", uristr, make_modelstr, make_modelstr, idstr, + NULL); + list_device_done: + + if (make != NULL) CFRelease(make); + if (model != NULL) CFRelease(model); + if (serial != NULL) CFRelease(serial); + } + return obj != IO_OBJECT_NULL; +} + +/* + * 'find_device_cb()' - print_device iterator callback. + */ +static Boolean find_device_cb(io_service_t obj, printer_interface_t printerIntf, void *refcon) +{ + (void)refcon; + + Boolean keepLooking = true; + + if (obj != IO_OBJECT_NULL) + { + CFStringRef deviceIDString = NULL; + CFStringRef make = NULL; + CFStringRef model = NULL; + CFStringRef serial = NULL; + + deviceIDString = copy_printer_interface_deviceid(printerIntf, 0); + if (deviceIDString == NULL) + goto find_device_done; + + make = deviceIDCopyManufacturer(deviceIDString); + model = deviceIDCopyModel(deviceIDString); + serial = deviceIDCopySerialNumber(deviceIDString); + + if (make && CFStringCompare(make, g.make, kCFCompareCaseInsensitive) == kCFCompareEqualTo) + { + if (model && CFStringCompare(model, g.model, kCFCompareCaseInsensitive) == kCFCompareEqualTo) + { + UInt8 intfAltSetting = 0, intfNumber = 0, intfProtocol = 0; + UInt32 intfLocation = 0; + + (*printerIntf)->GetInterfaceProtocol(printerIntf, &intfProtocol); + (*printerIntf)->GetAlternateSetting(printerIntf, &intfAltSetting); + (*printerIntf)->GetInterfaceNumber(printerIntf, &intfNumber); + (*printerIntf)->GetLocationID(printerIntf, &intfLocation); + + if (intfProtocol == kUSBPrintingProtocolIPP) + return keepLooking; + + if (g.serial != NULL && CFStringGetLength(g.serial) > 0) + { + if (serial != NULL && CFStringCompare(serial, g.serial, kCFCompareCaseInsensitive) == kCFCompareEqualTo) + { + g.interfaceProtocol = intfProtocol; + g.location = intfLocation; + g.alternateSetting = intfAltSetting; + g.printer_obj = obj; + IOObjectRetain(obj); + keepLooking = false; + } + } + else + { + if (g.printer_obj != 0) + IOObjectRelease(g.printer_obj); + + if (g.location == 0 || g.location == intfLocation) + keepLooking = false; + + g.location = intfLocation; + g.alternateSetting = intfAltSetting; + g.interfaceProtocol = intfProtocol; + g.printer_obj = obj; + IOObjectRetain(obj); + } + + if (!keepLooking) + g.interfaceNum = intfNumber; + } + } + + find_device_done: + if (deviceIDString != NULL) CFRelease(deviceIDString); + if (make != NULL) CFRelease(make); + if (model != NULL) CFRelease(model); + if (serial != NULL) CFRelease(serial); + } + else + { + keepLooking = (g.printer_obj == 0 && g.interfaceProtocol != kUSBPrintingProtocolIPP); + if (obj == IO_OBJECT_NULL && keepLooking) + { + CFRunLoopTimerContext context = { 0, refcon, NULL, NULL, NULL }; + CFRunLoopTimerRef timer = CFRunLoopTimerCreate(NULL, CFAbsoluteTimeGetCurrent() + 1.0, 10, 0x0, 0x0, status_timer_cb, &context); + if (timer != NULL) + { + CFRunLoopAddTimer(CFRunLoopGetCurrent(), timer, kCFRunLoopDefaultMode); + g.status_timer = timer; + } + } + } + + if (!keepLooking && g.status_timer != NULL) + { + fputs("STATE: -offline-report\n", stderr); + _cupsLangPrintFilter(stderr, "INFO", _("The printer is now online.")); + CFRunLoopRemoveTimer(CFRunLoopGetCurrent(), g.status_timer, kCFRunLoopDefaultMode); + CFRelease(g.status_timer); + g.status_timer = NULL; + } + + return keepLooking; +} + +static CFStringRef deviceIDCopySerialNumber(CFStringRef deviceID) +{ + CFStringRef serialKeys[] = { CFSTR("SN:"), CFSTR("SERN:"), NULL }; + + return copy_value_for_key(deviceID, serialKeys); +} + +static CFStringRef deviceIDCopyModel(CFStringRef deviceID) +{ + CFStringRef modelKeys[] = { CFSTR("MDL:"), CFSTR("MODEL:"), NULL }; + return copy_value_for_key(deviceID, modelKeys); +} + +static CFStringRef deviceIDCopyManufacturer(CFStringRef deviceID) +{ + CFStringRef makeKeys[] = { CFSTR("MFG:"), CFSTR("MANUFACTURER:"), NULL }; + return copy_value_for_key(deviceID, makeKeys); +} + +/* + * 'status_timer_cb()' - Status timer callback. + */ + +static void status_timer_cb(CFRunLoopTimerRef timer, + void *info) +{ + (void)timer; + (void)info; + + fputs("STATE: +offline-report\n", stderr); + _cupsLangPrintFilter(stderr, "INFO", _("The printer is offline.")); + + if (getenv("CLASS") != NULL) + { + /* + * If the CLASS environment variable is set, the job was submitted + * to a class and not to a specific queue. In this case, we want + * to abort immediately so that the job can be requeued on the next + * available printer in the class. + * + * Sleep 5 seconds to keep the job from requeuing too rapidly... + */ + + sleep(5); + + exit(CUPS_BACKEND_FAILED); + } +} + + +#pragma mark - +/* + * 'load_classdriver()' - Load a classdriver. + */ + +static kern_return_t load_classdriver(CFStringRef driverPath, + printer_interface_t interface, + classdriver_t ***printerDriver) +{ + kern_return_t kr = kUSBPrinterClassDeviceNotOpen; + classdriver_t **driver = NULL; + CFStringRef bundle = driverPath ? driverPath : kUSBGenericTOPrinterClassDriver; + char bundlestr[1024]; /* Bundle path */ + CFURLRef url; /* URL for driver */ + CFPlugInRef plugin = NULL; /* Plug-in address */ + + + CFStringGetCString(bundle, bundlestr, sizeof(bundlestr), kCFStringEncodingUTF8); + + /* + * Validate permissions for the class driver... + */ + + _cups_fc_result_t result = _cupsFileCheck(bundlestr, + _CUPS_FILE_CHECK_DIRECTORY, 1, + Iterating ? NULL : _cupsFileCheckFilter, NULL); + + if (result && driverPath) + return (load_classdriver(NULL, interface, printerDriver)); + else if (result) + return (kr); + + /* + * Try loading the class driver... + */ + + url = CFURLCreateWithFileSystemPath(NULL, bundle, kCFURLPOSIXPathStyle, true); + + if (url) + { + plugin = CFPlugInCreate(NULL, url); + CFRelease(url); + } + else + plugin = NULL; + + if (plugin) + { + CFArrayRef factories = CFPlugInFindFactoriesForPlugInTypeInPlugIn(kUSBPrinterClassTypeID, plugin); + if (factories != NULL && CFArrayGetCount(factories) > 0) + { + CFUUIDRef factoryID = CFArrayGetValueAtIndex(factories, 0); + IUnknownVTbl **iunknown = CFPlugInInstanceCreate(NULL, factoryID, kUSBPrinterClassTypeID); + if (iunknown != NULL) + { + kr = (*iunknown)->QueryInterface(iunknown, CFUUIDGetUUIDBytes(kUSBPrinterClassInterfaceID), (LPVOID *)&driver); + if (kr == kIOReturnSuccess && driver != NULL) + { + classdriver_t **genericDriver = NULL; + if (driverPath != NULL && CFStringCompare(driverPath, kUSBGenericTOPrinterClassDriver, 0) != kCFCompareEqualTo) + kr = load_classdriver(NULL, interface, &genericDriver); + + if (kr == kIOReturnSuccess) + { + (*driver)->interface = interface; + (*driver)->Initialize(driver, genericDriver); + + (*driver)->plugin = plugin; + (*driver)->interface = interface; + *printerDriver = driver; + } + } + (*iunknown)->Release(iunknown); + } + CFRelease(factories); + } + } + + fprintf(stderr, "DEBUG: load_classdriver(%s) (kr:0x%08x)\n", bundlestr, (int)kr); + + return (kr); +} + + +/* + * 'unload_classdriver()' - Unload a classdriver. + */ + +static kern_return_t unload_classdriver(classdriver_t ***classdriver) +{ + if (*classdriver != NULL) + { + (**classdriver)->Release(*classdriver); + *classdriver = NULL; + } + + return kIOReturnSuccess; +} + + +/* + * 'load_printerdriver()' - Load vendor's classdriver. + * + * If driverBundlePath is not NULL on return it is the callers responsbility to release it! + */ + +static kern_return_t load_printerdriver(CFStringRef *driverBundlePath) +{ + IOCFPlugInInterface **iodev = NULL; + SInt32 score; + kern_return_t kr; + printer_interface_t interface; + HRESULT res; + + kr = IOCreatePlugInInterfaceForService(g.printer_obj, kIOUSBInterfaceUserClientTypeID, kIOCFPlugInInterfaceID, &iodev, &score); + if (kr == kIOReturnSuccess) + { + if ((res = (*iodev)->QueryInterface(iodev, USB_INTERFACE_KIND, (LPVOID *) &interface)) == noErr) + { + *driverBundlePath = IORegistryEntryCreateCFProperty(g.printer_obj, kUSBClassDriverProperty, NULL, kNilOptions); + + g.use_generic_class_driver = (*driverBundlePath == NULL || (CFStringCompare(*driverBundlePath, kUSBGenericTOPrinterClassDriver, 0x0) == kCFCompareEqualTo)); + kr = load_classdriver(*driverBundlePath, interface, &g.classdriver); + + if (kr != kIOReturnSuccess) + (*interface)->Release(interface); + } + IODestroyPlugInInterface(iodev); + } + return kr; +} + +static printer_interface_t usb_printer_interface_interface(io_service_t usbClass) +{ + printer_interface_t intf = NULL; + IOCFPlugInInterface **plugin = NULL; + SInt32 score; + int kr = IOCreatePlugInInterfaceForService(usbClass, kIOUSBInterfaceUserClientTypeID, kIOCFPlugInInterfaceID, &plugin, &score); + if (kr == kIOReturnSuccess) + { + (*plugin)->QueryInterface(plugin, USB_INTERFACE_KIND, (LPVOID *)&intf); + IODestroyPlugInInterface(plugin); + } + + return intf; +} + +static CFStringRef copy_printer_interface_deviceid(printer_interface_t printer, UInt8 alternateSetting) +{ + // I have tried to make this function as neat as I can, but the possibility of needing to resend + // a request to get the entire string makes it hideous... + // + // We package the job of sending a request up into the block (^sendRequest), which takes the size + // it should allocate for the message buffer. It frees the current buffer if one is set and + // allocates one of the specified size, then performs the request. We can then easily retry by + // calling the block again if we fail to get the whole string the first time around. + + #define kUSBPrintClassGetDeviceID 0 + #define kDefaultNoDataTimeout 5000L + #define pack_device_id_wIndex(intf, alt) ((UInt16)((((UInt16)(intf)) << 8) | ((UInt8)(alt)))) + + if (printer == NULL) + return NULL; + + + IOReturn err = kIOReturnError; + UInt8 configurationIndex = 0; + UInt8 interfaceNumber = 0; + size_t bufferLength = 256; + CFStringRef ret = NULL; + + if ((*printer)->GetConfigurationValue( printer, &configurationIndex) == kIOReturnSuccess && + (*printer)->GetInterfaceNumber( printer, &interfaceNumber) == kIOReturnSuccess) + { + __block IOUSBDevRequestTO request; + IOReturn (^sendRequest)(size_t) = ^ (size_t size) + { + if (request.pData) + { + free(request.pData); + request.wLength = 0; + request.pData = NULL; + } + + IOReturn berr = kIOReturnError; + char *buffer = malloc(size); + if (buffer == NULL) + return kIOReturnNoMemory; + + request.wLength = HostToUSBWord(size); + request.pData = buffer; + berr = (*printer)->ControlRequestTO(printer, (UInt8)0, &request); + return berr; + }; + + /* This request takes the 0 based configuration index. IOKit returns a 1 based configuration index */ + configurationIndex -= 1; + + bzero(&request, sizeof(request)); + + request.bmRequestType = USBmakebmRequestType(kUSBIn, kUSBClass, kUSBInterface); + request.bRequest = kUSBPrintClassGetDeviceID; + request.wValue = HostToUSBWord(configurationIndex); + request.wIndex = HostToUSBWord(pack_device_id_wIndex(interfaceNumber, alternateSetting)); + request.noDataTimeout = kDefaultNoDataTimeout; + request.completionTimeout = 0; // Copying behavior from Generic Class Driver + + err = sendRequest(bufferLength); + + if (err == kIOReturnSuccess && request.wLenDone > 1) + { + UInt16 actualLength = OSSwapBigToHostInt16(*((UInt16 *)request.pData)); + + if (actualLength > 2 && actualLength <= bufferLength - 2) + { + ret = CFStringCreateWithBytes(NULL, (const UInt8 *) &request.pData[2], actualLength - 2, kCFStringEncodingUTF8, false); + } + else if (actualLength > 2) { + err = sendRequest(actualLength); + if (err == kIOReturnSuccess && request.wLenDone > 0) + { + actualLength = OSSwapBigToHostInt16(*((UInt16 *)request.pData)); + ret = CFStringCreateWithBytes(NULL, (const UInt8 *) &request.pData[2], actualLength - 2, kCFStringEncodingUTF8, false); + } + } + } + + if (request.pData) + free(request.pData); + } + + CFStringRef manufacturer = deviceIDCopyManufacturer(ret); + CFStringRef model = deviceIDCopyModel(ret); + CFStringRef serial = deviceIDCopySerialNumber(ret); + + if (manufacturer == NULL || serial == NULL || model == NULL) + { + IOUSBDevRequestTO request; + IOUSBDeviceDescriptor desc; + + bzero(&request, sizeof(request)); + + request.bmRequestType = USBmakebmRequestType( kUSBIn, kUSBStandard, kUSBDevice ); + request.bRequest = kUSBRqGetDescriptor; + request.wValue = kUSBDeviceDesc << 8; + request.wIndex = 0; + request.wLength = sizeof(desc); + request.pData = &desc; + request.completionTimeout = 0; + request.noDataTimeout = 60L; + + err = (*printer)->ControlRequestTO(printer, 0, &request); + if (err == kIOReturnSuccess) + { + CFMutableStringRef extras = CFStringCreateMutable(NULL, 0); + if (manufacturer == NULL) + { + manufacturer = copy_printer_interface_indexed_description(printer, desc.iManufacturer, kUSBLanguageEnglish); + if (manufacturer && CFStringGetLength(manufacturer) > 0) + CFStringAppendFormat(extras, NULL, CFSTR("MFG:%@;"), manufacturer); + } + + if (model == NULL) + { + model = copy_printer_interface_indexed_description(printer, desc.iProduct, kUSBLanguageEnglish); + if (model && CFStringGetLength(model) > 0) + CFStringAppendFormat(extras, NULL, CFSTR("MDL:%@;"), model); + } + + if (serial == NULL && desc.iSerialNumber != 0) + { + serial = copy_printer_interface_indexed_description(printer, desc.iSerialNumber, kUSBLanguageEnglish); + if (serial && CFStringGetLength(serial) > 0) + CFStringAppendFormat(extras, NULL, CFSTR("SERN:%@;"), serial); + } + + if (ret != NULL) + { + CFStringAppend(extras, ret); + CFRelease(ret); + + ret = extras; + } + else + { + ret = extras; + } + } + } + + if (ret != NULL) + { + /* Remove special characters from the serial number */ + CFRange range = (serial != NULL ? CFStringFind(serial, CFSTR("+"), 0) : CFRangeMake(0, 0)); + if (range.length == 1) + { + range = CFStringFind(ret, serial, 0); + + CFMutableStringRef deviceIDString = CFStringCreateMutableCopy(NULL, 0, ret); + CFRelease(ret); + + ret = deviceIDString; + CFStringFindAndReplace(deviceIDString, CFSTR("+"), CFSTR(""), range, 0); + } + } + + if (manufacturer != NULL) + CFRelease(manufacturer); + + if (model != NULL) + CFRelease(model); + + if (serial != NULL) + CFRelease(serial); + + if (ret != NULL && CFStringGetLength(ret) == 0) + { + CFRelease(ret); + return NULL; + } + + return ret; +} + +static CFStringRef copy_printer_interface_indexed_description(printer_interface_t printer, UInt8 index, UInt16 language) +{ + IOReturn err; + UInt8 description[256]; // Max possible descriptor length + IOUSBDevRequestTO request; + + bzero(description, 2); + + request.bmRequestType = USBmakebmRequestType(kUSBIn, kUSBStandard, kUSBDevice); + request.bRequest = kUSBRqGetDescriptor; + request.wValue = (kUSBStringDesc << 8) | index; + request.wIndex = language; + request.wLength = 2; + request.pData = &description; + request.completionTimeout = 0; + request.noDataTimeout = 60L; + + err = (*printer)->ControlRequestTO(printer, 0, &request); + if (err != kIOReturnSuccess && err != kIOReturnOverrun) + { + bzero(description, request.wLength); + + // Let's try again full length. Here's why: + // On USB 2.0 controllers, we will not get an overrun error. We just get a "babble" error + // and no valid data. So, if we ask for the max size, we will either get it, or we'll get an underrun. + // It looks like we get it w/out an underrun + + request.bmRequestType = USBmakebmRequestType(kUSBIn, kUSBStandard, kUSBDevice); + request.bRequest = kUSBRqGetDescriptor; + request.wValue = (kUSBStringDesc << 8) | index; + request.wIndex = language; + request.wLength = sizeof description; + request.pData = &description; + request.completionTimeout = 0; + request.noDataTimeout = 60L; + + err = (*printer)->ControlRequestTO(printer, 0, &request); + if (err != kIOReturnSuccess && err != kIOReturnUnderrun) + return NULL; + } + + unsigned int length = description[0]; + if (length == 0) + return CFStringCreateWithCString(NULL, "", kCFStringEncodingUTF8); + + if (description[1] != kUSBStringDesc) + return NULL; + + request.bmRequestType = USBmakebmRequestType(kUSBIn, kUSBStandard, kUSBDevice); + request.bRequest = kUSBRqGetDescriptor; + request.wValue = (kUSBStringDesc << 8) | index; + request.wIndex = language; + + bzero(description, length); + request.wLength = (UInt16)length; + request.pData = &description; + request.completionTimeout = 0; + request.noDataTimeout = 60L; + + err = (*printer)->ControlRequestTO(printer, 0, &request); + if (err != kIOReturnSuccess) + return NULL; + + if (description[1] != kUSBStringDesc) + return NULL; + + if ((description[0] & 1) != 0) + description[0] &= 0xfe; + + char buffer[258] = {}; + unsigned int maxLength = sizeof buffer; + if (description[0] > 1) + { + length = (description[0]-2)/2; + + if (length > maxLength - 1) + length = maxLength -1; + + for (unsigned i = 0; i < length; i++) + buffer[i] = (char) description[2*i+2]; + + buffer[length] = 0; + } + + return CFStringCreateWithCString(NULL, buffer, kCFStringEncodingUTF8); +} + +/* + * 'registry_open()' - Open a connection to the printer. + */ + +static kern_return_t registry_open(CFStringRef *driverBundlePath) +{ + g.bidi_flag = 0; /* 0=unidirectional */ + + kern_return_t kr = load_printerdriver(driverBundlePath); + if (kr != kIOReturnSuccess) + kr = -2; + + if (g.classdriver != NULL) + { + (*g.classdriver)->interfaceNumber = g.interfaceNum; + kr = (*g.classdriver)->Open(g.classdriver, g.location, kUSBPrintingProtocolBidirectional); + if (kr != kIOReturnSuccess || (*g.classdriver)->interface == NULL) + { + kr = (*g.classdriver)->Open(g.classdriver, g.location, kUSBPrintingProtocolUnidirectional); + if (kr == kIOReturnSuccess) + { + if ((*g.classdriver)->interface == NULL) + { + (*g.classdriver)->Close(g.classdriver); + kr = -1; + } + } + } + else + g.bidi_flag = 1; /* 1=bidirectional */ + } + + if (kr != kIOReturnSuccess) + unload_classdriver(&g.classdriver); + + return kr; +} + + +/* + * 'registry_close()' - Close the connection to the printer. + */ + +static kern_return_t registry_close(void) +{ + if (g.classdriver != NULL) + (*g.classdriver)->Close(g.classdriver); + + unload_classdriver(&g.classdriver); + return kIOReturnSuccess; +} + +#pragma mark - +/* + * 'copy_value_for_key()' - Copy value string associated with a key. + */ + +static CFStringRef copy_value_for_key(CFStringRef deviceID, + CFStringRef *keys) +{ + CFStringRef value = NULL; + CFArrayRef kvPairs = deviceID != NULL ? CFStringCreateArrayBySeparatingStrings(NULL, deviceID, CFSTR(";")) : NULL; + CFIndex max = kvPairs != NULL ? CFArrayGetCount(kvPairs) : 0; + CFIndex idx = 0; + + while (idx < max && value == NULL) + { + CFStringRef kvpair = CFArrayGetValueAtIndex(kvPairs, idx); + CFIndex idxx = 0; + while (keys[idxx] != NULL && value == NULL) + { + CFRange range = CFStringFind(kvpair, keys[idxx], kCFCompareCaseInsensitive); + if (range.length != -1) + { + if (range.location != 0) + { + CFMutableStringRef theString = CFStringCreateMutableCopy(NULL, 0, kvpair); + CFStringTrimWhitespace(theString); + range = CFStringFind(theString, keys[idxx], kCFCompareCaseInsensitive); + if (range.location == 0) + value = CFStringCreateWithSubstring(NULL, theString, CFRangeMake(range.length, CFStringGetLength(theString) - range.length)); + + CFRelease(theString); + } + else + { + CFStringRef theString = CFStringCreateWithSubstring(NULL, kvpair, CFRangeMake(range.length, CFStringGetLength(kvpair) - range.length)); + CFMutableStringRef theString2 = CFStringCreateMutableCopy(NULL, 0, theString); + CFRelease(theString); + + CFStringTrimWhitespace(theString2); + value = theString2; + } + } + idxx++; + } + idx++; + } + + if (kvPairs != NULL) + CFRelease(kvPairs); + return value; +} + + +/* + * 'cfstr_create_trim()' - Create CFString and trim whitespace characters. + */ + +CFStringRef cfstr_create_trim(const char *cstr) +{ + CFStringRef cfstr; + CFMutableStringRef cfmutablestr = NULL; + + if ((cfstr = CFStringCreateWithCString(NULL, cstr, kCFStringEncodingUTF8)) != NULL) + { + if ((cfmutablestr = CFStringCreateMutableCopy(NULL, 1024, cfstr)) != NULL) + CFStringTrimWhitespace(cfmutablestr); + + CFRelease(cfstr); + } + return (CFStringRef) cfmutablestr; +} + + +#pragma mark - +/* + * 'parse_options()' - Parse URI options. + */ + +static void parse_options(char *options, + char *serial, + int serial_size, + UInt32 *location, + Boolean *wait_eof) +{ + char sep, /* Separator character */ + *name, /* Name of option */ + *value; /* Value of option */ + + + if (serial) + *serial = '\0'; + if (location) + *location = 0; + + if (!options) + return; + + while (*options) + { + /* + * Get the name... + */ + + name = options; + + while (*options && *options != '=' && *options != '+' && *options != '&') + options ++; + + if ((sep = *options) != '\0') + *options++ = '\0'; + + if (sep == '=') + { + /* + * Get the value... + */ + + value = options; + + while (*options && *options != '+' && *options != '&') + options ++; + + if (*options) + *options++ = '\0'; + } + else + value = (char *)""; + + /* + * Process the option... + */ + + if (!_cups_strcasecmp(name, "waiteof")) + { + if (!_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "true")) + *wait_eof = true; + else if (!_cups_strcasecmp(value, "off") || + !_cups_strcasecmp(value, "no") || + !_cups_strcasecmp(value, "false")) + *wait_eof = false; + else + _cupsLangPrintFilter(stderr, "WARNING", + _("Boolean expected for waiteof option \"%s\"."), + value); + } + else if (!_cups_strcasecmp(name, "serial")) + strlcpy(serial, value, (size_t)serial_size); + else if (!_cups_strcasecmp(name, "location") && location) + *location = (UInt32)strtoul(value, NULL, 16); + } +} + + +/*! + * @function setup_cfLanguage + * @abstract Convert the contents of the CUPS 'APPLE_LANGUAGE' environment + * variable into a one element CF array of languages. + * + * @discussion Each submitted job comes with a natural language. CUPS passes + * that language in an environment variable. We take that language + * and jam it into the AppleLanguages array so that CF will use + * it when reading localized resources. We need to do this before + * any CF code reads and caches the languages array, so this function + * should be called early in main() + */ +static void setup_cfLanguage(void) +{ + CFStringRef lang[1] = {NULL}; + CFArrayRef langArray = NULL; + const char *requestedLang = NULL; + + if ((requestedLang = getenv("APPLE_LANGUAGE")) == NULL) + requestedLang = getenv("LANG"); + + if (requestedLang != NULL) + { + lang[0] = CFStringCreateWithCString(kCFAllocatorDefault, requestedLang, kCFStringEncodingUTF8); + langArray = CFArrayCreate(kCFAllocatorDefault, (const void **)lang, sizeof(lang) / sizeof(lang[0]), &kCFTypeArrayCallBacks); + + CFPreferencesSetValue(CFSTR("AppleLanguages"), langArray, kCFPreferencesCurrentApplication, kCFPreferencesAnyUser, kCFPreferencesAnyHost); + fprintf(stderr, "DEBUG: usb: AppleLanguages=\"%s\"\n", requestedLang); + + CFRelease(lang[0]); + CFRelease(langArray); + } + else + fputs("DEBUG: usb: LANG and APPLE_LANGUAGE environment variables missing.\n", stderr); +} + +#pragma mark - +#if defined(__i386__) || defined(__x86_64__) +/*! + * @function run_legacy_backend + * + * @abstract Starts child backend process running as a ppc or i386 executable. + * + * @result Never returns; always calls exit(). + * + * @discussion + */ +static void run_legacy_backend(int argc, + char *argv[], + int fd) +{ + int i; + int exitstatus = 0; + int childstatus; + pid_t waitpid_status; + char *my_argv[32]; + char *usb_legacy_status; + + + /* + * If we're running as x86_64 or i386 and couldn't load the class driver + * (because it's ppc or i386), then try to re-exec ourselves in ppc or i386 + * mode to try again. If we don't have a ppc or i386 architecture we may be + * running with the same architecture again so guard against this by setting + * and testing an environment variable... + */ + +# ifdef __x86_64__ + usb_legacy_status = getenv("USB_I386_STATUS"); +# else + usb_legacy_status = getenv("USB_PPC_STATUS"); +# endif /* __x86_64__ */ + + if (!usb_legacy_status) + { + /* + * Setup a SIGTERM handler then block it before forking... + */ + + int err; /* posix_spawn result */ + struct sigaction action; /* POSIX signal action */ + sigset_t newmask, /* New signal mask */ + oldmask; /* Old signal mask */ + char usbpath[1024]; /* Path to USB backend */ + const char *cups_serverbin;/* Path to CUPS binaries */ + + + memset(&action, 0, sizeof(action)); + sigaddset(&action.sa_mask, SIGTERM); + action.sa_handler = sigterm_handler; + sigaction(SIGTERM, &action, NULL); + + sigemptyset(&newmask); + sigaddset(&newmask, SIGTERM); + sigprocmask(SIG_BLOCK, &newmask, &oldmask); + + /* + * Set the environment variable... + */ + +# ifdef __x86_64__ + setenv("USB_I386_STATUS", "1", false); +# else + setenv("USB_PPC_STATUS", "1", false); +# endif /* __x86_64__ */ + + /* + * Tell the kernel to use the specified CPU architecture... + */ + +# ifdef __x86_64__ + cpu_type_t cpu = CPU_TYPE_I386; +# else + cpu_type_t cpu = CPU_TYPE_POWERPC; +# endif /* __x86_64__ */ + size_t ocount = 1; + posix_spawnattr_t attrs; + + if (!posix_spawnattr_init(&attrs)) + { + posix_spawnattr_setsigdefault(&attrs, &oldmask); + if (posix_spawnattr_setbinpref_np(&attrs, 1, &cpu, &ocount) || ocount != 1) + { +# ifdef __x86_64__ + perror("DEBUG: Unable to set binary preference to i386"); +# else + perror("DEBUG: Unable to set binary preference to ppc"); +# endif /* __x86_64__ */ + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to use legacy USB class driver.")); + exit(CUPS_BACKEND_STOP); + } + } + + /* + * Set up the arguments and call posix_spawn... + */ + + if ((cups_serverbin = getenv("CUPS_SERVERBIN")) == NULL) + cups_serverbin = CUPS_SERVERBIN; + snprintf(usbpath, sizeof(usbpath), "%s/backend/usb", cups_serverbin); + + for (i = 0; i < argc && i < (int)(sizeof(my_argv) / sizeof(my_argv[0])) - 1; i ++) + my_argv[i] = argv[i]; + + my_argv[i] = NULL; + + if ((err = posix_spawn(&child_pid, usbpath, NULL, &attrs, my_argv, + environ)) != 0) + { + fprintf(stderr, "DEBUG: Unable to exec %s: %s\n", usbpath, + strerror(err)); + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to use legacy USB class driver.")); + exit(CUPS_BACKEND_STOP); + } + + /* + * Unblock signals... + */ + + sigprocmask(SIG_SETMASK, &oldmask, NULL); + + /* + * Close the fds we won't be using then wait for the child backend to exit. + */ + + close(fd); + close(1); + + fprintf(stderr, "DEBUG: Started usb(legacy) backend (PID %d)\n", + (int)child_pid); + + while ((waitpid_status = waitpid(child_pid, &childstatus, 0)) == (pid_t)-1 && errno == EINTR) + usleep(1000); + + if (WIFSIGNALED(childstatus)) + { + exitstatus = CUPS_BACKEND_STOP; + fprintf(stderr, "DEBUG: usb(legacy) backend %d crashed on signal %d\n", + child_pid, WTERMSIG(childstatus)); + } + else + { + if ((exitstatus = WEXITSTATUS(childstatus)) != 0) + fprintf(stderr, + "DEBUG: usb(legacy) backend %d stopped with status %d\n", + child_pid, exitstatus); + else + fprintf(stderr, "DEBUG: usb(legacy) backend %d exited with no errors\n", + child_pid); + } + } + else + { + fputs("DEBUG: usb(legacy) backend running native again\n", stderr); + exitstatus = CUPS_BACKEND_STOP; + } + + exit(exitstatus); +} +#endif /* __i386__ || __x86_64__ */ + + +/* + * 'sigterm_handler()' - SIGTERM handler. + */ + +static void +sigterm_handler(int sig) /* I - Signal */ +{ +#if defined(__i386__) || defined(__x86_64__) + /* + * If we started a child process pass the signal on to it... + */ + + if (child_pid) + { + /* + * If we started a child process pass the signal on to it... + */ + + int status; + + kill(child_pid, sig); + while (waitpid(child_pid, &status, 0) < 0 && errno == EINTR); + + if (WIFEXITED(status)) + _exit(WEXITSTATUS(status)); + else if (status == SIGTERM || status == SIGKILL) + _exit(0); + else + { + write(2, "DEBUG: Child crashed.\n", 22); + _exit(CUPS_BACKEND_STOP); + } + } +#endif /* __i386__ || __x86_64__ */ +} + + +/* + * 'sigquit_handler()' - SIGQUIT handler. + */ + +static void sigquit_handler(int sig, siginfo_t *si, void *unused) +{ + char *path; + char pathbuf[PROC_PIDPATHINFO_MAXSIZE]; + static char msgbuf[256] = ""; + + + (void)sig; + (void)unused; + + if (proc_pidpath(si->si_pid, pathbuf, sizeof(pathbuf)) > 0 && + (path = basename(pathbuf)) != NULL) + snprintf(msgbuf, sizeof(msgbuf), "SIGQUIT sent by %s(%d)", path, (int)si->si_pid); + else + snprintf(msgbuf, sizeof(msgbuf), "SIGQUIT sent by PID %d", (int)si->si_pid); + + CRSetCrashLogMessage(msgbuf); + + abort(); +} + + +#ifdef PARSE_PS_ERRORS +/* + * 'next_line()' - Find the next line in a buffer. + */ + +static const char *next_line (const char *buffer) +{ + const char *cptr, *lptr = NULL; + + for (cptr = buffer; *cptr && lptr == NULL; cptr++) + if (*cptr == '\n' || *cptr == '\r') + lptr = cptr; + return lptr; +} + + +/* + * 'parse_pserror()' - Scan the backchannel data for postscript errors. + */ + +static void parse_pserror(char *sockBuffer, + int len) +{ + static char gErrorBuffer[1024] = ""; + static char *gErrorBufferPtr = gErrorBuffer; + static char *gErrorBufferEndPtr = gErrorBuffer + sizeof(gErrorBuffer); + + char *pCommentBegin, *pCommentEnd, *pLineEnd; + char *logLevel; + char logstr[1024]; + int logstrlen; + + if (gErrorBufferPtr + len > gErrorBufferEndPtr - 1) + gErrorBufferPtr = gErrorBuffer; + if (len > sizeof(gErrorBuffer) - 1) + len = sizeof(gErrorBuffer) - 1; + + memcpy(gErrorBufferPtr, (const void *)sockBuffer, len); + gErrorBufferPtr += len; + *(gErrorBufferPtr + 1) = '\0'; + + pLineEnd = (char *)next_line((const char *)gErrorBuffer); + while (pLineEnd != NULL) + { + *pLineEnd++ = '\0'; + + pCommentBegin = strstr(gErrorBuffer,"%%["); + pCommentEnd = strstr(gErrorBuffer, "]%%"); + if (pCommentBegin != gErrorBuffer && pCommentEnd != NULL) + { + pCommentEnd += 3; /* Skip past "]%%" */ + *pCommentEnd = '\0'; /* There's always room for the nul */ + + if (_cups_strncasecmp(pCommentBegin, "%%[ Error:", 10) == 0) + logLevel = "DEBUG"; + else if (_cups_strncasecmp(pCommentBegin, "%%[ Flushing", 12) == 0) + logLevel = "DEBUG"; + else + logLevel = "INFO"; + + if ((logstrlen = snprintf(logstr, sizeof(logstr), "%s: %s\n", logLevel, pCommentBegin)) >= sizeof(logstr)) + { + /* If the string was trucnated make sure it has a linefeed before the nul */ + logstrlen = sizeof(logstr) - 1; + logstr[logstrlen - 1] = '\n'; + } + write(STDERR_FILENO, logstr, logstrlen); + } + + /* move everything over... */ + strlcpy(gErrorBuffer, pLineEnd, sizeof(gErrorBuffer)); + gErrorBufferPtr = gErrorBuffer; + pLineEnd = (char *)next_line((const char *)gErrorBuffer); + } +} +#endif /* PARSE_PS_ERRORS */ + + +/* + * 'soft_reset()' - Send a soft reset to the device. + */ + +static void soft_reset(void) +{ + fd_set input_set; /* Input set for select() */ + struct timeval tv; /* Time value */ + char buffer[2048]; /* Buffer */ + struct timespec cond_timeout; /* pthread condition timeout */ + + /* + * Send an abort once a second until the I/O lock is released by the main thread... + */ + + pthread_mutex_lock(&g.readwrite_lock_mutex); + while (g.readwrite_lock) + { + (*g.classdriver)->Abort(g.classdriver); + + gettimeofday(&tv, NULL); + cond_timeout.tv_sec = tv.tv_sec + 1; + cond_timeout.tv_nsec = tv.tv_usec * 1000; + + while (g.readwrite_lock) + { + if (pthread_cond_timedwait(&g.readwrite_lock_cond, + &g.readwrite_lock_mutex, + &cond_timeout) != 0) + break; + } + } + + g.readwrite_lock = 1; + pthread_mutex_unlock(&g.readwrite_lock_mutex); + + /* + * Flush bytes waiting on print_fd... + */ + + g.print_bytes = 0; + + FD_ZERO(&input_set); + FD_SET(g.print_fd, &input_set); + + tv.tv_sec = 0; + tv.tv_usec = 0; + + while (select(g.print_fd+1, &input_set, NULL, NULL, &tv) > 0) + if (read(g.print_fd, buffer, sizeof(buffer)) <= 0) + break; + + /* + * Send the reset... + */ + + (*g.classdriver)->SoftReset(g.classdriver, DEFAULT_TIMEOUT); + + /* + * Release the I/O lock... + */ + + pthread_mutex_lock(&g.readwrite_lock_mutex); + g.readwrite_lock = 0; + pthread_cond_signal(&g.readwrite_lock_cond); + pthread_mutex_unlock(&g.readwrite_lock_mutex); +} + + +/* + * 'get_device_id()' - Return IEEE-1284 device ID. + */ + +static void get_device_id(cups_sc_status_t *status, + char *data, + int *datalen) +{ + CFStringRef deviceIDString = NULL; + + if (g.printer_obj != IO_OBJECT_NULL) + { + printer_interface_t printerIntf = usb_printer_interface_interface(g.printer_obj); + if (printerIntf) + { + deviceIDString = copy_printer_interface_deviceid(printerIntf, g.alternateSetting); + (*printerIntf)->Release(printerIntf); + } + } + + + if (deviceIDString) + { + if (CFStringGetCString(deviceIDString, data, *datalen, kCFStringEncodingUTF8)) + *datalen = (int)strlen(data); + else + *datalen = 0; + + CFRelease(deviceIDString); + } + else + { + *datalen = 0; + } + + *status = CUPS_SC_STATUS_OK; +} diff --git a/backend/usb-libusb.c b/backend/usb-libusb.c new file mode 100644 index 0000000..393fe65 --- /dev/null +++ b/backend/usb-libusb.c @@ -0,0 +1,2014 @@ +/* + * LIBUSB interface code for CUPS. + * + * Copyright 2007-2019 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +/* + * WAIT_EOF_DELAY is number of seconds we'll wait for responses from + * the printer after we've finished sending all the data + */ + +#define WAIT_EOF 0 +#define WAIT_EOF_DELAY 7 +#define WAIT_SIDE_DELAY 3 +#define DEFAULT_TIMEOUT 5000L + + +/* + * Local types... + */ + +typedef struct usb_printer_s /**** USB Printer Data ****/ +{ + struct libusb_device *device; /* Device info */ + int conf, /* Configuration */ + origconf, /* Original configuration */ + iface, /* Interface */ + altset, /* Alternate setting */ + write_endp, /* Write endpoint */ + read_endp, /* Read endpoint */ + protocol, /* Protocol: 1 = Uni-di, 2 = Bi-di. */ + usblp_attached, /* "usblp" kernel module attached? */ + reset_after_job;/* Set to 1 by print_device() */ + unsigned quirks; /* Quirks flags */ + struct libusb_device_handle *handle; /* Open handle to device */ +} usb_printer_t; + +typedef int (*usb_cb_t)(usb_printer_t *, const char *, const char *, + const void *); + +typedef struct usb_globals_s /* Global USB printer information */ +{ + usb_printer_t *printer; /* Printer */ + + pthread_mutex_t read_thread_mutex; + pthread_cond_t read_thread_cond; + int read_thread_stop; + int read_thread_done; + + pthread_mutex_t readwrite_lock_mutex; + pthread_cond_t readwrite_lock_cond; + int readwrite_lock; + + int print_fd; /* File descriptor to print */ + ssize_t print_bytes; /* Print bytes read */ + + int wait_eof; + int drain_output; /* Drain all pending output */ + int bidi_flag; /* 0=unidirectional, 1=bidirectional */ + + pthread_mutex_t sidechannel_thread_mutex; + pthread_cond_t sidechannel_thread_cond; + int sidechannel_thread_stop; + int sidechannel_thread_done; +} usb_globals_t; + +/* + * Quirks: various printer quirks are handled by this structure and its flags. + * + * The quirks table used to be compiled into the backend but is now loaded from + * one or more files in the /usr/share/cups/usb directory. + */ + +#define USB_QUIRK_BLACKLIST 0x0001 /* Does not conform to the spec */ +#define USB_QUIRK_NO_REATTACH 0x0002 /* After printing we cannot re-attach + the usblp kernel module */ +#define USB_QUIRK_SOFT_RESET 0x0004 /* After printing do a soft reset + for clean-up */ +#define USB_QUIRK_UNIDIR 0x0008 /* Requires unidirectional mode */ +#define USB_QUIRK_USB_INIT 0x0010 /* Needs vendor USB init string */ +#define USB_QUIRK_VENDOR_CLASS 0x0020 /* Descriptor uses vendor-specific + Class or SubClass */ +#define USB_QUIRK_DELAY_CLOSE 0x0040 /* Delay close */ +#define USB_QUIRK_WHITELIST 0x0000 /* no quirks */ + + +typedef struct usb_quirk_s /* USB "quirk" information */ +{ + int vendor_id, /* Affected vendor ID */ + product_id; /* Affected product ID or 0 for all */ + unsigned quirks; /* Quirks bitfield */ +} usb_quirk_t; + + + + +/* + * Globals... + */ + +cups_array_t *all_quirks; /* Array of printer quirks */ +usb_globals_t g = { 0 }; /* Globals */ +libusb_device **all_list; /* List of connected USB devices */ + + +/* + * Local functions... + */ + +static int close_device(usb_printer_t *printer); +static int compare_quirks(usb_quirk_t *a, usb_quirk_t *b); +static usb_printer_t *find_device(usb_cb_t cb, const void *data); +static unsigned find_quirks(int vendor_id, int product_id); +static int get_device_id(usb_printer_t *printer, char *buffer, + size_t bufsize); +static int list_cb(usb_printer_t *printer, const char *device_uri, + const char *device_id, const void *data); +static void load_quirks(void); +static char *make_device_uri(usb_printer_t *printer, + const char *device_id, + char *uri, size_t uri_size); +static int open_device(usb_printer_t *printer, int verbose); +static int print_cb(usb_printer_t *printer, const char *device_uri, + const char *device_id, const void *data); +static void *read_thread(void *reference); +static void *sidechannel_thread(void *reference); +static void soft_reset(void); +static int soft_reset_printer(usb_printer_t *printer); + + +/* + * 'list_devices()' - List the available printers. + */ + +void +list_devices(void) +{ + load_quirks(); + + fputs("DEBUG: list_devices\n", stderr); + find_device(list_cb, NULL); +} + + +/* + * 'print_device()' - Print a file to a USB device. + */ + +int /* O - Exit status */ +print_device(const char *uri, /* I - Device URI */ + const char *hostname, /* I - Hostname/manufacturer */ + const char *resource, /* I - Resource/modelname */ + char *options, /* I - Device options/serial number */ + int print_fd, /* I - File descriptor to print */ + int copies, /* I - Copies to print */ + int argc, /* I - Number of command-line arguments (6 or 7) */ + char *argv[]) /* I - Command-line arguments */ +{ + int bytes; /* Bytes written */ + ssize_t total_bytes; /* Total bytes written */ + struct sigaction action; /* Actions for POSIX signals */ + int status = CUPS_BACKEND_OK, + /* Function results */ + iostatus; /* Current IO status */ + pthread_t read_thread_id, /* Read thread */ + sidechannel_thread_id; /* Side-channel thread */ + int have_sidechannel = 0, /* Was the side-channel thread started? */ + have_backchannel = 0; /* Do we have a back channel? */ + struct stat sidechannel_info; /* Side-channel file descriptor info */ + unsigned char print_buffer[8192], /* Print data buffer */ + *print_ptr; /* Pointer into print data buffer */ + fd_set input_set; /* Input set for select() */ + int nfds; /* Number of file descriptors */ + struct timeval *timeout, /* Timeout pointer */ + tv; /* Time value */ + struct timespec cond_timeout; /* pthread condition timeout */ + int num_opts; /* Number of options */ + cups_option_t *opts; /* Options */ + const char *val; /* Option value */ + + + load_quirks(); + + /* + * See if the side-channel descriptor is valid... + */ + + have_sidechannel = !fstat(CUPS_SC_FD, &sidechannel_info) && + S_ISSOCK(sidechannel_info.st_mode); + + g.wait_eof = WAIT_EOF; + + /* + * Connect to the printer... + */ + + fprintf(stderr, "DEBUG: Printing on printer with URI: %s\n", uri); + while ((g.printer = find_device(print_cb, uri)) == NULL) + { + _cupsLangPrintFilter(stderr, "INFO", + _("Waiting for printer to become available.")); + sleep(5); + } + + g.print_fd = print_fd; + + /* + * Some devices need a reset after finishing a job, these devices are + * marked with the USB_QUIRK_SOFT_RESET quirk. + */ + g.printer->reset_after_job = (g.printer->quirks & USB_QUIRK_SOFT_RESET ? 1 : 0); + + /* + * If we are printing data from a print driver on stdin, ignore SIGTERM + * so that the driver can finish out any page data, e.g. to eject the + * current page. We only do this for stdin printing as otherwise there + * is no way to cancel a raw print job... + */ + + if (!print_fd) + { + memset(&action, 0, sizeof(action)); + + sigemptyset(&action.sa_mask); + action.sa_handler = SIG_IGN; + sigaction(SIGTERM, &action, NULL); + } + + /* + * Start the side channel thread if the descriptor is valid... + */ + + pthread_mutex_init(&g.readwrite_lock_mutex, NULL); + pthread_cond_init(&g.readwrite_lock_cond, NULL); + g.readwrite_lock = 1; + + if (have_sidechannel) + { + g.sidechannel_thread_stop = 0; + g.sidechannel_thread_done = 0; + + pthread_cond_init(&g.sidechannel_thread_cond, NULL); + pthread_mutex_init(&g.sidechannel_thread_mutex, NULL); + + if (pthread_create(&sidechannel_thread_id, NULL, sidechannel_thread, NULL)) + { + fprintf(stderr, "DEBUG: Fatal USB error.\n"); + _cupsLangPrintFilter(stderr, "ERROR", + _("There was an unrecoverable USB error.")); + fputs("DEBUG: Couldn't create side-channel thread.\n", stderr); + close_device(g.printer); + return (CUPS_BACKEND_STOP); + } + } + + /* + * Debug mode: If option "usb-unidir" is given, always deactivate + * backchannel + */ + + num_opts = cupsParseOptions(argv[5], 0, &opts); + val = cupsGetOption("usb-unidir", num_opts, opts); + if (val && strcasecmp(val, "no") && strcasecmp(val, "off") && + strcasecmp(val, "false")) + { + g.printer->read_endp = -1; + fprintf(stderr, "DEBUG: Forced uni-directional communication " + "via \"usb-unidir\" option.\n"); + } + + /* + * Debug mode: If option "usb-no-reattach" is given, do not re-attach + * the usblp kernel module after the job has completed. + */ + + val = cupsGetOption("usb-no-reattach", num_opts, opts); + if (val && strcasecmp(val, "no") && strcasecmp(val, "off") && + strcasecmp(val, "false")) + { + g.printer->usblp_attached = 0; + fprintf(stderr, "DEBUG: Forced not re-attaching the usblp kernel module " + "after the job via \"usb-no-reattach\" option.\n"); + } + + /* + * Get the read thread going... + */ + + if (g.printer->read_endp != -1) + { + have_backchannel = 1; + + g.read_thread_stop = 0; + g.read_thread_done = 0; + + pthread_cond_init(&g.read_thread_cond, NULL); + pthread_mutex_init(&g.read_thread_mutex, NULL); + + if (pthread_create(&read_thread_id, NULL, read_thread, NULL)) + { + fprintf(stderr, "DEBUG: Fatal USB error.\n"); + _cupsLangPrintFilter(stderr, "ERROR", + _("There was an unrecoverable USB error.")); + fputs("DEBUG: Couldn't create read thread.\n", stderr); + close_device(g.printer); + return (CUPS_BACKEND_STOP); + } + } + else + fprintf(stderr, "DEBUG: Uni-directional device/mode, back channel " + "deactivated.\n"); + + /* + * The main thread sends the print file... + */ + + g.drain_output = 0; + g.print_bytes = 0; + total_bytes = 0; + print_ptr = print_buffer; + + while (status == CUPS_BACKEND_OK && copies-- > 0) + { + _cupsLangPrintFilter(stderr, "INFO", _("Sending data to printer.")); + + if (print_fd != STDIN_FILENO) + { + fputs("PAGE: 1 1\n", stderr); + lseek(print_fd, 0, SEEK_SET); + } + + while (status == CUPS_BACKEND_OK) + { + FD_ZERO(&input_set); + + if (!g.print_bytes) + FD_SET(print_fd, &input_set); + + /* + * Calculate select timeout... + * If we have data waiting to send timeout is 100ms. + * else if we're draining print_fd timeout is 0. + * else we're waiting forever... + */ + + if (g.print_bytes) + { + tv.tv_sec = 0; + tv.tv_usec = 100000; /* 100ms */ + timeout = &tv; + } + else if (g.drain_output) + { + tv.tv_sec = 0; + tv.tv_usec = 0; + timeout = &tv; + } + else + timeout = NULL; + + /* + * I/O is unlocked around select... + */ + + pthread_mutex_lock(&g.readwrite_lock_mutex); + g.readwrite_lock = 0; + pthread_cond_signal(&g.readwrite_lock_cond); + pthread_mutex_unlock(&g.readwrite_lock_mutex); + + nfds = select(print_fd + 1, &input_set, NULL, NULL, timeout); + + /* + * Reacquire the lock... + */ + + pthread_mutex_lock(&g.readwrite_lock_mutex); + while (g.readwrite_lock) + pthread_cond_wait(&g.readwrite_lock_cond, &g.readwrite_lock_mutex); + g.readwrite_lock = 1; + pthread_mutex_unlock(&g.readwrite_lock_mutex); + + if (nfds < 0) + { + if (errno == EINTR && total_bytes == 0) + { + fputs("DEBUG: Received an interrupt before any bytes were " + "written, aborting.\n", stderr); + close_device(g.printer); + return (CUPS_BACKEND_OK); + } + else if (errno != EAGAIN && errno != EINTR) + { + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to read print data.")); + perror("DEBUG: select"); + close_device(g.printer); + return (CUPS_BACKEND_FAILED); + } + } + + /* + * If drain output has finished send a response... + */ + + if (g.drain_output && !nfds && !g.print_bytes) + { + /* Send a response... */ + cupsSideChannelWrite(CUPS_SC_CMD_DRAIN_OUTPUT, CUPS_SC_STATUS_OK, NULL, 0, 1.0); + g.drain_output = 0; + } + + /* + * Check if we have print data ready... + */ + + if (FD_ISSET(print_fd, &input_set)) + { + g.print_bytes = read(print_fd, print_buffer, sizeof(print_buffer)); + + if (g.print_bytes < 0) + { + /* + * Read error - bail if we don't see EAGAIN or EINTR... + */ + + if (errno != EAGAIN && errno != EINTR) + { + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to read print data.")); + perror("DEBUG: read"); + close_device(g.printer); + return (CUPS_BACKEND_FAILED); + } + + g.print_bytes = 0; + } + else if (g.print_bytes == 0) + { + /* + * End of file, break out of the loop... + */ + + break; + } + + print_ptr = print_buffer; + + fprintf(stderr, "DEBUG: Read %d bytes of print data...\n", + (int)g.print_bytes); + } + + if (g.print_bytes) + { + iostatus = libusb_bulk_transfer(g.printer->handle, + g.printer->write_endp, + print_buffer, g.print_bytes, + &bytes, 0); + /* + * Ignore timeout errors, but retain the number of bytes written to + * avoid sending duplicate data... + */ + + if (iostatus == LIBUSB_ERROR_TIMEOUT) + { + fputs("DEBUG: Got USB transaction timeout during write.\n", stderr); + iostatus = 0; + } + + /* + * If we've stalled, retry the write... + */ + + else if (iostatus == LIBUSB_ERROR_PIPE) + { + fputs("DEBUG: Got USB pipe stalled during write.\n", stderr); + + iostatus = libusb_bulk_transfer(g.printer->handle, + g.printer->write_endp, + print_buffer, g.print_bytes, + &bytes, 0); + } + + /* + * Retry a write after an aborted write since we probably just got + * SIGTERM... + */ + + else if (iostatus == LIBUSB_ERROR_INTERRUPTED) + { + fputs("DEBUG: Got USB return aborted during write.\n", stderr); + + iostatus = libusb_bulk_transfer(g.printer->handle, + g.printer->write_endp, + print_buffer, g.print_bytes, + &bytes, 0); + } + + if (iostatus) + { + /* + * Write error - bail if we don't see an error we can retry... + */ + + _cupsLangPrintFilter(stderr, "ERROR", + _("Unable to send data to printer.")); + fprintf(stderr, "DEBUG: libusb write operation returned %x.\n", + iostatus); + + status = CUPS_BACKEND_FAILED; + break; + } + else if (bytes > 0) + { + fprintf(stderr, "DEBUG: Wrote %d bytes of print data...\n", + (int)bytes); + + g.print_bytes -= bytes; + print_ptr += bytes; + total_bytes += bytes; + } + } + + if (print_fd != 0 && status == CUPS_BACKEND_OK) + fprintf(stderr, "DEBUG: Sending print file, " CUPS_LLFMT " bytes...\n", + CUPS_LLCAST total_bytes); + } + } + + fprintf(stderr, "DEBUG: Sent " CUPS_LLFMT " bytes...\n", + CUPS_LLCAST total_bytes); + + /* + * Signal the side channel thread to exit... + */ + + if (have_sidechannel) + { + close(CUPS_SC_FD); + pthread_mutex_lock(&g.readwrite_lock_mutex); + g.readwrite_lock = 0; + pthread_cond_signal(&g.readwrite_lock_cond); + pthread_mutex_unlock(&g.readwrite_lock_mutex); + + g.sidechannel_thread_stop = 1; + pthread_mutex_lock(&g.sidechannel_thread_mutex); + + if (!g.sidechannel_thread_done) + { + gettimeofday(&tv, NULL); + cond_timeout.tv_sec = tv.tv_sec + WAIT_SIDE_DELAY; + cond_timeout.tv_nsec = tv.tv_usec * 1000; + + while (!g.sidechannel_thread_done) + { + if (pthread_cond_timedwait(&g.sidechannel_thread_cond, + &g.sidechannel_thread_mutex, + &cond_timeout) != 0) + break; + } + } + + pthread_mutex_unlock(&g.sidechannel_thread_mutex); + } + + /* + * Signal the read thread to exit then wait 7 seconds for it to complete... + */ + + if (have_backchannel) + { + g.read_thread_stop = 1; + + pthread_mutex_lock(&g.read_thread_mutex); + + if (!g.read_thread_done) + { + fputs("DEBUG: Waiting for read thread to exit...\n", stderr); + + gettimeofday(&tv, NULL); + cond_timeout.tv_sec = tv.tv_sec + WAIT_EOF_DELAY; + cond_timeout.tv_nsec = tv.tv_usec * 1000; + + while (!g.read_thread_done) + { + if (pthread_cond_timedwait(&g.read_thread_cond, &g.read_thread_mutex, + &cond_timeout) != 0) + break; + } + + /* + * If it didn't exit abort the pending read and wait an additional + * second... + */ + + if (!g.read_thread_done) + { + fputs("DEBUG: Read thread still active, aborting the pending read...\n", + stderr); + + g.wait_eof = 0; + + gettimeofday(&tv, NULL); + cond_timeout.tv_sec = tv.tv_sec + 1; + cond_timeout.tv_nsec = tv.tv_usec * 1000; + + while (!g.read_thread_done) + { + if (pthread_cond_timedwait(&g.read_thread_cond, &g.read_thread_mutex, + &cond_timeout) != 0) + break; + } + } + } + + pthread_mutex_unlock(&g.read_thread_mutex); + } + + /* + * Close the connection and input file and general clean up... + */ + + if (g.printer->quirks & USB_QUIRK_DELAY_CLOSE) + sleep(1); + + close_device(g.printer); + + /* + * Clean up .... + */ + + libusb_free_device_list(all_list, 1); + libusb_exit(NULL); + + return (status); +} + + +/* + * 'close_device()' - Close the connection to the USB printer. + */ + +static int /* I - 0 on success, -1 on failure */ +close_device(usb_printer_t *printer) /* I - Printer */ +{ + struct libusb_device_descriptor devdesc; + /* Current device descriptor */ + struct libusb_config_descriptor *confptr; + /* Pointer to current configuration */ + + + if (printer->handle) + { + /* + * Release interfaces before closing so that we know all data is written + * to the device... + */ + + int errcode; /* Return value of libusb function */ + int number1, /* Interface number */ + number2; /* Configuration number */ + + errcode = + libusb_get_config_descriptor(printer->device, printer->conf, &confptr); + if (errcode >= 0) + { + number1 = confptr->interface[printer->iface]. + altsetting[printer->altset].bInterfaceNumber; + libusb_release_interface(printer->handle, number1); + + number2 = confptr->bConfigurationValue; + + libusb_free_config_descriptor(confptr); + + /* + * If we have changed the configuration from one valid configuration + * to another, restore the old one + */ + if (printer->origconf > 0 && printer->origconf != number2) + { + fprintf(stderr, "DEBUG: Restoring USB device configuration: %d -> %d\n", + number2, printer->origconf); + if ((errcode = libusb_set_configuration(printer->handle, + printer->origconf)) < 0) + { + if (errcode != LIBUSB_ERROR_BUSY) + { + errcode = + libusb_get_device_descriptor (printer->device, &devdesc); + if (errcode < 0) + fprintf(stderr, + "DEBUG: Failed to set configuration %d\n", + printer->origconf); + else + fprintf(stderr, + "DEBUG: Failed to set configuration %d for %04x:%04x\n", + printer->origconf, devdesc.idVendor, devdesc.idProduct); + } + } + } + + /* + * Re-attach "usblp" kernel module if it was attached before using this + * device + */ + if (printer->usblp_attached == 1) + if (libusb_attach_kernel_driver(printer->handle, number1) < 0) + { + errcode = libusb_get_device_descriptor (printer->device, &devdesc); + if (errcode < 0) + fprintf(stderr, + "DEBUG: Failed to re-attach \"usblp\" kernel module\n"); + else + fprintf(stderr, + "DEBUG: Failed to re-attach \"usblp\" kernel module to " + "%04x:%04x\n", devdesc.idVendor, devdesc.idProduct); + } + } + else + fprintf(stderr, + "DEBUG: Failed to get configuration descriptor %d\n", + printer->conf); + + /* + * Reset the device to clean up after the job + */ + + if (printer->reset_after_job == 1) + { + if ((errcode = libusb_reset_device(printer->handle)) < 0) + fprintf(stderr, + "DEBUG: Device reset failed, error code: %d\n", + errcode); + else + fprintf(stderr, + "DEBUG: Resetting printer.\n"); + } + + /* + * Close the interface and return... + */ + + libusb_close(printer->handle); + printer->handle = NULL; + } + + return (0); +} + + +/* + * 'compare_quirks()' - Compare two quirks entries. + */ + +static int /* O - Result of comparison */ +compare_quirks(usb_quirk_t *a, /* I - First quirk entry */ + usb_quirk_t *b) /* I - Second quirk entry */ +{ + int result; /* Result of comparison */ + + if ((result = b->vendor_id - a->vendor_id) == 0) + result = b->product_id - a->product_id; + + return (result); +} + + +/* + * 'find_device()' - Find or enumerate USB printers. + */ + +static usb_printer_t * /* O - Found printer */ +find_device(usb_cb_t cb, /* I - Callback function */ + const void *data) /* I - User data for callback */ +{ + libusb_device **list; /* List of connected USB devices */ + libusb_device *device = NULL; /* Current device */ + struct libusb_device_descriptor devdesc; + /* Current device descriptor */ + struct libusb_config_descriptor *confptr = NULL; + /* Pointer to current configuration */ + const struct libusb_interface *ifaceptr = NULL; + /* Pointer to current interface */ + const struct libusb_interface_descriptor *altptr = NULL; + /* Pointer to current alternate setting */ + const struct libusb_endpoint_descriptor *endpptr = NULL; + /* Pointer to current endpoint */ + ssize_t err = 0, /* Error code */ + numdevs, /* number of connected devices */ + i = 0; + uint8_t conf, /* Current configuration */ + iface, /* Current interface */ + altset, /* Current alternate setting */ + protocol, /* Current protocol */ + endp, /* Current endpoint */ + read_endp, /* Current read endpoint */ + write_endp; /* Current write endpoint */ + char device_id[1024],/* IEEE-1284 device ID */ + device_uri[1024]; + /* Device URI */ + static usb_printer_t printer; /* Current printer */ + + + /* + * Initialize libusb... + */ + + err = libusb_init(NULL); + if (err) + { + fprintf(stderr, "ERROR: Unable to initialize USB access via libusb, libusb error %i (%s)\n", (int)err, libusb_strerror((int)err)); + return (NULL); + } + + numdevs = libusb_get_device_list(NULL, &list); + fprintf(stderr, "DEBUG: libusb_get_device_list=%d\n", (int)numdevs); + + /* + * Then loop through the devices it found... + */ + + if (numdevs > 0) + for (i = 0; i < numdevs; i++) + { + device = list[i]; + + /* + * Ignore devices with no configuration data and anything that is not + * a printer... + */ + + if (libusb_get_device_descriptor(device, &devdesc) < 0) + continue; + + if (!devdesc.bNumConfigurations || !devdesc.idVendor || + !devdesc.idProduct) + continue; + + printer.quirks = find_quirks(devdesc.idVendor, devdesc.idProduct); + + /* + * Ignore blacklisted printers... + */ + + if (printer.quirks & USB_QUIRK_BLACKLIST) + continue; + + for (conf = 0; conf < devdesc.bNumConfigurations; conf ++) + { + if (libusb_get_config_descriptor(device, conf, &confptr) < 0) + continue; + for (iface = 0, ifaceptr = confptr->interface; + iface < confptr->bNumInterfaces; + iface ++, ifaceptr ++) + { + /* + * Some printers offer multiple interfaces... + */ + + protocol = 0; + + for (altset = 0, altptr = ifaceptr->altsetting; + altset < ifaceptr->num_altsetting; // lgtm [cpp/comparison-with-wider-type] + altset ++, altptr ++) + { + /* + * Currently we only support unidirectional and bidirectional + * printers. Future versions of this code will support the + * 1284.4 (packet mode) protocol as well. + */ + + if (((altptr->bInterfaceClass != LIBUSB_CLASS_PRINTER || + altptr->bInterfaceSubClass != 1) && + ((printer.quirks & USB_QUIRK_VENDOR_CLASS) == 0)) || + (altptr->bInterfaceProtocol != 1 && /* Unidirectional */ + altptr->bInterfaceProtocol != 2) || /* Bidirectional */ + altptr->bInterfaceProtocol < protocol) + continue; + + if (printer.quirks & USB_QUIRK_VENDOR_CLASS) + fprintf(stderr, "DEBUG: Printer does not report class 7 and/or " + "subclass 1 but works as a printer anyway\n"); + + read_endp = 0xff; + write_endp = 0xff; + + for (endp = 0, endpptr = altptr->endpoint; + endp < altptr->bNumEndpoints; + endp ++, endpptr ++) + if ((endpptr->bmAttributes & LIBUSB_TRANSFER_TYPE_MASK) == + LIBUSB_TRANSFER_TYPE_BULK) + { + if (endpptr->bEndpointAddress & LIBUSB_ENDPOINT_DIR_MASK) + read_endp = endp; + else + write_endp = endp; + } + + if (write_endp != 0xff) + { + /* + * Save the best match so far... + */ + + protocol = altptr->bInterfaceProtocol; + printer.altset = altset; + printer.write_endp = write_endp; + if (protocol > 1) + printer.read_endp = read_endp; + else + printer.read_endp = -1; + } + } + + if (protocol > 0) + { + printer.device = device; + printer.conf = conf; + printer.iface = iface; + printer.protocol = protocol; + printer.handle = NULL; + + if (!open_device(&printer, data != NULL)) + { + get_device_id(&printer, device_id, sizeof(device_id)); + make_device_uri(&printer, device_id, device_uri, + sizeof(device_uri)); + + fprintf(stderr, "DEBUG2: Printer found with device ID: %s " + "Device URI: %s\n", + device_id, device_uri); + + if ((*cb)(&printer, device_uri, device_id, data)) + { + fprintf(stderr, "DEBUG: Device protocol: %d\n", + printer.protocol); + if (printer.quirks & USB_QUIRK_UNIDIR) + { + printer.read_endp = -1; + fprintf(stderr, "DEBUG: Printer reports bi-di support " + "but in reality works only uni-directionally\n"); + } + if (printer.read_endp != -1) + { + printer.read_endp = confptr->interface[printer.iface]. + altsetting[printer.altset]. + endpoint[printer.read_endp]. + bEndpointAddress; + } + else + fprintf(stderr, "DEBUG: Uni-directional USB communication " + "only!\n"); + printer.write_endp = confptr->interface[printer.iface]. + altsetting[printer.altset]. + endpoint[printer.write_endp]. + bEndpointAddress; + if (printer.quirks & USB_QUIRK_NO_REATTACH) + { + printer.usblp_attached = 0; + fprintf(stderr, "DEBUG: Printer does not like usblp " + "kernel module to be re-attached after job\n"); + } + libusb_free_config_descriptor(confptr); + return (&printer); + } + + close_device(&printer); + } + } + } + libusb_free_config_descriptor(confptr); + } + } + + /* + * If we get this far without returning, then we haven't found a printer + * to print to... + */ + + /* + * Clean up .... + */ + + if (numdevs >= 0) + libusb_free_device_list(list, 1); + libusb_exit(NULL); + + return (NULL); +} + + +/* + * 'find_quirks()' - Find the quirks for the given printer, if any. + * + * First looks for an exact match, then looks for the vendor ID wildcard match. + */ + +static unsigned /* O - Quirks flags */ +find_quirks(int vendor_id, /* I - Vendor ID */ + int product_id) /* I - Product ID */ +{ + usb_quirk_t key, /* Search key */ + *match; /* Matching quirk entry */ + + + key.vendor_id = vendor_id; + key.product_id = product_id; + + if ((match = cupsArrayFind(all_quirks, &key)) != NULL) + return (match->quirks); + + key.product_id = 0; + + if ((match = cupsArrayFind(all_quirks, &key)) != NULL) + return (match->quirks); + + return (USB_QUIRK_WHITELIST); +} + + +/* + * 'get_device_id()' - Get the IEEE-1284 device ID for the printer. + */ + +static int /* O - 0 on success, -1 on error */ +get_device_id(usb_printer_t *printer, /* I - Printer */ + char *buffer, /* I - String buffer */ + size_t bufsize) /* I - Number of bytes in buffer */ +{ + int length; /* Length of device ID */ + + + if (libusb_control_transfer(printer->handle, + LIBUSB_REQUEST_TYPE_CLASS | LIBUSB_ENDPOINT_IN | + LIBUSB_RECIPIENT_INTERFACE, + 0, printer->conf, + (printer->iface << 8) | printer->altset, + (unsigned char *)buffer, bufsize, 5000) < 0) + { + *buffer = '\0'; + return (-1); + } + + /* + * Extract the length of the device ID string from the first two + * bytes. The 1284 spec says the length is stored MSB first... + */ + + length = (int)((((unsigned)buffer[0] & 255) << 8) | ((unsigned)buffer[1] & 255)); + + /* + * Check to see if the length is larger than our buffer or less than 14 bytes + * (the minimum valid device ID is "MFG:x;MDL:y;" with 2 bytes for the length). + * + * If the length is out-of-range, assume that the vendor incorrectly + * implemented the 1284 spec and re-read the length as LSB first,.. + */ + + if (length > bufsize || length < 14) + length = (int)((((unsigned)buffer[1] & 255) << 8) | ((unsigned)buffer[0] & 255)); + + if (length > bufsize) + length = bufsize; + + if (length < 14) + { + /* + * Invalid device ID, clear it! + */ + + *buffer = '\0'; + return (-1); + } + + length -= 2; + + /* + * Copy the device ID text to the beginning of the buffer and + * nul-terminate. + */ + + memmove(buffer, buffer + 2, (size_t)length); + buffer[length] = '\0'; + + return (0); +} + + +/* + * 'list_cb()' - List USB printers for discovery. + */ + +static int /* O - 0 to continue, 1 to stop */ +list_cb(usb_printer_t *printer, /* I - Printer */ + const char *device_uri, /* I - Device URI */ + const char *device_id, /* I - IEEE-1284 device ID */ + const void *data) /* I - User data (not used) */ +{ + char make_model[1024]; /* Make and model */ + + + /* + * Get the device URI and make/model strings... + */ + + if (backendGetMakeModel(device_id, make_model, sizeof(make_model))) + strlcpy(make_model, "Unknown", sizeof(make_model)); + + /* + * Report the printer... + */ + + cupsBackendReport("direct", device_uri, make_model, make_model, device_id, + NULL); + + /* + * Keep going... + */ + + return (0); +} + + +/* + * 'load_quirks()' - Load all quirks files in the /usr/share/cups/usb directory. + */ + +static void +load_quirks(void) +{ + const char *datadir; /* CUPS_DATADIR environment variable */ + char filename[1024], /* Filename */ + line[1024]; /* Line from file */ + cups_dir_t *dir; /* Directory */ + cups_dentry_t *dent; /* Directory entry */ + cups_file_t *fp; /* Quirks file */ + usb_quirk_t *quirk; /* New quirk */ + + + all_quirks = cupsArrayNew((cups_array_func_t)compare_quirks, NULL); + + if ((datadir = getenv("CUPS_DATADIR")) == NULL) + datadir = CUPS_DATADIR; + + snprintf(filename, sizeof(filename), "%s/usb", datadir); + if ((dir = cupsDirOpen(filename)) == NULL) + { + perror(filename); + return; + } + + fprintf(stderr, "DEBUG: Loading USB quirks from \"%s\".\n", filename); + + while ((dent = cupsDirRead(dir)) != NULL) + { + if (!S_ISREG(dent->fileinfo.st_mode)) + continue; + + snprintf(filename, sizeof(filename), "%s/usb/%s", datadir, dent->filename); + if ((fp = cupsFileOpen(filename, "r")) == NULL) + { + perror(filename); + continue; + } + + while (cupsFileGets(fp, line, sizeof(line))) + { + /* + * Skip blank and comment lines... + */ + + if (line[0] == '#' || !line[0]) + continue; + + /* + * Add a quirk... + */ + + if ((quirk = calloc(1, sizeof(usb_quirk_t))) == NULL) + { + perror("DEBUG: Unable to allocate memory for quirk"); + break; + } + + if (sscanf(line, "%x%x", &quirk->vendor_id, &quirk->product_id) < 1) + { + fprintf(stderr, "DEBUG: Bad line: %s\n", line); + free(quirk); + continue; + } + + if (strstr(line, " blacklist")) + quirk->quirks |= USB_QUIRK_BLACKLIST; + + if (strstr(line, " delay-close")) + quirk->quirks |= USB_QUIRK_DELAY_CLOSE; + + if (strstr(line, " no-reattach")) + quirk->quirks |= USB_QUIRK_NO_REATTACH; + + if (strstr(line, " soft-reset")) + quirk->quirks |= USB_QUIRK_SOFT_RESET; + + if (strstr(line, " unidir")) + quirk->quirks |= USB_QUIRK_UNIDIR; + + if (strstr(line, " usb-init")) + quirk->quirks |= USB_QUIRK_USB_INIT; + + if (strstr(line, " vendor-class")) + quirk->quirks |= USB_QUIRK_VENDOR_CLASS; + + cupsArrayAdd(all_quirks, quirk); + } + + cupsFileClose(fp); + } + + fprintf(stderr, "DEBUG: Loaded %d quirks.\n", cupsArrayCount(all_quirks)); + + cupsDirClose(dir); +} + + +/* + * 'make_device_uri()' - Create a device URI for a USB printer. + */ + +static char * /* O - Device URI */ +make_device_uri( + usb_printer_t *printer, /* I - Printer */ + const char *device_id, /* I - IEEE-1284 device ID */ + char *uri, /* I - Device URI buffer */ + size_t uri_size) /* I - Size of device URI buffer */ +{ + struct libusb_device_descriptor devdesc; + /* Current device descriptor */ + char options[1024]; /* Device URI options */ + int num_values; /* Number of 1284 parameters */ + cups_option_t *values; /* 1284 parameters */ + const char *mfg, /* Manufacturer */ + *mdl, /* Model */ + *des = NULL, /* Description */ + *sern; /* Serial number */ + size_t mfglen; /* Length of manufacturer string */ + char tempmfg[256], /* Temporary manufacturer string */ + tempsern[256], /* Temporary serial number string */ + *tempptr; /* Pointer into temp string */ + + + /* + * Get the make, model, and serial numbers... + */ + + num_values = _cupsGet1284Values(device_id, &values); + + if ((sern = cupsGetOption("SERIALNUMBER", num_values, values)) == NULL) + if ((sern = cupsGetOption("SERN", num_values, values)) == NULL) + if ((sern = cupsGetOption("SN", num_values, values)) == NULL && + ((libusb_get_device_descriptor(printer->device, &devdesc) >= 0) && + devdesc.iSerialNumber)) + { + /* + * Try getting the serial number from the device itself... + */ + + int length = + libusb_get_string_descriptor_ascii(printer->handle, + devdesc.iSerialNumber, + (unsigned char *)tempsern, + sizeof(tempsern) - 1); + if (length > 0) + { + tempsern[length] = '\0'; + sern = tempsern; + } + } + + if ((mfg = cupsGetOption("MANUFACTURER", num_values, values)) == NULL) + mfg = cupsGetOption("MFG", num_values, values); + + if ((mdl = cupsGetOption("MODEL", num_values, values)) == NULL) + mdl = cupsGetOption("MDL", num_values, values); + + /* + * To maintain compatibility with the original character device backend on + * Linux and *BSD, map manufacturer names... + */ + + if (mfg) + { + if (!_cups_strcasecmp(mfg, "Hewlett-Packard")) + mfg = "HP"; + else if (!_cups_strcasecmp(mfg, "Lexmark International")) + mfg = "Lexmark"; + } + else + { + /* + * No manufacturer? Use the model string or description... + */ + + if (mdl) + _ppdNormalizeMakeAndModel(mdl, tempmfg, sizeof(tempmfg)); + else if ((des = cupsGetOption("DESCRIPTION", num_values, values)) != NULL || + (des = cupsGetOption("DES", num_values, values)) != NULL) + _ppdNormalizeMakeAndModel(des, tempmfg, sizeof(tempmfg)); + else + strlcpy(tempmfg, "Unknown", sizeof(tempmfg)); + + if ((tempptr = strchr(tempmfg, ' ')) != NULL) + *tempptr = '\0'; + + mfg = tempmfg; + } + + if (!mdl) + { + /* + * No model? Use description... + */ + if (des) + mdl = des; /* We remove the manufacturer name below */ + else if (!strncasecmp(mfg, "Unknown", 7)) + mdl = "Printer"; + else + mdl = "Unknown Model"; + } + + mfglen = strlen(mfg); + + if (!strncasecmp(mdl, mfg, mfglen) && _cups_isspace(mdl[mfglen])) + { + mdl += mfglen + 1; + + while (_cups_isspace(*mdl)) + mdl ++; + } + + /* + * Generate the device URI from the manufacturer, model, serial number, + * and interface number... + */ + + if (sern) + { + if (printer->iface > 0) + snprintf(options, sizeof(options), "?serial=%s&interface=%d", sern, + printer->iface); + else + snprintf(options, sizeof(options), "?serial=%s", sern); + } + else if (printer->iface > 0) + snprintf(options, sizeof(options), "?interface=%d", printer->iface); + else + options[0] = '\0'; + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, uri_size, "usb", NULL, mfg, 0, + "/%s%s", mdl, options); + + cupsFreeOptions(num_values, values); + + return (uri); +} + + +/* + * 'open_device()' - Open a connection to the USB printer. + */ + +static int /* O - 0 on success, -1 on error */ +open_device(usb_printer_t *printer, /* I - Printer */ + int verbose) /* I - Update connecting-to-device state? */ +{ + struct libusb_device_descriptor devdesc; + /* Current device descriptor */ + struct libusb_config_descriptor *confptr = NULL; + /* Pointer to current configuration */ + int number1 = -1, /* Configuration/interface/altset */ + number2 = -1, /* numbers */ + errcode = 0; + char current; /* Current configuration */ + + + /* + * Return immediately if we are already connected... + */ + + if (printer->handle) + return (0); + + /* + * Try opening the printer... + */ + + if ((errcode = libusb_open(printer->device, &printer->handle)) < 0) + { + fprintf(stderr, "DEBUG: Failed to open device, code: %d\n", + errcode); + return (-1); + } + + printer->usblp_attached = 0; + printer->reset_after_job = 0; + + if (verbose) + fputs("STATE: +connecting-to-device\n", stderr); + + if ((errcode = libusb_get_device_descriptor(printer->device, &devdesc)) < 0) + { + fprintf(stderr, "DEBUG: Failed to get device descriptor, code: %d\n", + errcode); + goto error; + } + + /* + * Get the "usblp" kernel module out of the way. This backend only + * works without the module attached. + */ + + errcode = libusb_kernel_driver_active(printer->handle, printer->iface); + if (errcode == 0) + printer->usblp_attached = 0; + else if (errcode == 1) + { + printer->usblp_attached = 1; + if ((errcode = + libusb_detach_kernel_driver(printer->handle, printer->iface)) < 0) + { + fprintf(stderr, "DEBUG: Failed to detach \"usblp\" module from %04x:%04x\n", + devdesc.idVendor, devdesc.idProduct); + goto error; + } + } + else + { + printer->usblp_attached = 0; + + if (errcode != LIBUSB_ERROR_NOT_SUPPORTED) + { + fprintf(stderr, + "DEBUG: Failed to check whether %04x:%04x has the \"usblp\" " + "kernel module attached\n", devdesc.idVendor, devdesc.idProduct); + goto error; + } + } + + /* + * Set the desired configuration, but only if it needs changing. Some + * printers (e.g., Samsung) don't like libusb_set_configuration. It will + * succeed, but the following print job is sometimes silently lost by the + * printer. + */ + + if (libusb_control_transfer(printer->handle, + LIBUSB_REQUEST_TYPE_STANDARD | LIBUSB_ENDPOINT_IN | + LIBUSB_RECIPIENT_DEVICE, + 8, /* GET_CONFIGURATION */ + 0, 0, (unsigned char *)¤t, 1, 5000) < 0) + current = 0; /* Assume not configured */ + + printer->origconf = current; + + if ((errcode = + libusb_get_config_descriptor (printer->device, printer->conf, &confptr)) + < 0) + { + fprintf(stderr, "DEBUG: Failed to get config descriptor for %04x:%04x\n", + devdesc.idVendor, devdesc.idProduct); + goto error; + } + number1 = confptr->bConfigurationValue; + + if (number1 != current) + { + fprintf(stderr, "DEBUG: Switching USB device configuration: %d -> %d\n", + current, number1); + if ((errcode = libusb_set_configuration(printer->handle, number1)) < 0) + { + /* + * If the set fails, chances are that the printer only supports a + * single configuration. Technically these printers don't conform to + * the USB printer specification, but otherwise they'll work... + */ + + if (errcode != LIBUSB_ERROR_BUSY) + fprintf(stderr, "DEBUG: Failed to set configuration %d for %04x:%04x\n", + number1, devdesc.idVendor, devdesc.idProduct); + } + } + + /* + * Claim interfaces as needed... + */ + + number1 = confptr->interface[printer->iface]. + altsetting[printer->altset].bInterfaceNumber; + + while ((errcode = libusb_claim_interface(printer->handle, number1)) < 0) + { + if (errcode != LIBUSB_ERROR_BUSY) + { + fprintf(stderr, + "DEBUG: Failed to claim interface %d for %04x:%04x: %s\n", + number1, devdesc.idVendor, devdesc.idProduct, strerror(errno)); + + goto error; + } + else if ((errcode = libusb_detach_kernel_driver(printer->handle, printer->iface)) < 0) + { + fprintf(stderr, + "DEBUG: Failed to detach \"usblp\" module from %04x:%04x\n", + devdesc.idVendor, devdesc.idProduct); + + goto error; + } + + sleep (1); + } + + /* + * Set alternate setting, but only if there is more than one option. Some + * printers (e.g., Samsung) don't like usb_set_altinterface. + */ + + if (confptr->interface[printer->iface].num_altsetting > 1) + { + number1 = confptr->interface[printer->iface]. + altsetting[printer->altset].bInterfaceNumber; + number2 = confptr->interface[printer->iface]. + altsetting[printer->altset].bAlternateSetting; + + while ((errcode = + libusb_set_interface_alt_setting(printer->handle, number1, number2)) + < 0) + { + if (errcode != LIBUSB_ERROR_BUSY) + { + fprintf(stderr, + "DEBUG: Failed to set alternate interface %d for %04x:%04x: " + "%s\n", + number2, devdesc.idVendor, devdesc.idProduct, strerror(errno)); + + goto error; + } + } + } + + libusb_free_config_descriptor(confptr); + + if (verbose) + fputs("STATE: -connecting-to-device\n", stderr); + + return (0); + + /* + * If we get here, there was a hard error... + */ + + error: + + if (verbose) + fputs("STATE: -connecting-to-device\n", stderr); + + libusb_close(printer->handle); + printer->handle = NULL; + + return (-1); +} + + +/* + * 'print_cb()' - Find a USB printer for printing. + */ + +static int /* O - 0 to continue, 1 to stop (found) */ +print_cb(usb_printer_t *printer, /* I - Printer */ + const char *device_uri, /* I - Device URI */ + const char *device_id, /* I - IEEE-1284 device ID */ + const void *data) /* I - User data (make, model, S/N) */ +{ + char requested_uri[1024], /* Requested URI */ + *requested_ptr, /* Pointer into requested URI */ + detected_uri[1024], /* Detected URI */ + *detected_ptr; /* Pointer into detected URI */ + + + /* + * If we have an exact match, stop now... + */ + + if (!strcmp((char *)data, device_uri)) + return (1); + + /* + * Work on copies of the URIs... + */ + + strlcpy(requested_uri, (char *)data, sizeof(requested_uri)); + strlcpy(detected_uri, device_uri, sizeof(detected_uri)); + + /* + * libusb-discovered URIs can have an "interface" specification and this + * never happens for usblp-discovered URIs, so remove the "interface" + * specification from the URI which we are checking currently. This way a + * queue for a usblp-discovered printer can now be accessed via libusb. + * + * Similarly, strip "?serial=NNN...NNN" as needed. + */ + + if ((requested_ptr = strstr(requested_uri, "?interface=")) == NULL) + requested_ptr = strstr(requested_uri, "&interface="); + if ((detected_ptr = strstr(detected_uri, "?interface=")) == NULL) + detected_ptr = strstr(detected_uri, "&interface="); + + if (!requested_ptr && detected_ptr) + { + /* + * Strip "[?&]interface=nnn" from the detected printer. + */ + + *detected_ptr = '\0'; + } + else if (requested_ptr && !detected_ptr) + { + /* + * Strip "[?&]interface=nnn" from the requested printer. + */ + + *requested_ptr = '\0'; + } + + if ((requested_ptr = strstr(requested_uri, "?serial=?")) != NULL) + { + /* + * Strip "?serial=?" from the requested printer. This is a special + * case, as "?serial=?" means no serial number and not the serial + * number '?'. This is not covered by the checks below... + */ + + *requested_ptr = '\0'; + } + + if ((requested_ptr = strstr(requested_uri, "?serial=")) == NULL && + (detected_ptr = strstr(detected_uri, "?serial=")) != NULL) + { + /* + * Strip "?serial=nnn" from the detected printer. + */ + + *detected_ptr = '\0'; + } + else if (requested_ptr && !detected_ptr) + { + /* + * Strip "?serial=nnn" from the requested printer. + */ + + *requested_ptr = '\0'; + } + + return (!strcmp(requested_uri, detected_uri)); +} + + +/* + * 'read_thread()' - Thread to read the backchannel data on. + */ + +static void *read_thread(void *reference) +{ + unsigned char readbuffer[512]; + int rbytes; + int readstatus; + struct timeval now, + delay, + end, + timeleft; + + + (void)reference; + + /* + * Read frequency: once every 250 milliseconds. + */ + + delay.tv_sec = 0; + delay.tv_usec = 250000; + + do + { + /* + * Remember when we started so we can throttle the loop after the read + * call... + */ + + gettimeofday(&now, NULL); + + /* + * Calculate what 250 milliSeconds are in absolute time... + */ + + timeradd(&now, &delay, &end); + + rbytes = sizeof(readbuffer); + readstatus = libusb_bulk_transfer(g.printer->handle, + g.printer->read_endp, + readbuffer, rbytes, + &rbytes, 60000); + if (readstatus == LIBUSB_SUCCESS && rbytes > 0) + { + fprintf(stderr, "DEBUG: Read %d bytes of back-channel data...\n", + (int)rbytes); + cupsBackChannelWrite((const char *)readbuffer, (size_t)rbytes, 1.0); + } + else if (readstatus == LIBUSB_ERROR_TIMEOUT) + fputs("DEBUG: Got USB transaction timeout during read.\n", stderr); + else if (readstatus == LIBUSB_ERROR_PIPE) + fputs("DEBUG: Got USB pipe stalled during read.\n", stderr); + else if (readstatus == LIBUSB_ERROR_INTERRUPTED) + fputs("DEBUG: Got USB return aborted during read.\n", stderr); + + /* + * Make sure this loop executes no more than once every 250 miliseconds... + */ + + if ((g.wait_eof || !g.read_thread_stop)) + { + gettimeofday(&now, NULL); + if (timercmp(&now, &end, <)) + { + timersub(&end, &now, &timeleft); + usleep(1000000 * timeleft.tv_sec + timeleft.tv_usec); + } + } + } while (g.wait_eof || !g.read_thread_stop); + + /* + * Let the main thread know that we have completed the read thread... + */ + + pthread_mutex_lock(&g.read_thread_mutex); + g.read_thread_done = 1; + pthread_cond_signal(&g.read_thread_cond); + pthread_mutex_unlock(&g.read_thread_mutex); + + return (NULL); +} + + +/* + * 'sidechannel_thread()' - Handle side-channel requests. + */ + +static void* +sidechannel_thread(void *reference) +{ + cups_sc_command_t command; /* Request command */ + cups_sc_status_t status; /* Request/response status */ + char data[2048]; /* Request/response data */ + int datalen; /* Request/response data size */ + + + (void)reference; + + do + { + datalen = sizeof(data); + + if (cupsSideChannelRead(&command, &status, data, &datalen, 1.0)) + { + if (status == CUPS_SC_STATUS_TIMEOUT) + continue; + else + break; + } + + switch (command) + { + case CUPS_SC_CMD_SOFT_RESET: /* Do a soft reset */ + fputs("DEBUG: CUPS_SC_CMD_SOFT_RESET received from driver...\n", + stderr); + + soft_reset(); + cupsSideChannelWrite(command, CUPS_SC_STATUS_OK, NULL, 0, 1.0); + fputs("DEBUG: Returning status CUPS_STATUS_OK with no bytes...\n", + stderr); + break; + + case CUPS_SC_CMD_DRAIN_OUTPUT: /* Drain all pending output */ + fputs("DEBUG: CUPS_SC_CMD_DRAIN_OUTPUT received from driver...\n", + stderr); + + g.drain_output = 1; + break; + + case CUPS_SC_CMD_GET_BIDI: /* Is the connection bidirectional? */ + fputs("DEBUG: CUPS_SC_CMD_GET_BIDI received from driver...\n", + stderr); + + data[0] = (g.printer->protocol >= 2 ? 1 : 0); + cupsSideChannelWrite(command, CUPS_SC_STATUS_OK, data, 1, 1.0); + + fprintf(stderr, + "DEBUG: Returned CUPS_SC_STATUS_OK with 1 byte (%02X)...\n", + data[0]); + break; + + case CUPS_SC_CMD_GET_DEVICE_ID: /* Return IEEE-1284 device ID */ + fputs("DEBUG: CUPS_SC_CMD_GET_DEVICE_ID received from driver...\n", + stderr); + + datalen = sizeof(data); + if (get_device_id(g.printer, data, sizeof(data))) + { + status = CUPS_SC_STATUS_IO_ERROR; + datalen = 0; + } + else + { + status = CUPS_SC_STATUS_OK; + datalen = strlen(data); + } + cupsSideChannelWrite(command, CUPS_SC_STATUS_OK, data, datalen, 1.0); + + if (datalen < sizeof(data)) + data[datalen] = '\0'; + else + data[sizeof(data) - 1] = '\0'; + + fprintf(stderr, + "DEBUG: Returning CUPS_SC_STATUS_OK with %d bytes (%s)...\n", + datalen, data); + break; + + case CUPS_SC_CMD_GET_STATE: /* Return device state */ + fputs("DEBUG: CUPS_SC_CMD_GET_STATE received from driver...\n", + stderr); + + data[0] = CUPS_SC_STATE_ONLINE; + cupsSideChannelWrite(command, CUPS_SC_STATUS_OK, data, 1, 1.0); + + fprintf(stderr, + "DEBUG: Returned CUPS_SC_STATUS_OK with 1 byte (%02X)...\n", + data[0]); + break; + + case CUPS_SC_CMD_GET_CONNECTED: /* Return whether device is + connected */ + fputs("DEBUG: CUPS_SC_CMD_GET_CONNECTED received from driver...\n", + stderr); + + data[0] = (g.printer->handle ? 1 : 0); + cupsSideChannelWrite(command, CUPS_SC_STATUS_OK, data, 1, 1.0); + + fprintf(stderr, + "DEBUG: Returned CUPS_SC_STATUS_OK with 1 byte (%02X)...\n", + data[0]); + break; + + default: + fprintf(stderr, "DEBUG: Unknown side-channel command (%d) received " + "from driver...\n", command); + + cupsSideChannelWrite(command, CUPS_SC_STATUS_NOT_IMPLEMENTED, + NULL, 0, 1.0); + + fputs("DEBUG: Returned CUPS_SC_STATUS_NOT_IMPLEMENTED with no bytes...\n", + stderr); + break; + } + } + while (!g.sidechannel_thread_stop); + + pthread_mutex_lock(&g.sidechannel_thread_mutex); + g.sidechannel_thread_done = 1; + pthread_cond_signal(&g.sidechannel_thread_cond); + pthread_mutex_unlock(&g.sidechannel_thread_mutex); + + return (NULL); +} + + +/* + * 'soft_reset()' - Send a soft reset to the device. + */ + +static void +soft_reset(void) +{ + fd_set input_set; /* Input set for select() */ + struct timeval tv; /* Time value */ + char buffer[2048]; /* Buffer */ + struct timespec cond_timeout; /* pthread condition timeout */ + + + /* + * Send an abort once a second until the I/O lock is released by the main + * thread... + */ + + pthread_mutex_lock(&g.readwrite_lock_mutex); + while (g.readwrite_lock) + { + gettimeofday(&tv, NULL); + cond_timeout.tv_sec = tv.tv_sec + 1; + cond_timeout.tv_nsec = tv.tv_usec * 1000; + + while (g.readwrite_lock) + { + if (pthread_cond_timedwait(&g.readwrite_lock_cond, + &g.readwrite_lock_mutex, + &cond_timeout) != 0) + break; + } + } + + g.readwrite_lock = 1; + pthread_mutex_unlock(&g.readwrite_lock_mutex); + + /* + * Flush bytes waiting on print_fd... + */ + + g.print_bytes = 0; + + FD_ZERO(&input_set); + FD_SET(g.print_fd, &input_set); + + tv.tv_sec = 0; + tv.tv_usec = 0; + + while (select(g.print_fd+1, &input_set, NULL, NULL, &tv) > 0) + if (read(g.print_fd, buffer, sizeof(buffer)) <= 0) + break; + + /* + * Send the reset... + */ + + soft_reset_printer(g.printer); + + /* + * Release the I/O lock... + */ + + pthread_mutex_lock(&g.readwrite_lock_mutex); + g.readwrite_lock = 0; + pthread_cond_signal(&g.readwrite_lock_cond); + pthread_mutex_unlock(&g.readwrite_lock_mutex); +} + + +/* + * 'soft_reset_printer()' - Do the soft reset request specific to printers + * + * This soft reset is specific to the printer device class and is much less + * invasive than the general USB reset libusb_reset_device(). Especially it + * does never happen that the USB addressing and configuration changes. What + * is actually done is that all buffers get flushed and the bulk IN and OUT + * pipes get reset to their default states. This clears all stall conditions. + * See http://cholla.mmto.org/computers/linux/usb/usbprint11.pdf + */ + +static int /* O - 0 on success, < 0 on error */ +soft_reset_printer( + usb_printer_t *printer) /* I - Printer */ +{ + struct libusb_config_descriptor *confptr = NULL; + /* Pointer to current configuration */ + int interface, /* Interface to reset */ + errcode; /* Error code */ + + + if (libusb_get_config_descriptor(printer->device, printer->conf, + &confptr) < 0) + interface = printer->iface; + else + interface = confptr->interface[printer->iface]. + altsetting[printer->altset].bInterfaceNumber; + + libusb_free_config_descriptor(confptr); + + if ((errcode = libusb_control_transfer(printer->handle, + LIBUSB_REQUEST_TYPE_CLASS | + LIBUSB_ENDPOINT_OUT | + LIBUSB_RECIPIENT_OTHER, + 2, 0, interface, NULL, 0, 5000)) < 0) + errcode = libusb_control_transfer(printer->handle, + LIBUSB_REQUEST_TYPE_CLASS | + LIBUSB_ENDPOINT_OUT | + LIBUSB_RECIPIENT_INTERFACE, + 2, 0, interface, NULL, 0, 5000); + + return (errcode); +} diff --git a/backend/usb-unix.c b/backend/usb-unix.c new file mode 100644 index 0000000..81e20c5 --- /dev/null +++ b/backend/usb-unix.c @@ -0,0 +1,595 @@ +/* + * USB port backend for CUPS. + * + * This file is included from "usb.c" when compiled on UNIX/Linux. + * + * Copyright © 2007-2013 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include + + +/* + * Local functions... + */ + +static int open_device(const char *uri, int *use_bc); +static int side_cb(int print_fd, int device_fd, int snmp_fd, + http_addr_t *addr, int use_bc); + + +/* + * 'print_device()' - Print a file to a USB device. + */ + +int /* O - Exit status */ +print_device(const char *uri, /* I - Device URI */ + const char *hostname, /* I - Hostname/manufacturer */ + const char *resource, /* I - Resource/modelname */ + char *options, /* I - Device options/serial number */ + int print_fd, /* I - File descriptor to print */ + int copies, /* I - Copies to print */ + int argc, /* I - Number of command-line arguments (6 or 7) */ + char *argv[]) /* I - Command-line arguments */ +{ + int use_bc; /* Use backchannel path? */ + int device_fd; /* USB device */ + ssize_t tbytes; /* Total number of bytes written */ + struct termios opts; /* Parallel port options */ + + + (void)argc; + (void)argv; + + /* + * Open the USB port device... + */ + + fputs("STATE: +connecting-to-device\n", stderr); + + do + { +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) + /* + * *BSD's ulpt driver currently does not support the + * back-channel, incorrectly returns data ready on a select(), + * and locks up on read()... + */ + + use_bc = 0; + +#elif defined(__sun) + /* + * CUPS STR #3028: Solaris' usbprn driver apparently does not support + * select() or poll(), so we can't support backchannel... + */ + + use_bc = 0; + +#else + /* + * Disable backchannel data when printing to Brother, Canon, or + * Minolta USB printers - apparently these printers will return + * the IEEE-1284 device ID over and over and over when they get + * a read request... + */ + + use_bc = _cups_strcasecmp(hostname, "Brother") && + _cups_strcasecmp(hostname, "Canon") && + _cups_strncasecmp(hostname, "Konica", 6) && + _cups_strncasecmp(hostname, "Minolta", 7); +#endif /* __FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__ */ + + if ((device_fd = open_device(uri, &use_bc)) == -1) + { + if (getenv("CLASS") != NULL) + { + /* + * If the CLASS environment variable is set, the job was submitted + * to a class and not to a specific queue. In this case, we want + * to abort immediately so that the job can be requeued on the next + * available printer in the class. + */ + + _cupsLangPrintFilter(stderr, "INFO", + _("Unable to contact printer, queuing on next " + "printer in class.")); + + /* + * Sleep 5 seconds to keep the job from requeuing too rapidly... + */ + + sleep(5); + + return (CUPS_BACKEND_FAILED); + } + + if (errno == EBUSY) + { + _cupsLangPrintFilter(stderr, "INFO", _("The printer is in use.")); + sleep(10); + } + else if (errno == ENXIO || errno == EIO || errno == ENOENT || + errno == ENODEV) + { + sleep(30); + } + else + { + _cupsLangPrintError("ERROR", _("Unable to open device file")); + return (CUPS_BACKEND_FAILED); + } + } + } + while (device_fd < 0); + + fputs("STATE: -connecting-to-device\n", stderr); + + /* + * Set any options provided... + */ + + tcgetattr(device_fd, &opts); + + opts.c_lflag &= ~(unsigned)(ICANON | ECHO | ISIG); /* Raw mode */ + + /**** No options supported yet ****/ + + tcsetattr(device_fd, TCSANOW, &opts); + + /* + * Finally, send the print file... + */ + + tbytes = 0; + + while (copies > 0 && tbytes >= 0) + { + copies --; + + if (print_fd != 0) + { + fputs("PAGE: 1 1\n", stderr); + lseek(print_fd, 0, SEEK_SET); + } + +#ifdef __sun + /* + * CUPS STR #3028: Solaris' usbprn driver apparently does not support + * select() or poll(), so we can't support the sidechannel either... + */ + + tbytes = backendRunLoop(print_fd, device_fd, -1, NULL, use_bc, 1, NULL); + +#else + tbytes = backendRunLoop(print_fd, device_fd, -1, NULL, use_bc, 1, side_cb); +#endif /* __sun */ + + if (print_fd != 0 && tbytes >= 0) + _cupsLangPrintFilter(stderr, "INFO", _("Print file sent.")); + } + + /* + * Close the USB port and return... + */ + + close(device_fd); + + return (CUPS_BACKEND_OK); +} + + +/* + * 'list_devices()' - List all USB devices. + */ + +void +list_devices(void) +{ +#ifdef __linux + int i; /* Looping var */ + int fd; /* File descriptor */ + char device[255], /* Device filename */ + device_id[1024], /* Device ID string */ + device_uri[1024], /* Device URI string */ + make_model[1024]; /* Make and model */ + + + /* + * Try to open each USB device... + */ + + for (i = 0; i < 16; i ++) + { + /* + * Linux has a long history of changing the standard filenames used + * for USB printer devices. We get the honor of trying them all... + */ + + sprintf(device, "/dev/usblp%d", i); + + if ((fd = open(device, O_RDWR | O_EXCL)) < 0) + { + if (errno != ENOENT) + continue; + + sprintf(device, "/dev/usb/lp%d", i); + + if ((fd = open(device, O_RDWR | O_EXCL)) < 0) + { + if (errno != ENOENT) + continue; + + sprintf(device, "/dev/usb/usblp%d", i); + + if ((fd = open(device, O_RDWR | O_EXCL)) < 0) + continue; + } + } + + if (!backendGetDeviceID(fd, device_id, sizeof(device_id), + make_model, sizeof(make_model), + "usb", device_uri, sizeof(device_uri))) + cupsBackendReport("direct", device_uri, make_model, make_model, + device_id, NULL); + + close(fd); + } +#elif defined(__sun) && defined(ECPPIOC_GETDEVID) + int i; /* Looping var */ + int fd; /* File descriptor */ + char device[255], /* Device filename */ + device_id[1024], /* Device ID string */ + device_uri[1024], /* Device URI string */ + make_model[1024]; /* Make and model */ + + + /* + * Open each USB device... + */ + + for (i = 0; i < 8; i ++) + { + sprintf(device, "/dev/usb/printer%d", i); + + if ((fd = open(device, O_WRONLY | O_EXCL)) >= 0) + { + if (!backendGetDeviceID(fd, device_id, sizeof(device_id), + make_model, sizeof(make_model), + "usb", device_uri, sizeof(device_uri))) + cupsBackendReport("direct", device_uri, make_model, make_model, + device_id, NULL); + + close(fd); + } + } +#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) + int i; /* Looping var */ + char device[255]; /* Device filename */ + + + for (i = 0; i < 8; i ++) + { + sprintf(device, "/dev/ulpt%d", i); + if (!access(device, 0)) + printf("direct usb:%s \"Unknown\" \"USB Printer #%d\"\n", device, i + 1); + + sprintf(device, "/dev/unlpt%d", i); + if (!access(device, 0)) + printf("direct usb:%s \"Unknown\" \"USB Printer #%d (no reset)\"\n", device, i + 1); + } +#endif +} + + +/* + * 'open_device()' - Open a USB device... + */ + +static int /* O - File descriptor or -1 on error */ +open_device(const char *uri, /* I - Device URI */ + int *use_bc) /* O - Set to 0 for unidirectional */ +{ + int fd; /* File descriptor */ + + + /* + * The generic implementation just treats the URI as a device filename... + * Specific operating systems may also support using the device serial + * number and/or make/model. + */ + + if (!strncmp(uri, "usb:/dev/", 9)) +#ifdef __linux + { + /* + * Do not allow direct devices anymore... + */ + + errno = ENODEV; + return (-1); + } + else if (!strncmp(uri, "usb://", 6)) + { + /* + * For Linux, try looking up the device serial number or model... + */ + + int i; /* Looping var */ + int busy; /* Are any ports busy? */ + char device[255], /* Device filename */ + device_id[1024], /* Device ID string */ + make_model[1024], /* Make and model */ + device_uri[1024]; /* Device URI string */ + + + /* + * Find the correct USB device... + */ + + for (;;) + { + for (busy = 0, i = 0; i < 16; i ++) + { + /* + * Linux has a long history of changing the standard filenames used + * for USB printer devices. We get the honor of trying them all... + */ + + sprintf(device, "/dev/usblp%d", i); + + if ((fd = open(device, O_RDWR | O_EXCL)) < 0 && errno == ENOENT) + { + sprintf(device, "/dev/usb/lp%d", i); + + if ((fd = open(device, O_RDWR | O_EXCL)) < 0 && errno == ENOENT) + { + sprintf(device, "/dev/usb/usblp%d", i); + + if ((fd = open(device, O_RDWR | O_EXCL)) < 0 && errno == ENOENT) + continue; + } + } + + if (fd >= 0) + { + backendGetDeviceID(fd, device_id, sizeof(device_id), + make_model, sizeof(make_model), + "usb", device_uri, sizeof(device_uri)); + } + else + { + /* + * If the open failed because it was busy, flag it so we retry + * as needed... + */ + + if (errno == EBUSY) + busy = 1; + + device_uri[0] = '\0'; + } + + if (!strcmp(uri, device_uri)) + { + /* + * Yes, return this file descriptor... + */ + + fprintf(stderr, "DEBUG: Printer using device file \"%s\"...\n", + device); + + return (fd); + } + + /* + * This wasn't the one... + */ + + if (fd >= 0) + close(fd); + } + + /* + * If we get here and at least one of the printer ports showed up + * as "busy", then sleep for a bit and retry... + */ + + if (busy) + _cupsLangPrintFilter(stderr, "INFO", _("The printer is in use.")); + + sleep(5); + } + } +#elif defined(__sun) && defined(ECPPIOC_GETDEVID) + { + /* + * Do not allow direct devices anymore... + */ + + errno = ENODEV; + return (-1); + } + else if (!strncmp(uri, "usb://", 6)) + { + /* + * For Solaris, try looking up the device serial number or model... + */ + + int i; /* Looping var */ + int busy; /* Are any ports busy? */ + char device[255], /* Device filename */ + device_id[1024], /* Device ID string */ + make_model[1024], /* Make and model */ + device_uri[1024]; /* Device URI string */ + + + /* + * Find the correct USB device... + */ + + do + { + for (i = 0, busy = 0; i < 8; i ++) + { + sprintf(device, "/dev/usb/printer%d", i); + + if ((fd = open(device, O_WRONLY | O_EXCL)) >= 0) + backendGetDeviceID(fd, device_id, sizeof(device_id), + make_model, sizeof(make_model), + "usb", device_uri, sizeof(device_uri)); + else + { + /* + * If the open failed because it was busy, flag it so we retry + * as needed... + */ + + if (errno == EBUSY) + busy = 1; + + device_uri[0] = '\0'; + } + + if (!strcmp(uri, device_uri)) + { + /* + * Yes, return this file descriptor... + */ + + fputs("DEBUG: Setting use_bc to 0!\n", stderr); + + *use_bc = 0; + + return (fd); + } + + /* + * This wasn't the one... + */ + + if (fd >= 0) + close(fd); + } + + /* + * If we get here and at least one of the printer ports showed up + * as "busy", then sleep for a bit and retry... + */ + + if (busy) + { + _cupsLangPrintFilter(stderr, "INFO", _("The printer is in use.")); + sleep(5); + } + } + while (busy); + + /* + * Couldn't find the printer, return "no such device or address"... + */ + + errno = ENODEV; + + return (-1); + } +#else + { + if (*use_bc) + fd = open(uri + 4, O_RDWR | O_EXCL); + else + fd = -1; + + if (fd < 0) + { + fd = open(uri + 4, O_WRONLY | O_EXCL); + *use_bc = 0; + } + + return (fd); + } +#endif /* __linux */ + else + { + errno = ENODEV; + return (-1); + } +} + + +/* + * 'side_cb()' - Handle side-channel requests... + */ + +static int /* O - 0 on success, -1 on error */ +side_cb(int print_fd, /* I - Print file */ + int device_fd, /* I - Device file */ + int snmp_fd, /* I - SNMP socket (unused) */ + http_addr_t *addr, /* I - Device address (unused) */ + int use_bc) /* I - Using back-channel? */ +{ + cups_sc_command_t command; /* Request command */ + cups_sc_status_t status; /* Request/response status */ + char data[2048]; /* Request/response data */ + int datalen; /* Request/response data size */ + + + (void)snmp_fd; + (void)addr; + + datalen = sizeof(data); + + if (cupsSideChannelRead(&command, &status, data, &datalen, 1.0)) + return (-1); + + switch (command) + { + case CUPS_SC_CMD_DRAIN_OUTPUT : + if (backendDrainOutput(print_fd, device_fd)) + status = CUPS_SC_STATUS_IO_ERROR; + else if (tcdrain(device_fd)) + status = CUPS_SC_STATUS_IO_ERROR; + else + status = CUPS_SC_STATUS_OK; + + datalen = 0; + break; + + case CUPS_SC_CMD_GET_BIDI : + status = CUPS_SC_STATUS_OK; + data[0] = use_bc; + datalen = 1; + break; + + case CUPS_SC_CMD_GET_DEVICE_ID : + memset(data, 0, sizeof(data)); + + if (backendGetDeviceID(device_fd, data, sizeof(data) - 1, + NULL, 0, NULL, NULL, 0)) + { + status = CUPS_SC_STATUS_NOT_IMPLEMENTED; + datalen = 0; + } + else + { + status = CUPS_SC_STATUS_OK; + datalen = strlen(data); + } + break; + + default : + status = CUPS_SC_STATUS_NOT_IMPLEMENTED; + datalen = 0; + break; + } + + return (cupsSideChannelWrite(command, status, data, datalen, 1.0)); +} diff --git a/backend/usb.c b/backend/usb.c new file mode 100644 index 0000000..e1b2c03 --- /dev/null +++ b/backend/usb.c @@ -0,0 +1,246 @@ +/* + * USB printer backend for CUPS. + * + * Copyright © 2007-2012 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#ifdef __APPLE__ + /* A header order dependency requires this be first */ +# include +#endif /* __APPLE__ */ + +#include "backend-private.h" + +#ifdef _WIN32 +# include +#else +# include +# include +# include +#endif /* _WIN32 */ + + +/* + * Local functions... + */ + +void list_devices(void); +int print_device(const char *uri, const char *hostname, + const char *resource, char *options, + int print_fd, int copies, int argc, char *argv[]); + + +/* + * Include the vendor-specific USB implementation... + */ + +#ifdef HAVE_LIBUSB +# include "usb-libusb.c" +#elif defined(__APPLE__) +# include "usb-darwin.c" +#elif defined(__linux) || defined(__sun) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) +# include "usb-unix.c" +#else +/* + * Use dummy functions that do nothing on unsupported platforms... + * These can be used as templates for implementing USB printing on new + * platforms... + */ + +/* + * 'list_devices()' - List all available USB devices to stdout. + */ + +void +list_devices(void) +{ + /* + * Don't have any devices to list... Use output of the form: + * + * direct usb:/make/model?serial=foo "Make Model" "USB Printer" + * + * Note that "Hewlett Packard" or any other variation MUST be mapped to + * "HP" for compatibility with the PPD and ICC specs. + */ +} + + +/* + * 'print_device()' - Print a file to a USB device. + */ + +int /* O - Exit status */ +print_device(const char *uri, /* I - Device URI */ + const char *hostname, /* I - Hostname/manufacturer */ + const char *resource, /* I - Resource/modelname */ + char *options, /* I - Device options/serial number */ + int print_fd, /* I - File descriptor to print */ + int copies, /* I - Copies to print */ + int argc, /* I - Number of command-line arguments (6 or 7) */ + char *argv[]) /* I - Command-line arguments */ +{ + /* + * Can't print, so just reference the arguments to eliminate compiler + * warnings and return and exit status of 1. Normally you would use the + * arguments to send a file to the printer and return 0 if everything + * worked OK and non-zero if there was an error. + */ + + (void)uri; + (void)hostname; + (void)resource; + (void)options; + (void)print_fd; + (void)copies; + (void)argc; + (void)argv; + + return (CUPS_BACKEND_FAILED); +} +#endif /* HAVE_LIBUSB */ + + +/* + * 'main()' - Send a file to the specified USB port. + * + * Usage: + * + * printer-uri job-id user title copies options [file] + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments (6 or 7) */ + char *argv[]) /* I - Command-line arguments */ +{ + int print_fd; /* Print file */ + int copies; /* Number of copies to print */ + int status; /* Exit status */ + int port; /* Port number (not used) */ + const char *uri; /* Device URI */ + char method[255], /* Method in URI */ + hostname[1024], /* Hostname */ + username[255], /* Username info (not used) */ + resource[1024], /* Resource info (device and options) */ + *options; /* Pointer to options */ +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* Actions for POSIX signals */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ + + + /* + * Make sure status messages are not buffered... + */ + + setbuf(stderr, NULL); + + /* + * Ignore SIGPIPE signals... + */ + +#ifdef HAVE_SIGSET + sigset(SIGPIPE, SIG_IGN); +#elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + action.sa_handler = SIG_IGN; + sigaction(SIGPIPE, &action, NULL); +#else + signal(SIGPIPE, SIG_IGN); +#endif /* HAVE_SIGSET */ + + /* + * Check command-line... + */ + + if (argc == 1) + { + list_devices(); + return (CUPS_BACKEND_OK); + } + else if (argc < 6 || argc > 7) + { + _cupsLangPrintf(stderr, + _("Usage: %s job-id user title copies options [file]"), + argv[0]); + return (CUPS_BACKEND_FAILED); + } + + /* + * Extract the device name and options from the URI... + */ + + uri = cupsBackendDeviceURI(argv); + + if (httpSeparateURI(HTTP_URI_CODING_ALL, uri, + method, sizeof(method), username, sizeof(username), + hostname, sizeof(hostname), &port, + resource, sizeof(resource)) < HTTP_URI_OK) + { + _cupsLangPrintFilter(stderr, "ERROR", + _("No device URI found in argv[0] or in DEVICE_URI " + "environment variable.")); + return (1); + } + + /* + * See if there are any options... + */ + + if ((options = strchr(resource, '?')) != NULL) + { + /* + * Yup, terminate the device name string and move to the first + * character of the options... + */ + + *options++ = '\0'; + } + + /* + * If we have 7 arguments, print the file named on the command-line. + * Otherwise, send stdin instead... + */ + + if (argc == 6) + { + print_fd = 0; + copies = 1; + } + else + { + /* + * Try to open the print file... + */ + + if ((print_fd = open(argv[6], O_RDONLY)) < 0) + { + _cupsLangPrintError("ERROR", _("Unable to open print file")); + return (CUPS_BACKEND_FAILED); + } + + copies = atoi(argv[4]); + } + + /* + * Finally, send the print file... + */ + + status = print_device(uri, hostname, resource, options, print_fd, copies, + argc, argv); + + /* + * Close the input file and return... + */ + + if (print_fd != 0) + close(print_fd); + + return (status); +} diff --git a/berkeley/Dependencies b/berkeley/Dependencies new file mode 100644 index 0000000..acb7bd1 --- /dev/null +++ b/berkeley/Dependencies @@ -0,0 +1,24 @@ +lpc.o: lpc.c ../cups/cups-private.h ../cups/string-private.h ../config.h \ + ../cups/versioning.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +lpq.o: lpq.c ../cups/cups-private.h ../cups/string-private.h ../config.h \ + ../cups/versioning.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +lpr.o: lpr.c ../cups/cups-private.h ../cups/string-private.h ../config.h \ + ../cups/versioning.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +lprm.o: lprm.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h diff --git a/berkeley/Makefile b/berkeley/Makefile new file mode 100644 index 0000000..9415b76 --- /dev/null +++ b/berkeley/Makefile @@ -0,0 +1,161 @@ +# +# Berkeley commands makefile for CUPS. +# +# Copyright 2007-2019 by Apple Inc. +# Copyright 1997-2006 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more information. +# + +include ../Makedefs + + +TARGETS = lpc lpq lpr lprm +OBJS = lpc.o lpq.o lpr.o lprm.o + + +# +# Make all targets... +# + +all: $(TARGETS) + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Clean all object files... +# + +clean: + $(RM) $(OBJS) $(TARGETS) + + +# +# Update dependencies (without system header dependencies...) +# + +depend: + $(CC) -MM $(ALL_CFLAGS) $(OBJS:.o=.c) >Dependencies + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + + +# +# Install programs... +# + +install-exec: + echo Installing Berkeley user printing commands in $(BINDIR)... + $(INSTALL_DIR) -m 755 $(BINDIR) + $(INSTALL_BIN) lpq $(BINDIR) + $(INSTALL_BIN) lpr $(BINDIR) + $(INSTALL_BIN) lprm $(BINDIR) + echo Installing Berkeley admin printing commands in $(BINDIR)... + $(INSTALL_DIR) -m 755 $(SBINDIR) + $(INSTALL_BIN) lpc $(SBINDIR) + if test "x$(SYMROOT)" != "x"; then \ + $(INSTALL_DIR) $(SYMROOT); \ + for file in $(TARGETS); do \ + cp $$file $(SYMROOT); \ + dsymutil $(SYMROOT)/$$file; \ + done \ + fi + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall all targets... +# + +uninstall: + $(RM) $(BINDIR)/lpq + $(RM) $(BINDIR)/lpr + $(RM) $(BINDIR)/lprm + $(RM) $(SBINDIR)/lpc + -$(RMDIR) $(SBINDIR) + -$(RMDIR) $(BINDIR) + + +# +# lpc +# + +lpc: lpc.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o lpc lpc.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# lpq +# + +lpq: lpq.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o lpq lpq.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# lpr +# + +lpr: lpr.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o lpr lpr.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# lprm +# + +lprm: lprm.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o lprm lprm.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Dependencies... +# + +include Dependencies diff --git a/berkeley/lpc.c b/berkeley/lpc.c new file mode 100644 index 0000000..7ab43ea --- /dev/null +++ b/berkeley/lpc.c @@ -0,0 +1,427 @@ +/* + * "lpc" command for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include + + +/* + * Local functions... + */ + +static int compare_strings(const char *, const char *, size_t); +static void do_command(http_t *, const char *, const char *); +static void show_help(const char *); +static void show_status(http_t *, const char *); + + +/* + * 'main()' - Parse options and commands. + */ + +int +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + http_t *http; /* Connection to server */ + char line[1024], /* Input line from user */ + *params; /* Pointer to parameters */ + + + _cupsSetLocale(argv); + + /* + * Connect to the scheduler... + */ + + http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption()); + + if (argc > 1) + { + /* + * Process a single command on the command-line... + */ + + do_command(http, argv[1], argv[2]); + } + else + { + /* + * Do the command prompt thing... + */ + + _cupsLangPuts(stdout, _("lpc> ")); /* TODO: Need no-newline version */ + while (fgets(line, sizeof(line), stdin) != NULL) + { + /* + * Strip trailing whitespace... + */ + + for (params = line + strlen(line) - 1; params >= line;) + if (!isspace(*params & 255)) + break; + else + *params-- = '\0'; + + /* + * Strip leading whitespace... + */ + + for (params = line; isspace(*params & 255); params ++); + + if (params > line) + _cups_strcpy(line, params); + + if (!line[0]) + { + /* + * Nothing left, just show a prompt... + */ + + _cupsLangPuts(stdout, _("lpc> ")); /* TODO: Need no newline version */ + continue; + } + + /* + * Find any options in the string... + */ + + for (params = line; *params != '\0'; params ++) + if (isspace(*params & 255)) + break; + + /* + * Remove whitespace between the command and parameters... + */ + + while (isspace(*params & 255)) + *params++ = '\0'; + + /* + * The "quit" and "exit" commands exit; otherwise, process as needed... + */ + + if (!compare_strings(line, "quit", 1) || + !compare_strings(line, "exit", 2)) + break; + + if (*params == '\0') + do_command(http, line, NULL); + else + do_command(http, line, params); + + /* + * Put another prompt out to the user... + */ + + _cupsLangPuts(stdout, _("lpc> ")); /* TODO: Need no newline version */ + } + } + + /* + * Close the connection to the server and return... + */ + + httpClose(http); + + return (0); +} + + +/* + * 'compare_strings()' - Compare two command-line strings. + */ + +static int /* O - -1 or 1 = no match, 0 = match */ +compare_strings(const char *s, /* I - Command-line string */ + const char *t, /* I - Option string */ + size_t tmin) /* I - Minimum number of unique chars in option */ +{ + size_t slen; /* Length of command-line string */ + + + slen = strlen(s); + if (slen < tmin) + return (-1); + else + return (strncmp(s, t, slen)); +} + + +/* + * 'do_command()' - Do an lpc command... + */ + +static void +do_command(http_t *http, /* I - HTTP connection to server */ + const char *command, /* I - Command string */ + const char *params) /* I - Parameters for command */ +{ + if (!compare_strings(command, "status", 4)) + show_status(http, params); + else if (!compare_strings(command, "help", 1) || !strcmp(command, "?")) + show_help(params); + else + _cupsLangPrintf(stdout, + _("%s is not implemented by the CUPS version of lpc."), + command); +} + + +/* + * 'show_help()' - Show help messages. + */ + +static void +show_help(const char *command) /* I - Command to describe or NULL */ +{ + if (!command) + { + _cupsLangPrintf(stdout, + _("Commands may be abbreviated. Commands are:\n" + "\n" + "exit help quit status ?")); + } + else if (!compare_strings(command, "help", 1) || !strcmp(command, "?")) + _cupsLangPrintf(stdout, _("help\t\tGet help on commands.")); + else if (!compare_strings(command, "status", 4)) + _cupsLangPrintf(stdout, _("status\t\tShow status of daemon and queue.")); + else + _cupsLangPrintf(stdout, _("?Invalid help command unknown.")); +} + + +/* + * 'show_status()' - Show printers. + */ + +static void +show_status(http_t *http, /* I - HTTP connection to server */ + const char *dests) /* I - Destinations */ +{ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr; /* Current attribute */ + char *printer, /* Printer name */ + *device, /* Device URI */ + *delimiter; /* Char search result */ + ipp_pstate_t pstate; /* Printer state */ + int accepting; /* Is printer accepting jobs? */ + int jobcount; /* Count of current jobs */ + const char *dptr, /* Pointer into destination list */ + *ptr; /* Pointer into printer name */ + int match; /* Non-zero if this job matches */ + static const char *requested[] = /* Requested attributes */ + { + "device-uri", + "printer-is-accepting-jobs", + "printer-name", + "printer-state", + "queued-job-count" + }; + + + if (http == NULL) + return; + + /* + * Build a CUPS_GET_PRINTERS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + */ + + request = ippNewRequest(CUPS_GET_PRINTERS); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", sizeof(requested) / sizeof(requested[0]), + NULL, requested); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + /* + * Loop through the printers returned in the list and display + * their status... + */ + + for (attr = response->attrs; attr != NULL; attr = attr->next) + { + /* + * Skip leading attributes until we hit a job... + */ + + while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) + attr = attr->next; + + if (attr == NULL) + break; + + /* + * Pull the needed attributes from this job... + */ + + printer = NULL; + device = "file:/dev/null"; + pstate = IPP_PRINTER_IDLE; + jobcount = 0; + accepting = 1; + + while (attr != NULL && attr->group_tag == IPP_TAG_PRINTER) + { + if (!strcmp(attr->name, "device-uri") && + attr->value_tag == IPP_TAG_URI) + device = attr->values[0].string.text; + else if (!strcmp(attr->name, "printer-is-accepting-jobs") && + attr->value_tag == IPP_TAG_BOOLEAN) + accepting = attr->values[0].boolean; + else if (!strcmp(attr->name, "printer-name") && + attr->value_tag == IPP_TAG_NAME) + printer = attr->values[0].string.text; + else if (!strcmp(attr->name, "printer-state") && + attr->value_tag == IPP_TAG_ENUM) + pstate = (ipp_pstate_t)attr->values[0].integer; + else if (!strcmp(attr->name, "queued-job-count") && + attr->value_tag == IPP_TAG_INTEGER) + jobcount = attr->values[0].integer; + + attr = attr->next; + } + + /* + * See if we have everything needed... + */ + + if (printer == NULL) + { + if (attr == NULL) + break; + else + continue; + } + + /* + * A single 'all' printer name is special, meaning all printers. + */ + + if (dests != NULL && !strcmp(dests, "all")) + dests = NULL; + + /* + * See if this is a printer we're interested in... + */ + + match = dests == NULL; + + if (dests != NULL) + { + for (dptr = dests; *dptr != '\0';) + { + /* + * Skip leading whitespace and commas... + */ + + while (isspace(*dptr & 255) || *dptr == ',') + dptr ++; + + if (*dptr == '\0') + break; + + /* + * Compare names... + */ + + for (ptr = printer; + *ptr != '\0' && *dptr != '\0' && *ptr == *dptr; + ptr ++, dptr ++) + /* do nothing */; + + if (*ptr == '\0' && (*dptr == '\0' || *dptr == ',' || + isspace(*dptr & 255))) + { + match = 1; + break; + } + + /* + * Skip trailing junk... + */ + + while (!isspace(*dptr & 255) && *dptr != '\0') + dptr ++; + while (isspace(*dptr & 255) || *dptr == ',') + dptr ++; + + if (*dptr == '\0') + break; + } + } + + /* + * Display the printer entry if needed... + */ + + if (match) + { + /* + * Display it... + */ + + printf("%s:\n", printer); + if (!strncmp(device, "file:", 5)) + _cupsLangPrintf(stdout, + _("\tprinter is on device \'%s\' speed -1"), + device + 5); + else + { + /* + * Just show the scheme... + */ + + if ((delimiter = strchr(device, ':')) != NULL ) + { + *delimiter = '\0'; + _cupsLangPrintf(stdout, + _("\tprinter is on device \'%s\' speed -1"), + device); + } + } + + if (accepting) + _cupsLangPuts(stdout, _("\tqueuing is enabled")); + else + _cupsLangPuts(stdout, _("\tqueuing is disabled")); + + if (pstate != IPP_PRINTER_STOPPED) + _cupsLangPuts(stdout, _("\tprinting is enabled")); + else + _cupsLangPuts(stdout, _("\tprinting is disabled")); + + if (jobcount == 0) + _cupsLangPuts(stdout, _("\tno entries")); + else + _cupsLangPrintf(stdout, _("\t%d entries"), jobcount); + + _cupsLangPuts(stdout, _("\tdaemon present")); + } + + if (attr == NULL) + break; + } + + ippDelete(response); + } +} diff --git a/berkeley/lpq.c b/berkeley/lpq.c new file mode 100644 index 0000000..9c4aa11 --- /dev/null +++ b/berkeley/lpq.c @@ -0,0 +1,651 @@ +/* + * "lpq" command for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include + + +/* + * Local functions... + */ + +static http_t *connect_server(const char *, http_t *); +static int show_jobs(const char *, http_t *, const char *, + const char *, const int, const int); +static void show_printer(const char *, http_t *, const char *); +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Parse options and commands. + */ + +int +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + http_t *http; /* Connection to server */ + const char *opt, /* Option pointer */ + *dest, /* Desired printer */ + *user, /* Desired user */ + *val; /* Environment variable name */ + char *instance; /* Printer instance */ + int id, /* Desired job ID */ + all, /* All printers */ + interval, /* Reporting interval */ + longstatus; /* Show file details */ + cups_dest_t *named_dest; /* Named destination */ + + + _cupsSetLocale(argv); + + /* + * Check for command-line options... + */ + + http = NULL; + dest = NULL; + user = NULL; + id = 0; + interval = 0; + longstatus = 0; + all = 0; + + for (i = 1; i < argc; i ++) + { + if (argv[i][0] == '+') + { + interval = atoi(argv[i] + 1); + } + else if (!strcmp(argv[i], "--help")) + usage(); + else if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'E' : /* Encrypt */ +#ifdef HAVE_SSL + cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); + + if (http) + httpEncryption(http, HTTP_ENCRYPT_REQUIRED); +#else + _cupsLangPrintf(stderr, _("%s: Sorry, no encryption support."), argv[0]); +#endif /* HAVE_SSL */ + break; + + case 'U' : /* Username */ + if (opt[1] != '\0') + { + cupsSetUser(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected username after \"-U\" option."), argv[0]); + return (1); + } + + cupsSetUser(argv[i]); + } + break; + + case 'P' : /* Printer */ + if (opt[1] != '\0') + { + dest = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + httpClose(http); + + usage(); + } + + dest = argv[i]; + } + + if ((instance = strchr(dest, '/')) != NULL) + *instance++ = '\0'; + + http = connect_server(argv[0], http); + + if ((named_dest = cupsGetNamedDest(http, dest, instance)) == NULL) + { + if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + _cupsLangPrintf(stderr, _("%s: Error - add '/version=1.1' to server name."), argv[0]); + else if (instance) + _cupsLangPrintf(stderr, _("%s: Error - unknown destination \"%s/%s\"."), argv[0], dest, instance); + else + _cupsLangPrintf(stderr, _("%s: Unknown destination \"%s\"."), argv[0], dest); + + return (1); + } + + cupsFreeDests(1, named_dest); + break; + + case 'a' : /* All printers */ + all = 1; + break; + + case 'h' : /* Connect to host */ + if (http) + { + httpClose(http); + http = NULL; + } + + if (opt[1] != '\0') + { + cupsSetServer(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected hostname after \"-h\" option."), argv[0]); + return (1); + } + else + cupsSetServer(argv[i]); + } + break; + + case 'l' : /* Long status */ + longstatus = 1; + break; + + default : + httpClose(http); + + usage(); + } + } + } + else if (isdigit(argv[i][0] & 255)) + { + id = atoi(argv[i]); + } + else + { + user = argv[i]; + } + } + + http = connect_server(argv[0], http); + + if (dest == NULL && !all) + { + if ((named_dest = cupsGetNamedDest(http, NULL, NULL)) == NULL) + { + if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server name."), + argv[0]); + return (1); + } + + val = NULL; + + if ((dest = getenv("LPDEST")) == NULL) + { + if ((dest = getenv("PRINTER")) != NULL) + { + if (!strcmp(dest, "lp")) + dest = NULL; + else + val = "PRINTER"; + } + } + else + val = "LPDEST"; + + if (dest && val) + _cupsLangPrintf(stderr, + _("%s: Error - %s environment variable names " + "non-existent destination \"%s\"."), argv[0], val, + dest); + else + _cupsLangPrintf(stderr, + _("%s: Error - no default destination available."), + argv[0]); + httpClose(http); + return (1); + } + + dest = named_dest->name; + } + + /* + * Show the status in a loop... + */ + + for (;;) + { + if (dest) + show_printer(argv[0], http, dest); + + i = show_jobs(argv[0], http, dest, user, id, longstatus); + + if (i && interval) + { + fflush(stdout); + sleep((unsigned)interval); + } + else + break; + } + + /* + * Close the connection to the server and return... + */ + + httpClose(http); + + return (0); +} + + +/* + * 'connect_server()' - Connect to the server as necessary... + */ + +static http_t * /* O - New HTTP connection */ +connect_server(const char *command, /* I - Command name */ + http_t *http) /* I - Current HTTP connection */ +{ + if (!http) + { + http = httpConnectEncrypt(cupsServer(), ippPort(), + cupsEncryption()); + + if (http == NULL) + { + _cupsLangPrintf(stderr, _("%s: Unable to connect to server."), command); + exit(1); + } + } + + return (http); +} + + +/* + * 'show_jobs()' - Show jobs. + */ + +static int /* O - Number of jobs in queue */ +show_jobs(const char *command, /* I - Command name */ + http_t *http, /* I - HTTP connection to server */ + const char *dest, /* I - Destination */ + const char *user, /* I - User */ + const int id, /* I - Job ID */ + const int longstatus) /* I - 1 if long report desired */ +{ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr; /* Current attribute */ + const char *jobdest, /* Pointer into job-printer-uri */ + *jobuser, /* Pointer to job-originating-user-name */ + *jobname; /* Pointer to job-name */ + ipp_jstate_t jobstate; /* job-state */ + int jobid, /* job-id */ + jobsize, /* job-k-octets */ + jobcount, /* Number of jobs */ + jobcopies, /* Number of copies */ + rank; /* Rank of job */ + char resource[1024]; /* Resource string */ + char rankstr[255]; /* Rank string */ + char namestr[1024]; /* Job name string */ + static const char * const jobattrs[] =/* Job attributes we want to see */ + { + "copies", + "job-id", + "job-k-octets", + "job-name", + "job-originating-user-name", + "job-printer-uri", + "job-priority", + "job-state" + }; + static const char * const ranks[10] = /* Ranking strings */ + { + "th", + "st", + "nd", + "rd", + "th", + "th", + "th", + "th", + "th", + "th" + }; + + + if (http == NULL) + return (0); + + /* + * Build an IPP_GET_JOBS or IPP_GET_JOB_ATTRIBUTES request, which requires + * the following attributes: + * + * attributes-charset + * attributes-natural-language + * job-uri or printer-uri + * requested-attributes + * requesting-user-name + */ + + request = ippNewRequest(id ? IPP_GET_JOB_ATTRIBUTES : IPP_GET_JOBS); + + if (id) + { + snprintf(resource, sizeof(resource), "ipp://localhost/jobs/%d", id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", + NULL, resource); + } + else if (dest) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, resource, sizeof(resource), "ipp", + NULL, "localhost", 0, "/printers/%s", dest); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, resource); + } + else + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, "ipp://localhost/"); + + if (user) + { + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + ippAddBoolean(request, IPP_TAG_OPERATION, "my-jobs", 1); + } + else + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + (int)(sizeof(jobattrs) / sizeof(jobattrs[0])), NULL, jobattrs); + + /* + * Do the request and get back a response... + */ + + jobcount = 0; + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + if (response->request.status.status_code > IPP_OK_CONFLICT) + { + _cupsLangPrintf(stderr, "%s: %s", command, cupsLastErrorString()); + ippDelete(response); + return (0); + } + + rank = 1; + + /* + * Loop through the job list and display them... + */ + + for (attr = response->attrs; attr != NULL; attr = attr->next) + { + /* + * Skip leading attributes until we hit a job... + */ + + while (attr != NULL && attr->group_tag != IPP_TAG_JOB) + attr = attr->next; + + if (attr == NULL) + break; + + /* + * Pull the needed attributes from this job... + */ + + jobid = 0; + jobsize = 0; + jobstate = IPP_JOB_PENDING; + jobname = "unknown"; + jobuser = "unknown"; + jobdest = NULL; + jobcopies = 1; + + while (attr != NULL && attr->group_tag == IPP_TAG_JOB) + { + if (!strcmp(attr->name, "job-id") && + attr->value_tag == IPP_TAG_INTEGER) + jobid = attr->values[0].integer; + + if (!strcmp(attr->name, "job-k-octets") && + attr->value_tag == IPP_TAG_INTEGER) + jobsize = attr->values[0].integer; + + if (!strcmp(attr->name, "job-state") && + attr->value_tag == IPP_TAG_ENUM) + jobstate = (ipp_jstate_t)attr->values[0].integer; + + if (!strcmp(attr->name, "job-printer-uri") && + attr->value_tag == IPP_TAG_URI) + if ((jobdest = strrchr(attr->values[0].string.text, '/')) != NULL) + jobdest ++; + + if (!strcmp(attr->name, "job-originating-user-name") && + attr->value_tag == IPP_TAG_NAME) + jobuser = attr->values[0].string.text; + + if (!strcmp(attr->name, "job-name") && + attr->value_tag == IPP_TAG_NAME) + jobname = attr->values[0].string.text; + + if (!strcmp(attr->name, "copies") && + attr->value_tag == IPP_TAG_INTEGER) + jobcopies = attr->values[0].integer; + + attr = attr->next; + } + + /* + * See if we have everything needed... + */ + + if (jobdest == NULL || jobid == 0) + { + if (attr == NULL) + break; + else + continue; + } + + if (!longstatus && jobcount == 0) + _cupsLangPuts(stdout, + _("Rank Owner Job File(s)" + " Total Size")); + + jobcount ++; + + /* + * Display the job... + */ + + if (jobstate == IPP_JOB_PROCESSING) + strlcpy(rankstr, "active", sizeof(rankstr)); + else + { + /* + * Make the rank show the "correct" suffix for each number + * (11-13 are the only special cases, for English anyways...) + */ + + if ((rank % 100) >= 11 && (rank % 100) <= 13) + snprintf(rankstr, sizeof(rankstr), "%dth", rank); + else + snprintf(rankstr, sizeof(rankstr), "%d%s", rank, ranks[rank % 10]); + + rank ++; + } + + if (longstatus) + { + _cupsLangPuts(stdout, "\n"); + + if (jobcopies > 1) + snprintf(namestr, sizeof(namestr), "%d copies of %s", jobcopies, + jobname); + else + strlcpy(namestr, jobname, sizeof(namestr)); + + _cupsLangPrintf(stdout, _("%s: %-33.33s [job %d localhost]"), + jobuser, rankstr, jobid); + _cupsLangPrintf(stdout, _(" %-39.39s %.0f bytes"), + namestr, 1024.0 * jobsize); + } + else + _cupsLangPrintf(stdout, + _("%-7s %-7.7s %-7d %-31.31s %.0f bytes"), + rankstr, jobuser, jobid, jobname, 1024.0 * jobsize); + + if (attr == NULL) + break; + } + + ippDelete(response); + } + else + { + _cupsLangPrintf(stderr, "%s: %s", command, cupsLastErrorString()); + return (0); + } + + if (jobcount == 0) + _cupsLangPuts(stdout, _("no entries")); + + return (jobcount); +} + + +/* + * 'show_printer()' - Show printer status. + */ + +static void +show_printer(const char *command, /* I - Command name */ + http_t *http, /* I - HTTP connection to server */ + const char *dest) /* I - Destination */ +{ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr; /* Current attribute */ + ipp_pstate_t state; /* Printer state */ + char uri[HTTP_MAX_URI]; /* Printer URI */ + + + if (http == NULL) + return; + + /* + * Build an IPP_GET_PRINTER_ATTRIBUTES request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(IPP_GET_PRINTER_ATTRIBUTES); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", dest); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + if (response->request.status.status_code > IPP_OK_CONFLICT) + { + _cupsLangPrintf(stderr, "%s: %s", command, cupsLastErrorString()); + ippDelete(response); + return; + } + + if ((attr = ippFindAttribute(response, "printer-state", IPP_TAG_ENUM)) != NULL) + state = (ipp_pstate_t)attr->values[0].integer; + else + state = IPP_PRINTER_STOPPED; + + switch (state) + { + case IPP_PRINTER_IDLE : + _cupsLangPrintf(stdout, _("%s is ready"), dest); + break; + case IPP_PRINTER_PROCESSING : + _cupsLangPrintf(stdout, _("%s is ready and printing"), + dest); + break; + case IPP_PRINTER_STOPPED : + _cupsLangPrintf(stdout, _("%s is not ready"), dest); + break; + } + + ippDelete(response); + } + else + _cupsLangPrintf(stderr, "%s: %s", command, cupsLastErrorString()); +} + + +/* + * 'usage()' - Show program usage. + */ + +static void +usage(void) +{ + _cupsLangPuts(stderr, _("Usage: lpq [options] [+interval]")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("-a Show jobs on all destinations")); + _cupsLangPuts(stdout, _("-E Encrypt the connection to the server")); + _cupsLangPuts(stdout, _("-h server[:port] Connect to the named server and port")); + _cupsLangPuts(stdout, _("-l Show verbose (long) output")); + _cupsLangPuts(stdout, _("-P destination Show status for the specified destination")); + _cupsLangPuts(stdout, _("-U username Specify the username to use for authentication")); + + exit(1); +} diff --git a/berkeley/lpr.c b/berkeley/lpr.c new file mode 100644 index 0000000..627fa6a --- /dev/null +++ b/berkeley/lpr.c @@ -0,0 +1,455 @@ +/* + * "lpr" command for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include + + +/* + * Local functions... + */ + +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Parse options and send files for printing. + */ + +int +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i, j; /* Looping var */ + int job_id; /* Job ID */ + char ch; /* Option character */ + char *printer, /* Destination printer or class */ + *instance, /* Instance */ + *opt; /* Option pointer */ + const char *title; /* Job title */ + int num_copies; /* Number of copies per file */ + int num_files; /* Number of files to print */ + const char *files[1000]; /* Files to print */ + cups_dest_t *dest; /* Selected destination */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ + int deletefile; /* Delete file after print? */ + char buffer[8192]; /* Copy buffer */ + + + _cupsSetLocale(argv); + + deletefile = 0; + printer = NULL; + dest = NULL; + num_options = 0; + options = NULL; + num_files = 0; + title = NULL; + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + usage(); + else if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (ch = *opt) + { + case 'E' : /* Encrypt */ +#ifdef HAVE_SSL + cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); +#else + _cupsLangPrintf(stderr, _("%s: Sorry, no encryption support."), argv[0]); +#endif /* HAVE_SSL */ + break; + + case 'U' : /* Username */ + if (opt[1] != '\0') + { + cupsSetUser(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected username after \"-U\" option."), argv[0]); + usage(); + } + + cupsSetUser(argv[i]); + } + break; + + case 'H' : /* Connect to host */ + if (opt[1] != '\0') + { + cupsSetServer(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected hostname after \"-H\" option."), argv[0]); + usage(); + } + else + cupsSetServer(argv[i]); + } + break; + + case '1' : /* TROFF font set 1 */ + case '2' : /* TROFF font set 2 */ + case '3' : /* TROFF font set 3 */ + case '4' : /* TROFF font set 4 */ + case 'i' : /* indent */ + case 'w' : /* width */ + if (opt[1] != '\0') + { + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("%s: Error - expected value after \"-%c\" " + "option."), argv[0], ch); + usage(); + } + } + + case 'c' : /* CIFPLOT */ + case 'd' : /* DVI */ + case 'f' : /* FORTRAN */ + case 'g' : /* plot */ + case 'n' : /* Ditroff */ + case 't' : /* Troff */ + case 'v' : /* Raster image */ + _cupsLangPrintf(stderr, _("%s: Warning - \"%c\" format modifier not supported - output may not be correct."), argv[0], ch); + break; + + case 'o' : /* Option */ + if (opt[1] != '\0') + { + num_options = cupsParseOptions(opt + 1, num_options, &options); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected option=value after \"-o\" option."), argv[0]); + usage(); + } + + num_options = cupsParseOptions(argv[i], num_options, &options); + } + break; + + case 'l' : /* Literal/raw */ + num_options = cupsAddOption("raw", "true", num_options, &options); + break; + + case 'p' : /* Prettyprint */ + num_options = cupsAddOption("prettyprint", "true", num_options, &options); + break; + + case 'h' : /* Suppress burst page */ + num_options = cupsAddOption("job-sheets", "none", num_options, &options); + break; + + case 's' : /* Don't use symlinks */ + break; + + case 'm' : /* Mail on completion */ + { + char email[1024]; /* EMail address */ + + snprintf(email, sizeof(email), "mailto:%s@%s", cupsUser(), httpGetHostname(NULL, buffer, sizeof(buffer))); + num_options = cupsAddOption("notify-recipient-uri", email, num_options, &options); + } + break; + + case 'q' : /* Queue file but don't print */ + num_options = cupsAddOption("job-hold-until", "indefinite", num_options, &options); + break; + + case 'r' : /* Remove file after printing */ + deletefile = 1; + break; + + case 'P' : /* Destination printer or class */ + if (opt[1] != '\0') + { + printer = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected destination after \"-P\" option."), argv[0]); + usage(); + } + + printer = argv[i]; + } + + if ((instance = strrchr(printer, '/')) != NULL) + *instance++ = '\0'; + + if ((dest = cupsGetNamedDest(NULL, printer, instance)) != NULL) + { + for (j = 0; j < dest->num_options; j ++) + if (cupsGetOption(dest->options[j].name, num_options, + options) == NULL) + num_options = cupsAddOption(dest->options[j].name, + dest->options[j].value, + num_options, &options); + } + else if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + _cupsLangPrintf(stderr, _("%s: Error - add '/version=1.1' to server name."), argv[0]); + return (1); + } + break; + + case '#' : /* Number of copies */ + if (opt[1] != '\0') + { + num_copies = atoi(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected copies after \"-#\" option."), argv[0]); + usage(); + } + + num_copies = atoi(argv[i]); + } + + if (num_copies < 1) + { + _cupsLangPrintf(stderr, _("%s: Error - copies must be 1 or more."), argv[0]); + return (1); + } + + sprintf(buffer, "%d", num_copies); + num_options = cupsAddOption("copies", buffer, num_options, &options); + break; + + case 'C' : /* Class */ + case 'J' : /* Job name */ + case 'T' : /* Title */ + if (opt[1] != '\0') + { + title = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected name after \"-%c\" option."), argv[0], ch); + usage(); + } + + title = argv[i]; + } + break; + + default : + _cupsLangPrintf(stderr, _("%s: Error - unknown option \"%c\"."), argv[0], *opt); + return (1); + } + } + } + else if (num_files < 1000) + { + /* + * Print a file... + */ + + if (access(argv[i], R_OK) != 0) + { + _cupsLangPrintf(stderr, + _("%s: Error - unable to access \"%s\" - %s"), + argv[0], argv[i], strerror(errno)); + return (1); + } + + files[num_files] = argv[i]; + num_files ++; + + if (title == NULL) + { + if ((title = strrchr(argv[i], '/')) != NULL) + title ++; + else + title = argv[i]; + } + } + else + { + _cupsLangPrintf(stderr, _("%s: Error - too many files - \"%s\"."), argv[0], argv[i]); + } + } + + /* + * See if we have any files to print; if not, print from stdin... + */ + + if (printer == NULL) + { + if ((dest = cupsGetNamedDest(NULL, NULL, NULL)) != NULL) + { + printer = dest->name; + + for (j = 0; j < dest->num_options; j ++) + if (cupsGetOption(dest->options[j].name, num_options, options) == NULL) + num_options = cupsAddOption(dest->options[j].name, + dest->options[j].value, + num_options, &options); + } + else if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server " + "name."), argv[0]); + return (1); + } + } + + if (printer == NULL) + { + if (!cupsGetNamedDest(NULL, NULL, NULL) && cupsLastError() == IPP_STATUS_ERROR_NOT_FOUND) + _cupsLangPrintf(stderr, _("%s: Error - %s"), argv[0], cupsLastErrorString()); + else + _cupsLangPrintf(stderr, _("%s: Error - scheduler not responding."), argv[0]); + + return (1); + } + + if (num_files > 0) + { + job_id = cupsPrintFiles(printer, num_files, files, title, num_options, options); + + if (deletefile && job_id > 0) + { + /* + * Delete print files after printing... + */ + + for (i = 0; i < num_files; i ++) + unlink(files[i]); + } + } + else if ((job_id = cupsCreateJob(CUPS_HTTP_DEFAULT, printer, + title ? title : "(stdin)", + num_options, options)) > 0) + { + http_status_t status; /* Write status */ + const char *format; /* Document format */ + ssize_t bytes; /* Bytes read */ + + if (cupsGetOption("raw", num_options, options)) + format = CUPS_FORMAT_RAW; + else if ((format = cupsGetOption("document-format", num_options, + options)) == NULL) + format = CUPS_FORMAT_AUTO; + + status = cupsStartDocument(CUPS_HTTP_DEFAULT, printer, job_id, NULL, + format, 1); + + while (status == HTTP_CONTINUE && + (bytes = read(0, buffer, sizeof(buffer))) > 0) + status = cupsWriteRequestData(CUPS_HTTP_DEFAULT, buffer, (size_t)bytes); + + if (status != HTTP_CONTINUE) + { + _cupsLangPrintf(stderr, _("%s: Error - unable to queue from stdin - %s."), + argv[0], httpStatus(status)); + cupsFinishDocument(CUPS_HTTP_DEFAULT, printer); + cupsCancelJob2(CUPS_HTTP_DEFAULT, printer, job_id, 0); + return (1); + } + + if (cupsFinishDocument(CUPS_HTTP_DEFAULT, printer) != IPP_OK) + { + _cupsLangPrintf(stderr, "%s: %s", argv[0], cupsLastErrorString()); + cupsCancelJob2(CUPS_HTTP_DEFAULT, printer, job_id, 0); + return (1); + } + } + + if (job_id < 1) + { + _cupsLangPrintf(stderr, "%s: %s", argv[0], cupsLastErrorString()); + return (1); + } + + return (0); +} + + +/* + * 'usage()' - Show program usage and exit. + */ + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: lpr [options] [file(s)]")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("-# num-copies Specify the number of copies to print")); + _cupsLangPuts(stdout, _("-E Encrypt the connection to the server")); + _cupsLangPuts(stdout, _("-H server[:port] Connect to the named server and port")); + _cupsLangPuts(stdout, _("-m Send an email notification when the job completes")); + _cupsLangPuts(stdout, _("-o option[=value] Specify a printer-specific option")); + _cupsLangPuts(stdout, _("-o job-sheets=standard Print a banner page with the job")); + _cupsLangPuts(stdout, _("-o media=size Specify the media size to use")); + _cupsLangPuts(stdout, _("-o number-up=N Specify that input pages should be printed N-up (1, 2, 4, 6, 9, and 16 are supported)")); + _cupsLangPuts(stdout, _("-o orientation-requested=N\n" + " Specify portrait (3) or landscape (4) orientation")); + _cupsLangPuts(stdout, _("-o print-quality=N Specify the print quality - draft (3), normal (4), or best (5)")); + _cupsLangPuts(stdout, _("-o sides=one-sided Specify 1-sided printing")); + _cupsLangPuts(stdout, _("-o sides=two-sided-long-edge\n" + " Specify 2-sided portrait printing")); + _cupsLangPuts(stdout, _("-o sides=two-sided-short-edge\n" + " Specify 2-sided landscape printing")); + _cupsLangPuts(stdout, _("-P destination Specify the destination")); + _cupsLangPuts(stdout, _("-q Specify the job should be held for printing")); + _cupsLangPuts(stdout, _("-r Remove the file(s) after submission")); + _cupsLangPuts(stdout, _("-T title Specify the job title")); + _cupsLangPuts(stdout, _("-U username Specify the username to use for authentication")); + + exit(1); +} diff --git a/berkeley/lprm.c b/berkeley/lprm.c new file mode 100644 index 0000000..eefcad5 --- /dev/null +++ b/berkeley/lprm.c @@ -0,0 +1,240 @@ +/* + * "lprm" command for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include + + +/* + * Local functions... + */ + +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Parse options and cancel jobs. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + int job_id; /* Job ID */ + const char *name; /* Destination printer */ + char *instance, /* Pointer to instance name */ + *opt; /* Option pointer */ + cups_dest_t *dest, /* Destination */ + *defdest; /* Default destination */ + int did_cancel; /* Did we cancel something? */ + + + _cupsSetLocale(argv); + + /* + * Setup to cancel individual print jobs... + */ + + did_cancel = 0; + defdest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, NULL, NULL); + name = defdest ? defdest->name : NULL; + + /* + * Process command-line arguments... + */ + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + usage(); + else if (argv[i][0] == '-' && argv[i][1] != '\0') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'E' : /* Encrypt */ +#ifdef HAVE_SSL + cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); +#else + _cupsLangPrintf(stderr, _("%s: Sorry, no encryption support."), argv[0]); +#endif /* HAVE_SSL */ + break; + + case 'P' : /* Cancel jobs on a printer */ + if (opt[1] != '\0') + { + name = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + name = argv[i]; + } + + if ((instance = strchr(name, '/')) != NULL) + *instance = '\0'; + + if ((dest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, name, NULL)) == NULL) + { + _cupsLangPrintf(stderr, _("%s: Error - unknown destination \"%s\"."), argv[0], name); + goto error; + } + + cupsFreeDests(1, dest); + break; + + case 'U' : /* Username */ + if (opt[1] != '\0') + { + cupsSetUser(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected username after \"-U\" option."), argv[0]); + usage(); + } + + cupsSetUser(argv[i]); + } + break; + + case 'h' : /* Connect to host */ + if (opt[1] != '\0') + { + cupsSetServer(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected hostname after \"-h\" option."), argv[0]); + usage(); + } + else + cupsSetServer(argv[i]); + } + + if (defdest) + cupsFreeDests(1, defdest); + + defdest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, NULL, NULL); + name = defdest ? defdest->name : NULL; + break; + + default : + _cupsLangPrintf(stderr, _("%s: Error - unknown option \"%c\"."), argv[0], *opt); + usage(); + } + } + } + else + { + /* + * Cancel a job or printer... + */ + + if ((dest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, argv[i], NULL)) != NULL) + cupsFreeDests(1, dest); + + if (dest) + { + name = argv[i]; + job_id = 0; + } + else if (isdigit(argv[i][0] & 255)) + { + name = NULL; + job_id = atoi(argv[i]); + } + else if (!strcmp(argv[i], "-")) + { + /* + * Cancel all jobs + */ + + job_id = -1; + } + else + { + _cupsLangPrintf(stderr, _("%s: Error - unknown destination \"%s\"."), + argv[0], argv[i]); + goto error; + } + + if (cupsCancelJob2(CUPS_HTTP_DEFAULT, name, job_id, 0) != IPP_OK) + { + _cupsLangPrintf(stderr, "%s: %s", argv[0], cupsLastErrorString()); + goto error; + } + + did_cancel = 1; + } + } + + /* + * If nothing has been canceled yet, cancel the current job on the specified + * (or default) printer... + */ + + if (!did_cancel && cupsCancelJob2(CUPS_HTTP_DEFAULT, name, 0, 0) != IPP_OK) + { + _cupsLangPrintf(stderr, "%s: %s", argv[0], cupsLastErrorString()); + goto error; + } + + if (defdest) + cupsFreeDests(1, defdest); + + return (0); + + /* + * If we get here there was an error, so clean up... + */ + + error: + + if (defdest) + cupsFreeDests(1, defdest); + + return (1); +} + + +/* + * 'usage()' - Show program usage and exit. + */ + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: lprm [options] [id]\n" + " lprm [options] -")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("- Cancel all jobs")); + _cupsLangPuts(stdout, _("-E Encrypt the connection to the server")); + _cupsLangPuts(stdout, _("-h server[:port] Connect to the named server and port")); + _cupsLangPuts(stdout, _("-P destination Specify the destination")); + _cupsLangPuts(stdout, _("-U username Specify the username to use for authentication")); + + exit(1); +} diff --git a/cgi-bin/Dependencies b/cgi-bin/Dependencies new file mode 100644 index 0000000..d502304 --- /dev/null +++ b/cgi-bin/Dependencies @@ -0,0 +1,72 @@ +help-index.o: help-index.c cgi-private.h cgi.h ../cups/cups.h \ + ../cups/file.h ../cups/versioning.h ../cups/ipp.h ../cups/http.h \ + ../cups/array.h ../cups/language.h ../cups/pwg.h help-index.h \ + ../cups/debug-private.h ../cups/language-private.h ../config.h \ + ../cups/transcode.h ../cups/string-private.h ../cups/ipp-private.h \ + ../cups/dir.h +html.o: html.c cgi-private.h cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h ../cups/debug-private.h \ + ../cups/language-private.h ../config.h ../cups/transcode.h \ + ../cups/string-private.h ../cups/ipp-private.h +ipp-var.o: ipp-var.c cgi-private.h cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h ../cups/debug-private.h \ + ../cups/language-private.h ../config.h ../cups/transcode.h \ + ../cups/string-private.h ../cups/ipp-private.h +search.o: search.c cgi-private.h cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h ../cups/debug-private.h \ + ../cups/language-private.h ../config.h ../cups/transcode.h \ + ../cups/string-private.h ../cups/ipp-private.h +template.o: template.c cgi-private.h cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h ../cups/debug-private.h \ + ../cups/language-private.h ../config.h ../cups/transcode.h \ + ../cups/string-private.h ../cups/ipp-private.h +var.o: var.c cgi-private.h cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h ../cups/debug-private.h \ + ../cups/language-private.h ../config.h ../cups/transcode.h \ + ../cups/string-private.h ../cups/ipp-private.h +admin.o: admin.c cgi-private.h cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h ../cups/debug-private.h \ + ../cups/language-private.h ../config.h ../cups/transcode.h \ + ../cups/string-private.h ../cups/ipp-private.h ../cups/http-private.h \ + ../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h \ + ../cups/pwg-private.h ../cups/adminutil.h +classes.o: classes.c cgi-private.h cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h ../cups/debug-private.h \ + ../cups/language-private.h ../config.h ../cups/transcode.h \ + ../cups/string-private.h ../cups/ipp-private.h +help.o: help.c cgi-private.h cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h ../cups/debug-private.h \ + ../cups/language-private.h ../config.h ../cups/transcode.h \ + ../cups/string-private.h ../cups/ipp-private.h +jobs.o: jobs.c cgi-private.h cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h ../cups/debug-private.h \ + ../cups/language-private.h ../config.h ../cups/transcode.h \ + ../cups/string-private.h ../cups/ipp-private.h +makedocset.o: makedocset.c cgi-private.h cgi.h ../cups/cups.h \ + ../cups/file.h ../cups/versioning.h ../cups/ipp.h ../cups/http.h \ + ../cups/array.h ../cups/language.h ../cups/pwg.h help-index.h \ + ../cups/debug-private.h ../cups/language-private.h ../config.h \ + ../cups/transcode.h ../cups/string-private.h ../cups/ipp-private.h +printers.o: printers.c cgi-private.h cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h ../cups/debug-private.h \ + ../cups/language-private.h ../config.h ../cups/transcode.h \ + ../cups/string-private.h ../cups/ipp-private.h +testcgi.o: testcgi.c cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h +testhi.o: testhi.c cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h +testtemplate.o: testtemplate.c cgi.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h help-index.h diff --git a/cgi-bin/Makefile b/cgi-bin/Makefile new file mode 100644 index 0000000..e76012b --- /dev/null +++ b/cgi-bin/Makefile @@ -0,0 +1,245 @@ +# +# CGI makefile for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2006 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +include ../Makedefs + +LIBOBJS = \ + help-index.o \ + html.o \ + ipp-var.o \ + search.o \ + template.o \ + var.o +OBJS = \ + $(LIBOBJS) \ + admin.o \ + classes.o \ + help.o \ + jobs.o \ + makedocset.o \ + printers.o \ + testcgi.o \ + testhi.o \ + testtemplate.o +CGIS = \ + admin.cgi \ + classes.cgi \ + help.cgi \ + jobs.cgi \ + printers.cgi +LIBTARGETS = \ + libcupscgi.a + +UNITTARGETS = \ + testcgi \ + testhi \ + testtemplate + +TARGETS = \ + $(LIBTARGETS) \ + $(CGIS) + + +# +# Make all targets... +# + +all: $(TARGETS) + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: $(UNITTARGETS) + + +# +# Clean all object files... +# + +clean: + $(RM) $(OBJS) $(TARGETS) $(UNITTARGETS) makedocset + + +# +# Update dependencies (without system header dependencies...) +# + +depend: + $(CC) -MM $(ALL_CFLAGS) $(OBJS:.o=.c) >Dependencies + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + + +# +# Install programs... +# + +install-exec: + $(INSTALL_DIR) -m 755 $(SERVERBIN)/cgi-bin + for file in $(CGIS); do \ + $(INSTALL_BIN) $$file $(SERVERBIN)/cgi-bin; \ + done + if test "x$(SYMROOT)" != "x"; then \ + $(INSTALL_DIR) $(SYMROOT); \ + for file in $(CGIS); do \ + cp $$file $(SYMROOT); \ + dsymutil $(SYMROOT)/$$file; \ + done \ + fi + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall all targets... +# + +uninstall: + for file in $(CGIS); do \ + $(RM) $(SERVERBIN)/cgi-bin/$$file; \ + done + -$(RMDIR) $(SERVERBIN)/cgi-bin + + +# +# libcupscgi.a +# + +libcupscgi.a: $(LIBOBJS) + echo Archiving $@... + $(RM) $@ + $(AR) $(ARFLAGS) $@ $(LIBOBJS) + $(RANLIB) $@ + + +# +# admin.cgi +# + +admin.cgi: admin.o ../Makedefs ../cups/$(LIBCUPS) libcupscgi.a + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ admin.o libcupscgi.a $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# classes.cgi +# + +classes.cgi: classes.o ../Makedefs ../cups/$(LIBCUPS) libcupscgi.a + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ classes.o libcupscgi.a $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# help.cgi +# + +help.cgi: help.o ../Makedefs ../cups/$(LIBCUPS) libcupscgi.a + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ help.o libcupscgi.a $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# jobs.cgi +# + +jobs.cgi: jobs.o ../Makedefs ../cups/$(LIBCUPS) libcupscgi.a + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ jobs.o libcupscgi.a $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# printers.cgi +# + +printers.cgi: printers.o ../Makedefs ../cups/$(LIBCUPS) libcupscgi.a + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ printers.o libcupscgi.a $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testcgi +# + +testcgi: testcgi.o ../Makedefs libcupscgi.a ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testcgi.o libcupscgi.a \ + $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Testing CGI API... + ./testcgi + + +# +# testhi +# + +testhi: testhi.o ../Makedefs libcupscgi.a ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testhi.o libcupscgi.a \ + $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Testing help index API... + ./testhi + + +# +# testtemplate +# + +testtemplate: testtemplate.o ../Makedefs libcupscgi.a ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ testtemplate.o libcupscgi.a $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Dependencies... +# + +include Dependencies diff --git a/cgi-bin/admin.c b/cgi-bin/admin.c new file mode 100644 index 0000000..f087809 --- /dev/null +++ b/cgi-bin/admin.c @@ -0,0 +1,3809 @@ +/* + * Administration CGI for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi-private.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +/* + * Local globals... + */ + +static int current_device = 0; /* Current device shown */ + + +/* + * Local functions... + */ + +static void choose_device_cb(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, const char *title); +static void do_am_class(http_t *http, int modify); +static void do_am_printer(http_t *http, int modify); +static void do_config_server(http_t *http); +static void do_delete_class(http_t *http); +static void do_delete_printer(http_t *http); +static void do_list_printers(http_t *http); +static void do_menu(http_t *http); +static void do_set_allowed_users(http_t *http); +static void do_set_default(http_t *http); +static void do_set_options(http_t *http, int is_class); +static void do_set_sharing(http_t *http); +static char *get_option_value(ppd_file_t *ppd, const char *name, + char *buffer, size_t bufsize); +static double get_points(double number, const char *uval); +static char *get_printer_ppd(const char *uri, char *buffer, size_t bufsize); + + +/* + * 'main()' - Main entry for CGI. + */ + +int /* O - Exit status */ +main(void) +{ + http_t *http; /* Connection to the server */ + const char *op; /* Operation name */ + + + /* + * Connect to the HTTP server... + */ + + fputs("DEBUG: admin.cgi started...\n", stderr); + + http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption()); + + if (!http) + { + perror("ERROR: Unable to connect to cupsd"); + fprintf(stderr, "DEBUG: cupsServer()=\"%s\"\n", + cupsServer() ? cupsServer() : "(null)"); + fprintf(stderr, "DEBUG: ippPort()=%d\n", ippPort()); + fprintf(stderr, "DEBUG: cupsEncryption()=%d\n", cupsEncryption()); + exit(1); + } + + fprintf(stderr, "DEBUG: http=%p\n", http); + + /* + * Set the web interface section... + */ + + cgiSetVariable("SECTION", "admin"); + cgiSetVariable("REFRESH_PAGE", ""); + + /* + * See if we have form data... + */ + + if (!cgiInitialize() || !cgiGetVariable("OP")) + { + /* + * Nope, send the administration menu... + */ + + fputs("DEBUG: No form data, showing main menu...\n", stderr); + + do_menu(http); + } + else if ((op = cgiGetVariable("OP")) != NULL && cgiIsPOST()) + { + /* + * Do the operation... + */ + + fprintf(stderr, "DEBUG: op=\"%s\"...\n", op); + + if (!*op) + { + const char *printer = getenv("PRINTER_NAME"), + /* Printer or class name */ + *server_port = getenv("SERVER_PORT"); + /* Port number string */ + int port = atoi(server_port ? server_port : "0"); + /* Port number */ + char uri[1024]; /* URL */ + + if (printer) + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), + getenv("HTTPS") ? "https" : "http", NULL, + getenv("SERVER_NAME"), port, "/%s/%s", + cgiGetVariable("IS_CLASS") ? "classes" : "printers", + printer); + else + httpAssembleURI(HTTP_URI_CODING_ALL, uri, sizeof(uri), + getenv("HTTPS") ? "https" : "http", NULL, + getenv("SERVER_NAME"), port, "/admin"); + + printf("Location: %s\n\n", uri); + } + else if (!strcmp(op, "set-allowed-users")) + do_set_allowed_users(http); + else if (!strcmp(op, "set-as-default")) + do_set_default(http); + else if (!strcmp(op, "set-sharing")) + do_set_sharing(http); + else if (!strcmp(op, "find-new-printers") || + !strcmp(op, "list-available-printers")) + do_list_printers(http); + else if (!strcmp(op, "add-class")) + do_am_class(http, 0); + else if (!strcmp(op, "add-printer")) + do_am_printer(http, 0); + else if (!strcmp(op, "modify-class")) + do_am_class(http, 1); + else if (!strcmp(op, "modify-printer")) + do_am_printer(http, 1); + else if (!strcmp(op, "delete-class")) + do_delete_class(http); + else if (!strcmp(op, "delete-printer")) + do_delete_printer(http); + else if (!strcmp(op, "set-class-options")) + do_set_options(http, 1); + else if (!strcmp(op, "set-printer-options")) + do_set_options(http, 0); + else if (!strcmp(op, "config-server")) + do_config_server(http); + else + { + /* + * Bad operation code - display an error... + */ + + cgiStartHTML(cgiText(_("Administration"))); + cgiCopyTemplateLang("error-op.tmpl"); + cgiEndHTML(); + } + } + else if (op && !strcmp(op, "redirect")) + { + const char *url; /* Redirection URL... */ + char prefix[1024]; /* URL prefix */ + + + if (getenv("HTTPS")) + snprintf(prefix, sizeof(prefix), "https://%s:%s", + getenv("SERVER_NAME"), getenv("SERVER_PORT")); + else + snprintf(prefix, sizeof(prefix), "http://%s:%s", + getenv("SERVER_NAME"), getenv("SERVER_PORT")); + + fprintf(stderr, "DEBUG: redirecting with prefix %s!\n", prefix); + + if ((url = cgiGetVariable("URL")) != NULL) + { + char encoded[1024], /* Encoded URL string */ + *ptr; /* Pointer into encoded string */ + + + ptr = encoded; + if (*url != '/') + *ptr++ = '/'; + + for (; *url && ptr < (encoded + sizeof(encoded) - 4); url ++) + { + if (strchr("%@&+ <>#=", *url) || *url < ' ' || *url & 128) + { + /* + * Percent-encode this character; safe because we have at least 4 + * bytes left in the array... + */ + + sprintf(ptr, "%%%02X", *url & 255); + ptr += 3; + } + else + *ptr++ = *url; + } + + *ptr = '\0'; + + if (*url) + { + /* + * URL was too long, just redirect to the admin page... + */ + + printf("Location: %s/admin\n\n", prefix); + } + else + { + /* + * URL is OK, redirect there... + */ + + printf("Location: %s%s\n\n", prefix, encoded); + } + } + else + printf("Location: %s/admin\n\n", prefix); + } + else + { + /* + * Form data but no operation code - display an error... + */ + + cgiStartHTML(cgiText(_("Administration"))); + cgiCopyTemplateLang("error-op.tmpl"); + cgiEndHTML(); + } + + /* + * Close the HTTP server connection... + */ + + httpClose(http); + + /* + * Return with no errors... + */ + + return (0); +} + + +/* + * 'choose_device_cb()' - Add a device to the device selection page. + */ + +static void +choose_device_cb( + const char *device_class, /* I - Class */ + const char *device_id, /* I - 1284 device ID */ + const char *device_info, /* I - Description */ + const char *device_make_and_model, /* I - Make and model */ + const char *device_uri, /* I - Device URI */ + const char *device_location, /* I - Location */ + const char *title) /* I - Page title */ +{ + /* + * For modern browsers, start a multi-part page so we can show that something + * is happening. Non-modern browsers just get everything at the end... + */ + + if (current_device == 0 && cgiSupportsMultipart()) + { + cgiStartMultipart(); + cgiStartHTML(title); + cgiCopyTemplateLang("choose-device.tmpl"); + cgiEndHTML(); + fflush(stdout); + } + + + /* + * Add the device to the array... + */ + + cgiSetArray("device_class", current_device, device_class); + cgiSetArray("device_id", current_device, device_id); + cgiSetArray("device_info", current_device, device_info); + cgiSetArray("device_make_and_model", current_device, device_make_and_model); + cgiSetArray("device_uri", current_device, device_uri); + cgiSetArray("device_location", current_device, device_location); + + current_device ++; +} + + +/* + * 'do_am_class()' - Add or modify a class. + */ + +static void +do_am_class(http_t *http, /* I - HTTP connection */ + int modify) /* I - Modify the printer? */ +{ + int i, j; /* Looping vars */ + int element; /* Element number */ + int num_printers; /* Number of printers */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* member-uris attribute */ + char uri[HTTP_MAX_URI]; /* Device or printer URI */ + const char *name, /* Pointer to class name */ + *op, /* Operation name */ + *ptr; /* Pointer to CGI variable */ + const char *title; /* Title of page */ + static const char * const pattrs[] = /* Requested printer attributes */ + { + "member-names", + "printer-info", + "printer-location" + }; + + + title = cgiText(modify ? _("Modify Class") : _("Add Class")); + op = cgiGetVariable("OP"); + name = cgiGetVariable("PRINTER_NAME"); + + if (cgiGetVariable("PRINTER_LOCATION") == NULL) + { + /* + * Build a CUPS_GET_PRINTERS request, which requires the + * following attributes: + * + * attributes-charset + * attributes-natural-language + */ + + request = ippNewRequest(CUPS_GET_PRINTERS); + + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_ENUM, "printer-type", + CUPS_PRINTER_LOCAL); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_ENUM, "printer-type-mask", + CUPS_PRINTER_CLASS | CUPS_PRINTER_REMOTE); + + /* + * Do the request and get back a response... + */ + + cgiClearVariables(); + if (op) + cgiSetVariable("OP", op); + if (name) + cgiSetVariable("PRINTER_NAME", name); + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + /* + * Create MEMBER_URIS and MEMBER_NAMES arrays... + */ + + for (element = 0, attr = response->attrs; + attr != NULL; + attr = attr->next) + if (attr->name && !strcmp(attr->name, "printer-uri-supported")) + { + if ((ptr = strrchr(attr->values[0].string.text, '/')) != NULL && + (!name || _cups_strcasecmp(name, ptr + 1))) + { + /* + * Don't show the current class... + */ + + cgiSetArray("MEMBER_URIS", element, attr->values[0].string.text); + element ++; + } + } + + for (element = 0, attr = response->attrs; + attr != NULL; + attr = attr->next) + if (attr->name && !strcmp(attr->name, "printer-name")) + { + if (!name || _cups_strcasecmp(name, attr->values[0].string.text)) + { + /* + * Don't show the current class... + */ + + cgiSetArray("MEMBER_NAMES", element, attr->values[0].string.text); + element ++; + } + } + + num_printers = cgiGetSize("MEMBER_URIS"); + + ippDelete(response); + } + else + num_printers = 0; + + if (modify) + { + /* + * Build an IPP_GET_PRINTER_ATTRIBUTES request, which requires the + * following attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(IPP_GET_PRINTER_ATTRIBUTES); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/classes/%s", name); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + (int)(sizeof(pattrs) / sizeof(pattrs[0])), + NULL, pattrs); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + if ((attr = ippFindAttribute(response, "member-names", + IPP_TAG_NAME)) != NULL) + { + /* + * Mark any current members in the class... + */ + + for (j = 0; j < num_printers; j ++) + cgiSetArray("MEMBER_SELECTED", j, ""); + + for (i = 0; i < attr->num_values; i ++) + { + for (j = 0; j < num_printers; j ++) + { + if (!_cups_strcasecmp(attr->values[i].string.text, + cgiGetArray("MEMBER_NAMES", j))) + { + cgiSetArray("MEMBER_SELECTED", j, "SELECTED"); + break; + } + } + } + } + + if ((attr = ippFindAttribute(response, "printer-info", + IPP_TAG_TEXT)) != NULL) + cgiSetVariable("PRINTER_INFO", attr->values[0].string.text); + + if ((attr = ippFindAttribute(response, "printer-location", + IPP_TAG_TEXT)) != NULL) + cgiSetVariable("PRINTER_LOCATION", attr->values[0].string.text); + + ippDelete(response); + } + + /* + * Update the location and description of an existing printer... + */ + + cgiStartHTML(title); + cgiCopyTemplateLang("modify-class.tmpl"); + } + else + { + /* + * Get the name, location, and description for a new printer... + */ + + cgiStartHTML(title); + cgiCopyTemplateLang("add-class.tmpl"); + } + + cgiEndHTML(); + + return; + } + + if (!name) + { + cgiStartHTML(title); + cgiSetVariable("ERROR", cgiText(_("Missing form variable"))); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + return; + } + + for (ptr = name; *ptr; ptr ++) + if ((*ptr >= 0 && *ptr <= ' ') || *ptr == 127 || *ptr == '/' || *ptr == '#') + break; + + if (*ptr || ptr == name || strlen(name) > 127) + { + cgiSetVariable("ERROR", + cgiText(_("The class name may only contain up to " + "127 printable characters and may not " + "contain spaces, slashes (/), or the " + "pound sign (#)."))); + cgiStartHTML(title); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + return; + } + + /* + * Build a CUPS_ADD_CLASS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * printer-location + * printer-info + * printer-is-accepting-jobs + * printer-state + * member-uris + */ + + request = ippNewRequest(CUPS_ADD_CLASS); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/classes/%s", name); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-location", + NULL, cgiGetVariable("PRINTER_LOCATION")); + + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-info", + NULL, cgiGetVariable("PRINTER_INFO")); + + ippAddBoolean(request, IPP_TAG_PRINTER, "printer-is-accepting-jobs", 1); + + ippAddInteger(request, IPP_TAG_PRINTER, IPP_TAG_ENUM, "printer-state", + IPP_PRINTER_IDLE); + + if ((num_printers = cgiGetSize("MEMBER_URIS")) > 0) + { + attr = ippAddStrings(request, IPP_TAG_PRINTER, IPP_TAG_URI, "member-uris", + num_printers, NULL, NULL); + for (i = 0; i < num_printers; i ++) + ippSetString(request, &attr, i, cgiGetArray("MEMBER_URIS", i)); + } + + /* + * Do the request and get back a response... + */ + + ippDelete(cupsDoRequest(http, request, "/admin/")); + + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + else if (cupsLastError() > IPP_OK_CONFLICT) + { + cgiStartHTML(title); + cgiShowIPPError(modify ? _("Unable to modify class") : + _("Unable to add class")); + } + else + { + /* + * Redirect successful updates back to the class page... + */ + + char refresh[1024]; /* Refresh URL */ + + cgiFormEncode(uri, name, sizeof(uri)); + snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=/classes/%s", + uri); + cgiSetVariable("refresh_page", refresh); + + cgiStartHTML(title); + + if (modify) + cgiCopyTemplateLang("class-modified.tmpl"); + else + cgiCopyTemplateLang("class-added.tmpl"); + } + + cgiEndHTML(); +} + + +/* + * 'do_am_printer()' - Add or modify a printer. + */ + +static void +do_am_printer(http_t *http, /* I - HTTP connection */ + int modify) /* I - Modify the printer? */ +{ + int i; /* Looping var */ + ipp_attribute_t *attr; /* Current attribute */ + ipp_t *request, /* IPP request */ + *response, /* IPP response */ + *oldinfo; /* Old printer information */ + const cgi_file_t *file; /* Uploaded file, if any */ + const char *var; /* CGI variable */ + char uri[HTTP_MAX_URI], /* Device or printer URI */ + *uriptr, /* Pointer into URI */ + evefile[1024] = ""; /* IPP Everywhere PPD file */ + int maxrate; /* Maximum baud rate */ + char baudrate[255]; /* Baud rate string */ + const char *name, /* Pointer to class name */ + *ptr; /* Pointer to CGI variable */ + const char *title; /* Title of page */ + static int baudrates[] = /* Baud rates */ + { + 1200, + 2400, + 4800, + 9600, + 19200, + 38400, + 57600, + 115200, + 230400, + 460800 + }; + + + ptr = cgiGetVariable("DEVICE_URI"); + fprintf(stderr, "DEBUG: do_am_printer: DEVICE_URI=\"%s\"\n", + ptr ? ptr : "(null)"); + + title = cgiText(modify ? _("Modify Printer") : _("Add Printer")); + + if (modify) + { + /* + * Build an IPP_GET_PRINTER_ATTRIBUTES request, which requires the + * following attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(IPP_GET_PRINTER_ATTRIBUTES); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", + cgiGetVariable("PRINTER_NAME")); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + /* + * Do the request and get back a response... + */ + + oldinfo = cupsDoRequest(http, request, "/"); + } + else + oldinfo = NULL; + + file = cgiGetFile(); + + if (file) + { + fprintf(stderr, "DEBUG: file->tempfile=%s\n", file->tempfile); + fprintf(stderr, "DEBUG: file->name=%s\n", file->name); + fprintf(stderr, "DEBUG: file->filename=%s\n", file->filename); + fprintf(stderr, "DEBUG: file->mimetype=%s\n", file->mimetype); + } + + if ((name = cgiGetVariable("PRINTER_NAME")) != NULL) + { + for (ptr = name; *ptr; ptr ++) + if ((*ptr >= 0 && *ptr <= ' ') || *ptr == 127 || *ptr == '/' || *ptr == '\\' || *ptr == '?' || *ptr == '\'' || *ptr == '\"' || *ptr == '#') + break; + + if (*ptr || ptr == name || strlen(name) > 127) + { + cgiSetVariable("ERROR", + cgiText(_("The printer name may only contain up to 127 printable characters and may not contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the pound sign (#)."))); + cgiStartHTML(title); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + return; + } + } + + if ((var = cgiGetVariable("DEVICE_URI")) != NULL) + { + if ((uriptr = strrchr(var, '|')) != NULL) + { + /* + * Extract make and make/model from device URI string... + */ + + char make[1024], /* Make string */ + *makeptr; /* Pointer into make */ + + + *uriptr++ = '\0'; + + strlcpy(make, uriptr, sizeof(make)); + + if ((makeptr = strchr(make, ' ')) != NULL) + *makeptr = '\0'; + else if ((makeptr = strchr(make, '-')) != NULL) + *makeptr = '\0'; + else if (!_cups_strncasecmp(make, "laserjet", 8) || + !_cups_strncasecmp(make, "deskjet", 7) || + !_cups_strncasecmp(make, "designjet", 9)) + strlcpy(make, "HP", sizeof(make)); + else if (!_cups_strncasecmp(make, "phaser", 6)) + strlcpy(make, "Xerox", sizeof(make)); + else if (!_cups_strncasecmp(make, "stylus", 6)) + strlcpy(make, "Epson", sizeof(make)); + else + strlcpy(make, "Generic", sizeof(make)); + + if (!cgiGetVariable("CURRENT_MAKE")) + cgiSetVariable("CURRENT_MAKE", make); + + if (!cgiGetVariable("CURRENT_MAKE_AND_MODEL")) + cgiSetVariable("CURRENT_MAKE_AND_MODEL", uriptr); + + if (!modify) + { + char template[128], /* Template name */ + *tptr; /* Pointer into template name */ + + cgiSetVariable("PRINTER_INFO", uriptr); + + for (tptr = template; + tptr < (template + sizeof(template) - 1) && *uriptr; + uriptr ++) + if (isalnum(*uriptr & 255) || *uriptr == '_' || *uriptr == '-' || + *uriptr == '.') + *tptr++ = *uriptr; + else if ((*uriptr == ' ' || *uriptr == '/') && tptr > template && + tptr[-1] != '_') + *tptr++ = '_'; + else if (*uriptr == '?' || *uriptr == '(') + break; + + *tptr = '\0'; + + cgiSetVariable("TEMPLATE_NAME", template); + } + } + } + + if (!var) + { + /* + * Look for devices so the user can pick something... + */ + + if ((attr = ippFindAttribute(oldinfo, "device-uri", IPP_TAG_URI)) != NULL) + { + strlcpy(uri, attr->values[0].string.text, sizeof(uri)); + if ((uriptr = strchr(uri, ':')) != NULL && strncmp(uriptr, "://", 3) == 0) + *uriptr = '\0'; + + cgiSetVariable("CURRENT_DEVICE_URI", attr->values[0].string.text); + cgiSetVariable("CURRENT_DEVICE_SCHEME", uri); + } + + /* + * Scan for devices for up to 30 seconds... + */ + + fputs("DEBUG: Getting list of devices...\n", stderr); + + current_device = 0; + if (cupsGetDevices(http, 5, CUPS_INCLUDE_ALL, CUPS_EXCLUDE_NONE, + (cups_device_cb_t)choose_device_cb, + (void *)title) == IPP_OK) + { + fputs("DEBUG: Got device list!\n", stderr); + + if (cgiSupportsMultipart()) + cgiStartMultipart(); + + cgiSetVariable("CUPS_GET_DEVICES_DONE", "1"); + cgiStartHTML(title); + cgiCopyTemplateLang("choose-device.tmpl"); + cgiEndHTML(); + + if (cgiSupportsMultipart()) + cgiEndMultipart(); + } + else + { + fprintf(stderr, + "ERROR: CUPS-Get-Devices request failed with status %x: %s\n", + cupsLastError(), cupsLastErrorString()); + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + else + { + cgiStartHTML(title); + cgiShowIPPError(modify ? _("Unable to modify printer") : + _("Unable to add printer")); + cgiEndHTML(); + return; + } + } + } + else if (!strchr(var, '/') || + (!strncmp(var, "lpd://", 6) && !strchr(var + 6, '/'))) + { + if ((attr = ippFindAttribute(oldinfo, "device-uri", IPP_TAG_URI)) != NULL) + { + /* + * Set the current device URI for the form to the old one... + */ + + if (strncmp(attr->values[0].string.text, var, strlen(var)) == 0) + cgiSetVariable("CURRENT_DEVICE_URI", attr->values[0].string.text); + } + + /* + * User needs to set the full URI... + */ + + cgiStartHTML(title); + cgiCopyTemplateLang("choose-uri.tmpl"); + cgiEndHTML(); + } + else if (!strncmp(var, "serial:", 7) && !cgiGetVariable("BAUDRATE")) + { + /* + * Need baud rate, parity, etc. + */ + + if ((var = strchr(var, '?')) != NULL && + strncmp(var, "?baud=", 6) == 0) + maxrate = atoi(var + 6); + else + maxrate = 19200; + + for (i = 0; i < 10; i ++) + if (baudrates[i] > maxrate) + break; + else + { + sprintf(baudrate, "%d", baudrates[i]); + cgiSetArray("BAUDRATES", i, baudrate); + } + + cgiStartHTML(title); + cgiCopyTemplateLang("choose-serial.tmpl"); + cgiEndHTML(); + } + else if (!name || !cgiGetVariable("PRINTER_LOCATION")) + { + cgiStartHTML(title); + + if (modify) + { + /* + * Update the location and description of an existing printer... + */ + + if (oldinfo) + { + if ((attr = ippFindAttribute(oldinfo, "printer-info", + IPP_TAG_TEXT)) != NULL) + cgiSetVariable("PRINTER_INFO", attr->values[0].string.text); + + if ((attr = ippFindAttribute(oldinfo, "printer-location", + IPP_TAG_TEXT)) != NULL) + cgiSetVariable("PRINTER_LOCATION", attr->values[0].string.text); + + if ((attr = ippFindAttribute(oldinfo, "printer-is-shared", + IPP_TAG_BOOLEAN)) != NULL) + cgiSetVariable("PRINTER_IS_SHARED", + attr->values[0].boolean ? "1" : "0"); + } + + cgiCopyTemplateLang("modify-printer.tmpl"); + } + else + { + /* + * Get the name, location, and description for a new printer... + */ + +#ifdef __APPLE__ + if (!strncmp(var, "usb:", 4)) + cgiSetVariable("printer_is_shared", "1"); + else +#endif /* __APPLE__ */ + cgiSetVariable("printer_is_shared", "0"); + + cgiCopyTemplateLang("add-printer.tmpl"); + } + + cgiEndHTML(); + + if (oldinfo) + ippDelete(oldinfo); + + return; + } + else if (!file && + (!cgiGetVariable("PPD_NAME") || cgiGetVariable("SELECT_MAKE"))) + { + int ipp_everywhere = !strncmp(var, "ipp://", 6) || !strncmp(var, "ipps://", 7) || (!strncmp(var, "dnssd://", 8) && (strstr(var, "_ipp._tcp") || strstr(var, "_ipps._tcp"))); + + if (modify && !cgiGetVariable("SELECT_MAKE")) + { + /* + * Get the PPD file... + */ + + int fd; /* PPD file */ + char filename[1024]; /* PPD filename */ + ppd_file_t *ppd; /* PPD information */ + char buffer[1024]; /* Buffer */ + ssize_t bytes; /* Number of bytes */ + http_status_t get_status; /* Status of GET */ + + + /* TODO: Use cupsGetFile() API... */ + snprintf(uri, sizeof(uri), "/printers/%s.ppd", name); + + if (httpGet(http, uri)) + httpGet(http, uri); + + while ((get_status = httpUpdate(http)) == HTTP_CONTINUE); + + if (get_status != HTTP_OK) + { + httpFlush(http); + + fprintf(stderr, "ERROR: Unable to get PPD file %s: %d - %s\n", + uri, get_status, httpStatus(get_status)); + } + else if ((fd = cupsTempFd(filename, sizeof(filename))) >= 0) + { + while ((bytes = httpRead2(http, buffer, sizeof(buffer))) > 0) + write(fd, buffer, (size_t)bytes); + + close(fd); + + if ((ppd = ppdOpenFile(filename)) != NULL) + { + if (ppd->manufacturer) + cgiSetVariable("CURRENT_MAKE", ppd->manufacturer); + + if (ppd->nickname) + cgiSetVariable("CURRENT_MAKE_AND_MODEL", ppd->nickname); + + ppdClose(ppd); + unlink(filename); + } + else + { + int linenum; /* Line number */ + + fprintf(stderr, "ERROR: Unable to open PPD file %s: %s\n", + filename, ppdErrorString(ppdLastError(&linenum))); + } + } + else + { + httpFlush(http); + + fprintf(stderr, + "ERROR: Unable to create temporary file for PPD file: %s\n", + strerror(errno)); + } + } + + /* + * Build a CUPS_GET_PPDS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(CUPS_GET_PPDS); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, "ipp://localhost/printers/"); + + if ((var = cgiGetVariable("PPD_MAKE")) == NULL) + var = cgiGetVariable("CURRENT_MAKE"); + if (var && !cgiGetVariable("SELECT_MAKE")) + { + const char *make_model; /* Make and model */ + + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_TEXT, + "ppd-make", NULL, var); + + if ((make_model = cgiGetVariable("CURRENT_MAKE_AND_MODEL")) != NULL) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_TEXT, + "ppd-make-and-model", NULL, make_model); + } + else + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", NULL, "ppd-make"); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + /* + * Got the list of PPDs, see if the user has selected a make... + */ + + if (cgiSetIPPVars(response, NULL, NULL, NULL, 0) == 0 && !modify) + { + /* + * No PPD files with this make, try again with all makes... + */ + + ippDelete(response); + + request = ippNewRequest(CUPS_GET_PPDS); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, "ipp://localhost/printers/"); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", NULL, "ppd-make"); + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + cgiSetIPPVars(response, NULL, NULL, NULL, 0); + + cgiStartHTML(title); + cgiCopyTemplateLang("choose-make.tmpl"); + cgiEndHTML(); + } + else if (!var || cgiGetVariable("SELECT_MAKE")) + { + cgiStartHTML(title); + cgiCopyTemplateLang("choose-make.tmpl"); + cgiEndHTML(); + } + else + { + /* + * Let the user choose a model... + */ + + cgiStartHTML(title); + if (!cgiGetVariable("PPD_MAKE")) + cgiSetVariable("PPD_MAKE", cgiGetVariable("CURRENT_MAKE")); + if (ipp_everywhere) + cgiSetVariable("SHOW_IPP_EVERYWHERE", "1"); + cgiCopyTemplateLang("choose-model.tmpl"); + cgiEndHTML(); + } + + ippDelete(response); + } + else + { + cgiStartHTML(title); + cgiShowIPPError(_("Unable to get list of printer drivers")); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + } + } + else + { + /* + * Build a CUPS_ADD_PRINTER request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * printer-location + * printer-info + * ppd-name + * device-uri + * printer-is-accepting-jobs + * printer-is-shared + * printer-state + */ + + request = ippNewRequest(CUPS_ADD_PRINTER); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", + cgiGetVariable("PRINTER_NAME")); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + if (!file) + { + var = cgiGetVariable("PPD_NAME"); + if (!strcmp(var, "everywhere")) + get_printer_ppd(cgiGetVariable("DEVICE_URI"), evefile, sizeof(evefile)); + else if (strcmp(var, "__no_change__")) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "ppd-name", + NULL, var); + } + + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-location", + NULL, cgiGetVariable("PRINTER_LOCATION")); + + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-info", + NULL, cgiGetVariable("PRINTER_INFO")); + + strlcpy(uri, cgiGetVariable("DEVICE_URI"), sizeof(uri)); + + /* + * Strip make and model from URI... + */ + + if ((uriptr = strrchr(uri, '|')) != NULL) + *uriptr = '\0'; + + if (!strncmp(uri, "serial:", 7)) + { + /* + * Update serial port URI to include baud rate, etc. + */ + + if ((uriptr = strchr(uri, '?')) == NULL) + uriptr = uri + strlen(uri); + + snprintf(uriptr, sizeof(uri) - (size_t)(uriptr - uri), + "?baud=%s+bits=%s+parity=%s+flow=%s", + cgiGetVariable("BAUDRATE"), cgiGetVariable("BITS"), + cgiGetVariable("PARITY"), cgiGetVariable("FLOW")); + } + + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_URI, "device-uri", + NULL, uri); + + ippAddBoolean(request, IPP_TAG_PRINTER, "printer-is-accepting-jobs", 1); + + var = cgiGetVariable("printer_is_shared"); + ippAddBoolean(request, IPP_TAG_PRINTER, "printer-is-shared", + var && (!strcmp(var, "1") || !strcmp(var, "on"))); + + ippAddInteger(request, IPP_TAG_PRINTER, IPP_TAG_ENUM, "printer-state", + IPP_PRINTER_IDLE); + + /* + * Do the request and get back a response... + */ + + if (file) + ippDelete(cupsDoFileRequest(http, request, "/admin/", file->tempfile)); + else if (evefile[0]) + { + ippDelete(cupsDoFileRequest(http, request, "/admin/", evefile)); + unlink(evefile); + } + else + ippDelete(cupsDoRequest(http, request, "/admin/")); + + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + else if (cupsLastError() > IPP_OK_CONFLICT) + { + cgiStartHTML(title); + cgiShowIPPError(modify ? _("Unable to modify printer") : + _("Unable to add printer")); + } + else if (modify) + { + /* + * Redirect successful updates back to the printer page... + */ + + char refresh[1024]; /* Refresh URL */ + + + cgiFormEncode(uri, name, sizeof(uri)); + + snprintf(refresh, sizeof(refresh), + "5;/admin/?OP=redirect&URL=/printers/%s", uri); + + cgiSetVariable("refresh_page", refresh); + + cgiStartHTML(title); + + cgiCopyTemplateLang("printer-modified.tmpl"); + } + else + { + /* + * Set the printer options... + */ + + cgiSetVariable("OP", "set-printer-options"); + do_set_options(http, 0); + return; + } + + cgiEndHTML(); + } + + if (oldinfo) + ippDelete(oldinfo); +} + + +/* + * 'do_config_server()' - Configure server settings. + */ + +static void +do_config_server(http_t *http) /* I - HTTP connection */ +{ + if (cgiGetVariable("CHANGESETTINGS")) + { + /* + * Save basic setting changes... + */ + + int num_settings; /* Number of server settings */ + cups_option_t *settings; /* Server settings */ + int advanced, /* Advanced settings shown? */ + changed; /* Have settings changed? */ + const char *debug_logging, /* DEBUG_LOGGING value */ + *preserve_jobs = NULL, + /* PRESERVE_JOBS value */ + *remote_admin, /* REMOTE_ADMIN value */ + *remote_any, /* REMOTE_ANY value */ + *share_printers,/* SHARE_PRINTERS value */ + *user_cancel_any, + /* USER_CANCEL_ANY value */ + *browse_web_if = NULL, + /* BrowseWebIF value */ + *preserve_job_history = NULL, + /* PreserveJobHistory value */ + *preserve_job_files = NULL, + /* PreserveJobFiles value */ + *max_clients = NULL, + /* MaxClients value */ + *max_jobs = NULL, + /* MaxJobs value */ + *max_log_size = NULL; + /* MaxLogSize value */ + const char *current_browse_web_if, + /* BrowseWebIF value */ + *current_preserve_job_history, + /* PreserveJobHistory value */ + *current_preserve_job_files, + /* PreserveJobFiles value */ + *current_max_clients, + /* MaxClients value */ + *current_max_jobs, + /* MaxJobs value */ + *current_max_log_size; + /* MaxLogSize value */ +#ifdef HAVE_GSSAPI + char default_auth_type[255]; + /* DefaultAuthType value */ + const char *val; /* Setting value */ +#endif /* HAVE_GSSAPI */ + + + /* + * Get the checkbox values from the form... + */ + + debug_logging = cgiGetVariable("DEBUG_LOGGING") ? "1" : "0"; + remote_admin = cgiGetVariable("REMOTE_ADMIN") ? "1" : "0"; + remote_any = cgiGetVariable("REMOTE_ANY") ? "1" : "0"; + share_printers = cgiGetVariable("SHARE_PRINTERS") ? "1" : "0"; + user_cancel_any = cgiGetVariable("USER_CANCEL_ANY") ? "1" : "0"; + + advanced = cgiGetVariable("ADVANCEDSETTINGS") != NULL; + if (advanced) + { + /* + * Get advanced settings... + */ + + browse_web_if = cgiGetVariable("BROWSE_WEB_IF") ? "Yes" : "No"; + max_clients = cgiGetVariable("MAX_CLIENTS"); + max_log_size = cgiGetVariable("MAX_LOG_SIZE"); + preserve_jobs = cgiGetVariable("PRESERVE_JOBS"); + + if (preserve_jobs) + { + max_jobs = cgiGetVariable("MAX_JOBS"); + preserve_job_history = cgiGetVariable("PRESERVE_JOB_HISTORY"); + preserve_job_files = cgiGetVariable("PRESERVE_JOB_FILES"); + + if (!max_jobs || atoi(max_jobs) < 0) + max_jobs = "500"; + + if (!preserve_job_history) + preserve_job_history = "On"; + + if (!preserve_job_files) + preserve_job_files = "1d"; + } + else + { + max_jobs = "0"; + preserve_job_history = "No"; + preserve_job_files = "No"; + } + + if (!max_clients || atoi(max_clients) <= 0) + max_clients = "100"; + + if (!max_log_size || atoi(max_log_size) <= 0.0) + max_log_size = "1m"; + } + + /* + * Get the current server settings... + */ + + if (!cupsAdminGetServerSettings(http, &num_settings, &settings)) + { + cgiStartHTML(cgiText(_("Change Settings"))); + cgiSetVariable("MESSAGE", + cgiText(_("Unable to change server settings"))); + cgiSetVariable("ERROR", cupsLastErrorString()); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + return; + } + +#ifdef HAVE_GSSAPI + /* + * Get authentication settings... + */ + + if (cgiGetVariable("KERBEROS")) + strlcpy(default_auth_type, "Negotiate", sizeof(default_auth_type)); + else + { + val = cupsGetOption("DefaultAuthType", num_settings, settings); + + if (!val || !_cups_strcasecmp(val, "Negotiate")) + strlcpy(default_auth_type, "Basic", sizeof(default_auth_type)); + else + strlcpy(default_auth_type, val, sizeof(default_auth_type)); + } + + fprintf(stderr, "DEBUG: DefaultAuthType %s\n", default_auth_type); +#endif /* HAVE_GSSAPI */ + + if ((current_browse_web_if = cupsGetOption("BrowseWebIF", num_settings, + settings)) == NULL) + current_browse_web_if = "No"; + + if ((current_preserve_job_history = cupsGetOption("PreserveJobHistory", + num_settings, + settings)) == NULL) + current_preserve_job_history = "Yes"; + + if ((current_preserve_job_files = cupsGetOption("PreserveJobFiles", + num_settings, + settings)) == NULL) + current_preserve_job_files = "1d"; + + if ((current_max_clients = cupsGetOption("MaxClients", num_settings, + settings)) == NULL) + current_max_clients = "100"; + + if ((current_max_jobs = cupsGetOption("MaxJobs", num_settings, + settings)) == NULL) + current_max_jobs = "500"; + + if ((current_max_log_size = cupsGetOption("MaxLogSize", num_settings, + settings)) == NULL) + current_max_log_size = "1m"; + + /* + * See if the settings have changed... + */ + + changed = strcmp(debug_logging, cupsGetOption(CUPS_SERVER_DEBUG_LOGGING, + num_settings, settings)) || + strcmp(remote_admin, cupsGetOption(CUPS_SERVER_REMOTE_ADMIN, + num_settings, settings)) || + strcmp(remote_any, cupsGetOption(CUPS_SERVER_REMOTE_ANY, + num_settings, settings)) || + strcmp(share_printers, cupsGetOption(CUPS_SERVER_SHARE_PRINTERS, + num_settings, settings)) || +#ifdef HAVE_GSSAPI + !cupsGetOption("DefaultAuthType", num_settings, settings) || + strcmp(default_auth_type, cupsGetOption("DefaultAuthType", + num_settings, settings)) || +#endif /* HAVE_GSSAPI */ + strcmp(user_cancel_any, cupsGetOption(CUPS_SERVER_USER_CANCEL_ANY, + num_settings, settings)); + + if (advanced && !changed) + changed = _cups_strcasecmp(browse_web_if, current_browse_web_if) || + _cups_strcasecmp(preserve_job_history, current_preserve_job_history) || + _cups_strcasecmp(preserve_job_files, current_preserve_job_files) || + _cups_strcasecmp(max_clients, current_max_clients) || + _cups_strcasecmp(max_jobs, current_max_jobs) || + _cups_strcasecmp(max_log_size, current_max_log_size); + + if (changed) + { + /* + * Settings *have* changed, so save the changes... + */ + + cupsFreeOptions(num_settings, settings); + + num_settings = 0; + num_settings = cupsAddOption(CUPS_SERVER_DEBUG_LOGGING, + debug_logging, num_settings, &settings); + num_settings = cupsAddOption(CUPS_SERVER_REMOTE_ADMIN, + remote_admin, num_settings, &settings); + num_settings = cupsAddOption(CUPS_SERVER_REMOTE_ANY, + remote_any, num_settings, &settings); + num_settings = cupsAddOption(CUPS_SERVER_SHARE_PRINTERS, + share_printers, num_settings, &settings); + num_settings = cupsAddOption(CUPS_SERVER_USER_CANCEL_ANY, + user_cancel_any, num_settings, &settings); +#ifdef HAVE_GSSAPI + num_settings = cupsAddOption("DefaultAuthType", default_auth_type, + num_settings, &settings); +#endif /* HAVE_GSSAPI */ + + if (advanced) + { + /* + * Add advanced settings... + */ + + if (_cups_strcasecmp(browse_web_if, current_browse_web_if)) + num_settings = cupsAddOption("BrowseWebIF", browse_web_if, + num_settings, &settings); + if (_cups_strcasecmp(preserve_job_history, current_preserve_job_history)) + num_settings = cupsAddOption("PreserveJobHistory", + preserve_job_history, num_settings, + &settings); + if (_cups_strcasecmp(preserve_job_files, current_preserve_job_files)) + num_settings = cupsAddOption("PreserveJobFiles", preserve_job_files, + num_settings, &settings); + if (_cups_strcasecmp(max_clients, current_max_clients)) + num_settings = cupsAddOption("MaxClients", max_clients, num_settings, + &settings); + if (_cups_strcasecmp(max_jobs, current_max_jobs)) + num_settings = cupsAddOption("MaxJobs", max_jobs, num_settings, + &settings); + if (_cups_strcasecmp(max_log_size, current_max_log_size)) + num_settings = cupsAddOption("MaxLogSize", max_log_size, num_settings, + &settings); + } + + if (!cupsAdminSetServerSettings(http, num_settings, settings)) + { + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + + cgiStartHTML(cgiText(_("Change Settings"))); + cgiSetVariable("MESSAGE", + cgiText(_("Unable to change server settings"))); + cgiSetVariable("ERROR", cupsLastErrorString()); + cgiCopyTemplateLang("error.tmpl"); + } + else + { + if (advanced) + cgiSetVariable("refresh_page", "5;URL=/admin/?OP=redirect&" + "URL=/admin/?ADVANCEDSETTINGS=YES"); + else + cgiSetVariable("refresh_page", "5;URL=/admin/?OP=redirect"); + cgiStartHTML(cgiText(_("Change Settings"))); + cgiCopyTemplateLang("restart.tmpl"); + } + } + else + { + /* + * No changes... + */ + + cgiSetVariable("refresh_page", "5;URL=/admin/?OP=redirect"); + cgiStartHTML(cgiText(_("Change Settings"))); + cgiCopyTemplateLang("norestart.tmpl"); + } + + cupsFreeOptions(num_settings, settings); + + cgiEndHTML(); + } + else if (cgiGetVariable("SAVECHANGES") && cgiGetVariable("CUPSDCONF")) + { + /* + * Save hand-edited config file... + */ + + http_status_t status; /* PUT status */ + char tempfile[1024]; /* Temporary new cupsd.conf */ + int tempfd; /* Temporary file descriptor */ + cups_file_t *temp; /* Temporary file */ + const char *start, /* Start of line */ + *end; /* End of line */ + + + /* + * Create a temporary file for the new cupsd.conf file... + */ + + if ((tempfd = cupsTempFd(tempfile, sizeof(tempfile))) < 0) + { + cgiStartHTML(cgiText(_("Edit Configuration File"))); + cgiSetVariable("MESSAGE", cgiText(_("Unable to create temporary file"))); + cgiSetVariable("ERROR", strerror(errno)); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + + perror(tempfile); + return; + } + + if ((temp = cupsFileOpenFd(tempfd, "w")) == NULL) + { + cgiStartHTML(cgiText(_("Edit Configuration File"))); + cgiSetVariable("MESSAGE", cgiText(_("Unable to create temporary file"))); + cgiSetVariable("ERROR", strerror(errno)); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + + perror(tempfile); + close(tempfd); + unlink(tempfile); + return; + } + + /* + * Copy the cupsd.conf text from the form variable... + */ + + start = cgiGetVariable("CUPSDCONF"); + while (start) + { + if ((end = strstr(start, "\r\n")) == NULL) + if ((end = strstr(start, "\n")) == NULL) + end = start + strlen(start); + + cupsFileWrite(temp, start, (size_t)(end - start)); + cupsFilePutChar(temp, '\n'); + + if (*end == '\r') + start = end + 2; + else if (*end == '\n') + start = end + 1; + else + start = NULL; + } + + cupsFileClose(temp); + + /* + * Upload the configuration file to the server... + */ + + status = cupsPutFile(http, "/admin/conf/cupsd.conf", tempfile); + + if (status == HTTP_UNAUTHORIZED) + { + puts("Status: 401\n"); + unlink(tempfile); + exit(0); + } + else if (status != HTTP_CREATED) + { + cgiSetVariable("MESSAGE", + cgiText(_("Unable to upload cupsd.conf file"))); + cgiSetVariable("ERROR", httpStatus(status)); + + cgiStartHTML(cgiText(_("Edit Configuration File"))); + cgiCopyTemplateLang("error.tmpl"); + } + else + { + cgiSetVariable("refresh_page", "5;URL=/admin/"); + + cgiStartHTML(cgiText(_("Edit Configuration File"))); + cgiCopyTemplateLang("restart.tmpl"); + } + + cgiEndHTML(); + + unlink(tempfile); + } + else + { + struct stat info; /* cupsd.conf information */ + cups_file_t *cupsd; /* cupsd.conf file */ + char *buffer, /* Buffer for entire file */ + *bufptr, /* Pointer into buffer */ + *bufend; /* End of buffer */ + int ch; /* Character from file */ + char filename[1024]; /* Filename */ + const char *server_root; /* Location of config files */ + + + /* + * Locate the cupsd.conf file... + */ + + if ((server_root = getenv("CUPS_SERVERROOT")) == NULL) + server_root = CUPS_SERVERROOT; + + snprintf(filename, sizeof(filename), "%s/cupsd.conf", server_root); + + /* + * Figure out the size... + */ + + if (stat(filename, &info)) + { + cgiStartHTML(cgiText(_("Edit Configuration File"))); + cgiSetVariable("MESSAGE", + cgiText(_("Unable to access cupsd.conf file"))); + cgiSetVariable("ERROR", strerror(errno)); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + + perror(filename); + return; + } + + if (info.st_size > (1024 * 1024)) + { + cgiStartHTML(cgiText(_("Edit Configuration File"))); + cgiSetVariable("MESSAGE", + cgiText(_("Unable to access cupsd.conf file"))); + cgiSetVariable("ERROR", + cgiText(_("Unable to edit cupsd.conf files larger than " + "1MB"))); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + + fprintf(stderr, "ERROR: \"%s\" too large (%ld) to edit!\n", filename, + (long)info.st_size); + return; + } + + /* + * Open the cupsd.conf file... + */ + + if ((cupsd = cupsFileOpen(filename, "r")) == NULL) + { + /* + * Unable to open - log an error... + */ + + cgiStartHTML(cgiText(_("Edit Configuration File"))); + cgiSetVariable("MESSAGE", + cgiText(_("Unable to access cupsd.conf file"))); + cgiSetVariable("ERROR", strerror(errno)); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + + perror(filename); + return; + } + + /* + * Allocate memory and load the file into a string buffer... + */ + + if ((buffer = calloc(1, (size_t)info.st_size + 1)) != NULL) + { + cupsFileRead(cupsd, buffer, (size_t)info.st_size); + cgiSetVariable("CUPSDCONF", buffer); + free(buffer); + } + + cupsFileClose(cupsd); + + /* + * Then get the default cupsd.conf file and put that into a string as + * well... + */ + + strlcat(filename, ".default", sizeof(filename)); + + if (!stat(filename, &info) && info.st_size < (1024 * 1024) && + (cupsd = cupsFileOpen(filename, "r")) != NULL) + { + if ((buffer = calloc(1, 2 * (size_t)info.st_size + 1)) != NULL) + { + bufend = buffer + 2 * info.st_size - 1; + + for (bufptr = buffer; + bufptr < bufend && (ch = cupsFileGetChar(cupsd)) != EOF;) + { + if (ch == '\\' || ch == '\"') + { + *bufptr++ = '\\'; + *bufptr++ = (char)ch; + } + else if (ch == '\n') + { + *bufptr++ = '\\'; + *bufptr++ = 'n'; + } + else if (ch == '\t') + { + *bufptr++ = '\\'; + *bufptr++ = 't'; + } + else if (ch >= ' ') + *bufptr++ = (char)ch; + } + + *bufptr = '\0'; + + cgiSetVariable("CUPSDCONF_DEFAULT", buffer); + free(buffer); + } + + cupsFileClose(cupsd); + } + + /* + * Show the current config file... + */ + + cgiStartHTML(cgiText(_("Edit Configuration File"))); + + cgiCopyTemplateLang("edit-config.tmpl"); + + cgiEndHTML(); + } +} + + +/* + * 'do_delete_class()' - Delete a class. + */ + +static void +do_delete_class(http_t *http) /* I - HTTP connection */ +{ + ipp_t *request; /* IPP request */ + char uri[HTTP_MAX_URI]; /* Job URI */ + const char *pclass; /* Printer class name */ + + + /* + * Get form variables... + */ + + if (cgiGetVariable("CONFIRM") == NULL) + { + cgiStartHTML(cgiText(_("Delete Class"))); + cgiCopyTemplateLang("class-confirm.tmpl"); + cgiEndHTML(); + return; + } + + if ((pclass = cgiGetVariable("PRINTER_NAME")) != NULL) + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/classes/%s", pclass); + else + { + cgiStartHTML(cgiText(_("Delete Class"))); + cgiSetVariable("ERROR", cgiText(_("Missing form variable"))); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + return; + } + + /* + * Build a CUPS_DELETE_CLASS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(CUPS_DELETE_CLASS); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + /* + * Do the request and get back a response... + */ + + ippDelete(cupsDoRequest(http, request, "/admin/")); + + /* + * Show the results... + */ + + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + else if (cupsLastError() <= IPP_OK_CONFLICT) + { + /* + * Redirect successful updates back to the classes page... + */ + + cgiSetVariable("refresh_page", "5;URL=/admin/?OP=redirect&URL=/classes"); + } + + cgiStartHTML(cgiText(_("Delete Class"))); + + if (cupsLastError() > IPP_OK_CONFLICT) + cgiShowIPPError(_("Unable to delete class")); + else + cgiCopyTemplateLang("class-deleted.tmpl"); + + cgiEndHTML(); +} + + +/* + * 'do_delete_printer()' - Delete a printer. + */ + +static void +do_delete_printer(http_t *http) /* I - HTTP connection */ +{ + ipp_t *request; /* IPP request */ + char uri[HTTP_MAX_URI]; /* Job URI */ + const char *printer; /* Printer printer name */ + + + /* + * Get form variables... + */ + + if (cgiGetVariable("CONFIRM") == NULL) + { + cgiStartHTML(cgiText(_("Delete Printer"))); + cgiCopyTemplateLang("printer-confirm.tmpl"); + cgiEndHTML(); + return; + } + + if ((printer = cgiGetVariable("PRINTER_NAME")) != NULL) + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", printer); + else + { + cgiStartHTML(cgiText(_("Delete Printer"))); + cgiSetVariable("ERROR", cgiText(_("Missing form variable"))); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + return; + } + + /* + * Build a CUPS_DELETE_PRINTER request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(CUPS_DELETE_PRINTER); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + /* + * Do the request and get back a response... + */ + + ippDelete(cupsDoRequest(http, request, "/admin/")); + + /* + * Show the results... + */ + + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + else if (cupsLastError() <= IPP_OK_CONFLICT) + { + /* + * Redirect successful updates back to the printers page... + */ + + cgiSetVariable("refresh_page", "5;URL=/admin/?OP=redirect&URL=/printers"); + } + + cgiStartHTML(cgiText(_("Delete Printer"))); + + if (cupsLastError() > IPP_OK_CONFLICT) + cgiShowIPPError(_("Unable to delete printer")); + else + cgiCopyTemplateLang("printer-deleted.tmpl"); + + cgiEndHTML(); +} + + +/* + * 'do_list_printers()' - List available printers. + */ + +static void +do_list_printers(http_t *http) /* I - HTTP connection */ +{ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* IPP attribute */ + + + cgiStartHTML(cgiText(_("List Available Printers"))); + fflush(stdout); + + /* + * Get the list of printers and their devices... + */ + + request = ippNewRequest(CUPS_GET_PRINTERS); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", NULL, "device-uri"); + + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_ENUM, "printer-type", + CUPS_PRINTER_LOCAL); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_ENUM, "printer-type-mask", + CUPS_PRINTER_LOCAL); + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + /* + * Got the printer list, now load the devices... + */ + + int i; /* Looping var */ + cups_array_t *printer_devices; /* Printer devices for local printers */ + char *printer_device; /* Current printer device */ + + + /* + * Allocate an array and copy the device strings... + */ + + printer_devices = cupsArrayNew((cups_array_func_t)strcmp, NULL); + + for (attr = ippFindAttribute(response, "device-uri", IPP_TAG_URI); + attr; + attr = ippFindNextAttribute(response, "device-uri", IPP_TAG_URI)) + { + cupsArrayAdd(printer_devices, strdup(attr->values[0].string.text)); + } + + /* + * Free the printer list and get the device list... + */ + + ippDelete(response); + + request = ippNewRequest(CUPS_GET_DEVICES); + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + /* + * Got the device list, let's parse it... + */ + + const char *device_uri, /* device-uri attribute value */ + *device_make_and_model, /* device-make-and-model value */ + *device_info; /* device-info value */ + + + for (i = 0, attr = response->attrs; attr; attr = attr->next) + { + /* + * Skip leading attributes until we hit a device... + */ + + while (attr && attr->group_tag != IPP_TAG_PRINTER) + attr = attr->next; + + if (!attr) + break; + + /* + * Pull the needed attributes from this device... + */ + + device_info = NULL; + device_make_and_model = NULL; + device_uri = NULL; + + while (attr && attr->group_tag == IPP_TAG_PRINTER) + { + if (!strcmp(attr->name, "device-info") && + attr->value_tag == IPP_TAG_TEXT) + device_info = attr->values[0].string.text; + + if (!strcmp(attr->name, "device-make-and-model") && + attr->value_tag == IPP_TAG_TEXT) + device_make_and_model = attr->values[0].string.text; + + if (!strcmp(attr->name, "device-uri") && + attr->value_tag == IPP_TAG_URI) + device_uri = attr->values[0].string.text; + + attr = attr->next; + } + + /* + * See if we have everything needed... + */ + + if (device_info && device_make_and_model && device_uri && + _cups_strcasecmp(device_make_and_model, "unknown") && + strchr(device_uri, ':')) + { + /* + * Yes, now see if there is already a printer for this + * device... + */ + + if (!cupsArrayFind(printer_devices, (void *)device_uri)) + { + /* + * Not found, so it must be a new printer... + */ + + char option[1024], /* Form variables for this device */ + *option_ptr; /* Pointer into string */ + const char *ptr; /* Pointer into device string */ + + + /* + * Format the printer name variable for this device... + * + * We use the device-info string first, then device-uri, + * and finally device-make-and-model to come up with a + * suitable name. + */ + + if (_cups_strncasecmp(device_info, "unknown", 7)) + ptr = device_info; + else if ((ptr = strstr(device_uri, "://")) != NULL) + ptr += 3; + else + ptr = device_make_and_model; + + for (option_ptr = option; + option_ptr < (option + sizeof(option) - 1) && *ptr; + ptr ++) + if (isalnum(*ptr & 255) || *ptr == '_' || *ptr == '-' || + *ptr == '.') + *option_ptr++ = *ptr; + else if ((*ptr == ' ' || *ptr == '/') && option_ptr > option && + option_ptr[-1] != '_') + *option_ptr++ = '_'; + else if (*ptr == '?' || *ptr == '(') + break; + + *option_ptr = '\0'; + + cgiSetArray("TEMPLATE_NAME", i, option); + + /* + * Finally, set the form variables for this printer... + */ + + cgiSetArray("device_info", i, device_info); + cgiSetArray("device_make_and_model", i, device_make_and_model); + cgiSetArray("device_uri", i, device_uri); + i ++; + } + } + + if (!attr) + break; + } + + ippDelete(response); + + /* + * Free the device list... + */ + + for (printer_device = (char *)cupsArrayFirst(printer_devices); + printer_device; + printer_device = (char *)cupsArrayNext(printer_devices)) + free(printer_device); + + cupsArrayDelete(printer_devices); + } + } + + /* + * Finally, show the printer list... + */ + + cgiCopyTemplateLang("list-available-printers.tmpl"); + + cgiEndHTML(); +} + + +/* + * 'do_menu()' - Show the main menu. + */ + +static void +do_menu(http_t *http) /* I - HTTP connection */ +{ + int num_settings; /* Number of server settings */ + cups_option_t *settings; /* Server settings */ + const char *val; /* Setting value */ + + + /* + * Get the current server settings... + */ + + if (!cupsAdminGetServerSettings(http, &num_settings, &settings)) + { + cgiSetVariable("SETTINGS_MESSAGE", + cgiText(_("Unable to open cupsd.conf file:"))); + cgiSetVariable("SETTINGS_ERROR", cupsLastErrorString()); + } + + if ((val = cupsGetOption(CUPS_SERVER_DEBUG_LOGGING, num_settings, + settings)) != NULL && atoi(val)) + cgiSetVariable("DEBUG_LOGGING", "CHECKED"); + + if ((val = cupsGetOption(CUPS_SERVER_REMOTE_ADMIN, num_settings, + settings)) != NULL && atoi(val)) + cgiSetVariable("REMOTE_ADMIN", "CHECKED"); + + if ((val = cupsGetOption(CUPS_SERVER_REMOTE_ANY, num_settings, + settings)) != NULL && atoi(val)) + cgiSetVariable("REMOTE_ANY", "CHECKED"); + + if ((val = cupsGetOption(CUPS_SERVER_SHARE_PRINTERS, num_settings, + settings)) != NULL && atoi(val)) + cgiSetVariable("SHARE_PRINTERS", "CHECKED"); + + if ((val = cupsGetOption(CUPS_SERVER_USER_CANCEL_ANY, num_settings, + settings)) != NULL && atoi(val)) + cgiSetVariable("USER_CANCEL_ANY", "CHECKED"); + +#ifdef HAVE_GSSAPI + cgiSetVariable("HAVE_GSSAPI", "1"); + + if ((val = cupsGetOption("DefaultAuthType", num_settings, + settings)) != NULL && !_cups_strcasecmp(val, "Negotiate")) + cgiSetVariable("KERBEROS", "CHECKED"); + else +#endif /* HAVE_GSSAPI */ + cgiSetVariable("KERBEROS", ""); + + if ((val = cupsGetOption("BrowseWebIF", num_settings, + settings)) == NULL) + val = "No"; + + if (!_cups_strcasecmp(val, "yes") || !_cups_strcasecmp(val, "on") || + !_cups_strcasecmp(val, "true")) + cgiSetVariable("BROWSE_WEB_IF", "CHECKED"); + + if ((val = cupsGetOption("PreserveJobHistory", num_settings, + settings)) == NULL) + val = "Yes"; + + if (val && + (!_cups_strcasecmp(val, "0") || !_cups_strcasecmp(val, "no") || + !_cups_strcasecmp(val, "off") || !_cups_strcasecmp(val, "false") || + !_cups_strcasecmp(val, "disabled"))) + { + cgiSetVariable("PRESERVE_JOB_HISTORY", "0"); + cgiSetVariable("PRESERVE_JOB_FILES", "0"); + } + else + { + cgiSetVariable("PRESERVE_JOBS", "CHECKED"); + cgiSetVariable("PRESERVE_JOB_HISTORY", val); + + if ((val = cupsGetOption("PreserveJobFiles", num_settings, + settings)) == NULL) + val = "1d"; + + cgiSetVariable("PRESERVE_JOB_FILES", val); + + } + + if ((val = cupsGetOption("MaxClients", num_settings, settings)) == NULL) + val = "100"; + + cgiSetVariable("MAX_CLIENTS", val); + + if ((val = cupsGetOption("MaxJobs", num_settings, settings)) == NULL) + val = "500"; + + cgiSetVariable("MAX_JOBS", val); + + if ((val = cupsGetOption("MaxLogSize", num_settings, settings)) == NULL) + val = "1m"; + + cgiSetVariable("MAX_LOG_SIZE", val); + + cupsFreeOptions(num_settings, settings); + + /* + * Finally, show the main menu template... + */ + + cgiStartHTML(cgiText(_("Administration"))); + + cgiCopyTemplateLang("admin.tmpl"); + + cgiEndHTML(); +} + + +/* + * 'do_set_allowed_users()' - Set the allowed/denied users for a queue. + */ + +static void +do_set_allowed_users(http_t *http) /* I - HTTP connection */ +{ + int i; /* Looping var */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + char uri[HTTP_MAX_URI]; /* Printer URI */ + const char *printer, /* Printer name (purge-jobs) */ + *is_class, /* Is a class? */ + *users, /* List of users or groups */ + *type; /* Allow/deny type */ + int num_users; /* Number of users */ + char *ptr, /* Pointer into users string */ + *end, /* Pointer to end of users string */ + quote; /* Quote character */ + ipp_attribute_t *attr; /* Attribute */ + static const char * const attrs[] = /* Requested attributes */ + { + "requesting-user-name-allowed", + "requesting-user-name-denied" + }; + + + is_class = cgiGetVariable("IS_CLASS"); + printer = cgiGetVariable("PRINTER_NAME"); + + if (!printer) + { + cgiSetVariable("ERROR", cgiText(_("Missing form variable"))); + cgiStartHTML(cgiText(_("Set Allowed Users"))); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + return; + } + + users = cgiGetVariable("users"); + type = cgiGetVariable("type"); + + if (!users || !type || + (strcmp(type, "requesting-user-name-allowed") && + strcmp(type, "requesting-user-name-denied"))) + { + /* + * Build a Get-Printer-Attributes request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requested-attributes + */ + + request = ippNewRequest(IPP_GET_PRINTER_ATTRIBUTES); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, is_class ? "/classes/%s" : "/printers/%s", + printer); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + (int)(sizeof(attrs) / sizeof(attrs[0])), NULL, attrs); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + cgiSetIPPVars(response, NULL, NULL, NULL, 0); + + ippDelete(response); + } + + cgiStartHTML(cgiText(_("Set Allowed Users"))); + + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + else if (cupsLastError() > IPP_OK_CONFLICT) + cgiShowIPPError(_("Unable to get printer attributes")); + else + cgiCopyTemplateLang("users.tmpl"); + + cgiEndHTML(); + } + else + { + /* + * Save the changes... + */ + + for (num_users = 0, ptr = (char *)users; *ptr; num_users ++) + { + /* + * Skip whitespace and commas... + */ + + while (*ptr == ',' || isspace(*ptr & 255)) + ptr ++; + + if (!*ptr) + break; + + if (*ptr == '\'' || *ptr == '\"') + { + /* + * Scan quoted name... + */ + + quote = *ptr++; + + for (end = ptr; *end; end ++) + if (*end == quote) + break; + } + else + { + /* + * Scan space or comma-delimited name... + */ + + for (end = ptr; *end; end ++) + if (isspace(*end & 255) || *end == ',') + break; + } + + /* + * Advance to the next name... + */ + + ptr = end; + } + + /* + * Build a CUPS-Add-Printer/Class request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name-{allowed,denied} + */ + + request = ippNewRequest(is_class ? CUPS_ADD_CLASS : CUPS_ADD_PRINTER); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, is_class ? "/classes/%s" : "/printers/%s", + printer); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + if (num_users == 0) + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_NAME, + "requesting-user-name-allowed", NULL, "all"); + else + { + attr = ippAddStrings(request, IPP_TAG_PRINTER, IPP_TAG_NAME, + type, num_users, NULL, NULL); + + for (i = 0, ptr = (char *)users; *ptr; i ++) + { + /* + * Skip whitespace and commas... + */ + + while (*ptr == ',' || isspace(*ptr & 255)) + ptr ++; + + if (!*ptr) + break; + + if (*ptr == '\'' || *ptr == '\"') + { + /* + * Scan quoted name... + */ + + quote = *ptr++; + + for (end = ptr; *end; end ++) + if (*end == quote) + break; + } + else + { + /* + * Scan space or comma-delimited name... + */ + + for (end = ptr; *end; end ++) + if (isspace(*end & 255) || *end == ',') + break; + } + + /* + * Terminate the name... + */ + + if (*end) + *end++ = '\0'; + + /* + * Add the name... + */ + + ippSetString(request, &attr, i, ptr); + + /* + * Advance to the next name... + */ + + ptr = end; + } + } + + /* + * Do the request and get back a response... + */ + + ippDelete(cupsDoRequest(http, request, "/admin/")); + + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + else if (cupsLastError() > IPP_OK_CONFLICT) + { + cgiStartHTML(cgiText(_("Set Allowed Users"))); + cgiShowIPPError(_("Unable to change printer")); + } + else + { + /* + * Redirect successful updates back to the printer page... + */ + + char url[1024], /* Printer/class URL */ + refresh[1024]; /* Refresh URL */ + + + cgiRewriteURL(uri, url, sizeof(url), NULL); + cgiFormEncode(uri, url, sizeof(uri)); + snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=%s", + uri); + cgiSetVariable("refresh_page", refresh); + + cgiStartHTML(cgiText(_("Set Allowed Users"))); + + cgiCopyTemplateLang(is_class ? "class-modified.tmpl" : + "printer-modified.tmpl"); + } + + cgiEndHTML(); + } +} + + +/* + * 'do_set_default()' - Set the server default printer/class. + */ + +static void +do_set_default(http_t *http) /* I - HTTP connection */ +{ + const char *title; /* Page title */ + ipp_t *request; /* IPP request */ + char uri[HTTP_MAX_URI]; /* Printer URI */ + const char *printer, /* Printer name (purge-jobs) */ + *is_class; /* Is a class? */ + + + is_class = cgiGetVariable("IS_CLASS"); + printer = cgiGetVariable("PRINTER_NAME"); + title = cgiText(_("Set As Server Default")); + + if (!printer) + { + cgiSetVariable("ERROR", cgiText(_("Missing form variable"))); + cgiStartHTML(title); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + return; + } + + /* + * Build a printer request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(CUPS_SET_DEFAULT); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, is_class ? "/classes/%s" : "/printers/%s", + printer); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + /* + * Do the request and get back a response... + */ + + ippDelete(cupsDoRequest(http, request, "/admin/")); + + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + else if (cupsLastError() > IPP_OK_CONFLICT) + { + cgiStartHTML(title); + cgiShowIPPError(_("Unable to set server default")); + } + else + { + /* + * Redirect successful updates back to the printer page... + */ + + char url[1024], /* Printer/class URL */ + refresh[1024]; /* Refresh URL */ + + + cgiRewriteURL(uri, url, sizeof(url), NULL); + cgiFormEncode(uri, url, sizeof(uri)); + snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=%s", uri); + cgiSetVariable("refresh_page", refresh); + + cgiStartHTML(title); + cgiCopyTemplateLang("printer-default.tmpl"); + } + + cgiEndHTML(); +} + + +/* + * 'do_set_options()' - Configure the default options for a queue. + */ + +static void +do_set_options(http_t *http, /* I - HTTP connection */ + int is_class) /* I - Set options for class? */ +{ + int i, j, k, m; /* Looping vars */ + int have_options; /* Have options? */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* IPP attribute */ + char uri[HTTP_MAX_URI]; /* Job URI */ + const char *var; /* Variable value */ + const char *printer; /* Printer printer name */ + const char *filename; /* PPD filename */ + char tempfile[1024]; /* Temporary filename */ + cups_file_t *in, /* Input file */ + *out; /* Output file */ + char line[1024], /* Line from PPD file */ + value[1024], /* Option value */ + keyword[1024], /* Keyword from Default line */ + *keyptr; /* Pointer into keyword... */ + ppd_file_t *ppd; /* PPD file */ + ppd_group_t *group; /* Option group */ + ppd_option_t *option; /* Option */ + ppd_coption_t *coption; /* Custom option */ + ppd_cparam_t *cparam; /* Custom parameter */ + ppd_attr_t *ppdattr; /* PPD attribute */ + const char *title; /* Page title */ + + + title = cgiText(is_class ? _("Set Class Options") : _("Set Printer Options")); + + fprintf(stderr, "DEBUG: do_set_options(http=%p, is_class=%d)\n", http, + is_class); + + /* + * Get the printer name... + */ + + if ((printer = cgiGetVariable("PRINTER_NAME")) != NULL) + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, is_class ? "/classes/%s" : "/printers/%s", + printer); + else + { + cgiSetVariable("ERROR", cgiText(_("Missing form variable"))); + cgiStartHTML(title); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + return; + } + + fprintf(stderr, "DEBUG: printer=\"%s\", uri=\"%s\"...\n", printer, uri); + + /* + * If the user clicks on the Auto-Configure button, send an AutoConfigure + * command file to the printer... + */ + + if (cgiGetVariable("AUTOCONFIGURE")) + { + cgiPrintCommand(http, printer, "AutoConfigure", "Set Default Options"); + return; + } + + /* + * Get the PPD file... + */ + + if (is_class) + filename = NULL; + else + filename = cupsGetPPD2(http, printer); + + if (filename) + { + fprintf(stderr, "DEBUG: Got PPD file: \"%s\"\n", filename); + + if ((ppd = ppdOpenFile(filename)) == NULL) + { + cgiSetVariable("ERROR", ppdErrorString(ppdLastError(&i))); + cgiSetVariable("MESSAGE", cgiText(_("Unable to open PPD file"))); + cgiStartHTML(title); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + return; + } + } + else + { + fputs("DEBUG: No PPD file\n", stderr); + ppd = NULL; + } + + if (cgiGetVariable("job_sheets_start") != NULL || + cgiGetVariable("job_sheets_end") != NULL) + have_options = 1; + else + have_options = 0; + + if (ppd) + { + ppdMarkDefaults(ppd); + + for (option = ppdFirstOption(ppd); + option; + option = ppdNextOption(ppd)) + { + if ((var = cgiGetVariable(option->keyword)) != NULL) + { + have_options = 1; + ppdMarkOption(ppd, option->keyword, var); + fprintf(stderr, "DEBUG: Set %s to %s...\n", option->keyword, var); + } + else + fprintf(stderr, "DEBUG: Didn't find %s...\n", option->keyword); + } + } + + if (!have_options || ppdConflicts(ppd)) + { + /* + * Show the options to the user... + */ + + fputs("DEBUG: Showing options...\n", stderr); + + /* + * Show auto-configure button if supported... + */ + + if (ppd) + { + if (ppd->num_filters == 0 || + ((ppdattr = ppdFindAttr(ppd, "cupsCommands", NULL)) != NULL && + ppdattr->value && strstr(ppdattr->value, "AutoConfigure"))) + cgiSetVariable("HAVE_AUTOCONFIGURE", "YES"); + else + { + for (i = 0; i < ppd->num_filters; i ++) + if (!strncmp(ppd->filters[i], "application/vnd.cups-postscript", 31)) + { + cgiSetVariable("HAVE_AUTOCONFIGURE", "YES"); + break; + } + } + } + + /* + * Get the printer attributes... + */ + + request = ippNewRequest(IPP_GET_PRINTER_ATTRIBUTES); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", printer); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + response = cupsDoRequest(http, request, "/"); + + /* + * List the groups used as "tabs"... + */ + + i = 0; + + if (ppd) + { + for (group = ppd->groups; + i < ppd->num_groups; + i ++, group ++) + { + cgiSetArray("GROUP_ID", i, group->name); + + if (!strcmp(group->name, "InstallableOptions")) + cgiSetArray("GROUP", i, cgiText(_("Options Installed"))); + else + cgiSetArray("GROUP", i, group->text); + } + } + + if (ippFindAttribute(response, "job-sheets-supported", IPP_TAG_ZERO)) + { + cgiSetArray("GROUP_ID", i, "CUPS_BANNERS"); + cgiSetArray("GROUP", i ++, cgiText(_("Banners"))); + } + + if (ippFindAttribute(response, "printer-error-policy-supported", + IPP_TAG_ZERO) || + ippFindAttribute(response, "printer-op-policy-supported", + IPP_TAG_ZERO)) + { + cgiSetArray("GROUP_ID", i, "CUPS_POLICIES"); + cgiSetArray("GROUP", i ++, cgiText(_("Policies"))); + } + + if ((attr = ippFindAttribute(response, "port-monitor-supported", + IPP_TAG_NAME)) != NULL && attr->num_values > 1) + { + cgiSetArray("GROUP_ID", i, "CUPS_PORT_MONITOR"); + cgiSetArray("GROUP", i, cgiText(_("Port Monitor"))); + } + + cgiStartHTML(cgiText(_("Set Printer Options"))); + cgiCopyTemplateLang("set-printer-options-header.tmpl"); + + if (ppd) + { + ppdLocalize(ppd); + + if (ppdConflicts(ppd)) + { + for (i = ppd->num_groups, k = 0, group = ppd->groups; + i > 0; + i --, group ++) + for (j = group->num_options, option = group->options; + j > 0; + j --, option ++) + if (option->conflicted) + { + cgiSetArray("ckeyword", k, option->keyword); + cgiSetArray("ckeytext", k, option->text); + + for (m = 0; m < option->num_choices; m ++) + { + if (option->choices[m].marked) + { + cgiSetArray("cchoice", k, option->choices[m].text); + break; + } + } + + k ++; + } + + cgiCopyTemplateLang("option-conflict.tmpl"); + } + + for (i = ppd->num_groups, group = ppd->groups; + i > 0; + i --, group ++) + { + for (j = group->num_options, option = group->options; + j > 0; + j --, option ++) + { + if (!strcmp(option->keyword, "PageRegion")) + continue; + + if (option->num_choices > 1) + break; + } + + if (j == 0) + continue; + + cgiSetVariable("GROUP_ID", group->name); + + if (!strcmp(group->name, "InstallableOptions")) + cgiSetVariable("GROUP", cgiText(_("Options Installed"))); + else + cgiSetVariable("GROUP", group->text); + + cgiCopyTemplateLang("option-header.tmpl"); + + for (j = group->num_options, option = group->options; + j > 0; + j --, option ++) + { + if (!strcmp(option->keyword, "PageRegion") || option->num_choices < 2) + continue; + + cgiSetVariable("KEYWORD", option->keyword); + cgiSetVariable("KEYTEXT", option->text); + + if (option->conflicted) + cgiSetVariable("CONFLICTED", "1"); + else + cgiSetVariable("CONFLICTED", "0"); + + cgiSetSize("CHOICES", 0); + cgiSetSize("TEXT", 0); + for (k = 0, m = 0; k < option->num_choices; k ++) + { + cgiSetArray("CHOICES", m, option->choices[k].choice); + cgiSetArray("TEXT", m, option->choices[k].text); + + m ++; + + if (option->choices[k].marked) + cgiSetVariable("DEFCHOICE", option->choices[k].choice); + } + + cgiSetSize("PARAMS", 0); + cgiSetSize("PARAMTEXT", 0); + cgiSetSize("PARAMVALUE", 0); + cgiSetSize("INPUTTYPE", 0); + + if ((coption = ppdFindCustomOption(ppd, option->keyword))) + { + const char *units = NULL; /* Units value, if any */ + + cgiSetVariable("ISCUSTOM", "1"); + + for (cparam = ppdFirstCustomParam(coption), m = 0; + cparam; + cparam = ppdNextCustomParam(coption), m ++) + { + if (!_cups_strcasecmp(option->keyword, "PageSize") && + _cups_strcasecmp(cparam->name, "Width") && + _cups_strcasecmp(cparam->name, "Height")) + { + m --; + continue; + } + + cgiSetArray("PARAMS", m, cparam->name); + cgiSetArray("PARAMTEXT", m, cparam->text); + cgiSetArray("INPUTTYPE", m, "text"); + + switch (cparam->type) + { + case PPD_CUSTOM_UNKNOWN : + break; + + case PPD_CUSTOM_POINTS : + if (!_cups_strncasecmp(option->defchoice, "Custom.", 7)) + { + units = option->defchoice + strlen(option->defchoice) - 2; + + if (strcmp(units, "mm") && strcmp(units, "cm") && + strcmp(units, "in") && strcmp(units, "ft")) + { + if (units[1] == 'm') + units ++; + else + units = "pt"; + } + } + else + units = "pt"; + + if (!strcmp(units, "mm")) + snprintf(value, sizeof(value), "%g", + cparam->current.custom_points / 72.0 * 25.4); + else if (!strcmp(units, "cm")) + snprintf(value, sizeof(value), "%g", + cparam->current.custom_points / 72.0 * 2.54); + else if (!strcmp(units, "in")) + snprintf(value, sizeof(value), "%g", + cparam->current.custom_points / 72.0); + else if (!strcmp(units, "ft")) + snprintf(value, sizeof(value), "%g", + cparam->current.custom_points / 72.0 / 12.0); + else if (!strcmp(units, "m")) + snprintf(value, sizeof(value), "%g", + cparam->current.custom_points / 72.0 * 0.0254); + else + snprintf(value, sizeof(value), "%g", + cparam->current.custom_points); + cgiSetArray("PARAMVALUE", m, value); + break; + + case PPD_CUSTOM_CURVE : + case PPD_CUSTOM_INVCURVE : + case PPD_CUSTOM_REAL : + snprintf(value, sizeof(value), "%g", + cparam->current.custom_real); + cgiSetArray("PARAMVALUE", m, value); + break; + + case PPD_CUSTOM_INT: + snprintf(value, sizeof(value), "%d", + cparam->current.custom_int); + cgiSetArray("PARAMVALUE", m, value); + break; + + case PPD_CUSTOM_PASSCODE: + case PPD_CUSTOM_PASSWORD: + if (cparam->current.custom_password) + cgiSetArray("PARAMVALUE", m, + cparam->current.custom_password); + else + cgiSetArray("PARAMVALUE", m, ""); + cgiSetArray("INPUTTYPE", m, "password"); + break; + + case PPD_CUSTOM_STRING: + if (cparam->current.custom_string) + cgiSetArray("PARAMVALUE", m, + cparam->current.custom_string); + else + cgiSetArray("PARAMVALUE", m, ""); + break; + } + } + + if (units) + { + cgiSetArray("PARAMS", m, "Units"); + cgiSetArray("PARAMTEXT", m, cgiText(_("Units"))); + cgiSetArray("PARAMVALUE", m, units); + } + } + else + cgiSetVariable("ISCUSTOM", "0"); + + switch (option->ui) + { + case PPD_UI_BOOLEAN : + cgiCopyTemplateLang("option-boolean.tmpl"); + break; + case PPD_UI_PICKONE : + cgiCopyTemplateLang("option-pickone.tmpl"); + break; + case PPD_UI_PICKMANY : + cgiCopyTemplateLang("option-pickmany.tmpl"); + break; + } + } + + cgiCopyTemplateLang("option-trailer.tmpl"); + } + } + + if ((attr = ippFindAttribute(response, "job-sheets-supported", + IPP_TAG_ZERO)) != NULL) + { + /* + * Add the job sheets options... + */ + + cgiSetVariable("GROUP_ID", "CUPS_BANNERS"); + cgiSetVariable("GROUP", cgiText(_("Banners"))); + cgiCopyTemplateLang("option-header.tmpl"); + + cgiSetSize("CHOICES", attr->num_values); + cgiSetSize("TEXT", attr->num_values); + for (k = 0; k < attr->num_values; k ++) + { + cgiSetArray("CHOICES", k, attr->values[k].string.text); + cgiSetArray("TEXT", k, attr->values[k].string.text); + } + + attr = ippFindAttribute(response, "job-sheets-default", IPP_TAG_ZERO); + + cgiSetVariable("KEYWORD", "job_sheets_start"); + cgiSetVariable("KEYTEXT", + /* TRANSLATORS: Banner/cover sheet before the print job. */ + cgiText(_("Starting Banner"))); + cgiSetVariable("DEFCHOICE", attr != NULL ? + attr->values[0].string.text : ""); + + cgiCopyTemplateLang("option-pickone.tmpl"); + + cgiSetVariable("KEYWORD", "job_sheets_end"); + cgiSetVariable("KEYTEXT", + /* TRANSLATORS: Banner/cover sheet after the print job. */ + cgiText(_("Ending Banner"))); + cgiSetVariable("DEFCHOICE", attr != NULL && attr->num_values > 1 ? + attr->values[1].string.text : ""); + + cgiCopyTemplateLang("option-pickone.tmpl"); + + cgiCopyTemplateLang("option-trailer.tmpl"); + } + + if (ippFindAttribute(response, "printer-error-policy-supported", + IPP_TAG_ZERO) || + ippFindAttribute(response, "printer-op-policy-supported", + IPP_TAG_ZERO)) + { + /* + * Add the error and operation policy options... + */ + + cgiSetVariable("GROUP_ID", "CUPS_POLICIES"); + cgiSetVariable("GROUP", cgiText(_("Policies"))); + cgiCopyTemplateLang("option-header.tmpl"); + + /* + * Error policy... + */ + + attr = ippFindAttribute(response, "printer-error-policy-supported", + IPP_TAG_ZERO); + + if (attr) + { + cgiSetSize("CHOICES", attr->num_values); + cgiSetSize("TEXT", attr->num_values); + for (k = 0; k < attr->num_values; k ++) + { + cgiSetArray("CHOICES", k, attr->values[k].string.text); + cgiSetArray("TEXT", k, attr->values[k].string.text); + } + + attr = ippFindAttribute(response, "printer-error-policy", + IPP_TAG_ZERO); + + cgiSetVariable("KEYWORD", "printer_error_policy"); + cgiSetVariable("KEYTEXT", cgiText(_("Error Policy"))); + cgiSetVariable("DEFCHOICE", attr == NULL ? + "" : attr->values[0].string.text); + } + + cgiCopyTemplateLang("option-pickone.tmpl"); + + /* + * Operation policy... + */ + + attr = ippFindAttribute(response, "printer-op-policy-supported", + IPP_TAG_ZERO); + + if (attr) + { + cgiSetSize("CHOICES", attr->num_values); + cgiSetSize("TEXT", attr->num_values); + for (k = 0; k < attr->num_values; k ++) + { + cgiSetArray("CHOICES", k, attr->values[k].string.text); + cgiSetArray("TEXT", k, attr->values[k].string.text); + } + + attr = ippFindAttribute(response, "printer-op-policy", IPP_TAG_ZERO); + + cgiSetVariable("KEYWORD", "printer_op_policy"); + cgiSetVariable("KEYTEXT", cgiText(_("Operation Policy"))); + cgiSetVariable("DEFCHOICE", attr == NULL ? + "" : attr->values[0].string.text); + + cgiCopyTemplateLang("option-pickone.tmpl"); + } + + cgiCopyTemplateLang("option-trailer.tmpl"); + } + + /* + * Binary protocol support... + */ + + if ((attr = ippFindAttribute(response, "port-monitor-supported", + IPP_TAG_NAME)) != NULL && attr->num_values > 1) + { + cgiSetVariable("GROUP_ID", "CUPS_PORT_MONITOR"); + cgiSetVariable("GROUP", cgiText(_("Port Monitor"))); + + cgiSetSize("CHOICES", attr->num_values); + cgiSetSize("TEXT", attr->num_values); + + for (i = 0; i < attr->num_values; i ++) + { + cgiSetArray("CHOICES", i, attr->values[i].string.text); + cgiSetArray("TEXT", i, attr->values[i].string.text); + } + + attr = ippFindAttribute(response, "port-monitor", IPP_TAG_NAME); + cgiSetVariable("KEYWORD", "port_monitor"); + cgiSetVariable("KEYTEXT", cgiText(_("Port Monitor"))); + cgiSetVariable("DEFCHOICE", attr ? attr->values[0].string.text : "none"); + + cgiCopyTemplateLang("option-header.tmpl"); + cgiCopyTemplateLang("option-pickone.tmpl"); + cgiCopyTemplateLang("option-trailer.tmpl"); + } + + cgiCopyTemplateLang("set-printer-options-trailer.tmpl"); + cgiEndHTML(); + + ippDelete(response); + } + else + { + /* + * Set default options... + */ + + fputs("DEBUG: Setting options...\n", stderr); + + if (filename) + { + out = cupsTempFile2(tempfile, sizeof(tempfile)); + in = cupsFileOpen(filename, "r"); + + if (!in || !out) + { + cgiSetVariable("ERROR", strerror(errno)); + cgiStartHTML(cgiText(_("Set Printer Options"))); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + + if (in) + cupsFileClose(in); + + if (out) + { + cupsFileClose(out); + unlink(tempfile); + } + + unlink(filename); + return; + } + + while (cupsFileGets(in, line, sizeof(line))) + { + if (!strncmp(line, "*cupsProtocol:", 14)) + continue; + else if (strncmp(line, "*Default", 8)) + cupsFilePrintf(out, "%s\n", line); + else + { + /* + * Get default option name... + */ + + strlcpy(keyword, line + 8, sizeof(keyword)); + + for (keyptr = keyword; *keyptr; keyptr ++) + if (*keyptr == ':' || isspace(*keyptr & 255)) + break; + + *keyptr = '\0'; + + if (!strcmp(keyword, "PageRegion") || + !strcmp(keyword, "PaperDimension") || + !strcmp(keyword, "ImageableArea")) + var = get_option_value(ppd, "PageSize", value, sizeof(value)); + else + var = get_option_value(ppd, keyword, value, sizeof(value)); + + if (!var) + cupsFilePrintf(out, "%s\n", line); + else + cupsFilePrintf(out, "*Default%s: %s\n", keyword, var); + } + } + + cupsFileClose(in); + cupsFileClose(out); + } + else + { + /* + * Make sure temporary filename is cleared when there is no PPD... + */ + + tempfile[0] = '\0'; + } + + /* + * Build a CUPS_ADD_MODIFY_CLASS/PRINTER request, which requires the + * following attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * job-sheets-default + * printer-error-policy + * printer-op-policy + * [ppd file] + */ + + request = ippNewRequest(is_class ? CUPS_ADD_MODIFY_CLASS : + CUPS_ADD_MODIFY_PRINTER); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + attr = ippAddStrings(request, IPP_TAG_PRINTER, IPP_TAG_NAME, + "job-sheets-default", 2, NULL, NULL); + ippSetString(request, &attr, 0, cgiGetVariable("job_sheets_start")); + ippSetString(request, &attr, 1, cgiGetVariable("job_sheets_end")); + + if ((var = cgiGetVariable("printer_error_policy")) != NULL) + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_NAME, + "printer-error-policy", NULL, var); + + if ((var = cgiGetVariable("printer_op_policy")) != NULL) + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_NAME, + "printer-op-policy", NULL, var); + + if ((var = cgiGetVariable("port_monitor")) != NULL) + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_NAME, + "port-monitor", NULL, var); + + /* + * Do the request and get back a response... + */ + + if (filename) + ippDelete(cupsDoFileRequest(http, request, "/admin/", tempfile)); + else + ippDelete(cupsDoRequest(http, request, "/admin/")); + + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + else if (cupsLastError() > IPP_OK_CONFLICT) + { + cgiStartHTML(title); + cgiShowIPPError(_("Unable to set options")); + } + else + { + /* + * Redirect successful updates back to the printer page... + */ + + char refresh[1024]; /* Refresh URL */ + + + cgiFormEncode(uri, printer, sizeof(uri)); + snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=/%s/%s", + is_class ? "classes" : "printers", uri); + cgiSetVariable("refresh_page", refresh); + + cgiStartHTML(title); + + cgiCopyTemplateLang("printer-configured.tmpl"); + } + + cgiEndHTML(); + + if (filename) + unlink(tempfile); + } + + if (filename) + unlink(filename); +} + + +/* + * 'do_set_sharing()' - Set printer-is-shared value. + */ + +static void +do_set_sharing(http_t *http) /* I - HTTP connection */ +{ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + char uri[HTTP_MAX_URI]; /* Printer URI */ + const char *printer, /* Printer name */ + *is_class, /* Is a class? */ + *shared; /* Sharing value */ + + + is_class = cgiGetVariable("IS_CLASS"); + printer = cgiGetVariable("PRINTER_NAME"); + shared = cgiGetVariable("SHARED"); + + if (!printer || !shared) + { + cgiSetVariable("ERROR", cgiText(_("Missing form variable"))); + cgiStartHTML(cgiText(_("Set Publishing"))); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + return; + } + + /* + * Build a CUPS-Add-Printer/CUPS-Add-Class request, which requires the + * following attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * printer-is-shared + */ + + request = ippNewRequest(is_class ? CUPS_ADD_CLASS : CUPS_ADD_PRINTER); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, is_class ? "/classes/%s" : "/printers/%s", + printer); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + ippAddBoolean(request, IPP_TAG_OPERATION, "printer-is-shared", (char)atoi(shared)); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/admin/")) != NULL) + { + cgiSetIPPVars(response, NULL, NULL, NULL, 0); + + ippDelete(response); + } + + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + else if (cupsLastError() > IPP_OK_CONFLICT) + { + cgiStartHTML(cgiText(_("Set Publishing"))); + cgiShowIPPError(_("Unable to change printer-is-shared attribute")); + } + else + { + /* + * Redirect successful updates back to the printer page... + */ + + char url[1024], /* Printer/class URL */ + refresh[1024]; /* Refresh URL */ + + + cgiRewriteURL(uri, url, sizeof(url), NULL); + cgiFormEncode(uri, url, sizeof(uri)); + snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=%s", uri); + cgiSetVariable("refresh_page", refresh); + + cgiStartHTML(cgiText(_("Set Publishing"))); + cgiCopyTemplateLang(is_class ? "class-modified.tmpl" : + "printer-modified.tmpl"); + } + + cgiEndHTML(); +} + + +/* + * 'get_option_value()' - Return the value of an option. + * + * This function also handles generation of custom option values. + */ + +static char * /* O - Value string or NULL on error */ +get_option_value( + ppd_file_t *ppd, /* I - PPD file */ + const char *name, /* I - Option name */ + char *buffer, /* I - String buffer */ + size_t bufsize) /* I - Size of buffer */ +{ + char *bufptr, /* Pointer into buffer */ + *bufend; /* End of buffer */ + ppd_coption_t *coption; /* Custom option */ + ppd_cparam_t *cparam; /* Current custom parameter */ + char keyword[256]; /* Parameter name */ + const char *val, /* Parameter value */ + *uval; /* Units value */ + long integer; /* Integer value */ + double number, /* Number value */ + number_points; /* Number in points */ + + + /* + * See if we have a custom option choice... + */ + + if ((val = cgiGetVariable(name)) == NULL) + { + /* + * Option not found! + */ + + return (NULL); + } + else if (_cups_strcasecmp(val, "Custom") || + (coption = ppdFindCustomOption(ppd, name)) == NULL) + { + /* + * Not a custom choice... + */ + + strlcpy(buffer, val, bufsize); + return (buffer); + } + + /* + * OK, we have a custom option choice, format it... + */ + + *buffer = '\0'; + + if (!strcmp(coption->keyword, "PageSize")) + { + const char *lval; /* Length string value */ + double width, /* Width value */ + width_points, /* Width in points */ + length, /* Length value */ + length_points; /* Length in points */ + + + val = cgiGetVariable("PageSize.Width"); + lval = cgiGetVariable("PageSize.Height"); + uval = cgiGetVariable("PageSize.Units"); + + if (!val || !lval || !uval || + (width = strtod(val, NULL)) == 0.0 || + (length = strtod(lval, NULL)) == 0.0 || + (strcmp(uval, "pt") && strcmp(uval, "in") && strcmp(uval, "ft") && + strcmp(uval, "cm") && strcmp(uval, "mm") && strcmp(uval, "m"))) + return (NULL); + + width_points = get_points(width, uval); + length_points = get_points(length, uval); + + if (width_points < ppd->custom_min[0] || + width_points > ppd->custom_max[0] || + length_points < ppd->custom_min[1] || + length_points > ppd->custom_max[1]) + return (NULL); + + snprintf(buffer, bufsize, "Custom.%gx%g%s", width, length, uval); + } + else if (cupsArrayCount(coption->params) == 1) + { + cparam = ppdFirstCustomParam(coption); + snprintf(keyword, sizeof(keyword), "%s.%s", coption->keyword, cparam->name); + + if ((val = cgiGetVariable(keyword)) == NULL) + return (NULL); + + switch (cparam->type) + { + case PPD_CUSTOM_UNKNOWN : + break; + + case PPD_CUSTOM_CURVE : + case PPD_CUSTOM_INVCURVE : + case PPD_CUSTOM_REAL : + if ((number = strtod(val, NULL)) == 0.0 || + number < cparam->minimum.custom_real || + number > cparam->maximum.custom_real) + return (NULL); + + snprintf(buffer, bufsize, "Custom.%g", number); + break; + + case PPD_CUSTOM_INT : + if (!*val || (integer = strtol(val, NULL, 10)) == LONG_MIN || + integer == LONG_MAX || + integer < cparam->minimum.custom_int || + integer > cparam->maximum.custom_int) + return (NULL); + + snprintf(buffer, bufsize, "Custom.%ld", integer); + break; + + case PPD_CUSTOM_POINTS : + snprintf(keyword, sizeof(keyword), "%s.Units", coption->keyword); + + if ((number = strtod(val, NULL)) == 0.0 || + (uval = cgiGetVariable(keyword)) == NULL || + (strcmp(uval, "pt") && strcmp(uval, "in") && strcmp(uval, "ft") && + strcmp(uval, "cm") && strcmp(uval, "mm") && strcmp(uval, "m"))) + return (NULL); + + number_points = get_points(number, uval); + if (number_points < cparam->minimum.custom_points || + number_points > cparam->maximum.custom_points) + return (NULL); + + snprintf(buffer, bufsize, "Custom.%g%s", number, uval); + break; + + case PPD_CUSTOM_PASSCODE : + for (uval = val; *uval; uval ++) + if (!isdigit(*uval & 255)) + return (NULL); + + case PPD_CUSTOM_PASSWORD : + case PPD_CUSTOM_STRING : + integer = (long)strlen(val); + if (integer < cparam->minimum.custom_string || + integer > cparam->maximum.custom_string) + return (NULL); + + snprintf(buffer, bufsize, "Custom.%s", val); + break; + } + } + else + { + const char *prefix = "{"; /* Prefix string */ + + + bufptr = buffer; + bufend = buffer + bufsize; + + for (cparam = ppdFirstCustomParam(coption); + cparam; + cparam = ppdNextCustomParam(coption)) + { + snprintf(keyword, sizeof(keyword), "%s.%s", coption->keyword, + cparam->name); + + if ((val = cgiGetVariable(keyword)) == NULL) + return (NULL); + + snprintf(bufptr, (size_t)(bufend - bufptr), "%s%s=", prefix, cparam->name); + bufptr += strlen(bufptr); + prefix = " "; + + switch (cparam->type) + { + case PPD_CUSTOM_UNKNOWN : + break; + + case PPD_CUSTOM_CURVE : + case PPD_CUSTOM_INVCURVE : + case PPD_CUSTOM_REAL : + if ((number = strtod(val, NULL)) == 0.0 || + number < cparam->minimum.custom_real || + number > cparam->maximum.custom_real) + return (NULL); + + snprintf(bufptr, (size_t)(bufend - bufptr), "%g", number); + break; + + case PPD_CUSTOM_INT : + if (!*val || (integer = strtol(val, NULL, 10)) == LONG_MIN || + integer == LONG_MAX || + integer < cparam->minimum.custom_int || + integer > cparam->maximum.custom_int) + return (NULL); + + snprintf(bufptr, (size_t)(bufend - bufptr), "%ld", integer); + break; + + case PPD_CUSTOM_POINTS : + snprintf(keyword, sizeof(keyword), "%s.Units", coption->keyword); + + if ((number = strtod(val, NULL)) == 0.0 || + (uval = cgiGetVariable(keyword)) == NULL || + (strcmp(uval, "pt") && strcmp(uval, "in") && + strcmp(uval, "ft") && strcmp(uval, "cm") && + strcmp(uval, "mm") && strcmp(uval, "m"))) + return (NULL); + + number_points = get_points(number, uval); + if (number_points < cparam->minimum.custom_points || + number_points > cparam->maximum.custom_points) + return (NULL); + + snprintf(bufptr, (size_t)(bufend - bufptr), "%g%s", number, uval); + break; + + case PPD_CUSTOM_PASSCODE : + for (uval = val; *uval; uval ++) + if (!isdigit(*uval & 255)) + return (NULL); + + case PPD_CUSTOM_PASSWORD : + case PPD_CUSTOM_STRING : + integer = (long)strlen(val); + if (integer < cparam->minimum.custom_string || + integer > cparam->maximum.custom_string) + return (NULL); + + if ((bufptr + 2) > bufend) + return (NULL); + + bufend --; + *bufptr++ = '\"'; + + while (*val && bufptr < bufend) + { + if (*val == '\\' || *val == '\"') + { + if ((bufptr + 1) >= bufend) + return (NULL); + + *bufptr++ = '\\'; + } + + *bufptr++ = *val++; + } + + if (bufptr >= bufend) + return (NULL); + + *bufptr++ = '\"'; + *bufptr = '\0'; + bufend ++; + break; + } + + bufptr += strlen(bufptr); + } + + if (bufptr == buffer || (bufend - bufptr) < 2) + return (NULL); + + memcpy(bufptr, "}", 2); + } + + return (buffer); +} + + +/* + * 'get_points()' - Get a value in points. + */ + +static double /* O - Number in points */ +get_points(double number, /* I - Original number */ + const char *uval) /* I - Units */ +{ + if (!strcmp(uval, "mm")) /* Millimeters */ + return (number * 72.0 / 25.4); + else if (!strcmp(uval, "cm")) /* Centimeters */ + return (number * 72.0 / 2.54); + else if (!strcmp(uval, "in")) /* Inches */ + return (number * 72.0); + else if (!strcmp(uval, "ft")) /* Feet */ + return (number * 72.0 * 12.0); + else if (!strcmp(uval, "m")) /* Meters */ + return (number * 72.0 / 0.0254); + else /* Points */ + return (number); +} + + +/* + * 'get_printer_ppd()' - Get an IPP Everywhere PPD file for the given URI. + */ + +static char * /* O - Filename or NULL */ +get_printer_ppd(const char *uri, /* I - Printer URI */ + char *buffer, /* I - Filename buffer */ + size_t bufsize) /* I - Size of filename buffer */ +{ + http_t *http; /* Connection to printer */ + ipp_t *request, /* Get-Printer-Attributes request */ + *response; /* Get-Printer-Attributes response */ + char resolved[1024], /* Resolved URI */ + scheme[32], /* URI scheme */ + userpass[256], /* Username:password */ + host[256], /* Hostname */ + resource[256]; /* Resource path */ + int port; /* Port number */ + static const char * const pattrs[] = /* Printer attributes we need */ + { + "all", + "media-col-database" + }; + + + /* + * Connect to the printer... + */ + + if (strstr(uri, "._tcp")) + { + /* + * Resolve URI... + */ + + if (!_httpResolveURI(uri, resolved, sizeof(resolved), _HTTP_RESOLVE_DEFAULT, NULL, NULL)) + { + fprintf(stderr, "ERROR: Unable to resolve \"%s\".\n", uri); + return (NULL); + } + + uri = resolved; + } + + if (httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, sizeof(scheme), userpass, sizeof(userpass), host, sizeof(host), &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK) + { + fprintf(stderr, "ERROR: Bad printer URI \"%s\".\n", uri); + return (NULL); + } + + http = httpConnect2(host, port, NULL, AF_UNSPEC, !strcmp(scheme, "ipps") ? HTTP_ENCRYPTION_ALWAYS : HTTP_ENCRYPTION_IF_REQUESTED, 1, 30000, NULL); + if (!http) + { + fprintf(stderr, "ERROR: Unable to connect to \"%s:%d\": %s\n", host, port, cupsLastErrorString()); + return (NULL); + } + + /* + * Send a Get-Printer-Attributes request... + */ + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri); + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", (int)(sizeof(pattrs) / sizeof(pattrs[0])), NULL, pattrs); + response = cupsDoRequest(http, request, resource); + + if (!_ppdCreateFromIPP(buffer, bufsize, response)) + fprintf(stderr, "ERROR: Unable to create PPD file: %s\n", strerror(errno)); + + ippDelete(response); + httpClose(http); + + if (buffer[0]) + return (buffer); + else + return (NULL); +} diff --git a/cgi-bin/cgi-private.h b/cgi-bin/cgi-private.h new file mode 100644 index 0000000..5d14d81 --- /dev/null +++ b/cgi-bin/cgi-private.h @@ -0,0 +1,25 @@ +/* + * Private CGI definitions for CUPS. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi.h" +#include +#include +#include +#include /* TODO: Update so we don't need this */ + + +/* + * Limits... + */ + +#define CUPS_PAGE_MAX 100 /* Maximum items per page */ diff --git a/cgi-bin/cgi.h b/cgi-bin/cgi.h new file mode 100644 index 0000000..11acb22 --- /dev/null +++ b/cgi-bin/cgi.h @@ -0,0 +1,110 @@ +/* + * CGI support library definitions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_CGI_H_ +# define _CUPS_CGI_H_ + +# include +# include +# include +# include + +# ifdef _WIN32 +# include +# include +# else +# include +# endif /* _WIN32 */ + +# include +# include +# include "help-index.h" + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + +/* + * Types... + */ + +typedef struct cgi_file_s /**** Uploaded file data ****/ +{ + char tempfile[1024], /* Temporary file containing data */ + *name, /* Variable name */ + *filename, /* Original filename */ + *mimetype; /* MIME media type */ + size_t filesize; /* Size of uploaded file */ +} cgi_file_t; + + +/* + * Prototypes... + */ + +extern void cgiAbort(const char *title, const char *stylesheet, + const char *format, ...); +extern int cgiCheckVariables(const char *names); +extern void cgiClearVariables(void); +extern void *cgiCompileSearch(const char *query); +extern void cgiCopyTemplateFile(FILE *out, const char *tmpl); +extern void cgiCopyTemplateLang(const char *tmpl); +extern int cgiDoSearch(void *search, const char *text); +extern void cgiEndHTML(void); +extern void cgiEndMultipart(void); +extern char *cgiFormEncode(char *dst, const char *src, + size_t dstsize); +extern void cgiFreeSearch(void *search); +extern char *cgiGetArray(const char *name, int element); +extern void cgiGetAttributes(ipp_t *request, const char *tmpl); +extern const char *cgiGetCookie(const char *name); +extern const cgi_file_t *cgiGetFile(void); +extern cups_array_t *cgiGetIPPObjects(ipp_t *response, void *search); +extern int cgiGetSize(const char *name); +extern char *cgiGetTemplateDir(void); +extern char *cgiGetVariable(const char *name); +extern int cgiInitialize(void); +extern int cgiIsPOST(void); +extern void cgiMoveJobs(http_t *http, const char *dest, int job_id); +extern void cgiPrintCommand(http_t *http, const char *dest, + const char *command, const char *title); +extern void cgiPrintTestPage(http_t *http, const char *dest); +extern char *cgiRewriteURL(const char *uri, char *url, int urlsize, + const char *newresource); +extern void cgiSetArray(const char *name, int element, + const char *value); +extern void cgiSetCookie(const char *name, const char *value, + const char *path, const char *domain, + time_t expires, int secure); +extern ipp_attribute_t *cgiSetIPPObjectVars(ipp_attribute_t *obj, + const char *prefix, int element); +extern int cgiSetIPPVars(ipp_t *response, const char *filter_name, + const char *filter_value, + const char *prefix, int parent_el); +extern void cgiSetServerVersion(void); +extern void cgiSetSize(const char *name, int size); +extern void cgiSetVariable(const char *name, const char *value); +extern void cgiShowIPPError(const char *message); +extern void cgiShowJobs(http_t *http, const char *dest); +extern void cgiStartHTML(const char *title); +extern void cgiStartMultipart(void); +extern int cgiSupportsMultipart(void); +extern const char *cgiText(const char *message); + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_CGI_H_ */ diff --git a/cgi-bin/classes.c b/cgi-bin/classes.c new file mode 100644 index 0000000..78ef08e --- /dev/null +++ b/cgi-bin/classes.c @@ -0,0 +1,529 @@ +/* + * Class status CGI for CUPS. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi-private.h" + + +/* + * Local functions... + */ + +static void do_class_op(http_t *http, const char *printer, ipp_op_t op, + const char *title); +static void show_all_classes(http_t *http, const char *username); +static void show_class(http_t *http, const char *printer); + + +/* + * 'main()' - Main entry for CGI. + */ + +int /* O - Exit status */ +main(void) +{ + const char *pclass; /* Class name */ + const char *user; /* Username */ + http_t *http; /* Connection to the server */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* IPP attribute */ + const char *op; /* Operation to perform, if any */ + static const char *def_attrs[] = /* Attributes for default printer */ + { + "printer-name", + "printer-uri-supported" + }; + + + /* + * Get any form variables... + */ + + cgiInitialize(); + + op = cgiGetVariable("OP"); + + /* + * Set the web interface section... + */ + + cgiSetVariable("SECTION", "classes"); + cgiSetVariable("REFRESH_PAGE", ""); + + /* + * See if we are displaying a printer or all classes... + */ + + if ((pclass = getenv("PATH_INFO")) != NULL) + { + pclass ++; + + if (!*pclass) + pclass = NULL; + + if (pclass) + cgiSetVariable("PRINTER_NAME", pclass); + } + + /* + * See who is logged in... + */ + + user = getenv("REMOTE_USER"); + + /* + * Connect to the HTTP server... + */ + + http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption()); + + /* + * Get the default printer... + */ + + if (!op || !cgiIsPOST()) + { + /* + * Get the default destination... + */ + + request = ippNewRequest(CUPS_GET_DEFAULT); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + sizeof(def_attrs) / sizeof(def_attrs[0]), NULL, def_attrs); + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + if ((attr = ippFindAttribute(response, "printer-name", IPP_TAG_NAME)) != NULL) + cgiSetVariable("DEFAULT_NAME", attr->values[0].string.text); + + if ((attr = ippFindAttribute(response, "printer-uri-supported", IPP_TAG_URI)) != NULL) + { + char url[HTTP_MAX_URI]; /* New URL */ + + + cgiSetVariable("DEFAULT_URI", + cgiRewriteURL(attr->values[0].string.text, + url, sizeof(url), NULL)); + } + + ippDelete(response); + } + + /* + * See if we need to show a list of classes or the status of a + * single printer... + */ + + if (!pclass) + show_all_classes(http, user); + else + show_class(http, pclass); + } + else if (pclass) + { + if (!*op) + { + const char *server_port = getenv("SERVER_PORT"); + /* Port number string */ + int port = atoi(server_port ? server_port : "0"); + /* Port number */ + char uri[1024]; /* URL */ + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), + getenv("HTTPS") ? "https" : "http", NULL, + getenv("SERVER_NAME"), port, "/classes/%s", pclass); + + printf("Location: %s\n\n", uri); + } + else if (!strcmp(op, "start-class")) + do_class_op(http, pclass, IPP_RESUME_PRINTER, cgiText(_("Resume Class"))); + else if (!strcmp(op, "stop-class")) + do_class_op(http, pclass, IPP_PAUSE_PRINTER, cgiText(_("Pause Class"))); + else if (!strcmp(op, "accept-jobs")) + do_class_op(http, pclass, CUPS_ACCEPT_JOBS, cgiText(_("Accept Jobs"))); + else if (!strcmp(op, "reject-jobs")) + do_class_op(http, pclass, CUPS_REJECT_JOBS, cgiText(_("Reject Jobs"))); + else if (!strcmp(op, "cancel-jobs")) + do_class_op(http, pclass, IPP_OP_CANCEL_JOBS, cgiText(_("Cancel Jobs"))); + else if (!_cups_strcasecmp(op, "print-test-page")) + cgiPrintTestPage(http, pclass); + else if (!_cups_strcasecmp(op, "move-jobs")) + cgiMoveJobs(http, pclass, 0); + else + { + /* + * Unknown/bad operation... + */ + + cgiStartHTML(pclass); + cgiCopyTemplateLang("error-op.tmpl"); + cgiEndHTML(); + } + } + else + { + /* + * Unknown/bad operation... + */ + + cgiStartHTML(cgiText(_("Classes"))); + cgiCopyTemplateLang("error-op.tmpl"); + cgiEndHTML(); + } + + /* + * Close the HTTP server connection... + */ + + httpClose(http); + + /* + * Return with no errors... + */ + + return (0); +} + + +/* + * 'do_class_op()' - Do a class operation. + */ + +static void +do_class_op(http_t *http, /* I - HTTP connection */ + const char *printer, /* I - Printer name */ + ipp_op_t op, /* I - Operation to perform */ + const char *title) /* I - Title of page */ +{ + ipp_t *request; /* IPP request */ + char uri[HTTP_MAX_URI], /* Printer URI */ + resource[HTTP_MAX_URI]; /* Path for request */ + + + /* + * Build a printer request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(op); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/classes/%s", printer); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + /* + * Do the request and get back a response... + */ + + snprintf(resource, sizeof(resource), "/classes/%s", printer); + ippDelete(cupsDoRequest(http, request, resource)); + + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + else if (cupsLastError() > IPP_OK_CONFLICT) + { + cgiStartHTML(title); + cgiShowIPPError(_("Unable to do maintenance command")); + } + else + { + /* + * Redirect successful updates back to the printer page... + */ + + char url[1024], /* Printer/class URL */ + refresh[1024]; /* Refresh URL */ + + + cgiRewriteURL(uri, url, sizeof(url), NULL); + cgiFormEncode(uri, url, sizeof(uri)); + snprintf(refresh, sizeof(refresh), "5;URL=%s", uri); + cgiSetVariable("refresh_page", refresh); + + cgiStartHTML(title); + + cgiSetVariable("IS_CLASS", "YES"); + + if (op == IPP_PAUSE_PRINTER) + cgiCopyTemplateLang("printer-stop.tmpl"); + else if (op == IPP_RESUME_PRINTER) + cgiCopyTemplateLang("printer-start.tmpl"); + else if (op == CUPS_ACCEPT_JOBS) + cgiCopyTemplateLang("printer-accept.tmpl"); + else if (op == CUPS_REJECT_JOBS) + cgiCopyTemplateLang("printer-reject.tmpl"); + else if (op == IPP_OP_CANCEL_JOBS) + cgiCopyTemplateLang("printer-cancel-jobs.tmpl"); + } + + cgiEndHTML(); +} + + +/* + * 'show_all_classes()' - Show all classes... + */ + +static void +show_all_classes(http_t *http, /* I - Connection to server */ + const char *user) /* I - Username */ +{ + int i; /* Looping var */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + cups_array_t *classes; /* Array of class objects */ + ipp_attribute_t *pclass; /* Class object */ + int first, /* First class to show */ + count; /* Number of classes */ + const char *var; /* Form variable */ + void *search; /* Search data */ + char val[1024]; /* Form variable */ + + + /* + * Show the standard header... + */ + + cgiStartHTML(cgiText(_("Classes"))); + + /* + * Build a CUPS_GET_CLASSES request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * requesting-user-name + */ + + request = ippNewRequest(CUPS_GET_CLASSES); + + if (user) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + + cgiGetAttributes(request, "classes.tmpl"); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + /* + * Get a list of matching job objects. + */ + + if ((var = cgiGetVariable("QUERY")) != NULL && + !cgiGetVariable("CLEAR")) + search = cgiCompileSearch(var); + else + search = NULL; + + classes = cgiGetIPPObjects(response, search); + count = cupsArrayCount(classes); + + if (search) + cgiFreeSearch(search); + + /* + * Figure out which classes to display... + */ + + if ((var = cgiGetVariable("FIRST")) != NULL) + first = atoi(var); + else + first = 0; + + if (first >= count) + first = count - CUPS_PAGE_MAX; + + first = (first / CUPS_PAGE_MAX) * CUPS_PAGE_MAX; + + if (first < 0) + first = 0; + + sprintf(val, "%d", count); + cgiSetVariable("TOTAL", val); + + for (i = 0, pclass = (ipp_attribute_t *)cupsArrayIndex(classes, first); + i < CUPS_PAGE_MAX && pclass; + i ++, pclass = (ipp_attribute_t *)cupsArrayNext(classes)) + cgiSetIPPObjectVars(pclass, NULL, i); + + /* + * Save navigation URLs... + */ + + cgiSetVariable("THISURL", "/classes/"); + + if (first > 0) + { + sprintf(val, "%d", first - CUPS_PAGE_MAX); + cgiSetVariable("PREV", val); + } + + if ((first + CUPS_PAGE_MAX) < count) + { + sprintf(val, "%d", first + CUPS_PAGE_MAX); + cgiSetVariable("NEXT", val); + } + + if (count > CUPS_PAGE_MAX) + { + snprintf(val, sizeof(val), "%d", CUPS_PAGE_MAX * (count / CUPS_PAGE_MAX)); + cgiSetVariable("LAST", val); + } + + /* + * Then show everything... + */ + + cgiCopyTemplateLang("search.tmpl"); + + cgiCopyTemplateLang("classes-header.tmpl"); + + if (count > CUPS_PAGE_MAX) + cgiCopyTemplateLang("pager.tmpl"); + + cgiCopyTemplateLang("classes.tmpl"); + + if (count > CUPS_PAGE_MAX) + cgiCopyTemplateLang("pager.tmpl"); + + /* + * Delete the response... + */ + + cupsArrayDelete(classes); + ippDelete(response); + } + else + { + /* + * Show the error... + */ + + cgiShowIPPError(_("Unable to get class list")); + } + + cgiEndHTML(); +} + + +/* + * 'show_class()' - Show a single class. + */ + +static void +show_class(http_t *http, /* I - Connection to server */ + const char *pclass) /* I - Name of class */ +{ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* IPP attribute */ + char uri[HTTP_MAX_URI]; /* Printer URI */ + char refresh[1024]; /* Refresh URL */ + + + /* + * Build an IPP_GET_PRINTER_ATTRIBUTES request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(IPP_GET_PRINTER_ATTRIBUTES); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/classes/%s", pclass); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, + uri); + + cgiGetAttributes(request, "class.tmpl"); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + /* + * Got the result; set the CGI variables and check the status of a + * single-queue request... + */ + + cgiSetIPPVars(response, NULL, NULL, NULL, 0); + + if (pclass && (attr = ippFindAttribute(response, "printer-state", + IPP_TAG_ENUM)) != NULL && + attr->values[0].integer == IPP_PRINTER_PROCESSING) + { + /* + * Class is processing - automatically refresh the page until we + * are done printing... + */ + + cgiFormEncode(uri, pclass, sizeof(uri)); + snprintf(refresh, sizeof(refresh), "10;URL=/classes/%s", uri); + cgiSetVariable("refresh_page", refresh); + } + + /* + * Delete the response... + */ + + ippDelete(response); + + /* + * Show the standard header... + */ + + cgiStartHTML(pclass); + + /* + * Show the class status... + */ + + cgiCopyTemplateLang("class.tmpl"); + + /* + * Show jobs for the specified class... + */ + + cgiCopyTemplateLang("class-jobs-header.tmpl"); + cgiShowJobs(http, pclass); + } + else + { + /* + * Show the IPP error... + */ + + cgiStartHTML(pclass); + cgiShowIPPError(_("Unable to get class status")); + } + + cgiEndHTML(); +} diff --git a/cgi-bin/help-index.c b/cgi-bin/help-index.c new file mode 100644 index 0000000..ce97e47 --- /dev/null +++ b/cgi-bin/help-index.c @@ -0,0 +1,1264 @@ +/* + * Online help index routines for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi-private.h" +#include + + +/* + * List of common English words that should not be indexed... + */ + +static char help_common_words[][6] = + { + "about", + "all", + "an", + "and", + "are", + "as", + "at", + "be", + "been", + "but", + "by", + "call", + "can", + "come", + "could", + "day", + "did", + "do", + "down", + "each", + "find", + "first", + "for", + "from", + "go", + "had", + "has", + "have", + "he", + "her", + "him", + "his", + "hot", + "how", + "if", + "in", + "is", + "it", + "know", + "like", + "long", + "look", + "make", + "many", + "may", + "more", + "most", + "my", + "no", + "now", + "of", + "on", + "one", + "or", + "other", + "out", + "over", + "said", + "see", + "she", + "side", + "so", + "some", + "sound", + "than", + "that", + "the", + "their", + "them", + "then", + "there", + "these", + "they", + "thing", + "this", + "time", + "to", + "two", + "up", + "use", + "was", + "water", + "way", + "we", + "were", + "what", + "when", + "which", + "who", + "will", + "with", + "word", + "would", + "write", + "you", + "your" + }; + + +/* + * Local functions... + */ + +static help_word_t *help_add_word(help_node_t *n, const char *text); +static void help_delete_node(help_node_t *n); +static void help_delete_word(help_word_t *w); +static int help_load_directory(help_index_t *hi, + const char *directory, + const char *relative); +static int help_load_file(help_index_t *hi, + const char *filename, + const char *relative, + time_t mtime); +static help_node_t *help_new_node(const char *filename, const char *anchor, const char *section, const char *text, time_t mtime, off_t offset, size_t length) _CUPS_NONNULL(1,3,4); +static int help_sort_by_name(help_node_t *p1, help_node_t *p2); +static int help_sort_by_score(help_node_t *p1, help_node_t *p2); +static int help_sort_words(help_word_t *w1, help_word_t *w2); + + +/* + * 'helpDeleteIndex()' - Delete an index, freeing all memory used. + */ + +void +helpDeleteIndex(help_index_t *hi) /* I - Help index */ +{ + help_node_t *node; /* Current node */ + + + if (!hi) + return; + + for (node = (help_node_t *)cupsArrayFirst(hi->nodes); + node; + node = (help_node_t *)cupsArrayNext(hi->nodes)) + { + if (!hi->search) + help_delete_node(node); + } + + cupsArrayDelete(hi->nodes); + cupsArrayDelete(hi->sorted); + + free(hi); +} + + +/* + * 'helpFindNode()' - Find a node in an index. + */ + +help_node_t * /* O - Node pointer or NULL */ +helpFindNode(help_index_t *hi, /* I - Index */ + const char *filename, /* I - Filename */ + const char *anchor) /* I - Anchor */ +{ + help_node_t key; /* Search key */ + + + /* + * Range check input... + */ + + if (!hi || !filename) + return (NULL); + + /* + * Initialize the search key... + */ + + key.filename = (char *)filename; + key.anchor = (char *)anchor; + + /* + * Return any match... + */ + + return ((help_node_t *)cupsArrayFind(hi->nodes, &key)); +} + + +/* + * 'helpLoadIndex()' - Load a help index from disk. + */ + +help_index_t * /* O - Index pointer or NULL */ +helpLoadIndex(const char *hifile, /* I - Index filename */ + const char *directory) /* I - Directory that is indexed */ +{ + help_index_t *hi; /* Help index */ + cups_file_t *fp; /* Current file */ + char line[2048], /* Line from file */ + *ptr, /* Pointer into line */ + *filename, /* Filename in line */ + *anchor, /* Anchor in line */ + *sectptr, /* Section pointer in line */ + section[1024], /* Section name */ + *text; /* Text in line */ + time_t mtime; /* Modification time */ + off_t offset; /* Offset into file */ + size_t length; /* Length in bytes */ + int update; /* Update? */ + help_node_t *node; /* Current node */ + help_word_t *word; /* Current word */ + + + /* + * Create a new, empty index. + */ + + if ((hi = (help_index_t *)calloc(1, sizeof(help_index_t))) == NULL) + return (NULL); + + hi->nodes = cupsArrayNew((cups_array_func_t)help_sort_by_name, NULL); + hi->sorted = cupsArrayNew((cups_array_func_t)help_sort_by_score, NULL); + + if (!hi->nodes || !hi->sorted) + { + cupsArrayDelete(hi->nodes); + cupsArrayDelete(hi->sorted); + free(hi); + return (NULL); + } + + /* + * Try loading the existing index file... + */ + + if ((fp = cupsFileOpen(hifile, "r")) != NULL) + { + /* + * Lock the file and then read the first line... + */ + + cupsFileLock(fp, 1); + + if (cupsFileGets(fp, line, sizeof(line)) && !strcmp(line, "HELPV2")) + { + /* + * Got a valid header line, now read the data lines... + */ + + node = NULL; + + while (cupsFileGets(fp, line, sizeof(line))) + { + /* + * Each line looks like one of the following: + * + * filename mtime offset length "section" "text" + * filename#anchor offset length "text" + * SP count word + */ + + if (line[0] == ' ') + { + /* + * Read a word in the current node... + */ + + if (!node || (ptr = strrchr(line, ' ')) == NULL) + continue; + + if ((word = help_add_word(node, ptr + 1)) != NULL) + word->count = atoi(line + 1); + } + else + { + /* + * Add a node... + */ + + filename = line; + + if ((ptr = strchr(line, ' ')) == NULL) + break; + + while (isspace(*ptr & 255)) + *ptr++ = '\0'; + + if ((anchor = strrchr(filename, '#')) != NULL) + { + *anchor++ = '\0'; + mtime = 0; + } + else + mtime = strtol(ptr, &ptr, 10); + + offset = strtoll(ptr, &ptr, 10); + length = (size_t)strtoll(ptr, &ptr, 10); + + while (isspace(*ptr & 255)) + ptr ++; + + if (!anchor) + { + /* + * Get section... + */ + + if (*ptr != '\"') + break; + + ptr ++; + sectptr = ptr; + + while (*ptr && *ptr != '\"') + ptr ++; + + if (*ptr != '\"') + break; + + *ptr++ = '\0'; + + strlcpy(section, sectptr, sizeof(section)); + + while (isspace(*ptr & 255)) + ptr ++; + } + else + section[0] = '\0'; + + if (*ptr != '\"') + break; + + ptr ++; + text = ptr; + + while (*ptr && *ptr != '\"') + ptr ++; + + if (*ptr != '\"') + break; + + *ptr++ = '\0'; + + if ((node = help_new_node(filename, anchor, section, text, + mtime, offset, length)) == NULL) + break; + + node->score = -1; + + cupsArrayAdd(hi->nodes, node); + } + } + } + + cupsFileClose(fp); + } + + /* + * Scan for new/updated files... + */ + + update = help_load_directory(hi, directory, NULL); + + /* + * Remove any files that are no longer installed... + */ + + for (node = (help_node_t *)cupsArrayFirst(hi->nodes); + node; + node = (help_node_t *)cupsArrayNext(hi->nodes)) + if (node->score < 0) + { + /* + * Delete this node... + */ + + cupsArrayRemove(hi->nodes, node); + help_delete_node(node); + } + + /* + * Add nodes to the sorted array... + */ + + for (node = (help_node_t *)cupsArrayFirst(hi->nodes); + node; + node = (help_node_t *)cupsArrayNext(hi->nodes)) + cupsArrayAdd(hi->sorted, node); + + /* + * Save the index if we updated it... + */ + + if (update) + helpSaveIndex(hi, hifile); + + /* + * Return the index... + */ + + return (hi); +} + + +/* + * 'helpSaveIndex()' - Save a help index to disk. + */ + +int /* O - 0 on success, -1 on error */ +helpSaveIndex(help_index_t *hi, /* I - Index */ + const char *hifile) /* I - Index filename */ +{ + cups_file_t *fp; /* Index file */ + help_node_t *node; /* Current node */ + help_word_t *word; /* Current word */ + + + /* + * Try creating a new index file... + */ + + if ((fp = cupsFileOpen(hifile, "w9")) == NULL) + return (-1); + + /* + * Lock the file while we write it... + */ + + cupsFileLock(fp, 1); + + cupsFilePuts(fp, "HELPV2\n"); + + for (node = (help_node_t *)cupsArrayFirst(hi->nodes); + node; + node = (help_node_t *)cupsArrayNext(hi->nodes)) + { + /* + * Write the current node with/without the anchor... + */ + + if (node->anchor) + { + if (cupsFilePrintf(fp, "%s#%s " CUPS_LLFMT " " CUPS_LLFMT " \"%s\"\n", + node->filename, node->anchor, + CUPS_LLCAST node->offset, CUPS_LLCAST node->length, + node->text) < 0) + break; + } + else + { + if (cupsFilePrintf(fp, "%s %d " CUPS_LLFMT " " CUPS_LLFMT " \"%s\" \"%s\"\n", + node->filename, (int)node->mtime, + CUPS_LLCAST node->offset, CUPS_LLCAST node->length, + node->section ? node->section : "", node->text) < 0) + break; + } + + /* + * Then write the words associated with the node... + */ + + for (word = (help_word_t *)cupsArrayFirst(node->words); + word; + word = (help_word_t *)cupsArrayNext(node->words)) + if (cupsFilePrintf(fp, " %d %s\n", word->count, word->text) < 0) + break; + } + + cupsFileFlush(fp); + + if (cupsFileClose(fp) < 0) + return (-1); + else if (node) + return (-1); + else + return (0); +} + + +/* + * 'helpSearchIndex()' - Search an index. + */ + +help_index_t * /* O - Search index */ +helpSearchIndex(help_index_t *hi, /* I - Index */ + const char *query, /* I - Query string */ + const char *section, /* I - Limit search to this section */ + const char *filename) /* I - Limit search to this file */ +{ + help_index_t *search; /* Search index */ + help_node_t *node; /* Current node */ + help_word_t *word; /* Current word */ + void *sc; /* Search context */ + int matches; /* Number of matches */ + + + /* + * Range check... + */ + + if (!hi || !query) + return (NULL); + + /* + * Reset the scores of all nodes to 0... + */ + + for (node = (help_node_t *)cupsArrayFirst(hi->nodes); + node; + node = (help_node_t *)cupsArrayNext(hi->nodes)) + node->score = 0; + + /* + * Find the first node to search in... + */ + + if (filename) + { + node = helpFindNode(hi, filename, NULL); + if (!node) + return (NULL); + } + else + node = (help_node_t *)cupsArrayFirst(hi->nodes); + + /* + * Convert the query into a regular expression... + */ + + sc = cgiCompileSearch(query); + if (!sc) + return (NULL); + + /* + * Allocate a search index... + */ + + search = calloc(1, sizeof(help_index_t)); + if (!search) + { + cgiFreeSearch(sc); + return (NULL); + } + + search->nodes = cupsArrayNew((cups_array_func_t)help_sort_by_name, NULL); + search->sorted = cupsArrayNew((cups_array_func_t)help_sort_by_score, NULL); + + if (!search->nodes || !search->sorted) + { + cupsArrayDelete(search->nodes); + cupsArrayDelete(search->sorted); + free(search); + cgiFreeSearch(sc); + return (NULL); + } + + search->search = 1; + + /* + * Check each node in the index, adding matching nodes to the + * search index... + */ + + for (; node; node = (help_node_t *)cupsArrayNext(hi->nodes)) + if (section && strcmp(node->section, section)) + continue; + else if (filename && strcmp(node->filename, filename)) + continue; + else + { + matches = cgiDoSearch(sc, node->text); + + for (word = (help_word_t *)cupsArrayFirst(node->words); + word; + word = (help_word_t *)cupsArrayNext(node->words)) + if (cgiDoSearch(sc, word->text) > 0) + matches += word->count; + + if (matches > 0) + { + /* + * Found a match, add the node to the search index... + */ + + node->score = matches; + + cupsArrayAdd(search->nodes, node); + cupsArrayAdd(search->sorted, node); + } + } + + /* + * Free the search context... + */ + + cgiFreeSearch(sc); + + /* + * Return the results... + */ + + return (search); +} + + +/* + * 'help_add_word()' - Add a word to a node. + */ + +static help_word_t * /* O - New word */ +help_add_word(help_node_t *n, /* I - Node */ + const char *text) /* I - Word text */ +{ + help_word_t *w, /* New word */ + key; /* Search key */ + + + /* + * Create the words array as needed... + */ + + if (!n->words) + n->words = cupsArrayNew((cups_array_func_t)help_sort_words, NULL); + + /* + * See if the word is already added... + */ + + key.text = (char *)text; + + if ((w = (help_word_t *)cupsArrayFind(n->words, &key)) == NULL) + { + /* + * Create a new word... + */ + + if ((w = calloc(1, sizeof(help_word_t))) == NULL) + return (NULL); + + if ((w->text = strdup(text)) == NULL) + { + free(w); + return (NULL); + } + + cupsArrayAdd(n->words, w); + } + + /* + * Bump the counter for this word and return it... + */ + + w->count ++; + + return (w); +} + + +/* + * 'help_delete_node()' - Free all memory used by a node. + */ + +static void +help_delete_node(help_node_t *n) /* I - Node */ +{ + help_word_t *w; /* Current word */ + + + if (!n) + return; + + if (n->filename) + free(n->filename); + + if (n->anchor) + free(n->anchor); + + if (n->section) + free(n->section); + + if (n->text) + free(n->text); + + for (w = (help_word_t *)cupsArrayFirst(n->words); + w; + w = (help_word_t *)cupsArrayNext(n->words)) + help_delete_word(w); + + cupsArrayDelete(n->words); + + free(n); +} + + +/* + * 'help_delete_word()' - Free all memory used by a word. + */ + +static void +help_delete_word(help_word_t *w) /* I - Word */ +{ + if (!w) + return; + + if (w->text) + free(w->text); + + free(w); +} + + +/* + * 'help_load_directory()' - Load a directory of files into an index. + */ + +static int /* O - 0 = success, -1 = error, 1 = updated */ +help_load_directory( + help_index_t *hi, /* I - Index */ + const char *directory, /* I - Directory */ + const char *relative) /* I - Relative path */ +{ + cups_dir_t *dir; /* Directory file */ + cups_dentry_t *dent; /* Directory entry */ + char *ext, /* Pointer to extension */ + filename[1024], /* Full filename */ + relname[1024]; /* Relative filename */ + int update; /* Updated? */ + help_node_t *node; /* Current node */ + + + /* + * Open the directory and scan it... + */ + + if ((dir = cupsDirOpen(directory)) == NULL) + return (0); + + update = 0; + + while ((dent = cupsDirRead(dir)) != NULL) + { + /* + * Skip "." files... + */ + + if (dent->filename[0] == '.') + continue; + + /* + * Get absolute and relative filenames... + */ + + snprintf(filename, sizeof(filename), "%s/%s", directory, dent->filename); + if (relative) + snprintf(relname, sizeof(relname), "%s/%s", relative, dent->filename); + else + strlcpy(relname, dent->filename, sizeof(relname)); + + /* + * Check if we have a HTML file... + */ + + if ((ext = strstr(dent->filename, ".html")) != NULL && + (!ext[5] || !strcmp(ext + 5, ".gz"))) + { + /* + * HTML file, see if we have already indexed the file... + */ + + if ((node = helpFindNode(hi, relname, NULL)) != NULL) + { + /* + * File already indexed - check dates to confirm that the + * index is up-to-date... + */ + + if (node->mtime == dent->fileinfo.st_mtime) + { + /* + * Same modification time, so mark all of the nodes + * for this file as up-to-date... + */ + + for (; node; node = (help_node_t *)cupsArrayNext(hi->nodes)) + if (!strcmp(node->filename, relname)) + node->score = 0; + else + break; + + continue; + } + } + + update = 1; + + help_load_file(hi, filename, relname, dent->fileinfo.st_mtime); + } + else if (S_ISDIR(dent->fileinfo.st_mode)) + { + /* + * Process sub-directory... + */ + + if (help_load_directory(hi, filename, relname) == 1) + update = 1; + } + } + + cupsDirClose(dir); + + return (update); +} + + +/* + * 'help_load_file()' - Load a HTML files into an index. + */ + +static int /* O - 0 = success, -1 = error */ +help_load_file( + help_index_t *hi, /* I - Index */ + const char *filename, /* I - Filename */ + const char *relative, /* I - Relative path */ + time_t mtime) /* I - Modification time */ +{ + cups_file_t *fp; /* HTML file */ + help_node_t *node; /* Current node */ + char line[1024], /* Line from file */ + temp[1024], /* Temporary word */ + section[1024], /* Section */ + *ptr, /* Pointer into line */ + *anchor, /* Anchor name */ + *text; /* Text for anchor */ + off_t offset; /* File offset */ + char quote; /* Quote character */ + help_word_t *word; /* Current word */ + int wordlen; /* Length of word */ + + + if ((fp = cupsFileOpen(filename, "r")) == NULL) + return (-1); + + node = NULL; + offset = 0; + + strlcpy(section, "Other", sizeof(section)); + + while (cupsFileGets(fp, line, sizeof(line))) + { + /* + * Look for "", "<A NAME", or "<!-- SECTION:" prefix... + */ + + if ((ptr = strstr(line, "<!-- SECTION:")) != NULL) + { + /* + * Got section line, copy it! + */ + + for (ptr += 13; isspace(*ptr & 255); ptr ++); + + strlcpy(section, ptr, sizeof(section)); + if ((ptr = strstr(section, "-->")) != NULL) + { + /* + * Strip comment stuff from end of line... + */ + + for (*ptr-- = '\0'; ptr > line && isspace(*ptr & 255); *ptr-- = '\0'); + + if (isspace(*ptr & 255)) + *ptr = '\0'; + } + continue; + } + + for (ptr = line; (ptr = strchr(ptr, '<')) != NULL;) + { + ptr ++; + + if (!_cups_strncasecmp(ptr, "TITLE>", 6)) + { + /* + * Found the title... + */ + + anchor = NULL; + ptr += 6; + } + else + { + char *idptr; /* Pointer to ID */ + + if (!_cups_strncasecmp(ptr, "A NAME=", 7)) + ptr += 7; + else if ((idptr = strstr(ptr, " ID=")) != NULL) + ptr = idptr + 4; + else if ((idptr = strstr(ptr, " id=")) != NULL) + ptr = idptr + 4; + else + continue; + + /* + * Found an anchor... + */ + + if (*ptr == '\"' || *ptr == '\'') + { + /* + * Get quoted anchor... + */ + + quote = *ptr; + anchor = ptr + 1; + if ((ptr = strchr(anchor, quote)) != NULL) + *ptr++ = '\0'; + else + break; + } + else + { + /* + * Get unquoted anchor... + */ + + anchor = ptr + 1; + + for (ptr = anchor; *ptr && *ptr != '>' && !isspace(*ptr & 255); ptr ++); + + if (*ptr != '>') + *ptr++ = '\0'; + else + break; + } + + /* + * Got the anchor, now lets find the end... + */ + + while (*ptr && *ptr != '>') + ptr ++; + + if (*ptr != '>') + break; + + *ptr++ = '\0'; + } + + /* + * Now collect text for the link... + */ + + text = ptr; + while ((ptr = strchr(text, '<')) == NULL) + { + ptr = text + strlen(text); + if (ptr >= (line + sizeof(line) - 2)) + break; + + *ptr++ = ' '; + + if (!cupsFileGets(fp, ptr, sizeof(line) - (size_t)(ptr - line) - 1)) + break; + } + + *ptr = '\0'; + + if (node) + node->length = (size_t)(offset - node->offset); + + if (!*text) + { + node = NULL; + break; + } + + if ((node = helpFindNode(hi, relative, anchor)) != NULL) + { + /* + * Node already in the index, so replace the text and other + * data... + */ + + cupsArrayRemove(hi->nodes, node); + + if (node->section) + free(node->section); + + if (node->text) + free(node->text); + + if (node->words) + { + for (word = (help_word_t *)cupsArrayFirst(node->words); + word; + word = (help_word_t *)cupsArrayNext(node->words)) + help_delete_word(word); + + cupsArrayDelete(node->words); + node->words = NULL; + } + + node->section = section[0] ? strdup(section) : NULL; + node->text = strdup(text); + node->mtime = mtime; + node->offset = offset; + node->score = 0; + } + else + { + /* + * New node... + */ + + node = help_new_node(relative, anchor, section, text, mtime, offset, 0); + } + + /* + * Go through the text value and replace tabs and newlines with + * whitespace and eliminate extra whitespace... + */ + + for (ptr = node->text, text = node->text; *ptr;) + if (isspace(*ptr & 255)) + { + while (isspace(*ptr & 255)) + ptr ++; + + *text++ = ' '; + } + else if (text != ptr) + *text++ = *ptr++; + else + { + text ++; + ptr ++; + } + + *text = '\0'; + + /* + * (Re)add the node to the array... + */ + + cupsArrayAdd(hi->nodes, node); + + if (!anchor) + node = NULL; + break; + } + + if (node) + { + /* + * Scan this line for words... + */ + + for (ptr = line; *ptr; ptr ++) + { + /* + * Skip HTML stuff... + */ + + if (*ptr == '<') + { + if (!strncmp(ptr, "<!--", 4)) + { + /* + * Skip HTML comment... + */ + + if ((text = strstr(ptr + 4, "-->")) == NULL) + ptr += strlen(ptr) - 1; + else + ptr = text + 2; + } + else + { + /* + * Skip HTML element... + */ + + for (ptr ++; *ptr && *ptr != '>'; ptr ++) + { + if (*ptr == '\"' || *ptr == '\'') + { + for (quote = *ptr++; *ptr && *ptr != quote; ptr ++); + + if (!*ptr) + ptr --; + } + } + + if (!*ptr) + ptr --; + } + + continue; + } + else if (*ptr == '&') + { + /* + * Skip HTML entity... + */ + + for (ptr ++; *ptr && *ptr != ';'; ptr ++); + + if (!*ptr) + ptr --; + + continue; + } + else if (!isalnum(*ptr & 255)) + continue; + + /* + * Found the start of a word, search until we find the end... + */ + + for (text = ptr, ptr ++; *ptr && isalnum(*ptr & 255); ptr ++); + + wordlen = (int)(ptr - text); + + memcpy(temp, text, (size_t)wordlen); + temp[wordlen] = '\0'; + + ptr --; + + if (wordlen > 1 && !bsearch(temp, help_common_words, + (sizeof(help_common_words) / + sizeof(help_common_words[0])), + sizeof(help_common_words[0]), + (int (*)(const void *, const void *)) + _cups_strcasecmp)) + help_add_word(node, temp); + } + } + + /* + * Get the offset of the next line... + */ + + offset = cupsFileTell(fp); + } + + cupsFileClose(fp); + + if (node) + node->length = (size_t)(offset - node->offset); + + return (0); +} + + +/* + * 'help_new_node()' - Create a new node and add it to an index. + */ + +static help_node_t * /* O - Node pointer or NULL on error */ +help_new_node(const char *filename, /* I - Filename */ + const char *anchor, /* I - Anchor */ + const char *section, /* I - Section */ + const char *text, /* I - Text */ + time_t mtime, /* I - Modification time */ + off_t offset, /* I - Offset in file */ + size_t length) /* I - Length in bytes */ +{ + help_node_t *n; /* Node */ + + + n = (help_node_t *)calloc(1, sizeof(help_node_t)); + if (!n) + return (NULL); + + n->filename = strdup(filename); + n->anchor = anchor ? strdup(anchor) : NULL; + n->section = (section && *section) ? strdup(section) : NULL; + n->text = strdup(text); + n->mtime = mtime; + n->offset = offset; + n->length = length; + + return (n); +} + + +/* + * 'help_sort_nodes_by_name()' - Sort nodes by section, filename, and anchor. + */ + +static int /* O - Difference */ +help_sort_by_name(help_node_t *n1, /* I - First node */ + help_node_t *n2) /* I - Second node */ +{ + int diff; /* Difference */ + + + if ((diff = strcmp(n1->filename, n2->filename)) != 0) + return (diff); + + if (!n1->anchor && !n2->anchor) + return (0); + else if (!n1->anchor) + return (-1); + else if (!n2->anchor) + return (1); + else + return (strcmp(n1->anchor, n2->anchor)); +} + + +/* + * 'help_sort_nodes_by_score()' - Sort nodes by score and text. + */ + +static int /* O - Difference */ +help_sort_by_score(help_node_t *n1, /* I - First node */ + help_node_t *n2) /* I - Second node */ +{ + int diff; /* Difference */ + + + if (n1->score != n2->score) + return (n2->score - n1->score); + + if (n1->section && !n2->section) + return (1); + else if (!n1->section && n2->section) + return (-1); + else if (n1->section && n2->section && + (diff = strcmp(n1->section, n2->section)) != 0) + return (diff); + + return (_cups_strcasecmp(n1->text, n2->text)); +} + + +/* + * 'help_sort_words()' - Sort words alphabetically. + */ + +static int /* O - Difference */ +help_sort_words(help_word_t *w1, /* I - Second word */ + help_word_t *w2) /* I - Second word */ +{ + return (_cups_strcasecmp(w1->text, w2->text)); +} diff --git a/cgi-bin/help-index.h b/cgi-bin/help-index.h new file mode 100644 index 0000000..c486fba --- /dev/null +++ b/cgi-bin/help-index.h @@ -0,0 +1,77 @@ +/* + * Online help index definitions for CUPS. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_HELP_INDEX_H_ +# define _CUPS_HELP_INDEX_H_ + +/* + * Include necessary headers... + */ + +# include <cups/array.h> + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + +/* + * Data structures... + */ + +typedef struct help_word_s /**** Help word structure... ****/ +{ + int count; /* Number of occurrences */ + char *text; /* Word text */ +} help_word_t; + +typedef struct help_node_s /**** Help node structure... ****/ +{ + char *filename; /* Filename, relative to help dir */ + char *section; /* Section name (NULL if none) */ + char *anchor; /* Anchor name (NULL if none) */ + char *text; /* Text in anchor */ + cups_array_t *words; /* Words after this node */ + time_t mtime; /* Last modification time */ + off_t offset; /* Offset in file */ + size_t length; /* Length in bytes */ + int score; /* Search score */ +} help_node_t; + +typedef struct help_index_s /**** Help index structure ****/ +{ + int search; /* 1 = search index, 0 = normal */ + cups_array_t *nodes; /* Nodes sorted by filename */ + cups_array_t *sorted; /* Nodes sorted by score + text */ +} help_index_t; + + +/* + * Functions... + */ + +extern void helpDeleteIndex(help_index_t *hi); +extern help_node_t *helpFindNode(help_index_t *hi, const char *filename, + const char *anchor); +extern help_index_t *helpLoadIndex(const char *hifile, const char *directory); +extern int helpSaveIndex(help_index_t *hi, const char *hifile); +extern help_index_t *helpSearchIndex(help_index_t *hi, const char *query, + const char *section, + const char *filename); + + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_HELP_INDEX_H_ */ diff --git a/cgi-bin/help.c b/cgi-bin/help.c new file mode 100644 index 0000000..faa1993 --- /dev/null +++ b/cgi-bin/help.c @@ -0,0 +1,384 @@ +/* + * Online help CGI for CUPS. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi-private.h" + + +/* + * 'main()' - Main entry for CGI. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + help_index_t *hi, /* Help index */ + *si; /* Search index */ + help_node_t *n; /* Current help node */ + int i; /* Looping var */ + const char *query; /* Search query */ + const char *cache_dir; /* CUPS_CACHEDIR environment variable */ + const char *docroot; /* CUPS_DOCROOT environment variable */ + const char *helpfile, /* Current help file */ + *helptitle = NULL; /* Current help title */ + const char *topic; /* Current topic */ + char topic_data[1024]; /* Topic form data */ + const char *section; /* Current section */ + char filename[1024], /* Filename */ + directory[1024]; /* Directory */ + cups_file_t *fp; /* Help file */ + char line[1024]; /* Line from file */ + int printable; /* Show printable version? */ + + + /* + * Get any form variables... + */ + + cgiInitialize(); + + printable = cgiGetVariable("PRINTABLE") != NULL; + + /* + * Set the web interface section... + */ + + cgiSetVariable("SECTION", "help"); + cgiSetVariable("REFRESH_PAGE", ""); + + /* + * Load the help index... + */ + + if ((cache_dir = getenv("CUPS_CACHEDIR")) == NULL) + cache_dir = CUPS_CACHEDIR; + + snprintf(filename, sizeof(filename), "%s/help.index", cache_dir); + + if ((docroot = getenv("CUPS_DOCROOT")) == NULL) + docroot = CUPS_DOCROOT; + + snprintf(directory, sizeof(directory), "%s/help", docroot); + + fprintf(stderr, "DEBUG: helpLoadIndex(filename=\"%s\", directory=\"%s\")\n", + filename, directory); + + hi = helpLoadIndex(filename, directory); + if (!hi) + { + perror(filename); + + cgiStartHTML(cgiText(_("Online Help"))); + cgiSetVariable("ERROR", cgiText(_("Unable to load help index."))); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + + return (1); + } + + fprintf(stderr, "DEBUG: %d nodes in help index...\n", + cupsArrayCount(hi->nodes)); + + /* + * See if we are viewing a file... + */ + + for (i = 0; i < argc; i ++) + fprintf(stderr, "DEBUG: argv[%d]=\"%s\"\n", i, argv[i]); + + if ((helpfile = getenv("PATH_INFO")) != NULL) + { + helpfile ++; + + if (!*helpfile) + helpfile = NULL; + } + + if (helpfile) + { + /* + * Verify that the help file exists and is part of the index... + */ + + snprintf(filename, sizeof(filename), "%s/help/%s", docroot, helpfile); + + fprintf(stderr, "DEBUG: helpfile=\"%s\", filename=\"%s\"\n", + helpfile, filename); + + if (access(filename, R_OK)) + { + perror(filename); + + cgiStartHTML(cgiText(_("Online Help"))); + cgiSetVariable("ERROR", cgiText(_("Unable to access help file."))); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + + return (1); + } + + if ((n = helpFindNode(hi, helpfile, NULL)) == NULL) + { + cgiStartHTML(cgiText(_("Online Help"))); + cgiSetVariable("ERROR", cgiText(_("Help file not in index."))); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + + return (1); + } + + /* + * Save the page title and help file... + */ + + helptitle = n->text; + topic = n->section; + + /* + * Send a standard page header... + */ + + if (printable) + puts("Content-Type: text/html;charset=utf-8\n"); + else + cgiStartHTML(n->text); + } + else + { + /* + * Send a standard page header... + */ + + cgiStartHTML(cgiText(_("Online Help"))); + + topic = cgiGetVariable("TOPIC"); + } + + /* + * Do a search as needed... + */ + + if (cgiGetVariable("CLEAR")) + cgiSetVariable("QUERY", ""); + + query = cgiGetVariable("QUERY"); + si = helpSearchIndex(hi, query, topic, helpfile); + + cgiClearVariables(); + if (query) + cgiSetVariable("QUERY", query); + if (topic) + cgiSetVariable("TOPIC", topic); + if (helpfile) + cgiSetVariable("HELPFILE", helpfile); + if (helptitle) + cgiSetVariable("HELPTITLE", helptitle); + + fprintf(stderr, "DEBUG: query=\"%s\", topic=\"%s\"\n", + query ? query : "(null)", topic ? topic : "(null)"); + + if (si) + { + help_node_t *nn; /* Parent node */ + + + fprintf(stderr, + "DEBUG: si=%p, si->sorted=%p, cupsArrayCount(si->sorted)=%d\n", si, + si->sorted, cupsArrayCount(si->sorted)); + + for (i = 0, n = (help_node_t *)cupsArrayFirst(si->sorted); + n; + i ++, n = (help_node_t *)cupsArrayNext(si->sorted)) + { + if (helpfile && n->anchor) + snprintf(line, sizeof(line), "#%s", n->anchor); + else if (n->anchor) + snprintf(line, sizeof(line), "/help/%s?QUERY=%s#%s", n->filename, + query ? query : "", n->anchor); + else + snprintf(line, sizeof(line), "/help/%s?QUERY=%s", n->filename, + query ? query : ""); + + cgiSetArray("QTEXT", i, n->text); + cgiSetArray("QLINK", i, line); + + if (!helpfile && n->anchor) + { + nn = helpFindNode(hi, n->filename, NULL); + + snprintf(line, sizeof(line), "/help/%s?QUERY=%s", nn->filename, + query ? query : ""); + + cgiSetArray("QPTEXT", i, nn->text); + cgiSetArray("QPLINK", i, line); + } + else + { + cgiSetArray("QPTEXT", i, ""); + cgiSetArray("QPLINK", i, ""); + } + + fprintf(stderr, "DEBUG: [%d] = \"%s\" @ \"%s\"\n", i, n->text, line); + } + + helpDeleteIndex(si); + } + + /* + * OK, now list the bookmarks within the index... + */ + + for (i = 0, section = NULL, n = (help_node_t *)cupsArrayFirst(hi->sorted); + n; + n = (help_node_t *)cupsArrayNext(hi->sorted)) + { + if (n->anchor) + continue; + + /* + * Add a section link as needed... + */ + + if (n->section && + (!section || strcmp(n->section, section))) + { + /* + * Add a link for this node... + */ + + snprintf(line, sizeof(line), "/help/?TOPIC=%s&QUERY=%s", + cgiFormEncode(topic_data, n->section, sizeof(topic_data)), + query ? query : ""); + cgiSetArray("BMLINK", i, line); + cgiSetArray("BMTEXT", i, n->section); + cgiSetArray("BMINDENT", i, "0"); + + i ++; + section = n->section; + } + + if (!topic || !n->section || strcmp(n->section, topic)) + continue; + + /* + * Add a link for this node... + */ + + snprintf(line, sizeof(line), "/help/%s?TOPIC=%s&QUERY=%s", n->filename, + cgiFormEncode(topic_data, n->section, sizeof(topic_data)), + query ? query : ""); + cgiSetArray("BMLINK", i, line); + cgiSetArray("BMTEXT", i, n->text); + cgiSetArray("BMINDENT", i, "1"); + + i ++; + + if (helpfile && !strcmp(helpfile, n->filename)) + { + help_node_t *nn; /* Pointer to sub-node */ + + + cupsArraySave(hi->sorted); + + for (nn = (help_node_t *)cupsArrayFirst(hi->sorted); + nn; + nn = (help_node_t *)cupsArrayNext(hi->sorted)) + if (nn->anchor && !strcmp(helpfile, nn->filename)) + { + /* + * Add a link for this node... + */ + + snprintf(line, sizeof(line), "#%s", nn->anchor); + cgiSetArray("BMLINK", i, line); + cgiSetArray("BMTEXT", i, nn->text); + cgiSetArray("BMINDENT", i, "2"); + + i ++; + } + + cupsArrayRestore(hi->sorted); + } + } + + /* + * Show the search and bookmark content... + */ + + if (!helpfile || !printable) + cgiCopyTemplateLang("help-header.tmpl"); + else + cgiCopyTemplateLang("help-printable.tmpl"); + + /* + * If we are viewing a file, copy it in now... + */ + + if (helpfile) + { + if ((fp = cupsFileOpen(filename, "r")) != NULL) + { + int inbody; /* Are we inside the body? */ + char *lineptr; /* Pointer into line */ + + inbody = 0; + + while (cupsFileGets(fp, line, sizeof(line))) + { + for (lineptr = line; *lineptr && isspace(*lineptr & 255); lineptr ++); + + if (inbody) + { + if (!_cups_strncasecmp(lineptr, "</BODY>", 7)) + break; + + printf("%s\n", line); + } + else if (!_cups_strncasecmp(lineptr, "<BODY", 5)) + inbody = 1; + } + + cupsFileClose(fp); + } + else + { + perror(filename); + cgiSetVariable("ERROR", cgiText(_("Unable to open help file."))); + cgiCopyTemplateLang("error.tmpl"); + } + } + + /* + * Send a standard trailer... + */ + + if (!printable) + { + cgiCopyTemplateLang("help-trailer.tmpl"); + cgiEndHTML(); + } + else + puts("</BODY>\n</HTML>"); + + /* + * Delete the index... + */ + + helpDeleteIndex(hi); + + /* + * Return with no errors... + */ + + return (0); +} diff --git a/cgi-bin/html.c b/cgi-bin/html.c new file mode 100644 index 0000000..4c9d822 --- /dev/null +++ b/cgi-bin/html.c @@ -0,0 +1,218 @@ +/* + * HTML support functions for CUPS. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi-private.h" + + +/* + * Local globals... + */ + +static const char *cgi_multipart = NULL; + /* Multipart separator, if any */ + + +/* + * Local functions... + */ + +static const char *cgi_null_passwd(const char *prompt); + + +/* + * 'cgiEndHTML()' - End a HTML page. + */ + +void +cgiEndHTML(void) +{ + /* + * Send the standard trailer... + */ + + cgiCopyTemplateLang("trailer.tmpl"); +} + + +/* + * 'cgiEndMultipart()' - End the delivery of a multipart web page. + */ + +void +cgiEndMultipart(void) +{ + if (cgi_multipart) + { + printf("\n%s--\n", cgi_multipart); + fflush(stdout); + } +} + + +/* + * 'cgiFormEncode()' - Encode a string as a form variable. + */ + +char * /* O - Destination string */ +cgiFormEncode(char *dst, /* I - Destination string */ + const char *src, /* I - Source string */ + size_t dstsize) /* I - Size of destination string */ +{ + char *dstptr, /* Pointer into destination */ + *dstend; /* End of destination */ + static const char *hex = /* Hexadecimal characters */ + "0123456789ABCDEF"; + + + /* + * Mark the end of the string... + */ + + dstend = dst + dstsize - 1; + + /* + * Loop through the source string and copy... + */ + + for (dstptr = dst; *src && dstptr < dstend;) + { + switch (*src) + { + case ' ' : + /* + * Encode spaces with a "+"... + */ + + *dstptr++ = '+'; + src ++; + break; + + case '&' : + case '%' : + case '+' : + /* + * Encode special characters with %XX escape... + */ + + if (dstptr < (dstend - 2)) + { + *dstptr++ = '%'; + *dstptr++ = hex[(*src & 255) >> 4]; + *dstptr++ = hex[*src & 15]; + src ++; + } + break; + + default : + /* + * Copy other characters literally... + */ + + *dstptr++ = *src++; + break; + } + } + + /* + * Nul-terminate the destination string... + */ + + *dstptr = '\0'; + + /* + * Return the encoded string... + */ + + return (dst); +} + + +/* + * 'cgiStartHTML()' - Start a HTML page. + */ + +void +cgiStartHTML(const char *title) /* I - Title of page */ +{ + /* + * Disable any further authentication attempts... + */ + + cupsSetPasswordCB(cgi_null_passwd); + + /* + * Tell the client to expect UTF-8 encoded HTML... + */ + + if (cgi_multipart) + puts(cgi_multipart); + + puts("Content-Type: text/html;charset=utf-8\n"); + + /* + * Send a standard header... + */ + + cgiSetVariable("TITLE", title); + cgiSetServerVersion(); + + cgiCopyTemplateLang("header.tmpl"); +} + + +/* + * 'cgiStartMultipart()' - Start a multipart delivery of a web page. + */ + +void +cgiStartMultipart(void) +{ + puts("MIME-Version: 1.0\n" + "Content-Type: multipart/x-mixed-replace; boundary=\"CUPS-MULTIPART\"\n"); + fflush(stdout); + + cgi_multipart = "--CUPS-MULTIPART"; +} + + +/* + * 'cgiSupportsMultipart()' - Does the browser support multi-part documents? + */ + +int /* O - 1 if multi-part supported, 0 otherwise */ +cgiSupportsMultipart(void) +{ + /* + * Too many bug reports for browsers that don't support it, and too much pain + * to whitelist known-good browsers, so for now we just punt on multi-part + * support... :( + */ + + return (0); +} + + +/* + * 'cgi_null_passwd()' - Return a NULL password for authentication. + */ + +static const char * /* O - NULL */ +cgi_null_passwd(const char *prompt) /* I - Prompt string (unused) */ +{ + (void)prompt; + + fprintf(stderr, "DEBUG: cgi_null_passwd(prompt=\"%s\") called!\n", + prompt ? prompt : "(null)"); + + return (NULL); +} diff --git a/cgi-bin/ipp-var.c b/cgi-bin/ipp-var.c new file mode 100644 index 0000000..8c5a561 --- /dev/null +++ b/cgi-bin/ipp-var.c @@ -0,0 +1,1528 @@ +/* + * CGI <-> IPP variable routines for CUPS. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi-private.h" + + +/* + * 'cgiGetAttributes()' - Get the list of attributes that are needed + * by the template file. + */ + +void +cgiGetAttributes(ipp_t *request, /* I - IPP request */ + const char *tmpl) /* I - Base filename */ +{ + int num_attrs; /* Number of attributes */ + char *attrs[1000]; /* Attributes */ + int i; /* Looping var */ + char filename[1024], /* Filename */ + locale[16]; /* Locale name */ + const char *directory, /* Directory */ + *lang; /* Language */ + FILE *in; /* Input file */ + int ch; /* Character from file */ + char name[255], /* Name of variable */ + *nameptr; /* Pointer into name */ + + + /* + * Convert the language to a locale name... + */ + + if ((lang = getenv("LANG")) != NULL) + { + for (i = 0; lang[i] && i < 15; i ++) + if (isalnum(lang[i] & 255)) + locale[i] = (char)tolower(lang[i]); + else + locale[i] = '_'; + + locale[i] = '\0'; + } + else + locale[0] = '\0'; + + /* + * See if we have a template file for this language... + */ + + directory = cgiGetTemplateDir(); + + snprintf(filename, sizeof(filename), "%s/%s/%s", directory, locale, tmpl); + if (access(filename, 0)) + { + locale[2] = '\0'; + + snprintf(filename, sizeof(filename), "%s/%s/%s", directory, locale, tmpl); + if (access(filename, 0)) + snprintf(filename, sizeof(filename), "%s/%s", directory, tmpl); + } + + /* + * Open the template file... + */ + + if ((in = fopen(filename, "r")) == NULL) + return; + + /* + * Loop through the file adding attribute names as needed... + */ + + num_attrs = 0; + attrs[0] = NULL; /* Eliminate compiler warning */ + + while ((ch = getc(in)) != EOF) + if (ch == '\\') + getc(in); + else if (ch == '{' && num_attrs < (int)(sizeof(attrs) / sizeof(attrs[0]))) + { + /* + * Grab the name... + */ + + for (nameptr = name; (ch = getc(in)) != EOF;) + if (strchr("}]<>=!~ \t\n", ch)) + break; + else if (nameptr > name && ch == '?') + break; + else if (nameptr < (name + sizeof(name) - 1)) + { + if (ch == '_') + *nameptr++ = '-'; + else + *nameptr++ = (char)ch; + } + + *nameptr = '\0'; + + if (!strncmp(name, "printer_state_history", 21)) + strlcpy(name, "printer_state_history", sizeof(name)); + + /* + * Possibly add it to the list of attributes... + */ + + for (i = 0; i < num_attrs; i ++) + if (!strcmp(attrs[i], name)) + break; + + if (i >= num_attrs) + { + attrs[num_attrs] = strdup(name); + num_attrs ++; + } + } + + /* + * If we have attributes, add a requested-attributes attribute to the + * request... + */ + + if (num_attrs > 0) + { + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", num_attrs, NULL, (const char **)attrs); + + for (i = 0; i < num_attrs; i ++) + free(attrs[i]); + } + + fclose(in); +} + + +/* + * 'cgiGetIPPObjects()' - Get the objects in an IPP response. + */ + +cups_array_t * /* O - Array of objects */ +cgiGetIPPObjects(ipp_t *response, /* I - IPP response */ + void *search) /* I - Search filter */ +{ + int i; /* Looping var */ + cups_array_t *objs; /* Array of objects */ + ipp_attribute_t *attr, /* Current attribute */ + *first; /* First attribute for object */ + ipp_tag_t group; /* Current group tag */ + int add; /* Add this object to the array? */ + + + if (!response) + return (0); + + for (add = 0, first = NULL, objs = cupsArrayNew(NULL, NULL), + group = IPP_TAG_ZERO, attr = response->attrs; + attr; + attr = attr->next) + { + if (attr->group_tag != group) + { + group = attr->group_tag; + + if (group != IPP_TAG_ZERO && group != IPP_TAG_OPERATION) + { + first = attr; + add = 0; + } + else if (add && first) + { + cupsArrayAdd(objs, first); + + add = 0; + first = NULL; + } + } + + if (attr->name && attr->group_tag != IPP_TAG_OPERATION && !add) + { + if (!search) + { + /* + * Add all objects if there is no search... + */ + + add = 1; + } + else + { + /* + * Check the search string against the string and integer values. + */ + + switch (attr->value_tag) + { + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_MIMETYPE : + for (i = 0; !add && i < attr->num_values; i ++) + if (cgiDoSearch(search, attr->values[i].string.text)) + add = 1; + break; + + case IPP_TAG_INTEGER : + if (!strncmp(ippGetName(attr), "time-at-", 8)) + break; /* Ignore time-at-xxx */ + + for (i = 0; !add && i < attr->num_values; i ++) + { + char buf[255]; /* Number buffer */ + + + sprintf(buf, "%d", attr->values[i].integer); + + if (cgiDoSearch(search, buf)) + add = 1; + } + break; + + default : + break; + } + } + } + } + + if (add && first) + cupsArrayAdd(objs, first); + + return (objs); +} + + +/* + * 'cgiMoveJobs()' - Move one or more jobs. + * + * At least one of dest or job_id must be non-zero/NULL. + */ + +void +cgiMoveJobs(http_t *http, /* I - Connection to server */ + const char *dest, /* I - Destination or NULL */ + int job_id) /* I - Job ID or 0 for all */ +{ + int i; /* Looping var */ + const char *user; /* Username */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* Current attribute */ + const char *name; /* Destination name */ + const char *job_printer_uri; /* JOB_PRINTER_URI form variable */ + char current_dest[1024]; /* Current destination */ + + + /* + * Make sure we have a username... + */ + + if ((user = getenv("REMOTE_USER")) == NULL) + { + puts("Status: 401\n"); + exit(0); + } + + /* + * See if the user has already selected a new destination... + */ + + if ((job_printer_uri = cgiGetVariable("JOB_PRINTER_URI")) == NULL) + { + /* + * Make sure necessary form variables are set... + */ + + if (job_id) + { + char temp[255]; /* Temporary string */ + + + sprintf(temp, "%d", job_id); + cgiSetVariable("JOB_ID", temp); + } + + if (dest) + cgiSetVariable("PRINTER_NAME", dest); + + /* + * No new destination specified, show the user what the available + * printers/classes are... + */ + + if (!dest) + { + /* + * Get the current destination for job N... + */ + + char job_uri[1024]; /* Job URI */ + + + request = ippNewRequest(IPP_GET_JOB_ATTRIBUTES); + + snprintf(job_uri, sizeof(job_uri), "ipp://localhost/jobs/%d", job_id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", + NULL, job_uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", NULL, "job-printer-uri"); + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + if ((attr = ippFindAttribute(response, "job-printer-uri", + IPP_TAG_URI)) != NULL) + { + /* + * Pull the name from the URI... + */ + + strlcpy(current_dest, strrchr(attr->values[0].string.text, '/') + 1, + sizeof(current_dest)); + dest = current_dest; + } + + ippDelete(response); + } + + if (!dest) + { + /* + * Couldn't get the current destination... + */ + + cgiStartHTML(cgiText(_("Move Job"))); + cgiShowIPPError(_("Unable to find destination for job")); + cgiEndHTML(); + return; + } + } + + /* + * Get the list of available destinations... + */ + + request = ippNewRequest(CUPS_GET_PRINTERS); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", NULL, "printer-uri-supported"); + + if (user) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_ENUM, "printer-type", + CUPS_PRINTER_LOCAL); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_ENUM, "printer-type-mask", + CUPS_PRINTER_SCANNER); + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + for (i = 0, attr = ippFindAttribute(response, "printer-uri-supported", + IPP_TAG_URI); + attr; + attr = ippFindNextAttribute(response, "printer-uri-supported", + IPP_TAG_URI)) + { + /* + * Pull the name from the URI... + */ + + name = strrchr(attr->values[0].string.text, '/') + 1; + + /* + * If the name is not the same as the current destination, add it! + */ + + if (_cups_strcasecmp(name, dest)) + { + cgiSetArray("JOB_PRINTER_URI", i, attr->values[0].string.text); + cgiSetArray("JOB_PRINTER_NAME", i, name); + i ++; + } + } + + ippDelete(response); + } + + /* + * Show the form... + */ + + if (job_id) + cgiStartHTML(cgiText(_("Move Job"))); + else + cgiStartHTML(cgiText(_("Move All Jobs"))); + + if (cgiGetSize("JOB_PRINTER_NAME") > 0) + cgiCopyTemplateLang("job-move.tmpl"); + else + { + if (job_id) + cgiSetVariable("MESSAGE", cgiText(_("Unable to move job"))); + else + cgiSetVariable("MESSAGE", cgiText(_("Unable to move jobs"))); + + cgiSetVariable("ERROR", cgiText(_("No destinations added."))); + cgiCopyTemplateLang("error.tmpl"); + } + } + else + { + /* + * Try moving the job or jobs... + */ + + char uri[1024], /* Job/printer URI */ + resource[1024], /* Post resource */ + refresh[1024]; /* Refresh URL */ + const char *job_printer_name; /* New printer name */ + + + request = ippNewRequest(CUPS_MOVE_JOB); + + if (job_id) + { + /* + * Move 1 job... + */ + + snprintf(resource, sizeof(resource), "/jobs/%d", job_id); + + snprintf(uri, sizeof(uri), "ipp://localhost/jobs/%d", job_id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", + NULL, uri); + } + else + { + /* + * Move all active jobs on a destination... + */ + + snprintf(resource, sizeof(resource), "/%s/%s", + cgiGetVariable("SECTION"), dest); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", ippPort(), "/%s/%s", + cgiGetVariable("SECTION"), dest); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + } + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-printer-uri", + NULL, job_printer_uri); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + + ippDelete(cupsDoRequest(http, request, resource)); + + /* + * Show the results... + */ + + job_printer_name = strrchr(job_printer_uri, '/') + 1; + + if (cupsLastError() <= IPP_OK_CONFLICT) + { + const char *path = strstr(job_printer_uri, "/printers/"); + if (!path) + { + path = strstr(job_printer_uri, "/classes/"); + cgiSetVariable("IS_CLASS", "YES"); + } + + if (path) + { + cgiFormEncode(uri, path, sizeof(uri)); + snprintf(refresh, sizeof(refresh), "2;URL=%s", uri); + cgiSetVariable("refresh_page", refresh); + } + } + + if (job_id) + cgiStartHTML(cgiText(_("Move Job"))); + else + cgiStartHTML(cgiText(_("Move All Jobs"))); + + if (cupsLastError() > IPP_OK_CONFLICT) + { + if (job_id) + cgiShowIPPError(_("Unable to move job")); + else + cgiShowIPPError(_("Unable to move jobs")); + } + else + { + cgiSetVariable("JOB_PRINTER_NAME", job_printer_name); + cgiCopyTemplateLang("job-moved.tmpl"); + } + } + + cgiEndHTML(); +} + + +/* + * 'cgiPrintCommand()' - Print a CUPS command job. + */ + +void +cgiPrintCommand(http_t *http, /* I - Connection to server */ + const char *dest, /* I - Destination printer */ + const char *command, /* I - Command to send */ + const char *title) /* I - Page/job title */ +{ + int job_id; /* Command file job */ + char uri[HTTP_MAX_URI], /* Job URI */ + resource[1024], /* Printer resource path */ + refresh[1024], /* Refresh URL */ + command_file[1024]; /* Command "file" */ + http_status_t status; /* Document status */ + cups_option_t hold_option; /* job-hold-until option */ + const char *user; /* User name */ + ipp_t *request, /* Get-Job-Attributes request */ + *response; /* Get-Job-Attributes response */ + ipp_attribute_t *attr; /* Current job attribute */ + static const char * const job_attrs[] =/* Job attributes we want */ + { + "job-state", + "job-printer-state-message" + }; + + + /* + * Create the CUPS command file... + */ + + snprintf(command_file, sizeof(command_file), "#CUPS-COMMAND\n%s\n", command); + + /* + * Show status... + */ + + if (cgiSupportsMultipart()) + { + cgiStartMultipart(); + cgiStartHTML(title); + cgiCopyTemplateLang("command.tmpl"); + cgiEndHTML(); + fflush(stdout); + } + + /* + * Send the command file job... + */ + + hold_option.name = "job-hold-until"; + hold_option.value = "no-hold"; + + if ((user = getenv("REMOTE_USER")) != NULL) + cupsSetUser(user); + else + cupsSetUser("anonymous"); + + if ((job_id = cupsCreateJob(http, dest, title, + 1, &hold_option)) < 1) + { + cgiSetVariable("MESSAGE", cgiText(_("Unable to send command to printer driver"))); + cgiSetVariable("ERROR", cupsLastErrorString()); + cgiStartHTML(title); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + + if (cgiSupportsMultipart()) + cgiEndMultipart(); + return; + } + + status = cupsStartDocument(http, dest, job_id, NULL, CUPS_FORMAT_COMMAND, 1); + if (status == HTTP_CONTINUE) + status = cupsWriteRequestData(http, command_file, + strlen(command_file)); + if (status == HTTP_CONTINUE) + cupsFinishDocument(http, dest); + + if (cupsLastError() >= IPP_REDIRECTION_OTHER_SITE) + { + cgiSetVariable("MESSAGE", cgiText(_("Unable to send command to printer driver"))); + cgiSetVariable("ERROR", cupsLastErrorString()); + cgiStartHTML(title); + cgiCopyTemplateLang("error.tmpl"); + cgiEndHTML(); + + if (cgiSupportsMultipart()) + cgiEndMultipart(); + + cupsCancelJob(dest, job_id); + return; + } + + /* + * Wait for the job to complete... + */ + + if (cgiSupportsMultipart()) + { + for (;;) + { + /* + * Get the current job state... + */ + + snprintf(uri, sizeof(uri), "ipp://localhost/jobs/%d", job_id); + request = ippNewRequest(IPP_GET_JOB_ATTRIBUTES); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", + NULL, uri); + if (user) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", 2, NULL, job_attrs); + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + cgiSetIPPVars(response, NULL, NULL, NULL, 0); + + attr = ippFindAttribute(response, "job-state", IPP_TAG_ENUM); + if (!attr || attr->values[0].integer >= IPP_JOB_STOPPED || + attr->values[0].integer == IPP_JOB_HELD) + { + ippDelete(response); + break; + } + + /* + * Job not complete, so update the status... + */ + + ippDelete(response); + + cgiStartHTML(title); + cgiCopyTemplateLang("command.tmpl"); + cgiEndHTML(); + fflush(stdout); + + sleep(5); + } + } + + /* + * Send the final page that reloads the printer's page... + */ + + snprintf(resource, sizeof(resource), "/printers/%s", dest); + + cgiFormEncode(uri, resource, sizeof(uri)); + snprintf(refresh, sizeof(refresh), "5;URL=%s", uri); + cgiSetVariable("refresh_page", refresh); + + cgiStartHTML(title); + cgiCopyTemplateLang("command.tmpl"); + cgiEndHTML(); + + if (cgiSupportsMultipart()) + cgiEndMultipart(); +} + + +/* + * 'cgiPrintTestPage()' - Print a test page. + */ + +void +cgiPrintTestPage(http_t *http, /* I - Connection to server */ + const char *dest) /* I - Destination printer/class */ +{ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + char uri[HTTP_MAX_URI], /* Printer URI */ + resource[1024], /* POST resource path */ + refresh[1024], /* Refresh URL */ + filename[1024]; /* Test page filename */ + const char *datadir; /* CUPS_DATADIR env var */ + const char *user; /* Username */ + + + /* + * See who is logged in... + */ + + user = getenv("REMOTE_USER"); + + /* + * Locate the test page file... + */ + + if ((datadir = getenv("CUPS_DATADIR")) == NULL) + datadir = CUPS_DATADIR; + + snprintf(filename, sizeof(filename), "%s/data/testprint", datadir); + + /* + * Point to the printer/class... + */ + + snprintf(resource, sizeof(resource), "/%s/%s", cgiGetVariable("SECTION"), + dest); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", ippPort(), "/%s/%s", cgiGetVariable("SECTION"), + dest); + + /* + * Build an IPP_PRINT_JOB request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name + */ + + request = ippNewRequest(IPP_PRINT_JOB); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + if (user) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "job-name", + NULL, "Test Page"); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoFileRequest(http, request, resource, + filename)) != NULL) + { + cgiSetIPPVars(response, NULL, NULL, NULL, 0); + + ippDelete(response); + } + + if (cupsLastError() <= IPP_OK_CONFLICT) + { + /* + * Automatically reload the printer status page... + */ + + cgiFormEncode(uri, resource, sizeof(uri)); + snprintf(refresh, sizeof(refresh), "2;URL=%s", uri); + cgiSetVariable("refresh_page", refresh); + } + else if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + + cgiStartHTML(cgiText(_("Print Test Page"))); + + if (cupsLastError() > IPP_OK_CONFLICT) + cgiShowIPPError(_("Unable to print test page")); + else + { + cgiSetVariable("PRINTER_NAME", dest); + + cgiCopyTemplateLang("test-page.tmpl"); + } + + cgiEndHTML(); +} + + +/* + * 'cgiRewriteURL()' - Rewrite a printer URI into a web browser URL... + */ + +char * /* O - New URL */ +cgiRewriteURL(const char *uri, /* I - Current URI */ + char *url, /* O - New URL */ + int urlsize, /* I - Size of URL buffer */ + const char *newresource) /* I - Replacement resource */ +{ + char scheme[HTTP_MAX_URI], + userpass[HTTP_MAX_URI], + hostname[HTTP_MAX_URI], + rawresource[HTTP_MAX_URI], + resource[HTTP_MAX_URI], + /* URI components... */ + *rawptr, /* Pointer into rawresource */ + *resptr; /* Pointer into resource */ + int port; /* Port number */ + static int ishttps = -1; /* Using encryption? */ + static const char *server; /* Name of server */ + static char servername[1024]; + /* Local server name */ + static const char hexchars[] = "0123456789ABCDEF"; + /* Hexadecimal conversion characters */ + + + /* + * Check if we have been called before... + */ + + if (ishttps < 0) + { + /* + * No, initialize static vars for the conversion... + * + * First get the server name associated with the client interface as + * well as the locally configured hostname. We'll check *both* of + * these to see if the printer URL is local... + */ + + if ((server = getenv("SERVER_NAME")) == NULL) + server = ""; + + httpGetHostname(NULL, servername, sizeof(servername)); + + /* + * Then flag whether we are using SSL on this connection... + */ + + ishttps = getenv("HTTPS") != NULL; + } + + /* + * Convert the URI to a URL... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, sizeof(scheme), userpass, + sizeof(userpass), hostname, sizeof(hostname), &port, + rawresource, sizeof(rawresource)); + + if (!strcmp(scheme, "ipp") || + !strcmp(scheme, "http") || + !strcmp(scheme, "https")) + { + if (newresource) + { + /* + * Force the specified resource name instead of the one in the URL... + */ + + strlcpy(resource, newresource, sizeof(resource)); + } + else + { + /* + * Rewrite the resource string so it doesn't contain any + * illegal chars... + */ + + for (rawptr = rawresource, resptr = resource; *rawptr; rawptr ++) + if ((*rawptr & 128) || *rawptr == '%' || *rawptr == ' ' || + *rawptr == '#' || *rawptr == '?' || + *rawptr == '.') /* For MSIE */ + { + if (resptr < (resource + sizeof(resource) - 3)) + { + *resptr++ = '%'; + *resptr++ = hexchars[(*rawptr >> 4) & 15]; + *resptr++ = hexchars[*rawptr & 15]; + } + } + else if (resptr < (resource + sizeof(resource) - 1)) + *resptr++ = *rawptr; + + *resptr = '\0'; + } + + /* + * Map local access to a local URI... + */ + + if (!_cups_strcasecmp(hostname, "127.0.0.1") || + !_cups_strcasecmp(hostname, "[::1]") || + !_cups_strcasecmp(hostname, "localhost") || + !_cups_strncasecmp(hostname, "localhost.", 10) || + !_cups_strcasecmp(hostname, server) || + !_cups_strcasecmp(hostname, servername)) + { + /* + * Make URI relative to the current server... + */ + + strlcpy(url, resource, (size_t)urlsize); + } + else + { + /* + * Rewrite URI with HTTP/HTTPS scheme... + */ + + if (userpass[0]) + snprintf(url, (size_t)urlsize, "%s://%s@%s:%d%s", ishttps ? "https" : "http", userpass, hostname, port, resource); + else + snprintf(url, (size_t)urlsize, "%s://%s:%d%s", ishttps ? "https" : "http", hostname, port, resource); + } + } + else + strlcpy(url, uri, (size_t)urlsize); + + return (url); +} + + +/* + * 'cgiSetIPPObjectVars()' - Set CGI variables from an IPP object. + */ + +ipp_attribute_t * /* O - Next object */ +cgiSetIPPObjectVars( + ipp_attribute_t *obj, /* I - Response data to be copied... */ + const char *prefix, /* I - Prefix for name or NULL */ + int element) /* I - Parent element number */ +{ + ipp_attribute_t *attr; /* Attribute in response... */ + int i; /* Looping var */ + char name[1024], /* Name of attribute */ + *nameptr, /* Pointer into name */ + value[16384], /* Value(s) */ + *valptr; /* Pointer into value */ + + + fprintf(stderr, "DEBUG2: cgiSetIPPObjectVars(obj=%p, prefix=\"%s\", " + "element=%d)\n", + obj, prefix ? prefix : "(null)", element); + + /* + * Set common CGI template variables... + */ + + if (!prefix) + cgiSetServerVersion(); + + /* + * Loop through the attributes and set them for the template... + */ + + for (attr = obj; attr && attr->group_tag != IPP_TAG_ZERO; attr = attr->next) + { + /* + * Copy the attribute name, substituting "_" for "-"... + */ + + if (!attr->name) + continue; + + if (prefix) + { + snprintf(name, sizeof(name), "%s.", prefix); + nameptr = name + strlen(name); + } + else + nameptr = name; + + for (i = 0; attr->name[i] && nameptr < (name + sizeof(name) - 1); i ++) + if (attr->name[i] == '-') + *nameptr++ = '_'; + else + *nameptr++ = attr->name[i]; + + *nameptr = '\0'; + + /* + * Add "job_printer_name" variable if we have a "job_printer_uri" + * attribute... + */ + + if (!strcmp(name, "job_printer_uri")) + { + if ((valptr = strrchr(attr->values[0].string.text, '/')) == NULL) + valptr = "unknown"; + else + valptr ++; + + cgiSetArray("job_printer_name", element, valptr); + } + + /* + * Localize event names in "notify_events" variable... + */ + + if (!strcmp(name, "notify_events")) + { + size_t remaining; /* Remaining bytes in buffer */ + + + value[0] = '\0'; + valptr = value; + + for (i = 0; i < attr->num_values; i ++) + { + if (valptr >= (value + sizeof(value) - 3)) + break; + + if (i) + { + *valptr++ = ','; + *valptr++ = ' '; + } + + remaining = sizeof(value) - (size_t)(valptr - value); + + if (!strcmp(attr->values[i].string.text, "printer-stopped")) + strlcpy(valptr, _("Printer Paused"), remaining); + else if (!strcmp(attr->values[i].string.text, "printer-added")) + strlcpy(valptr, _("Printer Added"), remaining); + else if (!strcmp(attr->values[i].string.text, "printer-modified")) + strlcpy(valptr, _("Printer Modified"), remaining); + else if (!strcmp(attr->values[i].string.text, "printer-deleted")) + strlcpy(valptr, _("Printer Deleted"), remaining); + else if (!strcmp(attr->values[i].string.text, "job-created")) + strlcpy(valptr, _("Job Created"), remaining); + else if (!strcmp(attr->values[i].string.text, "job-completed")) + strlcpy(valptr, _("Job Completed"), remaining); + else if (!strcmp(attr->values[i].string.text, "job-stopped")) + strlcpy(valptr, _("Job Stopped"), remaining); + else if (!strcmp(attr->values[i].string.text, "job-config-changed")) + strlcpy(valptr, _("Job Options Changed"), remaining); + else if (!strcmp(attr->values[i].string.text, "server-restarted")) + strlcpy(valptr, _("Server Restarted"), remaining); + else if (!strcmp(attr->values[i].string.text, "server-started")) + strlcpy(valptr, _("Server Started"), remaining); + else if (!strcmp(attr->values[i].string.text, "server-stopped")) + strlcpy(valptr, _("Server Stopped"), remaining); + else if (!strcmp(attr->values[i].string.text, "server-audit")) + strlcpy(valptr, _("Server Security Auditing"), remaining); + else + strlcpy(valptr, attr->values[i].string.text, remaining); + + valptr += strlen(valptr); + } + + cgiSetArray("notify_events", element, value); + continue; + } + + /* + * Add "notify_printer_name" variable if we have a "notify_printer_uri" + * attribute... + */ + + if (!strcmp(name, "notify_printer_uri")) + { + if ((valptr = strrchr(attr->values[0].string.text, '/')) == NULL) + valptr = "unknown"; + else + valptr ++; + + cgiSetArray("notify_printer_name", element, valptr); + } + + /* + * Add "notify_recipient_name" variable if we have a "notify_recipient_uri" + * attribute, and rewrite recipient URI... + */ + + if (!strcmp(name, "notify_recipient_uri")) + { + char uri[1024], /* New URI */ + scheme[32], /* Scheme portion of URI */ + userpass[256], /* Username/password portion of URI */ + host[1024], /* Hostname portion of URI */ + resource[1024], /* Resource portion of URI */ + *options; /* Options in URI */ + int port; /* Port number */ + + + httpSeparateURI(HTTP_URI_CODING_ALL, attr->values[0].string.text, + scheme, sizeof(scheme), userpass, sizeof(userpass), + host, sizeof(host), &port, resource, sizeof(resource)); + + if (!strcmp(scheme, "rss")) + { + /* + * RSS notification... + */ + + if ((options = strchr(resource, '?')) != NULL) + *options = '\0'; + + if (host[0]) + { + /* + * Link to remote feed... + */ + + httpAssembleURI(HTTP_URI_CODING_ALL, uri, sizeof(uri), "http", + userpass, host, port, resource); + strlcpy(name, uri, sizeof(name)); + } + else + { + /* + * Link to local feed... + */ + + snprintf(uri, sizeof(uri), "/rss%s", resource); + strlcpy(name, resource + 1, sizeof(name)); + } + } + else + { + /* + * Other... + */ + + strlcpy(uri, attr->values[0].string.text, sizeof(uri)); + strlcpy(name, resource, sizeof(name)); + } + + cgiSetArray("notify_recipient_uri", element, uri); + cgiSetArray("notify_recipient_name", element, name); + continue; + } + + /* + * Add "admin_uri" variable if we have a "printer_uri_supported" + * attribute... + */ + + if (!strcmp(name, "printer_uri_supported")) + { + cgiRewriteURL(attr->values[0].string.text, value, sizeof(value), + "/admin/"); + + cgiSetArray("admin_uri", element, value); + } + + /* + * Copy values... + */ + + value[0] = '\0'; /* Initially an empty string */ + valptr = value; /* Start at the beginning */ + + for (i = 0; i < attr->num_values; i ++) + { + if (i) + strlcat(valptr, ", ", sizeof(value) - (size_t)(valptr - value)); + + valptr += strlen(valptr); + + switch (attr->value_tag) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + if (strncmp(name, "time_at_", 8) == 0) + _cupsStrDate(valptr, sizeof(value) - (size_t)(valptr - value), (time_t)ippGetInteger(attr, i)); + else + snprintf(valptr, sizeof(value) - (size_t)(valptr - value), "%d", ippGetInteger(attr, i)); + break; + + case IPP_TAG_BOOLEAN : + snprintf(valptr, sizeof(value) - (size_t)(valptr - value), + "%d", attr->values[i].boolean); + break; + + case IPP_TAG_NOVALUE : + strlcat(valptr, "novalue", sizeof(value) - (size_t)(valptr - value)); + break; + + case IPP_TAG_RANGE : + snprintf(valptr, sizeof(value) - (size_t)(valptr - value), + "%d-%d", attr->values[i].range.lower, + attr->values[i].range.upper); + break; + + case IPP_TAG_RESOLUTION : + snprintf(valptr, sizeof(value) - (size_t)(valptr - value), + "%dx%d%s", attr->values[i].resolution.xres, + attr->values[i].resolution.yres, + attr->values[i].resolution.units == IPP_RES_PER_INCH ? + "dpi" : "dpcm"); + break; + + case IPP_TAG_URI : + if (strchr(attr->values[i].string.text, ':') && + strcmp(name, "device_uri")) + { + /* + * Rewrite URIs... + */ + + cgiRewriteURL(attr->values[i].string.text, valptr, (int)(sizeof(value) - (size_t)(valptr - value)), NULL); + break; + } + + case IPP_TAG_STRING : + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + strlcat(valptr, attr->values[i].string.text, + sizeof(value) - (size_t)(valptr - value)); + break; + + case IPP_TAG_BEGIN_COLLECTION : + snprintf(value, sizeof(value), "%s%d", name, i + 1); + cgiSetIPPVars(attr->values[i].collection, NULL, NULL, value, + element); + break; + + default : + break; /* anti-compiler-warning-code */ + } + } + + /* + * Add the element... + */ + + if (attr->value_tag != IPP_TAG_BEGIN_COLLECTION) + { + cgiSetArray(name, element, value); + + fprintf(stderr, "DEBUG2: %s[%d]=\"%s\"\n", name, element, value); + } + } + + return (attr ? attr->next : NULL); +} + + +/* + * 'cgiSetIPPVars()' - Set CGI variables from an IPP response. + */ + +int /* O - Maximum number of elements */ +cgiSetIPPVars(ipp_t *response, /* I - Response data to be copied... */ + const char *filter_name, /* I - Filter name */ + const char *filter_value, /* I - Filter value */ + const char *prefix, /* I - Prefix for name or NULL */ + int parent_el) /* I - Parent element number */ +{ + int element; /* Element in CGI array */ + ipp_attribute_t *attr, /* Attribute in response... */ + *filter; /* Filtering attribute */ + + + fprintf(stderr, "DEBUG2: cgiSetIPPVars(response=%p, filter_name=\"%s\", " + "filter_value=\"%s\", prefix=\"%s\", parent_el=%d)\n", + response, filter_name ? filter_name : "(null)", + filter_value ? filter_value : "(null)", + prefix ? prefix : "(null)", parent_el); + + /* + * Set common CGI template variables... + */ + + if (!prefix) + cgiSetServerVersion(); + + /* + * Loop through the attributes and set them for the template... + */ + + attr = response->attrs; + + if (!prefix) + while (attr && attr->group_tag == IPP_TAG_OPERATION) + attr = attr->next; + + for (element = parent_el; attr; element ++) + { + /* + * Copy attributes to a separator... + */ + + while (attr && attr->group_tag == IPP_TAG_ZERO) + attr= attr->next; + + if (!attr) + break; + + if (filter_name) + { + for (filter = attr; + filter != NULL && filter->group_tag != IPP_TAG_ZERO; + filter = filter->next) + if (filter->name && !strcmp(filter->name, filter_name) && + (filter->value_tag == IPP_TAG_STRING || + (filter->value_tag >= IPP_TAG_TEXTLANG && + filter->value_tag <= IPP_TAG_MIMETYPE)) && + filter->values[0].string.text != NULL && + !_cups_strcasecmp(filter->values[0].string.text, filter_value)) + break; + + if (!filter) + return (element + 1); + + if (filter->group_tag == IPP_TAG_ZERO) + { + attr = filter; + element --; + continue; + } + } + + attr = cgiSetIPPObjectVars(attr, prefix, element); + } + + fprintf(stderr, "DEBUG2: Returning %d from cgiSetIPPVars()...\n", element); + + return (element); +} + + +/* + * 'cgiShowIPPError()' - Show the last IPP error message. + * + * The caller must still call cgiStartHTML() and cgiEndHTML(). + */ + +void +cgiShowIPPError(const char *message) /* I - Contextual message */ +{ + cgiSetVariable("MESSAGE", cgiText(message)); + cgiSetVariable("ERROR", cupsLastErrorString()); + cgiCopyTemplateLang("error.tmpl"); +} + + +/* + * 'cgiShowJobs()' - Show print jobs. + */ + +void +cgiShowJobs(http_t *http, /* I - Connection to server */ + const char *dest) /* I - Destination name or NULL */ +{ + int i; /* Looping var */ + const char *which_jobs; /* Which jobs to show */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + cups_array_t *jobs; /* Array of job objects */ + ipp_attribute_t *job; /* Job object */ + int first, /* First job to show */ + count; /* Number of jobs */ + const char *var, /* Form variable */ + *query, /* Query string */ + *section; /* Section in web interface */ + void *search; /* Search data */ + char url[1024], /* Printer URI */ + val[1024]; /* Form variable */ + + + /* + * Build an IPP_GET_JOBS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(IPP_GET_JOBS); + + if (dest) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, url, sizeof(url), "ipp", NULL, + "localhost", ippPort(), "/printers/%s", dest); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, url); + } + else + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, + "ipp://localhost/"); + + if ((which_jobs = cgiGetVariable("which_jobs")) != NULL && *which_jobs) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "which-jobs", + NULL, which_jobs); + + if ((var = cgiGetVariable("FIRST")) != NULL) + { + if ((first = atoi(var)) < 0) + first = 0; + } + else + first = 0; + + if (first > 0) + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "first-index", first + 1); + + cgiGetAttributes(request, "jobs.tmpl"); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + /* + * Get a list of matching job objects. + */ + + if ((query = cgiGetVariable("QUERY")) != NULL && + !cgiGetVariable("CLEAR")) + search = cgiCompileSearch(query); + else + { + query = NULL; + search = NULL; + } + + jobs = cgiGetIPPObjects(response, search); + count = cupsArrayCount(jobs) + first; + + if (search) + cgiFreeSearch(search); + + /* + * Figure out which jobs to display... + */ + + section = cgiGetVariable("SECTION"); + + cgiClearVariables(); + + if (query) + cgiSetVariable("QUERY", query); + + cgiSetVariable("SECTION", section); + + sprintf(val, "%d", count); + cgiSetVariable("TOTAL", val); + + if (which_jobs) + cgiSetVariable("WHICH_JOBS", which_jobs); + + for (i = 0, job = (ipp_attribute_t *)cupsArrayFirst(jobs); + i < CUPS_PAGE_MAX && job; + i ++, job = (ipp_attribute_t *)cupsArrayNext(jobs)) + cgiSetIPPObjectVars(job, NULL, i); + + /* + * Save navigation URLs... + */ + + if (dest) + { + snprintf(val, sizeof(val), "/%s/%s", section, dest); + cgiSetVariable("PRINTER_NAME", dest); + cgiSetVariable("PRINTER_URI_SUPPORTED", val); + } + else + strlcpy(val, "/jobs/", sizeof(val)); + + cgiSetVariable("THISURL", val); + + if (first > 0) + { + sprintf(val, "%d", first - CUPS_PAGE_MAX); + cgiSetVariable("PREV", val); + } + + if ((first + CUPS_PAGE_MAX) < count) + { + sprintf(val, "%d", first + CUPS_PAGE_MAX); + cgiSetVariable("NEXT", val); + } + + if (count > CUPS_PAGE_MAX) + { + snprintf(val, sizeof(val), "%d", CUPS_PAGE_MAX * (count / CUPS_PAGE_MAX)); + cgiSetVariable("LAST", val); + } + + /* + * Then show everything... + */ + + if (dest) + cgiSetVariable("SEARCH_DEST", dest); + + cgiCopyTemplateLang("search.tmpl"); + + cgiCopyTemplateLang("jobs-header.tmpl"); + + if (count > CUPS_PAGE_MAX) + cgiCopyTemplateLang("pager.tmpl"); + + cgiCopyTemplateLang("jobs.tmpl"); + + if (count > CUPS_PAGE_MAX) + cgiCopyTemplateLang("pager.tmpl"); + + cupsArrayDelete(jobs); + ippDelete(response); + } +} + + +/* + * 'cgiText()' - Return localized text. + */ + +const char * /* O - Localized message */ +cgiText(const char *message) /* I - Message */ +{ + static cups_lang_t *language = NULL; + /* Language */ + + + if (!language) + language = cupsLangDefault(); + + return (_cupsLangString(language, message)); +} diff --git a/cgi-bin/jobs.c b/cgi-bin/jobs.c new file mode 100644 index 0000000..d4d4ffd --- /dev/null +++ b/cgi-bin/jobs.c @@ -0,0 +1,197 @@ +/* + * Job status CGI for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi-private.h" + + +/* + * Local functions... + */ + +static void do_job_op(http_t *http, int job_id, ipp_op_t op); + + +/* + * 'main()' - Main entry for CGI. + */ + +int /* O - Exit status */ +main(void) +{ + http_t *http; /* Connection to the server */ + const char *op; /* Operation name */ + const char *job_id_var; /* Job ID form variable */ + int job_id; /* Job ID */ + + + /* + * Get any form variables... + */ + + cgiInitialize(); + + /* + * Set the web interface section... + */ + + cgiSetVariable("SECTION", "jobs"); + cgiSetVariable("REFRESH_PAGE", ""); + + /* + * Connect to the HTTP server... + */ + + http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption()); + + /* + * Get the job ID, if any... + */ + + if ((job_id_var = cgiGetVariable("JOB_ID")) != NULL) + job_id = atoi(job_id_var); + else + job_id = 0; + + /* + * Do the operation... + */ + + if ((op = cgiGetVariable("OP")) != NULL && job_id > 0 && cgiIsPOST()) + { + /* + * Do the operation... + */ + + if (!strcmp(op, "cancel-job")) + do_job_op(http, job_id, IPP_CANCEL_JOB); + else if (!strcmp(op, "hold-job")) + do_job_op(http, job_id, IPP_HOLD_JOB); + else if (!strcmp(op, "move-job")) + cgiMoveJobs(http, NULL, job_id); + else if (!strcmp(op, "release-job")) + do_job_op(http, job_id, IPP_RELEASE_JOB); + else if (!strcmp(op, "restart-job")) + do_job_op(http, job_id, IPP_RESTART_JOB); + else + { + /* + * Bad operation code... Display an error... + */ + + cgiStartHTML(cgiText(_("Jobs"))); + cgiCopyTemplateLang("error-op.tmpl"); + cgiEndHTML(); + } + } + else + { + /* + * Show a list of jobs... + */ + + cgiStartHTML(cgiText(_("Jobs"))); + cgiShowJobs(http, NULL); + cgiEndHTML(); + } + + /* + * Close the HTTP server connection... + */ + + httpClose(http); + + /* + * Return with no errors... + */ + + return (0); +} + + +/* + * 'do_job_op()' - Do a job operation. + */ + +static void +do_job_op(http_t *http, /* I - HTTP connection */ + int job_id, /* I - Job ID */ + ipp_op_t op) /* I - Operation to perform */ +{ + ipp_t *request; /* IPP request */ + char uri[HTTP_MAX_URI]; /* Job URI */ + const char *user; /* Username */ + + + /* + * Build a job request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * job-uri or printer-uri (purge-jobs) + * requesting-user-name + */ + + request = ippNewRequest(op); + + snprintf(uri, sizeof(uri), "ipp://localhost/jobs/%d", job_id); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", + NULL, uri); + + if ((user = getenv("REMOTE_USER")) == NULL) + user = "guest"; + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + + /* + * Do the request and get back a response... + */ + + ippDelete(cupsDoRequest(http, request, "/jobs")); + + if (cupsLastError() <= IPP_OK_CONFLICT && getenv("HTTP_REFERER")) + { + /* + * Redirect successful updates back to the parent page... + */ + + char url[1024]; /* Encoded URL */ + + + strlcpy(url, "5;URL=", sizeof(url)); + cgiFormEncode(url + 6, getenv("HTTP_REFERER"), sizeof(url) - 6); + cgiSetVariable("refresh_page", url); + } + else if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + + cgiStartHTML(cgiText(_("Jobs"))); + + if (cupsLastError() > IPP_OK_CONFLICT) + cgiShowIPPError(_("Job operation failed")); + else if (op == IPP_CANCEL_JOB) + cgiCopyTemplateLang("job-cancel.tmpl"); + else if (op == IPP_HOLD_JOB) + cgiCopyTemplateLang("job-hold.tmpl"); + else if (op == IPP_RELEASE_JOB) + cgiCopyTemplateLang("job-release.tmpl"); + else if (op == IPP_RESTART_JOB) + cgiCopyTemplateLang("job-restart.tmpl"); + + cgiEndHTML(); +} diff --git a/cgi-bin/libcupscgi.exp b/cgi-bin/libcupscgi.exp new file mode 100644 index 0000000..3a26229 --- /dev/null +++ b/cgi-bin/libcupscgi.exp @@ -0,0 +1,42 @@ +_cgiCheckVariables +_cgiClearVariables +_cgiCompileSearch +_cgiCopyTemplateFile +_cgiCopyTemplateLang +_cgiDoSearch +_cgiEndHTML +_cgiEndMultipart +_cgiFormEncode +_cgiFreeSearch +_cgiGetArray +_cgiGetAttributes +_cgiGetCookie +_cgiGetFile +_cgiGetIPPObjects +_cgiGetSize +_cgiGetTemplateDir +_cgiGetVariable +_cgiInitialize +_cgiIsPOST +_cgiMoveJobs +_cgiPrintCommand +_cgiPrintTestPage +_cgiRewriteURL +_cgiSetArray +_cgiSetIPPObjectVars +_cgiSetIPPVars +_cgiSetCookie +_cgiSetServerVersion +_cgiSetSize +_cgiSetVariable +_cgiShowIPPError +_cgiShowJobs +_cgiStartHTML +_cgiStartMultipart +_cgiSupportsMultipart +_cgiText +_helpDeleteIndex +_helpFindNode +_helpLoadIndex +_helpSaveIndex +_helpSearchIndex diff --git a/cgi-bin/makedocset.c b/cgi-bin/makedocset.c new file mode 100644 index 0000000..079b856 --- /dev/null +++ b/cgi-bin/makedocset.c @@ -0,0 +1,465 @@ +/* + * Xcode documentation set generator. + * + * Copyright 2007-2012 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + * + * Usage: + * + * makedocset directory *.tokens + */ + +/* + * Include necessary headers... + */ + +#include "cgi-private.h" +#include <errno.h> + + +/* + * Local structures... + */ + +typedef struct _cups_html_s /**** Help file ****/ +{ + char *path; /* Path to help file */ + char *title; /* Title of help file */ +} _cups_html_t; + +typedef struct _cups_section_s /**** Help section ****/ +{ + char *name; /* Section name */ + cups_array_t *files; /* Files in this section */ +} _cups_section_t; + + +/* + * Local functions... + */ + +static int compare_html(_cups_html_t *a, _cups_html_t *b); +static int compare_sections(_cups_section_t *a, _cups_section_t *b); +static int compare_sections_files(_cups_section_t *a, _cups_section_t *b); +static void write_index(const char *path, help_index_t *hi); +static void write_info(const char *path, const char *revision); +static void write_nodes(const char *path, help_index_t *hi); + + +/* + * 'main()' - Test the help index code. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + char path[1024], /* Path to documentation */ + line[1024]; /* Line from file */ + help_index_t *hi; /* Help index */ + cups_file_t *tokens, /* Tokens.xml file */ + *fp; /* Current file */ + + + if (argc < 4) + { + puts("Usage: makedocset directory revision *.tokens"); + return (1); + } + + /* + * Index the help documents... + */ + + snprintf(path, sizeof(path), "%s/Contents/Resources/Documentation", argv[1]); + if ((hi = helpLoadIndex(NULL, path)) == NULL) + { + fputs("makedocset: Unable to index help files!\n", stderr); + return (1); + } + + snprintf(path, sizeof(path), "%s/Contents/Resources/Documentation/index.html", + argv[1]); + write_index(path, hi); + + snprintf(path, sizeof(path), "%s/Contents/Resources/Nodes.xml", argv[1]); + write_nodes(path, hi); + + /* + * Write the Info.plist file... + */ + + snprintf(path, sizeof(path), "%s/Contents/Info.plist", argv[1]); + write_info(path, argv[2]); + + /* + * Merge the Tokens.xml files... + */ + + snprintf(path, sizeof(path), "%s/Contents/Resources/Tokens.xml", argv[1]); + if ((tokens = cupsFileOpen(path, "w")) == NULL) + { + fprintf(stderr, "makedocset: Unable to create \"%s\": %s\n", path, + strerror(errno)); + return (1); + } + + cupsFilePuts(tokens, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); + cupsFilePuts(tokens, "<Tokens version=\"1.0\">\n"); + + for (i = 3; i < argc; i ++) + { + if ((fp = cupsFileOpen(argv[i], "r")) == NULL) + { + fprintf(stderr, "makedocset: Unable to open \"%s\": %s\n", argv[i], + strerror(errno)); + return (1); + } + + if (!cupsFileGets(fp, line, sizeof(line)) || strncmp(line, "<?xml ", 6) || + !cupsFileGets(fp, line, sizeof(line)) || strncmp(line, "<Tokens ", 8)) + { + fprintf(stderr, "makedocset: Bad Tokens.xml file \"%s\"!\n", argv[i]); + return (1); + } + + while (cupsFileGets(fp, line, sizeof(line))) + { + if (strcmp(line, "</Tokens>")) + cupsFilePrintf(tokens, "%s\n", line); + } + + cupsFileClose(fp); + } + + cupsFilePuts(tokens, "</Tokens>\n"); + + cupsFileClose(tokens); + + /* + * Return with no errors... + */ + + return (0); +} + + +/* + * 'compare_html()' - Compare the titles of two HTML files. + */ + +static int /* O - Result of comparison */ +compare_html(_cups_html_t *a, /* I - First file */ + _cups_html_t *b) /* I - Second file */ +{ + return (_cups_strcasecmp(a->title, b->title)); +} + + +/* + * 'compare_sections()' - Compare the names of two help sections. + */ + +static int /* O - Result of comparison */ +compare_sections(_cups_section_t *a, /* I - First section */ + _cups_section_t *b) /* I - Second section */ +{ + return (_cups_strcasecmp(a->name, b->name)); +} + + +/* + * 'compare_sections_files()' - Compare the number of files and section names. + */ + +static int /* O - Result of comparison */ +compare_sections_files( + _cups_section_t *a, /* I - First section */ + _cups_section_t *b) /* I - Second section */ +{ + int ret = cupsArrayCount(b->files) - cupsArrayCount(a->files); + + if (ret) + return (ret); + else + return (_cups_strcasecmp(a->name, b->name)); +} + + +/* + * 'write_index()' - Write an index file for the CUPS help. + */ + +static void +write_index(const char *path, /* I - File to write */ + help_index_t *hi) /* I - Index of files */ +{ + cups_file_t *fp; /* Output file */ + help_node_t *node; /* Current help node */ + _cups_section_t *section, /* Current section */ + key; /* Section search key */ + _cups_html_t *html; /* Current HTML file */ + cups_array_t *sections, /* Sections in index */ + *sections_files,/* Sections sorted by size */ + *columns[3]; /* Columns in final HTML file */ + int column, /* Current column */ + lines[3], /* Number of lines in each column */ + min_column, /* Smallest column */ + min_lines; /* Smallest number of lines */ + + + /* + * Build an array of sections and their files. + */ + + sections = cupsArrayNew((cups_array_func_t)compare_sections, NULL); + + for (node = (help_node_t *)cupsArrayFirst(hi->nodes); + node; + node = (help_node_t *)cupsArrayNext(hi->nodes)) + { + if (node->anchor) + continue; + + key.name = node->section ? node->section : "Miscellaneous"; + if ((section = (_cups_section_t *)cupsArrayFind(sections, &key)) == NULL) + { + section = (_cups_section_t *)calloc(1, sizeof(_cups_section_t)); + section->name = key.name; + section->files = cupsArrayNew((cups_array_func_t)compare_html, NULL); + + cupsArrayAdd(sections, section); + } + + html = (_cups_html_t *)calloc(1, sizeof(_cups_html_t)); + html->path = node->filename; + html->title = node->text; + + cupsArrayAdd(section->files, html); + } + + /* + * Build a sorted list of sections based on the number of files in each section + * and the section name... + */ + + sections_files = cupsArrayNew((cups_array_func_t)compare_sections_files, + NULL); + for (section = (_cups_section_t *)cupsArrayFirst(sections); + section; + section = (_cups_section_t *)cupsArrayNext(sections)) + cupsArrayAdd(sections_files, section); + + /* + * Then build three columns to hold everything, trying to balance the number of + * lines in each column... + */ + + for (column = 0; column < 3; column ++) + { + columns[column] = cupsArrayNew((cups_array_func_t)compare_sections, NULL); + lines[column] = 0; + } + + for (section = (_cups_section_t *)cupsArrayFirst(sections_files); + section; + section = (_cups_section_t *)cupsArrayNext(sections_files)) + { + for (min_column = 0, min_lines = lines[0], column = 1; + column < 3; + column ++) + { + if (lines[column] < min_lines) + { + min_column = column; + min_lines = lines[column]; + } + } + + cupsArrayAdd(columns[min_column], section); + lines[min_column] += cupsArrayCount(section->files) + 2; + } + + /* + * Write the HTML file... + */ + + if ((fp = cupsFileOpen(path, "w")) == NULL) + { + fprintf(stderr, "makedocset: Unable to create %s: %s\n", path, + strerror(errno)); + exit(1); + } + + cupsFilePuts(fp, "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 " + "Transitional//EN\" " + "\"http://www.w3.org/TR/html4/loose.dtd\">\n" + "<html>\n" + "<head>\n" + "<title>CUPS Documentation\n" + "\n" + "\n" + "\n" + "

CUPS Documentation

\n" + "\n" + "\n"); + + for (column = 0; column < 3; column ++) + { + if (column) + cupsFilePuts(fp, "\n"); + + cupsFilePuts(fp, "\n"); + } + cupsFilePuts(fp, "\n" + "
     "); + for (section = (_cups_section_t *)cupsArrayFirst(columns[column]); + section; + section = (_cups_section_t *)cupsArrayNext(columns[column])) + { + cupsFilePrintf(fp, "

%s

\n", section->name); + for (html = (_cups_html_t *)cupsArrayFirst(section->files); + html; + html = (_cups_html_t *)cupsArrayNext(section->files)) + cupsFilePrintf(fp, "

%s

\n", + html->path, html->title); + } + cupsFilePuts(fp, "
\n" + "\n" + "\n"); + cupsFileClose(fp); +} + + +/* + * 'write_info()' - Write the Info.plist file. + */ + +static void +write_info(const char *path, /* I - File to write */ + const char *revision) /* I - Subversion revision number */ +{ + cups_file_t *fp; /* File */ + + + if ((fp = cupsFileOpen(path, "w")) == NULL) + { + fprintf(stderr, "makedocset: Unable to create %s: %s\n", path, + strerror(errno)); + exit(1); + } + + cupsFilePrintf(fp, "\n" + "\n" + "\n" + "\n" + "\tCFBundleIdentifier\n" + "\torg.cups.docset\n" + "\tCFBundleName\n" + "\tCUPS Documentation\n" + "\tCFBundleVersion\n" + "\t%d.%d.%s\n" + "\tCFBundleShortVersionString\n" + "\t%d.%d.%d\n" + "\tDocSetFeedName\n" + "\tcups.org\n" + "\tDocSetFeedURL\n" + "\thttp://www.cups.org/org.cups.docset.atom" + "\n" + "\tDocSetPublisherIdentifier\n" + "\torg.cups\n" + "\tDocSetPublisherName\n" + "\tCUPS\n" + "\n" + "\n", + CUPS_VERSION_MAJOR, CUPS_VERSION_MINOR, revision, + CUPS_VERSION_MAJOR, CUPS_VERSION_MINOR, CUPS_VERSION_PATCH); + + cupsFileClose(fp); +} + + +/* + * 'write_nodes()' - Write the Nodes.xml file. + */ + +static void +write_nodes(const char *path, /* I - File to write */ + help_index_t *hi) /* I - Index of files */ +{ + cups_file_t *fp; /* Output file */ + int id; /* Current node ID */ + help_node_t *node; /* Current help node */ + int subnodes; /* Currently in Subnodes for file? */ + int needclose; /* Need to close the current node? */ + + + if ((fp = cupsFileOpen(path, "w")) == NULL) + { + fprintf(stderr, "makedocset: Unable to create %s: %s\n", path, + strerror(errno)); + exit(1); + } + + cupsFilePuts(fp, "\n" + "\n" + "\n" + "\n" + "CUPS Documentation\n" + "Documentation/index.html\n" + "\n"); + + for (node = (help_node_t *)cupsArrayFirst(hi->nodes), id = 1, subnodes = 0, + needclose = 0; + node; + node = (help_node_t *)cupsArrayNext(hi->nodes), id ++) + { + if (node->anchor) + { + if (!subnodes) + { + cupsFilePuts(fp, "\n"); + subnodes = 1; + } + + cupsFilePrintf(fp, "\n" + "Documentation/%s\n" + "%s\n" + "%s\n" + "\n", id, node->filename, node->anchor, + node->text); + } + else + { + if (subnodes) + { + cupsFilePuts(fp, "\n"); + subnodes = 0; + } + + if (needclose) + cupsFilePuts(fp, "\n"); + + cupsFilePrintf(fp, "\n" + "Documentation/%s\n" + "%s\n", id, node->filename, node->text); + needclose = 1; + } + } + + if (subnodes) + cupsFilePuts(fp, "\n"); + + if (needclose) + cupsFilePuts(fp, "\n"); + + cupsFilePuts(fp, "\n" + "\n"); + + cupsFileClose(fp); +} diff --git a/cgi-bin/multipart.dat b/cgi-bin/multipart.dat new file mode 100644 index 0000000..91c5bb5 Binary files /dev/null and b/cgi-bin/multipart.dat differ diff --git a/cgi-bin/printers.c b/cgi-bin/printers.c new file mode 100644 index 0000000..bbc153e --- /dev/null +++ b/cgi-bin/printers.c @@ -0,0 +1,549 @@ +/* + * Printer status CGI for CUPS. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi-private.h" +#include + + +/* + * Local functions... + */ + +static void do_printer_op(http_t *http, const char *printer, ipp_op_t op, + const char *title); +static void show_all_printers(http_t *http, const char *username); +static void show_printer(http_t *http, const char *printer); + + +/* + * 'main()' - Main entry for CGI. + */ + +int /* O - Exit status */ +main(void) +{ + const char *printer; /* Printer name */ + const char *user; /* Username */ + http_t *http; /* Connection to the server */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* IPP attribute */ + const char *op; /* Operation to perform, if any */ + static const char *def_attrs[] = /* Attributes for default printer */ + { + "printer-name", + "printer-uri-supported" + }; + + + /* + * Get any form variables... + */ + + cgiInitialize(); + + op = cgiGetVariable("OP"); + + /* + * Set the web interface section... + */ + + cgiSetVariable("SECTION", "printers"); + cgiSetVariable("REFRESH_PAGE", ""); + + /* + * See if we are displaying a printer or all printers... + */ + + if ((printer = getenv("PATH_INFO")) != NULL) + { + printer ++; + + if (!*printer) + printer = NULL; + + if (printer) + cgiSetVariable("PRINTER_NAME", printer); + } + + /* + * See who is logged in... + */ + + user = getenv("REMOTE_USER"); + + /* + * Connect to the HTTP server... + */ + + http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption()); + + /* + * Get the default printer... + */ + + if (!op || !cgiIsPOST()) + { + /* + * Get the default destination... + */ + + request = ippNewRequest(CUPS_GET_DEFAULT); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + sizeof(def_attrs) / sizeof(def_attrs[0]), NULL, def_attrs); + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + if ((attr = ippFindAttribute(response, "printer-name", IPP_TAG_NAME)) != NULL) + cgiSetVariable("DEFAULT_NAME", attr->values[0].string.text); + + if ((attr = ippFindAttribute(response, "printer-uri-supported", IPP_TAG_URI)) != NULL) + { + char url[HTTP_MAX_URI]; /* New URL */ + + + cgiSetVariable("DEFAULT_URI", + cgiRewriteURL(attr->values[0].string.text, + url, sizeof(url), NULL)); + } + + ippDelete(response); + } + + /* + * See if we need to show a list of printers or the status of a + * single printer... + */ + + if (!printer) + show_all_printers(http, user); + else + show_printer(http, printer); + } + else if (printer) + { + if (!*op) + { + const char *server_port = getenv("SERVER_PORT"); + /* Port number string */ + int port = atoi(server_port ? server_port : "0"); + /* Port number */ + char uri[1024]; /* URL */ + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), + getenv("HTTPS") ? "https" : "http", NULL, + getenv("SERVER_NAME"), port, "/printers/%s", printer); + + printf("Location: %s\n\n", uri); + } + else if (!strcmp(op, "start-printer")) + do_printer_op(http, printer, IPP_RESUME_PRINTER, + cgiText(_("Resume Printer"))); + else if (!strcmp(op, "stop-printer")) + do_printer_op(http, printer, IPP_PAUSE_PRINTER, + cgiText(_("Pause Printer"))); + else if (!strcmp(op, "accept-jobs")) + do_printer_op(http, printer, CUPS_ACCEPT_JOBS, cgiText(_("Accept Jobs"))); + else if (!strcmp(op, "reject-jobs")) + do_printer_op(http, printer, CUPS_REJECT_JOBS, cgiText(_("Reject Jobs"))); + else if (!strcmp(op, "cancel-jobs")) + do_printer_op(http, printer, IPP_OP_CANCEL_JOBS, cgiText(_("Cancel Jobs"))); + else if (!_cups_strcasecmp(op, "print-self-test-page")) + cgiPrintCommand(http, printer, "PrintSelfTestPage", + cgiText(_("Print Self-Test Page"))); + else if (!_cups_strcasecmp(op, "clean-print-heads")) + cgiPrintCommand(http, printer, "Clean all", + cgiText(_("Clean Print Heads"))); + else if (!_cups_strcasecmp(op, "print-test-page")) + cgiPrintTestPage(http, printer); + else if (!_cups_strcasecmp(op, "move-jobs")) + cgiMoveJobs(http, printer, 0); + else + { + /* + * Unknown/bad operation... + */ + + cgiStartHTML(printer); + cgiCopyTemplateLang("error-op.tmpl"); + cgiEndHTML(); + } + } + else + { + /* + * Unknown/bad operation... + */ + + cgiStartHTML(cgiText(_("Printers"))); + cgiCopyTemplateLang("error-op.tmpl"); + cgiEndHTML(); + } + + /* + * Close the HTTP server connection... + */ + + httpClose(http); + + /* + * Return with no errors... + */ + + return (0); +} + + +/* + * 'do_printer_op()' - Do a printer operation. + */ + +static void +do_printer_op(http_t *http, /* I - HTTP connection */ + const char *printer, /* I - Printer name */ + ipp_op_t op, /* I - Operation to perform */ + const char *title) /* I - Title of page */ +{ + ipp_t *request; /* IPP request */ + char uri[HTTP_MAX_URI], /* Printer URI */ + resource[HTTP_MAX_URI]; /* Path for request */ + + + /* + * Build a printer request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(op); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", printer); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + /* + * Do the request and get back a response... + */ + + snprintf(resource, sizeof(resource), "/printers/%s", printer); + ippDelete(cupsDoRequest(http, request, resource)); + + if (cupsLastError() == IPP_NOT_AUTHORIZED) + { + puts("Status: 401\n"); + exit(0); + } + else if (cupsLastError() > IPP_OK_CONFLICT) + { + cgiStartHTML(title); + cgiShowIPPError(_("Unable to do maintenance command")); + } + else + { + /* + * Redirect successful updates back to the printer page... + */ + + char url[1024], /* Printer/class URL */ + refresh[1024]; /* Refresh URL */ + + + cgiRewriteURL(uri, url, sizeof(url), NULL); + cgiFormEncode(uri, url, sizeof(uri)); + snprintf(refresh, sizeof(refresh), "5;URL=%s", uri); + cgiSetVariable("refresh_page", refresh); + + cgiStartHTML(title); + + if (op == IPP_PAUSE_PRINTER) + cgiCopyTemplateLang("printer-stop.tmpl"); + else if (op == IPP_RESUME_PRINTER) + cgiCopyTemplateLang("printer-start.tmpl"); + else if (op == CUPS_ACCEPT_JOBS) + cgiCopyTemplateLang("printer-accept.tmpl"); + else if (op == CUPS_REJECT_JOBS) + cgiCopyTemplateLang("printer-reject.tmpl"); + else if (op == IPP_OP_CANCEL_JOBS) + cgiCopyTemplateLang("printer-cancel-jobs.tmpl"); + } + + cgiEndHTML(); +} + + +/* + * 'show_all_printers()' - Show all printers... + */ + +static void +show_all_printers(http_t *http, /* I - Connection to server */ + const char *user) /* I - Username */ +{ + int i; /* Looping var */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + cups_array_t *printers; /* Array of printer objects */ + ipp_attribute_t *printer; /* Printer object */ + int first, /* First printer to show */ + count; /* Number of printers */ + const char *var; /* Form variable */ + void *search; /* Search data */ + char val[1024]; /* Form variable */ + + + fprintf(stderr, "DEBUG: show_all_printers(http=%p, user=\"%s\")\n", + http, user ? user : "(null)"); + + /* + * Show the standard header... + */ + + cgiStartHTML(cgiText(_("Printers"))); + + /* + * Build a CUPS_GET_PRINTERS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-type + * printer-type-mask + * requesting-user-name + */ + + request = ippNewRequest(CUPS_GET_PRINTERS); + + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_ENUM, + "printer-type", 0); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_ENUM, + "printer-type-mask", CUPS_PRINTER_CLASS); + + if (user) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + + cgiGetAttributes(request, "printers.tmpl"); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + /* + * Get a list of matching job objects. + */ + + if ((var = cgiGetVariable("QUERY")) != NULL && + !cgiGetVariable("CLEAR")) + search = cgiCompileSearch(var); + else + search = NULL; + + printers = cgiGetIPPObjects(response, search); + count = cupsArrayCount(printers); + + if (search) + cgiFreeSearch(search); + + /* + * Figure out which printers to display... + */ + + if ((var = cgiGetVariable("FIRST")) != NULL) + first = atoi(var); + else + first = 0; + + if (first >= count) + first = count - CUPS_PAGE_MAX; + + first = (first / CUPS_PAGE_MAX) * CUPS_PAGE_MAX; + + if (first < 0) + first = 0; + + sprintf(val, "%d", count); + cgiSetVariable("TOTAL", val); + + for (i = 0, printer = (ipp_attribute_t *)cupsArrayIndex(printers, first); + i < CUPS_PAGE_MAX && printer; + i ++, printer = (ipp_attribute_t *)cupsArrayNext(printers)) + cgiSetIPPObjectVars(printer, NULL, i); + + /* + * Save navigation URLs... + */ + + cgiSetVariable("THISURL", "/printers/"); + + if (first > 0) + { + sprintf(val, "%d", first - CUPS_PAGE_MAX); + cgiSetVariable("PREV", val); + } + + if ((first + CUPS_PAGE_MAX) < count) + { + sprintf(val, "%d", first + CUPS_PAGE_MAX); + cgiSetVariable("NEXT", val); + } + + if (count > CUPS_PAGE_MAX) + { + snprintf(val, sizeof(val), "%d", CUPS_PAGE_MAX * (count / CUPS_PAGE_MAX)); + cgiSetVariable("LAST", val); + } + + /* + * Then show everything... + */ + + cgiCopyTemplateLang("search.tmpl"); + + cgiCopyTemplateLang("printers-header.tmpl"); + + if (count > CUPS_PAGE_MAX) + cgiCopyTemplateLang("pager.tmpl"); + + cgiCopyTemplateLang("printers.tmpl"); + + if (count > CUPS_PAGE_MAX) + cgiCopyTemplateLang("pager.tmpl"); + + /* + * Delete the response... + */ + + cupsArrayDelete(printers); + ippDelete(response); + } + else + { + /* + * Show the error... + */ + + cgiShowIPPError(_("Unable to get printer list")); + } + + cgiEndHTML(); +} + + +/* + * 'show_printer()' - Show a single printer. + */ + +static void +show_printer(http_t *http, /* I - Connection to server */ + const char *printer) /* I - Name of printer */ +{ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* IPP attribute */ + char uri[HTTP_MAX_URI]; /* Printer URI */ + char refresh[1024]; /* Refresh URL */ + + + fprintf(stderr, "DEBUG: show_printer(http=%p, printer=\"%s\")\n", + http, printer ? printer : "(null)"); + + /* + * Build an IPP_GET_PRINTER_ATTRIBUTES request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(IPP_GET_PRINTER_ATTRIBUTES); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", printer); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, + uri); + + cgiGetAttributes(request, "printer.tmpl"); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + /* + * Got the result; set the CGI variables and check the status of a + * single-queue request... + */ + + cgiSetIPPVars(response, NULL, NULL, NULL, 0); + + if (printer && (attr = ippFindAttribute(response, "printer-state", + IPP_TAG_ENUM)) != NULL && + attr->values[0].integer == IPP_PRINTER_PROCESSING) + { + /* + * Printer is processing - automatically refresh the page until we + * are done printing... + */ + + cgiFormEncode(uri, printer, sizeof(uri)); + snprintf(refresh, sizeof(refresh), "10;URL=/printers/%s", uri); + cgiSetVariable("refresh_page", refresh); + } + + /* + * Delete the response... + */ + + ippDelete(response); + + /* + * Show the standard header... + */ + + cgiStartHTML(printer); + + /* + * Show the printer status... + */ + + cgiCopyTemplateLang("printer.tmpl"); + + /* + * Show jobs for the specified printer... + */ + + cgiCopyTemplateLang("printer-jobs-header.tmpl"); + cgiShowJobs(http, printer); + } + else + { + /* + * Show the IPP error... + */ + + cgiStartHTML(printer); + cgiShowIPPError(_("Unable to get printer status")); + } + + cgiEndHTML(); +} diff --git a/cgi-bin/search.c b/cgi-bin/search.c new file mode 100644 index 0000000..8dc5b32 --- /dev/null +++ b/cgi-bin/search.c @@ -0,0 +1,362 @@ +/* + * Search routines for CUPS. + * + * Copyright 2007-2018 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi-private.h" +#include + + +/* + * 'cgiCompileSearch()' - Compile a search string. + */ + +void * /* O - Search context */ +cgiCompileSearch(const char *query) /* I - Query string */ +{ + regex_t *re; /* Regular expression */ + char *s, /* Regular expression string */ + *sptr, /* Pointer into RE string */ + *sword; /* Pointer to start of word */ + size_t slen; /* Allocated size of RE string */ + const char *qptr, /* Pointer into query string */ + *qend; /* End of current word */ + const char *prefix; /* Prefix to add to next word */ + int quoted; /* Word is quoted */ + size_t wlen; /* Word length */ + char *lword; /* Last word in query */ + + + /* + * Range check input... + */ + + if (!query) + return (NULL); + + /* + * Allocate a regular expression storage structure... + */ + + if ((re = (regex_t *)calloc(1, sizeof(regex_t))) == NULL) + return (NULL); + + /* + * Allocate a buffer to hold the regular expression string, starting + * at 1024 bytes or 3 times the length of the query string, whichever + * is greater. We'll expand the string as needed... + */ + + slen = strlen(query) * 3; + if (slen < 1024) + slen = 1024; + + if ((s = (char *)malloc(slen)) == NULL) + { + free(re); + return (NULL); + } + + /* + * Copy the query string to the regular expression, handling basic + * AND and OR logic... + */ + + prefix = ".*"; + qptr = query; + sptr = s; + lword = NULL; + + while (*qptr) + { + /* + * Skip leading whitespace... + */ + + while (isspace(*qptr & 255)) + qptr ++; + + if (!*qptr) + break; + + /* + * Find the end of the current word... + */ + + if (*qptr == '\"' || *qptr == '\'') + { + /* + * Scan quoted string... + */ + + quoted = *qptr ++; + for (qend = qptr; *qend && *qend != quoted; qend ++); + + if (!*qend) + { + /* + * No closing quote, error out! + */ + + free(s); + free(re); + + if (lword) + free(lword); + + return (NULL); + } + } + else + { + /* + * Scan whitespace-delimited string... + */ + + quoted = 0; + for (qend = qptr + 1; *qend && !isspace(*qend); qend ++); + } + + wlen = (size_t)(qend - qptr); + + /* + * Look for logic words: AND, OR + */ + + if (wlen == 3 && !_cups_strncasecmp(qptr, "AND", 3)) + { + /* + * Logical AND with the following text... + */ + + if (sptr > s) + prefix = ".*"; + + qptr = qend; + } + else if (wlen == 2 && !_cups_strncasecmp(qptr, "OR", 2)) + { + /* + * Logical OR with the following text... + */ + + if (sptr > s) + prefix = ".*|.*"; + + qptr = qend; + } + else + { + /* + * Add a search word, making sure we have enough room for the + * string + RE overhead... + */ + + wlen = (size_t)(sptr - s) + 2 * 4 * wlen + 2 * strlen(prefix) + 11; + if (lword) + wlen += strlen(lword); + + if (wlen > slen) + { + /* + * Expand the RE string buffer... + */ + + char *temp; /* Temporary string pointer */ + + + slen = wlen + 128; + temp = (char *)realloc(s, slen); + if (!temp) + { + free(s); + free(re); + + if (lword) + free(lword); + + return (NULL); + } + + sptr = temp + (sptr - s); + s = temp; + } + + /* + * Add the prefix string... + */ + + memcpy(sptr, prefix, strlen(prefix) + 1); + sptr += strlen(sptr); + + /* + * Then quote the remaining word characters as needed for the + * RE... + */ + + sword = sptr; + + while (qptr < qend) + { + /* + * Quote: ^ . [ $ ( ) | * + ? { \ + */ + + if (strchr("^.[$()|*+?{\\", *qptr)) + *sptr++ = '\\'; + + *sptr++ = *qptr++; + } + + *sptr = '\0'; + + /* + * For "word1 AND word2", add reciprocal "word2 AND word1"... + */ + + if (!strcmp(prefix, ".*") && lword) + { + char *lword2; /* New "last word" */ + + + if ((lword2 = strdup(sword)) == NULL) + { + free(lword); + free(s); + free(re); + return (NULL); + } + + memcpy(sptr, ".*|.*", 6); + sptr += 5; + + memcpy(sptr, lword2, strlen(lword2) + 1); + sptr += strlen(sptr); + + memcpy(sptr, ".*", 3); + sptr += 2; + + memcpy(sptr, lword, strlen(lword) + 1); + sptr += strlen(sptr); + + free(lword); + lword = lword2; + } + else + { + if (lword) + free(lword); + + lword = strdup(sword); + } + + prefix = ".*|.*"; + } + + /* + * Advance to the next string... + */ + + if (quoted) + qptr ++; + } + + if (lword) + free(lword); + + if (sptr > s) + memcpy(sptr, ".*", 3); + else + { + /* + * No query data, return NULL... + */ + + free(s); + free(re); + + return (NULL); + } + + /* + * Compile the regular expression... + */ + + if (regcomp(re, s, REG_EXTENDED | REG_ICASE)) + { + free(re); + free(s); + + return (NULL); + } + + /* + * Free the RE string and return the new regular expression we compiled... + */ + + free(s); + + return ((void *)re); +} + + +/* + * 'cgiDoSearch()' - Do a search of some text. + */ + +int /* O - Number of matches */ +cgiDoSearch(void *search, /* I - Search context */ + const char *text) /* I - Text to search */ +{ + int i; /* Looping var */ + regmatch_t matches[100]; /* RE matches */ + + + /* + * Range check... + */ + + if (!search || !text) + return (0); + + /* + * Do a lookup... + */ + + if (!regexec((regex_t *)search, text, sizeof(matches) / sizeof(matches[0]), + matches, 0)) + { + /* + * Figure out the number of matches in the string... + */ + + for (i = 0; i < (int)(sizeof(matches) / sizeof(matches[0])); i ++) + if (matches[i].rm_so < 0) + break; + + return (i); + } + else + return (0); +} + + +/* + * 'cgiFreeSearch()' - Free a compiled search context. + */ + +void +cgiFreeSearch(void *search) /* I - Search context */ +{ + regfree((regex_t *)search); + free(search); +} diff --git a/cgi-bin/template.c b/cgi-bin/template.c new file mode 100644 index 0000000..1972b4a --- /dev/null +++ b/cgi-bin/template.c @@ -0,0 +1,679 @@ +/* + * CGI template function. + * + * Copyright 2007-2015 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#include "cgi-private.h" +#include +#include + + +/* + * Local functions... + */ + +static void cgi_copy(FILE *out, FILE *in, int element, char term, + int indent); +static void cgi_puts(const char *s, FILE *out); +static void cgi_puturi(const char *s, FILE *out); + + +/* + * 'cgiCopyTemplateFile()' - Copy a template file and replace all the + * '{variable}' strings with the variable value. + */ + +void +cgiCopyTemplateFile(FILE *out, /* I - Output file */ + const char *tmpl) /* I - Template file to read */ +{ + FILE *in; /* Input file */ + + + fprintf(stderr, "DEBUG2: cgiCopyTemplateFile(out=%p, tmpl=\"%s\")\n", out, + tmpl ? tmpl : "(null)"); + + /* + * Range check input... + */ + + if (!tmpl || !out) + return; + + /* + * Open the template file... + */ + + if ((in = fopen(tmpl, "r")) == NULL) + { + fprintf(stderr, "ERROR: Unable to open template file \"%s\" - %s\n", + tmpl ? tmpl : "(null)", strerror(errno)); + return; + } + + /* + * Parse the file to the end... + */ + + cgi_copy(out, in, 0, 0, 0); + + /* + * Close the template file and return... + */ + + fclose(in); +} + + +/* + * 'cgiCopyTemplateLang()' - Copy a template file using a language... + */ + +void +cgiCopyTemplateLang(const char *tmpl) /* I - Base filename */ +{ + char filename[1024], /* Filename */ + locale[16], /* Locale name */ + *locptr; /* Pointer into locale name */ + const char *directory, /* Directory for templates */ + *lang; /* Language */ + FILE *in; /* Input file */ + + + fprintf(stderr, "DEBUG2: cgiCopyTemplateLang(tmpl=\"%s\")\n", + tmpl ? tmpl : "(null)"); + + /* + * Convert the language to a locale name... + */ + + locale[0] = '\0'; + + if ((lang = getenv("LANG")) != NULL) + { + locale[0] = '/'; + strlcpy(locale + 1, lang, sizeof(locale) - 1); + + if ((locptr = strchr(locale, '.')) != NULL) + *locptr = '\0'; /* Strip charset */ + } + + fprintf(stderr, "DEBUG2: lang=\"%s\", locale=\"%s\"...\n", + lang ? lang : "(null)", locale); + + /* + * See if we have a template file for this language... + */ + + directory = cgiGetTemplateDir(); + + snprintf(filename, sizeof(filename), "%s%s/%s", directory, locale, tmpl); + if ((in = fopen(filename, "r")) == NULL) + { + locale[3] = '\0'; + + snprintf(filename, sizeof(filename), "%s%s/%s", directory, locale, tmpl); + if ((in = fopen(filename, "r")) == NULL) + { + snprintf(filename, sizeof(filename), "%s/%s", directory, tmpl); + in = fopen(filename, "r"); + } + } + + fprintf(stderr, "DEBUG2: Template file is \"%s\"...\n", filename); + + /* + * Open the template file... + */ + + if (!in) + { + fprintf(stderr, "ERROR: Unable to open template file \"%s\" - %s\n", + filename, strerror(errno)); + return; + } + + /* + * Parse the file to the end... + */ + + cgi_copy(stdout, in, 0, 0, 0); + + /* + * Close the template file and return... + */ + + fclose(in); +} + + +/* + * 'cgiGetTemplateDir()' - Get the templates directory... + */ + +char * /* O - Template directory */ +cgiGetTemplateDir(void) +{ + const char *datadir; /* CUPS_DATADIR env var */ + static char templates[1024] = ""; /* Template directory */ + + + if (!templates[0]) + { + /* + * Build the template directory pathname... + */ + + if ((datadir = getenv("CUPS_DATADIR")) == NULL) + datadir = CUPS_DATADIR; + + snprintf(templates, sizeof(templates), "%s/templates", datadir); + } + + return (templates); +} + + +/* + * 'cgiSetServerVersion()' - Set the server name and CUPS version... + */ + +void +cgiSetServerVersion(void) +{ + cgiSetVariable("SERVER_NAME", getenv("SERVER_NAME")); + cgiSetVariable("REMOTE_USER", getenv("REMOTE_USER")); + cgiSetVariable("CUPS_VERSION", CUPS_SVERSION); + +#ifdef LC_TIME + setlocale(LC_TIME, ""); +#endif /* LC_TIME */ +} + + +/* + * 'cgi_copy()' - Copy the template file, substituting as needed... + */ + +static void +cgi_copy(FILE *out, /* I - Output file */ + FILE *in, /* I - Input file */ + int element, /* I - Element number (0 to N) */ + char term, /* I - Terminating character */ + int indent) /* I - Debug info indentation */ +{ + int ch; /* Character from file */ + char op; /* Operation */ + char name[255], /* Name of variable */ + *nameptr, /* Pointer into name */ + innername[255], /* Inner comparison name */ + *innerptr, /* Pointer into inner name */ + *s; /* String pointer */ + const char *value; /* Value of variable */ + const char *innerval; /* Inner value */ + const char *outptr; /* Output string pointer */ + char outval[1024], /* Formatted output string */ + compare[1024]; /* Comparison string */ + int result; /* Result of comparison */ + int uriencode; /* Encode as URI */ + regex_t re; /* Regular expression to match */ + + + fprintf(stderr, "DEBUG2: %*sStarting at file position %ld...\n", indent, "", + ftell(in)); + + /* + * Parse the file to the end... + */ + + while ((ch = getc(in)) != EOF) + if (ch == term) + break; + else if (ch == '{') + { + /* + * Get a variable name... + */ + + uriencode = 0; + + for (s = name; (ch = getc(in)) != EOF;) + if (strchr("}]<>=!~ \t\n", ch)) + break; + else if (s == name && ch == '%') + uriencode = 1; + else if (s > name && ch == '?') + break; + else if (s < (name + sizeof(name) - 1)) + *s++ = (char)ch; + + *s = '\0'; + + if (s == name && isspace(ch & 255)) + { + fprintf(stderr, "DEBUG2: %*sLone { at %ld...\n", indent, "", ftell(in)); + + if (out) + { + putc('{', out); + putc(ch, out); + } + + continue; + } + + if (ch == '}') + fprintf(stderr, "DEBUG2: %*s\"{%s}\" at %ld...\n", indent, "", name, + ftell(in)); + + /* + * See if it has a value... + */ + + if (name[0] == '?') + { + /* + * Insert value only if it exists... + */ + + if ((nameptr = strrchr(name, '-')) != NULL && isdigit(nameptr[1] & 255)) + { + *nameptr++ = '\0'; + + if ((value = cgiGetArray(name + 1, atoi(nameptr) - 1)) != NULL) + outptr = value; + else + { + outval[0] = '\0'; + outptr = outval; + } + } + else if ((value = cgiGetArray(name + 1, element)) != NULL) + outptr = value; + else + { + outval[0] = '\0'; + outptr = outval; + } + } + else if (name[0] == '#') + { + /* + * Insert count... + */ + + if (name[1]) + sprintf(outval, "%d", cgiGetSize(name + 1)); + else + sprintf(outval, "%d", element + 1); + + outptr = outval; + } + else if (name[0] == '[') + { + /* + * Loop for # of elements... + */ + + int i; /* Looping var */ + long pos; /* File position */ + int count; /* Number of elements */ + + + if (isdigit(name[1] & 255)) + count = atoi(name + 1); + else + count = cgiGetSize(name + 1); + + pos = ftell(in); + + fprintf(stderr, "DEBUG2: %*sLooping on \"%s\" at %ld, count=%d...\n", + indent, "", name + 1, pos, count); + + if (count > 0) + { + for (i = 0; i < count; i ++) + { + if (i) + fseek(in, pos, SEEK_SET); + + cgi_copy(out, in, i, '}', indent + 2); + } + } + else + cgi_copy(NULL, in, 0, '}', indent + 2); + + fprintf(stderr, "DEBUG2: %*sFinished looping on \"%s\"...\n", indent, + "", name + 1); + + continue; + } + else if (name[0] == '$') + { + /* + * Insert cookie value or nothing if not defined. + */ + + if ((value = cgiGetCookie(name + 1)) != NULL) + outptr = value; + else + { + outval[0] = '\0'; + outptr = outval; + } + } + else + { + /* + * Insert variable or variable name (if element is NULL)... + */ + + if ((nameptr = strrchr(name, '-')) != NULL && isdigit(nameptr[1] & 255)) + { + *nameptr++ = '\0'; + if ((value = cgiGetArray(name, atoi(nameptr) - 1)) == NULL) + { + snprintf(outval, sizeof(outval), "{%s}", name); + outptr = outval; + } + else + outptr = value; + } + else if ((value = cgiGetArray(name, element)) == NULL) + { + snprintf(outval, sizeof(outval), "{%s}", name); + outptr = outval; + } + else + outptr = value; + } + + /* + * See if the terminating character requires another test... + */ + + if (ch == '}') + { + /* + * End of substitution... + */ + + if (out) + { + if (uriencode) + cgi_puturi(outptr, out); + else if (!_cups_strcasecmp(name, "?cupsdconf_default")) + fputs(outptr, stdout); + else + cgi_puts(outptr, out); + } + + continue; + } + + /* + * OK, process one of the following checks: + * + * {name?exist:not-exist} Exists? + * {name=value?true:false} Equal + * {namevalue?true:false} Greater than + * {name!value?true:false} Not equal + * {name~refex?true:false} Regex match + */ + + op = (char)ch; + + if (ch == '?') + { + /* + * Test for existance... + */ + + if (name[0] == '?') + result = cgiGetArray(name + 1, element) != NULL; + else if (name[0] == '#') + result = cgiGetVariable(name + 1) != NULL; + else + result = cgiGetArray(name, element) != NULL; + + result = result && outptr[0]; + compare[0] = '\0'; + } + else + { + /* + * Compare to a string... + */ + + for (s = compare; (ch = getc(in)) != EOF;) + if (ch == '?') + break; + else if (s >= (compare + sizeof(compare) - 1)) + continue; + else if (ch == '#') + { + sprintf(s, "%d", element + 1); + s += strlen(s); + } + else if (ch == '{') + { + /* + * Grab the value of a variable... + */ + + innerptr = innername; + while ((ch = getc(in)) != EOF && ch != '}') + if (innerptr < (innername + sizeof(innername) - 1)) + *innerptr++ = (char)ch; + *innerptr = '\0'; + + if (innername[0] == '#') + sprintf(s, "%d", cgiGetSize(innername + 1)); + else if ((innerptr = strrchr(innername, '-')) != NULL && + isdigit(innerptr[1] & 255)) + { + *innerptr++ = '\0'; + if ((innerval = cgiGetArray(innername, atoi(innerptr) - 1)) == NULL) + *s = '\0'; + else + strlcpy(s, innerval, sizeof(compare) - (size_t)(s - compare)); + } + else if (innername[0] == '?') + { + if ((innerval = cgiGetArray(innername + 1, element)) == NULL) + *s = '\0'; + else + strlcpy(s, innerval, sizeof(compare) - (size_t)(s - compare)); + } + else if ((innerval = cgiGetArray(innername, element)) == NULL) + snprintf(s, sizeof(compare) - (size_t)(s - compare), "{%s}", innername); + else + strlcpy(s, innerval, sizeof(compare) - (size_t)(s - compare)); + + s += strlen(s); + } + else if (ch == '\\') + *s++ = (char)getc(in); + else + *s++ = (char)ch; + + *s = '\0'; + + if (ch != '?') + { + fprintf(stderr, + "DEBUG2: %*sBad terminator '%c' at file position %ld...\n", + indent, "", ch, ftell(in)); + return; + } + + /* + * Do the comparison... + */ + + switch (op) + { + case '<' : + result = _cups_strcasecmp(outptr, compare) < 0; + break; + case '>' : + result = _cups_strcasecmp(outptr, compare) > 0; + break; + case '=' : + result = _cups_strcasecmp(outptr, compare) == 0; + break; + case '!' : + result = _cups_strcasecmp(outptr, compare) != 0; + break; + case '~' : + fprintf(stderr, "DEBUG: Regular expression \"%s\"\n", compare); + + if (regcomp(&re, compare, REG_EXTENDED | REG_ICASE)) + { + fprintf(stderr, + "ERROR: Unable to compile regular expression \"%s\"!\n", + compare); + result = 0; + } + else + { + regmatch_t matches[10]; + + result = 0; + + if (!regexec(&re, outptr, 10, matches, 0)) + { + int i; + for (i = 0; i < 10; i ++) + { + fprintf(stderr, "DEBUG: matches[%d].rm_so=%d\n", i, + (int)matches[i].rm_so); + if (matches[i].rm_so < 0) + break; + + result ++; + } + } + + regfree(&re); + } + break; + default : + result = 1; + break; + } + } + + fprintf(stderr, + "DEBUG2: %*sStarting \"{%s%c%s\" at %ld, result=%d...\n", + indent, "", name, op, compare, ftell(in), result); + + if (result) + { + /* + * Comparison true; output first part and ignore second... + */ + + fprintf(stderr, "DEBUG2: %*sOutput first part...\n", indent, ""); + cgi_copy(out, in, element, ':', indent + 2); + + fprintf(stderr, "DEBUG2: %*sSkip second part...\n", indent, ""); + cgi_copy(NULL, in, element, '}', indent + 2); + } + else + { + /* + * Comparison false; ignore first part and output second... + */ + + fprintf(stderr, "DEBUG2: %*sSkip first part...\n", indent, ""); + cgi_copy(NULL, in, element, ':', indent + 2); + + fprintf(stderr, "DEBUG2: %*sOutput second part...\n", indent, ""); + cgi_copy(out, in, element, '}', indent + 2); + } + + fprintf(stderr, "DEBUG2: %*sFinished \"{%s%c%s\", out=%p...\n", indent, "", + name, op, compare, out); + } + else if (ch == '\\') /* Quoted char */ + { + if (out) + putc(getc(in), out); + else + getc(in); + } + else if (out) + putc(ch, out); + + if (ch == EOF) + fprintf(stderr, "DEBUG2: %*sReturning at file position %ld on EOF...\n", + indent, "", ftell(in)); + else + fprintf(stderr, + "DEBUG2: %*sReturning at file position %ld on character '%c'...\n", + indent, "", ftell(in), ch); + + if (ch == EOF && term) + fprintf(stderr, "ERROR: %*sSaw EOF, expected '%c'!\n", indent, "", term); + + /* + * Flush any pending output... + */ + + if (out) + fflush(out); +} + + +/* + * 'cgi_puts()' - Put a string to the output file, quoting as needed... + */ + +static void +cgi_puts(const char *s, /* I - String to output */ + FILE *out) /* I - Output file */ +{ + while (*s) + { + if (*s == '<') + fputs("<", out); + else if (*s == '>') + fputs(">", out); + else if (*s == '\"') + fputs(""", out); + else if (*s == '\'') + fputs("'", out); + else if (*s == '&') + fputs("&", out); + else + putc(*s, out); + + s ++; + } +} + + +/* + * 'cgi_puturi()' - Put a URI string to the output file, quoting as needed... + */ + +static void +cgi_puturi(const char *s, /* I - String to output */ + FILE *out) /* I - Output file */ +{ + while (*s) + { + if (strchr("%@&+ <>#=", *s) || *s < ' ' || *s & 128) + fprintf(out, "%%%02X", *s & 255); + else + putc(*s, out); + + s ++; + } +} diff --git a/cgi-bin/testcgi.c b/cgi-bin/testcgi.c new file mode 100644 index 0000000..a2276f4 --- /dev/null +++ b/cgi-bin/testcgi.c @@ -0,0 +1,58 @@ +/* + * CGI test program for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi.h" + + +/* + * 'main()' - Test the CGI code. + */ + +int /* O - Exit status */ +main(void) +{ + /* + * Test file upload/multi-part submissions... + */ + + freopen("multipart.dat", "rb", stdin); + + putenv("CONTENT_TYPE=multipart/form-data; " + "boundary=---------------------------1977426492562745908748943111"); + putenv("REQUEST_METHOD=POST"); + + printf("cgiInitialize: "); + if (cgiInitialize()) + { + const cgi_file_t *file; /* Upload file */ + + if ((file = cgiGetFile()) != NULL) + { + puts("PASS"); + printf(" tempfile=\"%s\"\n", file->tempfile); + printf(" name=\"%s\"\n", file->name); + printf(" filename=\"%s\"\n", file->filename); + printf(" mimetype=\"%s\"\n", file->mimetype); + } + else + puts("FAIL (no file!)"); + } + else + puts("FAIL (init)"); + + /* + * Return with no errors... + */ + + return (0); +} diff --git a/cgi-bin/testhi.c b/cgi-bin/testhi.c new file mode 100644 index 0000000..dec6bdf --- /dev/null +++ b/cgi-bin/testhi.c @@ -0,0 +1,181 @@ +/* + * Help index test program for CUPS. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi.h" + + +/* + * Local functions... + */ + +static void list_nodes(const char *title, cups_array_t *nodes); +static int usage(void); + + +/* + * 'main()' - Test the help index code. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + help_index_t *hi, /* Help index */ + *search; /* Search index */ + const char *opt, /* Current option character */ + *dir = ".", /* Directory to index */ + *q = NULL, /* Query string */ + *section = NULL, /* Section string */ + *filename = NULL; /* Filename string */ + + + /* + * Parse the command-line... + */ + + for (i = 1; i < argc; i ++) + { + if (argv[i][0] == '-') + { + if (!strcmp(argv[i], "--help")) + { + usage(); + return (0); + } + + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'd' : /* -d directory */ + i ++; + if (i < argc) + { + dir = argv[i]; + } + else + { + fputs("testhi: Missing directory for \"-d\" option.\n", stderr); + return (usage()); + } + break; + + case 's' : /* -s section */ + i ++; + if (i < argc) + { + section = argv[i]; + } + else + { + fputs("testhi: Missing section name for \"-s\" option.\n", stderr); + return (usage()); + } + break; + + default : + fprintf(stderr, "testhi: Unknown option \"-%c\".\n", *opt); + return (usage()); + } + } + } + else if (!q) + q = argv[i]; + else if (!filename) + filename = argv[i]; + else + { + fprintf(stderr, "testhi: Unknown argument \"%s\".\n", argv[i]); + return (usage()); + } + } + + /* + * Load the help index... + */ + + hi = helpLoadIndex("testhi.index", dir); + + list_nodes("nodes", hi->nodes); + list_nodes("sorted", hi->sorted); + + /* + * Do any searches... + */ + + if (q) + { + search = helpSearchIndex(hi, q, section, filename); + + if (search) + { + list_nodes(argv[1], search->sorted); + helpDeleteIndex(search); + } + else + printf("%s (0 nodes)\n", q); + } + + helpDeleteIndex(hi); + + /* + * Return with no errors... + */ + + return (0); +} + + +/* + * 'list_nodes()' - List nodes in an array... + */ + +static void +list_nodes(const char *title, /* I - Title string */ + cups_array_t *nodes) /* I - Nodes */ +{ + int i; /* Looping var */ + help_node_t *node; /* Current node */ + + + printf("%s (%d nodes):\n", title, cupsArrayCount(nodes)); + for (i = 1, node = (help_node_t *)cupsArrayFirst(nodes); + node; + i ++, node = (help_node_t *)cupsArrayNext(nodes)) + { + if (node->anchor) + printf(" %d: %s#%s \"%s\"", i, node->filename, node->anchor, + node->text); + else + printf(" %d: %s \"%s\"", i, node->filename, node->text); + + printf(" (%d words)\n", cupsArrayCount(node->words)); + } +} + + +/* + * 'usage()' - Show program usage. + */ + +static int /* O - Exit status */ +usage(void) +{ + puts("Usage: ./testhi [options] [\"query\"] [filename]"); + puts("Options:"); + puts("-d directory Specify index directory."); + puts("-s section Specify search section."); + + return (1); +} diff --git a/cgi-bin/testhi.html b/cgi-bin/testhi.html new file mode 100644 index 0000000..0000e9e --- /dev/null +++ b/cgi-bin/testhi.html @@ -0,0 +1,31 @@ + + + Test File for Help Index Code + + + +

This is a test file for the help index code. The help index +code reads plain HTML and indexes the title and any anchored +text, ignoring all other markup. Anchor tags must be on a single +line, although the text they wrap may cross multiple lines and be +up to 1024 bytes in length.

+ +

This is the First Anchor

+ +

This is some text for the first anchor.

+ + +

This is the Second Anchor

+ +

This is some text for the first anchor.

+ +

John asked Mary to the dance.

+ + +

This is the Third Anchor

+ +

This is some text for the third anchor. This +is an in-line anchor that crosses a line.

+ + + diff --git a/cgi-bin/testtemplate.c b/cgi-bin/testtemplate.c new file mode 100644 index 0000000..930bd6c --- /dev/null +++ b/cgi-bin/testtemplate.c @@ -0,0 +1,88 @@ +/* + * CGI template test program for CUPS. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cgi.h" + + +/* + * 'main()' - Test the template code. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + char *value; /* Value in name=value */ + FILE *out; /* Where to send output */ + + + /* + * Don't buffer stdout or stderr so that the mixed output is sane... + */ + + setbuf(stdout, NULL); + setbuf(stderr, NULL); + + /* + * Loop through the command-line, assigning variables for any args with + * "name=value"... + */ + + out = stdout; + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "-o")) + { + i ++; + if (i < argc) + { + out = fopen(argv[i], "w"); + if (!out) + { + perror(argv[i]); + return (1); + } + } + } + else if (!strcmp(argv[i], "-e")) + { + i ++; + + if (i < argc) + { + if (!freopen(argv[i], "w", stderr)) + { + perror(argv[i]); + return (1); + } + } + } + else if (!strcmp(argv[i], "-q")) + freopen("/dev/null", "w", stderr); + else if ((value = strchr(argv[i], '=')) != NULL) + { + *value++ = '\0'; + cgiSetVariable(argv[i], value); + } + else + cgiCopyTemplateFile(out, argv[i]); + } + + /* + * Return with no errors... + */ + + return (0); +} diff --git a/cgi-bin/var.c b/cgi-bin/var.c new file mode 100644 index 0000000..349a218 --- /dev/null +++ b/cgi-bin/var.c @@ -0,0 +1,1275 @@ +/* + * CGI form variable and array functions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +/*#define DEBUG*/ +#include "cgi-private.h" +#include + + +/* + * Session ID name + */ + +#define CUPS_SID "org.cups.sid" + + +/* + * Data structure to hold all the CGI form variables and arrays... + */ + +typedef struct /**** Form variable structure ****/ +{ + char *name; /* Name of variable */ + int nvalues, /* Number of values */ + avalues; /* Number of values allocated */ + char **values; /* Value(s) of variable */ +} _cgi_var_t; + + +/* + * Local globals... + */ + +static int num_cookies = 0;/* Number of cookies */ +static cups_option_t *cookies = NULL;/* Cookies */ +static int form_count = 0, /* Form variable count */ + form_alloc = 0; /* Number of variables allocated */ +static _cgi_var_t *form_vars = NULL; + /* Form variables */ +static cgi_file_t *form_file = NULL; + /* Uploaded file */ + + +/* + * Local functions... + */ + +static void cgi_add_variable(const char *name, int element, + const char *value); +static int cgi_compare_variables(const _cgi_var_t *v1, + const _cgi_var_t *v2); +static _cgi_var_t *cgi_find_variable(const char *name); +static void cgi_initialize_cookies(void); +static int cgi_initialize_get(void); +static int cgi_initialize_multipart(const char *boundary); +static int cgi_initialize_post(void); +static int cgi_initialize_string(const char *data); +static const char *cgi_passwd(const char *prompt); +static const char *cgi_set_sid(void); +static void cgi_sort_variables(void); +static void cgi_unlink_file(void); + + +/* + * 'cgiCheckVariables()' - Check for the presence of "required" variables. + * + * Names may be separated by spaces and/or commas. + */ + +int /* O - 1 if all variables present, 0 otherwise */ +cgiCheckVariables(const char *names) /* I - Variables to look for */ +{ + char name[255], /* Current variable name */ + *s; /* Pointer in string */ + const char *val; /* Value of variable */ + int element; /* Array element number */ + + + if (names == NULL) + return (1); + + while (*names != '\0') + { + while (*names == ' ' || *names == ',') + names ++; + + for (s = name; *names != '\0' && *names != ' ' && *names != ','; s ++, names ++) + *s = *names; + + *s = 0; + if (name[0] == '\0') + break; + + if ((s = strrchr(name, '-')) != NULL) + { + *s = '\0'; + element = atoi(s + 1) - 1; + val = cgiGetArray(name, element); + } + else + val = cgiGetVariable(name); + + if (val == NULL) + return (0); + + if (*val == '\0') + { + free((void *)val); + return (0); /* Can't be blank, either! */ + } + + free((void *)val); + } + + return (1); +} + + +/* + * 'cgiClearVariables()' - Clear all form variables. + */ + +void +cgiClearVariables(void) +{ + int i, j; /* Looping vars */ + _cgi_var_t *v; /* Current variable */ + + + fputs("DEBUG: cgiClearVariables called.\n", stderr); + + for (v = form_vars, i = form_count; i > 0; v ++, i --) + { + free(v->name); + for (j = 0; j < v->nvalues; j ++) + if (v->values[j]) + free(v->values[j]); + } + + form_count = 0; + + cgi_unlink_file(); +} + + +/* + * 'cgiGetArray()' - Get an element from a form array. + */ + +char * /* O - Element value or NULL */ +cgiGetArray(const char *name, /* I - Name of array variable */ + int element) /* I - Element number (0 to N) */ +{ + _cgi_var_t *var; /* Pointer to variable */ + + + if ((var = cgi_find_variable(name)) == NULL) + return (NULL); + + if (element < 0 || element >= var->nvalues) + return (NULL); + + if (var->values[element] == NULL) + return (NULL); + + return (strdup(var->values[element])); +} + + +/* + * 'cgiGetCookie()' - Get a cookie value. + */ + +const char * /* O - Value or NULL */ +cgiGetCookie(const char *name) /* I - Name of cookie */ +{ + return (cupsGetOption(name, num_cookies, cookies)); +} + + +/* + * 'cgiGetFile()' - Get the file (if any) that was submitted in the form. + */ + +const cgi_file_t * /* O - Attached file or NULL */ +cgiGetFile(void) +{ + return (form_file); +} + + +/* + * 'cgiGetSize()' - Get the size of a form array value. + */ + +int /* O - Number of elements */ +cgiGetSize(const char *name) /* I - Name of variable */ +{ + _cgi_var_t *var; /* Pointer to variable */ + + + if ((var = cgi_find_variable(name)) == NULL) + return (0); + + return (var->nvalues); +} + + +/* + * 'cgiGetVariable()' - Get a CGI variable from the database. + * + * Returns NULL if the variable doesn't exist. If the variable is an + * array of values, returns the last element. + */ + +char * /* O - Value of variable */ +cgiGetVariable(const char *name) /* I - Name of variable */ +{ + const _cgi_var_t *var; /* Returned variable */ + + + var = cgi_find_variable(name); + + return ((var == NULL) ? NULL : strdup(var->values[var->nvalues - 1])); +} + + +/* + * 'cgiInitialize()' - Initialize the CGI variable "database". + */ + +int /* O - Non-zero if there was form data */ +cgiInitialize(void) +{ + const char *method, /* Form posting method */ + *content_type, /* Content-Type of post data */ + *cups_sid_cookie, /* SID cookie */ + *cups_sid_form; /* SID form variable */ + + + /* + * Setup a password callback for authentication... + */ + + cupsSetPasswordCB(cgi_passwd); + + /* + * Set the locale so that times, etc. are formatted properly... + */ + + setlocale(LC_ALL, ""); + +#ifdef DEBUG + /* + * Disable output buffering to find bugs... + */ + + setbuf(stdout, NULL); +#endif /* DEBUG */ + + /* + * Get cookies... + */ + + cgi_initialize_cookies(); + + if ((cups_sid_cookie = cgiGetCookie(CUPS_SID)) == NULL) + { + fputs("DEBUG: " CUPS_SID " cookie not found, initializing!\n", stderr); + cups_sid_cookie = cgi_set_sid(); + } + + fprintf(stderr, "DEBUG: " CUPS_SID " cookie is \"%s\"\n", cups_sid_cookie); + + /* + * Get the request method (GET or POST)... + */ + + method = getenv("REQUEST_METHOD"); + content_type = getenv("CONTENT_TYPE"); + if (!method) + return (0); + + /* + * Grab form data from the corresponding location... + */ + + if (!_cups_strcasecmp(method, "GET")) + return (cgi_initialize_get()); + else if (!_cups_strcasecmp(method, "POST") && content_type) + { + const char *boundary = strstr(content_type, "boundary="); + + if (boundary) + boundary += 9; + + if (content_type && !strncmp(content_type, "multipart/form-data; ", 21)) + { + if (!cgi_initialize_multipart(boundary)) + return (0); + } + else if (!cgi_initialize_post()) + return (0); + + if ((cups_sid_form = cgiGetVariable(CUPS_SID)) == NULL || + strcmp(cups_sid_cookie, cups_sid_form)) + { + if (cups_sid_form) + fprintf(stderr, "DEBUG: " CUPS_SID " form variable is \"%s\"\n", + cups_sid_form); + else + fputs("DEBUG: " CUPS_SID " form variable is not present.\n", stderr); + + free((void *)cups_sid_form); + + cgiClearVariables(); + + return (0); + } + else + { + free((void *)cups_sid_form); + + return (1); + } + } + else + return (0); +} + + +/* + * 'cgiIsPOST()' - Determine whether this page was POSTed. + */ + +int /* O - 1 if POST, 0 if GET */ +cgiIsPOST(void) +{ + const char *method; /* REQUEST_METHOD environment variable */ + + + if ((method = getenv("REQUEST_METHOD")) == NULL) + return (0); + else + return (!strcmp(method, "POST")); +} + + +/* + * 'cgiSetArray()' - Set array element N to the specified string. + * + * If the variable array is smaller than (element + 1), the intervening + * elements are set to NULL. + */ + +void +cgiSetArray(const char *name, /* I - Name of variable */ + int element, /* I - Element number (0 to N) */ + const char *value) /* I - Value of variable */ +{ + int i; /* Looping var */ + _cgi_var_t *var; /* Returned variable */ + + + if (name == NULL || value == NULL || element < 0 || element > 100000) + return; + + fprintf(stderr, "DEBUG: cgiSetArray: %s[%d]=\"%s\"\n", name, element, value); + + if ((var = cgi_find_variable(name)) == NULL) + { + cgi_add_variable(name, element, value); + cgi_sort_variables(); + } + else + { + if (element >= var->avalues) + { + char **temp; /* Temporary pointer */ + + temp = (char **)realloc((void *)(var->values), sizeof(char *) * (size_t)(element + 16)); + if (!temp) + return; + + var->avalues = element + 16; + var->values = temp; + } + + if (element >= var->nvalues) + { + for (i = var->nvalues; i < element; i ++) + var->values[i] = NULL; + + var->nvalues = element + 1; + } + else if (var->values[element]) + free((char *)var->values[element]); + + var->values[element] = strdup(value); + } +} + + +/* + * 'cgiSetCookie()' - Set a cookie value. + */ + +void +cgiSetCookie(const char *name, /* I - Name */ + const char *value, /* I - Value */ + const char *path, /* I - Path (typically "/") */ + const char *domain, /* I - Domain name */ + time_t expires, /* I - Expiration date (0 for session) */ + int secure) /* I - Require SSL */ +{ + num_cookies = cupsAddOption(name, value, num_cookies, &cookies); + + printf("Set-Cookie: %s=%s;", name, value); + if (path) + printf(" path=%s;", path); + if (domain) + printf(" domain=%s;", domain); + if (expires) + { + char date[256]; /* Date string */ + + printf(" expires=%s;", httpGetDateString2(expires, date, sizeof(date))); + } + if (secure) + puts(" httponly; secure;"); + else + puts(" httponly;"); +} + + +/* + * 'cgiSetSize()' - Set the array size. + */ + +void +cgiSetSize(const char *name, /* I - Name of variable */ + int size) /* I - Number of elements (0 to N) */ +{ + int i; /* Looping var */ + _cgi_var_t *var; /* Returned variable */ + + + if (name == NULL || size < 0 || size > 100000) + return; + + if ((var = cgi_find_variable(name)) == NULL) + return; + + if (size >= var->avalues) + { + char **temp; /* Temporary pointer */ + + temp = (char **)realloc((void *)(var->values), sizeof(char *) * (size_t)(size + 16)); + if (!temp) + return; + + var->avalues = size + 16; + var->values = temp; + } + + if (size > var->nvalues) + { + for (i = var->nvalues; i < size; i ++) + var->values[i] = NULL; + } + else if (size < var->nvalues) + { + for (i = size; i < var->nvalues; i ++) + if (var->values[i]) + free((void *)(var->values[i])); + } + + var->nvalues = size; +} + + +/* + * 'cgiSetVariable()' - Set a CGI variable in the database. + * + * If the variable is an array, this truncates the array to a single element. + */ + +void +cgiSetVariable(const char *name, /* I - Name of variable */ + const char *value) /* I - Value of variable */ +{ + int i; /* Looping var */ + _cgi_var_t *var; /* Returned variable */ + + + if (name == NULL || value == NULL) + return; + + fprintf(stderr, "cgiSetVariable: %s=\"%s\"\n", name, value); + + if ((var = cgi_find_variable(name)) == NULL) + { + cgi_add_variable(name, 0, value); + cgi_sort_variables(); + } + else + { + for (i = 0; i < var->nvalues; i ++) + if (var->values[i]) + free((char *)var->values[i]); + + var->values[0] = strdup(value); + var->nvalues = 1; + } +} + + +/* + * 'cgi_add_variable()' - Add a form variable. + */ + +static void +cgi_add_variable(const char *name, /* I - Variable name */ + int element, /* I - Array element number */ + const char *value) /* I - Variable value */ +{ + _cgi_var_t *var; /* New variable */ + + + if (name == NULL || value == NULL || element < 0 || element > 100000) + return; + + if (form_count >= form_alloc) + { + _cgi_var_t *temp_vars; /* Temporary form pointer */ + + + if (form_alloc == 0) + temp_vars = malloc(sizeof(_cgi_var_t) * 16); + else + temp_vars = realloc(form_vars, (size_t)(form_alloc + 16) * sizeof(_cgi_var_t)); + + if (!temp_vars) + return; + + form_vars = temp_vars; + form_alloc += 16; + } + + var = form_vars + form_count; + + if ((var->values = calloc((size_t)element + 1, sizeof(char *))) == NULL) + return; + + var->name = strdup(name); + var->nvalues = element + 1; + var->avalues = element + 1; + var->values[element] = strdup(value); + + form_count ++; +} + + +/* + * 'cgi_compare_variables()' - Compare two variables. + */ + +static int /* O - Result of comparison */ +cgi_compare_variables( + const _cgi_var_t *v1, /* I - First variable */ + const _cgi_var_t *v2) /* I - Second variable */ +{ + return (_cups_strcasecmp(v1->name, v2->name)); +} + + +/* + * 'cgi_find_variable()' - Find a variable. + */ + +static _cgi_var_t * /* O - Variable pointer or NULL */ +cgi_find_variable(const char *name) /* I - Name of variable */ +{ + _cgi_var_t key; /* Search key */ + + + if (form_count < 1 || name == NULL) + return (NULL); + + key.name = (char *)name; + + return ((_cgi_var_t *)bsearch(&key, form_vars, (size_t)form_count, sizeof(_cgi_var_t), + (int (*)(const void *, const void *))cgi_compare_variables)); +} + + +/* + * 'cgi_initialize_cookies()' - Initialize cookies. + */ + +static void +cgi_initialize_cookies(void) +{ + const char *cookie; /* HTTP_COOKIE environment variable */ + char name[128], /* Name string */ + value[512], /* Value string */ + *ptr; /* Pointer into name/value */ + + + if ((cookie = getenv("HTTP_COOKIE")) == NULL) + return; + + while (*cookie) + { + int skip = 0; /* Skip this cookie? */ + + /* + * Skip leading whitespace... + */ + + while (isspace(*cookie & 255)) + cookie ++; + if (!*cookie) + break; + + /* + * Copy the name... + */ + + for (ptr = name; *cookie && *cookie != '=';) + if (ptr < (name + sizeof(name) - 1)) + { + *ptr++ = *cookie++; + } + else + { + skip = 1; + cookie ++; + } + + if (*cookie != '=') + break; + + *ptr = '\0'; + cookie ++; + + /* + * Then the value... + */ + + if (*cookie == '\"') + { + for (cookie ++, ptr = value; *cookie && *cookie != '\"';) + if (ptr < (value + sizeof(value) - 1)) + { + *ptr++ = *cookie++; + } + else + { + skip = 1; + cookie ++; + } + + if (*cookie == '\"') + cookie ++; + else + skip = 1; + } + else + { + for (ptr = value; *cookie && *cookie != ';';) + if (ptr < (value + sizeof(value) - 1)) + { + *ptr++ = *cookie++; + } + else + { + skip = 1; + cookie ++; + } + } + + if (*cookie == ';') + cookie ++; + else if (*cookie) + skip = 1; + + *ptr = '\0'; + + /* + * Then add the cookie to an array as long as the name doesn't start with + * "$"... + */ + + if (name[0] != '$' && !skip) + num_cookies = cupsAddOption(name, value, num_cookies, &cookies); + } +} + + +/* + * 'cgi_initialize_get()' - Initialize form variables using the GET method. + */ + +static int /* O - 1 if form data read */ +cgi_initialize_get(void) +{ + char *data; /* Pointer to form data string */ + + + /* + * Check to see if there is anything for us to read... + */ + + data = getenv("QUERY_STRING"); + if (data == NULL || strlen(data) == 0) + return (0); + + /* + * Parse it out and return... + */ + + return (cgi_initialize_string(data)); +} + + +/* + * 'cgi_initialize_multipart()' - Initialize variables and file using the POST + * method. + * + * TODO: Update to support files > 2GB. + */ + +static int /* O - 1 if form data was read */ +cgi_initialize_multipart( + const char *boundary) /* I - Boundary string */ +{ + char line[10240], /* MIME header line */ + name[1024], /* Form variable name */ + filename[1024], /* Form filename */ + mimetype[1024], /* MIME media type */ + bstring[256], /* Boundary string to look for */ + *ptr, /* Pointer into name/filename */ + *end; /* End of buffer */ + int ch, /* Character from file */ + fd; /* Temporary file descriptor */ + size_t blen; /* Length of boundary string */ + + + /* + * Read multipart form data until we run out... + */ + + name[0] = '\0'; + filename[0] = '\0'; + mimetype[0] = '\0'; + + snprintf(bstring, sizeof(bstring), "\r\n--%s", boundary); + blen = strlen(bstring); + + while (fgets(line, sizeof(line), stdin)) + { + if (!strcmp(line, "\r\n")) + { + /* + * End of headers, grab value... + */ + + if (filename[0]) + { + /* + * Read an embedded file... + */ + + if (form_file) + { + /* + * Remove previous file... + */ + + cgi_unlink_file(); + } + + /* + * Allocate memory for the new file... + */ + + if ((form_file = calloc(1, sizeof(cgi_file_t))) == NULL) + return (0); + + form_file->name = strdup(name); + form_file->filename = strdup(filename); + form_file->mimetype = strdup(mimetype); + + fd = cupsTempFd(form_file->tempfile, sizeof(form_file->tempfile)); + + if (fd < 0) + return (0); + + atexit(cgi_unlink_file); + + /* + * Copy file data to the temp file... + */ + + ptr = line; + + while ((ch = getchar()) != EOF) + { + *ptr++ = (char)ch; + + if ((size_t)(ptr - line) >= blen && !memcmp(ptr - blen, bstring, blen)) + { + ptr -= blen; + break; + } + + if ((ptr - line - (int)blen) >= 8192) + { + /* + * Write out the first 8k of the buffer... + */ + + write(fd, line, 8192); + memmove(line, line + 8192, (size_t)(ptr - line - 8192)); + ptr -= 8192; + } + } + + /* + * Write the rest of the data and close the temp file... + */ + + if (ptr > line) + write(fd, line, (size_t)(ptr - line)); + + close(fd); + } + else + { + /* + * Just get a form variable; the current code only handles + * form values up to 10k in size... + */ + + ptr = line; + end = line + sizeof(line) - 1; + + while ((ch = getchar()) != EOF) + { + if (ptr < end) + *ptr++ = (char)ch; + + if ((size_t)(ptr - line) >= blen && !memcmp(ptr - blen, bstring, blen)) + { + ptr -= blen; + break; + } + } + + *ptr = '\0'; + + /* + * Set the form variable... + */ + + if ((ptr = strrchr(name, '-')) != NULL && isdigit(ptr[1] & 255)) + { + /* + * Set a specific index in the array... + */ + + *ptr++ = '\0'; + if (line[0]) + cgiSetArray(name, atoi(ptr) - 1, line); + } + else if ((ptr = cgiGetVariable(name)) != NULL) + { + /* + * Add another element in the array... + */ + + free(ptr); + cgiSetArray(name, cgiGetSize(name), line); + } + else + { + /* + * Just set the line... + */ + + cgiSetVariable(name, line); + } + } + + /* + * Read the rest of the current line... + */ + + fgets(line, sizeof(line), stdin); + + /* + * Clear the state vars... + */ + + name[0] = '\0'; + filename[0] = '\0'; + mimetype[0] = '\0'; + } + else if (!_cups_strncasecmp(line, "Content-Disposition:", 20)) + { + if ((ptr = strstr(line + 20, " name=\"")) != NULL) + { + strlcpy(name, ptr + 7, sizeof(name)); + + if ((ptr = strchr(name, '\"')) != NULL) + *ptr = '\0'; + } + + if ((ptr = strstr(line + 20, " filename=\"")) != NULL) + { + strlcpy(filename, ptr + 11, sizeof(filename)); + + if ((ptr = strchr(filename, '\"')) != NULL) + *ptr = '\0'; + } + } + else if (!_cups_strncasecmp(line, "Content-Type:", 13)) + { + for (ptr = line + 13; isspace(*ptr & 255); ptr ++); + + strlcpy(mimetype, ptr, sizeof(mimetype)); + + for (ptr = mimetype + strlen(mimetype) - 1; + ptr > mimetype && isspace(*ptr & 255); + *ptr-- = '\0'); + } + } + + /* + * Return 1 for "form data found"... + */ + + return (1); +} + + +/* + * 'cgi_initialize_post()' - Initialize variables using the POST method. + */ + +static int /* O - 1 if form data was read */ +cgi_initialize_post(void) +{ + char *content_length, /* Length of input data (string) */ + *data; /* Pointer to form data string */ + size_t length, /* Length of input data */ + tbytes; /* Total number of bytes read */ + ssize_t nbytes; /* Number of bytes read this read() */ + int status; /* Return status */ + + + /* + * Check to see if there is anything for us to read... + */ + + content_length = getenv("CONTENT_LENGTH"); + if (content_length == NULL || atoi(content_length) <= 0) + return (0); + + /* + * Get the length of the input stream and allocate a buffer for it... + */ + + length = (size_t)strtol(content_length, NULL, 10); + data = malloc(length + 1); // lgtm [cpp/uncontrolled-allocation-size] + + if (data == NULL) + return (0); + + /* + * Read the data into the buffer... + */ + + for (tbytes = 0; tbytes < length; tbytes += (size_t)nbytes) + if ((nbytes = read(0, data + tbytes, (size_t)(length - tbytes))) < 0) + { + if (errno != EAGAIN) + { + free(data); + return (0); + } + else + nbytes = 0; + } + else if (nbytes == 0) + { + /* + * CUPS STR #3176: OpenBSD: Early end-of-file on POST data causes 100% CPU + * + * This should never happen, but does on OpenBSD. If we see early end-of- + * file, treat this as an error and process no data. + */ + + free(data); + return (0); + } + + data[length] = '\0'; + + /* + * Parse it out... + */ + + status = cgi_initialize_string(data); + + /* + * Free the data and return... + */ + + free(data); + + return (status); +} + + +/* + * 'cgi_initialize_string()' - Initialize form variables from a string. + */ + +static int /* O - 1 if form data was processed */ +cgi_initialize_string(const char *data) /* I - Form data string */ +{ + int done; /* True if we're done reading a form variable */ + char *s, /* Pointer to current form string */ + ch, /* Temporary character */ + name[255], /* Name of form variable */ + value[65536], /* Variable value */ + *temp; /* Temporary pointer */ + + + /* + * Check input... + */ + + if (data == NULL) + return (0); + + /* + * Loop until we've read all the form data... + */ + + while (*data != '\0') + { + /* + * Get the variable name... + */ + + for (s = name; *data != '\0'; data ++) + if (*data == '=') + break; + else if (*data >= ' ' && s < (name + sizeof(name) - 1)) + *s++ = *data; + + *s = '\0'; + if (*data == '=') + data ++; + else + return (0); + + /* + * Read the variable value... + */ + + for (s = value, done = 0; !done && *data != '\0'; data ++) + switch (*data) + { + case '&' : /* End of data... */ + done = 1; + break; + + case '+' : /* Escaped space character */ + if (s < (value + sizeof(value) - 1)) + *s++ = ' '; + break; + + case '%' : /* Escaped control character */ + /* + * Read the hex code... + */ + + if (!isxdigit(data[1] & 255) || !isxdigit(data[2] & 255)) + return (0); + + if (s < (value + sizeof(value) - 1)) + { + data ++; + ch = *data - '0'; + if (ch > 9) + ch -= 7; + *s = (char)(ch << 4); + + data ++; + ch = *data - '0'; + if (ch > 9) + ch -= 7; + *s++ |= ch; + } + else + data += 2; + break; + + default : /* Other characters come straight through */ + if (*data >= ' ' && s < (value + sizeof(value) - 1)) + *s++ = *data; + break; + } + + *s = '\0'; /* nul terminate the string */ + + /* + * Remove trailing whitespace... + */ + + if (s > value) + s --; + + while (s >= value && isspace(*s & 255)) + *s-- = '\0'; + + /* + * Add the string to the variable "database"... + */ + + if ((s = strrchr(name, '-')) != NULL && isdigit(s[1] & 255)) + { + *s++ = '\0'; + if (value[0]) + cgiSetArray(name, atoi(s) - 1, value); + } + else if ((temp = cgiGetVariable(name)) != NULL) + { + free(temp); + cgiSetArray(name, cgiGetSize(name), value); + } + else + cgiSetVariable(name, value); + } + + return (1); +} + + +/* + * 'cgi_passwd()' - Catch authentication requests and notify the server. + * + * This function sends a Status header and exits, forcing authentication + * for this request. + */ + +static const char * /* O - NULL (no return) */ +cgi_passwd(const char *prompt) /* I - Prompt (not used) */ +{ + (void)prompt; + + fprintf(stderr, "DEBUG: cgi_passwd(prompt=\"%s\") called!\n", + prompt ? prompt : "(null)"); + + /* + * Send a 401 (unauthorized) status to the server, so it can notify + * the client that authentication is required. + */ + + puts("Status: 401\n"); + exit(0); + + /* + * This code is never executed, but is present to satisfy the compiler. + */ + + return (NULL); +} + + +/* + * 'cgi_set_sid()' - Set the CUPS session ID. + */ + +static const char * /* O - New session ID */ +cgi_set_sid(void) +{ + char buffer[512], /* SID data */ + sid[33]; /* SID string */ + unsigned char sum[16]; /* MD5 sum */ + const char *remote_addr, /* REMOTE_ADDR */ + *server_name, /* SERVER_NAME */ + *server_port; /* SERVER_PORT */ + struct timeval curtime; /* Current time */ + + + if ((remote_addr = getenv("REMOTE_ADDR")) == NULL) + remote_addr = "REMOTE_ADDR"; + if ((server_name = getenv("SERVER_NAME")) == NULL) + server_name = "SERVER_NAME"; + if ((server_port = getenv("SERVER_PORT")) == NULL) + server_port = "SERVER_PORT"; + + gettimeofday(&curtime, NULL); + CUPS_SRAND(curtime.tv_sec + curtime.tv_usec); + snprintf(buffer, sizeof(buffer), "%s:%s:%s:%02X%02X%02X%02X%02X%02X%02X%02X", + remote_addr, server_name, server_port, + (unsigned)CUPS_RAND() & 255, (unsigned)CUPS_RAND() & 255, + (unsigned)CUPS_RAND() & 255, (unsigned)CUPS_RAND() & 255, + (unsigned)CUPS_RAND() & 255, (unsigned)CUPS_RAND() & 255, + (unsigned)CUPS_RAND() & 255, (unsigned)CUPS_RAND() & 255); + cupsHashData("md5", (unsigned char *)buffer, strlen(buffer), sum, sizeof(sum)); + + cgiSetCookie(CUPS_SID, cupsHashString(sum, sizeof(sum), sid, sizeof(sid)), "/", NULL, 0, 0); + + return (cupsGetOption(CUPS_SID, num_cookies, cookies)); +} + + +/* + * 'cgi_sort_variables()' - Sort all form variables for faster lookup. + */ + +static void +cgi_sort_variables(void) +{ + if (form_count < 2) + return; + + qsort(form_vars, (size_t)form_count, sizeof(_cgi_var_t), + (int (*)(const void *, const void *))cgi_compare_variables); +} + + +/* + * 'cgi_unlink_file()' - Remove the uploaded form. + */ + +static void +cgi_unlink_file(void) +{ + if (form_file) + { + /* + * Remove the temporary file... + */ + + unlink(form_file->tempfile); + + /* + * Free memory used... + */ + + free(form_file->name); + free(form_file->filename); + free(form_file->mimetype); + free(form_file); + + form_file = NULL; + } +} diff --git a/conf/Makefile b/conf/Makefile new file mode 100644 index 0000000..e249e60 --- /dev/null +++ b/conf/Makefile @@ -0,0 +1,132 @@ +# +# Configuration file makefile for CUPS. +# +# Copyright 2007-2015 by Apple Inc. +# Copyright 1993-2006 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more information. +# + +include ../Makedefs + +# +# Config files... +# + +KEEP = cups-files.conf cupsd.conf snmp.conf +REPLACE = mime.convs mime.types + + +# +# Make everything... +# + +all: + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Clean all config and object files... +# + +clean: + + +# +# Dummy depend... +# + +depend: + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + for file in $(KEEP); do \ + if test -r $(SERVERROOT)/$$file ; then \ + $(INSTALL_CONFIG) -g $(CUPS_GROUP) $$file $(SERVERROOT)/$$file.N ; \ + else \ + $(INSTALL_CONFIG) -g $(CUPS_GROUP) $$file $(SERVERROOT) ; \ + fi ; \ + $(INSTALL_CONFIG) -g $(CUPS_GROUP) $$file $(SERVERROOT)/$$file.default; \ + done + $(INSTALL_DIR) -m 755 $(DATADIR)/mime + for file in $(REPLACE); do \ + if test -r $(DATADIR)/mime/$$file ; then \ + $(MV) $(DATADIR)/mime/$$file $(DATADIR)/mime/$$file.O ; \ + fi ; \ + if test -r $(SERVERROOT)/$$file ; then \ + $(MV) $(SERVERROOT)/$$file $(DATADIR)/mime/$$file.O ; \ + fi ; \ + $(INSTALL_DATA) $$file $(DATADIR)/mime ; \ + done + -if test x$(PAMDIR) != x; then \ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(PAMDIR); \ + if test -r $(BUILDROOT)$(PAMDIR)/cups ; then \ + $(INSTALL_DATA) $(PAMFILE) $(BUILDROOT)$(PAMDIR)/cups.N ; \ + else \ + $(INSTALL_DATA) $(PAMFILE) $(BUILDROOT)$(PAMDIR)/cups ; \ + fi ; \ + fi + + +# +# Install programs... +# + +install-exec: + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall files... +# + +uninstall: + for file in $(KEEP) $(REPLACE) cupsd.conf.default; do \ + $(RM) $(SERVERROOT)/$$file; \ + done + -$(RMDIR) $(SERVERROOT) + for file in $(REPLACE); do \ + $(RM) $(DATADIR)/mime/$$file; \ + done + -$(RMDIR) $(DATADIR)/mime + -if test x$(PAMDIR) != x; then \ + $(RM) $(BUILDROOT)$(PAMDIR)/cups; \ + $(RMDIR) $(BUILDROOT)$(PAMDIR); \ + fi diff --git a/conf/cups-files.conf.in b/conf/cups-files.conf.in new file mode 100644 index 0000000..4a78ba6 --- /dev/null +++ b/conf/cups-files.conf.in @@ -0,0 +1,93 @@ +# +# File/directory/user/group configuration file for the CUPS scheduler. +# See "man cups-files.conf" for a complete description of this file. +# + +# List of events that are considered fatal errors for the scheduler... +#FatalErrors @CUPS_FATAL_ERRORS@ + +# Do we call fsync() after writing configuration or status files? +#SyncOnClose No + +# Default user and group for filters/backends/helper programs; this cannot be +# any user or group that resolves to ID 0 for security reasons... +#User @CUPS_USER@ +#Group @CUPS_GROUP@ + +# Administrator user group, used to match @SYSTEM in cupsd.conf policy rules... +# This cannot contain the Group value for security reasons... +SystemGroup @CUPS_SYSTEM_GROUPS@ +@CUPS_SYSTEM_AUTHKEY@ + +# User that is substituted for unauthenticated (remote) root accesses... +#RemoteRoot remroot + +# Do we allow file: device URIs other than to /dev/null? +#FileDevice No + +# Permissions for configuration and log files... +#ConfigFilePerm 0@CUPS_CONFIG_FILE_PERM@ +#LogFilePerm 0@CUPS_LOG_FILE_PERM@ + +# Location of the file logging all access to the scheduler; may be the name +# "syslog". If not an absolute path, the value of ServerRoot is used as the +# root directory. Also see the "AccessLogLevel" directive in cupsd.conf. +AccessLog @CUPS_LOGDIR@/access_log + +# Location of cache files used by the scheduler... +#CacheDir @CUPS_CACHEDIR@ + +# Location of data files used by the scheduler... +#DataDir @CUPS_DATADIR@ + +# Location of the static web content served by the scheduler... +#DocumentRoot @CUPS_DOCROOT@ + +# Location of the file logging all messages produced by the scheduler and any +# helper programs; may be the name "syslog". If not an absolute path, the value +# of ServerRoot is used as the root directory. Also see the "LogLevel" +# directive in cupsd.conf. +ErrorLog @CUPS_LOGDIR@/error_log + +# Location of fonts used by older print filters... +#FontPath @CUPS_FONTPATH@ + +# Location of LPD configuration +#LPDConfigFile @CUPS_DEFAULT_LPD_CONFIG_FILE@ + +# Location of the file logging all pages printed by the scheduler and any +# helper programs; may be the name "syslog". If not an absolute path, the value +# of ServerRoot is used as the root directory. Also see the "PageLogFormat" +# directive in cupsd.conf. +PageLog @CUPS_LOGDIR@/page_log + +# Location of the file listing all of the local printers... +#Printcap @CUPS_DEFAULT_PRINTCAP@ + +# Format of the Printcap file... +#PrintcapFormat bsd +#PrintcapFormat plist +#PrintcapFormat solaris + +# Location of all spool files... +#RequestRoot @CUPS_REQUESTS@ + +# Location of helper programs... +#ServerBin @CUPS_SERVERBIN@ + +# SSL/TLS keychain for the scheduler... +#ServerKeychain @CUPS_SERVERKEYCHAIN@ + +# Location of other configuration files... +#ServerRoot @CUPS_SERVERROOT@ + +# Location of Samba configuration file... +#SMBConfigFile @CUPS_DEFAULT_SMB_CONFIG_FILE@ + +# Location of scheduler state files... +#StateDir @CUPS_STATEDIR@ + +# Location of scheduler/helper temporary files. This directory is emptied on +# scheduler startup and cannot be one of the standard (public) temporary +# directory locations for security reasons... +#TempDir @CUPS_REQUESTS@/tmp diff --git a/conf/cupsd.conf.in b/conf/cupsd.conf.in new file mode 100644 index 0000000..ab37ca6 --- /dev/null +++ b/conf/cupsd.conf.in @@ -0,0 +1,182 @@ +# +# Configuration file for the CUPS scheduler. See "man cupsd.conf" for a +# complete description of this file. +# + +# Log general information in error_log - change "@CUPS_LOG_LEVEL@" to "debug" +# for troubleshooting... +LogLevel @CUPS_LOG_LEVEL@ +@CUPS_PAGE_LOG_FORMAT@ + +# Only listen for connections from the local machine. +Listen localhost:@DEFAULT_IPP_PORT@ +@CUPS_LISTEN_DOMAINSOCKET@ + +# Show shared printers on the local network. +Browsing On +BrowseLocalProtocols @CUPS_BROWSE_LOCAL_PROTOCOLS@ + +# Default authentication type, when authentication is required... +DefaultAuthType Basic + +# Web interface setting... +WebInterface @CUPS_WEBIF@ + +# Restrict access to the server... + + Order allow,deny + + +# Restrict access to the admin pages... + + Order allow,deny + + +# Restrict access to configuration files... + + AuthType Default + Require user @SYSTEM + Order allow,deny + + +# Restrict access to log files... + + AuthType Default + Require user @SYSTEM + Order allow,deny + + +# Set the default printer/job policies... + + # Job/subscription privacy... + JobPrivateAccess default + JobPrivateValues default + SubscriptionPrivateAccess default + SubscriptionPrivateValues default + + # Job-related operations must be done by the owner or an administrator... + + Order deny,allow + + + + Require user @OWNER @SYSTEM + Order deny,allow + + + # All administration operations require an administrator to authenticate... + + AuthType Default + Require user @SYSTEM + Order deny,allow + + + # All printer operations require a printer operator to authenticate... + + AuthType Default + Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ + Order deny,allow + + + # Only the owner or an administrator can cancel or authenticate a job... + + Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ + Order deny,allow + + + + Order deny,allow + + + +# Set the authenticated printer/job policies... + + # Job/subscription privacy... + JobPrivateAccess default + JobPrivateValues default + SubscriptionPrivateAccess default + SubscriptionPrivateValues default + + # Job-related operations must be done by the owner or an administrator... + + AuthType Default + Order deny,allow + + + + AuthType Default + Require user @OWNER @SYSTEM + Order deny,allow + + + # All administration operations require an administrator to authenticate... + + AuthType Default + Require user @SYSTEM + Order deny,allow + + + # All printer operations require a printer operator to authenticate... + + AuthType Default + Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ + Order deny,allow + + + # Only the owner or an administrator can cancel or authenticate a job... + + AuthType Default + Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ + Order deny,allow + + + + Order deny,allow + + + +# Set the kerberized printer/job policies... + + # Job/subscription privacy... + JobPrivateAccess default + JobPrivateValues default + SubscriptionPrivateAccess default + SubscriptionPrivateValues default + + # Job-related operations must be done by the owner or an administrator... + + AuthType Negotiate + Order deny,allow + + + + AuthType Negotiate + Require user @OWNER @SYSTEM + Order deny,allow + + + # All administration operations require an administrator to authenticate... + + AuthType Default + Require user @SYSTEM + Order deny,allow + + + # All printer operations require a printer operator to authenticate... + + AuthType Default + Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ + Order deny,allow + + + # Only the owner or an administrator can cancel or authenticate a job... + + AuthType Negotiate + Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ + Order deny,allow + + + + Order deny,allow + + diff --git a/conf/mime.convs.in b/conf/mime.convs.in new file mode 100644 index 0000000..57b459d --- /dev/null +++ b/conf/mime.convs.in @@ -0,0 +1,55 @@ +# +# DO NOT EDIT THIS FILE, AS IT IS OVERWRITTEN WHEN YOU INSTALL NEW +# VERSIONS OF CUPS. Instead, create a "local.convs" file that +# reflects your local configuration changes. +# +# Base MIME conversions file for CUPS. +# +# Copyright © 2007-2016 by Apple Inc. +# Copyright © 1997-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +######################################################################## +# +# Format of Lines: +# +# source/type destination/type cost filter +# +# General Notes: +# +# The "cost" field is used to find the least costly filters to run +# when converting a job file to a printable format. +# +# All filters *must* accept the standard command-line arguments +# (job-id, user, title, copies, options, [filename or stdin]) to +# work with CUPS. +# + +######################################################################## +# +# PostScript filters +# + +application/postscript application/vnd.cups-postscript 66 pstops + +######################################################################## +# +# Raster filters... +# + +# PWG Raster filter for IPP Everywhere... +application/vnd.cups-raster image/pwg-raster 100 rastertopwg +application/vnd.cups-raster image/urf 100 rastertopwg + +######################################################################## +# +# Raw filter... +# +# Uncomment the following filter to allow printing of arbitrary files +# without the -oraw option. +# + +@DEFAULT_RAW_PRINTING@application/octet-stream application/vnd.cups-raw 0 - diff --git a/conf/mime.types b/conf/mime.types new file mode 100644 index 0000000..fcd6b6e --- /dev/null +++ b/conf/mime.types @@ -0,0 +1,168 @@ +# +# Base MIME types file for CUPS. +# +# DO NOT EDIT THIS FILE, AS IT IS OVERWRITTEN WHEN YOU INSTALL NEW +# VERSIONS OF CUPS. Instead, create a "local.types" file that +# reflects your local configuration changes. +# +# Copyright © 2007-2017 by Apple Inc. +# Copyright © 1997-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +######################################################################## +# +# Format of Lines: +# +# super/type rules +# +# "rules" can be any combination of: +# +# ( expr ) Parenthesis for expression grouping +# + Logical AND +# , or whitespace Logical OR +# ! Logical NOT +# match("pattern") Pattern match on filename +# extension Pattern match on "*.extension" +# ascii(offset,length) True if bytes are valid printable ASCII +# (CR, NL, TAB, BS, 32-126) +# priority(number) Sets priority of type (0=lowest, +# 100=default, 200=highest) +# printable(offset,length) True if bytes are printable 8-bit chars +# (CR, NL, TAB, BS, 32-126, 128-254) +# regex(offset,"regex") True if bytes match regular expression +# string(offset,"string") True if bytes are identical to string +# istring(offset,"string") True if bytes are identical to +# case-insensitive string +# char(offset,value) True if byte is identical +# short(offset,value) True if 16-bit integer is identical +# int(offset,value) True if 32-bit integer is identical +# locale("string") True if current locale matches string +# contains(offset,range,"string") True if the range contains the string +# +# General Notes: +# +# MIME type names are case-insensitive. Internally they are converted +# to lowercase. Multiple occurrences of a type will cause the provided +# rules to be appended to the existing definition. If two types use the same +# rules to resolve a type and have the same priority, e.g. "doc" extension for +# "text/bar" and "text/foo", the returned type will be the first type as +# sorted in alphanumerically ascending order without regard to case. Thus, +# the "text/bar" type will match the "doc" extension first unless the +# "text/foo" type has specified a higher priority. +# +# The "printable" rule differs from the "ascii" rule in that it also +# accepts 8-bit characters in the range 128-255. +# +# String constants must be surrounded by "" if they contain whitespace. +# To insert binary data into a string, use the notation. +# + +######################################################################## +# +# Application-generated files... +# + +#application/msword doc string(0,) +application/pdf pdf regex(0,^[\n\r]*%PDF) +application/postscript ai eps ps string(0,%!) string(0,<04>%!) \ + contains(0,128,<1B>%-12345X) + \ + (contains(0,4096,"LANGUAGE=POSTSCRIPT") \ + contains(0,4096,"LANGUAGE = Postscript") \ + contains(0,4096,"LANGUAGE = PostScript") \ + contains(0,4096,"LANGUAGE = POSTSCRIPT") \ + (contains(0,4096,<0a>%!) + \ + !contains(0,4096,"ENTER LANGUAGE"))) + + +######################################################################## +# +# Image files... +# + +image/gif gif string(0,GIF87a) string(0,GIF89a) +image/png png string(0,<89>PNG) +image/jpeg jpeg jpg jpe string(0,) +\ + (char(3,0xe0) char(3,0xe1) char(3,0xe2) char(3,0xe3)\ + char(3,0xe4) char(3,0xe5) char(3,0xe6) char(3,0xe7)\ + char(3,0xe8) char(3,0xe9) char(3,0xea) char(3,0xeb)\ + char(3,0xec) char(3,0xed) char(3,0xee) char(3,0xef)) +image/pwg-raster string(0,"RaS2") + string(4,PwgRaster<00>) priority(150) +image/tiff tiff tif string(0,MM<002A>) string(0,II<2A00>) +image/x-photocd pcd string(2048,PCD_IPI) +image/x-portable-anymap pnm +image/x-portable-bitmap pbm string(0,P1) string(0,P4) +image/x-portable-graymap pgm string(0,P2) string(0,P5) +image/x-portable-pixmap ppm string(0,P3) string(0,P6) +image/x-sgi-rgb rgb sgi bw icon short(0,474) +image/x-xbitmap xbm +image/x-xpixmap xpm ascii(0,1024) + string(3,"XPM") +#image/x-xwindowdump xwd string(4,<00000007>) +image/x-sun-raster ras string(0,<59a66a95>) + +#image/fpx fpx +image/urf urf string(0,UNIRAST<00>) +image/x-alias pix short(8,8) short(8,24) +image/x-bitmap bmp string(0,BM) + !printable(2,14) +image/x-icon ico + +######################################################################## +# +# Text files... +# + +application/x-cshell csh printable(0,1024) + string(0,#!) +\ + (contains(2,80,/csh) contains(2,80,/tcsh)) +application/x-perl pl printable(0,1024) + string(0,#!) +\ + contains(2,80,/perl) +application/x-shell sh printable(0,1024) + string(0,#!) +\ + (contains(2,80,/bash) contains(2,80,/ksh)\ + contains(2,80,/sh) contains(2,80,/zsh)) +application/x-csource c cxx cpp cc C h hpp \ + printable(0,1024) + ! css + \ + (string(0,/*) string(0,//) \ + string(0,#include) contains(0,1024,<0a>#include) \ + string(0,#define) contains(0,1024,<0a>#define)) +text/html html htm printable(0,1024) +\ + (istring(0,"") istring(0,")) string(0,"2SaR") \ + string(0,"RaS3") string(0,"3SaR") +application/vnd.cups-raw (string(0,<1B>E) + !string(2,<1B>%0B)) \ + string(0,<1B>@) \ + (contains(0,128,<1B>%-12345X) + \ + (contains(0,4096,"LANGUAGE=PCL") \ + contains(0,4096,"LANGUAGE = PCL"))) + +######################################################################## +# +# Raw print file support... +# +# Comment the following type to prevent raw file printing. +# + +application/octet-stream diff --git a/conf/pam.common b/conf/pam.common new file mode 100644 index 0000000..e2c7a99 --- /dev/null +++ b/conf/pam.common @@ -0,0 +1,3 @@ +@include common-auth +@include common-account +@include common-session diff --git a/conf/pam.opendirectory b/conf/pam.opendirectory new file mode 100644 index 0000000..b336306 --- /dev/null +++ b/conf/pam.opendirectory @@ -0,0 +1,5 @@ +# cups: auth account password session +auth required pam_opendirectory.so +account required pam_permit.so +password required pam_deny.so +session required pam_permit.so diff --git a/conf/pam.securityserver b/conf/pam.securityserver new file mode 100644 index 0000000..ff724da --- /dev/null +++ b/conf/pam.securityserver @@ -0,0 +1,7 @@ +# cups: auth account password session +auth sufficient pam_securityserver.so +auth sufficient pam_unix.so +auth required pam_deny.so +account required pam_permit.so +password required pam_deny.so +session required pam_permit.so diff --git a/conf/pam.std.in b/conf/pam.std.in new file mode 100644 index 0000000..68fb50a --- /dev/null +++ b/conf/pam.std.in @@ -0,0 +1,2 @@ +auth required @PAMMODAUTH@ +account required @PAMMOD@ diff --git a/conf/snmp.conf.in b/conf/snmp.conf.in new file mode 100644 index 0000000..23a5bab --- /dev/null +++ b/conf/snmp.conf.in @@ -0,0 +1,7 @@ +# +# SNMP configuration file for CUPS. See "man cups-snmp.conf" for a complete +# description of this file. +# + +@CUPS_SNMP_ADDRESS@ +@CUPS_SNMP_COMMUNITY@ diff --git a/config-scripts/cups-common.m4 b/config-scripts/cups-common.m4 new file mode 100644 index 0000000..a460a73 --- /dev/null +++ b/config-scripts/cups-common.m4 @@ -0,0 +1,476 @@ +dnl +dnl Common configuration stuff for CUPS. +dnl +dnl Copyright © 2007-2019 by Apple Inc. +dnl Copyright © 1997-2007 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more +dnl information. +dnl + +dnl Set the name of the config header file... +AC_CONFIG_HEADER(config.h) + +dnl Version number information... +CUPS_VERSION="AC_PACKAGE_VERSION" +CUPS_REVISION="" +CUPS_BUILD="cups-$CUPS_VERSION" + +AC_ARG_WITH(cups_build, [ --with-cups-build set "cups-config --build" string ], + CUPS_BUILD="$withval") + +AC_SUBST(CUPS_VERSION) +AC_SUBST(CUPS_REVISION) +AC_SUBST(CUPS_BUILD) +AC_DEFINE_UNQUOTED(CUPS_SVERSION, "AC_PACKAGE_NAME v$CUPS_VERSION$CUPS_REVISION") +AC_DEFINE_UNQUOTED(CUPS_MINIMAL, "AC_PACKAGE_NAME/$CUPS_VERSION$CUPS_REVISION") + +dnl Default compiler flags... +CFLAGS="${CFLAGS:=}" +CPPFLAGS="${CPPFLAGS:=}" +CXXFLAGS="${CXXFLAGS:=}" +LDFLAGS="${LDFLAGS:=}" + +dnl Checks for programs... +AC_PROG_AWK +AC_PROG_CC(clang cc gcc) +AC_PROG_CPP +AC_PROG_CXX(clang++ c++ g++) +AC_PROG_RANLIB +AC_PATH_PROG(AR,ar) +AC_PATH_PROG(CHMOD,chmod) +AC_PATH_PROG(GZIPPROG,gzip) +AC_MSG_CHECKING(for install-sh script) +INSTALL="`pwd`/install-sh" +AC_SUBST(INSTALL) +AC_MSG_RESULT(using $INSTALL) +AC_PATH_PROG(LD,ld) +AC_PATH_PROG(LN,ln) +AC_PATH_PROG(MKDIR,mkdir) +AC_PATH_PROG(MV,mv) +AC_PATH_PROG(RM,rm) +AC_PATH_PROG(RMDIR,rmdir) +AC_PATH_PROG(SED,sed) +AC_PATH_PROG(XDGOPEN,xdg-open) + +if test "x$XDGOPEN" = x; then + CUPS_HTMLVIEW="htmlview" +else + CUPS_HTMLVIEW="$XDGOPEN" +fi +AC_SUBST(CUPS_HTMLVIEW) + +if test "x$AR" = x; then + AC_MSG_ERROR([Unable to find required library archive command.]) +fi +if test "x$CC" = x; then + AC_MSG_ERROR([Unable to find required C compiler command.]) +fi + +dnl Static library option... +INSTALLSTATIC="" +AC_ARG_ENABLE(static, [ --enable-static install static libraries]) + +if test x$enable_static = xyes; then + echo Installing static libraries... + INSTALLSTATIC="installstatic" +fi + +AC_SUBST(INSTALLSTATIC) + +dnl Check for pkg-config, which is used for some other tests later on... +AC_PATH_TOOL(PKGCONFIG, pkg-config) + +dnl Check for libraries... +AC_SEARCH_LIBS(abs, m, AC_DEFINE(HAVE_ABS)) +AC_SEARCH_LIBS(crypt, crypt) +AC_SEARCH_LIBS(fmod, m) +AC_SEARCH_LIBS(getspent, sec gen) + +LIBMALLOC="" +AC_ARG_ENABLE(mallinfo, [ --enable-mallinfo build with malloc debug logging]) + +if test x$enable_mallinfo = xyes; then + SAVELIBS="$LIBS" + LIBS="" + AC_SEARCH_LIBS(mallinfo, malloc, AC_DEFINE(HAVE_MALLINFO)) + LIBMALLOC="$LIBS" + LIBS="$SAVELIBS" +fi + +AC_SUBST(LIBMALLOC) + +dnl Check for libpaper support... +AC_ARG_ENABLE(libpaper, [ --enable-libpaper build with libpaper support]) + +if test x$enable_libpaper = xyes; then + AC_CHECK_LIB(paper,systempapername, + AC_DEFINE(HAVE_LIBPAPER) + LIBPAPER="-lpaper", + LIBPAPER="") +else + LIBPAPER="" +fi +AC_SUBST(LIBPAPER) + +dnl Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADER(stdlib.h,AC_DEFINE(HAVE_STDLIB_H)) +AC_CHECK_HEADER(crypt.h,AC_DEFINE(HAVE_CRYPT_H)) +AC_CHECK_HEADER(langinfo.h,AC_DEFINE(HAVE_LANGINFO_H)) +AC_CHECK_HEADER(malloc.h,AC_DEFINE(HAVE_MALLOC_H)) +AC_CHECK_HEADER(shadow.h,AC_DEFINE(HAVE_SHADOW_H)) +AC_CHECK_HEADER(stdint.h,AC_DEFINE(HAVE_STDINT_H)) +AC_CHECK_HEADER(string.h,AC_DEFINE(HAVE_STRING_H)) +AC_CHECK_HEADER(strings.h,AC_DEFINE(HAVE_STRINGS_H)) +AC_CHECK_HEADER(bstring.h,AC_DEFINE(HAVE_BSTRING_H)) +AC_CHECK_HEADER(sys/ioctl.h,AC_DEFINE(HAVE_SYS_IOCTL_H)) +AC_CHECK_HEADER(sys/param.h,AC_DEFINE(HAVE_SYS_PARAM_H)) +AC_CHECK_HEADER(sys/ucred.h,AC_DEFINE(HAVE_SYS_UCRED_H)) + +dnl Checks for iconv.h and iconv_open +AC_CHECK_HEADER(iconv.h, + SAVELIBS="$LIBS" + LIBS="" + AC_SEARCH_LIBS(iconv_open,iconv, + AC_DEFINE(HAVE_ICONV_H) + SAVELIBS="$SAVELIBS $LIBS") + AC_SEARCH_LIBS(libiconv_open,iconv, + AC_DEFINE(HAVE_ICONV_H) + SAVELIBS="$SAVELIBS $LIBS") + LIBS="$SAVELIBS") + +dnl Checks for statfs and its many headers... +AC_CHECK_HEADER(sys/mount.h,AC_DEFINE(HAVE_SYS_MOUNT_H)) +AC_CHECK_HEADER(sys/statfs.h,AC_DEFINE(HAVE_SYS_STATFS_H)) +AC_CHECK_HEADER(sys/statvfs.h,AC_DEFINE(HAVE_SYS_STATVFS_H)) +AC_CHECK_HEADER(sys/vfs.h,AC_DEFINE(HAVE_SYS_VFS_H)) +AC_CHECK_FUNCS(statfs statvfs) + +dnl Checks for string functions. +AC_CHECK_FUNCS(strdup strlcat strlcpy) +if test "$host_os_name" = "hp-ux" -a "$host_os_version" = "1020"; then + echo Forcing snprintf emulation for HP-UX. +else + AC_CHECK_FUNCS(snprintf vsnprintf) +fi + +dnl Check for random number functions... +AC_CHECK_FUNCS(random lrand48 arc4random) + +dnl Check for geteuid function. +AC_CHECK_FUNCS(geteuid) + +dnl Check for setpgid function. +AC_CHECK_FUNCS(setpgid) + +dnl Check for vsyslog function. +AC_CHECK_FUNCS(vsyslog) + +dnl Checks for signal functions. +case "$host_os_name" in + linux* | gnu*) + # Do not use sigset on Linux or GNU HURD + ;; + *) + # Use sigset on other platforms, if available + AC_CHECK_FUNCS(sigset) + ;; +esac + +AC_CHECK_FUNCS(sigaction) + +dnl Checks for wait functions. +AC_CHECK_FUNCS(waitpid wait3) + +dnl Check for posix_spawn +AC_CHECK_FUNCS(posix_spawn) + +dnl Check for getgrouplist +AC_CHECK_FUNCS(getgrouplist) + +dnl See if the tm structure has the tm_gmtoff member... +AC_MSG_CHECKING(for tm_gmtoff member in tm structure) +AC_TRY_COMPILE([#include ],[struct tm t; + int o = t.tm_gmtoff;], + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_TM_GMTOFF), + AC_MSG_RESULT(no)) + +dnl See if the stat structure has the st_gen member... +AC_MSG_CHECKING(for st_gen member in stat structure) +AC_TRY_COMPILE([#include ],[struct stat t; + int o = t.st_gen;], + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_ST_GEN), + AC_MSG_RESULT(no)) + +dnl See if we have the removefile(3) function for securely removing files +AC_CHECK_FUNCS(removefile) + +dnl See if we have libusb... +AC_ARG_ENABLE(libusb, [ --enable-libusb use libusb for USB printing]) + +LIBUSB="" +USBQUIRKS="" +AC_SUBST(LIBUSB) +AC_SUBST(USBQUIRKS) + +if test "x$PKGCONFIG" != x; then + if test x$enable_libusb != xno -a $host_os_name != darwin; then + AC_MSG_CHECKING(for libusb-1.0) + if $PKGCONFIG --exists libusb-1.0; then + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_LIBUSB) + CFLAGS="$CFLAGS `$PKGCONFIG --cflags libusb-1.0`" + LIBUSB="`$PKGCONFIG --libs libusb-1.0`" + USBQUIRKS="\$(DATADIR)/usb" + else + AC_MSG_RESULT(no) + if test x$enable_libusb = xyes; then + AC_MSG_ERROR(libusb required for --enable-libusb.) + fi + fi + fi +elif test x$enable_libusb = xyes; then + AC_MSG_ERROR(Need pkg-config to enable libusb support.) +fi + +dnl See if we have libwrap for TCP wrappers support... +AC_ARG_ENABLE(tcp_wrappers, [ --enable-tcp-wrappers use libwrap for TCP wrappers support]) + +LIBWRAP="" +AC_SUBST(LIBWRAP) + +if test x$enable_tcp_wrappers = xyes; then + AC_CHECK_LIB(wrap, hosts_access,[ + AC_CHECK_HEADER(tcpd.h, + AC_DEFINE(HAVE_TCPD_H) + LIBWRAP="-lwrap")]) +fi + +dnl ZLIB +INSTALL_GZIP="" +LIBZ="" +AC_CHECK_HEADER(zlib.h, + AC_CHECK_LIB(z, gzgets,[ + AC_DEFINE(HAVE_LIBZ) + LIBZ="-lz" + LIBS="$LIBS -lz" + AC_CHECK_LIB(z, inflateCopy, AC_DEFINE(HAVE_INFLATECOPY)) + if test "x$GZIPPROG" != x; then + INSTALL_GZIP="-z" + fi])) +AC_SUBST(INSTALL_GZIP) +AC_SUBST(LIBZ) + +dnl Flags for "ar" command... +case $host_os_name in + darwin* | *bsd*) + ARFLAGS="-rcv" + ;; + *) + ARFLAGS="crvs" + ;; +esac + +AC_SUBST(ARFLAGS) + +dnl Prep libraries specifically for cupsd and backends... +BACKLIBS="" +SERVERLIBS="" +AC_SUBST(BACKLIBS) +AC_SUBST(SERVERLIBS) + +dnl See if we have POSIX ACL support... +SAVELIBS="$LIBS" +LIBS="" +AC_ARG_ENABLE(acl, [ --enable-acl build with POSIX ACL support]) +if test "x$enable_acl" != xno; then + AC_SEARCH_LIBS(acl_init, acl, AC_DEFINE(HAVE_ACL_INIT)) + SERVERLIBS="$SERVERLIBS $LIBS" +fi +LIBS="$SAVELIBS" + +dnl Check for DBUS support +DBUSDIR="" +DBUS_NOTIFIER="" +DBUS_NOTIFIERLIBS="" + +AC_ARG_ENABLE(dbus, [ --disable-dbus build without DBUS support]) +AC_ARG_WITH(dbusdir, [ --with-dbusdir set DBUS configuration directory ], + DBUSDIR="$withval") + +if test "x$enable_dbus" != xno -a "x$PKGCONFIG" != x -a "x$host_os_name" != xdarwin; then + AC_MSG_CHECKING(for DBUS) + if $PKGCONFIG --exists dbus-1; then + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_DBUS) + CFLAGS="$CFLAGS `$PKGCONFIG --cflags dbus-1` -DDBUS_API_SUBJECT_TO_CHANGE" + SERVERLIBS="$SERVERLIBS `$PKGCONFIG --libs dbus-1`" + DBUS_NOTIFIER="dbus" + DBUS_NOTIFIERLIBS="`$PKGCONFIG --libs dbus-1`" + SAVELIBS="$LIBS" + LIBS="$LIBS $DBUS_NOTIFIERLIBS" + AC_CHECK_FUNC(dbus_message_iter_init_append, + AC_DEFINE(HAVE_DBUS_MESSAGE_ITER_INIT_APPEND)) + AC_CHECK_FUNC(dbus_threads_init, + AC_DEFINE(HAVE_DBUS_THREADS_INIT)) + LIBS="$SAVELIBS" + if test -d /etc/dbus-1 -a "x$DBUSDIR" = x; then + DBUSDIR="/etc/dbus-1" + fi + else + AC_MSG_RESULT(no) + fi +fi + +AC_SUBST(DBUSDIR) +AC_SUBST(DBUS_NOTIFIER) +AC_SUBST(DBUS_NOTIFIERLIBS) + +dnl Extra platform-specific libraries... +CUPS_DEFAULT_PRINTOPERATOR_AUTH="@SYSTEM" +CUPS_DEFAULT_SYSTEM_AUTHKEY="" +CUPS_SYSTEM_AUTHKEY="" +INSTALLXPC="" + +case $host_os_name in + darwin*) + BACKLIBS="$BACKLIBS -framework IOKit" + SERVERLIBS="$SERVERLIBS -framework IOKit -weak_framework ApplicationServices" + LIBS="-framework CoreFoundation -framework Security $LIBS" + + dnl Check for framework headers... + AC_CHECK_HEADER(ApplicationServices/ApplicationServices.h,AC_DEFINE(HAVE_APPLICATIONSERVICES_H)) + AC_CHECK_HEADER(CoreFoundation/CoreFoundation.h,AC_DEFINE(HAVE_COREFOUNDATION_H)) + + dnl Check for dynamic store function... + SAVELIBS="$LIBS" + LIBS="-framework SystemConfiguration $LIBS" + AC_CHECK_FUNCS(SCDynamicStoreCopyComputerName,[ + AC_DEFINE(HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME)],[ + LIBS="$SAVELIBS"]) + + dnl Check for the new membership functions in MacOSX 10.4... + AC_CHECK_HEADER(membership.h,AC_DEFINE(HAVE_MEMBERSHIP_H)) + AC_CHECK_FUNCS(mbr_uid_to_uuid) + + dnl Need header... + AC_CHECK_HEADER(dlfcn.h,AC_DEFINE(HAVE_DLFCN_H)) + + dnl Check for notify_post support + AC_CHECK_HEADER(notify.h,AC_DEFINE(HAVE_NOTIFY_H)) + AC_CHECK_FUNCS(notify_post) + + dnl Check for Authorization Services support + AC_ARG_WITH(adminkey, [ --with-adminkey set the default SystemAuthKey value], + default_adminkey="$withval", + default_adminkey="default") + AC_ARG_WITH(operkey, [ --with-operkey set the default operator @AUTHKEY value], + default_operkey="$withval", + default_operkey="default") + + AC_CHECK_HEADER(Security/Authorization.h, [ + AC_DEFINE(HAVE_AUTHORIZATION_H) + + if test "x$default_adminkey" != xdefault; then + CUPS_SYSTEM_AUTHKEY="SystemGroupAuthKey $default_adminkey" + CUPS_DEFAULT_SYSTEM_AUTHKEY="$default_adminkey" + else + CUPS_SYSTEM_AUTHKEY="SystemGroupAuthKey system.print.admin" + CUPS_DEFAULT_SYSTEM_AUTHKEY="system.print.admin" + fi + + if test "x$default_operkey" != xdefault; then + CUPS_DEFAULT_PRINTOPERATOR_AUTH="@AUTHKEY($default_operkey) @admin @lpadmin" + else + CUPS_DEFAULT_PRINTOPERATOR_AUTH="@AUTHKEY(system.print.operator) @admin @lpadmin" + fi]) + + dnl Check for sandbox/Seatbelt support + if test $host_os_version -ge 100; then + AC_CHECK_HEADER(sandbox.h,AC_DEFINE(HAVE_SANDBOX_H)) + fi + if test $host_os_version -ge 110 -a $host_os_version -lt 120; then + # Broken public headers in 10.7.x... + AC_MSG_CHECKING(for sandbox/private.h presence) + if test -f /usr/local/include/sandbox/private.h; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + AC_MSG_ERROR(Run 'sudo mkdir -p /usr/local/include/sandbox' and 'sudo touch /usr/local/include/sandbox/private.h' to build CUPS.) + fi + fi + + dnl Check for XPC support + AC_CHECK_HEADER(xpc/xpc.h, + AC_DEFINE(HAVE_XPC) + INSTALLXPC="install-xpc") + ;; +esac + +AC_SUBST(CUPS_DEFAULT_PRINTOPERATOR_AUTH) +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_PRINTOPERATOR_AUTH, "$CUPS_DEFAULT_PRINTOPERATOR_AUTH") +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_SYSTEM_AUTHKEY, "$CUPS_DEFAULT_SYSTEM_AUTHKEY") +AC_SUBST(CUPS_SYSTEM_AUTHKEY) +AC_SUBST(INSTALLXPC) + +dnl Check for build components +COMPONENTS="all" + +AC_ARG_WITH(components, [ --with-components set components to build: + - "all" (default) builds everything + - "core" builds libcups and ipptool + - "libcups" builds just libcups + - "libcupslite" builds just libcups without driver support], + COMPONENTS="$withval") + +cupsimagebase="cupsimage" +IPPEVECOMMANDS="ippevepcl ippeveps" +LIBCUPSOBJS="\$(COREOBJS) \$(DRIVEROBJS)" +LIBHEADERS="\$(COREHEADERS) \$(DRIVERHEADERS)" +LIBHEADERSPRIV="\$(COREHEADERSPRIV) \$(DRIVERHEADERSPRIV)" + +case "$COMPONENTS" in + all) + BUILDDIRS="tools filter backend berkeley cgi-bin monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates" + ;; + + core) + BUILDDIRS="tools examples locale" + ;; + + corelite) + AC_DEFINE(CUPS_LITE) + BUILDDIRS="tools examples locale" + cupsimagebase="" + LIBCUPSOBJS="\$(COREOBJS)" + LIBHEADERS="\$(COREHEADERS)" + LIBHEADERSPRIV="\$(COREHEADERSPRIV)" + ;; + + libcups) + BUILDDIRS="locale" + cupsimagebase="" + ;; + + libcupslite) + AC_DEFINE(CUPS_LITE) + BUILDDIRS="locale" + cupsimagebase="" + LIBCUPSOBJS="\$(COREOBJS)" + LIBHEADERS="\$(COREHEADERS)" + LIBHEADERSPRIV="\$(COREHEADERSPRIV)" + ;; + + *) + AC_MSG_ERROR([Bad build component "$COMPONENT" specified!]) + ;; +esac + +AC_SUBST(BUILDDIRS) +AC_SUBST(IPPEVECOMMANDS) +AC_SUBST(LIBCUPSOBJS) +AC_SUBST(LIBHEADERS) +AC_SUBST(LIBHEADERSPRIV) diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4 new file mode 100644 index 0000000..63ea1f4 --- /dev/null +++ b/config-scripts/cups-compiler.m4 @@ -0,0 +1,227 @@ +dnl +dnl Compiler stuff for CUPS. +dnl +dnl Copyright 2007-2018 by Apple Inc. +dnl Copyright 1997-2007 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information. +dnl + +dnl Clear the debugging and non-shared library options unless the user asks +dnl for them... +INSTALL_STRIP="" +AC_SUBST(INSTALL_STRIP) + +AC_ARG_WITH(optim, [ --with-optim set optimization flags ], + OPTIM="$withval", + OPTIM="") +AC_SUBST(OPTIM) + +AC_ARG_ENABLE(debug, [ --enable-debug build with debugging symbols]) +AC_ARG_ENABLE(debug_guards, [ --enable-debug-guards build with memory allocation guards]) +AC_ARG_ENABLE(debug_printfs, [ --enable-debug-printfs build with CUPS_DEBUG_LOG support]) +AC_ARG_ENABLE(unit_tests, [ --enable-unit-tests build and run unit tests]) + +dnl For debugging, keep symbols, otherwise strip them... +if test x$enable_debug = xyes -a "x$OPTIM" = x; then + OPTIM="-g" +else + INSTALL_STRIP="-s" +fi + +dnl Debug printfs can slow things down, so provide a separate option for that +if test x$enable_debug_printfs = xyes; then + CFLAGS="$CFLAGS -DDEBUG" + CXXFLAGS="$CXXFLAGS -DDEBUG" +fi + +dnl Debug guards use an extra 4 bytes for some structures like strings in the +dnl string pool, so provide a separate option for that +if test x$enable_debug_guards = xyes; then + CFLAGS="$CFLAGS -DDEBUG_GUARDS" + CXXFLAGS="$CXXFLAGS -DDEBUG_GUARDS" +fi + +dnl Unit tests take up time during a compile... +if test x$enable_unit_tests = xyes; then + if test "$build" != "$host"; then + AC_MSG_ERROR([Sorry, cannot build unit tests when cross-compiling.]) + fi + + UNITTESTS="unittests" +else + UNITTESTS="" +fi +AC_SUBST(UNITTESTS) + +dnl Setup general architecture flags... +AC_ARG_WITH(archflags, [ --with-archflags set default architecture flags ]) +AC_ARG_WITH(ldarchflags, [ --with-ldarchflags set program architecture flags ]) + +if test -z "$with_archflags"; then + ARCHFLAGS="" +else + ARCHFLAGS="$with_archflags" +fi + +if test -z "$with_ldarchflags"; then + if test "$host_os_name" = darwin; then + # Only create Intel programs by default + LDARCHFLAGS="`echo $ARCHFLAGS | sed -e '1,$s/-arch ppc64//'`" + else + LDARCHFLAGS="$ARCHFLAGS" + fi +else + LDARCHFLAGS="$with_ldarchflags" +fi + +AC_SUBST(ARCHFLAGS) +AC_SUBST(LDARCHFLAGS) + +dnl Read-only data/program support on Linux... +AC_ARG_ENABLE(relro, [ --enable-relro build with the GCC relro option]) + +dnl Clang/GCC address sanitizer... +AC_ARG_ENABLE(sanitizer, [ --enable-sanitizer build with AddressSanitizer]) + +dnl Update compiler options... +CXXLIBS="${CXXLIBS:=}" +AC_SUBST(CXXLIBS) + +PIEFLAGS="" +AC_SUBST(PIEFLAGS) + +RELROFLAGS="" +AC_SUBST(RELROFLAGS) + +WARNING_OPTIONS="" +AC_SUBST(WARNING_OPTIONS) + +if test -n "$GCC"; then + # Add GCC-specific compiler options... + + # Address sanitizer is a useful tool to use when developing/debugging + # code but adds about 2x overhead... + if test x$enable_sanitizer = xyes; then + # Use -fsanitize=address with debugging... + OPTIM="$OPTIM -g -fsanitize=address" + else + # Otherwise use the Fortify enhancements to catch any unbounded + # string operations... + CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" + CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" + fi + + # Default optimization options... + if test -z "$OPTIM"; then + # Default to optimize-for-size and debug + OPTIM="-Os -g" + fi + + # Generate position-independent code as needed... + if test $PICFLAG = 1; then + OPTIM="-fPIC $OPTIM" + fi + + # The -fstack-protector option is available with some versions of + # GCC and adds "stack canaries" which detect when the return address + # has been overwritten, preventing many types of exploit attacks. + AC_MSG_CHECKING(whether compiler supports -fstack-protector) + OLDCFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fstack-protector" + AC_TRY_LINK(,, + if test "x$LSB_BUILD" = xy; then + # Can't use stack-protector with LSB binaries... + OPTIM="$OPTIM -fno-stack-protector" + else + OPTIM="$OPTIM -fstack-protector" + fi + AC_MSG_RESULT(yes), + AC_MSG_RESULT(no)) + CFLAGS="$OLDCFLAGS" + + if test "x$LSB_BUILD" != xy; then + # The -fPIE option is available with some versions of GCC and + # adds randomization of addresses, which avoids another class of + # exploits that depend on a fixed address for common functions. + # + # Not available to LSB binaries... + AC_MSG_CHECKING(whether compiler supports -fPIE) + OLDCFLAGS="$CFLAGS" + case "$host_os_name" in + darwin*) + CFLAGS="$CFLAGS -fPIE -Wl,-pie" + AC_TRY_COMPILE(,,[ + PIEFLAGS="-fPIE -Wl,-pie" + AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no)) + ;; + + *) + CFLAGS="$CFLAGS -fPIE -pie" + AC_TRY_COMPILE(,,[ + PIEFLAGS="-fPIE -pie" + AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no)) + ;; + esac + CFLAGS="$OLDCFLAGS" + fi + + # Add useful warning options for tracking down problems... + WARNING_OPTIONS="-Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion" + + # Test GCC version for certain warning flags since -Werror + # doesn't trigger... + gccversion=`$CC --version | head -1 | awk '{print $NF}'` + case "$gccversion" in + 1.* | 2.* | 3.* | 4.* | 5.* | 6.* | \(clang-*) + ;; + *) + WARNING_OPTIONS="$WARNING_OPTIONS -Wno-format-truncation -Wno-format-overflow -Wno-tautological-compare" + ;; + esac + + # Additional warning options for development testing... + if test -d .git; then + WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS" + fi +else + # Add vendor-specific compiler options... + case $host_os_name in + sunos*) + # Solaris + if test -z "$OPTIM"; then + OPTIM="-xO2" + fi + + if test $PICFLAG = 1; then + OPTIM="-KPIC $OPTIM" + fi + ;; + *) + # Running some other operating system; inform the user + # they should contribute the necessary options via + # Github... + echo "Building CUPS with default compiler optimizations; contact the CUPS developers on Github" + echo "(https://github.com/apple/cups/issues) with the uname and compiler options needed for" + echo "your platform, or set the CFLAGS and LDFLAGS environment variables before running" + echo "configure." + ;; + esac +fi + +# Add general compiler options per platform... +case $host_os_name in + linux*) + # glibc 2.8 and higher breaks peer credentials unless you + # define _GNU_SOURCE... + OPTIM="$OPTIM -D_GNU_SOURCE" + + # The -z relro option is provided by the Linux linker command to + # make relocatable data read-only. + if test x$enable_relro = xyes; then + RELROFLAGS="-Wl,-z,relro,-z,now" + fi + ;; +esac diff --git a/config-scripts/cups-defaults.m4 b/config-scripts/cups-defaults.m4 new file mode 100644 index 0000000..517539e --- /dev/null +++ b/config-scripts/cups-defaults.m4 @@ -0,0 +1,439 @@ +dnl +dnl Default cupsd configuration settings for CUPS. +dnl +dnl Copyright © 2007-2018 by Apple Inc. +dnl Copyright © 2006-2007 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more +dnl information. +dnl + +dnl Default languages... +LANGUAGES="`ls -1 locale/cups_*.po 2>/dev/null | sed -e '1,$s/locale\/cups_//' -e '1,$s/\.po//' | tr '\n' ' '`" + +AC_ARG_WITH(languages, [ --with-languages set installed languages, default=all ],[ + case "$withval" in + none | no) LANGUAGES="" ;; + all) ;; + *) LANGUAGES="$withval" ;; + esac]) +AC_SUBST(LANGUAGES) + +dnl macOS bundle-based localization support +AC_ARG_WITH(bundledir, [ --with-bundledir set localization bundle directory ], + CUPS_BUNDLEDIR="$withval",[ + if test "x$host_os_name" = xdarwin -a $host_os_version -ge 100; then + CUPS_BUNDLEDIR="/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A" + LANGUAGES="" + else + CUPS_BUNDLEDIR="" + fi]) + +AC_SUBST(CUPS_BUNDLEDIR) +if test "x$CUPS_BUNDLEDIR" != x; then + AC_DEFINE_UNQUOTED(CUPS_BUNDLEDIR, "$CUPS_BUNDLEDIR") +fi + +AC_ARG_WITH(bundlelang, [ --with-bundlelang set localization bundle base language (English or en) ], + cups_bundlelang="$withval",[ + if test $host_os_version -ge 190; then + cups_bundlelang="en" + else + cups_bundlelang="English" + fi]) + +if test "x$cups_bundlelang" != x -a "x$CUPS_BUNDLEDIR" != x; then + CUPS_RESOURCEDIR="$CUPS_BUNDLEDIR/Resources/$cups_bundlelang.lproj" +else + CUPS_RESOURCEDIR="" +fi +AC_SUBST(CUPS_RESOURCEDIR) + +dnl Default executable file permissions +AC_ARG_WITH(exe_file_perm, [ --with-exe-file-perm set default executable permissions value, default=0555], + CUPS_EXE_FILE_PERM="$withval", + [case "$host_os_name" in + linux* | gnu*) + CUPS_EXE_FILE_PERM="755" + ;; + *) + CUPS_EXE_FILE_PERM="555" + ;; + esac]) +AC_SUBST(CUPS_EXE_FILE_PERM) + +dnl Default ConfigFilePerm +AC_ARG_WITH(config_file_perm, [ --with-config-file-perm set default ConfigFilePerm value, default=0640], + CUPS_CONFIG_FILE_PERM="$withval", + [if test "x$host_os_name" = xdarwin; then + CUPS_CONFIG_FILE_PERM="644" + else + CUPS_CONFIG_FILE_PERM="640" + fi]) +AC_SUBST(CUPS_CONFIG_FILE_PERM) +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_CONFIG_FILE_PERM, 0$CUPS_CONFIG_FILE_PERM) + +dnl Default permissions for cupsd +AC_ARG_WITH(cupsd_file_perm, [ --with-cupsd-file-perm set default cupsd permissions, default=0500], + CUPS_CUPSD_FILE_PERM="$withval", + [case "$host_os_name" in + linux* | gnu*) + CUPS_CUPSD_FILE_PERM="700" + ;; + *) + CUPS_CUPSD_FILE_PERM="500" + ;; + esac]) +AC_SUBST(CUPS_CUPSD_FILE_PERM) + +dnl Default LogFilePerm +AC_ARG_WITH(log_file_perm, [ --with-log-file-perm set default LogFilePerm value, default=0644], + CUPS_LOG_FILE_PERM="$withval", + CUPS_LOG_FILE_PERM="644") +AC_SUBST(CUPS_LOG_FILE_PERM) +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_LOG_FILE_PERM, 0$CUPS_LOG_FILE_PERM) + +dnl Default FatalErrors +AC_ARG_WITH(fatal_errors, [ --with-fatal-errors set default FatalErrors value, default=config], + CUPS_FATAL_ERRORS="$withval", + CUPS_FATAL_ERRORS="config") +AC_SUBST(CUPS_FATAL_ERRORS) +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_FATAL_ERRORS, "$CUPS_FATAL_ERRORS") + +dnl Default LogLevel +AC_ARG_WITH(log_level, [ --with-log-level set default LogLevel value, default=warn], + CUPS_LOG_LEVEL="$withval", + CUPS_LOG_LEVEL="warn") +AC_SUBST(CUPS_LOG_LEVEL) +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_LOG_LEVEL, "$CUPS_LOG_LEVEL") + +dnl Default AccessLogLevel +AC_ARG_WITH(access_log_level, [ --with-access-log-level set default AccessLogLevel value, default=none], + CUPS_ACCESS_LOG_LEVEL="$withval", + CUPS_ACCESS_LOG_LEVEL="none") +AC_SUBST(CUPS_ACCESS_LOG_LEVEL) +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_ACCESS_LOG_LEVEL, "$CUPS_ACCESS_LOG_LEVEL") + +dnl Default PageLogFormat +AC_ARG_ENABLE(page_logging, [ --enable-page-logging enable page_log by default]) +if test "x$enable_page_logging" = xyes; then + CUPS_PAGE_LOG_FORMAT="" +else + CUPS_PAGE_LOG_FORMAT="PageLogFormat" +fi +AC_SUBST(CUPS_PAGE_LOG_FORMAT) + +dnl Default Browsing +AC_ARG_ENABLE(browsing, [ --disable-browsing disable Browsing by default]) +if test "x$enable_browsing" = xno; then + CUPS_BROWSING="No" + AC_DEFINE_UNQUOTED(CUPS_DEFAULT_BROWSING, 0) +else + CUPS_BROWSING="Yes" + AC_DEFINE_UNQUOTED(CUPS_DEFAULT_BROWSING, 1) +fi +AC_SUBST(CUPS_BROWSING) + +dnl Default BrowseLocalProtocols +AC_ARG_WITH(local_protocols, [ --with-local-protocols set default BrowseLocalProtocols, default=""], + default_local_protocols="$withval", + default_local_protocols="default") + +if test x$with_local_protocols != xno; then + if test "x$default_local_protocols" = "xdefault"; then + if test "x$DNSSD_BACKEND" != "x"; then + CUPS_BROWSE_LOCAL_PROTOCOLS="dnssd" + else + CUPS_BROWSE_LOCAL_PROTOCOLS="" + fi + else + CUPS_BROWSE_LOCAL_PROTOCOLS="$default_local_protocols" + fi +else + CUPS_BROWSE_LOCAL_PROTOCOLS="" +fi + +AC_SUBST(CUPS_BROWSE_LOCAL_PROTOCOLS) +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS, + "$CUPS_BROWSE_LOCAL_PROTOCOLS") + +dnl Default DefaultShared +AC_ARG_ENABLE(default_shared, [ --disable-default-shared + disable DefaultShared by default]) +if test "x$enable_default_shared" = xno; then + CUPS_DEFAULT_SHARED="No" + AC_DEFINE_UNQUOTED(CUPS_DEFAULT_DEFAULT_SHARED, 0) +else + CUPS_DEFAULT_SHARED="Yes" + AC_DEFINE_UNQUOTED(CUPS_DEFAULT_DEFAULT_SHARED, 1) +fi +AC_SUBST(CUPS_DEFAULT_SHARED) + +dnl Determine the correct username and group for this OS... +AC_ARG_WITH(cups_user, [ --with-cups-user set default user for CUPS], + CUPS_USER="$withval", + AC_MSG_CHECKING(for default print user) + if test x$host_os_name = xdarwin; then + if test x`id -u _lp 2>/dev/null` = x; then + CUPS_USER="lp"; + else + CUPS_USER="_lp"; + fi + AC_MSG_RESULT($CUPS_USER) + elif test -f /etc/passwd; then + CUPS_USER="" + for user in lp lpd guest daemon nobody; do + if test "`grep \^${user}: /etc/passwd`" != ""; then + CUPS_USER="$user" + AC_MSG_RESULT($user) + break; + fi + done + + if test x$CUPS_USER = x; then + CUPS_USER="nobody" + AC_MSG_RESULT(not found, using "$CUPS_USER") + fi + else + CUPS_USER="nobody" + AC_MSG_RESULT(no password file, using "$CUPS_USER") + fi) + +if test "x$CUPS_USER" = "xroot" -o "x$CUPS_USER" = "x0"; then + AC_MSG_ERROR([The default user for CUPS cannot be root!]) +fi + +AC_ARG_WITH(cups_group, [ --with-cups-group set default group for CUPS], + CUPS_GROUP="$withval", + AC_MSG_CHECKING(for default print group) + if test x$host_os_name = xdarwin; then + if test x`id -g _lp 2>/dev/null` = x; then + CUPS_GROUP="lp"; + else + CUPS_GROUP="_lp"; + fi + AC_MSG_RESULT($CUPS_GROUP) + elif test -f /etc/group; then + GROUP_LIST="_lp lp nobody" + CUPS_GROUP="" + for group in $GROUP_LIST; do + if test "`grep \^${group}: /etc/group`" != ""; then + CUPS_GROUP="$group" + AC_MSG_RESULT($group) + break; + fi + done + + if test x$CUPS_GROUP = x; then + CUPS_GROUP="nobody" + AC_MSG_RESULT(not found, using "$CUPS_GROUP") + fi + else + CUPS_GROUP="nobody" + AC_MSG_RESULT(no group file, using "$CUPS_GROUP") + fi) + +if test "x$CUPS_GROUP" = "xroot" -o "x$CUPS_GROUP" = "xwheel" -o "x$CUPS_GROUP" = "x0"; then + AC_MSG_ERROR([The default group for CUPS cannot be root!]) +fi + +AC_ARG_WITH(system_groups, [ --with-system-groups set default system groups for CUPS], + CUPS_SYSTEM_GROUPS="$withval", + if test x$host_os_name = xdarwin; then + CUPS_SYSTEM_GROUPS="admin" + else + AC_MSG_CHECKING(for default system groups) + if test -f /etc/group; then + CUPS_SYSTEM_GROUPS="" + GROUP_LIST="lpadmin sys system root wheel" + for group in $GROUP_LIST; do + if test "`grep \^${group}: /etc/group`" != ""; then + if test "x$CUPS_SYSTEM_GROUPS" = x; then + CUPS_SYSTEM_GROUPS="$group" + else + CUPS_SYSTEM_GROUPS="$CUPS_SYSTEM_GROUPS $group" + fi + fi + done + + if test "x$CUPS_SYSTEM_GROUPS" = x; then + CUPS_SYSTEM_GROUPS="$GROUP_LIST" + AC_MSG_RESULT(no groups found, using "$CUPS_SYSTEM_GROUPS") + else + AC_MSG_RESULT("$CUPS_SYSTEM_GROUPS") + fi + else + CUPS_SYSTEM_GROUPS="$GROUP_LIST" + AC_MSG_RESULT(no group file, using "$CUPS_SYSTEM_GROUPS") + fi + fi) + +CUPS_PRIMARY_SYSTEM_GROUP="`echo $CUPS_SYSTEM_GROUPS | awk '{print $1}'`" + +for group in $CUPS_SYSTEM_GROUPS; do + if test "x$CUPS_GROUP" = "x$group"; then + AC_MSG_ERROR([The default system groups cannot contain the default CUPS group!]) + fi +done + +AC_SUBST(CUPS_USER) +AC_SUBST(CUPS_GROUP) +AC_SUBST(CUPS_SYSTEM_GROUPS) +AC_SUBST(CUPS_PRIMARY_SYSTEM_GROUP) + +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_USER, "$CUPS_USER") +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_GROUP, "$CUPS_GROUP") +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_SYSTEM_GROUPS, "$CUPS_SYSTEM_GROUPS") + +dnl Default printcap file... +AC_ARG_WITH(printcap, [ --with-printcap set default printcap file], + default_printcap="$withval", + default_printcap="default") + +if test x$default_printcap != xno; then + if test "x$default_printcap" = "xdefault"; then + case $host_os_name in + darwin*) + if test $host_os_version -ge 90; then + CUPS_DEFAULT_PRINTCAP="/Library/Preferences/org.cups.printers.plist" + else + CUPS_DEFAULT_PRINTCAP="/etc/printcap" + fi + ;; + sunos*) + CUPS_DEFAULT_PRINTCAP="/etc/printers.conf" + ;; + *) + CUPS_DEFAULT_PRINTCAP="/etc/printcap" + ;; + esac + else + CUPS_DEFAULT_PRINTCAP="$default_printcap" + fi +else + CUPS_DEFAULT_PRINTCAP="" +fi + +AC_SUBST(CUPS_DEFAULT_PRINTCAP) +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_PRINTCAP, "$CUPS_DEFAULT_PRINTCAP") + +dnl Default LPD config file... +AC_ARG_WITH(lpdconfigfile, [ --with-lpdconfigfile set default LPDConfigFile URI], + default_lpdconfigfile="$withval", + default_lpdconfigfile="default") + +if test x$default_lpdconfigfile != xno; then + if test "x$default_lpdconfigfile" = "xdefault"; then + case $host_os_name in + darwin*) + CUPS_DEFAULT_LPD_CONFIG_FILE="launchd:///System/Library/LaunchDaemons/org.cups.cups-lpd.plist" + ;; + *) + if test "x$XINETD" != x; then + CUPS_DEFAULT_LPD_CONFIG_FILE="xinetd://$XINETD/cups-lpd" + else + CUPS_DEFAULT_LPD_CONFIG_FILE="" + fi + ;; + esac + else + CUPS_DEFAULT_LPD_CONFIG_FILE="$default_lpdconfigfile" + fi +else + CUPS_DEFAULT_LPD_CONFIG_FILE="" +fi + +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_LPD_CONFIG_FILE, "$CUPS_DEFAULT_LPD_CONFIG_FILE") +AC_SUBST(CUPS_DEFAULT_LPD_CONFIG_FILE) + +dnl Default SMB config file... +AC_ARG_WITH(smbconfigfile, [ --with-smbconfigfile set default SMBConfigFile URI], + default_smbconfigfile="$withval", + default_smbconfigfile="default") + +if test x$default_smbconfigfile != xno; then + if test "x$default_smbconfigfile" = "xdefault"; then + if test -f /etc/smb.conf; then + CUPS_DEFAULT_SMB_CONFIG_FILE="samba:///etc/smb.conf" + else + CUPS_DEFAULT_SMB_CONFIG_FILE="" + fi + else + CUPS_DEFAULT_SMB_CONFIG_FILE="$default_smbconfigfile" + fi +else + CUPS_DEFAULT_SMB_CONFIG_FILE="" +fi + +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_SMB_CONFIG_FILE, "$CUPS_DEFAULT_SMB_CONFIG_FILE") +AC_SUBST(CUPS_DEFAULT_SMB_CONFIG_FILE) + +dnl Default MaxCopies value... +AC_ARG_WITH(max-copies, [ --with-max-copies set default max copies value, default=9999 ], + CUPS_MAX_COPIES="$withval", + CUPS_MAX_COPIES="9999") + +AC_SUBST(CUPS_MAX_COPIES) +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_MAX_COPIES, $CUPS_MAX_COPIES) + +dnl Default raw printing state +AC_ARG_ENABLE(raw_printing, [ --disable-raw-printing do not allow raw printing by default]) +if test "x$enable_raw_printing" != xno; then + DEFAULT_RAW_PRINTING="" +else + DEFAULT_RAW_PRINTING="#" +fi +AC_SUBST(DEFAULT_RAW_PRINTING) + +dnl Default SNMP options... +AC_ARG_WITH(snmp-address, [ --with-snmp-address set SNMP query address, default=auto ], + if test "x$withval" = x; then + CUPS_SNMP_ADDRESS="" + else + CUPS_SNMP_ADDRESS="Address $withval" + fi, + if test "x$host_os_name" = xdarwin; then + CUPS_SNMP_ADDRESS="" + else + CUPS_SNMP_ADDRESS="Address @LOCAL" + fi) + +AC_ARG_WITH(snmp-community, [ --with-snmp-community set SNMP community, default=public ], + CUPS_SNMP_COMMUNITY="Community $withval", + CUPS_SNMP_COMMUNITY="Community public") + +AC_SUBST(CUPS_SNMP_ADDRESS) +AC_SUBST(CUPS_SNMP_COMMUNITY) + +dnl New default port definition for IPP... +AC_ARG_WITH(ipp-port, [ --with-ipp-port set port number for IPP, default=631 ], + DEFAULT_IPP_PORT="$withval", + DEFAULT_IPP_PORT="631") + +AC_SUBST(DEFAULT_IPP_PORT) +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_IPP_PORT,$DEFAULT_IPP_PORT) + +dnl Web interface... +AC_ARG_ENABLE(webif, [ --enable-webif enable the web interface by default, default=no for macOS]) +case "x$enable_webif" in + xno) + CUPS_WEBIF=No + CUPS_DEFAULT_WEBIF=0 + ;; + xyes) + CUPS_WEBIF=Yes + CUPS_DEFAULT_WEBIF=1 + ;; + *) + if test $host_os_name = darwin; then + CUPS_WEBIF=No + CUPS_DEFAULT_WEBIF=0 + else + CUPS_WEBIF=Yes + CUPS_DEFAULT_WEBIF=1 + fi + ;; +esac + +AC_SUBST(CUPS_WEBIF) +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_WEBIF, $CUPS_DEFAULT_WEBIF) diff --git a/config-scripts/cups-directories.m4 b/config-scripts/cups-directories.m4 new file mode 100644 index 0000000..b74083a --- /dev/null +++ b/config-scripts/cups-directories.m4 @@ -0,0 +1,299 @@ +dnl +dnl Directory stuff for CUPS. +dnl +dnl Copyright 2007-2017 by Apple Inc. +dnl Copyright 1997-2007 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information. +dnl + +AC_PREFIX_DEFAULT(/) + +dnl Fix "prefix" variable if it hasn't been specified... +if test "$prefix" = "NONE"; then + prefix="/" +fi + +dnl Fix "exec_prefix" variable if it hasn't been specified... +if test "$exec_prefix" = "NONE"; then + if test "$prefix" = "/"; then + exec_prefix="/usr" + else + exec_prefix="$prefix" + fi +fi + +dnl Fix "bindir" variable... +if test "$bindir" = "\${exec_prefix}/bin"; then + bindir="$exec_prefix/bin" +fi + +AC_DEFINE_UNQUOTED(CUPS_BINDIR, "$bindir") + +dnl Fix "sbindir" variable... +if test "$sbindir" = "\${exec_prefix}/sbin"; then + sbindir="$exec_prefix/sbin" +fi + +AC_DEFINE_UNQUOTED(CUPS_SBINDIR, "$sbindir") + +dnl Fix "sharedstatedir" variable if it hasn't been specified... +if test "$sharedstatedir" = "\${prefix}/com" -a "$prefix" = "/"; then + sharedstatedir="/usr/com" +fi + +dnl Fix "datarootdir" variable if it hasn't been specified... +if test "$datarootdir" = "\${prefix}/share"; then + if test "$prefix" = "/"; then + datarootdir="/usr/share" + else + datarootdir="$prefix/share" + fi +fi + +dnl Fix "datadir" variable if it hasn't been specified... +if test "$datadir" = "\${prefix}/share"; then + if test "$prefix" = "/"; then + datadir="/usr/share" + else + datadir="$prefix/share" + fi +elif test "$datadir" = "\${datarootdir}"; then + datadir="$datarootdir" +fi + +dnl Fix "includedir" variable if it hasn't been specified... +if test "$includedir" = "\${prefix}/include" -a "$prefix" = "/"; then + includedir="/usr/include" +fi + +dnl Fix "localstatedir" variable if it hasn't been specified... +if test "$localstatedir" = "\${prefix}/var"; then + if test "$prefix" = "/"; then + if test "$host_os_name" = darwin; then + localstatedir="/private/var" + else + localstatedir="/var" + fi + else + localstatedir="$prefix/var" + fi +fi + +dnl Fix "sysconfdir" variable if it hasn't been specified... +if test "$sysconfdir" = "\${prefix}/etc"; then + if test "$prefix" = "/"; then + if test "$host_os_name" = darwin; then + sysconfdir="/private/etc" + else + sysconfdir="/etc" + fi + else + sysconfdir="$prefix/etc" + fi +fi + +dnl Fix "libdir" variable... +if test "$libdir" = "\${exec_prefix}/lib"; then + case "$host_os_name" in + linux*) + if test -d /usr/lib64 -a ! -d /usr/lib64/fakeroot; then + libdir="$exec_prefix/lib64" + fi + ;; + esac +fi + +dnl Setup private include directory... +AC_ARG_WITH(privateinclude, [ --with-privateinclude set path for private include files, default=none],privateinclude="$withval",privateinclude="") +if test "x$privateinclude" != x -a "x$privateinclude" != xnone; then + PRIVATEINCLUDE="$privateinclude/cups" +else + privateinclude="" + PRIVATEINCLUDE="" +fi +AC_SUBST(privateinclude) +AC_SUBST(PRIVATEINCLUDE) + +dnl LPD sharing support... +AC_ARG_WITH(lpdconfig, [ --with-lpdconfig set URI for LPD config file], + LPDCONFIG="$withval", LPDCONFIG="") + +if test "x$LPDCONFIG" = x; then + if test -f /System/Library/LaunchDaemons/org.cups.cups-lpd.plist; then + LPDCONFIG="launchd:///System/Library/LaunchDaemons/org.cups.cups-lpd.plist" + elif test "x$XINETD" != x; then + LPDCONFIG="xinetd://$XINETD/cups-lpd" + fi +fi + +if test "x$LPDCONFIG" = xoff; then + AC_DEFINE_UNQUOTED(CUPS_DEFAULT_LPD_CONFIG, "") +else + AC_DEFINE_UNQUOTED(CUPS_DEFAULT_LPD_CONFIG, "$LPDCONFIG") +fi + +dnl SMB sharing support... +AC_ARG_WITH(smbconfig, [ --with-smbconfig set URI for Samba config file], + SMBCONFIG="$withval", SMBCONFIG="") + +if test "x$SMBCONFIG" = x; then + if test -f /System/Library/LaunchDaemons/smbd.plist; then + SMBCONFIG="launchd:///System/Library/LaunchDaemons/smbd.plist" + else + for dir in /etc /etc/samba /usr/local/etc; do + if test -f $dir/smb.conf; then + SMBCONFIG="samba://$dir/smb.conf" + break + fi + done + fi +fi + +if test "x$SMBCONFIG" = xoff; then + AC_DEFINE_UNQUOTED(CUPS_DEFAULT_SMB_CONFIG, "") +else + AC_DEFINE_UNQUOTED(CUPS_DEFAULT_SMB_CONFIG, "$SMBCONFIG") +fi + +dnl Setup default locations... +# Cache data... +AC_ARG_WITH(cachedir, [ --with-cachedir set path for cache files],cachedir="$withval",cachedir="") + +if test x$cachedir = x; then + if test "x$host_os_name" = xdarwin; then + CUPS_CACHEDIR="$localstatedir/spool/cups/cache" + else + CUPS_CACHEDIR="$localstatedir/cache/cups" + fi +else + CUPS_CACHEDIR="$cachedir" +fi +AC_DEFINE_UNQUOTED(CUPS_CACHEDIR, "$CUPS_CACHEDIR") +AC_SUBST(CUPS_CACHEDIR) + +# Data files +CUPS_DATADIR="$datadir/cups" +AC_DEFINE_UNQUOTED(CUPS_DATADIR, "$datadir/cups") +AC_SUBST(CUPS_DATADIR) + +# Icon directory +AC_ARG_WITH(icondir, [ --with-icondir set path for application icons],icondir="$withval",icondir="") + +if test "x$icondir" = x -a -d /usr/share/icons; then + ICONDIR="/usr/share/icons" +else + ICONDIR="$icondir" +fi + +AC_SUBST(ICONDIR) + +# Menu directory +AC_ARG_WITH(menudir, [ --with-menudir set path for application menus],menudir="$withval",menudir="") + +if test "x$menudir" = x -a -d /usr/share/applications; then + MENUDIR="/usr/share/applications" +else + MENUDIR="$menudir" +fi + +AC_SUBST(MENUDIR) + +# Documentation files +AC_ARG_WITH(docdir, [ --with-docdir set path for documentation],docdir="$withval",docdir="") + +if test x$docdir = x; then + CUPS_DOCROOT="$datadir/doc/cups" + docdir="$datadir/doc/cups" +else + CUPS_DOCROOT="$docdir" +fi + +AC_DEFINE_UNQUOTED(CUPS_DOCROOT, "$docdir") +AC_SUBST(CUPS_DOCROOT) + +# Fonts +AC_ARG_WITH(fontpath, [ --with-fontpath set font path for pstoraster],fontpath="$withval",fontpath="") + +if test "x$fontpath" = "x"; then + CUPS_FONTPATH="$datadir/cups/fonts" +else + CUPS_FONTPATH="$fontpath" +fi + +AC_SUBST(CUPS_FONTPATH) +AC_DEFINE_UNQUOTED(CUPS_FONTPATH, "$CUPS_FONTPATH") + +# Locale data +if test "$localedir" = "\${datarootdir}/locale"; then + case "$host_os_name" in + linux* | gnu* | *bsd* | darwin*) + CUPS_LOCALEDIR="$datarootdir/locale" + ;; + + *) + # This is the standard System V location... + CUPS_LOCALEDIR="$exec_prefix/lib/locale" + ;; + esac +else + CUPS_LOCALEDIR="$localedir" +fi + +AC_DEFINE_UNQUOTED(CUPS_LOCALEDIR, "$CUPS_LOCALEDIR") +AC_SUBST(CUPS_LOCALEDIR) + +# Log files... +AC_ARG_WITH(logdir, [ --with-logdir set path for log files],logdir="$withval",logdir="") + +if test x$logdir = x; then + CUPS_LOGDIR="$localstatedir/log/cups" + AC_DEFINE_UNQUOTED(CUPS_LOGDIR, "$localstatedir/log/cups") +else + CUPS_LOGDIR="$logdir" +fi +AC_DEFINE_UNQUOTED(CUPS_LOGDIR, "$CUPS_LOGDIR") +AC_SUBST(CUPS_LOGDIR) + +# Longer-term spool data +CUPS_REQUESTS="$localstatedir/spool/cups" +AC_DEFINE_UNQUOTED(CUPS_REQUESTS, "$localstatedir/spool/cups") +AC_SUBST(CUPS_REQUESTS) + +# Server executables... +case "$host_os_name" in + *bsd* | darwin*) + # *BSD and Darwin (macOS) + INSTALL_SYSV="" + CUPS_SERVERBIN="$exec_prefix/libexec/cups" + ;; + *) + # All others + INSTALL_SYSV="install-sysv" + CUPS_SERVERBIN="$exec_prefix/lib/cups" + ;; +esac + +AC_DEFINE_UNQUOTED(CUPS_SERVERBIN, "$CUPS_SERVERBIN") +AC_SUBST(CUPS_SERVERBIN) +AC_SUBST(INSTALL_SYSV) + +# Configuration files +CUPS_SERVERROOT="$sysconfdir/cups" +AC_DEFINE_UNQUOTED(CUPS_SERVERROOT, "$sysconfdir/cups") +AC_SUBST(CUPS_SERVERROOT) + +# Transient run-time state +AC_ARG_WITH(rundir, [ --with-rundir set transient run-time state directory],CUPS_STATEDIR="$withval",[ + case "$host_os_name" in + darwin*) + # Darwin (macOS) + CUPS_STATEDIR="$CUPS_SERVERROOT" + ;; + *) + # All others + CUPS_STATEDIR="$localstatedir/run/cups" + ;; + esac]) +AC_DEFINE_UNQUOTED(CUPS_STATEDIR, "$CUPS_STATEDIR") +AC_SUBST(CUPS_STATEDIR) diff --git a/config-scripts/cups-dnssd.m4 b/config-scripts/cups-dnssd.m4 new file mode 100644 index 0000000..b36cafd --- /dev/null +++ b/config-scripts/cups-dnssd.m4 @@ -0,0 +1,76 @@ +dnl +dnl DNS Service Discovery (aka Bonjour) stuff for CUPS. +dnl +dnl Copyright © 2007-2019 by Apple Inc. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more +dnl information. +dnl + +AC_ARG_ENABLE(avahi, [ --disable-avahi disable DNS Service Discovery support using Avahi]) +AC_ARG_ENABLE(dnssd, [ --disable-dnssd disable DNS Service Discovery support using mDNSResponder]) +AC_ARG_WITH(dnssd-libs, [ --with-dnssd-libs set directory for DNS Service Discovery library], + LDFLAGS="-L$withval $LDFLAGS" + DSOFLAGS="-L$withval $DSOFLAGS",) +AC_ARG_WITH(dnssd-includes, [ --with-dnssd-includes set directory for DNS Service Discovery includes], + CFLAGS="-I$withval $CFLAGS" + CPPFLAGS="-I$withval $CPPFLAGS",) + +DNSSDLIBS="" +DNSSD_BACKEND="" +IPPFIND_BIN="" +IPPFIND_MAN="" + +if test "x$PKGCONFIG" != x -a x$enable_avahi != xno -a x$host_os_name != xdarwin; then + AC_MSG_CHECKING(for Avahi) + if $PKGCONFIG --exists avahi-client; then + AC_MSG_RESULT(yes) + CFLAGS="$CFLAGS `$PKGCONFIG --cflags avahi-client`" + DNSSDLIBS="`$PKGCONFIG --libs avahi-client`" + DNSSD_BACKEND="dnssd" + IPPFIND_BIN="ippfind" + IPPFIND_MAN="ippfind.1" + AC_DEFINE(HAVE_AVAHI) + else + AC_MSG_RESULT(no) + fi +fi + +if test "x$DNSSD_BACKEND" = x -a x$enable_dnssd != xno; then + AC_CHECK_HEADER(dns_sd.h, [ + case "$host_os_name" in + darwin*) + # Darwin and macOS... + AC_DEFINE(HAVE_DNSSD) + DNSSD_BACKEND="dnssd" + IPPFIND_BIN="ippfind" + IPPFIND_MAN="ippfind.1" + ;; + *) + # All others... + AC_MSG_CHECKING(for current version of dns_sd library) + SAVELIBS="$LIBS" + LIBS="$LIBS -ldns_sd" + AC_TRY_COMPILE([#include ], + [int constant = kDNSServiceFlagsShareConnection; + unsigned char txtRecord[100]; + uint8_t valueLen; + TXTRecordGetValuePtr(sizeof(txtRecord), + txtRecord, "value", &valueLen);], + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_DNSSD) + DNSSDLIBS="-ldns_sd" + DNSSD_BACKEND="dnssd", + IPPFIND_BIN="ippfind" + IPPFIND_MAN="ippfind.1" + AC_MSG_RESULT(no)) + LIBS="$SAVELIBS" + ;; + esac + ]) +fi + +AC_SUBST(DNSSDLIBS) +AC_SUBST(DNSSD_BACKEND) +AC_SUBST(IPPFIND_BIN) +AC_SUBST(IPPFIND_MAN) diff --git a/config-scripts/cups-gssapi.m4 b/config-scripts/cups-gssapi.m4 new file mode 100644 index 0000000..e18f264 --- /dev/null +++ b/config-scripts/cups-gssapi.m4 @@ -0,0 +1,123 @@ +dnl +dnl GSSAPI/Kerberos library detection for CUPS. +dnl +dnl Copyright 2007-2017 by Apple Inc. +dnl Copyright 2006-2007 by Easy Software Products. +dnl +dnl This file contains Kerberos support code, copyright 2006 by +dnl Jelmer Vernooij. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information. +dnl + +AC_ARG_ENABLE(gssapi, [ --disable-gssapi disable GSSAPI support]) + +LIBGSSAPI="" +AC_SUBST(LIBGSSAPI) + +if test x$enable_gssapi != xno; then + AC_PATH_TOOL(KRB5CONFIG, krb5-config) + if test "x$KRB5CONFIG" != x; then + case "$host_os_name" in + darwin) + # macOS weak-links to the Kerberos framework... + LIBGSSAPI="-weak_framework Kerberos" + AC_MSG_CHECKING(for GSS framework) + if test -d /System/Library/Frameworks/GSS.framework; then + AC_MSG_RESULT(yes) + LIBGSSAPI="$LIBGSSAPI -weak_framework GSS" + else + AC_MSG_RESULT(no) + fi + ;; + sunos*) + # Solaris has a non-standard krb5-config, don't use it! + AC_CHECK_LIB(gss, gss_display_status, + AC_DEFINE(HAVE_GSSAPI, 1, [Whether GSSAPI is available]) + CFLAGS="`$KRB5CONFIG --cflags` $CFLAGS" + CPPFLAGS="`$KRB5CONFIG --cflags` $CPPFLAGS" + LIBGSSAPI="-lgss `$KRB5CONFIG --libs`") + ;; + *) + # Other platforms just ask for GSSAPI + CFLAGS="`$KRB5CONFIG --cflags gssapi` $CFLAGS" + CPPFLAGS="`$KRB5CONFIG --cflags gssapi` $CPPFLAGS" + LIBGSSAPI="`$KRB5CONFIG --libs gssapi`" + ;; + esac + AC_DEFINE(HAVE_GSSAPI, 1, [Whether GSSAPI is available]) + else + # Check for vendor-specific implementations... + case "$host_os_name" in + hp-ux*) + AC_CHECK_LIB(gss, gss_display_status, + AC_DEFINE(HAVE_GSSAPI, 1, [Whether GSSAPI is available]) + LIBGSSAPI="-lgss -lgssapi_krb5") + ;; + sunos*) + AC_CHECK_LIB(gss, gss_display_status, + AC_DEFINE(HAVE_GSSAPI, 1, [Whether GSSAPI is available]) + LIBGSSAPI="-lgss") + ;; + esac + fi + + if test "x$LIBGSSAPI" != x; then + AC_CHECK_HEADER(krb5.h, AC_DEFINE(HAVE_KRB5_H)) + if test -d /System/Library/Frameworks/GSS.framework; then + AC_CHECK_HEADER(GSS/gssapi.h, AC_DEFINE(HAVE_GSS_GSSAPI_H)) + AC_CHECK_HEADER(GSS/gssapi_generic.h, AC_DEFINE(HAVE_GSS_GSSAPI_GENERIC_H)) + AC_CHECK_HEADER(GSS/gssapi_spi.h, AC_DEFINE(HAVE_GSS_GSSAPI_SPI_H)) + else + AC_CHECK_HEADER(gssapi.h, AC_DEFINE(HAVE_GSSAPI_H)) + AC_CHECK_HEADER(gssapi/gssapi.h, AC_DEFINE(HAVE_GSSAPI_GSSAPI_H)) + fi + + SAVELIBS="$LIBS" + LIBS="$LIBS $LIBGSSAPI" + + AC_CHECK_FUNC(__ApplePrivate_gss_acquire_cred_ex_f, + AC_DEFINE(HAVE_GSS_ACQUIRE_CRED_EX_F)) + + AC_MSG_CHECKING(for GSS_C_NT_HOSTBASED_SERVICE) + if test x$ac_cv_header_gssapi_gssapi_h = xyes; then + AC_TRY_COMPILE([ #include ], + [ gss_OID foo = GSS_C_NT_HOSTBASED_SERVICE; ], + AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE) + AC_MSG_RESULT(yes), + AC_MSG_RESULT(no)) + elif test x$ac_cv_header_gss_gssapi_h = xyes; then + AC_TRY_COMPILE([ #include ], + [ gss_OID foo = GSS_C_NT_HOSTBASED_SERVICE; ], + AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE) + AC_MSG_RESULT(yes), + AC_MSG_RESULT(no)) + else + AC_TRY_COMPILE([ #include ], + [ gss_OID foo = GSS_C_NT_HOSTBASED_SERVICE; ], + AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE) + AC_MSG_RESULT(yes), + AC_MSG_RESULT(no)) + fi + + LIBS="$SAVELIBS" + fi +fi + +dnl Default GSS service name... +AC_ARG_WITH(gssservicename, [ --with-gssservicename set default gss service name], + default_gssservicename="$withval", + default_gssservicename="default") + +if test x$default_gssservicename != xno; then + if test "x$default_gssservicename" = "xdefault"; then + CUPS_DEFAULT_GSSSERVICENAME="host" + else + CUPS_DEFAULT_GSSSERVICENAME="$default_gssservicename" + fi +else + CUPS_DEFAULT_GSSSERVICENAME="" +fi + +AC_SUBST(CUPS_DEFAULT_GSSSERVICENAME) +AC_DEFINE_UNQUOTED(CUPS_DEFAULT_GSSSERVICENAME, "$CUPS_DEFAULT_GSSSERVICENAME") diff --git a/config-scripts/cups-largefile.m4 b/config-scripts/cups-largefile.m4 new file mode 100644 index 0000000..2470cc3 --- /dev/null +++ b/config-scripts/cups-largefile.m4 @@ -0,0 +1,42 @@ +dnl +dnl Large file support stuff for CUPS. +dnl +dnl Copyright 2007-2011 by Apple Inc. +dnl Copyright 1997-2005 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information. +dnl + +dnl Check for largefile support... +AC_SYS_LARGEFILE + +dnl Define largefile options as needed... +LARGEFILE="" +if test x$enable_largefile != xno; then + LARGEFILE="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" + + if test x$ac_cv_sys_large_files = x1; then + LARGEFILE="$LARGEFILE -D_LARGE_FILES" + fi + + if test x$ac_cv_sys_file_offset_bits = x64; then + LARGEFILE="$LARGEFILE -D_FILE_OFFSET_BITS=64" + fi +fi +AC_SUBST(LARGEFILE) + +dnl Check for "long long" support... +AC_CACHE_CHECK(for long long int, ac_cv_c_long_long, + [if test "$GCC" = yes; then + ac_cv_c_long_long=yes + else + AC_TRY_COMPILE(,[long long int i;], + ac_cv_c_long_long=yes, + ac_cv_c_long_long=no) + fi]) + +if test $ac_cv_c_long_long = yes; then + AC_DEFINE(HAVE_LONG_LONG) +fi + +AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL)) diff --git a/config-scripts/cups-libtool.m4 b/config-scripts/cups-libtool.m4 new file mode 100644 index 0000000..7dfd360 --- /dev/null +++ b/config-scripts/cups-libtool.m4 @@ -0,0 +1,60 @@ +dnl +dnl Libtool stuff for CUPS. +dnl +dnl Copyright 2007-2018 by Apple Inc. +dnl Copyright 1997-2005 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information. +dnl + +AC_ARG_ENABLE(libtool_unsupported, [ --enable-libtool-unsupported=/path/to/libtool + build with libtool (UNSUPPORTED!)], + [if test x$enable_libtool_unsupported != xno; then + if test x$enable_libtool_unsupported == xyes; then + AC_MSG_ERROR([Use --enable-libtool-unsupported=/path/to/libtool.]) + fi + LIBTOOL="$enable_libtool_unsupported" + enable_shared=no + echo "WARNING: libtool is not supported or endorsed by Apple Inc." + echo " WE DO NOT PROVIDE SUPPORT FOR LIBTOOL PROBLEMS." + else + LIBTOOL="" + fi]) + +if test x$LIBTOOL != x; then + DSO="\$(LIBTOOL) --mode=link --tag=CC ${CC}" + DSOXX="\$(LIBTOOL) --mode=link --tag=CXX ${CXX}" + + LD_CC="\$(LIBTOOL) --mode=link --tag=CC ${CC}" + LD_CXX="\$(LIBTOOL) --mode=link --tag=CXX ${CXX}" + + LIBCUPS="libcups.la" + LIBCUPSSTATIC="libcups.la" + LIBCUPSCGI="libcupscgi.la" + LIBCUPSIMAGE="libcupsimage.la" + LIBCUPSMIME="libcupsmime.la" + LIBCUPSPPDC="libcupsppdc.la" + + LIBTOOL_CC="\$(LIBTOOL) --mode=compile --tag=CC" + LIBTOOL_CXX="\$(LIBTOOL) --mode=compile --tag=CXX" + LIBTOOL_INSTALL="\$(LIBTOOL) --mode=install" + + LINKCUPS="../cups/\$(LIBCUPS)" + LINKCUPSIMAGE="../cups/\$(LIBCUPSIMAGE)" + +else + LD_CC="\$(CC)" + LD_CXX="\$(CXX)" + + LIBTOOL_CC="" + LIBTOOL_CXX="" + LIBTOOL_INSTALL="" +fi + +AC_SUBST(LD_CC) +AC_SUBST(LD_CXX) + +AC_SUBST(LIBTOOL) +AC_SUBST(LIBTOOL_CC) +AC_SUBST(LIBTOOL_CXX) +AC_SUBST(LIBTOOL_INSTALL) diff --git a/config-scripts/cups-manpages.m4 b/config-scripts/cups-manpages.m4 new file mode 100644 index 0000000..2277196 --- /dev/null +++ b/config-scripts/cups-manpages.m4 @@ -0,0 +1,29 @@ +dnl +dnl Manpage stuff for CUPS. +dnl +dnl Copyright © 2007-2019 by Apple Inc. +dnl Copyright © 1997-2006 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more +dnl information. +dnl + +dnl Fix "mandir" variable... +if test "$mandir" = "\${datarootdir}/man" -a "$prefix" = "/"; then + # New GNU "standards" break previous ones, so make sure we use + # the right default location for the operating system... + mandir="\${prefix}/man" +fi + +if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then + case "$host_os_name" in + darwin* | linux* | gnu* | *bsd*) + # Darwin, macOS, Linux, GNU HURD, and *BSD + mandir="/usr/share/man" + ;; + *) + # All others + mandir="/usr/man" + ;; + esac +fi diff --git a/config-scripts/cups-network.m4 b/config-scripts/cups-network.m4 new file mode 100644 index 0000000..2854708 --- /dev/null +++ b/config-scripts/cups-network.m4 @@ -0,0 +1,66 @@ +dnl +dnl Networking stuff for CUPS. +dnl +dnl Copyright 2007-2016 by Apple Inc. +dnl Copyright 1997-2005 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information. +dnl + +AC_CHECK_HEADER(resolv.h,AC_DEFINE(HAVE_RESOLV_H),,[ +#include +#include +#include +#include +#include ]) +AC_SEARCH_LIBS(socket, socket) +AC_SEARCH_LIBS(gethostbyaddr, nsl) +AC_SEARCH_LIBS(getifaddrs, nsl, AC_DEFINE(HAVE_GETIFADDRS)) +AC_SEARCH_LIBS(hstrerror, nsl socket resolv, AC_DEFINE(HAVE_HSTRERROR)) +AC_SEARCH_LIBS(rresvport_af, nsl, AC_DEFINE(HAVE_RRESVPORT_AF)) +AC_SEARCH_LIBS(__res_init, resolv bind, AC_DEFINE(HAVE_RES_INIT), + AC_SEARCH_LIBS(res_9_init, resolv bind, AC_DEFINE(HAVE_RES_INIT), + AC_SEARCH_LIBS(res_init, resolv bind, AC_DEFINE(HAVE_RES_INIT)))) + +# Tru64 5.1b leaks file descriptors with these functions; disable until +# we can come up with a test for this... +if test "$host_os_name" != "osf1"; then + AC_SEARCH_LIBS(getaddrinfo, nsl, AC_DEFINE(HAVE_GETADDRINFO)) + AC_SEARCH_LIBS(getnameinfo, nsl, AC_DEFINE(HAVE_GETNAMEINFO)) +fi + +AC_CHECK_MEMBER(struct sockaddr.sa_len,,, [#include ]) +AC_CHECK_HEADER(sys/sockio.h, AC_DEFINE(HAVE_SYS_SOCKIO_H)) + +CUPS_DEFAULT_DOMAINSOCKET="" + +dnl Domain socket support... +AC_ARG_WITH(domainsocket, [ --with-domainsocket set unix domain socket name], + default_domainsocket="$withval", + default_domainsocket="") + +if test x$enable_domainsocket != xno -a x$default_domainsocket != xno; then + if test "x$default_domainsocket" = x; then + case "$host_os_name" in + darwin*) + # Darwin and macOS do their own thing... + CUPS_DEFAULT_DOMAINSOCKET="$localstatedir/run/cupsd" + ;; + *) + # All others use FHS standard... + CUPS_DEFAULT_DOMAINSOCKET="$CUPS_STATEDIR/cups.sock" + ;; + esac + else + CUPS_DEFAULT_DOMAINSOCKET="$default_domainsocket" + fi + + CUPS_LISTEN_DOMAINSOCKET="Listen $CUPS_DEFAULT_DOMAINSOCKET" + + AC_DEFINE_UNQUOTED(CUPS_DEFAULT_DOMAINSOCKET, "$CUPS_DEFAULT_DOMAINSOCKET") +else + CUPS_LISTEN_DOMAINSOCKET="" +fi + +AC_SUBST(CUPS_DEFAULT_DOMAINSOCKET) +AC_SUBST(CUPS_LISTEN_DOMAINSOCKET) diff --git a/config-scripts/cups-opsys.m4 b/config-scripts/cups-opsys.m4 new file mode 100644 index 0000000..f11a9b6 --- /dev/null +++ b/config-scripts/cups-opsys.m4 @@ -0,0 +1,32 @@ +dnl +dnl Operating system stuff for CUPS. +dnl +dnl Copyright © 2007-2019 by Apple Inc. +dnl Copyright © 1997-2006 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more +dnl information. +dnl + +dnl Get the build and host platforms and split the host_os value +AC_CANONICAL_BUILD +AC_CANONICAL_HOST + +[host_os_name=`echo $host_os | sed -e '1,$s/[0-9.]*$//g'`] +[host_os_version=`echo $host_os | sed -e '1,$s/^[^0-9.]*//g' | awk -F. '{print $1 $2}'`] +# Linux often does not yield an OS version we can use... +if test "x$host_os_version" = x; then + host_os_version="0" +fi + +dnl Determine whether we are cross-compiling... +if test "$build" = "$host"; then + # No, build local targets + LOCALTARGET="local" +else + # Yes, don't build local targets + LOCALTARGET="" +fi +AC_SUBST(LOCALTARGET) + +AC_PATH_PROGS(CODE_SIGN, codesign true) diff --git a/config-scripts/cups-pam.m4 b/config-scripts/cups-pam.m4 new file mode 100644 index 0000000..0a9157a --- /dev/null +++ b/config-scripts/cups-pam.m4 @@ -0,0 +1,99 @@ +dnl +dnl PAM stuff for CUPS. +dnl +dnl Copyright 2007-2017 by Apple Inc. +dnl Copyright 1997-2005 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information. +dnl + +AC_ARG_ENABLE(pam, [ --disable-pam disable PAM support]) +AC_ARG_WITH(pam_module, [ --with-pam-module set the PAM module to use]) + +PAMDIR="" +PAMFILE="pam.std" +PAMLIBS="" +PAMMOD="pam_unknown.so" +PAMMODAUTH="pam_unknown.so" + +if test x$enable_pam != xno; then + SAVELIBS="$LIBS" + + AC_CHECK_LIB(dl,dlopen) + AC_CHECK_LIB(pam,pam_start) + AC_CHECK_LIB(pam,pam_set_item,AC_DEFINE(HAVE_PAM_SET_ITEM)) + AC_CHECK_LIB(pam,pam_setcred,AC_DEFINE(HAVE_PAM_SETCRED)) + AC_CHECK_HEADER(security/pam_appl.h) + if test x$ac_cv_header_security_pam_appl_h != xyes; then + AC_CHECK_HEADER(pam/pam_appl.h, + AC_DEFINE(HAVE_PAM_PAM_APPL_H)) + fi + + if test x$ac_cv_lib_pam_pam_start != xno; then + # Set the necessary libraries for PAM... + if test x$ac_cv_lib_dl_dlopen != xno; then + PAMLIBS="-lpam -ldl" + else + PAMLIBS="-lpam" + fi + + # Find the PAM configuration directory, if any... + for dir in /private/etc/pam.d /etc/pam.d; do + if test -d $dir; then + PAMDIR=$dir + break; + fi + done + fi + + LIBS="$SAVELIBS" + + case "$host_os_name" in + darwin*) + # Darwin/macOS + if test "x$with_pam_module" != x; then + PAMFILE="pam.$with_pam_module" + elif test -f /usr/lib/pam/pam_opendirectory.so.2; then + PAMFILE="pam.opendirectory" + else + PAMFILE="pam.securityserver" + fi + ;; + + *) + # All others; this test might need to be updated + # as Linux distributors move things around... + if test "x$with_pam_module" != x; then + PAMMOD="pam_${with_pam_module}.so" + elif test -f /etc/pam.d/common-auth; then + PAMFILE="pam.common" + else + moddir="" + for dir in /lib/security /lib64/security /lib/x86_64-linux-gnu/security /var/lib/pam; do + if test -d $dir; then + moddir=$dir + break; + fi + done + + if test -f $moddir/pam_unix2.so; then + PAMMOD="pam_unix2.so" + elif test -f $moddir/pam_unix.so; then + PAMMOD="pam_unix.so" + fi + fi + + if test "x$PAMMOD" = xpam_unix.so; then + PAMMODAUTH="$PAMMOD shadow nodelay" + else + PAMMODAUTH="$PAMMOD nodelay" + fi + ;; + esac +fi + +AC_SUBST(PAMDIR) +AC_SUBST(PAMFILE) +AC_SUBST(PAMLIBS) +AC_SUBST(PAMMOD) +AC_SUBST(PAMMODAUTH) diff --git a/config-scripts/cups-poll.m4 b/config-scripts/cups-poll.m4 new file mode 100644 index 0000000..e4ddf02 --- /dev/null +++ b/config-scripts/cups-poll.m4 @@ -0,0 +1,12 @@ +dnl +dnl Select/poll stuff for CUPS. +dnl +dnl Copyright 2007-2011 by Apple Inc. +dnl Copyright 2006 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information. +dnl + +AC_CHECK_FUNC(poll, AC_DEFINE(HAVE_POLL)) +AC_CHECK_FUNC(epoll_create, AC_DEFINE(HAVE_EPOLL)) +AC_CHECK_FUNC(kqueue, AC_DEFINE(HAVE_KQUEUE)) diff --git a/config-scripts/cups-sharedlibs.m4 b/config-scripts/cups-sharedlibs.m4 new file mode 100644 index 0000000..6070f21 --- /dev/null +++ b/config-scripts/cups-sharedlibs.m4 @@ -0,0 +1,126 @@ +dnl +dnl Shared library support for CUPS. +dnl +dnl Copyright © 2007-2018 by Apple Inc. +dnl Copyright © 1997-2005 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more +dnl information. +dnl + +PICFLAG=1 +DSOFLAGS="${DSOFLAGS:=}" + +AC_ARG_ENABLE(shared, [ --disable-shared do not create shared libraries]) + +cupsbase="cups" +LIBCUPSBASE="lib$cupsbase" +LIBCUPSIMAGE="" +LIBCUPSSTATIC="lib$cupsbase.a" + +if test x$enable_shared != xno; then + case "$host_os_name" in + sunos*) + LIBCUPS="lib$cupsbase.so.2" + if test "x$cupsimagebase" != x; then + LIBCUPSIMAGE="lib$cupsimagebase.so.2" + fi + DSO="\$(CC)" + DSOXX="\$(CXX)" + DSOFLAGS="$DSOFLAGS -Wl,-h\`basename \$@\` -G" + ;; + linux* | gnu* | *bsd*) + LIBCUPS="lib$cupsbase.so.2" + if test "x$cupsimagebase" != x; then + LIBCUPSIMAGE="lib$cupsimagebase.so.2" + fi + DSO="\$(CC)" + DSOXX="\$(CXX)" + DSOFLAGS="$DSOFLAGS -Wl,-soname,\`basename \$@\` -shared" + ;; + darwin*) + LIBCUPS="lib$cupsbase.2.dylib" + if test "x$cupsimagebase" != x; then + LIBCUPSIMAGE="lib$cupsimagebase.2.dylib" + fi + DSO="\$(CC)" + DSOXX="\$(CXX)" + DSOFLAGS="$DSOFLAGS -Wl,-no_warn_inits -dynamiclib -single_module -lc" + ;; + *) + echo "Warning: shared libraries may not be supported. Trying -shared" + echo " option with compiler." + LIBCUPS="lib$cupsbase.so.2" + if test "x$cupsimagebase" != x; then + LIBCUPSIMAGE="lib$cupsimagebase.so.2" + fi + DSO="\$(CC)" + DSOXX="\$(CXX)" + DSOFLAGS="$DSOFLAGS -Wl,-soname,\`basename \$@\` -shared" + ;; + esac +else + PICFLAG=0 + LIBCUPS="lib$cupsbase.a" + if test "x$cupsimagebase" != x; then + LIBCUPSIMAGE="lib$cupsimagebase.a" + fi + DSO=":" + DSOXX=":" +fi + +AC_SUBST(DSO) +AC_SUBST(DSOXX) +AC_SUBST(DSOFLAGS) +AC_SUBST(LIBCUPS) +AC_SUBST(LIBCUPSBASE) +AC_SUBST(LIBCUPSIMAGE) +AC_SUBST(LIBCUPSSTATIC) + +if test x$enable_shared = xno; then + LINKCUPS="../cups/lib$cupsbase.a \$(LIBS)" + EXTLINKCUPS="-lcups \$LIBS" +else + LINKCUPS="-L../cups -l${cupsbase}" + EXTLINKCUPS="-lcups" +fi + +AC_SUBST(EXTLINKCUPS) +AC_SUBST(LINKCUPS) + +dnl Update libraries for DSOs... +EXPORT_LDFLAGS="" + +if test "$DSO" != ":"; then + # Tell the run-time linkers where to find a DSO. Some platforms + # need this option, even when the library is installed in a + # standard location... + case $host_os_name in + sunos*) + # Solaris... + if test $exec_prefix != /usr; then + DSOFLAGS="-R$libdir $DSOFLAGS" + LDFLAGS="$LDFLAGS -R$libdir" + EXPORT_LDFLAGS="-R$libdir" + fi + ;; + *bsd*) + # *BSD... + if test $exec_prefix != /usr; then + DSOFLAGS="-Wl,-R$libdir $DSOFLAGS" + LDFLAGS="$LDFLAGS -Wl,-R$libdir" + EXPORT_LDFLAGS="-Wl,-R$libdir" + fi + ;; + linux* | gnu*) + # Linux, and HURD... + if test $exec_prefix != /usr; then + DSOFLAGS="-Wl,-rpath,$libdir $DSOFLAGS" + LDFLAGS="$LDFLAGS -Wl,-rpath,$libdir" + EXPORT_LDFLAGS="-Wl,-rpath,$libdir" + fi + ;; + esac +fi + +AC_SUBST(EXPORT_LDFLAGS) diff --git a/config-scripts/cups-ssl.m4 b/config-scripts/cups-ssl.m4 new file mode 100644 index 0000000..c1648b1 --- /dev/null +++ b/config-scripts/cups-ssl.m4 @@ -0,0 +1,83 @@ +dnl +dnl TLS stuff for CUPS. +dnl +dnl Copyright 2007-2019 by Apple Inc. +dnl Copyright 1997-2007 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information. +dnl + +AC_ARG_ENABLE(ssl, [ --disable-ssl disable SSL/TLS support]) +AC_ARG_ENABLE(cdsassl, [ --enable-cdsassl use CDSA for SSL/TLS support, default=first]) +AC_ARG_ENABLE(gnutls, [ --enable-gnutls use GNU TLS for SSL/TLS support, default=second]) + +SSLFLAGS="" +SSLLIBS="" +have_ssl=0 +CUPS_SERVERKEYCHAIN="" + +if test x$enable_ssl != xno; then + dnl Look for CDSA... + if test $have_ssl = 0 -a "x$enable_cdsassl" != "xno"; then + if test $host_os_name = darwin; then + AC_CHECK_HEADER(Security/SecureTransport.h, [ + have_ssl=1 + AC_DEFINE(HAVE_SSL) + AC_DEFINE(HAVE_CDSASSL) + CUPS_SERVERKEYCHAIN="/Library/Keychains/System.keychain" + + dnl Check for the various security headers... + AC_CHECK_HEADER(Security/SecCertificate.h, + AC_DEFINE(HAVE_SECCERTIFICATE_H)) + AC_CHECK_HEADER(Security/SecItem.h, + AC_DEFINE(HAVE_SECITEM_H)) + AC_CHECK_HEADER(Security/SecPolicy.h, + AC_DEFINE(HAVE_SECPOLICY_H))]) + fi + fi + + dnl Then look for GNU TLS... + if test $have_ssl = 0 -a "x$enable_gnutls" != "xno" -a "x$PKGCONFIG" != x; then + AC_PATH_TOOL(LIBGNUTLSCONFIG,libgnutls-config) + if $PKGCONFIG --exists gnutls; then + have_ssl=1 + SSLLIBS=`$PKGCONFIG --libs gnutls` + SSLFLAGS=`$PKGCONFIG --cflags gnutls` + AC_DEFINE(HAVE_SSL) + AC_DEFINE(HAVE_GNUTLS) + elif test "x$LIBGNUTLSCONFIG" != x; then + have_ssl=1 + SSLLIBS=`$LIBGNUTLSCONFIG --libs` + SSLFLAGS=`$LIBGNUTLSCONFIG --cflags` + AC_DEFINE(HAVE_SSL) + AC_DEFINE(HAVE_GNUTLS) + fi + + if test $have_ssl = 1; then + CUPS_SERVERKEYCHAIN="ssl" + + SAVELIBS="$LIBS" + LIBS="$LIBS $SSLLIBS" + AC_CHECK_FUNC(gnutls_transport_set_pull_timeout_function, AC_DEFINE(HAVE_GNUTLS_TRANSPORT_SET_PULL_TIMEOUT_FUNCTION)) + AC_CHECK_FUNC(gnutls_priority_set_direct, AC_DEFINE(HAVE_GNUTLS_PRIORITY_SET_DIRECT)) + LIBS="$SAVELIBS" + fi + fi +fi + +IPPALIASES="http" +if test $have_ssl = 1; then + AC_MSG_RESULT([ Using SSLLIBS="$SSLLIBS"]) + AC_MSG_RESULT([ Using SSLFLAGS="$SSLFLAGS"]) + IPPALIASES="http https ipps" +elif test x$enable_cdsa = xyes -o x$enable_gnutls = xyes; then + AC_MSG_ERROR([Unable to enable SSL support.]) +fi + +AC_SUBST(CUPS_SERVERKEYCHAIN) +AC_SUBST(IPPALIASES) +AC_SUBST(SSLFLAGS) +AC_SUBST(SSLLIBS) + +EXPORT_SSLLIBS="$SSLLIBS" +AC_SUBST(EXPORT_SSLLIBS) diff --git a/config-scripts/cups-startup.m4 b/config-scripts/cups-startup.m4 new file mode 100644 index 0000000..099d46b --- /dev/null +++ b/config-scripts/cups-startup.m4 @@ -0,0 +1,183 @@ +dnl +dnl Launch-on-demand/startup stuff for CUPS. +dnl +dnl Copyright 2007-2017 by Apple Inc. +dnl Copyright 1997-2005 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information. +dnl + +ONDEMANDFLAGS="" +ONDEMANDLIBS="" +AC_SUBST(ONDEMANDFLAGS) +AC_SUBST(ONDEMANDLIBS) + +dnl Launchd is used on macOS/Darwin... +AC_ARG_ENABLE(launchd, [ --disable-launchd disable launchd support]) +LAUNCHD_DIR="" +AC_SUBST(LAUNCHD_DIR) + +if test x$enable_launchd != xno; then + AC_CHECK_FUNC(launch_activate_socket, [ + AC_DEFINE(HAVE_LAUNCHD) + AC_DEFINE(HAVE_ONDEMAND)]) + AC_CHECK_HEADER(launch.h, AC_DEFINE(HAVE_LAUNCH_H)) + + if test "$host_os_name" = darwin; then + LAUNCHD_DIR="/System/Library/LaunchDaemons" + # liblaunch is already part of libSystem + fi +fi + +dnl Systemd is used on Linux... +AC_ARG_ENABLE(systemd, [ --disable-systemd disable systemd support]) +AC_ARG_WITH(systemd, [ --with-systemd set directory for systemd service files], + SYSTEMD_DIR="$withval", SYSTEMD_DIR="") +AC_SUBST(SYSTEMD_DIR) + +if test x$enable_systemd != xno; then + if test "x$PKGCONFIG" = x; then + if test x$enable_systemd = xyes; then + AC_MSG_ERROR(Need pkg-config to enable systemd support.) + fi + else + have_systemd=no + AC_MSG_CHECKING(for libsystemd) + if $PKGCONFIG --exists libsystemd; then + AC_MSG_RESULT(yes) + have_systemd=yes + ONDEMANDFLAGS=`$PKGCONFIG --cflags libsystemd` + ONDEMANDLIBS=`$PKGCONFIG --libs libsystemd` + elif $PKGCONFIG --exists libsystemd-daemon; then + AC_MSG_RESULT(yes - legacy) + have_systemd=yes + ONDEMANDFLAGS=`$PKGCONFIG --cflags libsystemd-daemon` + ONDEMANDLIBS=`$PKGCONFIG --libs libsystemd-daemon` + + if $PKGCONFIG --exists libsystemd-journal; then + ONDEMANDFLAGS="$ONDEMANDFLAGS `$PKGCONFIG --cflags libsystemd-journal`" + ONDEMANDLIBS="$ONDEMANDLIBS `$PKGCONFIG --libs libsystemd-journal`" + fi + else + AC_MSG_RESULT(no) + fi + + if test $have_systemd = yes; then + AC_DEFINE(HAVE_SYSTEMD) + AC_DEFINE(HAVE_ONDEMAND) + AC_CHECK_HEADER(systemd/sd-journal.h,AC_DEFINE(HAVE_SYSTEMD_SD_JOURNAL_H)) + if test "x$SYSTEMD_DIR" = x; then + SYSTEMD_DIR="`$PKGCONFIG --variable=systemdsystemunitdir systemd`" + fi + fi + fi +fi + +dnl Upstart is also used on Linux (e.g., Chrome OS) +AC_ARG_ENABLE(upstart, [ --enable-upstart enable upstart support]) +if test "x$enable_upstart" = "xyes"; then + if test "x$have_systemd" = "xyes"; then + AC_MSG_ERROR(Cannot support both systemd and upstart.) + fi + AC_DEFINE(HAVE_UPSTART) + AC_DEFINE(HAVE_ONDEMAND) +fi + +dnl Solaris uses smf +SMFMANIFESTDIR="" +AC_SUBST(SMFMANIFESTDIR) +AC_ARG_WITH(smfmanifestdir, [ --with-smfmanifestdir set path for Solaris SMF manifest],SMFMANIFESTDIR="$withval") + +dnl Use init on other platforms... +AC_ARG_WITH(rcdir, [ --with-rcdir set path for rc scripts],rcdir="$withval",rcdir="") +AC_ARG_WITH(rclevels, [ --with-rclevels set run levels for rc scripts],rclevels="$withval",rclevels="2 3 5") +AC_ARG_WITH(rcstart, [ --with-rcstart set start number for rc scripts],rcstart="$withval",rcstart="") +AC_ARG_WITH(rcstop, [ --with-rcstop set stop number for rc scripts],rcstop="$withval",rcstop="") + +if test x$rcdir = x; then + if test x$LAUNCHD_DIR = x -a x$SYSTEMD_DIR = x -a x$SMFMANIFESTDIR = x; then + # Fall back on "init", the original service startup interface... + if test -d /sbin/init.d; then + # SuSE + rcdir="/sbin/init.d" + elif test -d /etc/init.d; then + # Others + rcdir="/etc" + else + # RedHat, NetBSD + rcdir="/etc/rc.d" + fi + else + rcdir="no" + fi +fi + +if test "x$rcstart" = x; then + case "$host_os_name" in + linux* | gnu*) + # Linux + rcstart="81" + ;; + + sunos*) + # Solaris + rcstart="81" + ;; + + *) + # Others + rcstart="99" + ;; + esac +fi + +if test "x$rcstop" = x; then + case "$host_os_name" in + linux* | gnu*) + # Linux + rcstop="36" + ;; + + *) + # Others + rcstop="00" + ;; + esac +fi + +INITDIR="" +INITDDIR="" +RCLEVELS="$rclevels" +RCSTART="$rcstart" +RCSTOP="$rcstop" +AC_SUBST(INITDIR) +AC_SUBST(INITDDIR) +AC_SUBST(RCLEVELS) +AC_SUBST(RCSTART) +AC_SUBST(RCSTOP) + +if test "x$rcdir" != xno; then + if test "x$rclevels" = x; then + INITDDIR="$rcdir" + else + INITDIR="$rcdir" + fi +fi + +dnl Xinetd support... +AC_ARG_WITH(xinetd, [ --with-xinetd set path for xinetd config files],xinetd="$withval",xinetd="") +XINETD="" +AC_SUBST(XINETD) + +if test "x$xinetd" = x; then + if test ! -x /sbin/launchd; then + for dir in /etc/xinetd.d /usr/local/etc/xinetd.d; do + if test -d $dir; then + XINETD="$dir" + break + fi + done + fi +elif test "x$xinetd" != xno; then + XINETD="$xinetd" +fi diff --git a/config-scripts/cups-threads.m4 b/config-scripts/cups-threads.m4 new file mode 100644 index 0000000..f054899 --- /dev/null +++ b/config-scripts/cups-threads.m4 @@ -0,0 +1,44 @@ +dnl +dnl Threading stuff for CUPS. +dnl +dnl Copyright 2007-2017 by Apple Inc. +dnl Copyright 1997-2005 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more information. +dnl + +AC_ARG_ENABLE(threads, [ --disable-threads disable multi-threading support]) + +have_pthread=no +PTHREAD_FLAGS="" + +if test "x$enable_threads" != xno; then + AC_CHECK_HEADER(pthread.h, AC_DEFINE(HAVE_PTHREAD_H)) + + if test x$ac_cv_header_pthread_h = xyes; then + dnl Check various threading options for the platforms we support + for flag in -lpthreads -lpthread -pthread; do + AC_MSG_CHECKING([for pthread_create using $flag]) + SAVELIBS="$LIBS" + LIBS="$flag $LIBS" + AC_TRY_LINK([#include ], + [pthread_create(0, 0, 0, 0);], + have_pthread=yes, + LIBS="$SAVELIBS") + AC_MSG_RESULT([$have_pthread]) + + if test $have_pthread = yes; then + PTHREAD_FLAGS="-D_THREAD_SAFE -D_REENTRANT" + + # Solaris requires -D_POSIX_PTHREAD_SEMANTICS to + # be POSIX-compliant... :( + if test $host_os_name = sunos; then + PTHREAD_FLAGS="$PTHREAD_FLAGS -D_POSIX_PTHREAD_SEMANTICS" + fi + break + fi + done + fi +fi + +AC_SUBST(PTHREAD_FLAGS) diff --git a/config.guess b/config.guess new file mode 100755 index 0000000..9afd676 --- /dev/null +++ b/config.guess @@ -0,0 +1,1568 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright 1992-2013 Free Software Foundation, Inc. + +timestamp='2013-11-29' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). +# +# Originally written by Per Bothner. +# +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +# +# Please send patches with a ChangeLog entry to config-patches@gnu.org. + + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright 1992-2013 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +case "${UNAME_SYSTEM}" in +Linux|GNU|GNU/*) + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + LIBC=gnu + + eval $set_cc_for_build + cat <<-EOF > $dummy.c + #include + #if defined(__UCLIBC__) + LIBC=uclibc + #elif defined(__dietlibc__) + LIBC=dietlibc + #else + LIBC=gnu + #endif + EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + ;; +esac + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ELF__ + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit ;; + arm*:riscos:*:*|arm*:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux${UNAME_RELEASE} + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + eval $set_cc_for_build + SUN_ARCH="i386" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos${UNAME_RELEASE} + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[4567]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:FreeBSD:*:*) + UNAME_PROCESSOR=`/usr/bin/uname -p` + case ${UNAME_PROCESSOR} in + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit ;; + *:MINGW64*:*) + echo ${UNAME_MACHINE}-pc-mingw64 + exit ;; + *:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + i*:MSYS*:*) + echo ${UNAME_MACHINE}-pc-msys + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + *:Interix*:*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + authenticamd | genuineintel | EM64T) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + *:GNU:*:*) + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + aarch64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + aarch64_be:Linux:*:*) + UNAME_MACHINE=aarch64_be + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC="gnulibc1" ; fi + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + arc:Linux:*:* | arceb:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + else + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi + else + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf + fi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + cris:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-${LIBC} + exit ;; + crisv32:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-${LIBC} + exit ;; + frv:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + hexagon:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + i*86:Linux:*:*) + echo ${UNAME_MACHINE}-pc-linux-${LIBC} + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } + ;; + or1k:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + or32:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-${LIBC} + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-${LIBC} + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; + PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; + *) echo hppa-unknown-linux-${LIBC} ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-${LIBC} + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-${LIBC} + exit ;; + ppc64le:Linux:*:*) + echo powerpc64le-unknown-linux-${LIBC} + exit ;; + ppcle:Linux:*:*) + echo powerpcle-unknown-linux-${LIBC} + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux-${LIBC} + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-${LIBC} + exit ;; + x86_64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes . + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + x86_64:Haiku:*:*) + echo x86_64-unknown-haiku + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + eval $set_cc_for_build + if test "$UNAME_PROCESSOR" = unknown ; then + UNAME_PROCESSOR=powerpc + fi + if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + fi + elif test "$UNAME_PROCESSOR" = i386 ; then + # Avoid executing cc on OS X 10.9, as it ships with a stub + # that puts up a graphical alert prompting to install + # developer tools. Any system running Mac OS X 10.7 or + # later (Darwin 11 and later) is required to have a 64-bit + # processor. This is not true of the ARM version of Darwin + # that Apple uses in portable devices. + UNAME_PROCESSOR=x86_64 + fi + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NEO-?:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; + NSE-*:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; + x86_64:VMkernel:*:*) + echo ${UNAME_MACHINE}-unknown-esx + exit ;; +esac + +eval $set_cc_for_build +cat >$dummy.c < +# include +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + +cat >&2 < in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/config.h.in b/config.h.in new file mode 100644 index 0000000..1c2d7a8 --- /dev/null +++ b/config.h.in @@ -0,0 +1,680 @@ +/* + * Configuration file for CUPS. + * + * Copyright 2007-2019 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_CONFIG_H_ +#define _CUPS_CONFIG_H_ + +/* + * Version of software... + */ + +#define CUPS_SVERSION "" +#define CUPS_MINIMAL "" +#define CUPS_LITE 0 + + +/* + * Default user and groups... + */ + +#define CUPS_DEFAULT_USER "lp" +#define CUPS_DEFAULT_GROUP "sys" +#define CUPS_DEFAULT_SYSTEM_GROUPS "sys root system" +#define CUPS_DEFAULT_PRINTOPERATOR_AUTH "@SYSTEM" +#define CUPS_DEFAULT_SYSTEM_AUTHKEY "system.print.admin" + + +/* + * Default file permissions... + */ + +#define CUPS_DEFAULT_CONFIG_FILE_PERM 0640 +#define CUPS_DEFAULT_LOG_FILE_PERM 0644 + + +/* + * Default logging settings... + */ + +#define CUPS_DEFAULT_LOG_LEVEL "warn" +#define CUPS_DEFAULT_ACCESS_LOG_LEVEL "actions" + + +/* + * Default fatal error settings... + */ + +#define CUPS_DEFAULT_FATAL_ERRORS "config" + + +/* + * Default browsing settings... + */ + +#define CUPS_DEFAULT_BROWSING 1 +#define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "" +#define CUPS_DEFAULT_DEFAULT_SHARED 1 + + +/* + * Default IPP port... + */ + +#define CUPS_DEFAULT_IPP_PORT 631 + + +/* + * Default printcap file... + */ + +#define CUPS_DEFAULT_PRINTCAP "/etc/printcap" + + +/* + * Default Samba and LPD config files... + */ + +#define CUPS_DEFAULT_SMB_CONFIG_FILE "" +#define CUPS_DEFAULT_LPD_CONFIG_FILE "" + + +/* + * Default MaxCopies value... + */ + +#define CUPS_DEFAULT_MAX_COPIES 9999 + + +/* + * Do we have domain socket support, and if so what is the default one? + */ + +#undef CUPS_DEFAULT_DOMAINSOCKET + + +/* + * Default WebInterface value... + */ + +#undef CUPS_DEFAULT_WEBIF + + +/* + * Where are files stored? + * + * Note: These are defaults, which can be overridden by environment + * variables at run-time... + */ + +#define CUPS_BINDIR "/usr/bin" +#define CUPS_CACHEDIR "/var/cache/cups" +#define CUPS_DATADIR "/usr/share/cups" +#define CUPS_DOCROOT "/usr/share/doc/cups" +#define CUPS_FONTPATH "/usr/share/cups/fonts" +#define CUPS_LOCALEDIR "/usr/share/locale" +#define CUPS_LOGDIR "/var/logs/cups" +#define CUPS_REQUESTS "/var/spool/cups" +#define CUPS_SBINDIR "/usr/sbin" +#define CUPS_SERVERBIN "/usr/lib/cups" +#define CUPS_SERVERROOT "/etc/cups" +#define CUPS_STATEDIR "/var/run/cups" + + +/* + * Do we have posix_spawn? + */ + +#undef HAVE_POSIX_SPAWN + + +/* + * Do we have ZLIB? + */ + +#undef HAVE_LIBZ +#undef HAVE_INFLATECOPY + + +/* + * Do we have PAM stuff? + */ + +#define HAVE_LIBPAM 0 +#undef HAVE_PAM_PAM_APPL_H +#undef HAVE_PAM_SET_ITEM +#undef HAVE_PAM_SETCRED + + +/* + * Do we have ? + */ + +#undef HAVE_SHADOW_H + + +/* + * Do we have ? + */ + +#undef HAVE_CRYPT_H + + +/* + * Use ? + */ + +#undef HAVE_STDINT_H + + +/* + * Use , , and/or ? + */ + +#undef HAVE_STRING_H +#undef HAVE_STRINGS_H +#undef HAVE_BSTRING_H + + +/* + * Do we have the long long type? + */ + +#undef HAVE_LONG_LONG + +#ifdef HAVE_LONG_LONG +# define CUPS_LLFMT "%lld" +# define CUPS_LLCAST (long long) +#else +# define CUPS_LLFMT "%ld" +# define CUPS_LLCAST (long) +#endif /* HAVE_LONG_LONG */ + + +/* + * Do we have the strtoll() function? + */ + +#undef HAVE_STRTOLL + +#ifndef HAVE_STRTOLL +# define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base)) +#endif /* !HAVE_STRTOLL */ + + +/* + * Do we have the strXXX() functions? + */ + +#undef HAVE_STRDUP +#undef HAVE_STRLCAT +#undef HAVE_STRLCPY + + +/* + * Do we have the geteuid() function? + */ + +#undef HAVE_GETEUID + + +/* + * Do we have the setpgid() function? + */ + +#undef HAVE_SETPGID + + +/* + * Do we have the vsyslog() function? + */ + +#undef HAVE_VSYSLOG + + +/* + * Do we have the systemd journal functions? + */ + +#undef HAVE_SYSTEMD_SD_JOURNAL_H + + +/* + * Do we have the (v)snprintf() functions? + */ + +#undef HAVE_SNPRINTF +#undef HAVE_VSNPRINTF + + +/* + * What signal functions to use? + */ + +#undef HAVE_SIGSET +#undef HAVE_SIGACTION + + +/* + * What wait functions to use? + */ + +#undef HAVE_WAITPID +#undef HAVE_WAIT3 + + +/* + * Do we have the mallinfo function and malloc.h? + */ + +#undef HAVE_MALLINFO +#undef HAVE_MALLOC_H + + +/* + * Do we have the POSIX ACL functions? + */ + +#undef HAVE_ACL_INIT + + +/* + * Do we have the langinfo.h header file? + */ + +#undef HAVE_LANGINFO_H + + +/* + * Which encryption libraries do we have? + */ + +#undef HAVE_CDSASSL +#undef HAVE_GNUTLS +#undef HAVE_SSPISSL +#undef HAVE_SSL + + +/* + * Do we have the gnutls_transport_set_pull_timeout_function function? + */ + +#undef HAVE_GNUTLS_TRANSPORT_SET_PULL_TIMEOUT_FUNCTION + + +/* + * Do we have the gnutls_priority_set_direct function? + */ + +#undef HAVE_GNUTLS_PRIORITY_SET_DIRECT + + +/* + * What Security framework headers do we have? + */ + +#undef HAVE_AUTHORIZATION_H +#undef HAVE_SECCERTIFICATE_H +#undef HAVE_SECITEM_H +#undef HAVE_SECPOLICY_H + + +/* + * Do we have the SecGenerateSelfSignedCertificate function? + */ + +#undef HAVE_SECGENERATESELFSIGNEDCERTIFICATE + + +/* + * Do we have libpaper? + */ + +#undef HAVE_LIBPAPER + + +/* + * Do we have mDNSResponder for DNS Service Discovery (aka Bonjour)? + */ + +#undef HAVE_DNSSD + + +/* + * Do we have Avahi for DNS Service Discovery (aka Bonjour)? + */ + +#undef HAVE_AVAHI + + +/* + * Do we have ? + */ + +#undef HAVE_SYS_IOCTL_H + + +/* + * Does the "stat" structure contain the "st_gen" member? + */ + +#undef HAVE_ST_GEN + + +/* + * Does the "tm" structure contain the "tm_gmtoff" member? + */ + +#undef HAVE_TM_GMTOFF + + +/* + * Do we have rresvport_af()? + */ + +#undef HAVE_RRESVPORT_AF + + +/* + * Do we have getaddrinfo()? + */ + +#undef HAVE_GETADDRINFO + + +/* + * Do we have getnameinfo()? + */ + +#undef HAVE_GETNAMEINFO + + +/* + * Do we have getifaddrs()? + */ + +#undef HAVE_GETIFADDRS + + +/* + * Do we have hstrerror()? + */ + +#undef HAVE_HSTRERROR + + +/* + * Do we have res_init()? + */ + +#undef HAVE_RES_INIT + + +/* + * Do we have + */ + +#undef HAVE_RESOLV_H + + +/* + * Do we have the header file? + */ + +#undef HAVE_SYS_SOCKIO_H + + +/* + * Does the sockaddr structure contain an sa_len parameter? + */ + +#undef HAVE_STRUCT_SOCKADDR_SA_LEN + + +/* + * Do we have pthread support? + */ + +#undef HAVE_PTHREAD_H + + +/* + * Do we have on-demand support (launchd/systemd/upstart)? + */ + +#undef HAVE_ONDEMAND + + +/* + * Do we have launchd support? + */ + +#undef HAVE_LAUNCH_H +#undef HAVE_LAUNCHD + + +/* + * Do we have systemd support? + */ + +#undef HAVE_SYSTEMD + + +/* + * Do we have upstart support? + */ + +#undef HAVE_UPSTART + + +/* + * Do we have CoreFoundation public headers? + */ + +#undef HAVE_COREFOUNDATION_H + + +/* + * Do we have ApplicationServices public headers? + */ + +#undef HAVE_APPLICATIONSERVICES_H + + +/* + * Do we have the SCDynamicStoreCopyComputerName function? + */ + +#undef HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME + + +/* + * Do we have the getgrouplist() function? + */ + +#undef HAVE_GETGROUPLIST + + +/* + * Do we have macOS 10.4's mbr_XXX functions? + */ + +#undef HAVE_MEMBERSHIP_H +#undef HAVE_MBR_UID_TO_UUID + + +/* + * Do we have Darwin's notify_post header and function? + */ + +#undef HAVE_NOTIFY_H +#undef HAVE_NOTIFY_POST + + +/* + * Do we have DBUS? + */ + +#undef HAVE_DBUS +#undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND +#undef HAVE_DBUS_THREADS_INIT + + +/* + * Do we have the GSSAPI support library (for Kerberos support)? + */ + +#undef HAVE_GSS_ACQUIRE_CRED_EX_F +#undef HAVE_GSS_C_NT_HOSTBASED_SERVICE +#undef HAVE_GSS_GSSAPI_H +#undef HAVE_GSS_GSSAPI_SPI_H +#undef HAVE_GSSAPI +#undef HAVE_GSSAPI_GSSAPI_H +#undef HAVE_GSSAPI_H + + +/* + * Default GSS service name... + */ + +#define CUPS_DEFAULT_GSSSERVICENAME "" + + +/* + * Select/poll interfaces... + */ + +#undef HAVE_POLL +#undef HAVE_EPOLL +#undef HAVE_KQUEUE + + +/* + * Do we have the header? + */ + +#undef HAVE_DLFCN_H + + +/* + * Do we have ? + */ + +#undef HAVE_SYS_PARAM_H + + +/* + * Do we have ? + */ + +#undef HAVE_SYS_UCRED_H + + +/* + * Do we have removefile()? + */ + +#undef HAVE_REMOVEFILE + + +/* + * Do we have ? + */ + +#undef HAVE_SANDBOX_H + + +/* + * Which random number generator function to use... + */ + +#undef HAVE_ARC4RANDOM +#undef HAVE_RANDOM +#undef HAVE_LRAND48 + +#ifdef HAVE_ARC4RANDOM +# define CUPS_RAND() arc4random() +# define CUPS_SRAND(v) +#elif defined(HAVE_RANDOM) +# define CUPS_RAND() random() +# define CUPS_SRAND(v) srandom(v) +#elif defined(HAVE_LRAND48) +# define CUPS_RAND() lrand48() +# define CUPS_SRAND(v) srand48(v) +#else +# define CUPS_RAND() rand() +# define CUPS_SRAND(v) srand(v) +#endif /* HAVE_ARC4RANDOM */ + + +/* + * Do we have libusb? + */ + +#undef HAVE_LIBUSB + + +/* + * Do we have libwrap and tcpd.h? + */ + +#undef HAVE_TCPD_H + + +/* + * Do we have ? + */ + +#undef HAVE_ICONV_H + + +/* + * Do we have statfs or statvfs and one of the corresponding headers? + */ + +#undef HAVE_STATFS +#undef HAVE_STATVFS +#undef HAVE_SYS_MOUNT_H +#undef HAVE_SYS_STATFS_H +#undef HAVE_SYS_STATVFS_H +#undef HAVE_SYS_VFS_H + + +/* + * Location of macOS localization bundle, if any. + */ + +#undef CUPS_BUNDLEDIR + + +/* + * Do we have XPC? + */ + +#undef HAVE_XPC + + +/* + * Do we have the C99 abs() function? + */ + +#undef HAVE_ABS +#if !defined(HAVE_ABS) && !defined(abs) +# if defined(__GNUC__) || __STDC_VERSION__ >= 199901L +# define abs(x) _cups_abs(x) +static inline int _cups_abs(int i) { return (i < 0 ? -i : i); } +# elif defined(_MSC_VER) +# define abs(x) _cups_abs(x) +static __inline int _cups_abs(int i) { return (i < 0 ? -i : i); } +# else +# define abs(x) ((x) < 0 ? -(x) : (x)) +# endif /* __GNUC__ || __STDC_VERSION__ */ +#endif /* !HAVE_ABS && !abs */ + +#endif /* !_CUPS_CONFIG_H_ */ diff --git a/config.sub b/config.sub new file mode 100755 index 0000000..61cb4bc --- /dev/null +++ b/config.sub @@ -0,0 +1,1793 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright 1992-2013 Free Software Foundation, Inc. + +timestamp='2013-10-01' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). + + +# Please send patches with a ChangeLog entry to config-patches@gnu.org. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +Copyright 1992-2013 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + android-linux) + os=-linux-android + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis | -knuth | -cray | -microblaze*) + os= + basic_machine=$1 + ;; + -bluegene*) + os=-cnk + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*178) + os=-lynxos178 + ;; + -lynx*5) + os=-lynxos5 + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | aarch64 | aarch64_be \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arceb \ + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ + | avr | avr32 \ + | be32 | be64 \ + | bfin \ + | c4x | c8051 | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | epiphany \ + | fido | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | k1om \ + | le32 | le64 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipsr5900 | mipsr5900el \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nds32 | nds32le | nds32be \ + | nios | nios2 | nios2eb | nios2el \ + | ns16k | ns32k \ + | open8 \ + | or1k | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ + | pyramid \ + | rl78 | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ + | ubicom32 \ + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ + | we32k \ + | x86 | xc16x | xstormy16 | xtensa \ + | z8k | z80) + basic_machine=$basic_machine-unknown + ;; + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown + ;; + + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + xgate) + basic_machine=$basic_machine-unknown + os=-none + ;; + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | aarch64-* | aarch64_be-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | be32-* | be64-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ + | c8051-* | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | hexagon-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | k1om-* \ + | le32-* | le64-* \ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ + | microblaze-* | microblazeel-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64octeon-* | mips64octeonel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipsr5900-* | mipsr5900el-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nds32-* | nds32le-* | nds32be-* \ + | nios-* | nios2-* | nios2eb-* | nios2el-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ + | pyramid-* \ + | rl78-* | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ + | tahoe-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile*-* \ + | tron-* \ + | ubicom32-* \ + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ + | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ + | xstormy16-* | xtensa*-* \ + | ymp-* \ + | z8k-* | z80-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aros) + basic_machine=i386-pc + os=-aros + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c54x-*) + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16 | cr16-*) + basic_machine=cr16-unknown + os=-elf + ;; + crds | unos) + basic_machine=m68k-crds + ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + microblaze*) + basic_machine=microblaze-xilinx + ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 + ;; + mingw32) + basic_machine=i686-pc + os=-mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + msys) + basic_machine=i686-pc + os=-msys + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + nacl) + basic_machine=le32-unknown + os=-nacl + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc | ppcbe) basic_machine=powerpc-unknown + ;; + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos | rdos64) + basic_machine=x86_64-pc + os=-rdos + ;; + rdos32) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh5el) + basic_machine=sh5le-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tile*) + basic_machine=$basic_machine-unknown + os=-linux-gnu + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + z80-*-coff) + basic_machine=z80-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -auroraux) + os=-auroraux + ;; + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* | -plan9* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* | -aros* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -bitrig* | -openbsd* | -solidbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -zvmoe) + os=-zvmoe + ;; + -dicos*) + os=-dicos + ;; + -nacl*) + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + c8051-*) + os=-elf + ;; + hexagon-*) + os=-elf + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + ;; + m68*-cisco) + os=-aout + ;; + mep-*) + os=-elf + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or1k-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-haiku) + os=-haiku + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -cnk*|-aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/configure b/configure new file mode 100755 index 0000000..004ecee --- /dev/null +++ b/configure @@ -0,0 +1,11178 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.69 for CUPS 2.3.1. +# +# Report bugs to . +# +# +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and +$0: https://github.com/apple/cups/issues about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='CUPS' +PACKAGE_TARNAME='cups' +PACKAGE_VERSION='2.3.1' +PACKAGE_STRING='CUPS 2.3.1' +PACKAGE_BUGREPORT='https://github.com/apple/cups/issues' +PACKAGE_URL='https://www.cups.org/' + +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_default_prefix=/ +ac_subst_vars='LTLIBOBJS +LIBOBJS +UNINSTALL_LANGUAGES +INSTALL_LANGUAGES +CUPS_WEBIF +DEFAULT_IPP_PORT +CUPS_SNMP_COMMUNITY +CUPS_SNMP_ADDRESS +DEFAULT_RAW_PRINTING +CUPS_MAX_COPIES +CUPS_DEFAULT_SMB_CONFIG_FILE +CUPS_DEFAULT_LPD_CONFIG_FILE +CUPS_DEFAULT_PRINTCAP +CUPS_PRIMARY_SYSTEM_GROUP +CUPS_SYSTEM_GROUPS +CUPS_GROUP +CUPS_USER +CUPS_DEFAULT_SHARED +CUPS_BROWSE_LOCAL_PROTOCOLS +CUPS_BROWSING +CUPS_PAGE_LOG_FORMAT +CUPS_ACCESS_LOG_LEVEL +CUPS_LOG_LEVEL +CUPS_FATAL_ERRORS +CUPS_LOG_FILE_PERM +CUPS_CUPSD_FILE_PERM +CUPS_CONFIG_FILE_PERM +CUPS_EXE_FILE_PERM +CUPS_RESOURCEDIR +CUPS_BUNDLEDIR +LANGUAGES +XINETD +RCSTOP +RCSTART +RCLEVELS +INITDDIR +INITDIR +SMFMANIFESTDIR +SYSTEMD_DIR +LAUNCHD_DIR +ONDEMANDLIBS +ONDEMANDFLAGS +IPPFIND_MAN +IPPFIND_BIN +DNSSD_BACKEND +DNSSDLIBS +LARGEFILE +PAMMODAUTH +PAMMOD +PAMLIBS +PAMFILE +PAMDIR +EXPORT_SSLLIBS +SSLLIBS +SSLFLAGS +IPPALIASES +CUPS_SERVERKEYCHAIN +LIBGNUTLSCONFIG +PTHREAD_FLAGS +CUPS_DEFAULT_GSSSERVICENAME +KRB5CONFIG +LIBGSSAPI +CUPS_LISTEN_DOMAINSOCKET +CUPS_DEFAULT_DOMAINSOCKET +WARNING_OPTIONS +RELROFLAGS +PIEFLAGS +CXXLIBS +LDARCHFLAGS +ARCHFLAGS +UNITTESTS +OPTIM +INSTALL_STRIP +LIBTOOL_INSTALL +LIBTOOL_CXX +LIBTOOL_CC +LIBTOOL +LD_CXX +LD_CC +EXPORT_LDFLAGS +LINKCUPS +EXTLINKCUPS +LIBCUPSSTATIC +LIBCUPSIMAGE +LIBCUPSBASE +LIBCUPS +DSOFLAGS +DSOXX +DSO +CUPS_STATEDIR +CUPS_SERVERROOT +INSTALL_SYSV +CUPS_SERVERBIN +CUPS_REQUESTS +CUPS_LOGDIR +CUPS_LOCALEDIR +CUPS_FONTPATH +CUPS_DOCROOT +MENUDIR +ICONDIR +CUPS_DATADIR +CUPS_CACHEDIR +PRIVATEINCLUDE +privateinclude +LIBHEADERSPRIV +LIBHEADERS +LIBCUPSOBJS +IPPEVECOMMANDS +BUILDDIRS +INSTALLXPC +CUPS_SYSTEM_AUTHKEY +CUPS_DEFAULT_PRINTOPERATOR_AUTH +DBUS_NOTIFIERLIBS +DBUS_NOTIFIER +DBUSDIR +SERVERLIBS +BACKLIBS +ARFLAGS +LIBZ +INSTALL_GZIP +LIBWRAP +USBQUIRKS +LIBUSB +EGREP +GREP +LIBPAPER +LIBMALLOC +PKGCONFIG +INSTALLSTATIC +CUPS_HTMLVIEW +XDGOPEN +SED +RMDIR +RM +MV +MKDIR +LN +LD +INSTALL +GZIPPROG +CHMOD +AR +RANLIB +ac_ct_CXX +CXXFLAGS +CXX +CPP +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +AWK +CUPS_BUILD +CUPS_REVISION +CUPS_VERSION +CODE_SIGN +LOCALTARGET +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +with_cups_build +enable_static +enable_mallinfo +enable_libpaper +enable_libusb +enable_tcp_wrappers +enable_acl +enable_dbus +with_dbusdir +with_adminkey +with_operkey +with_components +with_privateinclude +with_lpdconfig +with_smbconfig +with_cachedir +with_icondir +with_menudir +with_docdir +with_fontpath +with_logdir +with_rundir +enable_shared +enable_libtool_unsupported +with_optim +enable_debug +enable_debug_guards +enable_debug_printfs +enable_unit_tests +with_archflags +with_ldarchflags +enable_relro +enable_sanitizer +with_domainsocket +enable_gssapi +with_gssservicename +enable_threads +enable_ssl +enable_cdsassl +enable_gnutls +enable_pam +with_pam_module +enable_largefile +enable_avahi +enable_dnssd +with_dnssd_libs +with_dnssd_includes +enable_launchd +enable_systemd +with_systemd +enable_upstart +with_smfmanifestdir +with_rcdir +with_rclevels +with_rcstart +with_rcstop +with_xinetd +with_languages +with_bundledir +with_bundlelang +with_exe_file_perm +with_config_file_perm +with_cupsd_file_perm +with_log_file_perm +with_fatal_errors +with_log_level +with_access_log_level +enable_page_logging +enable_browsing +with_local_protocols +enable_default_shared +with_cups_user +with_cups_group +with_system_groups +with_printcap +with_lpdconfigfile +with_smbconfigfile +with_max_copies +enable_raw_printing +with_snmp_address +with_snmp_community +with_ipp_port +enable_webif +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP +CXX +CXXFLAGS +CCC' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures CUPS 2.3.1 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/cups] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of CUPS 2.3.1:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-static install static libraries + --enable-mallinfo build with malloc debug logging + --enable-libpaper build with libpaper support + --enable-libusb use libusb for USB printing + --enable-tcp-wrappers use libwrap for TCP wrappers support + --enable-acl build with POSIX ACL support + --disable-dbus build without DBUS support + --disable-shared do not create shared libraries + --enable-libtool-unsupported=/path/to/libtool + build with libtool (UNSUPPORTED!) + --enable-debug build with debugging symbols + --enable-debug-guards build with memory allocation guards + --enable-debug-printfs build with CUPS_DEBUG_LOG support + --enable-unit-tests build and run unit tests + --enable-relro build with the GCC relro option + --enable-sanitizer build with AddressSanitizer + --disable-gssapi disable GSSAPI support + --disable-threads disable multi-threading support + --disable-ssl disable SSL/TLS support + --enable-cdsassl use CDSA for SSL/TLS support, default=first + --enable-gnutls use GNU TLS for SSL/TLS support, default=second + --disable-pam disable PAM support + --disable-largefile omit support for large files + --disable-avahi disable DNS Service Discovery support using Avahi + --disable-dnssd disable DNS Service Discovery support using mDNSResponder + --disable-launchd disable launchd support + --disable-systemd disable systemd support + --enable-upstart enable upstart support + --enable-page-logging enable page_log by default + --disable-browsing disable Browsing by default + --disable-default-shared + disable DefaultShared by default + --disable-raw-printing do not allow raw printing by default + --enable-webif enable the web interface by default, default=no for macOS + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-cups-build set "cups-config --build" string + --with-dbusdir set DBUS configuration directory + --with-adminkey set the default SystemAuthKey value + --with-operkey set the default operator @AUTHKEY value + --with-components set components to build: + - "all" (default) builds everything + - "core" builds libcups and ipptool + - "libcups" builds just libcups + - "libcupslite" builds just libcups without driver support + --with-privateinclude set path for private include files, default=none + --with-lpdconfig set URI for LPD config file + --with-smbconfig set URI for Samba config file + --with-cachedir set path for cache files + --with-icondir set path for application icons + --with-menudir set path for application menus + --with-docdir set path for documentation + --with-fontpath set font path for pstoraster + --with-logdir set path for log files + --with-rundir set transient run-time state directory + --with-optim set optimization flags + --with-archflags set default architecture flags + --with-ldarchflags set program architecture flags + --with-domainsocket set unix domain socket name + --with-gssservicename set default gss service name + --with-pam-module set the PAM module to use + --with-dnssd-libs set directory for DNS Service Discovery library + --with-dnssd-includes set directory for DNS Service Discovery includes + --with-systemd set directory for systemd service files + --with-smfmanifestdir set path for Solaris SMF manifest + --with-rcdir set path for rc scripts + --with-rclevels set run levels for rc scripts + --with-rcstart set start number for rc scripts + --with-rcstop set stop number for rc scripts + --with-xinetd set path for xinetd config files + --with-languages set installed languages, default=all + --with-bundledir set localization bundle directory + --with-bundlelang set localization bundle base language (English or en) + --with-exe-file-perm set default executable permissions value, default=0555 + --with-config-file-perm set default ConfigFilePerm value, default=0640 + --with-cupsd-file-perm set default cupsd permissions, default=0500 + --with-log-file-perm set default LogFilePerm value, default=0644 + --with-fatal-errors set default FatalErrors value, default=config + --with-log-level set default LogLevel value, default=warn + --with-access-log-level set default AccessLogLevel value, default=none + --with-local-protocols set default BrowseLocalProtocols, default="" + --with-cups-user set default user for CUPS + --with-cups-group set default group for CUPS + --with-system-groups set default system groups for CUPS + --with-printcap set default printcap file + --with-lpdconfigfile set default LPDConfigFile URI + --with-smbconfigfile set default SMBConfigFile URI + --with-max-copies set default max copies value, default=9999 + --with-snmp-address set SNMP query address, default=auto + --with-snmp-community set SNMP community, default=public + --with-ipp-port set port number for IPP, default=631 + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + CPP C preprocessor + CXX C++ compiler command + CXXFLAGS C++ compiler flags + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +CUPS home page: . +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +CUPS configure 2.3.1 +generated by GNU Autoconf 2.69 + +Copyright (C) 2012 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_cxx_try_compile LINENO +# ---------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_cxx_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_cxx_try_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## --------------------------------------------------- ## +## Report this to https://github.com/apple/cups/issues ## +## --------------------------------------------------- ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func + +# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES +# ---------------------------------------------------- +# Tries to find if the field MEMBER exists in type AGGR, after including +# INCLUDES, setting cache variable VAR accordingly. +ac_fn_c_check_member () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 +$as_echo_n "checking for $2.$3... " >&6; } +if eval \${$4+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$5 +int +main () +{ +static $2 ac_aggr; +if (ac_aggr.$3) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$4=yes" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$5 +int +main () +{ +static $2 ac_aggr; +if (sizeof ac_aggr.$3) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$4=yes" +else + eval "$4=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$4 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_member +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by CUPS $as_me 2.3.1, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + + +host_os_name=`echo $host_os | sed -e '1,$s/[0-9.]*$//g'` +host_os_version=`echo $host_os | sed -e '1,$s/^[^0-9.]*//g' | awk -F. '{print $1 $2}'` +# Linux often does not yield an OS version we can use... +if test "x$host_os_version" = x; then + host_os_version="0" +fi + +if test "$build" = "$host"; then + # No, build local targets + LOCALTARGET="local" +else + # Yes, don't build local targets + LOCALTARGET="" +fi + + +for ac_prog in codesign true +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_CODE_SIGN+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $CODE_SIGN in + [\\/]* | ?:[\\/]*) + ac_cv_path_CODE_SIGN="$CODE_SIGN" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_CODE_SIGN="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +CODE_SIGN=$ac_cv_path_CODE_SIGN +if test -n "$CODE_SIGN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CODE_SIGN" >&5 +$as_echo "$CODE_SIGN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CODE_SIGN" && break +done + + + +ac_config_headers="$ac_config_headers config.h" + + +CUPS_VERSION="2.3.1" +CUPS_REVISION="" +CUPS_BUILD="cups-$CUPS_VERSION" + + +# Check whether --with-cups_build was given. +if test "${with_cups_build+set}" = set; then : + withval=$with_cups_build; CUPS_BUILD="$withval" +fi + + + + + +cat >>confdefs.h <<_ACEOF +#define CUPS_SVERSION "CUPS v$CUPS_VERSION$CUPS_REVISION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define CUPS_MINIMAL "CUPS/$CUPS_VERSION$CUPS_REVISION" +_ACEOF + + +CFLAGS="${CFLAGS:=}" +CPPFLAGS="${CPPFLAGS:=}" +CXXFLAGS="${CXXFLAGS:=}" +LDFLAGS="${LDFLAGS:=}" + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in clang cc gcc + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in clang cc gcc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +if test -z "$CXX"; then + if test -n "$CCC"; then + CXX=$CCC + else + if test -n "$ac_tool_prefix"; then + for ac_prog in clang++ c++ g++ + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +$as_echo "$CXX" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CXX" && break + done +fi +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in clang++ c++ g++ +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CXX="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 +$as_echo "$ac_ct_CXX" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CXX" && break +done + + if test "x$ac_ct_CXX" = x; then + CXX="g++" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CXX=$ac_ct_CXX + fi +fi + + fi +fi +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } +if ${ac_cv_cxx_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GXX=yes +else + GXX= +fi +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 +$as_echo_n "checking whether $CXX accepts -g... " >&6; } +if ${ac_cv_prog_cxx_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_cxx_werror_flag=$ac_cxx_werror_flag + ac_cxx_werror_flag=yes + ac_cv_prog_cxx_g=no + CXXFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_prog_cxx_g=yes +else + CXXFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + +else + ac_cxx_werror_flag=$ac_save_cxx_werror_flag + CXXFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_prog_cxx_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cxx_werror_flag=$ac_save_cxx_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 +$as_echo "$ac_cv_prog_cxx_g" >&6; } +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" + fi +else + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +# Extract the first word of "ar", so it can be a program name with args. +set dummy ar; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $AR in + [\\/]* | ?:[\\/]*) + ac_cv_path_AR="$AR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +AR=$ac_cv_path_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "chmod", so it can be a program name with args. +set dummy chmod; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_CHMOD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $CHMOD in + [\\/]* | ?:[\\/]*) + ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +CHMOD=$ac_cv_path_CHMOD +if test -n "$CHMOD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5 +$as_echo "$CHMOD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "gzip", so it can be a program name with args. +set dummy gzip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GZIPPROG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GZIPPROG in + [\\/]* | ?:[\\/]*) + ac_cv_path_GZIPPROG="$GZIPPROG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GZIPPROG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +GZIPPROG=$ac_cv_path_GZIPPROG +if test -n "$GZIPPROG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIPPROG" >&5 +$as_echo "$GZIPPROG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for install-sh script" >&5 +$as_echo_n "checking for install-sh script... " >&6; } +INSTALL="`pwd`/install-sh" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: using $INSTALL" >&5 +$as_echo "using $INSTALL" >&6; } +# Extract the first word of "ld", so it can be a program name with args. +set dummy ld; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $LD in + [\\/]* | ?:[\\/]*) + ac_cv_path_LD="$LD" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +LD=$ac_cv_path_LD +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "ln", so it can be a program name with args. +set dummy ln; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_LN+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $LN in + [\\/]* | ?:[\\/]*) + ac_cv_path_LN="$LN" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +LN=$ac_cv_path_LN +if test -n "$LN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5 +$as_echo "$LN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "mkdir", so it can be a program name with args. +set dummy mkdir; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MKDIR+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MKDIR in + [\\/]* | ?:[\\/]*) + ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MKDIR=$ac_cv_path_MKDIR +if test -n "$MKDIR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5 +$as_echo "$MKDIR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "mv", so it can be a program name with args. +set dummy mv; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MV+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MV in + [\\/]* | ?:[\\/]*) + ac_cv_path_MV="$MV" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MV=$ac_cv_path_MV +if test -n "$MV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 +$as_echo "$MV" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "rm", so it can be a program name with args. +set dummy rm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_RM+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $RM in + [\\/]* | ?:[\\/]*) + ac_cv_path_RM="$RM" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +RM=$ac_cv_path_RM +if test -n "$RM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 +$as_echo "$RM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "rmdir", so it can be a program name with args. +set dummy rmdir; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_RMDIR+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $RMDIR in + [\\/]* | ?:[\\/]*) + ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +RMDIR=$ac_cv_path_RMDIR +if test -n "$RMDIR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RMDIR" >&5 +$as_echo "$RMDIR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "sed", so it can be a program name with args. +set dummy sed; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_SED+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $SED in + [\\/]* | ?:[\\/]*) + ac_cv_path_SED="$SED" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +SED=$ac_cv_path_SED +if test -n "$SED"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 +$as_echo "$SED" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "xdg-open", so it can be a program name with args. +set dummy xdg-open; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XDGOPEN+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $XDGOPEN in + [\\/]* | ?:[\\/]*) + ac_cv_path_XDGOPEN="$XDGOPEN" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_XDGOPEN="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +XDGOPEN=$ac_cv_path_XDGOPEN +if test -n "$XDGOPEN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XDGOPEN" >&5 +$as_echo "$XDGOPEN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + +if test "x$XDGOPEN" = x; then + CUPS_HTMLVIEW="htmlview" +else + CUPS_HTMLVIEW="$XDGOPEN" +fi + + +if test "x$AR" = x; then + as_fn_error $? "Unable to find required library archive command." "$LINENO" 5 +fi +if test "x$CC" = x; then + as_fn_error $? "Unable to find required C compiler command." "$LINENO" 5 +fi + +INSTALLSTATIC="" +# Check whether --enable-static was given. +if test "${enable_static+set}" = set; then : + enableval=$enable_static; +fi + + +if test x$enable_static = xyes; then + echo Installing static libraries... + INSTALLSTATIC="installstatic" +fi + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKGCONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKGCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKGCONFIG=$ac_cv_path_PKGCONFIG +if test -n "$PKGCONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 +$as_echo "$PKGCONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKGCONFIG"; then + ac_pt_PKGCONFIG=$PKGCONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKGCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG +if test -n "$ac_pt_PKGCONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 +$as_echo "$ac_pt_PKGCONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKGCONFIG" = x; then + PKGCONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKGCONFIG=$ac_pt_PKGCONFIG + fi +else + PKGCONFIG="$ac_cv_path_PKGCONFIG" +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing abs" >&5 +$as_echo_n "checking for library containing abs... " >&6; } +if ${ac_cv_search_abs+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char abs (); +int +main () +{ +return abs (); + ; + return 0; +} +_ACEOF +for ac_lib in '' m; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_abs=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_abs+:} false; then : + break +fi +done +if ${ac_cv_search_abs+:} false; then : + +else + ac_cv_search_abs=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_abs" >&5 +$as_echo "$ac_cv_search_abs" >&6; } +ac_res=$ac_cv_search_abs +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_ABS 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 +$as_echo_n "checking for library containing crypt... " >&6; } +if ${ac_cv_search_crypt+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char crypt (); +int +main () +{ +return crypt (); + ; + return 0; +} +_ACEOF +for ac_lib in '' crypt; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_crypt=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_crypt+:} false; then : + break +fi +done +if ${ac_cv_search_crypt+:} false; then : + +else + ac_cv_search_crypt=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5 +$as_echo "$ac_cv_search_crypt" >&6; } +ac_res=$ac_cv_search_crypt +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fmod" >&5 +$as_echo_n "checking for library containing fmod... " >&6; } +if ${ac_cv_search_fmod+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char fmod (); +int +main () +{ +return fmod (); + ; + return 0; +} +_ACEOF +for ac_lib in '' m; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_fmod=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_fmod+:} false; then : + break +fi +done +if ${ac_cv_search_fmod+:} false; then : + +else + ac_cv_search_fmod=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fmod" >&5 +$as_echo "$ac_cv_search_fmod" >&6; } +ac_res=$ac_cv_search_fmod +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getspent" >&5 +$as_echo_n "checking for library containing getspent... " >&6; } +if ${ac_cv_search_getspent+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char getspent (); +int +main () +{ +return getspent (); + ; + return 0; +} +_ACEOF +for ac_lib in '' sec gen; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_getspent=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_getspent+:} false; then : + break +fi +done +if ${ac_cv_search_getspent+:} false; then : + +else + ac_cv_search_getspent=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getspent" >&5 +$as_echo "$ac_cv_search_getspent" >&6; } +ac_res=$ac_cv_search_getspent +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +fi + + +LIBMALLOC="" +# Check whether --enable-mallinfo was given. +if test "${enable_mallinfo+set}" = set; then : + enableval=$enable_mallinfo; +fi + + +if test x$enable_mallinfo = xyes; then + SAVELIBS="$LIBS" + LIBS="" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mallinfo" >&5 +$as_echo_n "checking for library containing mallinfo... " >&6; } +if ${ac_cv_search_mallinfo+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char mallinfo (); +int +main () +{ +return mallinfo (); + ; + return 0; +} +_ACEOF +for ac_lib in '' malloc; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_mallinfo=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_mallinfo+:} false; then : + break +fi +done +if ${ac_cv_search_mallinfo+:} false; then : + +else + ac_cv_search_mallinfo=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mallinfo" >&5 +$as_echo "$ac_cv_search_mallinfo" >&6; } +ac_res=$ac_cv_search_mallinfo +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_MALLINFO 1" >>confdefs.h + +fi + + LIBMALLOC="$LIBS" + LIBS="$SAVELIBS" +fi + + + +# Check whether --enable-libpaper was given. +if test "${enable_libpaper+set}" = set; then : + enableval=$enable_libpaper; +fi + + +if test x$enable_libpaper = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systempapername in -lpaper" >&5 +$as_echo_n "checking for systempapername in -lpaper... " >&6; } +if ${ac_cv_lib_paper_systempapername+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lpaper $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char systempapername (); +int +main () +{ +return systempapername (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_paper_systempapername=yes +else + ac_cv_lib_paper_systempapername=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_paper_systempapername" >&5 +$as_echo "$ac_cv_lib_paper_systempapername" >&6; } +if test "x$ac_cv_lib_paper_systempapername" = xyes; then : + $as_echo "#define HAVE_LIBPAPER 1" >>confdefs.h + + LIBPAPER="-lpaper" +else + LIBPAPER="" +fi + +else + LIBPAPER="" +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_GREP" || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP" || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" +if test "x$ac_cv_header_stdlib_h" = xyes; then : + $as_echo "#define HAVE_STDLIB_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default" +if test "x$ac_cv_header_crypt_h" = xyes; then : + $as_echo "#define HAVE_CRYPT_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default" +if test "x$ac_cv_header_langinfo_h" = xyes; then : + $as_echo "#define HAVE_LANGINFO_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" +if test "x$ac_cv_header_malloc_h" = xyes; then : + $as_echo "#define HAVE_MALLOC_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default" +if test "x$ac_cv_header_shadow_h" = xyes; then : + $as_echo "#define HAVE_SHADOW_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" +if test "x$ac_cv_header_stdint_h" = xyes; then : + $as_echo "#define HAVE_STDINT_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" +if test "x$ac_cv_header_string_h" = xyes; then : + $as_echo "#define HAVE_STRING_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default" +if test "x$ac_cv_header_strings_h" = xyes; then : + $as_echo "#define HAVE_STRINGS_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "bstring.h" "ac_cv_header_bstring_h" "$ac_includes_default" +if test "x$ac_cv_header_bstring_h" = xyes; then : + $as_echo "#define HAVE_BSTRING_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_ioctl_h" = xyes; then : + $as_echo "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_param_h" = xyes; then : + $as_echo "#define HAVE_SYS_PARAM_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "sys/ucred.h" "ac_cv_header_sys_ucred_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_ucred_h" = xyes; then : + $as_echo "#define HAVE_SYS_UCRED_H 1" >>confdefs.h + +fi + + + +ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default" +if test "x$ac_cv_header_iconv_h" = xyes; then : + SAVELIBS="$LIBS" + LIBS="" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing iconv_open" >&5 +$as_echo_n "checking for library containing iconv_open... " >&6; } +if ${ac_cv_search_iconv_open+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char iconv_open (); +int +main () +{ +return iconv_open (); + ; + return 0; +} +_ACEOF +for ac_lib in '' iconv; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_iconv_open=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_iconv_open+:} false; then : + break +fi +done +if ${ac_cv_search_iconv_open+:} false; then : + +else + ac_cv_search_iconv_open=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_iconv_open" >&5 +$as_echo "$ac_cv_search_iconv_open" >&6; } +ac_res=$ac_cv_search_iconv_open +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_ICONV_H 1" >>confdefs.h + + SAVELIBS="$SAVELIBS $LIBS" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing libiconv_open" >&5 +$as_echo_n "checking for library containing libiconv_open... " >&6; } +if ${ac_cv_search_libiconv_open+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char libiconv_open (); +int +main () +{ +return libiconv_open (); + ; + return 0; +} +_ACEOF +for ac_lib in '' iconv; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_libiconv_open=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_libiconv_open+:} false; then : + break +fi +done +if ${ac_cv_search_libiconv_open+:} false; then : + +else + ac_cv_search_libiconv_open=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_libiconv_open" >&5 +$as_echo "$ac_cv_search_libiconv_open" >&6; } +ac_res=$ac_cv_search_libiconv_open +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_ICONV_H 1" >>confdefs.h + + SAVELIBS="$SAVELIBS $LIBS" +fi + + LIBS="$SAVELIBS" +fi + + + +ac_fn_c_check_header_mongrel "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_mount_h" = xyes; then : + $as_echo "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_statfs_h" = xyes; then : + $as_echo "#define HAVE_SYS_STATFS_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_statvfs_h" = xyes; then : + $as_echo "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h + +fi + + +ac_fn_c_check_header_mongrel "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_vfs_h" = xyes; then : + $as_echo "#define HAVE_SYS_VFS_H 1" >>confdefs.h + +fi + + +for ac_func in statfs statvfs +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +for ac_func in strdup strlcat strlcpy +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +if test "$host_os_name" = "hp-ux" -a "$host_os_version" = "1020"; then + echo Forcing snprintf emulation for HP-UX. +else + for ac_func in snprintf vsnprintf +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +fi + +for ac_func in random lrand48 arc4random +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +for ac_func in geteuid +do : + ac_fn_c_check_func "$LINENO" "geteuid" "ac_cv_func_geteuid" +if test "x$ac_cv_func_geteuid" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_GETEUID 1 +_ACEOF + +fi +done + + +for ac_func in setpgid +do : + ac_fn_c_check_func "$LINENO" "setpgid" "ac_cv_func_setpgid" +if test "x$ac_cv_func_setpgid" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SETPGID 1 +_ACEOF + +fi +done + + +for ac_func in vsyslog +do : + ac_fn_c_check_func "$LINENO" "vsyslog" "ac_cv_func_vsyslog" +if test "x$ac_cv_func_vsyslog" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_VSYSLOG 1 +_ACEOF + +fi +done + + +case "$host_os_name" in + linux* | gnu*) + # Do not use sigset on Linux or GNU HURD + ;; + *) + # Use sigset on other platforms, if available + for ac_func in sigset +do : + ac_fn_c_check_func "$LINENO" "sigset" "ac_cv_func_sigset" +if test "x$ac_cv_func_sigset" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SIGSET 1 +_ACEOF + +fi +done + + ;; +esac + +for ac_func in sigaction +do : + ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction" +if test "x$ac_cv_func_sigaction" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SIGACTION 1 +_ACEOF + +fi +done + + +for ac_func in waitpid wait3 +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +for ac_func in posix_spawn +do : + ac_fn_c_check_func "$LINENO" "posix_spawn" "ac_cv_func_posix_spawn" +if test "x$ac_cv_func_posix_spawn" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_POSIX_SPAWN 1 +_ACEOF + +fi +done + + +for ac_func in getgrouplist +do : + ac_fn_c_check_func "$LINENO" "getgrouplist" "ac_cv_func_getgrouplist" +if test "x$ac_cv_func_getgrouplist" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_GETGROUPLIST 1 +_ACEOF + +fi +done + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff member in tm structure" >&5 +$as_echo_n "checking for tm_gmtoff member in tm structure... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +struct tm t; + int o = t.tm_gmtoff; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_gen member in stat structure" >&5 +$as_echo_n "checking for st_gen member in stat structure... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +struct stat t; + int o = t.st_gen; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + $as_echo "#define HAVE_ST_GEN 1" >>confdefs.h + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +for ac_func in removefile +do : + ac_fn_c_check_func "$LINENO" "removefile" "ac_cv_func_removefile" +if test "x$ac_cv_func_removefile" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_REMOVEFILE 1 +_ACEOF + +fi +done + + +# Check whether --enable-libusb was given. +if test "${enable_libusb+set}" = set; then : + enableval=$enable_libusb; +fi + + +LIBUSB="" +USBQUIRKS="" + + + +if test "x$PKGCONFIG" != x; then + if test x$enable_libusb != xno -a $host_os_name != darwin; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb-1.0" >&5 +$as_echo_n "checking for libusb-1.0... " >&6; } + if $PKGCONFIG --exists libusb-1.0; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + $as_echo "#define HAVE_LIBUSB 1" >>confdefs.h + + CFLAGS="$CFLAGS `$PKGCONFIG --cflags libusb-1.0`" + LIBUSB="`$PKGCONFIG --libs libusb-1.0`" + USBQUIRKS="\$(DATADIR)/usb" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + if test x$enable_libusb = xyes; then + as_fn_error $? "libusb required for --enable-libusb." "$LINENO" 5 + fi + fi + fi +elif test x$enable_libusb = xyes; then + as_fn_error $? "Need pkg-config to enable libusb support." "$LINENO" 5 +fi + +# Check whether --enable-tcp_wrappers was given. +if test "${enable_tcp_wrappers+set}" = set; then : + enableval=$enable_tcp_wrappers; +fi + + +LIBWRAP="" + + +if test x$enable_tcp_wrappers = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hosts_access in -lwrap" >&5 +$as_echo_n "checking for hosts_access in -lwrap... " >&6; } +if ${ac_cv_lib_wrap_hosts_access+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lwrap $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char hosts_access (); +int +main () +{ +return hosts_access (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_wrap_hosts_access=yes +else + ac_cv_lib_wrap_hosts_access=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wrap_hosts_access" >&5 +$as_echo "$ac_cv_lib_wrap_hosts_access" >&6; } +if test "x$ac_cv_lib_wrap_hosts_access" = xyes; then : + + ac_fn_c_check_header_mongrel "$LINENO" "tcpd.h" "ac_cv_header_tcpd_h" "$ac_includes_default" +if test "x$ac_cv_header_tcpd_h" = xyes; then : + $as_echo "#define HAVE_TCPD_H 1" >>confdefs.h + + LIBWRAP="-lwrap" +fi + + +fi + +fi + +INSTALL_GZIP="" +LIBZ="" +ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" +if test "x$ac_cv_header_zlib_h" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzgets in -lz" >&5 +$as_echo_n "checking for gzgets in -lz... " >&6; } +if ${ac_cv_lib_z_gzgets+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lz $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char gzgets (); +int +main () +{ +return gzgets (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_z_gzgets=yes +else + ac_cv_lib_z_gzgets=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzgets" >&5 +$as_echo "$ac_cv_lib_z_gzgets" >&6; } +if test "x$ac_cv_lib_z_gzgets" = xyes; then : + + $as_echo "#define HAVE_LIBZ 1" >>confdefs.h + + LIBZ="-lz" + LIBS="$LIBS -lz" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateCopy in -lz" >&5 +$as_echo_n "checking for inflateCopy in -lz... " >&6; } +if ${ac_cv_lib_z_inflateCopy+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lz $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char inflateCopy (); +int +main () +{ +return inflateCopy (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_z_inflateCopy=yes +else + ac_cv_lib_z_inflateCopy=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateCopy" >&5 +$as_echo "$ac_cv_lib_z_inflateCopy" >&6; } +if test "x$ac_cv_lib_z_inflateCopy" = xyes; then : + $as_echo "#define HAVE_INFLATECOPY 1" >>confdefs.h + +fi + + if test "x$GZIPPROG" != x; then + INSTALL_GZIP="-z" + fi +fi + +fi + + + + + +case $host_os_name in + darwin* | *bsd*) + ARFLAGS="-rcv" + ;; + *) + ARFLAGS="crvs" + ;; +esac + + + +BACKLIBS="" +SERVERLIBS="" + + + +SAVELIBS="$LIBS" +LIBS="" +# Check whether --enable-acl was given. +if test "${enable_acl+set}" = set; then : + enableval=$enable_acl; +fi + +if test "x$enable_acl" != xno; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing acl_init" >&5 +$as_echo_n "checking for library containing acl_init... " >&6; } +if ${ac_cv_search_acl_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char acl_init (); +int +main () +{ +return acl_init (); + ; + return 0; +} +_ACEOF +for ac_lib in '' acl; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_acl_init=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_acl_init+:} false; then : + break +fi +done +if ${ac_cv_search_acl_init+:} false; then : + +else + ac_cv_search_acl_init=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_acl_init" >&5 +$as_echo "$ac_cv_search_acl_init" >&6; } +ac_res=$ac_cv_search_acl_init +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_ACL_INIT 1" >>confdefs.h + +fi + + SERVERLIBS="$SERVERLIBS $LIBS" +fi +LIBS="$SAVELIBS" + +DBUSDIR="" +DBUS_NOTIFIER="" +DBUS_NOTIFIERLIBS="" + +# Check whether --enable-dbus was given. +if test "${enable_dbus+set}" = set; then : + enableval=$enable_dbus; +fi + + +# Check whether --with-dbusdir was given. +if test "${with_dbusdir+set}" = set; then : + withval=$with_dbusdir; DBUSDIR="$withval" +fi + + +if test "x$enable_dbus" != xno -a "x$PKGCONFIG" != x -a "x$host_os_name" != xdarwin; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5 +$as_echo_n "checking for DBUS... " >&6; } + if $PKGCONFIG --exists dbus-1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + $as_echo "#define HAVE_DBUS 1" >>confdefs.h + + CFLAGS="$CFLAGS `$PKGCONFIG --cflags dbus-1` -DDBUS_API_SUBJECT_TO_CHANGE" + SERVERLIBS="$SERVERLIBS `$PKGCONFIG --libs dbus-1`" + DBUS_NOTIFIER="dbus" + DBUS_NOTIFIERLIBS="`$PKGCONFIG --libs dbus-1`" + SAVELIBS="$LIBS" + LIBS="$LIBS $DBUS_NOTIFIERLIBS" + ac_fn_c_check_func "$LINENO" "dbus_message_iter_init_append" "ac_cv_func_dbus_message_iter_init_append" +if test "x$ac_cv_func_dbus_message_iter_init_append" = xyes; then : + $as_echo "#define HAVE_DBUS_MESSAGE_ITER_INIT_APPEND 1" >>confdefs.h + +fi + + ac_fn_c_check_func "$LINENO" "dbus_threads_init" "ac_cv_func_dbus_threads_init" +if test "x$ac_cv_func_dbus_threads_init" = xyes; then : + $as_echo "#define HAVE_DBUS_THREADS_INIT 1" >>confdefs.h + +fi + + LIBS="$SAVELIBS" + if test -d /etc/dbus-1 -a "x$DBUSDIR" = x; then + DBUSDIR="/etc/dbus-1" + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi +fi + + + + + +CUPS_DEFAULT_PRINTOPERATOR_AUTH="@SYSTEM" +CUPS_DEFAULT_SYSTEM_AUTHKEY="" +CUPS_SYSTEM_AUTHKEY="" +INSTALLXPC="" + +case $host_os_name in + darwin*) + BACKLIBS="$BACKLIBS -framework IOKit" + SERVERLIBS="$SERVERLIBS -framework IOKit -weak_framework ApplicationServices" + LIBS="-framework CoreFoundation -framework Security $LIBS" + + ac_fn_c_check_header_mongrel "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default" +if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes; then : + $as_echo "#define HAVE_APPLICATIONSERVICES_H 1" >>confdefs.h + +fi + + + ac_fn_c_check_header_mongrel "$LINENO" "CoreFoundation/CoreFoundation.h" "ac_cv_header_CoreFoundation_CoreFoundation_h" "$ac_includes_default" +if test "x$ac_cv_header_CoreFoundation_CoreFoundation_h" = xyes; then : + $as_echo "#define HAVE_COREFOUNDATION_H 1" >>confdefs.h + +fi + + + + SAVELIBS="$LIBS" + LIBS="-framework SystemConfiguration $LIBS" + for ac_func in SCDynamicStoreCopyComputerName +do : + ac_fn_c_check_func "$LINENO" "SCDynamicStoreCopyComputerName" "ac_cv_func_SCDynamicStoreCopyComputerName" +if test "x$ac_cv_func_SCDynamicStoreCopyComputerName" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME 1 +_ACEOF + + $as_echo "#define HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME 1" >>confdefs.h + +else + + LIBS="$SAVELIBS" +fi +done + + + ac_fn_c_check_header_mongrel "$LINENO" "membership.h" "ac_cv_header_membership_h" "$ac_includes_default" +if test "x$ac_cv_header_membership_h" = xyes; then : + $as_echo "#define HAVE_MEMBERSHIP_H 1" >>confdefs.h + +fi + + + for ac_func in mbr_uid_to_uuid +do : + ac_fn_c_check_func "$LINENO" "mbr_uid_to_uuid" "ac_cv_func_mbr_uid_to_uuid" +if test "x$ac_cv_func_mbr_uid_to_uuid" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_MBR_UID_TO_UUID 1 +_ACEOF + +fi +done + + + ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" +if test "x$ac_cv_header_dlfcn_h" = xyes; then : + $as_echo "#define HAVE_DLFCN_H 1" >>confdefs.h + +fi + + + + ac_fn_c_check_header_mongrel "$LINENO" "notify.h" "ac_cv_header_notify_h" "$ac_includes_default" +if test "x$ac_cv_header_notify_h" = xyes; then : + $as_echo "#define HAVE_NOTIFY_H 1" >>confdefs.h + +fi + + + for ac_func in notify_post +do : + ac_fn_c_check_func "$LINENO" "notify_post" "ac_cv_func_notify_post" +if test "x$ac_cv_func_notify_post" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_NOTIFY_POST 1 +_ACEOF + +fi +done + + + +# Check whether --with-adminkey was given. +if test "${with_adminkey+set}" = set; then : + withval=$with_adminkey; default_adminkey="$withval" +else + default_adminkey="default" +fi + + +# Check whether --with-operkey was given. +if test "${with_operkey+set}" = set; then : + withval=$with_operkey; default_operkey="$withval" +else + default_operkey="default" +fi + + + ac_fn_c_check_header_mongrel "$LINENO" "Security/Authorization.h" "ac_cv_header_Security_Authorization_h" "$ac_includes_default" +if test "x$ac_cv_header_Security_Authorization_h" = xyes; then : + + $as_echo "#define HAVE_AUTHORIZATION_H 1" >>confdefs.h + + + if test "x$default_adminkey" != xdefault; then + CUPS_SYSTEM_AUTHKEY="SystemGroupAuthKey $default_adminkey" + CUPS_DEFAULT_SYSTEM_AUTHKEY="$default_adminkey" + else + CUPS_SYSTEM_AUTHKEY="SystemGroupAuthKey system.print.admin" + CUPS_DEFAULT_SYSTEM_AUTHKEY="system.print.admin" + fi + + if test "x$default_operkey" != xdefault; then + CUPS_DEFAULT_PRINTOPERATOR_AUTH="@AUTHKEY($default_operkey) @admin @lpadmin" + else + CUPS_DEFAULT_PRINTOPERATOR_AUTH="@AUTHKEY(system.print.operator) @admin @lpadmin" + fi +fi + + + + if test $host_os_version -ge 100; then + ac_fn_c_check_header_mongrel "$LINENO" "sandbox.h" "ac_cv_header_sandbox_h" "$ac_includes_default" +if test "x$ac_cv_header_sandbox_h" = xyes; then : + $as_echo "#define HAVE_SANDBOX_H 1" >>confdefs.h + +fi + + + fi + if test $host_os_version -ge 110 -a $host_os_version -lt 120; then + # Broken public headers in 10.7.x... + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sandbox/private.h presence" >&5 +$as_echo_n "checking for sandbox/private.h presence... " >&6; } + if test -f /usr/local/include/sandbox/private.h; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + as_fn_error $? "Run 'sudo mkdir -p /usr/local/include/sandbox' and 'sudo touch /usr/local/include/sandbox/private.h' to build CUPS." "$LINENO" 5 + fi + fi + + ac_fn_c_check_header_mongrel "$LINENO" "xpc/xpc.h" "ac_cv_header_xpc_xpc_h" "$ac_includes_default" +if test "x$ac_cv_header_xpc_xpc_h" = xyes; then : + $as_echo "#define HAVE_XPC 1" >>confdefs.h + + INSTALLXPC="install-xpc" +fi + + + ;; +esac + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_PRINTOPERATOR_AUTH "$CUPS_DEFAULT_PRINTOPERATOR_AUTH" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_SYSTEM_AUTHKEY "$CUPS_DEFAULT_SYSTEM_AUTHKEY" +_ACEOF + + + + +COMPONENTS="all" + + +# Check whether --with-components was given. +if test "${with_components+set}" = set; then : + withval=$with_components; COMPONENTS="$withval" +fi + + +cupsimagebase="cupsimage" +IPPEVECOMMANDS="ippevepcl ippeveps" +LIBCUPSOBJS="\$(COREOBJS) \$(DRIVEROBJS)" +LIBHEADERS="\$(COREHEADERS) \$(DRIVERHEADERS)" +LIBHEADERSPRIV="\$(COREHEADERSPRIV) \$(DRIVERHEADERSPRIV)" + +case "$COMPONENTS" in + all) + BUILDDIRS="tools filter backend berkeley cgi-bin monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates" + ;; + + core) + BUILDDIRS="tools examples locale" + ;; + + corelite) + $as_echo "#define CUPS_LITE 1" >>confdefs.h + + BUILDDIRS="tools examples locale" + cupsimagebase="" + LIBCUPSOBJS="\$(COREOBJS)" + LIBHEADERS="\$(COREHEADERS)" + LIBHEADERSPRIV="\$(COREHEADERSPRIV)" + ;; + + libcups) + BUILDDIRS="locale" + cupsimagebase="" + ;; + + libcupslite) + $as_echo "#define CUPS_LITE 1" >>confdefs.h + + BUILDDIRS="locale" + cupsimagebase="" + LIBCUPSOBJS="\$(COREOBJS)" + LIBHEADERS="\$(COREHEADERS)" + LIBHEADERSPRIV="\$(COREHEADERSPRIV)" + ;; + + *) + as_fn_error $? "Bad build component \"$COMPONENT\" specified!" "$LINENO" 5 + ;; +esac + + + + + + + + + + +if test "$prefix" = "NONE"; then + prefix="/" +fi + +if test "$exec_prefix" = "NONE"; then + if test "$prefix" = "/"; then + exec_prefix="/usr" + else + exec_prefix="$prefix" + fi +fi + +if test "$bindir" = "\${exec_prefix}/bin"; then + bindir="$exec_prefix/bin" +fi + +cat >>confdefs.h <<_ACEOF +#define CUPS_BINDIR "$bindir" +_ACEOF + + +if test "$sbindir" = "\${exec_prefix}/sbin"; then + sbindir="$exec_prefix/sbin" +fi + +cat >>confdefs.h <<_ACEOF +#define CUPS_SBINDIR "$sbindir" +_ACEOF + + +if test "$sharedstatedir" = "\${prefix}/com" -a "$prefix" = "/"; then + sharedstatedir="/usr/com" +fi + +if test "$datarootdir" = "\${prefix}/share"; then + if test "$prefix" = "/"; then + datarootdir="/usr/share" + else + datarootdir="$prefix/share" + fi +fi + +if test "$datadir" = "\${prefix}/share"; then + if test "$prefix" = "/"; then + datadir="/usr/share" + else + datadir="$prefix/share" + fi +elif test "$datadir" = "\${datarootdir}"; then + datadir="$datarootdir" +fi + +if test "$includedir" = "\${prefix}/include" -a "$prefix" = "/"; then + includedir="/usr/include" +fi + +if test "$localstatedir" = "\${prefix}/var"; then + if test "$prefix" = "/"; then + if test "$host_os_name" = darwin; then + localstatedir="/private/var" + else + localstatedir="/var" + fi + else + localstatedir="$prefix/var" + fi +fi + +if test "$sysconfdir" = "\${prefix}/etc"; then + if test "$prefix" = "/"; then + if test "$host_os_name" = darwin; then + sysconfdir="/private/etc" + else + sysconfdir="/etc" + fi + else + sysconfdir="$prefix/etc" + fi +fi + +if test "$libdir" = "\${exec_prefix}/lib"; then + case "$host_os_name" in + linux*) + if test -d /usr/lib64 -a ! -d /usr/lib64/fakeroot; then + libdir="$exec_prefix/lib64" + fi + ;; + esac +fi + + +# Check whether --with-privateinclude was given. +if test "${with_privateinclude+set}" = set; then : + withval=$with_privateinclude; privateinclude="$withval" +else + privateinclude="" +fi + +if test "x$privateinclude" != x -a "x$privateinclude" != xnone; then + PRIVATEINCLUDE="$privateinclude/cups" +else + privateinclude="" + PRIVATEINCLUDE="" +fi + + + + +# Check whether --with-lpdconfig was given. +if test "${with_lpdconfig+set}" = set; then : + withval=$with_lpdconfig; LPDCONFIG="$withval" +else + LPDCONFIG="" +fi + + +if test "x$LPDCONFIG" = x; then + if test -f /System/Library/LaunchDaemons/org.cups.cups-lpd.plist; then + LPDCONFIG="launchd:///System/Library/LaunchDaemons/org.cups.cups-lpd.plist" + elif test "x$XINETD" != x; then + LPDCONFIG="xinetd://$XINETD/cups-lpd" + fi +fi + +if test "x$LPDCONFIG" = xoff; then + cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_LPD_CONFIG "" +_ACEOF + +else + cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_LPD_CONFIG "$LPDCONFIG" +_ACEOF + +fi + + +# Check whether --with-smbconfig was given. +if test "${with_smbconfig+set}" = set; then : + withval=$with_smbconfig; SMBCONFIG="$withval" +else + SMBCONFIG="" +fi + + +if test "x$SMBCONFIG" = x; then + if test -f /System/Library/LaunchDaemons/smbd.plist; then + SMBCONFIG="launchd:///System/Library/LaunchDaemons/smbd.plist" + else + for dir in /etc /etc/samba /usr/local/etc; do + if test -f $dir/smb.conf; then + SMBCONFIG="samba://$dir/smb.conf" + break + fi + done + fi +fi + +if test "x$SMBCONFIG" = xoff; then + cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_SMB_CONFIG "" +_ACEOF + +else + cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_SMB_CONFIG "$SMBCONFIG" +_ACEOF + +fi + +# Cache data... + +# Check whether --with-cachedir was given. +if test "${with_cachedir+set}" = set; then : + withval=$with_cachedir; cachedir="$withval" +else + cachedir="" +fi + + +if test x$cachedir = x; then + if test "x$host_os_name" = xdarwin; then + CUPS_CACHEDIR="$localstatedir/spool/cups/cache" + else + CUPS_CACHEDIR="$localstatedir/cache/cups" + fi +else + CUPS_CACHEDIR="$cachedir" +fi +cat >>confdefs.h <<_ACEOF +#define CUPS_CACHEDIR "$CUPS_CACHEDIR" +_ACEOF + + + +# Data files +CUPS_DATADIR="$datadir/cups" +cat >>confdefs.h <<_ACEOF +#define CUPS_DATADIR "$datadir/cups" +_ACEOF + + + +# Icon directory + +# Check whether --with-icondir was given. +if test "${with_icondir+set}" = set; then : + withval=$with_icondir; icondir="$withval" +else + icondir="" +fi + + +if test "x$icondir" = x -a -d /usr/share/icons; then + ICONDIR="/usr/share/icons" +else + ICONDIR="$icondir" +fi + + + +# Menu directory + +# Check whether --with-menudir was given. +if test "${with_menudir+set}" = set; then : + withval=$with_menudir; menudir="$withval" +else + menudir="" +fi + + +if test "x$menudir" = x -a -d /usr/share/applications; then + MENUDIR="/usr/share/applications" +else + MENUDIR="$menudir" +fi + + + +# Documentation files + +# Check whether --with-docdir was given. +if test "${with_docdir+set}" = set; then : + withval=$with_docdir; docdir="$withval" +else + docdir="" +fi + + +if test x$docdir = x; then + CUPS_DOCROOT="$datadir/doc/cups" + docdir="$datadir/doc/cups" +else + CUPS_DOCROOT="$docdir" +fi + +cat >>confdefs.h <<_ACEOF +#define CUPS_DOCROOT "$docdir" +_ACEOF + + + +# Fonts + +# Check whether --with-fontpath was given. +if test "${with_fontpath+set}" = set; then : + withval=$with_fontpath; fontpath="$withval" +else + fontpath="" +fi + + +if test "x$fontpath" = "x"; then + CUPS_FONTPATH="$datadir/cups/fonts" +else + CUPS_FONTPATH="$fontpath" +fi + + +cat >>confdefs.h <<_ACEOF +#define CUPS_FONTPATH "$CUPS_FONTPATH" +_ACEOF + + +# Locale data +if test "$localedir" = "\${datarootdir}/locale"; then + case "$host_os_name" in + linux* | gnu* | *bsd* | darwin*) + CUPS_LOCALEDIR="$datarootdir/locale" + ;; + + *) + # This is the standard System V location... + CUPS_LOCALEDIR="$exec_prefix/lib/locale" + ;; + esac +else + CUPS_LOCALEDIR="$localedir" +fi + +cat >>confdefs.h <<_ACEOF +#define CUPS_LOCALEDIR "$CUPS_LOCALEDIR" +_ACEOF + + + +# Log files... + +# Check whether --with-logdir was given. +if test "${with_logdir+set}" = set; then : + withval=$with_logdir; logdir="$withval" +else + logdir="" +fi + + +if test x$logdir = x; then + CUPS_LOGDIR="$localstatedir/log/cups" + cat >>confdefs.h <<_ACEOF +#define CUPS_LOGDIR "$localstatedir/log/cups" +_ACEOF + +else + CUPS_LOGDIR="$logdir" +fi +cat >>confdefs.h <<_ACEOF +#define CUPS_LOGDIR "$CUPS_LOGDIR" +_ACEOF + + + +# Longer-term spool data +CUPS_REQUESTS="$localstatedir/spool/cups" +cat >>confdefs.h <<_ACEOF +#define CUPS_REQUESTS "$localstatedir/spool/cups" +_ACEOF + + + +# Server executables... +case "$host_os_name" in + *bsd* | darwin*) + # *BSD and Darwin (macOS) + INSTALL_SYSV="" + CUPS_SERVERBIN="$exec_prefix/libexec/cups" + ;; + *) + # All others + INSTALL_SYSV="install-sysv" + CUPS_SERVERBIN="$exec_prefix/lib/cups" + ;; +esac + +cat >>confdefs.h <<_ACEOF +#define CUPS_SERVERBIN "$CUPS_SERVERBIN" +_ACEOF + + + + +# Configuration files +CUPS_SERVERROOT="$sysconfdir/cups" +cat >>confdefs.h <<_ACEOF +#define CUPS_SERVERROOT "$sysconfdir/cups" +_ACEOF + + + +# Transient run-time state + +# Check whether --with-rundir was given. +if test "${with_rundir+set}" = set; then : + withval=$with_rundir; CUPS_STATEDIR="$withval" +else + + case "$host_os_name" in + darwin*) + # Darwin (macOS) + CUPS_STATEDIR="$CUPS_SERVERROOT" + ;; + *) + # All others + CUPS_STATEDIR="$localstatedir/run/cups" + ;; + esac +fi + +cat >>confdefs.h <<_ACEOF +#define CUPS_STATEDIR "$CUPS_STATEDIR" +_ACEOF + + + + +if test "$mandir" = "\${datarootdir}/man" -a "$prefix" = "/"; then + # New GNU "standards" break previous ones, so make sure we use + # the right default location for the operating system... + mandir="\${prefix}/man" +fi + +if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/"; then + case "$host_os_name" in + darwin* | linux* | gnu* | *bsd*) + # Darwin, macOS, Linux, GNU HURD, and *BSD + mandir="/usr/share/man" + ;; + *) + # All others + mandir="/usr/man" + ;; + esac +fi + + + +PICFLAG=1 +DSOFLAGS="${DSOFLAGS:=}" + +# Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; +fi + + +cupsbase="cups" +LIBCUPSBASE="lib$cupsbase" +LIBCUPSIMAGE="" +LIBCUPSSTATIC="lib$cupsbase.a" + +if test x$enable_shared != xno; then + case "$host_os_name" in + sunos*) + LIBCUPS="lib$cupsbase.so.2" + if test "x$cupsimagebase" != x; then + LIBCUPSIMAGE="lib$cupsimagebase.so.2" + fi + DSO="\$(CC)" + DSOXX="\$(CXX)" + DSOFLAGS="$DSOFLAGS -Wl,-h\`basename \$@\` -G" + ;; + linux* | gnu* | *bsd*) + LIBCUPS="lib$cupsbase.so.2" + if test "x$cupsimagebase" != x; then + LIBCUPSIMAGE="lib$cupsimagebase.so.2" + fi + DSO="\$(CC)" + DSOXX="\$(CXX)" + DSOFLAGS="$DSOFLAGS -Wl,-soname,\`basename \$@\` -shared" + ;; + darwin*) + LIBCUPS="lib$cupsbase.2.dylib" + if test "x$cupsimagebase" != x; then + LIBCUPSIMAGE="lib$cupsimagebase.2.dylib" + fi + DSO="\$(CC)" + DSOXX="\$(CXX)" + DSOFLAGS="$DSOFLAGS -Wl,-no_warn_inits -dynamiclib -single_module -lc" + ;; + *) + echo "Warning: shared libraries may not be supported. Trying -shared" + echo " option with compiler." + LIBCUPS="lib$cupsbase.so.2" + if test "x$cupsimagebase" != x; then + LIBCUPSIMAGE="lib$cupsimagebase.so.2" + fi + DSO="\$(CC)" + DSOXX="\$(CXX)" + DSOFLAGS="$DSOFLAGS -Wl,-soname,\`basename \$@\` -shared" + ;; + esac +else + PICFLAG=0 + LIBCUPS="lib$cupsbase.a" + if test "x$cupsimagebase" != x; then + LIBCUPSIMAGE="lib$cupsimagebase.a" + fi + DSO=":" + DSOXX=":" +fi + + + + + + + + + +if test x$enable_shared = xno; then + LINKCUPS="../cups/lib$cupsbase.a \$(LIBS)" + EXTLINKCUPS="-lcups \$LIBS" +else + LINKCUPS="-L../cups -l${cupsbase}" + EXTLINKCUPS="-lcups" +fi + + + + +EXPORT_LDFLAGS="" + +if test "$DSO" != ":"; then + # Tell the run-time linkers where to find a DSO. Some platforms + # need this option, even when the library is installed in a + # standard location... + case $host_os_name in + sunos*) + # Solaris... + if test $exec_prefix != /usr; then + DSOFLAGS="-R$libdir $DSOFLAGS" + LDFLAGS="$LDFLAGS -R$libdir" + EXPORT_LDFLAGS="-R$libdir" + fi + ;; + *bsd*) + # *BSD... + if test $exec_prefix != /usr; then + DSOFLAGS="-Wl,-R$libdir $DSOFLAGS" + LDFLAGS="$LDFLAGS -Wl,-R$libdir" + EXPORT_LDFLAGS="-Wl,-R$libdir" + fi + ;; + linux* | gnu*) + # Linux, and HURD... + if test $exec_prefix != /usr; then + DSOFLAGS="-Wl,-rpath,$libdir $DSOFLAGS" + LDFLAGS="$LDFLAGS -Wl,-rpath,$libdir" + EXPORT_LDFLAGS="-Wl,-rpath,$libdir" + fi + ;; + esac +fi + + + + +# Check whether --enable-libtool_unsupported was given. +if test "${enable_libtool_unsupported+set}" = set; then : + enableval=$enable_libtool_unsupported; if test x$enable_libtool_unsupported != xno; then + if test x$enable_libtool_unsupported == xyes; then + as_fn_error $? "Use --enable-libtool-unsupported=/path/to/libtool." "$LINENO" 5 + fi + LIBTOOL="$enable_libtool_unsupported" + enable_shared=no + echo "WARNING: libtool is not supported or endorsed by Apple Inc." + echo " WE DO NOT PROVIDE SUPPORT FOR LIBTOOL PROBLEMS." + else + LIBTOOL="" + fi +fi + + +if test x$LIBTOOL != x; then + DSO="\$(LIBTOOL) --mode=link --tag=CC ${CC}" + DSOXX="\$(LIBTOOL) --mode=link --tag=CXX ${CXX}" + + LD_CC="\$(LIBTOOL) --mode=link --tag=CC ${CC}" + LD_CXX="\$(LIBTOOL) --mode=link --tag=CXX ${CXX}" + + LIBCUPS="libcups.la" + LIBCUPSSTATIC="libcups.la" + LIBCUPSCGI="libcupscgi.la" + LIBCUPSIMAGE="libcupsimage.la" + LIBCUPSMIME="libcupsmime.la" + LIBCUPSPPDC="libcupsppdc.la" + + LIBTOOL_CC="\$(LIBTOOL) --mode=compile --tag=CC" + LIBTOOL_CXX="\$(LIBTOOL) --mode=compile --tag=CXX" + LIBTOOL_INSTALL="\$(LIBTOOL) --mode=install" + + LINKCUPS="../cups/\$(LIBCUPS)" + LINKCUPSIMAGE="../cups/\$(LIBCUPSIMAGE)" + +else + LD_CC="\$(CC)" + LD_CXX="\$(CXX)" + + LIBTOOL_CC="" + LIBTOOL_CXX="" + LIBTOOL_INSTALL="" +fi + + + + + + + + + + +INSTALL_STRIP="" + + + +# Check whether --with-optim was given. +if test "${with_optim+set}" = set; then : + withval=$with_optim; OPTIM="$withval" +else + OPTIM="" +fi + + + +# Check whether --enable-debug was given. +if test "${enable_debug+set}" = set; then : + enableval=$enable_debug; +fi + +# Check whether --enable-debug_guards was given. +if test "${enable_debug_guards+set}" = set; then : + enableval=$enable_debug_guards; +fi + +# Check whether --enable-debug_printfs was given. +if test "${enable_debug_printfs+set}" = set; then : + enableval=$enable_debug_printfs; +fi + +# Check whether --enable-unit_tests was given. +if test "${enable_unit_tests+set}" = set; then : + enableval=$enable_unit_tests; +fi + + +if test x$enable_debug = xyes -a "x$OPTIM" = x; then + OPTIM="-g" +else + INSTALL_STRIP="-s" +fi + +if test x$enable_debug_printfs = xyes; then + CFLAGS="$CFLAGS -DDEBUG" + CXXFLAGS="$CXXFLAGS -DDEBUG" +fi + +if test x$enable_debug_guards = xyes; then + CFLAGS="$CFLAGS -DDEBUG_GUARDS" + CXXFLAGS="$CXXFLAGS -DDEBUG_GUARDS" +fi + +if test x$enable_unit_tests = xyes; then + if test "$build" != "$host"; then + as_fn_error $? "Sorry, cannot build unit tests when cross-compiling." "$LINENO" 5 + fi + + UNITTESTS="unittests" +else + UNITTESTS="" +fi + + + +# Check whether --with-archflags was given. +if test "${with_archflags+set}" = set; then : + withval=$with_archflags; +fi + + +# Check whether --with-ldarchflags was given. +if test "${with_ldarchflags+set}" = set; then : + withval=$with_ldarchflags; +fi + + +if test -z "$with_archflags"; then + ARCHFLAGS="" +else + ARCHFLAGS="$with_archflags" +fi + +if test -z "$with_ldarchflags"; then + if test "$host_os_name" = darwin; then + # Only create Intel programs by default + LDARCHFLAGS="`echo $ARCHFLAGS | sed -e '1,$s/-arch ppc64//'`" + else + LDARCHFLAGS="$ARCHFLAGS" + fi +else + LDARCHFLAGS="$with_ldarchflags" +fi + + + + +# Check whether --enable-relro was given. +if test "${enable_relro+set}" = set; then : + enableval=$enable_relro; +fi + + +# Check whether --enable-sanitizer was given. +if test "${enable_sanitizer+set}" = set; then : + enableval=$enable_sanitizer; +fi + + +CXXLIBS="${CXXLIBS:=}" + + +PIEFLAGS="" + + +RELROFLAGS="" + + +WARNING_OPTIONS="" + + +if test -n "$GCC"; then + # Add GCC-specific compiler options... + + # Address sanitizer is a useful tool to use when developing/debugging + # code but adds about 2x overhead... + if test x$enable_sanitizer = xyes; then + # Use -fsanitize=address with debugging... + OPTIM="$OPTIM -g -fsanitize=address" + else + # Otherwise use the Fortify enhancements to catch any unbounded + # string operations... + CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" + CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" + fi + + # Default optimization options... + if test -z "$OPTIM"; then + # Default to optimize-for-size and debug + OPTIM="-Os -g" + fi + + # Generate position-independent code as needed... + if test $PICFLAG = 1; then + OPTIM="-fPIC $OPTIM" + fi + + # The -fstack-protector option is available with some versions of + # GCC and adds "stack canaries" which detect when the return address + # has been overwritten, preventing many types of exploit attacks. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fstack-protector" >&5 +$as_echo_n "checking whether compiler supports -fstack-protector... " >&6; } + OLDCFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fstack-protector" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if test "x$LSB_BUILD" = xy; then + # Can't use stack-protector with LSB binaries... + OPTIM="$OPTIM -fno-stack-protector" + else + OPTIM="$OPTIM -fstack-protector" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$OLDCFLAGS" + + if test "x$LSB_BUILD" != xy; then + # The -fPIE option is available with some versions of GCC and + # adds randomization of addresses, which avoids another class of + # exploits that depend on a fixed address for common functions. + # + # Not available to LSB binaries... + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fPIE" >&5 +$as_echo_n "checking whether compiler supports -fPIE... " >&6; } + OLDCFLAGS="$CFLAGS" + case "$host_os_name" in + darwin*) + CFLAGS="$CFLAGS -fPIE -Wl,-pie" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + PIEFLAGS="-fPIE -Wl,-pie" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ;; + + *) + CFLAGS="$CFLAGS -fPIE -pie" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + PIEFLAGS="-fPIE -pie" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ;; + esac + CFLAGS="$OLDCFLAGS" + fi + + # Add useful warning options for tracking down problems... + WARNING_OPTIONS="-Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion" + + # Test GCC version for certain warning flags since -Werror + # doesn't trigger... + gccversion=`$CC --version | head -1 | awk '{print $NF}'` + case "$gccversion" in + 1.* | 2.* | 3.* | 4.* | 5.* | 6.* | \(clang-*) + ;; + *) + WARNING_OPTIONS="$WARNING_OPTIONS -Wno-format-truncation -Wno-format-overflow -Wno-tautological-compare" + ;; + esac + + # Additional warning options for development testing... + if test -d .git; then + WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS" + fi +else + # Add vendor-specific compiler options... + case $host_os_name in + sunos*) + # Solaris + if test -z "$OPTIM"; then + OPTIM="-xO2" + fi + + if test $PICFLAG = 1; then + OPTIM="-KPIC $OPTIM" + fi + ;; + *) + # Running some other operating system; inform the user + # they should contribute the necessary options via + # Github... + echo "Building CUPS with default compiler optimizations; contact the CUPS developers on Github" + echo "(https://github.com/apple/cups/issues) with the uname and compiler options needed for" + echo "your platform, or set the CFLAGS and LDFLAGS environment variables before running" + echo "configure." + ;; + esac +fi + +# Add general compiler options per platform... +case $host_os_name in + linux*) + # glibc 2.8 and higher breaks peer credentials unless you + # define _GNU_SOURCE... + OPTIM="$OPTIM -D_GNU_SOURCE" + + # The -z relro option is provided by the Linux linker command to + # make relocatable data read-only. + if test x$enable_relro = xyes; then + RELROFLAGS="-Wl,-z,relro,-z,now" + fi + ;; +esac + + + +ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" " +#include +#include +#include +#include +#include +" +if test "x$ac_cv_header_resolv_h" = xyes; then : + $as_echo "#define HAVE_RESOLV_H 1" >>confdefs.h + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 +$as_echo_n "checking for library containing socket... " >&6; } +if ${ac_cv_search_socket+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char socket (); +int +main () +{ +return socket (); + ; + return 0; +} +_ACEOF +for ac_lib in '' socket; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_socket=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_socket+:} false; then : + break +fi +done +if ${ac_cv_search_socket+:} false; then : + +else + ac_cv_search_socket=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 +$as_echo "$ac_cv_search_socket" >&6; } +ac_res=$ac_cv_search_socket +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyaddr" >&5 +$as_echo_n "checking for library containing gethostbyaddr... " >&6; } +if ${ac_cv_search_gethostbyaddr+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char gethostbyaddr (); +int +main () +{ +return gethostbyaddr (); + ; + return 0; +} +_ACEOF +for ac_lib in '' nsl; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_gethostbyaddr=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_gethostbyaddr+:} false; then : + break +fi +done +if ${ac_cv_search_gethostbyaddr+:} false; then : + +else + ac_cv_search_gethostbyaddr=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyaddr" >&5 +$as_echo "$ac_cv_search_gethostbyaddr" >&6; } +ac_res=$ac_cv_search_gethostbyaddr +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getifaddrs" >&5 +$as_echo_n "checking for library containing getifaddrs... " >&6; } +if ${ac_cv_search_getifaddrs+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char getifaddrs (); +int +main () +{ +return getifaddrs (); + ; + return 0; +} +_ACEOF +for ac_lib in '' nsl; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_getifaddrs=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_getifaddrs+:} false; then : + break +fi +done +if ${ac_cv_search_getifaddrs+:} false; then : + +else + ac_cv_search_getifaddrs=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getifaddrs" >&5 +$as_echo "$ac_cv_search_getifaddrs" >&6; } +ac_res=$ac_cv_search_getifaddrs +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_GETIFADDRS 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing hstrerror" >&5 +$as_echo_n "checking for library containing hstrerror... " >&6; } +if ${ac_cv_search_hstrerror+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char hstrerror (); +int +main () +{ +return hstrerror (); + ; + return 0; +} +_ACEOF +for ac_lib in '' nsl socket resolv; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_hstrerror=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_hstrerror+:} false; then : + break +fi +done +if ${ac_cv_search_hstrerror+:} false; then : + +else + ac_cv_search_hstrerror=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5 +$as_echo "$ac_cv_search_hstrerror" >&6; } +ac_res=$ac_cv_search_hstrerror +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_HSTRERROR 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rresvport_af" >&5 +$as_echo_n "checking for library containing rresvport_af... " >&6; } +if ${ac_cv_search_rresvport_af+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char rresvport_af (); +int +main () +{ +return rresvport_af (); + ; + return 0; +} +_ACEOF +for ac_lib in '' nsl; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_rresvport_af=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_rresvport_af+:} false; then : + break +fi +done +if ${ac_cv_search_rresvport_af+:} false; then : + +else + ac_cv_search_rresvport_af=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rresvport_af" >&5 +$as_echo "$ac_cv_search_rresvport_af" >&6; } +ac_res=$ac_cv_search_rresvport_af +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_RRESVPORT_AF 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_init" >&5 +$as_echo_n "checking for library containing __res_init... " >&6; } +if ${ac_cv_search___res_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char __res_init (); +int +main () +{ +return __res_init (); + ; + return 0; +} +_ACEOF +for ac_lib in '' resolv bind; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search___res_init=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search___res_init+:} false; then : + break +fi +done +if ${ac_cv_search___res_init+:} false; then : + +else + ac_cv_search___res_init=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_init" >&5 +$as_echo "$ac_cv_search___res_init" >&6; } +ac_res=$ac_cv_search___res_init +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_RES_INIT 1" >>confdefs.h + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_9_init" >&5 +$as_echo_n "checking for library containing res_9_init... " >&6; } +if ${ac_cv_search_res_9_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char res_9_init (); +int +main () +{ +return res_9_init (); + ; + return 0; +} +_ACEOF +for ac_lib in '' resolv bind; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_res_9_init=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_res_9_init+:} false; then : + break +fi +done +if ${ac_cv_search_res_9_init+:} false; then : + +else + ac_cv_search_res_9_init=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_9_init" >&5 +$as_echo "$ac_cv_search_res_9_init" >&6; } +ac_res=$ac_cv_search_res_9_init +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_RES_INIT 1" >>confdefs.h + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_init" >&5 +$as_echo_n "checking for library containing res_init... " >&6; } +if ${ac_cv_search_res_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char res_init (); +int +main () +{ +return res_init (); + ; + return 0; +} +_ACEOF +for ac_lib in '' resolv bind; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_res_init=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_res_init+:} false; then : + break +fi +done +if ${ac_cv_search_res_init+:} false; then : + +else + ac_cv_search_res_init=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_init" >&5 +$as_echo "$ac_cv_search_res_init" >&6; } +ac_res=$ac_cv_search_res_init +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_RES_INIT 1" >>confdefs.h + +fi + +fi + +fi + + +# Tru64 5.1b leaks file descriptors with these functions; disable until +# we can come up with a test for this... +if test "$host_os_name" != "osf1"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 +$as_echo_n "checking for library containing getaddrinfo... " >&6; } +if ${ac_cv_search_getaddrinfo+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char getaddrinfo (); +int +main () +{ +return getaddrinfo (); + ; + return 0; +} +_ACEOF +for ac_lib in '' nsl; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_getaddrinfo=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_getaddrinfo+:} false; then : + break +fi +done +if ${ac_cv_search_getaddrinfo+:} false; then : + +else + ac_cv_search_getaddrinfo=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 +$as_echo "$ac_cv_search_getaddrinfo" >&6; } +ac_res=$ac_cv_search_getaddrinfo +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 +$as_echo_n "checking for library containing getnameinfo... " >&6; } +if ${ac_cv_search_getnameinfo+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char getnameinfo (); +int +main () +{ +return getnameinfo (); + ; + return 0; +} +_ACEOF +for ac_lib in '' nsl; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_getnameinfo=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_getnameinfo+:} false; then : + break +fi +done +if ${ac_cv_search_getnameinfo+:} false; then : + +else + ac_cv_search_getnameinfo=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 +$as_echo "$ac_cv_search_getnameinfo" >&6; } +ac_res=$ac_cv_search_getnameinfo +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + $as_echo "#define HAVE_GETNAMEINFO 1" >>confdefs.h + +fi + +fi + +ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include +" +if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then : + +fi + +ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_sockio_h" = xyes; then : + $as_echo "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h + +fi + + + +CUPS_DEFAULT_DOMAINSOCKET="" + + +# Check whether --with-domainsocket was given. +if test "${with_domainsocket+set}" = set; then : + withval=$with_domainsocket; default_domainsocket="$withval" +else + default_domainsocket="" +fi + + +if test x$enable_domainsocket != xno -a x$default_domainsocket != xno; then + if test "x$default_domainsocket" = x; then + case "$host_os_name" in + darwin*) + # Darwin and macOS do their own thing... + CUPS_DEFAULT_DOMAINSOCKET="$localstatedir/run/cupsd" + ;; + *) + # All others use FHS standard... + CUPS_DEFAULT_DOMAINSOCKET="$CUPS_STATEDIR/cups.sock" + ;; + esac + else + CUPS_DEFAULT_DOMAINSOCKET="$default_domainsocket" + fi + + CUPS_LISTEN_DOMAINSOCKET="Listen $CUPS_DEFAULT_DOMAINSOCKET" + + cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_DOMAINSOCKET "$CUPS_DEFAULT_DOMAINSOCKET" +_ACEOF + +else + CUPS_LISTEN_DOMAINSOCKET="" +fi + + + + + +ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" +if test "x$ac_cv_func_poll" = xyes; then : + $as_echo "#define HAVE_POLL 1" >>confdefs.h + +fi + +ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create" +if test "x$ac_cv_func_epoll_create" = xyes; then : + $as_echo "#define HAVE_EPOLL 1" >>confdefs.h + +fi + +ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue" +if test "x$ac_cv_func_kqueue" = xyes; then : + $as_echo "#define HAVE_KQUEUE 1" >>confdefs.h + +fi + + + +# Check whether --enable-gssapi was given. +if test "${enable_gssapi+set}" = set; then : + enableval=$enable_gssapi; +fi + + +LIBGSSAPI="" + + +if test x$enable_gssapi != xno; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}krb5-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}krb5-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_KRB5CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $KRB5CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_KRB5CONFIG="$KRB5CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_KRB5CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +KRB5CONFIG=$ac_cv_path_KRB5CONFIG +if test -n "$KRB5CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5CONFIG" >&5 +$as_echo "$KRB5CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_KRB5CONFIG"; then + ac_pt_KRB5CONFIG=$KRB5CONFIG + # Extract the first word of "krb5-config", so it can be a program name with args. +set dummy krb5-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_KRB5CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_KRB5CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_KRB5CONFIG="$ac_pt_KRB5CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_KRB5CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_KRB5CONFIG=$ac_cv_path_ac_pt_KRB5CONFIG +if test -n "$ac_pt_KRB5CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_KRB5CONFIG" >&5 +$as_echo "$ac_pt_KRB5CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_KRB5CONFIG" = x; then + KRB5CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + KRB5CONFIG=$ac_pt_KRB5CONFIG + fi +else + KRB5CONFIG="$ac_cv_path_KRB5CONFIG" +fi + + if test "x$KRB5CONFIG" != x; then + case "$host_os_name" in + darwin) + # macOS weak-links to the Kerberos framework... + LIBGSSAPI="-weak_framework Kerberos" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSS framework" >&5 +$as_echo_n "checking for GSS framework... " >&6; } + if test -d /System/Library/Frameworks/GSS.framework; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + LIBGSSAPI="$LIBGSSAPI -weak_framework GSS" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + ;; + sunos*) + # Solaris has a non-standard krb5-config, don't use it! + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_display_status in -lgss" >&5 +$as_echo_n "checking for gss_display_status in -lgss... " >&6; } +if ${ac_cv_lib_gss_gss_display_status+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgss $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char gss_display_status (); +int +main () +{ +return gss_display_status (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_gss_gss_display_status=yes +else + ac_cv_lib_gss_gss_display_status=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gss_gss_display_status" >&5 +$as_echo "$ac_cv_lib_gss_gss_display_status" >&6; } +if test "x$ac_cv_lib_gss_gss_display_status" = xyes; then : + +$as_echo "#define HAVE_GSSAPI 1" >>confdefs.h + + CFLAGS="`$KRB5CONFIG --cflags` $CFLAGS" + CPPFLAGS="`$KRB5CONFIG --cflags` $CPPFLAGS" + LIBGSSAPI="-lgss `$KRB5CONFIG --libs`" +fi + + ;; + *) + # Other platforms just ask for GSSAPI + CFLAGS="`$KRB5CONFIG --cflags gssapi` $CFLAGS" + CPPFLAGS="`$KRB5CONFIG --cflags gssapi` $CPPFLAGS" + LIBGSSAPI="`$KRB5CONFIG --libs gssapi`" + ;; + esac + +$as_echo "#define HAVE_GSSAPI 1" >>confdefs.h + + else + # Check for vendor-specific implementations... + case "$host_os_name" in + hp-ux*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_display_status in -lgss" >&5 +$as_echo_n "checking for gss_display_status in -lgss... " >&6; } +if ${ac_cv_lib_gss_gss_display_status+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgss $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char gss_display_status (); +int +main () +{ +return gss_display_status (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_gss_gss_display_status=yes +else + ac_cv_lib_gss_gss_display_status=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gss_gss_display_status" >&5 +$as_echo "$ac_cv_lib_gss_gss_display_status" >&6; } +if test "x$ac_cv_lib_gss_gss_display_status" = xyes; then : + +$as_echo "#define HAVE_GSSAPI 1" >>confdefs.h + + LIBGSSAPI="-lgss -lgssapi_krb5" +fi + + ;; + sunos*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_display_status in -lgss" >&5 +$as_echo_n "checking for gss_display_status in -lgss... " >&6; } +if ${ac_cv_lib_gss_gss_display_status+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgss $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char gss_display_status (); +int +main () +{ +return gss_display_status (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_gss_gss_display_status=yes +else + ac_cv_lib_gss_gss_display_status=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gss_gss_display_status" >&5 +$as_echo "$ac_cv_lib_gss_gss_display_status" >&6; } +if test "x$ac_cv_lib_gss_gss_display_status" = xyes; then : + +$as_echo "#define HAVE_GSSAPI 1" >>confdefs.h + + LIBGSSAPI="-lgss" +fi + + ;; + esac + fi + + if test "x$LIBGSSAPI" != x; then + ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" +if test "x$ac_cv_header_krb5_h" = xyes; then : + $as_echo "#define HAVE_KRB5_H 1" >>confdefs.h + +fi + + + if test -d /System/Library/Frameworks/GSS.framework; then + ac_fn_c_check_header_mongrel "$LINENO" "GSS/gssapi.h" "ac_cv_header_GSS_gssapi_h" "$ac_includes_default" +if test "x$ac_cv_header_GSS_gssapi_h" = xyes; then : + $as_echo "#define HAVE_GSS_GSSAPI_H 1" >>confdefs.h + +fi + + + ac_fn_c_check_header_mongrel "$LINENO" "GSS/gssapi_generic.h" "ac_cv_header_GSS_gssapi_generic_h" "$ac_includes_default" +if test "x$ac_cv_header_GSS_gssapi_generic_h" = xyes; then : + $as_echo "#define HAVE_GSS_GSSAPI_GENERIC_H 1" >>confdefs.h + +fi + + + ac_fn_c_check_header_mongrel "$LINENO" "GSS/gssapi_spi.h" "ac_cv_header_GSS_gssapi_spi_h" "$ac_includes_default" +if test "x$ac_cv_header_GSS_gssapi_spi_h" = xyes; then : + $as_echo "#define HAVE_GSS_GSSAPI_SPI_H 1" >>confdefs.h + +fi + + + else + ac_fn_c_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default" +if test "x$ac_cv_header_gssapi_h" = xyes; then : + $as_echo "#define HAVE_GSSAPI_H 1" >>confdefs.h + +fi + + + ac_fn_c_check_header_mongrel "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default" +if test "x$ac_cv_header_gssapi_gssapi_h" = xyes; then : + $as_echo "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h + +fi + + + fi + + SAVELIBS="$LIBS" + LIBS="$LIBS $LIBGSSAPI" + + ac_fn_c_check_func "$LINENO" "__ApplePrivate_gss_acquire_cred_ex_f" "ac_cv_func___ApplePrivate_gss_acquire_cred_ex_f" +if test "x$ac_cv_func___ApplePrivate_gss_acquire_cred_ex_f" = xyes; then : + $as_echo "#define HAVE_GSS_ACQUIRE_CRED_EX_F 1" >>confdefs.h + +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSS_C_NT_HOSTBASED_SERVICE" >&5 +$as_echo_n "checking for GSS_C_NT_HOSTBASED_SERVICE... " >&6; } + if test x$ac_cv_header_gssapi_gssapi_h = xyes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + #include +int +main () +{ + gss_OID foo = GSS_C_NT_HOSTBASED_SERVICE; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + $as_echo "#define HAVE_GSS_C_NT_HOSTBASED_SERVICE 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + elif test x$ac_cv_header_gss_gssapi_h = xyes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + #include +int +main () +{ + gss_OID foo = GSS_C_NT_HOSTBASED_SERVICE; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + $as_echo "#define HAVE_GSS_C_NT_HOSTBASED_SERVICE 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + #include +int +main () +{ + gss_OID foo = GSS_C_NT_HOSTBASED_SERVICE; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + $as_echo "#define HAVE_GSS_C_NT_HOSTBASED_SERVICE 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + + LIBS="$SAVELIBS" + fi +fi + + +# Check whether --with-gssservicename was given. +if test "${with_gssservicename+set}" = set; then : + withval=$with_gssservicename; default_gssservicename="$withval" +else + default_gssservicename="default" +fi + + +if test x$default_gssservicename != xno; then + if test "x$default_gssservicename" = "xdefault"; then + CUPS_DEFAULT_GSSSERVICENAME="host" + else + CUPS_DEFAULT_GSSSERVICENAME="$default_gssservicename" + fi +else + CUPS_DEFAULT_GSSSERVICENAME="" +fi + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_GSSSERVICENAME "$CUPS_DEFAULT_GSSSERVICENAME" +_ACEOF + + + +# Check whether --enable-threads was given. +if test "${enable_threads+set}" = set; then : + enableval=$enable_threads; +fi + + +have_pthread=no +PTHREAD_FLAGS="" + +if test "x$enable_threads" != xno; then + ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" +if test "x$ac_cv_header_pthread_h" = xyes; then : + $as_echo "#define HAVE_PTHREAD_H 1" >>confdefs.h + +fi + + + + if test x$ac_cv_header_pthread_h = xyes; then + for flag in -lpthreads -lpthread -pthread; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create using $flag" >&5 +$as_echo_n "checking for pthread_create using $flag... " >&6; } + SAVELIBS="$LIBS" + LIBS="$flag $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +pthread_create(0, 0, 0, 0); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + have_pthread=yes +else + LIBS="$SAVELIBS" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pthread" >&5 +$as_echo "$have_pthread" >&6; } + + if test $have_pthread = yes; then + PTHREAD_FLAGS="-D_THREAD_SAFE -D_REENTRANT" + + # Solaris requires -D_POSIX_PTHREAD_SEMANTICS to + # be POSIX-compliant... :( + if test $host_os_name = sunos; then + PTHREAD_FLAGS="$PTHREAD_FLAGS -D_POSIX_PTHREAD_SEMANTICS" + fi + break + fi + done + fi +fi + + + + +# Check whether --enable-ssl was given. +if test "${enable_ssl+set}" = set; then : + enableval=$enable_ssl; +fi + +# Check whether --enable-cdsassl was given. +if test "${enable_cdsassl+set}" = set; then : + enableval=$enable_cdsassl; +fi + +# Check whether --enable-gnutls was given. +if test "${enable_gnutls+set}" = set; then : + enableval=$enable_gnutls; +fi + + +SSLFLAGS="" +SSLLIBS="" +have_ssl=0 +CUPS_SERVERKEYCHAIN="" + +if test x$enable_ssl != xno; then + if test $have_ssl = 0 -a "x$enable_cdsassl" != "xno"; then + if test $host_os_name = darwin; then + ac_fn_c_check_header_mongrel "$LINENO" "Security/SecureTransport.h" "ac_cv_header_Security_SecureTransport_h" "$ac_includes_default" +if test "x$ac_cv_header_Security_SecureTransport_h" = xyes; then : + + have_ssl=1 + $as_echo "#define HAVE_SSL 1" >>confdefs.h + + $as_echo "#define HAVE_CDSASSL 1" >>confdefs.h + + CUPS_SERVERKEYCHAIN="/Library/Keychains/System.keychain" + + ac_fn_c_check_header_mongrel "$LINENO" "Security/SecCertificate.h" "ac_cv_header_Security_SecCertificate_h" "$ac_includes_default" +if test "x$ac_cv_header_Security_SecCertificate_h" = xyes; then : + $as_echo "#define HAVE_SECCERTIFICATE_H 1" >>confdefs.h + +fi + + + ac_fn_c_check_header_mongrel "$LINENO" "Security/SecItem.h" "ac_cv_header_Security_SecItem_h" "$ac_includes_default" +if test "x$ac_cv_header_Security_SecItem_h" = xyes; then : + $as_echo "#define HAVE_SECITEM_H 1" >>confdefs.h + +fi + + + ac_fn_c_check_header_mongrel "$LINENO" "Security/SecPolicy.h" "ac_cv_header_Security_SecPolicy_h" "$ac_includes_default" +if test "x$ac_cv_header_Security_SecPolicy_h" = xyes; then : + $as_echo "#define HAVE_SECPOLICY_H 1" >>confdefs.h + +fi + + +fi + + + fi + fi + + if test $have_ssl = 0 -a "x$enable_gnutls" != "xno" -a "x$PKGCONFIG" != x; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}libgnutls-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}libgnutls-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_LIBGNUTLSCONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $LIBGNUTLSCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_LIBGNUTLSCONFIG="$LIBGNUTLSCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_LIBGNUTLSCONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +LIBGNUTLSCONFIG=$ac_cv_path_LIBGNUTLSCONFIG +if test -n "$LIBGNUTLSCONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGNUTLSCONFIG" >&5 +$as_echo "$LIBGNUTLSCONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_LIBGNUTLSCONFIG"; then + ac_pt_LIBGNUTLSCONFIG=$LIBGNUTLSCONFIG + # Extract the first word of "libgnutls-config", so it can be a program name with args. +set dummy libgnutls-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_LIBGNUTLSCONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_LIBGNUTLSCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_LIBGNUTLSCONFIG="$ac_pt_LIBGNUTLSCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_LIBGNUTLSCONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_LIBGNUTLSCONFIG=$ac_cv_path_ac_pt_LIBGNUTLSCONFIG +if test -n "$ac_pt_LIBGNUTLSCONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LIBGNUTLSCONFIG" >&5 +$as_echo "$ac_pt_LIBGNUTLSCONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_LIBGNUTLSCONFIG" = x; then + LIBGNUTLSCONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + LIBGNUTLSCONFIG=$ac_pt_LIBGNUTLSCONFIG + fi +else + LIBGNUTLSCONFIG="$ac_cv_path_LIBGNUTLSCONFIG" +fi + + if $PKGCONFIG --exists gnutls; then + have_ssl=1 + SSLLIBS=`$PKGCONFIG --libs gnutls` + SSLFLAGS=`$PKGCONFIG --cflags gnutls` + $as_echo "#define HAVE_SSL 1" >>confdefs.h + + $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h + + elif test "x$LIBGNUTLSCONFIG" != x; then + have_ssl=1 + SSLLIBS=`$LIBGNUTLSCONFIG --libs` + SSLFLAGS=`$LIBGNUTLSCONFIG --cflags` + $as_echo "#define HAVE_SSL 1" >>confdefs.h + + $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h + + fi + + if test $have_ssl = 1; then + CUPS_SERVERKEYCHAIN="ssl" + + SAVELIBS="$LIBS" + LIBS="$LIBS $SSLLIBS" + ac_fn_c_check_func "$LINENO" "gnutls_transport_set_pull_timeout_function" "ac_cv_func_gnutls_transport_set_pull_timeout_function" +if test "x$ac_cv_func_gnutls_transport_set_pull_timeout_function" = xyes; then : + $as_echo "#define HAVE_GNUTLS_TRANSPORT_SET_PULL_TIMEOUT_FUNCTION 1" >>confdefs.h + +fi + + ac_fn_c_check_func "$LINENO" "gnutls_priority_set_direct" "ac_cv_func_gnutls_priority_set_direct" +if test "x$ac_cv_func_gnutls_priority_set_direct" = xyes; then : + $as_echo "#define HAVE_GNUTLS_PRIORITY_SET_DIRECT 1" >>confdefs.h + +fi + + LIBS="$SAVELIBS" + fi + fi +fi + +IPPALIASES="http" +if test $have_ssl = 1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SSLLIBS=\"$SSLLIBS\"" >&5 +$as_echo " Using SSLLIBS=\"$SSLLIBS\"" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SSLFLAGS=\"$SSLFLAGS\"" >&5 +$as_echo " Using SSLFLAGS=\"$SSLFLAGS\"" >&6; } + IPPALIASES="http https ipps" +elif test x$enable_cdsa = xyes -o x$enable_gnutls = xyes; then + as_fn_error $? "Unable to enable SSL support." "$LINENO" 5 +fi + + + + + + +EXPORT_SSLLIBS="$SSLLIBS" + + + +# Check whether --enable-pam was given. +if test "${enable_pam+set}" = set; then : + enableval=$enable_pam; +fi + + +# Check whether --with-pam_module was given. +if test "${with_pam_module+set}" = set; then : + withval=$with_pam_module; +fi + + +PAMDIR="" +PAMFILE="pam.std" +PAMLIBS="" +PAMMOD="pam_unknown.so" +PAMMODAUTH="pam_unknown.so" + +if test x$enable_pam != xno; then + SAVELIBS="$LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBDL 1 +_ACEOF + + LIBS="-ldl $LIBS" + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5 +$as_echo_n "checking for pam_start in -lpam... " >&6; } +if ${ac_cv_lib_pam_pam_start+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lpam $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char pam_start (); +int +main () +{ +return pam_start (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_pam_pam_start=yes +else + ac_cv_lib_pam_pam_start=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5 +$as_echo "$ac_cv_lib_pam_pam_start" >&6; } +if test "x$ac_cv_lib_pam_pam_start" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBPAM 1 +_ACEOF + + LIBS="-lpam $LIBS" + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_set_item in -lpam" >&5 +$as_echo_n "checking for pam_set_item in -lpam... " >&6; } +if ${ac_cv_lib_pam_pam_set_item+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lpam $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char pam_set_item (); +int +main () +{ +return pam_set_item (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_pam_pam_set_item=yes +else + ac_cv_lib_pam_pam_set_item=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_set_item" >&5 +$as_echo "$ac_cv_lib_pam_pam_set_item" >&6; } +if test "x$ac_cv_lib_pam_pam_set_item" = xyes; then : + $as_echo "#define HAVE_PAM_SET_ITEM 1" >>confdefs.h + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_setcred in -lpam" >&5 +$as_echo_n "checking for pam_setcred in -lpam... " >&6; } +if ${ac_cv_lib_pam_pam_setcred+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lpam $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char pam_setcred (); +int +main () +{ +return pam_setcred (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_pam_pam_setcred=yes +else + ac_cv_lib_pam_pam_setcred=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_setcred" >&5 +$as_echo "$ac_cv_lib_pam_pam_setcred" >&6; } +if test "x$ac_cv_lib_pam_pam_setcred" = xyes; then : + $as_echo "#define HAVE_PAM_SETCRED 1" >>confdefs.h + +fi + + ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default" +if test "x$ac_cv_header_security_pam_appl_h" = xyes; then : + +fi + + + if test x$ac_cv_header_security_pam_appl_h != xyes; then + ac_fn_c_check_header_mongrel "$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default" +if test "x$ac_cv_header_pam_pam_appl_h" = xyes; then : + $as_echo "#define HAVE_PAM_PAM_APPL_H 1" >>confdefs.h + +fi + + + fi + + if test x$ac_cv_lib_pam_pam_start != xno; then + # Set the necessary libraries for PAM... + if test x$ac_cv_lib_dl_dlopen != xno; then + PAMLIBS="-lpam -ldl" + else + PAMLIBS="-lpam" + fi + + # Find the PAM configuration directory, if any... + for dir in /private/etc/pam.d /etc/pam.d; do + if test -d $dir; then + PAMDIR=$dir + break; + fi + done + fi + + LIBS="$SAVELIBS" + + case "$host_os_name" in + darwin*) + # Darwin/macOS + if test "x$with_pam_module" != x; then + PAMFILE="pam.$with_pam_module" + elif test -f /usr/lib/pam/pam_opendirectory.so.2; then + PAMFILE="pam.opendirectory" + else + PAMFILE="pam.securityserver" + fi + ;; + + *) + # All others; this test might need to be updated + # as Linux distributors move things around... + if test "x$with_pam_module" != x; then + PAMMOD="pam_${with_pam_module}.so" + elif test -f /etc/pam.d/common-auth; then + PAMFILE="pam.common" + else + moddir="" + for dir in /lib/security /lib64/security /lib/x86_64-linux-gnu/security /var/lib/pam; do + if test -d $dir; then + moddir=$dir + break; + fi + done + + if test -f $moddir/pam_unix2.so; then + PAMMOD="pam_unix2.so" + elif test -f $moddir/pam_unix.so; then + PAMMOD="pam_unix.so" + fi + fi + + if test "x$PAMMOD" = xpam_unix.so; then + PAMMODAUTH="$PAMMOD shadow nodelay" + else + PAMMODAUTH="$PAMMOD nodelay" + fi + ;; + esac +fi + + + + + + + + +# Check whether --enable-largefile was given. +if test "${enable_largefile+set}" = set; then : + enableval=$enable_largefile; +fi + +if test "$enable_largefile" != no; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 +$as_echo_n "checking for special C compiler options needed for large files... " >&6; } +if ${ac_cv_sys_largefile_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_sys_largefile_CC=no + if test "$GCC" != yes; then + ac_save_CC=$CC + while :; do + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + break +fi +rm -f core conftest.err conftest.$ac_objext + CC="$CC -n32" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_largefile_CC=' -n32'; break +fi +rm -f core conftest.err conftest.$ac_objext + break + done + CC=$ac_save_CC + rm -f conftest.$ac_ext + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 +$as_echo "$ac_cv_sys_largefile_CC" >&6; } + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +if ${ac_cv_sys_file_offset_bits+:} false; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#define _FILE_OFFSET_BITS 64 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=64; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_file_offset_bits=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 +$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +case $ac_cv_sys_file_offset_bits in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits +_ACEOF +;; +esac +rm -rf conftest* + if test $ac_cv_sys_file_offset_bits = unknown; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } +if ${ac_cv_sys_large_files+:} false; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#define _LARGE_FILES 1 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=1; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_large_files=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 +$as_echo "$ac_cv_sys_large_files" >&6; } +case $ac_cv_sys_large_files in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _LARGE_FILES $ac_cv_sys_large_files +_ACEOF +;; +esac +rm -rf conftest* + fi + + +fi + + +LARGEFILE="" +if test x$enable_largefile != xno; then + LARGEFILE="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" + + if test x$ac_cv_sys_large_files = x1; then + LARGEFILE="$LARGEFILE -D_LARGE_FILES" + fi + + if test x$ac_cv_sys_file_offset_bits = x64; then + LARGEFILE="$LARGEFILE -D_FILE_OFFSET_BITS=64" + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 +$as_echo_n "checking for long long int... " >&6; } +if ${ac_cv_c_long_long+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$GCC" = yes; then + ac_cv_c_long_long=yes + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +long long int i; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_long_long=yes +else + ac_cv_c_long_long=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_long_long" >&5 +$as_echo "$ac_cv_c_long_long" >&6; } + +if test $ac_cv_c_long_long = yes; then + $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h + +fi + +ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" +if test "x$ac_cv_func_strtoll" = xyes; then : + $as_echo "#define HAVE_STRTOLL 1" >>confdefs.h + +fi + + + +# Check whether --enable-avahi was given. +if test "${enable_avahi+set}" = set; then : + enableval=$enable_avahi; +fi + +# Check whether --enable-dnssd was given. +if test "${enable_dnssd+set}" = set; then : + enableval=$enable_dnssd; +fi + + +# Check whether --with-dnssd-libs was given. +if test "${with_dnssd_libs+set}" = set; then : + withval=$with_dnssd_libs; LDFLAGS="-L$withval $LDFLAGS" + DSOFLAGS="-L$withval $DSOFLAGS" +fi + + +# Check whether --with-dnssd-includes was given. +if test "${with_dnssd_includes+set}" = set; then : + withval=$with_dnssd_includes; CFLAGS="-I$withval $CFLAGS" + CPPFLAGS="-I$withval $CPPFLAGS" +fi + + +DNSSDLIBS="" +DNSSD_BACKEND="" +IPPFIND_BIN="" +IPPFIND_MAN="" + +if test "x$PKGCONFIG" != x -a x$enable_avahi != xno -a x$host_os_name != xdarwin; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Avahi" >&5 +$as_echo_n "checking for Avahi... " >&6; } + if $PKGCONFIG --exists avahi-client; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + CFLAGS="$CFLAGS `$PKGCONFIG --cflags avahi-client`" + DNSSDLIBS="`$PKGCONFIG --libs avahi-client`" + DNSSD_BACKEND="dnssd" + IPPFIND_BIN="ippfind" + IPPFIND_MAN="ippfind.1" + $as_echo "#define HAVE_AVAHI 1" >>confdefs.h + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi +fi + +if test "x$DNSSD_BACKEND" = x -a x$enable_dnssd != xno; then + ac_fn_c_check_header_mongrel "$LINENO" "dns_sd.h" "ac_cv_header_dns_sd_h" "$ac_includes_default" +if test "x$ac_cv_header_dns_sd_h" = xyes; then : + + case "$host_os_name" in + darwin*) + # Darwin and macOS... + $as_echo "#define HAVE_DNSSD 1" >>confdefs.h + + DNSSD_BACKEND="dnssd" + IPPFIND_BIN="ippfind" + IPPFIND_MAN="ippfind.1" + ;; + *) + # All others... + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for current version of dns_sd library" >&5 +$as_echo_n "checking for current version of dns_sd library... " >&6; } + SAVELIBS="$LIBS" + LIBS="$LIBS -ldns_sd" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +int constant = kDNSServiceFlagsShareConnection; + unsigned char txtRecord[100]; + uint8_t valueLen; + TXTRecordGetValuePtr(sizeof(txtRecord), + txtRecord, "value", &valueLen); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + $as_echo "#define HAVE_DNSSD 1" >>confdefs.h + + DNSSDLIBS="-ldns_sd" + DNSSD_BACKEND="dnssd" +else + IPPFIND_BIN="ippfind" + IPPFIND_MAN="ippfind.1" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + LIBS="$SAVELIBS" + ;; + esac + +fi + + +fi + + + + + + + +ONDEMANDFLAGS="" +ONDEMANDLIBS="" + + + +# Check whether --enable-launchd was given. +if test "${enable_launchd+set}" = set; then : + enableval=$enable_launchd; +fi + +LAUNCHD_DIR="" + + +if test x$enable_launchd != xno; then + ac_fn_c_check_func "$LINENO" "launch_activate_socket" "ac_cv_func_launch_activate_socket" +if test "x$ac_cv_func_launch_activate_socket" = xyes; then : + + $as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h + + $as_echo "#define HAVE_ONDEMAND 1" >>confdefs.h + +fi + + ac_fn_c_check_header_mongrel "$LINENO" "launch.h" "ac_cv_header_launch_h" "$ac_includes_default" +if test "x$ac_cv_header_launch_h" = xyes; then : + $as_echo "#define HAVE_LAUNCH_H 1" >>confdefs.h + +fi + + + + if test "$host_os_name" = darwin; then + LAUNCHD_DIR="/System/Library/LaunchDaemons" + # liblaunch is already part of libSystem + fi +fi + +# Check whether --enable-systemd was given. +if test "${enable_systemd+set}" = set; then : + enableval=$enable_systemd; +fi + + +# Check whether --with-systemd was given. +if test "${with_systemd+set}" = set; then : + withval=$with_systemd; SYSTEMD_DIR="$withval" +else + SYSTEMD_DIR="" +fi + + + +if test x$enable_systemd != xno; then + if test "x$PKGCONFIG" = x; then + if test x$enable_systemd = xyes; then + as_fn_error $? "Need pkg-config to enable systemd support." "$LINENO" 5 + fi + else + have_systemd=no + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5 +$as_echo_n "checking for libsystemd... " >&6; } + if $PKGCONFIG --exists libsystemd; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_systemd=yes + ONDEMANDFLAGS=`$PKGCONFIG --cflags libsystemd` + ONDEMANDLIBS=`$PKGCONFIG --libs libsystemd` + elif $PKGCONFIG --exists libsystemd-daemon; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - legacy" >&5 +$as_echo "yes - legacy" >&6; } + have_systemd=yes + ONDEMANDFLAGS=`$PKGCONFIG --cflags libsystemd-daemon` + ONDEMANDLIBS=`$PKGCONFIG --libs libsystemd-daemon` + + if $PKGCONFIG --exists libsystemd-journal; then + ONDEMANDFLAGS="$ONDEMANDFLAGS `$PKGCONFIG --cflags libsystemd-journal`" + ONDEMANDLIBS="$ONDEMANDLIBS `$PKGCONFIG --libs libsystemd-journal`" + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + + if test $have_systemd = yes; then + $as_echo "#define HAVE_SYSTEMD 1" >>confdefs.h + + $as_echo "#define HAVE_ONDEMAND 1" >>confdefs.h + + ac_fn_c_check_header_mongrel "$LINENO" "systemd/sd-journal.h" "ac_cv_header_systemd_sd_journal_h" "$ac_includes_default" +if test "x$ac_cv_header_systemd_sd_journal_h" = xyes; then : + $as_echo "#define HAVE_SYSTEMD_SD_JOURNAL_H 1" >>confdefs.h + +fi + + + if test "x$SYSTEMD_DIR" = x; then + SYSTEMD_DIR="`$PKGCONFIG --variable=systemdsystemunitdir systemd`" + fi + fi + fi +fi + +# Check whether --enable-upstart was given. +if test "${enable_upstart+set}" = set; then : + enableval=$enable_upstart; +fi + +if test "x$enable_upstart" = "xyes"; then + if test "x$have_systemd" = "xyes"; then + as_fn_error $? "Cannot support both systemd and upstart." "$LINENO" 5 + fi + $as_echo "#define HAVE_UPSTART 1" >>confdefs.h + + $as_echo "#define HAVE_ONDEMAND 1" >>confdefs.h + +fi + +SMFMANIFESTDIR="" + + +# Check whether --with-smfmanifestdir was given. +if test "${with_smfmanifestdir+set}" = set; then : + withval=$with_smfmanifestdir; SMFMANIFESTDIR="$withval" +fi + + + +# Check whether --with-rcdir was given. +if test "${with_rcdir+set}" = set; then : + withval=$with_rcdir; rcdir="$withval" +else + rcdir="" +fi + + +# Check whether --with-rclevels was given. +if test "${with_rclevels+set}" = set; then : + withval=$with_rclevels; rclevels="$withval" +else + rclevels="2 3 5" +fi + + +# Check whether --with-rcstart was given. +if test "${with_rcstart+set}" = set; then : + withval=$with_rcstart; rcstart="$withval" +else + rcstart="" +fi + + +# Check whether --with-rcstop was given. +if test "${with_rcstop+set}" = set; then : + withval=$with_rcstop; rcstop="$withval" +else + rcstop="" +fi + + +if test x$rcdir = x; then + if test x$LAUNCHD_DIR = x -a x$SYSTEMD_DIR = x -a x$SMFMANIFESTDIR = x; then + # Fall back on "init", the original service startup interface... + if test -d /sbin/init.d; then + # SuSE + rcdir="/sbin/init.d" + elif test -d /etc/init.d; then + # Others + rcdir="/etc" + else + # RedHat, NetBSD + rcdir="/etc/rc.d" + fi + else + rcdir="no" + fi +fi + +if test "x$rcstart" = x; then + case "$host_os_name" in + linux* | gnu*) + # Linux + rcstart="81" + ;; + + sunos*) + # Solaris + rcstart="81" + ;; + + *) + # Others + rcstart="99" + ;; + esac +fi + +if test "x$rcstop" = x; then + case "$host_os_name" in + linux* | gnu*) + # Linux + rcstop="36" + ;; + + *) + # Others + rcstop="00" + ;; + esac +fi + +INITDIR="" +INITDDIR="" +RCLEVELS="$rclevels" +RCSTART="$rcstart" +RCSTOP="$rcstop" + + + + + + +if test "x$rcdir" != xno; then + if test "x$rclevels" = x; then + INITDDIR="$rcdir" + else + INITDIR="$rcdir" + fi +fi + + +# Check whether --with-xinetd was given. +if test "${with_xinetd+set}" = set; then : + withval=$with_xinetd; xinetd="$withval" +else + xinetd="" +fi + +XINETD="" + + +if test "x$xinetd" = x; then + if test ! -x /sbin/launchd; then + for dir in /etc/xinetd.d /usr/local/etc/xinetd.d; do + if test -d $dir; then + XINETD="$dir" + break + fi + done + fi +elif test "x$xinetd" != xno; then + XINETD="$xinetd" +fi + + +LANGUAGES="`ls -1 locale/cups_*.po 2>/dev/null | sed -e '1,$s/locale\/cups_//' -e '1,$s/\.po//' | tr '\n' ' '`" + + +# Check whether --with-languages was given. +if test "${with_languages+set}" = set; then : + withval=$with_languages; + case "$withval" in + none | no) LANGUAGES="" ;; + all) ;; + *) LANGUAGES="$withval" ;; + esac +fi + + + + +# Check whether --with-bundledir was given. +if test "${with_bundledir+set}" = set; then : + withval=$with_bundledir; CUPS_BUNDLEDIR="$withval" +else + + if test "x$host_os_name" = xdarwin -a $host_os_version -ge 100; then + CUPS_BUNDLEDIR="/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A" + LANGUAGES="" + else + CUPS_BUNDLEDIR="" + fi +fi + + + +if test "x$CUPS_BUNDLEDIR" != x; then + cat >>confdefs.h <<_ACEOF +#define CUPS_BUNDLEDIR "$CUPS_BUNDLEDIR" +_ACEOF + +fi + + +# Check whether --with-bundlelang was given. +if test "${with_bundlelang+set}" = set; then : + withval=$with_bundlelang; cups_bundlelang="$withval" +else + + if test $host_os_version -ge 190; then + cups_bundlelang="en" + else + cups_bundlelang="English" + fi +fi + + +if test "x$cups_bundlelang" != x -a "x$CUPS_BUNDLEDIR" != x; then + CUPS_RESOURCEDIR="$CUPS_BUNDLEDIR/Resources/$cups_bundlelang.lproj" +else + CUPS_RESOURCEDIR="" +fi + + + +# Check whether --with-exe_file_perm was given. +if test "${with_exe_file_perm+set}" = set; then : + withval=$with_exe_file_perm; CUPS_EXE_FILE_PERM="$withval" +else + case "$host_os_name" in + linux* | gnu*) + CUPS_EXE_FILE_PERM="755" + ;; + *) + CUPS_EXE_FILE_PERM="555" + ;; + esac +fi + + + + +# Check whether --with-config_file_perm was given. +if test "${with_config_file_perm+set}" = set; then : + withval=$with_config_file_perm; CUPS_CONFIG_FILE_PERM="$withval" +else + if test "x$host_os_name" = xdarwin; then + CUPS_CONFIG_FILE_PERM="644" + else + CUPS_CONFIG_FILE_PERM="640" + fi +fi + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_CONFIG_FILE_PERM 0$CUPS_CONFIG_FILE_PERM +_ACEOF + + + +# Check whether --with-cupsd_file_perm was given. +if test "${with_cupsd_file_perm+set}" = set; then : + withval=$with_cupsd_file_perm; CUPS_CUPSD_FILE_PERM="$withval" +else + case "$host_os_name" in + linux* | gnu*) + CUPS_CUPSD_FILE_PERM="700" + ;; + *) + CUPS_CUPSD_FILE_PERM="500" + ;; + esac +fi + + + + +# Check whether --with-log_file_perm was given. +if test "${with_log_file_perm+set}" = set; then : + withval=$with_log_file_perm; CUPS_LOG_FILE_PERM="$withval" +else + CUPS_LOG_FILE_PERM="644" +fi + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_LOG_FILE_PERM 0$CUPS_LOG_FILE_PERM +_ACEOF + + + +# Check whether --with-fatal_errors was given. +if test "${with_fatal_errors+set}" = set; then : + withval=$with_fatal_errors; CUPS_FATAL_ERRORS="$withval" +else + CUPS_FATAL_ERRORS="config" +fi + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_FATAL_ERRORS "$CUPS_FATAL_ERRORS" +_ACEOF + + + +# Check whether --with-log_level was given. +if test "${with_log_level+set}" = set; then : + withval=$with_log_level; CUPS_LOG_LEVEL="$withval" +else + CUPS_LOG_LEVEL="warn" +fi + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_LOG_LEVEL "$CUPS_LOG_LEVEL" +_ACEOF + + + +# Check whether --with-access_log_level was given. +if test "${with_access_log_level+set}" = set; then : + withval=$with_access_log_level; CUPS_ACCESS_LOG_LEVEL="$withval" +else + CUPS_ACCESS_LOG_LEVEL="none" +fi + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_ACCESS_LOG_LEVEL "$CUPS_ACCESS_LOG_LEVEL" +_ACEOF + + +# Check whether --enable-page_logging was given. +if test "${enable_page_logging+set}" = set; then : + enableval=$enable_page_logging; +fi + +if test "x$enable_page_logging" = xyes; then + CUPS_PAGE_LOG_FORMAT="" +else + CUPS_PAGE_LOG_FORMAT="PageLogFormat" +fi + + +# Check whether --enable-browsing was given. +if test "${enable_browsing+set}" = set; then : + enableval=$enable_browsing; +fi + +if test "x$enable_browsing" = xno; then + CUPS_BROWSING="No" + cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_BROWSING 0 +_ACEOF + +else + CUPS_BROWSING="Yes" + cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_BROWSING 1 +_ACEOF + +fi + + + +# Check whether --with-local_protocols was given. +if test "${with_local_protocols+set}" = set; then : + withval=$with_local_protocols; default_local_protocols="$withval" +else + default_local_protocols="default" +fi + + +if test x$with_local_protocols != xno; then + if test "x$default_local_protocols" = "xdefault"; then + if test "x$DNSSD_BACKEND" != "x"; then + CUPS_BROWSE_LOCAL_PROTOCOLS="dnssd" + else + CUPS_BROWSE_LOCAL_PROTOCOLS="" + fi + else + CUPS_BROWSE_LOCAL_PROTOCOLS="$default_local_protocols" + fi +else + CUPS_BROWSE_LOCAL_PROTOCOLS="" +fi + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "$CUPS_BROWSE_LOCAL_PROTOCOLS" +_ACEOF + + +# Check whether --enable-default_shared was given. +if test "${enable_default_shared+set}" = set; then : + enableval=$enable_default_shared; +fi + +if test "x$enable_default_shared" = xno; then + CUPS_DEFAULT_SHARED="No" + cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_DEFAULT_SHARED 0 +_ACEOF + +else + CUPS_DEFAULT_SHARED="Yes" + cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_DEFAULT_SHARED 1 +_ACEOF + +fi + + + +# Check whether --with-cups_user was given. +if test "${with_cups_user+set}" = set; then : + withval=$with_cups_user; CUPS_USER="$withval" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default print user" >&5 +$as_echo_n "checking for default print user... " >&6; } + if test x$host_os_name = xdarwin; then + if test x`id -u _lp 2>/dev/null` = x; then + CUPS_USER="lp"; + else + CUPS_USER="_lp"; + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_USER" >&5 +$as_echo "$CUPS_USER" >&6; } + elif test -f /etc/passwd; then + CUPS_USER="" + for user in lp lpd guest daemon nobody; do + if test "`grep \^${user}: /etc/passwd`" != ""; then + CUPS_USER="$user" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $user" >&5 +$as_echo "$user" >&6; } + break; + fi + done + + if test x$CUPS_USER = x; then + CUPS_USER="nobody" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + CUPS_USER="nobody" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no password file" >&5 +$as_echo "no password file" >&6; } + fi +fi + + +if test "x$CUPS_USER" = "xroot" -o "x$CUPS_USER" = "x0"; then + as_fn_error $? "The default user for CUPS cannot be root!" "$LINENO" 5 +fi + + +# Check whether --with-cups_group was given. +if test "${with_cups_group+set}" = set; then : + withval=$with_cups_group; CUPS_GROUP="$withval" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default print group" >&5 +$as_echo_n "checking for default print group... " >&6; } + if test x$host_os_name = xdarwin; then + if test x`id -g _lp 2>/dev/null` = x; then + CUPS_GROUP="lp"; + else + CUPS_GROUP="_lp"; + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_GROUP" >&5 +$as_echo "$CUPS_GROUP" >&6; } + elif test -f /etc/group; then + GROUP_LIST="_lp lp nobody" + CUPS_GROUP="" + for group in $GROUP_LIST; do + if test "`grep \^${group}: /etc/group`" != ""; then + CUPS_GROUP="$group" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $group" >&5 +$as_echo "$group" >&6; } + break; + fi + done + + if test x$CUPS_GROUP = x; then + CUPS_GROUP="nobody" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + fi + else + CUPS_GROUP="nobody" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no group file" >&5 +$as_echo "no group file" >&6; } + fi +fi + + +if test "x$CUPS_GROUP" = "xroot" -o "x$CUPS_GROUP" = "xwheel" -o "x$CUPS_GROUP" = "x0"; then + as_fn_error $? "The default group for CUPS cannot be root!" "$LINENO" 5 +fi + + +# Check whether --with-system_groups was given. +if test "${with_system_groups+set}" = set; then : + withval=$with_system_groups; CUPS_SYSTEM_GROUPS="$withval" +else + if test x$host_os_name = xdarwin; then + CUPS_SYSTEM_GROUPS="admin" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default system groups" >&5 +$as_echo_n "checking for default system groups... " >&6; } + if test -f /etc/group; then + CUPS_SYSTEM_GROUPS="" + GROUP_LIST="lpadmin sys system root wheel" + for group in $GROUP_LIST; do + if test "`grep \^${group}: /etc/group`" != ""; then + if test "x$CUPS_SYSTEM_GROUPS" = x; then + CUPS_SYSTEM_GROUPS="$group" + else + CUPS_SYSTEM_GROUPS="$CUPS_SYSTEM_GROUPS $group" + fi + fi + done + + if test "x$CUPS_SYSTEM_GROUPS" = x; then + CUPS_SYSTEM_GROUPS="$GROUP_LIST" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no groups found" >&5 +$as_echo "no groups found" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$CUPS_SYSTEM_GROUPS\"" >&5 +$as_echo "\"$CUPS_SYSTEM_GROUPS\"" >&6; } + fi + else + CUPS_SYSTEM_GROUPS="$GROUP_LIST" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no group file" >&5 +$as_echo "no group file" >&6; } + fi + fi +fi + + +CUPS_PRIMARY_SYSTEM_GROUP="`echo $CUPS_SYSTEM_GROUPS | awk '{print $1}'`" + +for group in $CUPS_SYSTEM_GROUPS; do + if test "x$CUPS_GROUP" = "x$group"; then + as_fn_error $? "The default system groups cannot contain the default CUPS group!" "$LINENO" 5 + fi +done + + + + + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_USER "$CUPS_USER" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_GROUP "$CUPS_GROUP" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_SYSTEM_GROUPS "$CUPS_SYSTEM_GROUPS" +_ACEOF + + + +# Check whether --with-printcap was given. +if test "${with_printcap+set}" = set; then : + withval=$with_printcap; default_printcap="$withval" +else + default_printcap="default" +fi + + +if test x$default_printcap != xno; then + if test "x$default_printcap" = "xdefault"; then + case $host_os_name in + darwin*) + if test $host_os_version -ge 90; then + CUPS_DEFAULT_PRINTCAP="/Library/Preferences/org.cups.printers.plist" + else + CUPS_DEFAULT_PRINTCAP="/etc/printcap" + fi + ;; + sunos*) + CUPS_DEFAULT_PRINTCAP="/etc/printers.conf" + ;; + *) + CUPS_DEFAULT_PRINTCAP="/etc/printcap" + ;; + esac + else + CUPS_DEFAULT_PRINTCAP="$default_printcap" + fi +else + CUPS_DEFAULT_PRINTCAP="" +fi + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_PRINTCAP "$CUPS_DEFAULT_PRINTCAP" +_ACEOF + + + +# Check whether --with-lpdconfigfile was given. +if test "${with_lpdconfigfile+set}" = set; then : + withval=$with_lpdconfigfile; default_lpdconfigfile="$withval" +else + default_lpdconfigfile="default" +fi + + +if test x$default_lpdconfigfile != xno; then + if test "x$default_lpdconfigfile" = "xdefault"; then + case $host_os_name in + darwin*) + CUPS_DEFAULT_LPD_CONFIG_FILE="launchd:///System/Library/LaunchDaemons/org.cups.cups-lpd.plist" + ;; + *) + if test "x$XINETD" != x; then + CUPS_DEFAULT_LPD_CONFIG_FILE="xinetd://$XINETD/cups-lpd" + else + CUPS_DEFAULT_LPD_CONFIG_FILE="" + fi + ;; + esac + else + CUPS_DEFAULT_LPD_CONFIG_FILE="$default_lpdconfigfile" + fi +else + CUPS_DEFAULT_LPD_CONFIG_FILE="" +fi + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_LPD_CONFIG_FILE "$CUPS_DEFAULT_LPD_CONFIG_FILE" +_ACEOF + + + + +# Check whether --with-smbconfigfile was given. +if test "${with_smbconfigfile+set}" = set; then : + withval=$with_smbconfigfile; default_smbconfigfile="$withval" +else + default_smbconfigfile="default" +fi + + +if test x$default_smbconfigfile != xno; then + if test "x$default_smbconfigfile" = "xdefault"; then + if test -f /etc/smb.conf; then + CUPS_DEFAULT_SMB_CONFIG_FILE="samba:///etc/smb.conf" + else + CUPS_DEFAULT_SMB_CONFIG_FILE="" + fi + else + CUPS_DEFAULT_SMB_CONFIG_FILE="$default_smbconfigfile" + fi +else + CUPS_DEFAULT_SMB_CONFIG_FILE="" +fi + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_SMB_CONFIG_FILE "$CUPS_DEFAULT_SMB_CONFIG_FILE" +_ACEOF + + + + +# Check whether --with-max-copies was given. +if test "${with_max_copies+set}" = set; then : + withval=$with_max_copies; CUPS_MAX_COPIES="$withval" +else + CUPS_MAX_COPIES="9999" +fi + + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_MAX_COPIES $CUPS_MAX_COPIES +_ACEOF + + +# Check whether --enable-raw_printing was given. +if test "${enable_raw_printing+set}" = set; then : + enableval=$enable_raw_printing; +fi + +if test "x$enable_raw_printing" != xno; then + DEFAULT_RAW_PRINTING="" +else + DEFAULT_RAW_PRINTING="#" +fi + + + +# Check whether --with-snmp-address was given. +if test "${with_snmp_address+set}" = set; then : + withval=$with_snmp_address; if test "x$withval" = x; then + CUPS_SNMP_ADDRESS="" + else + CUPS_SNMP_ADDRESS="Address $withval" + fi +else + if test "x$host_os_name" = xdarwin; then + CUPS_SNMP_ADDRESS="" + else + CUPS_SNMP_ADDRESS="Address @LOCAL" + fi +fi + + + +# Check whether --with-snmp-community was given. +if test "${with_snmp_community+set}" = set; then : + withval=$with_snmp_community; CUPS_SNMP_COMMUNITY="Community $withval" +else + CUPS_SNMP_COMMUNITY="Community public" +fi + + + + + + +# Check whether --with-ipp-port was given. +if test "${with_ipp_port+set}" = set; then : + withval=$with_ipp_port; DEFAULT_IPP_PORT="$withval" +else + DEFAULT_IPP_PORT="631" +fi + + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_IPP_PORT $DEFAULT_IPP_PORT +_ACEOF + + +# Check whether --enable-webif was given. +if test "${enable_webif+set}" = set; then : + enableval=$enable_webif; +fi + +case "x$enable_webif" in + xno) + CUPS_WEBIF=No + CUPS_DEFAULT_WEBIF=0 + ;; + xyes) + CUPS_WEBIF=Yes + CUPS_DEFAULT_WEBIF=1 + ;; + *) + if test $host_os_name = darwin; then + CUPS_WEBIF=No + CUPS_DEFAULT_WEBIF=0 + else + CUPS_WEBIF=Yes + CUPS_DEFAULT_WEBIF=1 + fi + ;; +esac + + +cat >>confdefs.h <<_ACEOF +#define CUPS_DEFAULT_WEBIF $CUPS_DEFAULT_WEBIF +_ACEOF + + + +INSTALL_LANGUAGES="" +UNINSTALL_LANGUAGES="" +LANGFILES="" +if test "x$LANGUAGES" != x; then + INSTALL_LANGUAGES="install-languages" + UNINSTALL_LANGUAGES="uninstall-languages" + for lang in $LANGUAGES; do + if test -f doc/$lang/index.html.in; then + LANGFILES="$LANGFILES doc/$lang/index.html" + fi + + if test -f templates/$lang/header.tmpl.in; then + LANGFILES="$LANGFILES templates/$lang/header.tmpl" + fi + done +elif test "x$CUPS_BUNDLEDIR" != x; then + INSTALL_LANGUAGES="install-langbundle" + UNINSTALL_LANGUAGES="uninstall-langbundle" +fi + + + + +ac_config_files="$ac_config_files Makedefs conf/cups-files.conf conf/cupsd.conf conf/mime.convs conf/pam.std conf/snmp.conf cups-config desktop/cups.desktop doc/index.html scheduler/cups-lpd.xinetd scheduler/cups.sh scheduler/cups.xml scheduler/org.cups.cups-lpd.plist scheduler/org.cups.cups-lpdAT.service scheduler/org.cups.cupsd.path scheduler/org.cups.cupsd.service scheduler/org.cups.cupsd.socket templates/header.tmpl packaging/cups.list $LANGFILES" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by CUPS $as_me 2.3.1, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Report bugs to . +CUPS home page: ." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +CUPS config.status 2.3.1 +configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2012 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "Makedefs") CONFIG_FILES="$CONFIG_FILES Makedefs" ;; + "conf/cups-files.conf") CONFIG_FILES="$CONFIG_FILES conf/cups-files.conf" ;; + "conf/cupsd.conf") CONFIG_FILES="$CONFIG_FILES conf/cupsd.conf" ;; + "conf/mime.convs") CONFIG_FILES="$CONFIG_FILES conf/mime.convs" ;; + "conf/pam.std") CONFIG_FILES="$CONFIG_FILES conf/pam.std" ;; + "conf/snmp.conf") CONFIG_FILES="$CONFIG_FILES conf/snmp.conf" ;; + "cups-config") CONFIG_FILES="$CONFIG_FILES cups-config" ;; + "desktop/cups.desktop") CONFIG_FILES="$CONFIG_FILES desktop/cups.desktop" ;; + "doc/index.html") CONFIG_FILES="$CONFIG_FILES doc/index.html" ;; + "scheduler/cups-lpd.xinetd") CONFIG_FILES="$CONFIG_FILES scheduler/cups-lpd.xinetd" ;; + "scheduler/cups.sh") CONFIG_FILES="$CONFIG_FILES scheduler/cups.sh" ;; + "scheduler/cups.xml") CONFIG_FILES="$CONFIG_FILES scheduler/cups.xml" ;; + "scheduler/org.cups.cups-lpd.plist") CONFIG_FILES="$CONFIG_FILES scheduler/org.cups.cups-lpd.plist" ;; + "scheduler/org.cups.cups-lpdAT.service") CONFIG_FILES="$CONFIG_FILES scheduler/org.cups.cups-lpdAT.service" ;; + "scheduler/org.cups.cupsd.path") CONFIG_FILES="$CONFIG_FILES scheduler/org.cups.cupsd.path" ;; + "scheduler/org.cups.cupsd.service") CONFIG_FILES="$CONFIG_FILES scheduler/org.cups.cupsd.service" ;; + "scheduler/org.cups.cupsd.socket") CONFIG_FILES="$CONFIG_FILES scheduler/org.cups.cupsd.socket" ;; + "templates/header.tmpl") CONFIG_FILES="$CONFIG_FILES templates/header.tmpl" ;; + "packaging/cups.list") CONFIG_FILES="$CONFIG_FILES packaging/cups.list" ;; + "$LANGFILES") CONFIG_FILES="$CONFIG_FILES $LANGFILES" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi + ;; + + + esac + +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + +chmod +x cups-config diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..23abe87 --- /dev/null +++ b/configure.ac @@ -0,0 +1,81 @@ +dnl +dnl Configuration script for CUPS. +dnl +dnl Copyright © 2007-2019 by Apple Inc. +dnl Copyright © 1997-2007 by Easy Software Products, all rights reserved. +dnl +dnl Licensed under Apache License v2.0. See the file "LICENSE" for more +dnl information. +dnl + +dnl We need at least autoconf 2.60... +AC_PREREQ(2.60) + +dnl Package name and version... +AC_INIT([CUPS], [2.3.1], [https://github.com/apple/cups/issues], [cups], [https://www.cups.org/]) + +sinclude(config-scripts/cups-opsys.m4) +sinclude(config-scripts/cups-common.m4) +sinclude(config-scripts/cups-directories.m4) +sinclude(config-scripts/cups-manpages.m4) + +sinclude(config-scripts/cups-sharedlibs.m4) +sinclude(config-scripts/cups-libtool.m4) +sinclude(config-scripts/cups-compiler.m4) + +sinclude(config-scripts/cups-network.m4) +sinclude(config-scripts/cups-poll.m4) +sinclude(config-scripts/cups-gssapi.m4) +sinclude(config-scripts/cups-threads.m4) +sinclude(config-scripts/cups-ssl.m4) +sinclude(config-scripts/cups-pam.m4) +sinclude(config-scripts/cups-largefile.m4) +sinclude(config-scripts/cups-dnssd.m4) +sinclude(config-scripts/cups-startup.m4) +sinclude(config-scripts/cups-defaults.m4) + +INSTALL_LANGUAGES="" +UNINSTALL_LANGUAGES="" +LANGFILES="" +if test "x$LANGUAGES" != x; then + INSTALL_LANGUAGES="install-languages" + UNINSTALL_LANGUAGES="uninstall-languages" + for lang in $LANGUAGES; do + if test -f doc/$lang/index.html.in; then + LANGFILES="$LANGFILES doc/$lang/index.html" + fi + + if test -f templates/$lang/header.tmpl.in; then + LANGFILES="$LANGFILES templates/$lang/header.tmpl" + fi + done +elif test "x$CUPS_BUNDLEDIR" != x; then + INSTALL_LANGUAGES="install-langbundle" + UNINSTALL_LANGUAGES="uninstall-langbundle" +fi + +AC_SUBST(INSTALL_LANGUAGES) +AC_SUBST(UNINSTALL_LANGUAGES) + +AC_OUTPUT(Makedefs + conf/cups-files.conf + conf/cupsd.conf + conf/mime.convs + conf/pam.std + conf/snmp.conf + cups-config + desktop/cups.desktop + doc/index.html + scheduler/cups-lpd.xinetd + scheduler/cups.sh + scheduler/cups.xml + scheduler/org.cups.cups-lpd.plist + scheduler/org.cups.cups-lpdAT.service + scheduler/org.cups.cupsd.path + scheduler/org.cups.cupsd.service + scheduler/org.cups.cupsd.socket + templates/header.tmpl + packaging/cups.list + $LANGFILES) + +chmod +x cups-config diff --git a/cups-config.in b/cups-config.in new file mode 100755 index 0000000..9dd094d --- /dev/null +++ b/cups-config.in @@ -0,0 +1,128 @@ +#!/bin/sh +# +# CUPS configuration utility. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 2001-2006 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +VERSION="@CUPS_VERSION@" +APIVERSION="2.3" +BUILD="@CUPS_BUILD@" + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +bindir=@bindir@ +includedir=@includedir@ +libdir=@libdir@ +datarootdir=@datadir@ +datadir=@datadir@ +sysconfdir=@sysconfdir@ +cups_datadir=@CUPS_DATADIR@ +cups_serverbin=@CUPS_SERVERBIN@ +cups_serverroot=@CUPS_SERVERROOT@ +INSTALLSTATIC=@INSTALLSTATIC@ + +# flags for compiler and linker... +CFLAGS="" +LDFLAGS="@EXPORT_LDFLAGS@" +LIBS="@LIBGSSAPI@ @DNSSDLIBS@ @EXPORT_SSLLIBS@ @LIBZ@ @LIBS@" + +# Check for local invocation... +selfdir=`dirname $0` + +if test -f "$selfdir/cups/cups.h"; then + CFLAGS="-I$selfdir" + LDFLAGS="-L$selfdir/cups $LDFLAGS" + libdir="$selfdir/cups" +else + if test $includedir != /usr/include; then + CFLAGS="$CFLAGS -I$includedir" + fi + + if test $libdir != /usr/lib -a $libdir != /usr/lib32 -a $libdir != /usr/lib64; then + LDFLAGS="$LDFLAGS -L$libdir" + fi +fi + + +usage () +{ + echo "Usage: cups-config --api-version" + echo " cups-config --build" + echo " cups-config --cflags" + echo " cups-config --datadir" + echo " cups-config --help" + echo " cups-config --ldflags" + echo " cups-config [--image] [--static] --libs" + echo " cups-config --serverbin" + echo " cups-config --serverroot" + echo " cups-config --version" + + exit $1 +} + +if test $# -eq 0; then + usage 1 +fi + +# Parse command line options +static=no + +while test $# -gt 0; do + case $1 in + --api-version) + echo $APIVERSION + ;; + --build) + echo $BUILD + ;; + --cflags) + echo $CFLAGS + ;; + --datadir) + echo $cups_datadir + ;; + --help) + usage 0 + ;; + --image) + # Do nothing + ;; + --ldflags) + echo $LDFLAGS + ;; + --libs) + if test $static = no; then + libs="@EXTLINKCUPS@"; + else + libs="$libdir/libcups.a $LIBS"; + fi + echo $libs + ;; + --serverbin) + echo $cups_serverbin + ;; + --serverroot) + echo $cups_serverroot + ;; + --static) + if test -z "$INSTALLSTATIC"; then + echo "WARNING: Static libraries not installed." >&2 + else + static=yes + fi + ;; + --version) + echo $VERSION + ;; + *) + usage 1 + ;; + esac + + shift +done diff --git a/cups/Dependencies b/cups/Dependencies new file mode 100644 index 0000000..1cb291b --- /dev/null +++ b/cups/Dependencies @@ -0,0 +1,411 @@ +array.o: array.c ../cups/cups.h file.h versioning.h ipp.h http.h array.h \ + language.h pwg.h string-private.h ../config.h ../cups/versioning.h \ + debug-internal.h debug-private.h array-private.h ../cups/array.h +auth.o: auth.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +debug.o: debug.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +dest.o: dest.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +dest-job.o: dest-job.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +dest-localization.o: dest-localization.c cups-private.h string-private.h \ + ../config.h ../cups/versioning.h array-private.h ../cups/array.h \ + versioning.h ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h \ + language.h pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +dest-options.o: dest-options.c cups-private.h string-private.h \ + ../config.h ../cups/versioning.h array-private.h ../cups/array.h \ + versioning.h ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h \ + language.h pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +dir.o: dir.c string-private.h ../config.h ../cups/versioning.h \ + debug-internal.h debug-private.h dir.h versioning.h +encode.o: encode.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +file.o: file.c file-private.h cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +getputfile.o: getputfile.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +globals.o: globals.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h +hash.o: hash.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h +http.o: http.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +http-addr.o: http-addr.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +http-addrlist.o: http-addrlist.c cups-private.h string-private.h \ + ../config.h ../cups/versioning.h array-private.h ../cups/array.h \ + versioning.h ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h \ + language.h pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +http-support.o: http-support.c cups-private.h string-private.h \ + ../config.h ../cups/versioning.h array-private.h ../cups/array.h \ + versioning.h ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h \ + language.h pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +ipp.o: ipp.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +ipp-file.o: ipp-file.c ipp-private.h ../cups/cups.h file.h versioning.h \ + ipp.h http.h array.h language.h pwg.h string-private.h ../config.h \ + ../cups/versioning.h debug-internal.h debug-private.h +ipp-vars.o: ipp-vars.c ../cups/cups.h file.h versioning.h ipp.h http.h \ + array.h language.h pwg.h ipp-private.h string-private.h ../config.h \ + ../cups/versioning.h debug-internal.h debug-private.h +ipp-support.o: ipp-support.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +langprintf.o: langprintf.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +language.o: language.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +md5.o: md5.c md5-internal.h ../cups/versioning.h string-private.h \ + ../config.h +md5passwd.o: md5passwd.c ../cups/cups.h file.h versioning.h ipp.h http.h \ + array.h language.h pwg.h http-private.h ../config.h ../cups/language.h \ + ../cups/http.h ipp-private.h string-private.h ../cups/versioning.h +notify.o: notify.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +options.o: options.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +pwg-media.o: pwg-media.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +raster-error.o: raster-error.c cups-private.h string-private.h \ + ../config.h ../cups/versioning.h array-private.h ../cups/array.h \ + versioning.h ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h \ + language.h pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + raster-private.h raster.h cups.h ../cups/debug-private.h \ + ../cups/string-private.h debug-internal.h debug-private.h +raster-stream.o: raster-stream.c raster-private.h raster.h cups.h file.h \ + versioning.h ipp.h http.h array.h language.h pwg.h ../cups/cups.h \ + ../cups/debug-private.h ../cups/versioning.h ../cups/string-private.h \ + ../config.h debug-internal.h debug-private.h +raster-stubs.o: raster-stubs.c raster-private.h raster.h cups.h file.h \ + versioning.h ipp.h http.h array.h language.h pwg.h ../cups/cups.h \ + ../cups/debug-private.h ../cups/versioning.h ../cups/string-private.h \ + ../config.h +request.o: request.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +snprintf.o: snprintf.c string-private.h ../config.h ../cups/versioning.h +string.o: string.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +tempfile.o: tempfile.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +thread.o: thread.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h +tls.o: tls.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h tls-darwin.c tls-darwin.h +transcode.o: transcode.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +usersys.o: usersys.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +util.o: util.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h +adminutil.o: adminutil.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h ppd.h cups.h raster.h adminutil.h +backchannel.o: backchannel.c cups.h file.h versioning.h ipp.h http.h \ + array.h language.h pwg.h sidechannel.h +backend.o: backend.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + backend.h ppd.h cups.h raster.h +getdevices.o: getdevices.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h adminutil.h cups.h +getifaddrs.o: getifaddrs.c getifaddrs-internal.h ../config.h +ppd.o: ppd.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + ppd-private.h ../cups/ppd.h cups.h raster.h debug-internal.h \ + debug-private.h +ppd-attr.o: ppd-attr.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + ppd-private.h ../cups/ppd.h cups.h raster.h debug-internal.h \ + debug-private.h +ppd-cache.o: ppd-cache.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + ppd-private.h ../cups/ppd.h cups.h raster.h debug-internal.h \ + debug-private.h +ppd-conflicts.o: ppd-conflicts.c cups-private.h string-private.h \ + ../config.h ../cups/versioning.h array-private.h ../cups/array.h \ + versioning.h ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h \ + language.h pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + ppd-private.h ../cups/ppd.h cups.h raster.h debug-internal.h \ + debug-private.h +ppd-custom.o: ppd-custom.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + ppd-private.h ../cups/ppd.h cups.h raster.h debug-internal.h \ + debug-private.h +ppd-emit.o: ppd-emit.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + debug-internal.h debug-private.h ppd.h cups.h raster.h +ppd-localize.o: ppd-localize.c cups-private.h string-private.h \ + ../config.h ../cups/versioning.h array-private.h ../cups/array.h \ + versioning.h ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h \ + language.h pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + ppd-private.h ../cups/ppd.h cups.h raster.h debug-internal.h \ + debug-private.h +ppd-mark.o: ppd-mark.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + ppd-private.h ../cups/ppd.h cups.h raster.h debug-internal.h \ + debug-private.h +ppd-page.o: ppd-page.c string-private.h ../config.h ../cups/versioning.h \ + debug-internal.h debug-private.h ppd.h cups.h file.h versioning.h \ + ipp.h http.h array.h language.h pwg.h raster.h +ppd-util.o: ppd-util.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + ppd-private.h ../cups/ppd.h cups.h raster.h debug-internal.h \ + debug-private.h +raster-interpret.o: raster-interpret.c ../cups/raster-private.h raster.h \ + cups.h file.h versioning.h ipp.h http.h array.h language.h pwg.h \ + ../cups/cups.h ../cups/debug-private.h ../cups/versioning.h \ + ../cups/string-private.h ../config.h ../cups/ppd-private.h \ + ../cups/ppd.h pwg-private.h debug-internal.h debug-private.h +raster-interstub.o: raster-interstub.c ../cups/ppd-private.h \ + ../cups/cups.h file.h versioning.h ipp.h http.h array.h language.h \ + pwg.h ../cups/ppd.h cups.h raster.h pwg-private.h +sidechannel.o: sidechannel.c sidechannel.h versioning.h cups-private.h \ + string-private.h ../config.h ../cups/versioning.h array-private.h \ + ../cups/array.h ipp-private.h ../cups/cups.h file.h ipp.h http.h \ + array.h language.h pwg.h http-private.h ../cups/language.h \ + ../cups/http.h language-private.h ../cups/transcode.h pwg-private.h \ + thread-private.h debug-internal.h debug-private.h +snmp.o: snmp.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + snmp-private.h debug-internal.h debug-private.h +raster-interstub.o: raster-interstub.c ../cups/ppd-private.h \ + ../cups/cups.h file.h versioning.h ipp.h http.h array.h language.h \ + pwg.h ../cups/ppd.h cups.h raster.h pwg-private.h +raster-stubs.o: raster-stubs.c raster-private.h raster.h cups.h file.h \ + versioning.h ipp.h http.h array.h language.h pwg.h ../cups/cups.h \ + ../cups/debug-private.h ../cups/versioning.h ../cups/string-private.h \ + ../config.h +rasterbench.o: rasterbench.c ../config.h ../cups/raster.h cups.h file.h \ + versioning.h ipp.h http.h array.h language.h pwg.h +testadmin.o: testadmin.c adminutil.h cups.h file.h versioning.h ipp.h \ + http.h array.h language.h pwg.h string-private.h ../config.h \ + ../cups/versioning.h +testarray.o: testarray.c string-private.h ../config.h \ + ../cups/versioning.h debug-private.h array-private.h ../cups/array.h \ + versioning.h dir.h +testcache.o: testcache.c ppd-private.h ../cups/cups.h file.h versioning.h \ + ipp.h http.h array.h language.h pwg.h ../cups/ppd.h cups.h raster.h \ + pwg-private.h file-private.h cups-private.h string-private.h \ + ../config.h ../cups/versioning.h array-private.h ../cups/array.h \ + ipp-private.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h thread-private.h +testclient.o: testclient.c ../config.h ../cups/cups.h file.h versioning.h \ + ipp.h http.h array.h language.h pwg.h ../cups/raster.h cups.h \ + ../cups/string-private.h ../cups/versioning.h ../cups/thread-private.h +testconflicts.o: testconflicts.c cups.h file.h versioning.h ipp.h http.h \ + array.h language.h pwg.h ppd.h raster.h string-private.h ../config.h \ + ../cups/versioning.h +testcreds.o: testcreds.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h +testcups.o: testcups.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + ppd.h cups.h raster.h +testdest.o: testdest.c cups.h file.h versioning.h ipp.h http.h array.h \ + language.h pwg.h +testfile.o: testfile.c string-private.h ../config.h ../cups/versioning.h \ + debug-private.h file.h versioning.h +testgetdests.o: testgetdests.c cups.h file.h versioning.h ipp.h http.h \ + array.h language.h pwg.h +testhttp.o: testhttp.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h +testi18n.o: testi18n.c string-private.h ../config.h ../cups/versioning.h \ + language-private.h ../cups/transcode.h language.h array.h versioning.h +testipp.o: testipp.c file.h versioning.h string-private.h ../config.h \ + ../cups/versioning.h ipp-private.h ../cups/cups.h ipp.h http.h array.h \ + language.h pwg.h +testoptions.o: testoptions.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h +testlang.o: testlang.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + ppd-private.h ../cups/ppd.h cups.h raster.h +testppd.o: testppd.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + ppd-private.h ../cups/ppd.h cups.h raster.h raster-private.h \ + ../cups/debug-private.h ../cups/string-private.h +testpwg.o: testpwg.c ppd-private.h ../cups/cups.h file.h versioning.h \ + ipp.h http.h array.h language.h pwg.h ../cups/ppd.h cups.h raster.h \ + pwg-private.h file-private.h cups-private.h string-private.h \ + ../config.h ../cups/versioning.h array-private.h ../cups/array.h \ + ipp-private.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h thread-private.h +testraster.o: testraster.c ../cups/raster-private.h raster.h cups.h \ + file.h versioning.h ipp.h http.h array.h language.h pwg.h \ + ../cups/cups.h ../cups/debug-private.h ../cups/versioning.h \ + ../cups/string-private.h ../config.h +testsnmp.o: testsnmp.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h \ + snmp-private.h +testthreads.o: testthreads.c ../cups/cups.h file.h versioning.h ipp.h \ + http.h array.h language.h pwg.h ../cups/thread-private.h ../config.h \ + ../cups/versioning.h +tlscheck.o: tlscheck.c cups-private.h string-private.h ../config.h \ + ../cups/versioning.h array-private.h ../cups/array.h versioning.h \ + ipp-private.h ../cups/cups.h file.h ipp.h http.h array.h language.h \ + pwg.h http-private.h ../cups/language.h ../cups/http.h \ + language-private.h ../cups/transcode.h pwg-private.h thread-private.h diff --git a/cups/Makefile b/cups/Makefile new file mode 100644 index 0000000..4e2aa6d --- /dev/null +++ b/cups/Makefile @@ -0,0 +1,778 @@ +# +# Library Makefile for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2006 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +include ../Makedefs + + +# +# Object files... +# + +COREOBJS = \ + array.o \ + auth.o \ + debug.o \ + dest.o \ + dest-job.o \ + dest-localization.o \ + dest-options.o \ + dir.o \ + encode.o \ + file.o \ + getputfile.o \ + globals.o \ + hash.o \ + http.o \ + http-addr.o \ + http-addrlist.o \ + http-support.o \ + ipp.o \ + ipp-file.o \ + ipp-vars.o \ + ipp-support.o \ + langprintf.o \ + language.o \ + md5.o \ + md5passwd.o \ + notify.o \ + options.o \ + pwg-media.o \ + raster-error.o \ + raster-stream.o \ + raster-stubs.o \ + request.o \ + snprintf.o \ + string.o \ + tempfile.o \ + thread.o \ + tls.o \ + transcode.o \ + usersys.o \ + util.o + +DRIVEROBJS = \ + adminutil.o \ + backchannel.o \ + backend.o \ + getdevices.o \ + getifaddrs.o \ + ppd.o \ + ppd-attr.o \ + ppd-cache.o \ + ppd-conflicts.o \ + ppd-custom.o \ + ppd-emit.o \ + ppd-localize.o \ + ppd-mark.o \ + ppd-page.o \ + ppd-util.o \ + raster-interpret.o \ + raster-interstub.o \ + sidechannel.o \ + snmp.o + +LIBOBJS = \ + $(LIBCUPSOBJS) + +IMAGEOBJS = \ + raster-interstub.o \ + raster-stubs.o + +TESTOBJS = \ + rasterbench.o \ + testadmin.o \ + testarray.o \ + testcache.o \ + testclient.o \ + testconflicts.o \ + testcreds.o \ + testcups.o \ + testdest.o \ + testfile.o \ + testgetdests.o \ + testhttp.o \ + testi18n.o \ + testipp.o \ + testoptions.o \ + testlang.o \ + testppd.o \ + testpwg.o \ + testraster.o \ + testsnmp.o \ + testthreads.o \ + tlscheck.o +OBJS = \ + $(LIBOBJS) \ + $(IMAGEOBJS) \ + $(TESTOBJS) + + +# +# Header files to install... +# + +COREHEADERS = \ + array.h \ + cups.h \ + dir.h \ + file.h \ + http.h \ + ipp.h \ + language.h \ + pwg.h \ + raster.h \ + transcode.h \ + versioning.h + +DRIVERHEADERS = \ + adminutil.h \ + backend.h \ + ppd.h \ + sidechannel.h + +HEADERS = \ + $(LIBHEADERS) + +COREHEADERSPRIV = \ + array-private.h \ + cups-private.h \ + debug-private.h \ + file-private.h \ + http-private.h \ + ipp-private.h \ + language-private.h \ + pwg-private.h \ + raster-private.h \ + string-private.h \ + thread-private.h + +DRIVERHEADERSPRIV = \ + ppd-private.h \ + snmp-private.h + +HEADERSPRIV = \ + $(LIBHEADERSPRIV) + + +# +# Targets in this directory... +# + +LIBTARGETS = \ + $(LIBCUPSIMAGE) \ + $(LIBCUPSSTATIC) \ + $(LIBCUPS) \ + libcupsimage.a + +UNITTARGETS = \ + rasterbench \ + testadmin \ + testarray \ + testcache \ + testclient \ + testconflicts \ + testcreds \ + testcups \ + testdest \ + testfile \ + testgetdests \ + testhttp \ + testi18n \ + testipp \ + testlang \ + testoptions \ + testppd \ + testpwg \ + testraster \ + testsnmp \ + testthreads \ + tlscheck + +TARGETS = \ + $(LIBTARGETS) + + +# +# Make all targets... +# + +all: $(TARGETS) + + +# +# Make library targets... +# + +libs: $(LIBTARGETS) + + +# +# Make unit tests... +# + +unittests: $(UNITTARGETS) + + +# +# Remove object and target files... +# + +clean: + $(RM) $(OBJS) $(TARGETS) $(UNITTARGETS) + $(RM) libcups.so libcups.dylib + $(RM) libcupsimage.so libcupsimage.dylib + + +# +# Update dependencies (without system header dependencies...) +# + +depend: + $(CC) -MM $(ALL_CFLAGS) $(OBJS:.o=.c) >Dependencies + + +# +# Run oclint to check code coverage... +# + +oclint: + oclint -o=oclint.html -html $(LIBOBJS:.o=.c) -- $(ALL_CFLAGS) + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + + +# +# Install programs... +# + +install-exec: + + +# +# Install headers... +# + +install-headers: + echo Installing header files into $(INCLUDEDIR)/cups... + $(INSTALL_DIR) -m 755 $(INCLUDEDIR)/cups + for file in $(HEADERS); do \ + $(INSTALL_DATA) $$file $(INCLUDEDIR)/cups; \ + done + if test "x$(privateinclude)" != x; then \ + echo Installing private header files into $(PRIVATEINCLUDE)...; \ + $(INSTALL_DIR) -m 755 $(PRIVATEINCLUDE); \ + for file in $(HEADERSPRIV); do \ + $(INSTALL_DATA) $$file $(PRIVATEINCLUDE)/$$file; \ + done; \ + fi + + +# +# Install libraries... +# + +install-libs: $(LIBTARGETS) $(INSTALLSTATIC) + echo Installing libraries in $(LIBDIR)... + $(INSTALL_DIR) -m 755 $(LIBDIR) + $(INSTALL_LIB) $(LIBCUPS) $(LIBDIR) + if test $(LIBCUPS) = "libcups.so.2"; then \ + $(RM) $(LIBDIR)/`basename $(LIBCUPS) .2`; \ + $(LN) $(LIBCUPS) $(LIBDIR)/`basename $(LIBCUPS) .2`; \ + fi + if test $(LIBCUPS) = "libcups.2.dylib"; then \ + $(RM) $(LIBDIR)/libcups.dylib; \ + $(LN) $(LIBCUPS) $(LIBDIR)/libcups.dylib; \ + fi + -if test "x$(LIBCUPSIMAGE)" != x; then \ + $(INSTALL_LIB) $(LIBCUPSIMAGE) $(LIBDIR); \ + fi + -if test "x$(LIBCUPSIMAGE)" = "xlibcupsimage.so.2"; then \ + $(RM) $(LIBDIR)/`basename $(LIBCUPSIMAGE) .2`; \ + $(LN) $(LIBCUPSIMAGE) $(LIBDIR)/`basename $(LIBCUPSIMAGE) .2`; \ + fi + -if test "x$(LIBCUPSIMAGE)" = "xlibcupsimage.2.dylib"; then \ + $(RM) $(LIBDIR)/libcupsimage.dylib; \ + $(LN) $(LIBCUPSIMAGE) $(LIBDIR)/libcupsimage.dylib; \ + fi + if test "x$(SYMROOT)" != "x"; then \ + $(INSTALL_DIR) $(SYMROOT); \ + cp $(LIBCUPS) $(SYMROOT); \ + dsymutil $(SYMROOT)/$(LIBCUPS); \ + if test "x$(LIBCUPSIMAGE)" != x; then \ + cp $(LIBCUPSIMAGE) $(SYMROOT); \ + dsymutil $(SYMROOT)/$(LIBCUPSIMAGE); \ + fi; \ + fi + +installstatic: + $(INSTALL_DIR) -m 755 $(LIBDIR) + $(INSTALL_LIB) -m 755 $(LIBCUPSSTATIC) $(LIBDIR) + $(RANLIB) $(LIBDIR)/$(LIBCUPSSTATIC) + $(CHMOD) 555 $(LIBDIR)/$(LIBCUPSSTATIC) + $(INSTALL_LIB) -m 755 libcupsimage.a $(LIBDIR) + $(RANLIB) $(LIBDIR)/libcupsimage.a + $(CHMOD) 555 $(LIBDIR)/libcupsimage.a + + +# +# Uninstall object and target files... +# + +uninstall: + $(RM) $(LIBDIR)/libcups.2.dylib + $(RM) $(LIBDIR)/libcups.a + $(RM) $(LIBDIR)/libcups.dylib + $(RM) $(LIBDIR)/libcups.so + $(RM) $(LIBDIR)/libcups.so.2 + $(RM) $(LIBDIR)/libcupsimage.2.dylib + $(RM) $(LIBDIR)/libcupsimage.a + $(RM) $(LIBDIR)/libcupsimage.dylib + $(RM) $(LIBDIR)/libcupsimage.so + $(RM) $(LIBDIR)/libcupsimage.so.2 + -$(RMDIR) $(LIBDIR) + for file in $(HEADERS); do \ + $(RM) $(INCLUDEDIR)/cups/$$file; \ + done + -$(RMDIR) $(INCLUDEDIR)/cups + if test "x$(privateinclude)" != x; then \ + for file in $(HEADERSPRIV); do \ + $(RM) $(PRIVATEINCLUDE)/cups/$$file; \ + done + $(RMDIR) $(PRIVATEINCLUDE)/cups; \ + fi + + +# +# libcups.so.2 +# + +libcups.so.2: $(LIBOBJS) + echo Linking $@... + $(DSO) $(ARCHFLAGS) $(ALL_DSOFLAGS) -o $@ $(LIBOBJS) $(LIBS) + $(RM) `basename $@ .2` + $(LN) $@ `basename $@ .2` + + +# +# libcups.2.dylib +# + +libcups.2.dylib: $(LIBOBJS) + echo Linking $@... + $(DSO) $(ARCHFLAGS) $(ALL_DSOFLAGS) -o $@ \ + -install_name $(libdir)/$@ \ + -current_version 2.14.0 \ + -compatibility_version 2.0.0 \ + $(LIBOBJS) $(LIBS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + $(RM) libcups.dylib + $(LN) $@ libcups.dylib + + +# +# libcups.la +# + +libcups.la: $(LIBOBJS) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_DSOFLAGS) -o $@ $(LIBOBJS:.o=.lo) \ + -rpath $(LIBDIR) -version-info 2:14 $(LIBS) + + +# +# libcups.a +# + +libcups.a: $(LIBOBJS) + echo Archiving $@... + $(RM) $@ + $(AR) $(ARFLAGS) $@ $(LIBOBJS) + $(RANLIB) $@ + + +# +# libcups2.def (Windows DLL exports file...) +# + +libcups2.def: $(LIBOBJS) $(IMAGEOBJS) Makefile + echo Generating $@... + echo "LIBRARY libcups2" >libcups2.def + echo "VERSION 2.14" >>libcups2.def + echo "EXPORTS" >>libcups2.def + (nm $(LIBOBJS) $(IMAGEOBJS) 2>/dev/null | grep "T _" | awk '{print $$3}'; \ + echo __cups_strcpy; echo __cups_strlcat; echo __cups_strlcpy; \ + echo __cups_snprintf; echo __cups_vsnprintf; echo __cups_gettimeofday) | \ + grep -v -E \ + -e 'cups_debug|Apple|BackChannel|Backend|FileCheck|Filter|GSSService|SetNegotiate|SideChannel|SNMP' \ + -e 'Block$$' | \ + sed -e '1,$$s/^_//' | sort >>libcups2.def + + +# +# libcupsimage.so.2 +# + +libcupsimage.so.2: $(IMAGEOBJS) libcups.so.2 + echo Linking $@... + $(DSO) $(ARCHFLAGS) $(ALL_DSOFLAGS) -o $@ $(IMAGEOBJS) $(LINKCUPS) + $(RM) `basename $@ .2` + $(LN) $@ `basename $@ .2` + + +# +# libcupsimage.2.dylib +# + +libcupsimage.2.dylib: $(IMAGEOBJS) libcups.2.dylib + echo Linking $@... + $(DSO) $(ARCHFLAGS) $(ALL_DSOFLAGS) -o $@ \ + -install_name $(libdir)/$@ \ + -current_version 2.3.0 \ + -compatibility_version 2.0.0 \ + $(IMAGEOBJS) $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + $(RM) libcupsimage.dylib + $(LN) $@ libcupsimage.dylib + + +# +# libcupsimage.la +# + +libcupsimage.la: $(IMAGEOBJS) libcups.la + echo Linking $@... + $(DSO) $(ARCHFLAGS) $(ALL_DSOFLAGS) -o $@ $(IMAGEOBJS:.o=.lo) \ + $(LINKCUPS) -rpath $(LIBDIR) -version-info 2:3 + + +# +# libcupsimage.a +# + +libcupsimage.a: $(IMAGEOBJS) + echo Archiving $@... + $(RM) $@ + $(AR) $(ARFLAGS) $@ $(IMAGEOBJS) + $(RANLIB) $@ + + +# +# rasterbench (dependency on static CUPS library is intentional) +# + +rasterbench: rasterbench.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ rasterbench.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testadmin (dependency on static CUPS library is intentional) +# + +testadmin: testadmin.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ testadmin.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testarray (dependency on static CUPS library is intentional) +# + +testarray: testarray.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testarray.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Running array API tests... + ./testarray + + +# +# testcache (dependency on static CUPS library is intentional) +# + +testcache: testcache.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ testcache.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testclient (dependency on static libraries is intentional) +# + +testclient: testclient.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ testclient.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testconflicts (dependency on static CUPS library is intentional) +# + +testconflicts: testconflicts.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ testconflicts.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testcreds (dependency on static CUPS library is intentional) +# + +testcreds: testcreds.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testcreds.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testcups (dependency on static CUPS library is intentional) +# + +testcups: testcups.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ testcups.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testdest (dependency on static CUPS library is intentional) +# + +testdest: testdest.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ testdest.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testfile (dependency on static CUPS library is intentional) +# + +testfile: testfile.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testfile.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Running file API tests... + ./testfile + + +# +# testgetdests (dependency on static CUPS library is intentional) +# + +testgetdests: testgetdests.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ testgetdests.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testhttp (dependency on static CUPS library is intentional) +# + +testhttp: testhttp.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testhttp.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Running HTTP API tests... + ./testhttp + + +# +# testipp (dependency on static CUPS library is intentional) +# + +testipp: testipp.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testipp.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Running IPP API tests... + ./testipp + + +# +# testi18n (dependency on static CUPS library is intentional) +# + +testi18n: testi18n.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testi18n.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Running internationalization API tests... + ./testi18n + + +# +# testlang (dependency on static CUPS library is intentional) +# + +testlang: testlang.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testlang.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Creating locale directory structure... + $(RM) -r locale + for po in ../locale/cups_*.po; do \ + lang=`basename $$po .po | sed -e '1,$$s/^cups_//'`; \ + $(MKDIR) locale/$$lang; \ + $(LN) ../../$$po locale/$$lang; \ + done + echo Running language API tests... + LOCALEDIR=locale ./testlang + + +# +# testoptions (dependency on static CUPS library is intentional) +# + +testoptions: testoptions.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testoptions.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Running option API tests... + ./testoptions + + +# +# testppd (dependency on static CUPS library is intentional) +# + +testppd: testppd.o $(LIBCUPSSTATIC) test.ppd test2.ppd + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testppd.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Running PPD API tests... + ./testppd + + +# +# testpwg (dependency on static CUPS library is intentional) +# + +testpwg: testpwg.o $(LIBCUPSSTATIC) test.ppd + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testpwg.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Running PWG API tests... + ./testpwg test.ppd + + +# +# testraster (dependency on static CUPS library is intentional) +# + +testraster: testraster.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testraster.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Running raster API tests... + ./testraster + + +# +# testsnmp (dependency on static CUPS library is intentional) +# + +testsnmp: testsnmp.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ testsnmp.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testthreads (dependency on static CUPS library is intentional) +# + +testthreads: testthreads.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ testthreads.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# tlscheck (dependency on static CUPS library is intentional) +# + +tlscheck: tlscheck.o $(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ tlscheck.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Automatic API help files... +# + +apihelp: + echo Generating CUPS API help files... + $(RM) cupspm.xml + codedoc --section "Programming" --body cupspm.md \ + cupspm.xml \ + auth.c cups.h dest*.c encode.c http.h http*.c ipp.h ipp*.c \ + options.c tls-darwin.c usersys.c util.c \ + --coverimage cupspm.png \ + --epub ../doc/help/cupspm.epub + codedoc --section "Programming" --body cupspm.md \ + cupspm.xml > ../doc/help/cupspm.html + $(RM) cupspm.xml + codedoc --section "Programming" --title "Administration APIs" \ + --css ../doc/cups-printable.css \ + --header api-admin.header --body api-admin.shtml \ + adminutil.c adminutil.h getdevices.c >../doc/help/api-admin.html + codedoc --section "Programming" --title "PPD API (DEPRECATED)" \ + --css ../doc/cups-printable.css \ + --header api-ppd.header --body api-ppd.shtml \ + ppd.h ppd-*.c raster-interstub.c >../doc/help/api-ppd.html + codedoc --section "Programming" --title "Raster API" \ + --css ../doc/cups-printable.css \ + --header api-raster.header --body api-raster.shtml \ + ../cups/raster.h raster-stubs.c \ + >../doc/help/api-raster.html + codedoc --section "Programming" \ + --title "Filter and Backend Programming" \ + --css ../doc/cups-printable.css \ + --header api-filter.header --body api-filter.shtml \ + backchannel.c backend.h backend.c sidechannel.c sidechannel.h \ + >../doc/help/api-filter.html + + +# +# Lines of code computation... +# + +sloc: + echo "libcups: \c" + sloccount $(LIBOBJS:.o=.c) 2>/dev/null | grep "Total Physical" | awk '{print $$9}' + echo "libcupsimage: \c" + sloccount $(IMAGEOBJS:.o=.c) 2>/dev/null | grep "Total Physical" | awk '{print $$9}' + + +# +# Dependencies... +# + +include Dependencies +tls.o: tls-darwin.c tls-gnutls.c tls-sspi.c diff --git a/cups/adminutil.c b/cups/adminutil.c new file mode 100644 index 0000000..3118968 --- /dev/null +++ b/cups/adminutil.c @@ -0,0 +1,1448 @@ +/* + * Administration utility API definitions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 2001-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include "ppd.h" +#include "adminutil.h" +#include +#include +#ifndef _WIN32 +# include +# include +#endif /* !_WIN32 */ + + +/* + * Local functions... + */ + +static http_status_t get_cupsd_conf(http_t *http, _cups_globals_t *cg, + time_t last_update, char *name, + size_t namelen, int *remote); +static void invalidate_cupsd_cache(_cups_globals_t *cg); + + +/* + * 'cupsAdminCreateWindowsPPD()' - Create the Windows PPD file for a printer. + * + * @deprecated@ + */ + +char * /* O - PPD file or NULL */ +cupsAdminCreateWindowsPPD( + http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *dest, /* I - Printer or class */ + char *buffer, /* I - Filename buffer */ + int bufsize) /* I - Size of filename buffer */ +{ + (void)http; + (void)dest; + (void)bufsize; + + if (buffer) + *buffer = '\0'; + + return (NULL); +} + + +/* + * 'cupsAdminExportSamba()' - Export a printer to Samba. + * + * @deprecated@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsAdminExportSamba( + const char *dest, /* I - Destination to export */ + const char *ppd, /* I - PPD file */ + const char *samba_server, /* I - Samba server */ + const char *samba_user, /* I - Samba username */ + const char *samba_password, /* I - Samba password */ + FILE *logfile) /* I - Log file, if any */ +{ + (void)dest; + (void)ppd; + (void)samba_server; + (void)samba_user; + (void)samba_password; + (void)logfile; + + return (0); +} + + +/* + * 'cupsAdminGetServerSettings()' - Get settings from the server. + * + * The returned settings should be freed with cupsFreeOptions() when + * you are done with them. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsAdminGetServerSettings( + http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + int *num_settings, /* O - Number of settings */ + cups_option_t **settings) /* O - Settings */ +{ + int i; /* Looping var */ + cups_file_t *cupsd; /* cupsd.conf file */ + char cupsdconf[1024]; /* cupsd.conf filename */ + int remote; /* Remote cupsd.conf file? */ + http_status_t status; /* Status of getting cupsd.conf */ + char line[1024], /* Line from cupsd.conf file */ + *value; /* Value on line */ + cups_option_t *setting; /* Current setting */ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + + /* + * Range check input... + */ + + if (!http) + { + /* + * See if we are connected to the same server... + */ + + if (cg->http) + { + /* + * Compare the connection hostname, port, and encryption settings to + * the cached defaults; these were initialized the first time we + * connected... + */ + + if (strcmp(cg->http->hostname, cg->server) || + cg->ipp_port != httpAddrPort(cg->http->hostaddr) || + (cg->http->encryption != cg->encryption && + cg->http->encryption == HTTP_ENCRYPTION_NEVER)) + { + /* + * Need to close the current connection because something has changed... + */ + + httpClose(cg->http); + cg->http = NULL; + } + } + + /* + * (Re)connect as needed... + */ + + if (!cg->http) + { + if ((cg->http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, + cupsEncryption(), 1, 0, NULL)) == NULL) + { + if (errno) + _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, NULL, 0); + else + _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, + _("Unable to connect to host."), 1); + + if (num_settings) + *num_settings = 0; + + if (settings) + *settings = NULL; + + return (0); + } + } + + http = cg->http; + } + + if (!http || !num_settings || !settings) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + + if (num_settings) + *num_settings = 0; + + if (settings) + *settings = NULL; + + return (0); + } + + *num_settings = 0; + *settings = NULL; + + /* + * Get the cupsd.conf file... + */ + + if ((status = get_cupsd_conf(http, cg, cg->cupsd_update, cupsdconf, + sizeof(cupsdconf), &remote)) == HTTP_STATUS_OK) + { + if ((cupsd = cupsFileOpen(cupsdconf, "r")) == NULL) + { + char message[1024]; /* Message string */ + + + snprintf(message, sizeof(message), + _cupsLangString(cupsLangDefault(), _("Open of %s failed: %s")), + cupsdconf, strerror(errno)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, message, 0); + } + } + else + cupsd = NULL; + + if (cupsd) + { + /* + * Read the file, keeping track of what settings are enabled... + */ + + int remote_access = 0, /* Remote access allowed? */ + remote_admin = 0, /* Remote administration allowed? */ + remote_any = 0, /* Remote access from anywhere allowed? */ + browsing = 1, /* Browsing enabled? */ + cancel_policy = 1, /* Cancel-job policy set? */ + debug_logging = 0; /* LogLevel debug set? */ + int linenum = 0, /* Line number in file */ + in_location = 0, /* In a location section? */ + in_policy = 0, /* In a policy section? */ + in_cancel_job = 0, /* In a cancel-job section? */ + in_admin_location = 0; /* In the /admin location? */ + + + invalidate_cupsd_cache(cg); + + cg->cupsd_update = time(NULL); + httpGetHostname(http, cg->cupsd_hostname, sizeof(cg->cupsd_hostname)); + + while (cupsFileGetConf(cupsd, line, sizeof(line), &value, &linenum)) + { + if (!value && strncmp(line, "")) + { + in_policy = 0; + } + else if (!_cups_strcasecmp(line, "")) + { + in_cancel_job = 0; + } + else if (!_cups_strcasecmp(line, "Require") && in_cancel_job) + { + cancel_policy = 0; + } + else if (!_cups_strcasecmp(line, "")) + { + in_admin_location = 0; + in_location = 0; + } + else if (!_cups_strcasecmp(line, "Allow") && value && + _cups_strcasecmp(value, "localhost") && + _cups_strcasecmp(value, "127.0.0.1") +#ifdef AF_LOCAL + && *value != '/' +#endif /* AF_LOCAL */ +#ifdef AF_INET6 + && strcmp(value, "::1") +#endif /* AF_INET6 */ + ) + { + if (in_admin_location) + remote_admin = 1; + else if (!_cups_strcasecmp(value, "all")) + remote_any = 1; + } + else if (line[0] != '<' && !in_location && !in_policy && + _cups_strcasecmp(line, "Allow") && + _cups_strcasecmp(line, "AuthType") && + _cups_strcasecmp(line, "Deny") && + _cups_strcasecmp(line, "Order") && + _cups_strcasecmp(line, "Require") && + _cups_strcasecmp(line, "Satisfy")) + cg->cupsd_num_settings = cupsAddOption(line, value, + cg->cupsd_num_settings, + &(cg->cupsd_settings)); + } + + cupsFileClose(cupsd); + + cg->cupsd_num_settings = cupsAddOption(CUPS_SERVER_DEBUG_LOGGING, + debug_logging ? "1" : "0", + cg->cupsd_num_settings, + &(cg->cupsd_settings)); + + cg->cupsd_num_settings = cupsAddOption(CUPS_SERVER_REMOTE_ADMIN, + (remote_access && remote_admin) ? + "1" : "0", + cg->cupsd_num_settings, + &(cg->cupsd_settings)); + + cg->cupsd_num_settings = cupsAddOption(CUPS_SERVER_REMOTE_ANY, + remote_any ? "1" : "0", + cg->cupsd_num_settings, + &(cg->cupsd_settings)); + + cg->cupsd_num_settings = cupsAddOption(CUPS_SERVER_SHARE_PRINTERS, + (remote_access && browsing) ? "1" : + "0", + cg->cupsd_num_settings, + &(cg->cupsd_settings)); + + cg->cupsd_num_settings = cupsAddOption(CUPS_SERVER_USER_CANCEL_ANY, + cancel_policy ? "1" : "0", + cg->cupsd_num_settings, + &(cg->cupsd_settings)); + } + else if (status != HTTP_STATUS_NOT_MODIFIED) + invalidate_cupsd_cache(cg); + + /* + * Remove any temporary files and copy the settings array... + */ + + if (remote) + unlink(cupsdconf); + + for (i = cg->cupsd_num_settings, setting = cg->cupsd_settings; + i > 0; + i --, setting ++) + *num_settings = cupsAddOption(setting->name, setting->value, + *num_settings, settings); + + return (cg->cupsd_num_settings > 0); +} + + +/* + * 'cupsAdminSetServerSettings()' - Set settings on the server. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsAdminSetServerSettings( + http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + int num_settings, /* I - Number of settings */ + cups_option_t *settings) /* I - Settings */ +{ + int i; /* Looping var */ + http_status_t status; /* GET/PUT status */ + const char *server_port_env; /* SERVER_PORT env var */ + int server_port; /* IPP port for server */ + cups_file_t *cupsd; /* cupsd.conf file */ + char cupsdconf[1024]; /* cupsd.conf filename */ + int remote; /* Remote cupsd.conf file? */ + char tempfile[1024]; /* Temporary new cupsd.conf */ + cups_file_t *temp; /* Temporary file */ + char line[1024], /* Line from cupsd.conf file */ + *value; /* Value on line */ + int linenum, /* Line number in file */ + in_location, /* In a location section? */ + in_policy, /* In a policy section? */ + in_default_policy, /* In the default policy section? */ + in_cancel_job, /* In a cancel-job section? */ + in_admin_location, /* In the /admin location? */ + in_conf_location, /* In the /admin/conf location? */ + in_log_location, /* In the /admin/log location? */ + in_root_location; /* In the / location? */ + const char *val; /* Setting value */ + int share_printers, /* Share local printers */ + remote_admin, /* Remote administration allowed? */ + remote_any, /* Remote access from anywhere? */ + user_cancel_any, /* Cancel-job policy set? */ + debug_logging; /* LogLevel debug set? */ + int wrote_port_listen, /* Wrote the port/listen lines? */ + wrote_browsing, /* Wrote the browsing lines? */ + wrote_policy, /* Wrote the policy? */ + wrote_loglevel, /* Wrote the LogLevel line? */ + wrote_admin_location, /* Wrote the /admin location? */ + wrote_conf_location, /* Wrote the /admin/conf location? */ + wrote_log_location, /* Wrote the /admin/log location? */ + wrote_root_location; /* Wrote the / location? */ + int indent; /* Indentation */ + int cupsd_num_settings; /* New number of settings */ + int old_share_printers, /* Share local printers */ + old_remote_admin, /* Remote administration allowed? */ + old_remote_any, /* Remote access from anywhere? */ + old_user_cancel_any, /* Cancel-job policy set? */ + old_debug_logging; /* LogLevel debug set? */ + cups_option_t *cupsd_settings, /* New settings */ + *setting; /* Current setting */ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + + /* + * Range check input... + */ + + if (!http) + http = _cupsConnect(); + + if (!http || !num_settings || !settings) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + + return (0); + } + + /* + * Get the cupsd.conf file... + */ + + if (get_cupsd_conf(http, cg, 0, cupsdconf, sizeof(cupsdconf), + &remote) == HTTP_STATUS_OK) + { + if ((cupsd = cupsFileOpen(cupsdconf, "r")) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); + return (0); + } + } + else + return (0); + + /* + * Get current settings... + */ + + if (!cupsAdminGetServerSettings(http, &cupsd_num_settings, + &cupsd_settings)) + return (0); + + if ((val = cupsGetOption(CUPS_SERVER_DEBUG_LOGGING, cupsd_num_settings, + cupsd_settings)) != NULL) + old_debug_logging = atoi(val); + else + old_debug_logging = 0; + + DEBUG_printf(("1cupsAdminSetServerSettings: old debug_logging=%d", + old_debug_logging)); + + if ((val = cupsGetOption(CUPS_SERVER_REMOTE_ADMIN, cupsd_num_settings, + cupsd_settings)) != NULL) + old_remote_admin = atoi(val); + else + old_remote_admin = 0; + + DEBUG_printf(("1cupsAdminSetServerSettings: old remote_admin=%d", + old_remote_admin)); + + if ((val = cupsGetOption(CUPS_SERVER_REMOTE_ANY, cupsd_num_settings, + cupsd_settings)) != NULL) + old_remote_any = atoi(val); + else + old_remote_any = 0; + + DEBUG_printf(("1cupsAdminSetServerSettings: old remote_any=%d", + old_remote_any)); + + if ((val = cupsGetOption(CUPS_SERVER_SHARE_PRINTERS, cupsd_num_settings, + cupsd_settings)) != NULL) + old_share_printers = atoi(val); + else + old_share_printers = 0; + + DEBUG_printf(("1cupsAdminSetServerSettings: old share_printers=%d", + old_share_printers)); + + if ((val = cupsGetOption(CUPS_SERVER_USER_CANCEL_ANY, cupsd_num_settings, + cupsd_settings)) != NULL) + old_user_cancel_any = atoi(val); + else + old_user_cancel_any = 0; + + DEBUG_printf(("1cupsAdminSetServerSettings: old user_cancel_any=%d", + old_user_cancel_any)); + + cupsFreeOptions(cupsd_num_settings, cupsd_settings); + + /* + * Get basic settings... + */ + + if ((val = cupsGetOption(CUPS_SERVER_DEBUG_LOGGING, num_settings, + settings)) != NULL) + { + debug_logging = atoi(val); + + if (debug_logging == old_debug_logging) + { + /* + * No change to this setting... + */ + + debug_logging = -1; + } + } + else + debug_logging = -1; + + DEBUG_printf(("1cupsAdminSetServerSettings: debug_logging=%d", + debug_logging)); + + if ((val = cupsGetOption(CUPS_SERVER_REMOTE_ANY, num_settings, settings)) != NULL) + { + remote_any = atoi(val); + + if (remote_any == old_remote_any) + { + /* + * No change to this setting... + */ + + remote_any = -1; + } + } + else + remote_any = -1; + + DEBUG_printf(("1cupsAdminSetServerSettings: remote_any=%d", remote_any)); + + if ((val = cupsGetOption(CUPS_SERVER_REMOTE_ADMIN, num_settings, + settings)) != NULL) + { + remote_admin = atoi(val); + + if (remote_admin == old_remote_admin) + { + /* + * No change to this setting... + */ + + remote_admin = -1; + } + } + else + remote_admin = -1; + + DEBUG_printf(("1cupsAdminSetServerSettings: remote_admin=%d", + remote_admin)); + + if ((val = cupsGetOption(CUPS_SERVER_SHARE_PRINTERS, num_settings, + settings)) != NULL) + { + share_printers = atoi(val); + + if (share_printers == old_share_printers) + { + /* + * No change to this setting... + */ + + share_printers = -1; + } + } + else + share_printers = -1; + + DEBUG_printf(("1cupsAdminSetServerSettings: share_printers=%d", + share_printers)); + + if ((val = cupsGetOption(CUPS_SERVER_USER_CANCEL_ANY, num_settings, + settings)) != NULL) + { + user_cancel_any = atoi(val); + + if (user_cancel_any == old_user_cancel_any) + { + /* + * No change to this setting... + */ + + user_cancel_any = -1; + } + } + else + user_cancel_any = -1; + + DEBUG_printf(("1cupsAdminSetServerSettings: user_cancel_any=%d", + user_cancel_any)); + + /* + * Create a temporary file for the new cupsd.conf file... + */ + + if ((temp = cupsTempFile2(tempfile, sizeof(tempfile))) == NULL) + { + cupsFileClose(cupsd); + + if (remote) + unlink(cupsdconf); + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); + return (0); + } + + /* + * Copy the old file to the new, making changes along the way... + */ + + cupsd_num_settings = 0; + in_admin_location = 0; + in_cancel_job = 0; + in_conf_location = 0; + in_default_policy = 0; + in_location = 0; + in_log_location = 0; + in_policy = 0; + in_root_location = 0; + linenum = 0; + wrote_admin_location = 0; + wrote_browsing = 0; + wrote_conf_location = 0; + wrote_log_location = 0; + wrote_loglevel = 0; + wrote_policy = 0; + wrote_port_listen = 0; + wrote_root_location = 0; + indent = 0; + + if ((server_port_env = getenv("SERVER_PORT")) != NULL) + { + if ((server_port = atoi(server_port_env)) <= 0) + server_port = ippPort(); + } + else + server_port = ippPort(); + + if (server_port <= 0) + server_port = IPP_PORT; + + while (cupsFileGetConf(cupsd, line, sizeof(line), &value, &linenum)) + { + if ((!_cups_strcasecmp(line, "Port") || !_cups_strcasecmp(line, "Listen")) && + (remote_admin >= 0 || remote_any >= 0 || share_printers >= 0)) + { + if (!wrote_port_listen) + { + wrote_port_listen = 1; + + if (remote_admin > 0 || remote_any > 0 || share_printers > 0) + { + cupsFilePuts(temp, "# Allow remote access\n"); + cupsFilePrintf(temp, "Port %d\n", server_port); + } + else + { + cupsFilePuts(temp, "# Only listen for connections from the local " + "machine.\n"); + cupsFilePrintf(temp, "Listen localhost:%d\n", server_port); + } + +#ifdef CUPS_DEFAULT_DOMAINSOCKET + if ((!value || strcmp(CUPS_DEFAULT_DOMAINSOCKET, value)) && + !access(CUPS_DEFAULT_DOMAINSOCKET, 0)) + cupsFilePuts(temp, "Listen " CUPS_DEFAULT_DOMAINSOCKET "\n"); +#endif /* CUPS_DEFAULT_DOMAINSOCKET */ + } + else if (value && value[0] == '/' +#ifdef CUPS_DEFAULT_DOMAINSOCKET + && strcmp(CUPS_DEFAULT_DOMAINSOCKET, value) +#endif /* CUPS_DEFAULT_DOMAINSOCKET */ + ) + cupsFilePrintf(temp, "Listen %s\n", value); + } + else if ((!_cups_strcasecmp(line, "Browsing") || + !_cups_strcasecmp(line, "BrowseLocalProtocols")) && + share_printers >= 0) + { + if (!wrote_browsing) + { + wrote_browsing = 1; + + if (share_printers) + { + const char *localp = cupsGetOption("BrowseLocalProtocols", + num_settings, settings); + + if (!localp || !localp[0]) + localp = cupsGetOption("BrowseLocalProtocols", cupsd_num_settings, + cupsd_settings); + + cupsFilePuts(temp, "# Share local printers on the local network.\n"); + cupsFilePuts(temp, "Browsing On\n"); + + if (!localp) + localp = CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS; + + cupsFilePrintf(temp, "BrowseLocalProtocols %s\n", localp); + + cupsd_num_settings = cupsAddOption("BrowseLocalProtocols", localp, + cupsd_num_settings, + &cupsd_settings); + } + else + { + cupsFilePuts(temp, "# Disable printer sharing.\n"); + cupsFilePuts(temp, "Browsing Off\n"); + } + } + } + else if (!_cups_strcasecmp(line, "LogLevel") && debug_logging >= 0) + { + wrote_loglevel = 1; + + if (debug_logging) + { + cupsFilePuts(temp, + "# Show troubleshooting information in error_log.\n"); + cupsFilePuts(temp, "LogLevel debug\n"); + } + else + { + cupsFilePuts(temp, "# Show general information in error_log.\n"); + cupsFilePuts(temp, "LogLevel " CUPS_DEFAULT_LOG_LEVEL "\n"); + } + } + else if (!_cups_strcasecmp(line, "\n", line, value); + indent += 2; + } + else if (!_cups_strcasecmp(line, "")) + { + indent -= 2; + if (!wrote_policy && in_default_policy) + { + wrote_policy = 1; + + if (!user_cancel_any) + cupsFilePuts(temp, " # Only the owner or an administrator can " + "cancel a job...\n" + " \n" + " Order deny,allow\n" + " Require user @OWNER " + CUPS_DEFAULT_PRINTOPERATOR_AUTH "\n" + " \n"); + } + + in_policy = 0; + in_default_policy = 0; + + cupsFilePuts(temp, "\n"); + } + else if (!_cups_strcasecmp(line, "\n", line, value); + } + else if (!_cups_strcasecmp(line, "")) + { + in_location = 0; + indent -= 2; + if (in_admin_location && remote_admin >= 0) + { + wrote_admin_location = 1; + + if (remote_admin) + cupsFilePuts(temp, " # Allow remote administration...\n"); + else if (remote_admin == 0) + cupsFilePuts(temp, " # Restrict access to the admin pages...\n"); + + cupsFilePuts(temp, " Order allow,deny\n"); + + if (remote_admin) + cupsFilePrintf(temp, " Allow %s\n", + remote_any > 0 ? "all" : "@LOCAL"); + } + else if (in_conf_location && remote_admin >= 0) + { + wrote_conf_location = 1; + + if (remote_admin) + cupsFilePuts(temp, " # Allow remote access to the configuration " + "files...\n"); + else + cupsFilePuts(temp, " # Restrict access to the configuration " + "files...\n"); + + cupsFilePuts(temp, " Order allow,deny\n"); + + if (remote_admin) + cupsFilePrintf(temp, " Allow %s\n", + remote_any > 0 ? "all" : "@LOCAL"); + } + else if (in_log_location && remote_admin >= 0) + { + wrote_log_location = 1; + + if (remote_admin) + cupsFilePuts(temp, " # Allow remote access to the log " + "files...\n"); + else + cupsFilePuts(temp, " # Restrict access to the log " + "files...\n"); + + cupsFilePuts(temp, " Order allow,deny\n"); + + if (remote_admin) + cupsFilePrintf(temp, " Allow %s\n", + remote_any > 0 ? "all" : "@LOCAL"); + } + else if (in_root_location && + (remote_admin >= 0 || remote_any >= 0 || share_printers >= 0)) + { + wrote_root_location = 1; + + if (remote_admin > 0 && share_printers > 0) + cupsFilePuts(temp, " # Allow shared printing and remote " + "administration...\n"); + else if (remote_admin > 0) + cupsFilePuts(temp, " # Allow remote administration...\n"); + else if (share_printers > 0) + cupsFilePuts(temp, " # Allow shared printing...\n"); + else if (remote_any > 0) + cupsFilePuts(temp, " # Allow remote access...\n"); + else + cupsFilePuts(temp, " # Restrict access to the server...\n"); + + cupsFilePuts(temp, " Order allow,deny\n"); + + if (remote_admin > 0 || remote_any > 0 || share_printers > 0) + cupsFilePrintf(temp, " Allow %s\n", + remote_any > 0 ? "all" : "@LOCAL"); + } + + in_admin_location = 0; + in_conf_location = 0; + in_log_location = 0; + in_root_location = 0; + + cupsFilePuts(temp, "\n"); + } + else if (!_cups_strcasecmp(line, "= 0) + { + /* + * Don't write anything for this limit section... + */ + + in_cancel_job = 2; + } + else + { + cupsFilePrintf(temp, "%*s%s", indent, "", line); + + while (*value) + { + for (valptr = value; *valptr && !_cups_isspace(*valptr); valptr ++); + + if (*valptr) + *valptr++ = '\0'; + + if (!_cups_strcasecmp(value, "cancel-job") && user_cancel_any >= 0) + { + /* + * Write everything except for this definition... + */ + + in_cancel_job = 1; + } + else + cupsFilePrintf(temp, " %s", value); + + for (value = valptr; _cups_isspace(*value); value ++); + } + + cupsFilePuts(temp, ">\n"); + } + } + else + cupsFilePrintf(temp, "%*s%s %s>\n", indent, "", line, value); + + indent += 2; + } + else if (!_cups_strcasecmp(line, "") && in_cancel_job) + { + indent -= 2; + + if (in_cancel_job == 1) + cupsFilePuts(temp, " \n"); + + wrote_policy = 1; + + if (!user_cancel_any) + cupsFilePuts(temp, " # Only the owner or an administrator can cancel " + "a job...\n" + " \n" + " Order deny,allow\n" + " Require user @OWNER " + CUPS_DEFAULT_PRINTOPERATOR_AUTH "\n" + " \n"); + + in_cancel_job = 0; + } + else if ((((in_admin_location || in_conf_location || in_root_location || in_log_location) && + (remote_admin >= 0 || remote_any >= 0)) || + (in_root_location && share_printers >= 0)) && + (!_cups_strcasecmp(line, "Allow") || !_cups_strcasecmp(line, "Deny") || + !_cups_strcasecmp(line, "Order"))) + continue; + else if (in_cancel_job == 2) + continue; + else if (line[0] == '<') + { + if (value) + { + cupsFilePrintf(temp, "%*s%s %s>\n", indent, "", line, value); + indent += 2; + } + else + { + if (line[1] == '/') + indent -= 2; + + cupsFilePrintf(temp, "%*s%s\n", indent, "", line); + } + } + else if (!in_policy && !in_location && + (val = cupsGetOption(line, num_settings, settings)) != NULL) + { + /* + * Replace this directive's value with the new one... + */ + + cupsd_num_settings = cupsAddOption(line, val, cupsd_num_settings, + &cupsd_settings); + + /* + * Write the new value in its place, without indentation since we + * only support setting root directives, not in sections... + */ + + cupsFilePrintf(temp, "%s %s\n", line, val); + } + else if (value) + { + if (!in_policy && !in_location) + { + /* + * Record the non-policy, non-location directives that we find + * in the server settings, since we cache this info and record it + * in cupsAdminGetServerSettings()... + */ + + cupsd_num_settings = cupsAddOption(line, value, cupsd_num_settings, + &cupsd_settings); + } + + cupsFilePrintf(temp, "%*s%s %s\n", indent, "", line, value); + } + else + cupsFilePrintf(temp, "%*s%s\n", indent, "", line); + } + + /* + * Write any missing info... + */ + + if (!wrote_browsing && share_printers >= 0) + { + if (share_printers > 0) + { + cupsFilePuts(temp, "# Share local printers on the local network.\n"); + cupsFilePuts(temp, "Browsing On\n"); + } + else + { + cupsFilePuts(temp, "# Disable printer sharing and shared printers.\n"); + cupsFilePuts(temp, "Browsing Off\n"); + } + } + + if (!wrote_loglevel && debug_logging >= 0) + { + if (debug_logging) + { + cupsFilePuts(temp, "# Show troubleshooting information in error_log.\n"); + cupsFilePuts(temp, "LogLevel debug\n"); + } + else + { + cupsFilePuts(temp, "# Show general information in error_log.\n"); + cupsFilePuts(temp, "LogLevel " CUPS_DEFAULT_LOG_LEVEL "\n"); + } + } + + if (!wrote_port_listen && + (remote_admin >= 0 || remote_any >= 0 || share_printers >= 0)) + { + if (remote_admin > 0 || remote_any > 0 || share_printers > 0) + { + cupsFilePuts(temp, "# Allow remote access\n"); + cupsFilePrintf(temp, "Port %d\n", ippPort()); + } + else + { + cupsFilePuts(temp, + "# Only listen for connections from the local machine.\n"); + cupsFilePrintf(temp, "Listen localhost:%d\n", ippPort()); + } + +#ifdef CUPS_DEFAULT_DOMAINSOCKET + if (!access(CUPS_DEFAULT_DOMAINSOCKET, 0)) + cupsFilePuts(temp, "Listen " CUPS_DEFAULT_DOMAINSOCKET "\n"); +#endif /* CUPS_DEFAULT_DOMAINSOCKET */ + } + + if (!wrote_root_location && + (remote_admin >= 0 || remote_any >= 0 || share_printers >= 0)) + { + if (remote_admin > 0 && share_printers > 0) + cupsFilePuts(temp, + "# Allow shared printing and remote administration...\n"); + else if (remote_admin > 0) + cupsFilePuts(temp, "# Allow remote administration...\n"); + else if (share_printers > 0) + cupsFilePuts(temp, "# Allow shared printing...\n"); + else if (remote_any > 0) + cupsFilePuts(temp, "# Allow remote access...\n"); + else + cupsFilePuts(temp, "# Restrict access to the server...\n"); + + cupsFilePuts(temp, "\n" + " Order allow,deny\n"); + + if (remote_admin > 0 || remote_any > 0 || share_printers > 0) + cupsFilePrintf(temp, " Allow %s\n", remote_any > 0 ? "all" : "@LOCAL"); + + cupsFilePuts(temp, "\n"); + } + + if (!wrote_admin_location && remote_admin >= 0) + { + if (remote_admin) + cupsFilePuts(temp, "# Allow remote administration...\n"); + else + cupsFilePuts(temp, "# Restrict access to the admin pages...\n"); + + cupsFilePuts(temp, "\n" + " Order allow,deny\n"); + + if (remote_admin) + cupsFilePrintf(temp, " Allow %s\n", remote_any > 0 ? "all" : "@LOCAL"); + + cupsFilePuts(temp, "\n"); + } + + if (!wrote_conf_location && remote_admin >= 0) + { + if (remote_admin) + cupsFilePuts(temp, + "# Allow remote access to the configuration files...\n"); + else + cupsFilePuts(temp, "# Restrict access to the configuration files...\n"); + + cupsFilePuts(temp, "\n" + " AuthType Default\n" + " Require user @SYSTEM\n" + " Order allow,deny\n"); + + if (remote_admin) + cupsFilePrintf(temp, " Allow %s\n", remote_any > 0 ? "all" : "@LOCAL"); + + cupsFilePuts(temp, "\n"); + } + + if (!wrote_log_location && remote_admin >= 0) + { + if (remote_admin) + cupsFilePuts(temp, + "# Allow remote access to the log files...\n"); + else + cupsFilePuts(temp, "# Restrict access to the log files...\n"); + + cupsFilePuts(temp, "\n" + " AuthType Default\n" + " Require user @SYSTEM\n" + " Order allow,deny\n"); + + if (remote_admin) + cupsFilePrintf(temp, " Allow %s\n", remote_any > 0 ? "all" : "@LOCAL"); + + cupsFilePuts(temp, "\n"); + } + + if (!wrote_policy && user_cancel_any >= 0) + { + cupsFilePuts(temp, "\n" + " # Job-related operations must be done by the owner " + "or an administrator...\n" + " \n" + " Require user @OWNER @SYSTEM\n" + " Order deny,allow\n" + " \n" + " # All administration operations require an " + "administrator to authenticate...\n" + " \n" + " AuthType Default\n" + " Require user @SYSTEM\n" + " Order deny,allow\n" + "\n"); + + if (!user_cancel_any) + cupsFilePuts(temp, " # Only the owner or an administrator can cancel " + "a job...\n" + " \n" + " Order deny,allow\n" + " Require user @OWNER " + CUPS_DEFAULT_PRINTOPERATOR_AUTH "\n" + " \n"); + + cupsFilePuts(temp, " \n" + " Order deny,allow\n" + " \n" + "\n"); + } + + for (i = num_settings, setting = settings; i > 0; i --, setting ++) + if (setting->name[0] != '_' && + _cups_strcasecmp(setting->name, "Listen") && + _cups_strcasecmp(setting->name, "Port") && + !cupsGetOption(setting->name, cupsd_num_settings, cupsd_settings)) + { + /* + * Add this directive to the list of directives we have written... + */ + + cupsd_num_settings = cupsAddOption(setting->name, setting->value, + cupsd_num_settings, &cupsd_settings); + + /* + * Write the new value, without indentation since we only support + * setting root directives, not in sections... + */ + + cupsFilePrintf(temp, "%s %s\n", setting->name, setting->value); + } + + cupsFileClose(cupsd); + cupsFileClose(temp); + + /* + * Upload the configuration file to the server... + */ + + status = cupsPutFile(http, "/admin/conf/cupsd.conf", tempfile); + + if (status == HTTP_STATUS_CREATED) + { + /* + * Updated OK, add the basic settings... + */ + + if (debug_logging >= 0) + cupsd_num_settings = cupsAddOption(CUPS_SERVER_DEBUG_LOGGING, + debug_logging ? "1" : "0", + cupsd_num_settings, &cupsd_settings); + else + cupsd_num_settings = cupsAddOption(CUPS_SERVER_DEBUG_LOGGING, + old_debug_logging ? "1" : "0", + cupsd_num_settings, &cupsd_settings); + + if (remote_admin >= 0) + cupsd_num_settings = cupsAddOption(CUPS_SERVER_REMOTE_ADMIN, + remote_admin ? "1" : "0", + cupsd_num_settings, &cupsd_settings); + else + cupsd_num_settings = cupsAddOption(CUPS_SERVER_REMOTE_ADMIN, + old_remote_admin ? "1" : "0", + cupsd_num_settings, &cupsd_settings); + + if (remote_any >= 0) + cupsd_num_settings = cupsAddOption(CUPS_SERVER_REMOTE_ANY, + remote_any ? "1" : "0", + cupsd_num_settings, &cupsd_settings); + else + cupsd_num_settings = cupsAddOption(CUPS_SERVER_REMOTE_ANY, + old_remote_any ? "1" : "0", + cupsd_num_settings, &cupsd_settings); + + if (share_printers >= 0) + cupsd_num_settings = cupsAddOption(CUPS_SERVER_SHARE_PRINTERS, + share_printers ? "1" : "0", + cupsd_num_settings, &cupsd_settings); + else + cupsd_num_settings = cupsAddOption(CUPS_SERVER_SHARE_PRINTERS, + old_share_printers ? "1" : "0", + cupsd_num_settings, &cupsd_settings); + + if (user_cancel_any >= 0) + cupsd_num_settings = cupsAddOption(CUPS_SERVER_USER_CANCEL_ANY, + user_cancel_any ? "1" : "0", + cupsd_num_settings, &cupsd_settings); + else + cupsd_num_settings = cupsAddOption(CUPS_SERVER_USER_CANCEL_ANY, + old_user_cancel_any ? "1" : "0", + cupsd_num_settings, &cupsd_settings); + + /* + * Save the new values... + */ + + invalidate_cupsd_cache(cg); + + cg->cupsd_num_settings = cupsd_num_settings; + cg->cupsd_settings = cupsd_settings; + cg->cupsd_update = time(NULL); + + httpGetHostname(http, cg->cupsd_hostname, sizeof(cg->cupsd_hostname)); + } + else + cupsFreeOptions(cupsd_num_settings, cupsd_settings); + + /* + * Remote our temp files and return... + */ + + if (remote) + unlink(cupsdconf); + + unlink(tempfile); + + return (status == HTTP_STATUS_CREATED); +} + + +/* + * 'get_cupsd_conf()' - Get the current cupsd.conf file. + */ + +static http_status_t /* O - Status of request */ +get_cupsd_conf( + http_t *http, /* I - Connection to server */ + _cups_globals_t *cg, /* I - Global data */ + time_t last_update, /* I - Last update time for file */ + char *name, /* I - Filename buffer */ + size_t namesize, /* I - Size of filename buffer */ + int *remote) /* O - Remote file? */ +{ + int fd; /* Temporary file descriptor */ +#ifndef _WIN32 + struct stat info; /* cupsd.conf file information */ +#endif /* _WIN32 */ + http_status_t status; /* Status of getting cupsd.conf */ + char host[HTTP_MAX_HOST]; /* Hostname for connection */ + + + /* + * See if we already have the data we need... + */ + + httpGetHostname(http, host, sizeof(host)); + + if (_cups_strcasecmp(cg->cupsd_hostname, host)) + invalidate_cupsd_cache(cg); + + snprintf(name, namesize, "%s/cupsd.conf", cg->cups_serverroot); + *remote = 0; + +#ifndef _WIN32 + if (!_cups_strcasecmp(host, "localhost") && !access(name, R_OK)) + { + /* + * Read the local file rather than using HTTP... + */ + + if (stat(name, &info)) + { + char message[1024]; /* Message string */ + + + snprintf(message, sizeof(message), + _cupsLangString(cupsLangDefault(), _("stat of %s failed: %s")), + name, strerror(errno)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, message, 0); + + *name = '\0'; + + return (HTTP_STATUS_SERVER_ERROR); + } + else if (last_update && info.st_mtime <= last_update) + status = HTTP_STATUS_NOT_MODIFIED; + else + status = HTTP_STATUS_OK; + } + else +#endif /* !_WIN32 */ + { + /* + * Read cupsd.conf via a HTTP GET request... + */ + + if ((fd = cupsTempFd(name, (int)namesize)) < 0) + { + *name = '\0'; + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); + + invalidate_cupsd_cache(cg); + + return (HTTP_STATUS_SERVER_ERROR); + } + + *remote = 1; + + httpClearFields(http); + + if (last_update) + httpSetField(http, HTTP_FIELD_IF_MODIFIED_SINCE, + httpGetDateString(last_update)); + + status = cupsGetFd(http, "/admin/conf/cupsd.conf", fd); + + close(fd); + + if (status != HTTP_STATUS_OK) + { + unlink(name); + *name = '\0'; + } + } + + return (status); +} + + +/* + * 'invalidate_cupsd_cache()' - Invalidate the cached cupsd.conf settings. + */ + +static void +invalidate_cupsd_cache( + _cups_globals_t *cg) /* I - Global data */ +{ + cupsFreeOptions(cg->cupsd_num_settings, cg->cupsd_settings); + + cg->cupsd_hostname[0] = '\0'; + cg->cupsd_update = 0; + cg->cupsd_num_settings = 0; + cg->cupsd_settings = NULL; +} diff --git a/cups/adminutil.h b/cups/adminutil.h new file mode 100644 index 0000000..c3c0dc3 --- /dev/null +++ b/cups/adminutil.h @@ -0,0 +1,87 @@ +/* + * Administration utility API definitions for CUPS. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 2001-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_ADMINUTIL_H_ +# define _CUPS_ADMINUTIL_H_ + +/* + * Include necessary headers... + */ + +# include +# include "cups.h" + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Constants... + */ + +# define CUPS_SERVER_DEBUG_LOGGING "_debug_logging" +# define CUPS_SERVER_REMOTE_ADMIN "_remote_admin" +# define CUPS_SERVER_REMOTE_ANY "_remote_any" +# define CUPS_SERVER_SHARE_PRINTERS "_share_printers" +# define CUPS_SERVER_USER_CANCEL_ANY "_user_cancel_any" + + +/* + * Types and structures... + */ + +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); + /* Device callback + * @since CUPS 1.4/macOS 10.6@ */ + + +/* + * Functions... + */ + +extern int cupsAdminExportSamba(const char *dest, const char *ppd, + const char *samba_server, + const char *samba_user, + const char *samba_password, + FILE *logfile) _CUPS_DEPRECATED; +extern char *cupsAdminCreateWindowsPPD(http_t *http, const char *dest, + char *buffer, int bufsize) + _CUPS_DEPRECATED; + +extern int cupsAdminGetServerSettings(http_t *http, + int *num_settings, + cups_option_t **settings) + _CUPS_API_1_3; +extern int cupsAdminSetServerSettings(http_t *http, + int num_settings, + cups_option_t *settings) + _CUPS_API_1_3; + +extern ipp_status_t cupsGetDevices(http_t *http, int timeout, + const char *include_schemes, + const char *exclude_schemes, + cups_device_cb_t callback, + void *user_data) _CUPS_DEPRECATED; + + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_ADMINUTIL_H_ */ diff --git a/cups/api-admin.header b/cups/api-admin.header new file mode 100644 index 0000000..73625c6 --- /dev/null +++ b/cups/api-admin.header @@ -0,0 +1,31 @@ + + +

Administrative APIs

+ +
+ + + + + + + + + + + + + + + + +
Headercups/adminutil.h
Library-lcups
See AlsoProgramming: Introduction to CUPS Programming
+ Programming: CUPS API
+ Programming: HTTP and IPP APIs
diff --git a/cups/api-admin.shtml b/cups/api-admin.shtml new file mode 100644 index 0000000..ab00c9b --- /dev/null +++ b/cups/api-admin.shtml @@ -0,0 +1,93 @@ + + +

Overview

+ +

The administrative APIs provide convenience functions to perform certain administrative functions with the CUPS scheduler.

+ +
Note: +

Administrative functions normally require administrative privileges to execute and must not be used in ordinary user applications!

+
+ +

Scheduler Settings

+ +

The cupsAdminGetServerSettings and cupsAdminSetServerSettings functions allow you to get and set simple directives and their values, respectively, in the cupsd.conf file for the CUPS scheduler. Settings are stored in CUPS option arrays which provide a simple list of string name/value pairs. While any simple cupsd.conf directive name can be specified, the following convenience names are also defined to control common complex directives:

+ +
    +
  • CUPS_SERVER_DEBUG_LOGGING
  • : For cupsAdminGetServerSettings, a value of "1" means that the LogLevel directive is set to debug or debug2 while a value of "0" means it is set to any other value. For cupsAdminSetServerSettings a value of "1" sets the LogLeveL to debug while a value of "0" sets it to warn. +
  • CUPS_SERVER_REMOTE_ADMIN
  • : A value of "1" specifies that administrative requests are accepted from remote addresses while "0" specifies that requests are only accepted from local addresses (loopback interface and domain sockets). +
  • CUPS_SERVER_REMOTE_ANY
  • : A value of "1" specifies that requests are accepts from any address while "0" specifies that requests are only accepted from the local subnet (when sharing is enabled) or local addresses (loopback interface and domain sockets). +
  • CUPS_SERVER_SHARE_PRINTERS
  • : A value of "1" specifies that printer sharing is enabled for selected printers and remote requests are accepted while a value of "0" specifies that printer sharing is disables and remote requests are not accepted. +
  • CUPS_SERVER_USER_CANCEL_ANY
  • : A value of "1" specifies that the default security policy allows any user to cancel any print job, regardless of the owner. A value of "0" specifies that only administrative users can cancel other user's jobs. +
+ +
Note: +

Changing settings will restart the CUPS scheduler.

+

When printer sharing or the web interface are enabled, the scheduler's launch-on-demand functionality is effectively disabled. This can affect power usage, system performance, and the security profile of a system.

+
+ +

The recommended way to make changes to the cupsd.conf is to first call cupsAdminGetServerSettings, make any changes to the returned option array, and then call cupsAdminSetServerSettings to save those settings. For example, to enable the web interface:

+ +
+#include <cups/cups.h>
+#include <cups/adminutil.h>
+
+void
+enable_web_interface(void)
+{
+  int num_settings = 0;           /* Number of settings */
+  cups_option_t *settings = NULL; /* Settings */
+
+
+  if (!cupsAdminGetServerSettings(CUPS_HTTP_DEFAULT, &num_settings, &settings))
+  {
+    fprintf(stderr, "ERROR: Unable to get server settings: %s\n", cupsLastErrorString());
+    return;
+  }
+
+  num_settings = cupsAddOption("WebInterface", "Yes", num_settings, &settings);
+
+  if (!cupsAdminSetServerSettings(CUPS_HTTP_DEFAULT, num_settings, settings))
+  {
+    fprintf(stderr, "ERROR: Unable to set server settings: %s\n", cupsLastErrorString());
+  }
+
+  cupsFreeOptions(num_settings, settings);
+}
+
+ +

Devices

+ +

Printers can be discovered through the CUPS scheduler using the cupsGetDevices API. Typically this API is used to locate printers to add the the system. Each device that is found will cause a supplied callback function to be executed. For example, to list the available printer devices that can be found within 30 seconds:

+ +
+#include <cups/cups.h>
+#include <cups/adminutil.h>
+
+
+void
+get_devices_cb(
+    const char *device_class,           /* I - Class */
+    const char *device_id,              /* I - 1284 device ID */
+    const char *device_info,            /* I - Description */
+    const char *device_make_and_model,  /* I - Make and model */
+    const char *device_uri,             /* I - Device URI */
+    const char *device_location,        /* I - Location */
+    void       *user_data)              /* I - User data */
+{
+  puts(device_uri);
+}
+
+
+void
+show_devices(void)
+{
+  cupsGetDevices(CUPS_HTTP_DEFAULT, 30, NULL, NULL, get_devices_cb, NULL);
+}
+
diff --git a/cups/api-filter.header b/cups/api-filter.header new file mode 100644 index 0000000..f64ef63 --- /dev/null +++ b/cups/api-filter.header @@ -0,0 +1,37 @@ + + +

Filter and Backend Programming

+ +
+ + + + + + + + + + + + + + + + +
Headerscups/backend.h
+ cups/ppd.h
+ cups/sidechannel.h
Library-lcups
See AlsoProgramming: Introduction to CUPS Programming
+ Programming: CUPS API
+ Programming: PPD API
+ Programming: Raster API
+ Programming: Developing PostScript Printer Drivers
+ Programming: Developing Raster Printer Drivers
+ Specifications: CUPS Design Description
diff --git a/cups/api-filter.shtml b/cups/api-filter.shtml new file mode 100644 index 0000000..e7ab510 --- /dev/null +++ b/cups/api-filter.shtml @@ -0,0 +1,874 @@ + + +

Overview

+ +

Filters (which include printer drivers and port monitors) and backends +are used to convert job files to a printable format and send that data to the +printer itself. All of these programs use a common interface for processing +print jobs and communicating status information to the scheduler. Each is run +with a standard set of command-line arguments:

+ +

+ +
argv[1]
+
The job ID
+ +
argv[2]
+
The user printing the job
+ +
argv[3]
+
The job name/title
+ +
argv[4]
+
The number of copies to print
+ +
argv[5]
+
The options that were provided when the job was submitted
+ +
argv[6]
+
The file to print (first program only)
+
+ +

The scheduler runs one or more of these programs to print any given job. The +first filter reads from the print file and writes to the standard output, while +the remaining filters read from the standard input and write to the standard +output. The backend is the last filter in the chain and writes to the +device.

+ +

Filters are always run as a non-privileged user, typically "lp", with no +connection to the user's desktop. Backends are run either as a non-privileged +user or as root if the file permissions do not allow user or group execution. +The file permissions section talks about this in +more detail.

+ +

Security Considerations

+ +

It is always important to use security programming practices. Filters and +most backends are run as a non-privileged user, so the major security +consideration is resource utilization - filters should not depend on unlimited +amounts of CPU, memory, or disk space, and should protect against conditions +that could lead to excess usage of any resource like infinite loops and +unbounded recursion. In addition, filters must never allow the user to +specify an arbitrary file path to a separator page, template, or other file +used by the filter since that can lead to an unauthorized disclosure of +information. Always treat input as suspect and validate it!

+ +

If you are developing a backend that runs as root, make sure to check for +potential buffer overflows, integer under/overflow conditions, and file +accesses since these can lead to privilege escalations. When writing files, +always validate the file path and never allow a user to determine +where to store a file.

+ +
Note: + +

Never write files to a user's home directory. Aside from the +security implications, CUPS is a network print service and as such the network +user may not be the same as the local user and/or there may not be a local home +directory to write to.

+ +

In addition, some operating systems provide additional security mechanisms +that further limit file system access, even for backends running as root. On +macOS, for example, no backend may write to a user's home directory. See the Sandboxing on macOS section for more information.

+
+ +

Canceled Jobs and Signal Handling

+ +

The scheduler sends SIGTERM when a printing job is canceled or +held. Filters, backends, and port monitors must catch +SIGTERM and perform any cleanup necessary to produce a valid output +file or return the printer to a known good state. The recommended behavior is to +end the output on the current page, preferably on the current line or object +being printed.

+ +

Filters and backends may also receive SIGPIPE when an upstream or downstream filter/backend exits with a non-zero status. Developers should generally ignore SIGPIPE at the beginning of main() with the following function call:

+ +
+#include <signal.h>
+
+...
+
+int
+main(int argc, char *argv[])
+{
+  signal(SIGPIPE, SIG_IGN);
+
+  ...
+}
+
+ +

File Permissions

+ +

For security reasons, CUPS will only run filters and backends that are owned +by root and do not have world or group write permissions. The recommended +permissions for filters and backends are 0555 - read and execute but no write. +Backends that must run as root should use permissions of 0500 - read and execute +by root, no access for other users. Write permissions can be enabled for the +root user only.

+ +

To avoid a warning message, the directory containing your filter(s) must also +be owned by root and have world and group write disabled - permissions of 0755 +or 0555 are strongly encouraged.

+ +

Temporary Files

+ +

Temporary files should be created in the directory specified by the +"TMPDIR" environment variable. The +cupsTempFile2 function can be +used to safely create temporary files in this directory.

+ +

Copy Generation

+ +

The argv[4] argument specifies the number of copies to produce +of the input file. In general, you should only generate copies if the +filename argument is supplied. The only exception to this are +filters that produce device-independent PostScript output, since the PostScript +filter pstops is responsible for generating copies of PostScript +files.

+ +

Exit Codes

+ +

Filters must exit with status 0 when they successfully generate print data +or 1 when they encounter an error. Backends can return any of the +cups_backend_t constants.

+ +

Environment Variables

+ +

The following environment variables are defined by the printing system +when running print filters and backends:

+ +
+ +
APPLE_LANGUAGE
+
The Apple language identifier associated with the job + (macOS only).
+ +
CHARSET
+
The job character set, typically "utf-8".
+ +
CLASS
+
When a job is submitted to a printer class, contains the name of + the destination printer class. Otherwise this environment + variable will not be set.
+ +
CONTENT_TYPE
+
The MIME type associated with the file (e.g. + application/postscript).
+ +
CUPS_CACHEDIR
+
The directory where cache files can be stored. Cache files can be + used to retain information between jobs or files in a job.
+ +
CUPS_DATADIR
+
The directory where (read-only) CUPS data files can be found.
+ +
CUPS_FILETYPE
+
The type of file being printed: "job-sheet" for a banner page and + "document" for a regular print file.
+ +
CUPS_SERVERROOT
+
The root directory of the server.
+ +
DEVICE_URI
+
The device-uri associated with the printer.
+ +
FINAL_CONTENT_TYPE
+
The MIME type associated with the printer (e.g. + application/vnd.cups-postscript).
+ +
LANG
+
The language locale associated with the job.
+ +
PPD
+
The full pathname of the PostScript Printer Description (PPD) + file for this printer.
+ +
PRINTER
+
The queue name of the class or printer.
+ +
RIP_CACHE
+
The recommended amount of memory to use for Raster Image + Processors (RIPs).
+ +
TMPDIR
+
The directory where temporary files should be created.
+ +
+ +

Communicating with the Scheduler

+ +

Filters and backends communicate with the scheduler by writing messages +to the standard error file. The scheduler reads messages from all filters in +a job and processes the message based on its prefix. For example, the following +code sets the current printer state message to "Printing page 5":

+ +
+int page = 5;
+
+fprintf(stderr, "INFO: Printing page %d\n", page);
+
+ +

Each message is a single line of text starting with one of the following +prefix strings:

+ +
+ +
ALERT: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "alert" log level.
+ +
ATTR: attribute=value [attribute=value]
+
Sets the named printer or job attribute(s). Typically this is used + to set the marker-colors, marker-high-levels, + marker-levels, marker-low-levels, + marker-message, marker-names, + marker-types, printer-alert, and + printer-alert-description printer attributes. Standard + marker-types values are listed in Table + 1. String values need special handling - see Reporting Attribute String Values below.
+ +
CRIT: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "critical" log + level.
+ +
DEBUG: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "debug" log level.
+ +
DEBUG2: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "debug2" log level.
+ +
EMERG: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "emergency" log + level.
+ +
ERROR: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "error" log level. + Use "ERROR:" messages for non-persistent processing errors.
+ +
INFO: message
+
Sets the printer-state-message attribute. If the current log level + is set to "debug2", also adds the specified message to the current error + log file using the "info" log level.
+ +
NOTICE: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "notice" log level.
+ +
PAGE: page-number #-copies
+
PAGE: total #-pages
+
Adds an entry to the current page log file. The first form adds + #-copies to the job-media-sheets-completed attribute. The second + form sets the job-media-sheets-completed attribute to #-pages.
+ +
PPD: keyword=value [keyword=value ...]
+
Changes or adds keywords to the printer's PPD file. Typically + this is used to update installable options or default media settings + based on the printer configuration.
+ +
STATE: + printer-state-reason [printer-state-reason ...]
+
STATE: - printer-state-reason [printer-state-reason ...]
+
Sets or clears printer-state-reason keywords for the current queue. + Typically this is used to indicate persistent media, ink, toner, and + configuration conditions or errors on a printer. + Table 2 lists some of the standard "printer-state-reasons" keywords from the IANA IPP Registry - + use vendor-prefixed ("com.example.foo") keywords for custom states. See + Managing Printer State in a Filter for more + information. + +
WARNING: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "warning" log + level.
+ +
+ +

Messages without one of these prefixes are treated as if they began with +the "DEBUG:" prefix string.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1: Standard marker-types Values
marker-typeDescription
developerDeveloper unit
fuserFuser unit
fuser-cleaning-padFuser cleaning pad
fuser-oilFuser oil
inkInk supply
opcPhoto conductor
solid-waxWax supply
staplesStaple supply
tonerToner supply
transfer-unitTransfer unit
waste-inkWaste ink tank
waste-tonerWaste toner tank
waste-waxWaste wax tank
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2: Standard State Keywords
KeywordDescription
connecting-to-deviceConnecting to printer but not printing yet.
cover-openThe printer's cover is open.
input-tray-missingThe paper tray is missing.
marker-supply-emptyThe printer is out of ink.
marker-supply-lowThe printer is almost out of ink.
marker-waste-almost-fullThe printer's waste bin is almost full.
marker-waste-fullThe printer's waste bin is full.
media-emptyThe paper tray (any paper tray) is empty.
media-jamThere is a paper jam.
media-lowThe paper tray (any paper tray) is almost empty.
media-neededThe paper tray needs to be filled (for a job that is printing).
pausedStop the printer.
timed-outUnable to connect to printer.
toner-emptyThe printer is out of toner.
toner-lowThe printer is low on toner.
+ + +

Reporting Attribute String Values

+ +

When reporting string values using "ATTR:" messages, a filter or backend must take special care to appropriately quote those values. The scheduler uses the CUPS option parsing code for attributes, so the general syntax is:

+ +
+name=simple
+name=simple,simple,...
+name='complex value'
+name="complex value"
+name='"complex value"','"complex value"',...
+
+ +

Simple values are strings that do not contain spaces, quotes, backslashes, or the comma and can be placed verbatim in the "ATTR:" message, for example:

+ +
+int levels[4] = { 40, 50, 60, 70 }; /* CMYK */
+
+fputs("ATTR: marker-colors=#00FFFF,#FF00FF,#FFFF00,#000000\n", stderr);
+fputs("ATTR: marker-high-levels=100,100,100,100\n", stderr);
+fprintf(stderr, "ATTR: marker-levels=%d,%d,%d,%d\n", levels[0], levels[1],
+        levels[2], levels[3], levels[4]);
+fputs("ATTR: marker-low-levels=5,5,5,5\n", stderr);
+fputs("ATTR: marker-types=toner,toner,toner,toner\n", stderr);
+
+ +

Complex values that contains spaces, quotes, backslashes, or the comma must be quoted. For a single value a single set of quotes is sufficient:

+ +
+fputs("ATTR: marker-message='Levels shown are approximate.'\n", stderr);
+
+ +

When multiple values are reported, each value must be enclosed by a set of single and double quotes:

+ +
+fputs("ATTR: marker-names='\"Cyan Toner\"','\"Magenta Toner\"',"
+      "'\"Yellow Toner\"','\"Black Toner\"'\n", stderr);
+
+ +

The IPP backend includes a quote_string function that may be used to properly quote a complex value in an "ATTR:" message:

+ +
+static const char *                     /* O - Quoted string */
+quote_string(const char *s,             /* I - String */
+             char       *q,             /* I - Quoted string buffer */
+             size_t     qsize)          /* I - Size of quoted string buffer */
+{
+  char  *qptr,                          /* Pointer into string buffer */
+        *qend;                          /* End of string buffer */
+
+
+  qptr = q;
+  qend = q + qsize - 5;
+
+  if (qend < q)
+  {
+    *q = '\0';
+    return (q);
+  }
+
+  *qptr++ = '\'';
+  *qptr++ = '\"';
+
+  while (*s && qptr < qend)
+  {
+    if (*s == '\\' || *s == '\"' || *s == '\'')
+    {
+      if (qptr < (qend - 4))
+      {
+        *qptr++ = '\\';
+        *qptr++ = '\\';
+        *qptr++ = '\\';
+      }
+      else
+        break;
+    }
+
+    *qptr++ = *s++;
+  }
+
+  *qptr++ = '\"';
+  *qptr++ = '\'';
+  *qptr   = '\0';
+
+  return (q);
+}
+
+ + +

Managing Printer State in a Filter

+ +

Filters are responsible for managing the state keywords they set using +"STATE:" messages. Typically you will update all of the keywords that +are used by the filter at startup, for example:

+ +
+if (foo_condition != 0)
+  fputs("STATE: +com.example.foo\n", stderr);
+else
+  fputs("STATE: -com.example.foo\n", stderr);
+
+if (bar_condition != 0)
+  fputs("STATE: +com.example.bar\n", stderr);
+else
+  fputs("STATE: -com.example.bar\n", stderr);
+
+ +

Then as conditions change, your filter sends "STATE: +keyword" or "STATE: +-keyword" messages as necessary to set or clear the corresponding keyword, +respectively.

+ +

State keywords are often used to notify the user of issues that span across +jobs, for example "media-empty-warning" that indicates one or more paper trays +are empty. These keywords should not be cleared unless the corresponding issue +no longer exists.

+ +

Filters should clear job-related keywords on startup and exit so that they +do not remain set between jobs. For example, "connecting-to-device" is a job +sub-state and not an issue that applies when a job is not printing.

+ +
Note: + +

"STATE:" messages often provide visible alerts to the user. For example, +on macOS setting a printer-state-reason value with an "-error" or +"-warning" suffix will cause the printer's dock item to bounce if the +corresponding reason is localized with a cupsIPPReason keyword in the +printer's PPD file.

+ +

When providing a vendor-prefixed keyword, always provide the +corresponding standard keyword (if any) to allow clients to respond to the +condition correctly. For example, if you provide a vendor-prefixed keyword +for a low cyan ink condition ("com.example.cyan-ink-low") you must also set the +"marker-supply-low-warning" keyword. In such cases you should also refrain +from localizing the vendor-prefixed keyword in the PPD file - otherwise both +the generic and vendor-specific keyword will be shown in the user +interface.

+ +
+ +

Reporting Supply Levels

+ +

CUPS tracks several "marker-*" attributes for ink/toner supply level +reporting. These attributes allow applications to display the current supply +levels for a printer without printer-specific software. Table 3 lists the marker attributes and what they represent.

+ +

Filters set marker attributes by sending "ATTR:" messages to stderr. For +example, a filter supporting an inkjet printer with black and tri-color ink +cartridges would use the following to initialize the supply attributes:

+ +
+fputs("ATTR: marker-colors=#000000,#00FFFF#FF00FF#FFFF00\n", stderr);
+fputs("ATTR: marker-low-levels=5,10\n", stderr);
+fputs("ATTR: marker-names=Black,Tri-Color\n", stderr);
+fputs("ATTR: marker-types=ink,ink\n", stderr);
+
+ +

Then periodically the filter queries the printer for its current supply +levels and updates them with a separate "ATTR:" message:

+ +
+int black_level, tri_level;
+...
+fprintf(stderr, "ATTR: marker-levels=%d,%d\n", black_level, tri_level);
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3: Supply Level Attributes
AttributeDescription
marker-colorsA list of comma-separated colors; each color is either "none" or one or + more hex-encoded sRGB colors of the form "#RRGGBB".
marker-high-levelsA list of comma-separated "almost full" level values from 0 to 100; a + value of 100 should be used for supplies that are consumed/emptied like ink + cartridges.
marker-levelsA list of comma-separated level values for each supply. A value of -1 + indicates the level is unavailable, -2 indicates unknown, and -3 indicates + the level is unknown but has not yet reached capacity. Values from 0 to 100 + indicate the corresponding percentage.
marker-low-levelsA list of comma-separated "almost empty" level values from 0 to 100; a + value of 0 should be used for supplies that are filled like waste ink + tanks.
marker-messageA human-readable supply status message for the user like "12 pages of + ink remaining."
marker-namesA list of comma-separated supply names like "Cyan Ink", "Fuser", + etc.
marker-typesA list of comma-separated supply types; the types are listed in + Table 1.
+ +

Communicating with the Backend

+ +

Filters can communicate with the backend via the +cupsBackChannelRead and +cupsSideChannelDoRequest +functions. The +cupsBackChannelRead function +reads data that has been sent back from the device and is typically used to +obtain status and configuration information. For example, the following code +polls the backend for back-channel data:

+ +
+#include <cups/cups.h>
+
+char buffer[8192];
+ssize_t bytes;
+
+/* Use a timeout of 0.0 seconds to poll for back-channel data */
+bytes = cupsBackChannelRead(buffer, sizeof(buffer), 0.0);
+
+ +

Filters can also use select() or poll() on the +back-channel file descriptor (3 or CUPS_BC_FD) to read data only +when it is available.

+ +

The +cupsSideChannelDoRequest +function allows you to get out-of-band status information and do synchronization +with the device. For example, the following code gets the current IEEE-1284 +device ID string from the backend:

+ +
+#include <cups/sidechannel.h>
+
+char data[2049];
+int datalen;
+cups_sc_status_t status;
+
+/* Tell cupsSideChannelDoRequest() how big our buffer is, less 1 byte for
+   nul-termination... */
+datalen = sizeof(data) - 1;
+
+/* Get the IEEE-1284 device ID, waiting for up to 1 second */
+status = cupsSideChannelDoRequest(CUPS_SC_CMD_GET_DEVICE_ID, data, &datalen, 1.0);
+
+/* Use the returned value if OK was returned and the length is non-zero */
+if (status == CUPS_SC_STATUS_OK && datalen > 0)
+  data[datalen] = '\0';
+else
+  data[0] = '\0';
+
+ +

Forcing All Output to a Printer

+ +

The +cupsSideChannelDoRequest +function allows you to tell the backend to send all pending data to the printer. +This is most often needed when sending query commands to the printer. For example:

+ +
+#include <cups/cups.h>
+#include <cups/sidechannel.h>
+
+char data[1024];
+int datalen = sizeof(data);
+cups_sc_status_t status;
+
+/* Flush pending output to stdout */
+fflush(stdout);
+
+/* Drain output to backend, waiting for up to 30 seconds */
+status = cupsSideChannelDoRequest(CUPS_SC_CMD_DRAIN_OUTPUT, data, &datalen, 30.0);
+
+/* Read the response if the output was sent */
+if (status == CUPS_SC_STATUS_OK)
+{
+  ssize_t bytes;
+
+  /* Wait up to 10.0 seconds for back-channel data */
+  bytes = cupsBackChannelRead(data, sizeof(data), 10.0);
+  /* do something with the data from the printer */
+}
+
+ +

Communicating with Filters

+ +

Backends communicate with filters using the reciprocal functions +cupsBackChannelWrite, +cupsSideChannelRead, and +cupsSideChannelWrite. We +recommend writing back-channel data using a timeout of 1.0 seconds:

+ +
+#include <cups/cups.h>
+
+char buffer[8192];
+ssize_t bytes;
+
+/* Obtain data from printer/device */
+...
+
+/* Use a timeout of 1.0 seconds to give filters a chance to read */
+cupsBackChannelWrite(buffer, bytes, 1.0);
+
+ +

The cupsSideChannelRead +function reads a side-channel command from a filter, driver, or port monitor. +Backends can either poll for commands using a timeout of 0.0, wait +indefinitely for commands using a timeout of -1.0 (probably in a +separate thread for that purpose), or use select or +poll on the CUPS_SC_FD file descriptor (4) to handle +input and output on several file descriptors at the same time.

+ +

Once a command is processed, the backend uses the +cupsSideChannelWrite function +to send its response. For example, the following code shows how to poll for a +side-channel command and respond to it:

+ +
+#include <cups/sidechannel.h>
+
+cups_sc_command_t command;
+cups_sc_status_t status;
+char data[2048];
+int datalen = sizeof(data);
+
+/* Poll for a command... */
+if (!cupsSideChannelRead(&command, &status, data, &datalen, 0.0))
+{
+  switch (command)
+  {
+    /* handle supported commands, fill data/datalen/status with values as needed */
+
+    default :
+        status  = CUPS_SC_STATUS_NOT_IMPLEMENTED;
+	datalen = 0;
+	break;
+  }
+
+  /* Send a response... */
+  cupsSideChannelWrite(command, status, data, datalen, 1.0);
+}
+
+ +

Doing SNMP Queries with Network Printers

+ +

The Simple Network Management Protocol (SNMP) allows you to get the current +status, page counter, and supply levels from most network printers. Every +piece of information is associated with an Object Identifier (OID), and +every printer has a community name associated with it. OIDs can be +queried directly or by "walking" over a range of OIDs with a common prefix.

+ +

The two CUPS SNMP functions provide a simple API for querying network +printers through the side-channel interface. Each accepts a string containing +an OID like ".1.3.6.1.2.1.43.10.2.1.4.1.1" (the standard page counter OID) +along with a timeout for the query.

+ +

The cupsSideChannelSNMPGet +function queries a single OID and returns the value as a string in a buffer +you supply:

+ +
+#include <cups/sidechannel.h>
+
+char data[512];
+int datalen = sizeof(data);
+
+if (cupsSideChannelSNMPGet(".1.3.6.1.2.1.43.10.2.1.4.1.1", data, &datalen, 5.0)
+        == CUPS_SC_STATUS_OK)
+{
+  /* Do something with the value */
+  printf("Page counter is: %s\n", data);
+}
+
+ +

The +cupsSideChannelSNMPWalk +function allows you to query a whole group of OIDs, calling a function of your +choice for each OID that is found:

+ +
+#include <cups/sidechannel.h>
+
+void
+my_callback(const char *oid, const char *data, int datalen, void *context)
+{
+  /* Do something with the value */
+  printf("%s=%s\n", oid, data);
+}
+
+...
+
+void *my_data;
+
+cupsSNMPSideChannelWalk(".1.3.6.1.2.1.43", 5.0, my_callback, my_data);
+
+ +

Sandboxing on macOS

+ +

Starting with macOS 10.6, filters and backends are run inside a security "sandbox" which further limits (beyond the normal UNIX user/group permissions) what a filter or backend can do. This helps to both secure the printing system from malicious software and enforce the functional separation of components in the CUPS filter chain. What follows is a list of actions that are explicitly allowed for all filters and backends:

+ +
    + +
  1. Reading of files: pursuant to normal UNIX file permissions, filters and backends can read files for the current job from the /private/var/spool/cups directory and other files on mounted filesystems except for user home directories under /Users.
  2. + +
  3. Writing of files: pursuant to normal UNIX file permissions, filters and backends can read/write files to the cache directory specified by the CUPS_CACHEDIR environment variable, to the state directory specified by the CUPS_STATEDIR environment variable, to the temporary directory specified by the TMPDIR environment variable, and under the /private/var/db, /private/var/folders, /private/var/lib, /private/var/mysql, /private/var/run, /private/var/spool (except /private/var/spool/cups), /Library/Application Support, /Library/Caches, /Library/Logs, /Library/Preferences, /Library/WebServer, and /Users/Shared directories.
  4. + +
  5. Execution of programs: pursuant to normal UNIX file permissions, filters and backends can execute any program not located under the /Users directory. Child processes inherit the sandbox and are subject to the same restrictions as the parent.
  6. + +
  7. Bluetooth and USB: backends can access Bluetooth and USB printers through IOKit. Filters cannot access Bluetooth and USB printers directly.
  8. + +
  9. Network: filters and backends can access UNIX domain sockets under the /private/tmp, /private/var/run, and /private/var/tmp directories. Backends can also create IPv4 and IPv6 TCP (outgoing) and UDP (incoming and outgoing) socket, and bind to local source ports. Filters cannot directly create IPv4 and IPv6 TCP or UDP sockets.
  10. + +
  11. Notifications: filters and backends can send notifications via the Darwin notify_post() API.
  12. + +
+ +
Note: + +

The sandbox profile used in CUPS still allows some actions that are not listed above - these privileges will be removed over time until the profile matches the list above.

+
diff --git a/cups/api-ppd.header b/cups/api-ppd.header new file mode 100644 index 0000000..bc555e6 --- /dev/null +++ b/cups/api-ppd.header @@ -0,0 +1,36 @@ + + +

PPD API (DEPRECATED)

+ +
Note: + +

The PPD API was deprecated in CUPS 1.6/macOS 10.8. Please use the new Job Ticket APIs in the CUPS Programming Manual documentation. These functions will be removed in a future release of CUPS.

+
+ +
+ + + + + + + + + + + + + + + + +
Headercups/ppd.h
Library-lcups
See AlsoProgramming: Introduction to CUPS Programming
+ Programming: CUPS Programming Manual
+ Specifications: CUPS PPD Extensions
diff --git a/cups/api-ppd.shtml b/cups/api-ppd.shtml new file mode 100644 index 0000000..d7a43f4 --- /dev/null +++ b/cups/api-ppd.shtml @@ -0,0 +1,221 @@ + + +

Overview

+ +
Note: + +

The PPD API was deprecated in CUPS 1.6/macOS 10.8. Please use the new Job Ticket APIs in the CUPS Programming Manual documentation. These functions will be removed in a future release of CUPS.

+
+ +

The CUPS PPD API provides read-only access the data in PostScript Printer +Description ("PPD") files which are used for all printers with a driver. With +it you can obtain the data necessary to display printer options to users, mark +option choices and check for conflicting choices, and output marked choices in +PostScript output. The ppd_file_t +structure contains all of the information in a PPD file.

+ +
Note: + +

The CUPS PPD API uses the terms "option" and "choice" instead of the Adobe +terms "MainKeyword" and "OptionKeyword" to refer to specific printer options and +features. CUPS also treats option ("MainKeyword") and choice ("OptionKeyword") +values as case-insensitive strings, so option "InputSlot" and choice "Upper" +are equivalent to "inputslot" and "upper", respectively.

+
+ + +

Loading a PPD File

+ +

The ppdOpenFile function "opens" a +PPD file and loads it into memory. For example, the following code opens the +current printer's PPD file in a CUPS filter:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd = ppdOpenFile(getenv("PPD"));
+
+ +

The return value is a pointer to a new +ppd_file_t structure or NULL +if the PPD file does not exist or cannot be loaded. The +ppdClose function frees the memory used +by the structure:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd;
+
+ppdClose(ppd);
+
+ +

Once closed, pointers to the ppd_file_t +structure and any data in it will no longer be valid.

+ +

Options and Groups

+ +

PPD files support multiple options, which are stored in arrays of +ppd_option_t and +ppd_choice_t structures.

+ +

Each option in turn is associated with a group stored in a +ppd_group_t structure. Groups can be +specified in the PPD file; if an option is not associated with a group +then it is put in an automatically-generated "General" group. Groups can also +have sub-groups, however CUPS currently ignores sub-groups because of past +abuses of this functionality.

+ +

Option choices are selected by marking them using one of three functions. The +first is ppdMarkDefaults which +selects all of the default options in the PPD file:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd;
+
+ppdMarkDefaults(ppd);
+
+ +

The second is ppdMarkOption +which selects a single option choice in the PPD file. For example, the following +code selects the upper paper tray:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd;
+
+ppdMarkOption(ppd, "InputSlot", "Upper");
+
+ +

The last function is +cupsMarkOptions which selects +multiple option choices in the PPD file from an array of CUPS options, mapping +IPP attributes like "media" and "sides" to their corresponding PPD options. You +typically use this function in a print filter with +cupsParseOptions and +ppdMarkDefaults to select all of +the option choices needed for the job, for example:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd = ppdOpenFile(getenv("PPD"));
+cups_option_t *options = NULL;
+int num_options = cupsParseOptions(argv[5], 0, &options);
+
+ppdMarkDefaults(ppd);
+cupsMarkOptions(ppd, num_options, options);
+cupsFreeOptions(num_options, options);
+
+ + +

Constraints

+ +

PPD files support specification of conflict conditions, called +constraints, between different options. Constraints are stored in an array of +ppd_const_t structures which specify +the options and choices that conflict with each other. The +ppdConflicts function tells you +how many of the selected options are incompatible. Since constraints are +normally specified in pairs, the returned value is typically an even number.

+ + +

Page Sizes

+ +

Page sizes are special options which have physical dimensions and margins +associated with them. The size information is stored in +ppd_size_t structures and is available +by looking up the named size with the +ppdPageSize function. The page size and +margins are returned in units called points; there are 72 points per inch. If +you pass NULL for the size, the currently selected size is +returned:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd;
+ppd_size_t *size = ppdPageSize(ppd, NULL);
+
+ +

Besides the standard page sizes listed in a PPD file, some printers +support variable or custom page sizes. Custom page sizes are supported if the +variables_sizes member of the +ppd_file_t structure is non-zero. +The custom_min, custom_max, and +custom_margins members of the +ppd_file_t structure define the limits +of the printable area. To get the resulting media size, use a page size string +of the form "Custom.widthxlength", where "width" and "length" are +in points. Custom page size names can also be specified in inches +("Custom.widthxheightin"), centimeters +("Custom.widthxheightcm"), or millimeters +("Custom.widthxheightmm"):

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd;
+
+/* Get an 576x720 point custom page size */
+ppd_size_t *size = ppdPageSize(ppd, "Custom.576x720");
+
+/* Get an 8x10 inch custom page size */
+ppd_size_t *size = ppdPageSize(ppd, "Custom.8x10in");
+
+/* Get a 100x200 millimeter custom page size */
+ppd_size_t *size = ppdPageSize(ppd, "Custom.100x200mm");
+
+/* Get a 12.7x34.5 centimeter custom page size */
+ppd_size_t *size = ppdPageSize(ppd, "Custom.12.7x34.5cm");
+
+ +

If the PPD does not support variable page sizes, the +ppdPageSize function will return +NULL.

+ + +

Attributes

+ +

Every PPD file is composed of one or more attributes. Most of these +attributes are used to define groups, options, choices, and page sizes, +however several informational attributes may be present which you can access +in your program or filter. Attributes normally look like one of the following +examples in a PPD file:

+ +
+*name: "value"
+*name spec: "value"
+*name spec/text: "value"
+
+ +

The ppdFindAttr and +ppdFindNextAttr functions find the +first and next instances, respectively, of the named attribute with the given +"spec" string and return a ppd_attr_t +structure. If you provide a NULL specifier string, all attributes with the +given name will be returned. For example, the following code lists all of the +Product attributes in a PPD file:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd;
+ppd_attr_t *attr;
+
+for (attr = ppdFindAttr(ppd, "Product", NULL);
+     attr != NULL;
+     attr = ppdFindNextAttr(ppd, "Product", NULL))
+  puts(attr->value);
+
diff --git a/cups/api-raster.header b/cups/api-raster.header new file mode 100644 index 0000000..f5122d8 --- /dev/null +++ b/cups/api-raster.header @@ -0,0 +1,31 @@ + + +

Raster API

+ +
+ + + + + + + + + + + + + + + + +
Headercups/raster.h
Library-lcups
See AlsoProgramming: CUPS Programming Manual
+ Programming: PPD API
+ References: CUPS PPD Specification
diff --git a/cups/api-raster.shtml b/cups/api-raster.shtml new file mode 100644 index 0000000..44a6037 --- /dev/null +++ b/cups/api-raster.shtml @@ -0,0 +1,155 @@ + + +

Overview

+ +

The CUPS raster API provides a standard interface for reading and writing +CUPS raster streams which are used for printing to raster printers. Because the +raster format is updated from time to time, it is important to use this API to +avoid incompatibilities with newer versions of CUPS.

+ +

Two kinds of CUPS filters use the CUPS raster API - raster image processor +(RIP) filters such as pstoraster and cgpdftoraster +(macOS) that produce CUPS raster files and printer driver filters that +convert CUPS raster files into a format usable by the printer. Printer +driver filters are by far the most common.

+ +

CUPS raster files (application/vnd.cups-raster) consists of +a stream of raster page descriptions produced by one of the RIP filters such as +pstoraster, imagetoraster, or +cgpdftoraster. CUPS raster files are referred to using the +cups_raster_t type and are +opened using the cupsRasterOpen +function. For example, to read raster data from the standard input, open +file descriptor 0:

+ +
+#include <cups/raster.h>
+
+cups_raster_t *ras = cupsRasterOpen(0, CUPS_RASTER_READ);
+
+ +

Each page of data begins with a page dictionary structure called +cups_page_header2_t. This +structure contains the colorspace, bits per color, media size, media type, +hardware resolution, and so forth used for the page.

+ +
Note: + +

Do not confuse the colorspace in the page header with the PPD + ColorModel keyword. ColorModel refers to the general type of + color used for a device (Gray, RGB, CMYK, DeviceN) and is often used to + select a particular colorspace for the page header along with the associate + color profile. The page header colorspace (cupsColorSpace) describes + both the type and organization of the color data, for example KCMY (black + first) instead of CMYK and RGBA (RGB + alpha) instead of RGB.

+ +
+ +

You read the page header using the +cupsRasterReadHeader2 +function:

+ +
+#include <cups/raster.h>
+
+cups_raster_t *ras = cupsRasterOpen(0, CUPS_RASTER_READ);
+cups_page_header2_t header;
+
+while (cupsRasterReadHeader2(ras, &header))
+{
+  /* setup this page */
+
+  /* read raster data */
+
+  /* finish this page */
+}
+
+ +

After the page dictionary comes the page data which is a full-resolution, +possibly compressed bitmap representing the page in the printer's output +colorspace. You read uncompressed raster data using the +cupsRasterReadPixels +function. A for loop is normally used to read the page one line +at a time:

+ +
+#include <cups/raster.h>
+
+cups_raster_t *ras = cupsRasterOpen(0, CUPS_RASTER_READ);
+cups_page_header2_t header;
+int page = 0;
+int y;
+char *buffer;
+
+while (cupsRasterReadHeader2(ras, &header))
+{
+  /* setup this page */
+  page ++;
+  fprintf(stderr, "PAGE: %d %d\n", page, header.NumCopies);
+
+  /* allocate memory for 1 line */
+  buffer = malloc(header.cupsBytesPerLine);
+
+  /* read raster data */
+  for (y = 0; y < header.cupsHeight; y ++)
+  {
+    if (cupsRasterReadPixels(ras, buffer, header.cupsBytesPerLine) == 0)
+      break;
+
+    /* write raster data to printer on stdout */
+  }
+
+  /* finish this page */
+}
+
+ +

When you are done reading the raster data, call the +cupsRasterClose function to free +the memory used to read the raster file:

+ +
+cups_raster_t *ras;
+
+cupsRasterClose(ras);
+
+ + +

Functions by Task

+ +

Opening and Closing Raster Streams

+ + + +

Reading Raster Streams

+ + + +

Writing Raster Streams

+ + diff --git a/cups/array-private.h b/cups/array-private.h new file mode 100644 index 0000000..e4d7b8a --- /dev/null +++ b/cups/array-private.h @@ -0,0 +1,40 @@ +/* + * Private array definitions for CUPS. + * + * Copyright 2011-2012 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_ARRAY_PRIVATE_H_ +# define _CUPS_ARRAY_PRIVATE_H_ + +/* + * Include necessary headers... + */ + +# include + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Functions... + */ + +extern int _cupsArrayAddStrings(cups_array_t *a, const char *s, + char delim) _CUPS_PRIVATE; +extern cups_array_t *_cupsArrayNewStrings(const char *s, char delim) + _CUPS_PRIVATE; + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_ARRAY_PRIVATE_H_ */ diff --git a/cups/array.c b/cups/array.c new file mode 100644 index 0000000..860cb46 --- /dev/null +++ b/cups/array.c @@ -0,0 +1,1319 @@ +/* + * Sorted array routines for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include "string-private.h" +#include "debug-internal.h" +#include "array-private.h" + + +/* + * Limits... + */ + +#define _CUPS_MAXSAVE 32 /**** Maximum number of saves ****/ + + +/* + * Types and structures... + */ + +struct _cups_array_s /**** CUPS array structure ****/ +{ + /* + * The current implementation uses an insertion sort into an array of + * sorted pointers. We leave the array type private/opaque so that we + * can change the underlying implementation without affecting the users + * of this API. + */ + + int num_elements, /* Number of array elements */ + alloc_elements, /* Allocated array elements */ + current, /* Current element */ + insert, /* Last inserted element */ + unique, /* Are all elements unique? */ + num_saved, /* Number of saved elements */ + saved[_CUPS_MAXSAVE]; + /* Saved elements */ + void **elements; /* Array elements */ + cups_array_func_t compare; /* Element comparison function */ + void *data; /* User data passed to compare */ + cups_ahash_func_t hashfunc; /* Hash function */ + int hashsize, /* Size of hash */ + *hash; /* Hash array */ + cups_acopy_func_t copyfunc; /* Copy function */ + cups_afree_func_t freefunc; /* Free function */ +}; + + +/* + * Local functions... + */ + +static int cups_array_add(cups_array_t *a, void *e, int insert); +static int cups_array_find(cups_array_t *a, void *e, int prev, int *rdiff); + + +/* + * 'cupsArrayAdd()' - Add an element to the array. + * + * When adding an element to a sorted array, non-unique elements are + * appended at the end of the run of identical elements. For unsorted arrays, + * the element is appended to the end of the array. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsArrayAdd(cups_array_t *a, /* I - Array */ + void *e) /* I - Element */ +{ + DEBUG_printf(("2cupsArrayAdd(a=%p, e=%p)", (void *)a, e)); + + /* + * Range check input... + */ + + if (!a || !e) + { + DEBUG_puts("3cupsArrayAdd: returning 0"); + return (0); + } + + /* + * Append the element... + */ + + return (cups_array_add(a, e, 0)); +} + + +/* + * '_cupsArrayAddStrings()' - Add zero or more delimited strings to an array. + * + * Note: The array MUST be created using the @link _cupsArrayNewStrings@ + * function. Duplicate strings are NOT added. If the string pointer "s" is NULL + * or the empty string, no strings are added to the array. + */ + +int /* O - 1 on success, 0 on failure */ +_cupsArrayAddStrings(cups_array_t *a, /* I - Array */ + const char *s, /* I - Delimited strings or NULL */ + char delim)/* I - Delimiter character */ +{ + char *buffer, /* Copy of string */ + *start, /* Start of string */ + *end; /* End of string */ + int status = 1; /* Status of add */ + + + DEBUG_printf(("_cupsArrayAddStrings(a=%p, s=\"%s\", delim='%c')", (void *)a, s, delim)); + + if (!a || !s || !*s) + { + DEBUG_puts("1_cupsArrayAddStrings: Returning 0"); + return (0); + } + + if (delim == ' ') + { + /* + * Skip leading whitespace... + */ + + DEBUG_puts("1_cupsArrayAddStrings: Skipping leading whitespace."); + + while (*s && isspace(*s & 255)) + s ++; + + DEBUG_printf(("1_cupsArrayAddStrings: Remaining string \"%s\".", s)); + } + + if (!strchr(s, delim) && + (delim != ' ' || (!strchr(s, '\t') && !strchr(s, '\n')))) + { + /* + * String doesn't contain a delimiter, so add it as a single value... + */ + + DEBUG_puts("1_cupsArrayAddStrings: No delimiter seen, adding a single " + "value."); + + if (!cupsArrayFind(a, (void *)s)) + status = cupsArrayAdd(a, (void *)s); + } + else if ((buffer = strdup(s)) == NULL) + { + DEBUG_puts("1_cupsArrayAddStrings: Unable to duplicate string."); + status = 0; + } + else + { + for (start = end = buffer; *end; start = end) + { + /* + * Find the end of the current delimited string and see if we need to add + * it... + */ + + if (delim == ' ') + { + while (*end && !isspace(*end & 255)) + end ++; + while (*end && isspace(*end & 255)) + *end++ = '\0'; + } + else if ((end = strchr(start, delim)) != NULL) + *end++ = '\0'; + else + end = start + strlen(start); + + DEBUG_printf(("1_cupsArrayAddStrings: Adding \"%s\", end=\"%s\"", start, + end)); + + if (!cupsArrayFind(a, start)) + status &= cupsArrayAdd(a, start); + } + + free(buffer); + } + + DEBUG_printf(("1_cupsArrayAddStrings: Returning %d.", status)); + + return (status); +} + + +/* + * 'cupsArrayClear()' - Clear the array. + * + * This function is equivalent to removing all elements in the array. + * The caller is responsible for freeing the memory used by the + * elements themselves. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void +cupsArrayClear(cups_array_t *a) /* I - Array */ +{ + /* + * Range check input... + */ + + if (!a) + return; + + /* + * Free the existing elements as needed.. + */ + + if (a->freefunc) + { + int i; /* Looping var */ + void **e; /* Current element */ + + for (i = a->num_elements, e = a->elements; i > 0; i --, e ++) + (a->freefunc)(*e, a->data); + } + + /* + * Set the number of elements to 0; we don't actually free the memory + * here - that is done in cupsArrayDelete()... + */ + + a->num_elements = 0; + a->current = -1; + a->insert = -1; + a->unique = 1; + a->num_saved = 0; +} + + +/* + * 'cupsArrayCount()' - Get the number of elements in the array. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - Number of elements */ +cupsArrayCount(cups_array_t *a) /* I - Array */ +{ + /* + * Range check input... + */ + + if (!a) + return (0); + + /* + * Return the number of elements... + */ + + return (a->num_elements); +} + + +/* + * 'cupsArrayCurrent()' - Return the current element in the array. + * + * The current element is undefined until you call @link cupsArrayFind@, + * @link cupsArrayFirst@, or @link cupsArrayIndex@, or @link cupsArrayLast@. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void * /* O - Element */ +cupsArrayCurrent(cups_array_t *a) /* I - Array */ +{ + /* + * Range check input... + */ + + if (!a) + return (NULL); + + /* + * Return the current element... + */ + + if (a->current >= 0 && a->current < a->num_elements) + return (a->elements[a->current]); + else + return (NULL); +} + + +/* + * 'cupsArrayDelete()' - Free all memory used by the array. + * + * The caller is responsible for freeing the memory used by the + * elements themselves. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void +cupsArrayDelete(cups_array_t *a) /* I - Array */ +{ + /* + * Range check input... + */ + + if (!a) + return; + + /* + * Free the elements if we have a free function (otherwise the caller is + * responsible for doing the dirty work...) + */ + + if (a->freefunc) + { + int i; /* Looping var */ + void **e; /* Current element */ + + for (i = a->num_elements, e = a->elements; i > 0; i --, e ++) + (a->freefunc)(*e, a->data); + } + + /* + * Free the array of element pointers... + */ + + if (a->alloc_elements) + free(a->elements); + + if (a->hashsize) + free(a->hash); + + free(a); +} + + +/* + * 'cupsArrayDup()' - Duplicate the array. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +cups_array_t * /* O - Duplicate array */ +cupsArrayDup(cups_array_t *a) /* I - Array */ +{ + cups_array_t *da; /* Duplicate array */ + + + /* + * Range check input... + */ + + if (!a) + return (NULL); + + /* + * Allocate memory for the array... + */ + + da = calloc(1, sizeof(cups_array_t)); + if (!da) + return (NULL); + + da->compare = a->compare; + da->data = a->data; + da->current = a->current; + da->insert = a->insert; + da->unique = a->unique; + da->num_saved = a->num_saved; + + memcpy(da->saved, a->saved, sizeof(a->saved)); + + if (a->num_elements) + { + /* + * Allocate memory for the elements... + */ + + da->elements = malloc((size_t)a->num_elements * sizeof(void *)); + if (!da->elements) + { + free(da); + return (NULL); + } + + /* + * Copy the element pointers... + */ + + if (a->copyfunc) + { + /* + * Use the copy function to make a copy of each element... + */ + + int i; /* Looping var */ + + for (i = 0; i < a->num_elements; i ++) + da->elements[i] = (a->copyfunc)(a->elements[i], a->data); + } + else + { + /* + * Just copy raw pointers... + */ + + memcpy(da->elements, a->elements, (size_t)a->num_elements * sizeof(void *)); + } + + da->num_elements = a->num_elements; + da->alloc_elements = a->num_elements; + } + + /* + * Return the new array... + */ + + return (da); +} + + +/* + * 'cupsArrayFind()' - Find an element in the array. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void * /* O - Element found or @code NULL@ */ +cupsArrayFind(cups_array_t *a, /* I - Array */ + void *e) /* I - Element */ +{ + int current, /* Current element */ + diff, /* Difference */ + hash; /* Hash index */ + + + /* + * Range check input... + */ + + if (!a || !e) + return (NULL); + + /* + * See if we have any elements... + */ + + if (!a->num_elements) + return (NULL); + + /* + * Yes, look for a match... + */ + + if (a->hash) + { + hash = (*(a->hashfunc))(e, a->data); + + if (hash < 0 || hash >= a->hashsize) + { + current = a->current; + hash = -1; + } + else + { + current = a->hash[hash]; + + if (current < 0 || current >= a->num_elements) + current = a->current; + } + } + else + { + current = a->current; + hash = -1; + } + + current = cups_array_find(a, e, current, &diff); + if (!diff) + { + /* + * Found a match! If the array does not contain unique values, find + * the first element that is the same... + */ + + if (!a->unique && a->compare) + { + /* + * The array is not unique, find the first match... + */ + + while (current > 0 && !(*(a->compare))(e, a->elements[current - 1], + a->data)) + current --; + } + + a->current = current; + + if (hash >= 0) + a->hash[hash] = current; + + return (a->elements[current]); + } + else + { + /* + * No match... + */ + + a->current = -1; + + return (NULL); + } +} + + +/* + * 'cupsArrayFirst()' - Get the first element in the array. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void * /* O - First element or @code NULL@ if the array is empty */ +cupsArrayFirst(cups_array_t *a) /* I - Array */ +{ + /* + * Range check input... + */ + + if (!a) + return (NULL); + + /* + * Return the first element... + */ + + a->current = 0; + + return (cupsArrayCurrent(a)); +} + + +/* + * 'cupsArrayGetIndex()' - Get the index of the current element. + * + * The current element is undefined until you call @link cupsArrayFind@, + * @link cupsArrayFirst@, or @link cupsArrayIndex@, or @link cupsArrayLast@. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +int /* O - Index of the current element, starting at 0 */ +cupsArrayGetIndex(cups_array_t *a) /* I - Array */ +{ + if (!a) + return (-1); + else + return (a->current); +} + + +/* + * 'cupsArrayGetInsert()' - Get the index of the last inserted element. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +int /* O - Index of the last inserted element, starting at 0 */ +cupsArrayGetInsert(cups_array_t *a) /* I - Array */ +{ + if (!a) + return (-1); + else + return (a->insert); +} + + +/* + * 'cupsArrayIndex()' - Get the N-th element in the array. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void * /* O - N-th element or @code NULL@ */ +cupsArrayIndex(cups_array_t *a, /* I - Array */ + int n) /* I - Index into array, starting at 0 */ +{ + if (!a) + return (NULL); + + a->current = n; + + return (cupsArrayCurrent(a)); +} + + +/* + * 'cupsArrayInsert()' - Insert an element in the array. + * + * When inserting an element in a sorted array, non-unique elements are + * inserted at the beginning of the run of identical elements. For unsorted + * arrays, the element is inserted at the beginning of the array. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 0 on failure, 1 on success */ +cupsArrayInsert(cups_array_t *a, /* I - Array */ + void *e) /* I - Element */ +{ + DEBUG_printf(("2cupsArrayInsert(a=%p, e=%p)", (void *)a, e)); + + /* + * Range check input... + */ + + if (!a || !e) + { + DEBUG_puts("3cupsArrayInsert: returning 0"); + return (0); + } + + /* + * Insert the element... + */ + + return (cups_array_add(a, e, 1)); +} + + +/* + * 'cupsArrayLast()' - Get the last element in the array. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void * /* O - Last element or @code NULL@ if the array is empty */ +cupsArrayLast(cups_array_t *a) /* I - Array */ +{ + /* + * Range check input... + */ + + if (!a) + return (NULL); + + /* + * Return the last element... + */ + + a->current = a->num_elements - 1; + + return (cupsArrayCurrent(a)); +} + + +/* + * 'cupsArrayNew()' - Create a new array. + * + * The comparison function ("f") is used to create a sorted array. The function + * receives pointers to two elements and the user data pointer ("d") - the user + * data pointer argument can safely be omitted when not required so functions + * like @code strcmp@ can be used for sorted string arrays. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +cups_array_t * /* O - Array */ +cupsArrayNew(cups_array_func_t f, /* I - Comparison function or @code NULL@ for an unsorted array */ + void *d) /* I - User data pointer or @code NULL@ */ +{ + return (cupsArrayNew3(f, d, 0, 0, 0, 0)); +} + + +/* + * 'cupsArrayNew2()' - Create a new array with hash. + * + * The comparison function ("f") is used to create a sorted array. The function + * receives pointers to two elements and the user data pointer ("d") - the user + * data pointer argument can safely be omitted when not required so functions + * like @code strcmp@ can be used for sorted string arrays. + * + * The hash function ("h") is used to implement cached lookups with the + * specified hash size ("hsize"). + * + * @since CUPS 1.3/macOS 10.5@ + */ + +cups_array_t * /* O - Array */ +cupsArrayNew2(cups_array_func_t f, /* I - Comparison function or @code NULL@ for an unsorted array */ + void *d, /* I - User data or @code NULL@ */ + cups_ahash_func_t h, /* I - Hash function or @code NULL@ for unhashed lookups */ + int hsize) /* I - Hash size (>= 0) */ +{ + return (cupsArrayNew3(f, d, h, hsize, 0, 0)); +} + + +/* + * 'cupsArrayNew3()' - Create a new array with hash and/or free function. + * + * The comparison function ("f") is used to create a sorted array. The function + * receives pointers to two elements and the user data pointer ("d") - the user + * data pointer argument can safely be omitted when not required so functions + * like @code strcmp@ can be used for sorted string arrays. + * + * The hash function ("h") is used to implement cached lookups with the + * specified hash size ("hsize"). + * + * The copy function ("cf") is used to automatically copy/retain elements when + * added or the array is copied. + * + * The free function ("cf") is used to automatically free/release elements when + * removed or the array is deleted. + * + * @since CUPS 1.5/macOS 10.7@ + */ + +cups_array_t * /* O - Array */ +cupsArrayNew3(cups_array_func_t f, /* I - Comparison function or @code NULL@ for an unsorted array */ + void *d, /* I - User data or @code NULL@ */ + cups_ahash_func_t h, /* I - Hash function or @code NULL@ for unhashed lookups */ + int hsize, /* I - Hash size (>= 0) */ + cups_acopy_func_t cf, /* I - Copy function */ + cups_afree_func_t ff) /* I - Free function */ +{ + cups_array_t *a; /* Array */ + + + /* + * Allocate memory for the array... + */ + + a = calloc(1, sizeof(cups_array_t)); + if (!a) + return (NULL); + + a->compare = f; + a->data = d; + a->current = -1; + a->insert = -1; + a->num_saved = 0; + a->unique = 1; + + if (hsize > 0 && h) + { + a->hashfunc = h; + a->hashsize = hsize; + a->hash = malloc((size_t)hsize * sizeof(int)); + + if (!a->hash) + { + free(a); + return (NULL); + } + + memset(a->hash, -1, (size_t)hsize * sizeof(int)); + } + + a->copyfunc = cf; + a->freefunc = ff; + + return (a); +} + + +/* + * '_cupsArrayNewStrings()' - Create a new array of comma-delimited strings. + * + * Note: The array automatically manages copies of the strings passed. If the + * string pointer "s" is NULL or the empty string, no strings are added to the + * newly created array. + */ + +cups_array_t * /* O - Array */ +_cupsArrayNewStrings(const char *s, /* I - Delimited strings or NULL */ + char delim) /* I - Delimiter character */ +{ + cups_array_t *a; /* Array */ + + + if ((a = cupsArrayNew3((cups_array_func_t)strcmp, NULL, NULL, 0, + (cups_acopy_func_t)_cupsStrAlloc, + (cups_afree_func_t)_cupsStrFree)) != NULL) + _cupsArrayAddStrings(a, s, delim); + + return (a); +} + + +/* + * 'cupsArrayNext()' - Get the next element in the array. + * + * This function is equivalent to "cupsArrayIndex(a, cupsArrayGetIndex(a) + 1)". + * + * The next element is undefined until you call @link cupsArrayFind@, + * @link cupsArrayFirst@, or @link cupsArrayIndex@, or @link cupsArrayLast@ + * to set the current element. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void * /* O - Next element or @code NULL@ */ +cupsArrayNext(cups_array_t *a) /* I - Array */ +{ + /* + * Range check input... + */ + + if (!a) + return (NULL); + + /* + * Return the next element... + */ + + if (a->current < a->num_elements) + a->current ++; + + return (cupsArrayCurrent(a)); +} + + +/* + * 'cupsArrayPrev()' - Get the previous element in the array. + * + * This function is equivalent to "cupsArrayIndex(a, cupsArrayGetIndex(a) - 1)". + * + * The previous element is undefined until you call @link cupsArrayFind@, + * @link cupsArrayFirst@, or @link cupsArrayIndex@, or @link cupsArrayLast@ + * to set the current element. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void * /* O - Previous element or @code NULL@ */ +cupsArrayPrev(cups_array_t *a) /* I - Array */ +{ + /* + * Range check input... + */ + + if (!a) + return (NULL); + + /* + * Return the previous element... + */ + + if (a->current >= 0) + a->current --; + + return (cupsArrayCurrent(a)); +} + + +/* + * 'cupsArrayRemove()' - Remove an element from the array. + * + * If more than one element matches "e", only the first matching element is + * removed. + * + * The caller is responsible for freeing the memory used by the + * removed element. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsArrayRemove(cups_array_t *a, /* I - Array */ + void *e) /* I - Element */ +{ + ssize_t i, /* Looping var */ + current; /* Current element */ + int diff; /* Difference */ + + + /* + * Range check input... + */ + + if (!a || !e) + return (0); + + /* + * See if the element is in the array... + */ + + if (!a->num_elements) + return (0); + + current = cups_array_find(a, e, a->current, &diff); + if (diff) + return (0); + + /* + * Yes, now remove it... + */ + + a->num_elements --; + + if (a->freefunc) + (a->freefunc)(a->elements[current], a->data); + + if (current < a->num_elements) + memmove(a->elements + current, a->elements + current + 1, + (size_t)(a->num_elements - current) * sizeof(void *)); + + if (current <= a->current) + a->current --; + + if (current < a->insert) + a->insert --; + else if (current == a->insert) + a->insert = -1; + + for (i = 0; i < a->num_saved; i ++) + if (current <= a->saved[i]) + a->saved[i] --; + + if (a->num_elements <= 1) + a->unique = 1; + + return (1); +} + + +/* + * 'cupsArrayRestore()' - Reset the current element to the last @link cupsArraySave@. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void * /* O - New current element */ +cupsArrayRestore(cups_array_t *a) /* I - Array */ +{ + if (!a) + return (NULL); + + if (a->num_saved <= 0) + return (NULL); + + a->num_saved --; + a->current = a->saved[a->num_saved]; + + if (a->current >= 0 && a->current < a->num_elements) + return (a->elements[a->current]); + else + return (NULL); +} + + +/* + * 'cupsArraySave()' - Mark the current element for a later @link cupsArrayRestore@. + * + * The current element is undefined until you call @link cupsArrayFind@, + * @link cupsArrayFirst@, or @link cupsArrayIndex@, or @link cupsArrayLast@ + * to set the current element. + * + * The save/restore stack is guaranteed to be at least 32 elements deep. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsArraySave(cups_array_t *a) /* I - Array */ +{ + if (!a) + return (0); + + if (a->num_saved >= _CUPS_MAXSAVE) + return (0); + + a->saved[a->num_saved] = a->current; + a->num_saved ++; + + return (1); +} + + +/* + * 'cupsArrayUserData()' - Return the user data for an array. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void * /* O - User data */ +cupsArrayUserData(cups_array_t *a) /* I - Array */ +{ + if (a) + return (a->data); + else + return (NULL); +} + + +/* + * 'cups_array_add()' - Insert or append an element to the array. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +static int /* O - 1 on success, 0 on failure */ +cups_array_add(cups_array_t *a, /* I - Array */ + void *e, /* I - Element to add */ + int insert) /* I - 1 = insert, 0 = append */ +{ + int i, /* Looping var */ + current; /* Current element */ + int diff; /* Comparison with current element */ + + + DEBUG_printf(("7cups_array_add(a=%p, e=%p, insert=%d)", (void *)a, e, insert)); + + /* + * Verify we have room for the new element... + */ + + if (a->num_elements >= a->alloc_elements) + { + /* + * Allocate additional elements; start with 16 elements, then + * double the size until 1024 elements, then add 1024 elements + * thereafter... + */ + + void **temp; /* New array elements */ + int count; /* New allocation count */ + + + if (a->alloc_elements == 0) + { + count = 16; + temp = malloc((size_t)count * sizeof(void *)); + } + else + { + if (a->alloc_elements < 1024) + count = a->alloc_elements * 2; + else + count = a->alloc_elements + 1024; + + temp = realloc(a->elements, (size_t)count * sizeof(void *)); + } + + DEBUG_printf(("9cups_array_add: count=" CUPS_LLFMT, CUPS_LLCAST count)); + + if (!temp) + { + DEBUG_puts("9cups_array_add: allocation failed, returning 0"); + return (0); + } + + a->alloc_elements = count; + a->elements = temp; + } + + /* + * Find the insertion point for the new element; if there is no + * compare function or elements, just add it to the beginning or end... + */ + + if (!a->num_elements || !a->compare) + { + /* + * No elements or comparison function, insert/append as needed... + */ + + if (insert) + current = 0; /* Insert at beginning */ + else + current = a->num_elements; /* Append to the end */ + } + else + { + /* + * Do a binary search for the insertion point... + */ + + current = cups_array_find(a, e, a->insert, &diff); + + if (diff > 0) + { + /* + * Insert after the current element... + */ + + current ++; + } + else if (!diff) + { + /* + * Compared equal, make sure we add to the begining or end of + * the current run of equal elements... + */ + + a->unique = 0; + + if (insert) + { + /* + * Insert at beginning of run... + */ + + while (current > 0 && !(*(a->compare))(e, a->elements[current - 1], + a->data)) + current --; + } + else + { + /* + * Append at end of run... + */ + + do + { + current ++; + } + while (current < a->num_elements && + !(*(a->compare))(e, a->elements[current], a->data)); + } + } + } + + /* + * Insert or append the element... + */ + + if (current < a->num_elements) + { + /* + * Shift other elements to the right... + */ + + memmove(a->elements + current + 1, a->elements + current, + (size_t)(a->num_elements - current) * sizeof(void *)); + + if (a->current >= current) + a->current ++; + + for (i = 0; i < a->num_saved; i ++) + if (a->saved[i] >= current) + a->saved[i] ++; + + DEBUG_printf(("9cups_array_add: insert element at index " CUPS_LLFMT, CUPS_LLCAST current)); + } +#ifdef DEBUG + else + DEBUG_printf(("9cups_array_add: append element at " CUPS_LLFMT, CUPS_LLCAST current)); +#endif /* DEBUG */ + + if (a->copyfunc) + { + if ((a->elements[current] = (a->copyfunc)(e, a->data)) == NULL) + { + DEBUG_puts("8cups_array_add: Copy function returned NULL, returning 0"); + return (0); + } + } + else + a->elements[current] = e; + + a->num_elements ++; + a->insert = current; + +#ifdef DEBUG + for (current = 0; current < a->num_elements; current ++) + DEBUG_printf(("9cups_array_add: a->elements[" CUPS_LLFMT "]=%p", CUPS_LLCAST current, a->elements[current])); +#endif /* DEBUG */ + + DEBUG_puts("9cups_array_add: returning 1"); + + return (1); +} + + +/* + * 'cups_array_find()' - Find an element in the array. + */ + +static int /* O - Index of match */ +cups_array_find(cups_array_t *a, /* I - Array */ + void *e, /* I - Element */ + int prev, /* I - Previous index */ + int *rdiff) /* O - Difference of match */ +{ + int left, /* Left side of search */ + right, /* Right side of search */ + current, /* Current element */ + diff; /* Comparison with current element */ + + + DEBUG_printf(("7cups_array_find(a=%p, e=%p, prev=%d, rdiff=%p)", (void *)a, e, prev, (void *)rdiff)); + + if (a->compare) + { + /* + * Do a binary search for the element... + */ + + DEBUG_puts("9cups_array_find: binary search"); + + if (prev >= 0 && prev < a->num_elements) + { + /* + * Start search on either side of previous... + */ + + if ((diff = (*(a->compare))(e, a->elements[prev], a->data)) == 0 || + (diff < 0 && prev == 0) || + (diff > 0 && prev == (a->num_elements - 1))) + { + /* + * Exact or edge match, return it! + */ + + DEBUG_printf(("9cups_array_find: Returning %d, diff=%d", prev, diff)); + + *rdiff = diff; + + return (prev); + } + else if (diff < 0) + { + /* + * Start with previous on right side... + */ + + left = 0; + right = prev; + } + else + { + /* + * Start wih previous on left side... + */ + + left = prev; + right = a->num_elements - 1; + } + } + else + { + /* + * Start search in the middle... + */ + + left = 0; + right = a->num_elements - 1; + } + + do + { + current = (left + right) / 2; + diff = (*(a->compare))(e, a->elements[current], a->data); + + DEBUG_printf(("9cups_array_find: left=%d, right=%d, current=%d, diff=%d", + left, right, current, diff)); + + if (diff == 0) + break; + else if (diff < 0) + right = current; + else + left = current; + } + while ((right - left) > 1); + + if (diff != 0) + { + /* + * Check the last 1 or 2 elements... + */ + + if ((diff = (*(a->compare))(e, a->elements[left], a->data)) <= 0) + current = left; + else + { + diff = (*(a->compare))(e, a->elements[right], a->data); + current = right; + } + } + } + else + { + /* + * Do a linear pointer search... + */ + + DEBUG_puts("9cups_array_find: linear search"); + + diff = 1; + + for (current = 0; current < a->num_elements; current ++) + if (a->elements[current] == e) + { + diff = 0; + break; + } + } + + /* + * Return the closest element and the difference... + */ + + DEBUG_printf(("8cups_array_find: Returning %d, diff=%d", current, diff)); + + *rdiff = diff; + + return (current); +} diff --git a/cups/array.h b/cups/array.h new file mode 100644 index 0000000..e5468a3 --- /dev/null +++ b/cups/array.h @@ -0,0 +1,80 @@ +/* + * Sorted array definitions for CUPS. + * + * Copyright 2007-2010 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_ARRAY_H_ +# define _CUPS_ARRAY_H_ + +/* + * Include necessary headers... + */ + +# include "versioning.h" +# include + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Types and structures... + */ + +typedef struct _cups_array_s cups_array_t; + /**** CUPS array type ****/ +typedef int (*cups_array_func_t)(void *first, void *second, void *data); + /**** Array comparison function ****/ +typedef int (*cups_ahash_func_t)(void *element, void *data); + /**** Array hash function ****/ +typedef void *(*cups_acopy_func_t)(void *element, void *data); + /**** Array element copy function ****/ +typedef void (*cups_afree_func_t)(void *element, void *data); + /**** Array element free function ****/ + + +/* + * Functions... + */ + +extern int cupsArrayAdd(cups_array_t *a, void *e) _CUPS_API_1_2; +extern void cupsArrayClear(cups_array_t *a) _CUPS_API_1_2; +extern int cupsArrayCount(cups_array_t *a) _CUPS_API_1_2; +extern void *cupsArrayCurrent(cups_array_t *a) _CUPS_API_1_2; +extern void cupsArrayDelete(cups_array_t *a) _CUPS_API_1_2; +extern cups_array_t *cupsArrayDup(cups_array_t *a) _CUPS_API_1_2; +extern void *cupsArrayFind(cups_array_t *a, void *e) _CUPS_API_1_2; +extern void *cupsArrayFirst(cups_array_t *a) _CUPS_API_1_2; +extern int cupsArrayGetIndex(cups_array_t *a) _CUPS_API_1_3; +extern int cupsArrayGetInsert(cups_array_t *a) _CUPS_API_1_3; +extern void *cupsArrayIndex(cups_array_t *a, int n) _CUPS_API_1_2; +extern int cupsArrayInsert(cups_array_t *a, void *e) _CUPS_API_1_2; +extern void *cupsArrayLast(cups_array_t *a) _CUPS_API_1_2; +extern cups_array_t *cupsArrayNew(cups_array_func_t f, void *d) _CUPS_API_1_2; +extern cups_array_t *cupsArrayNew2(cups_array_func_t f, void *d, + cups_ahash_func_t h, int hsize) _CUPS_API_1_3; +extern cups_array_t *cupsArrayNew3(cups_array_func_t f, void *d, + cups_ahash_func_t h, int hsize, + cups_acopy_func_t cf, + cups_afree_func_t ff) _CUPS_API_1_5; +extern void *cupsArrayNext(cups_array_t *a) _CUPS_API_1_2; +extern void *cupsArrayPrev(cups_array_t *a) _CUPS_API_1_2; +extern int cupsArrayRemove(cups_array_t *a, void *e) _CUPS_API_1_2; +extern void *cupsArrayRestore(cups_array_t *a) _CUPS_API_1_2; +extern int cupsArraySave(cups_array_t *a) _CUPS_API_1_2; +extern void *cupsArrayUserData(cups_array_t *a) _CUPS_API_1_2; + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_ARRAY_H_ */ diff --git a/cups/auth.c b/cups/auth.c new file mode 100644 index 0000000..db45bbb --- /dev/null +++ b/cups/auth.c @@ -0,0 +1,1133 @@ +/* + * Authentication functions for CUPS. + * + * Copyright 2007-2019 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * This file contains Kerberos support code, copyright 2006 by + * Jelmer Vernooij. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include +#include +#if defined(_WIN32) || defined(__EMX__) +# include +#else +# include +#endif /* _WIN32 || __EMX__ */ + +#if HAVE_AUTHORIZATION_H +# include +#endif /* HAVE_AUTHORIZATION_H */ + +#if defined(SO_PEERCRED) && defined(AF_LOCAL) +# include +#endif /* SO_PEERCRED && AF_LOCAL */ + + +/* + * Local functions... + */ + +static const char *cups_auth_find(const char *www_authenticate, const char *scheme); +static const char *cups_auth_param(const char *scheme, const char *name, char *value, size_t valsize); +static const char *cups_auth_scheme(const char *www_authenticate, char *scheme, size_t schemesize); + +#ifdef HAVE_GSSAPI +# define CUPS_GSS_OK 0 /* Successfully set credentials */ +# define CUPS_GSS_NONE -1 /* No credentials */ +# define CUPS_GSS_FAIL -2 /* Failed credentials/authentication */ +# ifdef HAVE_GSS_ACQUIRE_CRED_EX_F +# ifdef HAVE_GSS_GSSAPI_SPI_H +# include +# else +# define GSS_AUTH_IDENTITY_TYPE_1 1 +# define gss_acquire_cred_ex_f __ApplePrivate_gss_acquire_cred_ex_f +typedef struct gss_auth_identity /* @private@ */ +{ + uint32_t type; + uint32_t flags; + char *username; + char *realm; + char *password; + gss_buffer_t *credentialsRef; +} gss_auth_identity_desc; +extern OM_uint32 gss_acquire_cred_ex_f(gss_status_id_t, const gss_name_t, + OM_uint32, OM_uint32, const gss_OID, + gss_cred_usage_t, gss_auth_identity_t, + void *, void (*)(void *, OM_uint32, + gss_status_id_t, + gss_cred_id_t, + gss_OID_set, + OM_uint32)); +# endif /* HAVE_GSS_GSSAPI_SPI_H */ +# include +typedef struct _cups_gss_acquire_s /* Acquire callback data */ +{ + dispatch_semaphore_t sem; /* Synchronization semaphore */ + OM_uint32 major; /* Returned status code */ + gss_cred_id_t creds; /* Returned credentials */ +} _cups_gss_acquire_t; + +static void cups_gss_acquire(void *ctx, OM_uint32 major, + gss_status_id_t status, + gss_cred_id_t creds, gss_OID_set oids, + OM_uint32 time_rec); +# endif /* HAVE_GSS_ACQUIRE_CRED_EX_F */ +static gss_name_t cups_gss_getname(http_t *http, const char *service_name); +# ifdef DEBUG +static void cups_gss_printf(OM_uint32 major_status, OM_uint32 minor_status, + const char *message); +# else +# define cups_gss_printf(major, minor, message) +# endif /* DEBUG */ +#endif /* HAVE_GSSAPI */ +static int cups_local_auth(http_t *http); + + +/* + * 'cupsDoAuthentication()' - Authenticate a request. + * + * This function should be called in response to a @code HTTP_STATUS_UNAUTHORIZED@ + * status, prior to resubmitting your request. + * + * @since CUPS 1.1.20/macOS 10.4@ + */ + +int /* O - 0 on success, -1 on error */ +cupsDoAuthentication( + http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *method, /* I - Request method ("GET", "POST", "PUT") */ + const char *resource) /* I - Resource path */ +{ + const char *password, /* Password string */ + *www_auth, /* WWW-Authenticate header */ + *schemedata; /* Scheme-specific data */ + char scheme[256], /* Scheme name */ + prompt[1024]; /* Prompt for user */ + int localauth; /* Local authentication result */ + _cups_globals_t *cg; /* Global data */ + + + DEBUG_printf(("cupsDoAuthentication(http=%p, method=\"%s\", resource=\"%s\")", (void *)http, method, resource)); + + if (!http) + http = _cupsConnect(); + + if (!http || !method || !resource) + return (-1); + + DEBUG_printf(("2cupsDoAuthentication: digest_tries=%d, userpass=\"%s\"", + http->digest_tries, http->userpass)); + DEBUG_printf(("2cupsDoAuthentication: WWW-Authenticate=\"%s\"", + httpGetField(http, HTTP_FIELD_WWW_AUTHENTICATE))); + + /* + * Clear the current authentication string... + */ + + httpSetAuthString(http, NULL, NULL); + + /* + * See if we can do local authentication... + */ + + if (http->digest_tries < 3) + { + if ((localauth = cups_local_auth(http)) == 0) + { + DEBUG_printf(("2cupsDoAuthentication: authstring=\"%s\"", + http->authstring)); + + if (http->status == HTTP_STATUS_UNAUTHORIZED) + http->digest_tries ++; + + return (0); + } + else if (localauth == -1) + { + http->status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED; + return (-1); /* Error or canceled */ + } + } + + /* + * Nope, loop through the authentication schemes to find the first we support. + */ + + www_auth = httpGetField(http, HTTP_FIELD_WWW_AUTHENTICATE); + + for (schemedata = cups_auth_scheme(www_auth, scheme, sizeof(scheme)); schemedata; schemedata = cups_auth_scheme(schemedata + strlen(scheme), scheme, sizeof(scheme))) + { + /* + * Check the scheme name... + */ + + DEBUG_printf(("2cupsDoAuthentication: Trying scheme \"%s\"...", scheme)); + +#ifdef HAVE_GSSAPI + if (!_cups_strcasecmp(scheme, "Negotiate")) + { + /* + * Kerberos authentication... + */ + + int gss_status; /* Auth status */ + + if ((gss_status = _cupsSetNegotiateAuthString(http, method, resource)) == CUPS_GSS_FAIL) + { + DEBUG_puts("1cupsDoAuthentication: Negotiate failed."); + http->status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED; + return (-1); + } + else if (gss_status == CUPS_GSS_NONE) + { + DEBUG_puts("2cupsDoAuthentication: No credentials for Negotiate."); + continue; + } + else + { + DEBUG_puts("2cupsDoAuthentication: Using Negotiate."); + break; + } + } + else +#endif /* HAVE_GSSAPI */ + if (_cups_strcasecmp(scheme, "Basic") && _cups_strcasecmp(scheme, "Digest")) + { + /* + * Other schemes not yet supported... + */ + + DEBUG_printf(("2cupsDoAuthentication: Scheme \"%s\" not yet supported.", scheme)); + continue; + } + + /* + * See if we should retry the current username:password... + */ + + if ((http->digest_tries > 1 || !http->userpass[0]) && (!_cups_strcasecmp(scheme, "Basic") || (!_cups_strcasecmp(scheme, "Digest")))) + { + /* + * Nope - get a new password from the user... + */ + + char default_username[HTTP_MAX_VALUE]; + /* Default username */ + + cg = _cupsGlobals(); + + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + if (cups_auth_param(schemedata, "username", default_username, sizeof(default_username))) + cupsSetUser(default_username); + + snprintf(prompt, sizeof(prompt), _cupsLangString(cg->lang_default, _("Password for %s on %s? ")), cupsUser(), http->hostname[0] == '/' ? "localhost" : http->hostname); + + http->digest_tries = _cups_strncasecmp(scheme, "Digest", 6) != 0; + http->userpass[0] = '\0'; + + if ((password = cupsGetPassword2(prompt, http, method, resource)) == NULL) + { + DEBUG_puts("1cupsDoAuthentication: User canceled password request."); + http->status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED; + return (-1); + } + + snprintf(http->userpass, sizeof(http->userpass), "%s:%s", cupsUser(), password); + } + else if (http->status == HTTP_STATUS_UNAUTHORIZED) + http->digest_tries ++; + + if (http->status == HTTP_STATUS_UNAUTHORIZED && http->digest_tries >= 3) + { + DEBUG_printf(("1cupsDoAuthentication: Too many authentication tries (%d)", http->digest_tries)); + + http->status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED; + return (-1); + } + + /* + * Got a password; encode it for the server... + */ + + if (!_cups_strcasecmp(scheme, "Basic")) + { + /* + * Basic authentication... + */ + + char encode[256]; /* Base64 buffer */ + + DEBUG_puts("2cupsDoAuthentication: Using Basic."); + httpEncode64_2(encode, sizeof(encode), http->userpass, (int)strlen(http->userpass)); + httpSetAuthString(http, "Basic", encode); + break; + } + else if (!_cups_strcasecmp(scheme, "Digest")) + { + /* + * Digest authentication... + */ + + char nonce[HTTP_MAX_VALUE]; /* nonce="xyz" string */ + + cups_auth_param(schemedata, "algorithm", http->algorithm, sizeof(http->algorithm)); + cups_auth_param(schemedata, "opaque", http->opaque, sizeof(http->opaque)); + cups_auth_param(schemedata, "nonce", nonce, sizeof(nonce)); + cups_auth_param(schemedata, "realm", http->realm, sizeof(http->realm)); + + if (_httpSetDigestAuthString(http, nonce, method, resource)) + { + DEBUG_puts("2cupsDoAuthentication: Using Digest."); + break; + } + } + } + + if (http->authstring) + { + DEBUG_printf(("1cupsDoAuthentication: authstring=\"%s\".", http->authstring)); + + return (0); + } + else + { + DEBUG_puts("1cupsDoAuthentication: No supported schemes."); + http->status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED; + + return (-1); + } +} + + +#ifdef HAVE_GSSAPI +/* + * '_cupsSetNegotiateAuthString()' - Set the Kerberos authentication string. + */ + +int /* O - 0 on success, negative on error */ +_cupsSetNegotiateAuthString( + http_t *http, /* I - Connection to server */ + const char *method, /* I - Request method ("GET", "POST", "PUT") */ + const char *resource) /* I - Resource path */ +{ + OM_uint32 minor_status, /* Minor status code */ + major_status; /* Major status code */ + gss_buffer_desc output_token = GSS_C_EMPTY_BUFFER; + /* Output token */ + + + (void)method; + (void)resource; + +# ifdef __APPLE__ + /* + * If the weak-linked GSSAPI/Kerberos library is not present, don't try + * to use it... + */ + + if (&gss_init_sec_context == NULL) + { + DEBUG_puts("1_cupsSetNegotiateAuthString: Weak-linked GSSAPI/Kerberos " + "framework is not present"); + return (CUPS_GSS_NONE); + } +# endif /* __APPLE__ */ + + if (!strcmp(http->hostname, "localhost") || http->hostname[0] == '/' || isdigit(http->hostname[0] & 255) || !strchr(http->hostname, '.')) + { + DEBUG_printf(("1_cupsSetNegotiateAuthString: Kerberos not available for host \"%s\".", http->hostname)); + return (CUPS_GSS_NONE); + } + + if (http->gssname == GSS_C_NO_NAME) + { + http->gssname = cups_gss_getname(http, _cupsGSSServiceName()); + } + + if (http->gssctx != GSS_C_NO_CONTEXT) + { + gss_delete_sec_context(&minor_status, &http->gssctx, GSS_C_NO_BUFFER); + http->gssctx = GSS_C_NO_CONTEXT; + } + + major_status = gss_init_sec_context(&minor_status, GSS_C_NO_CREDENTIAL, + &http->gssctx, + http->gssname, http->gssmech, + GSS_C_MUTUAL_FLAG | GSS_C_INTEG_FLAG, + GSS_C_INDEFINITE, + GSS_C_NO_CHANNEL_BINDINGS, + GSS_C_NO_BUFFER, &http->gssmech, + &output_token, NULL, NULL); + +# ifdef HAVE_GSS_ACQUIRE_CRED_EX_F + if (major_status == GSS_S_NO_CRED) + { + /* + * Ask the user for credentials... + */ + + char prompt[1024], /* Prompt for user */ + userbuf[256]; /* Kerberos username */ + const char *username, /* Username string */ + *password; /* Password string */ + _cups_gss_acquire_t data; /* Callback data */ + gss_auth_identity_desc identity; /* Kerberos user identity */ + _cups_globals_t *cg = _cupsGlobals(); + /* Per-thread global data */ + + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + snprintf(prompt, sizeof(prompt), + _cupsLangString(cg->lang_default, _("Password for %s on %s? ")), + cupsUser(), http->gsshost); + + if ((password = cupsGetPassword2(prompt, http, method, resource)) == NULL) + return (CUPS_GSS_FAIL); + + /* + * Try to acquire credentials... + */ + + username = cupsUser(); + if (!strchr(username, '@')) + { + snprintf(userbuf, sizeof(userbuf), "%s@%s", username, http->gsshost); + username = userbuf; + } + + identity.type = GSS_AUTH_IDENTITY_TYPE_1; + identity.flags = 0; + identity.username = (char *)username; + identity.realm = (char *)""; + identity.password = (char *)password; + identity.credentialsRef = NULL; + + data.sem = dispatch_semaphore_create(0); + data.major = 0; + data.creds = NULL; + + if (data.sem) + { + major_status = gss_acquire_cred_ex_f(NULL, GSS_C_NO_NAME, 0, GSS_C_INDEFINITE, GSS_KRB5_MECHANISM, GSS_C_INITIATE, (gss_auth_identity_t)&identity, &data, cups_gss_acquire); + + if (major_status == GSS_S_COMPLETE) + { + dispatch_semaphore_wait(data.sem, DISPATCH_TIME_FOREVER); + major_status = data.major; + } + + dispatch_release(data.sem); + + if (major_status == GSS_S_COMPLETE) + { + OM_uint32 release_minor; /* Minor status from releasing creds */ + + major_status = gss_init_sec_context(&minor_status, data.creds, + &http->gssctx, + http->gssname, http->gssmech, + GSS_C_MUTUAL_FLAG | GSS_C_INTEG_FLAG, + GSS_C_INDEFINITE, + GSS_C_NO_CHANNEL_BINDINGS, + GSS_C_NO_BUFFER, &http->gssmech, + &output_token, NULL, NULL); + gss_release_cred(&release_minor, &data.creds); + } + } + } +# endif /* HAVE_GSS_ACQUIRED_CRED_EX_F */ + + if (major_status == GSS_S_NO_CRED) + { + cups_gss_printf(major_status, minor_status, "_cupsSetNegotiateAuthString: No credentials"); + return (CUPS_GSS_NONE); + } + else if (GSS_ERROR(major_status)) + { + cups_gss_printf(major_status, minor_status, "_cupsSetNegotiateAuthString: Unable to initialize security context"); + return (CUPS_GSS_FAIL); + } + +# ifdef DEBUG + else if (major_status == GSS_S_CONTINUE_NEEDED) + cups_gss_printf(major_status, minor_status, "_cupsSetNegotiateAuthString: Continuation needed"); +# endif /* DEBUG */ + + if (output_token.length > 0 && output_token.length <= 65536) + { + /* + * Allocate the authorization string since Windows KDCs can have + * arbitrarily large credentials... + */ + + int authsize = 10 + /* "Negotiate " */ + (((int)output_token.length * 4 / 3 + 3) & ~3) + 1; + /* Base64 + nul */ + + httpSetAuthString(http, NULL, NULL); + + if ((http->authstring = malloc((size_t)authsize)) == NULL) + { + http->authstring = http->_authstring; + authsize = sizeof(http->_authstring); + } + + strlcpy(http->authstring, "Negotiate ", (size_t)authsize); + httpEncode64_2(http->authstring + 10, authsize - 10, output_token.value, + (int)output_token.length); + + gss_release_buffer(&minor_status, &output_token); + } + else + { + DEBUG_printf(("1_cupsSetNegotiateAuthString: Kerberos credentials too " + "large - %d bytes!", (int)output_token.length)); + gss_release_buffer(&minor_status, &output_token); + + return (CUPS_GSS_FAIL); + } + + return (CUPS_GSS_OK); +} +#endif /* HAVE_GSSAPI */ + + +/* + * 'cups_auth_find()' - Find the named WWW-Authenticate scheme. + * + * The "www_authenticate" parameter points to the current position in the header. + * + * Returns @code NULL@ if the auth scheme is not present. + */ + +static const char * /* O - Start of matching scheme or @code NULL@ if not found */ +cups_auth_find(const char *www_authenticate, /* I - Pointer into WWW-Authenticate header */ + const char *scheme) /* I - Authentication scheme */ +{ + size_t schemelen = strlen(scheme); /* Length of scheme */ + + + DEBUG_printf(("8cups_auth_find(www_authenticate=\"%s\", scheme=\"%s\"(%d))", www_authenticate, scheme, (int)schemelen)); + + while (*www_authenticate) + { + /* + * Skip leading whitespace and commas... + */ + + DEBUG_printf(("9cups_auth_find: Before whitespace: \"%s\"", www_authenticate)); + while (isspace(*www_authenticate & 255) || *www_authenticate == ',') + www_authenticate ++; + DEBUG_printf(("9cups_auth_find: After whitespace: \"%s\"", www_authenticate)); + + /* + * See if this is "Scheme" followed by whitespace or the end of the string. + */ + + if (!strncmp(www_authenticate, scheme, schemelen) && (isspace(www_authenticate[schemelen] & 255) || www_authenticate[schemelen] == ',' || !www_authenticate[schemelen])) + { + /* + * Yes, this is the start of the scheme-specific information... + */ + + DEBUG_printf(("9cups_auth_find: Returning \"%s\".", www_authenticate)); + + return (www_authenticate); + } + + /* + * Skip the scheme name or param="value" string... + */ + + while (!isspace(*www_authenticate & 255) && *www_authenticate) + { + if (*www_authenticate == '\"') + { + /* + * Skip quoted value... + */ + + www_authenticate ++; + while (*www_authenticate && *www_authenticate != '\"') + www_authenticate ++; + + DEBUG_printf(("9cups_auth_find: After quoted: \"%s\"", www_authenticate)); + } + + www_authenticate ++; + } + + DEBUG_printf(("9cups_auth_find: After skip: \"%s\"", www_authenticate)); + } + + DEBUG_puts("9cups_auth_find: Returning NULL."); + + return (NULL); +} + + +/* + * 'cups_auth_param()' - Copy the value for the named authentication parameter, + * if present. + */ + +static const char * /* O - Parameter value or @code NULL@ if not present */ +cups_auth_param(const char *scheme, /* I - Pointer to auth data */ + const char *name, /* I - Name of parameter */ + char *value, /* I - Value buffer */ + size_t valsize) /* I - Size of value buffer */ +{ + char *valptr = value, /* Pointer into value buffer */ + *valend = value + valsize - 1; /* Pointer to end of buffer */ + size_t namelen = strlen(name); /* Name length */ + int param; /* Is this a parameter? */ + + + DEBUG_printf(("8cups_auth_param(scheme=\"%s\", name=\"%s\", value=%p, valsize=%d)", scheme, name, (void *)value, (int)valsize)); + + while (!isspace(*scheme & 255) && *scheme) + scheme ++; + + while (*scheme) + { + while (isspace(*scheme & 255) || *scheme == ',') + scheme ++; + + if (!strncmp(scheme, name, namelen) && scheme[namelen] == '=') + { + /* + * Found the parameter, copy the value... + */ + + scheme += namelen + 1; + if (*scheme == '\"') + { + scheme ++; + + while (*scheme && *scheme != '\"') + { + if (valptr < valend) + *valptr++ = *scheme; + + scheme ++; + } + } + else + { + while (*scheme && strchr("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~+/=", *scheme)) + { + if (valptr < valend) + *valptr++ = *scheme; + + scheme ++; + } + } + + *valptr = '\0'; + + DEBUG_printf(("9cups_auth_param: Returning \"%s\".", value)); + + return (value); + } + + /* + * Skip the param=value string... + */ + + param = 0; + + while (!isspace(*scheme & 255) && *scheme) + { + if (*scheme == '=') + param = 1; + else if (*scheme == '\"') + { + /* + * Skip quoted value... + */ + + scheme ++; + while (*scheme && *scheme != '\"') + scheme ++; + } + + scheme ++; + } + + /* + * If this wasn't a parameter, we are at the end of this scheme's + * parameters... + */ + + if (!param) + break; + } + + *value = '\0'; + + DEBUG_puts("9cups_auth_param: Returning NULL."); + + return (NULL); +} + + +/* + * 'cups_auth_scheme()' - Get the (next) WWW-Authenticate scheme. + * + * The "www_authenticate" parameter points to the current position in the header. + * + * Returns @code NULL@ if there are no (more) auth schemes present. + */ + +static const char * /* O - Start of scheme or @code NULL@ if not found */ +cups_auth_scheme(const char *www_authenticate, /* I - Pointer into WWW-Authenticate header */ + char *scheme, /* I - Scheme name buffer */ + size_t schemesize) /* I - Size of buffer */ +{ + const char *start; /* Start of scheme data */ + char *sptr = scheme, /* Pointer into scheme buffer */ + *send = scheme + schemesize - 1;/* End of scheme buffer */ + int param; /* Is this a parameter? */ + + + DEBUG_printf(("8cups_auth_scheme(www_authenticate=\"%s\", scheme=%p, schemesize=%d)", www_authenticate, (void *)scheme, (int)schemesize)); + + while (*www_authenticate) + { + /* + * Skip leading whitespace and commas... + */ + + while (isspace(*www_authenticate & 255) || *www_authenticate == ',') + www_authenticate ++; + + /* + * Parse the scheme name or param="value" string... + */ + + for (sptr = scheme, start = www_authenticate, param = 0; *www_authenticate && *www_authenticate != ',' && !isspace(*www_authenticate & 255); www_authenticate ++) + { + if (*www_authenticate == '=') + param = 1; + else if (!param && sptr < send) + *sptr++ = *www_authenticate; + else if (*www_authenticate == '\"') + { + /* + * Skip quoted value... + */ + + www_authenticate ++; + while (*www_authenticate && *www_authenticate != '\"') + www_authenticate ++; + } + } + + if (sptr > scheme && !param) + { + *sptr = '\0'; + + DEBUG_printf(("9cups_auth_scheme: Returning \"%s\".", start)); + + return (start); + } + } + + *scheme = '\0'; + + DEBUG_puts("9cups_auth_scheme: Returning NULL."); + + return (NULL); +} + + +#ifdef HAVE_GSSAPI +# ifdef HAVE_GSS_ACQUIRE_CRED_EX_F +/* + * 'cups_gss_acquire()' - Kerberos credentials callback. + */ +static void +cups_gss_acquire( + void *ctx, /* I - Caller context */ + OM_uint32 major, /* I - Major error code */ + gss_status_id_t status, /* I - Status (unused) */ + gss_cred_id_t creds, /* I - Credentials (if any) */ + gss_OID_set oids, /* I - Mechanism OIDs (unused) */ + OM_uint32 time_rec) /* I - Timestamp (unused) */ +{ + uint32_t min; /* Minor error code */ + _cups_gss_acquire_t *data; /* Callback data */ + + + (void)status; + (void)time_rec; + + data = (_cups_gss_acquire_t *)ctx; + data->major = major; + data->creds = creds; + + gss_release_oid_set(&min, &oids); + dispatch_semaphore_signal(data->sem); +} +# endif /* HAVE_GSS_ACQUIRE_CRED_EX_F */ + + +/* + * 'cups_gss_getname()' - Get CUPS service credentials for authentication. + */ + +static gss_name_t /* O - Server name */ +cups_gss_getname( + http_t *http, /* I - Connection to server */ + const char *service_name) /* I - Service name */ +{ + gss_buffer_desc token = GSS_C_EMPTY_BUFFER; + /* Service token */ + OM_uint32 major_status, /* Major status code */ + minor_status; /* Minor status code */ + gss_name_t server_name; /* Server name */ + char buf[1024]; /* Name buffer */ + + + DEBUG_printf(("7cups_gss_getname(http=%p, service_name=\"%s\")", http, + service_name)); + + + /* + * Get the hostname... + */ + + if (!http->gsshost[0]) + { + httpGetHostname(http, http->gsshost, sizeof(http->gsshost)); + + if (!strcmp(http->gsshost, "localhost")) + { + if (gethostname(http->gsshost, sizeof(http->gsshost)) < 0) + { + DEBUG_printf(("1cups_gss_getname: gethostname() failed: %s", + strerror(errno))); + http->gsshost[0] = '\0'; + return (NULL); + } + + if (!strchr(http->gsshost, '.')) + { + /* + * The hostname is not a FQDN, so look it up... + */ + + struct hostent *host; /* Host entry to get FQDN */ + + if ((host = gethostbyname(http->gsshost)) != NULL && host->h_name) + { + /* + * Use the resolved hostname... + */ + + strlcpy(http->gsshost, host->h_name, sizeof(http->gsshost)); + } + else + { + DEBUG_printf(("1cups_gss_getname: gethostbyname(\"%s\") failed.", + http->gsshost)); + http->gsshost[0] = '\0'; + return (NULL); + } + } + } + } + + /* + * Get a service name we can use for authentication purposes... + */ + + snprintf(buf, sizeof(buf), "%s@%s", service_name, http->gsshost); + + DEBUG_printf(("8cups_gss_getname: Looking up \"%s\".", buf)); + + token.value = buf; + token.length = strlen(buf); + server_name = GSS_C_NO_NAME; + major_status = gss_import_name(&minor_status, &token, + GSS_C_NT_HOSTBASED_SERVICE, + &server_name); + + if (GSS_ERROR(major_status)) + { + cups_gss_printf(major_status, minor_status, + "cups_gss_getname: gss_import_name() failed"); + return (NULL); + } + + return (server_name); +} + + +# ifdef DEBUG +/* + * 'cups_gss_printf()' - Show debug error messages from GSSAPI. + */ + +static void +cups_gss_printf(OM_uint32 major_status,/* I - Major status code */ + OM_uint32 minor_status,/* I - Minor status code */ + const char *message) /* I - Prefix for error message */ +{ + OM_uint32 err_major_status, /* Major status code for display */ + err_minor_status; /* Minor status code for display */ + OM_uint32 msg_ctx; /* Message context */ + gss_buffer_desc major_status_string = GSS_C_EMPTY_BUFFER, + /* Major status message */ + minor_status_string = GSS_C_EMPTY_BUFFER; + /* Minor status message */ + + + msg_ctx = 0; + err_major_status = gss_display_status(&err_minor_status, + major_status, + GSS_C_GSS_CODE, + GSS_C_NO_OID, + &msg_ctx, + &major_status_string); + + if (!GSS_ERROR(err_major_status)) + gss_display_status(&err_minor_status, minor_status, GSS_C_MECH_CODE, + GSS_C_NULL_OID, &msg_ctx, &minor_status_string); + + DEBUG_printf(("1%s: %s, %s", message, (char *)major_status_string.value, + (char *)minor_status_string.value)); + + gss_release_buffer(&err_minor_status, &major_status_string); + gss_release_buffer(&err_minor_status, &minor_status_string); +} +# endif /* DEBUG */ +#endif /* HAVE_GSSAPI */ + + +/* + * 'cups_local_auth()' - Get the local authorization certificate if + * available/applicable. + */ + +static int /* O - 0 if available */ + /* 1 if not available */ + /* -1 error */ +cups_local_auth(http_t *http) /* I - HTTP connection to server */ +{ +#if defined(_WIN32) || defined(__EMX__) + /* + * Currently _WIN32 and OS-2 do not support the CUPS server... + */ + + return (1); +#else + int pid; /* Current process ID */ + FILE *fp; /* Certificate file */ + char trc[16], /* Try Root Certificate parameter */ + filename[1024]; /* Certificate filename */ + const char *www_auth, /* WWW-Authenticate header */ + *schemedata; /* Data for the named auth scheme */ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ +# if defined(HAVE_AUTHORIZATION_H) + OSStatus status; /* Status */ + AuthorizationItem auth_right; /* Authorization right */ + AuthorizationRights auth_rights; /* Authorization rights */ + AuthorizationFlags auth_flags; /* Authorization flags */ + AuthorizationExternalForm auth_extrn; /* Authorization ref external */ + char auth_key[1024]; /* Buffer */ + char buffer[1024]; /* Buffer */ +# endif /* HAVE_AUTHORIZATION_H */ + + + DEBUG_printf(("7cups_local_auth(http=%p) hostaddr=%s, hostname=\"%s\"", (void *)http, httpAddrString(http->hostaddr, filename, sizeof(filename)), http->hostname)); + + /* + * See if we are accessing localhost... + */ + + if (!httpAddrLocalhost(http->hostaddr) && _cups_strcasecmp(http->hostname, "localhost") != 0) + { + DEBUG_puts("8cups_local_auth: Not a local connection!"); + return (1); + } + + www_auth = httpGetField(http, HTTP_FIELD_WWW_AUTHENTICATE); + +# if defined(HAVE_AUTHORIZATION_H) + /* + * Delete any previous authorization reference... + */ + + if (http->auth_ref) + { + AuthorizationFree(http->auth_ref, kAuthorizationFlagDefaults); + http->auth_ref = NULL; + } + + if (!getenv("GATEWAY_INTERFACE") && (schemedata = cups_auth_find(www_auth, "AuthRef")) != NULL && cups_auth_param(schemedata, "key", auth_key, sizeof(auth_key))) + { + status = AuthorizationCreate(NULL, kAuthorizationEmptyEnvironment, kAuthorizationFlagDefaults, &http->auth_ref); + if (status != errAuthorizationSuccess) + { + DEBUG_printf(("8cups_local_auth: AuthorizationCreate() returned %d", + (int)status)); + return (-1); + } + + auth_right.name = auth_key; + auth_right.valueLength = 0; + auth_right.value = NULL; + auth_right.flags = 0; + + auth_rights.count = 1; + auth_rights.items = &auth_right; + + auth_flags = kAuthorizationFlagDefaults | + kAuthorizationFlagPreAuthorize | + kAuthorizationFlagInteractionAllowed | + kAuthorizationFlagExtendRights; + + status = AuthorizationCopyRights(http->auth_ref, &auth_rights, + kAuthorizationEmptyEnvironment, + auth_flags, NULL); + if (status == errAuthorizationSuccess) + status = AuthorizationMakeExternalForm(http->auth_ref, &auth_extrn); + + if (status == errAuthorizationSuccess) + { + /* + * Set the authorization string and return... + */ + + httpEncode64_2(buffer, sizeof(buffer), (void *)&auth_extrn, + sizeof(auth_extrn)); + + httpSetAuthString(http, "AuthRef", buffer); + + DEBUG_printf(("8cups_local_auth: Returning authstring=\"%s\"", + http->authstring)); + return (0); + } + else if (status == errAuthorizationCanceled) + return (-1); + + DEBUG_printf(("9cups_local_auth: AuthorizationCopyRights() returned %d", (int)status)); + + /* + * Fall through to try certificates... + */ + } +# endif /* HAVE_AUTHORIZATION_H */ + +# ifdef HAVE_GSSAPI + if (cups_auth_find(www_auth, "Negotiate")) + return (1); +# endif /* HAVE_GSSAPI */ + +# if defined(SO_PEERCRED) && defined(AF_LOCAL) + /* + * See if we can authenticate using the peer credentials provided over a + * domain socket; if so, specify "PeerCred username" as the authentication + * information... + */ + + if (http->hostaddr->addr.sa_family == AF_LOCAL && + !getenv("GATEWAY_INTERFACE") && /* Not via CGI programs... */ + cups_auth_find(www_auth, "PeerCred")) + { + /* + * Verify that the current cupsUser() matches the current UID... + */ + + struct passwd *pwd; /* Password information */ + const char *username; /* Current username */ + + username = cupsUser(); + + if ((pwd = getpwnam(username)) != NULL && pwd->pw_uid == getuid()) + { + httpSetAuthString(http, "PeerCred", username); + + DEBUG_printf(("8cups_local_auth: Returning authstring=\"%s\"", + http->authstring)); + + return (0); + } + } +# endif /* SO_PEERCRED && AF_LOCAL */ + + if ((schemedata = cups_auth_find(www_auth, "Local")) == NULL) + return (1); + + /* + * Try opening a certificate file for this PID. If that fails, + * try the root certificate... + */ + + pid = getpid(); + snprintf(filename, sizeof(filename), "%s/certs/%d", cg->cups_statedir, pid); + if ((fp = fopen(filename, "r")) == NULL && pid > 0) + { + /* + * No certificate for this PID; see if we can get the root certificate... + */ + + DEBUG_printf(("9cups_local_auth: Unable to open file \"%s\": %s", filename, strerror(errno))); + + if (!cups_auth_param(schemedata, "trc", trc, sizeof(trc))) + { + /* + * Scheduler doesn't want us to use the root certificate... + */ + + return (1); + } + + snprintf(filename, sizeof(filename), "%s/certs/0", cg->cups_statedir); + if ((fp = fopen(filename, "r")) == NULL) + DEBUG_printf(("9cups_local_auth: Unable to open file \"%s\": %s", filename, strerror(errno))); + } + + if (fp) + { + /* + * Read the certificate from the file... + */ + + char certificate[33], /* Certificate string */ + *certptr; /* Pointer to certificate string */ + + certptr = fgets(certificate, sizeof(certificate), fp); + fclose(fp); + + if (certptr) + { + /* + * Set the authorization string and return... + */ + + httpSetAuthString(http, "Local", certificate); + + DEBUG_printf(("8cups_local_auth: Returning authstring=\"%s\"", + http->authstring)); + + return (0); + } + } + + return (1); +#endif /* _WIN32 || __EMX__ */ +} diff --git a/cups/backchannel.c b/cups/backchannel.c new file mode 100644 index 0000000..916c314 --- /dev/null +++ b/cups/backchannel.c @@ -0,0 +1,181 @@ +/* + * Backchannel functions for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups.h" +#include "sidechannel.h" +#include +#ifdef _WIN32 +# include +# include +#else +# include +#endif /* _WIN32 */ + + +/* + * Local functions... + */ + +static void cups_setup(fd_set *set, struct timeval *tval, + double timeout); + + +/* + * 'cupsBackChannelRead()' - Read data from the backchannel. + * + * Reads up to "bytes" bytes from the backchannel/backend. The "timeout" + * parameter controls how many seconds to wait for the data - use 0.0 to + * return immediately if there is no data, -1.0 to wait for data indefinitely. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ssize_t /* O - Bytes read or -1 on error */ +cupsBackChannelRead(char *buffer, /* I - Buffer to read into */ + size_t bytes, /* I - Bytes to read */ + double timeout) /* I - Timeout in seconds, typically 0.0 to poll */ +{ + fd_set input; /* Input set */ + struct timeval tval; /* Timeout value */ + int status; /* Select status */ + + + /* + * Wait for input ready. + */ + + do + { + cups_setup(&input, &tval, timeout); + + if (timeout < 0.0) + status = select(4, &input, NULL, NULL, NULL); + else + status = select(4, &input, NULL, NULL, &tval); + } + while (status < 0 && errno != EINTR && errno != EAGAIN); + + if (status < 0) + return (-1); /* Timeout! */ + + /* + * Read bytes from the pipe... + */ + +#ifdef _WIN32 + return ((ssize_t)_read(3, buffer, (unsigned)bytes)); +#else + return (read(3, buffer, bytes)); +#endif /* _WIN32 */ +} + + +/* + * 'cupsBackChannelWrite()' - Write data to the backchannel. + * + * Writes "bytes" bytes to the backchannel/filter. The "timeout" parameter + * controls how many seconds to wait for the data to be written - use + * 0.0 to return immediately if the data cannot be written, -1.0 to wait + * indefinitely. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ssize_t /* O - Bytes written or -1 on error */ +cupsBackChannelWrite( + const char *buffer, /* I - Buffer to write */ + size_t bytes, /* I - Bytes to write */ + double timeout) /* I - Timeout in seconds, typically 1.0 */ +{ + fd_set output; /* Output set */ + struct timeval tval; /* Timeout value */ + int status; /* Select status */ + ssize_t count; /* Current bytes */ + size_t total; /* Total bytes */ + + + /* + * Write all bytes... + */ + + total = 0; + + while (total < bytes) + { + /* + * Wait for write-ready... + */ + + do + { + cups_setup(&output, &tval, timeout); + + if (timeout < 0.0) + status = select(4, NULL, &output, NULL, NULL); + else + status = select(4, NULL, &output, NULL, &tval); + } + while (status < 0 && errno != EINTR && errno != EAGAIN); + + if (status <= 0) + return (-1); /* Timeout! */ + + /* + * Write bytes to the pipe... + */ + +#ifdef _WIN32 + count = (ssize_t)_write(3, buffer, (unsigned)(bytes - total)); +#else + count = write(3, buffer, bytes - total); +#endif /* _WIN32 */ + + if (count < 0) + { + /* + * Write error - abort on fatal errors... + */ + + if (errno != EINTR && errno != EAGAIN) + return (-1); + } + else + { + /* + * Write succeeded, update buffer pointer and total count... + */ + + buffer += count; + total += (size_t)count; + } + } + + return ((ssize_t)bytes); +} + + +/* + * 'cups_setup()' - Setup select() + */ + +static void +cups_setup(fd_set *set, /* I - Set for select() */ + struct timeval *tval, /* I - Timer value */ + double timeout) /* I - Timeout in seconds */ +{ + tval->tv_sec = (int)timeout; + tval->tv_usec = (int)(1000000.0 * (timeout - tval->tv_sec)); + + FD_ZERO(set); + FD_SET(3, set); +} diff --git a/cups/backend.c b/cups/backend.c new file mode 100644 index 0000000..4f5099b --- /dev/null +++ b/cups/backend.c @@ -0,0 +1,136 @@ +/* + * Backend functions for CUPS. + * + * Copyright 2007-2015 by Apple Inc. + * Copyright 2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "backend.h" +#include "ppd.h" + + +/* + * Local functions... + */ + +static void quote_string(const char *s); + + +/* + * 'cupsBackendDeviceURI()' - Get the device URI for a backend. + * + * The "argv" argument is the argv argument passed to main(). This + * function returns the device URI passed in the DEVICE_URI environment + * variable or the device URI passed in argv[0], whichever is found + * first. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +const char * /* O - Device URI or @code NULL@ */ +cupsBackendDeviceURI(char **argv) /* I - Command-line arguments */ +{ + const char *device_uri, /* Device URI */ + *auth_info_required; /* AUTH_INFO_REQUIRED env var */ + _cups_globals_t *cg = _cupsGlobals(); /* Global info */ + int options; /* Resolve options */ + ppd_file_t *ppd; /* PPD file */ + ppd_attr_t *ppdattr; /* PPD attribute */ + + + if ((device_uri = getenv("DEVICE_URI")) == NULL) + { + if (!argv || !argv[0] || !strchr(argv[0], ':')) + return (NULL); + + device_uri = argv[0]; + } + + options = _HTTP_RESOLVE_STDERR; + if ((auth_info_required = getenv("AUTH_INFO_REQUIRED")) != NULL && + !strcmp(auth_info_required, "negotiate")) + options |= _HTTP_RESOLVE_FQDN; + + if ((ppd = ppdOpenFile(getenv("PPD"))) != NULL) + { + if ((ppdattr = ppdFindAttr(ppd, "cupsIPPFaxOut", NULL)) != NULL && + !_cups_strcasecmp(ppdattr->value, "true")) + options |= _HTTP_RESOLVE_FAXOUT; + + ppdClose(ppd); + } + + return (_httpResolveURI(device_uri, cg->resolved_uri, + sizeof(cg->resolved_uri), options, NULL, NULL)); +} + + +/* + * 'cupsBackendReport()' - Write a device line from a backend. + * + * This function writes a single device line to stdout for a backend. + * It handles quoting of special characters in the device-make-and-model, + * device-info, device-id, and device-location strings. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +void +cupsBackendReport( + const char *device_scheme, /* I - device-scheme string */ + const char *device_uri, /* I - device-uri string */ + const char *device_make_and_model, /* I - device-make-and-model string or @code NULL@ */ + const char *device_info, /* I - device-info string or @code NULL@ */ + const char *device_id, /* I - device-id string or @code NULL@ */ + const char *device_location) /* I - device-location string or @code NULL@ */ +{ + if (!device_scheme || !device_uri) + return; + + printf("%s %s", device_scheme, device_uri); + if (device_make_and_model && *device_make_and_model) + quote_string(device_make_and_model); + else + quote_string("unknown"); + quote_string(device_info); + quote_string(device_id); + quote_string(device_location); + putchar('\n'); + fflush(stdout); +} + + +/* + * 'quote_string()' - Write a quoted string to stdout, escaping \ and ". + */ + +static void +quote_string(const char *s) /* I - String to write */ +{ + fputs(" \"", stdout); + + if (s) + { + while (*s) + { + if (*s == '\\' || *s == '\"') + putchar('\\'); + + if (((*s & 255) < ' ' && *s != '\t') || *s == 0x7f) + putchar(' '); + else + putchar(*s); + + s ++; + } + } + + putchar('\"'); +} diff --git a/cups/backend.h b/cups/backend.h new file mode 100644 index 0000000..a8c5ec1 --- /dev/null +++ b/cups/backend.h @@ -0,0 +1,66 @@ +/* + * Backend definitions for CUPS. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_BACKEND_H_ +# define _CUPS_BACKEND_H_ + + +/* + * Include necessary headers... + */ + +# include "versioning.h" + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + +/* + * Constants... + */ + +enum cups_backend_e /**** Backend exit codes ****/ +{ + CUPS_BACKEND_OK = 0, /* Job completed successfully */ + CUPS_BACKEND_FAILED = 1, /* Job failed, use error-policy */ + CUPS_BACKEND_AUTH_REQUIRED = 2, /* Job failed, authentication required */ + CUPS_BACKEND_HOLD = 3, /* Job failed, hold job */ + CUPS_BACKEND_STOP = 4, /* Job failed, stop queue */ + CUPS_BACKEND_CANCEL = 5, /* Job failed, cancel job */ + CUPS_BACKEND_RETRY = 6, /* Job failed, retry this job later */ + CUPS_BACKEND_RETRY_CURRENT = 7 /* Job failed, retry this job immediately */ +}; +typedef enum cups_backend_e cups_backend_t; + /**** Backend exit codes ****/ + + +/* + * Prototypes... + */ + +extern const char *cupsBackendDeviceURI(char **argv) _CUPS_API_1_2; +extern void cupsBackendReport(const char *device_scheme, + const char *device_uri, + const char *device_make_and_model, + const char *device_info, + const char *device_id, + const char *device_location) + _CUPS_API_1_4; + + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_BACKEND_H_ */ diff --git a/cups/cups-private.h b/cups/cups-private.h new file mode 100644 index 0000000..97734a5 --- /dev/null +++ b/cups/cups-private.h @@ -0,0 +1,292 @@ +/* + * Private definitions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_CUPS_PRIVATE_H_ +# define _CUPS_CUPS_PRIVATE_H_ + +/* + * Include necessary headers... + */ + +# include "string-private.h" +# include "array-private.h" +# include "ipp-private.h" +# include "http-private.h" +# include "language-private.h" +# include "pwg-private.h" +# include "thread-private.h" +# include +# ifdef __APPLE__ +# include +# include +# endif /* __APPLE__ */ + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Types... + */ + +typedef struct _cups_buffer_s /**** Read/write buffer ****/ +{ + struct _cups_buffer_s *next; /* Next buffer in list */ + size_t size; /* Size of buffer */ + char used, /* Is this buffer used? */ + d[1]; /* Data buffer */ +} _cups_buffer_t; + +typedef struct _cups_raster_error_s /**** Error buffer structure ****/ +{ + char *start, /* Start of buffer */ + *current, /* Current position in buffer */ + *end; /* End of buffer */ +} _cups_raster_error_t; + +typedef enum _cups_digestoptions_e /**** Digest Options values */ +{ + _CUPS_DIGESTOPTIONS_NONE, /* No Digest authentication options */ + _CUPS_DIGESTOPTIONS_DENYMD5 /* Do not use MD5 hashes for digest */ +} _cups_digestoptions_t; + +typedef enum _cups_uatokens_e /**** UserAgentTokens values */ +{ + _CUPS_UATOKENS_NONE, /* Do not send User-Agent */ + _CUPS_UATOKENS_PRODUCT_ONLY, /* CUPS IPP */ + _CUPS_UATOKENS_MAJOR, /* CUPS/major IPP/2 */ + _CUPS_UATOKENS_MINOR, /* CUPS/major.minor IPP/2.1 */ + _CUPS_UATOKENS_MINIMAL, /* CUPS/major.minor.patch IPP/2.1 */ + _CUPS_UATOKENS_OS, /* CUPS/major.minor.patch (osname osversion) IPP/2.1 */ + _CUPS_UATOKENS_FULL /* CUPS/major.minor.patch (osname osversion; architecture) IPP/2.1 */ +} _cups_uatokens_t; + +typedef struct _cups_globals_s /**** CUPS global state data ****/ +{ + /* Multiple places... */ + const char *cups_datadir, /* CUPS_DATADIR environment var */ + *cups_serverbin,/* CUPS_SERVERBIN environment var */ + *cups_serverroot, + /* CUPS_SERVERROOT environment var */ + *cups_statedir, /* CUPS_STATEDIR environment var */ + *home, /* HOME environment var */ + *localedir; /* LOCALDIR environment var */ + + /* adminutil.c */ + time_t cupsd_update; /* Last time we got or set cupsd.conf */ + char cupsd_hostname[HTTP_MAX_HOST]; + /* Hostname for connection */ + int cupsd_num_settings; + /* Number of server settings */ + cups_option_t *cupsd_settings;/* Server settings */ + + /* auth.c */ +# ifdef HAVE_GSSAPI + char gss_service_name[32]; + /* Kerberos service name */ +# endif /* HAVE_GSSAPI */ + + /* backend.c */ + char resolved_uri[1024]; + /* Buffer for cupsBackendDeviceURI */ + + /* debug.c */ +# ifdef DEBUG + int thread_id; /* Friendly thread ID */ +# endif /* DEBUG */ + + /* file.c */ + cups_file_t *stdio_files[3];/* stdin, stdout, stderr */ + + /* http.c */ + char http_date[256]; /* Date+time buffer */ + + /* http-addr.c */ + unsigned ip_addr; /* Packed IPv4 address */ + char *ip_ptrs[2]; /* Pointer to packed address */ + struct hostent hostent; /* Host entry for IP address */ +# ifdef HAVE_GETADDRINFO + char hostname[1024]; /* Hostname */ +# endif /* HAVE_GETADDRINFO */ + int need_res_init; /* Need to reinitialize resolver? */ + + /* ipp.c */ + ipp_uchar_t ipp_date[11]; /* RFC-2579 date/time data */ + _cups_buffer_t *cups_buffers; /* Buffer list */ + + /* ipp-support.c */ + int ipp_port; /* IPP port number */ + char ipp_unknown[255]; + /* Unknown error statuses */ + + /* language.c */ + cups_lang_t *lang_default; /* Default language */ +# ifdef __APPLE__ + char language[32]; /* Cached language */ +# endif /* __APPLE__ */ + + /* pwg-media.c */ + cups_array_t *leg_size_lut, /* Lookup table for legacy names */ + *ppd_size_lut, /* Lookup table for PPD names */ + *pwg_size_lut; /* Lookup table for PWG names */ + pwg_media_t pwg_media; /* PWG media data for custom size */ + char pwg_name[65], /* PWG media name for custom size */ + ppd_name[41]; /* PPD media name for custom size */ + + /* raster-error.c */ + _cups_raster_error_t raster_error; /* Raster error information */ + + /* request.c */ + http_t *http; /* Current server connection */ + ipp_status_t last_error; /* Last IPP error */ + char *last_status_message; + /* Last IPP status-message */ + + /* snmp.c */ + char snmp_community[255]; + /* Default SNMP community name */ + int snmp_debug; /* Log SNMP IO to stderr? */ + + /* tempfile.c */ + char tempfile[1024]; /* cupsTempFd/File buffer */ + + /* usersys.c */ + _cups_digestoptions_t digestoptions; /* DigestOptions setting */ + _cups_uatokens_t uatokens; /* UserAgentTokens setting */ + http_encryption_t encryption; /* Encryption setting */ + char user[65], /* User name */ + user_agent[256],/* User-Agent string */ + server[256], /* Server address */ + servername[256],/* Server hostname */ + password[128]; /* Password for default callback */ + cups_password_cb2_t password_cb; /* Password callback */ + void *password_data; /* Password user data */ + http_tls_credentials_t tls_credentials; + /* Default client credentials */ + cups_client_cert_cb_t client_cert_cb; /* Client certificate callback */ + void *client_cert_data; + /* Client certificate user data */ + cups_server_cert_cb_t server_cert_cb; /* Server certificate callback */ + void *server_cert_data; + /* Server certificate user data */ + int server_version, /* Server IPP version */ + trust_first, /* Trust on first use? */ + any_root, /* Allow any (e.g., self-signed) root */ + expired_certs, /* Allow expired certs */ + validate_certs; /* Validate certificates */ + + /* util.c */ + char def_printer[256]; + /* Default printer */ +} _cups_globals_t; + +typedef struct _cups_media_db_s /* Media database */ +{ + char *color, /* Media color, if any */ + *key, /* Media key, if any */ + *info, /* Media human-readable name, if any */ + *size_name, /* Media PWG size name, if provided */ + *source, /* Media source, if any */ + *type; /* Media type, if any */ + int width, /* Width in hundredths of millimeters */ + length, /* Length in hundredths of + * millimeters */ + bottom, /* Bottom margin in hundredths of + * millimeters */ + left, /* Left margin in hundredths of + * millimeters */ + right, /* Right margin in hundredths of + * millimeters */ + top; /* Top margin in hundredths of + * millimeters */ +} _cups_media_db_t; + +typedef struct _cups_dconstres_s /* Constraint/resolver */ +{ + char *name; /* Name of resolver */ + ipp_t *collection; /* Collection containing attrs */ +} _cups_dconstres_t; + +struct _cups_dinfo_s /* Destination capability and status + * information */ +{ + int version; /* IPP version */ + const char *uri; /* Printer URI */ + char *resource; /* Resource path */ + ipp_t *attrs; /* Printer attributes */ + int num_defaults; /* Number of default options */ + cups_option_t *defaults; /* Default options */ + cups_array_t *constraints; /* Job constraints */ + cups_array_t *resolvers; /* Job resolvers */ + cups_array_t *localizations; /* Localization information */ + cups_array_t *media_db; /* Media database */ + _cups_media_db_t min_size, /* Minimum size */ + max_size; /* Maximum size */ + unsigned cached_flags; /* Flags used for cached media */ + cups_array_t *cached_db; /* Cache of media from last index/default */ + time_t ready_time; /* When xxx-ready attributes were last queried */ + ipp_t *ready_attrs; /* xxx-ready attributes */ + cups_array_t *ready_db; /* media[-col]-ready media database */ +}; + + +/* + * Prototypes... + */ + +# ifdef __APPLE__ +extern CFStringRef _cupsAppleCopyDefaultPaperID(void) _CUPS_PRIVATE; +extern CFStringRef _cupsAppleCopyDefaultPrinter(void) _CUPS_PRIVATE; +extern int _cupsAppleGetUseLastPrinter(void) _CUPS_PRIVATE; +extern void _cupsAppleSetDefaultPaperID(CFStringRef name) _CUPS_PRIVATE; +extern void _cupsAppleSetDefaultPrinter(CFStringRef name) _CUPS_PRIVATE; +extern void _cupsAppleSetUseLastPrinter(int uselast) _CUPS_PRIVATE; +# endif /* __APPLE__ */ + +extern char *_cupsBufferGet(size_t size) _CUPS_PRIVATE; +extern void _cupsBufferRelease(char *b) _CUPS_PRIVATE; + +extern http_t *_cupsConnect(void) _CUPS_PRIVATE; +extern char *_cupsCreateDest(const char *name, const char *info, const char *device_id, const char *device_uri, char *uri, size_t urisize) _CUPS_PRIVATE; +extern ipp_attribute_t *_cupsEncodeOption(ipp_t *ipp, ipp_tag_t group_tag, _ipp_option_t *map, const char *name, const char *value) _CUPS_PRIVATE; +extern int _cupsGet1284Values(const char *device_id, cups_option_t **values) _CUPS_PRIVATE; +extern const char *_cupsGetDestResource(cups_dest_t *dest, unsigned flags, char *resource, size_t resourcesize) _CUPS_PRIVATE; +extern int _cupsGetDests(http_t *http, ipp_op_t op, const char *name, cups_dest_t **dests, cups_ptype_t type, cups_ptype_t mask) _CUPS_PRIVATE; +extern const char *_cupsGetPassword(const char *prompt) _CUPS_PRIVATE; +extern void _cupsGlobalLock(void) _CUPS_PRIVATE; +extern _cups_globals_t *_cupsGlobals(void) _CUPS_PRIVATE; +extern void _cupsGlobalUnlock(void) _CUPS_PRIVATE; +# ifdef HAVE_GSSAPI +extern const char *_cupsGSSServiceName(void) _CUPS_PRIVATE; +# endif /* HAVE_GSSAPI */ +extern int _cupsNextDelay(int current, int *previous) _CUPS_PRIVATE; +extern void _cupsSetDefaults(void) _CUPS_INTERNAL; +extern void _cupsSetError(ipp_status_t status, const char *message, int localize) _CUPS_PRIVATE; +extern void _cupsSetHTTPError(http_status_t status) _CUPS_INTERNAL; +# ifdef HAVE_GSSAPI +extern int _cupsSetNegotiateAuthString(http_t *http, const char *method, const char *resource) _CUPS_PRIVATE; +# endif /* HAVE_GSSAPI */ +extern char *_cupsUserDefault(char *name, size_t namesize) _CUPS_INTERNAL; + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_CUPS_PRIVATE_H_ */ diff --git a/cups/cups.h b/cups/cups.h new file mode 100644 index 0000000..77a66c1 --- /dev/null +++ b/cups/cups.h @@ -0,0 +1,611 @@ +/* + * API definitions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_CUPS_H_ +# define _CUPS_CUPS_H_ + +/* + * Include necessary headers... + */ + +# include +# if defined(_WIN32) && !defined(__CUPS_SSIZE_T_DEFINED) +# define __CUPS_SSIZE_T_DEFINED +# include +/* Windows does not support the ssize_t type, so map it to long... */ +typedef long ssize_t; /* @private@ */ +# endif /* _WIN32 && !__CUPS_SSIZE_T_DEFINED */ + +# include "file.h" +# include "ipp.h" +# include "language.h" +# include "pwg.h" + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Constants... + */ + +# define CUPS_VERSION 2.0301 +# define CUPS_VERSION_MAJOR 2 +# define CUPS_VERSION_MINOR 3 +# define CUPS_VERSION_PATCH 1 + +# define CUPS_BC_FD 3 + /* Back-channel file descriptor for + * select/poll */ +# define CUPS_DATE_ANY (time_t)-1 +# define CUPS_EXCLUDE_NONE (const char *)0 +# define CUPS_FORMAT_AUTO "application/octet-stream" +# define CUPS_FORMAT_COMMAND "application/vnd.cups-command" +# define CUPS_FORMAT_JPEG "image/jpeg" +# define CUPS_FORMAT_PDF "application/pdf" +# define CUPS_FORMAT_POSTSCRIPT "application/postscript" +# define CUPS_FORMAT_RAW "application/vnd.cups-raw" +# define CUPS_FORMAT_TEXT "text/plain" +# define CUPS_HTTP_DEFAULT (http_t *)0 +# define CUPS_INCLUDE_ALL (const char *)0 +# define CUPS_JOBID_ALL -1 +# define CUPS_JOBID_CURRENT 0 +# define CUPS_LENGTH_VARIABLE (ssize_t)0 +# define CUPS_TIMEOUT_DEFAULT 0 +# define CUPS_WHICHJOBS_ALL -1 +# define CUPS_WHICHJOBS_ACTIVE 0 +# define CUPS_WHICHJOBS_COMPLETED 1 + +/* Flags for cupsConnectDest and cupsEnumDests */ +# define CUPS_DEST_FLAGS_NONE 0x00 + /* No flags are set */ +# define CUPS_DEST_FLAGS_UNCONNECTED 0x01 + /* There is no connection */ +# define CUPS_DEST_FLAGS_MORE 0x02 + /* There are more destinations */ +# define CUPS_DEST_FLAGS_REMOVED 0x04 + /* The destination has gone away */ +# define CUPS_DEST_FLAGS_ERROR 0x08 + /* An error occurred */ +# define CUPS_DEST_FLAGS_RESOLVING 0x10 + /* The destination address is being + * resolved */ +# define CUPS_DEST_FLAGS_CONNECTING 0x20 + /* A connection is being established */ +# define CUPS_DEST_FLAGS_CANCELED 0x40 + /* Operation was canceled */ +# define CUPS_DEST_FLAGS_DEVICE 0x80 + /* For @link cupsConnectDest@: Connect to device */ + +/* Flags for cupsGetDestMediaByName/Size */ +# define CUPS_MEDIA_FLAGS_DEFAULT 0x00 + /* Find the closest size supported by + * the printer */ +# define CUPS_MEDIA_FLAGS_BORDERLESS 0x01 + /* Find a borderless size */ +# define CUPS_MEDIA_FLAGS_DUPLEX 0x02 + /* Find a size compatible with 2-sided + * printing */ +# define CUPS_MEDIA_FLAGS_EXACT 0x04 + /* Find an exact match for the size */ +# define CUPS_MEDIA_FLAGS_READY 0x08 + /* If the printer supports media + * sensing, find the size amongst the + * "ready" media. */ + +/* Options and values */ +# define CUPS_COPIES "copies" +# define CUPS_COPIES_SUPPORTED "copies-supported" + +# define CUPS_FINISHINGS "finishings" +# define CUPS_FINISHINGS_SUPPORTED "finishings-supported" + +# define CUPS_FINISHINGS_BIND "7" +# define CUPS_FINISHINGS_COVER "6" +# define CUPS_FINISHINGS_FOLD "10" +# define CUPS_FINISHINGS_NONE "3" +# define CUPS_FINISHINGS_PUNCH "5" +# define CUPS_FINISHINGS_STAPLE "4" +# define CUPS_FINISHINGS_TRIM "11" + +# define CUPS_MEDIA "media" +# define CUPS_MEDIA_READY "media-ready" +# define CUPS_MEDIA_SUPPORTED "media-supported" + +# define CUPS_MEDIA_3X5 "na_index-3x5_3x5in" +# define CUPS_MEDIA_4X6 "na_index-4x6_4x6in" +# define CUPS_MEDIA_5X7 "na_5x7_5x7in" +# define CUPS_MEDIA_8X10 "na_govt-letter_8x10in" +# define CUPS_MEDIA_A3 "iso_a3_297x420mm" +# define CUPS_MEDIA_A4 "iso_a4_210x297mm" +# define CUPS_MEDIA_A5 "iso_a5_148x210mm" +# define CUPS_MEDIA_A6 "iso_a6_105x148mm" +# define CUPS_MEDIA_ENV10 "na_number-10_4.125x9.5in" +# define CUPS_MEDIA_ENVDL "iso_dl_110x220mm" +# define CUPS_MEDIA_LEGAL "na_legal_8.5x14in" +# define CUPS_MEDIA_LETTER "na_letter_8.5x11in" +# define CUPS_MEDIA_PHOTO_L "oe_photo-l_3.5x5in" +# define CUPS_MEDIA_SUPERBA3 "na_super-b_13x19in" +# define CUPS_MEDIA_TABLOID "na_ledger_11x17in" + +# define CUPS_MEDIA_SOURCE "media-source" +# define CUPS_MEDIA_SOURCE_SUPPORTED "media-source-supported" + +# define CUPS_MEDIA_SOURCE_AUTO "auto" +# define CUPS_MEDIA_SOURCE_MANUAL "manual" + +# define CUPS_MEDIA_TYPE "media-type" +# define CUPS_MEDIA_TYPE_SUPPORTED "media-type-supported" + +# define CUPS_MEDIA_TYPE_AUTO "auto" +# define CUPS_MEDIA_TYPE_ENVELOPE "envelope" +# define CUPS_MEDIA_TYPE_LABELS "labels" +# define CUPS_MEDIA_TYPE_LETTERHEAD "stationery-letterhead" +# define CUPS_MEDIA_TYPE_PHOTO "photographic" +# define CUPS_MEDIA_TYPE_PHOTO_GLOSSY "photographic-glossy" +# define CUPS_MEDIA_TYPE_PHOTO_MATTE "photographic-matte" +# define CUPS_MEDIA_TYPE_PLAIN "stationery" +# define CUPS_MEDIA_TYPE_TRANSPARENCY "transparency" + +# define CUPS_NUMBER_UP "number-up" +# define CUPS_NUMBER_UP_SUPPORTED "number-up-supported" + +# define CUPS_ORIENTATION "orientation-requested" +# define CUPS_ORIENTATION_SUPPORTED "orientation-requested-supported" + +# define CUPS_ORIENTATION_PORTRAIT "3" +# define CUPS_ORIENTATION_LANDSCAPE "4" + +# define CUPS_PRINT_COLOR_MODE "print-color-mode" +# define CUPS_PRINT_COLOR_MODE_SUPPORTED "print-color-mode-supported" + +# define CUPS_PRINT_COLOR_MODE_AUTO "auto" +# define CUPS_PRINT_COLOR_MODE_MONOCHROME "monochrome" +# define CUPS_PRINT_COLOR_MODE_COLOR "color" + +# define CUPS_PRINT_QUALITY "print-quality" +# define CUPS_PRINT_QUALITY_SUPPORTED "print-quality-supported" + +# define CUPS_PRINT_QUALITY_DRAFT "3" +# define CUPS_PRINT_QUALITY_NORMAL "4" +# define CUPS_PRINT_QUALITY_HIGH "5" + +# define CUPS_SIDES "sides" +# define CUPS_SIDES_SUPPORTED "sides-supported" + +# define CUPS_SIDES_ONE_SIDED "one-sided" +# define CUPS_SIDES_TWO_SIDED_PORTRAIT "two-sided-long-edge" +# define CUPS_SIDES_TWO_SIDED_LANDSCAPE "two-sided-short-edge" + + +/* + * Types and structures... + */ + +typedef unsigned cups_ptype_t; /* Printer type/capability bits */ +enum cups_ptype_e /* Printer type/capability bit + * constants */ +{ /* Not a typedef'd enum so we can OR */ + CUPS_PRINTER_LOCAL = 0x0000, /* Local printer or class */ + CUPS_PRINTER_CLASS = 0x0001, /* Printer class */ + CUPS_PRINTER_REMOTE = 0x0002, /* Remote printer or class */ + CUPS_PRINTER_BW = 0x0004, /* Can do B&W printing */ + CUPS_PRINTER_COLOR = 0x0008, /* Can do color printing */ + CUPS_PRINTER_DUPLEX = 0x0010, /* Can do two-sided printing */ + CUPS_PRINTER_STAPLE = 0x0020, /* Can staple output */ + CUPS_PRINTER_COPIES = 0x0040, /* Can do copies in hardware */ + CUPS_PRINTER_COLLATE = 0x0080, /* Can quickly collate copies */ + CUPS_PRINTER_PUNCH = 0x0100, /* Can punch output */ + CUPS_PRINTER_COVER = 0x0200, /* Can cover output */ + CUPS_PRINTER_BIND = 0x0400, /* Can bind output */ + CUPS_PRINTER_SORT = 0x0800, /* Can sort output */ + CUPS_PRINTER_SMALL = 0x1000, /* Can print on Letter/Legal/A4-size media */ + CUPS_PRINTER_MEDIUM = 0x2000, /* Can print on Tabloid/B/C/A3/A2-size media */ + CUPS_PRINTER_LARGE = 0x4000, /* Can print on D/E/A1/A0-size media */ + CUPS_PRINTER_VARIABLE = 0x8000, /* Can print on rolls and custom-size media */ + CUPS_PRINTER_IMPLICIT = 0x10000, /* Implicit class @private@ + * @since Deprecated@ */ + CUPS_PRINTER_DEFAULT = 0x20000, /* Default printer on network */ + CUPS_PRINTER_FAX = 0x40000, /* Fax queue */ + CUPS_PRINTER_REJECTING = 0x80000, /* Printer is rejecting jobs */ + CUPS_PRINTER_DELETE = 0x100000, /* Delete printer + * @deprecated@ @exclude all@ */ + CUPS_PRINTER_NOT_SHARED = 0x200000, /* Printer is not shared + * @since CUPS 1.2/macOS 10.5@ */ + CUPS_PRINTER_AUTHENTICATED = 0x400000,/* Printer requires authentication + * @since CUPS 1.2/macOS 10.5@ */ + CUPS_PRINTER_COMMANDS = 0x800000, /* Printer supports maintenance commands + * @since CUPS 1.2/macOS 10.5@ */ + CUPS_PRINTER_DISCOVERED = 0x1000000, /* Printer was discovered @since CUPS 1.2/macOS 10.5@ */ + CUPS_PRINTER_SCANNER = 0x2000000, /* Scanner-only device + * @since CUPS 1.4/macOS 10.6@ @private@ */ + CUPS_PRINTER_MFP = 0x4000000, /* Printer with scanning capabilities + * @since CUPS 1.4/macOS 10.6@ @private@ */ + CUPS_PRINTER_3D = 0x8000000, /* Printer with 3D capabilities @exclude all@ @private@ */ + CUPS_PRINTER_OPTIONS = 0x6fffc /* ~(CLASS | REMOTE | IMPLICIT | + * DEFAULT | FAX | REJECTING | DELETE | + * NOT_SHARED | AUTHENTICATED | + * COMMANDS | DISCOVERED) @private@ */ +}; + +typedef struct cups_option_s /**** Printer Options ****/ +{ + char *name; /* Name of option */ + char *value; /* Value of option */ +} cups_option_t; + +typedef struct cups_dest_s /**** Destination ****/ +{ + char *name, /* Printer or class name */ + *instance; /* Local instance name or NULL */ + int is_default; /* Is this printer the default? */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ +} cups_dest_t; + +typedef struct _cups_dinfo_s cups_dinfo_t; + /* Destination capability and status + * information @since CUPS 1.6/macOS 10.8@ */ + +typedef struct cups_job_s /**** Job ****/ +{ + int id; /* The job ID */ + char *dest; /* Printer or class name */ + char *title; /* Title/job name */ + char *user; /* User that submitted the job */ + char *format; /* Document format */ + ipp_jstate_t state; /* Job state */ + int size; /* Size in kilobytes */ + int priority; /* Priority (1-100) */ + time_t completed_time; /* Time the job was completed */ + time_t creation_time; /* Time the job was created */ + time_t processing_time; /* Time the job was processed */ +} cups_job_t; + +typedef struct cups_size_s /**** Media Size @since CUPS 1.6/macOS 10.8@ ****/ +{ + char media[128]; /* Media name to use */ + int width, /* Width in hundredths of millimeters */ + length, /* Length in hundredths of + * millimeters */ + bottom, /* Bottom margin in hundredths of + * millimeters */ + left, /* Left margin in hundredths of + * millimeters */ + right, /* Right margin in hundredths of + * millimeters */ + top; /* Top margin in hundredths of + * millimeters */ +} cups_size_t; + +typedef int (*cups_client_cert_cb_t)(http_t *http, void *tls, + cups_array_t *distinguished_names, + void *user_data); + /* Client credentials callback + * @since CUPS 1.5/macOS 10.7@ */ + +typedef int (*cups_dest_cb_t)(void *user_data, unsigned flags, + cups_dest_t *dest); + /* Destination enumeration callback + * @since CUPS 1.6/macOS 10.8@ */ + +# ifdef __BLOCKS__ +typedef int (^cups_dest_block_t)(unsigned flags, cups_dest_t *dest); + /* Destination enumeration block + * @since CUPS 1.6/macOS 10.8@ + * @exclude all@ */ +# endif /* __BLOCKS__ */ + +typedef const char *(*cups_password_cb_t)(const char *prompt); + /* Password callback @exclude all@ */ + +typedef const char *(*cups_password_cb2_t)(const char *prompt, http_t *http, + const char *method, + const char *resource, + void *user_data); + /* New password callback + * @since CUPS 1.4/macOS 10.6@ */ + +typedef int (*cups_server_cert_cb_t)(http_t *http, void *tls, + cups_array_t *certs, void *user_data); + /* Server credentials callback + * @since CUPS 1.5/macOS 10.7@ */ + + +/* + * Functions... + */ + +extern int cupsCancelJob(const char *name, int job_id) _CUPS_PUBLIC; +extern ipp_t *cupsDoFileRequest(http_t *http, ipp_t *request, + const char *resource, + const char *filename) _CUPS_PUBLIC; +extern ipp_t *cupsDoRequest(http_t *http, ipp_t *request, + const char *resource) _CUPS_PUBLIC; +extern http_encryption_t cupsEncryption(void); +extern void cupsFreeJobs(int num_jobs, cups_job_t *jobs) _CUPS_PUBLIC; +extern int cupsGetClasses(char ***classes) _CUPS_DEPRECATED_MSG("Use cupsEnumDests instead."); +extern const char *cupsGetDefault(void) _CUPS_PUBLIC; +extern int cupsGetJobs(cups_job_t **jobs, const char *name, + int myjobs, int whichjobs) _CUPS_PUBLIC; +extern int cupsGetPrinters(char ***printers) _CUPS_DEPRECATED_MSG("Use cupsEnumDests instead."); +extern ipp_status_t cupsLastError(void) _CUPS_PUBLIC; +extern int cupsPrintFile(const char *name, const char *filename, + const char *title, int num_options, + cups_option_t *options) _CUPS_PUBLIC; +extern int cupsPrintFiles(const char *name, int num_files, + const char **files, const char *title, + int num_options, cups_option_t *options) _CUPS_PUBLIC; +extern char *cupsTempFile(char *filename, int len) _CUPS_DEPRECATED_MSG("Use cupsTempFd or cupsTempFile2 instead."); +extern int cupsTempFd(char *filename, int len) _CUPS_PUBLIC; + +extern int cupsAddDest(const char *name, const char *instance, + int num_dests, cups_dest_t **dests) _CUPS_PUBLIC; +extern void cupsFreeDests(int num_dests, cups_dest_t *dests) _CUPS_PUBLIC; +extern cups_dest_t *cupsGetDest(const char *name, const char *instance, + int num_dests, cups_dest_t *dests) _CUPS_PUBLIC; +extern int cupsGetDests(cups_dest_t **dests) _CUPS_PUBLIC; +extern void cupsSetDests(int num_dests, cups_dest_t *dests) _CUPS_PUBLIC; + +extern int cupsAddOption(const char *name, const char *value, + int num_options, cups_option_t **options) _CUPS_PUBLIC; +extern void cupsEncodeOptions(ipp_t *ipp, int num_options, + cups_option_t *options) _CUPS_PUBLIC; +extern void cupsFreeOptions(int num_options, + cups_option_t *options) _CUPS_PUBLIC; +extern const char *cupsGetOption(const char *name, int num_options, + cups_option_t *options) _CUPS_PUBLIC; +extern int cupsParseOptions(const char *arg, int num_options, + cups_option_t **options) _CUPS_PUBLIC; + +extern const char *cupsGetPassword(const char *prompt) _CUPS_PUBLIC; +extern const char *cupsServer(void) _CUPS_PUBLIC; +extern void cupsSetEncryption(http_encryption_t e) _CUPS_PUBLIC; +extern void cupsSetPasswordCB(cups_password_cb_t cb) _CUPS_PUBLIC; +extern void cupsSetServer(const char *server) _CUPS_PUBLIC; +extern void cupsSetUser(const char *user) _CUPS_PUBLIC; +extern const char *cupsUser(void) _CUPS_PUBLIC; + +/**** New in CUPS 1.1.20 ****/ +extern int cupsDoAuthentication(http_t *http, const char *method, + const char *resource) + _CUPS_API_1_1_20; +extern http_status_t cupsGetFile(http_t *http, const char *resource, + const char *filename) _CUPS_API_1_1_20; +extern http_status_t cupsGetFd(http_t *http, const char *resource, int fd) _CUPS_API_1_1_20; +extern http_status_t cupsPutFile(http_t *http, const char *resource, + const char *filename) _CUPS_API_1_1_20; +extern http_status_t cupsPutFd(http_t *http, const char *resource, int fd) + _CUPS_API_1_1_20; + +/**** New in CUPS 1.1.21 ****/ +extern const char *cupsGetDefault2(http_t *http) _CUPS_API_1_1_21; +extern int cupsGetDests2(http_t *http, cups_dest_t **dests) + _CUPS_API_1_1_21; +extern int cupsGetJobs2(http_t *http, cups_job_t **jobs, + const char *name, int myjobs, + int whichjobs) _CUPS_API_1_1_21; +extern int cupsPrintFile2(http_t *http, const char *name, + const char *filename, + const char *title, int num_options, + cups_option_t *options) _CUPS_API_1_1_21; +extern int cupsPrintFiles2(http_t *http, const char *name, + int num_files, const char **files, + const char *title, int num_options, + cups_option_t *options) + _CUPS_API_1_1_21; +extern int cupsSetDests2(http_t *http, int num_dests, + cups_dest_t *dests) _CUPS_API_1_1_21; + +/**** New in CUPS 1.2/macOS 10.5 ****/ +extern void cupsEncodeOptions2(ipp_t *ipp, int num_options, + cups_option_t *options, + ipp_tag_t group_tag) _CUPS_API_1_2; +extern const char *cupsLastErrorString(void) _CUPS_API_1_2; +extern char *cupsNotifySubject(cups_lang_t *lang, ipp_t *event) + _CUPS_API_1_2; +extern char *cupsNotifyText(cups_lang_t *lang, ipp_t *event) + _CUPS_API_1_2; +extern int cupsRemoveOption(const char *name, int num_options, + cups_option_t **options) _CUPS_API_1_2; +extern cups_file_t *cupsTempFile2(char *filename, int len) _CUPS_API_1_2; + +/**** New in CUPS 1.3/macOS 10.5 ****/ +extern ipp_t *cupsDoIORequest(http_t *http, ipp_t *request, + const char *resource, int infile, + int outfile) _CUPS_API_1_3; +extern int cupsRemoveDest(const char *name, + const char *instance, + int num_dests, cups_dest_t **dests) + _CUPS_API_1_3; +extern void cupsSetDefaultDest(const char *name, + const char *instance, + int num_dests, + cups_dest_t *dests) _CUPS_API_1_3; + +/**** New in CUPS 1.4/macOS 10.6 ****/ +extern ipp_status_t cupsCancelJob2(http_t *http, const char *name, + int job_id, int purge) _CUPS_API_1_4; +extern int cupsCreateJob(http_t *http, const char *name, + const char *title, int num_options, + cups_option_t *options) _CUPS_API_1_4; +extern ipp_status_t cupsFinishDocument(http_t *http, + const char *name) _CUPS_API_1_4; +extern cups_dest_t *cupsGetNamedDest(http_t *http, const char *name, + const char *instance) _CUPS_API_1_4; +extern const char *cupsGetPassword2(const char *prompt, http_t *http, + const char *method, + const char *resource) _CUPS_API_1_4; +extern ipp_t *cupsGetResponse(http_t *http, + const char *resource) _CUPS_API_1_4; +extern ssize_t cupsReadResponseData(http_t *http, char *buffer, + size_t length) _CUPS_API_1_4; +extern http_status_t cupsSendRequest(http_t *http, ipp_t *request, + const char *resource, + size_t length) _CUPS_API_1_4; +extern void cupsSetPasswordCB2(cups_password_cb2_t cb, + void *user_data) _CUPS_API_1_4; +extern http_status_t cupsStartDocument(http_t *http, const char *name, + int job_id, const char *docname, + const char *format, + int last_document) _CUPS_API_1_4; +extern http_status_t cupsWriteRequestData(http_t *http, const char *buffer, + size_t length) _CUPS_API_1_4; + +/**** New in CUPS 1.5/macOS 10.7 ****/ +extern void cupsSetClientCertCB(cups_client_cert_cb_t cb, + void *user_data) _CUPS_API_1_5; +extern int cupsSetCredentials(cups_array_t *certs) _CUPS_API_1_5; +extern void cupsSetServerCertCB(cups_server_cert_cb_t cb, + void *user_data) _CUPS_API_1_5; + +/**** New in CUPS 1.6/macOS 10.8 ****/ +extern ipp_status_t cupsCancelDestJob(http_t *http, cups_dest_t *dest, + int job_id) _CUPS_API_1_6; +extern int cupsCheckDestSupported(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, + const char *option, + const char *value) _CUPS_API_1_6; +extern ipp_status_t cupsCloseDestJob(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, int job_id) + _CUPS_API_1_6; +extern http_t *cupsConnectDest(cups_dest_t *dest, unsigned flags, + int msec, int *cancel, + char *resource, size_t resourcesize, + cups_dest_cb_t cb, void *user_data) + _CUPS_API_1_6; +# ifdef __BLOCKS__ +extern http_t *cupsConnectDestBlock(cups_dest_t *dest, + unsigned flags, int msec, + int *cancel, char *resource, + size_t resourcesize, + cups_dest_block_t block) + _CUPS_API_1_6; +# endif /* __BLOCKS__ */ +extern int cupsCopyDest(cups_dest_t *dest, int num_dests, + cups_dest_t **dests) _CUPS_API_1_6; +extern cups_dinfo_t *cupsCopyDestInfo(http_t *http, cups_dest_t *dest) + _CUPS_API_1_6; +extern int cupsCopyDestConflicts(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, + int num_options, + cups_option_t *options, + const char *new_option, + const char *new_value, + int *num_conflicts, + cups_option_t **conflicts, + int *num_resolved, + cups_option_t **resolved) + _CUPS_API_1_6; +extern ipp_status_t cupsCreateDestJob(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, int *job_id, + const char *title, int num_options, + cups_option_t *options) _CUPS_API_1_6; +extern int cupsEnumDests(unsigned flags, int msec, int *cancel, + cups_ptype_t type, cups_ptype_t mask, + cups_dest_cb_t cb, void *user_data) + _CUPS_API_1_6; +# ifdef __BLOCKS__ +extern int cupsEnumDestsBlock(unsigned flags, int msec, + int *cancel, cups_ptype_t type, + cups_ptype_t mask, + cups_dest_block_t block) + _CUPS_API_1_6; +# endif /* __BLOCKS__ */ +extern ipp_status_t cupsFinishDestDocument(http_t *http, + cups_dest_t *dest, + cups_dinfo_t *info) + _CUPS_API_1_6; +extern void cupsFreeDestInfo(cups_dinfo_t *dinfo) _CUPS_API_1_6; +extern int cupsGetDestMediaByName(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, + const char *media, + unsigned flags, + cups_size_t *size) _CUPS_API_1_6; +extern int cupsGetDestMediaBySize(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, + int width, int length, + unsigned flags, + cups_size_t *size) _CUPS_API_1_6; +extern const char *cupsLocalizeDestOption(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, + const char *option) + _CUPS_API_1_6; +extern const char *cupsLocalizeDestValue(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, + const char *option, + const char *value) + _CUPS_API_1_6; +extern http_status_t cupsStartDestDocument(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, int job_id, + const char *docname, + const char *format, + int num_options, + cups_option_t *options, + int last_document) _CUPS_API_1_6; + +/* New in CUPS 1.7 */ +extern ipp_attribute_t *cupsFindDestDefault(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, + const char *option) _CUPS_API_1_7; +extern ipp_attribute_t *cupsFindDestReady(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, + const char *option) _CUPS_API_1_7; +extern ipp_attribute_t *cupsFindDestSupported(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, + const char *option) + _CUPS_API_1_7; +extern int cupsGetDestMediaByIndex(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, int n, + unsigned flags, + cups_size_t *size) + _CUPS_API_1_7; +extern int cupsGetDestMediaCount(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, + unsigned flags) _CUPS_API_1_7; +extern int cupsGetDestMediaDefault(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, + unsigned flags, + cups_size_t *size) + _CUPS_API_1_7; +extern void cupsSetUserAgent(const char *user_agent) _CUPS_API_1_7; +extern const char *cupsUserAgent(void) _CUPS_API_1_7; + +/* New in CUPS 2.0/macOS 10.10 */ +extern cups_dest_t *cupsGetDestWithURI(const char *name, const char *uri) _CUPS_API_2_0; +extern const char *cupsLocalizeDestMedia(http_t *http, cups_dest_t *dest, cups_dinfo_t *info, unsigned flags, cups_size_t *size) _CUPS_API_2_0; +extern int cupsMakeServerCredentials(const char *path, const char *common_name, int num_alt_names, const char **alt_names, time_t expiration_date) _CUPS_API_2_0; +extern int cupsSetServerCredentials(const char *path, const char *common_name, int auto_create) _CUPS_API_2_0; + +/* New in CUPS 2.2/macOS 10.12 */ +extern ssize_t cupsHashData(const char *algorithm, const void *data, size_t datalen, unsigned char *hash, size_t hashsize) _CUPS_API_2_2; + +/* New in CUPS 2.2.4 */ +extern int cupsAddIntegerOption(const char *name, int value, int num_options, cups_option_t **options) _CUPS_API_2_2_4; +extern int cupsGetIntegerOption(const char *name, int num_options, cups_option_t *options) _CUPS_API_2_2_4; + +/* New in CUPS 2.2.7 */ +extern const char *cupsHashString(const unsigned char *hash, size_t hashsize, char *buffer, size_t bufsize) _CUPS_API_2_2_7; + +/* New in CUPS 2.3 */ +extern int cupsAddDestMediaOptions(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, cups_size_t *size, int num_options, cups_option_t **options) _CUPS_API_2_3; +extern ipp_attribute_t *cupsEncodeOption(ipp_t *ipp, ipp_tag_t group_tag, const char *name, const char *value) _CUPS_API_2_3; + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_CUPS_H_ */ diff --git a/cups/cupspm-icon.png b/cups/cupspm-icon.png new file mode 100644 index 0000000..8050934 Binary files /dev/null and b/cups/cupspm-icon.png differ diff --git a/cups/cupspm.md b/cups/cupspm.md new file mode 100644 index 0000000..d4d6d7c --- /dev/null +++ b/cups/cupspm.md @@ -0,0 +1,1005 @@ +--- +title: CUPS Programming Manual +author: Michael R Sweet +copyright: Copyright © 2007-2019 by Apple Inc. All Rights Reserved. +version: 2.3.1 +... + +> Please [file issues on Github](https://github.com/apple/cups/issues) to +> provide feedback on this document. + + +# Introduction + +CUPS provides the "cups" library to talk to the different parts of CUPS and with +Internet Printing Protocol (IPP) printers. The "cups" library functions are +accessed by including the `` header. + +CUPS is based on the Internet Printing Protocol ("IPP"), which allows clients +(applications) to communicate with a server (the scheduler, printers, etc.) to +get a list of destinations, send print jobs, and so forth. You identify which +server you want to communicate with using a pointer to the opaque structure +`http_t`. The `CUPS_HTTP_DEFAULT` constant can be used when you want to talk to +the CUPS scheduler. + + +## Guidelines + +When writing software (other than printer drivers) that uses the "cups" library: + +- Do not use undocumented or deprecated APIs, +- Do not rely on pre-configured printers, +- Do not assume that printers support specific features or formats, and +- Do not rely on implementation details (PPDs, etc.) + +CUPS is designed to insulate users and developers from the implementation +details of printers and file formats. The goal is to allow an application to +supply a print file in a standard format with the user intent ("print four +copies, two-sided on A4 media, and staple each copy") and have the printing +system manage the printer communication and format conversion needed. + +Similarly, printer and job management applications can use standard query +operations to obtain the status information in a common, generic form and use +standard management operations to control the state of those printers and jobs. + +> **Note:** +> +> CUPS printer drivers necessarily depend on specific file formats and certain +> implementation details of the CUPS software. Please consult the Postscript +> and raster printer driver developer documentation on +> [CUPS.org](https://www.cups.org/documentation.html) for more information. + + +## Terms Used in This Document + +A *Destination* is a printer or print queue that accepts print jobs. A +*Print Job* is a collection of one or more documents that are processed by a +destination using options supplied when creating the job. A *Document* is a +file (JPEG image, PDF file, etc.) suitable for printing. An *Option* controls +some aspect of printing, such as the media used. *Media* is the sheets or roll +that is printed on. An *Attribute* is an option encoded for an Internet +Printing Protocol (IPP) request. + + +## Compiling Programs That Use the CUPS API + +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. + +The following simple program lists the available destinations: + + #include + #include + + int print_dest(void *user_data, unsigned flags, cups_dest_t *dest) + { + if (dest->instance) + printf("%s/%s\n", dest->name, dest->instance); + else + puts(dest->name); + + return (1); + } + + int main(void) + { + cupsEnumDests(CUPS_DEST_FLAGS_NONE, 1000, NULL, 0, 0, print_dest, NULL); + + return (0); + } + + +### Compiling with Xcode + +In Xcode, choose *New Project...* from the *File* menu (or press SHIFT+CMD+N), +then select the *Command Line Tool* under the macOS Application project type. +Click *Next* and enter a name for the project, for example "firstcups". Click +*Next* and choose a project directory. The click *Next* to create the project. + +In the project window, click on the *Build Phases* group and expand the +*Link Binary with Libraries* section. Click *+*, type "libcups" to show the +library, and then double-click on `libcups.tbd`. + +Finally, click on the `main.c` file in the sidebar and copy the example program +to the file. Build and run (CMD+R) to see the list of destinations. + + +### Compiling with GCC + +From the command-line, create a file called `simple.c` using your favorite +editor, copy the example to this file, and save. Then run the following command +to compile it with GCC and run it: + + gcc -o simple `cups-config --cflags` simple.c `cups-config --libs` + ./simple + +The `cups-config` command provides the compiler flags (`cups-config --cflags`) +and libraries (`cups-config --libs`) needed for the local system. + + +# Working with Destinations + +Destinations, which in CUPS represent individual printers or classes +(collections or pools) of printers, are represented by the `cups_dest_t` +structure which includes the name \(`name`), instance \(`instance`, saved +options/settings), whether the destination is the default for the user +\(`is_default`), and the options and basic information associated with that +destination \(`num_options` and `options`). + +Historically destinations have been manually maintained by the administrator of +a system or network, but CUPS also supports dynamic discovery of destinations on +the current network. + + +## Finding Available Destinations + +The `cupsEnumDests` function finds all of the available destinations: + + int + cupsEnumDests(unsigned flags, int msec, int *cancel, + cups_ptype_t type, cups_ptype_t mask, + cups_dest_cb_t cb, void *user_data) + +The `flags` argument specifies enumeration options, which at present must be +`CUPS_DEST_FLAGS_NONE`. + +The `msec` argument specifies the maximum amount of time that should be used for +enumeration in milliseconds - interactive applications should keep this value to +5000 or less when run on the main thread. + +The `cancel` argument points to an integer variable that, when set to a non-zero +value, will cause enumeration to stop as soon as possible. It can be `NULL` if +not needed. + +The `type` and `mask` arguments are bitfields that allow the caller to filter +the destinations based on categories and/or capabilities. The destination's +"printer-type" value is masked by the `mask` value and compared to the `type` +value when filtering. For example, to only enumerate destinations that are +hosted on the local system, pass `CUPS_PRINTER_LOCAL` for the `type` argument +and `CUPS_PRINTER_DISCOVERED` for the `mask` argument. The following constants +can be used for filtering: + +- `CUPS_PRINTER_CLASS`: A collection of destinations. +- `CUPS_PRINTER_FAX`: A facsimile device. +- `CUPS_PRINTER_LOCAL`: A local printer or class. This constant has the value 0 + (no bits set) and is only used for the `type` argument and is paired with the + `CUPS_PRINTER_REMOTE` or `CUPS_PRINTER_DISCOVERED` constant passed in the + `mask` argument. +- `CUPS_PRINTER_REMOTE`: A remote (shared) printer or class. +- `CUPS_PRINTER_DISCOVERED`: An available network printer or class. +- `CUPS_PRINTER_BW`: Can do B&W printing. +- `CUPS_PRINTER_COLOR`: Can do color printing. +- `CUPS_PRINTER_DUPLEX`: Can do two-sided printing. +- `CUPS_PRINTER_STAPLE`: Can staple output. +- `CUPS_PRINTER_COLLATE`: Can quickly collate copies. +- `CUPS_PRINTER_PUNCH`: Can punch output. +- `CUPS_PRINTER_COVER`: Can cover output. +- `CUPS_PRINTER_BIND`: Can bind output. +- `CUPS_PRINTER_SORT`: Can sort output (mailboxes, etc.) +- `CUPS_PRINTER_SMALL`: Can print on Letter/Legal/A4-size media. +- `CUPS_PRINTER_MEDIUM`: Can print on Tabloid/B/C/A3/A2-size media. +- `CUPS_PRINTER_LARGE`: Can print on D/E/A1/A0-size media. +- `CUPS_PRINTER_VARIABLE`: Can print on rolls and custom-size media. + +The `cb` argument specifies a function to call for every destination that is +found: + + typedef int (*cups_dest_cb_t)(void *user_data, + unsigned flags, + cups_dest_t *dest); + +The callback function receives a copy of the `user_data` argument along with a +bitfield \(`flags`) and the destination that was found. The `flags` argument +can have any of the following constant (bit) values set: + +- `CUPS_DEST_FLAGS_MORE`: There are more destinations coming. +- `CUPS_DEST_FLAGS_REMOVED`: The destination has gone away and should be removed + from the list of destinations a user can select. +- `CUPS_DEST_FLAGS_ERROR`: An error occurred. The reason for the error can be + found by calling the `cupsLastError` and/or `cupsLastErrorString` functions. + +The callback function returns 0 to stop enumeration or 1 to continue. + +> **Note:** +> +> The callback function will likely be called multiple times for the +> same destination, so it is up to the caller to suppress any duplicate +> destinations. + +The following example shows how to use `cupsEnumDests` to get a filtered array +of destinations: + + typedef struct + { + int num_dests; + cups_dest_t *dests; + } my_user_data_t; + + int + my_dest_cb(my_user_data_t *user_data, unsigned flags, + cups_dest_t *dest) + { + if (flags & CUPS_DEST_FLAGS_REMOVED) + { + /* + * Remove destination from array... + */ + + user_data->num_dests = + cupsRemoveDest(dest->name, dest->instance, + user_data->num_dests, + &(user_data->dests)); + } + else + { + /* + * Add destination to array... + */ + + user_data->num_dests = + cupsCopyDest(dest, user_data->num_dests, + &(user_data->dests)); + } + + return (1); + } + + int + my_get_dests(cups_ptype_t type, cups_ptype_t mask, + cups_dest_t **dests) + { + my_user_data_t user_data = { 0, NULL }; + + if (!cupsEnumDests(CUPS_DEST_FLAGS_NONE, 1000, NULL, type, + mask, (cups_dest_cb_t)my_dest_cb, + &user_data)) + { + /* + * An error occurred, free all of the destinations and + * return... + */ + + cupsFreeDests(user_data.num_dests, user_dasta.dests); + + *dests = NULL; + + return (0); + } + + /* + * Return the destination array... + */ + + *dests = user_data.dests; + + return (user_data.num_dests); + } + + +## Basic Destination Information + +The `num_options` and `options` members of the `cups_dest_t` structure provide +basic attributes about the destination in addition to the user default options +and values for that destination. The following names are predefined for various +destination attributes: + +- "auth-info-required": The type of authentication required for printing to this + destination: "none", "username,password", "domain,username,password", or + "negotiate" (Kerberos). +- "printer-info": The human-readable description of the destination such as "My + Laser Printer". +- "printer-is-accepting-jobs": "true" if the destination is accepting new jobs, + "false" otherwise. +- "printer-is-shared": "true" if the destination is being shared with other + computers, "false" otherwise. +- "printer-location": The human-readable location of the destination such as + "Lab 4". +- "printer-make-and-model": The human-readable make and model of the destination + such as "ExampleCorp LaserPrinter 4000 Series". +- "printer-state": "3" if the destination is idle, "4" if the destination is + printing a job, and "5" if the destination is stopped. +- "printer-state-change-time": The UNIX time when the destination entered the + current state. +- "printer-state-reasons": Additional comma-delimited state keywords for the + destination such as "media-tray-empty-error" and "toner-low-warning". +- "printer-type": The `cups_ptype_t` value associated with the destination. +- "printer-uri-supported": The URI associated with the destination; if not set, + this destination was discovered but is not yet setup as a local printer. + +Use the `cupsGetOption` function to retrieve the value. For example, the +following code gets the make and model of a destination: + + const char *model = cupsGetOption("printer-make-and-model", + dest->num_options, + dest->options); + + +## Detailed Destination Information + +Once a destination has been chosen, the `cupsCopyDestInfo` function can be used +to gather detailed information about the destination: + + cups_dinfo_t * + cupsCopyDestInfo(http_t *http, cups_dest_t *dest); + +The `http` argument specifies a connection to the CUPS scheduler and is +typically the constant `CUPS_HTTP_DEFAULT`. The `dest` argument specifies the +destination to query. + +The `cups_dinfo_t` structure that is returned contains a snapshot of the +supported options and their supported, ready, and default values. It also can +report constraints between different options and values, and recommend changes +to resolve those constraints. + + +### Getting Supported Options and Values + +The `cupsCheckDestSupported` function can be used to test whether a particular +option or option and value is supported: + + int + cupsCheckDestSupported(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, + const char *option, + const char *value); + +The `option` argument specifies the name of the option to check. The following +constants can be used to check the various standard options: + +- `CUPS_COPIES`: Controls the number of copies that are produced. +- `CUPS_FINISHINGS`: A comma-delimited list of integer constants that control + the finishing processes that are applied to the job, including stapling, + punching, and folding. +- `CUPS_MEDIA`: Controls the media size that is used, typically one of the + following: `CUPS_MEDIA_3X5`, `CUPS_MEDIA_4X6`, `CUPS_MEDIA_5X7`, + `CUPS_MEDIA_8X10`, `CUPS_MEDIA_A3`, `CUPS_MEDIA_A4`, `CUPS_MEDIA_A5`, + `CUPS_MEDIA_A6`, `CUPS_MEDIA_ENV10`, `CUPS_MEDIA_ENVDL`, `CUPS_MEDIA_LEGAL`, + `CUPS_MEDIA_LETTER`, `CUPS_MEDIA_PHOTO_L`, `CUPS_MEDIA_SUPERBA3`, or + `CUPS_MEDIA_TABLOID`. +- `CUPS_MEDIA_SOURCE`: Controls where the media is pulled from, typically either + `CUPS_MEDIA_SOURCE_AUTO` or `CUPS_MEDIA_SOURCE_MANUAL`. +- `CUPS_MEDIA_TYPE`: Controls the type of media that is used, typically one of + the following: `CUPS_MEDIA_TYPE_AUTO`, `CUPS_MEDIA_TYPE_ENVELOPE`, + `CUPS_MEDIA_TYPE_LABELS`, `CUPS_MEDIA_TYPE_LETTERHEAD`, + `CUPS_MEDIA_TYPE_PHOTO`, `CUPS_MEDIA_TYPE_PHOTO_GLOSSY`, + `CUPS_MEDIA_TYPE_PHOTO_MATTE`, `CUPS_MEDIA_TYPE_PLAIN`, or + `CUPS_MEDIA_TYPE_TRANSPARENCY`. +- `CUPS_NUMBER_UP`: Controls the number of document pages that are placed on + each media side. +- `CUPS_ORIENTATION`: Controls the orientation of document pages placed on the + media: `CUPS_ORIENTATION_PORTRAIT` or `CUPS_ORIENTATION_LANDSCAPE`. +- `CUPS_PRINT_COLOR_MODE`: Controls whether the output is in color + \(`CUPS_PRINT_COLOR_MODE_COLOR`), grayscale + \(`CUPS_PRINT_COLOR_MODE_MONOCHROME`), or either + \(`CUPS_PRINT_COLOR_MODE_AUTO`). +- `CUPS_PRINT_QUALITY`: Controls the generate quality of the output: + `CUPS_PRINT_QUALITY_DRAFT`, `CUPS_PRINT_QUALITY_NORMAL`, or + `CUPS_PRINT_QUALITY_HIGH`. +- `CUPS_SIDES`: Controls whether prints are placed on one or both sides of the + media: `CUPS_SIDES_ONE_SIDED`, `CUPS_SIDES_TWO_SIDED_PORTRAIT`, or + `CUPS_SIDES_TWO_SIDED_LANDSCAPE`. + +If the `value` argument is `NULL`, the `cupsCheckDestSupported` function returns +whether the option is supported by the destination. Otherwise, the function +returns whether the specified value of the option is supported. + +The `cupsFindDestSupported` function returns the IPP attribute containing the +supported values for a given option: + + ipp_attribute_t * + cupsFindDestSupported(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, + const char *option); + +For example, the following code prints the supported finishing processes for a +destination, if any, to the standard output: + + cups_dinfo_t *info = cupsCopyDestInfo(CUPS_HTTP_DEFAULT, + dest); + + if (cupsCheckDestSupported(CUPS_HTTP_DEFAULT, dest, info, + CUPS_FINISHINGS, NULL)) + { + ipp_attribute_t *finishings = + cupsFindDestSupported(CUPS_HTTP_DEFAULT, dest, info, + CUPS_FINISHINGS); + int i, count = ippGetCount(finishings); + + puts("finishings supported:"); + for (i = 0; i < count; i ++) + printf(" %d\n", ippGetInteger(finishings, i)); + } + else + puts("finishings not supported."); + +The "job-creation-attributes" option can be queried to get a list of supported +options. For example, the following code prints the list of supported options +to the standard output: + + ipp_attribute_t *attrs = + cupsFindDestSupported(CUPS_HTTP_DEFAULT, dest, info, + "job-creation-attributes"); + int i, count = ippGetCount(attrs); + + for (i = 0; i < count; i ++) + puts(ippGetString(attrs, i, NULL)); + + +### Getting Default Values + +There are two sets of default values - user defaults that are available via the +`num_options` and `options` members of the `cups_dest_t` structure, and +destination defaults that available via the `cups_dinfo_t` structure and the +`cupsFindDestDefault` function which returns the IPP attribute containing the +default value(s) for a given option: + + ipp_attribute_t * + cupsFindDestDefault(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, + const char *option); + +The user defaults from `cupsGetOption` should always take preference over the +destination defaults. For example, the following code prints the default +finishings value(s) to the standard output: + + const char *def_value = + cupsGetOption(CUPS_FINISHINGS, dest->num_options, + dest->options); + ipp_attribute_t *def_attr = + cupsFindDestDefault(CUPS_HTTP_DEFAULT, dest, info, + CUPS_FINISHINGS); + + if (def_value != NULL) + { + printf("Default finishings: %s\n", def_value); + } + else + { + int i, count = ippGetCount(def_attr); + + printf("Default finishings: %d", + ippGetInteger(def_attr, 0)); + for (i = 1; i < count; i ++) + printf(",%d", ippGetInteger(def_attr, i)); + putchar('\n'); + } + + +### Getting Ready (Loaded) Values + +The finishings and media options also support queries for the ready, or loaded, +values. For example, a printer may have punch and staple finishers installed +but be out of staples - the supported values will list both punch and staple +finishing processes but the ready values will only list the punch processes. +Similarly, a printer may support hundreds of different sizes of media but only +have a single size loaded at any given time - the ready values are limited to +the media that is actually in the printer. + +The `cupsFindDestReady` function finds the IPP attribute containing the ready +values for a given option: + + ipp_attribute_t * + cupsFindDestReady(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, const char *option); + +For example, the following code lists the ready finishing processes: + + ipp_attribute_t *ready_finishings = + cupsFindDestReady(CUPS_HTTP_DEFAULT, dest, info, + CUPS_FINISHINGS); + + if (ready_finishings != NULL) + { + int i, count = ippGetCount(ready_finishings); + + puts("finishings ready:"); + for (i = 0; i < count; i ++) + printf(" %d\n", ippGetInteger(ready_finishings, i)); + } + else + puts("no finishings are ready."); + + +### Media Size Options + +CUPS provides functions for querying the dimensions and margins for each of the +supported media size options. The `cups_size_t` structure is used to describe a +media size: + + typedef struct cups_size_s + { + char media[128]; + int width, length; + int bottom, left, right, top; + } cups_size_t; + +The `width` and `length` members specify the dimensions of the media in +hundredths of millimeters (1/2540th of an inch). The `bottom`, `left`, `right`, +and `top` members specify the margins of the printable area, also in hundredths +of millimeters. + +The `cupsGetDestMediaByName` and `cupsGetDestMediaBySize` functions lookup the +media size information using a standard media size name or dimensions in +hundredths of millimeters: + + int + cupsGetDestMediaByName(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, + const char *media, + unsigned flags, cups_size_t *size); + + int + cupsGetDestMediaBySize(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, + int width, int length, + unsigned flags, cups_size_t *size); + +The `media`, `width`, and `length` arguments specify the size to lookup. The +`flags` argument specifies a bitfield controlling various lookup options: + +- `CUPS_MEDIA_FLAGS_DEFAULT`: Find the closest size supported by the printer. +- `CUPS_MEDIA_FLAGS_BORDERLESS`: Find a borderless size. +- `CUPS_MEDIA_FLAGS_DUPLEX`: Find a size compatible with two-sided printing. +- `CUPS_MEDIA_FLAGS_EXACT`: Find an exact match for the size. +- `CUPS_MEDIA_FLAGS_READY`: If the printer supports media sensing or + configuration of the media in each tray/source, find the size amongst the + "ready" media. + +If a matching size is found for the destination, the size information is stored +in the structure pointed to by the `size` argument and 1 is returned. Otherwise +0 is returned. + +For example, the following code prints the margins for two-sided printing on US +Letter media: + + cups_size_t size; + + if (cupsGetDestMediaByName(CUPS_HTTP_DEFAULT, dest, info, + CUPS_MEDIA_LETTER, + CUPS_MEDIA_FLAGS_DUPLEX, &size)) + { + puts("Margins for duplex US Letter:"); + printf(" Bottom: %.2fin\n", size.bottom / 2540.0); + printf(" Left: %.2fin\n", size.left / 2540.0); + printf(" Right: %.2fin\n", size.right / 2540.0); + printf(" Top: %.2fin\n", size.top / 2540.0); + } + else + puts("Margins for duplex US Letter are not available."); + +You can also enumerate all of the sizes that match a given `flags` value using +the `cupsGetDestMediaByIndex` and `cupsGetDestMediaCount` functions: + + int + cupsGetDestMediaByIndex(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, int n, + unsigned flags, cups_size_t *size); + + int + cupsGetDestMediaCount(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, unsigned flags); + +For example, the following code prints the list of ready media and corresponding +margins: + + cups_size_t size; + int i; + int count = cupsGetDestMediaCount(CUPS_HTTP_DEFAULT, + dest, info, + CUPS_MEDIA_FLAGS_READY); + + for (i = 0; i < count; i ++) + { + if (cupsGetDestMediaByIndex(CUPS_HTTP_DEFAULT, dest, info, + i, CUPS_MEDIA_FLAGS_READY, + &size)) + { + printf("%s:\n", size.name); + printf(" Width: %.2fin\n", size.width / 2540.0); + printf(" Length: %.2fin\n", size.length / 2540.0); + printf(" Bottom: %.2fin\n", size.bottom / 2540.0); + printf(" Left: %.2fin\n", size.left / 2540.0); + printf(" Right: %.2fin\n", size.right / 2540.0); + printf(" Top: %.2fin\n", size.top / 2540.0); + } + } + +Finally, the `cupsGetDestMediaDefault` function returns the default media size: + + int + cupsGetDestMediaDefault(http_t *http, cups_dest_t *dest, + cups_dinfo_t *dinfo, unsigned flags, + cups_size_t *size); + + +### Localizing Options and Values + +CUPS provides three functions to get localized, human-readable strings in the +user's current locale for options and values: `cupsLocalizeDestMedia`, +`cupsLocalizeDestOption`, and `cupsLocalizeDestValue`: + + const char * + cupsLocalizeDestMedia(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, unsigned flags, + cups_size_t *size); + + const char * + cupsLocalizeDestOption(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, + const char *option); + + const char * + cupsLocalizeDestValue(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, + const char *option, const char *value); + + +## Submitting a Print Job + +Once you are ready to submit a print job, you create a job using the +`cupsCreateDestJob` function: + + ipp_status_t + cupsCreateDestJob(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, int *job_id, + const char *title, int num_options, + cups_option_t *options); + +The `title` argument specifies a name for the print job such as "My Document". +The `num_options` and `options` arguments specify the options for the print +job which are allocated using the `cupsAddOption` function. + +When successful, the job's numeric identifier is stored in the integer pointed +to by the `job_id` argument and `IPP_STATUS_OK` is returned. Otherwise, an IPP +error status is returned. + +For example, the following code creates a new job that will print 42 copies of a +two-sided US Letter document: + + int job_id = 0; + int num_options = 0; + cups_option_t *options = NULL; + + num_options = cupsAddOption(CUPS_COPIES, "42", + num_options, &options); + num_options = cupsAddOption(CUPS_MEDIA, CUPS_MEDIA_LETTER, + num_options, &options); + num_options = cupsAddOption(CUPS_SIDES, + CUPS_SIDES_TWO_SIDED_PORTRAIT, + num_options, &options); + + if (cupsCreateDestJob(CUPS_HTTP_DEFAULT, dest, info, + &job_id, "My Document", num_options, + options) == IPP_STATUS_OK) + printf("Created job: %d\n", job_id); + else + printf("Unable to create job: %s\n", + cupsLastErrorString()); + +Once the job is created, you submit documents for the job using the +`cupsStartDestDocument`, `cupsWriteRequestData`, and `cupsFinishDestDocument` +functions: + + http_status_t + cupsStartDestDocument(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info, int job_id, + const char *docname, + const char *format, + int num_options, + cups_option_t *options, + int last_document); + + http_status_t + cupsWriteRequestData(http_t *http, const char *buffer, + size_t length); + + ipp_status_t + cupsFinishDestDocument(http_t *http, cups_dest_t *dest, + cups_dinfo_t *info); + +The `docname` argument specifies the name of the document, typically the +original filename. The `format` argument specifies the MIME media type of the +document, including the following constants: + +- `CUPS_FORMAT_JPEG`: "image/jpeg" +- `CUPS_FORMAT_PDF`: "application/pdf" +- `CUPS_FORMAT_POSTSCRIPT`: "application/postscript" +- `CUPS_FORMAT_TEXT`: "text/plain" + +The `num_options` and `options` arguments specify per-document print options, +which at present must be 0 and `NULL`. The `last_document` argument specifies +whether this is the last document in the job. + +For example, the following code submits a PDF file to the job that was just +created: + + FILE *fp = fopen("filename.pdf", "rb"); + size_t bytes; + char buffer[65536]; + + if (cupsStartDestDocument(CUPS_HTTP_DEFAULT, dest, info, + job_id, "filename.pdf", 0, NULL, + 1) == HTTP_STATUS_CONTINUE) + { + while ((bytes = fread(buffer, 1, sizeof(buffer), fp)) > 0) + if (cupsWriteRequestData(CUPS_HTTP_DEFAULT, buffer, + bytes) != HTTP_STATUS_CONTINUE) + break; + + if (cupsFinishDestDocument(CUPS_HTTP_DEFAULT, dest, + info) == IPP_STATUS_OK) + puts("Document send succeeded."); + else + printf("Document send failed: %s\n", + cupsLastErrorString()); + } + + fclose(fp); + + +# Sending IPP Requests + +CUPS provides a rich API for sending IPP requests to the scheduler or printers, +typically from management or utility applications whose primary purpose is not +to send print jobs. + + +## Connecting to the Scheduler or Printer + +The connection to the scheduler or printer is represented by the HTTP connection +type `http_t`. The `cupsConnectDest` function connects to the scheduler or +printer associated with the destination: + + http_t * + cupsConnectDest(cups_dest_t *dest, unsigned flags, int msec, + int *cancel, char *resource, + size_t resourcesize, cups_dest_cb_t cb, + void *user_data); + +The `dest` argument specifies the destination to connect to. + +The `flags` argument specifies whether you want to connect to the scheduler +(`CUPS_DEST_FLAGS_NONE`) or device/printer (`CUPS_DEST_FLAGS_DEVICE`) associated +with the destination. + +The `msec` argument specifies how long you are willing to wait for the +connection to be established in milliseconds. Specify a value of `-1` to wait +indefinitely. + +The `cancel` argument specifies the address of an integer variable that can be +set to a non-zero value to cancel the connection. Specify a value of `NULL` +to not provide a cancel variable. + +The `resource` and `resourcesize` arguments specify the address and size of a +character string array to hold the path to use when sending an IPP request. + +The `cb` and `user_data` arguments specify a destination callback function that +returns 1 to continue connecting or 0 to stop. The destination callback work +the same way as the one used for the `cupsEnumDests` function. + +On success, a HTTP connection is returned that can be used to send IPP requests +and get IPP responses. + +For example, the following code connects to the printer associated with a +destination with a 30 second timeout: + + char resource[256]; + http_t *http = cupsConnectDest(dest, CUPS_DEST_FLAGS_DEVICE, + 30000, NULL, resource, + sizeof(resource), NULL, NULL); + + +## Creating an IPP Request + +IPP requests are represented by the IPP message type `ipp_t` and each IPP +attribute in the request is representing using the type `ipp_attribute_t`. Each +IPP request includes an operation code (`IPP_OP_CREATE_JOB`, +`IPP_OP_GET_PRINTER_ATTRIBUTES`, etc.) and a 32-bit integer identifier. + +The `ippNewRequest` function creates a new IPP request: + + ipp_t * + ippNewRequest(ipp_op_t op); + +The `op` argument specifies the IPP operation code for the request. For +example, the following code creates an IPP Get-Printer-Attributes request: + + ipp_t *request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + +The request identifier is automatically set to a unique value for the current +process. + +Each IPP request starts with two IPP attributes, "attributes-charset" and +"attributes-natural-language", followed by IPP attribute(s) that specify the +target of the operation. The `ippNewRequest` automatically adds the correct +"attributes-charset" and "attributes-natural-language" attributes, but you must +add the target attribute(s). For example, the following code adds the +"printer-uri" attribute to the IPP Get-Printer-Attributes request to specify +which printer is being queried: + + const char *printer_uri = cupsGetOption("device-uri", + dest->num_options, + dest->options); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, printer_uri); + +> **Note:** +> +> If we wanted to query the scheduler instead of the device, we would look +> up the "printer-uri-supported" option instead of the "device-uri" value. + +The `ippAddString` function adds the "printer-uri" attribute the the IPP +request. The `IPP_TAG_OPERATION` argument specifies that the attribute is part +of the operation. The `IPP_TAG_URI` argument specifies that the value is a +Universal Resource Identifier (URI) string. The `NULL` argument specifies there +is no language (English, French, Japanese, etc.) associated with the string, and +the `printer_uri` argument specifies the string value. + +The IPP Get-Printer-Attributes request also supports an IPP attribute called +"requested-attributes" that lists the attributes and values you are interested +in. For example, the following code requests the printer state attributes: + + static const char * const requested_attributes[] = + { + "printer-state", + "printer-state-message", + "printer-state-reasons" + }; + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", 3, NULL, + requested_attributes); + +The `ippAddStrings` function adds an attribute with one or more strings, in this +case three. The `IPP_TAG_KEYWORD` argument specifies that the strings are +keyword values, which are used for attribute names. All strings use the same +language (`NULL`), and the attribute will contain the three strings in the +array `requested_attributes`. + +CUPS provides many functions to adding attributes of different types: + +- `ippAddBoolean` adds a boolean (`IPP_TAG_BOOLEAN`) attribute with one value. +- `ippAddInteger` adds an enum (`IPP_TAG_ENUM`) or integer (`IPP_TAG_INTEGER`) + attribute with one value. +- `ippAddIntegers` adds an enum or integer attribute with one or more values. +- `ippAddOctetString` adds an octetString attribute with one value. +- `ippAddOutOfBand` adds a admin-defined (`IPP_TAG_ADMINDEFINE`), default + (`IPP_TAG_DEFAULT`), delete-attribute (`IPP_TAG_DELETEATTR`), no-value + (`IPP_TAG_NOVALUE`), not-settable (`IPP_TAG_NOTSETTABLE`), unknown + (`IPP_TAG_UNKNOWN`), or unsupported (`IPP_TAG_UNSUPPORTED_VALUE`) out-of-band + attribute. +- `ippAddRange` adds a rangeOfInteger attribute with one range. +- `ippAddRanges` adds a rangeOfInteger attribute with one or more ranges. +- `ippAddResolution` adds a resolution attribute with one resolution. +- `ippAddResolutions` adds a resolution attribute with one or more resolutions. +- `ippAddString` adds a charset (`IPP_TAG_CHARSET`), keyword (`IPP_TAG_KEYWORD`), + mimeMediaType (`IPP_TAG_MIMETYPE`), name (`IPP_TAG_NAME` and + `IPP_TAG_NAMELANG`), naturalLanguage (`IPP_TAG_NATURAL_LANGUAGE`), text + (`IPP_TAG_TEXT` and `IPP_TAG_TEXTLANG`), uri (`IPP_TAG_URI`), or uriScheme + (`IPP_TAG_URISCHEME`) attribute with one value. +- `ippAddStrings` adds a charset, keyword, mimeMediaType, name, naturalLanguage, + text, uri, or uriScheme attribute with one or more values. + + +## Sending the IPP Request + +Once you have created the IPP request, you can send it using the +`cupsDoRequest` function. For example, the following code sends the IPP +Get-Printer-Attributes request to the destination and saves the response: + + ipp_t *response = cupsDoRequest(http, request, resource); + +For requests like Send-Document that include a file, the `cupsDoFileRequest` +function should be used: + + ipp_t *response = cupsDoFileRequest(http, request, resource, + filename); + +Both `cupsDoRequest` and `cupsDoFileRequest` free the IPP request. If a valid +IPP response is received, it is stored in a new IPP message (`ipp_t`) and +returned to the caller. Otherwise `NULL` is returned. + +The status from the most recent request can be queried using the `cupsLastError` +function, for example: + + if (cupsLastError() >= IPP_STATUS_ERROR_BAD_REQUEST) + { + /* request failed */ + } + +A human-readable error message is also available using the `cupsLastErrorString` +function: + + if (cupsLastError() >= IPP_STATUS_ERROR_BAD_REQUEST) + { + /* request failed */ + printf("Request failed: %s\n", cupsLastErrorString()); + } + + +## Processing the IPP Response + +Each response to an IPP request is also an IPP message (`ipp_t`) with its own +IPP attributes (`ipp_attribute_t`) that includes a status code (`IPP_STATUS_OK`, +`IPP_STATUS_ERROR_BAD_REQUEST`, etc.) and the corresponding 32-bit integer +identifier from the request. + +For example, the following code finds the printer state attributes and prints +their values: + + ipp_attribute_t *attr; + + if ((attr = ippFindAttribute(response, "printer-state", + IPP_TAG_ENUM)) != NULL) + { + printf("printer-state=%s\n", + ippEnumString("printer-state", ippGetInteger(attr, 0))); + } + else + puts("printer-state=unknown"); + + if ((attr = ippFindAttribute(response, "printer-state-message", + IPP_TAG_TEXT)) != NULL) + { + printf("printer-state-message=\"%s\"\n", + ippGetString(attr, 0, NULL))); + } + + if ((attr = ippFindAttribute(response, "printer-state-reasons", + IPP_TAG_KEYWORD)) != NULL) + { + int i, count = ippGetCount(attr); + + puts("printer-state-reasons="); + for (i = 0; i < count; i ++) + printf(" %s\n", ippGetString(attr, i, NULL))); + } + +The `ippGetCount` function returns the number of values in an attribute. + +The `ippGetInteger` and `ippGetString` functions return a single integer or +string value from an attribute. + +The `ippEnumString` function converts a enum value to its keyword (string) +equivalent. + +Once you are done using the IPP response message, free it using the `ippDelete` +function: + + ippDelete(response); + + +## Authentication + +CUPS normally handles authentication through the console. GUI applications +should set a password callback using the `cupsSetPasswordCB2` function: + + void + cupsSetPasswordCB2(cups_password_cb2_t cb, void *user_data); + +The password callback will be called when needed and is responsible for setting +the current user name using `cupsSetUser` and returning a string: + + const char * + cups_password_cb2(const char *prompt, http_t *http, + const char *method, const char *resource, + void *user_data); + +The `prompt` argument is a string from CUPS that should be displayed to the +user. + +The `http` argument is the connection hosting the request that is being +authenticated. The password callback can call the `httpGetField` and +`httpGetSubField` functions to look for additional details concerning the +authentication challenge. + +The `method` argument specifies the HTTP method used for the request and is +typically "POST". + +The `resource` argument specifies the path used for the request. + +The `user_data` argument provides the user data pointer from the +`cupsSetPasswordCB2` call. diff --git a/cups/cupspm.opacity b/cups/cupspm.opacity new file mode 100644 index 0000000..261626f Binary files /dev/null and b/cups/cupspm.opacity differ diff --git a/cups/cupspm.png b/cups/cupspm.png new file mode 100644 index 0000000..d9ac067 Binary files /dev/null and b/cups/cupspm.png differ diff --git a/cups/debug-internal.h b/cups/debug-internal.h new file mode 100644 index 0000000..2b57854 --- /dev/null +++ b/cups/debug-internal.h @@ -0,0 +1,84 @@ +/* + * Internal debugging macros for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_DEBUG_INTERNAL_H_ +# define _CUPS_DEBUG_INTERNAL_H_ + + +/* + * Include necessary headers... + */ + +# include "debug-private.h" + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * The debug macros are used if you compile with DEBUG defined. + * + * Usage: + * + * DEBUG_puts("string") + * DEBUG_printf(("format string", arg, arg, ...)); + * + * Note the extra parenthesis around the DEBUG_printf macro... + * + * Newlines are not required on the end of messages, as both add one when + * writing the output. + * + * If the first character is a digit, then it represents the "log level" of the + * message from 0 to 9. The default level is 1. The following defines the + * current levels we use: + * + * 0 = public APIs, other than value accessor functions + * 1 = return values for public APIs + * 2 = public value accessor APIs, progress for public APIs + * 3 = return values for value accessor APIs + * 4 = private APIs, progress for value accessor APIs + * 5 = return values for private APIs + * 6 = progress for private APIs + * 7 = static functions + * 8 = return values for static functions + * 9 = progress for static functions + */ + +# ifdef DEBUG +# define DEBUG_puts(x) _cups_debug_puts(x) +# define DEBUG_printf(x) _cups_debug_printf x +# else +# define DEBUG_puts(x) +# define DEBUG_printf(x) +# endif /* DEBUG */ + + +/* + * Prototypes... + */ + +# ifdef DEBUG +extern int _cups_debug_fd _CUPS_INTERNAL; +extern int _cups_debug_level _CUPS_INTERNAL; +extern void _cups_debug_printf(const char *format, ...) _CUPS_FORMAT(1,2) _CUPS_INTERNAL; +extern void _cups_debug_puts(const char *s) _CUPS_INTERNAL; +# endif /* DEBUG */ + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_DEBUG_INTERNAL_H_ */ diff --git a/cups/debug-private.h b/cups/debug-private.h new file mode 100644 index 0000000..fb84a2f --- /dev/null +++ b/cups/debug-private.h @@ -0,0 +1,65 @@ +/* + * Private debugging APIs for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_DEBUG_PRIVATE_H_ +# define _CUPS_DEBUG_PRIVATE_H_ + + +/* + * Include necessary headers... + */ + +# include + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * The debug macros are used if you compile with DEBUG defined. + * + * Usage: + * + * DEBUG_set("logfile", "level", "filter", 1) + * + * The DEBUG_set macro allows an application to programmatically enable (or + * disable) debug logging. The arguments correspond to the CUPS_DEBUG_LOG, + * CUPS_DEBUG_LEVEL, and CUPS_DEBUG_FILTER environment variables. The 1 on the + * end forces the values to override the environment. + */ + +# ifdef DEBUG +# define DEBUG_set(logfile,level,filter) _cups_debug_set(logfile,level,filter,1) +# else +# define DEBUG_set(logfile,level,filter) +# endif /* DEBUG */ + + +/* + * Prototypes... + */ + +extern void _cups_debug_set(const char *logfile, const char *level, const char *filter, int force) _CUPS_PRIVATE; +# ifdef _WIN32 +extern int _cups_gettimeofday(struct timeval *tv, void *tz) _CUPS_PRIVATE; +# define gettimeofday(a,b) _cups_gettimeofday(a, b) +# endif /* _WIN32 */ + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_DEBUG_PRIVATE_H_ */ diff --git a/cups/debug.c b/cups/debug.c new file mode 100644 index 0000000..6b3914e --- /dev/null +++ b/cups/debug.c @@ -0,0 +1,656 @@ +/* + * Debugging functions for CUPS. + * + * Copyright © 2008-2018 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include "thread-private.h" +#ifdef _WIN32 +# include +# include +# include +# define getpid (int)GetCurrentProcessId +int /* O - 0 on success, -1 on failure */ +_cups_gettimeofday(struct timeval *tv, /* I - Timeval struct */ + void *tz) /* I - Timezone */ +{ + struct _timeb timebuffer; /* Time buffer struct */ + _ftime(&timebuffer); + tv->tv_sec = (long)timebuffer.time; + tv->tv_usec = timebuffer.millitm * 1000; + return 0; +} +#else +# include +# include +#endif /* _WIN32 */ +#include +#include + + +#ifdef DEBUG +/* + * Globals... + */ + +int _cups_debug_fd = -1; + /* Debug log file descriptor */ +int _cups_debug_level = 1; + /* Log level (0 to 9) */ + + +/* + * Local globals... + */ + +static regex_t *debug_filter = NULL; + /* Filter expression for messages */ +static int debug_init = 0; /* Did we initialize debugging? */ +static _cups_mutex_t debug_init_mutex = _CUPS_MUTEX_INITIALIZER, + /* Mutex to control initialization */ + debug_log_mutex = _CUPS_MUTEX_INITIALIZER; + /* Mutex to serialize log entries */ + + +/* + * 'debug_thread_id()' - Return an integer representing the current thread. + */ + +static int /* O - Local thread ID */ +debug_thread_id(void) +{ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + + return (cg->thread_id); +} + + +/* + * '_cups_debug_printf()' - Write a formatted line to the log. + */ + +void +_cups_debug_printf(const char *format, /* I - Printf-style format string */ + ...) /* I - Additional arguments as needed */ +{ + va_list ap; /* Pointer to arguments */ + struct timeval curtime; /* Current time */ + char buffer[2048]; /* Output buffer */ + ssize_t bytes; /* Number of bytes in buffer */ + int level; /* Log level in message */ + + + /* + * See if we need to do any logging... + */ + + if (!debug_init) + _cups_debug_set(getenv("CUPS_DEBUG_LOG"), getenv("CUPS_DEBUG_LEVEL"), + getenv("CUPS_DEBUG_FILTER"), 0); + + if (_cups_debug_fd < 0) + return; + + /* + * Filter as needed... + */ + + if (isdigit(format[0])) + level = *format++ - '0'; + else + level = 0; + + if (level > _cups_debug_level) + return; + + if (debug_filter) + { + int result; /* Filter result */ + + _cupsMutexLock(&debug_init_mutex); + result = regexec(debug_filter, format, 0, NULL, 0); + _cupsMutexUnlock(&debug_init_mutex); + + if (result) + return; + } + + /* + * Format the message... + */ + + gettimeofday(&curtime, NULL); + snprintf(buffer, sizeof(buffer), "T%03d %02d:%02d:%02d.%03d ", + debug_thread_id(), (int)((curtime.tv_sec / 3600) % 24), + (int)((curtime.tv_sec / 60) % 60), + (int)(curtime.tv_sec % 60), (int)(curtime.tv_usec / 1000)); + + va_start(ap, format); + bytes = _cups_safe_vsnprintf(buffer + 19, sizeof(buffer) - 20, format, ap) + 19; + va_end(ap); + + if ((size_t)bytes >= (sizeof(buffer) - 1)) + { + buffer[sizeof(buffer) - 2] = '\n'; + bytes = sizeof(buffer) - 1; + } + else if (buffer[bytes - 1] != '\n') + { + buffer[bytes++] = '\n'; + buffer[bytes] = '\0'; + } + + /* + * Write it out... + */ + + _cupsMutexLock(&debug_log_mutex); + write(_cups_debug_fd, buffer, (size_t)bytes); + _cupsMutexUnlock(&debug_log_mutex); +} + + +/* + * '_cups_debug_puts()' - Write a single line to the log. + */ + +void +_cups_debug_puts(const char *s) /* I - String to output */ +{ + struct timeval curtime; /* Current time */ + char buffer[2048]; /* Output buffer */ + ssize_t bytes; /* Number of bytes in buffer */ + int level; /* Log level in message */ + + + /* + * See if we need to do any logging... + */ + + if (!debug_init) + _cups_debug_set(getenv("CUPS_DEBUG_LOG"), getenv("CUPS_DEBUG_LEVEL"), + getenv("CUPS_DEBUG_FILTER"), 0); + + if (_cups_debug_fd < 0) + return; + + /* + * Filter as needed... + */ + + if (isdigit(s[0])) + level = *s++ - '0'; + else + level = 0; + + if (level > _cups_debug_level) + return; + + if (debug_filter) + { + int result; /* Filter result */ + + _cupsMutexLock(&debug_init_mutex); + result = regexec(debug_filter, s, 0, NULL, 0); + _cupsMutexUnlock(&debug_init_mutex); + + if (result) + return; + } + + /* + * Format the message... + */ + + gettimeofday(&curtime, NULL); + bytes = snprintf(buffer, sizeof(buffer), "T%03d %02d:%02d:%02d.%03d %s", + debug_thread_id(), (int)((curtime.tv_sec / 3600) % 24), + (int)((curtime.tv_sec / 60) % 60), + (int)(curtime.tv_sec % 60), (int)(curtime.tv_usec / 1000), + s); + + if ((size_t)bytes >= (sizeof(buffer) - 1)) + { + buffer[sizeof(buffer) - 2] = '\n'; + bytes = sizeof(buffer) - 1; + } + else if (buffer[bytes - 1] != '\n') + { + buffer[bytes++] = '\n'; + buffer[bytes] = '\0'; + } + + /* + * Write it out... + */ + + _cupsMutexLock(&debug_log_mutex); + write(_cups_debug_fd, buffer, (size_t)bytes); + _cupsMutexUnlock(&debug_log_mutex); +} + + +/* + * '_cups_debug_set()' - Enable or disable debug logging. + */ + +void +_cups_debug_set(const char *logfile, /* I - Log file or NULL */ + const char *level, /* I - Log level or NULL */ + const char *filter, /* I - Filter string or NULL */ + int force) /* I - Force initialization */ +{ + _cupsMutexLock(&debug_init_mutex); + + if (!debug_init || force) + { + /* + * Restore debug settings to defaults... + */ + + if (_cups_debug_fd != -1) + { + close(_cups_debug_fd); + _cups_debug_fd = -1; + } + + if (debug_filter) + { + regfree((regex_t *)debug_filter); + debug_filter = NULL; + } + + _cups_debug_level = 1; + + /* + * Open logs, set log levels, etc. + */ + + if (!logfile) + _cups_debug_fd = -1; + else if (!strcmp(logfile, "-")) + _cups_debug_fd = 2; + else + { + char buffer[1024]; /* Filename buffer */ + + snprintf(buffer, sizeof(buffer), logfile, getpid()); + + if (buffer[0] == '+') + _cups_debug_fd = open(buffer + 1, O_WRONLY | O_APPEND | O_CREAT, 0644); + else + _cups_debug_fd = open(buffer, O_WRONLY | O_TRUNC | O_CREAT, 0644); + } + + if (level) + _cups_debug_level = atoi(level); + + if (filter) + { + if ((debug_filter = (regex_t *)calloc(1, sizeof(regex_t))) == NULL) + fputs("Unable to allocate memory for CUPS_DEBUG_FILTER - results not " + "filtered!\n", stderr); + else if (regcomp(debug_filter, filter, REG_EXTENDED)) + { + fputs("Bad regular expression in CUPS_DEBUG_FILTER - results not " + "filtered!\n", stderr); + free(debug_filter); + debug_filter = NULL; + } + } + + debug_init = 1; + } + + _cupsMutexUnlock(&debug_init_mutex); +} + + +#else +/* + * '_cups_debug_set()' - Enable or disable debug logging. + */ + +void +_cups_debug_set(const char *logfile, /* I - Log file or NULL */ + const char *level, /* I - Log level or NULL */ + const char *filter, /* I - Filter string or NULL */ + int force) /* I - Force initialization */ +{ + (void)logfile; + (void)level; + (void)filter; + (void)force; +} +#endif /* DEBUG */ + + +/* + * '_cups_safe_vsnprintf()' - Format a string into a fixed size buffer, + * quoting special characters. + */ + +ssize_t /* O - Number of bytes formatted */ +_cups_safe_vsnprintf( + char *buffer, /* O - Output buffer */ + size_t bufsize, /* O - Size of output buffer */ + const char *format, /* I - printf-style format string */ + va_list ap) /* I - Pointer to additional arguments */ +{ + char *bufptr, /* Pointer to position in buffer */ + *bufend, /* Pointer to end of buffer */ + size, /* Size character (h, l, L) */ + type; /* Format type character */ + int width, /* Width of field */ + prec; /* Number of characters of precision */ + char tformat[100], /* Temporary format string for snprintf() */ + *tptr, /* Pointer into temporary format */ + temp[1024]; /* Buffer for formatted numbers */ + char *s; /* Pointer to string */ + ssize_t bytes; /* Total number of bytes needed */ + + + if (!buffer || bufsize < 2 || !format) + return (-1); + + /* + * Loop through the format string, formatting as needed... + */ + + bufptr = buffer; + bufend = buffer + bufsize - 1; + bytes = 0; + + while (*format) + { + if (*format == '%') + { + tptr = tformat; + *tptr++ = *format++; + + if (*format == '%') + { + if (bufptr < bufend) + *bufptr++ = *format; + bytes ++; + format ++; + continue; + } + else if (strchr(" -+#\'", *format)) + *tptr++ = *format++; + + if (*format == '*') + { + /* + * Get width from argument... + */ + + format ++; + width = va_arg(ap, int); + + snprintf(tptr, sizeof(tformat) - (size_t)(tptr - tformat), "%d", width); + tptr += strlen(tptr); + } + else + { + width = 0; + + while (isdigit(*format & 255)) + { + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + width = width * 10 + *format++ - '0'; + } + } + + if (*format == '.') + { + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + format ++; + + if (*format == '*') + { + /* + * Get precision from argument... + */ + + format ++; + prec = va_arg(ap, int); + + snprintf(tptr, sizeof(tformat) - (size_t)(tptr - tformat), "%d", prec); + tptr += strlen(tptr); + } + else + { + prec = 0; + + while (isdigit(*format & 255)) + { + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + prec = prec * 10 + *format++ - '0'; + } + } + } + + if (*format == 'l' && format[1] == 'l') + { + size = 'L'; + + if (tptr < (tformat + sizeof(tformat) - 2)) + { + *tptr++ = 'l'; + *tptr++ = 'l'; + } + + format += 2; + } + else if (*format == 'h' || *format == 'l' || *format == 'L') + { + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + size = *format++; + } + else + size = 0; + + if (!*format) + break; + + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + type = *format++; + *tptr = '\0'; + + switch (type) + { + case 'E' : /* Floating point formats */ + case 'G' : + case 'e' : + case 'f' : + case 'g' : + if ((size_t)(width + 2) > sizeof(temp)) + break; + + snprintf(temp, sizeof(temp), tformat, va_arg(ap, double)); + + bytes += (int)strlen(temp); + + if (bufptr) + { + strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); + bufptr += strlen(bufptr); + } + break; + + case 'B' : /* Integer formats */ + case 'X' : + case 'b' : + case 'd' : + case 'i' : + case 'o' : + case 'u' : + case 'x' : + if ((size_t)(width + 2) > sizeof(temp)) + break; + +# ifdef HAVE_LONG_LONG + if (size == 'L') + snprintf(temp, sizeof(temp), tformat, va_arg(ap, long long)); + else +# endif /* HAVE_LONG_LONG */ + if (size == 'l') + snprintf(temp, sizeof(temp), tformat, va_arg(ap, long)); + else + snprintf(temp, sizeof(temp), tformat, va_arg(ap, int)); + + bytes += (int)strlen(temp); + + if (bufptr) + { + strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); + bufptr += strlen(bufptr); + } + break; + + case 'p' : /* Pointer value */ + if ((size_t)(width + 2) > sizeof(temp)) + break; + + snprintf(temp, sizeof(temp), tformat, va_arg(ap, void *)); + + bytes += (int)strlen(temp); + + if (bufptr) + { + strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); + bufptr += strlen(bufptr); + } + break; + + case 'c' : /* Character or character array */ + bytes += width; + + if (bufptr) + { + if (width <= 1) + *bufptr++ = (char)va_arg(ap, int); + else + { + if ((bufptr + width) > bufend) + width = (int)(bufend - bufptr); + + memcpy(bufptr, va_arg(ap, char *), (size_t)width); + bufptr += width; + } + } + break; + + case 's' : /* String */ + if ((s = va_arg(ap, char *)) == NULL) + s = "(null)"; + + /* + * Copy the C string, replacing control chars and \ with + * C character escapes... + */ + + for (bufend --; *s && bufptr < bufend; s ++) + { + if (*s == '\n') + { + *bufptr++ = '\\'; + *bufptr++ = 'n'; + bytes += 2; + } + else if (*s == '\r') + { + *bufptr++ = '\\'; + *bufptr++ = 'r'; + bytes += 2; + } + else if (*s == '\t') + { + *bufptr++ = '\\'; + *bufptr++ = 't'; + bytes += 2; + } + else if (*s == '\\') + { + *bufptr++ = '\\'; + *bufptr++ = '\\'; + bytes += 2; + } + else if (*s == '\'') + { + *bufptr++ = '\\'; + *bufptr++ = '\''; + bytes += 2; + } + else if (*s == '\"') + { + *bufptr++ = '\\'; + *bufptr++ = '\"'; + bytes += 2; + } + else if ((*s & 255) < ' ') + { + if ((bufptr + 2) >= bufend) + break; + + *bufptr++ = '\\'; + *bufptr++ = '0'; + *bufptr++ = '0' + *s / 8; + *bufptr++ = '0' + (*s & 7); + bytes += 4; + } + else + { + *bufptr++ = *s; + bytes ++; + } + } + + bufend ++; + break; + + case 'n' : /* Output number of chars so far */ + *(va_arg(ap, int *)) = (int)bytes; + break; + } + } + else + { + bytes ++; + + if (bufptr < bufend) + *bufptr++ = *format; + + format ++; + } + } + + /* + * Nul-terminate the string and return the number of characters needed. + */ + + *bufptr = '\0'; + + return (bytes); +} diff --git a/cups/dest-job.c b/cups/dest-job.c new file mode 100644 index 0000000..f4e5b33 --- /dev/null +++ b/cups/dest-job.c @@ -0,0 +1,382 @@ +/* + * Destination job support for CUPS. + * + * Copyright 2012-2017 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" + + +/* + * 'cupsCancelDestJob()' - Cancel a job on a destination. + * + * The "job_id" is the number returned by cupsCreateDestJob. + * + * Returns @code IPP_STATUS_OK@ on success and + * @code IPP_STATUS_ERROR_NOT_AUTHORIZED@ or + * @code IPP_STATUS_ERROR_FORBIDDEN@ on failure. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_status_t /* O - Status of cancel operation */ +cupsCancelDestJob(http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + int job_id) /* I - Job ID */ +{ + cups_dinfo_t *info; /* Destination information */ + + + if ((info = cupsCopyDestInfo(http, dest)) != NULL) + { + ipp_t *request; /* Cancel-Job request */ + + request = ippNewRequest(IPP_OP_CANCEL_JOB); + + ippSetVersion(request, info->version / 10, info->version % 10); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, info->uri); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", job_id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + + ippDelete(cupsDoRequest(http, request, info->resource)); + cupsFreeDestInfo(info); + } + + return (cupsLastError()); +} + + +/* + * 'cupsCloseDestJob()' - Close a job and start printing. + * + * Use when the last call to cupsStartDocument passed 0 for "last_document". + * "job_id" is the job ID returned by cupsCreateDestJob. Returns @code IPP_STATUS_OK@ + * on success. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_status_t /* O - IPP status code */ +cupsCloseDestJob( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *info, /* I - Destination information */ + int job_id) /* I - Job ID */ +{ + int i; /* Looping var */ + ipp_t *request = NULL;/* Close-Job/Send-Document request */ + ipp_attribute_t *attr; /* operations-supported attribute */ + + + DEBUG_printf(("cupsCloseDestJob(http=%p, dest=%p(%s/%s), info=%p, job_id=%d)", (void *)http, (void *)dest, dest ? dest->name : NULL, dest ? dest->instance : NULL, (void *)info, job_id)); + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (!http || !dest || !info || job_id <= 0) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + DEBUG_puts("1cupsCloseDestJob: Bad arguments."); + return (IPP_STATUS_ERROR_INTERNAL); + } + + /* + * Build a Close-Job or empty Send-Document request... + */ + + if ((attr = ippFindAttribute(info->attrs, "operations-supported", + IPP_TAG_ENUM)) != NULL) + { + for (i = 0; i < attr->num_values; i ++) + if (attr->values[i].integer == IPP_OP_CLOSE_JOB) + { + request = ippNewRequest(IPP_OP_CLOSE_JOB); + break; + } + } + + if (!request) + request = ippNewRequest(IPP_OP_SEND_DOCUMENT); + + if (!request) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOMEM), 0); + DEBUG_puts("1cupsCloseDestJob: Unable to create Close-Job/Send-Document " + "request."); + return (IPP_STATUS_ERROR_INTERNAL); + } + + ippSetVersion(request, info->version / 10, info->version % 10); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, info->uri); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", + job_id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + if (ippGetOperation(request) == IPP_OP_SEND_DOCUMENT) + ippAddBoolean(request, IPP_TAG_OPERATION, "last-document", 1); + + /* + * Send the request and return the status... + */ + + ippDelete(cupsDoRequest(http, request, info->resource)); + + DEBUG_printf(("1cupsCloseDestJob: %s (%s)", ippErrorString(cupsLastError()), + cupsLastErrorString())); + + return (cupsLastError()); +} + + +/* + * 'cupsCreateDestJob()' - Create a job on a destination. + * + * Returns @code IPP_STATUS_OK@ or @code IPP_STATUS_OK_SUBST@ on success, saving the job ID + * in the variable pointed to by "job_id". + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_status_t /* O - IPP status code */ +cupsCreateDestJob( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *info, /* I - Destination information */ + int *job_id, /* O - Job ID or 0 on error */ + const char *title, /* I - Job name */ + int num_options, /* I - Number of job options */ + cups_option_t *options) /* I - Job options */ +{ + ipp_t *request, /* Create-Job request */ + *response; /* Create-Job response */ + ipp_attribute_t *attr; /* job-id attribute */ + + + DEBUG_printf(("cupsCreateDestJob(http=%p, dest=%p(%s/%s), info=%p, " + "job_id=%p, title=\"%s\", num_options=%d, options=%p)", (void *)http, (void *)dest, dest ? dest->name : NULL, dest ? dest->instance : NULL, (void *)info, (void *)job_id, title, num_options, (void *)options)); + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (job_id) + *job_id = 0; + + if (!http || !dest || !info || !job_id) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + DEBUG_puts("1cupsCreateDestJob: Bad arguments."); + return (IPP_STATUS_ERROR_INTERNAL); + } + + /* + * Build a Create-Job request... + */ + + if ((request = ippNewRequest(IPP_OP_CREATE_JOB)) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOMEM), 0); + DEBUG_puts("1cupsCreateDestJob: Unable to create Create-Job request."); + return (IPP_STATUS_ERROR_INTERNAL); + } + + ippSetVersion(request, info->version / 10, info->version % 10); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, info->uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + if (title) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "job-name", NULL, + title); + + cupsEncodeOptions2(request, num_options, options, IPP_TAG_OPERATION); + cupsEncodeOptions2(request, num_options, options, IPP_TAG_JOB); + cupsEncodeOptions2(request, num_options, options, IPP_TAG_SUBSCRIPTION); + + /* + * Send the request and get the job-id... + */ + + response = cupsDoRequest(http, request, info->resource); + + if ((attr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER)) != NULL) + { + *job_id = attr->values[0].integer; + DEBUG_printf(("1cupsCreateDestJob: job-id=%d", *job_id)); + } + + ippDelete(response); + + /* + * Return the status code from the Create-Job request... + */ + + DEBUG_printf(("1cupsCreateDestJob: %s (%s)", ippErrorString(cupsLastError()), + cupsLastErrorString())); + + return (cupsLastError()); +} + + +/* + * 'cupsFinishDestDocument()' - Finish the current document. + * + * Returns @code IPP_STATUS_OK@ or @code IPP_STATUS_OK_SUBST@ on success. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_status_t /* O - Status of document submission */ +cupsFinishDestDocument( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *info) /* I - Destination information */ +{ + DEBUG_printf(("cupsFinishDestDocument(http=%p, dest=%p(%s/%s), info=%p)", (void *)http, (void *)dest, dest ? dest->name : NULL, dest ? dest->instance : NULL, (void *)info)); + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (!http || !dest || !info) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + DEBUG_puts("1cupsFinishDestDocument: Bad arguments."); + return (IPP_STATUS_ERROR_INTERNAL); + } + + /* + * Get the response at the end of the document and return it... + */ + + ippDelete(cupsGetResponse(http, info->resource)); + + DEBUG_printf(("1cupsFinishDestDocument: %s (%s)", + ippErrorString(cupsLastError()), cupsLastErrorString())); + + return (cupsLastError()); +} + + +/* + * 'cupsStartDestDocument()' - Start a new document. + * + * "job_id" is the job ID returned by cupsCreateDestJob. "docname" is the name + * of the document/file being printed, "format" is the MIME media type for the + * document (see CUPS_FORMAT_xxx constants), and "num_options" and "options" + * are the options do be applied to the document. "last_document" should be 1 + * if this is the last document to be submitted in the job. Returns + * @code HTTP_CONTINUE@ on success. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +http_status_t /* O - Status of document creation */ +cupsStartDestDocument( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *info, /* I - Destination information */ + int job_id, /* I - Job ID */ + const char *docname, /* I - Document name */ + const char *format, /* I - Document format */ + int num_options, /* I - Number of document options */ + cups_option_t *options, /* I - Document options */ + int last_document) /* I - 1 if this is the last document */ +{ + ipp_t *request; /* Send-Document request */ + http_status_t status; /* HTTP status */ + + + DEBUG_printf(("cupsStartDestDocument(http=%p, dest=%p(%s/%s), info=%p, job_id=%d, docname=\"%s\", format=\"%s\", num_options=%d, options=%p, last_document=%d)", (void *)http, (void *)dest, dest ? dest->name : NULL, dest ? dest->instance : NULL, (void *)info, job_id, docname, format, num_options, (void *)options, last_document)); + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (!http || !dest || !info || job_id <= 0) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + DEBUG_puts("1cupsStartDestDocument: Bad arguments."); + return (HTTP_STATUS_ERROR); + } + + /* + * Create a Send-Document request... + */ + + if ((request = ippNewRequest(IPP_OP_SEND_DOCUMENT)) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOMEM), 0); + DEBUG_puts("1cupsStartDestDocument: Unable to create Send-Document " + "request."); + return (HTTP_STATUS_ERROR); + } + + ippSetVersion(request, info->version / 10, info->version % 10); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, info->uri); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", job_id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + if (docname) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "document-name", + NULL, docname); + if (format) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, + "document-format", NULL, format); + ippAddBoolean(request, IPP_TAG_OPERATION, "last-document", (char)last_document); + + cupsEncodeOptions2(request, num_options, options, IPP_TAG_OPERATION); + cupsEncodeOptions2(request, num_options, options, IPP_TAG_DOCUMENT); + + /* + * Send and delete the request, then return the status... + */ + + status = cupsSendRequest(http, request, info->resource, CUPS_LENGTH_VARIABLE); + + ippDelete(request); + + return (status); +} diff --git a/cups/dest-localization.c b/cups/dest-localization.c new file mode 100644 index 0000000..67d01f4 --- /dev/null +++ b/cups/dest-localization.c @@ -0,0 +1,445 @@ +/* + * Destination localization support for CUPS. + * + * Copyright 2012-2017 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" + + +/* + * Local functions... + */ + +static void cups_create_localizations(http_t *http, cups_dinfo_t *dinfo); + + +/* + * 'cupsLocalizeDestMedia()' - Get the localized string for a destination media + * size. + * + * The returned string is stored in the destination information and will become + * invalid if the destination information is deleted. + * + * @since CUPS 2.0/macOS 10.10@ + */ + +const char * /* O - Localized string */ +cupsLocalizeDestMedia( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + unsigned flags, /* I - Media flags */ + cups_size_t *size) /* I - Media size */ +{ + cups_lang_t *lang; /* Standard localizations */ + _cups_message_t key, /* Search key */ + *match; /* Matching entry */ + pwg_media_t *pwg; /* PWG media information */ + cups_array_t *db; /* Media database */ + _cups_media_db_t *mdb; /* Media database entry */ + char lstr[1024], /* Localized size name */ + temp[256]; /* Temporary string */ + const char *lsize, /* Localized media size */ + *lsource, /* Localized media source */ + *ltype; /* Localized media type */ + + + DEBUG_printf(("cupsLocalizeDestMedia(http=%p, dest=%p, dinfo=%p, flags=%x, size=%p(\"%s\"))", (void *)http, (void *)dest, (void *)dinfo, flags, (void *)size, size ? size->media : "(null)")); + + /* + * Range check input... + */ + + if (!http || !dest || !dinfo || !size) + { + DEBUG_puts("1cupsLocalizeDestMedia: Returning NULL."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (NULL); + } + + /* + * Find the matching media database entry... + */ + + if (flags & CUPS_MEDIA_FLAGS_READY) + db = dinfo->ready_db; + else + db = dinfo->media_db; + + DEBUG_printf(("1cupsLocalizeDestMedia: size->media=\"%s\"", size->media)); + + for (mdb = (_cups_media_db_t *)cupsArrayFirst(db); mdb; mdb = (_cups_media_db_t *)cupsArrayNext(db)) + { + if (mdb->key && !strcmp(mdb->key, size->media)) + break; + else if (mdb->size_name && !strcmp(mdb->size_name, size->media)) + break; + } + + if (!mdb) + { + for (mdb = (_cups_media_db_t *)cupsArrayFirst(db); mdb; mdb = (_cups_media_db_t *)cupsArrayNext(db)) + { + if (mdb->width == size->width && mdb->length == size->length && mdb->bottom == size->bottom && mdb->left == size->left && mdb->right == size->right && mdb->top == size->top) + break; + } + } + + /* + * See if the localization is cached... + */ + + lang = cupsLangDefault(); + + if (!dinfo->localizations) + cups_create_localizations(http, dinfo); + + snprintf(temp, sizeof(temp), "media.%s", size->media); + key.msg = temp; + + if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL) + { + lsize = match->str; + } + else + { + /* + * Not a media name, try a media-key name... + */ + + snprintf(temp, sizeof(temp), "media-key.%s", size->media); + if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL) + lsize = match->str; + else + lsize = NULL; + } + + if (!lsize && (pwg = pwgMediaForSize(size->width, size->length)) != NULL && pwg->ppd) + { + /* + * Get a standard localization... + */ + + snprintf(temp, sizeof(temp), "media.%s", pwg->pwg); + if ((lsize = _cupsLangString(lang, temp)) == temp) + lsize = NULL; + } + + if (!lsize) + { + /* + * Make a dimensional localization... + */ + + if ((size->width % 635) == 0 && (size->length % 635) == 0) + { + /* + * Use inches since the size is a multiple of 1/4 inch. + */ + + snprintf(temp, sizeof(temp), _cupsLangString(lang, _("%g x %g \"")), size->width / 2540.0, size->length / 2540.0); + } + else + { + /* + * Use millimeters since the size is not a multiple of 1/4 inch. + */ + + snprintf(temp, sizeof(temp), _cupsLangString(lang, _("%d x %d mm")), (size->width + 50) / 100, (size->length + 50) / 100); + } + + lsize = temp; + } + + if (mdb) + { + DEBUG_printf(("1cupsLocalizeDestMedia: MATCH mdb%p [key=\"%s\" size_name=\"%s\" source=\"%s\" type=\"%s\" width=%d length=%d B%d L%d R%d T%d]", (void *)mdb, mdb->key, mdb->size_name, mdb->source, mdb->type, mdb->width, mdb->length, mdb->bottom, mdb->left, mdb->right, mdb->top)); + + if ((lsource = cupsLocalizeDestValue(http, dest, dinfo, "media-source", mdb->source)) == mdb->source && mdb->source) + lsource = _cupsLangString(lang, _("Other Tray")); + if ((ltype = cupsLocalizeDestValue(http, dest, dinfo, "media-type", mdb->type)) == mdb->type && mdb->type) + ltype = _cupsLangString(lang, _("Other Media")); + } + else + { + lsource = NULL; + ltype = NULL; + } + + if (!lsource && !ltype) + { + if (!size->bottom && !size->left && !size->right && !size->top) + snprintf(lstr, sizeof(lstr), _cupsLangString(lang, _("%s (Borderless)")), lsize); + else + strlcpy(lstr, lsize, sizeof(lstr)); + } + else if (!lsource) + { + if (!size->bottom && !size->left && !size->right && !size->top) + snprintf(lstr, sizeof(lstr), _cupsLangString(lang, _("%s (Borderless, %s)")), lsize, ltype); + else + snprintf(lstr, sizeof(lstr), _cupsLangString(lang, _("%s (%s)")), lsize, ltype); + } + else if (!ltype) + { + if (!size->bottom && !size->left && !size->right && !size->top) + snprintf(lstr, sizeof(lstr), _cupsLangString(lang, _("%s (Borderless, %s)")), lsize, lsource); + else + snprintf(lstr, sizeof(lstr), _cupsLangString(lang, _("%s (%s)")), lsize, lsource); + } + else + { + if (!size->bottom && !size->left && !size->right && !size->top) + snprintf(lstr, sizeof(lstr), _cupsLangString(lang, _("%s (Borderless, %s, %s)")), lsize, ltype, lsource); + else + snprintf(lstr, sizeof(lstr), _cupsLangString(lang, _("%s (%s, %s)")), lsize, ltype, lsource); + } + + if ((match = (_cups_message_t *)calloc(1, sizeof(_cups_message_t))) == NULL) + return (NULL); + + match->msg = strdup(size->media); + match->str = strdup(lstr); + + cupsArrayAdd(dinfo->localizations, match); + + DEBUG_printf(("1cupsLocalizeDestMedia: Returning \"%s\".", match->str)); + + return (match->str); +} + + +/* + * 'cupsLocalizeDestOption()' - Get the localized string for a destination + * option. + * + * The returned string is stored in the destination information and will become + * invalid if the destination information is deleted. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +const char * /* O - Localized string */ +cupsLocalizeDestOption( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *option) /* I - Option to localize */ +{ + _cups_message_t key, /* Search key */ + *match; /* Matching entry */ + const char *localized; /* Localized string */ + + + DEBUG_printf(("cupsLocalizeDestOption(http=%p, dest=%p, dinfo=%p, option=\"%s\")", (void *)http, (void *)dest, (void *)dinfo, option)); + + if (!http || !dest || !dinfo) + return (option); + + if (!dinfo->localizations) + cups_create_localizations(http, dinfo); + + key.msg = (char *)option; + if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL) + return (match->str); + else if ((localized = _cupsLangString(cupsLangDefault(), option)) != NULL) + return (localized); + else + return (option); +} + + +/* + * 'cupsLocalizeDestValue()' - Get the localized string for a destination + * option+value pair. + * + * The returned string is stored in the destination information and will become + * invalid if the destination information is deleted. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +const char * /* O - Localized string */ +cupsLocalizeDestValue( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *option, /* I - Option to localize */ + const char *value) /* I - Value to localize */ +{ + _cups_message_t key, /* Search key */ + *match; /* Matching entry */ + char pair[256]; /* option.value pair */ + const char *localized; /* Localized string */ + + + DEBUG_printf(("cupsLocalizeDestValue(http=%p, dest=%p, dinfo=%p, option=\"%s\", value=\"%s\")", (void *)http, (void *)dest, (void *)dinfo, option, value)); + + if (!http || !dest || !dinfo) + return (value); + + if (!strcmp(option, "media")) + { + pwg_media_t *media = pwgMediaForPWG(value); + cups_size_t size; + + strlcpy(size.media, value, sizeof(size.media)); + size.width = media ? media->width : 0; + size.length = media ? media->length : 0; + size.left = 0; + size.right = 0; + size.bottom = 0; + size.top = 0; + + return (cupsLocalizeDestMedia(http, dest, dinfo, CUPS_MEDIA_FLAGS_DEFAULT, &size)); + } + + if (!dinfo->localizations) + cups_create_localizations(http, dinfo); + + snprintf(pair, sizeof(pair), "%s.%s", option, value); + key.msg = pair; + if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL) + return (match->str); + else if ((localized = _cupsLangString(cupsLangDefault(), pair)) != NULL && strcmp(localized, pair)) + return (localized); + else + return (value); +} + + +/* + * 'cups_create_localizations()' - Create the localizations array for a + * destination. + */ + +static void +cups_create_localizations( + http_t *http, /* I - Connection to destination */ + cups_dinfo_t *dinfo) /* I - Destination informations */ +{ + http_t *http2; /* Connection for strings file */ + http_status_t status; /* Request status */ + ipp_attribute_t *attr; /* "printer-strings-uri" attribute */ + char scheme[32], /* URI scheme */ + userpass[256], /* Username/password info */ + hostname[256], /* Hostname */ + resource[1024], /* Resource */ + http_hostname[256], + /* Hostname of connection */ + tempfile[1024]; /* Temporary filename */ + int port; /* Port number */ + http_encryption_t encryption; /* Encryption to use */ + cups_file_t *temp; /* Temporary file */ + + + /* + * See if there are any localizations... + */ + + if ((attr = ippFindAttribute(dinfo->attrs, "printer-strings-uri", + IPP_TAG_URI)) == NULL) + { + /* + * Nope, create an empty message catalog... + */ + + dinfo->localizations = _cupsMessageNew(NULL); + DEBUG_puts("4cups_create_localizations: No printer-strings-uri (uri) value."); + return; + } + + /* + * Pull apart the URI and determine whether we need to try a different + * server... + */ + + if (httpSeparateURI(HTTP_URI_CODING_ALL, attr->values[0].string.text, + scheme, sizeof(scheme), userpass, sizeof(userpass), + hostname, sizeof(hostname), &port, resource, + sizeof(resource)) < HTTP_URI_STATUS_OK) + { + dinfo->localizations = _cupsMessageNew(NULL); + DEBUG_printf(("4cups_create_localizations: Bad printer-strings-uri value \"%s\".", attr->values[0].string.text)); + return; + } + + httpGetHostname(http, http_hostname, sizeof(http_hostname)); + + if (!_cups_strcasecmp(http_hostname, hostname) && + port == httpAddrPort(http->hostaddr)) + { + /* + * Use the same connection... + */ + + http2 = http; + } + else + { + /* + * Connect to the alternate host... + */ + + if (!strcmp(scheme, "https")) + encryption = HTTP_ENCRYPTION_ALWAYS; + else + encryption = HTTP_ENCRYPTION_IF_REQUESTED; + + if ((http2 = httpConnect2(hostname, port, NULL, AF_UNSPEC, encryption, 1, + 30000, NULL)) == NULL) + { + DEBUG_printf(("4cups_create_localizations: Unable to connect to " + "%s:%d: %s", hostname, port, cupsLastErrorString())); + return; + } + } + + /* + * Get a temporary file... + */ + + if ((temp = cupsTempFile2(tempfile, sizeof(tempfile))) == NULL) + { + DEBUG_printf(("4cups_create_localizations: Unable to create temporary " + "file: %s", cupsLastErrorString())); + if (http2 != http) + httpClose(http2); + return; + } + + status = cupsGetFd(http2, resource, cupsFileNumber(temp)); + cupsFileClose(temp); + + DEBUG_printf(("4cups_create_localizations: GET %s = %s", resource, httpStatus(status))); + + if (status == HTTP_STATUS_OK) + { + /* + * Got the file, read it... + */ + + dinfo->localizations = _cupsMessageLoad(tempfile, _CUPS_MESSAGE_STRINGS); + } + + DEBUG_printf(("4cups_create_localizations: %d messages loaded.", + cupsArrayCount(dinfo->localizations))); + + /* + * Cleanup... + */ + + unlink(tempfile); + + if (http2 != http) + httpClose(http2); +} + diff --git a/cups/dest-options.c b/cups/dest-options.c new file mode 100644 index 0000000..8c5fe66 --- /dev/null +++ b/cups/dest-options.c @@ -0,0 +1,2851 @@ +/* + * Destination option/media support for CUPS. + * + * Copyright © 2012-2019 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" + + +/* + * Local constants... + */ + +#define _CUPS_MEDIA_READY_TTL 30 /* Life of xxx-ready values */ + + +/* + * Local functions... + */ + +static void cups_add_dconstres(cups_array_t *a, ipp_t *collection); +static int cups_collection_contains(ipp_t *test, ipp_t *match); +static size_t cups_collection_string(ipp_attribute_t *attr, char *buffer, size_t bufsize) _CUPS_NONNULL((1,2)); +static int cups_compare_dconstres(_cups_dconstres_t *a, + _cups_dconstres_t *b); +static int cups_compare_media_db(_cups_media_db_t *a, + _cups_media_db_t *b); +static _cups_media_db_t *cups_copy_media_db(_cups_media_db_t *mdb); +static void cups_create_cached(http_t *http, cups_dinfo_t *dinfo, + unsigned flags); +static void cups_create_constraints(cups_dinfo_t *dinfo); +static void cups_create_defaults(cups_dinfo_t *dinfo); +static void cups_create_media_db(cups_dinfo_t *dinfo, + unsigned flags); +static void cups_free_media_db(_cups_media_db_t *mdb); +static int cups_get_media_db(http_t *http, cups_dinfo_t *dinfo, + pwg_media_t *pwg, unsigned flags, + cups_size_t *size); +static int cups_is_close_media_db(_cups_media_db_t *a, + _cups_media_db_t *b); +static cups_array_t *cups_test_constraints(cups_dinfo_t *dinfo, + const char *new_option, + const char *new_value, + int num_options, + cups_option_t *options, + int *num_conflicts, + cups_option_t **conflicts); +static void cups_update_ready(http_t *http, cups_dinfo_t *dinfo); + + +/* + * 'cupsAddDestMediaOptions()' - Add the option corresponding to the specified media size. + * + * @since CUPS 2.3/macOS 10.14@ + */ + +int /* O - New number of options */ +cupsAddDestMediaOptions( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + unsigned flags, /* I - Media matching flags */ + cups_size_t *size, /* I - Media size */ + int num_options, /* I - Current number of options */ + cups_option_t **options) /* IO - Options */ +{ + cups_array_t *db; /* Media database */ + _cups_media_db_t *mdb; /* Media database entry */ + char value[2048]; /* Option value */ + + + /* + * Range check input... + */ + + if (!http || !dest || !dinfo || !size || !options) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (num_options); + } + + /* + * Find the matching media size... + */ + + if (flags & CUPS_MEDIA_FLAGS_READY) + db = dinfo->ready_db; + else + db = dinfo->media_db; + + DEBUG_printf(("1cupsAddDestMediaOptions: size->media=\"%s\"", size->media)); + + for (mdb = (_cups_media_db_t *)cupsArrayFirst(db); mdb; mdb = (_cups_media_db_t *)cupsArrayNext(db)) + { + if (mdb->key && !strcmp(mdb->key, size->media)) + break; + else if (mdb->size_name && !strcmp(mdb->size_name, size->media)) + break; + } + + if (!mdb) + { + for (mdb = (_cups_media_db_t *)cupsArrayFirst(db); mdb; mdb = (_cups_media_db_t *)cupsArrayNext(db)) + { + if (mdb->width == size->width && mdb->length == size->length && mdb->bottom == size->bottom && mdb->left == size->left && mdb->right == size->right && mdb->top == size->top) + break; + } + } + + if (!mdb) + { + for (mdb = (_cups_media_db_t *)cupsArrayFirst(db); mdb; mdb = (_cups_media_db_t *)cupsArrayNext(db)) + { + if (mdb->width == size->width && mdb->length == size->length) + break; + } + } + + if (!mdb) + { + DEBUG_puts("1cupsAddDestMediaOptions: Unable to find matching size."); + return (num_options); + } + + DEBUG_printf(("1cupsAddDestMediaOptions: MATCH mdb%p [key=\"%s\" size_name=\"%s\" source=\"%s\" type=\"%s\" width=%d length=%d B%d L%d R%d T%d]", (void *)mdb, mdb->key, mdb->size_name, mdb->source, mdb->type, mdb->width, mdb->length, mdb->bottom, mdb->left, mdb->right, mdb->top)); + + if (mdb->source) + { + if (mdb->type) + snprintf(value, sizeof(value), "{media-size={x-dimension=%d y-dimension=%d} media-bottom-margin=%d media-left-margin=%d media-right-margin=%d media-top-margin=%d media-source=\"%s\" media-type=\"%s\"}", mdb->width, mdb->length, mdb->bottom, mdb->left, mdb->right, mdb->top, mdb->source, mdb->type); + else + snprintf(value, sizeof(value), "{media-size={x-dimension=%d y-dimension=%d} media-bottom-margin=%d media-left-margin=%d media-right-margin=%d media-top-margin=%d media-source=\"%s\"}", mdb->width, mdb->length, mdb->bottom, mdb->left, mdb->right, mdb->top, mdb->source); + } + else if (mdb->type) + { + snprintf(value, sizeof(value), "{media-size={x-dimension=%d y-dimension=%d} media-bottom-margin=%d media-left-margin=%d media-right-margin=%d media-top-margin=%d media-type=\"%s\"}", mdb->width, mdb->length, mdb->bottom, mdb->left, mdb->right, mdb->top, mdb->type); + } + else + { + snprintf(value, sizeof(value), "{media-size={x-dimension=%d y-dimension=%d} media-bottom-margin=%d media-left-margin=%d media-right-margin=%d media-top-margin=%d}", mdb->width, mdb->length, mdb->bottom, mdb->left, mdb->right, mdb->top); + } + + num_options = cupsAddOption("media-col", value, num_options, options); + + return (num_options); +} + + +/* + * 'cupsCheckDestSupported()' - Check that the option and value are supported + * by the destination. + * + * Returns 1 if supported, 0 otherwise. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 if supported, 0 otherwise */ +cupsCheckDestSupported( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *option, /* I - Option */ + const char *value) /* I - Value or @code NULL@ */ +{ + int i; /* Looping var */ + char temp[1024]; /* Temporary string */ + int int_value; /* Integer value */ + int xres_value, /* Horizontal resolution */ + yres_value; /* Vertical resolution */ + ipp_res_t units_value; /* Resolution units */ + ipp_attribute_t *attr; /* Attribute */ + _ipp_value_t *attrval; /* Current attribute value */ + _ipp_option_t *map; /* Option mapping information */ + + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (!http || !dest || !dinfo || !option) + return (0); + + /* + * Lookup the attribute... + */ + + if (strstr(option, "-supported")) + attr = ippFindAttribute(dinfo->attrs, option, IPP_TAG_ZERO); + else + { + snprintf(temp, sizeof(temp), "%s-supported", option); + attr = ippFindAttribute(dinfo->attrs, temp, IPP_TAG_ZERO); + } + + if (!attr) + return (0); + + if (!value) + return (1); + +/* + * Compare values... + */ + + if (!strcmp(option, "media") && !strncmp(value, "custom_", 7)) + { + /* + * Check range of custom media sizes... + */ + + pwg_media_t *pwg; /* Current PWG media size info */ + int min_width, /* Minimum width */ + min_length, /* Minimum length */ + max_width, /* Maximum width */ + max_length; /* Maximum length */ + + /* + * Get the minimum and maximum size... + */ + + min_width = min_length = INT_MAX; + max_width = max_length = 0; + + for (i = attr->num_values, attrval = attr->values; + i > 0; + i --, attrval ++) + { + if (!strncmp(attrval->string.text, "custom_min_", 11) && + (pwg = pwgMediaForPWG(attrval->string.text)) != NULL) + { + min_width = pwg->width; + min_length = pwg->length; + } + else if (!strncmp(attrval->string.text, "custom_max_", 11) && + (pwg = pwgMediaForPWG(attrval->string.text)) != NULL) + { + max_width = pwg->width; + max_length = pwg->length; + } + } + + /* + * Check the range... + */ + + if (min_width < INT_MAX && max_width > 0 && + (pwg = pwgMediaForPWG(value)) != NULL && + pwg->width >= min_width && pwg->width <= max_width && + pwg->length >= min_length && pwg->length <= max_length) + return (1); + } + else + { + /* + * Check literal values... + */ + + map = _ippFindOption(option); + + switch (attr->value_tag) + { + case IPP_TAG_INTEGER : + if (map && map->value_tag == IPP_TAG_STRING) + return (strlen(value) <= (size_t)attr->values[0].integer); + + case IPP_TAG_ENUM : + int_value = atoi(value); + + for (i = 0; i < attr->num_values; i ++) + if (attr->values[i].integer == int_value) + return (1); + break; + + case IPP_TAG_BOOLEAN : + return (attr->values[0].boolean); + + case IPP_TAG_RANGE : + if (map && map->value_tag == IPP_TAG_STRING) + int_value = (int)strlen(value); + else + int_value = atoi(value); + + for (i = 0; i < attr->num_values; i ++) + if (int_value >= attr->values[i].range.lower && + int_value <= attr->values[i].range.upper) + return (1); + break; + + case IPP_TAG_RESOLUTION : + if (sscanf(value, "%dx%d%15s", &xres_value, &yres_value, temp) != 3) + { + if (sscanf(value, "%d%15s", &xres_value, temp) != 2) + return (0); + + yres_value = xres_value; + } + + if (!strcmp(temp, "dpi")) + units_value = IPP_RES_PER_INCH; + else if (!strcmp(temp, "dpc") || !strcmp(temp, "dpcm")) + units_value = IPP_RES_PER_CM; + else + return (0); + + for (i = attr->num_values, attrval = attr->values; + i > 0; + i --, attrval ++) + { + if (attrval->resolution.xres == xres_value && + attrval->resolution.yres == yres_value && + attrval->resolution.units == units_value) + return (1); + } + break; + + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_CHARSET : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_MIMETYPE : + case IPP_TAG_LANGUAGE : + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + for (i = 0; i < attr->num_values; i ++) + if (!strcmp(attr->values[i].string.text, value)) + return (1); + break; + + default : + break; + } + } + + /* + * If we get there the option+value is not supported... + */ + + return (0); +} + + +/* + * 'cupsCopyDestConflicts()' - Get conflicts and resolutions for a new + * option/value pair. + * + * "num_options" and "options" represent the currently selected options by the + * user. "new_option" and "new_value" are the setting the user has just + * changed. + * + * Returns 1 if there is a conflict, 0 if there are no conflicts, and -1 if + * there was an unrecoverable error such as a resolver loop. + * + * If "num_conflicts" and "conflicts" are not @code NULL@, they are set to + * contain the list of conflicting option/value pairs. Similarly, if + * "num_resolved" and "resolved" are not @code NULL@ they will be set to the + * list of changes needed to resolve the conflict. + * + * If cupsCopyDestConflicts returns 1 but "num_resolved" and "resolved" are set + * to 0 and @code NULL@, respectively, then the conflict cannot be resolved. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 if there is a conflict, 0 if none, -1 on error */ +cupsCopyDestConflicts( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + int num_options, /* I - Number of current options */ + cups_option_t *options, /* I - Current options */ + const char *new_option, /* I - New option */ + const char *new_value, /* I - New value */ + int *num_conflicts, /* O - Number of conflicting options */ + cups_option_t **conflicts, /* O - Conflicting options */ + int *num_resolved, /* O - Number of options to resolve */ + cups_option_t **resolved) /* O - Resolved options */ +{ + int i, /* Looping var */ + have_conflicts = 0, /* Do we have conflicts? */ + changed, /* Did we change something? */ + tries, /* Number of tries for resolution */ + num_myconf = 0, /* My number of conflicting options */ + num_myres = 0; /* My number of resolved options */ + cups_option_t *myconf = NULL, /* My conflicting options */ + *myres = NULL, /* My resolved options */ + *myoption, /* My current option */ + *option; /* Current option */ + cups_array_t *active = NULL, /* Active conflicts */ + *pass = NULL, /* Resolvers for this pass */ + *resolvers = NULL, /* Resolvers we have used */ + *test; /* Test array for conflicts */ + _cups_dconstres_t *c, /* Current constraint */ + *r; /* Current resolver */ + ipp_attribute_t *attr; /* Current attribute */ + char value[2048]; /* Current attribute value as string */ + const char *myvalue; /* Current value of an option */ + + + /* + * Clear returned values... + */ + + if (num_conflicts) + *num_conflicts = 0; + + if (conflicts) + *conflicts = NULL; + + if (num_resolved) + *num_resolved = 0; + + if (resolved) + *resolved = NULL; + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (!http || !dest || !dinfo || + (num_conflicts != NULL) != (conflicts != NULL) || + (num_resolved != NULL) != (resolved != NULL)) + return (0); + + /* + * Load constraints as needed... + */ + + if (!dinfo->constraints) + cups_create_constraints(dinfo); + + if (cupsArrayCount(dinfo->constraints) == 0) + return (0); + + if (!dinfo->num_defaults) + cups_create_defaults(dinfo); + + /* + * If we are resolving, create a shadow array... + */ + + if (num_resolved) + { + for (i = num_options, option = options; i > 0; i --, option ++) + num_myres = cupsAddOption(option->name, option->value, num_myres, &myres); + + if (new_option && new_value) + num_myres = cupsAddOption(new_option, new_value, num_myres, &myres); + } + else + { + num_myres = num_options; + myres = options; + } + + /* + * Check for any conflicts... + */ + + if (num_resolved) + pass = cupsArrayNew((cups_array_func_t)cups_compare_dconstres, NULL); + + for (tries = 0; tries < 100; tries ++) + { + /* + * Check for any conflicts... + */ + + if (num_conflicts || num_resolved) + { + cupsFreeOptions(num_myconf, myconf); + + num_myconf = 0; + myconf = NULL; + active = cups_test_constraints(dinfo, new_option, new_value, + num_myres, myres, &num_myconf, + &myconf); + } + else + active = cups_test_constraints(dinfo, new_option, new_value, num_myres, + myres, NULL, NULL); + + have_conflicts = (active != NULL); + + if (!active || !num_resolved) + break; /* All done */ + + /* + * Scan the constraints that were triggered to apply resolvers... + */ + + if (!resolvers) + resolvers = cupsArrayNew((cups_array_func_t)cups_compare_dconstres, NULL); + + for (c = (_cups_dconstres_t *)cupsArrayFirst(active), changed = 0; + c; + c = (_cups_dconstres_t *)cupsArrayNext(active)) + { + if (cupsArrayFind(pass, c)) + continue; /* Already applied this resolver... */ + + if (cupsArrayFind(resolvers, c)) + { + DEBUG_printf(("1cupsCopyDestConflicts: Resolver loop with %s.", + c->name)); + have_conflicts = -1; + goto cleanup; + } + + if ((r = cupsArrayFind(dinfo->resolvers, c)) == NULL) + { + DEBUG_printf(("1cupsCopyDestConflicts: Resolver %s not found.", + c->name)); + have_conflicts = -1; + goto cleanup; + } + + /* + * Add the options from the resolver... + */ + + cupsArrayAdd(pass, r); + cupsArrayAdd(resolvers, r); + + for (attr = ippFirstAttribute(r->collection); + attr; + attr = ippNextAttribute(r->collection)) + { + if (new_option && !strcmp(attr->name, new_option)) + continue; /* Ignore this if we just changed it */ + + if (ippAttributeString(attr, value, sizeof(value)) >= sizeof(value)) + continue; /* Ignore if the value is too long */ + + if ((test = cups_test_constraints(dinfo, attr->name, value, num_myres, + myres, NULL, NULL)) == NULL) + { + /* + * That worked, flag it... + */ + + changed = 1; + } + else + cupsArrayDelete(test); + + /* + * Add the option/value from the resolver regardless of whether it + * worked; this makes sure that we can cascade several changes to + * make things resolve... + */ + + num_myres = cupsAddOption(attr->name, value, num_myres, &myres); + } + } + + if (!changed) + { + DEBUG_puts("1cupsCopyDestConflicts: Unable to resolve constraints."); + have_conflicts = -1; + goto cleanup; + } + + cupsArrayClear(pass); + + cupsArrayDelete(active); + active = NULL; + } + + if (tries >= 100) + { + DEBUG_puts("1cupsCopyDestConflicts: Unable to resolve after 100 tries."); + have_conflicts = -1; + goto cleanup; + } + + /* + * Copy resolved options as needed... + */ + + if (num_resolved) + { + for (i = num_myres, myoption = myres; i > 0; i --, myoption ++) + { + if ((myvalue = cupsGetOption(myoption->name, num_options, + options)) == NULL || + strcmp(myvalue, myoption->value)) + { + if (new_option && !strcmp(new_option, myoption->name) && + new_value && !strcmp(new_value, myoption->value)) + continue; + + *num_resolved = cupsAddOption(myoption->name, myoption->value, + *num_resolved, resolved); + } + } + } + + /* + * Clean up... + */ + + cleanup: + + cupsArrayDelete(active); + cupsArrayDelete(pass); + cupsArrayDelete(resolvers); + + if (num_resolved) + { + /* + * Free shadow copy of options... + */ + + cupsFreeOptions(num_myres, myres); + } + + if (num_conflicts) + { + /* + * Return conflicting options to caller... + */ + + *num_conflicts = num_myconf; + *conflicts = myconf; + } + else + { + /* + * Free conflicting options... + */ + + cupsFreeOptions(num_myconf, myconf); + } + + return (have_conflicts); +} + + +/* + * 'cupsCopyDestInfo()' - Get the supported values/capabilities for the + * destination. + * + * The caller is responsible for calling @link cupsFreeDestInfo@ on the return + * value. @code NULL@ is returned on error. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +cups_dinfo_t * /* O - Destination information */ +cupsCopyDestInfo( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest) /* I - Destination */ +{ + cups_dinfo_t *dinfo; /* Destination information */ + unsigned dflags; /* Destination flags */ + ipp_t *request, /* Get-Printer-Attributes request */ + *response; /* Supported attributes */ + int tries, /* Number of tries so far */ + delay, /* Current retry delay */ + prev_delay; /* Next retry delay */ + const char *uri; /* Printer URI */ + char resource[1024]; /* Resource path */ + int version; /* IPP version */ + ipp_status_t status; /* Status of request */ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + static const char * const requested_attrs[] = + { /* Requested attributes */ + "job-template", + "media-col-database", + "printer-description" + }; + + + DEBUG_printf(("cupsCopyDestInfo(http=%p, dest=%p(%s))", (void *)http, (void *)dest, dest ? dest->name : "")); + + /* + * Get the default connection as needed... + */ + + if (!http) + { + DEBUG_puts("1cupsCopyDestInfo: Default server connection."); + http = _cupsConnect(); + dflags = CUPS_DEST_FLAGS_NONE; + } +#ifdef AF_LOCAL + else if (httpAddrFamily(http->hostaddr) == AF_LOCAL) + { + DEBUG_puts("1cupsCopyDestInfo: Connection to server (domain socket)."); + dflags = CUPS_DEST_FLAGS_NONE; + } +#endif /* AF_LOCAL */ + else if ((strcmp(http->hostname, cg->server) && cg->server[0] != '/') || cg->ipp_port != httpAddrPort(http->hostaddr)) + { + DEBUG_printf(("1cupsCopyDestInfo: Connection to device (%s).", http->hostname)); + dflags = CUPS_DEST_FLAGS_DEVICE; + } + else + { + DEBUG_printf(("1cupsCopyDestInfo: Connection to server (%s).", http->hostname)); + dflags = CUPS_DEST_FLAGS_NONE; + } + + /* + * Range check input... + */ + + if (!http || !dest) + return (NULL); + + /* + * Get the printer URI and resource path... + */ + + if ((uri = _cupsGetDestResource(dest, dflags, resource, sizeof(resource))) == NULL) + { + DEBUG_puts("1cupsCopyDestInfo: Unable to get resource."); + return (NULL); + } + + /* + * Get the supported attributes... + */ + + delay = 1; + prev_delay = 1; + tries = 0; + version = 20; + + do + { + /* + * Send a Get-Printer-Attributes request... + */ + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + + ippSetVersion(request, version / 10, version % 10); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", (int)(sizeof(requested_attrs) / sizeof(requested_attrs[0])), NULL, requested_attrs); + response = cupsDoRequest(http, request, resource); + status = cupsLastError(); + + if (status > IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED) + { + DEBUG_printf(("1cupsCopyDestInfo: Get-Printer-Attributes for '%s' returned %s (%s)", dest->name, ippErrorString(status), cupsLastErrorString())); + + ippDelete(response); + response = NULL; + + if ((status == IPP_STATUS_ERROR_BAD_REQUEST || status == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) && version > 11) + { + version = 11; + } + else if (status == IPP_STATUS_ERROR_BUSY) + { + sleep((unsigned)delay); + + delay = _cupsNextDelay(delay, &prev_delay); + } + else + return (NULL); + } + + tries ++; + } + while (!response && tries < 10); + + if (!response) + { + DEBUG_puts("1cupsCopyDestInfo: Unable to get printer attributes."); + return (NULL); + } + + /* + * Allocate a cups_dinfo_t structure and return it... + */ + + if ((dinfo = calloc(1, sizeof(cups_dinfo_t))) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + ippDelete(response); + return (NULL); + } + + DEBUG_printf(("1cupsCopyDestInfo: version=%d, uri=\"%s\", resource=\"%s\".", version, uri, resource)); + + dinfo->version = version; + dinfo->uri = uri; + dinfo->resource = _cupsStrAlloc(resource); + dinfo->attrs = response; + + return (dinfo); +} + + +/* + * 'cupsFindDestDefault()' - Find the default value(s) for the given option. + * + * The returned value is an IPP attribute. Use the @code ippGetBoolean@, + * @code ippGetCollection@, @code ippGetCount@, @code ippGetDate@, + * @code ippGetInteger@, @code ippGetOctetString@, @code ippGetRange@, + * @code ippGetResolution@, @code ippGetString@, and @code ippGetValueTag@ + * functions to inspect the default value(s) as needed. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +ipp_attribute_t * /* O - Default attribute or @code NULL@ for none */ +cupsFindDestDefault( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *option) /* I - Option/attribute name */ +{ + char name[IPP_MAX_NAME]; /* Attribute name */ + + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (!http || !dest || !dinfo || !option) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (NULL); + } + + /* + * Find and return the attribute... + */ + + snprintf(name, sizeof(name), "%s-default", option); + return (ippFindAttribute(dinfo->attrs, name, IPP_TAG_ZERO)); +} + + +/* + * 'cupsFindDestReady()' - Find the default value(s) for the given option. + * + * The returned value is an IPP attribute. Use the @code ippGetBoolean@, + * @code ippGetCollection@, @code ippGetCount@, @code ippGetDate@, + * @code ippGetInteger@, @code ippGetOctetString@, @code ippGetRange@, + * @code ippGetResolution@, @code ippGetString@, and @code ippGetValueTag@ + * functions to inspect the default value(s) as needed. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +ipp_attribute_t * /* O - Default attribute or @code NULL@ for none */ +cupsFindDestReady( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *option) /* I - Option/attribute name */ +{ + char name[IPP_MAX_NAME]; /* Attribute name */ + + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (!http || !dest || !dinfo || !option) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (NULL); + } + + /* + * Find and return the attribute... + */ + + cups_update_ready(http, dinfo); + + snprintf(name, sizeof(name), "%s-ready", option); + return (ippFindAttribute(dinfo->ready_attrs, name, IPP_TAG_ZERO)); +} + + +/* + * 'cupsFindDestSupported()' - Find the default value(s) for the given option. + * + * The returned value is an IPP attribute. Use the @code ippGetBoolean@, + * @code ippGetCollection@, @code ippGetCount@, @code ippGetDate@, + * @code ippGetInteger@, @code ippGetOctetString@, @code ippGetRange@, + * @code ippGetResolution@, @code ippGetString@, and @code ippGetValueTag@ + * functions to inspect the default value(s) as needed. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +ipp_attribute_t * /* O - Default attribute or @code NULL@ for none */ +cupsFindDestSupported( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *option) /* I - Option/attribute name */ +{ + char name[IPP_MAX_NAME]; /* Attribute name */ + + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (!http || !dest || !dinfo || !option) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (NULL); + } + + /* + * Find and return the attribute... + */ + + snprintf(name, sizeof(name), "%s-supported", option); + return (ippFindAttribute(dinfo->attrs, name, IPP_TAG_ZERO)); +} + + +/* + * 'cupsFreeDestInfo()' - Free destination information obtained using + * @link cupsCopyDestInfo@. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +void +cupsFreeDestInfo(cups_dinfo_t *dinfo) /* I - Destination information */ +{ + /* + * Range check input... + */ + + if (!dinfo) + return; + + /* + * Free memory and return... + */ + + _cupsStrFree(dinfo->resource); + + cupsArrayDelete(dinfo->constraints); + cupsArrayDelete(dinfo->resolvers); + + cupsArrayDelete(dinfo->localizations); + + cupsArrayDelete(dinfo->media_db); + + cupsArrayDelete(dinfo->cached_db); + + ippDelete(dinfo->ready_attrs); + cupsArrayDelete(dinfo->ready_db); + + ippDelete(dinfo->attrs); + + free(dinfo); +} + + +/* + * 'cupsGetDestMediaByIndex()' - Get a media name, dimension, and margins for a + * specific size. + * + * The @code flags@ parameter determines which set of media are indexed. For + * example, passing @code CUPS_MEDIA_FLAGS_BORDERLESS@ will get the Nth + * borderless size supported by the printer. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsGetDestMediaByIndex( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + int n, /* I - Media size number (0-based) */ + unsigned flags, /* I - Media flags */ + cups_size_t *size) /* O - Media size information */ +{ + _cups_media_db_t *nsize; /* Size for N */ + pwg_media_t *pwg; /* PWG media name for size */ + + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (size) + memset(size, 0, sizeof(cups_size_t)); + + if (!http || !dest || !dinfo || n < 0 || !size) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (0); + } + + /* + * Load media list as needed... + */ + + if (flags & CUPS_MEDIA_FLAGS_READY) + cups_update_ready(http, dinfo); + + if (!dinfo->cached_db || dinfo->cached_flags != flags) + cups_create_cached(http, dinfo, flags); + + /* + * Copy the size over and return... + */ + + if ((nsize = (_cups_media_db_t *)cupsArrayIndex(dinfo->cached_db, n)) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (0); + } + + if (nsize->key) + strlcpy(size->media, nsize->key, sizeof(size->media)); + else if (nsize->size_name) + strlcpy(size->media, nsize->size_name, sizeof(size->media)); + else if ((pwg = pwgMediaForSize(nsize->width, nsize->length)) != NULL) + strlcpy(size->media, pwg->pwg, sizeof(size->media)); + else + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (0); + } + + size->width = nsize->width; + size->length = nsize->length; + size->bottom = nsize->bottom; + size->left = nsize->left; + size->right = nsize->right; + size->top = nsize->top; + + return (1); +} + + +/* + * 'cupsGetDestMediaByName()' - Get media names, dimensions, and margins. + * + * The "media" string is a PWG media name. "Flags" provides some matching + * guidance (multiple flags can be combined): + * + * CUPS_MEDIA_FLAGS_DEFAULT = find the closest size supported by the printer, + * CUPS_MEDIA_FLAGS_BORDERLESS = find a borderless size, + * CUPS_MEDIA_FLAGS_DUPLEX = find a size compatible with 2-sided printing, + * CUPS_MEDIA_FLAGS_EXACT = find an exact match for the size, and + * CUPS_MEDIA_FLAGS_READY = if the printer supports media sensing, find the + * size amongst the "ready" media. + * + * The matching result (if any) is returned in the "cups_size_t" structure. + * + * Returns 1 when there is a match and 0 if there is not a match. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on match, 0 on failure */ +cupsGetDestMediaByName( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *media, /* I - Media name */ + unsigned flags, /* I - Media matching flags */ + cups_size_t *size) /* O - Media size information */ +{ + pwg_media_t *pwg; /* PWG media info */ + + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (size) + memset(size, 0, sizeof(cups_size_t)); + + if (!http || !dest || !dinfo || !media || !size) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (0); + } + + /* + * Lookup the media size name... + */ + + if ((pwg = pwgMediaForPWG(media)) == NULL) + if ((pwg = pwgMediaForLegacy(media)) == NULL) + { + DEBUG_printf(("1cupsGetDestMediaByName: Unknown size '%s'.", media)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown media size name."), 1); + return (0); + } + + /* + * Lookup the size... + */ + + return (cups_get_media_db(http, dinfo, pwg, flags, size)); +} + + +/* + * 'cupsGetDestMediaBySize()' - Get media names, dimensions, and margins. + * + * "Width" and "length" are the dimensions in hundredths of millimeters. + * "Flags" provides some matching guidance (multiple flags can be combined): + * + * CUPS_MEDIA_FLAGS_DEFAULT = find the closest size supported by the printer, + * CUPS_MEDIA_FLAGS_BORDERLESS = find a borderless size, + * CUPS_MEDIA_FLAGS_DUPLEX = find a size compatible with 2-sided printing, + * CUPS_MEDIA_FLAGS_EXACT = find an exact match for the size, and + * CUPS_MEDIA_FLAGS_READY = if the printer supports media sensing, find the + * size amongst the "ready" media. + * + * The matching result (if any) is returned in the "cups_size_t" structure. + * + * Returns 1 when there is a match and 0 if there is not a match. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on match, 0 on failure */ +cupsGetDestMediaBySize( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + int width, /* I - Media width in hundredths of + * of millimeters */ + int length, /* I - Media length in hundredths of + * of millimeters */ + unsigned flags, /* I - Media matching flags */ + cups_size_t *size) /* O - Media size information */ +{ + pwg_media_t *pwg; /* PWG media info */ + + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (size) + memset(size, 0, sizeof(cups_size_t)); + + if (!http || !dest || !dinfo || width <= 0 || length <= 0 || !size) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (0); + } + + /* + * Lookup the media size name... + */ + + if ((pwg = pwgMediaForSize(width, length)) == NULL) + { + DEBUG_printf(("1cupsGetDestMediaBySize: Invalid size %dx%d.", width, + length)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Invalid media size."), 1); + return (0); + } + + /* + * Lookup the size... + */ + + return (cups_get_media_db(http, dinfo, pwg, flags, size)); +} + + +/* + * 'cupsGetDestMediaCount()' - Get the number of sizes supported by a + * destination. + * + * The @code flags@ parameter determines the set of media sizes that are + * counted. For example, passing @code CUPS_MEDIA_FLAGS_BORDERLESS@ will return + * the number of borderless sizes. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - Number of sizes */ +cupsGetDestMediaCount( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + unsigned flags) /* I - Media flags */ +{ + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (!http || !dest || !dinfo) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (0); + } + + /* + * Load media list as needed... + */ + + if (flags & CUPS_MEDIA_FLAGS_READY) + cups_update_ready(http, dinfo); + + if (!dinfo->cached_db || dinfo->cached_flags != flags) + cups_create_cached(http, dinfo, flags); + + return (cupsArrayCount(dinfo->cached_db)); +} + + +/* + * 'cupsGetDestMediaDefault()' - Get the default size for a destination. + * + * The @code flags@ parameter determines which default size is returned. For + * example, passing @code CUPS_MEDIA_FLAGS_BORDERLESS@ will return the default + * borderless size, typically US Letter or A4, but sometimes 4x6 photo media. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsGetDestMediaDefault( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + unsigned flags, /* I - Media flags */ + cups_size_t *size) /* O - Media size information */ +{ + const char *media; /* Default media size */ + + + /* + * Get the default connection as needed... + */ + + if (!http) + http = _cupsConnect(); + + /* + * Range check input... + */ + + if (size) + memset(size, 0, sizeof(cups_size_t)); + + if (!http || !dest || !dinfo || !size) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (0); + } + + /* + * Get the default media size, if any... + */ + + if ((media = cupsGetOption("media", dest->num_options, dest->options)) == NULL) + media = "na_letter_8.5x11in"; + + if (cupsGetDestMediaByName(http, dest, dinfo, media, flags, size)) + return (1); + + if (strcmp(media, "na_letter_8.5x11in") && cupsGetDestMediaByName(http, dest, dinfo, "iso_a4_210x297mm", flags, size)) + return (1); + + if (strcmp(media, "iso_a4_210x297mm") && cupsGetDestMediaByName(http, dest, dinfo, "na_letter_8.5x11in", flags, size)) + return (1); + + if ((flags & CUPS_MEDIA_FLAGS_BORDERLESS) && cupsGetDestMediaByName(http, dest, dinfo, "na_index_4x6in", flags, size)) + return (1); + + /* + * Fall back to the first matching media size... + */ + + return (cupsGetDestMediaByIndex(http, dest, dinfo, 0, flags, size)); +} + + +/* + * 'cups_add_dconstres()' - Add a constraint or resolver to an array. + */ + +static void +cups_add_dconstres( + cups_array_t *a, /* I - Array */ + ipp_t *collection) /* I - Collection value */ +{ + ipp_attribute_t *attr; /* Attribute */ + _cups_dconstres_t *temp; /* Current constraint/resolver */ + + + if ((attr = ippFindAttribute(collection, "resolver-name", + IPP_TAG_NAME)) == NULL) + return; + + if ((temp = calloc(1, sizeof(_cups_dconstres_t))) == NULL) + return; + + temp->name = attr->values[0].string.text; + temp->collection = collection; + + cupsArrayAdd(a, temp); +} + + +/* + * 'cups_collection_contains()' - Check whether test collection is contained in the matching collection. + */ + +static int /* O - 1 on a match, 0 on a non-match */ +cups_collection_contains(ipp_t *test, /* I - Collection to test */ + ipp_t *match) /* I - Matching values */ +{ + int i, j, /* Looping vars */ + mcount, /* Number of match values */ + tcount; /* Number of test values */ + ipp_attribute_t *tattr, /* Testing attribute */ + *mattr; /* Matching attribute */ + const char *tval; /* Testing string value */ + + + for (mattr = ippFirstAttribute(match); mattr; mattr = ippNextAttribute(match)) + { + if ((tattr = ippFindAttribute(test, ippGetName(mattr), IPP_TAG_ZERO)) == NULL) + return (0); + + tcount = ippGetCount(tattr); + + switch (ippGetValueTag(mattr)) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + if (ippGetValueTag(tattr) != ippGetValueTag(mattr)) + return (0); + + for (i = 0; i < tcount; i ++) + { + if (!ippContainsInteger(mattr, ippGetInteger(tattr, i))) + return (0); + } + break; + + case IPP_TAG_RANGE : + if (ippGetValueTag(tattr) != IPP_TAG_INTEGER) + return (0); + + for (i = 0; i < tcount; i ++) + { + if (!ippContainsInteger(mattr, ippGetInteger(tattr, i))) + return (0); + } + break; + + case IPP_TAG_BOOLEAN : + if (ippGetValueTag(tattr) != IPP_TAG_BOOLEAN || ippGetBoolean(tattr, 0) != ippGetBoolean(mattr, 0)) + return (0); + break; + + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + for (i = 0; i < tcount; i ++) + { + if ((tval = ippGetString(tattr, i, NULL)) == NULL || !ippContainsString(mattr, tval)) + return (0); + } + break; + + case IPP_TAG_BEGIN_COLLECTION : + for (i = 0; i < tcount; i ++) + { + ipp_t *tcol = ippGetCollection(tattr, i); + /* Testing collection */ + + for (j = 0, mcount = ippGetCount(mattr); j < mcount; j ++) + if (!cups_collection_contains(tcol, ippGetCollection(mattr, j))) + return (0); + } + break; + + default : + return (0); + } + } + + return (1); +} + + +/* + * 'cups_collection_string()' - Convert an IPP collection to an option string. + */ + +static size_t /* O - Number of bytes needed */ +cups_collection_string( + ipp_attribute_t *attr, /* I - Collection attribute */ + char *buffer, /* I - String buffer */ + size_t bufsize) /* I - Size of buffer */ +{ + int i, j, /* Looping vars */ + count, /* Number of collection values */ + mcount; /* Number of member values */ + ipp_t *col; /* Collection */ + ipp_attribute_t *first, /* First member attribute */ + *member; /* Member attribute */ + char *bufptr, /* Pointer into buffer */ + *bufend, /* End of buffer */ + temp[100]; /* Temporary string */ + const char *mptr; /* Pointer into member value */ + int mlen; /* Length of octetString */ + + + bufptr = buffer; + bufend = buffer + bufsize - 1; + + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + col = ippGetCollection(attr, i); + + if (i) + { + if (bufptr < bufend) + *bufptr++ = ','; + else + bufptr ++; + } + + if (bufptr < bufend) + *bufptr++ = '{'; + else + bufptr ++; + + for (member = first = ippFirstAttribute(col); member; member = ippNextAttribute(col)) + { + const char *mname = ippGetName(member); + + if (member != first) + { + if (bufptr < bufend) + *bufptr++ = ' '; + else + bufptr ++; + } + + if (ippGetValueTag(member) == IPP_TAG_BOOLEAN) + { + if (!ippGetBoolean(member, 0)) + { + if (bufptr < bufend) + strlcpy(bufptr, "no", (size_t)(bufend - bufptr + 1)); + bufptr += 2; + } + + if (bufptr < bufend) + strlcpy(bufptr, mname, (size_t)(bufend - bufptr + 1)); + bufptr += strlen(mname); + continue; + } + + if (bufptr < bufend) + strlcpy(bufptr, mname, (size_t)(bufend - bufptr + 1)); + bufptr += strlen(mname); + + if (bufptr < bufend) + *bufptr++ = '='; + else + bufptr ++; + + if (ippGetValueTag(member) == IPP_TAG_BEGIN_COLLECTION) + { + /* + * Convert sub-collection... + */ + + bufptr += cups_collection_string(member, bufptr, bufptr < bufend ? (size_t)(bufend - bufptr + 1) : 0); + } + else + { + /* + * Convert simple type... + */ + + for (j = 0, mcount = ippGetCount(member); j < mcount; j ++) + { + if (j) + { + if (bufptr < bufend) + *bufptr++ = ','; + else + bufptr ++; + } + + switch (ippGetValueTag(member)) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + bufptr += snprintf(bufptr, bufptr < bufend ? (size_t)(bufend - bufptr + 1) : 0, "%d", ippGetInteger(member, j)); + break; + + case IPP_TAG_STRING : + if (bufptr < bufend) + *bufptr++ = '\"'; + else + bufptr ++; + + for (mptr = (const char *)ippGetOctetString(member, j, &mlen); mlen > 0; mlen --, mptr ++) + { + if (*mptr == '\"' || *mptr == '\\') + { + if (bufptr < bufend) + *bufptr++ = '\\'; + else + bufptr ++; + } + + if (bufptr < bufend) + *bufptr++ = *mptr; + else + bufptr ++; + } + + if (bufptr < bufend) + *bufptr++ = '\"'; + else + bufptr ++; + break; + + case IPP_TAG_DATE : + { + unsigned year; /* Year */ + const ipp_uchar_t *date = ippGetDate(member, j); + /* Date value */ + + year = ((unsigned)date[0] << 8) + (unsigned)date[1]; + + if (date[9] == 0 && date[10] == 0) + snprintf(temp, sizeof(temp), "%04u-%02u-%02uT%02u:%02u:%02uZ", year, date[2], date[3], date[4], date[5], date[6]); + else + snprintf(temp, sizeof(temp), "%04u-%02u-%02uT%02u:%02u:%02u%c%02u%02u", year, date[2], date[3], date[4], date[5], date[6], date[8], date[9], date[10]); + + if (bufptr < bufend) + strlcpy(bufptr, temp, (size_t)(bufend - bufptr + 1)); + + bufptr += strlen(temp); + } + break; + + case IPP_TAG_RESOLUTION : + { + int xres, /* Horizontal resolution */ + yres; /* Vertical resolution */ + ipp_res_t units; /* Resolution units */ + + xres = ippGetResolution(member, j, &yres, &units); + + if (xres == yres) + snprintf(temp, sizeof(temp), "%d%s", xres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + else + snprintf(temp, sizeof(temp), "%dx%d%s", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + + if (bufptr < bufend) + strlcpy(bufptr, temp, (size_t)(bufend - bufptr + 1)); + + bufptr += strlen(temp); + } + break; + + case IPP_TAG_RANGE : + { + int lower, /* Lower bound */ + upper; /* Upper bound */ + + lower = ippGetRange(member, j, &upper); + + snprintf(temp, sizeof(temp), "%d-%d", lower, upper); + + if (bufptr < bufend) + strlcpy(bufptr, temp, (size_t)(bufend - bufptr + 1)); + + bufptr += strlen(temp); + } + break; + + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + if (bufptr < bufend) + *bufptr++ = '\"'; + else + bufptr ++; + + for (mptr = ippGetString(member, j, NULL); *mptr; mptr ++) + { + if (*mptr == '\"' || *mptr == '\\') + { + if (bufptr < bufend) + *bufptr++ = '\\'; + else + bufptr ++; + } + + if (bufptr < bufend) + *bufptr++ = *mptr; + else + bufptr ++; + } + + if (bufptr < bufend) + *bufptr++ = '\"'; + else + bufptr ++; + break; + + default : + break; + } + } + } + } + + if (bufptr < bufend) + *bufptr++ = '}'; + else + bufptr ++; + } + + *bufptr = '\0'; + return ((size_t)(bufptr - buffer + 1)); +} + + +/* + * 'cups_compare_dconstres()' - Compare to resolver entries. + */ + +static int /* O - Result of comparison */ +cups_compare_dconstres( + _cups_dconstres_t *a, /* I - First resolver */ + _cups_dconstres_t *b) /* I - Second resolver */ +{ + return (strcmp(a->name, b->name)); +} + + +/* + * 'cups_compare_media_db()' - Compare two media entries. + */ + +static int /* O - Result of comparison */ +cups_compare_media_db( + _cups_media_db_t *a, /* I - First media entries */ + _cups_media_db_t *b) /* I - Second media entries */ +{ + int result; /* Result of comparison */ + + + if ((result = a->width - b->width) == 0) + result = a->length - b->length; + + return (result); +} + + +/* + * 'cups_copy_media_db()' - Copy a media entry. + */ + +static _cups_media_db_t * /* O - New media entry */ +cups_copy_media_db( + _cups_media_db_t *mdb) /* I - Media entry to copy */ +{ + _cups_media_db_t *temp; /* New media entry */ + + + if ((temp = calloc(1, sizeof(_cups_media_db_t))) == NULL) + return (NULL); + + if (mdb->color) + temp->color = _cupsStrAlloc(mdb->color); + if (mdb->key) + temp->key = _cupsStrAlloc(mdb->key); + if (mdb->info) + temp->info = _cupsStrAlloc(mdb->info); + if (mdb->size_name) + temp->size_name = _cupsStrAlloc(mdb->size_name); + if (mdb->source) + temp->source = _cupsStrAlloc(mdb->source); + if (mdb->type) + temp->type = _cupsStrAlloc(mdb->type); + + temp->width = mdb->width; + temp->length = mdb->length; + temp->bottom = mdb->bottom; + temp->left = mdb->left; + temp->right = mdb->right; + temp->top = mdb->top; + + return (temp); +} + + +/* + * 'cups_create_cached()' - Create the media selection cache. + */ + +static void +cups_create_cached(http_t *http, /* I - Connection to destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + unsigned flags) /* I - Media selection flags */ +{ + cups_array_t *db; /* Media database array to use */ + _cups_media_db_t *mdb, /* Media database entry */ + *first; /* First entry this size */ + + + DEBUG_printf(("3cups_create_cached(http=%p, dinfo=%p, flags=%u)", (void *)http, (void *)dinfo, flags)); + + if (dinfo->cached_db) + cupsArrayDelete(dinfo->cached_db); + + dinfo->cached_db = cupsArrayNew(NULL, NULL); + dinfo->cached_flags = flags; + + if (flags & CUPS_MEDIA_FLAGS_READY) + { + DEBUG_puts("4cups_create_cached: ready media"); + + cups_update_ready(http, dinfo); + db = dinfo->ready_db; + } + else + { + DEBUG_puts("4cups_create_cached: supported media"); + + if (!dinfo->media_db) + cups_create_media_db(dinfo, CUPS_MEDIA_FLAGS_DEFAULT); + + db = dinfo->media_db; + } + + for (mdb = (_cups_media_db_t *)cupsArrayFirst(db), first = mdb; + mdb; + mdb = (_cups_media_db_t *)cupsArrayNext(db)) + { + DEBUG_printf(("4cups_create_cached: %p key=\"%s\", type=\"%s\", %dx%d, B%d L%d R%d T%d", (void *)mdb, mdb->key, mdb->type, mdb->width, mdb->length, mdb->bottom, mdb->left, mdb->right, mdb->top)); + + if (flags & CUPS_MEDIA_FLAGS_BORDERLESS) + { + if (!mdb->left && !mdb->right && !mdb->top && !mdb->bottom) + { + DEBUG_printf(("4cups_create_cached: add %p", (void *)mdb)); + cupsArrayAdd(dinfo->cached_db, mdb); + } + } + else if (flags & CUPS_MEDIA_FLAGS_DUPLEX) + { + if (first->width != mdb->width || first->length != mdb->length) + { + DEBUG_printf(("4cups_create_cached: add %p", (void *)first)); + cupsArrayAdd(dinfo->cached_db, first); + first = mdb; + } + else if (mdb->left >= first->left && mdb->right >= first->right && mdb->top >= first->top && mdb->bottom >= first->bottom && + (mdb->left != first->left || mdb->right != first->right || mdb->top != first->top || mdb->bottom != first->bottom)) + first = mdb; + } + else + { + DEBUG_printf(("4cups_create_cached: add %p", (void *)mdb)); + cupsArrayAdd(dinfo->cached_db, mdb); + } + } + + if (flags & CUPS_MEDIA_FLAGS_DUPLEX) + { + DEBUG_printf(("4cups_create_cached: add %p", (void *)first)); + cupsArrayAdd(dinfo->cached_db, first); + } +} + + +/* + * 'cups_create_constraints()' - Create the constraints and resolvers arrays. + */ + +static void +cups_create_constraints( + cups_dinfo_t *dinfo) /* I - Destination information */ +{ + int i; /* Looping var */ + ipp_attribute_t *attr; /* Attribute */ + _ipp_value_t *val; /* Current value */ + + + dinfo->constraints = cupsArrayNew3(NULL, NULL, NULL, 0, NULL, + (cups_afree_func_t)free); + dinfo->resolvers = cupsArrayNew3((cups_array_func_t)cups_compare_dconstres, + NULL, NULL, 0, NULL, + (cups_afree_func_t)free); + + if ((attr = ippFindAttribute(dinfo->attrs, "job-constraints-supported", + IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + for (i = attr->num_values, val = attr->values; i > 0; i --, val ++) + cups_add_dconstres(dinfo->constraints, val->collection); + } + + if ((attr = ippFindAttribute(dinfo->attrs, "job-resolvers-supported", + IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + for (i = attr->num_values, val = attr->values; i > 0; i --, val ++) + cups_add_dconstres(dinfo->resolvers, val->collection); + } +} + + +/* + * 'cups_create_defaults()' - Create the -default option array. + */ + +static void +cups_create_defaults( + cups_dinfo_t *dinfo) /* I - Destination information */ +{ + ipp_attribute_t *attr; /* Current attribute */ + char name[IPP_MAX_NAME + 1], + /* Current name */ + *nameptr, /* Pointer into current name */ + value[2048]; /* Current value */ + + + /* + * Iterate through the printer attributes looking for xxx-default and adding + * xxx=value to the defaults option array. + */ + + for (attr = ippFirstAttribute(dinfo->attrs); attr; attr = ippNextAttribute(dinfo->attrs)) + { + if (!ippGetName(attr) || ippGetGroupTag(attr) != IPP_TAG_PRINTER) + continue; + + strlcpy(name, ippGetName(attr), sizeof(name)); + if ((nameptr = name + strlen(name) - 8) <= name || strcmp(nameptr, "-default")) + continue; + + *nameptr = '\0'; + + if (ippGetValueTag(attr) == IPP_TAG_BEGIN_COLLECTION) + { + if (cups_collection_string(attr, value, sizeof(value)) >= sizeof(value)) + continue; + } + else if (ippAttributeString(attr, value, sizeof(value)) >= sizeof(value)) + continue; + + dinfo->num_defaults = cupsAddOption(name, value, dinfo->num_defaults, &dinfo->defaults); + } +} + + +/* + * 'cups_create_media_db()' - Create the media database. + */ + +static void +cups_create_media_db( + cups_dinfo_t *dinfo, /* I - Destination information */ + unsigned flags) /* I - Media flags */ +{ + int i; /* Looping var */ + _ipp_value_t *val; /* Current value */ + ipp_attribute_t *media_col_db, /* media-col-database */ + *media_attr, /* media-xxx */ + *x_dimension, /* x-dimension */ + *y_dimension; /* y-dimension */ + pwg_media_t *pwg; /* PWG media info */ + cups_array_t *db; /* New media database array */ + _cups_media_db_t mdb; /* Media entry */ + char media_key[256]; /* Synthesized media-key value */ + + + db = cupsArrayNew3((cups_array_func_t)cups_compare_media_db, + NULL, NULL, 0, + (cups_acopy_func_t)cups_copy_media_db, + (cups_afree_func_t)cups_free_media_db); + + if (flags == CUPS_MEDIA_FLAGS_READY) + { + dinfo->ready_db = db; + + media_col_db = ippFindAttribute(dinfo->ready_attrs, "media-col-ready", + IPP_TAG_BEGIN_COLLECTION); + media_attr = ippFindAttribute(dinfo->ready_attrs, "media-ready", + IPP_TAG_ZERO); + } + else + { + dinfo->media_db = db; + dinfo->min_size.width = INT_MAX; + dinfo->min_size.length = INT_MAX; + dinfo->max_size.width = 0; + dinfo->max_size.length = 0; + + media_col_db = ippFindAttribute(dinfo->attrs, "media-col-database", + IPP_TAG_BEGIN_COLLECTION); + media_attr = ippFindAttribute(dinfo->attrs, "media-supported", + IPP_TAG_ZERO); + } + + if (media_col_db) + { + _ipp_value_t *custom = NULL; /* Custom size range value */ + + for (i = media_col_db->num_values, val = media_col_db->values; + i > 0; + i --, val ++) + { + memset(&mdb, 0, sizeof(mdb)); + + if ((media_attr = ippFindAttribute(val->collection, "media-size", + IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + ipp_t *media_size = media_attr->values[0].collection; + /* media-size collection value */ + + if ((x_dimension = ippFindAttribute(media_size, "x-dimension", + IPP_TAG_INTEGER)) != NULL && + (y_dimension = ippFindAttribute(media_size, "y-dimension", + IPP_TAG_INTEGER)) != NULL) + { + /* + * Fixed size... + */ + + mdb.width = x_dimension->values[0].integer; + mdb.length = y_dimension->values[0].integer; + } + else if ((x_dimension = ippFindAttribute(media_size, "x-dimension", + IPP_TAG_INTEGER)) != NULL && + (y_dimension = ippFindAttribute(media_size, "y-dimension", + IPP_TAG_RANGE)) != NULL) + { + /* + * Roll limits... + */ + + mdb.width = x_dimension->values[0].integer; + mdb.length = y_dimension->values[0].range.upper; + } + else if (flags != CUPS_MEDIA_FLAGS_READY && + (x_dimension = ippFindAttribute(media_size, "x-dimension", + IPP_TAG_RANGE)) != NULL && + (y_dimension = ippFindAttribute(media_size, "y-dimension", + IPP_TAG_RANGE)) != NULL) + { + /* + * Custom size range; save this as the custom size value with default + * margins, then continue; we'll capture the real margins below... + */ + + custom = val; + + dinfo->min_size.width = x_dimension->values[0].range.lower; + dinfo->min_size.length = y_dimension->values[0].range.lower; + dinfo->min_size.left = + dinfo->min_size.right = 635; /* Default 1/4" side margins */ + dinfo->min_size.top = + dinfo->min_size.bottom = 1270; /* Default 1/2" top/bottom margins */ + + dinfo->max_size.width = x_dimension->values[0].range.upper; + dinfo->max_size.length = y_dimension->values[0].range.upper; + dinfo->max_size.left = + dinfo->max_size.right = 635; /* Default 1/4" side margins */ + dinfo->max_size.top = + dinfo->max_size.bottom = 1270; /* Default 1/2" top/bottom margins */ + continue; + } + } + + if ((media_attr = ippFindAttribute(val->collection, "media-color", IPP_TAG_ZERO)) != NULL && (media_attr->value_tag == IPP_TAG_NAME || media_attr->value_tag == IPP_TAG_NAMELANG || media_attr->value_tag == IPP_TAG_KEYWORD)) + mdb.color = media_attr->values[0].string.text; + + if ((media_attr = ippFindAttribute(val->collection, "media-info", IPP_TAG_TEXT)) != NULL) + mdb.info = media_attr->values[0].string.text; + + if ((media_attr = ippFindAttribute(val->collection, "media-key", IPP_TAG_ZERO)) != NULL && (media_attr->value_tag == IPP_TAG_NAME || media_attr->value_tag == IPP_TAG_NAMELANG || media_attr->value_tag == IPP_TAG_KEYWORD)) + mdb.key = media_attr->values[0].string.text; + + if ((media_attr = ippFindAttribute(val->collection, "media-size-name", IPP_TAG_ZERO)) != NULL && (media_attr->value_tag == IPP_TAG_NAME || media_attr->value_tag == IPP_TAG_NAMELANG || media_attr->value_tag == IPP_TAG_KEYWORD)) + mdb.size_name = media_attr->values[0].string.text; + + if ((media_attr = ippFindAttribute(val->collection, "media-source", IPP_TAG_ZERO)) != NULL && (media_attr->value_tag == IPP_TAG_NAME || media_attr->value_tag == IPP_TAG_NAMELANG || media_attr->value_tag == IPP_TAG_KEYWORD)) + mdb.source = media_attr->values[0].string.text; + + if ((media_attr = ippFindAttribute(val->collection, "media-type", IPP_TAG_ZERO)) != NULL && (media_attr->value_tag == IPP_TAG_NAME || media_attr->value_tag == IPP_TAG_NAMELANG || media_attr->value_tag == IPP_TAG_KEYWORD)) + mdb.type = media_attr->values[0].string.text; + + if ((media_attr = ippFindAttribute(val->collection, "media-bottom-margin", IPP_TAG_INTEGER)) != NULL) + mdb.bottom = media_attr->values[0].integer; + + if ((media_attr = ippFindAttribute(val->collection, "media-left-margin", IPP_TAG_INTEGER)) != NULL) + mdb.left = media_attr->values[0].integer; + + if ((media_attr = ippFindAttribute(val->collection, "media-right-margin", IPP_TAG_INTEGER)) != NULL) + mdb.right = media_attr->values[0].integer; + + if ((media_attr = ippFindAttribute(val->collection, "media-top-margin", IPP_TAG_INTEGER)) != NULL) + mdb.top = media_attr->values[0].integer; + + if (!mdb.key) + { + if (!mdb.size_name && (pwg = pwgMediaForSize(mdb.width, mdb.length)) != NULL) + mdb.size_name = (char *)pwg->pwg; + + if (!mdb.size_name) + { + /* + * Use a CUPS-specific identifier if we don't have a size name... + */ + + if (flags & CUPS_MEDIA_FLAGS_READY) + snprintf(media_key, sizeof(media_key), "cups-media-ready-%d", i + 1); + else + snprintf(media_key, sizeof(media_key), "cups-media-%d", i + 1); + } + else if (mdb.source) + { + /* + * Generate key using size name, source, and type (if set)... + */ + + if (mdb.type) + snprintf(media_key, sizeof(media_key), "%s_%s_%s", mdb.size_name, mdb.source, mdb.type); + else + snprintf(media_key, sizeof(media_key), "%s_%s", mdb.size_name, mdb.source); + } + else if (mdb.type) + { + /* + * Generate key using size name and type... + */ + + snprintf(media_key, sizeof(media_key), "%s_%s", mdb.size_name, mdb.type); + } + else + { + /* + * Key is just the size name... + */ + + strlcpy(media_key, mdb.size_name, sizeof(media_key)); + } + + /* + * Append "_borderless" for borderless media... + */ + + if (!mdb.bottom && !mdb.left && !mdb.right && !mdb.top) + strlcat(media_key, "_borderless", sizeof(media_key)); + + mdb.key = media_key; + } + + DEBUG_printf(("1cups_create_media_db: Adding media: key=\"%s\", width=%d, length=%d, source=\"%s\", type=\"%s\".", mdb.key, mdb.width, mdb.length, mdb.source, mdb.type)); + + cupsArrayAdd(db, &mdb); + } + + if (custom) + { + if ((media_attr = ippFindAttribute(custom->collection, + "media-bottom-margin", + IPP_TAG_INTEGER)) != NULL) + { + dinfo->min_size.top = + dinfo->max_size.top = media_attr->values[0].integer; + } + + if ((media_attr = ippFindAttribute(custom->collection, + "media-left-margin", + IPP_TAG_INTEGER)) != NULL) + { + dinfo->min_size.left = + dinfo->max_size.left = media_attr->values[0].integer; + } + + if ((media_attr = ippFindAttribute(custom->collection, + "media-right-margin", + IPP_TAG_INTEGER)) != NULL) + { + dinfo->min_size.right = + dinfo->max_size.right = media_attr->values[0].integer; + } + + if ((media_attr = ippFindAttribute(custom->collection, + "media-top-margin", + IPP_TAG_INTEGER)) != NULL) + { + dinfo->min_size.top = + dinfo->max_size.top = media_attr->values[0].integer; + } + } + } + else if (media_attr && + (media_attr->value_tag == IPP_TAG_NAME || + media_attr->value_tag == IPP_TAG_NAMELANG || + media_attr->value_tag == IPP_TAG_KEYWORD)) + { + memset(&mdb, 0, sizeof(mdb)); + + mdb.left = + mdb.right = 635; /* Default 1/4" side margins */ + mdb.top = + mdb.bottom = 1270; /* Default 1/2" top/bottom margins */ + + for (i = media_attr->num_values, val = media_attr->values; + i > 0; + i --, val ++) + { + if ((pwg = pwgMediaForPWG(val->string.text)) == NULL) + if ((pwg = pwgMediaForLegacy(val->string.text)) == NULL) + { + DEBUG_printf(("3cups_create_media_db: Ignoring unknown size '%s'.", + val->string.text)); + continue; + } + + mdb.width = pwg->width; + mdb.length = pwg->length; + + if (flags != CUPS_MEDIA_FLAGS_READY && + !strncmp(val->string.text, "custom_min_", 11)) + { + mdb.size_name = NULL; + dinfo->min_size = mdb; + } + else if (flags != CUPS_MEDIA_FLAGS_READY && + !strncmp(val->string.text, "custom_max_", 11)) + { + mdb.size_name = NULL; + dinfo->max_size = mdb; + } + else + { + mdb.size_name = val->string.text; + + cupsArrayAdd(db, &mdb); + } + } + } +} + + +/* + * 'cups_free_media_cb()' - Free a media entry. + */ + +static void +cups_free_media_db( + _cups_media_db_t *mdb) /* I - Media entry to free */ +{ + if (mdb->color) + _cupsStrFree(mdb->color); + if (mdb->key) + _cupsStrFree(mdb->key); + if (mdb->info) + _cupsStrFree(mdb->info); + if (mdb->size_name) + _cupsStrFree(mdb->size_name); + if (mdb->source) + _cupsStrFree(mdb->source); + if (mdb->type) + _cupsStrFree(mdb->type); + + free(mdb); +} + + +/* + * 'cups_get_media_db()' - Lookup the media entry for a given size. + */ + +static int /* O - 1 on match, 0 on failure */ +cups_get_media_db(http_t *http, /* I - Connection to destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + pwg_media_t *pwg, /* I - PWG media info */ + unsigned flags, /* I - Media matching flags */ + cups_size_t *size) /* O - Media size/margin/name info */ +{ + cups_array_t *db; /* Which media database to query */ + _cups_media_db_t *mdb, /* Current media database entry */ + *best = NULL, /* Best matching entry */ + key; /* Search key */ + + + /* + * Create the media database as needed... + */ + + if (flags & CUPS_MEDIA_FLAGS_READY) + { + cups_update_ready(http, dinfo); + db = dinfo->ready_db; + } + else + { + if (!dinfo->media_db) + cups_create_media_db(dinfo, CUPS_MEDIA_FLAGS_DEFAULT); + + db = dinfo->media_db; + } + + /* + * Find a match... + */ + + memset(&key, 0, sizeof(key)); + key.width = pwg->width; + key.length = pwg->length; + + if ((mdb = cupsArrayFind(db, &key)) != NULL) + { + /* + * Found an exact match, let's figure out the best margins for the flags + * supplied... + */ + + best = mdb; + + if (flags & CUPS_MEDIA_FLAGS_BORDERLESS) + { + /* + * Look for the smallest margins... + */ + + if (best->left != 0 || best->right != 0 || best->top != 0 || best->bottom != 0) + { + for (mdb = (_cups_media_db_t *)cupsArrayNext(db); + mdb && !cups_compare_media_db(mdb, &key); + mdb = (_cups_media_db_t *)cupsArrayNext(db)) + { + if (mdb->left <= best->left && mdb->right <= best->right && + mdb->top <= best->top && mdb->bottom <= best->bottom) + { + best = mdb; + if (mdb->left == 0 && mdb->right == 0 && mdb->bottom == 0 && + mdb->top == 0) + break; + } + } + } + + /* + * If we need an exact match, return no-match if the size is not + * borderless. + */ + + if ((flags & CUPS_MEDIA_FLAGS_EXACT) && + (best->left || best->right || best->top || best->bottom)) + return (0); + } + else if (flags & CUPS_MEDIA_FLAGS_DUPLEX) + { + /* + * Look for the largest margins... + */ + + for (mdb = (_cups_media_db_t *)cupsArrayNext(db); + mdb && !cups_compare_media_db(mdb, &key); + mdb = (_cups_media_db_t *)cupsArrayNext(db)) + { + if (mdb->left >= best->left && mdb->right >= best->right && + mdb->top >= best->top && mdb->bottom >= best->bottom && + (mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top != best->top)) + best = mdb; + } + } + else + { + /* + * Look for the smallest non-zero margins... + */ + + for (mdb = (_cups_media_db_t *)cupsArrayNext(db); + mdb && !cups_compare_media_db(mdb, &key); + mdb = (_cups_media_db_t *)cupsArrayNext(db)) + { + if (((mdb->left > 0 && mdb->left <= best->left) || best->left == 0) && + ((mdb->right > 0 && mdb->right <= best->right) || best->right == 0) && + ((mdb->top > 0 && mdb->top <= best->top) || best->top == 0) && + ((mdb->bottom > 0 && mdb->bottom <= best->bottom) || best->bottom == 0) && + (mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top != best->top)) + best = mdb; + } + } + } + else if (flags & CUPS_MEDIA_FLAGS_EXACT) + { + /* + * See if we can do this as a custom size... + */ + + if (pwg->width < dinfo->min_size.width || + pwg->width > dinfo->max_size.width || + pwg->length < dinfo->min_size.length || + pwg->length > dinfo->max_size.length) + return (0); /* Out of range */ + + if ((flags & CUPS_MEDIA_FLAGS_BORDERLESS) && + (dinfo->min_size.left > 0 || dinfo->min_size.right > 0 || + dinfo->min_size.top > 0 || dinfo->min_size.bottom > 0)) + return (0); /* Not borderless */ + + key.size_name = (char *)pwg->pwg; + key.bottom = dinfo->min_size.bottom; + key.left = dinfo->min_size.left; + key.right = dinfo->min_size.right; + key.top = dinfo->min_size.top; + + best = &key; + } + else if (pwg->width >= dinfo->min_size.width && + pwg->width <= dinfo->max_size.width && + pwg->length >= dinfo->min_size.length && + pwg->length <= dinfo->max_size.length) + { + /* + * Map to custom size... + */ + + key.size_name = (char *)pwg->pwg; + key.bottom = dinfo->min_size.bottom; + key.left = dinfo->min_size.left; + key.right = dinfo->min_size.right; + key.top = dinfo->min_size.top; + + best = &key; + } + else + { + /* + * Find a close size... + */ + + for (mdb = (_cups_media_db_t *)cupsArrayFirst(db); + mdb; + mdb = (_cups_media_db_t *)cupsArrayNext(db)) + if (cups_is_close_media_db(mdb, &key)) + break; + + if (!mdb) + return (0); + + best = mdb; + + if (flags & CUPS_MEDIA_FLAGS_BORDERLESS) + { + /* + * Look for the smallest margins... + */ + + if (best->left != 0 || best->right != 0 || best->top != 0 || + best->bottom != 0) + { + for (mdb = (_cups_media_db_t *)cupsArrayNext(db); + mdb && cups_is_close_media_db(mdb, &key); + mdb = (_cups_media_db_t *)cupsArrayNext(db)) + { + if (mdb->left <= best->left && mdb->right <= best->right && + mdb->top <= best->top && mdb->bottom <= best->bottom && + (mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top != best->top)) + { + best = mdb; + if (mdb->left == 0 && mdb->right == 0 && mdb->bottom == 0 && + mdb->top == 0) + break; + } + } + } + } + else if (flags & CUPS_MEDIA_FLAGS_DUPLEX) + { + /* + * Look for the largest margins... + */ + + for (mdb = (_cups_media_db_t *)cupsArrayNext(db); + mdb && cups_is_close_media_db(mdb, &key); + mdb = (_cups_media_db_t *)cupsArrayNext(db)) + { + if (mdb->left >= best->left && mdb->right >= best->right && + mdb->top >= best->top && mdb->bottom >= best->bottom && + (mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top != best->top)) + best = mdb; + } + } + else + { + /* + * Look for the smallest non-zero margins... + */ + + for (mdb = (_cups_media_db_t *)cupsArrayNext(db); + mdb && cups_is_close_media_db(mdb, &key); + mdb = (_cups_media_db_t *)cupsArrayNext(db)) + { + if (((mdb->left > 0 && mdb->left <= best->left) || best->left == 0) && + ((mdb->right > 0 && mdb->right <= best->right) || + best->right == 0) && + ((mdb->top > 0 && mdb->top <= best->top) || best->top == 0) && + ((mdb->bottom > 0 && mdb->bottom <= best->bottom) || + best->bottom == 0) && + (mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top != best->top)) + best = mdb; + } + } + } + + if (best) + { + /* + * Return the matching size... + */ + + if (best->key) + strlcpy(size->media, best->key, sizeof(size->media)); + else if (best->size_name) + strlcpy(size->media, best->size_name, sizeof(size->media)); + else if (pwg && pwg->pwg) + strlcpy(size->media, pwg->pwg, sizeof(size->media)); + else + strlcpy(size->media, "unknown", sizeof(size->media)); + + size->width = best->width; + size->length = best->length; + size->bottom = best->bottom; + size->left = best->left; + size->right = best->right; + size->top = best->top; + + return (1); + } + + return (0); +} + + +/* + * 'cups_is_close_media_db()' - Compare two media entries to see if they are + * close to the same size. + * + * Currently we use 5 points (from PostScript) as the matching range... + */ + +static int /* O - 1 if the sizes are close */ +cups_is_close_media_db( + _cups_media_db_t *a, /* I - First media entries */ + _cups_media_db_t *b) /* I - Second media entries */ +{ + int dwidth, /* Difference in width */ + dlength; /* Difference in length */ + + + dwidth = a->width - b->width; + dlength = a->length - b->length; + + return (dwidth >= -176 && dwidth <= 176 && + dlength >= -176 && dlength <= 176); +} + + +/* + * 'cups_test_constraints()' - Test constraints. + */ + +static cups_array_t * /* O - Active constraints */ +cups_test_constraints( + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *new_option, /* I - Newly selected option */ + const char *new_value, /* I - Newly selected value */ + int num_options, /* I - Number of options */ + cups_option_t *options, /* I - Options */ + int *num_conflicts, /* O - Number of conflicting options */ + cups_option_t **conflicts) /* O - Conflicting options */ +{ + int i, /* Looping var */ + count, /* Number of values */ + match; /* Value matches? */ + int num_matching; /* Number of matching options */ + cups_option_t *matching; /* Matching options */ + _cups_dconstres_t *c; /* Current constraint */ + cups_array_t *active = NULL; /* Active constraints */ + ipp_t *col; /* Collection value */ + ipp_attribute_t *attr; /* Current attribute */ + _ipp_value_t *attrval; /* Current attribute value */ + const char *value; /* Current value */ + char temp[1024]; /* Temporary string */ + int int_value; /* Integer value */ + int xres_value, /* Horizontal resolution */ + yres_value; /* Vertical resolution */ + ipp_res_t units_value; /* Resolution units */ + + + for (c = (_cups_dconstres_t *)cupsArrayFirst(dinfo->constraints); + c; + c = (_cups_dconstres_t *)cupsArrayNext(dinfo->constraints)) + { + num_matching = 0; + matching = NULL; + + for (attr = ippFirstAttribute(c->collection); + attr; + attr = ippNextAttribute(c->collection)) + { + /* + * Get the value for the current attribute in the constraint... + */ + + if (new_option && new_value && !strcmp(attr->name, new_option)) + value = new_value; + else if ((value = cupsGetOption(attr->name, num_options, options)) == NULL) + value = cupsGetOption(attr->name, dinfo->num_defaults, dinfo->defaults); + + if (!value) + { + /* + * Not set so this constraint does not apply... + */ + + break; + } + + match = 0; + + switch (attr->value_tag) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + int_value = atoi(value); + + for (i = attr->num_values, attrval = attr->values; + i > 0; + i --, attrval ++) + { + if (attrval->integer == int_value) + { + match = 1; + break; + } + } + break; + + case IPP_TAG_BOOLEAN : + int_value = !strcmp(value, "true"); + + for (i = attr->num_values, attrval = attr->values; + i > 0; + i --, attrval ++) + { + if (attrval->boolean == int_value) + { + match = 1; + break; + } + } + break; + + case IPP_TAG_RANGE : + int_value = atoi(value); + + for (i = attr->num_values, attrval = attr->values; + i > 0; + i --, attrval ++) + { + if (int_value >= attrval->range.lower && + int_value <= attrval->range.upper) + { + match = 1; + break; + } + } + break; + + case IPP_TAG_RESOLUTION : + if (sscanf(value, "%dx%d%15s", &xres_value, &yres_value, temp) != 3) + { + if (sscanf(value, "%d%15s", &xres_value, temp) != 2) + break; + + yres_value = xres_value; + } + + if (!strcmp(temp, "dpi")) + units_value = IPP_RES_PER_INCH; + else if (!strcmp(temp, "dpc") || !strcmp(temp, "dpcm")) + units_value = IPP_RES_PER_CM; + else + break; + + for (i = attr->num_values, attrval = attr->values; + i > 0; + i --, attrval ++) + { + if (attrval->resolution.xres == xres_value && + attrval->resolution.yres == yres_value && + attrval->resolution.units == units_value) + { + match = 1; + break; + } + } + break; + + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_CHARSET : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_MIMETYPE : + case IPP_TAG_LANGUAGE : + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + for (i = attr->num_values, attrval = attr->values; + i > 0; + i --, attrval ++) + { + if (!strcmp(attrval->string.text, value)) + { + match = 1; + break; + } + } + break; + + case IPP_TAG_BEGIN_COLLECTION : + col = ippNew(); + _cupsEncodeOption(col, IPP_TAG_ZERO, NULL, ippGetName(attr), value); + + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + if (cups_collection_contains(col, ippGetCollection(attr, i))) + { + match = 1; + break; + } + } + + ippDelete(col); + break; + + default : + break; + } + + if (!match) + break; + + num_matching = cupsAddOption(attr->name, value, num_matching, &matching); + } + + if (!attr) + { + if (!active) + active = cupsArrayNew(NULL, NULL); + + cupsArrayAdd(active, c); + + if (num_conflicts && conflicts) + { + cups_option_t *moption; /* Matching option */ + + for (i = num_matching, moption = matching; i > 0; i --, moption ++) + *num_conflicts = cupsAddOption(moption->name, moption->value, *num_conflicts, conflicts); + } + } + + cupsFreeOptions(num_matching, matching); + } + + return (active); +} + + +/* + * 'cups_update_ready()' - Update xxx-ready attributes for the printer. + */ + +static void +cups_update_ready(http_t *http, /* I - Connection to destination */ + cups_dinfo_t *dinfo) /* I - Destination information */ +{ + ipp_t *request; /* Get-Printer-Attributes request */ + static const char * const pattrs[] = /* Printer attributes we want */ + { + "finishings-col-ready", + "finishings-ready", + "job-finishings-col-ready", + "job-finishings-ready", + "media-col-ready", + "media-ready" + }; + + + /* + * Don't update more than once every 30 seconds... + */ + + if ((time(NULL) - dinfo->ready_time) < _CUPS_MEDIA_READY_TTL) + return; + + /* + * Free any previous results... + */ + + if (dinfo->cached_flags & CUPS_MEDIA_FLAGS_READY) + { + cupsArrayDelete(dinfo->cached_db); + dinfo->cached_db = NULL; + dinfo->cached_flags = CUPS_MEDIA_FLAGS_DEFAULT; + } + + ippDelete(dinfo->ready_attrs); + dinfo->ready_attrs = NULL; + + cupsArrayDelete(dinfo->ready_db); + dinfo->ready_db = NULL; + + /* + * Query the xxx-ready values... + */ + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippSetVersion(request, dinfo->version / 10, dinfo->version % 10); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, + dinfo->uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + ippAddStrings(request, IPP_TAG_OPERATION, IPP_CONST_TAG(IPP_TAG_KEYWORD), "requested-attributes", (int)(sizeof(pattrs) / sizeof(pattrs[0])), NULL, pattrs); + + dinfo->ready_attrs = cupsDoRequest(http, request, dinfo->resource); + + /* + * Update the ready media database... + */ + + cups_create_media_db(dinfo, CUPS_MEDIA_FLAGS_READY); + + /* + * Update last lookup time and return... + */ + + dinfo->ready_time = time(NULL); +} diff --git a/cups/dest.c b/cups/dest.c new file mode 100644 index 0000000..cde987a --- /dev/null +++ b/cups/dest.c @@ -0,0 +1,4370 @@ +/* + * User-defined destination (and option) support for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include + +#ifdef HAVE_NOTIFY_H +# include +#endif /* HAVE_NOTIFY_H */ + +#ifdef HAVE_POLL +# include +#endif /* HAVE_POLL */ + +#ifdef HAVE_DNSSD +# include +#endif /* HAVE_DNSSD */ + +#ifdef HAVE_AVAHI +# include +# include +# include +# include +# include +# include +#define kDNSServiceMaxDomainName AVAHI_DOMAIN_NAME_MAX +#endif /* HAVE_AVAHI */ + + +/* + * Constants... + */ + +#ifdef __APPLE__ +# if HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME +# include +# define _CUPS_LOCATION_DEFAULTS 1 +# endif /* HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME */ +# define kCUPSPrintingPrefs CFSTR("org.cups.PrintingPrefs") +# define kDefaultPaperIDKey CFSTR("DefaultPaperID") +# define kLastUsedPrintersKey CFSTR("LastUsedPrinters") +# define kLocationNetworkKey CFSTR("Network") +# define kLocationPrinterIDKey CFSTR("PrinterID") +# define kUseLastPrinter CFSTR("UseLastPrinter") +#endif /* __APPLE__ */ + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) +# define _CUPS_DNSSD_GET_DESTS 250 /* Milliseconds for cupsGetDests */ +# define _CUPS_DNSSD_MAXTIME 50 /* Milliseconds for maximum quantum of time */ +#else +# define _CUPS_DNSSD_GET_DESTS 0 /* Milliseconds for cupsGetDests */ +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + +/* + * Types... + */ + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) +typedef enum _cups_dnssd_state_e /* Enumerated device state */ +{ + _CUPS_DNSSD_NEW, + _CUPS_DNSSD_QUERY, + _CUPS_DNSSD_PENDING, + _CUPS_DNSSD_ACTIVE, + _CUPS_DNSSD_INCOMPATIBLE, + _CUPS_DNSSD_ERROR +} _cups_dnssd_state_t; + +typedef struct _cups_dnssd_data_s /* Enumeration data */ +{ +# ifdef HAVE_DNSSD + DNSServiceRef main_ref; /* Main service reference */ +# else /* HAVE_AVAHI */ + AvahiSimplePoll *simple_poll; /* Polling interface */ + AvahiClient *client; /* Client information */ + int got_data; /* Did we get data? */ + int browsers; /* How many browsers are running? */ +# endif /* HAVE_DNSSD */ + cups_dest_cb_t cb; /* Callback */ + void *user_data; /* User data pointer */ + cups_ptype_t type, /* Printer type filter */ + mask; /* Printer type mask */ + cups_array_t *devices; /* Devices found so far */ + int num_dests; /* Number of lpoptions destinations */ + cups_dest_t *dests; /* lpoptions destinations */ + char def_name[1024], /* Default printer name, if any */ + *def_instance; /* Default printer instance, if any */ +} _cups_dnssd_data_t; + +typedef struct _cups_dnssd_device_s /* Enumerated device */ +{ + _cups_dnssd_state_t state; /* State of device listing */ +# ifdef HAVE_DNSSD + DNSServiceRef ref; /* Service reference for query */ +# else /* HAVE_AVAHI */ + AvahiRecordBrowser *ref; /* Browser for query */ +# endif /* HAVE_DNSSD */ + char *fullName, /* Full name */ + *regtype, /* Registration type */ + *domain; /* Domain name */ + cups_ptype_t type; /* Device registration type */ + cups_dest_t dest; /* Destination record */ +} _cups_dnssd_device_t; + +typedef struct _cups_dnssd_resolve_s /* Data for resolving URI */ +{ + int *cancel; /* Pointer to "cancel" variable */ + struct timeval end_time; /* Ending time */ +} _cups_dnssd_resolve_t; +#endif /* HAVE_DNSSD */ + +typedef struct _cups_getdata_s +{ + int num_dests; /* Number of destinations */ + cups_dest_t *dests; /* Destinations */ + char def_name[1024], /* Default printer name, if any */ + *def_instance; /* Default printer instance, if any */ +} _cups_getdata_t; + +typedef struct _cups_namedata_s +{ + const char *name; /* Named destination */ + cups_dest_t *dest; /* Destination */ +} _cups_namedata_t; + + +/* + * Local functions... + */ + +#if _CUPS_LOCATION_DEFAULTS +static CFArrayRef appleCopyLocations(void); +static CFStringRef appleCopyNetwork(void); +#endif /* _CUPS_LOCATION_DEFAULTS */ +#ifdef __APPLE__ +static char *appleGetPaperSize(char *name, size_t namesize); +#endif /* __APPLE__ */ +#if _CUPS_LOCATION_DEFAULTS +static CFStringRef appleGetPrinter(CFArrayRef locations, + CFStringRef network, CFIndex *locindex); +#endif /* _CUPS_LOCATION_DEFAULTS */ +static cups_dest_t *cups_add_dest(const char *name, const char *instance, + int *num_dests, cups_dest_t **dests); +#ifdef __BLOCKS__ +static int cups_block_cb(cups_dest_block_t block, unsigned flags, + cups_dest_t *dest); +#endif /* __BLOCKS__ */ +static int cups_compare_dests(cups_dest_t *a, cups_dest_t *b); +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) +# ifdef HAVE_DNSSD +static void cups_dnssd_browse_cb(DNSServiceRef sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + DNSServiceErrorType errorCode, + const char *serviceName, + const char *regtype, + const char *replyDomain, + void *context); +# else /* HAVE_AVAHI */ +static void cups_dnssd_browse_cb(AvahiServiceBrowser *browser, + AvahiIfIndex interface, + AvahiProtocol protocol, + AvahiBrowserEvent event, + const char *serviceName, + const char *regtype, + const char *replyDomain, + AvahiLookupResultFlags flags, + void *context); +static void cups_dnssd_client_cb(AvahiClient *client, + AvahiClientState state, + void *context); +# endif /* HAVE_DNSSD */ +static int cups_dnssd_compare_devices(_cups_dnssd_device_t *a, + _cups_dnssd_device_t *b); +static void cups_dnssd_free_device(_cups_dnssd_device_t *device, + _cups_dnssd_data_t *data); +static _cups_dnssd_device_t * + cups_dnssd_get_device(_cups_dnssd_data_t *data, + const char *serviceName, + const char *regtype, + const char *replyDomain); +# ifdef HAVE_DNSSD +static void cups_dnssd_query_cb(DNSServiceRef sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + DNSServiceErrorType errorCode, + const char *fullName, + uint16_t rrtype, uint16_t rrclass, + uint16_t rdlen, const void *rdata, + uint32_t ttl, void *context); +# else /* HAVE_AVAHI */ +static int cups_dnssd_poll_cb(struct pollfd *pollfds, + unsigned int num_pollfds, + int timeout, void *context); +static void cups_dnssd_query_cb(AvahiRecordBrowser *browser, + AvahiIfIndex interface, + AvahiProtocol protocol, + AvahiBrowserEvent event, + const char *name, uint16_t rrclass, + uint16_t rrtype, const void *rdata, + size_t rdlen, + AvahiLookupResultFlags flags, + void *context); +# endif /* HAVE_DNSSD */ +static const char *cups_dnssd_resolve(cups_dest_t *dest, const char *uri, + int msec, int *cancel, + cups_dest_cb_t cb, void *user_data); +static int cups_dnssd_resolve_cb(void *context); +static void cups_dnssd_unquote(char *dst, const char *src, + size_t dstsize); +static int cups_elapsed(struct timeval *t); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ +static int cups_enum_dests(http_t *http, unsigned flags, int msec, int *cancel, cups_ptype_t type, cups_ptype_t mask, cups_dest_cb_t cb, void *user_data); +static int cups_find_dest(const char *name, const char *instance, + int num_dests, cups_dest_t *dests, int prev, + int *rdiff); +static int cups_get_cb(_cups_getdata_t *data, unsigned flags, cups_dest_t *dest); +static char *cups_get_default(const char *filename, char *namebuf, + size_t namesize, const char **instance); +static int cups_get_dests(const char *filename, const char *match_name, const char *match_inst, int load_all, int user_default_set, int num_dests, cups_dest_t **dests); +static char *cups_make_string(ipp_attribute_t *attr, char *buffer, + size_t bufsize); +static int cups_name_cb(_cups_namedata_t *data, unsigned flags, cups_dest_t *dest); +static void cups_queue_name(char *name, const char *serviceName, size_t namesize); + + +/* + * 'cupsAddDest()' - Add a destination to the list of destinations. + * + * 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 @link cupsSaveDests@ function to save the updated list of + * destinations to the user's lpoptions file. + */ + +int /* O - New number of destinations */ +cupsAddDest(const char *name, /* I - Destination name */ + const char *instance, /* I - Instance name or @code NULL@ for none/primary */ + int num_dests, /* I - Number of destinations */ + cups_dest_t **dests) /* IO - Destinations */ +{ + int i; /* Looping var */ + cups_dest_t *dest; /* Destination pointer */ + cups_dest_t *parent = NULL; /* Parent destination */ + cups_option_t *doption, /* Current destination option */ + *poption; /* Current parent option */ + + + if (!name || !dests) + return (0); + + if (!cupsGetDest(name, instance, num_dests, *dests)) + { + if (instance && !cupsGetDest(name, NULL, num_dests, *dests)) + return (num_dests); + + if ((dest = cups_add_dest(name, instance, &num_dests, dests)) == NULL) + return (num_dests); + + /* + * Find the base dest again now the array has been realloc'd. + */ + + parent = cupsGetDest(name, NULL, num_dests, *dests); + + if (instance && parent && parent->num_options > 0) + { + /* + * Copy options from parent... + */ + + dest->options = calloc(sizeof(cups_option_t), (size_t)parent->num_options); + + if (dest->options) + { + dest->num_options = parent->num_options; + + for (i = dest->num_options, doption = dest->options, + poption = parent->options; + i > 0; + i --, doption ++, poption ++) + { + doption->name = _cupsStrRetain(poption->name); + doption->value = _cupsStrRetain(poption->value); + } + } + } + } + + return (num_dests); +} + + +#ifdef __APPLE__ +/* + * '_cupsAppleCopyDefaultPaperID()' - Get the default paper ID. + */ + +CFStringRef /* O - Default paper ID */ +_cupsAppleCopyDefaultPaperID(void) +{ + return (CFPreferencesCopyAppValue(kDefaultPaperIDKey, + kCUPSPrintingPrefs)); +} + + +/* + * '_cupsAppleCopyDefaultPrinter()' - Get the default printer at this location. + */ + +CFStringRef /* O - Default printer name */ +_cupsAppleCopyDefaultPrinter(void) +{ +# if _CUPS_LOCATION_DEFAULTS + CFStringRef network; /* Network location */ + CFArrayRef locations; /* Location array */ + CFStringRef locprinter; /* Current printer */ + + + /* + * Use location-based defaults only if "use last printer" is selected in the + * system preferences... + */ + + if (!_cupsAppleGetUseLastPrinter()) + { + DEBUG_puts("1_cupsAppleCopyDefaultPrinter: Not using last printer as " + "default."); + return (NULL); + } + + /* + * Get the current location... + */ + + if ((network = appleCopyNetwork()) == NULL) + { + DEBUG_puts("1_cupsAppleCopyDefaultPrinter: Unable to get current " + "network."); + return (NULL); + } + + /* + * Lookup the network in the preferences... + */ + + if ((locations = appleCopyLocations()) == NULL) + { + /* + * Missing or bad location array, so no location-based default... + */ + + DEBUG_puts("1_cupsAppleCopyDefaultPrinter: Missing or bad last used " + "printer array."); + + CFRelease(network); + + return (NULL); + } + + DEBUG_printf(("1_cupsAppleCopyDefaultPrinter: Got locations, %d entries.", + (int)CFArrayGetCount(locations))); + + if ((locprinter = appleGetPrinter(locations, network, NULL)) != NULL) + CFRetain(locprinter); + + CFRelease(network); + CFRelease(locations); + + return (locprinter); + +# else + return (NULL); +# endif /* _CUPS_LOCATION_DEFAULTS */ +} + + +/* + * '_cupsAppleGetUseLastPrinter()' - Get whether to use the last used printer. + */ + +int /* O - 1 to use last printer, 0 otherwise */ +_cupsAppleGetUseLastPrinter(void) +{ + Boolean uselast, /* Use last printer preference value */ + uselast_set; /* Valid is set? */ + + + if (getenv("CUPS_DISABLE_APPLE_DEFAULT")) + return (0); + + uselast = CFPreferencesGetAppBooleanValue(kUseLastPrinter, + kCUPSPrintingPrefs, + &uselast_set); + if (!uselast_set) + return (1); + else + return (uselast); +} + + +/* + * '_cupsAppleSetDefaultPaperID()' - Set the default paper id. + */ + +void +_cupsAppleSetDefaultPaperID( + CFStringRef name) /* I - New paper ID */ +{ + CFPreferencesSetAppValue(kDefaultPaperIDKey, name, kCUPSPrintingPrefs); + CFPreferencesAppSynchronize(kCUPSPrintingPrefs); + +# ifdef HAVE_NOTIFY_POST + notify_post("com.apple.printerPrefsChange"); +# endif /* HAVE_NOTIFY_POST */ +} + + +/* + * '_cupsAppleSetDefaultPrinter()' - Set the default printer for this location. + */ + +void +_cupsAppleSetDefaultPrinter( + CFStringRef name) /* I - Default printer/class name */ +{ +# if _CUPS_LOCATION_DEFAULTS + CFStringRef network; /* Current network */ + CFArrayRef locations; /* Old locations array */ + CFIndex locindex; /* Index in locations array */ + CFStringRef locprinter; /* Current printer */ + CFMutableArrayRef newlocations; /* New locations array */ + CFMutableDictionaryRef newlocation; /* New location */ + + + /* + * Get the current location... + */ + + if ((network = appleCopyNetwork()) == NULL) + { + DEBUG_puts("1_cupsAppleSetDefaultPrinter: Unable to get current network..."); + return; + } + + /* + * Lookup the network in the preferences... + */ + + if ((locations = appleCopyLocations()) != NULL) + locprinter = appleGetPrinter(locations, network, &locindex); + else + { + locprinter = NULL; + locindex = -1; + } + + if (!locprinter || CFStringCompare(locprinter, name, 0) != kCFCompareEqualTo) + { + /* + * Need to change the locations array... + */ + + if (locations) + { + newlocations = CFArrayCreateMutableCopy(kCFAllocatorDefault, 0, + locations); + + if (locprinter) + CFArrayRemoveValueAtIndex(newlocations, locindex); + } + else + newlocations = CFArrayCreateMutable(kCFAllocatorDefault, 0, + &kCFTypeArrayCallBacks); + + newlocation = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, + &kCFTypeDictionaryKeyCallBacks, + &kCFTypeDictionaryValueCallBacks); + + if (newlocation && newlocations) + { + /* + * Put the new location at the front of the array... + */ + + CFDictionaryAddValue(newlocation, kLocationNetworkKey, network); + CFDictionaryAddValue(newlocation, kLocationPrinterIDKey, name); + CFArrayInsertValueAtIndex(newlocations, 0, newlocation); + + /* + * Limit the number of locations to 10... + */ + + while (CFArrayGetCount(newlocations) > 10) + CFArrayRemoveValueAtIndex(newlocations, 10); + + /* + * Push the changes out... + */ + + CFPreferencesSetAppValue(kLastUsedPrintersKey, newlocations, + kCUPSPrintingPrefs); + CFPreferencesAppSynchronize(kCUPSPrintingPrefs); + +# ifdef HAVE_NOTIFY_POST + notify_post("com.apple.printerPrefsChange"); +# endif /* HAVE_NOTIFY_POST */ + } + + if (newlocations) + CFRelease(newlocations); + + if (newlocation) + CFRelease(newlocation); + } + + if (locations) + CFRelease(locations); + + CFRelease(network); + +# else + (void)name; +# endif /* _CUPS_LOCATION_DEFAULTS */ +} + + +/* + * '_cupsAppleSetUseLastPrinter()' - Set whether to use the last used printer. + */ + +void +_cupsAppleSetUseLastPrinter( + int uselast) /* O - 1 to use last printer, 0 otherwise */ +{ + CFPreferencesSetAppValue(kUseLastPrinter, + uselast ? kCFBooleanTrue : kCFBooleanFalse, + kCUPSPrintingPrefs); + CFPreferencesAppSynchronize(kCUPSPrintingPrefs); + +# ifdef HAVE_NOTIFY_POST + notify_post("com.apple.printerPrefsChange"); +# endif /* HAVE_NOTIFY_POST */ +} +#endif /* __APPLE__ */ + + +/* + * 'cupsConnectDest()' - Open a connection to the destination. + * + * Connect to the destination, returning a new @code http_t@ connection object + * and optionally the resource path to use for the destination. These calls + * will block until a connection is made, the timeout expires, the integer + * pointed to by "cancel" is non-zero, or the callback function (or block) + * returns 0. The caller is responsible for calling @link httpClose@ on the + * returned connection. + * + * Starting with CUPS 2.2.4, the caller can pass @code CUPS_DEST_FLAGS_DEVICE@ + * for the "flags" argument to connect directly to the device associated with + * the destination. Otherwise, the connection is made to the CUPS scheduler + * associated with the destination. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +http_t * /* O - Connection to destination or @code NULL@ */ +cupsConnectDest( + cups_dest_t *dest, /* I - Destination */ + unsigned flags, /* I - Connection flags */ + int msec, /* I - Timeout in milliseconds */ + int *cancel, /* I - Pointer to "cancel" variable */ + char *resource, /* I - Resource buffer */ + size_t resourcesize, /* I - Size of resource buffer */ + cups_dest_cb_t cb, /* I - Callback function */ + void *user_data) /* I - User data pointer */ +{ + const char *uri; /* Printer URI */ + char scheme[32], /* URI scheme */ + userpass[256], /* Username and password (unused) */ + hostname[256], /* Hostname */ + tempresource[1024]; /* Temporary resource buffer */ + int port; /* Port number */ + char portstr[16]; /* Port number string */ + http_encryption_t encryption; /* Encryption to use */ + http_addrlist_t *addrlist; /* Address list for server */ + http_t *http; /* Connection to server */ + + + DEBUG_printf(("cupsConnectDest(dest=%p, flags=0x%x, msec=%d, cancel=%p(%d), resource=\"%s\", resourcesize=" CUPS_LLFMT ", cb=%p, user_data=%p)", (void *)dest, flags, msec, (void *)cancel, cancel ? *cancel : -1, resource, CUPS_LLCAST resourcesize, (void *)cb, user_data)); + + /* + * Range check input... + */ + + if (!dest) + { + if (resource) + *resource = '\0'; + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (NULL); + } + + if (!resource || resourcesize < 1) + { + resource = tempresource; + resourcesize = sizeof(tempresource); + } + + /* + * Grab the printer URI... + */ + + if (flags & CUPS_DEST_FLAGS_DEVICE) + { + if ((uri = cupsGetOption("device-uri", dest->num_options, dest->options)) != NULL) + { +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + if (strstr(uri, "._tcp")) + uri = cups_dnssd_resolve(dest, uri, msec, cancel, cb, user_data); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + } + } + else if ((uri = cupsGetOption("printer-uri-supported", dest->num_options, dest->options)) == NULL) + { + if ((uri = cupsGetOption("device-uri", dest->num_options, dest->options)) != NULL) + { +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + if (strstr(uri, "._tcp")) + uri = cups_dnssd_resolve(dest, uri, msec, cancel, cb, user_data); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + } + + if (uri) + uri = _cupsCreateDest(dest->name, cupsGetOption("printer-info", dest->num_options, dest->options), NULL, uri, tempresource, sizeof(tempresource)); + + if (uri) + { + dest->num_options = cupsAddOption("printer-uri-supported", uri, dest->num_options, &dest->options); + + uri = cupsGetOption("printer-uri-supported", dest->num_options, dest->options); + } + } + + if (!uri) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOENT), 0); + + if (cb) + (*cb)(user_data, CUPS_DEST_FLAGS_UNCONNECTED | CUPS_DEST_FLAGS_ERROR, dest); + + return (NULL); + } + + if (httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, sizeof(scheme), + userpass, sizeof(userpass), hostname, sizeof(hostname), + &port, resource, (int)resourcesize) < HTTP_URI_STATUS_OK) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad printer-uri."), 1); + + if (cb) + (*cb)(user_data, CUPS_DEST_FLAGS_UNCONNECTED | CUPS_DEST_FLAGS_ERROR, + dest); + + return (NULL); + } + + /* + * Lookup the address for the server... + */ + + if (cb) + (*cb)(user_data, CUPS_DEST_FLAGS_UNCONNECTED | CUPS_DEST_FLAGS_RESOLVING, dest); + + snprintf(portstr, sizeof(portstr), "%d", port); + + if ((addrlist = httpAddrGetList(hostname, AF_UNSPEC, portstr)) == NULL) + { + if (cb) + (*cb)(user_data, CUPS_DEST_FLAGS_UNCONNECTED | CUPS_DEST_FLAGS_ERROR, dest); + + return (NULL); + } + + if (cancel && *cancel) + { + httpAddrFreeList(addrlist); + + if (cb) + (*cb)(user_data, CUPS_DEST_FLAGS_UNCONNECTED | CUPS_DEST_FLAGS_CANCELED, dest); + + return (NULL); + } + + /* + * Create the HTTP object pointing to the server referenced by the URI... + */ + + if (!strcmp(scheme, "ipps") || port == 443) + encryption = HTTP_ENCRYPTION_ALWAYS; + else + encryption = HTTP_ENCRYPTION_IF_REQUESTED; + + http = httpConnect2(hostname, port, addrlist, AF_UNSPEC, encryption, 1, 0, NULL); + httpAddrFreeList(addrlist); + + /* + * Connect if requested... + */ + + if (flags & CUPS_DEST_FLAGS_UNCONNECTED) + { + if (cb) + (*cb)(user_data, CUPS_DEST_FLAGS_UNCONNECTED, dest); + } + else + { + if (cb) + (*cb)(user_data, CUPS_DEST_FLAGS_UNCONNECTED | CUPS_DEST_FLAGS_CONNECTING, dest); + + if (!httpReconnect2(http, msec, cancel) && cb) + { + if (cancel && *cancel) + (*cb)(user_data, CUPS_DEST_FLAGS_UNCONNECTED | CUPS_DEST_FLAGS_CONNECTING, dest); + else + (*cb)(user_data, CUPS_DEST_FLAGS_UNCONNECTED | CUPS_DEST_FLAGS_ERROR, dest); + } + else if (cb) + (*cb)(user_data, CUPS_DEST_FLAGS_NONE, dest); + } + + return (http); +} + + +#ifdef __BLOCKS__ +/* + * 'cupsConnectDestBlock()' - Open a connection to the destination. + * + * Connect to the destination, returning a new @code http_t@ connection object + * and optionally the resource path to use for the destination. These calls + * will block until a connection is made, the timeout expires, the integer + * pointed to by "cancel" is non-zero, or the block returns 0. The caller is + * responsible for calling @link httpClose@ on the returned connection. + * + * Starting with CUPS 2.2.4, the caller can pass @code CUPS_DEST_FLAGS_DEVICE@ + * for the "flags" argument to connect directly to the device associated with + * the destination. Otherwise, the connection is made to the CUPS scheduler + * associated with the destination. + * + * @since CUPS 1.6/macOS 10.8@ @exclude all@ + */ + +http_t * /* O - Connection to destination or @code NULL@ */ +cupsConnectDestBlock( + cups_dest_t *dest, /* I - Destination */ + unsigned flags, /* I - Connection flags */ + int msec, /* I - Timeout in milliseconds */ + int *cancel, /* I - Pointer to "cancel" variable */ + char *resource, /* I - Resource buffer */ + size_t resourcesize, /* I - Size of resource buffer */ + cups_dest_block_t block) /* I - Callback block */ +{ + return (cupsConnectDest(dest, flags, msec, cancel, resource, resourcesize, + (cups_dest_cb_t)cups_block_cb, (void *)block)); +} +#endif /* __BLOCKS__ */ + + +/* + * 'cupsCopyDest()' - Copy a destination. + * + * Make a copy of the destination to an array of destinations (or just a single + * copy) - for use with the cupsEnumDests* functions. The caller is responsible + * for calling cupsFreeDests() on the returned object(s). + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - New number of destinations */ +cupsCopyDest(cups_dest_t *dest, /* I - Destination to copy */ + int num_dests, /* I - Number of destinations */ + cups_dest_t **dests) /* IO - Destination array */ +{ + int i; /* Looping var */ + cups_dest_t *new_dest; /* New destination pointer */ + cups_option_t *new_option, /* Current destination option */ + *option; /* Current parent option */ + + + /* + * Range check input... + */ + + if (!dest || num_dests < 0 || !dests) + return (num_dests); + + /* + * See if the destination already exists... + */ + + if ((new_dest = cupsGetDest(dest->name, dest->instance, num_dests, + *dests)) != NULL) + { + /* + * Protect against copying destination to itself... + */ + + if (new_dest == dest) + return (num_dests); + + /* + * Otherwise, free the options... + */ + + cupsFreeOptions(new_dest->num_options, new_dest->options); + + new_dest->num_options = 0; + new_dest->options = NULL; + } + else + new_dest = cups_add_dest(dest->name, dest->instance, &num_dests, dests); + + if (new_dest) + { + new_dest->is_default = dest->is_default; + + if ((new_dest->options = calloc(sizeof(cups_option_t), (size_t)dest->num_options)) == NULL) + return (cupsRemoveDest(dest->name, dest->instance, num_dests, dests)); + + new_dest->num_options = dest->num_options; + + for (i = dest->num_options, option = dest->options, + new_option = new_dest->options; + i > 0; + i --, option ++, new_option ++) + { + new_option->name = _cupsStrRetain(option->name); + new_option->value = _cupsStrRetain(option->value); + } + } + + return (num_dests); +} + + +/* + * '_cupsCreateDest()' - Create a local (temporary) queue. + */ + +char * /* O - Printer URI or @code NULL@ on error */ +_cupsCreateDest(const char *name, /* I - Printer name */ + const char *info, /* I - Printer description of @code NULL@ */ + const char *device_id, /* I - 1284 Device ID or @code NULL@ */ + const char *device_uri, /* I - Device URI */ + char *uri, /* I - Printer URI buffer */ + size_t urisize) /* I - Size of URI buffer */ +{ + http_t *http; /* Connection to server */ + ipp_t *request, /* CUPS-Create-Local-Printer request */ + *response; /* CUPS-Create-Local-Printer response */ + ipp_attribute_t *attr; /* printer-uri-supported attribute */ + ipp_pstate_t state = IPP_PSTATE_STOPPED; + /* printer-state value */ + + + if (!name || !device_uri || !uri || urisize < 32) + return (NULL); + + if ((http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, HTTP_ENCRYPTION_IF_REQUESTED, 1, 30000, NULL)) == NULL) + return (NULL); + + request = ippNewRequest(IPP_OP_CUPS_CREATE_LOCAL_PRINTER); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, "ipp://localhost/"); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_URI, "device-uri", NULL, device_uri); + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_NAME, "printer-name", NULL, name); + if (info) + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-info", NULL, info); + if (device_id) + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-device-id", NULL, device_id); + + response = cupsDoRequest(http, request, "/"); + + if ((attr = ippFindAttribute(response, "printer-uri-supported", IPP_TAG_URI)) != NULL) + strlcpy(uri, ippGetString(attr, 0, NULL), urisize); + else + { + ippDelete(response); + httpClose(http); + return (NULL); + } + + if ((attr = ippFindAttribute(response, "printer-state", IPP_TAG_ENUM)) != NULL) + state = (ipp_pstate_t)ippGetInteger(attr, 0); + + while (state == IPP_PSTATE_STOPPED && cupsLastError() == IPP_STATUS_OK) + { + sleep(1); + ippDelete(response); + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", NULL, "printer-state"); + + response = cupsDoRequest(http, request, "/"); + + if ((attr = ippFindAttribute(response, "printer-state", IPP_TAG_ENUM)) != NULL) + state = (ipp_pstate_t)ippGetInteger(attr, 0); + } + + ippDelete(response); + + httpClose(http); + + return (uri); +} + + +/* + * 'cupsEnumDests()' - Enumerate available destinations with a callback function. + * + * Destinations are enumerated from one or more sources. The callback function + * receives the @code user_data@ pointer and the destination pointer which can + * be used as input to the @link cupsCopyDest@ function. The function must + * return 1 to continue enumeration or 0 to stop. + * + * The @code type@ and @code mask@ arguments allow the caller to filter the + * destinations that are enumerated. Passing 0 for both will enumerate all + * printers. The constant @code CUPS_PRINTER_DISCOVERED@ is used to filter on + * destinations that are available but have not yet been added locally. + * + * Enumeration happens on the current thread and does not return until all + * destinations have been enumerated or the callback function returns 0. + * + * Note: The callback function will likely receive multiple updates for the same + * destinations - it is up to the caller to suppress any duplicate destinations. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsEnumDests( + unsigned flags, /* I - Enumeration flags */ + int msec, /* I - Timeout in milliseconds, -1 for indefinite */ + int *cancel, /* I - Pointer to "cancel" variable */ + cups_ptype_t type, /* I - Printer type bits */ + cups_ptype_t mask, /* I - Mask for printer type bits */ + cups_dest_cb_t cb, /* I - Callback function */ + void *user_data) /* I - User data */ +{ + return (cups_enum_dests(CUPS_HTTP_DEFAULT, flags, msec, cancel, type, mask, cb, user_data)); +} + + +# ifdef __BLOCKS__ +/* + * 'cupsEnumDestsBlock()' - Enumerate available destinations with a block. + * + * Destinations are enumerated from one or more sources. The block receives the + * @code user_data@ pointer and the destination pointer which can be used as + * input to the @link cupsCopyDest@ function. The block must return 1 to + * continue enumeration or 0 to stop. + * + * The @code type@ and @code mask@ arguments allow the caller to filter the + * destinations that are enumerated. Passing 0 for both will enumerate all + * printers. The constant @code CUPS_PRINTER_DISCOVERED@ is used to filter on + * destinations that are available but have not yet been added locally. + * + * Enumeration happens on the current thread and does not return until all + * destinations have been enumerated or the block returns 0. + * + * Note: The block will likely receive multiple updates for the same + * destinations - it is up to the caller to suppress any duplicate destinations. + * + * @since CUPS 1.6/macOS 10.8@ @exclude all@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsEnumDestsBlock( + unsigned flags, /* I - Enumeration flags */ + int timeout, /* I - Timeout in milliseconds, 0 for indefinite */ + int *cancel, /* I - Pointer to "cancel" variable */ + cups_ptype_t type, /* I - Printer type bits */ + cups_ptype_t mask, /* I - Mask for printer type bits */ + cups_dest_block_t block) /* I - Block */ +{ + return (cupsEnumDests(flags, timeout, cancel, type, mask, + (cups_dest_cb_t)cups_block_cb, (void *)block)); +} +# endif /* __BLOCKS__ */ + + +/* + * 'cupsFreeDests()' - Free the memory used by the list of destinations. + */ + +void +cupsFreeDests(int num_dests, /* I - Number of destinations */ + cups_dest_t *dests) /* I - Destinations */ +{ + int i; /* Looping var */ + cups_dest_t *dest; /* Current destination */ + + + if (num_dests == 0 || dests == NULL) + return; + + for (i = num_dests, dest = dests; i > 0; i --, dest ++) + { + _cupsStrFree(dest->name); + _cupsStrFree(dest->instance); + + cupsFreeOptions(dest->num_options, dest->options); + } + + free(dests); +} + + +/* + * 'cupsGetDest()' - Get the named destination from the list. + * + * Use the @link cupsEnumDests@ or @link cupsGetDests2@ functions to get a + * list of supported destinations for the current user. + */ + +cups_dest_t * /* O - Destination pointer or @code NULL@ */ +cupsGetDest(const char *name, /* I - Destination name or @code NULL@ for the default destination */ + const char *instance, /* I - Instance name or @code NULL@ */ + int num_dests, /* I - Number of destinations */ + cups_dest_t *dests) /* I - Destinations */ +{ + int diff, /* Result of comparison */ + match; /* Matching index */ + + + if (num_dests <= 0 || !dests) + return (NULL); + + if (!name) + { + /* + * NULL name for default printer. + */ + + while (num_dests > 0) + { + if (dests->is_default) + return (dests); + + num_dests --; + dests ++; + } + } + else + { + /* + * Lookup name and optionally the instance... + */ + + match = cups_find_dest(name, instance, num_dests, dests, -1, &diff); + + if (!diff) + return (dests + match); + } + + return (NULL); +} + + +/* + * '_cupsGetDestResource()' - Get the resource path and URI for a destination. + */ + +const char * /* O - URI */ +_cupsGetDestResource( + cups_dest_t *dest, /* I - Destination */ + unsigned flags, /* I - Destination flags */ + char *resource, /* I - Resource buffer */ + size_t resourcesize) /* I - Size of resource buffer */ +{ + const char *uri, /* URI */ + *device_uri, /* Device URI */ + *printer_uri; /* Printer URI */ + char scheme[32], /* URI scheme */ + userpass[256], /* Username and password (unused) */ + hostname[256]; /* Hostname */ + int port; /* Port number */ + + + DEBUG_printf(("_cupsGetDestResource(dest=%p(%s), flags=%u, resource=%p, resourcesize=%d)", (void *)dest, dest->name, flags, (void *)resource, (int)resourcesize)); + + /* + * Range check input... + */ + + if (!dest || !resource || resourcesize < 1) + { + if (resource) + *resource = '\0'; + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (NULL); + } + + /* + * Grab the printer and device URIs... + */ + + device_uri = cupsGetOption("device-uri", dest->num_options, dest->options); + printer_uri = cupsGetOption("printer-uri-supported", dest->num_options, dest->options); + + DEBUG_printf(("1_cupsGetDestResource: device-uri=\"%s\", printer-uri-supported=\"%s\".", device_uri, printer_uri)); + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + if (((flags & CUPS_DEST_FLAGS_DEVICE) || !printer_uri) && strstr(device_uri, "._tcp")) + { + if ((device_uri = cups_dnssd_resolve(dest, device_uri, 5000, NULL, NULL, NULL)) != NULL) + { + DEBUG_printf(("1_cupsGetDestResource: Resolved device-uri=\"%s\".", device_uri)); + } + else + { + DEBUG_puts("1_cupsGetDestResource: Unable to resolve device."); + + if (resource) + *resource = '\0'; + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOENT), 0); + + return (NULL); + } + } +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + if (flags & CUPS_DEST_FLAGS_DEVICE) + { + uri = device_uri; + } + else if (printer_uri) + { + uri = printer_uri; + } + else + { + uri = _cupsCreateDest(dest->name, cupsGetOption("printer-info", dest->num_options, dest->options), NULL, device_uri, resource, resourcesize); + + if (uri) + { + DEBUG_printf(("1_cupsGetDestResource: Local printer-uri-supported=\"%s\"", uri)); + + dest->num_options = cupsAddOption("printer-uri-supported", uri, dest->num_options, &dest->options); + + uri = cupsGetOption("printer-uri-supported", dest->num_options, dest->options); + } + } + + if (!uri) + { + DEBUG_puts("1_cupsGetDestResource: No printer-uri-supported or device-uri found."); + + if (resource) + *resource = '\0'; + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOENT), 0); + + return (NULL); + } + else if (httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, sizeof(scheme), userpass, sizeof(userpass), hostname, sizeof(hostname), &port, resource, (int)resourcesize) < HTTP_URI_STATUS_OK) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad URI."), 1); + + return (NULL); + } + + DEBUG_printf(("1_cupsGetDestResource: resource=\"%s\"", resource)); + + return (uri); +} + + +/* + * 'cupsGetDestWithURI()' - Get a destination associated with a URI. + * + * "name" is the desired name for the printer. If @code NULL@, a name will be + * created using the URI. + * + * "uri" is the "ipp" or "ipps" URI for the printer. + * + * @since CUPS 2.0/macOS 10.10@ + */ + +cups_dest_t * /* O - Destination or @code NULL@ */ +cupsGetDestWithURI(const char *name, /* I - Desired printer name or @code NULL@ */ + const char *uri) /* I - URI for the printer */ +{ + cups_dest_t *dest; /* New destination */ + char temp[1024], /* Temporary string */ + scheme[256], /* Scheme from URI */ + userpass[256], /* Username:password from URI */ + hostname[256], /* Hostname from URI */ + resource[1024], /* Resource path from URI */ + *ptr; /* Pointer into string */ + const char *info; /* printer-info string */ + int port; /* Port number from URI */ + + + /* + * Range check input... + */ + + if (!uri) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (NULL); + } + + if (httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, sizeof(scheme), userpass, sizeof(userpass), hostname, sizeof(hostname), &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK || + (strncmp(uri, "ipp://", 6) && strncmp(uri, "ipps://", 7))) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad printer-uri."), 1); + + return (NULL); + } + + if (name) + { + info = name; + } + else + { + /* + * Create the name from the URI... + */ + + if (strstr(hostname, "._tcp")) + { + /* + * Use the service instance name... + */ + + if ((ptr = strstr(hostname, "._")) != NULL) + *ptr = '\0'; + + cups_queue_name(temp, hostname, sizeof(temp)); + name = temp; + info = hostname; + } + else if (!strncmp(resource, "/classes/", 9)) + { + snprintf(temp, sizeof(temp), "%s @ %s", resource + 9, hostname); + name = resource + 9; + info = temp; + } + else if (!strncmp(resource, "/printers/", 10)) + { + snprintf(temp, sizeof(temp), "%s @ %s", resource + 10, hostname); + name = resource + 10; + info = temp; + } + else if (!strncmp(resource, "/ipp/print/", 11)) + { + snprintf(temp, sizeof(temp), "%s @ %s", resource + 11, hostname); + name = resource + 11; + info = temp; + } + else + { + name = hostname; + info = hostname; + } + } + + /* + * Create the destination... + */ + + if ((dest = calloc(1, sizeof(cups_dest_t))) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + return (NULL); + } + + dest->name = _cupsStrAlloc(name); + dest->num_options = cupsAddOption("device-uri", uri, dest->num_options, &(dest->options)); + dest->num_options = cupsAddOption("printer-info", info, dest->num_options, &(dest->options)); + + return (dest); +} + + +/* + * '_cupsGetDests()' - Get destinations from a server. + * + * "op" is IPP_OP_CUPS_GET_PRINTERS to get a full list, IPP_OP_CUPS_GET_DEFAULT + * to get the system-wide default printer, or IPP_OP_GET_PRINTER_ATTRIBUTES for + * a known printer. + * + * "name" is the name of an existing printer and is only used when "op" is + * IPP_OP_GET_PRINTER_ATTRIBUTES. + * + * "dest" is initialized to point to the array of destinations. + * + * 0 is returned if there are no printers, no default printer, or the named + * printer does not exist, respectively. + * + * Free the memory used by the destination array using the @link cupsFreeDests@ + * function. + * + * Note: On macOS this function also gets the default paper from the system + * preferences (~/L/P/org.cups.PrintingPrefs.plist) and includes it in the + * options array for each destination that supports it. + */ + +int /* O - Number of destinations */ +_cupsGetDests(http_t *http, /* I - Connection to server or + * @code CUPS_HTTP_DEFAULT@ */ + ipp_op_t op, /* I - IPP operation */ + const char *name, /* I - Name of destination */ + cups_dest_t **dests, /* IO - Destinations */ + cups_ptype_t type, /* I - Printer type bits */ + cups_ptype_t mask) /* I - Printer type mask */ +{ + int num_dests = 0; /* Number of destinations */ + cups_dest_t *dest; /* Current destination */ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr; /* Current attribute */ + const char *printer_name; /* printer-name attribute */ + char uri[1024]; /* printer-uri value */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ +#ifdef __APPLE__ + char media_default[41]; /* Default paper size */ +#endif /* __APPLE__ */ + char optname[1024], /* Option name */ + value[2048], /* Option value */ + *ptr; /* Pointer into name/value */ + static const char * const pattrs[] = /* Attributes we're interested in */ + { + "auth-info-required", + "device-uri", + "job-sheets-default", + "marker-change-time", + "marker-colors", + "marker-high-levels", + "marker-levels", + "marker-low-levels", + "marker-message", + "marker-names", + "marker-types", +#ifdef __APPLE__ + "media-supported", +#endif /* __APPLE__ */ + "printer-commands", + "printer-defaults", + "printer-info", + "printer-is-accepting-jobs", + "printer-is-shared", + "printer-is-temporary", + "printer-location", + "printer-make-and-model", + "printer-mandatory-job-attributes", + "printer-name", + "printer-state", + "printer-state-change-time", + "printer-state-reasons", + "printer-type", + "printer-uri-supported" + }; + + + DEBUG_printf(("_cupsGetDests(http=%p, op=%x(%s), name=\"%s\", dests=%p, type=%x, mask=%x)", (void *)http, op, ippOpString(op), name, (void *)dests, type, mask)); + +#ifdef __APPLE__ + /* + * Get the default paper size... + */ + + appleGetPaperSize(media_default, sizeof(media_default)); + DEBUG_printf(("1_cupsGetDests: Default media is '%s'.", media_default)); +#endif /* __APPLE__ */ + + /* + * Build a IPP_OP_CUPS_GET_PRINTERS or IPP_OP_GET_PRINTER_ATTRIBUTES request, which + * require the following attributes: + * + * attributes-charset + * attributes-natural-language + * requesting-user-name + * printer-uri [for IPP_OP_GET_PRINTER_ATTRIBUTES] + */ + + request = ippNewRequest(op); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", sizeof(pattrs) / sizeof(pattrs[0]), + NULL, pattrs); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + + if (name && op != IPP_OP_CUPS_GET_DEFAULT) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", ippPort(), "/printers/%s", name); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, + uri); + } + else if (mask) + { + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_ENUM, "printer-type", (int)type); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_ENUM, "printer-type-mask", (int)mask); + } + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + for (attr = response->attrs; attr != NULL; attr = attr->next) + { + /* + * Skip leading attributes until we hit a printer... + */ + + while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) + attr = attr->next; + + if (attr == NULL) + break; + + /* + * Pull the needed attributes from this printer... + */ + + printer_name = NULL; + num_options = 0; + options = NULL; + + for (; attr && attr->group_tag == IPP_TAG_PRINTER; attr = attr->next) + { + if (attr->value_tag != IPP_TAG_INTEGER && + attr->value_tag != IPP_TAG_ENUM && + attr->value_tag != IPP_TAG_BOOLEAN && + attr->value_tag != IPP_TAG_TEXT && + attr->value_tag != IPP_TAG_TEXTLANG && + attr->value_tag != IPP_TAG_NAME && + attr->value_tag != IPP_TAG_NAMELANG && + attr->value_tag != IPP_TAG_KEYWORD && + attr->value_tag != IPP_TAG_RANGE && + attr->value_tag != IPP_TAG_URI) + continue; + + if (!strcmp(attr->name, "auth-info-required") || + !strcmp(attr->name, "device-uri") || + !strcmp(attr->name, "marker-change-time") || + !strcmp(attr->name, "marker-colors") || + !strcmp(attr->name, "marker-high-levels") || + !strcmp(attr->name, "marker-levels") || + !strcmp(attr->name, "marker-low-levels") || + !strcmp(attr->name, "marker-message") || + !strcmp(attr->name, "marker-names") || + !strcmp(attr->name, "marker-types") || + !strcmp(attr->name, "printer-commands") || + !strcmp(attr->name, "printer-info") || + !strcmp(attr->name, "printer-is-shared") || + !strcmp(attr->name, "printer-is-temporary") || + !strcmp(attr->name, "printer-make-and-model") || + !strcmp(attr->name, "printer-mandatory-job-attributes") || + !strcmp(attr->name, "printer-state") || + !strcmp(attr->name, "printer-state-change-time") || + !strcmp(attr->name, "printer-type") || + !strcmp(attr->name, "printer-is-accepting-jobs") || + !strcmp(attr->name, "printer-location") || + !strcmp(attr->name, "printer-state-reasons") || + !strcmp(attr->name, "printer-uri-supported")) + { + /* + * Add a printer description attribute... + */ + + num_options = cupsAddOption(attr->name, + cups_make_string(attr, value, + sizeof(value)), + num_options, &options); + } +#ifdef __APPLE__ + else if (!strcmp(attr->name, "media-supported") && media_default[0]) + { + /* + * See if we can set a default media size... + */ + + int i; /* Looping var */ + + for (i = 0; i < attr->num_values; i ++) + if (!_cups_strcasecmp(media_default, attr->values[i].string.text)) + { + DEBUG_printf(("1_cupsGetDests: Setting media to '%s'.", media_default)); + num_options = cupsAddOption("media", media_default, num_options, &options); + break; + } + } +#endif /* __APPLE__ */ + else if (!strcmp(attr->name, "printer-name") && + attr->value_tag == IPP_TAG_NAME) + printer_name = attr->values[0].string.text; + else if (strncmp(attr->name, "notify-", 7) && + strncmp(attr->name, "print-quality-", 14) && + (attr->value_tag == IPP_TAG_BOOLEAN || + attr->value_tag == IPP_TAG_ENUM || + attr->value_tag == IPP_TAG_INTEGER || + attr->value_tag == IPP_TAG_KEYWORD || + attr->value_tag == IPP_TAG_NAME || + attr->value_tag == IPP_TAG_RANGE) && + (ptr = strstr(attr->name, "-default")) != NULL) + { + /* + * Add a default option... + */ + + strlcpy(optname, attr->name, sizeof(optname)); + optname[ptr - attr->name] = '\0'; + + if (_cups_strcasecmp(optname, "media") || !cupsGetOption("media", num_options, options)) + num_options = cupsAddOption(optname, cups_make_string(attr, value, sizeof(value)), num_options, &options); + } + } + + /* + * See if we have everything needed... + */ + + if (!printer_name) + { + cupsFreeOptions(num_options, options); + + if (attr == NULL) + break; + else + continue; + } + + if ((dest = cups_add_dest(printer_name, NULL, &num_dests, dests)) != NULL) + { + dest->num_options = num_options; + dest->options = options; + } + else + cupsFreeOptions(num_options, options); + + if (attr == NULL) + break; + } + + ippDelete(response); + } + + /* + * Return the count... + */ + + return (num_dests); +} + + +/* + * 'cupsGetDests()' - Get the list of destinations from the default server. + * + * 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", "printer-type", and "printer-uri-supported" + * 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 options. + * + * CUPS 2.2 adds accessible IPP printers to the list of destinations that can + * be used. The "printer-uri-supported" option will be present for those IPP + * printers that have been recently used. + * + * Use the @link cupsFreeDests@ function to free the destination list and + * the @link cupsGetDest@ function to find a particular destination. + * + * @exclude all@ + */ + +int /* O - Number of destinations */ +cupsGetDests(cups_dest_t **dests) /* O - Destinations */ +{ + return (cupsGetDests2(CUPS_HTTP_DEFAULT, dests)); +} + + +/* + * 'cupsGetDests2()' - Get the list of destinations from the specified server. + * + * 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", "printer-type", and "printer-uri-supported" + * 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 options. + * + * CUPS 2.2 adds accessible IPP printers to the list of destinations that can + * be used. The "printer-uri-supported" option will be present for those IPP + * printers that have been recently used. + * + * Use the @link cupsFreeDests@ function to free the destination list and + * the @link cupsGetDest@ function to find a particular destination. + * + * @since CUPS 1.1.21/macOS 10.4@ + */ + +int /* O - Number of destinations */ +cupsGetDests2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + cups_dest_t **dests) /* O - Destinations */ +{ + _cups_getdata_t data; /* Enumeration data */ + + + DEBUG_printf(("cupsGetDests2(http=%p, dests=%p)", (void *)http, (void *)dests)); + +/* + * Range check the input... + */ + + if (!dests) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad NULL dests pointer"), 1); + DEBUG_puts("1cupsGetDests2: NULL dests pointer, returning 0."); + return (0); + } + + /* + * Connect to the server as needed... + */ + + if (!http) + { + if ((http = _cupsConnect()) == NULL) + { + *dests = NULL; + + return (0); + } + } + + /* + * Grab the printers and classes... + */ + + data.num_dests = 0; + data.dests = NULL; + + if (!httpAddrLocalhost(httpGetAddress(http))) + { + /* + * When talking to a remote cupsd, just enumerate printers on the remote + * cupsd. + */ + + cups_enum_dests(http, 0, _CUPS_DNSSD_GET_DESTS, NULL, 0, CUPS_PRINTER_DISCOVERED, (cups_dest_cb_t)cups_get_cb, &data); + } + else + { + /* + * When talking to a local cupsd, enumerate both local printers and ones we + * can find on the network... + */ + + cups_enum_dests(http, 0, _CUPS_DNSSD_GET_DESTS, NULL, 0, 0, (cups_dest_cb_t)cups_get_cb, &data); + } + + /* + * Return the number of destinations... + */ + + *dests = data.dests; + + if (data.num_dests > 0) + _cupsSetError(IPP_STATUS_OK, NULL, 0); + + DEBUG_printf(("1cupsGetDests2: Returning %d destinations.", data.num_dests)); + + return (data.num_dests); +} + + +/* + * 'cupsGetNamedDest()' - Get options for the named destination. + * + * This function is optimized for retrieving a single destination and should + * be used instead of @link cupsGetDests2@ and @link cupsGetDest@ when you + * either know the name of the destination or want to print to the default + * destination. If @code NULL@ is returned, the destination does not exist or + * there is no default destination. + * + * If "http" is @code CUPS_HTTP_DEFAULT@, the connection to the default print + * server will be used. + * + * If "name" is @code NULL@, the default printer for the current user will be + * returned. + * + * The returned destination must be freed using @link cupsFreeDests@ with a + * "num_dests" value of 1. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +cups_dest_t * /* O - Destination or @code NULL@ */ +cupsGetNamedDest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *name, /* I - Destination name or @code NULL@ for the default destination */ + const char *instance) /* I - Instance name or @code NULL@ */ +{ + const char *dest_name; /* Working destination name */ + cups_dest_t *dest; /* Destination */ + char filename[1024], /* Path to lpoptions */ + defname[256]; /* Default printer name */ + int set_as_default = 0; /* Set returned destination as default */ + ipp_op_t op = IPP_OP_GET_PRINTER_ATTRIBUTES; + /* IPP operation to get server ops */ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + DEBUG_printf(("cupsGetNamedDest(http=%p, name=\"%s\", instance=\"%s\")", (void *)http, name, instance)); + + /* + * If "name" is NULL, find the default destination... + */ + + dest_name = name; + + if (!dest_name) + { + set_as_default = 1; + dest_name = _cupsUserDefault(defname, sizeof(defname)); + + if (dest_name) + { + char *ptr; /* Temporary pointer... */ + + if ((ptr = strchr(defname, '/')) != NULL) + { + *ptr++ = '\0'; + instance = ptr; + } + else + instance = NULL; + } + else if (cg->home) + { + /* + * No default in the environment, try the user's lpoptions files... + */ + + snprintf(filename, sizeof(filename), "%s/.cups/lpoptions", cg->home); + + dest_name = cups_get_default(filename, defname, sizeof(defname), &instance); + + if (dest_name) + set_as_default = 2; + } + + if (!dest_name) + { + /* + * Still not there? Try the system lpoptions file... + */ + + snprintf(filename, sizeof(filename), "%s/lpoptions", cg->cups_serverroot); + dest_name = cups_get_default(filename, defname, sizeof(defname), &instance); + + if (dest_name) + set_as_default = 3; + } + + if (!dest_name) + { + /* + * No locally-set default destination, ask the server... + */ + + op = IPP_OP_CUPS_GET_DEFAULT; + set_as_default = 4; + + DEBUG_puts("1cupsGetNamedDest: Asking server for default printer..."); + } + else + DEBUG_printf(("1cupsGetNamedDest: Using name=\"%s\"...", name)); + } + + /* + * Get the printer's attributes... + */ + + if (!_cupsGetDests(http, op, dest_name, &dest, 0, 0)) + { + if (name) + { + _cups_namedata_t data; /* Callback data */ + + DEBUG_puts("1cupsGetNamedDest: No queue found for printer, looking on network..."); + + data.name = name; + data.dest = NULL; + + cupsEnumDests(0, 1000, NULL, 0, 0, (cups_dest_cb_t)cups_name_cb, &data); + + if (!data.dest) + return (NULL); + + dest = data.dest; + } + else + { + switch (set_as_default) + { + default : + break; + + case 1 : /* Set from env vars */ + if (getenv("LPDEST")) + _cupsSetError(IPP_STATUS_ERROR_NOT_FOUND, _("LPDEST environment variable names default destination that does not exist."), 1); + else if (getenv("PRINTER")) + _cupsSetError(IPP_STATUS_ERROR_NOT_FOUND, _("PRINTER environment variable names default destination that does not exist."), 1); + else + _cupsSetError(IPP_STATUS_ERROR_NOT_FOUND, _("No default destination."), 1); + break; + + case 2 : /* Set from ~/.cups/lpoptions */ + _cupsSetError(IPP_STATUS_ERROR_NOT_FOUND, _("~/.cups/lpoptions file names default destination that does not exist."), 1); + break; + + case 3 : /* Set from /etc/cups/lpoptions */ + _cupsSetError(IPP_STATUS_ERROR_NOT_FOUND, _("/etc/cups/lpoptions file names default destination that does not exist."), 1); + break; + + case 4 : /* Set from server */ + _cupsSetError(IPP_STATUS_ERROR_NOT_FOUND, _("No default destination."), 1); + break; + } + + return (NULL); + } + } + + DEBUG_printf(("1cupsGetNamedDest: Got dest=%p", (void *)dest)); + + if (instance) + dest->instance = _cupsStrAlloc(instance); + + if (set_as_default) + dest->is_default = 1; + + /* + * Then add local options... + */ + + snprintf(filename, sizeof(filename), "%s/lpoptions", cg->cups_serverroot); + cups_get_dests(filename, dest_name, instance, 0, 1, 1, &dest); + + if (cg->home) + { + snprintf(filename, sizeof(filename), "%s/.cups/lpoptions", cg->home); + + cups_get_dests(filename, dest_name, instance, 0, 1, 1, &dest); + } + + /* + * Return the result... + */ + + return (dest); +} + + +/* + * 'cupsRemoveDest()' - Remove a destination from the destination list. + * + * Removing a destination/instance does not delete the class or printer + * queue, merely the lpoptions for that destination/instance. Use the + * @link cupsSetDests@ or @link cupsSetDests2@ functions to save the new + * options for the user. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +int /* O - New number of destinations */ +cupsRemoveDest(const char *name, /* I - Destination name */ + const char *instance, /* I - Instance name or @code NULL@ */ + int num_dests, /* I - Number of destinations */ + cups_dest_t **dests) /* IO - Destinations */ +{ + int i; /* Index into destinations */ + cups_dest_t *dest; /* Pointer to destination */ + + + /* + * Find the destination... + */ + + if ((dest = cupsGetDest(name, instance, num_dests, *dests)) == NULL) + return (num_dests); + + /* + * Free memory... + */ + + _cupsStrFree(dest->name); + _cupsStrFree(dest->instance); + cupsFreeOptions(dest->num_options, dest->options); + + /* + * Remove the destination from the array... + */ + + num_dests --; + + i = (int)(dest - *dests); + + if (i < num_dests) + memmove(dest, dest + 1, (size_t)(num_dests - i) * sizeof(cups_dest_t)); + + return (num_dests); +} + + +/* + * 'cupsSetDefaultDest()' - Set the default destination. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +void +cupsSetDefaultDest( + const char *name, /* I - Destination name */ + const char *instance, /* I - Instance name or @code NULL@ */ + int num_dests, /* I - Number of destinations */ + cups_dest_t *dests) /* I - Destinations */ +{ + int i; /* Looping var */ + cups_dest_t *dest; /* Current destination */ + + + /* + * Range check input... + */ + + if (!name || num_dests <= 0 || !dests) + return; + + /* + * Loop through the array and set the "is_default" flag for the matching + * destination... + */ + + for (i = num_dests, dest = dests; i > 0; i --, dest ++) + dest->is_default = !_cups_strcasecmp(name, dest->name) && + ((!instance && !dest->instance) || + (instance && dest->instance && + !_cups_strcasecmp(instance, dest->instance))); +} + + +/* + * 'cupsSetDests()' - Save the list of destinations for the default server. + * + * This function saves the destinations to /etc/cups/lpoptions when run + * as root and ~/.cups/lpoptions when run as a normal user. + * + * @exclude all@ + */ + +void +cupsSetDests(int num_dests, /* I - Number of destinations */ + cups_dest_t *dests) /* I - Destinations */ +{ + cupsSetDests2(CUPS_HTTP_DEFAULT, num_dests, dests); +} + + +/* + * 'cupsSetDests2()' - Save the list of destinations for the specified server. + * + * This function saves the destinations to /etc/cups/lpoptions when run + * as root and ~/.cups/lpoptions when run as a normal user. + * + * @since CUPS 1.1.21/macOS 10.4@ + */ + +int /* O - 0 on success, -1 on error */ +cupsSetDests2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + int num_dests, /* I - Number of destinations */ + cups_dest_t *dests) /* I - Destinations */ +{ + int i, j; /* Looping vars */ + int wrote; /* Wrote definition? */ + cups_dest_t *dest; /* Current destination */ + cups_option_t *option; /* Current option */ + _ipp_option_t *match; /* Matching attribute for option */ + FILE *fp; /* File pointer */ + char filename[1024]; /* lpoptions file */ + int num_temps; /* Number of temporary destinations */ + cups_dest_t *temps = NULL, /* Temporary destinations */ + *temp; /* Current temporary dest */ + const char *val; /* Value of temporary option */ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + /* + * Range check the input... + */ + + if (!num_dests || !dests) + return (-1); + + /* + * Get the server destinations... + */ + + num_temps = _cupsGetDests(http, IPP_OP_CUPS_GET_PRINTERS, NULL, &temps, 0, 0); + + if (cupsLastError() >= IPP_STATUS_REDIRECTION_OTHER_SITE) + { + cupsFreeDests(num_temps, temps); + return (-1); + } + + /* + * Figure out which file to write to... + */ + + snprintf(filename, sizeof(filename), "%s/lpoptions", cg->cups_serverroot); + + if (cg->home) + { + /* + * Create ~/.cups subdirectory... + */ + + snprintf(filename, sizeof(filename), "%s/.cups", cg->home); + if (access(filename, 0)) + mkdir(filename, 0700); + + snprintf(filename, sizeof(filename), "%s/.cups/lpoptions", cg->home); + } + + /* + * Try to open the file... + */ + + if ((fp = fopen(filename, "w")) == NULL) + { + cupsFreeDests(num_temps, temps); + return (-1); + } + +#ifndef _WIN32 + /* + * Set the permissions to 0644 when saving to the /etc/cups/lpoptions + * file... + */ + + if (!getuid()) + fchmod(fileno(fp), 0644); +#endif /* !_WIN32 */ + + /* + * Write each printer; each line looks like: + * + * Dest name[/instance] options + * Default name[/instance] options + */ + + for (i = num_dests, dest = dests; i > 0; i --, dest ++) + if (dest->instance != NULL || dest->num_options != 0 || dest->is_default) + { + if (dest->is_default) + { + fprintf(fp, "Default %s", dest->name); + if (dest->instance) + fprintf(fp, "/%s", dest->instance); + + wrote = 1; + } + else + wrote = 0; + + temp = cupsGetDest(dest->name, NULL, num_temps, temps); + + for (j = dest->num_options, option = dest->options; j > 0; j --, option ++) + { + /* + * See if this option is a printer attribute; if so, skip it... + */ + + if ((match = _ippFindOption(option->name)) != NULL && match->group_tag == IPP_TAG_PRINTER) + continue; + + /* + * See if the server options match these; if so, don't write 'em. + */ + + if (temp && (val = cupsGetOption(option->name, temp->num_options, temp->options)) != NULL && !_cups_strcasecmp(val, option->value)) + continue; + + /* + * Options don't match, write to the file... + */ + + if (!wrote) + { + fprintf(fp, "Dest %s", dest->name); + if (dest->instance) + fprintf(fp, "/%s", dest->instance); + wrote = 1; + } + + if (option->value[0]) + { + if (strchr(option->value, ' ') || strchr(option->value, '\\') || strchr(option->value, '\"') || strchr(option->value, '\'')) + { + /* + * Quote the value... + */ + + fprintf(fp, " %s=\"", option->name); + + for (val = option->value; *val; val ++) + { + if (strchr("\"\'\\", *val)) + putc('\\', fp); + + putc(*val, fp); + } + + putc('\"', fp); + } + else + { + /* + * Store the literal value... + */ + + fprintf(fp, " %s=%s", option->name, option->value); + } + } + else + fprintf(fp, " %s", option->name); + } + + if (wrote) + fputs("\n", fp); + } + + /* + * Free the temporary destinations and close the file... + */ + + cupsFreeDests(num_temps, temps); + + fclose(fp); + +#ifdef __APPLE__ + /* + * Set the default printer for this location - this allows command-line + * and GUI applications to share the same default destination... + */ + + if ((dest = cupsGetDest(NULL, NULL, num_dests, dests)) != NULL) + { + CFStringRef name = CFStringCreateWithCString(kCFAllocatorDefault, dest->name, kCFStringEncodingUTF8); + /* Default printer name */ + + if (name) + { + _cupsAppleSetDefaultPrinter(name); + CFRelease(name); + } + } +#endif /* __APPLE__ */ + +#ifdef HAVE_NOTIFY_POST + /* + * Send a notification so that macOS applications can know about the + * change, too. + */ + + notify_post("com.apple.printerListChange"); +#endif /* HAVE_NOTIFY_POST */ + + return (0); +} + + +/* + * '_cupsUserDefault()' - Get the user default printer from environment + * variables and location information. + */ + +char * /* O - Default printer or NULL */ +_cupsUserDefault(char *name, /* I - Name buffer */ + size_t namesize) /* I - Size of name buffer */ +{ + const char *env; /* LPDEST or PRINTER env variable */ +#ifdef __APPLE__ + CFStringRef locprinter; /* Last printer as this location */ +#endif /* __APPLE__ */ + + + if ((env = getenv("LPDEST")) == NULL) + if ((env = getenv("PRINTER")) != NULL && !strcmp(env, "lp")) + env = NULL; + + if (env) + { + strlcpy(name, env, namesize); + return (name); + } + +#ifdef __APPLE__ + /* + * Use location-based defaults if "use last printer" is selected in the + * system preferences... + */ + + if (!getenv("CUPS_NO_APPLE_DEFAULT") && (locprinter = _cupsAppleCopyDefaultPrinter()) != NULL) + { + CFStringGetCString(locprinter, name, (CFIndex)namesize, kCFStringEncodingUTF8); + CFRelease(locprinter); + } + else + name[0] = '\0'; + + DEBUG_printf(("1_cupsUserDefault: Returning \"%s\".", name)); + + return (*name ? name : NULL); + +#else + /* + * No location-based defaults on this platform... + */ + + name[0] = '\0'; + return (NULL); +#endif /* __APPLE__ */ +} + + +#if _CUPS_LOCATION_DEFAULTS +/* + * 'appleCopyLocations()' - Copy the location history array. + */ + +static CFArrayRef /* O - Location array or NULL */ +appleCopyLocations(void) +{ + CFArrayRef locations; /* Location array */ + + + /* + * Look up the location array in the preferences... + */ + + if ((locations = CFPreferencesCopyAppValue(kLastUsedPrintersKey, + kCUPSPrintingPrefs)) == NULL) + return (NULL); + + if (CFGetTypeID(locations) != CFArrayGetTypeID()) + { + CFRelease(locations); + return (NULL); + } + + return (locations); +} + + +/* + * 'appleCopyNetwork()' - Get the network ID for the current location. + */ + +static CFStringRef /* O - Network ID */ +appleCopyNetwork(void) +{ + SCDynamicStoreRef dynamicStore; /* System configuration data */ + CFStringRef key; /* Current network configuration key */ + CFDictionaryRef ip_dict; /* Network configuration data */ + CFStringRef network = NULL; /* Current network ID */ + + + if ((dynamicStore = SCDynamicStoreCreate(NULL, CFSTR("libcups"), NULL, + NULL)) != NULL) + { + /* + * First use the IPv6 router address, if available, since that will generally + * be a globally-unique link-local address. + */ + + if ((key = SCDynamicStoreKeyCreateNetworkGlobalEntity( + NULL, kSCDynamicStoreDomainState, kSCEntNetIPv6)) != NULL) + { + if ((ip_dict = SCDynamicStoreCopyValue(dynamicStore, key)) != NULL) + { + if ((network = CFDictionaryGetValue(ip_dict, + kSCPropNetIPv6Router)) != NULL) + CFRetain(network); + + CFRelease(ip_dict); + } + + CFRelease(key); + } + + /* + * If that doesn't work, try the IPv4 router address. This isn't as unique + * and will likely be a 10.x.y.z or 192.168.y.z address... + */ + + if (!network) + { + if ((key = SCDynamicStoreKeyCreateNetworkGlobalEntity( + NULL, kSCDynamicStoreDomainState, kSCEntNetIPv4)) != NULL) + { + if ((ip_dict = SCDynamicStoreCopyValue(dynamicStore, key)) != NULL) + { + if ((network = CFDictionaryGetValue(ip_dict, + kSCPropNetIPv4Router)) != NULL) + CFRetain(network); + + CFRelease(ip_dict); + } + + CFRelease(key); + } + } + + CFRelease(dynamicStore); + } + + return (network); +} +#endif /* _CUPS_LOCATION_DEFAULTS */ + + +#ifdef __APPLE__ +/* + * 'appleGetPaperSize()' - Get the default paper size. + */ + +static char * /* O - Default paper size */ +appleGetPaperSize(char *name, /* I - Paper size name buffer */ + size_t namesize) /* I - Size of buffer */ +{ + CFStringRef defaultPaperID; /* Default paper ID */ + pwg_media_t *pwgmedia; /* PWG media size */ + + + defaultPaperID = _cupsAppleCopyDefaultPaperID(); + if (!defaultPaperID || + CFGetTypeID(defaultPaperID) != CFStringGetTypeID() || + !CFStringGetCString(defaultPaperID, name, (CFIndex)namesize, kCFStringEncodingUTF8)) + name[0] = '\0'; + else if ((pwgmedia = pwgMediaForLegacy(name)) != NULL) + strlcpy(name, pwgmedia->pwg, namesize); + + if (defaultPaperID) + CFRelease(defaultPaperID); + + return (name); +} +#endif /* __APPLE__ */ + + +#if _CUPS_LOCATION_DEFAULTS +/* + * 'appleGetPrinter()' - Get a printer from the history array. + */ + +static CFStringRef /* O - Printer name or NULL */ +appleGetPrinter(CFArrayRef locations, /* I - Location array */ + CFStringRef network, /* I - Network name */ + CFIndex *locindex) /* O - Index in array */ +{ + CFIndex i, /* Looping var */ + count; /* Number of locations */ + CFDictionaryRef location; /* Current location */ + CFStringRef locnetwork, /* Current network */ + locprinter; /* Current printer */ + + + for (i = 0, count = CFArrayGetCount(locations); i < count; i ++) + if ((location = CFArrayGetValueAtIndex(locations, i)) != NULL && + CFGetTypeID(location) == CFDictionaryGetTypeID()) + { + if ((locnetwork = CFDictionaryGetValue(location, + kLocationNetworkKey)) != NULL && + CFGetTypeID(locnetwork) == CFStringGetTypeID() && + CFStringCompare(network, locnetwork, 0) == kCFCompareEqualTo && + (locprinter = CFDictionaryGetValue(location, + kLocationPrinterIDKey)) != NULL && + CFGetTypeID(locprinter) == CFStringGetTypeID()) + { + if (locindex) + *locindex = i; + + return (locprinter); + } + } + + return (NULL); +} +#endif /* _CUPS_LOCATION_DEFAULTS */ + + +/* + * 'cups_add_dest()' - Add a destination to the array. + * + * Unlike cupsAddDest(), this function does not check for duplicates. + */ + +static cups_dest_t * /* O - New destination */ +cups_add_dest(const char *name, /* I - Name of destination */ + const char *instance, /* I - Instance or NULL */ + int *num_dests, /* IO - Number of destinations */ + cups_dest_t **dests) /* IO - Destinations */ +{ + int insert, /* Insertion point */ + diff; /* Result of comparison */ + cups_dest_t *dest; /* Destination pointer */ + + + /* + * Add new destination... + */ + + if (*num_dests == 0) + dest = malloc(sizeof(cups_dest_t)); + else + dest = realloc(*dests, sizeof(cups_dest_t) * (size_t)(*num_dests + 1)); + + if (!dest) + return (NULL); + + *dests = dest; + + /* + * Find where to insert the destination... + */ + + if (*num_dests == 0) + insert = 0; + else + { + insert = cups_find_dest(name, instance, *num_dests, *dests, *num_dests - 1, + &diff); + + if (diff > 0) + insert ++; + } + + /* + * Move the array elements as needed... + */ + + if (insert < *num_dests) + memmove(*dests + insert + 1, *dests + insert, (size_t)(*num_dests - insert) * sizeof(cups_dest_t)); + + (*num_dests) ++; + + /* + * Initialize the destination... + */ + + dest = *dests + insert; + dest->name = _cupsStrAlloc(name); + dest->instance = _cupsStrAlloc(instance); + dest->is_default = 0; + dest->num_options = 0; + dest->options = (cups_option_t *)0; + + return (dest); +} + + +# ifdef __BLOCKS__ +/* + * 'cups_block_cb()' - Enumeration callback for block API. + */ + +static int /* O - 1 to continue, 0 to stop */ +cups_block_cb( + cups_dest_block_t block, /* I - Block */ + unsigned flags, /* I - Destination flags */ + cups_dest_t *dest) /* I - Destination */ +{ + return ((block)(flags, dest)); +} +# endif /* __BLOCKS__ */ + + +/* + * 'cups_compare_dests()' - Compare two destinations. + */ + +static int /* O - Result of comparison */ +cups_compare_dests(cups_dest_t *a, /* I - First destination */ + cups_dest_t *b) /* I - Second destination */ +{ + int diff; /* Difference */ + + + if ((diff = _cups_strcasecmp(a->name, b->name)) != 0) + return (diff); + else if (a->instance && b->instance) + return (_cups_strcasecmp(a->instance, b->instance)); + else + return ((a->instance && !b->instance) - (!a->instance && b->instance)); +} + + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) +# ifdef HAVE_DNSSD +/* + * 'cups_dnssd_browse_cb()' - Browse for printers. + */ + +static void +cups_dnssd_browse_cb( + DNSServiceRef sdRef, /* I - Service reference */ + DNSServiceFlags flags, /* I - Option flags */ + uint32_t interfaceIndex, /* I - Interface number */ + DNSServiceErrorType errorCode, /* I - Error, if any */ + const char *serviceName, /* I - Name of service/device */ + const char *regtype, /* I - Type of service */ + const char *replyDomain, /* I - Service domain */ + void *context) /* I - Enumeration data */ +{ + _cups_dnssd_data_t *data = (_cups_dnssd_data_t *)context; + /* Enumeration data */ + + + DEBUG_printf(("5cups_dnssd_browse_cb(sdRef=%p, flags=%x, interfaceIndex=%d, errorCode=%d, serviceName=\"%s\", regtype=\"%s\", replyDomain=\"%s\", context=%p)", (void *)sdRef, flags, interfaceIndex, errorCode, serviceName, regtype, replyDomain, context)); + + /* + * Don't do anything on error... + */ + + if (errorCode != kDNSServiceErr_NoError) + return; + + /* + * Get the device... + */ + + cups_dnssd_get_device(data, serviceName, regtype, replyDomain); +} + + +# else /* HAVE_AVAHI */ +/* + * 'cups_dnssd_browse_cb()' - Browse for printers. + */ + +static void +cups_dnssd_browse_cb( + AvahiServiceBrowser *browser, /* I - Browser */ + AvahiIfIndex interface, /* I - Interface index (unused) */ + AvahiProtocol protocol, /* I - Network protocol (unused) */ + AvahiBrowserEvent event, /* I - What happened */ + const char *name, /* I - Service name */ + const char *type, /* I - Registration type */ + const char *domain, /* I - Domain */ + AvahiLookupResultFlags flags, /* I - Flags */ + void *context) /* I - Devices array */ +{ +#ifdef DEBUG + AvahiClient *client = avahi_service_browser_get_client(browser); + /* Client information */ +#endif /* DEBUG */ + _cups_dnssd_data_t *data = (_cups_dnssd_data_t *)context; + /* Enumeration data */ + + + (void)interface; + (void)protocol; + (void)context; + + DEBUG_printf(("cups_dnssd_browse_cb(..., name=\"%s\", type=\"%s\", domain=\"%s\", ...);", name, type, domain)); + + switch (event) + { + case AVAHI_BROWSER_FAILURE: + DEBUG_printf(("cups_dnssd_browse_cb: %s", avahi_strerror(avahi_client_errno(client)))); + avahi_simple_poll_quit(data->simple_poll); + break; + + case AVAHI_BROWSER_NEW: + /* + * This object is new on the network. + */ + + cups_dnssd_get_device(data, name, type, domain); + break; + + case AVAHI_BROWSER_REMOVE : + case AVAHI_BROWSER_CACHE_EXHAUSTED : + break; + + case AVAHI_BROWSER_ALL_FOR_NOW : + DEBUG_puts("cups_dnssd_browse_cb: ALL_FOR_NOW"); + data->browsers --; + break; + } +} + + +/* + * 'cups_dnssd_client_cb()' - Avahi client callback function. + */ + +static void +cups_dnssd_client_cb( + AvahiClient *client, /* I - Client information (unused) */ + AvahiClientState state, /* I - Current state */ + void *context) /* I - User data (unused) */ +{ + _cups_dnssd_data_t *data = (_cups_dnssd_data_t *)context; + /* Enumeration data */ + + + (void)client; + + DEBUG_printf(("cups_dnssd_client_cb(client=%p, state=%d, context=%p)", client, state, context)); + + /* + * If the connection drops, quit. + */ + + if (state == AVAHI_CLIENT_FAILURE) + { + DEBUG_puts("cups_dnssd_client_cb: Avahi connection failed."); + avahi_simple_poll_quit(data->simple_poll); + } +} +# endif /* HAVE_DNSSD */ + + +/* + * 'cups_dnssd_compare_device()' - Compare two devices. + */ + +static int /* O - Result of comparison */ +cups_dnssd_compare_devices( + _cups_dnssd_device_t *a, /* I - First device */ + _cups_dnssd_device_t *b) /* I - Second device */ +{ + return (strcmp(a->dest.name, b->dest.name)); +} + + +/* + * 'cups_dnssd_free_device()' - Free the memory used by a device. + */ + +static void +cups_dnssd_free_device( + _cups_dnssd_device_t *device, /* I - Device */ + _cups_dnssd_data_t *data) /* I - Enumeration data */ +{ + DEBUG_printf(("5cups_dnssd_free_device(device=%p(%s), data=%p)", (void *)device, device->dest.name, (void *)data)); + +# ifdef HAVE_DNSSD + if (device->ref) + DNSServiceRefDeallocate(device->ref); +# else /* HAVE_AVAHI */ + if (device->ref) + avahi_record_browser_free(device->ref); +# endif /* HAVE_DNSSD */ + + _cupsStrFree(device->domain); + _cupsStrFree(device->fullName); + _cupsStrFree(device->regtype); + _cupsStrFree(device->dest.name); + + cupsFreeOptions(device->dest.num_options, device->dest.options); + + free(device); +} + + +/* + * 'cups_dnssd_get_device()' - Lookup a device and create it as needed. + */ + +static _cups_dnssd_device_t * /* O - Device */ +cups_dnssd_get_device( + _cups_dnssd_data_t *data, /* I - Enumeration data */ + const char *serviceName, /* I - Service name */ + const char *regtype, /* I - Registration type */ + const char *replyDomain) /* I - Domain name */ +{ + _cups_dnssd_device_t key, /* Search key */ + *device; /* Device */ + char fullName[kDNSServiceMaxDomainName], + /* Full name for query */ + name[128]; /* Queue name */ + + + DEBUG_printf(("5cups_dnssd_get_device(data=%p, serviceName=\"%s\", regtype=\"%s\", replyDomain=\"%s\")", (void *)data, serviceName, regtype, replyDomain)); + + /* + * See if this is an existing device... + */ + + cups_queue_name(name, serviceName, sizeof(name)); + + key.dest.name = name; + + if ((device = cupsArrayFind(data->devices, &key)) != NULL) + { + /* + * Yes, see if we need to do anything with this... + */ + + int update = 0; /* Non-zero if we need to update */ + + if (!_cups_strcasecmp(replyDomain, "local.") && + _cups_strcasecmp(device->domain, replyDomain)) + { + /* + * Update the "global" listing to use the .local domain name instead. + */ + + _cupsStrFree(device->domain); + device->domain = _cupsStrAlloc(replyDomain); + + DEBUG_printf(("6cups_dnssd_get_device: Updating '%s' to use local " + "domain.", device->dest.name)); + + update = 1; + } + + if (!_cups_strcasecmp(regtype, "_ipps._tcp") && + _cups_strcasecmp(device->regtype, regtype)) + { + /* + * Prefer IPPS over IPP. + */ + + _cupsStrFree(device->regtype); + device->regtype = _cupsStrAlloc(regtype); + + DEBUG_printf(("6cups_dnssd_get_device: Updating '%s' to use IPPS.", + device->dest.name)); + + update = 1; + } + + if (!update) + { + DEBUG_printf(("6cups_dnssd_get_device: No changes to '%s'.", + device->dest.name)); + return (device); + } + } + else + { + /* + * No, add the device... + */ + + DEBUG_printf(("6cups_dnssd_get_device: Adding '%s' for %s with domain " + "'%s'.", serviceName, + !strcmp(regtype, "_ipps._tcp") ? "IPPS" : "IPP", + replyDomain)); + + device = calloc(sizeof(_cups_dnssd_device_t), 1); + device->dest.name = _cupsStrAlloc(name); + device->domain = _cupsStrAlloc(replyDomain); + device->regtype = _cupsStrAlloc(regtype); + + device->dest.num_options = cupsAddOption("printer-info", serviceName, 0, &device->dest.options); + + cupsArrayAdd(data->devices, device); + } + + /* + * Set the "full name" of this service, which is used for queries... + */ + +# ifdef HAVE_DNSSD + DNSServiceConstructFullName(fullName, serviceName, regtype, replyDomain); +# else /* HAVE_AVAHI */ + avahi_service_name_join(fullName, kDNSServiceMaxDomainName, serviceName, regtype, replyDomain); +# endif /* HAVE_DNSSD */ + + _cupsStrFree(device->fullName); + device->fullName = _cupsStrAlloc(fullName); + + if (device->ref) + { +# ifdef HAVE_DNSSD + DNSServiceRefDeallocate(device->ref); +# else /* HAVE_AVAHI */ + avahi_record_browser_free(device->ref); +# endif /* HAVE_DNSSD */ + + device->ref = 0; + } + + if (device->state == _CUPS_DNSSD_ACTIVE) + { + DEBUG_printf(("6cups_dnssd_get_device: Remove callback for \"%s\".", device->dest.name)); + + (*data->cb)(data->user_data, CUPS_DEST_FLAGS_REMOVED, &device->dest); + device->state = _CUPS_DNSSD_NEW; + } + + return (device); +} + + +# ifdef HAVE_AVAHI +/* + * 'cups_dnssd_poll_cb()' - Wait for input on the specified file descriptors. + * + * Note: This function is needed because avahi_simple_poll_iterate is broken + * and always uses a timeout of 0 (!) milliseconds. + * (https://github.com/lathiat/avahi/issues/127) + * + * @private@ + */ + +static int /* O - Number of file descriptors matching */ +cups_dnssd_poll_cb( + struct pollfd *pollfds, /* I - File descriptors */ + unsigned int num_pollfds, /* I - Number of file descriptors */ + int timeout, /* I - Timeout in milliseconds (unused) */ + void *context) /* I - User data (unused) */ +{ + _cups_dnssd_data_t *data = (_cups_dnssd_data_t *)context; + /* Enumeration data */ + int val; /* Return value */ + + + DEBUG_printf(("cups_dnssd_poll_cb(pollfds=%p, num_pollfds=%d, timeout=%d, context=%p)", pollfds, num_pollfds, timeout, context)); + + (void)timeout; + + val = poll(pollfds, num_pollfds, _CUPS_DNSSD_MAXTIME); + + DEBUG_printf(("cups_dnssd_poll_cb: poll() returned %d", val)); + + if (val < 0) + { + DEBUG_printf(("cups_dnssd_poll_cb: %s", strerror(errno))); + } + else if (val > 0) + { + data->got_data = 1; + } + + return (val); +} +# endif /* HAVE_AVAHI */ + + +/* + * 'cups_dnssd_query_cb()' - Process query data. + */ + +static void +cups_dnssd_query_cb( +# ifdef HAVE_DNSSD + DNSServiceRef sdRef, /* I - Service reference */ + DNSServiceFlags flags, /* I - Data flags */ + uint32_t interfaceIndex, /* I - Interface */ + DNSServiceErrorType errorCode, /* I - Error, if any */ + const char *fullName, /* I - Full service name */ + uint16_t rrtype, /* I - Record type */ + uint16_t rrclass, /* I - Record class */ + uint16_t rdlen, /* I - Length of record data */ + const void *rdata, /* I - Record data */ + uint32_t ttl, /* I - Time-to-live */ +# else /* HAVE_AVAHI */ + AvahiRecordBrowser *browser, /* I - Record browser */ + AvahiIfIndex interfaceIndex, + /* I - Interface index (unused) */ + AvahiProtocol protocol, /* I - Network protocol (unused) */ + AvahiBrowserEvent event, /* I - What happened? */ + const char *fullName, /* I - Service name */ + uint16_t rrclass, /* I - Record class */ + uint16_t rrtype, /* I - Record type */ + const void *rdata, /* I - TXT record */ + size_t rdlen, /* I - Length of TXT record */ + AvahiLookupResultFlags flags, /* I - Flags */ +# endif /* HAVE_DNSSD */ + void *context) /* I - Enumeration data */ +{ +# if defined(DEBUG) && defined(HAVE_AVAHI) + AvahiClient *client = avahi_record_browser_get_client(browser); + /* Client information */ +# endif /* DEBUG && HAVE_AVAHI */ + _cups_dnssd_data_t *data = (_cups_dnssd_data_t *)context; + /* Enumeration data */ + char serviceName[256],/* Service name */ + name[128], /* Queue name */ + *ptr; /* Pointer into string */ + _cups_dnssd_device_t dkey, /* Search key */ + *device; /* Device */ + + +# ifdef HAVE_DNSSD + DEBUG_printf(("5cups_dnssd_query_cb(sdRef=%p, flags=%x, interfaceIndex=%d, errorCode=%d, fullName=\"%s\", rrtype=%u, rrclass=%u, rdlen=%u, rdata=%p, ttl=%u, context=%p)", (void *)sdRef, flags, interfaceIndex, errorCode, fullName, rrtype, rrclass, rdlen, rdata, ttl, context)); + + /* + * Only process "add" data... + */ + + if (errorCode != kDNSServiceErr_NoError || !(flags & kDNSServiceFlagsAdd)) + return; + +# else /* HAVE_AVAHI */ + DEBUG_printf(("cups_dnssd_query_cb(browser=%p, interfaceIndex=%d, protocol=%d, event=%d, fullName=\"%s\", rrclass=%u, rrtype=%u, rdata=%p, rdlen=%u, flags=%x, context=%p)", browser, interfaceIndex, protocol, event, fullName, rrclass, rrtype, rdata, (unsigned)rdlen, flags, context)); + + /* + * Only process "add" data... + */ + + if (event != AVAHI_BROWSER_NEW) + { + if (event == AVAHI_BROWSER_FAILURE) + DEBUG_printf(("cups_dnssd_query_cb: %s", avahi_strerror(avahi_client_errno(client)))); + + return; + } +# endif /* HAVE_DNSSD */ + + /* + * Lookup the service in the devices array. + */ + + cups_dnssd_unquote(serviceName, fullName, sizeof(serviceName)); + + if ((ptr = strstr(serviceName, "._")) != NULL) + *ptr = '\0'; + + cups_queue_name(name, serviceName, sizeof(name)); + + dkey.dest.name = name; + + if ((device = cupsArrayFind(data->devices, &dkey)) != NULL && device->state == _CUPS_DNSSD_NEW) + { + /* + * Found it, pull out the make and model from the TXT record and save it... + */ + + const uint8_t *txt, /* Pointer into data */ + *txtnext, /* Next key/value pair */ + *txtend; /* End of entire TXT record */ + uint8_t txtlen; /* Length of current key/value pair */ + char key[256], /* Key string */ + value[256], /* Value string */ + make_and_model[512], + /* Manufacturer and model */ + model[256], /* Model */ + uriname[1024], /* Name for URI */ + uri[1024]; /* Printer URI */ + cups_ptype_t type = CUPS_PRINTER_DISCOVERED | CUPS_PRINTER_BW; + /* Printer type */ + int saw_printer_type = 0; + /* Did we see a printer-type key? */ + + device->state = _CUPS_DNSSD_PENDING; + make_and_model[0] = '\0'; + + strlcpy(model, "Unknown", sizeof(model)); + + for (txt = rdata, txtend = txt + rdlen; + txt < txtend; + txt = txtnext) + { + /* + * Read a key/value pair starting with an 8-bit length. Since the + * length is 8 bits and the size of the key/value buffers is 256, we + * don't need to check for overflow... + */ + + txtlen = *txt++; + + if (!txtlen || (txt + txtlen) > txtend) + break; + + txtnext = txt + txtlen; + + for (ptr = key; txt < txtnext && *txt != '='; txt ++) + *ptr++ = (char)*txt; + *ptr = '\0'; + + if (txt < txtnext && *txt == '=') + { + txt ++; + + if (txt < txtnext) + memcpy(value, txt, (size_t)(txtnext - txt)); + value[txtnext - txt] = '\0'; + + DEBUG_printf(("6cups_dnssd_query_cb: %s=%s", key, value)); + } + else + { + DEBUG_printf(("6cups_dnssd_query_cb: '%s' with no value.", key)); + continue; + } + + if (!_cups_strcasecmp(key, "usb_MFG") || + !_cups_strcasecmp(key, "usb_MANU") || + !_cups_strcasecmp(key, "usb_MANUFACTURER")) + strlcpy(make_and_model, value, sizeof(make_and_model)); + else if (!_cups_strcasecmp(key, "usb_MDL") || + !_cups_strcasecmp(key, "usb_MODEL")) + strlcpy(model, value, sizeof(model)); + else if (!_cups_strcasecmp(key, "product") && !strstr(value, "Ghostscript")) + { + if (value[0] == '(') + { + /* + * Strip parenthesis... + */ + + if ((ptr = value + strlen(value) - 1) > value && *ptr == ')') + *ptr = '\0'; + + strlcpy(model, value + 1, sizeof(model)); + } + else + strlcpy(model, value, sizeof(model)); + } + else if (!_cups_strcasecmp(key, "ty")) + { + strlcpy(model, value, sizeof(model)); + + if ((ptr = strchr(model, ',')) != NULL) + *ptr = '\0'; + } + else if (!_cups_strcasecmp(key, "note")) + device->dest.num_options = cupsAddOption("printer-location", value, + device->dest.num_options, + &device->dest.options); + else if (!_cups_strcasecmp(key, "pdl")) + { + /* + * Look for PDF-capable printers; only PDF-capable printers are shown. + */ + + const char *start, *next; /* Pointer into value */ + int have_pdf = 0, /* Have PDF? */ + have_raster = 0;/* Have raster format support? */ + + for (start = value; start && *start; start = next) + { + if (!_cups_strncasecmp(start, "application/pdf", 15) && (!start[15] || start[15] == ',')) + { + have_pdf = 1; + break; + } + else if ((!_cups_strncasecmp(start, "image/pwg-raster", 16) && (!start[16] || start[16] == ',')) || + (!_cups_strncasecmp(start, "image/urf", 9) && (!start[9] || start[9] == ','))) + { + have_raster = 1; + break; + } + + if ((next = strchr(start, ',')) != NULL) + next ++; + } + + if (!have_pdf && !have_raster) + device->state = _CUPS_DNSSD_INCOMPATIBLE; + } + else if (!_cups_strcasecmp(key, "printer-type")) + { + /* + * Value is either NNNN or 0xXXXX + */ + + saw_printer_type = 1; + type = (cups_ptype_t)strtol(value, NULL, 0) | CUPS_PRINTER_DISCOVERED; + } + else if (!saw_printer_type) + { + if (!_cups_strcasecmp(key, "air") && + !_cups_strcasecmp(value, "t")) + type |= CUPS_PRINTER_AUTHENTICATED; + else if (!_cups_strcasecmp(key, "bind") && + !_cups_strcasecmp(value, "t")) + type |= CUPS_PRINTER_BIND; + else if (!_cups_strcasecmp(key, "collate") && + !_cups_strcasecmp(value, "t")) + type |= CUPS_PRINTER_COLLATE; + else if (!_cups_strcasecmp(key, "color") && + !_cups_strcasecmp(value, "t")) + type |= CUPS_PRINTER_COLOR; + else if (!_cups_strcasecmp(key, "copies") && + !_cups_strcasecmp(value, "t")) + type |= CUPS_PRINTER_COPIES; + else if (!_cups_strcasecmp(key, "duplex") && + !_cups_strcasecmp(value, "t")) + type |= CUPS_PRINTER_DUPLEX; + else if (!_cups_strcasecmp(key, "fax") && + !_cups_strcasecmp(value, "t")) + type |= CUPS_PRINTER_MFP; + else if (!_cups_strcasecmp(key, "papercustom") && + !_cups_strcasecmp(value, "t")) + type |= CUPS_PRINTER_VARIABLE; + else if (!_cups_strcasecmp(key, "papermax")) + { + if (!_cups_strcasecmp(value, "legal-a4")) + type |= CUPS_PRINTER_SMALL; + else if (!_cups_strcasecmp(value, "isoc-a2")) + type |= CUPS_PRINTER_MEDIUM; + else if (!_cups_strcasecmp(value, ">isoc-a2")) + type |= CUPS_PRINTER_LARGE; + } + else if (!_cups_strcasecmp(key, "punch") && + !_cups_strcasecmp(value, "t")) + type |= CUPS_PRINTER_PUNCH; + else if (!_cups_strcasecmp(key, "scan") && + !_cups_strcasecmp(value, "t")) + type |= CUPS_PRINTER_MFP; + else if (!_cups_strcasecmp(key, "sort") && + !_cups_strcasecmp(value, "t")) + type |= CUPS_PRINTER_SORT; + else if (!_cups_strcasecmp(key, "staple") && + !_cups_strcasecmp(value, "t")) + type |= CUPS_PRINTER_STAPLE; + } + } + + /* + * Save the printer-xxx values... + */ + + if (make_and_model[0]) + { + strlcat(make_and_model, " ", sizeof(make_and_model)); + strlcat(make_and_model, model, sizeof(make_and_model)); + + device->dest.num_options = cupsAddOption("printer-make-and-model", make_and_model, device->dest.num_options, &device->dest.options); + } + else + device->dest.num_options = cupsAddOption("printer-make-and-model", model, device->dest.num_options, &device->dest.options); + + device->type = type; + snprintf(value, sizeof(value), "%u", type); + device->dest.num_options = cupsAddOption("printer-type", value, device->dest.num_options, &device->dest.options); + + /* + * Save the URI... + */ + + cups_dnssd_unquote(uriname, device->fullName, sizeof(uriname)); + httpAssembleURI(HTTP_URI_CODING_ALL, uri, sizeof(uri), + !strcmp(device->regtype, "_ipps._tcp") ? "ipps" : "ipp", + NULL, uriname, 0, saw_printer_type ? "/cups" : "/"); + + DEBUG_printf(("6cups_dnssd_query: device-uri=\"%s\"", uri)); + + device->dest.num_options = cupsAddOption("device-uri", uri, device->dest.num_options, &device->dest.options); + } + else + DEBUG_printf(("6cups_dnssd_query: Ignoring TXT record for '%s'.", + fullName)); +} + + +/* + * 'cups_dnssd_resolve()' - Resolve a Bonjour printer URI. + */ + +static const char * /* O - Resolved URI or NULL */ +cups_dnssd_resolve( + cups_dest_t *dest, /* I - Destination */ + const char *uri, /* I - Current printer URI */ + int msec, /* I - Time in milliseconds */ + int *cancel, /* I - Pointer to "cancel" variable */ + cups_dest_cb_t cb, /* I - Callback */ + void *user_data) /* I - User data for callback */ +{ + char tempuri[1024]; /* Temporary URI buffer */ + _cups_dnssd_resolve_t resolve; /* Resolve data */ + + + /* + * Resolve the URI... + */ + + resolve.cancel = cancel; + gettimeofday(&resolve.end_time, NULL); + if (msec > 0) + { + resolve.end_time.tv_sec += msec / 1000; + resolve.end_time.tv_usec += (msec % 1000) * 1000; + + while (resolve.end_time.tv_usec >= 1000000) + { + resolve.end_time.tv_sec ++; + resolve.end_time.tv_usec -= 1000000; + } + } + else + resolve.end_time.tv_sec += 75; + + if (cb) + (*cb)(user_data, CUPS_DEST_FLAGS_UNCONNECTED | CUPS_DEST_FLAGS_RESOLVING, dest); + + if ((uri = _httpResolveURI(uri, tempuri, sizeof(tempuri), _HTTP_RESOLVE_DEFAULT, cups_dnssd_resolve_cb, &resolve)) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to resolve printer-uri."), 1); + + if (cb) + (*cb)(user_data, CUPS_DEST_FLAGS_UNCONNECTED | CUPS_DEST_FLAGS_ERROR, dest); + + return (NULL); + } + + /* + * Save the resolved URI... + */ + + dest->num_options = cupsAddOption("device-uri", uri, dest->num_options, &dest->options); + + return (cupsGetOption("device-uri", dest->num_options, dest->options)); +} + + +/* + * 'cups_dnssd_resolve_cb()' - See if we should continue resolving. + */ + +static int /* O - 1 to continue, 0 to stop */ +cups_dnssd_resolve_cb(void *context) /* I - Resolve data */ +{ + _cups_dnssd_resolve_t *resolve = (_cups_dnssd_resolve_t *)context; + /* Resolve data */ + struct timeval curtime; /* Current time */ + + + /* + * If the cancel variable is set, return immediately. + */ + + if (resolve->cancel && *(resolve->cancel)) + { + DEBUG_puts("4cups_dnssd_resolve_cb: Canceled."); + return (0); + } + + /* + * Otherwise check the end time... + */ + + gettimeofday(&curtime, NULL); + + DEBUG_printf(("4cups_dnssd_resolve_cb: curtime=%d.%06d, end_time=%d.%06d", (int)curtime.tv_sec, (int)curtime.tv_usec, (int)resolve->end_time.tv_sec, (int)resolve->end_time.tv_usec)); + + return (curtime.tv_sec < resolve->end_time.tv_sec || + (curtime.tv_sec == resolve->end_time.tv_sec && + curtime.tv_usec < resolve->end_time.tv_usec)); +} + + +/* + * 'cups_dnssd_unquote()' - Unquote a name string. + */ + +static void +cups_dnssd_unquote(char *dst, /* I - Destination buffer */ + const char *src, /* I - Source string */ + size_t dstsize) /* I - Size of destination buffer */ +{ + char *dstend = dst + dstsize - 1; /* End of destination buffer */ + + + while (*src && dst < dstend) + { + if (*src == '\\') + { + src ++; + if (isdigit(src[0] & 255) && isdigit(src[1] & 255) && + isdigit(src[2] & 255)) + { + *dst++ = ((((src[0] - '0') * 10) + src[1] - '0') * 10) + src[2] - '0'; + src += 3; + } + else + *dst++ = *src++; + } + else + *dst++ = *src ++; + } + + *dst = '\0'; +} +#endif /* HAVE_DNSSD */ + + +#if defined(HAVE_AVAHI) || defined(HAVE_DNSSD) +/* + * 'cups_elapsed()' - Return the elapsed time in milliseconds. + */ + +static int /* O - Elapsed time in milliseconds */ +cups_elapsed(struct timeval *t) /* IO - Previous time */ +{ + int msecs; /* Milliseconds */ + struct timeval nt; /* New time */ + + + gettimeofday(&nt, NULL); + + msecs = (int)(1000 * (nt.tv_sec - t->tv_sec) + (nt.tv_usec - t->tv_usec) / 1000); + + *t = nt; + + return (msecs); +} +#endif /* HAVE_AVAHI || HAVE_DNSSD */ + + +/* + * 'cups_enum_dests()' - Enumerate destinations from a specific server. + */ + +static int /* O - 1 on success, 0 on failure */ +cups_enum_dests( + http_t *http, /* I - Connection to scheduler */ + unsigned flags, /* I - Enumeration flags */ + int msec, /* I - Timeout in milliseconds, -1 for indefinite */ + int *cancel, /* I - Pointer to "cancel" variable */ + cups_ptype_t type, /* I - Printer type bits */ + cups_ptype_t mask, /* I - Mask for printer type bits */ + cups_dest_cb_t cb, /* I - Callback function */ + void *user_data) /* I - User data */ +{ + int i, j, /* Looping vars */ + num_dests; /* Number of destinations */ + cups_dest_t *dests = NULL, /* Destinations */ + *dest; /* Current destination */ + cups_option_t *option; /* Current option */ + const char *user_default; /* Default printer from environment */ +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + int count, /* Number of queries started */ + completed, /* Number of completed queries */ + remaining; /* Remainder of timeout */ + struct timeval curtime; /* Current time */ + _cups_dnssd_data_t data; /* Data for callback */ + _cups_dnssd_device_t *device; /* Current device */ +# ifdef HAVE_DNSSD + int nfds, /* Number of files responded */ + main_fd; /* File descriptor for lookups */ + DNSServiceRef ipp_ref = NULL; /* IPP browser */ +# ifdef HAVE_SSL + DNSServiceRef ipps_ref = NULL; /* IPPS browser */ +# endif /* HAVE_SSL */ +# ifdef HAVE_POLL + struct pollfd pfd; /* Polling data */ +# else + fd_set input; /* Input set for select() */ + struct timeval timeout; /* Timeout for select() */ +# endif /* HAVE_POLL */ +# else /* HAVE_AVAHI */ + int error; /* Error value */ + AvahiServiceBrowser *ipp_ref = NULL; /* IPP browser */ +# ifdef HAVE_SSL + AvahiServiceBrowser *ipps_ref = NULL; /* IPPS browser */ +# endif /* HAVE_SSL */ +# endif /* HAVE_DNSSD */ +#else + _cups_getdata_t data; /* Data for callback */ +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + char filename[1024]; /* Local lpoptions file */ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + DEBUG_printf(("cups_enum_dests(flags=%x, msec=%d, cancel=%p, type=%x, mask=%x, cb=%p, user_data=%p)", flags, msec, (void *)cancel, type, mask, (void *)cb, (void *)user_data)); + + /* + * Range check input... + */ + + (void)flags; + + if (!cb) + { + DEBUG_puts("1cups_enum_dests: No callback, returning 0."); + return (0); + } + + /* + * Load the /etc/cups/lpoptions and ~/.cups/lpoptions files... + */ + + memset(&data, 0, sizeof(data)); + + user_default = _cupsUserDefault(data.def_name, sizeof(data.def_name)); + + snprintf(filename, sizeof(filename), "%s/lpoptions", cg->cups_serverroot); + data.num_dests = cups_get_dests(filename, NULL, NULL, 1, user_default != NULL, data.num_dests, &data.dests); + + if (cg->home) + { + snprintf(filename, sizeof(filename), "%s/.cups/lpoptions", cg->home); + + data.num_dests = cups_get_dests(filename, NULL, NULL, 1, user_default != NULL, data.num_dests, &data.dests); + } + + if (!user_default && (dest = cupsGetDest(NULL, NULL, data.num_dests, data.dests)) != NULL) + { + /* + * Use an lpoptions default printer... + */ + + if (dest->instance) + snprintf(data.def_name, sizeof(data.def_name), "%s/%s", dest->name, dest->instance); + else + strlcpy(data.def_name, dest->name, sizeof(data.def_name)); + } + else + { + const char *default_printer; /* Server default printer */ + + if ((default_printer = cupsGetDefault2(http)) != NULL) + strlcpy(data.def_name, default_printer, sizeof(data.def_name)); + } + + if (data.def_name[0]) + { + /* + * Separate printer and instance name... + */ + + if ((data.def_instance = strchr(data.def_name, '/')) != NULL) + *data.def_instance++ = '\0'; + } + + DEBUG_printf(("1cups_enum_dests: def_name=\"%s\", def_instance=\"%s\"", data.def_name, data.def_instance)); + + /* + * Get ready to enumerate... + */ + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + data.type = type; + data.mask = mask; + data.cb = cb; + data.user_data = user_data; + data.devices = cupsArrayNew3((cups_array_func_t)cups_dnssd_compare_devices, NULL, NULL, 0, NULL, (cups_afree_func_t)cups_dnssd_free_device); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + if (!(mask & CUPS_PRINTER_DISCOVERED) || !(type & CUPS_PRINTER_DISCOVERED)) + { + /* + * Get the list of local printers and pass them to the callback function... + */ + + num_dests = _cupsGetDests(http, IPP_OP_CUPS_GET_PRINTERS, NULL, &dests, type, mask); + + if (data.def_name[0]) + { + /* + * Lookup the named default printer and instance and make it the default... + */ + + if ((dest = cupsGetDest(data.def_name, data.def_instance, num_dests, dests)) != NULL) + { + DEBUG_printf(("1cups_enum_dests: Setting is_default on \"%s/%s\".", dest->name, dest->instance)); + dest->is_default = 1; + } + } + + for (i = num_dests, dest = dests; + i > 0 && (!cancel || !*cancel); + i --, dest ++) + { + cups_dest_t *user_dest; /* Destination from lpoptions */ +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + const char *device_uri; /* Device URI */ +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + if ((user_dest = cupsGetDest(dest->name, dest->instance, data.num_dests, data.dests)) != NULL) + { + /* + * Apply user defaults to this destination... + */ + + for (j = user_dest->num_options, option = user_dest->options; j > 0; j --, option ++) + dest->num_options = cupsAddOption(option->name, option->value, dest->num_options, &dest->options); + } + + if (!(*cb)(user_data, i > 1 ? CUPS_DEST_FLAGS_MORE : CUPS_DEST_FLAGS_NONE, dest)) + break; + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + if (!dest->instance && (device_uri = cupsGetOption("device-uri", dest->num_options, dest->options)) != NULL && !strncmp(device_uri, "dnssd://", 8)) + { + /* + * Add existing queue using service name, etc. so we don't list it again... + */ + + char scheme[32], /* URI scheme */ + userpass[32], /* Username:password */ + serviceName[256], /* Service name (host field) */ + resource[256], /* Resource (options) */ + *regtype, /* Registration type */ + *replyDomain; /* Registration domain */ + int port; /* Port number (not used) */ + + if (httpSeparateURI(HTTP_URI_CODING_ALL, device_uri, scheme, sizeof(scheme), userpass, sizeof(userpass), serviceName, sizeof(serviceName), &port, resource, sizeof(resource)) >= HTTP_URI_STATUS_OK) + { + if ((regtype = strstr(serviceName, "._ipp")) != NULL) + { + *regtype++ = '\0'; + + if ((replyDomain = strstr(regtype, "._tcp.")) != NULL) + { + replyDomain[5] = '\0'; + replyDomain += 6; + + if ((device = cups_dnssd_get_device(&data, serviceName, regtype, replyDomain)) != NULL) + device->state = _CUPS_DNSSD_ACTIVE; + } + } + } + } +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + } + + cupsFreeDests(num_dests, dests); + + if (i > 0 || msec == 0) + goto enum_finished; + } + + /* + * Return early if the caller doesn't want to do discovery... + */ + + if ((mask & CUPS_PRINTER_DISCOVERED) && !(type & CUPS_PRINTER_DISCOVERED)) + goto enum_finished; + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + /* + * Get Bonjour-shared printers... + */ + + gettimeofday(&curtime, NULL); + +# ifdef HAVE_DNSSD + if (DNSServiceCreateConnection(&data.main_ref) != kDNSServiceErr_NoError) + { + DEBUG_puts("1cups_enum_dests: Unable to create service browser, returning 0."); + + cupsFreeDests(data.num_dests, data.dests); + + return (0); + } + + main_fd = DNSServiceRefSockFD(data.main_ref); + + ipp_ref = data.main_ref; + if (DNSServiceBrowse(&ipp_ref, kDNSServiceFlagsShareConnection, 0, "_ipp._tcp", NULL, (DNSServiceBrowseReply)cups_dnssd_browse_cb, &data) != kDNSServiceErr_NoError) + { + DEBUG_puts("1cups_enum_dests: Unable to create IPP browser, returning 0."); + DNSServiceRefDeallocate(data.main_ref); + + cupsFreeDests(data.num_dests, data.dests); + + return (0); + } + +# ifdef HAVE_SSL + ipps_ref = data.main_ref; + if (DNSServiceBrowse(&ipps_ref, kDNSServiceFlagsShareConnection, 0, "_ipps._tcp", NULL, (DNSServiceBrowseReply)cups_dnssd_browse_cb, &data) != kDNSServiceErr_NoError) + { + DEBUG_puts("1cups_enum_dests: Unable to create IPPS browser, returning 0."); + DNSServiceRefDeallocate(data.main_ref); + + cupsFreeDests(data.num_dests, data.dests); + + return (0); + } +# endif /* HAVE_SSL */ + +# else /* HAVE_AVAHI */ + if ((data.simple_poll = avahi_simple_poll_new()) == NULL) + { + DEBUG_puts("1cups_enum_dests: Unable to create Avahi poll, returning 0."); + + cupsFreeDests(data.num_dests, data.dests); + + return (0); + } + + avahi_simple_poll_set_func(data.simple_poll, cups_dnssd_poll_cb, &data); + + data.client = avahi_client_new(avahi_simple_poll_get(data.simple_poll), + 0, cups_dnssd_client_cb, &data, + &error); + if (!data.client) + { + DEBUG_puts("1cups_enum_dests: Unable to create Avahi client, returning 0."); + avahi_simple_poll_free(data.simple_poll); + + cupsFreeDests(data.num_dests, data.dests); + + return (0); + } + + data.browsers = 1; + if ((ipp_ref = avahi_service_browser_new(data.client, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, "_ipp._tcp", NULL, 0, cups_dnssd_browse_cb, &data)) == NULL) + { + DEBUG_puts("1cups_enum_dests: Unable to create Avahi IPP browser, returning 0."); + + avahi_client_free(data.client); + avahi_simple_poll_free(data.simple_poll); + + cupsFreeDests(data.num_dests, data.dests); + + return (0); + } + +# ifdef HAVE_SSL + data.browsers ++; + if ((ipps_ref = avahi_service_browser_new(data.client, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, "_ipps._tcp", NULL, 0, cups_dnssd_browse_cb, &data)) == NULL) + { + DEBUG_puts("1cups_enum_dests: Unable to create Avahi IPPS browser, returning 0."); + + avahi_service_browser_free(ipp_ref); + avahi_client_free(data.client); + avahi_simple_poll_free(data.simple_poll); + + cupsFreeDests(data.num_dests, data.dests); + + return (0); + } +# endif /* HAVE_SSL */ +# endif /* HAVE_DNSSD */ + + if (msec < 0) + remaining = INT_MAX; + else + remaining = msec; + + while (remaining > 0 && (!cancel || !*cancel)) + { + /* + * Check for input... + */ + + DEBUG_printf(("1cups_enum_dests: remaining=%d", remaining)); + + cups_elapsed(&curtime); + +# ifdef HAVE_DNSSD +# ifdef HAVE_POLL + pfd.fd = main_fd; + pfd.events = POLLIN; + + nfds = poll(&pfd, 1, remaining > _CUPS_DNSSD_MAXTIME ? _CUPS_DNSSD_MAXTIME : remaining); + +# else + FD_ZERO(&input); + FD_SET(main_fd, &input); + + timeout.tv_sec = 0; + timeout.tv_usec = 1000 * (remaining > _CUPS_DNSSD_MAXTIME ? _CUPS_DNSSD_MAXTIME : remaining); + + nfds = select(main_fd + 1, &input, NULL, NULL, &timeout); +# endif /* HAVE_POLL */ + + if (nfds > 0) + DNSServiceProcessResult(data.main_ref); + else if (nfds < 0 && errno != EINTR && errno != EAGAIN) + break; + +# else /* HAVE_AVAHI */ + data.got_data = 0; + + if ((error = avahi_simple_poll_iterate(data.simple_poll, _CUPS_DNSSD_MAXTIME)) > 0) + { + /* + * We've been told to exit the loop. Perhaps the connection to + * Avahi failed. + */ + + break; + } + + DEBUG_printf(("1cups_enum_dests: got_data=%d", data.got_data)); +# endif /* HAVE_DNSSD */ + + remaining -= cups_elapsed(&curtime); + + for (device = (_cups_dnssd_device_t *)cupsArrayFirst(data.devices), + count = 0, completed = 0; + device; + device = (_cups_dnssd_device_t *)cupsArrayNext(data.devices)) + { + if (device->ref) + count ++; + + if (device->state == _CUPS_DNSSD_ACTIVE) + completed ++; + + if (!device->ref && device->state == _CUPS_DNSSD_NEW) + { + DEBUG_printf(("1cups_enum_dests: Querying '%s'.", device->fullName)); + +# ifdef HAVE_DNSSD + device->ref = data.main_ref; + + if (DNSServiceQueryRecord(&(device->ref), kDNSServiceFlagsShareConnection, 0, device->fullName, kDNSServiceType_TXT, kDNSServiceClass_IN, (DNSServiceQueryRecordReply)cups_dnssd_query_cb, &data) == kDNSServiceErr_NoError) + { + count ++; + } + else + { + device->ref = 0; + device->state = _CUPS_DNSSD_ERROR; + + DEBUG_puts("1cups_enum_dests: Query failed."); + } + +# else /* HAVE_AVAHI */ + if ((device->ref = avahi_record_browser_new(data.client, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, device->fullName, AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_TXT, 0, cups_dnssd_query_cb, &data)) != NULL) + { + DEBUG_printf(("1cups_enum_dests: Query ref=%p", device->ref)); + count ++; + } + else + { + device->state = _CUPS_DNSSD_ERROR; + + DEBUG_printf(("1cups_enum_dests: Query failed: %s", avahi_strerror(avahi_client_errno(data.client)))); + } +# endif /* HAVE_DNSSD */ + } + else if (device->ref && device->state == _CUPS_DNSSD_PENDING) + { + completed ++; + + DEBUG_printf(("1cups_enum_dests: Query for \"%s\" is complete.", device->fullName)); + + if ((device->type & mask) == type) + { + cups_dest_t *user_dest; /* Destination from lpoptions */ + + dest = &device->dest; + + if ((user_dest = cupsGetDest(dest->name, dest->instance, data.num_dests, data.dests)) != NULL) + { + /* + * Apply user defaults to this destination... + */ + + for (j = user_dest->num_options, option = user_dest->options; j > 0; j --, option ++) + dest->num_options = cupsAddOption(option->name, option->value, dest->num_options, &dest->options); + } + + if (!strcasecmp(dest->name, data.def_name) && !data.def_instance) + { + DEBUG_printf(("1cups_enum_dests: Setting is_default on discovered \"%s\".", dest->name)); + dest->is_default = 1; + } + + DEBUG_printf(("1cups_enum_dests: Add callback for \"%s\".", device->dest.name)); + if (!(*cb)(user_data, CUPS_DEST_FLAGS_NONE, dest)) + { + remaining = -1; + break; + } + } + + device->state = _CUPS_DNSSD_ACTIVE; + } + } + +# ifdef HAVE_AVAHI + DEBUG_printf(("1cups_enum_dests: remaining=%d, browsers=%d, completed=%d, count=%d, devices count=%d", remaining, data.browsers, completed, count, cupsArrayCount(data.devices))); + + if (data.browsers == 0 && completed == cupsArrayCount(data.devices)) + break; +# else + DEBUG_printf(("1cups_enum_dests: remaining=%d, completed=%d, count=%d, devices count=%d", remaining, completed, count, cupsArrayCount(data.devices))); + + if (completed == cupsArrayCount(data.devices)) + break; +# endif /* HAVE_AVAHI */ + } +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + /* + * Return... + */ + + enum_finished: + + cupsFreeDests(data.num_dests, data.dests); + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + cupsArrayDelete(data.devices); + +# ifdef HAVE_DNSSD + if (ipp_ref) + DNSServiceRefDeallocate(ipp_ref); + +# ifdef HAVE_SSL + if (ipps_ref) + DNSServiceRefDeallocate(ipps_ref); +# endif /* HAVE_SSL */ + + if (data.main_ref) + DNSServiceRefDeallocate(data.main_ref); + +# else /* HAVE_AVAHI */ + if (ipp_ref) + avahi_service_browser_free(ipp_ref); +# ifdef HAVE_SSL + if (ipps_ref) + avahi_service_browser_free(ipps_ref); +# endif /* HAVE_SSL */ + + if (data.client) + avahi_client_free(data.client); + if (data.simple_poll) + avahi_simple_poll_free(data.simple_poll); +# endif /* HAVE_DNSSD */ +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + DEBUG_puts("1cups_enum_dests: Returning 1."); + + return (1); +} + + +/* + * 'cups_find_dest()' - Find a destination using a binary search. + */ + +static int /* O - Index of match */ +cups_find_dest(const char *name, /* I - Destination name */ + const char *instance, /* I - Instance or NULL */ + int num_dests, /* I - Number of destinations */ + cups_dest_t *dests, /* I - Destinations */ + int prev, /* I - Previous index */ + int *rdiff) /* O - Difference of match */ +{ + int left, /* Low mark for binary search */ + right, /* High mark for binary search */ + current, /* Current index */ + diff; /* Result of comparison */ + cups_dest_t key; /* Search key */ + + + key.name = (char *)name; + key.instance = (char *)instance; + + if (prev >= 0) + { + /* + * Start search on either side of previous... + */ + + if ((diff = cups_compare_dests(&key, dests + prev)) == 0 || + (diff < 0 && prev == 0) || + (diff > 0 && prev == (num_dests - 1))) + { + *rdiff = diff; + return (prev); + } + else if (diff < 0) + { + /* + * Start with previous on right side... + */ + + left = 0; + right = prev; + } + else + { + /* + * Start wih previous on left side... + */ + + left = prev; + right = num_dests - 1; + } + } + else + { + /* + * Start search in the middle... + */ + + left = 0; + right = num_dests - 1; + } + + do + { + current = (left + right) / 2; + diff = cups_compare_dests(&key, dests + current); + + if (diff == 0) + break; + else if (diff < 0) + right = current; + else + left = current; + } + while ((right - left) > 1); + + if (diff != 0) + { + /* + * Check the last 1 or 2 elements... + */ + + if ((diff = cups_compare_dests(&key, dests + left)) <= 0) + current = left; + else + { + diff = cups_compare_dests(&key, dests + right); + current = right; + } + } + + /* + * Return the closest destination and the difference... + */ + + *rdiff = diff; + + return (current); +} + + +/* + * 'cups_get_cb()' - Collect enumerated destinations. + */ + +static int /* O - 1 to continue, 0 to stop */ +cups_get_cb(_cups_getdata_t *data, /* I - Data from cupsGetDests */ + unsigned flags, /* I - Enumeration flags */ + cups_dest_t *dest) /* I - Destination */ +{ + if (flags & CUPS_DEST_FLAGS_REMOVED) + { + /* + * Remove destination from array... + */ + + data->num_dests = cupsRemoveDest(dest->name, dest->instance, data->num_dests, &data->dests); + } + else + { + /* + * Add destination to array... + */ + + data->num_dests = cupsCopyDest(dest, data->num_dests, &data->dests); + } + + return (1); +} + + +/* + * 'cups_get_default()' - Get the default destination from an lpoptions file. + */ + +static char * /* O - Default destination or NULL */ +cups_get_default(const char *filename, /* I - File to read */ + char *namebuf, /* I - Name buffer */ + size_t namesize, /* I - Size of name buffer */ + const char **instance) /* I - Instance */ +{ + cups_file_t *fp; /* lpoptions file */ + char line[8192], /* Line from file */ + *value, /* Value for line */ + *nameptr; /* Pointer into name */ + int linenum; /* Current line */ + + + *namebuf = '\0'; + + if ((fp = cupsFileOpen(filename, "r")) != NULL) + { + linenum = 0; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + if (!_cups_strcasecmp(line, "default") && value) + { + strlcpy(namebuf, value, namesize); + + if ((nameptr = strchr(namebuf, ' ')) != NULL) + *nameptr = '\0'; + if ((nameptr = strchr(namebuf, '\t')) != NULL) + *nameptr = '\0'; + + if ((nameptr = strchr(namebuf, '/')) != NULL) + *nameptr++ = '\0'; + + *instance = nameptr; + break; + } + } + + cupsFileClose(fp); + } + + return (*namebuf ? namebuf : NULL); +} + + +/* + * 'cups_get_dests()' - Get destinations from a file. + */ + +static int /* O - Number of destinations */ +cups_get_dests( + const char *filename, /* I - File to read from */ + const char *match_name, /* I - Destination name we want */ + const char *match_inst, /* I - Instance name we want */ + int load_all, /* I - Load all saved destinations? */ + int user_default_set, /* I - User default printer set? */ + int num_dests, /* I - Number of destinations */ + cups_dest_t **dests) /* IO - Destinations */ +{ + int i; /* Looping var */ + cups_dest_t *dest; /* Current destination */ + cups_file_t *fp; /* File pointer */ + char line[8192], /* Line from file */ + *lineptr, /* Pointer into line */ + *name, /* Name of destination/option */ + *instance; /* Instance of destination */ + int linenum; /* Current line number */ + + + DEBUG_printf(("7cups_get_dests(filename=\"%s\", match_name=\"%s\", match_inst=\"%s\", load_all=%d, user_default_set=%d, num_dests=%d, dests=%p)", filename, match_name, match_inst, load_all, user_default_set, num_dests, (void *)dests)); + + /* + * Try to open the file... + */ + + if ((fp = cupsFileOpen(filename, "r")) == NULL) + return (num_dests); + + /* + * Read each printer; each line looks like: + * + * Dest name[/instance] options + * Default name[/instance] options + */ + + linenum = 0; + + while (cupsFileGetConf(fp, line, sizeof(line), &lineptr, &linenum)) + { + /* + * See what type of line it is... + */ + + DEBUG_printf(("9cups_get_dests: linenum=%d line=\"%s\" lineptr=\"%s\"", + linenum, line, lineptr)); + + if ((_cups_strcasecmp(line, "dest") && _cups_strcasecmp(line, "default")) || !lineptr) + { + DEBUG_puts("9cups_get_dests: Not a dest or default line..."); + continue; + } + + name = lineptr; + + /* + * Search for an instance... + */ + + while (!isspace(*lineptr & 255) && *lineptr && *lineptr != '/') + lineptr ++; + + if (*lineptr == '/') + { + /* + * Found an instance... + */ + + *lineptr++ = '\0'; + instance = lineptr; + + /* + * Search for an instance... + */ + + while (!isspace(*lineptr & 255) && *lineptr) + lineptr ++; + } + else + instance = NULL; + + if (*lineptr) + *lineptr++ = '\0'; + + DEBUG_printf(("9cups_get_dests: name=\"%s\", instance=\"%s\"", name, + instance)); + + /* + * Match and/or ignore missing destinations... + */ + + if (match_name) + { + if (_cups_strcasecmp(name, match_name) || + (!instance && match_inst) || + (instance && !match_inst) || + (instance && _cups_strcasecmp(instance, match_inst))) + continue; + + dest = *dests; + } + else if (!load_all && cupsGetDest(name, NULL, num_dests, *dests) == NULL) + { + DEBUG_puts("9cups_get_dests: Not found!"); + continue; + } + else + { + /* + * Add the destination... + */ + + num_dests = cupsAddDest(name, instance, num_dests, dests); + + if ((dest = cupsGetDest(name, instance, num_dests, *dests)) == NULL) + { + /* + * Out of memory! + */ + + DEBUG_puts("9cups_get_dests: Out of memory!"); + break; + } + } + + /* + * Add options until we hit the end of the line... + */ + + dest->num_options = cupsParseOptions(lineptr, dest->num_options, &(dest->options)); + + /* + * If we found what we were looking for, stop now... + */ + + if (match_name) + break; + + /* + * Set this as default if needed... + */ + + if (!user_default_set && !_cups_strcasecmp(line, "default")) + { + DEBUG_puts("9cups_get_dests: Setting as default..."); + + for (i = 0; i < num_dests; i ++) + (*dests)[i].is_default = 0; + + dest->is_default = 1; + } + } + + /* + * Close the file and return... + */ + + cupsFileClose(fp); + + return (num_dests); +} + + +/* + * 'cups_make_string()' - Make a comma-separated string of values from an IPP + * attribute. + */ + +static char * /* O - New string */ +cups_make_string( + ipp_attribute_t *attr, /* I - Attribute to convert */ + char *buffer, /* I - Buffer */ + size_t bufsize) /* I - Size of buffer */ +{ + int i; /* Looping var */ + char *ptr, /* Pointer into buffer */ + *end, /* Pointer to end of buffer */ + *valptr; /* Pointer into string attribute */ + + + /* + * Return quickly if we have a single string value... + */ + + if (attr->num_values == 1 && + attr->value_tag != IPP_TAG_INTEGER && + attr->value_tag != IPP_TAG_ENUM && + attr->value_tag != IPP_TAG_BOOLEAN && + attr->value_tag != IPP_TAG_RANGE) + return (attr->values[0].string.text); + + /* + * Copy the values to the string, separating with commas and escaping strings + * as needed... + */ + + end = buffer + bufsize - 1; + + for (i = 0, ptr = buffer; i < attr->num_values && ptr < end; i ++) + { + if (i) + *ptr++ = ','; + + switch (attr->value_tag) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + snprintf(ptr, (size_t)(end - ptr + 1), "%d", attr->values[i].integer); + break; + + case IPP_TAG_BOOLEAN : + if (attr->values[i].boolean) + strlcpy(ptr, "true", (size_t)(end - ptr + 1)); + else + strlcpy(ptr, "false", (size_t)(end - ptr + 1)); + break; + + case IPP_TAG_RANGE : + if (attr->values[i].range.lower == attr->values[i].range.upper) + snprintf(ptr, (size_t)(end - ptr + 1), "%d", attr->values[i].range.lower); + else + snprintf(ptr, (size_t)(end - ptr + 1), "%d-%d", attr->values[i].range.lower, attr->values[i].range.upper); + break; + + default : + for (valptr = attr->values[i].string.text; + *valptr && ptr < end;) + { + if (strchr(" \t\n\\\'\"", *valptr)) + { + if (ptr >= (end - 1)) + break; + + *ptr++ = '\\'; + } + + *ptr++ = *valptr++; + } + + *ptr = '\0'; + break; + } + + ptr += strlen(ptr); + } + + *ptr = '\0'; + + return (buffer); +} + + +/* + * 'cups_name_cb()' - Find an enumerated destination. + */ + +static int /* O - 1 to continue, 0 to stop */ +cups_name_cb(_cups_namedata_t *data, /* I - Data from cupsGetNamedDest */ + unsigned flags, /* I - Enumeration flags */ + cups_dest_t *dest) /* I - Destination */ +{ + DEBUG_printf(("2cups_name_cb(data=%p(%s), flags=%x, dest=%p(%s)", (void *)data, data->name, flags, (void *)dest, dest->name)); + + if (!(flags & CUPS_DEST_FLAGS_REMOVED) && !dest->instance && !strcasecmp(data->name, dest->name)) + { + /* + * Copy destination and stop enumeration... + */ + + cupsCopyDest(dest, 0, &data->dest); + return (0); + } + + return (1); +} + + +/* + * 'cups_queue_name()' - Create a local queue name based on the service name. + */ + +static void +cups_queue_name( + char *name, /* I - Name buffer */ + const char *serviceName, /* I - Service name */ + size_t namesize) /* I - Size of name buffer */ +{ + const char *ptr; /* Pointer into serviceName */ + char *nameptr; /* Pointer into name */ + + + for (nameptr = name, ptr = serviceName; *ptr && nameptr < (name + namesize - 1); ptr ++) + { + /* + * Sanitize the printer name... + */ + + if (_cups_isalnum(*ptr)) + *nameptr++ = *ptr; + else if (nameptr == name || nameptr[-1] != '_') + *nameptr++ = '_'; + } + + *nameptr = '\0'; +} diff --git a/cups/dir.c b/cups/dir.c new file mode 100644 index 0000000..184aa7c --- /dev/null +++ b/cups/dir.c @@ -0,0 +1,421 @@ +/* + * Directory routines for CUPS. + * + * This set of APIs abstracts enumeration of directory entries. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "string-private.h" +#include "debug-internal.h" +#include "dir.h" + + +/* + * Windows implementation... + */ + +#ifdef _WIN32 +# include + +/* + * Types and structures... + */ + +struct _cups_dir_s /**** Directory data structure ****/ +{ + char directory[1024]; /* Directory filename */ + HANDLE dir; /* Directory handle */ + cups_dentry_t entry; /* Directory entry */ +}; + + +/* + * '_cups_dir_time()' - Convert a FILETIME value to a UNIX time value. + */ + +time_t /* O - UNIX time */ +_cups_dir_time(FILETIME ft) /* I - File time */ +{ + ULONGLONG val; /* File time in 0.1 usecs */ + + + /* + * Convert file time (1/10 microseconds since Jan 1, 1601) to UNIX + * time (seconds since Jan 1, 1970). There are 11,644,732,800 seconds + * between them... + */ + + val = ft.dwLowDateTime + ((ULONGLONG)ft.dwHighDateTime << 32); + return ((time_t)(val / 10000000 - 11644732800)); +} + + +/* + * 'cupsDirClose()' - Close a directory. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void +cupsDirClose(cups_dir_t *dp) /* I - Directory pointer */ +{ + /* + * Range check input... + */ + + if (!dp) + return; + + /* + * Close an open directory handle... + */ + + if (dp->dir != INVALID_HANDLE_VALUE) + FindClose(dp->dir); + + /* + * Free memory used... + */ + + free(dp); +} + + +/* + * 'cupsDirOpen()' - Open a directory. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +cups_dir_t * /* O - Directory pointer or @code NULL@ if the directory could not be opened. */ +cupsDirOpen(const char *directory) /* I - Directory name */ +{ + cups_dir_t *dp; /* Directory */ + + + /* + * Range check input... + */ + + if (!directory) + return (NULL); + + /* + * Allocate memory for the directory structure... + */ + + dp = (cups_dir_t *)calloc(1, sizeof(cups_dir_t)); + if (!dp) + return (NULL); + + /* + * Copy the directory name for later use... + */ + + dp->dir = INVALID_HANDLE_VALUE; + + strlcpy(dp->directory, directory, sizeof(dp->directory)); + + /* + * Return the new directory structure... + */ + + return (dp); +} + + +/* + * 'cupsDirRead()' - Read the next directory entry. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +cups_dentry_t * /* O - Directory entry or @code NULL@ if there are no more */ +cupsDirRead(cups_dir_t *dp) /* I - Directory pointer */ +{ + WIN32_FIND_DATAA entry; /* Directory entry data */ + + + /* + * Range check input... + */ + + if (!dp) + return (NULL); + + /* + * See if we have already started finding files... + */ + + if (dp->dir == INVALID_HANDLE_VALUE) + { + /* + * No, find the first file... + */ + + dp->dir = FindFirstFileA(dp->directory, &entry); + if (dp->dir == INVALID_HANDLE_VALUE) + return (NULL); + } + else if (!FindNextFileA(dp->dir, &entry)) + return (NULL); + + /* + * Copy the name over and convert the file information... + */ + + strlcpy(dp->entry.filename, entry.cFileName, sizeof(dp->entry.filename)); + + if (entry.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) + dp->entry.fileinfo.st_mode = 0755 | S_IFDIR; + else + dp->entry.fileinfo.st_mode = 0644; + + dp->entry.fileinfo.st_atime = _cups_dir_time(entry.ftLastAccessTime); + dp->entry.fileinfo.st_ctime = _cups_dir_time(entry.ftCreationTime); + dp->entry.fileinfo.st_mtime = _cups_dir_time(entry.ftLastWriteTime); + dp->entry.fileinfo.st_size = entry.nFileSizeLow + ((unsigned long long)entry.nFileSizeHigh << 32); + + /* + * Return the entry... + */ + + return (&(dp->entry)); +} + + +/* + * 'cupsDirRewind()' - Rewind to the start of the directory. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void +cupsDirRewind(cups_dir_t *dp) /* I - Directory pointer */ +{ + /* + * Range check input... + */ + + if (!dp) + return; + + /* + * Close an open directory handle... + */ + + if (dp->dir != INVALID_HANDLE_VALUE) + { + FindClose(dp->dir); + dp->dir = INVALID_HANDLE_VALUE; + } +} + + +#else + +/* + * POSIX implementation... + */ + +# include +# include + + +/* + * Types and structures... + */ + +struct _cups_dir_s /**** Directory data structure ****/ +{ + char directory[1024]; /* Directory filename */ + DIR *dir; /* Directory file */ + cups_dentry_t entry; /* Directory entry */ +}; + + +/* + * 'cupsDirClose()' - Close a directory. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void +cupsDirClose(cups_dir_t *dp) /* I - Directory pointer */ +{ + DEBUG_printf(("cupsDirClose(dp=%p)", (void *)dp)); + + /* + * Range check input... + */ + + if (!dp) + return; + + /* + * Close the directory and free memory... + */ + + closedir(dp->dir); + free(dp); +} + + +/* + * 'cupsDirOpen()' - Open a directory. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +cups_dir_t * /* O - Directory pointer or @code NULL@ if the directory could not be opened. */ +cupsDirOpen(const char *directory) /* I - Directory name */ +{ + cups_dir_t *dp; /* Directory */ + + + DEBUG_printf(("cupsDirOpen(directory=\"%s\")", directory)); + + /* + * Range check input... + */ + + if (!directory) + return (NULL); + + /* + * Allocate memory for the directory structure... + */ + + dp = (cups_dir_t *)calloc(1, sizeof(cups_dir_t)); + if (!dp) + return (NULL); + + /* + * Open the directory... + */ + + dp->dir = opendir(directory); + if (!dp->dir) + { + free(dp); + return (NULL); + } + + /* + * Copy the directory name for later use... + */ + + strlcpy(dp->directory, directory, sizeof(dp->directory)); + + /* + * Return the new directory structure... + */ + + return (dp); +} + + +/* + * 'cupsDirRead()' - Read the next directory entry. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +cups_dentry_t * /* O - Directory entry or @code NULL@ when there are no more */ +cupsDirRead(cups_dir_t *dp) /* I - Directory pointer */ +{ + struct dirent *entry; /* Pointer to entry */ + char filename[1024]; /* Full filename */ + + + DEBUG_printf(("2cupsDirRead(dp=%p)", (void *)dp)); + + /* + * Range check input... + */ + + if (!dp) + return (NULL); + + /* + * Try reading an entry that is not "." or ".."... + */ + + for (;;) + { + /* + * Read the next entry... + */ + + if ((entry = readdir(dp->dir)) == NULL) + { + DEBUG_puts("3cupsDirRead: readdir() returned a NULL pointer!"); + return (NULL); + } + + DEBUG_printf(("4cupsDirRead: readdir() returned \"%s\"...", entry->d_name)); + + /* + * Skip "." and ".."... + */ + + if (!strcmp(entry->d_name, ".") || !strcmp(entry->d_name, "..")) + continue; + + /* + * Copy the name over and get the file information... + */ + + strlcpy(dp->entry.filename, entry->d_name, sizeof(dp->entry.filename)); + + snprintf(filename, sizeof(filename), "%s/%s", dp->directory, entry->d_name); + + if (stat(filename, &(dp->entry.fileinfo))) + { + DEBUG_printf(("3cupsDirRead: stat() failed for \"%s\" - %s...", filename, + strerror(errno))); + continue; + } + + /* + * Return the entry... + */ + + return (&(dp->entry)); + } +} + + +/* + * 'cupsDirRewind()' - Rewind to the start of the directory. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void +cupsDirRewind(cups_dir_t *dp) /* I - Directory pointer */ +{ + DEBUG_printf(("cupsDirRewind(dp=%p)", (void *)dp)); + + /* + * Range check input... + */ + + if (!dp) + return; + + /* + * Rewind the directory... + */ + + rewinddir(dp->dir); +} +#endif /* _WIN32 */ diff --git a/cups/dir.h b/cups/dir.h new file mode 100644 index 0000000..f6878cb --- /dev/null +++ b/cups/dir.h @@ -0,0 +1,59 @@ +/* + * Public directory definitions for CUPS. + * + * This set of APIs abstracts enumeration of directory entries. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_DIR_H_ +# define _CUPS_DIR_H_ + + +/* + * Include necessary headers... + */ + +# include "versioning.h" +# include + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Data types... + */ + +typedef struct _cups_dir_s cups_dir_t; /**** Directory type ****/ + +typedef struct cups_dentry_s /**** Directory entry type ****/ +{ + char filename[260]; /* File name */ + struct stat fileinfo; /* File information */ +} cups_dentry_t; + + +/* + * Prototypes... + */ + +extern void cupsDirClose(cups_dir_t *dp) _CUPS_API_1_2; +extern cups_dir_t *cupsDirOpen(const char *directory) _CUPS_API_1_2; +extern cups_dentry_t *cupsDirRead(cups_dir_t *dp) _CUPS_API_1_2; +extern void cupsDirRewind(cups_dir_t *dp) _CUPS_API_1_2; + + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_DIR_H_ */ diff --git a/cups/encode.c b/cups/encode.c new file mode 100644 index 0000000..5bcbf6f --- /dev/null +++ b/cups/encode.c @@ -0,0 +1,909 @@ +/* + * Option encoding routines for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" + + +/* + * Local list of option names, the value tags they should use, and the list of + * supported operations... + * + * **** THIS LIST MUST BE SORTED BY ATTRIBUTE NAME **** + */ + +static const ipp_op_t ipp_job_creation[] = +{ + IPP_OP_PRINT_JOB, + IPP_OP_PRINT_URI, + IPP_OP_VALIDATE_JOB, + IPP_OP_CREATE_JOB, + IPP_OP_HOLD_JOB, + IPP_OP_SET_JOB_ATTRIBUTES, + IPP_OP_CUPS_NONE +}; + +static const ipp_op_t ipp_doc_creation[] = +{ + IPP_OP_PRINT_JOB, + IPP_OP_PRINT_URI, + IPP_OP_SEND_DOCUMENT, + IPP_OP_SEND_URI, + IPP_OP_SET_JOB_ATTRIBUTES, + IPP_OP_SET_DOCUMENT_ATTRIBUTES, + IPP_OP_CUPS_NONE +}; + +static const ipp_op_t ipp_sub_creation[] = +{ + IPP_OP_PRINT_JOB, + IPP_OP_PRINT_URI, + IPP_OP_CREATE_JOB, + IPP_OP_CREATE_PRINTER_SUBSCRIPTIONS, + IPP_OP_CREATE_JOB_SUBSCRIPTIONS, + IPP_OP_CUPS_NONE +}; + +static const ipp_op_t ipp_all_print[] = +{ + IPP_OP_PRINT_JOB, + IPP_OP_PRINT_URI, + IPP_OP_VALIDATE_JOB, + IPP_OP_CREATE_JOB, + IPP_OP_SEND_DOCUMENT, + IPP_OP_SEND_URI, + IPP_OP_CUPS_NONE +}; + +static const ipp_op_t ipp_set_printer[] = +{ + IPP_OP_SET_PRINTER_ATTRIBUTES, + IPP_OP_CUPS_ADD_MODIFY_PRINTER, + IPP_OP_CUPS_ADD_MODIFY_CLASS, + IPP_OP_CUPS_NONE +}; + +static const ipp_op_t cups_schemes[] = +{ + IPP_OP_CUPS_GET_DEVICES, + IPP_OP_CUPS_GET_PPDS, + IPP_OP_CUPS_NONE +}; + +static const ipp_op_t cups_get_ppds[] = +{ + IPP_OP_CUPS_GET_PPDS, + IPP_OP_CUPS_NONE +}; + +static const ipp_op_t cups_ppd_name[] = +{ + IPP_OP_CUPS_ADD_MODIFY_PRINTER, + IPP_OP_CUPS_GET_PPD, + IPP_OP_CUPS_NONE +}; + +static const _ipp_option_t ipp_options[] = +{ + { 1, "auth-info", IPP_TAG_TEXT, IPP_TAG_JOB }, + { 1, "auth-info-default", IPP_TAG_TEXT, IPP_TAG_PRINTER }, + { 1, "auth-info-required", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 0, "blackplot", IPP_TAG_BOOLEAN, IPP_TAG_JOB }, + { 0, "blackplot-default", IPP_TAG_BOOLEAN, IPP_TAG_PRINTER }, + { 0, "brightness", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "brightness-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "columns", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "columns-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "compression", IPP_TAG_KEYWORD, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + ipp_doc_creation }, + { 0, "copies", IPP_TAG_INTEGER, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "copies-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "date-time-at-completed",IPP_TAG_DATE, IPP_TAG_ZERO }, /* never send as option */ + { 0, "date-time-at-creation", IPP_TAG_DATE, IPP_TAG_ZERO }, /* never send as option */ + { 0, "date-time-at-processing",IPP_TAG_DATE, IPP_TAG_ZERO }, /* never send as option */ + { 0, "device-uri", IPP_TAG_URI, IPP_TAG_PRINTER }, + { 1, "document-copies", IPP_TAG_RANGE, IPP_TAG_JOB, + IPP_TAG_DOCUMENT, + ipp_doc_creation }, + { 0, "document-format", IPP_TAG_MIMETYPE, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + ipp_doc_creation }, + { 0, "document-format-default", IPP_TAG_MIMETYPE, IPP_TAG_PRINTER }, + { 1, "document-numbers", IPP_TAG_RANGE, IPP_TAG_JOB, + IPP_TAG_DOCUMENT, + ipp_all_print }, + { 1, "exclude-schemes", IPP_TAG_NAME, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + cups_schemes }, + { 1, "finishings", IPP_TAG_ENUM, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 1, "finishings-col", IPP_TAG_BEGIN_COLLECTION, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 1, "finishings-col-default", IPP_TAG_BEGIN_COLLECTION, IPP_TAG_PRINTER }, + { 1, "finishings-default", IPP_TAG_ENUM, IPP_TAG_PRINTER }, + { 0, "fit-to-page", IPP_TAG_BOOLEAN, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "fit-to-page-default", IPP_TAG_BOOLEAN, IPP_TAG_PRINTER }, + { 0, "fitplot", IPP_TAG_BOOLEAN, IPP_TAG_JOB }, + { 0, "fitplot-default", IPP_TAG_BOOLEAN, IPP_TAG_PRINTER }, + { 0, "gamma", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "gamma-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "hue", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "hue-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 1, "include-schemes", IPP_TAG_NAME, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + cups_schemes }, + { 0, "ipp-attribute-fidelity", IPP_TAG_BOOLEAN, IPP_TAG_OPERATION }, + { 0, "job-account-id", IPP_TAG_NAME, IPP_TAG_JOB }, + { 0, "job-account-id-default",IPP_TAG_NAME, IPP_TAG_PRINTER }, + { 0, "job-accounting-user-id", IPP_TAG_NAME, IPP_TAG_JOB }, + { 0, "job-accounting-user-id-default", IPP_TAG_NAME, IPP_TAG_PRINTER }, + { 0, "job-authorization-uri", IPP_TAG_URI, IPP_TAG_OPERATION }, + { 0, "job-cancel-after", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "job-cancel-after-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "job-hold-until", IPP_TAG_KEYWORD, IPP_TAG_JOB }, + { 0, "job-hold-until-default", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 0, "job-id", IPP_TAG_INTEGER, IPP_TAG_ZERO }, /* never send as option */ + { 0, "job-impressions", IPP_TAG_INTEGER, IPP_TAG_OPERATION }, + { 0, "job-impressions-completed", IPP_TAG_INTEGER, IPP_TAG_ZERO }, /* never send as option */ + { 0, "job-k-limit", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "job-k-octets", IPP_TAG_INTEGER, IPP_TAG_OPERATION }, + { 0, "job-k-octets-completed",IPP_TAG_INTEGER, IPP_TAG_ZERO }, /* never send as option */ + { 0, "job-media-sheets", IPP_TAG_INTEGER, IPP_TAG_OPERATION }, + { 0, "job-media-sheets-completed", IPP_TAG_INTEGER, IPP_TAG_ZERO }, /* never send as option */ + { 0, "job-name", IPP_TAG_NAME, IPP_TAG_OPERATION, + IPP_TAG_JOB }, + { 0, "job-page-limit", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "job-pages", IPP_TAG_INTEGER, IPP_TAG_OPERATION }, + { 0, "job-pages-completed", IPP_TAG_INTEGER, IPP_TAG_ZERO }, /* never send as option */ + { 0, "job-password", IPP_TAG_STRING, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + ipp_job_creation }, + { 0, "job-password-encryption", IPP_TAG_KEYWORD, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + ipp_job_creation }, + { 0, "job-priority", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "job-priority-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "job-quota-period", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 1, "job-sheets", IPP_TAG_NAME, IPP_TAG_JOB }, + { 1, "job-sheets-default", IPP_TAG_NAME, IPP_TAG_PRINTER }, + { 0, "job-state", IPP_TAG_ENUM, IPP_TAG_ZERO }, /* never send as option */ + { 0, "job-state-message", IPP_TAG_TEXT, IPP_TAG_ZERO }, /* never send as option */ + { 0, "job-state-reasons", IPP_TAG_KEYWORD, IPP_TAG_ZERO }, /* never send as option */ + { 0, "job-uuid", IPP_TAG_URI, IPP_TAG_JOB }, + { 0, "landscape", IPP_TAG_BOOLEAN, IPP_TAG_JOB }, + { 1, "marker-change-time", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 1, "marker-colors", IPP_TAG_NAME, IPP_TAG_PRINTER }, + { 1, "marker-high-levels", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 1, "marker-levels", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 1, "marker-low-levels", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "marker-message", IPP_TAG_TEXT, IPP_TAG_PRINTER }, + { 1, "marker-names", IPP_TAG_NAME, IPP_TAG_PRINTER }, + { 1, "marker-types", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 1, "media", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "media-bottom-margin", IPP_TAG_INTEGER, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "media-col", IPP_TAG_BEGIN_COLLECTION, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "media-col-default", IPP_TAG_BEGIN_COLLECTION, IPP_TAG_PRINTER }, + { 0, "media-color", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 1, "media-default", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 0, "media-key", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "media-left-margin", IPP_TAG_INTEGER, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "media-right-margin", IPP_TAG_INTEGER, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "media-size", IPP_TAG_BEGIN_COLLECTION, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "media-size-name", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "media-source", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "media-top-margin", IPP_TAG_INTEGER, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "media-type", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "mirror", IPP_TAG_BOOLEAN, IPP_TAG_JOB }, + { 0, "mirror-default", IPP_TAG_BOOLEAN, IPP_TAG_PRINTER }, + { 0, "multiple-document-handling", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "multiple-document-handling-default", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 0, "natural-scaling", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "natural-scaling-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "notify-charset", IPP_TAG_CHARSET, IPP_TAG_SUBSCRIPTION }, + { 1, "notify-events", IPP_TAG_KEYWORD, IPP_TAG_SUBSCRIPTION }, + { 1, "notify-events-default", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 0, "notify-lease-duration", IPP_TAG_INTEGER, IPP_TAG_SUBSCRIPTION }, + { 0, "notify-lease-duration-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "notify-natural-language", IPP_TAG_LANGUAGE, IPP_TAG_SUBSCRIPTION }, + { 0, "notify-pull-method", IPP_TAG_KEYWORD, IPP_TAG_SUBSCRIPTION }, + { 0, "notify-recipient-uri", IPP_TAG_URI, IPP_TAG_SUBSCRIPTION }, + { 0, "notify-time-interval", IPP_TAG_INTEGER, IPP_TAG_SUBSCRIPTION }, + { 0, "notify-user-data", IPP_TAG_STRING, IPP_TAG_SUBSCRIPTION }, + { 0, "number-up", IPP_TAG_INTEGER, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "number-up-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "number-up-layout", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "number-up-layout-default", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 0, "orientation-requested", IPP_TAG_ENUM, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "orientation-requested-default", IPP_TAG_ENUM, IPP_TAG_PRINTER }, + { 0, "output-bin", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "output-bin-default", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 1, "overrides", IPP_TAG_BEGIN_COLLECTION, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "page-bottom", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "page-bottom-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "page-delivery", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "page-delivery-default", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 0, "page-left", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "page-left-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 1, "page-ranges", IPP_TAG_RANGE, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "page-right", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "page-right-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "page-top", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "page-top-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 1, "pages", IPP_TAG_RANGE, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "penwidth", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "penwidth-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "port-monitor", IPP_TAG_NAME, IPP_TAG_PRINTER }, + { 0, "ppd-device-id", IPP_TAG_TEXT, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + cups_get_ppds }, + { 0, "ppd-make", IPP_TAG_TEXT, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + cups_get_ppds }, + { 0, "ppd-make-and-model", IPP_TAG_TEXT, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + cups_get_ppds }, + { 0, "ppd-model-number", IPP_TAG_INTEGER, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + cups_get_ppds }, + { 0, "ppd-name", IPP_TAG_NAME, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + cups_ppd_name }, + { 0, "ppd-natural-language", IPP_TAG_LANGUAGE, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + cups_get_ppds }, + { 0, "ppd-product", IPP_TAG_TEXT, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + cups_get_ppds }, + { 0, "ppd-psversion", IPP_TAG_TEXT, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + cups_get_ppds }, + { 0, "ppd-type", IPP_TAG_KEYWORD, IPP_TAG_OPERATION, + IPP_TAG_ZERO, + cups_get_ppds }, + { 0, "ppi", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "ppi-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "prettyprint", IPP_TAG_BOOLEAN, IPP_TAG_JOB }, + { 0, "prettyprint-default", IPP_TAG_BOOLEAN, IPP_TAG_PRINTER }, + { 0, "print-color-mode", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "print-color-mode-default", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 0, "print-content-optimize", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "print-content-optimize-default", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 0, "print-quality", IPP_TAG_ENUM, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "print-quality-default", IPP_TAG_ENUM, IPP_TAG_PRINTER }, + { 0, "print-rendering-intent", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "print-rendering-intent-default", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 0, "print-scaling", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "print-scaling-default", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 1, "printer-alert", IPP_TAG_STRING, IPP_TAG_PRINTER }, + { 1, "printer-alert-description", IPP_TAG_TEXT, IPP_TAG_PRINTER }, + { 1, "printer-commands", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 0, "printer-error-policy", IPP_TAG_NAME, IPP_TAG_PRINTER }, + { 1, "printer-finisher", IPP_TAG_STRING, IPP_TAG_PRINTER }, + { 1, "printer-finisher-description", IPP_TAG_TEXT, IPP_TAG_PRINTER }, + { 1, "printer-finisher-supplies", IPP_TAG_STRING, IPP_TAG_PRINTER }, + { 1, "printer-finisher-supplies-description", IPP_TAG_TEXT, IPP_TAG_PRINTER }, + { 0, "printer-geo-location", IPP_TAG_URI, IPP_TAG_PRINTER }, + { 0, "printer-info", IPP_TAG_TEXT, IPP_TAG_PRINTER }, + { 1, "printer-input-tray", IPP_TAG_STRING, IPP_TAG_PRINTER }, + { 0, "printer-is-accepting-jobs", IPP_TAG_BOOLEAN, IPP_TAG_PRINTER }, + { 0, "printer-is-shared", IPP_TAG_BOOLEAN, IPP_TAG_PRINTER }, + { 0, "printer-is-temporary", IPP_TAG_BOOLEAN, IPP_TAG_PRINTER }, + { 0, "printer-location", IPP_TAG_TEXT, IPP_TAG_PRINTER }, + { 0, "printer-make-and-model", IPP_TAG_TEXT, IPP_TAG_PRINTER }, + { 0, "printer-more-info", IPP_TAG_URI, IPP_TAG_PRINTER }, + { 0, "printer-op-policy", IPP_TAG_NAME, IPP_TAG_PRINTER }, + { 1, "printer-output-tray", IPP_TAG_STRING, IPP_TAG_PRINTER }, + { 0, "printer-resolution", IPP_TAG_RESOLUTION, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "printer-resolution-default", IPP_TAG_RESOLUTION, IPP_TAG_PRINTER }, + { 0, "printer-state", IPP_TAG_ENUM, IPP_TAG_PRINTER }, + { 0, "printer-state-change-time", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 1, "printer-state-reasons", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 1, "printer-supply", IPP_TAG_STRING, IPP_TAG_PRINTER }, + { 1, "printer-supply-description", IPP_TAG_TEXT, IPP_TAG_PRINTER }, + { 0, "printer-type", IPP_TAG_ENUM, IPP_TAG_PRINTER }, + { 0, "printer-uri", IPP_TAG_URI, IPP_TAG_OPERATION }, + { 1, "printer-uri-supported", IPP_TAG_URI, IPP_TAG_PRINTER }, + { 0, "queued-job-count", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "raw", IPP_TAG_MIMETYPE, IPP_TAG_OPERATION }, + { 1, "requested-attributes", IPP_TAG_NAME, IPP_TAG_OPERATION }, + { 1, "requesting-user-name-allowed", IPP_TAG_NAME, IPP_TAG_PRINTER }, + { 1, "requesting-user-name-denied", IPP_TAG_NAME, IPP_TAG_PRINTER }, + { 0, "resolution", IPP_TAG_RESOLUTION, IPP_TAG_JOB }, + { 0, "resolution-default", IPP_TAG_RESOLUTION, IPP_TAG_PRINTER }, + { 0, "saturation", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "saturation-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "scaling", IPP_TAG_INTEGER, IPP_TAG_JOB }, + { 0, "scaling-default", IPP_TAG_INTEGER, IPP_TAG_PRINTER }, + { 0, "sides", IPP_TAG_KEYWORD, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "sides-default", IPP_TAG_KEYWORD, IPP_TAG_PRINTER }, + { 0, "time-at-completed", IPP_TAG_INTEGER, IPP_TAG_ZERO }, /* never send as option */ + { 0, "time-at-creation", IPP_TAG_INTEGER, IPP_TAG_ZERO }, /* never send as option */ + { 0, "time-at-processing", IPP_TAG_INTEGER, IPP_TAG_ZERO }, /* never send as option */ + { 0, "wrap", IPP_TAG_BOOLEAN, IPP_TAG_JOB }, + { 0, "wrap-default", IPP_TAG_BOOLEAN, IPP_TAG_PRINTER }, + { 0, "x-dimension", IPP_TAG_INTEGER, IPP_TAG_JOB, + IPP_TAG_DOCUMENT }, + { 0, "y-dimension", IPP_TAG_INTEGER, IPP_TAG_JOB, + IPP_TAG_DOCUMENT } +}; + + +/* + * Local functions... + */ + +static int compare_ipp_options(_ipp_option_t *a, _ipp_option_t *b); + + +/* + * '_cupsEncodeOption()' - Encode a single option as an IPP attribute. + */ + +ipp_attribute_t * /* O - New attribute or @code NULL@ on error */ +_cupsEncodeOption( + ipp_t *ipp, /* I - IPP request/response/collection */ + ipp_tag_t group_tag, /* I - Group tag */ + _ipp_option_t *map, /* I - Option mapping, if any */ + const char *name, /* I - Attribute name */ + const char *value) /* I - Value */ +{ + int i, /* Looping var */ + count; /* Number of values */ + char *s, /* Pointer into option value */ + *val, /* Pointer to option value */ + *copy, /* Copy of option value */ + *sep, /* Option separator */ + quote; /* Quote character */ + ipp_attribute_t *attr; /* IPP attribute */ + ipp_tag_t value_tag; /* IPP value tag */ + ipp_t *collection; /* Collection value */ + int num_cols; /* Number of collection values */ + cups_option_t *cols; /* Collection values */ + + + DEBUG_printf(("_cupsEncodeOption(ipp=%p(%s), group=%s, map=%p, name=\"%s\", value=\"%s\")", (void *)ipp, ipp ? ippOpString(ippGetOperation(ipp)) : "", ippTagString(group_tag), (void *)map, name, value)); + + /* + * Figure out the attribute syntax for encoding... + */ + + if (!map) + map = _ippFindOption(name); + + if (map) + value_tag = map->value_tag; + else if (!_cups_strcasecmp(value, "true") || !_cups_strcasecmp(value, "false")) + value_tag = IPP_TAG_BOOLEAN; + else if (value[0] == '{') + value_tag = IPP_TAG_BEGIN_COLLECTION; + else + value_tag = IPP_TAG_NAME; + + /* + * Count the number of values... + */ + + if (map && map->multivalue) + { + for (count = 1, sep = (char *)value, quote = 0; *sep; sep ++) + { + if (*sep == quote) + quote = 0; + else if (!quote && (*sep == '\'' || *sep == '\"')) + { + /* + * Skip quoted option value... + */ + + quote = *sep; + } + else if (*sep == ',' && !quote) + count ++; + else if (*sep == '\\' && sep[1]) + sep ++; + } + } + else + count = 1; + + DEBUG_printf(("2_cupsEncodeOption: value_tag=%s, count=%d", ippTagString(value_tag), count)); + + /* + * Allocate memory for the attribute values... + */ + + if ((attr = ippAddStrings(ipp, group_tag, value_tag, name, count, NULL, NULL)) == NULL) + { + /* + * Ran out of memory! + */ + + DEBUG_puts("1_cupsEncodeOption: Ran out of memory for attributes."); + return (NULL); + } + + if (count > 1) + { + /* + * Make a copy of the value we can fiddle with... + */ + + if ((copy = strdup(value)) == NULL) + { + /* + * Ran out of memory! + */ + + DEBUG_puts("1_cupsEncodeOption: Ran out of memory for value copy."); + ippDeleteAttribute(ipp, attr); + return (NULL); + } + + val = copy; + } + else + { + /* + * Since we have a single value, use the value directly... + */ + + val = (char *)value; + copy = NULL; + } + + /* + * Scan the value string for values... + */ + + for (i = 0, sep = val; i < count; val = sep, i ++) + { + /* + * Find the end of this value and mark it if needed... + */ + + if (count > 1) + { + for (quote = 0; *sep; sep ++) + { + if (*sep == quote) + { + /* + * Finish quoted value... + */ + + quote = 0; + } + else if (!quote && (*sep == '\'' || *sep == '\"')) + { + /* + * Handle quoted option value... + */ + + quote = *sep; + } + else if (*sep == ',') + break; + else if (*sep == '\\' && sep[1]) + { + /* + * Skip quoted character... + */ + + memmove(sep, sep + 1, strlen(sep)); + } + } + + if (*sep == ',') + *sep++ = '\0'; + } + + /* + * Copy the option value(s) over as needed by the type... + */ + + switch (attr->value_tag) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + /* + * Integer/enumeration value... + */ + + ippSetInteger(ipp, &attr, i, (int)strtol(val, &s, 10)); + break; + + case IPP_TAG_BOOLEAN : + if (!_cups_strcasecmp(val, "true") || !_cups_strcasecmp(val, "on") || !_cups_strcasecmp(val, "yes")) + { + /* + * Boolean value - true... + */ + + ippSetBoolean(ipp, &attr, i, 1); + } + else + { + /* + * Boolean value - false... + */ + + ippSetBoolean(ipp, &attr, i, 0); + } + break; + + case IPP_TAG_RANGE : + { + /* + * Range... + */ + + int lower, upper; /* Lower and upper ranges... */ + + if (*val == '-') + { + lower = 1; + s = val; + } + else + lower = (int)strtol(val, &s, 10); + + if (*s == '-') + { + if (s[1]) + upper = (int)strtol(s + 1, NULL, 10); + else + upper = 2147483647; + } + else + upper = lower; + + ippSetRange(ipp, &attr, i, lower, upper); + } + break; + + case IPP_TAG_RESOLUTION : + { + /* + * Resolution... + */ + int xres, yres; /* Resolution values */ + ipp_res_t units; /* Resolution units */ + + xres = (int)strtol(val, &s, 10); + + if (*s == 'x') + yres = (int)strtol(s + 1, &s, 10); + else + yres = xres; + + if (!_cups_strcasecmp(s, "dpc") || !_cups_strcasecmp(s, "dpcm")) + units = IPP_RES_PER_CM; + else + units = IPP_RES_PER_INCH; + + ippSetResolution(ipp, &attr, i, units, xres, yres); + } + break; + + case IPP_TAG_STRING : + /* + * octetString + */ + + ippSetOctetString(ipp, &attr, i, val, (int)strlen(val)); + break; + + case IPP_TAG_BEGIN_COLLECTION : + /* + * Collection value + */ + + num_cols = cupsParseOptions(val, 0, &cols); + if ((collection = ippNew()) == NULL) + { + cupsFreeOptions(num_cols, cols); + + if (copy) + free(copy); + + ippDeleteAttribute(ipp, attr); + return (NULL); + } + + ippSetCollection(ipp, &attr, i, collection); + cupsEncodeOptions2(collection, num_cols, cols, IPP_TAG_JOB); + cupsFreeOptions(num_cols, cols); + break; + + default : + ippSetString(ipp, &attr, i, val); + break; + } + } + + if (copy) + free(copy); + + return (attr); +} + + +/* + * 'cupsEncodeOption()' - Encode a single option into an IPP attribute. + * + * @since CUPS 2.3/macOS 10.14@ + */ + +ipp_attribute_t * /* O - New attribute or @code NULL@ on error */ +cupsEncodeOption(ipp_t *ipp, /* I - IPP request/response */ + ipp_tag_t group_tag, /* I - Attribute group */ + const char *name, /* I - Option name */ + const char *value) /* I - Option string value */ +{ + return (_cupsEncodeOption(ipp, group_tag, _ippFindOption(name), name, value)); +} + + +/* + * 'cupsEncodeOptions()' - Encode printer options into IPP attributes. + * + * This function adds operation, job, and then subscription attributes, + * in that order. Use the @link cupsEncodeOptions2@ function to add attributes + * for a single group. + */ + +void +cupsEncodeOptions(ipp_t *ipp, /* I - IPP request/response */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + DEBUG_printf(("cupsEncodeOptions(%p, %d, %p)", (void *)ipp, num_options, (void *)options)); + + /* + * Add the options in the proper groups & order... + */ + + cupsEncodeOptions2(ipp, num_options, options, IPP_TAG_OPERATION); + cupsEncodeOptions2(ipp, num_options, options, IPP_TAG_JOB); + cupsEncodeOptions2(ipp, num_options, options, IPP_TAG_SUBSCRIPTION); +} + + +/* + * 'cupsEncodeOptions2()' - Encode printer options into IPP attributes for a group. + * + * This function only adds attributes for a single group. Call this + * function multiple times for each group, or use @link cupsEncodeOptions@ + * to add the standard groups. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void +cupsEncodeOptions2( + ipp_t *ipp, /* I - IPP request/response */ + int num_options, /* I - Number of options */ + cups_option_t *options, /* I - Options */ + ipp_tag_t group_tag) /* I - Group to encode */ +{ + int i; /* Looping var */ + char *val; /* Pointer to option value */ + cups_option_t *option; /* Current option */ + ipp_op_t op; /* Operation for this request */ + const ipp_op_t *ops; /* List of allowed operations */ + + + DEBUG_printf(("cupsEncodeOptions2(ipp=%p(%s), num_options=%d, options=%p, group_tag=%x)", (void *)ipp, ipp ? ippOpString(ippGetOperation(ipp)) : "", num_options, (void *)options, group_tag)); + + /* + * Range check input... + */ + + if (!ipp || num_options < 1 || !options) + return; + + /* + * Do special handling for the document-format/raw options... + */ + + op = ippGetOperation(ipp); + + if (group_tag == IPP_TAG_OPERATION && (op == IPP_OP_PRINT_JOB || op == IPP_OP_PRINT_URI || op == IPP_OP_SEND_DOCUMENT || op == IPP_OP_SEND_URI)) + { + /* + * Handle the document format stuff first... + */ + + if ((val = (char *)cupsGetOption("document-format", num_options, options)) != NULL) + ippAddString(ipp, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, "document-format", NULL, val); + else if (cupsGetOption("raw", num_options, options)) + ippAddString(ipp, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, "document-format", NULL, "application/vnd.cups-raw"); + else + ippAddString(ipp, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, "document-format", NULL, "application/octet-stream"); + } + + /* + * Then loop through the options... + */ + + for (i = num_options, option = options; i > 0; i --, option ++) + { + _ipp_option_t *match; /* Matching attribute */ + + /* + * Skip document format options that are handled above... + */ + + if (!_cups_strcasecmp(option->name, "raw") || !_cups_strcasecmp(option->name, "document-format") || !option->name[0]) + continue; + + /* + * Figure out the proper value and group tags for this option... + */ + + if ((match = _ippFindOption(option->name)) != NULL) + { + if (match->group_tag != group_tag && match->alt_group_tag != group_tag) + continue; + + if (match->operations) + ops = match->operations; + else if (group_tag == IPP_TAG_JOB) + ops = ipp_job_creation; + else if (group_tag == IPP_TAG_DOCUMENT) + ops = ipp_doc_creation; + else if (group_tag == IPP_TAG_SUBSCRIPTION) + ops = ipp_sub_creation; + else if (group_tag == IPP_TAG_PRINTER) + ops = ipp_set_printer; + else + { + DEBUG_printf(("2cupsEncodeOptions2: Skipping \"%s\".", option->name)); + continue; + } + } + else + { + int namelen; /* Length of name */ + + namelen = (int)strlen(option->name); + + if (namelen < 10 || (strcmp(option->name + namelen - 8, "-default") && strcmp(option->name + namelen - 10, "-supported"))) + { + if (group_tag != IPP_TAG_JOB && group_tag != IPP_TAG_DOCUMENT) + { + DEBUG_printf(("2cupsEncodeOptions2: Skipping \"%s\".", option->name)); + continue; + } + } + else if (group_tag != IPP_TAG_PRINTER) + { + DEBUG_printf(("2cupsEncodeOptions2: Skipping \"%s\".", option->name)); + continue; + } + + if (group_tag == IPP_TAG_JOB) + ops = ipp_job_creation; + else if (group_tag == IPP_TAG_DOCUMENT) + ops = ipp_doc_creation; + else + ops = ipp_set_printer; + } + + /* + * Verify that we send this attribute for this operation... + */ + + while (*ops != IPP_OP_CUPS_NONE) + if (op == *ops) + break; + else + ops ++; + + if (*ops == IPP_OP_CUPS_NONE && op != IPP_OP_CUPS_NONE) + { + DEBUG_printf(("2cupsEncodeOptions2: Skipping \"%s\".", option->name)); + continue; + } + + _cupsEncodeOption(ipp, group_tag, match, option->name, option->value); + } +} + + +#ifdef DEBUG +/* + * '_ippCheckOptions()' - Validate that the option array is sorted properly. + */ + +const char * /* O - First out-of-order option or NULL */ +_ippCheckOptions(void) +{ + int i; /* Looping var */ + + + for (i = 0; i < (int)(sizeof(ipp_options) / sizeof(ipp_options[0]) - 1); i ++) + if (strcmp(ipp_options[i].name, ipp_options[i + 1].name) >= 0) + return (ipp_options[i + 1].name); + + return (NULL); +} +#endif /* DEBUG */ + + +/* + * '_ippFindOption()' - Find the attribute information for an option. + */ + +_ipp_option_t * /* O - Attribute information */ +_ippFindOption(const char *name) /* I - Option/attribute name */ +{ + _ipp_option_t key; /* Search key */ + + + /* + * Lookup the proper value and group tags for this option... + */ + + key.name = name; + + return ((_ipp_option_t *)bsearch(&key, ipp_options, + sizeof(ipp_options) / sizeof(ipp_options[0]), + sizeof(ipp_options[0]), + (int (*)(const void *, const void *)) + compare_ipp_options)); +} + + +/* + * 'compare_ipp_options()' - Compare two IPP options. + */ + +static int /* O - Result of comparison */ +compare_ipp_options(_ipp_option_t *a, /* I - First option */ + _ipp_option_t *b) /* I - Second option */ +{ + return (strcmp(a->name, b->name)); +} diff --git a/cups/file-private.h b/cups/file-private.h new file mode 100644 index 0000000..bb6f213 --- /dev/null +++ b/cups/file-private.h @@ -0,0 +1,95 @@ +/* + * Private file definitions for CUPS. + * + * Since stdio files max out at 256 files on many systems, we have to + * write similar functions without this limit. At the same time, using + * our own file functions allows us to provide transparent support of + * different line endings, gzip'd print files, PPD files, etc. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_FILE_PRIVATE_H_ +# define _CUPS_FILE_PRIVATE_H_ + +/* + * Include necessary headers... + */ + +# include "cups-private.h" +# include +# include +# include +# include + +# ifdef _WIN32 +# include +# include +# endif /* _WIN32 */ + + +/* + * Some operating systems support large files via open flag O_LARGEFILE... + */ + +# ifndef O_LARGEFILE +# define O_LARGEFILE 0 +# endif /* !O_LARGEFILE */ + + +/* + * Some operating systems don't define O_BINARY, which is used by Microsoft + * and IBM to flag binary files... + */ + +# ifndef O_BINARY +# define O_BINARY 0 +# endif /* !O_BINARY */ + + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Types and structures... + */ + +typedef enum /**** _cupsFileCheck return values ****/ +{ + _CUPS_FILE_CHECK_OK = 0, /* Everything OK */ + _CUPS_FILE_CHECK_MISSING = 1, /* File is missing */ + _CUPS_FILE_CHECK_PERMISSIONS = 2, /* File (or parent dir) has bad perms */ + _CUPS_FILE_CHECK_WRONG_TYPE = 3, /* File has wrong type */ + _CUPS_FILE_CHECK_RELATIVE_PATH = 4 /* File contains a relative path */ +} _cups_fc_result_t; + +typedef enum /**** _cupsFileCheck file type values ****/ +{ + _CUPS_FILE_CHECK_FILE = 0, /* Check the file and parent directory */ + _CUPS_FILE_CHECK_PROGRAM = 1, /* Check the program and parent directory */ + _CUPS_FILE_CHECK_FILE_ONLY = 2, /* Check the file only */ + _CUPS_FILE_CHECK_DIRECTORY = 3 /* Check the directory */ +} _cups_fc_filetype_t; + +typedef void (*_cups_fc_func_t)(void *context, _cups_fc_result_t result, + const char *message); + +/* + * Prototypes... + */ + +extern _cups_fc_result_t _cupsFileCheck(const char *filename, _cups_fc_filetype_t filetype, int dorootchecks, _cups_fc_func_t cb, void *context) _CUPS_PRIVATE; +extern void _cupsFileCheckFilter(void *context, _cups_fc_result_t result, const char *message) _CUPS_PRIVATE; +extern int _cupsFilePeekAhead(cups_file_t *fp, int ch); + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_FILE_PRIVATE_H_ */ diff --git a/cups/file.c b/cups/file.c new file mode 100644 index 0000000..e6e1f5b --- /dev/null +++ b/cups/file.c @@ -0,0 +1,2801 @@ +/* + * File functions for CUPS. + * + * Since stdio files max out at 256 files on many systems, we have to + * write similar functions without this limit. At the same time, using + * our own file functions allows us to provide transparent support of + * different line endings, gzip'd print files, PPD files, etc. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "file-private.h" +#include "debug-internal.h" +#include +#include + +# ifdef HAVE_LIBZ +# include +# endif /* HAVE_LIBZ */ + + +/* + * Internal structures... + */ + +struct _cups_file_s /**** CUPS file structure... ****/ + +{ + int fd; /* File descriptor */ + char mode, /* Mode ('r' or 'w') */ + compressed, /* Compression used? */ + is_stdio, /* stdin/out/err? */ + eof, /* End of file? */ + buf[4096], /* Buffer */ + *ptr, /* Pointer into buffer */ + *end; /* End of buffer data */ + off_t pos, /* Position in file */ + bufpos; /* File position for start of buffer */ + +#ifdef HAVE_LIBZ + z_stream stream; /* (De)compression stream */ + Bytef cbuf[4096]; /* (De)compression buffer */ + uLong crc; /* (De)compression CRC */ +#endif /* HAVE_LIBZ */ + + char *printf_buffer; /* cupsFilePrintf buffer */ + size_t printf_size; /* Size of cupsFilePrintf buffer */ +}; + + +/* + * Local functions... + */ + +#ifdef HAVE_LIBZ +static ssize_t cups_compress(cups_file_t *fp, const char *buf, size_t bytes); +#endif /* HAVE_LIBZ */ +static ssize_t cups_fill(cups_file_t *fp); +static int cups_open(const char *filename, int mode); +static ssize_t cups_read(cups_file_t *fp, char *buf, size_t bytes); +static ssize_t cups_write(cups_file_t *fp, const char *buf, size_t bytes); + + +#ifndef _WIN32 +/* + * '_cupsFileCheck()' - Check the permissions of the given filename. + */ + +_cups_fc_result_t /* O - Check result */ +_cupsFileCheck( + const char *filename, /* I - Filename to check */ + _cups_fc_filetype_t filetype, /* I - Type of file checks? */ + int dorootchecks, /* I - Check for root permissions? */ + _cups_fc_func_t cb, /* I - Callback function */ + void *context) /* I - Context pointer for callback */ + +{ + struct stat fileinfo; /* File information */ + char message[1024], /* Message string */ + temp[1024], /* Parent directory filename */ + *ptr; /* Pointer into parent directory */ + _cups_fc_result_t result; /* Check result */ + + + /* + * Does the filename contain a relative path ("../")? + */ + + if (strstr(filename, "../")) + { + /* + * Yes, fail it! + */ + + result = _CUPS_FILE_CHECK_RELATIVE_PATH; + goto finishup; + } + + /* + * Does the program even exist and is it accessible? + */ + + if (stat(filename, &fileinfo)) + { + /* + * Nope... + */ + + result = _CUPS_FILE_CHECK_MISSING; + goto finishup; + } + + /* + * Check the execute bit... + */ + + result = _CUPS_FILE_CHECK_OK; + + switch (filetype) + { + case _CUPS_FILE_CHECK_DIRECTORY : + if (!S_ISDIR(fileinfo.st_mode)) + result = _CUPS_FILE_CHECK_WRONG_TYPE; + break; + + default : + if (!S_ISREG(fileinfo.st_mode)) + result = _CUPS_FILE_CHECK_WRONG_TYPE; + break; + } + + if (result) + goto finishup; + + /* + * Are we doing root checks? + */ + + if (!dorootchecks) + { + /* + * Nope, so anything (else) goes... + */ + + goto finishup; + } + + /* + * Verify permission of the file itself: + * + * 1. Must be owned by root + * 2. Must not be writable by group + * 3. Must not be setuid + * 4. Must not be writable by others + */ + + if (fileinfo.st_uid || /* 1. Must be owned by root */ + (fileinfo.st_mode & S_IWGRP) || /* 2. Must not be writable by group */ + (fileinfo.st_mode & S_ISUID) || /* 3. Must not be setuid */ + (fileinfo.st_mode & S_IWOTH)) /* 4. Must not be writable by others */ + { + result = _CUPS_FILE_CHECK_PERMISSIONS; + goto finishup; + } + + if (filetype == _CUPS_FILE_CHECK_DIRECTORY || + filetype == _CUPS_FILE_CHECK_FILE_ONLY) + goto finishup; + + /* + * Now check the containing directory... + */ + + strlcpy(temp, filename, sizeof(temp)); + if ((ptr = strrchr(temp, '/')) != NULL) + { + if (ptr == temp) + ptr[1] = '\0'; + else + *ptr = '\0'; + } + + if (stat(temp, &fileinfo)) + { + /* + * Doesn't exist?!? + */ + + result = _CUPS_FILE_CHECK_MISSING; + filetype = _CUPS_FILE_CHECK_DIRECTORY; + filename = temp; + + goto finishup; + } + + if (fileinfo.st_uid || /* 1. Must be owned by root */ + (fileinfo.st_mode & S_IWGRP) || /* 2. Must not be writable by group */ + (fileinfo.st_mode & S_ISUID) || /* 3. Must not be setuid */ + (fileinfo.st_mode & S_IWOTH)) /* 4. Must not be writable by others */ + { + result = _CUPS_FILE_CHECK_PERMISSIONS; + filetype = _CUPS_FILE_CHECK_DIRECTORY; + filename = temp; + } + + /* + * Common return point... + */ + + finishup: + + if (cb) + { + cups_lang_t *lang = cupsLangDefault(); + /* Localization information */ + + switch (result) + { + case _CUPS_FILE_CHECK_OK : + if (filetype == _CUPS_FILE_CHECK_DIRECTORY) + snprintf(message, sizeof(message), + _cupsLangString(lang, _("Directory \"%s\" permissions OK " + "(0%o/uid=%d/gid=%d).")), + filename, fileinfo.st_mode, (int)fileinfo.st_uid, + (int)fileinfo.st_gid); + else + snprintf(message, sizeof(message), + _cupsLangString(lang, _("File \"%s\" permissions OK " + "(0%o/uid=%d/gid=%d).")), + filename, fileinfo.st_mode, (int)fileinfo.st_uid, + (int)fileinfo.st_gid); + break; + + case _CUPS_FILE_CHECK_MISSING : + if (filetype == _CUPS_FILE_CHECK_DIRECTORY) + snprintf(message, sizeof(message), + _cupsLangString(lang, _("Directory \"%s\" not available: " + "%s")), + filename, strerror(errno)); + else + snprintf(message, sizeof(message), + _cupsLangString(lang, _("File \"%s\" not available: %s")), + filename, strerror(errno)); + break; + + case _CUPS_FILE_CHECK_PERMISSIONS : + if (filetype == _CUPS_FILE_CHECK_DIRECTORY) + snprintf(message, sizeof(message), + _cupsLangString(lang, _("Directory \"%s\" has insecure " + "permissions " + "(0%o/uid=%d/gid=%d).")), + filename, fileinfo.st_mode, (int)fileinfo.st_uid, + (int)fileinfo.st_gid); + else + snprintf(message, sizeof(message), + _cupsLangString(lang, _("File \"%s\" has insecure " + "permissions " + "(0%o/uid=%d/gid=%d).")), + filename, fileinfo.st_mode, (int)fileinfo.st_uid, + (int)fileinfo.st_gid); + break; + + case _CUPS_FILE_CHECK_WRONG_TYPE : + if (filetype == _CUPS_FILE_CHECK_DIRECTORY) + snprintf(message, sizeof(message), + _cupsLangString(lang, _("Directory \"%s\" is a file.")), + filename); + else + snprintf(message, sizeof(message), + _cupsLangString(lang, _("File \"%s\" is a directory.")), + filename); + break; + + case _CUPS_FILE_CHECK_RELATIVE_PATH : + if (filetype == _CUPS_FILE_CHECK_DIRECTORY) + snprintf(message, sizeof(message), + _cupsLangString(lang, _("Directory \"%s\" contains a " + "relative path.")), filename); + else + snprintf(message, sizeof(message), + _cupsLangString(lang, _("File \"%s\" contains a relative " + "path.")), filename); + break; + } + + (*cb)(context, result, message); + } + + return (result); +} + + +/* + * '_cupsFileCheckFilter()' - Report file check results as CUPS filter messages. + */ + +void +_cupsFileCheckFilter( + void *context, /* I - Context pointer (unused) */ + _cups_fc_result_t result, /* I - Result code */ + const char *message) /* I - Message text */ +{ + const char *prefix; /* Messaging prefix */ + + + (void)context; + + switch (result) + { + default : + case _CUPS_FILE_CHECK_OK : + prefix = "DEBUG2"; + break; + + case _CUPS_FILE_CHECK_MISSING : + case _CUPS_FILE_CHECK_WRONG_TYPE : + prefix = "ERROR"; + fputs("STATE: +cups-missing-filter-warning\n", stderr); + break; + + case _CUPS_FILE_CHECK_PERMISSIONS : + case _CUPS_FILE_CHECK_RELATIVE_PATH : + prefix = "ERROR"; + fputs("STATE: +cups-insecure-filter-warning\n", stderr); + break; + } + + fprintf(stderr, "%s: %s\n", prefix, message); +} +#endif /* !_WIN32 */ + + +/* + * 'cupsFileClose()' - Close a CUPS file. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 0 on success, -1 on error */ +cupsFileClose(cups_file_t *fp) /* I - CUPS file */ +{ + int fd; /* File descriptor */ + char mode; /* Open mode */ + int status; /* Return status */ + + + DEBUG_printf(("cupsFileClose(fp=%p)", (void *)fp)); + + /* + * Range check... + */ + + if (!fp) + return (-1); + + /* + * Flush pending write data... + */ + + if (fp->mode == 'w') + status = cupsFileFlush(fp); + else + status = 0; + +#ifdef HAVE_LIBZ + if (fp->compressed && status >= 0) + { + if (fp->mode == 'r') + { + /* + * Free decompression data... + */ + + inflateEnd(&fp->stream); + } + else + { + /* + * Flush any remaining compressed data... + */ + + unsigned char trailer[8]; /* Trailer CRC and length */ + int done; /* Done writing... */ + + + fp->stream.avail_in = 0; + + for (done = 0;;) + { + if (fp->stream.next_out > fp->cbuf) + { + if (cups_write(fp, (char *)fp->cbuf, + (size_t)(fp->stream.next_out - fp->cbuf)) < 0) + status = -1; + + fp->stream.next_out = fp->cbuf; + fp->stream.avail_out = sizeof(fp->cbuf); + } + + if (done || status < 0) + break; + + done = deflate(&fp->stream, Z_FINISH) == Z_STREAM_END && + fp->stream.next_out == fp->cbuf; + } + + /* + * Write the CRC and length... + */ + + trailer[0] = (unsigned char)fp->crc; + trailer[1] = (unsigned char)(fp->crc >> 8); + trailer[2] = (unsigned char)(fp->crc >> 16); + trailer[3] = (unsigned char)(fp->crc >> 24); + trailer[4] = (unsigned char)fp->pos; + trailer[5] = (unsigned char)(fp->pos >> 8); + trailer[6] = (unsigned char)(fp->pos >> 16); + trailer[7] = (unsigned char)(fp->pos >> 24); + + if (cups_write(fp, (char *)trailer, 8) < 0) + status = -1; + + /* + * Free all memory used by the compression stream... + */ + + deflateEnd(&(fp->stream)); + } + } +#endif /* HAVE_LIBZ */ + + /* + * If this is one of the cupsFileStdin/out/err files, return now and don't + * actually free memory or close (these last the life of the process...) + */ + + if (fp->is_stdio) + return (status); + +/* + * Save the file descriptor we used and free memory... + */ + + fd = fp->fd; + mode = fp->mode; + + if (fp->printf_buffer) + free(fp->printf_buffer); + + free(fp); + + /* + * Close the file, returning the close status... + */ + + if (mode == 's') + { + if (httpAddrClose(NULL, fd) < 0) + status = -1; + } + else if (close(fd) < 0) + status = -1; + + return (status); +} + + +/* + * 'cupsFileCompression()' - Return whether a file is compressed. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - @code CUPS_FILE_NONE@ or @code CUPS_FILE_GZIP@ */ +cupsFileCompression(cups_file_t *fp) /* I - CUPS file */ +{ + return (fp ? fp->compressed : CUPS_FILE_NONE); +} + + +/* + * 'cupsFileEOF()' - Return the end-of-file status. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 1 on end of file, 0 otherwise */ +cupsFileEOF(cups_file_t *fp) /* I - CUPS file */ +{ + return (fp ? fp->eof : 1); +} + + +/* + * 'cupsFileFind()' - Find a file using the specified path. + * + * This function allows the paths in the path string to be separated by + * colons (UNIX standard) or semicolons (Windows standard) and stores the + * result in the buffer supplied. If the file cannot be found in any of + * the supplied paths, @code NULL@ is returned. A @code NULL@ path only + * matches the current directory. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +const char * /* O - Full path to file or @code NULL@ if not found */ +cupsFileFind(const char *filename, /* I - File to find */ + const char *path, /* I - Colon/semicolon-separated path */ + int executable, /* I - 1 = executable files, 0 = any file/dir */ + char *buffer, /* I - Filename buffer */ + int bufsize) /* I - Size of filename buffer */ +{ + char *bufptr, /* Current position in buffer */ + *bufend; /* End of buffer */ + + + /* + * Range check input... + */ + + DEBUG_printf(("cupsFileFind(filename=\"%s\", path=\"%s\", executable=%d, buffer=%p, bufsize=%d)", filename, path, executable, (void *)buffer, bufsize)); + + if (!filename || !buffer || bufsize < 2) + return (NULL); + + if (!path) + { + /* + * No path, so check current directory... + */ + + if (!access(filename, 0)) + { + strlcpy(buffer, filename, (size_t)bufsize); + return (buffer); + } + else + return (NULL); + } + + /* + * Now check each path and return the first match... + */ + + bufend = buffer + bufsize - 1; + bufptr = buffer; + + while (*path) + { +#ifdef _WIN32 + if (*path == ';' || (*path == ':' && ((bufptr - buffer) > 1 || !isalpha(buffer[0] & 255)))) +#else + if (*path == ';' || *path == ':') +#endif /* _WIN32 */ + { + if (bufptr > buffer && bufptr[-1] != '/' && bufptr < bufend) + *bufptr++ = '/'; + + strlcpy(bufptr, filename, (size_t)(bufend - bufptr)); + +#ifdef _WIN32 + if (!access(buffer, 0)) +#else + if (!access(buffer, executable ? X_OK : 0)) +#endif /* _WIN32 */ + { + DEBUG_printf(("1cupsFileFind: Returning \"%s\"", buffer)); + return (buffer); + } + + bufptr = buffer; + } + else if (bufptr < bufend) + *bufptr++ = *path; + + path ++; + } + + /* + * Check the last path... + */ + + if (bufptr > buffer && bufptr[-1] != '/' && bufptr < bufend) + *bufptr++ = '/'; + + strlcpy(bufptr, filename, (size_t)(bufend - bufptr)); + + if (!access(buffer, 0)) + { + DEBUG_printf(("1cupsFileFind: Returning \"%s\"", buffer)); + return (buffer); + } + else + { + DEBUG_puts("1cupsFileFind: Returning NULL"); + return (NULL); + } +} + + +/* + * 'cupsFileFlush()' - Flush pending output. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 0 on success, -1 on error */ +cupsFileFlush(cups_file_t *fp) /* I - CUPS file */ +{ + ssize_t bytes; /* Bytes to write */ + + + DEBUG_printf(("cupsFileFlush(fp=%p)", (void *)fp)); + + /* + * Range check input... + */ + + if (!fp || fp->mode != 'w') + { + DEBUG_puts("1cupsFileFlush: Attempt to flush a read-only file..."); + return (-1); + } + + bytes = (ssize_t)(fp->ptr - fp->buf); + + DEBUG_printf(("2cupsFileFlush: Flushing " CUPS_LLFMT " bytes...", + CUPS_LLCAST bytes)); + + if (bytes > 0) + { +#ifdef HAVE_LIBZ + if (fp->compressed) + bytes = cups_compress(fp, fp->buf, (size_t)bytes); + else +#endif /* HAVE_LIBZ */ + bytes = cups_write(fp, fp->buf, (size_t)bytes); + + if (bytes < 0) + return (-1); + + fp->ptr = fp->buf; + } + + return (0); +} + + +/* + * 'cupsFileGetChar()' - Get a single character from a file. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - Character or -1 on end of file */ +cupsFileGetChar(cups_file_t *fp) /* I - CUPS file */ +{ + /* + * Range check input... + */ + + DEBUG_printf(("4cupsFileGetChar(fp=%p)", (void *)fp)); + + if (!fp || (fp->mode != 'r' && fp->mode != 's')) + { + DEBUG_puts("5cupsFileGetChar: Bad arguments!"); + return (-1); + } + + if (fp->eof) + { + DEBUG_puts("5cupsFileGetChar: End-of-file!"); + return (-1); + } + + /* + * If the input buffer is empty, try to read more data... + */ + + DEBUG_printf(("5cupsFileGetChar: fp->eof=%d, fp->ptr=%p, fp->end=%p", fp->eof, (void *)fp->ptr, (void *)fp->end)); + + if (fp->ptr >= fp->end) + if (cups_fill(fp) <= 0) + { + DEBUG_puts("5cupsFileGetChar: Unable to fill buffer!"); + return (-1); + } + + /* + * Return the next character in the buffer... + */ + + DEBUG_printf(("5cupsFileGetChar: Returning %d...", *(fp->ptr) & 255)); + + fp->pos ++; + + DEBUG_printf(("6cupsFileGetChar: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + return (*(fp->ptr)++ & 255); +} + + +/* + * 'cupsFileGetConf()' - Get a line from a configuration file. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +char * /* O - Line read or @code NULL@ on end of file or error */ +cupsFileGetConf(cups_file_t *fp, /* I - CUPS file */ + char *buf, /* O - String buffer */ + size_t buflen, /* I - Size of string buffer */ + char **value, /* O - Pointer to value */ + int *linenum) /* IO - Current line number */ +{ + char *ptr; /* Pointer into line */ + + + /* + * Range check input... + */ + + DEBUG_printf(("2cupsFileGetConf(fp=%p, buf=%p, buflen=" CUPS_LLFMT + ", value=%p, linenum=%p)", (void *)fp, (void *)buf, CUPS_LLCAST buflen, (void *)value, (void *)linenum)); + + if (!fp || (fp->mode != 'r' && fp->mode != 's') || + !buf || buflen < 2 || !value) + { + if (value) + *value = NULL; + + return (NULL); + } + + /* + * Read the next non-comment line... + */ + + *value = NULL; + + while (cupsFileGets(fp, buf, buflen)) + { + (*linenum) ++; + + /* + * Strip any comments... + */ + + if ((ptr = strchr(buf, '#')) != NULL) + { + if (ptr > buf && ptr[-1] == '\\') + { + // Unquote the #... + _cups_strcpy(ptr - 1, ptr); + } + else + { + // Strip the comment and any trailing whitespace... + while (ptr > buf) + { + if (!_cups_isspace(ptr[-1])) + break; + + ptr --; + } + + *ptr = '\0'; + } + } + + /* + * Strip leading whitespace... + */ + + for (ptr = buf; _cups_isspace(*ptr); ptr ++); + + if (ptr > buf) + _cups_strcpy(buf, ptr); + + /* + * See if there is anything left... + */ + + if (buf[0]) + { + /* + * Yes, grab any value and return... + */ + + for (ptr = buf; *ptr; ptr ++) + if (_cups_isspace(*ptr)) + break; + + if (*ptr) + { + /* + * Have a value, skip any other spaces... + */ + + while (_cups_isspace(*ptr)) + *ptr++ = '\0'; + + if (*ptr) + *value = ptr; + + /* + * Strip trailing whitespace and > for lines that begin with <... + */ + + ptr += strlen(ptr) - 1; + + if (buf[0] == '<' && *ptr == '>') + *ptr-- = '\0'; + else if (buf[0] == '<' && *ptr != '>') + { + /* + * Syntax error... + */ + + *value = NULL; + return (buf); + } + + while (ptr > *value && _cups_isspace(*ptr)) + *ptr-- = '\0'; + } + + /* + * Return the line... + */ + + return (buf); + } + } + + return (NULL); +} + + +/* + * 'cupsFileGetLine()' - Get a CR and/or LF-terminated line that may + * contain binary data. + * + * This function differs from @link cupsFileGets@ in that the trailing CR + * and LF are preserved, as is any binary data on the line. The buffer is + * nul-terminated, however you should use the returned length to determine + * the number of bytes on the line. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +size_t /* O - Number of bytes on line or 0 on end of file */ +cupsFileGetLine(cups_file_t *fp, /* I - File to read from */ + char *buf, /* I - Buffer */ + size_t buflen) /* I - Size of buffer */ +{ + int ch; /* Character from file */ + char *ptr, /* Current position in line buffer */ + *end; /* End of line buffer */ + + + /* + * Range check input... + */ + + DEBUG_printf(("2cupsFileGetLine(fp=%p, buf=%p, buflen=" CUPS_LLFMT ")", (void *)fp, (void *)buf, CUPS_LLCAST buflen)); + + if (!fp || (fp->mode != 'r' && fp->mode != 's') || !buf || buflen < 3) + return (0); + + /* + * Now loop until we have a valid line... + */ + + for (ptr = buf, end = buf + buflen - 2; ptr < end ;) + { + if (fp->ptr >= fp->end) + if (cups_fill(fp) <= 0) + break; + + *ptr++ = ch = *(fp->ptr)++; + fp->pos ++; + + if (ch == '\r') + { + /* + * Check for CR LF... + */ + + if (fp->ptr >= fp->end) + if (cups_fill(fp) <= 0) + break; + + if (*(fp->ptr) == '\n') + { + *ptr++ = *(fp->ptr)++; + fp->pos ++; + } + + break; + } + else if (ch == '\n') + { + /* + * Line feed ends a line... + */ + + break; + } + } + + *ptr = '\0'; + + DEBUG_printf(("4cupsFileGetLine: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + return ((size_t)(ptr - buf)); +} + + +/* + * 'cupsFileGets()' - Get a CR and/or LF-terminated line. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +char * /* O - Line read or @code NULL@ on end of file or error */ +cupsFileGets(cups_file_t *fp, /* I - CUPS file */ + char *buf, /* O - String buffer */ + size_t buflen) /* I - Size of string buffer */ +{ + int ch; /* Character from file */ + char *ptr, /* Current position in line buffer */ + *end; /* End of line buffer */ + + + /* + * Range check input... + */ + + DEBUG_printf(("2cupsFileGets(fp=%p, buf=%p, buflen=" CUPS_LLFMT ")", (void *)fp, (void *)buf, CUPS_LLCAST buflen)); + + if (!fp || (fp->mode != 'r' && fp->mode != 's') || !buf || buflen < 2) + return (NULL); + + /* + * Now loop until we have a valid line... + */ + + for (ptr = buf, end = buf + buflen - 1; ptr < end ;) + { + if (fp->ptr >= fp->end) + if (cups_fill(fp) <= 0) + { + if (ptr == buf) + return (NULL); + else + break; + } + + ch = *(fp->ptr)++; + fp->pos ++; + + if (ch == '\r') + { + /* + * Check for CR LF... + */ + + if (fp->ptr >= fp->end) + if (cups_fill(fp) <= 0) + break; + + if (*(fp->ptr) == '\n') + { + fp->ptr ++; + fp->pos ++; + } + + break; + } + else if (ch == '\n') + { + /* + * Line feed ends a line... + */ + + break; + } + else + *ptr++ = (char)ch; + } + + *ptr = '\0'; + + DEBUG_printf(("4cupsFileGets: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + return (buf); +} + + +/* + * 'cupsFileLock()' - Temporarily lock access to a file. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 0 on success, -1 on error */ +cupsFileLock(cups_file_t *fp, /* I - CUPS file */ + int block) /* I - 1 to wait for the lock, 0 to fail right away */ +{ + /* + * Range check... + */ + + if (!fp || fp->mode == 's') + return (-1); + + /* + * Try the lock... + */ + +#ifdef _WIN32 + return (_locking(fp->fd, block ? _LK_LOCK : _LK_NBLCK, 0)); +#else + return (lockf(fp->fd, block ? F_LOCK : F_TLOCK, 0)); +#endif /* _WIN32 */ +} + + +/* + * 'cupsFileNumber()' - Return the file descriptor associated with a CUPS file. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - File descriptor */ +cupsFileNumber(cups_file_t *fp) /* I - CUPS file */ +{ + if (fp) + return (fp->fd); + else + return (-1); +} + + +/* + * 'cupsFileOpen()' - Open a CUPS file. + * + * The "mode" parameter can be "r" to read, "w" to write, overwriting any + * existing file, "a" to append to an existing file or create a new file, + * or "s" to open a socket connection. + * + * When opening for writing ("w"), an optional number from 1 to 9 can be + * supplied which enables Flate compression of the file. Compression is + * not supported for the "a" (append) mode. + * + * When opening a socket connection, the filename is a string of the form + * "address:port" or "hostname:port". The socket will make an IPv4 or IPv6 + * connection as needed, generally preferring IPv6 connections when there is + * a choice. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +cups_file_t * /* O - CUPS file or @code NULL@ if the file or socket cannot be opened */ +cupsFileOpen(const char *filename, /* I - Name of file */ + const char *mode) /* I - Open mode */ +{ + cups_file_t *fp; /* New CUPS file */ + int fd; /* File descriptor */ + char hostname[1024], /* Hostname */ + *portname; /* Port "name" (number or service) */ + http_addrlist_t *addrlist; /* Host address list */ + + + DEBUG_printf(("cupsFileOpen(filename=\"%s\", mode=\"%s\")", filename, + mode)); + + /* + * Range check input... + */ + + if (!filename || !mode || + (*mode != 'r' && *mode != 'w' && *mode != 'a' && *mode != 's') || + (*mode == 'a' && isdigit(mode[1] & 255))) + return (NULL); + + /* + * Open the file... + */ + + switch (*mode) + { + case 'a' : /* Append file */ + fd = cups_open(filename, + O_RDWR | O_CREAT | O_APPEND | O_LARGEFILE | O_BINARY); + break; + + case 'r' : /* Read file */ + fd = open(filename, O_RDONLY | O_LARGEFILE | O_BINARY, 0); + break; + + case 'w' : /* Write file */ + fd = cups_open(filename, O_WRONLY | O_LARGEFILE | O_BINARY); + if (fd < 0 && errno == ENOENT) + { + fd = cups_open(filename, + O_WRONLY | O_CREAT | O_EXCL | O_LARGEFILE | O_BINARY); + if (fd < 0 && errno == EEXIST) + fd = cups_open(filename, O_WRONLY | O_LARGEFILE | O_BINARY); + } + + if (fd >= 0) +#ifdef _WIN32 + _chsize(fd, 0); +#else + ftruncate(fd, 0); +#endif /* _WIN32 */ + break; + + case 's' : /* Read/write socket */ + strlcpy(hostname, filename, sizeof(hostname)); + if ((portname = strrchr(hostname, ':')) != NULL) + *portname++ = '\0'; + else + return (NULL); + + /* + * Lookup the hostname and service... + */ + + if ((addrlist = httpAddrGetList(hostname, AF_UNSPEC, portname)) == NULL) + return (NULL); + + /* + * Connect to the server... + */ + + if (!httpAddrConnect(addrlist, &fd)) + { + httpAddrFreeList(addrlist); + return (NULL); + } + + httpAddrFreeList(addrlist); + break; + + default : /* Remove bogus compiler warning... */ + return (NULL); + } + + if (fd < 0) + return (NULL); + + /* + * Create the CUPS file structure... + */ + + if ((fp = cupsFileOpenFd(fd, mode)) == NULL) + { + if (*mode == 's') + httpAddrClose(NULL, fd); + else + close(fd); + } + + /* + * Return it... + */ + + return (fp); +} + +/* + * 'cupsFileOpenFd()' - Open a CUPS file using a file descriptor. + * + * The "mode" parameter can be "r" to read, "w" to write, "a" to append, + * or "s" to treat the file descriptor as a bidirectional socket connection. + * + * When opening for writing ("w"), an optional number from 1 to 9 can be + * supplied which enables Flate compression of the file. Compression is + * not supported for the "a" (append) mode. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +cups_file_t * /* O - CUPS file or @code NULL@ if the file could not be opened */ +cupsFileOpenFd(int fd, /* I - File descriptor */ + const char *mode) /* I - Open mode */ +{ + cups_file_t *fp; /* New CUPS file */ + + + DEBUG_printf(("cupsFileOpenFd(fd=%d, mode=\"%s\")", fd, mode)); + + /* + * Range check input... + */ + + if (fd < 0 || !mode || + (*mode != 'r' && *mode != 'w' && *mode != 'a' && *mode != 's') || + (*mode == 'a' && isdigit(mode[1] & 255))) + return (NULL); + + /* + * Allocate memory... + */ + + if ((fp = calloc(1, sizeof(cups_file_t))) == NULL) + return (NULL); + + /* + * Open the file... + */ + + fp->fd = fd; + + switch (*mode) + { + case 'a' : + fp->pos = lseek(fd, 0, SEEK_END); + + case 'w' : + fp->mode = 'w'; + fp->ptr = fp->buf; + fp->end = fp->buf + sizeof(fp->buf); + +#ifdef HAVE_LIBZ + if (mode[1] >= '1' && mode[1] <= '9') + { + /* + * Open a compressed stream, so write the standard gzip file + * header... + */ + + unsigned char header[10]; /* gzip file header */ + time_t curtime; /* Current time */ + + + curtime = time(NULL); + header[0] = 0x1f; + header[1] = 0x8b; + header[2] = Z_DEFLATED; + header[3] = 0; + header[4] = (unsigned char)curtime; + header[5] = (unsigned char)(curtime >> 8); + header[6] = (unsigned char)(curtime >> 16); + header[7] = (unsigned char)(curtime >> 24); + header[8] = 0; + header[9] = 0x03; + + cups_write(fp, (char *)header, 10); + + /* + * Initialize the compressor... + */ + + deflateInit2(&(fp->stream), mode[1] - '0', Z_DEFLATED, -15, 8, + Z_DEFAULT_STRATEGY); + + fp->stream.next_out = fp->cbuf; + fp->stream.avail_out = sizeof(fp->cbuf); + fp->compressed = 1; + fp->crc = crc32(0L, Z_NULL, 0); + } +#endif /* HAVE_LIBZ */ + break; + + case 'r' : + fp->mode = 'r'; + break; + + case 's' : + fp->mode = 's'; + break; + + default : /* Remove bogus compiler warning... */ + return (NULL); + } + + /* + * Don't pass this file to child processes... + */ + +#ifndef _WIN32 + fcntl(fp->fd, F_SETFD, fcntl(fp->fd, F_GETFD) | FD_CLOEXEC); +#endif /* !_WIN32 */ + + return (fp); +} + + +/* + * '_cupsFilePeekAhead()' - See if the requested character is buffered up. + */ + +int /* O - 1 if present, 0 otherwise */ +_cupsFilePeekAhead(cups_file_t *fp, /* I - CUPS file */ + int ch) /* I - Character */ +{ + return (fp && fp->ptr && memchr(fp->ptr, ch, (size_t)(fp->end - fp->ptr))); +} + + +/* + * 'cupsFilePeekChar()' - Peek at the next character from a file. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - Character or -1 on end of file */ +cupsFilePeekChar(cups_file_t *fp) /* I - CUPS file */ +{ + /* + * Range check input... + */ + + if (!fp || (fp->mode != 'r' && fp->mode != 's')) + return (-1); + + /* + * If the input buffer is empty, try to read more data... + */ + + if (fp->ptr >= fp->end) + if (cups_fill(fp) <= 0) + return (-1); + + /* + * Return the next character in the buffer... + */ + + return (*(fp->ptr) & 255); +} + + +/* + * 'cupsFilePrintf()' - Write a formatted string. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - Number of bytes written or -1 on error */ +cupsFilePrintf(cups_file_t *fp, /* I - CUPS file */ + const char *format, /* I - Printf-style format string */ + ...) /* I - Additional args as necessary */ +{ + va_list ap; /* Argument list */ + ssize_t bytes; /* Formatted size */ + + + DEBUG_printf(("2cupsFilePrintf(fp=%p, format=\"%s\", ...)", (void *)fp, format)); + + if (!fp || !format || (fp->mode != 'w' && fp->mode != 's')) + return (-1); + + if (!fp->printf_buffer) + { + /* + * Start with an 1k printf buffer... + */ + + if ((fp->printf_buffer = malloc(1024)) == NULL) + return (-1); + + fp->printf_size = 1024; + } + + va_start(ap, format); + bytes = vsnprintf(fp->printf_buffer, fp->printf_size, format, ap); + va_end(ap); + + if (bytes >= (ssize_t)fp->printf_size) + { + /* + * Expand the printf buffer... + */ + + char *temp; /* Temporary buffer pointer */ + + + if (bytes > 65535) + return (-1); + + if ((temp = realloc(fp->printf_buffer, (size_t)(bytes + 1))) == NULL) + return (-1); + + fp->printf_buffer = temp; + fp->printf_size = (size_t)(bytes + 1); + + va_start(ap, format); + bytes = vsnprintf(fp->printf_buffer, fp->printf_size, format, ap); + va_end(ap); + } + + if (fp->mode == 's') + { + if (cups_write(fp, fp->printf_buffer, (size_t)bytes) < 0) + return (-1); + + fp->pos += bytes; + + DEBUG_printf(("4cupsFilePrintf: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + return ((int)bytes); + } + + if ((fp->ptr + bytes) > fp->end) + if (cupsFileFlush(fp)) + return (-1); + + fp->pos += bytes; + + DEBUG_printf(("4cupsFilePrintf: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + if ((size_t)bytes > sizeof(fp->buf)) + { +#ifdef HAVE_LIBZ + if (fp->compressed) + return ((int)cups_compress(fp, fp->printf_buffer, (size_t)bytes)); + else +#endif /* HAVE_LIBZ */ + return ((int)cups_write(fp, fp->printf_buffer, (size_t)bytes)); + } + else + { + memcpy(fp->ptr, fp->printf_buffer, (size_t)bytes); + fp->ptr += bytes; + + if (fp->is_stdio && cupsFileFlush(fp)) + return (-1); + else + return ((int)bytes); + } +} + + +/* + * 'cupsFilePutChar()' - Write a character. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 0 on success, -1 on error */ +cupsFilePutChar(cups_file_t *fp, /* I - CUPS file */ + int c) /* I - Character to write */ +{ + /* + * Range check input... + */ + + if (!fp || (fp->mode != 'w' && fp->mode != 's')) + return (-1); + + if (fp->mode == 's') + { + /* + * Send character immediately over socket... + */ + + char ch; /* Output character */ + + + ch = (char)c; + + if (send(fp->fd, &ch, 1, 0) < 1) + return (-1); + } + else + { + /* + * Buffer it up... + */ + + if (fp->ptr >= fp->end) + if (cupsFileFlush(fp)) + return (-1); + + *(fp->ptr) ++ = (char)c; + } + + fp->pos ++; + + DEBUG_printf(("4cupsFilePutChar: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + return (0); +} + + +/* + * 'cupsFilePutConf()' - Write a configuration line. + * + * This function handles any comment escaping of the value. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +ssize_t /* O - Number of bytes written or -1 on error */ +cupsFilePutConf(cups_file_t *fp, /* I - CUPS file */ + const char *directive, /* I - Directive */ + const char *value) /* I - Value */ +{ + ssize_t bytes, /* Number of bytes written */ + temp; /* Temporary byte count */ + const char *ptr; /* Pointer into value */ + + + if (!fp || !directive || !*directive) + return (-1); + + if ((bytes = cupsFilePuts(fp, directive)) < 0) + return (-1); + + if (cupsFilePutChar(fp, ' ') < 0) + return (-1); + bytes ++; + + if (value && *value) + { + if ((ptr = strchr(value, '#')) != NULL) + { + /* + * Need to quote the first # in the info string... + */ + + if ((temp = cupsFileWrite(fp, value, (size_t)(ptr - value))) < 0) + return (-1); + bytes += temp; + + if (cupsFilePutChar(fp, '\\') < 0) + return (-1); + bytes ++; + + if ((temp = cupsFilePuts(fp, ptr)) < 0) + return (-1); + bytes += temp; + } + else if ((temp = cupsFilePuts(fp, value)) < 0) + return (-1); + else + bytes += temp; + } + + if (cupsFilePutChar(fp, '\n') < 0) + return (-1); + else + return (bytes + 1); +} + + +/* + * 'cupsFilePuts()' - Write a string. + * + * Like the @code fputs@ function, no newline is appended to the string. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - Number of bytes written or -1 on error */ +cupsFilePuts(cups_file_t *fp, /* I - CUPS file */ + const char *s) /* I - String to write */ +{ + ssize_t bytes; /* Bytes to write */ + + + /* + * Range check input... + */ + + if (!fp || !s || (fp->mode != 'w' && fp->mode != 's')) + return (-1); + + /* + * Write the string... + */ + + bytes = (ssize_t)strlen(s); + + if (fp->mode == 's') + { + if (cups_write(fp, s, (size_t)bytes) < 0) + return (-1); + + fp->pos += bytes; + + DEBUG_printf(("4cupsFilePuts: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + return ((int)bytes); + } + + if ((fp->ptr + bytes) > fp->end) + if (cupsFileFlush(fp)) + return (-1); + + fp->pos += bytes; + + DEBUG_printf(("4cupsFilePuts: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + if ((size_t)bytes > sizeof(fp->buf)) + { +#ifdef HAVE_LIBZ + if (fp->compressed) + return ((int)cups_compress(fp, s, (size_t)bytes)); + else +#endif /* HAVE_LIBZ */ + return ((int)cups_write(fp, s, (size_t)bytes)); + } + else + { + memcpy(fp->ptr, s, (size_t)bytes); + fp->ptr += bytes; + + if (fp->is_stdio && cupsFileFlush(fp)) + return (-1); + else + return ((int)bytes); + } +} + + +/* + * 'cupsFileRead()' - Read from a file. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ssize_t /* O - Number of bytes read or -1 on error */ +cupsFileRead(cups_file_t *fp, /* I - CUPS file */ + char *buf, /* O - Buffer */ + size_t bytes) /* I - Number of bytes to read */ +{ + size_t total; /* Total bytes read */ + ssize_t count; /* Bytes read */ + + + DEBUG_printf(("2cupsFileRead(fp=%p, buf=%p, bytes=" CUPS_LLFMT ")", (void *)fp, (void *)buf, CUPS_LLCAST bytes)); + + /* + * Range check input... + */ + + if (!fp || !buf || (fp->mode != 'r' && fp->mode != 's')) + return (-1); + + if (bytes == 0) + return (0); + + if (fp->eof) + { + DEBUG_puts("5cupsFileRead: End-of-file!"); + return (-1); + } + + /* + * Loop until all bytes are read... + */ + + total = 0; + while (bytes > 0) + { + if (fp->ptr >= fp->end) + if (cups_fill(fp) <= 0) + { + DEBUG_printf(("4cupsFileRead: cups_fill() returned -1, total=" + CUPS_LLFMT, CUPS_LLCAST total)); + + if (total > 0) + return ((ssize_t)total); + else + return (-1); + } + + count = (ssize_t)(fp->end - fp->ptr); + if (count > (ssize_t)bytes) + count = (ssize_t)bytes; + + memcpy(buf, fp->ptr,(size_t) count); + fp->ptr += count; + fp->pos += count; + + DEBUG_printf(("4cupsFileRead: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + /* + * Update the counts for the last read... + */ + + bytes -= (size_t)count; + total += (size_t)count; + buf += count; + } + + /* + * Return the total number of bytes read... + */ + + DEBUG_printf(("3cupsFileRead: total=" CUPS_LLFMT, CUPS_LLCAST total)); + + return ((ssize_t)total); +} + + +/* + * 'cupsFileRewind()' - Set the current file position to the beginning of the + * file. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +off_t /* O - New file position or -1 on error */ +cupsFileRewind(cups_file_t *fp) /* I - CUPS file */ +{ + /* + * Range check input... + */ + + DEBUG_printf(("cupsFileRewind(fp=%p)", (void *)fp)); + DEBUG_printf(("2cupsFileRewind: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + if (!fp || fp->mode != 'r') + return (-1); + + /* + * Handle special cases... + */ + + if (fp->bufpos == 0) + { + /* + * No seeking necessary... + */ + + fp->pos = 0; + + if (fp->ptr) + { + fp->ptr = fp->buf; + fp->eof = 0; + } + + DEBUG_printf(("2cupsFileRewind: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + return (0); + } + + /* + * Otherwise, seek in the file and cleanup any compression buffers... + */ + +#ifdef HAVE_LIBZ + if (fp->compressed) + { + inflateEnd(&fp->stream); + fp->compressed = 0; + } +#endif /* HAVE_LIBZ */ + + if (lseek(fp->fd, 0, SEEK_SET)) + { + DEBUG_printf(("1cupsFileRewind: lseek failed: %s", strerror(errno))); + return (-1); + } + + fp->bufpos = 0; + fp->pos = 0; + fp->ptr = NULL; + fp->end = NULL; + fp->eof = 0; + + DEBUG_printf(("2cupsFileRewind: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + return (0); +} + + +/* + * 'cupsFileSeek()' - Seek in a file. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +off_t /* O - New file position or -1 on error */ +cupsFileSeek(cups_file_t *fp, /* I - CUPS file */ + off_t pos) /* I - Position in file */ +{ + ssize_t bytes; /* Number bytes in buffer */ + + + DEBUG_printf(("cupsFileSeek(fp=%p, pos=" CUPS_LLFMT ")", (void *)fp, CUPS_LLCAST pos)); + DEBUG_printf(("2cupsFileSeek: fp->pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + DEBUG_printf(("2cupsFileSeek: fp->ptr=%p, fp->end=%p", (void *)fp->ptr, (void *)fp->end)); + + /* + * Range check input... + */ + + if (!fp || pos < 0 || fp->mode != 'r') + return (-1); + + /* + * Handle special cases... + */ + + if (pos == 0) + return (cupsFileRewind(fp)); + + if (fp->ptr) + { + bytes = (ssize_t)(fp->end - fp->buf); + + DEBUG_printf(("2cupsFileSeek: bytes=" CUPS_LLFMT, CUPS_LLCAST bytes)); + + if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) + { + /* + * No seeking necessary... + */ + + fp->pos = pos; + fp->ptr = fp->buf + pos - fp->bufpos; + fp->eof = 0; + + return (pos); + } + } + +#ifdef HAVE_LIBZ + if (!fp->compressed && !fp->ptr) + { + /* + * Preload a buffer to determine whether the file is compressed... + */ + + if (cups_fill(fp) <= 0) + return (-1); + } +#endif /* HAVE_LIBZ */ + + /* + * Seek forwards or backwards... + */ + + fp->eof = 0; + + if (pos < fp->bufpos) + { + /* + * Need to seek backwards... + */ + + DEBUG_puts("2cupsFileSeek: SEEK BACKWARDS"); + +#ifdef HAVE_LIBZ + if (fp->compressed) + { + inflateEnd(&fp->stream); + + lseek(fp->fd, 0, SEEK_SET); + fp->bufpos = 0; + fp->pos = 0; + fp->ptr = NULL; + fp->end = NULL; + + while ((bytes = cups_fill(fp)) > 0) + if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) + break; + + if (bytes <= 0) + return (-1); + + fp->ptr = fp->buf + pos - fp->bufpos; + fp->pos = pos; + } + else +#endif /* HAVE_LIBZ */ + { + fp->bufpos = lseek(fp->fd, pos, SEEK_SET); + fp->pos = fp->bufpos; + fp->ptr = NULL; + fp->end = NULL; + + DEBUG_printf(("2cupsFileSeek: lseek() returned " CUPS_LLFMT, + CUPS_LLCAST fp->pos)); + } + } + else + { + /* + * Need to seek forwards... + */ + + DEBUG_puts("2cupsFileSeek: SEEK FORWARDS"); + +#ifdef HAVE_LIBZ + if (fp->compressed) + { + while ((bytes = cups_fill(fp)) > 0) + { + if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) + break; + } + + if (bytes <= 0) + return (-1); + + fp->ptr = fp->buf + pos - fp->bufpos; + fp->pos = pos; + } + else +#endif /* HAVE_LIBZ */ + { + fp->bufpos = lseek(fp->fd, pos, SEEK_SET); + fp->pos = fp->bufpos; + fp->ptr = NULL; + fp->end = NULL; + + DEBUG_printf(("2cupsFileSeek: lseek() returned " CUPS_LLFMT, + CUPS_LLCAST fp->pos)); + } + } + + DEBUG_printf(("2cupsFileSeek: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + return (fp->pos); +} + + +/* + * 'cupsFileStderr()' - Return a CUPS file associated with stderr. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +cups_file_t * /* O - CUPS file */ +cupsFileStderr(void) +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals... */ + + + /* + * Open file descriptor 2 as needed... + */ + + if (!cg->stdio_files[2]) + { + /* + * Flush any pending output on the stdio file... + */ + + fflush(stderr); + + /* + * Open file descriptor 2... + */ + + if ((cg->stdio_files[2] = cupsFileOpenFd(2, "w")) != NULL) + cg->stdio_files[2]->is_stdio = 1; + } + + return (cg->stdio_files[2]); +} + + +/* + * 'cupsFileStdin()' - Return a CUPS file associated with stdin. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +cups_file_t * /* O - CUPS file */ +cupsFileStdin(void) +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals... */ + + + /* + * Open file descriptor 0 as needed... + */ + + if (!cg->stdio_files[0]) + { + /* + * Open file descriptor 0... + */ + + if ((cg->stdio_files[0] = cupsFileOpenFd(0, "r")) != NULL) + cg->stdio_files[0]->is_stdio = 1; + } + + return (cg->stdio_files[0]); +} + + +/* + * 'cupsFileStdout()' - Return a CUPS file associated with stdout. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +cups_file_t * /* O - CUPS file */ +cupsFileStdout(void) +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals... */ + + + /* + * Open file descriptor 1 as needed... + */ + + if (!cg->stdio_files[1]) + { + /* + * Flush any pending output on the stdio file... + */ + + fflush(stdout); + + /* + * Open file descriptor 1... + */ + + if ((cg->stdio_files[1] = cupsFileOpenFd(1, "w")) != NULL) + cg->stdio_files[1]->is_stdio = 1; + } + + return (cg->stdio_files[1]); +} + + +/* + * 'cupsFileTell()' - Return the current file position. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +off_t /* O - File position */ +cupsFileTell(cups_file_t *fp) /* I - CUPS file */ +{ + DEBUG_printf(("2cupsFileTell(fp=%p)", (void *)fp)); + DEBUG_printf(("3cupsFileTell: pos=" CUPS_LLFMT, CUPS_LLCAST (fp ? fp->pos : -1))); + + return (fp ? fp->pos : 0); +} + + +/* + * 'cupsFileUnlock()' - Unlock access to a file. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 0 on success, -1 on error */ +cupsFileUnlock(cups_file_t *fp) /* I - CUPS file */ +{ + /* + * Range check... + */ + + DEBUG_printf(("cupsFileUnlock(fp=%p)", (void *)fp)); + + if (!fp || fp->mode == 's') + return (-1); + + /* + * Unlock... + */ + +#ifdef _WIN32 + return (_locking(fp->fd, _LK_UNLCK, 0)); +#else + return (lockf(fp->fd, F_ULOCK, 0)); +#endif /* _WIN32 */ +} + + +/* + * 'cupsFileWrite()' - Write to a file. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ssize_t /* O - Number of bytes written or -1 on error */ +cupsFileWrite(cups_file_t *fp, /* I - CUPS file */ + const char *buf, /* I - Buffer */ + size_t bytes) /* I - Number of bytes to write */ +{ + /* + * Range check input... + */ + + DEBUG_printf(("2cupsFileWrite(fp=%p, buf=%p, bytes=" CUPS_LLFMT ")", (void *)fp, (void *)buf, CUPS_LLCAST bytes)); + + if (!fp || !buf || (fp->mode != 'w' && fp->mode != 's')) + return (-1); + + if (bytes == 0) + return (0); + + /* + * Write the buffer... + */ + + if (fp->mode == 's') + { + if (cups_write(fp, buf, bytes) < 0) + return (-1); + + fp->pos += (off_t)bytes; + + DEBUG_printf(("4cupsFileWrite: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + return ((ssize_t)bytes); + } + + if ((fp->ptr + bytes) > fp->end) + if (cupsFileFlush(fp)) + return (-1); + + fp->pos += (off_t)bytes; + + DEBUG_printf(("4cupsFileWrite: pos=" CUPS_LLFMT, CUPS_LLCAST fp->pos)); + + if (bytes > sizeof(fp->buf)) + { +#ifdef HAVE_LIBZ + if (fp->compressed) + return (cups_compress(fp, buf, bytes)); + else +#endif /* HAVE_LIBZ */ + return (cups_write(fp, buf, bytes)); + } + else + { + memcpy(fp->ptr, buf, bytes); + fp->ptr += bytes; + return ((ssize_t)bytes); + } +} + + +#ifdef HAVE_LIBZ +/* + * 'cups_compress()' - Compress a buffer of data. + */ + +static ssize_t /* O - Number of bytes written or -1 */ +cups_compress(cups_file_t *fp, /* I - CUPS file */ + const char *buf, /* I - Buffer */ + size_t bytes) /* I - Number bytes */ +{ + DEBUG_printf(("7cups_compress(fp=%p, buf=%p, bytes=" CUPS_LLFMT ")", (void *)fp, (void *)buf, CUPS_LLCAST bytes)); + + /* + * Update the CRC... + */ + + fp->crc = crc32(fp->crc, (const Bytef *)buf, (uInt)bytes); + + /* + * Deflate the bytes... + */ + + fp->stream.next_in = (Bytef *)buf; + fp->stream.avail_in = (uInt)bytes; + + while (fp->stream.avail_in > 0) + { + /* + * Flush the current buffer... + */ + + DEBUG_printf(("9cups_compress: avail_in=%d, avail_out=%d", + fp->stream.avail_in, fp->stream.avail_out)); + + if (fp->stream.avail_out < (uInt)(sizeof(fp->cbuf) / 8)) + { + if (cups_write(fp, (char *)fp->cbuf, (size_t)(fp->stream.next_out - fp->cbuf)) < 0) + return (-1); + + fp->stream.next_out = fp->cbuf; + fp->stream.avail_out = sizeof(fp->cbuf); + } + + deflate(&(fp->stream), Z_NO_FLUSH); + } + + return ((ssize_t)bytes); +} +#endif /* HAVE_LIBZ */ + + +/* + * 'cups_fill()' - Fill the input buffer. + */ + +static ssize_t /* O - Number of bytes or -1 */ +cups_fill(cups_file_t *fp) /* I - CUPS file */ +{ + ssize_t bytes; /* Number of bytes read */ +#ifdef HAVE_LIBZ + int status; /* Decompression status */ + const unsigned char *ptr, /* Pointer into buffer */ + *end; /* End of buffer */ +#endif /* HAVE_LIBZ */ + + + DEBUG_printf(("7cups_fill(fp=%p)", (void *)fp)); + DEBUG_printf(("9cups_fill: fp->ptr=%p, fp->end=%p, fp->buf=%p, fp->bufpos=" CUPS_LLFMT ", fp->eof=%d", (void *)fp->ptr, (void *)fp->end, (void *)fp->buf, CUPS_LLCAST fp->bufpos, fp->eof)); + + if (fp->ptr && fp->end) + fp->bufpos += fp->end - fp->buf; + +#ifdef HAVE_LIBZ + DEBUG_printf(("9cups_fill: fp->compressed=%d", fp->compressed)); + + while (!fp->ptr || fp->compressed) + { + /* + * Check to see if we have read any data yet; if not, see if we have a + * compressed file... + */ + + if (!fp->ptr) + { + /* + * Reset the file position in case we are seeking... + */ + + fp->compressed = 0; + + /* + * Read the first bytes in the file to determine if we have a gzip'd + * file... + */ + + if ((bytes = cups_read(fp, (char *)fp->buf, sizeof(fp->buf))) < 0) + { + /* + * Can't read from file! + */ + + DEBUG_printf(("9cups_fill: cups_read() returned " CUPS_LLFMT, + CUPS_LLCAST bytes)); + + fp->eof = 1; + + return (-1); + } + + if (bytes < 10 || fp->buf[0] != 0x1f || + (fp->buf[1] & 255) != 0x8b || + fp->buf[2] != 8 || (fp->buf[3] & 0xe0) != 0) + { + /* + * Not a gzip'd file! + */ + + fp->ptr = fp->buf; + fp->end = fp->buf + bytes; + + DEBUG_printf(("9cups_fill: Returning " CUPS_LLFMT, + CUPS_LLCAST bytes)); + + return (bytes); + } + + /* + * Parse header junk: extra data, original name, and comment... + */ + + ptr = (unsigned char *)fp->buf + 10; + end = (unsigned char *)fp->buf + bytes; + + if (fp->buf[3] & 0x04) + { + /* + * Skip extra data... + */ + + if ((ptr + 2) > end) + { + /* + * Can't read from file! + */ + + DEBUG_puts("9cups_fill: Extra gzip header data missing, returning -1."); + + fp->eof = 1; + errno = EIO; + + return (-1); + } + + bytes = ((unsigned char)ptr[1] << 8) | (unsigned char)ptr[0]; + ptr += 2 + bytes; + + if (ptr > end) + { + /* + * Can't read from file! + */ + + DEBUG_puts("9cups_fill: Extra gzip header data does not fit in initial buffer, returning -1."); + + fp->eof = 1; + errno = EIO; + + return (-1); + } + } + + if (fp->buf[3] & 0x08) + { + /* + * Skip original name data... + */ + + while (ptr < end && *ptr) + ptr ++; + + if (ptr < end) + ptr ++; + else + { + /* + * Can't read from file! + */ + + DEBUG_puts("9cups_fill: Original filename in gzip header data does not fit in initial buffer, returning -1."); + + fp->eof = 1; + errno = EIO; + + return (-1); + } + } + + if (fp->buf[3] & 0x10) + { + /* + * Skip comment data... + */ + + while (ptr < end && *ptr) + ptr ++; + + if (ptr < end) + ptr ++; + else + { + /* + * Can't read from file! + */ + + DEBUG_puts("9cups_fill: Comment in gzip header data does not fit in initial buffer, returning -1."); + + fp->eof = 1; + errno = EIO; + + return (-1); + } + } + + if (fp->buf[3] & 0x02) + { + /* + * Skip header CRC data... + */ + + ptr += 2; + + if (ptr > end) + { + /* + * Can't read from file! + */ + + DEBUG_puts("9cups_fill: Header CRC in gzip header data does not fit in initial buffer, returning -1."); + + fp->eof = 1; + errno = EIO; + + return (-1); + } + } + + /* + * Copy the flate-compressed data to the compression buffer... + */ + + if ((bytes = end - ptr) > 0) + memcpy(fp->cbuf, ptr, (size_t)bytes); + + /* + * Setup the decompressor data... + */ + + fp->stream.zalloc = (alloc_func)0; + fp->stream.zfree = (free_func)0; + fp->stream.opaque = (voidpf)0; + fp->stream.next_in = (Bytef *)fp->cbuf; + fp->stream.next_out = NULL; + fp->stream.avail_in = (uInt)bytes; + fp->stream.avail_out = 0; + fp->crc = crc32(0L, Z_NULL, 0); + + if ((status = inflateInit2(&(fp->stream), -15)) != Z_OK) + { + DEBUG_printf(("9cups_fill: inflateInit2 returned %d, returning -1.", status)); + + fp->eof = 1; + errno = EIO; + + return (-1); + } + + fp->compressed = 1; + } + + if (fp->compressed) + { + /* + * If we have reached end-of-file, return immediately... + */ + + if (fp->eof) + { + DEBUG_puts("9cups_fill: EOF, returning 0."); + + return (0); + } + + /* + * Fill the decompression buffer as needed... + */ + + if (fp->stream.avail_in == 0) + { + if ((bytes = cups_read(fp, (char *)fp->cbuf, sizeof(fp->cbuf))) <= 0) + { + DEBUG_printf(("9cups_fill: cups_read error, returning %d.", (int)bytes)); + + fp->eof = 1; + + return (bytes); + } + + fp->stream.next_in = fp->cbuf; + fp->stream.avail_in = (uInt)bytes; + } + + /* + * Decompress data from the buffer... + */ + + fp->stream.next_out = (Bytef *)fp->buf; + fp->stream.avail_out = sizeof(fp->buf); + + status = inflate(&(fp->stream), Z_NO_FLUSH); + + if (fp->stream.next_out > (Bytef *)fp->buf) + fp->crc = crc32(fp->crc, (Bytef *)fp->buf, + (uInt)(fp->stream.next_out - (Bytef *)fp->buf)); + + if (status == Z_STREAM_END) + { + /* + * Read the CRC and length... + */ + + unsigned char trailer[8]; /* Trailer bytes */ + uLong tcrc; /* Trailer CRC */ + ssize_t tbytes = 0; /* Number of bytes */ + + if (fp->stream.avail_in > 0) + { + if (fp->stream.avail_in > sizeof(trailer)) + tbytes = (ssize_t)sizeof(trailer); + else + tbytes = (ssize_t)fp->stream.avail_in; + + memcpy(trailer, fp->stream.next_in, (size_t)tbytes); + fp->stream.next_in += tbytes; + fp->stream.avail_in -= (size_t)tbytes; + } + + if (tbytes < (ssize_t)sizeof(trailer)) + { + if (read(fp->fd, trailer + tbytes, sizeof(trailer) - (size_t)tbytes) < ((ssize_t)sizeof(trailer) - tbytes)) + { + /* + * Can't get it, so mark end-of-file... + */ + + DEBUG_puts("9cups_fill: Unable to read gzip CRC trailer, returning -1."); + + fp->eof = 1; + errno = EIO; + + return (-1); + } + } + + tcrc = ((((((uLong)trailer[3] << 8) | (uLong)trailer[2]) << 8) | + (uLong)trailer[1]) << 8) | (uLong)trailer[0]; + + if (tcrc != fp->crc) + { + /* + * Bad CRC, mark end-of-file... + */ + + DEBUG_printf(("9cups_fill: tcrc=%08x != fp->crc=%08x, returning -1.", (unsigned int)tcrc, (unsigned int)fp->crc)); + + fp->eof = 1; + errno = EIO; + + return (-1); + } + + /* + * Otherwise, reset the compressed flag so that we re-read the + * file header... + */ + + inflateEnd(&fp->stream); + + fp->compressed = 0; + } + else if (status < Z_OK) + { + DEBUG_printf(("9cups_fill: inflate returned %d, returning -1.", status)); + + fp->eof = 1; + errno = EIO; + + return (-1); + } + + bytes = (ssize_t)sizeof(fp->buf) - (ssize_t)fp->stream.avail_out; + + /* + * Return the decompressed data... + */ + + fp->ptr = fp->buf; + fp->end = fp->buf + bytes; + + if (bytes) + { + DEBUG_printf(("9cups_fill: Returning %d.", (int)bytes)); + return (bytes); + } + } + } +#endif /* HAVE_LIBZ */ + + /* + * Read a buffer's full of data... + */ + + if ((bytes = cups_read(fp, fp->buf, sizeof(fp->buf))) <= 0) + { + /* + * Can't read from file! + */ + + fp->eof = 1; + fp->ptr = fp->buf; + fp->end = fp->buf; + } + else + { + /* + * Return the bytes we read... + */ + + fp->eof = 0; + fp->ptr = fp->buf; + fp->end = fp->buf + bytes; + } + + DEBUG_printf(("9cups_fill: Not gzip, returning %d.", (int)bytes)); + + return (bytes); +} + + +/* + * 'cups_open()' - Safely open a file for writing. + * + * We don't allow appending to directories or files that are hard-linked or + * symlinked. + */ + +static int /* O - File descriptor or -1 otherwise */ +cups_open(const char *filename, /* I - Filename */ + int mode) /* I - Open mode */ +{ + int fd; /* File descriptor */ + struct stat fileinfo; /* File information */ +#ifndef _WIN32 + struct stat linkinfo; /* Link information */ +#endif /* !_WIN32 */ + + + /* + * Open the file... + */ + + if ((fd = open(filename, mode, 0666)) < 0) + return (-1); + + /* + * Then verify that the file descriptor doesn't point to a directory or hard- + * linked file. + */ + + if (fstat(fd, &fileinfo)) + { + close(fd); + return (-1); + } + + if (fileinfo.st_nlink != 1) + { + close(fd); + errno = EPERM; + return (-1); + } + +#ifdef _WIN32 + if (fileinfo.st_mode & _S_IFDIR) +#else + if (S_ISDIR(fileinfo.st_mode)) +#endif /* _WIN32 */ + { + close(fd); + errno = EISDIR; + return (-1); + } + +#ifndef _WIN32 + /* + * Then use lstat to determine whether the filename is a symlink... + */ + + if (lstat(filename, &linkinfo)) + { + close(fd); + return (-1); + } + + if (S_ISLNK(linkinfo.st_mode) || + fileinfo.st_dev != linkinfo.st_dev || + fileinfo.st_ino != linkinfo.st_ino || +#ifdef HAVE_ST_GEN + fileinfo.st_gen != linkinfo.st_gen || +#endif /* HAVE_ST_GEN */ + fileinfo.st_nlink != linkinfo.st_nlink || + fileinfo.st_mode != linkinfo.st_mode) + { + /* + * Yes, don't allow! + */ + + close(fd); + errno = EPERM; + return (-1); + } +#endif /* !_WIN32 */ + + return (fd); +} + + +/* + * 'cups_read()' - Read from a file descriptor. + */ + +static ssize_t /* O - Number of bytes read or -1 */ +cups_read(cups_file_t *fp, /* I - CUPS file */ + char *buf, /* I - Buffer */ + size_t bytes) /* I - Number bytes */ +{ + ssize_t total; /* Total bytes read */ + + + DEBUG_printf(("7cups_read(fp=%p, buf=%p, bytes=" CUPS_LLFMT ")", (void *)fp, (void *)buf, CUPS_LLCAST bytes)); + + /* + * Loop until we read at least 0 bytes... + */ + + for (;;) + { +#ifdef _WIN32 + if (fp->mode == 's') + total = (ssize_t)recv(fp->fd, buf, (unsigned)bytes, 0); + else + total = (ssize_t)read(fp->fd, buf, (unsigned)bytes); +#else + if (fp->mode == 's') + total = recv(fp->fd, buf, bytes, 0); + else + total = read(fp->fd, buf, bytes); +#endif /* _WIN32 */ + + DEBUG_printf(("9cups_read: total=" CUPS_LLFMT, CUPS_LLCAST total)); + + if (total >= 0) + break; + + /* + * Reads can be interrupted by signals and unavailable resources... + */ + + if (errno == EAGAIN || errno == EINTR) + continue; + else + return (-1); + } + + /* + * Return the total number of bytes read... + */ + + return (total); +} + + +/* + * 'cups_write()' - Write to a file descriptor. + */ + +static ssize_t /* O - Number of bytes written or -1 */ +cups_write(cups_file_t *fp, /* I - CUPS file */ + const char *buf, /* I - Buffer */ + size_t bytes) /* I - Number bytes */ +{ + size_t total; /* Total bytes written */ + ssize_t count; /* Count this time */ + + + DEBUG_printf(("7cups_write(fp=%p, buf=%p, bytes=" CUPS_LLFMT ")", (void *)fp, (void *)buf, CUPS_LLCAST bytes)); + + /* + * Loop until all bytes are written... + */ + + total = 0; + while (bytes > 0) + { +#ifdef _WIN32 + if (fp->mode == 's') + count = (ssize_t)send(fp->fd, buf, (unsigned)bytes, 0); + else + count = (ssize_t)write(fp->fd, buf, (unsigned)bytes); +#else + if (fp->mode == 's') + count = send(fp->fd, buf, bytes, 0); + else + count = write(fp->fd, buf, bytes); +#endif /* _WIN32 */ + + DEBUG_printf(("9cups_write: count=" CUPS_LLFMT, CUPS_LLCAST count)); + + if (count < 0) + { + /* + * Writes can be interrupted by signals and unavailable resources... + */ + + if (errno == EAGAIN || errno == EINTR) + continue; + else + return (-1); + } + + /* + * Update the counts for the last write call... + */ + + bytes -= (size_t)count; + total += (size_t)count; + buf += count; + } + + /* + * Return the total number of bytes written... + */ + + return ((ssize_t)total); +} diff --git a/cups/file.h b/cups/file.h new file mode 100644 index 0000000..49ca58a --- /dev/null +++ b/cups/file.h @@ -0,0 +1,94 @@ +/* + * Public file definitions for CUPS. + * + * Since stdio files max out at 256 files on many systems, we have to + * write similar functions without this limit. At the same time, using + * our own file functions allows us to provide transparent support of + * different line endings, gzip'd print files, PPD files, etc. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_FILE_H_ +# define _CUPS_FILE_H_ + + +/* + * Include necessary headers... + */ + +# include "versioning.h" +# include +# include +# if defined(_WIN32) && !defined(__CUPS_SSIZE_T_DEFINED) +# define __CUPS_SSIZE_T_DEFINED +/* Windows does not support the ssize_t type, so map it to off_t... */ +typedef off_t ssize_t; /* @private@ */ +# endif /* _WIN32 && !__CUPS_SSIZE_T_DEFINED */ + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * CUPS file definitions... + */ + +# define CUPS_FILE_NONE 0 /* No compression */ +# define CUPS_FILE_GZIP 1 /* GZIP compression */ + + +/* + * Types and structures... + */ + +typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ + + +/* + * Prototypes... + */ + +extern int cupsFileClose(cups_file_t *fp) _CUPS_API_1_2; +extern int cupsFileCompression(cups_file_t *fp) _CUPS_API_1_2; +extern int cupsFileEOF(cups_file_t *fp) _CUPS_API_1_2; +extern const char *cupsFileFind(const char *filename, const char *path, int executable, char *buffer, int bufsize) _CUPS_API_1_2; +extern int cupsFileFlush(cups_file_t *fp) _CUPS_API_1_2; +extern int cupsFileGetChar(cups_file_t *fp) _CUPS_API_1_2; +extern char *cupsFileGetConf(cups_file_t *fp, char *buf, size_t buflen, char **value, int *linenum) _CUPS_API_1_2; +extern size_t cupsFileGetLine(cups_file_t *fp, char *buf, size_t buflen) _CUPS_API_1_2; +extern char *cupsFileGets(cups_file_t *fp, char *buf, size_t buflen) _CUPS_API_1_2; +extern int cupsFileLock(cups_file_t *fp, int block) _CUPS_API_1_2; +extern int cupsFileNumber(cups_file_t *fp) _CUPS_API_1_2; +extern cups_file_t *cupsFileOpen(const char *filename, const char *mode) _CUPS_API_1_2; +extern cups_file_t *cupsFileOpenFd(int fd, const char *mode) _CUPS_API_1_2; +extern int cupsFilePeekChar(cups_file_t *fp) _CUPS_API_1_2; +extern int cupsFilePrintf(cups_file_t *fp, const char *format, ...) _CUPS_FORMAT(2, 3) _CUPS_API_1_2; +extern int cupsFilePutChar(cups_file_t *fp, int c) _CUPS_API_1_2; +extern ssize_t cupsFilePutConf(cups_file_t *fp, const char *directive, const char *value) _CUPS_API_1_4; +extern int cupsFilePuts(cups_file_t *fp, const char *s) _CUPS_API_1_2; +extern ssize_t cupsFileRead(cups_file_t *fp, char *buf, size_t bytes) _CUPS_API_1_2; +extern off_t cupsFileRewind(cups_file_t *fp) _CUPS_API_1_2; +extern off_t cupsFileSeek(cups_file_t *fp, off_t pos) _CUPS_API_1_2; +extern cups_file_t *cupsFileStderr(void) _CUPS_API_1_2; +extern cups_file_t *cupsFileStdin(void) _CUPS_API_1_2; +extern cups_file_t *cupsFileStdout(void) _CUPS_API_1_2; +extern off_t cupsFileTell(cups_file_t *fp) _CUPS_API_1_2; +extern int cupsFileUnlock(cups_file_t *fp) _CUPS_API_1_2; +extern ssize_t cupsFileWrite(cups_file_t *fp, const char *buf, size_t bytes) _CUPS_API_1_2; + + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_FILE_H_ */ diff --git a/cups/getdevices.c b/cups/getdevices.c new file mode 100644 index 0000000..de2186f --- /dev/null +++ b/cups/getdevices.c @@ -0,0 +1,267 @@ +/* + * cupsGetDevices implementation for CUPS. + * + * Copyright 2008-2016 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include "adminutil.h" + + +/* + * 'cupsGetDevices()' - Get available printer devices. + * + * This function sends a CUPS-Get-Devices request and streams the discovered + * devices to the specified callback function. The "timeout" parameter controls + * how long the request lasts, while the "include_schemes" and "exclude_schemes" + * parameters provide comma-delimited lists of backends to include or omit from + * the request respectively. + * + * This function is deprecated with the IPP printer discovery functionality + * being provided by the @link cupsEnumDests@ and @cupsGetDests@ functions. + * + * @deprecated@ + */ + +ipp_status_t /* O - Request status - @code IPP_OK@ on success. */ +cupsGetDevices( + http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + int timeout, /* I - Timeout in seconds or @code CUPS_TIMEOUT_DEFAULT@ */ + const char *include_schemes, /* I - Comma-separated URI schemes to include or @code CUPS_INCLUDE_ALL@ */ + const char *exclude_schemes, /* I - Comma-separated URI schemes to exclude or @code CUPS_EXCLUDE_NONE@ */ + cups_device_cb_t callback, /* I - Callback function */ + void *user_data) /* I - User data pointer */ +{ + ipp_t *request, /* CUPS-Get-Devices request */ + *response; /* CUPS-Get-Devices response */ + ipp_attribute_t *attr; /* Current attribute */ + const char *device_class, /* device-class value */ + *device_id, /* device-id value */ + *device_info, /* device-info value */ + *device_location, /* device-location value */ + *device_make_and_model, /* device-make-and-model value */ + *device_uri; /* device-uri value */ + int blocking; /* Current blocking-IO mode */ + cups_option_t option; /* in/exclude-schemes option */ + http_status_t status; /* HTTP status of request */ + ipp_state_t state; /* IPP response state */ + + + /* + * Range check input... + */ + + DEBUG_printf(("cupsGetDevices(http=%p, timeout=%d, include_schemes=\"%s\", exclude_schemes=\"%s\", callback=%p, user_data=%p)", (void *)http, timeout, include_schemes, exclude_schemes, (void *)callback, user_data)); + + if (!callback) + return (IPP_STATUS_ERROR_INTERNAL); + + if (!http) + http = _cupsConnect(); + + if (!http) + return (IPP_STATUS_ERROR_SERVICE_UNAVAILABLE); + + /* + * Create a CUPS-Get-Devices request... + */ + + request = ippNewRequest(IPP_OP_CUPS_GET_DEVICES); + + if (timeout > 0) + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "timeout", + timeout); + + if (include_schemes) + { + option.name = "include-schemes"; + option.value = (char *)include_schemes; + + cupsEncodeOptions2(request, 1, &option, IPP_TAG_OPERATION); + } + + if (exclude_schemes) + { + option.name = "exclude-schemes"; + option.value = (char *)exclude_schemes; + + cupsEncodeOptions2(request, 1, &option, IPP_TAG_OPERATION); + } + + /* + * Send the request and do any necessary authentication... + */ + + do + { + DEBUG_puts("2cupsGetDevices: Sending request..."); + status = cupsSendRequest(http, request, "/", ippLength(request)); + + DEBUG_puts("2cupsGetDevices: Waiting for response status..."); + while (status == HTTP_STATUS_CONTINUE) + status = httpUpdate(http); + + if (status != HTTP_STATUS_OK) + { + httpFlush(http); + + if (status == HTTP_STATUS_UNAUTHORIZED) + { + /* + * See if we can do authentication... + */ + + DEBUG_puts("2cupsGetDevices: Need authorization..."); + + if (!cupsDoAuthentication(http, "POST", "/")) + httpReconnect2(http, 30000, NULL); + else + { + status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED; + break; + } + } + +#ifdef HAVE_SSL + else if (status == HTTP_STATUS_UPGRADE_REQUIRED) + { + /* + * Force a reconnect with encryption... + */ + + DEBUG_puts("2cupsGetDevices: Need encryption..."); + + if (!httpReconnect2(http, 30000, NULL)) + httpEncryption(http, HTTP_ENCRYPTION_REQUIRED); + } +#endif /* HAVE_SSL */ + } + } + while (status == HTTP_STATUS_UNAUTHORIZED || + status == HTTP_STATUS_UPGRADE_REQUIRED); + + DEBUG_printf(("2cupsGetDevices: status=%d", status)); + + ippDelete(request); + + if (status != HTTP_STATUS_OK) + { + _cupsSetHTTPError(status); + return (cupsLastError()); + } + + /* + * Read the response in non-blocking mode... + */ + + blocking = httpGetBlocking(http); + httpBlocking(http, 0); + + response = ippNew(); + device_class = NULL; + device_id = NULL; + device_info = NULL; + device_location = ""; + device_make_and_model = NULL; + device_uri = NULL; + attr = NULL; + + DEBUG_puts("2cupsGetDevices: Reading response..."); + + do + { + if ((state = ippRead(http, response)) == IPP_STATE_ERROR) + break; + + DEBUG_printf(("2cupsGetDevices: state=%d, response->last=%p", state, (void *)response->last)); + + if (!response->attrs) + continue; + + while (attr != response->last) + { + if (!attr) + attr = response->attrs; + else + attr = attr->next; + + DEBUG_printf(("2cupsGetDevices: attr->name=\"%s\", attr->value_tag=%d", + attr->name, attr->value_tag)); + + if (!attr->name) + { + if (device_class && device_id && device_info && device_make_and_model && + device_uri) + (*callback)(device_class, device_id, device_info, + device_make_and_model, device_uri, device_location, + user_data); + + device_class = NULL; + device_id = NULL; + device_info = NULL; + device_location = ""; + device_make_and_model = NULL; + device_uri = NULL; + } + else if (!strcmp(attr->name, "device-class") && + attr->value_tag == IPP_TAG_KEYWORD) + device_class = attr->values[0].string.text; + else if (!strcmp(attr->name, "device-id") && + attr->value_tag == IPP_TAG_TEXT) + device_id = attr->values[0].string.text; + else if (!strcmp(attr->name, "device-info") && + attr->value_tag == IPP_TAG_TEXT) + device_info = attr->values[0].string.text; + else if (!strcmp(attr->name, "device-location") && + attr->value_tag == IPP_TAG_TEXT) + device_location = attr->values[0].string.text; + else if (!strcmp(attr->name, "device-make-and-model") && + attr->value_tag == IPP_TAG_TEXT) + device_make_and_model = attr->values[0].string.text; + else if (!strcmp(attr->name, "device-uri") && + attr->value_tag == IPP_TAG_URI) + device_uri = attr->values[0].string.text; + } + } + while (state != IPP_STATE_DATA); + + DEBUG_printf(("2cupsGetDevices: state=%d, response->last=%p", state, (void *)response->last)); + + if (device_class && device_id && device_info && device_make_and_model && + device_uri) + (*callback)(device_class, device_id, device_info, + device_make_and_model, device_uri, device_location, user_data); + + /* + * Set the IPP status and return... + */ + + httpBlocking(http, blocking); + httpFlush(http); + + if (status == HTTP_STATUS_ERROR) + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(http->error), 0); + else + { + attr = ippFindAttribute(response, "status-message", IPP_TAG_TEXT); + + DEBUG_printf(("cupsGetDevices: status-code=%s, status-message=\"%s\"", + ippErrorString(response->request.status.status_code), + attr ? attr->values[0].string.text : "")); + + _cupsSetError(response->request.status.status_code, + attr ? attr->values[0].string.text : + ippErrorString(response->request.status.status_code), 0); + } + + ippDelete(response); + + return (cupsLastError()); +} diff --git a/cups/getifaddrs-internal.h b/cups/getifaddrs-internal.h new file mode 100644 index 0000000..35e98be --- /dev/null +++ b/cups/getifaddrs-internal.h @@ -0,0 +1,113 @@ +/* + * getifaddrs definitions for CUPS. + * + * Copyright 2007-2018 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_GETIFADDRS_INTERNAL_H_ +# define _CUPS_GETIFADDRS_INTERNAL_H_ + +/* + * Include necessary headers... + */ + +# include "config.h" +# ifdef _WIN32 +# define _WINSOCK_DEPRECATED_NO_WARNINGS 1 +# include +# include +# define CUPS_SOCAST (const char *) +# else +# include +# include +# include +# define CUPS_SOCAST +# endif /* _WIN32 */ + +# if defined(__APPLE__) && !defined(_SOCKLEN_T) +/* + * macOS 10.2.x does not define socklen_t, and in fact uses an int instead of + * unsigned type for length values... + */ + +typedef int socklen_t; +# endif /* __APPLE__ && !_SOCKLEN_T */ + +# ifndef _WIN32 +# include +# include +# ifdef HAVE_GETIFADDRS +# include +# else +# include +# ifdef HAVE_SYS_SOCKIO_H +# include +# endif /* HAVE_SYS_SOCKIO_H */ +# endif /* HAVE_GETIFADDRS */ +# endif /* !_WIN32 */ + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Some OS's don't have getifaddrs() and freeifaddrs()... + */ + +# if !defined(_WIN32) && !defined(HAVE_GETIFADDRS) +# ifdef ifa_dstaddr +# undef ifa_dstaddr +# endif /* ifa_dstaddr */ +# ifndef ifr_netmask +# define ifr_netmask ifr_addr +# endif /* !ifr_netmask */ + +struct ifaddrs /**** Interface Structure ****/ +{ + struct ifaddrs *ifa_next; /* Next interface in list */ + char *ifa_name; /* Name of interface */ + unsigned int ifa_flags; /* Flags (up, point-to-point, etc.) */ + struct sockaddr *ifa_addr, /* Network address */ + *ifa_netmask; /* Address mask */ + union + { + struct sockaddr *ifu_broadaddr; /* Broadcast address of this interface. */ + struct sockaddr *ifu_dstaddr; /* Point-to-point destination address. */ + } ifa_ifu; + + void *ifa_data; /* Interface statistics */ +}; + +# ifndef ifa_broadaddr +# define ifa_broadaddr ifa_ifu.ifu_broadaddr +# endif /* !ifa_broadaddr */ +# ifndef ifa_dstaddr +# define ifa_dstaddr ifa_ifu.ifu_dstaddr +# endif /* !ifa_dstaddr */ + +extern int _cups_getifaddrs(struct ifaddrs **addrs) _CUPS_PRIVATE; +# define getifaddrs _cups_getifaddrs +extern void _cups_freeifaddrs(struct ifaddrs *addrs) _CUPS_PRIVATE; +# define freeifaddrs _cups_freeifaddrs +# endif /* !_WIN32 && !HAVE_GETIFADDRS */ + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_GETIFADDRS_INTERNAL_H_ */ diff --git a/cups/getifaddrs.c b/cups/getifaddrs.c new file mode 100644 index 0000000..f751aa8 --- /dev/null +++ b/cups/getifaddrs.c @@ -0,0 +1,251 @@ +/* + * Network interface functions for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include "getifaddrs-internal.h" + + +#ifndef HAVE_GETIFADDRS +/* + * '_cups_getifaddrs()' - Get a list of network interfaces on the system. + */ + +int /* O - 0 on success, -1 on error */ +_cups_getifaddrs(struct ifaddrs **addrs)/* O - List of interfaces */ +{ + int sock; /* Socket */ + char buffer[65536], /* Buffer for address info */ + *bufptr, /* Pointer into buffer */ + *bufend; /* End of buffer */ + struct ifconf conf; /* Interface configurations */ + struct sockaddr addr; /* Address data */ + struct ifreq *ifp; /* Interface data */ + int ifpsize; /* Size of interface data */ + struct ifaddrs *temp; /* Pointer to current interface */ + struct ifreq request; /* Interface request */ + + + /* + * Start with an empty list... + */ + + if (addrs == NULL) + return (-1); + + *addrs = NULL; + + /* + * Create a UDP socket to get the interface data... + */ + + memset (&addr, 0, sizeof(addr)); + if ((sock = socket(AF_INET, SOCK_DGRAM, 0)) < 0) + return (-1); + + /* + * Try to get the list of interfaces... + */ + + conf.ifc_len = sizeof(buffer); + conf.ifc_buf = buffer; + + if (ioctl(sock, SIOCGIFCONF, &conf) < 0) + { + /* + * Couldn't get the list of interfaces... + */ + + close(sock); + return (-1); + } + + /* + * OK, got the list of interfaces, now lets step through the + * buffer to pull them out... + */ + +# ifdef HAVE_STRUCT_SOCKADDR_SA_LEN +# define sockaddr_len(a) ((a)->sa_len) +# else +# define sockaddr_len(a) (sizeof(struct sockaddr)) +# endif /* HAVE_STRUCT_SOCKADDR_SA_LEN */ + + for (bufptr = buffer, bufend = buffer + conf.ifc_len; + bufptr < bufend; + bufptr += ifpsize) + { + /* + * Get the current interface information... + */ + + ifp = (struct ifreq *)bufptr; + ifpsize = sizeof(ifp->ifr_name) + sockaddr_len(&(ifp->ifr_addr)); + + if (ifpsize < sizeof(struct ifreq)) + ifpsize = sizeof(struct ifreq); + + memset(&request, 0, sizeof(request)); + memcpy(request.ifr_name, ifp->ifr_name, sizeof(ifp->ifr_name)); + + /* + * Check the status of the interface... + */ + + if (ioctl(sock, SIOCGIFFLAGS, &request) < 0) + continue; + + /* + * Allocate memory for a single interface record... + */ + + if ((temp = calloc(1, sizeof(struct ifaddrs))) == NULL) + { + /* + * Unable to allocate memory... + */ + + close(sock); + return (-1); + } + + /* + * Add this record to the front of the list and copy the name, flags, + * and network address... + */ + + temp->ifa_next = *addrs; + *addrs = temp; + temp->ifa_name = strdup(ifp->ifr_name); + temp->ifa_flags = request.ifr_flags; + if ((temp->ifa_addr = calloc(1, sockaddr_len(&(ifp->ifr_addr)))) != NULL) + memcpy(temp->ifa_addr, &(ifp->ifr_addr), sockaddr_len(&(ifp->ifr_addr))); + + /* + * Try to get the netmask for the interface... + */ + + if (!ioctl(sock, SIOCGIFNETMASK, &request)) + { + /* + * Got it, make a copy... + */ + + if ((temp->ifa_netmask = calloc(1, sizeof(request.ifr_netmask))) != NULL) + memcpy(temp->ifa_netmask, &(request.ifr_netmask), + sizeof(request.ifr_netmask)); + } + + /* + * Then get the broadcast or point-to-point (destination) address, + * if applicable... + */ + + if (temp->ifa_flags & IFF_BROADCAST) + { + /* + * Have a broadcast address, so get it! + */ + + if (!ioctl(sock, SIOCGIFBRDADDR, &request)) + { + /* + * Got it, make a copy... + */ + + if ((temp->ifa_broadaddr = + calloc(1, sizeof(request.ifr_broadaddr))) != NULL) + memcpy(temp->ifa_broadaddr, &(request.ifr_broadaddr), + sizeof(request.ifr_broadaddr)); + } + } + else if (temp->ifa_flags & IFF_POINTOPOINT) + { + /* + * Point-to-point interface; grab the remote address... + */ + + if (!ioctl(sock, SIOCGIFDSTADDR, &request)) + { + temp->ifa_dstaddr = malloc(sizeof(request.ifr_dstaddr)); + memcpy(temp->ifa_dstaddr, &(request.ifr_dstaddr), + sizeof(request.ifr_dstaddr)); + } + } + } + + /* + * OK, we're done with the socket, close it and return 0... + */ + + close(sock); + + return (0); +} + + +/* + * '_cups_freeifaddrs()' - Free an interface list... + */ + +void +_cups_freeifaddrs(struct ifaddrs *addrs)/* I - Interface list to free */ +{ + struct ifaddrs *next; /* Next interface in list */ + + + while (addrs != NULL) + { + /* + * Make a copy of the next interface pointer... + */ + + next = addrs->ifa_next; + + /* + * Free data values as needed... + */ + + if (addrs->ifa_name) + { + free(addrs->ifa_name); + addrs->ifa_name = NULL; + } + + if (addrs->ifa_addr) + { + free(addrs->ifa_addr); + addrs->ifa_addr = NULL; + } + + if (addrs->ifa_netmask) + { + free(addrs->ifa_netmask); + addrs->ifa_netmask = NULL; + } + + if (addrs->ifa_dstaddr) + { + free(addrs->ifa_dstaddr); + addrs->ifa_dstaddr = NULL; + } + + /* + * Free this node and continue to the next... + */ + + free(addrs); + + addrs = next; + } +} +#endif /* !HAVE_GETIFADDRS */ diff --git a/cups/getputfile.c b/cups/getputfile.c new file mode 100644 index 0000000..818d5e9 --- /dev/null +++ b/cups/getputfile.c @@ -0,0 +1,562 @@ +/* + * Get/put file functions for CUPS. + * + * Copyright 2007-2018 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include +#include +#if defined(_WIN32) || defined(__EMX__) +# include +#else +# include +#endif /* _WIN32 || __EMX__ */ + + +/* + * 'cupsGetFd()' - Get a file from the server. + * + * This function returns @code HTTP_STATUS_OK@ when the file is successfully retrieved. + * + * @since CUPS 1.1.20/macOS 10.4@ + */ + +http_status_t /* O - HTTP status */ +cupsGetFd(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *resource, /* I - Resource name */ + int fd) /* I - File descriptor */ +{ + ssize_t bytes; /* Number of bytes read */ + char buffer[8192]; /* Buffer for file */ + http_status_t status; /* HTTP status from server */ + char if_modified_since[HTTP_MAX_VALUE]; + /* If-Modified-Since header */ + int new_auth = 0; /* Using new auth information? */ + int digest; /* Are we using Digest authentication? */ + + + /* + * Range check input... + */ + + DEBUG_printf(("cupsGetFd(http=%p, resource=\"%s\", fd=%d)", (void *)http, resource, fd)); + + if (!resource || fd < 0) + { + if (http) + http->error = EINVAL; + + return (HTTP_STATUS_ERROR); + } + + if (!http) + if ((http = _cupsConnect()) == NULL) + return (HTTP_STATUS_SERVICE_UNAVAILABLE); + + /* + * Then send GET requests to the HTTP server... + */ + + strlcpy(if_modified_since, httpGetField(http, HTTP_FIELD_IF_MODIFIED_SINCE), + sizeof(if_modified_since)); + + do + { + if (!_cups_strcasecmp(httpGetField(http, HTTP_FIELD_CONNECTION), "close")) + { + httpClearFields(http); + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + } + + httpClearFields(http); + httpSetField(http, HTTP_FIELD_IF_MODIFIED_SINCE, if_modified_since); + + digest = http->authstring && !strncmp(http->authstring, "Digest ", 7); + + if (digest && !new_auth) + { + /* + * Update the Digest authentication string... + */ + + _httpSetDigestAuthString(http, http->nextnonce, "GET", resource); + } + +#ifdef HAVE_GSSAPI + if (http->authstring && !strncmp(http->authstring, "Negotiate", 9) && !new_auth) + { + /* + * Do not use cached Kerberos credentials since they will look like a + * "replay" attack... + */ + + _cupsSetNegotiateAuthString(http, "GET", resource); + } +#endif /* HAVE_GSSAPI */ + + httpSetField(http, HTTP_FIELD_AUTHORIZATION, http->authstring); + + if (httpGet(http, resource)) + { + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + else + { + status = HTTP_STATUS_UNAUTHORIZED; + continue; + } + } + + new_auth = 0; + + while ((status = httpUpdate(http)) == HTTP_STATUS_CONTINUE); + + if (status == HTTP_STATUS_UNAUTHORIZED) + { + /* + * Flush any error message... + */ + + httpFlush(http); + + /* + * See if we can do authentication... + */ + + new_auth = 1; + + if (cupsDoAuthentication(http, "GET", resource)) + { + status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED; + break; + } + + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + + continue; + } +#ifdef HAVE_SSL + else if (status == HTTP_STATUS_UPGRADE_REQUIRED) + { + /* Flush any error message... */ + httpFlush(http); + + /* Reconnect... */ + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + + /* Upgrade with encryption... */ + httpEncryption(http, HTTP_ENCRYPTION_REQUIRED); + + /* Try again, this time with encryption enabled... */ + continue; + } +#endif /* HAVE_SSL */ + } + while (status == HTTP_STATUS_UNAUTHORIZED || status == HTTP_STATUS_UPGRADE_REQUIRED); + + /* + * See if we actually got the file or an error... + */ + + if (status == HTTP_STATUS_OK) + { + /* + * Yes, copy the file... + */ + + while ((bytes = httpRead2(http, buffer, sizeof(buffer))) > 0) + write(fd, buffer, (size_t)bytes); + } + else + { + _cupsSetHTTPError(status); + httpFlush(http); + } + + /* + * Return the request status... + */ + + DEBUG_printf(("1cupsGetFd: Returning %d...", status)); + + return (status); +} + + +/* + * 'cupsGetFile()' - Get a file from the server. + * + * This function returns @code HTTP_STATUS_OK@ when the file is successfully retrieved. + * + * @since CUPS 1.1.20/macOS 10.4@ + */ + +http_status_t /* O - HTTP status */ +cupsGetFile(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *resource, /* I - Resource name */ + const char *filename) /* I - Filename */ +{ + int fd; /* File descriptor */ + http_status_t status; /* Status */ + + + /* + * Range check input... + */ + + if (!http || !resource || !filename) + { + if (http) + http->error = EINVAL; + + return (HTTP_STATUS_ERROR); + } + + /* + * Create the file... + */ + + if ((fd = open(filename, O_WRONLY | O_EXCL | O_TRUNC)) < 0) + { + /* + * Couldn't open the file! + */ + + http->error = errno; + + return (HTTP_STATUS_ERROR); + } + + /* + * Get the file... + */ + + status = cupsGetFd(http, resource, fd); + + /* + * If the file couldn't be gotten, then remove the file... + */ + + close(fd); + + if (status != HTTP_STATUS_OK) + unlink(filename); + + /* + * Return the HTTP status code... + */ + + return (status); +} + + +/* + * 'cupsPutFd()' - Put a file on the server. + * + * This function returns @code HTTP_STATUS_CREATED@ when the file is stored + * successfully. + * + * @since CUPS 1.1.20/macOS 10.4@ + */ + +http_status_t /* O - HTTP status */ +cupsPutFd(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *resource, /* I - Resource name */ + int fd) /* I - File descriptor */ +{ + ssize_t bytes; /* Number of bytes read */ + int retries; /* Number of retries */ + char buffer[8192]; /* Buffer for file */ + http_status_t status; /* HTTP status from server */ + int new_auth = 0; /* Using new auth information? */ + int digest; /* Are we using Digest authentication? */ + + + /* + * Range check input... + */ + + DEBUG_printf(("cupsPutFd(http=%p, resource=\"%s\", fd=%d)", (void *)http, resource, fd)); + + if (!resource || fd < 0) + { + if (http) + http->error = EINVAL; + + return (HTTP_STATUS_ERROR); + } + + if (!http) + if ((http = _cupsConnect()) == NULL) + return (HTTP_STATUS_SERVICE_UNAVAILABLE); + + /* + * Then send PUT requests to the HTTP server... + */ + + retries = 0; + + do + { + if (!_cups_strcasecmp(httpGetField(http, HTTP_FIELD_CONNECTION), "close")) + { + httpClearFields(http); + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + } + + DEBUG_printf(("2cupsPutFd: starting attempt, authstring=\"%s\"...", + http->authstring)); + + httpClearFields(http); + httpSetField(http, HTTP_FIELD_TRANSFER_ENCODING, "chunked"); + httpSetExpect(http, HTTP_STATUS_CONTINUE); + + digest = http->authstring && !strncmp(http->authstring, "Digest ", 7); + + if (digest && !new_auth) + { + /* + * Update the Digest authentication string... + */ + + _httpSetDigestAuthString(http, http->nextnonce, "PUT", resource); + } + +#ifdef HAVE_GSSAPI + if (http->authstring && !strncmp(http->authstring, "Negotiate", 9) && !new_auth) + { + /* + * Do not use cached Kerberos credentials since they will look like a + * "replay" attack... + */ + + _cupsSetNegotiateAuthString(http, "PUT", resource); + } +#endif /* HAVE_GSSAPI */ + + httpSetField(http, HTTP_FIELD_AUTHORIZATION, http->authstring); + + if (httpPut(http, resource)) + { + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + else + { + status = HTTP_STATUS_UNAUTHORIZED; + continue; + } + } + + /* + * Wait up to 1 second for a 100-continue response... + */ + + if (httpWait(http, 1000)) + status = httpUpdate(http); + else + status = HTTP_STATUS_CONTINUE; + + if (status == HTTP_STATUS_CONTINUE) + { + /* + * Copy the file... + */ + + lseek(fd, 0, SEEK_SET); + + while ((bytes = read(fd, buffer, sizeof(buffer))) > 0) + if (httpCheck(http)) + { + if ((status = httpUpdate(http)) != HTTP_STATUS_CONTINUE) + break; + } + else + httpWrite2(http, buffer, (size_t)bytes); + } + + if (status == HTTP_STATUS_CONTINUE) + { + httpWrite2(http, buffer, 0); + + while ((status = httpUpdate(http)) == HTTP_STATUS_CONTINUE); + } + + if (status == HTTP_STATUS_ERROR && !retries) + { + DEBUG_printf(("2cupsPutFd: retry on status %d", status)); + + retries ++; + + /* Flush any error message... */ + httpFlush(http); + + /* Reconnect... */ + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + + /* Try again... */ + continue; + } + + DEBUG_printf(("2cupsPutFd: status=%d", status)); + + new_auth = 0; + + if (status == HTTP_STATUS_UNAUTHORIZED) + { + /* + * Flush any error message... + */ + + httpFlush(http); + + /* + * See if we can do authentication... + */ + + new_auth = 1; + + if (cupsDoAuthentication(http, "PUT", resource)) + { + status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED; + break; + } + + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + + continue; + } +#ifdef HAVE_SSL + else if (status == HTTP_STATUS_UPGRADE_REQUIRED) + { + /* Flush any error message... */ + httpFlush(http); + + /* Reconnect... */ + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + + /* Upgrade with encryption... */ + httpEncryption(http, HTTP_ENCRYPTION_REQUIRED); + + /* Try again, this time with encryption enabled... */ + continue; + } +#endif /* HAVE_SSL */ + } + while (status == HTTP_STATUS_UNAUTHORIZED || status == HTTP_STATUS_UPGRADE_REQUIRED || + (status == HTTP_STATUS_ERROR && retries < 2)); + + /* + * See if we actually put the file or an error... + */ + + if (status != HTTP_STATUS_CREATED) + { + _cupsSetHTTPError(status); + httpFlush(http); + } + + DEBUG_printf(("1cupsPutFd: Returning %d...", status)); + + return (status); +} + + +/* + * 'cupsPutFile()' - Put a file on the server. + * + * This function returns @code HTTP_CREATED@ when the file is stored + * successfully. + * + * @since CUPS 1.1.20/macOS 10.4@ + */ + +http_status_t /* O - HTTP status */ +cupsPutFile(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *resource, /* I - Resource name */ + const char *filename) /* I - Filename */ +{ + int fd; /* File descriptor */ + http_status_t status; /* Status */ + + + /* + * Range check input... + */ + + if (!http || !resource || !filename) + { + if (http) + http->error = EINVAL; + + return (HTTP_STATUS_ERROR); + } + + /* + * Open the local file... + */ + + if ((fd = open(filename, O_RDONLY)) < 0) + { + /* + * Couldn't open the file! + */ + + http->error = errno; + + return (HTTP_STATUS_ERROR); + } + + /* + * Put the file... + */ + + status = cupsPutFd(http, resource, fd); + + close(fd); + + return (status); +} diff --git a/cups/globals.c b/cups/globals.c new file mode 100644 index 0000000..fd41bae --- /dev/null +++ b/cups/globals.c @@ -0,0 +1,397 @@ +/* + * Global variable access routines for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#ifndef _WIN32 +# include +#endif /* !_WIN32 */ + + +/* + * Local globals... + */ + +#ifdef DEBUG +static int cups_global_index = 0; + /* Next thread number */ +#endif /* DEBUG */ +static _cups_threadkey_t cups_globals_key = _CUPS_THREADKEY_INITIALIZER; + /* Thread local storage key */ +#ifdef HAVE_PTHREAD_H +static pthread_once_t cups_globals_key_once = PTHREAD_ONCE_INIT; + /* One-time initialization object */ +#endif /* HAVE_PTHREAD_H */ +#if defined(HAVE_PTHREAD_H) || defined(_WIN32) +static _cups_mutex_t cups_global_mutex = _CUPS_MUTEX_INITIALIZER; + /* Global critical section */ +#endif /* HAVE_PTHREAD_H || _WIN32 */ + + +/* + * Local functions... + */ + +#ifdef _WIN32 +static void cups_fix_path(char *path); +#endif /* _WIN32 */ +static _cups_globals_t *cups_globals_alloc(void); +#if defined(HAVE_PTHREAD_H) || defined(_WIN32) +static void cups_globals_free(_cups_globals_t *g); +#endif /* HAVE_PTHREAD_H || _WIN32 */ +#ifdef HAVE_PTHREAD_H +static void cups_globals_init(void); +#endif /* HAVE_PTHREAD_H */ + + +/* + * '_cupsGlobalLock()' - Lock the global mutex. + */ + +void +_cupsGlobalLock(void) +{ +#ifdef HAVE_PTHREAD_H + pthread_mutex_lock(&cups_global_mutex); +#elif defined(_WIN32) + EnterCriticalSection(&cups_global_mutex.m_criticalSection); +#endif /* HAVE_PTHREAD_H */ +} + + +/* + * '_cupsGlobals()' - Return a pointer to thread local storage + */ + +_cups_globals_t * /* O - Pointer to global data */ +_cupsGlobals(void) +{ + _cups_globals_t *cg; /* Pointer to global data */ + + +#ifdef HAVE_PTHREAD_H + /* + * Initialize the global data exactly once... + */ + + pthread_once(&cups_globals_key_once, cups_globals_init); +#endif /* HAVE_PTHREAD_H */ + + /* + * See if we have allocated the data yet... + */ + + if ((cg = (_cups_globals_t *)_cupsThreadGetData(cups_globals_key)) == NULL) + { + /* + * No, allocate memory as set the pointer for the key... + */ + + if ((cg = cups_globals_alloc()) != NULL) + _cupsThreadSetData(cups_globals_key, cg); + } + + /* + * Return the pointer to the data... + */ + + return (cg); +} + + +/* + * '_cupsGlobalUnlock()' - Unlock the global mutex. + */ + +void +_cupsGlobalUnlock(void) +{ +#ifdef HAVE_PTHREAD_H + pthread_mutex_unlock(&cups_global_mutex); +#elif defined(_WIN32) + LeaveCriticalSection(&cups_global_mutex.m_criticalSection); +#endif /* HAVE_PTHREAD_H */ +} + + +#ifdef _WIN32 +/* + * 'DllMain()' - Main entry for library. + */ + +BOOL WINAPI /* O - Success/failure */ +DllMain(HINSTANCE hinst, /* I - DLL module handle */ + DWORD reason, /* I - Reason */ + LPVOID reserved) /* I - Unused */ +{ + _cups_globals_t *cg; /* Global data */ + + + (void)hinst; + (void)reserved; + + switch (reason) + { + case DLL_PROCESS_ATTACH : /* Called on library initialization */ + InitializeCriticalSection(&cups_global_mutex.m_criticalSection); + + if ((cups_globals_key = TlsAlloc()) == TLS_OUT_OF_INDEXES) + return (FALSE); + break; + + case DLL_THREAD_DETACH : /* Called when a thread terminates */ + if ((cg = (_cups_globals_t *)TlsGetValue(cups_globals_key)) != NULL) + cups_globals_free(cg); + break; + + case DLL_PROCESS_DETACH : /* Called when library is unloaded */ + if ((cg = (_cups_globals_t *)TlsGetValue(cups_globals_key)) != NULL) + cups_globals_free(cg); + + TlsFree(cups_globals_key); + DeleteCriticalSection(&cups_global_mutex.m_criticalSection); + break; + + default: + break; + } + + return (TRUE); +} +#endif /* _WIN32 */ + + +/* + * 'cups_globals_alloc()' - Allocate and initialize global data. + */ + +static _cups_globals_t * /* O - Pointer to global data */ +cups_globals_alloc(void) +{ + _cups_globals_t *cg = malloc(sizeof(_cups_globals_t)); + /* Pointer to global data */ +#ifdef _WIN32 + HKEY key; /* Registry key */ + DWORD size; /* Size of string */ + static char installdir[1024] = "", /* Install directory */ + confdir[1024] = "", /* Server root directory */ + localedir[1024] = ""; /* Locale directory */ +#endif /* _WIN32 */ + + + if (!cg) + return (NULL); + + /* + * Clear the global storage and set the default encryption and password + * callback values... + */ + + memset(cg, 0, sizeof(_cups_globals_t)); + cg->encryption = (http_encryption_t)-1; + cg->password_cb = (cups_password_cb2_t)_cupsGetPassword; + cg->trust_first = -1; + cg->any_root = -1; + cg->expired_certs = -1; + cg->validate_certs = -1; + +#ifdef DEBUG + /* + * Friendly thread ID for debugging... + */ + + cg->thread_id = ++ cups_global_index; +#endif /* DEBUG */ + + /* + * Then set directories as appropriate... + */ + +#ifdef _WIN32 + if (!installdir[0]) + { + /* + * Open the registry... + */ + + strlcpy(installdir, "C:/Program Files/cups.org", sizeof(installdir)); + + if (!RegOpenKeyExA(HKEY_LOCAL_MACHINE, "SOFTWARE\\cups.org", 0, KEY_READ, &key)) + { + /* + * Grab the installation directory... + */ + + char *ptr; /* Pointer into installdir */ + + size = sizeof(installdir); + RegQueryValueExA(key, "installdir", NULL, NULL, installdir, &size); + RegCloseKey(key); + + for (ptr = installdir; *ptr;) + { + if (*ptr == '\\') + { + if (ptr[1]) + *ptr++ = '/'; + else + *ptr = '\0'; /* Strip trailing \ */ + } + else if (*ptr == '/' && !ptr[1]) + *ptr = '\0'; /* Strip trailing / */ + else + ptr ++; + } + } + + snprintf(confdir, sizeof(confdir), "%s/conf", installdir); + snprintf(localedir, sizeof(localedir), "%s/locale", installdir); + } + + if ((cg->cups_datadir = getenv("CUPS_DATADIR")) == NULL) + cg->cups_datadir = installdir; + + if ((cg->cups_serverbin = getenv("CUPS_SERVERBIN")) == NULL) + cg->cups_serverbin = installdir; + + if ((cg->cups_serverroot = getenv("CUPS_SERVERROOT")) == NULL) + cg->cups_serverroot = confdir; + + if ((cg->cups_statedir = getenv("CUPS_STATEDIR")) == NULL) + cg->cups_statedir = confdir; + + if ((cg->localedir = getenv("LOCALEDIR")) == NULL) + cg->localedir = localedir; + + cg->home = getenv("HOME"); + +#else +# ifdef HAVE_GETEUID + if ((geteuid() != getuid() && getuid()) || getegid() != getgid()) +# else + if (!getuid()) +# endif /* HAVE_GETEUID */ + { + /* + * When running setuid/setgid, don't allow environment variables to override + * the directories... + */ + + cg->cups_datadir = CUPS_DATADIR; + cg->cups_serverbin = CUPS_SERVERBIN; + cg->cups_serverroot = CUPS_SERVERROOT; + cg->cups_statedir = CUPS_STATEDIR; + cg->localedir = CUPS_LOCALEDIR; + } + else + { + /* + * Allow directories to be overridden by environment variables. + */ + + if ((cg->cups_datadir = getenv("CUPS_DATADIR")) == NULL) + cg->cups_datadir = CUPS_DATADIR; + + if ((cg->cups_serverbin = getenv("CUPS_SERVERBIN")) == NULL) + cg->cups_serverbin = CUPS_SERVERBIN; + + if ((cg->cups_serverroot = getenv("CUPS_SERVERROOT")) == NULL) + cg->cups_serverroot = CUPS_SERVERROOT; + + if ((cg->cups_statedir = getenv("CUPS_STATEDIR")) == NULL) + cg->cups_statedir = CUPS_STATEDIR; + + if ((cg->localedir = getenv("LOCALEDIR")) == NULL) + cg->localedir = CUPS_LOCALEDIR; + + cg->home = getenv("HOME"); + +# ifdef __APPLE__ /* Sandboxing now exposes the container as the home directory */ + if (cg->home && strstr(cg->home, "/Library/Containers/")) + cg->home = NULL; +# endif /* !__APPLE__ */ + } + + if (!cg->home) + { + struct passwd *pw; /* User info */ + + if ((pw = getpwuid(getuid())) != NULL) + cg->home = _cupsStrAlloc(pw->pw_dir); + } +#endif /* _WIN32 */ + + return (cg); +} + + +/* + * 'cups_globals_free()' - Free global data. + */ + +#if defined(HAVE_PTHREAD_H) || defined(_WIN32) +static void +cups_globals_free(_cups_globals_t *cg) /* I - Pointer to global data */ +{ + _cups_buffer_t *buffer, /* Current read/write buffer */ + *next; /* Next buffer */ + + + if (cg->last_status_message) + _cupsStrFree(cg->last_status_message); + + for (buffer = cg->cups_buffers; buffer; buffer = next) + { + next = buffer->next; + free(buffer); + } + + cupsArrayDelete(cg->leg_size_lut); + cupsArrayDelete(cg->ppd_size_lut); + cupsArrayDelete(cg->pwg_size_lut); + + httpClose(cg->http); + +#ifdef HAVE_SSL + _httpFreeCredentials(cg->tls_credentials); +#endif /* HAVE_SSL */ + + cupsFileClose(cg->stdio_files[0]); + cupsFileClose(cg->stdio_files[1]); + cupsFileClose(cg->stdio_files[2]); + + cupsFreeOptions(cg->cupsd_num_settings, cg->cupsd_settings); + + if (cg->raster_error.start) + free(cg->raster_error.start); + + free(cg); +} +#endif /* HAVE_PTHREAD_H || _WIN32 */ + + +#ifdef HAVE_PTHREAD_H +/* + * 'cups_globals_init()' - Initialize environment variables. + */ + +static void +cups_globals_init(void) +{ + /* + * Register the global data for this thread... + */ + + pthread_key_create(&cups_globals_key, (void (*)(void *))cups_globals_free); +} +#endif /* HAVE_PTHREAD_H */ diff --git a/cups/hash.c b/cups/hash.c new file mode 100644 index 0000000..4fbb443 --- /dev/null +++ b/cups/hash.c @@ -0,0 +1,341 @@ +/* + * Hashing function for CUPS. + * + * Copyright © 2015-2019 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#ifdef __APPLE__ +# include +#elif defined(HAVE_GNUTLS) +# include +# include "md5-internal.h" +#else +# include "md5-internal.h" +#endif /* __APPLE__ */ + + +/* + * 'cupsHashData()' - Perform a hash function on the given data. + * + * The "algorithm" argument can be any of the registered, non-deprecated IPP + * hash algorithms for the "job-password-encryption" attribute, including + * "sha" for SHA-1, "sha-256" for SHA2-256, etc. + * + * The "hash" argument points to a buffer of "hashsize" bytes and should be at + * least 64 bytes in length for all of the supported algorithms. + * + * The returned hash is binary data. + * + * @since CUPS 2.2/macOS 10.12@ + */ + +ssize_t /* O - Size of hash or -1 on error */ +cupsHashData(const char *algorithm, /* I - Algorithm name */ + const void *data, /* I - Data to hash */ + size_t datalen, /* I - Length of data to hash */ + unsigned char *hash, /* I - Hash buffer */ + size_t hashsize) /* I - Size of hash buffer */ +{ + if (!algorithm || !data || datalen == 0 || !hash || hashsize == 0) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad arguments to function"), 1); + return (-1); + } + +#ifdef __APPLE__ + if (!strcmp(algorithm, "md5")) + { + /* + * MD5 (deprecated but widely used...) + */ + + CC_MD5_CTX ctx; /* MD5 context */ + + if (hashsize < CC_MD5_DIGEST_LENGTH) + goto too_small; + + CC_MD5_Init(&ctx); + CC_MD5_Update(&ctx, data, (CC_LONG)datalen); + CC_MD5_Final(hash, &ctx); + + return (CC_MD5_DIGEST_LENGTH); + } + else if (!strcmp(algorithm, "sha")) + { + /* + * SHA-1... + */ + + CC_SHA1_CTX ctx; /* SHA-1 context */ + + if (hashsize < CC_SHA1_DIGEST_LENGTH) + goto too_small; + + CC_SHA1_Init(&ctx); + CC_SHA1_Update(&ctx, data, (CC_LONG)datalen); + CC_SHA1_Final(hash, &ctx); + + return (CC_SHA1_DIGEST_LENGTH); + } + else if (!strcmp(algorithm, "sha2-224")) + { + CC_SHA256_CTX ctx; /* SHA-224 context */ + + if (hashsize < CC_SHA224_DIGEST_LENGTH) + goto too_small; + + CC_SHA224_Init(&ctx); + CC_SHA224_Update(&ctx, data, (CC_LONG)datalen); + CC_SHA224_Final(hash, &ctx); + + return (CC_SHA224_DIGEST_LENGTH); + } + else if (!strcmp(algorithm, "sha2-256")) + { + CC_SHA256_CTX ctx; /* SHA-256 context */ + + if (hashsize < CC_SHA256_DIGEST_LENGTH) + goto too_small; + + CC_SHA256_Init(&ctx); + CC_SHA256_Update(&ctx, data, (CC_LONG)datalen); + CC_SHA256_Final(hash, &ctx); + + return (CC_SHA256_DIGEST_LENGTH); + } + else if (!strcmp(algorithm, "sha2-384")) + { + CC_SHA512_CTX ctx; /* SHA-384 context */ + + if (hashsize < CC_SHA384_DIGEST_LENGTH) + goto too_small; + + CC_SHA384_Init(&ctx); + CC_SHA384_Update(&ctx, data, (CC_LONG)datalen); + CC_SHA384_Final(hash, &ctx); + + return (CC_SHA384_DIGEST_LENGTH); + } + else if (!strcmp(algorithm, "sha2-512")) + { + CC_SHA512_CTX ctx; /* SHA-512 context */ + + if (hashsize < CC_SHA512_DIGEST_LENGTH) + goto too_small; + + CC_SHA512_Init(&ctx); + CC_SHA512_Update(&ctx, data, (CC_LONG)datalen); + CC_SHA512_Final(hash, &ctx); + + return (CC_SHA512_DIGEST_LENGTH); + } + else if (!strcmp(algorithm, "sha2-512_224")) + { + CC_SHA512_CTX ctx; /* SHA-512 context */ + unsigned char temp[CC_SHA512_DIGEST_LENGTH]; + /* SHA-512 hash */ + + /* + * SHA2-512 truncated to 224 bits (28 bytes)... + */ + + if (hashsize < CC_SHA224_DIGEST_LENGTH) + goto too_small; + + CC_SHA512_Init(&ctx); + CC_SHA512_Update(&ctx, data, (CC_LONG)datalen); + CC_SHA512_Final(temp, &ctx); + + memcpy(hash, temp, CC_SHA224_DIGEST_LENGTH); + + return (CC_SHA224_DIGEST_LENGTH); + } + else if (!strcmp(algorithm, "sha2-512_256")) + { + CC_SHA512_CTX ctx; /* SHA-512 context */ + unsigned char temp[CC_SHA512_DIGEST_LENGTH]; + /* SHA-512 hash */ + + /* + * SHA2-512 truncated to 256 bits (32 bytes)... + */ + + if (hashsize < CC_SHA256_DIGEST_LENGTH) + goto too_small; + + CC_SHA512_Init(&ctx); + CC_SHA512_Update(&ctx, data, (CC_LONG)datalen); + CC_SHA512_Final(temp, &ctx); + + memcpy(hash, temp, CC_SHA256_DIGEST_LENGTH); + + return (CC_SHA256_DIGEST_LENGTH); + } + +#elif defined(HAVE_GNUTLS) + gnutls_digest_algorithm_t alg = GNUTLS_DIG_UNKNOWN; + /* Algorithm */ + unsigned char temp[64]; /* Temporary hash buffer */ + size_t tempsize = 0; /* Truncate to this size? */ + + + if (!strcmp(algorithm, "md5")) + { + /* + * Some versions of GNU TLS disable MD5 without warning... + */ + + _cups_md5_state_t state; /* MD5 state info */ + + if (hashsize < 16) + goto too_small; + + _cupsMD5Init(&state); + _cupsMD5Append(&state, data, datalen); + _cupsMD5Finish(&state, hash); + + return (16); + } + else if (!strcmp(algorithm, "sha")) + alg = GNUTLS_DIG_SHA1; + else if (!strcmp(algorithm, "sha2-224")) + alg = GNUTLS_DIG_SHA224; + else if (!strcmp(algorithm, "sha2-256")) + alg = GNUTLS_DIG_SHA256; + else if (!strcmp(algorithm, "sha2-384")) + alg = GNUTLS_DIG_SHA384; + else if (!strcmp(algorithm, "sha2-512")) + alg = GNUTLS_DIG_SHA512; + else if (!strcmp(algorithm, "sha2-512_224")) + { + alg = GNUTLS_DIG_SHA512; + tempsize = 28; + } + else if (!strcmp(algorithm, "sha2-512_256")) + { + alg = GNUTLS_DIG_SHA512; + tempsize = 32; + } + + if (alg != GNUTLS_DIG_UNKNOWN) + { + if (tempsize > 0) + { + /* + * Truncate result to tempsize bytes... + */ + + if (hashsize < tempsize) + goto too_small; + + gnutls_hash_fast(alg, data, datalen, temp); + memcpy(hash, temp, tempsize); + + return ((ssize_t)tempsize); + } + + if (hashsize < gnutls_hash_get_len(alg)) + goto too_small; + + gnutls_hash_fast(alg, data, datalen, hash); + + return ((ssize_t)gnutls_hash_get_len(alg)); + } + +#else + /* + * No hash support beyond MD5 without CommonCrypto or GNU TLS... + */ + + if (!strcmp(algorithm, "md5")) + { + _cups_md5_state_t state; /* MD5 state info */ + + if (hashsize < 16) + goto too_small; + + _cupsMD5Init(&state); + _cupsMD5Append(&state, data, datalen); + _cupsMD5Finish(&state, hash); + + return (16); + } + else if (hashsize < 64) + goto too_small; +#endif /* __APPLE__ */ + + /* + * Unknown hash algorithm... + */ + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown hash algorithm."), 1); + + return (-1); + + /* + * We get here if the buffer is too small. + */ + + too_small: + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Hash buffer too small."), 1); + return (-1); +} + + +/* + * 'cupsHashString()' - Format a hash value as a hexadecimal string. + * + * The passed buffer must be at least 2 * hashsize + 1 characters in length. + * + * @since CUPS 2.2.7@ + */ + +const char * /* O - Formatted string */ +cupsHashString( + const unsigned char *hash, /* I - Hash */ + size_t hashsize, /* I - Size of hash */ + char *buffer, /* I - String buffer */ + size_t bufsize) /* I - Size of string buffer */ +{ + char *bufptr = buffer; /* Pointer into buffer */ + static const char *hex = "0123456789abcdef"; + /* Hex characters (lowercase!) */ + + + /* + * Range check input... + */ + + if (!hash || hashsize < 1 || !buffer || bufsize < (2 * hashsize + 1)) + { + if (buffer) + *buffer = '\0'; + return (NULL); + } + + /* + * Loop until we've converted the whole hash... + */ + + while (hashsize > 0) + { + *bufptr++ = hex[*hash >> 4]; + *bufptr++ = hex[*hash & 15]; + + hash ++; + hashsize --; + } + + *bufptr = '\0'; + + return (buffer); +} diff --git a/cups/http-addr.c b/cups/http-addr.c new file mode 100644 index 0000000..86749c8 --- /dev/null +++ b/cups/http-addr.c @@ -0,0 +1,934 @@ +/* + * HTTP address routines for CUPS. + * + * Copyright 2007-2019 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include +#ifdef HAVE_RESOLV_H +# include +#endif /* HAVE_RESOLV_H */ +#ifdef __APPLE__ +# include +# ifdef HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME +# include +# endif /* HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME */ +#endif /* __APPLE__ */ + + +/* + * 'httpAddrAny()' - Check for the "any" address. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 1 if "any", 0 otherwise */ +httpAddrAny(const http_addr_t *addr) /* I - Address to check */ +{ + if (!addr) + return (0); + +#ifdef AF_INET6 + if (addr->addr.sa_family == AF_INET6 && + IN6_IS_ADDR_UNSPECIFIED(&(addr->ipv6.sin6_addr))) + return (1); +#endif /* AF_INET6 */ + + if (addr->addr.sa_family == AF_INET && + ntohl(addr->ipv4.sin_addr.s_addr) == 0x00000000) + return (1); + + return (0); +} + + +/* + * 'httpAddrClose()' - Close a socket created by @link httpAddrConnect@ or + * @link httpAddrListen@. + * + * Pass @code NULL@ for sockets created with @link httpAddrConnect2@ and the + * listen address for sockets created with @link httpAddrListen@. This function + * ensures that domain sockets are removed when closed. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 0 on success, -1 on failure */ +httpAddrClose(http_addr_t *addr, /* I - Listen address or @code NULL@ */ + int fd) /* I - Socket file descriptor */ +{ +#ifdef _WIN32 + if (closesocket(fd)) +#else + if (close(fd)) +#endif /* _WIN32 */ + return (-1); + +#ifdef AF_LOCAL + if (addr && addr->addr.sa_family == AF_LOCAL) + return (unlink(addr->un.sun_path)); +#endif /* AF_LOCAL */ + + return (0); +} + + +/* + * 'httpAddrEqual()' - Compare two addresses. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 1 if equal, 0 if not */ +httpAddrEqual(const http_addr_t *addr1, /* I - First address */ + const http_addr_t *addr2) /* I - Second address */ +{ + if (!addr1 && !addr2) + return (1); + + if (!addr1 || !addr2) + return (0); + + if (addr1->addr.sa_family != addr2->addr.sa_family) + return (0); + +#ifdef AF_LOCAL + if (addr1->addr.sa_family == AF_LOCAL) + return (!strcmp(addr1->un.sun_path, addr2->un.sun_path)); +#endif /* AF_LOCAL */ + +#ifdef AF_INET6 + if (addr1->addr.sa_family == AF_INET6) + return (!memcmp(&(addr1->ipv6.sin6_addr), &(addr2->ipv6.sin6_addr), 16)); +#endif /* AF_INET6 */ + + return (addr1->ipv4.sin_addr.s_addr == addr2->ipv4.sin_addr.s_addr); +} + + +/* + * 'httpAddrLength()' - Return the length of the address in bytes. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - Length in bytes */ +httpAddrLength(const http_addr_t *addr) /* I - Address */ +{ + if (!addr) + return (0); + +#ifdef AF_INET6 + if (addr->addr.sa_family == AF_INET6) + return (sizeof(addr->ipv6)); + else +#endif /* AF_INET6 */ +#ifdef AF_LOCAL + if (addr->addr.sa_family == AF_LOCAL) + return ((int)(offsetof(struct sockaddr_un, sun_path) + strlen(addr->un.sun_path) + 1)); + else +#endif /* AF_LOCAL */ + if (addr->addr.sa_family == AF_INET) + return (sizeof(addr->ipv4)); + else + return (0); + +} + + +/* + * 'httpAddrListen()' - Create a listening socket bound to the specified + * address and port. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - Socket or -1 on error */ +httpAddrListen(http_addr_t *addr, /* I - Address to bind to */ + int port) /* I - Port number to bind to */ +{ + int fd = -1, /* Socket */ + val, /* Socket value */ + status; /* Bind status */ + + + /* + * Range check input... + */ + + if (!addr || port < 0) + return (-1); + + /* + * Create the socket and set options... + */ + + if ((fd = socket(addr->addr.sa_family, SOCK_STREAM, 0)) < 0) + { + _cupsSetHTTPError(HTTP_STATUS_ERROR); + return (-1); + } + + val = 1; + setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, CUPS_SOCAST &val, sizeof(val)); + +#ifdef IPV6_V6ONLY + if (addr->addr.sa_family == AF_INET6) + setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, CUPS_SOCAST &val, sizeof(val)); +#endif /* IPV6_V6ONLY */ + + /* + * Bind the socket... + */ + +#ifdef AF_LOCAL + if (addr->addr.sa_family == AF_LOCAL) + { + mode_t mask; /* Umask setting */ + + /* + * Remove any existing domain socket file... + */ + + unlink(addr->un.sun_path); + + /* + * Save the current umask and set it to 0 so that all users can access + * the domain socket... + */ + + mask = umask(0); + + /* + * Bind the domain socket... + */ + + status = bind(fd, (struct sockaddr *)addr, (socklen_t)httpAddrLength(addr)); + + /* + * Restore the umask and fix permissions... + */ + + umask(mask); + chmod(addr->un.sun_path, 0140777); + } + else +#endif /* AF_LOCAL */ + { + _httpAddrSetPort(addr, port); + + status = bind(fd, (struct sockaddr *)addr, (socklen_t)httpAddrLength(addr)); + } + + if (status) + { + _cupsSetHTTPError(HTTP_STATUS_ERROR); + + close(fd); + + return (-1); + } + + /* + * Listen... + */ + + if (listen(fd, 5)) + { + _cupsSetHTTPError(HTTP_STATUS_ERROR); + + close(fd); + + return (-1); + } + + /* + * Close on exec... + */ + +#ifndef _WIN32 + fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); +#endif /* !_WIN32 */ + +#ifdef SO_NOSIGPIPE + /* + * Disable SIGPIPE for this socket. + */ + + val = 1; + setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, CUPS_SOCAST &val, sizeof(val)); +#endif /* SO_NOSIGPIPE */ + + return (fd); +} + + +/* + * 'httpAddrLocalhost()' - Check for the local loopback address. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 1 if local host, 0 otherwise */ +httpAddrLocalhost( + const http_addr_t *addr) /* I - Address to check */ +{ + if (!addr) + return (1); + +#ifdef AF_INET6 + if (addr->addr.sa_family == AF_INET6 && + IN6_IS_ADDR_LOOPBACK(&(addr->ipv6.sin6_addr))) + return (1); +#endif /* AF_INET6 */ + +#ifdef AF_LOCAL + if (addr->addr.sa_family == AF_LOCAL) + return (1); +#endif /* AF_LOCAL */ + + if (addr->addr.sa_family == AF_INET && + (ntohl(addr->ipv4.sin_addr.s_addr) & 0xff000000) == 0x7f000000) + return (1); + + return (0); +} + + +/* + * 'httpAddrLookup()' - Lookup the hostname associated with the address. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +char * /* O - Host name */ +httpAddrLookup( + const http_addr_t *addr, /* I - Address to lookup */ + char *name, /* I - Host name buffer */ + int namelen) /* I - Size of name buffer */ +{ + _cups_globals_t *cg = _cupsGlobals(); + /* Global data */ + + + DEBUG_printf(("httpAddrLookup(addr=%p, name=%p, namelen=%d)", (void *)addr, (void *)name, namelen)); + + /* + * Range check input... + */ + + if (!addr || !name || namelen <= 2) + { + if (name && namelen >= 1) + *name = '\0'; + + return (NULL); + } + +#ifdef AF_LOCAL + if (addr->addr.sa_family == AF_LOCAL) + { + strlcpy(name, addr->un.sun_path, (size_t)namelen); + return (name); + } +#endif /* AF_LOCAL */ + + /* + * Optimize lookups for localhost/loopback addresses... + */ + + if (httpAddrLocalhost(addr)) + { + strlcpy(name, "localhost", (size_t)namelen); + return (name); + } + +#ifdef HAVE_RES_INIT + /* + * STR #2920: Initialize resolver after failure in cups-polld + * + * If the previous lookup failed, re-initialize the resolver to prevent + * temporary network errors from persisting. This *should* be handled by + * the resolver libraries, but apparently the glibc folks do not agree. + * + * We set a flag at the end of this function if we encounter an error that + * requires reinitialization of the resolver functions. We then call + * res_init() if the flag is set on the next call here or in httpAddrLookup(). + */ + + if (cg->need_res_init) + { + res_init(); + + cg->need_res_init = 0; + } +#endif /* HAVE_RES_INIT */ + +#ifdef HAVE_GETNAMEINFO + { + /* + * STR #2486: httpAddrLookup() fails when getnameinfo() returns EAI_AGAIN + * + * FWIW, I think this is really a bug in the implementation of + * getnameinfo(), but falling back on httpAddrString() is easy to + * do... + */ + + int error = getnameinfo(&addr->addr, (socklen_t)httpAddrLength(addr), name, (socklen_t)namelen, NULL, 0, 0); + + if (error) + { + if (error == EAI_FAIL) + cg->need_res_init = 1; + + return (httpAddrString(addr, name, namelen)); + } + } +#else + { + struct hostent *host; /* Host from name service */ + + +# ifdef AF_INET6 + if (addr->addr.sa_family == AF_INET6) + host = gethostbyaddr((char *)&(addr->ipv6.sin6_addr), + sizeof(struct in_addr), AF_INET6); + else +# endif /* AF_INET6 */ + host = gethostbyaddr((char *)&(addr->ipv4.sin_addr), + sizeof(struct in_addr), AF_INET); + + if (host == NULL) + { + /* + * No hostname, so return the raw address... + */ + + if (h_errno == NO_RECOVERY) + cg->need_res_init = 1; + + return (httpAddrString(addr, name, namelen)); + } + + strlcpy(name, host->h_name, (size_t)namelen); + } +#endif /* HAVE_GETNAMEINFO */ + + DEBUG_printf(("1httpAddrLookup: returning \"%s\"...", name)); + + return (name); +} + + +/* + * 'httpAddrFamily()' - Get the address family of an address. + */ + +int /* O - Address family */ +httpAddrFamily(http_addr_t *addr) /* I - Address */ +{ + if (addr) + return (addr->addr.sa_family); + else + return (0); +} + + +/* + * 'httpAddrPort()' - Get the port number associated with an address. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - Port number */ +httpAddrPort(http_addr_t *addr) /* I - Address */ +{ + if (!addr) + return (-1); +#ifdef AF_INET6 + else if (addr->addr.sa_family == AF_INET6) + return (ntohs(addr->ipv6.sin6_port)); +#endif /* AF_INET6 */ + else if (addr->addr.sa_family == AF_INET) + return (ntohs(addr->ipv4.sin_port)); + else + return (0); +} + + +/* + * '_httpAddrSetPort()' - Set the port number associated with an address. + */ + +void +_httpAddrSetPort(http_addr_t *addr, /* I - Address */ + int port) /* I - Port */ +{ + if (!addr || port <= 0) + return; + +#ifdef AF_INET6 + if (addr->addr.sa_family == AF_INET6) + addr->ipv6.sin6_port = htons(port); + else +#endif /* AF_INET6 */ + if (addr->addr.sa_family == AF_INET) + addr->ipv4.sin_port = htons(port); +} + + +/* + * 'httpAddrString()' - Convert an address to a numeric string. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +char * /* O - Numeric address string */ +httpAddrString(const http_addr_t *addr, /* I - Address to convert */ + char *s, /* I - String buffer */ + int slen) /* I - Length of string */ +{ + DEBUG_printf(("httpAddrString(addr=%p, s=%p, slen=%d)", (void *)addr, (void *)s, slen)); + + /* + * Range check input... + */ + + if (!addr || !s || slen <= 2) + { + if (s && slen >= 1) + *s = '\0'; + + return (NULL); + } + +#ifdef AF_LOCAL + if (addr->addr.sa_family == AF_LOCAL) + { + if (addr->un.sun_path[0] == '/') + strlcpy(s, addr->un.sun_path, (size_t)slen); + else + strlcpy(s, "localhost", (size_t)slen); + } + else +#endif /* AF_LOCAL */ + if (addr->addr.sa_family == AF_INET) + { + unsigned temp; /* Temporary address */ + + temp = ntohl(addr->ipv4.sin_addr.s_addr); + + snprintf(s, (size_t)slen, "%d.%d.%d.%d", (temp >> 24) & 255, + (temp >> 16) & 255, (temp >> 8) & 255, temp & 255); + } +#ifdef AF_INET6 + else if (addr->addr.sa_family == AF_INET6) + { + char *sptr, /* Pointer into string */ + temps[64]; /* Temporary string for address */ + +# ifdef HAVE_GETNAMEINFO + if (getnameinfo(&addr->addr, (socklen_t)httpAddrLength(addr), temps, sizeof(temps), NULL, 0, NI_NUMERICHOST)) + { + /* + * If we get an error back, then the address type is not supported + * and we should zero out the buffer... + */ + + s[0] = '\0'; + + return (NULL); + } + else if ((sptr = strchr(temps, '%')) != NULL) + { + /* + * Convert "%zone" to "+zone" to match URI form... + */ + + *sptr = '+'; + } + +# else + int i; /* Looping var */ + unsigned temp; /* Current value */ + const char *prefix; /* Prefix for address */ + + + prefix = ""; + for (sptr = temps, i = 0; i < 4 && addr->ipv6.sin6_addr.s6_addr32[i]; i ++) + { + temp = ntohl(addr->ipv6.sin6_addr.s6_addr32[i]); + + snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, (temp >> 16) & 0xffff); + prefix = ":"; + sptr += strlen(sptr); + + temp &= 0xffff; + + if (temp || i == 3 || addr->ipv6.sin6_addr.s6_addr32[i + 1]) + { + snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, temp); + sptr += strlen(sptr); + } + } + + if (i < 4) + { + while (i < 4 && !addr->ipv6.sin6_addr.s6_addr32[i]) + i ++; + + if (i < 4) + { + snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s:", prefix); + prefix = ":"; + sptr += strlen(sptr); + + for (; i < 4; i ++) + { + temp = ntohl(addr->ipv6.sin6_addr.s6_addr32[i]); + + if ((temp & 0xffff0000) || + (i > 0 && addr->ipv6.sin6_addr.s6_addr32[i - 1])) + { + snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, (temp >> 16) & 0xffff); + sptr += strlen(sptr); + } + + snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, temp & 0xffff); + sptr += strlen(sptr); + } + } + else if (sptr == s) + { + /* + * Empty address... + */ + + strlcpy(temps, "::", sizeof(temps)); + } + else + { + /* + * Empty at end... + */ + + strlcpy(sptr, "::", sizeof(temps) - (size_t)(sptr - temps)); + } + } +# endif /* HAVE_GETNAMEINFO */ + + /* + * Add "[v1." and "]" around IPv6 address to convert to URI form. + */ + + snprintf(s, (size_t)slen, "[v1.%s]", temps); + } +#endif /* AF_INET6 */ + else + strlcpy(s, "UNKNOWN", (size_t)slen); + + DEBUG_printf(("1httpAddrString: returning \"%s\"...", s)); + + return (s); +} + + +/* + * 'httpGetAddress()' - Get the address of the connected peer of a connection. + * + * For connections created with @link httpConnect2@, the address is for the + * server. For connections created with @link httpAccept@, the address is for + * the client. + * + * Returns @code NULL@ if the socket is currently unconnected. + * + * @since CUPS 2.0/OS 10.10@ + */ + +http_addr_t * /* O - Connected address or @code NULL@ */ +httpGetAddress(http_t *http) /* I - HTTP connection */ +{ + if (http) + return (http->hostaddr); + else + return (NULL); +} + + +/* + * 'httpGetHostByName()' - Lookup a hostname or IPv4 address, and return + * address records for the specified name. + * + * @deprecated@ @exclude all@ + */ + +struct hostent * /* O - Host entry */ +httpGetHostByName(const char *name) /* I - Hostname or IP address */ +{ + const char *nameptr; /* Pointer into name */ + unsigned ip[4]; /* IP address components */ + _cups_globals_t *cg = _cupsGlobals(); + /* Pointer to library globals */ + + + DEBUG_printf(("httpGetHostByName(name=\"%s\")", name)); + + /* + * Avoid lookup delays and configuration problems when connecting + * to the localhost address... + */ + + if (!strcmp(name, "localhost")) + name = "127.0.0.1"; + + /* + * This function is needed because some operating systems have a + * buggy implementation of gethostbyname() that does not support + * IP addresses. If the first character of the name string is a + * number, then sscanf() is used to extract the IP components. + * We then pack the components into an IPv4 address manually, + * since the inet_aton() function is deprecated. We use the + * htonl() macro to get the right byte order for the address. + * + * We also support domain sockets when supported by the underlying + * OS... + */ + +#ifdef AF_LOCAL + if (name[0] == '/') + { + /* + * A domain socket address, so make an AF_LOCAL entry and return it... + */ + + cg->hostent.h_name = (char *)name; + cg->hostent.h_aliases = NULL; + cg->hostent.h_addrtype = AF_LOCAL; + cg->hostent.h_length = (int)strlen(name) + 1; + cg->hostent.h_addr_list = cg->ip_ptrs; + cg->ip_ptrs[0] = (char *)name; + cg->ip_ptrs[1] = NULL; + + DEBUG_puts("1httpGetHostByName: returning domain socket address..."); + + return (&cg->hostent); + } +#endif /* AF_LOCAL */ + + for (nameptr = name; isdigit(*nameptr & 255) || *nameptr == '.'; nameptr ++); + + if (!*nameptr) + { + /* + * We have an IPv4 address; break it up and provide the host entry + * to the caller. + */ + + if (sscanf(name, "%u.%u.%u.%u", ip, ip + 1, ip + 2, ip + 3) != 4) + return (NULL); /* Must have 4 numbers */ + + if (ip[0] > 255 || ip[1] > 255 || ip[2] > 255 || ip[3] > 255) + return (NULL); /* Invalid byte ranges! */ + + cg->ip_addr = htonl((((((((unsigned)ip[0] << 8) | (unsigned)ip[1]) << 8) | + (unsigned)ip[2]) << 8) | + (unsigned)ip[3])); + + /* + * Fill in the host entry and return it... + */ + + cg->hostent.h_name = (char *)name; + cg->hostent.h_aliases = NULL; + cg->hostent.h_addrtype = AF_INET; + cg->hostent.h_length = 4; + cg->hostent.h_addr_list = cg->ip_ptrs; + cg->ip_ptrs[0] = (char *)&(cg->ip_addr); + cg->ip_ptrs[1] = NULL; + + DEBUG_puts("1httpGetHostByName: returning IPv4 address..."); + + return (&cg->hostent); + } + else + { + /* + * Use the gethostbyname() function to get the IPv4 address for + * the name... + */ + + DEBUG_puts("1httpGetHostByName: returning domain lookup address(es)..."); + + return (gethostbyname(name)); + } +} + + +/* + * 'httpGetHostname()' - Get the FQDN for the connection or local system. + * + * When "http" points to a connected socket, return the hostname or + * address that was used in the call to httpConnect() or httpConnectEncrypt(), + * or the address of the client for the connection from httpAcceptConnection(). + * Otherwise, return the FQDN for the local system using both gethostname() + * and gethostbyname() to get the local hostname with domain. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +const char * /* O - FQDN for connection or system */ +httpGetHostname(http_t *http, /* I - HTTP connection or NULL */ + char *s, /* I - String buffer for name */ + int slen) /* I - Size of buffer */ +{ + if (http) + { + if (!s || slen <= 1) + { + if (http->hostname[0] == '/') + return ("localhost"); + else + return (http->hostname); + } + else if (http->hostname[0] == '/') + strlcpy(s, "localhost", (size_t)slen); + else + strlcpy(s, http->hostname, (size_t)slen); + } + else + { + /* + * Get the hostname... + */ + + if (!s || slen <= 1) + return (NULL); + + if (gethostname(s, (size_t)slen) < 0) + strlcpy(s, "localhost", (size_t)slen); + + if (!strchr(s, '.')) + { +#ifdef HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME + /* + * The hostname is not a FQDN, so use the local hostname from the + * SystemConfiguration framework... + */ + + SCDynamicStoreRef sc = SCDynamicStoreCreate(kCFAllocatorDefault, + CFSTR("libcups"), NULL, NULL); + /* System configuration data */ + CFStringRef local = sc ? SCDynamicStoreCopyLocalHostName(sc) : NULL; + /* Local host name */ + char localStr[1024]; /* Local host name C string */ + + if (local && CFStringGetCString(local, localStr, sizeof(localStr), + kCFStringEncodingUTF8)) + { + /* + * Append ".local." to the hostname we get... + */ + + snprintf(s, (size_t)slen, "%s.local.", localStr); + } + + if (local) + CFRelease(local); + if (sc) + CFRelease(sc); + +#else + /* + * The hostname is not a FQDN, so look it up... + */ + + struct hostent *host; /* Host entry to get FQDN */ + + if ((host = gethostbyname(s)) != NULL && host->h_name) + { + /* + * Use the resolved hostname... + */ + + strlcpy(s, host->h_name, (size_t)slen); + } +#endif /* HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME */ + } + + /* + * Make sure .local hostnames end with a period... + */ + + if (strlen(s) > 6 && !strcmp(s + strlen(s) - 6, ".local")) + strlcat(s, ".", (size_t)slen); + } + + /* + * Convert the hostname to lowercase as needed... + */ + + if (s[0] != '/') + { + char *ptr; /* Pointer into string */ + + for (ptr = s; *ptr; ptr ++) + *ptr = (char)_cups_tolower((int)*ptr); + } + + /* + * Return the hostname with as much domain info as we have... + */ + + return (s); +} + + +/* + * 'httpResolveHostname()' - Resolve the hostname of the HTTP connection + * address. + * + * @since CUPS 2.0/OS 10.10@ + */ + +const char * /* O - Resolved hostname or @code NULL@ */ +httpResolveHostname(http_t *http, /* I - HTTP connection */ + char *buffer, /* I - Hostname buffer */ + size_t bufsize) /* I - Size of buffer */ +{ + if (!http) + return (NULL); + + if (isdigit(http->hostname[0] & 255) || http->hostname[0] == '[') + { + char temp[1024]; /* Temporary string */ + + if (httpAddrLookup(http->hostaddr, temp, sizeof(temp))) + strlcpy(http->hostname, temp, sizeof(http->hostname)); + else + return (NULL); + } + + if (buffer) + { + if (http->hostname[0] == '/') + strlcpy(buffer, "localhost", bufsize); + else + strlcpy(buffer, http->hostname, bufsize); + + return (buffer); + } + else if (http->hostname[0] == '/') + return ("localhost"); + else + return (http->hostname); +} diff --git a/cups/http-addrlist.c b/cups/http-addrlist.c new file mode 100644 index 0000000..485c6f4 --- /dev/null +++ b/cups/http-addrlist.c @@ -0,0 +1,954 @@ +/* + * HTTP address list routines for CUPS. + * + * Copyright 2007-2018 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#ifdef HAVE_RESOLV_H +# include +#endif /* HAVE_RESOLV_H */ +#ifdef HAVE_POLL +# include +#endif /* HAVE_POLL */ +#ifndef _WIN32 +# include +#endif /* _WIN32 */ + + +/* + * 'httpAddrConnect()' - Connect to any of the addresses in the list. + * + * @since CUPS 1.2/macOS 10.5@ @exclude all@ + */ + +http_addrlist_t * /* O - Connected address or NULL on failure */ +httpAddrConnect( + http_addrlist_t *addrlist, /* I - List of potential addresses */ + int *sock) /* O - Socket */ +{ + DEBUG_printf(("httpAddrConnect(addrlist=%p, sock=%p)", (void *)addrlist, (void *)sock)); + + return (httpAddrConnect2(addrlist, sock, 30000, NULL)); +} + + +/* + * 'httpAddrConnect2()' - Connect to any of the addresses in the list with a + * timeout and optional cancel. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +http_addrlist_t * /* O - Connected address or NULL on failure */ +httpAddrConnect2( + http_addrlist_t *addrlist, /* I - List of potential addresses */ + int *sock, /* O - Socket */ + int msec, /* I - Timeout in milliseconds */ + int *cancel) /* I - Pointer to "cancel" variable */ +{ + int val; /* Socket option value */ +#ifndef _WIN32 + int i, j, /* Looping vars */ + flags, /* Socket flags */ + result; /* Result from select() or poll() */ +#endif /* !_WIN32 */ + int remaining; /* Remaining timeout */ + int nfds, /* Number of file descriptors */ + fds[100]; /* Socket file descriptors */ + http_addrlist_t *addrs[100]; /* Addresses */ +#ifndef HAVE_POLL + int max_fd = -1; /* Highest file descriptor */ +#endif /* !HAVE_POLL */ +#ifdef O_NONBLOCK +# ifdef HAVE_POLL + struct pollfd pfds[100]; /* Polled file descriptors */ +# else + fd_set input_set, /* select() input set */ + output_set, /* select() output set */ + error_set; /* select() error set */ + struct timeval timeout; /* Timeout */ +# endif /* HAVE_POLL */ +#endif /* O_NONBLOCK */ +#ifdef DEBUG +# ifndef _WIN32 + socklen_t len; /* Length of value */ + http_addr_t peer; /* Peer address */ +# endif /* !_WIN32 */ + char temp[256]; /* Temporary address string */ +#endif /* DEBUG */ + + + DEBUG_printf(("httpAddrConnect2(addrlist=%p, sock=%p, msec=%d, cancel=%p)", (void *)addrlist, (void *)sock, msec, (void *)cancel)); + + if (!sock) + { + errno = EINVAL; + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + return (NULL); + } + + if (cancel && *cancel) + return (NULL); + + if (msec <= 0) + msec = INT_MAX; + + /* + * Loop through each address until we connect or run out of addresses... + */ + + nfds = 0; + remaining = msec; + + while (remaining > 0) + { + if (cancel && *cancel) + { + while (nfds > 0) + { + nfds --; + httpAddrClose(NULL, fds[nfds]); + } + + return (NULL); + } + + if (addrlist && nfds < (int)(sizeof(fds) / sizeof(fds[0]))) + { + /* + * Create the socket... + */ + + DEBUG_printf(("2httpAddrConnect2: Trying %s:%d...", httpAddrString(&(addrlist->addr), temp, sizeof(temp)), httpAddrPort(&(addrlist->addr)))); + + if ((fds[nfds] = (int)socket(httpAddrFamily(&(addrlist->addr)), SOCK_STREAM, 0)) < 0) + { + /* + * Don't abort yet, as this could just be an issue with the local + * system not being configured with IPv4/IPv6/domain socket enabled. + * + * Just skip this address... + */ + + addrlist = addrlist->next; + continue; + } + + /* + * Set options... + */ + + val = 1; + setsockopt(fds[nfds], SOL_SOCKET, SO_REUSEADDR, CUPS_SOCAST &val, sizeof(val)); + +#ifdef SO_REUSEPORT + val = 1; + setsockopt(fds[nfds], SOL_SOCKET, SO_REUSEPORT, CUPS_SOCAST &val, sizeof(val)); +#endif /* SO_REUSEPORT */ + +#ifdef SO_NOSIGPIPE + val = 1; + setsockopt(fds[nfds], SOL_SOCKET, SO_NOSIGPIPE, CUPS_SOCAST &val, sizeof(val)); +#endif /* SO_NOSIGPIPE */ + + /* + * Using TCP_NODELAY improves responsiveness, especially on systems + * with a slow loopback interface... + */ + + val = 1; + setsockopt(fds[nfds], IPPROTO_TCP, TCP_NODELAY, CUPS_SOCAST &val, sizeof(val)); + +#ifdef FD_CLOEXEC + /* + * Close this socket when starting another process... + */ + + fcntl(fds[nfds], F_SETFD, FD_CLOEXEC); +#endif /* FD_CLOEXEC */ + +#ifdef O_NONBLOCK + /* + * Do an asynchronous connect by setting the socket non-blocking... + */ + + DEBUG_printf(("httpAddrConnect2: Setting non-blocking connect()")); + + flags = fcntl(fds[nfds], F_GETFL, 0); + fcntl(fds[nfds], F_SETFL, flags | O_NONBLOCK); +#endif /* O_NONBLOCK */ + + /* + * Then connect... + */ + + if (!connect(fds[nfds], &(addrlist->addr.addr), (socklen_t)httpAddrLength(&(addrlist->addr)))) + { + DEBUG_printf(("1httpAddrConnect2: Connected to %s:%d...", httpAddrString(&(addrlist->addr), temp, sizeof(temp)), httpAddrPort(&(addrlist->addr)))); + +#ifdef O_NONBLOCK + fcntl(fds[nfds], F_SETFL, flags); +#endif /* O_NONBLOCK */ + + *sock = fds[nfds]; + + while (nfds > 0) + { + nfds --; + httpAddrClose(NULL, fds[nfds]); + } + + return (addrlist); + } + +#ifdef _WIN32 + if (WSAGetLastError() != WSAEINPROGRESS && WSAGetLastError() != WSAEWOULDBLOCK) +#else + if (errno != EINPROGRESS && errno != EWOULDBLOCK) +#endif /* _WIN32 */ + { + DEBUG_printf(("1httpAddrConnect2: Unable to connect to %s:%d: %s", httpAddrString(&(addrlist->addr), temp, sizeof(temp)), httpAddrPort(&(addrlist->addr)), strerror(errno))); + httpAddrClose(NULL, fds[nfds]); + addrlist = addrlist->next; + continue; + } + +#ifndef _WIN32 + fcntl(fds[nfds], F_SETFL, flags); +#endif /* !_WIN32 */ + +#ifndef HAVE_POLL + if (fds[nfds] > max_fd) + max_fd = fds[nfds]; +#endif /* !HAVE_POLL */ + + addrs[nfds] = addrlist; + nfds ++; + addrlist = addrlist->next; + } + + if (!addrlist && nfds == 0) + break; + + /* + * See if we can connect to any of the addresses so far... + */ + +#ifdef O_NONBLOCK + DEBUG_puts("1httpAddrConnect2: Finishing async connect()"); + + do + { + if (cancel && *cancel) + { + /* + * Close this socket and return... + */ + + DEBUG_puts("1httpAddrConnect2: Canceled connect()"); + + while (nfds > 0) + { + nfds --; + httpAddrClose(NULL, fds[nfds]); + } + + *sock = -1; + + return (NULL); + } + +# ifdef HAVE_POLL + for (i = 0; i < nfds; i ++) + { + pfds[i].fd = fds[i]; + pfds[i].events = POLLIN | POLLOUT; + } + + result = poll(pfds, (nfds_t)nfds, addrlist ? 100 : remaining > 250 ? 250 : remaining); + + DEBUG_printf(("1httpAddrConnect2: poll() returned %d (%d)", result, errno)); + +# else + FD_ZERO(&input_set); + for (i = 0; i < nfds; i ++) + FD_SET(fds[i], &input_set); + output_set = input_set; + error_set = input_set; + + timeout.tv_sec = 0; + timeout.tv_usec = (addrlist ? 100 : remaining > 250 ? 250 : remaining) * 1000; + + result = select(max_fd + 1, &input_set, &output_set, &error_set, &timeout); + + DEBUG_printf(("1httpAddrConnect2: select() returned %d (%d)", result, errno)); +# endif /* HAVE_POLL */ + } +# ifdef _WIN32 + while (result < 0 && (WSAGetLastError() == WSAEINTR || WSAGetLastError() == WSAEWOULDBLOCK)); +# else + while (result < 0 && (errno == EINTR || errno == EAGAIN)); +# endif /* _WIN32 */ + + if (result > 0) + { + http_addrlist_t *connaddr = NULL; /* Connected address, if any */ + + for (i = 0; i < nfds; i ++) + { +# ifdef HAVE_POLL + DEBUG_printf(("pfds[%d].revents=%x\n", i, pfds[i].revents)); + if (pfds[i].revents && !(pfds[i].revents & (POLLERR | POLLHUP))) +# else + if (FD_ISSET(fds[i], &input_set) && !FD_ISSET(fds[i], &error_set)) +# endif /* HAVE_POLL */ + { + *sock = fds[i]; + connaddr = addrs[i]; + +# ifdef DEBUG + len = sizeof(peer); + if (!getpeername(fds[i], (struct sockaddr *)&peer, &len)) + DEBUG_printf(("1httpAddrConnect2: Connected to %s:%d...", httpAddrString(&peer, temp, sizeof(temp)), httpAddrPort(&peer))); +# endif /* DEBUG */ + + break; + } +# ifdef HAVE_POLL + else if (pfds[i].revents & (POLLERR | POLLHUP)) +# else + else if (FD_ISSET(fds[i], &error_set)) +# endif /* HAVE_POLL */ + { + /* + * Error on socket, remove from the "pool"... + */ + + httpAddrClose(NULL, fds[i]); + nfds --; + if (i < nfds) + { + memmove(fds + i, fds + i + 1, (size_t)(nfds - i) * (sizeof(fds[0]))); + memmove(addrs + i, addrs + i + 1, (size_t)(nfds - i) * (sizeof(addrs[0]))); + } + i --; + } + } + + if (connaddr) + { + /* + * Connected on one address, close all of the other sockets we have so + * far and return... + */ + + for (j = 0; j < i; j ++) + httpAddrClose(NULL, fds[j]); + + for (j ++; j < nfds; j ++) + httpAddrClose(NULL, fds[j]); + + return (connaddr); + } + } +#endif /* O_NONBLOCK */ + + if (addrlist) + remaining -= 100; + else + remaining -= 250; + } + + while (nfds > 0) + { + nfds --; + httpAddrClose(NULL, fds[nfds]); + } + +#ifdef _WIN32 + _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, "Connection failed", 0); +#else + _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, strerror(errno), 0); +#endif /* _WIN32 */ + + return (NULL); +} + + +/* + * 'httpAddrCopyList()' - Copy an address list. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +http_addrlist_t * /* O - New address list or @code NULL@ on error */ +httpAddrCopyList( + http_addrlist_t *src) /* I - Source address list */ +{ + http_addrlist_t *dst = NULL, /* First list entry */ + *prev = NULL, /* Previous list entry */ + *current = NULL;/* Current list entry */ + + + while (src) + { + if ((current = malloc(sizeof(http_addrlist_t))) == NULL) + { + current = dst; + + while (current) + { + prev = current; + current = current->next; + + free(prev); + } + + return (NULL); + } + + memcpy(current, src, sizeof(http_addrlist_t)); + + current->next = NULL; + + if (prev) + prev->next = current; + else + dst = current; + + prev = current; + src = src->next; + } + + return (dst); +} + + +/* + * 'httpAddrFreeList()' - Free an address list. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void +httpAddrFreeList( + http_addrlist_t *addrlist) /* I - Address list to free */ +{ + http_addrlist_t *next; /* Next address in list */ + + + /* + * Free each address in the list... + */ + + while (addrlist) + { + next = addrlist->next; + + free(addrlist); + + addrlist = next; + } +} + + +/* + * 'httpAddrGetList()' - Get a list of addresses for a hostname. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +http_addrlist_t * /* O - List of addresses or NULL */ +httpAddrGetList(const char *hostname, /* I - Hostname, IP address, or NULL for passive listen address */ + int family, /* I - Address family or AF_UNSPEC */ + const char *service) /* I - Service name or port number */ +{ + http_addrlist_t *first, /* First address in list */ + *addr, /* Current address in list */ + *temp; /* New address */ + _cups_globals_t *cg = _cupsGlobals(); + /* Global data */ + + +#ifdef DEBUG + _cups_debug_printf("httpAddrGetList(hostname=\"%s\", family=AF_%s, " + "service=\"%s\")\n", + hostname ? hostname : "(nil)", + family == AF_UNSPEC ? "UNSPEC" : +# ifdef AF_LOCAL + family == AF_LOCAL ? "LOCAL" : +# endif /* AF_LOCAL */ +# ifdef AF_INET6 + family == AF_INET6 ? "INET6" : +# endif /* AF_INET6 */ + family == AF_INET ? "INET" : "???", service); +#endif /* DEBUG */ + +#ifdef HAVE_RES_INIT + /* + * STR #2920: Initialize resolver after failure in cups-polld + * + * If the previous lookup failed, re-initialize the resolver to prevent + * temporary network errors from persisting. This *should* be handled by + * the resolver libraries, but apparently the glibc folks do not agree. + * + * We set a flag at the end of this function if we encounter an error that + * requires reinitialization of the resolver functions. We then call + * res_init() if the flag is set on the next call here or in httpAddrLookup(). + */ + + if (cg->need_res_init) + { + res_init(); + + cg->need_res_init = 0; + } +#endif /* HAVE_RES_INIT */ + + /* + * Lookup the address the best way we can... + */ + + first = addr = NULL; + +#ifdef AF_LOCAL + if (hostname && hostname[0] == '/') + { + /* + * Domain socket address... + */ + + if ((first = (http_addrlist_t *)calloc(1, sizeof(http_addrlist_t))) != NULL) + { + addr = first; + first->addr.un.sun_family = AF_LOCAL; + strlcpy(first->addr.un.sun_path, hostname, sizeof(first->addr.un.sun_path)); + } + } + else +#endif /* AF_LOCAL */ + if (!hostname || _cups_strcasecmp(hostname, "localhost")) + { +#ifdef HAVE_GETADDRINFO + struct addrinfo hints, /* Address lookup hints */ + *results, /* Address lookup results */ + *current; /* Current result */ + char ipv6[64], /* IPv6 address */ + *ipv6zone; /* Pointer to zone separator */ + int ipv6len; /* Length of IPv6 address */ + int error; /* getaddrinfo() error */ + + + /* + * Lookup the address as needed... + */ + + memset(&hints, 0, sizeof(hints)); + hints.ai_family = family; + hints.ai_flags = hostname ? 0 : AI_PASSIVE; + hints.ai_socktype = SOCK_STREAM; + + if (hostname && *hostname == '[') + { + /* + * Remove brackets from numeric IPv6 address... + */ + + if (!strncmp(hostname, "[v1.", 4)) + { + /* + * Copy the newer address format which supports link-local addresses... + */ + + strlcpy(ipv6, hostname + 4, sizeof(ipv6)); + if ((ipv6len = (int)strlen(ipv6) - 1) >= 0 && ipv6[ipv6len] == ']') + { + ipv6[ipv6len] = '\0'; + hostname = ipv6; + + /* + * Convert "+zone" in address to "%zone"... + */ + + if ((ipv6zone = strrchr(ipv6, '+')) != NULL) + *ipv6zone = '%'; + } + } + else + { + /* + * Copy the regular non-link-local IPv6 address... + */ + + strlcpy(ipv6, hostname + 1, sizeof(ipv6)); + if ((ipv6len = (int)strlen(ipv6) - 1) >= 0 && ipv6[ipv6len] == ']') + { + ipv6[ipv6len] = '\0'; + hostname = ipv6; + } + } + } + + if ((error = getaddrinfo(hostname, service, &hints, &results)) == 0) + { + /* + * Copy the results to our own address list structure... + */ + + for (current = results; current; current = current->ai_next) + if (current->ai_family == AF_INET || current->ai_family == AF_INET6) + { + /* + * Copy the address over... + */ + + temp = (http_addrlist_t *)calloc(1, sizeof(http_addrlist_t)); + if (!temp) + { + httpAddrFreeList(first); + freeaddrinfo(results); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + return (NULL); + } + + if (current->ai_family == AF_INET6) + memcpy(&(temp->addr.ipv6), current->ai_addr, + sizeof(temp->addr.ipv6)); + else + memcpy(&(temp->addr.ipv4), current->ai_addr, + sizeof(temp->addr.ipv4)); + + /* + * Append the address to the list... + */ + + if (!first) + first = temp; + + if (addr) + addr->next = temp; + + addr = temp; + } + + /* + * Free the results from getaddrinfo()... + */ + + freeaddrinfo(results); + } + else + { + if (error == EAI_FAIL) + cg->need_res_init = 1; + +# ifdef _WIN32 /* Really, Microsoft?!? */ + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, gai_strerrorA(error), 0); +# else + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, gai_strerror(error), 0); +# endif /* _WIN32 */ + } + +#else + if (hostname) + { + int i; /* Looping vars */ + unsigned ip[4]; /* IPv4 address components */ + const char *ptr; /* Pointer into hostname */ + struct hostent *host; /* Result of lookup */ + struct servent *port; /* Port number for service */ + int portnum; /* Port number */ + + + /* + * Lookup the service... + */ + + if (!service) + portnum = 0; + else if (isdigit(*service & 255)) + portnum = atoi(service); + else if ((port = getservbyname(service, NULL)) != NULL) + portnum = ntohs(port->s_port); + else if (!strcmp(service, "http")) + portnum = 80; + else if (!strcmp(service, "https")) + portnum = 443; + else if (!strcmp(service, "ipp") || !strcmp(service, "ipps")) + portnum = 631; + else if (!strcmp(service, "lpd")) + portnum = 515; + else if (!strcmp(service, "socket")) + portnum = 9100; + else + return (NULL); + + /* + * This code is needed because some operating systems have a + * buggy implementation of gethostbyname() that does not support + * IPv4 addresses. If the hostname string is an IPv4 address, then + * sscanf() is used to extract the IPv4 components. We then pack + * the components into an IPv4 address manually, since the + * inet_aton() function is deprecated. We use the htonl() macro + * to get the right byte order for the address. + */ + + for (ptr = hostname; isdigit(*ptr & 255) || *ptr == '.'; ptr ++); + + if (!*ptr) + { + /* + * We have an IPv4 address; break it up and create an IPv4 address... + */ + + if (sscanf(hostname, "%u.%u.%u.%u", ip, ip + 1, ip + 2, ip + 3) == 4 && + ip[0] <= 255 && ip[1] <= 255 && ip[2] <= 255 && ip[3] <= 255) + { + first = (http_addrlist_t *)calloc(1, sizeof(http_addrlist_t)); + if (!first) + return (NULL); + + first->addr.ipv4.sin_family = AF_INET; + first->addr.ipv4.sin_addr.s_addr = htonl((((((((unsigned)ip[0] << 8) | + (unsigned)ip[1]) << 8) | + (unsigned)ip[2]) << 8) | + (unsigned)ip[3])); + first->addr.ipv4.sin_port = htons(portnum); + } + } + else if ((host = gethostbyname(hostname)) != NULL && +# ifdef AF_INET6 + (host->h_addrtype == AF_INET || host->h_addrtype == AF_INET6)) +# else + host->h_addrtype == AF_INET) +# endif /* AF_INET6 */ + { + for (i = 0; host->h_addr_list[i]; i ++) + { + /* + * Copy the address over... + */ + + temp = (http_addrlist_t *)calloc(1, sizeof(http_addrlist_t)); + if (!temp) + { + httpAddrFreeList(first); + return (NULL); + } + +# ifdef AF_INET6 + if (host->h_addrtype == AF_INET6) + { + temp->addr.ipv6.sin6_family = AF_INET6; + memcpy(&(temp->addr.ipv6.sin6_addr), host->h_addr_list[i], + sizeof(temp->addr.ipv6)); + temp->addr.ipv6.sin6_port = htons(portnum); + } + else +# endif /* AF_INET6 */ + { + temp->addr.ipv4.sin_family = AF_INET; + memcpy(&(temp->addr.ipv4.sin_addr), host->h_addr_list[i], + sizeof(temp->addr.ipv4)); + temp->addr.ipv4.sin_port = htons(portnum); + } + + /* + * Append the address to the list... + */ + + if (!first) + first = temp; + + if (addr) + addr->next = temp; + + addr = temp; + } + } + else + { + if (h_errno == NO_RECOVERY) + cg->need_res_init = 1; + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, hstrerror(h_errno), 0); + } + } +#endif /* HAVE_GETADDRINFO */ + } + + /* + * Detect some common errors and handle them sanely... + */ + + if (!addr && (!hostname || !_cups_strcasecmp(hostname, "localhost"))) + { + struct servent *port; /* Port number for service */ + int portnum; /* Port number */ + + + /* + * Lookup the service... + */ + + if (!service) + portnum = 0; + else if (isdigit(*service & 255)) + portnum = atoi(service); + else if ((port = getservbyname(service, NULL)) != NULL) + portnum = ntohs(port->s_port); + else if (!strcmp(service, "http")) + portnum = 80; + else if (!strcmp(service, "https")) + portnum = 443; + else if (!strcmp(service, "ipp") || !strcmp(service, "ipps")) + portnum = 631; + else if (!strcmp(service, "lpd")) + portnum = 515; + else if (!strcmp(service, "socket")) + portnum = 9100; + else + { + httpAddrFreeList(first); + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown service name."), 1); + return (NULL); + } + + if (hostname && !_cups_strcasecmp(hostname, "localhost")) + { + /* + * Unfortunately, some users ignore all of the warnings in the + * /etc/hosts file and delete "localhost" from it. If we get here + * then we were unable to resolve the name, so use the IPv6 and/or + * IPv4 loopback interface addresses... + */ + +#ifdef AF_INET6 + if (family != AF_INET) + { + /* + * Add [::1] to the address list... + */ + + temp = (http_addrlist_t *)calloc(1, sizeof(http_addrlist_t)); + if (!temp) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + httpAddrFreeList(first); + return (NULL); + } + + temp->addr.ipv6.sin6_family = AF_INET6; + temp->addr.ipv6.sin6_port = htons(portnum); +# ifdef _WIN32 + temp->addr.ipv6.sin6_addr.u.Byte[15] = 1; +# else + temp->addr.ipv6.sin6_addr.s6_addr32[3] = htonl(1); +# endif /* _WIN32 */ + + if (!first) + first = temp; + + addr = temp; + } + + if (family != AF_INET6) +#endif /* AF_INET6 */ + { + /* + * Add 127.0.0.1 to the address list... + */ + + temp = (http_addrlist_t *)calloc(1, sizeof(http_addrlist_t)); + if (!temp) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + httpAddrFreeList(first); + return (NULL); + } + + temp->addr.ipv4.sin_family = AF_INET; + temp->addr.ipv4.sin_port = htons(portnum); + temp->addr.ipv4.sin_addr.s_addr = htonl(0x7f000001); + + if (!first) + first = temp; + + if (addr) + addr->next = temp; + } + } + else if (!hostname) + { + /* + * Provide one or more passive listening addresses... + */ + +#ifdef AF_INET6 + if (family != AF_INET) + { + /* + * Add [::] to the address list... + */ + + temp = (http_addrlist_t *)calloc(1, sizeof(http_addrlist_t)); + if (!temp) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + httpAddrFreeList(first); + return (NULL); + } + + temp->addr.ipv6.sin6_family = AF_INET6; + temp->addr.ipv6.sin6_port = htons(portnum); + + if (!first) + first = temp; + + addr = temp; + } + + if (family != AF_INET6) +#endif /* AF_INET6 */ + { + /* + * Add 0.0.0.0 to the address list... + */ + + temp = (http_addrlist_t *)calloc(1, sizeof(http_addrlist_t)); + if (!temp) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + httpAddrFreeList(first); + return (NULL); + } + + temp->addr.ipv4.sin_family = AF_INET; + temp->addr.ipv4.sin_port = htons(portnum); + + if (!first) + first = temp; + + if (addr) + addr->next = temp; + } + } + } + + /* + * Return the address list... + */ + + return (first); +} diff --git a/cups/http-private.h b/cups/http-private.h new file mode 100644 index 0000000..212fea7 --- /dev/null +++ b/cups/http-private.h @@ -0,0 +1,357 @@ +/* + * Private HTTP definitions for CUPS. + * + * Copyright 2007-2018 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_HTTP_PRIVATE_H_ +# define _CUPS_HTTP_PRIVATE_H_ + +/* + * Include necessary headers... + */ + +# include "config.h" +# include +# include +# include + +# ifdef __sun +# include +# endif /* __sun */ + +# include +# ifdef _WIN32 +# define _WINSOCK_DEPRECATED_NO_WARNINGS 1 +# include +# include +# define CUPS_SOCAST (const char *) +# else +# include +# include +# include +# define CUPS_SOCAST +# endif /* _WIN32 */ + +# ifdef HAVE_GSSAPI +# ifdef HAVE_GSS_GSSAPI_H +# include +# elif defined(HAVE_GSSAPI_GSSAPI_H) +# include +# elif defined(HAVE_GSSAPI_H) +# include +# endif /* HAVE_GSS_GSSAPI_H */ +# ifndef HAVE_GSS_C_NT_HOSTBASED_SERVICE +# define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name +# endif /* !HAVE_GSS_C_NT_HOSTBASED_SERVICE */ +# endif /* HAVE_GSSAPI */ + +# ifdef HAVE_AUTHORIZATION_H +# include +# endif /* HAVE_AUTHORIZATION_H */ + +# if defined(__APPLE__) && !defined(_SOCKLEN_T) +/* + * macOS 10.2.x does not define socklen_t, and in fact uses an int instead of + * unsigned type for length values... + */ + +typedef int socklen_t; +# endif /* __APPLE__ && !_SOCKLEN_T */ + +# include +# include "ipp-private.h" + +# ifdef HAVE_GNUTLS +# include +# include +# elif defined(HAVE_CDSASSL) +# include +# include +# include +# ifdef HAVE_SECITEM_H +# include +# endif /* HAVE_SECITEM_H */ +# ifdef HAVE_SECCERTIFICATE_H +# include +# include +# endif /* HAVE_SECCERTIFICATE_H */ +# elif defined(HAVE_SSPISSL) +# include +# include +# include +# define SECURITY_WIN32 +# include +# include +# endif /* HAVE_GNUTLS */ + +# ifndef _WIN32 +# include +# include +# ifdef HAVE_GETIFADDRS +# include +# else +# include +# ifdef HAVE_SYS_SOCKIO_H +# include +# endif /* HAVE_SYS_SOCKIO_H */ +# endif /* HAVE_GETIFADDRS */ +# endif /* !_WIN32 */ + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Constants... + */ + +# define _HTTP_MAX_SBUFFER 65536 /* Size of (de)compression buffer */ +# define _HTTP_RESOLVE_DEFAULT 0 /* Just resolve with default options */ +# define _HTTP_RESOLVE_STDERR 1 /* Log resolve progress to stderr */ +# define _HTTP_RESOLVE_FQDN 2 /* Resolve to a FQDN */ +# define _HTTP_RESOLVE_FAXOUT 4 /* Resolve FaxOut service? */ + +# define _HTTP_TLS_NONE 0 /* No TLS options */ +# define _HTTP_TLS_ALLOW_RC4 1 /* Allow RC4 cipher suites */ +# define _HTTP_TLS_ALLOW_DH 2 /* Allow DH/DHE key negotiation */ +# define _HTTP_TLS_DENY_CBC 4 /* Deny CBC cipher suites */ +# define _HTTP_TLS_SET_DEFAULT 128 /* Setting the default TLS options */ + +# define _HTTP_TLS_SSL3 0 /* Min/max version is SSL/3.0 */ +# define _HTTP_TLS_1_0 1 /* Min/max version is TLS/1.0 */ +# define _HTTP_TLS_1_1 2 /* Min/max version is TLS/1.1 */ +# define _HTTP_TLS_1_2 3 /* Min/max version is TLS/1.2 */ +# define _HTTP_TLS_1_3 4 /* Min/max version is TLS/1.3 */ +# define _HTTP_TLS_MAX 5 /* Highest known TLS version */ + + +/* + * Types and functions for SSL support... + */ + +# ifdef HAVE_GNUTLS +/* + * The GNU TLS library is more of a "bare metal" SSL/TLS library... + */ + +typedef gnutls_session_t http_tls_t; +typedef gnutls_certificate_credentials_t *http_tls_credentials_t; + +# elif defined(HAVE_CDSASSL) +/* + * Darwin's Security framework provides its own SSL/TLS context structure + * for its IO and protocol management... + */ + +typedef SSLContextRef http_tls_t; +typedef CFArrayRef http_tls_credentials_t; + +# elif defined(HAVE_SSPISSL) +/* + * Windows' SSPI library gets a CUPS wrapper... + */ + +typedef struct _http_sspi_s /**** SSPI/SSL data structure ****/ +{ + CredHandle creds; /* Credentials */ + CtxtHandle context; /* SSL context */ + BOOL contextInitialized; /* Is context init'd? */ + SecPkgContext_StreamSizes streamSizes;/* SSL data stream sizes */ + BYTE *decryptBuffer; /* Data pre-decryption*/ + size_t decryptBufferLength; /* Length of decrypt buffer */ + size_t decryptBufferUsed; /* Bytes used in buffer */ + BYTE *readBuffer; /* Data post-decryption */ + int readBufferLength; /* Length of read buffer */ + int readBufferUsed; /* Bytes used in buffer */ + BYTE *writeBuffer; /* Data pre-encryption */ + int writeBufferLength; /* Length of write buffer */ + PCCERT_CONTEXT localCert, /* Local certificate */ + remoteCert; /* Remote (peer's) certificate */ + char error[256]; /* Most recent error message */ +} _http_sspi_t; +typedef _http_sspi_t *http_tls_t; +typedef PCCERT_CONTEXT http_tls_credentials_t; + +# else +/* + * Otherwise define stub types since we have no SSL support... + */ + +typedef void *http_tls_t; +typedef void *http_tls_credentials_t; +# endif /* HAVE_GNUTLS */ + +typedef enum _http_coding_e /**** HTTP content coding enumeration ****/ +{ + _HTTP_CODING_IDENTITY, /* No content coding */ + _HTTP_CODING_GZIP, /* LZ77+gzip decompression */ + _HTTP_CODING_DEFLATE, /* LZ77+zlib compression */ + _HTTP_CODING_GUNZIP, /* LZ77+gzip decompression */ + _HTTP_CODING_INFLATE /* LZ77+zlib decompression */ +} _http_coding_t; + +typedef enum _http_mode_e /**** HTTP mode enumeration ****/ +{ + _HTTP_MODE_CLIENT, /* Client connected to server */ + _HTTP_MODE_SERVER /* Server connected (accepted) from client */ +} _http_mode_t; + +# ifndef _HTTP_NO_PRIVATE +struct _http_s /**** HTTP connection structure ****/ +{ + int fd; /* File descriptor for this socket */ + int blocking; /* To block or not to block */ + int error; /* Last error on read */ + time_t activity; /* Time since last read/write */ + http_state_t state; /* State of client */ + http_status_t status; /* Status of last request */ + http_version_t version; /* Protocol version */ + http_keepalive_t keep_alive; /* Keep-alive supported? */ + struct sockaddr_in _hostaddr; /* Address of connected host (deprecated) */ + char hostname[HTTP_MAX_HOST], + /* Name of connected host */ + _fields[HTTP_FIELD_ACCEPT_ENCODING][HTTP_MAX_VALUE]; + /* Field values up to Accept-Encoding (deprecated) */ + char *data; /* Pointer to data buffer */ + http_encoding_t data_encoding; /* Chunked or not */ + int _data_remaining;/* Number of bytes left (deprecated) */ + int used; /* Number of bytes used in buffer */ + char buffer[HTTP_MAX_BUFFER]; + /* Buffer for incoming data */ + int _auth_type; /* Authentication in use (deprecated) */ + unsigned char _md5_state[88]; /* MD5 state (deprecated) */ + char nonce[HTTP_MAX_VALUE]; + /* Nonce value */ + unsigned nonce_count; /* Nonce count */ + http_tls_t tls; /* TLS state information */ + http_encryption_t encryption; /* Encryption requirements */ + + /**** New in CUPS 1.1.19 ****/ + fd_set *input_set; /* select() set for httpWait() (deprecated) */ + http_status_t expect; /* Expect: header */ + char *cookie; /* Cookie value(s) */ + + /**** New in CUPS 1.1.20 ****/ + char _authstring[HTTP_MAX_VALUE], + /* Current Authorization value (deprecated) */ + userpass[HTTP_MAX_VALUE]; + /* Username:password string */ + int digest_tries; /* Number of tries for digest auth */ + + /**** New in CUPS 1.2 ****/ + off_t data_remaining; /* Number of bytes left */ + http_addr_t *hostaddr; /* Current host address and port */ + http_addrlist_t *addrlist; /* List of valid addresses */ + char wbuffer[HTTP_MAX_BUFFER]; + /* Buffer for outgoing data */ + int wused; /* Write buffer bytes used */ + + /**** New in CUPS 1.3 ****/ + char *authstring; /* Current Authorization field */ +# ifdef HAVE_GSSAPI + gss_OID gssmech; /* Authentication mechanism */ + gss_ctx_id_t gssctx; /* Authentication context */ + gss_name_t gssname; /* Authentication server name */ +# endif /* HAVE_GSSAPI */ +# ifdef HAVE_AUTHORIZATION_H + AuthorizationRef auth_ref; /* Authorization ref */ +# endif /* HAVE_AUTHORIZATION_H */ + + /**** New in CUPS 1.5 ****/ + http_tls_credentials_t tls_credentials; + /* TLS credentials */ + http_timeout_cb_t timeout_cb; /* Timeout callback */ + void *timeout_data; /* User data pointer */ + double timeout_value; /* Timeout in seconds */ + int wait_value; /* httpWait value for timeout */ +# ifdef HAVE_GSSAPI + char gsshost[256]; /* Hostname for Kerberos */ +# endif /* HAVE_GSSAPI */ + + /**** New in CUPS 1.7 ****/ + int tls_upgrade; /* Non-zero if we are doing an upgrade */ + _http_mode_t mode; /* _HTTP_MODE_CLIENT or _HTTP_MODE_SERVER */ +# ifdef HAVE_LIBZ + _http_coding_t coding; /* _HTTP_CODING_xxx */ + void *stream; /* (De)compression stream */ + unsigned char *sbuffer; /* (De)compression buffer */ +# endif /* HAVE_LIBZ */ + + /**** New in CUPS 2.2.9 ****/ + char algorithm[65], /* Algorithm from WWW-Authenticate */ + nextnonce[HTTP_MAX_VALUE], + /* Next nonce value from Authentication-Info */ + opaque[HTTP_MAX_VALUE], + /* Opaque value from WWW-Authenticate */ + realm[HTTP_MAX_VALUE]; + /* Realm from WWW-Authenticate */ + + /**** New in CUPS 2.3 ****/ + char *fields[HTTP_FIELD_MAX], + /* Allocated field values */ + *default_fields[HTTP_FIELD_MAX]; + /* Default field values, if any */ +}; +# endif /* !_HTTP_NO_PRIVATE */ + + +/* + * Some OS's don't have hstrerror(), most notably Solaris... + */ + +# ifndef HAVE_HSTRERROR +extern const char *_cups_hstrerror(int error); +# define hstrerror _cups_hstrerror +# endif /* !HAVE_HSTRERROR */ + + +/* + * Prototypes... + */ + +extern void _httpAddrSetPort(http_addr_t *addr, int port) _CUPS_PRIVATE; +extern http_tls_credentials_t + _httpCreateCredentials(cups_array_t *credentials) _CUPS_PRIVATE; +extern char *_httpDecodeURI(char *dst, const char *src, + size_t dstsize) _CUPS_PRIVATE; +extern void _httpDisconnect(http_t *http) _CUPS_PRIVATE; +extern char *_httpEncodeURI(char *dst, const char *src, + size_t dstsize) _CUPS_PRIVATE; +extern void _httpFreeCredentials(http_tls_credentials_t credentials) _CUPS_PRIVATE; +extern const char *_httpResolveURI(const char *uri, char *resolved_uri, + size_t resolved_size, int options, + int (*cb)(void *context), + void *context) _CUPS_PRIVATE; +extern int _httpSetDigestAuthString(http_t *http, const char *nonce, const char *method, const char *resource) _CUPS_PRIVATE; +extern const char *_httpStatus(cups_lang_t *lang, http_status_t status) _CUPS_PRIVATE; +extern void _httpTLSInitialize(void) _CUPS_PRIVATE; +extern size_t _httpTLSPending(http_t *http) _CUPS_PRIVATE; +extern int _httpTLSRead(http_t *http, char *buf, int len) _CUPS_PRIVATE; +extern void _httpTLSSetOptions(int options, int min_version, int max_version) _CUPS_PRIVATE; +extern int _httpTLSStart(http_t *http) _CUPS_PRIVATE; +extern void _httpTLSStop(http_t *http) _CUPS_PRIVATE; +extern int _httpTLSWrite(http_t *http, const char *buf, int len) _CUPS_PRIVATE; +extern int _httpUpdate(http_t *http, http_status_t *status) _CUPS_PRIVATE; +extern int _httpWait(http_t *http, int msec, int usessl) _CUPS_PRIVATE; + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_HTTP_PRIVATE_H_ */ diff --git a/cups/http-support.c b/cups/http-support.c new file mode 100644 index 0000000..6317514 --- /dev/null +++ b/cups/http-support.c @@ -0,0 +1,2691 @@ +/* + * HTTP support routines for CUPS. + * + * Copyright 2007-2019 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#ifdef HAVE_DNSSD +# include +# ifdef _WIN32 +# include +# elif defined(HAVE_POLL) +# include +# else +# include +# endif /* _WIN32 */ +#elif defined(HAVE_AVAHI) +# include +# include +# include +#endif /* HAVE_DNSSD */ + + +/* + * Local types... + */ + +typedef struct _http_uribuf_s /* URI buffer */ +{ +#ifdef HAVE_AVAHI + AvahiSimplePoll *poll; /* Poll state */ +#endif /* HAVE_AVAHI */ + char *buffer; /* Pointer to buffer */ + size_t bufsize; /* Size of buffer */ + int options; /* Options passed to _httpResolveURI */ + const char *resource; /* Resource from URI */ + const char *uuid; /* UUID from URI */ +} _http_uribuf_t; + + +/* + * Local globals... + */ + +static const char * const http_days[7] =/* Days of the week */ + { + "Sun", + "Mon", + "Tue", + "Wed", + "Thu", + "Fri", + "Sat" + }; +static const char * const http_months[12] = + { /* Months of the year */ + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec" + }; +static const char * const http_states[] = + { /* HTTP state strings */ + "HTTP_STATE_ERROR", + "HTTP_STATE_WAITING", + "HTTP_STATE_OPTIONS", + "HTTP_STATE_GET", + "HTTP_STATE_GET_SEND", + "HTTP_STATE_HEAD", + "HTTP_STATE_POST", + "HTTP_STATE_POST_RECV", + "HTTP_STATE_POST_SEND", + "HTTP_STATE_PUT", + "HTTP_STATE_PUT_RECV", + "HTTP_STATE_DELETE", + "HTTP_STATE_TRACE", + "HTTP_STATE_CONNECT", + "HTTP_STATE_STATUS", + "HTTP_STATE_UNKNOWN_METHOD", + "HTTP_STATE_UNKNOWN_VERSION" + }; + + +/* + * Local functions... + */ + +static const char *http_copy_decode(char *dst, const char *src, + int dstsize, const char *term, + int decode); +static char *http_copy_encode(char *dst, const char *src, + char *dstend, const char *reserved, + const char *term, int encode); +#ifdef HAVE_DNSSD +static void DNSSD_API http_resolve_cb(DNSServiceRef sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + DNSServiceErrorType errorCode, + const char *fullName, + const char *hostTarget, + uint16_t port, uint16_t txtLen, + const unsigned char *txtRecord, + void *context); +#endif /* HAVE_DNSSD */ + +#ifdef HAVE_AVAHI +static void http_client_cb(AvahiClient *client, + AvahiClientState state, void *simple_poll); +static int http_poll_cb(struct pollfd *pollfds, unsigned int num_pollfds, + int timeout, void *context); +static void http_resolve_cb(AvahiServiceResolver *resolver, + AvahiIfIndex interface, + AvahiProtocol protocol, + AvahiResolverEvent event, + const char *name, const char *type, + const char *domain, const char *host_name, + const AvahiAddress *address, uint16_t port, + AvahiStringList *txt, + AvahiLookupResultFlags flags, void *context); +#endif /* HAVE_AVAHI */ + + +/* + * 'httpAssembleURI()' - Assemble a uniform resource identifier from its + * components. + * + * This function escapes reserved characters in the URI depending on the + * value of the "encoding" argument. You should use this function in + * place of traditional string functions whenever you need to create a + * URI string. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +http_uri_status_t /* O - URI status */ +httpAssembleURI( + http_uri_coding_t encoding, /* I - Encoding flags */ + char *uri, /* I - URI buffer */ + int urilen, /* I - Size of URI buffer */ + const char *scheme, /* I - Scheme name */ + const char *username, /* I - Username */ + const char *host, /* I - Hostname or address */ + int port, /* I - Port number */ + const char *resource) /* I - Resource */ +{ + char *ptr, /* Pointer into URI buffer */ + *end; /* End of URI buffer */ + + + /* + * Range check input... + */ + + if (!uri || urilen < 1 || !scheme || port < 0) + { + if (uri) + *uri = '\0'; + + return (HTTP_URI_STATUS_BAD_ARGUMENTS); + } + + /* + * Assemble the URI starting with the scheme... + */ + + end = uri + urilen - 1; + ptr = http_copy_encode(uri, scheme, end, NULL, NULL, 0); + + if (!ptr) + goto assemble_overflow; + + if (!strcmp(scheme, "geo") || !strcmp(scheme, "mailto") || !strcmp(scheme, "tel")) + { + /* + * geo:, mailto:, and tel: only have :, no //... + */ + + if (ptr < end) + *ptr++ = ':'; + else + goto assemble_overflow; + } + else + { + /* + * Schemes other than geo:, mailto:, and tel: typically have //... + */ + + if ((ptr + 2) < end) + { + *ptr++ = ':'; + *ptr++ = '/'; + *ptr++ = '/'; + } + else + goto assemble_overflow; + } + + /* + * Next the username and hostname, if any... + */ + + if (host) + { + const char *hostptr; /* Pointer into hostname */ + int have_ipv6; /* Do we have an IPv6 address? */ + + if (username && *username) + { + /* + * Add username@ first... + */ + + ptr = http_copy_encode(ptr, username, end, "/?#[]@", NULL, + encoding & HTTP_URI_CODING_USERNAME); + + if (!ptr) + goto assemble_overflow; + + if (ptr < end) + *ptr++ = '@'; + else + goto assemble_overflow; + } + + /* + * Then add the hostname. Since IPv6 is a particular pain to deal + * with, we have several special cases to deal with. If we get + * an IPv6 address with brackets around it, assume it is already in + * URI format. Since DNS-SD service names can sometimes look like + * raw IPv6 addresses, we specifically look for "._tcp" in the name, + * too... + */ + + for (hostptr = host, + have_ipv6 = strchr(host, ':') && !strstr(host, "._tcp"); + *hostptr && have_ipv6; + hostptr ++) + if (*hostptr != ':' && !isxdigit(*hostptr & 255)) + { + have_ipv6 = *hostptr == '%'; + break; + } + + if (have_ipv6) + { + /* + * We have a raw IPv6 address... + */ + + if (strchr(host, '%') && !(encoding & HTTP_URI_CODING_RFC6874)) + { + /* + * We have a link-local address, add "[v1." prefix... + */ + + if ((ptr + 4) < end) + { + *ptr++ = '['; + *ptr++ = 'v'; + *ptr++ = '1'; + *ptr++ = '.'; + } + else + goto assemble_overflow; + } + else + { + /* + * We have a normal (or RFC 6874 link-local) address, add "[" prefix... + */ + + if (ptr < end) + *ptr++ = '['; + else + goto assemble_overflow; + } + + /* + * Copy the rest of the IPv6 address, and terminate with "]". + */ + + while (ptr < end && *host) + { + if (*host == '%') + { + /* + * Convert/encode zone separator + */ + + if (encoding & HTTP_URI_CODING_RFC6874) + { + if (ptr >= (end - 2)) + goto assemble_overflow; + + *ptr++ = '%'; + *ptr++ = '2'; + *ptr++ = '5'; + } + else + *ptr++ = '+'; + + host ++; + } + else + *ptr++ = *host++; + } + + if (*host) + goto assemble_overflow; + + if (ptr < end) + *ptr++ = ']'; + else + goto assemble_overflow; + } + else + { + /* + * Otherwise, just copy the host string (the extra chars are not in the + * "reg-name" ABNF rule; anything <= SP or >= DEL plus % gets automatically + * percent-encoded. + */ + + ptr = http_copy_encode(ptr, host, end, "\"#/:<>?@[\\]^`{|}", NULL, + encoding & HTTP_URI_CODING_HOSTNAME); + + if (!ptr) + goto assemble_overflow; + } + + /* + * Finish things off with the port number... + */ + + if (port > 0) + { + snprintf(ptr, (size_t)(end - ptr + 1), ":%d", port); + ptr += strlen(ptr); + + if (ptr >= end) + goto assemble_overflow; + } + } + + /* + * Last but not least, add the resource string... + */ + + if (resource) + { + char *query; /* Pointer to query string */ + + + /* + * Copy the resource string up to the query string if present... + */ + + query = strchr(resource, '?'); + ptr = http_copy_encode(ptr, resource, end, NULL, "?", + encoding & HTTP_URI_CODING_RESOURCE); + if (!ptr) + goto assemble_overflow; + + if (query) + { + /* + * Copy query string without encoding... + */ + + ptr = http_copy_encode(ptr, query, end, NULL, NULL, + encoding & HTTP_URI_CODING_QUERY); + if (!ptr) + goto assemble_overflow; + } + } + else if (ptr < end) + *ptr++ = '/'; + else + goto assemble_overflow; + + /* + * Nul-terminate the URI buffer and return with no errors... + */ + + *ptr = '\0'; + + return (HTTP_URI_STATUS_OK); + + /* + * Clear the URI string and return an overflow error; I don't usually + * like goto's, but in this case it makes sense... + */ + + assemble_overflow: + + *uri = '\0'; + return (HTTP_URI_STATUS_OVERFLOW); +} + + +/* + * 'httpAssembleURIf()' - Assemble a uniform resource identifier from its + * components with a formatted resource. + * + * This function creates a formatted version of the resource string + * argument "resourcef" and escapes reserved characters in the URI + * depending on the value of the "encoding" argument. You should use + * this function in place of traditional string functions whenever + * you need to create a URI string. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +http_uri_status_t /* O - URI status */ +httpAssembleURIf( + http_uri_coding_t encoding, /* I - Encoding flags */ + char *uri, /* I - URI buffer */ + int urilen, /* I - Size of URI buffer */ + const char *scheme, /* I - Scheme name */ + const char *username, /* I - Username */ + const char *host, /* I - Hostname or address */ + int port, /* I - Port number */ + const char *resourcef, /* I - Printf-style resource */ + ...) /* I - Additional arguments as needed */ +{ + va_list ap; /* Pointer to additional arguments */ + char resource[1024]; /* Formatted resource string */ + int bytes; /* Bytes in formatted string */ + + + /* + * Range check input... + */ + + if (!uri || urilen < 1 || !scheme || port < 0 || !resourcef) + { + if (uri) + *uri = '\0'; + + return (HTTP_URI_STATUS_BAD_ARGUMENTS); + } + + /* + * Format the resource string and assemble the URI... + */ + + va_start(ap, resourcef); + bytes = vsnprintf(resource, sizeof(resource), resourcef, ap); + va_end(ap); + + if ((size_t)bytes >= sizeof(resource)) + { + *uri = '\0'; + return (HTTP_URI_STATUS_OVERFLOW); + } + else + return (httpAssembleURI(encoding, uri, urilen, scheme, username, host, + port, resource)); +} + + +/* + * 'httpAssembleUUID()' - Assemble a name-based UUID URN conforming to RFC 4122. + * + * This function creates a unique 128-bit identifying number using the server + * name, port number, random data, and optionally an object name and/or object + * number. The result is formatted as a UUID URN as defined in RFC 4122. + * + * The buffer needs to be at least 46 bytes in size. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +char * /* I - UUID string */ +httpAssembleUUID(const char *server, /* I - Server name */ + int port, /* I - Port number */ + const char *name, /* I - Object name or NULL */ + int number, /* I - Object number or 0 */ + char *buffer, /* I - String buffer */ + size_t bufsize) /* I - Size of buffer */ +{ + char data[1024]; /* Source string for MD5 */ + unsigned char md5sum[16]; /* MD5 digest/sum */ + + + /* + * Build a version 3 UUID conforming to RFC 4122. + * + * Start with the MD5 sum of the server, port, object name and + * number, and some random data on the end. + */ + + snprintf(data, sizeof(data), "%s:%d:%s:%d:%04x:%04x", server, + port, name ? name : server, number, + (unsigned)CUPS_RAND() & 0xffff, (unsigned)CUPS_RAND() & 0xffff); + + cupsHashData("md5", (unsigned char *)data, strlen(data), md5sum, sizeof(md5sum)); + + /* + * Generate the UUID from the MD5... + */ + + snprintf(buffer, bufsize, + "urn:uuid:%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-" + "%02x%02x%02x%02x%02x%02x", + md5sum[0], md5sum[1], md5sum[2], md5sum[3], md5sum[4], md5sum[5], + (md5sum[6] & 15) | 0x30, md5sum[7], (md5sum[8] & 0x3f) | 0x40, + md5sum[9], md5sum[10], md5sum[11], md5sum[12], md5sum[13], + md5sum[14], md5sum[15]); + + return (buffer); +} + + +/* + * 'httpDecode64()' - Base64-decode a string. + * + * This function is deprecated. Use the httpDecode64_2() function instead + * which provides buffer length arguments. + * + * @deprecated@ @exclude all@ + */ + +char * /* O - Decoded string */ +httpDecode64(char *out, /* I - String to write to */ + const char *in) /* I - String to read from */ +{ + int outlen; /* Output buffer length */ + + + /* + * Use the old maximum buffer size for binary compatibility... + */ + + outlen = 512; + + return (httpDecode64_2(out, &outlen, in)); +} + + +/* + * 'httpDecode64_2()' - Base64-decode a string. + * + * The caller must initialize "outlen" to the maximum size of the decoded + * string before calling @code httpDecode64_2@. On return "outlen" contains the + * decoded length of the string. + * + * @since CUPS 1.1.21/macOS 10.4@ + */ + +char * /* O - Decoded string */ +httpDecode64_2(char *out, /* I - String to write to */ + int *outlen, /* IO - Size of output string */ + const char *in) /* I - String to read from */ +{ + int pos; /* Bit position */ + unsigned base64; /* Value of this character */ + char *outptr, /* Output pointer */ + *outend; /* End of output buffer */ + + + /* + * Range check input... + */ + + if (!out || !outlen || *outlen < 1 || !in) + return (NULL); + + if (!*in) + { + *out = '\0'; + *outlen = 0; + + return (out); + } + + /* + * Convert from base-64 to bytes... + */ + + for (outptr = out, outend = out + *outlen - 1, pos = 0; *in != '\0'; in ++) + { + /* + * Decode this character into a number from 0 to 63... + */ + + if (*in >= 'A' && *in <= 'Z') + base64 = (unsigned)(*in - 'A'); + else if (*in >= 'a' && *in <= 'z') + base64 = (unsigned)(*in - 'a' + 26); + else if (*in >= '0' && *in <= '9') + base64 = (unsigned)(*in - '0' + 52); + else if (*in == '+') + base64 = 62; + else if (*in == '/') + base64 = 63; + else if (*in == '=') + break; + else + continue; + + /* + * Store the result in the appropriate chars... + */ + + switch (pos) + { + case 0 : + if (outptr < outend) + *outptr = (char)(base64 << 2); + pos ++; + break; + case 1 : + if (outptr < outend) + *outptr++ |= (char)((base64 >> 4) & 3); + if (outptr < outend) + *outptr = (char)((base64 << 4) & 255); + pos ++; + break; + case 2 : + if (outptr < outend) + *outptr++ |= (char)((base64 >> 2) & 15); + if (outptr < outend) + *outptr = (char)((base64 << 6) & 255); + pos ++; + break; + case 3 : + if (outptr < outend) + *outptr++ |= (char)base64; + pos = 0; + break; + } + } + + *outptr = '\0'; + + /* + * Return the decoded string and size... + */ + + *outlen = (int)(outptr - out); + + return (out); +} + + +/* + * 'httpEncode64()' - Base64-encode a string. + * + * This function is deprecated. Use the httpEncode64_2() function instead + * which provides buffer length arguments. + * + * @deprecated@ @exclude all@ + */ + +char * /* O - Encoded string */ +httpEncode64(char *out, /* I - String to write to */ + const char *in) /* I - String to read from */ +{ + return (httpEncode64_2(out, 512, in, (int)strlen(in))); +} + + +/* + * 'httpEncode64_2()' - Base64-encode a string. + * + * @since CUPS 1.1.21/macOS 10.4@ + */ + +char * /* O - Encoded string */ +httpEncode64_2(char *out, /* I - String to write to */ + int outlen, /* I - Maximum size of output string */ + const char *in, /* I - String to read from */ + int inlen) /* I - Size of input string */ +{ + char *outptr, /* Output pointer */ + *outend; /* End of output buffer */ + static const char base64[] = /* Base64 characters... */ + { + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "abcdefghijklmnopqrstuvwxyz" + "0123456789" + "+/" + }; + + + /* + * Range check input... + */ + + if (!out || outlen < 1 || !in) + return (NULL); + + /* + * Convert bytes to base-64... + */ + + for (outptr = out, outend = out + outlen - 1; inlen > 0; in ++, inlen --) + { + /* + * Encode the up to 3 characters as 4 Base64 numbers... + */ + + if (outptr < outend) + *outptr ++ = base64[(in[0] & 255) >> 2]; + + if (outptr < outend) + { + if (inlen > 1) + *outptr ++ = base64[(((in[0] & 255) << 4) | ((in[1] & 255) >> 4)) & 63]; + else + *outptr ++ = base64[((in[0] & 255) << 4) & 63]; + } + + in ++; + inlen --; + if (inlen <= 0) + { + if (outptr < outend) + *outptr ++ = '='; + if (outptr < outend) + *outptr ++ = '='; + break; + } + + if (outptr < outend) + { + if (inlen > 1) + *outptr ++ = base64[(((in[0] & 255) << 2) | ((in[1] & 255) >> 6)) & 63]; + else + *outptr ++ = base64[((in[0] & 255) << 2) & 63]; + } + + in ++; + inlen --; + if (inlen <= 0) + { + if (outptr < outend) + *outptr ++ = '='; + break; + } + + if (outptr < outend) + *outptr ++ = base64[in[0] & 63]; + } + + *outptr = '\0'; + + /* + * Return the encoded string... + */ + + return (out); +} + + +/* + * 'httpGetDateString()' - Get a formatted date/time string from a time value. + * + * @deprecated@ @exclude all@ + */ + +const char * /* O - Date/time string */ +httpGetDateString(time_t t) /* I - Time in seconds */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + return (httpGetDateString2(t, cg->http_date, sizeof(cg->http_date))); +} + + +/* + * 'httpGetDateString2()' - Get a formatted date/time string from a time value. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +const char * /* O - Date/time string */ +httpGetDateString2(time_t t, /* I - Time in seconds */ + char *s, /* I - String buffer */ + int slen) /* I - Size of string buffer */ +{ + struct tm tdate; /* UNIX date/time data */ + + + gmtime_r(&t, &tdate); + + snprintf(s, (size_t)slen, "%s, %02d %s %d %02d:%02d:%02d GMT", http_days[tdate.tm_wday], tdate.tm_mday, http_months[tdate.tm_mon], tdate.tm_year + 1900, tdate.tm_hour, tdate.tm_min, tdate.tm_sec); + + return (s); +} + + +/* + * 'httpGetDateTime()' - Get a time value from a formatted date/time string. + */ + +time_t /* O - Time in seconds */ +httpGetDateTime(const char *s) /* I - Date/time string */ +{ + int i; /* Looping var */ + char mon[16]; /* Abbreviated month name */ + int day, year; /* Day of month and year */ + int hour, min, sec; /* Time */ + int days; /* Number of days since 1970 */ + static const int normal_days[] = /* Days to a month, normal years */ + { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 }; + static const int leap_days[] = /* Days to a month, leap years */ + { 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366 }; + + + DEBUG_printf(("2httpGetDateTime(s=\"%s\")", s)); + + /* + * Extract the date and time from the formatted string... + */ + + if (sscanf(s, "%*s%d%15s%d%d:%d:%d", &day, mon, &year, &hour, &min, &sec) < 6) + return (0); + + DEBUG_printf(("4httpGetDateTime: day=%d, mon=\"%s\", year=%d, hour=%d, " + "min=%d, sec=%d", day, mon, year, hour, min, sec)); + + /* + * Convert the month name to a number from 0 to 11. + */ + + for (i = 0; i < 12; i ++) + if (!_cups_strcasecmp(mon, http_months[i])) + break; + + if (i >= 12) + return (0); + + DEBUG_printf(("4httpGetDateTime: i=%d", i)); + + /* + * Now convert the date and time to a UNIX time value in seconds since + * 1970. We can't use mktime() since the timezone may not be UTC but + * the date/time string *is* UTC. + */ + + if ((year & 3) == 0 && ((year % 100) != 0 || (year % 400) == 0)) + days = leap_days[i] + day - 1; + else + days = normal_days[i] + day - 1; + + DEBUG_printf(("4httpGetDateTime: days=%d", days)); + + days += (year - 1970) * 365 + /* 365 days per year (normally) */ + ((year - 1) / 4 - 492) - /* + leap days */ + ((year - 1) / 100 - 19) + /* - 100 year days */ + ((year - 1) / 400 - 4); /* + 400 year days */ + + DEBUG_printf(("4httpGetDateTime: days=%d\n", days)); + + return (days * 86400 + hour * 3600 + min * 60 + sec); +} + + +/* + * 'httpSeparate()' - Separate a Universal Resource Identifier into its + * components. + * + * This function is deprecated; use the httpSeparateURI() function instead. + * + * @deprecated@ @exclude all@ + */ + +void +httpSeparate(const char *uri, /* I - Universal Resource Identifier */ + char *scheme, /* O - Scheme [32] (http, https, etc.) */ + char *username, /* O - Username [1024] */ + char *host, /* O - Hostname [1024] */ + int *port, /* O - Port number to use */ + char *resource) /* O - Resource/filename [1024] */ +{ + httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, 32, username, + HTTP_MAX_URI, host, HTTP_MAX_URI, port, resource, + HTTP_MAX_URI); +} + + +/* + * 'httpSeparate2()' - Separate a Universal Resource Identifier into its + * components. + * + * This function is deprecated; use the httpSeparateURI() function instead. + * + * @since CUPS 1.1.21/macOS 10.4@ + * @deprecated@ @exclude all@ + */ + +void +httpSeparate2(const char *uri, /* I - Universal Resource Identifier */ + char *scheme, /* O - Scheme (http, https, etc.) */ + int schemelen, /* I - Size of scheme buffer */ + char *username, /* O - Username */ + int usernamelen, /* I - Size of username buffer */ + char *host, /* O - Hostname */ + int hostlen, /* I - Size of hostname buffer */ + int *port, /* O - Port number to use */ + char *resource, /* O - Resource/filename */ + int resourcelen) /* I - Size of resource buffer */ +{ + httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, schemelen, username, + usernamelen, host, hostlen, port, resource, resourcelen); +} + + +/* + * 'httpSeparateURI()' - Separate a Universal Resource Identifier into its + * components. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +http_uri_status_t /* O - Result of separation */ +httpSeparateURI( + http_uri_coding_t decoding, /* I - Decoding flags */ + const char *uri, /* I - Universal Resource Identifier */ + char *scheme, /* O - Scheme (http, https, etc.) */ + int schemelen, /* I - Size of scheme buffer */ + char *username, /* O - Username */ + int usernamelen, /* I - Size of username buffer */ + char *host, /* O - Hostname */ + int hostlen, /* I - Size of hostname buffer */ + int *port, /* O - Port number to use */ + char *resource, /* O - Resource/filename */ + int resourcelen) /* I - Size of resource buffer */ +{ + char *ptr, /* Pointer into string... */ + *end; /* End of string */ + const char *sep; /* Separator character */ + http_uri_status_t status; /* Result of separation */ + + + /* + * Initialize everything to blank... + */ + + if (scheme && schemelen > 0) + *scheme = '\0'; + + if (username && usernamelen > 0) + *username = '\0'; + + if (host && hostlen > 0) + *host = '\0'; + + if (port) + *port = 0; + + if (resource && resourcelen > 0) + *resource = '\0'; + + /* + * Range check input... + */ + + if (!uri || !port || !scheme || schemelen <= 0 || !username || + usernamelen <= 0 || !host || hostlen <= 0 || !resource || + resourcelen <= 0) + return (HTTP_URI_STATUS_BAD_ARGUMENTS); + + if (!*uri) + return (HTTP_URI_STATUS_BAD_URI); + + /* + * Grab the scheme portion of the URI... + */ + + status = HTTP_URI_STATUS_OK; + + if (!strncmp(uri, "//", 2)) + { + /* + * Workaround for HP IPP client bug... + */ + + strlcpy(scheme, "ipp", (size_t)schemelen); + status = HTTP_URI_STATUS_MISSING_SCHEME; + } + else if (*uri == '/') + { + /* + * Filename... + */ + + strlcpy(scheme, "file", (size_t)schemelen); + status = HTTP_URI_STATUS_MISSING_SCHEME; + } + else + { + /* + * Standard URI with scheme... + */ + + for (ptr = scheme, end = scheme + schemelen - 1; + *uri && *uri != ':' && ptr < end;) + if (strchr("ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "abcdefghijklmnopqrstuvwxyz" + "0123456789-+.", *uri) != NULL) + *ptr++ = *uri++; + else + break; + + *ptr = '\0'; + + if (*uri != ':' || *scheme == '.' || !*scheme) + { + *scheme = '\0'; + return (HTTP_URI_STATUS_BAD_SCHEME); + } + + uri ++; + } + + /* + * Set the default port number... + */ + + if (!strcmp(scheme, "http")) + *port = 80; + else if (!strcmp(scheme, "https")) + *port = 443; + else if (!strcmp(scheme, "ipp") || !strcmp(scheme, "ipps")) + *port = 631; + else if (!_cups_strcasecmp(scheme, "lpd")) + *port = 515; + else if (!strcmp(scheme, "socket")) /* Not yet registered with IANA... */ + *port = 9100; + else if (strcmp(scheme, "file") && strcmp(scheme, "mailto") && strcmp(scheme, "tel")) + status = HTTP_URI_STATUS_UNKNOWN_SCHEME; + + /* + * Now see if we have a hostname... + */ + + if (!strncmp(uri, "//", 2)) + { + /* + * Yes, extract it... + */ + + uri += 2; + + /* + * Grab the username, if any... + */ + + if ((sep = strpbrk(uri, "@/")) != NULL && *sep == '@') + { + /* + * Get a username:password combo... + */ + + uri = http_copy_decode(username, uri, usernamelen, "@", + decoding & HTTP_URI_CODING_USERNAME); + + if (!uri) + { + *username = '\0'; + return (HTTP_URI_STATUS_BAD_USERNAME); + } + + uri ++; + } + + /* + * Then the hostname/IP address... + */ + + if (*uri == '[') + { + /* + * Grab IPv6 address... + */ + + uri ++; + if (*uri == 'v') + { + /* + * Skip IPvFuture ("vXXXX.") prefix... + */ + + uri ++; + + while (isxdigit(*uri & 255)) + uri ++; + + if (*uri != '.') + { + *host = '\0'; + return (HTTP_URI_STATUS_BAD_HOSTNAME); + } + + uri ++; + } + + uri = http_copy_decode(host, uri, hostlen, "]", + decoding & HTTP_URI_CODING_HOSTNAME); + + if (!uri) + { + *host = '\0'; + return (HTTP_URI_STATUS_BAD_HOSTNAME); + } + + /* + * Validate value... + */ + + if (*uri != ']') + { + *host = '\0'; + return (HTTP_URI_STATUS_BAD_HOSTNAME); + } + + uri ++; + + for (ptr = host; *ptr; ptr ++) + if (*ptr == '+') + { + /* + * Convert zone separator to % and stop here... + */ + + *ptr = '%'; + break; + } + else if (*ptr == '%') + { + /* + * Stop at zone separator (RFC 6874) + */ + + break; + } + else if (*ptr != ':' && *ptr != '.' && !isxdigit(*ptr & 255)) + { + *host = '\0'; + return (HTTP_URI_STATUS_BAD_HOSTNAME); + } + } + else + { + /* + * Validate the hostname or IPv4 address first... + */ + + for (ptr = (char *)uri; *ptr; ptr ++) + if (strchr(":?/", *ptr)) + break; + else if (!strchr("abcdefghijklmnopqrstuvwxyz" /* unreserved */ + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" /* unreserved */ + "0123456789" /* unreserved */ + "-._~" /* unreserved */ + "%" /* pct-encoded */ + "!$&'()*+,;=" /* sub-delims */ + "\\", *ptr)) /* SMB domain */ + { + *host = '\0'; + return (HTTP_URI_STATUS_BAD_HOSTNAME); + } + + /* + * Then copy the hostname or IPv4 address to the buffer... + */ + + uri = http_copy_decode(host, uri, hostlen, ":?/", + decoding & HTTP_URI_CODING_HOSTNAME); + + if (!uri) + { + *host = '\0'; + return (HTTP_URI_STATUS_BAD_HOSTNAME); + } + } + + /* + * Validate hostname for file scheme - only empty and localhost are + * acceptable. + */ + + if (!strcmp(scheme, "file") && strcmp(host, "localhost") && host[0]) + { + *host = '\0'; + return (HTTP_URI_STATUS_BAD_HOSTNAME); + } + + /* + * See if we have a port number... + */ + + if (*uri == ':') + { + /* + * Yes, collect the port number... + */ + + if (!isdigit(uri[1] & 255)) + { + *port = 0; + return (HTTP_URI_STATUS_BAD_PORT); + } + + *port = (int)strtol(uri + 1, (char **)&uri, 10); + + if (*port <= 0 || *port > 65535) + { + *port = 0; + return (HTTP_URI_STATUS_BAD_PORT); + } + + if (*uri != '/' && *uri) + { + *port = 0; + return (HTTP_URI_STATUS_BAD_PORT); + } + } + } + + /* + * The remaining portion is the resource string... + */ + + if (*uri == '?' || !*uri) + { + /* + * Hostname but no path... + */ + + status = HTTP_URI_STATUS_MISSING_RESOURCE; + *resource = '/'; + + /* + * Copy any query string... + */ + + if (*uri == '?') + uri = http_copy_decode(resource + 1, uri, resourcelen - 1, NULL, + decoding & HTTP_URI_CODING_QUERY); + else + resource[1] = '\0'; + } + else + { + uri = http_copy_decode(resource, uri, resourcelen, "?", + decoding & HTTP_URI_CODING_RESOURCE); + + if (uri && *uri == '?') + { + /* + * Concatenate any query string... + */ + + char *resptr = resource + strlen(resource); + + uri = http_copy_decode(resptr, uri, + resourcelen - (int)(resptr - resource), NULL, + decoding & HTTP_URI_CODING_QUERY); + } + } + + if (!uri) + { + *resource = '\0'; + return (HTTP_URI_STATUS_BAD_RESOURCE); + } + + /* + * Return the URI separation status... + */ + + return (status); +} + + +/* + * '_httpSetDigestAuthString()' - Calculate a Digest authentication response + * using the appropriate RFC 2068/2617/7616 + * algorithm. + */ + +int /* O - 1 on success, 0 on failure */ +_httpSetDigestAuthString( + http_t *http, /* I - HTTP connection */ + const char *nonce, /* I - Nonce value */ + const char *method, /* I - HTTP method */ + const char *resource) /* I - HTTP resource path */ +{ + char kd[65], /* Final MD5/SHA-256 digest */ + ha1[65], /* Hash of username:realm:password */ + ha2[65], /* Hash of method:request-uri */ + username[HTTP_MAX_VALUE], + /* username:password */ + *password, /* Pointer to password */ + temp[1024], /* Temporary string */ + digest[1024]; /* Digest auth data */ + unsigned char hash[32]; /* Hash buffer */ + size_t hashsize; /* Size of hash */ + _cups_globals_t *cg = _cupsGlobals(); /* Per-thread globals */ + + + DEBUG_printf(("2_httpSetDigestAuthString(http=%p, nonce=\"%s\", method=\"%s\", resource=\"%s\")", (void *)http, nonce, method, resource)); + + if (nonce && *nonce && strcmp(nonce, http->nonce)) + { + strlcpy(http->nonce, nonce, sizeof(http->nonce)); + + if (nonce == http->nextnonce) + http->nextnonce[0] = '\0'; + + http->nonce_count = 1; + } + else + http->nonce_count ++; + + strlcpy(username, http->userpass, sizeof(username)); + if ((password = strchr(username, ':')) != NULL) + *password++ = '\0'; + else + return (0); + + if (http->algorithm[0]) + { + /* + * Follow RFC 2617/7616... + */ + + int i; /* Looping var */ + char cnonce[65]; /* cnonce value */ + const char *hashalg; /* Hashing algorithm */ + + for (i = 0; i < 64; i ++) + cnonce[i] = "0123456789ABCDEF"[CUPS_RAND() & 15]; + cnonce[64] = '\0'; + + if (!_cups_strcasecmp(http->algorithm, "MD5")) + { + /* + * RFC 2617 Digest with MD5 + */ + + if (cg->digestoptions == _CUPS_DIGESTOPTIONS_DENYMD5) + { + DEBUG_puts("3_httpSetDigestAuthString: MD5 Digest is disabled."); + return (0); + } + + hashalg = "md5"; + } + else if (!_cups_strcasecmp(http->algorithm, "SHA-256")) + { + /* + * RFC 7616 Digest with SHA-256 + */ + + hashalg = "sha2-256"; + } + else + { + /* + * Some other algorithm we don't support, skip this one... + */ + + return (0); + } + + /* + * Calculate digest value... + */ + + /* H(A1) = H(username:realm:password) */ + snprintf(temp, sizeof(temp), "%s:%s:%s", username, http->realm, password); + hashsize = (size_t)cupsHashData(hashalg, (unsigned char *)temp, strlen(temp), hash, sizeof(hash)); + cupsHashString(hash, hashsize, ha1, sizeof(ha1)); + + /* H(A2) = H(method:uri) */ + snprintf(temp, sizeof(temp), "%s:%s", method, resource); + hashsize = (size_t)cupsHashData(hashalg, (unsigned char *)temp, strlen(temp), hash, sizeof(hash)); + cupsHashString(hash, hashsize, ha2, sizeof(ha2)); + + /* KD = H(H(A1):nonce:nc:cnonce:qop:H(A2)) */ + snprintf(temp, sizeof(temp), "%s:%s:%08x:%s:%s:%s", ha1, http->nonce, http->nonce_count, cnonce, "auth", ha2); + hashsize = (size_t)cupsHashData(hashalg, (unsigned char *)temp, strlen(temp), hash, sizeof(hash)); + cupsHashString(hash, hashsize, kd, sizeof(kd)); + + /* + * Pass the RFC 2617/7616 WWW-Authenticate header... + */ + + if (http->opaque[0]) + snprintf(digest, sizeof(digest), "username=\"%s\", realm=\"%s\", nonce=\"%s\", algorithm=%s, qop=auth, opaque=\"%s\", cnonce=\"%s\", nc=%08x, uri=\"%s\", response=\"%s\"", cupsUser(), http->realm, http->nonce, http->algorithm, http->opaque, cnonce, http->nonce_count, resource, kd); + else + snprintf(digest, sizeof(digest), "username=\"%s\", realm=\"%s\", nonce=\"%s\", algorithm=%s, qop=auth, cnonce=\"%s\", nc=%08x, uri=\"%s\", response=\"%s\"", username, http->realm, http->nonce, http->algorithm, cnonce, http->nonce_count, resource, kd); + } + else + { + /* + * Use old RFC 2069 Digest method... + */ + + /* H(A1) = H(username:realm:password) */ + snprintf(temp, sizeof(temp), "%s:%s:%s", username, http->realm, password); + hashsize = (size_t)cupsHashData("md5", (unsigned char *)temp, strlen(temp), hash, sizeof(hash)); + cupsHashString(hash, hashsize, ha1, sizeof(ha1)); + + /* H(A2) = H(method:uri) */ + snprintf(temp, sizeof(temp), "%s:%s", method, resource); + hashsize = (size_t)cupsHashData("md5", (unsigned char *)temp, strlen(temp), hash, sizeof(hash)); + cupsHashString(hash, hashsize, ha2, sizeof(ha2)); + + /* KD = H(H(A1):nonce:H(A2)) */ + snprintf(temp, sizeof(temp), "%s:%s:%s", ha1, http->nonce, ha2); + hashsize = (size_t)cupsHashData("md5", (unsigned char *)temp, strlen(temp), hash, sizeof(hash)); + cupsHashString(hash, hashsize, kd, sizeof(kd)); + + /* + * Pass the old RFC 2069 WWW-Authenticate header... + */ + + snprintf(digest, sizeof(digest), "username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\"", username, http->realm, http->nonce, resource, kd); + } + + httpSetAuthString(http, "Digest", digest); + + return (1); +} + + +/* + * 'httpStateString()' - Return the string describing a HTTP state value. + * + * @since CUPS 2.0/OS 10.10@ + */ + +const char * /* O - State string */ +httpStateString(http_state_t state) /* I - HTTP state value */ +{ + if (state < HTTP_STATE_ERROR || state > HTTP_STATE_UNKNOWN_VERSION) + return ("HTTP_STATE_???"); + else + return (http_states[state - HTTP_STATE_ERROR]); +} + + +/* + * '_httpStatus()' - Return the localized string describing a HTTP status code. + * + * The returned string is localized using the passed message catalog. + */ + +const char * /* O - Localized status string */ +_httpStatus(cups_lang_t *lang, /* I - Language */ + http_status_t status) /* I - HTTP status code */ +{ + const char *s; /* Status string */ + + + switch (status) + { + case HTTP_STATUS_ERROR : + s = strerror(errno); + break; + case HTTP_STATUS_CONTINUE : + s = _("Continue"); + break; + case HTTP_STATUS_SWITCHING_PROTOCOLS : + s = _("Switching Protocols"); + break; + case HTTP_STATUS_OK : + s = _("OK"); + break; + case HTTP_STATUS_CREATED : + s = _("Created"); + break; + case HTTP_STATUS_ACCEPTED : + s = _("Accepted"); + break; + case HTTP_STATUS_NO_CONTENT : + s = _("No Content"); + break; + case HTTP_STATUS_MOVED_PERMANENTLY : + s = _("Moved Permanently"); + break; + case HTTP_STATUS_FOUND : + s = _("Found"); + break; + case HTTP_STATUS_SEE_OTHER : + s = _("See Other"); + break; + case HTTP_STATUS_NOT_MODIFIED : + s = _("Not Modified"); + break; + case HTTP_STATUS_BAD_REQUEST : + s = _("Bad Request"); + break; + case HTTP_STATUS_UNAUTHORIZED : + case HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED : + s = _("Unauthorized"); + break; + case HTTP_STATUS_FORBIDDEN : + s = _("Forbidden"); + break; + case HTTP_STATUS_NOT_FOUND : + s = _("Not Found"); + break; + case HTTP_STATUS_REQUEST_TOO_LARGE : + s = _("Request Entity Too Large"); + break; + case HTTP_STATUS_URI_TOO_LONG : + s = _("URI Too Long"); + break; + case HTTP_STATUS_UPGRADE_REQUIRED : + s = _("Upgrade Required"); + break; + case HTTP_STATUS_NOT_IMPLEMENTED : + s = _("Not Implemented"); + break; + case HTTP_STATUS_NOT_SUPPORTED : + s = _("Not Supported"); + break; + case HTTP_STATUS_EXPECTATION_FAILED : + s = _("Expectation Failed"); + break; + case HTTP_STATUS_SERVICE_UNAVAILABLE : + s = _("Service Unavailable"); + break; + case HTTP_STATUS_SERVER_ERROR : + s = _("Internal Server Error"); + break; + case HTTP_STATUS_CUPS_PKI_ERROR : + s = _("SSL/TLS Negotiation Error"); + break; + case HTTP_STATUS_CUPS_WEBIF_DISABLED : + s = _("Web Interface is Disabled"); + break; + + default : + s = _("Unknown"); + break; + } + + return (_cupsLangString(lang, s)); +} + + +/* + * 'httpStatus()' - Return a short string describing a HTTP status code. + * + * The returned string is localized to the current POSIX locale and is based + * on the status strings defined in RFC 7231. + */ + +const char * /* O - Localized status string */ +httpStatus(http_status_t status) /* I - HTTP status code */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + return (_httpStatus(cg->lang_default, status)); +} + +/* + * 'httpURIStatusString()' - Return a string describing a URI status code. + * + * @since CUPS 2.0/OS 10.10@ + */ + +const char * /* O - Localized status string */ +httpURIStatusString( + http_uri_status_t status) /* I - URI status code */ +{ + const char *s; /* Status string */ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + switch (status) + { + case HTTP_URI_STATUS_OVERFLOW : + s = _("URI too large"); + break; + case HTTP_URI_STATUS_BAD_ARGUMENTS : + s = _("Bad arguments to function"); + break; + case HTTP_URI_STATUS_BAD_RESOURCE : + s = _("Bad resource in URI"); + break; + case HTTP_URI_STATUS_BAD_PORT : + s = _("Bad port number in URI"); + break; + case HTTP_URI_STATUS_BAD_HOSTNAME : + s = _("Bad hostname/address in URI"); + break; + case HTTP_URI_STATUS_BAD_USERNAME : + s = _("Bad username in URI"); + break; + case HTTP_URI_STATUS_BAD_SCHEME : + s = _("Bad scheme in URI"); + break; + case HTTP_URI_STATUS_BAD_URI : + s = _("Bad/empty URI"); + break; + case HTTP_URI_STATUS_OK : + s = _("OK"); + break; + case HTTP_URI_STATUS_MISSING_SCHEME : + s = _("Missing scheme in URI"); + break; + case HTTP_URI_STATUS_UNKNOWN_SCHEME : + s = _("Unknown scheme in URI"); + break; + case HTTP_URI_STATUS_MISSING_RESOURCE : + s = _("Missing resource in URI"); + break; + + default: + s = _("Unknown"); + break; + } + + return (_cupsLangString(cg->lang_default, s)); +} + + +#ifndef HAVE_HSTRERROR +/* + * '_cups_hstrerror()' - hstrerror() emulation function for Solaris and others. + */ + +const char * /* O - Error string */ +_cups_hstrerror(int error) /* I - Error number */ +{ + static const char * const errors[] = /* Error strings */ + { + "OK", + "Host not found.", + "Try again.", + "Unrecoverable lookup error.", + "No data associated with name." + }; + + + if (error < 0 || error > 4) + return ("Unknown hostname lookup error."); + else + return (errors[error]); +} +#endif /* !HAVE_HSTRERROR */ + + +/* + * '_httpDecodeURI()' - Percent-decode a HTTP request URI. + */ + +char * /* O - Decoded URI or NULL on error */ +_httpDecodeURI(char *dst, /* I - Destination buffer */ + const char *src, /* I - Source URI */ + size_t dstsize) /* I - Size of destination buffer */ +{ + if (http_copy_decode(dst, src, (int)dstsize, NULL, 1)) + return (dst); + else + return (NULL); +} + + +/* + * '_httpEncodeURI()' - Percent-encode a HTTP request URI. + */ + +char * /* O - Encoded URI */ +_httpEncodeURI(char *dst, /* I - Destination buffer */ + const char *src, /* I - Source URI */ + size_t dstsize) /* I - Size of destination buffer */ +{ + http_copy_encode(dst, src, dst + dstsize - 1, NULL, NULL, 1); + return (dst); +} + + +/* + * '_httpResolveURI()' - Resolve a DNS-SD URI. + */ + +const char * /* O - Resolved URI */ +_httpResolveURI( + const char *uri, /* I - DNS-SD URI */ + char *resolved_uri, /* I - Buffer for resolved URI */ + size_t resolved_size, /* I - Size of URI buffer */ + int options, /* I - Resolve options */ + int (*cb)(void *context), /* I - Continue callback function */ + void *context) /* I - Context pointer for callback */ +{ + char scheme[32], /* URI components... */ + userpass[256], + hostname[1024], + resource[1024]; + int port; +#ifdef DEBUG + http_uri_status_t status; /* URI decode status */ +#endif /* DEBUG */ + + + DEBUG_printf(("_httpResolveURI(uri=\"%s\", resolved_uri=%p, resolved_size=" CUPS_LLFMT ", options=0x%x, cb=%p, context=%p)", uri, (void *)resolved_uri, CUPS_LLCAST resolved_size, options, (void *)cb, context)); + + /* + * Get the device URI... + */ + +#ifdef DEBUG + if ((status = httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, + sizeof(scheme), userpass, sizeof(userpass), + hostname, sizeof(hostname), &port, resource, + sizeof(resource))) < HTTP_URI_STATUS_OK) +#else + if (httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, + sizeof(scheme), userpass, sizeof(userpass), + hostname, sizeof(hostname), &port, resource, + sizeof(resource)) < HTTP_URI_STATUS_OK) +#endif /* DEBUG */ + { + if (options & _HTTP_RESOLVE_STDERR) + _cupsLangPrintFilter(stderr, "ERROR", _("Bad device-uri \"%s\"."), uri); + + DEBUG_printf(("2_httpResolveURI: httpSeparateURI returned %d!", status)); + DEBUG_puts("2_httpResolveURI: Returning NULL"); + return (NULL); + } + + /* + * Resolve it as needed... + */ + + if (strstr(hostname, "._tcp")) + { +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + char *regtype, /* Pointer to type in hostname */ + *domain, /* Pointer to domain in hostname */ + *uuid, /* Pointer to UUID in URI */ + *uuidend; /* Pointer to end of UUID in URI */ + _http_uribuf_t uribuf; /* URI buffer */ + int offline = 0; /* offline-report state set? */ +# ifdef HAVE_DNSSD + DNSServiceRef ref, /* DNS-SD master service reference */ + domainref = NULL,/* DNS-SD service reference for domain */ + ippref = NULL, /* DNS-SD service reference for network IPP */ + ippsref = NULL, /* DNS-SD service reference for network IPPS */ + localref; /* DNS-SD service reference for .local */ + int extrasent = 0; /* Send the domain/IPP/IPPS resolves? */ +# ifdef HAVE_POLL + struct pollfd polldata; /* Polling data */ +# else /* select() */ + fd_set input_set; /* Input set for select() */ + struct timeval stimeout; /* Timeout value for select() */ +# endif /* HAVE_POLL */ +# elif defined(HAVE_AVAHI) + AvahiClient *client; /* Client information */ + int error; /* Status */ +# endif /* HAVE_DNSSD */ + + if (options & _HTTP_RESOLVE_STDERR) + fprintf(stderr, "DEBUG: Resolving \"%s\"...\n", hostname); + + /* + * Separate the hostname into service name, registration type, and domain... + */ + + for (regtype = strstr(hostname, "._tcp") - 2; + regtype > hostname; + regtype --) + if (regtype[0] == '.' && regtype[1] == '_') + { + /* + * Found ._servicetype in front of ._tcp... + */ + + *regtype++ = '\0'; + break; + } + + if (regtype <= hostname) + { + DEBUG_puts("2_httpResolveURI: Bad hostname, returning NULL"); + return (NULL); + } + + for (domain = strchr(regtype, '.'); + domain; + domain = strchr(domain + 1, '.')) + if (domain[1] != '_') + break; + + if (domain) + *domain++ = '\0'; + + if ((uuid = strstr(resource, "?uuid=")) != NULL) + { + *uuid = '\0'; + uuid += 6; + if ((uuidend = strchr(uuid, '&')) != NULL) + *uuidend = '\0'; + } + + resolved_uri[0] = '\0'; + + uribuf.buffer = resolved_uri; + uribuf.bufsize = resolved_size; + uribuf.options = options; + uribuf.resource = resource; + uribuf.uuid = uuid; + + DEBUG_printf(("2_httpResolveURI: Resolving hostname=\"%s\", regtype=\"%s\", " + "domain=\"%s\"\n", hostname, regtype, domain)); + if (options & _HTTP_RESOLVE_STDERR) + { + fputs("STATE: +connecting-to-device\n", stderr); + fprintf(stderr, "DEBUG: Resolving \"%s\", regtype=\"%s\", " + "domain=\"local.\"...\n", hostname, regtype); + } + + uri = NULL; + +# ifdef HAVE_DNSSD + if (DNSServiceCreateConnection(&ref) == kDNSServiceErr_NoError) + { + uint32_t myinterface = kDNSServiceInterfaceIndexAny; + /* Lookup on any interface */ + + if (!strcmp(scheme, "ippusb")) + myinterface = kDNSServiceInterfaceIndexLocalOnly; + + localref = ref; + if (DNSServiceResolve(&localref, + kDNSServiceFlagsShareConnection, myinterface, + hostname, regtype, "local.", http_resolve_cb, + &uribuf) == kDNSServiceErr_NoError) + { + int fds; /* Number of ready descriptors */ + time_t timeout, /* Poll timeout */ + start_time = time(NULL),/* Start time */ + end_time = start_time + 90; + /* End time */ + + while (time(NULL) < end_time) + { + if (options & _HTTP_RESOLVE_STDERR) + _cupsLangPrintFilter(stderr, "INFO", _("Looking for printer.")); + + if (cb && !(*cb)(context)) + { + DEBUG_puts("2_httpResolveURI: callback returned 0 (stop)"); + break; + } + + /* + * Wakeup every 2 seconds to emit a "looking for printer" message... + */ + + if ((timeout = end_time - time(NULL)) > 2) + timeout = 2; + +# ifdef HAVE_POLL + polldata.fd = DNSServiceRefSockFD(ref); + polldata.events = POLLIN; + + fds = poll(&polldata, 1, (int)(1000 * timeout)); + +# else /* select() */ + FD_ZERO(&input_set); + FD_SET(DNSServiceRefSockFD(ref), &input_set); + +# ifdef _WIN32 + stimeout.tv_sec = (long)timeout; +# else + stimeout.tv_sec = timeout; +# endif /* _WIN32 */ + stimeout.tv_usec = 0; + + fds = select(DNSServiceRefSockFD(ref)+1, &input_set, NULL, NULL, + &stimeout); +# endif /* HAVE_POLL */ + + if (fds < 0) + { + if (errno != EINTR && errno != EAGAIN) + { + DEBUG_printf(("2_httpResolveURI: poll error: %s", strerror(errno))); + break; + } + } + else if (fds == 0) + { + /* + * Wait 2 seconds for a response to the local resolve; if nothing + * comes in, do an additional domain resolution... + */ + + if (extrasent == 0 && domain && _cups_strcasecmp(domain, "local.")) + { + if (options & _HTTP_RESOLVE_STDERR) + fprintf(stderr, + "DEBUG: Resolving \"%s\", regtype=\"%s\", " + "domain=\"%s\"...\n", hostname, regtype, + domain ? domain : ""); + + domainref = ref; + if (DNSServiceResolve(&domainref, + kDNSServiceFlagsShareConnection, + myinterface, hostname, regtype, domain, + http_resolve_cb, + &uribuf) == kDNSServiceErr_NoError) + extrasent = 1; + } + else if (extrasent == 0 && !strcmp(scheme, "ippusb")) + { + if (options & _HTTP_RESOLVE_STDERR) + fprintf(stderr, "DEBUG: Resolving \"%s\", regtype=\"_ipps._tcp\", domain=\"local.\"...\n", hostname); + + ippsref = ref; + if (DNSServiceResolve(&ippsref, + kDNSServiceFlagsShareConnection, + kDNSServiceInterfaceIndexAny, hostname, + "_ipps._tcp", domain, http_resolve_cb, + &uribuf) == kDNSServiceErr_NoError) + extrasent = 1; + } + else if (extrasent == 1 && !strcmp(scheme, "ippusb")) + { + if (options & _HTTP_RESOLVE_STDERR) + fprintf(stderr, "DEBUG: Resolving \"%s\", regtype=\"_ipp._tcp\", domain=\"local.\"...\n", hostname); + + ippref = ref; + if (DNSServiceResolve(&ippref, + kDNSServiceFlagsShareConnection, + kDNSServiceInterfaceIndexAny, hostname, + "_ipp._tcp", domain, http_resolve_cb, + &uribuf) == kDNSServiceErr_NoError) + extrasent = 2; + } + + /* + * If it hasn't resolved within 5 seconds set the offline-report + * printer-state-reason... + */ + + if ((options & _HTTP_RESOLVE_STDERR) && offline == 0 && + time(NULL) > (start_time + 5)) + { + fputs("STATE: +offline-report\n", stderr); + offline = 1; + } + } + else + { + if (DNSServiceProcessResult(ref) == kDNSServiceErr_NoError && + resolved_uri[0]) + { + uri = resolved_uri; + break; + } + } + } + + if (extrasent) + { + if (domainref) + DNSServiceRefDeallocate(domainref); + if (ippref) + DNSServiceRefDeallocate(ippref); + if (ippsref) + DNSServiceRefDeallocate(ippsref); + } + + DNSServiceRefDeallocate(localref); + } + + DNSServiceRefDeallocate(ref); + } +# else /* HAVE_AVAHI */ + if ((uribuf.poll = avahi_simple_poll_new()) != NULL) + { + avahi_simple_poll_set_func(uribuf.poll, http_poll_cb, NULL); + + if ((client = avahi_client_new(avahi_simple_poll_get(uribuf.poll), + 0, http_client_cb, + &uribuf, &error)) != NULL) + { + if (avahi_service_resolver_new(client, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, hostname, + regtype, "local.", AVAHI_PROTO_UNSPEC, 0, + http_resolve_cb, &uribuf) != NULL) + { + time_t start_time = time(NULL), + /* Start time */ + end_time = start_time + 90; + /* End time */ + int pstatus; /* Poll status */ + + pstatus = avahi_simple_poll_iterate(uribuf.poll, 2000); + + if (pstatus == 0 && !resolved_uri[0] && domain && + _cups_strcasecmp(domain, "local.")) + { + /* + * Resolve for .local hasn't returned anything, try the listed + * domain... + */ + + avahi_service_resolver_new(client, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, hostname, + regtype, domain, AVAHI_PROTO_UNSPEC, 0, + http_resolve_cb, &uribuf); + } + + while (!pstatus && !resolved_uri[0] && time(NULL) < end_time) + { + if ((pstatus = avahi_simple_poll_iterate(uribuf.poll, 2000)) != 0) + break; + + /* + * If it hasn't resolved within 5 seconds set the offline-report + * printer-state-reason... + */ + + if ((options & _HTTP_RESOLVE_STDERR) && offline == 0 && + time(NULL) > (start_time + 5)) + { + fputs("STATE: +offline-report\n", stderr); + offline = 1; + } + } + + /* + * Collect the result (if we got one). + */ + + if (resolved_uri[0]) + uri = resolved_uri; + } + + avahi_client_free(client); + } + + avahi_simple_poll_free(uribuf.poll); + } +# endif /* HAVE_DNSSD */ + + if (options & _HTTP_RESOLVE_STDERR) + { + if (uri) + { + fprintf(stderr, "DEBUG: Resolved as \"%s\"...\n", uri); + fputs("STATE: -connecting-to-device,offline-report\n", stderr); + } + else + { + fputs("DEBUG: Unable to resolve URI\n", stderr); + fputs("STATE: -connecting-to-device\n", stderr); + } + } + +#else /* HAVE_DNSSD || HAVE_AVAHI */ + /* + * No DNS-SD support... + */ + + uri = NULL; +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + if ((options & _HTTP_RESOLVE_STDERR) && !uri) + _cupsLangPrintFilter(stderr, "INFO", _("Unable to find printer.")); + } + else + { + /* + * Nothing more to do... + */ + + strlcpy(resolved_uri, uri, resolved_size); + uri = resolved_uri; + } + + DEBUG_printf(("2_httpResolveURI: Returning \"%s\"", uri)); + + return (uri); +} + + +#ifdef HAVE_AVAHI +/* + * 'http_client_cb()' - Client callback for resolving URI. + */ + +static void +http_client_cb( + AvahiClient *client, /* I - Client information */ + AvahiClientState state, /* I - Current state */ + void *context) /* I - Pointer to URI buffer */ +{ + DEBUG_printf(("7http_client_cb(client=%p, state=%d, context=%p)", client, + state, context)); + + /* + * If the connection drops, quit. + */ + + if (state == AVAHI_CLIENT_FAILURE) + { + _http_uribuf_t *uribuf = (_http_uribuf_t *)context; + /* URI buffer */ + + avahi_simple_poll_quit(uribuf->poll); + } +} +#endif /* HAVE_AVAHI */ + + +/* + * 'http_copy_decode()' - Copy and decode a URI. + */ + +static const char * /* O - New source pointer or NULL on error */ +http_copy_decode(char *dst, /* O - Destination buffer */ + const char *src, /* I - Source pointer */ + int dstsize, /* I - Destination size */ + const char *term, /* I - Terminating characters */ + int decode) /* I - Decode %-encoded values */ +{ + char *ptr, /* Pointer into buffer */ + *end; /* End of buffer */ + int quoted; /* Quoted character */ + + + /* + * Copy the src to the destination until we hit a terminating character + * or the end of the string. + */ + + for (ptr = dst, end = dst + dstsize - 1; + *src && (!term || !strchr(term, *src)); + src ++) + if (ptr < end) + { + if (*src == '%' && decode) + { + if (isxdigit(src[1] & 255) && isxdigit(src[2] & 255)) + { + /* + * Grab a hex-encoded character... + */ + + src ++; + if (isalpha(*src)) + quoted = (tolower(*src) - 'a' + 10) << 4; + else + quoted = (*src - '0') << 4; + + src ++; + if (isalpha(*src)) + quoted |= tolower(*src) - 'a' + 10; + else + quoted |= *src - '0'; + + *ptr++ = (char)quoted; + } + else + { + /* + * Bad hex-encoded character... + */ + + *ptr = '\0'; + return (NULL); + } + } + else if ((*src & 255) <= 0x20 || (*src & 255) >= 0x7f) + { + *ptr = '\0'; + return (NULL); + } + else + *ptr++ = *src; + } + + *ptr = '\0'; + + return (src); +} + + +/* + * 'http_copy_encode()' - Copy and encode a URI. + */ + +static char * /* O - End of current URI */ +http_copy_encode(char *dst, /* O - Destination buffer */ + const char *src, /* I - Source pointer */ + char *dstend, /* I - End of destination buffer */ + const char *reserved, /* I - Extra reserved characters */ + const char *term, /* I - Terminating characters */ + int encode) /* I - %-encode reserved chars? */ +{ + static const char hex[] = "0123456789ABCDEF"; + + + while (*src && dst < dstend) + { + if (term && *src == *term) + return (dst); + + if (encode && (*src == '%' || *src <= ' ' || *src & 128 || + (reserved && strchr(reserved, *src)))) + { + /* + * Hex encode reserved characters... + */ + + if ((dst + 2) >= dstend) + break; + + *dst++ = '%'; + *dst++ = hex[(*src >> 4) & 15]; + *dst++ = hex[*src & 15]; + + src ++; + } + else + *dst++ = *src++; + } + + *dst = '\0'; + + if (*src) + return (NULL); + else + return (dst); +} + + +#ifdef HAVE_DNSSD +/* + * 'http_resolve_cb()' - Build a device URI for the given service name. + */ + +static void DNSSD_API +http_resolve_cb( + DNSServiceRef sdRef, /* I - Service reference */ + DNSServiceFlags flags, /* I - Results flags */ + uint32_t interfaceIndex, /* I - Interface number */ + DNSServiceErrorType errorCode, /* I - Error, if any */ + const char *fullName, /* I - Full service name */ + const char *hostTarget, /* I - Hostname */ + uint16_t port, /* I - Port number */ + uint16_t txtLen, /* I - Length of TXT record */ + const unsigned char *txtRecord, /* I - TXT record data */ + void *context) /* I - Pointer to URI buffer */ +{ + _http_uribuf_t *uribuf = (_http_uribuf_t *)context; + /* URI buffer */ + const char *scheme, /* URI scheme */ + *hostptr, /* Pointer into hostTarget */ + *reskey, /* "rp" or "rfo" */ + *resdefault; /* Default path */ + char resource[257], /* Remote path */ + fqdn[256]; /* FQDN of the .local name */ + const void *value; /* Value from TXT record */ + uint8_t valueLen; /* Length of value */ + + + DEBUG_printf(("4http_resolve_cb(sdRef=%p, flags=%x, interfaceIndex=%u, errorCode=%d, fullName=\"%s\", hostTarget=\"%s\", port=%u, txtLen=%u, txtRecord=%p, context=%p)", (void *)sdRef, flags, interfaceIndex, errorCode, fullName, hostTarget, port, txtLen, (void *)txtRecord, context)); + + /* + * If we have a UUID, compare it... + */ + + if (uribuf->uuid && + (value = TXTRecordGetValuePtr(txtLen, txtRecord, "UUID", + &valueLen)) != NULL) + { + char uuid[256]; /* UUID value */ + + memcpy(uuid, value, valueLen); + uuid[valueLen] = '\0'; + + if (_cups_strcasecmp(uuid, uribuf->uuid)) + { + if (uribuf->options & _HTTP_RESOLVE_STDERR) + fprintf(stderr, "DEBUG: Found UUID %s, looking for %s.", uuid, + uribuf->uuid); + + DEBUG_printf(("5http_resolve_cb: Found UUID %s, looking for %s.", uuid, + uribuf->uuid)); + return; + } + } + + /* + * Figure out the scheme from the full name... + */ + + if (strstr(fullName, "._ipps") || strstr(fullName, "._ipp-tls")) + scheme = "ipps"; + else if (strstr(fullName, "._ipp") || strstr(fullName, "._fax-ipp")) + scheme = "ipp"; + else if (strstr(fullName, "._http.")) + scheme = "http"; + else if (strstr(fullName, "._https.")) + scheme = "https"; + else if (strstr(fullName, "._printer.")) + scheme = "lpd"; + else if (strstr(fullName, "._pdl-datastream.")) + scheme = "socket"; + else + scheme = "riousbprint"; + + /* + * Extract the "remote printer" key from the TXT record... + */ + + if ((uribuf->options & _HTTP_RESOLVE_FAXOUT) && + (!strcmp(scheme, "ipp") || !strcmp(scheme, "ipps")) && + !TXTRecordGetValuePtr(txtLen, txtRecord, "printer-type", &valueLen)) + { + reskey = "rfo"; + resdefault = "/ipp/faxout"; + } + else + { + reskey = "rp"; + resdefault = "/"; + } + + if ((value = TXTRecordGetValuePtr(txtLen, txtRecord, reskey, + &valueLen)) != NULL) + { + if (((char *)value)[0] == '/') + { + /* + * Value (incorrectly) has a leading slash already... + */ + + memcpy(resource, value, valueLen); + resource[valueLen] = '\0'; + } + else + { + /* + * Convert to resource by concatenating with a leading "/"... + */ + + resource[0] = '/'; + memcpy(resource + 1, value, valueLen); + resource[valueLen + 1] = '\0'; + } + } + else + { + /* + * Use the default value... + */ + + strlcpy(resource, resdefault, sizeof(resource)); + } + + /* + * Lookup the FQDN if needed... + */ + + if ((uribuf->options & _HTTP_RESOLVE_FQDN) && + (hostptr = hostTarget + strlen(hostTarget) - 7) > hostTarget && + !_cups_strcasecmp(hostptr, ".local.")) + { + /* + * OK, we got a .local name but the caller needs a real domain. Start by + * getting the IP address of the .local name and then do reverse-lookups... + */ + + http_addrlist_t *addrlist, /* List of addresses */ + *addr; /* Current address */ + + DEBUG_printf(("5http_resolve_cb: Looking up \"%s\".", hostTarget)); + + snprintf(fqdn, sizeof(fqdn), "%d", ntohs(port)); + if ((addrlist = httpAddrGetList(hostTarget, AF_UNSPEC, fqdn)) != NULL) + { + for (addr = addrlist; addr; addr = addr->next) + { + int error = getnameinfo(&(addr->addr.addr), (socklen_t)httpAddrLength(&(addr->addr)), fqdn, sizeof(fqdn), NULL, 0, NI_NAMEREQD); + + if (!error) + { + DEBUG_printf(("5http_resolve_cb: Found \"%s\".", fqdn)); + + if ((hostptr = fqdn + strlen(fqdn) - 6) <= fqdn || + _cups_strcasecmp(hostptr, ".local")) + { + hostTarget = fqdn; + break; + } + } +#ifdef DEBUG + else + DEBUG_printf(("5http_resolve_cb: \"%s\" did not resolve: %d", + httpAddrString(&(addr->addr), fqdn, sizeof(fqdn)), + error)); +#endif /* DEBUG */ + } + + httpAddrFreeList(addrlist); + } + } + + /* + * Assemble the final device URI... + */ + + if ((!strcmp(scheme, "ipp") || !strcmp(scheme, "ipps")) && + !strcmp(uribuf->resource, "/cups")) + httpAssembleURIf(HTTP_URI_CODING_ALL, uribuf->buffer, (int)uribuf->bufsize, scheme, NULL, hostTarget, ntohs(port), "%s?snmp=false", resource); + else + httpAssembleURI(HTTP_URI_CODING_ALL, uribuf->buffer, (int)uribuf->bufsize, scheme, NULL, hostTarget, ntohs(port), resource); + + DEBUG_printf(("5http_resolve_cb: Resolved URI is \"%s\"...", uribuf->buffer)); +} + +#elif defined(HAVE_AVAHI) +/* + * 'http_poll_cb()' - Wait for input on the specified file descriptors. + * + * Note: This function is needed because avahi_simple_poll_iterate is broken + * and always uses a timeout of 0 (!) milliseconds. + * (Avahi Ticket #364) + * + * @private@ + */ + +static int /* O - Number of file descriptors matching */ +http_poll_cb( + struct pollfd *pollfds, /* I - File descriptors */ + unsigned int num_pollfds, /* I - Number of file descriptors */ + int timeout, /* I - Timeout in milliseconds (used) */ + void *context) /* I - User data (unused) */ +{ + (void)timeout; + (void)context; + + return (poll(pollfds, num_pollfds, 2000)); +} + + +/* + * 'http_resolve_cb()' - Build a device URI for the given service name. + */ + +static void +http_resolve_cb( + AvahiServiceResolver *resolver, /* I - Resolver (unused) */ + AvahiIfIndex interface, /* I - Interface index (unused) */ + AvahiProtocol protocol, /* I - Network protocol (unused) */ + AvahiResolverEvent event, /* I - Event (found, etc.) */ + const char *name, /* I - Service name */ + const char *type, /* I - Registration type */ + const char *domain, /* I - Domain (unused) */ + const char *hostTarget, /* I - Hostname */ + const AvahiAddress *address, /* I - Address (unused) */ + uint16_t port, /* I - Port number */ + AvahiStringList *txt, /* I - TXT record */ + AvahiLookupResultFlags flags, /* I - Lookup flags (unused) */ + void *context) /* I - Pointer to URI buffer */ +{ + _http_uribuf_t *uribuf = (_http_uribuf_t *)context; + /* URI buffer */ + const char *scheme, /* URI scheme */ + *hostptr, /* Pointer into hostTarget */ + *reskey, /* "rp" or "rfo" */ + *resdefault; /* Default path */ + char resource[257], /* Remote path */ + fqdn[256]; /* FQDN of the .local name */ + AvahiStringList *pair; /* Current TXT record key/value pair */ + char *value; /* Value for "rp" key */ + size_t valueLen = 0; /* Length of "rp" key */ + + + DEBUG_printf(("4http_resolve_cb(resolver=%p, " + "interface=%d, protocol=%d, event=%d, name=\"%s\", " + "type=\"%s\", domain=\"%s\", hostTarget=\"%s\", address=%p, " + "port=%d, txt=%p, flags=%d, context=%p)", + resolver, interface, protocol, event, name, type, domain, + hostTarget, address, port, txt, flags, context)); + + if (event != AVAHI_RESOLVER_FOUND) + { + avahi_service_resolver_free(resolver); + avahi_simple_poll_quit(uribuf->poll); + return; + } + + /* + * If we have a UUID, compare it... + */ + + if (uribuf->uuid && (pair = avahi_string_list_find(txt, "UUID")) != NULL) + { + char uuid[256]; /* UUID value */ + + avahi_string_list_get_pair(pair, NULL, &value, &valueLen); + + memcpy(uuid, value, valueLen); + uuid[valueLen] = '\0'; + + if (_cups_strcasecmp(uuid, uribuf->uuid)) + { + if (uribuf->options & _HTTP_RESOLVE_STDERR) + fprintf(stderr, "DEBUG: Found UUID %s, looking for %s.", uuid, + uribuf->uuid); + + DEBUG_printf(("5http_resolve_cb: Found UUID %s, looking for %s.", uuid, + uribuf->uuid)); + return; + } + } + + /* + * Figure out the scheme from the full name... + */ + + if (strstr(type, "_ipp.")) + scheme = "ipp"; + else if (strstr(type, "_printer.")) + scheme = "lpd"; + else if (strstr(type, "_pdl-datastream.")) + scheme = "socket"; + else + scheme = "riousbprint"; + + if (!strncmp(type, "_ipps.", 6) || !strncmp(type, "_ipp-tls.", 9)) + scheme = "ipps"; + else if (!strncmp(type, "_ipp.", 5) || !strncmp(type, "_fax-ipp.", 9)) + scheme = "ipp"; + else if (!strncmp(type, "_http.", 6)) + scheme = "http"; + else if (!strncmp(type, "_https.", 7)) + scheme = "https"; + else if (!strncmp(type, "_printer.", 9)) + scheme = "lpd"; + else if (!strncmp(type, "_pdl-datastream.", 16)) + scheme = "socket"; + else + { + avahi_service_resolver_free(resolver); + avahi_simple_poll_quit(uribuf->poll); + return; + } + + /* + * Extract the remote resource key from the TXT record... + */ + + if ((uribuf->options & _HTTP_RESOLVE_FAXOUT) && + (!strcmp(scheme, "ipp") || !strcmp(scheme, "ipps")) && + !avahi_string_list_find(txt, "printer-type")) + { + reskey = "rfo"; + resdefault = "/ipp/faxout"; + } + else + { + reskey = "rp"; + resdefault = "/"; + } + + if ((pair = avahi_string_list_find(txt, reskey)) != NULL) + { + avahi_string_list_get_pair(pair, NULL, &value, &valueLen); + + if (value[0] == '/') + { + /* + * Value (incorrectly) has a leading slash already... + */ + + memcpy(resource, value, valueLen); + resource[valueLen] = '\0'; + } + else + { + /* + * Convert to resource by concatenating with a leading "/"... + */ + + resource[0] = '/'; + memcpy(resource + 1, value, valueLen); + resource[valueLen + 1] = '\0'; + } + } + else + { + /* + * Use the default value... + */ + + strlcpy(resource, resdefault, sizeof(resource)); + } + + /* + * Lookup the FQDN if needed... + */ + + if ((uribuf->options & _HTTP_RESOLVE_FQDN) && + (hostptr = hostTarget + strlen(hostTarget) - 6) > hostTarget && + !_cups_strcasecmp(hostptr, ".local")) + { + /* + * OK, we got a .local name but the caller needs a real domain. Start by + * getting the IP address of the .local name and then do reverse-lookups... + */ + + http_addrlist_t *addrlist, /* List of addresses */ + *addr; /* Current address */ + + DEBUG_printf(("5http_resolve_cb: Looking up \"%s\".", hostTarget)); + + snprintf(fqdn, sizeof(fqdn), "%d", ntohs(port)); + if ((addrlist = httpAddrGetList(hostTarget, AF_UNSPEC, fqdn)) != NULL) + { + for (addr = addrlist; addr; addr = addr->next) + { + int error = getnameinfo(&(addr->addr.addr), (socklen_t)httpAddrLength(&(addr->addr)), fqdn, sizeof(fqdn), NULL, 0, NI_NAMEREQD); + + if (!error) + { + DEBUG_printf(("5http_resolve_cb: Found \"%s\".", fqdn)); + + if ((hostptr = fqdn + strlen(fqdn) - 6) <= fqdn || + _cups_strcasecmp(hostptr, ".local")) + { + hostTarget = fqdn; + break; + } + } +#ifdef DEBUG + else + DEBUG_printf(("5http_resolve_cb: \"%s\" did not resolve: %d", + httpAddrString(&(addr->addr), fqdn, sizeof(fqdn)), + error)); +#endif /* DEBUG */ + } + + httpAddrFreeList(addrlist); + } + } + + /* + * Assemble the final device URI using the resolved hostname... + */ + + httpAssembleURI(HTTP_URI_CODING_ALL, uribuf->buffer, (int)uribuf->bufsize, scheme, + NULL, hostTarget, port, resource); + DEBUG_printf(("5http_resolve_cb: Resolved URI is \"%s\".", uribuf->buffer)); + + avahi_simple_poll_quit(uribuf->poll); +} +#endif /* HAVE_DNSSD */ diff --git a/cups/http.c b/cups/http.c new file mode 100644 index 0000000..8d69ce3 --- /dev/null +++ b/cups/http.c @@ -0,0 +1,4848 @@ +/* + * HTTP routines for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * This file contains Kerberos support code, copyright 2006 by + * Jelmer Vernooij. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include +#include +#ifdef _WIN32 +# include +#else +# include +# include +# include +#endif /* _WIN32 */ +#ifdef HAVE_POLL +# include +#endif /* HAVE_POLL */ +# ifdef HAVE_LIBZ +# include +# endif /* HAVE_LIBZ */ + + +/* + * Local functions... + */ + +static void http_add_field(http_t *http, http_field_t field, const char *value, int append); +#ifdef HAVE_LIBZ +static void http_content_coding_finish(http_t *http); +static void http_content_coding_start(http_t *http, + const char *value); +#endif /* HAVE_LIBZ */ +static http_t *http_create(const char *host, int port, + http_addrlist_t *addrlist, int family, + http_encryption_t encryption, + int blocking, _http_mode_t mode); +#ifdef DEBUG +static void http_debug_hex(const char *prefix, const char *buffer, + int bytes); +#endif /* DEBUG */ +static ssize_t http_read(http_t *http, char *buffer, size_t length); +static ssize_t http_read_buffered(http_t *http, char *buffer, size_t length); +static ssize_t http_read_chunk(http_t *http, char *buffer, size_t length); +static int http_send(http_t *http, http_state_t request, + const char *uri); +static ssize_t http_write(http_t *http, const char *buffer, + size_t length); +static ssize_t http_write_chunk(http_t *http, const char *buffer, + size_t length); +static off_t http_set_length(http_t *http); +static void http_set_timeout(int fd, double timeout); +static void http_set_wait(http_t *http); + +#ifdef HAVE_SSL +static int http_tls_upgrade(http_t *http); +#endif /* HAVE_SSL */ + + +/* + * Local globals... + */ + +static const char * const http_fields[] = + { + "Accept-Language", + "Accept-Ranges", + "Authorization", + "Connection", + "Content-Encoding", + "Content-Language", + "Content-Length", + "Content-Location", + "Content-MD5", + "Content-Range", + "Content-Type", + "Content-Version", + "Date", + "Host", + "If-Modified-Since", + "If-Unmodified-since", + "Keep-Alive", + "Last-Modified", + "Link", + "Location", + "Range", + "Referer", + "Retry-After", + "Transfer-Encoding", + "Upgrade", + "User-Agent", + "WWW-Authenticate", + "Accept-Encoding", + "Allow", + "Server", + "Authentication-Info" + }; + + +/* + * 'httpAcceptConnection()' - Accept a new HTTP client connection from the + * specified listening socket. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +http_t * /* O - HTTP connection or @code NULL@ */ +httpAcceptConnection(int fd, /* I - Listen socket file descriptor */ + int blocking) /* I - 1 if the connection should be + blocking, 0 otherwise */ +{ + http_t *http; /* HTTP connection */ + http_addrlist_t addrlist; /* Dummy address list */ + socklen_t addrlen; /* Length of address */ + int val; /* Socket option value */ + + + /* + * Range check input... + */ + + if (fd < 0) + return (NULL); + + /* + * Create the client connection... + */ + + memset(&addrlist, 0, sizeof(addrlist)); + + if ((http = http_create(NULL, 0, &addrlist, AF_UNSPEC, + HTTP_ENCRYPTION_IF_REQUESTED, blocking, + _HTTP_MODE_SERVER)) == NULL) + return (NULL); + + /* + * Accept the client and get the remote address... + */ + + addrlen = sizeof(http_addr_t); + + if ((http->fd = accept(fd, (struct sockaddr *)&(http->addrlist->addr), + &addrlen)) < 0) + { + _cupsSetHTTPError(HTTP_STATUS_ERROR); + httpClose(http); + + return (NULL); + } + + http->hostaddr = &(http->addrlist->addr); + + if (httpAddrLocalhost(http->hostaddr)) + strlcpy(http->hostname, "localhost", sizeof(http->hostname)); + else + httpAddrString(http->hostaddr, http->hostname, sizeof(http->hostname)); + +#ifdef SO_NOSIGPIPE + /* + * Disable SIGPIPE for this socket. + */ + + val = 1; + setsockopt(http->fd, SOL_SOCKET, SO_NOSIGPIPE, CUPS_SOCAST &val, sizeof(val)); +#endif /* SO_NOSIGPIPE */ + + /* + * Using TCP_NODELAY improves responsiveness, especially on systems + * with a slow loopback interface. Since we write large buffers + * when sending print files and requests, there shouldn't be any + * performance penalty for this... + */ + + val = 1; + setsockopt(http->fd, IPPROTO_TCP, TCP_NODELAY, CUPS_SOCAST &val, sizeof(val)); + +#ifdef FD_CLOEXEC + /* + * Close this socket when starting another process... + */ + + fcntl(http->fd, F_SETFD, FD_CLOEXEC); +#endif /* FD_CLOEXEC */ + + return (http); +} + + +/* + * 'httpAddCredential()' - Allocates and adds a single credential to an array. + * + * Use @code cupsArrayNew(NULL, NULL)@ to create a credentials array. + * + * @since CUPS 1.5/macOS 10.7@ + */ + +int /* O - 0 on success, -1 on error */ +httpAddCredential( + cups_array_t *credentials, /* I - Credentials array */ + const void *data, /* I - PEM-encoded X.509 data */ + size_t datalen) /* I - Length of data */ +{ + http_credential_t *credential; /* Credential data */ + + + if ((credential = malloc(sizeof(http_credential_t))) != NULL) + { + credential->datalen = datalen; + + if ((credential->data = malloc(datalen)) != NULL) + { + memcpy(credential->data, data, datalen); + cupsArrayAdd(credentials, credential); + return (0); + } + + free(credential); + } + + return (-1); +} + + +/* + * 'httpBlocking()' - Set blocking/non-blocking behavior on a connection. + */ + +void +httpBlocking(http_t *http, /* I - HTTP connection */ + int b) /* I - 1 = blocking, 0 = non-blocking */ +{ + if (http) + { + http->blocking = b; + http_set_wait(http); + } +} + + +/* + * 'httpCheck()' - Check to see if there is a pending response from the server. + */ + +int /* O - 0 = no data, 1 = data available */ +httpCheck(http_t *http) /* I - HTTP connection */ +{ + return (httpWait(http, 0)); +} + + +/* + * 'httpClearCookie()' - Clear the cookie value(s). + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +void +httpClearCookie(http_t *http) /* I - HTTP connection */ +{ + if (!http) + return; + + if (http->cookie) + { + free(http->cookie); + http->cookie = NULL; + } +} + + +/* + * 'httpClearFields()' - Clear HTTP request fields. + */ + +void +httpClearFields(http_t *http) /* I - HTTP connection */ +{ + http_field_t field; /* Current field */ + + + DEBUG_printf(("httpClearFields(http=%p)", (void *)http)); + + if (http) + { + memset(http->_fields, 0, sizeof(http->fields)); + + for (field = HTTP_FIELD_ACCEPT_LANGUAGE; field < HTTP_FIELD_MAX; field ++) + { + if (http->fields[field] && http->fields[field] != http->_fields[field]) + free(http->fields[field]); + + http->fields[field] = NULL; + } + + if (http->mode == _HTTP_MODE_CLIENT) + { + if (http->hostname[0] == '/') + httpSetField(http, HTTP_FIELD_HOST, "localhost"); + else + httpSetField(http, HTTP_FIELD_HOST, http->hostname); + } + + http->expect = (http_status_t)0; + } +} + + +/* + * 'httpClose()' - Close an HTTP connection. + */ + +void +httpClose(http_t *http) /* I - HTTP connection */ +{ +#ifdef HAVE_GSSAPI + OM_uint32 minor_status; /* Minor status code */ +#endif /* HAVE_GSSAPI */ + + + DEBUG_printf(("httpClose(http=%p)", (void *)http)); + + /* + * Range check input... + */ + + if (!http) + return; + + /* + * Close any open connection... + */ + + _httpDisconnect(http); + + /* + * Free memory used... + */ + + httpAddrFreeList(http->addrlist); + + if (http->cookie) + free(http->cookie); + +#ifdef HAVE_GSSAPI + if (http->gssctx != GSS_C_NO_CONTEXT) + gss_delete_sec_context(&minor_status, &http->gssctx, GSS_C_NO_BUFFER); + + if (http->gssname != GSS_C_NO_NAME) + gss_release_name(&minor_status, &http->gssname); +#endif /* HAVE_GSSAPI */ + +#ifdef HAVE_AUTHORIZATION_H + if (http->auth_ref) + AuthorizationFree(http->auth_ref, kAuthorizationFlagDefaults); +#endif /* HAVE_AUTHORIZATION_H */ + + httpClearFields(http); + + if (http->authstring && http->authstring != http->_authstring) + free(http->authstring); + + free(http); +} + + +/* + * 'httpCompareCredentials()' - Compare two sets of X.509 credentials. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 1 if they match, 0 if they do not */ +httpCompareCredentials( + cups_array_t *cred1, /* I - First set of X.509 credentials */ + cups_array_t *cred2) /* I - Second set of X.509 credentials */ +{ + http_credential_t *temp1, *temp2; /* Temporary credentials */ + + + for (temp1 = (http_credential_t *)cupsArrayFirst(cred1), temp2 = (http_credential_t *)cupsArrayFirst(cred2); temp1 && temp2; temp1 = (http_credential_t *)cupsArrayNext(cred1), temp2 = (http_credential_t *)cupsArrayNext(cred2)) + if (temp1->datalen != temp2->datalen) + return (0); + else if (memcmp(temp1->data, temp2->data, temp1->datalen)) + return (0); + + return (temp1 == temp2); +} + + +/* + * 'httpConnect()' - Connect to a HTTP server. + * + * This function is deprecated - use @link httpConnect2@ instead. + * + * @deprecated@ @exclude all@ + */ + +http_t * /* O - New HTTP connection */ +httpConnect(const char *host, /* I - Host to connect to */ + int port) /* I - Port number */ +{ + return (httpConnect2(host, port, NULL, AF_UNSPEC, + HTTP_ENCRYPTION_IF_REQUESTED, 1, 30000, NULL)); +} + + +/* + * 'httpConnect2()' - Connect to a HTTP server. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +http_t * /* O - New HTTP connection */ +httpConnect2( + const char *host, /* I - Host to connect to */ + int port, /* I - Port number */ + http_addrlist_t *addrlist, /* I - List of addresses or @code NULL@ to lookup */ + int family, /* I - Address family to use or @code AF_UNSPEC@ for any */ + http_encryption_t encryption, /* I - Type of encryption to use */ + int blocking, /* I - 1 for blocking connection, 0 for non-blocking */ + int msec, /* I - Connection timeout in milliseconds, 0 means don't connect */ + int *cancel) /* I - Pointer to "cancel" variable */ +{ + http_t *http; /* New HTTP connection */ + + + DEBUG_printf(("httpConnect2(host=\"%s\", port=%d, addrlist=%p, family=%d, encryption=%d, blocking=%d, msec=%d, cancel=%p)", host, port, (void *)addrlist, family, encryption, blocking, msec, (void *)cancel)); + + /* + * Create the HTTP structure... + */ + + if ((http = http_create(host, port, addrlist, family, encryption, blocking, + _HTTP_MODE_CLIENT)) == NULL) + return (NULL); + + /* + * Optionally connect to the remote system... + */ + + if (msec == 0 || !httpReconnect2(http, msec, cancel)) + return (http); + + /* + * Could not connect to any known address - bail out! + */ + + httpClose(http); + + return (NULL); +} + + +/* + * 'httpConnectEncrypt()' - Connect to a HTTP server using encryption. + * + * This function is now deprecated. Please use the @link httpConnect2@ function + * instead. + * + * @deprecated@ @exclude all@ + */ + +http_t * /* O - New HTTP connection */ +httpConnectEncrypt( + const char *host, /* I - Host to connect to */ + int port, /* I - Port number */ + http_encryption_t encryption) /* I - Type of encryption to use */ +{ + DEBUG_printf(("httpConnectEncrypt(host=\"%s\", port=%d, encryption=%d)", + host, port, encryption)); + + return (httpConnect2(host, port, NULL, AF_UNSPEC, encryption, 1, 30000, + NULL)); +} + + +/* + * 'httpDelete()' - Send a DELETE request to the server. + */ + +int /* O - Status of call (0 = success) */ +httpDelete(http_t *http, /* I - HTTP connection */ + const char *uri) /* I - URI to delete */ +{ + return (http_send(http, HTTP_STATE_DELETE, uri)); +} + + +/* + * '_httpDisconnect()' - Disconnect a HTTP connection. + */ + +void +_httpDisconnect(http_t *http) /* I - HTTP connection */ +{ +#ifdef HAVE_SSL + if (http->tls) + _httpTLSStop(http); +#endif /* HAVE_SSL */ + + httpAddrClose(NULL, http->fd); + + http->fd = -1; +} + + +/* + * 'httpEncryption()' - Set the required encryption on the link. + */ + +int /* O - -1 on error, 0 on success */ +httpEncryption(http_t *http, /* I - HTTP connection */ + http_encryption_t e) /* I - New encryption preference */ +{ + DEBUG_printf(("httpEncryption(http=%p, e=%d)", (void *)http, e)); + +#ifdef HAVE_SSL + if (!http) + return (0); + + if (http->mode == _HTTP_MODE_CLIENT) + { + http->encryption = e; + + if ((http->encryption == HTTP_ENCRYPTION_ALWAYS && !http->tls) || + (http->encryption == HTTP_ENCRYPTION_NEVER && http->tls)) + return (httpReconnect2(http, 30000, NULL)); + else if (http->encryption == HTTP_ENCRYPTION_REQUIRED && !http->tls) + return (http_tls_upgrade(http)); + else + return (0); + } + else + { + if (e == HTTP_ENCRYPTION_NEVER && http->tls) + return (-1); + + http->encryption = e; + if (e != HTTP_ENCRYPTION_IF_REQUESTED && !http->tls) + return (_httpTLSStart(http)); + else + return (0); + } +#else + if (e == HTTP_ENCRYPTION_ALWAYS || e == HTTP_ENCRYPTION_REQUIRED) + return (-1); + else + return (0); +#endif /* HAVE_SSL */ +} + + +/* + * 'httpError()' - Get the last error on a connection. + */ + +int /* O - Error code (errno) value */ +httpError(http_t *http) /* I - HTTP connection */ +{ + if (http) + return (http->error); + else + return (EINVAL); +} + + +/* + * 'httpFieldValue()' - Return the HTTP field enumeration value for a field + * name. + */ + +http_field_t /* O - Field index */ +httpFieldValue(const char *name) /* I - String name */ +{ + int i; /* Looping var */ + + + for (i = 0; i < HTTP_FIELD_MAX; i ++) + if (!_cups_strcasecmp(name, http_fields[i])) + return ((http_field_t)i); + + return (HTTP_FIELD_UNKNOWN); +} + + +/* + * 'httpFlush()' - Flush data read from a HTTP connection. + */ + +void +httpFlush(http_t *http) /* I - HTTP connection */ +{ + char buffer[8192]; /* Junk buffer */ + int blocking; /* To block or not to block */ + http_state_t oldstate; /* Old state */ + + + DEBUG_printf(("httpFlush(http=%p), state=%s", (void *)http, httpStateString(http->state))); + + /* + * Nothing to do if we are in the "waiting" state... + */ + + if (http->state == HTTP_STATE_WAITING) + return; + + /* + * Temporarily set non-blocking mode so we don't get stuck in httpRead()... + */ + + blocking = http->blocking; + http->blocking = 0; + + /* + * Read any data we can... + */ + + oldstate = http->state; + while (httpRead2(http, buffer, sizeof(buffer)) > 0); + + /* + * Restore blocking and reset the connection if we didn't get all of + * the remaining data... + */ + + http->blocking = blocking; + + if (http->state == oldstate && http->state != HTTP_STATE_WAITING && + http->fd >= 0) + { + /* + * Didn't get the data back, so close the current connection. + */ + +#ifdef HAVE_LIBZ + if (http->coding) + http_content_coding_finish(http); +#endif /* HAVE_LIBZ */ + + DEBUG_puts("1httpFlush: Setting state to HTTP_STATE_WAITING and closing."); + + http->state = HTTP_STATE_WAITING; + +#ifdef HAVE_SSL + if (http->tls) + _httpTLSStop(http); +#endif /* HAVE_SSL */ + + httpAddrClose(NULL, http->fd); + + http->fd = -1; + } +} + + +/* + * 'httpFlushWrite()' - Flush data written to a HTTP connection. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - Bytes written or -1 on error */ +httpFlushWrite(http_t *http) /* I - HTTP connection */ +{ + ssize_t bytes; /* Bytes written */ + + + DEBUG_printf(("httpFlushWrite(http=%p) data_encoding=%d", (void *)http, http ? http->data_encoding : 100)); + + if (!http || !http->wused) + { + DEBUG_puts(http ? "1httpFlushWrite: Write buffer is empty." : + "1httpFlushWrite: No connection."); + return (0); + } + + if (http->data_encoding == HTTP_ENCODING_CHUNKED) + bytes = http_write_chunk(http, http->wbuffer, (size_t)http->wused); + else + bytes = http_write(http, http->wbuffer, (size_t)http->wused); + + http->wused = 0; + + DEBUG_printf(("1httpFlushWrite: Returning %d, errno=%d.", (int)bytes, errno)); + + return ((int)bytes); +} + + +/* + * 'httpFreeCredentials()' - Free an array of credentials. + */ + +void +httpFreeCredentials( + cups_array_t *credentials) /* I - Array of credentials */ +{ + http_credential_t *credential; /* Credential */ + + + for (credential = (http_credential_t *)cupsArrayFirst(credentials); + credential; + credential = (http_credential_t *)cupsArrayNext(credentials)) + { + cupsArrayRemove(credentials, credential); + free((void *)credential->data); + free(credential); + } + + cupsArrayDelete(credentials); +} + + +/* + * 'httpGet()' - Send a GET request to the server. + */ + +int /* O - Status of call (0 = success) */ +httpGet(http_t *http, /* I - HTTP connection */ + const char *uri) /* I - URI to get */ +{ + return (http_send(http, HTTP_STATE_GET, uri)); +} + + +/* + * 'httpGetActivity()' - Get the most recent activity for a connection. + * + * The return value is the time in seconds of the last read or write. + * + * @since CUPS 2.0/OS 10.10@ + */ + +time_t /* O - Time of last read or write */ +httpGetActivity(http_t *http) /* I - HTTP connection */ +{ + return (http ? http->activity : 0); +} + + +/* + * 'httpGetAuthString()' - Get the current authorization string. + * + * The authorization string is set by @link cupsDoAuthentication@ and + * @link httpSetAuthString@. Use @link httpGetAuthString@ to retrieve the + * string to use with @link httpSetField@ for the + * @code HTTP_FIELD_AUTHORIZATION@ value. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +char * /* O - Authorization string */ +httpGetAuthString(http_t *http) /* I - HTTP connection */ +{ + if (http) + return (http->authstring); + else + return (NULL); +} + + +/* + * 'httpGetBlocking()' - Get the blocking/non-block state of a connection. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 1 if blocking, 0 if non-blocking */ +httpGetBlocking(http_t *http) /* I - HTTP connection */ +{ + return (http ? http->blocking : 0); +} + + +/* + * 'httpGetContentEncoding()' - Get a common content encoding, if any, between + * the client and server. + * + * This function uses the value of the Accepts-Encoding HTTP header and must be + * called after receiving a response from the server or a request from the + * client. The value returned can be use in subsequent requests (for clients) + * or in the response (for servers) in order to compress the content stream. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +const char * /* O - Content-Coding value or + @code NULL@ for the identity + coding. */ +httpGetContentEncoding(http_t *http) /* I - HTTP connection */ +{ +#ifdef HAVE_LIBZ + if (http && http->fields[HTTP_FIELD_ACCEPT_ENCODING]) + { + int i; /* Looping var */ + char temp[HTTP_MAX_VALUE], /* Copy of Accepts-Encoding value */ + *start, /* Start of coding value */ + *end; /* End of coding value */ + double qvalue; /* "qvalue" for coding */ + struct lconv *loc = localeconv(); /* Locale data */ + static const char * const codings[] = + { /* Supported content codings */ + "deflate", + "gzip", + "x-deflate", + "x-gzip" + }; + + strlcpy(temp, http->fields[HTTP_FIELD_ACCEPT_ENCODING], sizeof(temp)); + + for (start = temp; *start; start = end) + { + /* + * Find the end of the coding name... + */ + + qvalue = 1.0; + end = start; + while (*end && *end != ';' && *end != ',' && !isspace(*end & 255)) + end ++; + + if (*end == ';') + { + /* + * Grab the qvalue as needed... + */ + + if (!strncmp(end, ";q=", 3)) + qvalue = _cupsStrScand(end + 3, NULL, loc); + + /* + * Skip past all attributes... + */ + + *end++ = '\0'; + while (*end && *end != ',' && !isspace(*end & 255)) + end ++; + } + else if (*end) + *end++ = '\0'; + + while (*end && isspace(*end & 255)) + end ++; + + /* + * Check value if it matches something we support... + */ + + if (qvalue <= 0.0) + continue; + + for (i = 0; i < (int)(sizeof(codings) / sizeof(codings[0])); i ++) + if (!strcmp(start, codings[i])) + return (codings[i]); + } + } +#endif /* HAVE_LIBZ */ + + return (NULL); +} + + +/* + * 'httpGetCookie()' - Get any cookie data from the response. + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +const char * /* O - Cookie data or @code NULL@ */ +httpGetCookie(http_t *http) /* I - HTTP connection */ +{ + return (http ? http->cookie : NULL); +} + + +/* + * 'httpGetEncryption()' - Get the current encryption mode of a connection. + * + * This function returns the encryption mode for the connection. Use the + * @link httpIsEncrypted@ function to determine whether a TLS session has + * been established. + * + * @since CUPS 2.0/OS 10.10@ + */ + +http_encryption_t /* O - Current encryption mode */ +httpGetEncryption(http_t *http) /* I - HTTP connection */ +{ + return (http ? http->encryption : HTTP_ENCRYPTION_IF_REQUESTED); +} + + +/* + * 'httpGetExpect()' - Get the value of the Expect header, if any. + * + * Returns @code HTTP_STATUS_NONE@ if there is no Expect header, otherwise + * returns the expected HTTP status code, typically @code HTTP_STATUS_CONTINUE@. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +http_status_t /* O - Expect: status, if any */ +httpGetExpect(http_t *http) /* I - HTTP connection */ +{ + if (!http) + return (HTTP_STATUS_ERROR); + else + return (http->expect); +} + + +/* + * 'httpGetFd()' - Get the file descriptor associated with a connection. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - File descriptor or -1 if none */ +httpGetFd(http_t *http) /* I - HTTP connection */ +{ + return (http ? http->fd : -1); +} + + +/* + * 'httpGetField()' - Get a field value from a request/response. + */ + +const char * /* O - Field value */ +httpGetField(http_t *http, /* I - HTTP connection */ + http_field_t field) /* I - Field to get */ +{ + if (!http || field <= HTTP_FIELD_UNKNOWN || field >= HTTP_FIELD_MAX) + return (NULL); + else if (http->fields[field]) + return (http->fields[field]); + else + return (""); +} + + +/* + * 'httpGetKeepAlive()' - Get the current Keep-Alive state of the connection. + * + * @since CUPS 2.0/OS 10.10@ + */ + +http_keepalive_t /* O - Keep-Alive state */ +httpGetKeepAlive(http_t *http) /* I - HTTP connection */ +{ + return (http ? http->keep_alive : HTTP_KEEPALIVE_OFF); +} + + +/* + * 'httpGetLength()' - Get the amount of data remaining from the + * content-length or transfer-encoding fields. + * + * This function is deprecated and will not return lengths larger than + * 2^31 - 1; use httpGetLength2() instead. + * + * @deprecated@ @exclude all@ + */ + +int /* O - Content length */ +httpGetLength(http_t *http) /* I - HTTP connection */ +{ + /* + * Get the read content length and return the 32-bit value. + */ + + if (http) + { + httpGetLength2(http); + + return (http->_data_remaining); + } + else + return (-1); +} + + +/* + * 'httpGetLength2()' - Get the amount of data remaining from the + * content-length or transfer-encoding fields. + * + * This function returns the complete content length, even for + * content larger than 2^31 - 1. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +off_t /* O - Content length */ +httpGetLength2(http_t *http) /* I - HTTP connection */ +{ + off_t remaining; /* Remaining length */ + + + DEBUG_printf(("2httpGetLength2(http=%p), state=%s", (void *)http, httpStateString(http->state))); + + if (!http) + return (-1); + + if (http->fields[HTTP_FIELD_TRANSFER_ENCODING] && !_cups_strcasecmp(http->fields[HTTP_FIELD_TRANSFER_ENCODING], "chunked")) + { + DEBUG_puts("4httpGetLength2: chunked request!"); + remaining = 0; + } + else + { + /* + * The following is a hack for HTTP servers that don't send a + * Content-Length or Transfer-Encoding field... + * + * If there is no Content-Length then the connection must close + * after the transfer is complete... + */ + + if (!http->fields[HTTP_FIELD_CONTENT_LENGTH] || !http->fields[HTTP_FIELD_CONTENT_LENGTH][0]) + { + /* + * Default content length is 0 for errors and certain types of operations, + * and 2^31-1 for other successful requests... + */ + + if (http->status >= HTTP_STATUS_MULTIPLE_CHOICES || + http->state == HTTP_STATE_OPTIONS || + (http->state == HTTP_STATE_GET && http->mode == _HTTP_MODE_SERVER) || + http->state == HTTP_STATE_HEAD || + (http->state == HTTP_STATE_PUT && http->mode == _HTTP_MODE_CLIENT) || + http->state == HTTP_STATE_DELETE || + http->state == HTTP_STATE_TRACE || + http->state == HTTP_STATE_CONNECT) + remaining = 0; + else + remaining = 2147483647; + } + else if ((remaining = strtoll(http->fields[HTTP_FIELD_CONTENT_LENGTH], + NULL, 10)) < 0) + remaining = -1; + + DEBUG_printf(("4httpGetLength2: content_length=" CUPS_LLFMT, + CUPS_LLCAST remaining)); + } + + return (remaining); +} + + +/* + * 'httpGetPending()' - Get the number of bytes that are buffered for writing. + * + * @since CUPS 2.0/OS 10.10@ + */ + +size_t /* O - Number of bytes buffered */ +httpGetPending(http_t *http) /* I - HTTP connection */ +{ + return (http ? (size_t)http->wused : 0); +} + + +/* + * 'httpGetReady()' - Get the number of bytes that can be read without blocking. + * + * @since CUPS 2.0/OS 10.10@ + */ + +size_t /* O - Number of bytes available */ +httpGetReady(http_t *http) /* I - HTTP connection */ +{ + if (!http) + return (0); + else if (http->used > 0) + return ((size_t)http->used); +#ifdef HAVE_SSL + else if (http->tls) + return (_httpTLSPending(http)); +#endif /* HAVE_SSL */ + + return (0); +} + + +/* + * 'httpGetRemaining()' - Get the number of remaining bytes in the message + * body or current chunk. + * + * The @link httpIsChunked@ function can be used to determine whether the + * message body is chunked or fixed-length. + * + * @since CUPS 2.0/OS 10.10@ + */ + +size_t /* O - Remaining bytes */ +httpGetRemaining(http_t *http) /* I - HTTP connection */ +{ + return (http ? (size_t)http->data_remaining : 0); +} + + +/* + * 'httpGets()' - Get a line of text from a HTTP connection. + */ + +char * /* O - Line or @code NULL@ */ +httpGets(char *line, /* I - Line to read into */ + int length, /* I - Max length of buffer */ + http_t *http) /* I - HTTP connection */ +{ + char *lineptr, /* Pointer into line */ + *lineend, /* End of line */ + *bufptr, /* Pointer into input buffer */ + *bufend; /* Pointer to end of buffer */ + ssize_t bytes; /* Number of bytes read */ + int eol; /* End-of-line? */ + + + DEBUG_printf(("2httpGets(line=%p, length=%d, http=%p)", (void *)line, length, (void *)http)); + + if (!http || !line || length <= 1) + return (NULL); + + /* + * Read a line from the buffer... + */ + + http->error = 0; + lineptr = line; + lineend = line + length - 1; + eol = 0; + + while (lineptr < lineend) + { + /* + * Pre-load the buffer as needed... + */ + +#ifdef _WIN32 + WSASetLastError(0); +#else + errno = 0; +#endif /* _WIN32 */ + + while (http->used == 0) + { + /* + * No newline; see if there is more data to be read... + */ + + while (!_httpWait(http, http->wait_value, 1)) + { + if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) + continue; + + DEBUG_puts("3httpGets: Timed out!"); +#ifdef _WIN32 + http->error = WSAETIMEDOUT; +#else + http->error = ETIMEDOUT; +#endif /* _WIN32 */ + return (NULL); + } + + bytes = http_read(http, http->buffer + http->used, (size_t)(HTTP_MAX_BUFFER - http->used)); + + DEBUG_printf(("4httpGets: read " CUPS_LLFMT " bytes.", CUPS_LLCAST bytes)); + + if (bytes < 0) + { + /* + * Nope, can't get a line this time... + */ + +#ifdef _WIN32 + DEBUG_printf(("3httpGets: recv() error %d!", WSAGetLastError())); + + if (WSAGetLastError() == WSAEINTR) + continue; + else if (WSAGetLastError() == WSAEWOULDBLOCK) + { + if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) + continue; + + http->error = WSAGetLastError(); + } + else if (WSAGetLastError() != http->error) + { + http->error = WSAGetLastError(); + continue; + } + +#else + DEBUG_printf(("3httpGets: recv() error %d!", errno)); + + if (errno == EINTR) + continue; + else if (errno == EWOULDBLOCK || errno == EAGAIN) + { + if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) + continue; + else if (!http->timeout_cb && errno == EAGAIN) + continue; + + http->error = errno; + } + else if (errno != http->error) + { + http->error = errno; + continue; + } +#endif /* _WIN32 */ + + return (NULL); + } + else if (bytes == 0) + { + http->error = EPIPE; + + return (NULL); + } + + /* + * Yup, update the amount used... + */ + + http->used += (int)bytes; + } + + /* + * Now copy as much of the current line as possible... + */ + + for (bufptr = http->buffer, bufend = http->buffer + http->used; + lineptr < lineend && bufptr < bufend;) + { + if (*bufptr == 0x0a) + { + eol = 1; + bufptr ++; + break; + } + else if (*bufptr == 0x0d) + bufptr ++; + else + *lineptr++ = *bufptr++; + } + + http->used -= (int)(bufptr - http->buffer); + if (http->used > 0) + memmove(http->buffer, bufptr, (size_t)http->used); + + if (eol) + { + /* + * End of line... + */ + + http->activity = time(NULL); + + *lineptr = '\0'; + + DEBUG_printf(("3httpGets: Returning \"%s\"", line)); + + return (line); + } + } + + DEBUG_puts("3httpGets: No new line available!"); + + return (NULL); +} + + +/* + * 'httpGetState()' - Get the current state of the HTTP request. + */ + +http_state_t /* O - HTTP state */ +httpGetState(http_t *http) /* I - HTTP connection */ +{ + return (http ? http->state : HTTP_STATE_ERROR); +} + + +/* + * 'httpGetStatus()' - Get the status of the last HTTP request. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +http_status_t /* O - HTTP status */ +httpGetStatus(http_t *http) /* I - HTTP connection */ +{ + return (http ? http->status : HTTP_STATUS_ERROR); +} + + +/* + * 'httpGetSubField()' - Get a sub-field value. + * + * @deprecated@ @exclude all@ + */ + +char * /* O - Value or @code NULL@ */ +httpGetSubField(http_t *http, /* I - HTTP connection */ + http_field_t field, /* I - Field index */ + const char *name, /* I - Name of sub-field */ + char *value) /* O - Value string */ +{ + return (httpGetSubField2(http, field, name, value, HTTP_MAX_VALUE)); +} + + +/* + * 'httpGetSubField2()' - Get a sub-field value. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +char * /* O - Value or @code NULL@ */ +httpGetSubField2(http_t *http, /* I - HTTP connection */ + http_field_t field, /* I - Field index */ + const char *name, /* I - Name of sub-field */ + char *value, /* O - Value string */ + int valuelen) /* I - Size of value buffer */ +{ + const char *fptr; /* Pointer into field */ + char temp[HTTP_MAX_VALUE], /* Temporary buffer for name */ + *ptr, /* Pointer into string buffer */ + *end; /* End of value buffer */ + + DEBUG_printf(("2httpGetSubField2(http=%p, field=%d, name=\"%s\", value=%p, valuelen=%d)", (void *)http, field, name, (void *)value, valuelen)); + + if (value) + *value = '\0'; + + if (!http || !name || !value || valuelen < 2 || + field <= HTTP_FIELD_UNKNOWN || field >= HTTP_FIELD_MAX || !http->fields[field]) + return (NULL); + + end = value + valuelen - 1; + + for (fptr = http->fields[field]; *fptr;) + { + /* + * Skip leading whitespace... + */ + + while (_cups_isspace(*fptr)) + fptr ++; + + if (*fptr == ',') + { + fptr ++; + continue; + } + + /* + * Get the sub-field name... + */ + + for (ptr = temp; + *fptr && *fptr != '=' && !_cups_isspace(*fptr) && + ptr < (temp + sizeof(temp) - 1); + *ptr++ = *fptr++); + + *ptr = '\0'; + + DEBUG_printf(("4httpGetSubField2: name=\"%s\"", temp)); + + /* + * Skip trailing chars up to the '='... + */ + + while (_cups_isspace(*fptr)) + fptr ++; + + if (!*fptr) + break; + + if (*fptr != '=') + continue; + + /* + * Skip = and leading whitespace... + */ + + fptr ++; + + while (_cups_isspace(*fptr)) + fptr ++; + + if (*fptr == '\"') + { + /* + * Read quoted string... + */ + + for (ptr = value, fptr ++; + *fptr && *fptr != '\"' && ptr < end; + *ptr++ = *fptr++); + + *ptr = '\0'; + + while (*fptr && *fptr != '\"') + fptr ++; + + if (*fptr) + fptr ++; + } + else + { + /* + * Read unquoted string... + */ + + for (ptr = value; + *fptr && !_cups_isspace(*fptr) && *fptr != ',' && ptr < end; + *ptr++ = *fptr++); + + *ptr = '\0'; + + while (*fptr && !_cups_isspace(*fptr) && *fptr != ',') + fptr ++; + } + + DEBUG_printf(("4httpGetSubField2: value=\"%s\"", value)); + + /* + * See if this is the one... + */ + + if (!strcmp(name, temp)) + { + DEBUG_printf(("3httpGetSubField2: Returning \"%s\"", value)); + return (value); + } + } + + value[0] = '\0'; + + DEBUG_puts("3httpGetSubField2: Returning NULL"); + + return (NULL); +} + + +/* + * 'httpGetVersion()' - Get the HTTP version at the other end. + */ + +http_version_t /* O - Version number */ +httpGetVersion(http_t *http) /* I - HTTP connection */ +{ + return (http ? http->version : HTTP_VERSION_1_0); +} + + +/* + * 'httpHead()' - Send a HEAD request to the server. + */ + +int /* O - Status of call (0 = success) */ +httpHead(http_t *http, /* I - HTTP connection */ + const char *uri) /* I - URI for head */ +{ + DEBUG_printf(("httpHead(http=%p, uri=\"%s\")", (void *)http, uri)); + return (http_send(http, HTTP_STATE_HEAD, uri)); +} + + +/* + * 'httpInitialize()' - Initialize the HTTP interface library and set the + * default HTTP proxy (if any). + */ + +void +httpInitialize(void) +{ + static int initialized = 0; /* Have we been called before? */ +#ifdef _WIN32 + WSADATA winsockdata; /* WinSock data */ +#endif /* _WIN32 */ + + + _cupsGlobalLock(); + if (initialized) + { + _cupsGlobalUnlock(); + return; + } + +#ifdef _WIN32 + WSAStartup(MAKEWORD(2,2), &winsockdata); + +#elif !defined(SO_NOSIGPIPE) + /* + * Ignore SIGPIPE signals... + */ + +# ifdef HAVE_SIGSET + sigset(SIGPIPE, SIG_IGN); + +# elif defined(HAVE_SIGACTION) + struct sigaction action; /* POSIX sigaction data */ + + + memset(&action, 0, sizeof(action)); + action.sa_handler = SIG_IGN; + sigaction(SIGPIPE, &action, NULL); + +# else + signal(SIGPIPE, SIG_IGN); +# endif /* !SO_NOSIGPIPE */ +#endif /* _WIN32 */ + +# ifdef HAVE_SSL + _httpTLSInitialize(); +# endif /* HAVE_SSL */ + + initialized = 1; + _cupsGlobalUnlock(); +} + + +/* + * 'httpIsChunked()' - Report whether a message body is chunked. + * + * This function returns non-zero if the message body is composed of + * variable-length chunks. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 1 if chunked, 0 if not */ +httpIsChunked(http_t *http) /* I - HTTP connection */ +{ + return (http ? http->data_encoding == HTTP_ENCODING_CHUNKED : 0); +} + + +/* + * 'httpIsEncrypted()' - Report whether a connection is encrypted. + * + * This function returns non-zero if the connection is currently encrypted. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 1 if encrypted, 0 if not */ +httpIsEncrypted(http_t *http) /* I - HTTP connection */ +{ + return (http ? http->tls != NULL : 0); +} + + +/* + * 'httpOptions()' - Send an OPTIONS request to the server. + */ + +int /* O - Status of call (0 = success) */ +httpOptions(http_t *http, /* I - HTTP connection */ + const char *uri) /* I - URI for options */ +{ + return (http_send(http, HTTP_STATE_OPTIONS, uri)); +} + + +/* + * 'httpPeek()' - Peek at data from a HTTP connection. + * + * This function copies available data from the given HTTP connection, reading + * a buffer as needed. The data is still available for reading using + * @link httpRead2@. + * + * For non-blocking connections the usual timeouts apply. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +ssize_t /* O - Number of bytes copied */ +httpPeek(http_t *http, /* I - HTTP connection */ + char *buffer, /* I - Buffer for data */ + size_t length) /* I - Maximum number of bytes */ +{ + ssize_t bytes; /* Bytes read */ + char len[32]; /* Length string */ + + + DEBUG_printf(("httpPeek(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)buffer, CUPS_LLCAST length)); + + if (http == NULL || buffer == NULL) + return (-1); + + http->activity = time(NULL); + http->error = 0; + + if (length <= 0) + return (0); + + if (http->data_encoding == HTTP_ENCODING_CHUNKED && + http->data_remaining <= 0) + { + DEBUG_puts("2httpPeek: Getting chunk length..."); + + if (httpGets(len, sizeof(len), http) == NULL) + { + DEBUG_puts("1httpPeek: Could not get length!"); + return (0); + } + + if (!len[0]) + { + DEBUG_puts("1httpPeek: Blank chunk length, trying again..."); + if (!httpGets(len, sizeof(len), http)) + { + DEBUG_puts("1httpPeek: Could not get chunk length."); + return (0); + } + } + + http->data_remaining = strtoll(len, NULL, 16); + + if (http->data_remaining < 0) + { + DEBUG_puts("1httpPeek: Negative chunk length!"); + return (0); + } + } + + DEBUG_printf(("2httpPeek: data_remaining=" CUPS_LLFMT, + CUPS_LLCAST http->data_remaining)); + + if (http->data_remaining <= 0 && http->data_encoding != HTTP_ENCODING_FIELDS) + { + /* + * A zero-length chunk ends a transfer; unless we are reading POST + * data, go idle... + */ + +#ifdef HAVE_LIBZ + if (http->coding >= _HTTP_CODING_GUNZIP) + http_content_coding_finish(http); +#endif /* HAVE_LIBZ */ + + if (http->data_encoding == HTTP_ENCODING_CHUNKED) + httpGets(len, sizeof(len), http); + + if (http->state == HTTP_STATE_POST_RECV) + http->state ++; + else + http->state = HTTP_STATE_STATUS; + + DEBUG_printf(("1httpPeek: 0-length chunk, set state to %s.", + httpStateString(http->state))); + + /* + * Prevent future reads for this request... + */ + + http->data_encoding = HTTP_ENCODING_FIELDS; + + return (0); + } + else if (length > (size_t)http->data_remaining) + length = (size_t)http->data_remaining; + +#ifdef HAVE_LIBZ + if (http->used == 0 && + (http->coding == _HTTP_CODING_IDENTITY || + (http->coding >= _HTTP_CODING_GUNZIP && ((z_stream *)http->stream)->avail_in == 0))) +#else + if (http->used == 0) +#endif /* HAVE_LIBZ */ + { + /* + * Buffer small reads for better performance... + */ + + ssize_t buflen; /* Length of read for buffer */ + + if (!http->blocking) + { + while (!httpWait(http, http->wait_value)) + { + if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) + continue; + + return (0); + } + } + + if ((size_t)http->data_remaining > sizeof(http->buffer)) + buflen = sizeof(http->buffer); + else + buflen = (ssize_t)http->data_remaining; + + DEBUG_printf(("2httpPeek: Reading %d bytes into buffer.", (int)buflen)); + bytes = http_read(http, http->buffer, (size_t)buflen); + + DEBUG_printf(("2httpPeek: Read " CUPS_LLFMT " bytes into buffer.", + CUPS_LLCAST bytes)); + if (bytes > 0) + { +#ifdef DEBUG + http_debug_hex("httpPeek", http->buffer, (int)bytes); +#endif /* DEBUG */ + + http->used = (int)bytes; + } + } + +#ifdef HAVE_LIBZ + if (http->coding >= _HTTP_CODING_GUNZIP) + { +# ifdef HAVE_INFLATECOPY + int zerr; /* Decompressor error */ + z_stream stream; /* Copy of decompressor stream */ + + if (http->used > 0 && ((z_stream *)http->stream)->avail_in < HTTP_MAX_BUFFER) + { + size_t buflen = HTTP_MAX_BUFFER - ((z_stream *)http->stream)->avail_in; + /* Number of bytes to copy */ + + if (((z_stream *)http->stream)->avail_in > 0 && + ((z_stream *)http->stream)->next_in > http->sbuffer) + memmove(http->sbuffer, ((z_stream *)http->stream)->next_in, ((z_stream *)http->stream)->avail_in); + + ((z_stream *)http->stream)->next_in = http->sbuffer; + + if (buflen > (size_t)http->data_remaining) + buflen = (size_t)http->data_remaining; + + if (buflen > (size_t)http->used) + buflen = (size_t)http->used; + + DEBUG_printf(("1httpPeek: Copying %d more bytes of data into " + "decompression buffer.", (int)buflen)); + + memcpy(http->sbuffer + ((z_stream *)http->stream)->avail_in, http->buffer, buflen); + ((z_stream *)http->stream)->avail_in += buflen; + http->used -= (int)buflen; + http->data_remaining -= (off_t)buflen; + + if (http->used > 0) + memmove(http->buffer, http->buffer + buflen, (size_t)http->used); + } + + DEBUG_printf(("2httpPeek: length=%d, avail_in=%d", (int)length, + (int)((z_stream *)http->stream)->avail_in)); + + if (inflateCopy(&stream, (z_stream *)http->stream) != Z_OK) + { + DEBUG_puts("2httpPeek: Unable to copy decompressor stream."); + http->error = ENOMEM; + return (-1); + } + + stream.next_out = (Bytef *)buffer; + stream.avail_out = (uInt)length; + + zerr = inflate(&stream, Z_SYNC_FLUSH); + inflateEnd(&stream); + + if (zerr < Z_OK) + { + DEBUG_printf(("2httpPeek: zerr=%d", zerr)); +#ifdef DEBUG + http_debug_hex("2httpPeek", (char *)http->sbuffer, (int)((z_stream *)http->stream)->avail_in); +#endif /* DEBUG */ + + http->error = EIO; + return (-1); + } + + bytes = (ssize_t)(length - ((z_stream *)http->stream)->avail_out); + +# else + DEBUG_puts("2httpPeek: No inflateCopy on this platform, httpPeek does not " + "work with compressed streams."); + return (-1); +# endif /* HAVE_INFLATECOPY */ + } + else +#endif /* HAVE_LIBZ */ + if (http->used > 0) + { + if (length > (size_t)http->used) + length = (size_t)http->used; + + bytes = (ssize_t)length; + + DEBUG_printf(("2httpPeek: grabbing %d bytes from input buffer...", + (int)bytes)); + + memcpy(buffer, http->buffer, length); + } + else + bytes = 0; + + if (bytes < 0) + { +#ifdef _WIN32 + if (WSAGetLastError() == WSAEINTR || WSAGetLastError() == WSAEWOULDBLOCK) + bytes = 0; + else + http->error = WSAGetLastError(); +#else + if (errno == EINTR || errno == EAGAIN) + bytes = 0; + else + http->error = errno; +#endif /* _WIN32 */ + } + else if (bytes == 0) + { + http->error = EPIPE; + return (0); + } + + return (bytes); +} + + +/* + * 'httpPost()' - Send a POST request to the server. + */ + +int /* O - Status of call (0 = success) */ +httpPost(http_t *http, /* I - HTTP connection */ + const char *uri) /* I - URI for post */ +{ + return (http_send(http, HTTP_STATE_POST, uri)); +} + + +/* + * 'httpPrintf()' - Print a formatted string to a HTTP connection. + * + * @private@ + */ + +int /* O - Number of bytes written */ +httpPrintf(http_t *http, /* I - HTTP connection */ + const char *format, /* I - printf-style format string */ + ...) /* I - Additional args as needed */ +{ + ssize_t bytes; /* Number of bytes to write */ + char buf[65536]; /* Buffer for formatted string */ + va_list ap; /* Variable argument pointer */ + + + DEBUG_printf(("2httpPrintf(http=%p, format=\"%s\", ...)", (void *)http, format)); + + va_start(ap, format); + bytes = vsnprintf(buf, sizeof(buf), format, ap); + va_end(ap); + + DEBUG_printf(("3httpPrintf: (" CUPS_LLFMT " bytes) %s", CUPS_LLCAST bytes, buf)); + + if (bytes > (ssize_t)(sizeof(buf) - 1)) + { + http->error = ENOMEM; + return (-1); + } + else if (http->data_encoding == HTTP_ENCODING_FIELDS) + return ((int)httpWrite2(http, buf, (size_t)bytes)); + else + { + if (http->wused) + { + DEBUG_puts("4httpPrintf: flushing existing data..."); + + if (httpFlushWrite(http) < 0) + return (-1); + } + + return ((int)http_write(http, buf, (size_t)bytes)); + } +} + + +/* + * 'httpPut()' - Send a PUT request to the server. + */ + +int /* O - Status of call (0 = success) */ +httpPut(http_t *http, /* I - HTTP connection */ + const char *uri) /* I - URI to put */ +{ + DEBUG_printf(("httpPut(http=%p, uri=\"%s\")", (void *)http, uri)); + return (http_send(http, HTTP_STATE_PUT, uri)); +} + + +/* + * 'httpRead()' - Read data from a HTTP connection. + * + * This function is deprecated. Use the httpRead2() function which can + * read more than 2GB of data. + * + * @deprecated@ @exclude all@ + */ + +int /* O - Number of bytes read */ +httpRead(http_t *http, /* I - HTTP connection */ + char *buffer, /* I - Buffer for data */ + int length) /* I - Maximum number of bytes */ +{ + return ((int)httpRead2(http, buffer, (size_t)length)); +} + + +/* + * 'httpRead2()' - Read data from a HTTP connection. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ssize_t /* O - Number of bytes read */ +httpRead2(http_t *http, /* I - HTTP connection */ + char *buffer, /* I - Buffer for data */ + size_t length) /* I - Maximum number of bytes */ +{ + ssize_t bytes; /* Bytes read */ + + +#ifdef HAVE_LIBZ + DEBUG_printf(("httpRead2(http=%p, buffer=%p, length=" CUPS_LLFMT ") coding=%d data_encoding=%d data_remaining=" CUPS_LLFMT, (void *)http, (void *)buffer, CUPS_LLCAST length, http->coding, http->data_encoding, CUPS_LLCAST http->data_remaining)); +#else + DEBUG_printf(("httpRead2(http=%p, buffer=%p, length=" CUPS_LLFMT ") data_encoding=%d data_remaining=" CUPS_LLFMT, (void *)http, (void *)buffer, CUPS_LLCAST length, http->data_encoding, CUPS_LLCAST http->data_remaining)); +#endif /* HAVE_LIBZ */ + + if (http == NULL || buffer == NULL) + return (-1); + + http->activity = time(NULL); + http->error = 0; + + if (length <= 0) + return (0); + +#ifdef HAVE_LIBZ + if (http->coding >= _HTTP_CODING_GUNZIP) + { + do + { + if (((z_stream *)http->stream)->avail_in > 0) + { + int zerr; /* Decompressor error */ + + DEBUG_printf(("2httpRead2: avail_in=%d, avail_out=%d", + (int)((z_stream *)http->stream)->avail_in, (int)length)); + + ((z_stream *)http->stream)->next_out = (Bytef *)buffer; + ((z_stream *)http->stream)->avail_out = (uInt)length; + + if ((zerr = inflate((z_stream *)http->stream, Z_SYNC_FLUSH)) < Z_OK) + { + DEBUG_printf(("2httpRead2: zerr=%d", zerr)); +#ifdef DEBUG + http_debug_hex("2httpRead2", (char *)http->sbuffer, (int)((z_stream *)http->stream)->avail_in); +#endif /* DEBUG */ + + http->error = EIO; + return (-1); + } + + bytes = (ssize_t)(length - ((z_stream *)http->stream)->avail_out); + + DEBUG_printf(("2httpRead2: avail_in=%d, avail_out=%d, bytes=%d", + ((z_stream *)http->stream)->avail_in, ((z_stream *)http->stream)->avail_out, + (int)bytes)); + } + else + bytes = 0; + + if (bytes == 0) + { + ssize_t buflen = HTTP_MAX_BUFFER - (ssize_t)((z_stream *)http->stream)->avail_in; + /* Additional bytes for buffer */ + + if (buflen > 0) + { + if (((z_stream *)http->stream)->avail_in > 0 && + ((z_stream *)http->stream)->next_in > http->sbuffer) + memmove(http->sbuffer, ((z_stream *)http->stream)->next_in, ((z_stream *)http->stream)->avail_in); + + ((z_stream *)http->stream)->next_in = http->sbuffer; + + DEBUG_printf(("1httpRead2: Reading up to %d more bytes of data into " + "decompression buffer.", (int)buflen)); + + if (http->data_remaining > 0) + { + if (buflen > http->data_remaining) + buflen = (ssize_t)http->data_remaining; + + bytes = http_read_buffered(http, (char *)http->sbuffer + ((z_stream *)http->stream)->avail_in, (size_t)buflen); + } + else if (http->data_encoding == HTTP_ENCODING_CHUNKED) + bytes = http_read_chunk(http, (char *)http->sbuffer + ((z_stream *)http->stream)->avail_in, (size_t)buflen); + else + bytes = 0; + + if (bytes < 0) + return (bytes); + else if (bytes == 0) + break; + + DEBUG_printf(("1httpRead2: Adding " CUPS_LLFMT " bytes to " + "decompression buffer.", CUPS_LLCAST bytes)); + + http->data_remaining -= bytes; + ((z_stream *)http->stream)->avail_in += (uInt)bytes; + + if (http->data_remaining <= 0 && + http->data_encoding == HTTP_ENCODING_CHUNKED) + { + /* + * Read the trailing blank line now... + */ + + char len[32]; /* Length string */ + + httpGets(len, sizeof(len), http); + } + + bytes = 0; + } + else + return (0); + } + } + while (bytes == 0); + } + else +#endif /* HAVE_LIBZ */ + if (http->data_remaining == 0 && http->data_encoding == HTTP_ENCODING_CHUNKED) + { + if ((bytes = http_read_chunk(http, buffer, length)) > 0) + { + http->data_remaining -= bytes; + + if (http->data_remaining <= 0) + { + /* + * Read the trailing blank line now... + */ + + char len[32]; /* Length string */ + + httpGets(len, sizeof(len), http); + } + } + } + else if (http->data_remaining <= 0) + { + /* + * No more data to read... + */ + + return (0); + } + else + { + DEBUG_printf(("1httpRead2: Reading up to %d bytes into buffer.", + (int)length)); + + if (length > (size_t)http->data_remaining) + length = (size_t)http->data_remaining; + + if ((bytes = http_read_buffered(http, buffer, length)) > 0) + { + http->data_remaining -= bytes; + + if (http->data_remaining <= 0 && + http->data_encoding == HTTP_ENCODING_CHUNKED) + { + /* + * Read the trailing blank line now... + */ + + char len[32]; /* Length string */ + + httpGets(len, sizeof(len), http); + } + } + } + + if ( +#ifdef HAVE_LIBZ + (http->coding == _HTTP_CODING_IDENTITY || + (http->coding >= _HTTP_CODING_GUNZIP && ((z_stream *)http->stream)->avail_in == 0)) && +#endif /* HAVE_LIBZ */ + ((http->data_remaining <= 0 && + http->data_encoding == HTTP_ENCODING_LENGTH) || + (http->data_encoding == HTTP_ENCODING_CHUNKED && bytes == 0))) + { +#ifdef HAVE_LIBZ + if (http->coding >= _HTTP_CODING_GUNZIP) + http_content_coding_finish(http); +#endif /* HAVE_LIBZ */ + + if (http->state == HTTP_STATE_POST_RECV) + http->state ++; + else if (http->state == HTTP_STATE_GET_SEND || + http->state == HTTP_STATE_POST_SEND) + http->state = HTTP_STATE_WAITING; + else + http->state = HTTP_STATE_STATUS; + + DEBUG_printf(("1httpRead2: End of content, set state to %s.", + httpStateString(http->state))); + } + + return (bytes); +} + + +/* + * 'httpReadRequest()' - Read a HTTP request from a connection. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +http_state_t /* O - New state of connection */ +httpReadRequest(http_t *http, /* I - HTTP connection */ + char *uri, /* I - URI buffer */ + size_t urilen) /* I - Size of URI buffer */ +{ + char line[4096], /* HTTP request line */ + *req_method, /* HTTP request method */ + *req_uri, /* HTTP request URI */ + *req_version; /* HTTP request version number string */ + + + /* + * Range check input... + */ + + DEBUG_printf(("httpReadRequest(http=%p, uri=%p, urilen=" CUPS_LLFMT ")", (void *)http, (void *)uri, CUPS_LLCAST urilen)); + + if (uri) + *uri = '\0'; + + if (!http || !uri || urilen < 1) + { + DEBUG_puts("1httpReadRequest: Bad arguments, returning HTTP_STATE_ERROR."); + return (HTTP_STATE_ERROR); + } + else if (http->state != HTTP_STATE_WAITING) + { + DEBUG_printf(("1httpReadRequest: Bad state %s, returning HTTP_STATE_ERROR.", + httpStateString(http->state))); + return (HTTP_STATE_ERROR); + } + + /* + * Reset state... + */ + + httpClearFields(http); + + http->activity = time(NULL); + http->data_encoding = HTTP_ENCODING_FIELDS; + http->data_remaining = 0; + http->keep_alive = HTTP_KEEPALIVE_OFF; + http->status = HTTP_STATUS_OK; + http->version = HTTP_VERSION_1_1; + + /* + * Read a line from the socket... + */ + + if (!httpGets(line, sizeof(line), http)) + { + DEBUG_puts("1httpReadRequest: Unable to read, returning HTTP_STATE_ERROR"); + return (HTTP_STATE_ERROR); + } + + if (!line[0]) + { + DEBUG_puts("1httpReadRequest: Blank line, returning HTTP_STATE_WAITING"); + return (HTTP_STATE_WAITING); + } + + DEBUG_printf(("1httpReadRequest: %s", line)); + + /* + * Parse it... + */ + + req_method = line; + req_uri = line; + + while (*req_uri && !isspace(*req_uri & 255)) + req_uri ++; + + if (!*req_uri) + { + DEBUG_puts("1httpReadRequest: No request URI."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No request URI."), 1); + return (HTTP_STATE_ERROR); + } + + *req_uri++ = '\0'; + + while (*req_uri && isspace(*req_uri & 255)) + req_uri ++; + + req_version = req_uri; + + while (*req_version && !isspace(*req_version & 255)) + req_version ++; + + if (!*req_version) + { + DEBUG_puts("1httpReadRequest: No request protocol version."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No request protocol version."), 1); + return (HTTP_STATE_ERROR); + } + + *req_version++ = '\0'; + + while (*req_version && isspace(*req_version & 255)) + req_version ++; + + /* + * Validate... + */ + + if (!strcmp(req_method, "OPTIONS")) + http->state = HTTP_STATE_OPTIONS; + else if (!strcmp(req_method, "GET")) + http->state = HTTP_STATE_GET; + else if (!strcmp(req_method, "HEAD")) + http->state = HTTP_STATE_HEAD; + else if (!strcmp(req_method, "POST")) + http->state = HTTP_STATE_POST; + else if (!strcmp(req_method, "PUT")) + http->state = HTTP_STATE_PUT; + else if (!strcmp(req_method, "DELETE")) + http->state = HTTP_STATE_DELETE; + else if (!strcmp(req_method, "TRACE")) + http->state = HTTP_STATE_TRACE; + else if (!strcmp(req_method, "CONNECT")) + http->state = HTTP_STATE_CONNECT; + else + { + DEBUG_printf(("1httpReadRequest: Unknown method \"%s\".", req_method)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown request method."), 1); + return (HTTP_STATE_UNKNOWN_METHOD); + } + + DEBUG_printf(("1httpReadRequest: Set state to %s.", + httpStateString(http->state))); + + if (!strcmp(req_version, "HTTP/1.0")) + { + http->version = HTTP_VERSION_1_0; + http->keep_alive = HTTP_KEEPALIVE_OFF; + } + else if (!strcmp(req_version, "HTTP/1.1")) + { + http->version = HTTP_VERSION_1_1; + http->keep_alive = HTTP_KEEPALIVE_ON; + } + else + { + DEBUG_printf(("1httpReadRequest: Unknown version \"%s\".", req_version)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unknown request version."), 1); + return (HTTP_STATE_UNKNOWN_VERSION); + } + + DEBUG_printf(("1httpReadRequest: URI is \"%s\".", req_uri)); + strlcpy(uri, req_uri, urilen); + + return (http->state); +} + + +/* + * 'httpReconnect()' - Reconnect to a HTTP server. + * + * This function is deprecated. Please use the @link httpReconnect2@ function + * instead. + * + * @deprecated@ @exclude all@ + */ + +int /* O - 0 on success, non-zero on failure */ +httpReconnect(http_t *http) /* I - HTTP connection */ +{ + DEBUG_printf(("httpReconnect(http=%p)", (void *)http)); + + return (httpReconnect2(http, 30000, NULL)); +} + + +/* + * 'httpReconnect2()' - Reconnect to a HTTP server with timeout and optional + * cancel. + */ + +int /* O - 0 on success, non-zero on failure */ +httpReconnect2(http_t *http, /* I - HTTP connection */ + int msec, /* I - Timeout in milliseconds */ + int *cancel) /* I - Pointer to "cancel" variable */ +{ + http_addrlist_t *addr; /* Connected address */ +#ifdef DEBUG + http_addrlist_t *current; /* Current address */ + char temp[256]; /* Temporary address string */ +#endif /* DEBUG */ + + + DEBUG_printf(("httpReconnect2(http=%p, msec=%d, cancel=%p)", (void *)http, msec, (void *)cancel)); + + if (!http) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (-1); + } + +#ifdef HAVE_SSL + if (http->tls) + { + DEBUG_puts("2httpReconnect2: Shutting down SSL/TLS..."); + _httpTLSStop(http); + } +#endif /* HAVE_SSL */ + + /* + * Close any previously open socket... + */ + + if (http->fd >= 0) + { + DEBUG_printf(("2httpReconnect2: Closing socket %d...", http->fd)); + + httpAddrClose(NULL, http->fd); + + http->fd = -1; + } + + /* + * Reset all state (except fields, which may be reused)... + */ + + http->state = HTTP_STATE_WAITING; + http->version = HTTP_VERSION_1_1; + http->keep_alive = HTTP_KEEPALIVE_OFF; + memset(&http->_hostaddr, 0, sizeof(http->_hostaddr)); + http->data_encoding = HTTP_ENCODING_FIELDS; + http->_data_remaining = 0; + http->used = 0; + http->data_remaining = 0; + http->hostaddr = NULL; + http->wused = 0; + + /* + * Connect to the server... + */ + +#ifdef DEBUG + for (current = http->addrlist; current; current = current->next) + DEBUG_printf(("2httpReconnect2: Address %s:%d", + httpAddrString(&(current->addr), temp, sizeof(temp)), + httpAddrPort(&(current->addr)))); +#endif /* DEBUG */ + + if ((addr = httpAddrConnect2(http->addrlist, &(http->fd), msec, cancel)) == NULL) + { + /* + * Unable to connect... + */ + +#ifdef _WIN32 + http->error = WSAGetLastError(); +#else + http->error = errno; +#endif /* _WIN32 */ + http->status = HTTP_STATUS_ERROR; + + DEBUG_printf(("1httpReconnect2: httpAddrConnect failed: %s", + strerror(http->error))); + + return (-1); + } + + DEBUG_printf(("2httpReconnect2: New socket=%d", http->fd)); + + if (http->timeout_value > 0) + http_set_timeout(http->fd, http->timeout_value); + + http->hostaddr = &(addr->addr); + http->error = 0; + +#ifdef HAVE_SSL + if (http->encryption == HTTP_ENCRYPTION_ALWAYS) + { + /* + * Always do encryption via SSL. + */ + + if (_httpTLSStart(http) != 0) + { + httpAddrClose(NULL, http->fd); + + return (-1); + } + } + else if (http->encryption == HTTP_ENCRYPTION_REQUIRED && !http->tls_upgrade) + return (http_tls_upgrade(http)); +#endif /* HAVE_SSL */ + + DEBUG_printf(("1httpReconnect2: Connected to %s:%d...", + httpAddrString(http->hostaddr, temp, sizeof(temp)), + httpAddrPort(http->hostaddr))); + + return (0); +} + + +/* + * 'httpSetAuthString()' - Set the current authorization string. + * + * This function just stores a copy of the current authorization string in + * the HTTP connection object. You must still call @link httpSetField@ to set + * @code HTTP_FIELD_AUTHORIZATION@ prior to issuing a HTTP request using + * @link httpGet@, @link httpHead@, @link httpOptions@, @link httpPost@, or + * @link httpPut@. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +void +httpSetAuthString(http_t *http, /* I - HTTP connection */ + const char *scheme, /* I - Auth scheme (NULL to clear it) */ + const char *data) /* I - Auth data (NULL for none) */ +{ + /* + * Range check input... + */ + + if (!http) + return; + + if (http->authstring && http->authstring != http->_authstring) + free(http->authstring); + + http->authstring = http->_authstring; + + if (scheme) + { + /* + * Set the current authorization string... + */ + + size_t len = strlen(scheme) + (data ? strlen(data) + 1 : 0) + 1; + char *temp; + + if (len > sizeof(http->_authstring)) + { + if ((temp = malloc(len)) == NULL) + len = sizeof(http->_authstring); + else + http->authstring = temp; + } + + if (data) + snprintf(http->authstring, len, "%s %s", scheme, data); + else + strlcpy(http->authstring, scheme, len); + } + else + { + /* + * Clear the current authorization string... + */ + + http->_authstring[0] = '\0'; + } +} + + +/* + * 'httpSetCredentials()' - Set the credentials associated with an encrypted + * connection. + * + * @since CUPS 1.5/macOS 10.7@ + */ + +int /* O - Status of call (0 = success) */ +httpSetCredentials(http_t *http, /* I - HTTP connection */ + cups_array_t *credentials) /* I - Array of credentials */ +{ + if (!http || cupsArrayCount(credentials) < 1) + return (-1); + +#ifdef HAVE_SSL + _httpFreeCredentials(http->tls_credentials); + + http->tls_credentials = _httpCreateCredentials(credentials); +#endif /* HAVE_SSL */ + + return (http->tls_credentials ? 0 : -1); +} + + +/* + * 'httpSetCookie()' - Set the cookie value(s). + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +void +httpSetCookie(http_t *http, /* I - Connection */ + const char *cookie) /* I - Cookie string */ +{ + if (!http) + return; + + if (http->cookie) + free(http->cookie); + + if (cookie) + http->cookie = strdup(cookie); + else + http->cookie = NULL; +} + + +/* + * 'httpSetDefaultField()' - Set the default value of an HTTP header. + * + * Currently only @code HTTP_FIELD_ACCEPT_ENCODING@, @code HTTP_FIELD_SERVER@, + * and @code HTTP_FIELD_USER_AGENT@ can be set. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +void +httpSetDefaultField(http_t *http, /* I - HTTP connection */ + http_field_t field, /* I - Field index */ + const char *value)/* I - Value */ +{ + DEBUG_printf(("httpSetDefaultField(http=%p, field=%d(%s), value=\"%s\")", (void *)http, field, http_fields[field], value)); + + if (!http || field <= HTTP_FIELD_UNKNOWN || field >= HTTP_FIELD_MAX) + return; + + if (http->default_fields[field]) + free(http->default_fields[field]); + + http->default_fields[field] = value ? strdup(value) : NULL; +} + + +/* + * 'httpSetExpect()' - Set the Expect: header in a request. + * + * Currently only @code HTTP_STATUS_CONTINUE@ is supported for the "expect" + * argument. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void +httpSetExpect(http_t *http, /* I - HTTP connection */ + http_status_t expect) /* I - HTTP status to expect + (@code HTTP_STATUS_CONTINUE@) */ +{ + DEBUG_printf(("httpSetExpect(http=%p, expect=%d)", (void *)http, expect)); + + if (http) + http->expect = expect; +} + + +/* + * 'httpSetField()' - Set the value of an HTTP header. + */ + +void +httpSetField(http_t *http, /* I - HTTP connection */ + http_field_t field, /* I - Field index */ + const char *value) /* I - Value */ +{ + DEBUG_printf(("httpSetField(http=%p, field=%d(%s), value=\"%s\")", (void *)http, field, http_fields[field], value)); + + if (!http || field <= HTTP_FIELD_UNKNOWN || field >= HTTP_FIELD_MAX || !value) + return; + + http_add_field(http, field, value, 0); +} + + +/* + * 'httpSetKeepAlive()' - Set the current Keep-Alive state of a connection. + * + * @since CUPS 2.0/OS 10.10@ + */ + +void +httpSetKeepAlive( + http_t *http, /* I - HTTP connection */ + http_keepalive_t keep_alive) /* I - New Keep-Alive value */ +{ + if (http) + http->keep_alive = keep_alive; +} + + +/* + * 'httpSetLength()' - Set the content-length and content-encoding. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +void +httpSetLength(http_t *http, /* I - HTTP connection */ + size_t length) /* I - Length (0 for chunked) */ +{ + DEBUG_printf(("httpSetLength(http=%p, length=" CUPS_LLFMT ")", (void *)http, CUPS_LLCAST length)); + + if (!http) + return; + + if (!length) + { + httpSetField(http, HTTP_FIELD_TRANSFER_ENCODING, "chunked"); + httpSetField(http, HTTP_FIELD_CONTENT_LENGTH, ""); + } + else + { + char len[32]; /* Length string */ + + + snprintf(len, sizeof(len), CUPS_LLFMT, CUPS_LLCAST length); + httpSetField(http, HTTP_FIELD_TRANSFER_ENCODING, ""); + httpSetField(http, HTTP_FIELD_CONTENT_LENGTH, len); + } +} + + +/* + * 'httpSetTimeout()' - Set read/write timeouts and an optional callback. + * + * The optional timeout callback receives both the HTTP connection and a user + * data pointer and must return 1 to continue or 0 to error (time) out. + * + * @since CUPS 1.5/macOS 10.7@ + */ + +void +httpSetTimeout( + http_t *http, /* I - HTTP connection */ + double timeout, /* I - Number of seconds for timeout, + must be greater than 0 */ + http_timeout_cb_t cb, /* I - Callback function or @code NULL@ */ + void *user_data) /* I - User data pointer */ +{ + if (!http || timeout <= 0.0) + return; + + http->timeout_cb = cb; + http->timeout_data = user_data; + http->timeout_value = timeout; + + if (http->fd >= 0) + http_set_timeout(http->fd, timeout); + + http_set_wait(http); +} + + +/* + * 'httpShutdown()' - Shutdown one side of an HTTP connection. + * + * @since CUPS 2.0/OS 10.10@ + */ + +void +httpShutdown(http_t *http) /* I - HTTP connection */ +{ + if (!http || http->fd < 0) + return; + +#ifdef HAVE_SSL + if (http->tls) + _httpTLSStop(http); +#endif /* HAVE_SSL */ + +#ifdef _WIN32 + shutdown(http->fd, SD_RECEIVE); /* Microsoft-ism... */ +#else + shutdown(http->fd, SHUT_RD); +#endif /* _WIN32 */ +} + + +/* + * 'httpTrace()' - Send an TRACE request to the server. + * + * @exclude all@ + */ + +int /* O - Status of call (0 = success) */ +httpTrace(http_t *http, /* I - HTTP connection */ + const char *uri) /* I - URI for trace */ +{ + return (http_send(http, HTTP_STATE_TRACE, uri)); +} + + +/* + * '_httpUpdate()' - Update the current HTTP status for incoming data. + * + * Note: Unlike httpUpdate(), this function does not flush pending write data + * and only retrieves a single status line from the HTTP connection. + */ + +int /* O - 1 to continue, 0 to stop */ +_httpUpdate(http_t *http, /* I - HTTP connection */ + http_status_t *status) /* O - Current HTTP status */ +{ + char line[32768], /* Line from connection... */ + *value; /* Pointer to value on line */ + http_field_t field; /* Field index */ + int major, minor; /* HTTP version numbers */ + + + DEBUG_printf(("_httpUpdate(http=%p, status=%p), state=%s", (void *)http, (void *)status, httpStateString(http->state))); + + /* + * Grab a single line from the connection... + */ + + if (!httpGets(line, sizeof(line), http)) + { + *status = HTTP_STATUS_ERROR; + return (0); + } + + DEBUG_printf(("2_httpUpdate: Got \"%s\"", line)); + + if (line[0] == '\0') + { + /* + * Blank line means the start of the data section (if any). Return + * the result code, too... + * + * If we get status 100 (HTTP_STATUS_CONTINUE), then we *don't* change + * states. Instead, we just return HTTP_STATUS_CONTINUE to the caller and + * keep on tryin'... + */ + + if (http->status == HTTP_STATUS_CONTINUE) + { + *status = http->status; + return (0); + } + + if (http->status < HTTP_STATUS_BAD_REQUEST) + http->digest_tries = 0; + +#ifdef HAVE_SSL + if (http->status == HTTP_STATUS_SWITCHING_PROTOCOLS && !http->tls) + { + if (_httpTLSStart(http) != 0) + { + httpAddrClose(NULL, http->fd); + + *status = http->status = HTTP_STATUS_ERROR; + return (0); + } + + *status = HTTP_STATUS_CONTINUE; + return (0); + } +#endif /* HAVE_SSL */ + + if (http_set_length(http) < 0) + { + DEBUG_puts("1_httpUpdate: Bad Content-Length."); + http->error = EINVAL; + http->status = *status = HTTP_STATUS_ERROR; + return (0); + } + + switch (http->state) + { + case HTTP_STATE_GET : + case HTTP_STATE_POST : + case HTTP_STATE_POST_RECV : + case HTTP_STATE_PUT : + http->state ++; + + DEBUG_printf(("1_httpUpdate: Set state to %s.", + httpStateString(http->state))); + + case HTTP_STATE_POST_SEND : + case HTTP_STATE_HEAD : + break; + + default : + http->state = HTTP_STATE_WAITING; + + DEBUG_puts("1_httpUpdate: Reset state to HTTP_STATE_WAITING."); + break; + } + +#ifdef HAVE_LIBZ + DEBUG_puts("1_httpUpdate: Calling http_content_coding_start."); + http_content_coding_start(http, + httpGetField(http, HTTP_FIELD_CONTENT_ENCODING)); +#endif /* HAVE_LIBZ */ + + *status = http->status; + return (0); + } + else if (!strncmp(line, "HTTP/", 5) && http->mode == _HTTP_MODE_CLIENT) + { + /* + * Got the beginning of a response... + */ + + int intstatus; /* Status value as an integer */ + + if (sscanf(line, "HTTP/%d.%d%d", &major, &minor, &intstatus) != 3) + { + *status = http->status = HTTP_STATUS_ERROR; + return (0); + } + + httpClearFields(http); + + http->version = (http_version_t)(major * 100 + minor); + *status = http->status = (http_status_t)intstatus; + } + else if ((value = strchr(line, ':')) != NULL) + { + /* + * Got a value... + */ + + *value++ = '\0'; + while (_cups_isspace(*value)) + value ++; + + DEBUG_printf(("1_httpUpdate: Header %s: %s", line, value)); + + /* + * Be tolerants of servers that send unknown attribute fields... + */ + + if (!_cups_strcasecmp(line, "expect")) + { + /* + * "Expect: 100-continue" or similar... + */ + + http->expect = (http_status_t)atoi(value); + } + else if (!_cups_strcasecmp(line, "cookie")) + { + /* + * "Cookie: name=value[; name=value ...]" - replaces previous cookies... + */ + + httpSetCookie(http, value); + } + else if ((field = httpFieldValue(line)) != HTTP_FIELD_UNKNOWN) + { + http_add_field(http, field, value, 1); + + if (field == HTTP_FIELD_AUTHENTICATION_INFO) + httpGetSubField2(http, HTTP_FIELD_AUTHENTICATION_INFO, "nextnonce", http->nextnonce, (int)sizeof(http->nextnonce)); + } +#ifdef DEBUG + else + DEBUG_printf(("1_httpUpdate: unknown field %s seen!", line)); +#endif /* DEBUG */ + } + else + { + DEBUG_printf(("1_httpUpdate: Bad response line \"%s\"!", line)); + http->error = EINVAL; + http->status = *status = HTTP_STATUS_ERROR; + return (0); + } + + return (1); +} + + +/* + * 'httpUpdate()' - Update the current HTTP state for incoming data. + */ + +http_status_t /* O - HTTP status */ +httpUpdate(http_t *http) /* I - HTTP connection */ +{ + http_status_t status; /* Request status */ + + + DEBUG_printf(("httpUpdate(http=%p), state=%s", (void *)http, httpStateString(http->state))); + + /* + * Flush pending data, if any... + */ + + if (http->wused) + { + DEBUG_puts("2httpUpdate: flushing buffer..."); + + if (httpFlushWrite(http) < 0) + return (HTTP_STATUS_ERROR); + } + + /* + * If we haven't issued any commands, then there is nothing to "update"... + */ + + if (http->state == HTTP_STATE_WAITING) + return (HTTP_STATUS_CONTINUE); + + /* + * Grab all of the lines we can from the connection... + */ + + while (_httpUpdate(http, &status)); + + /* + * See if there was an error... + */ + + if (http->error == EPIPE && http->status > HTTP_STATUS_CONTINUE) + { + DEBUG_printf(("1httpUpdate: Returning status %d...", http->status)); + return (http->status); + } + + if (http->error) + { + DEBUG_printf(("1httpUpdate: socket error %d - %s", http->error, + strerror(http->error))); + http->status = HTTP_STATUS_ERROR; + return (HTTP_STATUS_ERROR); + } + + /* + * Return the current status... + */ + + return (status); +} + + +/* + * '_httpWait()' - Wait for data available on a connection (no flush). + */ + +int /* O - 1 if data is available, 0 otherwise */ +_httpWait(http_t *http, /* I - HTTP connection */ + int msec, /* I - Milliseconds to wait */ + int usessl) /* I - Use SSL context? */ +{ +#ifdef HAVE_POLL + struct pollfd pfd; /* Polled file descriptor */ +#else + fd_set input_set; /* select() input set */ + struct timeval timeout; /* Timeout */ +#endif /* HAVE_POLL */ + int nfds; /* Result from select()/poll() */ + + + DEBUG_printf(("4_httpWait(http=%p, msec=%d, usessl=%d)", (void *)http, msec, usessl)); + + if (http->fd < 0) + { + DEBUG_printf(("5_httpWait: Returning 0 since fd=%d", http->fd)); + return (0); + } + + /* + * Check the SSL/TLS buffers for data first... + */ + +#ifdef HAVE_SSL + if (http->tls && _httpTLSPending(http)) + { + DEBUG_puts("5_httpWait: Return 1 since there is pending TLS data."); + return (1); + } +#endif /* HAVE_SSL */ + + /* + * Then try doing a select() or poll() to poll the socket... + */ + +#ifdef HAVE_POLL + pfd.fd = http->fd; + pfd.events = POLLIN; + + do + { + nfds = poll(&pfd, 1, msec); + } + while (nfds < 0 && (errno == EINTR || errno == EAGAIN)); + +#else + do + { + FD_ZERO(&input_set); + FD_SET(http->fd, &input_set); + + DEBUG_printf(("6_httpWait: msec=%d, http->fd=%d", msec, http->fd)); + + if (msec >= 0) + { + timeout.tv_sec = msec / 1000; + timeout.tv_usec = (msec % 1000) * 1000; + + nfds = select(http->fd + 1, &input_set, NULL, NULL, &timeout); + } + else + nfds = select(http->fd + 1, &input_set, NULL, NULL, NULL); + + DEBUG_printf(("6_httpWait: select() returned %d...", nfds)); + } +# ifdef _WIN32 + while (nfds < 0 && (WSAGetLastError() == WSAEINTR || + WSAGetLastError() == WSAEWOULDBLOCK)); +# else + while (nfds < 0 && (errno == EINTR || errno == EAGAIN)); +# endif /* _WIN32 */ +#endif /* HAVE_POLL */ + + DEBUG_printf(("5_httpWait: returning with nfds=%d, errno=%d...", nfds, + errno)); + + return (nfds > 0); +} + + +/* + * 'httpWait()' - Wait for data available on a connection. + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +int /* O - 1 if data is available, 0 otherwise */ +httpWait(http_t *http, /* I - HTTP connection */ + int msec) /* I - Milliseconds to wait */ +{ + /* + * First see if there is data in the buffer... + */ + + DEBUG_printf(("2httpWait(http=%p, msec=%d)", (void *)http, msec)); + + if (http == NULL) + return (0); + + if (http->used) + { + DEBUG_puts("3httpWait: Returning 1 since there is buffered data ready."); + return (1); + } + +#ifdef HAVE_LIBZ + if (http->coding >= _HTTP_CODING_GUNZIP && ((z_stream *)http->stream)->avail_in > 0) + { + DEBUG_puts("3httpWait: Returning 1 since there is buffered data ready."); + return (1); + } +#endif /* HAVE_LIBZ */ + + /* + * Flush pending data, if any... + */ + + if (http->wused) + { + DEBUG_puts("3httpWait: Flushing write buffer."); + + if (httpFlushWrite(http) < 0) + return (0); + } + + /* + * If not, check the SSL/TLS buffers and do a select() on the connection... + */ + + return (_httpWait(http, msec, 1)); +} + + +/* + * 'httpWrite()' - Write data to a HTTP connection. + * + * This function is deprecated. Use the httpWrite2() function which can + * write more than 2GB of data. + * + * @deprecated@ @exclude all@ + */ + +int /* O - Number of bytes written */ +httpWrite(http_t *http, /* I - HTTP connection */ + const char *buffer, /* I - Buffer for data */ + int length) /* I - Number of bytes to write */ +{ + return ((int)httpWrite2(http, buffer, (size_t)length)); +} + + +/* + * 'httpWrite2()' - Write data to a HTTP connection. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ssize_t /* O - Number of bytes written */ +httpWrite2(http_t *http, /* I - HTTP connection */ + const char *buffer, /* I - Buffer for data */ + size_t length) /* I - Number of bytes to write */ +{ + ssize_t bytes; /* Bytes written */ + + + DEBUG_printf(("httpWrite2(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)buffer, CUPS_LLCAST length)); + + /* + * Range check input... + */ + + if (!http || !buffer) + { + DEBUG_puts("1httpWrite2: Returning -1 due to bad input."); + return (-1); + } + + /* + * Mark activity on the connection... + */ + + http->activity = time(NULL); + + /* + * Buffer small writes for better performance... + */ + +#ifdef HAVE_LIBZ + if (http->coding == _HTTP_CODING_GZIP || http->coding == _HTTP_CODING_DEFLATE) + { + DEBUG_printf(("1httpWrite2: http->coding=%d", http->coding)); + + if (length == 0) + { + http_content_coding_finish(http); + bytes = 0; + } + else + { + size_t slen; /* Bytes to write */ + ssize_t sret; /* Bytes written */ + + ((z_stream *)http->stream)->next_in = (Bytef *)buffer; + ((z_stream *)http->stream)->avail_in = (uInt)length; + + while (deflate((z_stream *)http->stream, Z_NO_FLUSH) == Z_OK) + { + DEBUG_printf(("1httpWrite2: avail_out=%d", ((z_stream *)http->stream)->avail_out)); + + if (((z_stream *)http->stream)->avail_out > 0) + continue; + + slen = _HTTP_MAX_SBUFFER - ((z_stream *)http->stream)->avail_out; + + DEBUG_printf(("1httpWrite2: Writing intermediate chunk, len=%d", (int)slen)); + + if (slen > 0 && http->data_encoding == HTTP_ENCODING_CHUNKED) + sret = http_write_chunk(http, (char *)http->sbuffer, slen); + else if (slen > 0) + sret = http_write(http, (char *)http->sbuffer, slen); + else + sret = 0; + + if (sret < 0) + { + DEBUG_puts("1httpWrite2: Unable to write, returning -1."); + return (-1); + } + + ((z_stream *)http->stream)->next_out = (Bytef *)http->sbuffer; + ((z_stream *)http->stream)->avail_out = (uInt)_HTTP_MAX_SBUFFER; + } + + bytes = (ssize_t)length; + } + } + else +#endif /* HAVE_LIBZ */ + if (length > 0) + { + if (http->wused && (length + (size_t)http->wused) > sizeof(http->wbuffer)) + { + DEBUG_printf(("2httpWrite2: Flushing buffer (wused=%d, length=" + CUPS_LLFMT ")", http->wused, CUPS_LLCAST length)); + + httpFlushWrite(http); + } + + if ((length + (size_t)http->wused) <= sizeof(http->wbuffer) && length < sizeof(http->wbuffer)) + { + /* + * Write to buffer... + */ + + DEBUG_printf(("2httpWrite2: Copying " CUPS_LLFMT " bytes to wbuffer...", + CUPS_LLCAST length)); + + memcpy(http->wbuffer + http->wused, buffer, length); + http->wused += (int)length; + bytes = (ssize_t)length; + } + else + { + /* + * Otherwise write the data directly... + */ + + DEBUG_printf(("2httpWrite2: Writing " CUPS_LLFMT " bytes to socket...", + CUPS_LLCAST length)); + + if (http->data_encoding == HTTP_ENCODING_CHUNKED) + bytes = (ssize_t)http_write_chunk(http, buffer, length); + else + bytes = (ssize_t)http_write(http, buffer, length); + + DEBUG_printf(("2httpWrite2: Wrote " CUPS_LLFMT " bytes...", + CUPS_LLCAST bytes)); + } + + if (http->data_encoding == HTTP_ENCODING_LENGTH) + http->data_remaining -= bytes; + } + else + bytes = 0; + + /* + * Handle end-of-request processing... + */ + + if ((http->data_encoding == HTTP_ENCODING_CHUNKED && length == 0) || + (http->data_encoding == HTTP_ENCODING_LENGTH && http->data_remaining == 0)) + { + /* + * Finished with the transfer; unless we are sending POST or PUT + * data, go idle... + */ + +#ifdef HAVE_LIBZ + if (http->coding == _HTTP_CODING_GZIP || http->coding == _HTTP_CODING_DEFLATE) + http_content_coding_finish(http); +#endif /* HAVE_LIBZ */ + + if (http->wused) + { + if (httpFlushWrite(http) < 0) + return (-1); + } + + if (http->data_encoding == HTTP_ENCODING_CHUNKED) + { + /* + * Send a 0-length chunk at the end of the request... + */ + + http_write(http, "0\r\n\r\n", 5); + + /* + * Reset the data state... + */ + + http->data_encoding = HTTP_ENCODING_FIELDS; + http->data_remaining = 0; + } + + if (http->state == HTTP_STATE_POST_RECV) + http->state ++; + else if (http->state == HTTP_STATE_POST_SEND || + http->state == HTTP_STATE_GET_SEND) + http->state = HTTP_STATE_WAITING; + else + http->state = HTTP_STATE_STATUS; + + DEBUG_printf(("2httpWrite2: Changed state to %s.", + httpStateString(http->state))); + } + + DEBUG_printf(("1httpWrite2: Returning " CUPS_LLFMT ".", CUPS_LLCAST bytes)); + + return (bytes); +} + + +/* + * 'httpWriteResponse()' - Write a HTTP response to a client connection. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - 0 on success, -1 on error */ +httpWriteResponse(http_t *http, /* I - HTTP connection */ + http_status_t status) /* I - Status code */ +{ + http_encoding_t old_encoding; /* Old data_encoding value */ + off_t old_remaining; /* Old data_remaining value */ + + + /* + * Range check input... + */ + + DEBUG_printf(("httpWriteResponse(http=%p, status=%d)", (void *)http, status)); + + if (!http || status < HTTP_STATUS_CONTINUE) + { + DEBUG_puts("1httpWriteResponse: Bad input."); + return (-1); + } + + /* + * Set the various standard fields if they aren't already... + */ + + if (!http->fields[HTTP_FIELD_DATE]) + httpSetField(http, HTTP_FIELD_DATE, httpGetDateString(time(NULL))); + + if (status >= HTTP_STATUS_BAD_REQUEST && http->keep_alive) + { + http->keep_alive = HTTP_KEEPALIVE_OFF; + httpSetField(http, HTTP_FIELD_KEEP_ALIVE, ""); + } + + if (http->version == HTTP_VERSION_1_1) + { + if (!http->fields[HTTP_FIELD_CONNECTION]) + { + if (http->keep_alive) + httpSetField(http, HTTP_FIELD_CONNECTION, "Keep-Alive"); + else + httpSetField(http, HTTP_FIELD_CONNECTION, "close"); + } + + if (http->keep_alive && !http->fields[HTTP_FIELD_KEEP_ALIVE]) + httpSetField(http, HTTP_FIELD_KEEP_ALIVE, "timeout=10"); + } + +#ifdef HAVE_SSL + if (status == HTTP_STATUS_UPGRADE_REQUIRED || + status == HTTP_STATUS_SWITCHING_PROTOCOLS) + { + if (!http->fields[HTTP_FIELD_CONNECTION]) + httpSetField(http, HTTP_FIELD_CONNECTION, "Upgrade"); + + if (!http->fields[HTTP_FIELD_UPGRADE]) + httpSetField(http, HTTP_FIELD_UPGRADE, "TLS/1.2,TLS/1.1,TLS/1.0"); + + if (!http->fields[HTTP_FIELD_CONTENT_LENGTH]) + httpSetField(http, HTTP_FIELD_CONTENT_LENGTH, "0"); + } +#endif /* HAVE_SSL */ + + if (!http->fields[HTTP_FIELD_SERVER]) + httpSetField(http, HTTP_FIELD_SERVER, http->default_fields[HTTP_FIELD_SERVER] ? http->default_fields[HTTP_FIELD_SERVER] : CUPS_MINIMAL); + + /* + * Set the Accept-Encoding field if it isn't already... + */ + + if (!http->fields[HTTP_FIELD_ACCEPT_ENCODING]) + httpSetField(http, HTTP_FIELD_ACCEPT_ENCODING, http->default_fields[HTTP_FIELD_ACCEPT_ENCODING] ? http->default_fields[HTTP_FIELD_ACCEPT_ENCODING] : +#ifdef HAVE_LIBZ + "gzip, deflate, identity"); +#else + "identity"); +#endif /* HAVE_LIBZ */ + + /* + * Send the response header... + */ + + old_encoding = http->data_encoding; + old_remaining = http->data_remaining; + http->data_encoding = HTTP_ENCODING_FIELDS; + + if (httpPrintf(http, "HTTP/%d.%d %d %s\r\n", http->version / 100, http->version % 100, (int)status, httpStatus(status)) < 0) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + + if (status != HTTP_STATUS_CONTINUE) + { + /* + * 100 Continue doesn't have the rest of the response headers... + */ + + int i; /* Looping var */ + const char *value; /* Field value */ + + for (i = 0; i < HTTP_FIELD_MAX; i ++) + { + if ((value = httpGetField(http, i)) != NULL && *value) + { + if (httpPrintf(http, "%s: %s\r\n", http_fields[i], value) < 1) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + } + } + + if (http->cookie) + { + if (strchr(http->cookie, ';')) + { + if (httpPrintf(http, "Set-Cookie: %s\r\n", http->cookie) < 1) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + } + else if (httpPrintf(http, "Set-Cookie: %s; path=/; httponly;%s\r\n", http->cookie, http->tls ? " secure;" : "") < 1) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + } + + /* + * "Click-jacking" defense (STR #4492)... + */ + + if (httpPrintf(http, "X-Frame-Options: DENY\r\n" + "Content-Security-Policy: frame-ancestors 'none'\r\n") < 1) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + } + + if (httpWrite2(http, "\r\n", 2) < 2) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + + if (httpFlushWrite(http) < 0) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + + if (status == HTTP_STATUS_CONTINUE || + status == HTTP_STATUS_SWITCHING_PROTOCOLS) + { + /* + * Restore the old data_encoding and data_length values... + */ + + http->data_encoding = old_encoding; + http->data_remaining = old_remaining; + + if (old_remaining <= INT_MAX) + http->_data_remaining = (int)old_remaining; + else + http->_data_remaining = INT_MAX; + } + else if (http->state == HTTP_STATE_OPTIONS || + http->state == HTTP_STATE_HEAD || + http->state == HTTP_STATE_PUT || + http->state == HTTP_STATE_TRACE || + http->state == HTTP_STATE_CONNECT || + http->state == HTTP_STATE_STATUS) + { + DEBUG_printf(("1httpWriteResponse: Resetting state to HTTP_STATE_WAITING, " + "was %s.", httpStateString(http->state))); + http->state = HTTP_STATE_WAITING; + } + else + { + /* + * Force data_encoding and data_length to be set according to the response + * headers... + */ + + http_set_length(http); + + if (http->data_encoding == HTTP_ENCODING_LENGTH && http->data_remaining == 0) + { + DEBUG_printf(("1httpWriteResponse: Resetting state to HTTP_STATE_WAITING, " + "was %s.", httpStateString(http->state))); + http->state = HTTP_STATE_WAITING; + return (0); + } + + if (http->state == HTTP_STATE_POST_RECV || http->state == HTTP_STATE_GET) + http->state ++; + +#ifdef HAVE_LIBZ + /* + * Then start any content encoding... + */ + + DEBUG_puts("1httpWriteResponse: Calling http_content_coding_start."); + http_content_coding_start(http, + httpGetField(http, HTTP_FIELD_CONTENT_ENCODING)); +#endif /* HAVE_LIBZ */ + + } + + return (0); +} + + +/* + * 'http_add_field()' - Add a value for a HTTP field, appending if needed. + */ + +static void +http_add_field(http_t *http, /* I - HTTP connection */ + http_field_t field, /* I - HTTP field */ + const char *value, /* I - Value string */ + int append) /* I - Append value? */ +{ + char temp[1024]; /* Temporary value string */ + size_t fieldlen, /* Length of existing value */ + valuelen, /* Length of value string */ + total; /* Total length of string */ + + + if (field == HTTP_FIELD_HOST) + { + /* + * Special-case for Host: as we don't want a trailing "." on the hostname and + * need to bracket IPv6 numeric addresses. + */ + + char *ptr = strchr(value, ':'); + + if (value[0] != '[' && ptr && strchr(ptr + 1, ':')) + { + /* + * Bracket IPv6 numeric addresses... + * + * This is slightly inefficient (basically copying twice), but is an edge + * case and not worth optimizing... + */ + + snprintf(temp, sizeof(temp), "[%s]", value); + value = temp; + } + else if (*value) + { + /* + * Check for a trailing dot on the hostname... + */ + + strlcpy(temp, value, sizeof(temp)); + value = temp; + ptr = temp + strlen(temp) - 1; + + if (*ptr == '.') + *ptr = '\0'; + } + } + + if (append && field != HTTP_FIELD_ACCEPT_ENCODING && field != HTTP_FIELD_ACCEPT_LANGUAGE && field != HTTP_FIELD_ACCEPT_RANGES && field != HTTP_FIELD_ALLOW && field != HTTP_FIELD_LINK && field != HTTP_FIELD_TRANSFER_ENCODING && field != HTTP_FIELD_UPGRADE && field != HTTP_FIELD_WWW_AUTHENTICATE) + append = 0; + + if (!append && http->fields[field]) + { + if (http->fields[field] != http->_fields[field]) + free(http->fields[field]); + + http->fields[field] = NULL; + } + + valuelen = strlen(value); + + if (!valuelen) + { + http->_fields[field][0] = '\0'; + return; + } + + if (http->fields[field]) + { + fieldlen = strlen(http->fields[field]); + total = fieldlen + 2 + valuelen; + } + else + { + fieldlen = 0; + total = valuelen; + } + + if (total < HTTP_MAX_VALUE && field < HTTP_FIELD_ACCEPT_ENCODING) + { + /* + * Copy short values to legacy char arrays (maintained for binary + * compatibility with CUPS 1.2.x and earlier applications...) + */ + + if (fieldlen) + { + char combined[HTTP_MAX_VALUE]; + /* Combined value string */ + + snprintf(combined, sizeof(combined), "%s, %s", http->_fields[field], value); + value = combined; + } + + strlcpy(http->_fields[field], value, sizeof(http->_fields[field])); + http->fields[field] = http->_fields[field]; + } + else if (fieldlen) + { + /* + * Expand the field value... + */ + + char *combined; /* New value string */ + + if (http->fields[field] == http->_fields[field]) + { + if ((combined = malloc(total + 1)) != NULL) + { + http->fields[field] = combined; + snprintf(combined, total + 1, "%s, %s", http->_fields[field], value); + } + } + else if ((combined = realloc(http->fields[field], total + 1)) != NULL) + { + http->fields[field] = combined; + strlcat(combined, ", ", total + 1); + strlcat(combined, value, total + 1); + } + } + else + { + /* + * Allocate the field value... + */ + + http->fields[field] = strdup(value); + } + +#ifdef HAVE_LIBZ + if (field == HTTP_FIELD_CONTENT_ENCODING && http->data_encoding != HTTP_ENCODING_FIELDS) + { + DEBUG_puts("1httpSetField: Calling http_content_coding_start."); + http_content_coding_start(http, value); + } +#endif /* HAVE_LIBZ */ +} + + +#ifdef HAVE_LIBZ +/* + * 'http_content_coding_finish()' - Finish doing any content encoding. + */ + +static void +http_content_coding_finish( + http_t *http) /* I - HTTP connection */ +{ + int zerr; /* Compression status */ + Byte dummy[1]; /* Dummy read buffer */ + size_t bytes; /* Number of bytes to write */ + + + DEBUG_printf(("http_content_coding_finish(http=%p)", (void *)http)); + DEBUG_printf(("1http_content_coding_finishing: http->coding=%d", http->coding)); + + switch (http->coding) + { + case _HTTP_CODING_DEFLATE : + case _HTTP_CODING_GZIP : + ((z_stream *)http->stream)->next_in = dummy; + ((z_stream *)http->stream)->avail_in = 0; + + do + { + zerr = deflate((z_stream *)http->stream, Z_FINISH); + bytes = _HTTP_MAX_SBUFFER - ((z_stream *)http->stream)->avail_out; + + if (bytes > 0) + { + DEBUG_printf(("1http_content_coding_finish: Writing trailing chunk, len=%d", (int)bytes)); + + if (http->data_encoding == HTTP_ENCODING_CHUNKED) + http_write_chunk(http, (char *)http->sbuffer, bytes); + else + http_write(http, (char *)http->sbuffer, bytes); + } + + ((z_stream *)http->stream)->next_out = (Bytef *)http->sbuffer; + ((z_stream *)http->stream)->avail_out = (uInt)_HTTP_MAX_SBUFFER; + } + while (zerr == Z_OK); + + deflateEnd((z_stream *)http->stream); + + free(http->sbuffer); + free(http->stream); + + http->sbuffer = NULL; + http->stream = NULL; + + if (http->wused) + httpFlushWrite(http); + break; + + case _HTTP_CODING_INFLATE : + case _HTTP_CODING_GUNZIP : + inflateEnd((z_stream *)http->stream); + + free(http->sbuffer); + free(http->stream); + + http->sbuffer = NULL; + http->stream = NULL; + break; + + default : + break; + } + + http->coding = _HTTP_CODING_IDENTITY; +} + + +/* + * 'http_content_coding_start()' - Start doing content encoding. + */ + +static void +http_content_coding_start( + http_t *http, /* I - HTTP connection */ + const char *value) /* I - Value of Content-Encoding */ +{ + int zerr; /* Error/status */ + _http_coding_t coding; /* Content coding value */ + + + DEBUG_printf(("http_content_coding_start(http=%p, value=\"%s\")", (void *)http, value)); + + if (http->coding != _HTTP_CODING_IDENTITY) + { + DEBUG_printf(("1http_content_coding_start: http->coding already %d.", + http->coding)); + return; + } + else if (!strcmp(value, "x-gzip") || !strcmp(value, "gzip")) + { + if (http->state == HTTP_STATE_GET_SEND || + http->state == HTTP_STATE_POST_SEND) + coding = http->mode == _HTTP_MODE_SERVER ? _HTTP_CODING_GZIP : + _HTTP_CODING_GUNZIP; + else if (http->state == HTTP_STATE_POST_RECV || + http->state == HTTP_STATE_PUT_RECV) + coding = http->mode == _HTTP_MODE_CLIENT ? _HTTP_CODING_GZIP : + _HTTP_CODING_GUNZIP; + else + { + DEBUG_puts("1http_content_coding_start: Not doing content coding."); + return; + } + } + else if (!strcmp(value, "x-deflate") || !strcmp(value, "deflate")) + { + if (http->state == HTTP_STATE_GET_SEND || + http->state == HTTP_STATE_POST_SEND) + coding = http->mode == _HTTP_MODE_SERVER ? _HTTP_CODING_DEFLATE : + _HTTP_CODING_INFLATE; + else if (http->state == HTTP_STATE_POST_RECV || + http->state == HTTP_STATE_PUT_RECV) + coding = http->mode == _HTTP_MODE_CLIENT ? _HTTP_CODING_DEFLATE : + _HTTP_CODING_INFLATE; + else + { + DEBUG_puts("1http_content_coding_start: Not doing content coding."); + return; + } + } + else + { + DEBUG_puts("1http_content_coding_start: Not doing content coding."); + return; + } + + switch (coding) + { + case _HTTP_CODING_DEFLATE : + case _HTTP_CODING_GZIP : + if (http->wused) + httpFlushWrite(http); + + if ((http->sbuffer = malloc(_HTTP_MAX_SBUFFER)) == NULL) + { + http->status = HTTP_STATUS_ERROR; + http->error = errno; + return; + } + + /* + * Window size for compression is 11 bits - optimal based on PWG Raster + * sample files on pwg.org. -11 is raw deflate, 27 is gzip, per ZLIB + * documentation. + */ + + if ((http->stream = calloc(1, sizeof(z_stream))) == NULL) + { + free(http->sbuffer); + + http->sbuffer = NULL; + http->status = HTTP_STATUS_ERROR; + http->error = errno; + return; + } + + if ((zerr = deflateInit2((z_stream *)http->stream, Z_DEFAULT_COMPRESSION, Z_DEFLATED, coding == _HTTP_CODING_DEFLATE ? -11 : 27, 7, Z_DEFAULT_STRATEGY)) < Z_OK) + { + free(http->sbuffer); + free(http->stream); + + http->sbuffer = NULL; + http->stream = NULL; + http->status = HTTP_STATUS_ERROR; + http->error = zerr == Z_MEM_ERROR ? ENOMEM : EINVAL; + return; + } + + ((z_stream *)http->stream)->next_out = (Bytef *)http->sbuffer; + ((z_stream *)http->stream)->avail_out = (uInt)_HTTP_MAX_SBUFFER; + break; + + case _HTTP_CODING_INFLATE : + case _HTTP_CODING_GUNZIP : + if ((http->sbuffer = malloc(_HTTP_MAX_SBUFFER)) == NULL) + { + http->status = HTTP_STATUS_ERROR; + http->error = errno; + return; + } + + /* + * Window size for decompression is up to 15 bits (maximum supported). + * -15 is raw inflate, 31 is gunzip, per ZLIB documentation. + */ + + if ((http->stream = calloc(1, sizeof(z_stream))) == NULL) + { + free(http->sbuffer); + + http->sbuffer = NULL; + http->status = HTTP_STATUS_ERROR; + http->error = errno; + return; + } + + if ((zerr = inflateInit2((z_stream *)http->stream, coding == _HTTP_CODING_INFLATE ? -15 : 31)) < Z_OK) + { + free(http->sbuffer); + free(http->stream); + + http->sbuffer = NULL; + http->stream = NULL; + http->status = HTTP_STATUS_ERROR; + http->error = zerr == Z_MEM_ERROR ? ENOMEM : EINVAL; + return; + } + + ((z_stream *)http->stream)->avail_in = 0; + ((z_stream *)http->stream)->next_in = http->sbuffer; + break; + + default : + break; + } + + http->coding = coding; + + DEBUG_printf(("1http_content_coding_start: http->coding now %d.", + http->coding)); +} +#endif /* HAVE_LIBZ */ + + +/* + * 'http_create()' - Create an unconnected HTTP connection. + */ + +static http_t * /* O - HTTP connection */ +http_create( + const char *host, /* I - Hostname */ + int port, /* I - Port number */ + http_addrlist_t *addrlist, /* I - Address list or @code NULL@ */ + int family, /* I - Address family or AF_UNSPEC */ + http_encryption_t encryption, /* I - Encryption to use */ + int blocking, /* I - 1 for blocking mode */ + _http_mode_t mode) /* I - _HTTP_MODE_CLIENT or _SERVER */ +{ + http_t *http; /* New HTTP connection */ + char service[255]; /* Service name */ + http_addrlist_t *myaddrlist = NULL; /* My address list */ + + + DEBUG_printf(("4http_create(host=\"%s\", port=%d, addrlist=%p, family=%d, encryption=%d, blocking=%d, mode=%d)", host, port, (void *)addrlist, family, encryption, blocking, mode)); + + if (!host && mode == _HTTP_MODE_CLIENT) + return (NULL); + + httpInitialize(); + + /* + * Lookup the host... + */ + + if (addrlist) + { + myaddrlist = httpAddrCopyList(addrlist); + } + else + { + snprintf(service, sizeof(service), "%d", port); + + myaddrlist = httpAddrGetList(host, family, service); + } + + if (!myaddrlist) + return (NULL); + + /* + * Allocate memory for the structure... + */ + + if ((http = calloc(sizeof(http_t), 1)) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + httpAddrFreeList(myaddrlist); + return (NULL); + } + + /* + * Initialize the HTTP data... + */ + + http->mode = mode; + http->activity = time(NULL); + http->addrlist = myaddrlist; + http->blocking = blocking; + http->fd = -1; +#ifdef HAVE_GSSAPI + http->gssctx = GSS_C_NO_CONTEXT; + http->gssname = GSS_C_NO_NAME; +#endif /* HAVE_GSSAPI */ + http->status = HTTP_STATUS_CONTINUE; + http->version = HTTP_VERSION_1_1; + + if (host) + strlcpy(http->hostname, host, sizeof(http->hostname)); + + if (port == 443) /* Always use encryption for https */ + http->encryption = HTTP_ENCRYPTION_ALWAYS; + else + http->encryption = encryption; + + http_set_wait(http); + + /* + * Return the new structure... + */ + + return (http); +} + + +#ifdef DEBUG +/* + * 'http_debug_hex()' - Do a hex dump of a buffer. + */ + +static void +http_debug_hex(const char *prefix, /* I - Prefix for line */ + const char *buffer, /* I - Buffer to dump */ + int bytes) /* I - Bytes to dump */ +{ + int i, j, /* Looping vars */ + ch; /* Current character */ + char line[255], /* Line buffer */ + *start, /* Start of line after prefix */ + *ptr; /* Pointer into line */ + + + if (_cups_debug_fd < 0 || _cups_debug_level < 6) + return; + + DEBUG_printf(("6%s: %d bytes:", prefix, bytes)); + + snprintf(line, sizeof(line), "6%s: ", prefix); + start = line + strlen(line); + + for (i = 0; i < bytes; i += 16) + { + for (j = 0, ptr = start; j < 16 && (i + j) < bytes; j ++, ptr += 2) + snprintf(ptr, 3, "%02X", buffer[i + j] & 255); + + while (j < 16) + { + memcpy(ptr, " ", 3); + ptr += 2; + j ++; + } + + memcpy(ptr, " ", 3); + ptr += 2; + + for (j = 0; j < 16 && (i + j) < bytes; j ++) + { + ch = buffer[i + j] & 255; + + if (ch < ' ' || ch >= 127) + ch = '.'; + + *ptr++ = (char)ch; + } + + *ptr = '\0'; + DEBUG_puts(line); + } +} +#endif /* DEBUG */ + + +/* + * 'http_read()' - Read a buffer from a HTTP connection. + * + * This function does the low-level read from the socket, retrying and timing + * out as needed. + */ + +static ssize_t /* O - Number of bytes read or -1 on error */ +http_read(http_t *http, /* I - HTTP connection */ + char *buffer, /* I - Buffer */ + size_t length) /* I - Maximum bytes to read */ +{ + ssize_t bytes; /* Bytes read */ + + + DEBUG_printf(("http_read(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)buffer, CUPS_LLCAST length)); + + if (!http->blocking || http->timeout_value > 0.0) + { + while (!httpWait(http, http->wait_value)) + { + if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) + continue; + + DEBUG_puts("2http_read: Timeout."); + return (0); + } + } + + DEBUG_printf(("2http_read: Reading %d bytes into buffer.", (int)length)); + + do + { +#ifdef HAVE_SSL + if (http->tls) + bytes = _httpTLSRead(http, buffer, (int)length); + else +#endif /* HAVE_SSL */ + bytes = recv(http->fd, buffer, length, 0); + + if (bytes < 0) + { +#ifdef _WIN32 + if (WSAGetLastError() != WSAEINTR) + { + http->error = WSAGetLastError(); + return (-1); + } + else if (WSAGetLastError() == WSAEWOULDBLOCK) + { + if (!http->timeout_cb || + !(*http->timeout_cb)(http, http->timeout_data)) + { + http->error = WSAEWOULDBLOCK; + return (-1); + } + } +#else + DEBUG_printf(("2http_read: %s", strerror(errno))); + + if (errno == EWOULDBLOCK || errno == EAGAIN) + { + if (http->timeout_cb && !(*http->timeout_cb)(http, http->timeout_data)) + { + http->error = errno; + return (-1); + } + else if (!http->timeout_cb && errno != EAGAIN) + { + http->error = errno; + return (-1); + } + } + else if (errno != EINTR) + { + http->error = errno; + return (-1); + } +#endif /* _WIN32 */ + } + } + while (bytes < 0); + + DEBUG_printf(("2http_read: Read " CUPS_LLFMT " bytes into buffer.", + CUPS_LLCAST bytes)); +#ifdef DEBUG + if (bytes > 0) + http_debug_hex("http_read", buffer, (int)bytes); +#endif /* DEBUG */ + + if (bytes < 0) + { +#ifdef _WIN32 + if (WSAGetLastError() == WSAEINTR) + bytes = 0; + else + http->error = WSAGetLastError(); +#else + if (errno == EINTR || (errno == EAGAIN && !http->timeout_cb)) + bytes = 0; + else + http->error = errno; +#endif /* _WIN32 */ + } + else if (bytes == 0) + { + http->error = EPIPE; + return (0); + } + + return (bytes); +} + + +/* + * 'http_read_buffered()' - Do a buffered read from a HTTP connection. + * + * This function reads data from the HTTP buffer or from the socket, as needed. + */ + +static ssize_t /* O - Number of bytes read or -1 on error */ +http_read_buffered(http_t *http, /* I - HTTP connection */ + char *buffer, /* I - Buffer */ + size_t length) /* I - Maximum bytes to read */ +{ + ssize_t bytes; /* Bytes read */ + + + DEBUG_printf(("http_read_buffered(http=%p, buffer=%p, length=" CUPS_LLFMT ") used=%d", (void *)http, (void *)buffer, CUPS_LLCAST length, http->used)); + + if (http->used > 0) + { + if (length > (size_t)http->used) + bytes = (ssize_t)http->used; + else + bytes = (ssize_t)length; + + DEBUG_printf(("2http_read: Grabbing %d bytes from input buffer.", + (int)bytes)); + + memcpy(buffer, http->buffer, (size_t)bytes); + http->used -= (int)bytes; + + if (http->used > 0) + memmove(http->buffer, http->buffer + bytes, (size_t)http->used); + } + else + bytes = http_read(http, buffer, length); + + return (bytes); +} + + +/* + * 'http_read_chunk()' - Read a chunk from a HTTP connection. + * + * This function reads and validates the chunk length, then does a buffered read + * returning the number of bytes placed in the buffer. + */ + +static ssize_t /* O - Number of bytes read or -1 on error */ +http_read_chunk(http_t *http, /* I - HTTP connection */ + char *buffer, /* I - Buffer */ + size_t length) /* I - Maximum bytes to read */ +{ + DEBUG_printf(("http_read_chunk(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)buffer, CUPS_LLCAST length)); + + if (http->data_remaining <= 0) + { + char len[32]; /* Length string */ + + if (!httpGets(len, sizeof(len), http)) + { + DEBUG_puts("1http_read_chunk: Could not get chunk length."); + return (0); + } + + if (!len[0]) + { + DEBUG_puts("1http_read_chunk: Blank chunk length, trying again..."); + if (!httpGets(len, sizeof(len), http)) + { + DEBUG_puts("1http_read_chunk: Could not get chunk length."); + return (0); + } + } + + http->data_remaining = strtoll(len, NULL, 16); + + if (http->data_remaining < 0) + { + DEBUG_printf(("1http_read_chunk: Negative chunk length \"%s\" (" + CUPS_LLFMT ")", len, CUPS_LLCAST http->data_remaining)); + return (0); + } + + DEBUG_printf(("2http_read_chunk: Got chunk length \"%s\" (" CUPS_LLFMT ")", + len, CUPS_LLCAST http->data_remaining)); + + if (http->data_remaining == 0) + { + /* + * 0-length chunk, grab trailing blank line... + */ + + httpGets(len, sizeof(len), http); + } + } + + DEBUG_printf(("2http_read_chunk: data_remaining=" CUPS_LLFMT, + CUPS_LLCAST http->data_remaining)); + + if (http->data_remaining <= 0) + return (0); + else if (length > (size_t)http->data_remaining) + length = (size_t)http->data_remaining; + + return (http_read_buffered(http, buffer, length)); +} + + +/* + * 'http_send()' - Send a request with all fields and the trailing blank line. + */ + +static int /* O - 0 on success, non-zero on error */ +http_send(http_t *http, /* I - HTTP connection */ + http_state_t request, /* I - Request code */ + const char *uri) /* I - URI */ +{ + int i; /* Looping var */ + char buf[1024]; /* Encoded URI buffer */ + const char *value; /* Field value */ + static const char * const codes[] = /* Request code strings */ + { + NULL, + "OPTIONS", + "GET", + NULL, + "HEAD", + "POST", + NULL, + NULL, + "PUT", + NULL, + "DELETE", + "TRACE", + "CLOSE", + NULL, + NULL + }; + + + DEBUG_printf(("4http_send(http=%p, request=HTTP_%s, uri=\"%s\")", (void *)http, codes[request], uri)); + + if (http == NULL || uri == NULL) + return (-1); + + /* + * Set the User-Agent field if it isn't already... + */ + + if (!http->fields[HTTP_FIELD_USER_AGENT]) + { + if (http->default_fields[HTTP_FIELD_USER_AGENT]) + httpSetField(http, HTTP_FIELD_USER_AGENT, http->default_fields[HTTP_FIELD_USER_AGENT]); + else + httpSetField(http, HTTP_FIELD_USER_AGENT, cupsUserAgent()); + } + + /* + * Set the Accept-Encoding field if it isn't already... + */ + + if (!http->fields[HTTP_FIELD_ACCEPT_ENCODING] && http->default_fields[HTTP_FIELD_ACCEPT_ENCODING]) + httpSetField(http, HTTP_FIELD_ACCEPT_ENCODING, http->default_fields[HTTP_FIELD_ACCEPT_ENCODING]); + + /* + * Encode the URI as needed... + */ + + _httpEncodeURI(buf, uri, sizeof(buf)); + + /* + * See if we had an error the last time around; if so, reconnect... + */ + + if (http->fd < 0 || http->status == HTTP_STATUS_ERROR || + http->status >= HTTP_STATUS_BAD_REQUEST) + { + DEBUG_printf(("5http_send: Reconnecting, fd=%d, status=%d, tls_upgrade=%d", + http->fd, http->status, http->tls_upgrade)); + + if (httpReconnect2(http, 30000, NULL)) + return (-1); + } + + /* + * Flush any written data that is pending... + */ + + if (http->wused) + { + if (httpFlushWrite(http) < 0) + if (httpReconnect2(http, 30000, NULL)) + return (-1); + } + + /* + * Send the request header... + */ + + http->state = request; + http->data_encoding = HTTP_ENCODING_FIELDS; + + if (request == HTTP_STATE_POST || request == HTTP_STATE_PUT) + http->state ++; + + http->status = HTTP_STATUS_CONTINUE; + +#ifdef HAVE_SSL + if (http->encryption == HTTP_ENCRYPTION_REQUIRED && !http->tls) + { + httpSetField(http, HTTP_FIELD_CONNECTION, "Upgrade"); + httpSetField(http, HTTP_FIELD_UPGRADE, "TLS/1.2,TLS/1.1,TLS/1.0"); + } +#endif /* HAVE_SSL */ + + if (httpPrintf(http, "%s %s HTTP/1.1\r\n", codes[request], buf) < 1) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + + for (i = 0; i < HTTP_FIELD_MAX; i ++) + if ((value = httpGetField(http, i)) != NULL && *value) + { + DEBUG_printf(("5http_send: %s: %s", http_fields[i], value)); + + if (i == HTTP_FIELD_HOST) + { + if (httpPrintf(http, "Host: %s:%d\r\n", value, + httpAddrPort(http->hostaddr)) < 1) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + } + else if (httpPrintf(http, "%s: %s\r\n", http_fields[i], value) < 1) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + } + + if (http->cookie) + if (httpPrintf(http, "Cookie: $Version=0; %s\r\n", http->cookie) < 1) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + + DEBUG_printf(("5http_send: expect=%d, mode=%d, state=%d", http->expect, + http->mode, http->state)); + + if (http->expect == HTTP_STATUS_CONTINUE && http->mode == _HTTP_MODE_CLIENT && + (http->state == HTTP_STATE_POST_RECV || + http->state == HTTP_STATE_PUT_RECV)) + if (httpPrintf(http, "Expect: 100-continue\r\n") < 1) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + + if (httpPrintf(http, "\r\n") < 1) + { + http->status = HTTP_STATUS_ERROR; + return (-1); + } + + if (httpFlushWrite(http) < 0) + return (-1); + + http_set_length(http); + httpClearFields(http); + + /* + * The Kerberos and AuthRef authentication strings can only be used once... + */ + + if (http->fields[HTTP_FIELD_AUTHORIZATION] && http->authstring && + (!strncmp(http->authstring, "Negotiate", 9) || + !strncmp(http->authstring, "AuthRef", 7))) + { + http->_authstring[0] = '\0'; + + if (http->authstring != http->_authstring) + free(http->authstring); + + http->authstring = http->_authstring; + } + + return (0); +} + + +/* + * 'http_set_length()' - Set the data_encoding and data_remaining values. + */ + +static off_t /* O - Remainder or -1 on error */ +http_set_length(http_t *http) /* I - Connection */ +{ + off_t remaining; /* Remainder */ + + + DEBUG_printf(("http_set_length(http=%p) mode=%d state=%s", (void *)http, http->mode, httpStateString(http->state))); + + if ((remaining = httpGetLength2(http)) >= 0) + { + if (http->mode == _HTTP_MODE_SERVER && + http->state != HTTP_STATE_GET_SEND && + http->state != HTTP_STATE_PUT && + http->state != HTTP_STATE_POST && + http->state != HTTP_STATE_POST_SEND) + { + DEBUG_puts("1http_set_length: Not setting data_encoding/remaining."); + return (remaining); + } + + if (!_cups_strcasecmp(httpGetField(http, HTTP_FIELD_TRANSFER_ENCODING), "chunked")) + { + DEBUG_puts("1http_set_length: Setting data_encoding to " + "HTTP_ENCODING_CHUNKED."); + http->data_encoding = HTTP_ENCODING_CHUNKED; + } + else + { + DEBUG_puts("1http_set_length: Setting data_encoding to " + "HTTP_ENCODING_LENGTH."); + http->data_encoding = HTTP_ENCODING_LENGTH; + } + + DEBUG_printf(("1http_set_length: Setting data_remaining to " CUPS_LLFMT ".", + CUPS_LLCAST remaining)); + http->data_remaining = remaining; + + if (remaining <= INT_MAX) + http->_data_remaining = (int)remaining; + else + http->_data_remaining = INT_MAX; + } + + return (remaining); +} + +/* + * 'http_set_timeout()' - Set the socket timeout values. + */ + +static void +http_set_timeout(int fd, /* I - File descriptor */ + double timeout) /* I - Timeout in seconds */ +{ +#ifdef _WIN32 + DWORD tv = (DWORD)(timeout * 1000); + /* Timeout in milliseconds */ + + setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, CUPS_SOCAST &tv, sizeof(tv)); + setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, CUPS_SOCAST &tv, sizeof(tv)); + +#else + struct timeval tv; /* Timeout in secs and usecs */ + + tv.tv_sec = (int)timeout; + tv.tv_usec = (int)(1000000 * fmod(timeout, 1.0)); + + setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, CUPS_SOCAST &tv, sizeof(tv)); + setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, CUPS_SOCAST &tv, sizeof(tv)); +#endif /* _WIN32 */ +} + + +/* + * 'http_set_wait()' - Set the default wait value for reads. + */ + +static void +http_set_wait(http_t *http) /* I - HTTP connection */ +{ + if (http->blocking) + { + http->wait_value = (int)(http->timeout_value * 1000); + + if (http->wait_value <= 0) + http->wait_value = 60000; + } + else + http->wait_value = 10000; +} + + +#ifdef HAVE_SSL +/* + * 'http_tls_upgrade()' - Force upgrade to TLS encryption. + */ + +static int /* O - Status of connection */ +http_tls_upgrade(http_t *http) /* I - HTTP connection */ +{ + int ret; /* Return value */ + http_t myhttp; /* Local copy of HTTP data */ + + + DEBUG_printf(("7http_tls_upgrade(%p)", (void *)http)); + + /* + * Flush the connection to make sure any previous "Upgrade" message + * has been read. + */ + + httpFlush(http); + + /* + * Copy the HTTP data to a local variable so we can do the OPTIONS + * request without interfering with the existing request data... + */ + + memcpy(&myhttp, http, sizeof(myhttp)); + + /* + * Send an OPTIONS request to the server, requiring SSL or TLS + * encryption on the link... + */ + + http->tls_upgrade = 1; + memset(http->fields, 0, sizeof(http->fields)); + http->expect = (http_status_t)0; + + if (http->hostname[0] == '/') + httpSetField(http, HTTP_FIELD_HOST, "localhost"); + else + httpSetField(http, HTTP_FIELD_HOST, http->hostname); + + httpSetField(http, HTTP_FIELD_CONNECTION, "upgrade"); + httpSetField(http, HTTP_FIELD_UPGRADE, "TLS/1.2,TLS/1.1,TLS/1.0"); + + if ((ret = httpOptions(http, "*")) == 0) + { + /* + * Wait for the secure connection... + */ + + while (httpUpdate(http) == HTTP_STATUS_CONTINUE); + } + + /* + * Restore the HTTP request data... + */ + + memcpy(http->_fields, myhttp._fields, sizeof(http->_fields)); + memcpy(http->fields, myhttp.fields, sizeof(http->fields)); + + http->data_encoding = myhttp.data_encoding; + http->data_remaining = myhttp.data_remaining; + http->_data_remaining = myhttp._data_remaining; + http->expect = myhttp.expect; + http->digest_tries = myhttp.digest_tries; + http->tls_upgrade = 0; + + /* + * See if we actually went secure... + */ + + if (!http->tls) + { + /* + * Server does not support HTTP upgrade... + */ + + DEBUG_puts("8http_tls_upgrade: Server does not support HTTP upgrade!"); + + _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, _("Encryption is not supported."), 1); + httpAddrClose(NULL, http->fd); + + http->fd = -1; + + return (-1); + } + else + return (ret); +} +#endif /* HAVE_SSL */ + + +/* + * 'http_write()' - Write a buffer to a HTTP connection. + */ + +static ssize_t /* O - Number of bytes written */ +http_write(http_t *http, /* I - HTTP connection */ + const char *buffer, /* I - Buffer for data */ + size_t length) /* I - Number of bytes to write */ +{ + ssize_t tbytes, /* Total bytes sent */ + bytes; /* Bytes sent */ + + + DEBUG_printf(("2http_write(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)buffer, CUPS_LLCAST length)); + http->error = 0; + tbytes = 0; + + while (length > 0) + { + DEBUG_printf(("3http_write: About to write %d bytes.", (int)length)); + + if (http->timeout_value > 0.0) + { +#ifdef HAVE_POLL + struct pollfd pfd; /* Polled file descriptor */ +#else + fd_set output_set; /* Output ready for write? */ + struct timeval timeout; /* Timeout value */ +#endif /* HAVE_POLL */ + int nfds; /* Result from select()/poll() */ + + do + { +#ifdef HAVE_POLL + pfd.fd = http->fd; + pfd.events = POLLOUT; + + while ((nfds = poll(&pfd, 1, http->wait_value)) < 0 && + (errno == EINTR || errno == EAGAIN)) + /* do nothing */; + +#else + do + { + FD_ZERO(&output_set); + FD_SET(http->fd, &output_set); + + timeout.tv_sec = http->wait_value / 1000; + timeout.tv_usec = 1000 * (http->wait_value % 1000); + + nfds = select(http->fd + 1, NULL, &output_set, NULL, &timeout); + } +# ifdef _WIN32 + while (nfds < 0 && (WSAGetLastError() == WSAEINTR || + WSAGetLastError() == WSAEWOULDBLOCK)); +# else + while (nfds < 0 && (errno == EINTR || errno == EAGAIN)); +# endif /* _WIN32 */ +#endif /* HAVE_POLL */ + + if (nfds < 0) + { + http->error = errno; + return (-1); + } + else if (nfds == 0 && (!http->timeout_cb || !(*http->timeout_cb)(http, http->timeout_data))) + { +#ifdef _WIN32 + http->error = WSAEWOULDBLOCK; +#else + http->error = EWOULDBLOCK; +#endif /* _WIN32 */ + return (-1); + } + } + while (nfds <= 0); + } + +#ifdef HAVE_SSL + if (http->tls) + bytes = _httpTLSWrite(http, buffer, (int)length); + else +#endif /* HAVE_SSL */ + bytes = send(http->fd, buffer, length, 0); + + DEBUG_printf(("3http_write: Write of " CUPS_LLFMT " bytes returned " + CUPS_LLFMT ".", CUPS_LLCAST length, CUPS_LLCAST bytes)); + + if (bytes < 0) + { +#ifdef _WIN32 + if (WSAGetLastError() == WSAEINTR) + continue; + else if (WSAGetLastError() == WSAEWOULDBLOCK) + { + if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) + continue; + + http->error = WSAGetLastError(); + } + else if (WSAGetLastError() != http->error && + WSAGetLastError() != WSAECONNRESET) + { + http->error = WSAGetLastError(); + continue; + } + +#else + if (errno == EINTR) + continue; + else if (errno == EWOULDBLOCK || errno == EAGAIN) + { + if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) + continue; + else if (!http->timeout_cb && errno == EAGAIN) + continue; + + http->error = errno; + } + else if (errno != http->error && errno != ECONNRESET) + { + http->error = errno; + continue; + } +#endif /* _WIN32 */ + + DEBUG_printf(("3http_write: error writing data (%s).", + strerror(http->error))); + + return (-1); + } + + buffer += bytes; + tbytes += bytes; + length -= (size_t)bytes; + } + +#ifdef DEBUG + http_debug_hex("http_write", buffer - tbytes, (int)tbytes); +#endif /* DEBUG */ + + DEBUG_printf(("3http_write: Returning " CUPS_LLFMT ".", CUPS_LLCAST tbytes)); + + return (tbytes); +} + + +/* + * 'http_write_chunk()' - Write a chunked buffer. + */ + +static ssize_t /* O - Number bytes written */ +http_write_chunk(http_t *http, /* I - HTTP connection */ + const char *buffer, /* I - Buffer to write */ + size_t length) /* I - Length of buffer */ +{ + char header[16]; /* Chunk header */ + ssize_t bytes; /* Bytes written */ + + + DEBUG_printf(("7http_write_chunk(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)buffer, CUPS_LLCAST length)); + + /* + * Write the chunk header, data, and trailer. + */ + + snprintf(header, sizeof(header), "%x\r\n", (unsigned)length); + if (http_write(http, header, strlen(header)) < 0) + { + DEBUG_puts("8http_write_chunk: http_write of length failed."); + return (-1); + } + + if ((bytes = http_write(http, buffer, length)) < 0) + { + DEBUG_puts("8http_write_chunk: http_write of buffer failed."); + return (-1); + } + + if (http_write(http, "\r\n", 2) < 0) + { + DEBUG_puts("8http_write_chunk: http_write of CR LF failed."); + return (-1); + } + + return (bytes); +} diff --git a/cups/http.h b/cups/http.h new file mode 100644 index 0000000..01a0321 --- /dev/null +++ b/cups/http.h @@ -0,0 +1,593 @@ +/* + * Hyper-Text Transport Protocol definitions for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_HTTP_H_ +# define _CUPS_HTTP_H_ + +/* + * Include necessary headers... + */ + +# include "versioning.h" +# include "array.h" +# include +# include +# include +# ifdef _WIN32 +# ifndef __CUPS_SSIZE_T_DEFINED +# define __CUPS_SSIZE_T_DEFINED +/* Windows does not support the ssize_t type, so map it to off_t... */ +typedef off_t ssize_t; /* @private@ */ +# endif /* !__CUPS_SSIZE_T_DEFINED */ +# include +# include +# else +# include +# include +# include +# include +# include +# include +# include +# include +# if !defined(__APPLE__) || !defined(TCP_NODELAY) +# include +# endif /* !__APPLE__ || !TCP_NODELAY */ +# if defined(AF_UNIX) && !defined(AF_LOCAL) +# define AF_LOCAL AF_UNIX /* Older UNIX's have old names... */ +# endif /* AF_UNIX && !AF_LOCAL */ +# ifdef AF_LOCAL +# include +# endif /* AF_LOCAL */ +# if defined(LOCAL_PEERCRED) && !defined(SO_PEERCRED) +# define SO_PEERCRED LOCAL_PEERCRED +# endif /* LOCAL_PEERCRED && !SO_PEERCRED */ +# endif /* _WIN32 */ + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Oh, the wonderful world of IPv6 compatibility. Apparently some + * implementations expose the (more logical) 32-bit address parts + * to everyone, while others only expose it to kernel code... To + * make supporting IPv6 even easier, each vendor chose different + * core structure and union names, so the same defines or code + * can't be used on all platforms. + * + * The following will likely need tweaking on new platforms that + * support IPv6 - the "s6_addr32" define maps to the 32-bit integer + * array in the in6_addr union, which is named differently on various + * platforms. + */ + +#if defined(AF_INET6) && !defined(s6_addr32) +# if defined(__sun) +# define s6_addr32 _S6_un._S6_u32 +# elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)|| defined(__DragonFly__) +# define s6_addr32 __u6_addr.__u6_addr32 +# elif defined(_WIN32) +/* + * Windows only defines byte and 16-bit word members of the union and + * requires special casing of all raw address code... + */ +# define s6_addr32 error_need_win32_specific_code +# endif /* __sun */ +#endif /* AF_INET6 && !s6_addr32 */ + + +/* + * Limits... + */ + +# define HTTP_MAX_URI 1024 /* Max length of URI string */ +# define HTTP_MAX_HOST 256 /* Max length of hostname string */ +# define HTTP_MAX_BUFFER 2048 /* Max length of data buffer */ +# define HTTP_MAX_VALUE 256 /* Max header field value length */ + + +/* + * Types and structures... + */ + +typedef enum http_auth_e /**** HTTP authentication types @exclude all@ ****/ +{ + HTTP_AUTH_NONE, /* No authentication in use */ + HTTP_AUTH_BASIC, /* Basic authentication in use */ + HTTP_AUTH_MD5, /* Digest authentication in use */ + HTTP_AUTH_MD5_SESS, /* MD5-session authentication in use */ + HTTP_AUTH_MD5_INT, /* Digest authentication in use for body */ + HTTP_AUTH_MD5_SESS_INT, /* MD5-session authentication in use for body */ + HTTP_AUTH_NEGOTIATE /* GSSAPI authentication in use @since CUPS 1.3/macOS 10.5@ */ +} http_auth_t; + +typedef enum http_encoding_e /**** HTTP transfer encoding values ****/ +{ + HTTP_ENCODING_LENGTH, /* Data is sent with Content-Length */ + HTTP_ENCODING_CHUNKED, /* Data is chunked */ + HTTP_ENCODING_FIELDS /* Sending HTTP fields */ + +# ifndef _CUPS_NO_DEPRECATED +# define HTTP_ENCODE_LENGTH HTTP_ENCODING_LENGTH +# define HTTP_ENCODE_CHUNKED HTTP_ENCODING_CHUNKED +# define HTTP_ENCODE_FIELDS HTTP_ENCODING_FIELDS +# endif /* !_CUPS_NO_DEPRECATED */ +} http_encoding_t; + +typedef enum http_encryption_e /**** HTTP encryption values ****/ +{ + HTTP_ENCRYPTION_IF_REQUESTED, /* Encrypt if requested (TLS upgrade) */ + HTTP_ENCRYPTION_NEVER, /* Never encrypt */ + HTTP_ENCRYPTION_REQUIRED, /* Encryption is required (TLS upgrade) */ + HTTP_ENCRYPTION_ALWAYS /* Always encrypt (SSL) */ + +# ifndef _CUPS_NO_DEPRECATED +# define HTTP_ENCRYPT_IF_REQUESTED HTTP_ENCRYPTION_IF_REQUESTED +# define HTTP_ENCRYPT_NEVER HTTP_ENCRYPTION_NEVER +# define HTTP_ENCRYPT_REQUIRED HTTP_ENCRYPTION_REQUIRED +# define HTTP_ENCRYPT_ALWAYS HTTP_ENCRYPTION_ALWAYS +# endif /* !_CUPS_NO_DEPRECATED */ +} http_encryption_t; + +typedef enum http_field_e /**** HTTP field names ****/ +{ + HTTP_FIELD_UNKNOWN = -1, /* Unknown field */ + HTTP_FIELD_ACCEPT_LANGUAGE, /* Accept-Language field */ + HTTP_FIELD_ACCEPT_RANGES, /* Accept-Ranges field */ + HTTP_FIELD_AUTHORIZATION, /* Authorization field */ + HTTP_FIELD_CONNECTION, /* Connection field */ + HTTP_FIELD_CONTENT_ENCODING, /* Content-Encoding field */ + HTTP_FIELD_CONTENT_LANGUAGE, /* Content-Language field */ + HTTP_FIELD_CONTENT_LENGTH, /* Content-Length field */ + HTTP_FIELD_CONTENT_LOCATION, /* Content-Location field */ + HTTP_FIELD_CONTENT_MD5, /* Content-MD5 field */ + HTTP_FIELD_CONTENT_RANGE, /* Content-Range field */ + HTTP_FIELD_CONTENT_TYPE, /* Content-Type field */ + HTTP_FIELD_CONTENT_VERSION, /* Content-Version field */ + HTTP_FIELD_DATE, /* Date field */ + HTTP_FIELD_HOST, /* Host field */ + HTTP_FIELD_IF_MODIFIED_SINCE, /* If-Modified-Since field */ + HTTP_FIELD_IF_UNMODIFIED_SINCE, /* If-Unmodified-Since field */ + HTTP_FIELD_KEEP_ALIVE, /* Keep-Alive field */ + HTTP_FIELD_LAST_MODIFIED, /* Last-Modified field */ + HTTP_FIELD_LINK, /* Link field */ + HTTP_FIELD_LOCATION, /* Location field */ + HTTP_FIELD_RANGE, /* Range field */ + HTTP_FIELD_REFERER, /* Referer field */ + HTTP_FIELD_RETRY_AFTER, /* Retry-After field */ + HTTP_FIELD_TRANSFER_ENCODING, /* Transfer-Encoding field */ + HTTP_FIELD_UPGRADE, /* Upgrade field */ + HTTP_FIELD_USER_AGENT, /* User-Agent field */ + HTTP_FIELD_WWW_AUTHENTICATE, /* WWW-Authenticate field */ + HTTP_FIELD_ACCEPT_ENCODING, /* Accepting-Encoding field @since CUPS 1.7/macOS 10.9@ */ + HTTP_FIELD_ALLOW, /* Allow field @since CUPS 1.7/macOS 10.9@ */ + HTTP_FIELD_SERVER, /* Server field @since CUPS 1.7/macOS 10.9@ */ + HTTP_FIELD_AUTHENTICATION_INFO, /* Authentication-Info field (@since CUPS 2.2.9) */ + HTTP_FIELD_MAX /* Maximum field index */ +} http_field_t; + +typedef enum http_keepalive_e /**** HTTP keep-alive values ****/ +{ + HTTP_KEEPALIVE_OFF = 0, /* No keep alive support */ + HTTP_KEEPALIVE_ON /* Use keep alive */ +} http_keepalive_t; + +typedef enum http_state_e /**** HTTP state values; states + **** are server-oriented... + ****/ +{ + HTTP_STATE_ERROR = -1, /* Error on socket */ + HTTP_STATE_WAITING, /* Waiting for command */ + HTTP_STATE_OPTIONS, /* OPTIONS command, waiting for blank line */ + HTTP_STATE_GET, /* GET command, waiting for blank line */ + HTTP_STATE_GET_SEND, /* GET command, sending data */ + HTTP_STATE_HEAD, /* HEAD command, waiting for blank line */ + HTTP_STATE_POST, /* POST command, waiting for blank line */ + HTTP_STATE_POST_RECV, /* POST command, receiving data */ + HTTP_STATE_POST_SEND, /* POST command, sending data */ + HTTP_STATE_PUT, /* PUT command, waiting for blank line */ + HTTP_STATE_PUT_RECV, /* PUT command, receiving data */ + HTTP_STATE_DELETE, /* DELETE command, waiting for blank line */ + HTTP_STATE_TRACE, /* TRACE command, waiting for blank line */ + HTTP_STATE_CONNECT, /* CONNECT command, waiting for blank line */ + HTTP_STATE_STATUS, /* Command complete, sending status */ + HTTP_STATE_UNKNOWN_METHOD, /* Unknown request method, waiting for blank line @since CUPS 1.7/macOS 10.9@ */ + HTTP_STATE_UNKNOWN_VERSION /* Unknown request method, waiting for blank line @since CUPS 1.7/macOS 10.9@ */ + +# ifndef _CUPS_NO_DEPRECATED +# define HTTP_WAITING HTTP_STATE_WAITING +# define HTTP_OPTIONS HTTP_STATE_OPTIONS +# define HTTP_GET HTTP_STATE_GET +# define HTTP_GET_SEND HTTP_STATE_GET_SEND +# define HTTP_HEAD HTTP_STATE_HEAD +# define HTTP_POST HTTP_STATE_POST +# define HTTP_POST_RECV HTTP_STATE_POST_RECV +# define HTTP_POST_SEND HTTP_STATE_POST_SEND +# define HTTP_PUT HTTP_STATE_PUT +# define HTTP_PUT_RECV HTTP_STATE_PUT_RECV +# define HTTP_DELETE HTTP_STATE_DELETE +# define HTTP_TRACE HTTP_STATE_TRACE +# define HTTP_CLOSE HTTP_STATE_CONNECT +# define HTTP_STATUS HTTP_STATE_STATUS +# endif /* !_CUPS_NO_DEPRECATED */ +} http_state_t; + +typedef enum http_status_e /**** HTTP status codes ****/ +{ + HTTP_STATUS_ERROR = -1, /* An error response from httpXxxx() */ + HTTP_STATUS_NONE = 0, /* No Expect value @since CUPS 1.7/macOS 10.9@ */ + + HTTP_STATUS_CONTINUE = 100, /* Everything OK, keep going... */ + HTTP_STATUS_SWITCHING_PROTOCOLS, /* HTTP upgrade to TLS/SSL */ + + HTTP_STATUS_OK = 200, /* OPTIONS/GET/HEAD/POST/TRACE command was successful */ + HTTP_STATUS_CREATED, /* PUT command was successful */ + HTTP_STATUS_ACCEPTED, /* DELETE command was successful */ + HTTP_STATUS_NOT_AUTHORITATIVE, /* Information isn't authoritative */ + HTTP_STATUS_NO_CONTENT, /* Successful command, no new data */ + HTTP_STATUS_RESET_CONTENT, /* Content was reset/recreated */ + HTTP_STATUS_PARTIAL_CONTENT, /* Only a partial file was received/sent */ + + HTTP_STATUS_MULTIPLE_CHOICES = 300, /* Multiple files match request */ + HTTP_STATUS_MOVED_PERMANENTLY, /* Document has moved permanently */ + HTTP_STATUS_FOUND, /* Document was found at a different URI */ + HTTP_STATUS_SEE_OTHER, /* See this other link */ + HTTP_STATUS_NOT_MODIFIED, /* File not modified */ + HTTP_STATUS_USE_PROXY, /* Must use a proxy to access this URI */ + HTTP_STATUS_TEMPORARY_REDIRECT = 307, /* Temporary redirection */ + + HTTP_STATUS_BAD_REQUEST = 400, /* Bad request */ + HTTP_STATUS_UNAUTHORIZED, /* Unauthorized to access host */ + HTTP_STATUS_PAYMENT_REQUIRED, /* Payment required */ + HTTP_STATUS_FORBIDDEN, /* Forbidden to access this URI */ + HTTP_STATUS_NOT_FOUND, /* URI was not found */ + HTTP_STATUS_METHOD_NOT_ALLOWED, /* Method is not allowed */ + HTTP_STATUS_NOT_ACCEPTABLE, /* Not Acceptable */ + HTTP_STATUS_PROXY_AUTHENTICATION, /* Proxy Authentication is Required */ + HTTP_STATUS_REQUEST_TIMEOUT, /* Request timed out */ + HTTP_STATUS_CONFLICT, /* Request is self-conflicting */ + HTTP_STATUS_GONE, /* Server has gone away */ + HTTP_STATUS_LENGTH_REQUIRED, /* A content length or encoding is required */ + HTTP_STATUS_PRECONDITION, /* Precondition failed */ + HTTP_STATUS_REQUEST_TOO_LARGE, /* Request entity too large */ + HTTP_STATUS_URI_TOO_LONG, /* URI too long */ + HTTP_STATUS_UNSUPPORTED_MEDIATYPE, /* The requested media type is unsupported */ + HTTP_STATUS_REQUESTED_RANGE, /* The requested range is not satisfiable */ + HTTP_STATUS_EXPECTATION_FAILED, /* The expectation given in an Expect header field was not met */ + HTTP_STATUS_UPGRADE_REQUIRED = 426, /* Upgrade to SSL/TLS required */ + + HTTP_STATUS_SERVER_ERROR = 500, /* Internal server error */ + HTTP_STATUS_NOT_IMPLEMENTED, /* Feature not implemented */ + HTTP_STATUS_BAD_GATEWAY, /* Bad gateway */ + HTTP_STATUS_SERVICE_UNAVAILABLE, /* Service is unavailable */ + HTTP_STATUS_GATEWAY_TIMEOUT, /* Gateway connection timed out */ + HTTP_STATUS_NOT_SUPPORTED, /* HTTP version not supported */ + + HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED = 1000, + /* User canceled authorization @since CUPS 1.4@ */ + HTTP_STATUS_CUPS_PKI_ERROR, /* Error negotiating a secure connection @since CUPS 1.5/macOS 10.7@ */ + HTTP_STATUS_CUPS_WEBIF_DISABLED /* Web interface is disabled @private@ */ + +# define HTTP_STATUS_MOVED_TEMPORARILY HTTP_STATUS_FOUND /* Renamed in RFC 7231 */ + +# ifndef _CUPS_NO_DEPRECATED +/* Old names for this enumeration */ +# define HTTP_ERROR HTTP_STATUS_ERROR + +# define HTTP_CONTINUE HTTP_STATUS_CONTINUE +# define HTTP_SWITCHING_PROTOCOLS HTTP_STATUS_SWITCHING_PROTOCOLS + +# define HTTP_OK HTTP_STATUS_OK +# define HTTP_CREATED HTTP_STATUS_CREATED +# define HTTP_ACCEPTED HTTP_STATUS_ACCEPTED +# define HTTP_NOT_AUTHORITATIVE HTTP_STATUS_NOT_AUTHORITATIVE +# define HTTP_NO_CONTENT HTTP_STATUS_NO_CONTENT +# define HTTP_RESET_CONTENT HTTP_STATUS_RESET_CONTENT +# define HTTP_PARTIAL_CONTENT HTTP_STATUS_PARTIAL_CONTENT + +# define HTTP_MULTIPLE_CHOICES HTTP_STATUS_MULTIPLE_CHOICES +# define HTTP_MOVED_PERMANENTLY HTTP_STATUS_MOVED_PERMANENTLY +# define HTTP_MOVED_TEMPORARILY HTTP_STATUS_MOVED_TEMPORARILY +# define HTTP_SEE_OTHER HTTP_STATUS_SEE_OTHER +# define HTTP_NOT_MODIFIED HTTP_STATUS_NOT_MODIFIED +# define HTTP_USE_PROXY HTTP_STATUS_USE_PROXY + +# define HTTP_BAD_REQUEST HTTP_STATUS_BAD_REQUEST +# define HTTP_UNAUTHORIZED HTTP_STATUS_UNAUTHORIZED +# define HTTP_PAYMENT_REQUIRED HTTP_STATUS_PAYMENT_REQUIRED +# define HTTP_FORBIDDEN HTTP_STATUS_FORBIDDEN +# define HTTP_NOT_FOUND HTTP_STATUS_NOT_FOUND +# define HTTP_METHOD_NOT_ALLOWED HTTP_STATUS_METHOD_NOT_ALLOWED +# define HTTP_NOT_ACCEPTABLE HTTP_STATUS_NOT_ACCEPTABLE +# define HTTP_PROXY_AUTHENTICATION HTTP_STATUS_PROXY_AUTHENTICATION +# define HTTP_REQUEST_TIMEOUT HTTP_STATUS_REQUEST_TIMEOUT +# define HTTP_CONFLICT HTTP_STATUS_CONFLICT +# define HTTP_GONE HTTP_STATUS_GONE +# define HTTP_LENGTH_REQUIRED HTTP_STATUS_LENGTH_REQUIRED +# define HTTP_PRECONDITION HTTP_STATUS_PRECONDITION +# define HTTP_REQUEST_TOO_LARGE HTTP_STATUS_REQUEST_TOO_LARGE +# define HTTP_URI_TOO_LONG HTTP_STATUS_URI_TOO_LONG +# define HTTP_UNSUPPORTED_MEDIATYPE HTTP_STATUS_UNSUPPORTED_MEDIATYPE +# define HTTP_REQUESTED_RANGE HTTP_STATUS_REQUESTED_RANGE +# define HTTP_EXPECTATION_FAILED HTTP_STATUS_EXPECTATION_FAILED +# define HTTP_UPGRADE_REQUIRED HTTP_STATUS_UPGRADE_REQUIRED + +# define HTTP_SERVER_ERROR HTTP_STATUS_SERVER_ERROR +# define HTTP_NOT_IMPLEMENTED HTTP_STATUS_NOT_IMPLEMENTED +# define HTTP_BAD_GATEWAY HTTP_STATUS_BAD_GATEWAY +# define HTTP_SERVICE_UNAVAILABLE HTTP_STATUS_SERVICE_UNAVAILABLE +# define HTTP_GATEWAY_TIMEOUT HTTP_STATUS_GATEWAY_TIMEOUT +# define HTTP_NOT_SUPPORTED HTTP_STATUS_NOT_SUPPORTED + +# define HTTP_AUTHORIZATION_CANCELED HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED +# define HTTP_PKI_ERROR HTTP_STATUS_CUPS_PKI_ERROR +# define HTTP_WEBIF_DISABLED HTTP_STATUS_CUPS_WEBIF_DISABLED +# endif /* !_CUPS_NO_DEPRECATED */ +} http_status_t; + +typedef enum http_trust_e /**** Level of trust for credentials @since CUPS 2.0/OS 10.10@ */ +{ + HTTP_TRUST_OK = 0, /* Credentials are OK/trusted */ + HTTP_TRUST_INVALID, /* Credentials are invalid */ + HTTP_TRUST_CHANGED, /* Credentials have changed */ + HTTP_TRUST_EXPIRED, /* Credentials are expired */ + HTTP_TRUST_RENEWED, /* Credentials have been renewed */ + HTTP_TRUST_UNKNOWN, /* Credentials are unknown/new */ +} http_trust_t; + +typedef enum http_uri_status_e /**** URI separation status @since CUPS 1.2@ ****/ +{ + HTTP_URI_STATUS_OVERFLOW = -8, /* URI buffer for httpAssembleURI is too small */ + HTTP_URI_STATUS_BAD_ARGUMENTS = -7, /* Bad arguments to function (error) */ + HTTP_URI_STATUS_BAD_RESOURCE = -6, /* Bad resource in URI (error) */ + HTTP_URI_STATUS_BAD_PORT = -5, /* Bad port number in URI (error) */ + HTTP_URI_STATUS_BAD_HOSTNAME = -4, /* Bad hostname in URI (error) */ + HTTP_URI_STATUS_BAD_USERNAME = -3, /* Bad username in URI (error) */ + HTTP_URI_STATUS_BAD_SCHEME = -2, /* Bad scheme in URI (error) */ + HTTP_URI_STATUS_BAD_URI = -1, /* Bad/empty URI (error) */ + HTTP_URI_STATUS_OK = 0, /* URI decoded OK */ + HTTP_URI_STATUS_MISSING_SCHEME, /* Missing scheme in URI (warning) */ + HTTP_URI_STATUS_UNKNOWN_SCHEME, /* Unknown scheme in URI (warning) */ + HTTP_URI_STATUS_MISSING_RESOURCE /* Missing resource in URI (warning) */ + +# ifndef _CUPS_NO_DEPRECATED +# define HTTP_URI_OVERFLOW HTTP_URI_STATUS_OVERFLOW +# define HTTP_URI_BAD_ARGUMENTS HTTP_URI_STATUS_BAD_ARGUMENTS +# define HTTP_URI_BAD_RESOURCE HTTP_URI_STATUS_BAD_RESOURCE +# define HTTP_URI_BAD_PORT HTTP_URI_STATUS_BAD_PORT +# define HTTP_URI_BAD_HOSTNAME HTTP_URI_STATUS_BAD_HOSTNAME +# define HTTP_URI_BAD_USERNAME HTTP_URI_STATUS_BAD_USERNAME +# define HTTP_URI_BAD_SCHEME HTTP_URI_STATUS_BAD_SCHEME +# define HTTP_URI_BAD_URI HTTP_URI_STATUS_BAD_URI +# define HTTP_URI_OK HTTP_URI_STATUS_OK +# define HTTP_URI_MISSING_SCHEME HTTP_URI_STATUS_MISSING_SCHEME +# define HTTP_URI_UNKNOWN_SCHEME HTTP_URI_STATUS_UNKNOWN_SCHEME +# define HTTP_URI_MISSING_RESOURCE HTTP_URI_STATUS_MISSING_RESOURCE +# endif /* !_CUPS_NO_DEPRECATED */ +} http_uri_status_t; + +typedef enum http_uri_coding_e /**** URI en/decode flags ****/ +{ + HTTP_URI_CODING_NONE = 0, /* Don't en/decode anything */ + HTTP_URI_CODING_USERNAME = 1, /* En/decode the username portion */ + HTTP_URI_CODING_HOSTNAME = 2, /* En/decode the hostname portion */ + HTTP_URI_CODING_RESOURCE = 4, /* En/decode the resource portion */ + HTTP_URI_CODING_MOST = 7, /* En/decode all but the query */ + HTTP_URI_CODING_QUERY = 8, /* En/decode the query portion */ + HTTP_URI_CODING_ALL = 15, /* En/decode everything */ + HTTP_URI_CODING_RFC6874 = 16 /* Use RFC 6874 address format */ +} http_uri_coding_t; + +typedef enum http_version_e /**** HTTP version numbers @exclude all@ ****/ +{ + HTTP_VERSION_0_9 = 9, /* HTTP/0.9 */ + HTTP_VERSION_1_0 = 100, /* HTTP/1.0 */ + HTTP_VERSION_1_1 = 101 /* HTTP/1.1 */ + +# ifndef _CUPS_NO_DEPRECATED +# define HTTP_0_9 HTTP_VERSION_0_9 +# define HTTP_1_0 HTTP_VERSION_1_0 +# define HTTP_1_1 HTTP_VERSION_1_1 +# endif /* !_CUPS_NO_DEPRECATED */ +} http_version_t; + +typedef union _http_addr_u /**** Socket address union, which + **** makes using IPv6 and other + **** address types easier and + **** more portable. @since CUPS 1.2/macOS 10.5@ + ****/ +{ + struct sockaddr addr; /* Base structure for family value */ + struct sockaddr_in ipv4; /* IPv4 address */ +#ifdef AF_INET6 + struct sockaddr_in6 ipv6; /* IPv6 address */ +#endif /* AF_INET6 */ +#ifdef AF_LOCAL + struct sockaddr_un un; /* Domain socket file */ +#endif /* AF_LOCAL */ + char pad[256]; /* Padding to ensure binary compatibility */ +} http_addr_t; + +typedef struct http_addrlist_s /**** Socket address list, which is + **** used to enumerate all of the + **** addresses that are associated + **** with a hostname. @since CUPS 1.2/macOS 10.5@ + **** @exclude all@ + ****/ +{ + struct http_addrlist_s *next; /* Pointer to next address in list */ + http_addr_t addr; /* Address */ +} http_addrlist_t; + +typedef struct _http_s http_t; /**** HTTP connection type ****/ + +typedef struct http_credential_s /**** HTTP credential data @since CUPS 1.5/macOS 10.7@ @exclude all@ ****/ +{ + void *data; /* Pointer to credential data */ + size_t datalen; /* Credential length */ +} http_credential_t; + +typedef int (*http_timeout_cb_t)(http_t *http, void *user_data); + /**** HTTP timeout callback @since CUPS 1.5/macOS 10.7@ ****/ + + + +/* + * Prototypes... + */ + +extern void httpBlocking(http_t *http, int b) _CUPS_PUBLIC; +extern int httpCheck(http_t *http) _CUPS_PUBLIC; +extern void httpClearFields(http_t *http) _CUPS_PUBLIC; +extern void httpClose(http_t *http) _CUPS_PUBLIC; +extern http_t *httpConnect(const char *host, int port) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); +extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); +extern int httpDelete(http_t *http, const char *uri) _CUPS_PUBLIC; +extern int httpEncryption(http_t *http, http_encryption_t e) _CUPS_PUBLIC; +extern int httpError(http_t *http) _CUPS_PUBLIC; +extern void httpFlush(http_t *http) _CUPS_PUBLIC; +extern int httpGet(http_t *http, const char *uri) _CUPS_PUBLIC; +extern char *httpGets(char *line, int length, http_t *http) _CUPS_PUBLIC; +extern const char *httpGetDateString(time_t t) _CUPS_PUBLIC; +extern time_t httpGetDateTime(const char *s) _CUPS_PUBLIC; +extern const char *httpGetField(http_t *http, http_field_t field) _CUPS_PUBLIC; +extern struct hostent *httpGetHostByName(const char *name) _CUPS_PUBLIC; +extern char *httpGetSubField(http_t *http, http_field_t field, const char *name, char *value) _CUPS_PUBLIC; +extern int httpHead(http_t *http, const char *uri) _CUPS_PUBLIC; +extern void httpInitialize(void) _CUPS_PUBLIC; +extern int httpOptions(http_t *http, const char *uri) _CUPS_PUBLIC; +extern int httpPost(http_t *http, const char *uri) _CUPS_PUBLIC; +extern int httpPrintf(http_t *http, const char *format, ...) _CUPS_FORMAT(2, 3) _CUPS_PUBLIC; +extern int httpPut(http_t *http, const char *uri) _CUPS_PUBLIC; +extern int httpRead(http_t *http, char *buffer, int length) _CUPS_DEPRECATED_MSG("Use httpRead2 instead."); +extern int httpReconnect(http_t *http) _CUPS_DEPRECATED_1_6_MSG("Use httpReconnect2 instead."); +extern void httpSeparate(const char *uri, char *method, char *username, char *host, int *port, char *resource) _CUPS_DEPRECATED_1_2_MSG("Use httpSeparateURI instead."); +extern void httpSetField(http_t *http, http_field_t field, const char *value) _CUPS_PUBLIC; +extern const char *httpStatus(http_status_t status) _CUPS_PUBLIC; +extern int httpTrace(http_t *http, const char *uri) _CUPS_PUBLIC; +extern http_status_t httpUpdate(http_t *http) _CUPS_PUBLIC; +extern int httpWrite(http_t *http, const char *buffer, int length) _CUPS_DEPRECATED_MSG("Use httpWrite2 instead."); +extern char *httpEncode64(char *out, const char *in) _CUPS_DEPRECATED_MSG("Use httpEncode64_2 instead."); +extern char *httpDecode64(char *out, const char *in) _CUPS_DEPRECATED_MSG("Use httpDecode64_2 instead."); +extern int httpGetLength(http_t *http) _CUPS_DEPRECATED_1_2_MSG("Use httpGetLength2 instead."); +extern char *httpMD5(const char *, const char *, const char *, char [33]) _CUPS_DEPRECATED_MSG("Use cupsDoAuth or cupsHashData instead."); +extern char *httpMD5Final(const char *, const char *, const char *, char [33]) _CUPS_DEPRECATED_2_2_MSG("Use cupsDoAuth or cupsHashData instead."); +extern char *httpMD5String(const unsigned char *, char [33]) _CUPS_DEPRECATED_2_2_MSG("Use cupsHashString instead."); + +/**** New in CUPS 1.1.19 ****/ +extern void httpClearCookie(http_t *http) _CUPS_API_1_1_19; +extern const char *httpGetCookie(http_t *http) _CUPS_API_1_1_19; +extern void httpSetCookie(http_t *http, const char *cookie) _CUPS_API_1_1_19; +extern int httpWait(http_t *http, int msec) _CUPS_API_1_1_19; + +/**** New in CUPS 1.1.21 ****/ +extern char *httpDecode64_2(char *out, int *outlen, const char *in) _CUPS_API_1_1_21; +extern char *httpEncode64_2(char *out, int outlen, const char *in, int inlen) _CUPS_API_1_1_21; +extern void httpSeparate2(const char *uri, char *method, int methodlen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) _CUPS_DEPRECATED_1_2_MSG("Use httpSeparateURI instead."); + +/**** New in CUPS 1.2/macOS 10.5 ****/ +extern int httpAddrAny(const http_addr_t *addr) _CUPS_API_1_2; +extern http_addrlist_t *httpAddrConnect(http_addrlist_t *addrlist, int *sock) _CUPS_API_1_2; +extern int httpAddrEqual(const http_addr_t *addr1, const http_addr_t *addr2) _CUPS_API_1_2; +extern void httpAddrFreeList(http_addrlist_t *addrlist) _CUPS_API_1_2; +extern http_addrlist_t *httpAddrGetList(const char *hostname, int family, const char *service) _CUPS_API_1_2; +extern int httpAddrLength(const http_addr_t *addr) _CUPS_API_1_2; +extern int httpAddrLocalhost(const http_addr_t *addr) _CUPS_API_1_2; +extern char *httpAddrLookup(const http_addr_t *addr, char *name, int namelen) _CUPS_API_1_2; +extern char *httpAddrString(const http_addr_t *addr, char *s, int slen) _CUPS_API_1_2; +extern http_uri_status_t httpAssembleURI(http_uri_coding_t encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resource) _CUPS_API_1_2; +extern http_uri_status_t httpAssembleURIf(http_uri_coding_t encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resourcef, ...) _CUPS_FORMAT(8, 9) _CUPS_API_1_2; +extern int httpFlushWrite(http_t *http) _CUPS_API_1_2; +extern int httpGetBlocking(http_t *http) _CUPS_API_1_2; +extern const char *httpGetDateString2(time_t t, char *s, int slen) _CUPS_API_1_2; +extern int httpGetFd(http_t *http) _CUPS_API_1_2; +extern const char *httpGetHostname(http_t *http, char *s, int slen) _CUPS_API_1_2; +extern off_t httpGetLength2(http_t *http) _CUPS_API_1_2; +extern http_status_t httpGetStatus(http_t *http) _CUPS_API_1_2; +extern char *httpGetSubField2(http_t *http, http_field_t field, const char *name, char *value, int valuelen) _CUPS_API_1_2; +extern ssize_t httpRead2(http_t *http, char *buffer, size_t length) _CUPS_API_1_2; +extern http_uri_status_t httpSeparateURI(http_uri_coding_t decoding, const char *uri, char *scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) _CUPS_API_1_2; +extern void httpSetExpect(http_t *http, http_status_t expect) _CUPS_API_1_2; +extern void httpSetLength(http_t *http, size_t length) _CUPS_API_1_2; +extern ssize_t httpWrite2(http_t *http, const char *buffer, size_t length) _CUPS_API_1_2; + +/**** New in CUPS 1.3/macOS 10.5 ****/ +extern char *httpGetAuthString(http_t *http) _CUPS_API_1_3; +extern void httpSetAuthString(http_t *http, const char *scheme, const char *data) _CUPS_API_1_3; + +/**** New in CUPS 1.5/macOS 10.7 ****/ +extern int httpAddCredential(cups_array_t *credentials, const void *data, size_t datalen) _CUPS_API_1_5; +extern int httpCopyCredentials(http_t *http, cups_array_t **credentials) _CUPS_API_1_5; +extern void httpFreeCredentials(cups_array_t *certs) _CUPS_API_1_5; +extern int httpSetCredentials(http_t *http, cups_array_t *certs) _CUPS_API_1_5; +extern void httpSetTimeout(http_t *http, double timeout, http_timeout_cb_t cb, void *user_data) _CUPS_API_1_5; + +/**** New in CUPS 1.6/macOS 10.8 ****/ +extern http_addrlist_t *httpAddrConnect2(http_addrlist_t *addrlist, int *sock, int msec, int *cancel) _CUPS_API_1_6; +extern http_state_t httpGetState(http_t *http) _CUPS_API_1_6; +extern http_version_t httpGetVersion(http_t *http) _CUPS_API_1_6; +extern int httpReconnect2(http_t *http, int msec, int *cancel) _CUPS_API_1_6; + + +/**** New in CUPS 1.7/macOS 10.9 ****/ +extern http_t *httpAcceptConnection(int fd, int blocking) _CUPS_API_1_7; +extern http_addrlist_t *httpAddrCopyList(http_addrlist_t *src) _CUPS_API_1_7; +extern int httpAddrListen(http_addr_t *addr, int port) _CUPS_API_1_7; +extern int httpAddrPort(http_addr_t *addr) _CUPS_API_1_7; +extern char *httpAssembleUUID(const char *server, int port, const char *name, int number, char *buffer, size_t bufsize) _CUPS_API_1_7; +extern http_t *httpConnect2(const char *host, int port, http_addrlist_t *addrlist, int family, http_encryption_t encryption, int blocking, int msec, int *cancel) _CUPS_API_1_7; +extern const char *httpGetContentEncoding(http_t *http) _CUPS_API_1_7; +extern http_status_t httpGetExpect(http_t *http) _CUPS_API_1_7; +extern ssize_t httpPeek(http_t *http, char *buffer, size_t length) _CUPS_API_1_7; +extern http_state_t httpReadRequest(http_t *http, char *resource, size_t resourcelen) _CUPS_API_1_7; +extern void httpSetDefaultField(http_t *http, http_field_t field, const char *value) _CUPS_API_1_7; +extern http_state_t httpWriteResponse(http_t *http, http_status_t status) _CUPS_API_1_7; + +/* New in CUPS 2.0/macOS 10.10 */ +extern int httpAddrClose(http_addr_t *addr, int fd) _CUPS_API_2_0; +extern int httpAddrFamily(http_addr_t *addr) _CUPS_API_2_0; +extern int httpCompareCredentials(cups_array_t *cred1, cups_array_t *cred2) _CUPS_API_2_0; +extern int httpCredentialsAreValidForName(cups_array_t *credentials, const char *common_name); +extern time_t httpCredentialsGetExpiration(cups_array_t *credentials) _CUPS_API_2_0; +extern http_trust_t httpCredentialsGetTrust(cups_array_t *credentials, const char *common_name) _CUPS_API_2_0; +extern size_t httpCredentialsString(cups_array_t *credentials, char *buffer, size_t bufsize) _CUPS_API_2_0; +extern http_field_t httpFieldValue(const char *name) _CUPS_API_2_0; +extern time_t httpGetActivity(http_t *http) _CUPS_API_2_0; +extern http_addr_t *httpGetAddress(http_t *http) _CUPS_API_2_0; +extern http_encryption_t httpGetEncryption(http_t *http) _CUPS_API_2_0; +extern http_keepalive_t httpGetKeepAlive(http_t *http) _CUPS_API_2_0; +extern size_t httpGetPending(http_t *http) _CUPS_API_2_0; +extern size_t httpGetReady(http_t *http) _CUPS_API_2_0; +extern size_t httpGetRemaining(http_t *http) _CUPS_API_2_0; +extern int httpIsChunked(http_t *http) _CUPS_API_2_0; +extern int httpIsEncrypted(http_t *http) _CUPS_API_2_0; +extern int httpLoadCredentials(const char *path, cups_array_t **credentials, const char *common_name) _CUPS_API_2_0; +extern const char *httpResolveHostname(http_t *http, char *buffer, size_t bufsize) _CUPS_API_2_0; +extern int httpSaveCredentials(const char *path, cups_array_t *credentials, const char *common_name) _CUPS_API_2_0; +extern void httpSetKeepAlive(http_t *http, http_keepalive_t keep_alive) _CUPS_API_2_0; +extern void httpShutdown(http_t *http) _CUPS_API_2_0; +extern const char *httpStateString(http_state_t state) _CUPS_API_2_0; +extern const char *httpURIStatusString(http_uri_status_t status) _CUPS_API_2_0; + +/* + * C++ magic... + */ + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_HTTP_H_ */ diff --git a/cups/ipp-file.c b/cups/ipp-file.c new file mode 100644 index 0000000..5db5932 --- /dev/null +++ b/cups/ipp-file.c @@ -0,0 +1,846 @@ +/* + * IPP data file parsing functions. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "ipp-private.h" +#include "string-private.h" +#include "debug-internal.h" + + +/* + * Local functions... + */ + +static ipp_t *parse_collection(_ipp_file_t *f, _ipp_vars_t *v, void *user_data); +static int parse_value(_ipp_file_t *f, _ipp_vars_t *v, void *user_data, ipp_t *ipp, ipp_attribute_t **attr, int element); +static void report_error(_ipp_file_t *f, _ipp_vars_t *v, void *user_data, const char *message, ...) _CUPS_FORMAT(4, 5); + + +/* + * '_ippFileParse()' - Parse an IPP data file. + */ + +ipp_t * /* O - IPP attributes or @code NULL@ on failure */ +_ippFileParse( + _ipp_vars_t *v, /* I - Variables */ + const char *filename, /* I - Name of file to parse */ + void *user_data) /* I - User data pointer */ +{ + _ipp_file_t f; /* IPP data file information */ + ipp_t *attrs = NULL; /* Active IPP message */ + ipp_attribute_t *attr = NULL; /* Current attribute */ + char token[1024]; /* Token string */ + ipp_t *ignored = NULL; /* Ignored attributes */ + + + DEBUG_printf(("_ippFileParse(v=%p, filename=\"%s\", user_data=%p)", (void *)v, filename, user_data)); + + /* + * Initialize file info... + */ + + memset(&f, 0, sizeof(f)); + f.filename = filename; + f.linenum = 1; + + if ((f.fp = cupsFileOpen(filename, "r")) == NULL) + { + DEBUG_printf(("1_ippFileParse: Unable to open \"%s\": %s", filename, strerror(errno))); + return (0); + } + + /* + * Do the callback with a NULL token to setup any initial state... + */ + + (*v->tokencb)(&f, v, user_data, NULL); + + /* + * Read data file, using the callback function as needed... + */ + + while (_ippFileReadToken(&f, token, sizeof(token))) + { + if (!_cups_strcasecmp(token, "DEFINE") || !_cups_strcasecmp(token, "DEFINE-DEFAULT")) + { + char name[128], /* Variable name */ + value[1024], /* Variable value */ + temp[1024]; /* Temporary string */ + + attr = NULL; + + if (_ippFileReadToken(&f, name, sizeof(name)) && _ippFileReadToken(&f, temp, sizeof(temp))) + { + if (_cups_strcasecmp(token, "DEFINE-DEFAULT") || !_ippVarsGet(v, name)) + { + _ippVarsExpand(v, value, temp, sizeof(value)); + _ippVarsSet(v, name, value); + } + } + else + { + report_error(&f, v, user_data, "Missing %s name and/or value on line %d of \"%s\".", token, f.linenum, f.filename); + break; + } + } + else if (f.attrs && !_cups_strcasecmp(token, "ATTR")) + { + /* + * Attribute definition... + */ + + char syntax[128], /* Attribute syntax (value tag) */ + name[128]; /* Attribute name */ + ipp_tag_t value_tag; /* Value tag */ + + attr = NULL; + + if (!_ippFileReadToken(&f, syntax, sizeof(syntax))) + { + report_error(&f, v, user_data, "Missing ATTR syntax on line %d of \"%s\".", f.linenum, f.filename); + break; + } + else if ((value_tag = ippTagValue(syntax)) < IPP_TAG_UNSUPPORTED_VALUE) + { + report_error(&f, v, user_data, "Bad ATTR syntax \"%s\" on line %d of \"%s\".", syntax, f.linenum, f.filename); + break; + } + + if (!_ippFileReadToken(&f, name, sizeof(name)) || !name[0]) + { + report_error(&f, v, user_data, "Missing ATTR name on line %d of \"%s\".", f.linenum, f.filename); + break; + } + + if (!v->attrcb || (*v->attrcb)(&f, user_data, name)) + { + /* + * Add this attribute... + */ + + attrs = f.attrs; + } + else + { + /* + * Ignore this attribute... + */ + + if (!ignored) + ignored = ippNew(); + + attrs = ignored; + } + + if (value_tag < IPP_TAG_INTEGER) + { + /* + * Add out-of-band attribute - no value string needed... + */ + + ippAddOutOfBand(attrs, f.group_tag, value_tag, name); + } + else + { + /* + * Add attribute with one or more values... + */ + + attr = ippAddString(attrs, f.group_tag, value_tag, name, NULL, NULL); + + if (!parse_value(&f, v, user_data, attrs, &attr, 0)) + break; + } + + } + else if (attr && !_cups_strcasecmp(token, ",")) + { + /* + * Additional value... + */ + + if (!parse_value(&f, v, user_data, attrs, &attr, ippGetCount(attr))) + break; + } + else + { + /* + * Something else... + */ + + attr = NULL; + attrs = NULL; + + if (!(*v->tokencb)(&f, v, user_data, token)) + break; + } + } + + /* + * Close the file and free ignored attributes, then return any attributes we + * kept... + */ + + cupsFileClose(f.fp); + ippDelete(ignored); + + return (f.attrs); +} + + +/* + * '_ippFileReadToken()' - Read a token from an IPP data file. + */ + +int /* O - 1 on success, 0 on failure */ +_ippFileReadToken(_ipp_file_t *f, /* I - File to read from */ + char *token, /* I - Token string buffer */ + size_t tokensize)/* I - Size of token string buffer */ +{ + int ch, /* Character from file */ + quote = 0; /* Quoting character */ + char *tokptr = token, /* Pointer into token buffer */ + *tokend = token + tokensize - 1;/* End of token buffer */ + + + /* + * Skip whitespace and comments... + */ + + DEBUG_printf(("1_ippFileReadToken: linenum=%d, pos=%ld", f->linenum, (long)cupsFileTell(f->fp))); + + while ((ch = cupsFileGetChar(f->fp)) != EOF) + { + if (_cups_isspace(ch)) + { + /* + * Whitespace... + */ + + if (ch == '\n') + { + f->linenum ++; + DEBUG_printf(("1_ippFileReadToken: LF in leading whitespace, linenum=%d, pos=%ld", f->linenum, (long)cupsFileTell(f->fp))); + } + } + else if (ch == '#') + { + /* + * Comment... + */ + + DEBUG_puts("1_ippFileReadToken: Skipping comment in leading whitespace..."); + + while ((ch = cupsFileGetChar(f->fp)) != EOF) + { + if (ch == '\n') + break; + } + + if (ch == '\n') + { + f->linenum ++; + DEBUG_printf(("1_ippFileReadToken: LF at end of comment, linenum=%d, pos=%ld", f->linenum, (long)cupsFileTell(f->fp))); + } + else + break; + } + else + break; + } + + if (ch == EOF) + { + DEBUG_puts("1_ippFileReadToken: EOF"); + return (0); + } + + /* + * Read a token... + */ + + while (ch != EOF) + { + if (ch == '\n') + { + f->linenum ++; + DEBUG_printf(("1_ippFileReadToken: LF in token, linenum=%d, pos=%ld", f->linenum, (long)cupsFileTell(f->fp))); + } + + if (ch == quote) + { + /* + * End of quoted text... + */ + + *tokptr = '\0'; + DEBUG_printf(("1_ippFileReadToken: Returning \"%s\" at closing quote.", token)); + return (1); + } + else if (!quote && _cups_isspace(ch)) + { + /* + * End of unquoted text... + */ + + *tokptr = '\0'; + DEBUG_printf(("1_ippFileReadToken: Returning \"%s\" before whitespace.", token)); + return (1); + } + else if (!quote && (ch == '\'' || ch == '\"')) + { + /* + * Start of quoted text or regular expression... + */ + + if (ch == '<') + quote = '>'; + else + quote = ch; + + DEBUG_printf(("1_ippFileReadToken: Start of quoted string, quote=%c, pos=%ld", quote, (long)cupsFileTell(f->fp))); + } + else if (!quote && ch == '#') + { + /* + * Start of comment... + */ + + cupsFileSeek(f->fp, cupsFileTell(f->fp) - 1); + *tokptr = '\0'; + DEBUG_printf(("1_ippFileReadToken: Returning \"%s\" before comment.", token)); + return (1); + } + else if (!quote && (ch == '{' || ch == '}' || ch == ',')) + { + /* + * Delimiter... + */ + + if (tokptr > token) + { + /* + * Return the preceding token first... + */ + + cupsFileSeek(f->fp, cupsFileTell(f->fp) - 1); + } + else + { + /* + * Return this delimiter by itself... + */ + + *tokptr++ = (char)ch; + } + + *tokptr = '\0'; + DEBUG_printf(("1_ippFileReadToken: Returning \"%s\".", token)); + return (1); + } + else + { + if (ch == '\\') + { + /* + * Quoted character... + */ + + DEBUG_printf(("1_ippFileReadToken: Quoted character at pos=%ld", (long)cupsFileTell(f->fp))); + + if ((ch = cupsFileGetChar(f->fp)) == EOF) + { + *token = '\0'; + DEBUG_puts("1_ippFileReadToken: EOF"); + return (0); + } + else if (ch == '\n') + { + f->linenum ++; + DEBUG_printf(("1_ippFileReadToken: quoted LF, linenum=%d, pos=%ld", f->linenum, (long)cupsFileTell(f->fp))); + } + else if (ch == 'a') + ch = '\a'; + else if (ch == 'b') + ch = '\b'; + else if (ch == 'f') + ch = '\f'; + else if (ch == 'n') + ch = '\n'; + else if (ch == 'r') + ch = '\r'; + else if (ch == 't') + ch = '\t'; + else if (ch == 'v') + ch = '\v'; + } + + if (tokptr < tokend) + { + /* + * Add to current token... + */ + + *tokptr++ = (char)ch; + } + else + { + /* + * Token too long... + */ + + *tokptr = '\0'; + DEBUG_printf(("1_ippFileReadToken: Too long: \"%s\".", token)); + return (0); + } + } + + /* + * Get the next character... + */ + + ch = cupsFileGetChar(f->fp); + } + + *tokptr = '\0'; + DEBUG_printf(("1_ippFileReadToken: Returning \"%s\" at EOF.", token)); + + return (tokptr > token); +} + + +/* + * 'parse_collection()' - Parse an IPP collection value. + */ + +static ipp_t * /* O - Collection value or @code NULL@ on error */ +parse_collection( + _ipp_file_t *f, /* I - IPP data file */ + _ipp_vars_t *v, /* I - IPP variables */ + void *user_data) /* I - User data pointer */ +{ + ipp_t *col = ippNew(); /* Collection value */ + ipp_attribute_t *attr = NULL; /* Current member attribute */ + char token[1024]; /* Token string */ + + + /* + * Parse the collection value... + */ + + while (_ippFileReadToken(f, token, sizeof(token))) + { + if (!_cups_strcasecmp(token, "}")) + { + /* + * End of collection value... + */ + + break; + } + else if (!_cups_strcasecmp(token, "MEMBER")) + { + /* + * Member attribute definition... + */ + + char syntax[128], /* Attribute syntax (value tag) */ + name[128]; /* Attribute name */ + ipp_tag_t value_tag; /* Value tag */ + + attr = NULL; + + if (!_ippFileReadToken(f, syntax, sizeof(syntax))) + { + report_error(f, v, user_data, "Missing MEMBER syntax on line %d of \"%s\".", f->linenum, f->filename); + ippDelete(col); + col = NULL; + break; + } + else if ((value_tag = ippTagValue(syntax)) < IPP_TAG_UNSUPPORTED_VALUE) + { + report_error(f, v, user_data, "Bad MEMBER syntax \"%s\" on line %d of \"%s\".", syntax, f->linenum, f->filename); + ippDelete(col); + col = NULL; + break; + } + + if (!_ippFileReadToken(f, name, sizeof(name)) || !name[0]) + { + report_error(f, v, user_data, "Missing MEMBER name on line %d of \"%s\".", f->linenum, f->filename); + ippDelete(col); + col = NULL; + break; + } + + if (value_tag < IPP_TAG_INTEGER) + { + /* + * Add out-of-band attribute - no value string needed... + */ + + ippAddOutOfBand(col, IPP_TAG_ZERO, value_tag, name); + } + else + { + /* + * Add attribute with one or more values... + */ + + attr = ippAddString(col, IPP_TAG_ZERO, value_tag, name, NULL, NULL); + + if (!parse_value(f, v, user_data, col, &attr, 0)) + { + ippDelete(col); + col = NULL; + break; + } + } + + } + else if (attr && !_cups_strcasecmp(token, ",")) + { + /* + * Additional value... + */ + + if (!parse_value(f, v, user_data, col, &attr, ippGetCount(attr))) + { + ippDelete(col); + col = NULL; + break; + } + } + else + { + /* + * Something else... + */ + + report_error(f, v, user_data, "Unknown directive \"%s\" on line %d of \"%s\".", token, f->linenum, f->filename); + ippDelete(col); + col = NULL; + attr = NULL; + break; + + } + } + + return (col); +} + + +/* + * 'parse_value()' - Parse an IPP value. + */ + +static int /* O - 1 on success or 0 on error */ +parse_value(_ipp_file_t *f, /* I - IPP data file */ + _ipp_vars_t *v, /* I - IPP variables */ + void *user_data,/* I - User data pointer */ + ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + int element) /* I - Element number */ +{ + char value[2049], /* Value string */ + *valueptr, /* Pointer into value string */ + temp[2049], /* Temporary string */ + *tempptr; /* Pointer into temporary string */ + size_t valuelen; /* Length of value */ + + + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + report_error(f, v, user_data, "Missing value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + _ippVarsExpand(v, value, temp, sizeof(value)); + + switch (ippGetValueTag(*attr)) + { + case IPP_TAG_BOOLEAN : + return (ippSetBoolean(ipp, attr, element, !_cups_strcasecmp(value, "true"))); + break; + + case IPP_TAG_ENUM : + case IPP_TAG_INTEGER : + return (ippSetInteger(ipp, attr, element, (int)strtol(value, NULL, 0))); + break; + + case IPP_TAG_DATE : + { + int year, /* Year */ + month, /* Month */ + day, /* Day of month */ + hour, /* Hour */ + minute, /* Minute */ + second, /* Second */ + utc_offset = 0; /* Timezone offset from UTC */ + ipp_uchar_t date[11]; /* dateTime value */ + + if (*value == 'P') + { + /* + * Time period... + */ + + time_t curtime; /* Current time in seconds */ + int period = 0, /* Current period value */ + saw_T = 0; /* Saw time separator */ + + curtime = time(NULL); + + for (valueptr = value + 1; *valueptr; valueptr ++) + { + if (isdigit(*valueptr & 255)) + { + period = (int)strtol(valueptr, &valueptr, 10); + + if (!valueptr || period < 0) + { + report_error(f, v, user_data, "Bad dateTime value \"%s\" on line %d of \"%s\".", value, f->linenum, f->filename); + return (0); + } + } + + if (*valueptr == 'Y') + { + curtime += 365 * 86400 * period; + period = 0; + } + else if (*valueptr == 'M') + { + if (saw_T) + curtime += 60 * period; + else + curtime += 30 * 86400 * period; + + period = 0; + } + else if (*valueptr == 'D') + { + curtime += 86400 * period; + period = 0; + } + else if (*valueptr == 'H') + { + curtime += 3600 * period; + period = 0; + } + else if (*valueptr == 'S') + { + curtime += period; + period = 0; + } + else if (*valueptr == 'T') + { + saw_T = 1; + period = 0; + } + else + { + report_error(f, v, user_data, "Bad dateTime value \"%s\" on line %d of \"%s\".", value, f->linenum, f->filename); + return (0); + } + } + + return (ippSetDate(ipp, attr, element, ippTimeToDate(curtime))); + } + else if (sscanf(value, "%d-%d-%dT%d:%d:%d%d", &year, &month, &day, &hour, &minute, &second, &utc_offset) < 6) + { + /* + * Date/time value did not parse... + */ + + report_error(f, v, user_data, "Bad dateTime value \"%s\" on line %d of \"%s\".", value, f->linenum, f->filename); + return (0); + } + + date[0] = (ipp_uchar_t)(year >> 8); + date[1] = (ipp_uchar_t)(year & 255); + date[2] = (ipp_uchar_t)month; + date[3] = (ipp_uchar_t)day; + date[4] = (ipp_uchar_t)hour; + date[5] = (ipp_uchar_t)minute; + date[6] = (ipp_uchar_t)second; + date[7] = 0; + if (utc_offset < 0) + { + utc_offset = -utc_offset; + date[8] = (ipp_uchar_t)'-'; + } + else + { + date[8] = (ipp_uchar_t)'+'; + } + + date[9] = (ipp_uchar_t)(utc_offset / 100); + date[10] = (ipp_uchar_t)(utc_offset % 100); + + return (ippSetDate(ipp, attr, element, date)); + } + break; + + case IPP_TAG_RESOLUTION : + { + int xres, /* X resolution */ + yres; /* Y resolution */ + char *ptr; /* Pointer into value */ + + xres = yres = (int)strtol(value, (char **)&ptr, 10); + if (ptr > value && xres > 0) + { + if (*ptr == 'x') + yres = (int)strtol(ptr + 1, (char **)&ptr, 10); + } + + if (ptr <= value || xres <= 0 || yres <= 0 || !ptr || (_cups_strcasecmp(ptr, "dpi") && _cups_strcasecmp(ptr, "dpc") && _cups_strcasecmp(ptr, "dpcm") && _cups_strcasecmp(ptr, "other"))) + { + report_error(f, v, user_data, "Bad resolution value \"%s\" on line %d of \"%s\".", value, f->linenum, f->filename); + return (0); + } + + if (!_cups_strcasecmp(ptr, "dpi")) + return (ippSetResolution(ipp, attr, element, IPP_RES_PER_INCH, xres, yres)); + else if (!_cups_strcasecmp(ptr, "dpc") || !_cups_strcasecmp(ptr, "dpcm")) + return (ippSetResolution(ipp, attr, element, IPP_RES_PER_CM, xres, yres)); + else + return (ippSetResolution(ipp, attr, element, (ipp_res_t)0, xres, yres)); + } + break; + + case IPP_TAG_RANGE : + { + int lower, /* Lower value */ + upper; /* Upper value */ + + if (sscanf(value, "%d-%d", &lower, &upper) != 2) + { + report_error(f, v, user_data, "Bad rangeOfInteger value \"%s\" on line %d of \"%s\".", value, f->linenum, f->filename); + return (0); + } + + return (ippSetRange(ipp, attr, element, lower, upper)); + } + break; + + case IPP_TAG_STRING : + valuelen = strlen(value); + + if (value[0] == '<' && value[strlen(value) - 1] == '>') + { + if (valuelen & 1) + { + report_error(f, v, user_data, "Bad octetString value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + valueptr = value + 1; + tempptr = temp; + + while (*valueptr && *valueptr != '>') + { + if (!isxdigit(valueptr[0] & 255) || !isxdigit(valueptr[1] & 255)) + { + report_error(f, v, user_data, "Bad octetString value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if (valueptr[0] >= '0' && valueptr[0] <= '9') + *tempptr = (char)((valueptr[0] - '0') << 4); + else + *tempptr = (char)((tolower(valueptr[0]) - 'a' + 10) << 4); + + if (valueptr[1] >= '0' && valueptr[1] <= '9') + *tempptr |= (valueptr[1] - '0'); + else + *tempptr |= (tolower(valueptr[1]) - 'a' + 10); + + tempptr ++; + } + + return (ippSetOctetString(ipp, attr, element, temp, (int)(tempptr - temp))); + } + else + return (ippSetOctetString(ipp, attr, element, value, (int)valuelen)); + break; + + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + return (ippSetString(ipp, attr, element, value)); + break; + + case IPP_TAG_BEGIN_COLLECTION : + { + int status; /* Add status */ + ipp_t *col; /* Collection value */ + + if (strcmp(value, "{")) + { + report_error(f, v, user_data, "Bad collection value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if ((col = parse_collection(f, v, user_data)) == NULL) + return (0); + + status = ippSetCollection(ipp, attr, element, col); + ippDelete(col); + + return (status); + } + break; + + default : + report_error(f, v, user_data, "Unsupported value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + return (1); +} + + +/* + * 'report_error()' - Report an error. + */ + +static void +report_error( + _ipp_file_t *f, /* I - IPP data file */ + _ipp_vars_t *v, /* I - Error callback function, if any */ + void *user_data, /* I - User data pointer */ + const char *message, /* I - Printf-style message */ + ...) /* I - Additional arguments as needed */ +{ + char buffer[8192]; /* Formatted string */ + va_list ap; /* Argument pointer */ + + + va_start(ap, message); + vsnprintf(buffer, sizeof(buffer), message, ap); + va_end(ap); + + if (v->errorcb) + (*v->errorcb)(f, user_data, buffer); + else + fprintf(stderr, "%s\n", buffer); +} diff --git a/cups/ipp-private.h b/cups/ipp-private.h new file mode 100644 index 0000000..fa5e435 --- /dev/null +++ b/cups/ipp-private.h @@ -0,0 +1,219 @@ +/* + * Private IPP definitions for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_IPP_PRIVATE_H_ +# define _CUPS_IPP_PRIVATE_H_ + +/* + * Include necessary headers... + */ + +# include + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Constants... + */ + +# define IPP_BUF_SIZE (IPP_MAX_LENGTH + 2) + /* Size of buffer */ + + +/* + * Structures... + */ + +typedef union _ipp_request_u /**** Request Header ****/ +{ + struct /* Any Header */ + { + ipp_uchar_t version[2]; /* Protocol version number */ + int op_status; /* Operation ID or status code*/ + int request_id; /* Request ID */ + } any; + + struct /* Operation Header */ + { + ipp_uchar_t version[2]; /* Protocol version number */ + ipp_op_t operation_id; /* Operation ID */ + int request_id; /* Request ID */ + } op; + + struct /* Status Header */ + { + ipp_uchar_t version[2]; /* Protocol version number */ + ipp_status_t status_code; /* Status code */ + int request_id; /* Request ID */ + } status; + + /**** New in CUPS 1.1.19 ****/ + struct /* Event Header @since CUPS 1.1.19/macOS 10.3@ */ + { + ipp_uchar_t version[2]; /* Protocol version number */ + ipp_status_t status_code; /* Status code */ + int request_id; /* Request ID */ + } event; +} _ipp_request_t; + +typedef union _ipp_value_u /**** Attribute Value ****/ +{ + int integer; /* Integer/enumerated value */ + + char boolean; /* Boolean value */ + + ipp_uchar_t date[11]; /* Date/time value */ + + struct + { + int xres, /* Horizontal resolution */ + yres; /* Vertical resolution */ + ipp_res_t units; /* Resolution units */ + } resolution; /* Resolution value */ + + struct + { + int lower, /* Lower value */ + upper; /* Upper value */ + } range; /* Range of integers value */ + + struct + { + char *language; /* Language code */ + char *text; /* String */ + } string; /* String with language value */ + + struct + { + int length; /* Length of attribute */ + void *data; /* Data in attribute */ + } unknown; /* Unknown attribute type */ + +/**** New in CUPS 1.1.19 ****/ + ipp_t *collection; /* Collection value @since CUPS 1.1.19/macOS 10.3@ */ +} _ipp_value_t; + +struct _ipp_attribute_s /**** IPP attribute ****/ +{ + ipp_attribute_t *next; /* Next attribute in list */ + ipp_tag_t group_tag, /* Job/Printer/Operation group tag */ + value_tag; /* What type of value is it? */ + char *name; /* Name of attribute */ + int num_values; /* Number of values */ + _ipp_value_t values[1]; /* Values */ +}; + +struct _ipp_s /**** IPP Request/Response/Notification ****/ +{ + ipp_state_t state; /* State of request */ + _ipp_request_t request; /* Request header */ + ipp_attribute_t *attrs; /* Attributes */ + ipp_attribute_t *last; /* Last attribute in list */ + ipp_attribute_t *current; /* Current attribute (for read/write) */ + ipp_tag_t curtag; /* Current attribute group tag */ + +/**** New in CUPS 1.2 ****/ + ipp_attribute_t *prev; /* Previous attribute (for read) @since CUPS 1.2/macOS 10.5@ */ + +/**** New in CUPS 1.4.4 ****/ + int use; /* Use count @since CUPS 1.4.4/macOS 10.6.?@ */ +/**** New in CUPS 2.0 ****/ + int atend, /* At end of list? */ + curindex; /* Current attribute index for hierarchical search */ +}; + +typedef struct _ipp_option_s /**** Attribute mapping data ****/ +{ + int multivalue; /* Option has multiple values? */ + const char *name; /* Option/attribute name */ + ipp_tag_t value_tag; /* Value tag for this attribute */ + ipp_tag_t group_tag; /* Group tag for this attribute */ + ipp_tag_t alt_group_tag; /* Alternate group tag for this + * attribute */ + const ipp_op_t *operations; /* Allowed operations for this attr */ +} _ipp_option_t; + +typedef struct _ipp_file_s _ipp_file_t;/**** File Parser ****/ +typedef struct _ipp_vars_s _ipp_vars_t;/**** Variables ****/ + +typedef int (*_ipp_fattr_cb_t)(_ipp_file_t *f, void *user_data, const char *attr); + /**** File Attribute (Filter) Callback ****/ +typedef int (*_ipp_ferror_cb_t)(_ipp_file_t *f, void *user_data, const char *error); + /**** File Parser Error Callback ****/ +typedef int (*_ipp_ftoken_cb_t)(_ipp_file_t *f, _ipp_vars_t *v, void *user_data, const char *token); + /**** File Parser Token Callback ****/ + +struct _ipp_vars_s /**** Variables ****/ +{ + char *uri, /* URI for printer */ + scheme[64], /* Scheme from URI */ + username[256], /* Username from URI */ + *password, /* Password from URI (if any) */ + host[256], /* Hostname from URI */ + portstr[32], /* Port number string */ + resource[1024]; /* Resource path from URI */ + int port; /* Port number from URI */ + int num_vars; /* Number of variables */ + cups_option_t *vars; /* Array of variables */ + int password_tries; /* Number of retries for password */ + _ipp_fattr_cb_t attrcb; /* Attribute (filter) callback */ + _ipp_ferror_cb_t errorcb; /* Error callback */ + _ipp_ftoken_cb_t tokencb; /* Token callback */ +}; + +struct _ipp_file_s /**** File Parser */ +{ + const char *filename; /* Filename */ + cups_file_t *fp; /* File pointer */ + int linenum; /* Current line number */ + ipp_t *attrs; /* Attributes */ + ipp_tag_t group_tag; /* Current group for new attributes */ +}; + + +/* + * Prototypes for private functions... + */ + +/* encode.c */ +#ifdef DEBUG +extern const char *_ippCheckOptions(void) _CUPS_PRIVATE; +#endif /* DEBUG */ +extern _ipp_option_t *_ippFindOption(const char *name) _CUPS_PRIVATE; + +/* ipp-file.c */ +extern ipp_t *_ippFileParse(_ipp_vars_t *v, const char *filename, void *user_data) _CUPS_PRIVATE; +extern int _ippFileReadToken(_ipp_file_t *f, char *token, size_t tokensize) _CUPS_PRIVATE; + +/* ipp-vars.c */ +extern void _ippVarsDeinit(_ipp_vars_t *v) _CUPS_PRIVATE; +extern void _ippVarsExpand(_ipp_vars_t *v, char *dst, const char *src, size_t dstsize) _CUPS_NONNULL(1,2,3) _CUPS_PRIVATE; +extern const char *_ippVarsGet(_ipp_vars_t *v, const char *name) _CUPS_PRIVATE; +extern void _ippVarsInit(_ipp_vars_t *v, _ipp_fattr_cb_t attrcb, _ipp_ferror_cb_t errorcb, _ipp_ftoken_cb_t tokencb) _CUPS_PRIVATE; +extern const char *_ippVarsPasswordCB(const char *prompt, http_t *http, const char *method, const char *resource, void *user_data) _CUPS_PRIVATE; +extern int _ippVarsSet(_ipp_vars_t *v, const char *name, const char *value) _CUPS_PRIVATE; + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_IPP_H_ */ diff --git a/cups/ipp-support.c b/cups/ipp-support.c new file mode 100644 index 0000000..bfb9dff --- /dev/null +++ b/cups/ipp-support.c @@ -0,0 +1,2569 @@ +/* + * Internet Printing Protocol support functions for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" + + +/* + * Local globals... + */ + +static const char * const ipp_states[] = + { + "IPP_STATE_ERROR", + "IPP_STATE_IDLE", + "IPP_STATE_HEADER", + "IPP_STATE_ATTRIBUTE", + "IPP_STATE_DATA" + }; +static const char * const ipp_status_oks[] = /* "OK" status codes */ + { /* (name) = abandoned standard value */ + "successful-ok", + "successful-ok-ignored-or-substituted-attributes", + "successful-ok-conflicting-attributes", + "successful-ok-ignored-subscriptions", + "(successful-ok-ignored-notifications)", + "successful-ok-too-many-events", + "(successful-ok-but-cancel-subscription)", + "successful-ok-events-complete" + }, + * const ipp_status_400s[] = /* Client errors */ + { /* (name) = abandoned standard value */ + "client-error-bad-request", + "client-error-forbidden", + "client-error-not-authenticated", + "client-error-not-authorized", + "client-error-not-possible", + "client-error-timeout", + "client-error-not-found", + "client-error-gone", + "client-error-request-entity-too-large", + "client-error-request-value-too-long", + "client-error-document-format-not-supported", + "client-error-attributes-or-values-not-supported", + "client-error-uri-scheme-not-supported", + "client-error-charset-not-supported", + "client-error-conflicting-attributes", + "client-error-compression-not-supported", + "client-error-compression-error", + "client-error-document-format-error", + "client-error-document-access-error", + "client-error-attributes-not-settable", + "client-error-ignored-all-subscriptions", + "client-error-too-many-subscriptions", + "(client-error-ignored-all-notifications)", + "(client-error-client-print-support-file-not-found)", + "client-error-document-password-error", + "client-error-document-permission-error", + "client-error-document-security-error", + "client-error-document-unprintable-error", + "client-error-account-info-needed", + "client-error-account-closed", + "client-error-account-limit-reached", + "client-error-account-authorization-failed", + "client-error-not-fetchable" + }, + * const ipp_status_480s[] = /* Vendor client errors */ + { + /* 0x0480 - 0x048F */ + "0x0480", + "0x0481", + "0x0482", + "0x0483", + "0x0484", + "0x0485", + "0x0486", + "0x0487", + "0x0488", + "0x0489", + "0x048A", + "0x048B", + "0x048C", + "0x048D", + "0x048E", + "0x048F", + /* 0x0490 - 0x049F */ + "0x0490", + "0x0491", + "0x0492", + "0x0493", + "0x0494", + "0x0495", + "0x0496", + "0x0497", + "0x0498", + "0x0499", + "0x049A", + "0x049B", + "cups-error-account-info-needed", + "cups-error-account-closed", + "cups-error-account-limit-reached", + "cups-error-account-authorization-failed" + }, + * const ipp_status_500s[] = /* Server errors */ + { + "server-error-internal-error", + "server-error-operation-not-supported", + "server-error-service-unavailable", + "server-error-version-not-supported", + "server-error-device-error", + "server-error-temporary-error", + "server-error-not-accepting-jobs", + "server-error-busy", + "server-error-job-canceled", + "server-error-multiple-document-jobs-not-supported", + "server-error-printer-is-deactivated", + "server-error-too-many-jobs", + "server-error-too-many-documents" + }, + * const ipp_status_1000s[] = /* CUPS internal */ + { + "cups-authentication-canceled", + "cups-pki-error", + "cups-upgrade-required" + }; +static const char * const ipp_std_ops[] = + { + /* 0x0000 - 0x000f */ + "0x0000", + "0x0001", + "Print-Job", /* RFC 8011 */ + "Print-URI", /* RFC 8011 */ + "Validate-Job", /* RFC 8011 */ + "Create-Job", /* RFC 8011 */ + "Send-Document", /* RFC 8011 */ + "Send-URI", /* RFC 8011 */ + "Cancel-Job", /* RFC 8011 */ + "Get-Job-Attributes", /* RFC 8011 */ + "Get-Jobs", /* RFC 8011 */ + "Get-Printer-Attributes", /* RFC 8011 */ + "Hold-Job", /* RFC 8011 */ + "Release-Job", /* RFC 8011 */ + "Restart-Job", /* RFC 8011 */ + "0x000f", + + /* 0x0010 - 0x001f */ + "Pause-Printer", /* RFC 8011 */ + "Resume-Printer", /* RFC 8011 */ + "Purge-Jobs", /* RFC 8011 */ + "Set-Printer-Attributes", /* RFC 3380 */ + "Set-Job-Attributes", /* RFC 3380 */ + "Get-Printer-Supported-Values", /* RFC 3380 */ + "Create-Printer-Subscriptions", /* RFC 3995 */ + "Create-Job-Subscriptions", /* RFC 3995 */ + "Get-Subscription-Attributes", /* RFC 3995 */ + "Get-Subscriptions", /* RFC 3995 */ + "Renew-Subscription", /* RFC 3995 */ + "Cancel-Subscription", /* RFC 3995 */ + "Get-Notifications", /* RFC 3996 */ + "(Send-Notifications)", + "Get-Resource-Attributes", /* IPP System */ + "(Get-Resource-Data)", + + /* 0x0020 - 0x002f */ + "Get-Resources", /* IPP System */ + "(Get-Printer-Support-Files)", + "Enable-Printer", /* RFC 3998 */ + "Disable-Printer", /* RFC 3998 */ + "Pause-Printer-After-Current-Job", /* RFC 3998 */ + "Hold-New-Jobs", /* RFC 3998 */ + "Release-Held-New-Jobs", /* RFC 3998 */ + "Deactivate-Printer", /* RFC 3998 */ + "Activate-Printer", /* RFC 3998 */ + "Restart-Printer", /* RFC 3998 */ + "Shutdown-Printer", /* RFC 3998 */ + "Startup-Printer", /* RFC 3998 */ + "Reprocess-Job", /* RFC 3998 */ + "Cancel-Current-Job", /* RFC 3998 */ + "Suspend-Current-Job", /* RFC 3998 */ + "Resume-Job", /* RFC 3998 */ + + /* 0x0030 - 0x003f */ + "Promote-Job", /* RFC 3998 */ + "Schedule-Job-After", /* RFC 3998 */ + "0x0032", + "Cancel-Document", /* IPP DocObject */ + "Get-Document-Attributes", /* IPP DocObject */ + "Get-Documents", /* IPP DocObject */ + "Delete-Document", /* IPP DocObject */ + "Set-Document-Attributes", /* IPP DocObject */ + "Cancel-Jobs", /* IPP JPS2 */ + "Cancel-My-Jobs", /* IPP JPS2 */ + "Resubmit-Job", /* IPP JPS2 */ + "Close-Job", /* IPP JPS2 */ + "Identify-Printer", /* IPP JPS3 */ + "Validate-Document", /* IPP JPS3 */ + "Add-Document-Images", /* IPP Scan */ + "Acknowledge-Document", /* IPP INFRA */ + + /* 0x0040 - 0x004f */ + "Acknowledge-Identify-Printer", /* IPP INFRA */ + "Acknowledge-Job", /* IPP INFRA */ + "Fetch-Document", /* IPP INFRA */ + "Fetch-Job", /* IPP INFRA */ + "Get-Output-Device-Attributes", /* IPP INFRA */ + "Update-Active-Jobs", /* IPP INFRA */ + "Deregister-Output-Device", /* IPP INFRA */ + "Update-Document-Status", /* IPP INFRA */ + "Update-Job-Status", /* IPP INFRA */ + "Update-Output-Device-Attributes", /* IPP INFRA */ + "Get-Next-Document-Data", /* IPP Scan */ + "Allocate-Printer-Resources", /* IPP System */ + "Create-Printer", /* IPP System */ + "Deallocate-Printer-Resources", /* IPP System */ + "Delete-Printer", /* IPP System */ + "Get-Printers", /* IPP System */ + + /* 0x0050 - 0x005f */ + "Shutdown-One-Printer", /* IPP System */ + "Startup-One-Printer", /* IPP System */ + "Cancel-Resource", /* IPP System */ + "Create-Resource", /* IPP System */ + "Install-Resource", /* IPP System */ + "Send-Resource-Data", /* IPP System */ + "Set-Resource-Attributes", /* IPP System */ + "Create-Resource-Subscriptions", /* IPP System */ + "Create-System-Subscriptions", /* IPP System */ + "Disable-All-Printers", /* IPP System */ + "Enable-All-Printers", /* IPP System */ + "Get-System-Attributes", /* IPP System */ + "Get-System-Supported-Values", /* IPP System */ + "Pause-All-Printers", /* IPP System */ + "Pause-All-Printers-After-Current-Job", /* IPP System */ + "Register-Output-Device", /* IPP System */ + + /* 0x0060 - 0x0064 */ + "Restart-System", /* IPP System */ + "Resume-All-Printers", /* IPP System */ + "Set-System-Attributes", /* IPP System */ + "Shutdown-All-Printers", /* IPP System */ + "Startup-All-Printers" /* IPP System */ + }, + * const ipp_cups_ops[] = + { + "CUPS-Get-Default", + "CUPS-Get-Printers", + "CUPS-Add-Modify-Printer", + "CUPS-Delete-Printer", + "CUPS-Get-Classes", + "CUPS-Add-Modify-Class", + "CUPS-Delete-Class", + "CUPS-Accept-Jobs", + "CUPS-Reject-Jobs", + "CUPS-Set-Default", + "CUPS-Get-Devices", + "CUPS-Get-PPDs", + "CUPS-Move-Job", + "CUPS-Authenticate-Job", + "CUPS-Get-PPD" + }, + * const ipp_cups_ops2[] = + { + "CUPS-Get-Document", + "CUPS-Create-Local-Printer" + }, + * const ipp_tag_names[] = + { /* Value/group tag names */ + "zero", /* 0x00 */ + "operation-attributes-tag", + /* 0x01 */ + "job-attributes-tag", /* 0x02 */ + "end-of-attributes-tag", + /* 0x03 */ + "printer-attributes-tag", + /* 0x04 */ + "unsupported-attributes-tag", + /* 0x05 */ + "subscription-attributes-tag", + /* 0x06 - RFC 3995 */ + "event-notification-attributes-tag", + /* 0x07 - RFC 3995 */ + "resource-attributes-tag", + /* 0x08 - IPP System */ + "document-attributes-tag", + /* 0x09 - IPP DocObject */ + "system-attributes-tag", + /* 0x0a - IPP System */ + "0x0b", /* 0x0b */ + "0x0c", /* 0x0c */ + "0x0d", /* 0x0d */ + "0x0e", /* 0x0e */ + "0x0f", /* 0x0f */ + "unsupported", /* 0x10 */ + "default", /* 0x11 */ + "unknown", /* 0x12 */ + "no-value", /* 0x13 */ + "0x14", /* 0x14 */ + "not-settable", /* 0x15 - RFC 3380 */ + "delete-attribute", /* 0x16 - RFC 3380 */ + "admin-define", /* 0x17 - RFC 3380 */ + "0x18", /* 0x18 */ + "0x19", /* 0x19 */ + "0x1a", /* 0x1a */ + "0x1b", /* 0x1b */ + "0x1c", /* 0x1c */ + "0x1d", /* 0x1d */ + "0x1e", /* 0x1e */ + "0x1f", /* 0x1f */ + "0x20", /* 0x20 */ + "integer", /* 0x21 */ + "boolean", /* 0x22 */ + "enum", /* 0x23 */ + "0x24", /* 0x24 */ + "0x25", /* 0x25 */ + "0x26", /* 0x26 */ + "0x27", /* 0x27 */ + "0x28", /* 0x28 */ + "0x29", /* 0x29 */ + "0x2a", /* 0x2a */ + "0x2b", /* 0x2b */ + "0x2c", /* 0x2c */ + "0x2d", /* 0x2d */ + "0x2e", /* 0x2e */ + "0x2f", /* 0x2f */ + "octetString", /* 0x30 */ + "dateTime", /* 0x31 */ + "resolution", /* 0x32 */ + "rangeOfInteger", /* 0x33 */ + "collection", /* 0x34 */ + "textWithLanguage", /* 0x35 */ + "nameWithLanguage", /* 0x36 */ + "endCollection", /* 0x37 */ + "0x38", /* 0x38 */ + "0x39", /* 0x39 */ + "0x3a", /* 0x3a */ + "0x3b", /* 0x3b */ + "0x3c", /* 0x3c */ + "0x3d", /* 0x3d */ + "0x3e", /* 0x3e */ + "0x3f", /* 0x3f */ + "0x40", /* 0x40 */ + "textWithoutLanguage",/* 0x41 */ + "nameWithoutLanguage",/* 0x42 */ + "0x43", /* 0x43 */ + "keyword", /* 0x44 */ + "uri", /* 0x45 */ + "uriScheme", /* 0x46 */ + "charset", /* 0x47 */ + "naturalLanguage", /* 0x48 */ + "mimeMediaType", /* 0x49 */ + "memberAttrName" /* 0x4a */ + }; +static const char * const ipp_document_states[] = + { /* document-state-enums */ + "pending", + "4", + "processing", + "processing-stopped", /* IPP INFRA */ + "canceled", + "aborted", + "completed" + }, + * const ipp_finishings[] = + { /* finishings enums */ + "none", + "staple", + "punch", + "cover", + "bind", + "saddle-stitch", + "edge-stitch", + "fold", + "trim", + "bale", + "booklet-maker", + "jog-offset", + "coat", /* IPP Finishings 2.0 */ + "laminate", /* IPP Finishings 2.0 */ + "17", + "18", + "19", + "staple-top-left", + "staple-bottom-left", + "staple-top-right", + "staple-bottom-right", + "edge-stitch-left", + "edge-stitch-top", + "edge-stitch-right", + "edge-stitch-bottom", + "staple-dual-left", + "staple-dual-top", + "staple-dual-right", + "staple-dual-bottom", + "staple-triple-left", /* IPP Finishings 2.0 */ + "staple-triple-top", /* IPP Finishings 2.0 */ + "staple-triple-right",/* IPP Finishings 2.0 */ + "staple-triple-bottom",/* IPP Finishings 2.0 */ + "36", + "37", + "38", + "39", + "40", + "41", + "42", + "43", + "44", + "45", + "46", + "47", + "48", + "49", + "bind-left", + "bind-top", + "bind-right", + "bind-bottom", + "54", + "55", + "56", + "57", + "58", + "59", + "trim-after-pages", + "trim-after-documents", + "trim-after-copies", + "trim-after-job", + "64", + "65", + "66", + "67", + "68", + "69", + "punch-top-left", /* IPP Finishings 2.0 */ + "punch-bottom-left", /* IPP Finishings 2.0 */ + "punch-top-right", /* IPP Finishings 2.0 */ + "punch-bottom-right", /* IPP Finishings 2.0 */ + "punch-dual-left", /* IPP Finishings 2.0 */ + "punch-dual-top", /* IPP Finishings 2.0 */ + "punch-dual-right", /* IPP Finishings 2.0 */ + "punch-dual-bottom", /* IPP Finishings 2.0 */ + "punch-triple-left", /* IPP Finishings 2.0 */ + "punch-triple-top", /* IPP Finishings 2.0 */ + "punch-triple-right", /* IPP Finishings 2.0 */ + "punch-triple-bottom",/* IPP Finishings 2.0 */ + "punch-quad-left", /* IPP Finishings 2.0 */ + "punch-quad-top", /* IPP Finishings 2.0 */ + "punch-quad-right", /* IPP Finishings 2.0 */ + "punch-quad-bottom", /* IPP Finishings 2.0 */ + "punch-multiple-left",/* IPP Finishings 2.1/Canon */ + "punch-multiple-top", /* IPP Finishings 2.1/Canon */ + "punch-multiple-right",/* IPP Finishings 2.1/Canon */ + "punch-multiple-bottom",/* IPP Finishings 2.1/Canon */ + "fold-accordion", /* IPP Finishings 2.0 */ + "fold-double-gate", /* IPP Finishings 2.0 */ + "fold-gate", /* IPP Finishings 2.0 */ + "fold-half", /* IPP Finishings 2.0 */ + "fold-half-z", /* IPP Finishings 2.0 */ + "fold-left-gate", /* IPP Finishings 2.0 */ + "fold-letter", /* IPP Finishings 2.0 */ + "fold-parallel", /* IPP Finishings 2.0 */ + "fold-poster", /* IPP Finishings 2.0 */ + "fold-right-gate", /* IPP Finishings 2.0 */ + "fold-z", /* IPP Finishings 2.0 */ + "fold-engineering-z" /* IPP Finishings 2.1 */ + }, + * const ipp_finishings_vendor[] = + { + /* 0x40000000 to 0x4000000F */ + "0x40000000", + "0x40000001", + "0x40000002", + "0x40000003", + "0x40000004", + "0x40000005", + "0x40000006", + "0x40000007", + "0x40000008", + "0x40000009", + "0x4000000A", + "0x4000000B", + "0x4000000C", + "0x4000000D", + "0x4000000E", + "0x4000000F", + /* 0x40000010 to 0x4000001F */ + "0x40000010", + "0x40000011", + "0x40000012", + "0x40000013", + "0x40000014", + "0x40000015", + "0x40000016", + "0x40000017", + "0x40000018", + "0x40000019", + "0x4000001A", + "0x4000001B", + "0x4000001C", + "0x4000001D", + "0x4000001E", + "0x4000001F", + /* 0x40000020 to 0x4000002F */ + "0x40000020", + "0x40000021", + "0x40000022", + "0x40000023", + "0x40000024", + "0x40000025", + "0x40000026", + "0x40000027", + "0x40000028", + "0x40000029", + "0x4000002A", + "0x4000002B", + "0x4000002C", + "0x4000002D", + "0x4000002E", + "0x4000002F", + /* 0x40000030 to 0x4000003F */ + "0x40000030", + "0x40000031", + "0x40000032", + "0x40000033", + "0x40000034", + "0x40000035", + "0x40000036", + "0x40000037", + "0x40000038", + "0x40000039", + "0x4000003A", + "0x4000003B", + "0x4000003C", + "0x4000003D", + "0x4000003E", + "0x4000003F", + /* 0x40000040 - 0x4000004F */ + "0x40000040", + "0x40000041", + "0x40000042", + "0x40000043", + "0x40000044", + "0x40000045", + "cups-punch-top-left", + "cups-punch-bottom-left", + "cups-punch-top-right", + "cups-punch-bottom-right", + "cups-punch-dual-left", + "cups-punch-dual-top", + "cups-punch-dual-right", + "cups-punch-dual-bottom", + "cups-punch-triple-left", + "cups-punch-triple-top", + /* 0x40000050 - 0x4000005F */ + "cups-punch-triple-right", + "cups-punch-triple-bottom", + "cups-punch-quad-left", + "cups-punch-quad-top", + "cups-punch-quad-right", + "cups-punch-quad-bottom", + "0x40000056", + "0x40000057", + "0x40000058", + "0x40000059", + "cups-fold-accordion", + "cups-fold-double-gate", + "cups-fold-gate", + "cups-fold-half", + "cups-fold-half-z", + "cups-fold-left-gate", + /* 0x40000060 - 0x40000064 */ + "cups-fold-letter", + "cups-fold-parallel", + "cups-fold-poster", + "cups-fold-right-gate", + "cups-fold-z" + }, + * const ipp_job_collation_types[] = + { /* job-collation-type enums */ + "uncollated-sheets", + "collated-documents", + "uncollated-documents" + }, + * const ipp_job_states[] = + { /* job-state enums */ + "pending", + "pending-held", + "processing", + "processing-stopped", + "canceled", + "aborted", + "completed" + }, + * const ipp_orientation_requesteds[] = + { /* orientation-requested enums */ + "portrait", + "landscape", + "reverse-landscape", + "reverse-portrait", + "none" + }, + * const ipp_print_qualities[] = + { /* print-quality enums */ + "draft", + "normal", + "high" + }, + * const ipp_printer_states[] = + { /* printer-state enums */ + "idle", + "processing", + "stopped" + }, + * const ipp_resource_states[] = + { /* resource-state enums */ + "pending", + "available", + "installed", + "canceled", + "aborted" + }, + * const ipp_system_states[] = + { /* system-state enums */ + "idle", + "processing", + "stopped" + }; + + +/* + * Local functions... + */ + +static size_t ipp_col_string(ipp_t *col, char *buffer, size_t bufsize); + + +/* + * 'ippAttributeString()' - Convert the attribute's value to a string. + * + * Returns the number of bytes that would be written, not including the + * trailing nul. The buffer pointer can be NULL to get the required length, + * just like (v)snprintf. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +size_t /* O - Number of bytes less nul */ +ippAttributeString( + ipp_attribute_t *attr, /* I - Attribute */ + char *buffer, /* I - String buffer or NULL */ + size_t bufsize) /* I - Size of string buffer */ +{ + int i; /* Looping var */ + char *bufptr, /* Pointer into buffer */ + *bufend, /* End of buffer */ + temp[256]; /* Temporary string */ + const char *ptr, /* Pointer into string */ + *end; /* Pointer to end of string */ + _ipp_value_t *val; /* Current value */ + + + if (!attr || !attr->name) + { + if (buffer) + *buffer = '\0'; + + return (0); + } + + bufptr = buffer; + if (buffer) + bufend = buffer + bufsize - 1; + else + bufend = NULL; + + for (i = attr->num_values, val = attr->values; i > 0; i --, val ++) + { + if (val > attr->values) + { + if (buffer && bufptr < bufend) + *bufptr++ = ','; + else + bufptr ++; + } + + switch (attr->value_tag & ~IPP_TAG_CUPS_CONST) + { + case IPP_TAG_ENUM : + ptr = ippEnumString(attr->name, val->integer); + + if (buffer && bufptr < bufend) + strlcpy(bufptr, ptr, (size_t)(bufend - bufptr + 1)); + + bufptr += strlen(ptr); + break; + + case IPP_TAG_INTEGER : + if (buffer && bufptr < bufend) + bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%d", val->integer); + else + bufptr += snprintf(temp, sizeof(temp), "%d", val->integer); + break; + + case IPP_TAG_BOOLEAN : + if (buffer && bufptr < bufend) + strlcpy(bufptr, val->boolean ? "true" : "false", (size_t)(bufend - bufptr + 1)); + + bufptr += val->boolean ? 4 : 5; + break; + + case IPP_TAG_RANGE : + if (buffer && bufptr < bufend) + bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%d-%d", val->range.lower, val->range.upper); + else + bufptr += snprintf(temp, sizeof(temp), "%d-%d", val->range.lower, val->range.upper); + break; + + case IPP_TAG_RESOLUTION : + if (val->resolution.xres == val->resolution.yres) + { + if (buffer && bufptr < bufend) + bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%d%s", val->resolution.xres, val->resolution.units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + else + bufptr += snprintf(temp, sizeof(temp), "%d%s", val->resolution.xres, val->resolution.units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + } + else if (buffer && bufptr < bufend) + bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%dx%d%s", val->resolution.xres, val->resolution.yres, val->resolution.units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + else + bufptr += snprintf(temp, sizeof(temp), "%dx%d%s", val->resolution.xres, val->resolution.yres, val->resolution.units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + break; + + case IPP_TAG_DATE : + { + unsigned year; /* Year */ + + year = ((unsigned)val->date[0] << 8) + (unsigned)val->date[1]; + + if (val->date[9] == 0 && val->date[10] == 0) + snprintf(temp, sizeof(temp), "%04u-%02u-%02uT%02u:%02u:%02uZ", + year, val->date[2], val->date[3], val->date[4], + val->date[5], val->date[6]); + else + snprintf(temp, sizeof(temp), + "%04u-%02u-%02uT%02u:%02u:%02u%c%02u%02u", + year, val->date[2], val->date[3], val->date[4], + val->date[5], val->date[6], val->date[8], val->date[9], + val->date[10]); + + if (buffer && bufptr < bufend) + strlcpy(bufptr, temp, (size_t)(bufend - bufptr + 1)); + + bufptr += strlen(temp); + } + break; + + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_CHARSET : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_MIMETYPE : + case IPP_TAG_LANGUAGE : + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + if (!val->string.text) + break; + + for (ptr = val->string.text; *ptr; ptr ++) + { + if (*ptr == '\\' || *ptr == '\"' || *ptr == '[') + { + if (buffer && bufptr < bufend) + *bufptr = '\\'; + bufptr ++; + } + + if (buffer && bufptr < bufend) + *bufptr = *ptr; + bufptr ++; + } + + if (val->string.language) + { + /* + * Add "[language]" to end of string... + */ + + if (buffer && bufptr < bufend) + *bufptr = '['; + bufptr ++; + + if (buffer && bufptr < bufend) + strlcpy(bufptr, val->string.language, (size_t)(bufend - bufptr)); + bufptr += strlen(val->string.language); + + if (buffer && bufptr < bufend) + *bufptr = ']'; + bufptr ++; + } + break; + + case IPP_TAG_BEGIN_COLLECTION : + if (buffer && bufptr < bufend) + bufptr += ipp_col_string(val->collection, bufptr, (size_t)(bufend - bufptr + 1)); + else + bufptr += ipp_col_string(val->collection, NULL, 0); + break; + + case IPP_TAG_STRING : + for (ptr = val->unknown.data, end = ptr + val->unknown.length; + ptr < end; ptr ++) + { + if (*ptr == '\\' || _cups_isspace(*ptr)) + { + if (buffer && bufptr < bufend) + *bufptr = '\\'; + bufptr ++; + + if (buffer && bufptr < bufend) + *bufptr = *ptr; + bufptr ++; + } + else if (!isprint(*ptr & 255)) + { + if (buffer && bufptr < bufend) + bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "\\%03o", *ptr & 255); + else + bufptr += snprintf(temp, sizeof(temp), "\\%03o", *ptr & 255); + } + else + { + if (buffer && bufptr < bufend) + *bufptr = *ptr; + bufptr ++; + } + } + break; + + default : + ptr = ippTagString(attr->value_tag); + if (buffer && bufptr < bufend) + strlcpy(bufptr, ptr, (size_t)(bufend - bufptr + 1)); + bufptr += strlen(ptr); + break; + } + } + + if (buffer && bufptr < bufend) + *bufptr = '\0'; + else if (bufend) + *bufend = '\0'; + + return ((size_t)(bufptr - buffer)); +} + + +/* + * 'ippCreateRequestedArray()' - Create a CUPS array of attribute names from the + * given requested-attributes attribute. + * + * This function creates a (sorted) CUPS array of attribute names matching the + * list of "requested-attribute" values supplied in an IPP request. All IANA- + * registered values are supported in addition to the CUPS IPP extension + * attributes. + * + * The @code request@ parameter specifies the request message that was read from + * the client. + * + * @code NULL@ is returned if all attributes should be returned. Otherwise, the + * result is a sorted array of attribute names, where @code cupsArrayFind(array, + * "attribute-name")@ will return a non-NULL pointer. The array must be freed + * using the @code cupsArrayDelete@ function. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +cups_array_t * /* O - CUPS array or @code NULL@ if all */ +ippCreateRequestedArray(ipp_t *request) /* I - IPP request */ +{ + int i, j, /* Looping vars */ + count, /* Number of values */ + added; /* Was name added? */ + ipp_op_t op; /* IPP operation code */ + ipp_attribute_t *requested; /* requested-attributes attribute */ + cups_array_t *ra; /* Requested attributes array */ + const char *value; /* Current value */ + /* The following lists come from the current IANA IPP registry of attributes */ + static const char * const document_description[] = + { /* document-description group */ + "compression", + "copies-actual", + "cover-back-actual", + "cover-front-actual", + "current-page-order", + "date-time-at-completed", + "date-time-at-creation", + "date-time-at-processing", + "detailed-status-messages", + "document-access-errors", + "document-charset", + "document-digital-signature", + "document-format", + "document-format-details", + "document-format-detected", + "document-format-version", + "document-format-version-detected", + "document-job-id", + "document-job-uri", + "document-message", + "document-metadata", + "document-name", + "document-natural-language", + "document-number", + "document-printer-uri", + "document-state", + "document-state-message", + "document-state-reasons", + "document-uri", + "document-uuid", /* IPP JPS3 */ + "errors-count", + "finishings-actual", + "finishings-col-actual", + "force-front-side-actual", + "imposition-template-actual", + "impressions", + "impressions-col", + "impressions-completed", + "impressions-completed-col", + "impressions-completed-current-copy", + "insert-sheet-actual", + "k-octets", + "k-octets-processed", + "last-document", + "materials-col-actual", /* IPP 3D */ + "media-actual", + "media-col-actual", + "media-input-tray-check-actual", + "media-sheets", + "media-sheets-col", + "media-sheets-completed", + "media-sheets-completed-col", + "more-info", + "multiple-object-handling-actual", /* IPP 3D */ + "number-up-actual", + "orientation-requested-actual", + "output-bin-actual", + "output-device-assigned", + "overrides-actual", + "page-delivery-actual", + "page-order-received-actual", + "page-ranges-actual", + "pages", + "pages-col", + "pages-completed", + "pages-completed-col", + "pages-completed-current-copy", + "platform-temperature-actual", /* IPP 3D */ + "presentation-direction-number-up-actual", + "print-accuracy-actual", /* IPP 3D */ + "print-base-actual", /* IPP 3D */ + "print-color-mode-actual", + "print-content-optimize-actual", + "print-objects-actual", /* IPP 3D */ + "print-quality-actual", + "print-rendering-intent-actual", + "print-scaling-actual", /* IPP Paid Printing */ + "print-supports-actual", /* IPP 3D */ + "printer-resolution-actual", + "printer-up-time", + "separator-sheets-actual", + "sheet-completed-copy-number", + "sides-actual", + "time-at-completed", + "time-at-creation", + "time-at-processing", + "x-image-position-actual", + "x-image-shift-actual", + "x-side1-image-shift-actual", + "x-side2-image-shift-actual", + "y-image-position-actual", + "y-image-shift-actual", + "y-side1-image-shift-actual", + "y-side2-image-shift-actual" + }; + static const char * const document_template[] = + { /* document-template group */ + "chamber-humidity", /* IPP 3D */ + "chamber-humidity-default", /* IPP 3D */ + "chamber-humidity-supported", /* IPP 3D */ + "chamber-temperature", /* IPP 3D */ + "chamber-temperature-default", /* IPP 3D */ + "chamber-temperature-supported", /* IPP 3D */ + "copies", + "copies-default", + "copies-supported", + "cover-back", + "cover-back-default", + "cover-back-supported", + "cover-front", + "cover-front-default", + "cover-front-supported", + "feed-orientation", + "feed-orientation-default", + "feed-orientation-supported", + "finishings", + "finishings-col", + "finishings-col-database", + "finishings-col-default", + "finishings-col-ready", + "finishings-col-supported", + "finishings-default", + "finishings-ready", + "finishings-supported", + "font-name-requested", + "font-name-requested-default", + "font-name-requested-supported", + "font-size-requested", + "font-size-requested-default", + "font-size-requested-supported", + "force-front-side", + "force-front-side-default", + "force-front-side-supported", + "imposition-template", + "imposition-template-default", + "imposition-template-supported", + "insert-after-page-number-supported", + "insert-count-supported", + "insert-sheet", + "insert-sheet-default", + "insert-sheet-supported", + "material-amount-units-supported", /* IPP 3D */ + "material-diameter-supported", /* IPP 3D */ + "material-purpose-supported", /* IPP 3D */ + "material-rate-supported", /* IPP 3D */ + "material-rate-units-supported", /* IPP 3D */ + "material-shell-thickness-supported",/* IPP 3D */ + "material-temperature-supported", /* IPP 3D */ + "material-type-supported", /* IPP 3D */ + "materials-col", /* IPP 3D */ + "materials-col-database", /* IPP 3D */ + "materials-col-default", /* IPP 3D */ + "materials-col-ready", /* IPP 3D */ + "materials-col-supported", /* IPP 3D */ + "max-materials-col-supported", /* IPP 3D */ + "max-stitching-locations-supported", + "media", + "media-back-coating-supported", + "media-bottom-margin-supported", + "media-col", + "media-col-default", + "media-col-ready", + "media-col-supported", + "media-color-supported", + "media-default", + "media-front-coating-supported", + "media-grain-supported", + "media-hole-count-supported", + "media-info-supported", + "media-input-tray-check", + "media-input-tray-check-default", + "media-input-tray-check-supported", + "media-key-supported", + "media-left-margin-supported", + "media-order-count-supported", + "media-pre-printed-supported", + "media-ready", + "media-recycled-supported", + "media-right-margin-supported", + "media-size-supported", + "media-source-supported", + "media-supported", + "media-thickness-supported", + "media-top-margin-supported", + "media-type-supported", + "media-weight-metric-supported", + "multiple-document-handling", + "multiple-document-handling-default", + "multiple-document-handling-supported", + "multiple-object-handling", /* IPP 3D */ + "multiple-object-handling-default", /* IPP 3D */ + "multiple-object-handling-supported",/* IPP 3D */ + "number-up", + "number-up-default", + "number-up-supported", + "orientation-requested", + "orientation-requested-default", + "orientation-requested-supported", + "output-mode", /* CUPS extension */ + "output-mode-default", /* CUPS extension */ + "output-mode-supported", /* CUPS extension */ + "overrides", + "overrides-supported", + "page-delivery", + "page-delivery-default", + "page-delivery-supported", + "page-order-received", + "page-order-received-default", + "page-order-received-supported", + "page-ranges", + "page-ranges-supported", + "pages-per-subset", + "pages-per-subset-supported", + "pdl-init-file", + "pdl-init-file-default", + "pdl-init-file-entry-supported", + "pdl-init-file-location-supported", + "pdl-init-file-name-subdirectory-supported", + "pdl-init-file-name-supported", + "pdl-init-file-supported", + "platform-temperature", /* IPP 3D */ + "platform-temperature-default", /* IPP 3D */ + "platform-temperature-supported", /* IPP 3D */ + "presentation-direction-number-up", + "presentation-direction-number-up-default", + "presentation-direction-number-up-supported", + "print-accuracy", /* IPP 3D */ + "print-accuracy-default", /* IPP 3D */ + "print-accuracy-supported", /* IPP 3D */ + "print-base", /* IPP 3D */ + "print-base-default", /* IPP 3D */ + "print-base-supported", /* IPP 3D */ + "print-color-mode", + "print-color-mode-default", + "print-color-mode-supported", + "print-content-optimize", + "print-content-optimize-default", + "print-content-optimize-supported", + "print-objects", /* IPP 3D */ + "print-objects-default", /* IPP 3D */ + "print-objects-supported", /* IPP 3D */ + "print-quality", + "print-quality-default", + "print-quality-supported", + "print-rendering-intent", + "print-rendering-intent-default", + "print-rendering-intent-supported", + "print-scaling", /* IPP Paid Printing */ + "print-scaling-default", /* IPP Paid Printing */ + "print-scaling-supported", /* IPP Paid Printing */ + "print-supports", /* IPP 3D */ + "print-supports-default", /* IPP 3D */ + "print-supports-supported", /* IPP 3D */ + "printer-resolution", + "printer-resolution-default", + "printer-resolution-supported", + "separator-sheets", + "separator-sheets-default", + "separator-sheets-supported", + "sheet-collate", + "sheet-collate-default", + "sheet-collate-supported", + "sides", + "sides-default", + "sides-supported", + "stitching-locations-supported", + "stitching-offset-supported", + "x-image-position", + "x-image-position-default", + "x-image-position-supported", + "x-image-shift", + "x-image-shift-default", + "x-image-shift-supported", + "x-side1-image-shift", + "x-side1-image-shift-default", + "x-side1-image-shift-supported", + "x-side2-image-shift", + "x-side2-image-shift-default", + "x-side2-image-shift-supported", + "y-image-position", + "y-image-position-default", + "y-image-position-supported", + "y-image-shift", + "y-image-shift-default", + "y-image-shift-supported", + "y-side1-image-shift", + "y-side1-image-shift-default", + "y-side1-image-shift-supported", + "y-side2-image-shift", + "y-side2-image-shift-default", + "y-side2-image-shift-supported" + }; + static const char * const job_description[] = + { /* job-description group */ + "chamber-humidity-actual", /* IPP 3D */ + "chamber-temperature-actual", /* IPP 3D */ + "compression-supplied", + "copies-actual", + "cover-back-actual", + "cover-front-actual", + "current-page-order", + "date-time-at-completed", + "date-time-at-creation", + "date-time-at-processing", + "destination-statuses", + "document-charset-supplied", + "document-digital-signature-supplied", + "document-format-details-supplied", + "document-format-supplied", + "document-message-supplied", + "document-metadata", + "document-name-supplied", + "document-natural-language-supplied", + "document-overrides-actual", + "errors-count", + "finishings-actual", + "finishings-col-actual", + "force-front-side-actual", + "imposition-template-actual", + "impressions-completed-current-copy", + "insert-sheet-actual", + "job-account-id-actual", + "job-accounting-sheets-actual", + "job-accounting-user-id-actual", + "job-attribute-fidelity", + "job-charge-info", /* CUPS extension */ + "job-collation-type", + "job-collation-type-actual", + "job-copies-actual", + "job-cover-back-actual", + "job-cover-front-actual", + "job-detailed-status-message", + "job-document-access-errors", + "job-error-sheet-actual", + "job-finishings-actual", + "job-finishings-col-actual", + "job-hold-until-actual", + "job-id", + "job-impressions", + "job-impressions-col", + "job-impressions-completed", + "job-impressions-completed-col", + "job-k-octets", + "job-k-octets-processed", + "job-mandatory-attributes", + "job-media-progress", /* CUPS extension */ + "job-media-sheets", + "job-media-sheets-col", + "job-media-sheets-completed", + "job-media-sheets-completed-col", + "job-message-from-operator", + "job-more-info", + "job-name", + "job-originating-host-name", /* CUPS extension */ + "job-originating-user-name", + "job-originating-user-uri", /* IPP JPS3 */ + "job-pages", + "job-pages-col", + "job-pages-completed", + "job-pages-completed-col", + "job-pages-completed-current-copy", + "job-printer-state-message", /* CUPS extension */ + "job-printer-state-reasons", /* CUPS extension */ + "job-printer-up-time", + "job-printer-uri", + "job-priority-actual", + "job-resource-ids", /* IPP System */ + "job-save-printer-make-and-model", + "job-sheet-message-actual", + "job-sheets-actual", + "job-sheets-col-actual", + "job-state", + "job-state-message", + "job-state-reasons", + "job-uri", + "job-uuid", /* IPP JPS3 */ + "materials-col-actual", /* IPP 3D */ + "media-actual", + "media-col-actual", + "media-check-input-tray-actual", + "multiple-document-handling-actual", + "multiple-object-handling-actual", /* IPP 3D */ + "number-of-documents", + "number-of-intervening-jobs", + "number-up-actual", + "orientation-requested-actual", + "original-requesting-user-name", + "output-bin-actual", + "output-device-assigned", + "output-device-job-state", /* IPP INFRA */ + "output-device-job-state-message", /* IPP INFRA */ + "output-device-job-state-reasons", /* IPP INFRA */ + "output-device-uuid-assigned", /* IPP INFRA */ + "overrides-actual", + "page-delivery-actual", + "page-order-received-actual", + "page-ranges-actual", + "platform-temperature-actual", /* IPP 3D */ + "presentation-direction-number-up-actual", + "print-accuracy-actual", /* IPP 3D */ + "print-base-actual", /* IPP 3D */ + "print-color-mode-actual", + "print-content-optimize-actual", + "print-objects-actual", /* IPP 3D */ + "print-quality-actual", + "print-rendering-intent-actual", + "print-scaling-actual", /* IPP Paid Printing */ + "print-supports-actual", /* IPP 3D */ + "printer-resolution-actual", + "separator-sheets-actual", + "sheet-collate-actual", + "sheet-completed-copy-number", + "sheet-completed-document-number", + "sides-actual", + "time-at-completed", + "time-at-creation", + "time-at-processing", + "warnings-count", + "x-image-position-actual", + "x-image-shift-actual", + "x-side1-image-shift-actual", + "x-side2-image-shift-actual", + "y-image-position-actual", + "y-image-shift-actual", + "y-side1-image-shift-actual", + "y-side2-image-shift-actual" + }; + static const char * const job_template[] = + { /* job-template group */ + "accuracy-units-supported", /* IPP 3D */ + "chamber-humidity", /* IPP 3D */ + "chamber-humidity-default", /* IPP 3D */ + "chamber-humidity-supported", /* IPP 3D */ + "chamber-temperature", /* IPP 3D */ + "chamber-temperature-default", /* IPP 3D */ + "chamber-temperature-supported", /* IPP 3D */ + "confirmation-sheet-print", /* IPP FaxOut */ + "confirmation-sheet-print-default", + "copies", + "copies-default", + "copies-supported", + "cover-back", + "cover-back-default", + "cover-back-supported", + "cover-front", + "cover-front-default", + "cover-front-supported", + "cover-sheet-info", /* IPP FaxOut */ + "cover-sheet-info-default", + "cover-sheet-info-supported", + "destination-uri-schemes-supported",/* IPP FaxOut */ + "destination-uris", /* IPP FaxOut */ + "destination-uris-supported", + "feed-orientation", + "feed-orientation-default", + "feed-orientation-supported", + "finishings", + "finishings-col", + "finishings-col-database", + "finishings-col-default", + "finishings-col-ready", + "finishings-col-supported", + "finishings-default", + "finishings-ready", + "finishings-supported", + "font-name-requested", + "font-name-requested-default", + "font-name-requested-supported", + "font-size-requested", + "font-size-requested-default", + "font-size-requested-supported", + "force-front-side", + "force-front-side-default", + "force-front-side-supported", + "imposition-template", + "imposition-template-default", + "imposition-template-supported", + "insert-after-page-number-supported", + "insert-count-supported", + "insert-sheet", + "insert-sheet-default", + "insert-sheet-supported", + "job-account-id", + "job-account-id-default", + "job-account-id-supported", + "job-accounting-sheets" + "job-accounting-sheets-default" + "job-accounting-sheets-supported" + "job-accounting-user-id", + "job-accounting-user-id-default", + "job-accounting-user-id-supported", + "job-copies", + "job-copies-default", + "job-copies-supported", + "job-cover-back", + "job-cover-back-default", + "job-cover-back-supported", + "job-cover-front", + "job-cover-front-default", + "job-cover-front-supported", + "job-delay-output-until", + "job-delay-output-until-default", + "job-delay-output-until-supported", + "job-delay-output-until-time", + "job-delay-output-until-time-default", + "job-delay-output-until-time-supported", + "job-error-action", + "job-error-action-default", + "job-error-action-supported", + "job-error-sheet", + "job-error-sheet-default", + "job-error-sheet-supported", + "job-finishings", + "job-finishings-col", + "job-finishings-col-default", + "job-finishings-col-supported", + "job-finishings-default", + "job-finishings-supported", + "job-hold-until", + "job-hold-until-default", + "job-hold-until-supported", + "job-hold-until-time", + "job-hold-until-time-default", + "job-hold-until-time-supported", + "job-message-to-operator", + "job-message-to-operator-default", + "job-message-to-operator-supported", + "job-phone-number", + "job-phone-number-default", + "job-phone-number-supported", + "job-priority", + "job-priority-default", + "job-priority-supported", + "job-recipient-name", + "job-recipient-name-default", + "job-recipient-name-supported", + "job-save-disposition", + "job-save-disposition-default", + "job-save-disposition-supported", + "job-sheets", + "job-sheets-col", + "job-sheets-col-default", + "job-sheets-col-supported", + "job-sheets-default", + "job-sheets-supported", + "logo-uri-schemes-supported", + "material-amount-units-supported", /* IPP 3D */ + "material-diameter-supported", /* IPP 3D */ + "material-purpose-supported", /* IPP 3D */ + "material-rate-supported", /* IPP 3D */ + "material-rate-units-supported", /* IPP 3D */ + "material-shell-thickness-supported",/* IPP 3D */ + "material-temperature-supported", /* IPP 3D */ + "material-type-supported", /* IPP 3D */ + "materials-col", /* IPP 3D */ + "materials-col-database", /* IPP 3D */ + "materials-col-default", /* IPP 3D */ + "materials-col-ready", /* IPP 3D */ + "materials-col-supported", /* IPP 3D */ + "max-materials-col-supported", /* IPP 3D */ + "max-save-info-supported", + "max-stitching-locations-supported", + "media", + "media-back-coating-supported", + "media-bottom-margin-supported", + "media-col", + "media-col-default", + "media-col-ready", + "media-col-supported", + "media-color-supported", + "media-default", + "media-front-coating-supported", + "media-grain-supported", + "media-hole-count-supported", + "media-info-supported", + "media-input-tray-check", + "media-input-tray-check-default", + "media-input-tray-check-supported", + "media-key-supported", + "media-left-margin-supported", + "media-order-count-supported", + "media-pre-printed-supported", + "media-ready", + "media-recycled-supported", + "media-right-margin-supported", + "media-size-supported", + "media-source-supported", + "media-supported", + "media-thickness-supported", + "media-top-margin-supported", + "media-type-supported", + "media-weight-metric-supported", + "multiple-document-handling", + "multiple-document-handling-default", + "multiple-document-handling-supported", + "multiple-object-handling", /* IPP 3D */ + "multiple-object-handling-default", /* IPP 3D */ + "multiple-object-handling-supported",/* IPP 3D */ + "number-of-retries", /* IPP FaxOut */ + "number-of-retries-default", + "number-of-retries-supported", + "number-up", + "number-up-default", + "number-up-supported", + "orientation-requested", + "orientation-requested-default", + "orientation-requested-supported", + "output-bin", + "output-bin-default", + "output-bin-supported", + "output-device", + "output-device-supported", + "output-device-uuid-supported", /* IPP INFRA */ + "output-mode", /* CUPS extension */ + "output-mode-default", /* CUPS extension */ + "output-mode-supported", /* CUPS extension */ + "overrides", + "overrides-supported", + "page-delivery", + "page-delivery-default", + "page-delivery-supported", + "page-order-received", + "page-order-received-default", + "page-order-received-supported", + "page-ranges", + "page-ranges-supported", + "pages-per-subset", + "pages-per-subset-supported", + "pdl-init-file", + "pdl-init-file-default", + "pdl-init-file-entry-supported", + "pdl-init-file-location-supported", + "pdl-init-file-name-subdirectory-supported", + "pdl-init-file-name-supported", + "pdl-init-file-supported", + "platform-temperature", /* IPP 3D */ + "platform-temperature-default", /* IPP 3D */ + "platform-temperature-supported", /* IPP 3D */ + "presentation-direction-number-up", + "presentation-direction-number-up-default", + "presentation-direction-number-up-supported", + "print-accuracy", /* IPP 3D */ + "print-accuracy-default", /* IPP 3D */ + "print-accuracy-supported", /* IPP 3D */ + "print-base", /* IPP 3D */ + "print-base-default", /* IPP 3D */ + "print-base-supported", /* IPP 3D */ + "print-color-mode", + "print-color-mode-default", + "print-color-mode-supported", + "print-content-optimize", + "print-content-optimize-default", + "print-content-optimize-supported", + "print-objects", /* IPP 3D */ + "print-objects-default", /* IPP 3D */ + "print-objects-supported", /* IPP 3D */ + "print-quality", + "print-quality-default", + "print-quality-supported", + "print-rendering-intent", + "print-rendering-intent-default", + "print-rendering-intent-supported", + "print-scaling", /* IPP Paid Printing */ + "print-scaling-default", /* IPP Paid Printing */ + "print-scaling-supported", /* IPP Paid Printing */ + "print-supports", /* IPP 3D */ + "print-supports-default", /* IPP 3D */ + "print-supports-supported", /* IPP 3D */ + "printer-resolution", + "printer-resolution-default", + "printer-resolution-supported", + "proof-print", + "proof-print-default", + "proof-print-supported", + "retry-interval", /* IPP FaxOut */ + "retry-interval-default", + "retry-interval-supported", + "retry-timeout", /* IPP FaxOut */ + "retry-timeout-default", + "retry-timeout-supported", + "save-disposition-supported", + "save-document-format-default", + "save-document-format-supported", + "save-location-default", + "save-location-supported", + "save-name-subdirectory-supported", + "save-name-supported", + "separator-sheets", + "separator-sheets-default", + "separator-sheets-supported", + "sheet-collate", + "sheet-collate-default", + "sheet-collate-supported", + "sides", + "sides-default", + "sides-supported", + "stitching-locations-supported", + "stitching-offset-supported", + "x-image-position", + "x-image-position-default", + "x-image-position-supported", + "x-image-shift", + "x-image-shift-default", + "x-image-shift-supported", + "x-side1-image-shift", + "x-side1-image-shift-default", + "x-side1-image-shift-supported", + "x-side2-image-shift", + "x-side2-image-shift-default", + "x-side2-image-shift-supported", + "y-image-position", + "y-image-position-default", + "y-image-position-supported", + "y-image-shift", + "y-image-shift-default", + "y-image-shift-supported", + "y-side1-image-shift", + "y-side1-image-shift-default", + "y-side1-image-shift-supported", + "y-side2-image-shift", + "y-side2-image-shift-default", + "y-side2-image-shift-supported" + }; + static const char * const printer_description[] = + { /* printer-description group */ + "auth-info-required", /* CUPS extension */ + "chamber-humidity-current", /* IPP 3D */ + "chamber-temperature-current", /* IPP 3D */ + "charset-configured", + "charset-supported", + "color-supported", + "compression-supported", + "device-service-count", + "device-uri", /* CUPS extension */ + "device-uuid", + "document-charset-default", + "document-charset-supported", + "document-creation-attributes-supported", + "document-digital-signature-default", + "document-digital-signature-supported", + "document-format-default", + "document-format-details-default", + "document-format-details-supported", + "document-format-supported", + "document-format-varying-attributes", + "document-format-version-default", + "document-format-version-supported", + "document-natural-language-default", + "document-natural-language-supported", + "document-password-supported", + "document-privacy-attributes", /* IPP Privacy Attributes */ + "document-privacy-scope", /* IPP Privacy Attributes */ + "generated-natural-language-supported", + "identify-actions-default", + "identify-actions-supported", + "input-source-supported", + "ipp-features-supported", + "ipp-versions-supported", + "ippget-event-life", + "job-authorization-uri-supported", /* CUPS extension */ + "job-constraints-supported", + "job-creation-attributes-supported", + "job-finishings-col-ready", + "job-finishings-ready", + "job-ids-supported", + "job-impressions-supported", + "job-k-limit", /* CUPS extension */ + "job-k-octets-supported", + "job-media-sheets-supported", + "job-page-limit", /* CUPS extension */ + "job-password-encryption-supported", + "job-password-supported", + "job-presets-supported", /* IPP Presets */ + "job-privacy-attributes", /* IPP Privacy Attributes */ + "job-privacy-scope", /* IPP Privacy Attributes */ + "job-quota-period", /* CUPS extension */ + "job-resolvers-supported", + "job-settable-attributes-supported", + "job-spooling-supported", + "job-triggers-supported", /* IPP Presets */ + "jpeg-k-octets-supported", /* CUPS extension */ + "jpeg-x-dimension-supported", /* CUPS extension */ + "jpeg-y-dimension-supported", /* CUPS extension */ + "landscape-orientation-requested-preferred", + /* CUPS extension */ + "marker-change-time", /* CUPS extension */ + "marker-colors", /* CUPS extension */ + "marker-high-levels", /* CUPS extension */ + "marker-levels", /* CUPS extension */ + "marker-low-levels", /* CUPS extension */ + "marker-message", /* CUPS extension */ + "marker-names", /* CUPS extension */ + "marker-types", /* CUPS extension */ + "member-names", /* CUPS extension */ + "member-uris", /* CUPS extension */ + "multiple-destination-uris-supported",/* IPP FaxOut */ + "multiple-document-jobs-supported", + "multiple-operation-time-out", + "multiple-operation-time-out-action", + "natural-language-configured", + "operations-supported", + "pages-per-minute", + "pages-per-minute-color", + "pdf-k-octets-supported", /* CUPS extension */ + "pdf-features-supported", /* IPP 3D */ + "pdf-versions-supported", /* CUPS extension */ + "pdl-override-supported", + "platform-shape", /* IPP 3D */ + "port-monitor", /* CUPS extension */ + "port-monitor-supported", /* CUPS extension */ + "preferred-attributes-supported", + "printer-alert", + "printer-alert-description", + "printer-camera-image-uri", /* IPP 3D */ + "printer-charge-info", + "printer-charge-info-uri", + "printer-commands", /* CUPS extension */ + "printer-config-change-date-time", + "printer-config-change-time", + "printer-config-changes", /* IPP System */ + "printer-contact-col", /* IPP System */ + "printer-current-time", + "printer-detailed-status-messages", + "printer-device-id", + "printer-dns-sd-name", /* CUPS extension */ + "printer-driver-installer", + "printer-fax-log-uri", /* IPP FaxOut */ + "printer-fax-modem-info", /* IPP FaxOut */ + "printer-fax-modem-name", /* IPP FaxOut */ + "printer-fax-modem-number", /* IPP FaxOut */ + "printer-firmware-name", /* PWG 5110.1 */ + "printer-firmware-patches", /* PWG 5110.1 */ + "printer-firmware-string-version", /* PWG 5110.1 */ + "printer-firmware-version", /* PWG 5110.1 */ + "printer-geo-location", + "printer-get-attributes-supported", + "printer-icc-profiles", + "printer-icons", + "printer-id", /* IPP System */ + "printer-info", + "printer-input-tray", /* IPP JPS3 */ + "printer-is-accepting-jobs", + "printer-is-shared", /* CUPS extension */ + "printer-is-temporary", /* CUPS extension */ + "printer-kind", /* IPP Paid Printing */ + "printer-location", + "printer-make-and-model", + "printer-mandatory-job-attributes", + "printer-message-date-time", + "printer-message-from-operator", + "printer-message-time", + "printer-more-info", + "printer-more-info-manufacturer", + "printer-name", + "printer-native-formats", + "printer-organization", + "printer-organizational-unit", + "printer-output-tray", /* IPP JPS3 */ + "printer-service-type", /* IPP System */ + "printer-settable-attributes-supported", + "printer-state", + "printer-state-change-date-time", + "printer-state-change-time", + "printer-state-message", + "printer-state-reasons", + "printer-supply", + "printer-supply-description", + "printer-supply-info-uri", + "printer-type", /* CUPS extension */ + "printer-up-time", + "printer-uri-supported", + "printer-uuid", + "printer-xri-supported", + "pwg-raster-document-resolution-supported", + "pwg-raster-document-sheet-back", + "pwg-raster-document-type-supported", + "queued-job-count", + "reference-uri-schemes-supported", + "repertoire-supported", + "requesting-user-name-allowed", /* CUPS extension */ + "requesting-user-name-denied", /* CUPS extension */ + "requesting-user-uri-supported", + "smi2699-auth-print-group", /* PWG ippserver extension */ + "smi2699-auth-proxy-group", /* PWG ippserver extension */ + "smi2699-device-command", /* PWG ippserver extension */ + "smi2699-device-format", /* PWG ippserver extension */ + "smi2699-device-name", /* PWG ippserver extension */ + "smi2699-device-uri", /* PWG ippserver extension */ + "subordinate-printers-supported", + "subscription-privacy-attributes", /* IPP Privacy Attributes */ + "subscription-privacy-scope", /* IPP Privacy Attributes */ + "urf-supported", /* CUPS extension */ + "uri-authentication-supported", + "uri-security-supported", + "user-defined-value-supported", + "which-jobs-supported", + "xri-authentication-supported", + "xri-security-supported", + "xri-uri-scheme-supported" + }; + static const char * const resource_description[] = + { /* resource-description group - IPP System */ + "resource-info", + "resource-name" + }; + static const char * const resource_status[] = + { /* resource-status group - IPP System */ + "date-time-at-canceled", + "date-time-at-creation", + "date-time-at-installed", + "resource-data-uri", + "resource-format", + "resource-id", + "resource-k-octets", + "resource-state", + "resource-state-message", + "resource-state-reasons", + "resource-string-version", + "resource-type", + "resource-use-count", + "resource-uuid", + "resource-version", + "time-at-canceled", + "time-at-creation", + "time-at-installed" + }; + static const char * const resource_template[] = + { /* resource-template group - IPP System */ + "resource-format", + "resource-format-supported", + "resource-info", + "resource-name", + "resource-type", + "resource-type-supported" + }; + static const char * const subscription_description[] = + { /* subscription-description group */ + "notify-job-id", + "notify-lease-expiration-time", + "notify-printer-up-time", + "notify-printer-uri", + "notify-resource-id", /* IPP System */ + "notify-system-uri", /* IPP System */ + "notify-sequence-number", + "notify-subscriber-user-name", + "notify-subscriber-user-uri", + "notify-subscription-id", + "notify-subscription-uuid" /* IPP JPS3 */ + }; + static const char * const subscription_template[] = + { /* subscription-template group */ + "notify-attributes", + "notify-attributes-supported", + "notify-charset", + "notify-events", + "notify-events-default", + "notify-events-supported", + "notify-lease-duration", + "notify-lease-duration-default", + "notify-lease-duration-supported", + "notify-max-events-supported", + "notify-natural-language", + "notify-pull-method", + "notify-pull-method-supported", + "notify-recipient-uri", + "notify-schemes-supported", + "notify-time-interval", + "notify-user-data" + }; + static const char * const system_description[] = + { /* system-description group - IPP System */ + "charset-configured", + "charset-supported", + "generated-natural-language-supported", + "ipp-features-supported", + "ipp-versions-supported", + "natural-language-configured", + "operations-supported", + "power-calendar-policy-col", + "power-event-policy-col", + "power-timeout-policy-col", + "printer-creation-attributes-supported", + "resource-settable-attributes-supported", + "smi2699-auth-group-supported", /* PWG ippserver extension */ + "smi2699-device-command-supported", /* PWG ippserver extension */ + "smi2699-device-format-format", /* PWG ippserver extension */ + "smi2699-device-uri-schemes-supported", + /* PWG ippserver extension */ + "system-contact-col", + "system-current-time", + "system-default-printer-id", + "system-device-id", + "system-geo-location", + "system-info", + "system-location", + "system-mandatory-printer-attributes", + "system-make-and-model", + "system-message-from-operator", + "system-name", + "system-settable-attributes-supported", + "system-strings-languages-supported", + "system-strings-uri", + "system-xri-supported" + }; + static const char * const system_status[] = + { /* system-status group - IPP System */ + "power-log-col", + "power-state-capabilities-col", + "power-state-counters-col", + "power-state-monitor-col", + "power-state-transitions-col", + "system-config-change-date-time", + "system-config-change-time", + "system-config-changes", + "system-configured-printers", + "system-configured-resources", + "system-serial-number", + "system-state", + "system-state-change-date-time", + "system-state-change-time", + "system-state-message", + "system-state-reasons", + "system-up-time", + "system-uuid" + }; + + + /* + * Get the requested-attributes attribute... + */ + + op = ippGetOperation(request); + + if ((requested = ippFindAttribute(request, "requested-attributes", IPP_TAG_KEYWORD)) == NULL) + { + /* + * The Get-Jobs operation defaults to "job-id" and "job-uri", all others + * default to "all"... + */ + + if (op == IPP_OP_GET_JOBS) + { + ra = cupsArrayNew((cups_array_func_t)strcmp, NULL); + cupsArrayAdd(ra, "job-id"); + cupsArrayAdd(ra, "job-uri"); + + return (ra); + } + else + return (NULL); + } + + /* + * If the attribute contains a single "all" keyword, return NULL... + */ + + count = ippGetCount(requested); + if (count == 1 && !strcmp(ippGetString(requested, 0, NULL), "all")) + return (NULL); + + /* + * Create an array using "strcmp" as the comparison function... + */ + + ra = cupsArrayNew((cups_array_func_t)strcmp, NULL); + + for (i = 0; i < count; i ++) + { + added = 0; + value = ippGetString(requested, i, NULL); + + if (!strcmp(value, "document-description") || (!strcmp(value, "all") && (op == IPP_OP_GET_JOB_ATTRIBUTES || op == IPP_OP_GET_JOBS || op == IPP_OP_GET_DOCUMENT_ATTRIBUTES || op == IPP_OP_GET_DOCUMENTS))) + { + for (j = 0; j < (int)(sizeof(document_description) / sizeof(document_description[0])); j ++) + cupsArrayAdd(ra, (void *)document_description[j]); + + added = 1; + } + + if (!strcmp(value, "document-template") || !strcmp(value, "all")) + { + for (j = 0; j < (int)(sizeof(document_template) / sizeof(document_template[0])); j ++) + cupsArrayAdd(ra, (void *)document_template[j]); + + added = 1; + } + + if (!strcmp(value, "job-description") || (!strcmp(value, "all") && (op == IPP_OP_GET_JOB_ATTRIBUTES || op == IPP_OP_GET_JOBS))) + { + for (j = 0; j < (int)(sizeof(job_description) / sizeof(job_description[0])); j ++) + cupsArrayAdd(ra, (void *)job_description[j]); + + added = 1; + } + + if (!strcmp(value, "job-template") || (!strcmp(value, "all") && (op == IPP_OP_GET_JOB_ATTRIBUTES || op == IPP_OP_GET_JOBS || op == IPP_OP_GET_PRINTER_ATTRIBUTES))) + { + for (j = 0; j < (int)(sizeof(job_template) / sizeof(job_template[0])); j ++) + cupsArrayAdd(ra, (void *)job_template[j]); + + added = 1; + } + + if (!strcmp(value, "printer-description") || (!strcmp(value, "all") && (op == IPP_OP_GET_PRINTER_ATTRIBUTES || op == IPP_OP_GET_PRINTERS || op == IPP_OP_CUPS_GET_DEFAULT || op == IPP_OP_CUPS_GET_PRINTERS || op == IPP_OP_CUPS_GET_CLASSES))) + { + for (j = 0; j < (int)(sizeof(printer_description) / sizeof(printer_description[0])); j ++) + cupsArrayAdd(ra, (void *)printer_description[j]); + + added = 1; + } + + if (!strcmp(value, "resource-description") || (!strcmp(value, "all") && (op == IPP_OP_GET_RESOURCE_ATTRIBUTES || op == IPP_OP_GET_RESOURCES))) + { + for (j = 0; j < (int)(sizeof(resource_description) / sizeof(resource_description[0])); j ++) + cupsArrayAdd(ra, (void *)resource_description[j]); + + added = 1; + } + + if (!strcmp(value, "resource-status") || (!strcmp(value, "all") && (op == IPP_OP_GET_RESOURCE_ATTRIBUTES || op == IPP_OP_GET_RESOURCES))) + { + for (j = 0; j < (int)(sizeof(resource_status) / sizeof(resource_status[0])); j ++) + cupsArrayAdd(ra, (void *)resource_status[j]); + + added = 1; + } + + if (!strcmp(value, "resource-template") || (!strcmp(value, "all") && (op == IPP_OP_GET_RESOURCE_ATTRIBUTES || op == IPP_OP_GET_RESOURCES || op == IPP_OP_GET_SYSTEM_ATTRIBUTES))) + { + for (j = 0; j < (int)(sizeof(resource_template) / sizeof(resource_template[0])); j ++) + cupsArrayAdd(ra, (void *)resource_template[j]); + + added = 1; + } + + if (!strcmp(value, "subscription-description") || (!strcmp(value, "all") && (op == IPP_OP_GET_SUBSCRIPTION_ATTRIBUTES || op == IPP_OP_GET_SUBSCRIPTIONS))) + { + for (j = 0; j < (int)(sizeof(subscription_description) / sizeof(subscription_description[0])); j ++) + cupsArrayAdd(ra, (void *)subscription_description[j]); + + added = 1; + } + + if (!strcmp(value, "subscription-template") || (!strcmp(value, "all") && (op == IPP_OP_GET_SUBSCRIPTION_ATTRIBUTES || op == IPP_OP_GET_SUBSCRIPTIONS))) + { + for (j = 0; j < (int)(sizeof(subscription_template) / sizeof(subscription_template[0])); j ++) + cupsArrayAdd(ra, (void *)subscription_template[j]); + + added = 1; + } + + if (!strcmp(value, "system-description") || (!strcmp(value, "all") && op == IPP_OP_GET_SYSTEM_ATTRIBUTES)) + { + for (j = 0; j < (int)(sizeof(system_description) / sizeof(system_description[0])); j ++) + cupsArrayAdd(ra, (void *)system_description[j]); + + added = 1; + } + + if (!strcmp(value, "system-status") || (!strcmp(value, "all") && op == IPP_OP_GET_SYSTEM_ATTRIBUTES)) + { + for (j = 0; j < (int)(sizeof(system_status) / sizeof(system_status[0])); j ++) + cupsArrayAdd(ra, (void *)system_status[j]); + + added = 1; + } + + if (!added) + cupsArrayAdd(ra, (void *)value); + } + + return (ra); +} + + +/* + * 'ippEnumString()' - Return a string corresponding to the enum value. + */ + +const char * /* O - Enum string */ +ippEnumString(const char *attrname, /* I - Attribute name */ + int enumvalue) /* I - Enum value */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + /* + * Check for standard enum values... + */ + + if (!strcmp(attrname, "document-state") && enumvalue >= 3 && enumvalue < (3 + (int)(sizeof(ipp_document_states) / sizeof(ipp_document_states[0])))) + return (ipp_document_states[enumvalue - 3]); + else if (!strcmp(attrname, "finishings") || !strcmp(attrname, "finishings-actual") || !strcmp(attrname, "finishings-default") || !strcmp(attrname, "finishings-ready") || !strcmp(attrname, "finishings-supported") || !strcmp(attrname, "job-finishings") || !strcmp(attrname, "job-finishings-default") || !strcmp(attrname, "job-finishings-supported")) + { + if (enumvalue >= 3 && enumvalue < (3 + (int)(sizeof(ipp_finishings) / sizeof(ipp_finishings[0])))) + return (ipp_finishings[enumvalue - 3]); + else if (enumvalue >= 0x40000000 && enumvalue < (0x40000000 + (int)(sizeof(ipp_finishings_vendor) / sizeof(ipp_finishings_vendor[0])))) + return (ipp_finishings_vendor[enumvalue - 0x40000000]); + } + else if ((!strcmp(attrname, "job-collation-type") || !strcmp(attrname, "job-collation-type-actual")) && enumvalue >= 3 && enumvalue < (3 + (int)(sizeof(ipp_job_collation_types) / sizeof(ipp_job_collation_types[0])))) + return (ipp_job_collation_types[enumvalue - 3]); + else if (!strcmp(attrname, "job-state") && enumvalue >= IPP_JSTATE_PENDING && enumvalue <= IPP_JSTATE_COMPLETED) + return (ipp_job_states[enumvalue - IPP_JSTATE_PENDING]); + else if (!strcmp(attrname, "operations-supported")) + return (ippOpString((ipp_op_t)enumvalue)); + else if ((!strcmp(attrname, "orientation-requested") || !strcmp(attrname, "orientation-requested-actual") || !strcmp(attrname, "orientation-requested-default") || !strcmp(attrname, "orientation-requested-supported")) && enumvalue >= 3 && enumvalue < (3 + (int)(sizeof(ipp_orientation_requesteds) / sizeof(ipp_orientation_requesteds[0])))) + return (ipp_orientation_requesteds[enumvalue - 3]); + else if ((!strcmp(attrname, "print-quality") || !strcmp(attrname, "print-quality-actual") || !strcmp(attrname, "print-quality-default") || !strcmp(attrname, "print-quality-supported")) && enumvalue >= 3 && enumvalue < (3 + (int)(sizeof(ipp_print_qualities) / sizeof(ipp_print_qualities[0])))) + return (ipp_print_qualities[enumvalue - 3]); + else if (!strcmp(attrname, "printer-state") && enumvalue >= IPP_PSTATE_IDLE && enumvalue <= IPP_PSTATE_STOPPED) + return (ipp_printer_states[enumvalue - IPP_PSTATE_IDLE]); + else if (!strcmp(attrname, "resource-state") && enumvalue >= IPP_RSTATE_PENDING && enumvalue <= IPP_RSTATE_ABORTED) + return (ipp_resource_states[enumvalue - IPP_RSTATE_PENDING]); + else if (!strcmp(attrname, "system-state") && enumvalue >= IPP_SSTATE_IDLE && enumvalue <= IPP_SSTATE_STOPPED) + return (ipp_system_states[enumvalue - IPP_SSTATE_IDLE]); + + /* + * Not a standard enum value, just return the decimal equivalent... + */ + + snprintf(cg->ipp_unknown, sizeof(cg->ipp_unknown), "%d", enumvalue); + return (cg->ipp_unknown); +} + + +/* + * 'ippEnumValue()' - Return the value associated with a given enum string. + */ + +int /* O - Enum value or -1 if unknown */ +ippEnumValue(const char *attrname, /* I - Attribute name */ + const char *enumstring) /* I - Enum string */ +{ + int i, /* Looping var */ + num_strings; /* Number of strings to compare */ + const char * const *strings; /* Strings to compare */ + + + /* + * If the string is just a number, return it... + */ + + if (isdigit(*enumstring & 255)) + return ((int)strtol(enumstring, NULL, 0)); + + /* + * Otherwise look up the string... + */ + + if (!strcmp(attrname, "document-state")) + { + num_strings = (int)(sizeof(ipp_document_states) / sizeof(ipp_document_states[0])); + strings = ipp_document_states; + } + else if (!strcmp(attrname, "finishings") || + !strcmp(attrname, "finishings-actual") || + !strcmp(attrname, "finishings-default") || + !strcmp(attrname, "finishings-ready") || + !strcmp(attrname, "finishings-supported")) + { + for (i = 0; + i < (int)(sizeof(ipp_finishings_vendor) / + sizeof(ipp_finishings_vendor[0])); + i ++) + if (!strcmp(enumstring, ipp_finishings_vendor[i])) + return (i + 0x40000000); + + num_strings = (int)(sizeof(ipp_finishings) / sizeof(ipp_finishings[0])); + strings = ipp_finishings; + } + else if (!strcmp(attrname, "job-collation-type") || + !strcmp(attrname, "job-collation-type-actual")) + { + num_strings = (int)(sizeof(ipp_job_collation_types) / + sizeof(ipp_job_collation_types[0])); + strings = ipp_job_collation_types; + } + else if (!strcmp(attrname, "job-state")) + { + num_strings = (int)(sizeof(ipp_job_states) / sizeof(ipp_job_states[0])); + strings = ipp_job_states; + } + else if (!strcmp(attrname, "operations-supported")) + return (ippOpValue(enumstring)); + else if (!strcmp(attrname, "orientation-requested") || + !strcmp(attrname, "orientation-requested-actual") || + !strcmp(attrname, "orientation-requested-default") || + !strcmp(attrname, "orientation-requested-supported")) + { + num_strings = (int)(sizeof(ipp_orientation_requesteds) / + sizeof(ipp_orientation_requesteds[0])); + strings = ipp_orientation_requesteds; + } + else if (!strcmp(attrname, "print-quality") || + !strcmp(attrname, "print-quality-actual") || + !strcmp(attrname, "print-quality-default") || + !strcmp(attrname, "print-quality-supported")) + { + num_strings = (int)(sizeof(ipp_print_qualities) / sizeof(ipp_print_qualities[0])); + strings = ipp_print_qualities; + } + else if (!strcmp(attrname, "printer-state")) + { + num_strings = (int)(sizeof(ipp_printer_states) / sizeof(ipp_printer_states[0])); + strings = ipp_printer_states; + } + else if (!strcmp(attrname, "resource-state")) + { + num_strings = (int)(sizeof(ipp_resource_states) / sizeof(ipp_resource_states[0])); + strings = ipp_resource_states; + } + else if (!strcmp(attrname, "system-state")) + { + num_strings = (int)(sizeof(ipp_system_states) / sizeof(ipp_system_states[0])); + strings = ipp_system_states; + } + else + return (-1); + + for (i = 0; i < num_strings; i ++) + if (!strcmp(enumstring, strings[i])) + return (i + 3); + + return (-1); +} + + +/* + * 'ippErrorString()' - Return a name for the given status code. + */ + +const char * /* O - Text string */ +ippErrorString(ipp_status_t error) /* I - Error status */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + /* + * See if the error code is a known value... + */ + + if (error >= IPP_STATUS_OK && error <= IPP_STATUS_OK_EVENTS_COMPLETE) + return (ipp_status_oks[error]); + else if (error == IPP_STATUS_REDIRECTION_OTHER_SITE) + return ("redirection-other-site"); + else if (error == IPP_STATUS_CUPS_SEE_OTHER) + return ("cups-see-other"); + else if (error >= IPP_STATUS_ERROR_BAD_REQUEST && + error <= IPP_STATUS_ERROR_ACCOUNT_AUTHORIZATION_FAILED) + return (ipp_status_400s[error - IPP_STATUS_ERROR_BAD_REQUEST]); + else if (error >= 0x480 && + error <= IPP_STATUS_ERROR_CUPS_ACCOUNT_AUTHORIZATION_FAILED) + return (ipp_status_480s[error - 0x0480]); + else if (error >= IPP_STATUS_ERROR_INTERNAL && + error <= IPP_STATUS_ERROR_TOO_MANY_DOCUMENTS) + return (ipp_status_500s[error - IPP_STATUS_ERROR_INTERNAL]); + else if (error >= IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED && + error <= IPP_STATUS_ERROR_CUPS_UPGRADE_REQUIRED) + return (ipp_status_1000s[error - + IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED]); + + /* + * No, build an "0xxxxx" error string... + */ + + sprintf(cg->ipp_unknown, "0x%04x", error); + + return (cg->ipp_unknown); +} + + +/* + * 'ippErrorValue()' - Return a status code for the given name. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ipp_status_t /* O - IPP status code */ +ippErrorValue(const char *name) /* I - Name */ +{ + size_t i; /* Looping var */ + + + for (i = 0; i < (sizeof(ipp_status_oks) / sizeof(ipp_status_oks[0])); i ++) + if (!_cups_strcasecmp(name, ipp_status_oks[i])) + return ((ipp_status_t)i); + + if (!_cups_strcasecmp(name, "redirection-other-site")) + return (IPP_STATUS_REDIRECTION_OTHER_SITE); + + if (!_cups_strcasecmp(name, "cups-see-other")) + return (IPP_STATUS_CUPS_SEE_OTHER); + + for (i = 0; i < (sizeof(ipp_status_400s) / sizeof(ipp_status_400s[0])); i ++) + if (!_cups_strcasecmp(name, ipp_status_400s[i])) + return ((ipp_status_t)(i + 0x400)); + + for (i = 0; i < (sizeof(ipp_status_480s) / sizeof(ipp_status_480s[0])); i ++) + if (!_cups_strcasecmp(name, ipp_status_480s[i])) + return ((ipp_status_t)(i + 0x480)); + + for (i = 0; i < (sizeof(ipp_status_500s) / sizeof(ipp_status_500s[0])); i ++) + if (!_cups_strcasecmp(name, ipp_status_500s[i])) + return ((ipp_status_t)(i + 0x500)); + + for (i = 0; i < (sizeof(ipp_status_1000s) / sizeof(ipp_status_1000s[0])); i ++) + if (!_cups_strcasecmp(name, ipp_status_1000s[i])) + return ((ipp_status_t)(i + 0x1000)); + + return ((ipp_status_t)-1); +} + + +/* + * 'ippOpString()' - Return a name for the given operation id. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +const char * /* O - Name */ +ippOpString(ipp_op_t op) /* I - Operation ID */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + /* + * See if the operation ID is a known value... + */ + + if (op >= IPP_OP_PRINT_JOB && op < (ipp_op_t)(sizeof(ipp_std_ops) / sizeof(ipp_std_ops[0]))) + return (ipp_std_ops[op]); + else if (op == IPP_OP_PRIVATE) + return ("windows-ext"); + else if (op >= IPP_OP_CUPS_GET_DEFAULT && op <= IPP_OP_CUPS_GET_PPD) + return (ipp_cups_ops[op - IPP_OP_CUPS_GET_DEFAULT]); + else if (op >= IPP_OP_CUPS_GET_DOCUMENT && op <= IPP_OP_CUPS_CREATE_LOCAL_PRINTER) + return (ipp_cups_ops2[op - IPP_OP_CUPS_GET_DOCUMENT]); + + /* + * No, build an "0xxxxx" operation string... + */ + + sprintf(cg->ipp_unknown, "0x%04x", op); + + return (cg->ipp_unknown); +} + + +/* + * 'ippOpValue()' - Return an operation id for the given name. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ipp_op_t /* O - Operation ID */ +ippOpValue(const char *name) /* I - Textual name */ +{ + size_t i; /* Looping var */ + + + if (!strncmp(name, "0x", 2)) + return ((ipp_op_t)strtol(name + 2, NULL, 16)); + + for (i = 0; i < (sizeof(ipp_std_ops) / sizeof(ipp_std_ops[0])); i ++) + if (!_cups_strcasecmp(name, ipp_std_ops[i])) + return ((ipp_op_t)i); + + if (!_cups_strcasecmp(name, "windows-ext")) + return (IPP_OP_PRIVATE); + + for (i = 0; i < (sizeof(ipp_cups_ops) / sizeof(ipp_cups_ops[0])); i ++) + if (!_cups_strcasecmp(name, ipp_cups_ops[i])) + return ((ipp_op_t)(i + 0x4001)); + + for (i = 0; i < (sizeof(ipp_cups_ops2) / sizeof(ipp_cups_ops2[0])); i ++) + if (!_cups_strcasecmp(name, ipp_cups_ops2[i])) + return ((ipp_op_t)(i + 0x4027)); + + if (!_cups_strcasecmp(name, "Create-Job-Subscription")) + return (IPP_OP_CREATE_JOB_SUBSCRIPTIONS); + + if (!_cups_strcasecmp(name, "Create-Printer-Subscription")) + return (IPP_OP_CREATE_PRINTER_SUBSCRIPTIONS); + + if (!_cups_strcasecmp(name, "CUPS-Add-Class")) + return (IPP_OP_CUPS_ADD_MODIFY_CLASS); + + if (!_cups_strcasecmp(name, "CUPS-Add-Printer")) + return (IPP_OP_CUPS_ADD_MODIFY_PRINTER); + + return (IPP_OP_CUPS_INVALID); +} + + +/* + * 'ippPort()' - Return the default IPP port number. + */ + +int /* O - Port number */ +ippPort(void) +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + DEBUG_puts("ippPort()"); + + if (!cg->ipp_port) + _cupsSetDefaults(); + + DEBUG_printf(("1ippPort: Returning %d...", cg->ipp_port)); + + return (cg->ipp_port); +} + + +/* + * 'ippSetPort()' - Set the default port number. + */ + +void +ippSetPort(int p) /* I - Port number to use */ +{ + DEBUG_printf(("ippSetPort(p=%d)", p)); + + _cupsGlobals()->ipp_port = p; +} + + +/* + * 'ippStateString()' - Return the name corresponding to a state value. + * + * @since CUPS 2.0/OS 10.10@ + */ + +const char * /* O - State name */ +ippStateString(ipp_state_t state) /* I - State value */ +{ + if (state >= IPP_STATE_ERROR && state <= IPP_STATE_DATA) + return (ipp_states[state - IPP_STATE_ERROR]); + else + return ("UNKNOWN"); +} + + +/* + * 'ippTagString()' - Return the tag name corresponding to a tag value. + * + * The returned names are defined in RFC 8011 and the IANA IPP Registry. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +const char * /* O - Tag name */ +ippTagString(ipp_tag_t tag) /* I - Tag value */ +{ + tag &= IPP_TAG_CUPS_MASK; + + if (tag < (ipp_tag_t)(sizeof(ipp_tag_names) / sizeof(ipp_tag_names[0]))) + return (ipp_tag_names[tag]); + else + return ("UNKNOWN"); +} + + +/* + * 'ippTagValue()' - Return the tag value corresponding to a tag name. + * + * The tag names are defined in RFC 8011 and the IANA IPP Registry. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +ipp_tag_t /* O - Tag value */ +ippTagValue(const char *name) /* I - Tag name */ +{ + size_t i; /* Looping var */ + + + for (i = 0; i < (sizeof(ipp_tag_names) / sizeof(ipp_tag_names[0])); i ++) + if (!_cups_strcasecmp(name, ipp_tag_names[i])) + return ((ipp_tag_t)i); + + if (!_cups_strcasecmp(name, "operation")) + return (IPP_TAG_OPERATION); + else if (!_cups_strcasecmp(name, "job")) + return (IPP_TAG_JOB); + else if (!_cups_strcasecmp(name, "printer")) + return (IPP_TAG_PRINTER); + else if (!_cups_strcasecmp(name, "unsupported")) + return (IPP_TAG_UNSUPPORTED_GROUP); + else if (!_cups_strcasecmp(name, "subscription")) + return (IPP_TAG_SUBSCRIPTION); + else if (!_cups_strcasecmp(name, "event")) + return (IPP_TAG_EVENT_NOTIFICATION); + else if (!_cups_strcasecmp(name, "language")) + return (IPP_TAG_LANGUAGE); + else if (!_cups_strcasecmp(name, "mimetype")) + return (IPP_TAG_MIMETYPE); + else if (!_cups_strcasecmp(name, "name")) + return (IPP_TAG_NAME); + else if (!_cups_strcasecmp(name, "text")) + return (IPP_TAG_TEXT); + else if (!_cups_strcasecmp(name, "begCollection")) + return (IPP_TAG_BEGIN_COLLECTION); + else + return (IPP_TAG_ZERO); +} + + +/* + * 'ipp_col_string()' - Convert a collection to a string. + */ + +static size_t /* O - Number of bytes */ +ipp_col_string(ipp_t *col, /* I - Collection attribute */ + char *buffer, /* I - Buffer or NULL */ + size_t bufsize) /* I - Size of buffer */ +{ + char *bufptr, /* Position in buffer */ + *bufend, /* End of buffer */ + prefix = '{', /* Prefix character */ + temp[256]; /* Temporary string */ + ipp_attribute_t *attr; /* Current member attribute */ + + + if (!col) + { + if (buffer) + *buffer = '\0'; + + return (0); + } + + bufptr = buffer; + bufend = buffer + bufsize - 1; + + for (attr = col->attrs; attr; attr = attr->next) + { + if (!attr->name) + continue; + + if (buffer && bufptr < bufend) + *bufptr = prefix; + bufptr ++; + prefix = ' '; + + if (buffer && bufptr < bufend) + bufptr += snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%s=", attr->name); + else + bufptr += strlen(attr->name) + 1; + + if (buffer && bufptr < bufend) + bufptr += ippAttributeString(attr, bufptr, (size_t)(bufend - bufptr + 1)); + else + bufptr += ippAttributeString(attr, temp, sizeof(temp)); + } + + if (prefix == '{') + { + if (buffer && bufptr < bufend) + *bufptr = prefix; + bufptr ++; + } + + if (buffer && bufptr < bufend) + *bufptr = '}'; + bufptr ++; + + return ((size_t)(bufptr - buffer)); +} diff --git a/cups/ipp-vars.c b/cups/ipp-vars.c new file mode 100644 index 0000000..395b0eb --- /dev/null +++ b/cups/ipp-vars.c @@ -0,0 +1,250 @@ +/* + * IPP data file parsing functions. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include "ipp-private.h" +#include "string-private.h" +#include "debug-internal.h" + + +/* + * '_ippVarsDeinit()' - Free all memory associated with the IPP variables. + */ + +void +_ippVarsDeinit(_ipp_vars_t *v) /* I - IPP variables */ +{ + if (v->uri) + { + free(v->uri); + v->uri = NULL; + } + + cupsFreeOptions(v->num_vars, v->vars); + v->num_vars = 0; + v->vars = NULL; +} + + +/* + * '_ippVarsExpand()' - Expand variables in the source string. + */ + +void +_ippVarsExpand(_ipp_vars_t *v, /* I - IPP variables */ + char *dst, /* I - Destination buffer */ + const char *src, /* I - Source string */ + size_t dstsize) /* I - Destination buffer size */ +{ + char *dstptr, /* Pointer into destination */ + *dstend, /* End of destination */ + temp[256], /* Temporary string */ + *tempptr; /* Pointer into temporary string */ + const char *value; /* Value to substitute */ + + + dstptr = dst; + dstend = dst + dstsize - 1; + + while (*src && dstptr < dstend) + { + if (*src == '$') + { + /* + * Substitute a string/number... + */ + + if (!strncmp(src, "$$", 2)) + { + value = "$"; + src += 2; + } + else if (!strncmp(src, "$ENV[", 5)) + { + strlcpy(temp, src + 5, sizeof(temp)); + + for (tempptr = temp; *tempptr; tempptr ++) + if (*tempptr == ']') + break; + + if (*tempptr) + *tempptr++ = '\0'; + + value = getenv(temp); + src += tempptr - temp + 5; + } + else + { + if (src[1] == '{') + { + src += 2; + strlcpy(temp, src, sizeof(temp)); + if ((tempptr = strchr(temp, '}')) != NULL) + *tempptr = '\0'; + else + tempptr = temp + strlen(temp); + } + else + { + strlcpy(temp, src + 1, sizeof(temp)); + + for (tempptr = temp; *tempptr; tempptr ++) + if (!isalnum(*tempptr & 255) && *tempptr != '-' && *tempptr != '_') + break; + + if (*tempptr) + *tempptr = '\0'; + } + + value = _ippVarsGet(v, temp); + + src += tempptr - temp + 1; + } + + if (value) + { + strlcpy(dstptr, value, (size_t)(dstend - dstptr + 1)); + dstptr += strlen(dstptr); + } + } + else + *dstptr++ = *src++; + } + + *dstptr = '\0'; +} + + +/* + * '_ippVarsGet()' - Get a variable string. + */ + +const char * /* O - Value or @code NULL@ if not set */ +_ippVarsGet(_ipp_vars_t *v, /* I - IPP variables */ + const char *name) /* I - Variable name */ +{ + if (!v) + return (NULL); + else if (!strcmp(name, "uri")) + return (v->uri); + else if (!strcmp(name, "uriuser") || !strcmp(name, "username")) + return (v->username[0] ? v->username : NULL); + else if (!strcmp(name, "scheme") || !strcmp(name, "method")) + return (v->scheme); + else if (!strcmp(name, "hostname")) + return (v->host); + else if (!strcmp(name, "port")) + return (v->portstr); + else if (!strcmp(name, "resource")) + return (v->resource); + else if (!strcmp(name, "user")) + return (cupsUser()); + else + return (cupsGetOption(name, v->num_vars, v->vars)); +} + + +/* + * '_ippVarsInit()' - Initialize . + */ + +void +_ippVarsInit(_ipp_vars_t *v, /* I - IPP variables */ + _ipp_fattr_cb_t attrcb, /* I - Attribute (filter) callback */ + _ipp_ferror_cb_t errorcb, /* I - Error callback */ + _ipp_ftoken_cb_t tokencb) /* I - Token callback */ +{ + memset(v, 0, sizeof(_ipp_vars_t)); + + v->attrcb = attrcb; + v->errorcb = errorcb; + v->tokencb = tokencb; +} + + +/* + * '_ippVarsPasswordCB()' - Password callback using the IPP variables. + */ + +const char * /* O - Password string or @code NULL@ */ +_ippVarsPasswordCB( + const char *prompt, /* I - Prompt string (not used) */ + http_t *http, /* I - HTTP connection (not used) */ + const char *method, /* I - HTTP method (not used) */ + const char *resource, /* I - Resource path (not used) */ + void *user_data) /* I - IPP variables */ +{ + _ipp_vars_t *v = (_ipp_vars_t *)user_data; + /* I - IPP variables */ + + + (void)prompt; + (void)http; + (void)method; + (void)resource; + + if (v->username[0] && v->password && v->password_tries < 3) + { + v->password_tries ++; + + cupsSetUser(v->username); + + return (v->password); + } + else + { + return (NULL); + } +} + + +/* + * '_ippVarsSet()' - Set an IPP variable. + */ + +int /* O - 1 on success, 0 on failure */ +_ippVarsSet(_ipp_vars_t *v, /* I - IPP variables */ + const char *name, /* I - Variable name */ + const char *value) /* I - Variable value */ +{ + if (!strcmp(name, "uri")) + { + char uri[1024]; /* New printer URI */ + http_uri_status_t uri_status; /* URI status */ + + if ((uri_status = httpSeparateURI(HTTP_URI_CODING_ALL, value, v->scheme, sizeof(v->scheme), v->username, sizeof(v->username), v->host, sizeof(v->host), &(v->port), v->resource, sizeof(v->resource))) < HTTP_URI_STATUS_OK) + return (0); + + if (v->username[0]) + { + if ((v->password = strchr(v->username, ':')) != NULL) + *(v->password)++ = '\0'; + } + + snprintf(v->portstr, sizeof(v->portstr), "%d", v->port); + + if (v->uri) + free(v->uri); + + httpAssembleURI(HTTP_URI_CODING_ALL, uri, sizeof(uri), v->scheme, NULL, v->host, v->port, v->resource); + v->uri = strdup(uri); + + return (v->uri != NULL); + } + else + { + v->num_vars = cupsAddOption(name, value, v->num_vars, &v->vars); + return (1); + } +} diff --git a/cups/ipp.c b/cups/ipp.c new file mode 100644 index 0000000..1595b8b --- /dev/null +++ b/cups/ipp.c @@ -0,0 +1,6847 @@ +/* + * Internet Printing Protocol functions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include +#ifdef _WIN32 +# include +#endif /* _WIN32 */ + + +/* + * Local functions... + */ + +static ipp_attribute_t *ipp_add_attr(ipp_t *ipp, const char *name, + ipp_tag_t group_tag, ipp_tag_t value_tag, + int num_values); +static void ipp_free_values(ipp_attribute_t *attr, int element, + int count); +static char *ipp_get_code(const char *locale, char *buffer, size_t bufsize) _CUPS_NONNULL(1,2); +static char *ipp_lang_code(const char *locale, char *buffer, size_t bufsize) _CUPS_NONNULL(1,2); +static size_t ipp_length(ipp_t *ipp, int collection); +static ssize_t ipp_read_http(http_t *http, ipp_uchar_t *buffer, + size_t length); +static ssize_t ipp_read_file(int *fd, ipp_uchar_t *buffer, + size_t length); +static void ipp_set_error(ipp_status_t status, const char *format, + ...); +static _ipp_value_t *ipp_set_value(ipp_t *ipp, ipp_attribute_t **attr, + int element); +static ssize_t ipp_write_file(int *fd, ipp_uchar_t *buffer, + size_t length); + + +/* + * '_cupsBufferGet()' - Get a read/write buffer. + */ + +char * /* O - Buffer */ +_cupsBufferGet(size_t size) /* I - Size required */ +{ + _cups_buffer_t *buffer; /* Current buffer */ + _cups_globals_t *cg = _cupsGlobals(); + /* Global data */ + + + for (buffer = cg->cups_buffers; buffer; buffer = buffer->next) + if (!buffer->used && buffer->size >= size) + break; + + if (!buffer) + { + if ((buffer = malloc(sizeof(_cups_buffer_t) + size - 1)) == NULL) + return (NULL); + + buffer->next = cg->cups_buffers; + buffer->size = size; + cg->cups_buffers = buffer; + } + + buffer->used = 1; + + return (buffer->d); +} + + +/* + * '_cupsBufferRelease()' - Release a read/write buffer. + */ + +void +_cupsBufferRelease(char *b) /* I - Buffer to release */ +{ + _cups_buffer_t *buffer; /* Buffer */ + + + /* + * Mark this buffer as unused... + */ + + buffer = (_cups_buffer_t *)(b - offsetof(_cups_buffer_t, d)); + buffer->used = 0; +} + + +/* + * 'ippAddBoolean()' - Add a boolean attribute to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddBoolean(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + const char *name, /* I - Name of attribute */ + char value) /* I - Value of attribute */ +{ + ipp_attribute_t *attr; /* New attribute */ + + + DEBUG_printf(("ippAddBoolean(ipp=%p, group=%02x(%s), name=\"%s\", value=%d)", (void *)ipp, group, ippTagString(group), name, value)); + + /* + * Range check input... + */ + + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE) + return (NULL); + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_BOOLEAN, 1)) == NULL) + return (NULL); + + attr->values[0].boolean = value; + + return (attr); +} + + +/* + * 'ippAddBooleans()' - Add an array of boolean values. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddBooleans(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + const char *name, /* I - Name of attribute */ + int num_values, /* I - Number of values */ + const char *values) /* I - Values */ +{ + int i; /* Looping var */ + ipp_attribute_t *attr; /* New attribute */ + _ipp_value_t *value; /* Current value */ + + + DEBUG_printf(("ippAddBooleans(ipp=%p, group=%02x(%s), name=\"%s\", num_values=%d, values=%p)", (void *)ipp, group, ippTagString(group), name, num_values, (void *)values)); + + /* + * Range check input... + */ + + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + num_values < 1) + return (NULL); + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_BOOLEAN, num_values)) == NULL) + return (NULL); + + if (values) + { + for (i = num_values, value = attr->values; + i > 0; + i --, value ++) + value->boolean = *values++; + } + + return (attr); +} + + +/* + * 'ippAddCollection()' - Add a collection value. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddCollection(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + const char *name, /* I - Name of attribute */ + ipp_t *value) /* I - Value */ +{ + ipp_attribute_t *attr; /* New attribute */ + + + DEBUG_printf(("ippAddCollection(ipp=%p, group=%02x(%s), name=\"%s\", value=%p)", (void *)ipp, group, ippTagString(group), name, (void *)value)); + + /* + * Range check input... + */ + + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE) + return (NULL); + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_BEGIN_COLLECTION, 1)) == NULL) + return (NULL); + + attr->values[0].collection = value; + + if (value) + value->use ++; + + return (attr); +} + + +/* + * 'ippAddCollections()' - Add an array of collection values. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddCollections( + ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + const char *name, /* I - Name of attribute */ + int num_values, /* I - Number of values */ + const ipp_t **values) /* I - Values */ +{ + int i; /* Looping var */ + ipp_attribute_t *attr; /* New attribute */ + _ipp_value_t *value; /* Current value */ + + + DEBUG_printf(("ippAddCollections(ipp=%p, group=%02x(%s), name=\"%s\", num_values=%d, values=%p)", (void *)ipp, group, ippTagString(group), name, num_values, (void *)values)); + + /* + * Range check input... + */ + + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + num_values < 1) + return (NULL); + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_BEGIN_COLLECTION, + num_values)) == NULL) + return (NULL); + + if (values) + { + for (i = num_values, value = attr->values; + i > 0; + i --, value ++) + { + value->collection = (ipp_t *)*values++; + value->collection->use ++; + } + } + + return (attr); +} + + +/* + * 'ippAddDate()' - Add a dateTime attribute to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddDate(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + const char *name, /* I - Name of attribute */ + const ipp_uchar_t *value) /* I - Value */ +{ + ipp_attribute_t *attr; /* New attribute */ + + + DEBUG_printf(("ippAddDate(ipp=%p, group=%02x(%s), name=\"%s\", value=%p)", (void *)ipp, group, ippTagString(group), name, (void *)value)); + + /* + * Range check input... + */ + + if (!ipp || !name || !value || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE) + return (NULL); + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_DATE, 1)) == NULL) + return (NULL); + + memcpy(attr->values[0].date, value, 11); + + return (attr); +} + + +/* + * 'ippAddInteger()' - Add a integer attribute to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + * + * Supported values include enum (@code IPP_TAG_ENUM@) and integer + * (@code IPP_TAG_INTEGER@). + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddInteger(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + ipp_tag_t value_tag, /* I - Type of attribute */ + const char *name, /* I - Name of attribute */ + int value) /* I - Value of attribute */ +{ + ipp_attribute_t *attr; /* New attribute */ + + + DEBUG_printf(("ippAddInteger(ipp=%p, group=%02x(%s), type=%02x(%s), name=\"%s\", value=%d)", (void *)ipp, group, ippTagString(group), value_tag, ippTagString(value_tag), name, value)); + + value_tag &= IPP_TAG_CUPS_MASK; + + /* + * Special-case for legacy usage: map out-of-band attributes to new ippAddOutOfBand + * function... + */ + + if (value_tag >= IPP_TAG_UNSUPPORTED_VALUE && value_tag <= IPP_TAG_ADMINDEFINE) + return (ippAddOutOfBand(ipp, group, value_tag, name)); + + /* + * Range check input... + */ + +#if 0 + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + (value_tag != IPP_TAG_INTEGER && value_tag != IPP_TAG_ENUM)) + return (NULL); +#else + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE) + return (NULL); +#endif /* 0 */ + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, value_tag, 1)) == NULL) + return (NULL); + + attr->values[0].integer = value; + + return (attr); +} + + +/* + * 'ippAddIntegers()' - Add an array of integer values. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + * + * Supported values include enum (@code IPP_TAG_ENUM@) and integer + * (@code IPP_TAG_INTEGER@). + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddIntegers(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + ipp_tag_t value_tag, /* I - Type of attribute */ + const char *name, /* I - Name of attribute */ + int num_values, /* I - Number of values */ + const int *values) /* I - Values */ +{ + int i; /* Looping var */ + ipp_attribute_t *attr; /* New attribute */ + _ipp_value_t *value; /* Current value */ + + + DEBUG_printf(("ippAddIntegers(ipp=%p, group=%02x(%s), type=%02x(%s), name=\"%s\", num_values=%d, values=%p)", (void *)ipp, group, ippTagString(group), value_tag, ippTagString(value_tag), name, num_values, (void *)values)); + + value_tag &= IPP_TAG_CUPS_MASK; + + /* + * Range check input... + */ + +#if 0 + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + (value_tag != IPP_TAG_INTEGER && value_tag != IPP_TAG_ENUM) || + num_values < 1) + return (NULL); +#else + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + num_values < 1) + return (NULL); +#endif /* 0 */ + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, value_tag, num_values)) == NULL) + return (NULL); + + if (values) + { + for (i = num_values, value = attr->values; + i > 0; + i --, value ++) + value->integer = *values++; + } + + return (attr); +} + + +/* + * 'ippAddOctetString()' - Add an octetString value to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddOctetString(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + const char *name, /* I - Name of attribute */ + const void *data, /* I - octetString data */ + int datalen) /* I - Length of data in bytes */ +{ + ipp_attribute_t *attr; /* New attribute */ + + + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + datalen < 0 || datalen > IPP_MAX_LENGTH) + return (NULL); + + if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_STRING, 1)) == NULL) + return (NULL); + + /* + * Initialize the attribute data... + */ + + attr->values[0].unknown.length = datalen; + + if (data) + { + if ((attr->values[0].unknown.data = malloc((size_t)datalen)) == NULL) + { + ippDeleteAttribute(ipp, attr); + return (NULL); + } + + memcpy(attr->values[0].unknown.data, data, (size_t)datalen); + } + + /* + * Return the new attribute... + */ + + return (attr); +} + + +/* + * 'ippAddOutOfBand()' - Add an out-of-band value to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + * + * Supported out-of-band values include unsupported-value + * (@code IPP_TAG_UNSUPPORTED_VALUE@), default (@code IPP_TAG_DEFAULT@), unknown + * (@code IPP_TAG_UNKNOWN@), no-value (@code IPP_TAG_NOVALUE@), not-settable + * (@code IPP_TAG_NOTSETTABLE@), delete-attribute (@code IPP_TAG_DELETEATTR@), and + * admin-define (@code IPP_TAG_ADMINDEFINE@). + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddOutOfBand(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + ipp_tag_t value_tag, /* I - Type of attribute */ + const char *name) /* I - Name of attribute */ +{ + DEBUG_printf(("ippAddOutOfBand(ipp=%p, group=%02x(%s), value_tag=%02x(%s), name=\"%s\")", (void *)ipp, group, ippTagString(group), value_tag, ippTagString(value_tag), name)); + + value_tag &= IPP_TAG_CUPS_MASK; + + /* + * Range check input... + */ + + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + (value_tag != IPP_TAG_UNSUPPORTED_VALUE && + value_tag != IPP_TAG_DEFAULT && + value_tag != IPP_TAG_UNKNOWN && + value_tag != IPP_TAG_NOVALUE && + value_tag != IPP_TAG_NOTSETTABLE && + value_tag != IPP_TAG_DELETEATTR && + value_tag != IPP_TAG_ADMINDEFINE)) + return (NULL); + + /* + * Create the attribute... + */ + + return (ipp_add_attr(ipp, name, group, value_tag, 1)); +} + + +/* + * 'ippAddRange()' - Add a range of values to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + * + * The @code lower@ parameter must be less than or equal to the @code upper@ parameter. + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddRange(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + const char *name, /* I - Name of attribute */ + int lower, /* I - Lower value */ + int upper) /* I - Upper value */ +{ + ipp_attribute_t *attr; /* New attribute */ + + + DEBUG_printf(("ippAddRange(ipp=%p, group=%02x(%s), name=\"%s\", lower=%d, upper=%d)", (void *)ipp, group, ippTagString(group), name, lower, upper)); + + /* + * Range check input... + */ + + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE) + return (NULL); + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_RANGE, 1)) == NULL) + return (NULL); + + attr->values[0].range.lower = lower; + attr->values[0].range.upper = upper; + + return (attr); +} + + +/* + * 'ippAddRanges()' - Add ranges of values to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddRanges(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + const char *name, /* I - Name of attribute */ + int num_values, /* I - Number of values */ + const int *lower, /* I - Lower values */ + const int *upper) /* I - Upper values */ +{ + int i; /* Looping var */ + ipp_attribute_t *attr; /* New attribute */ + _ipp_value_t *value; /* Current value */ + + + DEBUG_printf(("ippAddRanges(ipp=%p, group=%02x(%s), name=\"%s\", num_values=%d, lower=%p, upper=%p)", (void *)ipp, group, ippTagString(group), name, num_values, (void *)lower, (void *)upper)); + + /* + * Range check input... + */ + + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + num_values < 1) + return (NULL); + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_RANGE, num_values)) == NULL) + return (NULL); + + if (lower && upper) + { + for (i = num_values, value = attr->values; + i > 0; + i --, value ++) + { + value->range.lower = *lower++; + value->range.upper = *upper++; + } + } + + return (attr); +} + + +/* + * 'ippAddResolution()' - Add a resolution value to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddResolution(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + const char *name, /* I - Name of attribute */ + ipp_res_t units, /* I - Units for resolution */ + int xres, /* I - X resolution */ + int yres) /* I - Y resolution */ +{ + ipp_attribute_t *attr; /* New attribute */ + + + DEBUG_printf(("ippAddResolution(ipp=%p, group=%02x(%s), name=\"%s\", units=%d, xres=%d, yres=%d)", (void *)ipp, group, + ippTagString(group), name, units, xres, yres)); + + /* + * Range check input... + */ + + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + units < IPP_RES_PER_INCH || units > IPP_RES_PER_CM || + xres < 0 || yres < 0) + return (NULL); + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_RESOLUTION, 1)) == NULL) + return (NULL); + + attr->values[0].resolution.xres = xres; + attr->values[0].resolution.yres = yres; + attr->values[0].resolution.units = units; + + return (attr); +} + + +/* + * 'ippAddResolutions()' - Add resolution values to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddResolutions(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + const char *name, /* I - Name of attribute */ + int num_values,/* I - Number of values */ + ipp_res_t units, /* I - Units for resolution */ + const int *xres, /* I - X resolutions */ + const int *yres) /* I - Y resolutions */ +{ + int i; /* Looping var */ + ipp_attribute_t *attr; /* New attribute */ + _ipp_value_t *value; /* Current value */ + + + DEBUG_printf(("ippAddResolutions(ipp=%p, group=%02x(%s), name=\"%s\", num_value=%d, units=%d, xres=%p, yres=%p)", (void *)ipp, group, ippTagString(group), name, num_values, units, (void *)xres, (void *)yres)); + + /* + * Range check input... + */ + + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + num_values < 1 || + units < IPP_RES_PER_INCH || units > IPP_RES_PER_CM) + return (NULL); + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_RESOLUTION, num_values)) == NULL) + return (NULL); + + if (xres && yres) + { + for (i = num_values, value = attr->values; + i > 0; + i --, value ++) + { + value->resolution.xres = *xres++; + value->resolution.yres = *yres++; + value->resolution.units = units; + } + } + + return (attr); +} + + +/* + * 'ippAddSeparator()' - Add a group separator to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddSeparator(ipp_t *ipp) /* I - IPP message */ +{ + DEBUG_printf(("ippAddSeparator(ipp=%p)", (void *)ipp)); + + /* + * Range check input... + */ + + if (!ipp) + return (NULL); + + /* + * Create the attribute... + */ + + return (ipp_add_attr(ipp, NULL, IPP_TAG_ZERO, IPP_TAG_ZERO, 0)); +} + + +/* + * 'ippAddString()' - Add a language-encoded string to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + * + * Supported string values include charset (@code IPP_TAG_CHARSET@), keyword + * (@code IPP_TAG_KEYWORD@), language (@code IPP_TAG_LANGUAGE@), mimeMediaType + * (@code IPP_TAG_MIMETYPE@), name (@code IPP_TAG_NAME@), nameWithLanguage + * (@code IPP_TAG_NAMELANG), text (@code IPP_TAG_TEXT@), textWithLanguage + * (@code IPP_TAG_TEXTLANG@), uri (@code IPP_TAG_URI@), and uriScheme + * (@code IPP_TAG_URISCHEME@). + * + * The @code language@ parameter must be non-@code NULL@ for nameWithLanguage and + * textWithLanguage string values and must be @code NULL@ for all other string values. + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddString(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + ipp_tag_t value_tag, /* I - Type of attribute */ + const char *name, /* I - Name of attribute */ + const char *language, /* I - Language code */ + const char *value) /* I - Value */ +{ + ipp_tag_t temp_tag; /* Temporary value tag (masked) */ + ipp_attribute_t *attr; /* New attribute */ + char code[IPP_MAX_LANGUAGE]; + /* Charset/language code buffer */ + + + DEBUG_printf(("ippAddString(ipp=%p, group=%02x(%s), value_tag=%02x(%s), name=\"%s\", language=\"%s\", value=\"%s\")", (void *)ipp, group, ippTagString(group), value_tag, ippTagString(value_tag), name, language, value)); + + /* + * Range check input... + */ + + temp_tag = (ipp_tag_t)((int)value_tag & IPP_TAG_CUPS_MASK); + +#if 0 + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + (temp_tag < IPP_TAG_TEXT && temp_tag != IPP_TAG_TEXTLANG && + temp_tag != IPP_TAG_NAMELANG) || temp_tag > IPP_TAG_MIMETYPE) + return (NULL); + + if ((temp_tag == IPP_TAG_TEXTLANG || temp_tag == IPP_TAG_NAMELANG) + != (language != NULL)) + return (NULL); +#else + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE) + return (NULL); +#endif /* 0 */ + + /* + * See if we need to map charset, language, or locale values... + */ + + if (language && ((int)value_tag & IPP_TAG_CUPS_CONST) && + strcmp(language, ipp_lang_code(language, code, sizeof(code)))) + value_tag = temp_tag; /* Don't do a fast copy */ + else if (value && value_tag == (ipp_tag_t)(IPP_TAG_CHARSET | IPP_TAG_CUPS_CONST) && + strcmp(value, ipp_get_code(value, code, sizeof(code)))) + value_tag = temp_tag; /* Don't do a fast copy */ + else if (value && value_tag == (ipp_tag_t)(IPP_TAG_LANGUAGE | IPP_TAG_CUPS_CONST) && + strcmp(value, ipp_lang_code(value, code, sizeof(code)))) + value_tag = temp_tag; /* Don't do a fast copy */ + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, value_tag, 1)) == NULL) + return (NULL); + + /* + * Initialize the attribute data... + */ + + if ((int)value_tag & IPP_TAG_CUPS_CONST) + { + attr->values[0].string.language = (char *)language; + attr->values[0].string.text = (char *)value; + } + else + { + if (language) + attr->values[0].string.language = _cupsStrAlloc(ipp_lang_code(language, code, + sizeof(code))); + + if (value) + { + if (value_tag == IPP_TAG_CHARSET) + attr->values[0].string.text = _cupsStrAlloc(ipp_get_code(value, code, + sizeof(code))); + else if (value_tag == IPP_TAG_LANGUAGE) + attr->values[0].string.text = _cupsStrAlloc(ipp_lang_code(value, code, + sizeof(code))); + else + attr->values[0].string.text = _cupsStrAlloc(value); + } + } + + return (attr); +} + + +/* + * 'ippAddStringf()' - Add a formatted string to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document + * (@code IPP_TAG_DOCUMENT@), event notification + * (@code IPP_TAG_EVENT_NOTIFICATION@), operation (@code IPP_TAG_OPERATION@), + * printer (@code IPP_TAG_PRINTER@), subscription (@code IPP_TAG_SUBSCRIPTION@), + * or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + * + * Supported string values include charset (@code IPP_TAG_CHARSET@), keyword + * (@code IPP_TAG_KEYWORD@), language (@code IPP_TAG_LANGUAGE@), mimeMediaType + * (@code IPP_TAG_MIMETYPE@), name (@code IPP_TAG_NAME@), nameWithLanguage + * (@code IPP_TAG_NAMELANG), text (@code IPP_TAG_TEXT@), textWithLanguage + * (@code IPP_TAG_TEXTLANG@), uri (@code IPP_TAG_URI@), and uriScheme + * (@code IPP_TAG_URISCHEME@). + * + * The @code language@ parameter must be non-@code NULL@ for nameWithLanguage + * and textWithLanguage string values and must be @code NULL@ for all other + * string values. + * + * The @code format@ parameter uses formatting characters compatible with the + * printf family of standard functions. Additional arguments follow it as + * needed. The formatted string is truncated as needed to the maximum length of + * the corresponding value type. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddStringf(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + ipp_tag_t value_tag, /* I - Type of attribute */ + const char *name, /* I - Name of attribute */ + const char *language, /* I - Language code (@code NULL@ for default) */ + const char *format, /* I - Printf-style format string */ + ...) /* I - Additional arguments as needed */ +{ + ipp_attribute_t *attr; /* New attribute */ + va_list ap; /* Argument pointer */ + + + va_start(ap, format); + attr = ippAddStringfv(ipp, group, value_tag, name, language, format, ap); + va_end(ap); + + return (attr); +} + + +/* + * 'ippAddStringfv()' - Add a formatted string to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document + * (@code IPP_TAG_DOCUMENT@), event notification + * (@code IPP_TAG_EVENT_NOTIFICATION@), operation (@code IPP_TAG_OPERATION@), + * printer (@code IPP_TAG_PRINTER@), subscription (@code IPP_TAG_SUBSCRIPTION@), + * or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + * + * Supported string values include charset (@code IPP_TAG_CHARSET@), keyword + * (@code IPP_TAG_KEYWORD@), language (@code IPP_TAG_LANGUAGE@), mimeMediaType + * (@code IPP_TAG_MIMETYPE@), name (@code IPP_TAG_NAME@), nameWithLanguage + * (@code IPP_TAG_NAMELANG), text (@code IPP_TAG_TEXT@), textWithLanguage + * (@code IPP_TAG_TEXTLANG@), uri (@code IPP_TAG_URI@), and uriScheme + * (@code IPP_TAG_URISCHEME@). + * + * The @code language@ parameter must be non-@code NULL@ for nameWithLanguage + * and textWithLanguage string values and must be @code NULL@ for all other + * string values. + * + * The @code format@ parameter uses formatting characters compatible with the + * printf family of standard functions. Additional arguments are passed in the + * stdarg pointer @code ap@. The formatted string is truncated as needed to the + * maximum length of the corresponding value type. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddStringfv(ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + ipp_tag_t value_tag, /* I - Type of attribute */ + const char *name, /* I - Name of attribute */ + const char *language, /* I - Language code (@code NULL@ for default) */ + const char *format, /* I - Printf-style format string */ + va_list ap) /* I - Additional arguments */ +{ + char buffer[IPP_MAX_TEXT + 4]; + /* Formatted text string */ + ssize_t bytes, /* Length of formatted value */ + max_bytes; /* Maximum number of bytes for value */ + + + /* + * Range check input... + */ + + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + (value_tag < IPP_TAG_TEXT && value_tag != IPP_TAG_TEXTLANG && + value_tag != IPP_TAG_NAMELANG) || value_tag > IPP_TAG_MIMETYPE || + !format) + return (NULL); + + if ((value_tag == IPP_TAG_TEXTLANG || value_tag == IPP_TAG_NAMELANG) + != (language != NULL)) + return (NULL); + + /* + * Format the string... + */ + + if (!strcmp(format, "%s")) + { + /* + * Optimize the simple case... + */ + + const char *s = va_arg(ap, char *); + + if (!s) + s = "(null)"; + + bytes = (ssize_t)strlen(s); + strlcpy(buffer, s, sizeof(buffer)); + } + else + { + /* + * Do a full formatting of the message... + */ + + if ((bytes = vsnprintf(buffer, sizeof(buffer), format, ap)) < 0) + return (NULL); + } + + /* + * Limit the length of the string... + */ + + switch (value_tag) + { + default : + case IPP_TAG_TEXT : + case IPP_TAG_TEXTLANG : + max_bytes = IPP_MAX_TEXT; + break; + + case IPP_TAG_NAME : + case IPP_TAG_NAMELANG : + max_bytes = IPP_MAX_NAME; + break; + + case IPP_TAG_CHARSET : + max_bytes = IPP_MAX_CHARSET; + break; + + case IPP_TAG_KEYWORD : + max_bytes = IPP_MAX_KEYWORD; + break; + + case IPP_TAG_LANGUAGE : + max_bytes = IPP_MAX_LANGUAGE; + break; + + case IPP_TAG_MIMETYPE : + max_bytes = IPP_MAX_MIMETYPE; + break; + + case IPP_TAG_URI : + max_bytes = IPP_MAX_URI; + break; + + case IPP_TAG_URISCHEME : + max_bytes = IPP_MAX_URISCHEME; + break; + } + + if (bytes >= max_bytes) + { + char *bufmax, /* Buffer at max_bytes */ + *bufptr; /* Pointer into buffer */ + + bufptr = buffer + strlen(buffer) - 1; + bufmax = buffer + max_bytes - 1; + + while (bufptr > bufmax) + { + if (*bufptr & 0x80) + { + while ((*bufptr & 0xc0) == 0x80 && bufptr > buffer) + bufptr --; + } + + bufptr --; + } + + *bufptr = '\0'; + } + + /* + * Add the formatted string and return... + */ + + return (ippAddString(ipp, group, value_tag, name, language, buffer)); +} + + +/* + * 'ippAddStrings()' - Add language-encoded strings to an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + * + * Supported string values include charset (@code IPP_TAG_CHARSET@), keyword + * (@code IPP_TAG_KEYWORD@), language (@code IPP_TAG_LANGUAGE@), mimeMediaType + * (@code IPP_TAG_MIMETYPE@), name (@code IPP_TAG_NAME@), nameWithLanguage + * (@code IPP_TAG_NAMELANG), text (@code IPP_TAG_TEXT@), textWithLanguage + * (@code IPP_TAG_TEXTLANG@), uri (@code IPP_TAG_URI@), and uriScheme + * (@code IPP_TAG_URISCHEME@). + * + * The @code language@ parameter must be non-@code NULL@ for nameWithLanguage and + * textWithLanguage string values and must be @code NULL@ for all other string values. + */ + +ipp_attribute_t * /* O - New attribute */ +ippAddStrings( + ipp_t *ipp, /* I - IPP message */ + ipp_tag_t group, /* I - IPP group */ + ipp_tag_t value_tag, /* I - Type of attribute */ + const char *name, /* I - Name of attribute */ + int num_values, /* I - Number of values */ + const char *language, /* I - Language code (@code NULL@ for default) */ + const char * const *values) /* I - Values */ +{ + int i; /* Looping var */ + ipp_tag_t temp_tag; /* Temporary value tag (masked) */ + ipp_attribute_t *attr; /* New attribute */ + _ipp_value_t *value; /* Current value */ + char code[32]; /* Language/charset value buffer */ + + + DEBUG_printf(("ippAddStrings(ipp=%p, group=%02x(%s), value_tag=%02x(%s), name=\"%s\", num_values=%d, language=\"%s\", values=%p)", (void *)ipp, group, ippTagString(group), value_tag, ippTagString(value_tag), name, num_values, language, (void *)values)); + + /* + * Range check input... + */ + + temp_tag = (ipp_tag_t)((int)value_tag & IPP_TAG_CUPS_MASK); + +#if 0 + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + (temp_tag < IPP_TAG_TEXT && temp_tag != IPP_TAG_TEXTLANG && + temp_tag != IPP_TAG_NAMELANG) || temp_tag > IPP_TAG_MIMETYPE || + num_values < 1) + return (NULL); + + if ((temp_tag == IPP_TAG_TEXTLANG || temp_tag == IPP_TAG_NAMELANG) + != (language != NULL)) + return (NULL); +#else + if (!ipp || !name || group < IPP_TAG_ZERO || + group == IPP_TAG_END || group >= IPP_TAG_UNSUPPORTED_VALUE || + num_values < 1) + return (NULL); +#endif /* 0 */ + + /* + * See if we need to map charset, language, or locale values... + */ + + if (language && ((int)value_tag & IPP_TAG_CUPS_CONST) && + strcmp(language, ipp_lang_code(language, code, sizeof(code)))) + value_tag = temp_tag; /* Don't do a fast copy */ + else if (values && value_tag == (ipp_tag_t)(IPP_TAG_CHARSET | IPP_TAG_CUPS_CONST)) + { + for (i = 0; i < num_values; i ++) + if (strcmp(values[i], ipp_get_code(values[i], code, sizeof(code)))) + { + value_tag = temp_tag; /* Don't do a fast copy */ + break; + } + } + else if (values && value_tag == (ipp_tag_t)(IPP_TAG_LANGUAGE | IPP_TAG_CUPS_CONST)) + { + for (i = 0; i < num_values; i ++) + if (strcmp(values[i], ipp_lang_code(values[i], code, sizeof(code)))) + { + value_tag = temp_tag; /* Don't do a fast copy */ + break; + } + } + + /* + * Create the attribute... + */ + + if ((attr = ipp_add_attr(ipp, name, group, value_tag, num_values)) == NULL) + return (NULL); + + /* + * Initialize the attribute data... + */ + + for (i = num_values, value = attr->values; + i > 0; + i --, value ++) + { + if (language) + { + if (value == attr->values) + { + if ((int)value_tag & IPP_TAG_CUPS_CONST) + value->string.language = (char *)language; + else + value->string.language = _cupsStrAlloc(ipp_lang_code(language, code, + sizeof(code))); + } + else + value->string.language = attr->values[0].string.language; + } + + if (values) + { + if ((int)value_tag & IPP_TAG_CUPS_CONST) + value->string.text = (char *)*values++; + else if (value_tag == IPP_TAG_CHARSET) + value->string.text = _cupsStrAlloc(ipp_get_code(*values++, code, sizeof(code))); + else if (value_tag == IPP_TAG_LANGUAGE) + value->string.text = _cupsStrAlloc(ipp_lang_code(*values++, code, sizeof(code))); + else + value->string.text = _cupsStrAlloc(*values++); + } + } + + return (attr); +} + + +/* + * 'ippContainsInteger()' - Determine whether an attribute contains the + * specified value or is within the list of ranges. + * + * Returns non-zero when the attribute contains either a matching integer or + * enum value, or the value falls within one of the rangeOfInteger values for + * the attribute. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - 1 on a match, 0 on no match */ +ippContainsInteger( + ipp_attribute_t *attr, /* I - Attribute */ + int value) /* I - Integer/enum value */ +{ + int i; /* Looping var */ + _ipp_value_t *avalue; /* Current attribute value */ + + + /* + * Range check input... + */ + + if (!attr) + return (0); + + if (attr->value_tag != IPP_TAG_INTEGER && attr->value_tag != IPP_TAG_ENUM && + attr->value_tag != IPP_TAG_RANGE) + return (0); + + /* + * Compare... + */ + + if (attr->value_tag == IPP_TAG_RANGE) + { + for (i = attr->num_values, avalue = attr->values; i > 0; i --, avalue ++) + if (value >= avalue->range.lower && value <= avalue->range.upper) + return (1); + } + else + { + for (i = attr->num_values, avalue = attr->values; i > 0; i --, avalue ++) + if (value == avalue->integer) + return (1); + } + + return (0); +} + + +/* + * 'ippContainsString()' - Determine whether an attribute contains the + * specified string value. + * + * Returns non-zero when the attribute contains a matching charset, keyword, + * naturalLanguage, mimeMediaType, name, text, uri, or uriScheme value. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - 1 on a match, 0 on no match */ +ippContainsString( + ipp_attribute_t *attr, /* I - Attribute */ + const char *value) /* I - String value */ +{ + int i; /* Looping var */ + _ipp_value_t *avalue; /* Current attribute value */ + + + DEBUG_printf(("ippContainsString(attr=%p, value=\"%s\")", (void *)attr, value)); + + /* + * Range check input... + */ + + if (!attr || !value) + { + DEBUG_puts("1ippContainsString: Returning 0 (bad input)"); + return (0); + } + + /* + * Compare... + */ + + DEBUG_printf(("1ippContainsString: attr %s, %s with %d values.", + attr->name, ippTagString(attr->value_tag), + attr->num_values)); + + switch (attr->value_tag & IPP_TAG_CUPS_MASK) + { + case IPP_TAG_CHARSET : + case IPP_TAG_KEYWORD : + case IPP_TAG_LANGUAGE : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + for (i = attr->num_values, avalue = attr->values; + i > 0; + i --, avalue ++) + { + DEBUG_printf(("1ippContainsString: value[%d]=\"%s\"", + attr->num_values - i, avalue->string.text)); + + if (!strcmp(value, avalue->string.text)) + { + DEBUG_puts("1ippContainsString: Returning 1 (match)"); + return (1); + } + } + + case IPP_TAG_MIMETYPE : + case IPP_TAG_NAME : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_TEXTLANG : + for (i = attr->num_values, avalue = attr->values; + i > 0; + i --, avalue ++) + { + DEBUG_printf(("1ippContainsString: value[%d]=\"%s\"", + attr->num_values - i, avalue->string.text)); + + if (!_cups_strcasecmp(value, avalue->string.text)) + { + DEBUG_puts("1ippContainsString: Returning 1 (match)"); + return (1); + } + } + + default : + break; + } + + DEBUG_puts("1ippContainsString: Returning 0 (no match)"); + + return (0); +} + + +/* + * 'ippCopyAttribute()' - Copy an attribute. + * + * The specified attribute, @code attr@, is copied to the destination IPP message. + * When @code quickcopy@ is non-zero, a "shallow" reference copy of the attribute is + * created - this should only be done as long as the original source IPP message will + * not be freed for the life of the destination. + * + * @since CUPS 1.6/macOS 10.8@ + */ + + +ipp_attribute_t * /* O - New attribute */ +ippCopyAttribute( + ipp_t *dst, /* I - Destination IPP message */ + ipp_attribute_t *srcattr, /* I - Attribute to copy */ + int quickcopy) /* I - 1 for a referenced copy, 0 for normal */ +{ + int i; /* Looping var */ + ipp_tag_t srctag; /* Source value tag */ + ipp_attribute_t *dstattr; /* Destination attribute */ + _ipp_value_t *srcval, /* Source value */ + *dstval; /* Destination value */ + + + DEBUG_printf(("ippCopyAttribute(dst=%p, srcattr=%p, quickcopy=%d)", (void *)dst, (void *)srcattr, quickcopy)); + + /* + * Range check input... + */ + + if (!dst || !srcattr) + return (NULL); + + /* + * Copy it... + */ + + quickcopy = (quickcopy && (srcattr->value_tag & IPP_TAG_CUPS_CONST)) ? IPP_TAG_CUPS_CONST : 0; + srctag = srcattr->value_tag & IPP_TAG_CUPS_MASK; + + switch (srctag) + { + case IPP_TAG_ZERO : + dstattr = ippAddSeparator(dst); + break; + + case IPP_TAG_UNSUPPORTED_VALUE : + case IPP_TAG_DEFAULT : + case IPP_TAG_UNKNOWN : + case IPP_TAG_NOVALUE : + case IPP_TAG_NOTSETTABLE : + case IPP_TAG_DELETEATTR : + case IPP_TAG_ADMINDEFINE : + dstattr = ippAddOutOfBand(dst, srcattr->group_tag, srctag, srcattr->name); + break; + + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + case IPP_TAG_BOOLEAN : + case IPP_TAG_DATE : + case IPP_TAG_RESOLUTION : + case IPP_TAG_RANGE : + if ((dstattr = ipp_add_attr(dst, srcattr->name, srcattr->group_tag, srctag, srcattr->num_values)) != NULL) + memcpy(dstattr->values, srcattr->values, (size_t)srcattr->num_values * sizeof(_ipp_value_t)); + break; + + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_RESERVED_STRING : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + if ((dstattr = ippAddStrings(dst, srcattr->group_tag, (ipp_tag_t)(srctag | quickcopy), srcattr->name, srcattr->num_values, NULL, NULL)) == NULL) + break; + + if (quickcopy) + { + /* + * Can safely quick-copy these string values... + */ + + memcpy(dstattr->values, srcattr->values, (size_t)srcattr->num_values * sizeof(_ipp_value_t)); + } + else + { + /* + * Otherwise do a normal reference counted copy... + */ + + for (i = srcattr->num_values, srcval = srcattr->values, dstval = dstattr->values; i > 0; i --, srcval ++, dstval ++) + dstval->string.text = _cupsStrAlloc(srcval->string.text); + } + break; + + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + if ((dstattr = ippAddStrings(dst, srcattr->group_tag, (ipp_tag_t)(srctag | quickcopy), srcattr->name, srcattr->num_values, NULL, NULL)) == NULL) + break; + + if (quickcopy) + { + /* + * Can safely quick-copy these string values... + */ + + memcpy(dstattr->values, srcattr->values, (size_t)srcattr->num_values * sizeof(_ipp_value_t)); + } + else if (srcattr->value_tag & IPP_TAG_CUPS_CONST) + { + /* + * Otherwise do a normal reference counted copy... + */ + + for (i = srcattr->num_values, srcval = srcattr->values, dstval = dstattr->values; i > 0; i --, srcval ++, dstval ++) + { + if (srcval == srcattr->values) + dstval->string.language = _cupsStrAlloc(srcval->string.language); + else + dstval->string.language = dstattr->values[0].string.language; + + dstval->string.text = _cupsStrAlloc(srcval->string.text); + } + } + break; + + case IPP_TAG_BEGIN_COLLECTION : + if ((dstattr = ippAddCollections(dst, srcattr->group_tag, srcattr->name, srcattr->num_values, NULL)) == NULL) + break; + + for (i = srcattr->num_values, srcval = srcattr->values, dstval = dstattr->values; i > 0; i --, srcval ++, dstval ++) + { + dstval->collection = srcval->collection; + srcval->collection->use ++; + } + break; + + case IPP_TAG_STRING : + default : + if ((dstattr = ipp_add_attr(dst, srcattr->name, srcattr->group_tag, srctag, srcattr->num_values)) == NULL) + break; + + for (i = srcattr->num_values, srcval = srcattr->values, dstval = dstattr->values; i > 0; i --, srcval ++, dstval ++) + { + dstval->unknown.length = srcval->unknown.length; + + if (dstval->unknown.length > 0) + { + if ((dstval->unknown.data = malloc((size_t)dstval->unknown.length)) == NULL) + dstval->unknown.length = 0; + else + memcpy(dstval->unknown.data, srcval->unknown.data, (size_t)dstval->unknown.length); + } + } + break; /* anti-compiler-warning-code */ + } + + return (dstattr); +} + + +/* + * 'ippCopyAttributes()' - Copy attributes from one IPP message to another. + * + * Zero or more attributes are copied from the source IPP message, @code src@, to the + * destination IPP message, @code dst@. When @code quickcopy@ is non-zero, a "shallow" + * reference copy of the attribute is created - this should only be done as long as the + * original source IPP message will not be freed for the life of the destination. + * + * The @code cb@ and @code context@ parameters provide a generic way to "filter" the + * attributes that are copied - the function must return 1 to copy the attribute or + * 0 to skip it. The function may also choose to do a partial copy of the source attribute + * itself. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on error */ +ippCopyAttributes( + ipp_t *dst, /* I - Destination IPP message */ + ipp_t *src, /* I - Source IPP message */ + int quickcopy, /* I - 1 for a referenced copy, 0 for normal */ + ipp_copycb_t cb, /* I - Copy callback or @code NULL@ for none */ + void *context) /* I - Context pointer */ +{ + ipp_attribute_t *srcattr; /* Source attribute */ + + + DEBUG_printf(("ippCopyAttributes(dst=%p, src=%p, quickcopy=%d, cb=%p, context=%p)", (void *)dst, (void *)src, quickcopy, (void *)cb, context)); + + /* + * Range check input... + */ + + if (!dst || !src) + return (0); + + /* + * Loop through source attributes and copy as needed... + */ + + for (srcattr = src->attrs; srcattr; srcattr = srcattr->next) + if (!cb || (*cb)(context, dst, srcattr)) + if (!ippCopyAttribute(dst, srcattr, quickcopy)) + return (0); + + return (1); +} + + +/* + * 'ippDateToTime()' - Convert from RFC 2579 Date/Time format to time in + * seconds. + */ + +time_t /* O - UNIX time value */ +ippDateToTime(const ipp_uchar_t *date) /* I - RFC 2579 date info */ +{ + struct tm unixdate; /* UNIX date/time info */ + time_t t; /* Computed time */ + + + if (!date) + return (0); + + memset(&unixdate, 0, sizeof(unixdate)); + + /* + * RFC-2579 date/time format is: + * + * Byte(s) Description + * ------- ----------- + * 0-1 Year (0 to 65535) + * 2 Month (1 to 12) + * 3 Day (1 to 31) + * 4 Hours (0 to 23) + * 5 Minutes (0 to 59) + * 6 Seconds (0 to 60, 60 = "leap second") + * 7 Deciseconds (0 to 9) + * 8 +/- UTC + * 9 UTC hours (0 to 11) + * 10 UTC minutes (0 to 59) + */ + + unixdate.tm_year = ((date[0] << 8) | date[1]) - 1900; + unixdate.tm_mon = date[2] - 1; + unixdate.tm_mday = date[3]; + unixdate.tm_hour = date[4]; + unixdate.tm_min = date[5]; + unixdate.tm_sec = date[6]; + + t = mktime(&unixdate); + + if (date[8] == '-') + t += date[9] * 3600 + date[10] * 60; + else + t -= date[9] * 3600 + date[10] * 60; + + return (t); +} + + +/* + * 'ippDelete()' - Delete an IPP message. + */ + +void +ippDelete(ipp_t *ipp) /* I - IPP message */ +{ + ipp_attribute_t *attr, /* Current attribute */ + *next; /* Next attribute */ + + + DEBUG_printf(("ippDelete(ipp=%p)", (void *)ipp)); + + if (!ipp) + return; + + ipp->use --; + if (ipp->use > 0) + { + DEBUG_printf(("4debug_retain: %p IPP message (use=%d)", (void *)ipp, ipp->use)); + return; + } + + DEBUG_printf(("4debug_free: %p IPP message", (void *)ipp)); + + for (attr = ipp->attrs; attr != NULL; attr = next) + { + next = attr->next; + + DEBUG_printf(("4debug_free: %p %s %s%s (%d values)", (void *)attr, attr->name, attr->num_values > 1 ? "1setOf " : "", ippTagString(attr->value_tag), attr->num_values)); + + ipp_free_values(attr, 0, attr->num_values); + + if (attr->name) + _cupsStrFree(attr->name); + + free(attr); + } + + free(ipp); +} + + +/* + * 'ippDeleteAttribute()' - Delete a single attribute in an IPP message. + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +void +ippDeleteAttribute( + ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t *attr) /* I - Attribute to delete */ +{ + ipp_attribute_t *current, /* Current attribute */ + *prev; /* Previous attribute */ + + + DEBUG_printf(("ippDeleteAttribute(ipp=%p, attr=%p(%s))", (void *)ipp, (void *)attr, attr ? attr->name : "(null)")); + + /* + * Range check input... + */ + + if (!attr) + return; + + DEBUG_printf(("4debug_free: %p %s %s%s (%d values)", (void *)attr, attr->name, attr->num_values > 1 ? "1setOf " : "", ippTagString(attr->value_tag), attr->num_values)); + + /* + * Find the attribute in the list... + */ + + if (ipp) + { + for (current = ipp->attrs, prev = NULL; + current; + prev = current, current = current->next) + if (current == attr) + { + /* + * Found it, remove the attribute from the list... + */ + + if (prev) + prev->next = current->next; + else + ipp->attrs = current->next; + + if (current == ipp->last) + ipp->last = prev; + + break; + } + + if (!current) + return; + } + + /* + * Free memory used by the attribute... + */ + + ipp_free_values(attr, 0, attr->num_values); + + if (attr->name) + _cupsStrFree(attr->name); + + free(attr); +} + + +/* + * 'ippDeleteValues()' - Delete values in an attribute. + * + * The @code element@ parameter specifies the first value to delete, starting at + * 0. It must be less than the number of values returned by @link ippGetCount@. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * Deleting all values in an attribute deletes the attribute. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippDeleteValues( + ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - Attribute */ + int element, /* I - Index of first value to delete (0-based) */ + int count) /* I - Number of values to delete */ +{ + /* + * Range check input... + */ + + if (!ipp || !attr || !*attr || + element < 0 || element >= (*attr)->num_values || count <= 0 || + (element + count) >= (*attr)->num_values) + return (0); + + /* + * If we are deleting all values, just delete the attribute entirely. + */ + + if (count == (*attr)->num_values) + { + ippDeleteAttribute(ipp, *attr); + *attr = NULL; + return (1); + } + + /* + * Otherwise free the values in question and return. + */ + + ipp_free_values(*attr, element, count); + + return (1); +} + + +/* + * 'ippFindAttribute()' - Find a named attribute in a request. + * + * Starting with CUPS 2.0, the attribute name can contain a hierarchical list + * of attribute and member names separated by slashes, for example + * "media-col/media-size". + */ + +ipp_attribute_t * /* O - Matching attribute */ +ippFindAttribute(ipp_t *ipp, /* I - IPP message */ + const char *name, /* I - Name of attribute */ + ipp_tag_t type) /* I - Type of attribute */ +{ + DEBUG_printf(("2ippFindAttribute(ipp=%p, name=\"%s\", type=%02x(%s))", (void *)ipp, name, type, ippTagString(type))); + + if (!ipp || !name) + return (NULL); + + /* + * Reset the current pointer... + */ + + ipp->current = NULL; + ipp->atend = 0; + + /* + * Search for the attribute... + */ + + return (ippFindNextAttribute(ipp, name, type)); +} + + +/* + * 'ippFindNextAttribute()' - Find the next named attribute in a request. + * + * Starting with CUPS 2.0, the attribute name can contain a hierarchical list + * of attribute and member names separated by slashes, for example + * "media-col/media-size". + */ + +ipp_attribute_t * /* O - Matching attribute */ +ippFindNextAttribute(ipp_t *ipp, /* I - IPP message */ + const char *name, /* I - Name of attribute */ + ipp_tag_t type) /* I - Type of attribute */ +{ + ipp_attribute_t *attr, /* Current atttribute */ + *childattr; /* Child attribute */ + ipp_tag_t value_tag; /* Value tag */ + char parent[1024], /* Parent attribute name */ + *child = NULL; /* Child attribute name */ + + + DEBUG_printf(("2ippFindNextAttribute(ipp=%p, name=\"%s\", type=%02x(%s))", (void *)ipp, name, type, ippTagString(type))); + + if (!ipp || !name) + return (NULL); + + DEBUG_printf(("3ippFindNextAttribute: atend=%d", ipp->atend)); + + if (ipp->atend) + return (NULL); + + if (strchr(name, '/')) + { + /* + * Search for child attribute... + */ + + strlcpy(parent, name, sizeof(parent)); + if ((child = strchr(parent, '/')) == NULL) + { + DEBUG_puts("3ippFindNextAttribute: Attribute name too long."); + return (NULL); + } + + *child++ = '\0'; + + if (ipp->current && ipp->current->name && ipp->current->value_tag == IPP_TAG_BEGIN_COLLECTION && !strcmp(parent, ipp->current->name)) + { + while (ipp->curindex < ipp->current->num_values) + { + if ((childattr = ippFindNextAttribute(ipp->current->values[ipp->curindex].collection, child, type)) != NULL) + return (childattr); + + ipp->curindex ++; + if (ipp->curindex < ipp->current->num_values && ipp->current->values[ipp->curindex].collection) + ipp->current->values[ipp->curindex].collection->current = NULL; + } + + ipp->prev = ipp->current; + ipp->current = ipp->current->next; + ipp->curindex = 0; + + if (!ipp->current) + { + ipp->atend = 1; + return (NULL); + } + } + + if (!ipp->current) + { + ipp->prev = NULL; + ipp->current = ipp->attrs; + ipp->curindex = 0; + } + + name = parent; + attr = ipp->current; + } + else if (ipp->current) + { + ipp->prev = ipp->current; + attr = ipp->current->next; + } + else + { + ipp->prev = NULL; + attr = ipp->attrs; + } + + for (; attr != NULL; ipp->prev = attr, attr = attr->next) + { + DEBUG_printf(("4ippFindAttribute: attr=%p, name=\"%s\"", (void *)attr, attr->name)); + + value_tag = (ipp_tag_t)(attr->value_tag & IPP_TAG_CUPS_MASK); + + if (attr->name != NULL && _cups_strcasecmp(attr->name, name) == 0 && + (value_tag == type || type == IPP_TAG_ZERO || name == parent || + (value_tag == IPP_TAG_TEXTLANG && type == IPP_TAG_TEXT) || + (value_tag == IPP_TAG_NAMELANG && type == IPP_TAG_NAME))) + { + ipp->current = attr; + + if (name == parent && attr->value_tag == IPP_TAG_BEGIN_COLLECTION) + { + int i; /* Looping var */ + + for (i = 0; i < attr->num_values; i ++) + { + if ((childattr = ippFindAttribute(attr->values[i].collection, child, type)) != NULL) + { + attr->values[0].collection->curindex = i; + return (childattr); + } + } + } + else + return (attr); + } + } + + ipp->current = NULL; + ipp->prev = NULL; + ipp->atend = 1; + + return (NULL); +} + + +/* + * 'ippFirstAttribute()' - Return the first attribute in the message. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_attribute_t * /* O - First attribute or @code NULL@ if none */ +ippFirstAttribute(ipp_t *ipp) /* I - IPP message */ +{ + /* + * Range check input... + */ + + if (!ipp) + return (NULL); + + /* + * Return the first attribute... + */ + + return (ipp->current = ipp->attrs); +} + + +/* + * 'ippGetBoolean()' - Get a boolean value for an attribute. + * + * The @code element@ parameter specifies which value to get from 0 to + * @code ippGetCount(attr)@ - 1. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - Boolean value or 0 on error */ +ippGetBoolean(ipp_attribute_t *attr, /* I - IPP attribute */ + int element) /* I - Value number (0-based) */ +{ + /* + * Range check input... + */ + + if (!attr || attr->value_tag != IPP_TAG_BOOLEAN || + element < 0 || element >= attr->num_values) + return (0); + + /* + * Return the value... + */ + + return (attr->values[element].boolean); +} + + +/* + * 'ippGetCollection()' - Get a collection value for an attribute. + * + * The @code element@ parameter specifies which value to get from 0 to + * @code ippGetCount(attr)@ - 1. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_t * /* O - Collection value or @code NULL@ on error */ +ippGetCollection( + ipp_attribute_t *attr, /* I - IPP attribute */ + int element) /* I - Value number (0-based) */ +{ + /* + * Range check input... + */ + + if (!attr || attr->value_tag != IPP_TAG_BEGIN_COLLECTION || + element < 0 || element >= attr->num_values) + return (NULL); + + /* + * Return the value... + */ + + return (attr->values[element].collection); +} + + +/* + * 'ippGetCount()' - Get the number of values in an attribute. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - Number of values or 0 on error */ +ippGetCount(ipp_attribute_t *attr) /* I - IPP attribute */ +{ + /* + * Range check input... + */ + + if (!attr) + return (0); + + /* + * Return the number of values... + */ + + return (attr->num_values); +} + + +/* + * 'ippGetDate()' - Get a dateTime value for an attribute. + * + * The @code element@ parameter specifies which value to get from 0 to + * @code ippGetCount(attr)@ - 1. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +const ipp_uchar_t * /* O - dateTime value or @code NULL@ */ +ippGetDate(ipp_attribute_t *attr, /* I - IPP attribute */ + int element) /* I - Value number (0-based) */ +{ + /* + * Range check input... + */ + + if (!attr || attr->value_tag != IPP_TAG_DATE || + element < 0 || element >= attr->num_values) + return (NULL); + + /* + * Return the value... + */ + + return (attr->values[element].date); +} + + +/* + * 'ippGetGroupTag()' - Get the group associated with an attribute. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_tag_t /* O - Group tag or @code IPP_TAG_ZERO@ on error */ +ippGetGroupTag(ipp_attribute_t *attr) /* I - IPP attribute */ +{ + /* + * Range check input... + */ + + if (!attr) + return (IPP_TAG_ZERO); + + /* + * Return the group... + */ + + return (attr->group_tag); +} + + +/* + * 'ippGetInteger()' - Get the integer/enum value for an attribute. + * + * The @code element@ parameter specifies which value to get from 0 to + * @code ippGetCount(attr)@ - 1. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - Value or 0 on error */ +ippGetInteger(ipp_attribute_t *attr, /* I - IPP attribute */ + int element) /* I - Value number (0-based) */ +{ + /* + * Range check input... + */ + + if (!attr || (attr->value_tag != IPP_TAG_INTEGER && attr->value_tag != IPP_TAG_ENUM) || + element < 0 || element >= attr->num_values) + return (0); + + /* + * Return the value... + */ + + return (attr->values[element].integer); +} + + +/* + * 'ippGetName()' - Get the attribute name. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +const char * /* O - Attribute name or @code NULL@ for separators */ +ippGetName(ipp_attribute_t *attr) /* I - IPP attribute */ +{ + /* + * Range check input... + */ + + if (!attr) + return (NULL); + + /* + * Return the name... + */ + + return (attr->name); +} + + +/* + * 'ippGetOctetString()' - Get an octetString value from an IPP attribute. + * + * The @code element@ parameter specifies which value to get from 0 to + * @code ippGetCount(attr)@ - 1. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +void * /* O - Pointer to octetString data */ +ippGetOctetString( + ipp_attribute_t *attr, /* I - IPP attribute */ + int element, /* I - Value number (0-based) */ + int *datalen) /* O - Length of octetString data */ +{ + /* + * Range check input... + */ + + if (!attr || attr->value_tag != IPP_TAG_STRING || + element < 0 || element >= attr->num_values) + { + if (datalen) + *datalen = 0; + + return (NULL); + } + + /* + * Return the values... + */ + + if (datalen) + *datalen = attr->values[element].unknown.length; + + return (attr->values[element].unknown.data); +} + + +/* + * 'ippGetOperation()' - Get the operation ID in an IPP message. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_op_t /* O - Operation ID or 0 on error */ +ippGetOperation(ipp_t *ipp) /* I - IPP request message */ +{ + /* + * Range check input... + */ + + if (!ipp) + return ((ipp_op_t)0); + + /* + * Return the value... + */ + + return (ipp->request.op.operation_id); +} + + +/* + * 'ippGetRange()' - Get a rangeOfInteger value from an attribute. + * + * The @code element@ parameter specifies which value to get from 0 to + * @code ippGetCount(attr)@ - 1. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - Lower value of range or 0 */ +ippGetRange(ipp_attribute_t *attr, /* I - IPP attribute */ + int element, /* I - Value number (0-based) */ + int *uppervalue)/* O - Upper value of range */ +{ + /* + * Range check input... + */ + + if (!attr || attr->value_tag != IPP_TAG_RANGE || + element < 0 || element >= attr->num_values) + { + if (uppervalue) + *uppervalue = 0; + + return (0); + } + + /* + * Return the values... + */ + + if (uppervalue) + *uppervalue = attr->values[element].range.upper; + + return (attr->values[element].range.lower); +} + + +/* + * 'ippGetRequestId()' - Get the request ID from an IPP message. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - Request ID or 0 on error */ +ippGetRequestId(ipp_t *ipp) /* I - IPP message */ +{ + /* + * Range check input... + */ + + if (!ipp) + return (0); + + /* + * Return the request ID... + */ + + return (ipp->request.any.request_id); +} + + +/* + * 'ippGetResolution()' - Get a resolution value for an attribute. + * + * The @code element@ parameter specifies which value to get from 0 to + * @code ippGetCount(attr)@ - 1. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - Horizontal/cross feed resolution or 0 */ +ippGetResolution( + ipp_attribute_t *attr, /* I - IPP attribute */ + int element, /* I - Value number (0-based) */ + int *yres, /* O - Vertical/feed resolution */ + ipp_res_t *units) /* O - Units for resolution */ +{ + /* + * Range check input... + */ + + if (!attr || attr->value_tag != IPP_TAG_RESOLUTION || + element < 0 || element >= attr->num_values) + { + if (yres) + *yres = 0; + + if (units) + *units = (ipp_res_t)0; + + return (0); + } + + /* + * Return the value... + */ + + if (yres) + *yres = attr->values[element].resolution.yres; + + if (units) + *units = attr->values[element].resolution.units; + + return (attr->values[element].resolution.xres); +} + + +/* + * 'ippGetState()' - Get the IPP message state. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_state_t /* O - IPP message state value */ +ippGetState(ipp_t *ipp) /* I - IPP message */ +{ + /* + * Range check input... + */ + + if (!ipp) + return (IPP_STATE_IDLE); + + /* + * Return the value... + */ + + return (ipp->state); +} + + +/* + * 'ippGetStatusCode()' - Get the status code from an IPP response or event message. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_status_t /* O - Status code in IPP message */ +ippGetStatusCode(ipp_t *ipp) /* I - IPP response or event message */ +{ + /* + * Range check input... + */ + + if (!ipp) + return (IPP_STATUS_ERROR_INTERNAL); + + /* + * Return the value... + */ + + return (ipp->request.status.status_code); +} + + +/* + * 'ippGetString()' - Get the string and optionally the language code for an attribute. + * + * The @code element@ parameter specifies which value to get from 0 to + * @code ippGetCount(attr)@ - 1. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +const char * +ippGetString(ipp_attribute_t *attr, /* I - IPP attribute */ + int element, /* I - Value number (0-based) */ + const char **language)/* O - Language code (@code NULL@ for don't care) */ +{ + ipp_tag_t tag; /* Value tag */ + + + /* + * Range check input... + */ + + tag = ippGetValueTag(attr); + + if (!attr || element < 0 || element >= attr->num_values || (tag != IPP_TAG_TEXTLANG && tag != IPP_TAG_NAMELANG && (tag < IPP_TAG_TEXT || tag > IPP_TAG_MIMETYPE))) + return (NULL); + + /* + * Return the value... + */ + + if (language) + *language = attr->values[element].string.language; + + return (attr->values[element].string.text); +} + + +/* + * 'ippGetValueTag()' - Get the value tag for an attribute. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_tag_t /* O - Value tag or @code IPP_TAG_ZERO@ on error */ +ippGetValueTag(ipp_attribute_t *attr) /* I - IPP attribute */ +{ + /* + * Range check input... + */ + + if (!attr) + return (IPP_TAG_ZERO); + + /* + * Return the value... + */ + + return (attr->value_tag & IPP_TAG_CUPS_MASK); +} + + +/* + * 'ippGetVersion()' - Get the major and minor version number from an IPP message. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - Major version number or 0 on error */ +ippGetVersion(ipp_t *ipp, /* I - IPP message */ + int *minor) /* O - Minor version number or @code NULL@ for don't care */ +{ + /* + * Range check input... + */ + + if (!ipp) + { + if (minor) + *minor = 0; + + return (0); + } + + /* + * Return the value... + */ + + if (minor) + *minor = ipp->request.any.version[1]; + + return (ipp->request.any.version[0]); +} + + +/* + * 'ippLength()' - Compute the length of an IPP message. + */ + +size_t /* O - Size of IPP message */ +ippLength(ipp_t *ipp) /* I - IPP message */ +{ + return (ipp_length(ipp, 0)); +} + + +/* + * 'ippNextAttribute()' - Return the next attribute in the message. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +ipp_attribute_t * /* O - Next attribute or @code NULL@ if none */ +ippNextAttribute(ipp_t *ipp) /* I - IPP message */ +{ + /* + * Range check input... + */ + + if (!ipp || !ipp->current) + return (NULL); + + /* + * Return the next attribute... + */ + + return (ipp->current = ipp->current->next); +} + + +/* + * 'ippNew()' - Allocate a new IPP message. + */ + +ipp_t * /* O - New IPP message */ +ippNew(void) +{ + ipp_t *temp; /* New IPP message */ + _cups_globals_t *cg = _cupsGlobals(); + /* Global data */ + + + DEBUG_puts("ippNew()"); + + if ((temp = (ipp_t *)calloc(1, sizeof(ipp_t))) != NULL) + { + /* + * Set default version - usually 2.0... + */ + + DEBUG_printf(("4debug_alloc: %p IPP message", (void *)temp)); + + if (cg->server_version == 0) + _cupsSetDefaults(); + + temp->request.any.version[0] = (ipp_uchar_t)(cg->server_version / 10); + temp->request.any.version[1] = (ipp_uchar_t)(cg->server_version % 10); + temp->use = 1; + } + + DEBUG_printf(("1ippNew: Returning %p", (void *)temp)); + + return (temp); +} + + +/* + * 'ippNewRequest()' - Allocate a new IPP request message. + * + * The new request message is initialized with the "attributes-charset" and + * "attributes-natural-language" attributes added. The + * "attributes-natural-language" value is derived from the current locale. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ipp_t * /* O - IPP request message */ +ippNewRequest(ipp_op_t op) /* I - Operation code */ +{ + ipp_t *request; /* IPP request message */ + cups_lang_t *language; /* Current language localization */ + static int request_id = 0; /* Current request ID */ + static _cups_mutex_t request_mutex = _CUPS_MUTEX_INITIALIZER; + /* Mutex for request ID */ + + + DEBUG_printf(("ippNewRequest(op=%02x(%s))", op, ippOpString(op))); + + /* + * Create a new IPP message... + */ + + if ((request = ippNew()) == NULL) + return (NULL); + + /* + * Set the operation and request ID... + */ + + _cupsMutexLock(&request_mutex); + + request->request.op.operation_id = op; + request->request.op.request_id = ++request_id; + + _cupsMutexUnlock(&request_mutex); + + /* + * Use UTF-8 as the character set... + */ + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_CHARSET, + "attributes-charset", NULL, "utf-8"); + + /* + * Get the language from the current locale... + */ + + language = cupsLangDefault(); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, + "attributes-natural-language", NULL, language->language); + + /* + * Return the new request... + */ + + return (request); +} + + +/* + * 'ippNewResponse()' - Allocate a new IPP response message. + * + * The new response message is initialized with the same "version-number", + * "request-id", "attributes-charset", and "attributes-natural-language" as the + * provided request message. If the "attributes-charset" or + * "attributes-natural-language" attributes are missing from the request, + * 'utf-8' and a value derived from the current locale are substituted, + * respectively. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +ipp_t * /* O - IPP response message */ +ippNewResponse(ipp_t *request) /* I - IPP request message */ +{ + ipp_t *response; /* IPP response message */ + ipp_attribute_t *attr; /* Current attribute */ + + + /* + * Range check input... + */ + + if (!request) + return (NULL); + + /* + * Create a new IPP message... + */ + + if ((response = ippNew()) == NULL) + return (NULL); + + /* + * Copy the request values over to the response... + */ + + response->request.status.version[0] = request->request.op.version[0]; + response->request.status.version[1] = request->request.op.version[1]; + response->request.status.request_id = request->request.op.request_id; + + /* + * The first attribute MUST be attributes-charset... + */ + + attr = request->attrs; + + if (attr && attr->name && !strcmp(attr->name, "attributes-charset") && + attr->group_tag == IPP_TAG_OPERATION && + attr->value_tag == IPP_TAG_CHARSET && + attr->num_values == 1) + { + /* + * Copy charset from request... + */ + + ippAddString(response, IPP_TAG_OPERATION, IPP_TAG_CHARSET, + "attributes-charset", NULL, attr->values[0].string.text); + } + else + { + /* + * Use "utf-8" as the default... + */ + + ippAddString(response, IPP_TAG_OPERATION, IPP_TAG_CHARSET, + "attributes-charset", NULL, "utf-8"); + } + + /* + * Then attributes-natural-language... + */ + + if (attr) + attr = attr->next; + + if (attr && attr->name && + !strcmp(attr->name, "attributes-natural-language") && + attr->group_tag == IPP_TAG_OPERATION && + attr->value_tag == IPP_TAG_LANGUAGE && + attr->num_values == 1) + { + /* + * Copy language from request... + */ + + ippAddString(response, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, + "attributes-natural-language", NULL, + attr->values[0].string.text); + } + else + { + /* + * Use the language from the current locale... + */ + + cups_lang_t *language = cupsLangDefault(); + /* Current locale */ + + ippAddString(response, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, + "attributes-natural-language", NULL, language->language); + } + + return (response); +} + + +/* + * 'ippRead()' - Read data for an IPP message from a HTTP connection. + */ + +ipp_state_t /* O - Current state */ +ippRead(http_t *http, /* I - HTTP connection */ + ipp_t *ipp) /* I - IPP data */ +{ + DEBUG_printf(("ippRead(http=%p, ipp=%p), data_remaining=" CUPS_LLFMT, (void *)http, (void *)ipp, CUPS_LLCAST (http ? http->data_remaining : -1))); + + if (!http) + return (IPP_STATE_ERROR); + + DEBUG_printf(("2ippRead: http->state=%d, http->used=%d", http->state, http->used)); + + return (ippReadIO(http, (ipp_iocb_t)ipp_read_http, http->blocking, NULL, + ipp)); +} + + +/* + * 'ippReadFile()' - Read data for an IPP message from a file. + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +ipp_state_t /* O - Current state */ +ippReadFile(int fd, /* I - HTTP data */ + ipp_t *ipp) /* I - IPP data */ +{ + DEBUG_printf(("ippReadFile(fd=%d, ipp=%p)", fd, (void *)ipp)); + + return (ippReadIO(&fd, (ipp_iocb_t)ipp_read_file, 1, NULL, ipp)); +} + + +/* + * 'ippReadIO()' - Read data for an IPP message. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ipp_state_t /* O - Current state */ +ippReadIO(void *src, /* I - Data source */ + ipp_iocb_t cb, /* I - Read callback function */ + int blocking, /* I - Use blocking IO? */ + ipp_t *parent, /* I - Parent request, if any */ + ipp_t *ipp) /* I - IPP data */ +{ + int n; /* Length of data */ + unsigned char *buffer, /* Data buffer */ + string[IPP_MAX_TEXT], + /* Small string buffer */ + *bufptr; /* Pointer into buffer */ + ipp_attribute_t *attr; /* Current attribute */ + ipp_tag_t tag; /* Current tag */ + ipp_tag_t value_tag; /* Current value tag */ + _ipp_value_t *value; /* Current value */ + + + DEBUG_printf(("ippReadIO(src=%p, cb=%p, blocking=%d, parent=%p, ipp=%p)", (void *)src, (void *)cb, blocking, (void *)parent, (void *)ipp)); + DEBUG_printf(("2ippReadIO: ipp->state=%d", ipp ? ipp->state : IPP_STATE_ERROR)); + + if (!src || !ipp) + return (IPP_STATE_ERROR); + + if ((buffer = (unsigned char *)_cupsBufferGet(IPP_BUF_SIZE)) == NULL) + { + DEBUG_puts("1ippReadIO: Unable to get read buffer."); + return (IPP_STATE_ERROR); + } + + switch (ipp->state) + { + case IPP_STATE_IDLE : + ipp->state ++; /* Avoid common problem... */ + + case IPP_STATE_HEADER : + if (parent == NULL) + { + /* + * Get the request header... + */ + + if ((*cb)(src, buffer, 8) < 8) + { + DEBUG_puts("1ippReadIO: Unable to read header."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + /* + * Then copy the request header over... + */ + + ipp->request.any.version[0] = buffer[0]; + ipp->request.any.version[1] = buffer[1]; + ipp->request.any.op_status = (buffer[2] << 8) | buffer[3]; + ipp->request.any.request_id = (((((buffer[4] << 8) | buffer[5]) << 8) | + buffer[6]) << 8) | buffer[7]; + + DEBUG_printf(("2ippReadIO: version=%d.%d", buffer[0], buffer[1])); + DEBUG_printf(("2ippReadIO: op_status=%04x", + ipp->request.any.op_status)); + DEBUG_printf(("2ippReadIO: request_id=%d", + ipp->request.any.request_id)); + } + + ipp->state = IPP_STATE_ATTRIBUTE; + ipp->current = NULL; + ipp->curtag = IPP_TAG_ZERO; + ipp->prev = ipp->last; + + /* + * If blocking is disabled, stop here... + */ + + if (!blocking) + break; + + case IPP_STATE_ATTRIBUTE : + for (;;) + { + if ((*cb)(src, buffer, 1) < 1) + { + DEBUG_puts("1ippReadIO: Callback returned EOF/error"); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + DEBUG_printf(("2ippReadIO: ipp->current=%p, ipp->prev=%p", (void *)ipp->current, (void *)ipp->prev)); + + /* + * Read this attribute... + */ + + tag = (ipp_tag_t)buffer[0]; + if (tag == IPP_TAG_EXTENSION) + { + /* + * Read 32-bit "extension" tag... + */ + + if ((*cb)(src, buffer, 4) < 1) + { + DEBUG_puts("1ippReadIO: Callback returned EOF/error"); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + tag = (ipp_tag_t)((((((buffer[0] << 8) | buffer[1]) << 8) | + buffer[2]) << 8) | buffer[3]); + + if (tag & IPP_TAG_CUPS_CONST) + { + /* + * Fail if the high bit is set in the tag... + */ + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP extension tag larger than 0x7FFFFFFF."), 1); + DEBUG_printf(("1ippReadIO: bad tag 0x%x.", tag)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + } + + if (tag == IPP_TAG_END) + { + /* + * No more attributes left... + */ + + DEBUG_puts("2ippReadIO: IPP_TAG_END."); + + ipp->state = IPP_STATE_DATA; + break; + } + else if (tag == IPP_TAG_ZERO || (tag == IPP_TAG_OPERATION && ipp->curtag != IPP_TAG_ZERO)) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Invalid group tag."), 1); + DEBUG_printf(("1ippReadIO: bad tag 0x%02x.", tag)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + else if (tag < IPP_TAG_UNSUPPORTED_VALUE) + { + /* + * Group tag... Set the current group and continue... + */ + + if (ipp->curtag == tag) + ipp->prev = ippAddSeparator(ipp); + else if (ipp->current) + ipp->prev = ipp->current; + + ipp->curtag = tag; + ipp->current = NULL; + DEBUG_printf(("2ippReadIO: group tag=%x(%s), ipp->prev=%p", tag, ippTagString(tag), (void *)ipp->prev)); + continue; + } + + DEBUG_printf(("2ippReadIO: value tag=%x(%s)", tag, + ippTagString(tag))); + + /* + * Get the name... + */ + + if ((*cb)(src, buffer, 2) < 2) + { + DEBUG_puts("1ippReadIO: unable to read name length."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + n = (buffer[0] << 8) | buffer[1]; + + if (n >= IPP_BUF_SIZE) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP name larger than 32767 bytes."), 1); + DEBUG_printf(("1ippReadIO: bad name length %d.", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + DEBUG_printf(("2ippReadIO: name length=%d", n)); + + if (n && parent) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Invalid named IPP attribute in collection."), 1); + DEBUG_puts("1ippReadIO: bad attribute name in collection."); + return (IPP_STATE_ERROR); + } + else if (n == 0 && tag != IPP_TAG_MEMBERNAME && tag != IPP_TAG_END_COLLECTION) + { + /* + * More values for current attribute... + */ + + if (ipp->current == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP attribute has no name."), 1); + DEBUG_puts("1ippReadIO: Attribute without name and no current."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + attr = ipp->current; + value_tag = (ipp_tag_t)(attr->value_tag & IPP_TAG_CUPS_MASK); + + /* + * Make sure we aren't adding a new value of a different + * type... + */ + + if (value_tag == IPP_TAG_ZERO) + { + /* + * Setting the value of a collection member... + */ + + attr->value_tag = tag; + } + else if (value_tag == IPP_TAG_TEXTLANG || + value_tag == IPP_TAG_NAMELANG || + (value_tag >= IPP_TAG_TEXT && + value_tag <= IPP_TAG_MIMETYPE)) + { + /* + * String values can sometimes come across in different + * forms; accept sets of differing values... + */ + + if (tag != IPP_TAG_TEXTLANG && tag != IPP_TAG_NAMELANG && + (tag < IPP_TAG_TEXT || tag > IPP_TAG_MIMETYPE) && + tag != IPP_TAG_NOVALUE) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP 1setOf attribute with incompatible value " + "tags."), 1); + DEBUG_printf(("1ippReadIO: 1setOf value tag %x(%s) != %x(%s)", + value_tag, ippTagString(value_tag), tag, + ippTagString(tag))); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if (value_tag != tag) + { + DEBUG_printf(("1ippReadIO: Converting %s attribute from %s to %s.", + attr->name, ippTagString(value_tag), ippTagString(tag))); + ippSetValueTag(ipp, &attr, tag); + } + } + else if (value_tag == IPP_TAG_INTEGER || + value_tag == IPP_TAG_RANGE) + { + /* + * Integer and rangeOfInteger values can sometimes be mixed; accept + * sets of differing values... + */ + + if (tag != IPP_TAG_INTEGER && tag != IPP_TAG_RANGE) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP 1setOf attribute with incompatible value " + "tags."), 1); + DEBUG_printf(("1ippReadIO: 1setOf value tag %x(%s) != %x(%s)", + value_tag, ippTagString(value_tag), tag, + ippTagString(tag))); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if (value_tag == IPP_TAG_INTEGER && tag == IPP_TAG_RANGE) + { + /* + * Convert integer values to rangeOfInteger values... + */ + + DEBUG_printf(("1ippReadIO: Converting %s attribute to " + "rangeOfInteger.", attr->name)); + ippSetValueTag(ipp, &attr, IPP_TAG_RANGE); + } + } + else if (value_tag != tag) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP 1setOf attribute with incompatible value " + "tags."), 1); + DEBUG_printf(("1ippReadIO: value tag %x(%s) != %x(%s)", + value_tag, ippTagString(value_tag), tag, + ippTagString(tag))); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + /* + * Finally, reallocate the attribute array as needed... + */ + + if ((value = ipp_set_value(ipp, &attr, attr->num_values)) == NULL) + { + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + } + else if (tag == IPP_TAG_MEMBERNAME) + { + /* + * Name must be length 0! + */ + + if (n) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP member name is not empty."), 1); + DEBUG_puts("1ippReadIO: member name not empty."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if (ipp->current) + ipp->prev = ipp->current; + + attr = ipp->current = ipp_add_attr(ipp, NULL, ipp->curtag, IPP_TAG_ZERO, 1); + if (!attr) + { + _cupsSetHTTPError(HTTP_STATUS_ERROR); + DEBUG_puts("1ippReadIO: unable to allocate attribute."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + DEBUG_printf(("2ippReadIO: membername, ipp->current=%p, ipp->prev=%p", (void *)ipp->current, (void *)ipp->prev)); + + value = attr->values; + } + else if (tag != IPP_TAG_END_COLLECTION) + { + /* + * New attribute; read the name and add it... + */ + + if ((*cb)(src, buffer, (size_t)n) < n) + { + DEBUG_puts("1ippReadIO: unable to read name."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + buffer[n] = '\0'; + + if (ipp->current) + ipp->prev = ipp->current; + + if ((attr = ipp->current = ipp_add_attr(ipp, (char *)buffer, ipp->curtag, tag, + 1)) == NULL) + { + _cupsSetHTTPError(HTTP_STATUS_ERROR); + DEBUG_puts("1ippReadIO: unable to allocate attribute."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + DEBUG_printf(("2ippReadIO: name=\"%s\", ipp->current=%p, ipp->prev=%p", buffer, (void *)ipp->current, (void *)ipp->prev)); + + value = attr->values; + } + else + { + attr = NULL; + value = NULL; + } + + if ((*cb)(src, buffer, 2) < 2) + { + DEBUG_puts("1ippReadIO: unable to read value length."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + n = (buffer[0] << 8) | buffer[1]; + DEBUG_printf(("2ippReadIO: value length=%d", n)); + + if (n >= IPP_BUF_SIZE) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP value larger than 32767 bytes."), 1); + DEBUG_printf(("1ippReadIO: bad value length %d.", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + switch (tag) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + if (n != 4) + { + if (tag == IPP_TAG_INTEGER) + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP integer value not 4 bytes."), 1); + else + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP enum value not 4 bytes."), 1); + DEBUG_printf(("1ippReadIO: bad integer value length %d.", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if ((*cb)(src, buffer, 4) < 4) + { + DEBUG_puts("1ippReadIO: Unable to read integer value."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + n = (((((buffer[0] << 8) | buffer[1]) << 8) | buffer[2]) << 8) | + buffer[3]; + + if (attr->value_tag == IPP_TAG_RANGE) + value->range.lower = value->range.upper = n; + else + value->integer = n; + break; + + case IPP_TAG_BOOLEAN : + if (n != 1) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP boolean value not 1 byte."), + 1); + DEBUG_printf(("1ippReadIO: bad boolean value length %d.", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if ((*cb)(src, buffer, 1) < 1) + { + DEBUG_puts("1ippReadIO: Unable to read boolean value."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + value->boolean = (char)buffer[0]; + break; + + case IPP_TAG_UNSUPPORTED_VALUE : + case IPP_TAG_DEFAULT : + case IPP_TAG_UNKNOWN : + case IPP_TAG_NOVALUE : + case IPP_TAG_NOTSETTABLE : + case IPP_TAG_DELETEATTR : + case IPP_TAG_ADMINDEFINE : + /* + * These value types are not supposed to have values, however + * some vendors (Brother) do not implement IPP correctly and so + * we need to map non-empty values to text... + */ + + if (attr->value_tag == tag) + { + if (n == 0) + break; + + attr->value_tag = IPP_TAG_TEXT; + } + + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_RESERVED_STRING : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + if (n > 0) + { + if ((*cb)(src, buffer, (size_t)n) < n) + { + DEBUG_puts("1ippReadIO: unable to read string value."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + } + + buffer[n] = '\0'; + value->string.text = _cupsStrAlloc((char *)buffer); + DEBUG_printf(("2ippReadIO: value=\"%s\"", value->string.text)); + break; + + case IPP_TAG_DATE : + if (n != 11) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP date value not 11 bytes."), 1); + DEBUG_printf(("1ippReadIO: bad date value length %d.", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if ((*cb)(src, value->date, 11) < 11) + { + DEBUG_puts("1ippReadIO: Unable to read date value."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + break; + + case IPP_TAG_RESOLUTION : + if (n != 9) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP resolution value not 9 bytes."), 1); + DEBUG_printf(("1ippReadIO: bad resolution value length %d.", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if ((*cb)(src, buffer, 9) < 9) + { + DEBUG_puts("1ippReadIO: Unable to read resolution value."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + value->resolution.xres = + (((((buffer[0] << 8) | buffer[1]) << 8) | buffer[2]) << 8) | + buffer[3]; + value->resolution.yres = + (((((buffer[4] << 8) | buffer[5]) << 8) | buffer[6]) << 8) | + buffer[7]; + value->resolution.units = + (ipp_res_t)buffer[8]; + break; + + case IPP_TAG_RANGE : + if (n != 8) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP rangeOfInteger value not 8 bytes."), 1); + DEBUG_printf(("1ippReadIO: bad rangeOfInteger value length " + "%d.", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if ((*cb)(src, buffer, 8) < 8) + { + DEBUG_puts("1ippReadIO: Unable to read range value."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + value->range.lower = + (((((buffer[0] << 8) | buffer[1]) << 8) | buffer[2]) << 8) | + buffer[3]; + value->range.upper = + (((((buffer[4] << 8) | buffer[5]) << 8) | buffer[6]) << 8) | + buffer[7]; + break; + + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + if (n < 4) + { + if (tag == IPP_TAG_TEXTLANG) + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP textWithLanguage value less than " + "minimum 4 bytes."), 1); + else + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP nameWithLanguage value less than " + "minimum 4 bytes."), 1); + DEBUG_printf(("1ippReadIO: bad stringWithLanguage value " + "length %d.", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if ((*cb)(src, buffer, (size_t)n) < n) + { + DEBUG_puts("1ippReadIO: Unable to read string w/language " + "value."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + + /* + * text-with-language and name-with-language are composite + * values: + * + * language-length + * language + * text-length + * text + */ + + n = (bufptr[0] << 8) | bufptr[1]; + + if ((bufptr + 2 + n) >= (buffer + IPP_BUF_SIZE) || n >= (int)sizeof(string)) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP language length overflows value."), 1); + DEBUG_printf(("1ippReadIO: bad language value length %d.", + n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + else if (n >= IPP_MAX_LANGUAGE) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP language length too large."), 1); + DEBUG_printf(("1ippReadIO: bad language value length %d.", + n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + memcpy(string, bufptr + 2, (size_t)n); + string[n] = '\0'; + + value->string.language = _cupsStrAlloc((char *)string); + + bufptr += 2 + n; + n = (bufptr[0] << 8) | bufptr[1]; + + if ((bufptr + 2 + n) >= (buffer + IPP_BUF_SIZE)) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP string length overflows value."), 1); + DEBUG_printf(("1ippReadIO: bad string value length %d.", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr[2 + n] = '\0'; + value->string.text = _cupsStrAlloc((char *)bufptr + 2); + break; + + case IPP_TAG_BEGIN_COLLECTION : + /* + * Oh, boy, here comes a collection value, so read it... + */ + + value->collection = ippNew(); + + if (n > 0) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP begCollection value not 0 bytes."), 1); + DEBUG_puts("1ippReadIO: begCollection tag with value length " + "> 0."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if (ippReadIO(src, cb, 1, ipp, value->collection) == IPP_STATE_ERROR) + { + DEBUG_puts("1ippReadIO: Unable to read collection value."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + break; + + case IPP_TAG_END_COLLECTION : + _cupsBufferRelease((char *)buffer); + + if (n > 0) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP endCollection value not 0 bytes."), 1); + DEBUG_puts("1ippReadIO: endCollection tag with value length " + "> 0."); + return (IPP_STATE_ERROR); + } + + DEBUG_puts("1ippReadIO: endCollection tag..."); + return (ipp->state = IPP_STATE_DATA); + + case IPP_TAG_MEMBERNAME : + /* + * The value the name of the member in the collection, which + * we need to carry over... + */ + + if (!attr) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP memberName with no attribute."), 1); + DEBUG_puts("1ippReadIO: Member name without attribute."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + else if (n == 0) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP memberName value is empty."), 1); + DEBUG_puts("1ippReadIO: Empty member name value."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + else if ((*cb)(src, buffer, (size_t)n) < n) + { + DEBUG_puts("1ippReadIO: Unable to read member name value."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + buffer[n] = '\0'; + attr->name = _cupsStrAlloc((char *)buffer); + + /* + * Since collection members are encoded differently than + * regular attributes, make sure we don't start with an + * empty value... + */ + + attr->num_values --; + + DEBUG_printf(("2ippReadIO: member name=\"%s\"", attr->name)); + break; + + case IPP_TAG_STRING : + default : /* Other unsupported values */ + if (tag == IPP_TAG_STRING && n > IPP_MAX_LENGTH) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP octetString length too large."), 1); + DEBUG_printf(("1ippReadIO: bad octetString value length %d.", + n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + value->unknown.length = n; + + if (n > 0) + { + if ((value->unknown.data = malloc((size_t)n)) == NULL) + { + _cupsSetHTTPError(HTTP_STATUS_ERROR); + DEBUG_puts("1ippReadIO: Unable to allocate value"); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if ((*cb)(src, value->unknown.data, (size_t)n) < n) + { + DEBUG_puts("1ippReadIO: Unable to read unsupported value."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + } + else + value->unknown.data = NULL; + break; + } + + /* + * If blocking is disabled, stop here... + */ + + if (!blocking) + break; + } + break; + + case IPP_STATE_DATA : + break; + + default : + break; /* anti-compiler-warning-code */ + } + + DEBUG_printf(("1ippReadIO: returning ipp->state=%d.", ipp->state)); + _cupsBufferRelease((char *)buffer); + + return (ipp->state); +} + + +/* + * 'ippSetBoolean()' - Set a boolean value in an attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * The @code element@ parameter specifies which value to set from 0 to + * @code ippGetCount(attr)@. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetBoolean(ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + int element, /* I - Value number (0-based) */ + int boolvalue)/* I - Boolean value */ +{ + _ipp_value_t *value; /* Current value */ + + + /* + * Range check input... + */ + + if (!ipp || !attr || !*attr || (*attr)->value_tag != IPP_TAG_BOOLEAN || + element < 0 || element > (*attr)->num_values) + return (0); + + /* + * Set the value and return... + */ + + if ((value = ipp_set_value(ipp, attr, element)) != NULL) + value->boolean = (char)boolvalue; + + return (value != NULL); +} + + +/* + * 'ippSetCollection()' - Set a collection value in an attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * The @code element@ parameter specifies which value to set from 0 to + * @code ippGetCount(attr)@. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetCollection( + ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + int element, /* I - Value number (0-based) */ + ipp_t *colvalue) /* I - Collection value */ +{ + _ipp_value_t *value; /* Current value */ + + + /* + * Range check input... + */ + + if (!ipp || !attr || !*attr || (*attr)->value_tag != IPP_TAG_BEGIN_COLLECTION || + element < 0 || element > (*attr)->num_values || !colvalue) + return (0); + + /* + * Set the value and return... + */ + + if ((value = ipp_set_value(ipp, attr, element)) != NULL) + { + if (value->collection) + ippDelete(value->collection); + + value->collection = colvalue; + colvalue->use ++; + } + + return (value != NULL); +} + + +/* + * 'ippSetDate()' - Set a dateTime value in an attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * The @code element@ parameter specifies which value to set from 0 to + * @code ippGetCount(attr)@. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetDate(ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + int element, /* I - Value number (0-based) */ + const ipp_uchar_t *datevalue)/* I - dateTime value */ +{ + _ipp_value_t *value; /* Current value */ + + + /* + * Range check input... + */ + + if (!ipp || !attr || !*attr || ((*attr)->value_tag != IPP_TAG_DATE && (*attr)->value_tag != IPP_TAG_NOVALUE && (*attr)->value_tag != IPP_TAG_UNKNOWN) || element < 0 || element > (*attr)->num_values || !datevalue) + return (0); + + /* + * Set the value and return... + */ + + if ((value = ipp_set_value(ipp, attr, element)) != NULL) + memcpy(value->date, datevalue, sizeof(value->date)); + + return (value != NULL); +} + + +/* + * 'ippSetGroupTag()' - Set the group tag of an attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * The @code group@ parameter specifies the IPP attribute group tag: none + * (@code IPP_TAG_ZERO@, for member attributes), document (@code IPP_TAG_DOCUMENT@), + * event notification (@code IPP_TAG_EVENT_NOTIFICATION@), operation + * (@code IPP_TAG_OPERATION@), printer (@code IPP_TAG_PRINTER@), subscription + * (@code IPP_TAG_SUBSCRIPTION@), or unsupported (@code IPP_TAG_UNSUPPORTED_GROUP@). + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetGroupTag( + ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - Attribute */ + ipp_tag_t group_tag) /* I - Group tag */ +{ + /* + * Range check input - group tag must be 0x01 to 0x0F, per RFC 8011... + */ + + if (!ipp || !attr || !*attr || + group_tag < IPP_TAG_ZERO || group_tag == IPP_TAG_END || + group_tag >= IPP_TAG_UNSUPPORTED_VALUE) + return (0); + + /* + * Set the group tag and return... + */ + + (*attr)->group_tag = group_tag; + + return (1); +} + + +/* + * 'ippSetInteger()' - Set an integer or enum value in an attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * The @code element@ parameter specifies which value to set from 0 to + * @code ippGetCount(attr)@. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetInteger(ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + int element, /* I - Value number (0-based) */ + int intvalue) /* I - Integer/enum value */ +{ + _ipp_value_t *value; /* Current value */ + + + /* + * Range check input... + */ + + if (!ipp || !attr || !*attr || ((*attr)->value_tag != IPP_TAG_INTEGER && (*attr)->value_tag != IPP_TAG_ENUM && (*attr)->value_tag != IPP_TAG_NOVALUE && (*attr)->value_tag != IPP_TAG_UNKNOWN) || element < 0 || element > (*attr)->num_values) + return (0); + + /* + * Set the value and return... + */ + + if ((value = ipp_set_value(ipp, attr, element)) != NULL) + { + if ((*attr)->value_tag != IPP_TAG_ENUM) + (*attr)->value_tag = IPP_TAG_INTEGER; + + value->integer = intvalue; + } + + return (value != NULL); +} + + +/* + * 'ippSetName()' - Set the name of an attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetName(ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + const char *name) /* I - Attribute name */ +{ + char *temp; /* Temporary name value */ + + + /* + * Range check input... + */ + + if (!ipp || !attr || !*attr) + return (0); + + /* + * Set the value and return... + */ + + if ((temp = _cupsStrAlloc(name)) != NULL) + { + if ((*attr)->name) + _cupsStrFree((*attr)->name); + + (*attr)->name = temp; + } + + return (temp != NULL); +} + + +/* + * 'ippSetOctetString()' - Set an octetString value in an IPP attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * The @code element@ parameter specifies which value to set from 0 to + * @code ippGetCount(attr)@. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetOctetString( + ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + int element, /* I - Value number (0-based) */ + const void *data, /* I - Pointer to octetString data */ + int datalen) /* I - Length of octetString data */ +{ + _ipp_value_t *value; /* Current value */ + + + /* + * Range check input... + */ + + if (!ipp || !attr || !*attr || ((*attr)->value_tag != IPP_TAG_STRING && (*attr)->value_tag != IPP_TAG_NOVALUE && (*attr)->value_tag != IPP_TAG_UNKNOWN) || element < 0 || element > (*attr)->num_values || datalen < 0 || datalen > IPP_MAX_LENGTH) + return (0); + + /* + * Set the value and return... + */ + + if ((value = ipp_set_value(ipp, attr, element)) != NULL) + { + if ((int)((*attr)->value_tag) & IPP_TAG_CUPS_CONST) + { + /* + * Just copy the pointer... + */ + + value->unknown.data = (void *)data; + value->unknown.length = datalen; + } + else + { + /* + * Copy the data... + */ + + (*attr)->value_tag = IPP_TAG_STRING; + + if (value->unknown.data) + { + /* + * Free previous data... + */ + + free(value->unknown.data); + + value->unknown.data = NULL; + value->unknown.length = 0; + } + + if (datalen > 0) + { + void *temp; /* Temporary data pointer */ + + if ((temp = malloc((size_t)datalen)) != NULL) + { + memcpy(temp, data, (size_t)datalen); + + value->unknown.data = temp; + value->unknown.length = datalen; + } + else + return (0); + } + } + } + + return (value != NULL); +} + + +/* + * 'ippSetOperation()' - Set the operation ID in an IPP request message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetOperation(ipp_t *ipp, /* I - IPP request message */ + ipp_op_t op) /* I - Operation ID */ +{ + /* + * Range check input... + */ + + if (!ipp) + return (0); + + /* + * Set the operation and return... + */ + + ipp->request.op.operation_id = op; + + return (1); +} + + +/* + * 'ippSetRange()' - Set a rangeOfInteger value in an attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * The @code element@ parameter specifies which value to set from 0 to + * @code ippGetCount(attr)@. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetRange(ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + int element, /* I - Value number (0-based) */ + int lowervalue, /* I - Lower bound for range */ + int uppervalue) /* I - Upper bound for range */ +{ + _ipp_value_t *value; /* Current value */ + + + /* + * Range check input... + */ + + if (!ipp || !attr || !*attr || ((*attr)->value_tag != IPP_TAG_RANGE && (*attr)->value_tag != IPP_TAG_NOVALUE && (*attr)->value_tag != IPP_TAG_UNKNOWN) || element < 0 || element > (*attr)->num_values || lowervalue > uppervalue) + return (0); + + /* + * Set the value and return... + */ + + if ((value = ipp_set_value(ipp, attr, element)) != NULL) + { + (*attr)->value_tag = IPP_TAG_RANGE; + value->range.lower = lowervalue; + value->range.upper = uppervalue; + } + + return (value != NULL); +} + + +/* + * 'ippSetRequestId()' - Set the request ID in an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code request_id@ parameter must be greater than 0. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetRequestId(ipp_t *ipp, /* I - IPP message */ + int request_id) /* I - Request ID */ +{ + /* + * Range check input; not checking request_id values since ipptool wants to send + * invalid values for conformance testing and a bad request_id does not affect the + * encoding of a message... + */ + + if (!ipp) + return (0); + + /* + * Set the request ID and return... + */ + + ipp->request.any.request_id = request_id; + + return (1); +} + + +/* + * 'ippSetResolution()' - Set a resolution value in an attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * The @code element@ parameter specifies which value to set from 0 to + * @code ippGetCount(attr)@. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetResolution( + ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + int element, /* I - Value number (0-based) */ + ipp_res_t unitsvalue, /* I - Resolution units */ + int xresvalue, /* I - Horizontal/cross feed resolution */ + int yresvalue) /* I - Vertical/feed resolution */ +{ + _ipp_value_t *value; /* Current value */ + + + /* + * Range check input... + */ + + if (!ipp || !attr || !*attr || ((*attr)->value_tag != IPP_TAG_RESOLUTION && (*attr)->value_tag != IPP_TAG_NOVALUE && (*attr)->value_tag != IPP_TAG_UNKNOWN) || element < 0 || element > (*attr)->num_values || xresvalue <= 0 || yresvalue <= 0 || unitsvalue < IPP_RES_PER_INCH || unitsvalue > IPP_RES_PER_CM) + return (0); + + /* + * Set the value and return... + */ + + if ((value = ipp_set_value(ipp, attr, element)) != NULL) + { + (*attr)->value_tag = IPP_TAG_RESOLUTION; + value->resolution.units = unitsvalue; + value->resolution.xres = xresvalue; + value->resolution.yres = yresvalue; + } + + return (value != NULL); +} + + +/* + * 'ippSetState()' - Set the current state of the IPP message. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetState(ipp_t *ipp, /* I - IPP message */ + ipp_state_t state) /* I - IPP state value */ +{ + /* + * Range check input... + */ + + if (!ipp) + return (0); + + /* + * Set the state and return... + */ + + ipp->state = state; + ipp->current = NULL; + + return (1); +} + + +/* + * 'ippSetStatusCode()' - Set the status code in an IPP response or event message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetStatusCode(ipp_t *ipp, /* I - IPP response or event message */ + ipp_status_t status) /* I - Status code */ +{ + /* + * Range check input... + */ + + if (!ipp) + return (0); + + /* + * Set the status code and return... + */ + + ipp->request.status.status_code = status; + + return (1); +} + + +/* + * 'ippSetString()' - Set a string value in an attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * The @code element@ parameter specifies which value to set from 0 to + * @code ippGetCount(attr)@. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetString(ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + int element, /* I - Value number (0-based) */ + const char *strvalue) /* I - String value */ +{ + char *temp; /* Temporary string */ + _ipp_value_t *value; /* Current value */ + ipp_tag_t value_tag; /* Value tag */ + + + /* + * Range check input... + */ + + if (attr && *attr) + value_tag = (*attr)->value_tag & IPP_TAG_CUPS_MASK; + else + value_tag = IPP_TAG_ZERO; + + if (!ipp || !attr || !*attr || (value_tag < IPP_TAG_TEXT && value_tag != IPP_TAG_TEXTLANG && value_tag != IPP_TAG_NAMELANG && value_tag != IPP_TAG_NOVALUE && value_tag != IPP_TAG_UNKNOWN) || value_tag > IPP_TAG_MIMETYPE || element < 0 || element > (*attr)->num_values || !strvalue) + return (0); + + /* + * Set the value and return... + */ + + if ((value = ipp_set_value(ipp, attr, element)) != NULL) + { + if (value_tag == IPP_TAG_NOVALUE || value_tag == IPP_TAG_UNKNOWN) + (*attr)->value_tag = IPP_TAG_KEYWORD; + + if (element > 0) + value->string.language = (*attr)->values[0].string.language; + + if ((int)((*attr)->value_tag) & IPP_TAG_CUPS_CONST) + value->string.text = (char *)strvalue; + else if ((temp = _cupsStrAlloc(strvalue)) != NULL) + { + if (value->string.text) + _cupsStrFree(value->string.text); + + value->string.text = temp; + } + else + return (0); + } + + return (value != NULL); +} + + +/* + * 'ippSetStringf()' - Set a formatted string value of an attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * The @code element@ parameter specifies which value to set from 0 to + * @code ippGetCount(attr)@. + * + * The @code format@ parameter uses formatting characters compatible with the + * printf family of standard functions. Additional arguments follow it as + * needed. The formatted string is truncated as needed to the maximum length of + * the corresponding value type. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetStringf(ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + int element, /* I - Value number (0-based) */ + const char *format, /* I - Printf-style format string */ + ...) /* I - Additional arguments as needed */ +{ + int ret; /* Return value */ + va_list ap; /* Pointer to additional arguments */ + + + va_start(ap, format); + ret = ippSetStringfv(ipp, attr, element, format, ap); + va_end(ap); + + return (ret); +} + + +/* + * 'ippSetStringf()' - Set a formatted string value of an attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * The @code element@ parameter specifies which value to set from 0 to + * @code ippGetCount(attr)@. + * + * The @code format@ parameter uses formatting characters compatible with the + * printf family of standard functions. Additional arguments follow it as + * needed. The formatted string is truncated as needed to the maximum length of + * the corresponding value type. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetStringfv(ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + int element, /* I - Value number (0-based) */ + const char *format, /* I - Printf-style format string */ + va_list ap) /* I - Pointer to additional arguments */ +{ + ipp_tag_t value_tag; /* Value tag */ + char buffer[IPP_MAX_TEXT + 4]; + /* Formatted text string */ + ssize_t bytes, /* Length of formatted value */ + max_bytes; /* Maximum number of bytes for value */ + + + /* + * Range check input... + */ + + if (attr && *attr) + value_tag = (*attr)->value_tag & IPP_TAG_CUPS_MASK; + else + value_tag = IPP_TAG_ZERO; + + if (!ipp || !attr || !*attr || (value_tag < IPP_TAG_TEXT && value_tag != IPP_TAG_TEXTLANG && value_tag != IPP_TAG_NAMELANG && value_tag != IPP_TAG_NOVALUE && value_tag != IPP_TAG_UNKNOWN) || value_tag > IPP_TAG_MIMETYPE || !format) + return (0); + + /* + * Format the string... + */ + + if (!strcmp(format, "%s")) + { + /* + * Optimize the simple case... + */ + + const char *s = va_arg(ap, char *); + + if (!s) + s = "(null)"; + + bytes = (ssize_t)strlen(s); + strlcpy(buffer, s, sizeof(buffer)); + } + else + { + /* + * Do a full formatting of the message... + */ + + if ((bytes = vsnprintf(buffer, sizeof(buffer), format, ap)) < 0) + return (0); + } + + /* + * Limit the length of the string... + */ + + switch (value_tag) + { + default : + case IPP_TAG_TEXT : + case IPP_TAG_TEXTLANG : + max_bytes = IPP_MAX_TEXT; + break; + + case IPP_TAG_NAME : + case IPP_TAG_NAMELANG : + max_bytes = IPP_MAX_NAME; + break; + + case IPP_TAG_CHARSET : + max_bytes = IPP_MAX_CHARSET; + break; + + case IPP_TAG_NOVALUE : + case IPP_TAG_UNKNOWN : + case IPP_TAG_KEYWORD : + max_bytes = IPP_MAX_KEYWORD; + break; + + case IPP_TAG_LANGUAGE : + max_bytes = IPP_MAX_LANGUAGE; + break; + + case IPP_TAG_MIMETYPE : + max_bytes = IPP_MAX_MIMETYPE; + break; + + case IPP_TAG_URI : + max_bytes = IPP_MAX_URI; + break; + + case IPP_TAG_URISCHEME : + max_bytes = IPP_MAX_URISCHEME; + break; + } + + if (bytes >= max_bytes) + { + char *bufmax, /* Buffer at max_bytes */ + *bufptr; /* Pointer into buffer */ + + bufptr = buffer + strlen(buffer) - 1; + bufmax = buffer + max_bytes - 1; + + while (bufptr > bufmax) + { + if (*bufptr & 0x80) + { + while ((*bufptr & 0xc0) == 0x80 && bufptr > buffer) + bufptr --; + } + + bufptr --; + } + + *bufptr = '\0'; + } + + /* + * Set the formatted string and return... + */ + + return (ippSetString(ipp, attr, element, buffer)); +} + + +/* + * 'ippSetValueTag()' - Set the value tag of an attribute. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The @code attr@ parameter may be modified as a result of setting the value. + * + * Integer (@code IPP_TAG_INTEGER@) values can be promoted to rangeOfInteger + * (@code IPP_TAG_RANGE@) values, the various string tags can be promoted to name + * (@code IPP_TAG_NAME@) or nameWithLanguage (@code IPP_TAG_NAMELANG@) values, text + * (@code IPP_TAG_TEXT@) values can be promoted to textWithLanguage + * (@code IPP_TAG_TEXTLANG@) values, and all values can be demoted to the various + * out-of-band value tags such as no-value (@code IPP_TAG_NOVALUE@). All other changes + * will be rejected. + * + * Promoting a string attribute to nameWithLanguage or textWithLanguage adds the language + * code in the "attributes-natural-language" attribute or, if not present, the language + * code for the current locale. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetValueTag( + ipp_t *ipp, /* I - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + ipp_tag_t value_tag) /* I - Value tag */ +{ + int i; /* Looping var */ + _ipp_value_t *value; /* Current value */ + int integer; /* Current integer value */ + cups_lang_t *language; /* Current language */ + char code[32]; /* Language code */ + ipp_tag_t temp_tag; /* Temporary value tag */ + + + /* + * Range check input... + */ + + if (!ipp || !attr || !*attr) + return (0); + + /* + * If there is no change, return immediately... + */ + + if (value_tag == (*attr)->value_tag) + return (1); + + /* + * Otherwise implement changes as needed... + */ + + temp_tag = (ipp_tag_t)((int)((*attr)->value_tag) & IPP_TAG_CUPS_MASK); + + switch (value_tag) + { + case IPP_TAG_UNSUPPORTED_VALUE : + case IPP_TAG_DEFAULT : + case IPP_TAG_UNKNOWN : + case IPP_TAG_NOVALUE : + case IPP_TAG_NOTSETTABLE : + case IPP_TAG_DELETEATTR : + case IPP_TAG_ADMINDEFINE : + /* + * Free any existing values... + */ + + if ((*attr)->num_values > 0) + ipp_free_values(*attr, 0, (*attr)->num_values); + + /* + * Set out-of-band value... + */ + + (*attr)->value_tag = value_tag; + break; + + case IPP_TAG_RANGE : + if (temp_tag != IPP_TAG_INTEGER) + return (0); + + for (i = (*attr)->num_values, value = (*attr)->values; + i > 0; + i --, value ++) + { + integer = value->integer; + value->range.lower = value->range.upper = integer; + } + + (*attr)->value_tag = IPP_TAG_RANGE; + break; + + case IPP_TAG_NAME : + if (temp_tag != IPP_TAG_KEYWORD) + return (0); + + (*attr)->value_tag = (ipp_tag_t)(IPP_TAG_NAME | ((*attr)->value_tag & IPP_TAG_CUPS_CONST)); + break; + + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXTLANG : + if (value_tag == IPP_TAG_NAMELANG && (temp_tag != IPP_TAG_NAME && temp_tag != IPP_TAG_KEYWORD)) + return (0); + + if (value_tag == IPP_TAG_TEXTLANG && temp_tag != IPP_TAG_TEXT) + return (0); + + if (ipp->attrs && ipp->attrs->next && ipp->attrs->next->name && + !strcmp(ipp->attrs->next->name, "attributes-natural-language") && (ipp->attrs->next->value_tag & IPP_TAG_CUPS_MASK) == IPP_TAG_LANGUAGE) + { + /* + * Use the language code from the IPP message... + */ + + (*attr)->values[0].string.language = + _cupsStrAlloc(ipp->attrs->next->values[0].string.text); + } + else + { + /* + * Otherwise, use the language code corresponding to the locale... + */ + + language = cupsLangDefault(); + (*attr)->values[0].string.language = _cupsStrAlloc(ipp_lang_code(language->language, + code, + sizeof(code))); + } + + for (i = (*attr)->num_values - 1, value = (*attr)->values + 1; + i > 0; + i --, value ++) + value->string.language = (*attr)->values[0].string.language; + + if ((int)(*attr)->value_tag & IPP_TAG_CUPS_CONST) + { + /* + * Make copies of all values... + */ + + for (i = (*attr)->num_values, value = (*attr)->values; + i > 0; + i --, value ++) + value->string.text = _cupsStrAlloc(value->string.text); + } + + (*attr)->value_tag = IPP_TAG_NAMELANG; + break; + + case IPP_TAG_KEYWORD : + if (temp_tag == IPP_TAG_NAME || temp_tag == IPP_TAG_NAMELANG) + break; /* Silently "allow" name -> keyword */ + + default : + return (0); + } + + return (1); +} + + +/* + * 'ippSetVersion()' - Set the version number in an IPP message. + * + * The @code ipp@ parameter refers to an IPP message previously created using + * the @link ippNew@, @link ippNewRequest@, or @link ippNewResponse@ functions. + * + * The valid version numbers are currently 1.0, 1.1, 2.0, 2.1, and 2.2. + * + * @since CUPS 1.6/macOS 10.8@ + */ + +int /* O - 1 on success, 0 on failure */ +ippSetVersion(ipp_t *ipp, /* I - IPP message */ + int major, /* I - Major version number (major.minor) */ + int minor) /* I - Minor version number (major.minor) */ +{ + /* + * Range check input... + */ + + if (!ipp || major < 0 || minor < 0) + return (0); + + /* + * Set the version number... + */ + + ipp->request.any.version[0] = (ipp_uchar_t)major; + ipp->request.any.version[1] = (ipp_uchar_t)minor; + + return (1); +} + + +/* + * 'ippTimeToDate()' - Convert from time in seconds to RFC 2579 format. + */ + +const ipp_uchar_t * /* O - RFC-2579 date/time data */ +ippTimeToDate(time_t t) /* I - Time in seconds */ +{ + struct tm unixdate; /* UNIX unixdate/time info */ + ipp_uchar_t *date = _cupsGlobals()->ipp_date; + /* RFC-2579 date/time data */ + + + /* + * RFC-2579 date/time format is: + * + * Byte(s) Description + * ------- ----------- + * 0-1 Year (0 to 65535) + * 2 Month (1 to 12) + * 3 Day (1 to 31) + * 4 Hours (0 to 23) + * 5 Minutes (0 to 59) + * 6 Seconds (0 to 60, 60 = "leap second") + * 7 Deciseconds (0 to 9) + * 8 +/- UTC + * 9 UTC hours (0 to 11) + * 10 UTC minutes (0 to 59) + */ + + gmtime_r(&t, &unixdate); + unixdate.tm_year += 1900; + + date[0] = (ipp_uchar_t)(unixdate.tm_year >> 8); + date[1] = (ipp_uchar_t)(unixdate.tm_year); + date[2] = (ipp_uchar_t)(unixdate.tm_mon + 1); + date[3] = (ipp_uchar_t)unixdate.tm_mday; + date[4] = (ipp_uchar_t)unixdate.tm_hour; + date[5] = (ipp_uchar_t)unixdate.tm_min; + date[6] = (ipp_uchar_t)unixdate.tm_sec; + date[7] = 0; + date[8] = '+'; + date[9] = 0; + date[10] = 0; + + return (date); +} + + +/* + * 'ippValidateAttribute()' - Validate the contents of an attribute. + * + * This function validates the contents of an attribute based on the name and + * value tag. 1 is returned if the attribute is valid, 0 otherwise. On + * failure, @link cupsLastErrorString@ is set to a human-readable message. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - 1 if valid, 0 otherwise */ +ippValidateAttribute( + ipp_attribute_t *attr) /* I - Attribute */ +{ + int i; /* Looping var */ + char scheme[64], /* Scheme from URI */ + userpass[256], /* Username/password from URI */ + hostname[256], /* Hostname from URI */ + resource[1024]; /* Resource from URI */ + int port, /* Port number from URI */ + uri_status; /* URI separation status */ + const char *ptr; /* Pointer into string */ + ipp_attribute_t *colattr; /* Collection attribute */ + regex_t re; /* Regular expression */ + ipp_uchar_t *date; /* Current date value */ + + + /* + * Skip separators. + */ + + if (!attr->name) + return (1); + + /* + * Validate the attribute name. + */ + + for (ptr = attr->name; *ptr; ptr ++) + if (!isalnum(*ptr & 255) && *ptr != '-' && *ptr != '.' && *ptr != '_') + break; + + if (*ptr || ptr == attr->name) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)."), attr->name); + return (0); + } + + if ((ptr - attr->name) > 255) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)."), attr->name, (int)(ptr - attr->name)); + return (0); + } + + switch (attr->value_tag) + { + case IPP_TAG_INTEGER : + break; + + case IPP_TAG_BOOLEAN : + for (i = 0; i < attr->num_values; i ++) + { + if (attr->values[i].boolean != 0 && + attr->values[i].boolean != 1) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)."), attr->name, attr->values[i].boolean); + return (0); + } + } + break; + + case IPP_TAG_ENUM : + for (i = 0; i < attr->num_values; i ++) + { + if (attr->values[i].integer < 1) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)."), attr->name, attr->values[i].integer); + return (0); + } + } + break; + + case IPP_TAG_STRING : + for (i = 0; i < attr->num_values; i ++) + { + if (attr->values[i].unknown.length > IPP_MAX_OCTETSTRING) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)."), attr->name, attr->values[i].unknown.length); + return (0); + } + } + break; + + case IPP_TAG_DATE : + for (i = 0; i < attr->num_values; i ++) + { + date = attr->values[i].date; + + if (date[2] < 1 || date[2] > 12) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)."), attr->name, date[2]); + return (0); + } + + if (date[3] < 1 || date[3] > 31) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)."), attr->name, date[3]); + return (0); + } + + if (date[4] > 23) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)."), attr->name, date[4]); + return (0); + } + + if (date[5] > 59) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)."), attr->name, date[5]); + return (0); + } + + if (date[6] > 60) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)."), attr->name, date[6]); + return (0); + } + + if (date[7] > 9) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)."), attr->name, date[7]); + return (0); + } + + if (date[8] != '-' && date[8] != '+') + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)."), attr->name, date[8]); + return (0); + } + + if (date[9] > 11) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)."), attr->name, date[9]); + return (0); + } + + if (date[10] > 59) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)."), attr->name, date[10]); + return (0); + } + } + break; + + case IPP_TAG_RESOLUTION : + for (i = 0; i < attr->num_values; i ++) + { + if (attr->values[i].resolution.xres <= 0) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be positive (RFC 8011 section 5.1.16)."), attr->name, attr->values[i].resolution.xres, attr->values[i].resolution.yres, attr->values[i].resolution.units == IPP_RES_PER_INCH ? "dpi" : attr->values[i].resolution.units == IPP_RES_PER_CM ? "dpcm" : "unknown"); + return (0); + } + + if (attr->values[i].resolution.yres <= 0) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC 8011 section 5.1.16)."), attr->name, attr->values[i].resolution.xres, attr->values[i].resolution.yres, attr->values[i].resolution.units == IPP_RES_PER_INCH ? "dpi" : attr->values[i].resolution.units == IPP_RES_PER_CM ? "dpcm" : "unknown"); + return (0); + } + + if (attr->values[i].resolution.units != IPP_RES_PER_INCH && attr->values[i].resolution.units != IPP_RES_PER_CM) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section 5.1.16)."), attr->name, attr->values[i].resolution.xres, attr->values[i].resolution.yres, attr->values[i].resolution.units == IPP_RES_PER_INCH ? "dpi" : attr->values[i].resolution.units == IPP_RES_PER_CM ? "dpcm" : "unknown"); + return (0); + } + } + break; + + case IPP_TAG_RANGE : + for (i = 0; i < attr->num_values; i ++) + { + if (attr->values[i].range.lower > attr->values[i].range.upper) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 section 5.1.14)."), attr->name, attr->values[i].range.lower, attr->values[i].range.upper); + return (0); + } + } + break; + + case IPP_TAG_BEGIN_COLLECTION : + for (i = 0; i < attr->num_values; i ++) + { + for (colattr = attr->values[i].collection->attrs; + colattr; + colattr = colattr->next) + { + if (!ippValidateAttribute(colattr)) + return (0); + } + } + break; + + case IPP_TAG_TEXT : + case IPP_TAG_TEXTLANG : + for (i = 0; i < attr->num_values; i ++) + { + for (ptr = attr->values[i].string.text; *ptr; ptr ++) + { + if ((*ptr & 0xe0) == 0xc0) + { + if ((ptr[1] & 0xc0) != 0x80) + break; + + ptr ++; + } + else if ((*ptr & 0xf0) == 0xe0) + { + if ((ptr[1] & 0xc0) != 0x80 || (ptr[2] & 0xc0) != 0x80) + break; + + ptr += 2; + } + else if ((*ptr & 0xf8) == 0xf0) + { + if ((ptr[1] & 0xc0) != 0x80 || (ptr[2] & 0xc0) != 0x80 || (ptr[3] & 0xc0) != 0x80) + break; + + ptr += 3; + } + else if (*ptr & 0x80) + break; + else if ((*ptr < ' ' && *ptr != '\n' && *ptr != '\r' && *ptr != '\t') || *ptr == 0x7f) + break; + } + + if (*ptr) + { + if (*ptr < ' ' || *ptr == 0x7f) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section 8.3)."), attr->name, attr->values[i].string.text); + return (0); + } + else + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)."), attr->name, attr->values[i].string.text); + return (0); + } + } + + if ((ptr - attr->values[i].string.text) > (IPP_MAX_TEXT - 1)) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)."), attr->name, attr->values[i].string.text, (int)(ptr - attr->values[i].string.text)); + return (0); + } + } + break; + + case IPP_TAG_NAME : + case IPP_TAG_NAMELANG : + for (i = 0; i < attr->num_values; i ++) + { + for (ptr = attr->values[i].string.text; *ptr; ptr ++) + { + if ((*ptr & 0xe0) == 0xc0) + { + if ((ptr[1] & 0xc0) != 0x80) + break; + + ptr ++; + } + else if ((*ptr & 0xf0) == 0xe0) + { + if ((ptr[1] & 0xc0) != 0x80 || (ptr[2] & 0xc0) != 0x80) + break; + + ptr += 2; + } + else if ((*ptr & 0xf8) == 0xf0) + { + if ((ptr[1] & 0xc0) != 0x80 || (ptr[2] & 0xc0) != 0x80 || (ptr[3] & 0xc0) != 0x80) + break; + + ptr += 3; + } + else if (*ptr & 0x80) + break; + else if (*ptr < ' ' || *ptr == 0x7f) + break; + } + + if (*ptr) + { + if (*ptr < ' ' || *ptr == 0x7f) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section 8.1)."), attr->name, attr->values[i].string.text); + return (0); + } + else + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)."), attr->name, attr->values[i].string.text); + return (0); + } + } + + if ((ptr - attr->values[i].string.text) > (IPP_MAX_NAME - 1)) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)."), attr->name, attr->values[i].string.text, (int)(ptr - attr->values[i].string.text)); + return (0); + } + } + break; + + case IPP_TAG_KEYWORD : + for (i = 0; i < attr->num_values; i ++) + { + for (ptr = attr->values[i].string.text; *ptr; ptr ++) + { + if (!isalnum(*ptr & 255) && *ptr != '-' && *ptr != '.' && + *ptr != '_') + break; + } + + if (*ptr || ptr == attr->values[i].string.text) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section 5.1.4)."), attr->name, attr->values[i].string.text); + return (0); + } + + if ((ptr - attr->values[i].string.text) > (IPP_MAX_KEYWORD - 1)) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)."), attr->name, attr->values[i].string.text, (int)(ptr - attr->values[i].string.text)); + return (0); + } + } + break; + + case IPP_TAG_URI : + for (i = 0; i < attr->num_values; i ++) + { + uri_status = httpSeparateURI(HTTP_URI_CODING_ALL, attr->values[i].string.text, scheme, sizeof(scheme), userpass, sizeof(userpass), hostname, sizeof(hostname), &port, resource, sizeof(resource)); + + if (uri_status < HTTP_URI_STATUS_OK) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)."), attr->name, attr->values[i].string.text, httpURIStatusString(uri_status)); + return (0); + } + + if (strlen(attr->values[i].string.text) > (IPP_MAX_URI - 1)) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)."), attr->name, attr->values[i].string.text, (int)strlen(attr->values[i].string.text)); + } + } + break; + + case IPP_TAG_URISCHEME : + for (i = 0; i < attr->num_values; i ++) + { + ptr = attr->values[i].string.text; + if (islower(*ptr & 255)) + { + for (ptr ++; *ptr; ptr ++) + { + if (!islower(*ptr & 255) && !isdigit(*ptr & 255) && + *ptr != '+' && *ptr != '-' && *ptr != '.') + break; + } + } + + if (*ptr || ptr == attr->values[i].string.text) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)."), attr->name, attr->values[i].string.text); + return (0); + } + + if ((ptr - attr->values[i].string.text) > (IPP_MAX_URISCHEME - 1)) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)."), attr->name, attr->values[i].string.text, (int)(ptr - attr->values[i].string.text)); + return (0); + } + } + break; + + case IPP_TAG_CHARSET : + for (i = 0; i < attr->num_values; i ++) + { + for (ptr = attr->values[i].string.text; *ptr; ptr ++) + { + if (!isprint(*ptr & 255) || isupper(*ptr & 255) || + isspace(*ptr & 255)) + break; + } + + if (*ptr || ptr == attr->values[i].string.text) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)."), attr->name, attr->values[i].string.text); + return (0); + } + + if ((ptr - attr->values[i].string.text) > (IPP_MAX_CHARSET - 1)) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)."), attr->name, attr->values[i].string.text, (int)(ptr - attr->values[i].string.text)); + return (0); + } + } + break; + + case IPP_TAG_LANGUAGE : + /* + * The following regular expression is derived from the ABNF for + * language tags in RFC 4646. All I can say is that this is the + * easiest way to check the values... + */ + + if ((i = regcomp(&re, + "^(" + "(([a-z]{2,3}(-[a-z][a-z][a-z]){0,3})|[a-z]{4,8})" + /* language */ + "(-[a-z][a-z][a-z][a-z]){0,1}" /* script */ + "(-([a-z][a-z]|[0-9][0-9][0-9])){0,1}" /* region */ + "(-([a-z]{5,8}|[0-9][0-9][0-9]))*" /* variant */ + "(-[a-wy-z](-[a-z0-9]{2,8})+)*" /* extension */ + "(-x(-[a-z0-9]{1,8})+)*" /* privateuse */ + "|" + "x(-[a-z0-9]{1,8})+" /* privateuse */ + "|" + "[a-z]{1,3}(-[a-z][0-9]{2,8}){1,2}" /* grandfathered */ + ")$", + REG_NOSUB | REG_EXTENDED)) != 0) + { + char temp[256]; /* Temporary error string */ + + regerror(i, &re, temp, sizeof(temp)); + ipp_set_error(IPP_STATUS_ERROR_INTERNAL, _("Unable to compile naturalLanguage regular expression: %s."), temp); + return (0); + } + + for (i = 0; i < attr->num_values; i ++) + { + if (regexec(&re, attr->values[i].string.text, 0, NULL, 0)) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section 5.1.9)."), attr->name, attr->values[i].string.text); + regfree(&re); + return (0); + } + + if (strlen(attr->values[i].string.text) > (IPP_MAX_LANGUAGE - 1)) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section 5.1.9)."), attr->name, attr->values[i].string.text, (int)strlen(attr->values[i].string.text)); + regfree(&re); + return (0); + } + } + + regfree(&re); + break; + + case IPP_TAG_MIMETYPE : + /* + * The following regular expression is derived from the ABNF for + * MIME media types in RFC 2045 and 4288. All I can say is that this is + * the easiest way to check the values... + */ + + if ((i = regcomp(&re, + "^" + "[-a-zA-Z0-9!#$&.+^_]{1,127}" /* type-name */ + "/" + "[-a-zA-Z0-9!#$&.+^_]{1,127}" /* subtype-name */ + "(;[-a-zA-Z0-9!#$&.+^_]{1,127}=" /* parameter= */ + "([-a-zA-Z0-9!#$&.+^_]{1,127}|\"[^\"]*\"))*" + /* value */ + "$", + REG_NOSUB | REG_EXTENDED)) != 0) + { + char temp[256]; /* Temporary error string */ + + regerror(i, &re, temp, sizeof(temp)); + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("Unable to compile mimeMediaType regular expression: %s."), temp); + return (0); + } + + for (i = 0; i < attr->num_values; i ++) + { + if (regexec(&re, attr->values[i].string.text, 0, NULL, 0)) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section 5.1.10)."), attr->name, attr->values[i].string.text); + regfree(&re); + return (0); + } + + if (strlen(attr->values[i].string.text) > (IPP_MAX_MIMETYPE - 1)) + { + ipp_set_error(IPP_STATUS_ERROR_BAD_REQUEST, _("\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section 5.1.10)."), attr->name, attr->values[i].string.text, (int)strlen(attr->values[i].string.text)); + regfree(&re); + return (0); + } + } + + regfree(&re); + break; + + default : + break; + } + + return (1); +} + + +/* + * 'ippValidateAttributes()' - Validate all attributes in an IPP message. + * + * This function validates the contents of the IPP message, including each + * attribute. Like @link ippValidateAttribute@, @link cupsLastErrorString@ is + * set to a human-readable message on failure. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - 1 if valid, 0 otherwise */ +ippValidateAttributes(ipp_t *ipp) /* I - IPP message */ +{ + ipp_attribute_t *attr; /* Current attribute */ + + + if (!ipp) + return (1); + + for (attr = ipp->attrs; attr; attr = attr->next) + if (!ippValidateAttribute(attr)) + return (0); + + return (1); +} + + +/* + * 'ippWrite()' - Write data for an IPP message to a HTTP connection. + */ + +ipp_state_t /* O - Current state */ +ippWrite(http_t *http, /* I - HTTP connection */ + ipp_t *ipp) /* I - IPP data */ +{ + DEBUG_printf(("ippWrite(http=%p, ipp=%p)", (void *)http, (void *)ipp)); + + if (!http) + return (IPP_STATE_ERROR); + + return (ippWriteIO(http, (ipp_iocb_t)httpWrite2, http->blocking, NULL, ipp)); +} + + +/* + * 'ippWriteFile()' - Write data for an IPP message to a file. + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +ipp_state_t /* O - Current state */ +ippWriteFile(int fd, /* I - HTTP data */ + ipp_t *ipp) /* I - IPP data */ +{ + DEBUG_printf(("ippWriteFile(fd=%d, ipp=%p)", fd, (void *)ipp)); + + ipp->state = IPP_STATE_IDLE; + + return (ippWriteIO(&fd, (ipp_iocb_t)ipp_write_file, 1, NULL, ipp)); +} + + +/* + * 'ippWriteIO()' - Write data for an IPP message. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ipp_state_t /* O - Current state */ +ippWriteIO(void *dst, /* I - Destination */ + ipp_iocb_t cb, /* I - Write callback function */ + int blocking, /* I - Use blocking IO? */ + ipp_t *parent, /* I - Parent IPP message */ + ipp_t *ipp) /* I - IPP data */ +{ + int i; /* Looping var */ + int n; /* Length of data */ + unsigned char *buffer, /* Data buffer */ + *bufptr; /* Pointer into buffer */ + ipp_attribute_t *attr; /* Current attribute */ + _ipp_value_t *value; /* Current value */ + + + DEBUG_printf(("ippWriteIO(dst=%p, cb=%p, blocking=%d, parent=%p, ipp=%p)", (void *)dst, (void *)cb, blocking, (void *)parent, (void *)ipp)); + + if (!dst || !ipp) + return (IPP_STATE_ERROR); + + if ((buffer = (unsigned char *)_cupsBufferGet(IPP_BUF_SIZE)) == NULL) + { + DEBUG_puts("1ippWriteIO: Unable to get write buffer"); + return (IPP_STATE_ERROR); + } + + switch (ipp->state) + { + case IPP_STATE_IDLE : + ipp->state ++; /* Avoid common problem... */ + + case IPP_STATE_HEADER : + if (parent == NULL) + { + /* + * Send the request header: + * + * Version = 2 bytes + * Operation/Status Code = 2 bytes + * Request ID = 4 bytes + * Total = 8 bytes + */ + + bufptr = buffer; + + *bufptr++ = ipp->request.any.version[0]; + *bufptr++ = ipp->request.any.version[1]; + *bufptr++ = (ipp_uchar_t)(ipp->request.any.op_status >> 8); + *bufptr++ = (ipp_uchar_t)ipp->request.any.op_status; + *bufptr++ = (ipp_uchar_t)(ipp->request.any.request_id >> 24); + *bufptr++ = (ipp_uchar_t)(ipp->request.any.request_id >> 16); + *bufptr++ = (ipp_uchar_t)(ipp->request.any.request_id >> 8); + *bufptr++ = (ipp_uchar_t)ipp->request.any.request_id; + + DEBUG_printf(("2ippWriteIO: version=%d.%d", buffer[0], buffer[1])); + DEBUG_printf(("2ippWriteIO: op_status=%04x", + ipp->request.any.op_status)); + DEBUG_printf(("2ippWriteIO: request_id=%d", + ipp->request.any.request_id)); + + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP header..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + } + + /* + * Reset the state engine to point to the first attribute + * in the request/response, with no current group. + */ + + ipp->state = IPP_STATE_ATTRIBUTE; + ipp->current = ipp->attrs; + ipp->curtag = IPP_TAG_ZERO; + + DEBUG_printf(("1ippWriteIO: ipp->current=%p", (void *)ipp->current)); + + /* + * If blocking is disabled, stop here... + */ + + if (!blocking) + break; + + case IPP_STATE_ATTRIBUTE : + while (ipp->current != NULL) + { + /* + * Write this attribute... + */ + + bufptr = buffer; + attr = ipp->current; + + ipp->current = ipp->current->next; + + if (!parent) + { + if (ipp->curtag != attr->group_tag) + { + /* + * Send a group tag byte... + */ + + ipp->curtag = attr->group_tag; + + if (attr->group_tag == IPP_TAG_ZERO) + continue; + + DEBUG_printf(("2ippWriteIO: wrote group tag=%x(%s)", + attr->group_tag, ippTagString(attr->group_tag))); + *bufptr++ = (ipp_uchar_t)attr->group_tag; + } + else if (attr->group_tag == IPP_TAG_ZERO) + continue; + } + + DEBUG_printf(("1ippWriteIO: %s (%s%s)", attr->name, + attr->num_values > 1 ? "1setOf " : "", + ippTagString(attr->value_tag))); + + /* + * Write the attribute tag and name. + * + * The attribute name length does not include the trailing nul + * character in the source string. + * + * Collection values (parent != NULL) are written differently... + */ + + if (parent == NULL) + { + /* + * Get the length of the attribute name, and make sure it won't + * overflow the buffer... + */ + + if ((n = (int)strlen(attr->name)) > (IPP_BUF_SIZE - 8)) + { + DEBUG_printf(("1ippWriteIO: Attribute name too long (%d)", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + /* + * Write the value tag, name length, and name string... + */ + + DEBUG_printf(("2ippWriteIO: writing value tag=%x(%s)", + attr->value_tag, ippTagString(attr->value_tag))); + DEBUG_printf(("2ippWriteIO: writing name=%d,\"%s\"", n, + attr->name)); + + if (attr->value_tag > 0xff) + { + *bufptr++ = IPP_TAG_EXTENSION; + *bufptr++ = (ipp_uchar_t)(attr->value_tag >> 24); + *bufptr++ = (ipp_uchar_t)(attr->value_tag >> 16); + *bufptr++ = (ipp_uchar_t)(attr->value_tag >> 8); + *bufptr++ = (ipp_uchar_t)attr->value_tag; + } + else + *bufptr++ = (ipp_uchar_t)attr->value_tag; + + *bufptr++ = (ipp_uchar_t)(n >> 8); + *bufptr++ = (ipp_uchar_t)n; + memcpy(bufptr, attr->name, (size_t)n); + bufptr += n; + } + else + { + /* + * Get the length of the attribute name, and make sure it won't + * overflow the buffer... + */ + + if ((n = (int)strlen(attr->name)) > (IPP_BUF_SIZE - 12)) + { + DEBUG_printf(("1ippWriteIO: Attribute name too long (%d)", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + /* + * Write the member name tag, name length, name string, value tag, + * and empty name for the collection member attribute... + */ + + DEBUG_printf(("2ippWriteIO: writing value tag=%x(memberName)", + IPP_TAG_MEMBERNAME)); + DEBUG_printf(("2ippWriteIO: writing name=%d,\"%s\"", n, + attr->name)); + DEBUG_printf(("2ippWriteIO: writing value tag=%x(%s)", + attr->value_tag, ippTagString(attr->value_tag))); + DEBUG_puts("2ippWriteIO: writing name=0,\"\""); + + *bufptr++ = IPP_TAG_MEMBERNAME; + *bufptr++ = 0; + *bufptr++ = 0; + *bufptr++ = (ipp_uchar_t)(n >> 8); + *bufptr++ = (ipp_uchar_t)n; + memcpy(bufptr, attr->name, (size_t)n); + bufptr += n; + + if (attr->value_tag > 0xff) + { + *bufptr++ = IPP_TAG_EXTENSION; + *bufptr++ = (ipp_uchar_t)(attr->value_tag >> 24); + *bufptr++ = (ipp_uchar_t)(attr->value_tag >> 16); + *bufptr++ = (ipp_uchar_t)(attr->value_tag >> 8); + *bufptr++ = (ipp_uchar_t)attr->value_tag; + } + else + *bufptr++ = (ipp_uchar_t)attr->value_tag; + + *bufptr++ = 0; + *bufptr++ = 0; + } + + /* + * Now write the attribute value(s)... + */ + + switch (attr->value_tag & ~IPP_TAG_CUPS_CONST) + { + case IPP_TAG_UNSUPPORTED_VALUE : + case IPP_TAG_DEFAULT : + case IPP_TAG_UNKNOWN : + case IPP_TAG_NOVALUE : + case IPP_TAG_NOTSETTABLE : + case IPP_TAG_DELETEATTR : + case IPP_TAG_ADMINDEFINE : + *bufptr++ = 0; + *bufptr++ = 0; + break; + + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + { + if ((IPP_BUF_SIZE - (bufptr - buffer)) < 9) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + } + + if (i) + { + /* + * Arrays and sets are done by sending additional + * values with a zero-length name... + */ + + *bufptr++ = (ipp_uchar_t)attr->value_tag; + *bufptr++ = 0; + *bufptr++ = 0; + } + + /* + * Integers and enumerations are both 4-byte signed + * (twos-complement) values. + * + * Put the 2-byte length and 4-byte value into the buffer... + */ + + *bufptr++ = 0; + *bufptr++ = 4; + *bufptr++ = (ipp_uchar_t)(value->integer >> 24); + *bufptr++ = (ipp_uchar_t)(value->integer >> 16); + *bufptr++ = (ipp_uchar_t)(value->integer >> 8); + *bufptr++ = (ipp_uchar_t)value->integer; + } + break; + + case IPP_TAG_BOOLEAN : + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + { + if ((IPP_BUF_SIZE - (bufptr - buffer)) < 6) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + } + + if (i) + { + /* + * Arrays and sets are done by sending additional + * values with a zero-length name... + */ + + *bufptr++ = (ipp_uchar_t)attr->value_tag; + *bufptr++ = 0; + *bufptr++ = 0; + } + + /* + * Boolean values are 1-byte; 0 = false, 1 = true. + * + * Put the 2-byte length and 1-byte value into the buffer... + */ + + *bufptr++ = 0; + *bufptr++ = 1; + *bufptr++ = (ipp_uchar_t)value->boolean; + } + break; + + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + { + if (i) + { + /* + * Arrays and sets are done by sending additional + * values with a zero-length name... + */ + + DEBUG_printf(("2ippWriteIO: writing value tag=%x(%s)", + attr->value_tag, + ippTagString(attr->value_tag))); + DEBUG_printf(("2ippWriteIO: writing name=0,\"\"")); + + if ((IPP_BUF_SIZE - (bufptr - buffer)) < 3) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + } + + *bufptr++ = (ipp_uchar_t)attr->value_tag; + *bufptr++ = 0; + *bufptr++ = 0; + } + + if (value->string.text != NULL) + n = (int)strlen(value->string.text); + else + n = 0; + + if (n > (IPP_BUF_SIZE - 2)) + { + DEBUG_printf(("1ippWriteIO: String too long (%d)", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + DEBUG_printf(("2ippWriteIO: writing string=%d,\"%s\"", n, + value->string.text)); + + if ((int)(IPP_BUF_SIZE - (bufptr - buffer)) < (n + 2)) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + } + + /* + * All simple strings consist of the 2-byte length and + * character data without the trailing nul normally found + * in C strings. Also, strings cannot be longer than IPP_MAX_LENGTH + * bytes since the 2-byte length is a signed (twos-complement) + * value. + * + * Put the 2-byte length and string characters in the buffer. + */ + + *bufptr++ = (ipp_uchar_t)(n >> 8); + *bufptr++ = (ipp_uchar_t)n; + + if (n > 0) + { + memcpy(bufptr, value->string.text, (size_t)n); + bufptr += n; + } + } + break; + + case IPP_TAG_DATE : + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + { + if ((IPP_BUF_SIZE - (bufptr - buffer)) < 16) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + } + + if (i) + { + /* + * Arrays and sets are done by sending additional + * values with a zero-length name... + */ + + *bufptr++ = (ipp_uchar_t)attr->value_tag; + *bufptr++ = 0; + *bufptr++ = 0; + } + + /* + * Date values consist of a 2-byte length and an + * 11-byte date/time structure defined by RFC 1903. + * + * Put the 2-byte length and 11-byte date/time + * structure in the buffer. + */ + + *bufptr++ = 0; + *bufptr++ = 11; + memcpy(bufptr, value->date, 11); + bufptr += 11; + } + break; + + case IPP_TAG_RESOLUTION : + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + { + if ((IPP_BUF_SIZE - (bufptr - buffer)) < 14) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + } + + if (i) + { + /* + * Arrays and sets are done by sending additional + * values with a zero-length name... + */ + + *bufptr++ = (ipp_uchar_t)attr->value_tag; + *bufptr++ = 0; + *bufptr++ = 0; + } + + /* + * Resolution values consist of a 2-byte length, + * 4-byte horizontal resolution value, 4-byte vertical + * resolution value, and a 1-byte units value. + * + * Put the 2-byte length and resolution value data + * into the buffer. + */ + + *bufptr++ = 0; + *bufptr++ = 9; + *bufptr++ = (ipp_uchar_t)(value->resolution.xres >> 24); + *bufptr++ = (ipp_uchar_t)(value->resolution.xres >> 16); + *bufptr++ = (ipp_uchar_t)(value->resolution.xres >> 8); + *bufptr++ = (ipp_uchar_t)value->resolution.xres; + *bufptr++ = (ipp_uchar_t)(value->resolution.yres >> 24); + *bufptr++ = (ipp_uchar_t)(value->resolution.yres >> 16); + *bufptr++ = (ipp_uchar_t)(value->resolution.yres >> 8); + *bufptr++ = (ipp_uchar_t)value->resolution.yres; + *bufptr++ = (ipp_uchar_t)value->resolution.units; + } + break; + + case IPP_TAG_RANGE : + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + { + if ((IPP_BUF_SIZE - (bufptr - buffer)) < 13) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + } + + if (i) + { + /* + * Arrays and sets are done by sending additional + * values with a zero-length name... + */ + + *bufptr++ = (ipp_uchar_t)attr->value_tag; + *bufptr++ = 0; + *bufptr++ = 0; + } + + /* + * Range values consist of a 2-byte length, + * 4-byte lower value, and 4-byte upper value. + * + * Put the 2-byte length and range value data + * into the buffer. + */ + + *bufptr++ = 0; + *bufptr++ = 8; + *bufptr++ = (ipp_uchar_t)(value->range.lower >> 24); + *bufptr++ = (ipp_uchar_t)(value->range.lower >> 16); + *bufptr++ = (ipp_uchar_t)(value->range.lower >> 8); + *bufptr++ = (ipp_uchar_t)value->range.lower; + *bufptr++ = (ipp_uchar_t)(value->range.upper >> 24); + *bufptr++ = (ipp_uchar_t)(value->range.upper >> 16); + *bufptr++ = (ipp_uchar_t)(value->range.upper >> 8); + *bufptr++ = (ipp_uchar_t)value->range.upper; + } + break; + + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + { + if (i) + { + /* + * Arrays and sets are done by sending additional + * values with a zero-length name... + */ + + if ((IPP_BUF_SIZE - (bufptr - buffer)) < 3) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + } + + *bufptr++ = (ipp_uchar_t)attr->value_tag; + *bufptr++ = 0; + *bufptr++ = 0; + } + + /* + * textWithLanguage and nameWithLanguage values consist + * of a 2-byte length for both strings and their + * individual lengths, a 2-byte length for the + * character string, the character string without the + * trailing nul, a 2-byte length for the character + * set string, and the character set string without + * the trailing nul. + */ + + n = 4; + + if (value->string.language != NULL) + n += (int)strlen(value->string.language); + + if (value->string.text != NULL) + n += (int)strlen(value->string.text); + + if (n > (IPP_BUF_SIZE - 2)) + { + DEBUG_printf(("1ippWriteIO: text/nameWithLanguage value " + "too long (%d)", n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if ((int)(IPP_BUF_SIZE - (bufptr - buffer)) < (n + 2)) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + } + + /* Length of entire value */ + *bufptr++ = (ipp_uchar_t)(n >> 8); + *bufptr++ = (ipp_uchar_t)n; + + /* Length of language */ + if (value->string.language != NULL) + n = (int)strlen(value->string.language); + else + n = 0; + + *bufptr++ = (ipp_uchar_t)(n >> 8); + *bufptr++ = (ipp_uchar_t)n; + + /* Language */ + if (n > 0) + { + memcpy(bufptr, value->string.language, (size_t)n); + bufptr += n; + } + + /* Length of text */ + if (value->string.text != NULL) + n = (int)strlen(value->string.text); + else + n = 0; + + *bufptr++ = (ipp_uchar_t)(n >> 8); + *bufptr++ = (ipp_uchar_t)n; + + /* Text */ + if (n > 0) + { + memcpy(bufptr, value->string.text, (size_t)n); + bufptr += n; + } + } + break; + + case IPP_TAG_BEGIN_COLLECTION : + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + { + /* + * Collections are written with the begin-collection + * tag first with a value of 0 length, followed by the + * attributes in the collection, then the end-collection + * value... + */ + + if ((IPP_BUF_SIZE - (bufptr - buffer)) < 5) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + } + + if (i) + { + /* + * Arrays and sets are done by sending additional + * values with a zero-length name... + */ + + *bufptr++ = (ipp_uchar_t)attr->value_tag; + *bufptr++ = 0; + *bufptr++ = 0; + } + + /* + * Write a data length of 0 and flush the buffer... + */ + + *bufptr++ = 0; + *bufptr++ = 0; + + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + + /* + * Then write the collection attribute... + */ + + value->collection->state = IPP_STATE_IDLE; + + if (ippWriteIO(dst, cb, 1, ipp, + value->collection) == IPP_STATE_ERROR) + { + DEBUG_puts("1ippWriteIO: Unable to write collection value"); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + } + break; + + default : + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + { + if (i) + { + /* + * Arrays and sets are done by sending additional + * values with a zero-length name... + */ + + if ((IPP_BUF_SIZE - (bufptr - buffer)) < 3) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + } + + *bufptr++ = (ipp_uchar_t)attr->value_tag; + *bufptr++ = 0; + *bufptr++ = 0; + } + + /* + * An unknown value might some new value that a + * vendor has come up with. It consists of a + * 2-byte length and the bytes in the unknown + * value buffer. + */ + + n = value->unknown.length; + + if (n > (IPP_BUF_SIZE - 2)) + { + DEBUG_printf(("1ippWriteIO: Data length too long (%d)", + n)); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + if ((int)(IPP_BUF_SIZE - (bufptr - buffer)) < (n + 2)) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP " + "attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + bufptr = buffer; + } + + /* Length of unknown value */ + *bufptr++ = (ipp_uchar_t)(n >> 8); + *bufptr++ = (ipp_uchar_t)n; + + /* Value */ + if (n > 0) + { + memcpy(bufptr, value->unknown.data, (size_t)n); + bufptr += n; + } + } + break; + } + + /* + * Write the data out... + */ + + if (bufptr > buffer) + { + if ((*cb)(dst, buffer, (size_t)(bufptr - buffer)) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP attribute..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + DEBUG_printf(("2ippWriteIO: wrote %d bytes", + (int)(bufptr - buffer))); + } + + /* + * If blocking is disabled and we aren't at the end of the attribute + * list, stop here... + */ + + if (!blocking && ipp->current) + break; + } + + if (ipp->current == NULL) + { + /* + * Done with all of the attributes; add the end-of-attributes + * tag or end-collection attribute... + */ + + if (parent == NULL) + { + buffer[0] = IPP_TAG_END; + n = 1; + } + else + { + buffer[0] = IPP_TAG_END_COLLECTION; + buffer[1] = 0; /* empty name */ + buffer[2] = 0; + buffer[3] = 0; /* empty value */ + buffer[4] = 0; + n = 5; + } + + if ((*cb)(dst, buffer, (size_t)n) < 0) + { + DEBUG_puts("1ippWriteIO: Could not write IPP end-tag..."); + _cupsBufferRelease((char *)buffer); + return (IPP_STATE_ERROR); + } + + ipp->state = IPP_STATE_DATA; + } + break; + + case IPP_STATE_DATA : + break; + + default : + break; /* anti-compiler-warning-code */ + } + + _cupsBufferRelease((char *)buffer); + + return (ipp->state); +} + + +/* + * 'ipp_add_attr()' - Add a new attribute to the message. + */ + +static ipp_attribute_t * /* O - New attribute */ +ipp_add_attr(ipp_t *ipp, /* I - IPP message */ + const char *name, /* I - Attribute name or NULL */ + ipp_tag_t group_tag, /* I - Group tag or IPP_TAG_ZERO */ + ipp_tag_t value_tag, /* I - Value tag or IPP_TAG_ZERO */ + int num_values) /* I - Number of values */ +{ + int alloc_values; /* Number of values to allocate */ + ipp_attribute_t *attr; /* New attribute */ + + + DEBUG_printf(("4ipp_add_attr(ipp=%p, name=\"%s\", group_tag=0x%x, value_tag=0x%x, num_values=%d)", (void *)ipp, name, group_tag, value_tag, num_values)); + + /* + * Range check input... + */ + + if (!ipp || num_values < 0) + return (NULL); + + /* + * Allocate memory, rounding the allocation up as needed... + */ + + if (num_values <= 1) + alloc_values = 1; + else + alloc_values = (num_values + IPP_MAX_VALUES - 1) & ~(IPP_MAX_VALUES - 1); + + attr = calloc(sizeof(ipp_attribute_t) + + (size_t)(alloc_values - 1) * sizeof(_ipp_value_t), 1); + + if (attr) + { + /* + * Initialize attribute... + */ + + DEBUG_printf(("4debug_alloc: %p %s %s%s (%d values)", (void *)attr, name, num_values > 1 ? "1setOf " : "", ippTagString(value_tag), num_values)); + + if (name) + attr->name = _cupsStrAlloc(name); + + attr->group_tag = group_tag; + attr->value_tag = value_tag; + attr->num_values = num_values; + + /* + * Add it to the end of the linked list... + */ + + if (ipp->last) + ipp->last->next = attr; + else + ipp->attrs = attr; + + ipp->prev = ipp->last; + ipp->last = ipp->current = attr; + } + + DEBUG_printf(("5ipp_add_attr: Returning %p", (void *)attr)); + + return (attr); +} + + +/* + * 'ipp_free_values()' - Free attribute values. + */ + +static void +ipp_free_values(ipp_attribute_t *attr, /* I - Attribute to free values from */ + int element,/* I - First value to free */ + int count) /* I - Number of values to free */ +{ + int i; /* Looping var */ + _ipp_value_t *value; /* Current value */ + + + DEBUG_printf(("4ipp_free_values(attr=%p, element=%d, count=%d)", (void *)attr, element, count)); + + if (!(attr->value_tag & IPP_TAG_CUPS_CONST)) + { + /* + * Free values as needed... + */ + + switch (attr->value_tag) + { + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + if (element == 0 && count == attr->num_values && + attr->values[0].string.language) + { + _cupsStrFree(attr->values[0].string.language); + attr->values[0].string.language = NULL; + } + /* Fall through to other string values */ + + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_RESERVED_STRING : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + for (i = count, value = attr->values + element; + i > 0; + i --, value ++) + { + _cupsStrFree(value->string.text); + value->string.text = NULL; + } + break; + + case IPP_TAG_UNSUPPORTED_VALUE : + case IPP_TAG_DEFAULT : + case IPP_TAG_UNKNOWN : + case IPP_TAG_NOVALUE : + case IPP_TAG_NOTSETTABLE : + case IPP_TAG_DELETEATTR : + case IPP_TAG_ADMINDEFINE : + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + case IPP_TAG_BOOLEAN : + case IPP_TAG_DATE : + case IPP_TAG_RESOLUTION : + case IPP_TAG_RANGE : + break; + + case IPP_TAG_BEGIN_COLLECTION : + for (i = count, value = attr->values + element; + i > 0; + i --, value ++) + { + ippDelete(value->collection); + value->collection = NULL; + } + break; + + case IPP_TAG_STRING : + default : + for (i = count, value = attr->values + element; + i > 0; + i --, value ++) + { + if (value->unknown.data) + { + free(value->unknown.data); + value->unknown.data = NULL; + } + } + break; + } + } + + /* + * If we are not freeing values from the end, move the remaining values up... + */ + + if ((element + count) < attr->num_values) + memmove(attr->values + element, attr->values + element + count, + (size_t)(attr->num_values - count - element) * sizeof(_ipp_value_t)); + + attr->num_values -= count; +} + + +/* + * 'ipp_get_code()' - Convert a C locale/charset name into an IPP language/charset code. + * + * This typically converts strings of the form "ll_CC", "ll-REGION", and "CHARSET_NUMBER" + * to "ll-cc", "ll-region", and "charset-number", respectively. + */ + +static char * /* O - Language code string */ +ipp_get_code(const char *value, /* I - Locale/charset string */ + char *buffer, /* I - String buffer */ + size_t bufsize) /* I - Size of string buffer */ +{ + char *bufptr, /* Pointer into buffer */ + *bufend; /* End of buffer */ + + + /* + * Convert values to lowercase and change _ to - as needed... + */ + + for (bufptr = buffer, bufend = buffer + bufsize - 1; + *value && bufptr < bufend; + value ++) + if (*value == '_') + *bufptr++ = '-'; + else + *bufptr++ = (char)_cups_tolower(*value); + + *bufptr = '\0'; + + /* + * Return the converted string... + */ + + return (buffer); +} + + +/* + * 'ipp_lang_code()' - Convert a C locale name into an IPP language code. + * + * This typically converts strings of the form "ll_CC" and "ll-REGION" to "ll-cc" and + * "ll-region", respectively. It also converts the "C" (POSIX) locale to "en". + */ + +static char * /* O - Language code string */ +ipp_lang_code(const char *locale, /* I - Locale string */ + char *buffer, /* I - String buffer */ + size_t bufsize) /* I - Size of string buffer */ +{ + /* + * Map POSIX ("C") locale to generic English, otherwise convert the locale string as-is. + */ + + if (!_cups_strcasecmp(locale, "c")) + { + strlcpy(buffer, "en", bufsize); + return (buffer); + } + else + return (ipp_get_code(locale, buffer, bufsize)); +} + + +/* + * 'ipp_length()' - Compute the length of an IPP message or collection value. + */ + +static size_t /* O - Size of IPP message */ +ipp_length(ipp_t *ipp, /* I - IPP message or collection */ + int collection) /* I - 1 if a collection, 0 otherwise */ +{ + int i; /* Looping var */ + size_t bytes; /* Number of bytes */ + ipp_attribute_t *attr; /* Current attribute */ + ipp_tag_t group; /* Current group */ + _ipp_value_t *value; /* Current value */ + + + DEBUG_printf(("3ipp_length(ipp=%p, collection=%d)", (void *)ipp, collection)); + + if (!ipp) + { + DEBUG_puts("4ipp_length: Returning 0 bytes"); + return (0); + } + + /* + * Start with 8 bytes for the IPP message header... + */ + + bytes = collection ? 0 : 8; + + /* + * Then add the lengths of each attribute... + */ + + group = IPP_TAG_ZERO; + + for (attr = ipp->attrs; attr != NULL; attr = attr->next) + { + if (attr->group_tag != group && !collection) + { + group = attr->group_tag; + if (group == IPP_TAG_ZERO) + continue; + + bytes ++; /* Group tag */ + } + + if (!attr->name) + continue; + + DEBUG_printf(("5ipp_length: attr->name=\"%s\", attr->num_values=%d, " + "bytes=" CUPS_LLFMT, attr->name, attr->num_values, CUPS_LLCAST bytes)); + + if ((attr->value_tag & ~IPP_TAG_CUPS_CONST) < IPP_TAG_EXTENSION) + bytes += (size_t)attr->num_values;/* Value tag for each value */ + else + bytes += (size_t)(5 * attr->num_values); + /* Value tag for each value */ + bytes += (size_t)(2 * attr->num_values); + /* Name lengths */ + bytes += strlen(attr->name); /* Name */ + bytes += (size_t)(2 * attr->num_values); + /* Value lengths */ + + if (collection) + bytes += 5; /* Add membername overhead */ + + switch (attr->value_tag & ~IPP_TAG_CUPS_CONST) + { + case IPP_TAG_UNSUPPORTED_VALUE : + case IPP_TAG_DEFAULT : + case IPP_TAG_UNKNOWN : + case IPP_TAG_NOVALUE : + case IPP_TAG_NOTSETTABLE : + case IPP_TAG_DELETEATTR : + case IPP_TAG_ADMINDEFINE : + break; + + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + bytes += (size_t)(4 * attr->num_values); + break; + + case IPP_TAG_BOOLEAN : + bytes += (size_t)attr->num_values; + break; + + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + if (value->string.text) + bytes += strlen(value->string.text); + break; + + case IPP_TAG_DATE : + bytes += (size_t)(11 * attr->num_values); + break; + + case IPP_TAG_RESOLUTION : + bytes += (size_t)(9 * attr->num_values); + break; + + case IPP_TAG_RANGE : + bytes += (size_t)(8 * attr->num_values); + break; + + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + bytes += (size_t)(4 * attr->num_values); + /* Charset + text length */ + + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + { + if (value->string.language) + bytes += strlen(value->string.language); + + if (value->string.text) + bytes += strlen(value->string.text); + } + break; + + case IPP_TAG_BEGIN_COLLECTION : + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + bytes += ipp_length(value->collection, 1); + break; + + default : + for (i = 0, value = attr->values; + i < attr->num_values; + i ++, value ++) + bytes += (size_t)value->unknown.length; + break; + } + } + + /* + * Finally, add 1 byte for the "end of attributes" tag or 5 bytes + * for the "end of collection" tag and return... + */ + + if (collection) + bytes += 5; + else + bytes ++; + + DEBUG_printf(("4ipp_length: Returning " CUPS_LLFMT " bytes", CUPS_LLCAST bytes)); + + return (bytes); +} + + +/* + * 'ipp_read_http()' - Semi-blocking read on a HTTP connection... + */ + +static ssize_t /* O - Number of bytes read */ +ipp_read_http(http_t *http, /* I - Client connection */ + ipp_uchar_t *buffer, /* O - Buffer for data */ + size_t length) /* I - Total length */ +{ + ssize_t tbytes, /* Total bytes read */ + bytes; /* Bytes read this pass */ + + + DEBUG_printf(("7ipp_read_http(http=%p, buffer=%p, length=%d)", (void *)http, (void *)buffer, (int)length)); + + /* + * Loop until all bytes are read... + */ + + for (tbytes = 0, bytes = 0; + tbytes < (int)length; + tbytes += bytes, buffer += bytes) + { + DEBUG_printf(("9ipp_read_http: tbytes=" CUPS_LLFMT ", http->state=%d", CUPS_LLCAST tbytes, http->state)); + + if (http->state == HTTP_STATE_WAITING) + break; + + if (http->used == 0 && !http->blocking) + { + /* + * Wait up to 10 seconds for more data on non-blocking sockets... + */ + + if (!httpWait(http, 10000)) + { + /* + * Signal no data... + */ + + bytes = -1; + break; + } + } + else if (http->used == 0 && http->timeout_value > 0) + { + /* + * Wait up to timeout seconds for more data on blocking sockets... + */ + + if (!httpWait(http, (int)(1000 * http->timeout_value))) + { + /* + * Signal no data... + */ + + bytes = -1; + break; + } + } + + if ((bytes = httpRead2(http, (char *)buffer, length - (size_t)tbytes)) < 0) + { +#ifdef _WIN32 + break; +#else + if (errno != EAGAIN && errno != EINTR) + break; + + bytes = 0; +#endif /* _WIN32 */ + } + else if (bytes == 0) + break; + } + + /* + * Return the number of bytes read... + */ + + if (tbytes == 0 && bytes < 0) + tbytes = -1; + + DEBUG_printf(("8ipp_read_http: Returning " CUPS_LLFMT " bytes", CUPS_LLCAST tbytes)); + + return (tbytes); +} + + +/* + * 'ipp_read_file()' - Read IPP data from a file. + */ + +static ssize_t /* O - Number of bytes read */ +ipp_read_file(int *fd, /* I - File descriptor */ + ipp_uchar_t *buffer, /* O - Read buffer */ + size_t length) /* I - Number of bytes to read */ +{ +#ifdef _WIN32 + return ((ssize_t)read(*fd, buffer, (unsigned)length)); +#else + return (read(*fd, buffer, length)); +#endif /* _WIN32 */ +} + + +/* + * 'ipp_set_error()' - Set a formatted, localized error string. + */ + +static void +ipp_set_error(ipp_status_t status, /* I - Status code */ + const char *format, /* I - Printf-style error string */ + ...) /* I - Additional arguments as needed */ +{ + va_list ap; /* Pointer to additional args */ + char buffer[2048]; /* Message buffer */ + cups_lang_t *lang = cupsLangDefault(); + /* Current language */ + + + va_start(ap, format); + vsnprintf(buffer, sizeof(buffer), _cupsLangString(lang, format), ap); + va_end(ap); + + _cupsSetError(status, buffer, 0); +} + + +/* + * 'ipp_set_value()' - Get the value element from an attribute, expanding it as + * needed. + */ + +static _ipp_value_t * /* O - IPP value element or NULL on error */ +ipp_set_value(ipp_t *ipp, /* IO - IPP message */ + ipp_attribute_t **attr, /* IO - IPP attribute */ + int element) /* I - Value number (0-based) */ +{ + ipp_attribute_t *temp, /* New attribute pointer */ + *current, /* Current attribute in list */ + *prev; /* Previous attribute in list */ + int alloc_values; /* Allocated values */ + + + /* + * If we are setting an existing value element, return it... + */ + + temp = *attr; + + if (temp->num_values <= 1) + alloc_values = 1; + else + alloc_values = (temp->num_values + IPP_MAX_VALUES - 1) & + ~(IPP_MAX_VALUES - 1); + + if (element < alloc_values) + { + if (element >= temp->num_values) + temp->num_values = element + 1; + + return (temp->values + element); + } + + /* + * Otherwise re-allocate the attribute - we allocate in groups of IPP_MAX_VALUE + * values when num_values > 1. + */ + + if (alloc_values < IPP_MAX_VALUES) + alloc_values = IPP_MAX_VALUES; + else + alloc_values += IPP_MAX_VALUES; + + DEBUG_printf(("4ipp_set_value: Reallocating for up to %d values.", + alloc_values)); + + /* + * Reallocate memory... + */ + + if ((temp = realloc(temp, sizeof(ipp_attribute_t) + (size_t)(alloc_values - 1) * sizeof(_ipp_value_t))) == NULL) + { + _cupsSetHTTPError(HTTP_STATUS_ERROR); + DEBUG_puts("4ipp_set_value: Unable to resize attribute."); + return (NULL); + } + + /* + * Zero the new memory... + */ + + memset(temp->values + temp->num_values, 0, (size_t)(alloc_values - temp->num_values) * sizeof(_ipp_value_t)); + + if (temp != *attr) + { + /* + * Reset pointers in the list... + */ + +#ifndef __clang_analyzer__ + DEBUG_printf(("4debug_free: %p %s", (void *)*attr, temp->name)); +#endif /* !__clang_analyzer__ */ + DEBUG_printf(("4debug_alloc: %p %s %s%s (%d)", (void *)temp, temp->name, temp->num_values > 1 ? "1setOf " : "", ippTagString(temp->value_tag), temp->num_values)); + + if (ipp->current == *attr && ipp->prev) + { + /* + * Use current "previous" pointer... + */ + + prev = ipp->prev; + } + else + { + /* + * Find this attribute in the linked list... + */ + + for (prev = NULL, current = ipp->attrs; + current && current != *attr; + prev = current, current = current->next); + + if (!current) + { + /* + * This is a serious error! + */ + + *attr = temp; + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("IPP attribute is not a member of the message."), 1); + DEBUG_puts("4ipp_set_value: Unable to find attribute in message."); + return (NULL); + } + } + + if (prev) + prev->next = temp; + else + ipp->attrs = temp; + + ipp->current = temp; + ipp->prev = prev; + + if (ipp->last == *attr) + ipp->last = temp; + + *attr = temp; + } + + /* + * Return the value element... + */ + + if (element >= temp->num_values) + temp->num_values = element + 1; + + return (temp->values + element); +} + + +/* + * 'ipp_write_file()' - Write IPP data to a file. + */ + +static ssize_t /* O - Number of bytes written */ +ipp_write_file(int *fd, /* I - File descriptor */ + ipp_uchar_t *buffer, /* I - Data to write */ + size_t length) /* I - Number of bytes to write */ +{ +#ifdef _WIN32 + return ((ssize_t)write(*fd, buffer, (unsigned)length)); +#else + return (write(*fd, buffer, length)); +#endif /* _WIN32 */ +} diff --git a/cups/ipp.h b/cups/ipp.h new file mode 100644 index 0000000..b7412a4 --- /dev/null +++ b/cups/ipp.h @@ -0,0 +1,947 @@ +/* + * Internet Printing Protocol definitions for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_IPP_H_ +# define _CUPS_IPP_H_ + +/* + * Include necessary headers... + */ + +# include "http.h" +# include + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * IPP version string... + */ + +# define IPP_VERSION "\002\001" + +/* + * IPP registered port number... + * + * Note: Applications should never use IPP_PORT, but instead use the + * ippPort() function to allow overrides via the IPP_PORT environment + * variable and services file if needed! + */ + +# define IPP_PORT 631 + +/* + * Common limits... + */ + +# define IPP_MAX_CHARSET 64 /* Maximum length of charset values w/nul */ +# define IPP_MAX_KEYWORD 256 /* Maximum length of keyword values w/nul */ +# define IPP_MAX_LANGUAGE 64 /* Maximum length of naturalLanguage values w/nul */ +# define IPP_MAX_LENGTH 32767 /* Maximum size of any single value */ +# define IPP_MAX_MIMETYPE 256 /* Maximum length of mimeMediaType values w/nul */ +# define IPP_MAX_NAME 256 /* Maximum length of common name values w/nul */ +# define IPP_MAX_OCTETSTRING 1023 /* Maximum length of octetString values w/o nul */ +# define IPP_MAX_TEXT 1024 /* Maximum length of text values w/nul */ +# define IPP_MAX_URI 1024 /* Maximum length of uri values w/nul */ +# define IPP_MAX_URISCHEME 64 /* Maximum length of uriScheme values w/nul */ +# define IPP_MAX_VALUES 8 /* Power-of-2 allocation increment */ + +/* + * Macro to flag a text string attribute as "const" (static storage) vs. + * allocated. + */ + +# define IPP_CONST_TAG(x) (ipp_tag_t)(IPP_TAG_CUPS_CONST | (x)) + + +/* + * Types and structures... + */ + +typedef enum ipp_dstate_e /**** Document states @exclude all@ ****/ +{ + IPP_DSTATE_PENDING = 3, /* Document is pending */ + IPP_DSTATE_PROCESSING = 5, /* Document is processing */ + IPP_DSTATE_CANCELED = 7, /* Document is canceled */ + IPP_DSTATE_ABORTED, /* Document is aborted */ + IPP_DSTATE_COMPLETED /* Document is completed */ + +# ifndef _CUPS_NO_DEPRECATED +# define IPP_DOCUMENT_PENDING IPP_DSTATE_PENDING +# define IPP_DOCUMENT_PROCESSING IPP_DSTATE_PROCESSING +# define IPP_DOCUMENT_CANCELED IPP_DSTATE_CANCELED +# define IPP_DOCUMENT_ABORTED IPP_DSTATE_ABORTED +# define IPP_DOCUMENT_COMPLETED IPP_DSTATE_COMPLETED +# endif /* !_CUPS_NO_DEPRECATED */ +} ipp_dstate_t; + +typedef enum ipp_finishings_e /**** Finishings values ****/ +{ + IPP_FINISHINGS_NONE = 3, /* No finishing */ + IPP_FINISHINGS_STAPLE, /* Staple (any location/method) */ + IPP_FINISHINGS_PUNCH, /* Punch (any location/count) */ + IPP_FINISHINGS_COVER, /* Add cover */ + IPP_FINISHINGS_BIND, /* Bind */ + IPP_FINISHINGS_SADDLE_STITCH, /* Staple interior */ + IPP_FINISHINGS_EDGE_STITCH, /* Stitch along any side */ + IPP_FINISHINGS_FOLD, /* Fold (any type) */ + IPP_FINISHINGS_TRIM, /* Trim (any type) */ + IPP_FINISHINGS_BALE, /* Bale (any type) */ + IPP_FINISHINGS_BOOKLET_MAKER, /* Fold to make booklet */ + IPP_FINISHINGS_JOG_OFFSET, /* Offset for binding (any type) */ + IPP_FINISHINGS_COAT, /* Apply protective liquid or powder coating */ + IPP_FINISHINGS_LAMINATE, /* Apply protective (solid) material */ + IPP_FINISHINGS_STAPLE_TOP_LEFT = 20, /* Staple top left corner */ + IPP_FINISHINGS_STAPLE_BOTTOM_LEFT, /* Staple bottom left corner */ + IPP_FINISHINGS_STAPLE_TOP_RIGHT, /* Staple top right corner */ + IPP_FINISHINGS_STAPLE_BOTTOM_RIGHT, /* Staple bottom right corner */ + IPP_FINISHINGS_EDGE_STITCH_LEFT, /* Stitch along left side */ + IPP_FINISHINGS_EDGE_STITCH_TOP, /* Stitch along top edge */ + IPP_FINISHINGS_EDGE_STITCH_RIGHT, /* Stitch along right side */ + IPP_FINISHINGS_EDGE_STITCH_BOTTOM, /* Stitch along bottom edge */ + IPP_FINISHINGS_STAPLE_DUAL_LEFT, /* Two staples on left */ + IPP_FINISHINGS_STAPLE_DUAL_TOP, /* Two staples on top */ + IPP_FINISHINGS_STAPLE_DUAL_RIGHT, /* Two staples on right */ + IPP_FINISHINGS_STAPLE_DUAL_BOTTOM, /* Two staples on bottom */ + IPP_FINISHINGS_STAPLE_TRIPLE_LEFT, /* Three staples on left */ + IPP_FINISHINGS_STAPLE_TRIPLE_TOP, /* Three staples on top */ + IPP_FINISHINGS_STAPLE_TRIPLE_RIGHT, /* Three staples on right */ + IPP_FINISHINGS_STAPLE_TRIPLE_BOTTOM, /* Three staples on bottom */ + IPP_FINISHINGS_BIND_LEFT = 50, /* Bind on left */ + IPP_FINISHINGS_BIND_TOP, /* Bind on top */ + IPP_FINISHINGS_BIND_RIGHT, /* Bind on right */ + IPP_FINISHINGS_BIND_BOTTOM, /* Bind on bottom */ + IPP_FINISHINGS_TRIM_AFTER_PAGES = 60, /* Trim output after each page */ + IPP_FINISHINGS_TRIM_AFTER_DOCUMENTS, /* Trim output after each document */ + IPP_FINISHINGS_TRIM_AFTER_COPIES, /* Trim output after each copy */ + IPP_FINISHINGS_TRIM_AFTER_JOB, /* Trim output after job */ + IPP_FINISHINGS_PUNCH_TOP_LEFT = 70, /* Punch 1 hole top left */ + IPP_FINISHINGS_PUNCH_BOTTOM_LEFT, /* Punch 1 hole bottom left */ + IPP_FINISHINGS_PUNCH_TOP_RIGHT, /* Punch 1 hole top right */ + IPP_FINISHINGS_PUNCH_BOTTOM_RIGHT, /* Punch 1 hole bottom right */ + IPP_FINISHINGS_PUNCH_DUAL_LEFT, /* Punch 2 holes left side */ + IPP_FINISHINGS_PUNCH_DUAL_TOP, /* Punch 2 holes top edge */ + IPP_FINISHINGS_PUNCH_DUAL_RIGHT, /* Punch 2 holes right side */ + IPP_FINISHINGS_PUNCH_DUAL_BOTTOM, /* Punch 2 holes bottom edge */ + IPP_FINISHINGS_PUNCH_TRIPLE_LEFT, /* Punch 3 holes left side */ + IPP_FINISHINGS_PUNCH_TRIPLE_TOP, /* Punch 3 holes top edge */ + IPP_FINISHINGS_PUNCH_TRIPLE_RIGHT, /* Punch 3 holes right side */ + IPP_FINISHINGS_PUNCH_TRIPLE_BOTTOM, /* Punch 3 holes bottom edge */ + IPP_FINISHINGS_PUNCH_QUAD_LEFT, /* Punch 4 holes left side */ + IPP_FINISHINGS_PUNCH_QUAD_TOP, /* Punch 4 holes top edge */ + IPP_FINISHINGS_PUNCH_QUAD_RIGHT, /* Punch 4 holes right side */ + IPP_FINISHINGS_PUNCH_QUAD_BOTTOM, /* Punch 4 holes bottom edge */ + IPP_FINISHINGS_PUNCH_MULTIPLE_LEFT, /* Punch multiple holes left side */ + IPP_FINISHINGS_PUNCH_MULTIPLE_TOP, /* Punch multiple holes top edge */ + IPP_FINISHINGS_PUNCH_MULTIPLE_RIGHT, /* Punch multiple holes right side */ + IPP_FINISHINGS_PUNCH_MULTIPLE_BOTTOM, /* Punch multiple holes bottom edge */ + IPP_FINISHINGS_FOLD_ACCORDION = 90, /* Accordion-fold the paper vertically into four sections */ + IPP_FINISHINGS_FOLD_DOUBLE_GATE, /* Fold the top and bottom quarters of the paper towards the midline, then fold in half vertically */ + IPP_FINISHINGS_FOLD_GATE, /* Fold the top and bottom quarters of the paper towards the midline */ + IPP_FINISHINGS_FOLD_HALF, /* Fold the paper in half vertically */ + IPP_FINISHINGS_FOLD_HALF_Z, /* Fold the paper in half horizontally, then Z-fold the paper vertically */ + IPP_FINISHINGS_FOLD_LEFT_GATE, /* Fold the top quarter of the paper towards the midline */ + IPP_FINISHINGS_FOLD_LETTER, /* Fold the paper into three sections vertically; sometimes also known as a C fold*/ + IPP_FINISHINGS_FOLD_PARALLEL, /* Fold the paper in half vertically two times, yielding four sections */ + IPP_FINISHINGS_FOLD_POSTER, /* Fold the paper in half horizontally and vertically; sometimes also called a cross fold */ + IPP_FINISHINGS_FOLD_RIGHT_GATE, /* Fold the bottom quarter of the paper towards the midline */ + IPP_FINISHINGS_FOLD_Z, /* Fold the paper vertically into three sections, forming a Z */ + IPP_FINISHINGS_FOLD_ENGINEERING_Z, /* Fold the paper vertically into two small sections and one larger, forming an elongated Z */ + + /* CUPS extensions for finishings (pre-standard versions of values above) */ + IPP_FINISHINGS_CUPS_PUNCH_TOP_LEFT = 0x40000046, + /* Punch 1 hole top left @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_BOTTOM_LEFT,/* Punch 1 hole bottom left @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_TOP_RIGHT, /* Punch 1 hole top right @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_BOTTOM_RIGHT, + /* Punch 1 hole bottom right @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_DUAL_LEFT, /* Punch 2 holes left side @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_DUAL_TOP, /* Punch 2 holes top edge @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_DUAL_RIGHT, /* Punch 2 holes right side @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_DUAL_BOTTOM,/* Punch 2 holes bottom edge @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_TRIPLE_LEFT,/* Punch 3 holes left side @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_TRIPLE_TOP, /* Punch 3 holes top edge @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_TRIPLE_RIGHT, + /* Punch 3 holes right side @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_TRIPLE_BOTTOM, + /* Punch 3 holes bottom edge @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_QUAD_LEFT, /* Punch 4 holes left side @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_QUAD_TOP, /* Punch 4 holes top edge @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_QUAD_RIGHT, /* Punch 4 holes right side @exclude all@ */ + IPP_FINISHINGS_CUPS_PUNCH_QUAD_BOTTOM,/* Punch 4 holes bottom edge @exclude all@ */ + + IPP_FINISHINGS_CUPS_FOLD_ACCORDION = 0x4000005A, + /* Accordion-fold the paper vertically into four sections @exclude all@ */ + IPP_FINISHINGS_CUPS_FOLD_DOUBLE_GATE, /* Fold the top and bottom quarters of the paper towards the midline, then fold in half vertically @exclude all@ */ + IPP_FINISHINGS_CUPS_FOLD_GATE, /* Fold the top and bottom quarters of the paper towards the midline @exclude all@ */ + IPP_FINISHINGS_CUPS_FOLD_HALF, /* Fold the paper in half vertically @exclude all@ */ + IPP_FINISHINGS_CUPS_FOLD_HALF_Z, /* Fold the paper in half horizontally, then Z-fold the paper vertically @exclude all@ */ + IPP_FINISHINGS_CUPS_FOLD_LEFT_GATE, /* Fold the top quarter of the paper towards the midline @exclude all@ */ + IPP_FINISHINGS_CUPS_FOLD_LETTER, /* Fold the paper into three sections vertically; sometimes also known as a C fold @exclude all@ */ + IPP_FINISHINGS_CUPS_FOLD_PARALLEL, /* Fold the paper in half vertically two times, yielding four sections @exclude all@ */ + IPP_FINISHINGS_CUPS_FOLD_POSTER, /* Fold the paper in half horizontally and vertically; sometimes also called a cross fold @exclude all@ */ + IPP_FINISHINGS_CUPS_FOLD_RIGHT_GATE, /* Fold the bottom quarter of the paper towards the midline @exclude all@ */ + IPP_FINISHINGS_CUPS_FOLD_Z /* Fold the paper vertically into three sections, forming a Z @exclude all@ */ +} ipp_finishings_t; +# ifndef _CUPS_NO_DEPRECATED +# define IPP_FINISHINGS_CUPS_FOLD_ACCORDIAN IPP_FINISHINGS_CUPS_FOLD_ACCORDION +# define IPP_FINISHINGS_FOLD_ACCORDIAN IPP_FINISHINGS_FOLD_ACCORDION +# define IPP_FINISHINGS_JOB_OFFSET IPP_FINISHINGS_JOG_OFFSET + /* Long-time misspellings... */ +typedef enum ipp_finishings_e ipp_finish_t; +# endif /* !_CUPS_NO_DEPRECATED */ + +typedef enum ipp_jcollate_e /**** Job collation types @deprecated@ @exclude all@ ****/ +{ + IPP_JCOLLATE_UNCOLLATED_SHEETS = 3, + IPP_JCOLLATE_COLLATED_DOCUMENTS, + IPP_JCOLLATE_UNCOLLATED_DOCUMENTS + +# ifndef _CUPS_NO_DEPRECATED +# define IPP_JOB_UNCOLLATED_SHEETS IPP_JCOLLATE_UNCOLLATED_SHEETS +# define IPP_JOB_COLLATED_DOCUMENTS IPP_JCOLLATE_COLLATED_DOCUMENTS +# define IPP_JOB_UNCOLLATED_DOCUMENTS IPP_JCOLLATE_UNCOLLATED_DOCUMENTS +# endif /* !_CUPS_NO_DEPRECATED */ +} ipp_jcollate_t; + +typedef enum ipp_jstate_e /**** Job states ****/ +{ + IPP_JSTATE_PENDING = 3, /* Job is waiting to be printed */ + IPP_JSTATE_HELD, /* Job is held for printing */ + IPP_JSTATE_PROCESSING, /* Job is currently printing */ + IPP_JSTATE_STOPPED, /* Job has been stopped */ + IPP_JSTATE_CANCELED, /* Job has been canceled */ + IPP_JSTATE_ABORTED, /* Job has aborted due to error */ + IPP_JSTATE_COMPLETED /* Job has completed successfully */ + +# ifndef _CUPS_NO_DEPRECATED +# define IPP_JOB_PENDING IPP_JSTATE_PENDING +# define IPP_JOB_HELD IPP_JSTATE_HELD +# define IPP_JOB_PROCESSING IPP_JSTATE_PROCESSING +# define IPP_JOB_STOPPED IPP_JSTATE_STOPPED +# define IPP_JOB_CANCELED IPP_JSTATE_CANCELED +# define IPP_JOB_ABORTED IPP_JSTATE_ABORTED +# define IPP_JOB_COMPLETED IPP_JSTATE_COMPLETED + /* Legacy name for canceled state */ +# define IPP_JOB_CANCELLED IPP_JSTATE_CANCELED +# endif /* !_CUPS_NO_DEPRECATED */ +} ipp_jstate_t; + +typedef enum ipp_op_e /**** IPP operations ****/ +{ + IPP_OP_CUPS_INVALID = -1, /* Invalid operation name for @link ippOpValue@ */ + IPP_OP_CUPS_NONE = 0, /* No operation @private@ */ + IPP_OP_PRINT_JOB = 0x0002, /* Print-Job: Print a single file */ + IPP_OP_PRINT_URI, /* Print-URI: Print a single URL @exclude all@ */ + IPP_OP_VALIDATE_JOB, /* Validate-Job: Validate job values prior to submission */ + IPP_OP_CREATE_JOB, /* Create-Job: Create an empty print job */ + IPP_OP_SEND_DOCUMENT, /* Send-Document: Add a file to a job */ + IPP_OP_SEND_URI, /* Send-URI: Add a URL to a job @exclude all@ */ + IPP_OP_CANCEL_JOB, /* Cancel-Job: Cancel a job */ + IPP_OP_GET_JOB_ATTRIBUTES, /* Get-Job-Attribute: Get information about a job */ + IPP_OP_GET_JOBS, /* Get-Jobs: Get a list of jobs */ + IPP_OP_GET_PRINTER_ATTRIBUTES, /* Get-Printer-Attributes: Get information about a printer */ + IPP_OP_HOLD_JOB, /* Hold-Job: Hold a job for printing */ + IPP_OP_RELEASE_JOB, /* Release-Job: Release a job for printing */ + IPP_OP_RESTART_JOB, /* Restart-Job: Reprint a job @deprecated@ */ + IPP_OP_PAUSE_PRINTER = 0x0010, /* Pause-Printer: Stop a printer */ + IPP_OP_RESUME_PRINTER, /* Resume-Printer: Start a printer */ + IPP_OP_PURGE_JOBS, /* Purge-Jobs: Delete all jobs @deprecated@ @exclude all@ */ + IPP_OP_SET_PRINTER_ATTRIBUTES, /* Set-Printer-Attributes: Set printer values */ + IPP_OP_SET_JOB_ATTRIBUTES, /* Set-Job-Attributes: Set job values */ + IPP_OP_GET_PRINTER_SUPPORTED_VALUES, /* Get-Printer-Supported-Values: Get supported values */ + IPP_OP_CREATE_PRINTER_SUBSCRIPTIONS, /* Create-Printer-Subscriptions: Create one or more printer subscriptions @since CUPS 1.2/macOS 10.5@ */ + IPP_OP_CREATE_JOB_SUBSCRIPTIONS, /* Create-Job-Subscriptions: Create one of more job subscriptions @since CUPS 1.2/macOS 10.5@ */ + IPP_OP_GET_SUBSCRIPTION_ATTRIBUTES, /* Get-Subscription-Attributes: Get subscription information @since CUPS 1.2/macOS 10.5@ */ + IPP_OP_GET_SUBSCRIPTIONS, /* Get-Subscriptions: Get list of subscriptions @since CUPS 1.2/macOS 10.5@ */ + IPP_OP_RENEW_SUBSCRIPTION, /* Renew-Subscription: Renew a printer subscription @since CUPS 1.2/macOS 10.5@ */ + IPP_OP_CANCEL_SUBSCRIPTION, /* Cancel-Subscription: Cancel a subscription @since CUPS 1.2/macOS 10.5@ */ + IPP_OP_GET_NOTIFICATIONS, /* Get-Notifications: Get notification events @since CUPS 1.2/macOS 10.5@ */ + IPP_OP_SEND_NOTIFICATIONS, /* Send-Notifications: Send notification events @private@ */ + IPP_OP_GET_RESOURCE_ATTRIBUTES, /* Get-Resource-Attributes: Get resource information @private@ */ + IPP_OP_GET_RESOURCE_DATA, /* Get-Resource-Data: Get resource data @private@ @deprecated@ */ + IPP_OP_GET_RESOURCES, /* Get-Resources: Get list of resources @private@ */ + IPP_OP_GET_PRINT_SUPPORT_FILES, /* Get-Printer-Support-Files: Get printer support files @private@ */ + IPP_OP_ENABLE_PRINTER, /* Enable-Printer: Accept new jobs for a printer */ + IPP_OP_DISABLE_PRINTER, /* Disable-Printer: Reject new jobs for a printer */ + IPP_OP_PAUSE_PRINTER_AFTER_CURRENT_JOB, + /* Pause-Printer-After-Current-Job: Stop printer after the current job */ + IPP_OP_HOLD_NEW_JOBS, /* Hold-New-Jobs: Hold new jobs */ + IPP_OP_RELEASE_HELD_NEW_JOBS, /* Release-Held-New-Jobs: Release new jobs that were previously held */ + IPP_OP_DEACTIVATE_PRINTER, /* Deactivate-Printer: Stop a printer and do not accept jobs @deprecated@ @exclude all@ */ + IPP_OP_ACTIVATE_PRINTER, /* Activate-Printer: Start a printer and accept jobs @deprecated@ @exclude all@ */ + IPP_OP_RESTART_PRINTER, /* Restart-Printer: Restart a printer @exclude all@ */ + IPP_OP_SHUTDOWN_PRINTER, /* Shutdown-Printer: Turn a printer off @exclude all@ */ + IPP_OP_STARTUP_PRINTER, /* Startup-Printer: Turn a printer on @exclude all@ */ + IPP_OP_REPROCESS_JOB, /* Reprocess-Job: Reprint a job @deprecated@ @exclude all@*/ + IPP_OP_CANCEL_CURRENT_JOB, /* Cancel-Current-Job: Cancel the current job */ + IPP_OP_SUSPEND_CURRENT_JOB, /* Suspend-Current-Job: Suspend the current job */ + IPP_OP_RESUME_JOB, /* Resume-Job: Resume the current job */ + IPP_OP_PROMOTE_JOB, /* Promote-Job: Promote a job to print sooner */ + IPP_OP_SCHEDULE_JOB_AFTER, /* Schedule-Job-After: Schedule a job to print after another */ + IPP_OP_CANCEL_DOCUMENT = 0x0033, /* Cancel-Document: Cancel a document @exclude all@ */ + IPP_OP_GET_DOCUMENT_ATTRIBUTES, /* Get-Document-Attributes: Get document information @exclude all@ */ + IPP_OP_GET_DOCUMENTS, /* Get-Documents: Get a list of documents in a job @exclude all@ */ + IPP_OP_DELETE_DOCUMENT, /* Delete-Document: Delete a document @deprecated@ @exclude all@ */ + IPP_OP_SET_DOCUMENT_ATTRIBUTES, /* Set-Document-Attributes: Set document values @exclude all@ */ + IPP_OP_CANCEL_JOBS, /* Cancel-Jobs: Cancel all jobs (administrative) */ + IPP_OP_CANCEL_MY_JOBS, /* Cancel-My-Jobs: Cancel a user's jobs */ + IPP_OP_RESUBMIT_JOB, /* Resubmit-Job: Copy and reprint a job @exclude all@ */ + IPP_OP_CLOSE_JOB, /* Close-Job: Close a job and start printing */ + IPP_OP_IDENTIFY_PRINTER, /* Identify-Printer: Make the printer beep, flash, or display a message for identification */ + IPP_OP_VALIDATE_DOCUMENT, /* Validate-Document: Validate document values prior to submission @exclude all@ */ + IPP_OP_ADD_DOCUMENT_IMAGES, /* Add-Document-Images: Add image(s) from the specified scanner source @exclude all@ */ + IPP_OP_ACKNOWLEDGE_DOCUMENT, /* Acknowledge-Document: Acknowledge processing of a document @exclude all@ */ + IPP_OP_ACKNOWLEDGE_IDENTIFY_PRINTER, /* Acknowledge-Identify-Printer: Acknowledge action on an Identify-Printer request @exclude all@ */ + IPP_OP_ACKNOWLEDGE_JOB, /* Acknowledge-Job: Acknowledge processing of a job @exclude all@ */ + IPP_OP_FETCH_DOCUMENT, /* Fetch-Document: Fetch a document for processing @exclude all@ */ + IPP_OP_FETCH_JOB, /* Fetch-Job: Fetch a job for processing @exclude all@ */ + IPP_OP_GET_OUTPUT_DEVICE_ATTRIBUTES, /* Get-Output-Device-Attributes: Get printer information for a specific output device @exclude all@ */ + IPP_OP_UPDATE_ACTIVE_JOBS, /* Update-Active-Jobs: Update the list of active jobs that a proxy has processed @exclude all@ */ + IPP_OP_DEREGISTER_OUTPUT_DEVICE, /* Deregister-Output-Device: Remove an output device @exclude all@ */ + IPP_OP_UPDATE_DOCUMENT_STATUS, /* Update-Document-Status: Update document values @exclude all@ */ + IPP_OP_UPDATE_JOB_STATUS, /* Update-Job-Status: Update job values @exclude all@ */ + IPP_OP_UPDATE_OUTPUT_DEVICE_ATTRIBUTES, + /* Update-Output-Device-Attributes: Update output device values @exclude all@ */ + IPP_OP_GET_NEXT_DOCUMENT_DATA, /* Get-Next-Document-Data: Scan more document data @exclude all@ */ + IPP_OP_ALLOCATE_PRINTER_RESOURCES, /* Allocate-Printer-Resources: Use resources for a printer. */ + IPP_OP_CREATE_PRINTER, /* Create-Printer: Create a new service. */ + IPP_OP_DEALLOCATE_PRINTER_RESOURCES, /* Deallocate-Printer-Resources: Stop using resources for a printer. */ + IPP_OP_DELETE_PRINTER, /* Delete-Printer: Delete an existing service. */ + IPP_OP_GET_PRINTERS, /* Get-Printers: Get a list of services. */ + IPP_OP_SHUTDOWN_ONE_PRINTER, /* Shutdown-One-Printer: Shutdown a service. */ + IPP_OP_STARTUP_ONE_PRINTER, /* Startup-One-Printer: Start a service. */ + IPP_OP_CANCEL_RESOURCE, /* Cancel-Resource: Uninstall a resource. */ + IPP_OP_CREATE_RESOURCE, /* Create-Resource: Create a new (empty) resource. */ + IPP_OP_INSTALL_RESOURCE, /* Install-Resource: Install a resource. */ + IPP_OP_SEND_RESOURCE_DATA, /* Send-Resource-Data: Upload the data for a resource. */ + IPP_OP_SET_RESOURCE_ATTRIBUTES, /* Set-Resource-Attributes: Set resource object attributes. */ + IPP_OP_CREATE_RESOURCE_SUBSCRIPTIONS, /* Create-Resource-Subscriptions: Create event subscriptions for a resource. */ + IPP_OP_CREATE_SYSTEM_SUBSCRIPTIONS, /* Create-System-Subscriptions: Create event subscriptions for a system. */ + IPP_OP_DISABLE_ALL_PRINTERS, /* Disable-All-Printers: Stop accepting new jobs on all services. */ + IPP_OP_ENABLE_ALL_PRINTERS, /* Enable-All-Printers: Start accepting new jobs on all services. */ + IPP_OP_GET_SYSTEM_ATTRIBUTES, /* Get-System-Attributes: Get system object attributes. */ + IPP_OP_GET_SYSTEM_SUPPORTED_VALUES, /* Get-System-Supported-Values: Get supported values for system object attributes. */ + IPP_OP_PAUSE_ALL_PRINTERS, /* Pause-All-Printers: Stop all services immediately. */ + IPP_OP_PAUSE_ALL_PRINTERS_AFTER_CURRENT_JOB, + /* Pause-All-Printers-After-Current-Job: Stop all services after processing the current jobs. */ + IPP_OP_REGISTER_OUTPUT_DEVICE, /* Register-Output-Device: Register a remote service. */ + IPP_OP_RESTART_SYSTEM, /* Restart-System: Restart all services. */ + IPP_OP_RESUME_ALL_PRINTERS, /* Resume-All-Printers: Start job processing on all services. */ + IPP_OP_SET_SYSTEM_ATTRIBUTES, /* Set-System-Attributes: Set system object attributes. */ + IPP_OP_SHUTDOWN_ALL_PRINTERS, /* Shutdown-All-Printers: Shutdown all services. */ + IPP_OP_STARTUP_ALL_PRINTERS, /* Startup-All-Printers: Startup all services. */ + + IPP_OP_PRIVATE = 0x4000, /* Reserved @private@ */ + IPP_OP_CUPS_GET_DEFAULT, /* CUPS-Get-Default: Get the default printer */ + IPP_OP_CUPS_GET_PRINTERS, /* CUPS-Get-Printers: Get a list of printers and/or classes */ + IPP_OP_CUPS_ADD_MODIFY_PRINTER, /* CUPS-Add-Modify-Printer: Add or modify a printer */ + IPP_OP_CUPS_DELETE_PRINTER, /* CUPS-Delete-Printer: Delete a printer */ + IPP_OP_CUPS_GET_CLASSES, /* CUPS-Get-Classes: Get a list of classes @deprecated@ @exclude all@ */ + IPP_OP_CUPS_ADD_MODIFY_CLASS, /* CUPS-Add-Modify-Class: Add or modify a class */ + IPP_OP_CUPS_DELETE_CLASS, /* CUPS-Delete-Class: Delete a class */ + IPP_OP_CUPS_ACCEPT_JOBS, /* CUPS-Accept-Jobs: Accept new jobs on a printer @exclude all@ */ + IPP_OP_CUPS_REJECT_JOBS, /* CUPS-Reject-Jobs: Reject new jobs on a printer @exclude all@ */ + IPP_OP_CUPS_SET_DEFAULT, /* CUPS-Set-Default: Set the default printer */ + IPP_OP_CUPS_GET_DEVICES, /* CUPS-Get-Devices: Get a list of supported devices @deprecated@ */ + IPP_OP_CUPS_GET_PPDS, /* CUPS-Get-PPDs: Get a list of supported drivers @deprecated@ */ + IPP_OP_CUPS_MOVE_JOB, /* CUPS-Move-Job: Move a job to a different printer */ + IPP_OP_CUPS_AUTHENTICATE_JOB, /* CUPS-Authenticate-Job: Authenticate a job @since CUPS 1.2/macOS 10.5@ */ + IPP_OP_CUPS_GET_PPD, /* CUPS-Get-PPD: Get a PPD file @deprecated@ */ + IPP_OP_CUPS_GET_DOCUMENT = 0x4027, /* CUPS-Get-Document: Get a document file @since CUPS 1.4/macOS 10.6@ */ + IPP_OP_CUPS_CREATE_LOCAL_PRINTER /* CUPS-Create-Local-Printer: Create a local (temporary) printer @since CUPS 2.2@ */ + +# ifndef _CUPS_NO_DEPRECATED +# define IPP_PRINT_JOB IPP_OP_PRINT_JOB +# define IPP_PRINT_URI IPP_OP_PRINT_URI +# define IPP_VALIDATE_JOB IPP_OP_VALIDATE_JOB +# define IPP_CREATE_JOB IPP_OP_CREATE_JOB +# define IPP_SEND_DOCUMENT IPP_OP_SEND_DOCUMENT +# define IPP_SEND_URI IPP_OP_SEND_URI +# define IPP_CANCEL_JOB IPP_OP_CANCEL_JOB +# define IPP_GET_JOB_ATTRIBUTES IPP_OP_GET_JOB_ATTRIBUTES +# define IPP_GET_JOBS IPP_OP_GET_JOBS +# define IPP_GET_PRINTER_ATTRIBUTES IPP_OP_GET_PRINTER_ATTRIBUTES +# define IPP_HOLD_JOB IPP_OP_HOLD_JOB +# define IPP_RELEASE_JOB IPP_OP_RELEASE_JOB +# define IPP_RESTART_JOB IPP_OP_RESTART_JOB +# define IPP_PAUSE_PRINTER IPP_OP_PAUSE_PRINTER +# define IPP_RESUME_PRINTER IPP_OP_RESUME_PRINTER +# define IPP_PURGE_JOBS IPP_OP_PURGE_JOBS +# define IPP_SET_PRINTER_ATTRIBUTES IPP_OP_SET_PRINTER_ATTRIBUTES +# define IPP_SET_JOB_ATTRIBUTES IPP_OP_SET_JOB_ATTRIBUTES +# define IPP_GET_PRINTER_SUPPORTED_VALUES IPP_OP_GET_PRINTER_SUPPORTED_VALUES +# define IPP_CREATE_PRINTER_SUBSCRIPTION IPP_OP_CREATE_PRINTER_SUBSCRIPTIONS +# define IPP_CREATE_JOB_SUBSCRIPTION IPP_OP_CREATE_JOB_SUBSCRIPTIONS +# define IPP_OP_CREATE_PRINTER_SUBSCRIPTION IPP_OP_CREATE_PRINTER_SUBSCRIPTIONS +# define IPP_OP_CREATE_JOB_SUBSCRIPTION IPP_OP_CREATE_JOB_SUBSCRIPTIONS +# define IPP_GET_SUBSCRIPTION_ATTRIBUTES IPP_OP_GET_SUBSCRIPTION_ATTRIBUTES +# define IPP_GET_SUBSCRIPTIONS IPP_OP_GET_SUBSCRIPTIONS +# define IPP_RENEW_SUBSCRIPTION IPP_OP_RENEW_SUBSCRIPTION +# define IPP_CANCEL_SUBSCRIPTION IPP_OP_CANCEL_SUBSCRIPTION +# define IPP_GET_NOTIFICATIONS IPP_OP_GET_NOTIFICATIONS +# define IPP_SEND_NOTIFICATIONS IPP_OP_SEND_NOTIFICATIONS +# define IPP_GET_RESOURCE_ATTRIBUTES IPP_OP_GET_RESOURCE_ATTRIBUTES +# define IPP_GET_RESOURCE_DATA IPP_OP_GET_RESOURCE_DATA +# define IPP_GET_RESOURCES IPP_OP_GET_RESOURCES +# define IPP_GET_PRINT_SUPPORT_FILES IPP_OP_GET_PRINT_SUPPORT_FILES +# define IPP_ENABLE_PRINTER IPP_OP_ENABLE_PRINTER +# define IPP_DISABLE_PRINTER IPP_OP_DISABLE_PRINTER +# define IPP_PAUSE_PRINTER_AFTER_CURRENT_JOB IPP_OP_PAUSE_PRINTER_AFTER_CURRENT_JOB +# define IPP_HOLD_NEW_JOBS IPP_OP_HOLD_NEW_JOBS +# define IPP_RELEASE_HELD_NEW_JOBS IPP_OP_RELEASE_HELD_NEW_JOBS +# define IPP_DEACTIVATE_PRINTER IPP_OP_DEACTIVATE_PRINTER +# define IPP_ACTIVATE_PRINTER IPP_OP_ACTIVATE_PRINTER +# define IPP_RESTART_PRINTER IPP_OP_RESTART_PRINTER +# define IPP_SHUTDOWN_PRINTER IPP_OP_SHUTDOWN_PRINTER +# define IPP_STARTUP_PRINTER IPP_OP_STARTUP_PRINTER +# define IPP_REPROCESS_JOB IPP_OP_REPROCESS_JOB +# define IPP_CANCEL_CURRENT_JOB IPP_OP_CANCEL_CURRENT_JOB +# define IPP_SUSPEND_CURRENT_JOB IPP_OP_SUSPEND_CURRENT_JOB +# define IPP_RESUME_JOB IPP_OP_RESUME_JOB +# define IPP_PROMOTE_JOB IPP_OP_PROMOTE_JOB +# define IPP_SCHEDULE_JOB_AFTER IPP_OP_SCHEDULE_JOB_AFTER +# define IPP_CANCEL_DOCUMENT IPP_OP_CANCEL_DOCUMENT +# define IPP_GET_DOCUMENT_ATTRIBUTES IPP_OP_GET_DOCUMENT_ATTRIBUTES +# define IPP_GET_DOCUMENTS IPP_OP_GET_DOCUMENTS +# define IPP_DELETE_DOCUMENT IPP_OP_DELETE_DOCUMENT +# define IPP_SET_DOCUMENT_ATTRIBUTES IPP_OP_SET_DOCUMENT_ATTRIBUTES +# define IPP_CANCEL_JOBS IPP_OP_CANCEL_JOBS +# define IPP_CANCEL_MY_JOBS IPP_OP_CANCEL_MY_JOBS +# define IPP_RESUBMIT_JOB IPP_OP_RESUBMIT_JOB +# define IPP_CLOSE_JOB IPP_OP_CLOSE_JOB +# define IPP_IDENTIFY_PRINTER IPP_OP_IDENTIFY_PRINTER +# define IPP_VALIDATE_DOCUMENT IPP_OP_VALIDATE_DOCUMENT +# define IPP_OP_SEND_HARDCOPY_DOCUMENT IPP_OP_ADD_DOCUMENT_IMAGES +# define IPP_PRIVATE IPP_OP_PRIVATE +# define CUPS_GET_DEFAULT IPP_OP_CUPS_GET_DEFAULT +# define CUPS_GET_PRINTERS IPP_OP_CUPS_GET_PRINTERS +# define CUPS_ADD_MODIFY_PRINTER IPP_OP_CUPS_ADD_MODIFY_PRINTER +# define CUPS_DELETE_PRINTER IPP_OP_CUPS_DELETE_PRINTER +# define CUPS_GET_CLASSES IPP_OP_CUPS_GET_CLASSES +# define CUPS_ADD_MODIFY_CLASS IPP_OP_CUPS_ADD_MODIFY_CLASS +# define CUPS_DELETE_CLASS IPP_OP_CUPS_DELETE_CLASS +# define CUPS_ACCEPT_JOBS IPP_OP_CUPS_ACCEPT_JOBS +# define CUPS_REJECT_JOBS IPP_OP_CUPS_REJECT_JOBS +# define CUPS_SET_DEFAULT IPP_OP_CUPS_SET_DEFAULT +# define CUPS_GET_DEVICES IPP_OP_CUPS_GET_DEVICES +# define CUPS_GET_PPDS IPP_OP_CUPS_GET_PPDS +# define CUPS_MOVE_JOB IPP_OP_CUPS_MOVE_JOB +# define CUPS_AUTHENTICATE_JOB IPP_OP_CUPS_AUTHENTICATE_JOB +# define CUPS_GET_PPD IPP_OP_CUPS_GET_PPD +# define CUPS_GET_DOCUMENT IPP_OP_CUPS_GET_DOCUMENT + /* Legacy names */ +# define CUPS_ADD_PRINTER IPP_OP_CUPS_ADD_MODIFY_PRINTER +# define CUPS_ADD_CLASS IPP_OP_CUPS_ADD_MODIFY_CLASS +# endif /* !_CUPS_NO_DEPRECATED */ +} ipp_op_t; + +typedef enum ipp_orient_e /**** Orientation values ****/ +{ + IPP_ORIENT_PORTRAIT = 3, /* No rotation */ + IPP_ORIENT_LANDSCAPE, /* 90 degrees counter-clockwise */ + IPP_ORIENT_REVERSE_LANDSCAPE, /* 90 degrees clockwise */ + IPP_ORIENT_REVERSE_PORTRAIT, /* 180 degrees */ + IPP_ORIENT_NONE /* No rotation */ + +# ifndef _CUPS_NO_DEPRECATED +# define IPP_PORTRAIT IPP_ORIENT_PORTRAIT +# define IPP_LANDSCAPE IPP_ORIENT_LANDSCAPE +# define IPP_REVERSE_LANDSCAPE IPP_ORIENT_REVERSE_LANDSCAPE +# define IPP_REVERSE_PORTRAIT IPP_ORIENT_REVERSE_PORTRAIT +# endif /* !_CUPS_NO_DEPRECATED */ +} ipp_orient_t; + +typedef enum ipp_pstate_e /**** Printer state values ****/ +{ + IPP_PSTATE_IDLE = 3, /* Printer is idle */ + IPP_PSTATE_PROCESSING, /* Printer is working */ + IPP_PSTATE_STOPPED /* Printer is stopped */ + +# ifndef _CUPS_NO_DEPRECATED +# define IPP_PRINTER_IDLE IPP_PSTATE_IDLE +# define IPP_PRINTER_PROCESSING IPP_PSTATE_PROCESSING +# define IPP_PRINTER_STOPPED IPP_PSTATE_STOPPED +# endif /* _CUPS_NO_DEPRECATED */ +} ipp_pstate_t; + +typedef enum ipp_quality_e /**** Print quality values ****/ +{ + IPP_QUALITY_DRAFT = 3, /* Draft quality */ + IPP_QUALITY_NORMAL, /* Normal quality */ + IPP_QUALITY_HIGH /* High quality */ +} ipp_quality_t; + +typedef enum ipp_res_e /**** Resolution units ****/ +{ + IPP_RES_PER_INCH = 3, /* Pixels per inch */ + IPP_RES_PER_CM /* Pixels per centimeter */ +} ipp_res_t; + +typedef enum ipp_rstate_e /**** resource-state values ****/ +{ + IPP_RSTATE_PENDING = 3, /* Resource is created but has no data yet. */ + IPP_RSTATE_AVAILABLE, /* Resource is available for installation. */ + IPP_RSTATE_INSTALLED, /* Resource is installed. */ + IPP_RSTATE_CANCELED, /* Resource has been canceled and is pending deletion. */ + IPP_RSTATE_ABORTED /* Resource has been aborted and is pending deletion. */ +} ipp_rstate_t; + +typedef enum ipp_sstate_e /**** system-state values ****/ +{ + IPP_SSTATE_IDLE = 3, /* At least one printer is idle and none are processing a job. */ + IPP_SSTATE_PROCESSING, /* At least one printer is processing a job. */ + IPP_SSTATE_STOPPED /* All printers are stopped. */ +} ipp_sstate_t; + +typedef enum ipp_state_e /**** ipp_t state values ****/ +{ + IPP_STATE_ERROR = -1, /* An error occurred */ + IPP_STATE_IDLE, /* Nothing is happening/request completed */ + IPP_STATE_HEADER, /* The request header needs to be sent/received */ + IPP_STATE_ATTRIBUTE, /* One or more attributes need to be sent/received */ + IPP_STATE_DATA /* IPP request data needs to be sent/received */ + +# ifndef _CUPS_NO_DEPRECATED +# define IPP_ERROR IPP_STATE_ERROR +# define IPP_IDLE IPP_STATE_IDLE +# define IPP_HEADER IPP_STATE_HEADER +# define IPP_ATTRIBUTE IPP_STATE_ATTRIBUTE +# define IPP_DATA IPP_STATE_DATA +# endif /* !_CUPS_NO_DEPRECATED */ +} ipp_state_t; + +typedef enum ipp_status_e /**** IPP status code values ****/ +{ + IPP_STATUS_CUPS_INVALID = -1, /* Invalid status name for @link ippErrorValue@ */ + IPP_STATUS_OK = 0x0000, /* successful-ok */ + IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED, /* successful-ok-ignored-or-substituted-attributes */ + IPP_STATUS_OK_CONFLICTING, /* successful-ok-conflicting-attributes */ + IPP_STATUS_OK_IGNORED_SUBSCRIPTIONS, /* successful-ok-ignored-subscriptions */ + IPP_STATUS_OK_IGNORED_NOTIFICATIONS, /* successful-ok-ignored-notifications @private@ */ + IPP_STATUS_OK_TOO_MANY_EVENTS, /* successful-ok-too-many-events */ + IPP_STATUS_OK_BUT_CANCEL_SUBSCRIPTION,/* successful-ok-but-cancel-subscription @private@ */ + IPP_STATUS_OK_EVENTS_COMPLETE, /* successful-ok-events-complete */ + IPP_STATUS_REDIRECTION_OTHER_SITE = 0x0200, + /* redirection-other-site @private@ */ + IPP_STATUS_CUPS_SEE_OTHER = 0x0280, /* cups-see-other @private@ */ + IPP_STATUS_ERROR_BAD_REQUEST = 0x0400,/* client-error-bad-request */ + IPP_STATUS_ERROR_FORBIDDEN, /* client-error-forbidden */ + IPP_STATUS_ERROR_NOT_AUTHENTICATED, /* client-error-not-authenticated */ + IPP_STATUS_ERROR_NOT_AUTHORIZED, /* client-error-not-authorized */ + IPP_STATUS_ERROR_NOT_POSSIBLE, /* client-error-not-possible */ + IPP_STATUS_ERROR_TIMEOUT, /* client-error-timeout */ + IPP_STATUS_ERROR_NOT_FOUND, /* client-error-not-found */ + IPP_STATUS_ERROR_GONE, /* client-error-gone */ + IPP_STATUS_ERROR_REQUEST_ENTITY, /* client-error-request-entity-too-large */ + IPP_STATUS_ERROR_REQUEST_VALUE, /* client-error-request-value-too-long */ + IPP_STATUS_ERROR_DOCUMENT_FORMAT_NOT_SUPPORTED, + /* client-error-document-format-not-supported */ + IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES,/* client-error-attributes-or-values-not-supported */ + IPP_STATUS_ERROR_URI_SCHEME, /* client-error-uri-scheme-not-supported */ + IPP_STATUS_ERROR_CHARSET, /* client-error-charset-not-supported */ + IPP_STATUS_ERROR_CONFLICTING, /* client-error-conflicting-attributes */ + IPP_STATUS_ERROR_COMPRESSION_NOT_SUPPORTED, + /* client-error-compression-not-supported */ + IPP_STATUS_ERROR_COMPRESSION_ERROR, /* client-error-compression-error */ + IPP_STATUS_ERROR_DOCUMENT_FORMAT_ERROR, + /* client-error-document-format-error */ + IPP_STATUS_ERROR_DOCUMENT_ACCESS, /* client-error-document-access-error */ + IPP_STATUS_ERROR_ATTRIBUTES_NOT_SETTABLE, + /* client-error-attributes-not-settable */ + IPP_STATUS_ERROR_IGNORED_ALL_SUBSCRIPTIONS, + /* client-error-ignored-all-subscriptions */ + IPP_STATUS_ERROR_TOO_MANY_SUBSCRIPTIONS, + /* client-error-too-many-subscriptions */ + IPP_STATUS_ERROR_IGNORED_ALL_NOTIFICATIONS, + /* client-error-ignored-all-notifications @private@ */ + IPP_STATUS_ERROR_PRINT_SUPPORT_FILE_NOT_FOUND, + /* client-error-print-support-file-not-found @private@ */ + IPP_STATUS_ERROR_DOCUMENT_PASSWORD, /* client-error-document-password-error */ + IPP_STATUS_ERROR_DOCUMENT_PERMISSION, /* client-error-document-permission-error */ + IPP_STATUS_ERROR_DOCUMENT_SECURITY, /* client-error-document-security-error */ + IPP_STATUS_ERROR_DOCUMENT_UNPRINTABLE,/* client-error-document-unprintable-error */ + IPP_STATUS_ERROR_ACCOUNT_INFO_NEEDED, /* client-error-account-info-needed */ + IPP_STATUS_ERROR_ACCOUNT_CLOSED, /* client-error-account-closed */ + IPP_STATUS_ERROR_ACCOUNT_LIMIT_REACHED, + /* client-error-account-limit-reached */ + IPP_STATUS_ERROR_ACCOUNT_AUTHORIZATION_FAILED, + /* client-error-account-authorization-failed */ + IPP_STATUS_ERROR_NOT_FETCHABLE, /* client-error-not-fetchable */ + + /* Legacy status codes for paid printing */ + IPP_STATUS_ERROR_CUPS_ACCOUNT_INFO_NEEDED = 0x049C, + /* cups-error-account-info-needed @deprecated@ */ + IPP_STATUS_ERROR_CUPS_ACCOUNT_CLOSED, /* cups-error-account-closed @deprecate@ */ + IPP_STATUS_ERROR_CUPS_ACCOUNT_LIMIT_REACHED, + /* cups-error-account-limit-reached @deprecated@ */ + IPP_STATUS_ERROR_CUPS_ACCOUNT_AUTHORIZATION_FAILED, + /* cups-error-account-authorization-failed @deprecated@ */ + + IPP_STATUS_ERROR_INTERNAL = 0x0500, /* server-error-internal-error */ + IPP_STATUS_ERROR_OPERATION_NOT_SUPPORTED, + /* server-error-operation-not-supported */ + IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, /* server-error-service-unavailable */ + IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED, + /* server-error-version-not-supported */ + IPP_STATUS_ERROR_DEVICE, /* server-error-device-error */ + IPP_STATUS_ERROR_TEMPORARY, /* server-error-temporary-error */ + IPP_STATUS_ERROR_NOT_ACCEPTING_JOBS, /* server-error-not-accepting-jobs */ + IPP_STATUS_ERROR_BUSY, /* server-error-busy */ + IPP_STATUS_ERROR_JOB_CANCELED, /* server-error-job-canceled */ + IPP_STATUS_ERROR_MULTIPLE_JOBS_NOT_SUPPORTED, + /* server-error-multiple-document-jobs-not-supported */ + IPP_STATUS_ERROR_PRINTER_IS_DEACTIVATED, + /* server-error-printer-is-deactivated */ + IPP_STATUS_ERROR_TOO_MANY_JOBS, /* server-error-too-many-jobs */ + IPP_STATUS_ERROR_TOO_MANY_DOCUMENTS, /* server-error-too-many-documents */ + + /* These are internal and never sent over the wire... */ + IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED = 0x1000, + /* cups-authentication-canceled - Authentication canceled by user @since CUPS 1.5/macOS 10.7@ */ + IPP_STATUS_ERROR_CUPS_PKI, /* cups-pki-error - Error negotiating a secure connection @since CUPS 1.5/macOS 10.7@ */ + IPP_STATUS_ERROR_CUPS_UPGRADE_REQUIRED/* cups-upgrade-required - TLS upgrade required @since CUPS 1.5/macOS 10.7@ */ + +# ifndef _CUPS_NO_DEPRECATED +# define IPP_OK IPP_STATUS_OK +# define IPP_OK_SUBST IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED +# define IPP_OK_CONFLICT IPP_STATUS_OK_CONFLICTING +# define IPP_OK_IGNORED_SUBSCRIPTIONS IPP_STATUS_OK_IGNORED_SUBSCRIPTIONS +# define IPP_OK_IGNORED_NOTIFICATIONS IPP_STATUS_OK_IGNORED_NOTIFICATIONS +# define IPP_OK_TOO_MANY_EVENTS IPP_STATUS_OK_TOO_MANY_EVENTS +# define IPP_OK_BUT_CANCEL_SUBSCRIPTION IPP_STATUS_OK_BUT_CANCEL_SUBSCRIPTION +# define IPP_OK_EVENTS_COMPLETE IPP_STATUS_OK_EVENTS_COMPLETE +# define IPP_REDIRECTION_OTHER_SITE IPP_STATUS_REDIRECTION_OTHER_SITE +# define CUPS_SEE_OTHER IPP_STATUS_CUPS_SEE_OTHER +# define IPP_BAD_REQUEST IPP_STATUS_ERROR_BAD_REQUEST +# define IPP_FORBIDDEN IPP_STATUS_ERROR_FORBIDDEN +# define IPP_NOT_AUTHENTICATED IPP_STATUS_ERROR_NOT_AUTHENTICATED +# define IPP_NOT_AUTHORIZED IPP_STATUS_ERROR_NOT_AUTHORIZED +# define IPP_NOT_POSSIBLE IPP_STATUS_ERROR_NOT_POSSIBLE +# define IPP_TIMEOUT IPP_STATUS_ERROR_TIMEOUT +# define IPP_NOT_FOUND IPP_STATUS_ERROR_NOT_FOUND +# define IPP_GONE IPP_STATUS_ERROR_GONE +# define IPP_REQUEST_ENTITY IPP_STATUS_ERROR_REQUEST_ENTITY +# define IPP_REQUEST_VALUE IPP_STATUS_ERROR_REQUEST_VALUE +# define IPP_DOCUMENT_FORMAT IPP_STATUS_ERROR_DOCUMENT_FORMAT_NOT_SUPPORTED +# define IPP_ATTRIBUTES IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES +# define IPP_URI_SCHEME IPP_STATUS_ERROR_URI_SCHEME +# define IPP_CHARSET IPP_STATUS_ERROR_CHARSET +# define IPP_CONFLICT IPP_STATUS_ERROR_CONFLICTING +# define IPP_COMPRESSION_NOT_SUPPORTED IPP_STATUS_ERROR_COMPRESSION_NOT_SUPPORTED +# define IPP_COMPRESSION_ERROR IPP_STATUS_ERROR_COMPRESSION_ERROR +# define IPP_DOCUMENT_FORMAT_ERROR IPP_STATUS_ERROR_DOCUMENT_FORMAT_ERROR +# define IPP_DOCUMENT_ACCESS_ERROR IPP_STATUS_ERROR_DOCUMENT_ACCESS +# define IPP_ATTRIBUTES_NOT_SETTABLE IPP_STATUS_ERROR_ATTRIBUTES_NOT_SETTABLE +# define IPP_IGNORED_ALL_SUBSCRIPTIONS IPP_STATUS_ERROR_IGNORED_ALL_SUBSCRIPTIONS +# define IPP_TOO_MANY_SUBSCRIPTIONS IPP_STATUS_ERROR_TOO_MANY_SUBSCRIPTIONS +# define IPP_IGNORED_ALL_NOTIFICATIONS IPP_STATUS_ERROR_IGNORED_ALL_NOTIFICATIONS +# define IPP_PRINT_SUPPORT_FILE_NOT_FOUND IPP_STATUS_ERROR_PRINT_SUPPORT_FILE_NOT_FOUND +# define IPP_DOCUMENT_PASSWORD_ERROR IPP_STATUS_ERROR_DOCUMENT_PASSWORD +# define IPP_DOCUMENT_PERMISSION_ERROR IPP_STATUS_ERROR_DOCUMENT_PERMISSION +# define IPP_DOCUMENT_SECURITY_ERROR IPP_STATUS_ERROR_DOCUMENT_SECURITY +# define IPP_DOCUMENT_UNPRINTABLE_ERROR IPP_STATUS_ERROR_DOCUMENT_UNPRINTABLE +# define IPP_INTERNAL_ERROR IPP_STATUS_ERROR_INTERNAL +# define IPP_OPERATION_NOT_SUPPORTED IPP_STATUS_ERROR_OPERATION_NOT_SUPPORTED +# define IPP_SERVICE_UNAVAILABLE IPP_STATUS_ERROR_SERVICE_UNAVAILABLE +# define IPP_VERSION_NOT_SUPPORTED IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED +# define IPP_DEVICE_ERROR IPP_STATUS_ERROR_DEVICE +# define IPP_TEMPORARY_ERROR IPP_STATUS_ERROR_TEMPORARY +# define IPP_NOT_ACCEPTING IPP_STATUS_ERROR_NOT_ACCEPTING_JOBS +# define IPP_PRINTER_BUSY IPP_STATUS_ERROR_BUSY +# define IPP_ERROR_JOB_CANCELED IPP_STATUS_ERROR_JOB_CANCELED +# define IPP_MULTIPLE_JOBS_NOT_SUPPORTED IPP_STATUS_ERROR_MULTIPLE_JOBS_NOT_SUPPORTED +# define IPP_PRINTER_IS_DEACTIVATED IPP_STATUS_ERROR_PRINTER_IS_DEACTIVATED +# define IPP_TOO_MANY_JOBS IPP_STATUS_ERROR_TOO_MANY_JOBS +# define IPP_TOO_MANY_DOCUMENTS IPP_STATUS_ERROR_TOO_MANY_DOCUMENTS +# define IPP_AUTHENTICATION_CANCELED IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED +# define IPP_PKI_ERROR IPP_STATUS_ERROR_CUPS_PKI +# define IPP_UPGRADE_REQUIRED IPP_STATUS_ERROR_CUPS_UPGRADE_REQUIRED + /* Legacy name for canceled status */ +# define IPP_ERROR_JOB_CANCELLED IPP_STATUS_ERROR_JOB_CANCELED +# endif /* _CUPS_NO_DEPRECATED */ +} ipp_status_t; + +typedef enum ipp_tag_e /**** Value and group tag values for attributes ****/ +{ + IPP_TAG_CUPS_INVALID = -1, /* Invalid tag name for @link ippTagValue@ */ + IPP_TAG_ZERO = 0x00, /* Zero tag - used for separators */ + IPP_TAG_OPERATION, /* Operation group */ + IPP_TAG_JOB, /* Job group */ + IPP_TAG_END, /* End-of-attributes */ + IPP_TAG_PRINTER, /* Printer group */ + IPP_TAG_UNSUPPORTED_GROUP, /* Unsupported attributes group */ + IPP_TAG_SUBSCRIPTION, /* Subscription group */ + IPP_TAG_EVENT_NOTIFICATION, /* Event group */ + IPP_TAG_RESOURCE, /* Resource group */ + IPP_TAG_DOCUMENT, /* Document group */ + IPP_TAG_SYSTEM, /* System group */ + IPP_TAG_UNSUPPORTED_VALUE = 0x10, /* Unsupported value */ + IPP_TAG_DEFAULT, /* Default value */ + IPP_TAG_UNKNOWN, /* Unknown value */ + IPP_TAG_NOVALUE, /* No-value value */ + IPP_TAG_NOTSETTABLE = 0x15, /* Not-settable value */ + IPP_TAG_DELETEATTR, /* Delete-attribute value */ + IPP_TAG_ADMINDEFINE, /* Admin-defined value */ + IPP_TAG_INTEGER = 0x21, /* Integer value */ + IPP_TAG_BOOLEAN, /* Boolean value */ + IPP_TAG_ENUM, /* Enumeration value */ + IPP_TAG_STRING = 0x30, /* Octet string value */ + IPP_TAG_DATE, /* Date/time value */ + IPP_TAG_RESOLUTION, /* Resolution value */ + IPP_TAG_RANGE, /* Range value */ + IPP_TAG_BEGIN_COLLECTION, /* Beginning of collection value @exclude all@ */ + IPP_TAG_TEXTLANG, /* Text-with-language value */ + IPP_TAG_NAMELANG, /* Name-with-language value */ + IPP_TAG_END_COLLECTION, /* End of collection value @exclude all@ */ + IPP_TAG_TEXT = 0x41, /* Text value */ + IPP_TAG_NAME, /* Name value */ + IPP_TAG_RESERVED_STRING, /* Reserved for future string value @private@ */ + IPP_TAG_KEYWORD, /* Keyword value */ + IPP_TAG_URI, /* URI value */ + IPP_TAG_URISCHEME, /* URI scheme value */ + IPP_TAG_CHARSET, /* Character set value */ + IPP_TAG_LANGUAGE, /* Language value */ + IPP_TAG_MIMETYPE, /* MIME media type value */ + IPP_TAG_MEMBERNAME, /* Collection member name value @exclude all@ */ + IPP_TAG_EXTENSION = 0x7f, /* Extension point for 32-bit tags @exclude all@ */ + IPP_TAG_CUPS_MASK = 0x7fffffff, /* Mask for copied attribute values @private@ */ + /* The following expression is used to avoid compiler warnings with +/-0x80000000 */ + IPP_TAG_CUPS_CONST = -0x7fffffff-1 /* Bitflag for copied/const attribute values @private@ */ + +# ifndef _CUPS_NO_DEPRECATED +# define IPP_TAG_MASK IPP_TAG_CUPS_MASK +# define IPP_TAG_COPY IPP_TAG_CUPS_CONST +# endif /* !_CUPS_NO_DEPRECATED */ +} ipp_tag_t; + +typedef unsigned char ipp_uchar_t; /**** Unsigned 8-bit integer/character @exclude all@ ****/ +typedef struct _ipp_s ipp_t; /**** IPP request/response data ****/ +typedef struct _ipp_attribute_s ipp_attribute_t; + /**** IPP attribute ****/ + +/**** New in CUPS 1.2/macOS 10.5 ****/ +typedef ssize_t (*ipp_iocb_t)(void *context, ipp_uchar_t *buffer, size_t bytes); + /**** ippReadIO/ippWriteIO callback function @since CUPS 1.2/macOS 10.5@ ****/ + +/**** New in CUPS 1.6/macOS 10.8 ****/ +typedef int (*ipp_copycb_t)(void *context, ipp_t *dst, ipp_attribute_t *attr); + /**** ippCopyAttributes callback function @since CUPS 1.6/macOS 10.8 ****/ + + +/* + * Prototypes... + */ + +extern ipp_attribute_t *ippAddBoolean(ipp_t *ipp, ipp_tag_t group, + const char *name, char value) _CUPS_PUBLIC; +extern ipp_attribute_t *ippAddBooleans(ipp_t *ipp, ipp_tag_t group, + const char *name, int num_values, + const char *values) _CUPS_PUBLIC; +extern ipp_attribute_t *ippAddDate(ipp_t *ipp, ipp_tag_t group, + const char *name, const ipp_uchar_t *value) _CUPS_PUBLIC; +extern ipp_attribute_t *ippAddInteger(ipp_t *ipp, ipp_tag_t group, + ipp_tag_t value_tag, const char *name, + int value) _CUPS_PUBLIC; +extern ipp_attribute_t *ippAddIntegers(ipp_t *ipp, ipp_tag_t group, + ipp_tag_t value_tag, const char *name, + int num_values, const int *values) _CUPS_PUBLIC; +extern ipp_attribute_t *ippAddRange(ipp_t *ipp, ipp_tag_t group, + const char *name, int lower, int upper) _CUPS_PUBLIC; +extern ipp_attribute_t *ippAddRanges(ipp_t *ipp, ipp_tag_t group, + const char *name, int num_values, + const int *lower, const int *upper) _CUPS_PUBLIC; +extern ipp_attribute_t *ippAddResolution(ipp_t *ipp, ipp_tag_t group, + const char *name, ipp_res_t units, + int xres, int yres) _CUPS_PUBLIC; +extern ipp_attribute_t *ippAddResolutions(ipp_t *ipp, ipp_tag_t group, + const char *name, int num_values, + ipp_res_t units, const int *xres, + const int *yres) _CUPS_PUBLIC; +extern ipp_attribute_t *ippAddSeparator(ipp_t *ipp) _CUPS_PUBLIC; +extern ipp_attribute_t *ippAddString(ipp_t *ipp, ipp_tag_t group, + ipp_tag_t value_tag, const char *name, + const char *language, const char *value) _CUPS_PUBLIC; +extern ipp_attribute_t *ippAddStrings(ipp_t *ipp, ipp_tag_t group, + ipp_tag_t value_tag, const char *name, + int num_values, const char *language, + const char * const *values) _CUPS_PUBLIC; +extern time_t ippDateToTime(const ipp_uchar_t *date) _CUPS_PUBLIC; +extern void ippDelete(ipp_t *ipp) _CUPS_PUBLIC; +extern const char *ippErrorString(ipp_status_t error) _CUPS_PUBLIC; +extern ipp_attribute_t *ippFindAttribute(ipp_t *ipp, const char *name, + ipp_tag_t value_tag) _CUPS_PUBLIC; +extern ipp_attribute_t *ippFindNextAttribute(ipp_t *ipp, const char *name, + ipp_tag_t value_tag) _CUPS_PUBLIC; +extern size_t ippLength(ipp_t *ipp) _CUPS_PUBLIC; +extern ipp_t *ippNew(void) _CUPS_PUBLIC; +extern ipp_state_t ippRead(http_t *http, ipp_t *ipp) _CUPS_PUBLIC; +extern const ipp_uchar_t *ippTimeToDate(time_t t) _CUPS_PUBLIC; +extern ipp_state_t ippWrite(http_t *http, ipp_t *ipp) _CUPS_PUBLIC; +extern int ippPort(void) _CUPS_PUBLIC; +extern void ippSetPort(int p) _CUPS_PUBLIC; + +/**** New in CUPS 1.1.19 ****/ +extern ipp_attribute_t *ippAddCollection(ipp_t *ipp, ipp_tag_t group, + const char *name, ipp_t *value) _CUPS_API_1_1_19; +extern ipp_attribute_t *ippAddCollections(ipp_t *ipp, ipp_tag_t group, + const char *name, int num_values, + const ipp_t **values) _CUPS_API_1_1_19; +extern void ippDeleteAttribute(ipp_t *ipp, ipp_attribute_t *attr) _CUPS_API_1_1_19; +extern ipp_state_t ippReadFile(int fd, ipp_t *ipp) _CUPS_API_1_1_19; +extern ipp_state_t ippWriteFile(int fd, ipp_t *ipp) _CUPS_API_1_1_19; + +/**** New in CUPS 1.2/macOS 10.5 ****/ +extern ipp_attribute_t *ippAddOctetString(ipp_t *ipp, ipp_tag_t group, + const char *name, + const void *data, int datalen) _CUPS_API_1_2; +extern ipp_status_t ippErrorValue(const char *name) _CUPS_API_1_2; +extern ipp_t *ippNewRequest(ipp_op_t op) _CUPS_API_1_2; +extern const char *ippOpString(ipp_op_t op) _CUPS_API_1_2; +extern ipp_op_t ippOpValue(const char *name) _CUPS_API_1_2; +extern ipp_state_t ippReadIO(void *src, ipp_iocb_t cb, int blocking, + ipp_t *parent, ipp_t *ipp) _CUPS_API_1_2; +extern ipp_state_t ippWriteIO(void *dst, ipp_iocb_t cb, int blocking, + ipp_t *parent, ipp_t *ipp) _CUPS_API_1_2; + +/**** New in CUPS 1.4/macOS 10.6 ****/ +extern const char *ippTagString(ipp_tag_t tag) _CUPS_API_1_4; +extern ipp_tag_t ippTagValue(const char *name) _CUPS_API_1_4; + +/**** New in CUPS 1.6/macOS 10.8 ****/ +extern ipp_attribute_t *ippAddOutOfBand(ipp_t *ipp, ipp_tag_t group, + ipp_tag_t value_tag, const char *name) + _CUPS_API_1_6; +extern size_t ippAttributeString(ipp_attribute_t *attr, char *buffer, + size_t bufsize) _CUPS_API_1_6; +extern ipp_attribute_t *ippCopyAttribute(ipp_t *dst, ipp_attribute_t *attr, + int quickcopy) _CUPS_API_1_6; +extern int ippCopyAttributes(ipp_t *dst, ipp_t *src, + int quickcopy, ipp_copycb_t cb, + void *context) _CUPS_API_1_6; +extern int ippDeleteValues(ipp_t *ipp, ipp_attribute_t **attr, + int element, int count) _CUPS_API_1_6; +extern const char *ippEnumString(const char *attrname, int enumvalue) + _CUPS_API_1_6; +extern int ippEnumValue(const char *attrname, + const char *enumstring) _CUPS_API_1_6; +extern ipp_attribute_t *ippFirstAttribute(ipp_t *ipp) _CUPS_API_1_6; +extern int ippGetBoolean(ipp_attribute_t *attr, int element) + _CUPS_API_1_6; +extern ipp_t *ippGetCollection(ipp_attribute_t *attr, + int element) _CUPS_API_1_6; +extern int ippGetCount(ipp_attribute_t *attr) _CUPS_API_1_6; +extern const ipp_uchar_t *ippGetDate(ipp_attribute_t *attr, int element) + _CUPS_API_1_6; +extern ipp_tag_t ippGetGroupTag(ipp_attribute_t *attr) _CUPS_API_1_6; +extern int ippGetInteger(ipp_attribute_t *attr, int element) + _CUPS_API_1_6; +extern const char *ippGetName(ipp_attribute_t *attr) _CUPS_API_1_6; +extern ipp_op_t ippGetOperation(ipp_t *ipp) _CUPS_API_1_6; +extern int ippGetRange(ipp_attribute_t *attr, int element, + int *upper) _CUPS_API_1_6; +extern int ippGetRequestId(ipp_t *ipp) _CUPS_API_1_6; +extern int ippGetResolution(ipp_attribute_t *attr, int element, + int *yres, ipp_res_t *units) + _CUPS_API_1_6; +extern ipp_state_t ippGetState(ipp_t *ipp) _CUPS_API_1_6; +extern ipp_status_t ippGetStatusCode(ipp_t *ipp) _CUPS_API_1_6; +extern const char *ippGetString(ipp_attribute_t *attr, int element, + const char **language) _CUPS_API_1_6; +extern ipp_tag_t ippGetValueTag(ipp_attribute_t *attr) _CUPS_API_1_6; +extern int ippGetVersion(ipp_t *ipp, int *minor) _CUPS_API_1_6; +extern ipp_attribute_t *ippNextAttribute(ipp_t *ipp) _CUPS_API_1_6; +extern int ippSetBoolean(ipp_t *ipp, ipp_attribute_t **attr, + int element, int boolvalue) _CUPS_API_1_6; +extern int ippSetCollection(ipp_t *ipp, ipp_attribute_t **attr, + int element, ipp_t *colvalue) + _CUPS_API_1_6; +extern int ippSetDate(ipp_t *ipp, ipp_attribute_t **attr, + int element, const ipp_uchar_t *datevalue) + _CUPS_API_1_6; +extern int ippSetGroupTag(ipp_t *ipp, ipp_attribute_t **attr, + ipp_tag_t group_tag) _CUPS_API_1_6; +extern int ippSetInteger(ipp_t *ipp, ipp_attribute_t **attr, + int element, int intvalue) _CUPS_API_1_6; +extern int ippSetName(ipp_t *ipp, ipp_attribute_t **attr, + const char *name) _CUPS_API_1_6; +extern int ippSetOperation(ipp_t *ipp, ipp_op_t op) _CUPS_API_1_6; +extern int ippSetRange(ipp_t *ipp, ipp_attribute_t **attr, + int element, int lowervalue, int uppervalue) + _CUPS_API_1_6; +extern int ippSetRequestId(ipp_t *ipp, int request_id) + _CUPS_API_1_6; +extern int ippSetResolution(ipp_t *ipp, ipp_attribute_t **attr, + int element, ipp_res_t unitsvalue, + int xresvalue, int yresvalue) + _CUPS_API_1_6; +extern int ippSetState(ipp_t *ipp, ipp_state_t state) + _CUPS_API_1_6; +extern int ippSetStatusCode(ipp_t *ipp, ipp_status_t status) + _CUPS_API_1_6; +extern int ippSetString(ipp_t *ipp, ipp_attribute_t **attr, + int element, const char *strvalue) + _CUPS_API_1_6; +extern int ippSetValueTag(ipp_t *ipp, ipp_attribute_t **attr, + ipp_tag_t value_tag) _CUPS_API_1_6; +extern int ippSetVersion(ipp_t *ipp, int major, int minor) + _CUPS_API_1_6; + +/**** New in CUPS 1.7 ****/ +extern ipp_attribute_t *ippAddStringf(ipp_t *ipp, ipp_tag_t group, + ipp_tag_t value_tag, const char *name, + const char *language, const char *format, + ...) _CUPS_API_1_7; +extern ipp_attribute_t *ippAddStringfv(ipp_t *ipp, ipp_tag_t group, + ipp_tag_t value_tag, const char *name, + const char *language, + const char *format, va_list ap) + _CUPS_API_1_7; +extern int ippContainsInteger(ipp_attribute_t *attr, int value) + _CUPS_API_1_7; +extern int ippContainsString(ipp_attribute_t *attr, + const char *value) _CUPS_API_1_7; +extern cups_array_t *ippCreateRequestedArray(ipp_t *request) _CUPS_API_1_7; +extern void *ippGetOctetString(ipp_attribute_t *attr, int element, + int *datalen) _CUPS_API_1_7; +extern ipp_t *ippNewResponse(ipp_t *request) _CUPS_API_1_7; +extern int ippSetOctetString(ipp_t *ipp, ipp_attribute_t **attr, + int element, const void *data, + int datalen) _CUPS_API_1_7; +extern int ippSetStringf(ipp_t *ipp, ipp_attribute_t **attr, + int element, const char *format, + ...) _CUPS_API_1_7; +extern int ippSetStringfv(ipp_t *ipp, ipp_attribute_t **attr, + int element, const char *format, + va_list ap) _CUPS_API_1_7; +extern int ippValidateAttribute(ipp_attribute_t *attr) + _CUPS_API_1_7; +extern int ippValidateAttributes(ipp_t *ipp) _CUPS_API_1_7; + + +/**** New in CUPS 2.0 ****/ +extern const char *ippStateString(ipp_state_t state) _CUPS_API_2_0; + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_IPP_H_ */ diff --git a/cups/langprintf.c b/cups/langprintf.c new file mode 100644 index 0000000..bbcbb89 --- /dev/null +++ b/cups/langprintf.c @@ -0,0 +1,329 @@ +/* + * Localized printf/puts functions for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 2002-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" + + +/* + * '_cupsLangPrintError()' - Print a message followed by a standard error. + */ + +void +_cupsLangPrintError(const char *prefix, /* I - Non-localized message prefix */ + const char *message)/* I - Message */ +{ + ssize_t bytes; /* Number of bytes formatted */ + int last_errno; /* Last error */ + char buffer[2048], /* Message buffer */ + *bufptr, /* Pointer into buffer */ + output[8192]; /* Output buffer */ + _cups_globals_t *cg; /* Global data */ + + + /* + * Range check... + */ + + if (!message) + return; + + /* + * Save the errno value... + */ + + last_errno = errno; + + /* + * Get the message catalog... + */ + + cg = _cupsGlobals(); + + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + /* + * Format the message... + */ + + if (prefix) + { + snprintf(buffer, sizeof(buffer), "%s:", prefix); + bufptr = buffer + strlen(buffer); + } + else + bufptr = buffer; + + snprintf(bufptr, sizeof(buffer) - (size_t)(bufptr - buffer), + /* TRANSLATORS: Message is "subject: error" */ + _cupsLangString(cg->lang_default, _("%s: %s")), + _cupsLangString(cg->lang_default, message), strerror(last_errno)); + strlcat(buffer, "\n", sizeof(buffer)); + + /* + * Convert and write to stderr... + */ + + bytes = cupsUTF8ToCharset(output, (cups_utf8_t *)buffer, sizeof(output), + cg->lang_default->encoding); + + if (bytes > 0) + fwrite(output, 1, (size_t)bytes, stderr); +} + + +/* + * '_cupsLangPrintFilter()' - Print a formatted filter message string to a file. + */ + +int /* O - Number of bytes written */ +_cupsLangPrintFilter( + FILE *fp, /* I - File to write to */ + const char *prefix, /* I - Non-localized message prefix */ + const char *message, /* I - Message string to use */ + ...) /* I - Additional arguments as needed */ +{ + ssize_t bytes; /* Number of bytes formatted */ + char temp[2048], /* Temporary format buffer */ + buffer[2048], /* Message buffer */ + output[8192]; /* Output buffer */ + va_list ap; /* Pointer to additional arguments */ + _cups_globals_t *cg; /* Global data */ + + + /* + * Range check... + */ + + if (!fp || !message) + return (-1); + + cg = _cupsGlobals(); + + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + /* + * Format the string... + */ + + va_start(ap, message); + snprintf(temp, sizeof(temp), "%s: %s\n", prefix, + _cupsLangString(cg->lang_default, message)); + vsnprintf(buffer, sizeof(buffer), temp, ap); + va_end(ap); + + /* + * Transcode to the destination charset... + */ + + bytes = cupsUTF8ToCharset(output, (cups_utf8_t *)buffer, sizeof(output), + cg->lang_default->encoding); + + /* + * Write the string and return the number of bytes written... + */ + + if (bytes > 0) + return ((int)fwrite(output, 1, (size_t)bytes, fp)); + else + return ((int)bytes); +} + + +/* + * '_cupsLangPrintf()' - Print a formatted message string to a file. + */ + +int /* O - Number of bytes written */ +_cupsLangPrintf(FILE *fp, /* I - File to write to */ + const char *message, /* I - Message string to use */ + ...) /* I - Additional arguments as needed */ +{ + ssize_t bytes; /* Number of bytes formatted */ + char buffer[2048], /* Message buffer */ + output[8192]; /* Output buffer */ + va_list ap; /* Pointer to additional arguments */ + _cups_globals_t *cg; /* Global data */ + + + /* + * Range check... + */ + + if (!fp || !message) + return (-1); + + cg = _cupsGlobals(); + + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + /* + * Format the string... + */ + + va_start(ap, message); + vsnprintf(buffer, sizeof(buffer) - 1, + _cupsLangString(cg->lang_default, message), ap); + va_end(ap); + + strlcat(buffer, "\n", sizeof(buffer)); + + /* + * Transcode to the destination charset... + */ + + bytes = cupsUTF8ToCharset(output, (cups_utf8_t *)buffer, sizeof(output), + cg->lang_default->encoding); + + /* + * Write the string and return the number of bytes written... + */ + + if (bytes > 0) + return ((int)fwrite(output, 1, (size_t)bytes, fp)); + else + return ((int)bytes); +} + + +/* + * '_cupsLangPuts()' - Print a static message string to a file. + */ + +int /* O - Number of bytes written */ +_cupsLangPuts(FILE *fp, /* I - File to write to */ + const char *message) /* I - Message string to use */ +{ + ssize_t bytes; /* Number of bytes formatted */ + char output[8192]; /* Message buffer */ + _cups_globals_t *cg; /* Global data */ + + + /* + * Range check... + */ + + if (!fp || !message) + return (-1); + + cg = _cupsGlobals(); + + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + /* + * Transcode to the destination charset... + */ + + bytes = cupsUTF8ToCharset(output, + (cups_utf8_t *)_cupsLangString(cg->lang_default, + message), + sizeof(output) - 4, cg->lang_default->encoding); + bytes += cupsUTF8ToCharset(output + bytes, (cups_utf8_t *)"\n", (int)(sizeof(output) - (size_t)bytes), cg->lang_default->encoding); + + /* + * Write the string and return the number of bytes written... + */ + + if (bytes > 0) + return ((int)fwrite(output, 1, (size_t)bytes, fp)); + else + return ((int)bytes); +} + + +/* + * '_cupsSetLocale()' - Set the current locale and transcode the command-line. + */ + +void +_cupsSetLocale(char *argv[]) /* IO - Command-line arguments */ +{ + int i; /* Looping var */ + char buffer[8192]; /* Command-line argument buffer */ + _cups_globals_t *cg; /* Global data */ +#ifdef LC_TIME + const char *lc_time; /* Current LC_TIME value */ + char new_lc_time[255], /* New LC_TIME value */ + *charset; /* Pointer to character set */ +#endif /* LC_TIME */ + + + /* + * Set the locale so that times, etc. are displayed properly. + * + * Unfortunately, while we need the localized time value, we *don't* + * want to use the localized charset for the time value, so we need + * to set LC_TIME to the locale name with .UTF-8 on the end (if + * the locale includes a character set specifier...) + */ + + setlocale(LC_ALL, ""); + +#ifdef LC_TIME + if ((lc_time = setlocale(LC_TIME, NULL)) == NULL) + lc_time = setlocale(LC_ALL, NULL); + + if (lc_time) + { + strlcpy(new_lc_time, lc_time, sizeof(new_lc_time)); + if ((charset = strchr(new_lc_time, '.')) == NULL) + charset = new_lc_time + strlen(new_lc_time); + + strlcpy(charset, ".UTF-8", sizeof(new_lc_time) - (size_t)(charset - new_lc_time)); + } + else + strlcpy(new_lc_time, "C", sizeof(new_lc_time)); + + setlocale(LC_TIME, new_lc_time); +#endif /* LC_TIME */ + + /* + * Initialize the default language info... + */ + + cg = _cupsGlobals(); + + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + /* + * Transcode the command-line arguments from the locale charset to + * UTF-8... + */ + + if (cg->lang_default->encoding != CUPS_US_ASCII && + cg->lang_default->encoding != CUPS_UTF8) + { + for (i = 1; argv[i]; i ++) + { + /* + * Try converting from the locale charset to UTF-8... + */ + + if (cupsCharsetToUTF8((cups_utf8_t *)buffer, argv[i], sizeof(buffer), + cg->lang_default->encoding) < 0) + continue; + + /* + * Save the new string if it differs from the original... + */ + + if (strcmp(buffer, argv[i])) + argv[i] = strdup(buffer); + } + } +} diff --git a/cups/language-private.h b/cups/language-private.h new file mode 100644 index 0000000..7c304df --- /dev/null +++ b/cups/language-private.h @@ -0,0 +1,85 @@ +/* + * Private localization support for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_LANGUAGE_PRIVATE_H_ +# define _CUPS_LANGUAGE_PRIVATE_H_ + +/* + * Include necessary headers... + */ + +# include "config.h" +# include +# include +# ifdef __APPLE__ +# include +# endif /* __APPLE__ */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Macro for localized text... + */ + +# define _(x) x + + +/* + * Constants... + */ + +# define _CUPS_MESSAGE_PO 0 /* Message file is in GNU .po format */ +# define _CUPS_MESSAGE_UNQUOTE 1 /* Unescape \foo in strings? */ +# define _CUPS_MESSAGE_STRINGS 2 /* Message file is in Apple .strings format */ +# define _CUPS_MESSAGE_EMPTY 4 /* Allow empty localized strings */ + + +/* + * Types... + */ + +typedef struct _cups_message_s /**** Message catalog entry ****/ +{ + char *msg, /* Original string */ + *str; /* Localized string */ +} _cups_message_t; + + +/* + * Prototypes... + */ + +# ifdef __APPLE__ +extern const char *_cupsAppleLanguage(const char *locale, char *language, size_t langsize) _CUPS_PRIVATE; +extern const char *_cupsAppleLocale(CFStringRef languageName, char *locale, size_t localesize) _CUPS_PRIVATE; +# endif /* __APPLE__ */ +extern void _cupsCharmapFlush(void) _CUPS_INTERNAL; +extern const char *_cupsEncodingName(cups_encoding_t encoding) _CUPS_PRIVATE; +extern void _cupsLangPrintError(const char *prefix, const char *message) _CUPS_PRIVATE; +extern int _cupsLangPrintFilter(FILE *fp, const char *prefix, const char *message, ...) _CUPS_FORMAT(3, 4) _CUPS_PRIVATE; +extern int _cupsLangPrintf(FILE *fp, const char *message, ...) _CUPS_FORMAT(2, 3) _CUPS_PRIVATE; +extern int _cupsLangPuts(FILE *fp, const char *message) _CUPS_PRIVATE; +extern const char *_cupsLangString(cups_lang_t *lang, const char *message) _CUPS_PRIVATE; +extern void _cupsMessageFree(cups_array_t *a) _CUPS_PRIVATE; +extern cups_array_t *_cupsMessageLoad(const char *filename, int flags) _CUPS_PRIVATE; +extern const char *_cupsMessageLookup(cups_array_t *a, const char *m) _CUPS_PRIVATE; +extern cups_array_t *_cupsMessageNew(void *context) _CUPS_PRIVATE; +extern int _cupsMessageSave(const char *filename, int flags, cups_array_t *a) _CUPS_PRIVATE; +extern void _cupsSetLocale(char *argv[]) _CUPS_PRIVATE; + + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_LANGUAGE_PRIVATE_H_ */ diff --git a/cups/language.c b/cups/language.c new file mode 100644 index 0000000..e064169 --- /dev/null +++ b/cups/language.c @@ -0,0 +1,1924 @@ +/* + * I18N/language support for CUPS. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#ifdef HAVE_LANGINFO_H +# include +#endif /* HAVE_LANGINFO_H */ +#ifdef _WIN32 +# include +#else +# include +#endif /* _WIN32 */ +#ifdef HAVE_COREFOUNDATION_H +# include +#endif /* HAVE_COREFOUNDATION_H */ + + +/* + * Local globals... + */ + +static _cups_mutex_t lang_mutex = _CUPS_MUTEX_INITIALIZER; + /* Mutex to control access to cache */ +static cups_lang_t *lang_cache = NULL; + /* Language string cache */ +static const char * const lang_encodings[] = + { /* Encoding strings */ + "us-ascii", "iso-8859-1", + "iso-8859-2", "iso-8859-3", + "iso-8859-4", "iso-8859-5", + "iso-8859-6", "iso-8859-7", + "iso-8859-8", "iso-8859-9", + "iso-8859-10", "utf-8", + "iso-8859-13", "iso-8859-14", + "iso-8859-15", "cp874", + "cp1250", "cp1251", + "cp1252", "cp1253", + "cp1254", "cp1255", + "cp1256", "cp1257", + "cp1258", "koi8-r", + "koi8-u", "iso-8859-11", + "iso-8859-16", "mac", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "cp932", "cp936", + "cp949", "cp950", + "cp1361", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "euc-cn", "euc-jp", + "euc-kr", "euc-tw", + "shift_jisx0213" + }; + +#ifdef __APPLE__ +typedef struct +{ + const char * const language; /* Language ID */ + const char * const locale; /* Locale ID */ +} _apple_language_locale_t; + +static const _apple_language_locale_t apple_language_locale[] = +{ /* Language to locale ID LUT */ + { "en", "en_US" }, + { "nb", "no" }, + { "nb_NO", "no" }, + { "zh-Hans", "zh_CN" }, + { "zh_HANS", "zh_CN" }, + { "zh-Hant", "zh_TW" }, + { "zh_HANT", "zh_TW" }, + { "zh-Hant_CN", "zh_TW" } +}; +#endif /* __APPLE__ */ + + +/* + * Local functions... + */ + + +#ifdef __APPLE__ +static const char *appleLangDefault(void); +# ifdef CUPS_BUNDLEDIR +# ifndef CF_RETURNS_RETAINED +# if __has_feature(attribute_cf_returns_retained) +# define CF_RETURNS_RETAINED __attribute__((cf_returns_retained)) +# else +# define CF_RETURNS_RETAINED +# endif /* __has_feature(attribute_cf_returns_retained) */ +# endif /* !CF_RETURNED_RETAINED */ +static cups_array_t *appleMessageLoad(const char *locale) CF_RETURNS_RETAINED; +# endif /* CUPS_BUNDLEDIR */ +#endif /* __APPLE__ */ +static cups_lang_t *cups_cache_lookup(const char *name, cups_encoding_t encoding); +static int cups_message_compare(_cups_message_t *m1, _cups_message_t *m2); +static void cups_message_free(_cups_message_t *m); +static void cups_message_load(cups_lang_t *lang); +static void cups_message_puts(cups_file_t *fp, const char *s); +static int cups_read_strings(cups_file_t *fp, int flags, cups_array_t *a); +static void cups_unquote(char *d, const char *s); + + +#ifdef __APPLE__ +/* + * '_cupsAppleLanguage()' - Get the Apple language identifier associated with a + * locale ID. + */ + +const char * /* O - Language ID */ +_cupsAppleLanguage(const char *locale, /* I - Locale ID */ + char *language,/* I - Language ID buffer */ + size_t langsize) /* I - Size of language ID buffer */ +{ + int i; /* Looping var */ + CFStringRef localeid, /* CF locale identifier */ + langid; /* CF language identifier */ + + + /* + * Copy the locale name and convert, as needed, to the Apple-specific + * locale identifier... + */ + + switch (strlen(locale)) + { + default : + /* + * Invalid locale... + */ + + strlcpy(language, "en", langsize); + break; + + case 2 : + strlcpy(language, locale, langsize); + break; + + case 5 : + strlcpy(language, locale, langsize); + + if (language[2] == '-') + { + /* + * Convert ll-cc to ll_CC... + */ + + language[2] = '_'; + language[3] = (char)toupper(language[3] & 255); + language[4] = (char)toupper(language[4] & 255); + } + break; + } + + for (i = 0; + i < (int)(sizeof(apple_language_locale) / + sizeof(apple_language_locale[0])); + i ++) + if (!strcmp(locale, apple_language_locale[i].locale)) + { + strlcpy(language, apple_language_locale[i].language, sizeof(language)); + break; + } + + /* + * Attempt to map the locale ID to a language ID... + */ + + if ((localeid = CFStringCreateWithCString(kCFAllocatorDefault, language, + kCFStringEncodingASCII)) != NULL) + { + if ((langid = CFLocaleCreateCanonicalLanguageIdentifierFromString( + kCFAllocatorDefault, localeid)) != NULL) + { + CFStringGetCString(langid, language, (CFIndex)langsize, kCFStringEncodingASCII); + CFRelease(langid); + } + + CFRelease(localeid); + } + + /* + * Return what we got... + */ + + return (language); +} + + +/* + * '_cupsAppleLocale()' - Get the locale associated with an Apple language ID. + */ + +const char * /* O - Locale */ +_cupsAppleLocale(CFStringRef languageName, /* I - Apple language ID */ + char *locale, /* I - Buffer for locale */ + size_t localesize) /* I - Size of buffer */ +{ + int i; /* Looping var */ + CFStringRef localeName; /* Locale as a CF string */ +#ifdef DEBUG + char temp[1024]; /* Temporary string */ + + + if (!CFStringGetCString(languageName, temp, (CFIndex)sizeof(temp), kCFStringEncodingASCII)) + temp[0] = '\0'; + + DEBUG_printf(("_cupsAppleLocale(languageName=%p(%s), locale=%p, localsize=%d)", (void *)languageName, temp, (void *)locale, (int)localesize)); +#endif /* DEBUG */ + + localeName = CFLocaleCreateCanonicalLocaleIdentifierFromString(kCFAllocatorDefault, languageName); + + if (localeName) + { + /* + * Copy the locale name and tweak as needed... + */ + + if (!CFStringGetCString(localeName, locale, (CFIndex)localesize, kCFStringEncodingASCII)) + *locale = '\0'; + + DEBUG_printf(("_cupsAppleLocale: locale=\"%s\"", locale)); + + CFRelease(localeName); + + /* + * Map new language identifiers to locales... + */ + + for (i = 0; + i < (int)(sizeof(apple_language_locale) / + sizeof(apple_language_locale[0])); + i ++) + { + size_t len = strlen(apple_language_locale[i].language); + + if (!strcmp(locale, apple_language_locale[i].language) || + (!strncmp(locale, apple_language_locale[i].language, len) && (locale[len] == '_' || locale[len] == '-'))) + { + DEBUG_printf(("_cupsAppleLocale: Updating locale to \"%s\".", apple_language_locale[i].locale)); + strlcpy(locale, apple_language_locale[i].locale, localesize); + break; + } + } + } + else + { + /* + * Just try the Apple language name... + */ + + if (!CFStringGetCString(languageName, locale, (CFIndex)localesize, kCFStringEncodingASCII)) + *locale = '\0'; + } + + if (!*locale) + { + DEBUG_puts("_cupsAppleLocale: Returning NULL."); + return (NULL); + } + + /* + * Convert language subtag into region subtag... + */ + + if (locale[2] == '-') + locale[2] = '_'; + else if (locale[3] == '-') + locale[3] = '_'; + + if (!strchr(locale, '.')) + strlcat(locale, ".UTF-8", localesize); + + DEBUG_printf(("_cupsAppleLocale: Returning \"%s\".", locale)); + + return (locale); +} +#endif /* __APPLE__ */ + + +/* + * '_cupsEncodingName()' - Return the character encoding name string + * for the given encoding enumeration. + */ + +const char * /* O - Character encoding */ +_cupsEncodingName( + cups_encoding_t encoding) /* I - Encoding value */ +{ + if (encoding < CUPS_US_ASCII || + encoding >= (cups_encoding_t)(sizeof(lang_encodings) / sizeof(lang_encodings[0]))) + { + DEBUG_printf(("1_cupsEncodingName(encoding=%d) = out of range (\"%s\")", + encoding, lang_encodings[0])); + return (lang_encodings[0]); + } + else + { + DEBUG_printf(("1_cupsEncodingName(encoding=%d) = \"%s\"", + encoding, lang_encodings[encoding])); + return (lang_encodings[encoding]); + } +} + + +/* + * 'cupsLangDefault()' - Return the default language. + */ + +cups_lang_t * /* O - Language data */ +cupsLangDefault(void) +{ + return (cupsLangGet(NULL)); +} + + +/* + * 'cupsLangEncoding()' - Return the character encoding (us-ascii, etc.) + * for the given language. + */ + +const char * /* O - Character encoding */ +cupsLangEncoding(cups_lang_t *lang) /* I - Language data */ +{ + if (lang == NULL) + return ((char*)lang_encodings[0]); + else + return ((char*)lang_encodings[lang->encoding]); +} + + +/* + * 'cupsLangFlush()' - Flush all language data out of the cache. + */ + +void +cupsLangFlush(void) +{ + cups_lang_t *lang, /* Current language */ + *next; /* Next language */ + + + /* + * Free all languages in the cache... + */ + + _cupsMutexLock(&lang_mutex); + + for (lang = lang_cache; lang != NULL; lang = next) + { + /* + * Free all messages... + */ + + _cupsMessageFree(lang->strings); + + /* + * Then free the language structure itself... + */ + + next = lang->next; + free(lang); + } + + lang_cache = NULL; + + _cupsMutexUnlock(&lang_mutex); +} + + +/* + * 'cupsLangFree()' - Free language data. + * + * This does not actually free anything; use @link cupsLangFlush@ for that. + */ + +void +cupsLangFree(cups_lang_t *lang) /* I - Language to free */ +{ + _cupsMutexLock(&lang_mutex); + + if (lang != NULL && lang->used > 0) + lang->used --; + + _cupsMutexUnlock(&lang_mutex); +} + + +/* + * 'cupsLangGet()' - Get a language. + */ + +cups_lang_t * /* O - Language data */ +cupsLangGet(const char *language) /* I - Language or locale */ +{ + int i; /* Looping var */ +#ifndef __APPLE__ + char locale[255]; /* Copy of locale name */ +#endif /* !__APPLE__ */ + char langname[16], /* Requested language name */ + country[16], /* Country code */ + charset[16], /* Character set */ + *csptr, /* Pointer to CODESET string */ + *ptr, /* Pointer into language/charset */ + real[48]; /* Real language name */ + cups_encoding_t encoding; /* Encoding to use */ + cups_lang_t *lang; /* Current language... */ + static const char * const locale_encodings[] = + { /* Locale charset names */ + "ASCII", "ISO88591", "ISO88592", "ISO88593", + "ISO88594", "ISO88595", "ISO88596", "ISO88597", + "ISO88598", "ISO88599", "ISO885910", "UTF8", + "ISO885913", "ISO885914", "ISO885915", "CP874", + "CP1250", "CP1251", "CP1252", "CP1253", + "CP1254", "CP1255", "CP1256", "CP1257", + "CP1258", "KOI8R", "KOI8U", "ISO885911", + "ISO885916", "MACROMAN", "", "", + + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + + "CP932", "CP936", "CP949", "CP950", + "CP1361", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + + "EUCCN", "EUCJP", "EUCKR", "EUCTW", + "SHIFT_JISX0213" + }; + + + DEBUG_printf(("2cupsLangGet(language=\"%s\")", language)); + +#ifdef __APPLE__ + /* + * Set the character set to UTF-8... + */ + + strlcpy(charset, "UTF8", sizeof(charset)); + + /* + * Apple's setlocale doesn't give us the user's localization + * preference so we have to look it up this way... + */ + + if (!language) + { + if (!getenv("SOFTWARE") || (language = getenv("LANG")) == NULL) + language = appleLangDefault(); + + DEBUG_printf(("4cupsLangGet: language=\"%s\"", language)); + } + +#else + /* + * Set the charset to "unknown"... + */ + + charset[0] = '\0'; + + /* + * Use setlocale() to determine the currently set locale, and then + * fallback to environment variables to avoid setting the locale, + * since setlocale() is not thread-safe! + */ + + if (!language) + { + /* + * First see if the locale has been set; if it is still "C" or + * "POSIX", use the environment to get the default... + */ + +# ifdef LC_MESSAGES + ptr = setlocale(LC_MESSAGES, NULL); +# else + ptr = setlocale(LC_ALL, NULL); +# endif /* LC_MESSAGES */ + + DEBUG_printf(("4cupsLangGet: current locale is \"%s\"", ptr)); + + if (!ptr || !strcmp(ptr, "C") || !strcmp(ptr, "POSIX")) + { + /* + * Get the character set from the LC_CTYPE locale setting... + */ + + if ((ptr = getenv("LC_CTYPE")) == NULL) + if ((ptr = getenv("LC_ALL")) == NULL) + if ((ptr = getenv("LANG")) == NULL) + ptr = "en_US"; + + if ((csptr = strchr(ptr, '.')) != NULL) + { + /* + * Extract the character set from the environment... + */ + + for (ptr = charset, csptr ++; *csptr; csptr ++) + if (ptr < (charset + sizeof(charset) - 1) && _cups_isalnum(*csptr)) + *ptr++ = *csptr; + + *ptr = '\0'; + } + + /* + * Get the locale for messages from the LC_MESSAGES locale setting... + */ + + if ((ptr = getenv("LC_MESSAGES")) == NULL) + if ((ptr = getenv("LC_ALL")) == NULL) + if ((ptr = getenv("LANG")) == NULL) + ptr = "en_US"; + } + + if (ptr) + { + strlcpy(locale, ptr, sizeof(locale)); + language = locale; + + /* + * CUPS STR #2575: Map "nb" to "no" for back-compatibility... + */ + + if (!strncmp(locale, "nb", 2)) + locale[1] = 'o'; + + DEBUG_printf(("4cupsLangGet: new language value is \"%s\"", language)); + } + } +#endif /* __APPLE__ */ + + /* + * If "language" is NULL at this point, then chances are we are using + * a language that is not installed for the base OS. + */ + + if (!language) + { + /* + * Switch to the POSIX ("C") locale... + */ + + language = "C"; + } + +#ifdef CODESET + /* + * On systems that support the nl_langinfo(CODESET) call, use + * this value as the character set... + */ + + if (!charset[0] && (csptr = nl_langinfo(CODESET)) != NULL) + { + /* + * Copy all of the letters and numbers in the CODESET string... + */ + + for (ptr = charset; *csptr; csptr ++) + if (_cups_isalnum(*csptr) && ptr < (charset + sizeof(charset) - 1)) + *ptr++ = *csptr; + + *ptr = '\0'; + + DEBUG_printf(("4cupsLangGet: charset set to \"%s\" via " + "nl_langinfo(CODESET)...", charset)); + } +#endif /* CODESET */ + + /* + * If we don't have a character set by now, default to UTF-8... + */ + + if (!charset[0]) + strlcpy(charset, "UTF8", sizeof(charset)); + + /* + * Parse the language string passed in to a locale string. "C" is the + * standard POSIX locale and is copied unchanged. Otherwise the + * language string is converted from ll-cc[.charset] (language-country) + * to ll_CC[.CHARSET] to match the file naming convention used by all + * POSIX-compliant operating systems. Invalid language names are mapped + * to the POSIX locale. + */ + + country[0] = '\0'; + + if (language == NULL || !language[0] || + !strcmp(language, "POSIX")) + strlcpy(langname, "C", sizeof(langname)); + else + { + /* + * Copy the parts of the locale string over safely... + */ + + for (ptr = langname; *language; language ++) + if (*language == '_' || *language == '-' || *language == '.') + break; + else if (ptr < (langname + sizeof(langname) - 1)) + *ptr++ = (char)tolower(*language & 255); + + *ptr = '\0'; + + if (*language == '_' || *language == '-') + { + /* + * Copy the country code... + */ + + for (language ++, ptr = country; *language; language ++) + if (*language == '.') + break; + else if (ptr < (country + sizeof(country) - 1)) + *ptr++ = (char)toupper(*language & 255); + + *ptr = '\0'; + + /* + * Map Chinese region codes to legacy country codes. + */ + + if (!strcmp(language, "zh") && !strcmp(country, "HANS")) + strlcpy(country, "CN", sizeof(country)); + if (!strcmp(language, "zh") && !strcmp(country, "HANT")) + strlcpy(country, "TW", sizeof(country)); + } + + if (*language == '.' && !charset[0]) + { + /* + * Copy the encoding... + */ + + for (language ++, ptr = charset; *language; language ++) + if (_cups_isalnum(*language) && ptr < (charset + sizeof(charset) - 1)) + *ptr++ = (char)toupper(*language & 255); + + *ptr = '\0'; + } + + /* + * Force a POSIX locale for an invalid language name... + */ + + if (strlen(langname) != 2 && strlen(langname) != 3) + { + strlcpy(langname, "C", sizeof(langname)); + country[0] = '\0'; + charset[0] = '\0'; + } + } + + DEBUG_printf(("4cupsLangGet: langname=\"%s\", country=\"%s\", charset=\"%s\"", + langname, country, charset)); + + /* + * Figure out the desired encoding... + */ + + encoding = CUPS_AUTO_ENCODING; + + if (charset[0]) + { + for (i = 0; + i < (int)(sizeof(locale_encodings) / sizeof(locale_encodings[0])); + i ++) + if (!_cups_strcasecmp(charset, locale_encodings[i])) + { + encoding = (cups_encoding_t)i; + break; + } + + if (encoding == CUPS_AUTO_ENCODING) + { + /* + * Map alternate names for various character sets... + */ + + if (!_cups_strcasecmp(charset, "iso-2022-jp") || + !_cups_strcasecmp(charset, "sjis")) + encoding = CUPS_WINDOWS_932; + else if (!_cups_strcasecmp(charset, "iso-2022-cn")) + encoding = CUPS_WINDOWS_936; + else if (!_cups_strcasecmp(charset, "iso-2022-kr")) + encoding = CUPS_WINDOWS_949; + else if (!_cups_strcasecmp(charset, "big5")) + encoding = CUPS_WINDOWS_950; + } + } + + DEBUG_printf(("4cupsLangGet: encoding=%d(%s)", encoding, + encoding == CUPS_AUTO_ENCODING ? "auto" : + lang_encodings[encoding])); + + /* + * See if we already have this language/country loaded... + */ + + if (country[0]) + snprintf(real, sizeof(real), "%s_%s", langname, country); + else + strlcpy(real, langname, sizeof(real)); + + _cupsMutexLock(&lang_mutex); + + if ((lang = cups_cache_lookup(real, encoding)) != NULL) + { + _cupsMutexUnlock(&lang_mutex); + + DEBUG_printf(("3cupsLangGet: Using cached copy of \"%s\"...", real)); + + return (lang); + } + + /* + * See if there is a free language available; if so, use that + * record... + */ + + for (lang = lang_cache; lang != NULL; lang = lang->next) + if (lang->used == 0) + break; + + if (lang == NULL) + { + /* + * Allocate memory for the language and add it to the cache. + */ + + if ((lang = calloc(sizeof(cups_lang_t), 1)) == NULL) + { + _cupsMutexUnlock(&lang_mutex); + + return (NULL); + } + + lang->next = lang_cache; + lang_cache = lang; + } + else + { + /* + * Free all old strings as needed... + */ + + _cupsMessageFree(lang->strings); + lang->strings = NULL; + } + + /* + * Then assign the language and encoding fields... + */ + + lang->used ++; + strlcpy(lang->language, real, sizeof(lang->language)); + + if (encoding != CUPS_AUTO_ENCODING) + lang->encoding = encoding; + else + lang->encoding = CUPS_UTF8; + + /* + * Return... + */ + + _cupsMutexUnlock(&lang_mutex); + + return (lang); +} + + +/* + * '_cupsLangString()' - Get a message string. + * + * The returned string is UTF-8 encoded; use cupsUTF8ToCharset() to + * convert the string to the language encoding. + */ + +const char * /* O - Localized message */ +_cupsLangString(cups_lang_t *lang, /* I - Language */ + const char *message) /* I - Message */ +{ + const char *s; /* Localized message */ + + + DEBUG_printf(("_cupsLangString(lang=%p, message=\"%s\")", (void *)lang, message)); + + /* + * Range check input... + */ + + if (!lang || !message || !*message) + return (message); + + _cupsMutexLock(&lang_mutex); + + /* + * Load the message catalog if needed... + */ + + if (!lang->strings) + cups_message_load(lang); + + s = _cupsMessageLookup(lang->strings, message); + + _cupsMutexUnlock(&lang_mutex); + + return (s); +} + + +/* + * '_cupsMessageFree()' - Free a messages array. + */ + +void +_cupsMessageFree(cups_array_t *a) /* I - Message array */ +{ +#if defined(__APPLE__) && defined(CUPS_BUNDLEDIR) + /* + * Release the cups.strings dictionary as needed... + */ + + if (cupsArrayUserData(a)) + CFRelease((CFDictionaryRef)cupsArrayUserData(a)); +#endif /* __APPLE__ && CUPS_BUNDLEDIR */ + + /* + * Free the array... + */ + + cupsArrayDelete(a); +} + + +/* + * '_cupsMessageLoad()' - Load a .po or .strings file into a messages array. + */ + +cups_array_t * /* O - New message array */ +_cupsMessageLoad(const char *filename, /* I - Message catalog to load */ + int flags) /* I - Load flags */ +{ + cups_file_t *fp; /* Message file */ + cups_array_t *a; /* Message array */ + _cups_message_t *m; /* Current message */ + char s[4096], /* String buffer */ + *ptr, /* Pointer into buffer */ + *temp; /* New string */ + size_t length, /* Length of combined strings */ + ptrlen; /* Length of string */ + + + DEBUG_printf(("4_cupsMessageLoad(filename=\"%s\")", filename)); + + /* + * Create an array to hold the messages... + */ + + if ((a = _cupsMessageNew(NULL)) == NULL) + { + DEBUG_puts("5_cupsMessageLoad: Unable to allocate array!"); + return (NULL); + } + + /* + * Open the message catalog file... + */ + + if ((fp = cupsFileOpen(filename, "r")) == NULL) + { + DEBUG_printf(("5_cupsMessageLoad: Unable to open file: %s", + strerror(errno))); + return (a); + } + + if (flags & _CUPS_MESSAGE_STRINGS) + { + while (cups_read_strings(fp, flags, a)); + } + else + { + /* + * Read messages from the catalog file until EOF... + * + * The format is the GNU gettext .po format, which is fairly simple: + * + * msgid "some text" + * msgstr "localized text" + * + * The ID and localized text can span multiple lines using the form: + * + * msgid "" + * "some long text" + * msgstr "" + * "localized text spanning " + * "multiple lines" + */ + + m = NULL; + + while (cupsFileGets(fp, s, sizeof(s)) != NULL) + { + /* + * Skip blank and comment lines... + */ + + if (s[0] == '#' || !s[0]) + continue; + + /* + * Strip the trailing quote... + */ + + if ((ptr = strrchr(s, '\"')) == NULL) + continue; + + *ptr = '\0'; + + /* + * Find start of value... + */ + + if ((ptr = strchr(s, '\"')) == NULL) + continue; + + ptr ++; + + /* + * Unquote the text... + */ + + if (flags & _CUPS_MESSAGE_UNQUOTE) + cups_unquote(ptr, ptr); + + /* + * Create or add to a message... + */ + + if (!strncmp(s, "msgid", 5)) + { + /* + * Add previous message as needed... + */ + + if (m) + { + if (m->str && (m->str[0] || (flags & _CUPS_MESSAGE_EMPTY))) + { + cupsArrayAdd(a, m); + } + else + { + /* + * Translation is empty, don't add it... (STR #4033) + */ + + free(m->msg); + if (m->str) + free(m->str); + free(m); + } + } + + /* + * Create a new message with the given msgid string... + */ + + if ((m = (_cups_message_t *)calloc(1, sizeof(_cups_message_t))) == NULL) + break; + + if ((m->msg = strdup(ptr)) == NULL) + { + free(m); + m = NULL; + break; + } + } + else if (s[0] == '\"' && m) + { + /* + * Append to current string... + */ + + length = strlen(m->str ? m->str : m->msg); + ptrlen = strlen(ptr); + + if ((temp = realloc(m->str ? m->str : m->msg, length + ptrlen + 1)) == NULL) + { + if (m->str) + free(m->str); + free(m->msg); + free(m); + m = NULL; + break; + } + + if (m->str) + { + /* + * Copy the new portion to the end of the msgstr string - safe + * to use memcpy because the buffer is allocated to the correct + * size... + */ + + m->str = temp; + + memcpy(m->str + length, ptr, ptrlen + 1); + } + else + { + /* + * Copy the new portion to the end of the msgid string - safe + * to use memcpy because the buffer is allocated to the correct + * size... + */ + + m->msg = temp; + + memcpy(m->msg + length, ptr, ptrlen + 1); + } + } + else if (!strncmp(s, "msgstr", 6) && m) + { + /* + * Set the string... + */ + + if ((m->str = strdup(ptr)) == NULL) + { + free(m->msg); + free(m); + m = NULL; + break; + } + } + } + + /* + * Add the last message string to the array as needed... + */ + + if (m) + { + if (m->str && (m->str[0] || (flags & _CUPS_MESSAGE_EMPTY))) + { + cupsArrayAdd(a, m); + } + else + { + /* + * Translation is empty, don't add it... (STR #4033) + */ + + free(m->msg); + if (m->str) + free(m->str); + free(m); + } + } + } + + /* + * Close the message catalog file and return the new array... + */ + + cupsFileClose(fp); + + DEBUG_printf(("5_cupsMessageLoad: Returning %d messages...", cupsArrayCount(a))); + + return (a); +} + + +/* + * '_cupsMessageLookup()' - Lookup a message string. + */ + +const char * /* O - Localized message */ +_cupsMessageLookup(cups_array_t *a, /* I - Message array */ + const char *m) /* I - Message */ +{ + _cups_message_t key, /* Search key */ + *match; /* Matching message */ + + + DEBUG_printf(("_cupsMessageLookup(a=%p, m=\"%s\")", (void *)a, m)); + + /* + * Lookup the message string; if it doesn't exist in the catalog, + * then return the message that was passed to us... + */ + + key.msg = (char *)m; + match = (_cups_message_t *)cupsArrayFind(a, &key); + +#if defined(__APPLE__) && defined(CUPS_BUNDLEDIR) + if (!match && cupsArrayUserData(a)) + { + /* + * Try looking the string up in the cups.strings dictionary... + */ + + CFDictionaryRef dict; /* cups.strings dictionary */ + CFStringRef cfm, /* Message as a CF string */ + cfstr; /* Localized text as a CF string */ + + dict = (CFDictionaryRef)cupsArrayUserData(a); + cfm = CFStringCreateWithCString(kCFAllocatorDefault, m, kCFStringEncodingUTF8); + match = calloc(1, sizeof(_cups_message_t)); + match->msg = strdup(m); + cfstr = cfm ? CFDictionaryGetValue(dict, cfm) : NULL; + + if (cfstr) + { + char buffer[1024]; /* Message buffer */ + + CFStringGetCString(cfstr, buffer, sizeof(buffer), kCFStringEncodingUTF8); + match->str = strdup(buffer); + + DEBUG_printf(("1_cupsMessageLookup: Found \"%s\" as \"%s\"...", m, buffer)); + } + else + { + match->str = strdup(m); + + DEBUG_printf(("1_cupsMessageLookup: Did not find \"%s\"...", m)); + } + + cupsArrayAdd(a, match); + + if (cfm) + CFRelease(cfm); + } +#endif /* __APPLE__ && CUPS_BUNDLEDIR */ + + if (match && match->str) + return (match->str); + else + return (m); +} + + +/* + * '_cupsMessageNew()' - Make a new message catalog array. + */ + +cups_array_t * /* O - Array */ +_cupsMessageNew(void *context) /* I - User data */ +{ + return (cupsArrayNew3((cups_array_func_t)cups_message_compare, context, + (cups_ahash_func_t)NULL, 0, + (cups_acopy_func_t)NULL, + (cups_afree_func_t)cups_message_free)); +} + + +/* + * '_cupsMessageSave()' - Save a message catalog array. + */ + +int /* O - 0 on success, -1 on failure */ +_cupsMessageSave(const char *filename,/* I - Output filename */ + int flags, /* I - Format flags */ + cups_array_t *a) /* I - Message array */ +{ + cups_file_t *fp; /* Output file */ + _cups_message_t *m; /* Current message */ + + + /* + * Output message catalog file... + */ + + if ((fp = cupsFileOpen(filename, "w")) == NULL) + return (-1); + + /* + * Write each message... + */ + + if (flags & _CUPS_MESSAGE_STRINGS) + { + for (m = (_cups_message_t *)cupsArrayFirst(a); m; m = (_cups_message_t *)cupsArrayNext(a)) + { + cupsFilePuts(fp, "\""); + cups_message_puts(fp, m->msg); + cupsFilePuts(fp, "\" = \""); + cups_message_puts(fp, m->str); + cupsFilePuts(fp, "\";\n"); + } + } + else + { + for (m = (_cups_message_t *)cupsArrayFirst(a); m; m = (_cups_message_t *)cupsArrayNext(a)) + { + cupsFilePuts(fp, "msgid \""); + cups_message_puts(fp, m->msg); + cupsFilePuts(fp, "\"\nmsgstr \""); + cups_message_puts(fp, m->str); + cupsFilePuts(fp, "\"\n"); + } + } + + return (cupsFileClose(fp)); +} + + +#ifdef __APPLE__ +/* + * 'appleLangDefault()' - Get the default locale string. + */ + +static const char * /* O - Locale string */ +appleLangDefault(void) +{ + CFBundleRef bundle; /* Main bundle (if any) */ + CFArrayRef bundleList; /* List of localizations in bundle */ + CFPropertyListRef localizationList = NULL; + /* List of localization data */ + CFStringRef languageName; /* Current name */ + char *lang; /* LANG environment variable */ + _cups_globals_t *cg = _cupsGlobals(); + /* Pointer to library globals */ + + + DEBUG_puts("2appleLangDefault()"); + + /* + * Only do the lookup and translation the first time. + */ + + if (!cg->language[0]) + { + if (getenv("SOFTWARE") != NULL && (lang = getenv("LANG")) != NULL) + { + DEBUG_printf(("3appleLangDefault: Using LANG=%s", lang)); + strlcpy(cg->language, lang, sizeof(cg->language)); + return (cg->language); + } + else if ((bundle = CFBundleGetMainBundle()) != NULL && + (bundleList = CFBundleCopyBundleLocalizations(bundle)) != NULL) + { + CFURLRef resources = CFBundleCopyResourcesDirectoryURL(bundle); + + DEBUG_puts("3appleLangDefault: Getting localizationList from bundle."); + + if (resources) + { + CFStringRef cfpath = CFURLCopyPath(resources); + char path[1024]; + + if (cfpath) + { + /* + * See if we have an Info.plist file in the bundle... + */ + + CFStringGetCString(cfpath, path, sizeof(path), kCFStringEncodingUTF8); + DEBUG_printf(("3appleLangDefault: Got a resource URL (\"%s\")", path)); + strlcat(path, "Contents/Info.plist", sizeof(path)); + + if (!access(path, R_OK)) + localizationList = CFBundleCopyPreferredLocalizationsFromArray(bundleList); + else + DEBUG_puts("3appleLangDefault: No Info.plist, ignoring resource URL..."); + + CFRelease(cfpath); + } + + CFRelease(resources); + } + else + DEBUG_puts("3appleLangDefault: No resource URL."); + + CFRelease(bundleList); + } + + if (!localizationList) + { + DEBUG_puts("3appleLangDefault: Getting localizationList from preferences."); + + localizationList = + CFPreferencesCopyAppValue(CFSTR("AppleLanguages"), + kCFPreferencesCurrentApplication); + } + + if (localizationList) + { +#ifdef DEBUG + if (CFGetTypeID(localizationList) == CFArrayGetTypeID()) + DEBUG_printf(("3appleLangDefault: Got localizationList, %d entries.", + (int)CFArrayGetCount(localizationList))); + else + DEBUG_puts("3appleLangDefault: Got localizationList but not an array."); +#endif /* DEBUG */ + + if (CFGetTypeID(localizationList) == CFArrayGetTypeID() && + CFArrayGetCount(localizationList) > 0) + { + languageName = CFArrayGetValueAtIndex(localizationList, 0); + + if (languageName && + CFGetTypeID(languageName) == CFStringGetTypeID()) + { + if (_cupsAppleLocale(languageName, cg->language, sizeof(cg->language))) + DEBUG_printf(("3appleLangDefault: cg->language=\"%s\"", + cg->language)); + else + DEBUG_puts("3appleLangDefault: Unable to get locale."); + } + } + + CFRelease(localizationList); + } + + /* + * If we didn't find the language, default to en_US... + */ + + if (!cg->language[0]) + { + DEBUG_puts("3appleLangDefault: Defaulting to en_US."); + strlcpy(cg->language, "en_US.UTF-8", sizeof(cg->language)); + } + } + else + DEBUG_printf(("3appleLangDefault: Using previous locale \"%s\".", cg->language)); + + /* + * Return the cached locale... + */ + + return (cg->language); +} + + +# ifdef CUPS_BUNDLEDIR +/* + * 'appleMessageLoad()' - Load a message catalog from a localizable bundle. + */ + +static cups_array_t * /* O - Message catalog */ +appleMessageLoad(const char *locale) /* I - Locale ID */ +{ + char filename[1024], /* Path to cups.strings file */ + applelang[256], /* Apple language ID */ + baselang[4]; /* Base language */ + CFURLRef url; /* URL to cups.strings file */ + CFReadStreamRef stream = NULL; /* File stream */ + CFPropertyListRef plist = NULL; /* Localization file */ +#ifdef DEBUG + const char *cups_strings = getenv("CUPS_STRINGS"); + /* Test strings file */ + CFErrorRef error = NULL; /* Error when opening file */ +#endif /* DEBUG */ + + + DEBUG_printf(("appleMessageLoad(locale=\"%s\")", locale)); + + /* + * Load the cups.strings file... + */ + +#ifdef DEBUG + if (cups_strings) + { + DEBUG_puts("1appleMessageLoad: Using debug CUPS_STRINGS file."); + strlcpy(filename, cups_strings, sizeof(filename)); + } + else +#endif /* DEBUG */ + + snprintf(filename, sizeof(filename), + CUPS_BUNDLEDIR "/Resources/%s.lproj/cups.strings", + _cupsAppleLanguage(locale, applelang, sizeof(applelang))); + + if (access(filename, 0)) + { + /* + * + * + * Try with original locale string... + */ + + DEBUG_printf(("1appleMessageLoad: \"%s\": %s", filename, strerror(errno))); + snprintf(filename, sizeof(filename), CUPS_BUNDLEDIR "/Resources/%s.lproj/cups.strings", locale); + } + + if (access(filename, 0)) + { + /* + * + * + * Try with just the language code... + */ + + DEBUG_printf(("1appleMessageLoad: \"%s\": %s", filename, strerror(errno))); + + strlcpy(baselang, locale, sizeof(baselang)); + if (baselang[3] == '-' || baselang[3] == '_') + baselang[3] = '\0'; + + snprintf(filename, sizeof(filename), CUPS_BUNDLEDIR "/Resources/%s.lproj/cups.strings", baselang); + } + + if (access(filename, 0)) + { + /* + * Try alternate lproj directory names... + */ + + DEBUG_printf(("1appleMessageLoad: \"%s\": %s", filename, strerror(errno))); + + if (!strncmp(locale, "en", 2)) + locale = "English"; + else if (!strncmp(locale, "nb", 2)) + locale = "no"; + else if (!strncmp(locale, "nl", 2)) + locale = "Dutch"; + else if (!strncmp(locale, "fr", 2)) + locale = "French"; + else if (!strncmp(locale, "de", 2)) + locale = "German"; + else if (!strncmp(locale, "it", 2)) + locale = "Italian"; + else if (!strncmp(locale, "ja", 2)) + locale = "Japanese"; + else if (!strncmp(locale, "es", 2)) + locale = "Spanish"; + else if (!strcmp(locale, "zh_HK") || !strncasecmp(locale, "zh-Hant", 7) || !strncasecmp(locale, "zh_Hant", 7)) + { + /* + * + * + * + * Try zh_TW first, then zh... Sigh... + */ + + if (!access(CUPS_BUNDLEDIR "/Resources/zh_TW.lproj/cups.strings", 0)) + locale = "zh_TW"; + else + locale = "zh"; + } + else if (strstr(locale, "_") != NULL || strstr(locale, "-") != NULL) + { + /* + * Drop country code, just try language... + */ + + strlcpy(baselang, locale, sizeof(baselang)); + if (baselang[2] == '-' || baselang[2] == '_') + baselang[2] = '\0'; + + locale = baselang; + } + + snprintf(filename, sizeof(filename), + CUPS_BUNDLEDIR "/Resources/%s.lproj/cups.strings", locale); + } + + DEBUG_printf(("1appleMessageLoad: filename=\"%s\"", filename)); + + url = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault, + (UInt8 *)filename, + (CFIndex)strlen(filename), false); + if (url) + { + stream = CFReadStreamCreateWithFile(kCFAllocatorDefault, url); + if (stream) + { + /* + * Read the property list containing the localization data. + * + * NOTE: This code currently generates a clang "potential leak" + * warning, but the object is released in _cupsMessageFree(). + */ + + CFReadStreamOpen(stream); + +#ifdef DEBUG + plist = CFPropertyListCreateWithStream(kCFAllocatorDefault, stream, 0, + kCFPropertyListImmutable, NULL, + &error); + if (error) + { + CFStringRef msg = CFErrorCopyDescription(error); + /* Error message */ + + CFStringGetCString(msg, filename, sizeof(filename), + kCFStringEncodingUTF8); + DEBUG_printf(("1appleMessageLoad: %s", filename)); + + CFRelease(msg); + CFRelease(error); + } + +#else + plist = CFPropertyListCreateWithStream(kCFAllocatorDefault, stream, 0, + kCFPropertyListImmutable, NULL, + NULL); +#endif /* DEBUG */ + + if (plist && CFGetTypeID(plist) != CFDictionaryGetTypeID()) + { + CFRelease(plist); + plist = NULL; + } + + CFRelease(stream); + } + + CFRelease(url); + } + + DEBUG_printf(("1appleMessageLoad: url=%p, stream=%p, plist=%p", url, stream, + plist)); + + /* + * Create and return an empty array to act as a cache for messages, passing the + * plist as the user data. + */ + + return (_cupsMessageNew((void *)plist)); +} +# endif /* CUPS_BUNDLEDIR */ +#endif /* __APPLE__ */ + + +/* + * 'cups_cache_lookup()' - Lookup a language in the cache... + */ + +static cups_lang_t * /* O - Language data or NULL */ +cups_cache_lookup( + const char *name, /* I - Name of locale */ + cups_encoding_t encoding) /* I - Encoding of locale */ +{ + cups_lang_t *lang; /* Current language */ + + + DEBUG_printf(("7cups_cache_lookup(name=\"%s\", encoding=%d(%s))", name, + encoding, encoding == CUPS_AUTO_ENCODING ? "auto" : + lang_encodings[encoding])); + + /* + * Loop through the cache and return a match if found... + */ + + for (lang = lang_cache; lang != NULL; lang = lang->next) + { + DEBUG_printf(("9cups_cache_lookup: lang=%p, language=\"%s\", " + "encoding=%d(%s)", (void *)lang, lang->language, lang->encoding, + lang_encodings[lang->encoding])); + + if (!strcmp(lang->language, name) && + (encoding == CUPS_AUTO_ENCODING || encoding == lang->encoding)) + { + lang->used ++; + + DEBUG_puts("8cups_cache_lookup: returning match!"); + + return (lang); + } + } + + DEBUG_puts("8cups_cache_lookup: returning NULL!"); + + return (NULL); +} + + +/* + * 'cups_message_compare()' - Compare two messages. + */ + +static int /* O - Result of comparison */ +cups_message_compare( + _cups_message_t *m1, /* I - First message */ + _cups_message_t *m2) /* I - Second message */ +{ + return (strcmp(m1->msg, m2->msg)); +} + + +/* + * 'cups_message_free()' - Free a message. + */ + +static void +cups_message_free(_cups_message_t *m) /* I - Message */ +{ + if (m->msg) + free(m->msg); + + if (m->str) + free(m->str); + + free(m); +} + + +/* + * 'cups_message_load()' - Load the message catalog for a language. + */ + +static void +cups_message_load(cups_lang_t *lang) /* I - Language */ +{ +#if defined(__APPLE__) && defined(CUPS_BUNDLEDIR) + lang->strings = appleMessageLoad(lang->language); + +#else + char filename[1024]; /* Filename for language locale file */ + _cups_globals_t *cg = _cupsGlobals(); + /* Pointer to library globals */ + + + snprintf(filename, sizeof(filename), "%s/%s/cups_%s.po", cg->localedir, + lang->language, lang->language); + + if (strchr(lang->language, '_') && access(filename, 0)) + { + /* + * Country localization not available, look for generic localization... + */ + + snprintf(filename, sizeof(filename), "%s/%.2s/cups_%.2s.po", cg->localedir, + lang->language, lang->language); + + if (access(filename, 0)) + { + /* + * No generic localization, so use POSIX... + */ + + DEBUG_printf(("4cups_message_load: access(\"%s\", 0): %s", filename, + strerror(errno))); + + snprintf(filename, sizeof(filename), "%s/C/cups_C.po", cg->localedir); + } + } + + /* + * Read the strings from the file... + */ + + lang->strings = _cupsMessageLoad(filename, _CUPS_MESSAGE_UNQUOTE); +#endif /* __APPLE__ && CUPS_BUNDLEDIR */ +} + + +/* + * 'cups_message_puts()' - Write a message string with quoting. + */ + +static void +cups_message_puts(cups_file_t *fp, /* I - File to write to */ + const char *s) /* I - String to write */ +{ + const char *start, /* Start of substring */ + *ptr; /* Pointer into string */ + + + for (start = s, ptr = s; *ptr; ptr ++) + { + if (strchr("\\\"\n\t", *ptr)) + { + if (ptr > start) + { + cupsFileWrite(fp, start, (size_t)(ptr - start)); + start = ptr + 1; + } + + if (*ptr == '\\') + cupsFileWrite(fp, "\\\\", 2); + else if (*ptr == '\"') + cupsFileWrite(fp, "\\\"", 2); + else if (*ptr == '\n') + cupsFileWrite(fp, "\\n", 2); + else /* if (*ptr == '\t') */ + cupsFileWrite(fp, "\\t", 2); + } + } + + if (ptr > start) + cupsFileWrite(fp, start, (size_t)(ptr - start)); +} + + +/* + * 'cups_read_strings()' - Read a pair of strings from a .strings file. + */ + +static int /* O - 1 on success, 0 on failure */ +cups_read_strings(cups_file_t *fp, /* I - .strings file */ + int flags, /* I - CUPS_MESSAGE_xxx flags */ + cups_array_t *a) /* I - Message catalog array */ +{ + char buffer[8192], /* Line buffer */ + *bufptr, /* Pointer into buffer */ + *msg, /* Pointer to start of message */ + *str; /* Pointer to start of translation string */ + _cups_message_t *m; /* New message */ + + + while (cupsFileGets(fp, buffer, sizeof(buffer))) + { + /* + * Skip any line (comments, blanks, etc.) that isn't: + * + * "message" = "translation"; + */ + + for (bufptr = buffer; *bufptr && isspace(*bufptr & 255); bufptr ++); + + if (*bufptr != '\"') + continue; + + /* + * Find the end of the message... + */ + + bufptr ++; + for (msg = bufptr; *bufptr && *bufptr != '\"'; bufptr ++) + if (*bufptr == '\\' && bufptr[1]) + bufptr ++; + + if (!*bufptr) + continue; + + *bufptr++ = '\0'; + + if (flags & _CUPS_MESSAGE_UNQUOTE) + cups_unquote(msg, msg); + + /* + * Find the start of the translation... + */ + + while (*bufptr && isspace(*bufptr & 255)) + bufptr ++; + + if (*bufptr != '=') + continue; + + bufptr ++; + while (*bufptr && isspace(*bufptr & 255)) + bufptr ++; + + if (*bufptr != '\"') + continue; + + /* + * Find the end of the translation... + */ + + bufptr ++; + for (str = bufptr; *bufptr && *bufptr != '\"'; bufptr ++) + if (*bufptr == '\\' && bufptr[1]) + bufptr ++; + + if (!*bufptr) + continue; + + *bufptr++ = '\0'; + + if (flags & _CUPS_MESSAGE_UNQUOTE) + cups_unquote(str, str); + + /* + * If we get this far we have a valid pair of strings, add them... + */ + + if ((m = malloc(sizeof(_cups_message_t))) == NULL) + break; + + m->msg = strdup(msg); + m->str = strdup(str); + + if (m->msg && m->str) + { + cupsArrayAdd(a, m); + } + else + { + if (m->msg) + free(m->msg); + + if (m->str) + free(m->str); + + free(m); + break; + } + + return (1); + } + + /* + * No more strings... + */ + + return (0); +} + + +/* + * 'cups_unquote()' - Unquote characters in strings... + */ + +static void +cups_unquote(char *d, /* O - Unquoted string */ + const char *s) /* I - Original string */ +{ + while (*s) + { + if (*s == '\\') + { + s ++; + if (isdigit(*s)) + { + *d = 0; + + while (isdigit(*s)) + { + *d = *d * 8 + *s - '0'; + s ++; + } + + d ++; + } + else + { + if (*s == 'n') + *d ++ = '\n'; + else if (*s == 'r') + *d ++ = '\r'; + else if (*s == 't') + *d ++ = '\t'; + else + *d++ = *s; + + s ++; + } + } + else + *d++ = *s++; + } + + *d = '\0'; +} diff --git a/cups/language.h b/cups/language.h new file mode 100644 index 0000000..b5ec7e1 --- /dev/null +++ b/cups/language.h @@ -0,0 +1,103 @@ +/* + * Multi-language support for CUPS. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_LANGUAGE_H_ +# define _CUPS_LANGUAGE_H_ + +/* + * Include necessary headers... + */ + +# include +# include "array.h" + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Types... + */ + +typedef enum cups_encoding_e /**** Language Encodings @exclude all@ ****/ +{ + CUPS_AUTO_ENCODING = -1, /* Auto-detect the encoding @private@ */ + CUPS_US_ASCII, /* US ASCII */ + CUPS_ISO8859_1, /* ISO-8859-1 */ + CUPS_ISO8859_2, /* ISO-8859-2 */ + CUPS_ISO8859_3, /* ISO-8859-3 */ + CUPS_ISO8859_4, /* ISO-8859-4 */ + CUPS_ISO8859_5, /* ISO-8859-5 */ + CUPS_ISO8859_6, /* ISO-8859-6 */ + CUPS_ISO8859_7, /* ISO-8859-7 */ + CUPS_ISO8859_8, /* ISO-8859-8 */ + CUPS_ISO8859_9, /* ISO-8859-9 */ + CUPS_ISO8859_10, /* ISO-8859-10 */ + CUPS_UTF8, /* UTF-8 */ + CUPS_ISO8859_13, /* ISO-8859-13 */ + CUPS_ISO8859_14, /* ISO-8859-14 */ + CUPS_ISO8859_15, /* ISO-8859-15 */ + CUPS_WINDOWS_874, /* CP-874 */ + CUPS_WINDOWS_1250, /* CP-1250 */ + CUPS_WINDOWS_1251, /* CP-1251 */ + CUPS_WINDOWS_1252, /* CP-1252 */ + CUPS_WINDOWS_1253, /* CP-1253 */ + CUPS_WINDOWS_1254, /* CP-1254 */ + CUPS_WINDOWS_1255, /* CP-1255 */ + CUPS_WINDOWS_1256, /* CP-1256 */ + CUPS_WINDOWS_1257, /* CP-1257 */ + CUPS_WINDOWS_1258, /* CP-1258 */ + CUPS_KOI8_R, /* KOI-8-R */ + CUPS_KOI8_U, /* KOI-8-U */ + CUPS_ISO8859_11, /* ISO-8859-11 */ + CUPS_ISO8859_16, /* ISO-8859-16 */ + CUPS_MAC_ROMAN, /* MacRoman */ + CUPS_ENCODING_SBCS_END = 63, /* End of single-byte encodings @private@ */ + + CUPS_WINDOWS_932, /* Japanese JIS X0208-1990 */ + CUPS_WINDOWS_936, /* Simplified Chinese GB 2312-80 */ + CUPS_WINDOWS_949, /* Korean KS C5601-1992 */ + CUPS_WINDOWS_950, /* Traditional Chinese Big Five */ + CUPS_WINDOWS_1361, /* Korean Johab */ + CUPS_ENCODING_DBCS_END = 127, /* End of double-byte encodings @private@ */ + + CUPS_EUC_CN, /* EUC Simplified Chinese */ + CUPS_EUC_JP, /* EUC Japanese */ + CUPS_EUC_KR, /* EUC Korean */ + CUPS_EUC_TW, /* EUC Traditional Chinese */ + CUPS_JIS_X0213, /* JIS X0213 aka Shift JIS */ + CUPS_ENCODING_VBCS_END = 191 /* End of variable-length encodings @private@ */ +} cups_encoding_t; + +typedef struct cups_lang_s /**** Language Cache Structure ****/ +{ + struct cups_lang_s *next; /* Next language in cache */ + int used; /* Number of times this entry has been used. */ + cups_encoding_t encoding; /* Text encoding */ + char language[16]; /* Language/locale name */ + cups_array_t *strings; /* Message strings @private@ */ +} cups_lang_t; + + +/* + * Prototypes... + */ + +extern cups_lang_t *cupsLangDefault(void) _CUPS_PUBLIC; +extern const char *cupsLangEncoding(cups_lang_t *lang) _CUPS_PUBLIC; +extern void cupsLangFlush(void) _CUPS_PUBLIC; +extern void cupsLangFree(cups_lang_t *lang) _CUPS_PUBLIC; +extern cups_lang_t *cupsLangGet(const char *language) _CUPS_PUBLIC; + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_LANGUAGE_H_ */ diff --git a/cups/libcups2.def b/cups/libcups2.def new file mode 100644 index 0000000..bcd4d08 --- /dev/null +++ b/cups/libcups2.def @@ -0,0 +1,588 @@ +LIBRARY libcups2 +VERSION 2.14 +EXPORTS +_cupsArrayAddStrings +_cupsArrayNewStrings +_cupsBufferGet +_cupsBufferRelease +_cupsCharmapFlush +_cupsCondBroadcast +_cupsCondInit +_cupsCondWait +_cupsConnect +_cupsConvertOptions +_cupsCreateDest +_cupsEncodeOption +_cupsEncodingName +_cupsFilePeekAhead +_cupsGet1284Values +_cupsGetDestResource +_cupsGetDests +_cupsGetPassword +_cupsGlobalLock +_cupsGlobalUnlock +_cupsGlobals +_cupsLangPrintError +_cupsLangPrintf +_cupsLangPuts +_cupsLangString +_cupsMessageFree +_cupsMessageLoad +_cupsMessageLookup +_cupsMessageNew +_cupsMessageSave +_cupsMutexInit +_cupsMutexLock +_cupsMutexUnlock +_cupsNextDelay +_cupsRWInit +_cupsRWLockRead +_cupsRWLockWrite +_cupsRWUnlock +_cupsRasterAddError +_cupsRasterClearError +_cupsRasterColorSpaceString +_cupsRasterDelete +_cupsRasterErrorString +_cupsRasterExecPS +_cupsRasterInitPWGHeader +_cupsRasterInterpretPPD +_cupsRasterNew +_cupsRasterReadHeader +_cupsRasterReadPixels +_cupsRasterWriteHeader +_cupsRasterWritePixels +_cupsSetDefaults +_cupsSetError +_cupsSetHTTPError +_cupsSetLocale +_cupsStrAlloc +_cupsStrDate +_cupsStrFlush +_cupsStrFormatd +_cupsStrFree +_cupsStrRetain +_cupsStrScand +_cupsStrStatistics +_cupsThreadCancel +_cupsThreadCreate +_cupsThreadDetach +_cupsThreadWait +_cupsUserDefault +_cups_gettimeofday +_cups_safe_vsnprintf +_cups_snprintf +_cups_strcasecmp +_cups_strcpy +_cups_strcpy +_cups_strlcat +_cups_strlcpy +_cups_strncasecmp +_cups_vsnprintf +_httpAddrSetPort +_httpCreateCredentials +_httpDecodeURI +_httpDisconnect +_httpEncodeURI +_httpFreeCredentials +_httpResolveURI +_httpSetDigestAuthString +_httpStatus +_httpTLSInitialize +_httpTLSPending +_httpTLSRead +_httpTLSSetOptions +_httpTLSStart +_httpTLSStop +_httpTLSWrite +_httpUpdate +_httpWait +_ippCheckOptions +_ippFileParse +_ippFileReadToken +_ippFindOption +_ippVarsDeinit +_ippVarsExpand +_ippVarsGet +_ippVarsInit +_ippVarsPasswordCB +_ippVarsSet +_ppdCacheCreateWithFile +_ppdCacheCreateWithPPD +_ppdCacheDestroy +_ppdCacheGetBin +_ppdCacheGetFinishingOptions +_ppdCacheGetFinishingValues +_ppdCacheGetInputSlot +_ppdCacheGetMediaType +_ppdCacheGetOutputBin +_ppdCacheGetPageSize +_ppdCacheGetSize +_ppdCacheGetSource +_ppdCacheGetType +_ppdCacheWriteFile +_ppdCreateFromIPP +_ppdFreeLanguages +_ppdGetEncoding +_ppdGetLanguages +_ppdGlobals +_ppdHashName +_ppdLocalizedAttr +_ppdNormalizeMakeAndModel +_ppdOpen +_ppdOpenFile +_ppdParseOptions +_pwgInputSlotForSource +_pwgMediaNearSize +_pwgMediaTable +_pwgMediaTypeForType +_pwgPageSizeForMedia +cupsAddDest +cupsAddDestMediaOptions +cupsAddIntegerOption +cupsAddOption +cupsAdminCreateWindowsPPD +cupsAdminExportSamba +cupsAdminGetServerSettings +cupsAdminSetServerSettings +cupsArrayAdd +cupsArrayClear +cupsArrayCount +cupsArrayCurrent +cupsArrayDelete +cupsArrayDup +cupsArrayFind +cupsArrayFirst +cupsArrayGetIndex +cupsArrayGetInsert +cupsArrayIndex +cupsArrayInsert +cupsArrayLast +cupsArrayNew +cupsArrayNew2 +cupsArrayNew3 +cupsArrayNext +cupsArrayPrev +cupsArrayRemove +cupsArrayRestore +cupsArraySave +cupsArrayUserData +cupsCancelDestJob +cupsCancelJob +cupsCancelJob2 +cupsCharsetToUTF8 +cupsCheckDestSupported +cupsCloseDestJob +cupsConnectDest +cupsCopyDest +cupsCopyDestConflicts +cupsCopyDestInfo +cupsCreateDestJob +cupsCreateJob +cupsDirClose +cupsDirOpen +cupsDirRead +cupsDirRewind +cupsDoAuthentication +cupsDoFileRequest +cupsDoIORequest +cupsDoRequest +cupsEncodeOption +cupsEncodeOptions +cupsEncodeOptions2 +cupsEncryption +cupsEnumDests +cupsFileClose +cupsFileCompression +cupsFileEOF +cupsFileFind +cupsFileFlush +cupsFileGetChar +cupsFileGetConf +cupsFileGetLine +cupsFileGets +cupsFileLock +cupsFileNumber +cupsFileOpen +cupsFileOpenFd +cupsFilePeekChar +cupsFilePrintf +cupsFilePutChar +cupsFilePutConf +cupsFilePuts +cupsFileRead +cupsFileRewind +cupsFileSeek +cupsFileStderr +cupsFileStdin +cupsFileStdout +cupsFileTell +cupsFileUnlock +cupsFileWrite +cupsFindDestDefault +cupsFindDestReady +cupsFindDestSupported +cupsFinishDestDocument +cupsFinishDocument +cupsFreeDestInfo +cupsFreeDests +cupsFreeJobs +cupsFreeOptions +cupsGetClasses +cupsGetConflicts +cupsGetDefault +cupsGetDefault2 +cupsGetDest +cupsGetDestMediaByIndex +cupsGetDestMediaByName +cupsGetDestMediaBySize +cupsGetDestMediaCount +cupsGetDestMediaDefault +cupsGetDestWithURI +cupsGetDests +cupsGetDests2 +cupsGetDevices +cupsGetFd +cupsGetFile +cupsGetIntegerOption +cupsGetJobs +cupsGetJobs2 +cupsGetNamedDest +cupsGetOption +cupsGetPPD +cupsGetPPD2 +cupsGetPPD3 +cupsGetPassword +cupsGetPassword2 +cupsGetPrinters +cupsGetResponse +cupsGetServerPPD +cupsHashData +cupsHashString +cupsLangDefault +cupsLangEncoding +cupsLangFlush +cupsLangFree +cupsLangGet +cupsLastError +cupsLastErrorString +cupsLocalizeDestMedia +cupsLocalizeDestOption +cupsLocalizeDestValue +cupsMakeServerCredentials +cupsMarkOptions +cupsNotifySubject +cupsNotifyText +cupsParseOptions +cupsPrintFile +cupsPrintFile2 +cupsPrintFiles +cupsPrintFiles2 +cupsPutFd +cupsPutFile +cupsRasterClose +cupsRasterClose +cupsRasterErrorString +cupsRasterErrorString +cupsRasterInitPWGHeader +cupsRasterInitPWGHeader +cupsRasterInterpretPPD +cupsRasterInterpretPPD +cupsRasterOpen +cupsRasterOpen +cupsRasterOpenIO +cupsRasterOpenIO +cupsRasterReadHeader +cupsRasterReadHeader +cupsRasterReadHeader2 +cupsRasterReadHeader2 +cupsRasterReadPixels +cupsRasterReadPixels +cupsRasterWriteHeader +cupsRasterWriteHeader +cupsRasterWriteHeader2 +cupsRasterWriteHeader2 +cupsRasterWritePixels +cupsRasterWritePixels +cupsReadResponseData +cupsRemoveDest +cupsRemoveOption +cupsResolveConflicts +cupsSendRequest +cupsServer +cupsSetClientCertCB +cupsSetCredentials +cupsSetDefaultDest +cupsSetDests +cupsSetDests2 +cupsSetEncryption +cupsSetPasswordCB +cupsSetPasswordCB2 +cupsSetServer +cupsSetServerCertCB +cupsSetServerCredentials +cupsSetUser +cupsSetUserAgent +cupsStartDestDocument +cupsStartDocument +cupsTempFd +cupsTempFile +cupsTempFile2 +cupsUTF32ToUTF8 +cupsUTF8ToCharset +cupsUTF8ToUTF32 +cupsUser +cupsUserAgent +cupsWriteRequestData +httpAcceptConnection +httpAddCredential +httpAddrAny +httpAddrClose +httpAddrConnect +httpAddrConnect2 +httpAddrCopyList +httpAddrEqual +httpAddrFamily +httpAddrFreeList +httpAddrGetList +httpAddrLength +httpAddrListen +httpAddrLocalhost +httpAddrLookup +httpAddrPort +httpAddrString +httpAssembleURI +httpAssembleURIf +httpAssembleUUID +httpBlocking +httpCheck +httpClearCookie +httpClearFields +httpClose +httpCompareCredentials +httpConnect +httpConnect2 +httpConnectEncrypt +httpCopyCredentials +httpCredentialsAreValidForName +httpCredentialsGetExpiration +httpCredentialsGetTrust +httpCredentialsString +httpDecode64 +httpDecode64_2 +httpDelete +httpEncode64 +httpEncode64_2 +httpEncryption +httpError +httpFieldValue +httpFlush +httpFlushWrite +httpFreeCredentials +httpGet +httpGetActivity +httpGetAddress +httpGetAuthString +httpGetBlocking +httpGetContentEncoding +httpGetCookie +httpGetDateString +httpGetDateString2 +httpGetDateTime +httpGetEncryption +httpGetExpect +httpGetFd +httpGetField +httpGetHostByName +httpGetHostname +httpGetKeepAlive +httpGetLength +httpGetLength2 +httpGetPending +httpGetReady +httpGetRemaining +httpGetState +httpGetStatus +httpGetSubField +httpGetSubField2 +httpGetVersion +httpGets +httpHead +httpInitialize +httpIsChunked +httpIsEncrypted +httpLoadCredentials +httpMD5 +httpMD5Final +httpMD5String +httpOptions +httpPeek +httpPost +httpPrintf +httpPut +httpRead +httpRead2 +httpReadRequest +httpReconnect +httpReconnect2 +httpResolveHostname +httpSaveCredentials +httpSeparate +httpSeparate2 +httpSeparateURI +httpSetAuthString +httpSetCookie +httpSetCredentials +httpSetDefaultField +httpSetExpect +httpSetField +httpSetKeepAlive +httpSetLength +httpSetTimeout +httpShutdown +httpStateString +httpStatus +httpTrace +httpURIStatusString +httpUpdate +httpWait +httpWrite +httpWrite2 +httpWriteResponse +ippAddBoolean +ippAddBooleans +ippAddCollection +ippAddCollections +ippAddDate +ippAddInteger +ippAddIntegers +ippAddOctetString +ippAddOutOfBand +ippAddRange +ippAddRanges +ippAddResolution +ippAddResolutions +ippAddSeparator +ippAddString +ippAddStringf +ippAddStringfv +ippAddStrings +ippAttributeString +ippContainsInteger +ippContainsString +ippCopyAttribute +ippCopyAttributes +ippCreateRequestedArray +ippDateToTime +ippDelete +ippDeleteAttribute +ippDeleteValues +ippEnumString +ippEnumValue +ippErrorString +ippErrorValue +ippFindAttribute +ippFindNextAttribute +ippFirstAttribute +ippGetBoolean +ippGetCollection +ippGetCount +ippGetDate +ippGetGroupTag +ippGetInteger +ippGetName +ippGetOctetString +ippGetOperation +ippGetRange +ippGetRequestId +ippGetResolution +ippGetState +ippGetStatusCode +ippGetString +ippGetValueTag +ippGetVersion +ippLength +ippNew +ippNewRequest +ippNewResponse +ippNextAttribute +ippOpString +ippOpValue +ippPort +ippRead +ippReadFile +ippReadIO +ippSetBoolean +ippSetCollection +ippSetDate +ippSetGroupTag +ippSetInteger +ippSetName +ippSetOctetString +ippSetOperation +ippSetPort +ippSetRange +ippSetRequestId +ippSetResolution +ippSetState +ippSetStatusCode +ippSetString +ippSetStringf +ippSetStringfv +ippSetValueTag +ippSetVersion +ippStateString +ippTagString +ippTagValue +ippTimeToDate +ippValidateAttribute +ippValidateAttributes +ippWrite +ippWriteFile +ippWriteIO +ppdClose +ppdCollect +ppdCollect2 +ppdConflicts +ppdEmit +ppdEmitAfterOrder +ppdEmitFd +ppdEmitJCL +ppdEmitJCLEnd +ppdEmitString +ppdErrorString +ppdFindAttr +ppdFindChoice +ppdFindCustomOption +ppdFindCustomParam +ppdFindMarkedChoice +ppdFindNextAttr +ppdFindOption +ppdFirstCustomParam +ppdFirstOption +ppdInstallableConflict +ppdIsMarked +ppdLastError +ppdLocalize +ppdLocalizeAttr +ppdLocalizeIPPReason +ppdLocalizeMarkerName +ppdMarkDefaults +ppdMarkOption +ppdNextCustomParam +ppdNextOption +ppdOpen +ppdOpen2 +ppdOpenFd +ppdOpenFile +ppdPageLength +ppdPageSize +ppdPageSizeLimits +ppdPageWidth +ppdSetConformance +pwgFormatSizeName +pwgInitSize +pwgMediaForLegacy +pwgMediaForPPD +pwgMediaForPWG +pwgMediaForSize diff --git a/cups/libcups2.rc b/cups/libcups2.rc new file mode 100644 index 0000000..bac3b17 --- /dev/null +++ b/cups/libcups2.rc @@ -0,0 +1,75 @@ +// Microsoft Visual C++ generated resource script. +// + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" +#include "WinVersRes.h" +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION MASTER_PROD_VERS + PRODUCTVERSION MASTER_PROD_VERS + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "CompanyName", MASTER_COMPANY_NAME + VALUE "FileDescription", "CUPS Library" + VALUE "FileVersion", MASTER_PROD_VERS_STR + VALUE "InternalName", "libcups2.dll" + VALUE "LegalCopyright", MASTER_LEGAL_COPYRIGHT + VALUE "OriginalFilename", "libcups2.dll" + VALUE "ProductName", MASTER_PROD_NAME + VALUE "ProductVersion", MASTER_PROD_VERS_STR + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/cups/md5-internal.h b/cups/md5-internal.h new file mode 100644 index 0000000..2cbf78b --- /dev/null +++ b/cups/md5-internal.h @@ -0,0 +1,75 @@ +/* + * Private MD5 definitions for CUPS. + * + * Copyright 2007-2010 by Apple Inc. + * Copyright 2005 by Easy Software Products + * + * Copyright (C) 1999 Aladdin Enterprises. All rights reserved. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + * L. Peter Deutsch + * ghost@aladdin.com + */ + +/* + Independent implementation of MD5 (RFC 1321). + + This code implements the MD5 Algorithm defined in RFC 1321. + It is derived directly from the text of the RFC and not from the + reference implementation. + + The original and principal author of md5.h is L. Peter Deutsch + . Other authors are noted in the change history + that follows (in reverse chronological order): + + 1999-11-04 lpd Edited comments slightly for automatic TOC extraction. + 1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5); + added conditionalization for C++ compilation from Martin + Purschke . + 1999-05-03 lpd Original version. + */ + +#ifndef _CUPS_MD5_INTERNAL_H_ +# define _CUPS_MD5_INTERNAL_H_ + +# include + +/* Define the state of the MD5 Algorithm. */ +typedef struct _cups_md5_state_s { + unsigned int count[2]; /* message length in bits, lsw first */ + unsigned int abcd[4]; /* digest buffer */ + unsigned char buf[64]; /* accumulate block */ +} _cups_md5_state_t; + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + +/* Initialize the algorithm. */ +void _cupsMD5Init(_cups_md5_state_t *pms) _CUPS_INTERNAL; + +/* Append a string to the message. */ +void _cupsMD5Append(_cups_md5_state_t *pms, const unsigned char *data, int nbytes) _CUPS_INTERNAL; + +/* Finish the message and return the digest. */ +void _cupsMD5Finish(_cups_md5_state_t *pms, unsigned char digest[16]) _CUPS_INTERNAL; + +# ifdef __cplusplus +} /* end extern "C" */ +# endif /* __cplusplus */ +#endif /* !_CUPS_MD5_INTERNAL_H_ */ diff --git a/cups/md5.c b/cups/md5.c new file mode 100644 index 0000000..a94646c --- /dev/null +++ b/cups/md5.c @@ -0,0 +1,341 @@ +/* + * Private MD5 implementation for CUPS. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 2005 by Easy Software Products + * Copyright (C) 1999 Aladdin Enterprises. All rights reserved. + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + * + * L. Peter Deutsch + * ghost@aladdin.com + */ +/* + Independent implementation of MD5 (RFC 1321). + + This code implements the MD5 Algorithm defined in RFC 1321. + It is derived directly from the text of the RFC and not from the + reference implementation. + + The original and principal author of md5.c is L. Peter Deutsch + . Other authors are noted in the change history + that follows (in reverse chronological order): + + 1999-11-04 lpd Edited comments slightly for automatic TOC extraction. + 1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5). + 1999-05-03 lpd Original version. + */ + +#include "md5-internal.h" +#include "string-private.h" + +#if !defined(__APPLE__) +# define T1 0xd76aa478 +# define T2 0xe8c7b756 +# define T3 0x242070db +# define T4 0xc1bdceee +# define T5 0xf57c0faf +# define T6 0x4787c62a +# define T7 0xa8304613 +# define T8 0xfd469501 +# define T9 0x698098d8 +# define T10 0x8b44f7af +# define T11 0xffff5bb1 +# define T12 0x895cd7be +# define T13 0x6b901122 +# define T14 0xfd987193 +# define T15 0xa679438e +# define T16 0x49b40821 +# define T17 0xf61e2562 +# define T18 0xc040b340 +# define T19 0x265e5a51 +# define T20 0xe9b6c7aa +# define T21 0xd62f105d +# define T22 0x02441453 +# define T23 0xd8a1e681 +# define T24 0xe7d3fbc8 +# define T25 0x21e1cde6 +# define T26 0xc33707d6 +# define T27 0xf4d50d87 +# define T28 0x455a14ed +# define T29 0xa9e3e905 +# define T30 0xfcefa3f8 +# define T31 0x676f02d9 +# define T32 0x8d2a4c8a +# define T33 0xfffa3942 +# define T34 0x8771f681 +# define T35 0x6d9d6122 +# define T36 0xfde5380c +# define T37 0xa4beea44 +# define T38 0x4bdecfa9 +# define T39 0xf6bb4b60 +# define T40 0xbebfbc70 +# define T41 0x289b7ec6 +# define T42 0xeaa127fa +# define T43 0xd4ef3085 +# define T44 0x04881d05 +# define T45 0xd9d4d039 +# define T46 0xe6db99e5 +# define T47 0x1fa27cf8 +# define T48 0xc4ac5665 +# define T49 0xf4292244 +# define T50 0x432aff97 +# define T51 0xab9423a7 +# define T52 0xfc93a039 +# define T53 0x655b59c3 +# define T54 0x8f0ccc92 +# define T55 0xffeff47d +# define T56 0x85845dd1 +# define T57 0x6fa87e4f +# define T58 0xfe2ce6e0 +# define T59 0xa3014314 +# define T60 0x4e0811a1 +# define T61 0xf7537e82 +# define T62 0xbd3af235 +# define T63 0x2ad7d2bb +# define T64 0xeb86d391 + +static void +_cups_md5_process(_cups_md5_state_t *pms, const unsigned char *data /*[64]*/) +{ + unsigned int + a = pms->abcd[0], b = pms->abcd[1], + c = pms->abcd[2], d = pms->abcd[3]; + unsigned int t; + +# ifndef ARCH_IS_BIG_ENDIAN +# define ARCH_IS_BIG_ENDIAN 1 /* slower, default implementation */ +# endif +# if ARCH_IS_BIG_ENDIAN + + /* + * On big-endian machines, we must arrange the bytes in the right + * order. (This also works on machines of unknown byte order.) + */ + unsigned int X[16]; + const unsigned char *xp = data; + int i; + + for (i = 0; i < 16; ++i, xp += 4) + X[i] = (unsigned)xp[0] + ((unsigned)xp[1] << 8) + + ((unsigned)xp[2] << 16) + ((unsigned)xp[3] << 24); + +# else /* !ARCH_IS_BIG_ENDIAN */ + + /* + * On little-endian machines, we can process properly aligned data + * without copying it. + */ + unsigned int xbuf[16]; + const unsigned int *X; + + if (!((data - (const unsigned char *)0) & 3)) { + /* data are properly aligned */ + X = (const unsigned int *)data; + } else { + /* not aligned */ + memcpy(xbuf, data, 64); + X = xbuf; + } +# endif + +# define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) + + /* Round 1. */ + /* Let [abcd k s i] denote the operation + a = b + ((a + F(b,c,d) + X[k] + T[i]) <<< s). */ +# define F(x, y, z) (((x) & (y)) | (~(x) & (z))) +# define SET(a, b, c, d, k, s, Ti)\ + t = a + F(b,c,d) + X[k] + Ti;\ + a = ROTATE_LEFT(t, s) + b + /* Do the following 16 operations. */ + SET(a, b, c, d, 0, 7, T1); + SET(d, a, b, c, 1, 12, T2); + SET(c, d, a, b, 2, 17, T3); + SET(b, c, d, a, 3, 22, T4); + SET(a, b, c, d, 4, 7, T5); + SET(d, a, b, c, 5, 12, T6); + SET(c, d, a, b, 6, 17, T7); + SET(b, c, d, a, 7, 22, T8); + SET(a, b, c, d, 8, 7, T9); + SET(d, a, b, c, 9, 12, T10); + SET(c, d, a, b, 10, 17, T11); + SET(b, c, d, a, 11, 22, T12); + SET(a, b, c, d, 12, 7, T13); + SET(d, a, b, c, 13, 12, T14); + SET(c, d, a, b, 14, 17, T15); + SET(b, c, d, a, 15, 22, T16); +# undef SET + + /* Round 2. */ + /* Let [abcd k s i] denote the operation + a = b + ((a + G(b,c,d) + X[k] + T[i]) <<< s). */ +# define G(x, y, z) (((x) & (z)) | ((y) & ~(z))) +# define SET(a, b, c, d, k, s, Ti)\ + t = a + G(b,c,d) + X[k] + Ti;\ + a = ROTATE_LEFT(t, s) + b + /* Do the following 16 operations. */ + SET(a, b, c, d, 1, 5, T17); + SET(d, a, b, c, 6, 9, T18); + SET(c, d, a, b, 11, 14, T19); + SET(b, c, d, a, 0, 20, T20); + SET(a, b, c, d, 5, 5, T21); + SET(d, a, b, c, 10, 9, T22); + SET(c, d, a, b, 15, 14, T23); + SET(b, c, d, a, 4, 20, T24); + SET(a, b, c, d, 9, 5, T25); + SET(d, a, b, c, 14, 9, T26); + SET(c, d, a, b, 3, 14, T27); + SET(b, c, d, a, 8, 20, T28); + SET(a, b, c, d, 13, 5, T29); + SET(d, a, b, c, 2, 9, T30); + SET(c, d, a, b, 7, 14, T31); + SET(b, c, d, a, 12, 20, T32); +# undef SET + + /* Round 3. */ + /* Let [abcd k s t] denote the operation + a = b + ((a + H(b,c,d) + X[k] + T[i]) <<< s). */ +# define H(x, y, z) ((x) ^ (y) ^ (z)) +# define SET(a, b, c, d, k, s, Ti)\ + t = a + H(b,c,d) + X[k] + Ti;\ + a = ROTATE_LEFT(t, s) + b + /* Do the following 16 operations. */ + SET(a, b, c, d, 5, 4, T33); + SET(d, a, b, c, 8, 11, T34); + SET(c, d, a, b, 11, 16, T35); + SET(b, c, d, a, 14, 23, T36); + SET(a, b, c, d, 1, 4, T37); + SET(d, a, b, c, 4, 11, T38); + SET(c, d, a, b, 7, 16, T39); + SET(b, c, d, a, 10, 23, T40); + SET(a, b, c, d, 13, 4, T41); + SET(d, a, b, c, 0, 11, T42); + SET(c, d, a, b, 3, 16, T43); + SET(b, c, d, a, 6, 23, T44); + SET(a, b, c, d, 9, 4, T45); + SET(d, a, b, c, 12, 11, T46); + SET(c, d, a, b, 15, 16, T47); + SET(b, c, d, a, 2, 23, T48); +# undef SET + + /* Round 4. */ + /* Let [abcd k s t] denote the operation + a = b + ((a + I(b,c,d) + X[k] + T[i]) <<< s). */ +# define I(x, y, z) ((y) ^ ((x) | ~(z))) +# define SET(a, b, c, d, k, s, Ti)\ + t = a + I(b,c,d) + X[k] + Ti;\ + a = ROTATE_LEFT(t, s) + b + /* Do the following 16 operations. */ + SET(a, b, c, d, 0, 6, T49); + SET(d, a, b, c, 7, 10, T50); + SET(c, d, a, b, 14, 15, T51); + SET(b, c, d, a, 5, 21, T52); + SET(a, b, c, d, 12, 6, T53); + SET(d, a, b, c, 3, 10, T54); + SET(c, d, a, b, 10, 15, T55); + SET(b, c, d, a, 1, 21, T56); + SET(a, b, c, d, 8, 6, T57); + SET(d, a, b, c, 15, 10, T58); + SET(c, d, a, b, 6, 15, T59); + SET(b, c, d, a, 13, 21, T60); + SET(a, b, c, d, 4, 6, T61); + SET(d, a, b, c, 11, 10, T62); + SET(c, d, a, b, 2, 15, T63); + SET(b, c, d, a, 9, 21, T64); +# undef SET + + /* Then perform the following additions. (That is increment each + of the four registers by the value it had before this block + was started.) */ + pms->abcd[0] += a; + pms->abcd[1] += b; + pms->abcd[2] += c; + pms->abcd[3] += d; +} + +void +_cupsMD5Init(_cups_md5_state_t *pms) +{ + pms->count[0] = pms->count[1] = 0; + pms->abcd[0] = 0x67452301; + pms->abcd[1] = 0xefcdab89; + pms->abcd[2] = 0x98badcfe; + pms->abcd[3] = 0x10325476; +} + +void +_cupsMD5Append(_cups_md5_state_t *pms, const unsigned char *data, int nbytes) +{ + const unsigned char *p = data; + int left = nbytes; + int offset = (pms->count[0] >> 3) & 63; + unsigned int nbits = (unsigned int)(nbytes << 3); + + if (nbytes <= 0) + return; + + /* Update the message length. */ + pms->count[1] += (unsigned)nbytes >> 29; + pms->count[0] += nbits; + if (pms->count[0] < nbits) + pms->count[1]++; + + /* Process an initial partial block. */ + if (offset) { + int copy = (offset + nbytes > 64 ? 64 - offset : nbytes); + + memcpy(pms->buf + offset, p, (size_t)copy); + if (offset + copy < 64) + return; + p += copy; + left -= copy; + _cups_md5_process(pms, pms->buf); + } + + /* Process full blocks. */ + for (; left >= 64; p += 64, left -= 64) + _cups_md5_process(pms, p); + + /* Process a final partial block. */ + if (left) + memcpy(pms->buf, p, (size_t)left); +} + +void +_cupsMD5Finish(_cups_md5_state_t *pms, unsigned char digest[16]) +{ + static const unsigned char pad[64] = { + 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + }; + unsigned char data[8]; + int i; + + /* Save the length before padding. */ + for (i = 0; i < 8; ++i) + data[i] = (unsigned char)(pms->count[i >> 2] >> ((i & 3) << 3)); + /* Pad to 56 bytes mod 64. */ + _cupsMD5Append(pms, pad, (int)((55 - (pms->count[0] >> 3)) & 63) + 1); + /* Append the length. */ + _cupsMD5Append(pms, data, 8); + for (i = 0; i < 16; ++i) + digest[i] = (unsigned char)(pms->abcd[i >> 2] >> ((i & 3) << 3)); +} +#endif /* !__APPLE__ */ diff --git a/cups/md5passwd.c b/cups/md5passwd.c new file mode 100644 index 0000000..9af5de2 --- /dev/null +++ b/cups/md5passwd.c @@ -0,0 +1,102 @@ +/* + * MD5 password support for CUPS (deprecated). + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include "http-private.h" +#include "string-private.h" + + +/* + * 'httpMD5()' - Compute the MD5 sum of the username:group:password. + * + * @deprecated@ + */ + +char * /* O - MD5 sum */ +httpMD5(const char *username, /* I - User name */ + const char *realm, /* I - Realm name */ + const char *passwd, /* I - Password string */ + char md5[33]) /* O - MD5 string */ +{ + unsigned char sum[16]; /* Sum data */ + char line[256]; /* Line to sum */ + + + /* + * Compute the MD5 sum of the user name, group name, and password. + */ + + snprintf(line, sizeof(line), "%s:%s:%s", username, realm, passwd); + cupsHashData("md5", (unsigned char *)line, strlen(line), sum, sizeof(sum)); + + /* + * Return the sum... + */ + + return ((char *)cupsHashString(sum, sizeof(sum), md5, 33)); +} + + +/* + * 'httpMD5Final()' - Combine the MD5 sum of the username, group, and password + * with the server-supplied nonce value, method, and + * request-uri. + * + * @deprecated@ + */ + +char * /* O - New sum */ +httpMD5Final(const char *nonce, /* I - Server nonce value */ + const char *method, /* I - METHOD (GET, POST, etc.) */ + const char *resource, /* I - Resource path */ + char md5[33]) /* IO - MD5 sum */ +{ + unsigned char sum[16]; /* Sum data */ + char line[1024]; /* Line of data */ + char a2[33]; /* Hash of method and resource */ + + + /* + * First compute the MD5 sum of the method and resource... + */ + + snprintf(line, sizeof(line), "%s:%s", method, resource); + cupsHashData("md5", (unsigned char *)line, strlen(line), sum, sizeof(sum)); + cupsHashString(sum, sizeof(sum), a2, sizeof(a2)); + + /* + * Then combine A1 (MD5 of username, realm, and password) with the nonce + * and A2 (method + resource) values to get the final MD5 sum for the + * request... + */ + + snprintf(line, sizeof(line), "%s:%s:%s", md5, nonce, a2); + cupsHashData("md5", (unsigned char *)line, strlen(line), sum, sizeof(sum)); + + return ((char *)cupsHashString(sum, sizeof(sum), md5, 33)); +} + + +/* + * 'httpMD5String()' - Convert an MD5 sum to a character string. + * + * @deprecated@ + */ + +char * /* O - MD5 sum in hex */ +httpMD5String(const unsigned char *sum, /* I - MD5 sum data */ + char md5[33]) + /* O - MD5 sum in hex */ +{ + return ((char *)cupsHashString(sum, 16, md5, 33)); +} diff --git a/cups/notify.c b/cups/notify.c new file mode 100644 index 0000000..590962c --- /dev/null +++ b/cups/notify.c @@ -0,0 +1,184 @@ +/* + * Notification routines for CUPS. + * + * Copyright 2007-2013 by Apple Inc. + * Copyright 2005-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" + + +/* + * 'cupsNotifySubject()' - Return the subject for the given notification message. + * + * The returned string must be freed by the caller using @code free@. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +char * /* O - Subject string or @code NULL@ */ +cupsNotifySubject(cups_lang_t *lang, /* I - Language data */ + ipp_t *event) /* I - Event data */ +{ + char buffer[1024]; /* Subject buffer */ + const char *prefix, /* Prefix on subject */ + *state; /* Printer/job state string */ + ipp_attribute_t *job_id, /* notify-job-id */ + *job_name, /* job-name */ + *job_state, /* job-state */ + *printer_name, /* printer-name */ + *printer_state, /* printer-state */ + *printer_uri, /* notify-printer-uri */ + *subscribed; /* notify-subscribed-event */ + + + /* + * Range check input... + */ + + if (!event || !lang) + return (NULL); + + /* + * Get the required attributes... + */ + + job_id = ippFindAttribute(event, "notify-job-id", IPP_TAG_INTEGER); + job_name = ippFindAttribute(event, "job-name", IPP_TAG_NAME); + job_state = ippFindAttribute(event, "job-state", IPP_TAG_ENUM); + printer_name = ippFindAttribute(event, "printer-name", IPP_TAG_NAME); + printer_state = ippFindAttribute(event, "printer-state", IPP_TAG_ENUM); + printer_uri = ippFindAttribute(event, "notify-printer-uri", IPP_TAG_URI); + subscribed = ippFindAttribute(event, "notify-subscribed-event", + IPP_TAG_KEYWORD); + + + if (job_id && printer_name && printer_uri && job_state) + { + /* + * Job event... + */ + + prefix = _cupsLangString(lang, _("Print Job:")); + + switch (job_state->values[0].integer) + { + case IPP_JSTATE_PENDING : + state = _cupsLangString(lang, _("pending")); + break; + case IPP_JSTATE_HELD : + state = _cupsLangString(lang, _("held")); + break; + case IPP_JSTATE_PROCESSING : + state = _cupsLangString(lang, _("processing")); + break; + case IPP_JSTATE_STOPPED : + state = _cupsLangString(lang, _("stopped")); + break; + case IPP_JSTATE_CANCELED : + state = _cupsLangString(lang, _("canceled")); + break; + case IPP_JSTATE_ABORTED : + state = _cupsLangString(lang, _("aborted")); + break; + case IPP_JSTATE_COMPLETED : + state = _cupsLangString(lang, _("completed")); + break; + default : + state = _cupsLangString(lang, _("unknown")); + break; + } + + snprintf(buffer, sizeof(buffer), "%s %s-%d (%s) %s", + prefix, + printer_name->values[0].string.text, + job_id->values[0].integer, + job_name ? job_name->values[0].string.text : + _cupsLangString(lang, _("untitled")), + state); + } + else if (printer_uri && printer_name && printer_state) + { + /* + * Printer event... + */ + + prefix = _cupsLangString(lang, _("Printer:")); + + switch (printer_state->values[0].integer) + { + case IPP_PSTATE_IDLE : + state = _cupsLangString(lang, _("idle")); + break; + case IPP_PSTATE_PROCESSING : + state = _cupsLangString(lang, _("processing")); + break; + case IPP_PSTATE_STOPPED : + state = _cupsLangString(lang, _("stopped")); + break; + default : + state = _cupsLangString(lang, _("unknown")); + break; + } + + snprintf(buffer, sizeof(buffer), "%s %s %s", + prefix, + printer_name->values[0].string.text, + state); + } + else if (subscribed) + strlcpy(buffer, subscribed->values[0].string.text, sizeof(buffer)); + else + return (NULL); + + /* + * Duplicate and return the subject string... + */ + + return (strdup(buffer)); +} + + +/* + * 'cupsNotifyText()' - Return the text for the given notification message. + * + * The returned string must be freed by the caller using @code free@. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +char * /* O - Message text or @code NULL@ */ +cupsNotifyText(cups_lang_t *lang, /* I - Language data */ + ipp_t *event) /* I - Event data */ +{ + ipp_attribute_t *notify_text; /* notify-text */ + + + /* + * Range check input... + */ + + if (!event || !lang) + return (NULL); + + /* + * Get the notify-text attribute from the server... + */ + + if ((notify_text = ippFindAttribute(event, "notify-text", + IPP_TAG_TEXT)) == NULL) + return (NULL); + + /* + * Return a copy... + */ + + return (strdup(notify_text->values[0].string.text)); +} diff --git a/cups/options.c b/cups/options.c new file mode 100644 index 0000000..11814c9 --- /dev/null +++ b/cups/options.c @@ -0,0 +1,741 @@ +/* + * Option routines for CUPS. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" + + +/* + * Local functions... + */ + +static int cups_compare_options(cups_option_t *a, cups_option_t *b); +static int cups_find_option(const char *name, int num_options, + cups_option_t *option, int prev, int *rdiff); + + +/* + * 'cupsAddIntegerOption()' - Add an integer option to an option array. + * + * New option arrays can be initialized simply by passing 0 for the + * "num_options" parameter. + * + * @since CUPS 2.2.4/macOS 10.13@ + */ + +int /* O - Number of options */ +cupsAddIntegerOption( + const char *name, /* I - Name of option */ + int value, /* I - Value of option */ + int num_options, /* I - Number of options */ + cups_option_t **options) /* IO - Pointer to options */ +{ + char strvalue[32]; /* String value */ + + + snprintf(strvalue, sizeof(strvalue), "%d", value); + + return (cupsAddOption(name, strvalue, num_options, options)); +} + + +/* + * 'cupsAddOption()' - Add an option to an option array. + * + * New option arrays can be initialized simply by passing 0 for the + * "num_options" parameter. + */ + +int /* O - Number of options */ +cupsAddOption(const char *name, /* I - Name of option */ + const char *value, /* I - Value of option */ + int num_options,/* I - Number of options */ + cups_option_t **options) /* IO - Pointer to options */ +{ + cups_option_t *temp; /* Pointer to new option */ + int insert, /* Insertion point */ + diff; /* Result of search */ + + + DEBUG_printf(("2cupsAddOption(name=\"%s\", value=\"%s\", num_options=%d, options=%p)", name, value, num_options, (void *)options)); + + if (!name || !name[0] || !value || !options || num_options < 0) + { + DEBUG_printf(("3cupsAddOption: Returning %d", num_options)); + return (num_options); + } + + if (!_cups_strcasecmp(name, "cupsPrintQuality")) + num_options = cupsRemoveOption("print-quality", num_options, options); + else if (!_cups_strcasecmp(name, "print-quality")) + num_options = cupsRemoveOption("cupsPrintQuality", num_options, options); + + /* + * Look for an existing option with the same name... + */ + + if (num_options == 0) + { + insert = 0; + diff = 1; + } + else + { + insert = cups_find_option(name, num_options, *options, num_options - 1, + &diff); + + if (diff > 0) + insert ++; + } + + if (diff) + { + /* + * No matching option name... + */ + + DEBUG_printf(("4cupsAddOption: New option inserted at index %d...", + insert)); + + if (num_options == 0) + temp = (cups_option_t *)malloc(sizeof(cups_option_t)); + else + temp = (cups_option_t *)realloc(*options, sizeof(cups_option_t) * (size_t)(num_options + 1)); + + if (!temp) + { + DEBUG_puts("3cupsAddOption: Unable to expand option array, returning 0"); + return (0); + } + + *options = temp; + + if (insert < num_options) + { + DEBUG_printf(("4cupsAddOption: Shifting %d options...", + (int)(num_options - insert))); + memmove(temp + insert + 1, temp + insert, (size_t)(num_options - insert) * sizeof(cups_option_t)); + } + + temp += insert; + temp->name = _cupsStrAlloc(name); + num_options ++; + } + else + { + /* + * Match found; free the old value... + */ + + DEBUG_printf(("4cupsAddOption: Option already exists at index %d...", + insert)); + + temp = *options + insert; + _cupsStrFree(temp->value); + } + + temp->value = _cupsStrAlloc(value); + + DEBUG_printf(("3cupsAddOption: Returning %d", num_options)); + + return (num_options); +} + + +/* + * 'cupsFreeOptions()' - Free all memory used by options. + */ + +void +cupsFreeOptions( + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Pointer to options */ +{ + int i; /* Looping var */ + + + DEBUG_printf(("cupsFreeOptions(num_options=%d, options=%p)", num_options, (void *)options)); + + if (num_options <= 0 || !options) + return; + + for (i = 0; i < num_options; i ++) + { + _cupsStrFree(options[i].name); + _cupsStrFree(options[i].value); + } + + free(options); +} + + +/* + * 'cupsGetIntegerOption()' - Get an integer option value. + * + * INT_MIN is returned when the option does not exist, is not an integer, or + * exceeds the range of values for the "int" type. + * + * @since CUPS 2.2.4/macOS 10.13@ + */ + +int /* O - Option value or @code INT_MIN@ */ +cupsGetIntegerOption( + const char *name, /* I - Name of option */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + const char *value = cupsGetOption(name, num_options, options); + /* String value of option */ + char *ptr; /* Pointer into string value */ + long intvalue; /* Integer value */ + + + if (!value || !*value) + return (INT_MIN); + + intvalue = strtol(value, &ptr, 10); + if (intvalue < INT_MIN || intvalue > INT_MAX || *ptr) + return (INT_MIN); + + return ((int)intvalue); +} + + +/* + * 'cupsGetOption()' - Get an option value. + */ + +const char * /* O - Option value or @code NULL@ */ +cupsGetOption(const char *name, /* I - Name of option */ + int num_options,/* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + int diff, /* Result of comparison */ + match; /* Matching index */ + + + DEBUG_printf(("2cupsGetOption(name=\"%s\", num_options=%d, options=%p)", name, num_options, (void *)options)); + + if (!name || num_options <= 0 || !options) + { + DEBUG_puts("3cupsGetOption: Returning NULL"); + return (NULL); + } + + match = cups_find_option(name, num_options, options, -1, &diff); + + if (!diff) + { + DEBUG_printf(("3cupsGetOption: Returning \"%s\"", options[match].value)); + return (options[match].value); + } + + DEBUG_puts("3cupsGetOption: Returning NULL"); + return (NULL); +} + + +/* + * 'cupsParseOptions()' - Parse options from a command-line argument. + * + * 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 @code cupsParseOptions@ on the value to extract the + * collection attributes. + */ + +int /* O - Number of options found */ +cupsParseOptions( + const char *arg, /* I - Argument to parse */ + int num_options, /* I - Number of options */ + cups_option_t **options) /* O - Options found */ +{ + char *copyarg, /* Copy of input string */ + *ptr, /* Pointer into string */ + *name, /* Pointer to name */ + *value, /* Pointer to value */ + sep, /* Separator character */ + quote; /* Quote character */ + + + DEBUG_printf(("cupsParseOptions(arg=\"%s\", num_options=%d, options=%p)", arg, num_options, (void *)options)); + + /* + * Range check input... + */ + + if (!arg) + { + DEBUG_printf(("1cupsParseOptions: Returning %d", num_options)); + return (num_options); + } + + if (!options || num_options < 0) + { + DEBUG_puts("1cupsParseOptions: Returning 0"); + return (0); + } + + /* + * Make a copy of the argument string and then divide it up... + */ + + if ((copyarg = strdup(arg)) == NULL) + { + DEBUG_puts("1cupsParseOptions: Unable to copy arg string"); + DEBUG_printf(("1cupsParseOptions: Returning %d", num_options)); + return (num_options); + } + + if (*copyarg == '{') + { + /* + * Remove surrounding {} so we can parse "{name=value ... name=value}"... + */ + + if ((ptr = copyarg + strlen(copyarg) - 1) > copyarg && *ptr == '}') + { + *ptr = '\0'; + ptr = copyarg + 1; + } + else + ptr = copyarg; + } + else + ptr = copyarg; + + /* + * Skip leading spaces... + */ + + while (_cups_isspace(*ptr)) + ptr ++; + + /* + * Loop through the string... + */ + + while (*ptr != '\0') + { + /* + * Get the name up to a SPACE, =, or end-of-string... + */ + + name = ptr; + while (!strchr("\f\n\r\t\v =", *ptr) && *ptr) + ptr ++; + + /* + * Avoid an empty name... + */ + + if (ptr == name) + break; + + /* + * Skip trailing spaces... + */ + + while (_cups_isspace(*ptr)) + *ptr++ = '\0'; + + if ((sep = *ptr) == '=') + *ptr++ = '\0'; + + DEBUG_printf(("2cupsParseOptions: name=\"%s\"", name)); + + if (sep != '=') + { + /* + * Boolean option... + */ + + if (!_cups_strncasecmp(name, "no", 2)) + num_options = cupsAddOption(name + 2, "false", num_options, + options); + else + num_options = cupsAddOption(name, "true", num_options, options); + + continue; + } + + /* + * Remove = and parse the value... + */ + + value = ptr; + + while (*ptr && !_cups_isspace(*ptr)) + { + if (*ptr == ',') + ptr ++; + else if (*ptr == '\'' || *ptr == '\"') + { + /* + * Quoted string constant... + */ + + quote = *ptr; + _cups_strcpy(ptr, ptr + 1); + + while (*ptr != quote && *ptr) + { + if (*ptr == '\\' && ptr[1]) + _cups_strcpy(ptr, ptr + 1); + + ptr ++; + } + + if (*ptr) + _cups_strcpy(ptr, ptr + 1); + } + else if (*ptr == '{') + { + /* + * Collection value... + */ + + int depth; + + for (depth = 0; *ptr; ptr ++) + { + if (*ptr == '{') + depth ++; + else if (*ptr == '}') + { + depth --; + if (!depth) + { + ptr ++; + break; + } + } + else if (*ptr == '\\' && ptr[1]) + _cups_strcpy(ptr, ptr + 1); + } + } + else + { + /* + * Normal space-delimited string... + */ + + while (*ptr && !_cups_isspace(*ptr)) + { + if (*ptr == '\\' && ptr[1]) + _cups_strcpy(ptr, ptr + 1); + + ptr ++; + } + } + } + + if (*ptr != '\0') + *ptr++ = '\0'; + + DEBUG_printf(("2cupsParseOptions: value=\"%s\"", value)); + + /* + * Skip trailing whitespace... + */ + + while (_cups_isspace(*ptr)) + ptr ++; + + /* + * Add the string value... + */ + + num_options = cupsAddOption(name, value, num_options, options); + } + + /* + * Free the copy of the argument we made and return the number of options + * found. + */ + + free(copyarg); + + DEBUG_printf(("1cupsParseOptions: Returning %d", num_options)); + + return (num_options); +} + + +/* + * 'cupsRemoveOption()' - Remove an option from an option array. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - New number of options */ +cupsRemoveOption( + const char *name, /* I - Option name */ + int num_options, /* I - Current number of options */ + cups_option_t **options) /* IO - Options */ +{ + int i; /* Looping var */ + cups_option_t *option; /* Current option */ + + + DEBUG_printf(("2cupsRemoveOption(name=\"%s\", num_options=%d, options=%p)", name, num_options, (void *)options)); + + /* + * Range check input... + */ + + if (!name || num_options < 1 || !options) + { + DEBUG_printf(("3cupsRemoveOption: Returning %d", num_options)); + return (num_options); + } + + /* + * Loop for the option... + */ + + for (i = num_options, option = *options; i > 0; i --, option ++) + if (!_cups_strcasecmp(name, option->name)) + break; + + if (i) + { + /* + * Remove this option from the array... + */ + + DEBUG_puts("4cupsRemoveOption: Found option, removing it..."); + + num_options --; + i --; + + _cupsStrFree(option->name); + _cupsStrFree(option->value); + + if (i > 0) + memmove(option, option + 1, (size_t)i * sizeof(cups_option_t)); + } + + /* + * Return the new number of options... + */ + + DEBUG_printf(("3cupsRemoveOption: Returning %d", num_options)); + return (num_options); +} + + +/* + * '_cupsGet1284Values()' - Get 1284 device ID keys and values. + * + * The returned dictionary is a CUPS option array that can be queried with + * cupsGetOption and freed with cupsFreeOptions. + */ + +int /* O - Number of key/value pairs */ +_cupsGet1284Values( + const char *device_id, /* I - IEEE-1284 device ID string */ + cups_option_t **values) /* O - Array of key/value pairs */ +{ + int num_values; /* Number of values */ + char key[256], /* Key string */ + value[256], /* Value string */ + *ptr; /* Pointer into key/value */ + + + /* + * Range check input... + */ + + if (values) + *values = NULL; + + if (!device_id || !values) + return (0); + + /* + * Parse the 1284 device ID value into keys and values. The format is + * repeating sequences of: + * + * [whitespace]key:value[whitespace]; + */ + + num_values = 0; + while (*device_id) + { + while (_cups_isspace(*device_id)) + device_id ++; + + if (!*device_id) + break; + + for (ptr = key; *device_id && *device_id != ':'; device_id ++) + if (ptr < (key + sizeof(key) - 1)) + *ptr++ = *device_id; + + if (!*device_id) + break; + + while (ptr > key && _cups_isspace(ptr[-1])) + ptr --; + + *ptr = '\0'; + device_id ++; + + while (_cups_isspace(*device_id)) + device_id ++; + + if (!*device_id) + break; + + for (ptr = value; *device_id && *device_id != ';'; device_id ++) + if (ptr < (value + sizeof(value) - 1)) + *ptr++ = *device_id; + + if (!*device_id) + break; + + while (ptr > value && _cups_isspace(ptr[-1])) + ptr --; + + *ptr = '\0'; + device_id ++; + + num_values = cupsAddOption(key, value, num_values, values); + } + + return (num_values); +} + + +/* + * 'cups_compare_options()' - Compare two options. + */ + +static int /* O - Result of comparison */ +cups_compare_options(cups_option_t *a, /* I - First option */ + cups_option_t *b) /* I - Second option */ +{ + return (_cups_strcasecmp(a->name, b->name)); +} + + +/* + * 'cups_find_option()' - Find an option using a binary search. + */ + +static int /* O - Index of match */ +cups_find_option( + const char *name, /* I - Option name */ + int num_options, /* I - Number of options */ + cups_option_t *options, /* I - Options */ + int prev, /* I - Previous index */ + int *rdiff) /* O - Difference of match */ +{ + int left, /* Low mark for binary search */ + right, /* High mark for binary search */ + current, /* Current index */ + diff; /* Result of comparison */ + cups_option_t key; /* Search key */ + + + DEBUG_printf(("7cups_find_option(name=\"%s\", num_options=%d, options=%p, prev=%d, rdiff=%p)", name, num_options, (void *)options, prev, (void *)rdiff)); + +#ifdef DEBUG + for (left = 0; left < num_options; left ++) + DEBUG_printf(("9cups_find_option: options[%d].name=\"%s\", .value=\"%s\"", + left, options[left].name, options[left].value)); +#endif /* DEBUG */ + + key.name = (char *)name; + + if (prev >= 0) + { + /* + * Start search on either side of previous... + */ + + if ((diff = cups_compare_options(&key, options + prev)) == 0 || + (diff < 0 && prev == 0) || + (diff > 0 && prev == (num_options - 1))) + { + *rdiff = diff; + return (prev); + } + else if (diff < 0) + { + /* + * Start with previous on right side... + */ + + left = 0; + right = prev; + } + else + { + /* + * Start wih previous on left side... + */ + + left = prev; + right = num_options - 1; + } + } + else + { + /* + * Start search in the middle... + */ + + left = 0; + right = num_options - 1; + } + + do + { + current = (left + right) / 2; + diff = cups_compare_options(&key, options + current); + + if (diff == 0) + break; + else if (diff < 0) + right = current; + else + left = current; + } + while ((right - left) > 1); + + if (diff != 0) + { + /* + * Check the last 1 or 2 elements... + */ + + if ((diff = cups_compare_options(&key, options + left)) <= 0) + current = left; + else + { + diff = cups_compare_options(&key, options + right); + current = right; + } + } + + /* + * Return the closest destination and the difference... + */ + + *rdiff = diff; + + return (current); +} diff --git a/cups/ppd-attr.c b/cups/ppd-attr.c new file mode 100644 index 0000000..982f901 --- /dev/null +++ b/cups/ppd-attr.c @@ -0,0 +1,312 @@ +/* + * PPD model-specific attribute routines for CUPS. + * + * Copyright 2007-2015 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "ppd-private.h" +#include "debug-internal.h" + + +/* + * 'ppdFindAttr()' - Find the first matching attribute. + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +ppd_attr_t * /* O - Attribute or @code NULL@ if not found */ +ppdFindAttr(ppd_file_t *ppd, /* I - PPD file data */ + const char *name, /* I - Attribute name */ + const char *spec) /* I - Specifier string or @code NULL@ */ +{ + ppd_attr_t key, /* Search key */ + *attr; /* Current attribute */ + + + DEBUG_printf(("2ppdFindAttr(ppd=%p, name=\"%s\", spec=\"%s\")", ppd, name, + spec)); + + /* + * Range check input... + */ + + if (!ppd || !name || ppd->num_attrs == 0) + return (NULL); + + /* + * Search for a matching attribute... + */ + + memset(&key, 0, sizeof(key)); + strlcpy(key.name, name, sizeof(key.name)); + + /* + * Return the first matching attribute, if any... + */ + + if ((attr = (ppd_attr_t *)cupsArrayFind(ppd->sorted_attrs, &key)) != NULL) + { + if (spec) + { + /* + * Loop until we find the first matching attribute for "spec"... + */ + + while (attr && _cups_strcasecmp(spec, attr->spec)) + { + if ((attr = (ppd_attr_t *)cupsArrayNext(ppd->sorted_attrs)) != NULL && + _cups_strcasecmp(attr->name, name)) + attr = NULL; + } + } + } + + return (attr); +} + + +/* + * 'ppdFindNextAttr()' - Find the next matching attribute. + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +ppd_attr_t * /* O - Attribute or @code NULL@ if not found */ +ppdFindNextAttr(ppd_file_t *ppd, /* I - PPD file data */ + const char *name, /* I - Attribute name */ + const char *spec) /* I - Specifier string or @code NULL@ */ +{ + ppd_attr_t *attr; /* Current attribute */ + + + /* + * Range check input... + */ + + if (!ppd || !name || ppd->num_attrs == 0) + return (NULL); + + /* + * See if there are more attributes to return... + */ + + while ((attr = (ppd_attr_t *)cupsArrayNext(ppd->sorted_attrs)) != NULL) + { + /* + * Check the next attribute to see if it is a match... + */ + + if (_cups_strcasecmp(attr->name, name)) + { + /* + * Nope, reset the current pointer to the end of the array... + */ + + cupsArrayIndex(ppd->sorted_attrs, cupsArrayCount(ppd->sorted_attrs)); + + return (NULL); + } + + if (!spec || !_cups_strcasecmp(attr->spec, spec)) + break; + } + + /* + * Return the next attribute's value... + */ + + return (attr); +} + + +/* + * '_ppdNormalizeMakeAndModel()' - Normalize a product/make-and-model string. + * + * This function tries to undo the mistakes made by many printer manufacturers + * to produce a clean make-and-model string we can use. + */ + +char * /* O - Normalized make-and-model string or NULL on error */ +_ppdNormalizeMakeAndModel( + const char *make_and_model, /* I - Original make-and-model string */ + char *buffer, /* I - String buffer */ + size_t bufsize) /* I - Size of string buffer */ +{ + char *bufptr; /* Pointer into buffer */ + + + if (!make_and_model || !buffer || bufsize < 1) + { + if (buffer) + *buffer = '\0'; + + return (NULL); + } + + /* + * Skip leading whitespace... + */ + + while (_cups_isspace(*make_and_model)) + make_and_model ++; + + /* + * Remove parenthesis and add manufacturers as needed... + */ + + if (make_and_model[0] == '(') + { + strlcpy(buffer, make_and_model + 1, bufsize); + + if ((bufptr = strrchr(buffer, ')')) != NULL) + *bufptr = '\0'; + } + else if (!_cups_strncasecmp(make_and_model, "XPrint", 6)) + { + /* + * Xerox XPrint... + */ + + snprintf(buffer, bufsize, "Xerox %s", make_and_model); + } + else if (!_cups_strncasecmp(make_and_model, "Eastman", 7)) + { + /* + * Kodak... + */ + + snprintf(buffer, bufsize, "Kodak %s", make_and_model + 7); + } + else if (!_cups_strncasecmp(make_and_model, "laserwriter", 11)) + { + /* + * Apple LaserWriter... + */ + + snprintf(buffer, bufsize, "Apple LaserWriter%s", make_and_model + 11); + } + else if (!_cups_strncasecmp(make_and_model, "colorpoint", 10)) + { + /* + * Seiko... + */ + + snprintf(buffer, bufsize, "Seiko %s", make_and_model); + } + else if (!_cups_strncasecmp(make_and_model, "fiery", 5)) + { + /* + * EFI... + */ + + snprintf(buffer, bufsize, "EFI %s", make_and_model); + } + else if (!_cups_strncasecmp(make_and_model, "ps ", 3) || + !_cups_strncasecmp(make_and_model, "colorpass", 9)) + { + /* + * Canon... + */ + + snprintf(buffer, bufsize, "Canon %s", make_and_model); + } + else if (!_cups_strncasecmp(make_and_model, "designjet", 9) || + !_cups_strncasecmp(make_and_model, "deskjet", 7)) + { + /* + * HP... + */ + + snprintf(buffer, bufsize, "HP %s", make_and_model); + } + else + strlcpy(buffer, make_and_model, bufsize); + + /* + * Clean up the make... + */ + + if (!_cups_strncasecmp(buffer, "agfa", 4)) + { + /* + * Replace with AGFA (all uppercase)... + */ + + buffer[0] = 'A'; + buffer[1] = 'G'; + buffer[2] = 'F'; + buffer[3] = 'A'; + } + else if (!_cups_strncasecmp(buffer, "Hewlett-Packard hp ", 19)) + { + /* + * Just put "HP" on the front... + */ + + buffer[0] = 'H'; + buffer[1] = 'P'; + _cups_strcpy(buffer + 2, buffer + 18); + } + else if (!_cups_strncasecmp(buffer, "Hewlett-Packard ", 16)) + { + /* + * Just put "HP" on the front... + */ + + buffer[0] = 'H'; + buffer[1] = 'P'; + _cups_strcpy(buffer + 2, buffer + 15); + } + else if (!_cups_strncasecmp(buffer, "Lexmark International", 21)) + { + /* + * Strip "International"... + */ + + _cups_strcpy(buffer + 8, buffer + 21); + } + else if (!_cups_strncasecmp(buffer, "herk", 4)) + { + /* + * Replace with LHAG... + */ + + buffer[0] = 'L'; + buffer[1] = 'H'; + buffer[2] = 'A'; + buffer[3] = 'G'; + } + else if (!_cups_strncasecmp(buffer, "linotype", 8)) + { + /* + * Replace with LHAG... + */ + + buffer[0] = 'L'; + buffer[1] = 'H'; + buffer[2] = 'A'; + buffer[3] = 'G'; + _cups_strcpy(buffer + 4, buffer + 8); + } + + /* + * Remove trailing whitespace and return... + */ + + for (bufptr = buffer + strlen(buffer) - 1; + bufptr >= buffer && _cups_isspace(*bufptr); + bufptr --); + + bufptr[1] = '\0'; + + return (buffer[0] ? buffer : NULL); +} diff --git a/cups/ppd-cache.c b/cups/ppd-cache.c new file mode 100644 index 0000000..5965e38 --- /dev/null +++ b/cups/ppd-cache.c @@ -0,0 +1,5181 @@ +/* + * PPD cache implementation for CUPS. + * + * Copyright © 2010-2019 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "ppd-private.h" +#include "debug-internal.h" +#include + + +/* + * Macro to test for two almost-equal PWG measurements. + */ + +#define _PWG_EQUIVALENT(x, y) (abs((x)-(y)) < 2) + + +/* + * Local functions... + */ + +static int cups_get_url(http_t **http, const char *url, char *name, size_t namesize); +static void pwg_add_finishing(cups_array_t *finishings, ipp_finishings_t template, const char *name, const char *value); +static void pwg_add_message(cups_array_t *a, const char *msg, const char *str); +static int pwg_compare_finishings(_pwg_finishings_t *a, _pwg_finishings_t *b); +static int pwg_compare_sizes(cups_size_t *a, cups_size_t *b); +static cups_size_t *pwg_copy_size(cups_size_t *size); +static void pwg_free_finishings(_pwg_finishings_t *f); +static void pwg_ppdize_name(const char *ipp, char *name, size_t namesize); +static void pwg_ppdize_resolution(ipp_attribute_t *attr, int element, int *xres, int *yres, char *name, size_t namesize); +static void pwg_unppdize_name(const char *ppd, char *name, size_t namesize, + const char *dashchars); + + +/* + * '_cupsConvertOptions()' - Convert printer options to standard IPP attributes. + * + * This functions converts PPD and CUPS-specific options to their standard IPP + * attributes and values and adds them to the specified IPP request. + */ + +int /* O - New number of copies */ +_cupsConvertOptions( + ipp_t *request, /* I - IPP request */ + ppd_file_t *ppd, /* I - PPD file */ + _ppd_cache_t *pc, /* I - PPD cache info */ + ipp_attribute_t *media_col_sup, /* I - media-col-supported values */ + ipp_attribute_t *doc_handling_sup, /* I - multiple-document-handling-supported values */ + ipp_attribute_t *print_color_mode_sup, + /* I - Printer supports print-color-mode */ + const char *user, /* I - User info */ + const char *format, /* I - document-format value */ + int copies, /* I - Number of copies */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + int i; /* Looping var */ + const char *keyword, /* PWG keyword */ + *password; /* Password string */ + pwg_size_t *size; /* PWG media size */ + ipp_t *media_col, /* media-col value */ + *media_size; /* media-size value */ + const char *media_source, /* media-source value */ + *media_type, /* media-type value */ + *collate_str, /* multiple-document-handling value */ + *color_attr_name, /* Supported color attribute */ + *mandatory, /* Mandatory attributes */ + *finishing_template; /* Finishing template */ + int num_finishings = 0, /* Number of finishing values */ + finishings[10]; /* Finishing enum values */ + ppd_choice_t *choice; /* Marked choice */ + int finishings_copies = copies; + /* Number of copies for finishings */ + + + /* + * Send standard IPP attributes... + */ + + if (pc->password && (password = cupsGetOption("job-password", num_options, options)) != NULL && ippGetOperation(request) != IPP_OP_VALIDATE_JOB) + { + ipp_attribute_t *attr = NULL; /* job-password attribute */ + + if ((keyword = cupsGetOption("job-password-encryption", num_options, options)) == NULL) + keyword = "none"; + + if (!strcmp(keyword, "none")) + { + /* + * Add plain-text job-password... + */ + + attr = ippAddOctetString(request, IPP_TAG_OPERATION, "job-password", password, (int)strlen(password)); + } + else + { + /* + * Add hashed job-password... + */ + + unsigned char hash[64]; /* Hash of password */ + ssize_t hashlen; /* Length of hash */ + + if ((hashlen = cupsHashData(keyword, password, strlen(password), hash, sizeof(hash))) > 0) + attr = ippAddOctetString(request, IPP_TAG_OPERATION, "job-password", hash, (int)hashlen); + } + + if (attr) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "job-password-encryption", NULL, keyword); + } + + if (pc->account_id) + { + if ((keyword = cupsGetOption("job-account-id", num_options, options)) == NULL) + keyword = cupsGetOption("job-billing", num_options, options); + + if (keyword) + ippAddString(request, IPP_TAG_JOB, IPP_TAG_NAME, "job-account-id", NULL, keyword); + } + + if (pc->accounting_user_id) + { + if ((keyword = cupsGetOption("job-accounting-user-id", num_options, options)) == NULL) + keyword = user; + + if (keyword) + ippAddString(request, IPP_TAG_JOB, IPP_TAG_NAME, "job-accounting-user-id", NULL, keyword); + } + + for (mandatory = (const char *)cupsArrayFirst(pc->mandatory); mandatory; mandatory = (const char *)cupsArrayNext(pc->mandatory)) + { + if (strcmp(mandatory, "copies") && + strcmp(mandatory, "destination-uris") && + strcmp(mandatory, "finishings") && + strcmp(mandatory, "finishings-col") && + strcmp(mandatory, "finishing-template") && + strcmp(mandatory, "job-account-id") && + strcmp(mandatory, "job-accounting-user-id") && + strcmp(mandatory, "job-password") && + strcmp(mandatory, "job-password-encryption") && + strcmp(mandatory, "media") && + strncmp(mandatory, "media-col", 9) && + strcmp(mandatory, "multiple-document-handling") && + strcmp(mandatory, "output-bin") && + strcmp(mandatory, "print-color-mode") && + strcmp(mandatory, "print-quality") && + strcmp(mandatory, "sides") && + (keyword = cupsGetOption(mandatory, num_options, options)) != NULL) + { + _ipp_option_t *opt = _ippFindOption(mandatory); + /* Option type */ + ipp_tag_t value_tag = opt ? opt->value_tag : IPP_TAG_NAME; + /* Value type */ + + switch (value_tag) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + ippAddInteger(request, IPP_TAG_JOB, value_tag, mandatory, atoi(keyword)); + break; + case IPP_TAG_BOOLEAN : + ippAddBoolean(request, IPP_TAG_JOB, mandatory, !_cups_strcasecmp(keyword, "true")); + break; + case IPP_TAG_RANGE : + { + int lower, upper; /* Range */ + + if (sscanf(keyword, "%d-%d", &lower, &upper) != 2) + lower = upper = atoi(keyword); + + ippAddRange(request, IPP_TAG_JOB, mandatory, lower, upper); + } + break; + case IPP_TAG_STRING : + ippAddOctetString(request, IPP_TAG_JOB, mandatory, keyword, (int)strlen(keyword)); + break; + default : + if (!strcmp(mandatory, "print-color-mode") && !strcmp(keyword, "monochrome")) + { + if (ippContainsString(print_color_mode_sup, "auto-monochrome")) + keyword = "auto-monochrome"; + else if (ippContainsString(print_color_mode_sup, "process-monochrome") && !ippContainsString(print_color_mode_sup, "monochrome")) + keyword = "process-monochrome"; + } + + ippAddString(request, IPP_TAG_JOB, value_tag, mandatory, NULL, keyword); + break; + } + } + } + + if ((keyword = cupsGetOption("PageSize", num_options, options)) == NULL) + keyword = cupsGetOption("media", num_options, options); + + media_source = _ppdCacheGetSource(pc, cupsGetOption("InputSlot", num_options, options)); + media_type = _ppdCacheGetType(pc, cupsGetOption("MediaType", num_options, options)); + size = _ppdCacheGetSize(pc, keyword); + + if (size || media_source || media_type) + { + /* + * Add a media-col value... + */ + + media_col = ippNew(); + + if (size) + { + media_size = ippNew(); + ippAddInteger(media_size, IPP_TAG_ZERO, IPP_TAG_INTEGER, + "x-dimension", size->width); + ippAddInteger(media_size, IPP_TAG_ZERO, IPP_TAG_INTEGER, + "y-dimension", size->length); + + ippAddCollection(media_col, IPP_TAG_ZERO, "media-size", media_size); + } + + for (i = 0; i < media_col_sup->num_values; i ++) + { + if (size && !strcmp(media_col_sup->values[i].string.text, "media-left-margin")) + ippAddInteger(media_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, "media-left-margin", size->left); + else if (size && !strcmp(media_col_sup->values[i].string.text, "media-bottom-margin")) + ippAddInteger(media_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, "media-bottom-margin", size->bottom); + else if (size && !strcmp(media_col_sup->values[i].string.text, "media-right-margin")) + ippAddInteger(media_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, "media-right-margin", size->right); + else if (size && !strcmp(media_col_sup->values[i].string.text, "media-top-margin")) + ippAddInteger(media_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, "media-top-margin", size->top); + else if (media_source && !strcmp(media_col_sup->values[i].string.text, "media-source")) + ippAddString(media_col, IPP_TAG_ZERO, IPP_TAG_KEYWORD, "media-source", NULL, media_source); + else if (media_type && !strcmp(media_col_sup->values[i].string.text, "media-type")) + ippAddString(media_col, IPP_TAG_ZERO, IPP_TAG_KEYWORD, "media-type", NULL, media_type); + } + + ippAddCollection(request, IPP_TAG_JOB, "media-col", media_col); + } + + if ((keyword = cupsGetOption("output-bin", num_options, options)) == NULL) + { + if ((choice = ppdFindMarkedChoice(ppd, "OutputBin")) != NULL) + keyword = _ppdCacheGetBin(pc, choice->choice); + } + + if (keyword) + ippAddString(request, IPP_TAG_JOB, IPP_TAG_KEYWORD, "output-bin", NULL, keyword); + + color_attr_name = print_color_mode_sup ? "print-color-mode" : "output-mode"; + + if ((keyword = cupsGetOption("print-color-mode", num_options, options)) == NULL) + { + if ((choice = ppdFindMarkedChoice(ppd, "ColorModel")) != NULL) + { + if (!_cups_strcasecmp(choice->choice, "Gray")) + keyword = "monochrome"; + else + keyword = "color"; + } + } + + if (keyword && !strcmp(keyword, "monochrome")) + { + if (ippContainsString(print_color_mode_sup, "auto-monochrome")) + keyword = "auto-monochrome"; + else if (ippContainsString(print_color_mode_sup, "process-monochrome") && !ippContainsString(print_color_mode_sup, "monochrome")) + keyword = "process-monochrome"; + } + + if (keyword) + ippAddString(request, IPP_TAG_JOB, IPP_TAG_KEYWORD, color_attr_name, NULL, keyword); + + if ((keyword = cupsGetOption("print-quality", num_options, options)) != NULL) + ippAddInteger(request, IPP_TAG_JOB, IPP_TAG_ENUM, "print-quality", atoi(keyword)); + else if ((choice = ppdFindMarkedChoice(ppd, "cupsPrintQuality")) != NULL) + { + if (!_cups_strcasecmp(choice->choice, "draft")) + ippAddInteger(request, IPP_TAG_JOB, IPP_TAG_ENUM, "print-quality", IPP_QUALITY_DRAFT); + else if (!_cups_strcasecmp(choice->choice, "normal")) + ippAddInteger(request, IPP_TAG_JOB, IPP_TAG_ENUM, "print-quality", IPP_QUALITY_NORMAL); + else if (!_cups_strcasecmp(choice->choice, "high")) + ippAddInteger(request, IPP_TAG_JOB, IPP_TAG_ENUM, "print-quality", IPP_QUALITY_HIGH); + } + + if ((keyword = cupsGetOption("sides", num_options, options)) != NULL) + ippAddString(request, IPP_TAG_JOB, IPP_TAG_KEYWORD, "sides", NULL, keyword); + else if (pc->sides_option && (choice = ppdFindMarkedChoice(ppd, pc->sides_option)) != NULL) + { + if (pc->sides_1sided && !_cups_strcasecmp(choice->choice, pc->sides_1sided)) + ippAddString(request, IPP_TAG_JOB, IPP_TAG_KEYWORD, "sides", NULL, "one-sided"); + else if (pc->sides_2sided_long && !_cups_strcasecmp(choice->choice, pc->sides_2sided_long)) + ippAddString(request, IPP_TAG_JOB, IPP_TAG_KEYWORD, "sides", NULL, "two-sided-long-edge"); + else if (pc->sides_2sided_short && !_cups_strcasecmp(choice->choice, pc->sides_2sided_short)) + ippAddString(request, IPP_TAG_JOB, IPP_TAG_KEYWORD, "sides", NULL, "two-sided-short-edge"); + } + + /* + * Copies... + */ + + if ((keyword = cupsGetOption("multiple-document-handling", num_options, options)) != NULL) + { + if (strstr(keyword, "uncollated")) + keyword = "false"; + else + keyword = "true"; + } + else if ((keyword = cupsGetOption("collate", num_options, options)) == NULL) + keyword = "true"; + + if (format) + { + if (!_cups_strcasecmp(format, "image/gif") || + !_cups_strcasecmp(format, "image/jp2") || + !_cups_strcasecmp(format, "image/jpeg") || + !_cups_strcasecmp(format, "image/png") || + !_cups_strcasecmp(format, "image/tiff") || + !_cups_strncasecmp(format, "image/x-", 8)) + { + /* + * Collation makes no sense for single page image formats... + */ + + keyword = "false"; + } + else if (!_cups_strncasecmp(format, "image/", 6) || + !_cups_strcasecmp(format, "application/vnd.cups-raster")) + { + /* + * Multi-page image formats will have copies applied by the upstream + * filters... + */ + + copies = 1; + } + } + + if (doc_handling_sup) + { + if (!_cups_strcasecmp(keyword, "true")) + collate_str = "separate-documents-collated-copies"; + else + collate_str = "separate-documents-uncollated-copies"; + + for (i = 0; i < doc_handling_sup->num_values; i ++) + { + if (!strcmp(doc_handling_sup->values[i].string.text, collate_str)) + { + ippAddString(request, IPP_TAG_JOB, IPP_TAG_KEYWORD, "multiple-document-handling", NULL, collate_str); + break; + } + } + + if (i >= doc_handling_sup->num_values) + copies = 1; + } + + /* + * Map finishing options... + */ + + if ((finishing_template = cupsGetOption("cupsFinishingTemplate", num_options, options)) == NULL) + finishing_template = cupsGetOption("finishing-template", num_options, options); + + if (finishing_template && strcmp(finishing_template, "none")) + { + ipp_t *fin_col = ippNew(); /* finishings-col value */ + + ippAddString(fin_col, IPP_TAG_JOB, IPP_TAG_KEYWORD, "finishing-template", NULL, finishing_template); + ippAddCollection(request, IPP_TAG_JOB, "finishings-col", fin_col); + ippDelete(fin_col); + + if (copies != finishings_copies && (keyword = cupsGetOption("job-impressions", num_options, options)) != NULL) + { + /* + * Send job-pages-per-set attribute to apply finishings correctly... + */ + + ippAddInteger(request, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-pages-per-set", atoi(keyword) / finishings_copies); + } + } + else + { + num_finishings = _ppdCacheGetFinishingValues(ppd, pc, (int)(sizeof(finishings) / sizeof(finishings[0])), finishings); + if (num_finishings > 0) + { + ippAddIntegers(request, IPP_TAG_JOB, IPP_TAG_ENUM, "finishings", num_finishings, finishings); + + if (copies != finishings_copies && (keyword = cupsGetOption("job-impressions", num_options, options)) != NULL) + { + /* + * Send job-pages-per-set attribute to apply finishings correctly... + */ + + ippAddInteger(request, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-pages-per-set", atoi(keyword) / finishings_copies); + } + } + } + + return (copies); +} + + +/* + * '_ppdCacheCreateWithFile()' - Create PPD cache and mapping data from a + * written file. + * + * Use the @link _ppdCacheWriteFile@ function to write PWG mapping data to a + * file. + */ + +_ppd_cache_t * /* O - PPD cache and mapping data */ +_ppdCacheCreateWithFile( + const char *filename, /* I - File to read */ + ipp_t **attrs) /* IO - IPP attributes, if any */ +{ + cups_file_t *fp; /* File */ + _ppd_cache_t *pc; /* PWG mapping data */ + pwg_size_t *size; /* Current size */ + pwg_map_t *map; /* Current map */ + _pwg_finishings_t *finishings; /* Current finishings option */ + int linenum, /* Current line number */ + num_bins, /* Number of bins in file */ + num_sizes, /* Number of sizes in file */ + num_sources, /* Number of sources in file */ + num_types; /* Number of types in file */ + char line[2048], /* Current line */ + *value, /* Pointer to value in line */ + *valueptr, /* Pointer into value */ + pwg_keyword[128], /* PWG keyword */ + ppd_keyword[PPD_MAX_NAME]; + /* PPD keyword */ + _pwg_print_color_mode_t print_color_mode; + /* Print color mode for preset */ + _pwg_print_quality_t print_quality; /* Print quality for preset */ + + + DEBUG_printf(("_ppdCacheCreateWithFile(filename=\"%s\")", filename)); + + /* + * Range check input... + */ + + if (attrs) + *attrs = NULL; + + if (!filename) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (NULL); + } + + /* + * Open the file... + */ + + if ((fp = cupsFileOpen(filename, "r")) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + return (NULL); + } + + /* + * Read the first line and make sure it has "#CUPS-PPD-CACHE-version" in it... + */ + + if (!cupsFileGets(fp, line, sizeof(line))) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + DEBUG_puts("_ppdCacheCreateWithFile: Unable to read first line."); + cupsFileClose(fp); + return (NULL); + } + + if (strncmp(line, "#CUPS-PPD-CACHE-", 16)) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + DEBUG_printf(("_ppdCacheCreateWithFile: Wrong first line \"%s\".", line)); + cupsFileClose(fp); + return (NULL); + } + + if (atoi(line + 16) != _PPD_CACHE_VERSION) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Out of date PPD cache file."), 1); + DEBUG_printf(("_ppdCacheCreateWithFile: Cache file has version %s, " + "expected %d.", line + 16, _PPD_CACHE_VERSION)); + cupsFileClose(fp); + return (NULL); + } + + /* + * Allocate the mapping data structure... + */ + + if ((pc = calloc(1, sizeof(_ppd_cache_t))) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + DEBUG_puts("_ppdCacheCreateWithFile: Unable to allocate _ppd_cache_t."); + goto create_error; + } + + pc->max_copies = 9999; + + /* + * Read the file... + */ + + linenum = 0; + num_bins = 0; + num_sizes = 0; + num_sources = 0; + num_types = 0; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + DEBUG_printf(("_ppdCacheCreateWithFile: line=\"%s\", value=\"%s\", " + "linenum=%d", line, value, linenum)); + + if (!value) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Missing value on line %d.", + linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + else if (!_cups_strcasecmp(line, "Filter")) + { + if (!pc->filters) + pc->filters = cupsArrayNew3(NULL, NULL, NULL, 0, (cups_acopy_func_t)strdup, (cups_afree_func_t)free); + + cupsArrayAdd(pc->filters, value); + } + else if (!_cups_strcasecmp(line, "PreFilter")) + { + if (!pc->prefilters) + pc->prefilters = cupsArrayNew3(NULL, NULL, NULL, 0, (cups_acopy_func_t)strdup, (cups_afree_func_t)free); + + cupsArrayAdd(pc->prefilters, value); + } + else if (!_cups_strcasecmp(line, "Product")) + { + pc->product = strdup(value); + } + else if (!_cups_strcasecmp(line, "SingleFile")) + { + pc->single_file = !_cups_strcasecmp(value, "true"); + } + else if (!_cups_strcasecmp(line, "IPP")) + { + off_t pos = cupsFileTell(fp), /* Position in file */ + length = strtol(value, NULL, 10); + /* Length of IPP attributes */ + + if (attrs && *attrs) + { + DEBUG_puts("_ppdCacheCreateWithFile: IPP listed multiple times."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + else if (length <= 0) + { + DEBUG_puts("_ppdCacheCreateWithFile: Bad IPP length."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if (attrs) + { + /* + * Read IPP attributes into the provided variable... + */ + + *attrs = ippNew(); + + if (ippReadIO(fp, (ipp_iocb_t)cupsFileRead, 1, NULL, + *attrs) != IPP_STATE_DATA) + { + DEBUG_puts("_ppdCacheCreateWithFile: Bad IPP data."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + } + else + { + /* + * Skip the IPP data entirely... + */ + + cupsFileSeek(fp, pos + length); + } + + if (cupsFileTell(fp) != (pos + length)) + { + DEBUG_puts("_ppdCacheCreateWithFile: Bad IPP data."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + } + else if (!_cups_strcasecmp(line, "NumBins")) + { + if (num_bins > 0) + { + DEBUG_puts("_ppdCacheCreateWithFile: NumBins listed multiple times."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if ((num_bins = atoi(value)) <= 0 || num_bins > 65536) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Bad NumBins value %d on line " + "%d.", num_sizes, linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if ((pc->bins = calloc((size_t)num_bins, sizeof(pwg_map_t))) == NULL) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Unable to allocate %d bins.", + num_sizes)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + goto create_error; + } + } + else if (!_cups_strcasecmp(line, "Bin")) + { + if (sscanf(value, "%127s%40s", pwg_keyword, ppd_keyword) != 2) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Bad Bin on line %d.", linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if (pc->num_bins >= num_bins) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Too many Bin's on line %d.", + linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + map = pc->bins + pc->num_bins; + map->pwg = strdup(pwg_keyword); + map->ppd = strdup(ppd_keyword); + + pc->num_bins ++; + } + else if (!_cups_strcasecmp(line, "NumSizes")) + { + if (num_sizes > 0) + { + DEBUG_puts("_ppdCacheCreateWithFile: NumSizes listed multiple times."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if ((num_sizes = atoi(value)) < 0 || num_sizes > 65536) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Bad NumSizes value %d on line " + "%d.", num_sizes, linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if (num_sizes > 0) + { + if ((pc->sizes = calloc((size_t)num_sizes, sizeof(pwg_size_t))) == NULL) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Unable to allocate %d sizes.", + num_sizes)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + goto create_error; + } + } + } + else if (!_cups_strcasecmp(line, "Size")) + { + if (pc->num_sizes >= num_sizes) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Too many Size's on line %d.", + linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + size = pc->sizes + pc->num_sizes; + + if (sscanf(value, "%127s%40s%d%d%d%d%d%d", pwg_keyword, ppd_keyword, + &(size->width), &(size->length), &(size->left), + &(size->bottom), &(size->right), &(size->top)) != 8) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Bad Size on line %d.", + linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + size->map.pwg = strdup(pwg_keyword); + size->map.ppd = strdup(ppd_keyword); + + pc->num_sizes ++; + } + else if (!_cups_strcasecmp(line, "CustomSize")) + { + if (pc->custom_max_width > 0) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Too many CustomSize's on line " + "%d.", linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if (sscanf(value, "%d%d%d%d%d%d%d%d", &(pc->custom_max_width), + &(pc->custom_max_length), &(pc->custom_min_width), + &(pc->custom_min_length), &(pc->custom_size.left), + &(pc->custom_size.bottom), &(pc->custom_size.right), + &(pc->custom_size.top)) != 8) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Bad CustomSize on line %d.", + linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + pwgFormatSizeName(pwg_keyword, sizeof(pwg_keyword), "custom", "max", + pc->custom_max_width, pc->custom_max_length, NULL); + pc->custom_max_keyword = strdup(pwg_keyword); + + pwgFormatSizeName(pwg_keyword, sizeof(pwg_keyword), "custom", "min", + pc->custom_min_width, pc->custom_min_length, NULL); + pc->custom_min_keyword = strdup(pwg_keyword); + } + else if (!_cups_strcasecmp(line, "SourceOption")) + { + pc->source_option = strdup(value); + } + else if (!_cups_strcasecmp(line, "NumSources")) + { + if (num_sources > 0) + { + DEBUG_puts("_ppdCacheCreateWithFile: NumSources listed multiple " + "times."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if ((num_sources = atoi(value)) <= 0 || num_sources > 65536) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Bad NumSources value %d on " + "line %d.", num_sources, linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if ((pc->sources = calloc((size_t)num_sources, sizeof(pwg_map_t))) == NULL) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Unable to allocate %d sources.", + num_sources)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + goto create_error; + } + } + else if (!_cups_strcasecmp(line, "Source")) + { + if (sscanf(value, "%127s%40s", pwg_keyword, ppd_keyword) != 2) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Bad Source on line %d.", + linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if (pc->num_sources >= num_sources) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Too many Source's on line %d.", + linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + map = pc->sources + pc->num_sources; + map->pwg = strdup(pwg_keyword); + map->ppd = strdup(ppd_keyword); + + pc->num_sources ++; + } + else if (!_cups_strcasecmp(line, "NumTypes")) + { + if (num_types > 0) + { + DEBUG_puts("_ppdCacheCreateWithFile: NumTypes listed multiple times."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if ((num_types = atoi(value)) <= 0 || num_types > 65536) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Bad NumTypes value %d on " + "line %d.", num_types, linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if ((pc->types = calloc((size_t)num_types, sizeof(pwg_map_t))) == NULL) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Unable to allocate %d types.", + num_types)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + goto create_error; + } + } + else if (!_cups_strcasecmp(line, "Type")) + { + if (sscanf(value, "%127s%40s", pwg_keyword, ppd_keyword) != 2) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Bad Type on line %d.", + linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if (pc->num_types >= num_types) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Too many Type's on line %d.", + linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + map = pc->types + pc->num_types; + map->pwg = strdup(pwg_keyword); + map->ppd = strdup(ppd_keyword); + + pc->num_types ++; + } + else if (!_cups_strcasecmp(line, "Preset")) + { + /* + * Preset output-mode print-quality name=value ... + */ + + print_color_mode = (_pwg_print_color_mode_t)strtol(value, &valueptr, 10); + print_quality = (_pwg_print_quality_t)strtol(valueptr, &valueptr, 10); + + if (print_color_mode < _PWG_PRINT_COLOR_MODE_MONOCHROME || + print_color_mode >= _PWG_PRINT_COLOR_MODE_MAX || + print_quality < _PWG_PRINT_QUALITY_DRAFT || + print_quality >= _PWG_PRINT_QUALITY_MAX || + valueptr == value || !*valueptr) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Bad Preset on line %d.", + linenum)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + pc->num_presets[print_color_mode][print_quality] = + cupsParseOptions(valueptr, 0, + pc->presets[print_color_mode] + print_quality); + } + else if (!_cups_strcasecmp(line, "SidesOption")) + pc->sides_option = strdup(value); + else if (!_cups_strcasecmp(line, "Sides1Sided")) + pc->sides_1sided = strdup(value); + else if (!_cups_strcasecmp(line, "Sides2SidedLong")) + pc->sides_2sided_long = strdup(value); + else if (!_cups_strcasecmp(line, "Sides2SidedShort")) + pc->sides_2sided_short = strdup(value); + else if (!_cups_strcasecmp(line, "Finishings")) + { + if (!pc->finishings) + pc->finishings = + cupsArrayNew3((cups_array_func_t)pwg_compare_finishings, + NULL, NULL, 0, NULL, + (cups_afree_func_t)pwg_free_finishings); + + if ((finishings = calloc(1, sizeof(_pwg_finishings_t))) == NULL) + goto create_error; + + finishings->value = (ipp_finishings_t)strtol(value, &valueptr, 10); + finishings->num_options = cupsParseOptions(valueptr, 0, + &(finishings->options)); + + cupsArrayAdd(pc->finishings, finishings); + } + else if (!_cups_strcasecmp(line, "FinishingTemplate")) + { + if (!pc->templates) + pc->templates = cupsArrayNew3((cups_array_func_t)strcmp, NULL, NULL, 0, (cups_acopy_func_t)strdup, (cups_afree_func_t)free); + + cupsArrayAdd(pc->templates, value); + } + else if (!_cups_strcasecmp(line, "MaxCopies")) + pc->max_copies = atoi(value); + else if (!_cups_strcasecmp(line, "ChargeInfoURI")) + pc->charge_info_uri = strdup(value); + else if (!_cups_strcasecmp(line, "JobAccountId")) + pc->account_id = !_cups_strcasecmp(value, "true"); + else if (!_cups_strcasecmp(line, "JobAccountingUserId")) + pc->accounting_user_id = !_cups_strcasecmp(value, "true"); + else if (!_cups_strcasecmp(line, "JobPassword")) + pc->password = strdup(value); + else if (!_cups_strcasecmp(line, "Mandatory")) + { + if (pc->mandatory) + _cupsArrayAddStrings(pc->mandatory, value, ' '); + else + pc->mandatory = _cupsArrayNewStrings(value, ' '); + } + else if (!_cups_strcasecmp(line, "SupportFile")) + { + if (!pc->support_files) + pc->support_files = cupsArrayNew3(NULL, NULL, NULL, 0, (cups_acopy_func_t)strdup, (cups_afree_func_t)free); + + cupsArrayAdd(pc->support_files, value); + } + else + { + DEBUG_printf(("_ppdCacheCreateWithFile: Unknown %s on line %d.", line, + linenum)); + } + } + + if (pc->num_sizes < num_sizes) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Not enough sizes (%d < %d).", + pc->num_sizes, num_sizes)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if (pc->num_sources < num_sources) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Not enough sources (%d < %d).", + pc->num_sources, num_sources)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + if (pc->num_types < num_types) + { + DEBUG_printf(("_ppdCacheCreateWithFile: Not enough types (%d < %d).", + pc->num_types, num_types)); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad PPD cache file."), 1); + goto create_error; + } + + cupsFileClose(fp); + + return (pc); + + /* + * If we get here the file was bad - free any data and return... + */ + + create_error: + + cupsFileClose(fp); + _ppdCacheDestroy(pc); + + if (attrs) + { + ippDelete(*attrs); + *attrs = NULL; + } + + return (NULL); +} + + +/* + * '_ppdCacheCreateWithPPD()' - Create PWG mapping data from a PPD file. + */ + +_ppd_cache_t * /* O - PPD cache and mapping data */ +_ppdCacheCreateWithPPD(ppd_file_t *ppd) /* I - PPD file */ +{ + int i, j, k; /* Looping vars */ + _ppd_cache_t *pc; /* PWG mapping data */ + ppd_option_t *input_slot, /* InputSlot option */ + *media_type, /* MediaType option */ + *output_bin, /* OutputBin option */ + *color_model, /* ColorModel option */ + *duplex, /* Duplex option */ + *ppd_option; /* Other PPD option */ + ppd_choice_t *choice; /* Current InputSlot/MediaType */ + pwg_map_t *map; /* Current source/type map */ + ppd_attr_t *ppd_attr; /* Current PPD preset attribute */ + int num_options; /* Number of preset options and props */ + cups_option_t *options; /* Preset options and properties */ + ppd_size_t *ppd_size; /* Current PPD size */ + pwg_size_t *pwg_size; /* Current PWG size */ + char pwg_keyword[3 + PPD_MAX_NAME + 1 + 12 + 1 + 12 + 3], + /* PWG keyword string */ + ppd_name[PPD_MAX_NAME]; + /* Normalized PPD name */ + const char *pwg_name; /* Standard PWG media name */ + pwg_media_t *pwg_media; /* PWG media data */ + _pwg_print_color_mode_t pwg_print_color_mode; + /* print-color-mode index */ + _pwg_print_quality_t pwg_print_quality; + /* print-quality index */ + int similar; /* Are the old and new size similar? */ + pwg_size_t *old_size; /* Current old size */ + int old_imageable, /* Old imageable length in 2540ths */ + old_borderless, /* Old borderless state */ + old_known_pwg; /* Old PWG name is well-known */ + int new_width, /* New width in 2540ths */ + new_length, /* New length in 2540ths */ + new_left, /* New left margin in 2540ths */ + new_bottom, /* New bottom margin in 2540ths */ + new_right, /* New right margin in 2540ths */ + new_top, /* New top margin in 2540ths */ + new_imageable, /* New imageable length in 2540ths */ + new_borderless, /* New borderless state */ + new_known_pwg; /* New PWG name is well-known */ + pwg_size_t *new_size; /* New size to add, if any */ + const char *filter; /* Current filter */ + _pwg_finishings_t *finishings; /* Current finishings value */ + char msg_id[256]; /* Message identifier */ + + + DEBUG_printf(("_ppdCacheCreateWithPPD(ppd=%p)", ppd)); + + /* + * Range check input... + */ + + if (!ppd) + return (NULL); + + /* + * Allocate memory... + */ + + if ((pc = calloc(1, sizeof(_ppd_cache_t))) == NULL) + { + DEBUG_puts("_ppdCacheCreateWithPPD: Unable to allocate _ppd_cache_t."); + goto create_error; + } + + pc->strings = _cupsMessageNew(NULL); + + /* + * Copy and convert size data... + */ + + if (ppd->num_sizes > 0) + { + if ((pc->sizes = calloc((size_t)ppd->num_sizes, sizeof(pwg_size_t))) == NULL) + { + DEBUG_printf(("_ppdCacheCreateWithPPD: Unable to allocate %d " + "pwg_size_t's.", ppd->num_sizes)); + goto create_error; + } + + for (i = ppd->num_sizes, pwg_size = pc->sizes, ppd_size = ppd->sizes; + i > 0; + i --, ppd_size ++) + { + /* + * Don't copy over custom size... + */ + + if (!_cups_strcasecmp(ppd_size->name, "Custom")) + continue; + + /* + * Convert the PPD size name to the corresponding PWG keyword name. + */ + + if ((pwg_media = pwgMediaForSize(PWG_FROM_POINTS(ppd_size->width), PWG_FROM_POINTS(ppd_size->length))) != NULL) + { + /* + * Standard name, do we have conflicts? + */ + + for (j = 0; j < pc->num_sizes; j ++) + if (!strcmp(pc->sizes[j].map.pwg, pwg_media->pwg)) + { + pwg_media = NULL; + break; + } + } + + if (pwg_media) + { + /* + * Standard name and no conflicts, use it! + */ + + pwg_name = pwg_media->pwg; + new_known_pwg = 1; + } + else + { + /* + * Not a standard name; convert it to a PWG vendor name of the form: + * + * pp_lowerppd_WIDTHxHEIGHTuu + */ + + pwg_name = pwg_keyword; + new_known_pwg = 0; + + pwg_unppdize_name(ppd_size->name, ppd_name, sizeof(ppd_name), "_."); + pwgFormatSizeName(pwg_keyword, sizeof(pwg_keyword), NULL, ppd_name, + PWG_FROM_POINTS(ppd_size->width), + PWG_FROM_POINTS(ppd_size->length), NULL); + } + + /* + * If we have a similar paper with non-zero margins then we only want to + * keep it if it has a larger imageable area length. The NULL check is for + * dimensions that are <= 0... + */ + + if ((pwg_media = _pwgMediaNearSize(PWG_FROM_POINTS(ppd_size->width), + PWG_FROM_POINTS(ppd_size->length), + 0)) == NULL) + continue; + + new_width = pwg_media->width; + new_length = pwg_media->length; + new_left = PWG_FROM_POINTS(ppd_size->left); + new_bottom = PWG_FROM_POINTS(ppd_size->bottom); + new_right = PWG_FROM_POINTS(ppd_size->width - ppd_size->right); + new_top = PWG_FROM_POINTS(ppd_size->length - ppd_size->top); + new_imageable = new_length - new_top - new_bottom; + new_borderless = new_bottom == 0 && new_top == 0 && + new_left == 0 && new_right == 0; + + for (k = pc->num_sizes, similar = 0, old_size = pc->sizes, new_size = NULL; + k > 0 && !similar; + k --, old_size ++) + { + old_imageable = old_size->length - old_size->top - old_size->bottom; + old_borderless = old_size->left == 0 && old_size->bottom == 0 && + old_size->right == 0 && old_size->top == 0; + old_known_pwg = strncmp(old_size->map.pwg, "oe_", 3) && + strncmp(old_size->map.pwg, "om_", 3); + + similar = old_borderless == new_borderless && + _PWG_EQUIVALENT(old_size->width, new_width) && + _PWG_EQUIVALENT(old_size->length, new_length); + + if (similar && + (new_known_pwg || (!old_known_pwg && new_imageable > old_imageable))) + { + /* + * The new paper has a larger imageable area so it could replace + * the older paper. Regardless of the imageable area, we always + * prefer the size with a well-known PWG name. + */ + + new_size = old_size; + free(old_size->map.ppd); + free(old_size->map.pwg); + } + } + + if (!similar) + { + /* + * The paper was unique enough to deserve its own entry so add it to the + * end. + */ + + new_size = pwg_size ++; + pc->num_sizes ++; + } + + if (new_size) + { + /* + * Save this size... + */ + + new_size->map.ppd = strdup(ppd_size->name); + new_size->map.pwg = strdup(pwg_name); + new_size->width = new_width; + new_size->length = new_length; + new_size->left = new_left; + new_size->bottom = new_bottom; + new_size->right = new_right; + new_size->top = new_top; + } + } + } + + if (ppd->variable_sizes) + { + /* + * Generate custom size data... + */ + + pwgFormatSizeName(pwg_keyword, sizeof(pwg_keyword), "custom", "max", + PWG_FROM_POINTS(ppd->custom_max[0]), + PWG_FROM_POINTS(ppd->custom_max[1]), NULL); + pc->custom_max_keyword = strdup(pwg_keyword); + pc->custom_max_width = PWG_FROM_POINTS(ppd->custom_max[0]); + pc->custom_max_length = PWG_FROM_POINTS(ppd->custom_max[1]); + + pwgFormatSizeName(pwg_keyword, sizeof(pwg_keyword), "custom", "min", + PWG_FROM_POINTS(ppd->custom_min[0]), + PWG_FROM_POINTS(ppd->custom_min[1]), NULL); + pc->custom_min_keyword = strdup(pwg_keyword); + pc->custom_min_width = PWG_FROM_POINTS(ppd->custom_min[0]); + pc->custom_min_length = PWG_FROM_POINTS(ppd->custom_min[1]); + + pc->custom_size.left = PWG_FROM_POINTS(ppd->custom_margins[0]); + pc->custom_size.bottom = PWG_FROM_POINTS(ppd->custom_margins[1]); + pc->custom_size.right = PWG_FROM_POINTS(ppd->custom_margins[2]); + pc->custom_size.top = PWG_FROM_POINTS(ppd->custom_margins[3]); + } + + /* + * Copy and convert InputSlot data... + */ + + if ((input_slot = ppdFindOption(ppd, "InputSlot")) == NULL) + input_slot = ppdFindOption(ppd, "HPPaperSource"); + + if (input_slot) + { + pc->source_option = strdup(input_slot->keyword); + + if ((pc->sources = calloc((size_t)input_slot->num_choices, sizeof(pwg_map_t))) == NULL) + { + DEBUG_printf(("_ppdCacheCreateWithPPD: Unable to allocate %d " + "pwg_map_t's for InputSlot.", input_slot->num_choices)); + goto create_error; + } + + pc->num_sources = input_slot->num_choices; + + for (i = input_slot->num_choices, choice = input_slot->choices, + map = pc->sources; + i > 0; + i --, choice ++, map ++) + { + if (!_cups_strncasecmp(choice->choice, "Auto", 4) || + !_cups_strcasecmp(choice->choice, "Default")) + pwg_name = "auto"; + else if (!_cups_strcasecmp(choice->choice, "Cassette")) + pwg_name = "main"; + else if (!_cups_strcasecmp(choice->choice, "PhotoTray")) + pwg_name = "photo"; + else if (!_cups_strcasecmp(choice->choice, "CDTray")) + pwg_name = "disc"; + else if (!_cups_strncasecmp(choice->choice, "Multipurpose", 12) || + !_cups_strcasecmp(choice->choice, "MP") || + !_cups_strcasecmp(choice->choice, "MPTray")) + pwg_name = "by-pass-tray"; + else if (!_cups_strcasecmp(choice->choice, "LargeCapacity")) + pwg_name = "large-capacity"; + else if (!_cups_strncasecmp(choice->choice, "Lower", 5)) + pwg_name = "bottom"; + else if (!_cups_strncasecmp(choice->choice, "Middle", 6)) + pwg_name = "middle"; + else if (!_cups_strncasecmp(choice->choice, "Upper", 5)) + pwg_name = "top"; + else if (!_cups_strncasecmp(choice->choice, "Side", 4)) + pwg_name = "side"; + else if (!_cups_strcasecmp(choice->choice, "Roll")) + pwg_name = "main-roll"; + else + { + /* + * Convert PPD name to lowercase... + */ + + pwg_name = pwg_keyword; + pwg_unppdize_name(choice->choice, pwg_keyword, sizeof(pwg_keyword), + "_"); + } + + map->pwg = strdup(pwg_name); + map->ppd = strdup(choice->choice); + + /* + * Add localized text for PWG keyword to message catalog... + */ + + snprintf(msg_id, sizeof(msg_id), "media-source.%s", pwg_name); + pwg_add_message(pc->strings, msg_id, choice->text); + } + } + + /* + * Copy and convert MediaType data... + */ + + if ((media_type = ppdFindOption(ppd, "MediaType")) != NULL) + { + if ((pc->types = calloc((size_t)media_type->num_choices, sizeof(pwg_map_t))) == NULL) + { + DEBUG_printf(("_ppdCacheCreateWithPPD: Unable to allocate %d " + "pwg_map_t's for MediaType.", media_type->num_choices)); + goto create_error; + } + + pc->num_types = media_type->num_choices; + + for (i = media_type->num_choices, choice = media_type->choices, + map = pc->types; + i > 0; + i --, choice ++, map ++) + { + if (!_cups_strncasecmp(choice->choice, "Auto", 4) || + !_cups_strcasecmp(choice->choice, "Any") || + !_cups_strcasecmp(choice->choice, "Default")) + pwg_name = "auto"; + else if (!_cups_strncasecmp(choice->choice, "Card", 4)) + pwg_name = "cardstock"; + else if (!_cups_strncasecmp(choice->choice, "Env", 3)) + pwg_name = "envelope"; + else if (!_cups_strncasecmp(choice->choice, "Gloss", 5)) + pwg_name = "photographic-glossy"; + else if (!_cups_strcasecmp(choice->choice, "HighGloss")) + pwg_name = "photographic-high-gloss"; + else if (!_cups_strcasecmp(choice->choice, "Matte")) + pwg_name = "photographic-matte"; + else if (!_cups_strncasecmp(choice->choice, "Plain", 5)) + pwg_name = "stationery"; + else if (!_cups_strncasecmp(choice->choice, "Coated", 6)) + pwg_name = "stationery-coated"; + else if (!_cups_strcasecmp(choice->choice, "Inkjet")) + pwg_name = "stationery-inkjet"; + else if (!_cups_strcasecmp(choice->choice, "Letterhead")) + pwg_name = "stationery-letterhead"; + else if (!_cups_strncasecmp(choice->choice, "Preprint", 8)) + pwg_name = "stationery-preprinted"; + else if (!_cups_strcasecmp(choice->choice, "Recycled")) + pwg_name = "stationery-recycled"; + else if (!_cups_strncasecmp(choice->choice, "Transparen", 10)) + pwg_name = "transparency"; + else + { + /* + * Convert PPD name to lowercase... + */ + + pwg_name = pwg_keyword; + pwg_unppdize_name(choice->choice, pwg_keyword, sizeof(pwg_keyword), + "_"); + } + + map->pwg = strdup(pwg_name); + map->ppd = strdup(choice->choice); + + /* + * Add localized text for PWG keyword to message catalog... + */ + + snprintf(msg_id, sizeof(msg_id), "media-type.%s", pwg_name); + pwg_add_message(pc->strings, msg_id, choice->text); + } + } + + /* + * Copy and convert OutputBin data... + */ + + if ((output_bin = ppdFindOption(ppd, "OutputBin")) != NULL) + { + if ((pc->bins = calloc((size_t)output_bin->num_choices, sizeof(pwg_map_t))) == NULL) + { + DEBUG_printf(("_ppdCacheCreateWithPPD: Unable to allocate %d " + "pwg_map_t's for OutputBin.", output_bin->num_choices)); + goto create_error; + } + + pc->num_bins = output_bin->num_choices; + + for (i = output_bin->num_choices, choice = output_bin->choices, + map = pc->bins; + i > 0; + i --, choice ++, map ++) + { + pwg_unppdize_name(choice->choice, pwg_keyword, sizeof(pwg_keyword), "_"); + + map->pwg = strdup(pwg_keyword); + map->ppd = strdup(choice->choice); + + /* + * Add localized text for PWG keyword to message catalog... + */ + + snprintf(msg_id, sizeof(msg_id), "output-bin.%s", pwg_keyword); + pwg_add_message(pc->strings, msg_id, choice->text); + } + } + + if ((ppd_attr = ppdFindAttr(ppd, "APPrinterPreset", NULL)) != NULL) + { + /* + * Copy and convert APPrinterPreset (output-mode + print-quality) data... + */ + + const char *quality, /* com.apple.print.preset.quality value */ + *output_mode, /* com.apple.print.preset.output-mode value */ + *color_model_val, /* ColorModel choice */ + *graphicsType, /* com.apple.print.preset.graphicsType value */ + *media_front_coating; /* com.apple.print.preset.media-front-coating value */ + + do + { + /* + * Add localized text for PWG keyword to message catalog... + */ + + snprintf(msg_id, sizeof(msg_id), "preset-name.%s", ppd_attr->spec); + pwg_add_message(pc->strings, msg_id, ppd_attr->text); + + /* + * Get the options for this preset... + */ + + num_options = _ppdParseOptions(ppd_attr->value, 0, &options, + _PPD_PARSE_ALL); + + if ((quality = cupsGetOption("com.apple.print.preset.quality", + num_options, options)) != NULL) + { + /* + * Get the print-quality for this preset... + */ + + if (!strcmp(quality, "low")) + pwg_print_quality = _PWG_PRINT_QUALITY_DRAFT; + else if (!strcmp(quality, "high")) + pwg_print_quality = _PWG_PRINT_QUALITY_HIGH; + else + pwg_print_quality = _PWG_PRINT_QUALITY_NORMAL; + + /* + * Ignore graphicsType "Photo" presets that are not high quality. + */ + + graphicsType = cupsGetOption("com.apple.print.preset.graphicsType", + num_options, options); + + if (pwg_print_quality != _PWG_PRINT_QUALITY_HIGH && graphicsType && + !strcmp(graphicsType, "Photo")) + continue; + + /* + * Ignore presets for normal and draft quality where the coating + * isn't "none" or "autodetect". + */ + + media_front_coating = cupsGetOption( + "com.apple.print.preset.media-front-coating", + num_options, options); + + if (pwg_print_quality != _PWG_PRINT_QUALITY_HIGH && + media_front_coating && + strcmp(media_front_coating, "none") && + strcmp(media_front_coating, "autodetect")) + continue; + + /* + * Get the output mode for this preset... + */ + + output_mode = cupsGetOption("com.apple.print.preset.output-mode", + num_options, options); + color_model_val = cupsGetOption("ColorModel", num_options, options); + + if (output_mode) + { + if (!strcmp(output_mode, "monochrome")) + pwg_print_color_mode = _PWG_PRINT_COLOR_MODE_MONOCHROME; + else + pwg_print_color_mode = _PWG_PRINT_COLOR_MODE_COLOR; + } + else if (color_model_val) + { + if (!_cups_strcasecmp(color_model_val, "Gray")) + pwg_print_color_mode = _PWG_PRINT_COLOR_MODE_MONOCHROME; + else + pwg_print_color_mode = _PWG_PRINT_COLOR_MODE_COLOR; + } + else + pwg_print_color_mode = _PWG_PRINT_COLOR_MODE_COLOR; + + /* + * Save the options for this combination as needed... + */ + + if (!pc->num_presets[pwg_print_color_mode][pwg_print_quality]) + pc->num_presets[pwg_print_color_mode][pwg_print_quality] = + _ppdParseOptions(ppd_attr->value, 0, + pc->presets[pwg_print_color_mode] + + pwg_print_quality, _PPD_PARSE_OPTIONS); + } + + cupsFreeOptions(num_options, options); + } + while ((ppd_attr = ppdFindNextAttr(ppd, "APPrinterPreset", NULL)) != NULL); + } + + if (!pc->num_presets[_PWG_PRINT_COLOR_MODE_MONOCHROME][_PWG_PRINT_QUALITY_DRAFT] && + !pc->num_presets[_PWG_PRINT_COLOR_MODE_MONOCHROME][_PWG_PRINT_QUALITY_NORMAL] && + !pc->num_presets[_PWG_PRINT_COLOR_MODE_MONOCHROME][_PWG_PRINT_QUALITY_HIGH]) + { + /* + * Try adding some common color options to create grayscale presets. These + * are listed in order of popularity... + */ + + const char *color_option = NULL, /* Color control option */ + *gray_choice = NULL; /* Choice to select grayscale */ + + if ((color_model = ppdFindOption(ppd, "ColorModel")) != NULL && + ppdFindChoice(color_model, "Gray")) + { + color_option = "ColorModel"; + gray_choice = "Gray"; + } + else if ((color_model = ppdFindOption(ppd, "HPColorMode")) != NULL && + ppdFindChoice(color_model, "grayscale")) + { + color_option = "HPColorMode"; + gray_choice = "grayscale"; + } + else if ((color_model = ppdFindOption(ppd, "BRMonoColor")) != NULL && + ppdFindChoice(color_model, "Mono")) + { + color_option = "BRMonoColor"; + gray_choice = "Mono"; + } + else if ((color_model = ppdFindOption(ppd, "CNIJSGrayScale")) != NULL && + ppdFindChoice(color_model, "1")) + { + color_option = "CNIJSGrayScale"; + gray_choice = "1"; + } + else if ((color_model = ppdFindOption(ppd, "HPColorAsGray")) != NULL && + ppdFindChoice(color_model, "True")) + { + color_option = "HPColorAsGray"; + gray_choice = "True"; + } + + if (color_option && gray_choice) + { + /* + * Copy and convert ColorModel (output-mode) data... + */ + + cups_option_t *coption, /* Color option */ + *moption; /* Monochrome option */ + + for (pwg_print_quality = _PWG_PRINT_QUALITY_DRAFT; + pwg_print_quality < _PWG_PRINT_QUALITY_MAX; + pwg_print_quality ++) + { + if (pc->num_presets[_PWG_PRINT_COLOR_MODE_COLOR][pwg_print_quality]) + { + /* + * Copy the color options... + */ + + num_options = pc->num_presets[_PWG_PRINT_COLOR_MODE_COLOR] + [pwg_print_quality]; + options = calloc(sizeof(cups_option_t), (size_t)num_options); + + if (options) + { + for (i = num_options, moption = options, + coption = pc->presets[_PWG_PRINT_COLOR_MODE_COLOR] + [pwg_print_quality]; + i > 0; + i --, moption ++, coption ++) + { + moption->name = _cupsStrRetain(coption->name); + moption->value = _cupsStrRetain(coption->value); + } + + pc->num_presets[_PWG_PRINT_COLOR_MODE_MONOCHROME][pwg_print_quality] = + num_options; + pc->presets[_PWG_PRINT_COLOR_MODE_MONOCHROME][pwg_print_quality] = + options; + } + } + else if (pwg_print_quality != _PWG_PRINT_QUALITY_NORMAL) + continue; + + /* + * Add the grayscale option to the preset... + */ + + pc->num_presets[_PWG_PRINT_COLOR_MODE_MONOCHROME][pwg_print_quality] = + cupsAddOption(color_option, gray_choice, + pc->num_presets[_PWG_PRINT_COLOR_MODE_MONOCHROME] + [pwg_print_quality], + pc->presets[_PWG_PRINT_COLOR_MODE_MONOCHROME] + + pwg_print_quality); + } + } + } + + /* + * Copy and convert Duplex (sides) data... + */ + + if ((duplex = ppdFindOption(ppd, "Duplex")) == NULL) + if ((duplex = ppdFindOption(ppd, "JCLDuplex")) == NULL) + if ((duplex = ppdFindOption(ppd, "EFDuplex")) == NULL) + if ((duplex = ppdFindOption(ppd, "EFDuplexing")) == NULL) + duplex = ppdFindOption(ppd, "KD03Duplex"); + + if (duplex) + { + pc->sides_option = strdup(duplex->keyword); + + for (i = duplex->num_choices, choice = duplex->choices; + i > 0; + i --, choice ++) + { + if ((!_cups_strcasecmp(choice->choice, "None") || + !_cups_strcasecmp(choice->choice, "False")) && !pc->sides_1sided) + pc->sides_1sided = strdup(choice->choice); + else if ((!_cups_strcasecmp(choice->choice, "DuplexNoTumble") || + !_cups_strcasecmp(choice->choice, "LongEdge") || + !_cups_strcasecmp(choice->choice, "Top")) && !pc->sides_2sided_long) + pc->sides_2sided_long = strdup(choice->choice); + else if ((!_cups_strcasecmp(choice->choice, "DuplexTumble") || + !_cups_strcasecmp(choice->choice, "ShortEdge") || + !_cups_strcasecmp(choice->choice, "Bottom")) && + !pc->sides_2sided_short) + pc->sides_2sided_short = strdup(choice->choice); + } + } + + /* + * Copy filters and pre-filters... + */ + + pc->filters = cupsArrayNew3(NULL, NULL, NULL, 0, (cups_acopy_func_t)strdup, (cups_afree_func_t)free); + + cupsArrayAdd(pc->filters, + "application/vnd.cups-raw application/octet-stream 0 -"); + + if ((ppd_attr = ppdFindAttr(ppd, "cupsFilter2", NULL)) != NULL) + { + do + { + cupsArrayAdd(pc->filters, ppd_attr->value); + } + while ((ppd_attr = ppdFindNextAttr(ppd, "cupsFilter2", NULL)) != NULL); + } + else if (ppd->num_filters > 0) + { + for (i = 0; i < ppd->num_filters; i ++) + cupsArrayAdd(pc->filters, ppd->filters[i]); + } + else + cupsArrayAdd(pc->filters, "application/vnd.cups-postscript 0 -"); + + /* + * See if we have a command filter... + */ + + for (filter = (const char *)cupsArrayFirst(pc->filters); + filter; + filter = (const char *)cupsArrayNext(pc->filters)) + if (!_cups_strncasecmp(filter, "application/vnd.cups-command", 28) && + _cups_isspace(filter[28])) + break; + + if (!filter && + ((ppd_attr = ppdFindAttr(ppd, "cupsCommands", NULL)) == NULL || + _cups_strcasecmp(ppd_attr->value, "none"))) + { + /* + * No command filter and no cupsCommands keyword telling us not to use one. + * See if this is a PostScript printer, and if so add a PostScript command + * filter... + */ + + for (filter = (const char *)cupsArrayFirst(pc->filters); + filter; + filter = (const char *)cupsArrayNext(pc->filters)) + if (!_cups_strncasecmp(filter, "application/vnd.cups-postscript", 31) && + _cups_isspace(filter[31])) + break; + + if (filter) + cupsArrayAdd(pc->filters, + "application/vnd.cups-command application/postscript 100 " + "commandtops"); + } + + if ((ppd_attr = ppdFindAttr(ppd, "cupsPreFilter", NULL)) != NULL) + { + pc->prefilters = cupsArrayNew3(NULL, NULL, NULL, 0, (cups_acopy_func_t)strdup, (cups_afree_func_t)free); + + do + { + cupsArrayAdd(pc->prefilters, ppd_attr->value); + } + while ((ppd_attr = ppdFindNextAttr(ppd, "cupsPreFilter", NULL)) != NULL); + } + + if ((ppd_attr = ppdFindAttr(ppd, "cupsSingleFile", NULL)) != NULL) + pc->single_file = !_cups_strcasecmp(ppd_attr->value, "true"); + + /* + * Copy the product string, if any... + */ + + if (ppd->product) + pc->product = strdup(ppd->product); + + /* + * Copy finishings mapping data... + */ + + if ((ppd_attr = ppdFindAttr(ppd, "cupsIPPFinishings", NULL)) != NULL) + { + /* + * Have proper vendor mapping of IPP finishings values to PPD options... + */ + + pc->finishings = cupsArrayNew3((cups_array_func_t)pwg_compare_finishings, + NULL, NULL, 0, NULL, + (cups_afree_func_t)pwg_free_finishings); + + do + { + if ((finishings = calloc(1, sizeof(_pwg_finishings_t))) == NULL) + goto create_error; + + finishings->value = (ipp_finishings_t)atoi(ppd_attr->spec); + finishings->num_options = _ppdParseOptions(ppd_attr->value, 0, + &(finishings->options), + _PPD_PARSE_OPTIONS); + + cupsArrayAdd(pc->finishings, finishings); + } + while ((ppd_attr = ppdFindNextAttr(ppd, "cupsIPPFinishings", + NULL)) != NULL); + } + else + { + /* + * No IPP mapping data, try to map common/standard PPD keywords... + */ + + pc->finishings = cupsArrayNew3((cups_array_func_t)pwg_compare_finishings, NULL, NULL, 0, NULL, (cups_afree_func_t)pwg_free_finishings); + + if ((ppd_option = ppdFindOption(ppd, "StapleLocation")) != NULL) + { + /* + * Add staple finishings... + */ + + if (ppdFindChoice(ppd_option, "SinglePortrait")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_STAPLE_TOP_LEFT, "StapleLocation", "SinglePortrait"); + if (ppdFindChoice(ppd_option, "UpperLeft")) /* Ricoh extension */ + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_STAPLE_TOP_LEFT, "StapleLocation", "UpperLeft"); + if (ppdFindChoice(ppd_option, "UpperRight")) /* Ricoh extension */ + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_STAPLE_TOP_RIGHT, "StapleLocation", "UpperRight"); + if (ppdFindChoice(ppd_option, "SingleLandscape")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_STAPLE_BOTTOM_LEFT, "StapleLocation", "SingleLandscape"); + if (ppdFindChoice(ppd_option, "DualLandscape")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_STAPLE_DUAL_LEFT, "StapleLocation", "DualLandscape"); + } + + if ((ppd_option = ppdFindOption(ppd, "RIPunch")) != NULL) + { + /* + * Add (Ricoh) punch finishings... + */ + + if (ppdFindChoice(ppd_option, "Left2")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_DUAL_LEFT, "RIPunch", "Left2"); + if (ppdFindChoice(ppd_option, "Left3")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_TRIPLE_LEFT, "RIPunch", "Left3"); + if (ppdFindChoice(ppd_option, "Left4")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_QUAD_LEFT, "RIPunch", "Left4"); + if (ppdFindChoice(ppd_option, "Right2")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_DUAL_RIGHT, "RIPunch", "Right2"); + if (ppdFindChoice(ppd_option, "Right3")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_TRIPLE_RIGHT, "RIPunch", "Right3"); + if (ppdFindChoice(ppd_option, "Right4")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_QUAD_RIGHT, "RIPunch", "Right4"); + if (ppdFindChoice(ppd_option, "Upper2")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_DUAL_TOP, "RIPunch", "Upper2"); + if (ppdFindChoice(ppd_option, "Upper3")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_TRIPLE_TOP, "RIPunch", "Upper3"); + if (ppdFindChoice(ppd_option, "Upper4")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_PUNCH_QUAD_TOP, "RIPunch", "Upper4"); + } + + if ((ppd_option = ppdFindOption(ppd, "BindEdge")) != NULL) + { + /* + * Add bind finishings... + */ + + if (ppdFindChoice(ppd_option, "Left")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_BIND_LEFT, "BindEdge", "Left"); + if (ppdFindChoice(ppd_option, "Right")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_BIND_RIGHT, "BindEdge", "Right"); + if (ppdFindChoice(ppd_option, "Top")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_BIND_TOP, "BindEdge", "Top"); + if (ppdFindChoice(ppd_option, "Bottom")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_BIND_BOTTOM, "BindEdge", "Bottom"); + } + + if ((ppd_option = ppdFindOption(ppd, "FoldType")) != NULL) + { + /* + * Add (Adobe) fold finishings... + */ + + if (ppdFindChoice(ppd_option, "ZFold")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_Z, "FoldType", "ZFold"); + if (ppdFindChoice(ppd_option, "Saddle")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_HALF, "FoldType", "Saddle"); + if (ppdFindChoice(ppd_option, "DoubleGate")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_DOUBLE_GATE, "FoldType", "DoubleGate"); + if (ppdFindChoice(ppd_option, "LeftGate")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_LEFT_GATE, "FoldType", "LeftGate"); + if (ppdFindChoice(ppd_option, "RightGate")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_RIGHT_GATE, "FoldType", "RightGate"); + if (ppdFindChoice(ppd_option, "Letter")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_LETTER, "FoldType", "Letter"); + if (ppdFindChoice(ppd_option, "XFold")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_POSTER, "FoldType", "XFold"); + } + + if ((ppd_option = ppdFindOption(ppd, "RIFoldType")) != NULL) + { + /* + * Add (Ricoh) fold finishings... + */ + + if (ppdFindChoice(ppd_option, "OutsideTwoFold")) + pwg_add_finishing(pc->finishings, IPP_FINISHINGS_FOLD_LETTER, "RIFoldType", "OutsideTwoFold"); + } + + if (cupsArrayCount(pc->finishings) == 0) + { + cupsArrayDelete(pc->finishings); + pc->finishings = NULL; + } + } + + if ((ppd_option = ppdFindOption(ppd, "cupsFinishingTemplate")) != NULL) + { + pc->templates = cupsArrayNew3((cups_array_func_t)strcmp, NULL, NULL, 0, (cups_acopy_func_t)strdup, (cups_afree_func_t)free); + + for (choice = ppd_option->choices, i = ppd_option->num_choices; i > 0; choice ++, i --) + { + cupsArrayAdd(pc->templates, (void *)choice->choice); + + /* + * Add localized text for PWG keyword to message catalog... + */ + + snprintf(msg_id, sizeof(msg_id), "finishing-template.%s", choice->choice); + pwg_add_message(pc->strings, msg_id, choice->text); + } + } + + /* + * Max copies... + */ + + if ((ppd_attr = ppdFindAttr(ppd, "cupsMaxCopies", NULL)) != NULL) + pc->max_copies = atoi(ppd_attr->value); + else if (ppd->manual_copies) + pc->max_copies = 1; + else + pc->max_copies = 9999; + + /* + * cupsChargeInfoURI, cupsJobAccountId, cupsJobAccountingUserId, + * cupsJobPassword, and cupsMandatory. + */ + + if ((ppd_attr = ppdFindAttr(ppd, "cupsChargeInfoURI", NULL)) != NULL) + pc->charge_info_uri = strdup(ppd_attr->value); + + if ((ppd_attr = ppdFindAttr(ppd, "cupsJobAccountId", NULL)) != NULL) + pc->account_id = !_cups_strcasecmp(ppd_attr->value, "true"); + + if ((ppd_attr = ppdFindAttr(ppd, "cupsJobAccountingUserId", NULL)) != NULL) + pc->accounting_user_id = !_cups_strcasecmp(ppd_attr->value, "true"); + + if ((ppd_attr = ppdFindAttr(ppd, "cupsJobPassword", NULL)) != NULL) + pc->password = strdup(ppd_attr->value); + + if ((ppd_attr = ppdFindAttr(ppd, "cupsMandatory", NULL)) != NULL) + pc->mandatory = _cupsArrayNewStrings(ppd_attr->value, ' '); + + /* + * Support files... + */ + + pc->support_files = cupsArrayNew3(NULL, NULL, NULL, 0, (cups_acopy_func_t)strdup, (cups_afree_func_t)free); + + for (ppd_attr = ppdFindAttr(ppd, "cupsICCProfile", NULL); + ppd_attr; + ppd_attr = ppdFindNextAttr(ppd, "cupsICCProfile", NULL)) + cupsArrayAdd(pc->support_files, ppd_attr->value); + + if ((ppd_attr = ppdFindAttr(ppd, "APPrinterIconPath", NULL)) != NULL) + cupsArrayAdd(pc->support_files, ppd_attr->value); + + /* + * Return the cache data... + */ + + return (pc); + + /* + * If we get here we need to destroy the PWG mapping data and return NULL... + */ + + create_error: + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Out of memory."), 1); + _ppdCacheDestroy(pc); + + return (NULL); +} + + +/* + * '_ppdCacheDestroy()' - Free all memory used for PWG mapping data. + */ + +void +_ppdCacheDestroy(_ppd_cache_t *pc) /* I - PPD cache and mapping data */ +{ + int i; /* Looping var */ + pwg_map_t *map; /* Current map */ + pwg_size_t *size; /* Current size */ + + + /* + * Range check input... + */ + + if (!pc) + return; + + /* + * Free memory as needed... + */ + + if (pc->bins) + { + for (i = pc->num_bins, map = pc->bins; i > 0; i --, map ++) + { + free(map->pwg); + free(map->ppd); + } + + free(pc->bins); + } + + if (pc->sizes) + { + for (i = pc->num_sizes, size = pc->sizes; i > 0; i --, size ++) + { + free(size->map.pwg); + free(size->map.ppd); + } + + free(pc->sizes); + } + + free(pc->source_option); + + if (pc->sources) + { + for (i = pc->num_sources, map = pc->sources; i > 0; i --, map ++) + { + free(map->pwg); + free(map->ppd); + } + + free(pc->sources); + } + + if (pc->types) + { + for (i = pc->num_types, map = pc->types; i > 0; i --, map ++) + { + free(map->pwg); + free(map->ppd); + } + + free(pc->types); + } + + free(pc->custom_max_keyword); + free(pc->custom_min_keyword); + + free(pc->product); + cupsArrayDelete(pc->filters); + cupsArrayDelete(pc->prefilters); + cupsArrayDelete(pc->finishings); + + free(pc->charge_info_uri); + free(pc->password); + + cupsArrayDelete(pc->mandatory); + + cupsArrayDelete(pc->support_files); + + cupsArrayDelete(pc->strings); + + free(pc); +} + + +/* + * '_ppdCacheGetBin()' - Get the PWG output-bin keyword associated with a PPD + * OutputBin. + */ + +const char * /* O - output-bin or NULL */ +_ppdCacheGetBin( + _ppd_cache_t *pc, /* I - PPD cache and mapping data */ + const char *output_bin) /* I - PPD OutputBin string */ +{ + int i; /* Looping var */ + + + /* + * Range check input... + */ + + if (!pc || !output_bin) + return (NULL); + + /* + * Look up the OutputBin string... + */ + + + for (i = 0; i < pc->num_bins; i ++) + if (!_cups_strcasecmp(output_bin, pc->bins[i].ppd)) + return (pc->bins[i].pwg); + + return (NULL); +} + + +/* + * '_ppdCacheGetFinishingOptions()' - Get PPD finishing options for the given + * IPP finishings value(s). + */ + +int /* O - New number of options */ +_ppdCacheGetFinishingOptions( + _ppd_cache_t *pc, /* I - PPD cache and mapping data */ + ipp_t *job, /* I - Job attributes or NULL */ + ipp_finishings_t value, /* I - IPP finishings value of IPP_FINISHINGS_NONE */ + int num_options, /* I - Number of options */ + cups_option_t **options) /* IO - Options */ +{ + int i; /* Looping var */ + _pwg_finishings_t *f, /* PWG finishings options */ + key; /* Search key */ + ipp_attribute_t *attr; /* Finishings attribute */ + cups_option_t *option; /* Current finishings option */ + + + /* + * Range check input... + */ + + if (!pc || cupsArrayCount(pc->finishings) == 0 || !options || + (!job && value == IPP_FINISHINGS_NONE)) + return (num_options); + + /* + * Apply finishing options... + */ + + if (job && (attr = ippFindAttribute(job, "finishings", IPP_TAG_ENUM)) != NULL) + { + int num_values = ippGetCount(attr); /* Number of values */ + + for (i = 0; i < num_values; i ++) + { + key.value = (ipp_finishings_t)ippGetInteger(attr, i); + + if ((f = cupsArrayFind(pc->finishings, &key)) != NULL) + { + int j; /* Another looping var */ + + for (j = f->num_options, option = f->options; j > 0; j --, option ++) + num_options = cupsAddOption(option->name, option->value, + num_options, options); + } + } + } + else if (value != IPP_FINISHINGS_NONE) + { + key.value = value; + + if ((f = cupsArrayFind(pc->finishings, &key)) != NULL) + { + int j; /* Another looping var */ + + for (j = f->num_options, option = f->options; j > 0; j --, option ++) + num_options = cupsAddOption(option->name, option->value, + num_options, options); + } + } + + return (num_options); +} + + +/* + * '_ppdCacheGetFinishingValues()' - Get IPP finishings value(s) from the given + * PPD options. + */ + +int /* O - Number of finishings values */ +_ppdCacheGetFinishingValues( + ppd_file_t *ppd, /* I - Marked PPD file */ + _ppd_cache_t *pc, /* I - PPD cache and mapping data */ + int max_values, /* I - Maximum number of finishings values */ + int *values) /* O - Finishings values */ +{ + int i, /* Looping var */ + num_values = 0; /* Number of values */ + _pwg_finishings_t *f; /* Current finishings option */ + cups_option_t *option; /* Current option */ + ppd_choice_t *choice; /* Marked PPD choice */ + + + /* + * Range check input... + */ + + DEBUG_printf(("_ppdCacheGetFinishingValues(ppd=%p, pc=%p, max_values=%d, values=%p)", ppd, pc, max_values, values)); + + if (!ppd || !pc || max_values < 1 || !values) + { + DEBUG_puts("_ppdCacheGetFinishingValues: Bad arguments, returning 0."); + return (0); + } + else if (!pc->finishings) + { + DEBUG_puts("_ppdCacheGetFinishingValues: No finishings support, returning 0."); + return (0); + } + + /* + * Go through the finishings options and see what is set... + */ + + for (f = (_pwg_finishings_t *)cupsArrayFirst(pc->finishings); + f; + f = (_pwg_finishings_t *)cupsArrayNext(pc->finishings)) + { + DEBUG_printf(("_ppdCacheGetFinishingValues: Checking %d (%s)", (int)f->value, ippEnumString("finishings", (int)f->value))); + + for (i = f->num_options, option = f->options; i > 0; i --, option ++) + { + DEBUG_printf(("_ppdCacheGetFinishingValues: %s=%s?", option->name, option->value)); + + if ((choice = ppdFindMarkedChoice(ppd, option->name)) == NULL || _cups_strcasecmp(option->value, choice->choice)) + { + DEBUG_puts("_ppdCacheGetFinishingValues: NO"); + break; + } + } + + if (i == 0) + { + DEBUG_printf(("_ppdCacheGetFinishingValues: Adding %d (%s)", (int)f->value, ippEnumString("finishings", (int)f->value))); + + values[num_values ++] = (int)f->value; + + if (num_values >= max_values) + break; + } + } + + if (num_values == 0) + { + /* + * Always have at least "finishings" = 'none'... + */ + + DEBUG_puts("_ppdCacheGetFinishingValues: Adding 3 (none)."); + values[0] = IPP_FINISHINGS_NONE; + num_values ++; + } + + DEBUG_printf(("_ppdCacheGetFinishingValues: Returning %d.", num_values)); + + return (num_values); +} + + +/* + * '_ppdCacheGetInputSlot()' - Get the PPD InputSlot associated with the job + * attributes or a keyword string. + */ + +const char * /* O - PPD InputSlot or NULL */ +_ppdCacheGetInputSlot( + _ppd_cache_t *pc, /* I - PPD cache and mapping data */ + ipp_t *job, /* I - Job attributes or NULL */ + const char *keyword) /* I - Keyword string or NULL */ +{ + /* + * Range check input... + */ + + if (!pc || pc->num_sources == 0 || (!job && !keyword)) + return (NULL); + + if (job && !keyword) + { + /* + * Lookup the media-col attribute and any media-source found there... + */ + + ipp_attribute_t *media_col, /* media-col attribute */ + *media_source; /* media-source attribute */ + pwg_size_t size; /* Dimensional size */ + int margins_set; /* Were the margins set? */ + + media_col = ippFindAttribute(job, "media-col", IPP_TAG_BEGIN_COLLECTION); + if (media_col && + (media_source = ippFindAttribute(ippGetCollection(media_col, 0), + "media-source", + IPP_TAG_KEYWORD)) != NULL) + { + /* + * Use the media-source value from media-col... + */ + + keyword = ippGetString(media_source, 0, NULL); + } + else if (pwgInitSize(&size, job, &margins_set)) + { + /* + * For media <= 5x7, look for a photo tray... + */ + + if (size.width <= (5 * 2540) && size.length <= (7 * 2540)) + keyword = "photo"; + } + } + + if (keyword) + { + int i; /* Looping var */ + + for (i = 0; i < pc->num_sources; i ++) + if (!_cups_strcasecmp(keyword, pc->sources[i].pwg)) + return (pc->sources[i].ppd); + } + + return (NULL); +} + + +/* + * '_ppdCacheGetMediaType()' - Get the PPD MediaType associated with the job + * attributes or a keyword string. + */ + +const char * /* O - PPD MediaType or NULL */ +_ppdCacheGetMediaType( + _ppd_cache_t *pc, /* I - PPD cache and mapping data */ + ipp_t *job, /* I - Job attributes or NULL */ + const char *keyword) /* I - Keyword string or NULL */ +{ + /* + * Range check input... + */ + + if (!pc || pc->num_types == 0 || (!job && !keyword)) + return (NULL); + + if (job && !keyword) + { + /* + * Lookup the media-col attribute and any media-source found there... + */ + + ipp_attribute_t *media_col, /* media-col attribute */ + *media_type; /* media-type attribute */ + + media_col = ippFindAttribute(job, "media-col", IPP_TAG_BEGIN_COLLECTION); + if (media_col) + { + if ((media_type = ippFindAttribute(media_col->values[0].collection, + "media-type", + IPP_TAG_KEYWORD)) == NULL) + media_type = ippFindAttribute(media_col->values[0].collection, + "media-type", IPP_TAG_NAME); + + if (media_type) + keyword = media_type->values[0].string.text; + } + } + + if (keyword) + { + int i; /* Looping var */ + + for (i = 0; i < pc->num_types; i ++) + if (!_cups_strcasecmp(keyword, pc->types[i].pwg)) + return (pc->types[i].ppd); + } + + return (NULL); +} + + +/* + * '_ppdCacheGetOutputBin()' - Get the PPD OutputBin associated with the keyword + * string. + */ + +const char * /* O - PPD OutputBin or NULL */ +_ppdCacheGetOutputBin( + _ppd_cache_t *pc, /* I - PPD cache and mapping data */ + const char *output_bin) /* I - Keyword string */ +{ + int i; /* Looping var */ + + + /* + * Range check input... + */ + + if (!pc || !output_bin) + return (NULL); + + /* + * Look up the OutputBin string... + */ + + + for (i = 0; i < pc->num_bins; i ++) + if (!_cups_strcasecmp(output_bin, pc->bins[i].pwg)) + return (pc->bins[i].ppd); + + return (NULL); +} + + +/* + * '_ppdCacheGetPageSize()' - Get the PPD PageSize associated with the job + * attributes or a keyword string. + */ + +const char * /* O - PPD PageSize or NULL */ +_ppdCacheGetPageSize( + _ppd_cache_t *pc, /* I - PPD cache and mapping data */ + ipp_t *job, /* I - Job attributes or NULL */ + const char *keyword, /* I - Keyword string or NULL */ + int *exact) /* O - 1 if exact match, 0 otherwise */ +{ + int i; /* Looping var */ + pwg_size_t *size, /* Current size */ + *closest, /* Closest size */ + jobsize; /* Size data from job */ + int margins_set, /* Were the margins set? */ + dwidth, /* Difference in width */ + dlength, /* Difference in length */ + dleft, /* Difference in left margins */ + dright, /* Difference in right margins */ + dbottom, /* Difference in bottom margins */ + dtop, /* Difference in top margins */ + dmin, /* Minimum difference */ + dclosest; /* Closest difference */ + const char *ppd_name; /* PPD media name */ + + + DEBUG_printf(("_ppdCacheGetPageSize(pc=%p, job=%p, keyword=\"%s\", exact=%p)", + pc, job, keyword, exact)); + + /* + * Range check input... + */ + + if (!pc || (!job && !keyword)) + return (NULL); + + if (exact) + *exact = 0; + + ppd_name = keyword; + + if (job) + { + /* + * Try getting the PPD media name from the job attributes... + */ + + ipp_attribute_t *attr; /* Job attribute */ + + if ((attr = ippFindAttribute(job, "PageSize", IPP_TAG_ZERO)) == NULL) + if ((attr = ippFindAttribute(job, "PageRegion", IPP_TAG_ZERO)) == NULL) + attr = ippFindAttribute(job, "media", IPP_TAG_ZERO); + +#ifdef DEBUG + if (attr) + DEBUG_printf(("1_ppdCacheGetPageSize: Found attribute %s (%s)", + attr->name, ippTagString(attr->value_tag))); + else + DEBUG_puts("1_ppdCacheGetPageSize: Did not find media attribute."); +#endif /* DEBUG */ + + if (attr && (attr->value_tag == IPP_TAG_NAME || + attr->value_tag == IPP_TAG_KEYWORD)) + ppd_name = attr->values[0].string.text; + } + + DEBUG_printf(("1_ppdCacheGetPageSize: ppd_name=\"%s\"", ppd_name)); + + if (ppd_name) + { + /* + * Try looking up the named PPD size first... + */ + + for (i = pc->num_sizes, size = pc->sizes; i > 0; i --, size ++) + { + DEBUG_printf(("2_ppdCacheGetPageSize: size[%d]=[\"%s\" \"%s\"]", + (int)(size - pc->sizes), size->map.pwg, size->map.ppd)); + + if (!_cups_strcasecmp(ppd_name, size->map.ppd) || + !_cups_strcasecmp(ppd_name, size->map.pwg)) + { + if (exact) + *exact = 1; + + DEBUG_printf(("1_ppdCacheGetPageSize: Returning \"%s\"", ppd_name)); + + return (size->map.ppd); + } + } + } + + if (job && !keyword) + { + /* + * Get the size using media-col or media, with the preference being + * media-col. + */ + + if (!pwgInitSize(&jobsize, job, &margins_set)) + return (NULL); + } + else + { + /* + * Get the size using a media keyword... + */ + + pwg_media_t *media; /* Media definition */ + + + if ((media = pwgMediaForPWG(keyword)) == NULL) + if ((media = pwgMediaForLegacy(keyword)) == NULL) + if ((media = pwgMediaForPPD(keyword)) == NULL) + return (NULL); + + jobsize.width = media->width; + jobsize.length = media->length; + margins_set = 0; + } + + /* + * Now that we have the dimensions and possibly the margins, look at the + * available sizes and find the match... + */ + + closest = NULL; + dclosest = 999999999; + + if (!ppd_name || _cups_strncasecmp(ppd_name, "Custom.", 7) || + _cups_strncasecmp(ppd_name, "custom_", 7)) + { + for (i = pc->num_sizes, size = pc->sizes; i > 0; i --, size ++) + { + /* + * Adobe uses a size matching algorithm with an epsilon of 5 points, which + * is just about 176/2540ths... + */ + + dwidth = size->width - jobsize.width; + dlength = size->length - jobsize.length; + + if (dwidth <= -176 || dwidth >= 176 || dlength <= -176 || dlength >= 176) + continue; + + if (margins_set) + { + /* + * Use a tighter epsilon of 1 point (35/2540ths) for margins... + */ + + dleft = size->left - jobsize.left; + dright = size->right - jobsize.right; + dtop = size->top - jobsize.top; + dbottom = size->bottom - jobsize.bottom; + + if (dleft <= -35 || dleft >= 35 || dright <= -35 || dright >= 35 || + dtop <= -35 || dtop >= 35 || dbottom <= -35 || dbottom >= 35) + { + dleft = dleft < 0 ? -dleft : dleft; + dright = dright < 0 ? -dright : dright; + dbottom = dbottom < 0 ? -dbottom : dbottom; + dtop = dtop < 0 ? -dtop : dtop; + dmin = dleft + dright + dbottom + dtop; + + if (dmin < dclosest) + { + dclosest = dmin; + closest = size; + } + + continue; + } + } + + if (exact) + *exact = 1; + + DEBUG_printf(("1_ppdCacheGetPageSize: Returning \"%s\"", size->map.ppd)); + + return (size->map.ppd); + } + } + + if (closest) + { + DEBUG_printf(("1_ppdCacheGetPageSize: Returning \"%s\" (closest)", + closest->map.ppd)); + + return (closest->map.ppd); + } + + /* + * If we get here we need to check for custom page size support... + */ + + if (jobsize.width >= pc->custom_min_width && + jobsize.width <= pc->custom_max_width && + jobsize.length >= pc->custom_min_length && + jobsize.length <= pc->custom_max_length) + { + /* + * In range, format as Custom.WWWWxLLLL (points). + */ + + snprintf(pc->custom_ppd_size, sizeof(pc->custom_ppd_size), "Custom.%dx%d", + (int)PWG_TO_POINTS(jobsize.width), (int)PWG_TO_POINTS(jobsize.length)); + + if (margins_set && exact) + { + dleft = pc->custom_size.left - jobsize.left; + dright = pc->custom_size.right - jobsize.right; + dtop = pc->custom_size.top - jobsize.top; + dbottom = pc->custom_size.bottom - jobsize.bottom; + + if (dleft > -35 && dleft < 35 && dright > -35 && dright < 35 && + dtop > -35 && dtop < 35 && dbottom > -35 && dbottom < 35) + *exact = 1; + } + else if (exact) + *exact = 1; + + DEBUG_printf(("1_ppdCacheGetPageSize: Returning \"%s\" (custom)", + pc->custom_ppd_size)); + + return (pc->custom_ppd_size); + } + + /* + * No custom page size support or the size is out of range - return NULL. + */ + + DEBUG_puts("1_ppdCacheGetPageSize: Returning NULL"); + + return (NULL); +} + + +/* + * '_ppdCacheGetSize()' - Get the PWG size associated with a PPD PageSize. + */ + +pwg_size_t * /* O - PWG size or NULL */ +_ppdCacheGetSize( + _ppd_cache_t *pc, /* I - PPD cache and mapping data */ + const char *page_size) /* I - PPD PageSize */ +{ + int i; /* Looping var */ + pwg_media_t *media; /* Media */ + pwg_size_t *size; /* Current size */ + + + /* + * Range check input... + */ + + if (!pc || !page_size) + return (NULL); + + if (!_cups_strncasecmp(page_size, "Custom.", 7)) + { + /* + * Custom size; size name can be one of the following: + * + * Custom.WIDTHxLENGTHin - Size in inches + * Custom.WIDTHxLENGTHft - Size in feet + * Custom.WIDTHxLENGTHcm - Size in centimeters + * Custom.WIDTHxLENGTHmm - Size in millimeters + * Custom.WIDTHxLENGTHm - Size in meters + * Custom.WIDTHxLENGTH[pt] - Size in points + */ + + double w, l; /* Width and length of page */ + char *ptr; /* Pointer into PageSize */ + struct lconv *loc; /* Locale data */ + + loc = localeconv(); + w = (float)_cupsStrScand(page_size + 7, &ptr, loc); + if (!ptr || *ptr != 'x') + return (NULL); + + l = (float)_cupsStrScand(ptr + 1, &ptr, loc); + if (!ptr) + return (NULL); + + if (!_cups_strcasecmp(ptr, "in")) + { + w *= 2540.0; + l *= 2540.0; + } + else if (!_cups_strcasecmp(ptr, "ft")) + { + w *= 12.0 * 2540.0; + l *= 12.0 * 2540.0; + } + else if (!_cups_strcasecmp(ptr, "mm")) + { + w *= 100.0; + l *= 100.0; + } + else if (!_cups_strcasecmp(ptr, "cm")) + { + w *= 1000.0; + l *= 1000.0; + } + else if (!_cups_strcasecmp(ptr, "m")) + { + w *= 100000.0; + l *= 100000.0; + } + else + { + w *= 2540.0 / 72.0; + l *= 2540.0 / 72.0; + } + + pc->custom_size.width = (int)w; + pc->custom_size.length = (int)l; + + return (&(pc->custom_size)); + } + + /* + * Not a custom size - look it up... + */ + + for (i = pc->num_sizes, size = pc->sizes; i > 0; i --, size ++) + if (!_cups_strcasecmp(page_size, size->map.ppd) || + !_cups_strcasecmp(page_size, size->map.pwg)) + return (size); + + /* + * Look up standard sizes... + */ + + if ((media = pwgMediaForPPD(page_size)) == NULL) + if ((media = pwgMediaForLegacy(page_size)) == NULL) + media = pwgMediaForPWG(page_size); + + if (media) + { + pc->custom_size.width = media->width; + pc->custom_size.length = media->length; + + return (&(pc->custom_size)); + } + + return (NULL); +} + + +/* + * '_ppdCacheGetSource()' - Get the PWG media-source associated with a PPD + * InputSlot. + */ + +const char * /* O - PWG media-source keyword */ +_ppdCacheGetSource( + _ppd_cache_t *pc, /* I - PPD cache and mapping data */ + const char *input_slot) /* I - PPD InputSlot */ +{ + int i; /* Looping var */ + pwg_map_t *source; /* Current source */ + + + /* + * Range check input... + */ + + if (!pc || !input_slot) + return (NULL); + + for (i = pc->num_sources, source = pc->sources; i > 0; i --, source ++) + if (!_cups_strcasecmp(input_slot, source->ppd)) + return (source->pwg); + + return (NULL); +} + + +/* + * '_ppdCacheGetType()' - Get the PWG media-type associated with a PPD + * MediaType. + */ + +const char * /* O - PWG media-type keyword */ +_ppdCacheGetType( + _ppd_cache_t *pc, /* I - PPD cache and mapping data */ + const char *media_type) /* I - PPD MediaType */ +{ + int i; /* Looping var */ + pwg_map_t *type; /* Current type */ + + + /* + * Range check input... + */ + + if (!pc || !media_type) + return (NULL); + + for (i = pc->num_types, type = pc->types; i > 0; i --, type ++) + if (!_cups_strcasecmp(media_type, type->ppd)) + return (type->pwg); + + return (NULL); +} + + +/* + * '_ppdCacheWriteFile()' - Write PWG mapping data to a file. + */ + +int /* O - 1 on success, 0 on failure */ +_ppdCacheWriteFile( + _ppd_cache_t *pc, /* I - PPD cache and mapping data */ + const char *filename, /* I - File to write */ + ipp_t *attrs) /* I - Attributes to write, if any */ +{ + int i, j, k; /* Looping vars */ + cups_file_t *fp; /* Output file */ + pwg_size_t *size; /* Current size */ + pwg_map_t *map; /* Current map */ + _pwg_finishings_t *f; /* Current finishing option */ + cups_option_t *option; /* Current option */ + const char *value; /* String value */ + char newfile[1024]; /* New filename */ + + + /* + * Range check input... + */ + + if (!pc || !filename) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (0); + } + + /* + * Open the file and write with compression... + */ + + snprintf(newfile, sizeof(newfile), "%s.N", filename); + if ((fp = cupsFileOpen(newfile, "w9")) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + return (0); + } + + /* + * Standard header... + */ + + cupsFilePrintf(fp, "#CUPS-PPD-CACHE-%d\n", _PPD_CACHE_VERSION); + + /* + * Output bins... + */ + + if (pc->num_bins > 0) + { + cupsFilePrintf(fp, "NumBins %d\n", pc->num_bins); + for (i = pc->num_bins, map = pc->bins; i > 0; i --, map ++) + cupsFilePrintf(fp, "Bin %s %s\n", map->pwg, map->ppd); + } + + /* + * Media sizes... + */ + + cupsFilePrintf(fp, "NumSizes %d\n", pc->num_sizes); + for (i = pc->num_sizes, size = pc->sizes; i > 0; i --, size ++) + cupsFilePrintf(fp, "Size %s %s %d %d %d %d %d %d\n", size->map.pwg, + size->map.ppd, size->width, size->length, size->left, + size->bottom, size->right, size->top); + if (pc->custom_max_width > 0) + cupsFilePrintf(fp, "CustomSize %d %d %d %d %d %d %d %d\n", + pc->custom_max_width, pc->custom_max_length, + pc->custom_min_width, pc->custom_min_length, + pc->custom_size.left, pc->custom_size.bottom, + pc->custom_size.right, pc->custom_size.top); + + /* + * Media sources... + */ + + if (pc->source_option) + cupsFilePrintf(fp, "SourceOption %s\n", pc->source_option); + + if (pc->num_sources > 0) + { + cupsFilePrintf(fp, "NumSources %d\n", pc->num_sources); + for (i = pc->num_sources, map = pc->sources; i > 0; i --, map ++) + cupsFilePrintf(fp, "Source %s %s\n", map->pwg, map->ppd); + } + + /* + * Media types... + */ + + if (pc->num_types > 0) + { + cupsFilePrintf(fp, "NumTypes %d\n", pc->num_types); + for (i = pc->num_types, map = pc->types; i > 0; i --, map ++) + cupsFilePrintf(fp, "Type %s %s\n", map->pwg, map->ppd); + } + + /* + * Presets... + */ + + for (i = _PWG_PRINT_COLOR_MODE_MONOCHROME; i < _PWG_PRINT_COLOR_MODE_MAX; i ++) + for (j = _PWG_PRINT_QUALITY_DRAFT; j < _PWG_PRINT_QUALITY_MAX; j ++) + if (pc->num_presets[i][j]) + { + cupsFilePrintf(fp, "Preset %d %d", i, j); + for (k = pc->num_presets[i][j], option = pc->presets[i][j]; + k > 0; + k --, option ++) + cupsFilePrintf(fp, " %s=%s", option->name, option->value); + cupsFilePutChar(fp, '\n'); + } + + /* + * Duplex/sides... + */ + + if (pc->sides_option) + cupsFilePrintf(fp, "SidesOption %s\n", pc->sides_option); + + if (pc->sides_1sided) + cupsFilePrintf(fp, "Sides1Sided %s\n", pc->sides_1sided); + + if (pc->sides_2sided_long) + cupsFilePrintf(fp, "Sides2SidedLong %s\n", pc->sides_2sided_long); + + if (pc->sides_2sided_short) + cupsFilePrintf(fp, "Sides2SidedShort %s\n", pc->sides_2sided_short); + + /* + * Product, cupsFilter, cupsFilter2, and cupsPreFilter... + */ + + if (pc->product) + cupsFilePutConf(fp, "Product", pc->product); + + for (value = (const char *)cupsArrayFirst(pc->filters); + value; + value = (const char *)cupsArrayNext(pc->filters)) + cupsFilePutConf(fp, "Filter", value); + + for (value = (const char *)cupsArrayFirst(pc->prefilters); + value; + value = (const char *)cupsArrayNext(pc->prefilters)) + cupsFilePutConf(fp, "PreFilter", value); + + cupsFilePrintf(fp, "SingleFile %s\n", pc->single_file ? "true" : "false"); + + /* + * Finishing options... + */ + + for (f = (_pwg_finishings_t *)cupsArrayFirst(pc->finishings); + f; + f = (_pwg_finishings_t *)cupsArrayNext(pc->finishings)) + { + cupsFilePrintf(fp, "Finishings %d", f->value); + for (i = f->num_options, option = f->options; i > 0; i --, option ++) + cupsFilePrintf(fp, " %s=%s", option->name, option->value); + cupsFilePutChar(fp, '\n'); + } + + for (value = (const char *)cupsArrayFirst(pc->templates); value; value = (const char *)cupsArrayNext(pc->templates)) + cupsFilePutConf(fp, "FinishingTemplate", value); + + /* + * Max copies... + */ + + cupsFilePrintf(fp, "MaxCopies %d\n", pc->max_copies); + + /* + * Accounting/quota/PIN/managed printing values... + */ + + if (pc->charge_info_uri) + cupsFilePutConf(fp, "ChargeInfoURI", pc->charge_info_uri); + + cupsFilePrintf(fp, "JobAccountId %s\n", pc->account_id ? "true" : "false"); + cupsFilePrintf(fp, "JobAccountingUserId %s\n", + pc->accounting_user_id ? "true" : "false"); + + if (pc->password) + cupsFilePutConf(fp, "JobPassword", pc->password); + + for (value = (char *)cupsArrayFirst(pc->mandatory); + value; + value = (char *)cupsArrayNext(pc->mandatory)) + cupsFilePutConf(fp, "Mandatory", value); + + /* + * Support files... + */ + + for (value = (char *)cupsArrayFirst(pc->support_files); + value; + value = (char *)cupsArrayNext(pc->support_files)) + cupsFilePutConf(fp, "SupportFile", value); + + /* + * IPP attributes, if any... + */ + + if (attrs) + { + cupsFilePrintf(fp, "IPP " CUPS_LLFMT "\n", CUPS_LLCAST ippLength(attrs)); + + attrs->state = IPP_STATE_IDLE; + ippWriteIO(fp, (ipp_iocb_t)cupsFileWrite, 1, NULL, attrs); + } + + /* + * Close and return... + */ + + if (cupsFileClose(fp)) + { + unlink(newfile); + return (0); + } + + unlink(filename); + return (!rename(newfile, filename)); +} + + +/* + * '_ppdCreateFromIPP()' - Create a PPD file describing the capabilities + * of an IPP printer. + */ + +char * /* O - PPD filename or @code NULL@ on error */ +_ppdCreateFromIPP(char *buffer, /* I - Filename buffer */ + size_t bufsize, /* I - Size of filename buffer */ + ipp_t *response) /* I - Get-Printer-Attributes response */ +{ + cups_file_t *fp; /* PPD file */ + cups_array_t *sizes; /* Media sizes supported by printer */ + cups_size_t *size; /* Current media size */ + ipp_attribute_t *attr, /* xxx-supported */ + *defattr, /* xxx-default */ + *quality, /* print-quality-supported */ + *x_dim, *y_dim; /* Media dimensions */ + ipp_t *media_col, /* Media collection */ + *media_size; /* Media size collection */ + char make[256], /* Make and model */ + *model, /* Model name */ + ppdname[PPD_MAX_NAME]; + /* PPD keyword */ + int i, j, /* Looping vars */ + count, /* Number of values */ + bottom, /* Largest bottom margin */ + left, /* Largest left margin */ + right, /* Largest right margin */ + top, /* Largest top margin */ + max_length = 0, /* Maximum custom size */ + max_width = 0, + min_length = INT_MAX, + /* Minimum custom size */ + min_width = INT_MAX, + is_apple = 0, /* Does the printer support Apple raster? */ + is_pdf = 0, /* Does the printer support PDF? */ + is_pwg = 0; /* Does the printer support PWG Raster? */ + pwg_media_t *pwg; /* PWG media size */ + int xres, yres; /* Resolution values */ + int resolutions[1000]; + /* Array of resolution indices */ + char msgid[256]; /* Message identifier (attr.value) */ + const char *keyword, /* Keyword value */ + *msgstr; /* Localized string */ + cups_lang_t *lang = cupsLangDefault(); + /* Localization info */ + cups_array_t *strings = NULL;/* Printer strings file */ + struct lconv *loc = localeconv(); + /* Locale data */ + cups_array_t *fin_options = NULL; + /* Finishing options */ + + + /* + * Range check input... + */ + + if (buffer) + *buffer = '\0'; + + if (!buffer || bufsize < 1) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (NULL); + } + + if (!response) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No IPP attributes."), 1); + return (NULL); + } + + /* + * Open a temporary file for the PPD... + */ + + if ((fp = cupsTempFile2(buffer, (int)bufsize)) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + return (NULL); + } + + /* + * Standard stuff for PPD file... + */ + + cupsFilePuts(fp, "*PPD-Adobe: \"4.3\"\n"); + cupsFilePuts(fp, "*FormatVersion: \"4.3\"\n"); + cupsFilePrintf(fp, "*FileVersion: \"%d.%d\"\n", CUPS_VERSION_MAJOR, CUPS_VERSION_MINOR); + cupsFilePuts(fp, "*LanguageVersion: English\n"); + cupsFilePuts(fp, "*LanguageEncoding: ISOLatin1\n"); + cupsFilePuts(fp, "*PSVersion: \"(3010.000) 0\"\n"); + cupsFilePuts(fp, "*LanguageLevel: \"3\"\n"); + cupsFilePuts(fp, "*FileSystem: False\n"); + cupsFilePuts(fp, "*PCFileName: \"ippeve.ppd\"\n"); + + if ((attr = ippFindAttribute(response, "printer-make-and-model", IPP_TAG_TEXT)) != NULL) + strlcpy(make, ippGetString(attr, 0, NULL), sizeof(make)); + else + strlcpy(make, "Unknown Printer", sizeof(make)); + + if (!_cups_strncasecmp(make, "Hewlett Packard ", 16) || + !_cups_strncasecmp(make, "Hewlett-Packard ", 16)) + { + model = make + 16; + strlcpy(make, "HP", sizeof(make)); + } + else if ((model = strchr(make, ' ')) != NULL) + *model++ = '\0'; + else + model = make; + + cupsFilePrintf(fp, "*Manufacturer: \"%s\"\n", make); + cupsFilePrintf(fp, "*ModelName: \"%s\"\n", model); + cupsFilePrintf(fp, "*Product: \"(%s)\"\n", model); + cupsFilePrintf(fp, "*NickName: \"%s - IPP Everywhere\"\n", model); + cupsFilePrintf(fp, "*ShortNickName: \"%s - IPP Everywhere\"\n", model); + + if ((attr = ippFindAttribute(response, "color-supported", IPP_TAG_BOOLEAN)) != NULL && ippGetBoolean(attr, 0)) + cupsFilePuts(fp, "*ColorDevice: True\n"); + else + cupsFilePuts(fp, "*ColorDevice: False\n"); + + cupsFilePrintf(fp, "*cupsVersion: %d.%d\n", CUPS_VERSION_MAJOR, CUPS_VERSION_MINOR); + cupsFilePuts(fp, "*cupsSNMPSupplies: False\n"); + cupsFilePrintf(fp, "*cupsLanguages: \"%s\"\n", lang->language); + + if ((attr = ippFindAttribute(response, "printer-more-info", IPP_TAG_URI)) != NULL) + cupsFilePrintf(fp, "*APSupplies: \"%s\"\n", ippGetString(attr, 0, NULL)); + + if ((attr = ippFindAttribute(response, "printer-charge-info-uri", IPP_TAG_URI)) != NULL) + cupsFilePrintf(fp, "*cupsChargeInfoURI: \"%s\"\n", ippGetString(attr, 0, NULL)); + + if ((attr = ippFindAttribute(response, "printer-strings-uri", IPP_TAG_URI)) != NULL) + { + http_t *http = NULL; /* Connection to printer */ + char stringsfile[1024]; /* Temporary strings file */ + + if (cups_get_url(&http, ippGetString(attr, 0, NULL), stringsfile, sizeof(stringsfile))) + { + cupsFilePrintf(fp, "*cupsStringsURI: \"%s\"\n", ippGetString(attr, 0, NULL)); + + strings = _cupsMessageLoad(stringsfile, _CUPS_MESSAGE_STRINGS | _CUPS_MESSAGE_UNQUOTE); + + unlink(stringsfile); + } + + if (http) + httpClose(http); + } + + /* + * Accounting... + */ + + if (ippGetBoolean(ippFindAttribute(response, "job-account-id-supported", IPP_TAG_BOOLEAN), 0)) + cupsFilePuts(fp, "*cupsJobAccountId: True\n"); + + if (ippGetBoolean(ippFindAttribute(response, "job-accounting-user-id-supported", IPP_TAG_BOOLEAN), 0)) + cupsFilePuts(fp, "*cupsJobAccountingUserId: True\n"); + + /* + * Password/PIN printing... + */ + + if ((attr = ippFindAttribute(response, "job-password-supported", IPP_TAG_INTEGER)) != NULL) + { + char pattern[33]; /* Password pattern */ + int maxlen = ippGetInteger(attr, 0); + /* Maximum length */ + const char *repertoire = ippGetString(ippFindAttribute(response, "job-password-repertoire-configured", IPP_TAG_KEYWORD), 0, NULL); + /* Type of password */ + + if (maxlen > (int)(sizeof(pattern) - 1)) + maxlen = (int)sizeof(pattern) - 1; + + if (!repertoire || !strcmp(repertoire, "iana_us-ascii_digits")) + memset(pattern, '1', (size_t)maxlen); + else if (!strcmp(repertoire, "iana_us-ascii_letters")) + memset(pattern, 'A', (size_t)maxlen); + else if (!strcmp(repertoire, "iana_us-ascii_complex")) + memset(pattern, 'C', (size_t)maxlen); + else if (!strcmp(repertoire, "iana_us-ascii_any")) + memset(pattern, '.', (size_t)maxlen); + else if (!strcmp(repertoire, "iana_utf-8_digits")) + memset(pattern, 'N', (size_t)maxlen); + else if (!strcmp(repertoire, "iana_utf-8_letters")) + memset(pattern, 'U', (size_t)maxlen); + else + memset(pattern, '*', (size_t)maxlen); + + pattern[maxlen] = '\0'; + + cupsFilePrintf(fp, "*cupsJobPassword: \"%s\"\n", pattern); + } + + /* + * Filters... + */ + + if ((attr = ippFindAttribute(response, "document-format-supported", IPP_TAG_MIMETYPE)) != NULL) + { + is_apple = ippContainsString(attr, "image/urf"); + is_pdf = ippContainsString(attr, "application/pdf"); + is_pwg = ippContainsString(attr, "image/pwg-raster") && !is_apple; + + if (ippContainsString(attr, "image/jpeg")) + cupsFilePuts(fp, "*cupsFilter2: \"image/jpeg image/jpeg 0 -\"\n"); + if (ippContainsString(attr, "image/png")) + cupsFilePuts(fp, "*cupsFilter2: \"image/png image/png 0 -\"\n"); + if (is_pdf) + { + /* + * Don't locally filter PDF content when printing to a CUPS shared + * printer, otherwise the options will be applied twice... + */ + + if (ippContainsString(attr, "application/vnd.cups-pdf")) + cupsFilePuts(fp, "*cupsFilter2: \"application/pdf application/pdf 0 -\"\n"); + else + cupsFilePuts(fp, "*cupsFilter2: \"application/vnd.cups-pdf application/pdf 10 -\"\n"); + } + else + cupsFilePuts(fp, "*cupsManualCopies: true\n"); + if (is_apple) + cupsFilePuts(fp, "*cupsFilter2: \"image/urf image/urf 100 -\"\n"); + if (is_pwg) + cupsFilePuts(fp, "*cupsFilter2: \"image/pwg-raster image/pwg-raster 100 -\"\n"); + } + + if (!is_apple && !is_pdf && !is_pwg) + goto bad_ppd; + + /* + * PageSize/PageRegion/ImageableArea/PaperDimension + */ + + if ((attr = ippFindAttribute(response, "media-bottom-margin-supported", IPP_TAG_INTEGER)) != NULL) + { + for (i = 1, bottom = ippGetInteger(attr, 0), count = ippGetCount(attr); i < count; i ++) + if (ippGetInteger(attr, i) > bottom) + bottom = ippGetInteger(attr, i); + } + else + bottom = 1270; + + if ((attr = ippFindAttribute(response, "media-left-margin-supported", IPP_TAG_INTEGER)) != NULL) + { + for (i = 1, left = ippGetInteger(attr, 0), count = ippGetCount(attr); i < count; i ++) + if (ippGetInteger(attr, i) > left) + left = ippGetInteger(attr, i); + } + else + left = 635; + + if ((attr = ippFindAttribute(response, "media-right-margin-supported", IPP_TAG_INTEGER)) != NULL) + { + for (i = 1, right = ippGetInteger(attr, 0), count = ippGetCount(attr); i < count; i ++) + if (ippGetInteger(attr, i) > right) + right = ippGetInteger(attr, i); + } + else + right = 635; + + if ((attr = ippFindAttribute(response, "media-top-margin-supported", IPP_TAG_INTEGER)) != NULL) + { + for (i = 1, top = ippGetInteger(attr, 0), count = ippGetCount(attr); i < count; i ++) + if (ippGetInteger(attr, i) > top) + top = ippGetInteger(attr, i); + } + else + top = 1270; + + if ((defattr = ippFindAttribute(response, "media-col-default", IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + if ((attr = ippFindAttribute(ippGetCollection(defattr, 0), "media-size", IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + media_size = ippGetCollection(attr, 0); + x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_INTEGER); + y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_INTEGER); + + if (x_dim && y_dim && (pwg = pwgMediaForSize(ippGetInteger(x_dim, 0), ippGetInteger(y_dim, 0))) != NULL) + strlcpy(ppdname, pwg->ppd, sizeof(ppdname)); + else + strlcpy(ppdname, "Unknown", sizeof(ppdname)); + } + else + strlcpy(ppdname, "Unknown", sizeof(ppdname)); + } + else if ((pwg = pwgMediaForPWG(ippGetString(ippFindAttribute(response, "media-default", IPP_TAG_ZERO), 0, NULL))) != NULL) + strlcpy(ppdname, pwg->ppd, sizeof(ppdname)); + else + strlcpy(ppdname, "Unknown", sizeof(ppdname)); + + sizes = cupsArrayNew3((cups_array_func_t)pwg_compare_sizes, NULL, NULL, 0, (cups_acopy_func_t)pwg_copy_size, (cups_afree_func_t)free); + + if ((attr = ippFindAttribute(response, "media-col-database", IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + cups_size_t temp; /* Current size */ + ipp_attribute_t *margin; /* media-xxx-margin attribute */ + + media_col = ippGetCollection(attr, i); + media_size = ippGetCollection(ippFindAttribute(media_col, "media-size", IPP_TAG_BEGIN_COLLECTION), 0); + x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_ZERO); + y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_ZERO); + pwg = pwgMediaForSize(ippGetInteger(x_dim, 0), ippGetInteger(y_dim, 0)); + + if (pwg) + { + temp.width = pwg->width; + temp.length = pwg->length; + + if ((margin = ippFindAttribute(media_col, "media-bottom-margin", IPP_TAG_INTEGER)) != NULL) + temp.bottom = ippGetInteger(margin, 0); + else + temp.bottom = bottom; + + if ((margin = ippFindAttribute(media_col, "media-left-margin", IPP_TAG_INTEGER)) != NULL) + temp.left = ippGetInteger(margin, 0); + else + temp.left = left; + + if ((margin = ippFindAttribute(media_col, "media-right-margin", IPP_TAG_INTEGER)) != NULL) + temp.right = ippGetInteger(margin, 0); + else + temp.right = right; + + if ((margin = ippFindAttribute(media_col, "media-top-margin", IPP_TAG_INTEGER)) != NULL) + temp.top = ippGetInteger(margin, 0); + else + temp.top = top; + + if (temp.bottom == 0 && temp.left == 0 && temp.right == 0 && temp.top == 0) + snprintf(temp.media, sizeof(temp.media), "%s.Borderless", pwg->ppd); + else + strlcpy(temp.media, pwg->ppd, sizeof(temp.media)); + + if (!cupsArrayFind(sizes, &temp)) + cupsArrayAdd(sizes, &temp); + } + else if (ippGetValueTag(x_dim) == IPP_TAG_RANGE || ippGetValueTag(y_dim) == IPP_TAG_RANGE) + { + /* + * Custom size - record the min/max values... + */ + + int lower, upper; /* Range values */ + + if (ippGetValueTag(x_dim) == IPP_TAG_RANGE) + lower = ippGetRange(x_dim, 0, &upper); + else + lower = upper = ippGetInteger(x_dim, 0); + + if (lower < min_width) + min_width = lower; + if (upper > max_width) + max_width = upper; + + if (ippGetValueTag(y_dim) == IPP_TAG_RANGE) + lower = ippGetRange(y_dim, 0, &upper); + else + lower = upper = ippGetInteger(y_dim, 0); + + if (lower < min_length) + min_length = lower; + if (upper > max_length) + max_length = upper; + } + } + + if ((max_width == 0 || max_length == 0) && (attr = ippFindAttribute(response, "media-size-supported", IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + /* + * Some printers don't list custom size support in media-col-database... + */ + + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + media_size = ippGetCollection(attr, i); + x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_ZERO); + y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_ZERO); + + if (ippGetValueTag(x_dim) == IPP_TAG_RANGE || ippGetValueTag(y_dim) == IPP_TAG_RANGE) + { + /* + * Custom size - record the min/max values... + */ + + int lower, upper; /* Range values */ + + if (ippGetValueTag(x_dim) == IPP_TAG_RANGE) + lower = ippGetRange(x_dim, 0, &upper); + else + lower = upper = ippGetInteger(x_dim, 0); + + if (lower < min_width) + min_width = lower; + if (upper > max_width) + max_width = upper; + + if (ippGetValueTag(y_dim) == IPP_TAG_RANGE) + lower = ippGetRange(y_dim, 0, &upper); + else + lower = upper = ippGetInteger(y_dim, 0); + + if (lower < min_length) + min_length = lower; + if (upper > max_length) + max_length = upper; + } + } + } + } + else if ((attr = ippFindAttribute(response, "media-size-supported", IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + cups_size_t temp; /* Current size */ + + media_size = ippGetCollection(attr, i); + x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_ZERO); + y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_ZERO); + pwg = pwgMediaForSize(ippGetInteger(x_dim, 0), ippGetInteger(y_dim, 0)); + + if (pwg) + { + temp.width = pwg->width; + temp.length = pwg->length; + temp.bottom = bottom; + temp.left = left; + temp.right = right; + temp.top = top; + + if (temp.bottom == 0 && temp.left == 0 && temp.right == 0 && temp.top == 0) + snprintf(temp.media, sizeof(temp.media), "%s.Borderless", pwg->ppd); + else + strlcpy(temp.media, pwg->ppd, sizeof(temp.media)); + + if (!cupsArrayFind(sizes, &temp)) + cupsArrayAdd(sizes, &temp); + } + else if (ippGetValueTag(x_dim) == IPP_TAG_RANGE || ippGetValueTag(y_dim) == IPP_TAG_RANGE) + { + /* + * Custom size - record the min/max values... + */ + + int lower, upper; /* Range values */ + + if (ippGetValueTag(x_dim) == IPP_TAG_RANGE) + lower = ippGetRange(x_dim, 0, &upper); + else + lower = upper = ippGetInteger(x_dim, 0); + + if (lower < min_width) + min_width = lower; + if (upper > max_width) + max_width = upper; + + if (ippGetValueTag(y_dim) == IPP_TAG_RANGE) + lower = ippGetRange(y_dim, 0, &upper); + else + lower = upper = ippGetInteger(y_dim, 0); + + if (lower < min_length) + min_length = lower; + if (upper > max_length) + max_length = upper; + } + } + } + else if ((attr = ippFindAttribute(response, "media-supported", IPP_TAG_ZERO)) != NULL) + { + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + const char *pwg_size = ippGetString(attr, i, NULL); + /* PWG size name */ + cups_size_t temp; /* Current size */ + + if ((pwg = pwgMediaForPWG(pwg_size)) != NULL) + { + if (strstr(pwg_size, "_max_") || strstr(pwg_size, "_max.")) + { + if (pwg->width > max_width) + max_width = pwg->width; + if (pwg->length > max_length) + max_length = pwg->length; + } + else if (strstr(pwg_size, "_min_") || strstr(pwg_size, "_min.")) + { + if (pwg->width < min_width) + min_width = pwg->width; + if (pwg->length < min_length) + min_length = pwg->length; + } + else + { + temp.width = pwg->width; + temp.length = pwg->length; + temp.bottom = bottom; + temp.left = left; + temp.right = right; + temp.top = top; + + if (temp.bottom == 0 && temp.left == 0 && temp.right == 0 && temp.top == 0) + snprintf(temp.media, sizeof(temp.media), "%s.Borderless", pwg->ppd); + else + strlcpy(temp.media, pwg->ppd, sizeof(temp.media)); + + if (!cupsArrayFind(sizes, &temp)) + cupsArrayAdd(sizes, &temp); + } + } + } + } + + if (cupsArrayCount(sizes) > 0) + { + /* + * List all of the standard sizes... + */ + + char tleft[256], /* Left string */ + tbottom[256], /* Bottom string */ + tright[256], /* Right string */ + ttop[256], /* Top string */ + twidth[256], /* Width string */ + tlength[256]; /* Length string */ + + cupsFilePrintf(fp, "*OpenUI *PageSize: PickOne\n" + "*OrderDependency: 10 AnySetup *PageSize\n" + "*DefaultPageSize: %s\n", ppdname); + for (size = (cups_size_t *)cupsArrayFirst(sizes); size; size = (cups_size_t *)cupsArrayNext(sizes)) + { + _cupsStrFormatd(twidth, twidth + sizeof(twidth), size->width * 72.0 / 2540.0, loc); + _cupsStrFormatd(tlength, tlength + sizeof(tlength), size->length * 72.0 / 2540.0, loc); + + cupsFilePrintf(fp, "*PageSize %s: \"<>setpagedevice\"\n", size->media, twidth, tlength); + } + cupsFilePuts(fp, "*CloseUI: *PageSize\n"); + + cupsFilePrintf(fp, "*OpenUI *PageRegion: PickOne\n" + "*OrderDependency: 10 AnySetup *PageRegion\n" + "*DefaultPageRegion: %s\n", ppdname); + for (size = (cups_size_t *)cupsArrayFirst(sizes); size; size = (cups_size_t *)cupsArrayNext(sizes)) + { + _cupsStrFormatd(twidth, twidth + sizeof(twidth), size->width * 72.0 / 2540.0, loc); + _cupsStrFormatd(tlength, tlength + sizeof(tlength), size->length * 72.0 / 2540.0, loc); + + cupsFilePrintf(fp, "*PageRegion %s: \"<>setpagedevice\"\n", size->media, twidth, tlength); + } + cupsFilePuts(fp, "*CloseUI: *PageRegion\n"); + + cupsFilePrintf(fp, "*DefaultImageableArea: %s\n" + "*DefaultPaperDimension: %s\n", ppdname, ppdname); + + for (size = (cups_size_t *)cupsArrayFirst(sizes); size; size = (cups_size_t *)cupsArrayNext(sizes)) + { + _cupsStrFormatd(tleft, tleft + sizeof(tleft), size->left * 72.0 / 2540.0, loc); + _cupsStrFormatd(tbottom, tbottom + sizeof(tbottom), size->bottom * 72.0 / 2540.0, loc); + _cupsStrFormatd(tright, tright + sizeof(tright), (size->width - size->right) * 72.0 / 2540.0, loc); + _cupsStrFormatd(ttop, ttop + sizeof(ttop), (size->length - size->top) * 72.0 / 2540.0, loc); + _cupsStrFormatd(twidth, twidth + sizeof(twidth), size->width * 72.0 / 2540.0, loc); + _cupsStrFormatd(tlength, tlength + sizeof(tlength), size->length * 72.0 / 2540.0, loc); + + cupsFilePrintf(fp, "*ImageableArea %s: \"%s %s %s %s\"\n", size->media, tleft, tbottom, tright, ttop); + cupsFilePrintf(fp, "*PaperDimension %s: \"%s %s\"\n", size->media, twidth, tlength); + } + + cupsArrayDelete(sizes); + + /* + * Custom size support... + */ + + if (max_width > 0 && min_width < INT_MAX && max_length > 0 && min_length < INT_MAX) + { + char tmax[256], tmin[256]; /* Min/max values */ + + _cupsStrFormatd(tleft, tleft + sizeof(tleft), left * 72.0 / 2540.0, loc); + _cupsStrFormatd(tbottom, tbottom + sizeof(tbottom), bottom * 72.0 / 2540.0, loc); + _cupsStrFormatd(tright, tright + sizeof(tright), right * 72.0 / 2540.0, loc); + _cupsStrFormatd(ttop, ttop + sizeof(ttop), top * 72.0 / 2540.0, loc); + + cupsFilePrintf(fp, "*HWMargins: \"%s %s %s %s\"\n", tleft, tbottom, tright, ttop); + + _cupsStrFormatd(tmax, tmax + sizeof(tmax), max_width * 72.0 / 2540.0, loc); + _cupsStrFormatd(tmin, tmin + sizeof(tmin), min_width * 72.0 / 2540.0, loc); + cupsFilePrintf(fp, "*ParamCustomPageSize Width: 1 points %s %s\n", tmin, tmax); + + _cupsStrFormatd(tmax, tmax + sizeof(tmax), max_length * 72.0 / 2540.0, loc); + _cupsStrFormatd(tmin, tmin + sizeof(tmin), min_length * 72.0 / 2540.0, loc); + cupsFilePrintf(fp, "*ParamCustomPageSize Height: 2 points %s %s\n", tmin, tmax); + + cupsFilePuts(fp, "*ParamCustomPageSize WidthOffset: 3 points 0 0\n"); + cupsFilePuts(fp, "*ParamCustomPageSize HeightOffset: 4 points 0 0\n"); + cupsFilePuts(fp, "*ParamCustomPageSize Orientation: 5 int 0 3\n"); + cupsFilePuts(fp, "*CustomPageSize True: \"pop pop pop <>setpagedevice\"\n"); + } + } + else + { + cupsArrayDelete(sizes); + goto bad_ppd; + } + + /* + * InputSlot... + */ + + if ((attr = ippFindAttribute(ippGetCollection(defattr, 0), "media-source", IPP_TAG_ZERO)) != NULL) + pwg_ppdize_name(ippGetString(attr, 0, NULL), ppdname, sizeof(ppdname)); + else + strlcpy(ppdname, "Unknown", sizeof(ppdname)); + + if ((attr = ippFindAttribute(response, "media-source-supported", IPP_TAG_ZERO)) != NULL && (count = ippGetCount(attr)) > 1) + { + static const char * const sources[] = + { /* Standard "media-source" strings */ + "auto", + "main", + "alternate", + "large-capacity", + "manual", + "envelope", + "disc", + "photo", + "hagaki", + "main-roll", + "alternate-roll", + "top", + "middle", + "bottom", + "side", + "left", + "right", + "center", + "rear", + "by-pass-tray", + "tray-1", + "tray-2", + "tray-3", + "tray-4", + "tray-5", + "tray-6", + "tray-7", + "tray-8", + "tray-9", + "tray-10", + "tray-11", + "tray-12", + "tray-13", + "tray-14", + "tray-15", + "tray-16", + "tray-17", + "tray-18", + "tray-19", + "tray-20", + "roll-1", + "roll-2", + "roll-3", + "roll-4", + "roll-5", + "roll-6", + "roll-7", + "roll-8", + "roll-9", + "roll-10" + }; + + cupsFilePrintf(fp, "*OpenUI *InputSlot: PickOne\n" + "*OrderDependency: 10 AnySetup *InputSlot\n" + "*DefaultInputSlot: %s\n", ppdname); + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + keyword = ippGetString(attr, i, NULL); + + pwg_ppdize_name(keyword, ppdname, sizeof(ppdname)); + + for (j = 0; j < (int)(sizeof(sources) / sizeof(sources[0])); j ++) + if (!strcmp(sources[j], keyword)) + { + snprintf(msgid, sizeof(msgid), "media-source.%s", keyword); + cupsFilePrintf(fp, "*InputSlot %s: \"<>setpagedevice\"\n", ppdname, j); + cupsFilePrintf(fp, "*%s.InputSlot %s/%s: \"\"\n", lang->language, ppdname, _cupsLangString(lang, msgid)); + break; + } + } + cupsFilePuts(fp, "*CloseUI: *InputSlot\n"); + } + + /* + * MediaType... + */ + + if ((attr = ippFindAttribute(ippGetCollection(defattr, 0), "media-type", IPP_TAG_ZERO)) != NULL) + pwg_ppdize_name(ippGetString(attr, 0, NULL), ppdname, sizeof(ppdname)); + else + strlcpy(ppdname, "Unknown", sizeof(ppdname)); + + if ((attr = ippFindAttribute(response, "media-type-supported", IPP_TAG_ZERO)) != NULL && (count = ippGetCount(attr)) > 1) + { + cupsFilePrintf(fp, "*OpenUI *MediaType: PickOne\n" + "*OrderDependency: 10 AnySetup *MediaType\n" + "*DefaultMediaType: %s\n", ppdname); + for (i = 0; i < count; i ++) + { + keyword = ippGetString(attr, i, NULL); + + pwg_ppdize_name(keyword, ppdname, sizeof(ppdname)); + + snprintf(msgid, sizeof(msgid), "media-type.%s", keyword); + if ((msgstr = _cupsLangString(lang, msgid)) == msgid || !strcmp(msgid, msgstr)) + if ((msgstr = _cupsMessageLookup(strings, msgid)) == msgid) + msgstr = keyword; + + cupsFilePrintf(fp, "*MediaType %s: \"<>setpagedevice\"\n", ppdname, ppdname); + cupsFilePrintf(fp, "*%s.MediaType %s/%s: \"\"\n", lang->language, ppdname, msgstr); + } + cupsFilePuts(fp, "*CloseUI: *MediaType\n"); + } + + /* + * ColorModel... + */ + + if ((attr = ippFindAttribute(response, "urf-supported", IPP_TAG_KEYWORD)) == NULL) + if ((attr = ippFindAttribute(response, "pwg-raster-document-type-supported", IPP_TAG_KEYWORD)) == NULL) + if ((attr = ippFindAttribute(response, "print-color-mode-supported", IPP_TAG_KEYWORD)) == NULL) + attr = ippFindAttribute(response, "output-mode-supported", IPP_TAG_KEYWORD); + + if (attr) + { + int wrote_color = 0; + const char *default_color = NULL; /* Default */ + + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + keyword = ippGetString(attr, i, NULL); + +#define PRINTF_COLORMODEL if (!wrote_color) { cupsFilePrintf(fp, "*OpenUI *ColorModel: PickOne\n*OrderDependency: 10 AnySetup *ColorModel\n*%s.Translation ColorModel/%s: \"\"\n", lang->language, _cupsLangString(lang, _("Color Mode"))); wrote_color = 1; } +#define PRINTF_COLOROPTION(name,text,cspace,bpp) { cupsFilePrintf(fp, "*ColorModel %s: \"<>setpagedevice\"\n", name, cspace, bpp); cupsFilePrintf(fp, "*%s.ColorModel %s/%s: \"\"\n", lang->language, name, _cupsLangString(lang, text)); } + + if (!strcasecmp(keyword, "black_1") || !strcmp(keyword, "bi-level") || !strcmp(keyword, "process-bi-level")) + { + PRINTF_COLORMODEL + + PRINTF_COLOROPTION("FastGray", _("Fast Grayscale"), CUPS_CSPACE_K, 1) + + if (!default_color) + default_color = "FastGray"; + } + else if (!strcasecmp(keyword, "sgray_8") || !strcmp(keyword, "W8") || !strcmp(keyword, "monochrome") || !strcmp(keyword, "process-monochrome")) + { + PRINTF_COLORMODEL + + PRINTF_COLOROPTION("Gray", _("Grayscale"), CUPS_CSPACE_SW, 8) + + if (!default_color || !strcmp(default_color, "FastGray")) + default_color = "Gray"; + } + else if (!strcasecmp(keyword, "sgray_16") || !strcmp(keyword, "W8-16")) + { + PRINTF_COLORMODEL + + if (!strcmp(keyword, "W8-16")) + { + PRINTF_COLOROPTION("Gray", _("Grayscale"), CUPS_CSPACE_SW, 8) + + if (!default_color || !strcmp(default_color, "FastGray")) + default_color = "Gray"; + } + + PRINTF_COLOROPTION("Gray16", _("Deep Gray"), CUPS_CSPACE_SW, 16) + } + else if (!strcasecmp(keyword, "srgb_8") || !strncmp(keyword, "SRGB24", 7) || !strcmp(keyword, "color")) + { + PRINTF_COLORMODEL + + PRINTF_COLOROPTION("RGB", _("Color"), CUPS_CSPACE_SRGB, 8) + + default_color = "RGB"; + } + else if (!strcasecmp(keyword, "adobe-rgb_16") || !strcmp(keyword, "ADOBERGB48") || !strcmp(keyword, "ADOBERGB24-48")) + { + PRINTF_COLORMODEL + + PRINTF_COLOROPTION("AdobeRGB", _("Deep Color"), CUPS_CSPACE_ADOBERGB, 16) + + if (!default_color) + default_color = "AdobeRGB"; + } + else if ((!strcasecmp(keyword, "adobe-rgb_8") && !ippContainsString(attr, "adobe-rgb_16")) || !strcmp(keyword, "ADOBERGB24")) + { + PRINTF_COLORMODEL + + PRINTF_COLOROPTION("AdobeRGB", _("Deep Color"), CUPS_CSPACE_ADOBERGB, 8) + + if (!default_color) + default_color = "AdobeRGB"; + } + else if ((!strcasecmp(keyword, "black_8") && !ippContainsString(attr, "black_16")) || !strcmp(keyword, "DEVW8")) + { + PRINTF_COLORMODEL + + PRINTF_COLOROPTION("DeviceGray", _("Device Gray"), CUPS_CSPACE_W, 8) + } + else if (!strcasecmp(keyword, "black_16") || !strcmp(keyword, "DEVW16") || !strcmp(keyword, "DEVW8-16")) + { + PRINTF_COLORMODEL + + PRINTF_COLOROPTION("DeviceGray", _("Device Gray"), CUPS_CSPACE_W, 16) + } + else if ((!strcasecmp(keyword, "cmyk_8") && !ippContainsString(attr, "cmyk_16")) || !strcmp(keyword, "DEVCMYK32")) + { + PRINTF_COLORMODEL + + PRINTF_COLOROPTION("CMYK", _("Device CMYK"), CUPS_CSPACE_CMYK, 8) + } + else if (!strcasecmp(keyword, "cmyk_16") || !strcmp(keyword, "DEVCMYK32-64") || !strcmp(keyword, "DEVCMYK64")) + { + PRINTF_COLORMODEL + + PRINTF_COLOROPTION("CMYK", _("Device CMYK"), CUPS_CSPACE_CMYK, 16) + } + else if ((!strcasecmp(keyword, "rgb_8") && ippContainsString(attr, "rgb_16")) || !strcmp(keyword, "DEVRGB24")) + { + PRINTF_COLORMODEL + + PRINTF_COLOROPTION("DeviceRGB", _("Device RGB"), CUPS_CSPACE_RGB, 8) + } + else if (!strcasecmp(keyword, "rgb_16") || !strcmp(keyword, "DEVRGB24-48") || !strcmp(keyword, "DEVRGB48")) + { + PRINTF_COLORMODEL + + PRINTF_COLOROPTION("DeviceRGB", _("Device RGB"), CUPS_CSPACE_RGB, 16) + } + } + + if (default_color) + cupsFilePrintf(fp, "*DefaultColorModel: %s\n", default_color); + if (wrote_color) + cupsFilePuts(fp, "*CloseUI: *ColorModel\n"); + } + + /* + * Duplex... + */ + + if ((attr = ippFindAttribute(response, "sides-supported", IPP_TAG_KEYWORD)) != NULL && ippContainsString(attr, "two-sided-long-edge")) + { + cupsFilePrintf(fp, "*OpenUI *Duplex: PickOne\n" + "*OrderDependency: 10 AnySetup *Duplex\n" + "*%s.Translation Duplex/%s: \"\"\n" + "*DefaultDuplex: None\n" + "*Duplex None: \"<>setpagedevice\"\n" + "*%s.Duplex None/%s: \"\"\n" + "*Duplex DuplexNoTumble: \"<>setpagedevice\"\n" + "*%s.Duplex DuplexNoTumble/%s: \"\"\n" + "*Duplex DuplexTumble: \"<>setpagedevice\"\n" + "*%s.Duplex DuplexTumble/%s: \"\"\n" + "*CloseUI: *Duplex\n", lang->language, _cupsLangString(lang, _("2-Sided Printing")), lang->language, _cupsLangString(lang, _("Off (1-Sided)")), lang->language, _cupsLangString(lang, _("Long-Edge (Portrait)")), lang->language, _cupsLangString(lang, _("Short-Edge (Landscape)"))); + + if ((attr = ippFindAttribute(response, "urf-supported", IPP_TAG_KEYWORD)) != NULL) + { + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + const char *dm = ippGetString(attr, i, NULL); + /* DM value */ + + if (!_cups_strcasecmp(dm, "DM1")) + { + cupsFilePuts(fp, "*cupsBackSide: Normal\n"); + break; + } + else if (!_cups_strcasecmp(dm, "DM2")) + { + cupsFilePuts(fp, "*cupsBackSide: Flipped\n"); + break; + } + else if (!_cups_strcasecmp(dm, "DM3")) + { + cupsFilePuts(fp, "*cupsBackSide: Rotated\n"); + break; + } + else if (!_cups_strcasecmp(dm, "DM4")) + { + cupsFilePuts(fp, "*cupsBackSide: ManualTumble\n"); + break; + } + } + } + else if ((attr = ippFindAttribute(response, "pwg-raster-document-sheet-back", IPP_TAG_KEYWORD)) != NULL) + { + keyword = ippGetString(attr, 0, NULL); + + if (!strcmp(keyword, "flipped")) + cupsFilePuts(fp, "*cupsBackSide: Flipped\n"); + else if (!strcmp(keyword, "manual-tumble")) + cupsFilePuts(fp, "*cupsBackSide: ManualTumble\n"); + else if (!strcmp(keyword, "normal")) + cupsFilePuts(fp, "*cupsBackSide: Normal\n"); + else + cupsFilePuts(fp, "*cupsBackSide: Rotated\n"); + } + } + + /* + * Output bin... + */ + + if ((attr = ippFindAttribute(response, "output-bin-default", IPP_TAG_ZERO)) != NULL) + pwg_ppdize_name(ippGetString(attr, 0, NULL), ppdname, sizeof(ppdname)); + else + strlcpy(ppdname, "Unknown", sizeof(ppdname)); + + if ((attr = ippFindAttribute(response, "output-bin-supported", IPP_TAG_ZERO)) != NULL && (count = ippGetCount(attr)) > 1) + { + ipp_attribute_t *trays = ippFindAttribute(response, "printer-output-tray", IPP_TAG_STRING); + /* printer-output-tray attribute, if any */ + const char *tray_ptr; /* printer-output-tray value */ + int tray_len; /* Len of printer-output-tray value */ + char tray[IPP_MAX_OCTETSTRING]; + /* printer-output-tray string value */ + + cupsFilePrintf(fp, "*OpenUI *OutputBin: PickOne\n" + "*OrderDependency: 10 AnySetup *OutputBin\n" + "*DefaultOutputBin: %s\n", ppdname); + if (!strcmp(ppdname, "FaceUp")) + cupsFilePuts(fp, "*DefaultOutputOrder: Reverse\n"); + else + cupsFilePuts(fp, "*DefaultOutputOrder: Normal\n"); + + for (i = 0; i < count; i ++) + { + keyword = ippGetString(attr, i, NULL); + + pwg_ppdize_name(keyword, ppdname, sizeof(ppdname)); + + snprintf(msgid, sizeof(msgid), "output-bin.%s", keyword); + if ((msgstr = _cupsLangString(lang, msgid)) == msgid || !strcmp(msgid, msgstr)) + if ((msgstr = _cupsMessageLookup(strings, msgid)) == msgid) + msgstr = keyword; + + cupsFilePrintf(fp, "*OutputBin %s: \"\"\n", ppdname); + cupsFilePrintf(fp, "*%s.OutputBin %s/%s: \"\"\n", lang->language, ppdname, msgstr); + + if ((tray_ptr = ippGetOctetString(trays, i, &tray_len)) != NULL) + { + if (tray_len >= (int)sizeof(tray)) + tray_len = (int)sizeof(tray) - 1; + + memcpy(tray, tray_ptr, (size_t)tray_len); + tray[tray_len] = '\0'; + + if (strstr(tray, "stackingorder=lastToFirst;")) + cupsFilePrintf(fp, "*PageStackOrder %s: Reverse\n", ppdname); + else + cupsFilePrintf(fp, "*PageStackOrder %s: Normal\n", ppdname); + } + else if (!strcmp(ppdname, "FaceUp")) + cupsFilePrintf(fp, "*PageStackOrder %s: Reverse\n", ppdname); + else + cupsFilePrintf(fp, "*PageStackOrder %s: Normal\n", ppdname); + } + cupsFilePuts(fp, "*CloseUI: *OutputBin\n"); + } + + /* + * Finishing options... + */ + + if ((attr = ippFindAttribute(response, "finishings-supported", IPP_TAG_ENUM)) != NULL) + { + int value; /* Enum value */ + const char *ppd_keyword; /* PPD keyword for enum */ + cups_array_t *names; /* Names we've added */ + static const char * const base_keywords[] = + { /* Base STD 92 keywords */ + NULL, /* none */ + "SingleAuto", /* staple */ + "SingleAuto", /* punch */ + NULL, /* cover */ + "BindAuto", /* bind */ + "SaddleStitch", /* saddle-stitch */ + "EdgeStitchAuto", /* edge-stitch */ + "Auto", /* fold */ + NULL, /* trim */ + NULL, /* bale */ + NULL, /* booklet-maker */ + NULL, /* jog-offset */ + NULL, /* coat */ + NULL /* laminate */ + }; + + count = ippGetCount(attr); + names = cupsArrayNew3((cups_array_func_t)strcmp, NULL, NULL, 0, (cups_acopy_func_t)strdup, (cups_afree_func_t)free); + fin_options = cupsArrayNew((cups_array_func_t)strcmp, NULL); + + /* + * Staple/Bind/Stitch + */ + + for (i = 0; i < count; i ++) + { + value = ippGetInteger(attr, i); + keyword = ippEnumString("finishings", value); + + if (!strncmp(keyword, "staple-", 7) || !strncmp(keyword, "bind-", 5) || !strncmp(keyword, "edge-stitch-", 12) || !strcmp(keyword, "saddle-stitch")) + break; + } + + if (i < count) + { + static const char * const staple_keywords[] = + { /* StapleLocation keywords */ + "SinglePortrait", + "SingleRevLandscape", + "SingleLandscape", + "SingleRevPortrait", + "EdgeStitchPortrait", + "EdgeStitchLandscape", + "EdgeStitchRevPortrait", + "EdgeStitchRevLandscape", + "DualPortrait", + "DualLandscape", + "DualRevPortrait", + "DualRevLandscape", + "TriplePortrait", + "TripleLandscape", + "TripleRevPortrait", + "TripleRevLandscape" + }; + static const char * const bind_keywords[] = + { /* StapleLocation binding keywords */ + "BindPortrait", + "BindLandscape", + "BindRevPortrait", + "BindRevLandscape" + }; + + cupsArrayAdd(fin_options, "*StapleLocation"); + + cupsFilePuts(fp, "*OpenUI *StapleLocation: PickOne\n"); + cupsFilePuts(fp, "*OrderDependency: 10 AnySetup *StapleLocation\n"); + cupsFilePrintf(fp, "*%s.Translation StapleLocation/%s: \"\"\n", lang->language, _cupsLangString(lang, _("Staple"))); + cupsFilePuts(fp, "*DefaultStapleLocation: None\n"); + cupsFilePuts(fp, "*StapleLocation None: \"\"\n"); + cupsFilePrintf(fp, "*%s.StapleLocation None/%s: \"\"\n", lang->language, _cupsLangString(lang, _("None"))); + + for (; i < count; i ++) + { + value = ippGetInteger(attr, i); + keyword = ippEnumString("finishings", value); + + if (strncmp(keyword, "staple-", 7) && strncmp(keyword, "bind-", 5) && strncmp(keyword, "edge-stitch-", 12) && strcmp(keyword, "saddle-stitch")) + continue; + + if (cupsArrayFind(names, (char *)keyword)) + continue; /* Already did this finishing template */ + + cupsArrayAdd(names, (char *)keyword); + + snprintf(msgid, sizeof(msgid), "finishings.%d", value); + if ((msgstr = _cupsLangString(lang, msgid)) == msgid || !strcmp(msgid, msgstr)) + if ((msgstr = _cupsMessageLookup(strings, msgid)) == msgid) + msgstr = keyword; + + if (value >= IPP_FINISHINGS_NONE && value <= IPP_FINISHINGS_LAMINATE) + ppd_keyword = base_keywords[value - IPP_FINISHINGS_NONE]; + else if (value >= IPP_FINISHINGS_STAPLE_TOP_LEFT && value <= IPP_FINISHINGS_STAPLE_TRIPLE_BOTTOM) + ppd_keyword = staple_keywords[value - IPP_FINISHINGS_STAPLE_TOP_LEFT]; + else if (value >= IPP_FINISHINGS_BIND_LEFT && value <= IPP_FINISHINGS_BIND_BOTTOM) + ppd_keyword = bind_keywords[value - IPP_FINISHINGS_BIND_LEFT]; + else + ppd_keyword = NULL; + + if (!ppd_keyword) + continue; + + cupsFilePrintf(fp, "*StapleLocation %s: \"\"\n", ppd_keyword); + cupsFilePrintf(fp, "*%s.StapleLocation %s/%s: \"\"\n", lang->language, ppd_keyword, msgstr); + cupsFilePrintf(fp, "*cupsIPPFinishings %d/%s: \"*StapleLocation %s\"\n", value, keyword, ppd_keyword); + } + + cupsFilePuts(fp, "*CloseUI: *StapleLocation\n"); + } + + /* + * Fold + */ + + for (i = 0; i < count; i ++) + { + value = ippGetInteger(attr, i); + keyword = ippEnumString("finishings", value); + + if (!strncmp(keyword, "cups-fold-", 10) || !strcmp(keyword, "fold") || !strncmp(keyword, "fold-", 5)) + break; + } + + if (i < count) + { + static const char * const fold_keywords[] = + { /* FoldType keywords */ + "Accordion", + "DoubleGate", + "Gate", + "Half", + "HalfZ", + "LeftGate", + "Letter", + "Parallel", + "XFold", + "RightGate", + "ZFold", + "EngineeringZ" + }; + + cupsArrayAdd(fin_options, "*FoldType"); + + cupsFilePuts(fp, "*OpenUI *FoldType: PickOne\n"); + cupsFilePuts(fp, "*OrderDependency: 10 AnySetup *FoldType\n"); + cupsFilePrintf(fp, "*%s.Translation FoldType/%s: \"\"\n", lang->language, _cupsLangString(lang, _("Fold"))); + cupsFilePuts(fp, "*DefaultFoldType: None\n"); + cupsFilePuts(fp, "*FoldType None: \"\"\n"); + cupsFilePrintf(fp, "*%s.FoldType None/%s: \"\"\n", lang->language, _cupsLangString(lang, _("None"))); + + for (; i < count; i ++) + { + value = ippGetInteger(attr, i); + keyword = ippEnumString("finishings", value); + + if (!strncmp(keyword, "cups-fold-", 10)) + keyword += 5; + else if (strcmp(keyword, "fold") && strncmp(keyword, "fold-", 5)) + continue; + + if (cupsArrayFind(names, (char *)keyword)) + continue; /* Already did this finishing template */ + + cupsArrayAdd(names, (char *)keyword); + + snprintf(msgid, sizeof(msgid), "finishings.%d", value); + if ((msgstr = _cupsLangString(lang, msgid)) == msgid || !strcmp(msgid, msgstr)) + if ((msgstr = _cupsMessageLookup(strings, msgid)) == msgid) + msgstr = keyword; + + if (value >= IPP_FINISHINGS_NONE && value <= IPP_FINISHINGS_LAMINATE) + ppd_keyword = base_keywords[value - IPP_FINISHINGS_NONE]; + else if (value >= IPP_FINISHINGS_FOLD_ACCORDION && value <= IPP_FINISHINGS_FOLD_ENGINEERING_Z) + ppd_keyword = fold_keywords[value - IPP_FINISHINGS_FOLD_ACCORDION]; + else if (value >= IPP_FINISHINGS_CUPS_FOLD_ACCORDION && value <= IPP_FINISHINGS_CUPS_FOLD_Z) + ppd_keyword = fold_keywords[value - IPP_FINISHINGS_CUPS_FOLD_ACCORDION]; + else + ppd_keyword = NULL; + + if (!ppd_keyword) + continue; + + cupsFilePrintf(fp, "*FoldType %s: \"\"\n", ppd_keyword); + cupsFilePrintf(fp, "*%s.FoldType %s/%s: \"\"\n", lang->language, ppd_keyword, msgstr); + cupsFilePrintf(fp, "*cupsIPPFinishings %d/%s: \"*FoldType %s\"\n", value, keyword, ppd_keyword); + } + + cupsFilePuts(fp, "*CloseUI: *FoldType\n"); + } + + /* + * Punch + */ + + for (i = 0; i < count; i ++) + { + value = ippGetInteger(attr, i); + keyword = ippEnumString("finishings", value); + + if (!strncmp(keyword, "cups-punch-", 11) || !strncmp(keyword, "punch-", 6)) + break; + } + + if (i < count) + { + static const char * const punch_keywords[] = + { /* PunchMedia keywords */ + "SinglePortrait", + "SingleRevLandscape", + "SingleLandscape", + "SingleRevPortrait", + "DualPortrait", + "DualLandscape", + "DualRevPortrait", + "DualRevLandscape", + "TriplePortrait", + "TripleLandscape", + "TripleRevPortrait", + "TripleRevLandscape", + "QuadPortrait", + "QuadLandscape", + "QuadRevPortrait", + "QuadRevLandscape", + "MultiplePortrait", + "MultipleLandscape", + "MultipleRevPortrait", + "MultipleRevLandscape" + }; + + cupsArrayAdd(fin_options, "*PunchMedia"); + + cupsFilePuts(fp, "*OpenUI *PunchMedia: PickOne\n"); + cupsFilePuts(fp, "*OrderDependency: 10 AnySetup *PunchMedia\n"); + cupsFilePrintf(fp, "*%s.Translation PunchMedia/%s: \"\"\n", lang->language, _cupsLangString(lang, _("Punch"))); + cupsFilePuts(fp, "*DefaultPunchMedia: None\n"); + cupsFilePuts(fp, "*PunchMedia None: \"\"\n"); + cupsFilePrintf(fp, "*%s.PunchMedia None/%s: \"\"\n", lang->language, _cupsLangString(lang, _("None"))); + + for (i = 0; i < count; i ++) + { + value = ippGetInteger(attr, i); + keyword = ippEnumString("finishings", value); + + if (!strncmp(keyword, "cups-punch-", 11)) + keyword += 5; + else if (strncmp(keyword, "punch-", 6)) + continue; + + if (cupsArrayFind(names, (char *)keyword)) + continue; /* Already did this finishing template */ + + cupsArrayAdd(names, (char *)keyword); + + snprintf(msgid, sizeof(msgid), "finishings.%d", value); + if ((msgstr = _cupsLangString(lang, msgid)) == msgid || !strcmp(msgid, msgstr)) + if ((msgstr = _cupsMessageLookup(strings, msgid)) == msgid) + msgstr = keyword; + + if (value >= IPP_FINISHINGS_NONE && value <= IPP_FINISHINGS_LAMINATE) + ppd_keyword = base_keywords[value - IPP_FINISHINGS_NONE]; + else if (value >= IPP_FINISHINGS_PUNCH_TOP_LEFT && value <= IPP_FINISHINGS_PUNCH_MULTIPLE_BOTTOM) + ppd_keyword = punch_keywords[value - IPP_FINISHINGS_PUNCH_TOP_LEFT]; + else if (value >= IPP_FINISHINGS_CUPS_PUNCH_TOP_LEFT && value <= IPP_FINISHINGS_CUPS_PUNCH_QUAD_BOTTOM) + ppd_keyword = punch_keywords[value - IPP_FINISHINGS_CUPS_PUNCH_TOP_LEFT]; + else + ppd_keyword = NULL; + + if (!ppd_keyword) + continue; + + cupsFilePrintf(fp, "*PunchMedia %s: \"\"\n", ppd_keyword); + cupsFilePrintf(fp, "*%s.PunchMedia %s/%s: \"\"\n", lang->language, ppd_keyword, msgstr); + cupsFilePrintf(fp, "*cupsIPPFinishings %d/%s: \"*PunchMedia %s\"\n", value, keyword, ppd_keyword); + } + + cupsFilePuts(fp, "*CloseUI: *PunchMedia\n"); + } + + /* + * Booklet + */ + + if (ippContainsInteger(attr, IPP_FINISHINGS_BOOKLET_MAKER)) + { + cupsArrayAdd(fin_options, "*Booklet"); + + cupsFilePuts(fp, "*OpenUI *Booklet: Boolean\n"); + cupsFilePuts(fp, "*OrderDependency: 10 AnySetup *Booklet\n"); + cupsFilePrintf(fp, "*%s.Translation Booklet/%s: \"\"\n", lang->language, _cupsLangString(lang, _("Booklet"))); + cupsFilePuts(fp, "*DefaultBooklet: False\n"); + cupsFilePuts(fp, "*Booklet False: \"\"\n"); + cupsFilePuts(fp, "*Booklet True: \"\"\n"); + cupsFilePrintf(fp, "*cupsIPPFinishings %d/booklet-maker: \"*Booklet True\"\n", IPP_FINISHINGS_BOOKLET_MAKER); + cupsFilePuts(fp, "*CloseUI: *Booklet\n"); + } + + /* + * CutMedia + */ + + for (i = 0; i < count; i ++) + { + value = ippGetInteger(attr, i); + keyword = ippEnumString("finishings", value); + + if (!strcmp(keyword, "trim") || !strncmp(keyword, "trim-", 5)) + break; + } + + if (i < count) + { + static const char * const trim_keywords[] = + { /* CutMedia keywords */ + "EndOfPage", + "EndOfDoc", + "EndOfSet", + "EndOfJob" + }; + + cupsArrayAdd(fin_options, "*CutMedia"); + + cupsFilePuts(fp, "*OpenUI *CutMedia: PickOne\n"); + cupsFilePuts(fp, "*OrderDependency: 10 AnySetup *CutMedia\n"); + cupsFilePrintf(fp, "*%s.Translation CutMedia/%s: \"\"\n", lang->language, _cupsLangString(lang, _("Cut"))); + cupsFilePuts(fp, "*DefaultCutMedia: None\n"); + cupsFilePuts(fp, "*CutMedia None: \"\"\n"); + cupsFilePrintf(fp, "*%s.CutMedia None/%s: \"\"\n", lang->language, _cupsLangString(lang, _("None"))); + + for (i = 0; i < count; i ++) + { + value = ippGetInteger(attr, i); + keyword = ippEnumString("finishings", value); + + if (strcmp(keyword, "trim") && strncmp(keyword, "trim-", 5)) + continue; + + if (cupsArrayFind(names, (char *)keyword)) + continue; /* Already did this finishing template */ + + cupsArrayAdd(names, (char *)keyword); + + snprintf(msgid, sizeof(msgid), "finishings.%d", value); + if ((msgstr = _cupsLangString(lang, msgid)) == msgid || !strcmp(msgid, msgstr)) + if ((msgstr = _cupsMessageLookup(strings, msgid)) == msgid) + msgstr = keyword; + + if (value == IPP_FINISHINGS_TRIM) + ppd_keyword = "Auto"; + else + ppd_keyword = trim_keywords[value - IPP_FINISHINGS_TRIM_AFTER_PAGES]; + + cupsFilePrintf(fp, "*CutMedia %s: \"\"\n", ppd_keyword); + cupsFilePrintf(fp, "*%s.CutMedia %s/%s: \"\"\n", lang->language, ppd_keyword, msgstr); + cupsFilePrintf(fp, "*cupsIPPFinishings %d/%s: \"*CutMedia %s\"\n", value, keyword, ppd_keyword); + } + + cupsFilePuts(fp, "*CloseUI: *CutMedia\n"); + } + + cupsArrayDelete(names); + } + + if ((attr = ippFindAttribute(response, "finishings-col-database", IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + ipp_t *finishing_col; /* Current finishing collection */ + ipp_attribute_t *finishing_attr; /* Current finishing member attribute */ + cups_array_t *templates; /* Finishing templates */ + + cupsFilePuts(fp, "*OpenUI *cupsFinishingTemplate: PickOne\n"); + cupsFilePuts(fp, "*OrderDependency: 10 AnySetup *cupsFinishingTemplate\n"); + cupsFilePrintf(fp, "*%s.Translation cupsFinishingTemplate/%s: \"\"\n", lang->language, _cupsLangString(lang, _("Finishing Preset"))); + cupsFilePuts(fp, "*DefaultcupsFinishingTemplate: none\n"); + cupsFilePuts(fp, "*cupsFinishingTemplate none: \"\"\n"); + cupsFilePrintf(fp, "*%s.cupsFinishingTemplate none/%s: \"\"\n", lang->language, _cupsLangString(lang, _("None"))); + + templates = cupsArrayNew((cups_array_func_t)strcmp, NULL); + count = ippGetCount(attr); + + for (i = 0; i < count; i ++) + { + finishing_col = ippGetCollection(attr, i); + keyword = ippGetString(ippFindAttribute(finishing_col, "finishing-template", IPP_TAG_ZERO), 0, NULL); + + if (!keyword || cupsArrayFind(templates, (void *)keyword)) + continue; + + if (!strcmp(keyword, "none")) + continue; + + cupsArrayAdd(templates, (void *)keyword); + + snprintf(msgid, sizeof(msgid), "finishing-template.%s", keyword); + if ((msgstr = _cupsLangString(lang, msgid)) == msgid || !strcmp(msgid, msgstr)) + if ((msgstr = _cupsMessageLookup(strings, msgid)) == msgid) + msgstr = keyword; + + cupsFilePrintf(fp, "*cupsFinishingTemplate %s: \"\n", keyword); + for (finishing_attr = ippFirstAttribute(finishing_col); finishing_attr; finishing_attr = ippNextAttribute(finishing_col)) + { + if (ippGetValueTag(finishing_attr) == IPP_TAG_BEGIN_COLLECTION) + { + const char *name = ippGetName(finishing_attr); + /* Member attribute name */ + + if (strcmp(name, "media-size")) + cupsFilePrintf(fp, "%% %s\n", name); + } + } + cupsFilePuts(fp, "\"\n"); + cupsFilePrintf(fp, "*%s.cupsFinishingTemplate %s/%s: \"\"\n", lang->language, keyword, msgstr); + cupsFilePuts(fp, "*End\n"); + } + + cupsFilePuts(fp, "*CloseUI: *cupsFinishingTemplate\n"); + + if (cupsArrayCount(fin_options)) + { + const char *fin_option; /* Current finishing option */ + + cupsFilePuts(fp, "*cupsUIConstraint finishing-template: \"*cupsFinishingTemplate"); + for (fin_option = (const char *)cupsArrayFirst(fin_options); fin_option; fin_option = (const char *)cupsArrayNext(fin_options)) + cupsFilePrintf(fp, " %s", fin_option); + cupsFilePuts(fp, "\"\n"); + + cupsFilePuts(fp, "*cupsUIResolver finishing-template: \"*cupsFinishingTemplate None"); + for (fin_option = (const char *)cupsArrayFirst(fin_options); fin_option; fin_option = (const char *)cupsArrayNext(fin_options)) + cupsFilePrintf(fp, " %s None", fin_option); + cupsFilePuts(fp, "\"\n"); + } + + cupsArrayDelete(templates); + } + + cupsArrayDelete(fin_options); + + /* + * cupsPrintQuality and DefaultResolution... + */ + + quality = ippFindAttribute(response, "print-quality-supported", IPP_TAG_ENUM); + + if ((attr = ippFindAttribute(response, "urf-supported", IPP_TAG_KEYWORD)) != NULL) + { + int lowdpi = 0, hidpi = 0; /* Lower and higher resolution */ + + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + const char *rs = ippGetString(attr, i, NULL); + /* RS value */ + + if (_cups_strncasecmp(rs, "RS", 2)) + continue; + + lowdpi = atoi(rs + 2); + if ((rs = strrchr(rs, '-')) != NULL) + hidpi = atoi(rs + 1); + else + hidpi = lowdpi; + break; + } + + if (lowdpi == 0) + { + /* + * Invalid "urf-supported" value... + */ + + goto bad_ppd; + } + else + { + /* + * Generate print qualities based on low and high DPIs... + */ + + cupsFilePrintf(fp, "*DefaultResolution: %ddpi\n", lowdpi); + + cupsFilePrintf(fp, "*OpenUI *cupsPrintQuality: PickOne\n" + "*OrderDependency: 10 AnySetup *cupsPrintQuality\n" + "*%s.Translation cupsPrintQuality/%s: \"\"\n" + "*DefaultcupsPrintQuality: Normal\n", lang->language, _cupsLangString(lang, _("Print Quality"))); + if ((lowdpi & 1) == 0) + cupsFilePrintf(fp, "*cupsPrintQuality Draft: \"<>setpagedevice\"\n*%s.cupsPrintQuality Draft/%s: \"\"\n", lowdpi, lowdpi / 2, lang->language, _cupsLangString(lang, _("Draft"))); + else if (ippContainsInteger(quality, IPP_QUALITY_DRAFT)) + cupsFilePrintf(fp, "*cupsPrintQuality Draft: \"<>setpagedevice\"\n*%s.cupsPrintQuality Draft/%s: \"\"\n", lowdpi, lowdpi, lang->language, _cupsLangString(lang, _("Draft"))); + + cupsFilePrintf(fp, "*cupsPrintQuality Normal: \"<>setpagedevice\"\n*%s.cupsPrintQuality Normal/%s: \"\"\n", lowdpi, lowdpi, lang->language, _cupsLangString(lang, _("Normal"))); + + if (hidpi > lowdpi || ippContainsInteger(quality, IPP_QUALITY_HIGH)) + cupsFilePrintf(fp, "*cupsPrintQuality High: \"<>setpagedevice\"\n*%s.cupsPrintQuality High/%s: \"\"\n", hidpi, hidpi, lang->language, _cupsLangString(lang, _("High"))); + cupsFilePuts(fp, "*CloseUI: *cupsPrintQuality\n"); + } + } + else if ((attr = ippFindAttribute(response, "pwg-raster-document-resolution-supported", IPP_TAG_RESOLUTION)) != NULL) + { + /* + * Make a sorted list of resolutions. + */ + + count = ippGetCount(attr); + if (count > (int)(sizeof(resolutions) / sizeof(resolutions[0]))) + count = (int)(sizeof(resolutions) / sizeof(resolutions[0])); + + resolutions[0] = 0; /* Not in loop to silence Clang static analyzer... */ + for (i = 1; i < count; i ++) + resolutions[i] = i; + + for (i = 0; i < (count - 1); i ++) + { + for (j = i + 1; j < count; j ++) + { + int ix, iy, /* First X and Y resolution */ + jx, jy, /* Second X and Y resolution */ + temp; /* Swap variable */ + ipp_res_t units; /* Resolution units */ + + ix = ippGetResolution(attr, resolutions[i], &iy, &units); + jx = ippGetResolution(attr, resolutions[j], &jy, &units); + + if (ix > jx || (ix == jx && iy > jy)) + { + /* + * Swap these two resolutions... + */ + + temp = resolutions[i]; + resolutions[i] = resolutions[j]; + resolutions[j] = temp; + } + } + } + + /* + * Generate print quality options... + */ + + pwg_ppdize_resolution(attr, resolutions[count / 2], &xres, &yres, ppdname, sizeof(ppdname)); + cupsFilePrintf(fp, "*DefaultResolution: %s\n", ppdname); + + cupsFilePrintf(fp, "*OpenUI *cupsPrintQuality: PickOne\n" + "*OrderDependency: 10 AnySetup *cupsPrintQuality\n" + "*%s.Translation cupsPrintQuality/%s: \"\"\n" + "*DefaultcupsPrintQuality: Normal\n", lang->language, _cupsLangString(lang, _("Print Quality"))); + if (count > 2 || ippContainsInteger(quality, IPP_QUALITY_DRAFT)) + { + pwg_ppdize_resolution(attr, resolutions[0], &xres, &yres, NULL, 0); + cupsFilePrintf(fp, "*cupsPrintQuality Draft: \"<>setpagedevice\"\n", xres, yres); + cupsFilePrintf(fp, "*%s.cupsPrintQuality Draft/%s: \"\"\n", lang->language, _cupsLangString(lang, _("Draft"))); + } + + pwg_ppdize_resolution(attr, resolutions[count / 2], &xres, &yres, NULL, 0); + cupsFilePrintf(fp, "*cupsPrintQuality Normal: \"<>setpagedevice\"\n", xres, yres); + cupsFilePrintf(fp, "*%s.cupsPrintQuality Normal/%s: \"\"\n", lang->language, _cupsLangString(lang, _("Normal"))); + + if (count > 1 || ippContainsInteger(quality, IPP_QUALITY_HIGH)) + { + pwg_ppdize_resolution(attr, resolutions[count - 1], &xres, &yres, NULL, 0); + cupsFilePrintf(fp, "*cupsPrintQuality High: \"<>setpagedevice\"\n", xres, yres); + cupsFilePrintf(fp, "*%s.cupsPrintQuality High/%s: \"\"\n", lang->language, _cupsLangString(lang, _("High"))); + } + + cupsFilePuts(fp, "*CloseUI: *cupsPrintQuality\n"); + } + else if (is_apple || is_pwg) + goto bad_ppd; + else + { + if ((attr = ippFindAttribute(response, "printer-resolution-default", IPP_TAG_RESOLUTION)) != NULL) + { + pwg_ppdize_resolution(attr, 0, &xres, &yres, ppdname, sizeof(ppdname)); + } + else + { + xres = yres = 300; + strlcpy(ppdname, "300dpi", sizeof(ppdname)); + } + + cupsFilePrintf(fp, "*DefaultResolution: %s\n", ppdname); + + cupsFilePrintf(fp, "*OpenUI *cupsPrintQuality: PickOne\n" + "*OrderDependency: 10 AnySetup *cupsPrintQuality\n" + "*%s.Translation cupsPrintQuality/%s: \"\"\n" + "*DefaultcupsPrintQuality: Normal\n", lang->language, _cupsLangString(lang, _("Print Quality"))); + if (ippContainsInteger(quality, IPP_QUALITY_DRAFT)) + cupsFilePrintf(fp, "*cupsPrintQuality Draft: \"<>setpagedevice\"\n*%s.cupsPrintQuality Draft/%s: \"\"\n", xres, yres, lang->language, _cupsLangString(lang, _("Draft"))); + + cupsFilePrintf(fp, "*cupsPrintQuality Normal: \"<>setpagedevice\"\n*%s.cupsPrintQuality Normal/%s: \"\"\n", xres, yres, lang->language, _cupsLangString(lang, _("Normal"))); + + if (ippContainsInteger(quality, IPP_QUALITY_HIGH)) + cupsFilePrintf(fp, "*cupsPrintQuality High: \"<>setpagedevice\"\n*%s.cupsPrintQuality High/%s: \"\"\n", xres, yres, lang->language, _cupsLangString(lang, _("High"))); + cupsFilePuts(fp, "*CloseUI: *cupsPrintQuality\n"); + } + + /* + * Presets... + */ + + if ((attr = ippFindAttribute(response, "job-presets-supported", IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + ipp_t *preset = ippGetCollection(attr, i); + /* Preset collection */ + const char *preset_name = ippGetString(ippFindAttribute(preset, "preset-name", IPP_TAG_ZERO), 0, NULL), + /* Preset name */ + *localized_name; /* Localized preset name */ + ipp_attribute_t *member; /* Member attribute in preset */ + const char *member_name; /* Member attribute name */ + char member_value[256]; /* Member attribute value */ + + if (!preset || !preset_name) + continue; + + cupsFilePrintf(fp, "*APPrinterPreset %s: \"\n", preset_name); + for (member = ippFirstAttribute(preset); member; member = ippNextAttribute(preset)) + { + member_name = ippGetName(member); + + if (!member_name || !strcmp(member_name, "preset-name")) + continue; + + if (!strcmp(member_name, "finishings")) + { + for (i = 0, count = ippGetCount(member); i < count; i ++) + { + const char *option = NULL; /* PPD option name */ + + keyword = ippEnumString("finishings", ippGetInteger(member, i)); + + if (!strcmp(keyword, "booklet-maker")) + { + option = "Booklet"; + keyword = "True"; + } + else if (!strncmp(keyword, "fold-", 5)) + option = "FoldType"; + else if (!strncmp(keyword, "punch-", 6)) + option = "PunchMedia"; + else if (!strncmp(keyword, "bind-", 5) || !strncmp(keyword, "edge-stitch-", 12) || !strcmp(keyword, "saddle-stitch") || !strncmp(keyword, "staple-", 7)) + option = "StapleLocation"; + + if (option && keyword) + cupsFilePrintf(fp, "*%s %s\n", option, keyword); + } + } + else if (!strcmp(member_name, "finishings-col")) + { + ipp_t *fin_col; /* finishings-col value */ + + for (i = 0, count = ippGetCount(member); i < count; i ++) + { + fin_col = ippGetCollection(member, i); + + if ((keyword = ippGetString(ippFindAttribute(fin_col, "finishing-template", IPP_TAG_ZERO), 0, NULL)) != NULL) + cupsFilePrintf(fp, "*cupsFinishingTemplate %s\n", keyword); + } + } + else if (!strcmp(member_name, "media")) + { + /* + * Map media to PageSize... + */ + + if ((pwg = pwgMediaForPWG(ippGetString(member, 0, NULL))) != NULL && pwg->ppd) + cupsFilePrintf(fp, "*PageSize %s\n", pwg->ppd); + } + else if (!strcmp(member_name, "media-col")) + { + media_col = ippGetCollection(member, 0); + + if ((media_size = ippGetCollection(ippFindAttribute(media_col, "media-size", IPP_TAG_BEGIN_COLLECTION), 0)) != NULL) + { + x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_INTEGER); + y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_INTEGER); + if ((pwg = pwgMediaForSize(ippGetInteger(x_dim, 0), ippGetInteger(y_dim, 0))) != NULL && pwg->ppd) + cupsFilePrintf(fp, "*PageSize %s\n", pwg->ppd); + } + + if ((keyword = ippGetString(ippFindAttribute(media_col, "media-source", IPP_TAG_ZERO), 0, NULL)) != NULL) + { + pwg_ppdize_name(keyword, ppdname, sizeof(ppdname)); + cupsFilePrintf(fp, "*InputSlot %s\n", keyword); + } + + if ((keyword = ippGetString(ippFindAttribute(media_col, "media-type", IPP_TAG_ZERO), 0, NULL)) != NULL) + { + pwg_ppdize_name(keyword, ppdname, sizeof(ppdname)); + cupsFilePrintf(fp, "*MediaType %s\n", keyword); + } + } + else if (!strcmp(member_name, "print-quality")) + { + /* + * Map print-quality to cupsPrintQuality... + */ + + int qval = ippGetInteger(member, 0); + /* print-quality value */ + static const char * const qualities[] = { "Draft", "Normal", "High" }; + /* cupsPrintQuality values */ + + if (qval >= IPP_QUALITY_DRAFT && qval <= IPP_QUALITY_HIGH) + cupsFilePrintf(fp, "*cupsPrintQuality %s\n", qualities[qval - IPP_QUALITY_DRAFT]); + } + else if (!strcmp(member_name, "output-bin")) + { + pwg_ppdize_name(ippGetString(member, 0, NULL), ppdname, sizeof(ppdname)); + cupsFilePrintf(fp, "*OutputBin %s\n", ppdname); + } + else if (!strcmp(member_name, "sides")) + { + keyword = ippGetString(member, 0, NULL); + if (keyword && !strcmp(keyword, "one-sided")) + cupsFilePuts(fp, "*Duplex None\n"); + else if (keyword && !strcmp(keyword, "two-sided-long-edge")) + cupsFilePuts(fp, "*Duplex DuplexNoTumble\n"); + else if (keyword && !strcmp(keyword, "two-sided-short-edge")) + cupsFilePuts(fp, "*Duplex DuplexTumble\n"); + } + else + { + /* + * Add attribute name and value as-is... + */ + + ippAttributeString(member, member_value, sizeof(member_value)); + cupsFilePrintf(fp, "*%s %s\n", member_name, member_value); + } + } + + cupsFilePuts(fp, "\"\n*End\n"); + + if ((localized_name = _cupsMessageLookup(strings, preset_name)) != preset_name) + cupsFilePrintf(fp, "*%s.APPrinterPreset %s/%s: \"\"\n", lang->language, preset_name, localized_name); + } + } + + /* + * Close up and return... + */ + + cupsFileClose(fp); + + return (buffer); + + /* + * If we get here then there was a problem creating the PPD... + */ + + bad_ppd: + + cupsFileClose(fp); + unlink(buffer); + *buffer = '\0'; + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Printer does not support required IPP attributes or document formats."), 1); + + return (NULL); +} + + +/* + * '_pwgInputSlotForSource()' - Get the InputSlot name for the given PWG + * media-source. + */ + +const char * /* O - InputSlot name */ +_pwgInputSlotForSource( + const char *media_source, /* I - PWG media-source */ + char *name, /* I - Name buffer */ + size_t namesize) /* I - Size of name buffer */ +{ + /* + * Range check input... + */ + + if (!media_source || !name || namesize < PPD_MAX_NAME) + return (NULL); + + if (_cups_strcasecmp(media_source, "main")) + strlcpy(name, "Cassette", namesize); + else if (_cups_strcasecmp(media_source, "alternate")) + strlcpy(name, "Multipurpose", namesize); + else if (_cups_strcasecmp(media_source, "large-capacity")) + strlcpy(name, "LargeCapacity", namesize); + else if (_cups_strcasecmp(media_source, "bottom")) + strlcpy(name, "Lower", namesize); + else if (_cups_strcasecmp(media_source, "middle")) + strlcpy(name, "Middle", namesize); + else if (_cups_strcasecmp(media_source, "top")) + strlcpy(name, "Upper", namesize); + else if (_cups_strcasecmp(media_source, "rear")) + strlcpy(name, "Rear", namesize); + else if (_cups_strcasecmp(media_source, "side")) + strlcpy(name, "Side", namesize); + else if (_cups_strcasecmp(media_source, "envelope")) + strlcpy(name, "Envelope", namesize); + else if (_cups_strcasecmp(media_source, "main-roll")) + strlcpy(name, "Roll", namesize); + else if (_cups_strcasecmp(media_source, "alternate-roll")) + strlcpy(name, "Roll2", namesize); + else + pwg_ppdize_name(media_source, name, namesize); + + return (name); +} + + +/* + * '_pwgMediaTypeForType()' - Get the MediaType name for the given PWG + * media-type. + */ + +const char * /* O - MediaType name */ +_pwgMediaTypeForType( + const char *media_type, /* I - PWG media-type */ + char *name, /* I - Name buffer */ + size_t namesize) /* I - Size of name buffer */ +{ + /* + * Range check input... + */ + + if (!media_type || !name || namesize < PPD_MAX_NAME) + return (NULL); + + if (_cups_strcasecmp(media_type, "auto")) + strlcpy(name, "Auto", namesize); + else if (_cups_strcasecmp(media_type, "cardstock")) + strlcpy(name, "Cardstock", namesize); + else if (_cups_strcasecmp(media_type, "envelope")) + strlcpy(name, "Envelope", namesize); + else if (_cups_strcasecmp(media_type, "photographic-glossy")) + strlcpy(name, "Glossy", namesize); + else if (_cups_strcasecmp(media_type, "photographic-high-gloss")) + strlcpy(name, "HighGloss", namesize); + else if (_cups_strcasecmp(media_type, "photographic-matte")) + strlcpy(name, "Matte", namesize); + else if (_cups_strcasecmp(media_type, "stationery")) + strlcpy(name, "Plain", namesize); + else if (_cups_strcasecmp(media_type, "stationery-coated")) + strlcpy(name, "Coated", namesize); + else if (_cups_strcasecmp(media_type, "stationery-inkjet")) + strlcpy(name, "Inkjet", namesize); + else if (_cups_strcasecmp(media_type, "stationery-letterhead")) + strlcpy(name, "Letterhead", namesize); + else if (_cups_strcasecmp(media_type, "stationery-preprinted")) + strlcpy(name, "Preprinted", namesize); + else if (_cups_strcasecmp(media_type, "transparency")) + strlcpy(name, "Transparency", namesize); + else + pwg_ppdize_name(media_type, name, namesize); + + return (name); +} + + +/* + * '_pwgPageSizeForMedia()' - Get the PageSize name for the given media. + */ + +const char * /* O - PageSize name */ +_pwgPageSizeForMedia( + pwg_media_t *media, /* I - Media */ + char *name, /* I - PageSize name buffer */ + size_t namesize) /* I - Size of name buffer */ +{ + const char *sizeptr, /* Pointer to size in PWG name */ + *dimptr; /* Pointer to dimensions in PWG name */ + + + /* + * Range check input... + */ + + if (!media || !name || namesize < PPD_MAX_NAME) + return (NULL); + + /* + * Copy or generate a PageSize name... + */ + + if (media->ppd) + { + /* + * Use a standard Adobe name... + */ + + strlcpy(name, media->ppd, namesize); + } + else if (!media->pwg || !strncmp(media->pwg, "custom_", 7) || + (sizeptr = strchr(media->pwg, '_')) == NULL || + (dimptr = strchr(sizeptr + 1, '_')) == NULL || + (size_t)(dimptr - sizeptr) > namesize) + { + /* + * Use a name of the form "wNNNhNNN"... + */ + + snprintf(name, namesize, "w%dh%d", (int)PWG_TO_POINTS(media->width), + (int)PWG_TO_POINTS(media->length)); + } + else + { + /* + * Copy the size name from class_sizename_dimensions... + */ + + memcpy(name, sizeptr + 1, (size_t)(dimptr - sizeptr - 1)); + name[dimptr - sizeptr - 1] = '\0'; + } + + return (name); +} + + +/* + * 'cups_get_url()' - Get a copy of the file at the given URL. + */ + +static int /* O - 1 on success, 0 on failure */ +cups_get_url(http_t **http, /* IO - Current HTTP connection */ + const char *url, /* I - URL to get */ + char *name, /* I - Temporary filename */ + size_t namesize) /* I - Size of temporary filename buffer */ +{ + char scheme[32], /* URL scheme */ + userpass[256], /* URL username:password */ + host[256], /* URL host */ + curhost[256], /* Current host */ + resource[256]; /* URL resource */ + int port; /* URL port */ + http_encryption_t encryption; /* Type of encryption to use */ + http_status_t status; /* Status of GET request */ + int fd; /* Temporary file */ + + + if (httpSeparateURI(HTTP_URI_CODING_ALL, url, scheme, sizeof(scheme), userpass, sizeof(userpass), host, sizeof(host), &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK) + return (0); + + if (port == 443 || !strcmp(scheme, "https")) + encryption = HTTP_ENCRYPTION_ALWAYS; + else + encryption = HTTP_ENCRYPTION_IF_REQUESTED; + + if (!*http || strcasecmp(host, httpGetHostname(*http, curhost, sizeof(curhost))) || httpAddrPort(httpGetAddress(*http)) != port) + { + httpClose(*http); + *http = httpConnect2(host, port, NULL, AF_UNSPEC, encryption, 1, 5000, NULL); + } + + if (!*http) + return (0); + + if ((fd = cupsTempFd(name, (int)namesize)) < 0) + return (0); + + status = cupsGetFd(*http, resource, fd); + + close(fd); + + if (status != HTTP_STATUS_OK) + { + unlink(name); + *name = '\0'; + return (0); + } + + return (1); +} + + +/* + * 'pwg_add_finishing()' - Add a finishings value. + */ + +static void +pwg_add_finishing( + cups_array_t *finishings, /* I - Finishings array */ + ipp_finishings_t template, /* I - Finishing template */ + const char *name, /* I - PPD option */ + const char *value) /* I - PPD choice */ +{ + _pwg_finishings_t *f; /* New finishings value */ + + + if ((f = (_pwg_finishings_t *)calloc(1, sizeof(_pwg_finishings_t))) != NULL) + { + f->value = template; + f->num_options = cupsAddOption(name, value, 0, &f->options); + + cupsArrayAdd(finishings, f); + } +} + + +/* + * 'pwg_add_message()' - Add a message to the PPD cached strings. + */ + +static void +pwg_add_message(cups_array_t *a, /* I - Message catalog */ + const char *msg, /* I - Message identifier */ + const char *str) /* I - Localized string */ +{ + _cups_message_t *m; /* New message */ + + + if ((m = calloc(1, sizeof(_cups_message_t))) != NULL) + { + m->msg = strdup(msg); + m->str = strdup(str); + cupsArrayAdd(a, m); + } +} + + +/* + * 'pwg_compare_finishings()' - Compare two finishings values. + */ + +static int /* O - Result of comparison */ +pwg_compare_finishings( + _pwg_finishings_t *a, /* I - First finishings value */ + _pwg_finishings_t *b) /* I - Second finishings value */ +{ + return ((int)b->value - (int)a->value); +} + + +/* + * 'pwg_compare_sizes()' - Compare two media sizes... + */ + +static int /* O - Result of comparison */ +pwg_compare_sizes(cups_size_t *a, /* I - First media size */ + cups_size_t *b) /* I - Second media size */ +{ + return (strcmp(a->media, b->media)); +} + + +/* + * 'pwg_copy_size()' - Copy a media size. + */ + +static cups_size_t * /* O - New media size */ +pwg_copy_size(cups_size_t *size) /* I - Media size to copy */ +{ + cups_size_t *newsize = (cups_size_t *)calloc(1, sizeof(cups_size_t)); + /* New media size */ + + if (newsize) + memcpy(newsize, size, sizeof(cups_size_t)); + + return (newsize); +} + + +/* + * 'pwg_free_finishings()' - Free a finishings value. + */ + +static void +pwg_free_finishings( + _pwg_finishings_t *f) /* I - Finishings value */ +{ + cupsFreeOptions(f->num_options, f->options); + free(f); +} + + +/* + * 'pwg_ppdize_name()' - Convert an IPP keyword to a PPD keyword. + */ + +static void +pwg_ppdize_name(const char *ipp, /* I - IPP keyword */ + char *name, /* I - Name buffer */ + size_t namesize) /* I - Size of name buffer */ +{ + char *ptr, /* Pointer into name buffer */ + *end; /* End of name buffer */ + + + if (!ipp) + { + *name = '\0'; + return; + } + + *name = (char)toupper(*ipp++); + + for (ptr = name + 1, end = name + namesize - 1; *ipp && ptr < end;) + { + if (*ipp == '-' && _cups_isalnum(ipp[1])) + { + ipp ++; + *ptr++ = (char)toupper(*ipp++ & 255); + } + else + *ptr++ = *ipp++; + } + + *ptr = '\0'; +} + + +/* + * 'pwg_ppdize_resolution()' - Convert PWG resolution values to PPD values. + */ + +static void +pwg_ppdize_resolution( + ipp_attribute_t *attr, /* I - Attribute to convert */ + int element, /* I - Element to convert */ + int *xres, /* O - X resolution in DPI */ + int *yres, /* O - Y resolution in DPI */ + char *name, /* I - Name buffer */ + size_t namesize) /* I - Size of name buffer */ +{ + ipp_res_t units; /* Units for resolution */ + + + *xres = ippGetResolution(attr, element, yres, &units); + + if (units == IPP_RES_PER_CM) + { + *xres = (int)(*xres * 2.54); + *yres = (int)(*yres * 2.54); + } + + if (name && namesize > 4) + { + if (*xres == *yres) + snprintf(name, namesize, "%ddpi", *xres); + else + snprintf(name, namesize, "%dx%ddpi", *xres, *yres); + } +} + + +/* + * 'pwg_unppdize_name()' - Convert a PPD keyword to a lowercase IPP keyword. + */ + +static void +pwg_unppdize_name(const char *ppd, /* I - PPD keyword */ + char *name, /* I - Name buffer */ + size_t namesize, /* I - Size of name buffer */ + const char *dashchars)/* I - Characters to be replaced by dashes */ +{ + char *ptr, /* Pointer into name buffer */ + *end; /* End of name buffer */ + + + if (_cups_islower(*ppd)) + { + /* + * Already lowercase name, use as-is? + */ + + const char *ppdptr; /* Pointer into PPD keyword */ + + for (ppdptr = ppd + 1; *ppdptr; ppdptr ++) + if (_cups_isupper(*ppdptr) || strchr(dashchars, *ppdptr)) + break; + + if (!*ppdptr) + { + strlcpy(name, ppd, namesize); + return; + } + } + + for (ptr = name, end = name + namesize - 1; *ppd && ptr < end; ppd ++) + { + if (_cups_isalnum(*ppd) || *ppd == '-') + *ptr++ = (char)tolower(*ppd & 255); + else if (strchr(dashchars, *ppd)) + *ptr++ = '-'; + else + *ptr++ = *ppd; + + if (!_cups_isupper(*ppd) && _cups_isalnum(*ppd) && + _cups_isupper(ppd[1]) && ptr < end) + *ptr++ = '-'; + else if (!isdigit(*ppd & 255) && isdigit(ppd[1] & 255)) + *ptr++ = '-'; + } + + *ptr = '\0'; +} diff --git a/cups/ppd-conflicts.c b/cups/ppd-conflicts.c new file mode 100644 index 0000000..ffbacad --- /dev/null +++ b/cups/ppd-conflicts.c @@ -0,0 +1,1188 @@ +/* + * Option conflict management routines for CUPS. + * + * Copyright 2007-2018 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + * + * PostScript is a trademark of Adobe Systems, Inc. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "ppd-private.h" +#include "debug-internal.h" + + +/* + * Local constants... + */ + +enum +{ + _PPD_OPTION_CONSTRAINTS, + _PPD_INSTALLABLE_CONSTRAINTS, + _PPD_ALL_CONSTRAINTS +}; + + +/* + * Local functions... + */ + +static int ppd_is_installable(ppd_group_t *installable, + const char *option); +static void ppd_load_constraints(ppd_file_t *ppd); +static cups_array_t *ppd_test_constraints(ppd_file_t *ppd, + const char *option, + const char *choice, + int num_options, + cups_option_t *options, + int which); + + +/* + * 'cupsGetConflicts()' - Get a list of conflicting options in a marked PPD. + * + * This function gets a list of options that would conflict if "option" and + * "choice" were marked in the PPD. You would typically call this function + * after marking the currently selected options in the PPD in order to + * determine whether a new option selection would cause a conflict. + * + * The number of conflicting options are returned with "options" pointing to + * the conflicting options. The returned option array must be freed using + * @link cupsFreeOptions@. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +int /* O - Number of conflicting options */ +cupsGetConflicts( + ppd_file_t *ppd, /* I - PPD file */ + const char *option, /* I - Option to test */ + const char *choice, /* I - Choice to test */ + cups_option_t **options) /* O - Conflicting options */ +{ + int i, /* Looping var */ + num_options; /* Number of conflicting options */ + cups_array_t *active; /* Active conflicts */ + _ppd_cups_uiconsts_t *c; /* Current constraints */ + _ppd_cups_uiconst_t *cptr; /* Current constraint */ + ppd_choice_t *marked; /* Marked choice */ + + + /* + * Range check input... + */ + + if (options) + *options = NULL; + + if (!ppd || !option || !choice || !options) + return (0); + + /* + * Test for conflicts... + */ + + active = ppd_test_constraints(ppd, option, choice, 0, NULL, + _PPD_ALL_CONSTRAINTS); + + /* + * Loop through all of the UI constraints and add any options that conflict... + */ + + for (num_options = 0, c = (_ppd_cups_uiconsts_t *)cupsArrayFirst(active); + c; + c = (_ppd_cups_uiconsts_t *)cupsArrayNext(active)) + { + for (i = c->num_constraints, cptr = c->constraints; + i > 0; + i --, cptr ++) + if (_cups_strcasecmp(cptr->option->keyword, option)) + { + if (cptr->choice) + num_options = cupsAddOption(cptr->option->keyword, + cptr->choice->choice, num_options, + options); + else if ((marked = ppdFindMarkedChoice(ppd, + cptr->option->keyword)) != NULL) + num_options = cupsAddOption(cptr->option->keyword, marked->choice, + num_options, options); + } + } + + cupsArrayDelete(active); + + return (num_options); +} + + +/* + * 'cupsResolveConflicts()' - Resolve conflicts in a marked PPD. + * + * This function attempts to resolve any conflicts in a marked PPD, returning + * a list of option changes that are required to resolve them. On input, + * "num_options" and "options" contain any pending option changes that have + * not yet been marked, while "option" and "choice" contain the most recent + * selection which may or may not be in "num_options" or "options". + * + * On successful return, "num_options" and "options" are updated to contain + * "option" and "choice" along with any changes required to resolve conflicts + * specified in the PPD file and 1 is returned. + * + * If option conflicts cannot be resolved, "num_options" and "options" are not + * changed and 0 is returned. + * + * When resolving conflicts, @code cupsResolveConflicts@ does not consider + * changes to the current page size (@code media@, @code PageSize@, and + * @code PageRegion@) or to the most recent option specified in "option". + * Thus, if the only way to resolve a conflict is to change the page size + * or the option the user most recently changed, @code cupsResolveConflicts@ + * will return 0 to indicate it was unable to resolve the conflicts. + * + * The @code cupsResolveConflicts@ function uses one of two sources of option + * constraint information. The preferred constraint information is defined by + * @code cupsUIConstraints@ and @code cupsUIResolver@ attributes - in this + * case, the PPD file provides constraint resolution actions. + * + * The backup constraint information is defined by the + * @code UIConstraints@ and @code NonUIConstraints@ attributes. These + * constraints are resolved algorithmically by first selecting the default + * choice for the conflicting option, then iterating over all possible choices + * until a non-conflicting option choice is found. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsResolveConflicts( + ppd_file_t *ppd, /* I - PPD file */ + const char *option, /* I - Newly selected option or @code NULL@ for none */ + const char *choice, /* I - Newly selected choice or @code NULL@ for none */ + int *num_options, /* IO - Number of additional selected options */ + cups_option_t **options) /* IO - Additional selected options */ +{ + int i, /* Looping var */ + tries, /* Number of tries */ + num_newopts; /* Number of new options */ + cups_option_t *newopts; /* New options */ + cups_array_t *active = NULL, /* Active constraints */ + *pass, /* Resolvers for this pass */ + *resolvers, /* Resolvers we have used */ + *test; /* Test array for conflicts */ + _ppd_cups_uiconsts_t *consts; /* Current constraints */ + _ppd_cups_uiconst_t *constptr; /* Current constraint */ + ppd_attr_t *resolver; /* Current resolver */ + const char *resval; /* Pointer into resolver value */ + char resoption[PPD_MAX_NAME], + /* Current resolver option */ + reschoice[PPD_MAX_NAME], + /* Current resolver choice */ + *resptr, /* Pointer into option/choice */ + firstpage[255]; /* AP_FIRSTPAGE_Keyword string */ + const char *value; /* Selected option value */ + int changed; /* Did we change anything? */ + ppd_choice_t *marked; /* Marked choice */ + + + /* + * Range check input... + */ + + if (!ppd || !num_options || !options || (option == NULL) != (choice == NULL)) + return (0); + + /* + * Build a shadow option array... + */ + + num_newopts = 0; + newopts = NULL; + + for (i = 0; i < *num_options; i ++) + num_newopts = cupsAddOption((*options)[i].name, (*options)[i].value, + num_newopts, &newopts); + if (option && _cups_strcasecmp(option, "Collate")) + num_newopts = cupsAddOption(option, choice, num_newopts, &newopts); + + /* + * Loop until we have no conflicts... + */ + + cupsArraySave(ppd->sorted_attrs); + + resolvers = NULL; + pass = cupsArrayNew((cups_array_func_t)_cups_strcasecmp, NULL); + tries = 0; + + while (tries < 100 && + (active = ppd_test_constraints(ppd, NULL, NULL, num_newopts, newopts, + _PPD_ALL_CONSTRAINTS)) != NULL) + { + tries ++; + + if (!resolvers) + resolvers = cupsArrayNew((cups_array_func_t)_cups_strcasecmp, NULL); + + for (consts = (_ppd_cups_uiconsts_t *)cupsArrayFirst(active), changed = 0; + consts; + consts = (_ppd_cups_uiconsts_t *)cupsArrayNext(active)) + { + if (consts->resolver[0]) + { + /* + * Look up the resolver... + */ + + if (cupsArrayFind(pass, consts->resolver)) + continue; /* Already applied this resolver... */ + + if (cupsArrayFind(resolvers, consts->resolver)) + { + /* + * Resolver loop! + */ + + DEBUG_printf(("1cupsResolveConflicts: Resolver loop with %s!", + consts->resolver)); + goto error; + } + + if ((resolver = ppdFindAttr(ppd, "cupsUIResolver", + consts->resolver)) == NULL) + { + DEBUG_printf(("1cupsResolveConflicts: Resolver %s not found!", + consts->resolver)); + goto error; + } + + if (!resolver->value) + { + DEBUG_printf(("1cupsResolveConflicts: Resolver %s has no value!", + consts->resolver)); + goto error; + } + + /* + * Add the options from the resolver... + */ + + cupsArrayAdd(pass, consts->resolver); + cupsArrayAdd(resolvers, consts->resolver); + + for (resval = resolver->value; *resval && !changed;) + { + while (_cups_isspace(*resval)) + resval ++; + + if (*resval != '*') + break; + + for (resval ++, resptr = resoption; + *resval && !_cups_isspace(*resval); + resval ++) + if (resptr < (resoption + sizeof(resoption) - 1)) + *resptr++ = *resval; + + *resptr = '\0'; + + while (_cups_isspace(*resval)) + resval ++; + + for (resptr = reschoice; + *resval && !_cups_isspace(*resval); + resval ++) + if (resptr < (reschoice + sizeof(reschoice) - 1)) + *resptr++ = *resval; + + *resptr = '\0'; + + if (!resoption[0] || !reschoice[0]) + break; + + /* + * Is this the option we are changing? + */ + + snprintf(firstpage, sizeof(firstpage), "AP_FIRSTPAGE_%s", resoption); + + if (option && + (!_cups_strcasecmp(resoption, option) || + !_cups_strcasecmp(firstpage, option) || + (!_cups_strcasecmp(option, "PageSize") && + !_cups_strcasecmp(resoption, "PageRegion")) || + (!_cups_strcasecmp(option, "AP_FIRSTPAGE_PageSize") && + !_cups_strcasecmp(resoption, "PageSize")) || + (!_cups_strcasecmp(option, "AP_FIRSTPAGE_PageSize") && + !_cups_strcasecmp(resoption, "PageRegion")) || + (!_cups_strcasecmp(option, "PageRegion") && + !_cups_strcasecmp(resoption, "PageSize")) || + (!_cups_strcasecmp(option, "AP_FIRSTPAGE_PageRegion") && + !_cups_strcasecmp(resoption, "PageSize")) || + (!_cups_strcasecmp(option, "AP_FIRSTPAGE_PageRegion") && + !_cups_strcasecmp(resoption, "PageRegion")))) + continue; + + /* + * Try this choice... + */ + + if ((test = ppd_test_constraints(ppd, resoption, reschoice, + num_newopts, newopts, + _PPD_ALL_CONSTRAINTS)) == NULL) + { + /* + * That worked... + */ + + changed = 1; + } + else + cupsArrayDelete(test); + + /* + * Add the option/choice from the resolver regardless of whether it + * worked; this makes sure that we can cascade several changes to + * make things resolve... + */ + + num_newopts = cupsAddOption(resoption, reschoice, num_newopts, + &newopts); + } + } + else + { + /* + * Try resolving by choosing the default values for non-installable + * options, then by iterating through the possible choices... + */ + + int j; /* Looping var */ + ppd_choice_t *cptr; /* Current choice */ + ppd_size_t *size; /* Current page size */ + + + for (i = consts->num_constraints, constptr = consts->constraints; + i > 0 && !changed; + i --, constptr ++) + { + /* + * Can't resolve by changing an installable option... + */ + + if (constptr->installable) + continue; + + /* + * Is this the option we are changing? + */ + + if (option && + (!_cups_strcasecmp(constptr->option->keyword, option) || + (!_cups_strcasecmp(option, "PageSize") && + !_cups_strcasecmp(constptr->option->keyword, "PageRegion")) || + (!_cups_strcasecmp(option, "PageRegion") && + !_cups_strcasecmp(constptr->option->keyword, "PageSize")))) + continue; + + /* + * Get the current option choice... + */ + + if ((value = cupsGetOption(constptr->option->keyword, num_newopts, + newopts)) == NULL) + { + if (!_cups_strcasecmp(constptr->option->keyword, "PageSize") || + !_cups_strcasecmp(constptr->option->keyword, "PageRegion")) + { + if ((value = cupsGetOption("PageSize", num_newopts, + newopts)) == NULL) + value = cupsGetOption("PageRegion", num_newopts, newopts); + + if (!value) + { + if ((size = ppdPageSize(ppd, NULL)) != NULL) + value = size->name; + else + value = ""; + } + } + else + { + marked = ppdFindMarkedChoice(ppd, constptr->option->keyword); + value = marked ? marked->choice : ""; + } + } + + if (!_cups_strncasecmp(value, "Custom.", 7)) + value = "Custom"; + + /* + * Try the default choice... + */ + + test = NULL; + + if (_cups_strcasecmp(value, constptr->option->defchoice) && + (test = ppd_test_constraints(ppd, constptr->option->keyword, + constptr->option->defchoice, + num_newopts, newopts, + _PPD_OPTION_CONSTRAINTS)) == NULL) + { + /* + * That worked... + */ + + num_newopts = cupsAddOption(constptr->option->keyword, + constptr->option->defchoice, + num_newopts, &newopts); + changed = 1; + } + else + { + /* + * Try each choice instead... + */ + + for (j = constptr->option->num_choices, + cptr = constptr->option->choices; + j > 0; + j --, cptr ++) + { + cupsArrayDelete(test); + test = NULL; + + if (_cups_strcasecmp(value, cptr->choice) && + _cups_strcasecmp(constptr->option->defchoice, cptr->choice) && + _cups_strcasecmp("Custom", cptr->choice) && + (test = ppd_test_constraints(ppd, constptr->option->keyword, + cptr->choice, num_newopts, + newopts, + _PPD_OPTION_CONSTRAINTS)) == NULL) + { + /* + * This choice works... + */ + + num_newopts = cupsAddOption(constptr->option->keyword, + cptr->choice, num_newopts, + &newopts); + changed = 1; + break; + } + } + + cupsArrayDelete(test); + } + } + } + } + + if (!changed) + { + DEBUG_puts("1cupsResolveConflicts: Unable to automatically resolve " + "constraint!"); + goto error; + } + + cupsArrayClear(pass); + cupsArrayDelete(active); + active = NULL; + } + + if (tries >= 100) + goto error; + + /* + * Free the caller's option array... + */ + + cupsFreeOptions(*num_options, *options); + + /* + * If Collate is the option we are testing, add it here. Otherwise, remove + * any Collate option from the resolve list since the filters automatically + * handle manual collation... + */ + + if (option && !_cups_strcasecmp(option, "Collate")) + num_newopts = cupsAddOption(option, choice, num_newopts, &newopts); + else + num_newopts = cupsRemoveOption("Collate", num_newopts, &newopts); + + /* + * Return the new list of options to the caller... + */ + + *num_options = num_newopts; + *options = newopts; + + cupsArrayDelete(pass); + cupsArrayDelete(resolvers); + + cupsArrayRestore(ppd->sorted_attrs); + + DEBUG_printf(("1cupsResolveConflicts: Returning %d options:", num_newopts)); +#ifdef DEBUG + for (i = 0; i < num_newopts; i ++) + DEBUG_printf(("1cupsResolveConflicts: options[%d]: %s=%s", i, + newopts[i].name, newopts[i].value)); +#endif /* DEBUG */ + + return (1); + + /* + * If we get here, we failed to resolve... + */ + + error: + + cupsFreeOptions(num_newopts, newopts); + + cupsArrayDelete(active); + cupsArrayDelete(pass); + cupsArrayDelete(resolvers); + + cupsArrayRestore(ppd->sorted_attrs); + + DEBUG_puts("1cupsResolveConflicts: Unable to resolve conflicts!"); + + return (0); +} + + +/* + * 'ppdConflicts()' - Check to see if there are any conflicts among the + * marked option choices. + * + * The returned value is the same as returned by @link ppdMarkOption@. + */ + +int /* O - Number of conflicts found */ +ppdConflicts(ppd_file_t *ppd) /* I - PPD to check */ +{ + int i, /* Looping variable */ + conflicts; /* Number of conflicts */ + cups_array_t *active; /* Active conflicts */ + _ppd_cups_uiconsts_t *c; /* Current constraints */ + _ppd_cups_uiconst_t *cptr; /* Current constraint */ + ppd_option_t *o; /* Current option */ + + + if (!ppd) + return (0); + + /* + * Clear all conflicts... + */ + + cupsArraySave(ppd->options); + + for (o = ppdFirstOption(ppd); o; o = ppdNextOption(ppd)) + o->conflicted = 0; + + cupsArrayRestore(ppd->options); + + /* + * Test for conflicts... + */ + + active = ppd_test_constraints(ppd, NULL, NULL, 0, NULL, + _PPD_ALL_CONSTRAINTS); + conflicts = cupsArrayCount(active); + + /* + * Loop through all of the UI constraints and flag any options + * that conflict... + */ + + for (c = (_ppd_cups_uiconsts_t *)cupsArrayFirst(active); + c; + c = (_ppd_cups_uiconsts_t *)cupsArrayNext(active)) + { + for (i = c->num_constraints, cptr = c->constraints; + i > 0; + i --, cptr ++) + cptr->option->conflicted = 1; + } + + cupsArrayDelete(active); + + /* + * Return the number of conflicts found... + */ + + return (conflicts); +} + + +/* + * 'ppdInstallableConflict()' - Test whether an option choice conflicts with + * an installable option. + * + * This function tests whether a particular option choice is available based + * on constraints against options in the "InstallableOptions" group. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +int /* O - 1 if conflicting, 0 if not conflicting */ +ppdInstallableConflict( + ppd_file_t *ppd, /* I - PPD file */ + const char *option, /* I - Option */ + const char *choice) /* I - Choice */ +{ + cups_array_t *active; /* Active conflicts */ + + + DEBUG_printf(("2ppdInstallableConflict(ppd=%p, option=\"%s\", choice=\"%s\")", + ppd, option, choice)); + + /* + * Range check input... + */ + + if (!ppd || !option || !choice) + return (0); + + /* + * Test constraints using the new option... + */ + + active = ppd_test_constraints(ppd, option, choice, 0, NULL, + _PPD_INSTALLABLE_CONSTRAINTS); + + cupsArrayDelete(active); + + return (active != NULL); +} + + +/* + * 'ppd_is_installable()' - Determine whether an option is in the + * InstallableOptions group. + */ + +static int /* O - 1 if installable, 0 if normal */ +ppd_is_installable( + ppd_group_t *installable, /* I - InstallableOptions group */ + const char *name) /* I - Option name */ +{ + if (installable) + { + int i; /* Looping var */ + ppd_option_t *option; /* Current option */ + + + for (i = installable->num_options, option = installable->options; + i > 0; + i --, option ++) + if (!_cups_strcasecmp(option->keyword, name)) + return (1); + } + + return (0); +} + + +/* + * 'ppd_load_constraints()' - Load constraints from a PPD file. + */ + +static void +ppd_load_constraints(ppd_file_t *ppd) /* I - PPD file */ +{ + int i; /* Looping var */ + ppd_const_t *oldconst; /* Current UIConstraints data */ + ppd_attr_t *constattr; /* Current cupsUIConstraints attribute */ + _ppd_cups_uiconsts_t *consts; /* Current cupsUIConstraints data */ + _ppd_cups_uiconst_t *constptr; /* Current constraint */ + ppd_group_t *installable; /* Installable options group */ + const char *vptr; /* Pointer into constraint value */ + char option[PPD_MAX_NAME], /* Option name/MainKeyword */ + choice[PPD_MAX_NAME], /* Choice/OptionKeyword */ + *ptr; /* Pointer into option or choice */ + + + DEBUG_printf(("7ppd_load_constraints(ppd=%p)", ppd)); + + /* + * Create an array to hold the constraint data... + */ + + ppd->cups_uiconstraints = cupsArrayNew(NULL, NULL); + + /* + * Find the installable options group if it exists... + */ + + for (i = ppd->num_groups, installable = ppd->groups; + i > 0; + i --, installable ++) + if (!_cups_strcasecmp(installable->name, "InstallableOptions")) + break; + + if (i <= 0) + installable = NULL; + + /* + * Load old-style [Non]UIConstraints data... + */ + + for (i = ppd->num_consts, oldconst = ppd->consts; i > 0; i --, oldconst ++) + { + /* + * Weed out nearby duplicates, since the PPD spec requires that you + * define both "*Foo foo *Bar bar" and "*Bar bar *Foo foo"... + */ + + if (i > 1 && + !_cups_strcasecmp(oldconst[0].option1, oldconst[1].option2) && + !_cups_strcasecmp(oldconst[0].choice1, oldconst[1].choice2) && + !_cups_strcasecmp(oldconst[0].option2, oldconst[1].option1) && + !_cups_strcasecmp(oldconst[0].choice2, oldconst[1].choice1)) + continue; + + /* + * Allocate memory... + */ + + if ((consts = calloc(1, sizeof(_ppd_cups_uiconsts_t))) == NULL) + { + DEBUG_puts("8ppd_load_constraints: Unable to allocate memory for " + "UIConstraints!"); + return; + } + + if ((constptr = calloc(2, sizeof(_ppd_cups_uiconst_t))) == NULL) + { + free(consts); + DEBUG_puts("8ppd_load_constraints: Unable to allocate memory for " + "UIConstraints!"); + return; + } + + /* + * Fill in the information... + */ + + consts->num_constraints = 2; + consts->constraints = constptr; + + if (!_cups_strncasecmp(oldconst->option1, "Custom", 6) && + !_cups_strcasecmp(oldconst->choice1, "True")) + { + constptr[0].option = ppdFindOption(ppd, oldconst->option1 + 6); + constptr[0].choice = ppdFindChoice(constptr[0].option, "Custom"); + constptr[0].installable = 0; + } + else + { + constptr[0].option = ppdFindOption(ppd, oldconst->option1); + constptr[0].choice = ppdFindChoice(constptr[0].option, + oldconst->choice1); + constptr[0].installable = ppd_is_installable(installable, + oldconst->option1); + } + + if (!constptr[0].option || (!constptr[0].choice && oldconst->choice1[0])) + { + DEBUG_printf(("8ppd_load_constraints: Unknown option *%s %s!", + oldconst->option1, oldconst->choice1)); + free(consts->constraints); + free(consts); + continue; + } + + if (!_cups_strncasecmp(oldconst->option2, "Custom", 6) && + !_cups_strcasecmp(oldconst->choice2, "True")) + { + constptr[1].option = ppdFindOption(ppd, oldconst->option2 + 6); + constptr[1].choice = ppdFindChoice(constptr[1].option, "Custom"); + constptr[1].installable = 0; + } + else + { + constptr[1].option = ppdFindOption(ppd, oldconst->option2); + constptr[1].choice = ppdFindChoice(constptr[1].option, + oldconst->choice2); + constptr[1].installable = ppd_is_installable(installable, + oldconst->option2); + } + + if (!constptr[1].option || (!constptr[1].choice && oldconst->choice2[0])) + { + DEBUG_printf(("8ppd_load_constraints: Unknown option *%s %s!", + oldconst->option2, oldconst->choice2)); + free(consts->constraints); + free(consts); + continue; + } + + consts->installable = constptr[0].installable || constptr[1].installable; + + /* + * Add it to the constraints array... + */ + + cupsArrayAdd(ppd->cups_uiconstraints, consts); + } + + /* + * Then load new-style constraints... + */ + + for (constattr = ppdFindAttr(ppd, "cupsUIConstraints", NULL); + constattr; + constattr = ppdFindNextAttr(ppd, "cupsUIConstraints", NULL)) + { + if (!constattr->value) + { + DEBUG_puts("8ppd_load_constraints: Bad cupsUIConstraints value!"); + continue; + } + + for (i = 0, vptr = strchr(constattr->value, '*'); + vptr; + i ++, vptr = strchr(vptr + 1, '*')); + + if (i == 0) + { + DEBUG_puts("8ppd_load_constraints: Bad cupsUIConstraints value!"); + continue; + } + + if ((consts = calloc(1, sizeof(_ppd_cups_uiconsts_t))) == NULL) + { + DEBUG_puts("8ppd_load_constraints: Unable to allocate memory for " + "cupsUIConstraints!"); + return; + } + + if ((constptr = calloc((size_t)i, sizeof(_ppd_cups_uiconst_t))) == NULL) + { + free(consts); + DEBUG_puts("8ppd_load_constraints: Unable to allocate memory for " + "cupsUIConstraints!"); + return; + } + + consts->num_constraints = i; + consts->constraints = constptr; + + strlcpy(consts->resolver, constattr->spec, sizeof(consts->resolver)); + + for (i = 0, vptr = strchr(constattr->value, '*'); + vptr; + i ++, vptr = strchr(vptr, '*'), constptr ++) + { + /* + * Extract "*Option Choice" or just "*Option"... + */ + + for (vptr ++, ptr = option; *vptr && !_cups_isspace(*vptr); vptr ++) + if (ptr < (option + sizeof(option) - 1)) + *ptr++ = *vptr; + + *ptr = '\0'; + + while (_cups_isspace(*vptr)) + vptr ++; + + if (*vptr == '*') + choice[0] = '\0'; + else + { + for (ptr = choice; *vptr && !_cups_isspace(*vptr); vptr ++) + if (ptr < (choice + sizeof(choice) - 1)) + *ptr++ = *vptr; + + *ptr = '\0'; + } + + if (!_cups_strncasecmp(option, "Custom", 6) && !_cups_strcasecmp(choice, "True")) + { + _cups_strcpy(option, option + 6); + strlcpy(choice, "Custom", sizeof(choice)); + } + + constptr->option = ppdFindOption(ppd, option); + constptr->choice = ppdFindChoice(constptr->option, choice); + constptr->installable = ppd_is_installable(installable, option); + consts->installable |= constptr->installable; + + if (!constptr->option || (!constptr->choice && choice[0])) + { + DEBUG_printf(("8ppd_load_constraints: Unknown option *%s %s!", + option, choice)); + break; + } + } + + if (!vptr) + cupsArrayAdd(ppd->cups_uiconstraints, consts); + else + { + free(consts->constraints); + free(consts); + } + } +} + + +/* + * 'ppd_test_constraints()' - See if any constraints are active. + */ + +static cups_array_t * /* O - Array of active constraints */ +ppd_test_constraints( + ppd_file_t *ppd, /* I - PPD file */ + const char *option, /* I - Current option */ + const char *choice, /* I - Current choice */ + int num_options, /* I - Number of additional options */ + cups_option_t *options, /* I - Additional options */ + int which) /* I - Which constraints to test */ +{ + int i; /* Looping var */ + _ppd_cups_uiconsts_t *consts; /* Current constraints */ + _ppd_cups_uiconst_t *constptr; /* Current constraint */ + ppd_choice_t key, /* Search key */ + *marked; /* Marked choice */ + cups_array_t *active = NULL; /* Active constraints */ + const char *value, /* Current value */ + *firstvalue; /* AP_FIRSTPAGE_Keyword value */ + char firstpage[255]; /* AP_FIRSTPAGE_Keyword string */ + + + DEBUG_printf(("7ppd_test_constraints(ppd=%p, option=\"%s\", choice=\"%s\", " + "num_options=%d, options=%p, which=%d)", ppd, option, choice, + num_options, options, which)); + + if (!ppd->cups_uiconstraints) + ppd_load_constraints(ppd); + + DEBUG_printf(("9ppd_test_constraints: %d constraints!", + cupsArrayCount(ppd->cups_uiconstraints))); + + cupsArraySave(ppd->marked); + + for (consts = (_ppd_cups_uiconsts_t *)cupsArrayFirst(ppd->cups_uiconstraints); + consts; + consts = (_ppd_cups_uiconsts_t *)cupsArrayNext(ppd->cups_uiconstraints)) + { + DEBUG_printf(("9ppd_test_constraints: installable=%d, resolver=\"%s\", " + "num_constraints=%d option1=\"%s\", choice1=\"%s\", " + "option2=\"%s\", choice2=\"%s\", ...", + consts->installable, consts->resolver, consts->num_constraints, + consts->constraints[0].option->keyword, + consts->constraints[0].choice ? + consts->constraints[0].choice->choice : "", + consts->constraints[1].option->keyword, + consts->constraints[1].choice ? + consts->constraints[1].choice->choice : "")); + + if (consts->installable && which < _PPD_INSTALLABLE_CONSTRAINTS) + continue; /* Skip installable option constraint */ + + if (!consts->installable && which == _PPD_INSTALLABLE_CONSTRAINTS) + continue; /* Skip non-installable option constraint */ + + if ((which == _PPD_OPTION_CONSTRAINTS || which == _PPD_INSTALLABLE_CONSTRAINTS) && option) + { + /* + * Skip constraints that do not involve the current option... + */ + + for (i = consts->num_constraints, constptr = consts->constraints; + i > 0; + i --, constptr ++) + { + if (!_cups_strcasecmp(constptr->option->keyword, option)) + break; + + if (!_cups_strncasecmp(option, "AP_FIRSTPAGE_", 13) && + !_cups_strcasecmp(constptr->option->keyword, option + 13)) + break; + } + + if (!i) + continue; + } + + DEBUG_puts("9ppd_test_constraints: Testing..."); + + for (i = consts->num_constraints, constptr = consts->constraints; + i > 0; + i --, constptr ++) + { + DEBUG_printf(("9ppd_test_constraints: %s=%s?", constptr->option->keyword, + constptr->choice ? constptr->choice->choice : "")); + + if (constptr->choice && + (!_cups_strcasecmp(constptr->option->keyword, "PageSize") || + !_cups_strcasecmp(constptr->option->keyword, "PageRegion"))) + { + /* + * PageSize and PageRegion are used depending on the selected input slot + * and manual feed mode. Validate against the selected page size instead + * of an individual option... + */ + + if (option && choice && + (!_cups_strcasecmp(option, "PageSize") || + !_cups_strcasecmp(option, "PageRegion"))) + { + value = choice; + } + else if ((value = cupsGetOption("PageSize", num_options, + options)) == NULL) + if ((value = cupsGetOption("PageRegion", num_options, + options)) == NULL) + if ((value = cupsGetOption("media", num_options, options)) == NULL) + { + ppd_size_t *size = ppdPageSize(ppd, NULL); + + if (size) + value = size->name; + } + + if (value && !_cups_strncasecmp(value, "Custom.", 7)) + value = "Custom"; + + if (option && choice && + (!_cups_strcasecmp(option, "AP_FIRSTPAGE_PageSize") || + !_cups_strcasecmp(option, "AP_FIRSTPAGE_PageRegion"))) + { + firstvalue = choice; + } + else if ((firstvalue = cupsGetOption("AP_FIRSTPAGE_PageSize", + num_options, options)) == NULL) + firstvalue = cupsGetOption("AP_FIRSTPAGE_PageRegion", num_options, + options); + + if (firstvalue && !_cups_strncasecmp(firstvalue, "Custom.", 7)) + firstvalue = "Custom"; + + if ((!value || _cups_strcasecmp(value, constptr->choice->choice)) && + (!firstvalue || _cups_strcasecmp(firstvalue, constptr->choice->choice))) + { + DEBUG_puts("9ppd_test_constraints: NO"); + break; + } + } + else if (constptr->choice) + { + /* + * Compare against the constrained choice... + */ + + if (option && choice && !_cups_strcasecmp(option, constptr->option->keyword)) + { + if (!_cups_strncasecmp(choice, "Custom.", 7)) + value = "Custom"; + else + value = choice; + } + else if ((value = cupsGetOption(constptr->option->keyword, num_options, + options)) != NULL) + { + if (!_cups_strncasecmp(value, "Custom.", 7)) + value = "Custom"; + } + else if (constptr->choice->marked) + value = constptr->choice->choice; + else + value = NULL; + + /* + * Now check AP_FIRSTPAGE_option... + */ + + snprintf(firstpage, sizeof(firstpage), "AP_FIRSTPAGE_%s", + constptr->option->keyword); + + if (option && choice && !_cups_strcasecmp(option, firstpage)) + { + if (!_cups_strncasecmp(choice, "Custom.", 7)) + firstvalue = "Custom"; + else + firstvalue = choice; + } + else if ((firstvalue = cupsGetOption(firstpage, num_options, + options)) != NULL) + { + if (!_cups_strncasecmp(firstvalue, "Custom.", 7)) + firstvalue = "Custom"; + } + else + firstvalue = NULL; + + DEBUG_printf(("9ppd_test_constraints: value=%s, firstvalue=%s", value, + firstvalue)); + + if ((!value || _cups_strcasecmp(value, constptr->choice->choice)) && + (!firstvalue || _cups_strcasecmp(firstvalue, constptr->choice->choice))) + { + DEBUG_puts("9ppd_test_constraints: NO"); + break; + } + } + else if (option && choice && + !_cups_strcasecmp(option, constptr->option->keyword)) + { + if (!_cups_strcasecmp(choice, "None") || !_cups_strcasecmp(choice, "Off") || + !_cups_strcasecmp(choice, "False")) + { + DEBUG_puts("9ppd_test_constraints: NO"); + break; + } + } + else if ((value = cupsGetOption(constptr->option->keyword, num_options, + options)) != NULL) + { + if (!_cups_strcasecmp(value, "None") || !_cups_strcasecmp(value, "Off") || + !_cups_strcasecmp(value, "False")) + { + DEBUG_puts("9ppd_test_constraints: NO"); + break; + } + } + else + { + key.option = constptr->option; + + if ((marked = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) + == NULL || + (!_cups_strcasecmp(marked->choice, "None") || + !_cups_strcasecmp(marked->choice, "Off") || + !_cups_strcasecmp(marked->choice, "False"))) + { + DEBUG_puts("9ppd_test_constraints: NO"); + break; + } + } + } + + if (i <= 0) + { + if (!active) + active = cupsArrayNew(NULL, NULL); + + cupsArrayAdd(active, consts); + DEBUG_puts("9ppd_test_constraints: Added..."); + } + } + + cupsArrayRestore(ppd->marked); + + DEBUG_printf(("8ppd_test_constraints: Found %d active constraints!", + cupsArrayCount(active))); + + return (active); +} diff --git a/cups/ppd-custom.c b/cups/ppd-custom.c new file mode 100644 index 0000000..8cdd7c8 --- /dev/null +++ b/cups/ppd-custom.c @@ -0,0 +1,98 @@ +/* + * PPD custom option routines for CUPS. + * + * Copyright 2007-2015 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + * + * PostScript is a trademark of Adobe Systems, Inc. + */ + +/* + * Include necessary headers. + */ + +#include "cups-private.h" +#include "ppd-private.h" +#include "debug-internal.h" + + +/* + * 'ppdFindCustomOption()' - Find a custom option. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ppd_coption_t * /* O - Custom option or NULL */ +ppdFindCustomOption(ppd_file_t *ppd, /* I - PPD file */ + const char *keyword)/* I - Custom option name */ +{ + ppd_coption_t key; /* Custom option search key */ + + + if (!ppd) + return (NULL); + + strlcpy(key.keyword, keyword, sizeof(key.keyword)); + return ((ppd_coption_t *)cupsArrayFind(ppd->coptions, &key)); +} + + +/* + * 'ppdFindCustomParam()' - Find a parameter for a custom option. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ppd_cparam_t * /* O - Custom parameter or NULL */ +ppdFindCustomParam(ppd_coption_t *opt, /* I - Custom option */ + const char *name) /* I - Parameter name */ +{ + ppd_cparam_t *param; /* Current custom parameter */ + + + if (!opt) + return (NULL); + + for (param = (ppd_cparam_t *)cupsArrayFirst(opt->params); + param; + param = (ppd_cparam_t *)cupsArrayNext(opt->params)) + if (!_cups_strcasecmp(param->name, name)) + break; + + return (param); +} + + +/* + * 'ppdFirstCustomParam()' - Return the first parameter for a custom option. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ppd_cparam_t * /* O - Custom parameter or NULL */ +ppdFirstCustomParam(ppd_coption_t *opt) /* I - Custom option */ +{ + if (!opt) + return (NULL); + + return ((ppd_cparam_t *)cupsArrayFirst(opt->params)); +} + + +/* + * 'ppdNextCustomParam()' - Return the next parameter for a custom option. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ppd_cparam_t * /* O - Custom parameter or NULL */ +ppdNextCustomParam(ppd_coption_t *opt) /* I - Custom option */ +{ + if (!opt) + return (NULL); + + return ((ppd_cparam_t *)cupsArrayNext(opt->params)); +} diff --git a/cups/ppd-emit.c b/cups/ppd-emit.c new file mode 100644 index 0000000..8bffb2b --- /dev/null +++ b/cups/ppd-emit.c @@ -0,0 +1,1214 @@ +/* + * PPD code emission routines for CUPS. + * + * Copyright 2007-2019 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + * + * PostScript is a trademark of Adobe Systems, Inc. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include "ppd.h" +#if defined(_WIN32) || defined(__EMX__) +# include +#else +# include +#endif /* _WIN32 || __EMX__ */ + + +/* + * Local functions... + */ + +static int ppd_compare_cparams(ppd_cparam_t *a, ppd_cparam_t *b); +static void ppd_handle_media(ppd_file_t *ppd); + + +/* + * Local globals... + */ + +static const char ppd_custom_code[] = + "pop pop pop\n" + "<>setpagedevice\n"; + + +/* + * 'ppdCollect()' - Collect all marked options that reside in the specified + * section. + * + * The choices array should be freed using @code free@ when you are + * finished with it. + */ + +int /* O - Number of options marked */ +ppdCollect(ppd_file_t *ppd, /* I - PPD file data */ + ppd_section_t section, /* I - Section to collect */ + ppd_choice_t ***choices) /* O - Pointers to choices */ +{ + return (ppdCollect2(ppd, section, 0.0, choices)); +} + + +/* + * 'ppdCollect2()' - Collect all marked options that reside in the + * specified section and minimum order. + * + * The choices array should be freed using @code free@ when you are + * finished with it. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - Number of options marked */ +ppdCollect2(ppd_file_t *ppd, /* I - PPD file data */ + ppd_section_t section, /* I - Section to collect */ + float min_order, /* I - Minimum OrderDependency value */ + ppd_choice_t ***choices) /* O - Pointers to choices */ +{ + ppd_choice_t *c; /* Current choice */ + ppd_section_t csection; /* Current section */ + float corder; /* Current OrderDependency value */ + int count; /* Number of choices collected */ + ppd_choice_t **collect; /* Collected choices */ + float *orders; /* Collected order values */ + + + DEBUG_printf(("ppdCollect2(ppd=%p, section=%d, min_order=%f, choices=%p)", + ppd, section, min_order, choices)); + + if (!ppd || !choices) + { + if (choices) + *choices = NULL; + + return (0); + } + + /* + * Allocate memory for up to N selected choices... + */ + + count = 0; + if ((collect = calloc(sizeof(ppd_choice_t *), + (size_t)cupsArrayCount(ppd->marked))) == NULL) + { + *choices = NULL; + return (0); + } + + if ((orders = calloc(sizeof(float), (size_t)cupsArrayCount(ppd->marked))) == NULL) + { + *choices = NULL; + free(collect); + return (0); + } + + /* + * Loop through all options and add choices as needed... + */ + + for (c = (ppd_choice_t *)cupsArrayFirst(ppd->marked); + c; + c = (ppd_choice_t *)cupsArrayNext(ppd->marked)) + { + csection = c->option->section; + corder = c->option->order; + + if (!strcmp(c->choice, "Custom")) + { + ppd_attr_t *attr; /* NonUIOrderDependency value */ + float aorder; /* Order value */ + char asection[17], /* Section name */ + amain[PPD_MAX_NAME + 1], + aoption[PPD_MAX_NAME]; + /* *CustomFoo and True */ + + + for (attr = ppdFindAttr(ppd, "NonUIOrderDependency", NULL); + attr; + attr = ppdFindNextAttr(ppd, "NonUIOrderDependency", NULL)) + if (attr->value && + sscanf(attr->value, "%f%16s%41s%40s", &aorder, asection, amain, + aoption) == 4 && + !strncmp(amain, "*Custom", 7) && + !strcmp(amain + 7, c->option->keyword) && !strcmp(aoption, "True")) + { + /* + * Use this NonUIOrderDependency... + */ + + corder = aorder; + + if (!strcmp(asection, "DocumentSetup")) + csection = PPD_ORDER_DOCUMENT; + else if (!strcmp(asection, "ExitServer")) + csection = PPD_ORDER_EXIT; + else if (!strcmp(asection, "JCLSetup")) + csection = PPD_ORDER_JCL; + else if (!strcmp(asection, "PageSetup")) + csection = PPD_ORDER_PAGE; + else if (!strcmp(asection, "Prolog")) + csection = PPD_ORDER_PROLOG; + else + csection = PPD_ORDER_ANY; + + break; + } + } + + if (csection == section && corder >= min_order) + { + collect[count] = c; + orders[count] = corder; + count ++; + } + } + + /* + * If we have more than 1 marked choice, sort them... + */ + + if (count > 1) + { + int i, j; /* Looping vars */ + + for (i = 0; i < (count - 1); i ++) + for (j = i + 1; j < count; j ++) + if (orders[i] > orders[j]) + { + c = collect[i]; + corder = orders[i]; + collect[i] = collect[j]; + orders[i] = orders[j]; + collect[j] = c; + orders[j] = corder; + } + } + + free(orders); + + DEBUG_printf(("2ppdCollect2: %d marked choices...", count)); + + /* + * Return the array and number of choices; if 0, free the array since + * it isn't needed. + */ + + if (count > 0) + { + *choices = collect; + return (count); + } + else + { + *choices = NULL; + free(collect); + return (0); + } +} + + +/* + * 'ppdEmit()' - Emit code for marked options to a file. + */ + +int /* O - 0 on success, -1 on failure */ +ppdEmit(ppd_file_t *ppd, /* I - PPD file record */ + FILE *fp, /* I - File to write to */ + ppd_section_t section) /* I - Section to write */ +{ + return (ppdEmitAfterOrder(ppd, fp, section, 0, 0.0)); +} + + +/* + * 'ppdEmitAfterOrder()' - Emit a subset of the code for marked options to a file. + * + * When "limit" is non-zero, this function only emits options whose + * OrderDependency value is greater than or equal to "min_order". + * + * When "limit" is zero, this function is identical to ppdEmit(). + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 0 on success, -1 on failure */ +ppdEmitAfterOrder( + ppd_file_t *ppd, /* I - PPD file record */ + FILE *fp, /* I - File to write to */ + ppd_section_t section, /* I - Section to write */ + int limit, /* I - Non-zero to use min_order */ + float min_order) /* I - Lowest OrderDependency */ +{ + char *buffer; /* Option code */ + int status; /* Return status */ + + + /* + * Range check input... + */ + + if (!ppd || !fp) + return (-1); + + /* + * Get the string... + */ + + buffer = ppdEmitString(ppd, section, limit ? min_order : 0.0f); + + /* + * Write it as needed and return... + */ + + if (buffer) + { + status = fputs(buffer, fp) < 0 ? -1 : 0; + + free(buffer); + } + else + status = 0; + + return (status); +} + + +/* + * 'ppdEmitFd()' - Emit code for marked options to a file. + */ + +int /* O - 0 on success, -1 on failure */ +ppdEmitFd(ppd_file_t *ppd, /* I - PPD file record */ + int fd, /* I - File to write to */ + ppd_section_t section) /* I - Section to write */ +{ + char *buffer, /* Option code */ + *bufptr; /* Pointer into code */ + size_t buflength; /* Length of option code */ + ssize_t bytes; /* Bytes written */ + int status; /* Return status */ + + + /* + * Range check input... + */ + + if (!ppd || fd < 0) + return (-1); + + /* + * Get the string... + */ + + buffer = ppdEmitString(ppd, section, 0.0); + + /* + * Write it as needed and return... + */ + + if (buffer) + { + buflength = strlen(buffer); + bufptr = buffer; + bytes = 0; + + while (buflength > 0) + { +#ifdef _WIN32 + if ((bytes = (ssize_t)write(fd, bufptr, (unsigned)buflength)) < 0) +#else + if ((bytes = write(fd, bufptr, buflength)) < 0) +#endif /* _WIN32 */ + { + if (errno == EAGAIN || errno == EINTR) + continue; + + break; + } + + buflength -= (size_t)bytes; + bufptr += bytes; + } + + status = bytes < 0 ? -1 : 0; + + free(buffer); + } + else + status = 0; + + return (status); +} + + +/* + * 'ppdEmitJCL()' - Emit code for JCL options to a file. + */ + +int /* O - 0 on success, -1 on failure */ +ppdEmitJCL(ppd_file_t *ppd, /* I - PPD file record */ + FILE *fp, /* I - File to write to */ + int job_id, /* I - Job ID */ + const char *user, /* I - Username */ + const char *title) /* I - Title */ +{ + char *ptr; /* Pointer into JCL string */ + char temp[65], /* Local title string */ + displaymsg[33]; /* Local display string */ + + + /* + * Range check the input... + */ + + if (!ppd || !ppd->jcl_begin || !ppd->jcl_ps) + return (0); + + /* + * See if the printer supports HP PJL... + */ + + if (!strncmp(ppd->jcl_begin, "\033%-12345X@", 10)) + { + /* + * This printer uses HP PJL commands for output; filter the output + * so that we only have a single "@PJL JOB" command in the header... + * + * To avoid bugs in the PJL implementation of certain vendors' products + * (Xerox in particular), we add a dummy "@PJL" command at the beginning + * of the PJL commands to initialize PJL processing. + */ + + ppd_attr_t *charset; /* PJL charset */ + ppd_attr_t *display; /* PJL display command */ + + + if ((charset = ppdFindAttr(ppd, "cupsPJLCharset", NULL)) != NULL) + { + if (!charset->value || _cups_strcasecmp(charset->value, "UTF-8")) + charset = NULL; + } + + if ((display = ppdFindAttr(ppd, "cupsPJLDisplay", NULL)) != NULL) + { + if (!display->value) + display = NULL; + } + + fputs("\033%-12345X@PJL\n", fp); + for (ptr = ppd->jcl_begin + 9; *ptr;) + if (!strncmp(ptr, "@PJL JOB", 8)) + { + /* + * Skip job command... + */ + + for (;*ptr; ptr ++) + if (*ptr == '\n') + break; + + if (*ptr) + ptr ++; + } + else + { + /* + * Copy line... + */ + + for (;*ptr; ptr ++) + { + putc(*ptr, fp); + if (*ptr == '\n') + break; + } + + if (*ptr) + ptr ++; + } + + /* + * Clean up the job title... + */ + + if (!title) + title = "Unknown"; + + if ((ptr = strrchr(title, '/')) != NULL) + { + /* + * Only show basename of file path... + */ + + title = ptr + 1; + } + + if (!strncmp(title, "smbprn.", 7)) + { + /* + * Skip leading smbprn.######## from Samba jobs... + */ + + for (title += 7; *title && isdigit(*title & 255); title ++); + while (_cups_isspace(*title)) + title ++; + + if ((ptr = strstr(title, " - ")) != NULL) + { + /* + * Skip application name in "Some Application - Title of job"... + */ + + title = ptr + 3; + } + } + + /* + * Replace double quotes with single quotes and UTF-8 characters with + * question marks so that the title does not cause a PJL syntax error. + */ + + strlcpy(temp, title, sizeof(temp)); + + for (ptr = temp; *ptr; ptr ++) + if (*ptr == '\"') + *ptr = '\''; + else if (!charset && (*ptr & 128)) + *ptr = '?'; + + /* + * CUPS STR #3125: Long PJL JOB NAME causes problems with some printers + * + * Generate the display message, truncating at 32 characters + nul to avoid + * issues with some printer's PJL implementations... + */ + + if (!user) + user = "anonymous"; + + snprintf(displaymsg, sizeof(displaymsg), "%d %s %s", job_id, user, temp); + + /* + * Send PJL JOB and PJL RDYMSG commands before we enter PostScript mode... + */ + + if (display && strcmp(display->value, "job")) + fprintf(fp, "@PJL JOB NAME = \"%s\"\n", temp); + else if (display && !strcmp(display->value, "rdymsg")) + fprintf(fp, "@PJL RDYMSG DISPLAY = \"%s\"\n", displaymsg); + else + fprintf(fp, "@PJL JOB NAME = \"%s\" DISPLAY = \"%s\"\n", temp, + displaymsg); + + /* + * Replace double quotes with single quotes and UTF-8 characters with + * question marks so that the user does not cause a PJL syntax error. + */ + + strlcpy(temp, user, sizeof(temp)); + + for (ptr = temp; *ptr; ptr ++) + if (*ptr == '\"') + *ptr = '\''; + else if (!charset && (*ptr & 128)) + *ptr = '?'; + + fprintf(fp, "@PJL SET USERNAME = \"%s\"\n", temp); + } + else + fputs(ppd->jcl_begin, fp); + + ppdEmit(ppd, fp, PPD_ORDER_JCL); + fputs(ppd->jcl_ps, fp); + + return (0); +} + + +/* + * 'ppdEmitJCLEnd()' - Emit JCLEnd code to a file. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 0 on success, -1 on failure */ +ppdEmitJCLEnd(ppd_file_t *ppd, /* I - PPD file record */ + FILE *fp) /* I - File to write to */ +{ + /* + * Range check the input... + */ + + if (!ppd) + return (0); + + if (!ppd->jcl_end) + { + if (ppd->num_filters == 0) + putc(0x04, fp); + + return (0); + } + + /* + * See if the printer supports HP PJL... + */ + + if (!strncmp(ppd->jcl_end, "\033%-12345X@", 10)) + { + /* + * This printer uses HP PJL commands for output; filter the output + * so that we only have a single "@PJL JOB" command in the header... + * + * To avoid bugs in the PJL implementation of certain vendors' products + * (Xerox in particular), we add a dummy "@PJL" command at the beginning + * of the PJL commands to initialize PJL processing. + */ + + fputs("\033%-12345X@PJL\n", fp); + fputs("@PJL RDYMSG DISPLAY = \"\"\n", fp); + fputs(ppd->jcl_end + 9, fp); + } + else + fputs(ppd->jcl_end, fp); + + return (0); +} + + +/* + * 'ppdEmitString()' - Get a string containing the code for marked options. + * + * When "min_order" is greater than zero, this function only includes options + * whose OrderDependency value is greater than or equal to "min_order". + * Otherwise, all options in the specified section are included in the + * returned string. + * + * The return string is allocated on the heap and should be freed using + * @code free@ when you are done with it. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +char * /* O - String containing option code or @code NULL@ if there is no option code */ +ppdEmitString(ppd_file_t *ppd, /* I - PPD file record */ + ppd_section_t section, /* I - Section to write */ + float min_order) /* I - Lowest OrderDependency */ +{ + int i, j, /* Looping vars */ + count; /* Number of choices */ + ppd_choice_t **choices; /* Choices */ + ppd_size_t *size; /* Custom page size */ + ppd_coption_t *coption; /* Custom option */ + ppd_cparam_t *cparam; /* Custom parameter */ + size_t bufsize; /* Size of string buffer needed */ + char *buffer, /* String buffer */ + *bufptr, /* Pointer into buffer */ + *bufend; /* End of buffer */ + struct lconv *loc; /* Locale data */ + + + DEBUG_printf(("ppdEmitString(ppd=%p, section=%d, min_order=%f)", + ppd, section, min_order)); + + /* + * Range check input... + */ + + if (!ppd) + return (NULL); + + /* + * Use PageSize or PageRegion as required... + */ + + ppd_handle_media(ppd); + + /* + * Collect the options we need to emit... + */ + + if ((count = ppdCollect2(ppd, section, min_order, &choices)) == 0) + return (NULL); + + /* + * Count the number of bytes that are required to hold all of the + * option code... + */ + + for (i = 0, bufsize = 1; i < count; i ++) + { + if (section == PPD_ORDER_JCL) + { + if (!_cups_strcasecmp(choices[i]->choice, "Custom") && + (coption = ppdFindCustomOption(ppd, choices[i]->option->keyword)) + != NULL) + { + /* + * Add space to account for custom parameter substitution... + */ + + for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); + cparam; + cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) + { + switch (cparam->type) + { + case PPD_CUSTOM_UNKNOWN : + break; + + case PPD_CUSTOM_CURVE : + case PPD_CUSTOM_INVCURVE : + case PPD_CUSTOM_POINTS : + case PPD_CUSTOM_REAL : + case PPD_CUSTOM_INT : + bufsize += 10; + break; + + case PPD_CUSTOM_PASSCODE : + case PPD_CUSTOM_PASSWORD : + case PPD_CUSTOM_STRING : + if (cparam->current.custom_string) + bufsize += strlen(cparam->current.custom_string); + break; + } + } + } + } + else if (section != PPD_ORDER_EXIT) + { + bufsize += 3; /* [{\n */ + + if ((!_cups_strcasecmp(choices[i]->option->keyword, "PageSize") || + !_cups_strcasecmp(choices[i]->option->keyword, "PageRegion")) && + !_cups_strcasecmp(choices[i]->choice, "Custom")) + { + DEBUG_puts("2ppdEmitString: Custom size set!"); + + bufsize += 37; /* %%BeginFeature: *CustomPageSize True\n */ + bufsize += 50; /* Five 9-digit numbers + newline */ + } + else if (!_cups_strcasecmp(choices[i]->choice, "Custom") && + (coption = ppdFindCustomOption(ppd, + choices[i]->option->keyword)) + != NULL) + { + bufsize += 23 + strlen(choices[i]->option->keyword) + 6; + /* %%BeginFeature: *Customkeyword True\n */ + + + for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); + cparam; + cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) + { + switch (cparam->type) + { + case PPD_CUSTOM_UNKNOWN : + break; + + case PPD_CUSTOM_CURVE : + case PPD_CUSTOM_INVCURVE : + case PPD_CUSTOM_POINTS : + case PPD_CUSTOM_REAL : + case PPD_CUSTOM_INT : + bufsize += 10; + break; + + case PPD_CUSTOM_PASSCODE : + case PPD_CUSTOM_PASSWORD : + case PPD_CUSTOM_STRING : + bufsize += 3; + if (cparam->current.custom_string) + bufsize += 4 * strlen(cparam->current.custom_string); + break; + } + } + } + else + bufsize += 17 + strlen(choices[i]->option->keyword) + 1 + + strlen(choices[i]->choice) + 1; + /* %%BeginFeature: *keyword choice\n */ + + bufsize += 13; /* %%EndFeature\n */ + bufsize += 22; /* } stopped cleartomark\n */ + } + + if (choices[i]->code) + bufsize += strlen(choices[i]->code) + 1; + else + bufsize += strlen(ppd_custom_code); + } + + /* + * Allocate memory... + */ + + DEBUG_printf(("2ppdEmitString: Allocating %d bytes for string...", + (int)bufsize)); + + if ((buffer = calloc(1, bufsize)) == NULL) + { + free(choices); + return (NULL); + } + + bufend = buffer + bufsize - 1; + loc = localeconv(); + + /* + * Copy the option code to the buffer... + */ + + for (i = 0, bufptr = buffer; i < count; i ++, bufptr += strlen(bufptr)) + if (section == PPD_ORDER_JCL) + { + if (!_cups_strcasecmp(choices[i]->choice, "Custom") && + choices[i]->code && + (coption = ppdFindCustomOption(ppd, choices[i]->option->keyword)) + != NULL) + { + /* + * Handle substitutions in custom JCL options... + */ + + char *cptr; /* Pointer into code */ + int pnum; /* Parameter number */ + + + for (cptr = choices[i]->code; *cptr && bufptr < bufend;) + { + if (*cptr == '\\') + { + cptr ++; + + if (isdigit(*cptr & 255)) + { + /* + * Substitute parameter... + */ + + pnum = *cptr++ - '0'; + while (isdigit(*cptr & 255)) + pnum = pnum * 10 + *cptr++ - '0'; + + for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); + cparam; + cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) + if (cparam->order == pnum) + break; + + if (cparam) + { + switch (cparam->type) + { + case PPD_CUSTOM_UNKNOWN : + break; + + case PPD_CUSTOM_CURVE : + case PPD_CUSTOM_INVCURVE : + case PPD_CUSTOM_POINTS : + case PPD_CUSTOM_REAL : + bufptr = _cupsStrFormatd(bufptr, bufend, + cparam->current.custom_real, + loc); + break; + + case PPD_CUSTOM_INT : + snprintf(bufptr, (size_t)(bufend - bufptr), "%d", cparam->current.custom_int); + bufptr += strlen(bufptr); + break; + + case PPD_CUSTOM_PASSCODE : + case PPD_CUSTOM_PASSWORD : + case PPD_CUSTOM_STRING : + if (cparam->current.custom_string) + { + strlcpy(bufptr, cparam->current.custom_string, (size_t)(bufend - bufptr)); + bufptr += strlen(bufptr); + } + break; + } + } + } + else if (*cptr) + *bufptr++ = *cptr++; + } + else + *bufptr++ = *cptr++; + } + } + else if (choices[i]->code) + { + /* + * Otherwise just copy the option code directly... + */ + + strlcpy(bufptr, choices[i]->code, (size_t)(bufend - bufptr + 1)); + bufptr += strlen(bufptr); + } + } + else if (section != PPD_ORDER_EXIT) + { + /* + * Add wrapper commands to prevent printer errors for unsupported + * options... + */ + + strlcpy(bufptr, "[{\n", (size_t)(bufend - bufptr + 1)); + bufptr += 3; + + /* + * Send DSC comments with option... + */ + + DEBUG_printf(("2ppdEmitString: Adding code for %s=%s...", + choices[i]->option->keyword, choices[i]->choice)); + + if ((!_cups_strcasecmp(choices[i]->option->keyword, "PageSize") || + !_cups_strcasecmp(choices[i]->option->keyword, "PageRegion")) && + !_cups_strcasecmp(choices[i]->choice, "Custom")) + { + /* + * Variable size; write out standard size options, using the + * parameter positions defined in the PPD file... + */ + + ppd_attr_t *attr; /* PPD attribute */ + int pos, /* Position of custom value */ + orientation; /* Orientation to use */ + float values[5]; /* Values for custom command */ + + + strlcpy(bufptr, "%%BeginFeature: *CustomPageSize True\n", (size_t)(bufend - bufptr + 1)); + bufptr += 37; + + size = ppdPageSize(ppd, "Custom"); + + memset(values, 0, sizeof(values)); + + if ((attr = ppdFindAttr(ppd, "ParamCustomPageSize", "Width")) != NULL) + { + pos = atoi(attr->value) - 1; + + if (pos < 0 || pos > 4) + pos = 0; + } + else + pos = 0; + + values[pos] = size->width; + + if ((attr = ppdFindAttr(ppd, "ParamCustomPageSize", "Height")) != NULL) + { + pos = atoi(attr->value) - 1; + + if (pos < 0 || pos > 4) + pos = 1; + } + else + pos = 1; + + values[pos] = size->length; + + /* + * According to the Adobe PPD specification, an orientation of 1 + * will produce a print that comes out upside-down with the X + * axis perpendicular to the direction of feed, which is exactly + * what we want to be consistent with non-PS printers. + * + * We could also use an orientation of 3 to produce output that + * comes out rightside-up (this is the default for many large format + * printer PPDs), however for consistency we will stick with the + * value 1. + * + * If we wanted to get fancy, we could use orientations of 0 or + * 2 and swap the width and length, however we don't want to get + * fancy, we just want it to work consistently. + * + * The orientation value is range limited by the Orientation + * parameter definition, so certain non-PS printer drivers that + * only support an Orientation of 0 will get the value 0 as + * expected. + */ + + orientation = 1; + + if ((attr = ppdFindAttr(ppd, "ParamCustomPageSize", + "Orientation")) != NULL) + { + int min_orient, max_orient; /* Minimum and maximum orientations */ + + + if (sscanf(attr->value, "%d%*s%d%d", &pos, &min_orient, + &max_orient) != 3) + pos = 4; + else + { + pos --; + + if (pos < 0 || pos > 4) + pos = 4; + + if (orientation > max_orient) + orientation = max_orient; + else if (orientation < min_orient) + orientation = min_orient; + } + } + else + pos = 4; + + values[pos] = (float)orientation; + + for (pos = 0; pos < 5; pos ++) + { + bufptr = _cupsStrFormatd(bufptr, bufend, values[pos], loc); + *bufptr++ = '\n'; + } + + if (!choices[i]->code) + { + /* + * This can happen with certain buggy PPD files that don't include + * a CustomPageSize command sequence... We just use a generic + * Level 2 command sequence... + */ + + strlcpy(bufptr, ppd_custom_code, (size_t)(bufend - bufptr + 1)); + bufptr += strlen(bufptr); + } + } + else if (!_cups_strcasecmp(choices[i]->choice, "Custom") && + (coption = ppdFindCustomOption(ppd, choices[i]->option->keyword)) + != NULL) + { + /* + * Custom option... + */ + + const char *s; /* Pointer into string value */ + cups_array_t *params; /* Parameters in the correct output order */ + + + params = cupsArrayNew((cups_array_func_t)ppd_compare_cparams, NULL); + + for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); + cparam; + cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) + cupsArrayAdd(params, cparam); + + snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%%%%BeginFeature: *Custom%s True\n", coption->keyword); + bufptr += strlen(bufptr); + + for (cparam = (ppd_cparam_t *)cupsArrayFirst(params); + cparam; + cparam = (ppd_cparam_t *)cupsArrayNext(params)) + { + switch (cparam->type) + { + case PPD_CUSTOM_UNKNOWN : + break; + + case PPD_CUSTOM_CURVE : + case PPD_CUSTOM_INVCURVE : + case PPD_CUSTOM_POINTS : + case PPD_CUSTOM_REAL : + bufptr = _cupsStrFormatd(bufptr, bufend, + cparam->current.custom_real, loc); + *bufptr++ = '\n'; + break; + + case PPD_CUSTOM_INT : + snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%d\n", cparam->current.custom_int); + bufptr += strlen(bufptr); + break; + + case PPD_CUSTOM_PASSCODE : + case PPD_CUSTOM_PASSWORD : + case PPD_CUSTOM_STRING : + *bufptr++ = '('; + + if (cparam->current.custom_string) + { + for (s = cparam->current.custom_string; *s; s ++) + { + if (*s < ' ' || *s == '(' || *s == ')' || *s >= 127) + { + snprintf(bufptr, (size_t)(bufend - bufptr + 1), "\\%03o", *s & 255); + bufptr += strlen(bufptr); + } + else + *bufptr++ = *s; + } + } + + *bufptr++ = ')'; + *bufptr++ = '\n'; + break; + } + } + + cupsArrayDelete(params); + } + else + { + snprintf(bufptr, (size_t)(bufend - bufptr + 1), "%%%%BeginFeature: *%s %s\n", choices[i]->option->keyword, choices[i]->choice); + bufptr += strlen(bufptr); + } + + if (choices[i]->code && choices[i]->code[0]) + { + j = (int)strlen(choices[i]->code); + memcpy(bufptr, choices[i]->code, (size_t)j); + bufptr += j; + + if (choices[i]->code[j - 1] != '\n') + *bufptr++ = '\n'; + } + + strlcpy(bufptr, "%%EndFeature\n" + "} stopped cleartomark\n", (size_t)(bufend - bufptr + 1)); + bufptr += strlen(bufptr); + + DEBUG_printf(("2ppdEmitString: Offset in string is %d...", + (int)(bufptr - buffer))); + } + else if (choices[i]->code) + { + strlcpy(bufptr, choices[i]->code, (size_t)(bufend - bufptr + 1)); + bufptr += strlen(bufptr); + } + + /* + * Nul-terminate, free, and return... + */ + + *bufptr = '\0'; + + free(choices); + + return (buffer); +} + + +/* + * 'ppd_compare_cparams()' - Compare the order of two custom parameters. + */ + +static int /* O - Result of comparison */ +ppd_compare_cparams(ppd_cparam_t *a, /* I - First parameter */ + ppd_cparam_t *b) /* I - Second parameter */ +{ + return (a->order - b->order); +} + + +/* + * 'ppd_handle_media()' - Handle media selection... + */ + +static void +ppd_handle_media(ppd_file_t *ppd) /* I - PPD file */ +{ + ppd_choice_t *manual_feed, /* ManualFeed choice, if any */ + *input_slot; /* InputSlot choice, if any */ + ppd_size_t *size; /* Current media size */ + ppd_attr_t *rpr; /* RequiresPageRegion value */ + + + /* + * This function determines what page size code to use, if any, for the + * current media size, InputSlot, and ManualFeed selections. + * + * We use the PageSize code if: + * + * 1. A custom media size is selected. + * 2. ManualFeed and InputSlot are not selected (or do not exist). + * 3. ManualFeed is selected but is False and InputSlot is not selected or + * the selection has no code - the latter check done to support "auto" or + * "printer default" InputSlot options. + * + * We use the PageRegion code if: + * + * 4. RequiresPageRegion does not exist and the PPD contains cupsFilter + * keywords, indicating this is a CUPS-based driver. + * 5. RequiresPageRegion exists for the selected InputSlot (or "All" for any + * InputSlot or ManualFeed selection) and is True. + * + * If none of the 5 conditions are true, no page size code is used and we + * unmark any existing PageSize or PageRegion choices. + */ + + if ((size = ppdPageSize(ppd, NULL)) == NULL) + return; + + manual_feed = ppdFindMarkedChoice(ppd, "ManualFeed"); + input_slot = ppdFindMarkedChoice(ppd, "InputSlot"); + + if (input_slot != NULL) + rpr = ppdFindAttr(ppd, "RequiresPageRegion", input_slot->choice); + else + rpr = NULL; + + if (!rpr) + rpr = ppdFindAttr(ppd, "RequiresPageRegion", "All"); + + if (!_cups_strcasecmp(size->name, "Custom") || + (!manual_feed && !input_slot) || + (manual_feed && !_cups_strcasecmp(manual_feed->choice, "False") && + (!input_slot || (input_slot->code && !input_slot->code[0]))) || + (!rpr && ppd->num_filters > 0)) + { + /* + * Use PageSize code... + */ + + ppdMarkOption(ppd, "PageSize", size->name); + } + else if (rpr && rpr->value && !_cups_strcasecmp(rpr->value, "True")) + { + /* + * Use PageRegion code... + */ + + ppdMarkOption(ppd, "PageRegion", size->name); + } + else + { + /* + * Do not use PageSize or PageRegion code... + */ + + ppd_choice_t *page; /* PageSize/Region choice, if any */ + + if ((page = ppdFindMarkedChoice(ppd, "PageSize")) != NULL) + { + /* + * Unmark PageSize... + */ + + page->marked = 0; + cupsArrayRemove(ppd->marked, page); + } + + if ((page = ppdFindMarkedChoice(ppd, "PageRegion")) != NULL) + { + /* + * Unmark PageRegion... + */ + + page->marked = 0; + cupsArrayRemove(ppd->marked, page); + } + } +} diff --git a/cups/ppd-localize.c b/cups/ppd-localize.c new file mode 100644 index 0000000..ea84915 --- /dev/null +++ b/cups/ppd-localize.c @@ -0,0 +1,730 @@ +/* + * PPD localization routines for CUPS. + * + * Copyright 2007-2018 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + * + * PostScript is a trademark of Adobe Systems, Inc. + */ + +/* + * Include necessary headers. + */ + +#include "cups-private.h" +#include "ppd-private.h" +#include "debug-internal.h" + + +/* + * Local functions... + */ + +static cups_lang_t *ppd_ll_CC(char *ll_CC, size_t ll_CC_size); + + +/* + * 'ppdLocalize()' - Localize the PPD file to the current locale. + * + * All groups, options, and choices are localized, as are ICC profile + * descriptions, printer presets, and custom option parameters. Each + * localized string uses the UTF-8 character encoding. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 0 on success, -1 on error */ +ppdLocalize(ppd_file_t *ppd) /* I - PPD file */ +{ + int i, j, k; /* Looping vars */ + ppd_group_t *group; /* Current group */ + ppd_option_t *option; /* Current option */ + ppd_choice_t *choice; /* Current choice */ + ppd_coption_t *coption; /* Current custom option */ + ppd_cparam_t *cparam; /* Current custom parameter */ + ppd_attr_t *attr, /* Current attribute */ + *locattr; /* Localized attribute */ + char ckeyword[PPD_MAX_NAME], /* Custom keyword */ + ll_CC[6]; /* Language + country locale */ + + + /* + * Range check input... + */ + + DEBUG_printf(("ppdLocalize(ppd=%p)", ppd)); + + if (!ppd) + return (-1); + + /* + * Get the default language... + */ + + ppd_ll_CC(ll_CC, sizeof(ll_CC)); + + /* + * Now lookup all of the groups, options, choices, etc. + */ + + for (i = ppd->num_groups, group = ppd->groups; i > 0; i --, group ++) + { + if ((locattr = _ppdLocalizedAttr(ppd, "Translation", group->name, + ll_CC)) != NULL) + strlcpy(group->text, locattr->text, sizeof(group->text)); + + for (j = group->num_options, option = group->options; j > 0; j --, option ++) + { + if ((locattr = _ppdLocalizedAttr(ppd, "Translation", option->keyword, + ll_CC)) != NULL) + strlcpy(option->text, locattr->text, sizeof(option->text)); + + for (k = option->num_choices, choice = option->choices; + k > 0; + k --, choice ++) + { + if (strcmp(choice->choice, "Custom") || + !ppdFindCustomOption(ppd, option->keyword)) + locattr = _ppdLocalizedAttr(ppd, option->keyword, choice->choice, + ll_CC); + else + { + snprintf(ckeyword, sizeof(ckeyword), "Custom%s", option->keyword); + + locattr = _ppdLocalizedAttr(ppd, ckeyword, "True", ll_CC); + } + + if (locattr) + strlcpy(choice->text, locattr->text, sizeof(choice->text)); + } + } + } + + /* + * Translate any custom parameters... + */ + + for (coption = (ppd_coption_t *)cupsArrayFirst(ppd->coptions); + coption; + coption = (ppd_coption_t *)cupsArrayNext(ppd->coptions)) + { + for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); + cparam; + cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) + { + snprintf(ckeyword, sizeof(ckeyword), "ParamCustom%s", coption->keyword); + + if ((locattr = _ppdLocalizedAttr(ppd, ckeyword, cparam->name, + ll_CC)) != NULL) + strlcpy(cparam->text, locattr->text, sizeof(cparam->text)); + } + } + + /* + * Translate ICC profile names... + */ + + if ((attr = ppdFindAttr(ppd, "APCustomColorMatchingName", NULL)) != NULL) + { + if ((locattr = _ppdLocalizedAttr(ppd, "APCustomColorMatchingName", + attr->spec, ll_CC)) != NULL) + strlcpy(attr->text, locattr->text, sizeof(attr->text)); + } + + for (attr = ppdFindAttr(ppd, "cupsICCProfile", NULL); + attr; + attr = ppdFindNextAttr(ppd, "cupsICCProfile", NULL)) + { + cupsArraySave(ppd->sorted_attrs); + + if ((locattr = _ppdLocalizedAttr(ppd, "cupsICCProfile", attr->spec, + ll_CC)) != NULL) + strlcpy(attr->text, locattr->text, sizeof(attr->text)); + + cupsArrayRestore(ppd->sorted_attrs); + } + + /* + * Translate printer presets... + */ + + for (attr = ppdFindAttr(ppd, "APPrinterPreset", NULL); + attr; + attr = ppdFindNextAttr(ppd, "APPrinterPreset", NULL)) + { + cupsArraySave(ppd->sorted_attrs); + + if ((locattr = _ppdLocalizedAttr(ppd, "APPrinterPreset", attr->spec, + ll_CC)) != NULL) + strlcpy(attr->text, locattr->text, sizeof(attr->text)); + + cupsArrayRestore(ppd->sorted_attrs); + } + + return (0); +} + + +/* + * 'ppdLocalizeAttr()' - Localize an attribute. + * + * This function uses the current locale to find the localized attribute for + * the given main and option keywords. If no localized version of the + * attribute exists for the current locale, the unlocalized version is returned. + */ + +ppd_attr_t * /* O - Localized attribute or @code NULL@ if none exists */ +ppdLocalizeAttr(ppd_file_t *ppd, /* I - PPD file */ + const char *keyword, /* I - Main keyword */ + const char *spec) /* I - Option keyword or @code NULL@ for none */ +{ + ppd_attr_t *locattr; /* Localized attribute */ + char ll_CC[6]; /* Language + country locale */ + + + /* + * Get the default language... + */ + + ppd_ll_CC(ll_CC, sizeof(ll_CC)); + + /* + * Find the localized attribute... + */ + + if (spec) + locattr = _ppdLocalizedAttr(ppd, keyword, spec, ll_CC); + else + locattr = _ppdLocalizedAttr(ppd, "Translation", keyword, ll_CC); + + if (!locattr) + locattr = ppdFindAttr(ppd, keyword, spec); + + return (locattr); +} + + +/* + * 'ppdLocalizeIPPReason()' - Get the localized version of a cupsIPPReason + * attribute. + * + * This function uses the current locale to find the corresponding reason + * text or URI from the attribute value. If "scheme" is NULL or "text", + * the returned value contains human-readable (UTF-8) text from the translation + * string or attribute value. Otherwise the corresponding URI is returned. + * + * If no value of the requested scheme can be found, NULL is returned. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +const char * /* O - Value or NULL if not found */ +ppdLocalizeIPPReason( + ppd_file_t *ppd, /* I - PPD file */ + const char *reason, /* I - IPP reason keyword to look up */ + const char *scheme, /* I - URI scheme or NULL for text */ + char *buffer, /* I - Value buffer */ + size_t bufsize) /* I - Size of value buffer */ +{ + cups_lang_t *lang; /* Current language */ + ppd_attr_t *locattr; /* Localized attribute */ + char ll_CC[6], /* Language + country locale */ + *bufptr, /* Pointer into buffer */ + *bufend, /* Pointer to end of buffer */ + *valptr; /* Pointer into value */ + int ch; /* Hex-encoded character */ + size_t schemelen; /* Length of scheme name */ + + + /* + * Range check input... + */ + + if (buffer) + *buffer = '\0'; + + if (!ppd || !reason || (scheme && !*scheme) || + !buffer || bufsize < PPD_MAX_TEXT) + return (NULL); + + /* + * Get the default language... + */ + + lang = ppd_ll_CC(ll_CC, sizeof(ll_CC)); + + /* + * Find the localized attribute... + */ + + if ((locattr = _ppdLocalizedAttr(ppd, "cupsIPPReason", reason, + ll_CC)) == NULL) + locattr = ppdFindAttr(ppd, "cupsIPPReason", reason); + + if (!locattr) + { + if (lang && (!scheme || !strcmp(scheme, "text")) && strcmp(reason, "none")) + { + /* + * Try to localize a standard printer-state-reason keyword... + */ + + char msgid[1024], /* State message identifier */ + *ptr; /* Pointer to state suffix */ + const char *message = NULL; /* Localized message */ + + snprintf(msgid, sizeof(msgid), "printer-state-reasons.%s", reason); + if ((ptr = strrchr(msgid, '-')) != NULL && (!strcmp(ptr, "-error") || !strcmp(ptr, "-report") || !strcmp(ptr, "-warning"))) + *ptr = '\0'; + + message = _cupsLangString(lang, msgid); + + if (message && strcmp(message, msgid)) + { + strlcpy(buffer, _cupsLangString(lang, message), bufsize); + return (buffer); + } + } + + return (NULL); + } + + /* + * Now find the value we need... + */ + + bufend = buffer + bufsize - 1; + + if (!scheme || !strcmp(scheme, "text")) + { + /* + * Copy a text value (either the translation text or text:... URIs from + * the value... + */ + + strlcpy(buffer, locattr->text, bufsize); + + for (valptr = locattr->value, bufptr = buffer; *valptr && bufptr < bufend;) + { + if (!strncmp(valptr, "text:", 5)) + { + /* + * Decode text: URI and add to the buffer... + */ + + valptr += 5; + + while (*valptr && !_cups_isspace(*valptr) && bufptr < bufend) + { + if (*valptr == '%' && isxdigit(valptr[1] & 255) && + isxdigit(valptr[2] & 255)) + { + /* + * Pull a hex-encoded character from the URI... + */ + + valptr ++; + + if (isdigit(*valptr & 255)) + ch = (*valptr - '0') << 4; + else + ch = (tolower(*valptr) - 'a' + 10) << 4; + valptr ++; + + if (isdigit(*valptr & 255)) + *bufptr++ = (char)(ch | (*valptr - '0')); + else + *bufptr++ = (char)(ch | (tolower(*valptr) - 'a' + 10)); + valptr ++; + } + else if (*valptr == '+') + { + *bufptr++ = ' '; + valptr ++; + } + else + *bufptr++ = *valptr++; + } + } + else + { + /* + * Skip this URI... + */ + + while (*valptr && !_cups_isspace(*valptr)) + valptr++; + } + + /* + * Skip whitespace... + */ + + while (_cups_isspace(*valptr)) + valptr ++; + } + + if (bufptr > buffer) + *bufptr = '\0'; + + return (buffer); + } + else + { + /* + * Copy a URI... + */ + + schemelen = strlen(scheme); + if (scheme[schemelen - 1] == ':') /* Force scheme to be just the name */ + schemelen --; + + for (valptr = locattr->value, bufptr = buffer; *valptr && bufptr < bufend;) + { + if ((!strncmp(valptr, scheme, schemelen) && valptr[schemelen] == ':') || + (*valptr == '/' && !strcmp(scheme, "file"))) + { + /* + * Copy URI... + */ + + while (*valptr && !_cups_isspace(*valptr) && bufptr < bufend) + *bufptr++ = *valptr++; + + *bufptr = '\0'; + + return (buffer); + } + else + { + /* + * Skip this URI... + */ + + while (*valptr && !_cups_isspace(*valptr)) + valptr++; + } + + /* + * Skip whitespace... + */ + + while (_cups_isspace(*valptr)) + valptr ++; + } + + return (NULL); + } +} + + +/* + * 'ppdLocalizeMarkerName()' - Get the localized version of a marker-names + * attribute value. + * + * This function uses the current locale to find the corresponding name + * text from the attribute value. If no localized text for the requested + * name can be found, @code NULL@ is returned. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +const char * /* O - Value or @code NULL@ if not found */ +ppdLocalizeMarkerName( + ppd_file_t *ppd, /* I - PPD file */ + const char *name) /* I - Marker name to look up */ +{ + ppd_attr_t *locattr; /* Localized attribute */ + char ll_CC[6]; /* Language + country locale */ + + + /* + * Range check input... + */ + + if (!ppd || !name) + return (NULL); + + /* + * Get the default language... + */ + + ppd_ll_CC(ll_CC, sizeof(ll_CC)); + + /* + * Find the localized attribute... + */ + + if ((locattr = _ppdLocalizedAttr(ppd, "cupsMarkerName", name, + ll_CC)) == NULL) + locattr = ppdFindAttr(ppd, "cupsMarkerName", name); + + return (locattr ? locattr->text : NULL); +} + + +/* + * '_ppdFreeLanguages()' - Free an array of languages from _ppdGetLanguages. + */ + +void +_ppdFreeLanguages( + cups_array_t *languages) /* I - Languages array */ +{ + char *language; /* Current language */ + + + for (language = (char *)cupsArrayFirst(languages); + language; + language = (char *)cupsArrayNext(languages)) + free(language); + + cupsArrayDelete(languages); +} + + +/* + * '_ppdGetLanguages()' - Get an array of languages from a PPD file. + */ + +cups_array_t * /* O - Languages array */ +_ppdGetLanguages(ppd_file_t *ppd) /* I - PPD file */ +{ + cups_array_t *languages; /* Languages array */ + ppd_attr_t *attr; /* cupsLanguages attribute */ + char *value, /* Copy of attribute value */ + *start, /* Start of current language */ + *ptr; /* Pointer into languages */ + + + /* + * See if we have a cupsLanguages attribute... + */ + + if ((attr = ppdFindAttr(ppd, "cupsLanguages", NULL)) == NULL || !attr->value) + return (NULL); + + /* + * Yes, load the list... + */ + + if ((languages = cupsArrayNew((cups_array_func_t)strcmp, NULL)) == NULL) + return (NULL); + + if ((value = strdup(attr->value)) == NULL) + { + cupsArrayDelete(languages); + return (NULL); + } + + for (ptr = value; *ptr;) + { + /* + * Skip leading whitespace... + */ + + while (_cups_isspace(*ptr)) + ptr ++; + + if (!*ptr) + break; + + /* + * Find the end of this language name... + */ + + for (start = ptr; *ptr && !_cups_isspace(*ptr); ptr ++); + + if (*ptr) + *ptr++ = '\0'; + + if (!strcmp(start, "en")) + continue; + + cupsArrayAdd(languages, strdup(start)); + } + + /* + * Free the temporary string and return either an array with one or more + * values or a NULL pointer... + */ + + free(value); + + if (cupsArrayCount(languages) == 0) + { + cupsArrayDelete(languages); + return (NULL); + } + else + return (languages); +} + + +/* + * '_ppdHashName()' - Generate a hash value for a device or profile name. + * + * This function is primarily used on macOS, but is generally accessible + * since cupstestppd needs to check for profile name collisions in PPD files... + */ + +unsigned /* O - Hash value */ +_ppdHashName(const char *name) /* I - Name to hash */ +{ + unsigned mult, /* Multiplier */ + hash = 0; /* Hash value */ + + + for (mult = 1; *name && mult <= 128; mult ++, name ++) + hash += (*name & 255) * mult; + + return (hash); +} + + +/* + * '_ppdLocalizedAttr()' - Find a localized attribute. + */ + +ppd_attr_t * /* O - Localized attribute or NULL */ +_ppdLocalizedAttr(ppd_file_t *ppd, /* I - PPD file */ + const char *keyword, /* I - Main keyword */ + const char *spec, /* I - Option keyword */ + const char *ll_CC) /* I - Language + country locale */ +{ + char lkeyword[PPD_MAX_NAME]; /* Localization keyword */ + ppd_attr_t *attr; /* Current attribute */ + + + DEBUG_printf(("4_ppdLocalizedAttr(ppd=%p, keyword=\"%s\", spec=\"%s\", " + "ll_CC=\"%s\")", ppd, keyword, spec, ll_CC)); + + /* + * Look for Keyword.ll_CC, then Keyword.ll... + */ + + snprintf(lkeyword, sizeof(lkeyword), "%s.%s", ll_CC, keyword); + if ((attr = ppdFindAttr(ppd, lkeyword, spec)) == NULL) + { + /* + * + * + * Multiple locales need special handling... Sigh... + */ + + if (!strcmp(ll_CC, "zh_HK")) + { + snprintf(lkeyword, sizeof(lkeyword), "zh_TW.%s", keyword); + attr = ppdFindAttr(ppd, lkeyword, spec); + } + + if (!attr) + { + snprintf(lkeyword, sizeof(lkeyword), "%2.2s.%s", ll_CC, keyword); + attr = ppdFindAttr(ppd, lkeyword, spec); + } + + if (!attr) + { + if (!strncmp(ll_CC, "ja", 2)) + { + /* + * Due to a bug in the CUPS DDK 1.1.0 ppdmerge program, Japanese + * PPD files were incorrectly assigned "jp" as the locale name + * instead of "ja". Support both the old (incorrect) and new + * locale names for Japanese... + */ + + snprintf(lkeyword, sizeof(lkeyword), "jp.%s", keyword); + attr = ppdFindAttr(ppd, lkeyword, spec); + } + else if (!strncmp(ll_CC, "nb", 2)) + { + /* + * Norway has two languages, "Bokmal" (the primary one) + * and "Nynorsk" (new Norwegian); this code maps from the (currently) + * recommended "nb" to the previously recommended "no"... + */ + + snprintf(lkeyword, sizeof(lkeyword), "no.%s", keyword); + attr = ppdFindAttr(ppd, lkeyword, spec); + } + else if (!strncmp(ll_CC, "no", 2)) + { + /* + * Norway has two languages, "Bokmal" (the primary one) + * and "Nynorsk" (new Norwegian); we map "no" to "nb" here as + * recommended by the locale folks... + */ + + snprintf(lkeyword, sizeof(lkeyword), "nb.%s", keyword); + attr = ppdFindAttr(ppd, lkeyword, spec); + } + } + } + +#ifdef DEBUG + if (attr) + DEBUG_printf(("5_ppdLocalizedAttr: *%s %s/%s: \"%s\"\n", attr->name, + attr->spec, attr->text, attr->value ? attr->value : "")); + else + DEBUG_puts("5_ppdLocalizedAttr: NOT FOUND"); +#endif /* DEBUG */ + + return (attr); +} + + +/* + * 'ppd_ll_CC()' - Get the current locale names. + */ + +static cups_lang_t * /* O - Current language */ +ppd_ll_CC(char *ll_CC, /* O - Country-specific locale name */ + size_t ll_CC_size) /* I - Size of country-specific name */ +{ + cups_lang_t *lang; /* Current language */ + + + /* + * Get the current locale... + */ + + if ((lang = cupsLangDefault()) == NULL) + { + strlcpy(ll_CC, "en_US", ll_CC_size); + return (NULL); + } + + /* + * Copy the locale name... + */ + + strlcpy(ll_CC, lang->language, ll_CC_size); + + if (strlen(ll_CC) == 2) + { + /* + * Map "ll" to primary/origin country locales to have the best + * chance of finding a match... + */ + + if (!strcmp(ll_CC, "cs")) + strlcpy(ll_CC, "cs_CZ", ll_CC_size); + else if (!strcmp(ll_CC, "en")) + strlcpy(ll_CC, "en_US", ll_CC_size); + else if (!strcmp(ll_CC, "ja")) + strlcpy(ll_CC, "ja_JP", ll_CC_size); + else if (!strcmp(ll_CC, "sv")) + strlcpy(ll_CC, "sv_SE", ll_CC_size); + else if (!strcmp(ll_CC, "zh")) /* Simplified Chinese */ + strlcpy(ll_CC, "zh_CN", ll_CC_size); + } + + DEBUG_printf(("8ppd_ll_CC: lang->language=\"%s\", ll_CC=\"%s\"...", + lang->language, ll_CC)); + return (lang); +} diff --git a/cups/ppd-mark.c b/cups/ppd-mark.c new file mode 100644 index 0000000..7ec0df4 --- /dev/null +++ b/cups/ppd-mark.c @@ -0,0 +1,1098 @@ +/* + * Option marking routines for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + * + * PostScript is a trademark of Adobe Systems, Inc. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "ppd-private.h" +#include "debug-internal.h" + + +/* + * Local functions... + */ + +#ifdef DEBUG +static void ppd_debug_marked(ppd_file_t *ppd, const char *title); +#else +# define ppd_debug_marked(ppd,title) +#endif /* DEBUG */ +static void ppd_defaults(ppd_file_t *ppd, ppd_group_t *g); +static void ppd_mark_choices(ppd_file_t *ppd, const char *s); +static void ppd_mark_option(ppd_file_t *ppd, const char *option, + const char *choice); + + +/* + * 'cupsMarkOptions()' - Mark command-line options in a PPD file. + * + * This function maps the IPP "finishings", "media", "mirror", + * "multiple-document-handling", "output-bin", "print-color-mode", + * "print-quality", "printer-resolution", and "sides" attributes to their + * corresponding PPD options and choices. + */ + +int /* O - 1 if conflicts exist, 0 otherwise */ +cupsMarkOptions( + ppd_file_t *ppd, /* I - PPD file */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + int i, j; /* Looping vars */ + char *ptr, /* Pointer into string */ + s[255]; /* Temporary string */ + const char *val, /* Pointer into value */ + *media, /* media option */ + *output_bin, /* output-bin option */ + *page_size, /* PageSize option */ + *ppd_keyword, /* PPD keyword */ + *print_color_mode, /* print-color-mode option */ + *print_quality, /* print-quality option */ + *sides; /* sides option */ + cups_option_t *optptr; /* Current option */ + ppd_attr_t *attr; /* PPD attribute */ + _ppd_cache_t *cache; /* PPD cache and mapping data */ + + + /* + * Check arguments... + */ + + if (!ppd || num_options <= 0 || !options) + return (0); + + ppd_debug_marked(ppd, "Before..."); + + /* + * Do special handling for finishings, media, output-bin, output-mode, + * print-color-mode, print-quality, and PageSize... + */ + + media = cupsGetOption("media", num_options, options); + output_bin = cupsGetOption("output-bin", num_options, options); + page_size = cupsGetOption("PageSize", num_options, options); + print_quality = cupsGetOption("print-quality", num_options, options); + sides = cupsGetOption("sides", num_options, options); + + if ((print_color_mode = cupsGetOption("print-color-mode", num_options, + options)) == NULL) + print_color_mode = cupsGetOption("output-mode", num_options, options); + + if ((media || output_bin || print_color_mode || print_quality || sides) && + !ppd->cache) + { + /* + * Load PPD cache and mapping data as needed... + */ + + ppd->cache = _ppdCacheCreateWithPPD(ppd); + } + + cache = ppd->cache; + + if (media) + { + /* + * Loop through the option string, separating it at commas and marking each + * individual option as long as the corresponding PPD option (PageSize, + * InputSlot, etc.) is not also set. + * + * For PageSize, we also check for an empty option value since some versions + * of macOS use it to specify auto-selection of the media based solely on + * the size. + */ + + for (val = media; *val;) + { + /* + * Extract the sub-option from the string... + */ + + for (ptr = s; *val && *val != ',' && (size_t)(ptr - s) < (sizeof(s) - 1);) + *ptr++ = *val++; + *ptr++ = '\0'; + + if (*val == ',') + val ++; + + /* + * Mark it... + */ + + if (!page_size || !page_size[0]) + { + if (!_cups_strncasecmp(s, "Custom.", 7) || ppdPageSize(ppd, s)) + ppd_mark_option(ppd, "PageSize", s); + else if ((ppd_keyword = _ppdCacheGetPageSize(cache, NULL, s, NULL)) != NULL) + ppd_mark_option(ppd, "PageSize", ppd_keyword); + } + + if (cache && cache->source_option && + !cupsGetOption(cache->source_option, num_options, options) && + (ppd_keyword = _ppdCacheGetInputSlot(cache, NULL, s)) != NULL) + ppd_mark_option(ppd, cache->source_option, ppd_keyword); + + if (!cupsGetOption("MediaType", num_options, options) && + (ppd_keyword = _ppdCacheGetMediaType(cache, NULL, s)) != NULL) + ppd_mark_option(ppd, "MediaType", ppd_keyword); + } + } + + if (cache) + { + if (!cupsGetOption("com.apple.print.DocumentTicket.PMSpoolFormat", + num_options, options) && + !cupsGetOption("APPrinterPreset", num_options, options) && + (print_color_mode || print_quality)) + { + /* + * Map output-mode and print-quality to a preset... + */ + + _pwg_print_color_mode_t pwg_pcm;/* print-color-mode index */ + _pwg_print_quality_t pwg_pq; /* print-quality index */ + cups_option_t *preset;/* Current preset option */ + + if (print_color_mode && !strcmp(print_color_mode, "monochrome")) + pwg_pcm = _PWG_PRINT_COLOR_MODE_MONOCHROME; + else + pwg_pcm = _PWG_PRINT_COLOR_MODE_COLOR; + + if (print_quality) + { + pwg_pq = (_pwg_print_quality_t)(atoi(print_quality) - IPP_QUALITY_DRAFT); + if (pwg_pq < _PWG_PRINT_QUALITY_DRAFT) + pwg_pq = _PWG_PRINT_QUALITY_DRAFT; + else if (pwg_pq > _PWG_PRINT_QUALITY_HIGH) + pwg_pq = _PWG_PRINT_QUALITY_HIGH; + } + else + pwg_pq = _PWG_PRINT_QUALITY_NORMAL; + + if (cache->num_presets[pwg_pcm][pwg_pq] == 0) + { + /* + * Try to find a preset that works so that we maximize the chances of us + * getting a good print using IPP attributes. + */ + + if (cache->num_presets[pwg_pcm][_PWG_PRINT_QUALITY_NORMAL] > 0) + pwg_pq = _PWG_PRINT_QUALITY_NORMAL; + else if (cache->num_presets[_PWG_PRINT_COLOR_MODE_COLOR][pwg_pq] > 0) + pwg_pcm = _PWG_PRINT_COLOR_MODE_COLOR; + else + { + pwg_pq = _PWG_PRINT_QUALITY_NORMAL; + pwg_pcm = _PWG_PRINT_COLOR_MODE_COLOR; + } + } + + if (cache->num_presets[pwg_pcm][pwg_pq] > 0) + { + /* + * Copy the preset options as long as the corresponding names are not + * already defined in the IPP request... + */ + + for (i = cache->num_presets[pwg_pcm][pwg_pq], + preset = cache->presets[pwg_pcm][pwg_pq]; + i > 0; + i --, preset ++) + { + if (!cupsGetOption(preset->name, num_options, options)) + ppd_mark_option(ppd, preset->name, preset->value); + } + } + } + + if (output_bin && !cupsGetOption("OutputBin", num_options, options) && + (ppd_keyword = _ppdCacheGetOutputBin(cache, output_bin)) != NULL) + { + /* + * Map output-bin to OutputBin... + */ + + ppd_mark_option(ppd, "OutputBin", ppd_keyword); + } + + if (sides && cache->sides_option && + !cupsGetOption(cache->sides_option, num_options, options)) + { + /* + * Map sides to duplex option... + */ + + if (!strcmp(sides, "one-sided") && cache->sides_1sided) + ppd_mark_option(ppd, cache->sides_option, cache->sides_1sided); + else if (!strcmp(sides, "two-sided-long-edge") && + cache->sides_2sided_long) + ppd_mark_option(ppd, cache->sides_option, cache->sides_2sided_long); + else if (!strcmp(sides, "two-sided-short-edge") && + cache->sides_2sided_short) + ppd_mark_option(ppd, cache->sides_option, cache->sides_2sided_short); + } + } + + /* + * Mark other options... + */ + + for (i = num_options, optptr = options; i > 0; i --, optptr ++) + { + if (!_cups_strcasecmp(optptr->name, "media") || + !_cups_strcasecmp(optptr->name, "output-bin") || + !_cups_strcasecmp(optptr->name, "output-mode") || + !_cups_strcasecmp(optptr->name, "print-quality") || + !_cups_strcasecmp(optptr->name, "sides")) + continue; + else if (!_cups_strcasecmp(optptr->name, "resolution") || + !_cups_strcasecmp(optptr->name, "printer-resolution")) + { + ppd_mark_option(ppd, "Resolution", optptr->value); + ppd_mark_option(ppd, "SetResolution", optptr->value); + /* Calcomp, Linotype, QMS, Summagraphics, Tektronix, Varityper */ + ppd_mark_option(ppd, "JCLResolution", optptr->value); + /* HP */ + ppd_mark_option(ppd, "CNRes_PGP", optptr->value); + /* Canon */ + } + else if (!_cups_strcasecmp(optptr->name, "multiple-document-handling")) + { + if (!cupsGetOption("Collate", num_options, options) && + ppdFindOption(ppd, "Collate")) + { + if (_cups_strcasecmp(optptr->value, "separate-documents-uncollated-copies")) + ppd_mark_option(ppd, "Collate", "True"); + else + ppd_mark_option(ppd, "Collate", "False"); + } + } + else if (!_cups_strcasecmp(optptr->name, "finishings")) + { + /* + * Lookup cupsIPPFinishings attributes for each value... + */ + + for (ptr = optptr->value; *ptr;) + { + /* + * Get the next finishings number... + */ + + if (!isdigit(*ptr & 255)) + break; + + if ((j = (int)strtol(ptr, &ptr, 10)) < 3) + break; + + /* + * Skip separator as needed... + */ + + if (*ptr == ',') + ptr ++; + + /* + * Look it up in the PPD file... + */ + + sprintf(s, "%d", j); + + if ((attr = ppdFindAttr(ppd, "cupsIPPFinishings", s)) == NULL) + continue; + + /* + * Apply "*Option Choice" settings from the attribute value... + */ + + ppd_mark_choices(ppd, attr->value); + } + } + else if (!_cups_strcasecmp(optptr->name, "APPrinterPreset")) + { + /* + * Lookup APPrinterPreset value... + */ + + if ((attr = ppdFindAttr(ppd, "APPrinterPreset", optptr->value)) != NULL) + { + /* + * Apply "*Option Choice" settings from the attribute value... + */ + + ppd_mark_choices(ppd, attr->value); + } + } + else if (!_cups_strcasecmp(optptr->name, "mirror")) + ppd_mark_option(ppd, "MirrorPrint", optptr->value); + else + ppd_mark_option(ppd, optptr->name, optptr->value); + } + + if (print_quality) + { + int pq = atoi(print_quality); /* print-quaity value */ + + if (pq == IPP_QUALITY_DRAFT) + ppd_mark_option(ppd, "cupsPrintQuality", "Draft"); + else if (pq == IPP_QUALITY_HIGH) + ppd_mark_option(ppd, "cupsPrintQuality", "High"); + else + ppd_mark_option(ppd, "cupsPrintQuality", "Normal"); + } + + ppd_debug_marked(ppd, "After..."); + + return (ppdConflicts(ppd) > 0); +} + + +/* + * 'ppdFindChoice()' - Return a pointer to an option choice. + */ + +ppd_choice_t * /* O - Choice pointer or @code NULL@ */ +ppdFindChoice(ppd_option_t *o, /* I - Pointer to option */ + const char *choice) /* I - Name of choice */ +{ + int i; /* Looping var */ + ppd_choice_t *c; /* Current choice */ + + + if (!o || !choice) + return (NULL); + + if (choice[0] == '{' || !_cups_strncasecmp(choice, "Custom.", 7)) + choice = "Custom"; + + for (i = o->num_choices, c = o->choices; i > 0; i --, c ++) + if (!_cups_strcasecmp(c->choice, choice)) + return (c); + + return (NULL); +} + + +/* + * 'ppdFindMarkedChoice()' - Return the marked choice for the specified option. + */ + +ppd_choice_t * /* O - Pointer to choice or @code NULL@ */ +ppdFindMarkedChoice(ppd_file_t *ppd, /* I - PPD file */ + const char *option) /* I - Keyword/option name */ +{ + ppd_choice_t key, /* Search key for choice */ + *marked; /* Marked choice */ + + + DEBUG_printf(("2ppdFindMarkedChoice(ppd=%p, option=\"%s\")", ppd, option)); + + if ((key.option = ppdFindOption(ppd, option)) == NULL) + { + DEBUG_puts("3ppdFindMarkedChoice: Option not found, returning NULL"); + return (NULL); + } + + marked = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key); + + DEBUG_printf(("3ppdFindMarkedChoice: Returning %p(%s)...", marked, + marked ? marked->choice : "NULL")); + + return (marked); +} + + +/* + * 'ppdFindOption()' - Return a pointer to the specified option. + */ + +ppd_option_t * /* O - Pointer to option or @code NULL@ */ +ppdFindOption(ppd_file_t *ppd, /* I - PPD file data */ + const char *option) /* I - Option/Keyword name */ +{ + /* + * Range check input... + */ + + if (!ppd || !option) + return (NULL); + + if (ppd->options) + { + /* + * Search in the array... + */ + + ppd_option_t key; /* Option search key */ + + + strlcpy(key.keyword, option, sizeof(key.keyword)); + + return ((ppd_option_t *)cupsArrayFind(ppd->options, &key)); + } + else + { + /* + * Search in each group... + */ + + int i, j; /* Looping vars */ + ppd_group_t *group; /* Current group */ + ppd_option_t *optptr; /* Current option */ + + + for (i = ppd->num_groups, group = ppd->groups; i > 0; i --, group ++) + for (j = group->num_options, optptr = group->options; + j > 0; + j --, optptr ++) + if (!_cups_strcasecmp(optptr->keyword, option)) + return (optptr); + + return (NULL); + } +} + + +/* + * 'ppdIsMarked()' - Check to see if an option is marked. + */ + +int /* O - Non-zero if option is marked */ +ppdIsMarked(ppd_file_t *ppd, /* I - PPD file data */ + const char *option, /* I - Option/Keyword name */ + const char *choice) /* I - Choice name */ +{ + ppd_choice_t key, /* Search key */ + *c; /* Choice pointer */ + + + if (!ppd) + return (0); + + if ((key.option = ppdFindOption(ppd, option)) == NULL) + return (0); + + if ((c = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) == NULL) + return (0); + + return (!strcmp(c->choice, choice)); +} + + +/* + * 'ppdMarkDefaults()' - Mark all default options in the PPD file. + */ + +void +ppdMarkDefaults(ppd_file_t *ppd) /* I - PPD file record */ +{ + int i; /* Looping variables */ + ppd_group_t *g; /* Current group */ + ppd_choice_t *c; /* Current choice */ + + + if (!ppd) + return; + + /* + * Clean out the marked array... + */ + + for (c = (ppd_choice_t *)cupsArrayFirst(ppd->marked); + c; + c = (ppd_choice_t *)cupsArrayNext(ppd->marked)) + { + cupsArrayRemove(ppd->marked, c); + c->marked = 0; + } + + /* + * Then repopulate it with the defaults... + */ + + for (i = ppd->num_groups, g = ppd->groups; i > 0; i --, g ++) + ppd_defaults(ppd, g); + + /* + * Finally, tag any conflicts (API compatibility) once at the end. + */ + + ppdConflicts(ppd); +} + + +/* + * 'ppdMarkOption()' - Mark an option in a PPD file and return the number of + * conflicts. + */ + +int /* O - Number of conflicts */ +ppdMarkOption(ppd_file_t *ppd, /* I - PPD file record */ + const char *option, /* I - Keyword */ + const char *choice) /* I - Option name */ +{ + DEBUG_printf(("ppdMarkOption(ppd=%p, option=\"%s\", choice=\"%s\")", + ppd, option, choice)); + + /* + * Range check input... + */ + + if (!ppd || !option || !choice) + return (0); + + /* + * Mark the option... + */ + + ppd_mark_option(ppd, option, choice); + + /* + * Return the number of conflicts... + */ + + return (ppdConflicts(ppd)); +} + + +/* + * 'ppdFirstOption()' - Return the first option in the PPD file. + * + * Options are returned from all groups in ascending alphanumeric order. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ppd_option_t * /* O - First option or @code NULL@ */ +ppdFirstOption(ppd_file_t *ppd) /* I - PPD file */ +{ + if (!ppd) + return (NULL); + else + return ((ppd_option_t *)cupsArrayFirst(ppd->options)); +} + + +/* + * 'ppdNextOption()' - Return the next option in the PPD file. + * + * Options are returned from all groups in ascending alphanumeric order. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ppd_option_t * /* O - Next option or @code NULL@ */ +ppdNextOption(ppd_file_t *ppd) /* I - PPD file */ +{ + if (!ppd) + return (NULL); + else + return ((ppd_option_t *)cupsArrayNext(ppd->options)); +} + + +/* + * '_ppdParseOptions()' - Parse options from a PPD file. + * + * This function looks for strings of the form: + * + * *option choice ... *optionN choiceN + * property value ... propertyN valueN + * + * It stops when it finds a string that doesn't match this format. + */ + +int /* O - Number of options */ +_ppdParseOptions( + const char *s, /* I - String to parse */ + int num_options, /* I - Number of options */ + cups_option_t **options, /* IO - Options */ + _ppd_parse_t which) /* I - What to parse */ +{ + char option[PPD_MAX_NAME * 2 + 1], /* Current option/property */ + choice[PPD_MAX_NAME], /* Current choice/value */ + *ptr; /* Pointer into option or choice */ + + + if (!s) + return (num_options); + + /* + * Read all of the "*Option Choice" and "property value" pairs from the + * string, add them to an options array as we go... + */ + + while (*s) + { + /* + * Skip leading whitespace... + */ + + while (_cups_isspace(*s)) + s ++; + + /* + * Get the option/property name... + */ + + ptr = option; + while (*s && !_cups_isspace(*s) && ptr < (option + sizeof(option) - 1)) + *ptr++ = *s++; + + if (ptr == s || !_cups_isspace(*s)) + break; + + *ptr = '\0'; + + /* + * Get the choice... + */ + + while (_cups_isspace(*s)) + s ++; + + if (!*s) + break; + + ptr = choice; + while (*s && !_cups_isspace(*s) && ptr < (choice + sizeof(choice) - 1)) + *ptr++ = *s++; + + if (*s && !_cups_isspace(*s)) + break; + + *ptr = '\0'; + + /* + * Add it to the options array... + */ + + if (option[0] == '*' && which != _PPD_PARSE_PROPERTIES) + num_options = cupsAddOption(option + 1, choice, num_options, options); + else if (option[0] != '*' && which != _PPD_PARSE_OPTIONS) + num_options = cupsAddOption(option, choice, num_options, options); + } + + return (num_options); +} + + +#ifdef DEBUG +/* + * 'ppd_debug_marked()' - Output the marked array to stdout... + */ + +static void +ppd_debug_marked(ppd_file_t *ppd, /* I - PPD file data */ + const char *title) /* I - Title for list */ +{ + ppd_choice_t *c; /* Current choice */ + + + DEBUG_printf(("2cupsMarkOptions: %s", title)); + + for (c = (ppd_choice_t *)cupsArrayFirst(ppd->marked); + c; + c = (ppd_choice_t *)cupsArrayNext(ppd->marked)) + DEBUG_printf(("2cupsMarkOptions: %s=%s", c->option->keyword, c->choice)); +} +#endif /* DEBUG */ + + +/* + * 'ppd_defaults()' - Set the defaults for this group and all sub-groups. + */ + +static void +ppd_defaults(ppd_file_t *ppd, /* I - PPD file */ + ppd_group_t *g) /* I - Group to default */ +{ + int i; /* Looping var */ + ppd_option_t *o; /* Current option */ + ppd_group_t *sg; /* Current sub-group */ + + + for (i = g->num_options, o = g->options; i > 0; i --, o ++) + if (_cups_strcasecmp(o->keyword, "PageRegion") != 0) + ppd_mark_option(ppd, o->keyword, o->defchoice); + + for (i = g->num_subgroups, sg = g->subgroups; i > 0; i --, sg ++) + ppd_defaults(ppd, sg); +} + + +/* + * 'ppd_mark_choices()' - Mark one or more option choices from a string. + */ + +static void +ppd_mark_choices(ppd_file_t *ppd, /* I - PPD file */ + const char *s) /* I - "*Option Choice ..." string */ +{ + int i, /* Looping var */ + num_options; /* Number of options */ + cups_option_t *options, /* Options */ + *option; /* Current option */ + + + if (!s) + return; + + options = NULL; + num_options = _ppdParseOptions(s, 0, &options, 0); + + for (i = num_options, option = options; i > 0; i --, option ++) + ppd_mark_option(ppd, option->name, option->value); + + cupsFreeOptions(num_options, options); +} + + +/* + * 'ppd_mark_option()' - Quick mark an option without checking for conflicts. + */ + +static void +ppd_mark_option(ppd_file_t *ppd, /* I - PPD file */ + const char *option, /* I - Option name */ + const char *choice) /* I - Choice name */ +{ + int i, j; /* Looping vars */ + ppd_option_t *o; /* Option pointer */ + ppd_choice_t *c, /* Choice pointer */ + *oldc, /* Old choice pointer */ + key; /* Search key for choice */ + struct lconv *loc; /* Locale data */ + + + DEBUG_printf(("7ppd_mark_option(ppd=%p, option=\"%s\", choice=\"%s\")", + ppd, option, choice)); + + /* + * AP_D_InputSlot is the "default input slot" on macOS, and setting + * it clears the regular InputSlot choices... + */ + + if (!_cups_strcasecmp(option, "AP_D_InputSlot")) + { + cupsArraySave(ppd->options); + + if ((o = ppdFindOption(ppd, "InputSlot")) != NULL) + { + key.option = o; + if ((oldc = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) != NULL) + { + oldc->marked = 0; + cupsArrayRemove(ppd->marked, oldc); + } + } + + cupsArrayRestore(ppd->options); + } + + /* + * Check for custom options... + */ + + cupsArraySave(ppd->options); + + o = ppdFindOption(ppd, option); + + cupsArrayRestore(ppd->options); + + if (!o) + return; + + loc = localeconv(); + + if (!_cups_strncasecmp(choice, "Custom.", 7)) + { + /* + * Handle a custom option... + */ + + if ((c = ppdFindChoice(o, "Custom")) == NULL) + return; + + if (!_cups_strcasecmp(option, "PageSize")) + { + /* + * Handle custom page sizes... + */ + + ppdPageSize(ppd, choice); + } + else + { + /* + * Handle other custom options... + */ + + ppd_coption_t *coption; /* Custom option */ + ppd_cparam_t *cparam; /* Custom parameter */ + char *units; /* Custom points units */ + + + if ((coption = ppdFindCustomOption(ppd, option)) != NULL) + { + if ((cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params)) == NULL) + return; + + switch (cparam->type) + { + case PPD_CUSTOM_UNKNOWN : + break; + + case PPD_CUSTOM_CURVE : + case PPD_CUSTOM_INVCURVE : + case PPD_CUSTOM_REAL : + cparam->current.custom_real = (float)_cupsStrScand(choice + 7, + NULL, loc); + break; + + case PPD_CUSTOM_POINTS : + cparam->current.custom_points = (float)_cupsStrScand(choice + 7, + &units, + loc); + + if (units) + { + if (!_cups_strcasecmp(units, "cm")) + cparam->current.custom_points *= 72.0f / 2.54f; + else if (!_cups_strcasecmp(units, "mm")) + cparam->current.custom_points *= 72.0f / 25.4f; + else if (!_cups_strcasecmp(units, "m")) + cparam->current.custom_points *= 72.0f / 0.0254f; + else if (!_cups_strcasecmp(units, "in")) + cparam->current.custom_points *= 72.0f; + else if (!_cups_strcasecmp(units, "ft")) + cparam->current.custom_points *= 12.0f * 72.0f; + } + break; + + case PPD_CUSTOM_INT : + cparam->current.custom_int = atoi(choice + 7); + break; + + case PPD_CUSTOM_PASSCODE : + case PPD_CUSTOM_PASSWORD : + case PPD_CUSTOM_STRING : + if (cparam->current.custom_string) + free(cparam->current.custom_string); + + cparam->current.custom_string = strdup(choice + 7); + break; + } + } + } + + /* + * Make sure that we keep the option marked below... + */ + + choice = "Custom"; + } + else if (choice[0] == '{') + { + /* + * Handle multi-value custom options... + */ + + ppd_coption_t *coption; /* Custom option */ + ppd_cparam_t *cparam; /* Custom parameter */ + char *units; /* Custom points units */ + int num_vals; /* Number of values */ + cups_option_t *vals, /* Values */ + *val; /* Value */ + + + if ((c = ppdFindChoice(o, "Custom")) == NULL) + return; + + if ((coption = ppdFindCustomOption(ppd, option)) != NULL) + { + num_vals = cupsParseOptions(choice, 0, &vals); + + for (i = 0, val = vals; i < num_vals; i ++, val ++) + { + if ((cparam = ppdFindCustomParam(coption, val->name)) == NULL) + continue; + + switch (cparam->type) + { + case PPD_CUSTOM_UNKNOWN : + break; + + case PPD_CUSTOM_CURVE : + case PPD_CUSTOM_INVCURVE : + case PPD_CUSTOM_REAL : + cparam->current.custom_real = (float)_cupsStrScand(val->value, + NULL, loc); + break; + + case PPD_CUSTOM_POINTS : + cparam->current.custom_points = (float)_cupsStrScand(val->value, + &units, + loc); + + if (units) + { + if (!_cups_strcasecmp(units, "cm")) + cparam->current.custom_points *= 72.0f / 2.54f; + else if (!_cups_strcasecmp(units, "mm")) + cparam->current.custom_points *= 72.0f / 25.4f; + else if (!_cups_strcasecmp(units, "m")) + cparam->current.custom_points *= 72.0f / 0.0254f; + else if (!_cups_strcasecmp(units, "in")) + cparam->current.custom_points *= 72.0f; + else if (!_cups_strcasecmp(units, "ft")) + cparam->current.custom_points *= 12.0f * 72.0f; + } + break; + + case PPD_CUSTOM_INT : + cparam->current.custom_int = atoi(val->value); + break; + + case PPD_CUSTOM_PASSCODE : + case PPD_CUSTOM_PASSWORD : + case PPD_CUSTOM_STRING : + if (cparam->current.custom_string) + free(cparam->current.custom_string); + + cparam->current.custom_string = strdup(val->value); + break; + } + } + + cupsFreeOptions(num_vals, vals); + } + } + else + { + for (i = o->num_choices, c = o->choices; i > 0; i --, c ++) + if (!_cups_strcasecmp(c->choice, choice)) + break; + + if (!i) + return; + } + + /* + * Option found; mark it and then handle unmarking any other options. + */ + + if (o->ui != PPD_UI_PICKMANY) + { + /* + * Unmark all other choices... + */ + + if ((oldc = (ppd_choice_t *)cupsArrayFind(ppd->marked, c)) != NULL) + { + oldc->marked = 0; + cupsArrayRemove(ppd->marked, oldc); + } + + if (!_cups_strcasecmp(option, "PageSize") || !_cups_strcasecmp(option, "PageRegion")) + { + /* + * Mark current page size... + */ + + for (j = 0; j < ppd->num_sizes; j ++) + ppd->sizes[j].marked = !_cups_strcasecmp(ppd->sizes[j].name, + choice); + + /* + * Unmark the current PageSize or PageRegion setting, as + * appropriate... + */ + + cupsArraySave(ppd->options); + + if (!_cups_strcasecmp(option, "PageSize")) + { + if ((o = ppdFindOption(ppd, "PageRegion")) != NULL) + { + key.option = o; + if ((oldc = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) != NULL) + { + oldc->marked = 0; + cupsArrayRemove(ppd->marked, oldc); + } + } + } + else + { + if ((o = ppdFindOption(ppd, "PageSize")) != NULL) + { + key.option = o; + if ((oldc = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) != NULL) + { + oldc->marked = 0; + cupsArrayRemove(ppd->marked, oldc); + } + } + } + + cupsArrayRestore(ppd->options); + } + else if (!_cups_strcasecmp(option, "InputSlot")) + { + /* + * Unmark ManualFeed option... + */ + + cupsArraySave(ppd->options); + + if ((o = ppdFindOption(ppd, "ManualFeed")) != NULL) + { + key.option = o; + if ((oldc = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) != NULL) + { + oldc->marked = 0; + cupsArrayRemove(ppd->marked, oldc); + } + } + + cupsArrayRestore(ppd->options); + } + else if (!_cups_strcasecmp(option, "ManualFeed") && + !_cups_strcasecmp(choice, "True")) + { + /* + * Unmark InputSlot option... + */ + + cupsArraySave(ppd->options); + + if ((o = ppdFindOption(ppd, "InputSlot")) != NULL) + { + key.option = o; + if ((oldc = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) != NULL) + { + oldc->marked = 0; + cupsArrayRemove(ppd->marked, oldc); + } + } + + cupsArrayRestore(ppd->options); + } + } + + c->marked = 1; + + cupsArrayAdd(ppd->marked, c); +} diff --git a/cups/ppd-page.c b/cups/ppd-page.c new file mode 100644 index 0000000..1f5860a --- /dev/null +++ b/cups/ppd-page.c @@ -0,0 +1,377 @@ +/* + * Page size functions for CUPS. + * + * Copyright 2007-2015 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + * + * PostScript is a trademark of Adobe Systems, Inc. + */ + +/* + * Include necessary headers... + */ + +#include "string-private.h" +#include "debug-internal.h" +#include "ppd.h" + + +/* + * 'ppdPageSize()' - Get the page size record for the named size. + */ + +ppd_size_t * /* O - Size record for page or NULL */ +ppdPageSize(ppd_file_t *ppd, /* I - PPD file record */ + const char *name) /* I - Size name */ +{ + int i; /* Looping var */ + ppd_size_t *size; /* Current page size */ + double w, l; /* Width and length of page */ + char *nameptr; /* Pointer into name */ + struct lconv *loc; /* Locale data */ + ppd_coption_t *coption; /* Custom option for page size */ + ppd_cparam_t *cparam; /* Custom option parameter */ + + + DEBUG_printf(("2ppdPageSize(ppd=%p, name=\"%s\")", ppd, name)); + + if (!ppd) + { + DEBUG_puts("3ppdPageSize: Bad PPD pointer, returning NULL..."); + return (NULL); + } + + if (name) + { + if (!strncmp(name, "Custom.", 7) && ppd->variable_sizes) + { + /* + * Find the custom page size... + */ + + for (i = ppd->num_sizes, size = ppd->sizes; i > 0; i --, size ++) + if (!strcmp("Custom", size->name)) + break; + + if (!i) + { + DEBUG_puts("3ppdPageSize: No custom sizes, returning NULL..."); + return (NULL); + } + + /* + * Variable size; size name can be one of the following: + * + * Custom.WIDTHxLENGTHin - Size in inches + * Custom.WIDTHxLENGTHft - Size in feet + * Custom.WIDTHxLENGTHcm - Size in centimeters + * Custom.WIDTHxLENGTHmm - Size in millimeters + * Custom.WIDTHxLENGTHm - Size in meters + * Custom.WIDTHxLENGTH[pt] - Size in points + */ + + loc = localeconv(); + w = _cupsStrScand(name + 7, &nameptr, loc); + if (!nameptr || *nameptr != 'x') + return (NULL); + + l = _cupsStrScand(nameptr + 1, &nameptr, loc); + if (!nameptr) + return (NULL); + + if (!_cups_strcasecmp(nameptr, "in")) + { + w *= 72.0; + l *= 72.0; + } + else if (!_cups_strcasecmp(nameptr, "ft")) + { + w *= 12.0 * 72.0; + l *= 12.0 * 72.0; + } + else if (!_cups_strcasecmp(nameptr, "mm")) + { + w *= 72.0 / 25.4; + l *= 72.0 / 25.4; + } + else if (!_cups_strcasecmp(nameptr, "cm")) + { + w *= 72.0 / 2.54; + l *= 72.0 / 2.54; + } + else if (!_cups_strcasecmp(nameptr, "m")) + { + w *= 72.0 / 0.0254; + l *= 72.0 / 0.0254; + } + + size->width = (float)w; + size->length = (float)l; + size->left = ppd->custom_margins[0]; + size->bottom = ppd->custom_margins[1]; + size->right = (float)(w - ppd->custom_margins[2]); + size->top = (float)(l - ppd->custom_margins[3]); + + /* + * Update the custom option records for the page size, too... + */ + + if ((coption = ppdFindCustomOption(ppd, "PageSize")) != NULL) + { + if ((cparam = ppdFindCustomParam(coption, "Width")) != NULL) + cparam->current.custom_points = (float)w; + + if ((cparam = ppdFindCustomParam(coption, "Height")) != NULL) + cparam->current.custom_points = (float)l; + } + + /* + * Return the page size... + */ + + DEBUG_printf(("3ppdPageSize: Returning %p (\"%s\", %gx%g)", size, + size->name, size->width, size->length)); + + return (size); + } + else + { + /* + * Lookup by name... + */ + + for (i = ppd->num_sizes, size = ppd->sizes; i > 0; i --, size ++) + if (!_cups_strcasecmp(name, size->name)) + { + DEBUG_printf(("3ppdPageSize: Returning %p (\"%s\", %gx%g)", size, + size->name, size->width, size->length)); + + return (size); + } + } + } + else + { + /* + * Find default... + */ + + for (i = ppd->num_sizes, size = ppd->sizes; i > 0; i --, size ++) + if (size->marked) + { + DEBUG_printf(("3ppdPageSize: Returning %p (\"%s\", %gx%g)", size, + size->name, size->width, size->length)); + + return (size); + } + } + + DEBUG_puts("3ppdPageSize: Size not found, returning NULL"); + + return (NULL); +} + + +/* + * 'ppdPageSizeLimits()' - Return the custom page size limits. + * + * This function returns the minimum and maximum custom page sizes and printable + * areas based on the currently-marked (selected) options. + * + * If the specified PPD file does not support custom page sizes, both + * "minimum" and "maximum" are filled with zeroes. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +int /* O - 1 if custom sizes are supported, 0 otherwise */ +ppdPageSizeLimits(ppd_file_t *ppd, /* I - PPD file record */ + ppd_size_t *minimum, /* O - Minimum custom size */ + ppd_size_t *maximum) /* O - Maximum custom size */ +{ + ppd_choice_t *qualifier2, /* Second media qualifier */ + *qualifier3; /* Third media qualifier */ + ppd_attr_t *attr; /* Attribute */ + float width, /* Min/max width */ + length; /* Min/max length */ + char spec[PPD_MAX_NAME]; /* Selector for min/max */ + + + /* + * Range check input... + */ + + if (!ppd || !ppd->variable_sizes || !minimum || !maximum) + { + if (minimum) + memset(minimum, 0, sizeof(ppd_size_t)); + + if (maximum) + memset(maximum, 0, sizeof(ppd_size_t)); + + return (0); + } + + /* + * See if we have the cupsMediaQualifier2 and cupsMediaQualifier3 attributes... + */ + + cupsArraySave(ppd->sorted_attrs); + + if ((attr = ppdFindAttr(ppd, "cupsMediaQualifier2", NULL)) != NULL && + attr->value) + qualifier2 = ppdFindMarkedChoice(ppd, attr->value); + else + qualifier2 = NULL; + + if ((attr = ppdFindAttr(ppd, "cupsMediaQualifier3", NULL)) != NULL && + attr->value) + qualifier3 = ppdFindMarkedChoice(ppd, attr->value); + else + qualifier3 = NULL; + + /* + * Figure out the current minimum width and length... + */ + + width = ppd->custom_min[0]; + length = ppd->custom_min[1]; + + if (qualifier2) + { + /* + * Try getting cupsMinSize... + */ + + if (qualifier3) + { + snprintf(spec, sizeof(spec), ".%s.%s", qualifier2->choice, + qualifier3->choice); + attr = ppdFindAttr(ppd, "cupsMinSize", spec); + } + else + attr = NULL; + + if (!attr) + { + snprintf(spec, sizeof(spec), ".%s.", qualifier2->choice); + attr = ppdFindAttr(ppd, "cupsMinSize", spec); + } + + if (!attr && qualifier3) + { + snprintf(spec, sizeof(spec), "..%s", qualifier3->choice); + attr = ppdFindAttr(ppd, "cupsMinSize", spec); + } + + if ((attr && attr->value && + sscanf(attr->value, "%f%f", &width, &length) != 2) || !attr) + { + width = ppd->custom_min[0]; + length = ppd->custom_min[1]; + } + } + + minimum->width = width; + minimum->length = length; + minimum->left = ppd->custom_margins[0]; + minimum->bottom = ppd->custom_margins[1]; + minimum->right = width - ppd->custom_margins[2]; + minimum->top = length - ppd->custom_margins[3]; + + /* + * Figure out the current maximum width and length... + */ + + width = ppd->custom_max[0]; + length = ppd->custom_max[1]; + + if (qualifier2) + { + /* + * Try getting cupsMaxSize... + */ + + if (qualifier3) + { + snprintf(spec, sizeof(spec), ".%s.%s", qualifier2->choice, + qualifier3->choice); + attr = ppdFindAttr(ppd, "cupsMaxSize", spec); + } + else + attr = NULL; + + if (!attr) + { + snprintf(spec, sizeof(spec), ".%s.", qualifier2->choice); + attr = ppdFindAttr(ppd, "cupsMaxSize", spec); + } + + if (!attr && qualifier3) + { + snprintf(spec, sizeof(spec), "..%s", qualifier3->choice); + attr = ppdFindAttr(ppd, "cupsMaxSize", spec); + } + + if (!attr || + (attr->value && sscanf(attr->value, "%f%f", &width, &length) != 2)) + { + width = ppd->custom_max[0]; + length = ppd->custom_max[1]; + } + } + + maximum->width = width; + maximum->length = length; + maximum->left = ppd->custom_margins[0]; + maximum->bottom = ppd->custom_margins[1]; + maximum->right = width - ppd->custom_margins[2]; + maximum->top = length - ppd->custom_margins[3]; + + /* + * Return the min and max... + */ + + cupsArrayRestore(ppd->sorted_attrs); + + return (1); +} + + +/* + * 'ppdPageWidth()' - Get the page width for the given size. + */ + +float /* O - Width of page in points or 0.0 */ +ppdPageWidth(ppd_file_t *ppd, /* I - PPD file record */ + const char *name) /* I - Size name */ +{ + ppd_size_t *size; /* Page size */ + + + if ((size = ppdPageSize(ppd, name)) == NULL) + return (0.0); + else + return (size->width); +} + + +/* + * 'ppdPageLength()' - Get the page length for the given size. + */ + +float /* O - Length of page in points or 0.0 */ +ppdPageLength(ppd_file_t *ppd, /* I - PPD file */ + const char *name) /* I - Size name */ +{ + ppd_size_t *size; /* Page size */ + + + if ((size = ppdPageSize(ppd, name)) == NULL) + return (0.0); + else + return (size->length); +} diff --git a/cups/ppd-private.h b/cups/ppd-private.h new file mode 100644 index 0000000..7b406c9 --- /dev/null +++ b/cups/ppd-private.h @@ -0,0 +1,223 @@ +/* + * Private PPD definitions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + * + * PostScript is a trademark of Adobe Systems, Inc. + */ + +#ifndef _CUPS_PPD_PRIVATE_H_ +# define _CUPS_PPD_PRIVATE_H_ + +/* + * Include necessary headers... + */ + +# include +# include +# include "pwg-private.h" + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Constants... + */ + +# define _PPD_CACHE_VERSION 9 /* Version number in cache file */ + + +/* + * Types and structures... + */ + +typedef struct _ppd_globals_s /**** CUPS PPD global state data ****/ +{ + /* ppd.c */ + ppd_status_t ppd_status; /* Status of last ppdOpen*() */ + int ppd_line; /* Current line number */ + ppd_conform_t ppd_conform; /* Level of conformance required */ + + /* ppd-util.c */ + char ppd_filename[HTTP_MAX_URI]; + /* PPD filename */ +} _ppd_globals_t; + +typedef enum _ppd_localization_e /**** Selector for _ppdOpen ****/ +{ + _PPD_LOCALIZATION_DEFAULT, /* Load only the default localization */ + _PPD_LOCALIZATION_ICC_PROFILES, /* Load only the color profile localization */ + _PPD_LOCALIZATION_NONE, /* Load no localizations */ + _PPD_LOCALIZATION_ALL /* Load all localizations */ +} _ppd_localization_t; + +typedef enum _ppd_parse_e /**** Selector for _ppdParseOptions ****/ +{ + _PPD_PARSE_OPTIONS, /* Parse only the options */ + _PPD_PARSE_PROPERTIES, /* Parse only the properties */ + _PPD_PARSE_ALL /* Parse everything */ +} _ppd_parse_t; + +typedef struct _ppd_cups_uiconst_s /**** Constraint from cupsUIConstraints ****/ +{ + ppd_option_t *option; /* Constrained option */ + ppd_choice_t *choice; /* Constrained choice or @code NULL@ */ + int installable; /* Installable option? */ +} _ppd_cups_uiconst_t; + +typedef struct _ppd_cups_uiconsts_s /**** cupsUIConstraints ****/ +{ + char resolver[PPD_MAX_NAME]; /* Resolver name */ + int installable, /* Constrained against any installable options? */ + num_constraints; /* Number of constraints */ + _ppd_cups_uiconst_t *constraints; /* Constraints */ +} _ppd_cups_uiconsts_t; + +typedef enum _pwg_print_color_mode_e /**** PWG print-color-mode indices ****/ +{ + _PWG_PRINT_COLOR_MODE_MONOCHROME = 0, /* print-color-mode=monochrome */ + _PWG_PRINT_COLOR_MODE_COLOR, /* print-color-mode=color */ + /* Other values are not supported by CUPS yet. */ + _PWG_PRINT_COLOR_MODE_MAX +} _pwg_print_color_mode_t; + +typedef enum _pwg_print_quality_e /**** PWG print-quality values ****/ +{ + _PWG_PRINT_QUALITY_DRAFT = 0, /* print-quality=3 */ + _PWG_PRINT_QUALITY_NORMAL, /* print-quality=4 */ + _PWG_PRINT_QUALITY_HIGH, /* print-quality=5 */ + _PWG_PRINT_QUALITY_MAX +} _pwg_print_quality_t; + +typedef struct _pwg_finishings_s /**** PWG finishings mapping data ****/ +{ + ipp_finishings_t value; /* finishings value */ + int num_options; /* Number of options to apply */ + cups_option_t *options; /* Options to apply */ +} _pwg_finishings_t; + +struct _ppd_cache_s /**** PPD cache and PWG conversion data ****/ +{ + int num_bins; /* Number of output bins */ + pwg_map_t *bins; /* Output bins */ + int num_sizes; /* Number of media sizes */ + pwg_size_t *sizes; /* Media sizes */ + int custom_max_width, /* Maximum custom width in 2540ths */ + custom_max_length, /* Maximum custom length in 2540ths */ + custom_min_width, /* Minimum custom width in 2540ths */ + custom_min_length; /* Minimum custom length in 2540ths */ + char *custom_max_keyword, /* Maximum custom size PWG keyword */ + *custom_min_keyword, /* Minimum custom size PWG keyword */ + custom_ppd_size[41]; /* Custom PPD size name */ + pwg_size_t custom_size; /* Custom size record */ + char *source_option; /* PPD option for media source */ + int num_sources; /* Number of media sources */ + pwg_map_t *sources; /* Media sources */ + int num_types; /* Number of media types */ + pwg_map_t *types; /* Media types */ + int num_presets[_PWG_PRINT_COLOR_MODE_MAX][_PWG_PRINT_QUALITY_MAX]; + /* Number of print-color-mode/print-quality options */ + cups_option_t *presets[_PWG_PRINT_COLOR_MODE_MAX][_PWG_PRINT_QUALITY_MAX]; + /* print-color-mode/print-quality options */ + char *sides_option, /* PPD option for sides */ + *sides_1sided, /* Choice for one-sided */ + *sides_2sided_long, /* Choice for two-sided-long-edge */ + *sides_2sided_short; /* Choice for two-sided-short-edge */ + char *product; /* Product value */ + cups_array_t *filters, /* cupsFilter/cupsFilter2 values */ + *prefilters; /* cupsPreFilter values */ + int single_file; /* cupsSingleFile value */ + cups_array_t *finishings; /* cupsIPPFinishings values */ + cups_array_t *templates; /* cupsFinishingTemplate values */ + int max_copies, /* cupsMaxCopies value */ + account_id, /* cupsJobAccountId value */ + accounting_user_id; /* cupsJobAccountingUserId value */ + char *password; /* cupsJobPassword value */ + cups_array_t *mandatory; /* cupsMandatory value */ + char *charge_info_uri; /* cupsChargeInfoURI value */ + cups_array_t *strings; /* Localization strings */ + cups_array_t *support_files; /* Support files - ICC profiles, etc. */ +}; + + +/* + * Prototypes... + */ + +extern int _cupsConvertOptions(ipp_t *request, ppd_file_t *ppd, _ppd_cache_t *pc, ipp_attribute_t *media_col_sup, ipp_attribute_t *doc_handling_sup, ipp_attribute_t *print_color_mode_sup, const char *user, const char *format, int copies, int num_options, cups_option_t *options) _CUPS_PRIVATE; +extern int _cupsRasterExecPS(cups_page_header2_t *h, int *preferred_bits, const char *code) _CUPS_NONNULL(3) _CUPS_PRIVATE; +extern int _cupsRasterInterpretPPD(cups_page_header2_t *h, ppd_file_t *ppd, int num_options, cups_option_t *options, cups_interpret_cb_t func) _CUPS_PRIVATE; + +extern _ppd_cache_t *_ppdCacheCreateWithFile(const char *filename, + ipp_t **attrs) _CUPS_PRIVATE; +extern _ppd_cache_t *_ppdCacheCreateWithPPD(ppd_file_t *ppd) _CUPS_PRIVATE; +extern void _ppdCacheDestroy(_ppd_cache_t *pc) _CUPS_PRIVATE; +extern const char *_ppdCacheGetBin(_ppd_cache_t *pc, + const char *output_bin) _CUPS_PRIVATE; +extern int _ppdCacheGetFinishingOptions(_ppd_cache_t *pc, + ipp_t *job, + ipp_finishings_t value, + int num_options, + cups_option_t **options) _CUPS_PRIVATE; +extern int _ppdCacheGetFinishingValues(ppd_file_t *ppd, _ppd_cache_t *pc, int max_values, int *values) _CUPS_PRIVATE; +extern const char *_ppdCacheGetInputSlot(_ppd_cache_t *pc, ipp_t *job, + const char *keyword) _CUPS_PRIVATE; +extern const char *_ppdCacheGetMediaType(_ppd_cache_t *pc, ipp_t *job, + const char *keyword) _CUPS_PRIVATE; +extern const char *_ppdCacheGetOutputBin(_ppd_cache_t *pc, + const char *keyword) _CUPS_PRIVATE; +extern const char *_ppdCacheGetPageSize(_ppd_cache_t *pc, ipp_t *job, + const char *keyword, int *exact) _CUPS_PRIVATE; +extern pwg_size_t *_ppdCacheGetSize(_ppd_cache_t *pc, + const char *page_size) _CUPS_PRIVATE; +extern const char *_ppdCacheGetSource(_ppd_cache_t *pc, + const char *input_slot) _CUPS_PRIVATE; +extern const char *_ppdCacheGetType(_ppd_cache_t *pc, + const char *media_type) _CUPS_PRIVATE; +extern int _ppdCacheWriteFile(_ppd_cache_t *pc, + const char *filename, ipp_t *attrs) _CUPS_PRIVATE; +extern char *_ppdCreateFromIPP(char *buffer, size_t bufsize, ipp_t *response) _CUPS_PRIVATE; +extern void _ppdFreeLanguages(cups_array_t *languages) _CUPS_PRIVATE; +extern cups_encoding_t _ppdGetEncoding(const char *name) _CUPS_PRIVATE; +extern cups_array_t *_ppdGetLanguages(ppd_file_t *ppd) _CUPS_PRIVATE; +extern _ppd_globals_t *_ppdGlobals(void) _CUPS_PRIVATE; +extern unsigned _ppdHashName(const char *name) _CUPS_PRIVATE; +extern ppd_attr_t *_ppdLocalizedAttr(ppd_file_t *ppd, const char *keyword, + const char *spec, const char *ll_CC) _CUPS_PRIVATE; +extern char *_ppdNormalizeMakeAndModel(const char *make_and_model, + char *buffer, + size_t bufsize) _CUPS_PRIVATE; +extern ppd_file_t *_ppdOpen(cups_file_t *fp, + _ppd_localization_t localization) _CUPS_PRIVATE; +extern ppd_file_t *_ppdOpenFile(const char *filename, + _ppd_localization_t localization) _CUPS_PRIVATE; +extern int _ppdParseOptions(const char *s, int num_options, + cups_option_t **options, + _ppd_parse_t which) _CUPS_PRIVATE; +extern const char *_pwgInputSlotForSource(const char *media_source, + char *name, size_t namesize) _CUPS_PRIVATE; +extern const char *_pwgMediaTypeForType(const char *media_type, + char *name, size_t namesize) _CUPS_PRIVATE; +extern const char *_pwgPageSizeForMedia(pwg_media_t *media, + char *name, size_t namesize) _CUPS_PRIVATE; + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_PPD_PRIVATE_H_ */ diff --git a/cups/ppd-util.c b/cups/ppd-util.c new file mode 100644 index 0000000..5e43615 --- /dev/null +++ b/cups/ppd-util.c @@ -0,0 +1,665 @@ +/* + * PPD utilities for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "ppd-private.h" +#include "debug-internal.h" +#include +#include +#if defined(_WIN32) || defined(__EMX__) +# include +#else +# include +#endif /* _WIN32 || __EMX__ */ + + +/* + * Local functions... + */ + +static int cups_get_printer_uri(http_t *http, const char *name, + char *host, int hostsize, int *port, + char *resource, int resourcesize, + int depth); + + +/* + * 'cupsGetPPD()' - Get the PPD file for a printer on the default server. + * + * For classes, @code 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 @code cupsGetPPD@ or @link cupsGetPPD2@. The caller "owns" the + * file that is created and must @code unlink@ the returned filename. + */ + +const char * /* O - Filename for PPD file */ +cupsGetPPD(const char *name) /* I - Destination name */ +{ + _ppd_globals_t *pg = _ppdGlobals(); /* Pointer to library globals */ + time_t modtime = 0; /* Modification time */ + + + /* + * Return the PPD file... + */ + + pg->ppd_filename[0] = '\0'; + + if (cupsGetPPD3(CUPS_HTTP_DEFAULT, name, &modtime, pg->ppd_filename, + sizeof(pg->ppd_filename)) == HTTP_STATUS_OK) + return (pg->ppd_filename); + else + return (NULL); +} + + +/* + * 'cupsGetPPD2()' - Get the PPD file for a printer from the specified server. + * + * For classes, @code 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 @link cupsGetPPD@ or @code cupsGetPPD2@. The caller "owns" the + * file that is created and must @code unlink@ the returned filename. + * + * @since CUPS 1.1.21/macOS 10.4@ + */ + +const char * /* O - Filename for PPD file */ +cupsGetPPD2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *name) /* I - Destination name */ +{ + _ppd_globals_t *pg = _ppdGlobals(); /* Pointer to library globals */ + time_t modtime = 0; /* Modification time */ + + + pg->ppd_filename[0] = '\0'; + + if (cupsGetPPD3(http, name, &modtime, pg->ppd_filename, + sizeof(pg->ppd_filename)) == HTTP_STATUS_OK) + return (pg->ppd_filename); + else + return (NULL); +} + + +/* + * 'cupsGetPPD3()' - Get the PPD file for a printer on the specified + * server if it has changed. + * + * 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. The caller "owns" the file that is + * created and must @code unlink@ the returned filename. + * + * On success, @code HTTP_STATUS_OK@ is returned for a new PPD file and + * @code HTTP_STATUS_NOT_MODIFIED@ if the existing PPD file is up-to-date. Any other + * status is an error. + * + * For classes, @code cupsGetPPD3@ returns the PPD file for the first printer + * in the class. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +http_status_t /* O - HTTP status */ +cupsGetPPD3(http_t *http, /* I - HTTP connection or @code CUPS_HTTP_DEFAULT@ */ + const char *name, /* I - Destination name */ + time_t *modtime, /* IO - Modification time */ + char *buffer, /* I - Filename buffer */ + size_t bufsize) /* I - Size of filename buffer */ +{ + int http_port; /* Port number */ + char http_hostname[HTTP_MAX_HOST]; + /* Hostname associated with connection */ + http_t *http2; /* Alternate HTTP connection */ + int fd; /* PPD file */ + char localhost[HTTP_MAX_URI],/* Local hostname */ + hostname[HTTP_MAX_URI], /* Hostname */ + resource[HTTP_MAX_URI]; /* Resource name */ + int port; /* Port number */ + http_status_t status; /* HTTP status from server */ + char tempfile[1024] = ""; /* Temporary filename */ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + /* + * Range check input... + */ + + DEBUG_printf(("cupsGetPPD3(http=%p, name=\"%s\", modtime=%p(%d), buffer=%p, " + "bufsize=%d)", http, name, modtime, + modtime ? (int)*modtime : 0, buffer, (int)bufsize)); + + if (!name) + { + DEBUG_puts("2cupsGetPPD3: No printer name, returning NULL."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No printer name"), 1); + return (HTTP_STATUS_NOT_ACCEPTABLE); + } + + if (!modtime) + { + DEBUG_puts("2cupsGetPPD3: No modtime, returning NULL."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No modification time"), 1); + return (HTTP_STATUS_NOT_ACCEPTABLE); + } + + if (!buffer || bufsize <= 1) + { + DEBUG_puts("2cupsGetPPD3: No filename buffer, returning NULL."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad filename buffer"), 1); + return (HTTP_STATUS_NOT_ACCEPTABLE); + } + +#ifndef _WIN32 + /* + * See if the PPD file is available locally... + */ + + if (http) + httpGetHostname(http, hostname, sizeof(hostname)); + else + { + strlcpy(hostname, cupsServer(), sizeof(hostname)); + if (hostname[0] == '/') + strlcpy(hostname, "localhost", sizeof(hostname)); + } + + if (!_cups_strcasecmp(hostname, "localhost")) + { + char ppdname[1024]; /* PPD filename */ + struct stat ppdinfo; /* PPD file information */ + + + snprintf(ppdname, sizeof(ppdname), "%s/ppd/%s.ppd", cg->cups_serverroot, + name); + if (!stat(ppdname, &ppdinfo) && !access(ppdname, R_OK)) + { + /* + * OK, the file exists and is readable, use it! + */ + + if (buffer[0]) + { + DEBUG_printf(("2cupsGetPPD3: Using filename \"%s\".", buffer)); + + unlink(buffer); + + if (symlink(ppdname, buffer) && errno != EEXIST) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); + + return (HTTP_STATUS_SERVER_ERROR); + } + } + else + { + int tries; /* Number of tries */ + const char *tmpdir; /* TMPDIR environment variable */ + struct timeval curtime; /* Current time */ + + +#ifdef __APPLE__ + /* + * On macOS and iOS, the TMPDIR environment variable is not always the + * best location to place temporary files due to sandboxing. Instead, + * the confstr function should be called to get the proper per-user, + * per-process TMPDIR value. + */ + + char tmppath[1024]; /* Temporary directory */ + + if ((tmpdir = getenv("TMPDIR")) != NULL && access(tmpdir, W_OK)) + tmpdir = NULL; + + if (!tmpdir) + { + if (confstr(_CS_DARWIN_USER_TEMP_DIR, tmppath, sizeof(tmppath))) + tmpdir = tmppath; + else + tmpdir = "/private/tmp"; /* This should never happen */ + } +#else + /* + * Previously we put root temporary files in the default CUPS temporary + * directory under /var/spool/cups. However, since the scheduler cleans + * out temporary files there and runs independently of the user apps, we + * don't want to use it unless specifically told to by cupsd. + */ + + if ((tmpdir = getenv("TMPDIR")) == NULL) + tmpdir = "/tmp"; +#endif /* __APPLE__ */ + + DEBUG_printf(("2cupsGetPPD3: tmpdir=\"%s\".", tmpdir)); + + /* + * Make the temporary name using the specified directory... + */ + + tries = 0; + + do + { + /* + * Get the current time of day... + */ + + gettimeofday(&curtime, NULL); + + /* + * Format a string using the hex time values... + */ + + snprintf(buffer, bufsize, "%s/%08lx%05lx", tmpdir, + (unsigned long)curtime.tv_sec, + (unsigned long)curtime.tv_usec); + + /* + * Try to make a symlink... + */ + + if (!symlink(ppdname, buffer)) + break; + + DEBUG_printf(("2cupsGetPPD3: Symlink \"%s\" to \"%s\" failed: %s", ppdname, buffer, strerror(errno))); + + tries ++; + } + while (tries < 1000); + + if (tries >= 1000) + { + DEBUG_puts("2cupsGetPPD3: Unable to symlink after 1000 tries, returning error."); + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); + + return (HTTP_STATUS_SERVER_ERROR); + } + } + + if (*modtime >= ppdinfo.st_mtime) + { + DEBUG_printf(("2cupsGetPPD3: Returning not-modified, filename=\"%s\".", buffer)); + return (HTTP_STATUS_NOT_MODIFIED); + } + else + { + DEBUG_printf(("2cupsGetPPD3: Returning ok, filename=\"%s\", modtime=%ld.", buffer, (long)ppdinfo.st_mtime)); + *modtime = ppdinfo.st_mtime; + return (HTTP_STATUS_OK); + } + } + } +#endif /* !_WIN32 */ + + /* + * Try finding a printer URI for this printer... + */ + + DEBUG_puts("2cupsGetPPD3: Unable to access local file, copying..."); + + if (!http) + { + if ((http = _cupsConnect()) == NULL) + { + DEBUG_puts("2cupsGetPPD3: Unable to connect to scheduler."); + return (HTTP_STATUS_SERVICE_UNAVAILABLE); + } + } + + if (!cups_get_printer_uri(http, name, hostname, sizeof(hostname), &port, resource, sizeof(resource), 0)) + { + DEBUG_puts("2cupsGetPPD3: Unable to get printer URI."); + return (HTTP_STATUS_NOT_FOUND); + } + + DEBUG_printf(("2cupsGetPPD3: Printer hostname=\"%s\", port=%d", hostname, port)); + + if (cupsServer()[0] == '/' && !_cups_strcasecmp(hostname, "localhost") && port == ippPort()) + { + /* + * Redirect localhost to domain socket... + */ + + strlcpy(hostname, cupsServer(), sizeof(hostname)); + port = 0; + + DEBUG_printf(("2cupsGetPPD3: Redirecting to \"%s\".", hostname)); + } + + /* + * Remap local hostname to localhost... + */ + + httpGetHostname(NULL, localhost, sizeof(localhost)); + + DEBUG_printf(("2cupsGetPPD3: Local hostname=\"%s\"", localhost)); + + if (!_cups_strcasecmp(localhost, hostname)) + strlcpy(hostname, "localhost", sizeof(hostname)); + + /* + * Get the hostname and port number we are connected to... + */ + + httpGetHostname(http, http_hostname, sizeof(http_hostname)); + http_port = httpAddrPort(http->hostaddr); + + DEBUG_printf(("2cupsGetPPD3: Connection hostname=\"%s\", port=%d", + http_hostname, http_port)); + + /* + * Reconnect to the correct server as needed... + */ + + if (!_cups_strcasecmp(http_hostname, hostname) && port == http_port) + http2 = http; + else if ((http2 = httpConnect2(hostname, port, NULL, AF_UNSPEC, + cupsEncryption(), 1, 30000, NULL)) == NULL) + { + DEBUG_puts("2cupsGetPPD3: Unable to connect to server"); + + return (HTTP_STATUS_SERVICE_UNAVAILABLE); + } + + /* + * Get a temp file... + */ + + if (buffer[0]) + fd = open(buffer, O_CREAT | O_TRUNC | O_WRONLY, 0600); + else + fd = cupsTempFd(tempfile, sizeof(tempfile)); + + if (fd < 0) + { + /* + * Can't open file; close the server connection and return NULL... + */ + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); + + if (http2 != http) + httpClose(http2); + + return (HTTP_STATUS_SERVER_ERROR); + } + + /* + * And send a request to the HTTP server... + */ + + strlcat(resource, ".ppd", sizeof(resource)); + + if (*modtime > 0) + httpSetField(http2, HTTP_FIELD_IF_MODIFIED_SINCE, + httpGetDateString(*modtime)); + + status = cupsGetFd(http2, resource, fd); + + close(fd); + + /* + * See if we actually got the file or an error... + */ + + if (status == HTTP_STATUS_OK) + { + *modtime = httpGetDateTime(httpGetField(http2, HTTP_FIELD_DATE)); + + if (tempfile[0]) + strlcpy(buffer, tempfile, bufsize); + } + else if (status != HTTP_STATUS_NOT_MODIFIED) + { + _cupsSetHTTPError(status); + + if (buffer[0]) + unlink(buffer); + else if (tempfile[0]) + unlink(tempfile); + } + else if (tempfile[0]) + unlink(tempfile); + + if (http2 != http) + httpClose(http2); + + /* + * Return the PPD file... + */ + + DEBUG_printf(("2cupsGetPPD3: Returning status %d", status)); + + return (status); +} + + +/* + * 'cupsGetServerPPD()' - Get an available PPD file from the server. + * + * This function returns the named PPD file from the server. The + * list of available PPDs is provided by the IPP @code 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 @link cupsGetPPD@, @link cupsGetPPD2@, + * or @link cupsGetServerPPD@. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +char * /* O - Name of PPD file or @code NULL@ on error */ +cupsGetServerPPD(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *name) /* I - Name of PPD file ("ppd-name") */ +{ + int fd; /* PPD file descriptor */ + ipp_t *request; /* IPP request */ + _ppd_globals_t *pg = _ppdGlobals(); + /* Pointer to library globals */ + + + /* + * Range check input... + */ + + if (!name) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No PPD name"), 1); + + return (NULL); + } + + if (!http) + if ((http = _cupsConnect()) == NULL) + return (NULL); + + /* + * Get a temp file... + */ + + if ((fd = cupsTempFd(pg->ppd_filename, sizeof(pg->ppd_filename))) < 0) + { + /* + * Can't open file; close the server connection and return NULL... + */ + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); + + return (NULL); + } + + /* + * Get the PPD file... + */ + + request = ippNewRequest(IPP_OP_CUPS_GET_PPD); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "ppd-name", NULL, + name); + + ippDelete(cupsDoIORequest(http, request, "/", -1, fd)); + + close(fd); + + if (cupsLastError() != IPP_STATUS_OK) + { + unlink(pg->ppd_filename); + return (NULL); + } + else + return (pg->ppd_filename); +} + + +/* + * 'cups_get_printer_uri()' - Get the printer-uri-supported attribute for the + * first printer in a class. + */ + +static int /* O - 1 on success, 0 on failure */ +cups_get_printer_uri( + http_t *http, /* I - Connection to server */ + const char *name, /* I - Name of printer or class */ + char *host, /* I - Hostname buffer */ + int hostsize, /* I - Size of hostname buffer */ + int *port, /* O - Port number */ + char *resource, /* I - Resource buffer */ + int resourcesize, /* I - Size of resource buffer */ + int depth) /* I - Depth of query */ +{ + int i; /* Looping var */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* Current attribute */ + char uri[HTTP_MAX_URI], /* printer-uri attribute */ + scheme[HTTP_MAX_URI], /* Scheme name */ + username[HTTP_MAX_URI]; /* Username:password */ + static const char * const requested_attrs[] = + { /* Requested attributes */ + "member-uris", + "printer-uri-supported" + }; + + + DEBUG_printf(("4cups_get_printer_uri(http=%p, name=\"%s\", host=%p, hostsize=%d, resource=%p, resourcesize=%d, depth=%d)", http, name, host, hostsize, resource, resourcesize, depth)); + + /* + * Setup the printer URI... + */ + + if (httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, "localhost", 0, "/printers/%s", name) < HTTP_URI_STATUS_OK) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to create printer-uri"), 1); + + *host = '\0'; + *resource = '\0'; + + return (0); + } + + DEBUG_printf(("5cups_get_printer_uri: printer-uri=\"%s\"", uri)); + + /* + * Build an IPP_GET_PRINTER_ATTRIBUTES request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requested-attributes + */ + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", sizeof(requested_attrs) / sizeof(requested_attrs[0]), NULL, requested_attrs); + + /* + * Do the request and get back a response... + */ + + snprintf(resource, (size_t)resourcesize, "/printers/%s", name); + + if ((response = cupsDoRequest(http, request, resource)) != NULL) + { + if ((attr = ippFindAttribute(response, "member-uris", IPP_TAG_URI)) != NULL) + { + /* + * Get the first actual printer name in the class... + */ + + DEBUG_printf(("5cups_get_printer_uri: Got member-uris with %d values.", ippGetCount(attr))); + + for (i = 0; i < attr->num_values; i ++) + { + DEBUG_printf(("5cups_get_printer_uri: member-uris[%d]=\"%s\"", i, ippGetString(attr, i, NULL))); + + httpSeparateURI(HTTP_URI_CODING_ALL, attr->values[i].string.text, scheme, sizeof(scheme), username, sizeof(username), host, hostsize, port, resource, resourcesize); + if (!strncmp(resource, "/printers/", 10)) + { + /* + * Found a printer! + */ + + ippDelete(response); + + DEBUG_printf(("5cups_get_printer_uri: Found printer member with host=\"%s\", port=%d, resource=\"%s\"", host, *port, resource)); + return (1); + } + } + } + else if ((attr = ippFindAttribute(response, "printer-uri-supported", IPP_TAG_URI)) != NULL) + { + httpSeparateURI(HTTP_URI_CODING_ALL, _httpResolveURI(attr->values[0].string.text, uri, sizeof(uri), _HTTP_RESOLVE_DEFAULT, NULL, NULL), scheme, sizeof(scheme), username, sizeof(username), host, hostsize, port, resource, resourcesize); + ippDelete(response); + + DEBUG_printf(("5cups_get_printer_uri: Resolved to host=\"%s\", port=%d, resource=\"%s\"", host, *port, resource)); + + if (!strncmp(resource, "/classes/", 9)) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No printer-uri found for class"), 1); + + *host = '\0'; + *resource = '\0'; + + DEBUG_puts("5cups_get_printer_uri: Not returning class."); + return (0); + } + + return (1); + } + + ippDelete(response); + } + + if (cupsLastError() != IPP_STATUS_ERROR_NOT_FOUND) + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No printer-uri found"), 1); + + *host = '\0'; + *resource = '\0'; + + DEBUG_puts("5cups_get_printer_uri: Printer URI not found."); + return (0); +} diff --git a/cups/ppd.c b/cups/ppd.c new file mode 100644 index 0000000..ff52df2 --- /dev/null +++ b/cups/ppd.c @@ -0,0 +1,3467 @@ +/* + * PPD file routines for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + * + * PostScript is a trademark of Adobe Systems, Inc. + */ + +/* + * Include necessary headers. + */ + +#include "cups-private.h" +#include "ppd-private.h" +#include "debug-internal.h" + + +/* + * Definitions... + */ + +#define PPD_KEYWORD 1 /* Line contained a keyword */ +#define PPD_OPTION 2 /* Line contained an option name */ +#define PPD_TEXT 4 /* Line contained human-readable text */ +#define PPD_STRING 8 /* Line contained a string or code */ + +#define PPD_HASHSIZE 512 /* Size of hash */ + + +/* + * Line buffer structure... + */ + +typedef struct _ppd_line_s +{ + char *buffer; /* Pointer to buffer */ + size_t bufsize; /* Size of the buffer */ +} _ppd_line_t; + + +/* + * Local globals... + */ + +static _cups_threadkey_t ppd_globals_key = _CUPS_THREADKEY_INITIALIZER; + /* Thread local storage key */ +#ifdef HAVE_PTHREAD_H +static pthread_once_t ppd_globals_key_once = PTHREAD_ONCE_INIT; + /* One-time initialization object */ +#endif /* HAVE_PTHREAD_H */ + + +/* + * Local functions... + */ + +static ppd_attr_t *ppd_add_attr(ppd_file_t *ppd, const char *name, + const char *spec, const char *text, + const char *value); +static ppd_choice_t *ppd_add_choice(ppd_option_t *option, const char *name); +static ppd_size_t *ppd_add_size(ppd_file_t *ppd, const char *name); +static int ppd_compare_attrs(ppd_attr_t *a, ppd_attr_t *b); +static int ppd_compare_choices(ppd_choice_t *a, ppd_choice_t *b); +static int ppd_compare_coptions(ppd_coption_t *a, + ppd_coption_t *b); +static int ppd_compare_options(ppd_option_t *a, ppd_option_t *b); +static int ppd_decode(char *string); +static void ppd_free_filters(ppd_file_t *ppd); +static void ppd_free_group(ppd_group_t *group); +static void ppd_free_option(ppd_option_t *option); +static ppd_coption_t *ppd_get_coption(ppd_file_t *ppd, const char *name); +static ppd_cparam_t *ppd_get_cparam(ppd_coption_t *opt, + const char *param, + const char *text); +static ppd_group_t *ppd_get_group(ppd_file_t *ppd, const char *name, + const char *text, _ppd_globals_t *pg, + cups_encoding_t encoding); +static ppd_option_t *ppd_get_option(ppd_group_t *group, const char *name); +static _ppd_globals_t *ppd_globals_alloc(void); +#if defined(HAVE_PTHREAD_H) || defined(_WIN32) +static void ppd_globals_free(_ppd_globals_t *g); +#endif /* HAVE_PTHREAD_H || _WIN32 */ +#ifdef HAVE_PTHREAD_H +static void ppd_globals_init(void); +#endif /* HAVE_PTHREAD_H */ +static int ppd_hash_option(ppd_option_t *option); +static int ppd_read(cups_file_t *fp, _ppd_line_t *line, + char *keyword, char *option, char *text, + char **string, int ignoreblank, + _ppd_globals_t *pg); +static int ppd_update_filters(ppd_file_t *ppd, + _ppd_globals_t *pg); + + +/* + * 'ppdClose()' - Free all memory used by the PPD file. + */ + +void +ppdClose(ppd_file_t *ppd) /* I - PPD file record */ +{ + int i; /* Looping var */ + ppd_group_t *group; /* Current group */ + char **font; /* Current font */ + ppd_attr_t **attr; /* Current attribute */ + ppd_coption_t *coption; /* Current custom option */ + ppd_cparam_t *cparam; /* Current custom parameter */ + + + /* + * Range check arguments... + */ + + if (!ppd) + return; + + /* + * Free all strings at the top level... + */ + + free(ppd->lang_encoding); + free(ppd->nickname); + free(ppd->patches); + free(ppd->jcl_begin); + free(ppd->jcl_end); + free(ppd->jcl_ps); + + /* + * Free any UI groups, subgroups, and options... + */ + + if (ppd->num_groups > 0) + { + for (i = ppd->num_groups, group = ppd->groups; i > 0; i --, group ++) + ppd_free_group(group); + + free(ppd->groups); + } + + cupsArrayDelete(ppd->options); + cupsArrayDelete(ppd->marked); + + /* + * Free any page sizes... + */ + + if (ppd->num_sizes > 0) + free(ppd->sizes); + + /* + * Free any constraints... + */ + + if (ppd->num_consts > 0) + free(ppd->consts); + + /* + * Free any filters... + */ + + ppd_free_filters(ppd); + + /* + * Free any fonts... + */ + + if (ppd->num_fonts > 0) + { + for (i = ppd->num_fonts, font = ppd->fonts; i > 0; i --, font ++) + free(*font); + + free(ppd->fonts); + } + + /* + * Free any profiles... + */ + + if (ppd->num_profiles > 0) + free(ppd->profiles); + + /* + * Free any attributes... + */ + + if (ppd->num_attrs > 0) + { + for (i = ppd->num_attrs, attr = ppd->attrs; i > 0; i --, attr ++) + { + free((*attr)->value); + free(*attr); + } + + free(ppd->attrs); + } + + cupsArrayDelete(ppd->sorted_attrs); + + /* + * Free custom options... + */ + + for (coption = (ppd_coption_t *)cupsArrayFirst(ppd->coptions); + coption; + coption = (ppd_coption_t *)cupsArrayNext(ppd->coptions)) + { + for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); + cparam; + cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) + { + switch (cparam->type) + { + case PPD_CUSTOM_PASSCODE : + case PPD_CUSTOM_PASSWORD : + case PPD_CUSTOM_STRING : + free(cparam->current.custom_string); + break; + + default : + break; + } + + free(cparam); + } + + cupsArrayDelete(coption->params); + + free(coption); + } + + cupsArrayDelete(ppd->coptions); + + /* + * Free constraints... + */ + + if (ppd->cups_uiconstraints) + { + _ppd_cups_uiconsts_t *consts; /* Current constraints */ + + + for (consts = (_ppd_cups_uiconsts_t *)cupsArrayFirst(ppd->cups_uiconstraints); + consts; + consts = (_ppd_cups_uiconsts_t *)cupsArrayNext(ppd->cups_uiconstraints)) + { + free(consts->constraints); + free(consts); + } + + cupsArrayDelete(ppd->cups_uiconstraints); + } + + /* + * Free any PPD cache/mapping data... + */ + + if (ppd->cache) + _ppdCacheDestroy(ppd->cache); + + /* + * Free the whole record... + */ + + free(ppd); +} + + +/* + * 'ppdErrorString()' - Returns the text associated with a status. + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +const char * /* O - Status string */ +ppdErrorString(ppd_status_t status) /* I - PPD status */ +{ + static const char * const messages[] =/* Status messages */ + { + _("OK"), + _("Unable to open PPD file"), + _("NULL PPD file pointer"), + _("Memory allocation error"), + _("Missing PPD-Adobe-4.x header"), + _("Missing value string"), + _("Internal error"), + _("Bad OpenGroup"), + _("OpenGroup without a CloseGroup first"), + _("Bad OpenUI/JCLOpenUI"), + _("OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first"), + _("Bad OrderDependency"), + _("Bad UIConstraints"), + _("Missing asterisk in column 1"), + _("Line longer than the maximum allowed (255 characters)"), + _("Illegal control character"), + _("Illegal main keyword string"), + _("Illegal option keyword string"), + _("Illegal translation string"), + _("Illegal whitespace character"), + _("Bad custom parameter"), + _("Missing option keyword"), + _("Bad value string"), + _("Missing CloseGroup"), + _("Bad CloseUI/JCLCloseUI"), + _("Missing CloseUI/JCLCloseUI") + }; + + + if (status < PPD_OK || status >= PPD_MAX_STATUS) + return (_cupsLangString(cupsLangDefault(), _("Unknown"))); + else + return (_cupsLangString(cupsLangDefault(), messages[status])); +} + + +/* + * '_ppdGetEncoding()' - Get the CUPS encoding value for the given + * LanguageEncoding. + */ + +cups_encoding_t /* O - CUPS encoding value */ +_ppdGetEncoding(const char *name) /* I - LanguageEncoding string */ +{ + if (!_cups_strcasecmp(name, "ISOLatin1")) + return (CUPS_ISO8859_1); + else if (!_cups_strcasecmp(name, "ISOLatin2")) + return (CUPS_ISO8859_2); + else if (!_cups_strcasecmp(name, "ISOLatin5")) + return (CUPS_ISO8859_5); + else if (!_cups_strcasecmp(name, "JIS83-RKSJ")) + return (CUPS_JIS_X0213); + else if (!_cups_strcasecmp(name, "MacStandard")) + return (CUPS_MAC_ROMAN); + else if (!_cups_strcasecmp(name, "WindowsANSI")) + return (CUPS_WINDOWS_1252); + else + return (CUPS_UTF8); +} + + +/* + * '_ppdGlobals()' - Return a pointer to thread local storage + */ + +_ppd_globals_t * /* O - Pointer to global data */ +_ppdGlobals(void) +{ + _ppd_globals_t *pg; /* Pointer to global data */ + + +#ifdef HAVE_PTHREAD_H + /* + * Initialize the global data exactly once... + */ + + pthread_once(&ppd_globals_key_once, ppd_globals_init); +#endif /* HAVE_PTHREAD_H */ + + /* + * See if we have allocated the data yet... + */ + + if ((pg = (_ppd_globals_t *)_cupsThreadGetData(ppd_globals_key)) == NULL) + { + /* + * No, allocate memory as set the pointer for the key... + */ + + if ((pg = ppd_globals_alloc()) != NULL) + _cupsThreadSetData(ppd_globals_key, pg); + } + + /* + * Return the pointer to the data... + */ + + return (pg); +} + + +/* + * 'ppdLastError()' - Return the status from the last ppdOpen*(). + * + * @since CUPS 1.1.19/macOS 10.3@ + */ + +ppd_status_t /* O - Status code */ +ppdLastError(int *line) /* O - Line number */ +{ + _ppd_globals_t *pg = _ppdGlobals(); + /* Global data */ + + + if (line) + *line = pg->ppd_line; + + return (pg->ppd_status); +} + + +/* + * '_ppdOpen()' - Read a PPD file into memory. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ppd_file_t * /* O - PPD file record or @code NULL@ if the PPD file could not be opened. */ +_ppdOpen( + cups_file_t *fp, /* I - File to read from */ + _ppd_localization_t localization) /* I - Localization to load */ +{ + int i, j, k; /* Looping vars */ + _ppd_line_t line; /* Line buffer */ + ppd_file_t *ppd; /* PPD file record */ + ppd_group_t *group, /* Current group */ + *subgroup; /* Current sub-group */ + ppd_option_t *option; /* Current option */ + ppd_choice_t *choice; /* Current choice */ + ppd_const_t *constraint; /* Current constraint */ + ppd_size_t *size; /* Current page size */ + int mask; /* Line data mask */ + char keyword[PPD_MAX_NAME], + /* Keyword from file */ + name[PPD_MAX_NAME], + /* Option from file */ + text[PPD_MAX_LINE], + /* Human-readable text from file */ + *string, /* Code/text from file */ + *sptr, /* Pointer into string */ + *temp, /* Temporary string pointer */ + **tempfonts; /* Temporary fonts pointer */ + float order; /* Order dependency number */ + ppd_section_t section; /* Order dependency section */ + ppd_profile_t *profile; /* Pointer to color profile */ + char **filter; /* Pointer to filter */ + struct lconv *loc; /* Locale data */ + int ui_keyword; /* Is this line a UI keyword? */ + cups_lang_t *lang; /* Language data */ + cups_encoding_t encoding; /* Encoding of PPD file */ + _ppd_globals_t *pg = _ppdGlobals(); + /* Global data */ + char custom_name[PPD_MAX_NAME]; + /* CustomFoo attribute name */ + ppd_attr_t *custom_attr; /* CustomFoo attribute */ + char ll[7], /* Base language + '.' */ + ll_CC[7]; /* Language w/country + '.' */ + size_t ll_len = 0, /* Base language length */ + ll_CC_len = 0; /* Language w/country length */ + static const char * const ui_keywords[] = + { +#ifdef CUPS_USE_FULL_UI_KEYWORDS_LIST + /* + * Adobe defines some 41 keywords as "UI", meaning that they are + * user interface elements and that they should be treated as such + * even if the PPD creator doesn't use Open/CloseUI around them. + * + * Since this can cause previously invisible options to appear and + * confuse users, the default is to only treat the PageSize and + * PageRegion keywords this way. + */ + /* Boolean keywords */ + "BlackSubstitution", + "Booklet", + "Collate", + "ManualFeed", + "MirrorPrint", + "NegativePrint", + "Sorter", + "TraySwitch", + + /* PickOne keywords */ + "AdvanceMedia", + "BindColor", + "BindEdge", + "BindType", + "BindWhen", + "BitsPerPixel", + "ColorModel", + "CutMedia", + "Duplex", + "FoldType", + "FoldWhen", + "InputSlot", + "JCLFrameBufferSize", + "JCLResolution", + "Jog", + "MediaColor", + "MediaType", + "MediaWeight", + "OutputBin", + "OutputMode", + "OutputOrder", + "PageRegion", + "PageSize", + "Resolution", + "Separations", + "Signature", + "Slipsheet", + "Smoothing", + "StapleLocation", + "StapleOrientation", + "StapleWhen", + "StapleX", + "StapleY" +#else /* !CUPS_USE_FULL_UI_KEYWORDS_LIST */ + "PageRegion", + "PageSize" +#endif /* CUPS_USE_FULL_UI_KEYWORDS_LIST */ + }; + static const char * const color_keywords[] = /* Keywords associated with color profiles */ + { + ".cupsICCProfile", + ".ColorModel", + }; + + + DEBUG_printf(("_ppdOpen(fp=%p)", fp)); + + /* + * Default to "OK" status... + */ + + pg->ppd_status = PPD_OK; + pg->ppd_line = 0; + + /* + * Range check input... + */ + + if (fp == NULL) + { + pg->ppd_status = PPD_NULL_FILE; + return (NULL); + } + + /* + * If only loading a single localization set up the strings to match... + */ + + if (localization == _PPD_LOCALIZATION_DEFAULT) + { + if ((lang = cupsLangDefault()) == NULL) + return (NULL); + + snprintf(ll_CC, sizeof(ll_CC), "%s.", lang->language); + + /* + * + * + * + * Need to use a different base language for some locales... + */ + + if (!strcmp(lang->language, "zh_HK")) + { /* Traditional Chinese + variants */ + strlcpy(ll_CC, "zh_TW.", sizeof(ll_CC)); + strlcpy(ll, "zh_", sizeof(ll)); + } + else if (!strncmp(lang->language, "zh", 2)) + strlcpy(ll, "zh_", sizeof(ll)); /* Any Chinese variant */ + else if (!strncmp(lang->language, "jp", 2)) + { /* Any Japanese variant */ + strlcpy(ll_CC, "ja", sizeof(ll_CC)); + strlcpy(ll, "jp", sizeof(ll)); + } + else if (!strncmp(lang->language, "nb", 2) || !strncmp(lang->language, "no", 2)) + { /* Any Norwegian variant */ + strlcpy(ll_CC, "nb", sizeof(ll_CC)); + strlcpy(ll, "no", sizeof(ll)); + } + else + snprintf(ll, sizeof(ll), "%2.2s.", lang->language); + + ll_CC_len = strlen(ll_CC); + ll_len = strlen(ll); + + DEBUG_printf(("2_ppdOpen: Loading localizations matching \"%s\" and \"%s\"", + ll_CC, ll)); + } + + /* + * Grab the first line and make sure it reads '*PPD-Adobe: "major.minor"'... + */ + + line.buffer = NULL; + line.bufsize = 0; + + mask = ppd_read(fp, &line, keyword, name, text, &string, 0, pg); + + DEBUG_printf(("2_ppdOpen: mask=%x, keyword=\"%s\"...", mask, keyword)); + + if (mask == 0 || + strcmp(keyword, "PPD-Adobe") || + string == NULL || string[0] != '4') + { + /* + * Either this is not a PPD file, or it is not a 4.x PPD file. + */ + + if (pg->ppd_status == PPD_OK) + pg->ppd_status = PPD_MISSING_PPDADOBE4; + + free(string); + free(line.buffer); + + return (NULL); + } + + DEBUG_printf(("2_ppdOpen: keyword=%s, string=%p", keyword, string)); + + /* + * Allocate memory for the PPD file record... + */ + + if ((ppd = calloc(1, sizeof(ppd_file_t))) == NULL) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + free(string); + free(line.buffer); + + return (NULL); + } + + free(string); + string = NULL; + + ppd->language_level = 2; + ppd->color_device = 0; + ppd->colorspace = PPD_CS_N; + ppd->landscape = -90; + ppd->coptions = cupsArrayNew((cups_array_func_t)ppd_compare_coptions, NULL); + + /* + * Read lines from the PPD file and add them to the file record... + */ + + group = NULL; + subgroup = NULL; + option = NULL; + choice = NULL; + ui_keyword = 0; + encoding = CUPS_ISO8859_1; + loc = localeconv(); + + while ((mask = ppd_read(fp, &line, keyword, name, text, &string, 1, pg)) != 0) + { + DEBUG_printf(("2_ppdOpen: mask=%x, keyword=\"%s\", name=\"%s\", " + "text=\"%s\", string=%d chars...", mask, keyword, name, text, + string ? (int)strlen(string) : 0)); + + if (strncmp(keyword, "Default", 7) && !string && + pg->ppd_conform != PPD_CONFORM_RELAXED) + { + /* + * Need a string value! + */ + + pg->ppd_status = PPD_MISSING_VALUE; + + goto error; + } + else if (!string) + continue; + + /* + * Certain main keywords (as defined by the PPD spec) may be used + * without the usual OpenUI/CloseUI stuff. Presumably this is just + * so that Adobe wouldn't completely break compatibility with PPD + * files prior to v4.0 of the spec, but it is hopelessly + * inconsistent... Catch these main keywords and automatically + * create the corresponding option, as needed... + */ + + if (ui_keyword) + { + /* + * Previous line was a UI keyword... + */ + + option = NULL; + ui_keyword = 0; + } + + /* + * If we are filtering out keyword localizations, see if this line needs to + * be used... + */ + + if (localization != _PPD_LOCALIZATION_ALL && + (temp = strchr(keyword, '.')) != NULL && + ((temp - keyword) == 2 || (temp - keyword) == 5) && + _cups_isalpha(keyword[0]) && + _cups_isalpha(keyword[1]) && + (keyword[2] == '.' || + (keyword[2] == '_' && _cups_isalpha(keyword[3]) && + _cups_isalpha(keyword[4]) && keyword[5] == '.'))) + { + if (localization == _PPD_LOCALIZATION_NONE || + (localization == _PPD_LOCALIZATION_DEFAULT && + strncmp(ll_CC, keyword, ll_CC_len) && + strncmp(ll, keyword, ll_len))) + { + DEBUG_printf(("2_ppdOpen: Ignoring localization: \"%s\"\n", keyword)); + free(string); + string = NULL; + continue; + } + else if (localization == _PPD_LOCALIZATION_ICC_PROFILES) + { + /* + * Only load localizations for the color profile related keywords... + */ + + for (i = 0; + i < (int)(sizeof(color_keywords) / sizeof(color_keywords[0])); + i ++) + { + if (!_cups_strcasecmp(temp, color_keywords[i])) + break; + } + + if (i >= (int)(sizeof(color_keywords) / sizeof(color_keywords[0]))) + { + DEBUG_printf(("2_ppdOpen: Ignoring localization: \"%s\"\n", keyword)); + free(string); + string = NULL; + continue; + } + } + } + + if (option == NULL && + (mask & (PPD_KEYWORD | PPD_OPTION | PPD_STRING)) == + (PPD_KEYWORD | PPD_OPTION | PPD_STRING)) + { + for (i = 0; i < (int)(sizeof(ui_keywords) / sizeof(ui_keywords[0])); i ++) + if (!strcmp(keyword, ui_keywords[i])) + break; + + if (i < (int)(sizeof(ui_keywords) / sizeof(ui_keywords[0]))) + { + /* + * Create the option in the appropriate group... + */ + + ui_keyword = 1; + + DEBUG_printf(("2_ppdOpen: FOUND ADOBE UI KEYWORD %s WITHOUT OPENUI!", + keyword)); + + if (!group) + { + if ((group = ppd_get_group(ppd, "General", _("General"), pg, + encoding)) == NULL) + goto error; + + DEBUG_printf(("2_ppdOpen: Adding to group %s...", group->text)); + option = ppd_get_option(group, keyword); + group = NULL; + } + else + option = ppd_get_option(group, keyword); + + if (option == NULL) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + /* + * Now fill in the initial information for the option... + */ + + if (!strncmp(keyword, "JCL", 3)) + option->section = PPD_ORDER_JCL; + else + option->section = PPD_ORDER_ANY; + + option->order = 10.0f; + + if (i < 8) + option->ui = PPD_UI_BOOLEAN; + else + option->ui = PPD_UI_PICKONE; + + for (j = 0; j < ppd->num_attrs; j ++) + if (!strncmp(ppd->attrs[j]->name, "Default", 7) && + !strcmp(ppd->attrs[j]->name + 7, keyword) && + ppd->attrs[j]->value) + { + DEBUG_printf(("2_ppdOpen: Setting Default%s to %s via attribute...", + option->keyword, ppd->attrs[j]->value)); + strlcpy(option->defchoice, ppd->attrs[j]->value, + sizeof(option->defchoice)); + break; + } + + if (!strcmp(keyword, "PageSize")) + strlcpy(option->text, _("Media Size"), sizeof(option->text)); + else if (!strcmp(keyword, "MediaType")) + strlcpy(option->text, _("Media Type"), sizeof(option->text)); + else if (!strcmp(keyword, "InputSlot")) + strlcpy(option->text, _("Media Source"), sizeof(option->text)); + else if (!strcmp(keyword, "ColorModel")) + strlcpy(option->text, _("Output Mode"), sizeof(option->text)); + else if (!strcmp(keyword, "Resolution")) + strlcpy(option->text, _("Resolution"), sizeof(option->text)); + else + strlcpy(option->text, keyword, sizeof(option->text)); + } + } + + if (!strcmp(keyword, "LanguageLevel")) + ppd->language_level = atoi(string); + else if (!strcmp(keyword, "LanguageEncoding")) + { + /* + * Say all PPD files are UTF-8, since we convert to UTF-8... + */ + + ppd->lang_encoding = strdup("UTF-8"); + encoding = _ppdGetEncoding(string); + } + else if (!strcmp(keyword, "LanguageVersion")) + ppd->lang_version = string; + else if (!strcmp(keyword, "Manufacturer")) + ppd->manufacturer = string; + else if (!strcmp(keyword, "ModelName")) + ppd->modelname = string; + else if (!strcmp(keyword, "Protocols")) + ppd->protocols = string; + else if (!strcmp(keyword, "PCFileName")) + ppd->pcfilename = string; + else if (!strcmp(keyword, "NickName")) + { + if (encoding != CUPS_UTF8) + { + cups_utf8_t utf8[256]; /* UTF-8 version of NickName */ + + + cupsCharsetToUTF8(utf8, string, sizeof(utf8), encoding); + ppd->nickname = strdup((char *)utf8); + } + else + ppd->nickname = strdup(string); + } + else if (!strcmp(keyword, "Product")) + ppd->product = string; + else if (!strcmp(keyword, "ShortNickName")) + ppd->shortnickname = string; + else if (!strcmp(keyword, "TTRasterizer")) + ppd->ttrasterizer = string; + else if (!strcmp(keyword, "JCLBegin")) + { + ppd->jcl_begin = strdup(string); + ppd_decode(ppd->jcl_begin); /* Decode quoted string */ + } + else if (!strcmp(keyword, "JCLEnd")) + { + ppd->jcl_end = strdup(string); + ppd_decode(ppd->jcl_end); /* Decode quoted string */ + } + else if (!strcmp(keyword, "JCLToPSInterpreter")) + { + ppd->jcl_ps = strdup(string); + ppd_decode(ppd->jcl_ps); /* Decode quoted string */ + } + else if (!strcmp(keyword, "AccurateScreensSupport")) + ppd->accurate_screens = !strcmp(string, "True"); + else if (!strcmp(keyword, "ColorDevice")) + ppd->color_device = !strcmp(string, "True"); + else if (!strcmp(keyword, "ContoneOnly")) + ppd->contone_only = !strcmp(string, "True"); + else if (!strcmp(keyword, "cupsFlipDuplex")) + ppd->flip_duplex = !strcmp(string, "True"); + else if (!strcmp(keyword, "cupsManualCopies")) + ppd->manual_copies = !strcmp(string, "True"); + else if (!strcmp(keyword, "cupsModelNumber")) + ppd->model_number = atoi(string); + else if (!strcmp(keyword, "cupsColorProfile")) + { + if (ppd->num_profiles == 0) + profile = malloc(sizeof(ppd_profile_t)); + else + profile = realloc(ppd->profiles, sizeof(ppd_profile_t) * (size_t)(ppd->num_profiles + 1)); + + if (!profile) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + ppd->profiles = profile; + profile += ppd->num_profiles; + ppd->num_profiles ++; + + memset(profile, 0, sizeof(ppd_profile_t)); + strlcpy(profile->resolution, name, sizeof(profile->resolution)); + strlcpy(profile->media_type, text, sizeof(profile->media_type)); + + profile->density = (float)_cupsStrScand(string, &sptr, loc); + profile->gamma = (float)_cupsStrScand(sptr, &sptr, loc); + profile->matrix[0][0] = (float)_cupsStrScand(sptr, &sptr, loc); + profile->matrix[0][1] = (float)_cupsStrScand(sptr, &sptr, loc); + profile->matrix[0][2] = (float)_cupsStrScand(sptr, &sptr, loc); + profile->matrix[1][0] = (float)_cupsStrScand(sptr, &sptr, loc); + profile->matrix[1][1] = (float)_cupsStrScand(sptr, &sptr, loc); + profile->matrix[1][2] = (float)_cupsStrScand(sptr, &sptr, loc); + profile->matrix[2][0] = (float)_cupsStrScand(sptr, &sptr, loc); + profile->matrix[2][1] = (float)_cupsStrScand(sptr, &sptr, loc); + profile->matrix[2][2] = (float)_cupsStrScand(sptr, &sptr, loc); + } + else if (!strcmp(keyword, "cupsFilter")) + { + if (ppd->num_filters == 0) + filter = malloc(sizeof(char *)); + else + filter = realloc(ppd->filters, sizeof(char *) * (size_t)(ppd->num_filters + 1)); + + if (filter == NULL) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + ppd->filters = filter; + filter += ppd->num_filters; + ppd->num_filters ++; + + /* + * Make a copy of the filter string... + */ + + *filter = strdup(string); + } + else if (!strcmp(keyword, "Throughput")) + ppd->throughput = atoi(string); + else if (!strcmp(keyword, "Font")) + { + /* + * Add this font to the list of available fonts... + */ + + if (ppd->num_fonts == 0) + tempfonts = (char **)malloc(sizeof(char *)); + else + tempfonts = (char **)realloc(ppd->fonts, sizeof(char *) * (size_t)(ppd->num_fonts + 1)); + + if (tempfonts == NULL) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + ppd->fonts = tempfonts; + ppd->fonts[ppd->num_fonts] = strdup(name); + ppd->num_fonts ++; + } + else if (!strncmp(keyword, "ParamCustom", 11)) + { + ppd_coption_t *coption; /* Custom option */ + ppd_cparam_t *cparam; /* Custom parameter */ + int corder; /* Order number */ + char ctype[33], /* Data type */ + cminimum[65], /* Minimum value */ + cmaximum[65]; /* Maximum value */ + + + /* + * Get the custom option and parameter... + */ + + if ((coption = ppd_get_coption(ppd, keyword + 11)) == NULL) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + if ((cparam = ppd_get_cparam(coption, name, text)) == NULL) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + if (cparam->type != PPD_CUSTOM_UNKNOWN) + { + pg->ppd_status = PPD_BAD_CUSTOM_PARAM; + + goto error; + } + + /* + * Get the parameter data... + */ + + if (!string || + sscanf(string, "%d%32s%64s%64s", &corder, ctype, cminimum, + cmaximum) != 4) + { + pg->ppd_status = PPD_BAD_CUSTOM_PARAM; + + goto error; + } + + cparam->order = corder; + + if (!strcmp(ctype, "curve")) + { + cparam->type = PPD_CUSTOM_CURVE; + cparam->minimum.custom_curve = (float)_cupsStrScand(cminimum, NULL, loc); + cparam->maximum.custom_curve = (float)_cupsStrScand(cmaximum, NULL, loc); + } + else if (!strcmp(ctype, "int")) + { + cparam->type = PPD_CUSTOM_INT; + cparam->minimum.custom_int = atoi(cminimum); + cparam->maximum.custom_int = atoi(cmaximum); + } + else if (!strcmp(ctype, "invcurve")) + { + cparam->type = PPD_CUSTOM_INVCURVE; + cparam->minimum.custom_invcurve = (float)_cupsStrScand(cminimum, NULL, loc); + cparam->maximum.custom_invcurve = (float)_cupsStrScand(cmaximum, NULL, loc); + } + else if (!strcmp(ctype, "passcode")) + { + cparam->type = PPD_CUSTOM_PASSCODE; + cparam->minimum.custom_passcode = atoi(cminimum); + cparam->maximum.custom_passcode = atoi(cmaximum); + } + else if (!strcmp(ctype, "password")) + { + cparam->type = PPD_CUSTOM_PASSWORD; + cparam->minimum.custom_password = atoi(cminimum); + cparam->maximum.custom_password = atoi(cmaximum); + } + else if (!strcmp(ctype, "points")) + { + cparam->type = PPD_CUSTOM_POINTS; + cparam->minimum.custom_points = (float)_cupsStrScand(cminimum, NULL, loc); + cparam->maximum.custom_points = (float)_cupsStrScand(cmaximum, NULL, loc); + } + else if (!strcmp(ctype, "real")) + { + cparam->type = PPD_CUSTOM_REAL; + cparam->minimum.custom_real = (float)_cupsStrScand(cminimum, NULL, loc); + cparam->maximum.custom_real = (float)_cupsStrScand(cmaximum, NULL, loc); + } + else if (!strcmp(ctype, "string")) + { + cparam->type = PPD_CUSTOM_STRING; + cparam->minimum.custom_string = atoi(cminimum); + cparam->maximum.custom_string = atoi(cmaximum); + } + else + { + pg->ppd_status = PPD_BAD_CUSTOM_PARAM; + + goto error; + } + + /* + * Now special-case for CustomPageSize... + */ + + if (!strcmp(coption->keyword, "PageSize")) + { + if (!strcmp(name, "Width")) + { + ppd->custom_min[0] = cparam->minimum.custom_points; + ppd->custom_max[0] = cparam->maximum.custom_points; + } + else if (!strcmp(name, "Height")) + { + ppd->custom_min[1] = cparam->minimum.custom_points; + ppd->custom_max[1] = cparam->maximum.custom_points; + } + } + } + else if (!strcmp(keyword, "HWMargins")) + { + for (i = 0, sptr = string; i < 4; i ++) + ppd->custom_margins[i] = (float)_cupsStrScand(sptr, &sptr, loc); + } + else if (!strncmp(keyword, "Custom", 6) && !strcmp(name, "True") && !option) + { + ppd_option_t *custom_option; /* Custom option */ + + DEBUG_puts("2_ppdOpen: Processing Custom option..."); + + /* + * Get the option and custom option... + */ + + if (!ppd_get_coption(ppd, keyword + 6)) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + if (option && !_cups_strcasecmp(option->keyword, keyword + 6)) + custom_option = option; + else + custom_option = ppdFindOption(ppd, keyword + 6); + + if (custom_option) + { + /* + * Add the "custom" option... + */ + + if ((choice = ppdFindChoice(custom_option, "Custom")) == NULL) + if ((choice = ppd_add_choice(custom_option, "Custom")) == NULL) + { + DEBUG_puts("1_ppdOpen: Unable to add Custom choice!"); + + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + strlcpy(choice->text, text[0] ? text : _("Custom"), + sizeof(choice->text)); + + choice->code = strdup(string); + + if (custom_option->section == PPD_ORDER_JCL) + ppd_decode(choice->code); + } + + /* + * Now process custom page sizes specially... + */ + + if (!strcmp(keyword, "CustomPageSize")) + { + /* + * Add a "Custom" page size entry... + */ + + ppd->variable_sizes = 1; + + ppd_add_size(ppd, "Custom"); + + if (option && !_cups_strcasecmp(option->keyword, "PageRegion")) + custom_option = option; + else + custom_option = ppdFindOption(ppd, "PageRegion"); + + if (custom_option) + { + if ((choice = ppdFindChoice(custom_option, "Custom")) == NULL) + if ((choice = ppd_add_choice(custom_option, "Custom")) == NULL) + { + DEBUG_puts("1_ppdOpen: Unable to add Custom choice!"); + + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + strlcpy(choice->text, text[0] ? text : _("Custom"), + sizeof(choice->text)); + } + } + } + else if (!strcmp(keyword, "LandscapeOrientation")) + { + if (!strcmp(string, "Minus90")) + ppd->landscape = -90; + else if (!strcmp(string, "Plus90")) + ppd->landscape = 90; + } + else if (!strcmp(keyword, "Emulators") && string && ppd->num_emulations == 0) + { + /* + * Issue #5562: Samsung printer drivers incorrectly use Emulators keyword + * to configure themselves + * + * The Emulators keyword was loaded but never used by anything in CUPS, + * and has no valid purpose in CUPS. The old code was removed due to a + * memory leak (Issue #5475), so the following (new) code supports a single + * name for the Emulators keyword, allowing these drivers to work until we + * remove PPD and driver support entirely in a future version of CUPS. + */ + + ppd->num_emulations = 1; + ppd->emulations = calloc(1, sizeof(ppd_emul_t)); + + strlcpy(ppd->emulations[0].name, string, sizeof(ppd->emulations[0].name)); + } + else if (!strcmp(keyword, "JobPatchFile")) + { + /* + * CUPS STR #3421: Check for "*JobPatchFile: int: string" + */ + + if (isdigit(*string & 255)) + { + for (sptr = string + 1; isdigit(*sptr & 255); sptr ++); + + if (*sptr == ':') + { + /* + * Found "*JobPatchFile: int: string"... + */ + + pg->ppd_status = PPD_BAD_VALUE; + + goto error; + } + } + + if (!name[0] && pg->ppd_conform == PPD_CONFORM_STRICT) + { + /* + * Found "*JobPatchFile: string"... + */ + + pg->ppd_status = PPD_MISSING_OPTION_KEYWORD; + + goto error; + } + + if (ppd->patches == NULL) + ppd->patches = strdup(string); + else + { + temp = realloc(ppd->patches, strlen(ppd->patches) + + strlen(string) + 1); + if (temp == NULL) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + ppd->patches = temp; + + memcpy(ppd->patches + strlen(ppd->patches), string, strlen(string) + 1); + } + } + else if (!strcmp(keyword, "OpenUI")) + { + /* + * Don't allow nesting of options... + */ + + if (option && pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_NESTED_OPEN_UI; + + goto error; + } + + /* + * Add an option record to the current sub-group, group, or file... + */ + + DEBUG_printf(("2_ppdOpen: name=\"%s\" (%d)", name, (int)strlen(name))); + + if (name[0] == '*') + _cups_strcpy(name, name + 1); /* Eliminate leading asterisk */ + + for (i = (int)strlen(name) - 1; i > 0 && _cups_isspace(name[i]); i --) + name[i] = '\0'; /* Eliminate trailing spaces */ + + DEBUG_printf(("2_ppdOpen: OpenUI of %s in group %s...", name, + group ? group->text : "(null)")); + + if (subgroup != NULL) + option = ppd_get_option(subgroup, name); + else if (group == NULL) + { + if ((group = ppd_get_group(ppd, "General", _("General"), pg, + encoding)) == NULL) + goto error; + + DEBUG_printf(("2_ppdOpen: Adding to group %s...", group->text)); + option = ppd_get_option(group, name); + group = NULL; + } + else + option = ppd_get_option(group, name); + + if (option == NULL) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + /* + * Now fill in the initial information for the option... + */ + + if (string && !strcmp(string, "PickMany")) + option->ui = PPD_UI_PICKMANY; + else if (string && !strcmp(string, "Boolean")) + option->ui = PPD_UI_BOOLEAN; + else if (string && !strcmp(string, "PickOne")) + option->ui = PPD_UI_PICKONE; + else if (pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_BAD_OPEN_UI; + + goto error; + } + else + option->ui = PPD_UI_PICKONE; + + for (j = 0; j < ppd->num_attrs; j ++) + if (!strncmp(ppd->attrs[j]->name, "Default", 7) && + !strcmp(ppd->attrs[j]->name + 7, name) && + ppd->attrs[j]->value) + { + DEBUG_printf(("2_ppdOpen: Setting Default%s to %s via attribute...", + option->keyword, ppd->attrs[j]->value)); + strlcpy(option->defchoice, ppd->attrs[j]->value, + sizeof(option->defchoice)); + break; + } + + if (text[0]) + cupsCharsetToUTF8((cups_utf8_t *)option->text, text, + sizeof(option->text), encoding); + else + { + if (!strcmp(name, "PageSize")) + strlcpy(option->text, _("Media Size"), sizeof(option->text)); + else if (!strcmp(name, "MediaType")) + strlcpy(option->text, _("Media Type"), sizeof(option->text)); + else if (!strcmp(name, "InputSlot")) + strlcpy(option->text, _("Media Source"), sizeof(option->text)); + else if (!strcmp(name, "ColorModel")) + strlcpy(option->text, _("Output Mode"), sizeof(option->text)); + else if (!strcmp(name, "Resolution")) + strlcpy(option->text, _("Resolution"), sizeof(option->text)); + else + strlcpy(option->text, name, sizeof(option->text)); + } + + option->section = PPD_ORDER_ANY; + + free(string); + string = NULL; + + /* + * Add a custom option choice if we have already seen a CustomFoo + * attribute... + */ + + if (!_cups_strcasecmp(name, "PageRegion")) + strlcpy(custom_name, "CustomPageSize", sizeof(custom_name)); + else + snprintf(custom_name, sizeof(custom_name), "Custom%s", name); + + if ((custom_attr = ppdFindAttr(ppd, custom_name, "True")) != NULL) + { + if ((choice = ppdFindChoice(option, "Custom")) == NULL) + if ((choice = ppd_add_choice(option, "Custom")) == NULL) + { + DEBUG_puts("1_ppdOpen: Unable to add Custom choice!"); + + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + strlcpy(choice->text, + custom_attr->text[0] ? custom_attr->text : _("Custom"), + sizeof(choice->text)); + choice->code = strdup(custom_attr->value); + } + } + else if (!strcmp(keyword, "JCLOpenUI")) + { + /* + * Don't allow nesting of options... + */ + + if (option && pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_NESTED_OPEN_UI; + + goto error; + } + + /* + * Find the JCL group, and add if needed... + */ + + group = ppd_get_group(ppd, "JCL", _("JCL"), pg, encoding); + + if (group == NULL) + goto error; + + /* + * Add an option record to the current JCLs... + */ + + if (name[0] == '*') + _cups_strcpy(name, name + 1); + + option = ppd_get_option(group, name); + + if (option == NULL) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + /* + * Now fill in the initial information for the option... + */ + + if (string && !strcmp(string, "PickMany")) + option->ui = PPD_UI_PICKMANY; + else if (string && !strcmp(string, "Boolean")) + option->ui = PPD_UI_BOOLEAN; + else if (string && !strcmp(string, "PickOne")) + option->ui = PPD_UI_PICKONE; + else + { + pg->ppd_status = PPD_BAD_OPEN_UI; + + goto error; + } + + for (j = 0; j < ppd->num_attrs; j ++) + if (!strncmp(ppd->attrs[j]->name, "Default", 7) && + !strcmp(ppd->attrs[j]->name + 7, name) && + ppd->attrs[j]->value) + { + DEBUG_printf(("2_ppdOpen: Setting Default%s to %s via attribute...", + option->keyword, ppd->attrs[j]->value)); + strlcpy(option->defchoice, ppd->attrs[j]->value, + sizeof(option->defchoice)); + break; + } + + if (text[0]) + cupsCharsetToUTF8((cups_utf8_t *)option->text, text, + sizeof(option->text), encoding); + else + strlcpy(option->text, name, sizeof(option->text)); + + option->section = PPD_ORDER_JCL; + group = NULL; + + free(string); + string = NULL; + + /* + * Add a custom option choice if we have already seen a CustomFoo + * attribute... + */ + + snprintf(custom_name, sizeof(custom_name), "Custom%s", name); + + if ((custom_attr = ppdFindAttr(ppd, custom_name, "True")) != NULL) + { + if ((choice = ppd_add_choice(option, "Custom")) == NULL) + { + DEBUG_puts("1_ppdOpen: Unable to add Custom choice!"); + + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + strlcpy(choice->text, + custom_attr->text[0] ? custom_attr->text : _("Custom"), + sizeof(choice->text)); + choice->code = strdup(custom_attr->value); + } + } + else if (!strcmp(keyword, "CloseUI")) + { + if ((!option || option->section == PPD_ORDER_JCL) && pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_BAD_CLOSE_UI; + + goto error; + } + + option = NULL; + + free(string); + string = NULL; + } + else if (!strcmp(keyword, "JCLCloseUI")) + { + if ((!option || option->section != PPD_ORDER_JCL) && pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_BAD_CLOSE_UI; + + goto error; + } + + option = NULL; + + free(string); + string = NULL; + } + else if (!strcmp(keyword, "OpenGroup")) + { + /* + * Open a new group... + */ + + if (group != NULL) + { + pg->ppd_status = PPD_NESTED_OPEN_GROUP; + + goto error; + } + + if (!string) + { + pg->ppd_status = PPD_BAD_OPEN_GROUP; + + goto error; + } + + /* + * Separate the group name from the text (name/text)... + */ + + if ((sptr = strchr(string, '/')) != NULL) + *sptr++ = '\0'; + else + sptr = string; + + /* + * Fix up the text... + */ + + ppd_decode(sptr); + + /* + * Find/add the group... + */ + + group = ppd_get_group(ppd, string, sptr, pg, encoding); + + if (group == NULL) + goto error; + + free(string); + string = NULL; + } + else if (!strcmp(keyword, "CloseGroup")) + { + group = NULL; + + free(string); + string = NULL; + } + else if (!strcmp(keyword, "OrderDependency")) + { + order = (float)_cupsStrScand(string, &sptr, loc); + + if (!sptr || sscanf(sptr, "%40s%40s", name, keyword) != 2) + { + pg->ppd_status = PPD_BAD_ORDER_DEPENDENCY; + + goto error; + } + + if (keyword[0] == '*') + _cups_strcpy(keyword, keyword + 1); + + if (!strcmp(name, "ExitServer")) + section = PPD_ORDER_EXIT; + else if (!strcmp(name, "Prolog")) + section = PPD_ORDER_PROLOG; + else if (!strcmp(name, "DocumentSetup")) + section = PPD_ORDER_DOCUMENT; + else if (!strcmp(name, "PageSetup")) + section = PPD_ORDER_PAGE; + else if (!strcmp(name, "JCLSetup")) + section = PPD_ORDER_JCL; + else + section = PPD_ORDER_ANY; + + if (option == NULL) + { + ppd_group_t *gtemp; + + + /* + * Only valid for Non-UI options... + */ + + for (i = ppd->num_groups, gtemp = ppd->groups; i > 0; i --, gtemp ++) + if (gtemp->text[0] == '\0') + break; + + if (i > 0) + for (i = 0; i < gtemp->num_options; i ++) + if (!strcmp(keyword, gtemp->options[i].keyword)) + { + gtemp->options[i].section = section; + gtemp->options[i].order = order; + break; + } + } + else + { + option->section = section; + option->order = order; + } + + free(string); + string = NULL; + } + else if (!strncmp(keyword, "Default", 7)) + { + if (string == NULL) + continue; + + /* + * Drop UI text, if any, from value... + */ + + if (strchr(string, '/') != NULL) + *strchr(string, '/') = '\0'; + + /* + * Assign the default value as appropriate... + */ + + if (!strcmp(keyword, "DefaultColorSpace")) + { + /* + * Set default colorspace... + */ + + if (!strcmp(string, "CMY")) + ppd->colorspace = PPD_CS_CMY; + else if (!strcmp(string, "CMYK")) + ppd->colorspace = PPD_CS_CMYK; + else if (!strcmp(string, "RGB")) + ppd->colorspace = PPD_CS_RGB; + else if (!strcmp(string, "RGBK")) + ppd->colorspace = PPD_CS_RGBK; + else if (!strcmp(string, "N")) + ppd->colorspace = PPD_CS_N; + else + ppd->colorspace = PPD_CS_GRAY; + } + else if (option && !strcmp(keyword + 7, option->keyword)) + { + /* + * Set the default as part of the current option... + */ + + DEBUG_printf(("2_ppdOpen: Setting %s to %s...", keyword, string)); + + strlcpy(option->defchoice, string, sizeof(option->defchoice)); + + DEBUG_printf(("2_ppdOpen: %s is now %s...", keyword, option->defchoice)); + } + else + { + /* + * Lookup option and set if it has been defined... + */ + + ppd_option_t *toption; /* Temporary option */ + + + if ((toption = ppdFindOption(ppd, keyword + 7)) != NULL) + { + DEBUG_printf(("2_ppdOpen: Setting %s to %s...", keyword, string)); + strlcpy(toption->defchoice, string, sizeof(toption->defchoice)); + } + } + } + else if (!strcmp(keyword, "UIConstraints") || + !strcmp(keyword, "NonUIConstraints")) + { + if (!string) + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + + if (ppd->num_consts == 0) + constraint = calloc(2, sizeof(ppd_const_t)); + else + constraint = realloc(ppd->consts, (size_t)(ppd->num_consts + 2) * sizeof(ppd_const_t)); + + if (constraint == NULL) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + ppd->consts = constraint; + constraint += ppd->num_consts; + ppd->num_consts ++; + + switch (sscanf(string, "%40s%40s%40s%40s", constraint->option1, + constraint->choice1, constraint->option2, + constraint->choice2)) + { + case 0 : /* Error */ + case 1 : /* Error */ + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + + case 2 : /* Two options... */ + /* + * Check for broken constraints like "* Option"... + */ + + if (pg->ppd_conform == PPD_CONFORM_STRICT && + (!strcmp(constraint->option1, "*") || + !strcmp(constraint->choice1, "*"))) + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + + /* + * The following strcpy's are safe, as optionN and + * choiceN are all the same size (size defined by PPD spec...) + */ + + if (constraint->option1[0] == '*') + _cups_strcpy(constraint->option1, constraint->option1 + 1); + else if (pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + + if (constraint->choice1[0] == '*') + _cups_strcpy(constraint->option2, constraint->choice1 + 1); + else if (pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + + constraint->choice1[0] = '\0'; + constraint->choice2[0] = '\0'; + break; + + case 3 : /* Two options, one choice... */ + /* + * Check for broken constraints like "* Option"... + */ + + if (pg->ppd_conform == PPD_CONFORM_STRICT && + (!strcmp(constraint->option1, "*") || + !strcmp(constraint->choice1, "*") || + !strcmp(constraint->option2, "*"))) + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + + /* + * The following _cups_strcpy's are safe, as optionN and + * choiceN are all the same size (size defined by PPD spec...) + */ + + if (constraint->option1[0] == '*') + _cups_strcpy(constraint->option1, constraint->option1 + 1); + else if (pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + + if (constraint->choice1[0] == '*') + { + if (pg->ppd_conform == PPD_CONFORM_STRICT && + constraint->option2[0] == '*') + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + + _cups_strcpy(constraint->choice2, constraint->option2); + _cups_strcpy(constraint->option2, constraint->choice1 + 1); + constraint->choice1[0] = '\0'; + } + else + { + if (constraint->option2[0] == '*') + _cups_strcpy(constraint->option2, constraint->option2 + 1); + else if (pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + + constraint->choice2[0] = '\0'; + } + break; + + case 4 : /* Two options, two choices... */ + /* + * Check for broken constraints like "* Option"... + */ + + if (pg->ppd_conform == PPD_CONFORM_STRICT && + (!strcmp(constraint->option1, "*") || + !strcmp(constraint->choice1, "*") || + !strcmp(constraint->option2, "*") || + !strcmp(constraint->choice2, "*"))) + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + + if (constraint->option1[0] == '*') + _cups_strcpy(constraint->option1, constraint->option1 + 1); + else if (pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + + if (pg->ppd_conform == PPD_CONFORM_STRICT && + constraint->choice1[0] == '*') + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + + if (constraint->option2[0] == '*') + _cups_strcpy(constraint->option2, constraint->option2 + 1); + else if (pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + + if (pg->ppd_conform == PPD_CONFORM_STRICT && + constraint->choice2[0] == '*') + { + pg->ppd_status = PPD_BAD_UI_CONSTRAINTS; + goto error; + } + break; + } + + /* + * Don't add this one as an attribute... + */ + + free(string); + string = NULL; + } + else if (!strcmp(keyword, "PaperDimension")) + { + if (!_cups_strcasecmp(name, "custom") || !_cups_strncasecmp(name, "custom.", 7)) + { + char cname[PPD_MAX_NAME]; /* Rewrite with a leading underscore */ + snprintf(cname, sizeof(cname), "_%s", name); + strlcpy(name, cname, sizeof(name)); + } + + if ((size = ppdPageSize(ppd, name)) == NULL) + size = ppd_add_size(ppd, name); + + if (size == NULL) + { + /* + * Unable to add or find size! + */ + + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + size->width = (float)_cupsStrScand(string, &sptr, loc); + size->length = (float)_cupsStrScand(sptr, NULL, loc); + + free(string); + string = NULL; + } + else if (!strcmp(keyword, "ImageableArea")) + { + if (!_cups_strcasecmp(name, "custom") || !_cups_strncasecmp(name, "custom.", 7)) + { + char cname[PPD_MAX_NAME]; /* Rewrite with a leading underscore */ + snprintf(cname, sizeof(cname), "_%s", name); + strlcpy(name, cname, sizeof(name)); + } + + if ((size = ppdPageSize(ppd, name)) == NULL) + size = ppd_add_size(ppd, name); + + if (size == NULL) + { + /* + * Unable to add or find size! + */ + + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + size->left = (float)_cupsStrScand(string, &sptr, loc); + size->bottom = (float)_cupsStrScand(sptr, &sptr, loc); + size->right = (float)_cupsStrScand(sptr, &sptr, loc); + size->top = (float)_cupsStrScand(sptr, NULL, loc); + + free(string); + string = NULL; + } + else if (option != NULL && + (mask & (PPD_KEYWORD | PPD_OPTION | PPD_STRING)) == + (PPD_KEYWORD | PPD_OPTION | PPD_STRING) && + !strcmp(keyword, option->keyword)) + { + DEBUG_printf(("2_ppdOpen: group=%p, subgroup=%p", group, subgroup)); + + if (!_cups_strcasecmp(name, "custom") || !_cups_strncasecmp(name, "custom.", 7)) + { + char cname[PPD_MAX_NAME]; /* Rewrite with a leading underscore */ + snprintf(cname, sizeof(cname), "_%s", name); + strlcpy(name, cname, sizeof(name)); + } + + if (!strcmp(keyword, "PageSize")) + { + /* + * Add a page size... + */ + + if (ppdPageSize(ppd, name) == NULL) + ppd_add_size(ppd, name); + } + + /* + * Add the option choice... + */ + + if ((choice = ppd_add_choice(option, name)) == NULL) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + goto error; + } + + if (text[0]) + cupsCharsetToUTF8((cups_utf8_t *)choice->text, text, + sizeof(choice->text), encoding); + else if (!strcmp(name, "True")) + strlcpy(choice->text, _("Yes"), sizeof(choice->text)); + else if (!strcmp(name, "False")) + strlcpy(choice->text, _("No"), sizeof(choice->text)); + else + strlcpy(choice->text, name, sizeof(choice->text)); + + if (option->section == PPD_ORDER_JCL) + ppd_decode(string); /* Decode quoted string */ + + choice->code = string; + string = NULL; /* Don't add as an attribute below */ + } + + /* + * Add remaining lines with keywords and string values as attributes... + */ + + if (string && + (mask & (PPD_KEYWORD | PPD_STRING)) == (PPD_KEYWORD | PPD_STRING)) + ppd_add_attr(ppd, keyword, name, text, string); + else + free(string); + } + + /* + * Check for a missing CloseUI/JCLCloseUI... + */ + + if (option && pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_MISSING_CLOSE_UI; + goto error; + } + + /* + * Check for a missing CloseGroup... + */ + + if (group && pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_MISSING_CLOSE_GROUP; + goto error; + } + + free(line.buffer); + + /* + * Reset language preferences... + */ + +#ifdef DEBUG + if (!cupsFileEOF(fp)) + DEBUG_printf(("1_ppdOpen: Premature EOF at %lu...\n", + (unsigned long)cupsFileTell(fp))); +#endif /* DEBUG */ + + if (pg->ppd_status != PPD_OK) + { + /* + * Had an error reading the PPD file, cannot continue! + */ + + ppdClose(ppd); + + return (NULL); + } + + /* + * Update the filters array as needed... + */ + + if (!ppd_update_filters(ppd, pg)) + { + ppdClose(ppd); + + return (NULL); + } + + /* + * Create the sorted options array and set the option back-pointer for + * each choice and custom option... + */ + + ppd->options = cupsArrayNew2((cups_array_func_t)ppd_compare_options, NULL, + (cups_ahash_func_t)ppd_hash_option, + PPD_HASHSIZE); + + for (i = ppd->num_groups, group = ppd->groups; + i > 0; + i --, group ++) + { + for (j = group->num_options, option = group->options; + j > 0; + j --, option ++) + { + ppd_coption_t *coption; /* Custom option */ + + + cupsArrayAdd(ppd->options, option); + + for (k = 0; k < option->num_choices; k ++) + option->choices[k].option = option; + + if ((coption = ppdFindCustomOption(ppd, option->keyword)) != NULL) + coption->option = option; + } + } + + /* + * Create an array to track the marked choices... + */ + + ppd->marked = cupsArrayNew((cups_array_func_t)ppd_compare_choices, NULL); + + /* + * Return the PPD file structure... + */ + + return (ppd); + + /* + * Common exit point for errors to save code size... + */ + + error: + + free(string); + free(line.buffer); + + ppdClose(ppd); + + return (NULL); +} + + +/* + * 'ppdOpen()' - Read a PPD file into memory. + */ + +ppd_file_t * /* O - PPD file record */ +ppdOpen(FILE *fp) /* I - File to read from */ +{ + ppd_file_t *ppd; /* PPD file record */ + cups_file_t *cf; /* CUPS file */ + + + /* + * Reopen the stdio file as a CUPS file... + */ + + if ((cf = cupsFileOpenFd(fileno(fp), "r")) == NULL) + return (NULL); + + /* + * Load the PPD file using the newer API... + */ + + ppd = _ppdOpen(cf, _PPD_LOCALIZATION_DEFAULT); + + /* + * Close the CUPS file and return the PPD... + */ + + cupsFileClose(cf); + + return (ppd); +} + + +/* + * 'ppdOpen2()' - Read a PPD file into memory. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +ppd_file_t * /* O - PPD file record or @code NULL@ if the PPD file could not be opened. */ +ppdOpen2(cups_file_t *fp) /* I - File to read from */ +{ + return _ppdOpen(fp, _PPD_LOCALIZATION_DEFAULT); +} + + +/* + * 'ppdOpenFd()' - Read a PPD file into memory. + */ + +ppd_file_t * /* O - PPD file record or @code NULL@ if the PPD file could not be opened. */ +ppdOpenFd(int fd) /* I - File to read from */ +{ + cups_file_t *fp; /* CUPS file pointer */ + ppd_file_t *ppd; /* PPD file record */ + _ppd_globals_t *pg = _ppdGlobals(); + /* Global data */ + + + /* + * Set the line number to 0... + */ + + pg->ppd_line = 0; + + /* + * Range check input... + */ + + if (fd < 0) + { + pg->ppd_status = PPD_NULL_FILE; + + return (NULL); + } + + /* + * Try to open the file and parse it... + */ + + if ((fp = cupsFileOpenFd(fd, "r")) != NULL) + { + ppd = ppdOpen2(fp); + + cupsFileClose(fp); + } + else + { + pg->ppd_status = PPD_FILE_OPEN_ERROR; + ppd = NULL; + } + + return (ppd); +} + + +/* + * '_ppdOpenFile()' - Read a PPD file into memory. + */ + +ppd_file_t * /* O - PPD file record or @code NULL@ if the PPD file could not be opened. */ +_ppdOpenFile(const char *filename, /* I - File to read from */ + _ppd_localization_t localization) /* I - Localization to load */ +{ + cups_file_t *fp; /* File pointer */ + ppd_file_t *ppd; /* PPD file record */ + _ppd_globals_t *pg = _ppdGlobals(); + /* Global data */ + + + /* + * Set the line number to 0... + */ + + pg->ppd_line = 0; + + /* + * Range check input... + */ + + if (filename == NULL) + { + pg->ppd_status = PPD_NULL_FILE; + + return (NULL); + } + + /* + * Try to open the file and parse it... + */ + + if ((fp = cupsFileOpen(filename, "r")) != NULL) + { + ppd = _ppdOpen(fp, localization); + + cupsFileClose(fp); + } + else + { + pg->ppd_status = PPD_FILE_OPEN_ERROR; + ppd = NULL; + } + + return (ppd); +} + + +/* + * 'ppdOpenFile()' - Read a PPD file into memory. + */ + +ppd_file_t * /* O - PPD file record or @code NULL@ if the PPD file could not be opened. */ +ppdOpenFile(const char *filename) /* I - File to read from */ +{ + return _ppdOpenFile(filename, _PPD_LOCALIZATION_DEFAULT); +} + + +/* + * 'ppdSetConformance()' - Set the conformance level for PPD files. + * + * @since CUPS 1.1.20/macOS 10.4@ + */ + +void +ppdSetConformance(ppd_conform_t c) /* I - Conformance level */ +{ + _ppd_globals_t *pg = _ppdGlobals(); + /* Global data */ + + + pg->ppd_conform = c; +} + + +/* + * 'ppd_add_attr()' - Add an attribute to the PPD data. + */ + +static ppd_attr_t * /* O - New attribute */ +ppd_add_attr(ppd_file_t *ppd, /* I - PPD file data */ + const char *name, /* I - Attribute name */ + const char *spec, /* I - Specifier string, if any */ + const char *text, /* I - Text string, if any */ + const char *value) /* I - Value of attribute */ +{ + ppd_attr_t **ptr, /* New array */ + *temp; /* New attribute */ + + + /* + * Range check input... + */ + + if (ppd == NULL || name == NULL || spec == NULL) + return (NULL); + + /* + * Create the array as needed... + */ + + if (!ppd->sorted_attrs) + ppd->sorted_attrs = cupsArrayNew((cups_array_func_t)ppd_compare_attrs, + NULL); + + /* + * Allocate memory for the new attribute... + */ + + if (ppd->num_attrs == 0) + ptr = malloc(sizeof(ppd_attr_t *)); + else + ptr = realloc(ppd->attrs, (size_t)(ppd->num_attrs + 1) * sizeof(ppd_attr_t *)); + + if (ptr == NULL) + return (NULL); + + ppd->attrs = ptr; + ptr += ppd->num_attrs; + + if ((temp = calloc(1, sizeof(ppd_attr_t))) == NULL) + return (NULL); + + *ptr = temp; + + ppd->num_attrs ++; + + /* + * Copy data over... + */ + + strlcpy(temp->name, name, sizeof(temp->name)); + strlcpy(temp->spec, spec, sizeof(temp->spec)); + strlcpy(temp->text, text, sizeof(temp->text)); + temp->value = (char *)value; + + /* + * Add the attribute to the sorted array... + */ + + cupsArrayAdd(ppd->sorted_attrs, temp); + + /* + * Return the attribute... + */ + + return (temp); +} + + +/* + * 'ppd_add_choice()' - Add a choice to an option. + */ + +static ppd_choice_t * /* O - Named choice */ +ppd_add_choice(ppd_option_t *option, /* I - Option */ + const char *name) /* I - Name of choice */ +{ + ppd_choice_t *choice; /* Choice */ + + + if (option->num_choices == 0) + choice = malloc(sizeof(ppd_choice_t)); + else + choice = realloc(option->choices, sizeof(ppd_choice_t) * (size_t)(option->num_choices + 1)); + + if (choice == NULL) + return (NULL); + + option->choices = choice; + choice += option->num_choices; + option->num_choices ++; + + memset(choice, 0, sizeof(ppd_choice_t)); + strlcpy(choice->choice, name, sizeof(choice->choice)); + + return (choice); +} + + +/* + * 'ppd_add_size()' - Add a page size. + */ + +static ppd_size_t * /* O - Named size */ +ppd_add_size(ppd_file_t *ppd, /* I - PPD file */ + const char *name) /* I - Name of size */ +{ + ppd_size_t *size; /* Size */ + + + if (ppd->num_sizes == 0) + size = malloc(sizeof(ppd_size_t)); + else + size = realloc(ppd->sizes, sizeof(ppd_size_t) * (size_t)(ppd->num_sizes + 1)); + + if (size == NULL) + return (NULL); + + ppd->sizes = size; + size += ppd->num_sizes; + ppd->num_sizes ++; + + memset(size, 0, sizeof(ppd_size_t)); + strlcpy(size->name, name, sizeof(size->name)); + + return (size); +} + + +/* + * 'ppd_compare_attrs()' - Compare two attributes. + */ + +static int /* O - Result of comparison */ +ppd_compare_attrs(ppd_attr_t *a, /* I - First attribute */ + ppd_attr_t *b) /* I - Second attribute */ +{ + return (_cups_strcasecmp(a->name, b->name)); +} + + +/* + * 'ppd_compare_choices()' - Compare two choices... + */ + +static int /* O - Result of comparison */ +ppd_compare_choices(ppd_choice_t *a, /* I - First choice */ + ppd_choice_t *b) /* I - Second choice */ +{ + return (strcmp(a->option->keyword, b->option->keyword)); +} + + +/* + * 'ppd_compare_coptions()' - Compare two custom options. + */ + +static int /* O - Result of comparison */ +ppd_compare_coptions(ppd_coption_t *a, /* I - First option */ + ppd_coption_t *b) /* I - Second option */ +{ + return (_cups_strcasecmp(a->keyword, b->keyword)); +} + + +/* + * 'ppd_compare_options()' - Compare two options. + */ + +static int /* O - Result of comparison */ +ppd_compare_options(ppd_option_t *a, /* I - First option */ + ppd_option_t *b) /* I - Second option */ +{ + return (_cups_strcasecmp(a->keyword, b->keyword)); +} + + +/* + * 'ppd_decode()' - Decode a string value... + */ + +static int /* O - Length of decoded string */ +ppd_decode(char *string) /* I - String to decode */ +{ + char *inptr, /* Input pointer */ + *outptr; /* Output pointer */ + + + inptr = string; + outptr = string; + + while (*inptr != '\0') + if (*inptr == '<' && isxdigit(inptr[1] & 255)) + { + /* + * Convert hex to 8-bit values... + */ + + inptr ++; + while (isxdigit(*inptr & 255)) + { + if (_cups_isalpha(*inptr)) + *outptr = (char)((tolower(*inptr) - 'a' + 10) << 4); + else + *outptr = (char)((*inptr - '0') << 4); + + inptr ++; + + if (!isxdigit(*inptr & 255)) + break; + + if (_cups_isalpha(*inptr)) + *outptr |= (char)(tolower(*inptr) - 'a' + 10); + else + *outptr |= (char)(*inptr - '0'); + + inptr ++; + outptr ++; + } + + while (*inptr != '>' && *inptr != '\0') + inptr ++; + while (*inptr == '>') + inptr ++; + } + else + *outptr++ = *inptr++; + + *outptr = '\0'; + + return ((int)(outptr - string)); +} + + +/* + * 'ppd_free_filters()' - Free the filters array. + */ + +static void +ppd_free_filters(ppd_file_t *ppd) /* I - PPD file */ +{ + int i; /* Looping var */ + char **filter; /* Current filter */ + + + if (ppd->num_filters > 0) + { + for (i = ppd->num_filters, filter = ppd->filters; i > 0; i --, filter ++) + free(*filter); + + free(ppd->filters); + + ppd->num_filters = 0; + ppd->filters = NULL; + } +} + + +/* + * 'ppd_free_group()' - Free a single UI group. + */ + +static void +ppd_free_group(ppd_group_t *group) /* I - Group to free */ +{ + int i; /* Looping var */ + ppd_option_t *option; /* Current option */ + ppd_group_t *subgroup; /* Current sub-group */ + + + if (group->num_options > 0) + { + for (i = group->num_options, option = group->options; + i > 0; + i --, option ++) + ppd_free_option(option); + + free(group->options); + } + + if (group->num_subgroups > 0) + { + for (i = group->num_subgroups, subgroup = group->subgroups; + i > 0; + i --, subgroup ++) + ppd_free_group(subgroup); + + free(group->subgroups); + } +} + + +/* + * 'ppd_free_option()' - Free a single option. + */ + +static void +ppd_free_option(ppd_option_t *option) /* I - Option to free */ +{ + int i; /* Looping var */ + ppd_choice_t *choice; /* Current choice */ + + + if (option->num_choices > 0) + { + for (i = option->num_choices, choice = option->choices; + i > 0; + i --, choice ++) + { + free(choice->code); + } + + free(option->choices); + } +} + + +/* + * 'ppd_get_coption()' - Get a custom option record. + */ + +static ppd_coption_t * /* O - Custom option... */ +ppd_get_coption(ppd_file_t *ppd, /* I - PPD file */ + const char *name) /* I - Name of option */ +{ + ppd_coption_t *copt; /* New custom option */ + + + /* + * See if the option already exists... + */ + + if ((copt = ppdFindCustomOption(ppd, name)) != NULL) + return (copt); + + /* + * Not found, so create the custom option record... + */ + + if ((copt = calloc(1, sizeof(ppd_coption_t))) == NULL) + return (NULL); + + strlcpy(copt->keyword, name, sizeof(copt->keyword)); + + copt->params = cupsArrayNew((cups_array_func_t)NULL, NULL); + + cupsArrayAdd(ppd->coptions, copt); + + /* + * Return the new record... + */ + + return (copt); +} + + +/* + * 'ppd_get_cparam()' - Get a custom parameter record. + */ + +static ppd_cparam_t * /* O - Extended option... */ +ppd_get_cparam(ppd_coption_t *opt, /* I - PPD file */ + const char *param, /* I - Name of parameter */ + const char *text) /* I - Human-readable text */ +{ + ppd_cparam_t *cparam; /* New custom parameter */ + + + /* + * See if the parameter already exists... + */ + + if ((cparam = ppdFindCustomParam(opt, param)) != NULL) + return (cparam); + + /* + * Not found, so create the custom parameter record... + */ + + if ((cparam = calloc(1, sizeof(ppd_cparam_t))) == NULL) + return (NULL); + + cparam->type = PPD_CUSTOM_UNKNOWN; + strlcpy(cparam->name, param, sizeof(cparam->name)); + strlcpy(cparam->text, text[0] ? text : param, sizeof(cparam->text)); + + /* + * Add this record to the array... + */ + + cupsArrayAdd(opt->params, cparam); + + /* + * Return the new record... + */ + + return (cparam); +} + + +/* + * 'ppd_get_group()' - Find or create the named group as needed. + */ + +static ppd_group_t * /* O - Named group */ +ppd_get_group(ppd_file_t *ppd, /* I - PPD file */ + const char *name, /* I - Name of group */ + const char *text, /* I - Text for group */ + _ppd_globals_t *pg, /* I - Global data */ + cups_encoding_t encoding) /* I - Encoding of text */ +{ + int i; /* Looping var */ + ppd_group_t *group; /* Group */ + + + DEBUG_printf(("7ppd_get_group(ppd=%p, name=\"%s\", text=\"%s\", cg=%p)", + ppd, name, text, pg)); + + for (i = ppd->num_groups, group = ppd->groups; i > 0; i --, group ++) + if (!strcmp(group->name, name)) + break; + + if (i == 0) + { + DEBUG_printf(("8ppd_get_group: Adding group %s...", name)); + + if (pg->ppd_conform == PPD_CONFORM_STRICT && strlen(text) >= sizeof(group->text)) + { + pg->ppd_status = PPD_ILLEGAL_TRANSLATION; + + return (NULL); + } + + if (ppd->num_groups == 0) + group = malloc(sizeof(ppd_group_t)); + else + group = realloc(ppd->groups, (size_t)(ppd->num_groups + 1) * sizeof(ppd_group_t)); + + if (group == NULL) + { + pg->ppd_status = PPD_ALLOC_ERROR; + + return (NULL); + } + + ppd->groups = group; + group += ppd->num_groups; + ppd->num_groups ++; + + memset(group, 0, sizeof(ppd_group_t)); + strlcpy(group->name, name, sizeof(group->name)); + + cupsCharsetToUTF8((cups_utf8_t *)group->text, text, + sizeof(group->text), encoding); + } + + return (group); +} + + +/* + * 'ppd_get_option()' - Find or create the named option as needed. + */ + +static ppd_option_t * /* O - Named option */ +ppd_get_option(ppd_group_t *group, /* I - Group */ + const char *name) /* I - Name of option */ +{ + int i; /* Looping var */ + ppd_option_t *option; /* Option */ + + + DEBUG_printf(("7ppd_get_option(group=%p(\"%s\"), name=\"%s\")", + group, group->name, name)); + + for (i = group->num_options, option = group->options; i > 0; i --, option ++) + if (!strcmp(option->keyword, name)) + break; + + if (i == 0) + { + if (group->num_options == 0) + option = malloc(sizeof(ppd_option_t)); + else + option = realloc(group->options, (size_t)(group->num_options + 1) * sizeof(ppd_option_t)); + + if (option == NULL) + return (NULL); + + group->options = option; + option += group->num_options; + group->num_options ++; + + memset(option, 0, sizeof(ppd_option_t)); + strlcpy(option->keyword, name, sizeof(option->keyword)); + } + + return (option); +} + + +/* + * 'ppd_globals_alloc()' - Allocate and initialize global data. + */ + +static _ppd_globals_t * /* O - Pointer to global data */ +ppd_globals_alloc(void) +{ + return ((_ppd_globals_t *)calloc(1, sizeof(_ppd_globals_t))); +} + + +/* + * 'ppd_globals_free()' - Free global data. + */ + +#if defined(HAVE_PTHREAD_H) || defined(_WIN32) +static void +ppd_globals_free(_ppd_globals_t *pg) /* I - Pointer to global data */ +{ + free(pg); +} +#endif /* HAVE_PTHREAD_H || _WIN32 */ + + +#ifdef HAVE_PTHREAD_H +/* + * 'ppd_globals_init()' - Initialize per-thread globals... + */ + +static void +ppd_globals_init(void) +{ + /* + * Register the global data for this thread... + */ + + pthread_key_create(&ppd_globals_key, (void (*)(void *))ppd_globals_free); +} +#endif /* HAVE_PTHREAD_H */ + + +/* + * 'ppd_hash_option()' - Generate a hash of the option name... + */ + +static int /* O - Hash index */ +ppd_hash_option(ppd_option_t *option) /* I - Option */ +{ + int hash = 0; /* Hash index */ + const char *k; /* Pointer into keyword */ + + + for (hash = option->keyword[0], k = option->keyword + 1; *k;) + hash = 33 * hash + *k++; + + return (hash & 511); +} + + +/* + * 'ppd_read()' - Read a line from a PPD file, skipping comment lines as + * necessary. + */ + +static int /* O - Bitmask of fields read */ +ppd_read(cups_file_t *fp, /* I - File to read from */ + _ppd_line_t *line, /* I - Line buffer */ + char *keyword, /* O - Keyword from line */ + char *option, /* O - Option from line */ + char *text, /* O - Human-readable text from line */ + char **string, /* O - Code/string data */ + int ignoreblank, /* I - Ignore blank lines? */ + _ppd_globals_t *pg) /* I - Global data */ +{ + int ch, /* Character from file */ + col, /* Column in line */ + colon, /* Colon seen? */ + endquote, /* Waiting for an end quote */ + mask, /* Mask to be returned */ + startline, /* Start line */ + textlen; /* Length of text */ + char *keyptr, /* Keyword pointer */ + *optptr, /* Option pointer */ + *textptr, /* Text pointer */ + *strptr, /* Pointer into string */ + *lineptr; /* Current position in line buffer */ + + + /* + * Now loop until we have a valid line... + */ + + *string = NULL; + col = 0; + startline = pg->ppd_line + 1; + + if (!line->buffer) + { + line->bufsize = 1024; + line->buffer = malloc(1024); + + if (!line->buffer) + return (0); + } + + do + { + /* + * Read the line... + */ + + lineptr = line->buffer; + endquote = 0; + colon = 0; + + while ((ch = cupsFileGetChar(fp)) != EOF) + { + if (lineptr >= (line->buffer + line->bufsize - 1)) + { + /* + * Expand the line buffer... + */ + + char *temp; /* Temporary line pointer */ + + + line->bufsize += 1024; + if (line->bufsize > 262144) + { + /* + * Don't allow lines longer than 256k! + */ + + pg->ppd_line = startline; + pg->ppd_status = PPD_LINE_TOO_LONG; + + return (0); + } + + temp = realloc(line->buffer, line->bufsize); + if (!temp) + { + pg->ppd_line = startline; + pg->ppd_status = PPD_LINE_TOO_LONG; + + return (0); + } + + lineptr = temp + (lineptr - line->buffer); + line->buffer = temp; + } + + if (ch == '\r' || ch == '\n') + { + /* + * Line feed or carriage return... + */ + + pg->ppd_line ++; + col = 0; + + if (ch == '\r') + { + /* + * Check for a trailing line feed... + */ + + if ((ch = cupsFilePeekChar(fp)) == EOF) + { + ch = '\n'; + break; + } + + if (ch == 0x0a) + cupsFileGetChar(fp); + } + + if (lineptr == line->buffer && ignoreblank) + continue; /* Skip blank lines */ + + ch = '\n'; + + if (!endquote) /* Continue for multi-line text */ + break; + + *lineptr++ = '\n'; + } + else if (ch < ' ' && ch != '\t' && pg->ppd_conform == PPD_CONFORM_STRICT) + { + /* + * Other control characters... + */ + + pg->ppd_line = startline; + pg->ppd_status = PPD_ILLEGAL_CHARACTER; + + return (0); + } + else if (ch != 0x1a) + { + /* + * Any other character... + */ + + *lineptr++ = (char)ch; + col ++; + + if (col > (PPD_MAX_LINE - 1)) + { + /* + * Line is too long... + */ + + pg->ppd_line = startline; + pg->ppd_status = PPD_LINE_TOO_LONG; + + return (0); + } + + if (ch == ':' && strncmp(line->buffer, "*%", 2) != 0) + colon = 1; + + if (ch == '\"' && colon) + endquote = !endquote; + } + } + + if (endquote) + { + /* + * Didn't finish this quoted string... + */ + + while ((ch = cupsFileGetChar(fp)) != EOF) + if (ch == '\"') + break; + else if (ch == '\r' || ch == '\n') + { + pg->ppd_line ++; + col = 0; + + if (ch == '\r') + { + /* + * Check for a trailing line feed... + */ + + if ((ch = cupsFilePeekChar(fp)) == EOF) + break; + if (ch == 0x0a) + cupsFileGetChar(fp); + } + } + else if (ch < ' ' && ch != '\t' && pg->ppd_conform == PPD_CONFORM_STRICT) + { + /* + * Other control characters... + */ + + pg->ppd_line = startline; + pg->ppd_status = PPD_ILLEGAL_CHARACTER; + + return (0); + } + else if (ch != 0x1a) + { + col ++; + + if (col > (PPD_MAX_LINE - 1)) + { + /* + * Line is too long... + */ + + pg->ppd_line = startline; + pg->ppd_status = PPD_LINE_TOO_LONG; + + return (0); + } + } + } + + if (ch != '\n') + { + /* + * Didn't finish this line... + */ + + while ((ch = cupsFileGetChar(fp)) != EOF) + if (ch == '\r' || ch == '\n') + { + /* + * Line feed or carriage return... + */ + + pg->ppd_line ++; + col = 0; + + if (ch == '\r') + { + /* + * Check for a trailing line feed... + */ + + if ((ch = cupsFilePeekChar(fp)) == EOF) + break; + if (ch == 0x0a) + cupsFileGetChar(fp); + } + + break; + } + else if (ch < ' ' && ch != '\t' && pg->ppd_conform == PPD_CONFORM_STRICT) + { + /* + * Other control characters... + */ + + pg->ppd_line = startline; + pg->ppd_status = PPD_ILLEGAL_CHARACTER; + + return (0); + } + else if (ch != 0x1a) + { + col ++; + + if (col > (PPD_MAX_LINE - 1)) + { + /* + * Line is too long... + */ + + pg->ppd_line = startline; + pg->ppd_status = PPD_LINE_TOO_LONG; + + return (0); + } + } + } + + if (lineptr > line->buffer && lineptr[-1] == '\n') + lineptr --; + + *lineptr = '\0'; + + DEBUG_printf(("9ppd_read: LINE=\"%s\"", line->buffer)); + + /* + * The dynamically created PPDs for older style macOS + * drivers include a large blob of data inserted as comments + * at the end of the file. As an optimization we can stop + * reading the PPD when we get to the start of this data. + */ + + if (!strcmp(line->buffer, "*%APLWORKSET START")) + return (0); + + if (ch == EOF && lineptr == line->buffer) + return (0); + + /* + * Now parse it... + */ + + mask = 0; + lineptr = line->buffer + 1; + + keyword[0] = '\0'; + option[0] = '\0'; + text[0] = '\0'; + *string = NULL; + + if ((!line->buffer[0] || /* Blank line */ + !strncmp(line->buffer, "*%", 2) || /* Comment line */ + !strcmp(line->buffer, "*End")) && /* End of multi-line string */ + ignoreblank) /* Ignore these? */ + { + startline = pg->ppd_line + 1; + continue; + } + + if (!strcmp(line->buffer, "*")) /* (Bad) comment line */ + { + if (pg->ppd_conform == PPD_CONFORM_RELAXED) + { + startline = pg->ppd_line + 1; + continue; + } + else + { + pg->ppd_line = startline; + pg->ppd_status = PPD_ILLEGAL_MAIN_KEYWORD; + + return (0); + } + } + + if (line->buffer[0] != '*') /* All lines start with an asterisk */ + { + /* + * Allow lines consisting of just whitespace... + */ + + for (lineptr = line->buffer; *lineptr; lineptr ++) + if (*lineptr && !_cups_isspace(*lineptr)) + break; + + if (*lineptr) + { + pg->ppd_status = PPD_MISSING_ASTERISK; + return (0); + } + else if (ignoreblank) + continue; + else + return (0); + } + + /* + * Get a keyword... + */ + + keyptr = keyword; + + while (*lineptr && *lineptr != ':' && !_cups_isspace(*lineptr)) + { + if (*lineptr <= ' ' || *lineptr > 126 || *lineptr == '/' || + (keyptr - keyword) >= (PPD_MAX_NAME - 1)) + { + pg->ppd_status = PPD_ILLEGAL_MAIN_KEYWORD; + return (0); + } + + *keyptr++ = *lineptr++; + } + + *keyptr = '\0'; + + if (!strcmp(keyword, "End")) + continue; + + mask |= PPD_KEYWORD; + + if (_cups_isspace(*lineptr)) + { + /* + * Get an option name... + */ + + while (_cups_isspace(*lineptr)) + lineptr ++; + + optptr = option; + + while (*lineptr && !_cups_isspace(*lineptr) && *lineptr != ':' && + *lineptr != '/') + { + if (*lineptr <= ' ' || *lineptr > 126 || + (optptr - option) >= (PPD_MAX_NAME - 1)) + { + pg->ppd_status = PPD_ILLEGAL_OPTION_KEYWORD; + return (0); + } + + *optptr++ = *lineptr++; + } + + *optptr = '\0'; + + if (_cups_isspace(*lineptr) && pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_ILLEGAL_WHITESPACE; + return (0); + } + + while (_cups_isspace(*lineptr)) + lineptr ++; + + mask |= PPD_OPTION; + + if (*lineptr == '/') + { + /* + * Get human-readable text... + */ + + lineptr ++; + + textptr = text; + + while (*lineptr != '\0' && *lineptr != '\n' && *lineptr != ':') + { + if (((unsigned char)*lineptr < ' ' && *lineptr != '\t') || + (textptr - text) >= (PPD_MAX_LINE - 1)) + { + pg->ppd_status = PPD_ILLEGAL_TRANSLATION; + return (0); + } + + *textptr++ = *lineptr++; + } + + *textptr = '\0'; + textlen = ppd_decode(text); + + if (textlen > PPD_MAX_TEXT && pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_ILLEGAL_TRANSLATION; + return (0); + } + + mask |= PPD_TEXT; + } + } + + if (_cups_isspace(*lineptr) && pg->ppd_conform == PPD_CONFORM_STRICT) + { + pg->ppd_status = PPD_ILLEGAL_WHITESPACE; + return (0); + } + + while (_cups_isspace(*lineptr)) + lineptr ++; + + if (*lineptr == ':') + { + /* + * Get string after triming leading and trailing whitespace... + */ + + lineptr ++; + while (_cups_isspace(*lineptr)) + lineptr ++; + + strptr = lineptr + strlen(lineptr) - 1; + while (strptr >= lineptr && _cups_isspace(*strptr)) + *strptr-- = '\0'; + + if (*strptr == '\"') + { + /* + * Quoted string by itself, remove quotes... + */ + + *strptr = '\0'; + lineptr ++; + } + + *string = strdup(lineptr); + + mask |= PPD_STRING; + } + } + while (mask == 0); + + return (mask); +} + + +/* + * 'ppd_update_filters()' - Update the filters array as needed. + * + * This function re-populates the filters array with cupsFilter2 entries that + * have been stripped of the destination MIME media types and any maxsize hints. + * + * (All for backwards-compatibility) + */ + +static int /* O - 1 on success, 0 on failure */ +ppd_update_filters(ppd_file_t *ppd, /* I - PPD file */ + _ppd_globals_t *pg) /* I - Global data */ +{ + ppd_attr_t *attr; /* Current cupsFilter2 value */ + char srcsuper[16], /* Source MIME media type */ + srctype[256], + dstsuper[16], /* Destination MIME media type */ + dsttype[256], + program[1024], /* Command to run */ + *ptr, /* Pointer into command to run */ + buffer[1024], /* Re-written cupsFilter value */ + **filter; /* Current filter */ + int cost; /* Cost of filter */ + + + DEBUG_printf(("4ppd_update_filters(ppd=%p, cg=%p)", ppd, pg)); + + /* + * See if we have any cupsFilter2 lines... + */ + + if ((attr = ppdFindAttr(ppd, "cupsFilter2", NULL)) == NULL) + { + DEBUG_puts("5ppd_update_filters: No cupsFilter2 keywords present."); + return (1); + } + + /* + * Yes, free the cupsFilter-defined filters and re-build... + */ + + ppd_free_filters(ppd); + + do + { + /* + * Parse the cupsFilter2 string: + * + * src/type dst/type cost program + * src/type dst/type cost maxsize(n) program + */ + + DEBUG_printf(("5ppd_update_filters: cupsFilter2=\"%s\"", attr->value)); + + if (sscanf(attr->value, "%15[^/]/%255s%*[ \t]%15[^/]/%255s%d%*[ \t]%1023[^\n]", + srcsuper, srctype, dstsuper, dsttype, &cost, program) != 6) + { + DEBUG_puts("5ppd_update_filters: Bad cupsFilter2 line."); + pg->ppd_status = PPD_BAD_VALUE; + + return (0); + } + + DEBUG_printf(("5ppd_update_filters: srcsuper=\"%s\", srctype=\"%s\", " + "dstsuper=\"%s\", dsttype=\"%s\", cost=%d, program=\"%s\"", + srcsuper, srctype, dstsuper, dsttype, cost, program)); + + if (!strncmp(program, "maxsize(", 8) && + (ptr = strchr(program + 8, ')')) != NULL) + { + DEBUG_puts("5ppd_update_filters: Found maxsize(nnn)."); + + ptr ++; + while (_cups_isspace(*ptr)) + ptr ++; + + _cups_strcpy(program, ptr); + DEBUG_printf(("5ppd_update_filters: New program=\"%s\"", program)); + } + + /* + * Convert to cupsFilter format: + * + * src/type cost program + */ + + snprintf(buffer, sizeof(buffer), "%s/%s %d %s", srcsuper, srctype, cost, + program); + DEBUG_printf(("5ppd_update_filters: Adding \"%s\".", buffer)); + + /* + * Add a cupsFilter-compatible string to the filters array. + */ + + if (ppd->num_filters == 0) + filter = malloc(sizeof(char *)); + else + filter = realloc(ppd->filters, sizeof(char *) * (size_t)(ppd->num_filters + 1)); + + if (filter == NULL) + { + DEBUG_puts("5ppd_update_filters: Out of memory."); + pg->ppd_status = PPD_ALLOC_ERROR; + + return (0); + } + + ppd->filters = filter; + filter += ppd->num_filters; + ppd->num_filters ++; + + *filter = strdup(buffer); + } + while ((attr = ppdFindNextAttr(ppd, "cupsFilter2", NULL)) != NULL); + + DEBUG_puts("5ppd_update_filters: Completed OK."); + return (1); +} diff --git a/cups/ppd.h b/cups/ppd.h new file mode 100644 index 0000000..f2ba50d --- /dev/null +++ b/cups/ppd.h @@ -0,0 +1,476 @@ +/* + * PostScript Printer Description definitions for CUPS. + * + * THESE APIS ARE DEPRECATED. THIS HEADER AND THESE FUNCTIONS WILL BE REMOVED + * IN A FUTURE RELEASE OF CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + * + * PostScript is a trademark of Adobe Systems, Inc. + */ + +#ifndef _CUPS_PPD_H_ +# define _CUPS_PPD_H_ + +/* + * Include necessary headers... + */ + +# include +# include "cups.h" +# include "array.h" +# include "file.h" +# include "raster.h" + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * PPD version... + */ + +# define PPD_VERSION 4.3 /* Kept in sync with Adobe version number */ + + +/* + * PPD size limits (defined in Adobe spec) + */ + +# define PPD_MAX_NAME 41 /* Maximum size of name + 1 for nul */ +# define PPD_MAX_TEXT 81 /* Maximum size of text + 1 for nul */ +# define PPD_MAX_LINE 256 /* Maximum size of line + 1 for nul */ + + +/* + * Types and structures... + */ + +typedef int (*cups_interpret_cb_t)(cups_page_header2_t *header, int preferred_bits); + /**** cupsRasterInterpretPPD callback function + * + * This function is called by + * @link cupsRasterInterpretPPD@ to + * validate (and update, as needed) + * the page header attributes. The + * "preferred_bits" argument provides + * the value of the + * @code cupsPreferredBitsPerColor@ + * key from the PostScript page device + * dictionary and is 0 if undefined. + ****/ + +typedef enum ppd_ui_e /**** UI Types @deprecated@ ****/ +{ + PPD_UI_BOOLEAN, /* True or False option */ + PPD_UI_PICKONE, /* Pick one from a list */ + PPD_UI_PICKMANY /* Pick zero or more from a list */ +} ppd_ui_t; + +typedef enum ppd_section_e /**** Order dependency sections @deprecated@ ****/ +{ + PPD_ORDER_ANY, /* Option code can be anywhere in the file */ + PPD_ORDER_DOCUMENT, /* ... must be in the DocumentSetup section */ + PPD_ORDER_EXIT, /* ... must be sent prior to the document */ + PPD_ORDER_JCL, /* ... must be sent as a JCL command */ + PPD_ORDER_PAGE, /* ... must be in the PageSetup section */ + PPD_ORDER_PROLOG /* ... must be in the Prolog section */ +} ppd_section_t; + +typedef enum ppd_cs_e /**** Colorspaces @deprecated@ ****/ +{ + PPD_CS_CMYK = -4, /* CMYK colorspace */ + PPD_CS_CMY, /* CMY colorspace */ + PPD_CS_GRAY = 1, /* Grayscale colorspace */ + PPD_CS_RGB = 3, /* RGB colorspace */ + PPD_CS_RGBK, /* RGBK (K = gray) colorspace */ + PPD_CS_N /* DeviceN colorspace */ +} ppd_cs_t; + +typedef enum ppd_status_e /**** Status Codes @deprecated@ ****/ +{ + PPD_OK = 0, /* OK */ + PPD_FILE_OPEN_ERROR, /* Unable to open PPD file */ + PPD_NULL_FILE, /* NULL PPD file pointer */ + PPD_ALLOC_ERROR, /* Memory allocation error */ + PPD_MISSING_PPDADOBE4, /* Missing PPD-Adobe-4.x header */ + PPD_MISSING_VALUE, /* Missing value string */ + PPD_INTERNAL_ERROR, /* Internal error */ + PPD_BAD_OPEN_GROUP, /* Bad OpenGroup */ + PPD_NESTED_OPEN_GROUP, /* OpenGroup without a CloseGroup first */ + PPD_BAD_OPEN_UI, /* Bad OpenUI/JCLOpenUI */ + PPD_NESTED_OPEN_UI, /* OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first */ + PPD_BAD_ORDER_DEPENDENCY, /* Bad OrderDependency */ + PPD_BAD_UI_CONSTRAINTS, /* Bad UIConstraints */ + PPD_MISSING_ASTERISK, /* Missing asterisk in column 0 */ + PPD_LINE_TOO_LONG, /* Line longer than 255 chars */ + PPD_ILLEGAL_CHARACTER, /* Illegal control character */ + PPD_ILLEGAL_MAIN_KEYWORD, /* Illegal main keyword string */ + PPD_ILLEGAL_OPTION_KEYWORD, /* Illegal option keyword string */ + PPD_ILLEGAL_TRANSLATION, /* Illegal translation string */ + PPD_ILLEGAL_WHITESPACE, /* Illegal whitespace character */ + PPD_BAD_CUSTOM_PARAM, /* Bad custom parameter */ + PPD_MISSING_OPTION_KEYWORD, /* Missing option keyword */ + PPD_BAD_VALUE, /* Bad value string */ + PPD_MISSING_CLOSE_GROUP, /* Missing CloseGroup */ + PPD_BAD_CLOSE_UI, /* Bad CloseUI/JCLCloseUI */ + PPD_MISSING_CLOSE_UI, /* Missing CloseUI/JCLCloseUI */ + PPD_MAX_STATUS /* @private@ */ +} ppd_status_t; + +enum ppd_conform_e /**** Conformance Levels @deprecated@ ****/ +{ + PPD_CONFORM_RELAXED, /* Relax whitespace and control char */ + PPD_CONFORM_STRICT /* Require strict conformance */ +}; + +typedef enum ppd_conform_e ppd_conform_t; + /**** Conformance Levels @deprecated@ ****/ + +typedef struct ppd_attr_s /**** PPD Attribute Structure @deprecated@ ****/ +{ + char name[PPD_MAX_NAME]; /* Name of attribute (cupsXYZ) */ + char spec[PPD_MAX_NAME]; /* Specifier string, if any */ + char text[PPD_MAX_TEXT]; /* Human-readable text, if any */ + char *value; /* Value string */ +} ppd_attr_t; + +typedef struct ppd_option_s ppd_option_t; + /**** Options @deprecated@ ****/ + +typedef struct ppd_choice_s /**** Option choices @deprecated@ ****/ +{ + char marked; /* 0 if not selected, 1 otherwise */ + char choice[PPD_MAX_NAME]; /* Computer-readable option name */ + char text[PPD_MAX_TEXT]; /* Human-readable option name */ + char *code; /* Code to send for this option */ + ppd_option_t *option; /* Pointer to parent option structure */ +} ppd_choice_t; + +struct ppd_option_s /**** Options @deprecated@ ****/ +{ + char conflicted; /* 0 if no conflicts exist, 1 otherwise */ + char keyword[PPD_MAX_NAME]; /* Option keyword name ("PageSize", etc.) */ + char defchoice[PPD_MAX_NAME];/* Default option choice */ + char text[PPD_MAX_TEXT]; /* Human-readable text */ + ppd_ui_t ui; /* Type of UI option */ + ppd_section_t section; /* Section for command */ + float order; /* Order number */ + int num_choices; /* Number of option choices */ + ppd_choice_t *choices; /* Option choices */ +}; + +typedef struct ppd_group_s /**** Groups @deprecated@ ****/ +{ + /**** Group text strings are limited to 39 chars + nul in order to + **** preserve binary compatibility and allow applications to get + **** the group's keyword name. + ****/ + char text[PPD_MAX_TEXT - PPD_MAX_NAME]; + /* Human-readable group name */ + char name[PPD_MAX_NAME]; /* Group name @since CUPS 1.1.18/macOS 10.3@ */ + int num_options; /* Number of options */ + ppd_option_t *options; /* Options */ + int num_subgroups; /* Number of sub-groups */ + struct ppd_group_s *subgroups; /* Sub-groups (max depth = 1) */ +} ppd_group_t; + +typedef struct ppd_const_s /**** Constraints @deprecated@ ****/ +{ + char option1[PPD_MAX_NAME]; /* First keyword */ + char choice1[PPD_MAX_NAME]; /* First option/choice (blank for all) */ + char option2[PPD_MAX_NAME]; /* Second keyword */ + char choice2[PPD_MAX_NAME]; /* Second option/choice (blank for all) */ +} ppd_const_t; + +typedef struct ppd_size_s /**** Page Sizes @deprecated@ ****/ +{ + int marked; /* Page size selected? */ + char name[PPD_MAX_NAME]; /* Media size option */ + float width; /* Width of media in points */ + float length; /* Length of media in points */ + float left; /* Left printable margin in points */ + float bottom; /* Bottom printable margin in points */ + float right; /* Right printable margin in points */ + float top; /* Top printable margin in points */ +} ppd_size_t; + +typedef struct ppd_emul_s /**** Emulators @deprecated@ ****/ +{ + char name[PPD_MAX_NAME]; /* Emulator name */ + char *start; /* Code to switch to this emulation */ + char *stop; /* Code to stop this emulation */ +} ppd_emul_t; + +typedef struct ppd_profile_s /**** sRGB Color Profiles @deprecated@ ****/ +{ + char resolution[PPD_MAX_NAME]; + /* Resolution or "-" */ + char media_type[PPD_MAX_NAME]; + /* Media type or "-" */ + float density; /* Ink density to use */ + float gamma; /* Gamma correction to use */ + float matrix[3][3]; /* Transform matrix */ +} ppd_profile_t; + +/**** New in CUPS 1.2/macOS 10.5 ****/ +typedef enum ppd_cptype_e /**** Custom Parameter Type @deprecated@ ****/ +{ + PPD_CUSTOM_UNKNOWN = -1, /* Unknown type (error) */ + PPD_CUSTOM_CURVE, /* Curve value for f(x) = x^value */ + PPD_CUSTOM_INT, /* Integer number value */ + PPD_CUSTOM_INVCURVE, /* Curve value for f(x) = x^(1/value) */ + PPD_CUSTOM_PASSCODE, /* String of (hidden) numbers */ + PPD_CUSTOM_PASSWORD, /* String of (hidden) characters */ + PPD_CUSTOM_POINTS, /* Measurement value in points */ + PPD_CUSTOM_REAL, /* Real number value */ + PPD_CUSTOM_STRING /* String of characters */ +} ppd_cptype_t; + +typedef union ppd_cplimit_u /**** Custom Parameter Limit @deprecated@ ****/ +{ + float custom_curve; /* Gamma value */ + int custom_int; /* Integer value */ + float custom_invcurve; /* Gamma value */ + int custom_passcode; /* Passcode length */ + int custom_password; /* Password length */ + float custom_points; /* Measurement value */ + float custom_real; /* Real value */ + int custom_string; /* String length */ +} ppd_cplimit_t; + +typedef union ppd_cpvalue_u /**** Custom Parameter Value @deprecated@ ****/ +{ + float custom_curve; /* Gamma value */ + int custom_int; /* Integer value */ + float custom_invcurve; /* Gamma value */ + char *custom_passcode; /* Passcode value */ + char *custom_password; /* Password value */ + float custom_points; /* Measurement value */ + float custom_real; /* Real value */ + char *custom_string; /* String value */ +} ppd_cpvalue_t; + +typedef struct ppd_cparam_s /**** Custom Parameter @deprecated@ ****/ +{ + char name[PPD_MAX_NAME]; /* Parameter name */ + char text[PPD_MAX_TEXT]; /* Human-readable text */ + int order; /* Order (0 to N) */ + ppd_cptype_t type; /* Parameter type */ + ppd_cplimit_t minimum, /* Minimum value */ + maximum; /* Maximum value */ + ppd_cpvalue_t current; /* Current value */ +} ppd_cparam_t; + +typedef struct ppd_coption_s /**** Custom Option @deprecated@ ****/ +{ + char keyword[PPD_MAX_NAME]; /* Name of option that is being extended... */ + ppd_option_t *option; /* Option that is being extended... */ + int marked; /* Extended option is marked */ + cups_array_t *params; /* Parameters */ +} ppd_coption_t; + +typedef struct _ppd_cache_s _ppd_cache_t; + /**** PPD cache and mapping data @deprecated@ ****/ + +typedef struct ppd_file_s /**** PPD File @deprecated@ ****/ +{ + int language_level; /* Language level of device */ + int color_device; /* 1 = color device, 0 = grayscale */ + int variable_sizes; /* 1 = supports variable sizes, 0 = doesn't */ + int accurate_screens; /* 1 = supports accurate screens, 0 = not */ + int contone_only; /* 1 = continuous tone only, 0 = not */ + int landscape; /* -90 or 90 */ + int model_number; /* Device-specific model number */ + int manual_copies; /* 1 = Copies done manually, 0 = hardware */ + int throughput; /* Pages per minute */ + ppd_cs_t colorspace; /* Default colorspace */ + char *patches; /* Patch commands to be sent to printer */ + int num_emulations; /* Number of emulations supported (no longer supported) @private@ */ + ppd_emul_t *emulations; /* Emulations and the code to invoke them (no longer supported) @private@ */ + char *jcl_begin; /* Start JCL commands */ + char *jcl_ps; /* Enter PostScript interpreter */ + char *jcl_end; /* End JCL commands */ + char *lang_encoding; /* Language encoding */ + char *lang_version; /* Language version (English, Spanish, etc.) */ + char *modelname; /* Model name (general) */ + char *ttrasterizer; /* Truetype rasterizer */ + char *manufacturer; /* Manufacturer name */ + char *product; /* Product name (from PS RIP/interpreter) */ + char *nickname; /* Nickname (specific) */ + char *shortnickname; /* Short version of nickname */ + int num_groups; /* Number of UI groups */ + ppd_group_t *groups; /* UI groups */ + int num_sizes; /* Number of page sizes */ + ppd_size_t *sizes; /* Page sizes */ + float custom_min[2]; /* Minimum variable page size */ + float custom_max[2]; /* Maximum variable page size */ + float custom_margins[4]; /* Margins around page */ + int num_consts; /* Number of UI/Non-UI constraints */ + ppd_const_t *consts; /* UI/Non-UI constraints */ + int num_fonts; /* Number of pre-loaded fonts */ + char **fonts; /* Pre-loaded fonts */ + int num_profiles; /* Number of sRGB color profiles @deprecated@ */ + ppd_profile_t *profiles; /* sRGB color profiles @deprecated@ */ + int num_filters; /* Number of filters */ + char **filters; /* Filter strings... */ + + /**** New in CUPS 1.1 ****/ + int flip_duplex; /* 1 = Flip page for back sides @deprecated@ */ + + /**** New in CUPS 1.1.19 ****/ + char *protocols; /* Protocols (BCP, TBCP) string @since CUPS 1.1.19/macOS 10.3@ */ + char *pcfilename; /* PCFileName string @since CUPS 1.1.19/macOS 10.3@ */ + int num_attrs; /* Number of attributes @since CUPS 1.1.19/macOS 10.3@ @private@ */ + int cur_attr; /* Current attribute @since CUPS 1.1.19/macOS 10.3@ @private@ */ + ppd_attr_t **attrs; /* Attributes @since CUPS 1.1.19/macOS 10.3@ @private@ */ + + /**** New in CUPS 1.2/macOS 10.5 ****/ + cups_array_t *sorted_attrs; /* Attribute lookup array @since CUPS 1.2/macOS 10.5@ @private@ */ + cups_array_t *options; /* Option lookup array @since CUPS 1.2/macOS 10.5@ @private@ */ + cups_array_t *coptions; /* Custom options array @since CUPS 1.2/macOS 10.5@ @private@ */ + + /**** New in CUPS 1.3/macOS 10.5 ****/ + cups_array_t *marked; /* Marked choices @since CUPS 1.3/macOS 10.5@ @private@ */ + + /**** New in CUPS 1.4/macOS 10.6 ****/ + cups_array_t *cups_uiconstraints; /* cupsUIConstraints @since CUPS 1.4/macOS 10.6@ @private@ */ + + /**** New in CUPS 1.5 ****/ + _ppd_cache_t *cache; /* PPD cache and mapping data @since CUPS 1.5/macOS 10.7@ @private@ */ +} ppd_file_t; + + +/* + * Prototypes... + */ + +extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern const char *cupsGetPPD2(http_t *http, const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern http_status_t cupsGetPPD3(http_t *http, const char *name, time_t *modtime, char *buffer, size_t bufsize) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern char *cupsGetServerPPD(http_t *http, const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); + +extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdCollect(ppd_file_t *ppd, ppd_section_t section, + ppd_choice_t ***choices) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdConflicts(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdEmit(ppd_file_t *ppd, FILE *fp, + ppd_section_t section) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdEmitFd(ppd_file_t *ppd, int fd, + ppd_section_t section) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdEmitJCL(ppd_file_t *ppd, FILE *fp, int job_id, + const char *user, const char *title) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_choice_t *ppdFindChoice(ppd_option_t *o, const char *option) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, + const char *keyword) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, + const char *option) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, + const char *option) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_file_t *ppdOpen(FILE *fp) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_file_t *ppdOpenFd(int fd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern float ppdPageLength(ppd_file_t *ppd, const char *name) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern float ppdPageWidth(ppd_file_t *ppd, const char *name) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); + +/**** New in CUPS 1.1.19 ****/ +extern const char *ppdErrorString(ppd_status_t status) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, + const char *spec) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, + const char *spec) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_status_t ppdLastError(int *line) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); + +/**** New in CUPS 1.1.20 ****/ +extern void ppdSetConformance(ppd_conform_t c) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); + +/**** New in CUPS 1.2 ****/ +extern int cupsRasterInterpretPPD(cups_page_header2_t *h, + ppd_file_t *ppd, + int num_options, + cups_option_t *options, + cups_interpret_cb_t func) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdCollect2(ppd_file_t *ppd, ppd_section_t section, + float min_order, ppd_choice_t ***choices) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdEmitAfterOrder(ppd_file_t *ppd, FILE *fp, + ppd_section_t section, int limit, + float min_order) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdEmitJCLEnd(ppd_file_t *ppd, FILE *fp) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern char *ppdEmitString(ppd_file_t *ppd, ppd_section_t section, + float min_order) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_coption_t *ppdFindCustomOption(ppd_file_t *ppd, + const char *keyword) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_cparam_t *ppdFindCustomParam(ppd_coption_t *opt, + const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_cparam_t *ppdFirstCustomParam(ppd_coption_t *opt) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_option_t *ppdFirstOption(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_cparam_t *ppdNextCustomParam(ppd_coption_t *opt) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_option_t *ppdNextOption(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdLocalize(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_file_t *ppdOpen2(cups_file_t *fp) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); + +/**** New in CUPS 1.3/macOS 10.5 ****/ +extern const char *ppdLocalizeIPPReason(ppd_file_t *ppd, + const char *reason, + const char *scheme, + char *buffer, + size_t bufsize) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); + +/**** New in CUPS 1.4/macOS 10.6 ****/ +extern int cupsGetConflicts(ppd_file_t *ppd, const char *option, + const char *choice, + cups_option_t **options) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int cupsResolveConflicts(ppd_file_t *ppd, + const char *option, + const char *choice, + int *num_options, + cups_option_t **options) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdInstallableConflict(ppd_file_t *ppd, + const char *option, + const char *choice) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern ppd_attr_t *ppdLocalizeAttr(ppd_file_t *ppd, const char *keyword, + const char *spec) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern const char *ppdLocalizeMarkerName(ppd_file_t *ppd, + const char *name) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); +extern int ppdPageSizeLimits(ppd_file_t *ppd, + ppd_size_t *minimum, + ppd_size_t *maximum) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_PPD_H_ */ diff --git a/cups/pwg-media.c b/cups/pwg-media.c new file mode 100644 index 0000000..00bb2ed --- /dev/null +++ b/cups/pwg-media.c @@ -0,0 +1,1182 @@ +/* + * PWG media name API implementation for CUPS. + * + * Copyright 2009-2019 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include + + +/* + * Local macros... + */ + +#define _PWG_MEDIA_IN(p,l,a,x,y) {p, l, a, (int)(x * 2540), (int)(y * 2540)} +#define _PWG_MEDIA_MM(p,l,a,x,y) {p, l, a, (int)(x * 100), (int)(y * 100)} +#define _PWG_EPSILON 50 /* Matching tolerance */ + + +/* + * Local functions... + */ + +static int pwg_compare_legacy(pwg_media_t *a, pwg_media_t *b); +static int pwg_compare_pwg(pwg_media_t *a, pwg_media_t *b); +static int pwg_compare_ppd(pwg_media_t *a, pwg_media_t *b); +static char *pwg_format_inches(char *buf, size_t bufsize, int val); +static char *pwg_format_millimeters(char *buf, size_t bufsize, int val); +static int pwg_scan_measurement(const char *buf, char **bufptr, int numer, int denom); + + +/* + * Local globals... + */ + +static pwg_media_t const cups_pwg_media[] = +{ /* Media size lookup table */ + /* North American Standard Sheet Media Sizes */ + _PWG_MEDIA_IN("na_index-3x5_3x5in", NULL, "3x5", 3, 5), + _PWG_MEDIA_IN("na_personal_3.625x6.5in", NULL, "EnvPersonal", 3.625, 6.5), + _PWG_MEDIA_IN("na_monarch_3.875x7.5in", "monarch-envelope", "EnvMonarch", 3.875, 7.5), + _PWG_MEDIA_IN("na_number-9_3.875x8.875in", "na-number-9-envelope", "Env9", 3.875, 8.875), + _PWG_MEDIA_IN("na_index-4x6_4x6in", NULL, "4x6", 4, 6), + _PWG_MEDIA_IN("na_number-10_4.125x9.5in", "na-number-10-envelope", "Env10", 4.125, 9.5), + _PWG_MEDIA_IN("na_a2_4.375x5.75in", NULL, "EnvA2", 4.375, 5.75), + _PWG_MEDIA_IN("na_number-11_4.5x10.375in", NULL, "Env11", 4.5, 10.375), + _PWG_MEDIA_IN("na_number-12_4.75x11in", NULL, "Env12", 4.75, 11), + _PWG_MEDIA_IN("na_5x7_5x7in", NULL, "5x7", 5, 7), + _PWG_MEDIA_IN("na_index-5x8_5x8in", NULL, "5x8", 5, 8), + _PWG_MEDIA_IN("na_number-14_5x11.5in", NULL, "Env14", 5, 11.5), + _PWG_MEDIA_IN("na_invoice_5.5x8.5in", "invoice", "Statement", 5.5, 8.5), + _PWG_MEDIA_IN("na_index-4x6-ext_6x8in", NULL, "6x8", 6, 8), + _PWG_MEDIA_IN("na_6x9_6x9in", "na-6x9-envelope", "6x9", 6, 9), + _PWG_MEDIA_IN("na_c5_6.5x9.5in", NULL, "6.5x9.5", 6.5, 9.5), + _PWG_MEDIA_IN("na_7x9_7x9in", "na-7x9-envelope", "7x9", 7, 9), + _PWG_MEDIA_IN("na_executive_7.25x10.5in", "executive", "Executive", 7.25, 10.5), + _PWG_MEDIA_IN("na_govt-letter_8x10in", "na-8x10", "8x10", 8, 10), + _PWG_MEDIA_IN("na_govt-legal_8x13in", NULL, "8x13", 8, 13), + _PWG_MEDIA_IN("na_quarto_8.5x10.83in", "quarto", "Quarto", 8.5, 10.83), + _PWG_MEDIA_IN("na_letter_8.5x11in", "na-letter", "Letter", 8.5, 11), + _PWG_MEDIA_IN("na_fanfold-eur_8.5x12in", NULL, "FanFoldGerman", 8.5, 12), + _PWG_MEDIA_IN("na_letter-plus_8.5x12.69in", NULL, "LetterPlus", 8.5, 12.69), + _PWG_MEDIA_IN("na_foolscap_8.5x13in", NULL, "FanFoldGermanLegal", 8.5, 13), + _PWG_MEDIA_IN("na_oficio_8.5x13.4in", NULL, "Oficio", 8.5, 13.4), + _PWG_MEDIA_IN("na_legal_8.5x14in", "na-legal", "Legal", 8.5, 14), + _PWG_MEDIA_IN("na_super-a_8.94x14in", NULL, "SuperA", 8.94, 14), + _PWG_MEDIA_IN("na_9x11_9x11in", "na-9x11-envelope", "9x11", 9, 11), + _PWG_MEDIA_IN("na_arch-a_9x12in", "arch-a", "ARCHA", 9, 12), + _PWG_MEDIA_IN("na_letter-extra_9.5x12in", NULL, "LetterExtra", 9.5, 12), + _PWG_MEDIA_IN("na_legal-extra_9.5x15in", NULL, "LegalExtra", 9.5, 15), + _PWG_MEDIA_IN("na_10x11_10x11in", NULL, "10x11", 10, 11), + _PWG_MEDIA_IN("na_10x13_10x13in", "na-10x13-envelope", "10x13", 10, 13), + _PWG_MEDIA_IN("na_10x14_10x14in", "na-10x14-envelope", "10x14", 10, 14), + _PWG_MEDIA_IN("na_10x15_10x15in", "na-10x15-envelope", "10x15", 10, 15), + _PWG_MEDIA_IN("na_11x12_11x12in", NULL, "11x12", 11, 12), + _PWG_MEDIA_IN("na_edp_11x14in", NULL, "11x14", 11, 14), + _PWG_MEDIA_IN("na_fanfold-us_11x14.875in", NULL, "11x14.875", 11, 14.875), + _PWG_MEDIA_IN("na_11x15_11x15in", NULL, "11x15", 11, 15), + _PWG_MEDIA_IN("na_ledger_11x17in", "tabloid", "Tabloid", 11, 17), + _PWG_MEDIA_IN("na_eur-edp_12x14in", NULL, NULL, 12, 14), + _PWG_MEDIA_IN("na_arch-b_12x18in", "arch-b", "ARCHB", 12, 18), + _PWG_MEDIA_IN("na_12x19_12x19in", NULL, "12x19", 12, 19), + _PWG_MEDIA_IN("na_b-plus_12x19.17in", NULL, "SuperB", 12, 19.17), + _PWG_MEDIA_IN("na_super-b_13x19in", "super-b", "13x19", 13, 19), + _PWG_MEDIA_IN("na_c_17x22in", "c", "AnsiC", 17, 22), + _PWG_MEDIA_IN("na_arch-c_18x24in", "arch-c", "ARCHC", 18, 24), + _PWG_MEDIA_IN("na_d_22x34in", "d", "AnsiD", 22, 34), + _PWG_MEDIA_IN("na_arch-d_24x36in", "arch-d", "ARCHD", 24, 36), + _PWG_MEDIA_IN("asme_f_28x40in", "f", "28x40", 28, 40), + _PWG_MEDIA_IN("na_wide-format_30x42in", NULL, "30x42", 30, 42), + _PWG_MEDIA_IN("na_e_34x44in", "e", "AnsiE", 34, 44), + _PWG_MEDIA_IN("na_arch-e_36x48in", "arch-e", "ARCHE", 36, 48), + _PWG_MEDIA_IN("na_f_44x68in", NULL, "AnsiF", 44, 68), + + /* ISO Standard Sheet Media Sizes */ + _PWG_MEDIA_MM("iso_a10_26x37mm", "iso-a10", "A10", 26, 37), + _PWG_MEDIA_MM("iso_a9_37x52mm", "iso-a9", "A9", 37, 52), + _PWG_MEDIA_MM("iso_a8_52x74mm", "iso-a8", "A8", 52, 74), + _PWG_MEDIA_MM("iso_a7_74x105mm", "iso-a7", "A7", 74, 105), + _PWG_MEDIA_MM("iso_a6_105x148mm", "iso-a6", "A6", 105, 148), + _PWG_MEDIA_MM("iso_a5_148x210mm", "iso-a5", "A5", 148, 210), + _PWG_MEDIA_MM("iso_a5-extra_174x235mm", NULL, "A5Extra", 174, 235), + _PWG_MEDIA_MM("iso_a4_210x297mm", "iso-a4", "A4", 210, 297), + _PWG_MEDIA_MM("iso_a4-tab_225x297mm", NULL, "A4Tab", 225, 297), + _PWG_MEDIA_MM("iso_a4-extra_235.5x322.3mm", NULL, "A4Extra", 235.5, 322.3), + _PWG_MEDIA_MM("iso_a3_297x420mm", "iso-a3", "A3", 297, 420), + _PWG_MEDIA_MM("iso_a4x3_297x630mm", "iso-a4x3", "A4x3", 297, 630), + _PWG_MEDIA_MM("iso_a4x4_297x841mm", "iso-a4x4", "A4x4", 297, 841), + _PWG_MEDIA_MM("iso_a4x5_297x1051mm", "iso-a4x5", "A4x5", 297, 1051), + _PWG_MEDIA_MM("iso_a4x6_297x1261mm", "iso-a4x6", "A4x6", 297, 1261), + _PWG_MEDIA_MM("iso_a4x7_297x1471mm", "iso-a4x7", "A4x7", 297, 1471), + _PWG_MEDIA_MM("iso_a4x8_297x1682mm", "iso-a4x8", "A4x8", 297, 1682), + _PWG_MEDIA_MM("iso_a4x9_297x1892mm", "iso-a4x9", "A4x9", 297, 1892), + _PWG_MEDIA_MM("iso_a3-extra_322x445mm", "iso-a3-extra", "A3Extra", 322, 445), + _PWG_MEDIA_MM("iso_a2_420x594mm", "iso-a2", "A2", 420, 594), + _PWG_MEDIA_MM("iso_a3x3_420x891mm", "iso-a3x3", "A3x3", 420, 891), + _PWG_MEDIA_MM("iso_a3x4_420x1189mm", "iso-a3x4", "A3x4", 420, 1189), + _PWG_MEDIA_MM("iso_a3x5_420x1486mm", "iso-a3x5", "A3x6", 420, 1486), + _PWG_MEDIA_MM("iso_a3x6_420x1783mm", "iso-a3x6", "A3x6", 420, 1783), + _PWG_MEDIA_MM("iso_a3x7_420x2080mm", "iso-a3x7", "A3x7", 420, 2080), + _PWG_MEDIA_MM("iso_a1_594x841mm", "iso-a1", "A1", 594, 841), + _PWG_MEDIA_MM("iso_a2x3_594x1261mm", "iso-a2x3", "A2x3", 594, 1261), + _PWG_MEDIA_MM("iso_a2x4_594x1682mm", "iso-a2x4", "A2x4", 594, 1682), + _PWG_MEDIA_MM("iso_a2x5_594x2102mm", "iso-a2x5", "A2x5", 594, 2102), + _PWG_MEDIA_MM("iso_a0_841x1189mm", "iso-a0", "A0", 841, 1189), + _PWG_MEDIA_MM("iso_a1x3_841x1783mm", "iso-a1x3", "A1x3", 841, 1783), + _PWG_MEDIA_MM("iso_a1x4_841x2378mm", "iso-a1x4", "A1x4", 841, 2378), + _PWG_MEDIA_MM("iso_2a0_1189x1682mm", NULL, "1189x1682mm", 1189, 1682), + _PWG_MEDIA_MM("iso_a0x3_1189x2523mm", NULL, "A0x3", 1189, 2523), + _PWG_MEDIA_MM("iso_b10_31x44mm", "iso-b10", "ISOB10", 31, 44), + _PWG_MEDIA_MM("iso_b9_44x62mm", "iso-b9", "ISOB9", 44, 62), + _PWG_MEDIA_MM("iso_b8_62x88mm", "iso-b8", "ISOB8", 62, 88), + _PWG_MEDIA_MM("iso_b7_88x125mm", "iso-b7", "ISOB7", 88, 125), + _PWG_MEDIA_MM("iso_b6_125x176mm", "iso-b6", "ISOB6", 125, 176), + _PWG_MEDIA_MM("iso_b6c4_125x324mm", NULL, "125x324mm", 125, 324), + _PWG_MEDIA_MM("iso_b5_176x250mm", "iso-b5", "ISOB5", 176, 250), + _PWG_MEDIA_MM("iso_b5-extra_201x276mm", NULL, "ISOB5Extra", 201, 276), + _PWG_MEDIA_MM("iso_b4_250x353mm", "iso-b4", "ISOB4", 250, 353), + _PWG_MEDIA_MM("iso_b3_353x500mm", "iso-b3", "ISOB3", 353, 500), + _PWG_MEDIA_MM("iso_b2_500x707mm", "iso-b2", "ISOB2", 500, 707), + _PWG_MEDIA_MM("iso_b1_707x1000mm", "iso-b1", "ISOB1", 707, 1000), + _PWG_MEDIA_MM("iso_b0_1000x1414mm", "iso-b0", "ISOB0", 1000, 1414), + _PWG_MEDIA_MM("iso_c10_28x40mm", "iso-c10", "EnvC10", 28, 40), + _PWG_MEDIA_MM("iso_c9_40x57mm", "iso-c9", "EnvC9", 40, 57), + _PWG_MEDIA_MM("iso_c8_57x81mm", "iso-c8", "EnvC8", 57, 81), + _PWG_MEDIA_MM("iso_c7_81x114mm", "iso-c7", "EnvC7", 81, 114), + _PWG_MEDIA_MM("iso_c7c6_81x162mm", NULL, "EnvC76", 81, 162), + _PWG_MEDIA_MM("iso_c6_114x162mm", "iso-c6", "EnvC6", 114, 162), + _PWG_MEDIA_MM("iso_c6c5_114x229mm", NULL, "EnvC65", 114, 229), + _PWG_MEDIA_MM("iso_c5_162x229mm", "iso-c5", "EnvC5", 162, 229), + _PWG_MEDIA_MM("iso_c4_229x324mm", "iso-c4", "EnvC4", 229, 324), + _PWG_MEDIA_MM("iso_c3_324x458mm", "iso-c3", "EnvC3", 324, 458), + _PWG_MEDIA_MM("iso_c2_458x648mm", "iso-c2", "EnvC2", 458, 648), + _PWG_MEDIA_MM("iso_c1_648x917mm", "iso-c1", "EnvC1", 648, 917), + _PWG_MEDIA_MM("iso_c0_917x1297mm", "iso-c0", "EnvC0", 917, 1297), + _PWG_MEDIA_MM("iso_dl_110x220mm", "iso-designated", "EnvDL", 110, 220), + _PWG_MEDIA_MM("iso_ra4_215x305mm", "iso-ra4", "RA4", 215, 305), + _PWG_MEDIA_MM("iso_sra4_225x320mm", "iso-sra4", "SRA4", 225, 320), + _PWG_MEDIA_MM("iso_ra3_305x430mm", "iso-ra3", "RA3", 305, 430), + _PWG_MEDIA_MM("iso_sra3_320x450mm", "iso-sra3", "SRA3", 320, 450), + _PWG_MEDIA_MM("iso_ra2_430x610mm", "iso-ra2", "RA2", 430, 610), + _PWG_MEDIA_MM("iso_sra2_450x640mm", "iso-sra2", "SRA2", 450, 640), + _PWG_MEDIA_MM("iso_ra1_610x860mm", "iso-ra1", "RA1", 610, 860), + _PWG_MEDIA_MM("iso_sra1_640x900mm", "iso-sra1", "SRA1", 640, 900), + _PWG_MEDIA_MM("iso_ra0_860x1220mm", "iso-ra0", "RA0", 860, 1220), + _PWG_MEDIA_MM("iso_sra0_900x1280mm", "iso-sra0", "SRA0", 900, 1280), + + /* Japanese Standard Sheet Media Sizes */ + _PWG_MEDIA_MM("jis_b10_32x45mm", "jis-b10", "B10", 32, 45), + _PWG_MEDIA_MM("jis_b9_45x64mm", "jis-b9", "B9", 45, 64), + _PWG_MEDIA_MM("jis_b8_64x91mm", "jis-b8", "B8", 64, 91), + _PWG_MEDIA_MM("jis_b7_91x128mm", "jis-b7", "B7", 91, 128), + _PWG_MEDIA_MM("jis_b6_128x182mm", "jis-b6", "B6", 128, 182), + _PWG_MEDIA_MM("jis_b5_182x257mm", "jis-b5", "B5", 182, 257), + _PWG_MEDIA_MM("jis_b4_257x364mm", "jis-b4", "B4", 257, 364), + _PWG_MEDIA_MM("jis_b3_364x515mm", "jis-b3", "B3", 364, 515), + _PWG_MEDIA_MM("jis_b2_515x728mm", "jis-b2", "B2", 515, 728), + _PWG_MEDIA_MM("jis_b1_728x1030mm", "jis-b1", "B1", 728, 1030), + _PWG_MEDIA_MM("jis_b0_1030x1456mm", "jis-b0", "B0", 1030, 1456), + _PWG_MEDIA_MM("jis_exec_216x330mm", NULL, "216x330mm", 216, 330), + _PWG_MEDIA_MM("jpn_kaku1_270x382mm", NULL, "EnvKaku1", 270, 382), + _PWG_MEDIA_MM("jpn_kaku2_240x332mm", NULL, "EnvKaku2", 240, 332), + _PWG_MEDIA_MM("jpn_kaku3_216x277mm", NULL, "EnvKaku3", 216, 277), + _PWG_MEDIA_MM("jpn_kaku4_197x267mm", NULL, "EnvKaku4", 197, 267), + _PWG_MEDIA_MM("jpn_kaku5_190x240mm", NULL, "EnvKaku5", 190, 240), + _PWG_MEDIA_MM("jpn_kaku7_142x205mm", NULL, "EnvKaku7", 142, 205), + _PWG_MEDIA_MM("jpn_kaku8_119x197mm", NULL, "EnvKaku8", 119, 197), + _PWG_MEDIA_MM("jpn_chou4_90x205mm", NULL, "EnvChou4", 90, 205), + _PWG_MEDIA_MM("jpn_hagaki_100x148mm", NULL, "Postcard", 100, 148), + _PWG_MEDIA_MM("jpn_you4_105x235mm", NULL, "EnvYou4", 105, 235), + _PWG_MEDIA_MM("jpn_you6_98x190mm", NULL, "EnvYou6", 98, 190), + _PWG_MEDIA_MM("jpn_chou2_111.1x146mm", NULL, NULL, 111.1, 146), + _PWG_MEDIA_MM("jpn_chou3_120x235mm", NULL, "EnvChou3", 120, 235), + _PWG_MEDIA_MM("jpn_chou40_90x225mm", NULL, "EnvChou40", 90, 225), + _PWG_MEDIA_MM("jpn_oufuku_148x200mm", NULL, "DoublePostcardRotated", 148, 200), + _PWG_MEDIA_MM("jpn_kahu_240x322.1mm", NULL, "240x322mm", 240, 322.1), + + /* Chinese Standard Sheet Media Sizes */ + _PWG_MEDIA_MM("prc_32k_97x151mm", NULL, "PRC32K", 97, 151), + _PWG_MEDIA_MM("prc_1_102x165mm", NULL, "EnvPRC1", 102, 165), + _PWG_MEDIA_MM("prc_2_102x176mm", NULL, "EnvPRC2", 102, 176), + _PWG_MEDIA_MM("prc_4_110x208mm", NULL, "EnvPRC4", 110, 208), + _PWG_MEDIA_MM("prc_8_120x309mm", NULL, "EnvPRC8", 120, 309), + _PWG_MEDIA_MM("prc_6_120x320mm", NULL, NULL, 120, 320), + _PWG_MEDIA_MM("prc_16k_146x215mm", NULL, "PRC16K", 146, 215), + _PWG_MEDIA_MM("prc_7_160x230mm", NULL, "EnvPRC7", 160, 230), + _PWG_MEDIA_MM("om_juuro-ku-kai_198x275mm", NULL, "198x275mm", 198, 275), + _PWG_MEDIA_MM("om_pa-kai_267x389mm", NULL, "267x389mm", 267, 389), + _PWG_MEDIA_MM("om_dai-pa-kai_275x395mm", NULL, "275x395mm", 275, 395), + + /* Chinese Standard Sheet Media Inch Sizes */ + _PWG_MEDIA_IN("roc_16k_7.75x10.75in", NULL, "roc16k", 7.75, 10.75), + _PWG_MEDIA_IN("roc_8k_10.75x15.5in", NULL, "roc8k", 10.75, 15.5), + + /* Other English Standard Sheet Media Sizes */ + _PWG_MEDIA_IN("oe_photo-l_3.5x5in", NULL, "3.5x5", 3.5, 5), + + /* Other Metric Standard Sheet Media Sizes */ + _PWG_MEDIA_MM("om_small-photo_100x150mm", NULL, "100x150mm", 100, 150), + _PWG_MEDIA_MM("om_italian_110x230mm", NULL, "EnvItalian", 110, 230), + _PWG_MEDIA_MM("om_large-photo_200x300", NULL, "200x300mm", 200, 300), + _PWG_MEDIA_MM("om_folio_210x330mm", "folio", "Folio", 210, 330), + _PWG_MEDIA_MM("om_folio-sp_215x315mm", NULL, "FolioSP", 215, 315), + _PWG_MEDIA_MM("om_invite_220x220mm", NULL, "EnvInvite", 220, 220), + _PWG_MEDIA_MM("om_small-photo_100x200mm", NULL, "100x200mm", 100, 200), + + /* Disc Sizes */ + _PWG_MEDIA_MM("disc_standard_40x118mm", NULL, "Disc", 118, 118) +}; + + +/* + * 'pwgFormatSizeName()' - Generate a PWG self-describing media size name. + * + * This function generates a PWG self-describing media size name of the form + * "prefix_name_WIDTHxLENGTHunits". The prefix is typically "custom" or "roll" + * for user-supplied sizes but can also be "disc", "iso", "jis", "jpn", "na", + * "oe", "om", "prc", or "roc". A value of @code NULL@ automatically chooses + * "oe" or "om" depending on the units. + * + * The size name may only contain lowercase letters, numbers, "-", and ".". If + * @code NULL@ is passed, the size name will contain the formatted dimensions. + * + * The width and length are specified in hundredths of millimeters, equivalent + * to 1/100000th of a meter or 1/2540th of an inch. The width, length, and + * units used for the generated size name are calculated automatically if the + * units string is @code NULL@, otherwise inches ("in") or millimeters ("mm") + * are used. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - 1 on success, 0 on failure */ +pwgFormatSizeName(char *keyword, /* I - Keyword buffer */ + size_t keysize, /* I - Size of keyword buffer */ + const char *prefix, /* I - Prefix for PWG size or @code NULL@ for automatic */ + const char *name, /* I - Size name or @code NULL@ */ + int width, /* I - Width of page in 2540ths */ + int length, /* I - Length of page in 2540ths */ + const char *units) /* I - Units - "in", "mm", or @code NULL@ for automatic */ +{ + char usize[12 + 1 + 12 + 3], /* Unit size: NNNNNNNNNNNNxNNNNNNNNNNNNuu */ + *uptr; /* Pointer into unit size */ + char *(*format)(char *, size_t, int); + /* Formatting function */ + + + /* + * Range check input... + */ + + DEBUG_printf(("pwgFormatSize(keyword=%p, keysize=" CUPS_LLFMT ", prefix=\"%s\", name=\"%s\", width=%d, length=%d, units=\"%s\")", (void *)keyword, CUPS_LLCAST keysize, prefix, name, width, length, units)); + + if (keyword) + *keyword = '\0'; + + if (!keyword || keysize < 32 || width < 0 || length < 0 || + (units && strcmp(units, "in") && strcmp(units, "mm"))) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Invalid media name arguments."), + 1); + return (0); + } + + if (name) + { + /* + * Validate name... + */ + + const char *nameptr; /* Pointer into name */ + + for (nameptr = name; *nameptr; nameptr ++) + if (!(*nameptr >= 'a' && *nameptr <= 'z') && + !(*nameptr >= '0' && *nameptr <= '9') && + *nameptr != '.' && *nameptr != '-') + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("Invalid media name arguments."), 1); + return (0); + } + } + else + name = usize; + + if (prefix && !strcmp(prefix, "disc")) + width = 4000; /* Disc sizes use hardcoded 40mm inner diameter */ + + if (!units) + { + if ((width % 635) == 0 && (length % 635) == 0) + { + /* + * Use inches since the size is a multiple of 1/4 inch. + */ + + units = "in"; + } + else + { + /* + * Use millimeters since the size is not a multiple of 1/4 inch. + */ + + units = "mm"; + } + } + + if (!strcmp(units, "in")) + { + format = pwg_format_inches; + + if (!prefix) + prefix = "oe"; + } + else + { + format = pwg_format_millimeters; + + if (!prefix) + prefix = "om"; + } + + /* + * Format the size string... + */ + + uptr = usize; + (*format)(uptr, sizeof(usize) - (size_t)(uptr - usize), width); + uptr += strlen(uptr); + *uptr++ = 'x'; + (*format)(uptr, sizeof(usize) - (size_t)(uptr - usize), length); + uptr += strlen(uptr); + + /* + * Safe because usize can hold up to 12 + 1 + 12 + 4 bytes. + */ + + memcpy(uptr, units, 3); + + /* + * Format the name... + */ + + snprintf(keyword, keysize, "%s_%s_%s", prefix, name, usize); + + return (1); +} + + +/* + * 'pwgInitSize()' - Initialize a pwg_size_t structure using IPP Job Template + * attributes. + * + * This function initializes a pwg_size_t structure from an IPP "media" or + * "media-col" attribute in the specified IPP message. 0 is returned if neither + * attribute is found in the message or the values are not valid. + * + * The "margins_set" variable is initialized to 1 if any "media-xxx-margin" + * member attribute was specified in the "media-col" Job Template attribute, + * otherwise it is initialized to 0. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +int /* O - 1 if size was initialized, 0 otherwise */ +pwgInitSize(pwg_size_t *size, /* I - Size to initialize */ + ipp_t *job, /* I - Job template attributes */ + int *margins_set) /* O - 1 if margins were set, 0 otherwise */ +{ + ipp_attribute_t *media, /* media attribute */ + *media_bottom_margin, /* media-bottom-margin member attribute */ + *media_col, /* media-col attribute */ + *media_left_margin, /* media-left-margin member attribute */ + *media_right_margin, /* media-right-margin member attribute */ + *media_size, /* media-size member attribute */ + *media_top_margin, /* media-top-margin member attribute */ + *x_dimension, /* x-dimension member attribute */ + *y_dimension; /* y-dimension member attribute */ + pwg_media_t *pwg; /* PWG media value */ + + + /* + * Range check input... + */ + + if (!size || !job || !margins_set) + return (0); + + /* + * Look for media-col and then media... + */ + + memset(size, 0, sizeof(pwg_size_t)); + *margins_set = 0; + + if ((media_col = ippFindAttribute(job, "media-col", + IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + /* + * Got media-col, look for media-size member attribute... + */ + + if ((media_size = ippFindAttribute(media_col->values[0].collection, + "media-size", + IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + /* + * Got media-size, look for x-dimension and y-dimension member + * attributes... + */ + + x_dimension = ippFindAttribute(media_size->values[0].collection, + "x-dimension", IPP_TAG_INTEGER); + y_dimension = ippFindAttribute(media_size->values[0].collection, + "y-dimension", IPP_TAG_INTEGER); + + if (x_dimension && y_dimension) + { + size->width = x_dimension->values[0].integer; + size->length = y_dimension->values[0].integer; + } + else if (!x_dimension) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("Missing x-dimension in media-size."), 1); + return (0); + } + else if (!y_dimension) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("Missing y-dimension in media-size."), 1); + return (0); + } + } + else + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Missing media-size in media-col."), + 1); + return (0); + } + + /* media-*-margin */ + media_bottom_margin = ippFindAttribute(media_col->values[0].collection, + "media-bottom-margin", + IPP_TAG_INTEGER); + media_left_margin = ippFindAttribute(media_col->values[0].collection, + "media-left-margin", + IPP_TAG_INTEGER); + media_right_margin = ippFindAttribute(media_col->values[0].collection, + "media-right-margin", + IPP_TAG_INTEGER); + media_top_margin = ippFindAttribute(media_col->values[0].collection, + "media-top-margin", + IPP_TAG_INTEGER); + if (media_bottom_margin && media_left_margin && media_right_margin && + media_top_margin) + { + *margins_set = 1; + size->bottom = media_bottom_margin->values[0].integer; + size->left = media_left_margin->values[0].integer; + size->right = media_right_margin->values[0].integer; + size->top = media_top_margin->values[0].integer; + } + } + else + { + if ((media = ippFindAttribute(job, "media", IPP_TAG_NAME)) == NULL) + if ((media = ippFindAttribute(job, "media", IPP_TAG_KEYWORD)) == NULL) + if ((media = ippFindAttribute(job, "PageSize", IPP_TAG_NAME)) == NULL) + media = ippFindAttribute(job, "PageRegion", IPP_TAG_NAME); + + if (media && media->values[0].string.text) + { + const char *name = media->values[0].string.text; + /* Name string */ + + if ((pwg = pwgMediaForPWG(name)) == NULL) + { + /* + * Not a PWG name, try a legacy name... + */ + + if ((pwg = pwgMediaForLegacy(name)) == NULL) + { + /* + * Not a legacy name, try a PPD name... + */ + + const char *suffix; /* Suffix on media string */ + + pwg = pwgMediaForPPD(name); + if (pwg && + (suffix = name + strlen(name) - 10 /* .FullBleed */) > name && + !_cups_strcasecmp(suffix, ".FullBleed")) + { + /* + * Indicate that margins are set with the default values of 0. + */ + + *margins_set = 1; + } + } + } + + if (pwg) + { + size->width = pwg->width; + size->length = pwg->length; + } + else + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unsupported media value."), 1); + return (0); + } + } + else + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Missing media or media-col."), 1); + return (0); + } + } + + return (1); +} + + +/* + * 'pwgMediaForLegacy()' - Find a PWG media size by ISO/IPP legacy name. + * + * The "name" argument specifies the legacy ISO media size name, for example + * "iso-a4" or "na-letter". + * + * @since CUPS 1.7/macOS 10.9@ + */ + +pwg_media_t * /* O - Matching size or NULL */ +pwgMediaForLegacy(const char *legacy) /* I - Legacy size name */ +{ + pwg_media_t key; /* Search key */ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + + /* + * Range check input... + */ + + if (!legacy) + return (NULL); + + /* + * Build the lookup table for PWG names as needed... + */ + + if (!cg->leg_size_lut) + { + int i; /* Looping var */ + pwg_media_t *size; /* Current size */ + + cg->leg_size_lut = cupsArrayNew((cups_array_func_t)pwg_compare_legacy, + NULL); + + for (i = (int)(sizeof(cups_pwg_media) / sizeof(cups_pwg_media[0])), + size = (pwg_media_t *)cups_pwg_media; + i > 0; + i --, size ++) + if (size->legacy) + cupsArrayAdd(cg->leg_size_lut, size); + } + + /* + * Lookup the name... + */ + + key.legacy = legacy; + return ((pwg_media_t *)cupsArrayFind(cg->leg_size_lut, &key)); +} + + +/* + * 'pwgMediaForPPD()' - Find a PWG media size by Adobe PPD name. + * + * The "ppd" argument specifies an Adobe page size name as defined in Table B.1 + * of the Adobe PostScript Printer Description File Format Specification Version + * 4.3. + * + * If the name is non-standard, the returned PWG media size is stored in + * thread-local storage and is overwritten by each call to the function in the + * thread. Custom names can be of the form "Custom.WIDTHxLENGTH[units]" or + * "WIDTHxLENGTH[units]". + * + * @since CUPS 1.7/macOS 10.9@ + */ + +pwg_media_t * /* O - Matching size or NULL */ +pwgMediaForPPD(const char *ppd) /* I - PPD size name */ +{ + pwg_media_t key, /* Search key */ + *size; /* Matching size */ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + + /* + * Range check input... + */ + + if (!ppd) + return (NULL); + + /* + * Build the lookup table for PWG names as needed... + */ + + if (!cg->ppd_size_lut) + { + int i; /* Looping var */ + + cg->ppd_size_lut = cupsArrayNew((cups_array_func_t)pwg_compare_ppd, NULL); + + for (i = (int)(sizeof(cups_pwg_media) / sizeof(cups_pwg_media[0])), + size = (pwg_media_t *)cups_pwg_media; + i > 0; + i --, size ++) + if (size->ppd) + cupsArrayAdd(cg->ppd_size_lut, size); + } + + /* + * Lookup the name... + */ + + key.ppd = ppd; + if ((size = (pwg_media_t *)cupsArrayFind(cg->ppd_size_lut, &key)) == NULL) + { + /* + * See if the name is of the form: + * + * [Custom.]WIDTHxLENGTH[.FullBleed] - Size in points/inches [borderless] + * [Custom.]WIDTHxLENGTHcm[.FullBleed] - Size in centimeters [borderless] + * [Custom.]WIDTHxLENGTHft[.FullBleed] - Size in feet [borderless] + * [Custom.]WIDTHxLENGTHin[.FullBleed] - Size in inches [borderless] + * [Custom.]WIDTHxLENGTHm[.FullBleed] - Size in meters [borderless] + * [Custom.]WIDTHxLENGTHmm[.FullBleed] - Size in millimeters [borderless] + * [Custom.]WIDTHxLENGTHpt[.FullBleed] - Size in points [borderless] + */ + + int w, l, /* Width and length of page */ + numer, /* Unit scaling factor */ + denom; /* ... */ + char *ptr; /* Pointer into name */ + const char *units; /* Pointer to units */ + int custom; /* Custom page size? */ + + + if (!_cups_strncasecmp(ppd, "Custom.", 7)) + { + custom = 1; + numer = 2540; + denom = 72; + ptr = (char *)ppd + 7; + } + else + { + custom = 0; + numer = 2540; + denom = 1; + ptr = (char *)ppd; + } + + /* + * Find any units in the size... + */ + + units = strchr(ptr, '.'); + while (units && isdigit(units[1] & 255)) + units = strchr(units + 1, '.'); + + if (units) + units -= 2; + else + units = ptr + strlen(ptr) - 2; + + if (units > ptr) + { + if (isdigit(*units & 255) || *units == '.') + units ++; + + if (!_cups_strncasecmp(units, "cm", 2)) + { + numer = 1000; + denom = 1; + } + else if (!_cups_strncasecmp(units, "ft", 2)) + { + numer = 2540 * 12; + denom = 1; + } + else if (!_cups_strncasecmp(units, "in", 2)) + { + numer = 2540; + denom = 1; + } + else if (!_cups_strncasecmp(units, "mm", 2)) + { + numer = 100; + denom = 1; + } + else if (*units == 'm' || *units == 'M') + { + numer = 100000; + denom = 1; + } + else if (!_cups_strncasecmp(units, "pt", 2)) + { + numer = 2540; + denom = 72; + } + } + + w = pwg_scan_measurement(ptr, &ptr, numer, denom); + + if (ptr && ptr > ppd && *ptr == 'x') + { + l = pwg_scan_measurement(ptr + 1, &ptr, numer, denom); + + if (ptr) + { + /* + * Not a standard size; convert it to a PWG custom name of the form: + * + * [oe|om]_WIDTHxHEIGHTuu_WIDTHxHEIGHTuu + */ + + char wstr[32], lstr[32]; /* Width and length as strings */ + + size = &(cg->pwg_media); + size->width = w; + size->length = l; + size->pwg = cg->pwg_name; + + pwgFormatSizeName(cg->pwg_name, sizeof(cg->pwg_name), + custom ? "custom" : NULL, custom ? ppd + 7 : NULL, + size->width, size->length, NULL); + + if ((w % 635) == 0 && (l % 635) == 0) + snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%s", pwg_format_inches(wstr, sizeof(wstr), w), pwg_format_inches(lstr, sizeof(lstr), l)); + else + snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%smm", pwg_format_millimeters(wstr, sizeof(wstr), w), pwg_format_millimeters(lstr, sizeof(lstr), l)); + size->ppd = cg->ppd_name; + } + } + } + + return (size); +} + + +/* + * 'pwgMediaForPWG()' - Find a PWG media size by 5101.1 self-describing name. + * + * The "pwg" argument specifies a self-describing media size name of the form + * "prefix_name_WIDTHxLENGTHunits" as defined in PWG 5101.1. + * + * If the name is non-standard, the returned PWG media size is stored in + * thread-local storage and is overwritten by each call to the function in the + * thread. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +pwg_media_t * /* O - Matching size or NULL */ +pwgMediaForPWG(const char *pwg) /* I - PWG size name */ +{ + char *ptr; /* Pointer into name */ + pwg_media_t key, /* Search key */ + *size; /* Matching size */ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + + /* + * Range check input... + */ + + if (!pwg) + return (NULL); + + /* + * Build the lookup table for PWG names as needed... + */ + + if (!cg->pwg_size_lut) + { + int i; /* Looping var */ + + cg->pwg_size_lut = cupsArrayNew((cups_array_func_t)pwg_compare_pwg, NULL); + + for (i = (int)(sizeof(cups_pwg_media) / sizeof(cups_pwg_media[0])), + size = (pwg_media_t *)cups_pwg_media; + i > 0; + i --, size ++) + cupsArrayAdd(cg->pwg_size_lut, size); + } + + /* + * Lookup the name... + */ + + key.pwg = pwg; + if ((size = (pwg_media_t *)cupsArrayFind(cg->pwg_size_lut, &key)) == NULL && + (ptr = (char *)strchr(pwg, '_')) != NULL && + (ptr = (char *)strchr(ptr + 1, '_')) != NULL) + { + /* + * Try decoding the self-describing name of the form: + * + * class_name_WWWxHHHin[_something] + * class_name_WWWxHHHmm[_something] + */ + + int w, l; /* Width and length of page */ + int numer; /* Scale factor for units */ + const char *units; /* Units from size */ + + if ((units = strchr(ptr + 1, '_')) != NULL) + units -= 2; + else + units = ptr + strlen(ptr) - 2; + + ptr ++; + + if (units >= ptr && (!strcmp(units, "in") || !strncmp(units, "in_", 3))) + numer = 2540; + else + numer = 100; + + w = pwg_scan_measurement(ptr, &ptr, numer, 1); + + if (ptr && *ptr == 'x') + { + l = pwg_scan_measurement(ptr + 1, &ptr, numer, 1); + + if (ptr) + { + char wstr[32], lstr[32]; /* Width and length strings */ + + if (!strncmp(pwg, "disc_", 5)) + w = l; /* Make the media size OUTERxOUTER */ + + size = &(cg->pwg_media); + size->width = w; + size->length = l; + + strlcpy(cg->pwg_name, pwg, sizeof(cg->pwg_name)); + size->pwg = cg->pwg_name; + + if (numer == 100) + snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%smm", pwg_format_millimeters(wstr, sizeof(wstr), w), pwg_format_millimeters(lstr, sizeof(lstr), l)); + else + snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%s", pwg_format_inches(wstr, sizeof(wstr), w), pwg_format_inches(lstr, sizeof(lstr), l)); + size->ppd = cg->ppd_name; + } + } + } + + return (size); +} + + +/* + * 'pwgMediaForSize()' - Get the PWG media size for the given dimensions. + * + * The "width" and "length" are in hundredths of millimeters, equivalent to + * 1/100000th of a meter or 1/2540th of an inch. + * + * If the dimensions are non-standard, the returned PWG media size is stored in + * thread-local storage and is overwritten by each call to the function in the + * thread. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +pwg_media_t * /* O - PWG media name */ +pwgMediaForSize(int width, /* I - Width in hundredths of millimeters */ + int length) /* I - Length in hundredths of millimeters */ +{ + /* + * Adobe uses a size matching algorithm with an epsilon of 5 points, which + * is just about 176/2540ths... But a lot of international media sizes are + * very close so use 0.5mm (50/2540ths) as the maximum delta. + */ + + return (_pwgMediaNearSize(width, length, _PWG_EPSILON)); +} + + +/* + * '_pwgMediaNearSize()' - Get the PWG media size within the given tolerance. + */ + +pwg_media_t * /* O - PWG media name */ +_pwgMediaNearSize(int width, /* I - Width in hundredths of millimeters */ + int length, /* I - Length in hundredths of millimeters */ + int epsilon) /* I - Match within this tolernace. PWG units */ +{ + int i; /* Looping var */ + pwg_media_t *media, /* Current media */ + *best_media = NULL; /* Best match */ + int dw, dl, /* Difference in width and length */ + best_dw = 999, /* Best difference in width and length */ + best_dl = 999; + char wstr[32], lstr[32]; /* Width and length as strings */ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + + /* + * Range check input... + */ + + if (width <= 0 || length <= 0) + return (NULL); + + /* + * Look for a standard size... + */ + + for (i = (int)(sizeof(cups_pwg_media) / sizeof(cups_pwg_media[0])), + media = (pwg_media_t *)cups_pwg_media; + i > 0; + i --, media ++) + { + + dw = abs(media->width - width); + dl = abs(media->length - length); + + if (!dw && !dl) + return (media); + else if (dw <= epsilon && dl <= epsilon) + { + if (dw <= best_dw && dl <= best_dl) + { + best_media = media; + best_dw = dw; + best_dl = dl; + } + } + } + + if (best_media) + return (best_media); + + /* + * Not a standard size; convert it to a PWG custom name of the form: + * + * custom_WIDTHxHEIGHTuu_WIDTHxHEIGHTuu + */ + + pwgFormatSizeName(cg->pwg_name, sizeof(cg->pwg_name), "custom", NULL, width, + length, NULL); + + cg->pwg_media.pwg = cg->pwg_name; + cg->pwg_media.width = width; + cg->pwg_media.length = length; + + if ((width % 635) == 0 && (length % 635) == 0) + snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%s", pwg_format_inches(wstr, sizeof(wstr), width), pwg_format_inches(lstr, sizeof(lstr), length)); + else + snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%smm", pwg_format_millimeters(wstr, sizeof(wstr), width), pwg_format_millimeters(lstr, sizeof(lstr), length)); + cg->pwg_media.ppd = cg->ppd_name; + + return (&(cg->pwg_media)); +} + + +/* + * '_pwgMediaTable()' - Return the internal media size table. + */ + +const pwg_media_t * /* O - Pointer to first entry */ +_pwgMediaTable(size_t *num_media) /* O - Number of entries */ +{ + *num_media = sizeof(cups_pwg_media) / sizeof(cups_pwg_media[0]); + + return (cups_pwg_media); +} + + +/* + * 'pwg_compare_legacy()' - Compare two sizes using the legacy names. + */ + +static int /* O - Result of comparison */ +pwg_compare_legacy(pwg_media_t *a, /* I - First size */ + pwg_media_t *b) /* I - Second size */ +{ + return (strcmp(a->legacy, b->legacy)); +} + + +/* + * 'pwg_compare_ppd()' - Compare two sizes using the PPD names. + */ + +static int /* O - Result of comparison */ +pwg_compare_ppd(pwg_media_t *a, /* I - First size */ + pwg_media_t *b) /* I - Second size */ +{ + return (strcmp(a->ppd, b->ppd)); +} + + +/* + * 'pwg_compare_pwg()' - Compare two sizes using the PWG names. + */ + +static int /* O - Result of comparison */ +pwg_compare_pwg(pwg_media_t *a, /* I - First size */ + pwg_media_t *b) /* I - Second size */ +{ + return (strcmp(a->pwg, b->pwg)); +} + + +/* + * 'pwg_format_inches()' - Convert and format PWG units as inches. + */ + +static char * /* O - String */ +pwg_format_inches(char *buf, /* I - Buffer */ + size_t bufsize, /* I - Size of buffer */ + int val) /* I - Value in hundredths of millimeters */ +{ + int thousandths, /* Thousandths of inches */ + integer, /* Integer portion */ + fraction; /* Fractional portion */ + + + /* + * Convert hundredths of millimeters to thousandths of inches and round to + * the nearest thousandth. + */ + + thousandths = (val * 1000 + 1270) / 2540; + integer = thousandths / 1000; + fraction = thousandths % 1000; + + /* + * Format as a pair of integers (avoids locale stuff), avoiding trailing + * zeros... + */ + + if (fraction == 0) + snprintf(buf, bufsize, "%d", integer); + else if (fraction % 10) + snprintf(buf, bufsize, "%d.%03d", integer, fraction); + else if (fraction % 100) + snprintf(buf, bufsize, "%d.%02d", integer, fraction / 10); + else + snprintf(buf, bufsize, "%d.%01d", integer, fraction / 100); + + return (buf); +} + + +/* + * 'pwg_format_millimeters()' - Convert and format PWG units as millimeters. + */ + +static char * /* O - String */ +pwg_format_millimeters(char *buf, /* I - Buffer */ + size_t bufsize, /* I - Size of buffer */ + int val) /* I - Value in hundredths of millimeters */ +{ + int integer, /* Integer portion */ + fraction; /* Fractional portion */ + + + /* + * Convert hundredths of millimeters to integer and fractional portions. + */ + + integer = val / 100; + fraction = val % 100; + + /* + * Format as a pair of integers (avoids locale stuff), avoiding trailing + * zeros... + */ + + if (fraction == 0) + snprintf(buf, bufsize, "%d", integer); + else if (fraction % 10) + snprintf(buf, bufsize, "%d.%02d", integer, fraction); + else + snprintf(buf, bufsize, "%d.%01d", integer, fraction / 10); + + return (buf); +} + + +/* + * 'pwg_scan_measurement()' - Scan a measurement in inches or millimeters. + * + * The "factor" argument specifies the scale factor for the units to convert to + * hundredths of millimeters. The returned value is NOT rounded but is an + * exact conversion of the fraction value (no floating point is used). + */ + +static int /* O - Hundredths of millimeters */ +pwg_scan_measurement( + const char *buf, /* I - Number string */ + char **bufptr, /* O - First byte after the number */ + int numer, /* I - Numerator from units */ + int denom) /* I - Denominator from units */ +{ + int value = 0, /* Measurement value */ + fractional = 0, /* Fractional value */ + divisor = 1, /* Fractional divisor */ + digits = 10 * numer * denom; /* Maximum fractional value to read */ + + + /* + * Scan integer portion... + */ + + while (*buf >= '0' && *buf <= '9') + value = value * 10 + (*buf++) - '0'; + + if (*buf == '.') + { + /* + * Scan fractional portion... + */ + + buf ++; + + while (divisor < digits && *buf >= '0' && *buf <= '9') + { + fractional = fractional * 10 + (*buf++) - '0'; + divisor *= 10; + } + + /* + * Skip trailing digits that won't contribute... + */ + + while (*buf >= '0' && *buf <= '9') + buf ++; + } + + if (bufptr) + *bufptr = (char *)buf; + + return (value * numer / denom + fractional * numer / denom / divisor); +} diff --git a/cups/pwg-private.h b/cups/pwg-private.h new file mode 100644 index 0000000..e93a7f8 --- /dev/null +++ b/cups/pwg-private.h @@ -0,0 +1,48 @@ +/* + * Private PWG media API definitions for CUPS. + * + * Copyright 2009-2016 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_PWG_PRIVATE_H_ +# define _CUPS_PWG_PRIVATE_H_ + + +/* + * Include necessary headers... + */ + +# include + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Functions... + */ + +extern void _pwgGenerateSize(char *keyword, size_t keysize, + const char *prefix, + const char *name, + int width, int length) + _CUPS_INTERNAL_MSG("Use pwgFormatSizeName instead."); +extern int _pwgInitSize(pwg_size_t *size, ipp_t *job, + int *margins_set) + _CUPS_INTERNAL_MSG("Use pwgInitSize instead."); +extern const pwg_media_t *_pwgMediaTable(size_t *num_media) _CUPS_PRIVATE; +extern pwg_media_t *_pwgMediaNearSize(int width, int length, int epsilon) _CUPS_PRIVATE; + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_PWG_PRIVATE_H_ */ diff --git a/cups/pwg.h b/cups/pwg.h new file mode 100644 index 0000000..2d30847 --- /dev/null +++ b/cups/pwg.h @@ -0,0 +1,82 @@ +/* + * PWG media API definitions for CUPS. + * + * Copyright 2009-2017 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_PWG_H_ +# define _CUPS_PWG_H_ + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Macros... + */ + +/* Convert from points to hundredths of millimeters */ +# define PWG_FROM_POINTS(n) (int)(((n) * 2540 + 36) / 72) +/* Convert from hundredths of millimeters to points */ +# define PWG_TO_POINTS(n) ((n) * 72.0 / 2540.0) + + +/* + * Types and structures... + */ + +typedef struct pwg_map_s /**** Map element - PPD to/from PWG @exclude all@ */ +{ + char *pwg, /* PWG media keyword */ + *ppd; /* PPD option keyword */ +} pwg_map_t; + +typedef struct pwg_media_s /**** Common media size data ****/ +{ + const char *pwg, /* PWG 5101.1 "self describing" name */ + *legacy, /* IPP/ISO legacy name */ + *ppd; /* Standard Adobe PPD name */ + int width, /* Width in 2540ths */ + length; /* Length in 2540ths */ +} pwg_media_t; + +typedef struct pwg_size_s /**** Size element - PPD to/from PWG @exclude all@ */ +{ + pwg_map_t map; /* Map element */ + int width, /* Width in 2540ths */ + length, /* Length in 2540ths */ + left, /* Left margin in 2540ths */ + bottom, /* Bottom margin in 2540ths */ + right, /* Right margin in 2540ths */ + top; /* Top margin in 2540ths */ +} pwg_size_t; + + +/* + * Functions... + */ + +extern int pwgFormatSizeName(char *keyword, size_t keysize, + const char *prefix, const char *name, + int width, int length, + const char *units) _CUPS_API_1_7; +extern int pwgInitSize(pwg_size_t *size, ipp_t *job, + int *margins_set) _CUPS_API_1_7; +extern pwg_media_t *pwgMediaForLegacy(const char *legacy) _CUPS_API_1_7; +extern pwg_media_t *pwgMediaForPPD(const char *ppd) _CUPS_API_1_7; +extern pwg_media_t *pwgMediaForPWG(const char *pwg) _CUPS_API_1_7; +extern pwg_media_t *pwgMediaForSize(int width, int length) _CUPS_API_1_7; + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_PWG_H_ */ diff --git a/cups/raster-error.c b/cups/raster-error.c new file mode 100644 index 0000000..66f91e4 --- /dev/null +++ b/cups/raster-error.c @@ -0,0 +1,132 @@ +/* + * Raster error handling for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "raster-private.h" +#include "debug-internal.h" + + +/* + * '_cupsRasterAddError()' - Add an error message to the error buffer. + */ + +void +_cupsRasterAddError(const char *f, /* I - Printf-style error message */ + ...) /* I - Additional arguments as needed */ +{ + _cups_globals_t *cg = _cupsGlobals(); + /* Thread globals */ + _cups_raster_error_t *buf = &cg->raster_error; + /* Error buffer */ + va_list ap; /* Pointer to additional arguments */ + char s[2048]; /* Message string */ + ssize_t bytes; /* Bytes in message string */ + + + DEBUG_printf(("_cupsRasterAddError(f=\"%s\", ...)", f)); + + va_start(ap, f); + bytes = vsnprintf(s, sizeof(s), f, ap); + va_end(ap); + + if (bytes <= 0) + return; + + DEBUG_printf(("1_cupsRasterAddError: %s", s)); + + bytes ++; + + if ((size_t)bytes >= sizeof(s)) + return; + + if (bytes > (ssize_t)(buf->end - buf->current)) + { + /* + * Allocate more memory... + */ + + char *temp; /* New buffer */ + size_t size; /* Size of buffer */ + + + size = (size_t)(buf->end - buf->start + 2 * bytes + 1024); + + if (buf->start) + temp = realloc(buf->start, size); + else + temp = malloc(size); + + if (!temp) + return; + + /* + * Update pointers... + */ + + buf->end = temp + size; + buf->current = temp + (buf->current - buf->start); + buf->start = temp; + } + + /* + * Append the message to the end of the current string... + */ + + memcpy(buf->current, s, (size_t)bytes); + buf->current += bytes - 1; +} + + +/* + * '_cupsRasterClearError()' - Clear the error buffer. + */ + +void +_cupsRasterClearError(void) +{ + _cups_globals_t *cg = _cupsGlobals(); + /* Thread globals */ + _cups_raster_error_t *buf = &cg->raster_error; + /* Error buffer */ + + + buf->current = buf->start; + + if (buf->start) + *(buf->start) = '\0'; +} + + +/* + * '_cupsRasterErrorString()' - Return the last error from a raster function. + * + * If there are no recent errors, NULL is returned. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +const char * /* O - Last error */ +_cupsRasterErrorString(void) +{ + _cups_globals_t *cg = _cupsGlobals(); + /* Thread globals */ + _cups_raster_error_t *buf = &cg->raster_error; + /* Error buffer */ + + + if (buf->current == buf->start) + return (NULL); + else + return (buf->start); +} diff --git a/cups/raster-interpret.c b/cups/raster-interpret.c new file mode 100644 index 0000000..fbe52f3 --- /dev/null +++ b/cups/raster-interpret.c @@ -0,0 +1,1721 @@ +/* + * PPD command interpreter for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1993-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include "debug-internal.h" + + +/* + * Stack values for the PostScript mini-interpreter... + */ + +typedef enum +{ + CUPS_PS_NAME, + CUPS_PS_NUMBER, + CUPS_PS_STRING, + CUPS_PS_BOOLEAN, + CUPS_PS_NULL, + CUPS_PS_START_ARRAY, + CUPS_PS_END_ARRAY, + CUPS_PS_START_DICT, + CUPS_PS_END_DICT, + CUPS_PS_START_PROC, + CUPS_PS_END_PROC, + CUPS_PS_CLEARTOMARK, + CUPS_PS_COPY, + CUPS_PS_DUP, + CUPS_PS_INDEX, + CUPS_PS_POP, + CUPS_PS_ROLL, + CUPS_PS_SETPAGEDEVICE, + CUPS_PS_STOPPED, + CUPS_PS_OTHER +} _cups_ps_type_t; + +typedef struct +{ + _cups_ps_type_t type; /* Object type */ + union + { + int boolean; /* Boolean value */ + char name[64]; /* Name value */ + double number; /* Number value */ + char other[64]; /* Other operator */ + char string[64]; /* Sring value */ + } value; /* Value */ +} _cups_ps_obj_t; + +typedef struct +{ + int num_objs, /* Number of objects on stack */ + alloc_objs; /* Number of allocated objects */ + _cups_ps_obj_t *objs; /* Objects in stack */ +} _cups_ps_stack_t; + + +/* + * Local functions... + */ + +static int cleartomark_stack(_cups_ps_stack_t *st); +static int copy_stack(_cups_ps_stack_t *st, int count); +static void delete_stack(_cups_ps_stack_t *st); +static void error_object(_cups_ps_obj_t *obj); +static void error_stack(_cups_ps_stack_t *st, const char *title); +static _cups_ps_obj_t *index_stack(_cups_ps_stack_t *st, int n); +static _cups_ps_stack_t *new_stack(void); +static _cups_ps_obj_t *pop_stack(_cups_ps_stack_t *st); +static _cups_ps_obj_t *push_stack(_cups_ps_stack_t *st, + _cups_ps_obj_t *obj); +static int roll_stack(_cups_ps_stack_t *st, int c, int s); +static _cups_ps_obj_t *scan_ps(_cups_ps_stack_t *st, char **ptr); +static int setpagedevice(_cups_ps_stack_t *st, + cups_page_header2_t *h, + int *preferred_bits); +#ifdef DEBUG +static void DEBUG_object(const char *prefix, _cups_ps_obj_t *obj); +static void DEBUG_stack(const char *prefix, _cups_ps_stack_t *st); +#endif /* DEBUG */ + + +/* + * '_cupsRasterInterpretPPD()' - Interpret PPD commands to create a page header. + * + * This function is used by raster image processing (RIP) filters like + * cgpdftoraster and imagetoraster when writing CUPS raster data for a page. + * It is not used by raster printer driver filters which only read CUPS + * raster data. + * + * + * @code cupsRasterInterpretPPD@ does not mark the options in the PPD using + * the "num_options" and "options" arguments. Instead, mark the options with + * @code cupsMarkOptions@ and @code ppdMarkOption@ prior to calling it - + * this allows for per-page options without manipulating the options array. + * + * The "func" argument specifies an optional callback function that is + * called prior to the computation of the final raster data. The function + * can make changes to the @link cups_page_header2_t@ data as needed to use a + * supported raster format and then returns 0 on success and -1 if the + * requested attributes cannot be supported. + * + * + * @code cupsRasterInterpretPPD@ supports a subset of the PostScript language. + * Currently only the @code [@, @code ]@, @code <<@, @code >>@, @code {@, + * @code }@, @code cleartomark@, @code copy@, @code dup@, @code index@, + * @code pop@, @code roll@, @code setpagedevice@, and @code stopped@ operators + * are supported. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 0 on success, -1 on failure */ +_cupsRasterInterpretPPD( + cups_page_header2_t *h, /* O - Page header to create */ + ppd_file_t *ppd, /* I - PPD file */ + int num_options, /* I - Number of options */ + cups_option_t *options, /* I - Options */ + cups_interpret_cb_t func) /* I - Optional page header callback (@code NULL@ for none) */ +{ + int status; /* Cummulative status */ + char *code; /* Code to run */ + const char *val; /* Option value */ + ppd_size_t *size; /* Current size */ + float left, /* Left position */ + bottom, /* Bottom position */ + right, /* Right position */ + top, /* Top position */ + temp1, temp2; /* Temporary variables for swapping */ + int preferred_bits; /* Preferred bits per color */ + + + /* + * Range check input... + */ + + _cupsRasterClearError(); + + if (!h) + { + _cupsRasterAddError("Page header cannot be NULL!\n"); + return (-1); + } + + /* + * Reset the page header to the defaults... + */ + + memset(h, 0, sizeof(cups_page_header2_t)); + + h->NumCopies = 1; + h->PageSize[0] = 612; + h->PageSize[1] = 792; + h->HWResolution[0] = 100; + h->HWResolution[1] = 100; + h->cupsBitsPerColor = 1; + h->cupsColorOrder = CUPS_ORDER_CHUNKED; + h->cupsColorSpace = CUPS_CSPACE_K; + h->cupsBorderlessScalingFactor = 1.0f; + h->cupsPageSize[0] = 612.0f; + h->cupsPageSize[1] = 792.0f; + h->cupsImagingBBox[0] = 0.0f; + h->cupsImagingBBox[1] = 0.0f; + h->cupsImagingBBox[2] = 612.0f; + h->cupsImagingBBox[3] = 792.0f; + + strlcpy(h->cupsPageSizeName, "Letter", sizeof(h->cupsPageSizeName)); + +#ifdef __APPLE__ + /* + * cupsInteger0 is also used for the total page count on macOS; set an + * uncommon default value so we can tell if the driver is using cupsInteger0. + */ + + h->cupsInteger[0] = 0x80000000; +#endif /* __APPLE__ */ + + /* + * Apply patches and options to the page header... + */ + + status = 0; + preferred_bits = 0; + + if (ppd) + { + /* + * Apply any patch code (used to override the defaults...) + */ + + if (ppd->patches) + status |= _cupsRasterExecPS(h, &preferred_bits, ppd->patches); + + /* + * Then apply printer options in the proper order... + */ + + if ((code = ppdEmitString(ppd, PPD_ORDER_DOCUMENT, 0.0)) != NULL) + { + status |= _cupsRasterExecPS(h, &preferred_bits, code); + free(code); + } + + if ((code = ppdEmitString(ppd, PPD_ORDER_ANY, 0.0)) != NULL) + { + status |= _cupsRasterExecPS(h, &preferred_bits, code); + free(code); + } + + if ((code = ppdEmitString(ppd, PPD_ORDER_PROLOG, 0.0)) != NULL) + { + status |= _cupsRasterExecPS(h, &preferred_bits, code); + free(code); + } + + if ((code = ppdEmitString(ppd, PPD_ORDER_PAGE, 0.0)) != NULL) + { + status |= _cupsRasterExecPS(h, &preferred_bits, code); + free(code); + } + } + + /* + * Allow option override for page scaling... + */ + + if ((val = cupsGetOption("cupsBorderlessScalingFactor", num_options, + options)) != NULL) + { + double sc = atof(val); /* Scale factor */ + + if (sc >= 0.1 && sc <= 2.0) + h->cupsBorderlessScalingFactor = (float)sc; + } + + /* + * Get the margins for the current size... + */ + + if ((size = ppdPageSize(ppd, NULL)) != NULL) + { + /* + * Use the margins from the PPD file... + */ + + left = size->left; + bottom = size->bottom; + right = size->right; + top = size->top; + + strlcpy(h->cupsPageSizeName, size->name, sizeof(h->cupsPageSizeName)); + + h->cupsPageSize[0] = size->width; + h->cupsPageSize[1] = size->length; + } + else + { + /* + * Use the default margins... + */ + + left = 0.0f; + bottom = 0.0f; + right = 612.0f; + top = 792.0f; + } + + /* + * Handle orientation... + */ + + switch (h->Orientation) + { + case CUPS_ORIENT_0 : + default : + /* Do nothing */ + break; + + case CUPS_ORIENT_90 : + temp1 = h->cupsPageSize[0]; + h->cupsPageSize[0] = h->cupsPageSize[1]; + h->cupsPageSize[1] = temp1; + + temp1 = left; + temp2 = right; + left = h->cupsPageSize[0] - top; + right = h->cupsPageSize[0] - bottom; + bottom = h->cupsPageSize[1] - temp1; + top = h->cupsPageSize[1] - temp2; + break; + + case CUPS_ORIENT_180 : + temp1 = left; + temp2 = bottom; + left = h->cupsPageSize[0] - right; + right = h->cupsPageSize[0] - temp1; + bottom = h->cupsPageSize[1] - top; + top = h->cupsPageSize[1] - temp2; + break; + + case CUPS_ORIENT_270 : + temp1 = h->cupsPageSize[0]; + h->cupsPageSize[0] = h->cupsPageSize[1]; + h->cupsPageSize[1] = temp1; + + temp1 = left; + temp2 = right; + left = bottom; + right = top; + bottom = h->cupsPageSize[1] - temp2; + top = h->cupsPageSize[1] - temp1; + break; + } + + if (left > right) + { + temp1 = left; + left = right; + right = temp1; + } + + if (bottom > top) + { + temp1 = bottom; + bottom = top; + top = temp1; + } + + h->PageSize[0] = (unsigned)(h->cupsPageSize[0] * + h->cupsBorderlessScalingFactor); + h->PageSize[1] = (unsigned)(h->cupsPageSize[1] * + h->cupsBorderlessScalingFactor); + h->Margins[0] = (unsigned)(left * + h->cupsBorderlessScalingFactor); + h->Margins[1] = (unsigned)(bottom * + h->cupsBorderlessScalingFactor); + h->ImagingBoundingBox[0] = (unsigned)(left * + h->cupsBorderlessScalingFactor); + h->ImagingBoundingBox[1] = (unsigned)(bottom * + h->cupsBorderlessScalingFactor); + h->ImagingBoundingBox[2] = (unsigned)(right * + h->cupsBorderlessScalingFactor); + h->ImagingBoundingBox[3] = (unsigned)(top * + h->cupsBorderlessScalingFactor); + h->cupsImagingBBox[0] = (float)left; + h->cupsImagingBBox[1] = (float)bottom; + h->cupsImagingBBox[2] = (float)right; + h->cupsImagingBBox[3] = (float)top; + + /* + * Use the callback to validate the page header... + */ + + if (func && (*func)(h, preferred_bits)) + { + _cupsRasterAddError("Page header callback returned error.\n"); + return (-1); + } + + /* + * Check parameters... + */ + + if (!h->HWResolution[0] || !h->HWResolution[1] || + !h->PageSize[0] || !h->PageSize[1] || + (h->cupsBitsPerColor != 1 && h->cupsBitsPerColor != 2 && + h->cupsBitsPerColor != 4 && h->cupsBitsPerColor != 8 && + h->cupsBitsPerColor != 16) || + h->cupsBorderlessScalingFactor < 0.1 || + h->cupsBorderlessScalingFactor > 2.0) + { + _cupsRasterAddError("Page header uses unsupported values.\n"); + return (-1); + } + + /* + * Compute the bitmap parameters... + */ + + h->cupsWidth = (unsigned)((right - left) * h->cupsBorderlessScalingFactor * + h->HWResolution[0] / 72.0f + 0.5f); + h->cupsHeight = (unsigned)((top - bottom) * h->cupsBorderlessScalingFactor * + h->HWResolution[1] / 72.0f + 0.5f); + + switch (h->cupsColorSpace) + { + case CUPS_CSPACE_W : + case CUPS_CSPACE_K : + case CUPS_CSPACE_WHITE : + case CUPS_CSPACE_GOLD : + case CUPS_CSPACE_SILVER : + case CUPS_CSPACE_SW : + h->cupsNumColors = 1; + h->cupsBitsPerPixel = h->cupsBitsPerColor; + break; + + default : + /* + * Ensure that colorimetric colorspaces use at least 8 bits per + * component... + */ + + if (h->cupsColorSpace >= CUPS_CSPACE_CIEXYZ && + h->cupsBitsPerColor < 8) + h->cupsBitsPerColor = 8; + + /* + * Figure out the number of bits per pixel... + */ + + if (h->cupsColorOrder == CUPS_ORDER_CHUNKED) + { + if (h->cupsBitsPerColor >= 8) + h->cupsBitsPerPixel = h->cupsBitsPerColor * 3; + else + h->cupsBitsPerPixel = h->cupsBitsPerColor * 4; + } + else + h->cupsBitsPerPixel = h->cupsBitsPerColor; + + h->cupsNumColors = 3; + break; + + case CUPS_CSPACE_KCMYcm : + if (h->cupsBitsPerColor == 1) + { + if (h->cupsColorOrder == CUPS_ORDER_CHUNKED) + h->cupsBitsPerPixel = 8; + else + h->cupsBitsPerPixel = 1; + + h->cupsNumColors = 6; + break; + } + + /* + * Fall through to CMYK code... + */ + + case CUPS_CSPACE_RGBA : + case CUPS_CSPACE_RGBW : + case CUPS_CSPACE_CMYK : + case CUPS_CSPACE_YMCK : + case CUPS_CSPACE_KCMY : + case CUPS_CSPACE_GMCK : + case CUPS_CSPACE_GMCS : + if (h->cupsColorOrder == CUPS_ORDER_CHUNKED) + h->cupsBitsPerPixel = h->cupsBitsPerColor * 4; + else + h->cupsBitsPerPixel = h->cupsBitsPerColor; + + h->cupsNumColors = 4; + break; + + case CUPS_CSPACE_DEVICE1 : + case CUPS_CSPACE_DEVICE2 : + case CUPS_CSPACE_DEVICE3 : + case CUPS_CSPACE_DEVICE4 : + case CUPS_CSPACE_DEVICE5 : + case CUPS_CSPACE_DEVICE6 : + case CUPS_CSPACE_DEVICE7 : + case CUPS_CSPACE_DEVICE8 : + case CUPS_CSPACE_DEVICE9 : + case CUPS_CSPACE_DEVICEA : + case CUPS_CSPACE_DEVICEB : + case CUPS_CSPACE_DEVICEC : + case CUPS_CSPACE_DEVICED : + case CUPS_CSPACE_DEVICEE : + case CUPS_CSPACE_DEVICEF : + h->cupsNumColors = h->cupsColorSpace - CUPS_CSPACE_DEVICE1 + 1; + + if (h->cupsColorOrder == CUPS_ORDER_CHUNKED) + h->cupsBitsPerPixel = h->cupsBitsPerColor * h->cupsNumColors; + else + h->cupsBitsPerPixel = h->cupsBitsPerColor; + break; + } + + h->cupsBytesPerLine = (h->cupsBitsPerPixel * h->cupsWidth + 7) / 8; + + if (h->cupsColorOrder == CUPS_ORDER_BANDED) + h->cupsBytesPerLine *= h->cupsNumColors; + + return (status); +} + + +/* + * '_cupsRasterExecPS()' - Execute PostScript code to initialize a page header. + */ + +int /* O - 0 on success, -1 on error */ +_cupsRasterExecPS( + cups_page_header2_t *h, /* O - Page header */ + int *preferred_bits,/* O - Preferred bits per color */ + const char *code) /* I - PS code to execute */ +{ + int error = 0; /* Error condition? */ + _cups_ps_stack_t *st; /* PostScript value stack */ + _cups_ps_obj_t *obj; /* Object from top of stack */ + char *codecopy, /* Copy of code */ + *codeptr; /* Pointer into copy of code */ + + + DEBUG_printf(("_cupsRasterExecPS(h=%p, preferred_bits=%p, code=\"%s\")\n", + h, preferred_bits, code)); + + /* + * Copy the PostScript code and create a stack... + */ + + if ((codecopy = strdup(code)) == NULL) + { + _cupsRasterAddError("Unable to duplicate code string.\n"); + return (-1); + } + + if ((st = new_stack()) == NULL) + { + _cupsRasterAddError("Unable to create stack.\n"); + free(codecopy); + return (-1); + } + + /* + * Parse the PS string until we run out of data... + */ + + codeptr = codecopy; + + while ((obj = scan_ps(st, &codeptr)) != NULL) + { +#ifdef DEBUG + DEBUG_printf(("_cupsRasterExecPS: Stack (%d objects)", st->num_objs)); + DEBUG_object("_cupsRasterExecPS", obj); +#endif /* DEBUG */ + + switch (obj->type) + { + default : + /* Do nothing for regular values */ + break; + + case CUPS_PS_CLEARTOMARK : + pop_stack(st); + + if (cleartomark_stack(st)) + _cupsRasterAddError("cleartomark: Stack underflow.\n"); + +#ifdef DEBUG + DEBUG_puts("1_cupsRasterExecPS: dup"); + DEBUG_stack("_cupsRasterExecPS", st); +#endif /* DEBUG */ + break; + + case CUPS_PS_COPY : + pop_stack(st); + if ((obj = pop_stack(st)) != NULL) + { + copy_stack(st, (int)obj->value.number); + +#ifdef DEBUG + DEBUG_puts("_cupsRasterExecPS: copy"); + DEBUG_stack("_cupsRasterExecPS", st); +#endif /* DEBUG */ + } + break; + + case CUPS_PS_DUP : + pop_stack(st); + copy_stack(st, 1); + +#ifdef DEBUG + DEBUG_puts("_cupsRasterExecPS: dup"); + DEBUG_stack("_cupsRasterExecPS", st); +#endif /* DEBUG */ + break; + + case CUPS_PS_INDEX : + pop_stack(st); + if ((obj = pop_stack(st)) != NULL) + { + index_stack(st, (int)obj->value.number); + +#ifdef DEBUG + DEBUG_puts("_cupsRasterExecPS: index"); + DEBUG_stack("_cupsRasterExecPS", st); +#endif /* DEBUG */ + } + break; + + case CUPS_PS_POP : + pop_stack(st); + pop_stack(st); + +#ifdef DEBUG + DEBUG_puts("_cupsRasterExecPS: pop"); + DEBUG_stack("_cupsRasterExecPS", st); +#endif /* DEBUG */ + break; + + case CUPS_PS_ROLL : + pop_stack(st); + if ((obj = pop_stack(st)) != NULL) + { + int c; /* Count */ + + + c = (int)obj->value.number; + + if ((obj = pop_stack(st)) != NULL) + { + roll_stack(st, (int)obj->value.number, c); + +#ifdef DEBUG + DEBUG_puts("_cupsRasterExecPS: roll"); + DEBUG_stack("_cupsRasterExecPS", st); +#endif /* DEBUG */ + } + } + break; + + case CUPS_PS_SETPAGEDEVICE : + pop_stack(st); + setpagedevice(st, h, preferred_bits); + +#ifdef DEBUG + DEBUG_puts("_cupsRasterExecPS: setpagedevice"); + DEBUG_stack("_cupsRasterExecPS", st); +#endif /* DEBUG */ + break; + + case CUPS_PS_START_PROC : + case CUPS_PS_END_PROC : + case CUPS_PS_STOPPED : + pop_stack(st); + break; + + case CUPS_PS_OTHER : + _cupsRasterAddError("Unknown operator \"%s\".\n", obj->value.other); + error = 1; + DEBUG_printf(("_cupsRasterExecPS: Unknown operator \"%s\".", obj->value.other)); + break; + } + + if (error) + break; + } + + /* + * Cleanup... + */ + + free(codecopy); + + if (st->num_objs > 0) + { + error_stack(st, "Stack not empty:"); + +#ifdef DEBUG + DEBUG_puts("_cupsRasterExecPS: Stack not empty"); + DEBUG_stack("_cupsRasterExecPS", st); +#endif /* DEBUG */ + + delete_stack(st); + + return (-1); + } + + delete_stack(st); + + /* + * Return success... + */ + + return (0); +} + + +/* + * 'cleartomark_stack()' - Clear to the last mark ([) on the stack. + */ + +static int /* O - 0 on success, -1 on error */ +cleartomark_stack(_cups_ps_stack_t *st) /* I - Stack */ +{ + _cups_ps_obj_t *obj; /* Current object on stack */ + + + while ((obj = pop_stack(st)) != NULL) + if (obj->type == CUPS_PS_START_ARRAY) + break; + + return (obj ? 0 : -1); +} + + +/* + * 'copy_stack()' - Copy the top N stack objects. + */ + +static int /* O - 0 on success, -1 on error */ +copy_stack(_cups_ps_stack_t *st, /* I - Stack */ + int c) /* I - Number of objects to copy */ +{ + int n; /* Index */ + + + if (c < 0) + return (-1); + else if (c == 0) + return (0); + + if ((n = st->num_objs - c) < 0) + return (-1); + + while (c > 0) + { + if (!push_stack(st, st->objs + n)) + return (-1); + + n ++; + c --; + } + + return (0); +} + + +/* + * 'delete_stack()' - Free memory used by a stack. + */ + +static void +delete_stack(_cups_ps_stack_t *st) /* I - Stack */ +{ + free(st->objs); + free(st); +} + + +/* + * 'error_object()' - Add an object's value to the current error message. + */ + +static void +error_object(_cups_ps_obj_t *obj) /* I - Object to add */ +{ + switch (obj->type) + { + case CUPS_PS_NAME : + _cupsRasterAddError(" /%s", obj->value.name); + break; + + case CUPS_PS_NUMBER : + _cupsRasterAddError(" %g", obj->value.number); + break; + + case CUPS_PS_STRING : + _cupsRasterAddError(" (%s)", obj->value.string); + break; + + case CUPS_PS_BOOLEAN : + if (obj->value.boolean) + _cupsRasterAddError(" true"); + else + _cupsRasterAddError(" false"); + break; + + case CUPS_PS_NULL : + _cupsRasterAddError(" null"); + break; + + case CUPS_PS_START_ARRAY : + _cupsRasterAddError(" ["); + break; + + case CUPS_PS_END_ARRAY : + _cupsRasterAddError(" ]"); + break; + + case CUPS_PS_START_DICT : + _cupsRasterAddError(" <<"); + break; + + case CUPS_PS_END_DICT : + _cupsRasterAddError(" >>"); + break; + + case CUPS_PS_START_PROC : + _cupsRasterAddError(" {"); + break; + + case CUPS_PS_END_PROC : + _cupsRasterAddError(" }"); + break; + + case CUPS_PS_COPY : + _cupsRasterAddError(" --copy--"); + break; + + case CUPS_PS_CLEARTOMARK : + _cupsRasterAddError(" --cleartomark--"); + break; + + case CUPS_PS_DUP : + _cupsRasterAddError(" --dup--"); + break; + + case CUPS_PS_INDEX : + _cupsRasterAddError(" --index--"); + break; + + case CUPS_PS_POP : + _cupsRasterAddError(" --pop--"); + break; + + case CUPS_PS_ROLL : + _cupsRasterAddError(" --roll--"); + break; + + case CUPS_PS_SETPAGEDEVICE : + _cupsRasterAddError(" --setpagedevice--"); + break; + + case CUPS_PS_STOPPED : + _cupsRasterAddError(" --stopped--"); + break; + + case CUPS_PS_OTHER : + _cupsRasterAddError(" --%s--", obj->value.other); + break; + } +} + + +/* + * 'error_stack()' - Add a stack to the current error message... + */ + +static void +error_stack(_cups_ps_stack_t *st, /* I - Stack */ + const char *title) /* I - Title string */ +{ + int c; /* Looping var */ + _cups_ps_obj_t *obj; /* Current object on stack */ + + + _cupsRasterAddError("%s", title); + + for (obj = st->objs, c = st->num_objs; c > 0; c --, obj ++) + error_object(obj); + + _cupsRasterAddError("\n"); +} + + +/* + * 'index_stack()' - Copy the Nth value on the stack. + */ + +static _cups_ps_obj_t * /* O - New object */ +index_stack(_cups_ps_stack_t *st, /* I - Stack */ + int n) /* I - Object index */ +{ + if (n < 0 || (n = st->num_objs - n - 1) < 0) + return (NULL); + + return (push_stack(st, st->objs + n)); +} + + +/* + * 'new_stack()' - Create a new stack. + */ + +static _cups_ps_stack_t * /* O - New stack */ +new_stack(void) +{ + _cups_ps_stack_t *st; /* New stack */ + + + if ((st = calloc(1, sizeof(_cups_ps_stack_t))) == NULL) + return (NULL); + + st->alloc_objs = 32; + + if ((st->objs = calloc(32, sizeof(_cups_ps_obj_t))) == NULL) + { + free(st); + return (NULL); + } + else + return (st); +} + + +/* + * 'pop_stock()' - Pop the top object off the stack. + */ + +static _cups_ps_obj_t * /* O - Object */ +pop_stack(_cups_ps_stack_t *st) /* I - Stack */ +{ + if (st->num_objs > 0) + { + st->num_objs --; + + return (st->objs + st->num_objs); + } + else + return (NULL); +} + + +/* + * 'push_stack()' - Push an object on the stack. + */ + +static _cups_ps_obj_t * /* O - New object */ +push_stack(_cups_ps_stack_t *st, /* I - Stack */ + _cups_ps_obj_t *obj) /* I - Object */ +{ + _cups_ps_obj_t *temp; /* New object */ + + + if (st->num_objs >= st->alloc_objs) + { + + + st->alloc_objs += 32; + + if ((temp = realloc(st->objs, (size_t)st->alloc_objs * + sizeof(_cups_ps_obj_t))) == NULL) + return (NULL); + + st->objs = temp; + memset(temp + st->num_objs, 0, 32 * sizeof(_cups_ps_obj_t)); + } + + temp = st->objs + st->num_objs; + st->num_objs ++; + + memcpy(temp, obj, sizeof(_cups_ps_obj_t)); + + return (temp); +} + + +/* + * 'roll_stack()' - Rotate stack objects. + */ + +static int /* O - 0 on success, -1 on error */ +roll_stack(_cups_ps_stack_t *st, /* I - Stack */ + int c, /* I - Number of objects */ + int s) /* I - Amount to shift */ +{ + _cups_ps_obj_t *temp; /* Temporary array of objects */ + int n; /* Index into array */ + + + DEBUG_printf(("3roll_stack(st=%p, s=%d, c=%d)", st, s, c)); + + /* + * Range check input... + */ + + if (c < 0) + return (-1); + else if (c == 0) + return (0); + + if ((n = st->num_objs - c) < 0) + return (-1); + + s %= c; + + if (s == 0) + return (0); + + /* + * Copy N objects and move things around... + */ + + if (s < 0) + { + /* + * Shift down... + */ + + s = -s; + + if ((temp = calloc((size_t)s, sizeof(_cups_ps_obj_t))) == NULL) + return (-1); + + memcpy(temp, st->objs + n, (size_t)s * sizeof(_cups_ps_obj_t)); + memmove(st->objs + n, st->objs + n + s, (size_t)(c - s) * sizeof(_cups_ps_obj_t)); + memcpy(st->objs + n + c - s, temp, (size_t)s * sizeof(_cups_ps_obj_t)); + } + else + { + /* + * Shift up... + */ + + if ((temp = calloc((size_t)s, sizeof(_cups_ps_obj_t))) == NULL) + return (-1); + + memcpy(temp, st->objs + n + c - s, (size_t)s * sizeof(_cups_ps_obj_t)); + memmove(st->objs + n + s, st->objs + n, (size_t)(c - s) * sizeof(_cups_ps_obj_t)); + memcpy(st->objs + n, temp, (size_t)s * sizeof(_cups_ps_obj_t)); + } + + free(temp); + + return (0); +} + + +/* + * 'scan_ps()' - Scan a string for the next PS object. + */ + +static _cups_ps_obj_t * /* O - New object or NULL on EOF */ +scan_ps(_cups_ps_stack_t *st, /* I - Stack */ + char **ptr) /* IO - String pointer */ +{ + _cups_ps_obj_t obj; /* Current object */ + char *start, /* Start of object */ + *cur, /* Current position */ + *valptr, /* Pointer into value string */ + *valend; /* End of value string */ + int parens; /* Parenthesis nesting level */ + + + /* + * Skip leading whitespace... + */ + + for (cur = *ptr; *cur; cur ++) + { + if (*cur == '%') + { + /* + * Comment, skip to end of line... + */ + + for (cur ++; *cur && *cur != '\n' && *cur != '\r'; cur ++); + + if (!*cur) + cur --; + } + else if (!isspace(*cur & 255)) + break; + } + + if (!*cur) + { + *ptr = NULL; + + return (NULL); + } + + /* + * See what we have... + */ + + memset(&obj, 0, sizeof(obj)); + + switch (*cur) + { + case '(' : /* (string) */ + obj.type = CUPS_PS_STRING; + start = cur; + + for (cur ++, parens = 1, valptr = obj.value.string, + valend = obj.value.string + sizeof(obj.value.string) - 1; + *cur; + cur ++) + { + if (*cur == ')' && parens == 1) + break; + + if (*cur == '(') + parens ++; + else if (*cur == ')') + parens --; + + if (valptr >= valend) + { + *ptr = start; + + return (NULL); + } + + if (*cur == '\\') + { + /* + * Decode escaped character... + */ + + cur ++; + + if (*cur == 'b') + *valptr++ = '\b'; + else if (*cur == 'f') + *valptr++ = '\f'; + else if (*cur == 'n') + *valptr++ = '\n'; + else if (*cur == 'r') + *valptr++ = '\r'; + else if (*cur == 't') + *valptr++ = '\t'; + else if (*cur >= '0' && *cur <= '7') + { + int ch = *cur - '0'; + + if (cur[1] >= '0' && cur[1] <= '7') + { + cur ++; + ch = (ch << 3) + *cur - '0'; + } + + if (cur[1] >= '0' && cur[1] <= '7') + { + cur ++; + ch = (ch << 3) + *cur - '0'; + } + + *valptr++ = (char)ch; + } + else if (*cur == '\r') + { + if (cur[1] == '\n') + cur ++; + } + else if (*cur != '\n') + *valptr++ = *cur; + } + else + *valptr++ = *cur; + } + + if (*cur != ')') + { + *ptr = start; + + return (NULL); + } + + cur ++; + break; + + case '[' : /* Start array */ + obj.type = CUPS_PS_START_ARRAY; + cur ++; + break; + + case ']' : /* End array */ + obj.type = CUPS_PS_END_ARRAY; + cur ++; + break; + + case '<' : /* Start dictionary or hex string */ + if (cur[1] == '<') + { + obj.type = CUPS_PS_START_DICT; + cur += 2; + } + else + { + obj.type = CUPS_PS_STRING; + start = cur; + + for (cur ++, valptr = obj.value.string, + valend = obj.value.string + sizeof(obj.value.string) - 1; + *cur; + cur ++) + { + int ch; /* Current character */ + + + + if (*cur == '>') + break; + else if (valptr >= valend || !isxdigit(*cur & 255)) + { + *ptr = start; + return (NULL); + } + + if (*cur >= '0' && *cur <= '9') + ch = (*cur - '0') << 4; + else + ch = (tolower(*cur) - 'a' + 10) << 4; + + if (isxdigit(cur[1] & 255)) + { + cur ++; + + if (*cur >= '0' && *cur <= '9') + ch |= *cur - '0'; + else + ch |= tolower(*cur) - 'a' + 10; + } + + *valptr++ = (char)ch; + } + + if (*cur != '>') + { + *ptr = start; + return (NULL); + } + + cur ++; + } + break; + + case '>' : /* End dictionary? */ + if (cur[1] == '>') + { + obj.type = CUPS_PS_END_DICT; + cur += 2; + } + else + { + obj.type = CUPS_PS_OTHER; + obj.value.other[0] = *cur; + + cur ++; + } + break; + + case '{' : /* Start procedure */ + obj.type = CUPS_PS_START_PROC; + cur ++; + break; + + case '}' : /* End procedure */ + obj.type = CUPS_PS_END_PROC; + cur ++; + break; + + case '-' : /* Possible number */ + case '+' : + if (!isdigit(cur[1] & 255) && cur[1] != '.') + { + obj.type = CUPS_PS_OTHER; + obj.value.other[0] = *cur; + + cur ++; + break; + } + + case '0' : /* Number */ + case '1' : + case '2' : + case '3' : + case '4' : + case '5' : + case '6' : + case '7' : + case '8' : + case '9' : + case '.' : + obj.type = CUPS_PS_NUMBER; + + start = cur; + for (cur ++; *cur; cur ++) + if (!isdigit(*cur & 255)) + break; + + if (*cur == '#') + { + /* + * Integer with radix... + */ + + obj.value.number = strtol(cur + 1, &cur, atoi(start)); + break; + } + else if (strchr(".Ee()<>[]{}/%", *cur) || isspace(*cur & 255)) + { + /* + * Integer or real number... + */ + + obj.value.number = _cupsStrScand(start, &cur, localeconv()); + break; + } + else + cur = start; + + default : /* Operator/variable name */ + start = cur; + + if (*cur == '/') + { + obj.type = CUPS_PS_NAME; + valptr = obj.value.name; + valend = obj.value.name + sizeof(obj.value.name) - 1; + cur ++; + } + else + { + obj.type = CUPS_PS_OTHER; + valptr = obj.value.other; + valend = obj.value.other + sizeof(obj.value.other) - 1; + } + + while (*cur) + { + if (strchr("()<>[]{}/%", *cur) || isspace(*cur & 255)) + break; + else if (valptr < valend) + *valptr++ = *cur++; + else + { + *ptr = start; + return (NULL); + } + } + + if (obj.type == CUPS_PS_OTHER) + { + if (!strcmp(obj.value.other, "true")) + { + obj.type = CUPS_PS_BOOLEAN; + obj.value.boolean = 1; + } + else if (!strcmp(obj.value.other, "false")) + { + obj.type = CUPS_PS_BOOLEAN; + obj.value.boolean = 0; + } + else if (!strcmp(obj.value.other, "null")) + obj.type = CUPS_PS_NULL; + else if (!strcmp(obj.value.other, "cleartomark")) + obj.type = CUPS_PS_CLEARTOMARK; + else if (!strcmp(obj.value.other, "copy")) + obj.type = CUPS_PS_COPY; + else if (!strcmp(obj.value.other, "dup")) + obj.type = CUPS_PS_DUP; + else if (!strcmp(obj.value.other, "index")) + obj.type = CUPS_PS_INDEX; + else if (!strcmp(obj.value.other, "pop")) + obj.type = CUPS_PS_POP; + else if (!strcmp(obj.value.other, "roll")) + obj.type = CUPS_PS_ROLL; + else if (!strcmp(obj.value.other, "setpagedevice")) + obj.type = CUPS_PS_SETPAGEDEVICE; + else if (!strcmp(obj.value.other, "stopped")) + obj.type = CUPS_PS_STOPPED; + } + break; + } + + /* + * Save the current position in the string and return the new object... + */ + + *ptr = cur; + + return (push_stack(st, &obj)); +} + + +/* + * 'setpagedevice()' - Simulate the PostScript setpagedevice operator. + */ + +static int /* O - 0 on success, -1 on error */ +setpagedevice( + _cups_ps_stack_t *st, /* I - Stack */ + cups_page_header2_t *h, /* O - Page header */ + int *preferred_bits)/* O - Preferred bits per color */ +{ + int i; /* Index into array */ + _cups_ps_obj_t *obj, /* Current object */ + *end; /* End of dictionary */ + const char *name; /* Attribute name */ + + + /* + * Make sure we have a dictionary on the stack... + */ + + if (st->num_objs == 0) + return (-1); + + obj = end = st->objs + st->num_objs - 1; + + if (obj->type != CUPS_PS_END_DICT) + return (-1); + + obj --; + + while (obj > st->objs) + { + if (obj->type == CUPS_PS_START_DICT) + break; + + obj --; + } + + if (obj < st->objs) + return (-1); + + /* + * Found the start of the dictionary, empty the stack to this point... + */ + + st->num_objs = (int)(obj - st->objs); + + /* + * Now pull /name and value pairs from the dictionary... + */ + + DEBUG_puts("3setpagedevice: Dictionary:"); + + for (obj ++; obj < end; obj ++) + { + /* + * Grab the name... + */ + + if (obj->type != CUPS_PS_NAME) + return (-1); + + name = obj->value.name; + obj ++; + +#ifdef DEBUG + DEBUG_printf(("4setpagedevice: /%s ", name)); + DEBUG_object("setpagedevice", obj); +#endif /* DEBUG */ + + /* + * Then grab the value... + */ + + if (!strcmp(name, "MediaClass") && obj->type == CUPS_PS_STRING) + strlcpy(h->MediaClass, obj->value.string, sizeof(h->MediaClass)); + else if (!strcmp(name, "MediaColor") && obj->type == CUPS_PS_STRING) + strlcpy(h->MediaColor, obj->value.string, sizeof(h->MediaColor)); + else if (!strcmp(name, "MediaType") && obj->type == CUPS_PS_STRING) + strlcpy(h->MediaType, obj->value.string, sizeof(h->MediaType)); + else if (!strcmp(name, "OutputType") && obj->type == CUPS_PS_STRING) + strlcpy(h->OutputType, obj->value.string, sizeof(h->OutputType)); + else if (!strcmp(name, "AdvanceDistance") && obj->type == CUPS_PS_NUMBER) + h->AdvanceDistance = (unsigned)obj->value.number; + else if (!strcmp(name, "AdvanceMedia") && obj->type == CUPS_PS_NUMBER) + h->AdvanceMedia = (unsigned)obj->value.number; + else if (!strcmp(name, "Collate") && obj->type == CUPS_PS_BOOLEAN) + h->Collate = (unsigned)obj->value.boolean; + else if (!strcmp(name, "CutMedia") && obj->type == CUPS_PS_NUMBER) + h->CutMedia = (cups_cut_t)(unsigned)obj->value.number; + else if (!strcmp(name, "Duplex") && obj->type == CUPS_PS_BOOLEAN) + h->Duplex = (unsigned)obj->value.boolean; + else if (!strcmp(name, "HWResolution") && obj->type == CUPS_PS_START_ARRAY) + { + if (obj[1].type == CUPS_PS_NUMBER && obj[2].type == CUPS_PS_NUMBER && + obj[3].type == CUPS_PS_END_ARRAY) + { + h->HWResolution[0] = (unsigned)obj[1].value.number; + h->HWResolution[1] = (unsigned)obj[2].value.number; + obj += 3; + } + else + return (-1); + } + else if (!strcmp(name, "InsertSheet") && obj->type == CUPS_PS_BOOLEAN) + h->InsertSheet = (unsigned)obj->value.boolean; + else if (!strcmp(name, "Jog") && obj->type == CUPS_PS_NUMBER) + h->Jog = (unsigned)obj->value.number; + else if (!strcmp(name, "LeadingEdge") && obj->type == CUPS_PS_NUMBER) + h->LeadingEdge = (unsigned)obj->value.number; + else if (!strcmp(name, "ManualFeed") && obj->type == CUPS_PS_BOOLEAN) + h->ManualFeed = (unsigned)obj->value.boolean; + else if ((!strcmp(name, "cupsMediaPosition") || + !strcmp(name, "MediaPosition")) && obj->type == CUPS_PS_NUMBER) + { + /* + * cupsMediaPosition is supported for backwards compatibility only. + * We added it back in the Ghostscript 5.50 days to work around a + * bug in Ghostscript WRT handling of MediaPosition and setpagedevice. + * + * All new development should set MediaPosition... + */ + + h->MediaPosition = (unsigned)obj->value.number; + } + else if (!strcmp(name, "MediaWeight") && obj->type == CUPS_PS_NUMBER) + h->MediaWeight = (unsigned)obj->value.number; + else if (!strcmp(name, "MirrorPrint") && obj->type == CUPS_PS_BOOLEAN) + h->MirrorPrint = (unsigned)obj->value.boolean; + else if (!strcmp(name, "NegativePrint") && obj->type == CUPS_PS_BOOLEAN) + h->NegativePrint = (unsigned)obj->value.boolean; + else if (!strcmp(name, "NumCopies") && obj->type == CUPS_PS_NUMBER) + h->NumCopies = (unsigned)obj->value.number; + else if (!strcmp(name, "Orientation") && obj->type == CUPS_PS_NUMBER) + h->Orientation = (unsigned)obj->value.number; + else if (!strcmp(name, "OutputFaceUp") && obj->type == CUPS_PS_BOOLEAN) + h->OutputFaceUp = (unsigned)obj->value.boolean; + else if (!strcmp(name, "PageSize") && obj->type == CUPS_PS_START_ARRAY) + { + if (obj[1].type == CUPS_PS_NUMBER && obj[2].type == CUPS_PS_NUMBER && + obj[3].type == CUPS_PS_END_ARRAY) + { + h->cupsPageSize[0] = (float)obj[1].value.number; + h->cupsPageSize[1] = (float)obj[2].value.number; + + h->PageSize[0] = (unsigned)obj[1].value.number; + h->PageSize[1] = (unsigned)obj[2].value.number; + + obj += 3; + } + else + return (-1); + } + else if (!strcmp(name, "Separations") && obj->type == CUPS_PS_BOOLEAN) + h->Separations = (unsigned)obj->value.boolean; + else if (!strcmp(name, "TraySwitch") && obj->type == CUPS_PS_BOOLEAN) + h->TraySwitch = (unsigned)obj->value.boolean; + else if (!strcmp(name, "Tumble") && obj->type == CUPS_PS_BOOLEAN) + h->Tumble = (unsigned)obj->value.boolean; + else if (!strcmp(name, "cupsMediaType") && obj->type == CUPS_PS_NUMBER) + h->cupsMediaType = (unsigned)obj->value.number; + else if (!strcmp(name, "cupsBitsPerColor") && obj->type == CUPS_PS_NUMBER) + h->cupsBitsPerColor = (unsigned)obj->value.number; + else if (!strcmp(name, "cupsPreferredBitsPerColor") && + obj->type == CUPS_PS_NUMBER) + *preferred_bits = (int)obj->value.number; + else if (!strcmp(name, "cupsColorOrder") && obj->type == CUPS_PS_NUMBER) + h->cupsColorOrder = (cups_order_t)(unsigned)obj->value.number; + else if (!strcmp(name, "cupsColorSpace") && obj->type == CUPS_PS_NUMBER) + h->cupsColorSpace = (cups_cspace_t)(unsigned)obj->value.number; + else if (!strcmp(name, "cupsCompression") && obj->type == CUPS_PS_NUMBER) + h->cupsCompression = (unsigned)obj->value.number; + else if (!strcmp(name, "cupsRowCount") && obj->type == CUPS_PS_NUMBER) + h->cupsRowCount = (unsigned)obj->value.number; + else if (!strcmp(name, "cupsRowFeed") && obj->type == CUPS_PS_NUMBER) + h->cupsRowFeed = (unsigned)obj->value.number; + else if (!strcmp(name, "cupsRowStep") && obj->type == CUPS_PS_NUMBER) + h->cupsRowStep = (unsigned)obj->value.number; + else if (!strcmp(name, "cupsBorderlessScalingFactor") && + obj->type == CUPS_PS_NUMBER) + h->cupsBorderlessScalingFactor = (float)obj->value.number; + else if (!strncmp(name, "cupsInteger", 11) && obj->type == CUPS_PS_NUMBER) + { + if ((i = atoi(name + 11)) < 0 || i > 15) + return (-1); + + h->cupsInteger[i] = (unsigned)obj->value.number; + } + else if (!strncmp(name, "cupsReal", 8) && obj->type == CUPS_PS_NUMBER) + { + if ((i = atoi(name + 8)) < 0 || i > 15) + return (-1); + + h->cupsReal[i] = (float)obj->value.number; + } + else if (!strncmp(name, "cupsString", 10) && obj->type == CUPS_PS_STRING) + { + if ((i = atoi(name + 10)) < 0 || i > 15) + return (-1); + + strlcpy(h->cupsString[i], obj->value.string, sizeof(h->cupsString[i])); + } + else if (!strcmp(name, "cupsMarkerType") && obj->type == CUPS_PS_STRING) + strlcpy(h->cupsMarkerType, obj->value.string, sizeof(h->cupsMarkerType)); + else if (!strcmp(name, "cupsPageSizeName") && obj->type == CUPS_PS_STRING) + strlcpy(h->cupsPageSizeName, obj->value.string, + sizeof(h->cupsPageSizeName)); + else if (!strcmp(name, "cupsRenderingIntent") && + obj->type == CUPS_PS_STRING) + strlcpy(h->cupsRenderingIntent, obj->value.string, + sizeof(h->cupsRenderingIntent)); + else + { + /* + * Ignore unknown name+value... + */ + + DEBUG_printf(("4setpagedevice: Unknown name (\"%s\") or value...\n", name)); + + while (obj[1].type != CUPS_PS_NAME && obj < end) + obj ++; + } + } + + return (0); +} + + +#ifdef DEBUG +/* + * 'DEBUG_object()' - Print an object's value... + */ + +static void +DEBUG_object(const char *prefix, /* I - Prefix string */ + _cups_ps_obj_t *obj) /* I - Object to print */ +{ + switch (obj->type) + { + case CUPS_PS_NAME : + DEBUG_printf(("4%s: /%s\n", prefix, obj->value.name)); + break; + + case CUPS_PS_NUMBER : + DEBUG_printf(("4%s: %g\n", prefix, obj->value.number)); + break; + + case CUPS_PS_STRING : + DEBUG_printf(("4%s: (%s)\n", prefix, obj->value.string)); + break; + + case CUPS_PS_BOOLEAN : + if (obj->value.boolean) + DEBUG_printf(("4%s: true", prefix)); + else + DEBUG_printf(("4%s: false", prefix)); + break; + + case CUPS_PS_NULL : + DEBUG_printf(("4%s: null", prefix)); + break; + + case CUPS_PS_START_ARRAY : + DEBUG_printf(("4%s: [", prefix)); + break; + + case CUPS_PS_END_ARRAY : + DEBUG_printf(("4%s: ]", prefix)); + break; + + case CUPS_PS_START_DICT : + DEBUG_printf(("4%s: <<", prefix)); + break; + + case CUPS_PS_END_DICT : + DEBUG_printf(("4%s: >>", prefix)); + break; + + case CUPS_PS_START_PROC : + DEBUG_printf(("4%s: {", prefix)); + break; + + case CUPS_PS_END_PROC : + DEBUG_printf(("4%s: }", prefix)); + break; + + case CUPS_PS_CLEARTOMARK : + DEBUG_printf(("4%s: --cleartomark--", prefix)); + break; + + case CUPS_PS_COPY : + DEBUG_printf(("4%s: --copy--", prefix)); + break; + + case CUPS_PS_DUP : + DEBUG_printf(("4%s: --dup--", prefix)); + break; + + case CUPS_PS_INDEX : + DEBUG_printf(("4%s: --index--", prefix)); + break; + + case CUPS_PS_POP : + DEBUG_printf(("4%s: --pop--", prefix)); + break; + + case CUPS_PS_ROLL : + DEBUG_printf(("4%s: --roll--", prefix)); + break; + + case CUPS_PS_SETPAGEDEVICE : + DEBUG_printf(("4%s: --setpagedevice--", prefix)); + break; + + case CUPS_PS_STOPPED : + DEBUG_printf(("4%s: --stopped--", prefix)); + break; + + case CUPS_PS_OTHER : + DEBUG_printf(("4%s: --%s--", prefix, obj->value.other)); + break; + } +} + + +/* + * 'DEBUG_stack()' - Print a stack... + */ + +static void +DEBUG_stack(const char *prefix, /* I - Prefix string */ + _cups_ps_stack_t *st) /* I - Stack */ +{ + int c; /* Looping var */ + _cups_ps_obj_t *obj; /* Current object on stack */ + + + for (obj = st->objs, c = st->num_objs; c > 0; c --, obj ++) + DEBUG_object(prefix, obj); +} +#endif /* DEBUG */ diff --git a/cups/raster-interstub.c b/cups/raster-interstub.c new file mode 100644 index 0000000..8355d22 --- /dev/null +++ b/cups/raster-interstub.c @@ -0,0 +1,63 @@ +/* + * cupsRasterInterpretPPD stub for CUPS. + * + * Copyright © 2018 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include + + +/* + * This stub wraps the _cupsRasterInterpretPPD function in libcups - this allows + * one library to provide all of the CUPS API functions while still supporting + * the old split library organization... + */ + + +/* + * 'cupsRasterInterpretPPD()' - Interpret PPD commands to create a page header. + * + * This function is used by raster image processing (RIP) filters like + * cgpdftoraster and imagetoraster when writing CUPS raster data for a page. + * It is not used by raster printer driver filters which only read CUPS + * raster data. + * + * + * @code cupsRasterInterpretPPD@ does not mark the options in the PPD using + * the "num_options" and "options" arguments. Instead, mark the options with + * @code cupsMarkOptions@ and @code ppdMarkOption@ prior to calling it - + * this allows for per-page options without manipulating the options array. + * + * The "func" argument specifies an optional callback function that is + * called prior to the computation of the final raster data. The function + * can make changes to the @link cups_page_header2_t@ data as needed to use a + * supported raster format and then returns 0 on success and -1 if the + * requested attributes cannot be supported. + * + * + * @code cupsRasterInterpretPPD@ supports a subset of the PostScript language. + * Currently only the @code [@, @code ]@, @code <<@, @code >>@, @code {@, + * @code }@, @code cleartomark@, @code copy@, @code dup@, @code index@, + * @code pop@, @code roll@, @code setpagedevice@, and @code stopped@ operators + * are supported. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +int /* O - 0 on success, -1 on failure */ +cupsRasterInterpretPPD( + cups_page_header2_t *h, /* O - Page header to create */ + ppd_file_t *ppd, /* I - PPD file */ + int num_options, /* I - Number of options */ + cups_option_t *options, /* I - Options */ + cups_interpret_cb_t func) /* I - Optional page header callback (@code NULL@ for none) */ +{ + return (_cupsRasterInterpretPPD(h, ppd, num_options, options, func)); +} diff --git a/cups/raster-private.h b/cups/raster-private.h new file mode 100644 index 0000000..4b03dbc --- /dev/null +++ b/cups/raster-private.h @@ -0,0 +1,101 @@ +/* + * Private image library definitions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1993-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_RASTER_PRIVATE_H_ +# define _CUPS_RASTER_PRIVATE_H_ + +/* + * Include necessary headers... + */ + +# include "raster.h" +# include +# include +# include +# ifdef _WIN32 +# include +# include /* for htonl() definition */ +# else +# include +# include +# endif /* _WIN32 */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Structure... + */ + +struct _cups_raster_s /**** Raster stream data ****/ +{ + unsigned sync; /* Sync word from start of stream */ + void *ctx; /* File descriptor */ + cups_raster_iocb_t iocb; /* IO callback */ + cups_mode_t mode; /* Read/write mode */ + cups_page_header2_t header; /* Raster header for current page */ + unsigned rowheight, /* Row height in lines */ + count, /* Current row run-length count */ + remaining, /* Remaining rows in page image */ + bpp; /* Bytes per pixel/color */ + unsigned char *pixels, /* Pixels for current row */ + *pend, /* End of pixel buffer */ + *pcurrent; /* Current byte in pixel buffer */ + int compressed, /* Non-zero if data is compressed */ + swapped; /* Non-zero if data is byte-swapped */ + unsigned char *buffer, /* Read/write buffer */ + *bufptr, /* Current (read) position in buffer */ + *bufend; /* End of current (read) buffer */ + size_t bufsize; /* Buffer size */ +# ifdef DEBUG + size_t iostart, /* Start of read/write buffer */ + iocount; /* Number of bytes read/written */ +# endif /* DEBUG */ + unsigned apple_page_count;/* Apple raster page count */ +}; + + +#if 0 +/* + * min/max macros... + */ + +# ifndef max +# define max(a,b) ((a) > (b) ? (a) : (b)) +# endif /* !max */ +# ifndef min +# define min(a,b) ((a) < (b) ? (a) : (b)) +# endif /* !min */ +#endif // 0 + + +/* + * Prototypes... + */ + +extern void _cupsRasterAddError(const char *f, ...) _CUPS_FORMAT(1,2) _CUPS_PRIVATE; +extern void _cupsRasterClearError(void) _CUPS_PRIVATE; +extern const char *_cupsRasterColorSpaceString(cups_cspace_t cspace) _CUPS_PRIVATE; +extern void _cupsRasterDelete(cups_raster_t *r) _CUPS_PRIVATE; +extern const char *_cupsRasterErrorString(void) _CUPS_PRIVATE; +extern int _cupsRasterInitPWGHeader(cups_page_header2_t *h, pwg_media_t *media, const char *type, int xdpi, int ydpi, const char *sides, const char *sheet_back) _CUPS_PRIVATE; +extern cups_raster_t *_cupsRasterNew(cups_raster_iocb_t iocb, void *ctx, cups_mode_t mode) _CUPS_PRIVATE; +extern unsigned _cupsRasterReadHeader(cups_raster_t *r) _CUPS_PRIVATE; +extern unsigned _cupsRasterReadPixels(cups_raster_t *r, unsigned char *p, unsigned len) _CUPS_PRIVATE; +extern unsigned _cupsRasterWriteHeader(cups_raster_t *r) _CUPS_PRIVATE; +extern unsigned _cupsRasterWritePixels(cups_raster_t *r, unsigned char *p, unsigned len) _CUPS_PRIVATE; + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_RASTER_PRIVATE_H_ */ diff --git a/cups/raster-stream.c b/cups/raster-stream.c new file mode 100644 index 0000000..1459817 --- /dev/null +++ b/cups/raster-stream.c @@ -0,0 +1,1873 @@ +/* + * Raster file routines for CUPS. + * + * Copyright 2007-2019 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * This file is part of the CUPS Imaging library. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "raster-private.h" +#include "debug-internal.h" +#ifdef HAVE_STDINT_H +# include +#endif /* HAVE_STDINT_H */ + + +/* + * Private structures... + */ + +typedef void (*_cups_copyfunc_t)(void *dst, const void *src, size_t bytes); + + +/* + * Local globals... + */ + +static const char * const apple_media_types[] = +{ /* media-type values for Apple Raster */ + "auto", + "stationery", + "transparency", + "envelope", + "cardstock", + "labels", + "stationery-letterhead", + "disc", + "photographic-matte", + "photographic-satin", + "photographic-semi-gloss", + "photographic-glossy", + "photographic-high-gloss", + "other" +}; + +#ifdef DEBUG +static const char * const cups_modes[] = +{ /* Open modes */ + "CUPS_RASTER_READ", + "CUPS_RASTER_WRITE", + "CUPS_RASTER_WRITE_COMPRESSED", + "CUPS_RASTER_WRITE_PWG", + "CUPS_RASTER_WRITE_APPLE" +}; +#endif /* DEBUG */ + + +/* + * Local functions... + */ + +static ssize_t cups_raster_io(cups_raster_t *r, unsigned char *buf, size_t bytes); +static ssize_t cups_raster_read(cups_raster_t *r, unsigned char *buf, size_t bytes); +static int cups_raster_update(cups_raster_t *r); +static ssize_t cups_raster_write(cups_raster_t *r, const unsigned char *pixels); +static void cups_swap(unsigned char *buf, size_t bytes); +static void cups_swap_copy(unsigned char *dst, const unsigned char *src, size_t bytes); + + +/* + * '_cupsRasterColorSpaceString()' - Return the colorspace name for a + * cupsColorSpace value. + */ + +const char * +_cupsRasterColorSpaceString( + cups_cspace_t cspace) /* I - cupsColorSpace value */ +{ + static const char * const cups_color_spaces[] = + { /* Color spaces */ + "W", + "RGB", + "RGBA", + "K", + "CMY", + "YMC", + "CMYK", + "YMCK", + "KCMY", + "KCMYcm", + "GMCK", + "GMCS", + "WHITE", + "GOLD", + "SILVER", + "CIEXYZ", + "CIELab", + "RGBW", + "SW", + "SRGB", + "ADOBERGB", + "21", + "22", + "23", + "24", + "25", + "26", + "27", + "28", + "29", + "30", + "31", + "ICC1", + "ICC2", + "ICC3", + "ICC4", + "ICC5", + "ICC6", + "ICC7", + "ICC8", + "ICC9", + "ICCA", + "ICCB", + "ICCC", + "ICCD", + "ICCE", + "ICCF", + "47", + "DEVICE1", + "DEVICE2", + "DEVICE3", + "DEVICE4", + "DEVICE5", + "DEVICE6", + "DEVICE7", + "DEVICE8", + "DEVICE9", + "DEVICEA", + "DEVICEB", + "DEVICEC", + "DEVICED", + "DEVICEE", + "DEVICEF" + }; + + if (cspace < CUPS_CSPACE_W || cspace > CUPS_CSPACE_DEVICEF) + return ("Unknown"); + else + return (cups_color_spaces[cspace]); +} + + +/* + * '_cupsRasterDelete()' - Free a raster stream. + * + * The file descriptor associated with the raster stream must be closed + * separately as needed. + */ + +void +_cupsRasterDelete(cups_raster_t *r) /* I - Stream to free */ +{ + if (r != NULL) + { + if (r->buffer) + free(r->buffer); + + if (r->pixels) + free(r->pixels); + + free(r); + } +} + + +/* + * '_cupsRasterInitPWGHeader()' - Initialize a page header for PWG Raster output. + * + * The "media" argument specifies the media to use. + * + * The "type" argument specifies a "pwg-raster-document-type-supported" value + * that controls the color space and bit depth of the raster data. + * + * The "xres" and "yres" arguments specify the raster resolution in dots per + * inch. + * + * The "sheet_back" argument specifies a "pwg-raster-document-sheet-back" value + * to apply for the back side of a page. Pass @code NULL@ for the front side. + * + * @since CUPS 2.2/macOS 10.12@ + */ + +int /* O - 1 on success, 0 on failure */ +_cupsRasterInitPWGHeader( + cups_page_header2_t *h, /* I - Page header */ + pwg_media_t *media, /* I - PWG media information */ + const char *type, /* I - PWG raster type string */ + int xdpi, /* I - Cross-feed direction (horizontal) resolution */ + int ydpi, /* I - Feed direction (vertical) resolution */ + const char *sides, /* I - IPP "sides" option value */ + const char *sheet_back) /* I - Transform for back side or @code NULL@ for none */ +{ + if (!h || !media || !type || xdpi <= 0 || ydpi <= 0) + { + _cupsRasterAddError("%s", strerror(EINVAL)); + return (0); + } + + /* + * Initialize the page header... + */ + + memset(h, 0, sizeof(cups_page_header2_t)); + + strlcpy(h->cupsPageSizeName, media->pwg, sizeof(h->cupsPageSizeName)); + + h->PageSize[0] = (unsigned)(72 * media->width / 2540); + h->PageSize[1] = (unsigned)(72 * media->length / 2540); + + /* This never gets written but is needed for some applications */ + h->cupsPageSize[0] = 72.0f * media->width / 2540.0f; + h->cupsPageSize[1] = 72.0f * media->length / 2540.0f; + + h->ImagingBoundingBox[2] = h->PageSize[0]; + h->ImagingBoundingBox[3] = h->PageSize[1]; + + h->HWResolution[0] = (unsigned)xdpi; + h->HWResolution[1] = (unsigned)ydpi; + + h->cupsWidth = (unsigned)(media->width * xdpi / 2540); + h->cupsHeight = (unsigned)(media->length * ydpi / 2540); + + if (h->cupsWidth > 0x00ffffff || h->cupsHeight > 0x00ffffff) + { + _cupsRasterAddError("Raster dimensions too large."); + return (0); + } + + h->cupsInteger[CUPS_RASTER_PWG_ImageBoxRight] = h->cupsWidth; + h->cupsInteger[CUPS_RASTER_PWG_ImageBoxBottom] = h->cupsHeight; + + /* + * Colorspace and bytes per line... + */ + + if (!strcmp(type, "adobe-rgb_8")) + { + h->cupsBitsPerColor = 8; + h->cupsBitsPerPixel = 24; + h->cupsColorSpace = CUPS_CSPACE_ADOBERGB; + } + else if (!strcmp(type, "adobe-rgb_16")) + { + h->cupsBitsPerColor = 16; + h->cupsBitsPerPixel = 48; + h->cupsColorSpace = CUPS_CSPACE_ADOBERGB; + } + else if (!strcmp(type, "black_1")) + { + h->cupsBitsPerColor = 1; + h->cupsBitsPerPixel = 1; + h->cupsColorSpace = CUPS_CSPACE_K; + } + else if (!strcmp(type, "black_8")) + { + h->cupsBitsPerColor = 8; + h->cupsBitsPerPixel = 8; + h->cupsColorSpace = CUPS_CSPACE_K; + } + else if (!strcmp(type, "black_16")) + { + h->cupsBitsPerColor = 16; + h->cupsBitsPerPixel = 16; + h->cupsColorSpace = CUPS_CSPACE_K; + } + else if (!strcmp(type, "cmyk_8")) + { + h->cupsBitsPerColor = 8; + h->cupsBitsPerPixel = 32; + h->cupsColorSpace = CUPS_CSPACE_CMYK; + } + else if (!strcmp(type, "cmyk_16")) + { + h->cupsBitsPerColor = 16; + h->cupsBitsPerPixel = 64; + h->cupsColorSpace = CUPS_CSPACE_CMYK; + } + else if (!strncmp(type, "device", 6) && type[6] >= '1' && type[6] <= '9') + { + int ncolors, bits; /* Number of colors and bits */ + + + if (sscanf(type, "device%d_%d", &ncolors, &bits) != 2 || ncolors > 15 || (bits != 8 && bits != 16)) + { + _cupsRasterAddError("Unsupported raster type \'%s\'.", type); + return (0); + } + + h->cupsBitsPerColor = (unsigned)bits; + h->cupsBitsPerPixel = (unsigned)(ncolors * bits); + h->cupsColorSpace = (cups_cspace_t)(CUPS_CSPACE_DEVICE1 + ncolors - 1); + } + else if (!strcmp(type, "rgb_8")) + { + h->cupsBitsPerColor = 8; + h->cupsBitsPerPixel = 24; + h->cupsColorSpace = CUPS_CSPACE_RGB; + } + else if (!strcmp(type, "rgb_16")) + { + h->cupsBitsPerColor = 16; + h->cupsBitsPerPixel = 48; + h->cupsColorSpace = CUPS_CSPACE_RGB; + } + else if (!strcmp(type, "sgray_1")) + { + h->cupsBitsPerColor = 1; + h->cupsBitsPerPixel = 1; + h->cupsColorSpace = CUPS_CSPACE_SW; + } + else if (!strcmp(type, "sgray_8")) + { + h->cupsBitsPerColor = 8; + h->cupsBitsPerPixel = 8; + h->cupsColorSpace = CUPS_CSPACE_SW; + } + else if (!strcmp(type, "sgray_16")) + { + h->cupsBitsPerColor = 16; + h->cupsBitsPerPixel = 16; + h->cupsColorSpace = CUPS_CSPACE_SW; + } + else if (!strcmp(type, "srgb_8")) + { + h->cupsBitsPerColor = 8; + h->cupsBitsPerPixel = 24; + h->cupsColorSpace = CUPS_CSPACE_SRGB; + } + else if (!strcmp(type, "srgb_16")) + { + h->cupsBitsPerColor = 16; + h->cupsBitsPerPixel = 48; + h->cupsColorSpace = CUPS_CSPACE_SRGB; + } + else + { + _cupsRasterAddError("Unsupported raster type \'%s\'.", type); + return (0); + } + + h->cupsColorOrder = CUPS_ORDER_CHUNKED; + h->cupsNumColors = h->cupsBitsPerPixel / h->cupsBitsPerColor; + h->cupsBytesPerLine = (h->cupsWidth * h->cupsBitsPerPixel + 7) / 8; + + /* + * Duplex support... + */ + + h->cupsInteger[CUPS_RASTER_PWG_CrossFeedTransform] = 1; + h->cupsInteger[CUPS_RASTER_PWG_FeedTransform] = 1; + + if (sides) + { + if (!strcmp(sides, "two-sided-long-edge")) + { + h->Duplex = 1; + } + else if (!strcmp(sides, "two-sided-short-edge")) + { + h->Duplex = 1; + h->Tumble = 1; + } + else if (strcmp(sides, "one-sided")) + { + _cupsRasterAddError("Unsupported sides value \'%s\'.", sides); + return (0); + } + + if (sheet_back) + { + if (!strcmp(sheet_back, "flipped")) + { + if (h->Tumble) + h->cupsInteger[CUPS_RASTER_PWG_CrossFeedTransform] = 0xffffffffU; + else + h->cupsInteger[CUPS_RASTER_PWG_FeedTransform] = 0xffffffffU; + } + else if (!strcmp(sheet_back, "manual-tumble")) + { + if (h->Tumble) + { + h->cupsInteger[CUPS_RASTER_PWG_CrossFeedTransform] = 0xffffffffU; + h->cupsInteger[CUPS_RASTER_PWG_FeedTransform] = 0xffffffffU; + } + } + else if (!strcmp(sheet_back, "rotated")) + { + if (!h->Tumble) + { + h->cupsInteger[CUPS_RASTER_PWG_CrossFeedTransform] = 0xffffffffU; + h->cupsInteger[CUPS_RASTER_PWG_FeedTransform] = 0xffffffffU; + } + } + else if (strcmp(sheet_back, "normal")) + { + _cupsRasterAddError("Unsupported sheet_back value \'%s\'.", sheet_back); + return (0); + } + } + } + + return (1); +} + + +/* + * '_cupsRasterNew()' - Create a raster stream using a callback function. + * + * This function associates a raster stream with the given callback function and + * context pointer. + * + * When writing raster data, the @code CUPS_RASTER_WRITE@, + * @code CUPS_RASTER_WRITE_COMPRESS@, or @code CUPS_RASTER_WRITE_PWG@ mode can + * be used - compressed and PWG output is generally 25-50% smaller but adds a + * 100-300% execution time overhead. + */ + +cups_raster_t * /* O - New stream */ +_cupsRasterNew( + cups_raster_iocb_t iocb, /* I - Read/write callback */ + void *ctx, /* I - Context pointer for callback */ + cups_mode_t mode) /* I - Mode - @code CUPS_RASTER_READ@, + @code CUPS_RASTER_WRITE@, + @code CUPS_RASTER_WRITE_COMPRESSED@, + or @code CUPS_RASTER_WRITE_PWG@ */ +{ + cups_raster_t *r; /* New stream */ + + + DEBUG_printf(("_cupsRasterOpenIO(iocb=%p, ctx=%p, mode=%s)", (void *)iocb, ctx, cups_modes[mode])); + + _cupsRasterClearError(); + + if ((r = calloc(sizeof(cups_raster_t), 1)) == NULL) + { + _cupsRasterAddError("Unable to allocate memory for raster stream: %s\n", + strerror(errno)); + DEBUG_puts("1_cupsRasterOpenIO: Returning NULL."); + return (NULL); + } + + r->ctx = ctx; + r->iocb = iocb; + r->mode = mode; + + if (mode == CUPS_RASTER_READ) + { + /* + * Open for read - get sync word... + */ + + if (cups_raster_io(r, (unsigned char *)&(r->sync), sizeof(r->sync)) != + sizeof(r->sync)) + { + _cupsRasterAddError("Unable to read header from raster stream: %s\n", + strerror(errno)); + free(r); + DEBUG_puts("1_cupsRasterOpenIO: Unable to read header, returning NULL."); + return (NULL); + } + + if (r->sync != CUPS_RASTER_SYNC && + r->sync != CUPS_RASTER_REVSYNC && + r->sync != CUPS_RASTER_SYNCv1 && + r->sync != CUPS_RASTER_REVSYNCv1 && + r->sync != CUPS_RASTER_SYNCv2 && + r->sync != CUPS_RASTER_REVSYNCv2 && + r->sync != CUPS_RASTER_SYNCapple && + r->sync != CUPS_RASTER_REVSYNCapple) + { + _cupsRasterAddError("Unknown raster format %08x!\n", r->sync); + free(r); + DEBUG_puts("1_cupsRasterOpenIO: Unknown format, returning NULL."); + return (NULL); + } + + if (r->sync == CUPS_RASTER_SYNCv2 || + r->sync == CUPS_RASTER_REVSYNCv2 || + r->sync == CUPS_RASTER_SYNCapple || + r->sync == CUPS_RASTER_REVSYNCapple) + r->compressed = 1; + + DEBUG_printf(("1_cupsRasterOpenIO: sync=%08x", r->sync)); + + if (r->sync == CUPS_RASTER_REVSYNC || + r->sync == CUPS_RASTER_REVSYNCv1 || + r->sync == CUPS_RASTER_REVSYNCv2 || + r->sync == CUPS_RASTER_REVSYNCapple) + r->swapped = 1; + + if (r->sync == CUPS_RASTER_SYNCapple || + r->sync == CUPS_RASTER_REVSYNCapple) + { + unsigned char header[8]; /* File header */ + + if (cups_raster_io(r, (unsigned char *)header, sizeof(header)) != + sizeof(header)) + { + _cupsRasterAddError("Unable to read header from raster stream: %s\n", + strerror(errno)); + free(r); + DEBUG_puts("1_cupsRasterOpenIO: Unable to read header, returning NULL."); + return (NULL); + } + } + +#ifdef DEBUG + r->iostart = r->iocount; +#endif /* DEBUG */ + } + else + { + /* + * Open for write - put sync word... + */ + + switch (mode) + { + default : + case CUPS_RASTER_WRITE : + r->sync = CUPS_RASTER_SYNC; + break; + + case CUPS_RASTER_WRITE_COMPRESSED : + r->compressed = 1; + r->sync = CUPS_RASTER_SYNCv2; + break; + + case CUPS_RASTER_WRITE_PWG : + r->compressed = 1; + r->sync = htonl(CUPS_RASTER_SYNC_PWG); + r->swapped = r->sync != CUPS_RASTER_SYNC_PWG; + break; + + case CUPS_RASTER_WRITE_APPLE : + r->compressed = 1; + r->sync = htonl(CUPS_RASTER_SYNCapple); + r->swapped = r->sync != CUPS_RASTER_SYNCapple; + r->apple_page_count = 0xffffffffU; + break; + } + + if (cups_raster_io(r, (unsigned char *)&(r->sync), sizeof(r->sync)) < (ssize_t)sizeof(r->sync)) + { + _cupsRasterAddError("Unable to write raster stream header: %s\n", + strerror(errno)); + free(r); + DEBUG_puts("1_cupsRasterOpenIO: Unable to write header, returning NULL."); + return (NULL); + } + } + + DEBUG_printf(("1_cupsRasterOpenIO: compressed=%d, swapped=%d, returning %p", r->compressed, r->swapped, (void *)r)); + + return (r); +} + + +/* + * '_cupsRasterReadHeader()' - Read a raster page header. + */ + +unsigned /* O - 1 on success, 0 on fail */ +_cupsRasterReadHeader( + cups_raster_t *r) /* I - Raster stream */ +{ + size_t len; /* Length for read/swap */ + + + DEBUG_printf(("3_cupsRasterReadHeader(r=%p), r->mode=%s", (void *)r, r ? cups_modes[r->mode] : "")); + + if (r == NULL || r->mode != CUPS_RASTER_READ) + return (0); + + DEBUG_printf(("4_cupsRasterReadHeader: r->iocount=" CUPS_LLFMT, CUPS_LLCAST r->iocount)); + + memset(&(r->header), 0, sizeof(r->header)); + + /* + * Read the header... + */ + + switch (r->sync) + { + default : + /* + * Get the length of the raster header... + */ + + if (r->sync == CUPS_RASTER_SYNCv1 || r->sync == CUPS_RASTER_REVSYNCv1) + len = sizeof(cups_page_header_t); + else + len = sizeof(cups_page_header2_t); + + DEBUG_printf(("4_cupsRasterReadHeader: len=%d", (int)len)); + + /* + * Read it... + */ + + if (cups_raster_read(r, (unsigned char *)&(r->header), len) < (ssize_t)len) + { + DEBUG_printf(("4_cupsRasterReadHeader: EOF, r->iocount=" CUPS_LLFMT, CUPS_LLCAST r->iocount)); + return (0); + } + + /* + * Swap bytes as needed... + */ + + if (r->swapped) + { + unsigned *s, /* Current word */ + temp; /* Temporary copy */ + + + DEBUG_puts("4_cupsRasterReadHeader: Swapping header bytes."); + + for (len = 81, s = &(r->header.AdvanceDistance); + len > 0; + len --, s ++) + { + temp = *s; + *s = ((temp & 0xff) << 24) | + ((temp & 0xff00) << 8) | + ((temp & 0xff0000) >> 8) | + ((temp & 0xff000000) >> 24); + + DEBUG_printf(("4_cupsRasterReadHeader: %08x => %08x", temp, *s)); + } + } + break; + + case CUPS_RASTER_SYNCapple : + case CUPS_RASTER_REVSYNCapple : + { + unsigned char appleheader[32]; /* Raw header */ + static const unsigned rawcspace[] = + { + CUPS_CSPACE_SW, + CUPS_CSPACE_SRGB, + CUPS_CSPACE_CIELab, + CUPS_CSPACE_ADOBERGB, + CUPS_CSPACE_W, + CUPS_CSPACE_RGB, + CUPS_CSPACE_CMYK + }; + static const unsigned rawnumcolors[] = + { + 1, + 3, + 3, + 3, + 1, + 3, + 4 + }; + + if (cups_raster_read(r, appleheader, sizeof(appleheader)) < (ssize_t)sizeof(appleheader)) + { + DEBUG_printf(("4_cupsRasterReadHeader: EOF, r->iocount=" CUPS_LLFMT, CUPS_LLCAST r->iocount)); + return (0); + } + + strlcpy(r->header.MediaClass, "PwgRaster", sizeof(r->header.MediaClass)); + /* PwgRaster */ + r->header.cupsBitsPerPixel = appleheader[0]; + r->header.cupsColorSpace = appleheader[1] >= (sizeof(rawcspace) / sizeof(rawcspace[0])) ? CUPS_CSPACE_DEVICE1 : rawcspace[appleheader[1]]; + r->header.cupsNumColors = appleheader[1] >= (sizeof(rawnumcolors) / sizeof(rawnumcolors[0])) ? 1 : rawnumcolors[appleheader[1]]; + r->header.cupsBitsPerColor = r->header.cupsBitsPerPixel / r->header.cupsNumColors; + r->header.cupsWidth = ((((((unsigned)appleheader[12] << 8) | (unsigned)appleheader[13]) << 8) | (unsigned)appleheader[14]) << 8) | (unsigned)appleheader[15]; + r->header.cupsHeight = ((((((unsigned)appleheader[16] << 8) | (unsigned)appleheader[17]) << 8) | (unsigned)appleheader[18]) << 8) | (unsigned)appleheader[19]; + r->header.cupsBytesPerLine = r->header.cupsWidth * r->header.cupsBitsPerPixel / 8; + r->header.cupsColorOrder = CUPS_ORDER_CHUNKED; + r->header.HWResolution[0] = r->header.HWResolution[1] = ((((((unsigned)appleheader[20] << 8) | (unsigned)appleheader[21]) << 8) | (unsigned)appleheader[22]) << 8) | (unsigned)appleheader[23]; + + if (r->header.HWResolution[0] > 0) + { + r->header.PageSize[0] = (unsigned)(r->header.cupsWidth * 72 / r->header.HWResolution[0]); + r->header.PageSize[1] = (unsigned)(r->header.cupsHeight * 72 / r->header.HWResolution[1]); + r->header.cupsPageSize[0] = (float)(r->header.cupsWidth * 72.0 / r->header.HWResolution[0]); + r->header.cupsPageSize[1] = (float)(r->header.cupsHeight * 72.0 / r->header.HWResolution[1]); + } + + r->header.cupsInteger[CUPS_RASTER_PWG_TotalPageCount] = r->apple_page_count; + r->header.cupsInteger[CUPS_RASTER_PWG_AlternatePrimary] = 0xffffff; + r->header.cupsInteger[CUPS_RASTER_PWG_PrintQuality] = appleheader[3]; + + if (appleheader[2] >= 2) + r->header.Duplex = 1; + if (appleheader[2] == 2) + r->header.Tumble = 1; + + r->header.MediaPosition = appleheader[5]; + + if (appleheader[4] < (int)(sizeof(apple_media_types) / sizeof(apple_media_types[0]))) + strlcpy(r->header.MediaType, apple_media_types[appleheader[4]], sizeof(r->header.MediaType)); + else + strlcpy(r->header.MediaType, "other", sizeof(r->header.MediaType)); + } + break; + } + + /* + * Update the header and row count... + */ + + if (!cups_raster_update(r)) + return (0); + + DEBUG_printf(("4_cupsRasterReadHeader: cupsColorSpace=%s", _cupsRasterColorSpaceString(r->header.cupsColorSpace))); + DEBUG_printf(("4_cupsRasterReadHeader: cupsBitsPerColor=%u", r->header.cupsBitsPerColor)); + DEBUG_printf(("4_cupsRasterReadHeader: cupsBitsPerPixel=%u", r->header.cupsBitsPerPixel)); + DEBUG_printf(("4_cupsRasterReadHeader: cupsBytesPerLine=%u", r->header.cupsBytesPerLine)); + DEBUG_printf(("4_cupsRasterReadHeader: cupsWidth=%u", r->header.cupsWidth)); + DEBUG_printf(("4_cupsRasterReadHeader: cupsHeight=%u", r->header.cupsHeight)); + DEBUG_printf(("4_cupsRasterReadHeader: r->bpp=%d", r->bpp)); + + return (r->header.cupsBitsPerPixel > 0 && r->header.cupsBitsPerPixel <= 240 && r->header.cupsBitsPerColor > 0 && r->header.cupsBitsPerColor <= 16 && r->header.cupsBytesPerLine > 0 && r->header.cupsBytesPerLine <= 0x7fffffff && r->header.cupsHeight != 0 && (r->header.cupsBytesPerLine % r->bpp) == 0); +} + + +/* + * '_cupsRasterReadPixels()' - Read raster pixels. + * + * For best performance, filters should read one or more whole lines. + * The "cupsBytesPerLine" value from the page header can be used to allocate + * the line buffer and as the number of bytes to read. + */ + +unsigned /* O - Number of bytes read */ +_cupsRasterReadPixels( + cups_raster_t *r, /* I - Raster stream */ + unsigned char *p, /* I - Pointer to pixel buffer */ + unsigned len) /* I - Number of bytes to read */ +{ + ssize_t bytes; /* Bytes read */ + unsigned cupsBytesPerLine; /* cupsBytesPerLine value */ + unsigned remaining; /* Bytes remaining */ + unsigned char *ptr, /* Pointer to read buffer */ + byte, /* Byte from file */ + *temp; /* Pointer into buffer */ + unsigned count; /* Repetition count */ + + + DEBUG_printf(("_cupsRasterReadPixels(r=%p, p=%p, len=%u)", (void *)r, (void *)p, len)); + + if (r == NULL || r->mode != CUPS_RASTER_READ || r->remaining == 0 || + r->header.cupsBytesPerLine == 0) + { + DEBUG_puts("1_cupsRasterReadPixels: Returning 0."); + return (0); + } + + DEBUG_printf(("1_cupsRasterReadPixels: compressed=%d, remaining=%u", r->compressed, r->remaining)); + + if (!r->compressed) + { + /* + * Read without compression... + */ + + r->remaining -= len / r->header.cupsBytesPerLine; + + if (cups_raster_io(r, p, len) < (ssize_t)len) + { + DEBUG_puts("1_cupsRasterReadPixels: Read error, returning 0."); + return (0); + } + + /* + * Swap bytes as needed... + */ + + if (r->swapped && + (r->header.cupsBitsPerColor == 16 || + r->header.cupsBitsPerPixel == 12 || + r->header.cupsBitsPerPixel == 16)) + cups_swap(p, len); + + /* + * Return... + */ + + DEBUG_printf(("1_cupsRasterReadPixels: Returning %u", len)); + + return (len); + } + + /* + * Read compressed data... + */ + + remaining = len; + cupsBytesPerLine = r->header.cupsBytesPerLine; + + while (remaining > 0 && r->remaining > 0) + { + if (r->count == 0) + { + /* + * Need to read a new row... + */ + + if (remaining == cupsBytesPerLine) + ptr = p; + else + ptr = r->pixels; + + /* + * Read using a modified PackBits compression... + */ + + if (!cups_raster_read(r, &byte, 1)) + { + DEBUG_puts("1_cupsRasterReadPixels: Read error, returning 0."); + return (0); + } + + r->count = (unsigned)byte + 1; + + if (r->count > 1) + ptr = r->pixels; + + temp = ptr; + bytes = (ssize_t)cupsBytesPerLine; + + while (bytes > 0) + { + /* + * Get a new repeat count... + */ + + if (!cups_raster_read(r, &byte, 1)) + { + DEBUG_puts("1_cupsRasterReadPixels: Read error, returning 0."); + return (0); + } + + if (byte == 128) + { + /* + * Clear to end of line... + */ + + switch (r->header.cupsColorSpace) + { + case CUPS_CSPACE_W : + case CUPS_CSPACE_RGB : + case CUPS_CSPACE_SW : + case CUPS_CSPACE_SRGB : + case CUPS_CSPACE_RGBW : + case CUPS_CSPACE_ADOBERGB : + memset(temp, 0xff, (size_t)bytes); + break; + default : + memset(temp, 0x00, (size_t)bytes); + break; + } + + temp += bytes; + bytes = 0; + } + else if (byte & 128) + { + /* + * Copy N literal pixels... + */ + + count = (unsigned)(257 - byte) * r->bpp; + + if (count > (unsigned)bytes) + count = (unsigned)bytes; + + if (!cups_raster_read(r, temp, count)) + { + DEBUG_puts("1_cupsRasterReadPixels: Read error, returning 0."); + return (0); + } + + temp += count; + bytes -= (ssize_t)count; + } + else + { + /* + * Repeat the next N bytes... + */ + + count = ((unsigned)byte + 1) * r->bpp; + if (count > (unsigned)bytes) + count = (unsigned)bytes; + + if (count < r->bpp) + break; + + bytes -= (ssize_t)count; + + if (!cups_raster_read(r, temp, r->bpp)) + { + DEBUG_puts("1_cupsRasterReadPixels: Read error, returning 0."); + return (0); + } + + temp += r->bpp; + count -= r->bpp; + + while (count > 0) + { + memcpy(temp, temp - r->bpp, r->bpp); + temp += r->bpp; + count -= r->bpp; + } + } + } + + /* + * Swap bytes as needed... + */ + + if ((r->header.cupsBitsPerColor == 16 || + r->header.cupsBitsPerPixel == 12 || + r->header.cupsBitsPerPixel == 16) && + r->swapped) + { + DEBUG_puts("1_cupsRasterReadPixels: Swapping bytes."); + cups_swap(ptr, (size_t)cupsBytesPerLine); + } + + /* + * Update pointers... + */ + + if (remaining >= cupsBytesPerLine) + { + bytes = (ssize_t)cupsBytesPerLine; + r->pcurrent = r->pixels; + r->count --; + r->remaining --; + } + else + { + bytes = (ssize_t)remaining; + r->pcurrent = r->pixels + bytes; + } + + /* + * Copy data as needed... + */ + + if (ptr != p) + memcpy(p, ptr, (size_t)bytes); + } + else + { + /* + * Copy fragment from buffer... + */ + + if ((unsigned)(bytes = (int)(r->pend - r->pcurrent)) > remaining) + bytes = (ssize_t)remaining; + + memcpy(p, r->pcurrent, (size_t)bytes); + r->pcurrent += bytes; + + if (r->pcurrent >= r->pend) + { + r->pcurrent = r->pixels; + r->count --; + r->remaining --; + } + } + + remaining -= (unsigned)bytes; + p += bytes; + } + + DEBUG_printf(("1_cupsRasterReadPixels: Returning %u", len)); + + return (len); +} + + +/* + * '_cupsRasterWriteHeader()' - Write a raster page header. + */ + +unsigned /* O - 1 on success, 0 on failure */ +_cupsRasterWriteHeader( + cups_raster_t *r) /* I - Raster stream */ +{ + DEBUG_printf(("_cupsRasterWriteHeader(r=%p)", (void *)r)); + + DEBUG_printf(("1_cupsRasterWriteHeader: cupsColorSpace=%s", _cupsRasterColorSpaceString(r->header.cupsColorSpace))); + DEBUG_printf(("1_cupsRasterWriteHeader: cupsBitsPerColor=%u", r->header.cupsBitsPerColor)); + DEBUG_printf(("1_cupsRasterWriteHeader: cupsBitsPerPixel=%u", r->header.cupsBitsPerPixel)); + DEBUG_printf(("1_cupsRasterWriteHeader: cupsBytesPerLine=%u", r->header.cupsBytesPerLine)); + DEBUG_printf(("1_cupsRasterWriteHeader: cupsWidth=%u", r->header.cupsWidth)); + DEBUG_printf(("1_cupsRasterWriteHeader: cupsHeight=%u", r->header.cupsHeight)); + + /* + * Compute the number of raster lines in the page image... + */ + + if (!cups_raster_update(r)) + { + DEBUG_puts("1_cupsRasterWriteHeader: Unable to update parameters, returning 0."); + return (0); + } + + if (r->mode == CUPS_RASTER_WRITE_APPLE) + { + r->rowheight = r->header.HWResolution[0] / r->header.HWResolution[1]; + + if (r->header.HWResolution[0] != (r->rowheight * r->header.HWResolution[1])) + return (0); + } + else + r->rowheight = 1; + + /* + * Write the raster header... + */ + + if (r->mode == CUPS_RASTER_WRITE_PWG) + { + /* + * PWG raster data is always network byte order with much of the page header + * zeroed. + */ + + cups_page_header2_t fh; /* File page header */ + + memset(&fh, 0, sizeof(fh)); + strlcpy(fh.MediaClass, "PwgRaster", sizeof(fh.MediaClass)); + strlcpy(fh.MediaColor, r->header.MediaColor, sizeof(fh.MediaColor)); + strlcpy(fh.MediaType, r->header.MediaType, sizeof(fh.MediaType)); + strlcpy(fh.OutputType, r->header.OutputType, sizeof(fh.OutputType)); + strlcpy(fh.cupsRenderingIntent, r->header.cupsRenderingIntent, + sizeof(fh.cupsRenderingIntent)); + strlcpy(fh.cupsPageSizeName, r->header.cupsPageSizeName, + sizeof(fh.cupsPageSizeName)); + + fh.CutMedia = htonl(r->header.CutMedia); + fh.Duplex = htonl(r->header.Duplex); + fh.HWResolution[0] = htonl(r->header.HWResolution[0]); + fh.HWResolution[1] = htonl(r->header.HWResolution[1]); + fh.ImagingBoundingBox[0] = htonl(r->header.ImagingBoundingBox[0]); + fh.ImagingBoundingBox[1] = htonl(r->header.ImagingBoundingBox[1]); + fh.ImagingBoundingBox[2] = htonl(r->header.ImagingBoundingBox[2]); + fh.ImagingBoundingBox[3] = htonl(r->header.ImagingBoundingBox[3]); + fh.InsertSheet = htonl(r->header.InsertSheet); + fh.Jog = htonl(r->header.Jog); + fh.LeadingEdge = htonl(r->header.LeadingEdge); + fh.ManualFeed = htonl(r->header.ManualFeed); + fh.MediaPosition = htonl(r->header.MediaPosition); + fh.MediaWeight = htonl(r->header.MediaWeight); + fh.NumCopies = htonl(r->header.NumCopies); + fh.Orientation = htonl(r->header.Orientation); + fh.PageSize[0] = htonl(r->header.PageSize[0]); + fh.PageSize[1] = htonl(r->header.PageSize[1]); + fh.Tumble = htonl(r->header.Tumble); + fh.cupsWidth = htonl(r->header.cupsWidth); + fh.cupsHeight = htonl(r->header.cupsHeight); + fh.cupsBitsPerColor = htonl(r->header.cupsBitsPerColor); + fh.cupsBitsPerPixel = htonl(r->header.cupsBitsPerPixel); + fh.cupsBytesPerLine = htonl(r->header.cupsBytesPerLine); + fh.cupsColorOrder = htonl(r->header.cupsColorOrder); + fh.cupsColorSpace = htonl(r->header.cupsColorSpace); + fh.cupsNumColors = htonl(r->header.cupsNumColors); + fh.cupsInteger[0] = htonl(r->header.cupsInteger[0]); + fh.cupsInteger[1] = htonl(r->header.cupsInteger[1]); + fh.cupsInteger[2] = htonl(r->header.cupsInteger[2]); + fh.cupsInteger[3] = htonl((unsigned)(r->header.cupsImagingBBox[0] * r->header.HWResolution[0] / 72.0)); + fh.cupsInteger[4] = htonl((unsigned)(r->header.cupsImagingBBox[1] * r->header.HWResolution[1] / 72.0)); + fh.cupsInteger[5] = htonl((unsigned)(r->header.cupsImagingBBox[2] * r->header.HWResolution[0] / 72.0)); + fh.cupsInteger[6] = htonl((unsigned)(r->header.cupsImagingBBox[3] * r->header.HWResolution[1] / 72.0)); + fh.cupsInteger[7] = htonl(0xffffff); + + return (cups_raster_io(r, (unsigned char *)&fh, sizeof(fh)) == sizeof(fh)); + } + else if (r->mode == CUPS_RASTER_WRITE_APPLE) + { + /* + * Raw raster data is always network byte order with most of the page header + * zeroed. + */ + + int i; /* Looping var */ + unsigned char appleheader[32];/* Raw page header */ + unsigned height = r->header.cupsHeight * r->rowheight; + /* Computed page height */ + + if (r->apple_page_count == 0xffffffffU) + { + /* + * Write raw page count from raster page header... + */ + + r->apple_page_count = r->header.cupsInteger[0]; + + appleheader[0] = 'A'; + appleheader[1] = 'S'; + appleheader[2] = 'T'; + appleheader[3] = 0; + appleheader[4] = (unsigned char)(r->apple_page_count >> 24); + appleheader[5] = (unsigned char)(r->apple_page_count >> 16); + appleheader[6] = (unsigned char)(r->apple_page_count >> 8); + appleheader[7] = (unsigned char)(r->apple_page_count); + + if (cups_raster_io(r, appleheader, 8) != 8) + return (0); + } + + memset(appleheader, 0, sizeof(appleheader)); + + appleheader[0] = (unsigned char)r->header.cupsBitsPerPixel; + appleheader[1] = r->header.cupsColorSpace == CUPS_CSPACE_SRGB ? 1 : + r->header.cupsColorSpace == CUPS_CSPACE_CIELab ? 2 : + r->header.cupsColorSpace == CUPS_CSPACE_ADOBERGB ? 3 : + r->header.cupsColorSpace == CUPS_CSPACE_W ? 4 : + r->header.cupsColorSpace == CUPS_CSPACE_RGB ? 5 : + r->header.cupsColorSpace == CUPS_CSPACE_CMYK ? 6 : 0; + appleheader[2] = r->header.Duplex ? (r->header.Tumble ? 2 : 3) : 1; + appleheader[3] = (unsigned char)(r->header.cupsInteger[CUPS_RASTER_PWG_PrintQuality]); + appleheader[5] = (unsigned char)(r->header.MediaPosition); + appleheader[12] = (unsigned char)(r->header.cupsWidth >> 24); + appleheader[13] = (unsigned char)(r->header.cupsWidth >> 16); + appleheader[14] = (unsigned char)(r->header.cupsWidth >> 8); + appleheader[15] = (unsigned char)(r->header.cupsWidth); + appleheader[16] = (unsigned char)(height >> 24); + appleheader[17] = (unsigned char)(height >> 16); + appleheader[18] = (unsigned char)(height >> 8); + appleheader[19] = (unsigned char)(height); + appleheader[20] = (unsigned char)(r->header.HWResolution[0] >> 24); + appleheader[21] = (unsigned char)(r->header.HWResolution[0] >> 16); + appleheader[22] = (unsigned char)(r->header.HWResolution[0] >> 8); + appleheader[23] = (unsigned char)(r->header.HWResolution[0]); + + for (i = 0; i < (int)(sizeof(apple_media_types) / sizeof(apple_media_types[0])); i ++) + { + if (!strcmp(r->header.MediaType, apple_media_types[i])) + { + appleheader[4] = (unsigned char)i; + break; + } + } + + return (cups_raster_io(r, appleheader, sizeof(appleheader)) == sizeof(appleheader)); + } + else + return (cups_raster_io(r, (unsigned char *)&(r->header), sizeof(r->header)) + == sizeof(r->header)); +} + + +/* + * '_cupsRasterWritePixels()' - Write raster pixels. + * + * For best performance, filters should write one or more whole lines. + * The "cupsBytesPerLine" value from the page header can be used to allocate + * the line buffer and as the number of bytes to write. + */ + +unsigned /* O - Number of bytes written */ +_cupsRasterWritePixels( + cups_raster_t *r, /* I - Raster stream */ + unsigned char *p, /* I - Bytes to write */ + unsigned len) /* I - Number of bytes to write */ +{ + ssize_t bytes; /* Bytes read */ + unsigned remaining; /* Bytes remaining */ + + + DEBUG_printf(("_cupsRasterWritePixels(r=%p, p=%p, len=%u), remaining=%u", (void *)r, (void *)p, len, r->remaining)); + + if (r == NULL || r->mode == CUPS_RASTER_READ || r->remaining == 0) + return (0); + + if (!r->compressed) + { + /* + * Without compression, just write the raster data raw unless the data needs + * to be swapped... + */ + + r->remaining -= len / r->header.cupsBytesPerLine; + + if (r->swapped && + (r->header.cupsBitsPerColor == 16 || + r->header.cupsBitsPerPixel == 12 || + r->header.cupsBitsPerPixel == 16)) + { + unsigned char *bufptr; /* Pointer into write buffer */ + + /* + * Allocate a write buffer as needed... + */ + + if ((size_t)len > r->bufsize) + { + if (r->buffer) + bufptr = realloc(r->buffer, len); + else + bufptr = malloc(len); + + if (!bufptr) + return (0); + + r->buffer = bufptr; + r->bufsize = len; + } + + /* + * Byte swap the pixels and write them... + */ + + cups_swap_copy(r->buffer, p, len); + + bytes = cups_raster_io(r, r->buffer, len); + } + else + bytes = cups_raster_io(r, p, len); + + if (bytes < (ssize_t)len) + return (0); + else + return (len); + } + + /* + * Otherwise, compress each line... + */ + + for (remaining = len; remaining > 0; remaining -= (unsigned)bytes, p += bytes) + { + /* + * Figure out the number of remaining bytes on the current line... + */ + + if ((bytes = (ssize_t)remaining) > (ssize_t)(r->pend - r->pcurrent)) + bytes = (ssize_t)(r->pend - r->pcurrent); + + if (r->count > 0) + { + /* + * Check to see if this line is the same as the previous line... + */ + + if (memcmp(p, r->pcurrent, (size_t)bytes)) + { + if (cups_raster_write(r, r->pixels) <= 0) + return (0); + + r->count = 0; + } + else + { + /* + * Mark more bytes as the same... + */ + + r->pcurrent += bytes; + + if (r->pcurrent >= r->pend) + { + /* + * Increase the repeat count... + */ + + r->count += r->rowheight; + r->pcurrent = r->pixels; + + /* + * Flush out this line if it is the last one... + */ + + r->remaining --; + + if (r->remaining == 0) + { + if (cups_raster_write(r, r->pixels) <= 0) + return (0); + else + return (len); + } + else if (r->count > (256 - r->rowheight)) + { + if (cups_raster_write(r, r->pixels) <= 0) + return (0); + + r->count = 0; + } + } + + continue; + } + } + + if (r->count == 0) + { + /* + * Copy the raster data to the buffer... + */ + + memcpy(r->pcurrent, p, (size_t)bytes); + + r->pcurrent += bytes; + + if (r->pcurrent >= r->pend) + { + /* + * Increase the repeat count... + */ + + r->count += r->rowheight; + r->pcurrent = r->pixels; + + /* + * Flush out this line if it is the last one... + */ + + r->remaining --; + + if (r->remaining == 0) + { + if (cups_raster_write(r, r->pixels) <= 0) + return (0); + } + } + } + } + + return (len); +} + + +/* + * 'cups_raster_io()' - Read/write bytes from a context, handling interruptions. + */ + +static ssize_t /* O - Bytes read/write or -1 */ +cups_raster_io(cups_raster_t *r, /* I - Raster stream */ + unsigned char *buf, /* I - Buffer for read/write */ + size_t bytes) /* I - Number of bytes to read/write */ +{ + ssize_t count, /* Number of bytes read/written */ + total; /* Total bytes read/written */ + + + DEBUG_printf(("5cups_raster_io(r=%p, buf=%p, bytes=" CUPS_LLFMT ")", (void *)r, (void *)buf, CUPS_LLCAST bytes)); + + for (total = 0; total < (ssize_t)bytes; total += count, buf += count) + { + count = (*r->iocb)(r->ctx, buf, bytes - (size_t)total); + + DEBUG_printf(("6cups_raster_io: count=%d, total=%d", (int)count, (int)total)); + if (count == 0) + break; +// { +// DEBUG_puts("6cups_raster_io: Returning 0."); +// return (0); +// } + else if (count < 0) + { + DEBUG_puts("6cups_raster_io: Returning -1 on error."); + return (-1); + } + +#ifdef DEBUG + r->iocount += (size_t)count; +#endif /* DEBUG */ + } + + DEBUG_printf(("6cups_raster_io: iocount=" CUPS_LLFMT, CUPS_LLCAST r->iocount)); + DEBUG_printf(("6cups_raster_io: Returning " CUPS_LLFMT ".", CUPS_LLCAST total)); + + return (total); +} + + +/* + * 'cups_raster_read()' - Read through the raster buffer. + */ + +static ssize_t /* O - Number of bytes read */ +cups_raster_read(cups_raster_t *r, /* I - Raster stream */ + unsigned char *buf, /* I - Buffer */ + size_t bytes) /* I - Number of bytes to read */ +{ + ssize_t count, /* Number of bytes read */ + remaining, /* Remaining bytes in buffer */ + total; /* Total bytes read */ + + + DEBUG_printf(("4cups_raster_read(r=%p, buf=%p, bytes=" CUPS_LLFMT "), offset=" CUPS_LLFMT, (void *)r, (void *)buf, CUPS_LLCAST bytes, CUPS_LLCAST (r->iostart + r->bufptr - r->buffer))); + + if (!r->compressed) + return (cups_raster_io(r, buf, bytes)); + + /* + * Allocate a read buffer as needed... + */ + + count = (ssize_t)(2 * r->header.cupsBytesPerLine); + if (count < 65536) + count = 65536; + + if ((size_t)count > r->bufsize) + { + ssize_t offset = r->bufptr - r->buffer; + /* Offset to current start of buffer */ + ssize_t end = r->bufend - r->buffer;/* Offset to current end of buffer */ + unsigned char *rptr; /* Pointer in read buffer */ + + if (r->buffer) + rptr = realloc(r->buffer, (size_t)count); + else + rptr = malloc((size_t)count); + + if (!rptr) + return (0); + + r->buffer = rptr; + r->bufptr = rptr + offset; + r->bufend = rptr + end; + r->bufsize = (size_t)count; + } + + /* + * Loop until we have read everything... + */ + + for (total = 0, remaining = (int)(r->bufend - r->bufptr); + total < (ssize_t)bytes; + total += count, buf += count) + { + count = (ssize_t)bytes - total; + + DEBUG_printf(("5cups_raster_read: count=" CUPS_LLFMT ", remaining=" CUPS_LLFMT ", buf=%p, bufptr=%p, bufend=%p", CUPS_LLCAST count, CUPS_LLCAST remaining, (void *)buf, (void *)r->bufptr, (void *)r->bufend)); + + if (remaining == 0) + { + if (count < 16) + { + /* + * Read into the raster buffer and then copy... + */ + +#ifdef DEBUG + r->iostart += (size_t)(r->bufend - r->buffer); +#endif /* DEBUG */ + + remaining = (*r->iocb)(r->ctx, r->buffer, r->bufsize); + if (remaining <= 0) + return (0); + + r->bufptr = r->buffer; + r->bufend = r->buffer + remaining; + +#ifdef DEBUG + r->iocount += (size_t)remaining; +#endif /* DEBUG */ + } + else + { + /* + * Read directly into "buf"... + */ + + count = (*r->iocb)(r->ctx, buf, (size_t)count); + + if (count <= 0) + return (0); + +#ifdef DEBUG + r->iostart += (size_t)count; + r->iocount += (size_t)count; +#endif /* DEBUG */ + + continue; + } + } + + /* + * Copy bytes from raster buffer to "buf"... + */ + + if (count > remaining) + count = remaining; + + if (count == 1) + { + /* + * Copy 1 byte... + */ + + *buf = *(r->bufptr)++; + remaining --; + } + else if (count < 128) + { + /* + * Copy up to 127 bytes without using memcpy(); this is + * faster because it avoids an extra function call and is + * often further optimized by the compiler... + */ + + unsigned char *bufptr; /* Temporary buffer pointer */ + + remaining -= count; + + for (bufptr = r->bufptr; count > 0; count --, total ++) + *buf++ = *bufptr++; + + r->bufptr = bufptr; + } + else + { + /* + * Use memcpy() for a large read... + */ + + memcpy(buf, r->bufptr, (size_t)count); + r->bufptr += count; + remaining -= count; + } + } + + DEBUG_printf(("5cups_raster_read: Returning %ld", (long)total)); + + return (total); +} + + +/* + * 'cups_raster_update()' - Update the raster header and row count for the + * current page. + */ + +static int /* O - 1 on success, 0 on failure */ +cups_raster_update(cups_raster_t *r) /* I - Raster stream */ +{ + if (r->sync == CUPS_RASTER_SYNCv1 || r->sync == CUPS_RASTER_REVSYNCv1 || + r->header.cupsNumColors == 0) + { + /* + * Set the "cupsNumColors" field according to the colorspace... + */ + + switch (r->header.cupsColorSpace) + { + case CUPS_CSPACE_W : + case CUPS_CSPACE_K : + case CUPS_CSPACE_WHITE : + case CUPS_CSPACE_GOLD : + case CUPS_CSPACE_SILVER : + case CUPS_CSPACE_SW : + r->header.cupsNumColors = 1; + break; + + case CUPS_CSPACE_RGB : + case CUPS_CSPACE_CMY : + case CUPS_CSPACE_YMC : + case CUPS_CSPACE_CIEXYZ : + case CUPS_CSPACE_CIELab : + case CUPS_CSPACE_SRGB : + case CUPS_CSPACE_ADOBERGB : + case CUPS_CSPACE_ICC1 : + case CUPS_CSPACE_ICC2 : + case CUPS_CSPACE_ICC3 : + case CUPS_CSPACE_ICC4 : + case CUPS_CSPACE_ICC5 : + case CUPS_CSPACE_ICC6 : + case CUPS_CSPACE_ICC7 : + case CUPS_CSPACE_ICC8 : + case CUPS_CSPACE_ICC9 : + case CUPS_CSPACE_ICCA : + case CUPS_CSPACE_ICCB : + case CUPS_CSPACE_ICCC : + case CUPS_CSPACE_ICCD : + case CUPS_CSPACE_ICCE : + case CUPS_CSPACE_ICCF : + r->header.cupsNumColors = 3; + break; + + case CUPS_CSPACE_RGBA : + case CUPS_CSPACE_RGBW : + case CUPS_CSPACE_CMYK : + case CUPS_CSPACE_YMCK : + case CUPS_CSPACE_KCMY : + case CUPS_CSPACE_GMCK : + case CUPS_CSPACE_GMCS : + r->header.cupsNumColors = 4; + break; + + case CUPS_CSPACE_KCMYcm : + if (r->header.cupsBitsPerPixel < 8) + r->header.cupsNumColors = 6; + else + r->header.cupsNumColors = 4; + break; + + case CUPS_CSPACE_DEVICE1 : + case CUPS_CSPACE_DEVICE2 : + case CUPS_CSPACE_DEVICE3 : + case CUPS_CSPACE_DEVICE4 : + case CUPS_CSPACE_DEVICE5 : + case CUPS_CSPACE_DEVICE6 : + case CUPS_CSPACE_DEVICE7 : + case CUPS_CSPACE_DEVICE8 : + case CUPS_CSPACE_DEVICE9 : + case CUPS_CSPACE_DEVICEA : + case CUPS_CSPACE_DEVICEB : + case CUPS_CSPACE_DEVICEC : + case CUPS_CSPACE_DEVICED : + case CUPS_CSPACE_DEVICEE : + case CUPS_CSPACE_DEVICEF : + r->header.cupsNumColors = r->header.cupsColorSpace - + CUPS_CSPACE_DEVICE1 + 1; + break; + + default : + /* Unknown color space */ + return (0); + } + } + + /* + * Set the number of bytes per pixel/color... + */ + + if (r->header.cupsColorOrder == CUPS_ORDER_CHUNKED) + r->bpp = (r->header.cupsBitsPerPixel + 7) / 8; + else + r->bpp = (r->header.cupsBitsPerColor + 7) / 8; + + if (r->bpp == 0) + r->bpp = 1; + + /* + * Set the number of remaining rows... + */ + + if (r->header.cupsColorOrder == CUPS_ORDER_PLANAR) + r->remaining = r->header.cupsHeight * r->header.cupsNumColors; + else + r->remaining = r->header.cupsHeight; + + /* + * Allocate the compression buffer... + */ + + if (r->compressed) + { + if (r->pixels != NULL) + free(r->pixels); + + if ((r->pixels = calloc(r->header.cupsBytesPerLine, 1)) == NULL) + { + r->pcurrent = NULL; + r->pend = NULL; + r->count = 0; + + return (0); + } + + r->pcurrent = r->pixels; + r->pend = r->pixels + r->header.cupsBytesPerLine; + r->count = 0; + } + + return (1); +} + + +/* + * 'cups_raster_write()' - Write a row of compressed raster data... + */ + +static ssize_t /* O - Number of bytes written */ +cups_raster_write( + cups_raster_t *r, /* I - Raster stream */ + const unsigned char *pixels) /* I - Pixel data to write */ +{ + const unsigned char *start, /* Start of sequence */ + *ptr, /* Current pointer in sequence */ + *pend, /* End of raster buffer */ + *plast; /* Pointer to last pixel */ + unsigned char *wptr; /* Pointer into write buffer */ + unsigned bpp, /* Bytes per pixel */ + count; /* Count */ + _cups_copyfunc_t cf; /* Copy function */ + + + DEBUG_printf(("3cups_raster_write(r=%p, pixels=%p)", (void *)r, (void *)pixels)); + + /* + * Determine whether we need to swap bytes... + */ + + if (r->swapped && (r->header.cupsBitsPerColor == 16 || r->header.cupsBitsPerPixel == 12 || r->header.cupsBitsPerPixel == 16)) + { + DEBUG_puts("4cups_raster_write: Swapping bytes when writing."); + cf = (_cups_copyfunc_t)cups_swap_copy; + } + else + cf = (_cups_copyfunc_t)memcpy; + + /* + * Allocate a write buffer as needed... + */ + + count = r->header.cupsBytesPerLine * 2; + if (count < 65536) + count = 65536; + + if ((size_t)count > r->bufsize) + { + if (r->buffer) + wptr = realloc(r->buffer, count); + else + wptr = malloc(count); + + if (!wptr) + { + DEBUG_printf(("4cups_raster_write: Unable to allocate " CUPS_LLFMT " bytes for raster buffer: %s", CUPS_LLCAST count, strerror(errno))); + return (-1); + } + + r->buffer = wptr; + r->bufsize = count; + } + + /* + * Write the row repeat count... + */ + + bpp = r->bpp; + pend = pixels + r->header.cupsBytesPerLine; + plast = pend - bpp; + wptr = r->buffer; + *wptr++ = (unsigned char)(r->count - 1); + + /* + * Write using a modified PackBits compression... + */ + + for (ptr = pixels; ptr < pend;) + { + start = ptr; + ptr += bpp; + + if (ptr == pend) + { + /* + * Encode a single pixel at the end... + */ + + *wptr++ = 0; + (*cf)(wptr, start, bpp); + wptr += bpp; + } + else if (!memcmp(start, ptr, bpp)) + { + /* + * Encode a sequence of repeating pixels... + */ + + for (count = 2; count < 128 && ptr < plast; count ++, ptr += bpp) + if (memcmp(ptr, ptr + bpp, bpp)) + break; + + *wptr++ = (unsigned char)(count - 1); + (*cf)(wptr, ptr, bpp); + wptr += bpp; + ptr += bpp; + } + else + { + /* + * Encode a sequence of non-repeating pixels... + */ + + for (count = 1; count < 128 && ptr < plast; count ++, ptr += bpp) + if (!memcmp(ptr, ptr + bpp, bpp)) + break; + + if (ptr >= plast && count < 128) + { + count ++; + ptr += bpp; + } + + *wptr++ = (unsigned char)(257 - count); + + count *= bpp; + (*cf)(wptr, start, count); + wptr += count; + } + } + + DEBUG_printf(("4cups_raster_write: Writing " CUPS_LLFMT " bytes.", CUPS_LLCAST (wptr - r->buffer))); + + return (cups_raster_io(r, r->buffer, (size_t)(wptr - r->buffer))); +} + + +/* + * 'cups_swap()' - Swap bytes in raster data... + */ + +static void +cups_swap(unsigned char *buf, /* I - Buffer to swap */ + size_t bytes) /* I - Number of bytes to swap */ +{ + unsigned char even, odd; /* Temporary variables */ + + + bytes /= 2; + + while (bytes > 0) + { + even = buf[0]; + odd = buf[1]; + buf[0] = odd; + buf[1] = even; + + buf += 2; + bytes --; + } +} + + +/* + * 'cups_swap_copy()' - Copy and swap bytes in raster data... + */ + +static void +cups_swap_copy( + unsigned char *dst, /* I - Destination */ + const unsigned char *src, /* I - Source */ + size_t bytes) /* I - Number of bytes to swap */ +{ + bytes /= 2; + + while (bytes > 0) + { + dst[0] = src[1]; + dst[1] = src[0]; + + dst += 2; + src += 2; + bytes --; + } +} diff --git a/cups/raster-stubs.c b/cups/raster-stubs.c new file mode 100644 index 0000000..11e0a14 --- /dev/null +++ b/cups/raster-stubs.c @@ -0,0 +1,355 @@ +/* + * Imaging library stubs for CUPS. + * + * Copyright © 2018 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "raster-private.h" + + +/* + * These stubs wrap the real functions in libcups - this allows one library to + * provide all of the CUPS API functions while still supporting the old split + * library organization... + */ + + +/* + * Local functions... + */ + +static ssize_t cups_read_fd(void *ctx, unsigned char *buf, size_t bytes); +static ssize_t cups_write_fd(void *ctx, unsigned char *buf, size_t bytes); + + + +/* + * 'cupsRasterClose()' - Close a raster stream. + * + * The file descriptor associated with the raster stream must be closed + * separately as needed. + */ + +void +cupsRasterClose(cups_raster_t *r) /* I - Stream to close */ +{ + _cupsRasterDelete(r); +} + + +/* + * 'cupsRasterErrorString()' - Return the last error from a raster function. + * + * If there are no recent errors, `NULL` is returned. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +const char * /* O - Last error or `NULL` */ +cupsRasterErrorString(void) +{ + return (_cupsRasterErrorString()); +} + + +/* + * 'cupsRasterInitPWGHeader()' - Initialize a page header for PWG Raster output. + * + * The "media" argument specifies the media to use. + * + * The "type" argument specifies a "pwg-raster-document-type-supported" value + * that controls the color space and bit depth of the raster data. + * + * The "xres" and "yres" arguments specify the raster resolution in dots per + * inch. + * + * The "sheet_back" argument specifies a "pwg-raster-document-sheet-back" value + * to apply for the back side of a page. Pass @code NULL@ for the front side. + * + * @since CUPS 2.2/macOS 10.12@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsRasterInitPWGHeader( + cups_page_header2_t *h, /* I - Page header */ + pwg_media_t *media, /* I - PWG media information */ + const char *type, /* I - PWG raster type string */ + int xdpi, /* I - Cross-feed direction (horizontal) resolution */ + int ydpi, /* I - Feed direction (vertical) resolution */ + const char *sides, /* I - IPP "sides" option value */ + const char *sheet_back) /* I - Transform for back side or @code NULL@ for none */ +{ + return (_cupsRasterInitPWGHeader(h, media, type, xdpi, ydpi, sides, sheet_back)); +} + + +/* + * 'cupsRasterOpen()' - Open a raster stream using a file descriptor. + * + * This function associates a raster stream with the given file descriptor. + * For most printer driver filters, "fd" will be 0 (stdin). For most raster + * image processor (RIP) filters that generate raster data, "fd" will be 1 + * (stdout). + * + * When writing raster data, the @code CUPS_RASTER_WRITE@, + * @code CUPS_RASTER_WRITE_COMPRESS@, or @code CUPS_RASTER_WRITE_PWG@ mode can + * be used - compressed and PWG output is generally 25-50% smaller but adds a + * 100-300% execution time overhead. + */ + +cups_raster_t * /* O - New stream */ +cupsRasterOpen(int fd, /* I - File descriptor */ + cups_mode_t mode) /* I - Mode - @code CUPS_RASTER_READ@, + @code CUPS_RASTER_WRITE@, + @code CUPS_RASTER_WRITE_COMPRESSED@, + or @code CUPS_RASTER_WRITE_PWG@ */ +{ + if (mode == CUPS_RASTER_READ) + return (_cupsRasterNew(cups_read_fd, (void *)((intptr_t)fd), mode)); + else + return (_cupsRasterNew(cups_write_fd, (void *)((intptr_t)fd), mode)); +} + + +/* + * 'cupsRasterOpenIO()' - Open a raster stream using a callback function. + * + * This function associates a raster stream with the given callback function and + * context pointer. + * + * When writing raster data, the @code CUPS_RASTER_WRITE@, + * @code CUPS_RASTER_WRITE_COMPRESS@, or @code CUPS_RASTER_WRITE_PWG@ mode can + * be used - compressed and PWG output is generally 25-50% smaller but adds a + * 100-300% execution time overhead. + */ + +cups_raster_t * /* O - New stream */ +cupsRasterOpenIO( + cups_raster_iocb_t iocb, /* I - Read/write callback */ + void *ctx, /* I - Context pointer for callback */ + cups_mode_t mode) /* I - Mode - @code CUPS_RASTER_READ@, + @code CUPS_RASTER_WRITE@, + @code CUPS_RASTER_WRITE_COMPRESSED@, + or @code CUPS_RASTER_WRITE_PWG@ */ +{ + return (_cupsRasterNew(iocb, ctx, mode)); +} + + +/* + * 'cupsRasterReadHeader()' - Read a raster page header and store it in a + * version 1 page header structure. + * + * This function is deprecated. Use @link cupsRasterReadHeader2@ instead. + * + * Version 1 page headers were used in CUPS 1.0 and 1.1 and contain a subset + * of the version 2 page header data. This function handles reading version 2 + * page headers and copying only the version 1 data into the provided buffer. + * + * @deprecated@ + */ + +unsigned /* O - 1 on success, 0 on failure/end-of-file */ +cupsRasterReadHeader( + cups_raster_t *r, /* I - Raster stream */ + cups_page_header_t *h) /* I - Pointer to header data */ +{ + /* + * Get the raster header... + */ + + if (!_cupsRasterReadHeader(r)) + { + memset(h, 0, sizeof(cups_page_header_t)); + return (0); + } + + /* + * Copy the header to the user-supplied buffer... + */ + + memcpy(h, &(r->header), sizeof(cups_page_header_t)); + return (1); +} + + +/* + * 'cupsRasterReadHeader2()' - Read a raster page header and store it in a + * version 2 page header structure. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +unsigned /* O - 1 on success, 0 on failure/end-of-file */ +cupsRasterReadHeader2( + cups_raster_t *r, /* I - Raster stream */ + cups_page_header2_t *h) /* I - Pointer to header data */ +{ + /* + * Get the raster header... + */ + + if (!_cupsRasterReadHeader(r)) + { + memset(h, 0, sizeof(cups_page_header2_t)); + return (0); + } + + /* + * Copy the header to the user-supplied buffer... + */ + + memcpy(h, &(r->header), sizeof(cups_page_header2_t)); + return (1); +} + + +/* + * 'cupsRasterReadPixels()' - Read raster pixels. + * + * For best performance, filters should read one or more whole lines. + * The "cupsBytesPerLine" value from the page header can be used to allocate + * the line buffer and as the number of bytes to read. + */ + +unsigned /* O - Number of bytes read */ +cupsRasterReadPixels( + cups_raster_t *r, /* I - Raster stream */ + unsigned char *p, /* I - Pointer to pixel buffer */ + unsigned len) /* I - Number of bytes to read */ +{ + return (_cupsRasterReadPixels(r, p, len)); +} + + +/* + * 'cupsRasterWriteHeader()' - Write a raster page header from a version 1 page + * header structure. + * + * This function is deprecated. Use @link cupsRasterWriteHeader2@ instead. + * + * @deprecated@ + */ + +unsigned /* O - 1 on success, 0 on failure */ +cupsRasterWriteHeader( + cups_raster_t *r, /* I - Raster stream */ + cups_page_header_t *h) /* I - Raster page header */ +{ + if (r == NULL || r->mode == CUPS_RASTER_READ) + return (0); + + /* + * Make a copy of the header and write using the private function... + */ + + memset(&(r->header), 0, sizeof(r->header)); + memcpy(&(r->header), h, sizeof(cups_page_header_t)); + + return (_cupsRasterWriteHeader(r)); +} + + +/* + * 'cupsRasterWriteHeader2()' - Write a raster page header from a version 2 + * page header structure. + * + * The page header can be initialized using @link cupsRasterInitPWGHeader@. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +unsigned /* O - 1 on success, 0 on failure */ +cupsRasterWriteHeader2( + cups_raster_t *r, /* I - Raster stream */ + cups_page_header2_t *h) /* I - Raster page header */ +{ + if (r == NULL || r->mode == CUPS_RASTER_READ) + return (0); + + /* + * Make a copy of the header, and compute the number of raster + * lines in the page image... + */ + + memcpy(&(r->header), h, sizeof(cups_page_header2_t)); + + return (_cupsRasterWriteHeader(r)); +} + + +/* + * 'cupsRasterWritePixels()' - Write raster pixels. + * + * For best performance, filters should write one or more whole lines. + * The "cupsBytesPerLine" value from the page header can be used to allocate + * the line buffer and as the number of bytes to write. + */ + +unsigned /* O - Number of bytes written */ +cupsRasterWritePixels( + cups_raster_t *r, /* I - Raster stream */ + unsigned char *p, /* I - Bytes to write */ + unsigned len) /* I - Number of bytes to write */ +{ + return (_cupsRasterWritePixels(r, p, len)); +} + + +/* + * 'cups_read_fd()' - Read bytes from a file. + */ + +static ssize_t /* O - Bytes read or -1 */ +cups_read_fd(void *ctx, /* I - File descriptor as pointer */ + unsigned char *buf, /* I - Buffer for read */ + size_t bytes) /* I - Maximum number of bytes to read */ +{ + int fd = (int)((intptr_t)ctx); + /* File descriptor */ + ssize_t count; /* Number of bytes read */ + + +#ifdef _WIN32 /* Sigh */ + while ((count = read(fd, buf, (unsigned)bytes)) < 0) +#else + while ((count = read(fd, buf, bytes)) < 0) +#endif /* _WIN32 */ + if (errno != EINTR && errno != EAGAIN) + return (-1); + + return (count); +} + + +/* + * 'cups_write_fd()' - Write bytes to a file. + */ + +static ssize_t /* O - Bytes written or -1 */ +cups_write_fd(void *ctx, /* I - File descriptor pointer */ + unsigned char *buf, /* I - Bytes to write */ + size_t bytes) /* I - Number of bytes to write */ +{ + int fd = (int)((intptr_t)ctx); + /* File descriptor */ + ssize_t count; /* Number of bytes written */ + + +#ifdef _WIN32 /* Sigh */ + while ((count = write(fd, buf, (unsigned)bytes)) < 0) +#else + while ((count = write(fd, buf, bytes)) < 0) +#endif /* _WIN32 */ + if (errno != EINTR && errno != EAGAIN) + return (-1); + + return (count); +} diff --git a/cups/raster.h b/cups/raster.h new file mode 100644 index 0000000..7d98a4e --- /dev/null +++ b/cups/raster.h @@ -0,0 +1,399 @@ +/* + * Raster file definitions for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * This file is part of the CUPS Imaging library. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_RASTER_H_ +# define _CUPS_RASTER_H_ + +/* + * Include necessary headers... + */ + +# include "cups.h" + + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + +/* + * Every non-PostScript printer driver that supports raster images + * should use the application/vnd.cups-raster image file format. + * Since both the PostScript RIP (pstoraster, based on GNU/GPL + * Ghostscript) and Image RIP (imagetoraster, located in the filter + * directory) use it, using this format saves you a lot of work. + * Also, the PostScript RIP passes any printer options that are in + * a PS file to your driver this way as well... + */ + +/* + * Constants... + */ + +# define CUPS_RASTER_SYNC 0x52615333 /* RaS3 */ +# define CUPS_RASTER_REVSYNC 0x33536152 /* 3SaR */ + +# define CUPS_RASTER_SYNCv1 0x52615374 /* RaSt */ +# define CUPS_RASTER_REVSYNCv1 0x74536152 /* tSaR */ + +# define CUPS_RASTER_SYNCv2 0x52615332 /* RaS2 */ +# define CUPS_RASTER_REVSYNCv2 0x32536152 /* 2SaR */ + +# define CUPS_RASTER_SYNCapple 0x554E4952 /* UNIR */ +# define CUPS_RASTER_REVSYNCapple 0x52494E55 /* RINU */ + +# define CUPS_RASTER_SYNC_PWG CUPS_RASTER_SYNCv2 + +/* + * The following definition can be used to determine if the + * colorimetric colorspaces (CIEXYZ, CIELAB, and ICCn) are + * defined... + */ + +# define CUPS_RASTER_HAVE_COLORIMETRIC 1 + +/* + * The following definition can be used to determine if the + * device colorspaces (DEVICEn) are defined... + */ + +# define CUPS_RASTER_HAVE_DEVICE 1 + +/* + * The following definition can be used to determine if PWG Raster is supported. + */ + +# define CUPS_RASTER_HAVE_PWGRASTER 1 + +/* + * The following definition can be used to determine if Apple Raster is + * supported (beta). + */ + +# define CUPS_RASTER_HAVE_APPLERASTER 1 + +/* + * The following PWG 5102.4 definitions specify indices into the + * cupsInteger[] array in the raster header. + */ + +# define CUPS_RASTER_PWG_TotalPageCount 0 +# define CUPS_RASTER_PWG_CrossFeedTransform 1 +# define CUPS_RASTER_PWG_FeedTransform 2 +# define CUPS_RASTER_PWG_ImageBoxLeft 3 +# define CUPS_RASTER_PWG_ImageBoxTop 4 +# define CUPS_RASTER_PWG_ImageBoxRight 5 +# define CUPS_RASTER_PWG_ImageBoxBottom 6 +# define CUPS_RASTER_PWG_AlternatePrimary 7 +# define CUPS_RASTER_PWG_PrintQuality 8 +# define CUPS_RASTER_PWG_VendorIdentifier 14 +# define CUPS_RASTER_PWG_VendorLength 15 + + + + +/* + * Types... + */ + +typedef enum cups_adv_e /**** AdvanceMedia attribute values ****/ +{ + CUPS_ADVANCE_NONE = 0, /* Never advance the roll */ + CUPS_ADVANCE_FILE = 1, /* Advance the roll after this file */ + CUPS_ADVANCE_JOB = 2, /* Advance the roll after this job */ + CUPS_ADVANCE_SET = 3, /* Advance the roll after this set */ + CUPS_ADVANCE_PAGE = 4 /* Advance the roll after this page */ +} cups_adv_t; + +typedef enum cups_bool_e /**** Boolean type ****/ +{ + CUPS_FALSE = 0, /* Logical false */ + CUPS_TRUE = 1 /* Logical true */ +} cups_bool_t; + +typedef enum cups_cspace_e /**** cupsColorSpace attribute values ****/ +{ + CUPS_CSPACE_W = 0, /* Luminance (DeviceGray, gamma 2.2 by default) */ + CUPS_CSPACE_RGB = 1, /* Red, green, blue (DeviceRGB, sRGB by default) */ + CUPS_CSPACE_RGBA = 2, /* Red, green, blue, alpha (DeviceRGB, sRGB by default) */ + CUPS_CSPACE_K = 3, /* Black (DeviceK) */ + CUPS_CSPACE_CMY = 4, /* Cyan, magenta, yellow (DeviceCMY) */ + CUPS_CSPACE_YMC = 5, /* Yellow, magenta, cyan @deprecated@ */ + CUPS_CSPACE_CMYK = 6, /* Cyan, magenta, yellow, black (DeviceCMYK) */ + CUPS_CSPACE_YMCK = 7, /* Yellow, magenta, cyan, black @deprecated@ */ + CUPS_CSPACE_KCMY = 8, /* Black, cyan, magenta, yellow @deprecated@ */ + CUPS_CSPACE_KCMYcm = 9, /* Black, cyan, magenta, yellow, light-cyan, light-magenta @deprecated@ */ + CUPS_CSPACE_GMCK = 10, /* Gold, magenta, yellow, black @deprecated@ */ + CUPS_CSPACE_GMCS = 11, /* Gold, magenta, yellow, silver @deprecated@ */ + CUPS_CSPACE_WHITE = 12, /* White ink (as black) @deprecated@ */ + CUPS_CSPACE_GOLD = 13, /* Gold foil @deprecated@ */ + CUPS_CSPACE_SILVER = 14, /* Silver foil @deprecated@ */ + + CUPS_CSPACE_CIEXYZ = 15, /* CIE XYZ @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_CIELab = 16, /* CIE Lab @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_RGBW = 17, /* Red, green, blue, white (DeviceRGB, sRGB by default) @since CUPS 1.2/macOS 10.5@ */ + CUPS_CSPACE_SW = 18, /* Luminance (gamma 2.2) @since CUPS 1.4.5@ */ + CUPS_CSPACE_SRGB = 19, /* Red, green, blue (sRGB) @since CUPS 1.4.5@ */ + CUPS_CSPACE_ADOBERGB = 20, /* Red, green, blue (Adobe RGB) @since CUPS 1.4.5@ */ + + CUPS_CSPACE_ICC1 = 32, /* ICC-based, 1 color @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICC2 = 33, /* ICC-based, 2 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICC3 = 34, /* ICC-based, 3 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICC4 = 35, /* ICC-based, 4 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICC5 = 36, /* ICC-based, 5 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICC6 = 37, /* ICC-based, 6 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICC7 = 38, /* ICC-based, 7 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICC8 = 39, /* ICC-based, 8 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICC9 = 40, /* ICC-based, 9 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICCA = 41, /* ICC-based, 10 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICCB = 42, /* ICC-based, 11 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICCC = 43, /* ICC-based, 12 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICCD = 44, /* ICC-based, 13 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICCE = 45, /* ICC-based, 14 colors @since CUPS 1.1.19/macOS 10.3@ */ + CUPS_CSPACE_ICCF = 46, /* ICC-based, 15 colors @since CUPS 1.1.19/macOS 10.3@ */ + + CUPS_CSPACE_DEVICE1 = 48, /* DeviceN, 1 color @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICE2 = 49, /* DeviceN, 2 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICE3 = 50, /* DeviceN, 3 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICE4 = 51, /* DeviceN, 4 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICE5 = 52, /* DeviceN, 5 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICE6 = 53, /* DeviceN, 6 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICE7 = 54, /* DeviceN, 7 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICE8 = 55, /* DeviceN, 8 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICE9 = 56, /* DeviceN, 9 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICEA = 57, /* DeviceN, 10 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICEB = 58, /* DeviceN, 11 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICEC = 59, /* DeviceN, 12 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICED = 60, /* DeviceN, 13 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICEE = 61, /* DeviceN, 14 colors @since CUPS 1.4.5@ */ + CUPS_CSPACE_DEVICEF = 62 /* DeviceN, 15 colors @since CUPS 1.4.5@ */ +} cups_cspace_t; + +typedef enum cups_cut_e /**** CutMedia attribute values ****/ +{ + CUPS_CUT_NONE = 0, /* Never cut the roll */ + CUPS_CUT_FILE = 1, /* Cut the roll after this file */ + CUPS_CUT_JOB = 2, /* Cut the roll after this job */ + CUPS_CUT_SET = 3, /* Cut the roll after this set */ + CUPS_CUT_PAGE = 4 /* Cut the roll after this page */ +} cups_cut_t; + +typedef enum cups_edge_e /**** LeadingEdge attribute values ****/ +{ + CUPS_EDGE_TOP = 0, /* Leading edge is the top of the page */ + CUPS_EDGE_RIGHT = 1, /* Leading edge is the right of the page */ + CUPS_EDGE_BOTTOM = 2, /* Leading edge is the bottom of the page */ + CUPS_EDGE_LEFT = 3 /* Leading edge is the left of the page */ +} cups_edge_t; + +typedef enum cups_jog_e /**** Jog attribute values ****/ +{ + CUPS_JOG_NONE = 0, /* Never move pages */ + CUPS_JOG_FILE = 1, /* Move pages after this file */ + CUPS_JOG_JOB = 2, /* Move pages after this job */ + CUPS_JOG_SET = 3 /* Move pages after this set */ +} cups_jog_t; + +enum cups_mode_e /**** cupsRasterOpen modes ****/ +{ + CUPS_RASTER_READ = 0, /* Open stream for reading */ + CUPS_RASTER_WRITE = 1, /* Open stream for writing */ + CUPS_RASTER_WRITE_COMPRESSED = 2, /* Open stream for compressed writing @since CUPS 1.3/macOS 10.5@ */ + CUPS_RASTER_WRITE_PWG = 3, /* Open stream for compressed writing in PWG Raster mode @since CUPS 1.5/macOS 10.7@ */ + CUPS_RASTER_WRITE_APPLE = 4 /* Open stream for compressed writing in AppleRaster mode (beta) @private@ */ +}; + +typedef enum cups_mode_e cups_mode_t; /**** cupsRasterOpen modes ****/ + +typedef enum cups_order_e /**** cupsColorOrder attribute values ****/ +{ + CUPS_ORDER_CHUNKED = 0, /* CMYK CMYK CMYK ... */ + CUPS_ORDER_BANDED = 1, /* CCC MMM YYY KKK ... */ + CUPS_ORDER_PLANAR = 2 /* CCC ... MMM ... YYY ... KKK ... */ +} cups_order_t; + +typedef enum cups_orient_e /**** Orientation attribute values ****/ +{ + CUPS_ORIENT_0 = 0, /* Don't rotate the page */ + CUPS_ORIENT_90 = 1, /* Rotate the page counter-clockwise */ + CUPS_ORIENT_180 = 2, /* Turn the page upside down */ + CUPS_ORIENT_270 = 3 /* Rotate the page clockwise */ +} cups_orient_t; + + +/* + * The page header structure contains the standard PostScript page device + * dictionary, along with some CUPS-specific parameters that are provided + * by the RIPs... + * + * The API supports a "version 1" (from CUPS 1.0 and 1.1) and a "version 2" + * (from CUPS 1.2 and higher) page header, for binary compatibility. + */ + +typedef struct cups_page_header_s /**** Version 1 page header @deprecated@ ****/ +{ + /**** Standard Page Device Dictionary String Values ****/ + char MediaClass[64]; /* MediaClass string */ + char MediaColor[64]; /* MediaColor string */ + char MediaType[64]; /* MediaType string */ + char OutputType[64]; /* OutputType string */ + + /**** Standard Page Device Dictionary Integer Values ****/ + unsigned AdvanceDistance; /* AdvanceDistance value in points */ + cups_adv_t AdvanceMedia; /* AdvanceMedia value (@link cups_adv_t@) */ + cups_bool_t Collate; /* Collated copies value */ + cups_cut_t CutMedia; /* CutMedia value (@link cups_cut_t@) */ + cups_bool_t Duplex; /* Duplexed (double-sided) value */ + unsigned HWResolution[2]; /* Resolution in dots-per-inch */ + unsigned ImagingBoundingBox[4]; /* Pixel region that is painted (points, left, bottom, right, top) */ + cups_bool_t InsertSheet; /* InsertSheet value */ + cups_jog_t Jog; /* Jog value (@link cups_jog_t@) */ + cups_edge_t LeadingEdge; /* LeadingEdge value (@link cups_edge_t@) */ + unsigned Margins[2]; /* Lower-lefthand margins in points */ + cups_bool_t ManualFeed; /* ManualFeed value */ + unsigned MediaPosition; /* MediaPosition value */ + unsigned MediaWeight; /* MediaWeight value in grams/m^2 */ + cups_bool_t MirrorPrint; /* MirrorPrint value */ + cups_bool_t NegativePrint; /* NegativePrint value */ + unsigned NumCopies; /* Number of copies to produce */ + cups_orient_t Orientation; /* Orientation value (@link cups_orient_t@) */ + cups_bool_t OutputFaceUp; /* OutputFaceUp value */ + unsigned PageSize[2]; /* Width and length of page in points */ + cups_bool_t Separations; /* Separations value */ + cups_bool_t TraySwitch; /* TraySwitch value */ + cups_bool_t Tumble; /* Tumble value */ + + /**** CUPS Page Device Dictionary Values ****/ + unsigned cupsWidth; /* Width of page image in pixels */ + unsigned cupsHeight; /* Height of page image in pixels */ + unsigned cupsMediaType; /* Media type code */ + unsigned cupsBitsPerColor; /* Number of bits for each color */ + unsigned cupsBitsPerPixel; /* Number of bits for each pixel */ + unsigned cupsBytesPerLine; /* Number of bytes per line */ + cups_order_t cupsColorOrder; /* Order of colors */ + cups_cspace_t cupsColorSpace; /* True colorspace */ + unsigned cupsCompression; /* Device compression to use */ + unsigned cupsRowCount; /* Rows per band */ + unsigned cupsRowFeed; /* Feed between bands */ + unsigned cupsRowStep; /* Spacing between lines */ +} cups_page_header_t; + +/**** New in CUPS 1.2 ****/ +typedef struct cups_page_header2_s /**** Version 2 page header @since CUPS 1.2/macOS 10.5@ ****/ +{ + /**** Standard Page Device Dictionary String Values ****/ + char MediaClass[64]; /* MediaClass string */ + char MediaColor[64]; /* MediaColor string */ + char MediaType[64]; /* MediaType string */ + char OutputType[64]; /* OutputType string */ + + /**** Standard Page Device Dictionary Integer Values ****/ + unsigned AdvanceDistance; /* AdvanceDistance value in points */ + cups_adv_t AdvanceMedia; /* AdvanceMedia value (@link cups_adv_t@) */ + cups_bool_t Collate; /* Collated copies value */ + cups_cut_t CutMedia; /* CutMedia value (@link cups_cut_t@) */ + cups_bool_t Duplex; /* Duplexed (double-sided) value */ + unsigned HWResolution[2]; /* Resolution in dots-per-inch */ + unsigned ImagingBoundingBox[4]; /* Pixel region that is painted (points, left, bottom, right, top) */ + cups_bool_t InsertSheet; /* InsertSheet value */ + cups_jog_t Jog; /* Jog value (@link cups_jog_t@) */ + cups_edge_t LeadingEdge; /* LeadingEdge value (@link cups_edge_t@) */ + unsigned Margins[2]; /* Lower-lefthand margins in points */ + cups_bool_t ManualFeed; /* ManualFeed value */ + unsigned MediaPosition; /* MediaPosition value */ + unsigned MediaWeight; /* MediaWeight value in grams/m^2 */ + cups_bool_t MirrorPrint; /* MirrorPrint value */ + cups_bool_t NegativePrint; /* NegativePrint value */ + unsigned NumCopies; /* Number of copies to produce */ + cups_orient_t Orientation; /* Orientation value (@link cups_orient_t@) */ + cups_bool_t OutputFaceUp; /* OutputFaceUp value */ + unsigned PageSize[2]; /* Width and length of page in points */ + cups_bool_t Separations; /* Separations value */ + cups_bool_t TraySwitch; /* TraySwitch value */ + cups_bool_t Tumble; /* Tumble value */ + + /**** CUPS Page Device Dictionary Values ****/ + unsigned cupsWidth; /* Width of page image in pixels */ + unsigned cupsHeight; /* Height of page image in pixels */ + unsigned cupsMediaType; /* Media type code */ + unsigned cupsBitsPerColor; /* Number of bits for each color */ + unsigned cupsBitsPerPixel; /* Number of bits for each pixel */ + unsigned cupsBytesPerLine; /* Number of bytes per line */ + cups_order_t cupsColorOrder; /* Order of colors */ + cups_cspace_t cupsColorSpace; /* True colorspace */ + unsigned cupsCompression; /* Device compression to use */ + unsigned cupsRowCount; /* Rows per band */ + unsigned cupsRowFeed; /* Feed between bands */ + unsigned cupsRowStep; /* Spacing between lines */ + + /**** Version 2 Dictionary Values ****/ + unsigned cupsNumColors; /* Number of color compoents @since CUPS 1.2/macOS 10.5@ */ + float cupsBorderlessScalingFactor; + /* Scaling that was applied to page data @since CUPS 1.2/macOS 10.5@ */ + float cupsPageSize[2]; /* Floating point PageSize (scaling * + * factor not applied) @since CUPS 1.2/macOS 10.5@ */ + float cupsImagingBBox[4]; /* Floating point ImagingBoundingBox + * (scaling factor not applied, left, + * bottom, right, top) @since CUPS 1.2/macOS 10.5@ */ + unsigned cupsInteger[16]; /* User-defined integer values @since CUPS 1.2/macOS 10.5@ */ + float cupsReal[16]; /* User-defined floating-point values @since CUPS 1.2/macOS 10.5@ */ + char cupsString[16][64]; /* User-defined string values @since CUPS 1.2/macOS 10.5@ */ + char cupsMarkerType[64]; /* Ink/toner type @since CUPS 1.2/macOS 10.5@ */ + char cupsRenderingIntent[64];/* Color rendering intent @since CUPS 1.2/macOS 10.5@ */ + char cupsPageSizeName[64]; /* PageSize name @since CUPS 1.2/macOS 10.5@ */ +} cups_page_header2_t; + +typedef struct _cups_raster_s cups_raster_t; + /**** Raster stream data ****/ + +/**** New in CUPS 1.5 ****/ +typedef ssize_t (*cups_raster_iocb_t)(void *ctx, unsigned char *buffer, size_t length); + /**** cupsRasterOpenIO callback function + * + * This function is specified when + * creating a raster stream with + * @link cupsRasterOpenIO@ and handles + * generic reading and writing of raster + * data. It must return -1 on error or + * the number of bytes specified by + * "length" on success. + ****/ + + +/* + * Prototypes... + */ + +extern void cupsRasterClose(cups_raster_t *r) _CUPS_PUBLIC; +extern cups_raster_t *cupsRasterOpen(int fd, cups_mode_t mode) _CUPS_PUBLIC; +extern unsigned cupsRasterReadHeader(cups_raster_t *r, cups_page_header_t *h) _CUPS_DEPRECATED_MSG("Use cupsRasterReadHeader2 instead.") _CUPS_PUBLIC; +extern unsigned cupsRasterReadPixels(cups_raster_t *r, unsigned char *p, unsigned len) _CUPS_PUBLIC; +extern unsigned cupsRasterWriteHeader(cups_raster_t *r, cups_page_header_t *h) _CUPS_DEPRECATED_MSG("Use cupsRasterWriteHeader2 instead.") _CUPS_PUBLIC; +extern unsigned cupsRasterWritePixels(cups_raster_t *r, unsigned char *p, unsigned len) _CUPS_PUBLIC; + +/**** New in CUPS 1.2 ****/ +extern unsigned cupsRasterReadHeader2(cups_raster_t *r, cups_page_header2_t *h) _CUPS_API_1_2; +extern unsigned cupsRasterWriteHeader2(cups_raster_t *r, cups_page_header2_t *h) _CUPS_API_1_2; + +/**** New in CUPS 1.3 ****/ +extern const char *cupsRasterErrorString(void) _CUPS_API_1_3; + +/**** New in CUPS 1.5 ****/ +extern cups_raster_t *cupsRasterOpenIO(cups_raster_iocb_t iocb, void *ctx, cups_mode_t mode) _CUPS_API_1_5; + +/**** New in CUPS 2.2/macOS 10.12 ****/ +extern int cupsRasterInitPWGHeader(cups_page_header2_t *h, pwg_media_t *media, const char *type, int xdpi, int ydpi, const char *sides, const char *sheet_back) _CUPS_API_2_2; + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_RASTER_H_ */ diff --git a/cups/rasterbench.c b/cups/rasterbench.c new file mode 100644 index 0000000..f7d8c56 --- /dev/null +++ b/cups/rasterbench.c @@ -0,0 +1,336 @@ +/* + * Raster benchmark program for CUPS. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include +#include +#include +#include + + +/* + * Constants... + */ + +#define TEST_WIDTH 1024 +#define TEST_HEIGHT 1024 +#define TEST_PAGES 16 +#define TEST_PASSES 20 + + +/* + * Local functions... + */ + +static double compute_median(double *secs); +static double get_time(void); +static void read_test(int fd); +static int run_read_test(void); +static void write_test(int fd, cups_mode_t mode); + + +/* + * 'main()' - Benchmark the raster read/write functions. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + int ras_fd, /* File descriptor for read process */ + status; /* Exit status of read process */ + double start_secs, /* Start time */ + write_secs, /* Write time */ + read_secs, /* Read time */ + pass_secs[TEST_PASSES]; /* Total test times */ + cups_mode_t mode; /* Write mode */ + + + /* + * See if we have anything on the command-line... + */ + + if (argc > 2 || (argc == 2 && strcmp(argv[1], "-z"))) + { + puts("Usage: rasterbench [-z]"); + return (1); + } + + mode = argc > 1 ? CUPS_RASTER_WRITE_COMPRESSED : CUPS_RASTER_WRITE; + + /* + * Ignore SIGPIPE... + */ + + signal(SIGPIPE, SIG_IGN); + + /* + * Run the tests several times to get a good average... + */ + + printf("Test read/write speed of %d pages, %dx%d pixels...\n\n", + TEST_PAGES, TEST_WIDTH, TEST_HEIGHT); + for (i = 0; i < TEST_PASSES; i ++) + { + printf("PASS %2d: ", i + 1); + fflush(stdout); + + ras_fd = run_read_test(); + start_secs = get_time(); + + write_test(ras_fd, mode); + + write_secs = get_time(); + printf(" %.3f write,", write_secs - start_secs); + fflush(stdout); + + close(ras_fd); + wait(&status); + + read_secs = get_time(); + pass_secs[i] = read_secs - start_secs; + printf(" %.3f read, %.3f total\n", read_secs - write_secs, pass_secs[i]); + } + + printf("\nMedian Total Time: %.3f seconds per document\n", + compute_median(pass_secs)); + + return (0); +} + + +/* + * 'compute_median()' - Compute the median time for a test. + */ + +static double /* O - Median time in seconds */ +compute_median(double *secs) /* I - Array of time samples */ +{ + int i, j; /* Looping vars */ + double temp; /* Swap variable */ + + + /* + * Sort the array into ascending order using a quicky bubble sort... + */ + + for (i = 0; i < (TEST_PASSES - 1); i ++) + for (j = i + 1; j < TEST_PASSES; j ++) + if (secs[i] > secs[j]) + { + temp = secs[i]; + secs[i] = secs[j]; + secs[j] = temp; + } + + /* + * Return the average of the middle two samples... + */ + + return (0.5 * (secs[TEST_PASSES / 2 - 1] + secs[TEST_PASSES / 2])); +} + + +/* + * 'get_time()' - Get the current time in seconds. + */ + +static double /* O - Time in seconds */ +get_time(void) +{ + struct timeval curtime; /* Current time */ + + + gettimeofday(&curtime, NULL); + return (curtime.tv_sec + 0.000001 * curtime.tv_usec); +} + + +/* + * 'read_test()' - Benchmark the raster read functions. + */ + +static void +read_test(int fd) /* I - File descriptor to read from */ +{ + unsigned y; /* Looping var */ + cups_raster_t *r; /* Raster stream */ + cups_page_header2_t header; /* Page header */ + unsigned char buffer[8 * TEST_WIDTH]; + /* Read buffer */ + + + /* + * Test read speed... + */ + + if ((r = cupsRasterOpen(fd, CUPS_RASTER_READ)) == NULL) + { + perror("Unable to create raster input stream"); + return; + } + + while (cupsRasterReadHeader2(r, &header)) + { + for (y = 0; y < header.cupsHeight; y ++) + cupsRasterReadPixels(r, buffer, header.cupsBytesPerLine); + } + + cupsRasterClose(r); +} + + +/* + * 'run_read_test()' - Run the read test as a child process via pipes. + */ + +static int /* O - Standard input of child */ +run_read_test(void) +{ + int ras_pipes[2]; /* Raster data pipes */ + int pid; /* Child process ID */ + + + if (pipe(ras_pipes)) + return (-1); + + if ((pid = fork()) < 0) + { + /* + * Fork error - return -1 on error... + */ + + close(ras_pipes[0]); + close(ras_pipes[1]); + + return (-1); + } + else if (pid == 0) + { + /* + * Child comes here - read data from the input pipe... + */ + + close(ras_pipes[1]); + read_test(ras_pipes[0]); + exit(0); + } + else + { + /* + * Parent comes here - return the output pipe... + */ + + close(ras_pipes[0]); + return (ras_pipes[1]); + } +} + + +/* + * 'write_test()' - Benchmark the raster write functions. + */ + +static void +write_test(int fd, /* I - File descriptor to write to */ + cups_mode_t mode) /* I - Write mode */ +{ + unsigned page, x, y; /* Looping vars */ + unsigned count; /* Number of bytes to set */ + cups_raster_t *r; /* Raster stream */ + cups_page_header2_t header; /* Page header */ + unsigned char data[32][8 * TEST_WIDTH]; + /* Raster data to write */ + + + /* + * Create a combination of random data and repeated data to simulate + * text with some whitespace. + */ + + CUPS_SRAND(time(NULL)); + + memset(data, 0, sizeof(data)); + + for (y = 0; y < 28; y ++) + { + for (x = CUPS_RAND() & 127, count = (CUPS_RAND() & 15) + 1; + x < sizeof(data[0]); + x ++, count --) + { + if (count <= 0) + { + x += (CUPS_RAND() & 15) + 1; + count = (CUPS_RAND() & 15) + 1; + + if (x >= sizeof(data[0])) + break; + } + + data[y][x] = (unsigned char)CUPS_RAND(); + } + } + + /* + * Test write speed... + */ + + if ((r = cupsRasterOpen(fd, mode)) == NULL) + { + perror("Unable to create raster output stream"); + return; + } + + for (page = 0; page < TEST_PAGES; page ++) + { + memset(&header, 0, sizeof(header)); + header.cupsWidth = TEST_WIDTH; + header.cupsHeight = TEST_HEIGHT; + header.cupsBytesPerLine = TEST_WIDTH; + + if (page & 1) + { + header.cupsBytesPerLine *= 4; + header.cupsColorSpace = CUPS_CSPACE_CMYK; + header.cupsColorOrder = CUPS_ORDER_CHUNKED; + } + else + { + header.cupsColorSpace = CUPS_CSPACE_K; + header.cupsColorOrder = CUPS_ORDER_BANDED; + } + + if (page & 2) + { + header.cupsBytesPerLine *= 2; + header.cupsBitsPerColor = 16; + header.cupsBitsPerPixel = (page & 1) ? 64 : 16; + } + else + { + header.cupsBitsPerColor = 8; + header.cupsBitsPerPixel = (page & 1) ? 32 : 8; + } + + cupsRasterWriteHeader2(r, &header); + + for (y = 0; y < TEST_HEIGHT; y ++) + cupsRasterWritePixels(r, data[y & 31], header.cupsBytesPerLine); + } + + cupsRasterClose(r); +} diff --git a/cups/request.c b/cups/request.c new file mode 100644 index 0000000..69a7801 --- /dev/null +++ b/cups/request.c @@ -0,0 +1,1179 @@ +/* + * IPP utilities for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include +#include +#if defined(_WIN32) || defined(__EMX__) +# include +#else +# include +#endif /* _WIN32 || __EMX__ */ +#ifndef O_BINARY +# define O_BINARY 0 +#endif /* O_BINARY */ +#ifndef MSG_DONTWAIT +# define MSG_DONTWAIT 0 +#endif /* !MSG_DONTWAIT */ + + +/* + * 'cupsDoFileRequest()' - Do an IPP request with a file. + * + * This function sends the IPP request and attached file to the specified + * server, retrying and authenticating as necessary. The request is freed with + * @link ippDelete@. + */ + +ipp_t * /* O - Response data */ +cupsDoFileRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + ipp_t *request, /* I - IPP request */ + const char *resource, /* I - HTTP resource for POST */ + const char *filename) /* I - File to send or @code NULL@ for none */ +{ + ipp_t *response; /* IPP response data */ + int infile; /* Input file */ + + + DEBUG_printf(("cupsDoFileRequest(http=%p, request=%p(%s), resource=\"%s\", filename=\"%s\")", (void *)http, (void *)request, request ? ippOpString(request->request.op.operation_id) : "?", resource, filename)); + + if (filename) + { + if ((infile = open(filename, O_RDONLY | O_BINARY)) < 0) + { + /* + * Can't get file information! + */ + + _cupsSetError(errno == ENOENT ? IPP_STATUS_ERROR_NOT_FOUND : IPP_STATUS_ERROR_NOT_AUTHORIZED, + NULL, 0); + + ippDelete(request); + + return (NULL); + } + } + else + infile = -1; + + response = cupsDoIORequest(http, request, resource, infile, -1); + + if (infile >= 0) + close(infile); + + return (response); +} + + +/* + * 'cupsDoIORequest()' - Do an IPP request with file descriptors. + * + * This function sends the IPP request with the optional input file "infile" to + * the specified server, retrying and authenticating as necessary. The request + * is freed with @link ippDelete@. + * + * If "infile" is a valid file descriptor, @code cupsDoIORequest@ copies + * all of the data from the file after the IPP request message. + * + * If "outfile" is a valid file descriptor, @code cupsDoIORequest@ copies + * all of the data after the IPP response message to the file. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +ipp_t * /* O - Response data */ +cupsDoIORequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + ipp_t *request, /* I - IPP request */ + const char *resource, /* I - HTTP resource for POST */ + int infile, /* I - File to read from or -1 for none */ + int outfile) /* I - File to write to or -1 for none */ +{ + ipp_t *response = NULL; /* IPP response data */ + size_t length = 0; /* Content-Length value */ + http_status_t status; /* Status of HTTP request */ + struct stat fileinfo; /* File information */ + ssize_t bytes; /* Number of bytes read/written */ + char buffer[32768]; /* Output buffer */ + + + DEBUG_printf(("cupsDoIORequest(http=%p, request=%p(%s), resource=\"%s\", infile=%d, outfile=%d)", (void *)http, (void *)request, request ? ippOpString(request->request.op.operation_id) : "?", resource, infile, outfile)); + + /* + * Range check input... + */ + + if (!request || !resource) + { + ippDelete(request); + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + + return (NULL); + } + + /* + * Get the default connection as needed... + */ + + if (!http && (http = _cupsConnect()) == NULL) + { + ippDelete(request); + + return (NULL); + } + + /* + * See if we have a file to send... + */ + + if (infile >= 0) + { + if (fstat(infile, &fileinfo)) + { + /* + * Can't get file information! + */ + + _cupsSetError(errno == EBADF ? IPP_STATUS_ERROR_NOT_FOUND : IPP_STATUS_ERROR_NOT_AUTHORIZED, NULL, 0); + ippDelete(request); + + return (NULL); + } + +#ifdef _WIN32 + if (fileinfo.st_mode & _S_IFDIR) +#else + if (S_ISDIR(fileinfo.st_mode)) +#endif /* _WIN32 */ + { + /* + * Can't send a directory... + */ + + _cupsSetError(IPP_STATUS_ERROR_NOT_POSSIBLE, strerror(EISDIR), 0); + ippDelete(request); + + return (NULL); + } + +#ifndef _WIN32 + if (!S_ISREG(fileinfo.st_mode)) + length = 0; /* Chunk when piping */ + else +#endif /* !_WIN32 */ + length = ippLength(request) + (size_t)fileinfo.st_size; + } + else + length = ippLength(request); + + DEBUG_printf(("2cupsDoIORequest: Request length=%ld, total length=%ld", (long)ippLength(request), (long)length)); + + /* + * Clear any "Local" authentication data since it is probably stale... + */ + + if (http->authstring && !strncmp(http->authstring, "Local ", 6)) + httpSetAuthString(http, NULL, NULL); + + /* + * Loop until we can send the request without authorization problems. + */ + + while (response == NULL) + { + DEBUG_puts("2cupsDoIORequest: setup..."); + + /* + * Send the request... + */ + + status = cupsSendRequest(http, request, resource, length); + + DEBUG_printf(("2cupsDoIORequest: status=%d", status)); + + if (status == HTTP_STATUS_CONTINUE && request->state == IPP_STATE_DATA && infile >= 0) + { + DEBUG_puts("2cupsDoIORequest: file write..."); + + /* + * Send the file with the request... + */ + +#ifndef _WIN32 + if (S_ISREG(fileinfo.st_mode)) +#endif /* _WIN32 */ + lseek(infile, 0, SEEK_SET); + + while ((bytes = read(infile, buffer, sizeof(buffer))) > 0) + { + if ((status = cupsWriteRequestData(http, buffer, (size_t)bytes)) + != HTTP_STATUS_CONTINUE) + break; + } + } + + /* + * Get the server's response... + */ + + if (status <= HTTP_STATUS_CONTINUE || status == HTTP_STATUS_OK) + { + response = cupsGetResponse(http, resource); + status = httpGetStatus(http); + } + + DEBUG_printf(("2cupsDoIORequest: status=%d", status)); + + if (status == HTTP_STATUS_ERROR || + (status >= HTTP_STATUS_BAD_REQUEST && status != HTTP_STATUS_UNAUTHORIZED && + status != HTTP_STATUS_UPGRADE_REQUIRED)) + { + _cupsSetHTTPError(status); + break; + } + + if (response && outfile >= 0) + { + /* + * Write trailing data to file... + */ + + while ((bytes = httpRead2(http, buffer, sizeof(buffer))) > 0) + if (write(outfile, buffer, (size_t)bytes) < bytes) + break; + } + + if (http->state != HTTP_STATE_WAITING) + { + /* + * Flush any remaining data... + */ + + httpFlush(http); + } + } + + /* + * Delete the original request and return the response... + */ + + ippDelete(request); + + return (response); +} + + +/* + * 'cupsDoRequest()' - Do an IPP request. + * + * This function sends the IPP request to the specified server, retrying + * and authenticating as necessary. The request is freed with @link ippDelete@. + */ + +ipp_t * /* O - Response data */ +cupsDoRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + ipp_t *request, /* I - IPP request */ + const char *resource) /* I - HTTP resource for POST */ +{ + DEBUG_printf(("cupsDoRequest(http=%p, request=%p(%s), resource=\"%s\")", (void *)http, (void *)request, request ? ippOpString(request->request.op.operation_id) : "?", resource)); + + return (cupsDoIORequest(http, request, resource, -1, -1)); +} + + +/* + * 'cupsGetResponse()' - Get a response to an IPP request. + * + * Use this function to get the response for an IPP request sent using + * @link cupsSendRequest@. For requests that return additional data, use + * @link cupsReadResponseData@ after getting a successful response, + * otherwise call @link httpFlush@ to complete the response processing. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +ipp_t * /* O - Response or @code NULL@ on HTTP error */ +cupsGetResponse(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *resource) /* I - HTTP resource for POST */ +{ + http_status_t status; /* HTTP status */ + ipp_state_t state; /* IPP read state */ + ipp_t *response = NULL; /* IPP response */ + + + DEBUG_printf(("cupsGetResponse(http=%p, resource=\"%s\")", (void *)http, resource)); + DEBUG_printf(("1cupsGetResponse: http->state=%d", http ? http->state : HTTP_STATE_ERROR)); + + /* + * Connect to the default server as needed... + */ + + if (!http) + { + _cups_globals_t *cg = _cupsGlobals(); + /* Pointer to library globals */ + + if ((http = cg->http) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No active connection."), 1); + DEBUG_puts("1cupsGetResponse: No active connection - returning NULL."); + return (NULL); + } + } + + if (http->state != HTTP_STATE_POST_RECV && http->state != HTTP_STATE_POST_SEND) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No request sent."), 1); + DEBUG_puts("1cupsGetResponse: Not in POST state - returning NULL."); + return (NULL); + } + + /* + * Check for an unfinished chunked request... + */ + + if (http->data_encoding == HTTP_ENCODING_CHUNKED) + { + /* + * Send a 0-length chunk to finish off the request... + */ + + DEBUG_puts("2cupsGetResponse: Finishing chunked POST..."); + + if (httpWrite2(http, "", 0) < 0) + return (NULL); + } + + /* + * Wait for a response from the server... + */ + + DEBUG_printf(("2cupsGetResponse: Update loop, http->status=%d...", + http->status)); + + do + { + status = httpUpdate(http); + } + while (status == HTTP_STATUS_CONTINUE); + + DEBUG_printf(("2cupsGetResponse: status=%d", status)); + + if (status == HTTP_STATUS_OK) + { + /* + * Get the IPP response... + */ + + response = ippNew(); + + while ((state = ippRead(http, response)) != IPP_STATE_DATA) + if (state == IPP_STATE_ERROR) + break; + + if (state == IPP_STATE_ERROR) + { + /* + * Flush remaining data and delete the response... + */ + + DEBUG_puts("1cupsGetResponse: IPP read error!"); + + httpFlush(http); + + ippDelete(response); + response = NULL; + + http->status = status = HTTP_STATUS_ERROR; + http->error = EINVAL; + } + } + else if (status != HTTP_STATUS_ERROR) + { + /* + * Flush any error message... + */ + + httpFlush(http); + + /* + * Then handle encryption and authentication... + */ + + if (status == HTTP_STATUS_UNAUTHORIZED) + { + /* + * See if we can do authentication... + */ + + DEBUG_puts("2cupsGetResponse: Need authorization..."); + + if (!cupsDoAuthentication(http, "POST", resource)) + httpReconnect2(http, 30000, NULL); + else + http->status = status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED; + } + +#ifdef HAVE_SSL + else if (status == HTTP_STATUS_UPGRADE_REQUIRED) + { + /* + * Force a reconnect with encryption... + */ + + DEBUG_puts("2cupsGetResponse: Need encryption..."); + + if (!httpReconnect2(http, 30000, NULL)) + httpEncryption(http, HTTP_ENCRYPTION_REQUIRED); + } +#endif /* HAVE_SSL */ + } + + if (response) + { + ipp_attribute_t *attr; /* status-message attribute */ + + + attr = ippFindAttribute(response, "status-message", IPP_TAG_TEXT); + + DEBUG_printf(("1cupsGetResponse: status-code=%s, status-message=\"%s\"", + ippErrorString(response->request.status.status_code), + attr ? attr->values[0].string.text : "")); + + _cupsSetError(response->request.status.status_code, + attr ? attr->values[0].string.text : + ippErrorString(response->request.status.status_code), 0); + } + + return (response); +} + + +/* + * 'cupsLastError()' - Return the last IPP status code received on the current + * thread. + */ + +ipp_status_t /* O - IPP status code from last request */ +cupsLastError(void) +{ + return (_cupsGlobals()->last_error); +} + + +/* + * 'cupsLastErrorString()' - Return the last IPP status-message received on the + * current thread. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +const char * /* O - status-message text from last request */ +cupsLastErrorString(void) +{ + return (_cupsGlobals()->last_status_message); +} + + +/* + * '_cupsNextDelay()' - Return the next retry delay value. + * + * This function currently returns the Fibonacci sequence 1 1 2 3 5 8. + * + * Pass 0 for the current delay value to initialize the sequence. + */ + +int /* O - Next delay value */ +_cupsNextDelay(int current, /* I - Current delay value or 0 */ + int *previous) /* IO - Previous delay value */ +{ + int next; /* Next delay value */ + + + if (current > 0) + { + next = (current + *previous) % 12; + *previous = next < current ? 0 : current; + } + else + { + next = 1; + *previous = 0; + } + + return (next); +} + + +/* + * 'cupsReadResponseData()' - Read additional data after the IPP response. + * + * This function is used after @link cupsGetResponse@ to read the PPD or document + * files from @code CUPS_GET_PPD@ and @code CUPS_GET_DOCUMENT@ requests, + * respectively. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +ssize_t /* O - Bytes read, 0 on EOF, -1 on error */ +cupsReadResponseData( + http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + char *buffer, /* I - Buffer to use */ + size_t length) /* I - Number of bytes to read */ +{ + /* + * Get the default connection as needed... + */ + + DEBUG_printf(("cupsReadResponseData(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)buffer, CUPS_LLCAST length)); + + if (!http) + { + _cups_globals_t *cg = _cupsGlobals(); + /* Pointer to library globals */ + + if ((http = cg->http) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No active connection"), 1); + return (-1); + } + } + + /* + * Then read from the HTTP connection... + */ + + return (httpRead2(http, buffer, length)); +} + + +/* + * 'cupsSendRequest()' - Send an IPP request. + * + * Use @link cupsWriteRequestData@ to write any additional data (document, PPD + * file, etc.) for the request, @link cupsGetResponse@ to get the IPP response, + * and @link cupsReadResponseData@ to read any additional data following the + * response. Only one request can be sent/queued at a time per @code http_t@ + * connection. + * + * Returns the initial HTTP status code, which will be @code HTTP_STATUS_CONTINUE@ + * on a successful send of the request. + * + * Note: Unlike @link cupsDoFileRequest@, @link cupsDoIORequest@, and + * @link cupsDoRequest@, the request is NOT freed with @link ippDelete@. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +http_status_t /* O - Initial HTTP status */ +cupsSendRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + ipp_t *request, /* I - IPP request */ + const char *resource, /* I - Resource path */ + size_t length) /* I - Length of data to follow or @code CUPS_LENGTH_VARIABLE@ */ +{ + http_status_t status; /* Status of HTTP request */ + int got_status; /* Did we get the status? */ + ipp_state_t state; /* State of IPP processing */ + http_status_t expect; /* Expect: header to use */ + char date[256]; /* Date: header value */ + int digest; /* Are we using Digest authentication? */ + + + DEBUG_printf(("cupsSendRequest(http=%p, request=%p(%s), resource=\"%s\", length=" CUPS_LLFMT ")", (void *)http, (void *)request, request ? ippOpString(request->request.op.operation_id) : "?", resource, CUPS_LLCAST length)); + + /* + * Range check input... + */ + + if (!request || !resource) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + + return (HTTP_STATUS_ERROR); + } + + /* + * Get the default connection as needed... + */ + + if (!http && (http = _cupsConnect()) == NULL) + return (HTTP_STATUS_SERVICE_UNAVAILABLE); + + /* + * If the prior request was not flushed out, do so now... + */ + + if (http->state == HTTP_STATE_GET_SEND || + http->state == HTTP_STATE_POST_SEND) + { + DEBUG_puts("2cupsSendRequest: Flush prior response."); + httpFlush(http); + } + else if (http->state != HTTP_STATE_WAITING) + { + DEBUG_printf(("1cupsSendRequest: Unknown HTTP state (%d), " + "reconnecting.", http->state)); + if (httpReconnect2(http, 30000, NULL)) + return (HTTP_STATUS_ERROR); + } + +#ifdef HAVE_SSL + /* + * See if we have an auth-info attribute and are communicating over + * a non-local link. If so, encrypt the link so that we can pass + * the authentication information securely... + */ + + if (ippFindAttribute(request, "auth-info", IPP_TAG_TEXT) && + !httpAddrLocalhost(http->hostaddr) && !http->tls && + httpEncryption(http, HTTP_ENCRYPTION_REQUIRED)) + { + DEBUG_puts("1cupsSendRequest: Unable to encrypt connection."); + return (HTTP_STATUS_SERVICE_UNAVAILABLE); + } +#endif /* HAVE_SSL */ + + /* + * Reconnect if the last response had a "Connection: close"... + */ + + if (!_cups_strcasecmp(httpGetField(http, HTTP_FIELD_CONNECTION), "close")) + { + DEBUG_puts("2cupsSendRequest: Connection: close"); + httpClearFields(http); + if (httpReconnect2(http, 30000, NULL)) + { + DEBUG_puts("1cupsSendRequest: Unable to reconnect."); + return (HTTP_STATUS_SERVICE_UNAVAILABLE); + } + } + + /* + * Loop until we can send the request without authorization problems. + */ + + expect = HTTP_STATUS_CONTINUE; + + for (;;) + { + DEBUG_puts("2cupsSendRequest: Setup..."); + + /* + * Setup the HTTP variables needed... + */ + + httpClearFields(http); + httpSetExpect(http, expect); + httpSetField(http, HTTP_FIELD_CONTENT_TYPE, "application/ipp"); + httpSetField(http, HTTP_FIELD_DATE, httpGetDateString2(time(NULL), date, (int)sizeof(date))); + httpSetLength(http, length); + + digest = http->authstring && !strncmp(http->authstring, "Digest ", 7); + + if (digest) + { + /* + * Update the Digest authentication string... + */ + + _httpSetDigestAuthString(http, http->nextnonce, "POST", resource); + } + +#ifdef HAVE_GSSAPI + if (http->authstring && !strncmp(http->authstring, "Negotiate", 9)) + { + /* + * Do not use cached Kerberos credentials since they will look like a + * "replay" attack... + */ + + _cupsSetNegotiateAuthString(http, "POST", resource); + } +#endif /* HAVE_GSSAPI */ + + httpSetField(http, HTTP_FIELD_AUTHORIZATION, http->authstring); + + DEBUG_printf(("2cupsSendRequest: authstring=\"%s\"", http->authstring)); + + /* + * Try the request... + */ + + DEBUG_puts("2cupsSendRequest: Sending HTTP POST..."); + + if (httpPost(http, resource)) + { + DEBUG_puts("2cupsSendRequest: POST failed, reconnecting."); + if (httpReconnect2(http, 30000, NULL)) + { + DEBUG_puts("1cupsSendRequest: Unable to reconnect."); + return (HTTP_STATUS_SERVICE_UNAVAILABLE); + } + else + continue; + } + + /* + * Send the IPP data... + */ + + DEBUG_puts("2cupsSendRequest: Writing IPP request..."); + + request->state = IPP_STATE_IDLE; + status = HTTP_STATUS_CONTINUE; + got_status = 0; + + while ((state = ippWrite(http, request)) != IPP_STATE_DATA) + { + if (httpCheck(http)) + { + got_status = 1; + + _httpUpdate(http, &status); + if (status >= HTTP_STATUS_MULTIPLE_CHOICES) + break; + } + else if (state == IPP_STATE_ERROR) + break; + } + + if (state == IPP_STATE_ERROR) + { + /* + * We weren't able to send the IPP request. But did we already get a HTTP + * error status? + */ + + if (!got_status || status < HTTP_STATUS_MULTIPLE_CHOICES) + { + /* + * No, something else went wrong. + */ + + DEBUG_puts("1cupsSendRequest: Unable to send IPP request."); + + http->status = HTTP_STATUS_ERROR; + http->state = HTTP_STATE_WAITING; + + return (HTTP_STATUS_ERROR); + } + } + + /* + * Wait up to 1 second to get the 100-continue response as needed... + */ + + if (!got_status || (digest && status == HTTP_STATUS_CONTINUE)) + { + if (expect == HTTP_STATUS_CONTINUE || digest) + { + DEBUG_puts("2cupsSendRequest: Waiting for 100-continue..."); + + if (httpWait(http, 1000)) + _httpUpdate(http, &status); + } + else if (httpCheck(http)) + _httpUpdate(http, &status); + } + + DEBUG_printf(("2cupsSendRequest: status=%d", status)); + + /* + * Process the current HTTP status... + */ + + if (status >= HTTP_STATUS_MULTIPLE_CHOICES) + { + int temp_status; /* Temporary status */ + + _cupsSetHTTPError(status); + + do + { + temp_status = httpUpdate(http); + } + while (temp_status != HTTP_STATUS_ERROR && + http->state == HTTP_STATE_POST_RECV); + + httpFlush(http); + } + + switch (status) + { + case HTTP_STATUS_CONTINUE : + case HTTP_STATUS_OK : + case HTTP_STATUS_ERROR : + DEBUG_printf(("1cupsSendRequest: Returning %d.", status)); + return (status); + + case HTTP_STATUS_UNAUTHORIZED : + if (cupsDoAuthentication(http, "POST", resource)) + { + DEBUG_puts("1cupsSendRequest: Returning HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED."); + return (HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED); + } + + DEBUG_puts("2cupsSendRequest: Reconnecting after HTTP_STATUS_UNAUTHORIZED."); + + if (httpReconnect2(http, 30000, NULL)) + { + DEBUG_puts("1cupsSendRequest: Unable to reconnect."); + return (HTTP_STATUS_SERVICE_UNAVAILABLE); + } + break; + +#ifdef HAVE_SSL + case HTTP_STATUS_UPGRADE_REQUIRED : + /* + * Flush any error message, reconnect, and then upgrade with + * encryption... + */ + + DEBUG_puts("2cupsSendRequest: Reconnecting after " + "HTTP_STATUS_UPGRADE_REQUIRED."); + + if (httpReconnect2(http, 30000, NULL)) + { + DEBUG_puts("1cupsSendRequest: Unable to reconnect."); + return (HTTP_STATUS_SERVICE_UNAVAILABLE); + } + + DEBUG_puts("2cupsSendRequest: Upgrading to TLS."); + if (httpEncryption(http, HTTP_ENCRYPTION_REQUIRED)) + { + DEBUG_puts("1cupsSendRequest: Unable to encrypt connection."); + return (HTTP_STATUS_SERVICE_UNAVAILABLE); + } + break; +#endif /* HAVE_SSL */ + + case HTTP_STATUS_EXPECTATION_FAILED : + /* + * Don't try using the Expect: header the next time around... + */ + + expect = (http_status_t)0; + + DEBUG_puts("2cupsSendRequest: Reconnecting after " + "HTTP_EXPECTATION_FAILED."); + + if (httpReconnect2(http, 30000, NULL)) + { + DEBUG_puts("1cupsSendRequest: Unable to reconnect."); + return (HTTP_STATUS_SERVICE_UNAVAILABLE); + } + break; + + default : + /* + * Some other error... + */ + + return (status); + } + } +} + + +/* + * 'cupsWriteRequestData()' - Write additional data after an IPP request. + * + * This function is used after @link cupsSendRequest@ to provide a PPD and + * after @link cupsStartDocument@ to provide a document file. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +http_status_t /* O - @code HTTP_STATUS_CONTINUE@ if OK or HTTP status on error */ +cupsWriteRequestData( + http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *buffer, /* I - Bytes to write */ + size_t length) /* I - Number of bytes to write */ +{ + int wused; /* Previous bytes in buffer */ + + + /* + * Get the default connection as needed... + */ + + DEBUG_printf(("cupsWriteRequestData(http=%p, buffer=%p, length=" CUPS_LLFMT ")", (void *)http, (void *)buffer, CUPS_LLCAST length)); + + if (!http) + { + _cups_globals_t *cg = _cupsGlobals(); + /* Pointer to library globals */ + + if ((http = cg->http) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No active connection"), 1); + DEBUG_puts("1cupsWriteRequestData: Returning HTTP_STATUS_ERROR."); + return (HTTP_STATUS_ERROR); + } + } + + /* + * Then write to the HTTP connection... + */ + + wused = http->wused; + + if (httpWrite2(http, buffer, length) < 0) + { + DEBUG_puts("1cupsWriteRequestData: Returning HTTP_STATUS_ERROR."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(http->error), 0); + return (HTTP_STATUS_ERROR); + } + + /* + * Finally, check if we have any pending data from the server... + */ + + if (length >= HTTP_MAX_BUFFER || + http->wused < wused || + (wused > 0 && (size_t)http->wused == length)) + { + /* + * We've written something to the server, so check for response data... + */ + + if (_httpWait(http, 0, 1)) + { + http_status_t status; /* Status from _httpUpdate */ + + _httpUpdate(http, &status); + if (status >= HTTP_STATUS_MULTIPLE_CHOICES) + { + _cupsSetHTTPError(status); + + do + { + status = httpUpdate(http); + } + while (status != HTTP_STATUS_ERROR && http->state == HTTP_STATE_POST_RECV); + + httpFlush(http); + } + + DEBUG_printf(("1cupsWriteRequestData: Returning %d.\n", status)); + return (status); + } + } + + DEBUG_puts("1cupsWriteRequestData: Returning HTTP_STATUS_CONTINUE."); + return (HTTP_STATUS_CONTINUE); +} + + +/* + * '_cupsConnect()' - Get the default server connection... + */ + +http_t * /* O - HTTP connection */ +_cupsConnect(void) +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + /* + * See if we are connected to the same server... + */ + + if (cg->http) + { + /* + * Compare the connection hostname, port, and encryption settings to + * the cached defaults; these were initialized the first time we + * connected... + */ + + if (strcmp(cg->http->hostname, cg->server) || +#ifdef AF_LOCAL + (httpAddrFamily(cg->http->hostaddr) != AF_LOCAL && cg->ipp_port != httpAddrPort(cg->http->hostaddr)) || +#else + cg->ipp_port != httpAddrPort(cg->http->hostaddr) || +#endif /* AF_LOCAL */ + (cg->http->encryption != cg->encryption && + cg->http->encryption == HTTP_ENCRYPTION_NEVER)) + { + /* + * Need to close the current connection because something has changed... + */ + + httpClose(cg->http); + cg->http = NULL; + } + else + { + /* + * Same server, see if the connection is still established... + */ + + char ch; /* Connection check byte */ + ssize_t n; /* Number of bytes */ + +#ifdef _WIN32 + if ((n = recv(cg->http->fd, &ch, 1, MSG_PEEK)) == 0 || + (n < 0 && WSAGetLastError() != WSAEWOULDBLOCK)) +#else + if ((n = recv(cg->http->fd, &ch, 1, MSG_PEEK | MSG_DONTWAIT)) == 0 || + (n < 0 && errno != EWOULDBLOCK)) +#endif /* _WIN32 */ + { + /* + * Nope, close the connection... + */ + + httpClose(cg->http); + cg->http = NULL; + } + } + } + + /* + * (Re)connect as needed... + */ + + if (!cg->http) + { + if ((cg->http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, + cupsEncryption(), 1, 30000, NULL)) == NULL) + { + if (errno) + _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, NULL, 0); + else + _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, + _("Unable to connect to host."), 1); + } + } + + /* + * Return the cached connection... + */ + + return (cg->http); +} + + +/* + * '_cupsSetError()' - Set the last IPP status code and status-message. + */ + +void +_cupsSetError(ipp_status_t status, /* I - IPP status code */ + const char *message, /* I - status-message value */ + int localize) /* I - Localize the message? */ +{ + _cups_globals_t *cg; /* Global data */ + + + if (!message && errno) + { + message = strerror(errno); + localize = 0; + } + + cg = _cupsGlobals(); + cg->last_error = status; + + if (cg->last_status_message) + { + _cupsStrFree(cg->last_status_message); + + cg->last_status_message = NULL; + } + + if (message) + { + if (localize) + { + /* + * Get the message catalog... + */ + + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + cg->last_status_message = _cupsStrAlloc(_cupsLangString(cg->lang_default, + message)); + } + else + cg->last_status_message = _cupsStrAlloc(message); + } + + DEBUG_printf(("4_cupsSetError: last_error=%s, last_status_message=\"%s\"", + ippErrorString(cg->last_error), cg->last_status_message)); +} + + +/* + * '_cupsSetHTTPError()' - Set the last error using the HTTP status. + */ + +void +_cupsSetHTTPError(http_status_t status) /* I - HTTP status code */ +{ + switch (status) + { + case HTTP_STATUS_NOT_FOUND : + _cupsSetError(IPP_STATUS_ERROR_NOT_FOUND, httpStatus(status), 0); + break; + + case HTTP_STATUS_UNAUTHORIZED : + _cupsSetError(IPP_STATUS_ERROR_NOT_AUTHENTICATED, httpStatus(status), 0); + break; + + case HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED : + _cupsSetError(IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED, httpStatus(status), 0); + break; + + case HTTP_STATUS_FORBIDDEN : + _cupsSetError(IPP_STATUS_ERROR_FORBIDDEN, httpStatus(status), 0); + break; + + case HTTP_STATUS_BAD_REQUEST : + _cupsSetError(IPP_STATUS_ERROR_BAD_REQUEST, httpStatus(status), 0); + break; + + case HTTP_STATUS_REQUEST_TOO_LARGE : + _cupsSetError(IPP_STATUS_ERROR_REQUEST_VALUE, httpStatus(status), 0); + break; + + case HTTP_STATUS_NOT_IMPLEMENTED : + _cupsSetError(IPP_STATUS_ERROR_OPERATION_NOT_SUPPORTED, httpStatus(status), 0); + break; + + case HTTP_STATUS_NOT_SUPPORTED : + _cupsSetError(IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED, httpStatus(status), 0); + break; + + case HTTP_STATUS_UPGRADE_REQUIRED : + _cupsSetError(IPP_STATUS_ERROR_CUPS_UPGRADE_REQUIRED, httpStatus(status), 0); + break; + + case HTTP_STATUS_CUPS_PKI_ERROR : + _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, httpStatus(status), 0); + break; + + case HTTP_STATUS_ERROR : + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + break; + + default : + DEBUG_printf(("4_cupsSetHTTPError: HTTP error %d mapped to " + "IPP_STATUS_ERROR_SERVICE_UNAVAILABLE!", status)); + _cupsSetError(IPP_STATUS_ERROR_SERVICE_UNAVAILABLE, httpStatus(status), 0); + break; + } +} diff --git a/cups/sidechannel.c b/cups/sidechannel.c new file mode 100644 index 0000000..56a5d01 --- /dev/null +++ b/cups/sidechannel.c @@ -0,0 +1,616 @@ +/* + * Side-channel API code for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "sidechannel.h" +#include "cups-private.h" +#include "debug-internal.h" +#ifdef _WIN32 +# include +#else +# include +# include +# include +#endif /* _WIN32 */ +#ifdef HAVE_POLL +# include +#endif /* HAVE_POLL */ + + +/* + * Buffer size for side-channel requests... + */ + +#define _CUPS_SC_MAX_DATA 65535 +#define _CUPS_SC_MAX_BUFFER 65540 + + +/* + * 'cupsSideChannelDoRequest()' - Send a side-channel command to a backend and wait for a response. + * + * This function is normally only called by filters, drivers, or port + * monitors in order to communicate with the backend used by the current + * printer. Programs must be prepared to handle timeout or "not + * implemented" status codes, which indicate that the backend or device + * do not support the specified side-channel command. + * + * The "datalen" parameter must be initialized to the size of the buffer + * pointed to by the "data" parameter. cupsSideChannelDoRequest() will + * update the value to contain the number of data bytes in the buffer. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +cups_sc_status_t /* O - Status of command */ +cupsSideChannelDoRequest( + cups_sc_command_t command, /* I - Command to send */ + char *data, /* O - Response data buffer pointer */ + int *datalen, /* IO - Size of data buffer on entry, number of bytes in buffer on return */ + double timeout) /* I - Timeout in seconds */ +{ + cups_sc_status_t status; /* Status of command */ + cups_sc_command_t rcommand; /* Response command */ + + + if (cupsSideChannelWrite(command, CUPS_SC_STATUS_NONE, NULL, 0, timeout)) + return (CUPS_SC_STATUS_TIMEOUT); + + if (cupsSideChannelRead(&rcommand, &status, data, datalen, timeout)) + return (CUPS_SC_STATUS_TIMEOUT); + + if (rcommand != command) + return (CUPS_SC_STATUS_BAD_MESSAGE); + + return (status); +} + + +/* + * 'cupsSideChannelRead()' - Read a side-channel message. + * + * This function is normally only called by backend programs to read + * commands from a filter, driver, or port monitor program. The + * caller must be prepared to handle incomplete or invalid messages + * and return the corresponding status codes. + * + * The "datalen" parameter must be initialized to the size of the buffer + * pointed to by the "data" parameter. cupsSideChannelDoRequest() will + * update the value to contain the number of data bytes in the buffer. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +int /* O - 0 on success, -1 on error */ +cupsSideChannelRead( + cups_sc_command_t *command, /* O - Command code */ + cups_sc_status_t *status, /* O - Status code */ + char *data, /* O - Data buffer pointer */ + int *datalen, /* IO - Size of data buffer on entry, number of bytes in buffer on return */ + double timeout) /* I - Timeout in seconds */ +{ + char *buffer; /* Message buffer */ + ssize_t bytes; /* Bytes read */ + int templen; /* Data length from message */ + int nfds; /* Number of file descriptors */ +#ifdef HAVE_POLL + struct pollfd pfd; /* Poll structure for poll() */ +#else /* select() */ + fd_set input_set; /* Input set for select() */ + struct timeval stimeout; /* Timeout value for select() */ +#endif /* HAVE_POLL */ + + + DEBUG_printf(("cupsSideChannelRead(command=%p, status=%p, data=%p, " + "datalen=%p(%d), timeout=%.3f)", command, status, data, + datalen, datalen ? *datalen : -1, timeout)); + + /* + * Range check input... + */ + + if (!command || !status) + return (-1); + + /* + * See if we have pending data on the side-channel socket... + */ + +#ifdef HAVE_POLL + pfd.fd = CUPS_SC_FD; + pfd.events = POLLIN; + + while ((nfds = poll(&pfd, 1, + timeout < 0.0 ? -1 : (int)(timeout * 1000))) < 0 && + (errno == EINTR || errno == EAGAIN)) + ; + +#else /* select() */ + FD_ZERO(&input_set); + FD_SET(CUPS_SC_FD, &input_set); + + stimeout.tv_sec = (int)timeout; + stimeout.tv_usec = (int)(timeout * 1000000) % 1000000; + + while ((nfds = select(CUPS_SC_FD + 1, &input_set, NULL, NULL, + timeout < 0.0 ? NULL : &stimeout)) < 0 && + (errno == EINTR || errno == EAGAIN)) + ; + +#endif /* HAVE_POLL */ + + if (nfds < 1) + { + *command = CUPS_SC_CMD_NONE; + *status = nfds==0 ? CUPS_SC_STATUS_TIMEOUT : CUPS_SC_STATUS_IO_ERROR; + return (-1); + } + + /* + * Read a side-channel message for the format: + * + * Byte(s) Description + * ------- ------------------------------------------- + * 0 Command code + * 1 Status code + * 2-3 Data length (network byte order) + * 4-N Data + */ + + if ((buffer = _cupsBufferGet(_CUPS_SC_MAX_BUFFER)) == NULL) + { + *command = CUPS_SC_CMD_NONE; + *status = CUPS_SC_STATUS_TOO_BIG; + + return (-1); + } + + while ((bytes = read(CUPS_SC_FD, buffer, _CUPS_SC_MAX_BUFFER)) < 0) + if (errno != EINTR && errno != EAGAIN) + { + DEBUG_printf(("1cupsSideChannelRead: Read error: %s", strerror(errno))); + + _cupsBufferRelease(buffer); + + *command = CUPS_SC_CMD_NONE; + *status = CUPS_SC_STATUS_IO_ERROR; + + return (-1); + } + + /* + * Watch for EOF or too few bytes... + */ + + if (bytes < 4) + { + DEBUG_printf(("1cupsSideChannelRead: Short read of " CUPS_LLFMT " bytes", CUPS_LLCAST bytes)); + + _cupsBufferRelease(buffer); + + *command = CUPS_SC_CMD_NONE; + *status = CUPS_SC_STATUS_BAD_MESSAGE; + + return (-1); + } + + /* + * Validate the command code in the message... + */ + + if (buffer[0] < CUPS_SC_CMD_SOFT_RESET || + buffer[0] >= CUPS_SC_CMD_MAX) + { + DEBUG_printf(("1cupsSideChannelRead: Bad command %d!", buffer[0])); + + _cupsBufferRelease(buffer); + + *command = CUPS_SC_CMD_NONE; + *status = CUPS_SC_STATUS_BAD_MESSAGE; + + return (-1); + } + + *command = (cups_sc_command_t)buffer[0]; + + /* + * Validate the data length in the message... + */ + + templen = ((buffer[2] & 255) << 8) | (buffer[3] & 255); + + if (templen > 0 && (!data || !datalen)) + { + /* + * Either the response is bigger than the provided buffer or the + * response is bigger than we've read... + */ + + *status = CUPS_SC_STATUS_TOO_BIG; + } + else if (!datalen || templen > *datalen || templen > (bytes - 4)) + { + /* + * Either the response is bigger than the provided buffer or the + * response is bigger than we've read... + */ + + *status = CUPS_SC_STATUS_TOO_BIG; + } + else + { + /* + * The response data will fit, copy it over and provide the actual + * length... + */ + + *status = (cups_sc_status_t)buffer[1]; + *datalen = templen; + + memcpy(data, buffer + 4, (size_t)templen); + } + + _cupsBufferRelease(buffer); + + DEBUG_printf(("1cupsSideChannelRead: Returning status=%d", *status)); + + return (0); +} + + +/* + * 'cupsSideChannelSNMPGet()' - Query a SNMP OID's value. + * + * This function asks the backend to do a SNMP OID query on behalf of the + * filter, port monitor, or backend using the default community name. + * + * "oid" contains a numeric OID consisting of integers separated by periods, + * for example ".1.3.6.1.2.1.43". Symbolic names from SNMP MIBs are not + * supported and must be converted to their numeric forms. + * + * On input, "data" and "datalen" provide the location and size of the + * buffer to hold the OID value as a string. HEX-String (binary) values are + * converted to hexadecimal strings representing the binary data, while + * NULL-Value and unknown OID types are returned as the empty string. + * The returned "datalen" does not include the trailing nul. + * + * @code CUPS_SC_STATUS_NOT_IMPLEMENTED@ is returned by backends that do not + * support SNMP queries. @code CUPS_SC_STATUS_NO_RESPONSE@ is returned when + * the printer does not respond to the SNMP query. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +cups_sc_status_t /* O - Query status */ +cupsSideChannelSNMPGet( + const char *oid, /* I - OID to query */ + char *data, /* I - Buffer for OID value */ + int *datalen, /* IO - Size of OID buffer on entry, size of value on return */ + double timeout) /* I - Timeout in seconds */ +{ + cups_sc_status_t status; /* Status of command */ + cups_sc_command_t rcommand; /* Response command */ + char *real_data; /* Real data buffer for response */ + int real_datalen, /* Real length of data buffer */ + real_oidlen; /* Length of returned OID string */ + + + DEBUG_printf(("cupsSideChannelSNMPGet(oid=\"%s\", data=%p, datalen=%p(%d), " + "timeout=%.3f)", oid, data, datalen, datalen ? *datalen : -1, + timeout)); + + /* + * Range check input... + */ + + if (!oid || !*oid || !data || !datalen || *datalen < 2) + return (CUPS_SC_STATUS_BAD_MESSAGE); + + *data = '\0'; + + /* + * Send the request to the backend and wait for a response... + */ + + if (cupsSideChannelWrite(CUPS_SC_CMD_SNMP_GET, CUPS_SC_STATUS_NONE, oid, + (int)strlen(oid) + 1, timeout)) + return (CUPS_SC_STATUS_TIMEOUT); + + if ((real_data = _cupsBufferGet(_CUPS_SC_MAX_BUFFER)) == NULL) + return (CUPS_SC_STATUS_TOO_BIG); + + real_datalen = _CUPS_SC_MAX_BUFFER; + if (cupsSideChannelRead(&rcommand, &status, real_data, &real_datalen, timeout)) + { + _cupsBufferRelease(real_data); + return (CUPS_SC_STATUS_TIMEOUT); + } + + if (rcommand != CUPS_SC_CMD_SNMP_GET) + { + _cupsBufferRelease(real_data); + return (CUPS_SC_STATUS_BAD_MESSAGE); + } + + if (status == CUPS_SC_STATUS_OK) + { + /* + * Parse the response of the form "oid\0value"... + */ + + real_oidlen = (int)strlen(real_data) + 1; + real_datalen -= real_oidlen; + + if ((real_datalen + 1) > *datalen) + { + _cupsBufferRelease(real_data); + return (CUPS_SC_STATUS_TOO_BIG); + } + + memcpy(data, real_data + real_oidlen, (size_t)real_datalen); + data[real_datalen] = '\0'; + + *datalen = real_datalen; + } + + _cupsBufferRelease(real_data); + + return (status); +} + + +/* + * 'cupsSideChannelSNMPWalk()' - Query multiple SNMP OID values. + * + * This function asks the backend to do multiple SNMP OID queries on behalf + * of the filter, port monitor, or backend using the default community name. + * All OIDs under the "parent" OID are queried and the results are sent to + * the callback function you provide. + * + * "oid" contains a numeric OID consisting of integers separated by periods, + * for example ".1.3.6.1.2.1.43". Symbolic names from SNMP MIBs are not + * supported and must be converted to their numeric forms. + * + * "timeout" specifies the timeout for each OID query. The total amount of + * time will depend on the number of OID values found and the time required + * for each query. + * + * "cb" provides a function to call for every value that is found. "context" + * is an application-defined pointer that is sent to the callback function + * along with the OID and current data. The data passed to the callback is the + * same as returned by @link cupsSideChannelSNMPGet@. + * + * @code CUPS_SC_STATUS_NOT_IMPLEMENTED@ is returned by backends that do not + * support SNMP queries. @code CUPS_SC_STATUS_NO_RESPONSE@ is returned when + * the printer does not respond to the first SNMP query. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +cups_sc_status_t /* O - Status of first query of @code CUPS_SC_STATUS_OK@ on success */ +cupsSideChannelSNMPWalk( + const char *oid, /* I - First numeric OID to query */ + double timeout, /* I - Timeout for each query in seconds */ + cups_sc_walk_func_t cb, /* I - Function to call with each value */ + void *context) /* I - Application-defined pointer to send to callback */ +{ + cups_sc_status_t status; /* Status of command */ + cups_sc_command_t rcommand; /* Response command */ + char *real_data; /* Real data buffer for response */ + int real_datalen; /* Real length of data buffer */ + size_t real_oidlen, /* Length of returned OID string */ + oidlen; /* Length of first OID */ + const char *current_oid; /* Current OID */ + char last_oid[2048]; /* Last OID */ + + + DEBUG_printf(("cupsSideChannelSNMPWalk(oid=\"%s\", timeout=%.3f, cb=%p, " + "context=%p)", oid, timeout, cb, context)); + + /* + * Range check input... + */ + + if (!oid || !*oid || !cb) + return (CUPS_SC_STATUS_BAD_MESSAGE); + + if ((real_data = _cupsBufferGet(_CUPS_SC_MAX_BUFFER)) == NULL) + return (CUPS_SC_STATUS_TOO_BIG); + + /* + * Loop until the OIDs don't match... + */ + + current_oid = oid; + oidlen = strlen(oid); + last_oid[0] = '\0'; + + do + { + /* + * Send the request to the backend and wait for a response... + */ + + if (cupsSideChannelWrite(CUPS_SC_CMD_SNMP_GET_NEXT, CUPS_SC_STATUS_NONE, + current_oid, (int)strlen(current_oid) + 1, timeout)) + { + _cupsBufferRelease(real_data); + return (CUPS_SC_STATUS_TIMEOUT); + } + + real_datalen = _CUPS_SC_MAX_BUFFER; + if (cupsSideChannelRead(&rcommand, &status, real_data, &real_datalen, + timeout)) + { + _cupsBufferRelease(real_data); + return (CUPS_SC_STATUS_TIMEOUT); + } + + if (rcommand != CUPS_SC_CMD_SNMP_GET_NEXT) + { + _cupsBufferRelease(real_data); + return (CUPS_SC_STATUS_BAD_MESSAGE); + } + + if (status == CUPS_SC_STATUS_OK) + { + /* + * Parse the response of the form "oid\0value"... + */ + + if (strncmp(real_data, oid, oidlen) || real_data[oidlen] != '.' || + !strcmp(real_data, last_oid)) + { + /* + * Done with this set of OIDs... + */ + + _cupsBufferRelease(real_data); + return (CUPS_SC_STATUS_OK); + } + + if ((size_t)real_datalen < sizeof(real_data)) + real_data[real_datalen] = '\0'; + + real_oidlen = strlen(real_data) + 1; + real_datalen -= (int)real_oidlen; + + /* + * Call the callback with the OID and data... + */ + + (*cb)(real_data, real_data + real_oidlen, real_datalen, context); + + /* + * Update the current OID... + */ + + current_oid = real_data; + strlcpy(last_oid, current_oid, sizeof(last_oid)); + } + } + while (status == CUPS_SC_STATUS_OK); + + _cupsBufferRelease(real_data); + + return (status); +} + + +/* + * 'cupsSideChannelWrite()' - Write a side-channel message. + * + * This function is normally only called by backend programs to send + * responses to a filter, driver, or port monitor program. + * + * @since CUPS 1.3/macOS 10.5@ + */ + +int /* O - 0 on success, -1 on error */ +cupsSideChannelWrite( + cups_sc_command_t command, /* I - Command code */ + cups_sc_status_t status, /* I - Status code */ + const char *data, /* I - Data buffer pointer */ + int datalen, /* I - Number of bytes of data */ + double timeout) /* I - Timeout in seconds */ +{ + char *buffer; /* Message buffer */ + ssize_t bytes; /* Bytes written */ +#ifdef HAVE_POLL + struct pollfd pfd; /* Poll structure for poll() */ +#else /* select() */ + fd_set output_set; /* Output set for select() */ + struct timeval stimeout; /* Timeout value for select() */ +#endif /* HAVE_POLL */ + + + /* + * Range check input... + */ + + if (command < CUPS_SC_CMD_SOFT_RESET || command >= CUPS_SC_CMD_MAX || + datalen < 0 || datalen > _CUPS_SC_MAX_DATA || (datalen > 0 && !data)) + return (-1); + + /* + * See if we can safely write to the side-channel socket... + */ + +#ifdef HAVE_POLL + pfd.fd = CUPS_SC_FD; + pfd.events = POLLOUT; + + if (timeout < 0.0) + { + if (poll(&pfd, 1, -1) < 1) + return (-1); + } + else if (poll(&pfd, 1, (int)(timeout * 1000)) < 1) + return (-1); + +#else /* select() */ + FD_ZERO(&output_set); + FD_SET(CUPS_SC_FD, &output_set); + + if (timeout < 0.0) + { + if (select(CUPS_SC_FD + 1, NULL, &output_set, NULL, NULL) < 1) + return (-1); + } + else + { + stimeout.tv_sec = (int)timeout; + stimeout.tv_usec = (int)(timeout * 1000000) % 1000000; + + if (select(CUPS_SC_FD + 1, NULL, &output_set, NULL, &stimeout) < 1) + return (-1); + } +#endif /* HAVE_POLL */ + + /* + * Write a side-channel message in the format: + * + * Byte(s) Description + * ------- ------------------------------------------- + * 0 Command code + * 1 Status code + * 2-3 Data length (network byte order) <= 16384 + * 4-N Data + */ + + if ((buffer = _cupsBufferGet((size_t)datalen + 4)) == NULL) + return (-1); + + buffer[0] = (char)command; + buffer[1] = (char)status; + buffer[2] = (char)(datalen >> 8); + buffer[3] = (char)(datalen & 255); + + bytes = 4; + + if (datalen > 0) + { + memcpy(buffer + 4, data, (size_t)datalen); + bytes += datalen; + } + + while (write(CUPS_SC_FD, buffer, (size_t)bytes) < 0) + if (errno != EINTR && errno != EAGAIN) + { + _cupsBufferRelease(buffer); + return (-1); + } + + _cupsBufferRelease(buffer); + + return (0); +} diff --git a/cups/sidechannel.h b/cups/sidechannel.h new file mode 100644 index 0000000..538b8b2 --- /dev/null +++ b/cups/sidechannel.h @@ -0,0 +1,149 @@ +/* + * Side-channel API definitions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_SIDECHANNEL_H_ +# define _CUPS_SIDECHANNEL_H_ + +/* + * Include necessary headers... + */ + +# include "versioning.h" +# include +# if defined(_WIN32) && !defined(__CUPS_SSIZE_T_DEFINED) +# define __CUPS_SSIZE_T_DEFINED +# include +/* Windows does not support the ssize_t type, so map it to long... */ +typedef long ssize_t; /* @private@ */ +# endif /* _WIN32 && !__CUPS_SSIZE_T_DEFINED */ + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Constants... + */ + +#define CUPS_SC_FD 4 /* File descriptor for select/poll */ + + +/* + * Enumerations... + */ + +enum cups_sc_bidi_e /**** Bidirectional capability values ****/ +{ + CUPS_SC_BIDI_NOT_SUPPORTED = 0, /* Bidirectional I/O is not supported */ + CUPS_SC_BIDI_SUPPORTED = 1 /* Bidirectional I/O is supported */ +}; +typedef enum cups_sc_bidi_e cups_sc_bidi_t; + /**** Bidirectional capabilities ****/ + +enum cups_sc_command_e /**** Request command codes ****/ +{ + CUPS_SC_CMD_NONE = 0, /* No command @private@ */ + CUPS_SC_CMD_SOFT_RESET = 1, /* Do a soft reset */ + CUPS_SC_CMD_DRAIN_OUTPUT = 2, /* Drain all pending output */ + CUPS_SC_CMD_GET_BIDI = 3, /* Return bidirectional capabilities */ + CUPS_SC_CMD_GET_DEVICE_ID = 4, /* Return the IEEE-1284 device ID */ + CUPS_SC_CMD_GET_STATE = 5, /* Return the device state */ + CUPS_SC_CMD_SNMP_GET = 6, /* Query an SNMP OID @since CUPS 1.4/macOS 10.6@ */ + CUPS_SC_CMD_SNMP_GET_NEXT = 7, /* Query the next SNMP OID @since CUPS 1.4/macOS 10.6@ */ + CUPS_SC_CMD_GET_CONNECTED = 8, /* Return whether the backend is "connected" to the printer @since CUPS 1.5/macOS 10.7@ */ + CUPS_SC_CMD_MAX /* End of valid values @private@ */ +}; +typedef enum cups_sc_command_e cups_sc_command_t; + /**** Request command codes ****/ + +enum cups_sc_connected_e /**** Connectivity values ****/ +{ + CUPS_SC_NOT_CONNECTED = 0, /* Backend is not "connected" to printer */ + CUPS_SC_CONNECTED = 1 /* Backend is "connected" to printer */ +}; +typedef enum cups_sc_connected_e cups_sc_connected_t; + /**** Connectivity values ****/ + + +enum cups_sc_state_e /**** Printer state bits ****/ +{ + CUPS_SC_STATE_OFFLINE = 0, /* Device is offline */ + CUPS_SC_STATE_ONLINE = 1, /* Device is online */ + CUPS_SC_STATE_BUSY = 2, /* Device is busy */ + CUPS_SC_STATE_ERROR = 4, /* Other error condition */ + CUPS_SC_STATE_MEDIA_LOW = 16, /* Paper low condition */ + CUPS_SC_STATE_MEDIA_EMPTY = 32, /* Paper out condition */ + CUPS_SC_STATE_MARKER_LOW = 64, /* Toner/ink low condition */ + CUPS_SC_STATE_MARKER_EMPTY = 128 /* Toner/ink out condition */ +}; +typedef enum cups_sc_state_e cups_sc_state_t; + /**** Printer state bits ****/ + +enum cups_sc_status_e /**** Response status codes ****/ +{ + CUPS_SC_STATUS_NONE, /* No status */ + CUPS_SC_STATUS_OK, /* Operation succeeded */ + CUPS_SC_STATUS_IO_ERROR, /* An I/O error occurred */ + CUPS_SC_STATUS_TIMEOUT, /* The backend did not respond */ + CUPS_SC_STATUS_NO_RESPONSE, /* The device did not respond */ + CUPS_SC_STATUS_BAD_MESSAGE, /* The command/response message was invalid */ + CUPS_SC_STATUS_TOO_BIG, /* Response too big */ + CUPS_SC_STATUS_NOT_IMPLEMENTED /* Command not implemented */ +}; +typedef enum cups_sc_status_e cups_sc_status_t; + /**** Response status codes ****/ + +typedef void (*cups_sc_walk_func_t)(const char *oid, const char *data, + int datalen, void *context); + /**** SNMP walk callback ****/ + + +/* + * Prototypes... + */ + +/**** New in CUPS 1.2/macOS 10.5 ****/ +extern ssize_t cupsBackChannelRead(char *buffer, size_t bytes, + double timeout) _CUPS_API_1_2; +extern ssize_t cupsBackChannelWrite(const char *buffer, size_t bytes, + double timeout) _CUPS_API_1_2; + +/**** New in CUPS 1.3/macOS 10.5 ****/ +extern cups_sc_status_t cupsSideChannelDoRequest(cups_sc_command_t command, + char *data, int *datalen, + double timeout) _CUPS_API_1_3; +extern int cupsSideChannelRead(cups_sc_command_t *command, + cups_sc_status_t *status, + char *data, int *datalen, + double timeout) _CUPS_API_1_3; +extern int cupsSideChannelWrite(cups_sc_command_t command, + cups_sc_status_t status, + const char *data, int datalen, + double timeout) _CUPS_API_1_3; + +/**** New in CUPS 1.4/macOS 10.6 ****/ +extern cups_sc_status_t cupsSideChannelSNMPGet(const char *oid, char *data, + int *datalen, double timeout) + _CUPS_API_1_4; +extern cups_sc_status_t cupsSideChannelSNMPWalk(const char *oid, double timeout, + cups_sc_walk_func_t cb, + void *context) _CUPS_API_1_4; + + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_SIDECHANNEL_H_ */ diff --git a/cups/snmp-private.h b/cups/snmp-private.h new file mode 100644 index 0000000..3613019 --- /dev/null +++ b/cups/snmp-private.h @@ -0,0 +1,134 @@ +/* + * Private SNMP definitions for CUPS. + * + * Copyright © 2007-2014 by Apple Inc. + * Copyright © 2006-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_SNMP_PRIVATE_H_ +# define _CUPS_SNMP_PRIVATE_H_ + + +/* + * Include necessary headers. + */ + +#include + + +/* + * Constants... + */ + +#define CUPS_SNMP_PORT 161 /* SNMP well-known port */ +#define CUPS_SNMP_MAX_COMMUNITY 512 /* Maximum size of community name */ +#define CUPS_SNMP_MAX_OID 128 /* Maximum number of OID numbers */ +#define CUPS_SNMP_MAX_PACKET 1472 /* Maximum size of SNMP packet */ +#define CUPS_SNMP_MAX_STRING 1024 /* Maximum size of string */ +#define CUPS_SNMP_VERSION_1 0 /* SNMPv1 */ + + +/* + * Types... + */ + +enum cups_asn1_e /**** ASN1 request/object types ****/ +{ + CUPS_ASN1_END_OF_CONTENTS = 0x00, /* End-of-contents */ + CUPS_ASN1_BOOLEAN = 0x01, /* BOOLEAN */ + CUPS_ASN1_INTEGER = 0x02, /* INTEGER or ENUMERATION */ + CUPS_ASN1_BIT_STRING = 0x03, /* BIT STRING */ + CUPS_ASN1_OCTET_STRING = 0x04, /* OCTET STRING */ + CUPS_ASN1_NULL_VALUE = 0x05, /* NULL VALUE */ + CUPS_ASN1_OID = 0x06, /* OBJECT IDENTIFIER */ + CUPS_ASN1_SEQUENCE = 0x30, /* SEQUENCE */ + CUPS_ASN1_HEX_STRING = 0x40, /* Binary string aka Hex-STRING */ + CUPS_ASN1_COUNTER = 0x41, /* 32-bit unsigned aka Counter32 */ + CUPS_ASN1_GAUGE = 0x42, /* 32-bit unsigned aka Gauge32 */ + CUPS_ASN1_TIMETICKS = 0x43, /* 32-bit unsigned aka Timeticks32 */ + CUPS_ASN1_GET_REQUEST = 0xa0, /* GetRequest-PDU */ + CUPS_ASN1_GET_NEXT_REQUEST = 0xa1, /* GetNextRequest-PDU */ + CUPS_ASN1_GET_RESPONSE = 0xa2 /* GetResponse-PDU */ +}; +typedef enum cups_asn1_e cups_asn1_t; /**** ASN1 request/object types ****/ + +typedef struct cups_snmp_string_s /**** String value ****/ +{ + unsigned char bytes[CUPS_SNMP_MAX_STRING]; + /* Bytes in string */ + unsigned num_bytes; /* Number of bytes */ +} cups_snmp_string_t; + +union cups_snmp_value_u /**** Object value ****/ +{ + int boolean; /* Boolean value */ + int integer; /* Integer value */ + int counter; /* Counter value */ + unsigned gauge; /* Gauge value */ + unsigned timeticks; /* Timeticks value */ + int oid[CUPS_SNMP_MAX_OID]; /* OID value */ + cups_snmp_string_t string; /* String value */ +}; + +typedef struct cups_snmp_s /**** SNMP data packet ****/ +{ + const char *error; /* Encode/decode error */ + http_addr_t address; /* Source address */ + int version; /* Version number */ + char community[CUPS_SNMP_MAX_COMMUNITY]; + /* Community name */ + cups_asn1_t request_type; /* Request type */ + unsigned request_id; /* request-id value */ + int error_status; /* error-status value */ + int error_index; /* error-index value */ + int object_name[CUPS_SNMP_MAX_OID]; + /* object-name value */ + cups_asn1_t object_type; /* object-value type */ + union cups_snmp_value_u + object_value; /* object-value value */ +} cups_snmp_t; + +typedef void (*cups_snmp_cb_t)(cups_snmp_t *packet, void *data); + +/* + * Prototypes... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + +extern void _cupsSNMPClose(int fd) _CUPS_PRIVATE; +extern int *_cupsSNMPCopyOID(int *dst, const int *src, int dstsize) + _CUPS_PRIVATE; +extern const char *_cupsSNMPDefaultCommunity(void) _CUPS_PRIVATE; +extern int _cupsSNMPIsOID(cups_snmp_t *packet, const int *oid) + _CUPS_PRIVATE; +extern int _cupsSNMPIsOIDPrefixed(cups_snmp_t *packet, + const int *prefix) _CUPS_PRIVATE; +extern char *_cupsSNMPOIDToString(const int *src, char *dst, + size_t dstsize) _CUPS_PRIVATE; +extern int _cupsSNMPOpen(int family) _CUPS_PRIVATE; +extern cups_snmp_t *_cupsSNMPRead(int fd, cups_snmp_t *packet, + double timeout) _CUPS_PRIVATE; +extern void _cupsSNMPSetDebug(int level) _CUPS_PRIVATE; +extern int *_cupsSNMPStringToOID(const char *src, + int *dst, int dstsize) + _CUPS_PRIVATE; +extern int _cupsSNMPWalk(int fd, http_addr_t *address, int version, + const char *community, const int *prefix, + double timeout, cups_snmp_cb_t cb, + void *data) _CUPS_PRIVATE; +extern int _cupsSNMPWrite(int fd, http_addr_t *address, int version, + const char *community, + cups_asn1_t request_type, + const unsigned request_id, + const int *oid) _CUPS_PRIVATE; + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_SNMP_PRIVATE_H_ */ diff --git a/cups/snmp.c b/cups/snmp.c new file mode 100644 index 0000000..6da119d --- /dev/null +++ b/cups/snmp.c @@ -0,0 +1,1696 @@ +/* + * SNMP functions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 2006-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include "cups-private.h" +#include "snmp-private.h" +#include "debug-internal.h" +#ifdef HAVE_POLL +# include +#endif /* HAVE_POLL */ + + +/* + * Local functions... + */ + +static void asn1_debug(const char *prefix, unsigned char *buffer, + size_t len, int indent); +static int asn1_decode_snmp(unsigned char *buffer, size_t len, + cups_snmp_t *packet); +static int asn1_encode_snmp(unsigned char *buffer, size_t len, + cups_snmp_t *packet); +static int asn1_get_integer(unsigned char **buffer, + unsigned char *bufend, + unsigned length); +static int asn1_get_oid(unsigned char **buffer, + unsigned char *bufend, + unsigned length, int *oid, int oidsize); +static int asn1_get_packed(unsigned char **buffer, + unsigned char *bufend); +static char *asn1_get_string(unsigned char **buffer, + unsigned char *bufend, + unsigned length, char *string, + size_t strsize); +static unsigned asn1_get_length(unsigned char **buffer, + unsigned char *bufend); +static int asn1_get_type(unsigned char **buffer, + unsigned char *bufend); +static void asn1_set_integer(unsigned char **buffer, + int integer); +static void asn1_set_length(unsigned char **buffer, + unsigned length); +static void asn1_set_oid(unsigned char **buffer, + const int *oid); +static void asn1_set_packed(unsigned char **buffer, + int integer); +static unsigned asn1_size_integer(int integer); +static unsigned asn1_size_length(unsigned length); +static unsigned asn1_size_oid(const int *oid); +static unsigned asn1_size_packed(int integer); +static void snmp_set_error(cups_snmp_t *packet, + const char *message); + + +/* + * '_cupsSNMPClose()' - Close a SNMP socket. + */ + +void +_cupsSNMPClose(int fd) /* I - SNMP socket file descriptor */ +{ + DEBUG_printf(("4_cupsSNMPClose(fd=%d)", fd)); + + httpAddrClose(NULL, fd); +} + + +/* + * '_cupsSNMPCopyOID()' - Copy an OID. + * + * The array pointed to by "src" is terminated by the value -1. + */ + +int * /* O - New OID */ +_cupsSNMPCopyOID(int *dst, /* I - Destination OID */ + const int *src, /* I - Source OID */ + int dstsize) /* I - Number of integers in dst */ +{ + int i; /* Looping var */ + + + DEBUG_printf(("4_cupsSNMPCopyOID(dst=%p, src=%p, dstsize=%d)", dst, src, + dstsize)); + + for (i = 0, dstsize --; src[i] >= 0 && i < dstsize; i ++) + dst[i] = src[i]; + + dst[i] = -1; + + return (dst); +} + + +/* + * '_cupsSNMPDefaultCommunity()' - Get the default SNMP community name. + * + * The default community name is the first community name found in the + * snmp.conf file. If no community name is defined there, "public" is used. + */ + +const char * /* O - Default community name */ +_cupsSNMPDefaultCommunity(void) +{ + cups_file_t *fp; /* snmp.conf file */ + char line[1024], /* Line from file */ + *value; /* Value from file */ + int linenum; /* Line number in file */ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + + DEBUG_puts("4_cupsSNMPDefaultCommunity()"); + + if (!cg->snmp_community[0]) + { + strlcpy(cg->snmp_community, "public", sizeof(cg->snmp_community)); + + snprintf(line, sizeof(line), "%s/snmp.conf", cg->cups_serverroot); + if ((fp = cupsFileOpen(line, "r")) != NULL) + { + linenum = 0; + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + if (!_cups_strcasecmp(line, "Community")) + { + if (value) + strlcpy(cg->snmp_community, value, sizeof(cg->snmp_community)); + else + cg->snmp_community[0] = '\0'; + + break; + } + + cupsFileClose(fp); + } + } + + DEBUG_printf(("5_cupsSNMPDefaultCommunity: Returning \"%s\"", + cg->snmp_community)); + + return (cg->snmp_community); +} + + +/* + * '_cupsSNMPIsOID()' - Test whether a SNMP response contains the specified OID. + * + * The array pointed to by "oid" is terminated by the value -1. + */ + +int /* O - 1 if equal, 0 if not equal */ +_cupsSNMPIsOID(cups_snmp_t *packet, /* I - Response packet */ + const int *oid) /* I - OID */ +{ + int i; /* Looping var */ + + + /* + * Range check input... + */ + + DEBUG_printf(("4_cupsSNMPIsOID(packet=%p, oid=%p)", packet, oid)); + + if (!packet || !oid) + { + DEBUG_puts("5_cupsSNMPIsOID: Returning 0"); + + return (0); + } + + /* + * Compare OIDs... + */ + + for (i = 0; + i < CUPS_SNMP_MAX_OID && oid[i] >= 0 && packet->object_name[i] >= 0; + i ++) + if (oid[i] != packet->object_name[i]) + { + DEBUG_puts("5_cupsSNMPIsOID: Returning 0"); + + return (0); + } + + DEBUG_printf(("5_cupsSNMPIsOID: Returning %d", + i < CUPS_SNMP_MAX_OID && oid[i] == packet->object_name[i])); + + return (i < CUPS_SNMP_MAX_OID && oid[i] == packet->object_name[i]); +} + + +/* + * '_cupsSNMPIsOIDPrefixed()' - Test whether a SNMP response uses the specified + * OID prefix. + * + * The array pointed to by "prefix" is terminated by the value -1. + */ + +int /* O - 1 if prefixed, 0 if not prefixed */ +_cupsSNMPIsOIDPrefixed( + cups_snmp_t *packet, /* I - Response packet */ + const int *prefix) /* I - OID prefix */ +{ + int i; /* Looping var */ + + + /* + * Range check input... + */ + + DEBUG_printf(("4_cupsSNMPIsOIDPrefixed(packet=%p, prefix=%p)", packet, + prefix)); + + if (!packet || !prefix) + { + DEBUG_puts("5_cupsSNMPIsOIDPrefixed: Returning 0"); + + return (0); + } + + /* + * Compare OIDs... + */ + + for (i = 0; + i < CUPS_SNMP_MAX_OID && prefix[i] >= 0 && packet->object_name[i] >= 0; + i ++) + if (prefix[i] != packet->object_name[i]) + { + DEBUG_puts("5_cupsSNMPIsOIDPrefixed: Returning 0"); + + return (0); + } + + DEBUG_printf(("5_cupsSNMPIsOIDPrefixed: Returning %d", + i < CUPS_SNMP_MAX_OID)); + + return (i < CUPS_SNMP_MAX_OID); +} + + +/* + * '_cupsSNMPOIDToString()' - Convert an OID to a string. + */ + + +char * /* O - New string or @code NULL@ on error */ +_cupsSNMPOIDToString(const int *src, /* I - OID */ + char *dst, /* I - String buffer */ + size_t dstsize) /* I - Size of string buffer */ +{ + char *dstptr, /* Pointer into string buffer */ + *dstend; /* End of string buffer */ + + + DEBUG_printf(("4_cupsSNMPOIDToString(src=%p, dst=%p, dstsize=" CUPS_LLFMT ")", + src, dst, CUPS_LLCAST dstsize)); + + /* + * Range check input... + */ + + if (!src || !dst || dstsize < 4) + return (NULL); + + /* + * Loop through the OID array and build a string... + */ + + for (dstptr = dst, dstend = dstptr + dstsize - 1; + *src >= 0 && dstptr < dstend; + src ++, dstptr += strlen(dstptr)) + snprintf(dstptr, (size_t)(dstend - dstptr + 1), ".%d", *src); + + if (*src >= 0) + return (NULL); + else + return (dst); +} + + +/* + * '_cupsSNMPOpen()' - Open a SNMP socket. + */ + +int /* O - SNMP socket file descriptor */ +_cupsSNMPOpen(int family) /* I - Address family - @code AF_INET@ or @code AF_INET6@ */ +{ + int fd; /* SNMP socket file descriptor */ + int val; /* Socket option value */ + + + /* + * Create the SNMP socket... + */ + + DEBUG_printf(("4_cupsSNMPOpen(family=%d)", family)); + + if ((fd = socket(family, SOCK_DGRAM, 0)) < 0) + { + DEBUG_printf(("5_cupsSNMPOpen: Returning -1 (%s)", strerror(errno))); + + return (-1); + } + + /* + * Set the "broadcast" flag... + */ + + val = 1; + + if (setsockopt(fd, SOL_SOCKET, SO_BROADCAST, CUPS_SOCAST &val, sizeof(val))) + { + DEBUG_printf(("5_cupsSNMPOpen: Returning -1 (%s)", strerror(errno))); + + close(fd); + + return (-1); + } + + DEBUG_printf(("5_cupsSNMPOpen: Returning %d", fd)); + + return (fd); +} + + +/* + * '_cupsSNMPRead()' - Read and parse a SNMP response. + * + * If "timeout" is negative, @code _cupsSNMPRead@ will wait for a response + * indefinitely. + */ + +cups_snmp_t * /* O - SNMP packet or @code NULL@ if none */ +_cupsSNMPRead(int fd, /* I - SNMP socket file descriptor */ + cups_snmp_t *packet, /* I - SNMP packet buffer */ + double timeout) /* I - Timeout in seconds */ +{ + unsigned char buffer[CUPS_SNMP_MAX_PACKET]; + /* Data packet */ + ssize_t bytes; /* Number of bytes received */ + socklen_t addrlen; /* Source address length */ + http_addr_t address; /* Source address */ + + + /* + * Range check input... + */ + + DEBUG_printf(("4_cupsSNMPRead(fd=%d, packet=%p, timeout=%.1f)", fd, packet, + timeout)); + + if (fd < 0 || !packet) + { + DEBUG_puts("5_cupsSNMPRead: Returning NULL"); + + return (NULL); + } + + /* + * Optionally wait for a response... + */ + + if (timeout >= 0.0) + { + int ready; /* Data ready on socket? */ +#ifdef HAVE_POLL + struct pollfd pfd; /* Polled file descriptor */ + + pfd.fd = fd; + pfd.events = POLLIN; + + while ((ready = poll(&pfd, 1, (int)(timeout * 1000.0))) < 0 && + (errno == EINTR || errno == EAGAIN)); + +#else + fd_set input_set; /* select() input set */ + struct timeval stimeout; /* select() timeout */ + + do + { + FD_ZERO(&input_set); + FD_SET(fd, &input_set); + + stimeout.tv_sec = (int)timeout; + stimeout.tv_usec = (int)((timeout - stimeout.tv_sec) * 1000000); + + ready = select(fd + 1, &input_set, NULL, NULL, &stimeout); + } +# ifdef _WIN32 + while (ready < 0 && WSAGetLastError() == WSAEINTR); +# else + while (ready < 0 && (errno == EINTR || errno == EAGAIN)); +# endif /* _WIN32 */ +#endif /* HAVE_POLL */ + + /* + * If we don't have any data ready, return right away... + */ + + if (ready <= 0) + { + DEBUG_puts("5_cupsSNMPRead: Returning NULL (timeout)"); + + return (NULL); + } + } + + /* + * Read the response data... + */ + + addrlen = sizeof(address); + + if ((bytes = recvfrom(fd, buffer, sizeof(buffer), 0, (void *)&address, + &addrlen)) < 0) + { + DEBUG_printf(("5_cupsSNMPRead: Returning NULL (%s)", strerror(errno))); + + return (NULL); + } + + /* + * Look for the response status code in the SNMP message header... + */ + + asn1_debug("DEBUG: IN ", buffer, (size_t)bytes, 0); + + asn1_decode_snmp(buffer, (size_t)bytes, packet); + + memcpy(&(packet->address), &address, sizeof(packet->address)); + + /* + * Return decoded data packet... + */ + + DEBUG_puts("5_cupsSNMPRead: Returning packet"); + + return (packet); +} + + +/* + * '_cupsSNMPSetDebug()' - Enable/disable debug logging to stderr. + */ + +void +_cupsSNMPSetDebug(int level) /* I - 1 to enable debug output, 0 otherwise */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + + DEBUG_printf(("4_cupsSNMPSetDebug(level=%d)", level)); + + cg->snmp_debug = level; +} + + +/* + * '_cupsSNMPStringToOID()' - Convert a numeric OID string to an OID array. + * + * This function converts a string of the form ".N.N.N.N.N" to the + * corresponding OID array terminated by -1. + * + * @code NULL@ is returned if the array is not large enough or the string is + * not a valid OID number. + */ + +int * /* O - Pointer to OID array or @code NULL@ on error */ +_cupsSNMPStringToOID(const char *src, /* I - OID string */ + int *dst, /* I - OID array */ + int dstsize)/* I - Number of integers in OID array */ +{ + int *dstptr, /* Pointer into OID array */ + *dstend; /* End of OID array */ + + + DEBUG_printf(("4_cupsSNMPStringToOID(src=\"%s\", dst=%p, dstsize=%d)", + src, dst, dstsize)); + + /* + * Range check input... + */ + + if (!src || !dst || dstsize < 2) + return (NULL); + + /* + * Skip leading "."... + */ + + if (*src == '.') + src ++; + + /* + * Loop to the end of the string... + */ + + for (dstend = dst + dstsize - 1, dstptr = dst, *dstptr = 0; + *src && dstptr < dstend; + src ++) + { + if (*src == '.') + { + dstptr ++; + *dstptr = 0; + } + else if (isdigit(*src & 255)) + *dstptr = *dstptr * 10 + *src - '0'; + else + break; + } + + if (*src) + return (NULL); + + /* + * Terminate the end of the OID array and return... + */ + + dstptr[1] = -1; + + return (dst); +} + + +/* + * '_cupsSNMPWalk()' - Enumerate a group of OIDs. + * + * This function queries all of the OIDs with the specified OID prefix, + * calling the "cb" function for every response that is received. + * + * The array pointed to by "prefix" is terminated by the value -1. + * + * If "timeout" is negative, @code _cupsSNMPWalk@ will wait for a response + * indefinitely. + */ + +int /* O - Number of OIDs found or -1 on error */ +_cupsSNMPWalk(int fd, /* I - SNMP socket */ + http_addr_t *address, /* I - Address to query */ + int version, /* I - SNMP version */ + const char *community,/* I - Community name */ + const int *prefix, /* I - OID prefix */ + double timeout, /* I - Timeout for each response in seconds */ + cups_snmp_cb_t cb, /* I - Function to call for each response */ + void *data) /* I - User data pointer that is passed to the callback function */ +{ + int count = 0; /* Number of OIDs found */ + unsigned request_id = 0; /* Current request ID */ + cups_snmp_t packet; /* Current response packet */ + int lastoid[CUPS_SNMP_MAX_OID]; + /* Last OID we got */ + + + /* + * Range check input... + */ + + DEBUG_printf(("4_cupsSNMPWalk(fd=%d, address=%p, version=%d, " + "community=\"%s\", prefix=%p, timeout=%.1f, cb=%p, data=%p)", + fd, address, version, community, prefix, timeout, cb, data)); + + if (fd < 0 || !address || version != CUPS_SNMP_VERSION_1 || !community || + !prefix || !cb) + { + DEBUG_puts("5_cupsSNMPWalk: Returning -1"); + + return (-1); + } + + /* + * Copy the OID prefix and then loop until we have no more OIDs... + */ + + _cupsSNMPCopyOID(packet.object_name, prefix, CUPS_SNMP_MAX_OID); + lastoid[0] = -1; + + for (;;) + { + request_id ++; + + if (!_cupsSNMPWrite(fd, address, version, community, + CUPS_ASN1_GET_NEXT_REQUEST, request_id, + packet.object_name)) + { + DEBUG_puts("5_cupsSNMPWalk: Returning -1"); + + return (-1); + } + + if (!_cupsSNMPRead(fd, &packet, timeout)) + { + DEBUG_puts("5_cupsSNMPWalk: Returning -1"); + + return (-1); + } + + if (!_cupsSNMPIsOIDPrefixed(&packet, prefix) || + _cupsSNMPIsOID(&packet, lastoid)) + { + DEBUG_printf(("5_cupsSNMPWalk: Returning %d", count)); + + return (count); + } + + if (packet.error || packet.error_status) + { + DEBUG_printf(("5_cupsSNMPWalk: Returning %d", count > 0 ? count : -1)); + + return (count > 0 ? count : -1); + } + + _cupsSNMPCopyOID(lastoid, packet.object_name, CUPS_SNMP_MAX_OID); + + count ++; + + (*cb)(&packet, data); + } +} + + +/* + * '_cupsSNMPWrite()' - Send an SNMP query packet. + * + * The array pointed to by "oid" is terminated by the value -1. + */ + +int /* O - 1 on success, 0 on error */ +_cupsSNMPWrite( + int fd, /* I - SNMP socket */ + http_addr_t *address, /* I - Address to send to */ + int version, /* I - SNMP version */ + const char *community, /* I - Community name */ + cups_asn1_t request_type, /* I - Request type */ + const unsigned request_id, /* I - Request ID */ + const int *oid) /* I - OID */ +{ + int i; /* Looping var */ + cups_snmp_t packet; /* SNMP message packet */ + unsigned char buffer[CUPS_SNMP_MAX_PACKET]; + /* SNMP message buffer */ + ssize_t bytes; /* Size of message */ + http_addr_t temp; /* Copy of address */ + + + /* + * Range check input... + */ + + DEBUG_printf(("4_cupsSNMPWrite(fd=%d, address=%p, version=%d, " + "community=\"%s\", request_type=%d, request_id=%u, oid=%p)", + fd, address, version, community, request_type, request_id, oid)); + + if (fd < 0 || !address || version != CUPS_SNMP_VERSION_1 || !community || + (request_type != CUPS_ASN1_GET_REQUEST && + request_type != CUPS_ASN1_GET_NEXT_REQUEST) || request_id < 1 || !oid) + { + DEBUG_puts("5_cupsSNMPWrite: Returning 0 (bad arguments)"); + + return (0); + } + + /* + * Create the SNMP message... + */ + + memset(&packet, 0, sizeof(packet)); + + packet.version = version; + packet.request_type = request_type; + packet.request_id = request_id; + packet.object_type = CUPS_ASN1_NULL_VALUE; + + strlcpy(packet.community, community, sizeof(packet.community)); + + for (i = 0; oid[i] >= 0 && i < (CUPS_SNMP_MAX_OID - 1); i ++) + packet.object_name[i] = oid[i]; + packet.object_name[i] = -1; + + if (oid[i] >= 0) + { + DEBUG_puts("5_cupsSNMPWrite: Returning 0 (OID too big)"); + + errno = E2BIG; + return (0); + } + + bytes = asn1_encode_snmp(buffer, sizeof(buffer), &packet); + + if (bytes < 0) + { + DEBUG_puts("5_cupsSNMPWrite: Returning 0 (request too big)"); + + errno = E2BIG; + return (0); + } + + asn1_debug("DEBUG: OUT ", buffer, (size_t)bytes, 0); + + /* + * Send the message... + */ + + temp = *address; + + _httpAddrSetPort(&temp, CUPS_SNMP_PORT); + + return (sendto(fd, buffer, (size_t)bytes, 0, (void *)&temp, (socklen_t)httpAddrLength(&temp)) == bytes); +} + + +/* + * 'asn1_debug()' - Decode an ASN1-encoded message. + */ + +static void +asn1_debug(const char *prefix, /* I - Prefix string */ + unsigned char *buffer, /* I - Buffer */ + size_t len, /* I - Length of buffer */ + int indent) /* I - Indentation */ +{ + size_t i; /* Looping var */ + unsigned char *bufend; /* End of buffer */ + int integer; /* Number value */ + int oid[CUPS_SNMP_MAX_OID]; /* OID value */ + char string[CUPS_SNMP_MAX_STRING]; + /* String value */ + unsigned char value_type; /* Type of value */ + unsigned value_length; /* Length of value */ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + +#ifdef __clang_analyzer__ /* Suppress bogus clang error */ + memset(string, 0, sizeof(string)); +#endif /* __clang_analyzer__ */ + + if (cg->snmp_debug <= 0) + return; + + if (cg->snmp_debug > 1 && indent == 0) + { + /* + * Do a hex dump of the packet... + */ + + size_t j; + + fprintf(stderr, "%sHex Dump (%d bytes):\n", prefix, (int)len); + + for (i = 0; i < len; i += 16) + { + fprintf(stderr, "%s%04x:", prefix, (unsigned)i); + + for (j = 0; j < 16 && (i + j) < len; j ++) + { + if (j && !(j & 3)) + fprintf(stderr, " %02x", buffer[i + j]); + else + fprintf(stderr, " %02x", buffer[i + j]); + } + + while (j < 16) + { + if (j && !(j & 3)) + fputs(" ", stderr); + else + fputs(" ", stderr); + + j ++; + } + + fputs(" ", stderr); + + for (j = 0; j < 16 && (i + j) < len; j ++) + if (buffer[i + j] < ' ' || buffer[i + j] >= 0x7f) + putc('.', stderr); + else + putc(buffer[i + j], stderr); + + putc('\n', stderr); + } + } + + if (indent == 0) + fprintf(stderr, "%sMessage:\n", prefix); + + bufend = buffer + len; + + while (buffer < bufend) + { + /* + * Get value type... + */ + + value_type = (unsigned char)asn1_get_type(&buffer, bufend); + value_length = asn1_get_length(&buffer, bufend); + + switch (value_type) + { + case CUPS_ASN1_BOOLEAN : + integer = asn1_get_integer(&buffer, bufend, value_length); + + fprintf(stderr, "%s%*sBOOLEAN %d bytes %d\n", prefix, indent, "", + value_length, integer); + break; + + case CUPS_ASN1_INTEGER : + integer = asn1_get_integer(&buffer, bufend, value_length); + + fprintf(stderr, "%s%*sINTEGER %d bytes %d\n", prefix, indent, "", + value_length, integer); + break; + + case CUPS_ASN1_COUNTER : + integer = asn1_get_integer(&buffer, bufend, value_length); + + fprintf(stderr, "%s%*sCOUNTER %d bytes %u\n", prefix, indent, "", + value_length, (unsigned)integer); + break; + + case CUPS_ASN1_GAUGE : + integer = asn1_get_integer(&buffer, bufend, value_length); + + fprintf(stderr, "%s%*sGAUGE %d bytes %u\n", prefix, indent, "", + value_length, (unsigned)integer); + break; + + case CUPS_ASN1_TIMETICKS : + integer = asn1_get_integer(&buffer, bufend, value_length); + + fprintf(stderr, "%s%*sTIMETICKS %d bytes %u\n", prefix, indent, "", + value_length, (unsigned)integer); + break; + + case CUPS_ASN1_OCTET_STRING : + fprintf(stderr, "%s%*sOCTET STRING %d bytes \"%s\"\n", prefix, + indent, "", value_length, + asn1_get_string(&buffer, bufend, value_length, string, + sizeof(string))); + break; + + case CUPS_ASN1_HEX_STRING : + asn1_get_string(&buffer, bufend, value_length, string, + sizeof(string)); + fprintf(stderr, "%s%*sHex-STRING %d bytes", prefix, + indent, "", value_length); + for (i = 0; i < value_length; i ++) + fprintf(stderr, " %02X", string[i] & 255); + putc('\n', stderr); + break; + + case CUPS_ASN1_NULL_VALUE : + fprintf(stderr, "%s%*sNULL VALUE %d bytes\n", prefix, indent, "", + value_length); + + buffer += value_length; + break; + + case CUPS_ASN1_OID : + integer = asn1_get_oid(&buffer, bufend, value_length, oid, + CUPS_SNMP_MAX_OID); + + fprintf(stderr, "%s%*sOID %d bytes ", prefix, indent, "", + value_length); + for (i = 0; i < (unsigned)integer; i ++) + fprintf(stderr, ".%d", oid[i]); + putc('\n', stderr); + break; + + case CUPS_ASN1_SEQUENCE : + fprintf(stderr, "%s%*sSEQUENCE %d bytes\n", prefix, indent, "", + value_length); + asn1_debug(prefix, buffer, value_length, indent + 4); + + buffer += value_length; + break; + + case CUPS_ASN1_GET_NEXT_REQUEST : + fprintf(stderr, "%s%*sGet-Next-Request-PDU %d bytes\n", prefix, + indent, "", value_length); + asn1_debug(prefix, buffer, value_length, indent + 4); + + buffer += value_length; + break; + + case CUPS_ASN1_GET_REQUEST : + fprintf(stderr, "%s%*sGet-Request-PDU %d bytes\n", prefix, indent, "", + value_length); + asn1_debug(prefix, buffer, value_length, indent + 4); + + buffer += value_length; + break; + + case CUPS_ASN1_GET_RESPONSE : + fprintf(stderr, "%s%*sGet-Response-PDU %d bytes\n", prefix, indent, + "", value_length); + asn1_debug(prefix, buffer, value_length, indent + 4); + + buffer += value_length; + break; + + default : + fprintf(stderr, "%s%*sUNKNOWN(%x) %d bytes\n", prefix, indent, "", + value_type, value_length); + + buffer += value_length; + break; + } + } +} + + +/* + * 'asn1_decode_snmp()' - Decode a SNMP packet. + */ + +static int /* O - 0 on success, -1 on error */ +asn1_decode_snmp(unsigned char *buffer, /* I - Buffer */ + size_t len, /* I - Size of buffer */ + cups_snmp_t *packet) /* I - SNMP packet */ +{ + unsigned char *bufptr, /* Pointer into the data */ + *bufend; /* End of data */ + unsigned length; /* Length of value */ + + + /* + * Initialize the decoding... + */ + + memset(packet, 0, sizeof(cups_snmp_t)); + packet->object_name[0] = -1; + + bufptr = buffer; + bufend = buffer + len; + + if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_SEQUENCE) + snmp_set_error(packet, _("Packet does not start with SEQUENCE")); + else if (asn1_get_length(&bufptr, bufend) == 0) + snmp_set_error(packet, _("SEQUENCE uses indefinite length")); + else if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_INTEGER) + snmp_set_error(packet, _("No version number")); + else if ((length = asn1_get_length(&bufptr, bufend)) == 0) + snmp_set_error(packet, _("Version uses indefinite length")); + else if ((packet->version = asn1_get_integer(&bufptr, bufend, length)) + != CUPS_SNMP_VERSION_1) + snmp_set_error(packet, _("Bad SNMP version number")); + else if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_OCTET_STRING) + snmp_set_error(packet, _("No community name")); + else if ((length = asn1_get_length(&bufptr, bufend)) == 0) + snmp_set_error(packet, _("Community name uses indefinite length")); + else + { + asn1_get_string(&bufptr, bufend, length, packet->community, + sizeof(packet->community)); + + if ((packet->request_type = (cups_asn1_t)asn1_get_type(&bufptr, bufend)) + != CUPS_ASN1_GET_RESPONSE) + snmp_set_error(packet, _("Packet does not contain a Get-Response-PDU")); + else if (asn1_get_length(&bufptr, bufend) == 0) + snmp_set_error(packet, _("Get-Response-PDU uses indefinite length")); + else if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_INTEGER) + snmp_set_error(packet, _("No request-id")); + else if ((length = asn1_get_length(&bufptr, bufend)) == 0) + snmp_set_error(packet, _("request-id uses indefinite length")); + else + { + packet->request_id = (unsigned)asn1_get_integer(&bufptr, bufend, length); + + if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_INTEGER) + snmp_set_error(packet, _("No error-status")); + else if ((length = asn1_get_length(&bufptr, bufend)) == 0) + snmp_set_error(packet, _("error-status uses indefinite length")); + else + { + packet->error_status = asn1_get_integer(&bufptr, bufend, length); + + if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_INTEGER) + snmp_set_error(packet, _("No error-index")); + else if ((length = asn1_get_length(&bufptr, bufend)) == 0) + snmp_set_error(packet, _("error-index uses indefinite length")); + else + { + packet->error_index = asn1_get_integer(&bufptr, bufend, length); + + if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_SEQUENCE) + snmp_set_error(packet, _("No variable-bindings SEQUENCE")); + else if (asn1_get_length(&bufptr, bufend) == 0) + snmp_set_error(packet, + _("variable-bindings uses indefinite length")); + else if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_SEQUENCE) + snmp_set_error(packet, _("No VarBind SEQUENCE")); + else if (asn1_get_length(&bufptr, bufend) == 0) + snmp_set_error(packet, _("VarBind uses indefinite length")); + else if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_OID) + snmp_set_error(packet, _("No name OID")); + else if ((length = asn1_get_length(&bufptr, bufend)) == 0) + snmp_set_error(packet, _("Name OID uses indefinite length")); + else + { + asn1_get_oid(&bufptr, bufend, length, packet->object_name, + CUPS_SNMP_MAX_OID); + + packet->object_type = (cups_asn1_t)asn1_get_type(&bufptr, bufend); + + if ((length = asn1_get_length(&bufptr, bufend)) == 0 && + packet->object_type != CUPS_ASN1_NULL_VALUE && + packet->object_type != CUPS_ASN1_OCTET_STRING) + snmp_set_error(packet, _("Value uses indefinite length")); + else + { + switch (packet->object_type) + { + case CUPS_ASN1_BOOLEAN : + packet->object_value.boolean = + asn1_get_integer(&bufptr, bufend, length); + break; + + case CUPS_ASN1_INTEGER : + packet->object_value.integer = + asn1_get_integer(&bufptr, bufend, length); + break; + + case CUPS_ASN1_NULL_VALUE : + break; + + case CUPS_ASN1_OCTET_STRING : + case CUPS_ASN1_BIT_STRING : + case CUPS_ASN1_HEX_STRING : + packet->object_value.string.num_bytes = length; + asn1_get_string(&bufptr, bufend, length, + (char *)packet->object_value.string.bytes, + sizeof(packet->object_value.string.bytes)); + break; + + case CUPS_ASN1_OID : + asn1_get_oid(&bufptr, bufend, length, + packet->object_value.oid, CUPS_SNMP_MAX_OID); + break; + + case CUPS_ASN1_COUNTER : + packet->object_value.counter = + asn1_get_integer(&bufptr, bufend, length); + break; + + case CUPS_ASN1_GAUGE : + packet->object_value.gauge = + (unsigned)asn1_get_integer(&bufptr, bufend, length); + break; + + case CUPS_ASN1_TIMETICKS : + packet->object_value.timeticks = + (unsigned)asn1_get_integer(&bufptr, bufend, length); + break; + + default : + snmp_set_error(packet, _("Unsupported value type")); + break; + } + } + } + } + } + } + } + + return (packet->error ? -1 : 0); +} + + +/* + * 'asn1_encode_snmp()' - Encode a SNMP packet. + */ + +static int /* O - Length on success, -1 on error */ +asn1_encode_snmp(unsigned char *buffer, /* I - Buffer */ + size_t bufsize, /* I - Size of buffer */ + cups_snmp_t *packet) /* I - SNMP packet */ +{ + unsigned char *bufptr; /* Pointer into buffer */ + unsigned total, /* Total length */ + msglen, /* Length of entire message */ + commlen, /* Length of community string */ + reqlen, /* Length of request */ + listlen, /* Length of variable list */ + varlen, /* Length of variable */ + namelen, /* Length of object name OID */ + valuelen; /* Length of object value */ + + + /* + * Get the lengths of the community string, OID, and message... + */ + + + namelen = asn1_size_oid(packet->object_name); + + switch (packet->object_type) + { + case CUPS_ASN1_NULL_VALUE : + valuelen = 0; + break; + + case CUPS_ASN1_BOOLEAN : + valuelen = asn1_size_integer(packet->object_value.boolean); + break; + + case CUPS_ASN1_INTEGER : + valuelen = asn1_size_integer(packet->object_value.integer); + break; + + case CUPS_ASN1_OCTET_STRING : + valuelen = packet->object_value.string.num_bytes; + break; + + case CUPS_ASN1_OID : + valuelen = asn1_size_oid(packet->object_value.oid); + break; + + default : + packet->error = "Unknown object type"; + return (-1); + } + + varlen = 1 + asn1_size_length(namelen) + namelen + + 1 + asn1_size_length(valuelen) + valuelen; + listlen = 1 + asn1_size_length(varlen) + varlen; + reqlen = 2 + asn1_size_integer((int)packet->request_id) + + 2 + asn1_size_integer(packet->error_status) + + 2 + asn1_size_integer(packet->error_index) + + 1 + asn1_size_length(listlen) + listlen; + commlen = (unsigned)strlen(packet->community); + msglen = 2 + asn1_size_integer(packet->version) + + 1 + asn1_size_length(commlen) + commlen + + 1 + asn1_size_length(reqlen) + reqlen; + total = 1 + asn1_size_length(msglen) + msglen; + + if (total > bufsize) + { + packet->error = "Message too large for buffer"; + return (-1); + } + + /* + * Then format the message... + */ + + bufptr = buffer; + + *bufptr++ = CUPS_ASN1_SEQUENCE; /* SNMPv1 message header */ + asn1_set_length(&bufptr, msglen); + + asn1_set_integer(&bufptr, packet->version); + /* version */ + + *bufptr++ = CUPS_ASN1_OCTET_STRING; /* community */ + asn1_set_length(&bufptr, commlen); + memcpy(bufptr, packet->community, commlen); + bufptr += commlen; + + *bufptr++ = (unsigned char)packet->request_type; /* Get-Request-PDU/Get-Next-Request-PDU */ + asn1_set_length(&bufptr, reqlen); + + asn1_set_integer(&bufptr, (int)packet->request_id); + + asn1_set_integer(&bufptr, packet->error_status); + + asn1_set_integer(&bufptr, packet->error_index); + + *bufptr++ = CUPS_ASN1_SEQUENCE; /* variable-bindings */ + asn1_set_length(&bufptr, listlen); + + *bufptr++ = CUPS_ASN1_SEQUENCE; /* variable */ + asn1_set_length(&bufptr, varlen); + + asn1_set_oid(&bufptr, packet->object_name); + /* ObjectName */ + + switch (packet->object_type) + { + case CUPS_ASN1_NULL_VALUE : + *bufptr++ = CUPS_ASN1_NULL_VALUE; + /* ObjectValue */ + *bufptr++ = 0; /* Length */ + break; + + case CUPS_ASN1_BOOLEAN : + asn1_set_integer(&bufptr, packet->object_value.boolean); + break; + + case CUPS_ASN1_INTEGER : + asn1_set_integer(&bufptr, packet->object_value.integer); + break; + + case CUPS_ASN1_OCTET_STRING : + *bufptr++ = CUPS_ASN1_OCTET_STRING; + asn1_set_length(&bufptr, valuelen); + memcpy(bufptr, packet->object_value.string.bytes, valuelen); + bufptr += valuelen; + break; + + case CUPS_ASN1_OID : + asn1_set_oid(&bufptr, packet->object_value.oid); + break; + + default : + break; + } + + return ((int)(bufptr - buffer)); +} + + +/* + * 'asn1_get_integer()' - Get an integer value. + */ + +static int /* O - Integer value */ +asn1_get_integer( + unsigned char **buffer, /* IO - Pointer in buffer */ + unsigned char *bufend, /* I - End of buffer */ + unsigned length) /* I - Length of value */ +{ + int value; /* Integer value */ + + + if (*buffer >= bufend) + return (0); + + if (length > sizeof(int)) + { + (*buffer) += length; + return (0); + } + + for (value = (**buffer & 0x80) ? ~0 : 0; + length > 0 && *buffer < bufend; + length --, (*buffer) ++) + value = ((value & 0xffffff) << 8) | **buffer; + + return (value); +} + + +/* + * 'asn1_get_length()' - Get a value length. + */ + +static unsigned /* O - Length */ +asn1_get_length(unsigned char **buffer, /* IO - Pointer in buffer */ + unsigned char *bufend) /* I - End of buffer */ +{ + unsigned length; /* Length */ + + + if (*buffer >= bufend) + return (0); + + length = **buffer; + (*buffer) ++; + + if (length & 128) + { + int count; /* Number of bytes for length */ + + + if ((count = length & 127) > sizeof(unsigned)) + { + (*buffer) += count; + return (0); + } + + for (length = 0; + count > 0 && *buffer < bufend; + count --, (*buffer) ++) + length = (length << 8) | **buffer; + } + + return (length); +} + + +/* + * 'asn1_get_oid()' - Get an OID value. + */ + +static int /* O - Number of OIDs */ +asn1_get_oid( + unsigned char **buffer, /* IO - Pointer in buffer */ + unsigned char *bufend, /* I - End of buffer */ + unsigned length, /* I - Length of value */ + int *oid, /* I - OID buffer */ + int oidsize) /* I - Size of OID buffer */ +{ + unsigned char *valend; /* End of value */ + int *oidptr, /* Current OID */ + *oidend; /* End of OID buffer */ + int number; /* OID number */ + + + if (*buffer >= bufend) + return (0); + + valend = *buffer + length; + oidptr = oid; + oidend = oid + oidsize - 1; + + if (valend > bufend) + valend = bufend; + + number = asn1_get_packed(buffer, bufend); + + if (number < 80) + { + *oidptr++ = number / 40; + number = number % 40; + *oidptr++ = number; + } + else + { + *oidptr++ = 2; + number -= 80; + *oidptr++ = number; + } + + while (*buffer < valend) + { + number = asn1_get_packed(buffer, bufend); + + if (oidptr < oidend) + *oidptr++ = number; + } + + *oidptr = -1; + + return ((int)(oidptr - oid)); +} + + +/* + * 'asn1_get_packed()' - Get a packed integer value. + */ + +static int /* O - Value */ +asn1_get_packed( + unsigned char **buffer, /* IO - Pointer in buffer */ + unsigned char *bufend) /* I - End of buffer */ +{ + int value; /* Value */ + + + if (*buffer >= bufend) + return (0); + + value = 0; + + while (*buffer < bufend && (**buffer & 128)) + { + value = (value << 7) | (**buffer & 127); + (*buffer) ++; + } + + if (*buffer < bufend) + { + value = (value << 7) | **buffer; + (*buffer) ++; + } + + return (value); +} + + +/* + * 'asn1_get_string()' - Get a string value. + */ + +static char * /* O - String */ +asn1_get_string( + unsigned char **buffer, /* IO - Pointer in buffer */ + unsigned char *bufend, /* I - End of buffer */ + unsigned length, /* I - Value length */ + char *string, /* I - String buffer */ + size_t strsize) /* I - String buffer size */ +{ + if (*buffer >= bufend) + return (NULL); + + if (length > (unsigned)(bufend - *buffer)) + length = (unsigned)(bufend - *buffer); + + if (length < strsize) + { + /* + * String is smaller than the buffer... + */ + + if (length > 0) + memcpy(string, *buffer, length); + + string[length] = '\0'; + } + else + { + /* + * String is larger than the buffer... + */ + + memcpy(string, *buffer, strsize - 1); + string[strsize - 1] = '\0'; + } + + if (length > 0) + (*buffer) += length; + + return (string); +} + + +/* + * 'asn1_get_type()' - Get a value type. + */ + +static int /* O - Type */ +asn1_get_type(unsigned char **buffer, /* IO - Pointer in buffer */ + unsigned char *bufend) /* I - End of buffer */ +{ + int type; /* Type */ + + + if (*buffer >= bufend) + return (0); + + type = **buffer; + (*buffer) ++; + + if ((type & 31) == 31) + type = asn1_get_packed(buffer, bufend); + + return (type); +} + + +/* + * 'asn1_set_integer()' - Set an integer value. + */ + +static void +asn1_set_integer(unsigned char **buffer,/* IO - Pointer in buffer */ + int integer) /* I - Integer value */ +{ + **buffer = CUPS_ASN1_INTEGER; + (*buffer) ++; + + if (integer > 0x7fffff || integer < -0x800000) + { + **buffer = 4; + (*buffer) ++; + **buffer = (unsigned char)(integer >> 24); + (*buffer) ++; + **buffer = (unsigned char)(integer >> 16); + (*buffer) ++; + **buffer = (unsigned char)(integer >> 8); + (*buffer) ++; + **buffer = (unsigned char)integer; + (*buffer) ++; + } + else if (integer > 0x7fff || integer < -0x8000) + { + **buffer = 3; + (*buffer) ++; + **buffer = (unsigned char)(integer >> 16); + (*buffer) ++; + **buffer = (unsigned char)(integer >> 8); + (*buffer) ++; + **buffer = (unsigned char)integer; + (*buffer) ++; + } + else if (integer > 0x7f || integer < -0x80) + { + **buffer = 2; + (*buffer) ++; + **buffer = (unsigned char)(integer >> 8); + (*buffer) ++; + **buffer = (unsigned char)integer; + (*buffer) ++; + } + else + { + **buffer = 1; + (*buffer) ++; + **buffer = (unsigned char)integer; + (*buffer) ++; + } +} + + +/* + * 'asn1_set_length()' - Set a value length. + */ + +static void +asn1_set_length(unsigned char **buffer, /* IO - Pointer in buffer */ + unsigned length) /* I - Length value */ +{ + if (length > 255) + { + **buffer = 0x82; /* 2-byte length */ + (*buffer) ++; + **buffer = (unsigned char)(length >> 8); + (*buffer) ++; + **buffer = (unsigned char)length; + (*buffer) ++; + } + else if (length > 127) + { + **buffer = 0x81; /* 1-byte length */ + (*buffer) ++; + **buffer = (unsigned char)length; + (*buffer) ++; + } + else + { + **buffer = (unsigned char)length; /* Length */ + (*buffer) ++; + } +} + + +/* + * 'asn1_set_oid()' - Set an OID value. + */ + +static void +asn1_set_oid(unsigned char **buffer, /* IO - Pointer in buffer */ + const int *oid) /* I - OID value */ +{ + **buffer = CUPS_ASN1_OID; + (*buffer) ++; + + asn1_set_length(buffer, asn1_size_oid(oid)); + + if (oid[1] < 0) + { + asn1_set_packed(buffer, oid[0] * 40); + return; + } + + asn1_set_packed(buffer, oid[0] * 40 + oid[1]); + + for (oid += 2; *oid >= 0; oid ++) + asn1_set_packed(buffer, *oid); +} + + +/* + * 'asn1_set_packed()' - Set a packed integer value. + */ + +static void +asn1_set_packed(unsigned char **buffer, /* IO - Pointer in buffer */ + int integer) /* I - Integer value */ +{ + if (integer > 0xfffffff) + { + **buffer = ((integer >> 28) & 0x7f) | 0x80; + (*buffer) ++; + } + + if (integer > 0x1fffff) + { + **buffer = ((integer >> 21) & 0x7f) | 0x80; + (*buffer) ++; + } + + if (integer > 0x3fff) + { + **buffer = ((integer >> 14) & 0x7f) | 0x80; + (*buffer) ++; + } + + if (integer > 0x7f) + { + **buffer = ((integer >> 7) & 0x7f) | 0x80; + (*buffer) ++; + } + + **buffer = integer & 0x7f; + (*buffer) ++; +} + + +/* + * 'asn1_size_integer()' - Figure out the number of bytes needed for an + * integer value. + */ + +static unsigned /* O - Size in bytes */ +asn1_size_integer(int integer) /* I - Integer value */ +{ + if (integer > 0x7fffff || integer < -0x800000) + return (4); + else if (integer > 0x7fff || integer < -0x8000) + return (3); + else if (integer > 0x7f || integer < -0x80) + return (2); + else + return (1); +} + + +/* + * 'asn1_size_length()' - Figure out the number of bytes needed for a + * length value. + */ + +static unsigned /* O - Size in bytes */ +asn1_size_length(unsigned length) /* I - Length value */ +{ + if (length > 0xff) + return (3); + else if (length > 0x7f) + return (2); + else + return (1); +} + + +/* + * 'asn1_size_oid()' - Figure out the number of bytes needed for an + * OID value. + */ + +static unsigned /* O - Size in bytes */ +asn1_size_oid(const int *oid) /* I - OID value */ +{ + unsigned length; /* Length of value */ + + + if (oid[1] < 0) + return (asn1_size_packed(oid[0] * 40)); + + for (length = asn1_size_packed(oid[0] * 40 + oid[1]), oid += 2; + *oid >= 0; + oid ++) + length += asn1_size_packed(*oid); + + return (length); +} + + +/* + * 'asn1_size_packed()' - Figure out the number of bytes needed for a + * packed integer value. + */ + +static unsigned /* O - Size in bytes */ +asn1_size_packed(int integer) /* I - Integer value */ +{ + if (integer > 0xfffffff) + return (5); + else if (integer > 0x1fffff) + return (4); + else if (integer > 0x3fff) + return (3); + else if (integer > 0x7f) + return (2); + else + return (1); +} + + +/* + * 'snmp_set_error()' - Set the localized error for a packet. + */ + +static void +snmp_set_error(cups_snmp_t *packet, /* I - Packet */ + const char *message) /* I - Error message */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + + + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + packet->error = _cupsLangString(cg->lang_default, message); +} diff --git a/cups/snprintf.c b/cups/snprintf.c new file mode 100644 index 0000000..49652e2 --- /dev/null +++ b/cups/snprintf.c @@ -0,0 +1,348 @@ +/* + * snprintf functions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "string-private.h" + + +#ifndef HAVE_VSNPRINTF +/* + * '_cups_vsnprintf()' - Format a string into a fixed size buffer. + */ + +int /* O - Number of bytes formatted */ +_cups_vsnprintf(char *buffer, /* O - Output buffer */ + size_t bufsize, /* O - Size of output buffer */ + const char *format, /* I - printf-style format string */ + va_list ap) /* I - Pointer to additional arguments */ +{ + char *bufptr, /* Pointer to position in buffer */ + *bufend, /* Pointer to end of buffer */ + sign, /* Sign of format width */ + size, /* Size character (h, l, L) */ + type; /* Format type character */ + int width, /* Width of field */ + prec; /* Number of characters of precision */ + char tformat[100], /* Temporary format string for sprintf() */ + *tptr, /* Pointer into temporary format */ + temp[1024]; /* Buffer for formatted numbers */ + size_t templen; /* Length of "temp" */ + char *s; /* Pointer to string */ + int slen; /* Length of string */ + int bytes; /* Total number of bytes needed */ + + + /* + * Loop through the format string, formatting as needed... + */ + + bufptr = buffer; + bufend = buffer + bufsize - 1; + bytes = 0; + + while (*format) + { + if (*format == '%') + { + tptr = tformat; + *tptr++ = *format++; + + if (*format == '%') + { + if (bufptr && bufptr < bufend) *bufptr++ = *format; + bytes ++; + format ++; + continue; + } + else if (strchr(" -+#\'", *format)) + { + *tptr++ = *format; + sign = *format++; + } + else + sign = 0; + + if (*format == '*') + { + /* + * Get width from argument... + */ + + format ++; + width = va_arg(ap, int); + + snprintf(tptr, sizeof(tformat) - (tptr - tformat), "%d", width); + tptr += strlen(tptr); + } + else + { + width = 0; + + while (isdigit(*format & 255)) + { + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + width = width * 10 + *format++ - '0'; + } + } + + if (*format == '.') + { + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + format ++; + + if (*format == '*') + { + /* + * Get precision from argument... + */ + + format ++; + prec = va_arg(ap, int); + + snprintf(tptr, sizeof(tformat) - (tptr - tformat), "%d", prec); + tptr += strlen(tptr); + } + else + { + prec = 0; + + while (isdigit(*format & 255)) + { + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + prec = prec * 10 + *format++ - '0'; + } + } + } + else + prec = -1; + + if (*format == 'l' && format[1] == 'l') + { + size = 'L'; + + if (tptr < (tformat + sizeof(tformat) - 2)) + { + *tptr++ = 'l'; + *tptr++ = 'l'; + } + + format += 2; + } + else if (*format == 'h' || *format == 'l' || *format == 'L') + { + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + size = *format++; + } + + if (!*format) + break; + + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + type = *format++; + *tptr = '\0'; + + switch (type) + { + case 'E' : /* Floating point formats */ + case 'G' : + case 'e' : + case 'f' : + case 'g' : + if ((width + 2) > sizeof(temp)) + break; + + sprintf(temp, tformat, va_arg(ap, double)); + templen = strlen(temp); + + bytes += (int)templen; + + if (bufptr) + { + if ((bufptr + templen) > bufend) + { + strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); + bufptr = bufend; + } + else + { + memcpy(bufptr, temp, templen + 1); + bufptr += templen; + } + } + break; + + case 'B' : /* Integer formats */ + case 'X' : + case 'b' : + case 'd' : + case 'i' : + case 'o' : + case 'u' : + case 'x' : + if ((width + 2) > sizeof(temp)) + break; + + sprintf(temp, tformat, va_arg(ap, int)); + templen = strlen(temp); + + bytes += (int)templen; + + if (bufptr) + { + if ((bufptr + templen) > bufend) + { + strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); + bufptr = bufend; + } + else + { + memcpy(bufptr, temp, templen + 1); + bufptr += templen; + } + } + break; + + case 'p' : /* Pointer value */ + if ((width + 2) > sizeof(temp)) + break; + + sprintf(temp, tformat, va_arg(ap, void *)); + templen = strlen(temp); + + bytes += (int)templen; + + if (bufptr) + { + if ((bufptr + templen) > bufend) + { + strlcpy(bufptr, temp, (size_t)(bufend - bufptr)); + bufptr = bufend; + } + else + { + memcpy(bufptr, temp, templen + 1); + bufptr += templen; + } + } + break; + + case 'c' : /* Character or character array */ + bytes += width; + + if (bufptr) + { + if (width <= 1) + *bufptr++ = va_arg(ap, int); + else + { + if ((bufptr + width) > bufend) + width = (int)(bufend - bufptr); + + memcpy(bufptr, va_arg(ap, char *), (size_t)width); + bufptr += width; + } + } + break; + + case 's' : /* String */ + if ((s = va_arg(ap, char *)) == NULL) + s = "(null)"; + + slen = (int)strlen(s); + if (slen > width && prec != width) + width = slen; + + bytes += width; + + if (bufptr) + { + if ((bufptr + width) > bufend) + width = (int)(bufend - bufptr); + + if (slen > width) + slen = width; + + if (sign == '-') + { + memcpy(bufptr, s, (size_t)slen); + memset(bufptr + slen, ' ', (size_t)(width - slen)); + } + else + { + memset(bufptr, ' ', (size_t)(width - slen)); + memcpy(bufptr + width - slen, s, (size_t)slen); + } + + bufptr += width; + } + break; + + case 'n' : /* Output number of chars so far */ + *(va_arg(ap, int *)) = bytes; + break; + } + } + else + { + bytes ++; + + if (bufptr && bufptr < bufend) + *bufptr++ = *format; + + format ++; + } + } + + /* + * Nul-terminate the string and return the number of characters needed. + */ + + *bufptr = '\0'; + + return (bytes); +} +#endif /* !HAVE_VSNPRINT */ + + +#ifndef HAVE_SNPRINTF +/* + * '_cups_snprintf()' - Format a string into a fixed size buffer. + */ + +int /* O - Number of bytes formatted */ +_cups_snprintf(char *buffer, /* O - Output buffer */ + size_t bufsize, /* O - Size of output buffer */ + const char *format, /* I - printf-style format string */ + ...) /* I - Additional arguments as needed */ +{ + int bytes; /* Number of bytes formatted */ + va_list ap; /* Pointer to additional arguments */ + + + va_start(ap, format); + bytes = vsnprintf(buffer, bufsize, format, ap); + va_end(ap); + + return (bytes); +} +#endif /* !HAVE_SNPRINTF */ diff --git a/cups/string-private.h b/cups/string-private.h new file mode 100644 index 0000000..e1ae603 --- /dev/null +++ b/cups/string-private.h @@ -0,0 +1,219 @@ +/* + * Private string definitions for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_STRING_PRIVATE_H_ +# define _CUPS_STRING_PRIVATE_H_ + +/* + * Include necessary headers... + */ + +# include "config.h" +# include +# include +# include +# include +# include +# include +# include + +# include + +# ifdef HAVE_STRING_H +# include +# endif /* HAVE_STRING_H */ + +# ifdef HAVE_STRINGS_H +# include +# endif /* HAVE_STRINGS_H */ + +# ifdef HAVE_BSTRING_H +# include +# endif /* HAVE_BSTRING_H */ + +# if defined(_WIN32) && !defined(__CUPS_SSIZE_T_DEFINED) +# define __CUPS_SSIZE_T_DEFINED +# include +/* Windows does not support the ssize_t type, so map it to long... */ +typedef long ssize_t; /* @private@ */ +# endif /* _WIN32 && !__CUPS_SSIZE_T_DEFINED */ + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * String pool structures... + */ + +# define _CUPS_STR_GUARD 0x12344321 + +typedef struct _cups_sp_item_s /**** String Pool Item ****/ +{ +# ifdef DEBUG_GUARDS + unsigned int guard; /* Guard word */ +# endif /* DEBUG_GUARDS */ + unsigned int ref_count; /* Reference count */ + char str[1]; /* String */ +} _cups_sp_item_t; + + +/* + * Replacements for the ctype macros that are not affected by locale, since we + * really only care about testing for ASCII characters when parsing files, etc. + * + * The _CUPS_INLINE definition controls whether we get an inline function body, + * and external function body, or an external definition. + */ + +# if defined(__GNUC__) || __STDC_VERSION__ >= 199901L +# define _CUPS_INLINE static inline +# elif defined(_MSC_VER) +# define _CUPS_INLINE static __inline +# elif defined(_CUPS_STRING_C_) +# define _CUPS_INLINE +# endif /* __GNUC__ || __STDC_VERSION__ */ + +# ifdef _CUPS_INLINE +_CUPS_INLINE int /* O - 1 on match, 0 otherwise */ +_cups_isalnum(int ch) /* I - Character to test */ +{ + return ((ch >= '0' && ch <= '9') || + (ch >= 'A' && ch <= 'Z') || + (ch >= 'a' && ch <= 'z')); +} + +_CUPS_INLINE int /* O - 1 on match, 0 otherwise */ +_cups_isalpha(int ch) /* I - Character to test */ +{ + return ((ch >= 'A' && ch <= 'Z') || + (ch >= 'a' && ch <= 'z')); +} + +_CUPS_INLINE int /* O - 1 on match, 0 otherwise */ +_cups_islower(int ch) /* I - Character to test */ +{ + return (ch >= 'a' && ch <= 'z'); +} + +_CUPS_INLINE int /* O - 1 on match, 0 otherwise */ +_cups_isspace(int ch) /* I - Character to test */ +{ + return (ch == ' ' || ch == '\f' || ch == '\n' || ch == '\r' || ch == '\t' || + ch == '\v'); +} + +_CUPS_INLINE int /* O - 1 on match, 0 otherwise */ +_cups_isupper(int ch) /* I - Character to test */ +{ + return (ch >= 'A' && ch <= 'Z'); +} + +_CUPS_INLINE int /* O - Converted character */ +_cups_tolower(int ch) /* I - Character to convert */ +{ + return (_cups_isupper(ch) ? ch - 'A' + 'a' : ch); +} + +_CUPS_INLINE int /* O - Converted character */ +_cups_toupper(int ch) /* I - Character to convert */ +{ + return (_cups_islower(ch) ? ch - 'a' + 'A' : ch); +} +# else +extern int _cups_isalnum(int ch); +extern int _cups_isalpha(int ch); +extern int _cups_islower(int ch); +extern int _cups_isspace(int ch); +extern int _cups_isupper(int ch); +extern int _cups_tolower(int ch); +extern int _cups_toupper(int ch); +# endif /* _CUPS_INLINE */ + + +/* + * Prototypes... + */ + +extern ssize_t _cups_safe_vsnprintf(char *buffer, size_t bufsize, const char *format, va_list args) _CUPS_PRIVATE; +extern void _cups_strcpy(char *dst, const char *src) _CUPS_PRIVATE; + +# ifndef HAVE_STRDUP +extern char *_cups_strdup(const char *) _CUPS_PRIVATE; +# define strdup _cups_strdup +# endif /* !HAVE_STRDUP */ + +extern int _cups_strcasecmp(const char *, const char *) _CUPS_PRIVATE; + +extern int _cups_strncasecmp(const char *, const char *, size_t n) _CUPS_PRIVATE; + +# ifndef HAVE_STRLCAT +extern size_t _cups_strlcat(char *, const char *, size_t) _CUPS_PRIVATE; +# define strlcat _cups_strlcat +# endif /* !HAVE_STRLCAT */ + +# ifndef HAVE_STRLCPY +extern size_t _cups_strlcpy(char *, const char *, size_t) _CUPS_PRIVATE; +# define strlcpy _cups_strlcpy +# endif /* !HAVE_STRLCPY */ + +# ifndef HAVE_SNPRINTF +extern int _cups_snprintf(char *, size_t, const char *, ...) _CUPS_FORMAT(3, 4) _CUPS_PRIVATE; +# define snprintf _cups_snprintf +# endif /* !HAVE_SNPRINTF */ + +# ifndef HAVE_VSNPRINTF +extern int _cups_vsnprintf(char *, size_t, const char *, va_list) _CUPS_PRIVATE; +# define vsnprintf _cups_vsnprintf +# endif /* !HAVE_VSNPRINTF */ + +/* + * String pool functions... + */ + +extern char *_cupsStrAlloc(const char *s) _CUPS_PRIVATE; +extern void _cupsStrFlush(void) _CUPS_PRIVATE; +extern void _cupsStrFree(const char *s) _CUPS_PRIVATE; +extern char *_cupsStrRetain(const char *s) _CUPS_PRIVATE; +extern size_t _cupsStrStatistics(size_t *alloc_bytes, size_t *total_bytes) _CUPS_PRIVATE; + + +/* + * Floating point number functions... + */ + +extern char *_cupsStrFormatd(char *buf, char *bufend, double number, + struct lconv *loc) _CUPS_PRIVATE; +extern double _cupsStrScand(const char *buf, char **bufptr, + struct lconv *loc) _CUPS_PRIVATE; + + +/* + * Date function... + */ + +extern char *_cupsStrDate(char *buf, size_t bufsize, time_t timeval) _CUPS_PRIVATE; + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_STRING_H_ */ diff --git a/cups/string.c b/cups/string.c new file mode 100644 index 0000000..93cdad1 --- /dev/null +++ b/cups/string.c @@ -0,0 +1,765 @@ +/* + * String functions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#define _CUPS_STRING_C_ +#include "cups-private.h" +#include "debug-internal.h" +#include +#include + + +/* + * Local globals... + */ + +static _cups_mutex_t sp_mutex = _CUPS_MUTEX_INITIALIZER; + /* Mutex to control access to pool */ +static cups_array_t *stringpool = NULL; + /* Global string pool */ + + +/* + * Local functions... + */ + +static int compare_sp_items(_cups_sp_item_t *a, _cups_sp_item_t *b); + + +/* + * '_cupsStrAlloc()' - Allocate/reference a string. + */ + +char * /* O - String pointer */ +_cupsStrAlloc(const char *s) /* I - String */ +{ + size_t slen; /* Length of string */ + _cups_sp_item_t *item, /* String pool item */ + *key; /* Search key */ + + + /* + * Range check input... + */ + + if (!s) + return (NULL); + + /* + * Get the string pool... + */ + + _cupsMutexLock(&sp_mutex); + + if (!stringpool) + stringpool = cupsArrayNew((cups_array_func_t)compare_sp_items, NULL); + + if (!stringpool) + { + _cupsMutexUnlock(&sp_mutex); + + return (NULL); + } + + /* + * See if the string is already in the pool... + */ + + key = (_cups_sp_item_t *)(s - offsetof(_cups_sp_item_t, str)); + + if ((item = (_cups_sp_item_t *)cupsArrayFind(stringpool, key)) != NULL) + { + /* + * Found it, return the cached string... + */ + + item->ref_count ++; + +#ifdef DEBUG_GUARDS + DEBUG_printf(("5_cupsStrAlloc: Using string %p(%s) for \"%s\", guard=%08x, " + "ref_count=%d", item, item->str, s, item->guard, + item->ref_count)); + + if (item->guard != _CUPS_STR_GUARD) + abort(); +#endif /* DEBUG_GUARDS */ + + _cupsMutexUnlock(&sp_mutex); + + return (item->str); + } + + /* + * Not found, so allocate a new one... + */ + + slen = strlen(s); + item = (_cups_sp_item_t *)calloc(1, sizeof(_cups_sp_item_t) + slen); + if (!item) + { + _cupsMutexUnlock(&sp_mutex); + + return (NULL); + } + + item->ref_count = 1; + memcpy(item->str, s, slen + 1); + +#ifdef DEBUG_GUARDS + item->guard = _CUPS_STR_GUARD; + + DEBUG_printf(("5_cupsStrAlloc: Created string %p(%s) for \"%s\", guard=%08x, " + "ref_count=%d", item, item->str, s, item->guard, + item->ref_count)); +#endif /* DEBUG_GUARDS */ + + /* + * Add the string to the pool and return it... + */ + + cupsArrayAdd(stringpool, item); + + _cupsMutexUnlock(&sp_mutex); + + return (item->str); +} + + +/* + * '_cupsStrDate()' - Return a localized date for a given time value. + * + * This function works around the locale encoding issues of strftime... + */ + +char * /* O - Buffer */ +_cupsStrDate(char *buf, /* I - Buffer */ + size_t bufsize, /* I - Size of buffer */ + time_t timeval) /* I - Time value */ +{ + struct tm date; /* Local date/time */ + char temp[1024]; /* Temporary buffer */ + _cups_globals_t *cg = _cupsGlobals(); /* Per-thread globals */ + + + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + localtime_r(&timeval, &date); + + if (cg->lang_default->encoding != CUPS_UTF8) + { + strftime(temp, sizeof(temp), "%c", &date); + cupsCharsetToUTF8((cups_utf8_t *)buf, temp, (int)bufsize, cg->lang_default->encoding); + } + else + strftime(buf, bufsize, "%c", &date); + + return (buf); +} + + +/* + * '_cupsStrFlush()' - Flush the string pool. + */ + +void +_cupsStrFlush(void) +{ + _cups_sp_item_t *item; /* Current item */ + + + DEBUG_printf(("4_cupsStrFlush: %d strings in array", + cupsArrayCount(stringpool))); + + _cupsMutexLock(&sp_mutex); + + for (item = (_cups_sp_item_t *)cupsArrayFirst(stringpool); + item; + item = (_cups_sp_item_t *)cupsArrayNext(stringpool)) + free(item); + + cupsArrayDelete(stringpool); + stringpool = NULL; + + _cupsMutexUnlock(&sp_mutex); +} + + +/* + * '_cupsStrFormatd()' - Format a floating-point number. + */ + +char * /* O - Pointer to end of string */ +_cupsStrFormatd(char *buf, /* I - String */ + char *bufend, /* I - End of string buffer */ + double number, /* I - Number to format */ + struct lconv *loc) /* I - Locale data */ +{ + char *bufptr, /* Pointer into buffer */ + temp[1024], /* Temporary string */ + *tempdec, /* Pointer to decimal point */ + *tempptr; /* Pointer into temporary string */ + const char *dec; /* Decimal point */ + int declen; /* Length of decimal point */ + + + /* + * Format the number using the "%.12f" format and then eliminate + * unnecessary trailing 0's. + */ + + snprintf(temp, sizeof(temp), "%.12f", number); + for (tempptr = temp + strlen(temp) - 1; + tempptr > temp && *tempptr == '0'; + *tempptr-- = '\0'); + + /* + * Next, find the decimal point... + */ + + if (loc && loc->decimal_point) + { + dec = loc->decimal_point; + declen = (int)strlen(dec); + } + else + { + dec = "."; + declen = 1; + } + + if (declen == 1) + tempdec = strchr(temp, *dec); + else + tempdec = strstr(temp, dec); + + /* + * Copy everything up to the decimal point... + */ + + if (tempdec) + { + for (tempptr = temp, bufptr = buf; + tempptr < tempdec && bufptr < bufend; + *bufptr++ = *tempptr++); + + tempptr += declen; + + if (*tempptr && bufptr < bufend) + { + *bufptr++ = '.'; + + while (*tempptr && bufptr < bufend) + *bufptr++ = *tempptr++; + } + + *bufptr = '\0'; + } + else + { + strlcpy(buf, temp, (size_t)(bufend - buf + 1)); + bufptr = buf + strlen(buf); + } + + return (bufptr); +} + + +/* + * '_cupsStrFree()' - Free/dereference a string. + */ + +void +_cupsStrFree(const char *s) /* I - String to free */ +{ + _cups_sp_item_t *item, /* String pool item */ + *key; /* Search key */ + + + /* + * Range check input... + */ + + if (!s) + return; + + /* + * Check the string pool... + * + * We don't need to lock the mutex yet, as we only want to know if + * the stringpool is initialized. The rest of the code will still + * work if it is initialized before we lock... + */ + + if (!stringpool) + return; + + /* + * See if the string is already in the pool... + */ + + _cupsMutexLock(&sp_mutex); + + key = (_cups_sp_item_t *)(s - offsetof(_cups_sp_item_t, str)); + + if ((item = (_cups_sp_item_t *)cupsArrayFind(stringpool, key)) != NULL && + item == key) + { + /* + * Found it, dereference... + */ + +#ifdef DEBUG_GUARDS + if (key->guard != _CUPS_STR_GUARD) + { + DEBUG_printf(("5_cupsStrFree: Freeing string %p(%s), guard=%08x, ref_count=%d", key, key->str, key->guard, key->ref_count)); + abort(); + } +#endif /* DEBUG_GUARDS */ + + item->ref_count --; + + if (!item->ref_count) + { + /* + * Remove and free... + */ + + cupsArrayRemove(stringpool, item); + + free(item); + } + } + + _cupsMutexUnlock(&sp_mutex); +} + + +/* + * '_cupsStrRetain()' - Increment the reference count of a string. + * + * Note: This function does not verify that the passed pointer is in the + * string pool, so any calls to it MUST know they are passing in a + * good pointer. + */ + +char * /* O - Pointer to string */ +_cupsStrRetain(const char *s) /* I - String to retain */ +{ + _cups_sp_item_t *item; /* Pointer to string pool item */ + + + if (s) + { + item = (_cups_sp_item_t *)(s - offsetof(_cups_sp_item_t, str)); + +#ifdef DEBUG_GUARDS + if (item->guard != _CUPS_STR_GUARD) + { + DEBUG_printf(("5_cupsStrRetain: Retaining string %p(%s), guard=%08x, " + "ref_count=%d", item, s, item->guard, item->ref_count)); + abort(); + } +#endif /* DEBUG_GUARDS */ + + _cupsMutexLock(&sp_mutex); + + item->ref_count ++; + + _cupsMutexUnlock(&sp_mutex); + } + + return ((char *)s); +} + + +/* + * '_cupsStrScand()' - Scan a string for a floating-point number. + * + * This function handles the locale-specific BS so that a decimal + * point is always the period (".")... + */ + +double /* O - Number */ +_cupsStrScand(const char *buf, /* I - Pointer to number */ + char **bufptr, /* O - New pointer or NULL on error */ + struct lconv *loc) /* I - Locale data */ +{ + char temp[1024], /* Temporary buffer */ + *tempptr; /* Pointer into temporary buffer */ + + + /* + * Range check input... + */ + + if (!buf) + return (0.0); + + /* + * Skip leading whitespace... + */ + + while (_cups_isspace(*buf)) + buf ++; + + /* + * Copy leading sign, numbers, period, and then numbers... + */ + + tempptr = temp; + if (*buf == '-' || *buf == '+') + *tempptr++ = *buf++; + + while (isdigit(*buf & 255)) + if (tempptr < (temp + sizeof(temp) - 1)) + *tempptr++ = *buf++; + else + { + if (bufptr) + *bufptr = NULL; + + return (0.0); + } + + if (*buf == '.') + { + /* + * Read fractional portion of number... + */ + + buf ++; + + if (loc && loc->decimal_point) + { + strlcpy(tempptr, loc->decimal_point, sizeof(temp) - (size_t)(tempptr - temp)); + tempptr += strlen(tempptr); + } + else if (tempptr < (temp + sizeof(temp) - 1)) + *tempptr++ = '.'; + else + { + if (bufptr) + *bufptr = NULL; + + return (0.0); + } + + while (isdigit(*buf & 255)) + if (tempptr < (temp + sizeof(temp) - 1)) + *tempptr++ = *buf++; + else + { + if (bufptr) + *bufptr = NULL; + + return (0.0); + } + } + + if (*buf == 'e' || *buf == 'E') + { + /* + * Read exponent... + */ + + if (tempptr < (temp + sizeof(temp) - 1)) + *tempptr++ = *buf++; + else + { + if (bufptr) + *bufptr = NULL; + + return (0.0); + } + + if (*buf == '+' || *buf == '-') + { + if (tempptr < (temp + sizeof(temp) - 1)) + *tempptr++ = *buf++; + else + { + if (bufptr) + *bufptr = NULL; + + return (0.0); + } + } + + while (isdigit(*buf & 255)) + if (tempptr < (temp + sizeof(temp) - 1)) + *tempptr++ = *buf++; + else + { + if (bufptr) + *bufptr = NULL; + + return (0.0); + } + } + + /* + * Nul-terminate the temporary string and return the value... + */ + + if (bufptr) + *bufptr = (char *)buf; + + *tempptr = '\0'; + + return (strtod(temp, NULL)); +} + + +/* + * '_cupsStrStatistics()' - Return allocation statistics for string pool. + */ + +size_t /* O - Number of strings */ +_cupsStrStatistics(size_t *alloc_bytes, /* O - Allocated bytes */ + size_t *total_bytes) /* O - Total string bytes */ +{ + size_t count, /* Number of strings */ + abytes, /* Allocated string bytes */ + tbytes, /* Total string bytes */ + len; /* Length of string */ + _cups_sp_item_t *item; /* Current item */ + + + /* + * Loop through strings in pool, counting everything up... + */ + + _cupsMutexLock(&sp_mutex); + + for (count = 0, abytes = 0, tbytes = 0, + item = (_cups_sp_item_t *)cupsArrayFirst(stringpool); + item; + item = (_cups_sp_item_t *)cupsArrayNext(stringpool)) + { + /* + * Count allocated memory, using a 64-bit aligned buffer as a basis. + */ + + count += item->ref_count; + len = (strlen(item->str) + 8) & (size_t)~7; + abytes += sizeof(_cups_sp_item_t) + len; + tbytes += item->ref_count * len; + } + + _cupsMutexUnlock(&sp_mutex); + + /* + * Return values... + */ + + if (alloc_bytes) + *alloc_bytes = abytes; + + if (total_bytes) + *total_bytes = tbytes; + + return (count); +} + + +/* + * '_cups_strcpy()' - Copy a string allowing for overlapping strings. + */ + +void +_cups_strcpy(char *dst, /* I - Destination string */ + const char *src) /* I - Source string */ +{ + while (*src) + *dst++ = *src++; + + *dst = '\0'; +} + + +/* + * '_cups_strdup()' - Duplicate a string. + */ + +#ifndef HAVE_STRDUP +char * /* O - New string pointer */ +_cups_strdup(const char *s) /* I - String to duplicate */ +{ + char *t; /* New string pointer */ + size_t slen; /* Length of string */ + + + if (!s) + return (NULL); + + slen = strlen(s); + if ((t = malloc(slen + 1)) == NULL) + return (NULL); + + return (memcpy(t, s, slen + 1)); +} +#endif /* !HAVE_STRDUP */ + + +/* + * '_cups_strcasecmp()' - Do a case-insensitive comparison. + */ + +int /* O - Result of comparison (-1, 0, or 1) */ +_cups_strcasecmp(const char *s, /* I - First string */ + const char *t) /* I - Second string */ +{ + while (*s != '\0' && *t != '\0') + { + if (_cups_tolower(*s) < _cups_tolower(*t)) + return (-1); + else if (_cups_tolower(*s) > _cups_tolower(*t)) + return (1); + + s ++; + t ++; + } + + if (*s == '\0' && *t == '\0') + return (0); + else if (*s != '\0') + return (1); + else + return (-1); +} + +/* + * '_cups_strncasecmp()' - Do a case-insensitive comparison on up to N chars. + */ + +int /* O - Result of comparison (-1, 0, or 1) */ +_cups_strncasecmp(const char *s, /* I - First string */ + const char *t, /* I - Second string */ + size_t n) /* I - Maximum number of characters to compare */ +{ + while (*s != '\0' && *t != '\0' && n > 0) + { + if (_cups_tolower(*s) < _cups_tolower(*t)) + return (-1); + else if (_cups_tolower(*s) > _cups_tolower(*t)) + return (1); + + s ++; + t ++; + n --; + } + + if (n == 0) + return (0); + else if (*s == '\0' && *t == '\0') + return (0); + else if (*s != '\0') + return (1); + else + return (-1); +} + + +#ifndef HAVE_STRLCAT +/* + * '_cups_strlcat()' - Safely concatenate two strings. + */ + +size_t /* O - Length of string */ +_cups_strlcat(char *dst, /* O - Destination string */ + const char *src, /* I - Source string */ + size_t size) /* I - Size of destination string buffer */ +{ + size_t srclen; /* Length of source string */ + size_t dstlen; /* Length of destination string */ + + + /* + * Figure out how much room is left... + */ + + dstlen = strlen(dst); + + if (size < (dstlen + 1)) + return (dstlen); /* No room, return immediately... */ + + size -= dstlen + 1; + + /* + * Figure out how much room is needed... + */ + + srclen = strlen(src); + + /* + * Copy the appropriate amount... + */ + + if (srclen > size) + srclen = size; + + memmove(dst + dstlen, src, srclen); + dst[dstlen + srclen] = '\0'; + + return (dstlen + srclen); +} +#endif /* !HAVE_STRLCAT */ + + +#ifndef HAVE_STRLCPY +/* + * '_cups_strlcpy()' - Safely copy two strings. + */ + +size_t /* O - Length of string */ +_cups_strlcpy(char *dst, /* O - Destination string */ + const char *src, /* I - Source string */ + size_t size) /* I - Size of destination string buffer */ +{ + size_t srclen; /* Length of source string */ + + + /* + * Figure out how much room is needed... + */ + + size --; + + srclen = strlen(src); + + /* + * Copy the appropriate amount... + */ + + if (srclen > size) + srclen = size; + + memmove(dst, src, srclen); + dst[srclen] = '\0'; + + return (srclen); +} +#endif /* !HAVE_STRLCPY */ + + +/* + * 'compare_sp_items()' - Compare two string pool items... + */ + +static int /* O - Result of comparison */ +compare_sp_items(_cups_sp_item_t *a, /* I - First item */ + _cups_sp_item_t *b) /* I - Second item */ +{ + return (strcmp(a->str, b->str)); +} diff --git a/cups/tempfile.c b/cups/tempfile.c new file mode 100644 index 0000000..fb39802 --- /dev/null +++ b/cups/tempfile.c @@ -0,0 +1,206 @@ +/* + * Temp file utilities for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include +#include +#include +#if defined(_WIN32) || defined(__EMX__) +# include +#else +# include +#endif /* _WIN32 || __EMX__ */ + + +/* + * 'cupsTempFd()' - Creates a temporary file. + * + * The temporary filename is returned in the filename buffer. + * The temporary file is opened for reading and writing. + */ + +int /* O - New file descriptor or -1 on error */ +cupsTempFd(char *filename, /* I - Pointer to buffer */ + int len) /* I - Size of buffer */ +{ + int fd; /* File descriptor for temp file */ + int tries; /* Number of tries */ + const char *tmpdir; /* TMPDIR environment var */ +#if defined(__APPLE__) || defined(_WIN32) + char tmppath[1024]; /* Temporary directory */ +#endif /* __APPLE__ || _WIN32 */ +#ifdef _WIN32 + DWORD curtime; /* Current time */ +#else + struct timeval curtime; /* Current time */ +#endif /* _WIN32 */ + + + /* + * See if TMPDIR is defined... + */ + +#ifdef _WIN32 + if ((tmpdir = getenv("TEMP")) == NULL) + { + GetTempPathA(sizeof(tmppath), tmppath); + tmpdir = tmppath; + } + +#elif defined(__APPLE__) + /* + * On macOS and iOS, the TMPDIR environment variable is not always the best + * location to place temporary files due to sandboxing. Instead, the confstr + * function should be called to get the proper per-user, per-process TMPDIR + * value. + */ + + if ((tmpdir = getenv("TMPDIR")) != NULL && access(tmpdir, W_OK)) + tmpdir = NULL; + + if (!tmpdir) + { + if (confstr(_CS_DARWIN_USER_TEMP_DIR, tmppath, sizeof(tmppath))) + tmpdir = tmppath; + else + tmpdir = "/private/tmp"; /* This should never happen */ + } + +#else + /* + * Previously we put root temporary files in the default CUPS temporary + * directory under /var/spool/cups. However, since the scheduler cleans + * out temporary files there and runs independently of the user apps, we + * don't want to use it unless specifically told to by cupsd. + */ + + if ((tmpdir = getenv("TMPDIR")) == NULL) + tmpdir = "/tmp"; +#endif /* _WIN32 */ + + /* + * Make the temporary name using the specified directory... + */ + + tries = 0; + + do + { +#ifdef _WIN32 + /* + * Get the current time of day... + */ + + curtime = GetTickCount() + tries; + + /* + * Format a string using the hex time values... + */ + + snprintf(filename, (size_t)len - 1, "%s/%05lx%08lx", tmpdir, GetCurrentProcessId(), curtime); +#else + /* + * Get the current time of day... + */ + + gettimeofday(&curtime, NULL); + + /* + * Format a string using the hex time values... + */ + + snprintf(filename, (size_t)len - 1, "%s/%05x%08x", tmpdir, (unsigned)getpid(), (unsigned)(curtime.tv_sec + curtime.tv_usec + tries)); +#endif /* _WIN32 */ + + /* + * Open the file in "exclusive" mode, making sure that we don't + * stomp on an existing file or someone's symlink crack... + */ + +#ifdef _WIN32 + fd = open(filename, _O_CREAT | _O_RDWR | _O_TRUNC | _O_BINARY, + _S_IREAD | _S_IWRITE); +#elif defined(O_NOFOLLOW) + fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600); +#else + fd = open(filename, O_RDWR | O_CREAT | O_EXCL, 0600); +#endif /* _WIN32 */ + + if (fd < 0 && errno != EEXIST) + break; + + tries ++; + } + while (fd < 0 && tries < 1000); + + /* + * Return the file descriptor... + */ + + return (fd); +} + + +/* + * 'cupsTempFile()' - Generates a temporary filename. + * + * The temporary filename is returned in the filename buffer. + * This function is deprecated and will no longer generate a temporary + * filename - use @link cupsTempFd@ or @link cupsTempFile2@ instead. + * + * @deprecated@ + */ + +char * /* O - Filename or @code NULL@ on error */ +cupsTempFile(char *filename, /* I - Pointer to buffer */ + int len) /* I - Size of buffer */ +{ + (void)len; + + if (filename) + *filename = '\0'; + + return (NULL); +} + + +/* + * 'cupsTempFile2()' - Creates a temporary CUPS file. + * + * The temporary filename is returned in the filename buffer. + * The temporary file is opened for writing. + * + * @since CUPS 1.2/macOS 10.5@ + */ + +cups_file_t * /* O - CUPS file or @code NULL@ on error */ +cupsTempFile2(char *filename, /* I - Pointer to buffer */ + int len) /* I - Size of buffer */ +{ + cups_file_t *file; /* CUPS file */ + int fd; /* File descriptor */ + + + if ((fd = cupsTempFd(filename, len)) < 0) + return (NULL); + else if ((file = cupsFileOpenFd(fd, "w")) == NULL) + { + close(fd); + unlink(filename); + return (NULL); + } + else + return (file); +} diff --git a/cups/test.ppd b/cups/test.ppd new file mode 100644 index 0000000..00bbe9b --- /dev/null +++ b/cups/test.ppd @@ -0,0 +1,263 @@ +*PPD-Adobe: "4.3" +*% +*% Test PPD file for CUPS. +*% +*% This file is used to test the CUPS PPD API functions and cannot be +*% used with any known printers. Look on the CUPS web site for working PPD +*% files. +*% +*% If you are a PPD file developer, consider using the PPD compiler (ppdc) +*% to create your PPD files - not only will it save you time, it produces +*% consistently high-quality files. +*% +*% Copyright (c) 2007-2018 by Apple Inc. +*% Copyright (c) 2002-2006 by Easy Software Products. +*% +*% Licensed under Apache License v2.0. See the file "LICENSE" for more +*% information. +*FormatVersion: "4.3" +*FileVersion: "2.3" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "TEST.PPD" +*Manufacturer: "Apple" +*Product: "(Test)" +*cupsVersion: 2.3 +*ModelName: "Test" +*ShortNickName: "Test" +*NickName: "Test for CUPS" +*PSVersion: "(3010.000) 0" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 +*cupsFilter: "application/vnd.cups-raster 0 -" +*RequiresPageRegion All: True + +*% These constraints are used to test ppdConflicts() and cupsResolveConflicts() +*UIConstraints: *PageSize Letter *InputSlot Envelope +*UIConstraints: *InputSlot Envelope *PageSize Letter +*UIConstraints: *PageRegion Letter *InputSlot Envelope +*UIConstraints: *InputSlot Envelope *PageRegion Letter + +*% These constraints are used to test ppdInstallableConflict() +*UIConstraints: "*Duplex *InstalledDuplexer False" +*UIConstraints: "*InstalledDuplexer False *Duplex" + +*% These attributes test ppdFindAttr/ppdFindNext... +*cupsTest Foo/I Love Foo: "" +*cupsTest Bar/I Love Bar: "" + +*% For PageSize, we have put all of the translations in-line... +*OpenUI *PageSize/Page Size: PickOne +*fr.Translation PageSize/French Page Size: "" +*fr_CA.Translation PageSize/French Canadian Page Size: "" +*OrderDependency: 10 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/US Letter: "PageSize=Letter" +*fr.PageSize Letter/French US Letter: "" +*fr_CA.PageSize Letter/French Canadian US Letter: "" +*PageSize Letter.Banner/US Letter Banner: "PageSize=Letter.Banner" +*fr.PageSize Letter.Banner/French US Letter Banner: "" +*fr_CA.PageSize Letter.Banner/French Canadian US Letter Banner: "" +*PageSize Letter.Fullbleed/US Letter Borderless: "PageSize=Letter.Fullbleed" +*fr.PageSize Letter.Fullbleed/French US Letter Borderless: "" +*fr_CA.PageSize Letter.Fullbleed/French Canadian US Letter Borderless: "" +*PageSize A4/A4: "PageSize=A4" +*fr.PageSize A4/French A4: "" +*fr_CA.PageSize A4/French Canadian A4: "" +*PageSize Env10/#10 Envelope: "PageSize=Env10" +*fr.PageSize Env10/French #10 Envelope: "" +*fr_CA.PageSize Env10/French Canadian #10 Envelope: "" +*CloseUI: *PageSize + +*% For PageRegion, we have separated the translations... +*OpenUI *PageRegion/Page Region: PickOne +*OrderDependency: 10 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/US Letter: "PageRegion=Letter" +*PageRegion Letter.Banner/US Letter Banner: "PageRegion=Letter.Fullbleed" +*PageRegion Letter.Fullbleed/US Letter Borderless: "PageRegion=Letter.Fullbleed" +*PageRegion A4/A4: "PageRegion=A4" +*PageRegion Env10/#10 Envelope: "PageRegion=Env10" +*CloseUI: *PageRegion + +*fr.Translation PageRegion/French Page Region: "" +*fr.PageRegion Letter/French US Letter: "" +*fr.PageRegion Letter.Banner/French US Letter Banner: "" +*fr.PageRegion Letter.Fullbleed/French US Letter Borderless: "" +*fr.PageRegion A4/French A4: "" +*fr.PageRegion Env10/French #10 Envelope: "" + +*fr_CA.Translation PageRegion/French Canadian Page Region: "" +*fr_CA.PageRegion Letter/French Canadian US Letter: "" +*fr_CA.PageRegion Letter.Banner/French Canadian US Letter Banner: "" +*fr_CA.PageRegion Letter.Fullbleed/French Canadian US Letter Borderless: "" +*fr_CA.PageRegion A4/French Canadian A4: "" +*fr_CA.PageRegion Env10/French Canadian #10 Envelope: "" + +*DefaultImageableArea: Letter +*ImageableArea Letter: "18 36 594 756" +*ImageableArea Letter.Banner: "18 0 594 792" +*ImageableArea Letter.Fullbleed: "0 0 612 792" +*ImageableArea A4: "18 36 577 806" +*ImageableArea Env10: "18 36 279 648" + +*DefaultPaperDimension: Letter +*PaperDimension Letter: "612 792" +*PaperDimension Letter.Banner: "612 792" +*PaperDimension Letter.Fullbleed: "612 792" +*PaperDimension A4: "595 842" +*PaperDimension Env10: "297 684" + +*% Custom page size support +*HWMargins: 0 0 0 0 +*NonUIOrderDependency: 100 AnySetup *CustomPageSize True +*CustomPageSize True/Custom Page Size: "PageSize=Custom" +*ParamCustomPageSize Width: 1 points 36 1080 +*ParamCustomPageSize Height: 2 points 36 86400 +*ParamCustomPageSize WidthOffset/Width Offset: 3 points 0 0 +*ParamCustomPageSize HeightOffset/Height Offset: 4 points 0 0 +*ParamCustomPageSize Orientation: 5 int 0 0 + +*OpenUI *InputSlot/Input Slot: PickOne +*OrderDependency: 20 AnySetup *InputSlot +*DefaultInputSlot: Tray +*InputSlot Tray/Tray: "InputSlot=Tray" +*InputSlot Manual/Manual Feed: "InputSlot=Manual" +*InputSlot Envelope/Envelope Feed: "InputSlot=Envelope" +*CloseUI: *InputSlot + +*OpenUI *MediaType/Media Type: PickOne +*OrderDependency: 25 AnySetup *MediaType +*DefaultMediaType: Plain +*MediaType Plain/Plain Paper: "MediaType=Plain" +*MediaType Matte/Matte Photo: "MediaType=Matte" +*MediaType Glossy/Glossy Photo: "MediaType=Glossy" +*MediaType Transparency/Transparency Film: "MediaType=Transparency" +*CloseUI: *MediaType + +*OpenUI *OutputBin/Output Tray: PickOne +*OrderDependency: 25 AnySetup *OutputBin +*DefaultOutputBin: Tray1 +*OutputBin Auto/Automatic Tray: "OutputBin=Auto" +*OutputBin Tray1/Tray 1: "OutputBin=Tray1" +*OutputBin Tray2/Tray 2: "OutputBin=Tray2" +*OutputBin MainTray/Main Tray: "OutputBin=MainTray" +*CloseUI: *OutputBin + +*OpenUI *Duplex/2-Sided Printing: PickOne +*OrderDependency: 10 DocumentSetup *Duplex +*DefaultDuplex: None +*Duplex None/Off: "Duplex=None" +*Duplex DuplexNoTumble/Long Edge: "Duplex=DuplexNoTumble" +*Duplex DuplexTumble/Short Edge: "Duplex=DuplexTumble" +*CloseUI: *Duplex + +*% Installable option... +*OpenGroup: InstallableOptions/Installable Options +*OpenUI InstalledDuplexer/Duplexer Installed: Boolean +*DefaultInstalledDuplexer: False +*InstalledDuplexer False: "" +*InstalledDuplexer True: "" +*CloseUI: *InstalledDuplexer +*CloseGroup: InstallableOptions + +*% Custom options... +*OpenGroup: Extended/Extended Options + +*OpenUI IntOption/Integer: PickOne +*OrderDependency: 30 AnySetup *IntOption +*DefaultIntOption: None +*IntOption None: "" +*IntOption 1: "IntOption=1" +*IntOption 2: "IntOption=2" +*IntOption 3: "IntOption=3" +*CloseUI: *IntOption + +*CustomIntOption True/Custom Integer: "IntOption=Custom" +*ParamCustomIntOption Integer: 1 int -100 100 + +*OpenUI StringOption/String: PickOne +*OrderDependency: 40 AnySetup *StringOption +*DefaultStringOption: None +*StringOption None: "" +*StringOption foo: "StringOption=foo" +*StringOption bar: "StringOption=bar" +*CloseUI: *StringOption + +*CustomStringOption True/Custom String: "StringOption=Custom" +*ParamCustomStringOption String1: 2 string 1 10 +*ParamCustomStringOption String2: 1 string 1 10 + +*CloseGroup: Extended + +*% IPP reasons for ppdLocalizeIPPReason tests +*cupsIPPReason foo/Foo Reason: "http://foo/bar.html +help:anchor='foo'%20bookID=Vendor%20Help +/help/foo/bar.html" +*End +*fr.cupsIPPReason foo/La Foo Reason: "text:La%20Long%20 +text:Foo%20Reason +http://foo/fr/bar.html +help:anchor='foo'%20bookID=Vendor%20Help +/help/fr/foo/bar.html" +*End +*zh_TW.cupsIPPReason foo/Number 1 Foo Reason: "text:Number%201%20 +text:Foo%20Reason +http://foo/zh_TW/bar.html +help:anchor='foo'%20bookID=Vendor%20Help +/help/zh_TW/foo/bar.html" +*End +*zh.cupsIPPReason foo/Number 2 Foo Reason: "text:Number%202%20 +text:Foo%20Reason +http://foo/zh/bar.html +help:anchor='foo'%20bookID=Vendor%20Help +/help/zh/foo/bar.html" +*End + +*% Marker names for ppdLocalizeMarkerName tests +*cupsMarkerName cyan/Cyan Toner: "" +*fr.cupsMarkerName cyan/La Toner Cyan: "" +*zh_TW.cupsMarkerName cyan/Number 1 Cyan Toner: "" +*zh.cupsMarkerName cyan/Number 2 Cyan Toner: "" + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM diff --git a/cups/test2.ppd b/cups/test2.ppd new file mode 100644 index 0000000..4f8d4ea --- /dev/null +++ b/cups/test2.ppd @@ -0,0 +1,244 @@ +*PPD-Adobe: "4.3" +*% +*% Test PPD file #2 for CUPS. +*% +*% This file is used to test the CUPS PPD API functions and cannot be +*% used with any known printers. Look on the CUPS web site for working PPD +*% files. +*% +*% If you are a PPD file developer, consider using the PPD compiler (ppdc) +*% to create your PPD files - not only will it save you time, it produces +*% consistently high-quality files. +*% +*% Copyright (c) 2007-2018 by Apple Inc. +*% Copyright (c) 2002-2006 by Easy Software Products. +*% +*% Licensed under Apache License v2.0. See the file "LICENSE" for more +*% information. +*FormatVersion: "4.3" +*FileVersion: "2.3" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "TEST.PPD" +*Manufacturer: "Apple" +*Product: "(Test2)" +*cupsVersion: 2.3 +*ModelName: "Test2" +*ShortNickName: "Test2" +*NickName: "Test2 for CUPS" +*PSVersion: "(3010.000) 0" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*TTRasterizer: Type42 + +*% These constraints are used to test ppdConflicts() and cupsResolveConflicts() +*cupsUIConstraints envelope: "*PageSize Letter *InputSlot Envelope" +*cupsUIConstraints envelope: "*PageSize A4 *InputSlot Envelope" +*cupsUIResolver envelope: "*InputSlot Manual *PageSize Env10" + +*cupsUIConstraints envphoto: "*PageSize Env10 *InputSlot Envelope *Quality Photo" +*cupsUIResolver envphoto: "*Quality Normal" + +*% This constraint is used to test ppdInstallableConflict() +*cupsUIConstraints: "*Duplex *InstalledDuplexer False" + +*% These constraints are used to test the loop detection code in cupsResolveConflicts() +*cupsUIConstraints loop1: "*PageSize A4 *Quality Photo" +*cupsUIResolver loop1: "*Quality Normal" +*cupsUIConstraints loop2: "*PageSize A4 *Quality Normal" +*cupsUIResolver loop2: "*Quality Photo" + +*% For PageSize, we have put all of the translations in-line... +*OpenUI *PageSize/Page Size: PickOne +*fr.Translation PageSize/French Page Size: "" +*fr_CA.Translation PageSize/French Canadian Page Size: "" +*OrderDependency: 10 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/US Letter: "PageSize=Letter" +*fr.PageSize Letter/French US Letter: "" +*fr_CA.PageSize Letter/French Canadian US Letter: "" +*PageSize A4/A4: "PageSize=A4" +*fr.PageSize A4/French A4: "" +*fr_CA.PageSize A4/French Canadian A4: "" +*PageSize Env10/#10 Envelope: "PageSize=Env10" +*fr.PageSize Env10/French #10 Envelope: "" +*fr_CA.PageSize Env10/French Canadian #10 Envelope: "" +*CloseUI: *PageSize + +*% For PageRegion, we have separated the translations... +*OpenUI *PageRegion/Page Region: PickOne +*OrderDependency: 10 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/US Letter: "PageRegion=Letter" +*PageRegion A4/A4: "PageRegion=A4" +*PageRegion Env10/#10 Envelope: "PageRegion=Env10" +*CloseUI: *PageRegion + +*fr.Translation PageRegion/French Page Region: "" +*fr.PageRegion Letter/French US Letter: "" +*fr.PageRegion A4/French A4: "" +*fr.PageRegion Env10/French #10 Envelope: "" + +*fr_CA.Translation PageRegion/French Canadian Page Region: "" +*fr_CA.PageRegion Letter/French Canadian US Letter: "" +*fr_CA.PageRegion A4/French Canadian A4: "" +*fr_CA.PageRegion Env10/French Canadian #10 Envelope: "" + +*DefaultImageableArea: Letter +*ImageableArea Letter: "18 36 594 756" +*ImageableArea A4: "18 36 577 806" +*ImageableArea Env10: "18 36 279 648" + +*DefaultPaperDimension: Letter +*PaperDimension Letter: "612 792" +*PaperDimension A4: "595 842" +*PaperDimension Env10: "297 684" + +*% Custom page size support +*HWMargins: 0 0 0 0 +*NonUIOrderDependency: 100 AnySetup *CustomPageSize True +*CustomPageSize True/Custom Page Size: "PageSize=Custom" +*ParamCustomPageSize Width: 1 points 36 1080 +*ParamCustomPageSize Height: 2 points 36 86400 +*ParamCustomPageSize WidthOffset/Width Offset: 3 points 0 0 +*ParamCustomPageSize HeightOffset/Height Offset: 4 points 0 0 +*ParamCustomPageSize Orientation: 5 int 0 0 + +*cupsMediaQualifier2: InputSlot +*cupsMediaQualifier3: Quality +*cupsMaxSize .Manual.: "1000 1000" +*cupsMinSize .Manual.: "100 100" +*cupsMinSize .Manual.Photo: "200 200" +*cupsMinSize ..Photo: "300 300" + +*OpenUI *InputSlot/Input Slot: PickOne +*OrderDependency: 20 AnySetup *InputSlot +*DefaultInputSlot: Tray +*InputSlot Tray/Tray: "InputSlot=Tray" +*InputSlot Manual/Manual Feed: "InputSlot=Manual" +*InputSlot Envelope/Envelope Feed: "InputSlot=Envelope" +*CloseUI: *InputSlot + +*OpenUI *Quality/Output Mode: PickOne +*OrderDependency: 20 AnySetup *Quality +*DefaultQuality: Normal +*Quality Draft: "Quality=Draft" +*Quality Normal: "Quality=Normal" +*Quality Photo: "Quality=Photo" +*CloseUI: *Quality + +*OpenUI *Duplex/2-Sided Printing: PickOne +*OrderDependency: 10 DocumentSetup *Duplex +*DefaultDuplex: None +*Duplex None/Off: "Duplex=None" +*Duplex DuplexNoTumble/Long Edge: "Duplex=DuplexNoTumble" +*Duplex DuplexTumble/Short Edge: "Duplex=DuplexTumble" +*CloseUI: *Duplex + +*% Installable option... +*OpenGroup: InstallableOptions/Installable Options +*OpenUI InstalledDuplexer/Duplexer Installed: Boolean +*DefaultInstalledDuplexer: False +*InstalledDuplexer False: "" +*InstalledDuplexer True: "" +*CloseUI: *InstalledDuplexer +*CloseGroup: InstallableOptions + +*% Custom options... +*OpenGroup: Extended/Extended Options + +*OpenUI IntOption/Integer: PickOne +*OrderDependency: 30 AnySetup *IntOption +*DefaultIntOption: None +*IntOption None: "" +*IntOption 1: "IntOption=1" +*IntOption 2: "IntOption=2" +*IntOption 3: "IntOption=3" +*CloseUI: *IntOption + +*CustomIntOption True/Custom Integer: "IntOption=Custom" +*ParamCustomIntOption Integer: 1 int -100 100 + +*OpenUI StringOption/String: PickOne +*OrderDependency: 40 AnySetup *StringOption +*DefaultStringOption: None +*StringOption None: "" +*StringOption foo: "StringOption=foo" +*StringOption bar: "StringOption=bar" +*CloseUI: *StringOption + +*CustomStringOption True/Custom String: "StringOption=Custom" +*ParamCustomStringOption String: 1 string 1 10 + +*CloseGroup: Extended + +*% IPP reasons for ppdLocalizeIPPReason tests +*cupsIPPReason foo/Foo Reason: "http://foo/bar.html +help:anchor='foo'%20bookID=Vendor%20Help +/help/foo/bar.html" +*End +*fr.cupsIPPReason foo/La Foo Reason: "text:La%20Long%20 +text:Foo%20Reason +http://foo/fr/bar.html +help:anchor='foo'%20bookID=Vendor%20Help +/help/fr/foo/bar.html" +*End +*zh_TW.cupsIPPReason foo/Number 1 Foo Reason: "text:Number%201%20 +text:Foo%20Reason +http://foo/zh_TW/bar.html +help:anchor='foo'%20bookID=Vendor%20Help +/help/zh_TW/foo/bar.html" +*End +*zh.cupsIPPReason foo/Number 2 Foo Reason: "text:Number%202%20 +text:Foo%20Reason +http://foo/zh/bar.html +help:anchor='foo'%20bookID=Vendor%20Help +/help/zh/foo/bar.html" +*End + +*% Marker names for ppdLocalizeMarkerName tests +*cupsMarkerName cyan/Cyan Toner: "" +*fr.cupsMarkerName cyan/La Toner Cyan: "" +*zh_TW.cupsMarkerName cyan/Number 1 Cyan Toner: "" +*zh.cupsMarkerName cyan/Number 2 Cyan Toner: "" + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM diff --git a/cups/testadmin.c b/cups/testadmin.c new file mode 100644 index 0000000..58424ea --- /dev/null +++ b/cups/testadmin.c @@ -0,0 +1,103 @@ +/* + * Admin function test program for CUPS. + * + * Copyright 2007-2013 by Apple Inc. + * Copyright 2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "adminutil.h" +#include "string-private.h" + + +/* + * Local functions... + */ + +static void show_settings(int num_settings, cups_option_t *settings); + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i, /* Looping var */ + num_settings; /* Number of settings */ + cups_option_t *settings; /* Settings */ + http_t *http; /* Connection to server */ + + + /* + * Connect to the server using the defaults... + */ + + http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, + cupsEncryption(), 1, 30000, NULL); + + /* + * Set the current configuration if we have anything on the command-line... + */ + + if (argc > 1) + { + for (i = 1, num_settings = 0, settings = NULL; i < argc; i ++) + num_settings = cupsParseOptions(argv[i], num_settings, &settings); + + if (cupsAdminSetServerSettings(http, num_settings, settings)) + { + puts("New server settings:"); + cupsFreeOptions(num_settings, settings); + } + else + { + printf("Server settings not changed: %s\n", cupsLastErrorString()); + return (1); + } + } + else + puts("Current server settings:"); + + /* + * Get the current configuration... + */ + + if (cupsAdminGetServerSettings(http, &num_settings, &settings)) + { + show_settings(num_settings, settings); + cupsFreeOptions(num_settings, settings); + return (0); + } + else + { + printf(" %s\n", cupsLastErrorString()); + return (1); + } +} + + +/* + * 'show_settings()' - Show settings in the array... + */ + +static void +show_settings( + int num_settings, /* I - Number of settings */ + cups_option_t *settings) /* I - Settings */ +{ + while (num_settings > 0) + { + printf(" %s=%s\n", settings->name, settings->value); + + settings ++; + num_settings --; + } +} diff --git a/cups/testarray.c b/cups/testarray.c new file mode 100644 index 0000000..185fcbe --- /dev/null +++ b/cups/testarray.c @@ -0,0 +1,541 @@ +/* + * Array test program for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "string-private.h" +#include "debug-private.h" +#include "array-private.h" +#include "dir.h" + + +/* + * Local functions... + */ + +static double get_seconds(void); +static int load_words(const char *filename, cups_array_t *array); + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(void) +{ + int i; /* Looping var */ + cups_array_t *array, /* Test array */ + *dup_array; /* Duplicate array */ + int status; /* Exit status */ + char *text; /* Text from array */ + char word[256]; /* Word from file */ + double start, /* Start time */ + end; /* End time */ + cups_dir_t *dir; /* Current directory */ + cups_dentry_t *dent; /* Directory entry */ + char *saved[32]; /* Saved entries */ + void *data; /* User data for arrays */ + + + /* + * No errors so far... + */ + + status = 0; + + /* + * cupsArrayNew() + */ + + fputs("cupsArrayNew: ", stdout); + + data = (void *)"testarray"; + array = cupsArrayNew((cups_array_func_t)strcmp, data); + + if (array) + puts("PASS"); + else + { + puts("FAIL (returned NULL, expected pointer)"); + status ++; + } + + /* + * cupsArrayUserData() + */ + + fputs("cupsArrayUserData: ", stdout); + if (cupsArrayUserData(array) == data) + puts("PASS"); + else + { + printf("FAIL (returned %p instead of %p!)\n", cupsArrayUserData(array), + data); + status ++; + } + + /* + * cupsArrayAdd() + */ + + fputs("cupsArrayAdd: ", stdout); + + if (!cupsArrayAdd(array, strdup("One Fish"))) + { + puts("FAIL (\"One Fish\")"); + status ++; + } + else + { + if (!cupsArrayAdd(array, strdup("Two Fish"))) + { + puts("FAIL (\"Two Fish\")"); + status ++; + } + else + { + if (!cupsArrayAdd(array, strdup("Red Fish"))) + { + puts("FAIL (\"Red Fish\")"); + status ++; + } + else + { + if (!cupsArrayAdd(array, strdup("Blue Fish"))) + { + puts("FAIL (\"Blue Fish\")"); + status ++; + } + else + puts("PASS"); + } + } + } + + /* + * cupsArrayCount() + */ + + fputs("cupsArrayCount: ", stdout); + if (cupsArrayCount(array) == 4) + puts("PASS"); + else + { + printf("FAIL (returned %d, expected 4)\n", cupsArrayCount(array)); + status ++; + } + + /* + * cupsArrayFirst() + */ + + fputs("cupsArrayFirst: ", stdout); + if ((text = (char *)cupsArrayFirst(array)) != NULL && + !strcmp(text, "Blue Fish")) + puts("PASS"); + else + { + printf("FAIL (returned \"%s\", expected \"Blue Fish\")\n", text); + status ++; + } + + /* + * cupsArrayNext() + */ + + fputs("cupsArrayNext: ", stdout); + if ((text = (char *)cupsArrayNext(array)) != NULL && + !strcmp(text, "One Fish")) + puts("PASS"); + else + { + printf("FAIL (returned \"%s\", expected \"One Fish\")\n", text); + status ++; + } + + /* + * cupsArrayLast() + */ + + fputs("cupsArrayLast: ", stdout); + if ((text = (char *)cupsArrayLast(array)) != NULL && + !strcmp(text, "Two Fish")) + puts("PASS"); + else + { + printf("FAIL (returned \"%s\", expected \"Two Fish\")\n", text); + status ++; + } + + /* + * cupsArrayPrev() + */ + + fputs("cupsArrayPrev: ", stdout); + if ((text = (char *)cupsArrayPrev(array)) != NULL && + !strcmp(text, "Red Fish")) + puts("PASS"); + else + { + printf("FAIL (returned \"%s\", expected \"Red Fish\")\n", text); + status ++; + } + + /* + * cupsArrayFind() + */ + + fputs("cupsArrayFind: ", stdout); + if ((text = (char *)cupsArrayFind(array, (void *)"One Fish")) != NULL && + !strcmp(text, "One Fish")) + puts("PASS"); + else + { + printf("FAIL (returned \"%s\", expected \"One Fish\")\n", text); + status ++; + } + + /* + * cupsArrayCurrent() + */ + + fputs("cupsArrayCurrent: ", stdout); + if ((text = (char *)cupsArrayCurrent(array)) != NULL && + !strcmp(text, "One Fish")) + puts("PASS"); + else + { + printf("FAIL (returned \"%s\", expected \"One Fish\")\n", text); + status ++; + } + + /* + * cupsArrayDup() + */ + + fputs("cupsArrayDup: ", stdout); + if ((dup_array = cupsArrayDup(array)) != NULL && + cupsArrayCount(dup_array) == 4) + puts("PASS"); + else + { + printf("FAIL (returned %p with %d elements, expected pointer with 4 elements)\n", (void *)dup_array, cupsArrayCount(dup_array)); + status ++; + } + + /* + * cupsArrayRemove() + */ + + fputs("cupsArrayRemove: ", stdout); + if (cupsArrayRemove(array, (void *)"One Fish") && + cupsArrayCount(array) == 3) + puts("PASS"); + else + { + printf("FAIL (returned 0 with %d elements, expected 1 with 4 elements)\n", + cupsArrayCount(array)); + status ++; + } + + /* + * cupsArrayClear() + */ + + fputs("cupsArrayClear: ", stdout); + cupsArrayClear(array); + if (cupsArrayCount(array) == 0) + puts("PASS"); + else + { + printf("FAIL (%d elements, expected 0 elements)\n", + cupsArrayCount(array)); + status ++; + } + + /* + * Now load this source file and grab all of the unique words... + */ + + fputs("Load unique words: ", stdout); + fflush(stdout); + + start = get_seconds(); + + if ((dir = cupsDirOpen(".")) == NULL) + { + puts("FAIL (cupsDirOpen failed)"); + status ++; + } + else + { + while ((dent = cupsDirRead(dir)) != NULL) + { + i = (int)strlen(dent->filename) - 2; + + if (i > 0 && dent->filename[i] == '.' && + (dent->filename[i + 1] == 'c' || + dent->filename[i + 1] == 'h')) + load_words(dent->filename, array); + } + + cupsDirClose(dir); + + end = get_seconds(); + + printf("%d words in %.3f seconds (%.0f words/sec), ", cupsArrayCount(array), + end - start, cupsArrayCount(array) / (end - start)); + fflush(stdout); + + for (text = (char *)cupsArrayFirst(array); text;) + { + /* + * Copy this word to the word buffer (safe because we strdup'd from + * the same buffer in the first place... :) + */ + + strlcpy(word, text, sizeof(word)); + + /* + * Grab the next word and compare... + */ + + if ((text = (char *)cupsArrayNext(array)) == NULL) + break; + + if (strcmp(word, text) >= 0) + break; + } + + if (text) + { + printf("FAIL (\"%s\" >= \"%s\"!)\n", word, text); + status ++; + } + else + puts("PASS"); + } + + /* + * Test deleting with iteration... + */ + + fputs("Delete While Iterating: ", stdout); + + text = (char *)cupsArrayFirst(array); + cupsArrayRemove(array, text); + free(text); + + text = (char *)cupsArrayNext(array); + if (!text) + { + puts("FAIL (cupsArrayNext returned NULL!)"); + status ++; + } + else + puts("PASS"); + + /* + * Test save/restore... + */ + + fputs("cupsArraySave: ", stdout); + + for (i = 0, text = (char *)cupsArrayFirst(array); + i < 32; + i ++, text = (char *)cupsArrayNext(array)) + { + saved[i] = text; + + if (!cupsArraySave(array)) + break; + } + + if (i < 32) + printf("FAIL (depth = %d)\n", i); + else + puts("PASS"); + + fputs("cupsArrayRestore: ", stdout); + + while (i > 0) + { + i --; + + text = cupsArrayRestore(array); + if (text != saved[i]) + break; + } + + if (i) + printf("FAIL (depth = %d)\n", i); + else + puts("PASS"); + + /* + * Delete the arrays... + */ + + cupsArrayDelete(array); + cupsArrayDelete(dup_array); + + /* + * Test the array with string functions... + */ + + fputs("_cupsArrayNewStrings(\" \\t\\nfoo bar\\tboo\\nfar\", ' '): ", stdout); + array = _cupsArrayNewStrings(" \t\nfoo bar\tboo\nfar", ' '); + if (!array) + { + status = 1; + puts("FAIL (unable to create array)"); + } + else if (cupsArrayCount(array) != 4) + { + status = 1; + printf("FAIL (got %d elements, expected 4)\n", cupsArrayCount(array)); + } + else if (strcmp(text = (char *)cupsArrayFirst(array), "bar")) + { + status = 1; + printf("FAIL (first element \"%s\", expected \"bar\")\n", text); + } + else if (strcmp(text = (char *)cupsArrayNext(array), "boo")) + { + status = 1; + printf("FAIL (first element \"%s\", expected \"boo\")\n", text); + } + else if (strcmp(text = (char *)cupsArrayNext(array), "far")) + { + status = 1; + printf("FAIL (first element \"%s\", expected \"far\")\n", text); + } + else if (strcmp(text = (char *)cupsArrayNext(array), "foo")) + { + status = 1; + printf("FAIL (first element \"%s\", expected \"foo\")\n", text); + } + else + puts("PASS"); + + fputs("_cupsArrayAddStrings(array, \"foo2,bar2\", ','): ", stdout); + _cupsArrayAddStrings(array, "foo2,bar2", ','); + + if (cupsArrayCount(array) != 6) + { + status = 1; + printf("FAIL (got %d elements, expected 6)\n", cupsArrayCount(array)); + } + else if (strcmp(text = (char *)cupsArrayFirst(array), "bar")) + { + status = 1; + printf("FAIL (first element \"%s\", expected \"bar\")\n", text); + } + else if (strcmp(text = (char *)cupsArrayNext(array), "bar2")) + { + status = 1; + printf("FAIL (first element \"%s\", expected \"bar2\")\n", text); + } + else if (strcmp(text = (char *)cupsArrayNext(array), "boo")) + { + status = 1; + printf("FAIL (first element \"%s\", expected \"boo\")\n", text); + } + else if (strcmp(text = (char *)cupsArrayNext(array), "far")) + { + status = 1; + printf("FAIL (first element \"%s\", expected \"far\")\n", text); + } + else if (strcmp(text = (char *)cupsArrayNext(array), "foo")) + { + status = 1; + printf("FAIL (first element \"%s\", expected \"foo\")\n", text); + } + else if (strcmp(text = (char *)cupsArrayNext(array), "foo2")) + { + status = 1; + printf("FAIL (first element \"%s\", expected \"foo2\")\n", text); + } + else + puts("PASS"); + + cupsArrayDelete(array); + + /* + * Summarize the results and return... + */ + + if (!status) + puts("\nALL TESTS PASSED!"); + else + printf("\n%d TEST(S) FAILED!\n", status); + + return (status); +} + + +/* + * 'get_seconds()' - Get the current time in seconds... + */ + +#ifdef _WIN32 +# include + + +static double +get_seconds(void) +{ +} +#else +# include + + +static double +get_seconds(void) +{ + struct timeval curtime; /* Current time */ + + + gettimeofday(&curtime, NULL); + return (curtime.tv_sec + 0.000001 * curtime.tv_usec); +} +#endif /* _WIN32 */ + + +/* + * 'load_words()' - Load words from a file. + */ + +static int /* O - 1 on success, 0 on failure */ +load_words(const char *filename, /* I - File to load */ + cups_array_t *array) /* I - Array to add to */ +{ + FILE *fp; /* Test file */ + char word[256]; /* Word from file */ + + + if ((fp = fopen(filename, "r")) == NULL) + { + perror(filename); + return (0); + } + + while (fscanf(fp, "%255s", word) == 1) + { + if (!cupsArrayFind(array, word)) + cupsArrayAdd(array, strdup(word)); + } + + fclose(fp); + + return (1); +} diff --git a/cups/testcache.c b/cups/testcache.c new file mode 100644 index 0000000..44f7508 --- /dev/null +++ b/cups/testcache.c @@ -0,0 +1,85 @@ +/* + * PPD cache testing program for CUPS. + * + * Copyright 2009-2018 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "ppd-private.h" +#include "file-private.h" + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + const char *ppdfile = NULL;/* PPD filename */ + ppd_file_t *ppd; /* PPD file */ + int num_options = 0;/* Number of options */ + cups_option_t *options = NULL;/* Options */ + _ppd_cache_t *pc; /* PPD cache and PWG mapping data */ + int num_finishings, /* Number of finishing options */ + finishings[20]; /* Finishing options */ + ppd_choice_t *ppd_bin; /* OutputBin value */ + const char *output_bin; /* output-bin value */ + + if (argc < 2) + { + puts("Usage: ./testcache filename.ppd [name=value ... name=value]"); + return (1); + } + + ppdfile = argv[1]; + if ((ppd = ppdOpenFile(ppdfile)) == NULL) + { + ppd_status_t err; /* Last error in file */ + int line; /* Line number in file */ + + + err = ppdLastError(&line); + + fprintf(stderr, "Unable to open \"%s\": %s on line %d\n", ppdfile, ppdErrorString(err), line); + return (1); + } + + if ((pc = _ppdCacheCreateWithPPD(ppd)) == NULL) + { + fprintf(stderr, "Unable to create PPD cache from \"%s\".\n", ppdfile); + return (1); + } + + for (i = 2; i < argc; i ++) + num_options = cupsParseOptions(argv[i], num_options, &options); + + ppdMarkDefaults(ppd); + cupsMarkOptions(ppd, num_options, options); + + num_finishings = _ppdCacheGetFinishingValues(ppd, pc, (int)sizeof(finishings) / sizeof(finishings[0]), finishings); + + if (num_finishings > 0) + { + fputs("finishings=", stdout); + for (i = 0; i < num_finishings; i ++) + if (i) + printf(",%d", finishings[i]); + else + printf("%d", finishings[i]); + fputs("\n", stdout); + } + + if ((ppd_bin = ppdFindMarkedChoice(ppd, "OutputBin")) != NULL && + (output_bin = _ppdCacheGetBin(pc, ppd_bin->choice)) != NULL) + printf("output-bin=\"%s\"\n", output_bin); + + return (0); +} diff --git a/cups/testclient.c b/cups/testclient.c new file mode 100644 index 0000000..cf945df --- /dev/null +++ b/cups/testclient.c @@ -0,0 +1,1058 @@ +/* + * Simulated client test program for CUPS. + * + * Copyright © 2017-2019 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include +#include +#include + + +/* + * Constants... + */ + +#define MAX_CLIENTS 16 /* Maximum number of client threads */ + + +/* + * Local types... + */ + +typedef struct _client_data_s +{ + const char *uri, /* Printer URI */ + *hostname, /* Hostname */ + *user, /* Username */ + *resource; /* Resource path */ + int port; /* Port number */ + http_encryption_t encryption; /* Use encryption? */ + const char *docfile, /* Document file */ + *docformat; /* Document format */ + int grayscale, /* Force grayscale? */ + keepfile; /* Keep temporary file? */ + ipp_pstate_t printer_state; /* Current printer state */ + char printer_state_reasons[1024]; + /* Current printer-state-reasons */ + int job_id; /* Job ID for submitted job */ + ipp_jstate_t job_state; /* Current job state */ + char job_state_reasons[1024]; + /* Current job-state-reasons */ +} _client_data_t; + + +/* + * Local globals... + */ + +static int client_count = 0; +static _cups_mutex_t client_mutex = _CUPS_MUTEX_INITIALIZER; +static int verbosity = 0; + + +/* + * Local functions... + */ + +static const char *make_raster_file(ipp_t *response, int grayscale, char *tempname, size_t tempsize, const char **format); +static void *monitor_printer(_client_data_t *data); +static void *run_client(_client_data_t *data); +static void show_attributes(const char *title, int request, ipp_t *ipp); +static void show_capabilities(ipp_t *response); +static void usage(void); + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + const char *opt; /* Current option */ + int num_clients = 0,/* Number of clients to simulate */ + clients_started = 0; + /* Number of clients that have been started */ + char scheme[32], /* URI scheme */ + userpass[256], /* Username:password */ + hostname[256], /* Hostname */ + resource[256]; /* Resource path */ + _client_data_t data; /* Client data */ + + + /* + * Parse command-line options... + */ + + if (argc == 1) + return (0); + + memset(&data, 0, sizeof(data)); + + for (i = 1; i < argc; i ++) + { + if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'c' : /* -c num-clients */ + if (num_clients) + { + puts("Number of clients can only be specified once."); + usage(); + return (1); + } + + i ++; + if (i >= argc) + { + puts("Expected client count after '-c'."); + usage(); + return (1); + } + + if ((num_clients = atoi(argv[i])) < 1) + { + puts("Number of clients must be one or more."); + usage(); + return (1); + } + break; + + case 'd' : /* -d document-format */ + if (data.docformat) + { + puts("Document format can only be specified once."); + usage(); + return (1); + } + + i ++; + if (i >= argc) + { + puts("Expected document format after '-d'."); + usage(); + return (1); + } + + data.docformat = argv[i]; + break; + + case 'f' : /* -f print-file */ + if (data.docfile) + { + puts("Print file can only be specified once."); + usage(); + return (1); + } + + i ++; + if (i >= argc) + { + puts("Expected print file after '-f'."); + usage(); + return (1); + } + + data.docfile = argv[i]; + break; + + case 'g' : + data.grayscale = 1; + break; + + case 'k' : + data.keepfile = 1; + break; + + case 'v' : + verbosity ++; + break; + + default : + printf("Unknown option '-%c'.\n", *opt); + usage(); + return (1); + } + } + } + else if (data.uri || (strncmp(argv[i], "ipp://", 6) && strncmp(argv[i], "ipps://", 7))) + { + printf("Unknown command-line argument '%s'.\n", argv[i]); + usage(); + return (1); + } + else + data.uri = argv[i]; + } + + /* + * Make sure we have everything we need. + */ + + if (!data.uri) + { + puts("Expected printer URI."); + usage(); + return (1); + } + + if (num_clients < 1) + num_clients = 1; + + /* + * Connect to the printer... + */ + + if (httpSeparateURI(HTTP_URI_CODING_ALL, data.uri, scheme, sizeof(scheme), userpass, sizeof(userpass), hostname, sizeof(hostname), &data.port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK) + { + printf("Bad printer URI '%s'.\n", data.uri); + return (1); + } + + if (!data.port) + data.port = IPP_PORT; + + if (!strcmp(scheme, "https") || !strcmp(scheme, "ipps")) + data.encryption = HTTP_ENCRYPTION_ALWAYS; + else + data.encryption = HTTP_ENCRYPTION_IF_REQUESTED; + + /* + * Start the client threads... + */ + + data.hostname = hostname; + data.resource = resource; + + while (clients_started < num_clients) + { + _cupsMutexLock(&client_mutex); + if (client_count < MAX_CLIENTS) + { + _cups_thread_t tid; /* New thread */ + + client_count ++; + _cupsMutexUnlock(&client_mutex); + tid = _cupsThreadCreate((_cups_thread_func_t)run_client, &data); + _cupsThreadDetach(tid); + } + else + { + _cupsMutexUnlock(&client_mutex); + sleep(1); + } + } + + while (client_count > 0) + { + _cupsMutexLock(&client_mutex); + printf("%d RUNNING CLIENTS\n", client_count); + _cupsMutexUnlock(&client_mutex); + sleep(1); + } + + return (0); +} + + +/* + * 'make_raster_file()' - Create a temporary raster file. + */ + +static const char * /* O - Print filename */ +make_raster_file(ipp_t *response, /* I - Printer attributes */ + int grayscale, /* I - Force grayscale? */ + char *tempname, /* I - Temporary filename buffer */ + size_t tempsize, /* I - Size of temp file buffer */ + const char **format) /* O - Print format */ +{ + int i, /* Looping var */ + count; /* Number of values */ + ipp_attribute_t *attr; /* Printer attribute */ + const char *type = NULL; /* Raster type (colorspace + bits) */ + pwg_media_t *media = NULL; /* Media size */ + int xdpi = 0, /* Horizontal resolution */ + ydpi = 0; /* Vertical resolution */ + int fd; /* Temporary file */ + cups_mode_t mode; /* Raster mode */ + cups_raster_t *ras; /* Raster stream */ + cups_page_header2_t header; /* Page header */ + unsigned char *line, /* Line of raster data */ + *lineptr; /* Pointer into line */ + unsigned y, /* Current position on page */ + xcount, ycount, /* Current count for X and Y */ + xrep, yrep, /* Repeat count for X and Y */ + xoff, yoff, /* Offsets for X and Y */ + yend; /* End Y value */ + int temprow, /* Row in template */ + tempcolor; /* Template color */ + const char *template; /* Pointer into template */ + const unsigned char *color; /* Current color */ + static const unsigned char colors[][3] = + { /* Colors for test */ + { 191, 191, 191 }, + { 127, 127, 127 }, + { 63, 63, 63 }, + { 0, 0, 0 }, + { 255, 0, 0 }, + { 255, 127, 0 }, + { 255, 255, 0 }, + { 127, 255, 0 }, + { 0, 255, 0 }, + { 0, 255, 127 }, + { 0, 255, 255 }, + { 0, 127, 255 }, + { 0, 0, 255 }, + { 127, 0, 255 }, + { 255, 0, 255 } + }; + static const char * const templates[] = + { /* Raster template */ + " CCC U U PPPP SSS TTTTT EEEEE SSS TTTTT 000 1 222 333 4 55555 66 77777 888 999 ", + "C C U U P P S S T E S S T 0 0 11 2 2 3 3 4 4 5 6 7 8 8 9 9 ", + "C U U P P S T E S T 0 0 1 2 3 4 4 5 6 7 8 8 9 9 ", + "C U U PPPP SSS ----- T EEEE SSS T 0 0 0 1 22 333 44444 555 6666 7 888 9999 ", + "C U U P S T E S T 0 0 1 2 3 4 5 6 6 7 8 8 9 ", + "C C U U P S S T E S S T 0 0 1 2 3 3 4 5 5 6 6 7 8 8 9 ", + " CCC UUU P SSS T EEEEE SSS T 000 111 22222 333 4 555 666 7 888 99 ", + " " + }; + + + /* + * Figure out the output format... + */ + + if ((attr = ippFindAttribute(response, "document-format-supported", IPP_TAG_MIMETYPE)) == NULL) + { + puts("No supported document formats, aborting."); + return (NULL); + } + + if (*format) + { + if (!ippContainsString(attr, *format)) + { + printf("Printer does not support document-format '%s'.\n", *format); + return (NULL); + } + + if (!strcmp(*format, "image/urf")) + mode = CUPS_RASTER_WRITE_APPLE; + else if (!strcmp(*format, "image/pwg-raster")) + mode = CUPS_RASTER_WRITE_PWG; + else + { + printf("Unable to generate document-format '%s'.\n", *format); + return (NULL); + } + } + else if (ippContainsString(attr, "image/urf")) + { + /* + * Apple Raster format... + */ + + *format = "image/urf"; + mode = CUPS_RASTER_WRITE_APPLE; + } + else if (ippContainsString(attr, "image/pwg-raster")) + { + /* + * PWG Raster format... + */ + + *format = "image/pwg-raster"; + mode = CUPS_RASTER_WRITE_PWG; + } + else + { + /* + * No supported raster format... + */ + + puts("Printer does not support Apple or PWG raster files, aborting."); + return (NULL); + } + + /* + * Figure out the the media, resolution, and color mode... + */ + + if ((attr = ippFindAttribute(response, "media-default", IPP_TAG_KEYWORD)) != NULL) + { + /* + * Use default media... + */ + + media = pwgMediaForPWG(ippGetString(attr, 0, NULL)); + } + else if ((attr = ippFindAttribute(response, "media-ready", IPP_TAG_KEYWORD)) != NULL) + { + /* + * Use ready media... + */ + + if (ippContainsString(attr, "na_letter_8.5x11in")) + media = pwgMediaForPWG("na_letter_8.5x11in"); + else if (ippContainsString(attr, "iso_a4_210x297mm")) + media = pwgMediaForPWG("iso_a4_210x297mm"); + else + media = pwgMediaForPWG(ippGetString(attr, 0, NULL)); + } + else + { + puts("No default or ready media reported by printer, aborting."); + return (NULL); + } + + if (mode == CUPS_RASTER_WRITE_APPLE && (attr = ippFindAttribute(response, "urf-supported", IPP_TAG_KEYWORD)) != NULL) + { + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + const char *val = ippGetString(attr, i, NULL); + + if (!strncmp(val, "RS", 2)) + xdpi = ydpi = atoi(val + 2); + else if (!strncmp(val, "W8", 2) && !type) + type = "sgray_8"; + else if (!strncmp(val, "SRGB24", 6) && !grayscale) + type = "srgb_8"; + } + } + else if (mode == CUPS_RASTER_WRITE_PWG && (attr = ippFindAttribute(response, "pwg-raster-document-resolution-supported", IPP_TAG_RESOLUTION)) != NULL) + { + for (i = 0, count = ippGetCount(attr); i < count; i ++) + { + int tempxdpi, tempydpi; + ipp_res_t tempunits; + + tempxdpi = ippGetResolution(attr, 0, &tempydpi, &tempunits); + + if (i == 0 || tempxdpi < xdpi || tempydpi < ydpi) + { + xdpi = tempxdpi; + ydpi = tempydpi; + } + } + + if ((attr = ippFindAttribute(response, "pwg-raster-document-type-supported", IPP_TAG_KEYWORD)) != NULL) + { + if (!grayscale && ippContainsString(attr, "srgb_8")) + type = "srgb_8"; + else if (ippContainsString(attr, "sgray_8")) + type = "sgray_8"; + } + } + + if (xdpi < 72 || ydpi < 72) + { + puts("No supported raster resolutions, aborting."); + return (NULL); + } + + if (!type) + { + puts("No supported color spaces or bit depths, aborting."); + return (NULL); + } + + /* + * Make the raster context and details... + */ + + if (!cupsRasterInitPWGHeader(&header, media, type, xdpi, ydpi, "one-sided", NULL)) + { + printf("Unable to initialize raster context: %s\n", cupsRasterErrorString()); + return (NULL); + } + + header.cupsInteger[CUPS_RASTER_PWG_TotalPageCount] = 1; + + if (header.cupsWidth > (4 * header.HWResolution[0])) + { + xoff = header.HWResolution[0] / 2; + yoff = header.HWResolution[1] / 2; + } + else + { + xoff = 0; + yoff = 0; + } + + xrep = (header.cupsWidth - 2 * xoff) / 140; + yrep = xrep * header.HWResolution[1] / header.HWResolution[0]; + yend = header.cupsHeight - yoff; + + /* + * Prepare the raster file... + */ + + if ((line = malloc(header.cupsBytesPerLine)) == NULL) + { + printf("Unable to allocate %u bytes for raster output: %s\n", header.cupsBytesPerLine, strerror(errno)); + return (NULL); + } + + if ((fd = cupsTempFd(tempname, (int)tempsize)) < 0) + { + printf("Unable to create temporary print file: %s\n", strerror(errno)); + free(line); + return (NULL); + } + + if ((ras = cupsRasterOpen(fd, mode)) == NULL) + { + printf("Unable to open raster stream: %s\n", cupsRasterErrorString()); + close(fd); + free(line); + return (NULL); + } + + /* + * Write a single page consisting of the template dots repeated over the page. + */ + + cupsRasterWriteHeader2(ras, &header); + + memset(line, 0xff, header.cupsBytesPerLine); + + for (y = 0; y < yoff; y ++) + cupsRasterWritePixels(ras, line, header.cupsBytesPerLine); + + for (temprow = 0, tempcolor = 0; y < yend;) + { + template = templates[temprow]; + color = colors[tempcolor]; + + temprow ++; + if (temprow >= (int)(sizeof(templates) / sizeof(templates[0]))) + { + temprow = 0; + tempcolor ++; + if (tempcolor >= (int)(sizeof(colors) / sizeof(colors[0]))) + tempcolor = 0; + else if (tempcolor > 3 && header.cupsColorSpace == CUPS_CSPACE_SW) + tempcolor = 0; + } + + memset(line, 0xff, header.cupsBytesPerLine); + + if (header.cupsColorSpace == CUPS_CSPACE_SW) + { + /* + * Do grayscale output... + */ + + for (lineptr = line + xoff; *template; template ++) + { + if (*template != ' ') + { + for (xcount = xrep; xcount > 0; xcount --) + *lineptr++ = *color; + } + else + { + lineptr += xrep; + } + } + } + else + { + /* + * Do color output... + */ + + for (lineptr = line + 3 * xoff; *template; template ++) + { + if (*template != ' ') + { + for (xcount = xrep; xcount > 0; xcount --, lineptr += 3) + memcpy(lineptr, color, 3); + } + else + { + lineptr += 3 * xrep; + } + } + } + + for (ycount = yrep; ycount > 0 && y < yend; ycount --, y ++) + cupsRasterWritePixels(ras, line, header.cupsBytesPerLine); + } + + memset(line, 0xff, header.cupsBytesPerLine); + + for (y = 0; y < header.cupsHeight; y ++) + cupsRasterWritePixels(ras, line, header.cupsBytesPerLine); + + cupsRasterClose(ras); + + close(fd); + + printf("PRINT FILE: %s\n", tempname); + + return (tempname); +} + + +/* + * 'monitor_printer()' - Monitor the job and printer states. + */ + +static void * /* O - Thread exit code */ +monitor_printer( + _client_data_t *data) /* I - Client data */ +{ + http_t *http; /* Connection to printer */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* Attribute in response */ + ipp_pstate_t printer_state; /* Printer state */ + char printer_state_reasons[1024]; + /* Printer state reasons */ + ipp_jstate_t job_state; /* Job state */ + char job_state_reasons[1024];/* Printer state reasons */ + static const char * const jattrs[] = /* Job attributes we want */ + { + "job-state", + "job-state-reasons" + }; + static const char * const pattrs[] = /* Printer attributes we want */ + { + "printer-state", + "printer-state-reasons" + }; + + + /* + * Open a connection to the printer... + */ + + http = httpConnect2(data->hostname, data->port, NULL, AF_UNSPEC, data->encryption, 1, 0, NULL); + + /* + * Loop until the job is canceled, aborted, or completed. + */ + + printer_state = (ipp_pstate_t)0; + printer_state_reasons[0] = '\0'; + + job_state = (ipp_jstate_t)0; + job_state_reasons[0] = '\0'; + + while (data->job_state < IPP_JSTATE_CANCELED) + { + /* + * Reconnect to the printer as needed... + */ + + if (httpGetFd(http) < 0) + httpReconnect2(http, 30000, NULL); + + if (httpGetFd(http) >= 0) + { + /* + * Connected, so check on the printer state... + */ + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, data->uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", (int)(sizeof(pattrs) / sizeof(pattrs[0])), NULL, pattrs); + + response = cupsDoRequest(http, request, data->resource); + + if ((attr = ippFindAttribute(response, "printer-state", IPP_TAG_ENUM)) != NULL) + printer_state = (ipp_pstate_t)ippGetInteger(attr, 0); + + if ((attr = ippFindAttribute(response, "printer-state-reasons", IPP_TAG_KEYWORD)) != NULL) + ippAttributeString(attr, printer_state_reasons, sizeof(printer_state_reasons)); + + if (printer_state != data->printer_state || strcmp(printer_state_reasons, data->printer_state_reasons)) + { + printf("PRINTER: %s (%s)\n", ippEnumString("printer-state", (int)printer_state), printer_state_reasons); + + data->printer_state = printer_state; + strlcpy(data->printer_state_reasons, printer_state_reasons, sizeof(data->printer_state_reasons)); + } + + ippDelete(response); + + if (data->job_id > 0) + { + /* + * Check the status of the job itself... + */ + + request = ippNewRequest(IPP_OP_GET_JOB_ATTRIBUTES); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, data->uri); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", data->job_id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", (int)(sizeof(jattrs) / sizeof(jattrs[0])), NULL, jattrs); + + response = cupsDoRequest(http, request, data->resource); + + if ((attr = ippFindAttribute(response, "job-state", IPP_TAG_ENUM)) != NULL) + job_state = (ipp_jstate_t)ippGetInteger(attr, 0); + + if ((attr = ippFindAttribute(response, "job-state-reasons", IPP_TAG_KEYWORD)) != NULL) + ippAttributeString(attr, job_state_reasons, sizeof(job_state_reasons)); + + if (job_state != data->job_state || strcmp(job_state_reasons, data->job_state_reasons)) + { + printf("JOB %d: %s (%s)\n", data->job_id, ippEnumString("job-state", (int)job_state), job_state_reasons); + + data->job_state = job_state; + strlcpy(data->job_state_reasons, job_state_reasons, sizeof(data->job_state_reasons)); + } + + ippDelete(response); + } + } + + if (data->job_state < IPP_JSTATE_CANCELED) + { + /* + * Sleep for 5 seconds... + */ + + sleep(5); + } + } + + /* + * Cleanup and return... + */ + + httpClose(http); + + printf("FINISHED MONITORING JOB %d\n", data->job_id); + + return (NULL); +} + + +/* + * 'run_client()' - Run a client thread. + */ + +static void * /* O - Thread exit code */ +run_client( + _client_data_t *data) /* I - Client data */ +{ + _cups_thread_t monitor_id; /* Monitoring thread ID */ + const char *name; /* Job name */ + char tempfile[1024] = ""; /* Temporary file (if any) */ + _client_data_t ldata; /* Local client data */ + http_t *http; /* Connection to printer */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* Attribute in response */ + static const char * const pattrs[] = /* Printer attributes we are interested in */ + { + "job-template", + "printer-defaults", + "printer-description", + "media-col-database", + "media-col-ready" + }; + + + ldata = *data; + + /* + * Start monitoring the printer in the background... + */ + + monitor_id = _cupsThreadCreate((_cups_thread_func_t)monitor_printer, &ldata); + + /* + * Open a connection to the printer... + */ + + http = httpConnect2(data->hostname, data->port, NULL, AF_UNSPEC, data->encryption, 1, 0, NULL); + + /* + * Query printer status and capabilities... + */ + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, ldata.uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", (int)(sizeof(pattrs) / sizeof(pattrs[0])), NULL, pattrs); + + response = cupsDoRequest(http, request, ldata.resource); + + if (verbosity) + show_capabilities(response); + + /* + * Now figure out what we will be printing... + */ + + if (ldata.docfile) + { + /* + * User specified a print file, figure out the format... + */ + const char *ext; /* Filename extension */ + + if ((ext = strrchr(ldata.docfile, '.')) != NULL) + { + /* + * Guess the format from the extension... + */ + + if (!strcmp(ext, ".jpg")) + ldata.docformat = "image/jpeg"; + else if (!strcmp(ext, ".pdf")) + ldata.docformat = "application/pdf"; + else if (!strcmp(ext, ".ps")) + ldata.docformat = "application/postscript"; + else if (!strcmp(ext, ".pwg")) + ldata.docformat = "image/pwg-raster"; + else if (!strcmp(ext, ".urf")) + ldata.docformat = "image/urf"; + else + ldata.docformat = "application/octet-stream"; + } + else + { + /* + * Tell the printer to auto-detect... + */ + + ldata.docformat = "application/octet-stream"; + } + } + else + { + /* + * No file specified, make something to test with... + */ + + if ((ldata.docfile = make_raster_file(response, ldata.grayscale, tempfile, sizeof(tempfile), &ldata.docformat)) == NULL) + return ((void *)1); + } + + ippDelete(response); + + /* + * Create a job and wait for completion... + */ + + request = ippNewRequest(IPP_OP_CREATE_JOB); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, ldata.uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + + if ((name = strrchr(ldata.docfile, '/')) != NULL) + name ++; + else + name = ldata.docfile; + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "job-name", NULL, name); + + if (verbosity) + show_attributes("Create-Job request", 1, request); + + response = cupsDoRequest(http, request, ldata.resource); + + if (verbosity) + show_attributes("Create-Job response", 0, response); + + if (cupsLastError() >= IPP_STATUS_REDIRECTION_OTHER_SITE) + { + printf("Unable to create print job: %s\n", cupsLastErrorString()); + + ldata.job_state = IPP_JSTATE_ABORTED; + + goto cleanup; + } + + if ((attr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER)) == NULL) + { + puts("No job-id returned in Create-Job request."); + + ldata.job_state = IPP_JSTATE_ABORTED; + + goto cleanup; + } + + ldata.job_id = ippGetInteger(attr, 0); + + printf("CREATED JOB %d, sending %s of type %s\n", ldata.job_id, ldata.docfile, ldata.docformat); + + ippDelete(response); + + request = ippNewRequest(IPP_OP_SEND_DOCUMENT); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, ldata.uri); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", ldata.job_id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, "document-format", NULL, ldata.docformat); + ippAddBoolean(request, IPP_TAG_OPERATION, "last-document", 1); + + if (verbosity) + show_attributes("Send-Document request", 1, request); + + response = cupsDoFileRequest(http, request, ldata.resource, ldata.docfile); + + if (verbosity) + show_attributes("Send-Document response", 0, response); + + if (cupsLastError() >= IPP_STATUS_REDIRECTION_OTHER_SITE) + { + printf("Unable to print file: %s\n", cupsLastErrorString()); + + ldata.job_state = IPP_JSTATE_ABORTED; + + goto cleanup; + } + + puts("WAITING FOR JOB TO COMPLETE"); + + while (ldata.job_state < IPP_JSTATE_CANCELED) + sleep(1); + + /* + * Cleanup after ourselves... + */ + + cleanup: + + httpClose(http); + + if (tempfile[0] && !ldata.keepfile) + unlink(tempfile); + + _cupsThreadWait(monitor_id); + + _cupsMutexLock(&client_mutex); + client_count --; + _cupsMutexUnlock(&client_mutex); + + return (NULL); +} + + +/* + * 'show_attributes()' - Show attributes in a request or response. + */ + +static void +show_attributes(const char *title, /* I - Title */ + int request, /* I - 1 for request, 0 for response */ + ipp_t *ipp) /* I - IPP request/response */ +{ + int minor, major = ippGetVersion(ipp, &minor); + /* IPP version number */ + ipp_tag_t group = IPP_TAG_ZERO; + /* Current group tag */ + ipp_attribute_t *attr; /* Current attribute */ + const char *name; /* Attribute name */ + char buffer[1024]; /* Value */ + + + printf("%s:\n", title); + printf(" version=%d.%d\n", major, minor); + printf(" request-id=%d\n", ippGetRequestId(ipp)); + if (!request) + printf(" status-code=%s\n", ippErrorString(ippGetStatusCode(ipp))); + + for (attr = ippFirstAttribute(ipp); attr; attr = ippNextAttribute(ipp)) + { + if (group != ippGetGroupTag(attr)) + { + group = ippGetGroupTag(attr); + if (group) + printf(" %s:\n", ippTagString(group)); + } + + if ((name = ippGetName(attr)) != NULL) + { + ippAttributeString(attr, buffer, sizeof(buffer)); + printf(" %s(%s%s)=%s\n", name, ippGetCount(attr) > 1 ? "1setOf " : "", ippTagString(ippGetValueTag(attr)), buffer); + } + } +} + + +/* + * 'show_capabilities()' - Show printer capabilities. + */ + +static void +show_capabilities(ipp_t *response) /* I - Printer attributes */ +{ + int i; /* Looping var */ + ipp_attribute_t *attr; /* Attribute */ + char buffer[1024]; /* Attribute value buffer */ + static const char * const pattrs[] = /* Attributes we want to show */ + { + "copies-default", + "copies-supported", + "finishings-default", + "finishings-ready", + "finishings-supported", + "media-default", + "media-ready", + "media-supported", + "output-bin-default", + "output-bin-supported", + "print-color-mode-default", + "print-color-mode-supported", + "sides-default", + "sides-supported", + "document-format-default", + "document-format-supported", + "pwg-raster-document-resolution-supported", + "pwg-raster-document-type-supported", + "urf-supported" + }; + + + puts("CAPABILITIES:"); + for (i = 0; i < (int)(sizeof(pattrs) / sizeof(pattrs[0])); i ++) + { + if ((attr = ippFindAttribute(response, pattrs[i], IPP_TAG_ZERO)) != NULL) + { + ippAttributeString(attr, buffer, sizeof(buffer)); + printf(" %s=%s\n", pattrs[i], buffer); + } + } +} + + +/* + * 'usage()' - Show program usage... + */ + +static void +usage(void) +{ + puts("Usage: ./testclient printer-uri [options]"); + puts("Options:"); + puts(" -c num-clients Simulate multiple clients"); + puts(" -d document-format Generate the specified format"); + puts(" -f print-file Print the named file"); + puts(" -g Force grayscale printing"); + puts(" -k Keep temporary files"); + puts(" -v Be more verbose"); +} diff --git a/cups/testconflicts.c b/cups/testconflicts.c new file mode 100644 index 0000000..6ea70fa --- /dev/null +++ b/cups/testconflicts.c @@ -0,0 +1,121 @@ +/* + * PPD constraint test program for CUPS. + * + * Copyright 2008-2012 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups.h" +#include "ppd.h" +#include "string-private.h" + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + ppd_file_t *ppd; /* PPD file loaded from disk */ + char line[256], /* Input buffer */ + *ptr, /* Pointer into buffer */ + *optr, /* Pointer to first option name */ + *cptr; /* Pointer to first choice */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ + char *option, /* Current option */ + *choice; /* Current choice */ + + + if (argc != 2) + { + puts("Usage: testconflicts filename.ppd"); + return (1); + } + + if ((ppd = ppdOpenFile(argv[1])) == NULL) + { + ppd_status_t err; /* Last error in file */ + int linenum; /* Line number in file */ + + err = ppdLastError(&linenum); + + printf("Unable to open PPD file \"%s\": %s on line %d\n", argv[1], + ppdErrorString(err), linenum); + return (1); + } + + ppdMarkDefaults(ppd); + + option = NULL; + choice = NULL; + + for (;;) + { + num_options = 0; + options = NULL; + + if (!cupsResolveConflicts(ppd, option, choice, &num_options, &options)) + puts("Unable to resolve conflicts!"); + else if ((!option && num_options > 0) || (option && num_options > 1)) + { + fputs("Resolved conflicts with the following options:\n ", stdout); + for (i = 0; i < num_options; i ++) + if (!option || _cups_strcasecmp(option, options[i].name)) + printf(" %s=%s", options[i].name, options[i].value); + putchar('\n'); + + cupsFreeOptions(num_options, options); + } + + if (option) + { + free(option); + option = NULL; + } + + if (choice) + { + free(choice); + choice = NULL; + } + + printf("\nNew Option(s): "); + fflush(stdout); + if (!fgets(line, sizeof(line), stdin) || line[0] == '\n') + break; + + for (ptr = line; isspace(*ptr & 255); ptr ++); + for (optr = ptr; *ptr && *ptr != '='; ptr ++); + if (!*ptr) + break; + for (*ptr++ = '\0', cptr = ptr; *ptr && !isspace(*ptr & 255); ptr ++); + if (!*ptr) + break; + *ptr++ = '\0'; + + option = strdup(optr); + choice = strdup(cptr); + num_options = cupsParseOptions(ptr, 0, &options); + + ppdMarkOption(ppd, option, choice); + if (cupsMarkOptions(ppd, num_options, options)) + puts("Options Conflict!"); + cupsFreeOptions(num_options, options); + } + + if (option) + free(option); + if (choice) + free(choice); + + return (0); +} diff --git a/cups/testcreds.c b/cups/testcreds.c new file mode 100644 index 0000000..02d16a8 --- /dev/null +++ b/cups/testcreds.c @@ -0,0 +1,118 @@ +/* + * HTTP credentials test program for CUPS. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + http_t *http; /* HTTP connection */ + char scheme[HTTP_MAX_URI], /* Scheme from URI */ + hostname[HTTP_MAX_URI], /* Hostname from URI */ + username[HTTP_MAX_URI], /* Username:password from URI */ + resource[HTTP_MAX_URI]; /* Resource from URI */ + int port; /* Port number from URI */ + http_trust_t trust; /* Trust evaluation for connection */ + cups_array_t *hcreds, /* Credentials from connection */ + *tcreds; /* Credentials from trust store */ + char hinfo[1024], /* String for connection credentials */ + tinfo[1024]; /* String for trust store credentials */ + static const char *trusts[] = /* Trust strings */ + { "OK", "Invalid", "Changed", "Expired", "Renewed", "Unknown" }; + + + /* + * Check command-line... + */ + + if (argc != 2) + { + puts("Usage: ./testcreds hostname"); + puts(" ./testcreds https://hostname[:port]"); + return (1); + } + + if (!strncmp(argv[1], "https://", 8)) + { + /* + * Connect to the host and validate credentials... + */ + + if (httpSeparateURI(HTTP_URI_CODING_MOST, argv[1], scheme, sizeof(scheme), username, sizeof(username), hostname, sizeof(hostname), &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK) + { + printf("ERROR: Bad URI \"%s\".\n", argv[1]); + return (1); + } + + if ((http = httpConnect2(hostname, port, NULL, AF_UNSPEC, HTTP_ENCRYPTION_ALWAYS, 1, 30000, NULL)) == NULL) + { + printf("ERROR: Unable to connect to \"%s\" on port %d: %s\n", hostname, port, cupsLastErrorString()); + return (1); + } + + puts("HTTP Credentials:"); + if (!httpCopyCredentials(http, &hcreds)) + { + trust = httpCredentialsGetTrust(hcreds, hostname); + + httpCredentialsString(hcreds, hinfo, sizeof(hinfo)); + + printf(" Certificate Count: %d\n", cupsArrayCount(hcreds)); + if (trust == HTTP_TRUST_OK) + puts(" Trust: OK"); + else + printf(" Trust: %s (%s)\n", trusts[trust], cupsLastErrorString()); + printf(" Expiration: %s\n", httpGetDateString(httpCredentialsGetExpiration(hcreds))); + printf(" IsValidName: %d\n", httpCredentialsAreValidForName(hcreds, hostname)); + printf(" String: \"%s\"\n", hinfo); + + httpFreeCredentials(hcreds); + } + else + puts(" Not present (error)."); + + puts(""); + } + else + { + /* + * Load stored credentials... + */ + + strlcpy(hostname, argv[1], sizeof(hostname)); + } + + printf("Trust Store for \"%s\":\n", hostname); + + if (!httpLoadCredentials(NULL, &tcreds, hostname)) + { + httpCredentialsString(tcreds, tinfo, sizeof(tinfo)); + + printf(" Certificate Count: %d\n", cupsArrayCount(tcreds)); + printf(" Expiration: %s\n", httpGetDateString(httpCredentialsGetExpiration(tcreds))); + printf(" IsValidName: %d\n", httpCredentialsAreValidForName(tcreds, hostname)); + printf(" String: \"%s\"\n", tinfo); + + httpFreeCredentials(tcreds); + } + else + puts(" Not present."); + + return (0); +} diff --git a/cups/testcups.c b/cups/testcups.c new file mode 100644 index 0000000..53b4ffe --- /dev/null +++ b/cups/testcups.c @@ -0,0 +1,610 @@ +/* + * CUPS API test program for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#undef _CUPS_NO_DEPRECATED +#include "cups-private.h" +#include "ppd.h" +#include + + +/* + * Local functions... + */ + +static int dests_equal(cups_dest_t *a, cups_dest_t *b); +static int enum_cb(void *user_data, unsigned flags, cups_dest_t *dest); +static void show_diffs(cups_dest_t *a, cups_dest_t *b); + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + http_t *http, /* First HTTP connection */ + *http2; /* Second HTTP connection */ + int status = 0, /* Exit status */ + i, /* Looping var */ + num_dests; /* Number of destinations */ + cups_dest_t *dests, /* Destinations */ + *dest, /* Current destination */ + *named_dest; /* Current named destination */ + const char *dest_name, /* Destination name */ + *dval, /* Destination value */ + *ppdfile; /* PPD file */ + ppd_file_t *ppd; /* PPD file data */ + int num_jobs; /* Number of jobs for queue */ + cups_job_t *jobs; /* Jobs for queue */ + + + if (argc > 1) + { + if (!strcmp(argv[1], "enum")) + { + cups_ptype_t mask = CUPS_PRINTER_LOCAL, + /* Printer type mask */ + type = CUPS_PRINTER_LOCAL; + /* Printer type */ + int msec = 0; /* Timeout in milliseconds */ + + + for (i = 2; i < argc; i ++) + if (isdigit(argv[i][0] & 255) || argv[i][0] == '.') + msec = (int)(atof(argv[i]) * 1000); + else if (!_cups_strcasecmp(argv[i], "bw")) + { + mask |= CUPS_PRINTER_BW; + type |= CUPS_PRINTER_BW; + } + else if (!_cups_strcasecmp(argv[i], "color")) + { + mask |= CUPS_PRINTER_COLOR; + type |= CUPS_PRINTER_COLOR; + } + else if (!_cups_strcasecmp(argv[i], "mono")) + { + mask |= CUPS_PRINTER_COLOR; + } + else if (!_cups_strcasecmp(argv[i], "duplex")) + { + mask |= CUPS_PRINTER_DUPLEX; + type |= CUPS_PRINTER_DUPLEX; + } + else if (!_cups_strcasecmp(argv[i], "simplex")) + { + mask |= CUPS_PRINTER_DUPLEX; + } + else if (!_cups_strcasecmp(argv[i], "staple")) + { + mask |= CUPS_PRINTER_STAPLE; + type |= CUPS_PRINTER_STAPLE; + } + else if (!_cups_strcasecmp(argv[i], "copies")) + { + mask |= CUPS_PRINTER_COPIES; + type |= CUPS_PRINTER_COPIES; + } + else if (!_cups_strcasecmp(argv[i], "collate")) + { + mask |= CUPS_PRINTER_COLLATE; + type |= CUPS_PRINTER_COLLATE; + } + else if (!_cups_strcasecmp(argv[i], "punch")) + { + mask |= CUPS_PRINTER_PUNCH; + type |= CUPS_PRINTER_PUNCH; + } + else if (!_cups_strcasecmp(argv[i], "cover")) + { + mask |= CUPS_PRINTER_COVER; + type |= CUPS_PRINTER_COVER; + } + else if (!_cups_strcasecmp(argv[i], "bind")) + { + mask |= CUPS_PRINTER_BIND; + type |= CUPS_PRINTER_BIND; + } + else if (!_cups_strcasecmp(argv[i], "sort")) + { + mask |= CUPS_PRINTER_SORT; + type |= CUPS_PRINTER_SORT; + } + else if (!_cups_strcasecmp(argv[i], "mfp")) + { + mask |= CUPS_PRINTER_MFP; + type |= CUPS_PRINTER_MFP; + } + else if (!_cups_strcasecmp(argv[i], "printer")) + { + mask |= CUPS_PRINTER_MFP; + } + else if (!_cups_strcasecmp(argv[i], "large")) + { + mask |= CUPS_PRINTER_LARGE; + type |= CUPS_PRINTER_LARGE; + } + else if (!_cups_strcasecmp(argv[i], "medium")) + { + mask |= CUPS_PRINTER_MEDIUM; + type |= CUPS_PRINTER_MEDIUM; + } + else if (!_cups_strcasecmp(argv[i], "small")) + { + mask |= CUPS_PRINTER_SMALL; + type |= CUPS_PRINTER_SMALL; + } + else + fprintf(stderr, "Unknown argument \"%s\" ignored...\n", argv[i]); + + cupsEnumDests(CUPS_DEST_FLAGS_NONE, msec, NULL, type, mask, enum_cb, NULL); + } + else if (!strcmp(argv[1], "password")) + { + const char *pass = cupsGetPassword("Password:"); + /* Password string */ + + if (pass) + printf("Password entered: %s\n", pass); + else + puts("No password entered."); + } + else if (!strcmp(argv[1], "ppd") && argc == 3) + { + /* + * ./testcups ppd printer + */ + + http_status_t http_status; /* Status */ + char buffer[1024]; /* PPD filename */ + time_t modtime = 0; /* Last modified */ + + if ((http_status = cupsGetPPD3(CUPS_HTTP_DEFAULT, argv[2], &modtime, + buffer, sizeof(buffer))) != HTTP_STATUS_OK) + printf("Unable to get PPD: %d (%s)\n", (int)http_status, + cupsLastErrorString()); + else + puts(buffer); + } + else if (!strcmp(argv[1], "print") && argc == 5) + { + /* + * ./testcups print printer file interval + */ + + int interval, /* Interval between writes */ + job_id; /* Job ID */ + cups_file_t *fp; /* Print file */ + char buffer[16384]; /* Read/write buffer */ + ssize_t bytes; /* Bytes read/written */ + + if ((fp = cupsFileOpen(argv[3], "r")) == NULL) + { + printf("Unable to open \"%s\": %s\n", argv[2], strerror(errno)); + return (1); + } + + if ((job_id = cupsCreateJob(CUPS_HTTP_DEFAULT, argv[2], "testcups", 0, + NULL)) <= 0) + { + printf("Unable to create print job on %s: %s\n", argv[1], + cupsLastErrorString()); + return (1); + } + + interval = atoi(argv[4]); + + if (cupsStartDocument(CUPS_HTTP_DEFAULT, argv[1], job_id, argv[2], + CUPS_FORMAT_AUTO, 1) != HTTP_STATUS_CONTINUE) + { + puts("Unable to start document!"); + return (1); + } + + while ((bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0) + { + printf("Writing %d bytes...\n", (int)bytes); + + if (cupsWriteRequestData(CUPS_HTTP_DEFAULT, buffer, (size_t)bytes) != HTTP_STATUS_CONTINUE) + { + puts("Unable to write bytes!"); + return (1); + } + + if (interval > 0) + sleep((unsigned)interval); + } + + cupsFileClose(fp); + + if (cupsFinishDocument(CUPS_HTTP_DEFAULT, + argv[1]) > IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED) + { + puts("Unable to finish document!"); + return (1); + } + } + else + { + puts("Usage:"); + puts(""); + puts("Run basic unit tests:"); + puts(""); + puts(" ./testcups"); + puts(""); + puts("Enumerate printers (for N seconds, -1 for indefinitely):"); + puts(""); + puts(" ./testcups enum [seconds]"); + puts(""); + puts("Ask for a password:"); + puts(""); + puts(" ./testcups password"); + puts(""); + puts("Get the PPD file:"); + puts(""); + puts(" ./testcups ppd printer"); + puts(""); + puts("Print a file (interval controls delay between buffers in seconds):"); + puts(""); + puts(" ./testcups print printer file interval"); + return (1); + } + + return (0); + } + + /* + * _cupsConnect() connection reuse... + */ + + fputs("_cupsConnect: ", stdout); + http = _cupsConnect(); + http2 = _cupsConnect(); + + if (http == http2) + { + puts("PASS"); + } + else + { + puts("FAIL (different connections)"); + return (1); + } + + /* + * cupsGetDests() + */ + + fputs("cupsGetDests: ", stdout); + fflush(stdout); + + num_dests = cupsGetDests(&dests); + + if (num_dests == 0) + { + puts("FAIL"); + return (1); + } + else + { + printf("PASS (%d dests)\n", num_dests); + + for (i = num_dests, dest = dests; i > 0; i --, dest ++) + { + printf(" %s", dest->name); + + if (dest->instance) + printf(" /%s", dest->instance); + + if (dest->is_default) + puts(" ***DEFAULT***"); + else + putchar('\n'); + } + } + + /* + * cupsGetDest(NULL) + */ + + fputs("cupsGetDest(NULL): ", stdout); + fflush(stdout); + + if ((dest = cupsGetDest(NULL, NULL, num_dests, dests)) == NULL) + { + for (i = num_dests, dest = dests; i > 0; i --, dest ++) + if (dest->is_default) + break; + + if (i) + { + status = 1; + puts("FAIL"); + } + else + puts("PASS (no default)"); + + dest = NULL; + } + else + printf("PASS (%s)\n", dest->name); + + /* + * cupsGetNamedDest(NULL, NULL, NULL) + */ + + fputs("cupsGetNamedDest(NULL, NULL, NULL): ", stdout); + fflush(stdout); + + if ((named_dest = cupsGetNamedDest(NULL, NULL, NULL)) == NULL || + !dests_equal(dest, named_dest)) + { + if (!dest) + puts("PASS (no default)"); + else if (named_dest) + { + puts("FAIL (different values)"); + show_diffs(dest, named_dest); + status = 1; + } + else + { + puts("FAIL (no default)"); + status = 1; + } + } + else + printf("PASS (%s)\n", named_dest->name); + + if (named_dest) + cupsFreeDests(1, named_dest); + + /* + * cupsGetDest(printer) + */ + + for (i = 0, dest_name = NULL; i < num_dests; i ++) + { + if ((dval = cupsGetOption("printer-is-temporary", dests[i].num_options, dest[i].options)) != NULL && !strcmp(dval, "false")) + { + dest_name = dests[i].name; + break; + } + } + + printf("cupsGetDest(\"%s\"): ", dest_name ? dest_name : "(null)"); + fflush(stdout); + + if ((dest = cupsGetDest(dest_name, NULL, num_dests, dests)) == NULL) + { + puts("FAIL"); + return (1); + } + else + puts("PASS"); + + /* + * cupsGetNamedDest(NULL, printer, instance) + */ + + printf("cupsGetNamedDest(NULL, \"%s\", \"%s\"): ", dest->name, + dest->instance ? dest->instance : "(null)"); + fflush(stdout); + + if ((named_dest = cupsGetNamedDest(NULL, dest->name, dest->instance)) == NULL || + !dests_equal(dest, named_dest)) + { + if (named_dest) + { + puts("FAIL (different values)"); + show_diffs(dest, named_dest); + } + else + puts("FAIL (no destination)"); + + + status = 1; + } + else + puts("PASS"); + + if (named_dest) + cupsFreeDests(1, named_dest); + + /* + * cupsPrintFile() + */ + + fputs("cupsPrintFile: ", stdout); + fflush(stdout); + + if (cupsPrintFile(dest->name, "../test/testfile.pdf", "Test Page", + dest->num_options, dest->options) <= 0) + { + printf("FAIL (%s)\n", cupsLastErrorString()); + return (1); + } + else + puts("PASS"); + + /* + * cupsGetPPD(printer) + */ + + fputs("cupsGetPPD: ", stdout); + fflush(stdout); + + if ((ppdfile = cupsGetPPD(dest->name)) == NULL) + { + puts("FAIL"); + } + else + { + puts("PASS"); + + /* + * ppdOpenFile() + */ + + fputs("ppdOpenFile: ", stdout); + fflush(stdout); + + if ((ppd = ppdOpenFile(ppdfile)) == NULL) + { + puts("FAIL"); + return (1); + } + else + puts("PASS"); + + ppdClose(ppd); + unlink(ppdfile); + } + + /* + * cupsGetJobs() + */ + + fputs("cupsGetJobs: ", stdout); + fflush(stdout); + + num_jobs = cupsGetJobs(&jobs, NULL, 0, -1); + + if (num_jobs == 0) + { + puts("FAIL"); + return (1); + } + else + puts("PASS"); + + cupsFreeJobs(num_jobs, jobs); + cupsFreeDests(num_dests, dests); + + return (status); +} + + +/* + * 'dests_equal()' - Determine whether two destinations are equal. + */ + +static int /* O - 1 if equal, 0 if not equal */ +dests_equal(cups_dest_t *a, /* I - First destination */ + cups_dest_t *b) /* I - Second destination */ +{ + int i; /* Looping var */ + cups_option_t *aoption; /* Current option */ + const char *bval; /* Option value */ + + + if (a == b) + return (1); + + if (!a || !b) + return (0); + + if (_cups_strcasecmp(a->name, b->name) || + (a->instance && !b->instance) || + (!a->instance && b->instance) || + (a->instance && _cups_strcasecmp(a->instance, b->instance)) || + a->num_options != b->num_options) + return (0); + + for (i = a->num_options, aoption = a->options; i > 0; i --, aoption ++) + if ((bval = cupsGetOption(aoption->name, b->num_options, + b->options)) == NULL || + strcmp(aoption->value, bval)) + return (0); + + return (1); +} + + +/* + * 'enum_cb()' - Report additions and removals. + */ + +static int /* O - 1 to continue, 0 to stop */ +enum_cb(void *user_data, /* I - User data (unused) */ + unsigned flags, /* I - Destination flags */ + cups_dest_t *dest) /* I - Destination */ +{ + int i; /* Looping var */ + cups_option_t *option; /* Current option */ + + + (void)user_data; + + if (flags & CUPS_DEST_FLAGS_REMOVED) + printf("Removed '%s':\n", dest->name); + else + printf("Added '%s':\n", dest->name); + + for (i = dest->num_options, option = dest->options; i > 0; i --, option ++) + printf(" %s=\"%s\"\n", option->name, option->value); + + putchar('\n'); + + return (1); +} + + +/* + * 'show_diffs()' - Show differences between two destinations. + */ + +static void +show_diffs(cups_dest_t *a, /* I - First destination */ + cups_dest_t *b) /* I - Second destination */ +{ + int i; /* Looping var */ + cups_option_t *aoption; /* Current option */ + cups_option_t *boption; /* Current option */ + const char *bval; /* Option value */ + + + if (!a || !b) + return; + + puts(" Item cupsGetDest cupsGetNamedDest"); + puts(" -------------------- ------------------------ ------------------------"); + + if (_cups_strcasecmp(a->name, b->name)) + printf(" name %-24.24s %-24.24s\n", a->name, b->name); + + if ((a->instance && !b->instance) || + (!a->instance && b->instance) || + (a->instance && _cups_strcasecmp(a->instance, b->instance))) + printf(" instance %-24.24s %-24.24s\n", + a->instance ? a->instance : "(null)", + b->instance ? b->instance : "(null)"); + + if (a->num_options != b->num_options) + printf(" num_options %-24d %-24d\n", a->num_options, + b->num_options); + + for (i = a->num_options, aoption = a->options; i > 0; i --, aoption ++) + if ((bval = cupsGetOption(aoption->name, b->num_options, + b->options)) == NULL || + strcmp(aoption->value, bval)) + printf(" %-20.20s %-24.24s %-24.24s\n", aoption->name, + aoption->value, bval ? bval : "(null)"); + + for (i = b->num_options, boption = b->options; i > 0; i --, boption ++) + if (!cupsGetOption(boption->name, a->num_options, a->options)) + printf(" %-20.20s %-24.24s %-24.24s\n", boption->name, + boption->value, "(null)"); +} diff --git a/cups/testdest.c b/cups/testdest.c new file mode 100644 index 0000000..a65e099 --- /dev/null +++ b/cups/testdest.c @@ -0,0 +1,782 @@ +/* + * CUPS destination API test program for CUPS. + * + * Copyright © 2012-2018 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include "cups.h" + + +/* + * Local functions... + */ + +static int enum_cb(void *user_data, unsigned flags, cups_dest_t *dest); +static void localize(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option, const char *value); +static void print_file(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *filename, int num_options, cups_option_t *options); +static void show_conflicts(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, int num_options, cups_option_t *options); +static void show_default(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option); +static void show_media(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, const char *name); +static void show_supported(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option, const char *value); +static void usage(const char *arg) _CUPS_NORETURN; + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + http_t *http; /* Connection to destination */ + cups_dest_t *dest = NULL; /* Destination */ + cups_dinfo_t *dinfo; /* Destination info */ + unsigned dflags = CUPS_DEST_FLAGS_NONE; + /* Destination flags */ + + + if (argc < 2) + return (0); + + if (!strcmp(argv[1], "--get")) + { + cups_dest_t *dests; /* Destinations */ + int num_dests = cupsGetDests2(CUPS_HTTP_DEFAULT, &dests); + /* Number of destinations */ + + for (i = 0; i < num_dests; i ++) + enum_cb(NULL, 0, dests + i); + + cupsFreeDests(num_dests, dests); + return (0); + } + else if (!strcmp(argv[1], "--enum")) + { + cups_ptype_t type = 0, /* Printer type filter */ + mask = 0; /* Printer type mask */ + + + for (i = 2; i < argc; i ++) + { + if (!strcmp(argv[i], "grayscale")) + { + type |= CUPS_PRINTER_BW; + mask |= CUPS_PRINTER_BW; + } + else if (!strcmp(argv[i], "color")) + { + type |= CUPS_PRINTER_COLOR; + mask |= CUPS_PRINTER_COLOR; + } + else if (!strcmp(argv[i], "duplex")) + { + type |= CUPS_PRINTER_DUPLEX; + mask |= CUPS_PRINTER_DUPLEX; + } + else if (!strcmp(argv[i], "staple")) + { + type |= CUPS_PRINTER_STAPLE; + mask |= CUPS_PRINTER_STAPLE; + } + else if (!strcmp(argv[i], "small")) + { + type |= CUPS_PRINTER_SMALL; + mask |= CUPS_PRINTER_SMALL; + } + else if (!strcmp(argv[i], "medium")) + { + type |= CUPS_PRINTER_MEDIUM; + mask |= CUPS_PRINTER_MEDIUM; + } + else if (!strcmp(argv[i], "large")) + { + type |= CUPS_PRINTER_LARGE; + mask |= CUPS_PRINTER_LARGE; + } + else + usage(argv[i]); + } + + cupsEnumDests(CUPS_DEST_FLAGS_NONE, 5000, NULL, type, mask, enum_cb, NULL); + + return (0); + } + + i = 1; + if (!strcmp(argv[i], "--device")) + { + dflags = CUPS_DEST_FLAGS_DEVICE; + i ++; + } + + if (!strncmp(argv[i], "ipp://", 6) || !strncmp(argv[i], "ipps://", 7)) + dest = cupsGetDestWithURI(NULL, argv[i]); + else if (!strcmp(argv[i], "default")) + { + dest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, NULL, NULL); + if (dest && dest->instance) + printf("default is \"%s/%s\".\n", dest->name, dest->instance); + else if (dest) + printf("default is \"%s\".\n", dest->name); + else + puts("no default destination."); + } + else + dest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, argv[i], NULL); + + if (!dest) + { + printf("testdest: Unable to get destination \"%s\": %s\n", argv[i], cupsLastErrorString()); + return (1); + } + + i ++; + + if ((http = cupsConnectDest(dest, dflags, 30000, NULL, NULL, 0, NULL, NULL)) == NULL) + { + printf("testdest: Unable to connect to destination \"%s\": %s\n", dest->name, cupsLastErrorString()); + return (1); + } + + if ((dinfo = cupsCopyDestInfo(http, dest)) == NULL) + { + printf("testdest: Unable to get information for destination \"%s\": %s\n", dest->name, cupsLastErrorString()); + return (1); + } + + if (i == argc || !strcmp(argv[i], "supported")) + { + i ++; + + if ((i + 1) < argc) + show_supported(http, dest, dinfo, argv[i], argv[i + 1]); + else if (argc > 2) + show_supported(http, dest, dinfo, argv[i], NULL); + else + show_supported(http, dest, dinfo, NULL, NULL); + } + else if (!strcmp(argv[i], "conflicts") && (i + 1) < argc) + { + int num_options = 0;/* Number of options */ + cups_option_t *options = NULL;/* Options */ + + for (i ++; i < argc; i ++) + num_options = cupsParseOptions(argv[i], num_options, &options); + + show_conflicts(http, dest, dinfo, num_options, options); + } + else if (!strcmp(argv[i], "default") && (i + 1) < argc) + { + show_default(http, dest, dinfo, argv[i + 1]); + } + else if (!strcmp(argv[i], "localize")) + { + i ++; + if ((i + 1) < argc) + localize(http, dest, dinfo, argv[i], argv[i + 1]); + else if (argc > 2) + localize(http, dest, dinfo, argv[i], NULL); + else + localize(http, dest, dinfo, NULL, NULL); + } + else if (!strcmp(argv[i], "media")) + { + const char *name = NULL; /* Media name, if any */ + unsigned flags = CUPS_MEDIA_FLAGS_DEFAULT; + /* Media selection flags */ + + for (i ++; i < argc; i ++) + { + if (!strcmp(argv[i], "borderless")) + flags = CUPS_MEDIA_FLAGS_BORDERLESS; + else if (!strcmp(argv[i], "duplex")) + flags = CUPS_MEDIA_FLAGS_DUPLEX; + else if (!strcmp(argv[i], "exact")) + flags = CUPS_MEDIA_FLAGS_EXACT; + else if (!strcmp(argv[i], "ready")) + flags = CUPS_MEDIA_FLAGS_READY; + else if (name) + usage(argv[i]); + else + name = argv[i]; + } + + show_media(http, dest, dinfo, flags, name); + } + else if (!strcmp(argv[i], "print") && (i + 1) < argc) + { + int num_options = 0;/* Number of options */ + cups_option_t *options = NULL;/* Options */ + const char *filename = argv[i + 1]; + + for (i += 2; i < argc; i ++) + num_options = cupsParseOptions(argv[i], num_options, &options); + + print_file(http, dest, dinfo, filename, num_options, options); + } + else + usage(argv[i]); + + return (0); +} + + +/* + * 'enum_cb()' - Print the results from the enumeration of destinations. + */ + +static int /* O - 1 to continue */ +enum_cb(void *user_data, /* I - User data (unused) */ + unsigned flags, /* I - Flags */ + cups_dest_t *dest) /* I - Destination */ +{ + int i; /* Looping var */ + + + (void)user_data; + (void)flags; + + if (dest->instance) + printf("%s%s/%s%s:\n", (flags & CUPS_DEST_FLAGS_REMOVED) ? "REMOVE " : "", dest->name, dest->instance, dest->is_default ? " (Default)" : ""); + else + printf("%s%s%s:\n", (flags & CUPS_DEST_FLAGS_REMOVED) ? "REMOVE " : "", dest->name, dest->is_default ? " (Default)" : ""); + + for (i = 0; i < dest->num_options; i ++) + printf(" %s=\"%s\"\n", dest->options[i].name, dest->options[i].value); + + puts(""); + + return (1); +} + + +/* + * 'localize()' - Localize an option and value. + */ + +static void +localize(http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *option, /* I - Option */ + const char *value) /* I - Value, if any */ +{ + ipp_attribute_t *attr; /* Attribute */ + int i, /* Looping var */ + count; /* Number of values */ + + + if (!option) + { + attr = cupsFindDestSupported(http, dest, dinfo, "job-creation-attributes"); + if (attr) + { + count = ippGetCount(attr); + for (i = 0; i < count; i ++) + localize(http, dest, dinfo, ippGetString(attr, i, NULL), NULL); + } + else + { + static const char * const options[] = + { /* List of standard options */ + CUPS_COPIES, + CUPS_FINISHINGS, + CUPS_MEDIA, + CUPS_NUMBER_UP, + CUPS_ORIENTATION, + CUPS_PRINT_COLOR_MODE, + CUPS_PRINT_QUALITY, + CUPS_SIDES + }; + + puts("No job-creation-attributes-supported attribute, probing instead."); + + for (i = 0; i < (int)(sizeof(options) / sizeof(options[0])); i ++) + if (cupsCheckDestSupported(http, dest, dinfo, options[i], NULL)) + localize(http, dest, dinfo, options[i], NULL); + } + } + else if (!value) + { + printf("%s (%s)\n", option, cupsLocalizeDestOption(http, dest, dinfo, option)); + + if ((attr = cupsFindDestSupported(http, dest, dinfo, option)) != NULL) + { + count = ippGetCount(attr); + + switch (ippGetValueTag(attr)) + { + case IPP_TAG_INTEGER : + for (i = 0; i < count; i ++) + printf(" %d\n", ippGetInteger(attr, i)); + break; + + case IPP_TAG_ENUM : + for (i = 0; i < count; i ++) + printf(" %s\n", ippEnumString(option, ippGetInteger(attr, i))); + break; + + case IPP_TAG_RANGE : + for (i = 0; i < count; i ++) + { + int upper, lower = ippGetRange(attr, i, &upper); + + printf(" %d-%d\n", lower, upper); + } + break; + + case IPP_TAG_RESOLUTION : + for (i = 0; i < count; i ++) + { + int xres, yres; + ipp_res_t units; + xres = ippGetResolution(attr, i, &yres, &units); + + if (xres == yres) + printf(" %d%s\n", xres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + else + printf(" %dx%d%s\n", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + } + break; + + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + for (i = 0; i < count; i ++) + printf(" %s (%s)\n", ippGetString(attr, i, NULL), cupsLocalizeDestValue(http, dest, dinfo, option, ippGetString(attr, i, NULL))); + break; + + case IPP_TAG_STRING : + for (i = 0; i < count; i ++) + { + int j, len; + unsigned char *data = ippGetOctetString(attr, i, &len); + + fputs(" ", stdout); + for (j = 0; j < len; j ++) + { + if (data[j] < ' ' || data[j] >= 0x7f) + printf("<%02X>", data[j]); + else + putchar(data[j]); + } + putchar('\n'); + } + break; + + case IPP_TAG_BOOLEAN : + break; + + default : + printf(" %s\n", ippTagString(ippGetValueTag(attr))); + break; + } + } + + } + else + puts(cupsLocalizeDestValue(http, dest, dinfo, option, value)); +} + + +/* + * 'print_file()' - Print a file. + */ + +static void +print_file(http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *filename, /* I - File to print */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + cups_file_t *fp; /* File to print */ + int job_id; /* Job ID */ + ipp_status_t status; /* Submission status */ + const char *title; /* Title of job */ + char buffer[32768]; /* File buffer */ + ssize_t bytes; /* Bytes read/to write */ + + + if ((fp = cupsFileOpen(filename, "r")) == NULL) + { + printf("Unable to open \"%s\": %s\n", filename, strerror(errno)); + return; + } + + if ((title = strrchr(filename, '/')) != NULL) + title ++; + else + title = filename; + + if ((status = cupsCreateDestJob(http, dest, dinfo, &job_id, title, num_options, options)) > IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED) + { + printf("Unable to create job: %s\n", cupsLastErrorString()); + cupsFileClose(fp); + return; + } + + printf("Created job ID: %d\n", job_id); + + if (cupsStartDestDocument(http, dest, dinfo, job_id, title, CUPS_FORMAT_AUTO, 0, NULL, 1) != HTTP_STATUS_CONTINUE) + { + printf("Unable to send document: %s\n", cupsLastErrorString()); + cupsFileClose(fp); + return; + } + + while ((bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0) + { + if (cupsWriteRequestData(http, buffer, (size_t)bytes) != HTTP_STATUS_CONTINUE) + { + printf("Unable to write document data: %s\n", cupsLastErrorString()); + break; + } + } + + cupsFileClose(fp); + + if ((status = cupsFinishDestDocument(http, dest, dinfo)) > IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED) + { + printf("Unable to send document: %s\n", cupsLastErrorString()); + return; + } + + puts("Job queued."); +} + + +/* + * 'show_conflicts()' - Show conflicts for selected options. + */ + +static void +show_conflicts( + http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + (void)http; + (void)dest; + (void)dinfo; + (void)num_options; + (void)options; +} + + +/* + * 'show_default()' - Show default value for option. + */ + +static void +show_default(http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *option) /* I - Option */ +{ + if (!strcmp(option, "media")) + { + /* + * Show default media option... + */ + + cups_size_t size; /* Media size information */ + + if (cupsGetDestMediaDefault(http, dest, dinfo, CUPS_MEDIA_FLAGS_DEFAULT, &size)) + printf("%s (%.2fx%.2fmm, margins=[%.2f %.2f %.2f %.2f])\n", size.media, size.width * 0.01, size.length * 0.01, size.left * 0.01, size.bottom * 0.01, size.right * 0.01, size.top * 0.01); + else + puts("FAILED"); + } + else + { + /* + * Show default other option... + */ + + ipp_attribute_t *defattr; /* Default attribute */ + + if ((defattr = cupsFindDestDefault(http, dest, dinfo, option)) != NULL) + { + char value[1024]; /* Value of default attribute */ + + ippAttributeString(defattr, value, sizeof(value)); + puts(value); + } + else + puts("FAILED"); + } +} + + +/* + * 'show_media()' - Show available media. + */ + +static void +show_media(http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + unsigned flags, /* I - Media flags */ + const char *name) /* I - Size name */ +{ + int i, /* Looping var */ + count; /* Number of sizes */ + cups_size_t size; /* Media size info */ + + + if (name) + { + double dw, dl; /* Width and length from name */ + char units[32]; /* Units */ + int width, /* Width in 100ths of millimeters */ + length; /* Length in 100ths of millimeters */ + + + if (sscanf(name, "%lfx%lf%31s", &dw, &dl, units) == 3) + { + if (!strcmp(units, "in")) + { + width = (int)(dw * 2540.0); + length = (int)(dl * 2540.0); + } + else if (!strcmp(units, "mm")) + { + width = (int)(dw * 100.0); + length = (int)(dl * 100.0); + } + else + { + puts(" bad units in size"); + return; + } + + if (cupsGetDestMediaBySize(http, dest, dinfo, width, length, flags, &size)) + { + printf(" %s (%s) %dx%d B%d L%d R%d T%d\n", size.media, cupsLocalizeDestMedia(http, dest, dinfo, flags, &size), size.width, size.length, size.bottom, size.left, size.right, size.top); + } + else + { + puts(" not supported"); + } + } + else if (cupsGetDestMediaByName(http, dest, dinfo, name, flags, &size)) + { + printf(" %s (%s) %dx%d B%d L%d R%d T%d\n", size.media, cupsLocalizeDestMedia(http, dest, dinfo, flags, &size), size.width, size.length, size.bottom, size.left, size.right, size.top); + } + else + { + puts(" not supported"); + } + } + else + { + count = cupsGetDestMediaCount(http, dest, dinfo, flags); + printf("%d size%s:\n", count, count == 1 ? "" : "s"); + + for (i = 0; i < count; i ++) + { + if (cupsGetDestMediaByIndex(http, dest, dinfo, i, flags, &size)) + printf(" %s (%s) %dx%d B%d L%d R%d T%d\n", size.media, cupsLocalizeDestMedia(http, dest, dinfo, flags, &size), size.width, size.length, size.bottom, size.left, size.right, size.top); + else + puts(" error"); + } + } +} + + +/* + * 'show_supported()' - Show supported options, values, etc. + */ + +static void +show_supported(http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *option, /* I - Option, if any */ + const char *value) /* I - Value, if any */ +{ + ipp_attribute_t *attr; /* Attribute */ + int i, /* Looping var */ + count; /* Number of values */ + + + if (!option) + { + attr = cupsFindDestSupported(http, dest, dinfo, "job-creation-attributes"); + if (attr) + { + count = ippGetCount(attr); + for (i = 0; i < count; i ++) + show_supported(http, dest, dinfo, ippGetString(attr, i, NULL), NULL); + } + else + { + static const char * const options[] = + { /* List of standard options */ + CUPS_COPIES, + CUPS_FINISHINGS, + CUPS_MEDIA, + CUPS_NUMBER_UP, + CUPS_ORIENTATION, + CUPS_PRINT_COLOR_MODE, + CUPS_PRINT_QUALITY, + CUPS_SIDES + }; + + puts("No job-creation-attributes-supported attribute, probing instead."); + + for (i = 0; i < (int)(sizeof(options) / sizeof(options[0])); i ++) + if (cupsCheckDestSupported(http, dest, dinfo, options[i], NULL)) + show_supported(http, dest, dinfo, options[i], NULL); + } + } + else if (!value) + { + printf("%s (%s - %s)\n", option, cupsLocalizeDestOption(http, dest, dinfo, option), cupsCheckDestSupported(http, dest, dinfo, option, NULL) ? "supported" : "not-supported"); + + if ((attr = cupsFindDestSupported(http, dest, dinfo, option)) != NULL) + { + count = ippGetCount(attr); + + switch (ippGetValueTag(attr)) + { + case IPP_TAG_INTEGER : + for (i = 0; i < count; i ++) + printf(" %d\n", ippGetInteger(attr, i)); + break; + + case IPP_TAG_ENUM : + for (i = 0; i < count; i ++) + { + int val = ippGetInteger(attr, i); + char valstr[256]; + + snprintf(valstr, sizeof(valstr), "%d", val); + printf(" %s (%s)\n", ippEnumString(option, ippGetInteger(attr, i)), cupsLocalizeDestValue(http, dest, dinfo, option, valstr)); + } + break; + + case IPP_TAG_RANGE : + for (i = 0; i < count; i ++) + { + int upper, lower = ippGetRange(attr, i, &upper); + + printf(" %d-%d\n", lower, upper); + } + break; + + case IPP_TAG_RESOLUTION : + for (i = 0; i < count; i ++) + { + int xres, yres; + ipp_res_t units; + xres = ippGetResolution(attr, i, &yres, &units); + + if (xres == yres) + printf(" %d%s\n", xres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + else + printf(" %dx%d%s\n", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + } + break; + + case IPP_TAG_KEYWORD : + for (i = 0; i < count; i ++) + printf(" %s (%s)\n", ippGetString(attr, i, NULL), cupsLocalizeDestValue(http, dest, dinfo, option, ippGetString(attr, i, NULL))); + break; + + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + for (i = 0; i < count; i ++) + printf(" %s\n", ippGetString(attr, i, NULL)); + break; + + case IPP_TAG_STRING : + for (i = 0; i < count; i ++) + { + int j, len; + unsigned char *data = ippGetOctetString(attr, i, &len); + + fputs(" ", stdout); + for (j = 0; j < len; j ++) + { + if (data[j] < ' ' || data[j] >= 0x7f) + printf("<%02X>", data[j]); + else + putchar(data[j]); + } + putchar('\n'); + } + break; + + case IPP_TAG_BOOLEAN : + break; + + default : + printf(" %s\n", ippTagString(ippGetValueTag(attr))); + break; + } + } + + } + else if (cupsCheckDestSupported(http, dest, dinfo, option, value)) + puts("YES"); + else + puts("NO"); +} + + +/* + * 'usage()' - Show program usage. + */ + +static void +usage(const char *arg) /* I - Argument for usage message */ +{ + if (arg) + printf("testdest: Unknown option \"%s\".\n", arg); + + puts("Usage:"); + puts(" ./testdest [--device] name [operation ...]"); + puts(" ./testdest [--device] ipp://... [operation ...]"); + puts(" ./testdest [--device] ipps://... [operation ...]"); + puts(" ./testdest --get"); + puts(" ./testdest --enum [grayscale] [color] [duplex] [staple] [small]\n" + " [medium] [large]"); + puts(""); + puts("Operations:"); + puts(" conflicts options"); + puts(" default option"); + puts(" localize option [value]"); + puts(" media [borderless] [duplex] [exact] [ready] [name or size]"); + puts(" print filename [options]"); + puts(" supported [option [value]]"); + + exit(arg != NULL); +} diff --git a/cups/testfile.c b/cups/testfile.c new file mode 100644 index 0000000..633415d --- /dev/null +++ b/cups/testfile.c @@ -0,0 +1,814 @@ +/* + * File test program for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "string-private.h" +#include "debug-private.h" +#include "file.h" +#include +#include +#ifdef _WIN32 +# include +#else +# include +#endif /* _WIN32 */ +#include + + +/* + * Local functions... + */ + +static int count_lines(cups_file_t *fp); +static int random_tests(void); +static int read_write_tests(int compression); + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int status; /* Exit status */ + char filename[1024]; /* Filename buffer */ + cups_file_t *fp; /* File pointer */ +#ifndef _WIN32 + int fds[2]; /* Open file descriptors */ + cups_file_t *fdfile; /* File opened with cupsFileOpenFd() */ +#endif /* !_WIN32 */ + int count; /* Number of lines in file */ + + + if (argc == 1) + { + /* + * Do uncompressed file tests... + */ + + status = read_write_tests(0); + +#ifdef HAVE_LIBZ + /* + * Do compressed file tests... + */ + + putchar('\n'); + + status += read_write_tests(1); +#endif /* HAVE_LIBZ */ + + /* + * Do uncompressed random I/O tests... + */ + + status += random_tests(); + +#ifndef _WIN32 + /* + * Test fdopen and close without reading... + */ + + pipe(fds); + close(fds[1]); + + fputs("\ncupsFileOpenFd(fd, \"r\"): ", stdout); + fflush(stdout); + + if ((fdfile = cupsFileOpenFd(fds[0], "r")) == NULL) + { + puts("FAIL"); + status ++; + } + else + { + /* + * Able to open file, now close without reading. If we don't return + * before the alarm fires, that is a failure and we will crash on the + * alarm signal... + */ + + puts("PASS"); + fputs("cupsFileClose(no read): ", stdout); + fflush(stdout); + + alarm(5); + cupsFileClose(fdfile); + alarm(0); + + puts("PASS"); + } +#endif /* !_WIN32 */ + + /* + * Count lines in test file, rewind, then count again. + */ + + fputs("\ncupsFileOpen(\"testfile.txt\", \"r\"): ", stdout); + + if ((fp = cupsFileOpen("testfile.txt", "r")) == NULL) + { + puts("FAIL"); + status ++; + } + else + { + puts("PASS"); + fputs("cupsFileGets: ", stdout); + + if ((count = count_lines(fp)) != 477) + { + printf("FAIL (got %d lines, expected 477)\n", count); + status ++; + } + else + { + puts("PASS"); + fputs("cupsFileRewind: ", stdout); + + if (cupsFileRewind(fp) != 0) + { + puts("FAIL"); + status ++; + } + else + { + puts("PASS"); + fputs("cupsFileGets: ", stdout); + + if ((count = count_lines(fp)) != 477) + { + printf("FAIL (got %d lines, expected 477)\n", count); + status ++; + } + else + puts("PASS"); + } + } + + cupsFileClose(fp); + } + + /* + * Test path functions... + */ + + fputs("\ncupsFileFind: ", stdout); +#ifdef _WIN32 + if (cupsFileFind("notepad.exe", "C:/WINDOWS", 1, filename, sizeof(filename)) && + cupsFileFind("notepad.exe", "C:/WINDOWS;C:/WINDOWS/SYSTEM32", 1, filename, sizeof(filename))) +#else + if (cupsFileFind("cat", "/bin", 1, filename, sizeof(filename)) && + cupsFileFind("cat", "/bin:/usr/bin", 1, filename, sizeof(filename))) +#endif /* _WIN32 */ + printf("PASS (%s)\n", filename); + else + { + puts("FAIL"); + status ++; + } + + /* + * Summarize the results and return... + */ + + if (!status) + puts("\nALL TESTS PASSED!"); + else + printf("\n%d TEST(S) FAILED!\n", status); + } + else + { + /* + * Cat the filename on the command-line... + */ + + char line[8192]; /* Line from file */ + + if ((fp = cupsFileOpen(argv[1], "r")) == NULL) + { + perror(argv[1]); + status = 1; + } + else if (argc == 2) + { + status = 0; + + while (cupsFileGets(fp, line, sizeof(line))) + puts(line); + + if (!cupsFileEOF(fp)) + perror(argv[1]); + + cupsFileClose(fp); + } + else + { + status = 0; + ssize_t bytes; + + while ((bytes = cupsFileRead(fp, line, sizeof(line))) > 0) + printf("%s: %d bytes\n", argv[1], (int)bytes); + + if (cupsFileEOF(fp)) + printf("%s: EOF\n", argv[1]); + else + perror(argv[1]); + + cupsFileClose(fp); + } + } + + return (status); +} + + +/* + * 'count_lines()' - Count the number of lines in a file. + */ + +static int /* O - Number of lines */ +count_lines(cups_file_t *fp) /* I - File to read from */ +{ + int count; /* Number of lines */ + char line[1024]; /* Line buffer */ + + + for (count = 0; cupsFileGets(fp, line, sizeof(line)); count ++); + + return (count); +} + + +/* + * 'random_tests()' - Do random access tests. + */ + +static int /* O - Status */ +random_tests(void) +{ + int status, /* Status of tests */ + pass, /* Current pass */ + count, /* Number of records read */ + record, /* Current record */ + num_records; /* Number of records */ + off_t pos; /* Position in file */ + ssize_t expected; /* Expected position in file */ + cups_file_t *fp; /* File */ + char buffer[512]; /* Data buffer */ + + + /* + * Run 4 passes, each time appending to a data file and then reopening the + * file for reading to validate random records in the file. + */ + + for (status = 0, pass = 0; pass < 4; pass ++) + { + /* + * cupsFileOpen(append) + */ + + printf("\ncupsFileOpen(append %d): ", pass); + + if ((fp = cupsFileOpen("testfile.dat", "a")) == NULL) + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + break; + } + else + puts("PASS"); + + /* + * cupsFileTell() + */ + + expected = 256 * (ssize_t)sizeof(buffer) * pass; + + fputs("cupsFileTell(): ", stdout); + if ((pos = cupsFileTell(fp)) != (off_t)expected) + { + printf("FAIL (" CUPS_LLFMT " instead of " CUPS_LLFMT ")\n", + CUPS_LLCAST pos, CUPS_LLCAST expected); + status ++; + break; + } + else + puts("PASS"); + + /* + * cupsFileWrite() + */ + + fputs("cupsFileWrite(256 512-byte records): ", stdout); + for (record = 0; record < 256; record ++) + { + memset(buffer, record, sizeof(buffer)); + if (cupsFileWrite(fp, buffer, sizeof(buffer)) < (ssize_t)sizeof(buffer)) + break; + } + + if (record < 256) + { + printf("FAIL (%d: %s)\n", record, strerror(errno)); + status ++; + break; + } + else + puts("PASS"); + + /* + * cupsFileTell() + */ + + expected += 256 * (ssize_t)sizeof(buffer); + + fputs("cupsFileTell(): ", stdout); + if ((pos = cupsFileTell(fp)) != (off_t)expected) + { + printf("FAIL (" CUPS_LLFMT " instead of " CUPS_LLFMT ")\n", + CUPS_LLCAST pos, CUPS_LLCAST expected); + status ++; + break; + } + else + puts("PASS"); + + cupsFileClose(fp); + + /* + * cupsFileOpen(read) + */ + + printf("\ncupsFileOpen(read %d): ", pass); + + if ((fp = cupsFileOpen("testfile.dat", "r")) == NULL) + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + break; + } + else + puts("PASS"); + + /* + * cupsFileSeek, cupsFileRead + */ + + fputs("cupsFileSeek(), cupsFileRead(): ", stdout); + + for (num_records = (pass + 1) * 256, count = (pass + 1) * 256, record = ((int)CUPS_RAND() & 65535) % num_records; + count > 0; + count --, record = (record + ((int)CUPS_RAND() & 31) - 16 + num_records) % num_records) + { + /* + * The last record is always the first... + */ + + if (count == 1) + record = 0; + + /* + * Try reading the data for the specified record, and validate the + * contents... + */ + + expected = (ssize_t)sizeof(buffer) * record; + + if ((pos = cupsFileSeek(fp, expected)) != expected) + { + printf("FAIL (" CUPS_LLFMT " instead of " CUPS_LLFMT ")\n", + CUPS_LLCAST pos, CUPS_LLCAST expected); + status ++; + break; + } + else + { + if (cupsFileRead(fp, buffer, sizeof(buffer)) != sizeof(buffer)) + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + break; + } + else if ((buffer[0] & 255) != (record & 255) || + memcmp(buffer, buffer + 1, sizeof(buffer) - 1)) + { + printf("FAIL (Bad Data - %d instead of %d)\n", buffer[0] & 255, + record & 255); + status ++; + break; + } + } + } + + if (count == 0) + puts("PASS"); + + cupsFileClose(fp); + } + + /* + * Remove the test file... + */ + + unlink("testfile.dat"); + + /* + * Return the test status... + */ + + return (status); +} + + +/* + * 'read_write_tests()' - Perform read/write tests. + */ + +static int /* O - Status */ +read_write_tests(int compression) /* I - Use compression? */ +{ + int i; /* Looping var */ + cups_file_t *fp; /* File */ + int status; /* Exit status */ + char line[1024], /* Line from file */ + *value; /* Directive value from line */ + int linenum; /* Line number */ + unsigned char readbuf[8192], /* Read buffer */ + writebuf[8192]; /* Write buffer */ + int byte; /* Byte from file */ + ssize_t bytes; /* Number of bytes read/written */ + off_t length; /* Length of file */ + static const char *partial_line = "partial line"; + /* Partial line */ + + + /* + * No errors so far... + */ + + status = 0; + + /* + * Initialize the write buffer with random data... + */ + + CUPS_SRAND((unsigned)time(NULL)); + + for (i = 0; i < (int)sizeof(writebuf); i ++) + writebuf[i] = (unsigned char)CUPS_RAND(); + + /* + * cupsFileOpen(write) + */ + + printf("cupsFileOpen(write%s): ", compression ? " compressed" : ""); + + fp = cupsFileOpen(compression ? "testfile.dat.gz" : "testfile.dat", + compression ? "w9" : "w"); + if (fp) + { + puts("PASS"); + + /* + * cupsFileCompression() + */ + + fputs("cupsFileCompression(): ", stdout); + + if (cupsFileCompression(fp) == compression) + puts("PASS"); + else + { + printf("FAIL (Got %d, expected %d)\n", cupsFileCompression(fp), + compression); + status ++; + } + + /* + * cupsFilePuts() + */ + + fputs("cupsFilePuts(): ", stdout); + + if (cupsFilePuts(fp, "# Hello, World\n") > 0) + puts("PASS"); + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + + /* + * cupsFilePrintf() + */ + + fputs("cupsFilePrintf(): ", stdout); + + for (i = 0; i < 1000; i ++) + if (cupsFilePrintf(fp, "TestLine %03d\n", i) < 0) + break; + + if (i >= 1000) + puts("PASS"); + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + + /* + * cupsFilePutChar() + */ + + fputs("cupsFilePutChar(): ", stdout); + + for (i = 0; i < 256; i ++) + if (cupsFilePutChar(fp, i) < 0) + break; + + if (i >= 256) + puts("PASS"); + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + + /* + * cupsFileWrite() + */ + + fputs("cupsFileWrite(): ", stdout); + + for (i = 0; i < 10000; i ++) + if (cupsFileWrite(fp, (char *)writebuf, sizeof(writebuf)) < 0) + break; + + if (i >= 10000) + puts("PASS"); + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + + /* + * cupsFilePuts() with partial line... + */ + + fputs("cupsFilePuts(\"partial line\"): ", stdout); + + if (cupsFilePuts(fp, partial_line) > 0) + puts("PASS"); + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + + /* + * cupsFileTell() + */ + + fputs("cupsFileTell(): ", stdout); + + if ((length = cupsFileTell(fp)) == 81933283) + puts("PASS"); + else + { + printf("FAIL (" CUPS_LLFMT " instead of 81933283)\n", CUPS_LLCAST length); + status ++; + } + + /* + * cupsFileClose() + */ + + fputs("cupsFileClose(): ", stdout); + + if (!cupsFileClose(fp)) + puts("PASS"); + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + } + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + + /* + * cupsFileOpen(read) + */ + + fputs("\ncupsFileOpen(read): ", stdout); + + fp = cupsFileOpen(compression ? "testfile.dat.gz" : "testfile.dat", "r"); + if (fp) + { + puts("PASS"); + + /* + * cupsFileGets() + */ + + fputs("cupsFileGets(): ", stdout); + + if (cupsFileGets(fp, line, sizeof(line))) + { + if (line[0] == '#') + puts("PASS"); + else + { + printf("FAIL (Got line \"%s\", expected comment line)\n", line); + status ++; + } + } + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + + /* + * cupsFileCompression() + */ + + fputs("cupsFileCompression(): ", stdout); + + if (cupsFileCompression(fp) == compression) + puts("PASS"); + else + { + printf("FAIL (Got %d, expected %d)\n", cupsFileCompression(fp), + compression); + status ++; + } + + /* + * cupsFileGetConf() + */ + + linenum = 1; + + fputs("cupsFileGetConf(): ", stdout); + + for (i = 0, value = NULL; i < 1000; i ++) + if (!cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + break; + else if (_cups_strcasecmp(line, "TestLine") || !value || atoi(value) != i || + linenum != (i + 2)) + break; + + if (i >= 1000) + puts("PASS"); + else if (line[0]) + { + printf("FAIL (Line %d, directive \"%s\", value \"%s\")\n", linenum, + line, value ? value : "(null)"); + status ++; + } + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + + /* + * cupsFileGetChar() + */ + + fputs("cupsFileGetChar(): ", stdout); + + for (i = 0, byte = 0; i < 256; i ++) + if ((byte = cupsFileGetChar(fp)) != i) + break; + + if (i >= 256) + puts("PASS"); + else if (byte >= 0) + { + printf("FAIL (Got %d, expected %d)\n", byte, i); + status ++; + } + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + + /* + * cupsFileRead() + */ + + fputs("cupsFileRead(): ", stdout); + + for (i = 0, bytes = 0; i < 10000; i ++) + if ((bytes = cupsFileRead(fp, (char *)readbuf, sizeof(readbuf))) < 0) + break; + else if (memcmp(readbuf, writebuf, sizeof(readbuf))) + break; + + if (i >= 10000) + puts("PASS"); + else if (bytes > 0) + { + printf("FAIL (Pass %d, ", i); + + for (i = 0; i < (int)sizeof(readbuf); i ++) + if (readbuf[i] != writebuf[i]) + break; + + printf("match failed at offset %d - got %02X, expected %02X)\n", + i, readbuf[i], writebuf[i]); + } + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + + /* + * cupsFileGetChar() with partial line... + */ + + fputs("cupsFileGetChar(partial line): ", stdout); + + for (i = 0; i < (int)strlen(partial_line); i ++) + if ((byte = cupsFileGetChar(fp)) < 0) + break; + else if (byte != partial_line[i]) + break; + + if (!partial_line[i]) + puts("PASS"); + else + { + printf("FAIL (got '%c', expected '%c')\n", byte, partial_line[i]); + status ++; + } + + /* + * cupsFileTell() + */ + + fputs("cupsFileTell(): ", stdout); + + if ((length = cupsFileTell(fp)) == 81933283) + puts("PASS"); + else + { + printf("FAIL (" CUPS_LLFMT " instead of 81933283)\n", CUPS_LLCAST length); + status ++; + } + + /* + * cupsFileClose() + */ + + fputs("cupsFileClose(): ", stdout); + + if (!cupsFileClose(fp)) + puts("PASS"); + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + } + else + { + printf("FAIL (%s)\n", strerror(errno)); + status ++; + } + + /* + * Remove the test file... + */ + + if (!status) + unlink(compression ? "testfile.dat.gz" : "testfile.dat"); + + /* + * Return the test status... + */ + + return (status); +} diff --git a/cups/testfile.txt b/cups/testfile.txt new file mode 100644 index 0000000..d33c04c --- /dev/null +++ b/cups/testfile.txt @@ -0,0 +1,477 @@ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi faucibus viverra +nibh ut molestie. Sed aliquet vestibulum dignissim. Praesent dignissim mauris +arcu. Donec porta velit quis nibh rutrum sollicitudin. Aliquam vel tellus +vulputate, sollicitudin turpis in, luctus quam. Donec hendrerit enim dignissim +varius tincidunt. Phasellus mi felis, ultrices nec magna in, ultrices interdum +justo. Nulla aliquam sem ac porta tincidunt. Praesent nec fermentum mauris. +Suspendisse ullamcorper mauris orci, eu ornare dui mollis quis. + +In vitae lorem id nulla pellentesque sagittis. Duis aliquet ligula nisl, sed +mollis sapien commodo nec. Etiam placerat arcu turpis, eget viverra magna +ultrices sed. Nullam dapibus urna et tristique consectetur. Curabitur iaculis +nisl lobortis condimentum accumsan. Praesent sagittis purus nunc, vitae bibendum +leo ornare a. Maecenas neque mauris, mollis a sem ut, rhoncus posuere orci. +Aliquam luctus suscipit erat ut semper. In neque augue, vulputate ornare massa +fermentum, sodales faucibus mauris. Vestibulum ante ipsum primis in faucibus +orci luctus et ultrices posuere cubilia Curae; + +Pellentesque mattis ante nunc, sit amet blandit felis cursus sed. Quisque +pellentesque ipsum ac mauris fringilla, a rhoncus nunc lacinia. Vestibulum +tempor orci ut nisl cursus, at euismod sem sodales. Integer ornare tellus at +sapien tincidunt ultrices. Interdum et malesuada fames ac ante ipsum primis in +faucibus. Integer placerat eleifend magna, eget volutpat nibh vulputate eget. +Donec cursus orci nisl, eget malesuada sem porta at. + +Sed maximus eleifend leo, posuere pellentesque urna viverra id. Aenean pharetra +nunc ut suscipit aliquam. Sed dolor massa, ultrices sed sollicitudin nec, +dapibus vitae tortor. Cras in scelerisque tellus. Sed eu felis vitae neque +tempor eleifend vitae ac augue. Nunc felis ex, fringilla quis sapien vel, tempor +congue nibh. Nullam placerat sit amet lacus quis facilisis. + +Sed semper nisi eget auctor semper. Phasellus sodales tempus massa ut suscipit. +Integer malesuada convallis neque, sed pretium leo rhoncus ac. In hac habitasse +platea dictumst. Nullam efficitur mollis lorem. Integer convallis lobortis +dictum. Suspendisse euismod in mauris vel pharetra. Sed vitae magna ut turpis +viverra rhoncus ut sit amet mauris. Nam vel lacinia metus. Proin ut elementum +felis. Nullam massa velit, euismod vel metus eget, feugiat aliquet odio. Fusce +venenatis lorem ut lectus ultricies, vitae accumsan nibh dictum. Maecenas porta +euismod cursus. Nunc at ligula congue, lobortis quam id, volutpat felis. + +Proin blandit pulvinar ligula, at dapibus dui rutrum dictum. Etiam non finibus +urna. Pellentesque semper pharetra arcu non dapibus. Vestibulum gravida dictum +libero, quis dictum odio hendrerit sit amet. Aenean a venenatis ante, tincidunt +convallis orci. Morbi tincidunt, orci vitae suscipit lacinia, nisl nunc rutrum +ex, vitae convallis nulla libero ut mauris. Donec ac pellentesque sapien. +Phasellus elementum orci a nisl feugiat tempus. Quisque id justo sed tellus +ultricies porttitor. Fusce elementum mauris nunc. Nullam vel elit ultrices, +rhoncus elit id, scelerisque erat. + +Pellentesque molestie efficitur purus, at malesuada orci efficitur et. Curabitur +blandit nisi a ante viverra, vel ornare turpis molestie. Class aptent taciti +sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras +scelerisque est non velit placerat, eu volutpat sem fermentum. Cras vitae +gravida nisi, non vestibulum velit. Interdum et malesuada fames ac ante ipsum +primis in faucibus. Cras sollicitudin rutrum tincidunt. Pellentesque non nisl +condimentum, commodo turpis non, fringilla ante. Nunc non ante vel est porttitor +tempor sed vitae nunc. Donec bibendum orci justo, lobortis laoreet purus +accumsan vel. Phasellus non posuere orci. In hac habitasse platea dictumst. +Praesent nec mi sit amet urna ornare pulvinar faucibus at sem. Vestibulum vel +cursus nisl, vel ultricies justo. Proin sed consequat odio, eget dignissim +dolor. Fusce mattis porttitor nulla rutrum aliquet. + +Duis vehicula enim nec condimentum dignissim. Phasellus viverra ex at erat +lacinia varius. Nullam rutrum felis ac lacus dignissim elementum quis sit amet +felis. Phasellus eget sapien sit amet sapien maximus tincidunt elementum ut +ante. Mauris dictum pulvinar diam ac lobortis. Duis vitae dui metus. Donec +imperdiet risus vitae augue placerat ultrices. Integer euismod, sapien sit amet +faucibus venenatis, nisl lacus rhoncus lacus, a auctor justo ante sed turpis. +Integer facilisis est non venenatis hendrerit. Vivamus quis ante sodales, mollis +turpis in, bibendum turpis. In hac habitasse platea dictumst. Phasellus nisl +est, porta feugiat eros ut, scelerisque efficitur diam. Suspendisse sit amet +magna libero. Quisque eu arcu vel orci iaculis sagittis nec id orci. Mauris +mattis nunc id quam tristique pellentesque. + +Vestibulum vehicula, mauris ac venenatis lobortis, ex risus bibendum nunc, eu +bibendum dolor metus vitae purus. Ut bibendum sed ante viverra tincidunt. +Vestibulum id semper lacus. Fusce lacinia dignissim semper. Proin diam enim, +pellentesque vel dui eu, maximus tincidunt mauris. Cras lorem lectus, malesuada +non dui ac, iaculis elementum justo. Fusce fringilla tempor arcu. Proin vel +turpis vitae purus facilisis dapibus condimentum sed ipsum. Duis mollis justo at +ante convallis ornare. Suspendisse accumsan eleifend mauris, ut aliquet eros +scelerisque eget. Proin ornare elit eu felis dapibus, sit amet posuere est +porttitor. Vivamus tincidunt metus ac nisl pharetra, vel mollis neque egestas. + +Quisque turpis ligula, lacinia id suscipit eget, cursus eget mauris. Class +aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos +himenaeos. Curabitur sodales, urna eget luctus congue, metus magna viverra nisl, +ut eleifend nulla urna eu arcu. Pellentesque interdum interdum erat, et +hendrerit arcu rhoncus ut. Nulla congue tortor nec egestas aliquam. Nulla +elementum augue eu est imperdiet, nec maximus sapien ornare. Donec aliquam +blandit felis, sed vulputate orci ultrices non. Vivamus rutrum dapibus ligula, +non ullamcorper ante eleifend vel. Pellentesque habitant morbi tristique +senectus et netus et malesuada fames ac turpis egestas. Aliquam sed lacus +condimentum odio commodo tristique. + +Proin ultrices non tellus sit amet condimentum. Ut aliquam nulla eget viverra +aliquet. Fusce aliquet orci nec finibus tempor. Etiam luctus eleifend diam vitae +tempor. Fusce sagittis porttitor dignissim. Morbi euismod pellentesque mi vel +malesuada. Praesent cursus rutrum diam sit amet auctor. Praesent non leo +consequat, dapibus massa pellentesque, egestas nulla. Nulla efficitur luctus +purus eu aliquet. Phasellus sed enim pharetra, molestie felis eget, tempor +neque. Proin efficitur vestibulum libero ut hendrerit. Mauris vitae vestibulum +augue, in pellentesque ligula. Phasellus at libero dictum, pretium mauris vitae, +elementum ex. Pellentesque ut euismod orci. In ac elit vel nisl bibendum +fermentum eget in dui. Donec fringilla, nisl vitae tincidunt varius, tellus +sapien accumsan lectus, ac tincidunt eros ipsum nec libero. + +Sed mollis purus nec magna tempus, vitae laoreet purus luctus. Morbi accumsan, +urna eget placerat volutpat, nunc magna mattis mi, vitae efficitur eros quam +quis lacus. Etiam eros ligula, tempus vel consectetur non, consectetur quis +risus. Phasellus venenatis lectus arcu, quis bibendum diam dignissim a. Donec +tristique, felis quis dignissim tempor, justo sapien faucibus odio, at venenatis +arcu purus et justo. Nunc vel ex a augue luctus pharetra ac ac turpis. Proin +auctor turpis lobortis, scelerisque mi sit amet, elementum dui. Duis blandit +arcu eros, eu dapibus enim imperdiet sed. Sed auctor urna sed lectus condimentum +rhoncus. Mauris luctus dolor rhoncus suscipit semper. Sed molestie felis ut +laoreet porta. Duis at purus viverra, faucibus elit eu, fringilla odio. +Suspendisse sit amet sodales urna. In hac habitasse platea dictumst. Integer a +sem sed augue sodales dictum. Quisque ut nisi pellentesque, lobortis lectus et, +hendrerit eros. + +Phasellus posuere metus sit amet orci viverra vehicula. Nulla urna est, +pellentesque in placerat ut, congue a ligula. Maecenas non viverra arcu. Vivamus +fermentum odio tincidunt tellus tempus, ut suscipit justo hendrerit. Nunc quis +sapien eget turpis mollis porta. Curabitur ultrices est molestie lacus finibus, +vel sodales leo aliquam. Quisque ultrices semper porta. Nulla facilisi. Aenean +nunc leo, ultrices quis augue non, hendrerit semper lectus. + +Nulla facilisi. In in volutpat tellus. Sed tincidunt efficitur sem, vel bibendum +ex pharetra eleifend. Class aptent taciti sociosqu ad litora torquent per +conubia nostra, per inceptos himenaeos. Sed nec erat at ipsum fringilla commodo +eget eu est. Donec suscipit ligula eu ipsum lobortis tristique. Nulla dignissim +nisi quis dignissim faucibus. Nunc finibus lacus eget est laoreet ultrices. + +Fusce molestie mattis facilisis. Fusce dictum blandit sem ac tincidunt. +Suspendisse aliquam, dolor ac tincidunt scelerisque, lacus leo luctus quam, ac +auctor ligula neque quis dolor. Maecenas laoreet viverra lectus, eget hendrerit +urna congue ac. Donec convallis, erat ut consectetur ornare, diam diam accumsan +lacus, at consectetur mauris nisi vitae massa. Vestibulum vestibulum dictum +volutpat. Quisque et commodo velit. Praesent in odio nunc. + +Vivamus consectetur leo sem, sit amet auctor arcu blandit vitae. Donec non +auctor mauris. Pellentesque habitant morbi tristique senectus et netus et +malesuada fames ac turpis egestas. Proin nibh tellus, fermentum quis erat in, +vulputate faucibus nunc. Vestibulum imperdiet ipsum purus, eget efficitur mi +hendrerit vel. Aenean iaculis elementum metus nec consectetur. Suspendisse felis +turpis, maximus sit amet diam at, elementum vestibulum nulla. Quisque et lacinia +elit. Pellentesque tincidunt bibendum neque, non molestie massa ultrices eget. + +Duis scelerisque magna in blandit dictum. Pellentesque lacinia augue vitae +fermentum mollis. Etiam mi velit, tempor at risus vel, luctus vestibulum odio. +Phasellus vel ipsum sit amet velit malesuada hendrerit. Donec consequat laoreet +enim. Aliquam sed justo eget ex rhoncus laoreet. Duis maximus tortor at odio +suscipit, non accumsan arcu efficitur. Nunc pharetra id neque nec dignissim. Sed +condimentum magna ut viverra porttitor. Pellentesque rutrum magna et pretium +semper. Fusce tincidunt ipsum at auctor commodo. Duis et ipsum nec turpis +pharetra pulvinar a nec risus. Praesent in enim et ligula maximus consectetur. +Aenean nec turpis turpis. + +Quisque mollis dignissim elit, sit amet interdum urna venenatis sit amet. +Quisque interdum, diam eu ullamcorper suscipit, augue purus fermentum purus, nec +consequat purus nibh laoreet lectus. Ut nisi mauris, ultrices non euismod ac, +mollis id libero. Vestibulum ante ipsum primis in faucibus orci luctus et +ultrices posuere cubilia Curae; Cras vitae tristique mi. Mauris ut bibendum +dolor. Suspendisse potenti. Ut tempus ultricies erat, a molestie sapien aliquet +non. Aliquam sagittis nisi vel enim rhoncus eleifend. Proin aliquam eros ut +metus consectetur suscipit. Curabitur ornare mi eget faucibus aliquam. Praesent +ultricies libero est, eget porttitor risus ornare nec. Curabitur pharetra ex ut +eleifend lacinia. Nam nec finibus nunc. Sed hendrerit risus nisi, eu +sollicitudin tellus sollicitudin nec. Proin vel est leo. + +Fusce et orci finibus, auctor purus eu, varius magna. Sed sollicitudin elit +vitae turpis tincidunt, at suscipit lacus ultricies. Mauris pretium, nisi sed +cursus ullamcorper, sem sem vulputate neque, a pellentesque lectus massa vel +metus. Sed tincidunt iaculis lectus, non facilisis elit finibus at. Nunc odio +purus, eleifend ac pretium nec, malesuada condimentum eros. Aenean interdum +dolor et malesuada auctor. Donec placerat velit ex, vel cursus metus posuere +sed. Phasellus rutrum nisl vel imperdiet egestas. Interdum et malesuada fames ac +ante ipsum primis in faucibus. Etiam volutpat quam ut risus ultricies blandit. +Mauris commodo ullamcorper pretium. Nam interdum lobortis eleifend. Fusce quam +nisl, feugiat vitae dui non, egestas eleifend erat. Mauris in ligula purus. +Morbi vel mollis diam. Praesent leo felis, luctus ac blandit sit amet, aliquam +at enim. + +Duis sit amet augue enim. Donec feugiat ultricies neque, ut porttitor lectus +sagittis ut. Sed ante sem, mollis ut dui quis, finibus rutrum justo. Phasellus +ornare nibh ac scelerisque fringilla. Donec rhoncus luctus elit sed accumsan. +Maecenas fermentum quam nec eros consequat, vitae sollicitudin elit facilisis. +Phasellus urna metus, viverra at nibh ac, euismod fringilla mi. Aliquam nec odio +neque. Duis pulvinar congue aliquam. Suspendisse laoreet bibendum sapien, non +ultricies velit porta id. Vivamus dignissim rhoncus mi, sit amet mollis arcu +cursus nec. Maecenas sagittis cursus dictum. Nam fermentum tincidunt +pellentesque. Vivamus tempus tincidunt rutrum. Mauris semper orci non +scelerisque accumsan. + +Nulla fermentum in lacus at aliquet. Proin ut ligula venenatis, maximus elit a, +finibus felis. Nam euismod arcu vel diam laoreet, sed hendrerit urna pharetra. +Phasellus non hendrerit tortor. Donec ut congue odio. Nunc pellentesque ipsum et +est venenatis, sed vehicula magna convallis. Quisque eget euismod orci. In ut +nulla ac augue auctor dapibus a vel arcu. Duis elementum, libero at ullamcorper +consequat, libero nulla vestibulum elit, vel congue lacus nulla quis nulla. +Nulla vel dolor vulputate, dictum nunc nec, pellentesque lacus. Nulla nibh mi, +gravida vel velit vel, tempus dapibus magna. Mauris ornare elementum feugiat. +Vestibulum non finibus lorem, a ullamcorper quam. + +Duis eget velit sodales, rhoncus odio nec, laoreet lorem. Donec fermentum est eu +ornare placerat. Sed interdum metus ac metus hendrerit rhoncus. In molestie diam +sem, et faucibus purus lacinia eu. Donec quam arcu, tempus ac commodo sit amet, +porttitor sit amet urna. Suspendisse pellentesque placerat mi, at semper orci +tincidunt non. Fusce ut mattis nisi. Pellentesque vel nisi quis massa volutpat +aliquam vel nec tortor. Maecenas vitae risus quis nibh vestibulum rutrum. +Vestibulum egestas dolor ullamcorper lorem placerat tincidunt. Curabitur massa +urna, pharetra sed gravida vitae, venenatis a tellus. Duis condimentum lectus +tellus, ut sodales ipsum hendrerit ac. Nullam sed accumsan arcu, ut sollicitudin +diam. Integer eu ligula vitae purus vehicula vulputate nec et metus. Aenean +mollis tempor lectus eu elementum. Integer in dui tempus, porttitor erat sed, +malesuada magna. + +Cras nec orci sed tellus porta tristique a ac dui. Nam eu faucibus mi. Praesent +condimentum laoreet augue id pellentesque. In malesuada ex sed turpis +consectetur, non sodales mi cursus. Nunc id sem luctus, mattis lorem vel, tempus +ipsum. Nunc efficitur augue et nunc hendrerit, non tincidunt magna commodo. +Aenean sodales porta mi. Sed semper accumsan turpis vitae aliquam. Phasellus +vitae ex faucibus, suscipit ante non, commodo ligula. Aliquam erat volutpat. +Etiam odio sem, fringilla in sem eu, bibendum ornare est. Pellentesque habitant +morbi tristique senectus et netus et malesuada fames ac turpis egestas. Lorem +ipsum dolor sit amet, consectetur adipiscing elit. + +Nulla nec fringilla magna. Morbi eu cursus sem. Fusce euismod eget turpis et +bibendum. Donec vel tincidunt neque. Suspendisse commodo euismod sodales. +Integer pretium congue tortor nec ullamcorper. Nam imperdiet, urna auctor +pretium facilisis, sem arcu malesuada turpis, sit amet sodales nisi lectus +sollicitudin tellus. Praesent consequat leo in dui congue, euismod ornare risus +malesuada. Nunc id tincidunt tortor. Vestibulum sit amet sapien urna. Donec quis +tristique elit, non facilisis neque. Donec gravida molestie tellus, sagittis +accumsan metus varius eu. + +Duis nec est vitae augue laoreet rhoncus non nec mi. Phasellus pretium pharetra +magna, et congue urna posuere eget. Sed finibus arcu magna, sed luctus ante +suscipit quis. Pellentesque habitant morbi tristique senectus et netus et +malesuada fames ac turpis egestas. Fusce at accumsan quam. Mauris dolor lectus, +tempus auctor ante ut, auctor maximus turpis. Proin pulvinar dolor in +consectetur aliquam. Fusce sagittis elementum fermentum. + +Aliquam nec posuere ipsum. Nulla commodo est at magna fringilla lobortis. Etiam +diam orci, venenatis non erat iaculis, commodo hendrerit diam. Nam imperdiet +justo vitae massa consectetur, ornare feugiat ipsum molestie. Curabitur +dignissim vitae augue et euismod. Interdum et malesuada fames ac ante ipsum +primis in faucibus. Praesent justo nunc, pellentesque vel ante vitae, dignissim +maximus felis. Proin vel congue nisl. Quisque ac tempus libero. In at placerat +tellus. Integer lobortis ligula vel dolor ornare finibus. + +Donec semper nisl mauris, eu consectetur lacus sollicitudin a. Integer sem enim, +consectetur sed tincidunt id, dignissim at mauris. In a justo non erat cursus +tincidunt et sed sapien. Aenean vulputate placerat ornare. Etiam id lectus +lacus. Donec a sodales sapien. Duis in suscipit est, ultrices mollis magna. +Etiam blandit diam vitae sollicitudin sodales. Proin vel diam nec neque +ullamcorper ullamcorper ut at sapien. Sed quis sollicitudin libero. Nulla sed +arcu consequat, egestas libero viverra, dignissim magna. + +Nullam semper turpis a sem tincidunt, ut molestie ante tincidunt. Curabitur +efficitur nisl quis aliquam tristique. Proin a auctor lectus. Donec dictum +mauris a leo consequat, eu bibendum neque efficitur. Donec euismod, mi nec +faucibus ornare, elit est tincidunt ligula, at molestie neque augue non justo. +Vestibulum condimentum varius felis non pretium. Praesent maximus ex sed justo +tristique elementum. Phasellus nec feugiat dolor. Nulla sed odio quam. Nulla nec +massa sit amet tellus efficitur accumsan sed et orci. Nullam sed mollis augue, +eget dictum metus. Etiam ut velit elit. Nullam nibh eros, commodo vitae maximus +sit amet, convallis sit amet elit. Nullam faucibus arcu tortor, vitae tincidunt +augue ullamcorper in. + +Praesent quis metus et purus volutpat pulvinar. Sed commodo vehicula sodales. +Phasellus fringilla vehicula placerat. Vestibulum sit amet ante in ante +condimentum laoreet. Sed id purus diam. Suspendisse in libero in risus eleifend +fringilla. Cras non sapien vel sapien condimentum tristique. + +Integer non semper mi, a aliquet enim. Phasellus congue erat sed lorem molestie +consectetur. Integer iaculis nisi et nisi blandit auctor. Nullam magna diam, +hendrerit sollicitudin urna vel, gravida congue diam. Curabitur finibus ipsum +ex, ac feugiat massa posuere at. Pellentesque in molestie lorem. Fusce rhoncus +velit at magna accumsan convallis. Aliquam posuere elementum turpis, eget +eleifend quam auctor et. Mauris a diam vitae magna malesuada fermentum sit amet +ut justo. Quisque in purus et erat rhoncus accumsan. Donec feugiat, ipsum vel +pulvinar suscipit, nibh nisi volutpat felis, nec rutrum nisi turpis at diam. +Suspendisse posuere, ante ut imperdiet tempor, tortor magna maximus risus, id +fermentum urna mauris hendrerit magna. Interdum et malesuada fames ac ante ipsum +primis in faucibus. + +Ut eu faucibus neque. Fusce tempus luctus dui ut ullamcorper. Suspendisse in +velit a turpis facilisis scelerisque. Nullam ultricies sodales convallis. Proin +viverra vulputate justo sit amet interdum. Donec mi neque, dapibus ac ex at, +dignissim tincidunt lacus. Praesent ultricies, erat ac sagittis tempor, justo +turpis porta tortor, eget consectetur turpis odio sed nibh. Vestibulum vitae +porta lorem, efficitur viverra enim. + +Nullam sodales sagittis tristique. Duis ac velit ultrices, efficitur tortor sit +amet, varius lacus. Praesent blandit et arcu sit amet tempus. Quisque neque +lectus, congue at rutrum at, commodo eu velit. Aliquam sed mi a ante condimentum +consectetur. Morbi feugiat risus dolor, ac auctor massa ultrices in. Praesent +laoreet metus non urna rhoncus, vel lacinia ex dapibus. Class aptent taciti +sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. +Curabitur vitae arcu vel enim feugiat rhoncus. Nullam nec neque sed nulla +hendrerit iaculis sed non erat. Pellentesque orci lacus, ullamcorper posuere +odio vel, efficitur elementum ipsum. Morbi justo risus, faucibus sit amet urna +eu, facilisis consequat ipsum. Quisque et congue ipsum, at ornare lacus. + +Nunc laoreet elit nec arcu lobortis consectetur. Sed consectetur ultrices risus, +quis tincidunt lectus fermentum at. Nunc libero sem, dignissim pharetra lacinia +eu, posuere quis libero. Sed at lacus consectetur, molestie nisi quis, +scelerisque tortor. Etiam accumsan placerat nulla, vel consectetur felis aliquam +et. Cras pellentesque massa a ex commodo condimentum. Integer nec nulla sed +metus dignissim placerat. Ut vel urna augue. Donec pharetra justo ac ex pretium, +ut condimentum erat lacinia. Nunc id porta nunc, ac dapibus massa. Suspendisse +accumsan justo quis felis pharetra tempus. Donec rutrum nulla in consectetur +tincidunt. + +Sed eu orci eu ligula maximus aliquet eget sed ex. Donec rhoncus fringilla +tellus, a bibendum mi placerat eu. Pellentesque luctus finibus neque blandit +pharetra. Aenean nec elit pretium, sodales lacus sed, mollis felis. Duis commodo +pellentesque risus et semper. Praesent pretium, libero pharetra fringilla +faucibus, ipsum urna porta nunc, nec euismod dolor risus eget lacus. Curabitur +malesuada dapibus tellus ut luctus. Aliquam gravida mauris tellus, ut vestibulum +massa dignissim vestibulum. Sed pulvinar, ex et consequat malesuada, erat tellus +bibendum mi, nec auctor nulla massa eu justo. Suspendisse imperdiet interdum +ligula. Donec at pretium urna. Donec quis diam leo. Aenean ac lectus non justo +aliquam consequat vitae mattis ipsum. Integer at consectetur felis, et volutpat +sapien. Suspendisse efficitur libero eu pulvinar cursus. + +Suspendisse interdum enim id nibh imperdiet, et pulvinar lectus aliquet. Donec +ultricies mattis lorem eget malesuada. Sed hendrerit massa in rutrum auctor. +Suspendisse interdum mauris in sem vestibulum volutpat. Maecenas interdum +facilisis dui, posuere volutpat eros suscipit eget. Curabitur blandit odio +turpis, non dignissim magna varius sit amet. Suspendisse cursus ipsum id metus +venenatis, eu malesuada arcu congue. + +Nulla vitae mi ut nibh pretium cursus in vitae turpis. In hac habitasse platea +dictumst. Phasellus consectetur, metus at tempus sollicitudin, nibh est molestie +nunc, sed imperdiet purus sapien in lorem. Etiam eget leo nec sem efficitur +luctus. Vestibulum mattis a odio ut volutpat. Duis consequat magna eget luctus +vulputate. Nam viverra posuere ultricies. + +Duis sagittis nunc et sem sagittis venenatis. Sed massa lacus, vestibulum eget +convallis ac, facilisis nec turpis. Morbi ac ornare ex. Quisque non laoreet +lectus, sed tempus libero. Sed non neque risus. Sed gravida, mauris ac aliquam +porttitor, dolor massa faucibus est, eget vestibulum eros eros et risus. Morbi +sit amet tincidunt eros, ut cursus mauris. Integer a lectus pharetra, molestie +massa vel, laoreet sem. Suspendisse et enim libero. Nam molestie risus nec ex +laoreet, a faucibus massa rhoncus. Vivamus faucibus sapien eget lorem efficitur +auctor. + +Curabitur sit amet leo non massa tempor bibendum. Nunc in tristique est. Donec +id mollis mauris, vel porta magna. Nulla vulputate eleifend lacus sed tincidunt. +Maecenas vitae sapien eu neque hendrerit venenatis sit amet nec nulla. Morbi +vestibulum dui lectus, id commodo dui vehicula eget. Nulla laoreet turpis vitae +lacus vehicula lacinia. Integer rhoncus tellus mi, vitae gravida metus convallis +quis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per +inceptos himenaeos. Mauris et accumsan sem. Sed elementum egestas tellus eget +eleifend. Sed finibus luctus felis. + +Maecenas ultrices sodales orci non dapibus. Phasellus vitae lacus at diam +ultrices mattis porta non ipsum. Aliquam erat volutpat. Vestibulum auctor diam +vehicula gravida volutpat. In rhoncus, dui sit amet consequat convallis, odio +mauris tincidunt mi, vestibulum imperdiet lacus erat sed metus. Aenean in augue +eu tortor dictum tempor a ac magna. Mauris aliquet justo eget sem sollicitudin, +congue facilisis velit mollis. Proin dignissim, nulla a efficitur fringilla, +orci nulla malesuada velit, eget cursus dolor metus vitae nisl. Phasellus non +neque ipsum. Pellentesque porta vehicula ipsum, nec posuere urna bibendum et. +Etiam nec nisl eu nulla tempus placerat. Pellentesque risus magna, accumsan +vitae sem vitae, cursus fermentum elit. Ut varius efficitur turpis, et +pellentesque libero rutrum hendrerit. Maecenas condimentum lobortis eros, a +euismod metus. + +Ut risus sapien, pulvinar quis euismod id, vestibulum ac erat. Donec feugiat +tempor commodo. Donec ligula est, aliquet eu sagittis eu, posuere vel eros. +Nullam sollicitudin diam eget libero malesuada, vel tempus lectus congue. +Praesent a odio risus. Nullam maximus tellus sed ligula eleifend, sed mollis +nunc consequat. Quisque eros mi, imperdiet nec ipsum in, pretium feugiat nibh. +Pellentesque cursus justo at metus condimentum consectetur. Nulla facilisi. Ut +tincidunt sem eget diam rhoncus, vitae gravida ipsum facilisis. Integer et +condimentum purus. + +Sed faucibus tempus orci, id cursus eros volutpat non. Nam pulvinar ex nec enim +egestas ultricies. Suspendisse at eros ac metus sodales varius eu in ante. Cras +sed est quis magna tempus mollis id faucibus nibh. Curabitur convallis nisi +dolor, in imperdiet ante tempor eu. Quisque placerat leo et leo cursus, nec +eleifend urna scelerisque. Duis consequat ex a sapien facilisis consectetur. +Vivamus et aliquam lacus. + +Praesent consequat lacus in aliquam ultricies. Sed consectetur vehicula aliquet. +Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos +himenaeos. Vivamus tellus neque, eleifend sed purus quis, elementum luctus mi. +Nullam elit lacus, finibus a sollicitudin in, suscipit non nunc. Nulla vulputate +odio vitae mauris tristique, ac interdum urna interdum. Phasellus nec tortor +hendrerit, mattis ante non, pharetra tortor. + +Pellentesque vitae tempor urna, ut gravida enim. Sed eget sem purus. Nunc semper +quam mi, sed mollis ligula feugiat at. Pellentesque finibus augue risus, et +ultricies lacus scelerisque vel. Proin euismod tortor quam, et cursus ipsum +dictum ac. Suspendisse laoreet velit consequat ullamcorper cursus. Nam ultricies +gravida viverra. Vivamus non sodales quam, eget rutrum quam. Suspendisse +venenatis lorem sodales lectus eleifend, ac consequat odio finibus. Morbi id +maximus metus, a molestie neque. Integer eget felis sit amet sem tempor +placerat. Suspendisse lobortis congue justo eu accumsan. Nullam accumsan laoreet +purus. Nulla quis efficitur risus. + +Ut ac leo libero. Nam nec nisi iaculis, ornare nunc fringilla, sodales lectus. +Nulla laoreet mauris sodales, sagittis enim non, vestibulum orci. Fusce orci +dui, dapibus nec ligula vitae, vulputate maximus ante. Mauris vitae felis +tincidunt, ullamcorper neque quis, pulvinar nisl. Fusce ut augue ac nisl posuere +tristique ac sed leo. Nunc pellentesque pretium turpis. Integer maximus rutrum +felis, ut molestie mauris mattis non. Morbi ac risus ut mauris porta pharetra. +Fusce mollis pharetra turpis nec consequat. Aenean tincidunt felis vel nulla +porta, faucibus egestas ligula efficitur. Morbi et dictum velit. + +Proin scelerisque justo in tristique congue. Maecenas consequat ante dapibus +justo vehicula pretium. Sed consequat turpis ac orci suscipit malesuada non a +risus. In id leo molestie, venenatis risus quis, dignissim nulla. Nulla aliquet +risus nulla, a convallis sem tincidunt ac. Pellentesque scelerisque, elit eu +finibus eleifend, orci lectus egestas lorem, nec bibendum libero est non leo. +Nullam nisl ante, ullamcorper in efficitur a, consectetur sit amet tellus. Ut et +pellentesque eros. Etiam mattis nulla justo, sed ultricies dui commodo vel. Ut +tristique posuere leo, ac facilisis massa lobortis nec. Quisque leo ligula, +venenatis vel facilisis vel, volutpat ac sapien. Fusce sed porttitor urna. +Phasellus tempus semper condimentum. Aliquam sit amet felis vel nulla porta +luctus id vel leo. + +Ut ut odio tincidunt, ultrices enim at, pellentesque sem. Proin bibendum ligula +lacus, ut tempus mauris tincidunt id. Praesent sollicitudin interdum tellus, vel +tincidunt nisi ultrices a. Aliquam cursus faucibus elit, quis lacinia erat +elementum eu. Duis sollicitudin lectus lectus, ut ultrices elit malesuada quis. +Phasellus viverra turpis sit amet erat iaculis dapibus. Donec semper turpis sed +risus pharetra pharetra. Donec ut ante ac orci blandit interdum. Pellentesque +facilisis id purus egestas placerat. Suspendisse sit amet euismod velit, et +rutrum ipsum. Maecenas at mi pulvinar, dignissim erat quis, blandit libero. +Praesent quam tortor, tempus et laoreet nec, aliquet sed libero. Duis vestibulum +est sed risus venenatis rhoncus. Phasellus arcu libero, commodo eget tincidunt +non, aliquam in velit. Phasellus imperdiet ante a laoreet gravida. Cras faucibus +semper nulla eu facilisis. + +Praesent non sem sem. Nulla tempus ullamcorper sollicitudin. Ut eget nisi eget +augue fermentum consequat. Proin congue a nisi eget ullamcorper. Pellentesque +luctus diam felis, a pharetra nunc cursus in. Vivamus a quam dolor. Curabitur +fermentum elit sit amet purus ultricies, ut placerat nisl finibus. Nunc sed +ligula diam. Ut efficitur risus tortor. Suspendisse sem elit, posuere sit amet +nisi et, placerat tristique ipsum. Ut nunc ex, fermentum sed tempor vitae, +scelerisque quis nulla. + +Duis ac aliquam lectus. Curabitur consequat maximus leo sed cursus. Maecenas +cursus lectus non porttitor consectetur. Vivamus ultricies, lectus non tempor +porttitor, turpis velit auctor leo, at auctor nibh justo ut mi. Vivamus interdum +massa at fermentum cursus. Nulla suscipit purus nulla, vel condimentum eros +rhoncus eget. Nulla malesuada aliquet maximus. Nulla blandit ipsum finibus leo +rhoncus, non lobortis felis scelerisque. Duis blandit massa quis velit efficitur +cursus. Aliquam nibh arcu, dictum et feugiat eget, iaculis ac risus. Nunc +facilisis pellentesque mauris, a aliquet libero eleifend eu. Pellentesque a +turpis et justo blandit maximus. Phasellus imperdiet dui odio, eu facilisis quam +porttitor id. Morbi accumsan, mauris eget fermentum porta, mi risus sagittis +nisi, in semper odio orci a magna. Praesent maximus accumsan odio, vitae +bibendum ipsum ultrices eu. Vestibulum laoreet purus nec neque fringilla +dignissim. + +Morbi interdum diam eget ornare vestibulum. Etiam egestas at ipsum eget dapibus. +Nullam feugiat mi ex, et varius odio ornare id. Sed sagittis augue quam, in +maximus orci tincidunt vel. Duis molestie felis nunc, et feugiat risus +vestibulum et. Integer efficitur augue elit, id commodo lorem volutpat sed. +Fusce quam velit, suscipit a posuere sit amet, pulvinar sed nisi. Fusce lacinia +accumsan nunc vitae lobortis. Vivamus eu fringilla velit. Cras hendrerit +efficitur faucibus. Praesent facilisis a nulla non efficitur. Etiam quis est ac +neque pharetra bibendum a vitae neque. + +Phasellus dui dui, pellentesque in facilisis quis, vulputate non nibh. Integer +in lobortis velit. Curabitur efficitur imperdiet dolor, vel tempus dui fermentum +quis. Maecenas porttitor nibh at nibh cursus mattis. In dolor neque, efficitur +at ligula nec, lobortis aliquam ipsum. Phasellus quam magna, imperdiet at nunc +a, suscipit aliquam metus. Cras consequat, enim vitae feugiat venenatis, enim +urna venenatis ligula, vel cursus odio lectus id purus. Integer sit amet finibus +diam. Fusce aliquet vehicula mauris, a varius metus semper in. Cras sodales +malesuada consectetur. \ No newline at end of file diff --git a/cups/testgetdests.c b/cups/testgetdests.c new file mode 100644 index 0000000..5b90695 --- /dev/null +++ b/cups/testgetdests.c @@ -0,0 +1,45 @@ +/* + * CUPS cupsGetDests API test program for CUPS. + * + * Copyright 2017 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include "cups.h" +#include + + +/* + * 'main()' - Loop calling cupsGetDests. + */ + +int /* O - Exit status */ +main(void) +{ + int num_dests; /* Number of destinations */ + cups_dest_t *dests; /* Destinations */ + struct timeval start, end; /* Start and stop time */ + double secs; /* Total seconds to run cupsGetDests */ + + + for (;;) + { + gettimeofday(&start, NULL); + num_dests = cupsGetDests(&dests); + gettimeofday(&end, NULL); + secs = end.tv_sec - start.tv_sec + 0.000001 * (end.tv_usec - start.tv_usec); + + printf("Found %d printers in %.3f seconds...\n", num_dests, secs); + + cupsFreeDests(num_dests, dests); + sleep(1); + } + + return (0); +} diff --git a/cups/testhttp.c b/cups/testhttp.c new file mode 100644 index 0000000..dfb767c --- /dev/null +++ b/cups/testhttp.c @@ -0,0 +1,945 @@ +/* + * HTTP test program for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" + + +/* + * Types and structures... + */ + +typedef struct uri_test_s /**** URI test cases ****/ +{ + http_uri_status_t result; /* Expected return value */ + const char *uri, /* URI */ + *scheme, /* Scheme string */ + *username, /* Username:password string */ + *hostname, /* Hostname string */ + *resource; /* Resource string */ + int port, /* Port number */ + assemble_port; /* Port number for httpAssembleURI() */ + http_uri_coding_t assemble_coding;/* Coding for httpAssembleURI() */ +} uri_test_t; + + +/* + * Local globals... + */ + +static uri_test_t uri_tests[] = /* URI test data */ + { + /* Start with valid URIs */ + { HTTP_URI_STATUS_OK, "file:/filename", + "file", "", "", "/filename", 0, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "file:/filename%20with%20spaces", + "file", "", "", "/filename with spaces", 0, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "file:///filename", + "file", "", "", "/filename", 0, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "file:///filename%20with%20spaces", + "file", "", "", "/filename with spaces", 0, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "file://localhost/filename", + "file", "", "localhost", "/filename", 0, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "file://localhost/filename%20with%20spaces", + "file", "", "localhost", "/filename with spaces", 0, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "http://server/", + "http", "", "server", "/", 80, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "http://username@server/", + "http", "username", "server", "/", 80, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "http://username:passwor%64@server/", + "http", "username:password", "server", "/", 80, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "http://username:passwor%64@server:8080/", + "http", "username:password", "server", "/", 8080, 8080, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "http://username:passwor%64@server:8080/directory/filename", + "http", "username:password", "server", "/directory/filename", 8080, 8080, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "http://[2000::10:100]:631/ipp", + "http", "", "2000::10:100", "/ipp", 631, 631, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "https://username:passwor%64@server/directory/filename", + "https", "username:password", "server", "/directory/filename", 443, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "ipp://username:passwor%64@[::1]/ipp", + "ipp", "username:password", "::1", "/ipp", 631, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "lpd://server/queue?reserve=yes", + "lpd", "", "server", "/queue?reserve=yes", 515, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "mailto:user@domain.com", + "mailto", "", "", "user@domain.com", 0, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "socket://server/", + "socket", "", "server", "/", 9100, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "socket://192.168.1.1:9101/", + "socket", "", "192.168.1.1", "/", 9101, 9101, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "tel:8005551212", + "tel", "", "", "8005551212", 0, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "ipp://username:password@[v1.fe80::200:1234:5678:9abc+eth0]:999/ipp", + "ipp", "username:password", "fe80::200:1234:5678:9abc%eth0", "/ipp", 999, 999, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "ipp://username:password@[fe80::200:1234:5678:9abc%25eth0]:999/ipp", + "ipp", "username:password", "fe80::200:1234:5678:9abc%eth0", "/ipp", 999, 999, + (http_uri_coding_t)(HTTP_URI_CODING_MOST | HTTP_URI_CODING_RFC6874) }, + { HTTP_URI_STATUS_OK, "http://server/admin?DEVICE_URI=usb://HP/Photosmart%25202600%2520series?serial=MY53OK70V10400", + "http", "", "server", "/admin?DEVICE_URI=usb://HP/Photosmart%25202600%2520series?serial=MY53OK70V10400", 80, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "lpd://Acme%20Laser%20(01%3A23%3A45).local._tcp._printer/", + "lpd", "", "Acme Laser (01:23:45).local._tcp._printer", "/", 515, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "ipp://HP%20Officejet%204500%20G510n-z%20%40%20Will's%20MacBook%20Pro%2015%22._ipp._tcp.local./", + "ipp", "", "HP Officejet 4500 G510n-z @ Will's MacBook Pro 15\"._ipp._tcp.local.", "/", 631, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_OK, "ipp://%22%23%2F%3A%3C%3E%3F%40%5B%5C%5D%5E%60%7B%7C%7D/", + "ipp", "", "\"#/:<>?@[\\]^`{|}", "/", 631, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_UNKNOWN_SCHEME, "smb://server/Some%20Printer", + "smb", "", "server", "/Some Printer", 0, 0, + HTTP_URI_CODING_ALL }, + + /* Missing scheme */ + { HTTP_URI_STATUS_MISSING_SCHEME, "/path/to/file/index.html", + "file", "", "", "/path/to/file/index.html", 0, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_MISSING_SCHEME, "//server/ipp", + "ipp", "", "server", "/ipp", 631, 0, + HTTP_URI_CODING_MOST }, + + /* Unknown scheme */ + { HTTP_URI_STATUS_UNKNOWN_SCHEME, "vendor://server/resource", + "vendor", "", "server", "/resource", 0, 0, + HTTP_URI_CODING_MOST }, + + /* Missing resource */ + { HTTP_URI_STATUS_MISSING_RESOURCE, "socket://[::192.168.2.1]", + "socket", "", "::192.168.2.1", "/", 9100, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_MISSING_RESOURCE, "socket://192.168.1.1:9101", + "socket", "", "192.168.1.1", "/", 9101, 0, + HTTP_URI_CODING_MOST }, + + /* Bad URI */ + { HTTP_URI_STATUS_BAD_URI, "", + "", "", "", "", 0, 0, + HTTP_URI_CODING_MOST }, + + /* Bad scheme */ + { HTTP_URI_STATUS_BAD_SCHEME, "://server/ipp", + "", "", "", "", 0, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_BAD_SCHEME, "bad_scheme://server/resource", + "", "", "", "", 0, 0, + HTTP_URI_CODING_MOST }, + + /* Bad username */ + { HTTP_URI_STATUS_BAD_USERNAME, "http://username:passwor%6@server/resource", + "http", "", "", "", 80, 0, + HTTP_URI_CODING_MOST }, + + /* Bad hostname */ + { HTTP_URI_STATUS_BAD_HOSTNAME, "http://[/::1]/index.html", + "http", "", "", "", 80, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_BAD_HOSTNAME, "http://[", + "http", "", "", "", 80, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_BAD_HOSTNAME, "http://serve%7/index.html", + "http", "", "", "", 80, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_BAD_HOSTNAME, "http://server with spaces/index.html", + "http", "", "", "", 80, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_BAD_HOSTNAME, "ipp://\"#/:<>?@[\\]^`{|}/", + "ipp", "", "", "", 631, 0, + HTTP_URI_CODING_MOST }, + + /* Bad port number */ + { HTTP_URI_STATUS_BAD_PORT, "http://127.0.0.1:9999a/index.html", + "http", "", "127.0.0.1", "", 0, 0, + HTTP_URI_CODING_MOST }, + + /* Bad resource */ + { HTTP_URI_STATUS_BAD_RESOURCE, "mailto:\r\nbla", + "mailto", "", "", "", 0, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_BAD_RESOURCE, "http://server/index.html%", + "http", "", "server", "", 80, 0, + HTTP_URI_CODING_MOST }, + { HTTP_URI_STATUS_BAD_RESOURCE, "http://server/index with spaces.html", + "http", "", "server", "", 80, 0, + HTTP_URI_CODING_MOST } + }; +static const char * const base64_tests[][2] = + { + { "A", "QQ==" }, + /* 010000 01 */ + { "AB", "QUI=" }, + /* 010000 010100 0010 */ + { "ABC", "QUJD" }, + /* 010000 010100 001001 000011 */ + { "ABCD", "QUJDRA==" }, + /* 010000 010100 001001 000011 010001 00 */ + { "ABCDE", "QUJDREU=" }, + /* 010000 010100 001001 000011 010001 000100 0101 */ + { "ABCDEF", "QUJDREVG" }, + /* 010000 010100 001001 000011 010001 000100 010101 000110 */ + }; + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i, j, k; /* Looping vars */ + http_t *http; /* HTTP connection */ + http_encryption_t encryption; /* Encryption type */ + http_status_t status; /* Status of GET command */ + int failures; /* Number of test failures */ + char buffer[8192]; /* Input buffer */ + long bytes; /* Number of bytes read */ + FILE *out; /* Output file */ + char encode[256], /* Base64-encoded string */ + decode[256]; /* Base64-decoded string */ + int decodelen; /* Length of decoded string */ + char scheme[HTTP_MAX_URI], /* Scheme from URI */ + hostname[HTTP_MAX_URI], /* Hostname from URI */ + username[HTTP_MAX_URI], /* Username:password from URI */ + resource[HTTP_MAX_URI]; /* Resource from URI */ + int port; /* Port number from URI */ + http_uri_status_t uri_status; /* Status of URI separation */ + http_addrlist_t *addrlist, /* Address list */ + *addr; /* Current address */ + off_t length, total; /* Length and total bytes */ + time_t start, current; /* Start and end time */ + const char *encoding; /* Negotiated Content-Encoding */ + static const char * const uri_status_strings[] = + { + "HTTP_URI_STATUS_OVERFLOW", + "HTTP_URI_STATUS_BAD_ARGUMENTS", + "HTTP_URI_STATUS_BAD_RESOURCE", + "HTTP_URI_STATUS_BAD_PORT", + "HTTP_URI_STATUS_BAD_HOSTNAME", + "HTTP_URI_STATUS_BAD_USERNAME", + "HTTP_URI_STATUS_BAD_SCHEME", + "HTTP_URI_STATUS_BAD_URI", + "HTTP_URI_STATUS_OK", + "HTTP_URI_STATUS_MISSING_SCHEME", + "HTTP_URI_STATUS_UNKNOWN_SCHEME", + "HTTP_URI_STATUS_MISSING_RESOURCE" + }; + + + /* + * Do API tests if we don't have a URL on the command-line... + */ + + if (argc == 1) + { + failures = 0; + + /* + * httpGetDateString()/httpGetDateTime() + */ + + fputs("httpGetDateString()/httpGetDateTime(): ", stdout); + + start = time(NULL); + strlcpy(buffer, httpGetDateString(start), sizeof(buffer)); + current = httpGetDateTime(buffer); + + i = (int)(current - start); + if (i < 0) + i = -i; + + if (!i) + puts("PASS"); + else + { + failures ++; + puts("FAIL"); + printf(" Difference is %d seconds, %02d:%02d:%02d...\n", i, i / 3600, + (i / 60) % 60, i % 60); + printf(" httpGetDateString(%d) returned \"%s\"\n", (int)start, buffer); + printf(" httpGetDateTime(\"%s\") returned %d\n", buffer, (int)current); + printf(" httpGetDateString(%d) returned \"%s\"\n", (int)current, + httpGetDateString(current)); + } + + /* + * httpDecode64_2()/httpEncode64_2() + */ + + fputs("httpDecode64_2()/httpEncode64_2(): ", stdout); + + for (i = 0, j = 0; i < (int)(sizeof(base64_tests) / sizeof(base64_tests[0])); i ++) + { + httpEncode64_2(encode, sizeof(encode), base64_tests[i][0], + (int)strlen(base64_tests[i][0])); + decodelen = (int)sizeof(decode); + httpDecode64_2(decode, &decodelen, base64_tests[i][1]); + + if (strcmp(decode, base64_tests[i][0])) + { + failures ++; + + if (j) + { + puts("FAIL"); + j = 1; + } + + printf(" httpDecode64_2() returned \"%s\", expected \"%s\"...\n", + decode, base64_tests[i][0]); + } + + if (strcmp(encode, base64_tests[i][1])) + { + failures ++; + + if (j) + { + puts("FAIL"); + j = 1; + } + + printf(" httpEncode64_2() returned \"%s\", expected \"%s\"...\n", + encode, base64_tests[i][1]); + } + } + + if (!j) + puts("PASS"); + +#if 0 + /* + * _httpDigest() + */ + + fputs("_httpDigest(MD5): ", stdout); + if (!_httpDigest(buffer, sizeof(buffer), "MD5", "Mufasa", "http-auth@example.org", "Circle of Life", "7ypf/xlj9XXwfDPEoM4URrv/xwf94BcCAzFZH4GiTo0v", 1, "f2/wE4q74E6zIJEtWaHKaf5wv/H5QzzpXusqGemxURZJ", "auth", "GET", "/dir/index.html")) + { + failures ++; + puts("FAIL (unable to calculate hash)"); + } + else if (strcmp(buffer, "8ca523f5e9506fed4657c9700eebdbec")) + { + failures ++; + printf("FAIL (got \"%s\", expected \"8ca523f5e9506fed4657c9700eebdbec\")\n", buffer); + } + else + puts("PASS"); + + fputs("_httpDigest(SHA-256): ", stdout); + if (!_httpDigest(buffer, sizeof(buffer), "SHA-256", "Mufasa", "http-auth@example.org", "Circle of Life", "7ypf/xlj9XXwfDPEoM4URrv/xwf94BcCAzFZH4GiTo0v", 1, "f2/wE4q74E6zIJEtWaHKaf5wv/H5QzzpXusqGemxURZJ", "auth", "GET", "/dir/index.html")) + { + failures ++; + puts("FAIL (unable to calculate hash)"); + } + else if (strcmp(buffer, "753927fa0e85d155564e2e272a28d1802ca10daf4496794697cf8db5856cb6c1")) + { + failures ++; + printf("FAIL (got \"%s\", expected \"753927fa0e85d155564e2e272a28d1802ca10daf4496794697cf8db5856cb6c1\")\n", buffer); + } + else + puts("PASS"); +#endif /* 0 */ + + /* + * httpGetHostname() + */ + + fputs("httpGetHostname(): ", stdout); + + if (httpGetHostname(NULL, hostname, sizeof(hostname))) + printf("PASS (%s)\n", hostname); + else + { + failures ++; + puts("FAIL"); + } + + /* + * httpAddrGetList() + */ + + printf("httpAddrGetList(%s): ", hostname); + + addrlist = httpAddrGetList(hostname, AF_UNSPEC, NULL); + if (addrlist) + { + for (i = 0, addr = addrlist; addr; i ++, addr = addr->next) + { + char numeric[1024]; /* Numeric IP address */ + + + httpAddrString(&(addr->addr), numeric, sizeof(numeric)); + if (!strcmp(numeric, "UNKNOWN")) + break; + } + + if (addr) + printf("FAIL (bad address for %s)\n", hostname); + else + printf("PASS (%d address(es) for %s)\n", i, hostname); + + httpAddrFreeList(addrlist); + } + else if (isdigit(hostname[0] & 255)) + { + puts("FAIL (ignored because hostname is numeric)"); + } + else + { + failures ++; + puts("FAIL"); + } + + /* + * Test httpSeparateURI()... + */ + + fputs("httpSeparateURI(): ", stdout); + for (i = 0, j = 0; i < (int)(sizeof(uri_tests) / sizeof(uri_tests[0])); i ++) + { + uri_status = httpSeparateURI(HTTP_URI_CODING_MOST, + uri_tests[i].uri, scheme, sizeof(scheme), + username, sizeof(username), + hostname, sizeof(hostname), &port, + resource, sizeof(resource)); + if (uri_status != uri_tests[i].result || + strcmp(scheme, uri_tests[i].scheme) || + strcmp(username, uri_tests[i].username) || + strcmp(hostname, uri_tests[i].hostname) || + port != uri_tests[i].port || + strcmp(resource, uri_tests[i].resource)) + { + failures ++; + + if (!j) + { + puts("FAIL"); + j = 1; + } + + printf(" \"%s\":\n", uri_tests[i].uri); + + if (uri_status != uri_tests[i].result) + printf(" Returned %s instead of %s\n", + uri_status_strings[uri_status + 8], + uri_status_strings[uri_tests[i].result + 8]); + + if (strcmp(scheme, uri_tests[i].scheme)) + printf(" Scheme \"%s\" instead of \"%s\"\n", + scheme, uri_tests[i].scheme); + + if (strcmp(username, uri_tests[i].username)) + printf(" Username \"%s\" instead of \"%s\"\n", + username, uri_tests[i].username); + + if (strcmp(hostname, uri_tests[i].hostname)) + printf(" Hostname \"%s\" instead of \"%s\"\n", + hostname, uri_tests[i].hostname); + + if (port != uri_tests[i].port) + printf(" Port %d instead of %d\n", + port, uri_tests[i].port); + + if (strcmp(resource, uri_tests[i].resource)) + printf(" Resource \"%s\" instead of \"%s\"\n", + resource, uri_tests[i].resource); + } + } + + if (!j) + printf("PASS (%d URIs tested)\n", + (int)(sizeof(uri_tests) / sizeof(uri_tests[0]))); + + /* + * Test httpAssembleURI()... + */ + + fputs("httpAssembleURI(): ", stdout); + for (i = 0, j = 0, k = 0; + i < (int)(sizeof(uri_tests) / sizeof(uri_tests[0])); + i ++) + if (uri_tests[i].result == HTTP_URI_STATUS_OK && + !strstr(uri_tests[i].uri, "%64") && + strstr(uri_tests[i].uri, "//")) + { + k ++; + uri_status = httpAssembleURI(uri_tests[i].assemble_coding, + buffer, sizeof(buffer), + uri_tests[i].scheme, + uri_tests[i].username, + uri_tests[i].hostname, + uri_tests[i].assemble_port, + uri_tests[i].resource); + + if (uri_status != HTTP_URI_STATUS_OK) + { + failures ++; + + if (!j) + { + puts("FAIL"); + j = 1; + } + + printf(" \"%s\": %s\n", uri_tests[i].uri, + uri_status_strings[uri_status + 8]); + } + else if (strcmp(buffer, uri_tests[i].uri)) + { + failures ++; + + if (!j) + { + puts("FAIL"); + j = 1; + } + + printf(" \"%s\": assembled = \"%s\"\n", uri_tests[i].uri, + buffer); + } + } + + if (!j) + printf("PASS (%d URIs tested)\n", k); + + /* + * httpAssembleUUID + */ + + fputs("httpAssembleUUID: ", stdout); + httpAssembleUUID("hostname.example.com", 631, "printer", 12345, buffer, + sizeof(buffer)); + if (strncmp(buffer, "urn:uuid:", 9)) + { + printf("FAIL (%s)\n", buffer); + failures ++; + } + else + printf("PASS (%s)\n", buffer); + + /* + * Show a summary and return... + */ + + if (failures) + printf("\n%d TESTS FAILED!\n", failures); + else + puts("\nALL TESTS PASSED!"); + + return (failures); + } + else if (strstr(argv[1], "._tcp")) + { + /* + * Test resolving an mDNS name. + */ + + char resolved[1024]; /* Resolved URI */ + + + printf("_httpResolveURI(%s, _HTTP_RESOLVE_DEFAULT): ", argv[1]); + fflush(stdout); + + if (!_httpResolveURI(argv[1], resolved, sizeof(resolved), + _HTTP_RESOLVE_DEFAULT, NULL, NULL)) + { + puts("FAIL"); + return (1); + } + else + printf("PASS (%s)\n", resolved); + + printf("_httpResolveURI(%s, _HTTP_RESOLVE_FQDN): ", argv[1]); + fflush(stdout); + + if (!_httpResolveURI(argv[1], resolved, sizeof(resolved), + _HTTP_RESOLVE_FQDN, NULL, NULL)) + { + puts("FAIL"); + return (1); + } + else if (strstr(resolved, ".local:")) + { + printf("FAIL (%s)\n", resolved); + return (1); + } + else + { + printf("PASS (%s)\n", resolved); + return (0); + } + } + else if (!strcmp(argv[1], "-u") && argc == 3) + { + /* + * Test URI separation... + */ + + uri_status = httpSeparateURI(HTTP_URI_CODING_ALL, argv[2], scheme, + sizeof(scheme), username, sizeof(username), + hostname, sizeof(hostname), &port, + resource, sizeof(resource)); + printf("uri_status = %s\n", uri_status_strings[uri_status + 8]); + printf("scheme = \"%s\"\n", scheme); + printf("username = \"%s\"\n", username); + printf("hostname = \"%s\"\n", hostname); + printf("port = %d\n", port); + printf("resource = \"%s\"\n", resource); + + return (0); + } + + /* + * Test HTTP GET requests... + */ + + http = NULL; + out = stdout; + + for (i = 1; i < argc; i ++) + { + int new_auth; + + if (!strcmp(argv[i], "-o")) + { + i ++; + if (i >= argc) + break; + + out = fopen(argv[i], "wb"); + continue; + } + + httpSeparateURI(HTTP_URI_CODING_MOST, argv[i], scheme, sizeof(scheme), + username, sizeof(username), + hostname, sizeof(hostname), &port, + resource, sizeof(resource)); + + if (!_cups_strcasecmp(scheme, "https") || !_cups_strcasecmp(scheme, "ipps") || + port == 443) + encryption = HTTP_ENCRYPTION_ALWAYS; + else + encryption = HTTP_ENCRYPTION_IF_REQUESTED; + + http = httpConnect2(hostname, port, NULL, AF_UNSPEC, encryption, 1, 30000, NULL); + if (http == NULL) + { + perror(hostname); + continue; + } + + if (httpIsEncrypted(http)) + { + cups_array_t *creds; + char info[1024]; + static const char *trusts[] = { "OK", "Invalid", "Changed", "Expired", "Renewed", "Unknown" }; + if (!httpCopyCredentials(http, &creds)) + { + cups_array_t *lcreds; + http_trust_t trust = httpCredentialsGetTrust(creds, hostname); + + httpCredentialsString(creds, info, sizeof(info)); + + printf("Count: %d\n", cupsArrayCount(creds)); + printf("Trust: %s\n", trusts[trust]); + printf("Expiration: %s\n", httpGetDateString(httpCredentialsGetExpiration(creds))); + printf("IsValidName: %d\n", httpCredentialsAreValidForName(creds, hostname)); + printf("String: \"%s\"\n", info); + + printf("LoadCredentials: %d\n", httpLoadCredentials(NULL, &lcreds, hostname)); + httpCredentialsString(lcreds, info, sizeof(info)); + printf(" Count: %d\n", cupsArrayCount(lcreds)); + printf(" String: \"%s\"\n", info); + + if (lcreds && cupsArrayCount(creds) == cupsArrayCount(lcreds)) + { + http_credential_t *cred, *lcred; + + for (i = 1, cred = (http_credential_t *)cupsArrayFirst(creds), lcred = (http_credential_t *)cupsArrayFirst(lcreds); + cred && lcred; + i ++, cred = (http_credential_t *)cupsArrayNext(creds), lcred = (http_credential_t *)cupsArrayNext(lcreds)) + { + if (cred->datalen != lcred->datalen) + printf(" Credential #%d: Different lengths (saved=%d, current=%d)\n", i, (int)cred->datalen, (int)lcred->datalen); + else if (memcmp(cred->data, lcred->data, cred->datalen)) + printf(" Credential #%d: Different data\n", i); + else + printf(" Credential #%d: Matches\n", i); + } + } + + if (trust != HTTP_TRUST_OK) + { + printf("SaveCredentials: %d\n", httpSaveCredentials(NULL, creds, hostname)); + trust = httpCredentialsGetTrust(creds, hostname); + printf("New Trust: %s\n", trusts[trust]); + } + + httpFreeCredentials(creds); + } + else + puts("No credentials!"); + } + + printf("Checking file \"%s\"...\n", resource); + + new_auth = 0; + + do + { + if (!_cups_strcasecmp(httpGetField(http, HTTP_FIELD_CONNECTION), "close")) + { + httpClearFields(http); + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + } + + if (http->authstring && !strncmp(http->authstring, "Digest ", 7) && !new_auth) + _httpSetDigestAuthString(http, http->nextnonce, "HEAD", resource); + + httpClearFields(http); + httpSetField(http, HTTP_FIELD_AUTHORIZATION, httpGetAuthString(http)); + httpSetField(http, HTTP_FIELD_ACCEPT_LANGUAGE, "en"); + + if (httpHead(http, resource)) + { + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + else + { + status = HTTP_STATUS_UNAUTHORIZED; + continue; + } + } + + while ((status = httpUpdate(http)) == HTTP_STATUS_CONTINUE); + + new_auth = 0; + + if (status == HTTP_STATUS_UNAUTHORIZED) + { + /* + * Flush any error message... + */ + + httpFlush(http); + + /* + * See if we can do authentication... + */ + + new_auth = 1; + + if (cupsDoAuthentication(http, "HEAD", resource)) + { + status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED; + break; + } + + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + + continue; + } +#ifdef HAVE_SSL + else if (status == HTTP_STATUS_UPGRADE_REQUIRED) + { + /* Flush any error message... */ + httpFlush(http); + + /* Reconnect... */ + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + + /* Upgrade with encryption... */ + httpEncryption(http, HTTP_ENCRYPTION_REQUIRED); + + /* Try again, this time with encryption enabled... */ + continue; + } +#endif /* HAVE_SSL */ + } + while (status == HTTP_STATUS_UNAUTHORIZED || + status == HTTP_STATUS_UPGRADE_REQUIRED); + + if (status == HTTP_STATUS_OK) + puts("HEAD OK:"); + else + printf("HEAD failed with status %d...\n", status); + + encoding = httpGetContentEncoding(http); + + printf("Requesting file \"%s\" (Accept-Encoding: %s)...\n", resource, + encoding ? encoding : "identity"); + + new_auth = 0; + + do + { + if (!_cups_strcasecmp(httpGetField(http, HTTP_FIELD_CONNECTION), "close")) + { + httpClearFields(http); + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + } + + if (http->authstring && !strncmp(http->authstring, "Digest ", 7) && !new_auth) + _httpSetDigestAuthString(http, http->nextnonce, "GET", resource); + + httpClearFields(http); + httpSetField(http, HTTP_FIELD_AUTHORIZATION, httpGetAuthString(http)); + httpSetField(http, HTTP_FIELD_ACCEPT_LANGUAGE, "en"); + httpSetField(http, HTTP_FIELD_ACCEPT_ENCODING, encoding); + + if (httpGet(http, resource)) + { + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + else + { + status = HTTP_STATUS_UNAUTHORIZED; + continue; + } + } + + while ((status = httpUpdate(http)) == HTTP_STATUS_CONTINUE); + + new_auth = 0; + + if (status == HTTP_STATUS_UNAUTHORIZED) + { + /* + * Flush any error message... + */ + + httpFlush(http); + + /* + * See if we can do authentication... + */ + + new_auth = 1; + + if (cupsDoAuthentication(http, "GET", resource)) + { + status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED; + break; + } + + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + + continue; + } +#ifdef HAVE_SSL + else if (status == HTTP_STATUS_UPGRADE_REQUIRED) + { + /* Flush any error message... */ + httpFlush(http); + + /* Reconnect... */ + if (httpReconnect2(http, 30000, NULL)) + { + status = HTTP_STATUS_ERROR; + break; + } + + /* Upgrade with encryption... */ + httpEncryption(http, HTTP_ENCRYPTION_REQUIRED); + + /* Try again, this time with encryption enabled... */ + continue; + } +#endif /* HAVE_SSL */ + } + while (status == HTTP_STATUS_UNAUTHORIZED || status == HTTP_STATUS_UPGRADE_REQUIRED); + + if (status == HTTP_STATUS_OK) + puts("GET OK:"); + else + printf("GET failed with status %d...\n", status); + + start = time(NULL); + length = httpGetLength2(http); + total = 0; + + while ((bytes = httpRead2(http, buffer, sizeof(buffer))) > 0) + { + total += bytes; + fwrite(buffer, (size_t)bytes, 1, out); + if (out != stdout) + { + current = time(NULL); + if (current == start) + current ++; + + printf("\r" CUPS_LLFMT "/" CUPS_LLFMT " bytes (" + CUPS_LLFMT " bytes/sec) ", CUPS_LLCAST total, + CUPS_LLCAST length, CUPS_LLCAST (total / (current - start))); + fflush(stdout); + } + } + } + + if (out != stdout) + putchar('\n'); + + puts("Closing connection to server..."); + httpClose(http); + + if (out != stdout) + fclose(out); + + return (0); +} diff --git a/cups/testi18n.c b/cups/testi18n.c new file mode 100644 index 0000000..45e1cab --- /dev/null +++ b/cups/testi18n.c @@ -0,0 +1,601 @@ +/* + * Internationalization test for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "string-private.h" +#include "language-private.h" +#include +#include +#include + + +/* + * Local globals... + */ + +static const char * const lang_encodings[] = + { /* Encoding strings */ + "us-ascii", "iso-8859-1", + "iso-8859-2", "iso-8859-3", + "iso-8859-4", "iso-8859-5", + "iso-8859-6", "iso-8859-7", + "iso-8859-8", "iso-8859-9", + "iso-8859-10", "utf-8", + "iso-8859-13", "iso-8859-14", + "iso-8859-15", "windows-874", + "windows-1250", "windows-1251", + "windows-1252", "windows-1253", + "windows-1254", "windows-1255", + "windows-1256", "windows-1257", + "windows-1258", "koi8-r", + "koi8-u", "iso-8859-11", + "iso-8859-16", "mac-roman", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "windows-932", "windows-936", + "windows-949", "windows-950", + "windows-1361", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "unknown", "unknown", + "euc-cn", "euc-jp", + "euc-kr", "euc-tw", + "jis-x0213" + }; + + +/* + * Local functions... + */ + +static void print_utf8(const char *msg, const cups_utf8_t *src); + + +/* + * 'main()' - Main entry for internationalization test module. + */ + +int /* O - Exit code */ +main(int argc, /* I - Argument Count */ + char *argv[]) /* I - Arguments */ +{ + FILE *fp; /* File pointer */ + int count; /* File line counter */ + int status, /* Status of current test */ + errors; /* Error count */ + char line[1024]; /* File line source string */ + int len; /* Length (count) of string */ + char legsrc[1024], /* Legacy source string */ + legdest[1024], /* Legacy destination string */ + *legptr; /* Pointer into legacy string */ + cups_utf8_t utf8latin[] = /* UTF-8 Latin-1 source */ + { 0x41, 0x20, 0x21, 0x3D, 0x20, 0xC3, 0x84, 0x2E, 0x00 }; + /* "A != ." - use ISO 8859-1 */ + cups_utf8_t utf8repla[] = /* UTF-8 Latin-1 replacement */ + { 0x41, 0x20, 0xE2, 0x89, 0xA2, 0x20, 0xC3, 0x84, 0x2E, 0x00 }; + /* "A ." */ + cups_utf8_t utf8greek[] = /* UTF-8 Greek source string */ + { 0x41, 0x20, 0x21, 0x3D, 0x20, 0xCE, 0x91, 0x2E, 0x00 }; + /* "A != ." - use ISO 8859-7 */ + cups_utf8_t utf8japan[] = /* UTF-8 Japanese source */ + { 0x41, 0x20, 0x21, 0x3D, 0x20, 0xEE, 0x9C, 0x80, 0x2E, 0x00 }; + /* "A != ." - use Windows 932 or EUC-JP */ + cups_utf8_t utf8taiwan[] = /* UTF-8 Chinese source */ + { 0x41, 0x20, 0x21, 0x3D, 0x20, 0xE4, 0xB9, 0x82, 0x2E, 0x00 }; + /* "A != ." - use Windows 950 (Big5) or EUC-TW */ + cups_utf8_t utf8dest[1024]; /* UTF-8 destination string */ + cups_utf32_t utf32dest[1024]; /* UTF-32 destination string */ + + + if (argc > 1) + { + int i; /* Looping var */ + cups_encoding_t encoding; /* Source encoding */ + + + if (argc != 3) + { + puts("Usage: ./testi18n [filename charset]"); + return (1); + } + + if ((fp = fopen(argv[1], "rb")) == NULL) + { + perror(argv[1]); + return (1); + } + + for (i = 0, encoding = CUPS_AUTO_ENCODING; + i < (int)(sizeof(lang_encodings) / sizeof(lang_encodings[0])); + i ++) + if (!_cups_strcasecmp(lang_encodings[i], argv[2])) + { + encoding = (cups_encoding_t)i; + break; + } + + if (encoding == CUPS_AUTO_ENCODING) + { + fprintf(stderr, "%s: Unknown character set!\n", argv[2]); + return (1); + } + + while (fgets(line, sizeof(line), fp)) + { + if (cupsCharsetToUTF8(utf8dest, line, sizeof(utf8dest), encoding) < 0) + { + fprintf(stderr, "%s: Unable to convert line: %s", argv[1], line); + return (1); + } + + fputs((char *)utf8dest, stdout); + } + + fclose(fp); + return (0); + } + + /* + * Start with some conversion tests from a UTF-8 test file. + */ + + errors = 0; + + if ((fp = fopen("utf8demo.txt", "rb")) == NULL) + { + perror("utf8demo.txt"); + return (1); + } + + /* + * cupsUTF8ToUTF32 + */ + + fputs("cupsUTF8ToUTF32 of utfdemo.txt: ", stdout); + + for (count = 0, status = 0; fgets(line, sizeof(line), fp);) + { + count ++; + + if (cupsUTF8ToUTF32(utf32dest, (cups_utf8_t *)line, 1024) < 0) + { + printf("FAIL (UTF-8 to UTF-32 on line %d)\n", count); + errors ++; + status = 1; + break; + } + } + + if (!status) + puts("PASS"); + + /* + * cupsUTF8ToCharset(CUPS_EUC_JP) + */ + + fputs("cupsUTF8ToCharset(CUPS_EUC_JP) of utfdemo.txt: ", stdout); + + rewind(fp); + + for (count = 0, status = 0; fgets(line, sizeof(line), fp);) + { + count ++; + + len = cupsUTF8ToCharset(legdest, (cups_utf8_t *)line, 1024, CUPS_EUC_JP); + if (len < 0) + { + printf("FAIL (UTF-8 to EUC-JP on line %d)\n", count); + errors ++; + status = 1; + break; + } + } + + if (!status) + puts("PASS"); + + fclose(fp); + + /* + * Test UTF-8 to legacy charset (ISO 8859-1)... + */ + + fputs("cupsUTF8ToCharset(CUPS_ISO8859_1): ", stdout); + + legdest[0] = 0; + + len = cupsUTF8ToCharset(legdest, utf8latin, 1024, CUPS_ISO8859_1); + if (len < 0) + { + printf("FAIL (len=%d)\n", len); + errors ++; + } + else + puts("PASS"); + + /* + * cupsCharsetToUTF8 + */ + + fputs("cupsCharsetToUTF8(CUPS_ISO8859_1): ", stdout); + + strlcpy(legsrc, legdest, sizeof(legsrc)); + + len = cupsCharsetToUTF8(utf8dest, legsrc, 1024, CUPS_ISO8859_1); + if ((size_t)len != strlen((char *)utf8latin)) + { + printf("FAIL (len=%d, expected %d)\n", len, (int)strlen((char *)utf8latin)); + print_utf8(" utf8latin", utf8latin); + print_utf8(" utf8dest", utf8dest); + errors ++; + } + else if (memcmp(utf8latin, utf8dest, (size_t)len)) + { + puts("FAIL (results do not match)"); + print_utf8(" utf8latin", utf8latin); + print_utf8(" utf8dest", utf8dest); + errors ++; + } + else if (cupsUTF8ToCharset(legdest, utf8repla, 1024, CUPS_ISO8859_1) < 0) + { + puts("FAIL (replacement characters do not work!)"); + errors ++; + } + else + puts("PASS"); + + /* + * Test UTF-8 to/from legacy charset (ISO 8859-7)... + */ + + fputs("cupsUTF8ToCharset(CUPS_ISO8859_7): ", stdout); + + if (cupsUTF8ToCharset(legdest, utf8greek, 1024, CUPS_ISO8859_7) < 0) + { + puts("FAIL"); + errors ++; + } + else + { + for (legptr = legdest; *legptr && *legptr != '?'; legptr ++); + + if (*legptr) + { + puts("FAIL (unknown character)"); + errors ++; + } + else + puts("PASS"); + } + + fputs("cupsCharsetToUTF8(CUPS_ISO8859_7): ", stdout); + + strlcpy(legsrc, legdest, sizeof(legsrc)); + + len = cupsCharsetToUTF8(utf8dest, legsrc, 1024, CUPS_ISO8859_7); + if ((size_t)len != strlen((char *)utf8greek)) + { + printf("FAIL (len=%d, expected %d)\n", len, (int)strlen((char *)utf8greek)); + print_utf8(" utf8greek", utf8greek); + print_utf8(" utf8dest", utf8dest); + errors ++; + } + else if (memcmp(utf8greek, utf8dest, (size_t)len)) + { + puts("FAIL (results do not match)"); + print_utf8(" utf8greek", utf8greek); + print_utf8(" utf8dest", utf8dest); + errors ++; + } + else + puts("PASS"); + + /* + * Test UTF-8 to/from legacy charset (Windows 932)... + */ + + fputs("cupsUTF8ToCharset(CUPS_WINDOWS_932): ", stdout); + + if (cupsUTF8ToCharset(legdest, utf8japan, 1024, CUPS_WINDOWS_932) < 0) + { + puts("FAIL"); + errors ++; + } + else + { + for (legptr = legdest; *legptr && *legptr != '?'; legptr ++); + + if (*legptr) + { + puts("FAIL (unknown character)"); + errors ++; + } + else + puts("PASS"); + } + + fputs("cupsCharsetToUTF8(CUPS_WINDOWS_932): ", stdout); + + strlcpy(legsrc, legdest, sizeof(legsrc)); + + len = cupsCharsetToUTF8(utf8dest, legsrc, 1024, CUPS_WINDOWS_932); + if ((size_t)len != strlen((char *)utf8japan)) + { + printf("FAIL (len=%d, expected %d)\n", len, (int)strlen((char *)utf8japan)); + print_utf8(" utf8japan", utf8japan); + print_utf8(" utf8dest", utf8dest); + errors ++; + } + else if (memcmp(utf8japan, utf8dest, (size_t)len)) + { + puts("FAIL (results do not match)"); + print_utf8(" utf8japan", utf8japan); + print_utf8(" utf8dest", utf8dest); + errors ++; + } + else + puts("PASS"); + + /* + * Test UTF-8 to/from legacy charset (EUC-JP)... + */ + + fputs("cupsUTF8ToCharset(CUPS_EUC_JP): ", stdout); + + if (cupsUTF8ToCharset(legdest, utf8japan, 1024, CUPS_EUC_JP) < 0) + { + puts("FAIL"); + errors ++; + } + else + { + for (legptr = legdest; *legptr && *legptr != '?'; legptr ++); + + if (*legptr) + { + puts("FAIL (unknown character)"); + errors ++; + } + else + puts("PASS"); + } + +#ifndef __linux + fputs("cupsCharsetToUTF8(CUPS_EUC_JP): ", stdout); + + strlcpy(legsrc, legdest, sizeof(legsrc)); + + len = cupsCharsetToUTF8(utf8dest, legsrc, 1024, CUPS_EUC_JP); + if ((size_t)len != strlen((char *)utf8japan)) + { + printf("FAIL (len=%d, expected %d)\n", len, (int)strlen((char *)utf8japan)); + print_utf8(" utf8japan", utf8japan); + print_utf8(" utf8dest", utf8dest); + errors ++; + } + else if (memcmp(utf8japan, utf8dest, (size_t)len)) + { + puts("FAIL (results do not match)"); + print_utf8(" utf8japan", utf8japan); + print_utf8(" utf8dest", utf8dest); + errors ++; + } + else + puts("PASS"); +#endif /* !__linux */ + + /* + * Test UTF-8 to/from legacy charset (Windows 950)... + */ + + fputs("cupsUTF8ToCharset(CUPS_WINDOWS_950): ", stdout); + + if (cupsUTF8ToCharset(legdest, utf8taiwan, 1024, CUPS_WINDOWS_950) < 0) + { + puts("FAIL"); + errors ++; + } + else + { + for (legptr = legdest; *legptr && *legptr != '?'; legptr ++); + + if (*legptr) + { + puts("FAIL (unknown character)"); + errors ++; + } + else + puts("PASS"); + } + + fputs("cupsCharsetToUTF8(CUPS_WINDOWS_950): ", stdout); + + strlcpy(legsrc, legdest, sizeof(legsrc)); + + len = cupsCharsetToUTF8(utf8dest, legsrc, 1024, CUPS_WINDOWS_950); + if ((size_t)len != strlen((char *)utf8taiwan)) + { + printf("FAIL (len=%d, expected %d)\n", len, (int)strlen((char *)utf8taiwan)); + print_utf8(" utf8taiwan", utf8taiwan); + print_utf8(" utf8dest", utf8dest); + errors ++; + } + else if (memcmp(utf8taiwan, utf8dest, (size_t)len)) + { + puts("FAIL (results do not match)"); + print_utf8(" utf8taiwan", utf8taiwan); + print_utf8(" utf8dest", utf8dest); + errors ++; + } + else + puts("PASS"); + + /* + * Test UTF-8 to/from legacy charset (EUC-TW)... + */ + + fputs("cupsUTF8ToCharset(CUPS_EUC_TW): ", stdout); + + if (cupsUTF8ToCharset(legdest, utf8taiwan, 1024, CUPS_EUC_TW) < 0) + { + puts("FAIL"); + errors ++; + } + else + { + for (legptr = legdest; *legptr && *legptr != '?'; legptr ++); + + if (*legptr) + { + puts("FAIL (unknown character)"); + errors ++; + } + else + puts("PASS"); + } + + fputs("cupsCharsetToUTF8(CUPS_EUC_TW): ", stdout); + + strlcpy(legsrc, legdest, sizeof(legsrc)); + + len = cupsCharsetToUTF8(utf8dest, legsrc, 1024, CUPS_EUC_TW); + if ((size_t)len != strlen((char *)utf8taiwan)) + { + printf("FAIL (len=%d, expected %d)\n", len, (int)strlen((char *)utf8taiwan)); + print_utf8(" utf8taiwan", utf8taiwan); + print_utf8(" utf8dest", utf8dest); + errors ++; + } + else if (memcmp(utf8taiwan, utf8dest, (size_t)len)) + { + puts("FAIL (results do not match)"); + print_utf8(" utf8taiwan", utf8taiwan); + print_utf8(" utf8dest", utf8dest); + errors ++; + } + else + puts("PASS"); + +#if 0 + /* + * Test UTF-8 (16-bit) to UTF-32 (w/ BOM)... + */ + if (verbose) + printf("\ntesti18n: Testing UTF-8 to UTF-32 (w/ BOM)...\n"); + len = cupsUTF8ToUTF32(utf32dest, utf8good, 1024); + if (len < 0) + return (1); + if (verbose) + { + print_utf8(" utf8good ", utf8good); + print_utf32(" utf32dest", utf32dest); + } + memcpy(utf32src, utf32dest, (len + 1) * sizeof(cups_utf32_t)); + len = cupsUTF32ToUTF8(utf8dest, utf32src, 1024); + if (len < 0) + return (1); + if (len != strlen ((char *) utf8good)) + return (1); + if (memcmp(utf8good, utf8dest, len) != 0) + return (1); + + /* + * Test invalid UTF-8 (16-bit) to UTF-32 (w/ BOM)... + */ + if (verbose) + printf("\ntesti18n: Testing UTF-8 bad 16-bit source string...\n"); + len = cupsUTF8ToUTF32(utf32dest, utf8bad, 1024); + if (len >= 0) + return (1); + if (verbose) + print_utf8(" utf8bad ", utf8bad); + + /* + * Test _cupsCharmapFlush()... + */ + if (verbose) + printf("\ntesti18n: Testing _cupsCharmapFlush()...\n"); + _cupsCharmapFlush(); + return (0); +#endif /* 0 */ + + return (errors > 0); +} + + +/* + * 'print_utf8()' - Print UTF-8 string with (optional) message. + */ + +static void +print_utf8(const char *msg, /* I - Message String */ + const cups_utf8_t *src) /* I - UTF-8 Source String */ +{ + const char *prefix; /* Prefix string */ + + + if (msg) + printf("%s:", msg); + + for (prefix = " "; *src; src ++) + { + printf("%s%02x", prefix, *src); + + if ((src[0] & 0x80) && (src[1] & 0x80)) + prefix = ""; + else + prefix = " "; + } + + putchar('\n'); +} diff --git a/cups/testipp.c b/cups/testipp.c new file mode 100644 index 0000000..aad53e4 --- /dev/null +++ b/cups/testipp.c @@ -0,0 +1,1101 @@ +/* + * IPP test program for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "file.h" +#include "string-private.h" +#include "ipp-private.h" +#ifdef _WIN32 +# include +#else +# include +# include +#endif /* _WIN32 */ + + +/* + * Local types... + */ + +typedef struct _ippdata_t +{ + size_t rpos, /* Read position */ + wused, /* Bytes used */ + wsize; /* Max size of buffer */ + ipp_uchar_t *wbuffer; /* Buffer */ +} _ippdata_t; + + +/* + * Local globals... + */ + +static ipp_uchar_t collection[] = /* Collection buffer */ + { + 0x01, 0x01, /* IPP version */ + 0x00, 0x02, /* Print-Job operation */ + 0x00, 0x00, 0x00, 0x01, + /* Request ID */ + + IPP_TAG_OPERATION, + + IPP_TAG_CHARSET, + 0x00, 0x12, /* Name length + name */ + 'a','t','t','r','i','b','u','t','e','s','-', + 'c','h','a','r','s','e','t', + 0x00, 0x05, /* Value length + value */ + 'u','t','f','-','8', + + IPP_TAG_LANGUAGE, + 0x00, 0x1b, /* Name length + name */ + 'a','t','t','r','i','b','u','t','e','s','-', + 'n','a','t','u','r','a','l','-','l','a','n', + 'g','u','a','g','e', + 0x00, 0x02, /* Value length + value */ + 'e','n', + + IPP_TAG_URI, + 0x00, 0x0b, /* Name length + name */ + 'p','r','i','n','t','e','r','-','u','r','i', + 0x00, 0x1c, /* Value length + value */ + 'i','p','p',':','/','/','l','o','c','a','l', + 'h','o','s','t','/','p','r','i','n','t','e', + 'r','s','/','f','o','o', + + IPP_TAG_JOB, /* job group tag */ + + IPP_TAG_BEGIN_COLLECTION, + /* begCollection tag */ + 0x00, 0x09, /* Name length + name */ + 'm', 'e', 'd', 'i', 'a', '-', 'c', 'o', 'l', + 0x00, 0x00, /* No value */ + IPP_TAG_MEMBERNAME, /* memberAttrName tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x0a, /* Value length + value */ + 'm', 'e', 'd', 'i', 'a', '-', 's', 'i', 'z', 'e', + IPP_TAG_BEGIN_COLLECTION, + /* begCollection tag */ + 0x00, 0x00, /* Name length + name */ + 0x00, 0x00, /* No value */ + IPP_TAG_MEMBERNAME, + /* memberAttrName tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x0b, /* Value length + value */ + 'x', '-', 'd', 'i', 'm', 'e', 'n', 's', 'i', 'o', 'n', + IPP_TAG_INTEGER, /* integer tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x04, /* Value length + value */ + 0x00, 0x00, 0x54, 0x56, + IPP_TAG_MEMBERNAME, + /* memberAttrName tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x0b, /* Value length + value */ + 'y', '-', 'd', 'i', 'm', 'e', 'n', 's', 'i', 'o', 'n', + IPP_TAG_INTEGER, /* integer tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x04, /* Value length + value */ + 0x00, 0x00, 0x6d, 0x24, + IPP_TAG_END_COLLECTION, + /* endCollection tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x00, /* No value */ + IPP_TAG_MEMBERNAME, /* memberAttrName tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x0b, /* Value length + value */ + 'm', 'e', 'd', 'i', 'a', '-', 'c', 'o', 'l', 'o', 'r', + IPP_TAG_KEYWORD, /* keyword tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x04, /* Value length + value */ + 'b', 'l', 'u', 'e', + + IPP_TAG_MEMBERNAME, /* memberAttrName tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x0a, /* Value length + value */ + 'm', 'e', 'd', 'i', 'a', '-', 't', 'y', 'p', 'e', + IPP_TAG_KEYWORD, /* keyword tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x05, /* Value length + value */ + 'p', 'l', 'a', 'i', 'n', + IPP_TAG_END_COLLECTION, + /* endCollection tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x00, /* No value */ + + IPP_TAG_BEGIN_COLLECTION, + /* begCollection tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x00, /* No value */ + IPP_TAG_MEMBERNAME, /* memberAttrName tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x0a, /* Value length + value */ + 'm', 'e', 'd', 'i', 'a', '-', 's', 'i', 'z', 'e', + IPP_TAG_BEGIN_COLLECTION, + /* begCollection tag */ + 0x00, 0x00, /* Name length + name */ + 0x00, 0x00, /* No value */ + IPP_TAG_MEMBERNAME, + /* memberAttrName tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x0b, /* Value length + value */ + 'x', '-', 'd', 'i', 'm', 'e', 'n', 's', 'i', 'o', 'n', + IPP_TAG_INTEGER, /* integer tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x04, /* Value length + value */ + 0x00, 0x00, 0x52, 0x08, + IPP_TAG_MEMBERNAME, + /* memberAttrName tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x0b, /* Value length + value */ + 'y', '-', 'd', 'i', 'm', 'e', 'n', 's', 'i', 'o', 'n', + IPP_TAG_INTEGER, /* integer tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x04, /* Value length + value */ + 0x00, 0x00, 0x74, 0x04, + IPP_TAG_END_COLLECTION, + /* endCollection tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x00, /* No value */ + IPP_TAG_MEMBERNAME, /* memberAttrName tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x0b, /* Value length + value */ + 'm', 'e', 'd', 'i', 'a', '-', 'c', 'o', 'l', 'o', 'r', + IPP_TAG_KEYWORD, /* keyword tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x05, /* Value length + value */ + 'p', 'l', 'a', 'i', 'd', + + IPP_TAG_MEMBERNAME, /* memberAttrName tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x0a, /* Value length + value */ + 'm', 'e', 'd', 'i', 'a', '-', 't', 'y', 'p', 'e', + IPP_TAG_KEYWORD, /* keyword tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x06, /* Value length + value */ + 'g', 'l', 'o', 's', 's', 'y', + IPP_TAG_END_COLLECTION, + /* endCollection tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x00, /* No value */ + + IPP_TAG_END /* end tag */ + }; +static ipp_uchar_t bad_collection[] = /* Collection buffer (bad encoding) */ + { + 0x01, 0x01, /* IPP version */ + 0x00, 0x02, /* Print-Job operation */ + 0x00, 0x00, 0x00, 0x01, + /* Request ID */ + + IPP_TAG_OPERATION, + + IPP_TAG_CHARSET, + 0x00, 0x12, /* Name length + name */ + 'a','t','t','r','i','b','u','t','e','s','-', + 'c','h','a','r','s','e','t', + 0x00, 0x05, /* Value length + value */ + 'u','t','f','-','8', + + IPP_TAG_LANGUAGE, + 0x00, 0x1b, /* Name length + name */ + 'a','t','t','r','i','b','u','t','e','s','-', + 'n','a','t','u','r','a','l','-','l','a','n', + 'g','u','a','g','e', + 0x00, 0x02, /* Value length + value */ + 'e','n', + + IPP_TAG_URI, + 0x00, 0x0b, /* Name length + name */ + 'p','r','i','n','t','e','r','-','u','r','i', + 0x00, 0x1c, /* Value length + value */ + 'i','p','p',':','/','/','l','o','c','a','l', + 'h','o','s','t','/','p','r','i','n','t','e', + 'r','s','/','f','o','o', + + IPP_TAG_JOB, /* job group tag */ + + IPP_TAG_BEGIN_COLLECTION, + /* begCollection tag */ + 0x00, 0x09, /* Name length + name */ + 'm', 'e', 'd', 'i', 'a', '-', 'c', 'o', 'l', + 0x00, 0x00, /* No value */ + IPP_TAG_BEGIN_COLLECTION, + /* begCollection tag */ + 0x00, 0x0a, /* Name length + name */ + 'm', 'e', 'd', 'i', 'a', '-', 's', 'i', 'z', 'e', + 0x00, 0x00, /* No value */ + IPP_TAG_INTEGER, /* integer tag */ + 0x00, 0x0b, /* Name length + name */ + 'x', '-', 'd', 'i', 'm', 'e', 'n', 's', 'i', 'o', 'n', + 0x00, 0x04, /* Value length + value */ + 0x00, 0x00, 0x54, 0x56, + IPP_TAG_INTEGER, /* integer tag */ + 0x00, 0x0b, /* Name length + name */ + 'y', '-', 'd', 'i', 'm', 'e', 'n', 's', 'i', 'o', 'n', + 0x00, 0x04, /* Value length + value */ + 0x00, 0x00, 0x6d, 0x24, + IPP_TAG_END_COLLECTION, + /* endCollection tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x00, /* No value */ + IPP_TAG_END_COLLECTION, + /* endCollection tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x00, /* No value */ + + IPP_TAG_END /* end tag */ + }; + +static ipp_uchar_t mixed[] = /* Mixed value buffer */ + { + 0x01, 0x01, /* IPP version */ + 0x00, 0x02, /* Print-Job operation */ + 0x00, 0x00, 0x00, 0x01, + /* Request ID */ + + IPP_TAG_OPERATION, + + IPP_TAG_INTEGER, /* integer tag */ + 0x00, 0x1f, /* Name length + name */ + 'n', 'o', 't', 'i', 'f', 'y', '-', 'l', 'e', 'a', 's', 'e', + '-', 'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', '-', 's', 'u', + 'p', 'p', 'o', 'r', 't', 'e', 'd', + 0x00, 0x04, /* Value length + value */ + 0x00, 0x00, 0x00, 0x01, + + IPP_TAG_RANGE, /* rangeOfInteger tag */ + 0x00, 0x00, /* No name */ + 0x00, 0x08, /* Value length + value */ + 0x00, 0x00, 0x00, 0x10, + 0x00, 0x00, 0x00, 0x20, + + IPP_TAG_END /* end tag */ + }; + + +/* + * Local functions... + */ + +void hex_dump(const char *title, ipp_uchar_t *buffer, size_t bytes); +void print_attributes(ipp_t *ipp, int indent); +ssize_t read_cb(_ippdata_t *data, ipp_uchar_t *buffer, size_t bytes); +ssize_t read_hex(cups_file_t *fp, ipp_uchar_t *buffer, size_t bytes); +int token_cb(_ipp_file_t *f, _ipp_vars_t *v, void *user_data, const char *token); +ssize_t write_cb(_ippdata_t *data, ipp_uchar_t *buffer, size_t bytes); + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + _ippdata_t data; /* IPP buffer */ + ipp_uchar_t buffer[8192]; /* Write buffer data */ + ipp_t *cols[2], /* Collections */ + *size; /* media-size collection */ + ipp_t *request; /* Request */ + ipp_attribute_t *media_col, /* media-col attribute */ + *media_size, /* media-size attribute */ + *attr; /* Other attribute */ + ipp_state_t state; /* State */ + size_t length; /* Length of data */ + cups_file_t *fp; /* File pointer */ + size_t i; /* Looping var */ + int status; /* Status of tests (0 = success, 1 = fail) */ +#ifdef DEBUG + const char *name; /* Option name */ +#endif /* DEBUG */ + + + status = 0; + + if (argc == 1) + { + /* + * Test request generation code... + */ + + printf("Create Sample Request: "); + + request = ippNew(); + request->request.op.version[0] = 0x01; + request->request.op.version[1] = 0x01; + request->request.op.operation_id = IPP_OP_PRINT_JOB; + request->request.op.request_id = 1; + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_CHARSET, + "attributes-charset", NULL, "utf-8"); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, + "attributes-natural-language", NULL, "en"); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, "ipp://localhost/printers/foo"); + + cols[0] = ippNew(); + size = ippNew(); + ippAddInteger(size, IPP_TAG_ZERO, IPP_TAG_INTEGER, "x-dimension", 21590); + ippAddInteger(size, IPP_TAG_ZERO, IPP_TAG_INTEGER, "y-dimension", 27940); + ippAddCollection(cols[0], IPP_TAG_JOB, "media-size", size); + ippDelete(size); + ippAddString(cols[0], IPP_TAG_JOB, IPP_TAG_KEYWORD, "media-color", NULL, + "blue"); + ippAddString(cols[0], IPP_TAG_JOB, IPP_TAG_KEYWORD, "media-type", NULL, + "plain"); + + cols[1] = ippNew(); + size = ippNew(); + ippAddInteger(size, IPP_TAG_ZERO, IPP_TAG_INTEGER, "x-dimension", 21000); + ippAddInteger(size, IPP_TAG_ZERO, IPP_TAG_INTEGER, "y-dimension", 29700); + ippAddCollection(cols[1], IPP_TAG_JOB, "media-size", size); + ippDelete(size); + ippAddString(cols[1], IPP_TAG_JOB, IPP_TAG_KEYWORD, "media-color", NULL, + "plaid"); + ippAddString(cols[1], IPP_TAG_JOB, IPP_TAG_KEYWORD, "media-type", NULL, + "glossy"); + + ippAddCollections(request, IPP_TAG_JOB, "media-col", 2, + (const ipp_t **)cols); + ippDelete(cols[0]); + ippDelete(cols[1]); + + length = ippLength(request); + if (length != sizeof(collection)) + { + printf("FAIL - wrong ippLength(), %d instead of %d bytes!\n", + (int)length, (int)sizeof(collection)); + status = 1; + } + else + puts("PASS"); + + /* + * Write test #1... + */ + + printf("Write Sample to Memory: "); + + data.wused = 0; + data.wsize = sizeof(buffer); + data.wbuffer = buffer; + + while ((state = ippWriteIO(&data, (ipp_iocb_t)write_cb, 1, NULL, + request)) != IPP_STATE_DATA) + if (state == IPP_STATE_ERROR) + break; + + if (state != IPP_STATE_DATA) + { + printf("FAIL - %d bytes written.\n", (int)data.wused); + status = 1; + } + else if (data.wused != sizeof(collection)) + { + printf("FAIL - wrote %d bytes, expected %d bytes!\n", (int)data.wused, + (int)sizeof(collection)); + hex_dump("Bytes Written", data.wbuffer, data.wused); + hex_dump("Baseline", collection, sizeof(collection)); + status = 1; + } + else if (memcmp(data.wbuffer, collection, data.wused)) + { + for (i = 0; i < data.wused; i ++) + if (data.wbuffer[i] != collection[i]) + break; + + printf("FAIL - output does not match baseline at 0x%04x!\n", (unsigned)i); + hex_dump("Bytes Written", data.wbuffer, data.wused); + hex_dump("Baseline", collection, sizeof(collection)); + status = 1; + } + else + puts("PASS"); + + ippDelete(request); + + /* + * Read the data back in and confirm... + */ + + printf("Read Sample from Memory: "); + + request = ippNew(); + data.rpos = 0; + + while ((state = ippReadIO(&data, (ipp_iocb_t)read_cb, 1, NULL, + request)) != IPP_STATE_DATA) + if (state == IPP_STATE_ERROR) + break; + + length = ippLength(request); + + if (state != IPP_STATE_DATA) + { + printf("FAIL - %d bytes read.\n", (int)data.rpos); + status = 1; + } + else if (data.rpos != data.wused) + { + printf("FAIL - read %d bytes, expected %d bytes!\n", (int)data.rpos, + (int)data.wused); + print_attributes(request, 8); + status = 1; + } + else if (length != sizeof(collection)) + { + printf("FAIL - wrong ippLength(), %d instead of %d bytes!\n", + (int)length, (int)sizeof(collection)); + print_attributes(request, 8); + status = 1; + } + else + puts("PASS"); + + fputs("ippFindAttribute(media-col): ", stdout); + if ((media_col = ippFindAttribute(request, "media-col", + IPP_TAG_BEGIN_COLLECTION)) == NULL) + { + if ((media_col = ippFindAttribute(request, "media-col", + IPP_TAG_ZERO)) == NULL) + puts("FAIL (not found)"); + else + printf("FAIL (wrong type - %s)\n", ippTagString(media_col->value_tag)); + + status = 1; + } + else if (media_col->num_values != 2) + { + printf("FAIL (wrong count - %d)\n", media_col->num_values); + status = 1; + } + else + puts("PASS"); + + if (media_col) + { + fputs("ippFindAttribute(media-size 1): ", stdout); + if ((media_size = ippFindAttribute(media_col->values[0].collection, + "media-size", + IPP_TAG_BEGIN_COLLECTION)) == NULL) + { + if ((media_size = ippFindAttribute(media_col->values[0].collection, + "media-col", + IPP_TAG_ZERO)) == NULL) + puts("FAIL (not found)"); + else + printf("FAIL (wrong type - %s)\n", + ippTagString(media_size->value_tag)); + + status = 1; + } + else + { + if ((attr = ippFindAttribute(media_size->values[0].collection, + "x-dimension", IPP_TAG_INTEGER)) == NULL) + { + if ((attr = ippFindAttribute(media_size->values[0].collection, + "x-dimension", IPP_TAG_ZERO)) == NULL) + puts("FAIL (missing x-dimension)"); + else + printf("FAIL (wrong type for x-dimension - %s)\n", + ippTagString(attr->value_tag)); + + status = 1; + } + else if (attr->values[0].integer != 21590) + { + printf("FAIL (wrong value for x-dimension - %d)\n", + attr->values[0].integer); + status = 1; + } + else if ((attr = ippFindAttribute(media_size->values[0].collection, + "y-dimension", + IPP_TAG_INTEGER)) == NULL) + { + if ((attr = ippFindAttribute(media_size->values[0].collection, + "y-dimension", IPP_TAG_ZERO)) == NULL) + puts("FAIL (missing y-dimension)"); + else + printf("FAIL (wrong type for y-dimension - %s)\n", + ippTagString(attr->value_tag)); + + status = 1; + } + else if (attr->values[0].integer != 27940) + { + printf("FAIL (wrong value for y-dimension - %d)\n", + attr->values[0].integer); + status = 1; + } + else + puts("PASS"); + } + + fputs("ippFindAttribute(media-size 2): ", stdout); + if ((media_size = ippFindAttribute(media_col->values[1].collection, + "media-size", + IPP_TAG_BEGIN_COLLECTION)) == NULL) + { + if ((media_size = ippFindAttribute(media_col->values[1].collection, + "media-col", + IPP_TAG_ZERO)) == NULL) + puts("FAIL (not found)"); + else + printf("FAIL (wrong type - %s)\n", + ippTagString(media_size->value_tag)); + + status = 1; + } + else + { + if ((attr = ippFindAttribute(media_size->values[0].collection, + "x-dimension", + IPP_TAG_INTEGER)) == NULL) + { + if ((attr = ippFindAttribute(media_size->values[0].collection, + "x-dimension", IPP_TAG_ZERO)) == NULL) + puts("FAIL (missing x-dimension)"); + else + printf("FAIL (wrong type for x-dimension - %s)\n", + ippTagString(attr->value_tag)); + + status = 1; + } + else if (attr->values[0].integer != 21000) + { + printf("FAIL (wrong value for x-dimension - %d)\n", + attr->values[0].integer); + status = 1; + } + else if ((attr = ippFindAttribute(media_size->values[0].collection, + "y-dimension", + IPP_TAG_INTEGER)) == NULL) + { + if ((attr = ippFindAttribute(media_size->values[0].collection, + "y-dimension", IPP_TAG_ZERO)) == NULL) + puts("FAIL (missing y-dimension)"); + else + printf("FAIL (wrong type for y-dimension - %s)\n", + ippTagString(attr->value_tag)); + + status = 1; + } + else if (attr->values[0].integer != 29700) + { + printf("FAIL (wrong value for y-dimension - %d)\n", + attr->values[0].integer); + status = 1; + } + else + puts("PASS"); + } + } + + /* + * Test hierarchical find... + */ + + fputs("ippFindAttribute(media-col/media-size/x-dimension): ", stdout); + if ((attr = ippFindAttribute(request, "media-col/media-size/x-dimension", IPP_TAG_INTEGER)) != NULL) + { + if (ippGetInteger(attr, 0) != 21590) + { + printf("FAIL (wrong value for x-dimension - %d)\n", ippGetInteger(attr, 0)); + status = 1; + } + else + puts("PASS"); + } + else + { + puts("FAIL (not found)"); + status = 1; + } + + fputs("ippFindNextAttribute(media-col/media-size/x-dimension): ", stdout); + if ((attr = ippFindNextAttribute(request, "media-col/media-size/x-dimension", IPP_TAG_INTEGER)) != NULL) + { + if (ippGetInteger(attr, 0) != 21000) + { + printf("FAIL (wrong value for x-dimension - %d)\n", ippGetInteger(attr, 0)); + status = 1; + } + else + puts("PASS"); + } + else + { + puts("FAIL (not found)"); + status = 1; + } + + fputs("ippFindNextAttribute(media-col/media-size/x-dimension) again: ", stdout); + if ((attr = ippFindNextAttribute(request, "media-col/media-size/x-dimension", IPP_TAG_INTEGER)) != NULL) + { + printf("FAIL (got %d, expected nothing)\n", ippGetInteger(attr, 0)); + status = 1; + } + else + puts("PASS"); + + ippDelete(request); + + /* + * Read the bad collection data and confirm we get an error... + */ + + fputs("Read Bad Collection from Memory: ", stdout); + + request = ippNew(); + data.rpos = 0; + data.wused = sizeof(bad_collection); + data.wsize = sizeof(bad_collection); + data.wbuffer = bad_collection; + + while ((state = ippReadIO(&data, (ipp_iocb_t)read_cb, 1, NULL, request)) != IPP_STATE_DATA) + if (state == IPP_STATE_ERROR) + break; + + if (state != IPP_STATE_ERROR) + puts("FAIL (read successful)"); + else + puts("PASS"); + + /* + * Read the mixed data and confirm we converted everything to rangeOfInteger + * values... + */ + + fputs("Read Mixed integer/rangeOfInteger from Memory: ", stdout); + + request = ippNew(); + data.rpos = 0; + data.wused = sizeof(mixed); + data.wsize = sizeof(mixed); + data.wbuffer = mixed; + + while ((state = ippReadIO(&data, (ipp_iocb_t)read_cb, 1, NULL, + request)) != IPP_STATE_DATA) + if (state == IPP_STATE_ERROR) + break; + + length = ippLength(request); + + if (state != IPP_STATE_DATA) + { + printf("FAIL - %d bytes read.\n", (int)data.rpos); + status = 1; + } + else if (data.rpos != sizeof(mixed)) + { + printf("FAIL - read %d bytes, expected %d bytes!\n", (int)data.rpos, + (int)sizeof(mixed)); + print_attributes(request, 8); + status = 1; + } + else if (length != (sizeof(mixed) + 4)) + { + printf("FAIL - wrong ippLength(), %d instead of %d bytes!\n", + (int)length, (int)sizeof(mixed) + 4); + print_attributes(request, 8); + status = 1; + } + else + puts("PASS"); + + fputs("ippFindAttribute(notify-lease-duration-supported): ", stdout); + if ((attr = ippFindAttribute(request, "notify-lease-duration-supported", + IPP_TAG_ZERO)) == NULL) + { + puts("FAIL (not found)"); + status = 1; + } + else if (attr->value_tag != IPP_TAG_RANGE) + { + printf("FAIL (wrong type - %s)\n", ippTagString(attr->value_tag)); + status = 1; + } + else if (attr->num_values != 2) + { + printf("FAIL (wrong count - %d)\n", attr->num_values); + status = 1; + } + else if (attr->values[0].range.lower != 1 || + attr->values[0].range.upper != 1 || + attr->values[1].range.lower != 16 || + attr->values[1].range.upper != 32) + { + printf("FAIL (wrong values - %d,%d and %d,%d)\n", + attr->values[0].range.lower, + attr->values[0].range.upper, + attr->values[1].range.lower, + attr->values[1].range.upper); + status = 1; + } + else + puts("PASS"); + + ippDelete(request); + +#ifdef DEBUG + /* + * Test that private option array is sorted... + */ + + fputs("_ippCheckOptions: ", stdout); + if ((name = _ippCheckOptions()) == NULL) + puts("PASS"); + else + { + printf("FAIL (\"%s\" out of order)\n", name); + status = 1; + } +#endif /* DEBUG */ + + /* + * Test _ippFindOption() private API... + */ + + fputs("_ippFindOption(\"printer-type\"): ", stdout); + if (_ippFindOption("printer-type")) + puts("PASS"); + else + { + puts("FAIL"); + status = 1; + } + + /* + * Summarize... + */ + + putchar('\n'); + + if (status) + puts("Core IPP tests failed."); + else + puts("Core IPP tests passed."); + } + else + { + /* + * Read IPP files... + */ + + for (i = 1; i < (size_t)argc; i ++) + { + if (strlen(argv[i]) > 5 && !strcmp(argv[i] + strlen(argv[i]) - 5, ".test")) + { + /* + * Read an ASCII IPP message... + */ + + _ipp_vars_t v; /* IPP variables */ + + _ippVarsInit(&v, NULL, NULL, token_cb); + request = _ippFileParse(&v, argv[i], NULL); + _ippVarsDeinit(&v); + } + else if (strlen(argv[i]) > 4 && !strcmp(argv[i] + strlen(argv[i]) - 4, ".hex")) + { + /* + * Read a hex-encoded IPP message... + */ + + if ((fp = cupsFileOpen(argv[i], "r")) == NULL) + { + printf("Unable to open \"%s\" - %s\n", argv[i], strerror(errno)); + status = 1; + continue; + } + + request = ippNew(); + while ((state = ippReadIO(fp, (ipp_iocb_t)read_hex, 1, NULL, request)) == IPP_STATE_ATTRIBUTE); + + if (state != IPP_STATE_DATA) + { + printf("Error reading IPP message from \"%s\": %s\n", argv[i], cupsLastErrorString()); + status = 1; + + ippDelete(request); + request = NULL; + } + + cupsFileClose(fp); + } + else + { + /* + * Read a raw (binary) IPP message... + */ + + if ((fp = cupsFileOpen(argv[i], "r")) == NULL) + { + printf("Unable to open \"%s\" - %s\n", argv[i], strerror(errno)); + status = 1; + continue; + } + + request = ippNew(); + while ((state = ippReadIO(fp, (ipp_iocb_t)cupsFileRead, 1, NULL, + request)) == IPP_STATE_ATTRIBUTE); + + if (state != IPP_STATE_DATA) + { + printf("Error reading IPP message from \"%s\": %s\n", argv[i], cupsLastErrorString()); + status = 1; + + ippDelete(request); + request = NULL; + } + + cupsFileClose(fp); + } + + if (request) + { + printf("\n%s:\n", argv[i]); + print_attributes(request, 4); + ippDelete(request); + } + } + } + + return (status); +} + + +/* + * 'hex_dump()' - Produce a hex dump of a buffer. + */ + +void +hex_dump(const char *title, /* I - Title */ + ipp_uchar_t *buffer, /* I - Buffer to dump */ + size_t bytes) /* I - Number of bytes */ +{ + size_t i, j; /* Looping vars */ + int ch; /* Current ASCII char */ + + + /* + * Show lines of 16 bytes at a time... + */ + + printf(" %s:\n", title); + + for (i = 0; i < bytes; i += 16) + { + /* + * Show the offset... + */ + + printf(" %04x ", (unsigned)i); + + /* + * Then up to 16 bytes in hex... + */ + + for (j = 0; j < 16; j ++) + if ((i + j) < bytes) + printf(" %02x", buffer[i + j]); + else + printf(" "); + + /* + * Then the ASCII representation of the bytes... + */ + + putchar(' '); + putchar(' '); + + for (j = 0; j < 16 && (i + j) < bytes; j ++) + { + ch = buffer[i + j] & 127; + + if (ch < ' ' || ch == 127) + putchar('.'); + else + putchar(ch); + } + + putchar('\n'); + } +} + + +/* + * 'print_attributes()' - Print the attributes in a request... + */ + +void +print_attributes(ipp_t *ipp, /* I - IPP request */ + int indent) /* I - Indentation */ +{ + ipp_tag_t group; /* Current group */ + ipp_attribute_t *attr; /* Current attribute */ + char buffer[2048]; /* Value string */ + + + for (group = IPP_TAG_ZERO, attr = ipp->attrs; attr; attr = attr->next) + { + if (!attr->name && indent == 4) + { + group = IPP_TAG_ZERO; + putchar('\n'); + continue; + } + + if (group != attr->group_tag) + { + group = attr->group_tag; + + printf("\n%*s%s:\n\n", indent - 4, "", ippTagString(group)); + } + + ippAttributeString(attr, buffer, sizeof(buffer)); + + printf("%*s%s (%s%s): %s\n", indent, "", attr->name ? attr->name : "(null)", attr->num_values > 1 ? "1setOf " : "", ippTagString(attr->value_tag), buffer); + } +} + + +/* + * 'read_cb()' - Read data from a buffer. + */ + +ssize_t /* O - Number of bytes read */ +read_cb(_ippdata_t *data, /* I - Data */ + ipp_uchar_t *buffer, /* O - Buffer to read */ + size_t bytes) /* I - Number of bytes to read */ +{ + size_t count; /* Number of bytes */ + + + /* + * Copy bytes from the data buffer to the read buffer... + */ + + if ((count = data->wsize - data->rpos) > bytes) + count = bytes; + + memcpy(buffer, data->wbuffer + data->rpos, count); + data->rpos += count; + + /* + * Return the number of bytes read... + */ + + return ((ssize_t)count); +} + + +/* + * 'read_hex()' - Read a hex dump of an IPP request. + */ + +ssize_t /* O - Number of bytes read */ +read_hex(cups_file_t *fp, /* I - File to read from */ + ipp_uchar_t *buffer, /* I - Buffer to read */ + size_t bytes) /* I - Number of bytes to read */ +{ + size_t total = 0; /* Total bytes read */ + static char hex[256] = ""; /* Line from file */ + static char *hexptr = NULL; /* Pointer in line */ + + + while (total < bytes) + { + if (!hexptr || (isspace(hexptr[0] & 255) && isspace(hexptr[1] & 255))) + { + if (!cupsFileGets(fp, hex, sizeof(hex))) + break; + + hexptr = hex; + while (isxdigit(*hexptr & 255)) + hexptr ++; + while (isspace(*hexptr & 255)) + hexptr ++; + + if (!isxdigit(*hexptr & 255)) + { + hexptr = NULL; + continue; + } + } + + *buffer++ = (ipp_uchar_t)strtol(hexptr, &hexptr, 16); + total ++; + } + + return (total == 0 ? -1 : (ssize_t)total); +} + + +/* + * 'token_cb()' - Token callback for ASCII IPP data file parser. + */ + +int /* O - 1 on success, 0 on failure */ +token_cb(_ipp_file_t *f, /* I - IPP file data */ + _ipp_vars_t *v, /* I - IPP variables */ + void *user_data, /* I - User data pointer */ + const char *token) /* I - Token string */ +{ + (void)v; + (void)user_data; + + if (!token) + { + f->attrs = ippNew(); + f->group_tag = IPP_TAG_PRINTER; + } + else + { + fprintf(stderr, "Unknown directive \"%s\" on line %d of \"%s\".\n", token, f->linenum, f->filename); + return (0); + } + + return (1); +} + + +/* + * 'write_cb()' - Write data into a buffer. + */ + +ssize_t /* O - Number of bytes written */ +write_cb(_ippdata_t *data, /* I - Data */ + ipp_uchar_t *buffer, /* I - Buffer to write */ + size_t bytes) /* I - Number of bytes to write */ +{ + size_t count; /* Number of bytes */ + + + /* + * Loop until all bytes are written... + */ + + if ((count = data->wsize - data->wused) > bytes) + count = bytes; + + memcpy(data->wbuffer + data->wused, buffer, count); + data->wused += count; + + /* + * Return the number of bytes written... + */ + + return ((ssize_t)count); +} diff --git a/cups/testlang.c b/cups/testlang.c new file mode 100644 index 0000000..613ae32 --- /dev/null +++ b/cups/testlang.c @@ -0,0 +1,374 @@ +/* + * Localization test program for CUPS. + * + * Usage: + * + * ./testlang [-l locale] [-p ppd] ["String to localize"] + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "ppd-private.h" +#ifdef __APPLE__ +# include +#endif /* __APPLE__ */ + + +/* + * Local functions... + */ + +static int show_ppd(const char *filename); +static int test_string(cups_lang_t *language, const char *msgid); +static void usage(void); + + +/* + * 'main()' - Load the specified language and show the strings for yes and no. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + const char *opt; /* Current option */ + int errors = 0; /* Number of errors */ + int dotests = 1; /* Do standard tests? */ + cups_lang_t *language = NULL;/* Message catalog */ + cups_lang_t *language2 = NULL; + /* Message catalog (second time) */ + struct lconv *loc; /* Locale data */ + char buffer[1024]; /* String buffer */ + double number; /* Number */ + static const char * const tests[] = /* Test strings */ + { + "1", + "-1", + "3", + "5.125" + }; + + + /* + * Parse command-line... + */ + + _cupsSetLocale(argv); + + for (i = 1; i < argc; i ++) + { + if (argv[i][0] == '-') + { + if (!strcmp(argv[i], "--help")) + { + usage(); + } + else + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'l' : + i ++; + if (i >= argc) + { + usage(); + return (1); + } + + language = cupsLangGet(argv[i]); + language2 = cupsLangGet(argv[i]); + + setenv("LANG", argv[i], 1); + setenv("SOFTWARE", "CUPS/" CUPS_SVERSION, 1); + break; + + case 'p' : + i ++; + if (i >= argc) + { + usage(); + return (1); + } + + if (!language) + { + language = cupsLangDefault(); + language2 = cupsLangDefault(); + } + + dotests = 0; + errors += show_ppd(argv[i]); + break; + + default : + usage(); + return (1); + } + } + } + } + else + { + if (!language) + { + language = cupsLangDefault(); + language2 = cupsLangDefault(); + } + + dotests = 0; + errors += test_string(language, argv[i]); + } + } + + if (!language) + { + language = cupsLangDefault(); + language2 = cupsLangDefault(); + } + + if (language != language2) + { + errors ++; + + puts("**** ERROR: Language cache did not work! ****"); + puts("First result from cupsLangGet:"); + } + + printf("Language = \"%s\"\n", language->language); + printf("Encoding = \"%s\"\n", _cupsEncodingName(language->encoding)); + + if (dotests) + { + errors += test_string(language, "No"); + errors += test_string(language, "Yes"); + + if (language != language2) + { + puts("Second result from cupsLangGet:"); + + printf("Language = \"%s\"\n", language2->language); + printf("Encoding = \"%s\"\n", _cupsEncodingName(language2->encoding)); + printf("No = \"%s\"\n", _cupsLangString(language2, "No")); + printf("Yes = \"%s\"\n", _cupsLangString(language2, "Yes")); + } + + loc = localeconv(); + + for (i = 0; i < (int)(sizeof(tests) / sizeof(tests[0])); i ++) + { + number = _cupsStrScand(tests[i], NULL, loc); + + printf("_cupsStrScand(\"%s\") number=%f\n", tests[i], number); + + _cupsStrFormatd(buffer, buffer + sizeof(buffer), number, loc); + + printf("_cupsStrFormatd(%f) buffer=\"%s\"\n", number, buffer); + + if (strcmp(buffer, tests[i])) + { + errors ++; + puts("**** ERROR: Bad formatted number! ****"); + } + } + +#ifdef __APPLE__ + /* + * Test all possible language IDs for compatibility with _cupsAppleLocale... + */ + + CFIndex j, /* Looping var */ + num_locales; /* Number of locales */ + CFArrayRef locales; /* Locales */ + CFStringRef locale_id, /* Current locale ID */ + language_id; /* Current language ID */ + char locale_str[256], /* Locale ID C string */ + language_str[256], /* Language ID C string */ + *bufptr; /* Pointer to ".UTF-8" in POSIX locale */ + size_t buflen; /* Length of POSIX locale */ +# if TEST_COUNTRY_CODES + CFIndex k, /* Looping var */ + num_country_codes; /* Number of country codes */ + CFArrayRef country_codes; /* Country codes */ + CFStringRef country_code, /* Current country code */ + temp_id; /* Temporary language ID */ + char country_str[256]; /* Country code C string */ +# endif /* TEST_COUNTRY_CODES */ + + locales = CFLocaleCopyAvailableLocaleIdentifiers(); + num_locales = CFArrayGetCount(locales); + +# if TEST_COUNTRY_CODES + country_codes = CFLocaleCopyISOCountryCodes(); + num_country_codes = CFArrayGetCount(country_codes); +# endif /* TEST_COUNTRY_CODES */ + + printf("%d locales are available:\n", (int)num_locales); + + for (j = 0; j < num_locales; j ++) + { + locale_id = CFArrayGetValueAtIndex(locales, j); + language_id = CFLocaleCreateCanonicalLanguageIdentifierFromString(kCFAllocatorDefault, locale_id); + + if (!locale_id || !CFStringGetCString(locale_id, locale_str, (CFIndex)sizeof(locale_str), kCFStringEncodingASCII)) + { + printf("%d: FAIL (unable to get locale ID string)\n", (int)j + 1); + errors ++; + continue; + } + + if (!language_id || !CFStringGetCString(language_id, language_str, (CFIndex)sizeof(language_str), kCFStringEncodingASCII)) + { + printf("%d %s: FAIL (unable to get language ID string)\n", (int)j + 1, locale_str); + errors ++; + continue; + } + + if (!_cupsAppleLocale(language_id, buffer, sizeof(buffer))) + { + printf("%d %s(%s): FAIL (unable to convert language ID string to POSIX locale)\n", (int)j + 1, locale_str, language_str); + errors ++; + continue; + } + + if ((bufptr = strstr(buffer, ".UTF-8")) != NULL) + buflen = (size_t)(bufptr - buffer); + else + buflen = strlen(buffer); + + if ((language = cupsLangGet(buffer)) == NULL) + { + printf("%d %s(%s): FAIL (unable to load POSIX locale \"%s\")\n", (int)j + 1, locale_str, language_str, buffer); + errors ++; + continue; + } + + if (strncasecmp(language->language, buffer, buflen)) + { + printf("%d %s(%s): FAIL (unable to load POSIX locale \"%s\", got \"%s\")\n", (int)j + 1, locale_str, language_str, buffer, language->language); + errors ++; + continue; + } + + printf("%d %s(%s): PASS (POSIX locale is \"%s\")\n", (int)j + 1, locale_str, language_str, buffer); + } + + CFRelease(locales); + +# if TEST_COUNTRY_CODES + CFRelease(country_codes); +# endif /* TEST_COUNTRY_CODES */ +#endif /* __APPLE__ */ + } + + if (errors == 0 && dotests) + puts("ALL TESTS PASSED"); + + return (errors > 0); +} + + +/* + * 'show_ppd()' - Show localized strings in a PPD file. + */ + +static int /* O - Number of errors */ +show_ppd(const char *filename) /* I - Filename */ +{ + ppd_file_t *ppd; /* PPD file */ + ppd_option_t *option; /* PageSize option */ + ppd_choice_t *choice; /* PageSize/Letter choice */ + char buffer[1024]; /* String buffer */ + + + if ((ppd = ppdOpenFile(filename)) == NULL) + { + printf("Unable to open PPD file \"%s\".\n", filename); + return (1); + } + + ppdLocalize(ppd); + + if ((option = ppdFindOption(ppd, "PageSize")) == NULL) + { + puts("No PageSize option."); + return (1); + } + else + { + printf("PageSize: %s\n", option->text); + + if ((choice = ppdFindChoice(option, "Letter")) == NULL) + { + puts("No Letter PageSize choice."); + return (1); + } + else + { + printf("Letter: %s\n", choice->text); + } + } + + printf("media-empty: %s\n", ppdLocalizeIPPReason(ppd, "media-empty", NULL, buffer, sizeof(buffer))); + + ppdClose(ppd); + + return (0); +} + + +/* + * 'test_string()' - Test the localization of a string. + */ + +static int /* O - 1 on failure, 0 on success */ +test_string(cups_lang_t *language, /* I - Language */ + const char *msgid) /* I - Message */ +{ + const char *msgstr; /* Localized string */ + + + /* + * Get the localized string and then see if we got what we expected. + * + * For the POSIX locale, the string pointers should be the same. + * For any other locale, the string pointers should be different. + */ + + msgstr = _cupsLangString(language, msgid); + if (strcmp(language->language, "C") && msgid == msgstr) + { + printf("%-8s = \"%s\" (FAIL - no message catalog loaded)\n", msgid, msgstr); + return (1); + } + else if (!strcmp(language->language, "C") && msgid != msgstr) + { + printf("%-8s = \"%s\" (FAIL - POSIX locale is localized)\n", msgid, msgstr); + return (1); + } + + printf("%-8s = \"%s\" (PASS)\n", msgid, msgstr); + + return (0); +} + + +/* + * 'usage()' - Show program usage. + */ + +static void +usage(void) +{ + puts("./testlang [-l locale] [-p ppd] [\"String to localize\"]"); +} diff --git a/cups/testoptions.c b/cups/testoptions.c new file mode 100644 index 0000000..1cc2f74 --- /dev/null +++ b/cups/testoptions.c @@ -0,0 +1,168 @@ +/* + * Option unit test program for CUPS. + * + * Copyright 2008-2016 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" + + +/* + * 'main()' - Test option processing functions. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int status = 0, /* Exit status */ + num_options; /* Number of options */ + cups_option_t *options; /* Options */ + const char *value; /* Value of an option */ + ipp_t *request; /* IPP request */ + ipp_attribute_t *attr; /* IPP attribute */ + int count; /* Number of attributes */ + + + if (argc == 1) + { + /* + * cupsParseOptions() + */ + + fputs("cupsParseOptions: ", stdout); + + num_options = cupsParseOptions("foo=1234 " + "bar=\"One Fish\",\"Two Fish\",\"Red Fish\"," + "\"Blue Fish\" " + "baz={param1=1 param2=2} " + "foobar=FOO\\ BAR " + "barfoo=barfoo " + "barfoo=\"\'BAR FOO\'\" " + "auth-info=user,pass\\\\,word\\\\\\\\", 0, &options); + + if (num_options != 6) + { + printf("FAIL (num_options=%d, expected 6)\n", num_options); + status ++; + } + else if ((value = cupsGetOption("foo", num_options, options)) == NULL || + strcmp(value, "1234")) + { + printf("FAIL (foo=\"%s\", expected \"1234\")\n", value); + status ++; + } + else if ((value = cupsGetOption("bar", num_options, options)) == NULL || + strcmp(value, "One Fish,Two Fish,Red Fish,Blue Fish")) + { + printf("FAIL (bar=\"%s\", expected \"One Fish,Two Fish,Red Fish,Blue " + "Fish\")\n", value); + status ++; + } + else if ((value = cupsGetOption("baz", num_options, options)) == NULL || + strcmp(value, "{param1=1 param2=2}")) + { + printf("FAIL (baz=\"%s\", expected \"{param1=1 param2=2}\")\n", value); + status ++; + } + else if ((value = cupsGetOption("foobar", num_options, options)) == NULL || + strcmp(value, "FOO BAR")) + { + printf("FAIL (foobar=\"%s\", expected \"FOO BAR\")\n", value); + status ++; + } + else if ((value = cupsGetOption("barfoo", num_options, options)) == NULL || + strcmp(value, "\'BAR FOO\'")) + { + printf("FAIL (barfoo=\"%s\", expected \"\'BAR FOO\'\")\n", value); + status ++; + } + else if ((value = cupsGetOption("auth-info", num_options, options)) == NULL || + strcmp(value, "user,pass\\,word\\\\")) + { + printf("FAIL (auth-info=\"%s\", expected \"user,pass\\,word\\\\\")\n", value); + status ++; + } + else + puts("PASS"); + + fputs("cupsEncodeOptions2: ", stdout); + request = ippNew(); + ippSetOperation(request, IPP_OP_PRINT_JOB); + + cupsEncodeOptions2(request, num_options, options, IPP_TAG_JOB); + for (count = 0, attr = ippFirstAttribute(request); attr; attr = ippNextAttribute(request), count ++); + if (count != 6) + { + printf("FAIL (%d attributes, expected 6)\n", count); + status ++; + } + else if ((attr = ippFindAttribute(request, "foo", IPP_TAG_ZERO)) == NULL) + { + puts("FAIL (Unable to find attribute \"foo\")"); + status ++; + } + else if (ippGetValueTag(attr) != IPP_TAG_NAME) + { + printf("FAIL (\"foo\" of type %s, expected name)\n", ippTagString(ippGetValueTag(attr))); + status ++; + } + else if (ippGetCount(attr) != 1) + { + printf("FAIL (\"foo\" has %d values, expected 1)\n", (int)ippGetCount(attr)); + status ++; + } + else if (strcmp(ippGetString(attr, 0, NULL), "1234")) + { + printf("FAIL (\"foo\" has value %s, expected 1234)\n", ippGetString(attr, 0, NULL)); + status ++; + } + else if ((attr = ippFindAttribute(request, "auth-info", IPP_TAG_ZERO)) == NULL) + { + puts("FAIL (Unable to find attribute \"auth-info\")"); + status ++; + } + else if (ippGetValueTag(attr) != IPP_TAG_TEXT) + { + printf("FAIL (\"auth-info\" of type %s, expected text)\n", ippTagString(ippGetValueTag(attr))); + status ++; + } + else if (ippGetCount(attr) != 2) + { + printf("FAIL (\"auth-info\" has %d values, expected 2)\n", (int)ippGetCount(attr)); + status ++; + } + else if (strcmp(ippGetString(attr, 0, NULL), "user")) + { + printf("FAIL (\"auth-info\"[0] has value \"%s\", expected \"user\")\n", ippGetString(attr, 0, NULL)); + status ++; + } + else if (strcmp(ippGetString(attr, 1, NULL), "pass,word\\")) + { + printf("FAIL (\"auth-info\"[1] has value \"%s\", expected \"pass,word\\\")\n", ippGetString(attr, 1, NULL)); + status ++; + } + else + puts("PASS"); + } + else + { + int i; /* Looping var */ + cups_option_t *option; /* Current option */ + + + num_options = cupsParseOptions(argv[1], 0, &options); + + for (i = 0, option = options; i < num_options; i ++, option ++) + printf("options[%d].name=\"%s\", value=\"%s\"\n", i, option->name, + option->value); + } + + exit (status); +} diff --git a/cups/testppd.c b/cups/testppd.c new file mode 100644 index 0000000..36707f2 --- /dev/null +++ b/cups/testppd.c @@ -0,0 +1,1786 @@ +/* + * PPD test program for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#undef _CUPS_NO_DEPRECATED +#include "cups-private.h" +#include "ppd-private.h" +#include "raster-private.h" +#include +#ifdef _WIN32 +# include +#else +# include +# include +#endif /* _WIN32 */ +#include + + +/* + * Local functions... + */ + +static int do_ppd_tests(const char *filename, int num_options, cups_option_t *options); +static int do_ps_tests(void); +static void print_changes(cups_page_header2_t *header, cups_page_header2_t *expected); + + +/* + * Test data... + */ + +static const char *dsc_code = +"[{\n" +"%%BeginFeature: *PageSize Tabloid\n" +"<>setpagedevice\n" +"%%EndFeature\n" +"} stopped cleartomark\n"; +static const char *setpagedevice_code = +"<<" +"/MediaClass(Media Class)" +"/MediaColor((Media Color))" +"/MediaType(Media\\\\Type)" +"/OutputType<416263>" +"/AdvanceDistance 1000" +"/AdvanceMedia 1" +"/Collate false" +"/CutMedia 2" +"/Duplex true" +"/HWResolution[100 200]" +"/InsertSheet true" +"/Jog 3" +"/LeadingEdge 1" +"/ManualFeed true" +"/MediaPosition 8#777" +"/MediaWeight 16#fe01" +"/MirrorPrint true" +"/NegativePrint true" +"/NumCopies 1" +"/Orientation 1" +"/OutputFaceUp true" +"/PageSize[612 792.1]" +"/Separations true" +"/TraySwitch true" +"/Tumble true" +"/cupsMediaType 2" +"/cupsColorOrder 1" +"/cupsColorSpace 1" +"/cupsCompression 1" +"/cupsRowCount 1" +"/cupsRowFeed 1" +"/cupsRowStep 1" +"/cupsBorderlessScalingFactor 1.001" +"/cupsInteger0 1" +"/cupsInteger1 2" +"/cupsInteger2 3" +"/cupsInteger3 4" +"/cupsInteger4 5" +"/cupsInteger5 6" +"/cupsInteger6 7" +"/cupsInteger7 8" +"/cupsInteger8 9" +"/cupsInteger9 10" +"/cupsInteger10 11" +"/cupsInteger11 12" +"/cupsInteger12 13" +"/cupsInteger13 14" +"/cupsInteger14 15" +"/cupsInteger15 16" +"/cupsReal0 1.1" +"/cupsReal1 2.1" +"/cupsReal2 3.1" +"/cupsReal3 4.1" +"/cupsReal4 5.1" +"/cupsReal5 6.1" +"/cupsReal6 7.1" +"/cupsReal7 8.1" +"/cupsReal8 9.1" +"/cupsReal9 10.1" +"/cupsReal10 11.1" +"/cupsReal11 12.1" +"/cupsReal12 13.1" +"/cupsReal13 14.1" +"/cupsReal14 15.1" +"/cupsReal15 16.1" +"/cupsString0(1)" +"/cupsString1(2)" +"/cupsString2(3)" +"/cupsString3(4)" +"/cupsString4(5)" +"/cupsString5(6)" +"/cupsString6(7)" +"/cupsString7(8)" +"/cupsString8(9)" +"/cupsString9(10)" +"/cupsString10(11)" +"/cupsString11(12)" +"/cupsString12(13)" +"/cupsString13(14)" +"/cupsString14(15)" +"/cupsString15(16)" +"/cupsMarkerType(Marker Type)" +"/cupsRenderingIntent(Rendering Intent)" +"/cupsPageSizeName(Letter)" +"/cupsPreferredBitsPerColor 17" +">> setpagedevice"; + +static cups_page_header2_t setpagedevice_header = +{ + "Media Class", /* MediaClass */ + "(Media Color)", /* MediaColor */ + "Media\\Type", /* MediaType */ + "Abc", /* OutputType */ + 1000, /* AdvanceDistance */ + CUPS_ADVANCE_FILE, /* AdvanceMedia */ + CUPS_FALSE, /* Collate */ + CUPS_CUT_JOB, /* CutMedia */ + CUPS_TRUE, /* Duplex */ + { 100, 200 }, /* HWResolution */ + { 0, 0, 0, 0 }, /* ImagingBoundingBox */ + CUPS_TRUE, /* InsertSheet */ + CUPS_JOG_SET, /* Jog */ + CUPS_EDGE_RIGHT, /* LeadingEdge */ + { 0, 0 }, /* Margins */ + CUPS_TRUE, /* ManualFeed */ + 0777, /* MediaPosition */ + 0xfe01, /* MediaWeight */ + CUPS_TRUE, /* MirrorPrint */ + CUPS_TRUE, /* NegativePrint */ + 1, /* NumCopies */ + CUPS_ORIENT_90, /* Orientation */ + CUPS_TRUE, /* OutputFaceUp */ + { 612, 792 }, /* PageSize */ + CUPS_TRUE, /* Separations */ + CUPS_TRUE, /* TraySwitch */ + CUPS_TRUE, /* Tumble */ + 0, /* cupsWidth */ + 0, /* cupsHeight */ + 2, /* cupsMediaType */ + 0, /* cupsBitsPerColor */ + 0, /* cupsBitsPerPixel */ + 0, /* cupsBytesPerLine */ + CUPS_ORDER_BANDED, /* cupsColorOrder */ + CUPS_CSPACE_RGB, /* cupsColorSpace */ + 1, /* cupsCompression */ + 1, /* cupsRowCount */ + 1, /* cupsRowFeed */ + 1, /* cupsRowStep */ + 0, /* cupsNumColors */ + 1.001f, /* cupsBorderlessScalingFactor */ + { 612.0f, 792.1f }, /* cupsPageSize */ + { 0.0f, 0.0f, 0.0f, 0.0f }, /* cupsImagingBBox */ + { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, + /* cupsInteger[16] */ + { 1.1f, 2.1f, 3.1f, 4.1f, 5.1f, 6.1f, 7.1f, 8.1f, 9.1f, 10.1f, 11.1f, 12.1f, 13.1f, 14.1f, 15.1f, 16.1f }, /* cupsReal[16] */ + { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", + "14", "15", "16" }, /* cupsString[16] */ + "Marker Type", /* cupsMarkerType */ + "Rendering Intent", /* cupsRenderingIntent */ + "Letter" /* cupsPageSizeName */ +}; + +static const char *default_code = + "[{\n" + "%%BeginFeature: *InstalledDuplexer False\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *PageRegion Letter\n" + "PageRegion=Letter\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *InputSlot Tray\n" + "InputSlot=Tray\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *OutputBin Tray1\n" + "OutputBin=Tray1\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *MediaType Plain\n" + "MediaType=Plain\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *IntOption None\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *StringOption None\n" + "%%EndFeature\n" + "} stopped cleartomark\n"; + +static const char *custom_code = + "[{\n" + "%%BeginFeature: *InstalledDuplexer False\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *InputSlot Tray\n" + "InputSlot=Tray\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *MediaType Plain\n" + "MediaType=Plain\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *OutputBin Tray1\n" + "OutputBin=Tray1\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *IntOption None\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *CustomStringOption True\n" + "(value\\0502\\051)\n" + "(value 1)\n" + "StringOption=Custom\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *CustomPageSize True\n" + "400\n" + "500\n" + "0\n" + "0\n" + "0\n" + "PageSize=Custom\n" + "%%EndFeature\n" + "} stopped cleartomark\n"; + +static const char *default2_code = + "[{\n" + "%%BeginFeature: *InstalledDuplexer False\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *InputSlot Tray\n" + "InputSlot=Tray\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *Quality Normal\n" + "Quality=Normal\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *IntOption None\n" + "%%EndFeature\n" + "} stopped cleartomark\n" + "[{\n" + "%%BeginFeature: *StringOption None\n" + "%%EndFeature\n" + "} stopped cleartomark\n"; + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + ppd_file_t *ppd = NULL; /* PPD file loaded from disk */ + int status; /* Status of tests (0 = success, 1 = fail) */ + int conflicts; /* Number of conflicts */ + char *s; /* String */ + char buffer[8192]; /* String buffer */ + const char *text, /* Localized text */ + *val; /* Option value */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ + ppd_size_t minsize, /* Minimum size */ + maxsize, /* Maximum size */ + *size; /* Current size */ + ppd_attr_t *attr; /* Current attribute */ + _ppd_cache_t *pc; /* PPD cache */ + + + status = 0; + + if (argc == 1) + { + /* + * Setup directories for locale stuff... + */ + + if (access("locale", 0)) + { + mkdir("locale", 0777); + mkdir("locale/fr", 0777); + symlink("../../../locale/cups_fr.po", "locale/fr/cups_fr.po"); + mkdir("locale/zh_TW", 0777); + symlink("../../../locale/cups_zh_TW.po", "locale/zh_TW/cups_zh_TW.po"); + } + + putenv("LOCALEDIR=locale"); + putenv("SOFTWARE=CUPS"); + + /* + * Do tests with test.ppd... + */ + + fputs("ppdOpenFile(test.ppd): ", stdout); + + if ((ppd = _ppdOpenFile("test.ppd", _PPD_LOCALIZATION_ALL)) != NULL) + puts("PASS"); + else + { + ppd_status_t err; /* Last error in file */ + int line; /* Line number in file */ + + + status ++; + err = ppdLastError(&line); + + printf("FAIL (%s on line %d)\n", ppdErrorString(err), line); + } + + fputs("ppdFindAttr(wildcard): ", stdout); + if ((attr = ppdFindAttr(ppd, "cupsTest", NULL)) == NULL) + { + status ++; + puts("FAIL (not found)"); + } + else if (strcmp(attr->name, "cupsTest") || strcmp(attr->spec, "Foo")) + { + status ++; + printf("FAIL (got \"%s %s\")\n", attr->name, attr->spec); + } + else + puts("PASS"); + + fputs("ppdFindNextAttr(wildcard): ", stdout); + if ((attr = ppdFindNextAttr(ppd, "cupsTest", NULL)) == NULL) + { + status ++; + puts("FAIL (not found)"); + } + else if (strcmp(attr->name, "cupsTest") || strcmp(attr->spec, "Bar")) + { + status ++; + printf("FAIL (got \"%s %s\")\n", attr->name, attr->spec); + } + else + puts("PASS"); + + fputs("ppdFindAttr(Foo): ", stdout); + if ((attr = ppdFindAttr(ppd, "cupsTest", "Foo")) == NULL) + { + status ++; + puts("FAIL (not found)"); + } + else if (strcmp(attr->name, "cupsTest") || strcmp(attr->spec, "Foo")) + { + status ++; + printf("FAIL (got \"%s %s\")\n", attr->name, attr->spec); + } + else + puts("PASS"); + + fputs("ppdFindNextAttr(Foo): ", stdout); + if ((attr = ppdFindNextAttr(ppd, "cupsTest", "Foo")) != NULL) + { + status ++; + printf("FAIL (got \"%s %s\")\n", attr->name, attr->spec); + } + else + puts("PASS"); + + fputs("ppdMarkDefaults: ", stdout); + ppdMarkDefaults(ppd); + + if ((conflicts = ppdConflicts(ppd)) == 0) + puts("PASS"); + else + { + status ++; + printf("FAIL (%d conflicts)\n", conflicts); + } + + fputs("ppdEmitString (defaults): ", stdout); + if ((s = ppdEmitString(ppd, PPD_ORDER_ANY, 0.0)) != NULL && + !strcmp(s, default_code)) + puts("PASS"); + else + { + status ++; + printf("FAIL (%d bytes instead of %d)\n", s ? (int)strlen(s) : 0, + (int)strlen(default_code)); + + if (s) + puts(s); + } + + if (s) + free(s); + + fputs("ppdEmitString (custom size and string): ", stdout); + ppdMarkOption(ppd, "PageSize", "Custom.400x500"); + ppdMarkOption(ppd, "StringOption", "{String1=\"value 1\" String2=value(2)}"); + + if ((s = ppdEmitString(ppd, PPD_ORDER_ANY, 0.0)) != NULL && + !strcmp(s, custom_code)) + puts("PASS"); + else + { + status ++; + printf("FAIL (%d bytes instead of %d)\n", s ? (int)strlen(s) : 0, + (int)strlen(custom_code)); + + if (s) + puts(s); + } + + if (s) + free(s); + + /* + * Test constraints... + */ + + fputs("cupsGetConflicts(InputSlot=Envelope): ", stdout); + ppdMarkOption(ppd, "PageSize", "Letter"); + + num_options = cupsGetConflicts(ppd, "InputSlot", "Envelope", &options); + if (num_options != 2 || + (val = cupsGetOption("PageRegion", num_options, options)) == NULL || + _cups_strcasecmp(val, "Letter") || + (val = cupsGetOption("PageSize", num_options, options)) == NULL || + _cups_strcasecmp(val, "Letter")) + { + printf("FAIL (%d options:", num_options); + for (i = 0; i < num_options; i ++) + printf(" %s=%s", options[i].name, options[i].value); + puts(")"); + status ++; + } + else + puts("PASS"); + + fputs("ppdConflicts(): ", stdout); + ppdMarkOption(ppd, "InputSlot", "Envelope"); + + if ((conflicts = ppdConflicts(ppd)) == 2) + puts("PASS (2)"); + else + { + printf("FAIL (%d)\n", conflicts); + status ++; + } + + fputs("cupsResolveConflicts(InputSlot=Envelope): ", stdout); + num_options = 0; + options = NULL; + if (!cupsResolveConflicts(ppd, "InputSlot", "Envelope", &num_options, + &options)) + { + puts("FAIL (Unable to resolve)"); + status ++; + } + else if (num_options != 2 || + !cupsGetOption("PageSize", num_options, options)) + { + printf("FAIL (%d options:", num_options); + for (i = 0; i < num_options; i ++) + printf(" %s=%s", options[i].name, options[i].value); + puts(")"); + status ++; + } + else + puts("PASS (Resolved by changing PageSize)"); + + cupsFreeOptions(num_options, options); + + fputs("cupsResolveConflicts(No option/choice): ", stdout); + num_options = 0; + options = NULL; + if (cupsResolveConflicts(ppd, NULL, NULL, &num_options, &options) && + num_options == 1 && !_cups_strcasecmp(options[0].name, "InputSlot") && + !_cups_strcasecmp(options[0].value, "Tray")) + puts("PASS (Resolved by changing InputSlot)"); + else if (num_options > 0) + { + printf("FAIL (%d options:", num_options); + for (i = 0; i < num_options; i ++) + printf(" %s=%s", options[i].name, options[i].value); + puts(")"); + status ++; + } + else + { + puts("FAIL (Unable to resolve)"); + status ++; + } + cupsFreeOptions(num_options, options); + + fputs("ppdInstallableConflict(): ", stdout); + if (ppdInstallableConflict(ppd, "Duplex", "DuplexNoTumble") && + !ppdInstallableConflict(ppd, "Duplex", "None")) + puts("PASS"); + else if (!ppdInstallableConflict(ppd, "Duplex", "DuplexNoTumble")) + { + puts("FAIL (Duplex=DuplexNoTumble did not conflict)"); + status ++; + } + else + { + puts("FAIL (Duplex=None conflicted)"); + status ++; + } + + /* + * ppdPageSizeLimits + */ + + fputs("ppdPageSizeLimits: ", stdout); + if (ppdPageSizeLimits(ppd, &minsize, &maxsize)) + { + if (fabs(minsize.width - 36.0) > 0.001 || fabs(minsize.length - 36.0) > 0.001 || + fabs(maxsize.width - 1080.0) > 0.001 || fabs(maxsize.length - 86400.0) > 0.001) + { + printf("FAIL (got min=%.3fx%.3f, max=%.3fx%.3f, " + "expected min=36x36, max=1080x86400)\n", minsize.width, + minsize.length, maxsize.width, maxsize.length); + status ++; + } + else + puts("PASS"); + } + else + { + puts("FAIL (returned 0)"); + status ++; + } + + /* + * cupsMarkOptions with PWG and IPP size names. + */ + + fputs("cupsMarkOptions(media=iso-a4): ", stdout); + num_options = cupsAddOption("media", "iso-a4", 0, &options); + cupsMarkOptions(ppd, num_options, options); + cupsFreeOptions(num_options, options); + + size = ppdPageSize(ppd, NULL); + if (!size || strcmp(size->name, "A4")) + { + printf("FAIL (%s)\n", size ? size->name : "unknown"); + status ++; + } + else + puts("PASS"); + + fputs("cupsMarkOptions(media=na_letter_8.5x11in): ", stdout); + num_options = cupsAddOption("media", "na_letter_8.5x11in", 0, &options); + cupsMarkOptions(ppd, num_options, options); + cupsFreeOptions(num_options, options); + + size = ppdPageSize(ppd, NULL); + if (!size || strcmp(size->name, "Letter")) + { + printf("FAIL (%s)\n", size ? size->name : "unknown"); + status ++; + } + else + puts("PASS"); + + fputs("cupsMarkOptions(media=oe_letter-fullbleed_8.5x11in): ", stdout); + num_options = cupsAddOption("media", "oe_letter-fullbleed_8.5x11in", 0, + &options); + cupsMarkOptions(ppd, num_options, options); + cupsFreeOptions(num_options, options); + + size = ppdPageSize(ppd, NULL); + if (!size || strcmp(size->name, "Letter.Fullbleed")) + { + printf("FAIL (%s)\n", size ? size->name : "unknown"); + status ++; + } + else + puts("PASS"); + + fputs("cupsMarkOptions(media=A4): ", stdout); + num_options = cupsAddOption("media", "A4", 0, &options); + cupsMarkOptions(ppd, num_options, options); + cupsFreeOptions(num_options, options); + + size = ppdPageSize(ppd, NULL); + if (!size || strcmp(size->name, "A4")) + { + printf("FAIL (%s)\n", size ? size->name : "unknown"); + status ++; + } + else + puts("PASS"); + + /* + * Custom sizes... + */ + + fputs("cupsMarkOptions(media=Custom.8x10in): ", stdout); + num_options = cupsAddOption("media", "Custom.8x10in", 0, &options); + cupsMarkOptions(ppd, num_options, options); + cupsFreeOptions(num_options, options); + + size = ppdPageSize(ppd, NULL); + if (!size || strcmp(size->name, "Custom") || + fabs(size->width - 576.0) > 0.001 || + fabs(size->length - 720.0) > 0.001) + { + printf("FAIL (%s - %gx%g)\n", size ? size->name : "unknown", + size ? size->width : 0.0, size ? size->length : 0.0); + status ++; + } + else + puts("PASS"); + + /* + * Test localization... + */ + + fputs("ppdLocalizeIPPReason(text): ", stdout); + if (ppdLocalizeIPPReason(ppd, "foo", NULL, buffer, sizeof(buffer)) && + !strcmp(buffer, "Foo Reason")) + puts("PASS"); + else + { + status ++; + printf("FAIL (\"%s\" instead of \"Foo Reason\")\n", buffer); + } + + fputs("ppdLocalizeIPPReason(http): ", stdout); + if (ppdLocalizeIPPReason(ppd, "foo", "http", buffer, sizeof(buffer)) && + !strcmp(buffer, "http://foo/bar.html")) + puts("PASS"); + else + { + status ++; + printf("FAIL (\"%s\" instead of \"http://foo/bar.html\")\n", buffer); + } + + fputs("ppdLocalizeIPPReason(help): ", stdout); + if (ppdLocalizeIPPReason(ppd, "foo", "help", buffer, sizeof(buffer)) && + !strcmp(buffer, "help:anchor='foo'%20bookID=Vendor%20Help")) + puts("PASS"); + else + { + status ++; + printf("FAIL (\"%s\" instead of \"help:anchor='foo'%%20bookID=Vendor%%20Help\")\n", buffer); + } + + fputs("ppdLocalizeIPPReason(file): ", stdout); + if (ppdLocalizeIPPReason(ppd, "foo", "file", buffer, sizeof(buffer)) && + !strcmp(buffer, "/help/foo/bar.html")) + puts("PASS"); + else + { + status ++; + printf("FAIL (\"%s\" instead of \"/help/foo/bar.html\")\n", buffer); + } + + putenv("LANG=fr"); + putenv("LC_ALL=fr"); + putenv("LC_CTYPE=fr"); + putenv("LC_MESSAGES=fr"); + + fputs("ppdLocalizeIPPReason(fr text): ", stdout); + if (ppdLocalizeIPPReason(ppd, "foo", NULL, buffer, sizeof(buffer)) && + !strcmp(buffer, "La Long Foo Reason")) + puts("PASS"); + else + { + status ++; + printf("FAIL (\"%s\" instead of \"La Long Foo Reason\")\n", buffer); + } + + putenv("LANG=zh_TW"); + putenv("LC_ALL=zh_TW"); + putenv("LC_CTYPE=zh_TW"); + putenv("LC_MESSAGES=zh_TW"); + + fputs("ppdLocalizeIPPReason(zh_TW text): ", stdout); + if (ppdLocalizeIPPReason(ppd, "foo", NULL, buffer, sizeof(buffer)) && + !strcmp(buffer, "Number 1 Foo Reason")) + puts("PASS"); + else + { + status ++; + printf("FAIL (\"%s\" instead of \"Number 1 Foo Reason\")\n", buffer); + } + + /* + * cupsMarkerName localization... + */ + + putenv("LANG=en"); + putenv("LC_ALL=en"); + putenv("LC_CTYPE=en"); + putenv("LC_MESSAGES=en"); + + fputs("ppdLocalizeMarkerName(bogus): ", stdout); + + if ((text = ppdLocalizeMarkerName(ppd, "bogus")) != NULL) + { + status ++; + printf("FAIL (\"%s\" instead of NULL)\n", text); + } + else + puts("PASS"); + + fputs("ppdLocalizeMarkerName(cyan): ", stdout); + + if ((text = ppdLocalizeMarkerName(ppd, "cyan")) != NULL && + !strcmp(text, "Cyan Toner")) + puts("PASS"); + else + { + status ++; + printf("FAIL (\"%s\" instead of \"Cyan Toner\")\n", + text ? text : "(null)"); + } + + putenv("LANG=fr"); + putenv("LC_ALL=fr"); + putenv("LC_CTYPE=fr"); + putenv("LC_MESSAGES=fr"); + + fputs("ppdLocalizeMarkerName(fr cyan): ", stdout); + if ((text = ppdLocalizeMarkerName(ppd, "cyan")) != NULL && + !strcmp(text, "La Toner Cyan")) + puts("PASS"); + else + { + status ++; + printf("FAIL (\"%s\" instead of \"La Toner Cyan\")\n", + text ? text : "(null)"); + } + + putenv("LANG=zh_TW"); + putenv("LC_ALL=zh_TW"); + putenv("LC_CTYPE=zh_TW"); + putenv("LC_MESSAGES=zh_TW"); + + fputs("ppdLocalizeMarkerName(zh_TW cyan): ", stdout); + if ((text = ppdLocalizeMarkerName(ppd, "cyan")) != NULL && + !strcmp(text, "Number 1 Cyan Toner")) + puts("PASS"); + else + { + status ++; + printf("FAIL (\"%s\" instead of \"Number 1 Cyan Toner\")\n", + text ? text : "(null)"); + } + + ppdClose(ppd); + + /* + * Test new constraints... + */ + + fputs("ppdOpenFile(test2.ppd): ", stdout); + + if ((ppd = ppdOpenFile("test2.ppd")) != NULL) + puts("PASS"); + else + { + ppd_status_t err; /* Last error in file */ + int line; /* Line number in file */ + + + status ++; + err = ppdLastError(&line); + + printf("FAIL (%s on line %d)\n", ppdErrorString(err), line); + } + + fputs("ppdMarkDefaults: ", stdout); + ppdMarkDefaults(ppd); + + if ((conflicts = ppdConflicts(ppd)) == 0) + puts("PASS"); + else + { + status ++; + printf("FAIL (%d conflicts)\n", conflicts); + } + + fputs("ppdEmitString (defaults): ", stdout); + if ((s = ppdEmitString(ppd, PPD_ORDER_ANY, 0.0)) != NULL && + !strcmp(s, default2_code)) + puts("PASS"); + else + { + status ++; + printf("FAIL (%d bytes instead of %d)\n", s ? (int)strlen(s) : 0, + (int)strlen(default2_code)); + + if (s) + puts(s); + } + + if (s) + free(s); + + fputs("ppdConflicts(): ", stdout); + ppdMarkOption(ppd, "PageSize", "Env10"); + ppdMarkOption(ppd, "InputSlot", "Envelope"); + ppdMarkOption(ppd, "Quality", "Photo"); + + if ((conflicts = ppdConflicts(ppd)) == 1) + puts("PASS (1)"); + else + { + printf("FAIL (%d)\n", conflicts); + status ++; + } + + fputs("cupsResolveConflicts(Quality=Photo): ", stdout); + num_options = 0; + options = NULL; + if (cupsResolveConflicts(ppd, "Quality", "Photo", &num_options, + &options)) + { + printf("FAIL (%d options:", num_options); + for (i = 0; i < num_options; i ++) + printf(" %s=%s", options[i].name, options[i].value); + puts(")"); + status ++; + } + else + puts("PASS (Unable to resolve)"); + cupsFreeOptions(num_options, options); + + fputs("cupsResolveConflicts(No option/choice): ", stdout); + num_options = 0; + options = NULL; + if (cupsResolveConflicts(ppd, NULL, NULL, &num_options, &options) && + num_options == 1 && !_cups_strcasecmp(options->name, "Quality") && + !_cups_strcasecmp(options->value, "Normal")) + puts("PASS"); + else if (num_options > 0) + { + printf("FAIL (%d options:", num_options); + for (i = 0; i < num_options; i ++) + printf(" %s=%s", options[i].name, options[i].value); + puts(")"); + status ++; + } + else + { + puts("FAIL (Unable to resolve!)"); + status ++; + } + cupsFreeOptions(num_options, options); + + fputs("cupsResolveConflicts(loop test): ", stdout); + ppdMarkOption(ppd, "PageSize", "A4"); + ppdMarkOption(ppd, "InputSlot", "Tray"); + ppdMarkOption(ppd, "Quality", "Photo"); + num_options = 0; + options = NULL; + if (!cupsResolveConflicts(ppd, NULL, NULL, &num_options, &options)) + puts("PASS"); + else if (num_options > 0) + { + printf("FAIL (%d options:", num_options); + for (i = 0; i < num_options; i ++) + printf(" %s=%s", options[i].name, options[i].value); + puts(")"); + } + else + puts("FAIL (No conflicts!)"); + + fputs("ppdInstallableConflict(): ", stdout); + if (ppdInstallableConflict(ppd, "Duplex", "DuplexNoTumble") && + !ppdInstallableConflict(ppd, "Duplex", "None")) + puts("PASS"); + else if (!ppdInstallableConflict(ppd, "Duplex", "DuplexNoTumble")) + { + puts("FAIL (Duplex=DuplexNoTumble did not conflict)"); + status ++; + } + else + { + puts("FAIL (Duplex=None conflicted)"); + status ++; + } + + /* + * ppdPageSizeLimits + */ + + ppdMarkDefaults(ppd); + + fputs("ppdPageSizeLimits(default): ", stdout); + if (ppdPageSizeLimits(ppd, &minsize, &maxsize)) + { + if (fabs(minsize.width - 36.0) > 0.001 || fabs(minsize.length - 36.0) > 0.001 || + fabs(maxsize.width - 1080.0) > 0.001 || fabs(maxsize.length - 86400.0) > 0.001) + { + printf("FAIL (got min=%.0fx%.0f, max=%.0fx%.0f, " + "expected min=36x36, max=1080x86400)\n", minsize.width, + minsize.length, maxsize.width, maxsize.length); + status ++; + } + else + puts("PASS"); + } + else + { + puts("FAIL (returned 0)"); + status ++; + } + + ppdMarkOption(ppd, "InputSlot", "Manual"); + + fputs("ppdPageSizeLimits(InputSlot=Manual): ", stdout); + if (ppdPageSizeLimits(ppd, &minsize, &maxsize)) + { + if (fabs(minsize.width - 100.0) > 0.001 || fabs(minsize.length - 100.0) > 0.001 || + fabs(maxsize.width - 1000.0) > 0.001 || fabs(maxsize.length - 1000.0) > 0.001) + { + printf("FAIL (got min=%.0fx%.0f, max=%.0fx%.0f, " + "expected min=100x100, max=1000x1000)\n", minsize.width, + minsize.length, maxsize.width, maxsize.length); + status ++; + } + else + puts("PASS"); + } + else + { + puts("FAIL (returned 0)"); + status ++; + } + + ppdMarkOption(ppd, "Quality", "Photo"); + + fputs("ppdPageSizeLimits(Quality=Photo): ", stdout); + if (ppdPageSizeLimits(ppd, &minsize, &maxsize)) + { + if (fabs(minsize.width - 200.0) > 0.001 || fabs(minsize.length - 200.0) > 0.001 || + fabs(maxsize.width - 1000.0) > 0.001 || fabs(maxsize.length - 1000.0) > 0.001) + { + printf("FAIL (got min=%.0fx%.0f, max=%.0fx%.0f, " + "expected min=200x200, max=1000x1000)\n", minsize.width, + minsize.length, maxsize.width, maxsize.length); + status ++; + } + else + puts("PASS"); + } + else + { + puts("FAIL (returned 0)"); + status ++; + } + + ppdMarkOption(ppd, "InputSlot", "Tray"); + + fputs("ppdPageSizeLimits(Quality=Photo): ", stdout); + if (ppdPageSizeLimits(ppd, &minsize, &maxsize)) + { + if (fabs(minsize.width - 300.0) > 0.001 || fabs(minsize.length - 300.0) > 0.001 || + fabs(maxsize.width - 1080.0) > 0.001 || fabs(maxsize.length - 86400.0) > 0.001) + { + printf("FAIL (got min=%.0fx%.0f, max=%.0fx%.0f, " + "expected min=300x300, max=1080x86400)\n", minsize.width, + minsize.length, maxsize.width, maxsize.length); + status ++; + } + else + puts("PASS"); + } + else + { + puts("FAIL (returned 0)"); + status ++; + } + + status += do_ps_tests(); + } + else if (!strcmp(argv[1], "--raster")) + { + for (status = 0, num_options = 0, options = NULL, i = 1; i < argc; i ++) + { + if (argv[i][0] == '-') + { + if (argv[i][1] == 'o') + { + if (argv[i][2]) + num_options = cupsParseOptions(argv[i] + 2, num_options, &options); + else + { + i ++; + if (i < argc) + num_options = cupsParseOptions(argv[i], num_options, &options); + else + { + puts("Usage: testppd --raster [-o name=value ...] [filename.ppd ...]"); + return (1); + } + } + } + else + { + puts("Usage: testppd --raster [-o name=value ...] [filename.ppd ...]"); + return (1); + } + } + else + status += do_ppd_tests(argv[i], num_options, options); + } + + cupsFreeOptions(num_options, options); + } + else if (!strncmp(argv[1], "ipp://", 6) || !strncmp(argv[1], "ipps://", 7)) + { + /* + * ipp://... or ipps://... + */ + + http_t *http; /* Connection to printer */ + ipp_t *request, /* Get-Printer-Attributes request */ + *response; /* Get-Printer-Attributes response */ + char scheme[32], /* URI scheme */ + userpass[256], /* Username:password */ + host[256], /* Hostname */ + resource[256]; /* Resource path */ + int port; /* Port number */ + static const char * const pattrs[] =/* Requested printer attributes */ + { + "job-template", + "printer-defaults", + "printer-description", + "media-col-database" + }; + + if (httpSeparateURI(HTTP_URI_CODING_ALL, argv[1], scheme, sizeof(scheme), userpass, sizeof(userpass), host, sizeof(host), &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK) + { + printf("Bad URI \"%s\".\n", argv[1]); + return (1); + } + + http = httpConnect2(host, port, NULL, AF_UNSPEC, !strcmp(scheme, "ipps") ? HTTP_ENCRYPTION_ALWAYS : HTTP_ENCRYPTION_IF_REQUESTED, 1, 30000, NULL); + if (!http) + { + printf("Unable to connect to \"%s:%d\": %s\n", host, port, cupsLastErrorString()); + return (1); + } + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, argv[1]); + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", sizeof(pattrs) / sizeof(pattrs[0]), NULL, pattrs); + response = cupsDoRequest(http, request, resource); + + if (_ppdCreateFromIPP(buffer, sizeof(buffer), response)) + printf("Created PPD: %s\n", buffer); + else + puts("Unable to create PPD."); + + ippDelete(response); + httpClose(http); + return (0); + } + else + { + const char *filename; /* PPD filename */ + struct stat fileinfo; /* File information */ + + + if (strchr(argv[1], ':')) + { + /* + * Server PPD... + */ + + if ((filename = cupsGetServerPPD(CUPS_HTTP_DEFAULT, argv[1])) == NULL) + { + printf("%s: %s\n", argv[1], cupsLastErrorString()); + return (1); + } + } + else if (!strncmp(argv[1], "-d", 2)) + { + const char *printer; /* Printer name */ + + if (argv[1][2]) + printer = argv[1] + 2; + else if (argv[2]) + printer = argv[2]; + else + { + puts("Usage: ./testppd -d printer"); + return (1); + } + + filename = cupsGetPPD(printer); + + if (!filename) + { + printf("%s: %s\n", printer, cupsLastErrorString()); + return (1); + } + } + else + filename = argv[1]; + + if (lstat(filename, &fileinfo)) + { + printf("%s: %s\n", filename, strerror(errno)); + return (1); + } + + if (S_ISLNK(fileinfo.st_mode)) + { + char realfile[1024]; /* Real file path */ + ssize_t realsize; /* Size of real file path */ + + + if ((realsize = readlink(filename, realfile, sizeof(realfile) - 1)) < 0) + strlcpy(realfile, "Unknown", sizeof(realfile)); + else + realfile[realsize] = '\0'; + + if (stat(realfile, &fileinfo)) + printf("%s: symlink to \"%s\", %s\n", filename, realfile, + strerror(errno)); + else + printf("%s: symlink to \"%s\", %ld bytes\n", filename, realfile, + (long)fileinfo.st_size); + } + else + printf("%s: regular file, %ld bytes\n", filename, (long)fileinfo.st_size); + + if ((ppd = ppdOpenFile(filename)) == NULL) + { + ppd_status_t err; /* Last error in file */ + int line; /* Line number in file */ + + + status ++; + err = ppdLastError(&line); + + printf("%s: %s on line %d\n", argv[1], ppdErrorString(err), line); + } + else + { + int j, k; /* Looping vars */ + ppd_group_t *group; /* Option group */ + ppd_option_t *option; /* Option */ + ppd_coption_t *coption; /* Custom option */ + ppd_cparam_t *cparam; /* Custom parameter */ + ppd_const_t *c; /* UIConstraints */ + char lang[255], /* LANG environment variable */ + lc_all[255], /* LC_ALL environment variable */ + lc_ctype[255], /* LC_CTYPE environment variable */ + lc_messages[255];/* LC_MESSAGES environment variable */ + + + if (argc > 2) + { + snprintf(lang, sizeof(lang), "LANG=%s", argv[2]); + putenv(lang); + snprintf(lc_all, sizeof(lc_all), "LC_ALL=%s", argv[2]); + putenv(lc_all); + snprintf(lc_ctype, sizeof(lc_ctype), "LC_CTYPE=%s", argv[2]); + putenv(lc_ctype); + snprintf(lc_messages, sizeof(lc_messages), "LC_MESSAGES=%s", argv[2]); + putenv(lc_messages); + } + + ppdLocalize(ppd); + ppdMarkDefaults(ppd); + + if (argc > 3) + { + text = ppdLocalizeIPPReason(ppd, argv[3], NULL, buffer, sizeof(buffer)); + printf("ppdLocalizeIPPReason(%s)=%s\n", argv[3], + text ? text : "(null)"); + return (text == NULL); + } + + for (i = ppd->num_groups, group = ppd->groups; + i > 0; + i --, group ++) + { + printf("%s (%s):\n", group->name, group->text); + + for (j = group->num_options, option = group->options; + j > 0; + j --, option ++) + { + printf(" %s (%s):\n", option->keyword, option->text); + + for (k = 0; k < option->num_choices; k ++) + printf(" - %s%s (%s)\n", + option->choices[k].marked ? "*" : "", + option->choices[k].choice, option->choices[k].text); + + if ((coption = ppdFindCustomOption(ppd, option->keyword)) != NULL) + { + for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); + cparam; + cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) + { + switch (cparam->type) + { + case PPD_CUSTOM_UNKNOWN : + printf(" %s(%s): PPD_CUSTOM_UNKNOWN (error)\n", cparam->name, cparam->text); + break; + + case PPD_CUSTOM_CURVE : + printf(" %s(%s): PPD_CUSTOM_CURVE (%g to %g)\n", + cparam->name, cparam->text, + cparam->minimum.custom_curve, + cparam->maximum.custom_curve); + break; + + case PPD_CUSTOM_INT : + printf(" %s(%s): PPD_CUSTOM_INT (%d to %d)\n", + cparam->name, cparam->text, + cparam->minimum.custom_int, + cparam->maximum.custom_int); + break; + + case PPD_CUSTOM_INVCURVE : + printf(" %s(%s): PPD_CUSTOM_INVCURVE (%g to %g)\n", + cparam->name, cparam->text, + cparam->minimum.custom_invcurve, + cparam->maximum.custom_invcurve); + break; + + case PPD_CUSTOM_PASSCODE : + printf(" %s(%s): PPD_CUSTOM_PASSCODE (%d to %d)\n", + cparam->name, cparam->text, + cparam->minimum.custom_passcode, + cparam->maximum.custom_passcode); + break; + + case PPD_CUSTOM_PASSWORD : + printf(" %s(%s): PPD_CUSTOM_PASSWORD (%d to %d)\n", + cparam->name, cparam->text, + cparam->minimum.custom_password, + cparam->maximum.custom_password); + break; + + case PPD_CUSTOM_POINTS : + printf(" %s(%s): PPD_CUSTOM_POINTS (%g to %g)\n", + cparam->name, cparam->text, + cparam->minimum.custom_points, + cparam->maximum.custom_points); + break; + + case PPD_CUSTOM_REAL : + printf(" %s(%s): PPD_CUSTOM_REAL (%g to %g)\n", + cparam->name, cparam->text, + cparam->minimum.custom_real, + cparam->maximum.custom_real); + break; + + case PPD_CUSTOM_STRING : + printf(" %s(%s): PPD_CUSTOM_STRING (%d to %d)\n", + cparam->name, cparam->text, + cparam->minimum.custom_string, + cparam->maximum.custom_string); + break; + } + } + } + } + } + + puts("\nSizes:"); + for (i = ppd->num_sizes, size = ppd->sizes; i > 0; i --, size ++) + printf(" %s = %gx%g, [%g %g %g %g]\n", size->name, size->width, + size->length, size->left, size->bottom, size->right, size->top); + + puts("\nConstraints:"); + + for (i = ppd->num_consts, c = ppd->consts; i > 0; i --, c ++) + printf(" *UIConstraints: *%s %s *%s %s\n", c->option1, c->choice1, + c->option2, c->choice2); + if (ppd->num_consts == 0) + puts(" NO CONSTRAINTS"); + + puts("\nFilters:"); + + for (i = 0; i < ppd->num_filters; i ++) + printf(" %s\n", ppd->filters[i]); + + if (ppd->num_filters == 0) + puts(" NO FILTERS"); + + puts("\nAttributes:"); + + for (attr = (ppd_attr_t *)cupsArrayFirst(ppd->sorted_attrs); + attr; + attr = (ppd_attr_t *)cupsArrayNext(ppd->sorted_attrs)) + printf(" *%s %s/%s: \"%s\"\n", attr->name, attr->spec, + attr->text, attr->value ? attr->value : ""); + + puts("\nPPD Cache:"); + if ((pc = _ppdCacheCreateWithPPD(ppd)) == NULL) + printf(" Unable to create: %s\n", cupsLastErrorString()); + else + { + _ppdCacheWriteFile(pc, "t.cache", NULL); + puts(" Wrote t.cache."); + } + } + + if (!strncmp(argv[1], "-d", 2)) + unlink(filename); + } + +#ifdef __APPLE__ + if (getenv("MallocStackLogging") && getenv("MallocStackLoggingNoCompact")) + { + char command[1024]; /* malloc_history command */ + + snprintf(command, sizeof(command), "malloc_history %d -all_by_size", + getpid()); + fflush(stdout); + system(command); + } +#endif /* __APPLE__ */ + + ppdClose(ppd); + + return (status); +} + + +/* + * 'do_ppd_tests()' - Test the default option commands in a PPD file. + */ + +static int /* O - Number of errors */ +do_ppd_tests(const char *filename, /* I - PPD file */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + ppd_file_t *ppd; /* PPD file data */ + cups_page_header2_t header; /* Page header */ + + + printf("\"%s\": ", filename); + fflush(stdout); + + if ((ppd = ppdOpenFile(filename)) == NULL) + { + ppd_status_t status; /* Status from PPD loader */ + int line; /* Line number containing error */ + + + status = ppdLastError(&line); + + puts("FAIL (bad PPD file)"); + printf(" %s on line %d\n", ppdErrorString(status), line); + + return (1); + } + + ppdMarkDefaults(ppd); + cupsMarkOptions(ppd, num_options, options); + + if (cupsRasterInterpretPPD(&header, ppd, 0, NULL, NULL)) + { + puts("FAIL (error from function)"); + puts(cupsRasterErrorString()); + + return (1); + } + else + { + puts("PASS"); + + return (0); + } +} + + +/* + * 'do_ps_tests()' - Test standard PostScript commands. + */ + +static int +do_ps_tests(void) +{ + cups_page_header2_t header; /* Page header */ + int preferred_bits; /* Preferred bits */ + int errors = 0; /* Number of errors */ + + + /* + * Test PS exec code... + */ + + fputs("_cupsRasterExecPS(\"setpagedevice\"): ", stdout); + fflush(stdout); + + memset(&header, 0, sizeof(header)); + header.Collate = CUPS_TRUE; + preferred_bits = 0; + + if (_cupsRasterExecPS(&header, &preferred_bits, setpagedevice_code)) + { + puts("FAIL (error from function)"); + puts(cupsRasterErrorString()); + errors ++; + } + else if (preferred_bits != 17 || + memcmp(&header, &setpagedevice_header, sizeof(header))) + { + puts("FAIL (bad header)"); + + if (preferred_bits != 17) + printf(" cupsPreferredBitsPerColor %d, expected 17\n", + preferred_bits); + + print_changes(&setpagedevice_header, &header); + errors ++; + } + else + puts("PASS"); + + fputs("_cupsRasterExecPS(\"roll\"): ", stdout); + fflush(stdout); + + if (_cupsRasterExecPS(&header, &preferred_bits, + "792 612 0 0 0\n" + "pop pop pop\n" + "<>" + "setpagedevice\n")) + { + puts("FAIL (error from function)"); + puts(cupsRasterErrorString()); + errors ++; + } + else if (header.PageSize[0] != 792 || header.PageSize[1] != 612) + { + printf("FAIL (PageSize [%d %d], expected [792 612])\n", header.PageSize[0], + header.PageSize[1]); + errors ++; + } + else + puts("PASS"); + + fputs("_cupsRasterExecPS(\"dup index\"): ", stdout); + fflush(stdout); + + if (_cupsRasterExecPS(&header, &preferred_bits, + "true false dup\n" + "<>setpagedevice\n" + "pop pop pop")) + { + puts("FAIL (error from function)"); + puts(cupsRasterErrorString()); + errors ++; + } + else + { + if (!header.Collate) + { + printf("FAIL (Collate false, expected true)\n"); + errors ++; + } + + if (header.Duplex) + { + printf("FAIL (Duplex true, expected false)\n"); + errors ++; + } + + if (header.Tumble) + { + printf("FAIL (Tumble true, expected false)\n"); + errors ++; + } + + if(header.Collate && !header.Duplex && !header.Tumble) + puts("PASS"); + } + + fputs("_cupsRasterExecPS(\"%%Begin/EndFeature code\"): ", stdout); + fflush(stdout); + + if (_cupsRasterExecPS(&header, &preferred_bits, dsc_code)) + { + puts("FAIL (error from function)"); + puts(cupsRasterErrorString()); + errors ++; + } + else if (header.PageSize[0] != 792 || header.PageSize[1] != 1224) + { + printf("FAIL (bad PageSize [%d %d], expected [792 1224])\n", + header.PageSize[0], header.PageSize[1]); + errors ++; + } + else + puts("PASS"); + + return (errors); +} + + + + +/* + * 'print_changes()' - Print differences in the page header. + */ + +static void +print_changes( + cups_page_header2_t *header, /* I - Actual page header */ + cups_page_header2_t *expected) /* I - Expected page header */ +{ + int i; /* Looping var */ + + + if (strcmp(header->MediaClass, expected->MediaClass)) + printf(" MediaClass (%s), expected (%s)\n", header->MediaClass, + expected->MediaClass); + + if (strcmp(header->MediaColor, expected->MediaColor)) + printf(" MediaColor (%s), expected (%s)\n", header->MediaColor, + expected->MediaColor); + + if (strcmp(header->MediaType, expected->MediaType)) + printf(" MediaType (%s), expected (%s)\n", header->MediaType, + expected->MediaType); + + if (strcmp(header->OutputType, expected->OutputType)) + printf(" OutputType (%s), expected (%s)\n", header->OutputType, + expected->OutputType); + + if (header->AdvanceDistance != expected->AdvanceDistance) + printf(" AdvanceDistance %d, expected %d\n", header->AdvanceDistance, + expected->AdvanceDistance); + + if (header->AdvanceMedia != expected->AdvanceMedia) + printf(" AdvanceMedia %d, expected %d\n", header->AdvanceMedia, + expected->AdvanceMedia); + + if (header->Collate != expected->Collate) + printf(" Collate %d, expected %d\n", header->Collate, + expected->Collate); + + if (header->CutMedia != expected->CutMedia) + printf(" CutMedia %d, expected %d\n", header->CutMedia, + expected->CutMedia); + + if (header->Duplex != expected->Duplex) + printf(" Duplex %d, expected %d\n", header->Duplex, + expected->Duplex); + + if (header->HWResolution[0] != expected->HWResolution[0] || + header->HWResolution[1] != expected->HWResolution[1]) + printf(" HWResolution [%d %d], expected [%d %d]\n", + header->HWResolution[0], header->HWResolution[1], + expected->HWResolution[0], expected->HWResolution[1]); + + if (memcmp(header->ImagingBoundingBox, expected->ImagingBoundingBox, + sizeof(header->ImagingBoundingBox))) + printf(" ImagingBoundingBox [%d %d %d %d], expected [%d %d %d %d]\n", + header->ImagingBoundingBox[0], + header->ImagingBoundingBox[1], + header->ImagingBoundingBox[2], + header->ImagingBoundingBox[3], + expected->ImagingBoundingBox[0], + expected->ImagingBoundingBox[1], + expected->ImagingBoundingBox[2], + expected->ImagingBoundingBox[3]); + + if (header->InsertSheet != expected->InsertSheet) + printf(" InsertSheet %d, expected %d\n", header->InsertSheet, + expected->InsertSheet); + + if (header->Jog != expected->Jog) + printf(" Jog %d, expected %d\n", header->Jog, + expected->Jog); + + if (header->LeadingEdge != expected->LeadingEdge) + printf(" LeadingEdge %d, expected %d\n", header->LeadingEdge, + expected->LeadingEdge); + + if (header->Margins[0] != expected->Margins[0] || + header->Margins[1] != expected->Margins[1]) + printf(" Margins [%d %d], expected [%d %d]\n", + header->Margins[0], header->Margins[1], + expected->Margins[0], expected->Margins[1]); + + if (header->ManualFeed != expected->ManualFeed) + printf(" ManualFeed %d, expected %d\n", header->ManualFeed, + expected->ManualFeed); + + if (header->MediaPosition != expected->MediaPosition) + printf(" MediaPosition %d, expected %d\n", header->MediaPosition, + expected->MediaPosition); + + if (header->MediaWeight != expected->MediaWeight) + printf(" MediaWeight %d, expected %d\n", header->MediaWeight, + expected->MediaWeight); + + if (header->MirrorPrint != expected->MirrorPrint) + printf(" MirrorPrint %d, expected %d\n", header->MirrorPrint, + expected->MirrorPrint); + + if (header->NegativePrint != expected->NegativePrint) + printf(" NegativePrint %d, expected %d\n", header->NegativePrint, + expected->NegativePrint); + + if (header->NumCopies != expected->NumCopies) + printf(" NumCopies %d, expected %d\n", header->NumCopies, + expected->NumCopies); + + if (header->Orientation != expected->Orientation) + printf(" Orientation %d, expected %d\n", header->Orientation, + expected->Orientation); + + if (header->OutputFaceUp != expected->OutputFaceUp) + printf(" OutputFaceUp %d, expected %d\n", header->OutputFaceUp, + expected->OutputFaceUp); + + if (header->PageSize[0] != expected->PageSize[0] || + header->PageSize[1] != expected->PageSize[1]) + printf(" PageSize [%d %d], expected [%d %d]\n", + header->PageSize[0], header->PageSize[1], + expected->PageSize[0], expected->PageSize[1]); + + if (header->Separations != expected->Separations) + printf(" Separations %d, expected %d\n", header->Separations, + expected->Separations); + + if (header->TraySwitch != expected->TraySwitch) + printf(" TraySwitch %d, expected %d\n", header->TraySwitch, + expected->TraySwitch); + + if (header->Tumble != expected->Tumble) + printf(" Tumble %d, expected %d\n", header->Tumble, + expected->Tumble); + + if (header->cupsWidth != expected->cupsWidth) + printf(" cupsWidth %d, expected %d\n", header->cupsWidth, + expected->cupsWidth); + + if (header->cupsHeight != expected->cupsHeight) + printf(" cupsHeight %d, expected %d\n", header->cupsHeight, + expected->cupsHeight); + + if (header->cupsMediaType != expected->cupsMediaType) + printf(" cupsMediaType %d, expected %d\n", header->cupsMediaType, + expected->cupsMediaType); + + if (header->cupsBitsPerColor != expected->cupsBitsPerColor) + printf(" cupsBitsPerColor %d, expected %d\n", header->cupsBitsPerColor, + expected->cupsBitsPerColor); + + if (header->cupsBitsPerPixel != expected->cupsBitsPerPixel) + printf(" cupsBitsPerPixel %d, expected %d\n", header->cupsBitsPerPixel, + expected->cupsBitsPerPixel); + + if (header->cupsBytesPerLine != expected->cupsBytesPerLine) + printf(" cupsBytesPerLine %d, expected %d\n", header->cupsBytesPerLine, + expected->cupsBytesPerLine); + + if (header->cupsColorOrder != expected->cupsColorOrder) + printf(" cupsColorOrder %d, expected %d\n", header->cupsColorOrder, + expected->cupsColorOrder); + + if (header->cupsColorSpace != expected->cupsColorSpace) + printf(" cupsColorSpace %s, expected %s\n", _cupsRasterColorSpaceString(header->cupsColorSpace), + _cupsRasterColorSpaceString(expected->cupsColorSpace)); + + if (header->cupsCompression != expected->cupsCompression) + printf(" cupsCompression %d, expected %d\n", header->cupsCompression, + expected->cupsCompression); + + if (header->cupsRowCount != expected->cupsRowCount) + printf(" cupsRowCount %d, expected %d\n", header->cupsRowCount, + expected->cupsRowCount); + + if (header->cupsRowFeed != expected->cupsRowFeed) + printf(" cupsRowFeed %d, expected %d\n", header->cupsRowFeed, + expected->cupsRowFeed); + + if (header->cupsRowStep != expected->cupsRowStep) + printf(" cupsRowStep %d, expected %d\n", header->cupsRowStep, + expected->cupsRowStep); + + if (header->cupsNumColors != expected->cupsNumColors) + printf(" cupsNumColors %d, expected %d\n", header->cupsNumColors, + expected->cupsNumColors); + + if (fabs(header->cupsBorderlessScalingFactor - expected->cupsBorderlessScalingFactor) > 0.001) + printf(" cupsBorderlessScalingFactor %g, expected %g\n", + header->cupsBorderlessScalingFactor, + expected->cupsBorderlessScalingFactor); + + if (fabs(header->cupsPageSize[0] - expected->cupsPageSize[0]) > 0.001 || + fabs(header->cupsPageSize[1] - expected->cupsPageSize[1]) > 0.001) + printf(" cupsPageSize [%g %g], expected [%g %g]\n", + header->cupsPageSize[0], header->cupsPageSize[1], + expected->cupsPageSize[0], expected->cupsPageSize[1]); + + if (fabs(header->cupsImagingBBox[0] - expected->cupsImagingBBox[0]) > 0.001 || + fabs(header->cupsImagingBBox[1] - expected->cupsImagingBBox[1]) > 0.001 || + fabs(header->cupsImagingBBox[2] - expected->cupsImagingBBox[2]) > 0.001 || + fabs(header->cupsImagingBBox[3] - expected->cupsImagingBBox[3]) > 0.001) + printf(" cupsImagingBBox [%g %g %g %g], expected [%g %g %g %g]\n", + header->cupsImagingBBox[0], header->cupsImagingBBox[1], + header->cupsImagingBBox[2], header->cupsImagingBBox[3], + expected->cupsImagingBBox[0], expected->cupsImagingBBox[1], + expected->cupsImagingBBox[2], expected->cupsImagingBBox[3]); + + for (i = 0; i < 16; i ++) + if (header->cupsInteger[i] != expected->cupsInteger[i]) + printf(" cupsInteger%d %d, expected %d\n", i, header->cupsInteger[i], + expected->cupsInteger[i]); + + for (i = 0; i < 16; i ++) + if (fabs(header->cupsReal[i] - expected->cupsReal[i]) > 0.001) + printf(" cupsReal%d %g, expected %g\n", i, header->cupsReal[i], + expected->cupsReal[i]); + + for (i = 0; i < 16; i ++) + if (strcmp(header->cupsString[i], expected->cupsString[i])) + printf(" cupsString%d (%s), expected (%s)\n", i, + header->cupsString[i], expected->cupsString[i]); + + if (strcmp(header->cupsMarkerType, expected->cupsMarkerType)) + printf(" cupsMarkerType (%s), expected (%s)\n", header->cupsMarkerType, + expected->cupsMarkerType); + + if (strcmp(header->cupsRenderingIntent, expected->cupsRenderingIntent)) + printf(" cupsRenderingIntent (%s), expected (%s)\n", + header->cupsRenderingIntent, + expected->cupsRenderingIntent); + + if (strcmp(header->cupsPageSizeName, expected->cupsPageSizeName)) + printf(" cupsPageSizeName (%s), expected (%s)\n", + header->cupsPageSizeName, + expected->cupsPageSizeName); +} diff --git a/cups/testpwg.c b/cups/testpwg.c new file mode 100644 index 0000000..6473c8c --- /dev/null +++ b/cups/testpwg.c @@ -0,0 +1,565 @@ +/* + * PWG unit test program for CUPS. + * + * Copyright 2009-2016 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "ppd-private.h" +#include "file-private.h" + + +/* + * Local functions... + */ + +static int test_pagesize(_ppd_cache_t *pc, ppd_file_t *ppd, + const char *ppdsize); +static int test_ppd_cache(_ppd_cache_t *pc, ppd_file_t *ppd); + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int status; /* Status of tests (0 = success, 1 = fail) */ + const char *ppdfile; /* PPD filename */ + ppd_file_t *ppd; /* PPD file */ + _ppd_cache_t *pc; /* PPD cache and PWG mapping data */ + const pwg_media_t *pwgmedia; /* PWG media size */ + size_t i, /* Looping var */ + num_media; /* Number of media sizes */ + const pwg_media_t *mediatable; /* Media size table */ + int dupmedia = 0; /* Duplicate media sizes? */ + + + status = 0; + + if (argc < 2 || argc > 3) + { + puts("Usage: ./testpwg filename.ppd [jobfile]"); + return (1); + } + + ppdfile = argv[1]; + + printf("ppdOpenFile(%s): ", ppdfile); + if ((ppd = ppdOpenFile(ppdfile)) == NULL) + { + ppd_status_t err; /* Last error in file */ + int line; /* Line number in file */ + + + err = ppdLastError(&line); + + printf("FAIL (%s on line %d)\n", ppdErrorString(err), line); + + return (1); + } + else + puts("PASS"); + + fputs("_ppdCacheCreateWithPPD(ppd): ", stdout); + if ((pc = _ppdCacheCreateWithPPD(ppd)) == NULL) + { + puts("FAIL"); + status ++; + } + else + { + puts("PASS"); + status += test_ppd_cache(pc, ppd); + + if (argc == 3) + { + /* + * Test PageSize mapping code. + */ + + int fd; /* Job file descriptor */ + const char *pagesize; /* PageSize value */ + ipp_t *job; /* Job attributes */ + ipp_attribute_t *media; /* Media attribute */ + + if ((fd = open(argv[2], O_RDONLY)) >= 0) + { + job = ippNew(); + ippReadFile(fd, job); + close(fd); + + if ((media = ippFindAttribute(job, "media", IPP_TAG_ZERO)) != NULL && + media->value_tag != IPP_TAG_NAME && + media->value_tag != IPP_TAG_KEYWORD) + media = NULL; + + if (media) + printf("_ppdCacheGetPageSize(media=%s): ", + media->values[0].string.text); + else + fputs("_ppdCacheGetPageSize(media-col): ", stdout); + + fflush(stdout); + + if ((pagesize = _ppdCacheGetPageSize(pc, job, NULL, NULL)) == NULL) + { + puts("FAIL (Not Found)"); + status = 1; + } + else if (media && _cups_strcasecmp(pagesize, media->values[0].string.text)) + { + printf("FAIL (Got \"%s\", Expected \"%s\")\n", pagesize, + media->values[0].string.text); + status = 1; + } + else + printf("PASS (%s)\n", pagesize); + + ippDelete(job); + } + else + { + perror(argv[2]); + status = 1; + } + } + + /* + * _ppdCacheDestroy should never fail... + */ + + fputs("_ppdCacheDestroy(pc): ", stdout); + _ppdCacheDestroy(pc); + puts("PASS"); + } + + fputs("pwgMediaForPWG(\"iso_a4_210x297mm\"): ", stdout); + if ((pwgmedia = pwgMediaForPWG("iso_a4_210x297mm")) == NULL) + { + puts("FAIL (not found)"); + status ++; + } + else if (strcmp(pwgmedia->pwg, "iso_a4_210x297mm")) + { + printf("FAIL (%s)\n", pwgmedia->pwg); + status ++; + } + else if (pwgmedia->width != 21000 || pwgmedia->length != 29700) + { + printf("FAIL (%dx%d)\n", pwgmedia->width, pwgmedia->length); + status ++; + } + else + puts("PASS"); + + fputs("pwgMediaForPWG(\"roll_max_36.1025x3622.0472in\"): ", stdout); + if ((pwgmedia = pwgMediaForPWG("roll_max_36.1025x3622.0472in")) == NULL) + { + puts("FAIL (not found)"); + status ++; + } + else if (pwgmedia->width != 91700 || pwgmedia->length != 9199999) + { + printf("FAIL (%dx%d)\n", pwgmedia->width, pwgmedia->length); + status ++; + } + else + printf("PASS (%dx%d)\n", pwgmedia->width, pwgmedia->length); + + fputs("pwgMediaForPWG(\"disc_test_10x100mm\"): ", stdout); + if ((pwgmedia = pwgMediaForPWG("disc_test_10x100mm")) == NULL) + { + puts("FAIL (not found)"); + status ++; + } + else if (pwgmedia->width != 10000 || pwgmedia->length != 10000) + { + printf("FAIL (%dx%d)\n", pwgmedia->width, pwgmedia->length); + status ++; + } + else + printf("PASS (%dx%d)\n", pwgmedia->width, pwgmedia->length); + + fputs("pwgMediaForLegacy(\"na-letter\"): ", stdout); + if ((pwgmedia = pwgMediaForLegacy("na-letter")) == NULL) + { + puts("FAIL (not found)"); + status ++; + } + else if (strcmp(pwgmedia->pwg, "na_letter_8.5x11in")) + { + printf("FAIL (%s)\n", pwgmedia->pwg); + status ++; + } + else if (pwgmedia->width != 21590 || pwgmedia->length != 27940) + { + printf("FAIL (%dx%d)\n", pwgmedia->width, pwgmedia->length); + status ++; + } + else + puts("PASS"); + + fputs("pwgMediaForPPD(\"4x6\"): ", stdout); + if ((pwgmedia = pwgMediaForPPD("4x6")) == NULL) + { + puts("FAIL (not found)"); + status ++; + } + else if (strcmp(pwgmedia->pwg, "na_index-4x6_4x6in")) + { + printf("FAIL (%s)\n", pwgmedia->pwg); + status ++; + } + else if (pwgmedia->width != 10160 || pwgmedia->length != 15240) + { + printf("FAIL (%dx%d)\n", pwgmedia->width, pwgmedia->length); + status ++; + } + else + puts("PASS"); + + fputs("pwgMediaForPPD(\"10x15cm\"): ", stdout); + if ((pwgmedia = pwgMediaForPPD("10x15cm")) == NULL) + { + puts("FAIL (not found)"); + status ++; + } + else if (strcmp(pwgmedia->pwg, "om_100x150mm_100x150mm")) + { + printf("FAIL (%s)\n", pwgmedia->pwg); + status ++; + } + else if (pwgmedia->width != 10000 || pwgmedia->length != 15000) + { + printf("FAIL (%dx%d)\n", pwgmedia->width, pwgmedia->length); + status ++; + } + else + puts("PASS"); + + fputs("pwgMediaForPPD(\"Custom.10x15cm\"): ", stdout); + if ((pwgmedia = pwgMediaForPPD("Custom.10x15cm")) == NULL) + { + puts("FAIL (not found)"); + status ++; + } + else if (strcmp(pwgmedia->pwg, "custom_10x15cm_100x150mm")) + { + printf("FAIL (%s)\n", pwgmedia->pwg); + status ++; + } + else if (pwgmedia->width != 10000 || pwgmedia->length != 15000) + { + printf("FAIL (%dx%d)\n", pwgmedia->width, pwgmedia->length); + status ++; + } + else + puts("PASS"); + + fputs("pwgMediaForSize(29700, 42000): ", stdout); + if ((pwgmedia = pwgMediaForSize(29700, 42000)) == NULL) + { + puts("FAIL (not found)"); + status ++; + } + else if (strcmp(pwgmedia->pwg, "iso_a3_297x420mm")) + { + printf("FAIL (%s)\n", pwgmedia->pwg); + status ++; + } + else + puts("PASS"); + + fputs("pwgMediaForSize(9842, 19050): ", stdout); + if ((pwgmedia = pwgMediaForSize(9842, 19050)) == NULL) + { + puts("FAIL (not found)"); + status ++; + } + else if (strcmp(pwgmedia->pwg, "na_monarch_3.875x7.5in")) + { + printf("FAIL (%s)\n", pwgmedia->pwg); + status ++; + } + else + printf("PASS (%s)\n", pwgmedia->pwg); + + fputs("pwgMediaForSize(9800, 19000): ", stdout); + if ((pwgmedia = pwgMediaForSize(9800, 19000)) == NULL) + { + puts("FAIL (not found)"); + status ++; + } + else if (strcmp(pwgmedia->pwg, "jpn_you6_98x190mm")) + { + printf("FAIL (%s)\n", pwgmedia->pwg); + status ++; + } + else + printf("PASS (%s)\n", pwgmedia->pwg); + + fputs("Duplicate size test: ", stdout); + for (mediatable = _pwgMediaTable(&num_media); + num_media > 1; + num_media --, mediatable ++) + { + for (i = num_media - 1, pwgmedia = mediatable + 1; i > 0; i --, pwgmedia ++) + { + if (pwgmedia->width == mediatable->width && + pwgmedia->length == mediatable->length) + { + if (!dupmedia) + { + dupmedia = 1; + status ++; + puts("FAIL"); + } + + printf(" %s and %s have the same dimensions (%dx%d)\n", + pwgmedia->pwg, mediatable->pwg, pwgmedia->width, + pwgmedia->length); + } + } + } + if (!dupmedia) + puts("PASS"); + + + return (status); +} + + +/* + * 'test_pagesize()' - Test the PWG mapping functions. + */ + +static int /* O - 1 on failure, 0 on success */ +test_pagesize(_ppd_cache_t *pc, /* I - PWG mapping data */ + ppd_file_t *ppd, /* I - PPD file */ + const char *ppdsize) /* I - PPD page size */ +{ + int status = 0; /* Return status */ + ipp_t *job; /* Job attributes */ + const char *pagesize; /* PageSize value */ + + + if (ppdPageSize(ppd, ppdsize)) + { + printf("_ppdCacheGetPageSize(keyword=%s): ", ppdsize); + fflush(stdout); + + if ((pagesize = _ppdCacheGetPageSize(pc, NULL, ppdsize, NULL)) == NULL) + { + puts("FAIL (Not Found)"); + status = 1; + } + else if (_cups_strcasecmp(pagesize, ppdsize)) + { + printf("FAIL (Got \"%s\", Expected \"%s\")\n", pagesize, ppdsize); + status = 1; + } + else + puts("PASS"); + + job = ippNew(); + ippAddString(job, IPP_TAG_JOB, IPP_TAG_KEYWORD, "media", NULL, ppdsize); + + printf("_ppdCacheGetPageSize(media=%s): ", ppdsize); + fflush(stdout); + + if ((pagesize = _ppdCacheGetPageSize(pc, job, NULL, NULL)) == NULL) + { + puts("FAIL (Not Found)"); + status = 1; + } + else if (_cups_strcasecmp(pagesize, ppdsize)) + { + printf("FAIL (Got \"%s\", Expected \"%s\")\n", pagesize, ppdsize); + status = 1; + } + else + puts("PASS"); + + ippDelete(job); + } + + return (status); +} + + +/* + * 'test_ppd_cache()' - Test the PPD cache functions. + */ + +static int /* O - 1 on failure, 0 on success */ +test_ppd_cache(_ppd_cache_t *pc, /* I - PWG mapping data */ + ppd_file_t *ppd) /* I - PPD file */ +{ + int i, /* Looping var */ + status = 0; /* Return status */ + _ppd_cache_t *pc2; /* Loaded data */ + pwg_size_t *size, /* Size from original */ + *size2; /* Size from saved */ + pwg_map_t *map, /* Map from original */ + *map2; /* Map from saved */ + + + /* + * Verify that we can write and read back the same data... + */ + + fputs("_ppdCacheWriteFile(test.pwg): ", stdout); + if (!_ppdCacheWriteFile(pc, "test.pwg", NULL)) + { + puts("FAIL"); + status ++; + } + else + puts("PASS"); + + fputs("_ppdCacheCreateWithFile(test.pwg): ", stdout); + if ((pc2 = _ppdCacheCreateWithFile("test.pwg", NULL)) == NULL) + { + puts("FAIL"); + status ++; + } + else + { + // TODO: FINISH ADDING ALL VALUES IN STRUCTURE + if (pc2->num_sizes != pc->num_sizes) + { + if (!status) + puts("FAIL"); + + printf(" SAVED num_sizes=%d, ORIG num_sizes=%d\n", pc2->num_sizes, + pc->num_sizes); + + status ++; + } + else + { + for (i = pc->num_sizes, size = pc->sizes, size2 = pc2->sizes; + i > 0; + i --, size ++, size2 ++) + { + if (strcmp(size2->map.pwg, size->map.pwg) || + strcmp(size2->map.ppd, size->map.ppd) || + size2->width != size->width || + size2->length != size->length || + size2->left != size->left || + size2->bottom != size->bottom || + size2->right != size->right || + size2->top != size->top) + { + if (!status) + puts("FAIL"); + + if (strcmp(size->map.pwg, size2->map.pwg)) + printf(" SAVED size->map.pwg=\"%s\", ORIG " + "size->map.pwg=\"%s\"\n", size2->map.pwg, size->map.pwg); + + if (strcmp(size2->map.ppd, size->map.ppd)) + printf(" SAVED size->map.ppd=\"%s\", ORIG " + "size->map.ppd=\"%s\"\n", size2->map.ppd, size->map.ppd); + + if (size2->width != size->width) + printf(" SAVED size->width=%d, ORIG size->width=%d\n", + size2->width, size->width); + + if (size2->length != size->length) + printf(" SAVED size->length=%d, ORIG size->length=%d\n", + size2->length, size->length); + + if (size2->left != size->left) + printf(" SAVED size->left=%d, ORIG size->left=%d\n", + size2->left, size->left); + + if (size2->bottom != size->bottom) + printf(" SAVED size->bottom=%d, ORIG size->bottom=%d\n", + size2->bottom, size->bottom); + + if (size2->right != size->right) + printf(" SAVED size->right=%d, ORIG size->right=%d\n", + size2->right, size->right); + + if (size2->top != size->top) + printf(" SAVED size->top=%d, ORIG size->top=%d\n", + size2->top, size->top); + + status ++; + break; + } + } + + for (i = pc->num_sources, map = pc->sources, map2 = pc2->sources; + i > 0; + i --, map ++, map2 ++) + { + if (strcmp(map2->pwg, map->pwg) || + strcmp(map2->ppd, map->ppd)) + { + if (!status) + puts("FAIL"); + + if (strcmp(map->pwg, map2->pwg)) + printf(" SAVED source->pwg=\"%s\", ORIG source->pwg=\"%s\"\n", + map2->pwg, map->pwg); + + if (strcmp(map2->ppd, map->ppd)) + printf(" SAVED source->ppd=\"%s\", ORIG source->ppd=\"%s\"\n", + map2->ppd, map->ppd); + + status ++; + break; + } + } + + for (i = pc->num_types, map = pc->types, map2 = pc2->types; + i > 0; + i --, map ++, map2 ++) + { + if (strcmp(map2->pwg, map->pwg) || + strcmp(map2->ppd, map->ppd)) + { + if (!status) + puts("FAIL"); + + if (strcmp(map->pwg, map2->pwg)) + printf(" SAVED type->pwg=\"%s\", ORIG type->pwg=\"%s\"\n", + map2->pwg, map->pwg); + + if (strcmp(map2->ppd, map->ppd)) + printf(" SAVED type->ppd=\"%s\", ORIG type->ppd=\"%s\"\n", + map2->ppd, map->ppd); + + status ++; + break; + } + } + } + + if (!status) + puts("PASS"); + + _ppdCacheDestroy(pc2); + } + + /* + * Test PageSize mapping code... + */ + + status += test_pagesize(pc, ppd, "Letter"); + status += test_pagesize(pc, ppd, "na-letter"); + status += test_pagesize(pc, ppd, "A4"); + status += test_pagesize(pc, ppd, "iso-a4"); + + return (status); +} diff --git a/cups/testraster.c b/cups/testraster.c new file mode 100644 index 0000000..de72a4b --- /dev/null +++ b/cups/testraster.c @@ -0,0 +1,760 @@ +/* + * Raster test program routines for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include + + +/* + * Local functions... + */ + +static int do_ras_file(const char *filename); +static int do_raster_tests(cups_mode_t mode); +static void print_changes(cups_page_header2_t *header, cups_page_header2_t *expected); + + +/* + * 'main()' - Test the raster functions. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int errors = 0; /* Number of errors */ + + + if (argc == 1) + { + errors += do_raster_tests(CUPS_RASTER_WRITE); + errors += do_raster_tests(CUPS_RASTER_WRITE_COMPRESSED); + errors += do_raster_tests(CUPS_RASTER_WRITE_PWG); + errors += do_raster_tests(CUPS_RASTER_WRITE_APPLE); + } + else + { + int i; /* Looping var */ + + for (i = 1; i < argc; i ++) + errors += do_ras_file(argv[i]); + } + + return (errors); +} + + +/* + * 'do_ras_file()' - Test reading of a raster file. + */ + +static int /* O - Number of errors */ +do_ras_file(const char *filename) /* I - Filename */ +{ + unsigned y; /* Looping vars */ + int fd; /* File descriptor */ + cups_raster_t *ras; /* Raster stream */ + cups_page_header2_t header; /* Page header */ + unsigned char *data; /* Raster data */ + int errors = 0; /* Number of errors */ + unsigned pages = 0; /* Number of pages */ + + + if ((fd = open(filename, O_RDONLY)) < 0) + { + printf("%s: %s\n", filename, strerror(errno)); + return (1); + } + + if ((ras = cupsRasterOpen(fd, CUPS_RASTER_READ)) == NULL) + { + printf("%s: cupsRasterOpen failed.\n", filename); + close(fd); + return (1); + } + + printf("%s:\n", filename); + + while (cupsRasterReadHeader2(ras, &header)) + { + pages ++; + data = malloc(header.cupsBytesPerLine); + + printf(" Page %u: %ux%ux%u@%ux%udpi", pages, + header.cupsWidth, header.cupsHeight, header.cupsBitsPerPixel, + header.HWResolution[0], header.HWResolution[1]); + fflush(stdout); + + for (y = 0; y < header.cupsHeight; y ++) + if (cupsRasterReadPixels(ras, data, header.cupsBytesPerLine) < + header.cupsBytesPerLine) + break; + + if (y < header.cupsHeight) + printf(" ERROR AT LINE %d\n", y); + else + putchar('\n'); + + free(data); + } + + printf("EOF at %ld\n", (long)lseek(fd, SEEK_CUR, 0)); + + cupsRasterClose(ras); + close(fd); + + return (errors); +} + + +/* + * 'do_raster_tests()' - Test reading and writing of raster data. + */ + +static int /* O - Number of errors */ +do_raster_tests(cups_mode_t mode) /* O - Write mode */ +{ + unsigned page, x, y, count;/* Looping vars */ + FILE *fp; /* Raster file */ + cups_raster_t *r; /* Raster stream */ + cups_page_header2_t header, /* Page header */ + expected; /* Expected page header */ + unsigned char data[2048]; /* Raster data */ + int errors = 0; /* Number of errors */ + + + /* + * Test writing... + */ + + printf("cupsRasterOpen(%s): ", + mode == CUPS_RASTER_WRITE ? "CUPS_RASTER_WRITE" : + mode == CUPS_RASTER_WRITE_COMPRESSED ? "CUPS_RASTER_WRITE_COMPRESSED" : + mode == CUPS_RASTER_WRITE_PWG ? "CUPS_RASTER_WRITE_PWG" : + "CUPS_RASTER_WRITE_APPLE"); + fflush(stdout); + + if ((fp = fopen("test.raster", "wb")) == NULL) + { + printf("FAIL (%s)\n", strerror(errno)); + return (1); + } + + if ((r = cupsRasterOpen(fileno(fp), mode)) == NULL) + { + printf("FAIL (%s)\n", strerror(errno)); + fclose(fp); + return (1); + } + + puts("PASS"); + + for (page = 0; page < 4; page ++) + { + memset(&header, 0, sizeof(header)); + header.cupsWidth = 256; + header.cupsHeight = 256; + header.cupsBytesPerLine = 256; + header.HWResolution[0] = 64; + header.HWResolution[1] = 64; + header.PageSize[0] = 288; + header.PageSize[1] = 288; + header.cupsPageSize[0] = 288.0f; + header.cupsPageSize[1] = 288.0f; + + strlcpy(header.MediaType, "auto", sizeof(header.MediaType)); + + if (page & 1) + { + header.cupsBytesPerLine *= 4; + header.cupsColorSpace = CUPS_CSPACE_CMYK; + header.cupsColorOrder = CUPS_ORDER_CHUNKED; + header.cupsNumColors = 4; + } + else + { + header.cupsColorSpace = CUPS_CSPACE_W; + header.cupsColorOrder = CUPS_ORDER_CHUNKED; + header.cupsNumColors = 1; + } + + if (page & 2) + { + header.cupsBytesPerLine *= 2; + header.cupsBitsPerColor = 16; + header.cupsBitsPerPixel = (page & 1) ? 64 : 16; + } + else + { + header.cupsBitsPerColor = 8; + header.cupsBitsPerPixel = (page & 1) ? 32 : 8; + } + + printf("cupsRasterWriteHeader2(page %d): ", page + 1); + + if (cupsRasterWriteHeader2(r, &header)) + { + puts("PASS"); + } + else + { + puts("FAIL"); + errors ++; + } + + fputs("cupsRasterWritePixels: ", stdout); + fflush(stdout); + + memset(data, 0, header.cupsBytesPerLine); + for (y = 0; y < 64; y ++) + if (!cupsRasterWritePixels(r, data, header.cupsBytesPerLine)) + break; + + if (y < 64) + { + puts("FAIL"); + errors ++; + } + else + { + for (x = 0; x < header.cupsBytesPerLine; x ++) + data[x] = (unsigned char)x; + + for (y = 0; y < 64; y ++) + if (!cupsRasterWritePixels(r, data, header.cupsBytesPerLine)) + break; + + if (y < 64) + { + puts("FAIL"); + errors ++; + } + else + { + memset(data, 255, header.cupsBytesPerLine); + for (y = 0; y < 64; y ++) + if (!cupsRasterWritePixels(r, data, header.cupsBytesPerLine)) + break; + + if (y < 64) + { + puts("FAIL"); + errors ++; + } + else + { + for (x = 0; x < header.cupsBytesPerLine; x ++) + data[x] = (unsigned char)(x / 4); + + for (y = 0; y < 64; y ++) + if (!cupsRasterWritePixels(r, data, header.cupsBytesPerLine)) + break; + + if (y < 64) + { + puts("FAIL"); + errors ++; + } + else + puts("PASS"); + } + } + } + } + + cupsRasterClose(r); + fclose(fp); + + /* + * Test reading... + */ + + fputs("cupsRasterOpen(CUPS_RASTER_READ): ", stdout); + fflush(stdout); + + if ((fp = fopen("test.raster", "rb")) == NULL) + { + printf("FAIL (%s)\n", strerror(errno)); + return (1); + } + + if ((r = cupsRasterOpen(fileno(fp), CUPS_RASTER_READ)) == NULL) + { + printf("FAIL (%s)\n", strerror(errno)); + fclose(fp); + return (1); + } + + puts("PASS"); + + for (page = 0; page < 4; page ++) + { + memset(&expected, 0, sizeof(expected)); + expected.cupsWidth = 256; + expected.cupsHeight = 256; + expected.cupsBytesPerLine = 256; + expected.HWResolution[0] = 64; + expected.HWResolution[1] = 64; + expected.PageSize[0] = 288; + expected.PageSize[1] = 288; + + strlcpy(expected.MediaType, "auto", sizeof(expected.MediaType)); + + if (mode != CUPS_RASTER_WRITE_PWG) + { + expected.cupsPageSize[0] = 288.0f; + expected.cupsPageSize[1] = 288.0f; + } + + if (mode >= CUPS_RASTER_WRITE_PWG) + { + strlcpy(expected.MediaClass, "PwgRaster", sizeof(expected.MediaClass)); + expected.cupsInteger[7] = 0xffffff; + } + + if (page & 1) + { + expected.cupsBytesPerLine *= 4; + expected.cupsColorSpace = CUPS_CSPACE_CMYK; + expected.cupsColorOrder = CUPS_ORDER_CHUNKED; + expected.cupsNumColors = 4; + } + else + { + expected.cupsColorSpace = CUPS_CSPACE_W; + expected.cupsColorOrder = CUPS_ORDER_CHUNKED; + expected.cupsNumColors = 1; + } + + if (page & 2) + { + expected.cupsBytesPerLine *= 2; + expected.cupsBitsPerColor = 16; + expected.cupsBitsPerPixel = (page & 1) ? 64 : 16; + } + else + { + expected.cupsBitsPerColor = 8; + expected.cupsBitsPerPixel = (page & 1) ? 32 : 8; + } + + printf("cupsRasterReadHeader2(page %d): ", page + 1); + fflush(stdout); + + if (!cupsRasterReadHeader2(r, &header)) + { + puts("FAIL (read error)"); + errors ++; + break; + } + else if (memcmp(&header, &expected, sizeof(header))) + { + puts("FAIL (bad page header)"); + errors ++; + print_changes(&header, &expected); + } + else + puts("PASS"); + + fputs("cupsRasterReadPixels: ", stdout); + fflush(stdout); + + for (y = 0; y < 64; y ++) + { + if (!cupsRasterReadPixels(r, data, header.cupsBytesPerLine)) + { + puts("FAIL (read error)"); + errors ++; + break; + } + + if (data[0] != 0 || memcmp(data, data + 1, header.cupsBytesPerLine - 1)) + { + printf("FAIL (raster line %d corrupt)\n", y); + + for (x = 0, count = 0; x < header.cupsBytesPerLine && count < 10; x ++) + { + if (data[x]) + { + count ++; + + if (count == 10) + puts(" ..."); + else + printf(" %4u %02X (expected %02X)\n", x, data[x], 0); + } + } + + errors ++; + break; + } + } + + if (y == 64) + { + for (y = 0; y < 64; y ++) + { + if (!cupsRasterReadPixels(r, data, header.cupsBytesPerLine)) + { + puts("FAIL (read error)"); + errors ++; + break; + } + + for (x = 0; x < header.cupsBytesPerLine; x ++) + if (data[x] != (x & 255)) + break; + + if (x < header.cupsBytesPerLine) + { + printf("FAIL (raster line %d corrupt)\n", y + 64); + + for (x = 0, count = 0; x < header.cupsBytesPerLine && count < 10; x ++) + { + if (data[x] != (x & 255)) + { + count ++; + + if (count == 10) + puts(" ..."); + else + printf(" %4u %02X (expected %02X)\n", x, data[x], x & 255); + } + } + + errors ++; + break; + } + } + + if (y == 64) + { + for (y = 0; y < 64; y ++) + { + if (!cupsRasterReadPixels(r, data, header.cupsBytesPerLine)) + { + puts("FAIL (read error)"); + errors ++; + break; + } + + if (data[0] != 255 || memcmp(data, data + 1, header.cupsBytesPerLine - 1)) + { + printf("fail (raster line %d corrupt)\n", y + 128); + + for (x = 0, count = 0; x < header.cupsBytesPerLine && count < 10; x ++) + { + if (data[x] != 255) + { + count ++; + + if (count == 10) + puts(" ..."); + else + printf(" %4u %02X (expected %02X)\n", x, data[x], 255); + } + } + + errors ++; + break; + } + } + + if (y == 64) + { + for (y = 0; y < 64; y ++) + { + if (!cupsRasterReadPixels(r, data, header.cupsBytesPerLine)) + { + puts("FAIL (read error)"); + errors ++; + break; + } + + for (x = 0; x < header.cupsBytesPerLine; x ++) + if (data[x] != ((x / 4) & 255)) + break; + + if (x < header.cupsBytesPerLine) + { + printf("FAIL (raster line %d corrupt)\n", y + 192); + + for (x = 0, count = 0; x < header.cupsBytesPerLine && count < 10; x ++) + { + if (data[x] != ((x / 4) & 255)) + { + count ++; + + if (count == 10) + puts(" ..."); + else + printf(" %4u %02X (expected %02X)\n", x, data[x], (x / 4) & 255); + } + } + + errors ++; + break; + } + } + + if (y == 64) + puts("PASS"); + } + } + } + } + + cupsRasterClose(r); + fclose(fp); + + return (errors); +} + + +/* + * 'print_changes()' - Print differences in the page header. + */ + +static void +print_changes( + cups_page_header2_t *header, /* I - Actual page header */ + cups_page_header2_t *expected) /* I - Expected page header */ +{ + int i; /* Looping var */ + + + if (strcmp(header->MediaClass, expected->MediaClass)) + printf(" MediaClass (%s), expected (%s)\n", header->MediaClass, + expected->MediaClass); + + if (strcmp(header->MediaColor, expected->MediaColor)) + printf(" MediaColor (%s), expected (%s)\n", header->MediaColor, + expected->MediaColor); + + if (strcmp(header->MediaType, expected->MediaType)) + printf(" MediaType (%s), expected (%s)\n", header->MediaType, + expected->MediaType); + + if (strcmp(header->OutputType, expected->OutputType)) + printf(" OutputType (%s), expected (%s)\n", header->OutputType, + expected->OutputType); + + if (header->AdvanceDistance != expected->AdvanceDistance) + printf(" AdvanceDistance %d, expected %d\n", header->AdvanceDistance, + expected->AdvanceDistance); + + if (header->AdvanceMedia != expected->AdvanceMedia) + printf(" AdvanceMedia %d, expected %d\n", header->AdvanceMedia, + expected->AdvanceMedia); + + if (header->Collate != expected->Collate) + printf(" Collate %d, expected %d\n", header->Collate, + expected->Collate); + + if (header->CutMedia != expected->CutMedia) + printf(" CutMedia %d, expected %d\n", header->CutMedia, + expected->CutMedia); + + if (header->Duplex != expected->Duplex) + printf(" Duplex %d, expected %d\n", header->Duplex, + expected->Duplex); + + if (header->HWResolution[0] != expected->HWResolution[0] || + header->HWResolution[1] != expected->HWResolution[1]) + printf(" HWResolution [%d %d], expected [%d %d]\n", + header->HWResolution[0], header->HWResolution[1], + expected->HWResolution[0], expected->HWResolution[1]); + + if (memcmp(header->ImagingBoundingBox, expected->ImagingBoundingBox, + sizeof(header->ImagingBoundingBox))) + printf(" ImagingBoundingBox [%d %d %d %d], expected [%d %d %d %d]\n", + header->ImagingBoundingBox[0], + header->ImagingBoundingBox[1], + header->ImagingBoundingBox[2], + header->ImagingBoundingBox[3], + expected->ImagingBoundingBox[0], + expected->ImagingBoundingBox[1], + expected->ImagingBoundingBox[2], + expected->ImagingBoundingBox[3]); + + if (header->InsertSheet != expected->InsertSheet) + printf(" InsertSheet %d, expected %d\n", header->InsertSheet, + expected->InsertSheet); + + if (header->Jog != expected->Jog) + printf(" Jog %d, expected %d\n", header->Jog, + expected->Jog); + + if (header->LeadingEdge != expected->LeadingEdge) + printf(" LeadingEdge %d, expected %d\n", header->LeadingEdge, + expected->LeadingEdge); + + if (header->Margins[0] != expected->Margins[0] || + header->Margins[1] != expected->Margins[1]) + printf(" Margins [%d %d], expected [%d %d]\n", + header->Margins[0], header->Margins[1], + expected->Margins[0], expected->Margins[1]); + + if (header->ManualFeed != expected->ManualFeed) + printf(" ManualFeed %d, expected %d\n", header->ManualFeed, + expected->ManualFeed); + + if (header->MediaPosition != expected->MediaPosition) + printf(" MediaPosition %d, expected %d\n", header->MediaPosition, + expected->MediaPosition); + + if (header->MediaWeight != expected->MediaWeight) + printf(" MediaWeight %d, expected %d\n", header->MediaWeight, + expected->MediaWeight); + + if (header->MirrorPrint != expected->MirrorPrint) + printf(" MirrorPrint %d, expected %d\n", header->MirrorPrint, + expected->MirrorPrint); + + if (header->NegativePrint != expected->NegativePrint) + printf(" NegativePrint %d, expected %d\n", header->NegativePrint, + expected->NegativePrint); + + if (header->NumCopies != expected->NumCopies) + printf(" NumCopies %d, expected %d\n", header->NumCopies, + expected->NumCopies); + + if (header->Orientation != expected->Orientation) + printf(" Orientation %d, expected %d\n", header->Orientation, + expected->Orientation); + + if (header->OutputFaceUp != expected->OutputFaceUp) + printf(" OutputFaceUp %d, expected %d\n", header->OutputFaceUp, + expected->OutputFaceUp); + + if (header->PageSize[0] != expected->PageSize[0] || + header->PageSize[1] != expected->PageSize[1]) + printf(" PageSize [%d %d], expected [%d %d]\n", + header->PageSize[0], header->PageSize[1], + expected->PageSize[0], expected->PageSize[1]); + + if (header->Separations != expected->Separations) + printf(" Separations %d, expected %d\n", header->Separations, + expected->Separations); + + if (header->TraySwitch != expected->TraySwitch) + printf(" TraySwitch %d, expected %d\n", header->TraySwitch, + expected->TraySwitch); + + if (header->Tumble != expected->Tumble) + printf(" Tumble %d, expected %d\n", header->Tumble, + expected->Tumble); + + if (header->cupsWidth != expected->cupsWidth) + printf(" cupsWidth %d, expected %d\n", header->cupsWidth, + expected->cupsWidth); + + if (header->cupsHeight != expected->cupsHeight) + printf(" cupsHeight %d, expected %d\n", header->cupsHeight, + expected->cupsHeight); + + if (header->cupsMediaType != expected->cupsMediaType) + printf(" cupsMediaType %d, expected %d\n", header->cupsMediaType, + expected->cupsMediaType); + + if (header->cupsBitsPerColor != expected->cupsBitsPerColor) + printf(" cupsBitsPerColor %d, expected %d\n", header->cupsBitsPerColor, + expected->cupsBitsPerColor); + + if (header->cupsBitsPerPixel != expected->cupsBitsPerPixel) + printf(" cupsBitsPerPixel %d, expected %d\n", header->cupsBitsPerPixel, + expected->cupsBitsPerPixel); + + if (header->cupsBytesPerLine != expected->cupsBytesPerLine) + printf(" cupsBytesPerLine %d, expected %d\n", header->cupsBytesPerLine, + expected->cupsBytesPerLine); + + if (header->cupsColorOrder != expected->cupsColorOrder) + printf(" cupsColorOrder %d, expected %d\n", header->cupsColorOrder, + expected->cupsColorOrder); + + if (header->cupsColorSpace != expected->cupsColorSpace) + printf(" cupsColorSpace %d, expected %d\n", header->cupsColorSpace, + expected->cupsColorSpace); + + if (header->cupsCompression != expected->cupsCompression) + printf(" cupsCompression %d, expected %d\n", header->cupsCompression, + expected->cupsCompression); + + if (header->cupsRowCount != expected->cupsRowCount) + printf(" cupsRowCount %d, expected %d\n", header->cupsRowCount, + expected->cupsRowCount); + + if (header->cupsRowFeed != expected->cupsRowFeed) + printf(" cupsRowFeed %d, expected %d\n", header->cupsRowFeed, + expected->cupsRowFeed); + + if (header->cupsRowStep != expected->cupsRowStep) + printf(" cupsRowStep %d, expected %d\n", header->cupsRowStep, + expected->cupsRowStep); + + if (header->cupsNumColors != expected->cupsNumColors) + printf(" cupsNumColors %d, expected %d\n", header->cupsNumColors, + expected->cupsNumColors); + + if (fabs(header->cupsBorderlessScalingFactor - expected->cupsBorderlessScalingFactor) > 0.001) + printf(" cupsBorderlessScalingFactor %g, expected %g\n", + header->cupsBorderlessScalingFactor, + expected->cupsBorderlessScalingFactor); + + if (fabs(header->cupsPageSize[0] - expected->cupsPageSize[0]) > 0.001 || + fabs(header->cupsPageSize[1] - expected->cupsPageSize[1]) > 0.001) + printf(" cupsPageSize [%g %g], expected [%g %g]\n", + header->cupsPageSize[0], header->cupsPageSize[1], + expected->cupsPageSize[0], expected->cupsPageSize[1]); + + if (fabs(header->cupsImagingBBox[0] - expected->cupsImagingBBox[0]) > 0.001 || + fabs(header->cupsImagingBBox[1] - expected->cupsImagingBBox[1]) > 0.001 || + fabs(header->cupsImagingBBox[2] - expected->cupsImagingBBox[2]) > 0.001 || + fabs(header->cupsImagingBBox[3] - expected->cupsImagingBBox[3]) > 0.001) + printf(" cupsImagingBBox [%g %g %g %g], expected [%g %g %g %g]\n", + header->cupsImagingBBox[0], header->cupsImagingBBox[1], + header->cupsImagingBBox[2], header->cupsImagingBBox[3], + expected->cupsImagingBBox[0], expected->cupsImagingBBox[1], + expected->cupsImagingBBox[2], expected->cupsImagingBBox[3]); + + for (i = 0; i < 16; i ++) + if (header->cupsInteger[i] != expected->cupsInteger[i]) + printf(" cupsInteger%d %d, expected %d\n", i, header->cupsInteger[i], + expected->cupsInteger[i]); + + for (i = 0; i < 16; i ++) + if (fabs(header->cupsReal[i] - expected->cupsReal[i]) > 0.001) + printf(" cupsReal%d %g, expected %g\n", i, header->cupsReal[i], + expected->cupsReal[i]); + + for (i = 0; i < 16; i ++) + if (strcmp(header->cupsString[i], expected->cupsString[i])) + printf(" cupsString%d (%s), expected (%s)\n", i, + header->cupsString[i], expected->cupsString[i]); + + if (strcmp(header->cupsMarkerType, expected->cupsMarkerType)) + printf(" cupsMarkerType (%s), expected (%s)\n", header->cupsMarkerType, + expected->cupsMarkerType); + + if (strcmp(header->cupsRenderingIntent, expected->cupsRenderingIntent)) + printf(" cupsRenderingIntent (%s), expected (%s)\n", + header->cupsRenderingIntent, + expected->cupsRenderingIntent); + + if (strcmp(header->cupsPageSizeName, expected->cupsPageSizeName)) + printf(" cupsPageSizeName (%s), expected (%s)\n", + header->cupsPageSizeName, + expected->cupsPageSizeName); +} diff --git a/cups/testsnmp.c b/cups/testsnmp.c new file mode 100644 index 0000000..8071847 --- /dev/null +++ b/cups/testsnmp.c @@ -0,0 +1,284 @@ +/* + * SNMP test program for CUPS. + * + * Copyright 2008-2014 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "snmp-private.h" + + +/* + * Local functions... + */ + +static void print_packet(cups_snmp_t *packet, void *data); +static int show_oid(int fd, const char *community, + http_addr_t *addr, const char *s, int walk); +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + int fd = -1; /* SNMP socket */ + http_addrlist_t *host = NULL; /* Address of host */ + int walk = 0; /* Walk OIDs? */ + char *oid = NULL; /* Last OID shown */ + const char *community; /* Community name */ + + + fputs("_cupsSNMPDefaultCommunity: ", stdout); + + if ((community = _cupsSNMPDefaultCommunity()) == NULL) + { + puts("FAIL (NULL community name)"); + return (1); + } + + printf("PASS (%s)\n", community); + + /* + * Query OIDs from the command-line... + */ + + for (i = 1; i < argc; i ++) + if (!strcmp(argv[i], "-c")) + { + i ++; + + if (i >= argc) + usage(); + else + community = argv[i]; + } + else if (!strcmp(argv[i], "-d")) + _cupsSNMPSetDebug(10); + else if (!strcmp(argv[i], "-w")) + walk = 1; + else if (!host) + { + if ((host = httpAddrGetList(argv[i], AF_UNSPEC, "161")) == NULL) + { + printf("testsnmp: Unable to find \"%s\"!\n", argv[1]); + return (1); + } + + if (fd < 0) + { + fputs("_cupsSNMPOpen: ", stdout); + + if ((fd = _cupsSNMPOpen(host->addr.addr.sa_family)) < 0) + { + printf("FAIL (%s)\n", strerror(errno)); + return (1); + } + + puts("PASS"); + } + } + else if (!show_oid(fd, community, &(host->addr), argv[i], walk)) + return (1); + else + oid = argv[i]; + + if (!host) + usage(); + + if (!oid) + { + if (!show_oid(fd, community, &(host->addr), + walk ? ".1.3.6.1.2.1.43" : + ".1.3.6.1.2.1.43.10.2.1.4.1.1", walk)) + return (1); + } + + return (0); +} + + +/* + * 'print_packet()' - Print the contents of the response packet. + */ + +static void +print_packet(cups_snmp_t *packet, /* I - SNMP response packet */ + void *data) /* I - User data pointer (not used) */ +{ + unsigned i; /* Looping var */ + char temp[1024]; /* Temporary OID string */ + + + (void)data; + + printf("%s = ", _cupsSNMPOIDToString(packet->object_name, temp, sizeof(temp))); + + switch (packet->object_type) + { + case CUPS_ASN1_BOOLEAN : + printf("BOOLEAN %s\n", + packet->object_value.boolean ? "TRUE" : "FALSE"); + break; + + case CUPS_ASN1_INTEGER : + printf("INTEGER %d\n", packet->object_value.integer); + break; + + case CUPS_ASN1_BIT_STRING : + printf("BIT-STRING \"%s\"\n", + (char *)packet->object_value.string.bytes); + break; + + case CUPS_ASN1_OCTET_STRING : + printf("OCTET-STRING \"%s\"\n", + (char *)packet->object_value.string.bytes); + break; + + case CUPS_ASN1_NULL_VALUE : + puts("NULL-VALUE"); + break; + + case CUPS_ASN1_OID : + printf("OID %s\n", _cupsSNMPOIDToString(packet->object_value.oid, + temp, sizeof(temp))); + break; + + case CUPS_ASN1_HEX_STRING : + fputs("Hex-STRING", stdout); + for (i = 0; i < packet->object_value.string.num_bytes; i ++) + printf(" %02X", packet->object_value.string.bytes[i]); + putchar('\n'); + break; + + case CUPS_ASN1_COUNTER : + printf("Counter %d\n", packet->object_value.counter); + break; + + case CUPS_ASN1_GAUGE : + printf("Gauge %u\n", packet->object_value.gauge); + break; + + case CUPS_ASN1_TIMETICKS : + printf("Timeticks %u days, %u:%02u:%02u.%02u\n", + packet->object_value.timeticks / 8640000, + (packet->object_value.timeticks / 360000) % 24, + (packet->object_value.timeticks / 6000) % 60, + (packet->object_value.timeticks / 100) % 60, + packet->object_value.timeticks % 100); + break; + + default : + printf("Unknown-%X\n", packet->object_type); + break; + } +} + + +/* + * 'show_oid()' - Show the specified OID. + */ + +static int /* O - 1 on success, 0 on error */ +show_oid(int fd, /* I - SNMP socket */ + const char *community, /* I - Community name */ + http_addr_t *addr, /* I - Address to query */ + const char *s, /* I - OID to query */ + int walk) /* I - Walk OIDs? */ +{ + int i; /* Looping var */ + int oid[CUPS_SNMP_MAX_OID]; /* OID */ + cups_snmp_t packet; /* SNMP packet */ + char temp[1024]; /* Temporary OID string */ + + + if (!_cupsSNMPStringToOID(s, oid, sizeof(oid) / sizeof(oid[0]))) + { + puts("testsnmp: Bad OID"); + return (0); + } + + if (walk) + { + printf("_cupsSNMPWalk(%s): ", _cupsSNMPOIDToString(oid, temp, sizeof(temp))); + + if (_cupsSNMPWalk(fd, addr, CUPS_SNMP_VERSION_1, community, oid, 5.0, + print_packet, NULL) < 0) + { + printf("FAIL (%s)\n", strerror(errno)); + return (0); + } + } + else + { + printf("_cupsSNMPWrite(%s): ", _cupsSNMPOIDToString(oid, temp, sizeof(temp))); + + if (!_cupsSNMPWrite(fd, addr, CUPS_SNMP_VERSION_1, community, + CUPS_ASN1_GET_REQUEST, 1, oid)) + { + printf("FAIL (%s)\n", strerror(errno)); + return (0); + } + + puts("PASS"); + + fputs("_cupsSNMPRead(5.0): ", stdout); + + if (!_cupsSNMPRead(fd, &packet, 5.0)) + { + puts("FAIL (timeout)"); + return (0); + } + + if (!_cupsSNMPIsOID(&packet, oid)) + { + printf("FAIL (bad OID %d", packet.object_name[0]); + for (i = 1; packet.object_name[i] >= 0; i ++) + printf(".%d", packet.object_name[i]); + puts(")"); + return (0); + } + + if (packet.error) + { + printf("FAIL (%s)\n", packet.error); + return (0); + } + + puts("PASS"); + + print_packet(&packet, NULL); + } + + return (1); +} + + +/* + * 'usage()' - Show program usage and exit. + */ + +static void +usage(void) +{ + puts("Usage: testsnmp [options] host-or-ip [oid ...]"); + puts(""); + puts("Options:"); + puts(""); + puts(" -c community Set community name"); + puts(" -d Enable debugging"); + puts(" -w Walk all OIDs under the specified one"); + + exit (1); +} diff --git a/cups/testthreads.c b/cups/testthreads.c new file mode 100644 index 0000000..441bc9f --- /dev/null +++ b/cups/testthreads.c @@ -0,0 +1,268 @@ +/* + * Threaded test program for CUPS. + * + * Copyright © 2012-2019 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include + + +/* + * Local functions... + */ + +static int enum_dests_cb(void *_name, unsigned flags, cups_dest_t *dest); +static void *run_query(cups_dest_t *dest); +static void show_supported(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option, const char *value); + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + /* + * Go through all the available destinations to find the requested one... + */ + + (void)argc; + + cupsEnumDests(CUPS_DEST_FLAGS_NONE, -1, NULL, 0, 0, enum_dests_cb, argv[1]); + + return (0); +} + + +/* + * 'enum_dests_cb()' - Destination enumeration function... + */ + +static int /* O - 1 to continue, 0 to stop */ +enum_dests_cb(void *_name, /* I - Printer name, if any */ + unsigned flags, /* I - Enumeration flags */ + cups_dest_t *dest) /* I - Found destination */ +{ + const char *name = (const char *)_name; + /* Printer name */ + cups_dest_t *cdest; /* Copied destination */ + + + (void)flags; + + /* + * If a name was specified, compare it... + */ + + if (name && strcasecmp(name, dest->name)) + return (1); /* Continue */ + + /* + * Copy the destination and run the query on a separate thread... + */ + + cupsCopyDest(dest, 0, &cdest); + _cupsThreadWait(_cupsThreadCreate((_cups_thread_func_t)run_query, cdest)); + + cupsFreeDests(1, cdest); + + /* + * Continue if no name was specified or the name matches... + */ + + return (!name || !strcasecmp(name, dest->name)); +} + + +/* + * 'run_query()' - Query printer capabilities on a separate thread. + */ + +static void * /* O - Return value (not used) */ +run_query(cups_dest_t *dest) /* I - Destination to query */ +{ + http_t *http; /* Connection to destination */ + cups_dinfo_t *dinfo; /* Destination info */ + unsigned dflags = CUPS_DEST_FLAGS_NONE; + /* Destination flags */ + + + if ((http = cupsConnectDest(dest, dflags, 300, NULL, NULL, 0, NULL, NULL)) == NULL) + { + printf("testthreads: Unable to connect to destination \"%s\": %s\n", dest->name, cupsLastErrorString()); + return (NULL); + } + + if ((dinfo = cupsCopyDestInfo(http, dest)) == NULL) + { + printf("testdest: Unable to get information for destination \"%s\": %s\n", dest->name, cupsLastErrorString()); + return (NULL); + } + + printf("\n%s:\n", dest->name); + + show_supported(http, dest, dinfo, NULL, NULL); + + return (NULL); +} + + + +/* + * 'show_supported()' - Show supported options, values, etc. + */ + +static void +show_supported(http_t *http, /* I - Connection to destination */ + cups_dest_t *dest, /* I - Destination */ + cups_dinfo_t *dinfo, /* I - Destination information */ + const char *option, /* I - Option, if any */ + const char *value) /* I - Value, if any */ +{ + ipp_attribute_t *attr; /* Attribute */ + int i, /* Looping var */ + count; /* Number of values */ + + + if (!option) + { + attr = cupsFindDestSupported(http, dest, dinfo, "job-creation-attributes"); + if (attr) + { + count = ippGetCount(attr); + for (i = 0; i < count; i ++) + show_supported(http, dest, dinfo, ippGetString(attr, i, NULL), NULL); + } + else + { + static const char * const options[] = + { /* List of standard options */ + CUPS_COPIES, + CUPS_FINISHINGS, + CUPS_MEDIA, + CUPS_NUMBER_UP, + CUPS_ORIENTATION, + CUPS_PRINT_COLOR_MODE, + CUPS_PRINT_QUALITY, + CUPS_SIDES + }; + + puts(" No job-creation-attributes-supported attribute, probing instead."); + + for (i = 0; i < (int)(sizeof(options) / sizeof(options[0])); i ++) + if (cupsCheckDestSupported(http, dest, dinfo, options[i], NULL)) + show_supported(http, dest, dinfo, options[i], NULL); + } + } + else if (!value) + { + printf(" %s (%s - %s)\n", option, cupsLocalizeDestOption(http, dest, dinfo, option), cupsCheckDestSupported(http, dest, dinfo, option, NULL) ? "supported" : "not-supported"); + + if ((attr = cupsFindDestSupported(http, dest, dinfo, option)) != NULL) + { + count = ippGetCount(attr); + + switch (ippGetValueTag(attr)) + { + case IPP_TAG_INTEGER : + for (i = 0; i < count; i ++) + printf(" %d\n", ippGetInteger(attr, i)); + break; + + case IPP_TAG_ENUM : + for (i = 0; i < count; i ++) + { + int val = ippGetInteger(attr, i); + char valstr[256]; + + snprintf(valstr, sizeof(valstr), "%d", val); + printf(" %s (%s)\n", ippEnumString(option, ippGetInteger(attr, i)), cupsLocalizeDestValue(http, dest, dinfo, option, valstr)); + } + break; + + case IPP_TAG_RANGE : + for (i = 0; i < count; i ++) + { + int upper, lower = ippGetRange(attr, i, &upper); + + printf(" %d-%d\n", lower, upper); + } + break; + + case IPP_TAG_RESOLUTION : + for (i = 0; i < count; i ++) + { + int xres, yres; + ipp_res_t units; + xres = ippGetResolution(attr, i, &yres, &units); + + if (xres == yres) + printf(" %d%s\n", xres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + else + printf(" %dx%d%s\n", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + } + break; + + case IPP_TAG_KEYWORD : + for (i = 0; i < count; i ++) + printf(" %s (%s)\n", ippGetString(attr, i, NULL), cupsLocalizeDestValue(http, dest, dinfo, option, ippGetString(attr, i, NULL))); + break; + + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + for (i = 0; i < count; i ++) + printf(" %s\n", ippGetString(attr, i, NULL)); + break; + + case IPP_TAG_STRING : + for (i = 0; i < count; i ++) + { + int j, len; + unsigned char *data = ippGetOctetString(attr, i, &len); + + fputs(" ", stdout); + for (j = 0; j < len; j ++) + { + if (data[j] < ' ' || data[j] >= 0x7f) + printf("<%02X>", data[j]); + else + putchar(data[j]); + } + putchar('\n'); + } + break; + + case IPP_TAG_BOOLEAN : + break; + + default : + printf(" %s\n", ippTagString(ippGetValueTag(attr))); + break; + } + } + + } + else if (cupsCheckDestSupported(http, dest, dinfo, option, value)) + puts("YES"); + else + puts("NO"); +} diff --git a/cups/thread-private.h b/cups/thread-private.h new file mode 100644 index 0000000..1b8b106 --- /dev/null +++ b/cups/thread-private.h @@ -0,0 +1,103 @@ +/* + * Private threading definitions for CUPS. + * + * Copyright 2009-2017 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_THREAD_PRIVATE_H_ +# define _CUPS_THREAD_PRIVATE_H_ + +/* + * Include necessary headers... + */ + +# include "config.h" +# include + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +# ifdef HAVE_PTHREAD_H /* POSIX threading */ +# include +typedef void *(*_cups_thread_func_t)(void *arg); +typedef pthread_t _cups_thread_t; +typedef pthread_cond_t _cups_cond_t; +typedef pthread_mutex_t _cups_mutex_t; +typedef pthread_rwlock_t _cups_rwlock_t; +typedef pthread_key_t _cups_threadkey_t; +# define _CUPS_COND_INITIALIZER PTHREAD_COND_INITIALIZER +# define _CUPS_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER +# define _CUPS_RWLOCK_INITIALIZER PTHREAD_RWLOCK_INITIALIZER +# define _CUPS_THREADKEY_INITIALIZER 0 +# define _cupsThreadGetData(k) pthread_getspecific(k) +# define _cupsThreadSetData(k,p) pthread_setspecific(k,p) + +# elif defined(_WIN32) /* Windows threading */ +# include +# include +typedef void *(__stdcall *_cups_thread_func_t)(void *arg); +typedef int _cups_thread_t; +typedef char _cups_cond_t; /* TODO: Implement Win32 conditional */ +typedef struct _cups_mutex_s +{ + int m_init; /* Flag for on-demand initialization */ + CRITICAL_SECTION m_criticalSection; + /* Win32 Critical Section */ +} _cups_mutex_t; +typedef _cups_mutex_t _cups_rwlock_t; /* TODO: Implement Win32 reader/writer lock */ +typedef DWORD _cups_threadkey_t; +# define _CUPS_COND_INITIALIZER 0 +# define _CUPS_MUTEX_INITIALIZER { 0, 0 } +# define _CUPS_RWLOCK_INITIALIZER { 0, 0 } +# define _CUPS_THREADKEY_INITIALIZER 0 +# define _cupsThreadGetData(k) TlsGetValue(k) +# define _cupsThreadSetData(k,p) TlsSetValue(k,p) + +# else /* No threading */ +typedef void *(*_cups_thread_func_t)(void *arg); +typedef int _cups_thread_t; +typedef char _cups_cond_t; +typedef char _cups_mutex_t; +typedef char _cups_rwlock_t; +typedef void *_cups_threadkey_t; +# define _CUPS_COND_INITIALIZER 0 +# define _CUPS_MUTEX_INITIALIZER 0 +# define _CUPS_RWLOCK_INITIALIZER 0 +# define _CUPS_THREADKEY_INITIALIZER (void *)0 +# define _cupsThreadGetData(k) k +# define _cupsThreadSetData(k,p) k=p +# endif /* HAVE_PTHREAD_H */ + + +/* + * Functions... + */ + +extern void _cupsCondBroadcast(_cups_cond_t *cond) _CUPS_PRIVATE; +extern void _cupsCondInit(_cups_cond_t *cond) _CUPS_PRIVATE; +extern void _cupsCondWait(_cups_cond_t *cond, _cups_mutex_t *mutex, double timeout) _CUPS_PRIVATE; +extern void _cupsMutexInit(_cups_mutex_t *mutex) _CUPS_PRIVATE; +extern void _cupsMutexLock(_cups_mutex_t *mutex) _CUPS_PRIVATE; +extern void _cupsMutexUnlock(_cups_mutex_t *mutex) _CUPS_PRIVATE; +extern void _cupsRWInit(_cups_rwlock_t *rwlock) _CUPS_PRIVATE; +extern void _cupsRWLockRead(_cups_rwlock_t *rwlock) _CUPS_PRIVATE; +extern void _cupsRWLockWrite(_cups_rwlock_t *rwlock) _CUPS_PRIVATE; +extern void _cupsRWUnlock(_cups_rwlock_t *rwlock) _CUPS_PRIVATE; +extern void _cupsThreadCancel(_cups_thread_t thread) _CUPS_PRIVATE; +extern _cups_thread_t _cupsThreadCreate(_cups_thread_func_t func, void *arg) _CUPS_PRIVATE; +extern void _cupsThreadDetach(_cups_thread_t thread) _CUPS_PRIVATE; +extern void *_cupsThreadWait(_cups_thread_t thread) _CUPS_PRIVATE; + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_THREAD_PRIVATE_H_ */ diff --git a/cups/thread.c b/cups/thread.c new file mode 100644 index 0000000..fcab938 --- /dev/null +++ b/cups/thread.c @@ -0,0 +1,551 @@ +/* + * Threading primitives for CUPS. + * + * Copyright © 2009-2018 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "thread-private.h" + + +#if defined(HAVE_PTHREAD_H) +/* + * '_cupsCondBroadcast()' - Wake up waiting threads. + */ + +void +_cupsCondBroadcast(_cups_cond_t *cond) /* I - Condition */ +{ + pthread_cond_broadcast(cond); +} + + +/* + * '_cupsCondInit()' - Initialize a condition variable. + */ + +void +_cupsCondInit(_cups_cond_t *cond) /* I - Condition */ +{ + pthread_cond_init(cond, NULL); +} + + +/* + * '_cupsCondWait()' - Wait for a condition with optional timeout. + */ + +void +_cupsCondWait(_cups_cond_t *cond, /* I - Condition */ + _cups_mutex_t *mutex, /* I - Mutex */ + double timeout) /* I - Timeout in seconds (0 or negative for none) */ +{ + if (timeout > 0.0) + { + struct timespec abstime; /* Timeout */ + + clock_gettime(CLOCK_REALTIME, &abstime); + + abstime.tv_sec += (long)timeout; + abstime.tv_nsec += (long)(1000000000 * (timeout - (long)timeout)); + + while (abstime.tv_nsec >= 1000000000) + { + abstime.tv_nsec -= 1000000000; + abstime.tv_sec ++; + }; + + pthread_cond_timedwait(cond, mutex, &abstime); + } + else + pthread_cond_wait(cond, mutex); +} + + +/* + * '_cupsMutexInit()' - Initialize a mutex. + */ + +void +_cupsMutexInit(_cups_mutex_t *mutex) /* I - Mutex */ +{ + pthread_mutex_init(mutex, NULL); +} + + +/* + * '_cupsMutexLock()' - Lock a mutex. + */ + +void +_cupsMutexLock(_cups_mutex_t *mutex) /* I - Mutex */ +{ + pthread_mutex_lock(mutex); +} + + +/* + * '_cupsMutexUnlock()' - Unlock a mutex. + */ + +void +_cupsMutexUnlock(_cups_mutex_t *mutex) /* I - Mutex */ +{ + pthread_mutex_unlock(mutex); +} + + +/* + * '_cupsRWInit()' - Initialize a reader/writer lock. + */ + +void +_cupsRWInit(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ +{ + pthread_rwlock_init(rwlock, NULL); +} + + +/* + * '_cupsRWLockRead()' - Acquire a reader/writer lock for reading. + */ + +void +_cupsRWLockRead(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ +{ + pthread_rwlock_rdlock(rwlock); +} + + +/* + * '_cupsRWLockWrite()' - Acquire a reader/writer lock for writing. + */ + +void +_cupsRWLockWrite(_cups_rwlock_t *rwlock)/* I - Reader/writer lock */ +{ + pthread_rwlock_wrlock(rwlock); +} + + +/* + * '_cupsRWUnlock()' - Release a reader/writer lock. + */ + +void +_cupsRWUnlock(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ +{ + pthread_rwlock_unlock(rwlock); +} + + +/* + * '_cupsThreadCancel()' - Cancel (kill) a thread. + */ + +void +_cupsThreadCancel(_cups_thread_t thread)/* I - Thread ID */ +{ + pthread_cancel(thread); +} + + +/* + * '_cupsThreadCreate()' - Create a thread. + */ + +_cups_thread_t /* O - Thread ID */ +_cupsThreadCreate( + _cups_thread_func_t func, /* I - Entry point */ + void *arg) /* I - Entry point context */ +{ + pthread_t thread; + + if (pthread_create(&thread, NULL, (void *(*)(void *))func, arg)) + return (0); + else + return (thread); +} + + +/* + * '_cupsThreadDetach()' - Tell the OS that the thread is running independently. + */ + +void +_cupsThreadDetach(_cups_thread_t thread)/* I - Thread ID */ +{ + pthread_detach(thread); +} + + +/* + * '_cupsThreadWait()' - Wait for a thread to exit. + */ + +void * /* O - Return value */ +_cupsThreadWait(_cups_thread_t thread) /* I - Thread ID */ +{ + void *ret; /* Return value */ + + + if (pthread_join(thread, &ret)) + return (NULL); + else + return (ret); +} + + +#elif defined(_WIN32) +# include + + +/* + * '_cupsCondBroadcast()' - Wake up waiting threads. + */ + +void +_cupsCondBroadcast(_cups_cond_t *cond) /* I - Condition */ +{ + // TODO: Implement me +} + + +/* + * '_cupsCondInit()' - Initialize a condition variable. + */ + +void +_cupsCondInit(_cups_cond_t *cond) /* I - Condition */ +{ + // TODO: Implement me +} + + +/* + * '_cupsCondWait()' - Wait for a condition with optional timeout. + */ + +void +_cupsCondWait(_cups_cond_t *cond, /* I - Condition */ + _cups_mutex_t *mutex, /* I - Mutex */ + double timeout) /* I - Timeout in seconds (0 or negative for none) */ +{ + // TODO: Implement me +} + + +/* + * '_cupsMutexInit()' - Initialize a mutex. + */ + +void +_cupsMutexInit(_cups_mutex_t *mutex) /* I - Mutex */ +{ + InitializeCriticalSection(&mutex->m_criticalSection); + mutex->m_init = 1; +} + + +/* + * '_cupsMutexLock()' - Lock a mutex. + */ + +void +_cupsMutexLock(_cups_mutex_t *mutex) /* I - Mutex */ +{ + if (!mutex->m_init) + { + _cupsGlobalLock(); + + if (!mutex->m_init) + { + InitializeCriticalSection(&mutex->m_criticalSection); + mutex->m_init = 1; + } + + _cupsGlobalUnlock(); + } + + EnterCriticalSection(&mutex->m_criticalSection); +} + + +/* + * '_cupsMutexUnlock()' - Unlock a mutex. + */ + +void +_cupsMutexUnlock(_cups_mutex_t *mutex) /* I - Mutex */ +{ + LeaveCriticalSection(&mutex->m_criticalSection); +} + + +/* + * '_cupsRWInit()' - Initialize a reader/writer lock. + */ + +void +_cupsRWInit(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ +{ + _cupsMutexInit((_cups_mutex_t *)rwlock); +} + + +/* + * '_cupsRWLockRead()' - Acquire a reader/writer lock for reading. + */ + +void +_cupsRWLockRead(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ +{ + _cupsMutexLock((_cups_mutex_t *)rwlock); +} + + +/* + * '_cupsRWLockWrite()' - Acquire a reader/writer lock for writing. + */ + +void +_cupsRWLockWrite(_cups_rwlock_t *rwlock)/* I - Reader/writer lock */ +{ + _cupsMutexLock((_cups_mutex_t *)rwlock); +} + + +/* + * '_cupsRWUnlock()' - Release a reader/writer lock. + */ + +void +_cupsRWUnlock(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ +{ + _cupsMutexUnlock((_cups_mutex_t *)rwlock); +} + + +/* + * '_cupsThreadCancel()' - Cancel (kill) a thread. + */ + +void +_cupsThreadCancel(_cups_thread_t thread)/* I - Thread ID */ +{ + // TODO: Implement me +} + + +/* + * '_cupsThreadCreate()' - Create a thread. + */ + +_cups_thread_t /* O - Thread ID */ +_cupsThreadCreate( + _cups_thread_func_t func, /* I - Entry point */ + void *arg) /* I - Entry point context */ +{ + return (_beginthreadex(NULL, 0, (LPTHREAD_START_ROUTINE)func, arg, 0, NULL)); +} + + +/* + * '_cupsThreadDetach()' - Tell the OS that the thread is running independently. + */ + +void +_cupsThreadDetach(_cups_thread_t thread)/* I - Thread ID */ +{ + // TODO: Implement me + (void)thread; +} + + +/* + * '_cupsThreadWait()' - Wait for a thread to exit. + */ + +void * /* O - Return value */ +_cupsThreadWait(_cups_thread_t thread) /* I - Thread ID */ +{ + // TODO: Implement me + (void)thread; + + return (NULL); +} + + +#else /* No threading */ +/* + * '_cupsCondBroadcast()' - Wake up waiting threads. + */ + +void +_cupsCondBroadcast(_cups_cond_t *cond) /* I - Condition */ +{ + // TODO: Implement me +} + + +/* + * '_cupsCondInit()' - Initialize a condition variable. + */ + +void +_cupsCondInit(_cups_cond_t *cond) /* I - Condition */ +{ + // TODO: Implement me +} + + +/* + * '_cupsCondWait()' - Wait for a condition with optional timeout. + */ + +void +_cupsCondWait(_cups_cond_t *cond, /* I - Condition */ + _cups_mutex_t *mutex, /* I - Mutex */ + double timeout) /* I - Timeout in seconds (0 or negative for none) */ +{ + // TODO: Implement me +} + + +/* + * '_cupsMutexInit()' - Initialize a mutex. + */ + +void +_cupsMutexInit(_cups_mutex_t *mutex) /* I - Mutex */ +{ + (void)mutex; +} + + +/* + * '_cupsMutexLock()' - Lock a mutex. + */ + +void +_cupsMutexLock(_cups_mutex_t *mutex) /* I - Mutex */ +{ + (void)mutex; +} + + +/* + * '_cupsMutexUnlock()' - Unlock a mutex. + */ + +void +_cupsMutexUnlock(_cups_mutex_t *mutex) /* I - Mutex */ +{ + (void)mutex; +} + + +/* + * '_cupsRWInit()' - Initialize a reader/writer lock. + */ + +void +_cupsRWInit(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ +{ + (void)rwlock; +} + + +/* + * '_cupsRWLockRead()' - Acquire a reader/writer lock for reading. + */ + +void +_cupsRWLockRead(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ +{ + (void)rwlock; +} + + +/* + * '_cupsRWLockWrite()' - Acquire a reader/writer lock for writing. + */ + +void +_cupsRWLockWrite(_cups_rwlock_t *rwlock)/* I - Reader/writer lock */ +{ + (void)rwlock; +} + + +/* + * '_cupsRWUnlock()' - Release a reader/writer lock. + */ + +void +_cupsRWUnlock(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ +{ + (void)rwlock; +} + + +/* + * '_cupsThreadCancel()' - Cancel (kill) a thread. + */ + +void +_cupsThreadCancel(_cups_thread_t thread)/* I - Thread ID */ +{ + (void)thread; +} + + +/* + * '_cupsThreadCreate()' - Create a thread. + */ + +_cups_thread_t /* O - Thread ID */ +_cupsThreadCreate( + _cups_thread_func_t func, /* I - Entry point */ + void *arg) /* I - Entry point context */ +{ + fputs("DEBUG: CUPS was compiled without threading support, no thread created.\n", stderr); + + (void)func; + (void)arg; + + return (0); +} + + +/* + * '_cupsThreadDetach()' - Tell the OS that the thread is running independently. + */ + +void +_cupsThreadDetach(_cups_thread_t thread)/* I - Thread ID */ +{ + (void)thread; +} + + +/* + * '_cupsThreadWait()' - Wait for a thread to exit. + */ + +void * /* O - Return value */ +_cupsThreadWait(_cups_thread_t thread) /* I - Thread ID */ +{ + (void)thread; + + return (NULL); +} + +#endif /* HAVE_PTHREAD_H */ diff --git a/cups/tls-darwin.c b/cups/tls-darwin.c new file mode 100644 index 0000000..b3bd50b --- /dev/null +++ b/cups/tls-darwin.c @@ -0,0 +1,2318 @@ +/* + * TLS support code for CUPS on macOS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/**** This file is included from tls.c ****/ + +/* + * Include necessary headers... + */ + +#include +#include "tls-darwin.h" + +/* + * Constants, very secure stuff... + */ + +#define _CUPS_CDSA_PASSWORD "42" /* CUPS keychain password */ +#define _CUPS_CDSA_PASSLEN 2 /* Length of keychain password */ + + +/* + * Local globals... + */ + +static int tls_auto_create = 0; + /* Auto-create self-signed certs? */ +static char *tls_common_name = NULL; + /* Default common name */ +#if TARGET_OS_OSX +static int tls_cups_keychain = 0; + /* Opened the CUPS keychain? */ +static SecKeychainRef tls_keychain = NULL; + /* Server cert keychain */ +#else +static SecIdentityRef tls_selfsigned = NULL; + /* Temporary self-signed cert */ +#endif /* TARGET_OS_OSX */ +static char *tls_keypath = NULL; + /* Server cert keychain path */ +static _cups_mutex_t tls_mutex = _CUPS_MUTEX_INITIALIZER; + /* Mutex for keychain/certs */ +static int tls_options = -1,/* Options for TLS connections */ + tls_min_version = _HTTP_TLS_1_0, + tls_max_version = _HTTP_TLS_MAX; + + +/* + * Local functions... + */ + +static CFArrayRef http_cdsa_copy_server(const char *common_name); +static SecCertificateRef http_cdsa_create_credential(http_credential_t *credential); +#if TARGET_OS_OSX +static const char *http_cdsa_default_path(char *buffer, size_t bufsize); +static SecKeychainRef http_cdsa_open_keychain(const char *path, char *filename, size_t filesize); +static SecKeychainRef http_cdsa_open_system_keychain(void); +#endif /* TARGET_OS_OSX */ +static OSStatus http_cdsa_read(SSLConnectionRef connection, void *data, size_t *dataLength); +static int http_cdsa_set_credentials(http_t *http); +static OSStatus http_cdsa_write(SSLConnectionRef connection, const void *data, size_t *dataLength); + + +/* + * 'cupsMakeServerCredentials()' - Make a self-signed certificate and private key pair. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsMakeServerCredentials( + const char *path, /* I - Keychain path or @code NULL@ for default */ + const char *common_name, /* I - Common name */ + int num_alt_names, /* I - Number of subject alternate names */ + const char **alt_names, /* I - Subject Alternate Names */ + time_t expiration_date) /* I - Expiration date */ +{ +#if TARGET_OS_OSX + int pid, /* Process ID of command */ + status, /* Status of command */ + i; /* Looping var */ + char command[1024], /* Command */ + *argv[5], /* Command-line arguments */ + *envp[1000], /* Environment variables */ + days[32], /* CERTTOOL_EXPIRATION_DAYS env var */ + keychain[1024], /* Keychain argument */ + infofile[1024], /* Type-in information for cert */ + filename[1024]; /* Default keychain path */ + cups_file_t *fp; /* Seed/info file */ + + + DEBUG_printf(("cupsMakeServerCredentials(path=\"%s\", common_name=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names, (void *)alt_names, (int)expiration_date)); + + (void)num_alt_names; + (void)alt_names; + + if (!path) + path = http_cdsa_default_path(filename, sizeof(filename)); + + /* + * Run the "certtool" command to generate a self-signed certificate... + */ + + if (!cupsFileFind("certtool", getenv("PATH"), 1, command, sizeof(command))) + return (-1); + + /* + * Create a file with the certificate information fields... + * + * Note: This assumes that the default questions are asked by the certtool + * command... + */ + + if ((fp = cupsTempFile2(infofile, sizeof(infofile))) == NULL) + return (-1); + + cupsFilePrintf(fp, + "CUPS Self-Signed Certificate\n" + /* Enter key and certificate label */ + "r\n" /* Generate RSA key pair */ + "2048\n" /* 2048 bit encryption key */ + "y\n" /* OK (y = yes) */ + "b\n" /* Usage (b=signing/encryption) */ + "2\n" /* Sign with SHA256 */ + "y\n" /* OK (y = yes) */ + "%s\n" /* Common name */ + "\n" /* Country (default) */ + "\n" /* Organization (default) */ + "\n" /* Organizational unit (default) */ + "\n" /* State/Province (default) */ + "\n" /* Email address */ + "y\n", /* OK (y = yes) */ + common_name); + cupsFileClose(fp); + + snprintf(keychain, sizeof(keychain), "k=%s", path); + + argv[0] = "certtool"; + argv[1] = "c"; + argv[2] = keychain; + argv[3] = NULL; + + snprintf(days, sizeof(days), "CERTTOOL_EXPIRATION_DAYS=%d", (int)((expiration_date - time(NULL) + 86399) / 86400)); + envp[0] = days; + for (i = 0; i < (int)(sizeof(envp) / sizeof(envp[0]) - 2) && environ[i]; i ++) + envp[i + 1] = environ[i]; + envp[i] = NULL; + + posix_spawn_file_actions_t actions; /* File actions */ + + posix_spawn_file_actions_init(&actions); + posix_spawn_file_actions_addclose(&actions, 0); + posix_spawn_file_actions_addopen(&actions, 0, infofile, O_RDONLY, 0); + posix_spawn_file_actions_addclose(&actions, 1); + posix_spawn_file_actions_addopen(&actions, 1, "/dev/null", O_WRONLY, 0); + posix_spawn_file_actions_addclose(&actions, 2); + posix_spawn_file_actions_addopen(&actions, 2, "/dev/null", O_WRONLY, 0); + + if (posix_spawn(&pid, command, &actions, NULL, argv, envp)) + { + unlink(infofile); + return (-1); + } + + posix_spawn_file_actions_destroy(&actions); + + unlink(infofile); + + while (waitpid(pid, &status, 0) < 0) + if (errno != EINTR) + { + status = -1; + break; + } + + return (!status); + +#else + int status = 0; /* Return status */ + OSStatus err; /* Error code (if any) */ + CFStringRef cfcommon_name = NULL; + /* CF string for server name */ + SecIdentityRef ident = NULL; /* Identity */ + SecKeyRef publicKey = NULL, + /* Public key */ + privateKey = NULL; + /* Private key */ + SecCertificateRef cert = NULL; /* Self-signed certificate */ + CFMutableDictionaryRef keyParams = NULL; + /* Key generation parameters */ + + + DEBUG_printf(("cupsMakeServerCredentials(path=\"%s\", common_name=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names, alt_names, (int)expiration_date)); + + (void)path; + (void)num_alt_names; + (void)alt_names; + (void)expiration_date; + + if (path) + { + DEBUG_puts("1cupsMakeServerCredentials: No keychain support compiled in, returning 0."); + return (0); + } + + if (tls_selfsigned) + { + DEBUG_puts("1cupsMakeServerCredentials: Using existing self-signed cert."); + return (1); + } + + cfcommon_name = CFStringCreateWithCString(kCFAllocatorDefault, common_name, kCFStringEncodingUTF8); + if (!cfcommon_name) + { + DEBUG_puts("1cupsMakeServerCredentials: Unable to create CF string of common name."); + goto cleanup; + } + + /* + * Create a public/private key pair... + */ + + keyParams = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); + if (!keyParams) + { + DEBUG_puts("1cupsMakeServerCredentials: Unable to create key parameters dictionary."); + goto cleanup; + } + + CFDictionaryAddValue(keyParams, kSecAttrKeyType, kSecAttrKeyTypeRSA); + CFDictionaryAddValue(keyParams, kSecAttrKeySizeInBits, CFSTR("2048")); + CFDictionaryAddValue(keyParams, kSecAttrLabel, cfcommon_name); + + err = SecKeyGeneratePair(keyParams, &publicKey, &privateKey); + if (err != noErr) + { + DEBUG_printf(("1cupsMakeServerCredentials: Unable to generate key pair: %d.", (int)err)); + goto cleanup; + } + + /* + * Create a self-signed certificate using the public/private key pair... + */ + + CFIndex usageInt = kSecKeyUsageAll; + CFNumberRef usage = CFNumberCreate(kCFAllocatorDefault, kCFNumberCFIndexType, &usageInt); + CFIndex lenInt = 0; + CFNumberRef len = CFNumberCreate(kCFAllocatorDefault, kCFNumberCFIndexType, &lenInt); + CFTypeRef certKeys[] = { kSecCSRBasicContraintsPathLen, kSecSubjectAltName, kSecCertificateKeyUsage }; + CFTypeRef certValues[] = { len, cfcommon_name, usage }; + CFDictionaryRef certParams = CFDictionaryCreate(kCFAllocatorDefault, certKeys, certValues, sizeof(certKeys) / sizeof(certKeys[0]), &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); + CFRelease(usage); + CFRelease(len); + + const void *ca_o[] = { kSecOidOrganization, CFSTR("") }; + const void *ca_cn[] = { kSecOidCommonName, cfcommon_name }; + CFArrayRef ca_o_dn = CFArrayCreate(kCFAllocatorDefault, ca_o, 2, NULL); + CFArrayRef ca_cn_dn = CFArrayCreate(kCFAllocatorDefault, ca_cn, 2, NULL); + const void *ca_dn_array[2]; + + ca_dn_array[0] = CFArrayCreate(kCFAllocatorDefault, (const void **)&ca_o_dn, 1, NULL); + ca_dn_array[1] = CFArrayCreate(kCFAllocatorDefault, (const void **)&ca_cn_dn, 1, NULL); + + CFArrayRef subject = CFArrayCreate(kCFAllocatorDefault, ca_dn_array, 2, NULL); + + cert = SecGenerateSelfSignedCertificate(subject, certParams, publicKey, privateKey); + + CFRelease(subject); + CFRelease(certParams); + + if (!cert) + { + DEBUG_puts("1cupsMakeServerCredentials: Unable to create self-signed certificate."); + goto cleanup; + } + + ident = SecIdentityCreate(kCFAllocatorDefault, cert, privateKey); + + if (ident) + { + _cupsMutexLock(&tls_mutex); + + if (tls_selfsigned) + CFRelease(ident); + else + tls_selfsigned = ident; + + _cupsMutexLock(&tls_mutex); + +# if 0 /* Someday perhaps SecItemCopyMatching will work for identities, at which point */ + CFTypeRef itemKeys[] = { kSecClass, kSecAttrLabel, kSecValueRef }; + CFTypeRef itemValues[] = { kSecClassIdentity, cfcommon_name, ident }; + CFDictionaryRef itemAttrs = CFDictionaryCreate(kCFAllocatorDefault, itemKeys, itemValues, sizeof(itemKeys) / sizeof(itemKeys[0]), &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); + + err = SecItemAdd(itemAttrs, NULL); + /* SecItemAdd consumes itemAttrs... */ + + CFRelease(ident); + + if (err != noErr) + { + DEBUG_printf(("1cupsMakeServerCredentials: Unable to add identity to keychain: %d.", (int)err)); + goto cleanup; + } +# endif /* 0 */ + + status = 1; + } + else + DEBUG_puts("1cupsMakeServerCredentials: Unable to create identity from cert and keys."); + + /* + * Cleanup and return... + */ + +cleanup: + + if (cfcommon_name) + CFRelease(cfcommon_name); + + if (keyParams) + CFRelease(keyParams); + + if (cert) + CFRelease(cert); + + if (publicKey) + CFRelease(publicKey); + + if (privateKey) + CFRelease(privateKey); + + DEBUG_printf(("1cupsMakeServerCredentials: Returning %d.", status)); + + return (status); +#endif /* TARGET_OS_OSX */ +} + + +/* + * 'cupsSetServerCredentials()' - Set the default server credentials. + * + * Note: The server credentials are used by all threads in the running process. + * This function is threadsafe. + * + * @since CUPS 2.0/macOS 10.10@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsSetServerCredentials( + const char *path, /* I - Keychain path or @code NULL@ for default */ + const char *common_name, /* I - Default common name for server */ + int auto_create) /* I - 1 = automatically create self-signed certificates */ +{ + DEBUG_printf(("cupsSetServerCredentials(path=\"%s\", common_name=\"%s\", auto_create=%d)", path, common_name, auto_create)); + +#if TARGET_OS_OSX + char filename[1024]; /* Keychain filename */ + SecKeychainRef keychain = http_cdsa_open_keychain(path, filename, sizeof(filename)); + + if (!keychain) + { + DEBUG_puts("1cupsSetServerCredentials: Unable to open keychain."); + return (0); + } + + _cupsMutexLock(&tls_mutex); + + /* + * Close any keychain that is currently open... + */ + + if (tls_keychain) + CFRelease(tls_keychain); + + if (tls_keypath) + _cupsStrFree(tls_keypath); + + if (tls_common_name) + _cupsStrFree(tls_common_name); + + /* + * Save the new keychain... + */ + + tls_keychain = keychain; + tls_keypath = _cupsStrAlloc(filename); + tls_auto_create = auto_create; + tls_common_name = _cupsStrAlloc(common_name); + + _cupsMutexUnlock(&tls_mutex); + + DEBUG_puts("1cupsSetServerCredentials: Opened keychain, returning 1."); + return (1); + +#else + if (path) + { + DEBUG_puts("1cupsSetServerCredentials: No keychain support compiled in, returning 0."); + return (0); + } + + tls_auto_create = auto_create; + tls_common_name = _cupsStrAlloc(common_name); + + return (1); +#endif /* TARGET_OS_OSX */ +} + + +/* + * 'httpCopyCredentials()' - Copy the credentials associated with the peer in + * an encrypted connection. + * + * @since CUPS 1.5/macOS 10.7@ + */ + +int /* O - Status of call (0 = success) */ +httpCopyCredentials( + http_t *http, /* I - Connection to server */ + cups_array_t **credentials) /* O - Array of credentials */ +{ + OSStatus error; /* Error code */ + SecTrustRef peerTrust; /* Peer trust reference */ + CFIndex count; /* Number of credentials */ + SecCertificateRef secCert; /* Certificate reference */ + CFDataRef data; /* Certificate data */ + int i; /* Looping var */ + + + DEBUG_printf(("httpCopyCredentials(http=%p, credentials=%p)", (void *)http, (void *)credentials)); + + if (credentials) + *credentials = NULL; + + if (!http || !http->tls || !credentials) + return (-1); + + if (!(error = SSLCopyPeerTrust(http->tls, &peerTrust)) && peerTrust) + { + DEBUG_printf(("2httpCopyCredentials: Peer provided %d certificates.", (int)SecTrustGetCertificateCount(peerTrust))); + + if ((*credentials = cupsArrayNew(NULL, NULL)) != NULL) + { + count = SecTrustGetCertificateCount(peerTrust); + + for (i = 0; i < count; i ++) + { + secCert = SecTrustGetCertificateAtIndex(peerTrust, i); + +#ifdef DEBUG + CFStringRef cf_name = SecCertificateCopySubjectSummary(secCert); + char name[1024]; + if (cf_name) + CFStringGetCString(cf_name, name, sizeof(name), kCFStringEncodingUTF8); + else + strlcpy(name, "unknown", sizeof(name)); + + DEBUG_printf(("2httpCopyCredentials: Certificate %d name is \"%s\".", i, name)); +#endif /* DEBUG */ + + if ((data = SecCertificateCopyData(secCert)) != NULL) + { + DEBUG_printf(("2httpCopyCredentials: Adding %d byte certificate blob.", (int)CFDataGetLength(data))); + + httpAddCredential(*credentials, CFDataGetBytePtr(data), (size_t)CFDataGetLength(data)); + CFRelease(data); + } + } + } + + CFRelease(peerTrust); + } + + return (error); +} + + +/* + * '_httpCreateCredentials()' - Create credentials in the internal format. + */ + +http_tls_credentials_t /* O - Internal credentials */ +_httpCreateCredentials( + cups_array_t *credentials) /* I - Array of credentials */ +{ + CFMutableArrayRef peerCerts; /* Peer credentials reference */ + SecCertificateRef secCert; /* Certificate reference */ + http_credential_t *credential; /* Credential data */ + + + if (!credentials) + return (NULL); + + if ((peerCerts = CFArrayCreateMutable(kCFAllocatorDefault, + cupsArrayCount(credentials), + &kCFTypeArrayCallBacks)) == NULL) + return (NULL); + + for (credential = (http_credential_t *)cupsArrayFirst(credentials); + credential; + credential = (http_credential_t *)cupsArrayNext(credentials)) + { + if ((secCert = http_cdsa_create_credential(credential)) != NULL) + { + CFArrayAppendValue(peerCerts, secCert); + CFRelease(secCert); + } + } + + return (peerCerts); +} + + +/* + * 'httpCredentialsAreValidForName()' - Return whether the credentials are valid for the given name. + * + * @since CUPS 2.0/macOS 10.10@ + */ + +int /* O - 1 if valid, 0 otherwise */ +httpCredentialsAreValidForName( + cups_array_t *credentials, /* I - Credentials */ + const char *common_name) /* I - Name to check */ +{ + SecCertificateRef secCert; /* Certificate reference */ + CFStringRef cfcert_name = NULL; + /* Certificate's common name (CF string) */ + char cert_name[256]; /* Certificate's common name (C string) */ + int valid = 1; /* Valid name? */ + + + if ((secCert = http_cdsa_create_credential((http_credential_t *)cupsArrayFirst(credentials))) == NULL) + return (0); + + /* + * Compare the common names... + */ + + if ((cfcert_name = SecCertificateCopySubjectSummary(secCert)) == NULL) + { + /* + * Can't get common name, cannot be valid... + */ + + valid = 0; + } + else if (CFStringGetCString(cfcert_name, cert_name, sizeof(cert_name), kCFStringEncodingUTF8) && + _cups_strcasecmp(common_name, cert_name)) + { + /* + * Not an exact match for the common name, check for wildcard certs... + */ + + const char *domain = strchr(common_name, '.'); + /* Domain in common name */ + + if (strncmp(cert_name, "*.", 2) || !domain || _cups_strcasecmp(domain, cert_name + 1)) + { + /* + * Not a wildcard match. + */ + + /* TODO: Check subject alternate names */ + valid = 0; + } + } + + if (cfcert_name) + CFRelease(cfcert_name); + + CFRelease(secCert); + + return (valid); +} + + +/* + * 'httpCredentialsGetTrust()' - Return the trust of credentials. + * + * @since CUPS 2.0/macOS 10.10@ + */ + +http_trust_t /* O - Level of trust */ +httpCredentialsGetTrust( + cups_array_t *credentials, /* I - Credentials */ + const char *common_name) /* I - Common name for trust lookup */ +{ + SecCertificateRef secCert; /* Certificate reference */ + http_trust_t trust = HTTP_TRUST_OK; + /* Trusted? */ + cups_array_t *tcreds = NULL; /* Trusted credentials */ + _cups_globals_t *cg = _cupsGlobals(); + /* Per-thread globals */ + + + if (!common_name) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No common name specified."), 1); + return (HTTP_TRUST_UNKNOWN); + } + + if ((secCert = http_cdsa_create_credential((http_credential_t *)cupsArrayFirst(credentials))) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to create credentials from array."), 1); + return (HTTP_TRUST_UNKNOWN); + } + + if (cg->any_root < 0) + _cupsSetDefaults(); + + /* + * Look this common name up in the default keychains... + */ + + httpLoadCredentials(NULL, &tcreds, common_name); + + if (tcreds) + { + char credentials_str[1024], /* String for incoming credentials */ + tcreds_str[1024]; /* String for saved credentials */ + + httpCredentialsString(credentials, credentials_str, sizeof(credentials_str)); + httpCredentialsString(tcreds, tcreds_str, sizeof(tcreds_str)); + + if (strcmp(credentials_str, tcreds_str)) + { + /* + * Credentials don't match, let's look at the expiration date of the new + * credentials and allow if the new ones have a later expiration... + */ + + if (!cg->trust_first) + { + /* + * Do not trust certificates on first use... + */ + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Trust on first use is disabled."), 1); + + trust = HTTP_TRUST_INVALID; + } + else if (httpCredentialsGetExpiration(credentials) <= httpCredentialsGetExpiration(tcreds)) + { + /* + * The new credentials are not newly issued... + */ + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("New credentials are older than stored credentials."), 1); + + trust = HTTP_TRUST_INVALID; + } + else if (!httpCredentialsAreValidForName(credentials, common_name)) + { + /* + * The common name does not match the issued certificate... + */ + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("New credentials are not valid for name."), 1); + + trust = HTTP_TRUST_INVALID; + } + else if (httpCredentialsGetExpiration(tcreds) < time(NULL)) + { + /* + * Save the renewed credentials... + */ + + trust = HTTP_TRUST_RENEWED; + + httpSaveCredentials(NULL, credentials, common_name); + } + } + + httpFreeCredentials(tcreds); + } + else if (cg->validate_certs && !httpCredentialsAreValidForName(credentials, common_name)) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No stored credentials, not valid for name."), 1); + trust = HTTP_TRUST_INVALID; + } + else if (!cg->trust_first) + { + /* + * See if we have a site CA certificate we can compare... + */ + + if (!httpLoadCredentials(NULL, &tcreds, "site")) + { + if (cupsArrayCount(credentials) != (cupsArrayCount(tcreds) + 1)) + { + /* + * Certificate isn't directly generated from the CA cert... + */ + + trust = HTTP_TRUST_INVALID; + } + else + { + /* + * Do a tail comparison of the two certificates... + */ + + http_credential_t *a, *b; /* Certificates */ + + for (a = (http_credential_t *)cupsArrayFirst(tcreds), b = (http_credential_t *)cupsArrayIndex(credentials, 1); + a && b; + a = (http_credential_t *)cupsArrayNext(tcreds), b = (http_credential_t *)cupsArrayNext(credentials)) + if (a->datalen != b->datalen || memcmp(a->data, b->data, a->datalen)) + break; + + if (a || b) + trust = HTTP_TRUST_INVALID; + } + + if (trust != HTTP_TRUST_OK) + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Credentials do not validate against site CA certificate."), 1); + } + else + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Trust on first use is disabled."), 1); + trust = HTTP_TRUST_INVALID; + } + } + + if (trust == HTTP_TRUST_OK && !cg->expired_certs && !SecCertificateIsValid(secCert, CFAbsoluteTimeGetCurrent())) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Credentials have expired."), 1); + trust = HTTP_TRUST_EXPIRED; + } + + if (trust == HTTP_TRUST_OK && !cg->any_root && cupsArrayCount(credentials) == 1) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Self-signed credentials are blocked."), 1); + trust = HTTP_TRUST_INVALID; + } + + CFRelease(secCert); + + return (trust); +} + + +/* + * 'httpCredentialsGetExpiration()' - Return the expiration date of the credentials. + * + * @since CUPS 2.0/macOS 10.10@ + */ + +time_t /* O - Expiration date of credentials */ +httpCredentialsGetExpiration( + cups_array_t *credentials) /* I - Credentials */ +{ + SecCertificateRef secCert; /* Certificate reference */ + time_t expiration; /* Expiration date */ + + + if ((secCert = http_cdsa_create_credential((http_credential_t *)cupsArrayFirst(credentials))) == NULL) + return (0); + + expiration = (time_t)(SecCertificateNotValidAfter(secCert) + kCFAbsoluteTimeIntervalSince1970); + + CFRelease(secCert); + + return (expiration); +} + + +/* + * 'httpCredentialsString()' - Return a string representing the credentials. + * + * @since CUPS 2.0/macOS 10.10@ + */ + +size_t /* O - Total size of credentials string */ +httpCredentialsString( + cups_array_t *credentials, /* I - Credentials */ + char *buffer, /* I - Buffer or @code NULL@ */ + size_t bufsize) /* I - Size of buffer */ +{ + http_credential_t *first; /* First certificate */ + SecCertificateRef secCert; /* Certificate reference */ + + + DEBUG_printf(("httpCredentialsString(credentials=%p, buffer=%p, bufsize=" CUPS_LLFMT ")", (void *)credentials, (void *)buffer, CUPS_LLCAST bufsize)); + + if (!buffer) + return (0); + + if (buffer && bufsize > 0) + *buffer = '\0'; + + if ((first = (http_credential_t *)cupsArrayFirst(credentials)) != NULL && + (secCert = http_cdsa_create_credential(first)) != NULL) + { + /* + * Copy certificate (string) values from the SecCertificateRef and produce + * a one-line summary. The API for accessing certificate values like the + * issuer name is, um, "interesting"... + */ + +# if TARGET_OS_OSX + CFDictionaryRef cf_dict; /* Dictionary for certificate */ +# endif /* TARGET_OS_OSX */ + CFStringRef cf_string; /* CF string */ + char commonName[256],/* Common name associated with cert */ + issuer[256], /* Issuer name */ + sigalg[256]; /* Signature algorithm */ + time_t expiration; /* Expiration date of cert */ + unsigned char md5_digest[16]; /* MD5 result */ + + if (SecCertificateCopyCommonName(secCert, &cf_string) == noErr) + { + CFStringGetCString(cf_string, commonName, (CFIndex)sizeof(commonName), kCFStringEncodingUTF8); + CFRelease(cf_string); + } + else + { + strlcpy(commonName, "unknown", sizeof(commonName)); + } + + strlcpy(issuer, "unknown", sizeof(issuer)); + strlcpy(sigalg, "UnknownSignature", sizeof(sigalg)); + +# if TARGET_OS_OSX + if ((cf_dict = SecCertificateCopyValues(secCert, NULL, NULL)) != NULL) + { + CFDictionaryRef cf_issuer = CFDictionaryGetValue(cf_dict, kSecOIDX509V1IssuerName); + CFDictionaryRef cf_sigalg = CFDictionaryGetValue(cf_dict, kSecOIDX509V1SignatureAlgorithm); + + if (cf_issuer) + { + CFArrayRef cf_values = CFDictionaryGetValue(cf_issuer, kSecPropertyKeyValue); + CFIndex i, count = CFArrayGetCount(cf_values); + CFDictionaryRef cf_value; + + for (i = 0; i < count; i ++) + { + cf_value = CFArrayGetValueAtIndex(cf_values, i); + + if (!CFStringCompare(CFDictionaryGetValue(cf_value, kSecPropertyKeyLabel), kSecOIDOrganizationName, kCFCompareCaseInsensitive)) + CFStringGetCString(CFDictionaryGetValue(cf_value, kSecPropertyKeyValue), issuer, (CFIndex)sizeof(issuer), kCFStringEncodingUTF8); + } + } + + if (cf_sigalg) + { + CFArrayRef cf_values = CFDictionaryGetValue(cf_sigalg, kSecPropertyKeyValue); + CFIndex i, count = CFArrayGetCount(cf_values); + CFDictionaryRef cf_value; + + for (i = 0; i < count; i ++) + { + cf_value = CFArrayGetValueAtIndex(cf_values, i); + + if (!CFStringCompare(CFDictionaryGetValue(cf_value, kSecPropertyKeyLabel), CFSTR("Algorithm"), kCFCompareCaseInsensitive)) + { + CFStringRef cf_algorithm = CFDictionaryGetValue(cf_value, kSecPropertyKeyValue); + + if (!CFStringCompare(cf_algorithm, CFSTR("1.2.840.113549.1.1.5"), kCFCompareCaseInsensitive)) + strlcpy(sigalg, "SHA1WithRSAEncryption", sizeof(sigalg)); + else if (!CFStringCompare(cf_algorithm, CFSTR("1.2.840.113549.1.1.11"), kCFCompareCaseInsensitive)) + strlcpy(sigalg, "SHA256WithRSAEncryption", sizeof(sigalg)); + else if (!CFStringCompare(cf_algorithm, CFSTR("1.2.840.113549.1.1.4"), kCFCompareCaseInsensitive)) + strlcpy(sigalg, "MD5WithRSAEncryption", sizeof(sigalg)); + } + } + } + + CFRelease(cf_dict); + } +# endif /* TARGET_OS_OSX */ + + expiration = (time_t)(SecCertificateNotValidAfter(secCert) + kCFAbsoluteTimeIntervalSince1970); + + cupsHashData("md5", first->data, first->datalen, md5_digest, sizeof(md5_digest)); + + snprintf(buffer, bufsize, "%s (issued by %s) / %s / %s / %02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", commonName, issuer, httpGetDateString(expiration), sigalg, md5_digest[0], md5_digest[1], md5_digest[2], md5_digest[3], md5_digest[4], md5_digest[5], md5_digest[6], md5_digest[7], md5_digest[8], md5_digest[9], md5_digest[10], md5_digest[11], md5_digest[12], md5_digest[13], md5_digest[14], md5_digest[15]); + + CFRelease(secCert); + } + + DEBUG_printf(("1httpCredentialsString: Returning \"%s\".", buffer)); + + return (strlen(buffer)); +} + + +/* + * '_httpFreeCredentials()' - Free internal credentials. + */ + +void +_httpFreeCredentials( + http_tls_credentials_t credentials) /* I - Internal credentials */ +{ + if (!credentials) + return; + + CFRelease(credentials); +} + + +/* + * 'httpLoadCredentials()' - Load X.509 credentials from a keychain file. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 0 on success, -1 on error */ +httpLoadCredentials( + const char *path, /* I - Keychain path or @code NULL@ for default */ + cups_array_t **credentials, /* IO - Credentials */ + const char *common_name) /* I - Common name for credentials */ +{ + OSStatus err; /* Error info */ +#if TARGET_OS_OSX + char filename[1024]; /* Filename for keychain */ + SecKeychainRef keychain = NULL,/* Keychain reference */ + syschain = NULL;/* System keychain */ + CFArrayRef list; /* Keychain list */ +#endif /* TARGET_OS_OSX */ + SecCertificateRef cert = NULL; /* Certificate */ + CFDataRef data; /* Certificate data */ + SecPolicyRef policy = NULL; /* Policy ref */ + CFStringRef cfcommon_name = NULL; + /* Server name */ + CFMutableDictionaryRef query = NULL; /* Query qualifiers */ + + + DEBUG_printf(("httpLoadCredentials(path=\"%s\", credentials=%p, common_name=\"%s\")", path, (void *)credentials, common_name)); + + if (!credentials) + return (-1); + + *credentials = NULL; + +#if TARGET_OS_OSX + keychain = http_cdsa_open_keychain(path, filename, sizeof(filename)); + + if (!keychain) + goto cleanup; + + syschain = http_cdsa_open_system_keychain(); + +#else + if (path) + return (-1); +#endif /* TARGET_OS_OSX */ + + cfcommon_name = CFStringCreateWithCString(kCFAllocatorDefault, common_name, kCFStringEncodingUTF8); + + policy = SecPolicyCreateSSL(1, cfcommon_name); + + if (cfcommon_name) + CFRelease(cfcommon_name); + + if (!policy) + goto cleanup; + + if (!(query = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks))) + goto cleanup; + + CFDictionaryAddValue(query, kSecClass, kSecClassCertificate); + CFDictionaryAddValue(query, kSecMatchPolicy, policy); + CFDictionaryAddValue(query, kSecReturnRef, kCFBooleanTrue); + CFDictionaryAddValue(query, kSecMatchLimit, kSecMatchLimitOne); + +#if TARGET_OS_OSX + if (syschain) + { + const void *values[2] = { syschain, keychain }; + + list = CFArrayCreate(kCFAllocatorDefault, (const void **)values, 2, &kCFTypeArrayCallBacks); + } + else + list = CFArrayCreate(kCFAllocatorDefault, (const void **)&keychain, 1, &kCFTypeArrayCallBacks); + CFDictionaryAddValue(query, kSecMatchSearchList, list); + CFRelease(list); +#endif /* TARGET_OS_OSX */ + + err = SecItemCopyMatching(query, (CFTypeRef *)&cert); + + if (err) + goto cleanup; + + if (CFGetTypeID(cert) != SecCertificateGetTypeID()) + goto cleanup; + + if ((data = SecCertificateCopyData(cert)) != NULL) + { + DEBUG_printf(("1httpLoadCredentials: Adding %d byte certificate blob.", (int)CFDataGetLength(data))); + + *credentials = cupsArrayNew(NULL, NULL); + httpAddCredential(*credentials, CFDataGetBytePtr(data), (size_t)CFDataGetLength(data)); + CFRelease(data); + } + + cleanup : + +#if TARGET_OS_OSX + if (keychain) + CFRelease(keychain); + + if (syschain) + CFRelease(syschain); +#endif /* TARGET_OS_OSX */ + if (cert) + CFRelease(cert); + if (policy) + CFRelease(policy); + if (query) + CFRelease(query); + + DEBUG_printf(("1httpLoadCredentials: Returning %d.", *credentials ? 0 : -1)); + + return (*credentials ? 0 : -1); +} + + +/* + * 'httpSaveCredentials()' - Save X.509 credentials to a keychain file. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - -1 on error, 0 on success */ +httpSaveCredentials( + const char *path, /* I - Keychain path or @code NULL@ for default */ + cups_array_t *credentials, /* I - Credentials */ + const char *common_name) /* I - Common name for credentials */ +{ + int ret = -1; /* Return value */ + OSStatus err; /* Error info */ +#if TARGET_OS_OSX + char filename[1024]; /* Filename for keychain */ + SecKeychainRef keychain = NULL;/* Keychain reference */ + CFArrayRef list; /* Keychain list */ +#endif /* TARGET_OS_OSX */ + SecCertificateRef cert = NULL; /* Certificate */ + CFMutableDictionaryRef attrs = NULL; /* Attributes for add */ + + + DEBUG_printf(("httpSaveCredentials(path=\"%s\", credentials=%p, common_name=\"%s\")", path, (void *)credentials, common_name)); + if (!credentials) + goto cleanup; + + if (!httpCredentialsAreValidForName(credentials, common_name)) + { + DEBUG_puts("1httpSaveCredentials: Common name does not match."); + return (-1); + } + + if ((cert = http_cdsa_create_credential((http_credential_t *)cupsArrayFirst(credentials))) == NULL) + { + DEBUG_puts("1httpSaveCredentials: Unable to create certificate."); + goto cleanup; + } + +#if TARGET_OS_OSX + keychain = http_cdsa_open_keychain(path, filename, sizeof(filename)); + + if (!keychain) + goto cleanup; + +#else + if (path) + return (-1); +#endif /* TARGET_OS_OSX */ + + if ((attrs = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks)) == NULL) + { + DEBUG_puts("1httpSaveCredentials: Unable to create dictionary."); + goto cleanup; + } + + CFDictionaryAddValue(attrs, kSecClass, kSecClassCertificate); + CFDictionaryAddValue(attrs, kSecValueRef, cert); + +#if TARGET_OS_OSX + if ((list = CFArrayCreate(kCFAllocatorDefault, (const void **)&keychain, 1, &kCFTypeArrayCallBacks)) == NULL) + { + DEBUG_puts("1httpSaveCredentials: Unable to create list of keychains."); + goto cleanup; + } + CFDictionaryAddValue(attrs, kSecMatchSearchList, list); + CFRelease(list); +#endif /* TARGET_OS_OSX */ + + /* Note: SecItemAdd consumes "attrs"... */ + err = SecItemAdd(attrs, NULL); + DEBUG_printf(("1httpSaveCredentials: SecItemAdd returned %d.", (int)err)); + + cleanup : + +#if TARGET_OS_OSX + if (keychain) + CFRelease(keychain); +#endif /* TARGET_OS_OSX */ + if (cert) + CFRelease(cert); + + DEBUG_printf(("1httpSaveCredentials: Returning %d.", ret)); + + return (ret); +} + + +/* + * '_httpTLSInitialize()' - Initialize the TLS stack. + */ + +void +_httpTLSInitialize(void) +{ + /* + * Nothing to do... + */ +} + + +/* + * '_httpTLSPending()' - Return the number of pending TLS-encrypted bytes. + */ + +size_t +_httpTLSPending(http_t *http) /* I - HTTP connection */ +{ + size_t bytes; /* Bytes that are available */ + + + if (!SSLGetBufferedReadSize(http->tls, &bytes)) + return (bytes); + + return (0); +} + + +/* + * '_httpTLSRead()' - Read from a SSL/TLS connection. + */ + +int /* O - Bytes read */ +_httpTLSRead(http_t *http, /* I - HTTP connection */ + char *buf, /* I - Buffer to store data */ + int len) /* I - Length of buffer */ +{ + int result; /* Return value */ + OSStatus error; /* Error info */ + size_t processed; /* Number of bytes processed */ + + + error = SSLRead(http->tls, buf, (size_t)len, &processed); + DEBUG_printf(("6_httpTLSRead: error=%d, processed=%d", (int)error, + (int)processed)); + switch (error) + { + case 0 : + result = (int)processed; + break; + + case errSSLWouldBlock : + if (processed) + result = (int)processed; + else + { + result = -1; + errno = EINTR; + } + break; + + case errSSLClosedGraceful : + default : + if (processed) + result = (int)processed; + else + { + result = -1; + errno = EPIPE; + } + break; + } + + return (result); +} + + +/* + * '_httpTLSSetOptions()' - Set TLS protocol and cipher suite options. + */ + +void +_httpTLSSetOptions(int options, /* I - Options */ + int min_version, /* I - Minimum TLS version */ + int max_version) /* I - Maximum TLS version */ +{ + if (!(options & _HTTP_TLS_SET_DEFAULT) || tls_options < 0) + { + tls_options = options; + tls_min_version = min_version; + tls_max_version = max_version; + } +} + + +/* + * '_httpTLSStart()' - Set up SSL/TLS support on a connection. + */ + +int /* O - 0 on success, -1 on failure */ +_httpTLSStart(http_t *http) /* I - HTTP connection */ +{ + char hostname[256], /* Hostname */ + *hostptr; /* Pointer into hostname */ + _cups_globals_t *cg = _cupsGlobals(); + /* Pointer to library globals */ + OSStatus error; /* Error code */ + const char *message = NULL;/* Error message */ + char msgbuf[1024]; /* Error message buffer */ + cups_array_t *credentials; /* Credentials array */ + cups_array_t *names; /* CUPS distinguished names */ + CFArrayRef dn_array; /* CF distinguished names array */ + CFIndex count; /* Number of credentials */ + CFDataRef data; /* Certificate data */ + int i; /* Looping var */ + http_credential_t *credential; /* Credential data */ + + + DEBUG_printf(("3_httpTLSStart(http=%p)", (void *)http)); + + if (tls_options < 0) + { + DEBUG_puts("4_httpTLSStart: Setting defaults."); + _cupsSetDefaults(); + DEBUG_printf(("4_httpTLSStart: tls_options=%x, tls_min_version=%d, tls_max_version=%d", tls_options, tls_min_version, tls_max_version)); + } + +#if TARGET_OS_OSX + if (http->mode == _HTTP_MODE_SERVER && !tls_keychain) + { + DEBUG_puts("4_httpTLSStart: cupsSetServerCredentials not called."); + http->error = errno = EINVAL; + http->status = HTTP_STATUS_ERROR; + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Server credentials not set."), 1); + + return (-1); + } +#endif /* TARGET_OS_OSX */ + + if ((http->tls = SSLCreateContext(kCFAllocatorDefault, http->mode == _HTTP_MODE_CLIENT ? kSSLClientSide : kSSLServerSide, kSSLStreamType)) == NULL) + { + DEBUG_puts("4_httpTLSStart: SSLCreateContext failed."); + http->error = errno = ENOMEM; + http->status = HTTP_STATUS_ERROR; + _cupsSetHTTPError(HTTP_STATUS_ERROR); + + return (-1); + } + + error = SSLSetConnection(http->tls, http); + DEBUG_printf(("4_httpTLSStart: SSLSetConnection, error=%d", (int)error)); + + if (!error) + { + error = SSLSetIOFuncs(http->tls, http_cdsa_read, http_cdsa_write); + DEBUG_printf(("4_httpTLSStart: SSLSetIOFuncs, error=%d", (int)error)); + } + + if (!error) + { + error = SSLSetSessionOption(http->tls, kSSLSessionOptionBreakOnServerAuth, + true); + DEBUG_printf(("4_httpTLSStart: SSLSetSessionOption, error=%d", (int)error)); + } + + if (!error) + { + static const SSLProtocol protocols[] = /* Min/max protocol versions */ + { + kSSLProtocol3, + kTLSProtocol1, + kTLSProtocol11, + kTLSProtocol12, + kTLSProtocol13 + }; + + if (tls_min_version < _HTTP_TLS_MAX) + { + error = SSLSetProtocolVersionMin(http->tls, protocols[tls_min_version]); + DEBUG_printf(("4_httpTLSStart: SSLSetProtocolVersionMin(%d), error=%d", protocols[tls_min_version], (int)error)); + } + + if (!error && tls_max_version < _HTTP_TLS_MAX) + { + error = SSLSetProtocolVersionMax(http->tls, protocols[tls_max_version]); + DEBUG_printf(("4_httpTLSStart: SSLSetProtocolVersionMax(%d), error=%d", protocols[tls_max_version], (int)error)); + } + } + + if (!error) + { + SSLCipherSuite supported[100]; /* Supported cipher suites */ + size_t num_supported; /* Number of supported cipher suites */ + SSLCipherSuite enabled[100]; /* Cipher suites to enable */ + size_t num_enabled; /* Number of cipher suites to enable */ + + num_supported = sizeof(supported) / sizeof(supported[0]); + error = SSLGetSupportedCiphers(http->tls, supported, &num_supported); + + if (!error) + { + DEBUG_printf(("4_httpTLSStart: %d cipher suites supported.", (int)num_supported)); + + for (i = 0, num_enabled = 0; i < (int)num_supported && num_enabled < (sizeof(enabled) / sizeof(enabled[0])); i ++) + { + switch (supported[i]) + { + /* Obviously insecure cipher suites that we never want to use */ + case SSL_NULL_WITH_NULL_NULL : + case SSL_RSA_WITH_NULL_MD5 : + case SSL_RSA_WITH_NULL_SHA : + case SSL_RSA_EXPORT_WITH_RC4_40_MD5 : + case SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5 : + case SSL_RSA_EXPORT_WITH_DES40_CBC_SHA : + case SSL_RSA_WITH_DES_CBC_SHA : + case SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA : + case SSL_DH_DSS_WITH_DES_CBC_SHA : + case SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA : + case SSL_DH_RSA_WITH_DES_CBC_SHA : + case SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA : + case SSL_DHE_DSS_WITH_DES_CBC_SHA : + case SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA : + case SSL_DHE_RSA_WITH_DES_CBC_SHA : + case SSL_DH_anon_EXPORT_WITH_RC4_40_MD5 : + case SSL_DH_anon_WITH_RC4_128_MD5 : + case SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA : + case SSL_DH_anon_WITH_DES_CBC_SHA : + case SSL_DH_anon_WITH_3DES_EDE_CBC_SHA : + case SSL_FORTEZZA_DMS_WITH_NULL_SHA : + case TLS_DH_anon_WITH_AES_128_CBC_SHA : + case TLS_DH_anon_WITH_AES_256_CBC_SHA : + case TLS_ECDH_ECDSA_WITH_NULL_SHA : + case TLS_ECDHE_RSA_WITH_NULL_SHA : + case TLS_ECDH_anon_WITH_NULL_SHA : + case TLS_ECDH_anon_WITH_RC4_128_SHA : + case TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA : + case TLS_ECDH_anon_WITH_AES_128_CBC_SHA : + case TLS_ECDH_anon_WITH_AES_256_CBC_SHA : + case TLS_RSA_WITH_NULL_SHA256 : + case TLS_DH_anon_WITH_AES_128_CBC_SHA256 : + case TLS_DH_anon_WITH_AES_256_CBC_SHA256 : + case TLS_PSK_WITH_NULL_SHA : + case TLS_DHE_PSK_WITH_NULL_SHA : + case TLS_RSA_PSK_WITH_NULL_SHA : + case TLS_DH_anon_WITH_AES_128_GCM_SHA256 : + case TLS_DH_anon_WITH_AES_256_GCM_SHA384 : + case TLS_PSK_WITH_NULL_SHA256 : + case TLS_PSK_WITH_NULL_SHA384 : + case TLS_DHE_PSK_WITH_NULL_SHA256 : + case TLS_DHE_PSK_WITH_NULL_SHA384 : + case TLS_RSA_PSK_WITH_NULL_SHA256 : + case TLS_RSA_PSK_WITH_NULL_SHA384 : + case SSL_RSA_WITH_DES_CBC_MD5 : + DEBUG_printf(("4_httpTLSStart: Excluding insecure cipher suite %d", supported[i])); + break; + + /* RC4 cipher suites that should only be used as a last resort */ + case SSL_RSA_WITH_RC4_128_MD5 : + case SSL_RSA_WITH_RC4_128_SHA : + case TLS_ECDH_ECDSA_WITH_RC4_128_SHA : + case TLS_ECDHE_ECDSA_WITH_RC4_128_SHA : + case TLS_ECDH_RSA_WITH_RC4_128_SHA : + case TLS_ECDHE_RSA_WITH_RC4_128_SHA : + case TLS_PSK_WITH_RC4_128_SHA : + case TLS_DHE_PSK_WITH_RC4_128_SHA : + case TLS_RSA_PSK_WITH_RC4_128_SHA : + if (tls_options & _HTTP_TLS_ALLOW_RC4) + enabled[num_enabled ++] = supported[i]; + else + DEBUG_printf(("4_httpTLSStart: Excluding RC4 cipher suite %d", supported[i])); + break; + + /* DH/DHE cipher suites that are problematic with parameters < 1024 bits */ + case TLS_DH_DSS_WITH_AES_128_CBC_SHA : + case TLS_DH_RSA_WITH_AES_128_CBC_SHA : + case TLS_DHE_DSS_WITH_AES_128_CBC_SHA : + case TLS_DHE_RSA_WITH_AES_128_CBC_SHA : + case TLS_DH_DSS_WITH_AES_256_CBC_SHA : + case TLS_DH_RSA_WITH_AES_256_CBC_SHA : + case TLS_DHE_DSS_WITH_AES_256_CBC_SHA : + case TLS_DHE_RSA_WITH_AES_256_CBC_SHA : + case TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA : + case TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA : + case TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA : + case TLS_DH_DSS_WITH_AES_128_CBC_SHA256 : + case TLS_DH_RSA_WITH_AES_128_CBC_SHA256 : + case TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 : + case TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 : + case TLS_DH_DSS_WITH_AES_256_CBC_SHA256 : + case TLS_DH_RSA_WITH_AES_256_CBC_SHA256 : + case TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 : + case TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 : + case TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA : + case TLS_DHE_PSK_WITH_AES_128_CBC_SHA : + case TLS_DHE_PSK_WITH_AES_256_CBC_SHA : + case TLS_DHE_PSK_WITH_AES_128_CBC_SHA256 : + case TLS_DHE_PSK_WITH_AES_256_CBC_SHA384 : + if (tls_options & _HTTP_TLS_DENY_CBC) + { + DEBUG_printf(("4_httpTLSStart: Excluding CBC cipher suite %d", supported[i])); + break; + } + +// case TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 : +// case TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 : + case TLS_DH_RSA_WITH_AES_128_GCM_SHA256 : + case TLS_DH_RSA_WITH_AES_256_GCM_SHA384 : +// case TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 : +// case TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 : + case TLS_DH_DSS_WITH_AES_128_GCM_SHA256 : + case TLS_DH_DSS_WITH_AES_256_GCM_SHA384 : + case TLS_DHE_PSK_WITH_AES_128_GCM_SHA256 : + case TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 : + if (tls_options & _HTTP_TLS_ALLOW_DH) + enabled[num_enabled ++] = supported[i]; + else + DEBUG_printf(("4_httpTLSStart: Excluding DH/DHE cipher suite %d", supported[i])); + break; + + case TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA : + case TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 : + case TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 : + case TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 : + case TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 : + case TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 : + case TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 : + case TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 : + case TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 : + case TLS_RSA_WITH_3DES_EDE_CBC_SHA : + case TLS_RSA_WITH_AES_128_CBC_SHA : + case TLS_RSA_WITH_AES_256_CBC_SHA : + if (tls_options & _HTTP_TLS_DENY_CBC) + { + DEBUG_printf(("4_httpTLSStart: Excluding CBC cipher suite %d", supported[i])); + break; + } + + /* Anything else we'll assume is "secure" */ + default : + enabled[num_enabled ++] = supported[i]; + break; + } + } + + DEBUG_printf(("4_httpTLSStart: %d cipher suites enabled.", (int)num_enabled)); + error = SSLSetEnabledCiphers(http->tls, enabled, num_enabled); + } + } + + if (!error && http->mode == _HTTP_MODE_CLIENT) + { + /* + * Client: set client-side credentials, if any... + */ + + if (cg->client_cert_cb) + { + error = SSLSetSessionOption(http->tls, + kSSLSessionOptionBreakOnCertRequested, true); + DEBUG_printf(("4_httpTLSStart: kSSLSessionOptionBreakOnCertRequested, " + "error=%d", (int)error)); + } + else + { + error = http_cdsa_set_credentials(http); + DEBUG_printf(("4_httpTLSStart: http_cdsa_set_credentials, error=%d", + (int)error)); + } + } + else if (!error) + { + /* + * Server: find/create a certificate for TLS... + */ + + if (http->fields[HTTP_FIELD_HOST]) + { + /* + * Use hostname for TLS upgrade... + */ + + strlcpy(hostname, http->fields[HTTP_FIELD_HOST], sizeof(hostname)); + } + else + { + /* + * Resolve hostname from connection address... + */ + + http_addr_t addr; /* Connection address */ + socklen_t addrlen; /* Length of address */ + + addrlen = sizeof(addr); + if (getsockname(http->fd, (struct sockaddr *)&addr, &addrlen)) + { + DEBUG_printf(("4_httpTLSStart: Unable to get socket address: %s", strerror(errno))); + hostname[0] = '\0'; + } + else if (httpAddrLocalhost(&addr)) + hostname[0] = '\0'; + else + { + httpAddrLookup(&addr, hostname, sizeof(hostname)); + DEBUG_printf(("4_httpTLSStart: Resolved socket address to \"%s\".", hostname)); + } + } + + if (isdigit(hostname[0] & 255) || hostname[0] == '[') + hostname[0] = '\0'; /* Don't allow numeric addresses */ + + if (hostname[0]) + http->tls_credentials = http_cdsa_copy_server(hostname); + else if (tls_common_name) + http->tls_credentials = http_cdsa_copy_server(tls_common_name); + + if (!http->tls_credentials && tls_auto_create && (hostname[0] || tls_common_name)) + { + DEBUG_printf(("4_httpTLSStart: Auto-create credentials for \"%s\".", hostname[0] ? hostname : tls_common_name)); + + if (!cupsMakeServerCredentials(tls_keypath, hostname[0] ? hostname : tls_common_name, 0, NULL, time(NULL) + 365 * 86400)) + { + DEBUG_puts("4_httpTLSStart: cupsMakeServerCredentials failed."); + http->error = errno = EINVAL; + http->status = HTTP_STATUS_ERROR; + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to create server credentials."), 1); + + return (-1); + } + + http->tls_credentials = http_cdsa_copy_server(hostname[0] ? hostname : tls_common_name); + } + + if (!http->tls_credentials) + { + DEBUG_puts("4_httpTLSStart: Unable to find server credentials."); + http->error = errno = EINVAL; + http->status = HTTP_STATUS_ERROR; + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to find server credentials."), 1); + + return (-1); + } + + error = SSLSetCertificate(http->tls, http->tls_credentials); + + DEBUG_printf(("4_httpTLSStart: SSLSetCertificate, error=%d", (int)error)); + } + + DEBUG_printf(("4_httpTLSStart: tls_credentials=%p", (void *)http->tls_credentials)); + + /* + * Let the server know which hostname/domain we are trying to connect to + * in case it wants to serve up a certificate with a matching common name. + */ + + if (!error && http->mode == _HTTP_MODE_CLIENT) + { + /* + * Client: get the hostname to use for TLS... + */ + + if (httpAddrLocalhost(http->hostaddr)) + { + strlcpy(hostname, "localhost", sizeof(hostname)); + } + else + { + /* + * Otherwise make sure the hostname we have does not end in a trailing dot. + */ + + strlcpy(hostname, http->hostname, sizeof(hostname)); + if ((hostptr = hostname + strlen(hostname) - 1) >= hostname && + *hostptr == '.') + *hostptr = '\0'; + } + + error = SSLSetPeerDomainName(http->tls, hostname, strlen(hostname)); + + DEBUG_printf(("4_httpTLSStart: SSLSetPeerDomainName, error=%d", (int)error)); + } + + if (!error) + { + int done = 0; /* Are we done yet? */ + double old_timeout; /* Old timeout value */ + http_timeout_cb_t old_cb; /* Old timeout callback */ + void *old_data; /* Old timeout data */ + + /* + * Enforce a minimum timeout of 10 seconds for the TLS handshake... + */ + + old_timeout = http->timeout_value; + old_cb = http->timeout_cb; + old_data = http->timeout_data; + + if (!old_cb || old_timeout < 10.0) + { + DEBUG_puts("4_httpTLSStart: Setting timeout to 10 seconds."); + httpSetTimeout(http, 10.0, NULL, NULL); + } + + /* + * Do the TLS handshake... + */ + + while (!error && !done) + { + error = SSLHandshake(http->tls); + + DEBUG_printf(("4_httpTLSStart: SSLHandshake returned %d.", (int)error)); + + switch (error) + { + case noErr : + done = 1; + break; + + case errSSLWouldBlock : + error = noErr; /* Force a retry */ + usleep(1000); /* in 1 millisecond */ + break; + + case errSSLServerAuthCompleted : + error = 0; + if (cg->server_cert_cb) + { + error = httpCopyCredentials(http, &credentials); + if (!error) + { + error = (cg->server_cert_cb)(http, http->tls, credentials, + cg->server_cert_data); + httpFreeCredentials(credentials); + } + + DEBUG_printf(("4_httpTLSStart: Server certificate callback " + "returned %d.", (int)error)); + } + break; + + case errSSLClientCertRequested : + error = 0; + + if (cg->client_cert_cb) + { + names = NULL; + if (!(error = SSLCopyDistinguishedNames(http->tls, &dn_array)) && + dn_array) + { + if ((names = cupsArrayNew(NULL, NULL)) != NULL) + { + for (i = 0, count = CFArrayGetCount(dn_array); i < count; i++) + { + data = (CFDataRef)CFArrayGetValueAtIndex(dn_array, i); + + if ((credential = malloc(sizeof(*credential))) != NULL) + { + credential->datalen = (size_t)CFDataGetLength(data); + if ((credential->data = malloc(credential->datalen))) + { + memcpy((void *)credential->data, CFDataGetBytePtr(data), + credential->datalen); + cupsArrayAdd(names, credential); + } + else + free(credential); + } + } + } + + CFRelease(dn_array); + } + + if (!error) + { + error = (cg->client_cert_cb)(http, http->tls, names, + cg->client_cert_data); + + DEBUG_printf(("4_httpTLSStart: Client certificate callback " + "returned %d.", (int)error)); + } + + httpFreeCredentials(names); + } + break; + + case errSSLUnknownRootCert : + message = _("Unable to establish a secure connection to host " + "(untrusted certificate)."); + break; + + case errSSLNoRootCert : + message = _("Unable to establish a secure connection to host " + "(self-signed certificate)."); + break; + + case errSSLCertExpired : + message = _("Unable to establish a secure connection to host " + "(expired certificate)."); + break; + + case errSSLCertNotYetValid : + message = _("Unable to establish a secure connection to host " + "(certificate not yet valid)."); + break; + + case errSSLHostNameMismatch : + message = _("Unable to establish a secure connection to host " + "(host name mismatch)."); + break; + + case errSSLXCertChainInvalid : + message = _("Unable to establish a secure connection to host " + "(certificate chain invalid)."); + break; + + case errSSLConnectionRefused : + message = _("Unable to establish a secure connection to host " + "(peer dropped connection before responding)."); + break; + + default : + break; + } + } + + /* + * Restore the previous timeout settings... + */ + + httpSetTimeout(http, old_timeout, old_cb, old_data); + } + + if (error) + { + http->error = error; + http->status = HTTP_STATUS_ERROR; + errno = ECONNREFUSED; + + CFRelease(http->tls); + http->tls = NULL; + + /* + * If an error string wasn't set by the callbacks use a generic one... + */ + + if (!message) + { + if (!cg->lang_default) + cg->lang_default = cupsLangDefault(); + + snprintf(msgbuf, sizeof(msgbuf), _cupsLangString(cg->lang_default, _("Unable to establish a secure connection to host (%d).")), error); + message = msgbuf; + } + + _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, message, 1); + + return (-1); + } + + return (0); +} + + +/* + * '_httpTLSStop()' - Shut down SSL/TLS on a connection. + */ + +void +_httpTLSStop(http_t *http) /* I - HTTP connection */ +{ + while (SSLClose(http->tls) == errSSLWouldBlock) + usleep(1000); + + CFRelease(http->tls); + + if (http->tls_credentials) + CFRelease(http->tls_credentials); + + http->tls = NULL; + http->tls_credentials = NULL; +} + + +/* + * '_httpTLSWrite()' - Write to a SSL/TLS connection. + */ + +int /* O - Bytes written */ +_httpTLSWrite(http_t *http, /* I - HTTP connection */ + const char *buf, /* I - Buffer holding data */ + int len) /* I - Length of buffer */ +{ + ssize_t result; /* Return value */ + OSStatus error; /* Error info */ + size_t processed; /* Number of bytes processed */ + + + DEBUG_printf(("2_httpTLSWrite(http=%p, buf=%p, len=%d)", (void *)http, (void *)buf, len)); + + error = SSLWrite(http->tls, buf, (size_t)len, &processed); + + switch (error) + { + case 0 : + result = (int)processed; + break; + + case errSSLWouldBlock : + if (processed) + { + result = (int)processed; + } + else + { + result = -1; + errno = EINTR; + } + break; + + case errSSLClosedGraceful : + default : + if (processed) + { + result = (int)processed; + } + else + { + result = -1; + errno = EPIPE; + } + break; + } + + DEBUG_printf(("3_httpTLSWrite: Returning %d.", (int)result)); + + return ((int)result); +} + + +/* + * 'http_cdsa_copy_server()' - Find and copy server credentials from the keychain. + */ + +static CFArrayRef /* O - Array of certificates or NULL */ +http_cdsa_copy_server( + const char *common_name) /* I - Server's hostname */ +{ +#if TARGET_OS_OSX + OSStatus err; /* Error info */ + SecIdentityRef identity = NULL;/* Identity */ + CFArrayRef certificates = NULL; + /* Certificate array */ + SecPolicyRef policy = NULL; /* Policy ref */ + CFStringRef cfcommon_name = NULL; + /* Server name */ + CFMutableDictionaryRef query = NULL; /* Query qualifiers */ + CFArrayRef list = NULL; /* Keychain list */ + SecKeychainRef syschain = NULL;/* System keychain */ + SecKeychainStatus status = 0; /* Keychain status */ + + + DEBUG_printf(("3http_cdsa_copy_server(common_name=\"%s\")", common_name)); + + cfcommon_name = CFStringCreateWithCString(kCFAllocatorDefault, common_name, kCFStringEncodingUTF8); + + policy = SecPolicyCreateSSL(1, cfcommon_name); + + if (!policy) + { + DEBUG_puts("4http_cdsa_copy_server: Unable to create SSL policy."); + goto cleanup; + } + + if (!(query = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks))) + { + DEBUG_puts("4http_cdsa_copy_server: Unable to create query dictionary."); + goto cleanup; + } + + _cupsMutexLock(&tls_mutex); + + err = SecKeychainGetStatus(tls_keychain, &status); + + if (err == noErr && !(status & kSecUnlockStateStatus) && tls_cups_keychain) + SecKeychainUnlock(tls_keychain, _CUPS_CDSA_PASSLEN, _CUPS_CDSA_PASSWORD, TRUE); + + CFDictionaryAddValue(query, kSecClass, kSecClassIdentity); + CFDictionaryAddValue(query, kSecMatchPolicy, policy); + CFDictionaryAddValue(query, kSecReturnRef, kCFBooleanTrue); + CFDictionaryAddValue(query, kSecMatchLimit, kSecMatchLimitOne); + + syschain = http_cdsa_open_system_keychain(); + + if (syschain) + { + const void *values[2] = { syschain, tls_keychain }; + + list = CFArrayCreate(kCFAllocatorDefault, (const void **)values, 2, &kCFTypeArrayCallBacks); + } + else + list = CFArrayCreate(kCFAllocatorDefault, (const void **)&tls_keychain, 1, &kCFTypeArrayCallBacks); + + CFDictionaryAddValue(query, kSecMatchSearchList, list); + CFRelease(list); + + err = SecItemCopyMatching(query, (CFTypeRef *)&identity); + + _cupsMutexUnlock(&tls_mutex); + + if (err != noErr) + { + DEBUG_printf(("4http_cdsa_copy_server: SecItemCopyMatching failed with status %d.", (int)err)); + goto cleanup; + } + + if (CFGetTypeID(identity) != SecIdentityGetTypeID()) + { + DEBUG_puts("4http_cdsa_copy_server: Search returned something that is not an identity."); + goto cleanup; + } + + if ((certificates = CFArrayCreate(NULL, (const void **)&identity, 1, &kCFTypeArrayCallBacks)) == NULL) + { + DEBUG_puts("4http_cdsa_copy_server: Unable to create array of certificates."); + goto cleanup; + } + + cleanup : + + if (syschain) + CFRelease(syschain); + if (identity) + CFRelease(identity); + if (policy) + CFRelease(policy); + if (cfcommon_name) + CFRelease(cfcommon_name); + if (query) + CFRelease(query); + + DEBUG_printf(("4http_cdsa_copy_server: Returning %p.", (void *)certificates)); + + return (certificates); +#else + + (void)common_name; + + if (!tls_selfsigned) + return (NULL); + + return (CFArrayCreate(NULL, (const void **)&tls_selfsigned, 1, &kCFTypeArrayCallBacks)); +#endif /* TARGET_OS_OSX */ +} + + +/* + * 'http_cdsa_create_credential()' - Create a single credential in the internal format. + */ + +static SecCertificateRef /* O - Certificate */ +http_cdsa_create_credential( + http_credential_t *credential) /* I - Credential */ +{ + SecCertificateRef cert; /* Certificate */ + CFDataRef data; /* Data object */ + + + if (!credential) + return (NULL); + + data = CFDataCreate(kCFAllocatorDefault, credential->data, (CFIndex)credential->datalen); + cert = SecCertificateCreateWithData(kCFAllocatorDefault, data); + CFRelease(data); + + return (cert); +} + + +#if TARGET_OS_OSX +/* + * 'http_cdsa_default_path()' - Get the default keychain path. + */ + +static const char * /* O - Keychain path */ +http_cdsa_default_path(char *buffer, /* I - Path buffer */ + size_t bufsize) /* I - Size of buffer */ +{ + _cups_globals_t *cg = _cupsGlobals(); + /* Pointer to library globals */ + + + /* + * Determine the default keychain path. Note that the login and system + * keychains are no longer accessible to user applications starting in macOS + * 10.11.4 (!), so we need to create our own keychain just for CUPS. + */ + + if (cg->home) + snprintf(buffer, bufsize, "%s/.cups/ssl.keychain", cg->home); + else + strlcpy(buffer, "/etc/cups/ssl.keychain", bufsize); + + DEBUG_printf(("1http_cdsa_default_path: Using default path \"%s\".", buffer)); + + return (buffer); +} + + +/* + * 'http_cdsa_open_keychain()' - Open (or create) a keychain. + */ + +static SecKeychainRef /* O - Keychain or NULL */ +http_cdsa_open_keychain( + const char *path, /* I - Path to keychain */ + char *filename, /* I - Keychain filename */ + size_t filesize) /* I - Size of filename buffer */ +{ + SecKeychainRef keychain = NULL;/* Temporary keychain */ + OSStatus err; /* Error code */ + Boolean interaction; /* Interaction allowed? */ + SecKeychainStatus status = 0; /* Keychain status */ + + + /* + * Get the keychain filename... + */ + + if (!path) + { + path = http_cdsa_default_path(filename, filesize); + tls_cups_keychain = 1; + } + else + { + strlcpy(filename, path, filesize); + tls_cups_keychain = 0; + } + + /* + * Save the interaction setting and disable while we open the keychain... + */ + + SecKeychainGetUserInteractionAllowed(&interaction); + SecKeychainSetUserInteractionAllowed(FALSE); + + if (access(path, R_OK) && tls_cups_keychain) + { + /* + * Create a new keychain at the given path... + */ + + err = SecKeychainCreate(path, _CUPS_CDSA_PASSLEN, _CUPS_CDSA_PASSWORD, FALSE, NULL, &keychain); + } + else + { + /* + * Open the existing keychain and unlock as needed... + */ + + err = SecKeychainOpen(path, &keychain); + + if (err == noErr) + err = SecKeychainGetStatus(keychain, &status); + + if (err == noErr && !(status & kSecUnlockStateStatus) && tls_cups_keychain) + err = SecKeychainUnlock(keychain, _CUPS_CDSA_PASSLEN, _CUPS_CDSA_PASSWORD, TRUE); + } + + /* + * Restore interaction setting... + */ + + SecKeychainSetUserInteractionAllowed(interaction); + + /* + * Release the keychain if we had any errors... + */ + + if (err != noErr) + { + /* TODO: Set cups last error string */ + DEBUG_printf(("4http_cdsa_open_keychain: Unable to open keychain (%d), returning NULL.", (int)err)); + + if (keychain) + { + CFRelease(keychain); + keychain = NULL; + } + } + + /* + * Return the keychain or NULL... + */ + + return (keychain); +} + + +/* + * 'http_cdsa_open_system_keychain()' - Open the System keychain. + */ + +static SecKeychainRef +http_cdsa_open_system_keychain(void) +{ + SecKeychainRef keychain = NULL;/* Temporary keychain */ + OSStatus err; /* Error code */ + Boolean interaction; /* Interaction allowed? */ + SecKeychainStatus status = 0; /* Keychain status */ + + + /* + * Save the interaction setting and disable while we open the keychain... + */ + + SecKeychainGetUserInteractionAllowed(&interaction); + SecKeychainSetUserInteractionAllowed(TRUE); + + err = SecKeychainOpen("/Library/Keychains/System.keychain", &keychain); + + if (err == noErr) + err = SecKeychainGetStatus(keychain, &status); + + if (err == noErr && !(status & kSecUnlockStateStatus)) + err = errSecInteractionNotAllowed; + + /* + * Restore interaction setting... + */ + + SecKeychainSetUserInteractionAllowed(interaction); + + /* + * Release the keychain if we had any errors... + */ + + if (err != noErr) + { + /* TODO: Set cups last error string */ + DEBUG_printf(("4http_cdsa_open_system_keychain: Unable to open keychain (%d), returning NULL.", (int)err)); + + if (keychain) + { + CFRelease(keychain); + keychain = NULL; + } + } + + /* + * Return the keychain or NULL... + */ + + return (keychain); +} +#endif /* TARGET_OS_OSX */ + + +/* + * 'http_cdsa_read()' - Read function for the CDSA library. + */ + +static OSStatus /* O - -1 on error, 0 on success */ +http_cdsa_read( + SSLConnectionRef connection, /* I - SSL/TLS connection */ + void *data, /* I - Data buffer */ + size_t *dataLength) /* IO - Number of bytes */ +{ + OSStatus result; /* Return value */ + ssize_t bytes; /* Number of bytes read */ + http_t *http; /* HTTP connection */ + + + http = (http_t *)connection; + + if (!http->blocking || http->timeout_value > 0.0) + { + /* + * Make sure we have data before we read... + */ + + while (!_httpWait(http, http->wait_value, 0)) + { + if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) + continue; + + http->error = ETIMEDOUT; + return (-1); + } + } + + do + { + bytes = recv(http->fd, data, *dataLength, 0); + } + while (bytes == -1 && (errno == EINTR || errno == EAGAIN)); + + if ((size_t)bytes == *dataLength) + { + result = 0; + } + else if (bytes > 0) + { + *dataLength = (size_t)bytes; + result = errSSLWouldBlock; + } + else + { + *dataLength = 0; + + if (bytes == 0) + result = errSSLClosedGraceful; + else if (errno == EAGAIN) + result = errSSLWouldBlock; + else + result = errSSLClosedAbort; + } + + return (result); +} + + +/* + * 'http_cdsa_set_credentials()' - Set the TLS credentials. + */ + +static int /* O - Status of connection */ +http_cdsa_set_credentials(http_t *http) /* I - HTTP connection */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + OSStatus error = 0; /* Error code */ + http_tls_credentials_t credentials = NULL; + /* TLS credentials */ + + + DEBUG_printf(("7http_tls_set_credentials(%p)", (void *)http)); + + /* + * Prefer connection specific credentials... + */ + + if ((credentials = http->tls_credentials) == NULL) + credentials = cg->tls_credentials; + + if (credentials) + { + error = SSLSetCertificate(http->tls, credentials); + DEBUG_printf(("4http_tls_set_credentials: SSLSetCertificate, error=%d", + (int)error)); + } + else + DEBUG_puts("4http_tls_set_credentials: No credentials to set."); + + return (error); +} + + +/* + * 'http_cdsa_write()' - Write function for the CDSA library. + */ + +static OSStatus /* O - -1 on error, 0 on success */ +http_cdsa_write( + SSLConnectionRef connection, /* I - SSL/TLS connection */ + const void *data, /* I - Data buffer */ + size_t *dataLength) /* IO - Number of bytes */ +{ + OSStatus result; /* Return value */ + ssize_t bytes; /* Number of bytes read */ + http_t *http; /* HTTP connection */ + + + http = (http_t *)connection; + + do + { + bytes = write(http->fd, data, *dataLength); + } + while (bytes == -1 && (errno == EINTR || errno == EAGAIN)); + + if ((size_t)bytes == *dataLength) + { + result = 0; + } + else if (bytes >= 0) + { + *dataLength = (size_t)bytes; + result = errSSLWouldBlock; + } + else + { + *dataLength = 0; + + if (errno == EAGAIN) + result = errSSLWouldBlock; + else + result = errSSLClosedAbort; + } + + return (result); +} diff --git a/cups/tls-darwin.h b/cups/tls-darwin.h new file mode 100644 index 0000000..ca4136e --- /dev/null +++ b/cups/tls-darwin.h @@ -0,0 +1,35 @@ +/* + * TLS support header for CUPS on macOS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/**** This file is included from tls-darwin.c ****/ + +extern char **environ; + +#ifndef _SECURITY_VERSION_GREATER_THAN_57610_ +typedef CF_OPTIONS(uint32_t, SecKeyUsage) { + kSecKeyUsageAll = 0x7FFFFFFF +}; +#endif /* !_SECURITY_VERSION_GREATER_THAN_57610_ */ +extern const void * kSecCSRChallengePassword; +extern const void * kSecSubjectAltName; +extern const void * kSecCertificateKeyUsage; +extern const void * kSecCSRBasicContraintsPathLen; +extern const void * kSecCertificateExtensions; +extern const void * kSecCertificateExtensionsEncoded; +extern const void * kSecOidCommonName; +extern const void * kSecOidCountryName; +extern const void * kSecOidStateProvinceName; +extern const void * kSecOidLocalityName; +extern const void * kSecOidOrganization; +extern const void * kSecOidOrganizationalUnit; +extern bool SecCertificateIsValid(SecCertificateRef certificate, CFAbsoluteTime verifyTime); +extern CFAbsoluteTime SecCertificateNotValidAfter(SecCertificateRef certificate); +extern SecCertificateRef SecGenerateSelfSignedCertificate(CFArrayRef subject, CFDictionaryRef parameters, SecKeyRef publicKey, SecKeyRef privateKey); +extern SecIdentityRef SecIdentityCreate(CFAllocatorRef allocator, SecCertificateRef certificate, SecKeyRef privateKey); diff --git a/cups/tls-gnutls.c b/cups/tls-gnutls.c new file mode 100644 index 0000000..329cc0e --- /dev/null +++ b/cups/tls-gnutls.c @@ -0,0 +1,1729 @@ +/* + * TLS support code for CUPS using GNU TLS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/**** This file is included from tls.c ****/ + +/* + * Include necessary headers... + */ + +#include + + +/* + * Local globals... + */ + +static int tls_auto_create = 0; + /* Auto-create self-signed certs? */ +static char *tls_common_name = NULL; + /* Default common name */ +static gnutls_x509_crl_t tls_crl = NULL;/* Certificate revocation list */ +static char *tls_keypath = NULL; + /* Server cert keychain path */ +static _cups_mutex_t tls_mutex = _CUPS_MUTEX_INITIALIZER; + /* Mutex for keychain/certs */ +static int tls_options = -1,/* Options for TLS connections */ + tls_min_version = _HTTP_TLS_1_0, + tls_max_version = _HTTP_TLS_MAX; + + +/* + * Local functions... + */ + +static gnutls_x509_crt_t http_gnutls_create_credential(http_credential_t *credential); +static const char *http_gnutls_default_path(char *buffer, size_t bufsize); +static void http_gnutls_load_crl(void); +static const char *http_gnutls_make_path(char *buffer, size_t bufsize, const char *dirname, const char *filename, const char *ext); +static ssize_t http_gnutls_read(gnutls_transport_ptr_t ptr, void *data, size_t length); +static ssize_t http_gnutls_write(gnutls_transport_ptr_t ptr, const void *data, size_t length); + + +/* + * 'cupsMakeServerCredentials()' - Make a self-signed certificate and private key pair. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsMakeServerCredentials( + const char *path, /* I - Path to keychain/directory */ + const char *common_name, /* I - Common name */ + int num_alt_names, /* I - Number of subject alternate names */ + const char **alt_names, /* I - Subject Alternate Names */ + time_t expiration_date) /* I - Expiration date */ +{ + gnutls_x509_crt_t crt; /* Self-signed certificate */ + gnutls_x509_privkey_t key; /* Encryption private key */ + char temp[1024], /* Temporary directory name */ + crtfile[1024], /* Certificate filename */ + keyfile[1024]; /* Private key filename */ + cups_lang_t *language; /* Default language info */ + cups_file_t *fp; /* Key/cert file */ + unsigned char buffer[8192]; /* Buffer for x509 data */ + size_t bytes; /* Number of bytes of data */ + unsigned char serial[4]; /* Serial number buffer */ + time_t curtime; /* Current time */ + int result; /* Result of GNU TLS calls */ + + + DEBUG_printf(("cupsMakeServerCredentials(path=\"%s\", common_name=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names, alt_names, (int)expiration_date)); + + /* + * Filenames... + */ + + if (!path) + path = http_gnutls_default_path(temp, sizeof(temp)); + + if (!path || !common_name) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (0); + } + + http_gnutls_make_path(crtfile, sizeof(crtfile), path, common_name, "crt"); + http_gnutls_make_path(keyfile, sizeof(keyfile), path, common_name, "key"); + + /* + * Create the encryption key... + */ + + DEBUG_puts("1cupsMakeServerCredentials: Creating key pair."); + + gnutls_x509_privkey_init(&key); + gnutls_x509_privkey_generate(key, GNUTLS_PK_RSA, 2048, 0); + + DEBUG_puts("1cupsMakeServerCredentials: Key pair created."); + + /* + * Save it... + */ + + bytes = sizeof(buffer); + + if ((result = gnutls_x509_privkey_export(key, GNUTLS_X509_FMT_PEM, buffer, &bytes)) < 0) + { + DEBUG_printf(("1cupsMakeServerCredentials: Unable to export private key: %s", gnutls_strerror(result))); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, gnutls_strerror(result), 0); + gnutls_x509_privkey_deinit(key); + return (0); + } + else if ((fp = cupsFileOpen(keyfile, "w")) != NULL) + { + DEBUG_printf(("1cupsMakeServerCredentials: Writing private key to \"%s\".", keyfile)); + cupsFileWrite(fp, (char *)buffer, bytes); + cupsFileClose(fp); + } + else + { + DEBUG_printf(("1cupsMakeServerCredentials: Unable to create private key file \"%s\": %s", keyfile, strerror(errno))); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + gnutls_x509_privkey_deinit(key); + return (0); + } + + /* + * Create the self-signed certificate... + */ + + DEBUG_puts("1cupsMakeServerCredentials: Generating self-signed X.509 certificate."); + + language = cupsLangDefault(); + curtime = time(NULL); + serial[0] = curtime >> 24; + serial[1] = curtime >> 16; + serial[2] = curtime >> 8; + serial[3] = curtime; + + gnutls_x509_crt_init(&crt); + if (strlen(language->language) == 5) + gnutls_x509_crt_set_dn_by_oid(crt, GNUTLS_OID_X520_COUNTRY_NAME, 0, + language->language + 3, 2); + else + gnutls_x509_crt_set_dn_by_oid(crt, GNUTLS_OID_X520_COUNTRY_NAME, 0, + "US", 2); + gnutls_x509_crt_set_dn_by_oid(crt, GNUTLS_OID_X520_COMMON_NAME, 0, + common_name, strlen(common_name)); + gnutls_x509_crt_set_dn_by_oid(crt, GNUTLS_OID_X520_ORGANIZATION_NAME, 0, + common_name, strlen(common_name)); + gnutls_x509_crt_set_dn_by_oid(crt, GNUTLS_OID_X520_ORGANIZATIONAL_UNIT_NAME, + 0, "Unknown", 7); + gnutls_x509_crt_set_dn_by_oid(crt, GNUTLS_OID_X520_STATE_OR_PROVINCE_NAME, 0, + "Unknown", 7); + gnutls_x509_crt_set_dn_by_oid(crt, GNUTLS_OID_X520_LOCALITY_NAME, 0, + "Unknown", 7); +/* gnutls_x509_crt_set_dn_by_oid(crt, GNUTLS_OID_PKCS9_EMAIL, 0, + ServerAdmin, strlen(ServerAdmin));*/ + gnutls_x509_crt_set_key(crt, key); + gnutls_x509_crt_set_serial(crt, serial, sizeof(serial)); + gnutls_x509_crt_set_activation_time(crt, curtime); + gnutls_x509_crt_set_expiration_time(crt, curtime + 10 * 365 * 86400); + gnutls_x509_crt_set_ca_status(crt, 0); + gnutls_x509_crt_set_subject_alt_name(crt, GNUTLS_SAN_DNSNAME, common_name, (unsigned)strlen(common_name), GNUTLS_FSAN_SET); + if (!strchr(common_name, '.')) + { + /* + * Add common_name.local to the list, too... + */ + + char localname[256]; /* hostname.local */ + + snprintf(localname, sizeof(localname), "%s.local", common_name); + gnutls_x509_crt_set_subject_alt_name(crt, GNUTLS_SAN_DNSNAME, localname, (unsigned)strlen(localname), GNUTLS_FSAN_APPEND); + } + gnutls_x509_crt_set_subject_alt_name(crt, GNUTLS_SAN_DNSNAME, "localhost", 9, GNUTLS_FSAN_APPEND); + if (num_alt_names > 0) + { + int i; /* Looping var */ + + for (i = 0; i < num_alt_names; i ++) + { + if (strcmp(alt_names[i], "localhost")) + { + gnutls_x509_crt_set_subject_alt_name(crt, GNUTLS_SAN_DNSNAME, alt_names[i], (unsigned)strlen(alt_names[i]), GNUTLS_FSAN_APPEND); + } + } + } + gnutls_x509_crt_set_key_purpose_oid(crt, GNUTLS_KP_TLS_WWW_SERVER, 0); + gnutls_x509_crt_set_key_usage(crt, GNUTLS_KEY_DIGITAL_SIGNATURE | GNUTLS_KEY_KEY_ENCIPHERMENT); + gnutls_x509_crt_set_version(crt, 3); + + bytes = sizeof(buffer); + if (gnutls_x509_crt_get_key_id(crt, 0, buffer, &bytes) >= 0) + gnutls_x509_crt_set_subject_key_id(crt, buffer, bytes); + + gnutls_x509_crt_sign(crt, crt, key); + + /* + * Save it... + */ + + bytes = sizeof(buffer); + if ((result = gnutls_x509_crt_export(crt, GNUTLS_X509_FMT_PEM, buffer, &bytes)) < 0) + { + DEBUG_printf(("1cupsMakeServerCredentials: Unable to export public key and X.509 certificate: %s", gnutls_strerror(result))); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, gnutls_strerror(result), 0); + gnutls_x509_crt_deinit(crt); + gnutls_x509_privkey_deinit(key); + return (0); + } + else if ((fp = cupsFileOpen(crtfile, "w")) != NULL) + { + DEBUG_printf(("1cupsMakeServerCredentials: Writing public key and X.509 certificate to \"%s\".", crtfile)); + cupsFileWrite(fp, (char *)buffer, bytes); + cupsFileClose(fp); + } + else + { + DEBUG_printf(("1cupsMakeServerCredentials: Unable to create public key and X.509 certificate file \"%s\": %s", crtfile, strerror(errno))); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(errno), 0); + gnutls_x509_crt_deinit(crt); + gnutls_x509_privkey_deinit(key); + return (0); + } + + /* + * Cleanup... + */ + + gnutls_x509_crt_deinit(crt); + gnutls_x509_privkey_deinit(key); + + DEBUG_puts("1cupsMakeServerCredentials: Successfully created credentials."); + + return (1); +} + + +/* + * 'cupsSetServerCredentials()' - Set the default server credentials. + * + * Note: The server credentials are used by all threads in the running process. + * This function is threadsafe. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsSetServerCredentials( + const char *path, /* I - Path to keychain/directory */ + const char *common_name, /* I - Default common name for server */ + int auto_create) /* I - 1 = automatically create self-signed certificates */ +{ + char temp[1024]; /* Default path buffer */ + + + DEBUG_printf(("cupsSetServerCredentials(path=\"%s\", common_name=\"%s\", auto_create=%d)", path, common_name, auto_create)); + + /* + * Use defaults as needed... + */ + + if (!path) + path = http_gnutls_default_path(temp, sizeof(temp)); + + /* + * Range check input... + */ + + if (!path || !common_name) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (0); + } + + _cupsMutexLock(&tls_mutex); + + /* + * Free old values... + */ + + if (tls_keypath) + _cupsStrFree(tls_keypath); + + if (tls_common_name) + _cupsStrFree(tls_common_name); + + /* + * Save the new values... + */ + + tls_keypath = _cupsStrAlloc(path); + tls_auto_create = auto_create; + tls_common_name = _cupsStrAlloc(common_name); + + _cupsMutexUnlock(&tls_mutex); + + return (1); +} + + +/* + * 'httpCopyCredentials()' - Copy the credentials associated with the peer in + * an encrypted connection. + * + * @since CUPS 1.5/macOS 10.7@ + */ + +int /* O - Status of call (0 = success) */ +httpCopyCredentials( + http_t *http, /* I - Connection to server */ + cups_array_t **credentials) /* O - Array of credentials */ +{ + unsigned count; /* Number of certificates */ + const gnutls_datum_t *certs; /* Certificates */ + + + DEBUG_printf(("httpCopyCredentials(http=%p, credentials=%p)", http, credentials)); + + if (credentials) + *credentials = NULL; + + if (!http || !http->tls || !credentials) + return (-1); + + *credentials = cupsArrayNew(NULL, NULL); + certs = gnutls_certificate_get_peers(http->tls, &count); + + DEBUG_printf(("1httpCopyCredentials: certs=%p, count=%u", certs, count)); + + if (certs && count) + { + while (count > 0) + { + httpAddCredential(*credentials, certs->data, certs->size); + certs ++; + count --; + } + } + + return (0); +} + + +/* + * '_httpCreateCredentials()' - Create credentials in the internal format. + */ + +http_tls_credentials_t /* O - Internal credentials */ +_httpCreateCredentials( + cups_array_t *credentials) /* I - Array of credentials */ +{ + (void)credentials; + + return (NULL); +} + + +/* + * '_httpFreeCredentials()' - Free internal credentials. + */ + +void +_httpFreeCredentials( + http_tls_credentials_t credentials) /* I - Internal credentials */ +{ + (void)credentials; +} + + +/* + * 'httpCredentialsAreValidForName()' - Return whether the credentials are valid for the given name. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 1 if valid, 0 otherwise */ +httpCredentialsAreValidForName( + cups_array_t *credentials, /* I - Credentials */ + const char *common_name) /* I - Name to check */ +{ + gnutls_x509_crt_t cert; /* Certificate */ + int result = 0; /* Result */ + + + cert = http_gnutls_create_credential((http_credential_t *)cupsArrayFirst(credentials)); + if (cert) + { + result = gnutls_x509_crt_check_hostname(cert, common_name) != 0; + + if (result) + { + gnutls_x509_crl_iter_t iter = NULL; + /* Iterator */ + unsigned char cserial[1024], /* Certificate serial number */ + rserial[1024]; /* Revoked serial number */ + size_t cserial_size, /* Size of cert serial number */ + rserial_size; /* Size of revoked serial number */ + + _cupsMutexLock(&tls_mutex); + + if (gnutls_x509_crl_get_crt_count(tls_crl) > 0) + { + cserial_size = sizeof(cserial); + gnutls_x509_crt_get_serial(cert, cserial, &cserial_size); + + rserial_size = sizeof(rserial); + + while (!gnutls_x509_crl_iter_crt_serial(tls_crl, &iter, rserial, &rserial_size, NULL)) + { + if (cserial_size == rserial_size && !memcmp(cserial, rserial, rserial_size)) + { + result = 0; + break; + } + + rserial_size = sizeof(rserial); + } + gnutls_x509_crl_iter_deinit(iter); + } + + _cupsMutexUnlock(&tls_mutex); + } + + gnutls_x509_crt_deinit(cert); + } + + return (result); +} + + +/* + * 'httpCredentialsGetTrust()' - Return the trust of credentials. + * + * @since CUPS 2.0/OS 10.10@ + */ + +http_trust_t /* O - Level of trust */ +httpCredentialsGetTrust( + cups_array_t *credentials, /* I - Credentials */ + const char *common_name) /* I - Common name for trust lookup */ +{ + http_trust_t trust = HTTP_TRUST_OK; + /* Trusted? */ + gnutls_x509_crt_t cert; /* Certificate */ + cups_array_t *tcreds = NULL; /* Trusted credentials */ + _cups_globals_t *cg = _cupsGlobals(); + /* Per-thread globals */ + + + if (!common_name) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No common name specified."), 1); + return (HTTP_TRUST_UNKNOWN); + } + + if ((cert = http_gnutls_create_credential((http_credential_t *)cupsArrayFirst(credentials))) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to create credentials from array."), 1); + return (HTTP_TRUST_UNKNOWN); + } + + if (cg->any_root < 0) + { + _cupsSetDefaults(); + http_gnutls_load_crl(); + } + + /* + * Look this common name up in the default keychains... + */ + + httpLoadCredentials(NULL, &tcreds, common_name); + + if (tcreds) + { + char credentials_str[1024], /* String for incoming credentials */ + tcreds_str[1024]; /* String for saved credentials */ + + httpCredentialsString(credentials, credentials_str, sizeof(credentials_str)); + httpCredentialsString(tcreds, tcreds_str, sizeof(tcreds_str)); + + if (strcmp(credentials_str, tcreds_str)) + { + /* + * Credentials don't match, let's look at the expiration date of the new + * credentials and allow if the new ones have a later expiration... + */ + + if (!cg->trust_first) + { + /* + * Do not trust certificates on first use... + */ + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Trust on first use is disabled."), 1); + + trust = HTTP_TRUST_INVALID; + } + else if (httpCredentialsGetExpiration(credentials) <= httpCredentialsGetExpiration(tcreds)) + { + /* + * The new credentials are not newly issued... + */ + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("New credentials are older than stored credentials."), 1); + + trust = HTTP_TRUST_INVALID; + } + else if (!httpCredentialsAreValidForName(credentials, common_name)) + { + /* + * The common name does not match the issued certificate... + */ + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("New credentials are not valid for name."), 1); + + trust = HTTP_TRUST_INVALID; + } + else if (httpCredentialsGetExpiration(tcreds) < time(NULL)) + { + /* + * Save the renewed credentials... + */ + + trust = HTTP_TRUST_RENEWED; + + httpSaveCredentials(NULL, credentials, common_name); + } + } + + httpFreeCredentials(tcreds); + } + else if (cg->validate_certs && !httpCredentialsAreValidForName(credentials, common_name)) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("No stored credentials, not valid for name."), 1); + trust = HTTP_TRUST_INVALID; + } + else if (!cg->trust_first) + { + /* + * See if we have a site CA certificate we can compare... + */ + + if (!httpLoadCredentials(NULL, &tcreds, "site")) + { + if (cupsArrayCount(credentials) != (cupsArrayCount(tcreds) + 1)) + { + /* + * Certificate isn't directly generated from the CA cert... + */ + + trust = HTTP_TRUST_INVALID; + } + else + { + /* + * Do a tail comparison of the two certificates... + */ + + http_credential_t *a, *b; /* Certificates */ + + for (a = (http_credential_t *)cupsArrayFirst(tcreds), b = (http_credential_t *)cupsArrayIndex(credentials, 1); + a && b; + a = (http_credential_t *)cupsArrayNext(tcreds), b = (http_credential_t *)cupsArrayNext(credentials)) + if (a->datalen != b->datalen || memcmp(a->data, b->data, a->datalen)) + break; + + if (a || b) + trust = HTTP_TRUST_INVALID; + } + + if (trust != HTTP_TRUST_OK) + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Credentials do not validate against site CA certificate."), 1); + } + else + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Trust on first use is disabled."), 1); + trust = HTTP_TRUST_INVALID; + } + } + + if (trust == HTTP_TRUST_OK && !cg->expired_certs) + { + time_t curtime; /* Current date/time */ + + time(&curtime); + if (curtime < gnutls_x509_crt_get_activation_time(cert) || + curtime > gnutls_x509_crt_get_expiration_time(cert)) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Credentials have expired."), 1); + trust = HTTP_TRUST_EXPIRED; + } + } + + if (trust == HTTP_TRUST_OK && !cg->any_root && cupsArrayCount(credentials) == 1) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Self-signed credentials are blocked."), 1); + trust = HTTP_TRUST_INVALID; + } + + gnutls_x509_crt_deinit(cert); + + return (trust); +} + + +/* + * 'httpCredentialsGetExpiration()' - Return the expiration date of the credentials. + * + * @since CUPS 2.0/OS 10.10@ + */ + +time_t /* O - Expiration date of credentials */ +httpCredentialsGetExpiration( + cups_array_t *credentials) /* I - Credentials */ +{ + gnutls_x509_crt_t cert; /* Certificate */ + time_t result = 0; /* Result */ + + + cert = http_gnutls_create_credential((http_credential_t *)cupsArrayFirst(credentials)); + if (cert) + { + result = gnutls_x509_crt_get_expiration_time(cert); + gnutls_x509_crt_deinit(cert); + } + + return (result); +} + + +/* + * 'httpCredentialsString()' - Return a string representing the credentials. + * + * @since CUPS 2.0/OS 10.10@ + */ + +size_t /* O - Total size of credentials string */ +httpCredentialsString( + cups_array_t *credentials, /* I - Credentials */ + char *buffer, /* I - Buffer or @code NULL@ */ + size_t bufsize) /* I - Size of buffer */ +{ + http_credential_t *first; /* First certificate */ + gnutls_x509_crt_t cert; /* Certificate */ + + + DEBUG_printf(("httpCredentialsString(credentials=%p, buffer=%p, bufsize=" CUPS_LLFMT ")", credentials, buffer, CUPS_LLCAST bufsize)); + + if (!buffer) + return (0); + + if (buffer && bufsize > 0) + *buffer = '\0'; + + if ((first = (http_credential_t *)cupsArrayFirst(credentials)) != NULL && + (cert = http_gnutls_create_credential(first)) != NULL) + { + char name[256], /* Common name associated with cert */ + issuer[256]; /* Issuer associated with cert */ + size_t len; /* Length of string */ + time_t expiration; /* Expiration date of cert */ + int sigalg; /* Signature algorithm */ + unsigned char md5_digest[16]; /* MD5 result */ + + len = sizeof(name) - 1; + if (gnutls_x509_crt_get_dn_by_oid(cert, GNUTLS_OID_X520_COMMON_NAME, 0, 0, name, &len) >= 0) + name[len] = '\0'; + else + strlcpy(name, "unknown", sizeof(name)); + + len = sizeof(issuer) - 1; + if (gnutls_x509_crt_get_issuer_dn_by_oid(cert, GNUTLS_OID_X520_ORGANIZATION_NAME, 0, 0, issuer, &len) >= 0) + issuer[len] = '\0'; + else + strlcpy(issuer, "unknown", sizeof(issuer)); + + expiration = gnutls_x509_crt_get_expiration_time(cert); + sigalg = gnutls_x509_crt_get_signature_algorithm(cert); + + cupsHashData("md5", first->data, first->datalen, md5_digest, sizeof(md5_digest)); + + snprintf(buffer, bufsize, "%s (issued by %s) / %s / %s / %02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", name, issuer, httpGetDateString(expiration), gnutls_sign_get_name((gnutls_sign_algorithm_t)sigalg), md5_digest[0], md5_digest[1], md5_digest[2], md5_digest[3], md5_digest[4], md5_digest[5], md5_digest[6], md5_digest[7], md5_digest[8], md5_digest[9], md5_digest[10], md5_digest[11], md5_digest[12], md5_digest[13], md5_digest[14], md5_digest[15]); + + gnutls_x509_crt_deinit(cert); + } + + DEBUG_printf(("1httpCredentialsString: Returning \"%s\".", buffer)); + + return (strlen(buffer)); +} + + +/* + * 'httpLoadCredentials()' - Load X.509 credentials from a keychain file. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 0 on success, -1 on error */ +httpLoadCredentials( + const char *path, /* I - Keychain/PKCS#12 path */ + cups_array_t **credentials, /* IO - Credentials */ + const char *common_name) /* I - Common name for credentials */ +{ + cups_file_t *fp; /* Certificate file */ + char filename[1024], /* filename.crt */ + temp[1024], /* Temporary string */ + line[256]; /* Base64-encoded line */ + unsigned char *data = NULL; /* Buffer for cert data */ + size_t alloc_data = 0, /* Bytes allocated */ + num_data = 0; /* Bytes used */ + int decoded; /* Bytes decoded */ + int in_certificate = 0; + /* In a certificate? */ + + + if (!credentials || !common_name) + return (-1); + + if (!path) + path = http_gnutls_default_path(temp, sizeof(temp)); + if (!path) + return (-1); + + http_gnutls_make_path(filename, sizeof(filename), path, common_name, "crt"); + + if ((fp = cupsFileOpen(filename, "r")) == NULL) + return (-1); + + while (cupsFileGets(fp, line, sizeof(line))) + { + if (!strcmp(line, "-----BEGIN CERTIFICATE-----")) + { + if (in_certificate) + { + /* + * Missing END CERTIFICATE... + */ + + httpFreeCredentials(*credentials); + *credentials = NULL; + break; + } + + in_certificate = 1; + } + else if (!strcmp(line, "-----END CERTIFICATE-----")) + { + if (!in_certificate || !num_data) + { + /* + * Missing data... + */ + + httpFreeCredentials(*credentials); + *credentials = NULL; + break; + } + + if (!*credentials) + *credentials = cupsArrayNew(NULL, NULL); + + if (httpAddCredential(*credentials, data, num_data)) + { + httpFreeCredentials(*credentials); + *credentials = NULL; + break; + } + + num_data = 0; + in_certificate = 0; + } + else if (in_certificate) + { + if (alloc_data == 0) + { + data = malloc(2048); + alloc_data = 2048; + + if (!data) + break; + } + else if ((num_data + strlen(line)) >= alloc_data) + { + unsigned char *tdata = realloc(data, alloc_data + 1024); + /* Expanded buffer */ + + if (!tdata) + { + httpFreeCredentials(*credentials); + *credentials = NULL; + break; + } + + data = tdata; + alloc_data += 1024; + } + + decoded = alloc_data - num_data; + httpDecode64_2((char *)data + num_data, &decoded, line); + num_data += (size_t)decoded; + } + } + + cupsFileClose(fp); + + if (in_certificate) + { + /* + * Missing END CERTIFICATE... + */ + + httpFreeCredentials(*credentials); + *credentials = NULL; + } + + if (data) + free(data); + + return (*credentials ? 0 : -1); +} + + +/* + * 'httpSaveCredentials()' - Save X.509 credentials to a keychain file. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - -1 on error, 0 on success */ +httpSaveCredentials( + const char *path, /* I - Keychain/PKCS#12 path */ + cups_array_t *credentials, /* I - Credentials */ + const char *common_name) /* I - Common name for credentials */ +{ + cups_file_t *fp; /* Certificate file */ + char filename[1024], /* filename.crt */ + nfilename[1024],/* filename.crt.N */ + temp[1024], /* Temporary string */ + line[256]; /* Base64-encoded line */ + const unsigned char *ptr; /* Pointer into certificate */ + ssize_t remaining; /* Bytes left */ + http_credential_t *cred; /* Current credential */ + + + if (!credentials || !common_name) + return (-1); + + if (!path) + path = http_gnutls_default_path(temp, sizeof(temp)); + if (!path) + return (-1); + + http_gnutls_make_path(filename, sizeof(filename), path, common_name, "crt"); + snprintf(nfilename, sizeof(nfilename), "%s.N", filename); + + if ((fp = cupsFileOpen(nfilename, "w")) == NULL) + return (-1); + + fchmod(cupsFileNumber(fp), 0600); + + for (cred = (http_credential_t *)cupsArrayFirst(credentials); + cred; + cred = (http_credential_t *)cupsArrayNext(credentials)) + { + cupsFilePuts(fp, "-----BEGIN CERTIFICATE-----\n"); + for (ptr = cred->data, remaining = (ssize_t)cred->datalen; remaining > 0; remaining -= 45, ptr += 45) + { + httpEncode64_2(line, sizeof(line), (char *)ptr, remaining > 45 ? 45 : remaining); + cupsFilePrintf(fp, "%s\n", line); + } + cupsFilePuts(fp, "-----END CERTIFICATE-----\n"); + } + + cupsFileClose(fp); + + return (rename(nfilename, filename)); +} + + +/* + * 'http_gnutls_create_credential()' - Create a single credential in the internal format. + */ + +static gnutls_x509_crt_t /* O - Certificate */ +http_gnutls_create_credential( + http_credential_t *credential) /* I - Credential */ +{ + int result; /* Result from GNU TLS */ + gnutls_x509_crt_t cert; /* Certificate */ + gnutls_datum_t datum; /* Data record */ + + + DEBUG_printf(("3http_gnutls_create_credential(credential=%p)", credential)); + + if (!credential) + return (NULL); + + if ((result = gnutls_x509_crt_init(&cert)) < 0) + { + DEBUG_printf(("4http_gnutls_create_credential: init error: %s", gnutls_strerror(result))); + return (NULL); + } + + datum.data = credential->data; + datum.size = credential->datalen; + + if ((result = gnutls_x509_crt_import(cert, &datum, GNUTLS_X509_FMT_DER)) < 0) + { + DEBUG_printf(("4http_gnutls_create_credential: import error: %s", gnutls_strerror(result))); + + gnutls_x509_crt_deinit(cert); + return (NULL); + } + + return (cert); +} + + +/* + * 'http_gnutls_default_path()' - Get the default credential store path. + */ + +static const char * /* O - Path or NULL on error */ +http_gnutls_default_path(char *buffer,/* I - Path buffer */ + size_t bufsize)/* I - Size of path buffer */ +{ + _cups_globals_t *cg = _cupsGlobals(); + /* Pointer to library globals */ + + + if (cg->home) + { + snprintf(buffer, bufsize, "%s/.cups", cg->home); + if (access(buffer, 0)) + { + DEBUG_printf(("1http_gnutls_default_path: Making directory \"%s\".", buffer)); + if (mkdir(buffer, 0700)) + { + DEBUG_printf(("1http_gnutls_default_path: Failed to make directory: %s", strerror(errno))); + return (NULL); + } + } + + snprintf(buffer, bufsize, "%s/.cups/ssl", cg->home); + if (access(buffer, 0)) + { + DEBUG_printf(("1http_gnutls_default_path: Making directory \"%s\".", buffer)); + if (mkdir(buffer, 0700)) + { + DEBUG_printf(("1http_gnutls_default_path: Failed to make directory: %s", strerror(errno))); + return (NULL); + } + } + } + else + strlcpy(buffer, CUPS_SERVERROOT "/ssl", bufsize); + + DEBUG_printf(("1http_gnutls_default_path: Using default path \"%s\".", buffer)); + + return (buffer); +} + + +/* + * 'http_gnutls_load_crl()' - Load the certificate revocation list, if any. + */ + +static void +http_gnutls_load_crl(void) +{ + _cupsMutexLock(&tls_mutex); + + if (!gnutls_x509_crl_init(&tls_crl)) + { + cups_file_t *fp; /* CRL file */ + char filename[1024], /* site.crl */ + line[256]; /* Base64-encoded line */ + unsigned char *data = NULL; /* Buffer for cert data */ + size_t alloc_data = 0, /* Bytes allocated */ + num_data = 0; /* Bytes used */ + int decoded; /* Bytes decoded */ + gnutls_datum_t datum; /* Data record */ + + + http_gnutls_make_path(filename, sizeof(filename), CUPS_SERVERROOT, "site", "crl"); + + if ((fp = cupsFileOpen(filename, "r")) != NULL) + { + while (cupsFileGets(fp, line, sizeof(line))) + { + if (!strcmp(line, "-----BEGIN X509 CRL-----")) + { + if (num_data) + { + /* + * Missing END X509 CRL... + */ + + break; + } + } + else if (!strcmp(line, "-----END X509 CRL-----")) + { + if (!num_data) + { + /* + * Missing data... + */ + + break; + } + + datum.data = data; + datum.size = num_data; + + gnutls_x509_crl_import(tls_crl, &datum, GNUTLS_X509_FMT_PEM); + + num_data = 0; + } + else + { + if (alloc_data == 0) + { + data = malloc(2048); + alloc_data = 2048; + + if (!data) + break; + } + else if ((num_data + strlen(line)) >= alloc_data) + { + unsigned char *tdata = realloc(data, alloc_data + 1024); + /* Expanded buffer */ + + if (!tdata) + break; + + data = tdata; + alloc_data += 1024; + } + + decoded = alloc_data - num_data; + httpDecode64_2((char *)data + num_data, &decoded, line); + num_data += (size_t)decoded; + } + } + + cupsFileClose(fp); + + if (data) + free(data); + } + } + + _cupsMutexUnlock(&tls_mutex); +} + + +/* + * 'http_gnutls_make_path()' - Format a filename for a certificate or key file. + */ + +static const char * /* O - Filename */ +http_gnutls_make_path( + char *buffer, /* I - Filename buffer */ + size_t bufsize, /* I - Size of buffer */ + const char *dirname, /* I - Directory */ + const char *filename, /* I - Filename (usually hostname) */ + const char *ext) /* I - Extension */ +{ + char *bufptr, /* Pointer into buffer */ + *bufend = buffer + bufsize - 1; /* End of buffer */ + + + snprintf(buffer, bufsize, "%s/", dirname); + bufptr = buffer + strlen(buffer); + + while (*filename && bufptr < bufend) + { + if (_cups_isalnum(*filename) || *filename == '-' || *filename == '.') + *bufptr++ = *filename; + else + *bufptr++ = '_'; + + filename ++; + } + + if (bufptr < bufend) + *bufptr++ = '.'; + + strlcpy(bufptr, ext, (size_t)(bufend - bufptr + 1)); + + return (buffer); +} + + +/* + * 'http_gnutls_read()' - Read function for the GNU TLS library. + */ + +static ssize_t /* O - Number of bytes read or -1 on error */ +http_gnutls_read( + gnutls_transport_ptr_t ptr, /* I - Connection to server */ + void *data, /* I - Buffer */ + size_t length) /* I - Number of bytes to read */ +{ + http_t *http; /* HTTP connection */ + ssize_t bytes; /* Bytes read */ + + + DEBUG_printf(("6http_gnutls_read(ptr=%p, data=%p, length=%d)", ptr, data, (int)length)); + + http = (http_t *)ptr; + + if (!http->blocking || http->timeout_value > 0.0) + { + /* + * Make sure we have data before we read... + */ + + while (!_httpWait(http, http->wait_value, 0)) + { + if (http->timeout_cb && (*http->timeout_cb)(http, http->timeout_data)) + continue; + + http->error = ETIMEDOUT; + return (-1); + } + } + + bytes = recv(http->fd, data, length, 0); + DEBUG_printf(("6http_gnutls_read: bytes=%d", (int)bytes)); + return (bytes); +} + + +/* + * 'http_gnutls_write()' - Write function for the GNU TLS library. + */ + +static ssize_t /* O - Number of bytes written or -1 on error */ +http_gnutls_write( + gnutls_transport_ptr_t ptr, /* I - Connection to server */ + const void *data, /* I - Data buffer */ + size_t length) /* I - Number of bytes to write */ +{ + ssize_t bytes; /* Bytes written */ + + + DEBUG_printf(("6http_gnutls_write(ptr=%p, data=%p, length=%d)", ptr, data, + (int)length)); + bytes = send(((http_t *)ptr)->fd, data, length, 0); + DEBUG_printf(("http_gnutls_write: bytes=%d", (int)bytes)); + + return (bytes); +} + + +/* + * '_httpTLSInitialize()' - Initialize the TLS stack. + */ + +void +_httpTLSInitialize(void) +{ + /* + * Initialize GNU TLS... + */ + + gnutls_global_init(); +} + + +/* + * '_httpTLSPending()' - Return the number of pending TLS-encrypted bytes. + */ + +size_t /* O - Bytes available */ +_httpTLSPending(http_t *http) /* I - HTTP connection */ +{ + return (gnutls_record_check_pending(http->tls)); +} + + +/* + * '_httpTLSRead()' - Read from a SSL/TLS connection. + */ + +int /* O - Bytes read */ +_httpTLSRead(http_t *http, /* I - Connection to server */ + char *buf, /* I - Buffer to store data */ + int len) /* I - Length of buffer */ +{ + ssize_t result; /* Return value */ + + + result = gnutls_record_recv(http->tls, buf, (size_t)len); + + if (result < 0 && !errno) + { + /* + * Convert GNU TLS error to errno value... + */ + + switch (result) + { + case GNUTLS_E_INTERRUPTED : + errno = EINTR; + break; + + case GNUTLS_E_AGAIN : + errno = EAGAIN; + break; + + default : + errno = EPIPE; + break; + } + + result = -1; + } + + return ((int)result); +} + + +/* + * '_httpTLSSetOptions()' - Set TLS protocol and cipher suite options. + */ + +void +_httpTLSSetOptions(int options, /* I - Options */ + int min_version, /* I - Minimum TLS version */ + int max_version) /* I - Maximum TLS version */ +{ + if (!(options & _HTTP_TLS_SET_DEFAULT) || tls_options < 0) + { + tls_options = options; + tls_min_version = min_version; + tls_max_version = max_version; + } +} + + +/* + * '_httpTLSStart()' - Set up SSL/TLS support on a connection. + */ + +int /* O - 0 on success, -1 on failure */ +_httpTLSStart(http_t *http) /* I - Connection to server */ +{ + char hostname[256], /* Hostname */ + *hostptr; /* Pointer into hostname */ + int status; /* Status of handshake */ + gnutls_certificate_credentials_t *credentials; + /* TLS credentials */ + char priority_string[2048]; + /* Priority string */ + int version; /* Current version */ + double old_timeout; /* Old timeout value */ + http_timeout_cb_t old_cb; /* Old timeout callback */ + void *old_data; /* Old timeout data */ + static const char * const versions[] =/* SSL/TLS versions */ + { + "VERS-SSL3.0", + "VERS-TLS1.0", + "VERS-TLS1.1", + "VERS-TLS1.2", + "VERS-TLS1.3", + "VERS-TLS-ALL" + }; + + + DEBUG_printf(("3_httpTLSStart(http=%p)", http)); + + if (tls_options < 0) + { + DEBUG_puts("4_httpTLSStart: Setting defaults."); + _cupsSetDefaults(); + DEBUG_printf(("4_httpTLSStart: tls_options=%x", tls_options)); + } + + if (http->mode == _HTTP_MODE_SERVER && !tls_keypath) + { + DEBUG_puts("4_httpTLSStart: cupsSetServerCredentials not called."); + http->error = errno = EINVAL; + http->status = HTTP_STATUS_ERROR; + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Server credentials not set."), 1); + + return (-1); + } + + credentials = (gnutls_certificate_credentials_t *) + malloc(sizeof(gnutls_certificate_credentials_t)); + if (credentials == NULL) + { + DEBUG_printf(("8_httpStartTLS: Unable to allocate credentials: %s", + strerror(errno))); + http->error = errno; + http->status = HTTP_STATUS_ERROR; + _cupsSetHTTPError(HTTP_STATUS_ERROR); + + return (-1); + } + + gnutls_certificate_allocate_credentials(credentials); + status = gnutls_init(&http->tls, http->mode == _HTTP_MODE_CLIENT ? GNUTLS_CLIENT : GNUTLS_SERVER); + if (!status) + status = gnutls_set_default_priority(http->tls); + + if (status) + { + http->error = EIO; + http->status = HTTP_STATUS_ERROR; + + DEBUG_printf(("4_httpTLSStart: Unable to initialize common TLS parameters: %s", gnutls_strerror(status))); + _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, gnutls_strerror(status), 0); + + gnutls_deinit(http->tls); + gnutls_certificate_free_credentials(*credentials); + free(credentials); + http->tls = NULL; + + return (-1); + } + + if (http->mode == _HTTP_MODE_CLIENT) + { + /* + * Client: get the hostname to use for TLS... + */ + + if (httpAddrLocalhost(http->hostaddr)) + { + strlcpy(hostname, "localhost", sizeof(hostname)); + } + else + { + /* + * Otherwise make sure the hostname we have does not end in a trailing dot. + */ + + strlcpy(hostname, http->hostname, sizeof(hostname)); + if ((hostptr = hostname + strlen(hostname) - 1) >= hostname && + *hostptr == '.') + *hostptr = '\0'; + } + + status = gnutls_server_name_set(http->tls, GNUTLS_NAME_DNS, hostname, strlen(hostname)); + } + else + { + /* + * Server: get certificate and private key... + */ + + char crtfile[1024], /* Certificate file */ + keyfile[1024]; /* Private key file */ + int have_creds = 0; /* Have credentials? */ + + if (http->fields[HTTP_FIELD_HOST]) + { + /* + * Use hostname for TLS upgrade... + */ + + strlcpy(hostname, http->fields[HTTP_FIELD_HOST], sizeof(hostname)); + } + else + { + /* + * Resolve hostname from connection address... + */ + + http_addr_t addr; /* Connection address */ + socklen_t addrlen; /* Length of address */ + + addrlen = sizeof(addr); + if (getsockname(http->fd, (struct sockaddr *)&addr, &addrlen)) + { + DEBUG_printf(("4_httpTLSStart: Unable to get socket address: %s", strerror(errno))); + hostname[0] = '\0'; + } + else if (httpAddrLocalhost(&addr)) + hostname[0] = '\0'; + else + { + httpAddrLookup(&addr, hostname, sizeof(hostname)); + DEBUG_printf(("4_httpTLSStart: Resolved socket address to \"%s\".", hostname)); + } + } + + if (isdigit(hostname[0] & 255) || hostname[0] == '[') + hostname[0] = '\0'; /* Don't allow numeric addresses */ + + if (hostname[0]) + { + /* + * First look in the CUPS keystore... + */ + + http_gnutls_make_path(crtfile, sizeof(crtfile), tls_keypath, hostname, "crt"); + http_gnutls_make_path(keyfile, sizeof(keyfile), tls_keypath, hostname, "key"); + + if (access(crtfile, R_OK) || access(keyfile, R_OK)) + { + /* + * No CUPS-managed certs, look for CA certs... + */ + + char cacrtfile[1024], cakeyfile[1024]; /* CA cert files */ + + snprintf(cacrtfile, sizeof(cacrtfile), "/etc/letsencrypt/live/%s/fullchain.pem", hostname); + snprintf(cakeyfile, sizeof(cakeyfile), "/etc/letsencrypt/live/%s/privkey.pem", hostname); + + if ((access(cacrtfile, R_OK) || access(cakeyfile, R_OK)) && (hostptr = strchr(hostname, '.')) != NULL) + { + /* + * Try just domain name... + */ + + hostptr ++; + if (strchr(hostptr, '.')) + { + snprintf(cacrtfile, sizeof(cacrtfile), "/etc/letsencrypt/live/%s/fullchain.pem", hostptr); + snprintf(cakeyfile, sizeof(cakeyfile), "/etc/letsencrypt/live/%s/privkey.pem", hostptr); + } + } + + if (!access(cacrtfile, R_OK) && !access(cakeyfile, R_OK)) + { + /* + * Use the CA certs... + */ + + strlcpy(crtfile, cacrtfile, sizeof(crtfile)); + strlcpy(keyfile, cakeyfile, sizeof(keyfile)); + } + } + + have_creds = !access(crtfile, R_OK) && !access(keyfile, R_OK); + } + else if (tls_common_name) + { + /* + * First look in the CUPS keystore... + */ + + http_gnutls_make_path(crtfile, sizeof(crtfile), tls_keypath, tls_common_name, "crt"); + http_gnutls_make_path(keyfile, sizeof(keyfile), tls_keypath, tls_common_name, "key"); + + if (access(crtfile, R_OK) || access(keyfile, R_OK)) + { + /* + * No CUPS-managed certs, look for CA certs... + */ + + char cacrtfile[1024], cakeyfile[1024]; /* CA cert files */ + + snprintf(cacrtfile, sizeof(cacrtfile), "/etc/letsencrypt/live/%s/fullchain.pem", tls_common_name); + snprintf(cakeyfile, sizeof(cakeyfile), "/etc/letsencrypt/live/%s/privkey.pem", tls_common_name); + + if ((access(cacrtfile, R_OK) || access(cakeyfile, R_OK)) && (hostptr = strchr(tls_common_name, '.')) != NULL) + { + /* + * Try just domain name... + */ + + hostptr ++; + if (strchr(hostptr, '.')) + { + snprintf(cacrtfile, sizeof(cacrtfile), "/etc/letsencrypt/live/%s/fullchain.pem", hostptr); + snprintf(cakeyfile, sizeof(cakeyfile), "/etc/letsencrypt/live/%s/privkey.pem", hostptr); + } + } + + if (!access(cacrtfile, R_OK) && !access(cakeyfile, R_OK)) + { + /* + * Use the CA certs... + */ + + strlcpy(crtfile, cacrtfile, sizeof(crtfile)); + strlcpy(keyfile, cakeyfile, sizeof(keyfile)); + } + } + + have_creds = !access(crtfile, R_OK) && !access(keyfile, R_OK); + } + + if (!have_creds && tls_auto_create && (hostname[0] || tls_common_name)) + { + DEBUG_printf(("4_httpTLSStart: Auto-create credentials for \"%s\".", hostname[0] ? hostname : tls_common_name)); + + if (!cupsMakeServerCredentials(tls_keypath, hostname[0] ? hostname : tls_common_name, 0, NULL, time(NULL) + 365 * 86400)) + { + DEBUG_puts("4_httpTLSStart: cupsMakeServerCredentials failed."); + http->error = errno = EINVAL; + http->status = HTTP_STATUS_ERROR; + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to create server credentials."), 1); + + return (-1); + } + } + + DEBUG_printf(("4_httpTLSStart: Using certificate \"%s\" and private key \"%s\".", crtfile, keyfile)); + + if (!status) + status = gnutls_certificate_set_x509_key_file(*credentials, crtfile, keyfile, GNUTLS_X509_FMT_PEM); + } + + if (!status) + status = gnutls_credentials_set(http->tls, GNUTLS_CRD_CERTIFICATE, *credentials); + + if (status) + { + http->error = EIO; + http->status = HTTP_STATUS_ERROR; + + DEBUG_printf(("4_httpTLSStart: Unable to complete client/server setup: %s", gnutls_strerror(status))); + _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, gnutls_strerror(status), 0); + + gnutls_deinit(http->tls); + gnutls_certificate_free_credentials(*credentials); + free(credentials); + http->tls = NULL; + + return (-1); + } + + strlcpy(priority_string, "NORMAL", sizeof(priority_string)); + + if (tls_max_version < _HTTP_TLS_MAX) + { + /* + * Require specific TLS versions... + */ + + strlcat(priority_string, ":-VERS-TLS-ALL", sizeof(priority_string)); + for (version = tls_min_version; version <= tls_max_version; version ++) + { + strlcat(priority_string, ":+", sizeof(priority_string)); + strlcat(priority_string, versions[version], sizeof(priority_string)); + } + } + else if (tls_min_version == _HTTP_TLS_SSL3) + { + /* + * Allow all versions of TLS and SSL/3.0... + */ + + strlcat(priority_string, ":+VERS-TLS-ALL:+VERS-SSL3.0", sizeof(priority_string)); + } + else + { + /* + * Require a minimum version... + */ + + strlcat(priority_string, ":+VERS-TLS-ALL", sizeof(priority_string)); + for (version = 0; version < tls_min_version; version ++) + { + strlcat(priority_string, ":-", sizeof(priority_string)); + strlcat(priority_string, versions[version], sizeof(priority_string)); + } + } + + if (tls_options & _HTTP_TLS_ALLOW_RC4) + strlcat(priority_string, ":+ARCFOUR-128", sizeof(priority_string)); + else + strlcat(priority_string, ":!ARCFOUR-128", sizeof(priority_string)); + + strlcat(priority_string, ":!ANON-DH", sizeof(priority_string)); + + if (tls_options & _HTTP_TLS_DENY_CBC) + strlcat(priority_string, ":!AES-128-CBC:!AES-256-CBC:!CAMELLIA-128-CBC:!CAMELLIA-256-CBC:!3DES-CBC", sizeof(priority_string)); + +#ifdef HAVE_GNUTLS_PRIORITY_SET_DIRECT + gnutls_priority_set_direct(http->tls, priority_string, NULL); + +#else + gnutls_priority_t priority; /* Priority */ + + gnutls_priority_init(&priority, priority_string, NULL); + gnutls_priority_set(http->tls, priority); + gnutls_priority_deinit(priority); +#endif /* HAVE_GNUTLS_PRIORITY_SET_DIRECT */ + + gnutls_transport_set_ptr(http->tls, (gnutls_transport_ptr_t)http); + gnutls_transport_set_pull_function(http->tls, http_gnutls_read); +#ifdef HAVE_GNUTLS_TRANSPORT_SET_PULL_TIMEOUT_FUNCTION + gnutls_transport_set_pull_timeout_function(http->tls, (gnutls_pull_timeout_func)httpWait); +#endif /* HAVE_GNUTLS_TRANSPORT_SET_PULL_TIMEOUT_FUNCTION */ + gnutls_transport_set_push_function(http->tls, http_gnutls_write); + + /* + * Enforce a minimum timeout of 10 seconds for the TLS handshake... + */ + + old_timeout = http->timeout_value; + old_cb = http->timeout_cb; + old_data = http->timeout_data; + + if (!old_cb || old_timeout < 10.0) + { + DEBUG_puts("4_httpTLSStart: Setting timeout to 10 seconds."); + httpSetTimeout(http, 10.0, NULL, NULL); + } + + /* + * Do the TLS handshake... + */ + + while ((status = gnutls_handshake(http->tls)) != GNUTLS_E_SUCCESS) + { + DEBUG_printf(("5_httpStartTLS: gnutls_handshake returned %d (%s)", + status, gnutls_strerror(status))); + + if (gnutls_error_is_fatal(status)) + { + http->error = EIO; + http->status = HTTP_STATUS_ERROR; + + _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, gnutls_strerror(status), 0); + + gnutls_deinit(http->tls); + gnutls_certificate_free_credentials(*credentials); + free(credentials); + http->tls = NULL; + + httpSetTimeout(http, old_timeout, old_cb, old_data); + + return (-1); + } + } + + /* + * Restore the previous timeout settings... + */ + + httpSetTimeout(http, old_timeout, old_cb, old_data); + + http->tls_credentials = credentials; + + return (0); +} + + +/* + * '_httpTLSStop()' - Shut down SSL/TLS on a connection. + */ + +void +_httpTLSStop(http_t *http) /* I - Connection to server */ +{ + int error; /* Error code */ + + + error = gnutls_bye(http->tls, http->mode == _HTTP_MODE_CLIENT ? GNUTLS_SHUT_RDWR : GNUTLS_SHUT_WR); + if (error != GNUTLS_E_SUCCESS) + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, gnutls_strerror(errno), 0); + + gnutls_deinit(http->tls); + http->tls = NULL; + + if (http->tls_credentials) + { + gnutls_certificate_free_credentials(*(http->tls_credentials)); + free(http->tls_credentials); + http->tls_credentials = NULL; + } +} + + +/* + * '_httpTLSWrite()' - Write to a SSL/TLS connection. + */ + +int /* O - Bytes written */ +_httpTLSWrite(http_t *http, /* I - Connection to server */ + const char *buf, /* I - Buffer holding data */ + int len) /* I - Length of buffer */ +{ + ssize_t result; /* Return value */ + + + DEBUG_printf(("2http_write_ssl(http=%p, buf=%p, len=%d)", http, buf, len)); + + result = gnutls_record_send(http->tls, buf, (size_t)len); + + if (result < 0 && !errno) + { + /* + * Convert GNU TLS error to errno value... + */ + + switch (result) + { + case GNUTLS_E_INTERRUPTED : + errno = EINTR; + break; + + case GNUTLS_E_AGAIN : + errno = EAGAIN; + break; + + default : + errno = EPIPE; + break; + } + + result = -1; + } + + DEBUG_printf(("3http_write_ssl: Returning %d.", (int)result)); + + return ((int)result); +} diff --git a/cups/tls-sspi.c b/cups/tls-sspi.c new file mode 100644 index 0000000..ccbdf8a --- /dev/null +++ b/cups/tls-sspi.c @@ -0,0 +1,2430 @@ +/* + * TLS support for CUPS on Windows using the Security Support Provider + * Interface (SSPI). + * + * Copyright 2010-2018 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/**** This file is included from tls.c ****/ + +/* + * Include necessary headers... + */ + +#include "debug-private.h" + + +/* + * Include necessary libraries... + */ + +#pragma comment(lib, "Crypt32.lib") +#pragma comment(lib, "Secur32.lib") +#pragma comment(lib, "Ws2_32.lib") + + +/* + * Constants... + */ + +#ifndef SECURITY_FLAG_IGNORE_UNKNOWN_CA +# define SECURITY_FLAG_IGNORE_UNKNOWN_CA 0x00000100 /* Untrusted root */ +#endif /* SECURITY_FLAG_IGNORE_UNKNOWN_CA */ + +#ifndef SECURITY_FLAG_IGNORE_CERT_CN_INVALID +# define SECURITY_FLAG_IGNORE_CERT_CN_INVALID 0x00001000 /* Common name does not match */ +#endif /* !SECURITY_FLAG_IGNORE_CERT_CN_INVALID */ + +#ifndef SECURITY_FLAG_IGNORE_CERT_DATE_INVALID +# define SECURITY_FLAG_IGNORE_CERT_DATE_INVALID 0x00002000 /* Expired X509 Cert. */ +#endif /* !SECURITY_FLAG_IGNORE_CERT_DATE_INVALID */ + + +/* + * Local globals... + */ + +static int tls_options = -1,/* Options for TLS connections */ + tls_min_version = _HTTP_TLS_1_0, + tls_max_version = _HTTP_TLS_MAX; + + +/* + * Local functions... + */ + +static _http_sspi_t *http_sspi_alloc(void); +static int http_sspi_client(http_t *http, const char *hostname); +static PCCERT_CONTEXT http_sspi_create_credential(http_credential_t *cred); +static BOOL http_sspi_find_credentials(http_t *http, const LPWSTR containerName, const char *common_name); +static void http_sspi_free(_http_sspi_t *sspi); +static BOOL http_sspi_make_credentials(_http_sspi_t *sspi, const LPWSTR containerName, const char *common_name, _http_mode_t mode, int years); +static int http_sspi_server(http_t *http, const char *hostname); +static void http_sspi_set_allows_any_root(_http_sspi_t *sspi, BOOL allow); +static void http_sspi_set_allows_expired_certs(_http_sspi_t *sspi, BOOL allow); +static const char *http_sspi_strerror(char *buffer, size_t bufsize, DWORD code); +static DWORD http_sspi_verify(PCCERT_CONTEXT cert, const char *common_name, DWORD dwCertFlags); + + +/* + * 'cupsMakeServerCredentials()' - Make a self-signed certificate and private key pair. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsMakeServerCredentials( + const char *path, /* I - Keychain path or @code NULL@ for default */ + const char *common_name, /* I - Common name */ + int num_alt_names, /* I - Number of subject alternate names */ + const char **alt_names, /* I - Subject Alternate Names */ + time_t expiration_date) /* I - Expiration date */ +{ + _http_sspi_t *sspi; /* SSPI data */ + int ret; /* Return value */ + + + DEBUG_printf(("cupsMakeServerCredentials(path=\"%s\", common_name=\"%s\", num_alt_names=%d, alt_names=%p, expiration_date=%d)", path, common_name, num_alt_names, alt_names, (int)expiration_date)); + + (void)path; + (void)num_alt_names; + (void)alt_names; + + sspi = http_sspi_alloc(); + ret = http_sspi_make_credentials(sspi, L"ServerContainer", common_name, _HTTP_MODE_SERVER, (int)((expiration_date - time(NULL) + 86399) / 86400 / 365)); + + http_sspi_free(sspi); + + return (ret); +} + + +/* + * 'cupsSetServerCredentials()' - Set the default server credentials. + * + * Note: The server credentials are used by all threads in the running process. + * This function is threadsafe. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsSetServerCredentials( + const char *path, /* I - Keychain path or @code NULL@ for default */ + const char *common_name, /* I - Default common name for server */ + int auto_create) /* I - 1 = automatically create self-signed certificates */ +{ + DEBUG_printf(("cupsSetServerCredentials(path=\"%s\", common_name=\"%s\", auto_create=%d)", path, common_name, auto_create)); + + (void)path; + (void)common_name; + (void)auto_create; + + return (0); +} + + +/* + * 'httpCopyCredentials()' - Copy the credentials associated with the peer in + * an encrypted connection. + * + * @since CUPS 1.5/macOS 10.7@ + */ + +int /* O - Status of call (0 = success) */ +httpCopyCredentials( + http_t *http, /* I - Connection to server */ + cups_array_t **credentials) /* O - Array of credentials */ +{ + DEBUG_printf(("httpCopyCredentials(http=%p, credentials=%p)", http, credentials)); + + if (!http || !http->tls || !http->tls->remoteCert || !credentials) + { + if (credentials) + *credentials = NULL; + + return (-1); + } + + *credentials = cupsArrayNew(NULL, NULL); + httpAddCredential(*credentials, http->tls->remoteCert->pbCertEncoded, http->tls->remoteCert->cbCertEncoded); + + return (0); +} + + +/* + * '_httpCreateCredentials()' - Create credentials in the internal format. + */ + +http_tls_credentials_t /* O - Internal credentials */ +_httpCreateCredentials( + cups_array_t *credentials) /* I - Array of credentials */ +{ + return (http_sspi_create_credential((http_credential_t *)cupsArrayFirst(credentials))); +} + + +/* + * 'httpCredentialsAreValidForName()' - Return whether the credentials are valid for the given name. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 1 if valid, 0 otherwise */ +httpCredentialsAreValidForName( + cups_array_t *credentials, /* I - Credentials */ + const char *common_name) /* I - Name to check */ +{ + int valid = 1; /* Valid name? */ + PCCERT_CONTEXT cert = http_sspi_create_credential((http_credential_t *)cupsArrayFirst(credentials)); + /* Certificate */ + char cert_name[1024]; /* Name from certificate */ + + + if (cert) + { + if (CertNameToStrA(X509_ASN_ENCODING, &(cert->pCertInfo->Subject), CERT_SIMPLE_NAME_STR, cert_name, sizeof(cert_name))) + { + /* + * Extract common name at end... + */ + + char *ptr = strrchr(cert_name, ','); + if (ptr && ptr[1]) + _cups_strcpy(cert_name, ptr + 2); + } + else + strlcpy(cert_name, "unknown", sizeof(cert_name)); + + CertFreeCertificateContext(cert); + } + else + strlcpy(cert_name, "unknown", sizeof(cert_name)); + + /* + * Compare the common names... + */ + + if (_cups_strcasecmp(common_name, cert_name)) + { + /* + * Not an exact match for the common name, check for wildcard certs... + */ + + const char *domain = strchr(common_name, '.'); + /* Domain in common name */ + + if (strncmp(cert_name, "*.", 2) || !domain || _cups_strcasecmp(domain, cert_name + 1)) + { + /* + * Not a wildcard match. + */ + + /* TODO: Check subject alternate names */ + valid = 0; + } + } + + return (valid); +} + + +/* + * 'httpCredentialsGetTrust()' - Return the trust of credentials. + * + * @since CUPS 2.0/OS 10.10@ + */ + +http_trust_t /* O - Level of trust */ +httpCredentialsGetTrust( + cups_array_t *credentials, /* I - Credentials */ + const char *common_name) /* I - Common name for trust lookup */ +{ + http_trust_t trust = HTTP_TRUST_OK; /* Level of trust */ + PCCERT_CONTEXT cert = NULL; /* Certificate to validate */ + DWORD certFlags = 0; /* Cert verification flags */ + _cups_globals_t *cg = _cupsGlobals(); /* Per-thread global data */ + + + if (!common_name) + return (HTTP_TRUST_UNKNOWN); + + cert = http_sspi_create_credential((http_credential_t *)cupsArrayFirst(credentials)); + if (!cert) + return (HTTP_TRUST_UNKNOWN); + + if (cg->any_root < 0) + _cupsSetDefaults(); + + if (cg->any_root) + certFlags |= SECURITY_FLAG_IGNORE_UNKNOWN_CA; + + if (cg->expired_certs) + certFlags |= SECURITY_FLAG_IGNORE_CERT_DATE_INVALID; + + if (!cg->validate_certs) + certFlags |= SECURITY_FLAG_IGNORE_CERT_CN_INVALID; + + if (http_sspi_verify(cert, common_name, certFlags) != SEC_E_OK) + trust = HTTP_TRUST_INVALID; + + CertFreeCertificateContext(cert); + + return (trust); +} + + +/* + * 'httpCredentialsGetExpiration()' - Return the expiration date of the credentials. + * + * @since CUPS 2.0/OS 10.10@ + */ + +time_t /* O - Expiration date of credentials */ +httpCredentialsGetExpiration( + cups_array_t *credentials) /* I - Credentials */ +{ + time_t expiration_date = 0; /* Expiration data of credentials */ + PCCERT_CONTEXT cert = http_sspi_create_credential((http_credential_t *)cupsArrayFirst(credentials)); + /* Certificate */ + + if (cert) + { + SYSTEMTIME systime; /* System time */ + struct tm tm; /* UNIX date/time */ + + FileTimeToSystemTime(&(cert->pCertInfo->NotAfter), &systime); + + tm.tm_year = systime.wYear - 1900; + tm.tm_mon = systime.wMonth - 1; + tm.tm_mday = systime.wDay; + tm.tm_hour = systime.wHour; + tm.tm_min = systime.wMinute; + tm.tm_sec = systime.wSecond; + + expiration_date = mktime(&tm); + + CertFreeCertificateContext(cert); + } + + return (expiration_date); +} + + +/* + * 'httpCredentialsString()' - Return a string representing the credentials. + * + * @since CUPS 2.0/OS 10.10@ + */ + +size_t /* O - Total size of credentials string */ +httpCredentialsString( + cups_array_t *credentials, /* I - Credentials */ + char *buffer, /* I - Buffer or @code NULL@ */ + size_t bufsize) /* I - Size of buffer */ +{ + http_credential_t *first = (http_credential_t *)cupsArrayFirst(credentials); + /* First certificate */ + PCCERT_CONTEXT cert; /* Certificate */ + + + DEBUG_printf(("httpCredentialsString(credentials=%p, buffer=%p, bufsize=" CUPS_LLFMT ")", credentials, buffer, CUPS_LLCAST bufsize)); + + if (!buffer) + return (0); + + if (buffer && bufsize > 0) + *buffer = '\0'; + + cert = http_sspi_create_credential(first); + + if (cert) + { + char cert_name[256]; /* Common name */ + SYSTEMTIME systime; /* System time */ + struct tm tm; /* UNIX date/time */ + time_t expiration; /* Expiration date of cert */ + unsigned char md5_digest[16]; /* MD5 result */ + + FileTimeToSystemTime(&(cert->pCertInfo->NotAfter), &systime); + + tm.tm_year = systime.wYear - 1900; + tm.tm_mon = systime.wMonth - 1; + tm.tm_mday = systime.wDay; + tm.tm_hour = systime.wHour; + tm.tm_min = systime.wMinute; + tm.tm_sec = systime.wSecond; + + expiration = mktime(&tm); + + if (CertNameToStrA(X509_ASN_ENCODING, &(cert->pCertInfo->Subject), CERT_SIMPLE_NAME_STR, cert_name, sizeof(cert_name))) + { + /* + * Extract common name at end... + */ + + char *ptr = strrchr(cert_name, ','); + if (ptr && ptr[1]) + _cups_strcpy(cert_name, ptr + 2); + } + else + strlcpy(cert_name, "unknown", sizeof(cert_name)); + + cupsHashData("md5", first->data, first->datalen, md5_digest, sizeof(md5_digest)); + + snprintf(buffer, bufsize, "%s / %s / %02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", cert_name, httpGetDateString(expiration), md5_digest[0], md5_digest[1], md5_digest[2], md5_digest[3], md5_digest[4], md5_digest[5], md5_digest[6], md5_digest[7], md5_digest[8], md5_digest[9], md5_digest[10], md5_digest[11], md5_digest[12], md5_digest[13], md5_digest[14], md5_digest[15]); + + CertFreeCertificateContext(cert); + } + + DEBUG_printf(("1httpCredentialsString: Returning \"%s\".", buffer)); + + return (strlen(buffer)); +} + + +/* + * '_httpFreeCredentials()' - Free internal credentials. + */ + +void +_httpFreeCredentials( + http_tls_credentials_t credentials) /* I - Internal credentials */ +{ + if (!credentials) + return; + + CertFreeCertificateContext(credentials); +} + + +/* + * 'httpLoadCredentials()' - Load X.509 credentials from a keychain file. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - 0 on success, -1 on error */ +httpLoadCredentials( + const char *path, /* I - Keychain path or @code NULL@ for default */ + cups_array_t **credentials, /* IO - Credentials */ + const char *common_name) /* I - Common name for credentials */ +{ + HCERTSTORE store = NULL; /* Certificate store */ + PCCERT_CONTEXT storedContext = NULL; /* Context created from the store */ + DWORD dwSize = 0; /* 32 bit size */ + PBYTE p = NULL; /* Temporary storage */ + HCRYPTPROV hProv = (HCRYPTPROV)NULL; + /* Handle to a CSP */ + CERT_NAME_BLOB sib; /* Arbitrary array of bytes */ +#ifdef DEBUG + char error[1024]; /* Error message buffer */ +#endif /* DEBUG */ + + + DEBUG_printf(("httpLoadCredentials(path=\"%s\", credentials=%p, common_name=\"%s\")", path, credentials, common_name)); + + (void)path; + + if (credentials) + { + *credentials = NULL; + } + else + { + DEBUG_puts("1httpLoadCredentials: NULL credentials pointer, returning -1."); + return (-1); + } + + if (!common_name) + { + DEBUG_puts("1httpLoadCredentials: Bad common name, returning -1."); + return (-1); + } + + if (!CryptAcquireContextW(&hProv, L"RememberedContainer", MS_DEF_PROV_W, PROV_RSA_FULL, CRYPT_NEWKEYSET | CRYPT_MACHINE_KEYSET)) + { + if (GetLastError() == NTE_EXISTS) + { + if (!CryptAcquireContextW(&hProv, L"RememberedContainer", MS_DEF_PROV_W, PROV_RSA_FULL, CRYPT_MACHINE_KEYSET)) + { + DEBUG_printf(("1httpLoadCredentials: CryptAcquireContext failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); + goto cleanup; + } + } + } + + store = CertOpenStore(CERT_STORE_PROV_SYSTEM, X509_ASN_ENCODING|PKCS_7_ASN_ENCODING, hProv, CERT_SYSTEM_STORE_LOCAL_MACHINE | CERT_STORE_NO_CRYPT_RELEASE_FLAG | CERT_STORE_OPEN_EXISTING_FLAG, L"MY"); + + if (!store) + { + DEBUG_printf(("1httpLoadCredentials: CertOpenSystemStore failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); + goto cleanup; + } + + dwSize = 0; + + if (!CertStrToNameA(X509_ASN_ENCODING, common_name, CERT_OID_NAME_STR, NULL, NULL, &dwSize, NULL)) + { + DEBUG_printf(("1httpLoadCredentials: CertStrToName failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); + goto cleanup; + } + + p = (PBYTE)malloc(dwSize); + + if (!p) + { + DEBUG_printf(("1httpLoadCredentials: malloc failed for %d bytes.", dwSize)); + goto cleanup; + } + + if (!CertStrToNameA(X509_ASN_ENCODING, common_name, CERT_OID_NAME_STR, NULL, p, &dwSize, NULL)) + { + DEBUG_printf(("1httpLoadCredentials: CertStrToName failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); + goto cleanup; + } + + sib.cbData = dwSize; + sib.pbData = p; + + storedContext = CertFindCertificateInStore(store, X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 0, CERT_FIND_SUBJECT_NAME, &sib, NULL); + + if (!storedContext) + { + DEBUG_printf(("1httpLoadCredentials: Unable to find credentials for \"%s\".", common_name)); + goto cleanup; + } + + *credentials = cupsArrayNew(NULL, NULL); + httpAddCredential(*credentials, storedContext->pbCertEncoded, storedContext->cbCertEncoded); + +cleanup: + + /* + * Cleanup + */ + + if (storedContext) + CertFreeCertificateContext(storedContext); + + if (p) + free(p); + + if (store) + CertCloseStore(store, 0); + + if (hProv) + CryptReleaseContext(hProv, 0); + + DEBUG_printf(("1httpLoadCredentials: Returning %d.", *credentials ? 0 : -1)); + + return (*credentials ? 0 : -1); +} + + +/* + * 'httpSaveCredentials()' - Save X.509 credentials to a keychain file. + * + * @since CUPS 2.0/OS 10.10@ + */ + +int /* O - -1 on error, 0 on success */ +httpSaveCredentials( + const char *path, /* I - Keychain path or @code NULL@ for default */ + cups_array_t *credentials, /* I - Credentials */ + const char *common_name) /* I - Common name for credentials */ +{ + HCERTSTORE store = NULL; /* Certificate store */ + PCCERT_CONTEXT storedContext = NULL; /* Context created from the store */ + PCCERT_CONTEXT createdContext = NULL; /* Context created by us */ + DWORD dwSize = 0; /* 32 bit size */ + PBYTE p = NULL; /* Temporary storage */ + HCRYPTPROV hProv = (HCRYPTPROV)NULL; + /* Handle to a CSP */ + CRYPT_KEY_PROV_INFO ckp; /* Handle to crypto key */ + int ret = -1; /* Return value */ +#ifdef DEBUG + char error[1024]; /* Error message buffer */ +#endif /* DEBUG */ + + + DEBUG_printf(("httpSaveCredentials(path=\"%s\", credentials=%p, common_name=\"%s\")", path, credentials, common_name)); + + (void)path; + + if (!common_name) + { + DEBUG_puts("1httpSaveCredentials: Bad common name, returning -1."); + return (-1); + } + + createdContext = http_sspi_create_credential((http_credential_t *)cupsArrayFirst(credentials)); + if (!createdContext) + { + DEBUG_puts("1httpSaveCredentials: Bad credentials, returning -1."); + return (-1); + } + + if (!CryptAcquireContextW(&hProv, L"RememberedContainer", MS_DEF_PROV_W, PROV_RSA_FULL, CRYPT_NEWKEYSET | CRYPT_MACHINE_KEYSET)) + { + if (GetLastError() == NTE_EXISTS) + { + if (!CryptAcquireContextW(&hProv, L"RememberedContainer", MS_DEF_PROV_W, PROV_RSA_FULL, CRYPT_MACHINE_KEYSET)) + { + DEBUG_printf(("1httpSaveCredentials: CryptAcquireContext failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); + goto cleanup; + } + } + } + + store = CertOpenStore(CERT_STORE_PROV_SYSTEM, X509_ASN_ENCODING|PKCS_7_ASN_ENCODING, hProv, CERT_SYSTEM_STORE_LOCAL_MACHINE | CERT_STORE_NO_CRYPT_RELEASE_FLAG | CERT_STORE_OPEN_EXISTING_FLAG, L"MY"); + + if (!store) + { + DEBUG_printf(("1httpSaveCredentials: CertOpenSystemStore failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); + goto cleanup; + } + + dwSize = 0; + + if (!CertStrToNameA(X509_ASN_ENCODING, common_name, CERT_OID_NAME_STR, NULL, NULL, &dwSize, NULL)) + { + DEBUG_printf(("1httpSaveCredentials: CertStrToName failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); + goto cleanup; + } + + p = (PBYTE)malloc(dwSize); + + if (!p) + { + DEBUG_printf(("1httpSaveCredentials: malloc failed for %d bytes.", dwSize)); + goto cleanup; + } + + if (!CertStrToNameA(X509_ASN_ENCODING, common_name, CERT_OID_NAME_STR, NULL, p, &dwSize, NULL)) + { + DEBUG_printf(("1httpSaveCredentials: CertStrToName failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); + goto cleanup; + } + + /* + * Add the created context to the named store, and associate it with the named + * container... + */ + + if (!CertAddCertificateContextToStore(store, createdContext, CERT_STORE_ADD_REPLACE_EXISTING, &storedContext)) + { + DEBUG_printf(("1httpSaveCredentials: CertAddCertificateContextToStore failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); + goto cleanup; + } + + ZeroMemory(&ckp, sizeof(ckp)); + ckp.pwszContainerName = L"RememberedContainer"; + ckp.pwszProvName = MS_DEF_PROV_W; + ckp.dwProvType = PROV_RSA_FULL; + ckp.dwFlags = CRYPT_MACHINE_KEYSET; + ckp.dwKeySpec = AT_KEYEXCHANGE; + + if (!CertSetCertificateContextProperty(storedContext, CERT_KEY_PROV_INFO_PROP_ID, 0, &ckp)) + { + DEBUG_printf(("1httpSaveCredentials: CertSetCertificateContextProperty failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); + goto cleanup; + } + + ret = 0; + +cleanup: + + /* + * Cleanup + */ + + if (createdContext) + CertFreeCertificateContext(createdContext); + + if (storedContext) + CertFreeCertificateContext(storedContext); + + if (p) + free(p); + + if (store) + CertCloseStore(store, 0); + + if (hProv) + CryptReleaseContext(hProv, 0); + + DEBUG_printf(("1httpSaveCredentials: Returning %d.", ret)); + return (ret); +} + + +/* + * '_httpTLSInitialize()' - Initialize the TLS stack. + */ + +void +_httpTLSInitialize(void) +{ + /* + * Nothing to do... + */ +} + + +/* + * '_httpTLSPending()' - Return the number of pending TLS-encrypted bytes. + */ + +size_t /* O - Bytes available */ +_httpTLSPending(http_t *http) /* I - HTTP connection */ +{ + if (http->tls) + return (http->tls->readBufferUsed); + else + return (0); +} + + +/* + * '_httpTLSRead()' - Read from a SSL/TLS connection. + */ + +int /* O - Bytes read */ +_httpTLSRead(http_t *http, /* I - HTTP connection */ + char *buf, /* I - Buffer to store data */ + int len) /* I - Length of buffer */ +{ + int i; /* Looping var */ + _http_sspi_t *sspi = http->tls; /* SSPI data */ + SecBufferDesc message; /* Array of SecBuffer struct */ + SecBuffer buffers[4] = { 0 }; /* Security package buffer */ + int num = 0; /* Return value */ + PSecBuffer pDataBuffer; /* Data buffer */ + PSecBuffer pExtraBuffer; /* Excess data buffer */ + SECURITY_STATUS scRet; /* SSPI status */ + + + DEBUG_printf(("4_httpTLSRead(http=%p, buf=%p, len=%d)", http, buf, len)); + + /* + * If there are bytes that have already been decrypted and have not yet been + * read, return those... + */ + + if (sspi->readBufferUsed > 0) + { + int bytesToCopy = min(sspi->readBufferUsed, len); + /* Number of bytes to copy */ + + memcpy(buf, sspi->readBuffer, bytesToCopy); + sspi->readBufferUsed -= bytesToCopy; + + if (sspi->readBufferUsed > 0) + memmove(sspi->readBuffer, sspi->readBuffer + bytesToCopy, sspi->readBufferUsed); + + DEBUG_printf(("5_httpTLSRead: Returning %d bytes previously decrypted.", bytesToCopy)); + + return (bytesToCopy); + } + + /* + * Initialize security buffer structs + */ + + message.ulVersion = SECBUFFER_VERSION; + message.cBuffers = 4; + message.pBuffers = buffers; + + do + { + /* + * If there is not enough space in the buffer, then increase its size... + */ + + if (sspi->decryptBufferLength <= sspi->decryptBufferUsed) + { + BYTE *temp; /* New buffer */ + + if (sspi->decryptBufferLength >= 262144) + { + WSASetLastError(E_OUTOFMEMORY); + DEBUG_puts("_httpTLSRead: Decryption buffer too large (>256k)"); + return (-1); + } + + if ((temp = realloc(sspi->decryptBuffer, sspi->decryptBufferLength + 4096)) == NULL) + { + DEBUG_printf(("_httpTLSRead: Unable to allocate %d byte decryption buffer.", sspi->decryptBufferLength + 4096)); + WSASetLastError(E_OUTOFMEMORY); + return (-1); + } + + sspi->decryptBufferLength += 4096; + sspi->decryptBuffer = temp; + + DEBUG_printf(("_httpTLSRead: Resized decryption buffer to %d bytes.", sspi->decryptBufferLength)); + } + + buffers[0].pvBuffer = sspi->decryptBuffer; + buffers[0].cbBuffer = (unsigned long)sspi->decryptBufferUsed; + buffers[0].BufferType = SECBUFFER_DATA; + buffers[1].BufferType = SECBUFFER_EMPTY; + buffers[2].BufferType = SECBUFFER_EMPTY; + buffers[3].BufferType = SECBUFFER_EMPTY; + + DEBUG_printf(("5_httpTLSRead: decryptBufferUsed=%d", sspi->decryptBufferUsed)); + + scRet = DecryptMessage(&sspi->context, &message, 0, NULL); + + if (scRet == SEC_E_INCOMPLETE_MESSAGE) + { + num = recv(http->fd, sspi->decryptBuffer + sspi->decryptBufferUsed, (int)(sspi->decryptBufferLength - sspi->decryptBufferUsed), 0); + if (num < 0) + { + DEBUG_printf(("5_httpTLSRead: recv failed: %d", WSAGetLastError())); + return (-1); + } + else if (num == 0) + { + DEBUG_puts("5_httpTLSRead: Server disconnected."); + return (0); + } + + DEBUG_printf(("5_httpTLSRead: Read %d bytes into decryption buffer.", num)); + + sspi->decryptBufferUsed += num; + } + } + while (scRet == SEC_E_INCOMPLETE_MESSAGE); + + if (scRet == SEC_I_CONTEXT_EXPIRED) + { + DEBUG_puts("5_httpTLSRead: Context expired."); + WSASetLastError(WSAECONNRESET); + return (-1); + } + else if (scRet != SEC_E_OK) + { + DEBUG_printf(("5_httpTLSRead: DecryptMessage failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), scRet))); + WSASetLastError(WSASYSCALLFAILURE); + return (-1); + } + + /* + * The decryption worked. Now, locate data buffer. + */ + + pDataBuffer = NULL; + pExtraBuffer = NULL; + + for (i = 1; i < 4; i++) + { + if (buffers[i].BufferType == SECBUFFER_DATA) + pDataBuffer = &buffers[i]; + else if (!pExtraBuffer && (buffers[i].BufferType == SECBUFFER_EXTRA)) + pExtraBuffer = &buffers[i]; + } + + /* + * If a data buffer is found, then copy the decrypted bytes to the passed-in + * buffer... + */ + + if (pDataBuffer) + { + int bytesToCopy = min((int)pDataBuffer->cbBuffer, len); + /* Number of bytes to copy into buf */ + int bytesToSave = pDataBuffer->cbBuffer - bytesToCopy; + /* Number of bytes to save in our read buffer */ + + if (bytesToCopy) + memcpy(buf, pDataBuffer->pvBuffer, bytesToCopy); + + /* + * If there are more decrypted bytes than can be copied to the passed in + * buffer, then save them... + */ + + if (bytesToSave) + { + if ((sspi->readBufferLength - sspi->readBufferUsed) < bytesToSave) + { + BYTE *temp; /* New buffer pointer */ + + if ((temp = realloc(sspi->readBuffer, sspi->readBufferUsed + bytesToSave)) == NULL) + { + DEBUG_printf(("_httpTLSRead: Unable to allocate %d bytes.", sspi->readBufferUsed + bytesToSave)); + WSASetLastError(E_OUTOFMEMORY); + return (-1); + } + + sspi->readBufferLength = sspi->readBufferUsed + bytesToSave; + sspi->readBuffer = temp; + } + + memcpy(((BYTE *)sspi->readBuffer) + sspi->readBufferUsed, ((BYTE *)pDataBuffer->pvBuffer) + bytesToCopy, bytesToSave); + + sspi->readBufferUsed += bytesToSave; + } + + num = bytesToCopy; + } + else + { + DEBUG_puts("_httpTLSRead: Unable to find data buffer."); + WSASetLastError(WSASYSCALLFAILURE); + return (-1); + } + + /* + * If the decryption process left extra bytes, then save those back in + * decryptBuffer. They will be processed the next time through the loop. + */ + + if (pExtraBuffer) + { + memmove(sspi->decryptBuffer, pExtraBuffer->pvBuffer, pExtraBuffer->cbBuffer); + sspi->decryptBufferUsed = pExtraBuffer->cbBuffer; + } + else + { + sspi->decryptBufferUsed = 0; + } + + return (num); +} + + +/* + * '_httpTLSSetOptions()' - Set TLS protocol and cipher suite options. + */ + +void +_httpTLSSetOptions(int options, /* I - Options */ + int min_version, /* I - Minimum TLS version */ + int max_version) /* I - Maximum TLS version */ +{ + if (!(options & _HTTP_TLS_SET_DEFAULT) || tls_options < 0) + { + tls_options = options; + tls_min_version = min_version; + tls_max_version = max_version; + } +} + + +/* + * '_httpTLSStart()' - Set up SSL/TLS support on a connection. + */ + +int /* O - 0 on success, -1 on failure */ +_httpTLSStart(http_t *http) /* I - HTTP connection */ +{ + char hostname[256], /* Hostname */ + *hostptr; /* Pointer into hostname */ + + + DEBUG_printf(("3_httpTLSStart(http=%p)", http)); + + if (tls_options < 0) + { + DEBUG_puts("4_httpTLSStart: Setting defaults."); + _cupsSetDefaults(); + DEBUG_printf(("4_httpTLSStart: tls_options=%x", tls_options)); + } + + if ((http->tls = http_sspi_alloc()) == NULL) + return (-1); + + if (http->mode == _HTTP_MODE_CLIENT) + { + /* + * Client: determine hostname... + */ + + if (httpAddrLocalhost(http->hostaddr)) + { + strlcpy(hostname, "localhost", sizeof(hostname)); + } + else + { + /* + * Otherwise make sure the hostname we have does not end in a trailing dot. + */ + + strlcpy(hostname, http->hostname, sizeof(hostname)); + if ((hostptr = hostname + strlen(hostname) - 1) >= hostname && + *hostptr == '.') + *hostptr = '\0'; + } + + return (http_sspi_client(http, hostname)); + } + else + { + /* + * Server: determine hostname to use... + */ + + if (http->fields[HTTP_FIELD_HOST]) + { + /* + * Use hostname for TLS upgrade... + */ + + strlcpy(hostname, http->fields[HTTP_FIELD_HOST], sizeof(hostname)); + } + else + { + /* + * Resolve hostname from connection address... + */ + + http_addr_t addr; /* Connection address */ + socklen_t addrlen; /* Length of address */ + + addrlen = sizeof(addr); + if (getsockname(http->fd, (struct sockaddr *)&addr, &addrlen)) + { + DEBUG_printf(("4_httpTLSStart: Unable to get socket address: %s", strerror(errno))); + hostname[0] = '\0'; + } + else if (httpAddrLocalhost(&addr)) + hostname[0] = '\0'; + else + { + httpAddrLookup(&addr, hostname, sizeof(hostname)); + DEBUG_printf(("4_httpTLSStart: Resolved socket address to \"%s\".", hostname)); + } + } + + return (http_sspi_server(http, hostname)); + } +} + + +/* + * '_httpTLSStop()' - Shut down SSL/TLS on a connection. + */ + +void +_httpTLSStop(http_t *http) /* I - HTTP connection */ +{ + _http_sspi_t *sspi = http->tls; /* SSPI data */ + + + if (sspi->contextInitialized && http->fd >= 0) + { + SecBufferDesc message; /* Array of SecBuffer struct */ + SecBuffer buffers[1] = { 0 }; + /* Security package buffer */ + DWORD dwType; /* Type */ + DWORD status; /* Status */ + + /* + * Notify schannel that we are about to close the connection. + */ + + dwType = SCHANNEL_SHUTDOWN; + + buffers[0].pvBuffer = &dwType; + buffers[0].BufferType = SECBUFFER_TOKEN; + buffers[0].cbBuffer = sizeof(dwType); + + message.cBuffers = 1; + message.pBuffers = buffers; + message.ulVersion = SECBUFFER_VERSION; + + status = ApplyControlToken(&sspi->context, &message); + + if (SUCCEEDED(status)) + { + PBYTE pbMessage; /* Message buffer */ + DWORD cbMessage; /* Message buffer count */ + DWORD cbData; /* Data count */ + DWORD dwSSPIFlags; /* SSL attributes we requested */ + DWORD dwSSPIOutFlags; /* SSL attributes we received */ + TimeStamp tsExpiry; /* Time stamp */ + + dwSSPIFlags = ASC_REQ_SEQUENCE_DETECT | + ASC_REQ_REPLAY_DETECT | + ASC_REQ_CONFIDENTIALITY | + ASC_REQ_EXTENDED_ERROR | + ASC_REQ_ALLOCATE_MEMORY | + ASC_REQ_STREAM; + + buffers[0].pvBuffer = NULL; + buffers[0].BufferType = SECBUFFER_TOKEN; + buffers[0].cbBuffer = 0; + + message.cBuffers = 1; + message.pBuffers = buffers; + message.ulVersion = SECBUFFER_VERSION; + + status = AcceptSecurityContext(&sspi->creds, &sspi->context, NULL, + dwSSPIFlags, SECURITY_NATIVE_DREP, NULL, + &message, &dwSSPIOutFlags, &tsExpiry); + + if (SUCCEEDED(status)) + { + pbMessage = buffers[0].pvBuffer; + cbMessage = buffers[0].cbBuffer; + + /* + * Send the close notify message to the client. + */ + + if (pbMessage && cbMessage) + { + cbData = send(http->fd, pbMessage, cbMessage, 0); + if ((cbData == SOCKET_ERROR) || (cbData == 0)) + { + status = WSAGetLastError(); + DEBUG_printf(("_httpTLSStop: sending close notify failed: %d", status)); + } + else + { + FreeContextBuffer(pbMessage); + } + } + } + else + { + DEBUG_printf(("_httpTLSStop: AcceptSecurityContext failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), status))); + } + } + else + { + DEBUG_printf(("_httpTLSStop: ApplyControlToken failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), status))); + } + } + + http_sspi_free(sspi); + + http->tls = NULL; +} + + +/* + * '_httpTLSWrite()' - Write to a SSL/TLS connection. + */ + +int /* O - Bytes written */ +_httpTLSWrite(http_t *http, /* I - HTTP connection */ + const char *buf, /* I - Buffer holding data */ + int len) /* I - Length of buffer */ +{ + _http_sspi_t *sspi = http->tls; /* SSPI data */ + SecBufferDesc message; /* Array of SecBuffer struct */ + SecBuffer buffers[4] = { 0 }; /* Security package buffer */ + int bufferLen; /* Buffer length */ + int bytesLeft; /* Bytes left to write */ + const char *bufptr; /* Pointer into buffer */ + int num = 0; /* Return value */ + + + bufferLen = sspi->streamSizes.cbMaximumMessage + sspi->streamSizes.cbHeader + sspi->streamSizes.cbTrailer; + + if (bufferLen > sspi->writeBufferLength) + { + BYTE *temp; /* New buffer pointer */ + + if ((temp = (BYTE *)realloc(sspi->writeBuffer, bufferLen)) == NULL) + { + DEBUG_printf(("_httpTLSWrite: Unable to allocate buffer of %d bytes.", bufferLen)); + WSASetLastError(E_OUTOFMEMORY); + return (-1); + } + + sspi->writeBuffer = temp; + sspi->writeBufferLength = bufferLen; + } + + bytesLeft = len; + bufptr = buf; + + while (bytesLeft) + { + int chunk = min((int)sspi->streamSizes.cbMaximumMessage, bytesLeft); + /* Size of data to write */ + SECURITY_STATUS scRet; /* SSPI status */ + + /* + * Copy user data into the buffer, starting just past the header... + */ + + memcpy(sspi->writeBuffer + sspi->streamSizes.cbHeader, bufptr, chunk); + + /* + * Setup the SSPI buffers + */ + + message.ulVersion = SECBUFFER_VERSION; + message.cBuffers = 4; + message.pBuffers = buffers; + + buffers[0].pvBuffer = sspi->writeBuffer; + buffers[0].cbBuffer = sspi->streamSizes.cbHeader; + buffers[0].BufferType = SECBUFFER_STREAM_HEADER; + buffers[1].pvBuffer = sspi->writeBuffer + sspi->streamSizes.cbHeader; + buffers[1].cbBuffer = (unsigned long) chunk; + buffers[1].BufferType = SECBUFFER_DATA; + buffers[2].pvBuffer = sspi->writeBuffer + sspi->streamSizes.cbHeader + chunk; + buffers[2].cbBuffer = sspi->streamSizes.cbTrailer; + buffers[2].BufferType = SECBUFFER_STREAM_TRAILER; + buffers[3].BufferType = SECBUFFER_EMPTY; + + /* + * Encrypt the data + */ + + scRet = EncryptMessage(&sspi->context, 0, &message, 0); + + if (FAILED(scRet)) + { + DEBUG_printf(("_httpTLSWrite: EncryptMessage failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), scRet))); + WSASetLastError(WSASYSCALLFAILURE); + return (-1); + } + + /* + * Send the data. Remember the size of the total data to send is the size + * of the header, the size of the data the caller passed in and the size + * of the trailer... + */ + + num = send(http->fd, sspi->writeBuffer, buffers[0].cbBuffer + buffers[1].cbBuffer + buffers[2].cbBuffer, 0); + + if (num <= 0) + { + DEBUG_printf(("_httpTLSWrite: send failed: %ld", WSAGetLastError())); + return (num); + } + + bytesLeft -= chunk; + bufptr += chunk; + } + + return (len); +} + + +#if 0 +/* + * 'http_setup_ssl()' - Set up SSL/TLS support on a connection. + */ + +static int /* O - 0 on success, -1 on failure */ +http_setup_ssl(http_t *http) /* I - Connection to server */ +{ + char hostname[256], /* Hostname */ + *hostptr; /* Pointer into hostname */ + + TCHAR username[256]; /* Username returned from GetUserName() */ + TCHAR commonName[256];/* Common name for certificate */ + DWORD dwSize; /* 32 bit size */ + + + DEBUG_printf(("7http_setup_ssl(http=%p)", http)); + + /* + * Get the hostname to use for SSL... + */ + + if (httpAddrLocalhost(http->hostaddr)) + { + strlcpy(hostname, "localhost", sizeof(hostname)); + } + else + { + /* + * Otherwise make sure the hostname we have does not end in a trailing dot. + */ + + strlcpy(hostname, http->hostname, sizeof(hostname)); + if ((hostptr = hostname + strlen(hostname) - 1) >= hostname && + *hostptr == '.') + *hostptr = '\0'; + } + + http->tls = http_sspi_alloc(); + + if (!http->tls) + { + _cupsSetHTTPError(HTTP_STATUS_ERROR); + return (-1); + } + + dwSize = sizeof(username) / sizeof(TCHAR); + GetUserName(username, &dwSize); + _sntprintf_s(commonName, sizeof(commonName) / sizeof(TCHAR), + sizeof(commonName) / sizeof(TCHAR), TEXT("CN=%s"), username); + + if (!_sspiGetCredentials(http->tls, L"ClientContainer", + commonName, FALSE)) + { + _sspiFree(http->tls); + http->tls = NULL; + + http->error = EIO; + http->status = HTTP_STATUS_ERROR; + + _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, + _("Unable to establish a secure connection to host."), 1); + + return (-1); + } + + _sspiSetAllowsAnyRoot(http->tls, TRUE); + _sspiSetAllowsExpiredCerts(http->tls, TRUE); + + if (!_sspiConnect(http->tls, hostname)) + { + _sspiFree(http->tls); + http->tls = NULL; + + http->error = EIO; + http->status = HTTP_STATUS_ERROR; + + _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, + _("Unable to establish a secure connection to host."), 1); + + return (-1); + } + + return (0); +} +#endif // 0 + + +/* + * 'http_sspi_alloc()' - Allocate SSPI object. + */ + +static _http_sspi_t * /* O - New SSPI/SSL object */ +http_sspi_alloc(void) +{ + return ((_http_sspi_t *)calloc(sizeof(_http_sspi_t), 1)); +} + + +/* + * 'http_sspi_client()' - Negotiate a TLS connection as a client. + */ + +static int /* O - 0 on success, -1 on failure */ +http_sspi_client(http_t *http, /* I - Client connection */ + const char *hostname) /* I - Server hostname */ +{ + _http_sspi_t *sspi = http->tls; /* SSPI data */ + DWORD dwSize; /* Size for buffer */ + DWORD dwSSPIFlags; /* SSL connection attributes we want */ + DWORD dwSSPIOutFlags; /* SSL connection attributes we got */ + TimeStamp tsExpiry; /* Time stamp */ + SECURITY_STATUS scRet; /* Status */ + int cbData; /* Data count */ + SecBufferDesc inBuffer; /* Array of SecBuffer structs */ + SecBuffer inBuffers[2]; /* Security package buffer */ + SecBufferDesc outBuffer; /* Array of SecBuffer structs */ + SecBuffer outBuffers[1]; /* Security package buffer */ + int ret = 0; /* Return value */ + char username[1024], /* Current username */ + common_name[1024]; /* CN=username */ + + + DEBUG_printf(("4http_sspi_client(http=%p, hostname=\"%s\")", http, hostname)); + + dwSSPIFlags = ISC_REQ_SEQUENCE_DETECT | + ISC_REQ_REPLAY_DETECT | + ISC_REQ_CONFIDENTIALITY | + ISC_RET_EXTENDED_ERROR | + ISC_REQ_ALLOCATE_MEMORY | + ISC_REQ_STREAM; + + /* + * Lookup the client certificate... + */ + + dwSize = sizeof(username); + GetUserNameA(username, &dwSize); + snprintf(common_name, sizeof(common_name), "CN=%s", username); + + if (!http_sspi_find_credentials(http, L"ClientContainer", common_name)) + if (!http_sspi_make_credentials(http->tls, L"ClientContainer", common_name, _HTTP_MODE_CLIENT, 10)) + { + DEBUG_puts("5http_sspi_client: Unable to get client credentials."); + return (-1); + } + + /* + * Initiate a ClientHello message and generate a token. + */ + + outBuffers[0].pvBuffer = NULL; + outBuffers[0].BufferType = SECBUFFER_TOKEN; + outBuffers[0].cbBuffer = 0; + + outBuffer.cBuffers = 1; + outBuffer.pBuffers = outBuffers; + outBuffer.ulVersion = SECBUFFER_VERSION; + + scRet = InitializeSecurityContext(&sspi->creds, NULL, TEXT(""), dwSSPIFlags, 0, SECURITY_NATIVE_DREP, NULL, 0, &sspi->context, &outBuffer, &dwSSPIOutFlags, &tsExpiry); + + if (scRet != SEC_I_CONTINUE_NEEDED) + { + DEBUG_printf(("5http_sspi_client: InitializeSecurityContext(1) failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), scRet))); + return (-1); + } + + /* + * Send response to server if there is one. + */ + + if (outBuffers[0].cbBuffer && outBuffers[0].pvBuffer) + { + if ((cbData = send(http->fd, outBuffers[0].pvBuffer, outBuffers[0].cbBuffer, 0)) <= 0) + { + DEBUG_printf(("5http_sspi_client: send failed: %d", WSAGetLastError())); + FreeContextBuffer(outBuffers[0].pvBuffer); + DeleteSecurityContext(&sspi->context); + return (-1); + } + + DEBUG_printf(("5http_sspi_client: %d bytes of handshake data sent.", cbData)); + + FreeContextBuffer(outBuffers[0].pvBuffer); + outBuffers[0].pvBuffer = NULL; + } + + dwSSPIFlags = ISC_REQ_MANUAL_CRED_VALIDATION | + ISC_REQ_SEQUENCE_DETECT | + ISC_REQ_REPLAY_DETECT | + ISC_REQ_CONFIDENTIALITY | + ISC_RET_EXTENDED_ERROR | + ISC_REQ_ALLOCATE_MEMORY | + ISC_REQ_STREAM; + + sspi->decryptBufferUsed = 0; + + /* + * Loop until the handshake is finished or an error occurs. + */ + + scRet = SEC_I_CONTINUE_NEEDED; + + while(scRet == SEC_I_CONTINUE_NEEDED || + scRet == SEC_E_INCOMPLETE_MESSAGE || + scRet == SEC_I_INCOMPLETE_CREDENTIALS) + { + if (sspi->decryptBufferUsed == 0 || scRet == SEC_E_INCOMPLETE_MESSAGE) + { + if (sspi->decryptBufferLength <= sspi->decryptBufferUsed) + { + BYTE *temp; /* New buffer */ + + if (sspi->decryptBufferLength >= 262144) + { + WSASetLastError(E_OUTOFMEMORY); + DEBUG_puts("5http_sspi_client: Decryption buffer too large (>256k)"); + return (-1); + } + + if ((temp = realloc(sspi->decryptBuffer, sspi->decryptBufferLength + 4096)) == NULL) + { + DEBUG_printf(("5http_sspi_client: Unable to allocate %d byte buffer.", sspi->decryptBufferLength + 4096)); + WSASetLastError(E_OUTOFMEMORY); + return (-1); + } + + sspi->decryptBufferLength += 4096; + sspi->decryptBuffer = temp; + } + + cbData = recv(http->fd, sspi->decryptBuffer + sspi->decryptBufferUsed, (int)(sspi->decryptBufferLength - sspi->decryptBufferUsed), 0); + + if (cbData < 0) + { + DEBUG_printf(("5http_sspi_client: recv failed: %d", WSAGetLastError())); + return (-1); + } + else if (cbData == 0) + { + DEBUG_printf(("5http_sspi_client: Server unexpectedly disconnected.")); + return (-1); + } + + DEBUG_printf(("5http_sspi_client: %d bytes of handshake data received", cbData)); + + sspi->decryptBufferUsed += cbData; + } + + /* + * Set up the input buffers. Buffer 0 is used to pass in data received from + * the server. Schannel will consume some or all of this. Leftover data + * (if any) will be placed in buffer 1 and given a buffer type of + * SECBUFFER_EXTRA. + */ + + inBuffers[0].pvBuffer = sspi->decryptBuffer; + inBuffers[0].cbBuffer = (unsigned long)sspi->decryptBufferUsed; + inBuffers[0].BufferType = SECBUFFER_TOKEN; + + inBuffers[1].pvBuffer = NULL; + inBuffers[1].cbBuffer = 0; + inBuffers[1].BufferType = SECBUFFER_EMPTY; + + inBuffer.cBuffers = 2; + inBuffer.pBuffers = inBuffers; + inBuffer.ulVersion = SECBUFFER_VERSION; + + /* + * Set up the output buffers. These are initialized to NULL so as to make it + * less likely we'll attempt to free random garbage later. + */ + + outBuffers[0].pvBuffer = NULL; + outBuffers[0].BufferType = SECBUFFER_TOKEN; + outBuffers[0].cbBuffer = 0; + + outBuffer.cBuffers = 1; + outBuffer.pBuffers = outBuffers; + outBuffer.ulVersion = SECBUFFER_VERSION; + + /* + * Call InitializeSecurityContext. + */ + + scRet = InitializeSecurityContext(&sspi->creds, &sspi->context, NULL, dwSSPIFlags, 0, SECURITY_NATIVE_DREP, &inBuffer, 0, NULL, &outBuffer, &dwSSPIOutFlags, &tsExpiry); + + /* + * If InitializeSecurityContext was successful (or if the error was one of + * the special extended ones), send the contents of the output buffer to the + * server. + */ + + if (scRet == SEC_E_OK || + scRet == SEC_I_CONTINUE_NEEDED || + FAILED(scRet) && (dwSSPIOutFlags & ISC_RET_EXTENDED_ERROR)) + { + if (outBuffers[0].cbBuffer && outBuffers[0].pvBuffer) + { + cbData = send(http->fd, outBuffers[0].pvBuffer, outBuffers[0].cbBuffer, 0); + + if (cbData <= 0) + { + DEBUG_printf(("5http_sspi_client: send failed: %d", WSAGetLastError())); + FreeContextBuffer(outBuffers[0].pvBuffer); + DeleteSecurityContext(&sspi->context); + return (-1); + } + + DEBUG_printf(("5http_sspi_client: %d bytes of handshake data sent.", cbData)); + + /* + * Free output buffer. + */ + + FreeContextBuffer(outBuffers[0].pvBuffer); + outBuffers[0].pvBuffer = NULL; + } + } + + /* + * If InitializeSecurityContext returned SEC_E_INCOMPLETE_MESSAGE, then we + * need to read more data from the server and try again. + */ + + if (scRet == SEC_E_INCOMPLETE_MESSAGE) + continue; + + /* + * If InitializeSecurityContext returned SEC_E_OK, then the handshake + * completed successfully. + */ + + if (scRet == SEC_E_OK) + { + /* + * If the "extra" buffer contains data, this is encrypted application + * protocol layer stuff. It needs to be saved. The application layer will + * later decrypt it with DecryptMessage. + */ + + DEBUG_puts("5http_sspi_client: Handshake was successful."); + + if (inBuffers[1].BufferType == SECBUFFER_EXTRA) + { + memmove(sspi->decryptBuffer, sspi->decryptBuffer + sspi->decryptBufferUsed - inBuffers[1].cbBuffer, inBuffers[1].cbBuffer); + + sspi->decryptBufferUsed = inBuffers[1].cbBuffer; + + DEBUG_printf(("5http_sspi_client: %d bytes of app data was bundled with handshake data", sspi->decryptBufferUsed)); + } + else + sspi->decryptBufferUsed = 0; + + /* + * Bail out to quit + */ + + break; + } + + /* + * Check for fatal error. + */ + + if (FAILED(scRet)) + { + DEBUG_printf(("5http_sspi_client: InitializeSecurityContext(2) failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), scRet))); + ret = -1; + break; + } + + /* + * If InitializeSecurityContext returned SEC_I_INCOMPLETE_CREDENTIALS, + * then the server just requested client authentication. + */ + + if (scRet == SEC_I_INCOMPLETE_CREDENTIALS) + { + /* + * Unimplemented + */ + + DEBUG_printf(("5http_sspi_client: server requested client credentials.")); + ret = -1; + break; + } + + /* + * Copy any leftover data from the "extra" buffer, and go around again. + */ + + if (inBuffers[1].BufferType == SECBUFFER_EXTRA) + { + memmove(sspi->decryptBuffer, sspi->decryptBuffer + sspi->decryptBufferUsed - inBuffers[1].cbBuffer, inBuffers[1].cbBuffer); + + sspi->decryptBufferUsed = inBuffers[1].cbBuffer; + } + else + { + sspi->decryptBufferUsed = 0; + } + } + + if (!ret) + { + /* + * Success! Get the server cert + */ + + sspi->contextInitialized = TRUE; + + scRet = QueryContextAttributes(&sspi->context, SECPKG_ATTR_REMOTE_CERT_CONTEXT, (VOID *)&(sspi->remoteCert)); + + if (scRet != SEC_E_OK) + { + DEBUG_printf(("5http_sspi_client: QueryContextAttributes failed(SECPKG_ATTR_REMOTE_CERT_CONTEXT): %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), scRet))); + return (-1); + } + + /* + * Find out how big the header/trailer will be: + */ + + scRet = QueryContextAttributes(&sspi->context, SECPKG_ATTR_STREAM_SIZES, &sspi->streamSizes); + + if (scRet != SEC_E_OK) + { + DEBUG_printf(("5http_sspi_client: QueryContextAttributes failed(SECPKG_ATTR_STREAM_SIZES): %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), scRet))); + ret = -1; + } + } + + return (ret); +} + + +/* + * 'http_sspi_create_credential()' - Create an SSPI certificate context. + */ + +static PCCERT_CONTEXT /* O - Certificate context */ +http_sspi_create_credential( + http_credential_t *cred) /* I - Credential */ +{ + if (cred) + return (CertCreateCertificateContext(X509_ASN_ENCODING, cred->data, cred->datalen)); + else + return (NULL); +} + + +/* + * 'http_sspi_find_credentials()' - Retrieve a TLS certificate from the system store. + */ + +static BOOL /* O - 1 on success, 0 on failure */ +http_sspi_find_credentials( + http_t *http, /* I - HTTP connection */ + const LPWSTR container, /* I - Cert container name */ + const char *common_name) /* I - Common name of certificate */ +{ + _http_sspi_t *sspi = http->tls; /* SSPI data */ + HCERTSTORE store = NULL; /* Certificate store */ + PCCERT_CONTEXT storedContext = NULL; /* Context created from the store */ + DWORD dwSize = 0; /* 32 bit size */ + PBYTE p = NULL; /* Temporary storage */ + HCRYPTPROV hProv = (HCRYPTPROV)NULL; + /* Handle to a CSP */ + CERT_NAME_BLOB sib; /* Arbitrary array of bytes */ + SCHANNEL_CRED SchannelCred; /* Schannel credential data */ + TimeStamp tsExpiry; /* Time stamp */ + SECURITY_STATUS Status; /* Status */ + BOOL ok = TRUE; /* Return value */ + + + if (!CryptAcquireContextW(&hProv, (LPWSTR)container, MS_DEF_PROV_W, PROV_RSA_FULL, CRYPT_NEWKEYSET | CRYPT_MACHINE_KEYSET)) + { + if (GetLastError() == NTE_EXISTS) + { + if (!CryptAcquireContextW(&hProv, (LPWSTR)container, MS_DEF_PROV_W, PROV_RSA_FULL, CRYPT_MACHINE_KEYSET)) + { + DEBUG_printf(("5http_sspi_find_credentials: CryptAcquireContext failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), GetLastError()))); + ok = FALSE; + goto cleanup; + } + } + } + + store = CertOpenStore(CERT_STORE_PROV_SYSTEM, X509_ASN_ENCODING|PKCS_7_ASN_ENCODING, hProv, CERT_SYSTEM_STORE_LOCAL_MACHINE | CERT_STORE_NO_CRYPT_RELEASE_FLAG | CERT_STORE_OPEN_EXISTING_FLAG, L"MY"); + + if (!store) + { + DEBUG_printf(("5http_sspi_find_credentials: CertOpenSystemStore failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), GetLastError()))); + ok = FALSE; + goto cleanup; + } + + dwSize = 0; + + if (!CertStrToNameA(X509_ASN_ENCODING, common_name, CERT_OID_NAME_STR, NULL, NULL, &dwSize, NULL)) + { + DEBUG_printf(("5http_sspi_find_credentials: CertStrToName failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), GetLastError()))); + ok = FALSE; + goto cleanup; + } + + p = (PBYTE)malloc(dwSize); + + if (!p) + { + DEBUG_printf(("5http_sspi_find_credentials: malloc failed for %d bytes.", dwSize)); + ok = FALSE; + goto cleanup; + } + + if (!CertStrToNameA(X509_ASN_ENCODING, common_name, CERT_OID_NAME_STR, NULL, p, &dwSize, NULL)) + { + DEBUG_printf(("5http_sspi_find_credentials: CertStrToName failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), GetLastError()))); + ok = FALSE; + goto cleanup; + } + + sib.cbData = dwSize; + sib.pbData = p; + + storedContext = CertFindCertificateInStore(store, X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 0, CERT_FIND_SUBJECT_NAME, &sib, NULL); + + if (!storedContext) + { + DEBUG_printf(("5http_sspi_find_credentials: Unable to find credentials for \"%s\".", common_name)); + ok = FALSE; + goto cleanup; + } + + ZeroMemory(&SchannelCred, sizeof(SchannelCred)); + + SchannelCred.dwVersion = SCHANNEL_CRED_VERSION; + SchannelCred.cCreds = 1; + SchannelCred.paCred = &storedContext; + + /* + * Set supported protocols (can also be overriden in the registry...) + */ + +#ifdef SP_PROT_TLS1_2_SERVER + if (http->mode == _HTTP_MODE_SERVER) + { + if (tls_min_version > _HTTP_TLS_1_1) + SchannelCred.grbitEnabledProtocols = SP_PROT_TLS1_2_SERVER; + else if (tls_min_version > _HTTP_TLS_1_0) + SchannelCred.grbitEnabledProtocols = SP_PROT_TLS1_2_SERVER | SP_PROT_TLS1_1_SERVER; + else if (tls_min_version == _HTTP_TLS_SSL3) + SchannelCred.grbitEnabledProtocols = SP_PROT_TLS1_2_SERVER | SP_PROT_TLS1_1_SERVER | SP_PROT_TLS1_0_SERVER | SP_PROT_SSL3_SERVER; + else + SchannelCred.grbitEnabledProtocols = SP_PROT_TLS1_2_SERVER | SP_PROT_TLS1_1_SERVER | SP_PROT_TLS1_0_SERVER; + } + else + { + if (tls_min_version > _HTTP_TLS_1_1) + SchannelCred.grbitEnabledProtocols = SP_PROT_TLS1_2_CLIENT; + else if (tls_min_version > _HTTP_TLS_1_0) + SchannelCred.grbitEnabledProtocols = SP_PROT_TLS1_2_CLIENT | SP_PROT_TLS1_1_CLIENT; + else if (tls_min_version == _HTTP_TLS_SSL3) + SchannelCred.grbitEnabledProtocols = SP_PROT_TLS1_2_CLIENT | SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_0_CLIENT | SP_PROT_SSL3_CLIENT; + else + SchannelCred.grbitEnabledProtocols = SP_PROT_TLS1_2_CLIENT | SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_0_CLIENT; + } + +#else + if (http->mode == _HTTP_MODE_SERVER) + { + if (tls_min_version == _HTTP_TLS_SSL3) + SchannelCred.grbitEnabledProtocols = SP_PROT_TLS1_SERVER | SP_PROT_SSL3_SERVER; + else + SchannelCred.grbitEnabledProtocols = SP_PROT_TLS1_SERVER; + } + else + { + if (tls_min_version == _HTTP_TLS_SSL3) + SchannelCred.grbitEnabledProtocols = SP_PROT_TLS1_CLIENT | SP_PROT_SSL3_CLIENT; + else + SchannelCred.grbitEnabledProtocols = SP_PROT_TLS1_CLIENT; + } +#endif /* SP_PROT_TLS1_2_SERVER */ + + /* TODO: Support _HTTP_TLS_ALLOW_RC4, _HTTP_TLS_ALLOW_DH, and _HTTP_TLS_DENY_CBC options; right now we'll rely on Windows registry to enable/disable RC4/DH/CBC... */ + + /* + * Create an SSPI credential. + */ + + Status = AcquireCredentialsHandle(NULL, UNISP_NAME, http->mode == _HTTP_MODE_SERVER ? SECPKG_CRED_INBOUND : SECPKG_CRED_OUTBOUND, NULL, &SchannelCred, NULL, NULL, &sspi->creds, &tsExpiry); + if (Status != SEC_E_OK) + { + DEBUG_printf(("5http_sspi_find_credentials: AcquireCredentialsHandle failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), Status))); + ok = FALSE; + goto cleanup; + } + +cleanup: + + /* + * Cleanup + */ + + if (storedContext) + CertFreeCertificateContext(storedContext); + + if (p) + free(p); + + if (store) + CertCloseStore(store, 0); + + if (hProv) + CryptReleaseContext(hProv, 0); + + return (ok); +} + + +/* + * 'http_sspi_free()' - Close a connection and free resources. + */ + +static void +http_sspi_free(_http_sspi_t *sspi) /* I - SSPI data */ +{ + if (!sspi) + return; + + if (sspi->contextInitialized) + DeleteSecurityContext(&sspi->context); + + if (sspi->decryptBuffer) + free(sspi->decryptBuffer); + + if (sspi->readBuffer) + free(sspi->readBuffer); + + if (sspi->writeBuffer) + free(sspi->writeBuffer); + + if (sspi->localCert) + CertFreeCertificateContext(sspi->localCert); + + if (sspi->remoteCert) + CertFreeCertificateContext(sspi->remoteCert); + + free(sspi); +} + + +/* + * 'http_sspi_make_credentials()' - Create a TLS certificate in the system store. + */ + +static BOOL /* O - 1 on success, 0 on failure */ +http_sspi_make_credentials( + _http_sspi_t *sspi, /* I - SSPI data */ + const LPWSTR container, /* I - Cert container name */ + const char *common_name, /* I - Common name of certificate */ + _http_mode_t mode, /* I - Client or server? */ + int years) /* I - Years until expiration */ +{ + HCERTSTORE store = NULL; /* Certificate store */ + PCCERT_CONTEXT storedContext = NULL; /* Context created from the store */ + PCCERT_CONTEXT createdContext = NULL; /* Context created by us */ + DWORD dwSize = 0; /* 32 bit size */ + PBYTE p = NULL; /* Temporary storage */ + HCRYPTPROV hProv = (HCRYPTPROV)NULL; + /* Handle to a CSP */ + CERT_NAME_BLOB sib; /* Arbitrary array of bytes */ + SCHANNEL_CRED SchannelCred; /* Schannel credential data */ + TimeStamp tsExpiry; /* Time stamp */ + SECURITY_STATUS Status; /* Status */ + HCRYPTKEY hKey = (HCRYPTKEY)NULL; /* Handle to crypto key */ + CRYPT_KEY_PROV_INFO kpi; /* Key container info */ + SYSTEMTIME et; /* System time */ + CERT_EXTENSIONS exts; /* Array of cert extensions */ + CRYPT_KEY_PROV_INFO ckp; /* Handle to crypto key */ + BOOL ok = TRUE; /* Return value */ + + + DEBUG_printf(("4http_sspi_make_credentials(sspi=%p, container=%p, common_name=\"%s\", mode=%d, years=%d)", sspi, container, common_name, mode, years)); + + if (!CryptAcquireContextW(&hProv, (LPWSTR)container, MS_DEF_PROV_W, PROV_RSA_FULL, CRYPT_NEWKEYSET | CRYPT_MACHINE_KEYSET)) + { + if (GetLastError() == NTE_EXISTS) + { + if (!CryptAcquireContextW(&hProv, (LPWSTR)container, MS_DEF_PROV_W, PROV_RSA_FULL, CRYPT_MACHINE_KEYSET)) + { + DEBUG_printf(("5http_sspi_make_credentials: CryptAcquireContext failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), GetLastError()))); + ok = FALSE; + goto cleanup; + } + } + } + + store = CertOpenStore(CERT_STORE_PROV_SYSTEM, X509_ASN_ENCODING|PKCS_7_ASN_ENCODING, hProv, CERT_SYSTEM_STORE_LOCAL_MACHINE | CERT_STORE_NO_CRYPT_RELEASE_FLAG | CERT_STORE_OPEN_EXISTING_FLAG, L"MY"); + + if (!store) + { + DEBUG_printf(("5http_sspi_make_credentials: CertOpenSystemStore failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), GetLastError()))); + ok = FALSE; + goto cleanup; + } + + dwSize = 0; + + if (!CertStrToNameA(X509_ASN_ENCODING, common_name, CERT_OID_NAME_STR, NULL, NULL, &dwSize, NULL)) + { + DEBUG_printf(("5http_sspi_make_credentials: CertStrToName failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), GetLastError()))); + ok = FALSE; + goto cleanup; + } + + p = (PBYTE)malloc(dwSize); + + if (!p) + { + DEBUG_printf(("5http_sspi_make_credentials: malloc failed for %d bytes", dwSize)); + ok = FALSE; + goto cleanup; + } + + if (!CertStrToNameA(X509_ASN_ENCODING, common_name, CERT_OID_NAME_STR, NULL, p, &dwSize, NULL)) + { + DEBUG_printf(("5http_sspi_make_credentials: CertStrToName failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), GetLastError()))); + ok = FALSE; + goto cleanup; + } + + /* + * Create a private key and self-signed certificate... + */ + + if (!CryptGenKey(hProv, AT_KEYEXCHANGE, CRYPT_EXPORTABLE, &hKey)) + { + DEBUG_printf(("5http_sspi_make_credentials: CryptGenKey failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), GetLastError()))); + ok = FALSE; + goto cleanup; + } + + ZeroMemory(&kpi, sizeof(kpi)); + kpi.pwszContainerName = (LPWSTR)container; + kpi.pwszProvName = MS_DEF_PROV_W; + kpi.dwProvType = PROV_RSA_FULL; + kpi.dwFlags = CERT_SET_KEY_CONTEXT_PROP_ID; + kpi.dwKeySpec = AT_KEYEXCHANGE; + + GetSystemTime(&et); + et.wYear += years; + if (et.wMonth == 2 && et.wDay == 29) + et.wDay = 28; /* Avoid Feb 29th due to leap years */ + + ZeroMemory(&exts, sizeof(exts)); + + createdContext = CertCreateSelfSignCertificate(hProv, &sib, 0, &kpi, NULL, NULL, &et, &exts); + + if (!createdContext) + { + DEBUG_printf(("5http_sspi_make_credentials: CertCreateSelfSignCertificate failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), GetLastError()))); + ok = FALSE; + goto cleanup; + } + + /* + * Add the created context to the named store, and associate it with the named + * container... + */ + + if (!CertAddCertificateContextToStore(store, createdContext, CERT_STORE_ADD_REPLACE_EXISTING, &storedContext)) + { + DEBUG_printf(("5http_sspi_make_credentials: CertAddCertificateContextToStore failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), GetLastError()))); + ok = FALSE; + goto cleanup; + } + + ZeroMemory(&ckp, sizeof(ckp)); + ckp.pwszContainerName = (LPWSTR) container; + ckp.pwszProvName = MS_DEF_PROV_W; + ckp.dwProvType = PROV_RSA_FULL; + ckp.dwFlags = CRYPT_MACHINE_KEYSET; + ckp.dwKeySpec = AT_KEYEXCHANGE; + + if (!CertSetCertificateContextProperty(storedContext, CERT_KEY_PROV_INFO_PROP_ID, 0, &ckp)) + { + DEBUG_printf(("5http_sspi_make_credentials: CertSetCertificateContextProperty failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), GetLastError()))); + ok = FALSE; + goto cleanup; + } + + /* + * Get a handle to use the certificate... + */ + + ZeroMemory(&SchannelCred, sizeof(SchannelCred)); + + SchannelCred.dwVersion = SCHANNEL_CRED_VERSION; + SchannelCred.cCreds = 1; + SchannelCred.paCred = &storedContext; + + /* + * SSPI doesn't seem to like it if grbitEnabledProtocols is set for a client. + */ + + if (mode == _HTTP_MODE_SERVER) + SchannelCred.grbitEnabledProtocols = SP_PROT_SSL3TLS1; + + /* + * Create an SSPI credential. + */ + + Status = AcquireCredentialsHandle(NULL, UNISP_NAME, mode == _HTTP_MODE_SERVER ? SECPKG_CRED_INBOUND : SECPKG_CRED_OUTBOUND, NULL, &SchannelCred, NULL, NULL, &sspi->creds, &tsExpiry); + if (Status != SEC_E_OK) + { + DEBUG_printf(("5http_sspi_make_credentials: AcquireCredentialsHandle failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), Status))); + ok = FALSE; + goto cleanup; + } + +cleanup: + + /* + * Cleanup + */ + + if (hKey) + CryptDestroyKey(hKey); + + if (createdContext) + CertFreeCertificateContext(createdContext); + + if (storedContext) + CertFreeCertificateContext(storedContext); + + if (p) + free(p); + + if (store) + CertCloseStore(store, 0); + + if (hProv) + CryptReleaseContext(hProv, 0); + + return (ok); +} + + +/* + * 'http_sspi_server()' - Negotiate a TLS connection as a server. + */ + +static int /* O - 0 on success, -1 on failure */ +http_sspi_server(http_t *http, /* I - HTTP connection */ + const char *hostname) /* I - Hostname of server */ +{ + _http_sspi_t *sspi = http->tls; /* I - SSPI data */ + char common_name[512]; /* Common name for cert */ + DWORD dwSSPIFlags; /* SSL connection attributes we want */ + DWORD dwSSPIOutFlags; /* SSL connection attributes we got */ + TimeStamp tsExpiry; /* Time stamp */ + SECURITY_STATUS scRet; /* SSPI Status */ + SecBufferDesc inBuffer; /* Array of SecBuffer structs */ + SecBuffer inBuffers[2]; /* Security package buffer */ + SecBufferDesc outBuffer; /* Array of SecBuffer structs */ + SecBuffer outBuffers[1]; /* Security package buffer */ + int num = 0; /* 32 bit status value */ + BOOL fInitContext = TRUE; /* Has the context been init'd? */ + int ret = 0; /* Return value */ + + + DEBUG_printf(("4http_sspi_server(http=%p, hostname=\"%s\")", http, hostname)); + + dwSSPIFlags = ASC_REQ_SEQUENCE_DETECT | + ASC_REQ_REPLAY_DETECT | + ASC_REQ_CONFIDENTIALITY | + ASC_REQ_EXTENDED_ERROR | + ASC_REQ_ALLOCATE_MEMORY | + ASC_REQ_STREAM; + + sspi->decryptBufferUsed = 0; + + /* + * Lookup the server certificate... + */ + + snprintf(common_name, sizeof(common_name), "CN=%s", hostname); + + if (!http_sspi_find_credentials(http, L"ServerContainer", common_name)) + if (!http_sspi_make_credentials(http->tls, L"ServerContainer", common_name, _HTTP_MODE_SERVER, 10)) + { + DEBUG_puts("5http_sspi_server: Unable to get server credentials."); + return (-1); + } + + /* + * Set OutBuffer for AcceptSecurityContext call + */ + + outBuffer.cBuffers = 1; + outBuffer.pBuffers = outBuffers; + outBuffer.ulVersion = SECBUFFER_VERSION; + + scRet = SEC_I_CONTINUE_NEEDED; + + while (scRet == SEC_I_CONTINUE_NEEDED || + scRet == SEC_E_INCOMPLETE_MESSAGE || + scRet == SEC_I_INCOMPLETE_CREDENTIALS) + { + if (sspi->decryptBufferUsed == 0 || scRet == SEC_E_INCOMPLETE_MESSAGE) + { + if (sspi->decryptBufferLength <= sspi->decryptBufferUsed) + { + BYTE *temp; /* New buffer */ + + if (sspi->decryptBufferLength >= 262144) + { + WSASetLastError(E_OUTOFMEMORY); + DEBUG_puts("5http_sspi_server: Decryption buffer too large (>256k)"); + return (-1); + } + + if ((temp = realloc(sspi->decryptBuffer, sspi->decryptBufferLength + 4096)) == NULL) + { + DEBUG_printf(("5http_sspi_server: Unable to allocate %d byte buffer.", sspi->decryptBufferLength + 4096)); + WSASetLastError(E_OUTOFMEMORY); + return (-1); + } + + sspi->decryptBufferLength += 4096; + sspi->decryptBuffer = temp; + } + + for (;;) + { + num = recv(http->fd, sspi->decryptBuffer + sspi->decryptBufferUsed, (int)(sspi->decryptBufferLength - sspi->decryptBufferUsed), 0); + + if (num == -1 && WSAGetLastError() == WSAEWOULDBLOCK) + Sleep(1); + else + break; + } + + if (num < 0) + { + DEBUG_printf(("5http_sspi_server: recv failed: %d", WSAGetLastError())); + return (-1); + } + else if (num == 0) + { + DEBUG_puts("5http_sspi_server: client disconnected"); + return (-1); + } + + DEBUG_printf(("5http_sspi_server: received %d (handshake) bytes from client.", num)); + sspi->decryptBufferUsed += num; + } + + /* + * InBuffers[1] is for getting extra data that SSPI/SCHANNEL doesn't process + * on this run around the loop. + */ + + inBuffers[0].pvBuffer = sspi->decryptBuffer; + inBuffers[0].cbBuffer = (unsigned long)sspi->decryptBufferUsed; + inBuffers[0].BufferType = SECBUFFER_TOKEN; + + inBuffers[1].pvBuffer = NULL; + inBuffers[1].cbBuffer = 0; + inBuffers[1].BufferType = SECBUFFER_EMPTY; + + inBuffer.cBuffers = 2; + inBuffer.pBuffers = inBuffers; + inBuffer.ulVersion = SECBUFFER_VERSION; + + /* + * Initialize these so if we fail, pvBuffer contains NULL, so we don't try to + * free random garbage at the quit. + */ + + outBuffers[0].pvBuffer = NULL; + outBuffers[0].BufferType = SECBUFFER_TOKEN; + outBuffers[0].cbBuffer = 0; + + scRet = AcceptSecurityContext(&sspi->creds, (fInitContext?NULL:&sspi->context), &inBuffer, dwSSPIFlags, SECURITY_NATIVE_DREP, (fInitContext?&sspi->context:NULL), &outBuffer, &dwSSPIOutFlags, &tsExpiry); + + fInitContext = FALSE; + + if (scRet == SEC_E_OK || + scRet == SEC_I_CONTINUE_NEEDED || + (FAILED(scRet) && ((dwSSPIOutFlags & ISC_RET_EXTENDED_ERROR) != 0))) + { + if (outBuffers[0].cbBuffer && outBuffers[0].pvBuffer) + { + /* + * Send response to server if there is one. + */ + + num = send(http->fd, outBuffers[0].pvBuffer, outBuffers[0].cbBuffer, 0); + + if (num <= 0) + { + DEBUG_printf(("5http_sspi_server: handshake send failed: %d", WSAGetLastError())); + return (-1); + } + + DEBUG_printf(("5http_sspi_server: sent %d handshake bytes to client.", outBuffers[0].cbBuffer)); + + FreeContextBuffer(outBuffers[0].pvBuffer); + outBuffers[0].pvBuffer = NULL; + } + } + + if (scRet == SEC_E_OK) + { + /* + * If there's extra data then save it for next time we go to decrypt. + */ + + if (inBuffers[1].BufferType == SECBUFFER_EXTRA) + { + memcpy(sspi->decryptBuffer, (LPBYTE)(sspi->decryptBuffer + sspi->decryptBufferUsed - inBuffers[1].cbBuffer), inBuffers[1].cbBuffer); + sspi->decryptBufferUsed = inBuffers[1].cbBuffer; + } + else + { + sspi->decryptBufferUsed = 0; + } + break; + } + else if (FAILED(scRet) && scRet != SEC_E_INCOMPLETE_MESSAGE) + { + DEBUG_printf(("5http_sspi_server: AcceptSecurityContext failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), scRet))); + ret = -1; + break; + } + + if (scRet != SEC_E_INCOMPLETE_MESSAGE && + scRet != SEC_I_INCOMPLETE_CREDENTIALS) + { + if (inBuffers[1].BufferType == SECBUFFER_EXTRA) + { + memcpy(sspi->decryptBuffer, (LPBYTE)(sspi->decryptBuffer + sspi->decryptBufferUsed - inBuffers[1].cbBuffer), inBuffers[1].cbBuffer); + sspi->decryptBufferUsed = inBuffers[1].cbBuffer; + } + else + { + sspi->decryptBufferUsed = 0; + } + } + } + + if (!ret) + { + sspi->contextInitialized = TRUE; + + /* + * Find out how big the header will be: + */ + + scRet = QueryContextAttributes(&sspi->context, SECPKG_ATTR_STREAM_SIZES, &sspi->streamSizes); + + if (scRet != SEC_E_OK) + { + DEBUG_printf(("5http_sspi_server: QueryContextAttributes failed: %s", http_sspi_strerror(sspi->error, sizeof(sspi->error), scRet))); + ret = -1; + } + } + + return (ret); +} + + +/* + * 'http_sspi_strerror()' - Return a string for the specified error code. + */ + +static const char * /* O - String for error */ +http_sspi_strerror(char *buffer, /* I - Error message buffer */ + size_t bufsize, /* I - Size of buffer */ + DWORD code) /* I - Error code */ +{ + if (FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM, NULL, code, 0, buffer, bufsize, NULL)) + { + /* + * Strip trailing CR + LF... + */ + + char *ptr; /* Pointer into error message */ + + for (ptr = buffer + strlen(buffer) - 1; ptr >= buffer; ptr --) + if (*ptr == '\n' || *ptr == '\r') + *ptr = '\0'; + else + break; + } + else + snprintf(buffer, bufsize, "Unknown error %x", code); + + return (buffer); +} + + +/* + * 'http_sspi_verify()' - Verify a certificate. + */ + +static DWORD /* O - Error code (0 == No error) */ +http_sspi_verify( + PCCERT_CONTEXT cert, /* I - Server certificate */ + const char *common_name, /* I - Common name */ + DWORD dwCertFlags) /* I - Verification flags */ +{ + HTTPSPolicyCallbackData httpsPolicy; /* HTTPS Policy Struct */ + CERT_CHAIN_POLICY_PARA policyPara; /* Cert chain policy parameters */ + CERT_CHAIN_POLICY_STATUS policyStatus;/* Cert chain policy status */ + CERT_CHAIN_PARA chainPara; /* Used for searching and matching criteria */ + PCCERT_CHAIN_CONTEXT chainContext = NULL; + /* Certificate chain */ + PWSTR commonNameUnicode = NULL; + /* Unicode common name */ + LPSTR rgszUsages[] = { szOID_PKIX_KP_SERVER_AUTH, + szOID_SERVER_GATED_CRYPTO, + szOID_SGC_NETSCAPE }; + /* How are we using this certificate? */ + DWORD cUsages = sizeof(rgszUsages) / sizeof(LPSTR); + /* Number of ites in rgszUsages */ + DWORD count; /* 32 bit count variable */ + DWORD status; /* Return value */ +#ifdef DEBUG + char error[1024]; /* Error message string */ +#endif /* DEBUG */ + + + if (!cert) + return (SEC_E_WRONG_PRINCIPAL); + + /* + * Convert common name to Unicode. + */ + + if (!common_name || !*common_name) + return (SEC_E_WRONG_PRINCIPAL); + + count = MultiByteToWideChar(CP_ACP, 0, common_name, -1, NULL, 0); + commonNameUnicode = LocalAlloc(LMEM_FIXED, count * sizeof(WCHAR)); + if (!commonNameUnicode) + return (SEC_E_INSUFFICIENT_MEMORY); + + if (!MultiByteToWideChar(CP_ACP, 0, common_name, -1, commonNameUnicode, count)) + { + LocalFree(commonNameUnicode); + return (SEC_E_WRONG_PRINCIPAL); + } + + /* + * Build certificate chain. + */ + + ZeroMemory(&chainPara, sizeof(chainPara)); + + chainPara.cbSize = sizeof(chainPara); + chainPara.RequestedUsage.dwType = USAGE_MATCH_TYPE_OR; + chainPara.RequestedUsage.Usage.cUsageIdentifier = cUsages; + chainPara.RequestedUsage.Usage.rgpszUsageIdentifier = rgszUsages; + + if (!CertGetCertificateChain(NULL, cert, NULL, cert->hCertStore, &chainPara, 0, NULL, &chainContext)) + { + status = GetLastError(); + + DEBUG_printf(("CertGetCertificateChain returned: %s", http_sspi_strerror(error, sizeof(error), status))); + + LocalFree(commonNameUnicode); + return (status); + } + + /* + * Validate certificate chain. + */ + + ZeroMemory(&httpsPolicy, sizeof(HTTPSPolicyCallbackData)); + httpsPolicy.cbStruct = sizeof(HTTPSPolicyCallbackData); + httpsPolicy.dwAuthType = AUTHTYPE_SERVER; + httpsPolicy.fdwChecks = dwCertFlags; + httpsPolicy.pwszServerName = commonNameUnicode; + + memset(&policyPara, 0, sizeof(policyPara)); + policyPara.cbSize = sizeof(policyPara); + policyPara.pvExtraPolicyPara = &httpsPolicy; + + memset(&policyStatus, 0, sizeof(policyStatus)); + policyStatus.cbSize = sizeof(policyStatus); + + if (!CertVerifyCertificateChainPolicy(CERT_CHAIN_POLICY_SSL, chainContext, &policyPara, &policyStatus)) + { + status = GetLastError(); + + DEBUG_printf(("CertVerifyCertificateChainPolicy returned %s", http_sspi_strerror(error, sizeof(error), status))); + } + else if (policyStatus.dwError) + status = policyStatus.dwError; + else + status = SEC_E_OK; + + if (chainContext) + CertFreeCertificateChain(chainContext); + + if (commonNameUnicode) + LocalFree(commonNameUnicode); + + return (status); +} diff --git a/cups/tls.c b/cups/tls.c new file mode 100644 index 0000000..5caa84d --- /dev/null +++ b/cups/tls.c @@ -0,0 +1,100 @@ +/* + * TLS routines for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * This file contains Kerberos support code, copyright 2006 by + * Jelmer Vernooij. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include +#include +#ifdef _WIN32 +# include +#else +# include +# include +# include +#endif /* _WIN32 */ +#ifdef HAVE_POLL +# include +#endif /* HAVE_POLL */ + + +/* + * Include platform-specific TLS code... + */ + +#ifdef HAVE_SSL +# ifdef HAVE_GNUTLS +# include "tls-gnutls.c" +# elif defined(HAVE_CDSASSL) +# include "tls-darwin.c" +# elif defined(HAVE_SSPISSL) +# include "tls-sspi.c" +# endif /* HAVE_GNUTLS */ +#else +/* Stubs for when TLS is not supported/available */ +int +httpCopyCredentials(http_t *http, cups_array_t **credentials) +{ + (void)http; + if (credentials) + *credentials = NULL; + return (-1); +} +int +httpCredentialsAreValidForName(cups_array_t *credentials, const char *common_name) +{ + (void)credentials; + (void)common_name; + return (1); +} +time_t +httpCredentialsGetExpiration(cups_array_t *credentials) +{ + (void)credentials; + return (INT_MAX); +} +http_trust_t +httpCredentialsGetTrust(cups_array_t *credentials, const char *common_name) +{ + (void)credentials; + (void)common_name; + return (HTTP_TRUST_OK); +} +size_t +httpCredentialsString(cups_array_t *credentials, char *buffer, size_t bufsize) +{ + (void)credentials; + (void)bufsize; + if (buffer) + *buffer = '\0'; + return (0); +} +int +httpLoadCredentials(const char *path, cups_array_t **credentials, const char *common_name) +{ + (void)path; + (void)credentials; + (void)common_name; + return (-1); +} +int +httpSaveCredentials(const char *path, cups_array_t *credentials, const char *common_name) +{ + (void)path; + (void)credentials; + (void)common_name; + return (-1); +} +#endif /* HAVE_SSL */ diff --git a/cups/tlscheck.c b/cups/tlscheck.c new file mode 100644 index 0000000..c88e7d0 --- /dev/null +++ b/cups/tlscheck.c @@ -0,0 +1,783 @@ +/* + * TLS check program for CUPS. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" + + +#ifndef HAVE_SSL +int main(void) { puts("Sorry, no TLS support compiled in."); return (1); } +#else + +/* + * Local functions... + */ + +static void usage(void); + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + http_t *http; /* HTTP connection */ + const char *server = NULL; /* Hostname from command-line */ + int port = 0; /* Port number */ + cups_array_t *creds; /* Server credentials */ + char creds_str[2048]; /* Credentials string */ + const char *cipherName = "UNKNOWN";/* Cipher suite name */ + int dhBits = 0; /* Diffie-Hellman bits */ + int tlsVersion = 0; /* TLS version number */ + char uri[1024], /* Printer URI */ + scheme[32], /* URI scheme */ + host[256], /* Hostname */ + userpass[256], /* Username/password */ + resource[256]; /* Resource path */ + int af = AF_UNSPEC, /* Address family */ + tls_options = _HTTP_TLS_NONE, + /* TLS options */ + tls_min_version = _HTTP_TLS_1_0, + tls_max_version = _HTTP_TLS_MAX, + verbose = 0; /* Verbosity */ + ipp_t *request, /* IPP Get-Printer-Attributes request */ + *response; /* IPP Get-Printer-Attributes response */ + ipp_attribute_t *attr; /* Current attribute */ + const char *name; /* Attribute name */ + char value[1024]; /* Attribute (string) value */ + static const char * const pattrs[] = /* Requested attributes */ + { + "color-supported", + "compression-supported", + "document-format-supported", + "pages-per-minute", + "printer-location", + "printer-make-and-model", + "printer-state", + "printer-state-reasons", + "sides-supported", + "uri-authentication-supported", + "uri-security-supported" + }; + + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--dh")) + { + tls_options |= _HTTP_TLS_ALLOW_DH; + } + else if (!strcmp(argv[i], "--no-cbc")) + { + tls_options |= _HTTP_TLS_DENY_CBC; + } + else if (!strcmp(argv[i], "--no-tls10")) + { + tls_min_version = _HTTP_TLS_1_1; + } + else if (!strcmp(argv[i], "--tls10")) + { + tls_min_version = _HTTP_TLS_1_0; + tls_max_version = _HTTP_TLS_1_0; + } + else if (!strcmp(argv[i], "--tls11")) + { + tls_min_version = _HTTP_TLS_1_1; + tls_max_version = _HTTP_TLS_1_1; + } + else if (!strcmp(argv[i], "--tls12")) + { + tls_min_version = _HTTP_TLS_1_2; + tls_max_version = _HTTP_TLS_1_2; + } + else if (!strcmp(argv[i], "--tls13")) + { + tls_min_version = _HTTP_TLS_1_3; + tls_max_version = _HTTP_TLS_1_3; + } + else if (!strcmp(argv[i], "--rc4")) + { + tls_options |= _HTTP_TLS_ALLOW_RC4; + } + else if (!strcmp(argv[i], "--verbose") || !strcmp(argv[i], "-v")) + { + verbose = 1; + } + else if (!strcmp(argv[i], "-4")) + { + af = AF_INET; + } + else if (!strcmp(argv[i], "-6")) + { + af = AF_INET6; + } + else if (argv[i][0] == '-') + { + printf("tlscheck: Unknown option '%s'.\n", argv[i]); + usage(); + } + else if (!server) + { + if (!strncmp(argv[i], "ipps://", 7)) + { + httpSeparateURI(HTTP_URI_CODING_ALL, argv[i], scheme, sizeof(scheme), userpass, sizeof(userpass), host, sizeof(host), &port, resource, sizeof(resource)); + server = host; + } + else + { + server = argv[i]; + strlcpy(resource, "/ipp/print", sizeof(resource)); + } + } + else if (!port && (argv[i][0] == '=' || isdigit(argv[i][0] & 255))) + { + if (argv[i][0] == '=') + port = atoi(argv[i] + 1); + else + port = atoi(argv[i]); + } + else + { + printf("tlscheck: Unexpected argument '%s'.\n", argv[i]); + usage(); + } + } + + if (!server) + usage(); + + if (!port) + port = 631; + + _httpTLSSetOptions(tls_options, tls_min_version, tls_max_version); + + http = httpConnect2(server, port, NULL, af, HTTP_ENCRYPTION_ALWAYS, 1, 30000, NULL); + if (!http) + { + printf("%s: ERROR (%s)\n", server, cupsLastErrorString()); + return (1); + } + + if (httpCopyCredentials(http, &creds)) + { + strlcpy(creds_str, "Unable to get server X.509 credentials.", sizeof(creds_str)); + } + else + { + httpCredentialsString(creds, creds_str, sizeof(creds_str)); + httpFreeCredentials(creds); + } + +#ifdef __APPLE__ + SSLProtocol protocol; + SSLCipherSuite cipher; + char unknownCipherName[256]; + int paramsNeeded = 0; + const void *params; + size_t paramsLen; + OSStatus err; + + if ((err = SSLGetNegotiatedProtocolVersion(http->tls, &protocol)) != noErr) + { + printf("%s: ERROR (No protocol version - %d)\n", server, (int)err); + httpClose(http); + return (1); + } + + switch (protocol) + { + default : + tlsVersion = 0; + break; + case kSSLProtocol3 : + tlsVersion = 30; + break; + case kTLSProtocol1 : + tlsVersion = 10; + break; + case kTLSProtocol11 : + tlsVersion = 11; + break; + case kTLSProtocol12 : + tlsVersion = 12; + break; + } + + if ((err = SSLGetNegotiatedCipher(http->tls, &cipher)) != noErr) + { + printf("%s: ERROR (No cipher suite - %d)\n", server, (int)err); + httpClose(http); + return (1); + } + + switch (cipher) + { + case TLS_NULL_WITH_NULL_NULL: + cipherName = "TLS_NULL_WITH_NULL_NULL"; + break; + case TLS_RSA_WITH_NULL_MD5: + cipherName = "TLS_RSA_WITH_NULL_MD5"; + break; + case TLS_RSA_WITH_NULL_SHA: + cipherName = "TLS_RSA_WITH_NULL_SHA"; + break; + case TLS_RSA_WITH_RC4_128_MD5: + cipherName = "TLS_RSA_WITH_RC4_128_MD5"; + break; + case TLS_RSA_WITH_RC4_128_SHA: + cipherName = "TLS_RSA_WITH_RC4_128_SHA"; + break; + case TLS_RSA_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_RSA_WITH_3DES_EDE_CBC_SHA"; + break; + case TLS_RSA_WITH_NULL_SHA256: + cipherName = "TLS_RSA_WITH_NULL_SHA256"; + break; + case TLS_RSA_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_RSA_WITH_AES_128_CBC_SHA256"; + break; + case TLS_RSA_WITH_AES_256_CBC_SHA256: + cipherName = "TLS_RSA_WITH_AES_256_CBC_SHA256"; + break; + case TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DH_DSS_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_DH_DSS_WITH_AES_128_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_DH_RSA_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_DH_RSA_WITH_AES_128_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_DHE_RSA_WITH_AES_128_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_DH_DSS_WITH_AES_256_CBC_SHA256: + cipherName = "TLS_DH_DSS_WITH_AES_256_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_DH_RSA_WITH_AES_256_CBC_SHA256: + cipherName = "TLS_DH_RSA_WITH_AES_256_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: + cipherName = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: + cipherName = "TLS_DHE_RSA_WITH_AES_256_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_DH_anon_WITH_RC4_128_MD5: + cipherName = "TLS_DH_anon_WITH_RC4_128_MD5"; + paramsNeeded = 1; + break; + case TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_DH_anon_WITH_3DES_EDE_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DH_anon_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_DH_anon_WITH_AES_128_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_DH_anon_WITH_AES_256_CBC_SHA256: + cipherName = "TLS_DH_anon_WITH_AES_256_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_PSK_WITH_RC4_128_SHA: + cipherName = "TLS_PSK_WITH_RC4_128_SHA"; + break; + case TLS_PSK_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_PSK_WITH_3DES_EDE_CBC_SHA"; + break; + case TLS_PSK_WITH_AES_128_CBC_SHA: + cipherName = "TLS_PSK_WITH_AES_128_CBC_SHA"; + break; + case TLS_PSK_WITH_AES_256_CBC_SHA: + cipherName = "TLS_PSK_WITH_AES_256_CBC_SHA"; + break; + case TLS_DHE_PSK_WITH_RC4_128_SHA: + cipherName = "TLS_DHE_PSK_WITH_RC4_128_SHA"; + paramsNeeded = 1; + break; + case TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DHE_PSK_WITH_AES_128_CBC_SHA: + cipherName = "TLS_DHE_PSK_WITH_AES_128_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DHE_PSK_WITH_AES_256_CBC_SHA: + cipherName = "TLS_DHE_PSK_WITH_AES_256_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_RSA_PSK_WITH_RC4_128_SHA: + cipherName = "TLS_RSA_PSK_WITH_RC4_128_SHA"; + break; + case TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA"; + break; + case TLS_RSA_PSK_WITH_AES_128_CBC_SHA: + cipherName = "TLS_RSA_PSK_WITH_AES_128_CBC_SHA"; + break; + case TLS_RSA_PSK_WITH_AES_256_CBC_SHA: + cipherName = "TLS_RSA_PSK_WITH_AES_256_CBC_SHA"; + break; + case TLS_PSK_WITH_NULL_SHA: + cipherName = "TLS_PSK_WITH_NULL_SHA"; + break; + case TLS_DHE_PSK_WITH_NULL_SHA: + cipherName = "TLS_DHE_PSK_WITH_NULL_SHA"; + paramsNeeded = 1; + break; + case TLS_RSA_PSK_WITH_NULL_SHA: + cipherName = "TLS_RSA_PSK_WITH_NULL_SHA"; + break; + case TLS_RSA_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_RSA_WITH_AES_128_GCM_SHA256"; + break; + case TLS_RSA_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_RSA_WITH_AES_256_GCM_SHA384"; + break; + case TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"; + paramsNeeded = 1; + break; + case TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"; + paramsNeeded = 1; + break; + case TLS_DH_RSA_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_DH_RSA_WITH_AES_128_GCM_SHA256"; + paramsNeeded = 1; + break; + case TLS_DH_RSA_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_DH_RSA_WITH_AES_256_GCM_SHA384"; + paramsNeeded = 1; + break; + case TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_DHE_DSS_WITH_AES_128_GCM_SHA256"; + paramsNeeded = 1; + break; + case TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_DHE_DSS_WITH_AES_256_GCM_SHA384"; + paramsNeeded = 1; + break; + case TLS_DH_DSS_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_DH_DSS_WITH_AES_128_GCM_SHA256"; + paramsNeeded = 1; + break; + case TLS_DH_DSS_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_DH_DSS_WITH_AES_256_GCM_SHA384"; + paramsNeeded = 1; + break; + case TLS_DH_anon_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_DH_anon_WITH_AES_128_GCM_SHA256"; + paramsNeeded = 1; + break; + case TLS_DH_anon_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_DH_anon_WITH_AES_256_GCM_SHA384"; + paramsNeeded = 1; + break; + case TLS_PSK_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_PSK_WITH_AES_128_GCM_SHA256"; + break; + case TLS_PSK_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_PSK_WITH_AES_256_GCM_SHA384"; + break; + case TLS_DHE_PSK_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_DHE_PSK_WITH_AES_128_GCM_SHA256"; + paramsNeeded = 1; + break; + case TLS_DHE_PSK_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_DHE_PSK_WITH_AES_256_GCM_SHA384"; + paramsNeeded = 1; + break; + case TLS_RSA_PSK_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_RSA_PSK_WITH_AES_128_GCM_SHA256"; + break; + case TLS_RSA_PSK_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_RSA_PSK_WITH_AES_256_GCM_SHA384"; + break; + case TLS_PSK_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_PSK_WITH_AES_128_CBC_SHA256"; + break; + case TLS_PSK_WITH_AES_256_CBC_SHA384: + cipherName = "TLS_PSK_WITH_AES_256_CBC_SHA384"; + break; + case TLS_PSK_WITH_NULL_SHA256: + cipherName = "TLS_PSK_WITH_NULL_SHA256"; + break; + case TLS_PSK_WITH_NULL_SHA384: + cipherName = "TLS_PSK_WITH_NULL_SHA384"; + break; + case TLS_DHE_PSK_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_DHE_PSK_WITH_AES_128_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_DHE_PSK_WITH_AES_256_CBC_SHA384: + cipherName = "TLS_DHE_PSK_WITH_AES_256_CBC_SHA384"; + paramsNeeded = 1; + break; + case TLS_DHE_PSK_WITH_NULL_SHA256: + cipherName = "TLS_DHE_PSK_WITH_NULL_SHA256"; + paramsNeeded = 1; + break; + case TLS_DHE_PSK_WITH_NULL_SHA384: + cipherName = "TLS_DHE_PSK_WITH_NULL_SHA384"; + paramsNeeded = 1; + break; + case TLS_RSA_PSK_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_RSA_PSK_WITH_AES_128_CBC_SHA256"; + break; + case TLS_RSA_PSK_WITH_AES_256_CBC_SHA384: + cipherName = "TLS_RSA_PSK_WITH_AES_256_CBC_SHA384"; + break; + case TLS_RSA_PSK_WITH_NULL_SHA256: + cipherName = "TLS_RSA_PSK_WITH_NULL_SHA256"; + break; + case TLS_RSA_PSK_WITH_NULL_SHA384: + cipherName = "TLS_RSA_PSK_WITH_NULL_SHA384"; + break; + case TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: + cipherName = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"; + paramsNeeded = 1; + break; + case TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: + cipherName = "TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384"; + paramsNeeded = 1; + break; + case TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: + cipherName = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"; + paramsNeeded = 1; + break; + case TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: + cipherName = "TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256"; + paramsNeeded = 1; + break; + case TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: + cipherName = "TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384"; + paramsNeeded = 1; + break; + case TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"; + paramsNeeded = 1; + break; + case TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"; + paramsNeeded = 1; + break; + case TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256"; + paramsNeeded = 1; + break; + case TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384"; + paramsNeeded = 1; + break; + case TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"; + paramsNeeded = 1; + break; + case TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"; + paramsNeeded = 1; + break; + case TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: + cipherName = "TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256"; + paramsNeeded = 1; + break; + case TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: + cipherName = "TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384"; + paramsNeeded = 1; + break; + case TLS_RSA_WITH_AES_128_CBC_SHA: + cipherName = "TLS_RSA_WITH_AES_128_CBC_SHA"; + break; + case TLS_DH_DSS_WITH_AES_128_CBC_SHA: + cipherName = "TLS_DH_DSS_WITH_AES_128_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DH_RSA_WITH_AES_128_CBC_SHA: + cipherName = "TLS_DH_RSA_WITH_AES_128_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DHE_DSS_WITH_AES_128_CBC_SHA: + cipherName = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DHE_RSA_WITH_AES_128_CBC_SHA: + cipherName = "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DH_anon_WITH_AES_128_CBC_SHA: + cipherName = "TLS_DH_anon_WITH_AES_128_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_RSA_WITH_AES_256_CBC_SHA: + cipherName = "TLS_RSA_WITH_AES_256_CBC_SHA"; + break; + case TLS_DH_DSS_WITH_AES_256_CBC_SHA: + cipherName = "TLS_DH_DSS_WITH_AES_256_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DH_RSA_WITH_AES_256_CBC_SHA: + cipherName = "TLS_DH_RSA_WITH_AES_256_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DHE_DSS_WITH_AES_256_CBC_SHA: + cipherName = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DHE_RSA_WITH_AES_256_CBC_SHA: + cipherName = "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_DH_anon_WITH_AES_256_CBC_SHA: + cipherName = "TLS_DH_anon_WITH_AES_256_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_ECDSA_WITH_NULL_SHA: + cipherName = "TLS_ECDH_ECDSA_WITH_NULL_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_ECDSA_WITH_RC4_128_SHA: + cipherName = "TLS_ECDH_ECDSA_WITH_RC4_128_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: + cipherName = "TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: + cipherName = "TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDHE_ECDSA_WITH_NULL_SHA: + cipherName = "TLS_ECDHE_ECDSA_WITH_NULL_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: + cipherName = "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: + cipherName = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: + cipherName = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_RSA_WITH_NULL_SHA: + cipherName = "TLS_ECDH_RSA_WITH_NULL_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_RSA_WITH_RC4_128_SHA: + cipherName = "TLS_ECDH_RSA_WITH_RC4_128_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: + cipherName = "TLS_ECDH_RSA_WITH_AES_128_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: + cipherName = "TLS_ECDH_RSA_WITH_AES_256_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDHE_RSA_WITH_NULL_SHA: + cipherName = "TLS_ECDHE_RSA_WITH_NULL_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDHE_RSA_WITH_RC4_128_SHA: + cipherName = "TLS_ECDHE_RSA_WITH_RC4_128_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: + cipherName = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: + cipherName = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_anon_WITH_NULL_SHA: + cipherName = "TLS_ECDH_anon_WITH_NULL_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_anon_WITH_RC4_128_SHA: + cipherName = "TLS_ECDH_anon_WITH_RC4_128_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: + cipherName = "TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_anon_WITH_AES_128_CBC_SHA: + cipherName = "TLS_ECDH_anon_WITH_AES_128_CBC_SHA"; + paramsNeeded = 1; + break; + case TLS_ECDH_anon_WITH_AES_256_CBC_SHA: + cipherName = "TLS_ECDH_anon_WITH_AES_256_CBC_SHA"; + paramsNeeded = 1; + break; + default : + snprintf(unknownCipherName, sizeof(unknownCipherName), "UNKNOWN_%04X", cipher); + cipherName = unknownCipherName; + break; + } + + if (cipher == TLS_RSA_WITH_RC4_128_MD5 || + cipher == TLS_RSA_WITH_RC4_128_SHA) + { + printf("%s: ERROR (Printers MUST NOT negotiate RC4 cipher suites.)\n", server); + httpClose(http); + return (1); + } + + if ((err = SSLGetDiffieHellmanParams(http->tls, ¶ms, ¶msLen)) != noErr && paramsNeeded) + { + printf("%s: ERROR (Unable to get Diffie-Hellman parameters - %d)\n", server, (int)err); + httpClose(http); + return (1); + } + + if (paramsLen < 128 && paramsLen != 0) + { + printf("%s: ERROR (Diffie-Hellman parameters MUST be at least 2048 bits, but Printer uses only %d bits/%d bytes)\n", server, (int)paramsLen * 8, (int)paramsLen); + httpClose(http); + return (1); + } + + dhBits = (int)paramsLen * 8; +#endif /* __APPLE__ */ + + if (dhBits > 0) + printf("%s: OK (TLS: %d.%d, %s, %d DH bits)\n", server, tlsVersion / 10, tlsVersion % 10, cipherName, dhBits); + else + printf("%s: OK (TLS: %d.%d, %s)\n", server, tlsVersion / 10, tlsVersion % 10, cipherName); + + printf(" %s\n", creds_str); + + if (verbose) + { + httpAssembleURI(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipps", NULL, host, port, resource); + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", (int)(sizeof(pattrs) / sizeof(pattrs[0])), NULL, pattrs); + + response = cupsDoRequest(http, request, resource); + + for (attr = ippFirstAttribute(response); attr; attr = ippNextAttribute(response)) + { + if (ippGetGroupTag(attr) != IPP_TAG_PRINTER) + continue; + + if ((name = ippGetName(attr)) == NULL) + continue; + + ippAttributeString(attr, value, sizeof(value)); + printf(" %s=%s\n", name, value); + } + + ippDelete(response); + puts(""); + } + + httpClose(http); + + return (0); +} + + +/* + * 'usage()' - Show program usage. + */ + +static void +usage(void) +{ + puts("Usage: ./tlscheck [options] server [port]"); + puts(" ./tlscheck [options] ipps://server[:port]/path"); + puts(""); + puts("Options:"); + puts(" --dh Allow DH/DHE key exchange"); + puts(" --no-cbc Disable CBC cipher suites"); + puts(" --no-tls10 Disable TLS/1.0"); + puts(" --rc4 Allow RC4 encryption"); + puts(" --tls10 Only use TLS/1.0"); + puts(" --tls11 Only use TLS/1.1"); + puts(" --tls12 Only use TLS/1.2"); + puts(" --tls13 Only use TLS/1.3"); + puts(" --verbose Be verbose"); + puts(" -4 Connect using IPv4 addresses only"); + puts(" -6 Connect using IPv6 addresses only"); + puts(" -v Be verbose"); + puts(""); + puts("The default port is 631."); + + exit(1); +} +#endif /* !HAVE_SSL */ diff --git a/cups/transcode.c b/cups/transcode.c new file mode 100644 index 0000000..4267813 --- /dev/null +++ b/cups/transcode.c @@ -0,0 +1,705 @@ +/* + * Transcoding support for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include +#include +#ifdef HAVE_ICONV_H +# include +#endif /* HAVE_ICONV_H */ + + +/* + * Local globals... + */ + +#ifdef HAVE_ICONV_H +static _cups_mutex_t map_mutex = _CUPS_MUTEX_INITIALIZER; + /* Mutex to control access to maps */ +static iconv_t map_from_utf8 = (iconv_t)-1; + /* Convert from UTF-8 to charset */ +static iconv_t map_to_utf8 = (iconv_t)-1; + /* Convert from charset to UTF-8 */ +static cups_encoding_t map_encoding = CUPS_AUTO_ENCODING; + /* Which charset is cached */ +#endif /* HAVE_ICONV_H */ + + +/* + * '_cupsCharmapFlush()' - Flush all character set maps out of cache. + */ + +void +_cupsCharmapFlush(void) +{ +#ifdef HAVE_ICONV_H + if (map_from_utf8 != (iconv_t)-1) + { + iconv_close(map_from_utf8); + map_from_utf8 = (iconv_t)-1; + } + + if (map_to_utf8 != (iconv_t)-1) + { + iconv_close(map_to_utf8); + map_to_utf8 = (iconv_t)-1; + } + + map_encoding = CUPS_AUTO_ENCODING; +#endif /* HAVE_ICONV_H */ +} + + +/* + * 'cupsCharsetToUTF8()' - Convert legacy character set to UTF-8. + */ + +int /* O - Count or -1 on error */ +cupsCharsetToUTF8( + cups_utf8_t *dest, /* O - Target string */ + const char *src, /* I - Source string */ + const int maxout, /* I - Max output */ + const cups_encoding_t encoding) /* I - Encoding */ +{ + cups_utf8_t *destptr; /* Pointer into UTF-8 buffer */ +#ifdef HAVE_ICONV_H + size_t srclen, /* Length of source string */ + outBytesLeft; /* Bytes remaining in output buffer */ +#endif /* HAVE_ICONV_H */ + + + /* + * Check for valid arguments... + */ + + DEBUG_printf(("2cupsCharsetToUTF8(dest=%p, src=\"%s\", maxout=%d, encoding=%d)", (void *)dest, src, maxout, encoding)); + + if (!dest || !src || maxout < 1) + { + if (dest) + *dest = '\0'; + + DEBUG_puts("3cupsCharsetToUTF8: Bad arguments, returning -1"); + return (-1); + } + + /* + * Handle identity conversions... + */ + + if (encoding == CUPS_UTF8 || encoding <= CUPS_US_ASCII || + encoding >= CUPS_ENCODING_VBCS_END) + { + strlcpy((char *)dest, src, (size_t)maxout); + return ((int)strlen((char *)dest)); + } + + /* + * Handle ISO-8859-1 to UTF-8 directly... + */ + + destptr = dest; + + if (encoding == CUPS_ISO8859_1) + { + int ch; /* Character from string */ + cups_utf8_t *destend; /* End of UTF-8 buffer */ + + + destend = dest + maxout - 2; + + while (*src && destptr < destend) + { + ch = *src++ & 255; + + if (ch & 128) + { + *destptr++ = (cups_utf8_t)(0xc0 | (ch >> 6)); + *destptr++ = (cups_utf8_t)(0x80 | (ch & 0x3f)); + } + else + *destptr++ = (cups_utf8_t)ch; + } + + *destptr = '\0'; + + return ((int)(destptr - dest)); + } + + /* + * Convert input legacy charset to UTF-8... + */ + +#ifdef HAVE_ICONV_H + _cupsMutexLock(&map_mutex); + + if (map_encoding != encoding) + { + char toset[1024]; /* Destination character set */ + + _cupsCharmapFlush(); + + snprintf(toset, sizeof(toset), "%s//IGNORE", _cupsEncodingName(encoding)); + + map_encoding = encoding; + map_from_utf8 = iconv_open(_cupsEncodingName(encoding), "UTF-8"); + map_to_utf8 = iconv_open("UTF-8", toset); + } + + if (map_to_utf8 != (iconv_t)-1) + { + char *altdestptr = (char *)dest; /* Silence bogus GCC type-punned */ + + srclen = strlen(src); + outBytesLeft = (size_t)maxout - 1; + + iconv(map_to_utf8, (char **)&src, &srclen, &altdestptr, &outBytesLeft); + *altdestptr = '\0'; + + _cupsMutexUnlock(&map_mutex); + + return ((int)(altdestptr - (char *)dest)); + } + + _cupsMutexUnlock(&map_mutex); +#endif /* HAVE_ICONV_H */ + + /* + * No iconv() support, so error out... + */ + + *destptr = '\0'; + + return (-1); +} + + +/* + * 'cupsUTF8ToCharset()' - Convert UTF-8 to legacy character set. + */ + +int /* O - Count or -1 on error */ +cupsUTF8ToCharset( + char *dest, /* O - Target string */ + const cups_utf8_t *src, /* I - Source string */ + const int maxout, /* I - Max output */ + const cups_encoding_t encoding) /* I - Encoding */ +{ + char *destptr; /* Pointer into destination */ +#ifdef HAVE_ICONV_H + size_t srclen, /* Length of source string */ + outBytesLeft; /* Bytes remaining in output buffer */ +#endif /* HAVE_ICONV_H */ + + + /* + * Check for valid arguments... + */ + + if (!dest || !src || maxout < 1) + { + if (dest) + *dest = '\0'; + + return (-1); + } + + /* + * Handle identity conversions... + */ + + if (encoding == CUPS_UTF8 || + encoding >= CUPS_ENCODING_VBCS_END) + { + strlcpy(dest, (char *)src, (size_t)maxout); + return ((int)strlen(dest)); + } + + /* + * Handle UTF-8 to ISO-8859-1 directly... + */ + + destptr = dest; + + if (encoding == CUPS_ISO8859_1 || encoding <= CUPS_US_ASCII) + { + int ch, /* Character from string */ + maxch; /* Maximum character for charset */ + char *destend; /* End of ISO-8859-1 buffer */ + + maxch = encoding == CUPS_ISO8859_1 ? 256 : 128; + destend = dest + maxout - 1; + + while (*src && destptr < destend) + { + ch = *src++; + + if ((ch & 0xe0) == 0xc0) + { + ch = ((ch & 0x1f) << 6) | (*src++ & 0x3f); + + if (ch < maxch) + *destptr++ = (char)ch; + else + *destptr++ = '?'; + } + else if ((ch & 0xf0) == 0xe0 || + (ch & 0xf8) == 0xf0) + *destptr++ = '?'; + else if (!(ch & 0x80)) + *destptr++ = (char)ch; + } + + *destptr = '\0'; + + return ((int)(destptr - dest)); + } + +#ifdef HAVE_ICONV_H + /* + * Convert input UTF-8 to legacy charset... + */ + + _cupsMutexLock(&map_mutex); + + if (map_encoding != encoding) + { + char toset[1024]; /* Destination character set */ + + _cupsCharmapFlush(); + + snprintf(toset, sizeof(toset), "%s//IGNORE", _cupsEncodingName(encoding)); + + map_encoding = encoding; + map_from_utf8 = iconv_open(_cupsEncodingName(encoding), "UTF-8"); + map_to_utf8 = iconv_open("UTF-8", toset); + } + + if (map_from_utf8 != (iconv_t)-1) + { + char *altsrc = (char *)src; /* Silence bogus GCC type-punned */ + + srclen = strlen((char *)src); + outBytesLeft = (size_t)maxout - 1; + + iconv(map_from_utf8, &altsrc, &srclen, &destptr, &outBytesLeft); + *destptr = '\0'; + + _cupsMutexUnlock(&map_mutex); + + return ((int)(destptr - dest)); + } + + _cupsMutexUnlock(&map_mutex); +#endif /* HAVE_ICONV_H */ + + /* + * No iconv() support, so error out... + */ + + *destptr = '\0'; + + return (-1); +} + + +/* + * 'cupsUTF8ToUTF32()' - Convert UTF-8 to UTF-32. + * + * 32-bit UTF-32 (actually 21-bit) maps to UTF-8 as follows... + * + * UTF-32 char UTF-8 char(s) + * -------------------------------------------------- + * 0 to 127 = 0xxxxxxx (US-ASCII) + * 128 to 2047 = 110xxxxx 10yyyyyy + * 2048 to 65535 = 1110xxxx 10yyyyyy 10zzzzzz + * > 65535 = 11110xxx 10yyyyyy 10zzzzzz 10xxxxxx + * + * UTF-32 prohibits chars beyond Plane 16 (> 0x10ffff) in UCS-4, + * which would convert to five- or six-octet UTF-8 sequences... + */ + +int /* O - Count or -1 on error */ +cupsUTF8ToUTF32( + cups_utf32_t *dest, /* O - Target string */ + const cups_utf8_t *src, /* I - Source string */ + const int maxout) /* I - Max output */ +{ + int i; /* Looping variable */ + cups_utf8_t ch; /* Character value */ + cups_utf8_t next; /* Next character value */ + cups_utf32_t ch32; /* UTF-32 character value */ + + + /* + * Check for valid arguments and clear output... + */ + + DEBUG_printf(("2cupsUTF8ToUTF32(dest=%p, src=\"%s\", maxout=%d)", (void *)dest, src, maxout)); + + if (dest) + *dest = 0; + + if (!dest || !src || maxout < 1 || maxout > CUPS_MAX_USTRING) + { + DEBUG_puts("3cupsUTF8ToUTF32: Returning -1 (bad arguments)"); + + return (-1); + } + + /* + * Convert input UTF-8 to output UTF-32... + */ + + for (i = maxout - 1; *src && i > 0; i --) + { + ch = *src++; + + /* + * Convert UTF-8 character(s) to UTF-32 character... + */ + + if (!(ch & 0x80)) + { + /* + * One-octet UTF-8 <= 127 (US-ASCII)... + */ + + *dest++ = ch; + + DEBUG_printf(("4cupsUTF8ToUTF32: %02x => %08X", src[-1], ch)); + continue; + } + else if ((ch & 0xe0) == 0xc0) + { + /* + * Two-octet UTF-8 <= 2047 (Latin-x)... + */ + + next = *src++; + if ((next & 0xc0) != 0x80) + { + DEBUG_puts("3cupsUTF8ToUTF32: Returning -1 (bad UTF-8 sequence)"); + + return (-1); + } + + ch32 = (cups_utf32_t)((ch & 0x1f) << 6) | (cups_utf32_t)(next & 0x3f); + + /* + * Check for non-shortest form (invalid UTF-8)... + */ + + if (ch32 < 0x80) + { + DEBUG_puts("3cupsUTF8ToUTF32: Returning -1 (bad UTF-8 sequence)"); + + return (-1); + } + + *dest++ = ch32; + + DEBUG_printf(("4cupsUTF8ToUTF32: %02x %02x => %08X", + src[-2], src[-1], (unsigned)ch32)); + } + else if ((ch & 0xf0) == 0xe0) + { + /* + * Three-octet UTF-8 <= 65535 (Plane 0 - BMP)... + */ + + next = *src++; + if ((next & 0xc0) != 0x80) + { + DEBUG_puts("3cupsUTF8ToUTF32: Returning -1 (bad UTF-8 sequence)"); + + return (-1); + } + + ch32 = (cups_utf32_t)((ch & 0x0f) << 6) | (cups_utf32_t)(next & 0x3f); + + next = *src++; + if ((next & 0xc0) != 0x80) + { + DEBUG_puts("3cupsUTF8ToUTF32: Returning -1 (bad UTF-8 sequence)"); + + return (-1); + } + + ch32 = (ch32 << 6) | (cups_utf32_t)(next & 0x3f); + + /* + * Check for non-shortest form (invalid UTF-8)... + */ + + if (ch32 < 0x800) + { + DEBUG_puts("3cupsUTF8ToUTF32: Returning -1 (bad UTF-8 sequence)"); + + return (-1); + } + + *dest++ = ch32; + + DEBUG_printf(("4cupsUTF8ToUTF32: %02x %02x %02x => %08X", + src[-3], src[-2], src[-1], (unsigned)ch32)); + } + else if ((ch & 0xf8) == 0xf0) + { + /* + * Four-octet UTF-8... + */ + + next = *src++; + if ((next & 0xc0) != 0x80) + { + DEBUG_puts("3cupsUTF8ToUTF32: Returning -1 (bad UTF-8 sequence)"); + + return (-1); + } + + ch32 = (cups_utf32_t)((ch & 0x07) << 6) | (cups_utf32_t)(next & 0x3f); + + next = *src++; + if ((next & 0xc0) != 0x80) + { + DEBUG_puts("3cupsUTF8ToUTF32: Returning -1 (bad UTF-8 sequence)"); + + return (-1); + } + + ch32 = (ch32 << 6) | (cups_utf32_t)(next & 0x3f); + + next = *src++; + if ((next & 0xc0) != 0x80) + { + DEBUG_puts("3cupsUTF8ToUTF32: Returning -1 (bad UTF-8 sequence)"); + + return (-1); + } + + ch32 = (ch32 << 6) | (cups_utf32_t)(next & 0x3f); + + /* + * Check for non-shortest form (invalid UTF-8)... + */ + + if (ch32 < 0x10000) + { + DEBUG_puts("3cupsUTF8ToUTF32: Returning -1 (bad UTF-8 sequence)"); + + return (-1); + } + + *dest++ = ch32; + + DEBUG_printf(("4cupsUTF8ToUTF32: %02x %02x %02x %02x => %08X", + src[-4], src[-3], src[-2], src[-1], (unsigned)ch32)); + } + else + { + /* + * More than 4-octet (invalid UTF-8 sequence)... + */ + + DEBUG_puts("3cupsUTF8ToUTF32: Returning -1 (bad UTF-8 sequence)"); + + return (-1); + } + + /* + * Check for UTF-16 surrogate (illegal UTF-8)... + */ + + if (ch32 >= 0xd800 && ch32 <= 0xdfff) + return (-1); + } + + *dest = 0; + + DEBUG_printf(("3cupsUTF8ToUTF32: Returning %d characters", maxout - 1 - i)); + + return (maxout - 1 - i); +} + + +/* + * 'cupsUTF32ToUTF8()' - Convert UTF-32 to UTF-8. + * + * 32-bit UTF-32 (actually 21-bit) maps to UTF-8 as follows... + * + * UTF-32 char UTF-8 char(s) + * -------------------------------------------------- + * 0 to 127 = 0xxxxxxx (US-ASCII) + * 128 to 2047 = 110xxxxx 10yyyyyy + * 2048 to 65535 = 1110xxxx 10yyyyyy 10zzzzzz + * > 65535 = 11110xxx 10yyyyyy 10zzzzzz 10xxxxxx + * + * UTF-32 prohibits chars beyond Plane 16 (> 0x10ffff) in UCS-4, + * which would convert to five- or six-octet UTF-8 sequences... + */ + +int /* O - Count or -1 on error */ +cupsUTF32ToUTF8( + cups_utf8_t *dest, /* O - Target string */ + const cups_utf32_t *src, /* I - Source string */ + const int maxout) /* I - Max output */ +{ + cups_utf8_t *start; /* Start of destination string */ + int i; /* Looping variable */ + int swap; /* Byte-swap input to output */ + cups_utf32_t ch; /* Character value */ + + + /* + * Check for valid arguments and clear output... + */ + + DEBUG_printf(("2cupsUTF32ToUTF8(dest=%p, src=%p, maxout=%d)", (void *)dest, (void *)src, maxout)); + + if (dest) + *dest = '\0'; + + if (!dest || !src || maxout < 1) + { + DEBUG_puts("3cupsUTF32ToUTF8: Returning -1 (bad args)"); + + return (-1); + } + + /* + * Check for leading BOM in UTF-32 and inverted BOM... + */ + + start = dest; + swap = *src == 0xfffe0000; + + DEBUG_printf(("4cupsUTF32ToUTF8: swap=%d", swap)); + + if (*src == 0xfffe0000 || *src == 0xfeff) + src ++; + + /* + * Convert input UTF-32 to output UTF-8... + */ + + for (i = maxout - 1; *src && i > 0;) + { + ch = *src++; + + /* + * Byte swap input UTF-32, if necessary... + * (only byte-swapping 24 of 32 bits) + */ + + if (swap) + ch = ((ch >> 24) | ((ch >> 8) & 0xff00) | ((ch << 8) & 0xff0000)); + + /* + * Check for beyond Plane 16 (invalid UTF-32)... + */ + + if (ch > 0x10ffff) + { + DEBUG_puts("3cupsUTF32ToUTF8: Returning -1 (character out of range)"); + + return (-1); + } + + /* + * Convert UTF-32 character to UTF-8 character(s)... + */ + + if (ch < 0x80) + { + /* + * One-octet UTF-8 <= 127 (US-ASCII)... + */ + + *dest++ = (cups_utf8_t)ch; + i --; + + DEBUG_printf(("4cupsUTF32ToUTF8: %08x => %02x", (unsigned)ch, dest[-1])); + } + else if (ch < 0x800) + { + /* + * Two-octet UTF-8 <= 2047 (Latin-x)... + */ + + if (i < 2) + { + DEBUG_puts("3cupsUTF32ToUTF8: Returning -1 (too long 2)"); + + return (-1); + } + + *dest++ = (cups_utf8_t)(0xc0 | ((ch >> 6) & 0x1f)); + *dest++ = (cups_utf8_t)(0x80 | (ch & 0x3f)); + i -= 2; + + DEBUG_printf(("4cupsUTF32ToUTF8: %08x => %02x %02x", (unsigned)ch, + dest[-2], dest[-1])); + } + else if (ch < 0x10000) + { + /* + * Three-octet UTF-8 <= 65535 (Plane 0 - BMP)... + */ + + if (i < 3) + { + DEBUG_puts("3cupsUTF32ToUTF8: Returning -1 (too long 3)"); + + return (-1); + } + + *dest++ = (cups_utf8_t)(0xe0 | ((ch >> 12) & 0x0f)); + *dest++ = (cups_utf8_t)(0x80 | ((ch >> 6) & 0x3f)); + *dest++ = (cups_utf8_t)(0x80 | (ch & 0x3f)); + i -= 3; + + DEBUG_printf(("4cupsUTF32ToUTF8: %08x => %02x %02x %02x", (unsigned)ch, + dest[-3], dest[-2], dest[-1])); + } + else + { + /* + * Four-octet UTF-8... + */ + + if (i < 4) + { + DEBUG_puts("3cupsUTF32ToUTF8: Returning -1 (too long 4)"); + + return (-1); + } + + *dest++ = (cups_utf8_t)(0xf0 | ((ch >> 18) & 0x07)); + *dest++ = (cups_utf8_t)(0x80 | ((ch >> 12) & 0x3f)); + *dest++ = (cups_utf8_t)(0x80 | ((ch >> 6) & 0x3f)); + *dest++ = (cups_utf8_t)(0x80 | (ch & 0x3f)); + i -= 4; + + DEBUG_printf(("4cupsUTF32ToUTF8: %08x => %02x %02x %02x %02x", + (unsigned)ch, dest[-4], dest[-3], dest[-2], dest[-1])); + } + } + + *dest = '\0'; + + DEBUG_printf(("3cupsUTF32ToUTF8: Returning %d", (int)(dest - start))); + + return ((int)(dest - start)); +} diff --git a/cups/transcode.h b/cups/transcode.h new file mode 100644 index 0000000..844de4d --- /dev/null +++ b/cups/transcode.h @@ -0,0 +1,68 @@ +/* + * Transcoding definitions for CUPS. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_TRANSCODE_H_ +# define _CUPS_TRANSCODE_H_ + +/* + * Include necessary headers... + */ + +# include "language.h" + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Constants... + */ + +# define CUPS_MAX_USTRING 8192 /* Max size of Unicode string */ + + +/* + * Types... + */ + +typedef unsigned char cups_utf8_t; /* UTF-8 Unicode/ISO-10646 unit */ +typedef unsigned long cups_utf32_t; /* UTF-32 Unicode/ISO-10646 unit */ +typedef unsigned short cups_ucs2_t; /* UCS-2 Unicode/ISO-10646 unit */ +typedef unsigned long cups_ucs4_t; /* UCS-4 Unicode/ISO-10646 unit */ +typedef unsigned char cups_sbcs_t; /* SBCS Legacy 8-bit unit */ +typedef unsigned short cups_dbcs_t; /* DBCS Legacy 16-bit unit */ +typedef unsigned long cups_vbcs_t; /* VBCS Legacy 32-bit unit */ + /* EUC uses 8, 16, 24, 32-bit */ + + +/* + * Prototypes... + */ + +extern int cupsCharsetToUTF8(cups_utf8_t *dest, + const char *src, + const int maxout, + const cups_encoding_t encoding) _CUPS_API_1_2; +extern int cupsUTF8ToCharset(char *dest, + const cups_utf8_t *src, + const int maxout, + const cups_encoding_t encoding) _CUPS_API_1_2; +extern int cupsUTF8ToUTF32(cups_utf32_t *dest, + const cups_utf8_t *src, + const int maxout) _CUPS_API_1_2; +extern int cupsUTF32ToUTF8(cups_utf8_t *dest, + const cups_utf32_t *src, + const int maxout) _CUPS_API_1_2; + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPS_TRANSCODE_H_ */ diff --git a/cups/usersys.c b/cups/usersys.c new file mode 100644 index 0000000..d74c951 --- /dev/null +++ b/cups/usersys.c @@ -0,0 +1,1601 @@ +/* + * User, system, and password routines for CUPS. + * + * Copyright 2007-2019 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include +#include +#ifdef _WIN32 +# include +#else +# include +# include +# include +#endif /* _WIN32 */ +#ifdef __APPLE__ +# include +#endif /* __APPLE__ */ + + +/* + * Local constants... + */ + +#ifdef __APPLE__ +# if TARGET_OS_OSX +# define kCUPSPrintingPrefs CFSTR("org.cups.PrintingPrefs") +# define kPREFIX "" +# else +# define kCUPSPrintingPrefs CFSTR(".GlobalPreferences") +# define kPREFIX "AirPrint" +# endif /* TARGET_OS_OSX */ +# define kDigestOptionsKey CFSTR(kPREFIX "DigestOptions") +# define kUserKey CFSTR(kPREFIX "User") +# define kUserAgentTokensKey CFSTR(kPREFIX "UserAgentTokens") +# define kAllowAnyRootKey CFSTR(kPREFIX "AllowAnyRoot") +# define kAllowExpiredCertsKey CFSTR(kPREFIX "AllowExpiredCerts") +# define kEncryptionKey CFSTR(kPREFIX "Encryption") +# define kGSSServiceNameKey CFSTR(kPREFIX "GSSServiceName") +# define kSSLOptionsKey CFSTR(kPREFIX "SSLOptions") +# define kTrustOnFirstUseKey CFSTR(kPREFIX "TrustOnFirstUse") +# define kValidateCertsKey CFSTR(kPREFIX "ValidateCerts") +/* Deprecated */ +# define kAllowRC4 CFSTR(kPREFIX "AllowRC4") +# define kAllowSSL3 CFSTR(kPREFIX "AllowSSL3") +# define kAllowDH CFSTR(kPREFIX "AllowDH") +#endif /* __APPLE__ */ + +#define _CUPS_PASSCHAR '*' /* Character that is echoed for password */ + + +/* + * Local types... + */ + +typedef struct _cups_client_conf_s /**** client.conf config data ****/ +{ + _cups_digestoptions_t digestoptions; /* DigestOptions values */ + _cups_uatokens_t uatokens; /* UserAgentTokens values */ +#ifdef HAVE_SSL + int ssl_options, /* SSLOptions values */ + ssl_min_version,/* Minimum SSL/TLS version */ + ssl_max_version;/* Maximum SSL/TLS version */ +#endif /* HAVE_SSL */ + int trust_first, /* Trust on first use? */ + any_root, /* Allow any (e.g., self-signed) root */ + expired_certs, /* Allow expired certs */ + validate_certs; /* Validate certificates */ + http_encryption_t encryption; /* Encryption setting */ + char user[65], /* User name */ + server_name[256]; + /* Server hostname */ +#ifdef HAVE_GSSAPI + char gss_service_name[32]; + /* Kerberos service name */ +#endif /* HAVE_GSSAPI */ +} _cups_client_conf_t; + + +/* + * Local functions... + */ + +#ifdef __APPLE__ +static int cups_apple_get_boolean(CFStringRef key, int *value); +static int cups_apple_get_string(CFStringRef key, char *value, size_t valsize); +#endif /* __APPLE__ */ +static int cups_boolean_value(const char *value); +static void cups_finalize_client_conf(_cups_client_conf_t *cc); +static void cups_init_client_conf(_cups_client_conf_t *cc); +static void cups_read_client_conf(cups_file_t *fp, _cups_client_conf_t *cc); +static void cups_set_default_ipp_port(_cups_globals_t *cg); +static void cups_set_digestoptions(_cups_client_conf_t *cc, const char *value); +static void cups_set_encryption(_cups_client_conf_t *cc, const char *value); +#ifdef HAVE_GSSAPI +static void cups_set_gss_service_name(_cups_client_conf_t *cc, const char *value); +#endif /* HAVE_GSSAPI */ +static void cups_set_server_name(_cups_client_conf_t *cc, const char *value); +#ifdef HAVE_SSL +static void cups_set_ssl_options(_cups_client_conf_t *cc, const char *value); +#endif /* HAVE_SSL */ +static void cups_set_uatokens(_cups_client_conf_t *cc, const char *value); +static void cups_set_user(_cups_client_conf_t *cc, const char *value); + + +/* + * 'cupsEncryption()' - Get the current encryption settings. + * + * 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 + * @code HTTP_ENCRYPTION_IF_REQUESTED@. + * + * Note: The current encryption setting is tracked separately for each thread + * in a program. Multi-threaded programs that override the setting via the + * @link cupsSetEncryption@ function need to do so in each thread for the same + * setting to be used. + */ + +http_encryption_t /* O - Encryption settings */ +cupsEncryption(void) +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + if (cg->encryption == (http_encryption_t)-1) + _cupsSetDefaults(); + + return (cg->encryption); +} + + +/* + * 'cupsGetPassword()' - Get a password from the user. + * + * Uses the current password callback function. Returns @code NULL@ if the + * user does not provide a password. + * + * Note: The current password callback function is tracked separately for each + * thread in a program. Multi-threaded programs that override the setting via + * the @link cupsSetPasswordCB@ or @link cupsSetPasswordCB2@ functions need to + * do so in each thread for the same function to be used. + * + * @exclude all@ + */ + +const char * /* O - Password */ +cupsGetPassword(const char *prompt) /* I - Prompt string */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + return ((cg->password_cb)(prompt, NULL, NULL, NULL, cg->password_data)); +} + + +/* + * 'cupsGetPassword2()' - Get a password from the user using the current + * password callback. + * + * Uses the current password callback function. Returns @code NULL@ if the + * user does not provide a password. + * + * Note: The current password callback function is tracked separately for each + * thread in a program. Multi-threaded programs that override the setting via + * the @link cupsSetPasswordCB2@ function need to do so in each thread for the + * same function to be used. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +const char * /* O - Password */ +cupsGetPassword2(const char *prompt, /* I - Prompt string */ + http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *method, /* I - Request method ("GET", "POST", "PUT") */ + const char *resource) /* I - Resource path */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + if (!http) + http = _cupsConnect(); + + return ((cg->password_cb)(prompt, http, method, resource, cg->password_data)); +} + + +/* + * 'cupsServer()' - Return the hostname/address of the current server. + * + * The default server comes from the CUPS_SERVER environment variable, then the + * ~/.cups/client.conf file, and finally the /etc/cups/client.conf file. If not + * set, the default is the local system - either "localhost" or a domain socket + * path. + * + * The returned value can be a fully-qualified hostname, a numeric IPv4 or IPv6 + * address, or a domain socket pathname. + * + * Note: The current server is tracked separately for each thread in a program. + * Multi-threaded programs that override the server via the + * @link cupsSetServer@ function need to do so in each thread for the same + * server to be used. + */ + +const char * /* O - Server name */ +cupsServer(void) +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + if (!cg->server[0]) + _cupsSetDefaults(); + + return (cg->server); +} + + +/* + * 'cupsSetClientCertCB()' - Set the client certificate callback. + * + * Pass @code NULL@ to restore the default callback. + * + * Note: The current certificate callback is tracked separately for each thread + * in a program. Multi-threaded programs that override the callback need to do + * so in each thread for the same callback to be used. + * + * @since CUPS 1.5/macOS 10.7@ + */ + +void +cupsSetClientCertCB( + cups_client_cert_cb_t cb, /* I - Callback function */ + void *user_data) /* I - User data pointer */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + cg->client_cert_cb = cb; + cg->client_cert_data = user_data; +} + + +/* + * 'cupsSetCredentials()' - Set the default credentials to be used for SSL/TLS + * connections. + * + * Note: The default credentials are tracked separately for each thread in a + * program. Multi-threaded programs that override the setting need to do so in + * each thread for the same setting to be used. + * + * @since CUPS 1.5/macOS 10.7@ + */ + +int /* O - Status of call (0 = success) */ +cupsSetCredentials( + cups_array_t *credentials) /* I - Array of credentials */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + if (cupsArrayCount(credentials) < 1) + return (-1); + +#ifdef HAVE_SSL + _httpFreeCredentials(cg->tls_credentials); + cg->tls_credentials = _httpCreateCredentials(credentials); +#endif /* HAVE_SSL */ + + return (cg->tls_credentials ? 0 : -1); +} + + +/* + * 'cupsSetEncryption()' - Set the encryption preference. + * + * 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 + * @code HTTP_ENCRYPTION_IF_REQUESTED@. + * + * Note: The current encryption setting is tracked separately for each thread + * in a program. Multi-threaded programs that override the setting need to do + * so in each thread for the same setting to be used. + */ + +void +cupsSetEncryption(http_encryption_t e) /* I - New encryption preference */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + cg->encryption = e; + + if (cg->http) + httpEncryption(cg->http, e); +} + + +/* + * 'cupsSetPasswordCB()' - Set the password callback for CUPS. + * + * Pass @code NULL@ to restore the default (console) password callback, which + * reads the password from the console. Programs should call either this + * function or @link cupsSetPasswordCB2@, as only one callback can be registered + * by a program per thread. + * + * Note: The current password callback is tracked separately for each thread + * in a program. Multi-threaded programs that override the callback need to do + * so in each thread for the same callback to be used. + * + * @exclude all@ + */ + +void +cupsSetPasswordCB(cups_password_cb_t cb)/* I - Callback function */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + if (cb == (cups_password_cb_t)0) + cg->password_cb = (cups_password_cb2_t)_cupsGetPassword; + else + cg->password_cb = (cups_password_cb2_t)cb; + + cg->password_data = NULL; +} + + +/* + * 'cupsSetPasswordCB2()' - Set the advanced password callback for CUPS. + * + * Pass @code NULL@ to restore the default (console) password callback, which + * reads the password from the console. Programs should call either this + * function or @link cupsSetPasswordCB2@, as only one callback can be registered + * by a program per thread. + * + * Note: The current password callback is tracked separately for each thread + * in a program. Multi-threaded programs that override the callback need to do + * so in each thread for the same callback to be used. + * + * @since CUPS 1.4/macOS 10.6@ + */ + +void +cupsSetPasswordCB2( + cups_password_cb2_t cb, /* I - Callback function */ + void *user_data) /* I - User data pointer */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + if (cb == (cups_password_cb2_t)0) + cg->password_cb = (cups_password_cb2_t)_cupsGetPassword; + else + cg->password_cb = cb; + + cg->password_data = user_data; +} + + +/* + * 'cupsSetServer()' - Set the default server name and port. + * + * The "server" string can be a fully-qualified hostname, a numeric + * IPv4 or IPv6 address, or a domain socket pathname. Hostnames and numeric IP + * addresses can be optionally followed by a colon and port number to override + * the default port 631, e.g. "hostname:8631". Pass @code NULL@ to restore the + * default server name and port. + * + * Note: The current server is tracked separately for each thread in a program. + * Multi-threaded programs that override the server need to do so in each + * thread for the same server to be used. + */ + +void +cupsSetServer(const char *server) /* I - Server name */ +{ + char *options, /* Options */ + *port; /* Pointer to port */ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + if (server) + { + strlcpy(cg->server, server, sizeof(cg->server)); + + if (cg->server[0] != '/' && (options = strrchr(cg->server, '/')) != NULL) + { + *options++ = '\0'; + + if (!strcmp(options, "version=1.0")) + cg->server_version = 10; + else if (!strcmp(options, "version=1.1")) + cg->server_version = 11; + else if (!strcmp(options, "version=2.0")) + cg->server_version = 20; + else if (!strcmp(options, "version=2.1")) + cg->server_version = 21; + else if (!strcmp(options, "version=2.2")) + cg->server_version = 22; + } + else + cg->server_version = 20; + + if (cg->server[0] != '/' && (port = strrchr(cg->server, ':')) != NULL && + !strchr(port, ']') && isdigit(port[1] & 255)) + { + *port++ = '\0'; + + cg->ipp_port = atoi(port); + } + + if (!cg->ipp_port) + cups_set_default_ipp_port(cg); + + if (cg->server[0] == '/') + strlcpy(cg->servername, "localhost", sizeof(cg->servername)); + else + strlcpy(cg->servername, cg->server, sizeof(cg->servername)); + } + else + { + cg->server[0] = '\0'; + cg->servername[0] = '\0'; + cg->server_version = 20; + cg->ipp_port = 0; + } + + if (cg->http) + { + httpClose(cg->http); + cg->http = NULL; + } +} + + +/* + * 'cupsSetServerCertCB()' - Set the server certificate callback. + * + * Pass @code NULL@ to restore the default callback. + * + * Note: The current credentials callback is tracked separately for each thread + * in a program. Multi-threaded programs that override the callback need to do + * so in each thread for the same callback to be used. + * + * @since CUPS 1.5/macOS 10.7@ + */ + +void +cupsSetServerCertCB( + cups_server_cert_cb_t cb, /* I - Callback function */ + void *user_data) /* I - User data pointer */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + cg->server_cert_cb = cb; + cg->server_cert_data = user_data; +} + + +/* + * 'cupsSetUser()' - Set the default user name. + * + * Pass @code NULL@ to restore the default user name. + * + * Note: The current user name is tracked separately for each thread in a + * program. Multi-threaded programs that override the user name need to do so + * in each thread for the same user name to be used. + */ + +void +cupsSetUser(const char *user) /* I - User name */ +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + if (user) + strlcpy(cg->user, user, sizeof(cg->user)); + else + cg->user[0] = '\0'; +} + + +/* + * 'cupsSetUserAgent()' - Set the default HTTP User-Agent string. + * + * Setting the string to NULL forces the default value containing the CUPS + * version, IPP version, and operating system version and architecture. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +void +cupsSetUserAgent(const char *user_agent)/* I - User-Agent string or @code NULL@ */ +{ + _cups_globals_t *cg = _cupsGlobals(); + /* Thread globals */ +#ifdef _WIN32 + SYSTEM_INFO sysinfo; /* System information */ + OSVERSIONINFOA version; /* OS version info */ + const char *machine; /* Hardware/machine name */ +#elif defined(__APPLE__) + struct utsname name; /* uname info */ + char version[256]; /* macOS/iOS version */ + size_t len; /* Length of value */ +#else + struct utsname name; /* uname info */ +#endif /* _WIN32 */ + + + if (user_agent) + { + strlcpy(cg->user_agent, user_agent, sizeof(cg->user_agent)); + return; + } + + if (cg->uatokens < _CUPS_UATOKENS_OS) + { + switch (cg->uatokens) + { + default : + case _CUPS_UATOKENS_NONE : + cg->user_agent[0] = '\0'; + break; + case _CUPS_UATOKENS_PRODUCT_ONLY : + strlcpy(cg->user_agent, "CUPS IPP", sizeof(cg->user_agent)); + break; + case _CUPS_UATOKENS_MAJOR : + snprintf(cg->user_agent, sizeof(cg->user_agent), "CUPS/%d IPP/2", CUPS_VERSION_MAJOR); + break; + case _CUPS_UATOKENS_MINOR : + snprintf(cg->user_agent, sizeof(cg->user_agent), "CUPS/%d.%d IPP/2.1", CUPS_VERSION_MAJOR, CUPS_VERSION_MINOR); + break; + case _CUPS_UATOKENS_MINIMAL : + strlcpy(cg->user_agent, CUPS_MINIMAL " IPP/2.1", sizeof(cg->user_agent)); + break; + } + } + +#ifdef _WIN32 + /* + * Gather Windows version information for the User-Agent string... + */ + + version.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); + GetVersionExA(&version); + GetNativeSystemInfo(&sysinfo); + + switch (sysinfo.wProcessorArchitecture) + { + case PROCESSOR_ARCHITECTURE_AMD64 : + machine = "amd64"; + break; + + case PROCESSOR_ARCHITECTURE_ARM : + machine = "arm"; + break; + + case PROCESSOR_ARCHITECTURE_IA64 : + machine = "ia64"; + break; + + case PROCESSOR_ARCHITECTURE_INTEL : + machine = "intel"; + break; + + default : + machine = "unknown"; + break; + } + + if (cg->uatokens == _CUPS_UATOKENS_OS) + snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (Windows %d.%d) IPP/2.0", version.dwMajorVersion, version.dwMinorVersion); + else + snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (Windows %d.%d; %s) IPP/2.0", version.dwMajorVersion, version.dwMinorVersion, machine); + +#elif defined(__APPLE__) + /* + * Gather macOS/iOS version information for the User-Agent string... + */ + + uname(&name); + + len = sizeof(version) - 1; + if (!sysctlbyname("kern.osproductversion", version, &len, NULL, 0)) + version[len] = '\0'; + else + strlcpy(version, "unknown", sizeof(version)); + +# if TARGET_OS_OSX + if (cg->uatokens == _CUPS_UATOKENS_OS) + snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (macOS %s) IPP/2.0", version); + else + snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (macOS %s; %s) IPP/2.0", version, name.machine); + +# else + if (cg->uatokens == _CUPS_UATOKENS_OS) + snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (iOS %s) IPP/2.0", version); + else + snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (iOS %s; %s) IPP/2.0", version, name.machine); +# endif /* TARGET_OS_OSX */ + +#else + /* + * Gather generic UNIX version information for the User-Agent string... + */ + + uname(&name); + + if (cg->uatokens == _CUPS_UATOKENS_OS) + snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (%s %s) IPP/2.0", name.sysname, name.release); + else + snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (%s %s; %s) IPP/2.0", name.sysname, name.release, name.machine); +#endif /* _WIN32 */ +} + + +/* + * 'cupsUser()' - Return the current user's name. + * + * Note: The current user name is tracked separately for each thread in a + * program. Multi-threaded programs that override the user name with the + * @link cupsSetUser@ function need to do so in each thread for the same user + * name to be used. + */ + +const char * /* O - User name */ +cupsUser(void) +{ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + if (!cg->user[0]) + _cupsSetDefaults(); + + return (cg->user); +} + + +/* + * 'cupsUserAgent()' - Return the default HTTP User-Agent string. + * + * @since CUPS 1.7/macOS 10.9@ + */ + +const char * /* O - User-Agent string */ +cupsUserAgent(void) +{ + _cups_globals_t *cg = _cupsGlobals(); /* Thread globals */ + + + if (!cg->user_agent[0]) + cupsSetUserAgent(NULL); + + return (cg->user_agent); +} + + +/* + * '_cupsGetPassword()' - Get a password from the user. + */ + +const char * /* O - Password or @code NULL@ if none */ +_cupsGetPassword(const char *prompt) /* I - Prompt string */ +{ +#ifdef _WIN32 + HANDLE tty; /* Console handle */ + DWORD mode; /* Console mode */ + char passch, /* Current key press */ + *passptr, /* Pointer into password string */ + *passend; /* End of password string */ + DWORD passbytes; /* Bytes read */ + _cups_globals_t *cg = _cupsGlobals(); + /* Thread globals */ + + + /* + * Disable input echo and set raw input... + */ + + if ((tty = GetStdHandle(STD_INPUT_HANDLE)) == INVALID_HANDLE_VALUE) + return (NULL); + + if (!GetConsoleMode(tty, &mode)) + return (NULL); + + if (!SetConsoleMode(tty, 0)) + return (NULL); + + /* + * Display the prompt... + */ + + printf("%s ", prompt); + fflush(stdout); + + /* + * Read the password string from /dev/tty until we get interrupted or get a + * carriage return or newline... + */ + + passptr = cg->password; + passend = cg->password + sizeof(cg->password) - 1; + + while (ReadFile(tty, &passch, 1, &passbytes, NULL)) + { + if (passch == 0x0A || passch == 0x0D) + { + /* + * Enter/return... + */ + + break; + } + else if (passch == 0x08 || passch == 0x7F) + { + /* + * Backspace/delete (erase character)... + */ + + if (passptr > cg->password) + { + passptr --; + fputs("\010 \010", stdout); + } + else + putchar(0x07); + } + else if (passch == 0x15) + { + /* + * CTRL+U (erase line) + */ + + if (passptr > cg->password) + { + while (passptr > cg->password) + { + passptr --; + fputs("\010 \010", stdout); + } + } + else + putchar(0x07); + } + else if (passch == 0x03) + { + /* + * CTRL+C... + */ + + passptr = cg->password; + break; + } + else if ((passch & 255) < 0x20 || passptr >= passend) + putchar(0x07); + else + { + *passptr++ = passch; + putchar(_CUPS_PASSCHAR); + } + + fflush(stdout); + } + + putchar('\n'); + fflush(stdout); + + /* + * Cleanup... + */ + + SetConsoleMode(tty, mode); + + /* + * Return the proper value... + */ + + if (passbytes == 1 && passptr > cg->password) + { + *passptr = '\0'; + return (cg->password); + } + else + { + memset(cg->password, 0, sizeof(cg->password)); + return (NULL); + } + +#else + int tty; /* /dev/tty - never read from stdin */ + struct termios original, /* Original input mode */ + noecho; /* No echo input mode */ + char passch, /* Current key press */ + *passptr, /* Pointer into password string */ + *passend; /* End of password string */ + ssize_t passbytes; /* Bytes read */ + _cups_globals_t *cg = _cupsGlobals(); + /* Thread globals */ + + + /* + * Disable input echo and set raw input... + */ + + if ((tty = open("/dev/tty", O_RDONLY)) < 0) + return (NULL); + + if (tcgetattr(tty, &original)) + { + close(tty); + return (NULL); + } + + noecho = original; + noecho.c_lflag &= (tcflag_t)~(ICANON | ECHO | ECHOE | ISIG); + noecho.c_cc[VMIN] = 1; + noecho.c_cc[VTIME] = 0; + + if (tcsetattr(tty, TCSAFLUSH, &noecho)) + { + close(tty); + return (NULL); + } + + /* + * Display the prompt... + */ + + printf("%s ", prompt); + fflush(stdout); + + /* + * Read the password string from /dev/tty until we get interrupted or get a + * carriage return or newline... + */ + + passptr = cg->password; + passend = cg->password + sizeof(cg->password) - 1; + + while ((passbytes = read(tty, &passch, 1)) == 1) + { + if (passch == noecho.c_cc[VEOL] || +# ifdef VEOL2 + passch == noecho.c_cc[VEOL2] || +# endif /* VEOL2 */ + passch == 0x0A || passch == 0x0D) + { + /* + * Enter/return... + */ + + break; + } + else if (passch == noecho.c_cc[VERASE] || + passch == 0x08 || passch == 0x7F) + { + /* + * Backspace/delete (erase character)... + */ + + if (passptr > cg->password) + { + passptr --; + fputs("\010 \010", stdout); + } + else + putchar(0x07); + } + else if (passch == noecho.c_cc[VKILL]) + { + /* + * CTRL+U (erase line) + */ + + if (passptr > cg->password) + { + while (passptr > cg->password) + { + passptr --; + fputs("\010 \010", stdout); + } + } + else + putchar(0x07); + } + else if (passch == noecho.c_cc[VINTR] || passch == noecho.c_cc[VQUIT] || + passch == noecho.c_cc[VEOF]) + { + /* + * CTRL+C, CTRL+D, or CTRL+Z... + */ + + passptr = cg->password; + break; + } + else if ((passch & 255) < 0x20 || passptr >= passend) + putchar(0x07); + else + { + *passptr++ = passch; + putchar(_CUPS_PASSCHAR); + } + + fflush(stdout); + } + + putchar('\n'); + fflush(stdout); + + /* + * Cleanup... + */ + + tcsetattr(tty, TCSAFLUSH, &original); + close(tty); + + /* + * Return the proper value... + */ + + if (passbytes == 1 && passptr > cg->password) + { + *passptr = '\0'; + return (cg->password); + } + else + { + memset(cg->password, 0, sizeof(cg->password)); + return (NULL); + } +#endif /* _WIN32 */ +} + + +#ifdef HAVE_GSSAPI +/* + * '_cupsGSSServiceName()' - Get the GSS (Kerberos) service name. + */ + +const char * +_cupsGSSServiceName(void) +{ + _cups_globals_t *cg = _cupsGlobals(); /* Thread globals */ + + + if (!cg->gss_service_name[0]) + _cupsSetDefaults(); + + return (cg->gss_service_name); +} +#endif /* HAVE_GSSAPI */ + + +/* + * '_cupsSetDefaults()' - Set the default server, port, and encryption. + */ + +void +_cupsSetDefaults(void) +{ + cups_file_t *fp; /* File */ + char filename[1024]; /* Filename */ + _cups_client_conf_t cc; /* client.conf values */ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + DEBUG_puts("_cupsSetDefaults()"); + + /* + * Load initial client.conf values... + */ + + cups_init_client_conf(&cc); + + /* + * Read the /etc/cups/client.conf and ~/.cups/client.conf files, if + * present. + */ + + snprintf(filename, sizeof(filename), "%s/client.conf", cg->cups_serverroot); + if ((fp = cupsFileOpen(filename, "r")) != NULL) + { + cups_read_client_conf(fp, &cc); + cupsFileClose(fp); + } + + if (cg->home) + { + /* + * Look for ~/.cups/client.conf... + */ + + snprintf(filename, sizeof(filename), "%s/.cups/client.conf", cg->home); + if ((fp = cupsFileOpen(filename, "r")) != NULL) + { + cups_read_client_conf(fp, &cc); + cupsFileClose(fp); + } + } + + /* + * Finalize things so every client.conf value is set... + */ + + cups_finalize_client_conf(&cc); + + cg->uatokens = cc.uatokens; + + if (cg->encryption == (http_encryption_t)-1) + cg->encryption = cc.encryption; + + if (!cg->server[0] || !cg->ipp_port) + cupsSetServer(cc.server_name); + + if (!cg->ipp_port) + cups_set_default_ipp_port(cg); + + if (!cg->user[0]) + strlcpy(cg->user, cc.user, sizeof(cg->user)); + +#ifdef HAVE_GSSAPI + if (!cg->gss_service_name[0]) + strlcpy(cg->gss_service_name, cc.gss_service_name, sizeof(cg->gss_service_name)); +#endif /* HAVE_GSSAPI */ + + if (cg->trust_first < 0) + cg->trust_first = cc.trust_first; + + if (cg->any_root < 0) + cg->any_root = cc.any_root; + + if (cg->expired_certs < 0) + cg->expired_certs = cc.expired_certs; + + if (cg->validate_certs < 0) + cg->validate_certs = cc.validate_certs; + +#ifdef HAVE_SSL + _httpTLSSetOptions(cc.ssl_options | _HTTP_TLS_SET_DEFAULT, cc.ssl_min_version, cc.ssl_max_version); +#endif /* HAVE_SSL */ +} + + +#ifdef __APPLE__ +/* + * 'cups_apple_get_boolean()' - Get a boolean setting from the CUPS preferences. + */ + +static int /* O - 1 if set, 0 otherwise */ +cups_apple_get_boolean( + CFStringRef key, /* I - Key (name) */ + int *value) /* O - Boolean value */ +{ + Boolean bval, /* Preference value */ + bval_set; /* Value is set? */ + + + bval = CFPreferencesGetAppBooleanValue(key, kCUPSPrintingPrefs, &bval_set); + + if (bval_set) + *value = (int)bval; + + return ((int)bval_set); +} + + +/* + * 'cups_apple_get_string()' - Get a string setting from the CUPS preferences. + */ + +static int /* O - 1 if set, 0 otherwise */ +cups_apple_get_string( + CFStringRef key, /* I - Key (name) */ + char *value, /* O - String value */ + size_t valsize) /* I - Size of value buffer */ +{ + CFStringRef sval; /* String value */ + + + if ((sval = CFPreferencesCopyAppValue(key, kCUPSPrintingPrefs)) != NULL) + { + Boolean result = CFStringGetCString(sval, value, (CFIndex)valsize, kCFStringEncodingUTF8); + + CFRelease(sval); + + if (result) + return (1); + } + + return (0); +} +#endif /* __APPLE__ */ + + +/* + * 'cups_boolean_value()' - Convert a string to a boolean value. + */ + +static int /* O - Boolean value */ +cups_boolean_value(const char *value) /* I - String value */ +{ + return (!_cups_strcasecmp(value, "yes") || !_cups_strcasecmp(value, "on") || !_cups_strcasecmp(value, "true")); +} + + +/* + * 'cups_finalize_client_conf()' - Finalize client.conf values. + */ + +static void +cups_finalize_client_conf( + _cups_client_conf_t *cc) /* I - client.conf values */ +{ + const char *value; /* Environment variable */ + + + if ((value = getenv("CUPS_TRUSTFIRST")) != NULL) + cc->trust_first = cups_boolean_value(value); + + if ((value = getenv("CUPS_ANYROOT")) != NULL) + cc->any_root = cups_boolean_value(value); + + if ((value = getenv("CUPS_ENCRYPTION")) != NULL) + cups_set_encryption(cc, value); + + if ((value = getenv("CUPS_EXPIREDCERTS")) != NULL) + cc->expired_certs = cups_boolean_value(value); + +#ifdef HAVE_GSSAPI + if ((value = getenv("CUPS_GSSSERVICENAME")) != NULL) + cups_set_gss_service_name(cc, value); +#endif /* HAVE_GSSAPI */ + + if ((value = getenv("CUPS_SERVER")) != NULL) + cups_set_server_name(cc, value); + + if ((value = getenv("CUPS_USER")) != NULL) + cups_set_user(cc, value); + + if ((value = getenv("CUPS_VALIDATECERTS")) != NULL) + cc->validate_certs = cups_boolean_value(value); + + /* + * Then apply defaults for those values that haven't been set... + */ + + if (cc->trust_first < 0) + cc->trust_first = 1; + + if (cc->any_root < 0) + cc->any_root = 1; + + if (cc->encryption == (http_encryption_t)-1) + cc->encryption = HTTP_ENCRYPTION_IF_REQUESTED; + + if (cc->expired_certs < 0) + cc->expired_certs = 0; + +#ifdef HAVE_GSSAPI + if (!cc->gss_service_name[0]) + cups_set_gss_service_name(cc, CUPS_DEFAULT_GSSSERVICENAME); +#endif /* HAVE_GSSAPI */ + + if (!cc->server_name[0]) + { + /* + * If we are compiled with domain socket support, only use the + * domain socket if it exists and has the right permissions... + */ + +#if defined(__APPLE__) && !TARGET_OS_OSX + cups_set_server_name(cc, "/private/var/run/printd"); + +#else +# ifdef CUPS_DEFAULT_DOMAINSOCKET + if (!access(CUPS_DEFAULT_DOMAINSOCKET, R_OK)) + cups_set_server_name(cc, CUPS_DEFAULT_DOMAINSOCKET); + else +# endif /* CUPS_DEFAULT_DOMAINSOCKET */ + cups_set_server_name(cc, "localhost"); +#endif /* __APPLE__ && !TARGET_OS_OSX */ + } + + if (!cc->user[0]) + { +#ifdef _WIN32 + /* + * Get the current user name from the OS... + */ + + DWORD size; /* Size of string */ + + size = sizeof(cc->user); + if (!GetUserNameA(cc->user, &size)) +#else + /* + * Try the USER environment variable as the default username... + */ + + const char *envuser = getenv("USER"); + /* Default username */ + struct passwd *pw = NULL; /* Account information */ + + if (envuser) + { + /* + * Validate USER matches the current UID, otherwise don't allow it to + * override things... This makes sure that printing after doing su + * or sudo records the correct username. + */ + + if ((pw = getpwnam(envuser)) != NULL && pw->pw_uid != getuid()) + pw = NULL; + } + + if (!pw) + pw = getpwuid(getuid()); + + if (pw) + strlcpy(cc->user, pw->pw_name, sizeof(cc->user)); + else +#endif /* _WIN32 */ + { + /* + * Use the default "unknown" user name... + */ + + strlcpy(cc->user, "unknown", sizeof(cc->user)); + } + } + + if (cc->validate_certs < 0) + cc->validate_certs = 0; +} + + +/* + * 'cups_init_client_conf()' - Initialize client.conf values. + */ + +static void +cups_init_client_conf( + _cups_client_conf_t *cc) /* I - client.conf values */ +{ + /* + * Clear all values to "not set"... + */ + + memset(cc, 0, sizeof(_cups_client_conf_t)); + + cc->uatokens = _CUPS_UATOKENS_MINIMAL; + +#if defined(__APPLE__) && !TARGET_OS_OSX + cups_set_user(cc, "mobile"); +#endif /* __APPLE__ && !TARGET_OS_OSX */ + +#ifdef HAVE_SSL + cc->ssl_min_version = _HTTP_TLS_1_0; + cc->ssl_max_version = _HTTP_TLS_MAX; +#endif /* HAVE_SSL */ + cc->encryption = (http_encryption_t)-1; + cc->trust_first = -1; + cc->any_root = -1; + cc->expired_certs = -1; + cc->validate_certs = -1; + + /* + * Load settings from the org.cups.PrintingPrefs plist (which trump + * everything...) + */ + +#if defined(__APPLE__) + char sval[1024]; /* String value */ +# ifdef HAVE_SSL + int bval; /* Boolean value */ + + if (cups_apple_get_boolean(kAllowAnyRootKey, &bval)) + cc->any_root = bval; + + if (cups_apple_get_boolean(kAllowExpiredCertsKey, &bval)) + cc->expired_certs = bval; + + if (cups_apple_get_string(kEncryptionKey, sval, sizeof(sval))) + cups_set_encryption(cc, sval); + + if (cups_apple_get_string(kSSLOptionsKey, sval, sizeof(sval))) + { + cups_set_ssl_options(cc, sval); + } + else + { + sval[0] = '\0'; + + if (cups_apple_get_boolean(kAllowRC4, &bval) && bval) + strlcat(sval, " AllowRC4", sizeof(sval)); + if (cups_apple_get_boolean(kAllowSSL3, &bval) && bval) + strlcat(sval, " AllowSSL3", sizeof(sval)); + if (cups_apple_get_boolean(kAllowDH, &bval) && bval) + strlcat(sval, " AllowDH", sizeof(sval)); + + if (sval[0]) + cups_set_ssl_options(cc, sval); + } + + if (cups_apple_get_boolean(kTrustOnFirstUseKey, &bval)) + cc->trust_first = bval; + + if (cups_apple_get_boolean(kValidateCertsKey, &bval)) + cc->validate_certs = bval; +# endif /* HAVE_SSL */ + + if (cups_apple_get_string(kDigestOptionsKey, sval, sizeof(sval))) + cups_set_digestoptions(cc, sval); + + if (cups_apple_get_string(kUserKey, sval, sizeof(sval))) + strlcpy(cc->user, sval, sizeof(cc->user)); + + if (cups_apple_get_string(kUserAgentTokensKey, sval, sizeof(sval))) + cups_set_uatokens(cc, sval); +#endif /* __APPLE__ */ +} + + +/* + * 'cups_read_client_conf()' - Read a client.conf file. + */ + +static void +cups_read_client_conf( + cups_file_t *fp, /* I - File to read */ + _cups_client_conf_t *cc) /* I - client.conf values */ +{ + int linenum; /* Current line number */ + char line[1024], /* Line from file */ + *value; /* Pointer into line */ + + + /* + * Read from the file... + */ + + linenum = 0; + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + if (!_cups_strcasecmp(line, "DigestOptions") && value) + cups_set_digestoptions(cc, value); + else if (!_cups_strcasecmp(line, "Encryption") && value) + cups_set_encryption(cc, value); +#ifndef __APPLE__ + /* + * The ServerName directive is not supported on macOS due to app + * sandboxing restrictions, i.e. not all apps request network access. + */ + else if (!_cups_strcasecmp(line, "ServerName") && value) + cups_set_server_name(cc, value); +#endif /* !__APPLE__ */ + else if (!_cups_strcasecmp(line, "User") && value) + cups_set_user(cc, value); + else if (!_cups_strcasecmp(line, "UserAgentTokens") && value) + cups_set_uatokens(cc, value); + else if (!_cups_strcasecmp(line, "TrustOnFirstUse") && value) + cc->trust_first = cups_boolean_value(value); + else if (!_cups_strcasecmp(line, "AllowAnyRoot") && value) + cc->any_root = cups_boolean_value(value); + else if (!_cups_strcasecmp(line, "AllowExpiredCerts") && + value) + cc->expired_certs = cups_boolean_value(value); + else if (!_cups_strcasecmp(line, "ValidateCerts") && value) + cc->validate_certs = cups_boolean_value(value); +#ifdef HAVE_GSSAPI + else if (!_cups_strcasecmp(line, "GSSServiceName") && value) + cups_set_gss_service_name(cc, value); +#endif /* HAVE_GSSAPI */ +#ifdef HAVE_SSL + else if (!_cups_strcasecmp(line, "SSLOptions") && value) + cups_set_ssl_options(cc, value); +#endif /* HAVE_SSL */ + } +} + + +/* + * 'cups_set_default_ipp_port()' - Set the default IPP port value. + */ + +static void +cups_set_default_ipp_port( + _cups_globals_t *cg) /* I - Global data */ +{ + const char *ipp_port; /* IPP_PORT environment variable */ + + + if ((ipp_port = getenv("IPP_PORT")) != NULL) + { + if ((cg->ipp_port = atoi(ipp_port)) <= 0) + cg->ipp_port = CUPS_DEFAULT_IPP_PORT; + } + else + cg->ipp_port = CUPS_DEFAULT_IPP_PORT; +} + + +/* + * 'cups_set_digestoptions()' - Set the DigestOptions value. + */ + +static void +cups_set_digestoptions( + _cups_client_conf_t *cc, /* I - client.conf values */ + const char *value) /* I - Value */ +{ + if (!_cups_strcasecmp(value, "DenyMD5")) + cc->digestoptions = _CUPS_DIGESTOPTIONS_DENYMD5; + else if (!_cups_strcasecmp(value, "None")) + cc->digestoptions = _CUPS_DIGESTOPTIONS_NONE; +} + + +/* + * 'cups_set_encryption()' - Set the Encryption value. + */ + +static void +cups_set_encryption( + _cups_client_conf_t *cc, /* I - client.conf values */ + const char *value) /* I - Value */ +{ + if (!_cups_strcasecmp(value, "never")) + cc->encryption = HTTP_ENCRYPTION_NEVER; + else if (!_cups_strcasecmp(value, "always")) + cc->encryption = HTTP_ENCRYPTION_ALWAYS; + else if (!_cups_strcasecmp(value, "required")) + cc->encryption = HTTP_ENCRYPTION_REQUIRED; + else + cc->encryption = HTTP_ENCRYPTION_IF_REQUESTED; +} + + +/* + * 'cups_set_gss_service_name()' - Set the GSSServiceName value. + */ + +#ifdef HAVE_GSSAPI +static void +cups_set_gss_service_name( + _cups_client_conf_t *cc, /* I - client.conf values */ + const char *value) /* I - Value */ +{ + strlcpy(cc->gss_service_name, value, sizeof(cc->gss_service_name)); +} +#endif /* HAVE_GSSAPI */ + + +/* + * 'cups_set_server_name()' - Set the ServerName value. + */ + +static void +cups_set_server_name( + _cups_client_conf_t *cc, /* I - client.conf values */ + const char *value) /* I - Value */ +{ + strlcpy(cc->server_name, value, sizeof(cc->server_name)); +} + + +/* + * 'cups_set_ssl_options()' - Set the SSLOptions value. + */ + +#ifdef HAVE_SSL +static void +cups_set_ssl_options( + _cups_client_conf_t *cc, /* I - client.conf values */ + const char *value) /* I - Value */ +{ + /* + * SSLOptions [AllowRC4] [AllowSSL3] [AllowDH] [DenyTLS1.0] [None] + */ + + int options = _HTTP_TLS_NONE, /* SSL/TLS options */ + min_version = _HTTP_TLS_1_0, /* Minimum SSL/TLS version */ + max_version = _HTTP_TLS_MAX; /* Maximum SSL/TLS version */ + char temp[256], /* Copy of value */ + *start, /* Start of option */ + *end; /* End of option */ + + + strlcpy(temp, value, sizeof(temp)); + + for (start = temp; *start; start = end) + { + /* + * Find end of keyword... + */ + + end = start; + while (*end && !_cups_isspace(*end)) + end ++; + + if (*end) + *end++ = '\0'; + + /* + * Compare... + */ + + if (!_cups_strcasecmp(start, "AllowRC4")) + options |= _HTTP_TLS_ALLOW_RC4; + else if (!_cups_strcasecmp(start, "AllowSSL3")) + min_version = _HTTP_TLS_SSL3; + else if (!_cups_strcasecmp(start, "AllowDH")) + options |= _HTTP_TLS_ALLOW_DH; + else if (!_cups_strcasecmp(start, "DenyCBC")) + options |= _HTTP_TLS_DENY_CBC; + else if (!_cups_strcasecmp(start, "DenyTLS1.0")) + min_version = _HTTP_TLS_1_1; + else if (!_cups_strcasecmp(start, "MaxTLS1.0")) + max_version = _HTTP_TLS_1_0; + else if (!_cups_strcasecmp(start, "MaxTLS1.1")) + max_version = _HTTP_TLS_1_1; + else if (!_cups_strcasecmp(start, "MaxTLS1.2")) + max_version = _HTTP_TLS_1_2; + else if (!_cups_strcasecmp(start, "MaxTLS1.3")) + max_version = _HTTP_TLS_1_3; + else if (!_cups_strcasecmp(start, "MinTLS1.0")) + min_version = _HTTP_TLS_1_0; + else if (!_cups_strcasecmp(start, "MinTLS1.1")) + min_version = _HTTP_TLS_1_1; + else if (!_cups_strcasecmp(start, "MinTLS1.2")) + min_version = _HTTP_TLS_1_2; + else if (!_cups_strcasecmp(start, "MinTLS1.3")) + min_version = _HTTP_TLS_1_3; + else if (!_cups_strcasecmp(start, "None")) + options = _HTTP_TLS_NONE; + } + + cc->ssl_options = options; + cc->ssl_max_version = max_version; + cc->ssl_min_version = min_version; + + DEBUG_printf(("4cups_set_ssl_options(cc=%p, value=\"%s\") options=%x, min_version=%d, max_version=%d", (void *)cc, value, options, min_version, max_version)); +} +#endif /* HAVE_SSL */ + + +/* + * 'cups_set_uatokens()' - Set the UserAgentTokens value. + */ + +static void +cups_set_uatokens( + _cups_client_conf_t *cc, /* I - client.conf values */ + const char *value) /* I - Value */ +{ + int i; /* Looping var */ + static const char * const uatokens[] =/* UserAgentTokens values */ + { + "NONE", + "PRODUCTONLY", + "MAJOR", + "MINOR", + "MINIMAL", + "OS", + "FULL" + }; + + for (i = 0; i < (int)(sizeof(uatokens) / sizeof(uatokens[0])); i ++) + { + if (!_cups_strcasecmp(value, uatokens[i])) + { + cc->uatokens = (_cups_uatokens_t)i; + return; + } + } +} + + +/* + * 'cups_set_user()' - Set the User value. + */ + +static void +cups_set_user( + _cups_client_conf_t *cc, /* I - client.conf values */ + const char *value) /* I - Value */ +{ + strlcpy(cc->user, value, sizeof(cc->user)); +} diff --git a/cups/utf8demo.txt b/cups/utf8demo.txt new file mode 100644 index 0000000..03802e4 --- /dev/null +++ b/cups/utf8demo.txt @@ -0,0 +1,213 @@ +UTF-8 encoded sample plain-text file +‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ + +Markus Kuhn [ˈmaʳkʊs kuːn] — 2002-07-25 + + +The ASCII compatible UTF-8 encoding used in this plain-text file +is defined in Unicode, ISO 10646-1, and RFC 2279. + + +Using Unicode/UTF-8, you can write in emails and source code things such as + +Mathematics and sciences: + + ∮ E⋅da = Q, n → ∞, ∑ f(i) = ∏ g(i), ⎧⎡⎛┌─────┐⎞⎤⎫ + ⎪⎢⎜│a²+b³ ⎟⎥⎪ + ∀x∈ℝ: ⌈x⌉ = −⌊−x⌋, α ∧ ¬β = ¬(¬α ∨ β), ⎪⎢⎜│───── ⎟⎥⎪ + ⎪⎢⎜⎷ c₈ ⎟⎥⎪ + ℕ ⊆ ℕ₀ ⊂ ℤ ⊂ ℚ ⊂ ℝ ⊂ ℂ, ⎨⎢⎜ ⎟⎥⎬ + ⎪⎢⎜ ∞ ⎟⎥⎪ + ⊥ < a ≠ b ≡ c ≤ d ≪ ⊤ ⇒ (⟦A⟧ ⇔ ⟪B⟫), ⎪⎢⎜ ⎲ ⎟⎥⎪ + ⎪⎢⎜ ⎳aⁱ-bⁱ⎟⎥⎪ + 2H₂ + O₂ ⇌ 2H₂O, R = 4.7 kΩ, ⌀ 200 mm ⎩⎣⎝i=1 ⎠⎦⎭ + +Linguistics and dictionaries: + + ði ıntəˈnæʃənəl fəˈnɛtık əsoʊsiˈeıʃn + Y [ˈʏpsilɔn], Yen [jɛn], Yoga [ˈjoːgɑ] + +APL: + + ((V⍳V)=⍳⍴V)/V←,V ⌷←⍳→⍴∆∇⊃‾⍎⍕⌈ + +Nicer typography in plain text files: + + ╔══════════════════════════════════════════╗ + ║ ║ + ║ • ‘single’ and “double” quotes ║ + ║ ║ + ║ • Curly apostrophes: “We’ve been here” ║ + ║ ║ + ║ • Latin-1 apostrophe and accents: '´` ║ + ║ ║ + ║ • ‚deutsche‘ „Anführungszeichen“ ║ + ║ ║ + ║ • †, ‡, ‰, •, 3–4, —, −5/+5, ™, … ║ + ║ ║ + ║ • ASCII safety test: 1lI|, 0OD, 8B ║ + ║ ╭─────────╮ ║ + ║ • the euro symbol: │ 14.95 € │ ║ + ║ ╰─────────╯ ║ + ╚══════════════════════════════════════════╝ + +Combining characters: + + STARGΛ̊TE SG-1, a = v̇ = r̈, a⃑ ⊥ b⃑ + +Greek (in Polytonic): + + The Greek anthem: + + Σὲ γνωρίζω ἀπὸ τὴν κόψη + τοῦ σπαθιοῦ τὴν τρομερή, + σὲ γνωρίζω ἀπὸ τὴν ὄψη + ποὺ μὲ βία μετράει τὴ γῆ. + + ᾿Απ᾿ τὰ κόκκαλα βγαλμένη + τῶν ῾Ελλήνων τὰ ἱερά + καὶ σὰν πρῶτα ἀνδρειωμένη + χαῖρε, ὦ χαῖρε, ᾿Ελευθεριά! + + From a speech of Demosthenes in the 4th century BC: + + Οὐχὶ ταὐτὰ παρίσταταί μοι γιγνώσκειν, ὦ ἄνδρες ᾿Αθηναῖοι, + ὅταν τ᾿ εἰς τὰ πράγματα ἀποβλέψω καὶ ὅταν πρὸς τοὺς + λόγους οὓς ἀκούω· τοὺς μὲν γὰρ λόγους περὶ τοῦ + τιμωρήσασθαι Φίλιππον ὁρῶ γιγνομένους, τὰ δὲ πράγματ᾿ + εἰς τοῦτο προήκοντα, ὥσθ᾿ ὅπως μὴ πεισόμεθ᾿ αὐτοὶ + πρότερον κακῶς σκέψασθαι δέον. οὐδέν οὖν ἄλλο μοι δοκοῦσιν + οἱ τὰ τοιαῦτα λέγοντες ἢ τὴν ὑπόθεσιν, περὶ ἧς βουλεύεσθαι, + οὐχὶ τὴν οὖσαν παριστάντες ὑμῖν ἁμαρτάνειν. ἐγὼ δέ, ὅτι μέν + ποτ᾿ ἐξῆν τῇ πόλει καὶ τὰ αὑτῆς ἔχειν ἀσφαλῶς καὶ Φίλιππον + τιμωρήσασθαι, καὶ μάλ᾿ ἀκριβῶς οἶδα· ἐπ᾿ ἐμοῦ γάρ, οὐ πάλαι + γέγονεν ταῦτ᾿ ἀμφότερα· νῦν μέντοι πέπεισμαι τοῦθ᾿ ἱκανὸν + προλαβεῖν ἡμῖν εἶναι τὴν πρώτην, ὅπως τοὺς συμμάχους + σώσομεν. ἐὰν γὰρ τοῦτο βεβαίως ὑπάρξῃ, τότε καὶ περὶ τοῦ + τίνα τιμωρήσεταί τις καὶ ὃν τρόπον ἐξέσται σκοπεῖν· πρὶν δὲ + τὴν ἀρχὴν ὀρθῶς ὑποθέσθαι, μάταιον ἡγοῦμαι περὶ τῆς + τελευτῆς ὁντινοῦν ποιεῖσθαι λόγον. + + Δημοσθένους, Γ´ ᾿Ολυνθιακὸς + +Georgian: + + From a Unicode conference invitation: + + გთხოვთ ახლავე გაიაროთ რეგისტრაცია Unicode-ის მეათე საერთაშორისო + კონფერენციაზე დასასწრებად, რომელიც გაიმართება 10-12 მარტს, + ქ. მაინცში, გერმანიაში. კონფერენცია შეჰკრებს ერთად მსოფლიოს + ექსპერტებს ისეთ დარგებში როგორიცაა ინტერნეტი და Unicode-ი, + ინტერნაციონალიზაცია და ლოკალიზაცია, Unicode-ის გამოყენება + ოპერაციულ სისტემებსა, და გამოყენებით პროგრამებში, შრიფტებში, + ტექსტების დამუშავებასა და მრავალენოვან კომპიუტერულ სისტემებში. + +Russian: + + From a Unicode conference invitation: + + Зарегистрируйтесь сейчас на Десятую Международную Конференцию по + Unicode, которая состоится 10-12 марта 1997 года в Майнце в Германии. + Конференция соберет широкий круг экспертов по вопросам глобального + Интернета и Unicode, локализации и интернационализации, воплощению и + применению Unicode в различных операционных системах и программных + приложениях, шрифтах, верстке и многоязычных компьютерных системах. + +Thai (UCS Level 2): + + Excerpt from a poetry on The Romance of The Three Kingdoms (a Chinese + classic 'San Gua'): + + [----------------------------|------------------------] + ๏ แผ่นดินฮั่นเสื่อมโทรมแสนสังเวช พระปกเกศกองบู๊กู้ขึ้นใหม่ + สิบสองกษัตริย์ก่อนหน้าแลถัดไป สององค์ไซร้โง่เขลาเบาปัญญา + ทรงนับถือขันทีเป็นที่พึ่ง บ้านเมืองจึงวิปริตเป็นนักหนา + โฮจิ๋นเรียกทัพทั่วหัวเมืองมา หมายจะฆ่ามดชั่วตัวสำคัญ + เหมือนขับไสไล่เสือจากเคหา รับหมาป่าเข้ามาเลยอาสัญ + ฝ่ายอ้องอุ้นยุแยกให้แตกกัน ใช้สาวนั้นเป็นชนวนชื่นชวนใจ + พลันลิฉุยกุยกีกลับก่อเหตุ ช่างอาเพศจริงหนาฟ้าร้องไห้ + ต้องรบราฆ่าฟันจนบรรลัย ฤๅหาใครค้ำชูกู้บรรลังก์ ฯ + + (The above is a two-column text. If combining characters are handled + correctly, the lines of the second column should be aligned with the + | character above.) + +Ethiopian: + + Proverbs in the Amharic language: + + ሰማይ አይታረስ ንጉሥ አይከሰስ። + ብላ ካለኝ እንደአባቴ በቆመጠኝ። + ጌጥ ያለቤቱ ቁምጥና ነው። + ደሀ በሕልሙ ቅቤ ባይጠጣ ንጣት በገደለው። + የአፍ ወለምታ በቅቤ አይታሽም። + አይጥ በበላ ዳዋ ተመታ። + ሲተረጉሙ ይደረግሙ። + ቀስ በቀስ፥ ዕንቁላል በእግሩ ይሄዳል። + ድር ቢያብር አንበሳ ያስር። + ሰው እንደቤቱ እንጅ እንደ ጉረቤቱ አይተዳደርም። + እግዜር የከፈተውን ጉሮሮ ሳይዘጋው አይድርም። + የጎረቤት ሌባ፥ ቢያዩት ይስቅ ባያዩት ያጠልቅ። + ሥራ ከመፍታት ልጄን ላፋታት። + ዓባይ ማደሪያ የለው፥ ግንድ ይዞ ይዞራል። + የእስላም አገሩ መካ የአሞራ አገሩ ዋርካ። + ተንጋሎ ቢተፉ ተመልሶ ባፉ። + ወዳጅህ ማር ቢሆን ጨርስህ አትላሰው። + እግርህን በፍራሽህ ልክ ዘርጋ። + +Runes: + + ᚻᛖ ᚳᚹᚫᚦ ᚦᚫᛏ ᚻᛖ ᛒᚢᛞᛖ ᚩᚾ ᚦᚫᛗ ᛚᚪᚾᛞᛖ ᚾᚩᚱᚦᚹᛖᚪᚱᛞᚢᛗ ᚹᛁᚦ ᚦᚪ ᚹᛖᛥᚫ + + (Old English, which transcribed into Latin reads 'He cwaeth that he + bude thaem lande northweardum with tha Westsae.' and means 'He said + that he lived in the northern land near the Western Sea.') + +Braille: + + ⡌⠁⠧⠑ ⠼⠁⠒ ⡍⠜⠇⠑⠹⠰⠎ ⡣⠕⠌ + + ⡍⠜⠇⠑⠹ ⠺⠁⠎ ⠙⠑⠁⠙⠒ ⠞⠕ ⠃⠑⠛⠔ ⠺⠊⠹⠲ ⡹⠻⠑ ⠊⠎ ⠝⠕ ⠙⠳⠃⠞ + ⠱⠁⠞⠑⠧⠻ ⠁⠃⠳⠞ ⠹⠁⠞⠲ ⡹⠑ ⠗⠑⠛⠊⠌⠻ ⠕⠋ ⠙⠊⠎ ⠃⠥⠗⠊⠁⠇ ⠺⠁⠎ + ⠎⠊⠛⠝⠫ ⠃⠹ ⠹⠑ ⠊⠇⠻⠛⠹⠍⠁⠝⠂ ⠹⠑ ⠊⠇⠻⠅⠂ ⠹⠑ ⠥⠝⠙⠻⠞⠁⠅⠻⠂ + ⠁⠝⠙ ⠹⠑ ⠡⠊⠑⠋ ⠍⠳⠗⠝⠻⠲ ⡎⠊⠗⠕⠕⠛⠑ ⠎⠊⠛⠝⠫ ⠊⠞⠲ ⡁⠝⠙ + ⡎⠊⠗⠕⠕⠛⠑⠰⠎ ⠝⠁⠍⠑ ⠺⠁⠎ ⠛⠕⠕⠙ ⠥⠏⠕⠝ ⠰⡡⠁⠝⠛⠑⠂ ⠋⠕⠗ ⠁⠝⠹⠹⠔⠛ ⠙⠑ + ⠡⠕⠎⠑ ⠞⠕ ⠏⠥⠞ ⠙⠊⠎ ⠙⠁⠝⠙ ⠞⠕⠲ + + ⡕⠇⠙ ⡍⠜⠇⠑⠹ ⠺⠁⠎ ⠁⠎ ⠙⠑⠁⠙ ⠁⠎ ⠁ ⠙⠕⠕⠗⠤⠝⠁⠊⠇⠲ + + ⡍⠔⠙⠖ ⡊ ⠙⠕⠝⠰⠞ ⠍⠑⠁⠝ ⠞⠕ ⠎⠁⠹ ⠹⠁⠞ ⡊ ⠅⠝⠪⠂ ⠕⠋ ⠍⠹ + ⠪⠝ ⠅⠝⠪⠇⠫⠛⠑⠂ ⠱⠁⠞ ⠹⠻⠑ ⠊⠎ ⠏⠜⠞⠊⠊⠥⠇⠜⠇⠹ ⠙⠑⠁⠙ ⠁⠃⠳⠞ + ⠁ ⠙⠕⠕⠗⠤⠝⠁⠊⠇⠲ ⡊ ⠍⠊⠣⠞ ⠙⠁⠧⠑ ⠃⠑⠲ ⠔⠊⠇⠔⠫⠂ ⠍⠹⠎⠑⠇⠋⠂ ⠞⠕ + ⠗⠑⠛⠜⠙ ⠁ ⠊⠕⠋⠋⠔⠤⠝⠁⠊⠇ ⠁⠎ ⠹⠑ ⠙⠑⠁⠙⠑⠌ ⠏⠊⠑⠊⠑ ⠕⠋ ⠊⠗⠕⠝⠍⠕⠝⠛⠻⠹ + ⠔ ⠹⠑ ⠞⠗⠁⠙⠑⠲ ⡃⠥⠞ ⠹⠑ ⠺⠊⠎⠙⠕⠍ ⠕⠋ ⠳⠗ ⠁⠝⠊⠑⠌⠕⠗⠎ + ⠊⠎ ⠔ ⠹⠑ ⠎⠊⠍⠊⠇⠑⠆ ⠁⠝⠙ ⠍⠹ ⠥⠝⠙⠁⠇⠇⠪⠫ ⠙⠁⠝⠙⠎ + ⠩⠁⠇⠇ ⠝⠕⠞ ⠙⠊⠌⠥⠗⠃ ⠊⠞⠂ ⠕⠗ ⠹⠑ ⡊⠳⠝⠞⠗⠹⠰⠎ ⠙⠕⠝⠑ ⠋⠕⠗⠲ ⡹⠳ + ⠺⠊⠇⠇ ⠹⠻⠑⠋⠕⠗⠑ ⠏⠻⠍⠊⠞ ⠍⠑ ⠞⠕ ⠗⠑⠏⠑⠁⠞⠂ ⠑⠍⠏⠙⠁⠞⠊⠊⠁⠇⠇⠹⠂ ⠹⠁⠞ + ⡍⠜⠇⠑⠹ ⠺⠁⠎ ⠁⠎ ⠙⠑⠁⠙ ⠁⠎ ⠁ ⠙⠕⠕⠗⠤⠝⠁⠊⠇⠲ + + (The first couple of paragraphs of "A Christmas Carol" by Dickens) + +Compact font selection example text: + + ABCDEFGHIJKLMNOPQRSTUVWXYZ /0123456789 + abcdefghijklmnopqrstuvwxyz £©µÀÆÖÞßéöÿ + –—‘“”„†•…‰™œŠŸž€ ΑΒΓΔΩαβγδω АБВГДабвгд + ∀∂∈ℝ∧∪≡∞ ↑↗↨↻⇣ ┐┼╔╘░►☺♀ fi?⑀₂ἠḂӥẄɐː⍎אԱა + +Greetings in various languages: + + Hello world, Καλημέρα κόσμε, コンニチハ + +Box drawing alignment tests: █ + ▉ + ╔══╦══╗ ┌──┬──┐ ╭──┬──╮ ╭──┬──╮ ┏━━┳━━┓ ┎┒┏┑ ╷ ╻ ┏┯┓ ┌┰┐ ▊ ╱╲╱╲╳╳╳ + ║┌─╨─┐║ │╔═╧═╗│ │╒═╪═╕│ │╓─╁─╖│ ┃┌─╂─┐┃ ┗╃╄┙ ╶┼╴╺╋╸┠┼┨ ┝╋┥ ▋ ╲╱╲╱╳╳╳ + ║│╲ ╱│║ │║ ║│ ││ │ ││ │║ ┃ ║│ ┃│ ╿ │┃ ┍╅╆┓ ╵ ╹ ┗┷┛ └┸┘ ▌ ╱╲╱╲╳╳╳ + ╠╡ ╳ ╞╣ ├╢ ╟┤ ├┼─┼─┼┤ ├╫─╂─╫┤ ┣┿╾┼╼┿┫ ┕┛┖┚ ┌┄┄┐ ╎ ┏┅┅┓ ┋ ▍ ╲╱╲╱╳╳╳ + ║│╱ ╲│║ │║ ║│ ││ │ ││ │║ ┃ ║│ ┃│ ╽ │┃ ░░▒▒▓▓██ ┊ ┆ ╎ ╏ ┇ ┋ ▎ + ║└─╥─┘║ │╚═╤═╝│ │╘═╪═╛│ │╙─╀─╜│ ┃└─╂─┘┃ ░░▒▒▓▓██ ┊ ┆ ╎ ╏ ┇ ┋ ▏ + ╚══╩══╝ └──┴──┘ ╰──┴──╯ ╰──┴──╯ ┗━━┻━━┛ ▗▄▖▛▀▜ └╌╌┘ ╎ ┗╍╍┛ ┋ ▁▂▃▄▅▆▇█ + ▝▀▘▙▄▟ + + diff --git a/cups/util.c b/cups/util.c new file mode 100644 index 0000000..0961ac9 --- /dev/null +++ b/cups/util.c @@ -0,0 +1,954 @@ +/* + * Printing utilities for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include "debug-internal.h" +#include +#include +#if defined(_WIN32) || defined(__EMX__) +# include +#else +# include +#endif /* _WIN32 || __EMX__ */ + + +/* + * 'cupsCancelJob()' - Cancel a print job on the default server. + * + * Pass @code CUPS_JOBID_ALL@ to cancel all jobs or @code CUPS_JOBID_CURRENT@ + * to cancel the current job on the named destination. + * + * Use the @link cupsLastError@ and @link cupsLastErrorString@ functions to get + * the cause of any failure. + * + * @exclude all@ + */ + +int /* O - 1 on success, 0 on failure */ +cupsCancelJob(const char *name, /* I - Name of printer or class */ + int job_id) /* I - Job ID, @code CUPS_JOBID_CURRENT@ for the current job, or @code CUPS_JOBID_ALL@ for all jobs */ +{ + return (cupsCancelJob2(CUPS_HTTP_DEFAULT, name, job_id, 0) + < IPP_STATUS_REDIRECTION_OTHER_SITE); +} + + +/* + * 'cupsCancelJob2()' - Cancel or purge a print job. + * + * Canceled jobs remain in the job history while purged jobs are removed + * from the job history. + * + * Pass @code CUPS_JOBID_ALL@ to cancel all jobs or @code CUPS_JOBID_CURRENT@ + * to cancel the current job on the named destination. + * + * Use the @link cupsLastError@ and @link cupsLastErrorString@ functions to get + * the cause of any failure. + * + * @since CUPS 1.4/macOS 10.6@ @exclude all@ + */ + +ipp_status_t /* O - IPP status */ +cupsCancelJob2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *name, /* I - Name of printer or class */ + int job_id, /* I - Job ID, @code CUPS_JOBID_CURRENT@ for the current job, or @code CUPS_JOBID_ALL@ for all jobs */ + int purge) /* I - 1 to purge, 0 to cancel */ +{ + char uri[HTTP_MAX_URI]; /* Job/printer URI */ + ipp_t *request; /* IPP request */ + + + /* + * Range check input... + */ + + if (job_id < -1 || (!name && job_id == 0)) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (0); + } + + /* + * Connect to the default server as needed... + */ + + if (!http) + if ((http = _cupsConnect()) == NULL) + return (IPP_STATUS_ERROR_SERVICE_UNAVAILABLE); + + /* + * Build an IPP_CANCEL_JOB or IPP_PURGE_JOBS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * job-uri or printer-uri + job-id + * requesting-user-name + * [purge-job] or [purge-jobs] + */ + + request = ippNewRequest(job_id < 0 ? IPP_OP_PURGE_JOBS : IPP_OP_CANCEL_JOB); + + if (name) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", ippPort(), "/printers/%s", name); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, + uri); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", + job_id); + } + else if (job_id > 0) + { + snprintf(uri, sizeof(uri), "ipp://localhost/jobs/%d", job_id); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, uri); + } + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + if (purge && job_id >= 0) + ippAddBoolean(request, IPP_TAG_OPERATION, "purge-job", 1); + else if (!purge && job_id < 0) + ippAddBoolean(request, IPP_TAG_OPERATION, "purge-jobs", 0); + + /* + * Do the request... + */ + + ippDelete(cupsDoRequest(http, request, "/jobs/")); + + return (cupsLastError()); +} + + +/* + * 'cupsCreateJob()' - Create an empty job for streaming. + * + * Use this function when you want to stream print data using the + * @link cupsStartDocument@, @link cupsWriteRequestData@, and + * @link cupsFinishDocument@ functions. If you have one or more files to + * print, use the @link cupsPrintFile2@ or @link cupsPrintFiles2@ function + * instead. + * + * @since CUPS 1.4/macOS 10.6@ @exclude all@ + */ + +int /* O - Job ID or 0 on error */ +cupsCreateJob( + http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *name, /* I - Destination name */ + const char *title, /* I - Title of job */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + int job_id = 0; /* job-id value */ + ipp_status_t status; /* Create-Job status */ + cups_dest_t *dest; /* Destination */ + cups_dinfo_t *info; /* Destination information */ + + + DEBUG_printf(("cupsCreateJob(http=%p, name=\"%s\", title=\"%s\", num_options=%d, options=%p)", (void *)http, name, title, num_options, (void *)options)); + + /* + * Range check input... + */ + + if (!name) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + return (0); + } + + /* + * Lookup the destination... + */ + + if ((dest = cupsGetNamedDest(http, name, NULL)) == NULL) + { + DEBUG_puts("1cupsCreateJob: Destination not found."); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOENT), 0); + return (0); + } + + /* + * Query dest information and create the job... + */ + + DEBUG_puts("1cupsCreateJob: Querying destination info."); + if ((info = cupsCopyDestInfo(http, dest)) == NULL) + { + DEBUG_puts("1cupsCreateJob: Query failed."); + cupsFreeDests(1, dest); + return (0); + } + + status = cupsCreateDestJob(http, dest, info, &job_id, title, num_options, options); + DEBUG_printf(("1cupsCreateJob: cupsCreateDestJob returned %04x (%s)", status, ippErrorString(status))); + + cupsFreeDestInfo(info); + cupsFreeDests(1, dest); + + /* + * Return the job... + */ + + if (status >= IPP_STATUS_REDIRECTION_OTHER_SITE) + return (0); + else + return (job_id); +} + + +/* + * 'cupsFinishDocument()' - Finish sending a document. + * + * The document must have been started using @link cupsStartDocument@. + * + * @since CUPS 1.4/macOS 10.6@ @exclude all@ + */ + +ipp_status_t /* O - Status of document submission */ +cupsFinishDocument(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *name) /* I - Destination name */ +{ + char resource[1024]; /* Printer resource */ + + + snprintf(resource, sizeof(resource), "/printers/%s", name); + + ippDelete(cupsGetResponse(http, resource)); + + return (cupsLastError()); +} + + +/* + * 'cupsFreeJobs()' - Free memory used by job data. + */ + +void +cupsFreeJobs(int num_jobs, /* I - Number of jobs */ + cups_job_t *jobs) /* I - Jobs */ +{ + int i; /* Looping var */ + cups_job_t *job; /* Current job */ + + + if (num_jobs <= 0 || !jobs) + return; + + for (i = num_jobs, job = jobs; i > 0; i --, job ++) + { + _cupsStrFree(job->dest); + _cupsStrFree(job->user); + _cupsStrFree(job->format); + _cupsStrFree(job->title); + } + + free(jobs); +} + + +/* + * 'cupsGetClasses()' - Get a list of printer classes from the default server. + * + * This function is deprecated and no longer returns a list of printer + * classes - use @link cupsGetDests@ instead. + * + * @deprecated@ @exclude all@ + */ + +int /* O - Number of classes */ +cupsGetClasses(char ***classes) /* O - Classes */ +{ + if (classes) + *classes = NULL; + + return (0); +} + + +/* + * 'cupsGetDefault()' - Get the default printer or class for the default server. + * + * 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 @link cupsGetDests@ and @link cupsGetDest@ + * functions to get the user-defined default printer, as this function does + * not support the lpoptions-defined default printer. + * + * @exclude all@ + */ + +const char * /* O - Default printer or @code NULL@ */ +cupsGetDefault(void) +{ + /* + * Return the default printer... + */ + + return (cupsGetDefault2(CUPS_HTTP_DEFAULT)); +} + + +/* + * 'cupsGetDefault2()' - Get the default printer or class for the specified server. + * + * 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 @link cupsGetDests@ and @link cupsGetDest@ + * functions to get the user-defined default printer, as this function does + * not support the lpoptions-defined default printer. + * + * @since CUPS 1.1.21/macOS 10.4@ @exclude all@ + */ + +const char * /* O - Default printer or @code NULL@ */ +cupsGetDefault2(http_t *http) /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ +{ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr; /* Current attribute */ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + + + /* + * See if we have a user default printer set... + */ + + if (_cupsUserDefault(cg->def_printer, sizeof(cg->def_printer))) + return (cg->def_printer); + + /* + * Connect to the server as needed... + */ + + if (!http) + if ((http = _cupsConnect()) == NULL) + return (NULL); + + /* + * Build a CUPS_GET_DEFAULT request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + */ + + request = ippNewRequest(IPP_OP_CUPS_GET_DEFAULT); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + if ((attr = ippFindAttribute(response, "printer-name", + IPP_TAG_NAME)) != NULL) + { + strlcpy(cg->def_printer, attr->values[0].string.text, + sizeof(cg->def_printer)); + ippDelete(response); + return (cg->def_printer); + } + + ippDelete(response); + } + + return (NULL); +} + + +/* + * 'cupsGetJobs()' - Get the jobs from the default server. + * + * A "whichjobs" value of @code CUPS_WHICHJOBS_ALL@ returns all jobs regardless + * of state, while @code CUPS_WHICHJOBS_ACTIVE@ returns jobs that are + * pending, processing, or held and @code CUPS_WHICHJOBS_COMPLETED@ returns + * jobs that are stopped, canceled, aborted, or completed. + * + * @exclude all@ + */ + +int /* O - Number of jobs */ +cupsGetJobs(cups_job_t **jobs, /* O - Job data */ + const char *name, /* I - @code NULL@ = all destinations, otherwise show jobs for named destination */ + int myjobs, /* I - 0 = all users, 1 = mine */ + int whichjobs) /* I - @code CUPS_WHICHJOBS_ALL@, @code CUPS_WHICHJOBS_ACTIVE@, or @code CUPS_WHICHJOBS_COMPLETED@ */ +{ + /* + * Return the jobs... + */ + + return (cupsGetJobs2(CUPS_HTTP_DEFAULT, jobs, name, myjobs, whichjobs)); +} + + + +/* + * 'cupsGetJobs2()' - Get the jobs from the specified server. + * + * A "whichjobs" value of @code CUPS_WHICHJOBS_ALL@ returns all jobs regardless + * of state, while @code CUPS_WHICHJOBS_ACTIVE@ returns jobs that are + * pending, processing, or held and @code CUPS_WHICHJOBS_COMPLETED@ returns + * jobs that are stopped, canceled, aborted, or completed. + * + * @since CUPS 1.1.21/macOS 10.4@ + */ + +int /* O - Number of jobs */ +cupsGetJobs2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + cups_job_t **jobs, /* O - Job data */ + const char *name, /* I - @code NULL@ = all destinations, otherwise show jobs for named destination */ + int myjobs, /* I - 0 = all users, 1 = mine */ + int whichjobs) /* I - @code CUPS_WHICHJOBS_ALL@, @code CUPS_WHICHJOBS_ACTIVE@, or @code CUPS_WHICHJOBS_COMPLETED@ */ +{ + int n; /* Number of jobs */ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr; /* Current attribute */ + cups_job_t *temp; /* Temporary pointer */ + int id, /* job-id */ + priority, /* job-priority */ + size; /* job-k-octets */ + ipp_jstate_t state; /* job-state */ + time_t completed_time, /* time-at-completed */ + creation_time, /* time-at-creation */ + processing_time; /* time-at-processing */ + const char *dest, /* job-printer-uri */ + *format, /* document-format */ + *title, /* job-name */ + *user; /* job-originating-user-name */ + char uri[HTTP_MAX_URI]; /* URI for jobs */ + _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ + static const char * const attrs[] = /* Requested attributes */ + { + "document-format", + "job-id", + "job-k-octets", + "job-name", + "job-originating-user-name", + "job-printer-uri", + "job-priority", + "job-state", + "time-at-completed", + "time-at-creation", + "time-at-processing" + }; + + + /* + * Range check input... + */ + + if (!jobs) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + + return (-1); + } + + /* + * Get the right URI... + */ + + if (name) + { + if (httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", + name) < HTTP_URI_STATUS_OK) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, + _("Unable to create printer-uri"), 1); + + return (-1); + } + } + else + strlcpy(uri, "ipp://localhost/", sizeof(uri)); + + if (!http) + if ((http = _cupsConnect()) == NULL) + return (-1); + + /* + * Build an IPP_GET_JOBS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name + * which-jobs + * my-jobs + * requested-attributes + */ + + request = ippNewRequest(IPP_OP_GET_JOBS); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + + if (myjobs) + ippAddBoolean(request, IPP_TAG_OPERATION, "my-jobs", 1); + + if (whichjobs == CUPS_WHICHJOBS_COMPLETED) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "which-jobs", NULL, "completed"); + else if (whichjobs == CUPS_WHICHJOBS_ALL) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "which-jobs", NULL, "all"); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", sizeof(attrs) / sizeof(attrs[0]), + NULL, attrs); + + /* + * Do the request and get back a response... + */ + + n = 0; + *jobs = NULL; + + if ((response = cupsDoRequest(http, request, "/")) != NULL) + { + for (attr = response->attrs; attr; attr = attr->next) + { + /* + * Skip leading attributes until we hit a job... + */ + + while (attr && attr->group_tag != IPP_TAG_JOB) + attr = attr->next; + + if (!attr) + break; + + /* + * Pull the needed attributes from this job... + */ + + id = 0; + size = 0; + priority = 50; + state = IPP_JSTATE_PENDING; + user = "unknown"; + dest = NULL; + format = "application/octet-stream"; + title = "untitled"; + creation_time = 0; + completed_time = 0; + processing_time = 0; + + while (attr && attr->group_tag == IPP_TAG_JOB) + { + if (!strcmp(attr->name, "job-id") && + attr->value_tag == IPP_TAG_INTEGER) + id = attr->values[0].integer; + else if (!strcmp(attr->name, "job-state") && + attr->value_tag == IPP_TAG_ENUM) + state = (ipp_jstate_t)attr->values[0].integer; + else if (!strcmp(attr->name, "job-priority") && + attr->value_tag == IPP_TAG_INTEGER) + priority = attr->values[0].integer; + else if (!strcmp(attr->name, "job-k-octets") && + attr->value_tag == IPP_TAG_INTEGER) + size = attr->values[0].integer; + else if (!strcmp(attr->name, "time-at-completed") && + attr->value_tag == IPP_TAG_INTEGER) + completed_time = attr->values[0].integer; + else if (!strcmp(attr->name, "time-at-creation") && + attr->value_tag == IPP_TAG_INTEGER) + creation_time = attr->values[0].integer; + else if (!strcmp(attr->name, "time-at-processing") && + attr->value_tag == IPP_TAG_INTEGER) + processing_time = attr->values[0].integer; + else if (!strcmp(attr->name, "job-printer-uri") && + attr->value_tag == IPP_TAG_URI) + { + if ((dest = strrchr(attr->values[0].string.text, '/')) != NULL) + dest ++; + } + else if (!strcmp(attr->name, "job-originating-user-name") && + attr->value_tag == IPP_TAG_NAME) + user = attr->values[0].string.text; + else if (!strcmp(attr->name, "document-format") && + attr->value_tag == IPP_TAG_MIMETYPE) + format = attr->values[0].string.text; + else if (!strcmp(attr->name, "job-name") && + (attr->value_tag == IPP_TAG_TEXT || + attr->value_tag == IPP_TAG_NAME)) + title = attr->values[0].string.text; + + attr = attr->next; + } + + /* + * See if we have everything needed... + */ + + if (!dest || !id) + { + if (!attr) + break; + else + continue; + } + + /* + * Allocate memory for the job... + */ + + if (n == 0) + temp = malloc(sizeof(cups_job_t)); + else + temp = realloc(*jobs, sizeof(cups_job_t) * (size_t)(n + 1)); + + if (!temp) + { + /* + * Ran out of memory! + */ + + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, NULL, 0); + + cupsFreeJobs(n, *jobs); + *jobs = NULL; + + ippDelete(response); + + return (-1); + } + + *jobs = temp; + temp += n; + n ++; + + /* + * Copy the data over... + */ + + temp->dest = _cupsStrAlloc(dest); + temp->user = _cupsStrAlloc(user); + temp->format = _cupsStrAlloc(format); + temp->title = _cupsStrAlloc(title); + temp->id = id; + temp->priority = priority; + temp->state = state; + temp->size = size; + temp->completed_time = completed_time; + temp->creation_time = creation_time; + temp->processing_time = processing_time; + + if (!attr) + break; + } + + ippDelete(response); + } + + if (n == 0 && cg->last_error >= IPP_STATUS_ERROR_BAD_REQUEST) + return (-1); + else + return (n); +} + + +/* + * 'cupsGetPrinters()' - Get a list of printers from the default server. + * + * This function is deprecated and no longer returns a list of printers - use + * @link cupsGetDests@ instead. + * + * @deprecated@ @exclude all@ + */ + +int /* O - Number of printers */ +cupsGetPrinters(char ***printers) /* O - Printers */ +{ + if (printers) + *printers = NULL; + + return (0); +} + + +/* + * 'cupsPrintFile()' - Print a file to a printer or class on the default server. + * + * @exclude all@ + */ + +int /* O - Job ID or 0 on error */ +cupsPrintFile(const char *name, /* I - Destination name */ + const char *filename, /* I - File to print */ + const char *title, /* I - Title of job */ + int num_options,/* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + DEBUG_printf(("cupsPrintFile(name=\"%s\", filename=\"%s\", title=\"%s\", num_options=%d, options=%p)", name, filename, title, num_options, (void *)options)); + + return (cupsPrintFiles2(CUPS_HTTP_DEFAULT, name, 1, &filename, title, + num_options, options)); +} + + +/* + * 'cupsPrintFile2()' - Print a file to a printer or class on the specified + * server. + * + * @since CUPS 1.1.21/macOS 10.4@ @exclude all@ + */ + +int /* O - Job ID or 0 on error */ +cupsPrintFile2( + http_t *http, /* I - Connection to server */ + const char *name, /* I - Destination name */ + const char *filename, /* I - File to print */ + const char *title, /* I - Title of job */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + DEBUG_printf(("cupsPrintFile2(http=%p, name=\"%s\", filename=\"%s\", title=\"%s\", num_options=%d, options=%p)", (void *)http, name, filename, title, num_options, (void *)options)); + + return (cupsPrintFiles2(http, name, 1, &filename, title, num_options, + options)); +} + + +/* + * 'cupsPrintFiles()' - Print one or more files to a printer or class on the + * default server. + * + * @exclude all@ + */ + +int /* O - Job ID or 0 on error */ +cupsPrintFiles( + const char *name, /* I - Destination name */ + int num_files, /* I - Number of files */ + const char **files, /* I - File(s) to print */ + const char *title, /* I - Title of job */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + DEBUG_printf(("cupsPrintFiles(name=\"%s\", num_files=%d, files=%p, title=\"%s\", num_options=%d, options=%p)", name, num_files, (void *)files, title, num_options, (void *)options)); + + /* + * Print the file(s)... + */ + + return (cupsPrintFiles2(CUPS_HTTP_DEFAULT, name, num_files, files, title, + num_options, options)); +} + + +/* + * 'cupsPrintFiles2()' - Print one or more files to a printer or class on the + * specified server. + * + * @since CUPS 1.1.21/macOS 10.4@ @exclude all@ + */ + +int /* O - Job ID or 0 on error */ +cupsPrintFiles2( + http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *name, /* I - Destination name */ + int num_files, /* I - Number of files */ + const char **files, /* I - File(s) to print */ + const char *title, /* I - Title of job */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + int i; /* Looping var */ + int job_id; /* New job ID */ + const char *docname; /* Basename of current filename */ + const char *format; /* Document format */ + cups_file_t *fp; /* Current file */ + char buffer[8192]; /* Copy buffer */ + ssize_t bytes; /* Bytes in buffer */ + http_status_t status; /* Status of write */ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + ipp_status_t cancel_status; /* Status code to preserve */ + char *cancel_message; /* Error message to preserve */ + + + DEBUG_printf(("cupsPrintFiles2(http=%p, name=\"%s\", num_files=%d, files=%p, title=\"%s\", num_options=%d, options=%p)", (void *)http, name, num_files, (void *)files, title, num_options, (void *)options)); + + /* + * Range check input... + */ + + if (!name || num_files < 1 || !files) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0); + + return (0); + } + + /* + * Create the print job... + */ + + if ((job_id = cupsCreateJob(http, name, title, num_options, options)) == 0) + return (0); + + /* + * Send each of the files... + */ + + if (cupsGetOption("raw", num_options, options)) + format = CUPS_FORMAT_RAW; + else if ((format = cupsGetOption("document-format", num_options, + options)) == NULL) + format = CUPS_FORMAT_AUTO; + + for (i = 0; i < num_files; i ++) + { + /* + * Start the next file... + */ + + if ((docname = strrchr(files[i], '/')) != NULL) + docname ++; + else + docname = files[i]; + + if ((fp = cupsFileOpen(files[i], "rb")) == NULL) + { + /* + * Unable to open print file, cancel the job and return... + */ + + _cupsSetError(IPP_STATUS_ERROR_DOCUMENT_ACCESS, NULL, 0); + goto cancel_job; + } + + status = cupsStartDocument(http, name, job_id, docname, format, + i == (num_files - 1)); + + while (status == HTTP_STATUS_CONTINUE && + (bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0) + status = cupsWriteRequestData(http, buffer, (size_t)bytes); + + cupsFileClose(fp); + + if (status != HTTP_STATUS_CONTINUE || cupsFinishDocument(http, name) != IPP_STATUS_OK) + { + /* + * Unable to queue, cancel the job and return... + */ + + goto cancel_job; + } + } + + return (job_id); + + /* + * If we get here, something happened while sending the print job so we need + * to cancel the job without setting the last error (since we need to preserve + * the current error... + */ + + cancel_job: + + cancel_status = cg->last_error; + cancel_message = cg->last_status_message ? + _cupsStrRetain(cg->last_status_message) : NULL; + + cupsCancelJob2(http, name, job_id, 0); + + cg->last_error = cancel_status; + cg->last_status_message = cancel_message; + + return (0); +} + + +/* + * 'cupsStartDocument()' - Add a document to a job created with cupsCreateJob(). + * + * Use @link cupsWriteRequestData@ to write data for the document and + * @link cupsFinishDocument@ to finish the document and get the submission status. + * + * The MIME type constants @code CUPS_FORMAT_AUTO@, @code CUPS_FORMAT_PDF@, + * @code CUPS_FORMAT_POSTSCRIPT@, @code CUPS_FORMAT_RAW@, and + * @code CUPS_FORMAT_TEXT@ are provided for the "format" argument, although + * any supported MIME type string can be supplied. + * + * @since CUPS 1.4/macOS 10.6@ @exclude all@ + */ + +http_status_t /* O - HTTP status of request */ +cupsStartDocument( + http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ + const char *name, /* I - Destination name */ + int job_id, /* I - Job ID from @link cupsCreateJob@ */ + const char *docname, /* I - Name of document */ + const char *format, /* I - MIME type or @code CUPS_FORMAT_foo@ */ + int last_document) /* I - 1 for last document in job, 0 otherwise */ +{ + char resource[1024], /* Resource for destinatio */ + printer_uri[1024]; /* Printer URI */ + ipp_t *request; /* Send-Document request */ + http_status_t status; /* HTTP status */ + + + /* + * Create a Send-Document request... + */ + + if ((request = ippNewRequest(IPP_OP_SEND_DOCUMENT)) == NULL) + { + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(ENOMEM), 0); + return (HTTP_STATUS_ERROR); + } + + httpAssembleURIf(HTTP_URI_CODING_ALL, printer_uri, sizeof(printer_uri), "ipp", + NULL, "localhost", ippPort(), "/printers/%s", name); + snprintf(resource, sizeof(resource), "/printers/%s", name); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, printer_uri); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", job_id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + if (docname) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "document-name", + NULL, docname); + if (format) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, + "document-format", NULL, format); + ippAddBoolean(request, IPP_TAG_OPERATION, "last-document", (char)last_document); + + /* + * Send and delete the request, then return the status... + */ + + status = cupsSendRequest(http, request, resource, CUPS_LENGTH_VARIABLE); + + ippDelete(request); + + return (status); +} + diff --git a/cups/versioning.h b/cups/versioning.h new file mode 100644 index 0000000..14c218f --- /dev/null +++ b/cups/versioning.h @@ -0,0 +1,267 @@ +/* + * API versioning definitions for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_VERSIONING_H_ +# define _CUPS_VERSIONING_H_ + +/* + * This header defines several macros that add compiler-specific attributes for + * functions: + * + * - _CUPS_API_major_minor[_patch]: Specifies when an API became available by + * CUPS version. + * - _CUPS_DEPRECATED: Function is deprecated with no replacement. + * - _CUPS_DEPRECATED_MSG("message"): Function is deprecated and has a + * replacement. + * - _CUPS_FORMAT(format-index, additional-args-index): Function has a + * printf-style format argument followed by zero or more additional + * arguments. Indices start at 1. + * - _CUPS_INTERNAL: Function is internal with no replacement API. + * - _CUPS_INTERNAL_MSG("msg"): Function is internal - use specified API + * instead. + * - _CUPS_NONNULL((arg list)): Specifies the comma-separated argument indices + * are assumed non-NULL. Indices start at 1. + * - _CUPS_NORETURN: Specifies the function does not return. + * - _CUPS_PRIVATE: Specifies the function is private to CUPS. + * - _CUPS_PUBLIC: Specifies the function is public API. + */ + +/* + * Determine which compiler is being used and what annotation features are + * available... + */ + +# ifdef __APPLE__ +# include +# endif /* __APPLE__ */ + +# ifdef __has_extension /* Clang */ +# define _CUPS_HAS_DEPRECATED +# define _CUPS_HAS_FORMAT +# define _CUPS_HAS_NORETURN +# define _CUPS_HAS_VISIBILITY +# if __has_extension(attribute_deprecated_with_message) +# define _CUPS_HAS_DEPRECATED_WITH_MESSAGE +# endif +# if __has_extension(attribute_unavailable_with_message) +# define _CUPS_HAS_UNAVAILABLE_WITH_MESSAGE +# endif +# elif defined(__GNUC__) /* GCC and compatible */ +# if __GNUC__ >= 3 /* GCC 3.0 or higher */ +# define _CUPS_HAS_DEPRECATED +# define _CUPS_HAS_FORMAT +# define _CUPS_HAS_NORETURN +# define _CUPS_HAS_VISIBILITY +# endif /* __GNUC__ >= 3 */ +# if __GNUC__ >= 5 /* GCC 5.x */ +# define _CUPS_HAS_DEPRECATED_WITH_MESSAGE +# elif __GNUC__ == 4 && __GNUC_MINOR__ >= 5 + /* GCC 4.5 or higher */ +# define _CUPS_HAS_DEPRECATED_WITH_MESSAGE +# endif /* __GNUC__ >= 5 */ +# elif defined(_WIN32) +# define __attribute__(...) +# endif /* __has_extension */ + + +/* + * Define _CUPS_INTERNAL, _CUPS_PRIVATE, and _CUPS_PUBLIC visibilty macros for + * internal/private/public functions... + */ + +# ifdef _CUPS_HAS_VISIBILITY +# define _CUPS_INTERNAL __attribute__ ((visibility("hidden"))) +# define _CUPS_PRIVATE __attribute__ ((visibility("default"))) +# define _CUPS_PUBLIC __attribute__ ((visibility("default"))) +# elif defined(_WIN32) && defined(LIBCUPS2_EXPORTS) && 0 +# define _CUPS_INTERNAL +# define _CUPS_PRIVATE __declspec(dllexport) +# define _CUPS_PUBLIC __declspec(dllexport) +# else +# define _CUPS_INTERNAL +# define _CUPS_PRIVATE +# define _CUPS_PUBLIC +# endif /* _CUPS_HAS_VISIBILITY */ + + +/* + * Define _CUPS_API_major_minor[_patch] availability macros for CUPS. + * + * Note: Using any of the _CUPS_API macros automatically adds _CUPS_PUBLIC. + */ + +# if defined(__APPLE__) && !defined(_CUPS_SOURCE) && TARGET_OS_OSX +/* + * On Apple operating systems, the _CUPS_API_* constants are defined using the + * API_ macros in . + * + * On iOS, we don't actually have libcups available directly, but the supplied + * libcups_static target in the Xcode project supports building on iOS 11.0 and + * later. + */ +# define _CUPS_API_1_1_19 API_AVAILABLE(macos(10.3), ios(11.0)) _CUPS_PUBLIC +# define _CUPS_API_1_1_20 API_AVAILABLE(macos(10.4), ios(11.0)) _CUPS_PUBLIC +# define _CUPS_API_1_1_21 API_AVAILABLE(macos(10.4), ios(11.0)) _CUPS_PUBLIC +# define _CUPS_API_1_2 API_AVAILABLE(macos(10.5), ios(11.0)) _CUPS_PUBLIC +# define _CUPS_API_1_3 API_AVAILABLE(macos(10.5), ios(11.0)) _CUPS_PUBLIC +# define _CUPS_API_1_4 API_AVAILABLE(macos(10.6), ios(11.0)) _CUPS_PUBLIC +# define _CUPS_API_1_5 API_AVAILABLE(macos(10.7), ios(11.0)) _CUPS_PUBLIC +# define _CUPS_API_1_6 API_AVAILABLE(macos(10.8), ios(11.0)) _CUPS_PUBLIC +# define _CUPS_API_1_7 API_AVAILABLE(macos(10.9), ios(11.0)) _CUPS_PUBLIC +# define _CUPS_API_2_0 API_AVAILABLE(macos(10.10), ios(11.0)) _CUPS_PUBLIC +# define _CUPS_API_2_2 API_AVAILABLE(macos(10.12), ios(11.0)) _CUPS_PUBLIC +# define _CUPS_API_2_2_4 API_AVAILABLE(macos(10.13), ios(12.0)) _CUPS_PUBLIC +# define _CUPS_API_2_2_7 API_AVAILABLE(macos(10.14), ios(13.0)) _CUPS_PUBLIC +# define _CUPS_API_2_3 API_AVAILABLE(macos(10.14), ios(13.0)) _CUPS_PUBLIC +# else +# define _CUPS_API_1_1_19 _CUPS_PUBLIC +# define _CUPS_API_1_1_20 _CUPS_PUBLIC +# define _CUPS_API_1_1_21 _CUPS_PUBLIC +# define _CUPS_API_1_2 _CUPS_PUBLIC +# define _CUPS_API_1_3 _CUPS_PUBLIC +# define _CUPS_API_1_4 _CUPS_PUBLIC +# define _CUPS_API_1_5 _CUPS_PUBLIC +# define _CUPS_API_1_6 _CUPS_PUBLIC +# define _CUPS_API_1_7 _CUPS_PUBLIC +# define _CUPS_API_2_0 _CUPS_PUBLIC +# define _CUPS_API_2_2 _CUPS_PUBLIC +# define _CUPS_API_2_2_4 _CUPS_PUBLIC +# define _CUPS_API_2_2_7 _CUPS_PUBLIC +# define _CUPS_API_2_3 _CUPS_PUBLIC +# endif /* __APPLE__ && !_CUPS_SOURCE */ + + +/* + * Define _CUPS_DEPRECATED and _CUPS_INTERNAL macros to mark old APIs as + * "deprecated" or "unavailable" with messages so you get warnings/errors are + * compile-time... + * + * Note: Using any of the _CUPS_DEPRECATED macros automatically adds + * _CUPS_PUBLIC. + */ + +# if !defined(_CUPS_HAS_DEPRECATED) || (defined(_CUPS_SOURCE) && !defined(_CUPS_NO_DEPRECATED)) + /* + * Don't mark functions deprecated if the compiler doesn't support it + * or we are building CUPS source that doesn't care. + */ +# define _CUPS_DEPRECATED _CUPS_PUBLIC +# define _CUPS_DEPRECATED_MSG(m) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_2_MSG(m) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_6_MSG(m) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_7_MSG(m) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_2_2_MSG(m) _CUPS_PUBLIC +# elif defined(__APPLE__) && defined(_CUPS_NO_DEPRECATED) + /* + * Compiler supports the unavailable attribute, so use it when the code + * wants to exclude the use of deprecated API. + */ +# define _CUPS_DEPRECATED __attribute__ ((unavailable)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_MSG(m) __attribute__ ((unavailable(m))) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_2_MSG(m) API_DEPRECATED(m, macos(10.2,10.5), ios(11.0,11.0)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_6_MSG(m) API_DEPRECATED(m, macos(10.2,10.8), ios(11.0,11.0)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_7_MSG(m) API_DEPRECATED(m, macos(10.2,10.9), ios(11.0,11.0)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_2_2_MSG(m) API_DEPRECATED(m, macos(10.2,10.12), ios(11.0,11.0)) _CUPS_PUBLIC + +# elif defined(__APPLE__) + /* + * Just mark things as deprecated... + */ +# define _CUPS_DEPRECATED __attribute__ ((deprecated)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_2_MSG(m) API_DEPRECATED(m, macos(10.2,10.5), ios(11.0,11.0)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_6_MSG(m) API_DEPRECATED(m, macos(10.2,10.8), ios(11.0,11.0)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_7_MSG(m) API_DEPRECATED(m, macos(10.2,10.9), ios(11.0,11.0)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_2_2_MSG(m) API_DEPRECATED(m, macos(10.2,10.12), ios(11.0,11.0)) _CUPS_PUBLIC + +# elif defined(_CUPS_HAS_UNAVAILABLE_WITH_MESSAGE) && defined(_CUPS_NO_DEPRECATED) + /* + * Compiler supports the unavailable attribute, so use it when the code + * wants to exclude the use of deprecated API. + */ +# define _CUPS_DEPRECATED __attribute__ ((unavailable)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_MSG(m) __attribute__ ((unavailable(m))) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_2_MSG(m) __attribute__ ((unavailable(m))) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((unavailable(m))) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_7_MSG(m) __attribute__ ((unavailable(m))) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_2_2_MSG(m) __attribute__ ((unavailable(m))) _CUPS_PUBLIC +# else + /* + * Compiler supports the deprecated attribute, so use it. + */ +# define _CUPS_DEPRECATED __attribute__ ((deprecated)) _CUPS_PUBLIC +# ifdef _CUPS_HAS_DEPRECATED_WITH_MESSAGE +# define _CUPS_DEPRECATED_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_2_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_7_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_2_2_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC +# else +# define _CUPS_DEPRECATED_MSG(m) __attribute__ ((deprecated)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_2_MSG(m) __attribute__ ((deprecated)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_1_7_MSG(m) __attribute__ ((deprecated)) _CUPS_PUBLIC +# define _CUPS_DEPRECATED_2_2_MSG(m) __attribute__ ((deprecated)) _CUPS_PUBLIC +# endif /* _CUPS_HAS_DEPRECATED_WITH_MESSAGE */ +# endif /* !_CUPS_HAS_DEPRECATED || (_CUPS_SOURCE && !_CUPS_NO_DEPRECATED) */ + + +/* + * Define _CUPS_FORMAT macro for printf-style functions... + */ + +# ifdef _CUPS_HAS_FORMAT +# define _CUPS_FORMAT(a,b) __attribute__ ((__format__(__printf__, a,b))) +# else +# define _CUPS_FORMAT(a,b) +# endif /* _CUPS_HAS_FORMAT */ + + +/* + * Define _CUPS_INTERNAL_MSG macro for private APIs that have (historical) + * public visibility. + * + * Note: Using the _CUPS_INTERNAL_MSG macro automatically adds _CUPS_PUBLIC. + */ + +# ifdef _CUPS_SOURCE +# define _CUPS_INTERNAL_MSG(m) _CUPS_PUBLIC +# elif defined(_CUPS_HAS_UNAVAILABLE_WITH_MESSAGE) +# define _CUPS_INTERNAL_MSG(m) __attribute__ ((unavailable(m))) _CUPS_PUBLIC +# elif defined(_CUPS_HAS_DEPRECATED_WITH_MESSAGE) +# define _CUPS_INTERNAL_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC +# else +# define _CUPS_INTERNAL_MSG(m) __attribute__ ((deprecated)) _CUPS_PUBLIC +# endif /* _CUPS_SOURCE */ + + +/* + * Define _CUPS_NONNULL macro for functions that don't expect non-null + * arguments... + */ + +# ifdef _CUPS_HAS_NONNULL +# define _CUPS_NONNULL(...) __attribute__ ((nonnull(__VA_ARGS__))) +# else +# define _CUPS_NONNULL(...) +# endif /* _CUPS_HAS_FORMAT */ + + +/* + * Define _CUPS_NORETURN macro for functions that don't return. + */ + +# ifdef _CUPS_HAS_NORETURN +# define _CUPS_NORETURN __attribute__ ((noreturn)) +# else +# define _CUPS_NORETURN +# endif /* _CUPS_HAS_NORETURN */ + + +#endif /* !_CUPS_VERSIONING_H_ */ diff --git a/data/Makefile b/data/Makefile new file mode 100644 index 0000000..5539e6f --- /dev/null +++ b/data/Makefile @@ -0,0 +1,116 @@ +# +# Datafile makefile for CUPS. +# +# Copyright 2007-2014 by Apple Inc. +# Copyright 1993-2006 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more information. +# + +include ../Makedefs + +# +# Data files... +# + +PPDCFILES = \ + epson.h \ + font.defs \ + hp.h \ + label.h \ + media.defs \ + raster.defs + + +# +# Make everything... +# + +all: + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Clean all config and object files... +# + +clean: + + +# +# Dummy depend... +# + +depend: + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + $(INSTALL_DIR) -m 755 $(DATADIR)/banners + $(INSTALL_DIR) -m 755 $(DATADIR)/data + $(INSTALL_DIR) -m 755 $(DATADIR)/model + $(INSTALL_DIR) -m 755 $(DATADIR)/ppdc + for file in $(PPDCFILES); do \ + $(INSTALL_DATA) $$file $(DATADIR)/ppdc; \ + done + $(INSTALL_DIR) -m 755 $(DATADIR)/profiles + + +# +# Install programs... +# + +install-exec: + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall files... +# + +uninstall: + for file in $(PPDCFILES); do \ + $(RM) $(DATADIR)/ppdc/$$file; \ + done + -$(RMDIR) $(DATADIR)/profiles + -$(RMDIR) $(DATADIR)/ppdc + -$(RMDIR) $(DATADIR)/model + -$(RMDIR) $(DATADIR)/data + -$(RMDIR) $(DATADIR)/banners + -$(RMDIR) $(DATADIR) diff --git a/data/cups.irix b/data/cups.irix new file mode 100644 index 0000000..476383a --- /dev/null +++ b/data/cups.irix @@ -0,0 +1,3 @@ +#%PAM-1.0 +auth required pam_unix.so shadow nodelay nullok +account required pam_unix.so diff --git a/data/cups.pam b/data/cups.pam new file mode 100644 index 0000000..f38e701 --- /dev/null +++ b/data/cups.pam @@ -0,0 +1,2 @@ +auth required /lib/security/pam_pwdb.so nullok shadow +account required /lib/security/pam_pwdb.so diff --git a/data/cups.suse b/data/cups.suse new file mode 100644 index 0000000..a9369e1 --- /dev/null +++ b/data/cups.suse @@ -0,0 +1,2 @@ +auth required pam_unix2.so nullok shadow +account required pam_unix2.so diff --git a/data/epson.h b/data/epson.h new file mode 100644 index 0000000..8a3641e --- /dev/null +++ b/data/epson.h @@ -0,0 +1,16 @@ +/* + * This file contains model number definitions for the CUPS sample + * ESC/P driver. + * + * Copyright 2007 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#define EPSON_9PIN 0 /* 9-pin dot matrix */ +#define EPSON_24PIN 1 /* 24-pin dot matrix */ +#define EPSON_COLOR 2 /* Epson Stylus Color with ESC . */ +#define EPSON_PHOTO 3 /* Epson Stylus Photo with ESC . */ +#define EPSON_ICOLOR 4 /* Epson Stylus Color with ESC i */ +#define EPSON_IPHOTO 5 /* Epson Stylus Photo with ESC i */ diff --git a/data/font.defs b/data/font.defs new file mode 100644 index 0000000..519a8e1 --- /dev/null +++ b/data/font.defs @@ -0,0 +1,45 @@ +/* + * Standard font definitions for the CUPS PPD file compiler. + * + * Copyright © 2007 by Apple Inc. + * Copyright © 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#font AvantGarde-Book Standard "(1.05)" Standard ROM +#font AvantGarde-BookOblique Standard "(1.05)" Standard ROM +#font AvantGarde-Demi Standard "(1.05)" Standard ROM +#font AvantGarde-DemiOblique Standard "(1.05)" Standard ROM +#font Bookman-Demi Standard "(1.05)" Standard ROM +#font Bookman-DemiItalic Standard "(1.05)" Standard ROM +#font Bookman-Light Standard "(1.05)" Standard ROM +#font Bookman-LightItalic Standard "(1.05)" Standard ROM +#font Courier Standard "(1.05)" Standard ROM +#font Courier-Bold Standard "(1.05)" Standard ROM +#font Courier-BoldOblique Standard "(1.05)" Standard ROM +#font Courier-Oblique Standard "(1.05)" Standard ROM +#font Helvetica Standard "(1.05)" Standard ROM +#font Helvetica-Bold Standard "(1.05)" Standard ROM +#font Helvetica-BoldOblique Standard "(1.05)" Standard ROM +#font Helvetica-Narrow Standard "(1.05)" Standard ROM +#font Helvetica-Narrow-Bold Standard "(1.05)" Standard ROM +#font Helvetica-Narrow-BoldOblique Standard "(1.05)" Standard ROM +#font Helvetica-Narrow-Oblique Standard "(1.05)" Standard ROM +#font Helvetica-Oblique Standard "(1.05)" Standard ROM +#font NewCenturySchlbk-Bold Standard "(1.05)" Standard ROM +#font NewCenturySchlbk-BoldItalic Standard "(1.05)" Standard ROM +#font NewCenturySchlbk-Italic Standard "(1.05)" Standard ROM +#font NewCenturySchlbk-Roman Standard "(1.05)" Standard ROM +#font Palatino-Bold Standard "(1.05)" Standard ROM +#font Palatino-BoldItalic Standard "(1.05)" Standard ROM +#font Palatino-Italic Standard "(1.05)" Standard ROM +#font Palatino-Roman Standard "(1.05)" Standard ROM +#font Symbol Special "(001.005)" Special ROM +#font Times-Bold Standard "(1.05)" Standard ROM +#font Times-BoldItalic Standard "(1.05)" Standard ROM +#font Times-Italic Standard "(1.05)" Standard ROM +#font Times-Roman Standard "(1.05)" Standard ROM +#font ZapfChancery-MediumItalic Standard "(1.05)" Standard ROM +#font ZapfDingbats Special "(001.005)" Special ROM diff --git a/data/hp.h b/data/hp.h new file mode 100644 index 0000000..f544fad --- /dev/null +++ b/data/hp.h @@ -0,0 +1,13 @@ +/* + * This file contains model number definitions for the CUPS sample + * HP driver. + * + * Copyright 2007 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#define HP_LASERJET 0 /* HP LaserJet */ +#define HP_DESKJET 1 /* HP DeskJet with simple color */ +#define HP_DESKJET2 2 /* HP DeskJet with CRet color */ diff --git a/data/label.h b/data/label.h new file mode 100644 index 0000000..89372f2 --- /dev/null +++ b/data/label.h @@ -0,0 +1,18 @@ +/* + * This file contains model number definitions for the CUPS sample + * label printer driver. + * + * Copyright 2007 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#define DYMO_3x0 0 /* Dymo Labelwriter 300/330/330 Turbo */ + +#define ZEBRA_EPL_LINE 0x10 /* Zebra EPL line mode printers */ +#define ZEBRA_EPL_PAGE 0x11 /* Zebra EPL page mode printers */ +#define ZEBRA_ZPL 0x12 /* Zebra ZPL-based printers */ +#define ZEBRA_CPCL 0x13 /* Zebra CPCL-based printers */ + +#define INTELLITECH_PCL 0x20 /* Intellitech PCL-based printers */ diff --git a/data/media.defs b/data/media.defs new file mode 100644 index 0000000..179552d --- /dev/null +++ b/data/media.defs @@ -0,0 +1,198 @@ +/* + * Adobe standard media size definitions for the CUPS PPD file compiler. + * + * Copyright © 2007-2016 by Apple Inc. + * Copyright © 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#media "3x5/3 x 5" 216 360 +#media "3.5x5/3.5 x 5" 252 360 +#media "5x7/5 x 7" 360 504 +#media "10x11/10 x 11" 720 792 +#media "10x13/10 x 13" 720 936 +#media "10x14/10 x 14" 720 1008 +#media "12x11/12 x 11" 864 792 +#media "15x11/15 x 11" 1080 792 +#media "7x9/7 x 9" 504 648 +#media "8x10/8 x 10" 576 720 +#media "9x11/9 x 11" 648 792 +#media "9x12/9 x 12" 648 864 +#media "A0/A0" 2384 3370 +#media "A0.Transverse/A0 Long Edge" 3370 2384 +#media "A1/A1" 1684 2384 +#media "A1.Transverse/A1 Long Edge" 2384 1684 +#media "A2/A2" 1191 1684 +#media "A2.Transverse/A2 Long Edge" 1684 1191 +#media "A3/A3" 842 1191 +#media "A3.Transverse/A3 Long Edge" 1191 842 +#media "A3Extra/A3 Oversize" 913 1262 +#media "A3Extra.Transverse/A3 Oversize Long Edge" 913 1262 +#media "A3Rotated/A3 Long Edge" 1191 842 +#media "A4/A4" 595 842 +#media "A4Extra/A4 Oversize" 667 914 +#media "A4Plus/A4 Oversize" 595 936 +#media "A4Rotated/A4 Long Edge" 842 595 +#media "A4Small/A4 Small" 595 842 +#media "A4.Transverse/A4 Long Edge" 842 595 +#media "A5/A5" 420 595 +#media "A5Extra/A5 Oversize" 492 668 +#media "A5Rotated/A5 Long Edge" 595 420 +#media "A5.Transverse/A5 Long Edge" 595 420 +#media "A6/A6" 297 420 +#media "A6Rotated/A6 Long Edge" 420 297 +#media "A7/A7" 210 297 +#media "A8/A8" 148 210 +#media "A9/A9" 105 148 +#media "A10/A10" 73 105 +#media "AnsiA/ANSI A" 612 792 +#media "AnsiB/ANSI B" 792 1224 +#media "AnsiC/ANSI C" 1224 1584 +#media "AnsiD/ANSI D" 1584 2448 +#media "AnsiE/ANSI E" 2448 3168 +#media "ARCHA/Letter Oversize" 648 864 +#media "ARCHA.Transverse/Letter Oversize Long Edge" 864 648 +#media "ARCHB/Tabloid Oversize" 864 1296 +#media "ARCHB.Transverse/Tabloid Oversize Long Edge" 1296 864 +#media "ARCHC/ARCH C" 1296 1728 +#media "ARCHC.Transverse/ARCH C Long Edge" 1728 1296 +#media "ARCHD/ARCH D" 1728 2592 +#media "ARCHD.Transverse/ARCH D Long Edge" 2592 1728 +#media "ARCHE/ARCH E" 2592 3456 +#media "ARCHE.Transverse/ARCH E Long Edge" 3456 2592 +#media "B0/JIS B0" 2920 4127 +#media "B10/JIS B10" 91 127 +#media "B1/JIS B1" 2064 2918 +#media "B1/JIS B1" 2064 2920 +#media "B2/JIS B2" 1460 2064 +#media "B3/JIS B3" 1032 1460 +#media "B4/JIS B4" 729 1032 +#media "B4Rotated/JIS B4 Long Edge" 1032 729 +#media "B5/JIS B5" 516 729 +#media "B5Rotated/JIS B5 Long Edge" 729 516 +#media "B5.Transverse/JIS B5 Long Edge" 516 729 +#media "B6/JIS B6" 363 516 +#media "B6Rotated/JIS B6 Long Edge" 516 363 +#media "B7/JIS B7" 258 363 +#media "B8/JIS B8" 181 258 +#media "B9/JIS B9" 127 181 +#media "C4/Envelope C4" 649 918 +#media "C5/Envelope C5" 459 649 +#media "C6/Envelope C6" 323 459 +#media "DL/Envelope DL" 312 624 +#media "DoublePostcard/Postcard Double" 567 420 +#media "DoublePostcardRotated/Postcard Double Long Edge" 420 567 +#media "Env10/Envelope #10" 297 684 +#media "Env11/Envelope #11" 324 747 +#media "Env12/Envelope #12" 342 792 +#media "Env14/Envelope #14" 360 828 +#media "Env9/Envelope #9" 279 639 +#media "EnvC0/Envelope C0" 2599 3676 +#media "EnvC1/Envelope C1" 1837 2599 +#media "EnvC2/Envelope C2" 1298 1837 +#media "EnvC3/Envelope C3" 918 1296 +#media "EnvC4/Envelope C4" 649 918 +#media "EnvC5/Envelope C5" 459 649 +#media "EnvC65/Envelope C65" 324 648 +#media "EnvC6/Envelope C6" 323 459 +#media "EnvC7/Envelope C7" 230 323 +#media "EnvChou3/Envelope Choukei 3" 340 666 +#media "EnvChou3Rotated/Envelope Choukei 3 Long Edge" 666 340 +#media "EnvChou4/Envelope Choukei 4" 255 581 +#media "EnvChou4Rotated/Envelope Choukei 4 Long Edge" 581 255 +#media "EnvDL/Envelope DL" 312 624 +#media "EnvInvite/Envelope Invite" 624 624 +#media "EnvISOB4/Envelope B4" 708 1001 +#media "EnvISOB5/Envelope B5" 499 709 +#media "EnvISOB6/Envelope B6" 499 354 +#media "EnvItalian/Envelope Italian" 312 652 +#media "EnvKaku2/Envelope Kaku2" 680 941 +#media "EnvKaku2Rotated/Envelope Kaku2 Long Edge" 941 680 +#media "EnvKaku3/Envelope Kaku3" 612 785 +#media "EnvKaku3Rotated/Envelope Kaku3 Long Edge" 785 612 +#media "EnvMonarch/Envelope Monarch" 279 540 +#media "EnvPersonal/Envelope Personal" 261 468 +#media "EnvPRC1/Envelope PRC1" 289 468 +#media "EnvPRC1Rotated/Envelope PRC1 Long Edge" 468 289 +#media "EnvPRC2/Envelope PRC2" 289 499 +#media "EnvPRC2Rotated/Envelope PRC2 Long Edge" 499 289 +#media "EnvPRC3/Envelope PRC3" 354 499 +#media "EnvPRC3Rotated/Envelope PRC3 Long Edge" 499 354 +#media "EnvPRC4/Envelope PRC4" 312 590 +#media "EnvPRC4Rotated/Envelope PRC4 Long Edge" 590 312 +#media "EnvPRC5/Envelope PRC5PRC5" 312 624 +#media "EnvPRC5Rotated/Envelope PRC5 Long Edge" 624 312 +#media "EnvPRC6/Envelope PRC6" 340 652 +#media "EnvPRC6Rotated/Envelope PRC6 Long Edge" 652 340 +#media "EnvPRC7/Envelope PRC7" 454 652 +#media "EnvPRC7Rotated/Envelope PRC7 Long Edge" 652 454 +#media "EnvPRC8/Envelope PRC8" 340 876 +#media "EnvPRC8Rotated/Envelope PRC8 Long Edge" 876 340 +#media "EnvPRC9/Envelope PRC9" 649 918 +#media "EnvPRC9Rotated/Envelope PRC9 Long Edge" 918 649 +#media "EnvPRC10/Envelope PRC10" 918 1298 +#media "EnvPRC10Rotated/Envelope PRC10 Long Edge" 1298 918 +#media "EnvYou4/Envelope You4" 298 666 +#media "EnvYou4Rotated/Envelope You4 Long Edge" 666 298 +#media "Executive/Executive" 522 756 +#media "FanFoldGerman/European Fanfold" 612 864 +#media "FanFoldGermanLegal/European Fanfold Legal" 612 936 +#media "FanFoldUS/US Fanfold" 1071 792 +#media "Folio/Folio" 595 935 +#media "ISOB0/B0" 2835 4008 +#media "ISOB1/B1" 2004 2835 +#media "ISOB2/B2" 1417 2004 +#media "ISOB3/B3" 1001 1417 +#media "ISOB4/B4" 709 1001 +#media "ISOB5/B5" 499 709 +#media "ISOB5Extra/B5 Oversize" 570 782 +#media "ISOB6/B6" 354 499 +#media "ISOB7/B7" 249 354 +#media "ISOB8/B8" 176 249 +#media "ISOB9/B9" 125 176 +#media "ISOB10/B10" 88 125 +#media "Ledger/US Ledger" 1224 792 +#media "Legal/US Legal" 612 1008 +#media "LegalExtra/US Legal Oversize" 684 1080 +#media "Letter/US Letter" 612 792 +#media "Letter.Transverse/US Letter Long Edge" 792 612 +#media "LetterExtra/US Letter Oversize" 684 864 +#media "LetterExtra.Transverse/US Letter Oversize Long Edge" 864 684 +#media "LetterPlus/US Letter Oversize" 612 914 +#media "LetterRotated/US Letter Long Edge" 792 612 +#media "LetterSmall/US Letter Small" 612 792 +#media "Monarch/Envelope Monarch" 279 540 +#media "Note/Note" 612 792 +#media "Postcard/Postcard" 284 419 +#media "PostcardRotated/Postcard Long Edge" 419 284 +#media "PRC16K/PRC16K" 414 610 +#media "PRC16KRotated/PRC16K Long Edge" 610 414 +#media "PRC32K/PRC32K" 275 428 +#media "PRC32KBig/PRC32K Oversize" 275 428 +#media "PRC32KBigRotated/PRC32K Oversize Long Edge" 428 275 +#media "PRC32KRotated/PRC32K Long Edge" 428 275 +#media "Quarto/Quarto" 610 780 +#media "Statement/Statement" 396 612 +#media "SuperA/Super A" 643 1009 +#media "SuperB/Super B" 864 1380 +#media "Tabloid/Tabloid" 792 1224 +#media "TabloidExtra/Tabloid Oversize" 864 1296 + +/* + * Non-standard sizes... + */ + +#media "Photo4x6/Photo" 288 432 +#media "PhotoLabel/Photo Labels" 288 468 +#media "w936h1368/Super B/A3" 936 1368 +#media "w81h252/Address" 81 252 +#media "w101h252/Large Address" 101 252 +#media "w54h144/Return Address" 54 144 +#media "w167h288/Shipping Address" 167 288 +#media "w162h540/Internet Postage 2-Part" 162 540 +#media "w162h504/Internet Postage 3-Part" 162 504 +#media "w41h248/File Folder" 41 248 +#media "w41h144/Hanging Folder" 41 144 +#media "w153h198/3.5\" Disk" 153 198 diff --git a/data/raster.defs b/data/raster.defs new file mode 100644 index 0000000..278aac0 --- /dev/null +++ b/data/raster.defs @@ -0,0 +1,84 @@ +/* + * This file contains the standard definitions for enumerated attributes + * in the CUPS raster page device dictionary. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* Jog values */ +#define CUPS_JOG_NONE 0 /* Never move pages */ +#define CUPS_JOG_FILE 1 /* Move pages after this file */ +#define CUPS_JOG_JOB 2 /* Move pages after this job */ +#define CUPS_JOG_SET 3 /* Move pages after this set */ + +/* Orientation values */ +#define CUPS_ORIENT_0 0 /* Don't rotate the page */ +#define CUPS_ORIENT_90 1 /* Rotate the page counter-clockwise */ +#define CUPS_ORIENT_180 2 /* Turn the page upside down */ +#define CUPS_ORIENT_270 3 /* Rotate the page clockwise */ + +/* CutMedia values */ +#define CUPS_CUT_NONE 0 /* Never cut the roll */ +#define CUPS_CUT_FILE 1 /* Cut the roll after this file */ +#define CUPS_CUT_JOB 2 /* Cut the roll after this job */ +#define CUPS_CUT_SET 3 /* Cut the roll after this set */ +#define CUPS_CUT_PAGE 4 /* Cut the roll after this page */ + +/* AdvanceMedia values */ +#define CUPS_ADVANCE_NONE 0 /* Never advance the roll */ +#define CUPS_ADVANCE_FILE 1 /* Advance the roll after this file */ +#define CUPS_ADVANCE_JOB 2 /* Advance the roll after this job */ +#define CUPS_ADVANCE_SET 3 /* Advance the roll after this set */ +#define CUPS_ADVANCE_PAGE 4 /* Advance the roll after this page */ + +/* LeadingEdge values */ +#define CUPS_EDGE_TOP 0 /* Leading edge is the top of the page */ +#define CUPS_EDGE_RIGHT 1 /* Leading edge is the right of the page */ +#define CUPS_EDGE_BOTTOM 2 /* Leading edge is the bottom of the page */ +#define CUPS_EDGE_LEFT 3 /* Leading edge is the left of the page */ + +/* cupsColorOrder values */ +#define CUPS_ORDER_CHUNKED 0 /* CMYK CMYK CMYK ... */ +#define CUPS_ORDER_BANDED 1 /* CCC MMM YYY KKK ... */ +#define CUPS_ORDER_PLANAR 2 /* CCC ... MMM ... YYY ... KKK ... */ + +/* cupsColorSpace values */ +#define CUPS_CSPACE_W 0 /* Luminance */ +#define CUPS_CSPACE_RGB 1 /* Red, green, blue */ +#define CUPS_CSPACE_RGBA 2 /* Red, green, blue, alpha */ +#define CUPS_CSPACE_K 3 /* Black */ +#define CUPS_CSPACE_CMY 4 /* Cyan, magenta, yellow */ +#define CUPS_CSPACE_YMC 5 /* Yellow, magenta, cyan */ +#define CUPS_CSPACE_CMYK 6 /* Cyan, magenta, yellow, black */ +#define CUPS_CSPACE_YMCK 7 /* Yellow, magenta, cyan, black */ +#define CUPS_CSPACE_KCMY 8 /* Black, cyan, magenta, yellow */ +#define CUPS_CSPACE_KCMYcm 9 /* Black, cyan, magenta, yellow, * + * light-cyan, light-magenta */ +#define CUPS_CSPACE_GMCK 10 /* Gold, magenta, yellow, black */ +#define CUPS_CSPACE_GMCS 11 /* Gold, magenta, yellow, silver */ +#define CUPS_CSPACE_WHITE 12 /* White ink (as black) */ +#define CUPS_CSPACE_GOLD 13 /* Gold foil */ +#define CUPS_CSPACE_SILVER 14 /* Silver foil */ + +#define CUPS_CSPACE_CIEXYZ 15 /* CIE XYZ */ +#define CUPS_CSPACE_CIELab 16 /* CIE Lab */ + +#define CUPS_CSPACE_ICC1 32 /* ICC-based, 1 color */ +#define CUPS_CSPACE_ICC2 33 /* ICC-based, 2 colors */ +#define CUPS_CSPACE_ICC3 34 /* ICC-based, 3 colors */ +#define CUPS_CSPACE_ICC4 35 /* ICC-based, 4 colors */ +#define CUPS_CSPACE_ICC5 36 /* ICC-based, 5 colors */ +#define CUPS_CSPACE_ICC6 37 /* ICC-based, 6 colors */ +#define CUPS_CSPACE_ICC7 38 /* ICC-based, 7 colors */ +#define CUPS_CSPACE_ICC8 39 /* ICC-based, 8 colors */ +#define CUPS_CSPACE_ICC9 40 /* ICC-based, 9 colors */ +#define CUPS_CSPACE_ICCA 41 /* ICC-based, 10 colors */ +#define CUPS_CSPACE_ICCB 42 /* ICC-based, 11 colors */ +#define CUPS_CSPACE_ICCC 43 /* ICC-based, 12 colors */ +#define CUPS_CSPACE_ICCD 44 /* ICC-based, 13 colors */ +#define CUPS_CSPACE_ICCE 45 /* ICC-based, 14 colors */ +#define CUPS_CSPACE_ICCF 46 /* ICC-based, 15 colors */ diff --git a/data/smiley.ps b/data/smiley.ps new file mode 100644 index 0000000..6ff31fd --- /dev/null +++ b/data/smiley.ps @@ -0,0 +1,28 @@ +%!PS-Adobe-3.0 +%%BoundingBox: 36 36 576 756 +%%Pages: 1 +%%LanguageLevel: 2 +%%EndComments +%%Page: (1) 1 +% Draw a black box around the page +0 setgray +1 setlinewidth +36 36 540 720 rectstroke + +% Draw a two inch blue circle in the middle of the page +0 0 1 setrgbcolor +306 396 144 0 360 arc closepath fill + +% Draw two half inch yellow circles for eyes +1 1 0 setrgbcolor +252 432 36 0 360 arc closepath fill +360 432 36 0 360 arc closepath fill + +% Draw the smile +1 setlinecap +18 setlinewidth +306 396 99 200 340 arc stroke + +% Print it! +showpage +%%EOF diff --git a/desktop/Makefile b/desktop/Makefile new file mode 100644 index 0000000..6e7eb4f --- /dev/null +++ b/desktop/Makefile @@ -0,0 +1,124 @@ +# +# Desktop makefile for CUPS. +# +# Copyright 2007-2009 by Apple Inc. +# Copyright 1993-2006 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more information. +# + +include ../Makedefs + + +# +# Make everything... +# + +all: + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Clean all config and object files... +# + +clean: + + +# +# Dummy depend... +# + +depend: + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + if test "x$(DBUSDIR)" != x; then \ + echo Installing cups.conf in $(DBUSDIR)...;\ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(DBUSDIR)/system.d; \ + $(INSTALL_DATA) cups.conf $(BUILDROOT)$(DBUSDIR)/system.d/cups.conf; \ + fi + if test "x$(MENUDIR)" != x; then \ + echo Installing desktop menu...; \ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(MENUDIR); \ + $(INSTALL_DATA) cups.desktop $(BUILDROOT)$(MENUDIR); \ + fi + if test "x$(ICONDIR)" != x; then \ + echo Installing desktop icons...; \ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(ICONDIR)/hicolor/16x16/apps; \ + $(INSTALL_DATA) cups-16.png $(BUILDROOT)$(ICONDIR)/hicolor/16x16/apps/cups.png; \ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(ICONDIR)/hicolor/32x32/apps; \ + $(INSTALL_DATA) cups-32.png $(BUILDROOT)$(ICONDIR)/hicolor/32x32/apps/cups.png; \ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(ICONDIR)/hicolor/64x64/apps; \ + $(INSTALL_DATA) cups-64.png $(BUILDROOT)$(ICONDIR)/hicolor/64x64/apps/cups.png; \ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(ICONDIR)/hicolor/128x128/apps; \ + $(INSTALL_DATA) cups-128.png $(BUILDROOT)$(ICONDIR)/hicolor/128x128/apps/cups.png; \ + fi + + +# +# Install programs... +# + +install-exec: + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall files... +# + +uninstall: + if test "x$(DBUSDIR)" != x; then \ + echo Uninstalling cups.conf in $(DBUSDIR)...;\ + $(RM) $(BUILDROOT)$(DBUSDIR)/cups.conf; \ + $(RMDIR) $(BUILDROOT)$(DBUSDIR); \ + fi + if test "x$(MENUDIR)" != x; then \ + echo Uninstalling desktop menu...; \ + $(RM) $(BUILDROOT)$(MENUDIR)/cups.desktop; \ + fi + if test "x$(ICONDIR)" != x; then \ + echo Uninstalling desktop icons...; \ + $(RM) $(BUILDROOT)$(ICONDIR)/hicolor/16x16/apps/cups.png; \ + $(RM) $(BUILDROOT)$(ICONDIR)/hicolor/32x32/apps/cups.png; \ + $(RM) $(BUILDROOT)$(ICONDIR)/hicolor/64x64/apps/cups.png; \ + $(RM) $(BUILDROOT)$(ICONDIR)/hicolor/128x128/apps/cups.png; \ + fi diff --git a/desktop/cups-128.png b/desktop/cups-128.png new file mode 100644 index 0000000..b51bff3 Binary files /dev/null and b/desktop/cups-128.png differ diff --git a/desktop/cups-16.png b/desktop/cups-16.png new file mode 100644 index 0000000..7c13eac Binary files /dev/null and b/desktop/cups-16.png differ diff --git a/desktop/cups-256.png b/desktop/cups-256.png new file mode 100644 index 0000000..7e23c93 Binary files /dev/null and b/desktop/cups-256.png differ diff --git a/desktop/cups-32.png b/desktop/cups-32.png new file mode 100644 index 0000000..3e97aa7 Binary files /dev/null and b/desktop/cups-32.png differ diff --git a/desktop/cups-512.png b/desktop/cups-512.png new file mode 100644 index 0000000..a89bcf1 Binary files /dev/null and b/desktop/cups-512.png differ diff --git a/desktop/cups-64.png b/desktop/cups-64.png new file mode 100644 index 0000000..26208ee Binary files /dev/null and b/desktop/cups-64.png differ diff --git a/desktop/cups.conf b/desktop/cups.conf new file mode 100644 index 0000000..537ac77 --- /dev/null +++ b/desktop/cups.conf @@ -0,0 +1,13 @@ + + + + + + + + + + + + diff --git a/desktop/cups.desktop.in b/desktop/cups.desktop.in new file mode 100644 index 0000000..116314f --- /dev/null +++ b/desktop/cups.desktop.in @@ -0,0 +1,67 @@ +[Desktop Entry] +Categories=System;Printing;HardwareSettings;X-Red-Hat-Base; +Exec=@CUPS_HTMLVIEW@ http://localhost:631/ +Icon=cups +StartupNotify=false +Terminal=false +Type=Application +Name=Manage Printing +Comment=CUPS Web Interface +Name[af]=bestuur Printing +Comment[af]=CUPS Web Interface +Name[ar]=إدارة الطباعة +Comment[ar]=الكؤوس واجهة الويب +Name[az]=Çap idarə +Comment[az]=CUPS Web Interface +Name[bn-IN]=মুদ্রণ পরিচালনা +Comment[bn-IN]=CUPS ওয়েব ইন্টারফেস +Name[ca]=Gestor d'impressió +Comment[ca]=Interfície web de CUPS +Name[cs]=Správa tisku CUPS +Comment[cs]=Webové rozhraní CUPS +Name[da]=Håndter udskrivning +Comment[da]=CUPS-webgrænseflade +Name[de]=Druckerverwaltung +Comment[de]=CUPS Webinterface +Name[en_US]=Manage Printing +Comment[en_US]=CUPS Web Interface +Name[es]=Administrar impresión +Comment[es]=Interfaz Web de CUPS +Name[et]=Trükkimise haldur +Comment[et]=CUPS-i veebiliides +Name[eu]=Kudeatu inprimaketak +Comment[eu]=CUPSen web interfazea +Name[fr]=Gestionnaire d'impression +Comment[fr]=Interface Web de CUPS +Name[he]=נהל הדפסות +Comment[he]=ממשק דפדפן של CUPS +Name[id]=Manajemen Pencetakan +Comment[id]=Antarmuka Web CUPS +Name[it]=Gestione stampa +Comment[it]=Interfaccia web di CUPS +Name[ja]=印刷の管理 +Comment[ja]=CUPS Web インタフェース +Name[ko]=인쇄 관리 +Comment[ko]=CUPS 웹 인터페이스 +Name[pl]=Zarządzanie drukowaniem +Comment[pl]=Interfejs WWW CUPS +Name[pt_BR]=Gerenciador de impressão +Comment[pt_BR]=Interface web do CUPS +Name[pt-PT]=Gerenciador de impressão +Comment[pt-PT]=Interface sítio do CUPS +Name[ru]=Настройка печати +Comment[ru]=Настройка CUPS +Name[sv]=Hantera skrivare +Comment[sv]=CUPS webb-gränssnitt +Name[sq]=Menaxho Printime +Comment[sq]=CUPS Web Interface +Name[th]=จัดการการพิมพ์ +Comment[th]=CUPS เว็บอินเตอร์เฟส +Name[tr]=Yazıcıları Yönet +Comment[tr]=CUPS Web Arayüzü +Name[uz]=chop boshqarish +Comment[uz]=CUPS veb interfeysi +Name[zh]=打印机管理 +Comment[zh]=CUPS网页界面 +Name[zh_TW]=印表管理 +Comment[zh_TW]=CUPS 網頁介面 diff --git a/desktop/cups.icns b/desktop/cups.icns new file mode 100644 index 0000000..0fd7a35 Binary files /dev/null and b/desktop/cups.icns differ diff --git a/desktop/cups.svg b/desktop/cups.svg new file mode 100644 index 0000000..8d19c35 --- /dev/null +++ b/desktop/cups.svg @@ -0,0 +1,533 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + CUPS Icon + + + Michael Sweet + + + + + Apple Inc. + + + + + + + + + + + + + + + + + + + + diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 0000000..505701d --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,241 @@ +# +# Documentation makefile for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +#s information. +# + +include ../Makedefs + +# +# Document files... +# + +WEBPAGES = \ + apple-touch-icon.png \ + cups.css \ + cups-printable.css \ + index.html \ + robots.txt +WEBIMAGES = \ + images/color-wheel.png \ + images/cups.png \ + images/cups-icon.png \ + images/generic.png \ + images/left.gif \ + images/right.gif \ + images/sel.gif \ + images/unsel.gif \ + images/wait.gif +HELPIMAGES = \ + images/cups-block-diagram.png \ + images/cups-command-chain.png \ + images/cups-postscript-chain.png \ + images/cups-raster-chain.png \ + images/raster.png \ + images/raster-organization.png \ + images/sample-image.png \ + images/smiley.jpg +HELPFILES = \ + help/accounting.html \ + help/admin.html \ + help/api-admin.html \ + help/api-filter.html \ + help/api-ppd.html \ + help/api-raster.html \ + help/cgi.html \ + help/cupspm.html \ + help/encryption.html \ + help/firewalls.html \ + help/glossary.html \ + help/kerberos.html \ + help/license.html \ + help/man-backend.html \ + help/man-cancel.html \ + help/man-classes.conf.html \ + help/man-client.conf.html \ + help/man-cups.html \ + help/man-cups-config.html \ + help/man-cups-files.conf.html \ + help/man-cups-lpd.html \ + help/man-cups-snmp.html \ + help/man-cupsaccept.html \ + help/man-cupsd.conf.html \ + help/man-cupsd.html \ + help/man-cupsd-helper.html \ + help/man-cupsd-logs.html \ + help/man-cupsenable.html \ + help/man-cupstestppd.html \ + help/man-filter.html \ + help/man-ippevepcl.html \ + help/man-ippeveprinter.html \ + help/man-ipptool.html \ + help/man-ipptoolfile.html \ + help/man-lp.html \ + help/man-lpadmin.html \ + help/man-lpc.html \ + help/man-lpinfo.html \ + help/man-lpmove.html \ + help/man-lpoptions.html \ + help/man-lpq.html \ + help/man-lpr.html \ + help/man-lprm.html \ + help/man-lpstat.html \ + help/man-mime.convs.html \ + help/man-mime.types.html \ + help/man-notifier.html \ + help/man-ppdc.html \ + help/man-ppdhtml.html \ + help/man-ppdi.html \ + help/man-ppdmerge.html \ + help/man-ppdpo.html \ + help/man-printers.conf.html \ + help/man-subscriptions.conf.html \ + help/network.html \ + help/options.html \ + help/overview.html \ + help/policies.html \ + help/postscript-driver.html \ + help/ppd-compiler.html \ + help/raster-driver.html \ + help/ref-ppdcfile.html \ + help/security.html \ + help/sharing.html \ + help/spec-banner.html \ + help/spec-command.html \ + help/spec-design.html \ + help/spec-ipp.html \ + help/spec-ppd.html \ + help/spec-raster.html \ + help/spec-stp.html \ + help/translation.html + + +# +# Make all documents... +# + +all: + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Remove all generated files... +# + +clean: + + +# +# Dummy depend target... +# + +depend: + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: $(INSTALL_LANGUAGES) + $(INSTALL_DIR) -m 755 $(DOCDIR) + for file in $(WEBPAGES); do \ + $(INSTALL_MAN) $$file $(DOCDIR); \ + done + $(INSTALL_DIR) -m 755 $(DOCDIR)/help + for file in $(HELPFILES); do \ + $(INSTALL_MAN) $$file $(DOCDIR)/help; \ + done + if test "x$(IPPFIND_MAN)" != x; then \ + $(INSTALL_MAN) help/man-ippfind.html $(DOCDIR)/help; \ + fi + $(INSTALL_DIR) -m 755 $(DOCDIR)/images + for file in $(WEBIMAGES) $(HELPIMAGES); do \ + $(INSTALL_MAN) $$file $(DOCDIR)/images; \ + done + +install-languages: + for lang in $(LANGUAGES); do \ + if test -d $$lang; then \ + $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang; \ + $(INSTALL_DATA) $$lang/index.html $(DOCDIR)/$$lang; \ + $(INSTALL_DATA) $$lang/cups.css $(DOCDIR)/$$lang >/dev/null 2>&1 || true; \ + fi; \ + done + +install-langbundle: + + +# +# Install programs... +# + +install-exec: + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall all documentation files... +# + +uninstall: $(UNINSTALL_LANGUAGES) + for file in $(WEBPAGES); do \ + $(RM) $(DOCDIR)/$$file; \ + done + for file in $(HELPFILES); do \ + $(RM) $(DOCDIR)/help/$$file; \ + done + if test "x$(IPPFIND_MAN)" != x; then \ + $(RM) $(DOCDIR)/help/man-ippfind.html; \ + done + for file in $(WEBIMAGES); do \ + $(RM) $(DOCDIR)/images/$$file; \ + done + -$(RMDIR) $(DOCDIR)/images + -$(RMDIR) $(DOCDIR)/help + -$(RMDIR) $(DOCDIR) + +uninstall-languages: + -for lang in $(LANGUAGES); do \ + $(RM) $(DOCDIR)/$$lang/index.html; \ + $(RM) $(DOCDIR)/$$lang/cups.css; \ + $(RMDIR) $(DOCDIR)/$$lang; \ + done + +install-langbundle: diff --git a/doc/apple-touch-icon.opacity b/doc/apple-touch-icon.opacity new file mode 100644 index 0000000..a1d742d Binary files /dev/null and b/doc/apple-touch-icon.opacity differ diff --git a/doc/apple-touch-icon.png b/doc/apple-touch-icon.png new file mode 100644 index 0000000..2dfcfbf Binary files /dev/null and b/doc/apple-touch-icon.png differ diff --git a/doc/cups-printable.css b/doc/cups-printable.css new file mode 100644 index 0000000..058718b --- /dev/null +++ b/doc/cups-printable.css @@ -0,0 +1,437 @@ +BODY { + font-family: lucida grande, geneva, helvetica, arial, sans-serif; +} + +H1, H2, H3, H4, H5, H6, P, TD, TH { + font-family: lucida grande, geneva, helvetica, arial, sans-serif; +} + +H1 { font-size: 2em; } +H2 { font-size: 1.75em; } +H3 { font-size: 1.5em; } +H4 { font-size: 1.25em; } + +KBD { + font-family: monaco, courier, monospace; + font-weight: bold; +} + +PRE { + font-family: monaco, courier, monospace; +} + +BLOCKQUOTE { + border-left: solid 2px #777; + margin: 1em 0; + padding: 10px; +} + +BLOCKQUOTE OL LI { + margin-left: -1em; +} + +PRE.command, PRE.example { + background: #eee; + margin: 0 36pt; + padding: 10px; +} + +P.compact { + margin: 0; +} + +P.example { + font-style: italic; + margin-left: 36pt; +} + +DL.man DD { + margin-left: 5em; +} + +DL.man DT { + margin-left: 0; +} + +PRE.man { + margin: 0; +} + +PRE.command EM, PRE.example EM { + font-family: lucida grande, geneva, helvetica, arial, sans-serif; +} + +P.command { + font-family: monaco, courier, monospace; + margin-left: 36pt; +} + +P.formula { + font-style: italic; + margin-left: 36pt; +} + +A IMG { + border: none; +} + +A:link:hover IMG { + background: #f0f0f0; + border-radius: 10px; + -moz-border-radius: 10px; +} + +A:link, A:visited { + font-weight: inherit; + text-decoration: none; +} + +A:link:hover, A:visited:hover, A:active { + text-decoration: underline; +} + +SUB, SUP { + font-size: 50%; +} + +TR.data, TD.data, TR.data TD { + margin-top: 10pt; + padding: 5pt; + border-bottom: solid 1pt #999999; +} + +TR.data TH { + border-bottom: solid 1pt #999999; + padding-top: 10pt; + padding-left: 5pt; + text-align: left; +} + +DIV.table TABLE { + border: solid thin #999999; + border-collapse: collapse; + border-spacing: 0; + margin-left: auto; + margin-right: auto; +} + +DIV.table CAPTION { + caption-side: top; + font-size: 120%; + font-style: italic; + font-weight: bold; + margin-left: auto; + margin-right: auto; +} + +DIV.table TABLE TD { + border: solid thin #cccccc; + padding: 5pt 10pt 0; +} + +DIV.table TABLE TH { + background: #cccccc; + border: none; + border-bottom: solid thin #999999; +} + +DIV.figure TABLE { + margin-left: auto; + margin-right: auto; +} + +DIV.figure CAPTION { + caption-side: bottom; + font-size: 120%; + font-style: italic; + font-weight: bold; + margin-left: auto; + margin-right: auto; +} + +TH.label { + text-align: right; + vertical-align: top; +} + +TH.sublabel { + text-align: right; + font-weight: normal; +} + +HR { + border: solid thin; +} + +SPAN.info { + background: black; + border: thin solid black; + color: white; + font-size: 80%; + font-style: italic; + font-weight: bold; + white-space: nowrap; +} + +H2 SPAN.info, H3 SPAN.info, H4 SPAN.info { + float: right; + font-size: 100%; +} + +H1.title { +} + +H2.title, H3.title { + border-bottom: solid 2pt #000000; +} + +DIV.indent, TABLE.indent { + margin-top: 2em; + margin-left: auto; + margin-right: auto; + width: 90%; +} + +TABLE.indent { + border-collapse: collapse; +} + +TABLE.indent TD, TABLE.indent TH { + padding: 0; +} + +TABLE.list { + border-collapse: collapse; + margin-left: auto; + margin-right: auto; + width: 90%; +} + +TABLE.list TH { + background: white; + border-bottom: solid thin #cccccc; + color: #444444; + padding-top: 10pt; + padding-left: 5pt; + text-align: left; + vertical-align: bottom; + white-space: nowrap; +} + +TABLE.list TH A { + color: #4444cc; +} + +TABLE.list TD { + border-bottom: solid thin #eeeeee; + padding-top: 5pt; + padding-left: 5pt; +} + +TABLE.list TR:nth-child(even) { + background: #f8f8f8; +} + +TABLE.list TR:nth-child(odd) { + background: #f4f4f4; +} + +DT { + margin-left: 36pt; + margin-top: 12pt; +} + +DD { + margin-left: 54pt; +} + +DL.category DT { + font-weight: bold; +} + +P.summary { + margin-left: 36pt; + font-family: monaco, courier, monospace; +} + +DIV.summary TABLE { + border: solid thin #999999; + border-collapse: collapse; + border-spacing: 0; + margin: 10px; +} + +DIV.summary TABLE TD, DIV.summary TABLE TH { + border: solid thin #999999; + padding: 5px; + text-align: left; + vertical-align: top; +} + +DIV.summary TABLE THEAD TH { + background: #eeeeee; +} + +/* API documentation styles... */ +div.body h1 { + font-size: 250%; + font-weight: bold; + margin: 0; +} +div.body h2 { + font-size: 250%; + margin-top: 1.5em; +} +div.body h3 { + font-size: 150%; + margin-bottom: 0.5em; + margin-top: 1.5em; +} +div.body h4 { + font-size: 110%; + margin-bottom: 0.5em; + margin-top: 1.5em; +} +div.body h5 { + font-size: 100%; + margin-bottom: 0.5em; + margin-top: 1.5em; +} +div.contents { + background: #e8e8e8; + border: solid thin black; + padding: 10px; +} +div.contents h1 { + font-size: 110%; +} +div.contents h2 { + font-size: 100%; +} +div.contents ul.contents { + font-size: 80%; +} +.class { + border-bottom: solid 2px gray; +} +.constants { +} +.description { + margin-top: 0.5em; +} +.discussion { +} +.enumeration { + border-bottom: solid 2px gray; +} +.function { + border-bottom: solid 2px gray; + margin-bottom: 0; +} +.members { +} +.method { +} +.parameters { +} +.returnvalue { +} +.struct { + border-bottom: solid 2px gray; +} +.typedef { + border-bottom: solid 2px gray; +} +.union { + border-bottom: solid 2px gray; +} +.variable { +} +h1, h2, h3, h4, h5, h6 { + page-break-inside: avoid; +} +blockquote { + border: solid thin gray; + box-shadow: 3px 3px 5px rgba(0,0,0,0.5); + padding: 10px 10px 0px; + page-break-inside: avoid; +} +p code, li code, p.code, pre, ul.code li { + background: rgba(127,127,127,0.1); + border: thin dotted gray; + font-family: monospace; + hyphens: manual; + -webkit-hyphens: manual; + page-break-inside: avoid; +} +p.code, pre, ul.code li { + padding: 10px; +} +p code, li code { + padding: 2px 5px; +} +a:link, a:visited { + text-decoration: none; +} +span.info { + background: black; + border: solid thin black; + color: white; + font-size: 80%; + font-style: italic; + font-weight: bold; + white-space: nowrap; +} +h2 span.info, h3 span.info, h4 span.info { + border-radius: 10px; + float: right; + font-size: 80%; + padding: 3px 6px; +} +h2.title span.info, h3.title span.info, h4.title span.info { + border-bottom-left-radius: 0px; + border-bottom-right-radius: 0px; +} +h2.title span.info { + padding: 4px 6px; +} +ul.code, ul.contents, ul.subcontents { + list-style-type: none; + margin: 0; + padding-left: 0; +} +ul.code li { + margin: 0; +} +ul.contents > li { + margin-top: 1em; +} +ul.contents li ul.code, ul.contents li ul.subcontents { + padding-left: 2em; +} +table.list { + border-collapse: collapse; + width: 100%; +} +table.list tr:nth-child(even) { + background: rgba(127,127,127,0.1);]n} +table.list th { + border-right: 2px solid gray; + font-family: monospace; + padding: 5px 10px 5px 2px; + text-align: right; + vertical-align: top; +} +table.list td { + padding: 5px 2px 5px 10px; + text-align: left; + vertical-align: top; +} +h1.title { +} +h2.title { + border-bottom: solid 2px black; +} +h3.title { + border-bottom: solid 2px black; +} diff --git a/doc/cups.css b/doc/cups.css new file mode 100644 index 0000000..1fba9cb --- /dev/null +++ b/doc/cups.css @@ -0,0 +1,723 @@ +/* Layout CSS */ +.header { + background: rgba(46,46,46,.9); + box-shadow: 0px 2px 5px rgba(0,0,0,0.25); + color: white; + left: 0; + margin-bottom: 20px; + padding: 0px; + position: fixed; + right: 0; + top: 0; + width: 100%; +} +.header ul { + list-style: none; + margin: 0px; + -webkit-margin-before: 0; + -webkit-margin-after: 0; + -webkit-margin-start: 0; + -webkit-margin-end: 5px; + -webkit-padding-start: 0; +} +.header ul li { + float: left; +} +.header a { + display: block; + padding: 5px 10px !important; +} +.header a:link, .header a:visited { + color: white !important; + text-decoration: none !important; +} +.header a:hover { + background: #cccccc !important; + color: #333333 !important; + text-decoration: none !important; +} +.header a.active { + background: white !important; + box-shadow: rgba(0,0,0,0.1) 0px 0px 10px 0px inset; + color: black !important; + text-decoration: none !important; +} + +.body { + padding: 40px 20px; +} +.row .body { + padding: 0px; +} + +.footer { + background: rgba(46,46,46,.9); + bottom: 0; + box-shadow: 0px -2px 5px rgba(0,0,0,0.25); + color: #cccccc; + font-size: 10px; + height: 20px; + left: 0; + padding: 10px 10px 3px; + position: fixed; + width: 100%; +} +.footer a:link, footer a:hover, .footer a:visited { + color: white !important; + text-decoration: none !important; +} + +.row { + width: 100%; + *zoom: 1; +} +.row:after { + clear: both; +} + +.row .thirds { + float: left; + margin-left: 0.5%; + margin-right: 0; + padding-bottom: 40px; + width: 33%; +} +.row .thirds:first-child { + margin-left: 0; +} + +.row .halves { + float: left; + margin-left: 0.5%; + margin-right: 0; + padding-bottom: 40px; + width: 49.75%; +} +.row .halves:first-child { + margin-left: 0; +} +.mobile { + display: none; +} +.no-mobile { + display: inherit; +} + +/* Appearance CSS */ +BODY { + background: white; + color: black; + font-family: lucida grande, geneva, helvetica, arial, sans-serif; + margin: 0; +} + +H1, H2, H3, H4, H5, H6, P, TD, TH { + font-family: lucida grande, geneva, helvetica, arial, sans-serif; +} + +H1 { font-size: 2em; } +H2 { font-size: 1.75em; } +H3 { font-size: 1.5em; } +H4 { font-size: 1.25em; } + +KBD { + color: #006600; + font-family: monaco, courier, monospace; + font-weight: bold; +} + +PRE { + font-family: monaco, courier, monospace; +} + +BLOCKQUOTE { + border-left: solid 2px #777; + margin: 1em 0; + padding: 10px; +} + +BLOCKQUOTE OL LI { + margin-left: -1em; +} + +PRE.command, PRE.example { + background: #eee; + margin: 0 36pt; + padding: 10px; +} + +P.example { + font-style: italic; + margin-left: 36pt; +} + +DL.man DD { + margin-left: 5em; +} + +DL.man DT { + margin-left: 0; +} + +PRE.man { + margin: 0; +} + +PRE.command EM, PRE.example EM { + color: #3f0000; + font-family: lucida grande, geneva, helvetica, arial, sans-serif; +} + +P.command { + color: #7f0000; + font-family: monaco, courier, monospace; + margin-left: 36pt; +} + +P.formula { + font-style: italic; + margin-left: 36pt; +} + +A IMG { + border: none; +} + +A:link:hover IMG { + background: #f0f0f0; + border-radius: 10px; + -moz-border-radius: 10px; +} + +A:link, A:visited { + font-weight: inherit; + text-decoration: none; + color: #000099; +} + +A:link:hover, A:visited:hover, A:active { + text-decoration: underline; + color: #990099; +} + +TABLE.page { + border: none; + border-collapse: collapse; + height: 100%; + margin: 0; + padding: 0; + width: 100%; +} + +TD.body { + height: 100%; + vertical-align: top; +} + +TD.sel, TD.unsel { + border-left: thin solid #cccccc; + padding: 0px 5px; + text-align: center; + vertical-align: middle; + width: 14%; +} + +TD.sel { + background: url(images/sel.gif); +} + +TD.unsel { + background: url(images/unsel.gif); +} + +TD.sel A, TD.sel A:hover, TD.unsel A:link:hover, TD.unsel A:visited:hover, +TD.unsel A:active, TD.unsel A, TD.unsel A:visited { + color: #666666; + display: block; + font-weight: normal; + padding: 8px; + text-decoration: none; +} + +TD.trailer { + background: #f0f0f0; + border: solid thin #e0e0e0; + color: #666666; + font-size: 80%; + padding: 5px; +} + +TD.trailer A { + color: #666699; +} + +FORM { + display: inline; +} + +INPUT[TYPE="TEXT"], TEXTAREA { + font-family: monaco, courier, monospace; +} + +INPUT[TYPE="IMAGE"] { + border: none; + padding: 2pt; + vertical-align: bottom; +} + +SUB, SUP { + font-size: 50%; +} + +TR.data, TD.data, TR.data TD { + margin-top: 10pt; + padding: 5pt; + border-bottom: solid 1pt #999999; +} + +TR.data TH { + border-bottom: solid 1pt #999999; + padding-top: 10pt; + padding-left: 5pt; + text-align: left; +} + +DIV.table TABLE { + border: solid thin #999999; + border-collapse: collapse; + border-spacing: 0; + margin-left: auto; + margin-right: auto; +} + +DIV.table CAPTION { + caption-side: top; + font-size: 120%; + font-style: italic; + font-weight: bold; + margin-left: auto; + margin-right: auto; +} + +DIV.table TABLE TD { + background: white; + border: solid thin #bbbbbb; + padding: 5pt 10pt 0; +} + +DIV.table TABLE TH { + background: #f0f0f0; + border: none; + border-bottom: solid thin #999999; +} + +DIV.figure TABLE { + margin-left: auto; + margin-right: auto; +} + +DIV.figure CAPTION { + caption-side: bottom; + font-size: 120%; + font-style: italic; + font-weight: bold; + margin-left: auto; + margin-right: auto; +} + +TH.label { + text-align: right; + vertical-align: top; +} + +TH.sublabel { + text-align: right; + font-weight: normal; +} + +HR { + border: solid thin; +} + +SPAN.info { + background: black; + border: thin solid black; + color: white; + font-size: 80%; + font-style: italic; + font-weight: bold; + white-space: nowrap; +} + +H2 SPAN.info, H3 SPAN.info, H4 SPAN.info { + float: right; + font-size: 100%; +} + +.conflict { + background: red; + color: white; +} + +TH.conflict { + text-align: right; +} + +H1.title { + display: none; +} + +H2.title, H3.title, .row .body H2, .row .body H3 { + border-bottom: solid 2pt black; +} + +TABLE.indent { + margin-top: 2em; + margin-left: auto; + margin-right: auto; + width: 90%; +} + +TABLE.indent { + border-collapse: collapse; +} + +TABLE.indent TD, TABLE.indent TH { + padding: 0; +} + +TABLE.list { + border-collapse: collapse; + margin-left: auto; + margin-right: auto; + width: 90%; +} + +TABLE.list TH { + background: white; + border-bottom: solid thin #cccccc; + color: #444444; + padding-top: 10pt; + padding-left: 5pt; + text-align: left; + vertical-align: bottom; + white-space: nowrap; +} + +TABLE.list TH A { + color: #4444cc; +} + +TABLE.list TD { + border-bottom: solid thin #eeeeee; + padding-top: 5pt; + padding-left: 5pt; +} + +TABLE.list TR:nth-child(even) { + background: #f8f8f8; +} + +TABLE.list TR:nth-child(odd) { + background: #f4f4f4; +} + +DIV.sidebar { + float: right; + min-width: 25%; + margin-left: 10px; + max-width: 33%; +} + +DIV.sidebar P.l0 { + margin-bottom: 0; + margin-left: 0; + margin-right: 0; + margin-top: 12pt; +} + +DIV.sidebar P.l1 { + margin-bottom: 0; + margin-left: 36pt; + margin-right: 0; + margin-top: 0; + text-indent: -18pt; +} + +DIV.sidebar P.l2 { + font-style: italic; + margin-bottom: 0; + margin-left: 54pt; + margin-right: 0; + margin-top: 0; + text-indent: -18pt; +} + +TABLE.inset { + background: #f0f0f0; + border: thin solid #e0e0e0; + margin-top: 1em; + padding: 0; + width: 100%; + /* These are not implemented by all browsers, but that's OK */ + border-radius: 5px; + -moz-border-radius: 5px; +} + +TABLE.inset CAPTION { + caption-side: top; + color: #666666; + font-size: 80%; + margin-left: 10px; + margin-bottom: 2px; + text-align: left; +} + +TABLE.inset TD { + padding: 2px; +} + +DT { + margin-left: 36pt; + margin-top: 12pt; +} + +DD { + margin-left: 54pt; +} + +DL.category DT { + font-weight: bold; +} + +P.summary { + margin-left: 36pt; + font-family: monaco, courier, monospace; +} + +DIV.summary TABLE { + border: solid thin #999999; + border-collapse: collapse; + border-spacing: 0; + margin: 10px; +} + +DIV.summary TABLE TD, DIV.summary TABLE TH { + background: white; + border: solid thin #999999; + border-spacing: 0; + padding: 5px; + text-align: left; + vertical-align: top; +} + +DIV.summary TABLE THEAD TH { + background: #f0f0f0; +} + +DIV.tabs { + height: 480px; + overflow: hidden; +} + +DIV.tab { + float: left; + height: 100%; + overflow-y: auto; + width: 100%; +} + +/* API documentation styles... */ +div.body h1 { +} +div.body h2 { +} +div.body h3 { +} +div.body h4 { +} +div.body h5 { +} +div.contents { +} +div.contents h1 { +} +div.contents h2 { +} +div.contents ul.contents { +} +div.contents ul.contents li ul { + display: none; +} + +.class { + border-bottom: solid 2px gray; +} +.constants { +} +.description { + margin-top: 0.5em; +} +.discussion { +} +.enumeration { + border-bottom: solid 2px gray; +} +.function { + border-bottom: solid 2px gray; + margin-bottom: 0; +} +.members { +} +.method { +} +.parameters { +} +.returnvalue { +} +.struct { + border-bottom: solid 2px gray; +} +.typedef { + border-bottom: solid 2px gray; +} +.union { + border-bottom: solid 2px gray; +} +.variable { +} +h1, h2, h3, h4, h5, h6 { + page-break-inside: avoid; +} +blockquote { + page-break-inside: avoid; +} +p code, li code, p.code, pre, ul.code li { + background: rgba(127,127,127,0.1); + border: thin dotted gray; + font-family: monospace; + font-size: 90%; + hyphens: manual; + -webkit-hyphens: manual; + page-break-inside: avoid; +} +p.code, pre, ul.code li { + padding: 10px; +} +p code, li code { + padding: 2px 5px; +} +span.info { + background: black; + border: solid thin black; + color: white; + font-size: 80%; + font-style: italic; + font-weight: bold; + white-space: nowrap; +} +h3 span.info, h4 span.info { + border-top-left-radius: 10px; + border-top-right-radius: 10px; + float: right; + padding: 3px 6px; +} +ul.code, ul.contents, ul.subcontents { + list-style-type: none; + margin: 0; + padding-left: 0; +} +ul.code li { + margin: 0; +} +ul.contents > li { + margin-top: 1em; +} +ul.contents li ul.code, ul.contents li ul.subcontents { + padding-left: 2em; +} +table.list { + border-collapse: collapse; + width: 100%; +} +table.list tr:nth-child(even) { + background: rgba(127,127,127,0.1);]n} +table.list th { + border-right: 2px solid gray; + font-family: monospace; + padding: 5px 10px 5px 2px; + text-align: right; + vertical-align: top; +} +table.list td { + padding: 5px 2px 5px 10px; + text-align: left; + vertical-align: top; +} + +/* iPhone/iPod touch overrides */ +@media only screen and (min-device-width: 320px) and (max-device-width: 480px), + only screen and (min-device-width: 320px) and (max-device-width: 568px) { + .mobile { + display: inherit; + } + .no-mobile { + display: none; + } + + .header { + margin: 0; + position: relative; + } + .header ul li { + float: none; + } + + .body { + paddng: 0px; + } + + .footer { + font-size: 10px; + height: auto; + position: relative; + } + + .row .thirds, .row .halves { + float: none; + margin: 0; + width: 100%; + } + + DIV.sidebar { + float: none; + margin-left: 0; + max-width: 100%; + min-width: 100%; + width: 100%; + } + + BLOCKQUOTE { + margin: 0; + } + + P.example { + margin-left: 0; + } + + PRE.command, PRE.example, PRE.man { + margin-left: 0; + white-space: pre-wrap; + } +} + +/* iPad overrides */ +@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { + + .mobile { + display: inherit; + } + .no-mobile { + display: none; + } +} diff --git a/doc/da/index.html.in b/doc/da/index.html.in new file mode 100644 index 0000000..1d694ed --- /dev/null +++ b/doc/da/index.html.in @@ -0,0 +1,54 @@ + + + + + + + + + + Hjem - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
+
+

CUPS @CUPS_VERSION@

+

CUPS er det standardbaseret, open source-udskrivningssystem som er udviklet af Apple Inc. til macOS® og andre UNIX®-lignende styresystemer.

+
+ +
+ + + diff --git a/doc/de/index.html.in b/doc/de/index.html.in new file mode 100644 index 0000000..f38dad6 --- /dev/null +++ b/doc/de/index.html.in @@ -0,0 +1,54 @@ + + + + + + + + + + Home - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
+
+

CUPS @CUPS_VERSION@

+

CUPS basiert auf Standards, Open Source Drucksystem entwickelt durch Apple Inc. für macOS® und andere UNIX®-artige Betriebssysteme.

+
+ +
+ + + diff --git a/doc/es/index.html.in b/doc/es/index.html.in new file mode 100644 index 0000000..1814d63 --- /dev/null +++ b/doc/es/index.html.in @@ -0,0 +1,54 @@ + + + + + + + + + + Inicio - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
+
+

CUPS @CUPS_VERSION@

+

CUPS es el sistema de impresión de código abierto basado en estándares desarrollado por Apple Inc. para macOS® y otros sistemas operativos tipo UNIX®.

+
+ +
+ + + diff --git a/doc/help/accounting.html b/doc/help/accounting.html new file mode 100644 index 0000000..ea37a55 --- /dev/null +++ b/doc/help/accounting.html @@ -0,0 +1,55 @@ + + + + Printer Accounting Basics + + + + +

Printer Accounting Basics

+ +

CUPS supports a variety of printer accounting schemes. Aside from the +built-in quota and page logging +support, there are several third-party solutions that can be found online.

+ + +

Quota Support

+ +

CUPS supports page and size-based quotas for each printer. +The quotas are tracked individually for each user, but a single set of +limits applies to all users for a particular printer. For example, you +can limit every user to 5 pages per day on an expensive printer, but +you cannot limit every user except Johnny.

+ +

The job-k-limit, job-page-limit, and job-quota-period +options determine whether and how quotas are enforced for a printer. +The job-quota-period option determines the time interval for +quota tracking. The interval is expressed in seconds, so a day is +86,400, a week is 604,800, and a month is 2,592,000 seconds. The +job-k-limit option specifies the job size limit in kilobytes. The +job-page-limit option specifies the number of pages limit.

+ +

For quotas to be enforced, the period and at least one of the limits +must be set to a non-zero value. The following options will enable +weekly quotas with the given size and page count limits:

+ +
+/usr/sbin/lpadmin -p printer -o job-quota-period=604800 \
+    -o job-k-limit=1024 ENTER
+/usr/sbin/lpadmin -p printer -o job-quota-period=604800 \
+    -o job-page-limit=100 ENTER
+
+ +

Or, you can combine all three options on the same line.

+ +

While there is no way to query the current quota state for a particular +user, any application can request a list of jobs for a user and printer that +can be used to easily determine that information.

+ + +

Page Logging

+ +

CUPS can log every page that is printed on a system to the page_log file. Page logging must be enabled by setting the PageLogFormat directive in the cupsd.conf file and is only available for drivers that provide page accounting information, typically all PostScript and CUPS raster devices. Raw queues and queues using third-party solutions such as Foomatic generally do not have useful page accounting information available.

+ + + diff --git a/doc/help/admin.html b/doc/help/admin.html new file mode 100644 index 0000000..47fee81 --- /dev/null +++ b/doc/help/admin.html @@ -0,0 +1,214 @@ + + + + + Command-Line Printer Administration + + + +

Command-Line Printer Administration

+ +

This help document describes how to configure and manage destinations with CUPS.

+ + +

Introduction

+ +

Destinations are individual printers and classes (pools) of printers. Printers use a description file with one or more driver ("filter") programs that communicate with the printer through a "backend" program. CUPS currently uses PPD (PostScript Printer Description) files to describe the printer and driver programs needed, some of which come with CUPS while others come with your operating system or Linux distribution. Backends are specified using a URI (Universal Resource Identifier) where the URI scheme is the backend name, e.g., "ipp://11.22.33.44/ipp/print" specifies the "ipp" backend - like PPD files, some backends come with CUPS while others come with your operating system.

+ +

Classes are associated with one or more printers and are typically used to distribute print jobs amongst a group of printers or provide redundancy or high availability when printing. Print jobs sent to a class are forwarded to the next available printer in the class.

+ +

The lpadmin(8) program is used to add, modify, or delete destinations, while the lpinfo(8) command is used to list the available printer drivers and backends. The cupsctl(8) program is used to manage the printing system as a whole, including things like debug logging and printer sharing. The CUPS web interface ("http://localhost:631" or "https://servername:631") can also be used, and most operating systems provide their own GUI administration tools.

+ + +

Managing Printers

+ +

The lpadmin command is used to create, modify, or delete a printer. The -p option specifies a printer to create or modify:

+ +
lpadmin -p printername ...
+ +

The lpadmin accepts several additional options after -p printername when adding or modifying a printer:

+ +
+
-D "description"
+
Sets the description of the printer which is often shown instead of the printer name, for example "HP LaserJet".
+ +
-E
+
Enables the printer and accepts new print jobs.
+ +
-L "location"
+
Sets the location of the printer, for example "Conference Room".
+ +
-m model
+
Sets the printer driver using the model name.
+ +
-o option=value
+
Sets the named option.
+ +
-v device-uri
+
Sets the URI for the printer.
+ +
+ +

The -x option deletes the named printer:

+ +
lpadmin -x printername
+ + +

Printer Drivers and PPDs

+ +

The -m option to lpadmin specifies the driver ("model") to use for the printer. You can run the lpinfo -m command to list all of the available drivers ("models") on your system:

+ +
lpinfo -m
+ +

Each line contains the driver name followed by its description, for example:

+ +
drv:///sample.drv/dymo.ppd Dymo Label Printer
+drv:///sample.drv/epson9.ppd Epson 9-Pin Series
+drv:///sample.drv/epson24.ppd Epson 24-Pin Series
+drv:///sample.drv/generpcl.ppd Generic PCL Laser Printer
+drv:///sample.drv/generic.ppd Generic PostScript Printer
+drv:///sample.drv/deskjet.ppd HP DeskJet Series
+drv:///sample.drv/laserjet.ppd HP LaserJet Series PCL 4/5
+drv:///sample.drv/intelbar.ppd Intellitech IntelliBar Label Printer, 2.1
+drv:///sample.drv/okidata9.ppd Oki 9-Pin Series
+drv:///sample.drv/okidat24.ppd Oki 24-Pin Series
+drv:///sample.drv/zebracpl.ppd Zebra CPCL Label Printer
+drv:///sample.drv/zebraep1.ppd Zebra EPL1 Label Printer
+drv:///sample.drv/zebraep2.ppd Zebra EPL2 Label Printer
+drv:///sample.drv/zebra.ppd Zebra ZPL Label Printer
+everywhere IPP Everywhere
+ +

The everywhere driver is used for nearly all modern networks printers sold since about 2009. For example, the following command creates a destination for a printer at IP address 11.22.33.44:

+ +
lpadmin -p printername -E -v ipp://11.22.33.44/ipp/print -m everywhere
+ +

The CUPS sample drivers (the "drv:///sample.drv/..." lines above) can be used for "legacy" printers. For example, the following command creates a destination for a HP LaserJet printer at IP address 11.22.33.44:

+ +
lpadmin -p printername -E -v socket://11.22.33.44 -m drv:///sample.drv/laserjet.ppd
+ +
Note: The CUPS sample drivers are designed to provide basic printing capabilities for the broadest range of printers possible, but generally do not exercise the full potential of the printers or CUPS. Other drivers (including the everywhere driver) provide greater printing capabilities and better print quality.
+ + +

Device URIs (Backends)

+ +

CUPS comes with several standard backends that communicate with printers:

+ +
    +
  1. dnssd: The Bonjour (DNS-SD) protocol.
  2. +
  3. ipp: The Internet Printing Protocol (IPP) with optional encryption.
  4. +
  5. ipps: The Internet Printing Protocol with mandatory encryption.
  6. +
  7. lpd: The Line Printer Daemon protocol.
  8. +
  9. socket: The AppSocket (JetDirect) protocol.
  10. +
  11. usb: The Universal Serial Bus (USB) printer class.
  12. +
+ +

Run the lpinfo -v command to list the available backends and printers:

+ +
lpinfo -v
+ +

Each line contains the backend "class" followed by the backend name or a full printer device URI, for example:

+ +
network lpd
+network ipps
+network ipp
+network socket
+network dnssd://Acme%20Laser%20Pro._ipp._tcp.local./?uuid=545253fb-1cb7-4d8d-98ed-ab6cd607cea7
+network dnssd://Bar99._printer.tcp.local./?uuid=f9efff58-9086-4c95-accb-81dee876a475
+network dnssd://Example%20EX-42._ipps._tcp.local./?uuid=4a0c67ad-2824-4ddf-9115-7d4226c5fe65
+network dnssd://Foo%20Fighter-1969._pdl-datastream._tcp.local./?uuid=4e216bea-c3de-4f65-a710-c99e11c80d2b
+direct usb://ZP/LazerJet%20MFP?serial=42
+ +

The network class of backends is used for all network protocols. The Using Network Printers help document describes how to use the standard CUPS network backends. The direct class of backends is used for directly-connected printers such as USB and Bluetooth. Because these backends use a system-specific identifier, you should only use the reported device URIs.

+ +

Once you know the correct URI for the printer, set it using the lpadmin command's -v option:

+ +
lpadmin -p printername -v device-uri
+ + +

Printer Options

+ +

The lpadmin command allows you to set various options for a printer:

+ +
+
-o cupsIPPSupplies=false
+
Turns off IPP supply level reporting for a printer.
+ +
-o cupsSNMPSupplies=false
+
Turns off SNMP supply level reporting for a printer.
+ +
-o name=value
+
Sets the default value for the named PPD option. For example, -o PageSize=Legal sets the default page size to US Legal.
+ +
-o printer-error-policy=name
+
Sets the policy for errors such as printers that cannot be found or accessed, don't support the format being printed, fail during submission of the print data, or cause one or more filters to crash:
+
abort-job
+
Aborts the job on error.
+
retry-job
+
Retries the job at a future time.
+
retry-current-job
+
Retries the current job immediately.
+
stop-printer
+
Stops the printer on error.
+
+ +
-o printer-is-shared=true/false
+
Enables/disables per-printer sharing. See the section on Printer Sharing for more information.
+ +
-o printer-op-policy=name
+
Sets the operation policy associated with the printer. See the Managing Operation Policies help document for more information.
+ +
-u allow:{user|@group}{,user|,@group}*
+
-u allow:all
+
-u deny:{user|@group}{,user|,@group}*
+
-u deny:none
+
Sets user-level access control for the printer. The allow: list defines a whitelist of users and groups while the deny: list defines a blacklist of users and groups.
+
+ + +

Printer Sharing

+ +

CUPS supports sharing of printers with other computers and mobile devices. Two cupsctl options control the general printer sharing features:

+ +
+
--share-printers
+
Enables sharing of printers with other computers and mobile devices on your local network.
+ +
--remote-any
+
Expands printer sharing to any network that can reach your server.
+
+ +

Once you have enabled printer sharing, you then must select which printers will be shared using the lpadmin command and the -o printer-is-shared=true option.

+ +

For example, to share two printers ("foo" and "bar") on the local network, run the following commands:

+ +
cupsctl --share-printers
+lpadmin -p foo -o printer-is-shared=true
+lpadmin -p bar -o printer-is-shared=true
+ + +

Managing Classes

+ +

The lpadmin command is used to create, modify, or delete a class. The -c option specifies a class to create or modify and is combined with the -p option:

+ +
lpadmin -p printername -c classname
+ +

The -r option specifies that the named printer is removed from the class:

+ +
lpadmin -p printername -r classname
+ +

The -x option deletes the named class:

+ +
lpadmin -x classname
+ + +

Debug Logging and Troubleshooting

+ +

The printing system log files track the activity of the scheduler, printer drivers, and backends. If problems occur and the log files do not provide sufficient details to diagnose the problem, you can enable debug logging using the cupsctl command:

+ +
cupsctl --debug-logging
+ +

To disable debug logging, run the same command with the --no-debug-logging option:

+ +
cupsctl --no-debug-logging
+ + diff --git a/doc/help/api-admin.html b/doc/help/api-admin.html new file mode 100644 index 0000000..f9969d4 --- /dev/null +++ b/doc/help/api-admin.html @@ -0,0 +1,712 @@ + + + + + Administration APIs + + + + + + + + + + + +

Administrative APIs

+ +
+ + + + + + + + + + + + + + + + +
Headercups/adminutil.h
Library-lcups
See AlsoProgramming: Introduction to CUPS Programming
+ Programming: CUPS API
+ Programming: HTTP and IPP APIs
+ +
+ + +

Overview

+ +

The administrative APIs provide convenience functions to perform certain administrative functions with the CUPS scheduler.

+ +
Note: +

Administrative functions normally require administrative privileges to execute and must not be used in ordinary user applications!

+
+ +

Scheduler Settings

+ +

The cupsAdminGetServerSettings and cupsAdminSetServerSettings functions allow you to get and set simple directives and their values, respectively, in the cupsd.conf file for the CUPS scheduler. Settings are stored in CUPS option arrays which provide a simple list of string name/value pairs. While any simple cupsd.conf directive name can be specified, the following convenience names are also defined to control common complex directives:

+ +
    +
  • CUPS_SERVER_DEBUG_LOGGING
  • : For cupsAdminGetServerSettings, a value of "1" means that the LogLevel directive is set to debug or debug2 while a value of "0" means it is set to any other value. For cupsAdminSetServerSettings a value of "1" sets the LogLeveL to debug while a value of "0" sets it to warn. +
  • CUPS_SERVER_REMOTE_ADMIN
  • : A value of "1" specifies that administrative requests are accepted from remote addresses while "0" specifies that requests are only accepted from local addresses (loopback interface and domain sockets). +
  • CUPS_SERVER_REMOTE_ANY
  • : A value of "1" specifies that requests are accepts from any address while "0" specifies that requests are only accepted from the local subnet (when sharing is enabled) or local addresses (loopback interface and domain sockets). +
  • CUPS_SERVER_SHARE_PRINTERS
  • : A value of "1" specifies that printer sharing is enabled for selected printers and remote requests are accepted while a value of "0" specifies that printer sharing is disables and remote requests are not accepted. +
  • CUPS_SERVER_USER_CANCEL_ANY
  • : A value of "1" specifies that the default security policy allows any user to cancel any print job, regardless of the owner. A value of "0" specifies that only administrative users can cancel other user's jobs. +
+ +
Note: +

Changing settings will restart the CUPS scheduler.

+

When printer sharing or the web interface are enabled, the scheduler's launch-on-demand functionality is effectively disabled. This can affect power usage, system performance, and the security profile of a system.

+
+ +

The recommended way to make changes to the cupsd.conf is to first call cupsAdminGetServerSettings, make any changes to the returned option array, and then call cupsAdminSetServerSettings to save those settings. For example, to enable the web interface:

+ +
+#include <cups/cups.h>
+#include <cups/adminutil.h>
+
+void
+enable_web_interface(void)
+{
+  int num_settings = 0;           /* Number of settings */
+  cups_option_t *settings = NULL; /* Settings */
+
+
+  if (!cupsAdminGetServerSettings(CUPS_HTTP_DEFAULT, &num_settings, &settings))
+  {
+    fprintf(stderr, "ERROR: Unable to get server settings: %s\n", cupsLastErrorString());
+    return;
+  }
+
+  num_settings = cupsAddOption("WebInterface", "Yes", num_settings, &settings);
+
+  if (!cupsAdminSetServerSettings(CUPS_HTTP_DEFAULT, num_settings, settings))
+  {
+    fprintf(stderr, "ERROR: Unable to set server settings: %s\n", cupsLastErrorString());
+  }
+
+  cupsFreeOptions(num_settings, settings);
+}
+
+ +

Devices

+ +

Printers can be discovered through the CUPS scheduler using the cupsGetDevices API. Typically this API is used to locate printers to add the the system. Each device that is found will cause a supplied callback function to be executed. For example, to list the available printer devices that can be found within 30 seconds:

+ +
+#include <cups/cups.h>
+#include <cups/adminutil.h>
+
+
+void
+get_devices_cb(
+    const char *device_class,           /* I - Class */
+    const char *device_id,              /* I - 1284 device ID */
+    const char *device_info,            /* I - Description */
+    const char *device_make_and_model,  /* I - Make and model */
+    const char *device_uri,             /* I - Device URI */
+    const char *device_location,        /* I - Location */
+    void       *user_data)              /* I - User data */
+{
+  puts(device_uri);
+}
+
+
+void
+show_devices(void)
+{
+  cupsGetDevices(CUPS_HTTP_DEFAULT, 30, NULL, NULL, get_devices_cb, NULL);
+}
+
+

Functions

+

 DEPRECATED cupsAdminCreateWindowsPPD

+

Create the Windows PPD file for a printer.

+

+char *cupsAdminCreateWindowsPPD(http_t *http, const char *dest, char *buffer, int bufsize);

+

Parameters

+ + + + + + + + + +
httpConnection to server or CUPS_HTTP_DEFAULT
destPrinter or class
bufferFilename buffer
bufsizeSize of filename buffer
+

Return Value

+

PPD file or NULL

+

 DEPRECATED cupsAdminExportSamba

+

Export a printer to Samba.

+

+int cupsAdminExportSamba(const char *dest, const char *ppd, const char *samba_server, const char *samba_user, const char *samba_password, FILE *logfile);

+

Parameters

+ + + + + + + + + + + + + +
destDestination to export
ppdPPD file
samba_serverSamba server
samba_userSamba username
samba_passwordSamba password
logfileLog file, if any
+

Return Value

+

1 on success, 0 on failure

+

 CUPS 1.3/macOS 10.5 cupsAdminGetServerSettings

+

Get settings from the server.

+

+int cupsAdminGetServerSettings(http_t *http, int *num_settings, cups_option_t **settings);

+

Parameters

+ + + + + + + +
httpConnection to server or CUPS_HTTP_DEFAULT
num_settingsNumber of settings
settingsSettings
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The returned settings should be freed with cupsFreeOptions() when +you are done with them. + +

+

 CUPS 1.3/macOS 10.5 cupsAdminSetServerSettings

+

Set settings on the server.

+

+int cupsAdminSetServerSettings(http_t *http, int num_settings, cups_option_t *settings);

+

Parameters

+ + + + + + + +
httpConnection to server or CUPS_HTTP_DEFAULT
num_settingsNumber of settings
settingsSettings
+

Return Value

+

1 on success, 0 on failure

+

 DEPRECATED cupsGetDevices

+

Get available printer devices.

+

+ipp_status_t cupsGetDevices(http_t *http, int timeout, const char *include_schemes, const char *exclude_schemes, cups_device_cb_t callback, void *user_data);

+

Parameters

+ + + + + + + + + + + + + +
httpConnection to server or CUPS_HTTP_DEFAULT
timeoutTimeout in seconds or CUPS_TIMEOUT_DEFAULT
include_schemesComma-separated URI schemes to include or CUPS_INCLUDE_ALL
exclude_schemesComma-separated URI schemes to exclude or CUPS_EXCLUDE_NONE
callbackCallback function
user_dataUser data pointer
+

Return Value

+

Request status - IPP_OK on success.

+

Discussion

+

This function sends a CUPS-Get-Devices request and streams the discovered +devices to the specified callback function. The "timeout" parameter controls +how long the request lasts, while the "include_schemes" and "exclude_schemes" +parameters provide comma-delimited lists of backends to include or omit from +the request respectively.
+
+This function is deprecated with the IPP printer discovery functionality +being provided by the cupsEnumDests and @cupsGetDests@ functions. + +

+

Data Types

+

 CUPS 1.4/macOS 10.6 cups_device_cb_t

+

Device callback +

+

+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); +

+
+ + diff --git a/doc/help/api-filter.html b/doc/help/api-filter.html new file mode 100644 index 0000000..eddd063 --- /dev/null +++ b/doc/help/api-filter.html @@ -0,0 +1,1764 @@ + + + + + Filter and Backend Programming + + + + + + + + + + + +

Filter and Backend Programming

+ +
+ + + + + + + + + + + + + + + + +
Headerscups/backend.h
+ cups/ppd.h
+ cups/sidechannel.h
Library-lcups
See AlsoProgramming: Introduction to CUPS Programming
+ Programming: CUPS API
+ Programming: PPD API
+ Programming: Raster API
+ Programming: Developing PostScript Printer Drivers
+ Programming: Developing Raster Printer Drivers
+ Specifications: CUPS Design Description
+ +
+ + +

Overview

+ +

Filters (which include printer drivers and port monitors) and backends +are used to convert job files to a printable format and send that data to the +printer itself. All of these programs use a common interface for processing +print jobs and communicating status information to the scheduler. Each is run +with a standard set of command-line arguments:

+ +

+ +
argv[1]
+
The job ID
+ +
argv[2]
+
The user printing the job
+ +
argv[3]
+
The job name/title
+ +
argv[4]
+
The number of copies to print
+ +
argv[5]
+
The options that were provided when the job was submitted
+ +
argv[6]
+
The file to print (first program only)
+
+ +

The scheduler runs one or more of these programs to print any given job. The +first filter reads from the print file and writes to the standard output, while +the remaining filters read from the standard input and write to the standard +output. The backend is the last filter in the chain and writes to the +device.

+ +

Filters are always run as a non-privileged user, typically "lp", with no +connection to the user's desktop. Backends are run either as a non-privileged +user or as root if the file permissions do not allow user or group execution. +The file permissions section talks about this in +more detail.

+ +

Security Considerations

+ +

It is always important to use security programming practices. Filters and +most backends are run as a non-privileged user, so the major security +consideration is resource utilization - filters should not depend on unlimited +amounts of CPU, memory, or disk space, and should protect against conditions +that could lead to excess usage of any resource like infinite loops and +unbounded recursion. In addition, filters must never allow the user to +specify an arbitrary file path to a separator page, template, or other file +used by the filter since that can lead to an unauthorized disclosure of +information. Always treat input as suspect and validate it!

+ +

If you are developing a backend that runs as root, make sure to check for +potential buffer overflows, integer under/overflow conditions, and file +accesses since these can lead to privilege escalations. When writing files, +always validate the file path and never allow a user to determine +where to store a file.

+ +
Note: + +

Never write files to a user's home directory. Aside from the +security implications, CUPS is a network print service and as such the network +user may not be the same as the local user and/or there may not be a local home +directory to write to.

+ +

In addition, some operating systems provide additional security mechanisms +that further limit file system access, even for backends running as root. On +macOS, for example, no backend may write to a user's home directory. See the Sandboxing on macOS section for more information.

+
+ +

Canceled Jobs and Signal Handling

+ +

The scheduler sends SIGTERM when a printing job is canceled or +held. Filters, backends, and port monitors must catch +SIGTERM and perform any cleanup necessary to produce a valid output +file or return the printer to a known good state. The recommended behavior is to +end the output on the current page, preferably on the current line or object +being printed.

+ +

Filters and backends may also receive SIGPIPE when an upstream or downstream filter/backend exits with a non-zero status. Developers should generally ignore SIGPIPE at the beginning of main() with the following function call:

+ +
+#include <signal.h>
+
+...
+
+int
+main(int argc, char *argv[])
+{
+  signal(SIGPIPE, SIG_IGN);
+
+  ...
+}
+
+ +

File Permissions

+ +

For security reasons, CUPS will only run filters and backends that are owned +by root and do not have world or group write permissions. The recommended +permissions for filters and backends are 0555 - read and execute but no write. +Backends that must run as root should use permissions of 0500 - read and execute +by root, no access for other users. Write permissions can be enabled for the +root user only.

+ +

To avoid a warning message, the directory containing your filter(s) must also +be owned by root and have world and group write disabled - permissions of 0755 +or 0555 are strongly encouraged.

+ +

Temporary Files

+ +

Temporary files should be created in the directory specified by the +"TMPDIR" environment variable. The +cupsTempFile2 function can be +used to safely create temporary files in this directory.

+ +

Copy Generation

+ +

The argv[4] argument specifies the number of copies to produce +of the input file. In general, you should only generate copies if the +filename argument is supplied. The only exception to this are +filters that produce device-independent PostScript output, since the PostScript +filter pstops is responsible for generating copies of PostScript +files.

+ +

Exit Codes

+ +

Filters must exit with status 0 when they successfully generate print data +or 1 when they encounter an error. Backends can return any of the +cups_backend_t constants.

+ +

Environment Variables

+ +

The following environment variables are defined by the printing system +when running print filters and backends:

+ +
+ +
APPLE_LANGUAGE
+
The Apple language identifier associated with the job + (macOS only).
+ +
CHARSET
+
The job character set, typically "utf-8".
+ +
CLASS
+
When a job is submitted to a printer class, contains the name of + the destination printer class. Otherwise this environment + variable will not be set.
+ +
CONTENT_TYPE
+
The MIME type associated with the file (e.g. + application/postscript).
+ +
CUPS_CACHEDIR
+
The directory where cache files can be stored. Cache files can be + used to retain information between jobs or files in a job.
+ +
CUPS_DATADIR
+
The directory where (read-only) CUPS data files can be found.
+ +
CUPS_FILETYPE
+
The type of file being printed: "job-sheet" for a banner page and + "document" for a regular print file.
+ +
CUPS_SERVERROOT
+
The root directory of the server.
+ +
DEVICE_URI
+
The device-uri associated with the printer.
+ +
FINAL_CONTENT_TYPE
+
The MIME type associated with the printer (e.g. + application/vnd.cups-postscript).
+ +
LANG
+
The language locale associated with the job.
+ +
PPD
+
The full pathname of the PostScript Printer Description (PPD) + file for this printer.
+ +
PRINTER
+
The queue name of the class or printer.
+ +
RIP_CACHE
+
The recommended amount of memory to use for Raster Image + Processors (RIPs).
+ +
TMPDIR
+
The directory where temporary files should be created.
+ +
+ +

Communicating with the Scheduler

+ +

Filters and backends communicate with the scheduler by writing messages +to the standard error file. The scheduler reads messages from all filters in +a job and processes the message based on its prefix. For example, the following +code sets the current printer state message to "Printing page 5":

+ +
+int page = 5;
+
+fprintf(stderr, "INFO: Printing page %d\n", page);
+
+ +

Each message is a single line of text starting with one of the following +prefix strings:

+ +
+ +
ALERT: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "alert" log level.
+ +
ATTR: attribute=value [attribute=value]
+
Sets the named printer or job attribute(s). Typically this is used + to set the marker-colors, marker-high-levels, + marker-levels, marker-low-levels, + marker-message, marker-names, + marker-types, printer-alert, and + printer-alert-description printer attributes. Standard + marker-types values are listed in Table + 1. String values need special handling - see Reporting Attribute String Values below.
+ +
CRIT: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "critical" log + level.
+ +
DEBUG: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "debug" log level.
+ +
DEBUG2: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "debug2" log level.
+ +
EMERG: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "emergency" log + level.
+ +
ERROR: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "error" log level. + Use "ERROR:" messages for non-persistent processing errors.
+ +
INFO: message
+
Sets the printer-state-message attribute. If the current log level + is set to "debug2", also adds the specified message to the current error + log file using the "info" log level.
+ +
NOTICE: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "notice" log level.
+ +
PAGE: page-number #-copies
+
PAGE: total #-pages
+
Adds an entry to the current page log file. The first form adds + #-copies to the job-media-sheets-completed attribute. The second + form sets the job-media-sheets-completed attribute to #-pages.
+ +
PPD: keyword=value [keyword=value ...]
+
Changes or adds keywords to the printer's PPD file. Typically + this is used to update installable options or default media settings + based on the printer configuration.
+ +
STATE: + printer-state-reason [printer-state-reason ...]
+
STATE: - printer-state-reason [printer-state-reason ...]
+
Sets or clears printer-state-reason keywords for the current queue. + Typically this is used to indicate persistent media, ink, toner, and + configuration conditions or errors on a printer. + Table 2 lists some of the standard "printer-state-reasons" keywords from the IANA IPP Registry - + use vendor-prefixed ("com.example.foo") keywords for custom states. See + Managing Printer State in a Filter for more + information. + +
WARNING: message
+
Sets the printer-state-message attribute and adds the specified + message to the current error log file using the "warning" log + level.
+ +
+ +

Messages without one of these prefixes are treated as if they began with +the "DEBUG:" prefix string.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1: Standard marker-types Values
marker-typeDescription
developerDeveloper unit
fuserFuser unit
fuser-cleaning-padFuser cleaning pad
fuser-oilFuser oil
inkInk supply
opcPhoto conductor
solid-waxWax supply
staplesStaple supply
tonerToner supply
transfer-unitTransfer unit
waste-inkWaste ink tank
waste-tonerWaste toner tank
waste-waxWaste wax tank
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2: Standard State Keywords
KeywordDescription
connecting-to-deviceConnecting to printer but not printing yet.
cover-openThe printer's cover is open.
input-tray-missingThe paper tray is missing.
marker-supply-emptyThe printer is out of ink.
marker-supply-lowThe printer is almost out of ink.
marker-waste-almost-fullThe printer's waste bin is almost full.
marker-waste-fullThe printer's waste bin is full.
media-emptyThe paper tray (any paper tray) is empty.
media-jamThere is a paper jam.
media-lowThe paper tray (any paper tray) is almost empty.
media-neededThe paper tray needs to be filled (for a job that is printing).
pausedStop the printer.
timed-outUnable to connect to printer.
toner-emptyThe printer is out of toner.
toner-lowThe printer is low on toner.
+ + +

Reporting Attribute String Values

+ +

When reporting string values using "ATTR:" messages, a filter or backend must take special care to appropriately quote those values. The scheduler uses the CUPS option parsing code for attributes, so the general syntax is:

+ +
+name=simple
+name=simple,simple,...
+name='complex value'
+name="complex value"
+name='"complex value"','"complex value"',...
+
+ +

Simple values are strings that do not contain spaces, quotes, backslashes, or the comma and can be placed verbatim in the "ATTR:" message, for example:

+ +
+int levels[4] = { 40, 50, 60, 70 }; /* CMYK */
+
+fputs("ATTR: marker-colors=#00FFFF,#FF00FF,#FFFF00,#000000\n", stderr);
+fputs("ATTR: marker-high-levels=100,100,100,100\n", stderr);
+fprintf(stderr, "ATTR: marker-levels=%d,%d,%d,%d\n", levels[0], levels[1],
+        levels[2], levels[3], levels[4]);
+fputs("ATTR: marker-low-levels=5,5,5,5\n", stderr);
+fputs("ATTR: marker-types=toner,toner,toner,toner\n", stderr);
+
+ +

Complex values that contains spaces, quotes, backslashes, or the comma must be quoted. For a single value a single set of quotes is sufficient:

+ +
+fputs("ATTR: marker-message='Levels shown are approximate.'\n", stderr);
+
+ +

When multiple values are reported, each value must be enclosed by a set of single and double quotes:

+ +
+fputs("ATTR: marker-names='\"Cyan Toner\"','\"Magenta Toner\"',"
+      "'\"Yellow Toner\"','\"Black Toner\"'\n", stderr);
+
+ +

The IPP backend includes a quote_string function that may be used to properly quote a complex value in an "ATTR:" message:

+ +
+static const char *                     /* O - Quoted string */
+quote_string(const char *s,             /* I - String */
+             char       *q,             /* I - Quoted string buffer */
+             size_t     qsize)          /* I - Size of quoted string buffer */
+{
+  char  *qptr,                          /* Pointer into string buffer */
+        *qend;                          /* End of string buffer */
+
+
+  qptr = q;
+  qend = q + qsize - 5;
+
+  if (qend < q)
+  {
+    *q = '\0';
+    return (q);
+  }
+
+  *qptr++ = '\'';
+  *qptr++ = '\"';
+
+  while (*s && qptr < qend)
+  {
+    if (*s == '\\' || *s == '\"' || *s == '\'')
+    {
+      if (qptr < (qend - 4))
+      {
+        *qptr++ = '\\';
+        *qptr++ = '\\';
+        *qptr++ = '\\';
+      }
+      else
+        break;
+    }
+
+    *qptr++ = *s++;
+  }
+
+  *qptr++ = '\"';
+  *qptr++ = '\'';
+  *qptr   = '\0';
+
+  return (q);
+}
+
+ + +

Managing Printer State in a Filter

+ +

Filters are responsible for managing the state keywords they set using +"STATE:" messages. Typically you will update all of the keywords that +are used by the filter at startup, for example:

+ +
+if (foo_condition != 0)
+  fputs("STATE: +com.example.foo\n", stderr);
+else
+  fputs("STATE: -com.example.foo\n", stderr);
+
+if (bar_condition != 0)
+  fputs("STATE: +com.example.bar\n", stderr);
+else
+  fputs("STATE: -com.example.bar\n", stderr);
+
+ +

Then as conditions change, your filter sends "STATE: +keyword" or "STATE: +-keyword" messages as necessary to set or clear the corresponding keyword, +respectively.

+ +

State keywords are often used to notify the user of issues that span across +jobs, for example "media-empty-warning" that indicates one or more paper trays +are empty. These keywords should not be cleared unless the corresponding issue +no longer exists.

+ +

Filters should clear job-related keywords on startup and exit so that they +do not remain set between jobs. For example, "connecting-to-device" is a job +sub-state and not an issue that applies when a job is not printing.

+ +
Note: + +

"STATE:" messages often provide visible alerts to the user. For example, +on macOS setting a printer-state-reason value with an "-error" or +"-warning" suffix will cause the printer's dock item to bounce if the +corresponding reason is localized with a cupsIPPReason keyword in the +printer's PPD file.

+ +

When providing a vendor-prefixed keyword, always provide the +corresponding standard keyword (if any) to allow clients to respond to the +condition correctly. For example, if you provide a vendor-prefixed keyword +for a low cyan ink condition ("com.example.cyan-ink-low") you must also set the +"marker-supply-low-warning" keyword. In such cases you should also refrain +from localizing the vendor-prefixed keyword in the PPD file - otherwise both +the generic and vendor-specific keyword will be shown in the user +interface.

+ +
+ +

Reporting Supply Levels

+ +

CUPS tracks several "marker-*" attributes for ink/toner supply level +reporting. These attributes allow applications to display the current supply +levels for a printer without printer-specific software. Table 3 lists the marker attributes and what they represent.

+ +

Filters set marker attributes by sending "ATTR:" messages to stderr. For +example, a filter supporting an inkjet printer with black and tri-color ink +cartridges would use the following to initialize the supply attributes:

+ +
+fputs("ATTR: marker-colors=#000000,#00FFFF#FF00FF#FFFF00\n", stderr);
+fputs("ATTR: marker-low-levels=5,10\n", stderr);
+fputs("ATTR: marker-names=Black,Tri-Color\n", stderr);
+fputs("ATTR: marker-types=ink,ink\n", stderr);
+
+ +

Then periodically the filter queries the printer for its current supply +levels and updates them with a separate "ATTR:" message:

+ +
+int black_level, tri_level;
+...
+fprintf(stderr, "ATTR: marker-levels=%d,%d\n", black_level, tri_level);
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3: Supply Level Attributes
AttributeDescription
marker-colorsA list of comma-separated colors; each color is either "none" or one or + more hex-encoded sRGB colors of the form "#RRGGBB".
marker-high-levelsA list of comma-separated "almost full" level values from 0 to 100; a + value of 100 should be used for supplies that are consumed/emptied like ink + cartridges.
marker-levelsA list of comma-separated level values for each supply. A value of -1 + indicates the level is unavailable, -2 indicates unknown, and -3 indicates + the level is unknown but has not yet reached capacity. Values from 0 to 100 + indicate the corresponding percentage.
marker-low-levelsA list of comma-separated "almost empty" level values from 0 to 100; a + value of 0 should be used for supplies that are filled like waste ink + tanks.
marker-messageA human-readable supply status message for the user like "12 pages of + ink remaining."
marker-namesA list of comma-separated supply names like "Cyan Ink", "Fuser", + etc.
marker-typesA list of comma-separated supply types; the types are listed in + Table 1.
+ +

Communicating with the Backend

+ +

Filters can communicate with the backend via the +cupsBackChannelRead and +cupsSideChannelDoRequest +functions. The +cupsBackChannelRead function +reads data that has been sent back from the device and is typically used to +obtain status and configuration information. For example, the following code +polls the backend for back-channel data:

+ +
+#include <cups/cups.h>
+
+char buffer[8192];
+ssize_t bytes;
+
+/* Use a timeout of 0.0 seconds to poll for back-channel data */
+bytes = cupsBackChannelRead(buffer, sizeof(buffer), 0.0);
+
+ +

Filters can also use select() or poll() on the +back-channel file descriptor (3 or CUPS_BC_FD) to read data only +when it is available.

+ +

The +cupsSideChannelDoRequest +function allows you to get out-of-band status information and do synchronization +with the device. For example, the following code gets the current IEEE-1284 +device ID string from the backend:

+ +
+#include <cups/sidechannel.h>
+
+char data[2049];
+int datalen;
+cups_sc_status_t status;
+
+/* Tell cupsSideChannelDoRequest() how big our buffer is, less 1 byte for
+   nul-termination... */
+datalen = sizeof(data) - 1;
+
+/* Get the IEEE-1284 device ID, waiting for up to 1 second */
+status = cupsSideChannelDoRequest(CUPS_SC_CMD_GET_DEVICE_ID, data, &datalen, 1.0);
+
+/* Use the returned value if OK was returned and the length is non-zero */
+if (status == CUPS_SC_STATUS_OK && datalen > 0)
+  data[datalen] = '\0';
+else
+  data[0] = '\0';
+
+ +

Forcing All Output to a Printer

+ +

The +cupsSideChannelDoRequest +function allows you to tell the backend to send all pending data to the printer. +This is most often needed when sending query commands to the printer. For example:

+ +
+#include <cups/cups.h>
+#include <cups/sidechannel.h>
+
+char data[1024];
+int datalen = sizeof(data);
+cups_sc_status_t status;
+
+/* Flush pending output to stdout */
+fflush(stdout);
+
+/* Drain output to backend, waiting for up to 30 seconds */
+status = cupsSideChannelDoRequest(CUPS_SC_CMD_DRAIN_OUTPUT, data, &datalen, 30.0);
+
+/* Read the response if the output was sent */
+if (status == CUPS_SC_STATUS_OK)
+{
+  ssize_t bytes;
+
+  /* Wait up to 10.0 seconds for back-channel data */
+  bytes = cupsBackChannelRead(data, sizeof(data), 10.0);
+  /* do something with the data from the printer */
+}
+
+ +

Communicating with Filters

+ +

Backends communicate with filters using the reciprocal functions +cupsBackChannelWrite, +cupsSideChannelRead, and +cupsSideChannelWrite. We +recommend writing back-channel data using a timeout of 1.0 seconds:

+ +
+#include <cups/cups.h>
+
+char buffer[8192];
+ssize_t bytes;
+
+/* Obtain data from printer/device */
+...
+
+/* Use a timeout of 1.0 seconds to give filters a chance to read */
+cupsBackChannelWrite(buffer, bytes, 1.0);
+
+ +

The cupsSideChannelRead +function reads a side-channel command from a filter, driver, or port monitor. +Backends can either poll for commands using a timeout of 0.0, wait +indefinitely for commands using a timeout of -1.0 (probably in a +separate thread for that purpose), or use select or +poll on the CUPS_SC_FD file descriptor (4) to handle +input and output on several file descriptors at the same time.

+ +

Once a command is processed, the backend uses the +cupsSideChannelWrite function +to send its response. For example, the following code shows how to poll for a +side-channel command and respond to it:

+ +
+#include <cups/sidechannel.h>
+
+cups_sc_command_t command;
+cups_sc_status_t status;
+char data[2048];
+int datalen = sizeof(data);
+
+/* Poll for a command... */
+if (!cupsSideChannelRead(&command, &status, data, &datalen, 0.0))
+{
+  switch (command)
+  {
+    /* handle supported commands, fill data/datalen/status with values as needed */
+
+    default :
+        status  = CUPS_SC_STATUS_NOT_IMPLEMENTED;
+	datalen = 0;
+	break;
+  }
+
+  /* Send a response... */
+  cupsSideChannelWrite(command, status, data, datalen, 1.0);
+}
+
+ +

Doing SNMP Queries with Network Printers

+ +

The Simple Network Management Protocol (SNMP) allows you to get the current +status, page counter, and supply levels from most network printers. Every +piece of information is associated with an Object Identifier (OID), and +every printer has a community name associated with it. OIDs can be +queried directly or by "walking" over a range of OIDs with a common prefix.

+ +

The two CUPS SNMP functions provide a simple API for querying network +printers through the side-channel interface. Each accepts a string containing +an OID like ".1.3.6.1.2.1.43.10.2.1.4.1.1" (the standard page counter OID) +along with a timeout for the query.

+ +

The cupsSideChannelSNMPGet +function queries a single OID and returns the value as a string in a buffer +you supply:

+ +
+#include <cups/sidechannel.h>
+
+char data[512];
+int datalen = sizeof(data);
+
+if (cupsSideChannelSNMPGet(".1.3.6.1.2.1.43.10.2.1.4.1.1", data, &datalen, 5.0)
+        == CUPS_SC_STATUS_OK)
+{
+  /* Do something with the value */
+  printf("Page counter is: %s\n", data);
+}
+
+ +

The +cupsSideChannelSNMPWalk +function allows you to query a whole group of OIDs, calling a function of your +choice for each OID that is found:

+ +
+#include <cups/sidechannel.h>
+
+void
+my_callback(const char *oid, const char *data, int datalen, void *context)
+{
+  /* Do something with the value */
+  printf("%s=%s\n", oid, data);
+}
+
+...
+
+void *my_data;
+
+cupsSNMPSideChannelWalk(".1.3.6.1.2.1.43", 5.0, my_callback, my_data);
+
+ +

Sandboxing on macOS

+ +

Starting with macOS 10.6, filters and backends are run inside a security "sandbox" which further limits (beyond the normal UNIX user/group permissions) what a filter or backend can do. This helps to both secure the printing system from malicious software and enforce the functional separation of components in the CUPS filter chain. What follows is a list of actions that are explicitly allowed for all filters and backends:

+ +
    + +
  1. Reading of files: pursuant to normal UNIX file permissions, filters and backends can read files for the current job from the /private/var/spool/cups directory and other files on mounted filesystems except for user home directories under /Users.
  2. + +
  3. Writing of files: pursuant to normal UNIX file permissions, filters and backends can read/write files to the cache directory specified by the CUPS_CACHEDIR environment variable, to the state directory specified by the CUPS_STATEDIR environment variable, to the temporary directory specified by the TMPDIR environment variable, and under the /private/var/db, /private/var/folders, /private/var/lib, /private/var/mysql, /private/var/run, /private/var/spool (except /private/var/spool/cups), /Library/Application Support, /Library/Caches, /Library/Logs, /Library/Preferences, /Library/WebServer, and /Users/Shared directories.
  4. + +
  5. Execution of programs: pursuant to normal UNIX file permissions, filters and backends can execute any program not located under the /Users directory. Child processes inherit the sandbox and are subject to the same restrictions as the parent.
  6. + +
  7. Bluetooth and USB: backends can access Bluetooth and USB printers through IOKit. Filters cannot access Bluetooth and USB printers directly.
  8. + +
  9. Network: filters and backends can access UNIX domain sockets under the /private/tmp, /private/var/run, and /private/var/tmp directories. Backends can also create IPv4 and IPv6 TCP (outgoing) and UDP (incoming and outgoing) socket, and bind to local source ports. Filters cannot directly create IPv4 and IPv6 TCP or UDP sockets.
  10. + +
  11. Notifications: filters and backends can send notifications via the Darwin notify_post() API.
  12. + +
+ +
Note: + +

The sandbox profile used in CUPS still allows some actions that are not listed above - these privileges will be removed over time until the profile matches the list above.

+
+

Functions

+

 CUPS 1.2/macOS 10.5 cupsBackChannelRead

+

Read data from the backchannel.

+

+ssize_t cupsBackChannelRead(char *buffer, size_t bytes, double timeout);

+

Parameters

+ + + + + + + +
bufferBuffer to read into
bytesBytes to read
timeoutTimeout in seconds, typically 0.0 to poll
+

Return Value

+

Bytes read or -1 on error

+

Discussion

+

Reads up to "bytes" bytes from the backchannel/backend. The "timeout" +parameter controls how many seconds to wait for the data - use 0.0 to +return immediately if there is no data, -1.0 to wait for data indefinitely. + +

+

 CUPS 1.2/macOS 10.5 cupsBackChannelWrite

+

Write data to the backchannel.

+

+ssize_t cupsBackChannelWrite(const char *buffer, size_t bytes, double timeout);

+

Parameters

+ + + + + + + +
bufferBuffer to write
bytesBytes to write
timeoutTimeout in seconds, typically 1.0
+

Return Value

+

Bytes written or -1 on error

+

Discussion

+

Writes "bytes" bytes to the backchannel/filter. The "timeout" parameter +controls how many seconds to wait for the data to be written - use +0.0 to return immediately if the data cannot be written, -1.0 to wait +indefinitely. + +

+

 CUPS 1.2/macOS 10.5 cupsBackendDeviceURI

+

Get the device URI for a backend.

+

+const char *cupsBackendDeviceURI(char **argv);

+

Parameters

+ + + +
argvCommand-line arguments
+

Return Value

+

Device URI or NULL

+

Discussion

+

The "argv" argument is the argv argument passed to main(). This +function returns the device URI passed in the DEVICE_URI environment +variable or the device URI passed in argv[0], whichever is found +first. + +

+

 CUPS 1.4/macOS 10.6 cupsBackendReport

+

Write a device line from a backend.

+

+void cupsBackendReport(const char *device_scheme, const char *device_uri, const char *device_make_and_model, const char *device_info, const char *device_id, const char *device_location);

+

Parameters

+ + + + + + + + + + + + + +
device_schemedevice-scheme string
device_uridevice-uri string
device_make_and_modeldevice-make-and-model string or NULL
device_infodevice-info string or NULL
device_iddevice-id string or NULL
device_locationdevice-location string or NULL
+

Discussion

+

This function writes a single device line to stdout for a backend. +It handles quoting of special characters in the device-make-and-model, +device-info, device-id, and device-location strings. + +

+

 CUPS 1.3/macOS 10.5 cupsSideChannelDoRequest

+

Send a side-channel command to a backend and wait for a response.

+

+cups_sc_status_t cupsSideChannelDoRequest(cups_sc_command_t command, char *data, int *datalen, double timeout);

+

Parameters

+ + + + + + + + + +
commandCommand to send
dataResponse data buffer pointer
datalenSize of data buffer on entry, number of bytes in buffer on return
timeoutTimeout in seconds
+

Return Value

+

Status of command

+

Discussion

+

This function is normally only called by filters, drivers, or port +monitors in order to communicate with the backend used by the current +printer. Programs must be prepared to handle timeout or "not +implemented" status codes, which indicate that the backend or device +do not support the specified side-channel command.
+
+The "datalen" parameter must be initialized to the size of the buffer +pointed to by the "data" parameter. cupsSideChannelDoRequest() will +update the value to contain the number of data bytes in the buffer. + +

+

 CUPS 1.3/macOS 10.5 cupsSideChannelRead

+

Read a side-channel message.

+

+int cupsSideChannelRead(cups_sc_command_t *command, cups_sc_status_t *status, char *data, int *datalen, double timeout);

+

Parameters

+ + + + + + + + + + + +
commandCommand code
statusStatus code
dataData buffer pointer
datalenSize of data buffer on entry, number of bytes in buffer on return
timeoutTimeout in seconds
+

Return Value

+

0 on success, -1 on error

+

Discussion

+

This function is normally only called by backend programs to read +commands from a filter, driver, or port monitor program. The +caller must be prepared to handle incomplete or invalid messages +and return the corresponding status codes.
+
+The "datalen" parameter must be initialized to the size of the buffer +pointed to by the "data" parameter. cupsSideChannelDoRequest() will +update the value to contain the number of data bytes in the buffer. + +

+

 CUPS 1.4/macOS 10.6 cupsSideChannelSNMPGet

+

Query a SNMP OID's value.

+

+cups_sc_status_t cupsSideChannelSNMPGet(const char *oid, char *data, int *datalen, double timeout);

+

Parameters

+ + + + + + + + + +
oidOID to query
dataBuffer for OID value
datalenSize of OID buffer on entry, size of value on return
timeoutTimeout in seconds
+

Return Value

+

Query status

+

Discussion

+

This function asks the backend to do a SNMP OID query on behalf of the +filter, port monitor, or backend using the default community name.
+
+"oid" contains a numeric OID consisting of integers separated by periods, +for example ".1.3.6.1.2.1.43". Symbolic names from SNMP MIBs are not +supported and must be converted to their numeric forms.
+
+On input, "data" and "datalen" provide the location and size of the +buffer to hold the OID value as a string. HEX-String (binary) values are +converted to hexadecimal strings representing the binary data, while +NULL-Value and unknown OID types are returned as the empty string. +The returned "datalen" does not include the trailing nul. + +CUPS_SC_STATUS_NOT_IMPLEMENTED is returned by backends that do not +support SNMP queries. CUPS_SC_STATUS_NO_RESPONSE is returned when +the printer does not respond to the SNMP query. + +

+

 CUPS 1.4/macOS 10.6 cupsSideChannelSNMPWalk

+

Query multiple SNMP OID values.

+

+cups_sc_status_t cupsSideChannelSNMPWalk(const char *oid, double timeout, cups_sc_walk_func_t cb, void *context);

+

Parameters

+ + + + + + + + + +
oidFirst numeric OID to query
timeoutTimeout for each query in seconds
cbFunction to call with each value
contextApplication-defined pointer to send to callback
+

Return Value

+

Status of first query of CUPS_SC_STATUS_OK on success

+

Discussion

+

This function asks the backend to do multiple SNMP OID queries on behalf +of the filter, port monitor, or backend using the default community name. +All OIDs under the "parent" OID are queried and the results are sent to +the callback function you provide.
+
+"oid" contains a numeric OID consisting of integers separated by periods, +for example ".1.3.6.1.2.1.43". Symbolic names from SNMP MIBs are not +supported and must be converted to their numeric forms.
+
+"timeout" specifies the timeout for each OID query. The total amount of +time will depend on the number of OID values found and the time required +for each query.
+
+"cb" provides a function to call for every value that is found. "context" +is an application-defined pointer that is sent to the callback function +along with the OID and current data. The data passed to the callback is the +same as returned by cupsSideChannelSNMPGet. + +CUPS_SC_STATUS_NOT_IMPLEMENTED is returned by backends that do not +support SNMP queries. CUPS_SC_STATUS_NO_RESPONSE is returned when +the printer does not respond to the first SNMP query. + +

+

 CUPS 1.3/macOS 10.5 cupsSideChannelWrite

+

Write a side-channel message.

+

+int cupsSideChannelWrite(cups_sc_command_t command, cups_sc_status_t status, const char *data, int datalen, double timeout);

+

Parameters

+ + + + + + + + + + + +
commandCommand code
statusStatus code
dataData buffer pointer
datalenNumber of bytes of data
timeoutTimeout in seconds
+

Return Value

+

0 on success, -1 on error

+

Discussion

+

This function is normally only called by backend programs to send +responses to a filter, driver, or port monitor program. + +

+

Data Types

+

cups_backend_t

+

Backend exit codes

+

+typedef enum cups_backend_e cups_backend_t; +

+

cups_sc_bidi_t

+

Bidirectional capabilities

+

+typedef enum cups_sc_bidi_e cups_sc_bidi_t; +

+

cups_sc_command_t

+

Request command codes

+

+typedef enum cups_sc_command_e cups_sc_command_t; +

+

cups_sc_connected_t

+

Connectivity values

+

+typedef enum cups_sc_connected_e cups_sc_connected_t; +

+

cups_sc_state_t

+

Printer state bits

+

+typedef enum cups_sc_state_e cups_sc_state_t; +

+

cups_sc_status_t

+

Response status codes

+

+typedef enum cups_sc_status_e cups_sc_status_t; +

+

cups_sc_walk_func_t

+

SNMP walk callback

+

+typedef void (*cups_sc_walk_func_t)(const char *oid, const char *data, int datalen, void *context); +

+

Constants

+

cups_backend_e

+

Backend exit codes

+

Constants

+ + + + + + + + + +
CUPS_BACKEND_AUTH_REQUIRED Job failed, authentication required
CUPS_BACKEND_CANCEL Job failed, cancel job
CUPS_BACKEND_FAILED Job failed, use error-policy
CUPS_BACKEND_HOLD Job failed, hold job
CUPS_BACKEND_OK Job completed successfully
CUPS_BACKEND_RETRY Job failed, retry this job later
CUPS_BACKEND_RETRY_CURRENT Job failed, retry this job immediately
CUPS_BACKEND_STOP Job failed, stop queue
+

cups_sc_bidi_e

+

Bidirectional capability values

+

Constants

+ + + +
CUPS_SC_BIDI_NOT_SUPPORTED Bidirectional I/O is not supported
CUPS_SC_BIDI_SUPPORTED Bidirectional I/O is supported
+

cups_sc_command_e

+

Request command codes

+

Constants

+ + + + + + + + + +
CUPS_SC_CMD_DRAIN_OUTPUT Drain all pending output
CUPS_SC_CMD_GET_BIDI Return bidirectional capabilities
CUPS_SC_CMD_GET_CONNECTED  CUPS 1.5/macOS 10.7  Return whether the backend is "connected" to the printer
CUPS_SC_CMD_GET_DEVICE_ID Return the IEEE-1284 device ID
CUPS_SC_CMD_GET_STATE Return the device state
CUPS_SC_CMD_SNMP_GET  CUPS 1.4/macOS 10.6  Query an SNMP OID
CUPS_SC_CMD_SNMP_GET_NEXT  CUPS 1.4/macOS 10.6  Query the next SNMP OID
CUPS_SC_CMD_SOFT_RESET Do a soft reset
+

cups_sc_connected_e

+

Connectivity values

+

Constants

+ + + +
CUPS_SC_CONNECTED Backend is "connected" to printer
CUPS_SC_NOT_CONNECTED Backend is not "connected" to printer
+

cups_sc_state_e

+

Printer state bits

+

Constants

+ + + + + + + + + +
CUPS_SC_STATE_BUSY Device is busy
CUPS_SC_STATE_ERROR Other error condition
CUPS_SC_STATE_MARKER_EMPTY Toner/ink out condition
CUPS_SC_STATE_MARKER_LOW Toner/ink low condition
CUPS_SC_STATE_MEDIA_EMPTY Paper out condition
CUPS_SC_STATE_MEDIA_LOW Paper low condition
CUPS_SC_STATE_OFFLINE Device is offline
CUPS_SC_STATE_ONLINE Device is online
+

cups_sc_status_e

+

Response status codes

+

Constants

+ + + + + + + + + +
CUPS_SC_STATUS_BAD_MESSAGE The command/response message was invalid
CUPS_SC_STATUS_IO_ERROR An I/O error occurred
CUPS_SC_STATUS_NONE No status
CUPS_SC_STATUS_NOT_IMPLEMENTED Command not implemented
CUPS_SC_STATUS_NO_RESPONSE The device did not respond
CUPS_SC_STATUS_OK Operation succeeded
CUPS_SC_STATUS_TIMEOUT The backend did not respond
CUPS_SC_STATUS_TOO_BIG Response too big
+
+ + diff --git a/doc/help/api-ppd.html b/doc/help/api-ppd.html new file mode 100644 index 0000000..fce4da3 --- /dev/null +++ b/doc/help/api-ppd.html @@ -0,0 +1,2193 @@ + + + + + PPD API (DEPRECATED) + + + + + + + + + + + +

PPD API (DEPRECATED)

+ +
Note: + +

The PPD API was deprecated in CUPS 1.6/macOS 10.8. Please use the new Job Ticket APIs in the CUPS Programming Manual documentation. These functions will be removed in a future release of CUPS.

+
+ +
+ + + + + + + + + + + + + + + + +
Headercups/ppd.h
Library-lcups
See AlsoProgramming: Introduction to CUPS Programming
+ Programming: CUPS Programming Manual
+ Specifications: CUPS PPD Extensions
+ +
+ + +

Overview

+ +
Note: + +

The PPD API was deprecated in CUPS 1.6/macOS 10.8. Please use the new Job Ticket APIs in the CUPS Programming Manual documentation. These functions will be removed in a future release of CUPS.

+
+ +

The CUPS PPD API provides read-only access the data in PostScript Printer +Description ("PPD") files which are used for all printers with a driver. With +it you can obtain the data necessary to display printer options to users, mark +option choices and check for conflicting choices, and output marked choices in +PostScript output. The ppd_file_t +structure contains all of the information in a PPD file.

+ +
Note: + +

The CUPS PPD API uses the terms "option" and "choice" instead of the Adobe +terms "MainKeyword" and "OptionKeyword" to refer to specific printer options and +features. CUPS also treats option ("MainKeyword") and choice ("OptionKeyword") +values as case-insensitive strings, so option "InputSlot" and choice "Upper" +are equivalent to "inputslot" and "upper", respectively.

+
+ + +

Loading a PPD File

+ +

The ppdOpenFile function "opens" a +PPD file and loads it into memory. For example, the following code opens the +current printer's PPD file in a CUPS filter:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd = ppdOpenFile(getenv("PPD"));
+
+ +

The return value is a pointer to a new +ppd_file_t structure or NULL +if the PPD file does not exist or cannot be loaded. The +ppdClose function frees the memory used +by the structure:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd;
+
+ppdClose(ppd);
+
+ +

Once closed, pointers to the ppd_file_t +structure and any data in it will no longer be valid.

+ +

Options and Groups

+ +

PPD files support multiple options, which are stored in arrays of +ppd_option_t and +ppd_choice_t structures.

+ +

Each option in turn is associated with a group stored in a +ppd_group_t structure. Groups can be +specified in the PPD file; if an option is not associated with a group +then it is put in an automatically-generated "General" group. Groups can also +have sub-groups, however CUPS currently ignores sub-groups because of past +abuses of this functionality.

+ +

Option choices are selected by marking them using one of three functions. The +first is ppdMarkDefaults which +selects all of the default options in the PPD file:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd;
+
+ppdMarkDefaults(ppd);
+
+ +

The second is ppdMarkOption +which selects a single option choice in the PPD file. For example, the following +code selects the upper paper tray:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd;
+
+ppdMarkOption(ppd, "InputSlot", "Upper");
+
+ +

The last function is +cupsMarkOptions which selects +multiple option choices in the PPD file from an array of CUPS options, mapping +IPP attributes like "media" and "sides" to their corresponding PPD options. You +typically use this function in a print filter with +cupsParseOptions and +ppdMarkDefaults to select all of +the option choices needed for the job, for example:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd = ppdOpenFile(getenv("PPD"));
+cups_option_t *options = NULL;
+int num_options = cupsParseOptions(argv[5], 0, &options);
+
+ppdMarkDefaults(ppd);
+cupsMarkOptions(ppd, num_options, options);
+cupsFreeOptions(num_options, options);
+
+ + +

Constraints

+ +

PPD files support specification of conflict conditions, called +constraints, between different options. Constraints are stored in an array of +ppd_const_t structures which specify +the options and choices that conflict with each other. The +ppdConflicts function tells you +how many of the selected options are incompatible. Since constraints are +normally specified in pairs, the returned value is typically an even number.

+ + +

Page Sizes

+ +

Page sizes are special options which have physical dimensions and margins +associated with them. The size information is stored in +ppd_size_t structures and is available +by looking up the named size with the +ppdPageSize function. The page size and +margins are returned in units called points; there are 72 points per inch. If +you pass NULL for the size, the currently selected size is +returned:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd;
+ppd_size_t *size = ppdPageSize(ppd, NULL);
+
+ +

Besides the standard page sizes listed in a PPD file, some printers +support variable or custom page sizes. Custom page sizes are supported if the +variables_sizes member of the +ppd_file_t structure is non-zero. +The custom_min, custom_max, and +custom_margins members of the +ppd_file_t structure define the limits +of the printable area. To get the resulting media size, use a page size string +of the form "Custom.widthxlength", where "width" and "length" are +in points. Custom page size names can also be specified in inches +("Custom.widthxheightin"), centimeters +("Custom.widthxheightcm"), or millimeters +("Custom.widthxheightmm"):

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd;
+
+/* Get an 576x720 point custom page size */
+ppd_size_t *size = ppdPageSize(ppd, "Custom.576x720");
+
+/* Get an 8x10 inch custom page size */
+ppd_size_t *size = ppdPageSize(ppd, "Custom.8x10in");
+
+/* Get a 100x200 millimeter custom page size */
+ppd_size_t *size = ppdPageSize(ppd, "Custom.100x200mm");
+
+/* Get a 12.7x34.5 centimeter custom page size */
+ppd_size_t *size = ppdPageSize(ppd, "Custom.12.7x34.5cm");
+
+ +

If the PPD does not support variable page sizes, the +ppdPageSize function will return +NULL.

+ + +

Attributes

+ +

Every PPD file is composed of one or more attributes. Most of these +attributes are used to define groups, options, choices, and page sizes, +however several informational attributes may be present which you can access +in your program or filter. Attributes normally look like one of the following +examples in a PPD file:

+ +
+*name: "value"
+*name spec: "value"
+*name spec/text: "value"
+
+ +

The ppdFindAttr and +ppdFindNextAttr functions find the +first and next instances, respectively, of the named attribute with the given +"spec" string and return a ppd_attr_t +structure. If you provide a NULL specifier string, all attributes with the +given name will be returned. For example, the following code lists all of the +Product attributes in a PPD file:

+ +
+#include <cups/ppd.h>
+
+ppd_file_t *ppd;
+ppd_attr_t *attr;
+
+for (attr = ppdFindAttr(ppd, "Product", NULL);
+     attr != NULL;
+     attr = ppdFindNextAttr(ppd, "Product", NULL))
+  puts(attr->value);
+
+

Functions

+

 CUPS 1.4/macOS 10.6 cupsGetConflicts

+

Get a list of conflicting options in a marked PPD.

+

+int cupsGetConflicts(ppd_file_t *ppd, const char *option, const char *choice, cups_option_t **options);

+

Parameters

+ + + + + + + + + +
ppdPPD file
optionOption to test
choiceChoice to test
optionsConflicting options
+

Return Value

+

Number of conflicting options

+

Discussion

+

This function gets a list of options that would conflict if "option" and +"choice" were marked in the PPD. You would typically call this function +after marking the currently selected options in the PPD in order to +determine whether a new option selection would cause a conflict.
+
+The number of conflicting options are returned with "options" pointing to +the conflicting options. The returned option array must be freed using +cupsFreeOptions. + +

+

cupsGetPPD

+

Get the PPD file for a printer on the default server.

+

+const char *cupsGetPPD(const char *name);

+

Parameters

+ + + +
nameDestination name
+

Return Value

+

Filename for PPD file

+

Discussion

+

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. The caller "owns" the +file that is created and must unlink the returned filename.

+

 CUPS 1.1.21/macOS 10.4 cupsGetPPD2

+

Get the PPD file for a printer from the specified server.

+

+const char *cupsGetPPD2(http_t *http, const char *name);

+

Parameters

+ + + + + +
httpConnection to server or CUPS_HTTP_DEFAULT
nameDestination name
+

Return Value

+

Filename for PPD file

+

Discussion

+

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. The caller "owns" the +file that is created and must unlink the returned filename. + +

+

 CUPS 1.4/macOS 10.6 cupsGetPPD3

+

Get the PPD file for a printer on the specified +server if it has changed.

+

+http_status_t cupsGetPPD3(http_t *http, const char *name, time_t *modtime, char *buffer, size_t bufsize);

+

Parameters

+ + + + + + + + + + + +
httpHTTP connection or CUPS_HTTP_DEFAULT
nameDestination name
modtimeModification time
bufferFilename buffer
bufsizeSize of filename buffer
+

Return Value

+

HTTP status

+

Discussion

+

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. The caller "owns" the file that is +created and must unlink the returned filename.
+
+On success, HTTP_STATUS_OK is returned for a new PPD file and +HTTP_STATUS_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. + +

+

 CUPS 1.3/macOS 10.5 cupsGetServerPPD

+

Get an available PPD file from the server.

+

+char *cupsGetServerPPD(http_t *http, const char *name);

+

Parameters

+ + + + + +
httpConnection to server or CUPS_HTTP_DEFAULT
nameName of PPD file ("ppd-name")
+

Return Value

+

Name of PPD file or NULL on error

+

Discussion

+

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. + +

+

cupsMarkOptions

+

Mark command-line options in a PPD file.

+

+int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options);

+

Parameters

+ + + + + + + +
ppdPPD file
num_optionsNumber of options
optionsOptions
+

Return Value

+

1 if conflicts exist, 0 otherwise

+

Discussion

+

This function maps the IPP "finishings", "media", "mirror", +"multiple-document-handling", "output-bin", "print-color-mode", +"print-quality", "printer-resolution", and "sides" attributes to their +corresponding PPD options and choices.

+

 CUPS 1.2/macOS 10.5 cupsRasterInterpretPPD

+

Interpret PPD commands to create a page header.

+

+int cupsRasterInterpretPPD(cups_page_header2_t *h, ppd_file_t *ppd, int num_options, cups_option_t *options, cups_interpret_cb_t func);

+

Parameters

+ + + + + + + + + + + +
hPage header to create
ppdPPD file
num_optionsNumber of options
optionsOptions
funcOptional page header callback (NULL for none)
+

Return Value

+

0 on success, -1 on failure

+

Discussion

+

This function is used by raster image processing (RIP) filters like +cgpdftoraster and imagetoraster when writing CUPS raster data for a page. +It is not used by raster printer driver filters which only read CUPS +raster data.
+
+ +cupsRasterInterpretPPD does not mark the options in the PPD using +the "num_options" and "options" arguments. Instead, mark the options with +cupsMarkOptions and ppdMarkOption prior to calling it - +this allows for per-page options without manipulating the options array.
+
+The "func" argument specifies an optional callback function that is +called prior to the computation of the final raster data. The function +can make changes to the cups_page_header2_t data as needed to use a +supported raster format and then returns 0 on success and -1 if the +requested attributes cannot be supported.
+
+ +cupsRasterInterpretPPD supports a subset of the PostScript language. +Currently only the [, ], <<, >>, {, +}, cleartomark, copy, dup, index, +pop, roll, setpagedevice, and stopped operators +are supported. + +

+

 CUPS 1.4/macOS 10.6 cupsResolveConflicts

+

Resolve conflicts in a marked PPD.

+

+int cupsResolveConflicts(ppd_file_t *ppd, const char *option, const char *choice, int *num_options, cups_option_t **options);

+

Parameters

+ + + + + + + + + + + +
ppdPPD file
optionNewly selected option or NULL for none
choiceNewly selected choice or NULL for none
num_optionsNumber of additional selected options
optionsAdditional selected options
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

This function attempts to resolve any conflicts in a marked PPD, returning +a list of option changes that are required to resolve them. On input, +"num_options" and "options" contain any pending option changes that have +not yet been marked, while "option" and "choice" contain the most recent +selection which may or may not be in "num_options" or "options".
+
+On successful return, "num_options" and "options" are updated to contain +"option" and "choice" along with any changes required to resolve conflicts +specified in the PPD file and 1 is returned.
+
+If option conflicts cannot be resolved, "num_options" and "options" are not +changed and 0 is returned.
+
+When resolving conflicts, cupsResolveConflicts does not consider +changes to the current page size (media, PageSize, and +PageRegion) or to the most recent option specified in "option". +Thus, if the only way to resolve a conflict is to change the page size +or the option the user most recently changed, cupsResolveConflicts +will return 0 to indicate it was unable to resolve the conflicts.
+
+The cupsResolveConflicts function uses one of two sources of option +constraint information. The preferred constraint information is defined by +cupsUIConstraints and cupsUIResolver attributes - in this +case, the PPD file provides constraint resolution actions.
+
+The backup constraint information is defined by the +UIConstraints and NonUIConstraints attributes. These +constraints are resolved algorithmically by first selecting the default +choice for the conflicting option, then iterating over all possible choices +until a non-conflicting option choice is found. + +

+

ppdCollect

+

Collect all marked options that reside in the specified +section.

+

+int ppdCollect(ppd_file_t *ppd, ppd_section_t section, ppd_choice_t ***choices);

+

Parameters

+ + + + + + + +
ppdPPD file data
sectionSection to collect
choicesPointers to choices
+

Return Value

+

Number of options marked

+

Discussion

+

The choices array should be freed using free when you are +finished with it.

+

 CUPS 1.2/macOS 10.5 ppdCollect2

+

Collect all marked options that reside in the +specified section and minimum order.

+

+int ppdCollect2(ppd_file_t *ppd, ppd_section_t section, float min_order, ppd_choice_t ***choices);

+

Parameters

+ + + + + + + + + +
ppdPPD file data
sectionSection to collect
min_orderMinimum OrderDependency value
choicesPointers to choices
+

Return Value

+

Number of options marked

+

Discussion

+

The choices array should be freed using free when you are +finished with it. + +

+

ppdConflicts

+

Check to see if there are any conflicts among the +marked option choices.

+

+int ppdConflicts(ppd_file_t *ppd);

+

Parameters

+ + + +
ppdPPD to check
+

Return Value

+

Number of conflicts found

+

Discussion

+

The returned value is the same as returned by ppdMarkOption.

+

ppdEmit

+

Emit code for marked options to a file.

+

+int ppdEmit(ppd_file_t *ppd, FILE *fp, ppd_section_t section);

+

Parameters

+ + + + + + + +
ppdPPD file record
fpFile to write to
sectionSection to write
+

Return Value

+

0 on success, -1 on failure

+

 CUPS 1.2/macOS 10.5 ppdEmitAfterOrder

+

Emit a subset of the code for marked options to a file.

+

+int ppdEmitAfterOrder(ppd_file_t *ppd, FILE *fp, ppd_section_t section, int limit, float min_order);

+

Parameters

+ + + + + + + + + + + +
ppdPPD file record
fpFile to write to
sectionSection to write
limitNon-zero to use min_order
min_orderLowest OrderDependency
+

Return Value

+

0 on success, -1 on failure

+

Discussion

+

When "limit" is non-zero, this function only emits options whose +OrderDependency value is greater than or equal to "min_order".
+
+When "limit" is zero, this function is identical to ppdEmit(). + +

+

ppdEmitFd

+

Emit code for marked options to a file.

+

+int ppdEmitFd(ppd_file_t *ppd, int fd, ppd_section_t section);

+

Parameters

+ + + + + + + +
ppdPPD file record
fdFile to write to
sectionSection to write
+

Return Value

+

0 on success, -1 on failure

+

ppdEmitJCL

+

Emit code for JCL options to a file.

+

+int ppdEmitJCL(ppd_file_t *ppd, FILE *fp, int job_id, const char *user, const char *title);

+

Parameters

+ + + + + + + + + + + +
ppdPPD file record
fpFile to write to
job_idJob ID
userUsername
titleTitle
+

Return Value

+

0 on success, -1 on failure

+

 CUPS 1.2/macOS 10.5 ppdEmitJCLEnd

+

Emit JCLEnd code to a file.

+

+int ppdEmitJCLEnd(ppd_file_t *ppd, FILE *fp);

+

Parameters

+ + + + + +
ppdPPD file record
fpFile to write to
+

Return Value

+

0 on success, -1 on failure

+

 CUPS 1.2/macOS 10.5 ppdEmitString

+

Get a string containing the code for marked options.

+

+char *ppdEmitString(ppd_file_t *ppd, ppd_section_t section, float min_order);

+

Parameters

+ + + + + + + +
ppdPPD file record
sectionSection to write
min_orderLowest OrderDependency
+

Return Value

+

String containing option code or NULL if there is no option code

+

Discussion

+

When "min_order" is greater than zero, this function only includes options +whose OrderDependency value is greater than or equal to "min_order". +Otherwise, all options in the specified section are included in the +returned string.
+
+The return string is allocated on the heap and should be freed using +free when you are done with it. + +

+

 CUPS 1.1.19/macOS 10.3 ppdFindAttr

+

Find the first matching attribute.

+

+ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, const char *spec);

+

Parameters

+ + + + + + + +
ppdPPD file data
nameAttribute name
specSpecifier string or NULL
+

Return Value

+

Attribute or NULL if not found

+

ppdFindChoice

+

Return a pointer to an option choice.

+

+ppd_choice_t *ppdFindChoice(ppd_option_t *o, const char *choice);

+

Parameters

+ + + + + +
oPointer to option
choiceName of choice
+

Return Value

+

Choice pointer or NULL

+

 CUPS 1.2/macOS 10.5 ppdFindCustomOption

+

Find a custom option.

+

+ppd_coption_t *ppdFindCustomOption(ppd_file_t *ppd, const char *keyword);

+

Parameters

+ + + + + +
ppdPPD file
keywordCustom option name
+

Return Value

+

Custom option or NULL

+

 CUPS 1.2/macOS 10.5 ppdFindCustomParam

+

Find a parameter for a custom option.

+

+ppd_cparam_t *ppdFindCustomParam(ppd_coption_t *opt, const char *name);

+

Parameters

+ + + + + +
optCustom option
nameParameter name
+

Return Value

+

Custom parameter or NULL

+

ppdFindMarkedChoice

+

Return the marked choice for the specified option.

+

+ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, const char *option);

+

Parameters

+ + + + + +
ppdPPD file
optionKeyword/option name
+

Return Value

+

Pointer to choice or NULL

+

 CUPS 1.1.19/macOS 10.3 ppdFindNextAttr

+

Find the next matching attribute.

+

+ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, const char *spec);

+

Parameters

+ + + + + + + +
ppdPPD file data
nameAttribute name
specSpecifier string or NULL
+

Return Value

+

Attribute or NULL if not found

+

ppdFindOption

+

Return a pointer to the specified option.

+

+ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *option);

+

Parameters

+ + + + + +
ppdPPD file data
optionOption/Keyword name
+

Return Value

+

Pointer to option or NULL

+

 CUPS 1.2/macOS 10.5 ppdFirstCustomParam

+

Return the first parameter for a custom option.

+

+ppd_cparam_t *ppdFirstCustomParam(ppd_coption_t *opt);

+

Parameters

+ + + +
optCustom option
+

Return Value

+

Custom parameter or NULL

+

 CUPS 1.2/macOS 10.5 ppdFirstOption

+

Return the first option in the PPD file.

+

+ppd_option_t *ppdFirstOption(ppd_file_t *ppd);

+

Parameters

+ + + +
ppdPPD file
+

Return Value

+

First option or NULL

+

Discussion

+

Options are returned from all groups in ascending alphanumeric order. + +

+

 CUPS 1.4/macOS 10.6 ppdInstallableConflict

+

Test whether an option choice conflicts with +an installable option.

+

+int ppdInstallableConflict(ppd_file_t *ppd, const char *option, const char *choice);

+

Parameters

+ + + + + + + +
ppdPPD file
optionOption
choiceChoice
+

Return Value

+

1 if conflicting, 0 if not conflicting

+

Discussion

+

This function tests whether a particular option choice is available based +on constraints against options in the "InstallableOptions" group. + +

+

ppdIsMarked

+

Check to see if an option is marked.

+

+int ppdIsMarked(ppd_file_t *ppd, const char *option, const char *choice);

+

Parameters

+ + + + + + + +
ppdPPD file data
optionOption/Keyword name
choiceChoice name
+

Return Value

+

Non-zero if option is marked

+

 CUPS 1.2/macOS 10.5 ppdLocalize

+

Localize the PPD file to the current locale.

+

+int ppdLocalize(ppd_file_t *ppd);

+

Parameters

+ + + +
ppdPPD file
+

Return Value

+

0 on success, -1 on error

+

Discussion

+

All groups, options, and choices are localized, as are ICC profile +descriptions, printer presets, and custom option parameters. Each +localized string uses the UTF-8 character encoding. + +

+

ppdLocalizeAttr

+

Localize an attribute.

+

+ppd_attr_t *ppdLocalizeAttr(ppd_file_t *ppd, const char *keyword, const char *spec);

+

Parameters

+ + + + + + + +
ppdPPD file
keywordMain keyword
specOption keyword or NULL for none
+

Return Value

+

Localized attribute or NULL if none exists

+

Discussion

+

This function uses the current locale to find the localized attribute for +the given main and option keywords. If no localized version of the +attribute exists for the current locale, the unlocalized version is returned.

+

 CUPS 1.3/macOS 10.5 ppdLocalizeIPPReason

+

Get the localized version of a cupsIPPReason +attribute.

+

+const char *ppdLocalizeIPPReason(ppd_file_t *ppd, const char *reason, const char *scheme, char *buffer, size_t bufsize);

+

Parameters

+ + + + + + + + + + + +
ppdPPD file
reasonIPP reason keyword to look up
schemeURI scheme or NULL for text
bufferValue buffer
bufsizeSize of value buffer
+

Return Value

+

Value or NULL if not found

+

Discussion

+

This function uses the current locale to find the corresponding reason +text or URI from the attribute value. If "scheme" is NULL or "text", +the returned value contains human-readable (UTF-8) text from the translation +string or attribute value. Otherwise the corresponding URI is returned.
+
+If no value of the requested scheme can be found, NULL is returned. + +

+

 CUPS 1.4/macOS 10.6 ppdLocalizeMarkerName

+

Get the localized version of a marker-names +attribute value.

+

+const char *ppdLocalizeMarkerName(ppd_file_t *ppd, const char *name);

+

Parameters

+ + + + + +
ppdPPD file
nameMarker name to look up
+

Return Value

+

Value or NULL if not found

+

Discussion

+

This function uses the current locale to find the corresponding name +text from the attribute value. If no localized text for the requested +name can be found, NULL is returned. + +

+

ppdMarkDefaults

+

Mark all default options in the PPD file.

+

+void ppdMarkDefaults(ppd_file_t *ppd);

+

Parameters

+ + + +
ppdPPD file record
+

ppdMarkOption

+

Mark an option in a PPD file and return the number of +conflicts.

+

+int ppdMarkOption(ppd_file_t *ppd, const char *option, const char *choice);

+

Parameters

+ + + + + + + +
ppdPPD file record
optionKeyword
choiceOption name
+

Return Value

+

Number of conflicts

+

 CUPS 1.2/macOS 10.5 ppdNextCustomParam

+

Return the next parameter for a custom option.

+

+ppd_cparam_t *ppdNextCustomParam(ppd_coption_t *opt);

+

Parameters

+ + + +
optCustom option
+

Return Value

+

Custom parameter or NULL

+

 CUPS 1.2/macOS 10.5 ppdNextOption

+

Return the next option in the PPD file.

+

+ppd_option_t *ppdNextOption(ppd_file_t *ppd);

+

Parameters

+ + + +
ppdPPD file
+

Return Value

+

Next option or NULL

+

Discussion

+

Options are returned from all groups in ascending alphanumeric order. + +

+

ppdPageLength

+

Get the page length for the given size.

+

+float ppdPageLength(ppd_file_t *ppd, const char *name);

+

Parameters

+ + + + + +
ppdPPD file
nameSize name
+

Return Value

+

Length of page in points or 0.0

+

ppdPageSize

+

Get the page size record for the named size.

+

+ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name);

+

Parameters

+ + + + + +
ppdPPD file record
nameSize name
+

Return Value

+

Size record for page or NULL

+

 CUPS 1.4/macOS 10.6 ppdPageSizeLimits

+

Return the custom page size limits.

+

+int ppdPageSizeLimits(ppd_file_t *ppd, ppd_size_t *minimum, ppd_size_t *maximum);

+

Parameters

+ + + + + + + +
ppdPPD file record
minimumMinimum custom size
maximumMaximum custom size
+

Return Value

+

1 if custom sizes are supported, 0 otherwise

+

Discussion

+

This function returns the minimum and maximum custom page sizes and printable +areas based on the currently-marked (selected) options.
+
+If the specified PPD file does not support custom page sizes, both +"minimum" and "maximum" are filled with zeroes. + +

+

ppdPageWidth

+

Get the page width for the given size.

+

+float ppdPageWidth(ppd_file_t *ppd, const char *name);

+

Parameters

+ + + + + +
ppdPPD file record
nameSize name
+

Return Value

+

Width of page in points or 0.0

+

Data Types

+

cups_interpret_cb_t

+

cupsRasterInterpretPPD callback function

+

+typedef int (*cups_interpret_cb_t)(cups_page_header2_t *header, int preferred_bits); +

+

 DEPRECATED ppd_attr_t

+

PPD Attribute Structure

+

+typedef struct ppd_attr_s ppd_attr_t; +

+

 DEPRECATED ppd_choice_t

+

Option choices

+

+typedef struct ppd_choice_s ppd_choice_t; +

+

 DEPRECATED ppd_conform_t

+

Conformance Levels

+

+typedef enum ppd_conform_e ppd_conform_t; +

+

 DEPRECATED ppd_const_t

+

Constraints

+

+typedef struct ppd_const_s ppd_const_t; +

+

 DEPRECATED ppd_coption_t

+

Custom Option

+

+typedef struct ppd_coption_s ppd_coption_t; +

+

 DEPRECATED ppd_cparam_t

+

Custom Parameter

+

+typedef struct ppd_cparam_s ppd_cparam_t; +

+

 DEPRECATED ppd_cplimit_t

+

Custom Parameter Limit

+

+typedef union ppd_cplimit_u ppd_cplimit_t; +

+

 DEPRECATED ppd_cptype_t

+

Custom Parameter Type

+

+typedef enum ppd_cptype_e ppd_cptype_t; +

+

 DEPRECATED ppd_cpvalue_t

+

Custom Parameter Value

+

+typedef union ppd_cpvalue_u ppd_cpvalue_t; +

+

 DEPRECATED ppd_cs_t

+

Colorspaces

+

+typedef enum ppd_cs_e ppd_cs_t; +

+

 DEPRECATED ppd_emul_t

+

Emulators

+

+typedef struct ppd_emul_s ppd_emul_t; +

+

 DEPRECATED ppd_file_t

+

PPD File

+

+typedef struct ppd_file_s ppd_file_t; +

+

 DEPRECATED ppd_group_t

+

Groups

+

+typedef struct ppd_group_s ppd_group_t; +

+

 DEPRECATED ppd_option_t

+

Options

+

+typedef struct ppd_option_s ppd_option_t; +

+

 DEPRECATED ppd_profile_t

+

sRGB Color Profiles

+

+typedef struct ppd_profile_s ppd_profile_t; +

+

 DEPRECATED ppd_section_t

+

Order dependency sections

+

+typedef enum ppd_section_e ppd_section_t; +

+

 DEPRECATED ppd_size_t

+

Page Sizes

+

+typedef struct ppd_size_s ppd_size_t; +

+

 DEPRECATED ppd_status_t

+

Status Codes

+

+typedef enum ppd_status_e ppd_status_t; +

+

 DEPRECATED ppd_ui_t

+

UI Types

+

+typedef enum ppd_ui_e ppd_ui_t; +

+

Structures

+

 DEPRECATED ppd_attr_s

+

PPD Attribute Structure

+

struct ppd_attr_s {
+    char name[PPD_MAX_NAME];
+    char spec[PPD_MAX_NAME];
+    char text[PPD_MAX_TEXT];
+    char *value;
+};

+

Members

+ + + + + + + + + +
name[PPD_MAX_NAME] Name of attribute (cupsXYZ)
spec[PPD_MAX_NAME] Specifier string, if any
text[PPD_MAX_TEXT] Human-readable text, if any
value Value string
+

 DEPRECATED ppd_choice_s

+

Option choices

+

struct ppd_choice_s {
+    char choice[PPD_MAX_NAME];
+    char *code;
+    char marked;
+    ppd_option_t *option;
+    char text[PPD_MAX_TEXT];
+};

+

Members

+ + + + + + + + + + + +
choice[PPD_MAX_NAME] Computer-readable option name
code Code to send for this option
marked 0 if not selected, 1 otherwise
option Pointer to parent option structure
text[PPD_MAX_TEXT] Human-readable option name
+

 DEPRECATED ppd_const_s

+

Constraints

+

struct ppd_const_s {
+    char choice1[PPD_MAX_NAME];
+    char choice2[PPD_MAX_NAME];
+    char option1[PPD_MAX_NAME];
+    char option2[PPD_MAX_NAME];
+};

+

Members

+ + + + + + + + + +
choice1[PPD_MAX_NAME] First option/choice (blank for all)
choice2[PPD_MAX_NAME] Second option/choice (blank for all)
option1[PPD_MAX_NAME] First keyword
option2[PPD_MAX_NAME] Second keyword
+

 DEPRECATED ppd_coption_s

+

Custom Option

+

struct ppd_coption_s {
+    char keyword[PPD_MAX_NAME];
+    int marked;
+    ppd_option_t *option;
+    cups_array_t *params;
+};

+

Members

+ + + + + + + + + +
keyword[PPD_MAX_NAME] Name of option that is being extended...
marked Extended option is marked
option Option that is being extended...
params Parameters
+

 DEPRECATED ppd_cparam_s

+

Custom Parameter

+

struct ppd_cparam_s {
+    ppd_cpvalue_t current;
+    ppd_cplimit_t minimum, maximum;
+    char name[PPD_MAX_NAME];
+    int order;
+    char text[PPD_MAX_TEXT];
+    ppd_cptype_t type;
+};

+

Members

+ + + + + + + + + + + + + +
current Current value
maximum Maximum value
name[PPD_MAX_NAME] Parameter name
order Order (0 to N)
text[PPD_MAX_TEXT] Human-readable text
type Parameter type
+

 DEPRECATED ppd_emul_s

+

Emulators

+

struct ppd_emul_s {
+    char name[PPD_MAX_NAME];
+    char *start;
+    char *stop;
+};

+

Members

+ + + + + + + +
name[PPD_MAX_NAME] Emulator name
start Code to switch to this emulation
stop Code to stop this emulation
+

 DEPRECATED ppd_file_s

+

PPD File

+

struct ppd_file_s {
+    int accurate_screens;
+    int color_device;
+    ppd_cs_t colorspace;
+    ppd_const_t *consts;
+    int contone_only;
+    float custom_margins[4];
+    float custom_max[2];
+    float custom_min[2];
+    char **filters;
+    int flip_duplex;
+    char **fonts;
+    ppd_group_t *groups;
+    char *jcl_begin;
+    char *jcl_end;
+    char *jcl_ps;
+    int landscape;
+    char *lang_encoding;
+    char *lang_version;
+    int language_level;
+    int manual_copies;
+    char *manufacturer;
+    int model_number;
+    char *modelname;
+    char *nickname;
+    int num_consts;
+    int num_filters;
+    int num_fonts;
+    int num_groups;
+    int num_profiles;
+    int num_sizes;
+    char *patches;
+    char *pcfilename;
+    char *product;
+    ppd_profile_t *profiles;
+    char *protocols;
+    char *shortnickname;
+    ppd_size_t *sizes;
+    int throughput;
+    char *ttrasterizer;
+    int variable_sizes;
+};

+

Members

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
accurate_screens 1 = supports accurate screens, 0 = not
color_device 1 = color device, 0 = grayscale
colorspace Default colorspace
consts UI/Non-UI constraints
contone_only 1 = continuous tone only, 0 = not
custom_margins[4] Margins around page
custom_max[2] Maximum variable page size
custom_min[2] Minimum variable page size
filters Filter strings...
flip_duplex  DEPRECATED 1 = Flip page for back sides
fonts Pre-loaded fonts
groups UI groups
jcl_begin Start JCL commands
jcl_end End JCL commands
jcl_ps Enter PostScript interpreter
landscape -90 or 90
lang_encoding Language encoding
lang_version Language version (English, Spanish, etc.)
language_level Language level of device
manual_copies 1 = Copies done manually, 0 = hardware
manufacturer Manufacturer name
model_number Device-specific model number
modelname Model name (general)
nickname Nickname (specific)
num_consts Number of UI/Non-UI constraints
num_filters Number of filters
num_fonts Number of pre-loaded fonts
num_groups Number of UI groups
num_profiles  DEPRECATED Number of sRGB color profiles
num_sizes Number of page sizes
patches Patch commands to be sent to printer
pcfilename  CUPS 1.1.19/macOS 10.3 PCFileName string
product Product name (from PS RIP/interpreter)
profiles  DEPRECATED sRGB color profiles
protocols  CUPS 1.1.19/macOS 10.3 Protocols (BCP, TBCP) string
shortnickname Short version of nickname
sizes Page sizes
throughput Pages per minute
ttrasterizer Truetype rasterizer
variable_sizes 1 = supports variable sizes, 0 = doesn't
+

 DEPRECATED ppd_group_s

+

Groups

+

struct ppd_group_s {
+    char text[PPD_MAX_TEXT - PPD_MAX_NAME];
+    char name[PPD_MAX_NAME];
+    int num_options;
+    int num_subgroups;
+    ppd_option_t *options;
+    struct ppd_group_s *subgroups;
+};

+

Members

+ + + + + + + + + + + + + +
PPD_MAX_NAME] Human-readable group name
name[PPD_MAX_NAME]  CUPS 1.1.18/macOS 10.3 Group name
num_options Number of options
num_subgroups Number of sub-groups
options Options
subgroups Sub-groups (max depth = 1)
+

 DEPRECATED ppd_option_s

+

Options

+

struct ppd_option_s {
+    ppd_choice_t *choices;
+    char conflicted;
+    char defchoice[PPD_MAX_NAME];
+    char keyword[PPD_MAX_NAME];
+    int num_choices;
+    float order;
+    ppd_section_t section;
+    char text[PPD_MAX_TEXT];
+    ppd_ui_t ui;
+};

+

Members

+ + + + + + + + + + + + + + + + + + + +
choices Option choices
conflicted 0 if no conflicts exist, 1 otherwise
defchoice[PPD_MAX_NAME] Default option choice
keyword[PPD_MAX_NAME] Option keyword name ("PageSize", etc.)
num_choices Number of option choices
order Order number
section Section for command
text[PPD_MAX_TEXT] Human-readable text
ui Type of UI option
+

 DEPRECATED ppd_profile_s

+

sRGB Color Profiles

+

struct ppd_profile_s {
+    float density;
+    float gamma;
+    float matrix[3][3];
+    char media_type[PPD_MAX_NAME];
+    char resolution[PPD_MAX_NAME];
+};

+

Members

+ + + + + + + + + + + +
density Ink density to use
gamma Gamma correction to use
matrix[3][3] Transform matrix
media_type[PPD_MAX_NAME] Media type or "-"
resolution[PPD_MAX_NAME] Resolution or "-"
+

 DEPRECATED ppd_size_s

+

Page Sizes

+

struct ppd_size_s {
+    float bottom;
+    float left;
+    float length;
+    int marked;
+    char name[PPD_MAX_NAME];
+    float right;
+    float top;
+    float width;
+};

+

Members

+ + + + + + + + + + + + + + + + + +
bottom Bottom printable margin in points
left Left printable margin in points
length Length of media in points
marked Page size selected?
name[PPD_MAX_NAME] Media size option
right Right printable margin in points
top Top printable margin in points
width Width of media in points
+

Unions

+

 DEPRECATED ppd_cplimit_u

+

Custom Parameter Limit

+

union ppd_cplimit_u {
+    float custom_curve;
+    int custom_int;
+    float custom_invcurve;
+    int custom_passcode;
+    int custom_password;
+    float custom_points;
+    float custom_real;
+    int custom_string;
+};

+

Members

+ + + + + + + + + + + + + + + + + +
custom_curve Gamma value
custom_int Integer value
custom_invcurve Gamma value
custom_passcode Passcode length
custom_password Password length
custom_points Measurement value
custom_real Real value
custom_string String length
+

 DEPRECATED ppd_cpvalue_u

+

Custom Parameter Value

+

union ppd_cpvalue_u {
+    float custom_curve;
+    int custom_int;
+    float custom_invcurve;
+    char *custom_passcode;
+    char *custom_password;
+    float custom_points;
+    float custom_real;
+    char *custom_string;
+};

+

Members

+ + + + + + + + + + + + + + + + + +
custom_curve Gamma value
custom_int Integer value
custom_invcurve Gamma value
custom_passcode Passcode value
custom_password Password value
custom_points Measurement value
custom_real Real value
custom_string String value
+

Constants

+

 DEPRECATED ppd_conform_e

+

Conformance Levels

+

Constants

+ + + +
PPD_CONFORM_RELAXED Relax whitespace and control char
PPD_CONFORM_STRICT Require strict conformance
+

 DEPRECATED ppd_cptype_e

+

Custom Parameter Type

+

Constants

+ + + + + + + + + + +
PPD_CUSTOM_CURVE Curve value for f(x) = x^value
PPD_CUSTOM_INT Integer number value
PPD_CUSTOM_INVCURVE Curve value for f(x) = x^(1/value)
PPD_CUSTOM_PASSCODE String of (hidden) numbers
PPD_CUSTOM_PASSWORD String of (hidden) characters
PPD_CUSTOM_POINTS Measurement value in points
PPD_CUSTOM_REAL Real number value
PPD_CUSTOM_STRING String of characters
PPD_CUSTOM_UNKNOWN Unknown type (error)
+

 DEPRECATED ppd_cs_e

+

Colorspaces

+

Constants

+ + + + + + + +
PPD_CS_CMY CMY colorspace
PPD_CS_CMYK CMYK colorspace
PPD_CS_GRAY Grayscale colorspace
PPD_CS_N DeviceN colorspace
PPD_CS_RGB RGB colorspace
PPD_CS_RGBK RGBK (K = gray) colorspace
+

 DEPRECATED ppd_section_e

+

Order dependency sections

+

Constants

+ + + + + + + +
PPD_ORDER_ANY Option code can be anywhere in the file
PPD_ORDER_DOCUMENT ... must be in the DocumentSetup section
PPD_ORDER_EXIT ... must be sent prior to the document
PPD_ORDER_JCL ... must be sent as a JCL command
PPD_ORDER_PAGE ... must be in the PageSetup section
PPD_ORDER_PROLOG ... must be in the Prolog section
+

 DEPRECATED ppd_status_e

+

Status Codes

+

Constants

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
PPD_ALLOC_ERROR Memory allocation error
PPD_BAD_CLOSE_UI Bad CloseUI/JCLCloseUI
PPD_BAD_CUSTOM_PARAM Bad custom parameter
PPD_BAD_OPEN_GROUP Bad OpenGroup
PPD_BAD_OPEN_UI Bad OpenUI/JCLOpenUI
PPD_BAD_ORDER_DEPENDENCY Bad OrderDependency
PPD_BAD_UI_CONSTRAINTS Bad UIConstraints
PPD_BAD_VALUE Bad value string
PPD_FILE_OPEN_ERROR Unable to open PPD file
PPD_ILLEGAL_CHARACTER Illegal control character
PPD_ILLEGAL_MAIN_KEYWORD Illegal main keyword string
PPD_ILLEGAL_OPTION_KEYWORD Illegal option keyword string
PPD_ILLEGAL_TRANSLATION Illegal translation string
PPD_ILLEGAL_WHITESPACE Illegal whitespace character
PPD_INTERNAL_ERROR Internal error
PPD_LINE_TOO_LONG Line longer than 255 chars
PPD_MISSING_ASTERISK Missing asterisk in column 0
PPD_MISSING_CLOSE_GROUP Missing CloseGroup
PPD_MISSING_CLOSE_UI Missing CloseUI/JCLCloseUI
PPD_MISSING_OPTION_KEYWORD Missing option keyword
PPD_MISSING_PPDADOBE4 Missing PPD-Adobe-4.x header
PPD_MISSING_VALUE Missing value string
PPD_NESTED_OPEN_GROUP OpenGroup without a CloseGroup first
PPD_NESTED_OPEN_UI OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first
PPD_NULL_FILE NULL PPD file pointer
PPD_OK OK
+

 DEPRECATED ppd_ui_e

+

UI Types

+

Constants

+ + + + +
PPD_UI_BOOLEAN True or False option
PPD_UI_PICKMANY Pick zero or more from a list
PPD_UI_PICKONE Pick one from a list
+
+ + diff --git a/doc/help/api-raster.html b/doc/help/api-raster.html new file mode 100644 index 0000000..6eccab7 --- /dev/null +++ b/doc/help/api-raster.html @@ -0,0 +1,1393 @@ + + + + + Raster API + + + + + + + + + + + +

Raster API

+ +
+ + + + + + + + + + + + + + + + +
Headercups/raster.h
Library-lcups
See AlsoProgramming: CUPS Programming Manual
+ Programming: PPD API
+ References: CUPS PPD Specification
+ +
+ + +

Overview

+ +

The CUPS raster API provides a standard interface for reading and writing +CUPS raster streams which are used for printing to raster printers. Because the +raster format is updated from time to time, it is important to use this API to +avoid incompatibilities with newer versions of CUPS.

+ +

Two kinds of CUPS filters use the CUPS raster API - raster image processor +(RIP) filters such as pstoraster and cgpdftoraster +(macOS) that produce CUPS raster files and printer driver filters that +convert CUPS raster files into a format usable by the printer. Printer +driver filters are by far the most common.

+ +

CUPS raster files (application/vnd.cups-raster) consists of +a stream of raster page descriptions produced by one of the RIP filters such as +pstoraster, imagetoraster, or +cgpdftoraster. CUPS raster files are referred to using the +cups_raster_t type and are +opened using the cupsRasterOpen +function. For example, to read raster data from the standard input, open +file descriptor 0:

+ +
+#include <cups/raster.h>
+
+cups_raster_t *ras = cupsRasterOpen(0, CUPS_RASTER_READ);
+
+ +

Each page of data begins with a page dictionary structure called +cups_page_header2_t. This +structure contains the colorspace, bits per color, media size, media type, +hardware resolution, and so forth used for the page.

+ +
Note: + +

Do not confuse the colorspace in the page header with the PPD + ColorModel keyword. ColorModel refers to the general type of + color used for a device (Gray, RGB, CMYK, DeviceN) and is often used to + select a particular colorspace for the page header along with the associate + color profile. The page header colorspace (cupsColorSpace) describes + both the type and organization of the color data, for example KCMY (black + first) instead of CMYK and RGBA (RGB + alpha) instead of RGB.

+ +
+ +

You read the page header using the +cupsRasterReadHeader2 +function:

+ +
+#include <cups/raster.h>
+
+cups_raster_t *ras = cupsRasterOpen(0, CUPS_RASTER_READ);
+cups_page_header2_t header;
+
+while (cupsRasterReadHeader2(ras, &header))
+{
+  /* setup this page */
+
+  /* read raster data */
+
+  /* finish this page */
+}
+
+ +

After the page dictionary comes the page data which is a full-resolution, +possibly compressed bitmap representing the page in the printer's output +colorspace. You read uncompressed raster data using the +cupsRasterReadPixels +function. A for loop is normally used to read the page one line +at a time:

+ +
+#include <cups/raster.h>
+
+cups_raster_t *ras = cupsRasterOpen(0, CUPS_RASTER_READ);
+cups_page_header2_t header;
+int page = 0;
+int y;
+char *buffer;
+
+while (cupsRasterReadHeader2(ras, &header))
+{
+  /* setup this page */
+  page ++;
+  fprintf(stderr, "PAGE: %d %d\n", page, header.NumCopies);
+
+  /* allocate memory for 1 line */
+  buffer = malloc(header.cupsBytesPerLine);
+
+  /* read raster data */
+  for (y = 0; y < header.cupsHeight; y ++)
+  {
+    if (cupsRasterReadPixels(ras, buffer, header.cupsBytesPerLine) == 0)
+      break;
+
+    /* write raster data to printer on stdout */
+  }
+
+  /* finish this page */
+}
+
+ +

When you are done reading the raster data, call the +cupsRasterClose function to free +the memory used to read the raster file:

+ +
+cups_raster_t *ras;
+
+cupsRasterClose(ras);
+
+ + +

Functions by Task

+ +

Opening and Closing Raster Streams

+ + + +

Reading Raster Streams

+ + + +

Writing Raster Streams

+ + +

Functions

+

cupsRasterClose

+

Close a raster stream.

+

+void cupsRasterClose(cups_raster_t *r);

+

Parameters

+ + + +
rStream to close
+

Discussion

+

The file descriptor associated with the raster stream must be closed +separately as needed.

+

 CUPS 1.3/macOS 10.5 cupsRasterErrorString

+

Return the last error from a raster function.

+

+const char *cupsRasterErrorString(void);

+

Return Value

+

Last error or NULL

+

Discussion

+

If there are no recent errors, NULL is returned. + +

+

 CUPS 2.2/macOS 10.12 cupsRasterInitPWGHeader

+

Initialize a page header for PWG Raster output.

+

+int cupsRasterInitPWGHeader(cups_page_header2_t *h, pwg_media_t *media, const char *type, int xdpi, int ydpi, const char *sides, const char *sheet_back);

+

Parameters

+ + + + + + + + + + + + + + + +
hPage header
mediaPWG media information
typePWG raster type string
xdpiCross-feed direction (horizontal) resolution
ydpiFeed direction (vertical) resolution
sidesIPP "sides" option value
sheet_backTransform for back side or NULL for none
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The "media" argument specifies the media to use.
+
+The "type" argument specifies a "pwg-raster-document-type-supported" value +that controls the color space and bit depth of the raster data.
+
+The "xres" and "yres" arguments specify the raster resolution in dots per +inch.
+
+The "sheet_back" argument specifies a "pwg-raster-document-sheet-back" value +to apply for the back side of a page. Pass NULL for the front side. + +

+

cupsRasterOpen

+

Open a raster stream using a file descriptor.

+

+cups_raster_t *cupsRasterOpen(int fd, cups_mode_t mode);

+

Parameters

+ + + + + +
fdFile descriptor
modeMode - CUPS_RASTER_READ, +CUPS_RASTER_WRITE, +CUPS_RASTER_WRITE_COMPRESSED, +or CUPS_RASTER_WRITE_PWG
+

Return Value

+

New stream

+

Discussion

+

This function associates a raster stream with the given file descriptor. +For most printer driver filters, "fd" will be 0 (stdin). For most raster +image processor (RIP) filters that generate raster data, "fd" will be 1 +(stdout).
+
+When writing raster data, the CUPS_RASTER_WRITE, +CUPS_RASTER_WRITE_COMPRESS, or CUPS_RASTER_WRITE_PWG mode can +be used - compressed and PWG output is generally 25-50% smaller but adds a +100-300% execution time overhead.

+

cupsRasterOpenIO

+

Open a raster stream using a callback function.

+

+cups_raster_t *cupsRasterOpenIO(cups_raster_iocb_t iocb, void *ctx, cups_mode_t mode);

+

Parameters

+ + + + + + + +
iocbRead/write callback
ctxContext pointer for callback
modeMode - CUPS_RASTER_READ, +CUPS_RASTER_WRITE, +CUPS_RASTER_WRITE_COMPRESSED, +or CUPS_RASTER_WRITE_PWG
+

Return Value

+

New stream

+

Discussion

+

This function associates a raster stream with the given callback function and +context pointer.
+
+When writing raster data, the CUPS_RASTER_WRITE, +CUPS_RASTER_WRITE_COMPRESS, or CUPS_RASTER_WRITE_PWG mode can +be used - compressed and PWG output is generally 25-50% smaller but adds a +100-300% execution time overhead.

+

 DEPRECATED cupsRasterReadHeader

+

Read a raster page header and store it in a +version 1 page header structure.

+

+unsigned cupsRasterReadHeader(cups_raster_t *r, cups_page_header_t *h);

+

Parameters

+ + + + + +
rRaster stream
hPointer to header data
+

Return Value

+

1 on success, 0 on failure/end-of-file

+

Discussion

+

This function is deprecated. Use cupsRasterReadHeader2 instead.
+
+Version 1 page headers were used in CUPS 1.0 and 1.1 and contain a subset +of the version 2 page header data. This function handles reading version 2 +page headers and copying only the version 1 data into the provided buffer. + +

+

 CUPS 1.2/macOS 10.5 cupsRasterReadHeader2

+

Read a raster page header and store it in a +version 2 page header structure.

+

+unsigned cupsRasterReadHeader2(cups_raster_t *r, cups_page_header2_t *h);

+

Parameters

+ + + + + +
rRaster stream
hPointer to header data
+

Return Value

+

1 on success, 0 on failure/end-of-file

+

cupsRasterReadPixels

+

Read raster pixels.

+

+unsigned cupsRasterReadPixels(cups_raster_t *r, unsigned char *p, unsigned len);

+

Parameters

+ + + + + + + +
rRaster stream
pPointer to pixel buffer
lenNumber of bytes to read
+

Return Value

+

Number of bytes read

+

Discussion

+

For best performance, filters should read one or more whole lines. +The "cupsBytesPerLine" value from the page header can be used to allocate +the line buffer and as the number of bytes to read.

+

 DEPRECATED cupsRasterWriteHeader

+

Write a raster page header from a version 1 page +header structure.

+

+unsigned cupsRasterWriteHeader(cups_raster_t *r, cups_page_header_t *h);

+

Parameters

+ + + + + +
rRaster stream
hRaster page header
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

This function is deprecated. Use cupsRasterWriteHeader2 instead. + +

+

 CUPS 1.2/macOS 10.5 cupsRasterWriteHeader2

+

Write a raster page header from a version 2 +page header structure.

+

+unsigned cupsRasterWriteHeader2(cups_raster_t *r, cups_page_header2_t *h);

+

Parameters

+ + + + + +
rRaster stream
hRaster page header
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The page header can be initialized using cupsRasterInitPWGHeader. + +

+

cupsRasterWritePixels

+

Write raster pixels.

+

+unsigned cupsRasterWritePixels(cups_raster_t *r, unsigned char *p, unsigned len);

+

Parameters

+ + + + + + + +
rRaster stream
pBytes to write
lenNumber of bytes to write
+

Return Value

+

Number of bytes written

+

Discussion

+

For best performance, filters should write one or more whole lines. +The "cupsBytesPerLine" value from the page header can be used to allocate +the line buffer and as the number of bytes to write.

+

Data Types

+

cups_adv_t

+

AdvanceMedia attribute values

+

+typedef enum cups_adv_e cups_adv_t; +

+

cups_bool_t

+

Boolean type

+

+typedef enum cups_bool_e cups_bool_t; +

+

cups_cspace_t

+

cupsColorSpace attribute values

+

+typedef enum cups_cspace_e cups_cspace_t; +

+

cups_cut_t

+

CutMedia attribute values

+

+typedef enum cups_cut_e cups_cut_t; +

+

cups_edge_t

+

LeadingEdge attribute values

+

+typedef enum cups_edge_e cups_edge_t; +

+

cups_jog_t

+

Jog attribute values

+

+typedef enum cups_jog_e cups_jog_t; +

+

cups_mode_t

+

cupsRasterOpen modes

+

+typedef enum cups_mode_e cups_mode_t; +

+

cups_order_t

+

cupsColorOrder attribute values

+

+typedef enum cups_order_e cups_order_t; +

+

cups_orient_t

+

Orientation attribute values

+

+typedef enum cups_orient_e cups_orient_t; +

+

 CUPS 1.2/macOS 10.5 cups_page_header2_t

+

Version 2 page header

+

+typedef struct cups_page_header2_s cups_page_header2_t; +

+

 DEPRECATED cups_page_header_t

+

Version 1 page header

+

+typedef struct cups_page_header_s cups_page_header_t; +

+

cups_raster_iocb_t

+

cupsRasterOpenIO callback function

+

+typedef ssize_t (*cups_raster_iocb_t)(void *ctx, unsigned char *buffer, size_t length); +

+

cups_raster_t

+

Raster stream data

+

+typedef struct _cups_raster_s cups_raster_t; +

+

Structures

+

 CUPS 1.2/macOS 10.5 cups_page_header2_s

+

Version 2 page header

+

struct cups_page_header2_s {
+    unsigned AdvanceDistance;
+    cups_adv_t AdvanceMedia;
+    cups_bool_t Collate;
+    cups_cut_t CutMedia;
+    cups_bool_t Duplex;
+    unsigned HWResolution[2];
+    unsigned ImagingBoundingBox[4];
+    cups_bool_t InsertSheet;
+    cups_jog_t Jog;
+    cups_edge_t LeadingEdge;
+    cups_bool_t ManualFeed;
+    unsigned Margins[2];
+    char MediaClass[64];
+    char MediaColor[64];
+    unsigned MediaPosition;
+    char MediaType[64];
+    unsigned MediaWeight;
+    cups_bool_t MirrorPrint;
+    cups_bool_t NegativePrint;
+    unsigned NumCopies;
+    cups_orient_t Orientation;
+    cups_bool_t OutputFaceUp;
+    char OutputType[64];
+    unsigned PageSize[2];
+    cups_bool_t Separations;
+    cups_bool_t TraySwitch;
+    cups_bool_t Tumble;
+    unsigned cupsBitsPerColor;
+    unsigned cupsBitsPerPixel;
+    float cupsBorderlessScalingFactor;
+    unsigned cupsBytesPerLine;
+    cups_order_t cupsColorOrder;
+    cups_cspace_t cupsColorSpace;
+    unsigned cupsCompression;
+    unsigned cupsHeight;
+    float cupsImagingBBox[4];
+    unsigned cupsInteger[16];
+    char cupsMarkerType[64];
+    unsigned cupsMediaType;
+    unsigned cupsNumColors;
+    char cupsPageSizeName[64];
+    float cupsPageSize[2];
+    float cupsReal[16];
+    char cupsRenderingIntent[64];
+    unsigned cupsRowCount;
+    unsigned cupsRowFeed;
+    unsigned cupsRowStep;
+    char cupsString[16][64];
+    unsigned cupsWidth;
+};

+

Members

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AdvanceDistance AdvanceDistance value in points
AdvanceMedia AdvanceMedia value (cups_adv_t)
Collate Collated copies value
CutMedia CutMedia value (cups_cut_t)
Duplex Duplexed (double-sided) value
HWResolution[2] Resolution in dots-per-inch
ImagingBoundingBox[4] Pixel region that is painted (points, left, bottom, right, top)
InsertSheet InsertSheet value
Jog Jog value (cups_jog_t)
LeadingEdge LeadingEdge value (cups_edge_t)
ManualFeed ManualFeed value
Margins[2] Lower-lefthand margins in points
MediaClass[64] MediaClass string
MediaColor[64] MediaColor string
MediaPosition MediaPosition value
MediaType[64] MediaType string
MediaWeight MediaWeight value in grams/m^2
MirrorPrint MirrorPrint value
NegativePrint NegativePrint value
NumCopies Number of copies to produce
Orientation Orientation value (cups_orient_t)
OutputFaceUp OutputFaceUp value
OutputType[64] OutputType string
PageSize[2] Width and length of page in points
Separations Separations value
TraySwitch TraySwitch value
Tumble Tumble value
cupsBitsPerColor Number of bits for each color
cupsBitsPerPixel Number of bits for each pixel
cupsBorderlessScalingFactor  CUPS 1.2/macOS 10.5 Scaling that was applied to page data
cupsBytesPerLine Number of bytes per line
cupsColorOrder Order of colors
cupsColorSpace True colorspace
cupsCompression Device compression to use
cupsHeight Height of page image in pixels
cupsImagingBBox[4]  CUPS 1.2/macOS 10.5 Floating point ImagingBoundingBox +(scaling factor not applied, left, +bottom, right, top)
cupsInteger[16]  CUPS 1.2/macOS 10.5 User-defined integer values
cupsMarkerType[64]  CUPS 1.2/macOS 10.5 Ink/toner type
cupsMediaType Media type code
cupsNumColors  CUPS 1.2/macOS 10.5 Number of color compoents
cupsPageSizeName[64]  CUPS 1.2/macOS 10.5 PageSize name
cupsPageSize[2]  CUPS 1.2/macOS 10.5 Floating point PageSize (scaling * +factor not applied)
cupsReal[16]  CUPS 1.2/macOS 10.5 User-defined floating-point values
cupsRenderingIntent[64]  CUPS 1.2/macOS 10.5 Color rendering intent
cupsRowCount Rows per band
cupsRowFeed Feed between bands
cupsRowStep Spacing between lines
cupsString[16][64]  CUPS 1.2/macOS 10.5 User-defined string values
cupsWidth Width of page image in pixels
+

 DEPRECATED cups_page_header_s

+

Version 1 page header

+

struct cups_page_header_s {
+    unsigned AdvanceDistance;
+    cups_adv_t AdvanceMedia;
+    cups_bool_t Collate;
+    cups_cut_t CutMedia;
+    cups_bool_t Duplex;
+    unsigned HWResolution[2];
+    unsigned ImagingBoundingBox[4];
+    cups_bool_t InsertSheet;
+    cups_jog_t Jog;
+    cups_edge_t LeadingEdge;
+    cups_bool_t ManualFeed;
+    unsigned Margins[2];
+    char MediaClass[64];
+    char MediaColor[64];
+    unsigned MediaPosition;
+    char MediaType[64];
+    unsigned MediaWeight;
+    cups_bool_t MirrorPrint;
+    cups_bool_t NegativePrint;
+    unsigned NumCopies;
+    cups_orient_t Orientation;
+    cups_bool_t OutputFaceUp;
+    char OutputType[64];
+    unsigned PageSize[2];
+    cups_bool_t Separations;
+    cups_bool_t TraySwitch;
+    cups_bool_t Tumble;
+    unsigned cupsBitsPerColor;
+    unsigned cupsBitsPerPixel;
+    unsigned cupsBytesPerLine;
+    cups_order_t cupsColorOrder;
+    cups_cspace_t cupsColorSpace;
+    unsigned cupsCompression;
+    unsigned cupsHeight;
+    unsigned cupsMediaType;
+    unsigned cupsRowCount;
+    unsigned cupsRowFeed;
+    unsigned cupsRowStep;
+    unsigned cupsWidth;
+};

+

Members

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AdvanceDistance AdvanceDistance value in points
AdvanceMedia AdvanceMedia value (cups_adv_t)
Collate Collated copies value
CutMedia CutMedia value (cups_cut_t)
Duplex Duplexed (double-sided) value
HWResolution[2] Resolution in dots-per-inch
ImagingBoundingBox[4] Pixel region that is painted (points, left, bottom, right, top)
InsertSheet InsertSheet value
Jog Jog value (cups_jog_t)
LeadingEdge LeadingEdge value (cups_edge_t)
ManualFeed ManualFeed value
Margins[2] Lower-lefthand margins in points
MediaClass[64] MediaClass string
MediaColor[64] MediaColor string
MediaPosition MediaPosition value
MediaType[64] MediaType string
MediaWeight MediaWeight value in grams/m^2
MirrorPrint MirrorPrint value
NegativePrint NegativePrint value
NumCopies Number of copies to produce
Orientation Orientation value (cups_orient_t)
OutputFaceUp OutputFaceUp value
OutputType[64] OutputType string
PageSize[2] Width and length of page in points
Separations Separations value
TraySwitch TraySwitch value
Tumble Tumble value
cupsBitsPerColor Number of bits for each color
cupsBitsPerPixel Number of bits for each pixel
cupsBytesPerLine Number of bytes per line
cupsColorOrder Order of colors
cupsColorSpace True colorspace
cupsCompression Device compression to use
cupsHeight Height of page image in pixels
cupsMediaType Media type code
cupsRowCount Rows per band
cupsRowFeed Feed between bands
cupsRowStep Spacing between lines
cupsWidth Width of page image in pixels
+

Constants

+

cups_adv_e

+

AdvanceMedia attribute values

+

Constants

+ + + + + + +
CUPS_ADVANCE_FILE Advance the roll after this file
CUPS_ADVANCE_JOB Advance the roll after this job
CUPS_ADVANCE_NONE Never advance the roll
CUPS_ADVANCE_PAGE Advance the roll after this page
CUPS_ADVANCE_SET Advance the roll after this set
+

cups_bool_e

+

Boolean type

+

Constants

+ + + +
CUPS_FALSE Logical false
CUPS_TRUE Logical true
+

cups_cspace_e

+

cupsColorSpace attribute values

+

Constants

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CUPS_CSPACE_ADOBERGB  CUPS 1.4.5  Red, green, blue (Adobe RGB)
CUPS_CSPACE_CIELab  CUPS 1.1.19/macOS 10.3  CIE Lab
CUPS_CSPACE_CIEXYZ  CUPS 1.1.19/macOS 10.3  CIE XYZ
CUPS_CSPACE_CMY Cyan, magenta, yellow (DeviceCMY)
CUPS_CSPACE_CMYK Cyan, magenta, yellow, black (DeviceCMYK)
CUPS_CSPACE_DEVICE1  CUPS 1.4.5  DeviceN, 1 color
CUPS_CSPACE_DEVICE2  CUPS 1.4.5  DeviceN, 2 colors
CUPS_CSPACE_DEVICE3  CUPS 1.4.5  DeviceN, 3 colors
CUPS_CSPACE_DEVICE4  CUPS 1.4.5  DeviceN, 4 colors
CUPS_CSPACE_DEVICE5  CUPS 1.4.5  DeviceN, 5 colors
CUPS_CSPACE_DEVICE6  CUPS 1.4.5  DeviceN, 6 colors
CUPS_CSPACE_DEVICE7  CUPS 1.4.5  DeviceN, 7 colors
CUPS_CSPACE_DEVICE8  CUPS 1.4.5  DeviceN, 8 colors
CUPS_CSPACE_DEVICE9  CUPS 1.4.5  DeviceN, 9 colors
CUPS_CSPACE_DEVICEA  CUPS 1.4.5  DeviceN, 10 colors
CUPS_CSPACE_DEVICEB  CUPS 1.4.5  DeviceN, 11 colors
CUPS_CSPACE_DEVICEC  CUPS 1.4.5  DeviceN, 12 colors
CUPS_CSPACE_DEVICED  CUPS 1.4.5  DeviceN, 13 colors
CUPS_CSPACE_DEVICEE  CUPS 1.4.5  DeviceN, 14 colors
CUPS_CSPACE_DEVICEF  CUPS 1.4.5  DeviceN, 15 colors
CUPS_CSPACE_GMCK  DEPRECATED  Gold, magenta, yellow, black
CUPS_CSPACE_GMCS  DEPRECATED  Gold, magenta, yellow, silver
CUPS_CSPACE_GOLD  DEPRECATED  Gold foil
CUPS_CSPACE_ICC1  CUPS 1.1.19/macOS 10.3  ICC-based, 1 color
CUPS_CSPACE_ICC2  CUPS 1.1.19/macOS 10.3  ICC-based, 2 colors
CUPS_CSPACE_ICC3  CUPS 1.1.19/macOS 10.3  ICC-based, 3 colors
CUPS_CSPACE_ICC4  CUPS 1.1.19/macOS 10.3  ICC-based, 4 colors
CUPS_CSPACE_ICC5  CUPS 1.1.19/macOS 10.3  ICC-based, 5 colors
CUPS_CSPACE_ICC6  CUPS 1.1.19/macOS 10.3  ICC-based, 6 colors
CUPS_CSPACE_ICC7  CUPS 1.1.19/macOS 10.3  ICC-based, 7 colors
CUPS_CSPACE_ICC8  CUPS 1.1.19/macOS 10.3  ICC-based, 8 colors
CUPS_CSPACE_ICC9  CUPS 1.1.19/macOS 10.3  ICC-based, 9 colors
CUPS_CSPACE_ICCA  CUPS 1.1.19/macOS 10.3  ICC-based, 10 colors
CUPS_CSPACE_ICCB  CUPS 1.1.19/macOS 10.3  ICC-based, 11 colors
CUPS_CSPACE_ICCC  CUPS 1.1.19/macOS 10.3  ICC-based, 12 colors
CUPS_CSPACE_ICCD  CUPS 1.1.19/macOS 10.3  ICC-based, 13 colors
CUPS_CSPACE_ICCE  CUPS 1.1.19/macOS 10.3  ICC-based, 14 colors
CUPS_CSPACE_ICCF  CUPS 1.1.19/macOS 10.3  ICC-based, 15 colors
CUPS_CSPACE_K Black (DeviceK)
CUPS_CSPACE_KCMY  DEPRECATED  Black, cyan, magenta, yellow
CUPS_CSPACE_KCMYcm  DEPRECATED  Black, cyan, magenta, yellow, light-cyan, light-magenta
CUPS_CSPACE_RGB Red, green, blue (DeviceRGB, sRGB by default)
CUPS_CSPACE_RGBA Red, green, blue, alpha (DeviceRGB, sRGB by default)
CUPS_CSPACE_RGBW  CUPS 1.2/macOS 10.5  Red, green, blue, white (DeviceRGB, sRGB by default)
CUPS_CSPACE_SILVER  DEPRECATED  Silver foil
CUPS_CSPACE_SRGB  CUPS 1.4.5  Red, green, blue (sRGB)
CUPS_CSPACE_SW  CUPS 1.4.5  Luminance (gamma 2.2)
CUPS_CSPACE_W Luminance (DeviceGray, gamma 2.2 by default)
CUPS_CSPACE_WHITE  DEPRECATED  White ink (as black)
CUPS_CSPACE_YMC  DEPRECATED  Yellow, magenta, cyan
CUPS_CSPACE_YMCK  DEPRECATED  Yellow, magenta, cyan, black
+

cups_cut_e

+

CutMedia attribute values

+

Constants

+ + + + + + +
CUPS_CUT_FILE Cut the roll after this file
CUPS_CUT_JOB Cut the roll after this job
CUPS_CUT_NONE Never cut the roll
CUPS_CUT_PAGE Cut the roll after this page
CUPS_CUT_SET Cut the roll after this set
+

cups_edge_e

+

LeadingEdge attribute values

+

Constants

+ + + + + +
CUPS_EDGE_BOTTOM Leading edge is the bottom of the page
CUPS_EDGE_LEFT Leading edge is the left of the page
CUPS_EDGE_RIGHT Leading edge is the right of the page
CUPS_EDGE_TOP Leading edge is the top of the page
+

cups_jog_e

+

Jog attribute values

+

Constants

+ + + + + +
CUPS_JOG_FILE Move pages after this file
CUPS_JOG_JOB Move pages after this job
CUPS_JOG_NONE Never move pages
CUPS_JOG_SET Move pages after this set
+

cups_mode_e

+

cupsRasterOpen modes

+

Constants

+ + + + + +
CUPS_RASTER_READ Open stream for reading
CUPS_RASTER_WRITE Open stream for writing
CUPS_RASTER_WRITE_COMPRESSED  CUPS 1.3/macOS 10.5  Open stream for compressed writing
CUPS_RASTER_WRITE_PWG  CUPS 1.5/macOS 10.7  Open stream for compressed writing in PWG Raster mode
+

cups_order_e

+

cupsColorOrder attribute values

+

Constants

+ + + + +
CUPS_ORDER_BANDED CCC MMM YYY KKK ...
CUPS_ORDER_CHUNKED CMYK CMYK CMYK ...
CUPS_ORDER_PLANAR CCC ... MMM ... YYY ... KKK ...
+

cups_orient_e

+

Orientation attribute values

+

Constants

+ + + + + +
CUPS_ORIENT_0 Don't rotate the page
CUPS_ORIENT_180 Turn the page upside down
CUPS_ORIENT_270 Rotate the page clockwise
CUPS_ORIENT_90 Rotate the page counter-clockwise
+
+ + diff --git a/doc/help/cgi.html b/doc/help/cgi.html new file mode 100644 index 0000000..34c6deb --- /dev/null +++ b/doc/help/cgi.html @@ -0,0 +1,82 @@ + + + + Using CGI Programs + + + + +

Using CGI Programs

+ +

CUPS provides a dynamic web interface through dedicated CGI programs that +are executed when users open special directories on the CUPS server. Each CGI +performs administration, class, help, job, and printer functions as directed by +the user, but the actual programs that are run and functions that are available +are limited to those that were originally designed into the scheduler.

+ +

CUPS also supports CGI programs and specific scripting languages (Java, Perl, +PHP, and Python) for pages you want to provide. The interpreters for these +languages are currently configured at compile time and are associated with +MIME media types. Table 1 shows the MIME media types that +are reserved for each type of page and are the same as those used by the Apache +web server.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1: CGI MIME Media Types
MIME Media TypeDescription
application/x-httpd-cgiCGI script/program
application/x-httpd-javaJava program
application/x-httpd-perlPerl script
application/x-httpd-phpPHP script
application/x-httpd-pythonPython script
+ +

Configuring the Server

+ +

In order to enable the corresponding type, you must create a +new /etc/cups/cgi.types file which maps the filename +extensions to the appropriate MIME types, for example:

+ +
+application/x-httpd-cgi cgi
+application/x-httpd-java class
+application/x-httpd-perl pl
+application/x-httpd-php php
+application/x-httpd-python py
+
+ +

CGI scripts/programs (application/x-httpd-cgi) also must be owned by root, have execution permissions, and not have world or group write permissions to be treated as a CGI script or program.

+ +

Limitations

+ +

CUPS implements most of the CGI/1.1 specification, with the +following exceptions:

+ +
    + +
  • No PATH_INFO or PATH_TRANSLATED support
  • + +
  • Limited HTTP field support; only the Content-Length (CONTENT_LENGTH), Content-Type (CONTENT_TYPE), Cookie (HTTP_COOKIE), Referrer (HTTP_REFERRER), and User-Agent (HTTP_USER_AGENT) fields are placed in environment variables at this time
  • + +
+ + + diff --git a/doc/help/cupspm.epub b/doc/help/cupspm.epub new file mode 100644 index 0000000..1d85724 Binary files /dev/null and b/doc/help/cupspm.epub differ diff --git a/doc/help/cupspm.html b/doc/help/cupspm.html new file mode 100644 index 0000000..9b48cde --- /dev/null +++ b/doc/help/cupspm.html @@ -0,0 +1,6604 @@ + + + + + CUPS Programming Manual + + + + + + + + + +

CUPS Programming Manual

+

Michael R Sweet

+

Copyright © 2007-2019 by Apple Inc. All Rights Reserved.

+
+

Contents

+ +
+
+
+

Please file issues on Github to provide feedback on this document.

+
+

Introduction

+

CUPS provides the "cups" library to talk to the different parts of CUPS and with Internet Printing Protocol (IPP) printers. The "cups" library functions are accessed by including the <cups/cups.h> header.

+

CUPS is based on the Internet Printing Protocol ("IPP"), which allows clients (applications) to communicate with a server (the scheduler, printers, etc.) to get a list of destinations, send print jobs, and so forth. You identify which server you want to communicate with using a pointer to the opaque structure http_t. The CUPS_HTTP_DEFAULT constant can be used when you want to talk to the CUPS scheduler.

+

Guidelines

+

When writing software (other than printer drivers) that uses the "cups" library:

+
    +
  • Do not use undocumented or deprecated APIs,
  • +
  • Do not rely on pre-configured printers,
  • +
  • Do not assume that printers support specific features or formats, and
  • +
  • Do not rely on implementation details (PPDs, etc.)
  • +
+

CUPS is designed to insulate users and developers from the implementation details of printers and file formats. The goal is to allow an application to supply a print file in a standard format with the user intent ("print four copies, two-sided on A4 media, and staple each copy") and have the printing system manage the printer communication and format conversion needed.

+

Similarly, printer and job management applications can use standard query operations to obtain the status information in a common, generic form and use standard management operations to control the state of those printers and jobs.

+
+

Note:

+

CUPS printer drivers necessarily depend on specific file formats and certain implementation details of the CUPS software. Please consult the Postscript and raster printer driver developer documentation on CUPS.org for more information.

+
+

Terms Used in This Document

+

A Destination is a printer or print queue that accepts print jobs. A Print Job is a collection of one or more documents that are processed by a destination using options supplied when creating the job. A Document is a file (JPEG image, PDF file, etc.) suitable for printing. An Option controls some aspect of printing, such as the media used. Media is the sheets or roll that is printed on. An Attribute is an option encoded for an Internet Printing Protocol (IPP) request.

+

Compiling Programs That Use the CUPS API

+

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.

+

The following simple program lists the available destinations:

+
#include <stdio.h>
+#include <cups/cups.h>
+
+int print_dest(void *user_data, unsigned flags, cups_dest_t *dest)
+{
+  if (dest->instance)
+    printf("%s/%s\n", dest->name, dest->instance);
+  else
+    puts(dest->name);
+
+  return (1);
+}
+
+int main(void)
+{
+  cupsEnumDests(CUPS_DEST_FLAGS_NONE, 1000, NULL, 0, 0, print_dest, NULL);
+
+  return (0);
+}
+
+

Compiling with Xcode

+

In Xcode, choose New Project... from the File menu (or press SHIFT+CMD+N), then select the Command Line Tool under the macOS Application project type. Click Next and enter a name for the project, for example "firstcups". Click Next and choose a project directory. The click Next to create the project.

+

In the project window, click on the Build Phases group and expand the Link Binary with Libraries section. Click +, type "libcups" to show the library, and then double-click on libcups.tbd.

+

Finally, click on the main.c file in the sidebar and copy the example program to the file. Build and run (CMD+R) to see the list of destinations.

+

Compiling with GCC

+

From the command-line, create a file called simple.c using your favorite editor, copy the example to this file, and save. Then run the following command to compile it with GCC and run it:

+
gcc -o simple `cups-config --cflags` simple.c `cups-config --libs`
+./simple
+
+

The cups-config command provides the compiler flags (cups-config --cflags) and libraries (cups-config --libs) needed for the local system.

+

Working with Destinations

+

Destinations, which in CUPS represent individual printers or classes (collections or pools) of printers, are represented by the cups_dest_t structure which includes the name (name), instance (instance, saved options/settings), whether the destination is the default for the user (is_default), and the options and basic information associated with that destination (num_options and options).

+

Historically destinations have been manually maintained by the administrator of a system or network, but CUPS also supports dynamic discovery of destinations on the current network.

+

Finding Available Destinations

+

The cupsEnumDests function finds all of the available destinations:

+
 int
+ cupsEnumDests(unsigned flags, int msec, int *cancel,
+               cups_ptype_t type, cups_ptype_t mask,
+               cups_dest_cb_t cb, void *user_data)
+
+

The flags argument specifies enumeration options, which at present must be CUPS_DEST_FLAGS_NONE.

+

The msec argument specifies the maximum amount of time that should be used for enumeration in milliseconds - interactive applications should keep this value to 5000 or less when run on the main thread.

+

The cancel argument points to an integer variable that, when set to a non-zero value, will cause enumeration to stop as soon as possible. It can be NULL if not needed.

+

The type and mask arguments are bitfields that allow the caller to filter the destinations based on categories and/or capabilities. The destination's "printer-type" value is masked by the mask value and compared to the type value when filtering. For example, to only enumerate destinations that are hosted on the local system, pass CUPS_PRINTER_LOCAL for the type argument and CUPS_PRINTER_DISCOVERED for the mask argument. The following constants can be used for filtering:

+
    +
  • CUPS_PRINTER_CLASS: A collection of destinations.
  • +
  • CUPS_PRINTER_FAX: A facsimile device.
  • +
  • CUPS_PRINTER_LOCAL: A local printer or class. This constant has the value 0 (no bits set) and is only used for the type argument and is paired with the CUPS_PRINTER_REMOTE or CUPS_PRINTER_DISCOVERED constant passed in the mask argument.
  • +
  • CUPS_PRINTER_REMOTE: A remote (shared) printer or class.
  • +
  • CUPS_PRINTER_DISCOVERED: An available network printer or class.
  • +
  • CUPS_PRINTER_BW: Can do B&W printing.
  • +
  • CUPS_PRINTER_COLOR: Can do color printing.
  • +
  • CUPS_PRINTER_DUPLEX: Can do two-sided printing.
  • +
  • CUPS_PRINTER_STAPLE: Can staple output.
  • +
  • CUPS_PRINTER_COLLATE: Can quickly collate copies.
  • +
  • CUPS_PRINTER_PUNCH: Can punch output.
  • +
  • CUPS_PRINTER_COVER: Can cover output.
  • +
  • CUPS_PRINTER_BIND: Can bind output.
  • +
  • CUPS_PRINTER_SORT: Can sort output (mailboxes, etc.)
  • +
  • CUPS_PRINTER_SMALL: Can print on Letter/Legal/A4-size media.
  • +
  • CUPS_PRINTER_MEDIUM: Can print on Tabloid/B/C/A3/A2-size media.
  • +
  • CUPS_PRINTER_LARGE: Can print on D/E/A1/A0-size media.
  • +
  • CUPS_PRINTER_VARIABLE: Can print on rolls and custom-size media.
  • +
+

The cb argument specifies a function to call for every destination that is found:

+
typedef int (*cups_dest_cb_t)(void *user_data,
+                              unsigned flags,
+                              cups_dest_t *dest);
+
+

The callback function receives a copy of the user_data argument along with a bitfield (flags) and the destination that was found. The flags argument can have any of the following constant (bit) values set:

+
    +
  • CUPS_DEST_FLAGS_MORE: There are more destinations coming.
  • +
  • CUPS_DEST_FLAGS_REMOVED: The destination has gone away and should be removed from the list of destinations a user can select.
  • +
  • CUPS_DEST_FLAGS_ERROR: An error occurred. The reason for the error can be found by calling the cupsLastError and/or cupsLastErrorString functions.
  • +
+

The callback function returns 0 to stop enumeration or 1 to continue.

+
+

Note:

+

The callback function will likely be called multiple times for the same destination, so it is up to the caller to suppress any duplicate destinations.

+
+

The following example shows how to use cupsEnumDests to get a filtered array of destinations:

+
typedef struct
+{
+  int num_dests;
+  cups_dest_t *dests;
+} my_user_data_t;
+
+int
+my_dest_cb(my_user_data_t *user_data, unsigned flags,
+           cups_dest_t *dest)
+{
+  if (flags & CUPS_DEST_FLAGS_REMOVED)
+  {
+   /*
+    * Remove destination from array...
+    */
+
+    user_data->num_dests =
+        cupsRemoveDest(dest->name, dest->instance,
+                       user_data->num_dests,
+                       &(user_data->dests));
+  }
+  else
+  {
+   /*
+    * Add destination to array...
+    */
+
+    user_data->num_dests =
+        cupsCopyDest(dest, user_data->num_dests,
+                     &(user_data->dests));
+  }
+
+  return (1);
+}
+
+int
+my_get_dests(cups_ptype_t type, cups_ptype_t mask,
+             cups_dest_t **dests)
+{
+  my_user_data_t user_data = { 0, NULL };
+
+  if (!cupsEnumDests(CUPS_DEST_FLAGS_NONE, 1000, NULL, type,
+                     mask, (cups_dest_cb_t)my_dest_cb,
+                     &user_data))
+  {
+   /*
+    * An error occurred, free all of the destinations and
+    * return...
+    */
+
+    cupsFreeDests(user_data.num_dests, user_dasta.dests);
+
+    *dests = NULL;
+
+    return (0);
+  }
+
+ /*
+  * Return the destination array...
+  */
+
+  *dests = user_data.dests;
+
+  return (user_data.num_dests);
+}
+
+

Basic Destination Information

+

The num_options and options members of the cups_dest_t structure provide basic attributes about the destination in addition to the user default options and values for that destination. The following names are predefined for various destination attributes:

+
    +
  • "auth-info-required": The type of authentication required for printing to this destination: "none", "username,password", "domain,username,password", or "negotiate" (Kerberos).
  • +
  • "printer-info": The human-readable description of the destination such as "My Laser Printer".
  • +
  • "printer-is-accepting-jobs": "true" if the destination is accepting new jobs, "false" otherwise.
  • +
  • "printer-is-shared": "true" if the destination is being shared with other computers, "false" otherwise.
  • +
  • "printer-location": The human-readable location of the destination such as "Lab 4".
  • +
  • "printer-make-and-model": The human-readable make and model of the destination such as "ExampleCorp LaserPrinter 4000 Series".
  • +
  • "printer-state": "3" if the destination is idle, "4" if the destination is printing a job, and "5" if the destination is stopped.
  • +
  • "printer-state-change-time": The UNIX time when the destination entered the current state.
  • +
  • "printer-state-reasons": Additional comma-delimited state keywords for the destination such as "media-tray-empty-error" and "toner-low-warning".
  • +
  • "printer-type": The cups_ptype_t value associated with the destination.
  • +
  • "printer-uri-supported": The URI associated with the destination; if not set, this destination was discovered but is not yet setup as a local printer.
  • +
+

Use the cupsGetOption function to retrieve the value. For example, the following code gets the make and model of a destination:

+
const char *model = cupsGetOption("printer-make-and-model",
+                                  dest->num_options,
+                                  dest->options);
+
+

Detailed Destination Information

+

Once a destination has been chosen, the cupsCopyDestInfo function can be used to gather detailed information about the destination:

+
cups_dinfo_t *
+cupsCopyDestInfo(http_t *http, cups_dest_t *dest);
+
+

The http argument specifies a connection to the CUPS scheduler and is typically the constant CUPS_HTTP_DEFAULT. The dest argument specifies the destination to query.

+

The cups_dinfo_t structure that is returned contains a snapshot of the supported options and their supported, ready, and default values. It also can report constraints between different options and values, and recommend changes to resolve those constraints.

+

Getting Supported Options and Values

+

The cupsCheckDestSupported function can be used to test whether a particular option or option and value is supported:

+
int
+cupsCheckDestSupported(http_t *http, cups_dest_t *dest,
+                       cups_dinfo_t *info,
+                       const char *option,
+                       const char *value);
+
+

The option argument specifies the name of the option to check. The following constants can be used to check the various standard options:

+
    +
  • CUPS_COPIES: Controls the number of copies that are produced.
  • +
  • CUPS_FINISHINGS: A comma-delimited list of integer constants that control the finishing processes that are applied to the job, including stapling, punching, and folding.
  • +
  • CUPS_MEDIA: Controls the media size that is used, typically one of the following: CUPS_MEDIA_3X5, CUPS_MEDIA_4X6, CUPS_MEDIA_5X7, CUPS_MEDIA_8X10, CUPS_MEDIA_A3, CUPS_MEDIA_A4, CUPS_MEDIA_A5, CUPS_MEDIA_A6, CUPS_MEDIA_ENV10, CUPS_MEDIA_ENVDL, CUPS_MEDIA_LEGAL, CUPS_MEDIA_LETTER, CUPS_MEDIA_PHOTO_L, CUPS_MEDIA_SUPERBA3, or CUPS_MEDIA_TABLOID.
  • +
  • CUPS_MEDIA_SOURCE: Controls where the media is pulled from, typically either CUPS_MEDIA_SOURCE_AUTO or CUPS_MEDIA_SOURCE_MANUAL.
  • +
  • CUPS_MEDIA_TYPE: Controls the type of media that is used, typically one of the following: CUPS_MEDIA_TYPE_AUTO, CUPS_MEDIA_TYPE_ENVELOPE, CUPS_MEDIA_TYPE_LABELS, CUPS_MEDIA_TYPE_LETTERHEAD, CUPS_MEDIA_TYPE_PHOTO, CUPS_MEDIA_TYPE_PHOTO_GLOSSY, CUPS_MEDIA_TYPE_PHOTO_MATTE, CUPS_MEDIA_TYPE_PLAIN, or CUPS_MEDIA_TYPE_TRANSPARENCY.
  • +
  • CUPS_NUMBER_UP: Controls the number of document pages that are placed on each media side.
  • +
  • CUPS_ORIENTATION: Controls the orientation of document pages placed on the media: CUPS_ORIENTATION_PORTRAIT or CUPS_ORIENTATION_LANDSCAPE.
  • +
  • CUPS_PRINT_COLOR_MODE: Controls whether the output is in color (CUPS_PRINT_COLOR_MODE_COLOR), grayscale (CUPS_PRINT_COLOR_MODE_MONOCHROME), or either (CUPS_PRINT_COLOR_MODE_AUTO).
  • +
  • CUPS_PRINT_QUALITY: Controls the generate quality of the output: CUPS_PRINT_QUALITY_DRAFT, CUPS_PRINT_QUALITY_NORMAL, or CUPS_PRINT_QUALITY_HIGH.
  • +
  • CUPS_SIDES: Controls whether prints are placed on one or both sides of the media: CUPS_SIDES_ONE_SIDED, CUPS_SIDES_TWO_SIDED_PORTRAIT, or CUPS_SIDES_TWO_SIDED_LANDSCAPE.
  • +
+

If the value argument is NULL, the cupsCheckDestSupported function returns whether the option is supported by the destination. Otherwise, the function returns whether the specified value of the option is supported.

+

The cupsFindDestSupported function returns the IPP attribute containing the supported values for a given option:

+
 ipp_attribute_t *
+ cupsFindDestSupported(http_t *http, cups_dest_t *dest,
+                       cups_dinfo_t *dinfo,
+                       const char *option);
+
+

For example, the following code prints the supported finishing processes for a destination, if any, to the standard output:

+
cups_dinfo_t *info = cupsCopyDestInfo(CUPS_HTTP_DEFAULT,
+                                      dest);
+
+if (cupsCheckDestSupported(CUPS_HTTP_DEFAULT, dest, info,
+                           CUPS_FINISHINGS, NULL))
+{
+  ipp_attribute_t *finishings =
+      cupsFindDestSupported(CUPS_HTTP_DEFAULT, dest, info,
+                            CUPS_FINISHINGS);
+  int i, count = ippGetCount(finishings);
+
+  puts("finishings supported:");
+  for (i = 0; i < count; i ++)
+    printf("  %d\n", ippGetInteger(finishings, i));
+}
+else
+  puts("finishings not supported.");
+
+

The "job-creation-attributes" option can be queried to get a list of supported options. For example, the following code prints the list of supported options to the standard output:

+
ipp_attribute_t *attrs =
+    cupsFindDestSupported(CUPS_HTTP_DEFAULT, dest, info,
+                          "job-creation-attributes");
+int i, count = ippGetCount(attrs);
+
+for (i = 0; i < count; i ++)
+  puts(ippGetString(attrs, i, NULL));
+
+

Getting Default Values

+

There are two sets of default values - user defaults that are available via the num_options and options members of the cups_dest_t structure, and destination defaults that available via the cups_dinfo_t structure and the cupsFindDestDefault function which returns the IPP attribute containing the default value(s) for a given option:

+
ipp_attribute_t *
+cupsFindDestDefault(http_t *http, cups_dest_t *dest,
+                    cups_dinfo_t *dinfo,
+                    const char *option);
+
+

The user defaults from cupsGetOption should always take preference over the destination defaults. For example, the following code prints the default finishings value(s) to the standard output:

+
const char *def_value =
+    cupsGetOption(CUPS_FINISHINGS, dest->num_options,
+                  dest->options);
+ipp_attribute_t *def_attr =
+    cupsFindDestDefault(CUPS_HTTP_DEFAULT, dest, info,
+                        CUPS_FINISHINGS);
+
+if (def_value != NULL)
+{
+  printf("Default finishings: %s\n", def_value);
+}
+else
+{
+  int i, count = ippGetCount(def_attr);
+
+  printf("Default finishings: %d",
+         ippGetInteger(def_attr, 0));
+  for (i = 1; i < count; i ++)
+    printf(",%d", ippGetInteger(def_attr, i));
+  putchar('\n');
+}
+
+

Getting Ready (Loaded) Values

+

The finishings and media options also support queries for the ready, or loaded, values. For example, a printer may have punch and staple finishers installed but be out of staples - the supported values will list both punch and staple finishing processes but the ready values will only list the punch processes. Similarly, a printer may support hundreds of different sizes of media but only have a single size loaded at any given time - the ready values are limited to the media that is actually in the printer.

+

The cupsFindDestReady function finds the IPP attribute containing the ready values for a given option:

+
ipp_attribute_t *
+cupsFindDestReady(http_t *http, cups_dest_t *dest,
+                  cups_dinfo_t *dinfo, const char *option);
+
+

For example, the following code lists the ready finishing processes:

+
ipp_attribute_t *ready_finishings =
+    cupsFindDestReady(CUPS_HTTP_DEFAULT, dest, info,
+                      CUPS_FINISHINGS);
+
+if (ready_finishings != NULL)
+{
+  int i, count = ippGetCount(ready_finishings);
+
+  puts("finishings ready:");
+  for (i = 0; i < count; i ++)
+    printf("  %d\n", ippGetInteger(ready_finishings, i));
+}
+else
+  puts("no finishings are ready.");
+
+

Media Size Options

+

CUPS provides functions for querying the dimensions and margins for each of the supported media size options. The cups_size_t structure is used to describe a media size:

+
typedef struct cups_size_s
+{
+  char media[128];
+  int width, length;
+  int bottom, left, right, top;
+} cups_size_t;
+
+

The width and length members specify the dimensions of the media in hundredths of millimeters (1/2540th of an inch). The bottom, left, right, and top members specify the margins of the printable area, also in hundredths of millimeters.

+

The cupsGetDestMediaByName and cupsGetDestMediaBySize functions lookup the media size information using a standard media size name or dimensions in hundredths of millimeters:

+
int
+cupsGetDestMediaByName(http_t *http, cups_dest_t *dest,
+                       cups_dinfo_t *dinfo,
+                       const char *media,
+                       unsigned flags, cups_size_t *size);
+
+int
+cupsGetDestMediaBySize(http_t *http, cups_dest_t *dest,
+                       cups_dinfo_t *dinfo,
+                       int width, int length,
+                       unsigned flags, cups_size_t *size);
+
+

The media, width, and length arguments specify the size to lookup. The flags argument specifies a bitfield controlling various lookup options:

+
    +
  • CUPS_MEDIA_FLAGS_DEFAULT: Find the closest size supported by the printer.
  • +
  • CUPS_MEDIA_FLAGS_BORDERLESS: Find a borderless size.
  • +
  • CUPS_MEDIA_FLAGS_DUPLEX: Find a size compatible with two-sided printing.
  • +
  • CUPS_MEDIA_FLAGS_EXACT: Find an exact match for the size.
  • +
  • CUPS_MEDIA_FLAGS_READY: If the printer supports media sensing or configuration of the media in each tray/source, find the size amongst the "ready" media.
  • +
+

If a matching size is found for the destination, the size information is stored in the structure pointed to by the size argument and 1 is returned. Otherwise 0 is returned.

+

For example, the following code prints the margins for two-sided printing on US Letter media:

+
cups_size_t size;
+
+if (cupsGetDestMediaByName(CUPS_HTTP_DEFAULT, dest, info,
+                           CUPS_MEDIA_LETTER,
+                           CUPS_MEDIA_FLAGS_DUPLEX, &size))
+{
+  puts("Margins for duplex US Letter:");
+  printf("  Bottom: %.2fin\n", size.bottom / 2540.0);
+  printf("    Left: %.2fin\n", size.left / 2540.0);
+  printf("   Right: %.2fin\n", size.right / 2540.0);
+  printf("     Top: %.2fin\n", size.top / 2540.0);
+}
+else
+  puts("Margins for duplex US Letter are not available.");
+
+

You can also enumerate all of the sizes that match a given flags value using the cupsGetDestMediaByIndex and cupsGetDestMediaCount functions:

+
int
+cupsGetDestMediaByIndex(http_t *http, cups_dest_t *dest,
+                        cups_dinfo_t *dinfo, int n,
+                        unsigned flags, cups_size_t *size);
+
+int
+cupsGetDestMediaCount(http_t *http, cups_dest_t *dest,
+                      cups_dinfo_t *dinfo, unsigned flags);
+
+

For example, the following code prints the list of ready media and corresponding margins:

+
cups_size_t size;
+int i;
+int count = cupsGetDestMediaCount(CUPS_HTTP_DEFAULT,
+                                  dest, info,
+                                  CUPS_MEDIA_FLAGS_READY);
+
+for (i = 0; i < count; i ++)
+{
+  if (cupsGetDestMediaByIndex(CUPS_HTTP_DEFAULT, dest, info,
+                              i, CUPS_MEDIA_FLAGS_READY,
+                              &size))
+  {
+    printf("%s:\n", size.name);
+    printf("   Width: %.2fin\n", size.width / 2540.0);
+    printf("  Length: %.2fin\n", size.length / 2540.0);
+    printf("  Bottom: %.2fin\n", size.bottom / 2540.0);
+    printf("    Left: %.2fin\n", size.left / 2540.0);
+    printf("   Right: %.2fin\n", size.right / 2540.0);
+    printf("     Top: %.2fin\n", size.top / 2540.0);
+  }
+}
+
+

Finally, the cupsGetDestMediaDefault function returns the default media size:

+
int
+cupsGetDestMediaDefault(http_t *http, cups_dest_t *dest,
+                        cups_dinfo_t *dinfo, unsigned flags,
+                        cups_size_t *size);
+
+

Localizing Options and Values

+

CUPS provides three functions to get localized, human-readable strings in the user's current locale for options and values: cupsLocalizeDestMedia, cupsLocalizeDestOption, and cupsLocalizeDestValue:

+
const char *
+cupsLocalizeDestMedia(http_t *http, cups_dest_t *dest,
+                      cups_dinfo_t *info, unsigned flags,
+                      cups_size_t *size);
+
+const char *
+cupsLocalizeDestOption(http_t *http, cups_dest_t *dest,
+                       cups_dinfo_t *info,
+                       const char *option);
+
+const char *
+cupsLocalizeDestValue(http_t *http, cups_dest_t *dest,
+                      cups_dinfo_t *info,
+                      const char *option, const char *value);
+
+

Submitting a Print Job

+

Once you are ready to submit a print job, you create a job using the cupsCreateDestJob function:

+
ipp_status_t
+cupsCreateDestJob(http_t *http, cups_dest_t *dest,
+                  cups_dinfo_t *info, int *job_id,
+                  const char *title, int num_options,
+                  cups_option_t *options);
+
+

The title argument specifies a name for the print job such as "My Document". The num_options and options arguments specify the options for the print job which are allocated using the cupsAddOption function.

+

When successful, the job's numeric identifier is stored in the integer pointed to by the job_id argument and IPP_STATUS_OK is returned. Otherwise, an IPP error status is returned.

+

For example, the following code creates a new job that will print 42 copies of a two-sided US Letter document:

+
int job_id = 0;
+int num_options = 0;
+cups_option_t *options = NULL;
+
+num_options = cupsAddOption(CUPS_COPIES, "42",
+                            num_options, &options);
+num_options = cupsAddOption(CUPS_MEDIA, CUPS_MEDIA_LETTER,
+                            num_options, &options);
+num_options = cupsAddOption(CUPS_SIDES,
+                            CUPS_SIDES_TWO_SIDED_PORTRAIT,
+                            num_options, &options);
+
+if (cupsCreateDestJob(CUPS_HTTP_DEFAULT, dest, info,
+                      &job_id, "My Document", num_options,
+                      options) == IPP_STATUS_OK)
+  printf("Created job: %d\n", job_id);
+else
+  printf("Unable to create job: %s\n",
+         cupsLastErrorString());
+
+

Once the job is created, you submit documents for the job using the cupsStartDestDocument, cupsWriteRequestData, and cupsFinishDestDocument functions:

+
http_status_t
+cupsStartDestDocument(http_t *http, cups_dest_t *dest,
+                      cups_dinfo_t *info, int job_id,
+                      const char *docname,
+                      const char *format,
+                      int num_options,
+                      cups_option_t *options,
+                      int last_document);
+
+http_status_t
+cupsWriteRequestData(http_t *http, const char *buffer,
+                     size_t length);
+
+ipp_status_t
+cupsFinishDestDocument(http_t *http, cups_dest_t *dest,
+                       cups_dinfo_t *info);
+
+

The docname argument specifies the name of the document, typically the original filename. The format argument specifies the MIME media type of the document, including the following constants:

+
    +
  • CUPS_FORMAT_JPEG: "image/jpeg"
  • +
  • CUPS_FORMAT_PDF: "application/pdf"
  • +
  • CUPS_FORMAT_POSTSCRIPT: "application/postscript"
  • +
  • CUPS_FORMAT_TEXT: "text/plain"
  • +
+

The num_options and options arguments specify per-document print options, which at present must be 0 and NULL. The last_document argument specifies whether this is the last document in the job.

+

For example, the following code submits a PDF file to the job that was just created:

+
FILE *fp = fopen("filename.pdf", "rb");
+size_t bytes;
+char buffer[65536];
+
+if (cupsStartDestDocument(CUPS_HTTP_DEFAULT, dest, info,
+                          job_id, "filename.pdf", 0, NULL,
+                          1) == HTTP_STATUS_CONTINUE)
+{
+  while ((bytes = fread(buffer, 1, sizeof(buffer), fp)) > 0)
+    if (cupsWriteRequestData(CUPS_HTTP_DEFAULT, buffer,
+                             bytes) != HTTP_STATUS_CONTINUE)
+      break;
+
+  if (cupsFinishDestDocument(CUPS_HTTP_DEFAULT, dest,
+                             info) == IPP_STATUS_OK)
+    puts("Document send succeeded.");
+  else
+    printf("Document send failed: %s\n",
+           cupsLastErrorString());
+}
+
+fclose(fp);
+
+

Sending IPP Requests

+

CUPS provides a rich API for sending IPP requests to the scheduler or printers, typically from management or utility applications whose primary purpose is not to send print jobs.

+

Connecting to the Scheduler or Printer

+

The connection to the scheduler or printer is represented by the HTTP connection type http_t. The cupsConnectDest function connects to the scheduler or printer associated with the destination:

+
http_t *
+cupsConnectDest(cups_dest_t *dest, unsigned flags, int msec,
+                int *cancel, char *resource,
+                size_t resourcesize, cups_dest_cb_t cb,
+                void *user_data);
+
+

The dest argument specifies the destination to connect to.

+

The flags argument specifies whether you want to connect to the scheduler (CUPS_DEST_FLAGS_NONE) or device/printer (CUPS_DEST_FLAGS_DEVICE) associated with the destination.

+

The msec argument specifies how long you are willing to wait for the connection to be established in milliseconds. Specify a value of -1 to wait indefinitely.

+

The cancel argument specifies the address of an integer variable that can be set to a non-zero value to cancel the connection. Specify a value of NULL to not provide a cancel variable.

+

The resource and resourcesize arguments specify the address and size of a character string array to hold the path to use when sending an IPP request.

+

The cb and user_data arguments specify a destination callback function that returns 1 to continue connecting or 0 to stop. The destination callback work the same way as the one used for the cupsEnumDests function.

+

On success, a HTTP connection is returned that can be used to send IPP requests and get IPP responses.

+

For example, the following code connects to the printer associated with a destination with a 30 second timeout:

+
char resource[256];
+http_t *http = cupsConnectDest(dest, CUPS_DEST_FLAGS_DEVICE,
+                               30000, NULL, resource,
+                               sizeof(resource), NULL, NULL);
+
+

Creating an IPP Request

+

IPP requests are represented by the IPP message type ipp_t and each IPP attribute in the request is representing using the type ipp_attribute_t. Each IPP request includes an operation code (IPP_OP_CREATE_JOB, IPP_OP_GET_PRINTER_ATTRIBUTES, etc.) and a 32-bit integer identifier.

+

The ippNewRequest function creates a new IPP request:

+
ipp_t *
+ippNewRequest(ipp_op_t op);
+
+

The op argument specifies the IPP operation code for the request. For example, the following code creates an IPP Get-Printer-Attributes request:

+
ipp_t *request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES);
+
+

The request identifier is automatically set to a unique value for the current process.

+

Each IPP request starts with two IPP attributes, "attributes-charset" and "attributes-natural-language", followed by IPP attribute(s) that specify the target of the operation. The ippNewRequest automatically adds the correct "attributes-charset" and "attributes-natural-language" attributes, but you must add the target attribute(s). For example, the following code adds the "printer-uri" attribute to the IPP Get-Printer-Attributes request to specify which printer is being queried:

+
const char *printer_uri = cupsGetOption("device-uri",
+                                        dest->num_options,
+                                        dest->options);
+
+ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI,
+             "printer-uri", NULL, printer_uri);
+
+
+

Note:

+

If we wanted to query the scheduler instead of the device, we would look up the "printer-uri-supported" option instead of the "device-uri" value.

+
+

The ippAddString function adds the "printer-uri" attribute the the IPP request. The IPP_TAG_OPERATION argument specifies that the attribute is part of the operation. The IPP_TAG_URI argument specifies that the value is a Universal Resource Identifier (URI) string. The NULL argument specifies there is no language (English, French, Japanese, etc.) associated with the string, and the printer_uri argument specifies the string value.

+

The IPP Get-Printer-Attributes request also supports an IPP attribute called "requested-attributes" that lists the attributes and values you are interested in. For example, the following code requests the printer state attributes:

+
static const char * const requested_attributes[] =
+{
+  "printer-state",
+  "printer-state-message",
+  "printer-state-reasons"
+};
+
+ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD,
+              "requested-attributes", 3, NULL,
+              requested_attributes);
+
+

The ippAddStrings function adds an attribute with one or more strings, in this case three. The IPP_TAG_KEYWORD argument specifies that the strings are keyword values, which are used for attribute names. All strings use the same language (NULL), and the attribute will contain the three strings in the array requested_attributes.

+

CUPS provides many functions to adding attributes of different types:

+
    +
  • ippAddBoolean adds a boolean (IPP_TAG_BOOLEAN) attribute with one value.
  • +
  • ippAddInteger adds an enum (IPP_TAG_ENUM) or integer (IPP_TAG_INTEGER) attribute with one value.
  • +
  • ippAddIntegers adds an enum or integer attribute with one or more values.
  • +
  • ippAddOctetString adds an octetString attribute with one value.
  • +
  • ippAddOutOfBand adds a admin-defined (IPP_TAG_ADMINDEFINE), default (IPP_TAG_DEFAULT), delete-attribute (IPP_TAG_DELETEATTR), no-value (IPP_TAG_NOVALUE), not-settable (IPP_TAG_NOTSETTABLE), unknown (IPP_TAG_UNKNOWN), or unsupported (IPP_TAG_UNSUPPORTED_VALUE) out-of-band attribute.
  • +
  • ippAddRange adds a rangeOfInteger attribute with one range.
  • +
  • ippAddRanges adds a rangeOfInteger attribute with one or more ranges.
  • +
  • ippAddResolution adds a resolution attribute with one resolution.
  • +
  • ippAddResolutions adds a resolution attribute with one or more resolutions.
  • +
  • ippAddString adds a charset (IPP_TAG_CHARSET), keyword (IPP_TAG_KEYWORD), mimeMediaType (IPP_TAG_MIMETYPE), name (IPP_TAG_NAME and IPP_TAG_NAMELANG), naturalLanguage (IPP_TAG_NATURAL_LANGUAGE), text (IPP_TAG_TEXT and IPP_TAG_TEXTLANG), uri (IPP_TAG_URI), or uriScheme (IPP_TAG_URISCHEME) attribute with one value.
  • +
  • ippAddStrings adds a charset, keyword, mimeMediaType, name, naturalLanguage, text, uri, or uriScheme attribute with one or more values.
  • +
+

Sending the IPP Request

+

Once you have created the IPP request, you can send it using the cupsDoRequest function. For example, the following code sends the IPP Get-Printer-Attributes request to the destination and saves the response:

+
ipp_t *response = cupsDoRequest(http, request, resource);
+
+

For requests like Send-Document that include a file, the cupsDoFileRequest function should be used:

+
ipp_t *response = cupsDoFileRequest(http, request, resource,
+                                    filename);
+
+

Both cupsDoRequest and cupsDoFileRequest free the IPP request. If a valid IPP response is received, it is stored in a new IPP message (ipp_t) and returned to the caller. Otherwise NULL is returned.

+

The status from the most recent request can be queried using the cupsLastError function, for example:

+
if (cupsLastError() >= IPP_STATUS_ERROR_BAD_REQUEST)
+{
+  /* request failed */
+}
+
+

A human-readable error message is also available using the cupsLastErrorString function:

+
if (cupsLastError() >= IPP_STATUS_ERROR_BAD_REQUEST)
+{
+  /* request failed */
+  printf("Request failed: %s\n", cupsLastErrorString());
+}
+
+

Processing the IPP Response

+

Each response to an IPP request is also an IPP message (ipp_t) with its own IPP attributes (ipp_attribute_t) that includes a status code (IPP_STATUS_OK, IPP_STATUS_ERROR_BAD_REQUEST, etc.) and the corresponding 32-bit integer identifier from the request.

+

For example, the following code finds the printer state attributes and prints their values:

+
ipp_attribute_t *attr;
+
+if ((attr = ippFindAttribute(response, "printer-state",
+                             IPP_TAG_ENUM)) != NULL)
+{
+  printf("printer-state=%s\n",
+         ippEnumString("printer-state", ippGetInteger(attr, 0)));
+}
+else
+  puts("printer-state=unknown");
+
+if ((attr = ippFindAttribute(response, "printer-state-message",
+                             IPP_TAG_TEXT)) != NULL)
+{
+  printf("printer-state-message=\"%s\"\n",
+         ippGetString(attr, 0, NULL)));
+}
+
+if ((attr = ippFindAttribute(response, "printer-state-reasons",
+                             IPP_TAG_KEYWORD)) != NULL)
+{
+  int i, count = ippGetCount(attr);
+
+  puts("printer-state-reasons=");
+  for (i = 0; i < count; i ++)
+    printf("    %s\n", ippGetString(attr, i, NULL)));
+}
+
+

The ippGetCount function returns the number of values in an attribute.

+

The ippGetInteger and ippGetString functions return a single integer or string value from an attribute.

+

The ippEnumString function converts a enum value to its keyword (string) equivalent.

+

Once you are done using the IPP response message, free it using the ippDelete function:

+
ippDelete(response);
+
+

Authentication

+

CUPS normally handles authentication through the console. GUI applications should set a password callback using the cupsSetPasswordCB2 function:

+
void
+cupsSetPasswordCB2(cups_password_cb2_t cb, void *user_data);
+
+

The password callback will be called when needed and is responsible for setting the current user name using cupsSetUser and returning a string:

+
const char *
+cups_password_cb2(const char *prompt, http_t *http,
+                  const char *method, const char *resource,
+                  void *user_data);
+
+

The prompt argument is a string from CUPS that should be displayed to the user.

+

The http argument is the connection hosting the request that is being authenticated. The password callback can call the httpGetField and httpGetSubField functions to look for additional details concerning the authentication challenge.

+

The method argument specifies the HTTP method used for the request and is typically "POST".

+

The resource argument specifies the path used for the request.

+

The user_data argument provides the user data pointer from the cupsSetPasswordCB2 call.

+

Functions

+

cupsAddDest

+

Add a destination to the list of destinations.

+

+int cupsAddDest(const char *name, const char *instance, int num_dests, cups_dest_t **dests);

+

Parameters

+ + + + + + + + + +
nameDestination name
instanceInstance name or NULL for none/primary
num_destsNumber of destinations
destsDestinations
+

Return Value

+

New number of destinations

+

Discussion

+

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.

+

 CUPS 2.3/macOS 10.14 cupsAddDestMediaOptions

+

Add the option corresponding to the specified media size.

+

+int cupsAddDestMediaOptions(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, cups_size_t *size, int num_options, cups_option_t **options);

+

Parameters

+ + + + + + + + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
flagsMedia matching flags
sizeMedia size
num_optionsCurrent number of options
optionsOptions
+

Return Value

+

New number of options

+

 CUPS 2.2.4/macOS 10.13 cupsAddIntegerOption

+

Add an integer option to an option array.

+

+int cupsAddIntegerOption(const char *name, int value, int num_options, cups_option_t **options);

+

Parameters

+ + + + + + + + + +
nameName of option
valueValue of option
num_optionsNumber of options
optionsPointer to options
+

Return Value

+

Number of options

+

Discussion

+

New option arrays can be initialized simply by passing 0 for the +"num_options" parameter. + +

+

cupsAddOption

+

Add an option to an option array.

+

+int cupsAddOption(const char *name, const char *value, int num_options, cups_option_t **options);

+

Parameters

+ + + + + + + + + +
nameName of option
valueValue of option
num_optionsNumber of options
optionsPointer to options
+

Return Value

+

Number of options

+

Discussion

+

New option arrays can be initialized simply by passing 0 for the +"num_options" parameter.

+

 CUPS 1.6/macOS 10.8 cupsCancelDestJob

+

Cancel a job on a destination.

+

+ipp_status_t cupsCancelDestJob(http_t *http, cups_dest_t *dest, int job_id);

+

Parameters

+ + + + + + + +
httpConnection to destination
destDestination
job_idJob ID
+

Return Value

+

Status of cancel operation

+

Discussion

+

The "job_id" is the number returned by cupsCreateDestJob.
+
+Returns IPP_STATUS_OK on success and +IPP_STATUS_ERROR_NOT_AUTHORIZED or +IPP_STATUS_ERROR_FORBIDDEN on failure. + +

+

 CUPS 1.6/macOS 10.8 cupsCheckDestSupported

+

Check that the option and value are supported +by the destination.

+

+int cupsCheckDestSupported(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option, const char *value);

+

Parameters

+ + + + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
optionOption
valueValue or NULL
+

Return Value

+

1 if supported, 0 otherwise

+

Discussion

+

Returns 1 if supported, 0 otherwise. + +

+

 CUPS 1.6/macOS 10.8 cupsCloseDestJob

+

Close a job and start printing.

+

+ipp_status_t cupsCloseDestJob(http_t *http, cups_dest_t *dest, cups_dinfo_t *info, int job_id);

+

Parameters

+ + + + + + + + + +
httpConnection to destination
destDestination
infoDestination information
job_idJob ID
+

Return Value

+

IPP status code

+

Discussion

+

Use when the last call to cupsStartDocument passed 0 for "last_document". +"job_id" is the job ID returned by cupsCreateDestJob. Returns IPP_STATUS_OK +on success. + +

+

 CUPS 1.6/macOS 10.8 cupsConnectDest

+

Open a connection to the destination.

+

+http_t *cupsConnectDest(cups_dest_t *dest, unsigned flags, int msec, int *cancel, char *resource, size_t resourcesize, cups_dest_cb_t cb, void *user_data);

+

Parameters

+ + + + + + + + + + + + + + + + + +
destDestination
flagsConnection flags
msecTimeout in milliseconds
cancelPointer to "cancel" variable
resourceResource buffer
resourcesizeSize of resource buffer
cbCallback function
user_dataUser data pointer
+

Return Value

+

Connection to destination or NULL

+

Discussion

+

Connect to the destination, returning a new http_t connection object +and optionally the resource path to use for the destination. These calls +will block until a connection is made, the timeout expires, the integer +pointed to by "cancel" is non-zero, or the callback function (or block) +returns 0. The caller is responsible for calling httpClose on the +returned connection.
+
+Starting with CUPS 2.2.4, the caller can pass CUPS_DEST_FLAGS_DEVICE +for the "flags" argument to connect directly to the device associated with +the destination. Otherwise, the connection is made to the CUPS scheduler +associated with the destination. + +

+

 CUPS 1.6/macOS 10.8 cupsCopyDest

+

Copy a destination.

+

+int cupsCopyDest(cups_dest_t *dest, int num_dests, cups_dest_t **dests);

+

Parameters

+ + + + + + + +
destDestination to copy
num_destsNumber of destinations
destsDestination array
+

Return Value

+

New number of destinations

+

Discussion

+

Make a copy of the destination to an array of destinations (or just a single +copy) - for use with the cupsEnumDests* functions. The caller is responsible +for calling cupsFreeDests() on the returned object(s). + +

+

 CUPS 1.6/macOS 10.8 cupsCopyDestConflicts

+

Get conflicts and resolutions for a new +option/value pair.

+

+int cupsCopyDestConflicts(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, int num_options, cups_option_t *options, const char *new_option, const char *new_value, int *num_conflicts, cups_option_t **conflicts, int *num_resolved, cups_option_t **resolved);

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
num_optionsNumber of current options
optionsCurrent options
new_optionNew option
new_valueNew value
num_conflictsNumber of conflicting options
conflictsConflicting options
num_resolvedNumber of options to resolve
resolvedResolved options
+

Return Value

+

1 if there is a conflict, 0 if none, -1 on error

+

Discussion

+

"num_options" and "options" represent the currently selected options by the +user. "new_option" and "new_value" are the setting the user has just +changed.
+
+Returns 1 if there is a conflict, 0 if there are no conflicts, and -1 if +there was an unrecoverable error such as a resolver loop.
+
+If "num_conflicts" and "conflicts" are not NULL, they are set to +contain the list of conflicting option/value pairs. Similarly, if +"num_resolved" and "resolved" are not NULL they will be set to the +list of changes needed to resolve the conflict.
+
+If cupsCopyDestConflicts returns 1 but "num_resolved" and "resolved" are set +to 0 and NULL, respectively, then the conflict cannot be resolved. + +

+

 CUPS 1.6/macOS 10.8 cupsCopyDestInfo

+

Get the supported values/capabilities for the +destination.

+

+cups_dinfo_t *cupsCopyDestInfo(http_t *http, cups_dest_t *dest);

+

Parameters

+ + + + + +
httpConnection to destination
destDestination
+

Return Value

+

Destination information

+

Discussion

+

The caller is responsible for calling cupsFreeDestInfo on the return +value. NULL is returned on error. + +

+

 CUPS 1.6/macOS 10.8 cupsCreateDestJob

+

Create a job on a destination.

+

+ipp_status_t cupsCreateDestJob(http_t *http, cups_dest_t *dest, cups_dinfo_t *info, int *job_id, const char *title, int num_options, cups_option_t *options);

+

Parameters

+ + + + + + + + + + + + + + + +
httpConnection to destination
destDestination
infoDestination information
job_idJob ID or 0 on error
titleJob name
num_optionsNumber of job options
optionsJob options
+

Return Value

+

IPP status code

+

Discussion

+

Returns IPP_STATUS_OK or IPP_STATUS_OK_SUBST on success, saving the job ID +in the variable pointed to by "job_id". + +

+

 CUPS 1.1.20/macOS 10.4 cupsDoAuthentication

+

Authenticate a request.

+

+int cupsDoAuthentication(http_t *http, const char *method, const char *resource);

+

Parameters

+ + + + + + + +
httpConnection to server or CUPS_HTTP_DEFAULT
methodRequest method ("GET", "POST", "PUT")
resourceResource path
+

Return Value

+

0 on success, -1 on error

+

Discussion

+

This function should be called in response to a HTTP_STATUS_UNAUTHORIZED +status, prior to resubmitting your request. + +

+

 CUPS 2.3/macOS 10.14 cupsEncodeOption

+

Encode a single option into an IPP attribute.

+

+ipp_attribute_t *cupsEncodeOption(ipp_t *ipp, ipp_tag_t group_tag, const char *name, const char *value);

+

Parameters

+ + + + + + + + + +
ippIPP request/response
group_tagAttribute group
nameOption name
valueOption string value
+

Return Value

+

New attribute or NULL on error

+

cupsEncodeOptions

+

Encode printer options into IPP attributes.

+

+void cupsEncodeOptions(ipp_t *ipp, int num_options, cups_option_t *options);

+

Parameters

+ + + + + + + +
ippIPP request/response
num_optionsNumber of options
optionsOptions
+

Discussion

+

This function adds operation, job, and then subscription attributes, +in that order. Use the cupsEncodeOptions2 function to add attributes +for a single group.

+

 CUPS 1.2/macOS 10.5 cupsEncodeOptions2

+

Encode printer options into IPP attributes for a group.

+

+void cupsEncodeOptions2(ipp_t *ipp, int num_options, cups_option_t *options, ipp_tag_t group_tag);

+

Parameters

+ + + + + + + + + +
ippIPP request/response
num_optionsNumber of options
optionsOptions
group_tagGroup to encode
+

Discussion

+

This function only adds attributes for a single group. Call this +function multiple times for each group, or use cupsEncodeOptions +to add the standard groups. + +

+

cupsEncryption

+

Get the current encryption settings.

+

+http_encryption_t cupsEncryption(void);

+

Return Value

+

Encryption settings

+

Discussion

+

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_ENCRYPTION_IF_REQUESTED.
+
+Note: The current encryption setting is tracked separately for each thread +in a program. Multi-threaded programs that override the setting via the +cupsSetEncryption function need to do so in each thread for the same +setting to be used.

+

 CUPS 1.6/macOS 10.8 cupsEnumDests

+

Enumerate available destinations with a callback function.

+

+int cupsEnumDests(unsigned flags, int msec, int *cancel, cups_ptype_t type, cups_ptype_t mask, cups_dest_cb_t cb, void *user_data);

+

Parameters

+ + + + + + + + + + + + + + + +
flagsEnumeration flags
msecTimeout in milliseconds, -1 for indefinite
cancelPointer to "cancel" variable
typePrinter type bits
maskMask for printer type bits
cbCallback function
user_dataUser data
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

Destinations are enumerated from one or more sources. The callback function +receives the user_data pointer and the destination pointer which can +be used as input to the cupsCopyDest function. The function must +return 1 to continue enumeration or 0 to stop.
+
+The type and mask arguments allow the caller to filter the +destinations that are enumerated. Passing 0 for both will enumerate all +printers. The constant CUPS_PRINTER_DISCOVERED is used to filter on +destinations that are available but have not yet been added locally.
+
+Enumeration happens on the current thread and does not return until all +destinations have been enumerated or the callback function returns 0.
+
+Note: The callback function will likely receive multiple updates for the same +destinations - it is up to the caller to suppress any duplicate destinations. + +

+

 CUPS 1.7/macOS 10.9 cupsFindDestDefault

+

Find the default value(s) for the given option.

+

+ipp_attribute_t *cupsFindDestDefault(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option);

+

Parameters

+ + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
optionOption/attribute name
+

Return Value

+

Default attribute or NULL for none

+

Discussion

+

The returned value is an IPP attribute. Use the ippGetBoolean, +ippGetCollection, ippGetCount, ippGetDate, +ippGetInteger, ippGetOctetString, ippGetRange, +ippGetResolution, ippGetString, and ippGetValueTag +functions to inspect the default value(s) as needed. + +

+

 CUPS 1.7/macOS 10.9 cupsFindDestReady

+

Find the default value(s) for the given option.

+

+ipp_attribute_t *cupsFindDestReady(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option);

+

Parameters

+ + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
optionOption/attribute name
+

Return Value

+

Default attribute or NULL for none

+

Discussion

+

The returned value is an IPP attribute. Use the ippGetBoolean, +ippGetCollection, ippGetCount, ippGetDate, +ippGetInteger, ippGetOctetString, ippGetRange, +ippGetResolution, ippGetString, and ippGetValueTag +functions to inspect the default value(s) as needed. + +

+

 CUPS 1.7/macOS 10.9 cupsFindDestSupported

+

Find the default value(s) for the given option.

+

+ipp_attribute_t *cupsFindDestSupported(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option);

+

Parameters

+ + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
optionOption/attribute name
+

Return Value

+

Default attribute or NULL for none

+

Discussion

+

The returned value is an IPP attribute. Use the ippGetBoolean, +ippGetCollection, ippGetCount, ippGetDate, +ippGetInteger, ippGetOctetString, ippGetRange, +ippGetResolution, ippGetString, and ippGetValueTag +functions to inspect the default value(s) as needed. + +

+

 CUPS 1.6/macOS 10.8 cupsFinishDestDocument

+

Finish the current document.

+

+ipp_status_t cupsFinishDestDocument(http_t *http, cups_dest_t *dest, cups_dinfo_t *info);

+

Parameters

+ + + + + + + +
httpConnection to destination
destDestination
infoDestination information
+

Return Value

+

Status of document submission

+

Discussion

+

Returns IPP_STATUS_OK or IPP_STATUS_OK_SUBST on success. + +

+

 CUPS 1.6/macOS 10.8 cupsFreeDestInfo

+

Free destination information obtained using +cupsCopyDestInfo.

+

+void cupsFreeDestInfo(cups_dinfo_t *dinfo);

+

Parameters

+ + + +
dinfoDestination information
+

cupsFreeDests

+

Free the memory used by the list of destinations.

+

+void cupsFreeDests(int num_dests, cups_dest_t *dests);

+

Parameters

+ + + + + +
num_destsNumber of destinations
destsDestinations
+

cupsFreeJobs

+

Free memory used by job data.

+

+void cupsFreeJobs(int num_jobs, cups_job_t *jobs);

+

Parameters

+ + + + + +
num_jobsNumber of jobs
jobsJobs
+

cupsFreeOptions

+

Free all memory used by options.

+

+void cupsFreeOptions(int num_options, cups_option_t *options);

+

Parameters

+ + + + + +
num_optionsNumber of options
optionsPointer to options
+

cupsGetDest

+

Get the named destination from the list.

+

+cups_dest_t *cupsGetDest(const char *name, const char *instance, int num_dests, cups_dest_t *dests);

+

Parameters

+ + + + + + + + + +
nameDestination name or NULL for the default destination
instanceInstance name or NULL
num_destsNumber of destinations
destsDestinations
+

Return Value

+

Destination pointer or NULL

+

Discussion

+

Use the cupsEnumDests or cupsGetDests2 functions to get a +list of supported destinations for the current user.

+

 CUPS 1.7/macOS 10.9 cupsGetDestMediaByIndex

+

Get a media name, dimension, and margins for a +specific size.

+

+int cupsGetDestMediaByIndex(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, int n, unsigned flags, cups_size_t *size);

+

Parameters

+ + + + + + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
nMedia size number (0-based)
flagsMedia flags
sizeMedia size information
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The flags parameter determines which set of media are indexed. For +example, passing CUPS_MEDIA_FLAGS_BORDERLESS will get the Nth +borderless size supported by the printer. + +

+

 CUPS 1.6/macOS 10.8 cupsGetDestMediaByName

+

Get media names, dimensions, and margins.

+

+int cupsGetDestMediaByName(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *media, unsigned flags, cups_size_t *size);

+

Parameters

+ + + + + + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
mediaMedia name
flagsMedia matching flags
sizeMedia size information
+

Return Value

+

1 on match, 0 on failure

+

Discussion

+

The "media" string is a PWG media name. "Flags" provides some matching +guidance (multiple flags can be combined):
+
+CUPS_MEDIA_FLAGS_DEFAULT = find the closest size supported by the printer, +CUPS_MEDIA_FLAGS_BORDERLESS = find a borderless size, +CUPS_MEDIA_FLAGS_DUPLEX = find a size compatible with 2-sided printing, +CUPS_MEDIA_FLAGS_EXACT = find an exact match for the size, and +CUPS_MEDIA_FLAGS_READY = if the printer supports media sensing, find the +size amongst the "ready" media.
+
+The matching result (if any) is returned in the "cups_size_t" structure.
+
+Returns 1 when there is a match and 0 if there is not a match. + +

+

 CUPS 1.6/macOS 10.8 cupsGetDestMediaBySize

+

Get media names, dimensions, and margins.

+

+int cupsGetDestMediaBySize(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, int width, int length, unsigned flags, cups_size_t *size);

+

Parameters

+ + + + + + + + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
widthMedia width in hundredths of +of millimeters
lengthMedia length in hundredths of +of millimeters
flagsMedia matching flags
sizeMedia size information
+

Return Value

+

1 on match, 0 on failure

+

Discussion

+

"Width" and "length" are the dimensions in hundredths of millimeters. +"Flags" provides some matching guidance (multiple flags can be combined):
+
+CUPS_MEDIA_FLAGS_DEFAULT = find the closest size supported by the printer, +CUPS_MEDIA_FLAGS_BORDERLESS = find a borderless size, +CUPS_MEDIA_FLAGS_DUPLEX = find a size compatible with 2-sided printing, +CUPS_MEDIA_FLAGS_EXACT = find an exact match for the size, and +CUPS_MEDIA_FLAGS_READY = if the printer supports media sensing, find the +size amongst the "ready" media.
+
+The matching result (if any) is returned in the "cups_size_t" structure.
+
+Returns 1 when there is a match and 0 if there is not a match. + +

+

 CUPS 1.7/macOS 10.9 cupsGetDestMediaCount

+

Get the number of sizes supported by a +destination.

+

+int cupsGetDestMediaCount(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags);

+

Parameters

+ + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
flagsMedia flags
+

Return Value

+

Number of sizes

+

Discussion

+

The flags parameter determines the set of media sizes that are +counted. For example, passing CUPS_MEDIA_FLAGS_BORDERLESS will return +the number of borderless sizes. + +

+

 CUPS 1.7/macOS 10.9 cupsGetDestMediaDefault

+

Get the default size for a destination.

+

+int cupsGetDestMediaDefault(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, cups_size_t *size);

+

Parameters

+ + + + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
flagsMedia flags
sizeMedia size information
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The flags parameter determines which default size is returned. For +example, passing CUPS_MEDIA_FLAGS_BORDERLESS will return the default +borderless size, typically US Letter or A4, but sometimes 4x6 photo media. + +

+

 CUPS 2.0/macOS 10.10 cupsGetDestWithURI

+

Get a destination associated with a URI.

+

+cups_dest_t *cupsGetDestWithURI(const char *name, const char *uri);

+

Parameters

+ + + + + +
nameDesired printer name or NULL
uriURI for the printer
+

Return Value

+

Destination or NULL

+

Discussion

+

"name" is the desired name for the printer. If NULL, a name will be +created using the URI.
+
+"uri" is the "ipp" or "ipps" URI for the printer. + +

+

 CUPS 1.1.21/macOS 10.4 cupsGetDests2

+

Get the list of destinations from the specified server.

+

+int cupsGetDests2(http_t *http, cups_dest_t **dests);

+

Parameters

+ + + + + +
httpConnection to server or CUPS_HTTP_DEFAULT
destsDestinations
+

Return Value

+

Number of destinations

+

Discussion

+

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", "printer-type", and "printer-uri-supported" +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 options.
+
+CUPS 2.2 adds accessible IPP printers to the list of destinations that can +be used. The "printer-uri-supported" option will be present for those IPP +printers that have been recently used.
+
+Use the cupsFreeDests function to free the destination list and +the cupsGetDest function to find a particular destination. + +

+

 CUPS 2.2.4/macOS 10.13 cupsGetIntegerOption

+

Get an integer option value.

+

+int cupsGetIntegerOption(const char *name, int num_options, cups_option_t *options);

+

Parameters

+ + + + + + + +
nameName of option
num_optionsNumber of options
optionsOptions
+

Return Value

+

Option value or INT_MIN

+

Discussion

+

INT_MIN is returned when the option does not exist, is not an integer, or +exceeds the range of values for the "int" type. + +

+

 CUPS 1.1.21/macOS 10.4 cupsGetJobs2

+

Get the jobs from the specified server.

+

+int cupsGetJobs2(http_t *http, cups_job_t **jobs, const char *name, int myjobs, int whichjobs);

+

Parameters

+ + + + + + + + + + + +
httpConnection to server or CUPS_HTTP_DEFAULT
jobsJob data
nameNULL = all destinations, otherwise show jobs for named destination
myjobs0 = all users, 1 = mine
whichjobsCUPS_WHICHJOBS_ALL, CUPS_WHICHJOBS_ACTIVE, or CUPS_WHICHJOBS_COMPLETED
+

Return Value

+

Number of jobs

+

Discussion

+

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. + +

+

 CUPS 1.4/macOS 10.6 cupsGetNamedDest

+

Get options for the named destination.

+

+cups_dest_t *cupsGetNamedDest(http_t *http, const char *name, const char *instance);

+

Parameters

+ + + + + + + +
httpConnection to server or CUPS_HTTP_DEFAULT
nameDestination name or NULL for the default destination
instanceInstance name or NULL
+

Return Value

+

Destination or NULL

+

Discussion

+

This function is optimized for retrieving a single destination and should +be used instead of cupsGetDests2 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. + +

+

cupsGetOption

+

Get an option value.

+

+const char *cupsGetOption(const char *name, int num_options, cups_option_t *options);

+

Parameters

+ + + + + + + +
nameName of option
num_optionsNumber of options
optionsOptions
+

Return Value

+

Option value or NULL

+

 CUPS 1.4/macOS 10.6 cupsGetPassword2

+

Get a password from the user using the current +password callback.

+

+const char *cupsGetPassword2(const char *prompt, http_t *http, const char *method, const char *resource);

+

Parameters

+ + + + + + + + + +
promptPrompt string
httpConnection to server or CUPS_HTTP_DEFAULT
methodRequest method ("GET", "POST", "PUT")
resourceResource path
+

Return Value

+

Password

+

Discussion

+

Uses the current password callback function. Returns NULL if the +user does not provide a password.
+
+Note: The current password callback function is tracked separately for each +thread in a program. Multi-threaded programs that override the setting via +the cupsSetPasswordCB2 function need to do so in each thread for the +same function to be used. + +

+

 CUPS 2.0/macOS 10.10 cupsLocalizeDestMedia

+

Get the localized string for a destination media +size.

+

+const char *cupsLocalizeDestMedia(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, cups_size_t *size);

+

Parameters

+ + + + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
flagsMedia flags
sizeMedia size
+

Return Value

+

Localized string

+

Discussion

+

The returned string is stored in the destination information and will become +invalid if the destination information is deleted. + +

+

 CUPS 1.6/macOS 10.8 cupsLocalizeDestOption

+

Get the localized string for a destination +option.

+

+const char *cupsLocalizeDestOption(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option);

+

Parameters

+ + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
optionOption to localize
+

Return Value

+

Localized string

+

Discussion

+

The returned string is stored in the destination information and will become +invalid if the destination information is deleted. + +

+

 CUPS 1.6/macOS 10.8 cupsLocalizeDestValue

+

Get the localized string for a destination +option+value pair.

+

+const char *cupsLocalizeDestValue(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option, const char *value);

+

Parameters

+ + + + + + + + + + + +
httpConnection to destination
destDestination
dinfoDestination information
optionOption to localize
valueValue to localize
+

Return Value

+

Localized string

+

Discussion

+

The returned string is stored in the destination information and will become +invalid if the destination information is deleted. + +

+

 CUPS 2.0/OS 10.10 cupsMakeServerCredentials

+

Make a self-signed certificate and private key pair.

+

+int cupsMakeServerCredentials(const char *path, const char *common_name, int num_alt_names, const char **alt_names, time_t expiration_date);

+

Parameters

+ + + + + + + + + + + +
pathKeychain path or NULL for default
common_nameCommon name
num_alt_namesNumber of subject alternate names
alt_namesSubject Alternate Names
expiration_dateExpiration date
+

Return Value

+

1 on success, 0 on failure

+

cupsParseOptions

+

Parse options from a command-line argument.

+

+int cupsParseOptions(const char *arg, int num_options, cups_option_t **options);

+

Parameters

+ + + + + + + +
argArgument to parse
num_optionsNumber of options
optionsOptions found
+

Return Value

+

Number of options found

+

Discussion

+

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.

+

 CUPS 1.3/macOS 10.5 cupsRemoveDest

+

Remove a destination from the destination list.

+

+int cupsRemoveDest(const char *name, const char *instance, int num_dests, cups_dest_t **dests);

+

Parameters

+ + + + + + + + + +
nameDestination name
instanceInstance name or NULL
num_destsNumber of destinations
destsDestinations
+

Return Value

+

New number of destinations

+

Discussion

+

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. + +

+

 CUPS 1.2/macOS 10.5 cupsRemoveOption

+

Remove an option from an option array.

+

+int cupsRemoveOption(const char *name, int num_options, cups_option_t **options);

+

Parameters

+ + + + + + + +
nameOption name
num_optionsCurrent number of options
optionsOptions
+

Return Value

+

New number of options

+

cupsServer

+

Return the hostname/address of the current server.

+

+const char *cupsServer(void);

+

Return Value

+

Server name

+

Discussion

+

The default server comes from the CUPS_SERVER environment variable, then the +~/.cups/client.conf file, and finally the /etc/cups/client.conf file. If not +set, the default is the local system - either "localhost" or a domain socket +path.
+
+The returned value can be a fully-qualified hostname, a numeric IPv4 or IPv6 +address, or a domain socket pathname.
+
+Note: The current server is tracked separately for each thread in a program. +Multi-threaded programs that override the server via the +cupsSetServer function need to do so in each thread for the same +server to be used.

+

 CUPS 1.5/macOS 10.7 cupsSetClientCertCB

+

Set the client certificate callback.

+

+void cupsSetClientCertCB(cups_client_cert_cb_t cb, void *user_data);

+

Parameters

+ + + + + +
cbCallback function
user_dataUser data pointer
+

Discussion

+

Pass NULL to restore the default callback.
+
+Note: The current certificate callback is tracked separately for each thread +in a program. Multi-threaded programs that override the callback need to do +so in each thread for the same callback to be used. + +

+

 CUPS 1.5/macOS 10.7 cupsSetCredentials

+

Set the default credentials to be used for SSL/TLS +connections.

+

+int cupsSetCredentials(cups_array_t *credentials);

+

Parameters

+ + + +
credentialsArray of credentials
+

Return Value

+

Status of call (0 = success)

+

Discussion

+

Note: The default credentials are tracked separately for each thread in a +program. Multi-threaded programs that override the setting need to do so in +each thread for the same setting to be used. + +

+

 CUPS 1.3/macOS 10.5 cupsSetDefaultDest

+

Set the default destination.

+

+void cupsSetDefaultDest(const char *name, const char *instance, int num_dests, cups_dest_t *dests);

+

Parameters

+ + + + + + + + + +
nameDestination name
instanceInstance name or NULL
num_destsNumber of destinations
destsDestinations
+

 CUPS 1.1.21/macOS 10.4 cupsSetDests2

+

Save the list of destinations for the specified server.

+

+int cupsSetDests2(http_t *http, int num_dests, cups_dest_t *dests);

+

Parameters

+ + + + + + + +
httpConnection to server or CUPS_HTTP_DEFAULT
num_destsNumber of destinations
destsDestinations
+

Return Value

+

0 on success, -1 on error

+

Discussion

+

This function saves the destinations to /etc/cups/lpoptions when run +as root and ~/.cups/lpoptions when run as a normal user. + +

+

cupsSetEncryption

+

Set the encryption preference.

+

+void cupsSetEncryption(http_encryption_t e);

+

Parameters

+ + + +
eNew encryption preference
+

Discussion

+

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_ENCRYPTION_IF_REQUESTED.
+
+Note: The current encryption setting is tracked separately for each thread +in a program. Multi-threaded programs that override the setting need to do +so in each thread for the same setting to be used.

+

 CUPS 1.4/macOS 10.6 cupsSetPasswordCB2

+

Set the advanced password callback for CUPS.

+

+void cupsSetPasswordCB2(cups_password_cb2_t cb, void *user_data);

+

Parameters

+ + + + + +
cbCallback function
user_dataUser data pointer
+

Discussion

+

Pass NULL to restore the default (console) password callback, which +reads the password from the console. Programs should call either this +function or cupsSetPasswordCB2, as only one callback can be registered +by a program per thread.
+
+Note: The current password callback is tracked separately for each thread +in a program. Multi-threaded programs that override the callback need to do +so in each thread for the same callback to be used. + +

+

cupsSetServer

+

Set the default server name and port.

+

+void cupsSetServer(const char *server);

+

Parameters

+ + + +
serverServer name
+

Discussion

+

The "server" string can be a fully-qualified hostname, a numeric +IPv4 or IPv6 address, or a domain socket pathname. Hostnames and numeric IP +addresses can be optionally followed by a colon and port number to override +the default port 631, e.g. "hostname:8631". Pass NULL to restore the +default server name and port.
+
+Note: The current server is tracked separately for each thread in a program. +Multi-threaded programs that override the server need to do so in each +thread for the same server to be used.

+

 CUPS 1.5/macOS 10.7 cupsSetServerCertCB

+

Set the server certificate callback.

+

+void cupsSetServerCertCB(cups_server_cert_cb_t cb, void *user_data);

+

Parameters

+ + + + + +
cbCallback function
user_dataUser data pointer
+

Discussion

+

Pass NULL to restore the default callback.
+
+Note: The current credentials callback is tracked separately for each thread +in a program. Multi-threaded programs that override the callback need to do +so in each thread for the same callback to be used. + +

+

 CUPS 2.0/macOS 10.10 cupsSetServerCredentials

+

Set the default server credentials.

+

+int cupsSetServerCredentials(const char *path, const char *common_name, int auto_create);

+

Parameters

+ + + + + + + +
pathKeychain path or NULL for default
common_nameDefault common name for server
auto_create1 = automatically create self-signed certificates
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

Note: The server credentials are used by all threads in the running process. +This function is threadsafe. + +

+

cupsSetUser

+

Set the default user name.

+

+void cupsSetUser(const char *user);

+

Parameters

+ + + +
userUser name
+

Discussion

+

Pass NULL to restore the default user name.
+
+Note: The current user name is tracked separately for each thread in a +program. Multi-threaded programs that override the user name need to do so +in each thread for the same user name to be used.

+

 CUPS 1.7/macOS 10.9 cupsSetUserAgent

+

Set the default HTTP User-Agent string.

+

+void cupsSetUserAgent(const char *user_agent);

+

Parameters

+ + + +
user_agentUser-Agent string or NULL
+

Discussion

+

Setting the string to NULL forces the default value containing the CUPS +version, IPP version, and operating system version and architecture. + +

+

 CUPS 1.6/macOS 10.8 cupsStartDestDocument

+

Start a new document.

+

+http_status_t cupsStartDestDocument(http_t *http, cups_dest_t *dest, cups_dinfo_t *info, int job_id, const char *docname, const char *format, int num_options, cups_option_t *options, int last_document);

+

Parameters

+ + + + + + + + + + + + + + + + + + + +
httpConnection to destination
destDestination
infoDestination information
job_idJob ID
docnameDocument name
formatDocument format
num_optionsNumber of document options
optionsDocument options
last_document1 if this is the last document
+

Return Value

+

Status of document creation

+

Discussion

+

"job_id" is the job ID returned by cupsCreateDestJob. "docname" is the name +of the document/file being printed, "format" is the MIME media type for the +document (see CUPS_FORMAT_xxx constants), and "num_options" and "options" +are the options do be applied to the document. "last_document" should be 1 +if this is the last document to be submitted in the job. Returns +HTTP_CONTINUE on success. + +

+

cupsUser

+

Return the current user's name.

+

+const char *cupsUser(void);

+

Return Value

+

User name

+

Discussion

+

Note: The current user name is tracked separately for each thread in a +program. Multi-threaded programs that override the user name with the +cupsSetUser function need to do so in each thread for the same user +name to be used.

+

 CUPS 1.7/macOS 10.9 cupsUserAgent

+

Return the default HTTP User-Agent string.

+

+const char *cupsUserAgent(void);

+

Return Value

+

User-Agent string

+

 CUPS 1.7/macOS 10.9 httpAcceptConnection

+

Accept a new HTTP client connection from the +specified listening socket.

+

+http_t *httpAcceptConnection(int fd, int blocking);

+

Parameters

+ + + + + +
fdListen socket file descriptor
blocking1 if the connection should be +blocking, 0 otherwise
+

Return Value

+

HTTP connection or NULL

+

 CUPS 1.5/macOS 10.7 httpAddCredential

+

Allocates and adds a single credential to an array.

+

+int httpAddCredential(cups_array_t *credentials, const void *data, size_t datalen);

+

Parameters

+ + + + + + + +
credentialsCredentials array
dataPEM-encoded X.509 data
datalenLength of data
+

Return Value

+

0 on success, -1 on error

+

Discussion

+

Use cupsArrayNew(NULL, NULL) to create a credentials array. + +

+

 CUPS 1.2/macOS 10.5 httpAddrAny

+

Check for the "any" address.

+

+int httpAddrAny(const http_addr_t *addr);

+

Parameters

+ + + +
addrAddress to check
+

Return Value

+

1 if "any", 0 otherwise

+

 CUPS 2.0/OS 10.10 httpAddrClose

+

Close a socket created by httpAddrConnect or +httpAddrListen.

+

+int httpAddrClose(http_addr_t *addr, int fd);

+

Parameters

+ + + + + +
addrListen address or NULL
fdSocket file descriptor
+

Return Value

+

0 on success, -1 on failure

+

Discussion

+

Pass NULL for sockets created with httpAddrConnect2 and the +listen address for sockets created with httpAddrListen. This function +ensures that domain sockets are removed when closed. + +

+

 CUPS 1.7/macOS 10.9 httpAddrConnect2

+

Connect to any of the addresses in the list with a +timeout and optional cancel.

+

+http_addrlist_t *httpAddrConnect2(http_addrlist_t *addrlist, int *sock, int msec, int *cancel);

+

Parameters

+ + + + + + + + + +
addrlistList of potential addresses
sockSocket
msecTimeout in milliseconds
cancelPointer to "cancel" variable
+

Return Value

+

Connected address or NULL on failure

+

 CUPS 1.7/macOS 10.9 httpAddrCopyList

+

Copy an address list.

+

+http_addrlist_t *httpAddrCopyList(http_addrlist_t *src);

+

Parameters

+ + + +
srcSource address list
+

Return Value

+

New address list or NULL on error

+

 CUPS 1.2/macOS 10.5 httpAddrEqual

+

Compare two addresses.

+

+int httpAddrEqual(const http_addr_t *addr1, const http_addr_t *addr2);

+

Parameters

+ + + + + +
addr1First address
addr2Second address
+

Return Value

+

1 if equal, 0 if not

+

httpAddrFamily

+

Get the address family of an address.

+

+int httpAddrFamily(http_addr_t *addr);

+

Parameters

+ + + +
addrAddress
+

Return Value

+

Address family

+

 CUPS 1.2/macOS 10.5 httpAddrFreeList

+

Free an address list.

+

+void httpAddrFreeList(http_addrlist_t *addrlist);

+

Parameters

+ + + +
addrlistAddress list to free
+

 CUPS 1.2/macOS 10.5 httpAddrGetList

+

Get a list of addresses for a hostname.

+

+http_addrlist_t *httpAddrGetList(const char *hostname, int family, const char *service);

+

Parameters

+ + + + + + + +
hostnameHostname, IP address, or NULL for passive listen address
familyAddress family or AF_UNSPEC
serviceService name or port number
+

Return Value

+

List of addresses or NULL

+

 CUPS 1.2/macOS 10.5 httpAddrLength

+

Return the length of the address in bytes.

+

+int httpAddrLength(const http_addr_t *addr);

+

Parameters

+ + + +
addrAddress
+

Return Value

+

Length in bytes

+

 CUPS 1.7/macOS 10.9 httpAddrListen

+

Create a listening socket bound to the specified +address and port.

+

+int httpAddrListen(http_addr_t *addr, int port);

+

Parameters

+ + + + + +
addrAddress to bind to
portPort number to bind to
+

Return Value

+

Socket or -1 on error

+

 CUPS 1.2/macOS 10.5 httpAddrLocalhost

+

Check for the local loopback address.

+

+int httpAddrLocalhost(const http_addr_t *addr);

+

Parameters

+ + + +
addrAddress to check
+

Return Value

+

1 if local host, 0 otherwise

+

 CUPS 1.2/macOS 10.5 httpAddrLookup

+

Lookup the hostname associated with the address.

+

+char *httpAddrLookup(const http_addr_t *addr, char *name, int namelen);

+

Parameters

+ + + + + + + +
addrAddress to lookup
nameHost name buffer
namelenSize of name buffer
+

Return Value

+

Host name

+

 CUPS 1.7/macOS 10.9 httpAddrPort

+

Get the port number associated with an address.

+

+int httpAddrPort(http_addr_t *addr);

+

Parameters

+ + + +
addrAddress
+

Return Value

+

Port number

+

 CUPS 1.2/macOS 10.5 httpAddrString

+

Convert an address to a numeric string.

+

+char *httpAddrString(const http_addr_t *addr, char *s, int slen);

+

Parameters

+ + + + + + + +
addrAddress to convert
sString buffer
slenLength of string
+

Return Value

+

Numeric address string

+

 CUPS 1.2/macOS 10.5 httpAssembleURI

+

Assemble a uniform resource identifier from its +components.

+

+http_uri_status_t httpAssembleURI(http_uri_coding_t encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resource);

+

Parameters

+ + + + + + + + + + + + + + + + + +
encodingEncoding flags
uriURI buffer
urilenSize of URI buffer
schemeScheme name
usernameUsername
hostHostname or address
portPort number
resourceResource
+

Return Value

+

URI status

+

Discussion

+

This function escapes reserved characters in the URI depending on the +value of the "encoding" argument. You should use this function in +place of traditional string functions whenever you need to create a +URI string. + +

+

 CUPS 1.2/macOS 10.5 httpAssembleURIf

+

Assemble a uniform resource identifier from its +components with a formatted resource.

+

+http_uri_status_t httpAssembleURIf(http_uri_coding_t encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resourcef, ...);

+

Parameters

+ + + + + + + + + + + + + + + + + + + +
encodingEncoding flags
uriURI buffer
urilenSize of URI buffer
schemeScheme name
usernameUsername
hostHostname or address
portPort number
resourcefPrintf-style resource
...Additional arguments as needed
+

Return Value

+

URI status

+

Discussion

+

This function creates a formatted version of the resource string +argument "resourcef" and escapes reserved characters in the URI +depending on the value of the "encoding" argument. You should use +this function in place of traditional string functions whenever +you need to create a URI string. + +

+

 CUPS 1.7/macOS 10.9 httpAssembleUUID

+

Assemble a name-based UUID URN conforming to RFC 4122.

+

+char *httpAssembleUUID(const char *server, int port, const char *name, int number, char *buffer, size_t bufsize);

+

Parameters

+ + + + + + + + + + + + + +
serverServer name
portPort number
nameObject name or NULL
numberObject number or 0
bufferString buffer
bufsizeSize of buffer
+

Return Value

+

UUID string

+

Discussion

+

This function creates a unique 128-bit identifying number using the server +name, port number, random data, and optionally an object name and/or object +number. The result is formatted as a UUID URN as defined in RFC 4122.
+
+The buffer needs to be at least 46 bytes in size. + +

+

httpBlocking

+

Set blocking/non-blocking behavior on a connection.

+

+void httpBlocking(http_t *http, int b);

+

Parameters

+ + + + + +
httpHTTP connection
b1 = blocking, 0 = non-blocking
+

httpCheck

+

Check to see if there is a pending response from the server.

+

+int httpCheck(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

0 = no data, 1 = data available

+

 CUPS 1.1.19/macOS 10.3 httpClearCookie

+

Clear the cookie value(s).

+

+void httpClearCookie(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

httpClearFields

+

Clear HTTP request fields.

+

+void httpClearFields(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

httpClose

+

Close an HTTP connection.

+

+void httpClose(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

 CUPS 2.0/OS 10.10 httpCompareCredentials

+

Compare two sets of X.509 credentials.

+

+int httpCompareCredentials(cups_array_t *cred1, cups_array_t *cred2);

+

Parameters

+ + + + + +
cred1First set of X.509 credentials
cred2Second set of X.509 credentials
+

Return Value

+

1 if they match, 0 if they do not

+

 CUPS 1.7/macOS 10.9 httpConnect2

+

Connect to a HTTP server.

+

+http_t *httpConnect2(const char *host, int port, http_addrlist_t *addrlist, int family, http_encryption_t encryption, int blocking, int msec, int *cancel);

+

Parameters

+ + + + + + + + + + + + + + + + + +
hostHost to connect to
portPort number
addrlistList of addresses or NULL to lookup
familyAddress family to use or AF_UNSPEC for any
encryptionType of encryption to use
blocking1 for blocking connection, 0 for non-blocking
msecConnection timeout in milliseconds, 0 means don't connect
cancelPointer to "cancel" variable
+

Return Value

+

New HTTP connection

+

 CUPS 1.5/macOS 10.7 httpCopyCredentials

+

Copy the credentials associated with the peer in +an encrypted connection.

+

+int httpCopyCredentials(http_t *http, cups_array_t **credentials);

+

Parameters

+ + + + + +
httpConnection to server
credentialsArray of credentials
+

Return Value

+

Status of call (0 = success)

+

 CUPS 2.0/macOS 10.10 httpCredentialsAreValidForName

+

Return whether the credentials are valid for the given name.

+

+int httpCredentialsAreValidForName(cups_array_t *credentials, const char *common_name);

+

Parameters

+ + + + + +
credentialsCredentials
common_nameName to check
+

Return Value

+

1 if valid, 0 otherwise

+

 CUPS 2.0/macOS 10.10 httpCredentialsGetExpiration

+

Return the expiration date of the credentials.

+

+time_t httpCredentialsGetExpiration(cups_array_t *credentials);

+

Parameters

+ + + +
credentialsCredentials
+

Return Value

+

Expiration date of credentials

+

 CUPS 2.0/macOS 10.10 httpCredentialsGetTrust

+

Return the trust of credentials.

+

+http_trust_t httpCredentialsGetTrust(cups_array_t *credentials, const char *common_name);

+

Parameters

+ + + + + +
credentialsCredentials
common_nameCommon name for trust lookup
+

Return Value

+

Level of trust

+

 CUPS 2.0/macOS 10.10 httpCredentialsString

+

Return a string representing the credentials.

+

+size_t httpCredentialsString(cups_array_t *credentials, char *buffer, size_t bufsize);

+

Parameters

+ + + + + + + +
credentialsCredentials
bufferBuffer or NULL
bufsizeSize of buffer
+

Return Value

+

Total size of credentials string

+

 CUPS 1.1.21/macOS 10.4 httpDecode64_2

+

Base64-decode a string.

+

+char *httpDecode64_2(char *out, int *outlen, const char *in);

+

Parameters

+ + + + + + + +
outString to write to
outlenSize of output string
inString to read from
+

Return Value

+

Decoded string

+

Discussion

+

The caller must initialize "outlen" to the maximum size of the decoded +string before calling httpDecode64_2. On return "outlen" contains the +decoded length of the string. + +

+

httpDelete

+

Send a DELETE request to the server.

+

+int httpDelete(http_t *http, const char *uri);

+

Parameters

+ + + + + +
httpHTTP connection
uriURI to delete
+

Return Value

+

Status of call (0 = success)

+

 CUPS 1.1.21/macOS 10.4 httpEncode64_2

+

Base64-encode a string.

+

+char *httpEncode64_2(char *out, int outlen, const char *in, int inlen);

+

Parameters

+ + + + + + + + + +
outString to write to
outlenMaximum size of output string
inString to read from
inlenSize of input string
+

Return Value

+

Encoded string

+

httpEncryption

+

Set the required encryption on the link.

+

+int httpEncryption(http_t *http, http_encryption_t e);

+

Parameters

+ + + + + +
httpHTTP connection
eNew encryption preference
+

Return Value

+

-1 on error, 0 on success

+

httpError

+

Get the last error on a connection.

+

+int httpError(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Error code (errno) value

+

httpFieldValue

+

Return the HTTP field enumeration value for a field +name.

+

+http_field_t httpFieldValue(const char *name);

+

Parameters

+ + + +
nameString name
+

Return Value

+

Field index

+

httpFlush

+

Flush data read from a HTTP connection.

+

+void httpFlush(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

 CUPS 1.2/macOS 10.5 httpFlushWrite

+

Flush data written to a HTTP connection.

+

+int httpFlushWrite(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Bytes written or -1 on error

+

httpFreeCredentials

+

Free an array of credentials.

+

+void httpFreeCredentials(cups_array_t *credentials);

+

Parameters

+ + + +
credentialsArray of credentials
+

httpGet

+

Send a GET request to the server.

+

+int httpGet(http_t *http, const char *uri);

+

Parameters

+ + + + + +
httpHTTP connection
uriURI to get
+

Return Value

+

Status of call (0 = success)

+

 CUPS 2.0/OS 10.10 httpGetActivity

+

Get the most recent activity for a connection.

+

+time_t httpGetActivity(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Time of last read or write

+

Discussion

+

The return value is the time in seconds of the last read or write. + +

+

 CUPS 2.0/OS 10.10 httpGetAddress

+

Get the address of the connected peer of a connection.

+

+http_addr_t *httpGetAddress(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Connected address or NULL

+

Discussion

+

For connections created with httpConnect2, the address is for the +server. For connections created with httpAccept, the address is for +the client.
+
+Returns NULL if the socket is currently unconnected. + +

+

 CUPS 1.3/macOS 10.5 httpGetAuthString

+

Get the current authorization string.

+

+char *httpGetAuthString(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Authorization string

+

Discussion

+

The authorization string is set by cupsDoAuthentication and +httpSetAuthString. Use httpGetAuthString to retrieve the +string to use with httpSetField for the +HTTP_FIELD_AUTHORIZATION value. + +

+

 CUPS 1.2/macOS 10.5 httpGetBlocking

+

Get the blocking/non-block state of a connection.

+

+int httpGetBlocking(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

1 if blocking, 0 if non-blocking

+

 CUPS 1.7/macOS 10.9 httpGetContentEncoding

+

Get a common content encoding, if any, between +the client and server.

+

+const char *httpGetContentEncoding(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Content-Coding value or +NULL for the identity +coding.

+

Discussion

+

This function uses the value of the Accepts-Encoding HTTP header and must be +called after receiving a response from the server or a request from the +client. The value returned can be use in subsequent requests (for clients) +or in the response (for servers) in order to compress the content stream. + +

+

 CUPS 1.1.19/macOS 10.3 httpGetCookie

+

Get any cookie data from the response.

+

+const char *httpGetCookie(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Cookie data or NULL

+

 CUPS 1.2/macOS 10.5 httpGetDateString2

+

Get a formatted date/time string from a time value.

+

+const char *httpGetDateString2(time_t t, char *s, int slen);

+

Parameters

+ + + + + + + +
tTime in seconds
sString buffer
slenSize of string buffer
+

Return Value

+

Date/time string

+

httpGetDateTime

+

Get a time value from a formatted date/time string.

+

+time_t httpGetDateTime(const char *s);

+

Parameters

+ + + +
sDate/time string
+

Return Value

+

Time in seconds

+

 CUPS 2.0/OS 10.10 httpGetEncryption

+

Get the current encryption mode of a connection.

+

+http_encryption_t httpGetEncryption(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Current encryption mode

+

Discussion

+

This function returns the encryption mode for the connection. Use the +httpIsEncrypted function to determine whether a TLS session has +been established. + +

+

 CUPS 1.7/macOS 10.9 httpGetExpect

+

Get the value of the Expect header, if any.

+

+http_status_t httpGetExpect(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Expect: status, if any

+

Discussion

+

Returns HTTP_STATUS_NONE if there is no Expect header, otherwise +returns the expected HTTP status code, typically HTTP_STATUS_CONTINUE. + +

+

 CUPS 1.2/macOS 10.5 httpGetFd

+

Get the file descriptor associated with a connection.

+

+int httpGetFd(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

File descriptor or -1 if none

+

httpGetField

+

Get a field value from a request/response.

+

+const char *httpGetField(http_t *http, http_field_t field);

+

Parameters

+ + + + + +
httpHTTP connection
fieldField to get
+

Return Value

+

Field value

+

 CUPS 1.2/macOS 10.5 httpGetHostname

+

Get the FQDN for the connection or local system.

+

+const char *httpGetHostname(http_t *http, char *s, int slen);

+

Parameters

+ + + + + + + +
httpHTTP connection or NULL
sString buffer for name
slenSize of buffer
+

Return Value

+

FQDN for connection or system

+

Discussion

+

When "http" points to a connected socket, return the hostname or +address that was used in the call to httpConnect() or httpConnectEncrypt(), +or the address of the client for the connection from httpAcceptConnection(). +Otherwise, return the FQDN for the local system using both gethostname() +and gethostbyname() to get the local hostname with domain. + +

+

 CUPS 2.0/OS 10.10 httpGetKeepAlive

+

Get the current Keep-Alive state of the connection.

+

+http_keepalive_t httpGetKeepAlive(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Keep-Alive state

+

 CUPS 1.2/macOS 10.5 httpGetLength2

+

Get the amount of data remaining from the +content-length or transfer-encoding fields.

+

+off_t httpGetLength2(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Content length

+

Discussion

+

This function returns the complete content length, even for +content larger than 2^31 - 1. + +

+

 CUPS 2.0/OS 10.10 httpGetPending

+

Get the number of bytes that are buffered for writing.

+

+size_t httpGetPending(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Number of bytes buffered

+

 CUPS 2.0/OS 10.10 httpGetReady

+

Get the number of bytes that can be read without blocking.

+

+size_t httpGetReady(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Number of bytes available

+

 CUPS 2.0/OS 10.10 httpGetRemaining

+

Get the number of remaining bytes in the message +body or current chunk.

+

+size_t httpGetRemaining(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Remaining bytes

+

Discussion

+

The httpIsChunked function can be used to determine whether the +message body is chunked or fixed-length. + +

+

httpGetState

+

Get the current state of the HTTP request.

+

+http_state_t httpGetState(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

HTTP state

+

 CUPS 1.2/macOS 10.5 httpGetStatus

+

Get the status of the last HTTP request.

+

+http_status_t httpGetStatus(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

HTTP status

+

 CUPS 1.2/macOS 10.5 httpGetSubField2

+

Get a sub-field value.

+

+char *httpGetSubField2(http_t *http, http_field_t field, const char *name, char *value, int valuelen);

+

Parameters

+ + + + + + + + + + + +
httpHTTP connection
fieldField index
nameName of sub-field
valueValue string
valuelenSize of value buffer
+

Return Value

+

Value or NULL

+

httpGetVersion

+

Get the HTTP version at the other end.

+

+http_version_t httpGetVersion(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

Version number

+

httpGets

+

Get a line of text from a HTTP connection.

+

+char *httpGets(char *line, int length, http_t *http);

+

Parameters

+ + + + + + + +
lineLine to read into
lengthMax length of buffer
httpHTTP connection
+

Return Value

+

Line or NULL

+

httpHead

+

Send a HEAD request to the server.

+

+int httpHead(http_t *http, const char *uri);

+

Parameters

+ + + + + +
httpHTTP connection
uriURI for head
+

Return Value

+

Status of call (0 = success)

+

httpInitialize

+

Initialize the HTTP interface library and set the +default HTTP proxy (if any).

+

+void httpInitialize(void);

+

 CUPS 2.0/OS 10.10 httpIsChunked

+

Report whether a message body is chunked.

+

+int httpIsChunked(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

1 if chunked, 0 if not

+

Discussion

+

This function returns non-zero if the message body is composed of +variable-length chunks. + +

+

 CUPS 2.0/OS 10.10 httpIsEncrypted

+

Report whether a connection is encrypted.

+

+int httpIsEncrypted(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

1 if encrypted, 0 if not

+

Discussion

+

This function returns non-zero if the connection is currently encrypted. + +

+

 CUPS 2.0/OS 10.10 httpLoadCredentials

+

Load X.509 credentials from a keychain file.

+

+int httpLoadCredentials(const char *path, cups_array_t **credentials, const char *common_name);

+

Parameters

+ + + + + + + +
pathKeychain path or NULL for default
credentialsCredentials
common_nameCommon name for credentials
+

Return Value

+

0 on success, -1 on error

+

httpOptions

+

Send an OPTIONS request to the server.

+

+int httpOptions(http_t *http, const char *uri);

+

Parameters

+ + + + + +
httpHTTP connection
uriURI for options
+

Return Value

+

Status of call (0 = success)

+

 CUPS 1.7/macOS 10.9 httpPeek

+

Peek at data from a HTTP connection.

+

+ssize_t httpPeek(http_t *http, char *buffer, size_t length);

+

Parameters

+ + + + + + + +
httpHTTP connection
bufferBuffer for data
lengthMaximum number of bytes
+

Return Value

+

Number of bytes copied

+

Discussion

+

This function copies available data from the given HTTP connection, reading +a buffer as needed. The data is still available for reading using +httpRead2.
+
+For non-blocking connections the usual timeouts apply. + +

+

httpPost

+

Send a POST request to the server.

+

+int httpPost(http_t *http, const char *uri);

+

Parameters

+ + + + + +
httpHTTP connection
uriURI for post
+

Return Value

+

Status of call (0 = success)

+

httpPut

+

Send a PUT request to the server.

+

+int httpPut(http_t *http, const char *uri);

+

Parameters

+ + + + + +
httpHTTP connection
uriURI to put
+

Return Value

+

Status of call (0 = success)

+

 CUPS 1.2/macOS 10.5 httpRead2

+

Read data from a HTTP connection.

+

+ssize_t httpRead2(http_t *http, char *buffer, size_t length);

+

Parameters

+ + + + + + + +
httpHTTP connection
bufferBuffer for data
lengthMaximum number of bytes
+

Return Value

+

Number of bytes read

+

 CUPS 1.7/macOS 10.9 httpReadRequest

+

Read a HTTP request from a connection.

+

+http_state_t httpReadRequest(http_t *http, char *uri, size_t urilen);

+

Parameters

+ + + + + + + +
httpHTTP connection
uriURI buffer
urilenSize of URI buffer
+

Return Value

+

New state of connection

+

httpReconnect2

+

Reconnect to a HTTP server with timeout and optional +cancel.

+

+int httpReconnect2(http_t *http, int msec, int *cancel);

+

Parameters

+ + + + + + + +
httpHTTP connection
msecTimeout in milliseconds
cancelPointer to "cancel" variable
+

Return Value

+

0 on success, non-zero on failure

+

 CUPS 2.0/OS 10.10 httpResolveHostname

+

Resolve the hostname of the HTTP connection +address.

+

+const char *httpResolveHostname(http_t *http, char *buffer, size_t bufsize);

+

Parameters

+ + + + + + + +
httpHTTP connection
bufferHostname buffer
bufsizeSize of buffer
+

Return Value

+

Resolved hostname or NULL

+

 CUPS 2.0/OS 10.10 httpSaveCredentials

+

Save X.509 credentials to a keychain file.

+

+int httpSaveCredentials(const char *path, cups_array_t *credentials, const char *common_name);

+

Parameters

+ + + + + + + +
pathKeychain path or NULL for default
credentialsCredentials
common_nameCommon name for credentials
+

Return Value

+

-1 on error, 0 on success

+

 CUPS 1.2/macOS 10.5 httpSeparateURI

+

Separate a Universal Resource Identifier into its +components.

+

+http_uri_status_t httpSeparateURI(http_uri_coding_t decoding, const char *uri, char *scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen);

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
decodingDecoding flags
uriUniversal Resource Identifier
schemeScheme (http, https, etc.)
schemelenSize of scheme buffer
usernameUsername
usernamelenSize of username buffer
hostHostname
hostlenSize of hostname buffer
portPort number to use
resourceResource/filename
resourcelenSize of resource buffer
+

Return Value

+

Result of separation

+

 CUPS 1.3/macOS 10.5 httpSetAuthString

+

Set the current authorization string.

+

+void httpSetAuthString(http_t *http, const char *scheme, const char *data);

+

Parameters

+ + + + + + + +
httpHTTP connection
schemeAuth scheme (NULL to clear it)
dataAuth data (NULL for none)
+

Discussion

+

This function just stores a copy of the current authorization string in +the HTTP connection object. You must still call httpSetField to set +HTTP_FIELD_AUTHORIZATION prior to issuing a HTTP request using +httpGet, httpHead, httpOptions, httpPost, or +httpPut. + +

+

 CUPS 1.1.19/macOS 10.3 httpSetCookie

+

Set the cookie value(s).

+

+void httpSetCookie(http_t *http, const char *cookie);

+

Parameters

+ + + + + +
httpConnection
cookieCookie string
+

 CUPS 1.5/macOS 10.7 httpSetCredentials

+

Set the credentials associated with an encrypted +connection.

+

+int httpSetCredentials(http_t *http, cups_array_t *credentials);

+

Parameters

+ + + + + +
httpHTTP connection
credentialsArray of credentials
+

Return Value

+

Status of call (0 = success)

+

 CUPS 1.7/macOS 10.9 httpSetDefaultField

+

Set the default value of an HTTP header.

+

+void httpSetDefaultField(http_t *http, http_field_t field, const char *value);

+

Parameters

+ + + + + + + +
httpHTTP connection
fieldField index
valueValue
+

Discussion

+

Currently only HTTP_FIELD_ACCEPT_ENCODING, HTTP_FIELD_SERVER, +and HTTP_FIELD_USER_AGENT can be set. + +

+

 CUPS 1.2/macOS 10.5 httpSetExpect

+

Set the Expect: header in a request.

+

+void httpSetExpect(http_t *http, http_status_t expect);

+

Parameters

+ + + + + +
httpHTTP connection
expectHTTP status to expect +(HTTP_STATUS_CONTINUE)
+

Discussion

+

Currently only HTTP_STATUS_CONTINUE is supported for the "expect" +argument. + +

+

httpSetField

+

Set the value of an HTTP header.

+

+void httpSetField(http_t *http, http_field_t field, const char *value);

+

Parameters

+ + + + + + + +
httpHTTP connection
fieldField index
valueValue
+

 CUPS 2.0/OS 10.10 httpSetKeepAlive

+

Set the current Keep-Alive state of a connection.

+

+void httpSetKeepAlive(http_t *http, http_keepalive_t keep_alive);

+

Parameters

+ + + + + +
httpHTTP connection
keep_aliveNew Keep-Alive value
+

 CUPS 1.2/macOS 10.5 httpSetLength

+

Set the content-length and content-encoding.

+

+void httpSetLength(http_t *http, size_t length);

+

Parameters

+ + + + + +
httpHTTP connection
lengthLength (0 for chunked)
+

 CUPS 1.5/macOS 10.7 httpSetTimeout

+

Set read/write timeouts and an optional callback.

+

+void httpSetTimeout(http_t *http, double timeout, http_timeout_cb_t cb, void *user_data);

+

Parameters

+ + + + + + + + + +
httpHTTP connection
timeoutNumber of seconds for timeout, +must be greater than 0
cbCallback function or NULL
user_dataUser data pointer
+

Discussion

+

The optional timeout callback receives both the HTTP connection and a user +data pointer and must return 1 to continue or 0 to error (time) out. + +

+

 CUPS 2.0/OS 10.10 httpShutdown

+

Shutdown one side of an HTTP connection.

+

+void httpShutdown(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

 CUPS 2.0/OS 10.10 httpStateString

+

Return the string describing a HTTP state value.

+

+const char *httpStateString(http_state_t state);

+

Parameters

+ + + +
stateHTTP state value
+

Return Value

+

State string

+

httpStatus

+

Return a short string describing a HTTP status code.

+

+const char *httpStatus(http_status_t status);

+

Parameters

+ + + +
statusHTTP status code
+

Return Value

+

Localized status string

+

Discussion

+

The returned string is localized to the current POSIX locale and is based +on the status strings defined in RFC 7231.

+

 CUPS 2.0/OS 10.10 httpURIStatusString

+

Return a string describing a URI status code.

+

+const char *httpURIStatusString(http_uri_status_t status);

+

Parameters

+ + + +
statusURI status code
+

Return Value

+

Localized status string

+

httpUpdate

+

Update the current HTTP state for incoming data.

+

+http_status_t httpUpdate(http_t *http);

+

Parameters

+ + + +
httpHTTP connection
+

Return Value

+

HTTP status

+

 CUPS 1.1.19/macOS 10.3 httpWait

+

Wait for data available on a connection.

+

+int httpWait(http_t *http, int msec);

+

Parameters

+ + + + + +
httpHTTP connection
msecMilliseconds to wait
+

Return Value

+

1 if data is available, 0 otherwise

+

 CUPS 1.2/macOS 10.5 httpWrite2

+

Write data to a HTTP connection.

+

+ssize_t httpWrite2(http_t *http, const char *buffer, size_t length);

+

Parameters

+ + + + + + + +
httpHTTP connection
bufferBuffer for data
lengthNumber of bytes to write
+

Return Value

+

Number of bytes written

+

 CUPS 1.7/macOS 10.9 httpWriteResponse

+

Write a HTTP response to a client connection.

+

+int httpWriteResponse(http_t *http, http_status_t status);

+

Parameters

+ + + + + +
httpHTTP connection
statusStatus code
+

Return Value

+

0 on success, -1 on error

+

ippAddBoolean

+

Add a boolean attribute to an IPP message.

+

+ipp_attribute_t *ippAddBoolean(ipp_t *ipp, ipp_tag_t group, const char *name, char value);

+

Parameters

+ + + + + + + + + +
ippIPP message
groupIPP group
nameName of attribute
valueValue of attribute
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP).

+

ippAddBooleans

+

Add an array of boolean values.

+

+ipp_attribute_t *ippAddBooleans(ipp_t *ipp, ipp_tag_t group, const char *name, int num_values, const char *values);

+

Parameters

+ + + + + + + + + + + +
ippIPP message
groupIPP group
nameName of attribute
num_valuesNumber of values
valuesValues
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP).

+

 CUPS 1.1.19/macOS 10.3 ippAddCollection

+

Add a collection value.

+

+ipp_attribute_t *ippAddCollection(ipp_t *ipp, ipp_tag_t group, const char *name, ipp_t *value);

+

Parameters

+ + + + + + + + + +
ippIPP message
groupIPP group
nameName of attribute
valueValue
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP). + +

+

 CUPS 1.1.19/macOS 10.3 ippAddCollections

+

Add an array of collection values.

+

+ipp_attribute_t *ippAddCollections(ipp_t *ipp, ipp_tag_t group, const char *name, int num_values, const ipp_t **values);

+

Parameters

+ + + + + + + + + + + +
ippIPP message
groupIPP group
nameName of attribute
num_valuesNumber of values
valuesValues
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP). + +

+

ippAddDate

+

Add a dateTime attribute to an IPP message.

+

+ipp_attribute_t *ippAddDate(ipp_t *ipp, ipp_tag_t group, const char *name, const ipp_uchar_t *value);

+

Parameters

+ + + + + + + + + +
ippIPP message
groupIPP group
nameName of attribute
valueValue
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP).

+

ippAddInteger

+

Add a integer attribute to an IPP message.

+

+ipp_attribute_t *ippAddInteger(ipp_t *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name, int value);

+

Parameters

+ + + + + + + + + + + +
ippIPP message
groupIPP group
value_tagType of attribute
nameName of attribute
valueValue of attribute
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP).
+
+Supported values include enum (IPP_TAG_ENUM) and integer +(IPP_TAG_INTEGER).

+

ippAddIntegers

+

Add an array of integer values.

+

+ipp_attribute_t *ippAddIntegers(ipp_t *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name, int num_values, const int *values);

+

Parameters

+ + + + + + + + + + + + + +
ippIPP message
groupIPP group
value_tagType of attribute
nameName of attribute
num_valuesNumber of values
valuesValues
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP).
+
+Supported values include enum (IPP_TAG_ENUM) and integer +(IPP_TAG_INTEGER).

+

 CUPS 1.2/macOS 10.5 ippAddOctetString

+

Add an octetString value to an IPP message.

+

+ipp_attribute_t *ippAddOctetString(ipp_t *ipp, ipp_tag_t group, const char *name, const void *data, int datalen);

+

Parameters

+ + + + + + + + + + + +
ippIPP message
groupIPP group
nameName of attribute
dataoctetString data
datalenLength of data in bytes
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP). + +

+

 CUPS 1.6/macOS 10.8 ippAddOutOfBand

+

Add an out-of-band value to an IPP message.

+

+ipp_attribute_t *ippAddOutOfBand(ipp_t *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name);

+

Parameters

+ + + + + + + + + +
ippIPP message
groupIPP group
value_tagType of attribute
nameName of attribute
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP).
+
+Supported out-of-band values include unsupported-value +(IPP_TAG_UNSUPPORTED_VALUE), default (IPP_TAG_DEFAULT), unknown +(IPP_TAG_UNKNOWN), no-value (IPP_TAG_NOVALUE), not-settable +(IPP_TAG_NOTSETTABLE), delete-attribute (IPP_TAG_DELETEATTR), and +admin-define (IPP_TAG_ADMINDEFINE). + +

+

ippAddRange

+

Add a range of values to an IPP message.

+

+ipp_attribute_t *ippAddRange(ipp_t *ipp, ipp_tag_t group, const char *name, int lower, int upper);

+

Parameters

+ + + + + + + + + + + +
ippIPP message
groupIPP group
nameName of attribute
lowerLower value
upperUpper value
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP).
+
+The lower parameter must be less than or equal to the upper parameter.

+

ippAddRanges

+

Add ranges of values to an IPP message.

+

+ipp_attribute_t *ippAddRanges(ipp_t *ipp, ipp_tag_t group, const char *name, int num_values, const int *lower, const int *upper);

+

Parameters

+ + + + + + + + + + + + + +
ippIPP message
groupIPP group
nameName of attribute
num_valuesNumber of values
lowerLower values
upperUpper values
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP).

+

ippAddResolution

+

Add a resolution value to an IPP message.

+

+ipp_attribute_t *ippAddResolution(ipp_t *ipp, ipp_tag_t group, const char *name, ipp_res_t units, int xres, int yres);

+

Parameters

+ + + + + + + + + + + + + +
ippIPP message
groupIPP group
nameName of attribute
unitsUnits for resolution
xresX resolution
yresY resolution
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP).

+

ippAddResolutions

+

Add resolution values to an IPP message.

+

+ipp_attribute_t *ippAddResolutions(ipp_t *ipp, ipp_tag_t group, const char *name, int num_values, ipp_res_t units, const int *xres, const int *yres);

+

Parameters

+ + + + + + + + + + + + + + + +
ippIPP message
groupIPP group
nameName of attribute
num_valuesNumber of values
unitsUnits for resolution
xresX resolutions
yresY resolutions
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP).

+

ippAddSeparator

+

Add a group separator to an IPP message.

+

+ipp_attribute_t *ippAddSeparator(ipp_t *ipp);

+

Parameters

+ + + +
ippIPP message
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.

+

ippAddString

+

Add a language-encoded string to an IPP message.

+

+ipp_attribute_t *ippAddString(ipp_t *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name, const char *language, const char *value);

+

Parameters

+ + + + + + + + + + + + + +
ippIPP message
groupIPP group
value_tagType of attribute
nameName of attribute
languageLanguage code
valueValue
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP).
+
+Supported string values include charset (IPP_TAG_CHARSET), keyword +(IPP_TAG_KEYWORD), language (IPP_TAG_LANGUAGE), mimeMediaType +(IPP_TAG_MIMETYPE), name (IPP_TAG_NAME), nameWithLanguage +(IPP_TAG_NAMELANG), text (code IPP_TAG_TEXT@), textWithLanguage +(IPP_TAG_TEXTLANG), uri (IPP_TAG_URI), and uriScheme +(IPP_TAG_URISCHEME).
+
+The language parameter must be non-NULL for nameWithLanguage and +textWithLanguage string values and must be NULL for all other string values.

+

 CUPS 1.7/macOS 10.9 ippAddStringf

+

Add a formatted string to an IPP message.

+

+ipp_attribute_t *ippAddStringf(ipp_t *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name, const char *language, const char *format, ...);

+

Parameters

+ + + + + + + + + + + + + + + +
ippIPP message
groupIPP group
value_tagType of attribute
nameName of attribute
languageLanguage code (NULL for default)
formatPrintf-style format string
...Additional arguments as needed
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document +(IPP_TAG_DOCUMENT), event notification +(IPP_TAG_EVENT_NOTIFICATION), operation (IPP_TAG_OPERATION), +printer (IPP_TAG_PRINTER), subscription (IPP_TAG_SUBSCRIPTION), +or unsupported (IPP_TAG_UNSUPPORTED_GROUP).
+
+Supported string values include charset (IPP_TAG_CHARSET), keyword +(IPP_TAG_KEYWORD), language (IPP_TAG_LANGUAGE), mimeMediaType +(IPP_TAG_MIMETYPE), name (IPP_TAG_NAME), nameWithLanguage +(IPP_TAG_NAMELANG), text (code IPP_TAG_TEXT@), textWithLanguage +(IPP_TAG_TEXTLANG), uri (IPP_TAG_URI), and uriScheme +(IPP_TAG_URISCHEME).
+
+The language parameter must be non-NULL for nameWithLanguage +and textWithLanguage string values and must be NULL for all other +string values.
+
+The format parameter uses formatting characters compatible with the +printf family of standard functions. Additional arguments follow it as +needed. The formatted string is truncated as needed to the maximum length of +the corresponding value type. + +

+

 CUPS 1.7/macOS 10.9 ippAddStringfv

+

Add a formatted string to an IPP message.

+

+ipp_attribute_t *ippAddStringfv(ipp_t *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name, const char *language, const char *format, va_list ap);

+

Parameters

+ + + + + + + + + + + + + + + +
ippIPP message
groupIPP group
value_tagType of attribute
nameName of attribute
languageLanguage code (NULL for default)
formatPrintf-style format string
apAdditional arguments
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document +(IPP_TAG_DOCUMENT), event notification +(IPP_TAG_EVENT_NOTIFICATION), operation (IPP_TAG_OPERATION), +printer (IPP_TAG_PRINTER), subscription (IPP_TAG_SUBSCRIPTION), +or unsupported (IPP_TAG_UNSUPPORTED_GROUP).
+
+Supported string values include charset (IPP_TAG_CHARSET), keyword +(IPP_TAG_KEYWORD), language (IPP_TAG_LANGUAGE), mimeMediaType +(IPP_TAG_MIMETYPE), name (IPP_TAG_NAME), nameWithLanguage +(IPP_TAG_NAMELANG), text (code IPP_TAG_TEXT@), textWithLanguage +(IPP_TAG_TEXTLANG), uri (IPP_TAG_URI), and uriScheme +(IPP_TAG_URISCHEME).
+
+The language parameter must be non-NULL for nameWithLanguage +and textWithLanguage string values and must be NULL for all other +string values.
+
+The format parameter uses formatting characters compatible with the +printf family of standard functions. Additional arguments are passed in the +stdarg pointer ap. The formatted string is truncated as needed to the +maximum length of the corresponding value type. + +

+

ippAddStrings

+

Add language-encoded strings to an IPP message.

+

+ipp_attribute_t *ippAddStrings(ipp_t *ipp, ipp_tag_t group, ipp_tag_t value_tag, const char *name, int num_values, const char *language, const char *const *values);

+

Parameters

+ + + + + + + + + + + + + + + +
ippIPP message
groupIPP group
value_tagType of attribute
nameName of attribute
num_valuesNumber of values
languageLanguage code (NULL for default)
valuesValues
+

Return Value

+

New attribute

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP).
+
+Supported string values include charset (IPP_TAG_CHARSET), keyword +(IPP_TAG_KEYWORD), language (IPP_TAG_LANGUAGE), mimeMediaType +(IPP_TAG_MIMETYPE), name (IPP_TAG_NAME), nameWithLanguage +(IPP_TAG_NAMELANG), text (code IPP_TAG_TEXT@), textWithLanguage +(IPP_TAG_TEXTLANG), uri (IPP_TAG_URI), and uriScheme +(IPP_TAG_URISCHEME).
+
+The language parameter must be non-NULL for nameWithLanguage and +textWithLanguage string values and must be NULL for all other string values.

+

 CUPS 1.6/macOS 10.8 ippAttributeString

+

Convert the attribute's value to a string.

+

+size_t ippAttributeString(ipp_attribute_t *attr, char *buffer, size_t bufsize);

+

Parameters

+ + + + + + + +
attrAttribute
bufferString buffer or NULL
bufsizeSize of string buffer
+

Return Value

+

Number of bytes less nul

+

Discussion

+

Returns the number of bytes that would be written, not including the +trailing nul. The buffer pointer can be NULL to get the required length, +just like (v)snprintf. + +

+

 CUPS 1.7/macOS 10.9 ippContainsInteger

+

Determine whether an attribute contains the +specified value or is within the list of ranges.

+

+int ippContainsInteger(ipp_attribute_t *attr, int value);

+

Parameters

+ + + + + +
attrAttribute
valueInteger/enum value
+

Return Value

+

1 on a match, 0 on no match

+

Discussion

+

Returns non-zero when the attribute contains either a matching integer or +enum value, or the value falls within one of the rangeOfInteger values for +the attribute. + +

+

 CUPS 1.7/macOS 10.9 ippContainsString

+

Determine whether an attribute contains the +specified string value.

+

+int ippContainsString(ipp_attribute_t *attr, const char *value);

+

Parameters

+ + + + + +
attrAttribute
valueString value
+

Return Value

+

1 on a match, 0 on no match

+

Discussion

+

Returns non-zero when the attribute contains a matching charset, keyword, +naturalLanguage, mimeMediaType, name, text, uri, or uriScheme value. + +

+

 CUPS 1.6/macOS 10.8 ippCopyAttribute

+

Copy an attribute.

+

+ipp_attribute_t *ippCopyAttribute(ipp_t *dst, ipp_attribute_t *srcattr, int quickcopy);

+

Parameters

+ + + + + + + +
dstDestination IPP message
srcattrAttribute to copy
quickcopy1 for a referenced copy, 0 for normal
+

Return Value

+

New attribute

+

Discussion

+

The specified attribute, attr, is copied to the destination IPP message. +When quickcopy is non-zero, a "shallow" reference copy of the attribute is +created - this should only be done as long as the original source IPP message will +not be freed for the life of the destination. + +

+

 CUPS 1.6/macOS 10.8 ippCopyAttributes

+

Copy attributes from one IPP message to another.

+

+int ippCopyAttributes(ipp_t *dst, ipp_t *src, int quickcopy, ipp_copycb_t cb, void *context);

+

Parameters

+ + + + + + + + + + + +
dstDestination IPP message
srcSource IPP message
quickcopy1 for a referenced copy, 0 for normal
cbCopy callback or NULL for none
contextContext pointer
+

Return Value

+

1 on success, 0 on error

+

Discussion

+

Zero or more attributes are copied from the source IPP message, src, to the +destination IPP message, dst. When quickcopy is non-zero, a "shallow" +reference copy of the attribute is created - this should only be done as long as the +original source IPP message will not be freed for the life of the destination.
+
+The cb and context parameters provide a generic way to "filter" the +attributes that are copied - the function must return 1 to copy the attribute or +0 to skip it. The function may also choose to do a partial copy of the source attribute +itself. + +

+

 CUPS 1.7/macOS 10.9 ippCreateRequestedArray

+

Create a CUPS array of attribute names from the +given requested-attributes attribute.

+

+cups_array_t *ippCreateRequestedArray(ipp_t *request);

+

Parameters

+ + + +
requestIPP request
+

Return Value

+

CUPS array or NULL if all

+

Discussion

+

This function creates a (sorted) CUPS array of attribute names matching the +list of "requested-attribute" values supplied in an IPP request. All IANA- +registered values are supported in addition to the CUPS IPP extension +attributes.
+
+The request parameter specifies the request message that was read from +the client. + +NULL is returned if all attributes should be returned. Otherwise, the +result is a sorted array of attribute names, where cupsArrayFind(array, +"attribute-name") will return a non-NULL pointer. The array must be freed +using the cupsArrayDelete function. + +

+

ippDateToTime

+

Convert from RFC 2579 Date/Time format to time in +seconds.

+

+time_t ippDateToTime(const ipp_uchar_t *date);

+

Parameters

+ + + +
dateRFC 2579 date info
+

Return Value

+

UNIX time value

+

ippDelete

+

Delete an IPP message.

+

+void ippDelete(ipp_t *ipp);

+

Parameters

+ + + +
ippIPP message
+

 CUPS 1.1.19/macOS 10.3 ippDeleteAttribute

+

Delete a single attribute in an IPP message.

+

+void ippDeleteAttribute(ipp_t *ipp, ipp_attribute_t *attr);

+

Parameters

+ + + + + +
ippIPP message
attrAttribute to delete
+

 CUPS 1.6/macOS 10.8 ippDeleteValues

+

Delete values in an attribute.

+

+int ippDeleteValues(ipp_t *ipp, ipp_attribute_t **attr, int element, int count);

+

Parameters

+ + + + + + + + + +
ippIPP message
attrAttribute
elementIndex of first value to delete (0-based)
countNumber of values to delete
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The element parameter specifies the first value to delete, starting at +0. It must be less than the number of values returned by ippGetCount.
+
+The attr parameter may be modified as a result of setting the value.
+
+Deleting all values in an attribute deletes the attribute. + +

+

ippEnumString

+

Return a string corresponding to the enum value.

+

+const char *ippEnumString(const char *attrname, int enumvalue);

+

Parameters

+ + + + + +
attrnameAttribute name
enumvalueEnum value
+

Return Value

+

Enum string

+

ippEnumValue

+

Return the value associated with a given enum string.

+

+int ippEnumValue(const char *attrname, const char *enumstring);

+

Parameters

+ + + + + +
attrnameAttribute name
enumstringEnum string
+

Return Value

+

Enum value or -1 if unknown

+

ippErrorString

+

Return a name for the given status code.

+

+const char *ippErrorString(ipp_status_t error);

+

Parameters

+ + + +
errorError status
+

Return Value

+

Text string

+

 CUPS 1.2/macOS 10.5 ippErrorValue

+

Return a status code for the given name.

+

+ipp_status_t ippErrorValue(const char *name);

+

Parameters

+ + + +
nameName
+

Return Value

+

IPP status code

+

ippFindAttribute

+

Find a named attribute in a request.

+

+ipp_attribute_t *ippFindAttribute(ipp_t *ipp, const char *name, ipp_tag_t type);

+

Parameters

+ + + + + + + +
ippIPP message
nameName of attribute
typeType of attribute
+

Return Value

+

Matching attribute

+

Discussion

+

Starting with CUPS 2.0, the attribute name can contain a hierarchical list +of attribute and member names separated by slashes, for example +"media-col/media-size".

+

ippFindNextAttribute

+

Find the next named attribute in a request.

+

+ipp_attribute_t *ippFindNextAttribute(ipp_t *ipp, const char *name, ipp_tag_t type);

+

Parameters

+ + + + + + + +
ippIPP message
nameName of attribute
typeType of attribute
+

Return Value

+

Matching attribute

+

Discussion

+

Starting with CUPS 2.0, the attribute name can contain a hierarchical list +of attribute and member names separated by slashes, for example +"media-col/media-size".

+

 CUPS 1.6/macOS 10.8 ippFirstAttribute

+

Return the first attribute in the message.

+

+ipp_attribute_t *ippFirstAttribute(ipp_t *ipp);

+

Parameters

+ + + +
ippIPP message
+

Return Value

+

First attribute or NULL if none

+

 CUPS 1.6/macOS 10.8 ippGetBoolean

+

Get a boolean value for an attribute.

+

+int ippGetBoolean(ipp_attribute_t *attr, int element);

+

Parameters

+ + + + + +
attrIPP attribute
elementValue number (0-based)
+

Return Value

+

Boolean value or 0 on error

+

Discussion

+

The element parameter specifies which value to get from 0 to +ippGetCount(attr) - 1. + +

+

 CUPS 1.6/macOS 10.8 ippGetCollection

+

Get a collection value for an attribute.

+

+ipp_t *ippGetCollection(ipp_attribute_t *attr, int element);

+

Parameters

+ + + + + +
attrIPP attribute
elementValue number (0-based)
+

Return Value

+

Collection value or NULL on error

+

Discussion

+

The element parameter specifies which value to get from 0 to +ippGetCount(attr) - 1. + +

+

 CUPS 1.6/macOS 10.8 ippGetCount

+

Get the number of values in an attribute.

+

+int ippGetCount(ipp_attribute_t *attr);

+

Parameters

+ + + +
attrIPP attribute
+

Return Value

+

Number of values or 0 on error

+

 CUPS 1.6/macOS 10.8 ippGetDate

+

Get a dateTime value for an attribute.

+

+const ipp_uchar_t *ippGetDate(ipp_attribute_t *attr, int element);

+

Parameters

+ + + + + +
attrIPP attribute
elementValue number (0-based)
+

Return Value

+

dateTime value or NULL

+

Discussion

+

The element parameter specifies which value to get from 0 to +ippGetCount(attr) - 1. + +

+

 CUPS 1.6/macOS 10.8 ippGetGroupTag

+

Get the group associated with an attribute.

+

+ipp_tag_t ippGetGroupTag(ipp_attribute_t *attr);

+

Parameters

+ + + +
attrIPP attribute
+

Return Value

+

Group tag or IPP_TAG_ZERO on error

+

 CUPS 1.6/macOS 10.8 ippGetInteger

+

Get the integer/enum value for an attribute.

+

+int ippGetInteger(ipp_attribute_t *attr, int element);

+

Parameters

+ + + + + +
attrIPP attribute
elementValue number (0-based)
+

Return Value

+

Value or 0 on error

+

Discussion

+

The element parameter specifies which value to get from 0 to +ippGetCount(attr) - 1. + +

+

 CUPS 1.6/macOS 10.8 ippGetName

+

Get the attribute name.

+

+const char *ippGetName(ipp_attribute_t *attr);

+

Parameters

+ + + +
attrIPP attribute
+

Return Value

+

Attribute name or NULL for separators

+

 CUPS 1.7/macOS 10.9 ippGetOctetString

+

Get an octetString value from an IPP attribute.

+

+void *ippGetOctetString(ipp_attribute_t *attr, int element, int *datalen);

+

Parameters

+ + + + + + + +
attrIPP attribute
elementValue number (0-based)
datalenLength of octetString data
+

Return Value

+

Pointer to octetString data

+

Discussion

+

The element parameter specifies which value to get from 0 to +ippGetCount(attr) - 1. + +

+

 CUPS 1.6/macOS 10.8 ippGetOperation

+

Get the operation ID in an IPP message.

+

+ipp_op_t ippGetOperation(ipp_t *ipp);

+

Parameters

+ + + +
ippIPP request message
+

Return Value

+

Operation ID or 0 on error

+

 CUPS 1.6/macOS 10.8 ippGetRange

+

Get a rangeOfInteger value from an attribute.

+

+int ippGetRange(ipp_attribute_t *attr, int element, int *uppervalue);

+

Parameters

+ + + + + + + +
attrIPP attribute
elementValue number (0-based)
uppervalueUpper value of range
+

Return Value

+

Lower value of range or 0

+

Discussion

+

The element parameter specifies which value to get from 0 to +ippGetCount(attr) - 1. + +

+

 CUPS 1.6/macOS 10.8 ippGetRequestId

+

Get the request ID from an IPP message.

+

+int ippGetRequestId(ipp_t *ipp);

+

Parameters

+ + + +
ippIPP message
+

Return Value

+

Request ID or 0 on error

+

 CUPS 1.6/macOS 10.8 ippGetResolution

+

Get a resolution value for an attribute.

+

+int ippGetResolution(ipp_attribute_t *attr, int element, int *yres, ipp_res_t *units);

+

Parameters

+ + + + + + + + + +
attrIPP attribute
elementValue number (0-based)
yresVertical/feed resolution
unitsUnits for resolution
+

Return Value

+

Horizontal/cross feed resolution or 0

+

Discussion

+

The element parameter specifies which value to get from 0 to +ippGetCount(attr) - 1. + +

+

 CUPS 1.6/macOS 10.8 ippGetState

+

Get the IPP message state.

+

+ipp_state_t ippGetState(ipp_t *ipp);

+

Parameters

+ + + +
ippIPP message
+

Return Value

+

IPP message state value

+

 CUPS 1.6/macOS 10.8 ippGetStatusCode

+

Get the status code from an IPP response or event message.

+

+ipp_status_t ippGetStatusCode(ipp_t *ipp);

+

Parameters

+ + + +
ippIPP response or event message
+

Return Value

+

Status code in IPP message

+

ippGetString

+

+

+const char *ippGetString(ipp_attribute_t *attr, int element, const char **language);

+

Parameters

+ + + + + + + +
attrIPP attribute
elementValue number (0-based)
languageLanguage code (NULL for don't care)
+

Return Value

+

Get the string and optionally the language code for an attribute.

+

The element parameter specifies which value to get from 0 to +ippGetCount(attr) - 1. + +

+

 CUPS 1.6/macOS 10.8 ippGetValueTag

+

Get the value tag for an attribute.

+

+ipp_tag_t ippGetValueTag(ipp_attribute_t *attr);

+

Parameters

+ + + +
attrIPP attribute
+

Return Value

+

Value tag or IPP_TAG_ZERO on error

+

 CUPS 1.6/macOS 10.8 ippGetVersion

+

Get the major and minor version number from an IPP message.

+

+int ippGetVersion(ipp_t *ipp, int *minor);

+

Parameters

+ + + + + +
ippIPP message
minorMinor version number or NULL for don't care
+

Return Value

+

Major version number or 0 on error

+

ippLength

+

Compute the length of an IPP message.

+

+size_t ippLength(ipp_t *ipp);

+

Parameters

+ + + +
ippIPP message
+

Return Value

+

Size of IPP message

+

ippNew

+

Allocate a new IPP message.

+

+ipp_t *ippNew(void);

+

Return Value

+

New IPP message

+

 CUPS 1.2/macOS 10.5 ippNewRequest

+

Allocate a new IPP request message.

+

+ipp_t *ippNewRequest(ipp_op_t op);

+

Parameters

+ + + +
opOperation code
+

Return Value

+

IPP request message

+

Discussion

+

The new request message is initialized with the "attributes-charset" and +"attributes-natural-language" attributes added. The +"attributes-natural-language" value is derived from the current locale. + +

+

 CUPS 1.7/macOS 10.9 ippNewResponse

+

Allocate a new IPP response message.

+

+ipp_t *ippNewResponse(ipp_t *request);

+

Parameters

+ + + +
requestIPP request message
+

Return Value

+

IPP response message

+

Discussion

+

The new response message is initialized with the same "version-number", +"request-id", "attributes-charset", and "attributes-natural-language" as the +provided request message. If the "attributes-charset" or +"attributes-natural-language" attributes are missing from the request, +'utf-8' and a value derived from the current locale are substituted, +respectively. + +

+

 CUPS 1.6/macOS 10.8 ippNextAttribute

+

Return the next attribute in the message.

+

+ipp_attribute_t *ippNextAttribute(ipp_t *ipp);

+

Parameters

+ + + +
ippIPP message
+

Return Value

+

Next attribute or NULL if none

+

 CUPS 1.2/macOS 10.5 ippOpString

+

Return a name for the given operation id.

+

+const char *ippOpString(ipp_op_t op);

+

Parameters

+ + + +
opOperation ID
+

Return Value

+

Name

+

 CUPS 1.2/macOS 10.5 ippOpValue

+

Return an operation id for the given name.

+

+ipp_op_t ippOpValue(const char *name);

+

Parameters

+ + + +
nameTextual name
+

Return Value

+

Operation ID

+

ippPort

+

Return the default IPP port number.

+

+int ippPort(void);

+

Return Value

+

Port number

+

ippRead

+

Read data for an IPP message from a HTTP connection.

+

+ipp_state_t ippRead(http_t *http, ipp_t *ipp);

+

Parameters

+ + + + + +
httpHTTP connection
ippIPP data
+

Return Value

+

Current state

+

 CUPS 1.1.19/macOS 10.3 ippReadFile

+

Read data for an IPP message from a file.

+

+ipp_state_t ippReadFile(int fd, ipp_t *ipp);

+

Parameters

+ + + + + +
fdHTTP data
ippIPP data
+

Return Value

+

Current state

+

 CUPS 1.2/macOS 10.5 ippReadIO

+

Read data for an IPP message.

+

+ipp_state_t ippReadIO(void *src, ipp_iocb_t cb, int blocking, ipp_t *parent, ipp_t *ipp);

+

Parameters

+ + + + + + + + + + + +
srcData source
cbRead callback function
blockingUse blocking IO?
parentParent request, if any
ippIPP data
+

Return Value

+

Current state

+

 CUPS 1.6/macOS 10.8 ippSetBoolean

+

Set a boolean value in an attribute.

+

+int ippSetBoolean(ipp_t *ipp, ipp_attribute_t **attr, int element, int boolvalue);

+

Parameters

+ + + + + + + + + +
ippIPP message
attrIPP attribute
elementValue number (0-based)
boolvalueBoolean value
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value.
+
+The element parameter specifies which value to set from 0 to +ippGetCount(attr). + +

+

 CUPS 1.6/macOS 10.8 ippSetCollection

+

Set a collection value in an attribute.

+

+int ippSetCollection(ipp_t *ipp, ipp_attribute_t **attr, int element, ipp_t *colvalue);

+

Parameters

+ + + + + + + + + +
ippIPP message
attrIPP attribute
elementValue number (0-based)
colvalueCollection value
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value.
+
+The element parameter specifies which value to set from 0 to +ippGetCount(attr). + +

+

 CUPS 1.6/macOS 10.8 ippSetDate

+

Set a dateTime value in an attribute.

+

+int ippSetDate(ipp_t *ipp, ipp_attribute_t **attr, int element, const ipp_uchar_t *datevalue);

+

Parameters

+ + + + + + + + + +
ippIPP message
attrIPP attribute
elementValue number (0-based)
datevaluedateTime value
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value.
+
+The element parameter specifies which value to set from 0 to +ippGetCount(attr). + +

+

 CUPS 1.6/macOS 10.8 ippSetGroupTag

+

Set the group tag of an attribute.

+

+int ippSetGroupTag(ipp_t *ipp, ipp_attribute_t **attr, ipp_tag_t group_tag);

+

Parameters

+ + + + + + + +
ippIPP message
attrAttribute
group_tagGroup tag
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value.
+
+The group parameter specifies the IPP attribute group tag: none +(IPP_TAG_ZERO, for member attributes), document (IPP_TAG_DOCUMENT), +event notification (IPP_TAG_EVENT_NOTIFICATION), operation +(IPP_TAG_OPERATION), printer (IPP_TAG_PRINTER), subscription +(IPP_TAG_SUBSCRIPTION), or unsupported (IPP_TAG_UNSUPPORTED_GROUP). + +

+

 CUPS 1.6/macOS 10.8 ippSetInteger

+

Set an integer or enum value in an attribute.

+

+int ippSetInteger(ipp_t *ipp, ipp_attribute_t **attr, int element, int intvalue);

+

Parameters

+ + + + + + + + + +
ippIPP message
attrIPP attribute
elementValue number (0-based)
intvalueInteger/enum value
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value.
+
+The element parameter specifies which value to set from 0 to +ippGetCount(attr). + +

+

 CUPS 1.6/macOS 10.8 ippSetName

+

Set the name of an attribute.

+

+int ippSetName(ipp_t *ipp, ipp_attribute_t **attr, const char *name);

+

Parameters

+ + + + + + + +
ippIPP message
attrIPP attribute
nameAttribute name
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value. + +

+

 CUPS 1.7/macOS 10.9 ippSetOctetString

+

Set an octetString value in an IPP attribute.

+

+int ippSetOctetString(ipp_t *ipp, ipp_attribute_t **attr, int element, const void *data, int datalen);

+

Parameters

+ + + + + + + + + + + +
ippIPP message
attrIPP attribute
elementValue number (0-based)
dataPointer to octetString data
datalenLength of octetString data
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value.
+
+The element parameter specifies which value to set from 0 to +ippGetCount(attr). + +

+

 CUPS 1.6/macOS 10.8 ippSetOperation

+

Set the operation ID in an IPP request message.

+

+int ippSetOperation(ipp_t *ipp, ipp_op_t op);

+

Parameters

+ + + + + +
ippIPP request message
opOperation ID
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions. + +

+

ippSetPort

+

Set the default port number.

+

+void ippSetPort(int p);

+

Parameters

+ + + +
pPort number to use
+

 CUPS 1.6/macOS 10.8 ippSetRange

+

Set a rangeOfInteger value in an attribute.

+

+int ippSetRange(ipp_t *ipp, ipp_attribute_t **attr, int element, int lowervalue, int uppervalue);

+

Parameters

+ + + + + + + + + + + +
ippIPP message
attrIPP attribute
elementValue number (0-based)
lowervalueLower bound for range
uppervalueUpper bound for range
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value.
+
+The element parameter specifies which value to set from 0 to +ippGetCount(attr). + +

+

 CUPS 1.6/macOS 10.8 ippSetRequestId

+

Set the request ID in an IPP message.

+

+int ippSetRequestId(ipp_t *ipp, int request_id);

+

Parameters

+ + + + + +
ippIPP message
request_idRequest ID
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The request_id parameter must be greater than 0. + +

+

 CUPS 1.6/macOS 10.8 ippSetResolution

+

Set a resolution value in an attribute.

+

+int ippSetResolution(ipp_t *ipp, ipp_attribute_t **attr, int element, ipp_res_t unitsvalue, int xresvalue, int yresvalue);

+

Parameters

+ + + + + + + + + + + + + +
ippIPP message
attrIPP attribute
elementValue number (0-based)
unitsvalueResolution units
xresvalueHorizontal/cross feed resolution
yresvalueVertical/feed resolution
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value.
+
+The element parameter specifies which value to set from 0 to +ippGetCount(attr). + +

+

 CUPS 1.6/macOS 10.8 ippSetState

+

Set the current state of the IPP message.

+

+int ippSetState(ipp_t *ipp, ipp_state_t state);

+

Parameters

+ + + + + +
ippIPP message
stateIPP state value
+

Return Value

+

1 on success, 0 on failure

+

 CUPS 1.6/macOS 10.8 ippSetStatusCode

+

Set the status code in an IPP response or event message.

+

+int ippSetStatusCode(ipp_t *ipp, ipp_status_t status);

+

Parameters

+ + + + + +
ippIPP response or event message
statusStatus code
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions. + +

+

 CUPS 1.6/macOS 10.8 ippSetString

+

Set a string value in an attribute.

+

+int ippSetString(ipp_t *ipp, ipp_attribute_t **attr, int element, const char *strvalue);

+

Parameters

+ + + + + + + + + +
ippIPP message
attrIPP attribute
elementValue number (0-based)
strvalueString value
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value.
+
+The element parameter specifies which value to set from 0 to +ippGetCount(attr). + +

+

 CUPS 1.7/macOS 10.9 ippSetStringf

+

Set a formatted string value of an attribute.

+

+int ippSetStringf(ipp_t *ipp, ipp_attribute_t **attr, int element, const char *format, ...);

+

Parameters

+ + + + + + + + + + + +
ippIPP message
attrIPP attribute
elementValue number (0-based)
formatPrintf-style format string
...Additional arguments as needed
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value.
+
+The element parameter specifies which value to set from 0 to +ippGetCount(attr).
+
+The format parameter uses formatting characters compatible with the +printf family of standard functions. Additional arguments follow it as +needed. The formatted string is truncated as needed to the maximum length of +the corresponding value type. + +

+

 CUPS 1.7/macOS 10.9 ippSetStringfv

+

Set a formatted string value of an attribute.

+

+int ippSetStringfv(ipp_t *ipp, ipp_attribute_t **attr, int element, const char *format, va_list ap);

+

Parameters

+ + + + + + + + + + + +
ippIPP message
attrIPP attribute
elementValue number (0-based)
formatPrintf-style format string
apPointer to additional arguments
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value.
+
+The element parameter specifies which value to set from 0 to +ippGetCount(attr).
+
+The format parameter uses formatting characters compatible with the +printf family of standard functions. Additional arguments follow it as +needed. The formatted string is truncated as needed to the maximum length of +the corresponding value type. + +

+

 CUPS 1.6/macOS 10.8 ippSetValueTag

+

Set the value tag of an attribute.

+

+int ippSetValueTag(ipp_t *ipp, ipp_attribute_t **attr, ipp_tag_t value_tag);

+

Parameters

+ + + + + + + +
ippIPP message
attrIPP attribute
value_tagValue tag
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The attr parameter may be modified as a result of setting the value.
+
+Integer (IPP_TAG_INTEGER) values can be promoted to rangeOfInteger +(IPP_TAG_RANGE) values, the various string tags can be promoted to name +(IPP_TAG_NAME) or nameWithLanguage (IPP_TAG_NAMELANG) values, text +(IPP_TAG_TEXT) values can be promoted to textWithLanguage +(IPP_TAG_TEXTLANG) values, and all values can be demoted to the various +out-of-band value tags such as no-value (IPP_TAG_NOVALUE). All other changes +will be rejected.
+
+Promoting a string attribute to nameWithLanguage or textWithLanguage adds the language +code in the "attributes-natural-language" attribute or, if not present, the language +code for the current locale. + +

+

 CUPS 1.6/macOS 10.8 ippSetVersion

+

Set the version number in an IPP message.

+

+int ippSetVersion(ipp_t *ipp, int major, int minor);

+

Parameters

+ + + + + + + +
ippIPP message
majorMajor version number (major.minor)
minorMinor version number (major.minor)
+

Return Value

+

1 on success, 0 on failure

+

Discussion

+

The ipp parameter refers to an IPP message previously created using +the ippNew, ippNewRequest, or ippNewResponse functions.
+
+The valid version numbers are currently 1.0, 1.1, 2.0, 2.1, and 2.2. + +

+

 CUPS 2.0/OS 10.10 ippStateString

+

Return the name corresponding to a state value.

+

+const char *ippStateString(ipp_state_t state);

+

Parameters

+ + + +
stateState value
+

Return Value

+

State name

+

 CUPS 1.4/macOS 10.6 ippTagString

+

Return the tag name corresponding to a tag value.

+

+const char *ippTagString(ipp_tag_t tag);

+

Parameters

+ + + +
tagTag value
+

Return Value

+

Tag name

+

Discussion

+

The returned names are defined in RFC 8011 and the IANA IPP Registry. + +

+

 CUPS 1.4/macOS 10.6 ippTagValue

+

Return the tag value corresponding to a tag name.

+

+ipp_tag_t ippTagValue(const char *name);

+

Parameters

+ + + +
nameTag name
+

Return Value

+

Tag value

+

Discussion

+

The tag names are defined in RFC 8011 and the IANA IPP Registry. + +

+

ippTimeToDate

+

Convert from time in seconds to RFC 2579 format.

+

+const ipp_uchar_t *ippTimeToDate(time_t t);

+

Parameters

+ + + +
tTime in seconds
+

Return Value

+

RFC-2579 date/time data

+

 CUPS 1.7/macOS 10.9 ippValidateAttribute

+

Validate the contents of an attribute.

+

+int ippValidateAttribute(ipp_attribute_t *attr);

+

Parameters

+ + + +
attrAttribute
+

Return Value

+

1 if valid, 0 otherwise

+

Discussion

+

This function validates the contents of an attribute based on the name and +value tag. 1 is returned if the attribute is valid, 0 otherwise. On +failure, cupsLastErrorString is set to a human-readable message. + +

+

 CUPS 1.7/macOS 10.9 ippValidateAttributes

+

Validate all attributes in an IPP message.

+

+int ippValidateAttributes(ipp_t *ipp);

+

Parameters

+ + + +
ippIPP message
+

Return Value

+

1 if valid, 0 otherwise

+

Discussion

+

This function validates the contents of the IPP message, including each +attribute. Like ippValidateAttribute, cupsLastErrorString is +set to a human-readable message on failure. + +

+

ippWrite

+

Write data for an IPP message to a HTTP connection.

+

+ipp_state_t ippWrite(http_t *http, ipp_t *ipp);

+

Parameters

+ + + + + +
httpHTTP connection
ippIPP data
+

Return Value

+

Current state

+

 CUPS 1.1.19/macOS 10.3 ippWriteFile

+

Write data for an IPP message to a file.

+

+ipp_state_t ippWriteFile(int fd, ipp_t *ipp);

+

Parameters

+ + + + + +
fdHTTP data
ippIPP data
+

Return Value

+

Current state

+

 CUPS 1.2/macOS 10.5 ippWriteIO

+

Write data for an IPP message.

+

+ipp_state_t ippWriteIO(void *dst, ipp_iocb_t cb, int blocking, ipp_t *parent, ipp_t *ipp);

+

Parameters

+ + + + + + + + + + + +
dstDestination
cbWrite callback function
blockingUse blocking IO?
parentParent IPP message
ippIPP data
+

Return Value

+

Current state

+

Data Types

+

 CUPS 1.5/macOS 10.7 cups_client_cert_cb_t

+

Client credentials callback +

+

+typedef int(*)(http_t *http, void *tls, cups_array_t *distinguished_names, void *user_data)cups_client_cert_cb_t; +

+

 CUPS 1.6/macOS 10.8 cups_dest_cb_t

+

Destination enumeration callback +

+

+typedef int(*)(void *user_data, unsigned flags, cups_dest_t *dest)cups_dest_cb_t; +

+

cups_dest_t

+

Destination

+

+typedef struct cups_dest_s cups_dest_t; +

+

 CUPS 1.6/macOS 10.8 cups_dinfo_t

+

Destination capability and status +information

+

+typedef struct _cups_dinfo_s cups_dinfo_t; +

+

cups_job_t

+

Job

+

+typedef struct cups_job_s cups_job_t; +

+

cups_option_t

+

Printer Options

+

+typedef struct cups_option_s cups_option_t; +

+

 CUPS 1.4/macOS 10.6 cups_password_cb2_t

+

New password callback +

+

+typedef const char *(*)(const char *prompt, http_t *http, const char *method, const char *resource, void *user_data)cups_password_cb2_t; +

+

cups_ptype_t

+

Printer type/capability bits

+

+typedef unsigned cups_ptype_t; +

+

 CUPS 1.5/macOS 10.7 cups_server_cert_cb_t

+

Server credentials callback +

+

+typedef int(*)(http_t *http, void *tls, cups_array_t *certs, void *user_data)cups_server_cert_cb_t; +

+

 CUPS 1.6/macOS 10.8 cups_size_t

+

Media Size

+

+typedef struct cups_size_s cups_size_t; +

+

 CUPS 1.2/macOS 10.5 http_addr_t

+

Socket address union, which +makes using IPv6 and other +address types easier and +more portable.

+

+typedef union _http_addr_u / http_addr_t; +

+

http_encoding_t

+

HTTP transfer encoding values

+

+typedef enum http_encoding_e http_encoding_t; +

+

http_encryption_t

+

HTTP encryption values

+

+typedef enum http_encryption_e http_encryption_t; +

+

http_field_t

+

HTTP field names

+

+typedef enum http_field_e http_field_t; +

+

http_keepalive_t

+

HTTP keep-alive values

+

+typedef enum http_keepalive_e http_keepalive_t; +

+

http_state_t

+

HTTP state values; states +are server-oriented...

+

+typedef enum http_state_e http_state_t; +

+

http_t

+

HTTP connection type

+

+typedef struct _http_s http_t; +

+

 CUPS 1.5/macOS 10.7 http_timeout_cb_t

+

HTTP timeout callback

+

+typedef int(*)(http_t *http, void *user_data)http_timeout_cb_t; +

+

 CUPS 2.0/OS 10.10 http_trust_t

+

Level of trust for credentials

+

+typedef enum http_trust_e http_trust_t; +

+

http_uri_coding_t

+

URI en/decode flags

+

+typedef enum http_uri_coding_e http_uri_coding_t; +

+

 CUPS 1.2 http_uri_status_t

+

URI separation status

+

+typedef enum http_uri_status_e http_uri_status_t; +

+

ipp_attribute_t

+

IPP attribute

+

+typedef struct _ipp_attribute_s ipp_attribute_t; +

+

 CUPS 1.6/macOS 10.8 ipp_copycb_t

+

ippCopyAttributes callback function

+

+typedef int(*)(void *context, ipp_t *dst, ipp_attribute_t *attr)ipp_copycb_t; +

+

 CUPS 1.2/macOS 10.5 ipp_iocb_t

+

ippReadIO/ippWriteIO callback function

+

+typedef ssize_t(*)(void *context, ipp_uchar_t *buffer, size_t bytes) ipp_iocb_t; +

+

ipp_orient_t

+

Orientation values

+

+typedef enum ipp_orient_e ipp_orient_t; +

+

ipp_pstate_t

+

Printer state values

+

+typedef enum ipp_pstate_e ipp_pstate_t; +

+

ipp_quality_t

+

Print quality values

+

+typedef enum ipp_quality_e ipp_quality_t; +

+

ipp_res_t

+

Resolution units

+

+typedef enum ipp_res_e ipp_res_t; +

+

ipp_rstate_t

+

resource-state values

+

+typedef enum ipp_rstate_e ipp_rstate_t; +

+

ipp_sstate_t

+

system-state values

+

+typedef enum ipp_sstate_e ipp_sstate_t; +

+

ipp_state_t

+

ipp_t state values

+

+typedef enum ipp_state_e ipp_state_t; +

+

ipp_t

+

IPP request/response data

+

+typedef struct _ipp_s ipp_t; +

+

Structures

+

cups_dest_s

+

Destination

+

struct cups_dest_s {
+    char *name, *instance;
+    int is_default;
+    int num_options;
+    cups_option_t *options;
+};

+

Members

+ + + + + + + + + +
instance Local instance name or NULL
is_default Is this printer the default?
num_options Number of options
options Options
+

cups_job_s

+

Job

+

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;
+};

+

Members

+ + + + + + + + + + + + + + + + + + + + + + + +
completed_time Time the job was completed
creation_time Time the job was created
dest Printer or class name
format Document format
id The job ID
priority Priority (1-100)
processing_time Time the job was processed
size Size in kilobytes
state Job state
title Title/job name
user User that submitted the job
+

cups_option_s

+

Printer Options

+

struct cups_option_s {
+    char *name;
+    char *value;
+};

+

Members

+ + + + + +
name Name of option
value Value of option
+

 CUPS 1.6/macOS 10.8 cups_size_s

+

Media Size

+

struct cups_size_s {
+    char media[128];
+    int width, length, bottom, left, right, top;
+};

+

Members

+ + + + + +
media[128] Media name to use
top Top margin in hundredths of +millimeters
+

Constants

+

cups_ptype_e

+

Printer type/capability bit +constants

+

Constants

+ + + + + + + + + + + + + + + + + + + + + + + + + +
CUPS_PRINTER_AUTHENTICATED  CUPS 1.2/macOS 10.5  Printer requires authentication +
CUPS_PRINTER_BIND Can bind output
CUPS_PRINTER_BW Can do B&W printing
CUPS_PRINTER_CLASS Printer class
CUPS_PRINTER_COLLATE Can quickly collate copies
CUPS_PRINTER_COLOR Can do color printing
CUPS_PRINTER_COMMANDS  CUPS 1.2/macOS 10.5  Printer supports maintenance commands +
CUPS_PRINTER_COPIES Can do copies in hardware
CUPS_PRINTER_COVER Can cover output
CUPS_PRINTER_DEFAULT Default printer on network
CUPS_PRINTER_DISCOVERED  CUPS 1.2/macOS 10.5  Printer was discovered
CUPS_PRINTER_DUPLEX Can do two-sided printing
CUPS_PRINTER_FAX Fax queue
CUPS_PRINTER_LARGE Can print on D/E/A1/A0-size media
CUPS_PRINTER_LOCAL Local printer or class
CUPS_PRINTER_MEDIUM Can print on Tabloid/B/C/A3/A2-size media
CUPS_PRINTER_NOT_SHARED  CUPS 1.2/macOS 10.5  Printer is not shared +
CUPS_PRINTER_PUNCH Can punch output
CUPS_PRINTER_REJECTING Printer is rejecting jobs
CUPS_PRINTER_REMOTE Remote printer or class
CUPS_PRINTER_SMALL Can print on Letter/Legal/A4-size media
CUPS_PRINTER_SORT Can sort output
CUPS_PRINTER_STAPLE Can staple output
CUPS_PRINTER_VARIABLE Can print on rolls and custom-size media
+

http_encoding_e

+

HTTP transfer encoding values

+

Constants

+ + + + +
HTTP_ENCODING_CHUNKED Data is chunked
HTTP_ENCODING_FIELDS Sending HTTP fields
HTTP_ENCODING_LENGTH Data is sent with Content-Length
+

http_encryption_e

+

HTTP encryption values

+

Constants

+ + + + + +
HTTP_ENCRYPTION_ALWAYS Always encrypt (SSL)
HTTP_ENCRYPTION_IF_REQUESTED Encrypt if requested (TLS upgrade)
HTTP_ENCRYPTION_NEVER Never encrypt
HTTP_ENCRYPTION_REQUIRED Encryption is required (TLS upgrade)
+

http_field_e

+

HTTP field names

+

Constants

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTTP_FIELD_ACCEPT_ENCODING  CUPS 1.7/macOS 10.9  Accepting-Encoding field
HTTP_FIELD_ACCEPT_LANGUAGE Accept-Language field
HTTP_FIELD_ACCEPT_RANGES Accept-Ranges field
HTTP_FIELD_ALLOW  CUPS 1.7/macOS 10.9  Allow field
HTTP_FIELD_AUTHENTICATION_INFO  CUPS 2.2.9)  Authentication-Info field (
HTTP_FIELD_AUTHORIZATION Authorization field
HTTP_FIELD_CONNECTION Connection field
HTTP_FIELD_CONTENT_ENCODING Content-Encoding field
HTTP_FIELD_CONTENT_LANGUAGE Content-Language field
HTTP_FIELD_CONTENT_LENGTH Content-Length field
HTTP_FIELD_CONTENT_LOCATION Content-Location field
HTTP_FIELD_CONTENT_MD5 Content-MD5 field
HTTP_FIELD_CONTENT_RANGE Content-Range field
HTTP_FIELD_CONTENT_TYPE Content-Type field
HTTP_FIELD_CONTENT_VERSION Content-Version field
HTTP_FIELD_DATE Date field
HTTP_FIELD_HOST Host field
HTTP_FIELD_IF_MODIFIED_SINCE If-Modified-Since field
HTTP_FIELD_IF_UNMODIFIED_SINCE If-Unmodified-Since field
HTTP_FIELD_KEEP_ALIVE Keep-Alive field
HTTP_FIELD_LAST_MODIFIED Last-Modified field
HTTP_FIELD_LINK Link field
HTTP_FIELD_LOCATION Location field
HTTP_FIELD_MAX Maximum field index
HTTP_FIELD_RANGE Range field
HTTP_FIELD_REFERER Referer field
HTTP_FIELD_RETRY_AFTER Retry-After field
HTTP_FIELD_SERVER  CUPS 1.7/macOS 10.9  Server field
HTTP_FIELD_TRANSFER_ENCODING Transfer-Encoding field
HTTP_FIELD_UNKNOWN Unknown field
HTTP_FIELD_UPGRADE Upgrade field
HTTP_FIELD_USER_AGENT User-Agent field
HTTP_FIELD_WWW_AUTHENTICATE WWW-Authenticate field
+

http_keepalive_e

+

HTTP keep-alive values

+

Constants

+ + + +
HTTP_KEEPALIVE_OFF No keep alive support
HTTP_KEEPALIVE_ON Use keep alive
+

http_state_e

+

HTTP state values; states +are server-oriented...

+

Constants

+ + + + + + + + + + + + + + + + + + +
HTTP_STATE_CONNECT CONNECT command, waiting for blank line
HTTP_STATE_DELETE DELETE command, waiting for blank line
HTTP_STATE_ERROR Error on socket
HTTP_STATE_GET GET command, waiting for blank line
HTTP_STATE_GET_SEND GET command, sending data
HTTP_STATE_HEAD HEAD command, waiting for blank line
HTTP_STATE_OPTIONS OPTIONS command, waiting for blank line
HTTP_STATE_POST POST command, waiting for blank line
HTTP_STATE_POST_RECV POST command, receiving data
HTTP_STATE_POST_SEND POST command, sending data
HTTP_STATE_PUT PUT command, waiting for blank line
HTTP_STATE_PUT_RECV PUT command, receiving data
HTTP_STATE_STATUS Command complete, sending status
HTTP_STATE_TRACE TRACE command, waiting for blank line
HTTP_STATE_UNKNOWN_METHOD  CUPS 1.7/macOS 10.9  Unknown request method, waiting for blank line
HTTP_STATE_UNKNOWN_VERSION  CUPS 1.7/macOS 10.9  Unknown request method, waiting for blank line
HTTP_STATE_WAITING Waiting for command
+

http_status_e

+

HTTP status codes

+

Constants

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
HTTP_STATUS_ACCEPTED DELETE command was successful
HTTP_STATUS_BAD_GATEWAY Bad gateway
HTTP_STATUS_BAD_REQUEST Bad request
HTTP_STATUS_CONFLICT Request is self-conflicting
HTTP_STATUS_CONTINUE Everything OK, keep going...
HTTP_STATUS_CREATED PUT command was successful
HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED  CUPS 1.4  User canceled authorization
HTTP_STATUS_CUPS_PKI_ERROR  CUPS 1.5/macOS 10.7  Error negotiating a secure connection
HTTP_STATUS_ERROR An error response from httpXxxx()
HTTP_STATUS_EXPECTATION_FAILED The expectation given in an Expect header field was not met
HTTP_STATUS_FORBIDDEN Forbidden to access this URI
HTTP_STATUS_FOUND Document was found at a different URI
HTTP_STATUS_GATEWAY_TIMEOUT Gateway connection timed out
HTTP_STATUS_GONE Server has gone away
HTTP_STATUS_LENGTH_REQUIRED A content length or encoding is required
HTTP_STATUS_METHOD_NOT_ALLOWED Method is not allowed
HTTP_STATUS_MOVED_PERMANENTLY Document has moved permanently
HTTP_STATUS_MULTIPLE_CHOICES Multiple files match request
HTTP_STATUS_NONE  CUPS 1.7/macOS 10.9  No Expect value
HTTP_STATUS_NOT_ACCEPTABLE Not Acceptable
HTTP_STATUS_NOT_AUTHORITATIVE Information isn't authoritative
HTTP_STATUS_NOT_FOUND URI was not found
HTTP_STATUS_NOT_IMPLEMENTED Feature not implemented
HTTP_STATUS_NOT_MODIFIED File not modified
HTTP_STATUS_NOT_SUPPORTED HTTP version not supported
HTTP_STATUS_NO_CONTENT Successful command, no new data
HTTP_STATUS_OK OPTIONS/GET/HEAD/POST/TRACE command was successful
HTTP_STATUS_PARTIAL_CONTENT Only a partial file was received/sent
HTTP_STATUS_PAYMENT_REQUIRED Payment required
HTTP_STATUS_PRECONDITION Precondition failed
HTTP_STATUS_PROXY_AUTHENTICATION Proxy Authentication is Required
HTTP_STATUS_REQUESTED_RANGE The requested range is not satisfiable
HTTP_STATUS_REQUEST_TIMEOUT Request timed out
HTTP_STATUS_REQUEST_TOO_LARGE Request entity too large
HTTP_STATUS_RESET_CONTENT Content was reset/recreated
HTTP_STATUS_SEE_OTHER See this other link
HTTP_STATUS_SERVER_ERROR Internal server error
HTTP_STATUS_SERVICE_UNAVAILABLE Service is unavailable
HTTP_STATUS_SWITCHING_PROTOCOLS HTTP upgrade to TLS/SSL
HTTP_STATUS_TEMPORARY_REDIRECT Temporary redirection
HTTP_STATUS_UNAUTHORIZED Unauthorized to access host
HTTP_STATUS_UNSUPPORTED_MEDIATYPE The requested media type is unsupported
HTTP_STATUS_UPGRADE_REQUIRED Upgrade to SSL/TLS required
HTTP_STATUS_URI_TOO_LONG URI too long
HTTP_STATUS_USE_PROXY Must use a proxy to access this URI
+

 CUPS 2.0/OS 10.10 http_trust_e

+

Level of trust for credentials

+

Constants

+ + + + + + + +
HTTP_TRUST_CHANGED Credentials have changed
HTTP_TRUST_EXPIRED Credentials are expired
HTTP_TRUST_INVALID Credentials are invalid
HTTP_TRUST_OK Credentials are OK/trusted
HTTP_TRUST_RENEWED Credentials have been renewed
HTTP_TRUST_UNKNOWN Credentials are unknown/new
+

http_uri_coding_e

+

URI en/decode flags

+

Constants

+ + + + + + + + + +
HTTP_URI_CODING_ALL En/decode everything
HTTP_URI_CODING_HOSTNAME En/decode the hostname portion
HTTP_URI_CODING_MOST En/decode all but the query
HTTP_URI_CODING_NONE Don't en/decode anything
HTTP_URI_CODING_QUERY En/decode the query portion
HTTP_URI_CODING_RESOURCE En/decode the resource portion
HTTP_URI_CODING_RFC6874 Use RFC 6874 address format
HTTP_URI_CODING_USERNAME En/decode the username portion
+

 CUPS 1.2 http_uri_status_e

+

URI separation status

+

Constants

+ + + + + + + + + + + + + +
HTTP_URI_STATUS_BAD_ARGUMENTS Bad arguments to function (error)
HTTP_URI_STATUS_BAD_HOSTNAME Bad hostname in URI (error)
HTTP_URI_STATUS_BAD_PORT Bad port number in URI (error)
HTTP_URI_STATUS_BAD_RESOURCE Bad resource in URI (error)
HTTP_URI_STATUS_BAD_SCHEME Bad scheme in URI (error)
HTTP_URI_STATUS_BAD_URI Bad/empty URI (error)
HTTP_URI_STATUS_BAD_USERNAME Bad username in URI (error)
HTTP_URI_STATUS_MISSING_RESOURCE Missing resource in URI (warning)
HTTP_URI_STATUS_MISSING_SCHEME Missing scheme in URI (warning)
HTTP_URI_STATUS_OK URI decoded OK
HTTP_URI_STATUS_OVERFLOW URI buffer for httpAssembleURI is too small
HTTP_URI_STATUS_UNKNOWN_SCHEME Unknown scheme in URI (warning)
+

ipp_finishings_e

+

Finishings values

+

Constants

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IPP_FINISHINGS_BALE Bale (any type)
IPP_FINISHINGS_BIND Bind
IPP_FINISHINGS_BIND_BOTTOM Bind on bottom
IPP_FINISHINGS_BIND_LEFT Bind on left
IPP_FINISHINGS_BIND_RIGHT Bind on right
IPP_FINISHINGS_BIND_TOP Bind on top
IPP_FINISHINGS_BOOKLET_MAKER Fold to make booklet
IPP_FINISHINGS_COAT Apply protective liquid or powder coating
IPP_FINISHINGS_COVER Add cover
IPP_FINISHINGS_EDGE_STITCH Stitch along any side
IPP_FINISHINGS_EDGE_STITCH_BOTTOM Stitch along bottom edge
IPP_FINISHINGS_EDGE_STITCH_LEFT Stitch along left side
IPP_FINISHINGS_EDGE_STITCH_RIGHT Stitch along right side
IPP_FINISHINGS_EDGE_STITCH_TOP Stitch along top edge
IPP_FINISHINGS_FOLD Fold (any type)
IPP_FINISHINGS_FOLD_ACCORDION Accordion-fold the paper vertically into four sections
IPP_FINISHINGS_FOLD_DOUBLE_GATE Fold the top and bottom quarters of the paper towards the midline, then fold in half vertically
IPP_FINISHINGS_FOLD_ENGINEERING_Z Fold the paper vertically into two small sections and one larger, forming an elongated Z
IPP_FINISHINGS_FOLD_GATE Fold the top and bottom quarters of the paper towards the midline
IPP_FINISHINGS_FOLD_HALF Fold the paper in half vertically
IPP_FINISHINGS_FOLD_HALF_Z Fold the paper in half horizontally, then Z-fold the paper vertically
IPP_FINISHINGS_FOLD_LEFT_GATE Fold the top quarter of the paper towards the midline
IPP_FINISHINGS_FOLD_LETTER Fold the paper into three sections vertically; sometimes also known as a C fold
IPP_FINISHINGS_FOLD_PARALLEL Fold the paper in half vertically two times, yielding four sections
IPP_FINISHINGS_FOLD_POSTER Fold the paper in half horizontally and vertically; sometimes also called a cross fold
IPP_FINISHINGS_FOLD_RIGHT_GATE Fold the bottom quarter of the paper towards the midline
IPP_FINISHINGS_FOLD_Z Fold the paper vertically into three sections, forming a Z
IPP_FINISHINGS_JOG_OFFSET Offset for binding (any type)
IPP_FINISHINGS_LAMINATE Apply protective (solid) material
IPP_FINISHINGS_NONE No finishing
IPP_FINISHINGS_PUNCH Punch (any location/count)
IPP_FINISHINGS_PUNCH_BOTTOM_LEFT Punch 1 hole bottom left
IPP_FINISHINGS_PUNCH_BOTTOM_RIGHT Punch 1 hole bottom right
IPP_FINISHINGS_PUNCH_DUAL_BOTTOM Punch 2 holes bottom edge
IPP_FINISHINGS_PUNCH_DUAL_LEFT Punch 2 holes left side
IPP_FINISHINGS_PUNCH_DUAL_RIGHT Punch 2 holes right side
IPP_FINISHINGS_PUNCH_DUAL_TOP Punch 2 holes top edge
IPP_FINISHINGS_PUNCH_MULTIPLE_BOTTOM Punch multiple holes bottom edge
IPP_FINISHINGS_PUNCH_MULTIPLE_LEFT Punch multiple holes left side
IPP_FINISHINGS_PUNCH_MULTIPLE_RIGHT Punch multiple holes right side
IPP_FINISHINGS_PUNCH_MULTIPLE_TOP Punch multiple holes top edge
IPP_FINISHINGS_PUNCH_QUAD_BOTTOM Punch 4 holes bottom edge
IPP_FINISHINGS_PUNCH_QUAD_LEFT Punch 4 holes left side
IPP_FINISHINGS_PUNCH_QUAD_RIGHT Punch 4 holes right side
IPP_FINISHINGS_PUNCH_QUAD_TOP Punch 4 holes top edge
IPP_FINISHINGS_PUNCH_TOP_LEFT Punch 1 hole top left
IPP_FINISHINGS_PUNCH_TOP_RIGHT Punch 1 hole top right
IPP_FINISHINGS_PUNCH_TRIPLE_BOTTOM Punch 3 holes bottom edge
IPP_FINISHINGS_PUNCH_TRIPLE_LEFT Punch 3 holes left side
IPP_FINISHINGS_PUNCH_TRIPLE_RIGHT Punch 3 holes right side
IPP_FINISHINGS_PUNCH_TRIPLE_TOP Punch 3 holes top edge
IPP_FINISHINGS_SADDLE_STITCH Staple interior
IPP_FINISHINGS_STAPLE Staple (any location/method)
IPP_FINISHINGS_STAPLE_BOTTOM_LEFT Staple bottom left corner
IPP_FINISHINGS_STAPLE_BOTTOM_RIGHT Staple bottom right corner
IPP_FINISHINGS_STAPLE_DUAL_BOTTOM Two staples on bottom
IPP_FINISHINGS_STAPLE_DUAL_LEFT Two staples on left
IPP_FINISHINGS_STAPLE_DUAL_RIGHT Two staples on right
IPP_FINISHINGS_STAPLE_DUAL_TOP Two staples on top
IPP_FINISHINGS_STAPLE_TOP_LEFT Staple top left corner
IPP_FINISHINGS_STAPLE_TOP_RIGHT Staple top right corner
IPP_FINISHINGS_STAPLE_TRIPLE_BOTTOM Three staples on bottom
IPP_FINISHINGS_STAPLE_TRIPLE_LEFT Three staples on left
IPP_FINISHINGS_STAPLE_TRIPLE_RIGHT Three staples on right
IPP_FINISHINGS_STAPLE_TRIPLE_TOP Three staples on top
IPP_FINISHINGS_TRIM Trim (any type)
IPP_FINISHINGS_TRIM_AFTER_COPIES Trim output after each copy
IPP_FINISHINGS_TRIM_AFTER_DOCUMENTS Trim output after each document
IPP_FINISHINGS_TRIM_AFTER_JOB Trim output after job
IPP_FINISHINGS_TRIM_AFTER_PAGES Trim output after each page
+

ipp_jstate_e

+

Job states

+

Constants

+ + + + + + + + +
IPP_JSTATE_ABORTED Job has aborted due to error
IPP_JSTATE_CANCELED Job has been canceled
IPP_JSTATE_COMPLETED Job has completed successfully
IPP_JSTATE_HELD Job is held for printing
IPP_JSTATE_PENDING Job is waiting to be printed
IPP_JSTATE_PROCESSING Job is currently printing
IPP_JSTATE_STOPPED Job has been stopped
+

ipp_op_e

+

IPP operations

+

Constants

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IPP_OP_ALLOCATE_PRINTER_RESOURCES Allocate-Printer-Resources: Use resources for a printer.
IPP_OP_CANCEL_CURRENT_JOB Cancel-Current-Job: Cancel the current job
IPP_OP_CANCEL_JOB Cancel-Job: Cancel a job
IPP_OP_CANCEL_JOBS Cancel-Jobs: Cancel all jobs (administrative)
IPP_OP_CANCEL_MY_JOBS Cancel-My-Jobs: Cancel a user's jobs
IPP_OP_CANCEL_RESOURCE Cancel-Resource: Uninstall a resource.
IPP_OP_CANCEL_SUBSCRIPTION  CUPS 1.2/macOS 10.5  Cancel-Subscription: Cancel a subscription
IPP_OP_CLOSE_JOB Close-Job: Close a job and start printing
IPP_OP_CREATE_JOB Create-Job: Create an empty print job
IPP_OP_CREATE_JOB_SUBSCRIPTIONS  CUPS 1.2/macOS 10.5  Create-Job-Subscriptions: Create one of more job subscriptions
IPP_OP_CREATE_PRINTER Create-Printer: Create a new service.
IPP_OP_CREATE_PRINTER_SUBSCRIPTIONS  CUPS 1.2/macOS 10.5  Create-Printer-Subscriptions: Create one or more printer subscriptions
IPP_OP_CREATE_RESOURCE Create-Resource: Create a new (empty) resource.
IPP_OP_CREATE_RESOURCE_SUBSCRIPTIONS Create-Resource-Subscriptions: Create event subscriptions for a resource.
IPP_OP_CREATE_SYSTEM_SUBSCRIPTIONS Create-System-Subscriptions: Create event subscriptions for a system.
IPP_OP_CUPS_ADD_MODIFY_CLASS CUPS-Add-Modify-Class: Add or modify a class
IPP_OP_CUPS_ADD_MODIFY_PRINTER CUPS-Add-Modify-Printer: Add or modify a printer
IPP_OP_CUPS_AUTHENTICATE_JOB  CUPS 1.2/macOS 10.5  CUPS-Authenticate-Job: Authenticate a job
IPP_OP_CUPS_CREATE_LOCAL_PRINTER  CUPS 2.2  CUPS-Create-Local-Printer: Create a local (temporary) printer
IPP_OP_CUPS_DELETE_CLASS CUPS-Delete-Class: Delete a class
IPP_OP_CUPS_DELETE_PRINTER CUPS-Delete-Printer: Delete a printer
IPP_OP_CUPS_GET_DEFAULT CUPS-Get-Default: Get the default printer
IPP_OP_CUPS_GET_DEVICES  DEPRECATED  CUPS-Get-Devices: Get a list of supported devices
IPP_OP_CUPS_GET_DOCUMENT  CUPS 1.4/macOS 10.6  CUPS-Get-Document: Get a document file
IPP_OP_CUPS_GET_PPD  DEPRECATED  CUPS-Get-PPD: Get a PPD file
IPP_OP_CUPS_GET_PPDS  DEPRECATED  CUPS-Get-PPDs: Get a list of supported drivers
IPP_OP_CUPS_GET_PRINTERS CUPS-Get-Printers: Get a list of printers and/or classes
IPP_OP_CUPS_INVALID Invalid operation name for ippOpValue
IPP_OP_CUPS_MOVE_JOB CUPS-Move-Job: Move a job to a different printer
IPP_OP_CUPS_SET_DEFAULT CUPS-Set-Default: Set the default printer
IPP_OP_DEALLOCATE_PRINTER_RESOURCES Deallocate-Printer-Resources: Stop using resources for a printer.
IPP_OP_DELETE_PRINTER Delete-Printer: Delete an existing service.
IPP_OP_DISABLE_ALL_PRINTERS Disable-All-Printers: Stop accepting new jobs on all services.
IPP_OP_DISABLE_PRINTER Disable-Printer: Reject new jobs for a printer
IPP_OP_ENABLE_ALL_PRINTERS Enable-All-Printers: Start accepting new jobs on all services.
IPP_OP_ENABLE_PRINTER Enable-Printer: Accept new jobs for a printer
IPP_OP_GET_JOBS Get-Jobs: Get a list of jobs
IPP_OP_GET_JOB_ATTRIBUTES Get-Job-Attribute: Get information about a job
IPP_OP_GET_NOTIFICATIONS  CUPS 1.2/macOS 10.5  Get-Notifications: Get notification events
IPP_OP_GET_PRINTERS Get-Printers: Get a list of services.
IPP_OP_GET_PRINTER_ATTRIBUTES Get-Printer-Attributes: Get information about a printer
IPP_OP_GET_PRINTER_SUPPORTED_VALUES Get-Printer-Supported-Values: Get supported values
IPP_OP_GET_SUBSCRIPTIONS  CUPS 1.2/macOS 10.5  Get-Subscriptions: Get list of subscriptions
IPP_OP_GET_SUBSCRIPTION_ATTRIBUTES  CUPS 1.2/macOS 10.5  Get-Subscription-Attributes: Get subscription information
IPP_OP_GET_SYSTEM_ATTRIBUTES Get-System-Attributes: Get system object attributes.
IPP_OP_GET_SYSTEM_SUPPORTED_VALUES Get-System-Supported-Values: Get supported values for system object attributes.
IPP_OP_HOLD_JOB Hold-Job: Hold a job for printing
IPP_OP_HOLD_NEW_JOBS Hold-New-Jobs: Hold new jobs
IPP_OP_IDENTIFY_PRINTER Identify-Printer: Make the printer beep, flash, or display a message for identification
IPP_OP_INSTALL_RESOURCE Install-Resource: Install a resource.
IPP_OP_PAUSE_ALL_PRINTERS Pause-All-Printers: Stop all services immediately.
IPP_OP_PAUSE_ALL_PRINTERS_AFTER_CURRENT_JOB Pause-All-Printers-After-Current-Job: Stop all services after processing the current jobs.
IPP_OP_PAUSE_PRINTER Pause-Printer: Stop a printer
IPP_OP_PAUSE_PRINTER_AFTER_CURRENT_JOB Pause-Printer-After-Current-Job: Stop printer after the current job
IPP_OP_PRINT_JOB Print-Job: Print a single file
IPP_OP_PROMOTE_JOB Promote-Job: Promote a job to print sooner
IPP_OP_REGISTER_OUTPUT_DEVICE Register-Output-Device: Register a remote service.
IPP_OP_RELEASE_HELD_NEW_JOBS Release-Held-New-Jobs: Release new jobs that were previously held
IPP_OP_RELEASE_JOB Release-Job: Release a job for printing
IPP_OP_RENEW_SUBSCRIPTION  CUPS 1.2/macOS 10.5  Renew-Subscription: Renew a printer subscription
IPP_OP_RESTART_JOB  DEPRECATED  Restart-Job: Reprint a job
IPP_OP_RESTART_SYSTEM Restart-System: Restart all services.
IPP_OP_RESUME_ALL_PRINTERS Resume-All-Printers: Start job processing on all services.
IPP_OP_RESUME_JOB Resume-Job: Resume the current job
IPP_OP_RESUME_PRINTER Resume-Printer: Start a printer
IPP_OP_SCHEDULE_JOB_AFTER Schedule-Job-After: Schedule a job to print after another
IPP_OP_SEND_DOCUMENT Send-Document: Add a file to a job
IPP_OP_SEND_RESOURCE_DATA Send-Resource-Data: Upload the data for a resource.
IPP_OP_SET_JOB_ATTRIBUTES Set-Job-Attributes: Set job values
IPP_OP_SET_PRINTER_ATTRIBUTES Set-Printer-Attributes: Set printer values
IPP_OP_SET_RESOURCE_ATTRIBUTES Set-Resource-Attributes: Set resource object attributes.
IPP_OP_SET_SYSTEM_ATTRIBUTES Set-System-Attributes: Set system object attributes.
IPP_OP_SHUTDOWN_ALL_PRINTERS Shutdown-All-Printers: Shutdown all services.
IPP_OP_SHUTDOWN_ONE_PRINTER Shutdown-One-Printer: Shutdown a service.
IPP_OP_STARTUP_ALL_PRINTERS Startup-All-Printers: Startup all services.
IPP_OP_STARTUP_ONE_PRINTER Startup-One-Printer: Start a service.
IPP_OP_SUSPEND_CURRENT_JOB Suspend-Current-Job: Suspend the current job
IPP_OP_VALIDATE_JOB Validate-Job: Validate job values prior to submission
+

ipp_orient_e

+

Orientation values

+

Constants

+ + + + + + +
IPP_ORIENT_LANDSCAPE 90 degrees counter-clockwise
IPP_ORIENT_NONE No rotation
IPP_ORIENT_PORTRAIT No rotation
IPP_ORIENT_REVERSE_LANDSCAPE 90 degrees clockwise
IPP_ORIENT_REVERSE_PORTRAIT 180 degrees
+

ipp_pstate_e

+

Printer state values

+

Constants

+ + + + +
IPP_PSTATE_IDLE Printer is idle
IPP_PSTATE_PROCESSING Printer is working
IPP_PSTATE_STOPPED Printer is stopped
+

ipp_quality_e

+

Print quality values

+

Constants

+ + + + +
IPP_QUALITY_DRAFT Draft quality
IPP_QUALITY_HIGH High quality
IPP_QUALITY_NORMAL Normal quality
+

ipp_res_e

+

Resolution units

+

Constants

+ + + +
IPP_RES_PER_CM Pixels per centimeter
IPP_RES_PER_INCH Pixels per inch
+

ipp_rstate_e

+

resource-state values

+

Constants

+ + + + + + +
IPP_RSTATE_ABORTED Resource has been aborted and is pending deletion.
IPP_RSTATE_AVAILABLE Resource is available for installation.
IPP_RSTATE_CANCELED Resource has been canceled and is pending deletion.
IPP_RSTATE_INSTALLED Resource is installed.
IPP_RSTATE_PENDING Resource is created but has no data yet.
+

ipp_sstate_e

+

system-state values

+

Constants

+ + + + +
IPP_SSTATE_IDLE At least one printer is idle and none are processing a job.
IPP_SSTATE_PROCESSING At least one printer is processing a job.
IPP_SSTATE_STOPPED All printers are stopped.
+

ipp_state_e

+

ipp_t state values

+

Constants

+ + + + + + +
IPP_STATE_ATTRIBUTE One or more attributes need to be sent/received
IPP_STATE_DATA IPP request data needs to be sent/received
IPP_STATE_ERROR An error occurred
IPP_STATE_HEADER The request header needs to be sent/received
IPP_STATE_IDLE Nothing is happening/request completed
+

ipp_status_e

+

IPP status code values

+

Constants

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IPP_STATUS_CUPS_INVALID Invalid status name for ippErrorValue
IPP_STATUS_ERROR_ACCOUNT_AUTHORIZATION_FAILED client-error-account-authorization-failed
IPP_STATUS_ERROR_ACCOUNT_CLOSED client-error-account-closed
IPP_STATUS_ERROR_ACCOUNT_INFO_NEEDED client-error-account-info-needed
IPP_STATUS_ERROR_ACCOUNT_LIMIT_REACHED client-error-account-limit-reached
IPP_STATUS_ERROR_ATTRIBUTES_NOT_SETTABLE client-error-attributes-not-settable
IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES client-error-attributes-or-values-not-supported
IPP_STATUS_ERROR_BAD_REQUEST client-error-bad-request
IPP_STATUS_ERROR_BUSY server-error-busy
IPP_STATUS_ERROR_CHARSET client-error-charset-not-supported
IPP_STATUS_ERROR_COMPRESSION_ERROR client-error-compression-error
IPP_STATUS_ERROR_COMPRESSION_NOT_SUPPORTED client-error-compression-not-supported
IPP_STATUS_ERROR_CONFLICTING client-error-conflicting-attributes
IPP_STATUS_ERROR_CUPS_ACCOUNT_AUTHORIZATION_FAILED  DEPRECATED  cups-error-account-authorization-failed
IPP_STATUS_ERROR_CUPS_ACCOUNT_CLOSED cups-error-account-closed @deprecate@
IPP_STATUS_ERROR_CUPS_ACCOUNT_INFO_NEEDED  DEPRECATED  cups-error-account-info-needed
IPP_STATUS_ERROR_CUPS_ACCOUNT_LIMIT_REACHED  DEPRECATED  cups-error-account-limit-reached
IPP_STATUS_ERROR_CUPS_AUTHENTICATION_CANCELED  CUPS 1.5/macOS 10.7  cups-authentication-canceled - Authentication canceled by user
IPP_STATUS_ERROR_CUPS_PKI  CUPS 1.5/macOS 10.7  cups-pki-error - Error negotiating a secure connection
IPP_STATUS_ERROR_CUPS_UPGRADE_REQUIRED  CUPS 1.5/macOS 10.7  cups-upgrade-required - TLS upgrade required
IPP_STATUS_ERROR_DEVICE server-error-device-error
IPP_STATUS_ERROR_DOCUMENT_ACCESS client-error-document-access-error
IPP_STATUS_ERROR_DOCUMENT_FORMAT_ERROR client-error-document-format-error
IPP_STATUS_ERROR_DOCUMENT_FORMAT_NOT_SUPPORTED client-error-document-format-not-supported
IPP_STATUS_ERROR_DOCUMENT_PASSWORD client-error-document-password-error
IPP_STATUS_ERROR_DOCUMENT_PERMISSION client-error-document-permission-error
IPP_STATUS_ERROR_DOCUMENT_SECURITY client-error-document-security-error
IPP_STATUS_ERROR_DOCUMENT_UNPRINTABLE client-error-document-unprintable-error
IPP_STATUS_ERROR_FORBIDDEN client-error-forbidden
IPP_STATUS_ERROR_GONE client-error-gone
IPP_STATUS_ERROR_IGNORED_ALL_SUBSCRIPTIONS client-error-ignored-all-subscriptions
IPP_STATUS_ERROR_INTERNAL server-error-internal-error
IPP_STATUS_ERROR_JOB_CANCELED server-error-job-canceled
IPP_STATUS_ERROR_MULTIPLE_JOBS_NOT_SUPPORTED server-error-multiple-document-jobs-not-supported
IPP_STATUS_ERROR_NOT_ACCEPTING_JOBS server-error-not-accepting-jobs
IPP_STATUS_ERROR_NOT_AUTHENTICATED client-error-not-authenticated
IPP_STATUS_ERROR_NOT_AUTHORIZED client-error-not-authorized
IPP_STATUS_ERROR_NOT_FETCHABLE client-error-not-fetchable
IPP_STATUS_ERROR_NOT_FOUND client-error-not-found
IPP_STATUS_ERROR_NOT_POSSIBLE client-error-not-possible
IPP_STATUS_ERROR_OPERATION_NOT_SUPPORTED server-error-operation-not-supported
IPP_STATUS_ERROR_PRINTER_IS_DEACTIVATED server-error-printer-is-deactivated
IPP_STATUS_ERROR_REQUEST_ENTITY client-error-request-entity-too-large
IPP_STATUS_ERROR_REQUEST_VALUE client-error-request-value-too-long
IPP_STATUS_ERROR_SERVICE_UNAVAILABLE server-error-service-unavailable
IPP_STATUS_ERROR_TEMPORARY server-error-temporary-error
IPP_STATUS_ERROR_TIMEOUT client-error-timeout
IPP_STATUS_ERROR_TOO_MANY_DOCUMENTS server-error-too-many-documents
IPP_STATUS_ERROR_TOO_MANY_JOBS server-error-too-many-jobs
IPP_STATUS_ERROR_TOO_MANY_SUBSCRIPTIONS client-error-too-many-subscriptions
IPP_STATUS_ERROR_URI_SCHEME client-error-uri-scheme-not-supported
IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED server-error-version-not-supported
IPP_STATUS_OK successful-ok
IPP_STATUS_OK_CONFLICTING successful-ok-conflicting-attributes
IPP_STATUS_OK_EVENTS_COMPLETE successful-ok-events-complete
IPP_STATUS_OK_IGNORED_OR_SUBSTITUTED successful-ok-ignored-or-substituted-attributes
IPP_STATUS_OK_IGNORED_SUBSCRIPTIONS successful-ok-ignored-subscriptions
IPP_STATUS_OK_TOO_MANY_EVENTS successful-ok-too-many-events
+

ipp_tag_e

+

Value and group tag values for attributes

+

Constants

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IPP_TAG_ADMINDEFINE Admin-defined value
IPP_TAG_BOOLEAN Boolean value
IPP_TAG_CHARSET Character set value
IPP_TAG_CUPS_INVALID Invalid tag name for ippTagValue
IPP_TAG_DATE Date/time value
IPP_TAG_DEFAULT Default value
IPP_TAG_DELETEATTR Delete-attribute value
IPP_TAG_DOCUMENT Document group
IPP_TAG_END End-of-attributes
IPP_TAG_ENUM Enumeration value
IPP_TAG_EVENT_NOTIFICATION Event group
IPP_TAG_INTEGER Integer value
IPP_TAG_JOB Job group
IPP_TAG_KEYWORD Keyword value
IPP_TAG_LANGUAGE Language value
IPP_TAG_MIMETYPE MIME media type value
IPP_TAG_NAME Name value
IPP_TAG_NAMELANG Name-with-language value
IPP_TAG_NOTSETTABLE Not-settable value
IPP_TAG_NOVALUE No-value value
IPP_TAG_OPERATION Operation group
IPP_TAG_PRINTER Printer group
IPP_TAG_RANGE Range value
IPP_TAG_RESOLUTION Resolution value
IPP_TAG_RESOURCE Resource group
IPP_TAG_STRING Octet string value
IPP_TAG_SUBSCRIPTION Subscription group
IPP_TAG_SYSTEM System group
IPP_TAG_TEXT Text value
IPP_TAG_TEXTLANG Text-with-language value
IPP_TAG_UNKNOWN Unknown value
IPP_TAG_UNSUPPORTED_GROUP Unsupported attributes group
IPP_TAG_UNSUPPORTED_VALUE Unsupported value
IPP_TAG_URI URI value
IPP_TAG_URISCHEME URI scheme value
IPP_TAG_ZERO Zero tag - used for separators
+
+ + diff --git a/doc/help/encryption.html b/doc/help/encryption.html new file mode 100644 index 0000000..55f4eaf --- /dev/null +++ b/doc/help/encryption.html @@ -0,0 +1,55 @@ + + + + + Managing Encryption + + + +

Managing Encryption

+

CUPS supports TLS encryption in two ways:

+
    +
  1. Using HTTPS (always on) as soon as a connection is established, and
  2. +
  3. Using HTTP Upgrade to TLS (opportunistic) after the connection is established.
  4. +
+

CUPS supports self-signed, CA-signed, and enterprise certificates, with configurable certificate validation, cipher suite, and SSL/TLS version policies.

+

Out of the box, CUPS uses a Trust On First Use ("TOFU") certificate validation policy like the popular Secure Shell (ssh) software, requires TLS/1.0 or higher, only allows secure cipher suites, and automatically creates a "self-signed" certificate and private key for the scheduler so that remote administration operations and printer sharing are encrypted by default.

+ +

Configuring Client TLS Policies

+

The client.conf file controls the client TLS policies. The default policy is:

+
+AllowAnyRoot Yes
+AllowExpiredCerts No
+Encryption IfRequested
+SSLOptions None
+TrustOnFirstUse Yes
+ValidateCerts No
+
+

A client can be configured to only communicate with trusted TLS/1.1+ servers and printers by copying the corresponding certificates to the client (see below) and using the following policy in the client.conf file or macOS® printing preferences:

+
+AllowAnyRoot No
+AllowExpiredCerts No
+Encryption Required
+SSLOptions DenyTLS1.0
+TrustOnFirstUse No
+ValidateCerts Yes
+
+

Similarly, if a client needs to support an older server that only supports SSL/3.0 and RC4 cipher suites you can use the following policy option:

+
+SSLOptions AllowRC4 AllowSSL3
+
+ +

Configuring Server TLS Policies

+

Two directives in the cups-files.conf file control the server (scheduler) TLS policies - CreateSelfSignedCerts and ServerKeychain. The default policy creates self-signed certificates as needed.

+

The DefaultEncryption and Encryption directives in the cupsd.conf file control whether encryption is used. The default configuration requires encryption for remote access whenever authentication is required.

+ +

Platform Differences

+

macOS®

+

On macOS, client configuration settings for ordinary users are stored in the ~/Library/Preferences/org.cups.PrintingPrefs.plist file. System-wide and user certificates are stored in the system and login keychains, with private CUPS keychains being used for self-signed and CUPS-managed certificates.

+

Windows®

+

On Windows, client configuration settings are controlled by the SSL/TLS Group Policy settings and certificate stores.

+

Other Platforms

+

Other platforms only use the client.conf file and PEM-encoded certificates (hostname.crt) and private keys (hostname.key) in the /etc/cups/ssl and ~/.cups/ssl directories. If present, the /etc/cups/ssl/site.crt file defines a site-wide CA certificate that is used to validate server and printer certificates. Certificates for known servers and printers are stored by CUPS in the corresponding ssl directory so they can be validated for subsequent connections.

+

CUPS also supports certificates created and managed by the popular Let's Encrypt certificate service, which are stored in the /etc/letsencrypt/live directory.

+ + diff --git a/doc/help/firewalls.html b/doc/help/firewalls.html new file mode 100644 index 0000000..34f14cd --- /dev/null +++ b/doc/help/firewalls.html @@ -0,0 +1,74 @@ + + + + + Firewalls + + + +

Firewalls

+ +

This help document describes the ports that CUPS uses so that firewall administrators can allow traffic used for printing.

+ +

Ports Used for Printer Sharing

+ +

Table 1 lists the ports that are used for IPP printer sharing via CUPS.

+ +
+ + + + + + + + + +
Table 1: Ports Used for IPP Printer Sharing
(Destination) PortTCP/UDPDirectionDescription
53 (DNS)TCP/UDPOUTDomain Name System lookups and service registrations.
631 (IPP/IPPS)TCPINInternet Printing Protocol requests and responses (print jobs, status monitoring, etc.)
5353 (mDNS)UDPIN+OUTMulticast DNS lookups and service registrations.
+ +

Table 2 lists the ports that are used for SMB (Windows) printer sharing, typically via the Samba software.

+ +
+ + + + + + + + + +
Table 2: Ports Used for SMB Printer Sharing
(Destination) Port(s)TCP/UDPDirectionDescription
137 (WINS)UDPIN+OUTWindows Internet Naming Service (name lookup for SMB printing).
139 (SMB)TCPINWindows SMB printing.
445 (SMBDS)TCPIN+OUTWindows SMB Domain Server (authenticated SMB printing).
+ + +

Ports Used for Network Printers

+ +

Table 3 lists the ports for outgoing network traffic that are used for network printers.

+ +
Notes: +
    +
  1. DNS and mDNS are used for all printing protocols except SMB.
  2. +
  3. SNMP is used to provide status and supply level information for AppSocket and LPD printers.
  4. +
+
+ +
+ + + + + + + + + + + + + + + + +
Table 3: Outgoing Ports Used for Network Printers
(Destination) Port(s)TCP/UDPDescription
53 (DNS)TCP/UDPDomain Name System lookups.
137 (WINS)UDPWindows Internet Naming Service (name lookup for SMB printing).
139 (SMB)TCPWindows SMB printing.
161 (SNMP)UDPSNMP browsing (broadcast) and status monitoring (directed to printer IP address).
443 (IPPS)TCPInternet Printing Protocol requests and responses (print jobs, status monitoring, etc.)
445 (SMBDS)TCPWindows SMB Domain Server (authenticated SMB printing).
515 (LPD)TCPLine Printer Daemon (LPD/lpr) print job submission and status monitoring.
631 (IPP/IPPS)TCPInternet Printing Protocol requests and responses (print jobs, status monitoring, etc.)
5353 (mDNS)UDPMulticast DNS lookups.
9100-9102TCPRaw print data stream (AppSocket/JetDirect).
+ + diff --git a/doc/help/glossary.html b/doc/help/glossary.html new file mode 100644 index 0000000..6bd6137 --- /dev/null +++ b/doc/help/glossary.html @@ -0,0 +1,216 @@ + + + + Glossary + + + + +

Glossary

+ +

A

+ +
+ +
ASCII +
American Standard Code for Information Interchange + +
+ + +

C

+ +
+ +
C +
A computer language + +
Character Set +
The association of numbers with specific printed or + displayed characters or symbols + +
+ + +

E

+ +
+ +
ESC/P +
EPSON Standard Code for Printers + +
+ + +

F

+ +
+ +
FTP +
File Transfer Protocol + +
+ + +

G

+ +
+ +
GIF +
Graphics Interchange Format + +
+ + +

H

+ +
+ +
HP-PCL +
Hewlett-Packard Page Control Language + +
HP-PJL +
Hewlett-Packard Printer Job Language + +
+ + +

I

+ +
+ +
IETF +
Internet Engineering Task Force + +
IP +
Internet Protocol + +
IPv4 +
Internet Protocol, version 4; IPv4 addresses are 32-bits in + length and often look like "nnn.nnn.nnn.nnn" and "127.0.0.1" + +
IPv6 +
Internet Protocol, version 6: IPv6 addresses are 128-bits in + length and look like "xxxx::xxxx:xxxx:xxxx:xxxx" and "::1" + +
IPP +
Internet Printing Protocol + +
ISO +
International Standards Organization + +
+ + +

J

+ +
+ +
JFIF +
JPEG File Interchange Format + +
JPEG +
Joint Photographic Experts Group + +
+ + +

L

+ +
+ +
LPD +
Line Printer Daemon + +
+ + +

M

+ +
+ +
MIME +
Multimedia Internet Mail Exchange + +
+ + +

P

+ +
+ +
parallel +
Sending or receiving data more than 1 bit at a time + +
PDF +
Portable Document Format + +
pipe +
A one-way communications channel between two programs + +
PNG +
Portable Network Graphics + +
PostScript +
A page description language that is most often used + for printing + +
PPD +
PostScript Printer Description + +
PWG +
Printer Working Group + +
+ + +

S

+ +
+ +
serial +
Sending or receiving data 1 bit at a time + +
SMB +
Server Message Block + +
socket +
A two-way network communications channel + +
+ + +

T

+ +
+ +
TCP +
Transmission Control Protocol + +
TFTP +
Trivial File Transfer Protocol + +
TIFF +
Tagged Image File Format + +
+ + +

U

+ +
+ +
UDP +
Unicast Datagram Protocol + +
Unicode +
A universal character set for all languages of the + world + +
UTF-8 +
Unicode Transfer Format 8-Bit + +
+ + + diff --git a/doc/help/kerberos.html b/doc/help/kerberos.html new file mode 100644 index 0000000..9d5a9ee --- /dev/null +++ b/doc/help/kerberos.html @@ -0,0 +1,87 @@ + + + + Using Kerberos Authentication + + + + +

Using Kerberos Authentication

+ +

CUPS allows you to use a Key Distribution Center (KDC) for authentication on your local CUPS server and when printing to a remote authenticated queue. This document describes how to configure CUPS to use Kerberos authentication and provides links to the MIT help pages for configuring Kerberos on your systems and network.

+ + +

System Requirements

+ +

The following are required to use Kerberos with CUPS:

+ +
    + +
  1. Heimdal Kerberos (any version) or MIT Kerberos (1.6.3 or newer)
  2. + +
  3. Properly configured Domain Name System (DNS) infrastructure (for your servers):
      +
    1. DNS server(s) with static IP addresses for all CUPS servers or configured to allow DHCP updates to the host addresses and
    2. +
    3. All CUPS clients and servers configured to use the same +DNS server(s).
    4. +
  4. + +
  5. Properly configured Kerberos infrastructure:
      +
    1. KDC configured to allow CUPS servers to obtain Service Granting Tickets (SGTs) for the "host" and "HTTP" services/principals,
    2. +
    3. LDAP-based user accounts - both OpenDirectory and ActiveDirectory provide this with the KDC, and
    4. +
    5. CUPS clients and servers bound to the same KDC and LDAP + server(s).
    6. +
  6. + +
+ + +

Configuring Kerberos on Your System

+ +

Before you can use Kerberos with CUPS, you will need to configure Kerberos on your system and setup a system as a KDC. Because this configuration is highly system and site-specific, please consult the following on-line resources provided by the creators of Kerberos at the Massachusetts Institute of Technology (MIT):

+ + + +

The Linux Documentation Project also has a HOWTO on Kerberos:

+ + + + +

Configuring CUPS to Use Kerberos

+ +

Once you have configured Kerberos on your system(s), you can then enable Kerberos authentication by selecting the Negotiate authentication type. The simplest way to do this is using the cupsctl(8) command on your server(s):

+ +
+cupsctl DefaultAuthType=Negotiate
+
+ +

You can also enable Kerberos from the web interface by checking the Use Kerberos Authentication box and clicking Change Settings:

+ +
+http://server.example.com:631/admin
+
+ +

After you have enabled Kerberos authentication, use the built-in "authenticated" policy or your own custom policies with the printers you will be sharing. See Managing Operation Policies for more information.

+ + +

Implementation Information

+ +

CUPS implements Kerberos over HTTP using GSSAPI and the service/principal names "host/server.example.com" for command-line access and "HTTP/server.example.com" for web-based access, where "server.example.com" is replaced by your CUPS server's hostname. Because of limitations in the HTTP GSSAPI protocol extension, only a single domain/KDC is supported for authentication. The HTTP extension is described in RFC 4559.

+ +

When doing printing tasks that require authentication, CUPS requests single-use "tickets" from your login session to authenticate who you are. These tickets give CUPS a username of the form "user@REALM", which is then truncated to just "user" for purposes of user and group checks.

+ +

In order to support printing to a shared printer, CUPS runs the IPP or SMB backend as the owner of the print job so it can obtain the necessary credentials when the job is de-spooled to the server.

+ + + diff --git a/doc/help/license.html b/doc/help/license.html new file mode 100644 index 0000000..8086c6e --- /dev/null +++ b/doc/help/license.html @@ -0,0 +1,207 @@ + + + + Apache License Version 2.0 + + + + +

Apache License

+ +

Version 2.0, January 2004

+http://www.apache.org/licenses/

+ +

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

+

1. Definitions.

+

"License" shall mean the terms and conditions for use, reproduction, and +distribution as defined by Sections 1 through 9 of this document.

+

"Licensor" shall mean the copyright owner or entity authorized by the +copyright owner that is granting the License.

+

"Legal Entity" shall mean the union of the acting entity and all other +entities that control, are controlled by, or are under common control with +that entity. For the purposes of this definition, "control" means (i) the +power, direct or indirect, to cause the direction or management of such +entity, whether by contract or otherwise, or (ii) ownership of fifty +percent (50%) or more of the outstanding shares, or (iii) beneficial +ownership of such entity.

+

"You" (or "Your") shall mean an individual or Legal Entity exercising +permissions granted by this License.

+

"Source" form shall mean the preferred form for making modifications, +including but not limited to software source code, documentation source, +and configuration files.

+

"Object" form shall mean any form resulting from mechanical transformation +or translation of a Source form, including but not limited to compiled +object code, generated documentation, and conversions to other media types.

+

"Work" shall mean the work of authorship, whether in Source or Object form, +made available under the License, as indicated by a copyright notice that +is included in or attached to the work (an example is provided in the +Appendix below).

+

"Derivative Works" shall mean any work, whether in Source or Object form, +that is based on (or derived from) the Work and for which the editorial +revisions, annotations, elaborations, or other modifications represent, as +a whole, an original work of authorship. For the purposes of this License, +Derivative Works shall not include works that remain separable from, or +merely link (or bind by name) to the interfaces of, the Work and Derivative +Works thereof.

+

"Contribution" shall mean any work of authorship, including the original +version of the Work and any modifications or additions to that Work or +Derivative Works thereof, that is intentionally submitted to Licensor for +inclusion in the Work by the copyright owner or by an individual or Legal +Entity authorized to submit on behalf of the copyright owner. For the +purposes of this definition, "submitted" means any form of electronic, +verbal, or written communication sent to the Licensor or its +representatives, including but not limited to communication on electronic +mailing lists, source code control systems, and issue tracking systems that +are managed by, or on behalf of, the Licensor for the purpose of discussing +and improving the Work, but excluding communication that is conspicuously +marked or otherwise designated in writing by the copyright owner as "Not a +Contribution."

+

"Contributor" shall mean Licensor and any individual or Legal Entity on +behalf of whom a Contribution has been received by Licensor and +subsequently incorporated within the Work.

+

2. Grant of Copyright License. Subject to the +terms and conditions of this License, each Contributor hereby grants to You +a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable +copyright license to reproduce, prepare Derivative Works of, publicly +display, publicly perform, sublicense, and distribute the Work and such +Derivative Works in Source or Object form.

+

3. Grant of Patent License. Subject to the terms +and conditions of this License, each Contributor hereby grants to You a +perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable +(except as stated in this section) patent license to make, have made, use, +offer to sell, sell, import, and otherwise transfer the Work, where such +license applies only to those patent claims licensable by such Contributor +that are necessarily infringed by their Contribution(s) alone or by +combination of their Contribution(s) with the Work to which such +Contribution(s) was submitted. If You institute patent litigation against +any entity (including a cross-claim or counterclaim in a lawsuit) alleging +that the Work or a Contribution incorporated within the Work constitutes +direct or contributory patent infringement, then any patent licenses +granted to You under this License for that Work shall terminate as of the +date such litigation is filed.

+

4. Redistribution. You may reproduce and +distribute copies of the Work or Derivative Works thereof in any medium, +with or without modifications, and in Source or Object form, provided that +You meet the following conditions:

+
    +
  1. You must give any other recipients of the Work or Derivative Works a +copy of this License; and
  2. + +
  3. You must cause any modified files to carry prominent notices stating +that You changed the files; and
  4. + +
  5. You must retain, in the Source form of any Derivative Works that You +distribute, all copyright, patent, trademark, and attribution notices from +the Source form of the Work, excluding those notices that do not pertain to +any part of the Derivative Works; and
  6. + +
  7. If the Work includes a "NOTICE" text file as part of its distribution, +then any Derivative Works that You distribute must include a readable copy +of the attribution notices contained within such NOTICE file, excluding +those notices that do not pertain to any part of the Derivative Works, in +at least one of the following places: within a NOTICE text file distributed +as part of the Derivative Works; within the Source form or documentation, +if provided along with the Derivative Works; or, within a display generated +by the Derivative Works, if and wherever such third-party notices normally +appear. The contents of the NOTICE file are for informational purposes only +and do not modify the License. You may add Your own attribution notices +within Derivative Works that You distribute, alongside or as an addendum to +the NOTICE text from the Work, provided that such additional attribution +notices cannot be construed as modifying the License. +
    +
    +You may add Your own copyright statement to Your modifications and may +provide additional or different license terms and conditions for use, +reproduction, or distribution of Your modifications, or for any such +Derivative Works as a whole, provided Your use, reproduction, and +distribution of the Work otherwise complies with the conditions stated in +this License. +
  8. + +
+ +

5. Submission of Contributions. Unless You +explicitly state otherwise, any Contribution intentionally submitted for +inclusion in the Work by You to the Licensor shall be under the terms and +conditions of this License, without any additional terms or conditions. +Notwithstanding the above, nothing herein shall supersede or modify the +terms of any separate license agreement you may have executed with Licensor +regarding such Contributions.

+

6. Trademarks. This License does not grant +permission to use the trade names, trademarks, service marks, or product +names of the Licensor, except as required for reasonable and customary use +in describing the origin of the Work and reproducing the content of the +NOTICE file.

+

7. Disclaimer of Warranty. Unless required by +applicable law or agreed to in writing, Licensor provides the Work (and +each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, +without limitation, any warranties or conditions of TITLE, +NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You +are solely responsible for determining the appropriateness of using or +redistributing the Work and assume any risks associated with Your exercise +of permissions under this License.

+

8. Limitation of Liability. In no event and +under no legal theory, whether in tort (including negligence), contract, or +otherwise, unless required by applicable law (such as deliberate and +grossly negligent acts) or agreed to in writing, shall any Contributor be +liable to You for damages, including any direct, indirect, special, +incidental, or consequential damages of any character arising as a result +of this License or out of the use or inability to use the Work (including +but not limited to damages for loss of goodwill, work stoppage, computer +failure or malfunction, or any and all other commercial damages or losses), +even if such Contributor has been advised of the possibility of such +damages.

+

9. Accepting Warranty or Additional Liability. +While redistributing the Work or Derivative Works thereof, You may choose +to offer, and charge a fee for, acceptance of support, warranty, indemnity, +or other liability obligations and/or rights consistent with this License. +However, in accepting such obligations, You may act only on Your own behalf +and on Your sole responsibility, not on behalf of any other Contributor, +and only if You agree to indemnify, defend, and hold each Contributor +harmless for any liability incurred by, or claims asserted against, such +Contributor by reason of your accepting any such warranty or additional +liability.

+

END OF TERMS AND CONDITIONS

+

APPENDIX: How to apply the Apache License to your work

+

To apply the Apache License to your work, attach the following boilerplate +notice, with the fields enclosed by brackets "[]" replaced with your own +identifying information. (Don't include the brackets!) The text should be +enclosed in the appropriate comment syntax for the file format. We also +recommend that a file or class name and description of purpose be included +on the same "printed page" as the copyright notice for easier +identification within third-party archives.

+ +
Copyright [yyyy] [name of copyright owner]
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+ +

CUPS Exceptions to the Apache 2.0 License

+ +

As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License.

+ +

In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software.

+ + + diff --git a/doc/help/man-backend.html b/doc/help/man-backend.html new file mode 100644 index 0000000..953a267 --- /dev/null +++ b/doc/help/man-backend.html @@ -0,0 +1,202 @@ + + + + + + backend(7) + + +

backend(7)

+

Name

+backend - cups backend transmission interfaces +

Synopsis

+backend +
+backend +job +user +title +num-copies +options +[ +filename +] +
+
+#include <cups/cups.h>
+
+const char *cupsBackendDeviceURI(char **argv);
+
+void cupsBackendReport(const char *device_scheme,
+                       const char *device_uri,
+                       const char *device_make_and_model,
+                       const char *device_info,
+                       const char *device_id,
+                       const char *device_location);
+
+ssize_t cupsBackChannelWrite(const char *buffer,
+                             size_t bytes, double timeout);
+
+int cupsSideChannelRead(cups_sc_command_t *command,
+                        cups_sc_status_t *status, char *data,
+                        int *datalen, double timeout);
+
+int cupsSideChannelWrite(cups_sc_command_t command,
+                         cups_sc_status_t status, const char *data,
+                         int datalen, double timeout);
+
+

Description

+Backends are a special type of +filter(7) +which is used to send print data to and discover different devices on the system. +

Like filters, backends must be capable of reading from a filename on the command-line or from the standard input, copying the standard input to a temporary file as required by the physical interface. +

The command name (argv[0]) is set to the device URI of the destination printer. +Authentication information in +argv[0] +is removed, so backend developers are urged to use the +DEVICE_URI +environment variable whenever authentication information is required. The +cupsBackendDeviceURI() +function may be used to retrieve the correct device URI. +

Back-channel data from the device should be relayed to the job filters using the cupsBackChannelWrite function. +

Backends are responsible for reading side-channel requests using the +cupsSideChannelRead() +function and responding with the +cupsSideChannelWrite() +function. The +CUPS_SC_FD +constant defines the file descriptor that should be monitored for incoming requests. +

Device Discovery

+When run with no arguments, the backend should list the devices and schemes it supports or is advertising to the standard output. +The output consists of zero or more lines consisting of any of the following forms: +
+
+    device-class scheme "Unknown" "device-info"
+    device-class device-uri "device-make-and-model" "device-info"
+    device-class device-uri "device-make-and-model" "device-info" "device-id"
+    device-class device-uri "device-make-and-model" "device-info" "device-id" "device-location"
+
+

The +cupsBackendReport() +function can be used to generate these lines and handle any necessary escaping of characters in the various strings. +

The +device-class +field is one of the following values: +

+
direct +
The device-uri refers to a specific direct-access device with no options, such as a parallel, USB, or SCSI device. +
file +
The device-uri refers to a file on disk. +
network +
The device-uri refers to a networked device and conforms to the general form for +network URIs. +
serial +
The device-uri refers to a serial device with configurable baud rate and other options. +If the device-uri contains a baud value, it represents the maximum baud rate supported by the device. +
+

The +scheme +field provides the URI scheme that is supported by the backend. +Backends should use this form only when the backend supports any URI using that scheme. +The +device-uri +field specifies the full URI to use when communicating with the device. +

The +device-make-and-model +field specifies the make and model of the device, e.g. "Example Foojet 2000". +If the make and model is not known, you must report "Unknown". +

The +device-info +field specifies additional information about the device. +Typically this includes the make and model along with the port number or network address, e.g. "Example Foojet 2000 USB #1". +

The optional +device-id +field specifies the IEEE-1284 device ID string for the device, which is used to select a matching driver. +

The optional +device-location +field specifies the physical location of the device, which is often used to pre-populate the printer-location attribute when adding a printer. +

Permissions

+Backends without world read and execute permissions are run as the root user. +Otherwise, the backend is run using an unprivileged user account, typically "lp". +

Exit Status

+The following exit codes are defined for backends: +
+
CUPS_BACKEND_OK +
The print file was successfully transmitted to the device or remote server. +
CUPS_BACKEND_FAILED +

+The print file was not successfully transmitted to the device or remote server. +The scheduler will respond to this by canceling the job, retrying the job, or stopping the queue depending on the state of the +printer-error-policy +attribute. +
CUPS_BACKEND_AUTH_REQUIRED +
The print file was not successfully transmitted because valid authentication information is required. +The scheduler will respond to this by holding the job and adding the 'cups-held-for-authentication' keyword to the "job-reasons" Job Description attribute. +
CUPS_BACKEND_HOLD +
The print file was not successfully transmitted because it cannot be printed at this time. +The scheduler will respond to this by holding the job. +
CUPS_BACKEND_STOP +
The print file was not successfully transmitted because it cannot be printed at this time. +The scheduler will respond to this by stopping the queue. +
CUPS_BACKEND_CANCEL +
The print file was not successfully transmitted because one or more attributes are not supported or the job was canceled at the printer. +The scheduler will respond to this by canceling the job. +
CUPS_BACKEND_RETRY +
The print file was not successfully transmitted because of a temporary issue. +The scheduler will retry the job at a future time - other jobs may print before this one. +
CUPS_BACKEND_RETRY_CURRENT +
The print file was not successfully transmitted because of a temporary issue. +The scheduler will retry the job immediately without allowing intervening jobs. +
+

All other exit code values are reserved. +

Environment

+In addition to the environment variables listed in +cups(1) +and +filter(7), +CUPS backends can expect the following environment variable: +
+
DEVICE_URI +
The device URI associated with the printer. +
+

Files

+/etc/cups/cups-files.conf +

Notes

+CUPS backends are not generally designed to be run directly by the user. +Aside from the device URI issue ( +argv[0] +and +DEVICE_URI +environment variable contain the device URI), CUPS backends also expect specific environment variables and file descriptors, and typically run in a user session that (on macOS) has additional restrictions that affect how it runs. +Backends can also be installed with restricted permissions (0500 or 0700) that tell the scheduler to run them as the "root" user instead of an unprivileged user (typically "lp") on the system. +

Unless you are a developer and know what you are doing, please do not run backends directly. +Instead, use the +lp(1) +or +lpr(1) +programs to send print jobs or +lpinfo(8) +to query for available printers using the backend. +The one exception is the SNMP backend - see +cups-snmp(8) +for more information. +

Notes

+CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

See Also

+cups(1), +cups-files.conf(5), +cups-snmp(8), +cupsd(8), +filter(7), +lp(1), +lpinfo(8), +lpr(1), +
+CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cancel.html b/doc/help/man-cancel.html new file mode 100644 index 0000000..c02f6f1 --- /dev/null +++ b/doc/help/man-cancel.html @@ -0,0 +1,89 @@ + + + + + + cancel(1) + + +

cancel(1)

+

Name

+cancel - cancel jobs +

Synopsis

+cancel +[ +-E +] [ +-U +username +] [ +-a +] [ +-h +hostname[:port] +] [ +-u +username +] [ +-x +] [ +id +] [ +destination +] [ +destination-id +] +

Description

+The cancel command cancels print jobs. +If no destination or id is specified, the currently printing job on the default destination is canceled. +

Options

+The following options are recognized by cancel: +
+
-a +
Cancel all jobs on the named destination, or all jobs on all +destinations if none is provided. +
-E +
Forces encryption when connecting to the server. +
-h hostname[:port] +
Specifies an alternate server. +
-U username +
Specifies the username to use when connecting to the server. +
-u username +
Cancels jobs owned by username. +
-x +
Deletes job data files in addition to canceling. +
+

Conforming To

+Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". Also, printer and class names are not case-sensitive. +

Examples

+Cancel the current print job: +
+
+    cancel
+
+
+Cancel job "myprinter-42": +
+
+    cancel myprinter-42
+
+
+Cancel all jobs: +
+
+    cancel -a
+
+

Notes

+Administrators wishing to prevent unauthorized cancellation of jobs via the -u option should require authentication for Cancel-Jobs operations in +cupsd.conf(5). +

See Also

+cupsd.conf(5), +lp(1), +lpmove(8), +lpstat(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-classes.conf.html b/doc/help/man-classes.conf.html new file mode 100644 index 0000000..f30ec90 --- /dev/null +++ b/doc/help/man-classes.conf.html @@ -0,0 +1,32 @@ + + + + + + classes.conf(5) + + +

classes.conf(5)

+

Name

+classes.conf - class configuration file for cups +

Description

+The classes.conf file defines the local printer classes that are available. +It is normally located in the /etc/cups directory and is maintained by the +cupsd(8) +program. +This file is not intended to be edited or managed manually. +

Notes

+The name, location, and format of this file are an implementation detail that will change in future releases of CUPS. +

See Also

+cupsd(8), +cupsd.conf(5), +mime.convs(5), +mime.types(5), +printers.conf(5), +subscriptions.conf(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-client.conf.html b/doc/help/man-client.conf.html new file mode 100644 index 0000000..032cd33 --- /dev/null +++ b/doc/help/man-client.conf.html @@ -0,0 +1,108 @@ + + + + + + client.conf(5) + + +

client.conf(5)

+

Name

+client.conf - client configuration file for cups (deprecated on macos) +

Description

+The client.conf file configures the CUPS client and is normally located in the /etc/cups and/or ~/.cups directories. +Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character. +

Note: Starting with macOS 10.7, this file is only used by command-line and X11 applications plus the IPP backend. +The ServerName directive is not supported on macOS at all. +Starting with macOS 10.12, all applications can access these settings in the /Library/Preferences/org.cups.PrintingPrefs.plist file instead. +See the NOTES section below for more information. +

Directives

+The following directives are understood by the client. Consult the online help for detailed descriptions: +
+
AllowAnyRoot Yes +
AllowAnyRoot No +
Specifies whether to allow TLS with certificates that have not been signed by a trusted Certificate Authority. +The default is "Yes". +
AllowExpiredCerts Yes +
AllowExpiredCerts No +
Specifies whether to allow TLS with expired certificates. +The default is "No". +
DigestOptions DenyMD5 +
DigestOptions None +
Specifies HTTP Digest authentication options. +DenyMD5 disables support for the original MD5 hash algorithm. +
Encryption IfRequested +
Encryption Never +
Encryption Required +
Specifies the level of encryption that should be used. +
GSSServiceName name +
Specifies the Kerberos service name that is used for authentication, typically "host", "http", or "ipp". +CUPS adds the remote hostname ("name@server.example.com") for you. The default name is "http". +
ServerName hostname-or-ip-address[:port] +
ServerName /domain/socket +
Specifies the address and optionally the port to use when connecting to the server. +Note: This directive is not supported on macOS 10.7 or later. +
ServerName hostname-or-ip-address[:port]/version=1.1 +
Specifies the address and optionally the port to use when connecting to a server running CUPS 1.3.12 and earlier. +
SSLOptions [AllowDH] [AllowRC4] [AllowSSL3] [DenyCBC] [DenyTLS1.0] [MaxTLS1.0] [MaxTLS1.1] [MaxTLS1.2] [MaxTLS1.3] [MinTLS1.0] [MinTLS1.1] [MinTLS1.2] [MinTLS1.3] +
SSLOptions None +
Sets encryption options (only in /etc/cups/client.conf). +By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites. +Security is reduced when Allow options are used. +Security is enhanced when Deny options are used. +The AllowDH option enables cipher suites using plain Diffie-Hellman key negotiation (not supported on systems using GNU TLS). +The AllowRC4 option enables the 128-bit RC4 cipher suites, which are required for some older clients. +The AllowSSL3 option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0. +The DenyCBC option disables all CBC cipher suites. +The DenyTLS1.0 option disables TLS v1.0 support - this sets the minimum protocol version to TLS v1.1. +The MinTLS options set the minimum TLS version to support. +The MaxTLS options set the maximum TLS version to support. +Not all operating systems support TLS 1.3 at this time. +
TrustOnFirstUse Yes +
TrustOnFirstUse No +
Specifies whether to trust new TLS certificates by default. +The default is "Yes". +
User name +
Specifies the default user name to use for requests. +
UserAgentTokens None +
UserAgentTokens ProductOnly +
UserAgentTokens Major +
UserAgentTokens Minor +
UserAgentTokens Minimal +
UserAgentTokens OS +
UserAgentTokens Full +
Specifies what information is included in the User-Agent header of HTTP requests. +"None" disables the User-Agent header. +"ProductOnly" reports "CUPS". +"Major" reports "CUPS/major IPP/2". +"Minor" reports "CUPS/major.minor IPP/2.1". +"Minimal" reports "CUPS/major.minor.patch IPP/2.1". +"OS" reports "CUPS/major.minor.path (osname osversion) IPP/2.1". +"Full" reports "CUPS/major.minor.path (osname osversion; architecture) IPP/2.1". +The default is "Minimal". +
ValidateCerts Yes +
ValidateCerts No +
Specifies whether to only allow TLS with certificates whose common name matches the hostname. +The default is "No". +
+

Notes

+The client.conf file is deprecated on macOS and will no longer be supported in a future version of CUPS. +Configuration settings can instead be viewed or changed using the +defaults(1) +command: +
+defaults write /Library/Preferences/org.cups.PrintingPrefs.plist Encryption Required
+defaults write /Library/Preferences/org.cups.PrintingPrefs.plist TrustOnFirstUse -bool NO
+
+defaults read /Library/Preferences/org.cups.PrintingPrefs.plist Encryption
+
+On Linux and other systems using GNU TLS, the /etc/cups/ssl/site.crl file, if present, provides a list of revoked X.509 certificates and is used when validating certificates. +

See Also

+cups(1), +default(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cups-config.html b/doc/help/man-cups-config.html new file mode 100644 index 0000000..e8d025f --- /dev/null +++ b/doc/help/man-cups-config.html @@ -0,0 +1,103 @@ + + + + + + cups-config(1) + + +

cups-config(1)

+

Name

+cups-config - get cups api, compiler, directory, and link information. +

Synopsis

+cups-config +--api-version +
+cups-config +--build +
+cups-config +--cflags +
+cups-config +--datadir +
+cups-config +--help +
+cups-config +--ldflags +
+cups-config +[ +--image +] [ +--static +] +--libs +
+cups-config +--serverbin +
+cups-config +--serverroot +
+cups-config +--version +
+

Description

+The cups-config command allows application developers to determine the necessary command-line options for the compiler and linker, as well as the installation directories for filters, configuration files, and drivers. +All values are reported to the standard output. +

Options

+The cups-config command accepts the following command-line options: +
+
--api-version +
Reports the current API version (major.minor). +
--build +
Reports a system-specific build number. +
--cflags +
Reports the necessary compiler options. +
--datadir +
Reports the default CUPS data directory. +
--help +
Reports the program usage message. +
--ldflags +
Reports the necessary linker options. +
--libs +
Reports the necessary libraries to link to. +
--serverbin +
Reports the default CUPS binary directory, where filters and backends are stored. +
--serverroot +
Reports the default CUPS configuration file directory. +
--static +
When used with --libs, reports the static libraries instead of the default (shared) libraries. +
--version +
Reports the full version number of the CUPS installation (major.minor.patch). +
+

Examples

+Show the currently installed version of CUPS: +
+
+    cups-config --version
+
+
+Compile a simple one-file CUPS filter: +
+
+    cc `cups-config --cflags --ldflags` -o filter filter.c \
+        `cups-config --libs`
+
+

Deprecated Options

+The following options are deprecated but continue to work for backwards compatibility: +
+
--image +
Formerly used to add the CUPS imaging library to the list of libraries. +
+

See Also

+cups(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cups-files.conf.html b/doc/help/man-cups-files.conf.html new file mode 100644 index 0000000..c567cbb --- /dev/null +++ b/doc/help/man-cups-files.conf.html @@ -0,0 +1,215 @@ + + + + + + cups-files.conf(5) + + +

cups-files.conf(5)

+

Name

+cups-files.conf - file and directory configuration file for cups +

Description

+The cups-files.conf file configures the files and directories used by the CUPS scheduler, +cupsd(8). +It is normally located in the /etc/cups directory. +

Each line in the file can be a configuration directive, a blank line, or a comment. +Configuration directives typically consist of a name and zero or more values separated by whitespace. +The configuration directive name and values are case-insensitive. +Comment lines start with the # character. +

Directives

+The following directives are understood by +cupsd(8): +
+
AccessLog +
AccessLog filename +
AccessLog stderr +
AccessLog syslog +
Defines the access log filename. +Specifying a blank filename disables access log generation. +The value "stderr" causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. +The value "syslog" causes log entries to be sent to the system log daemon. +The server name may be included in filenames using the string "%s", for example: +
+
+    AccessLog /var/log/cups/%s-access_log
+
+
+The default is "/var/log/cups/access_log". +
CacheDir directory +
Specifies the directory to use for long-lived temporary (cache) files. +The default is "/var/spool/cups/cache" or "/var/cache/cups" depending on the platform. +
ConfigFilePerm mode +
Specifies the permissions for all configuration files that the scheduler writes. +The default is "0644" on macOS and "0640" on all other operating systems. +
+

Note: The permissions for the printers.conf file are currently masked to only allow access from the scheduler user (typically root). +This is done because printer device URIs sometimes contain sensitive authentication information that should not be generally known on the system. +There is no way to disable this security feature. +

+
CreateSelfSignedCerts yes +
CreateSelfSignedCerts no +
Specifies whether the scheduler automatically creates self-signed certificates for client connections using TLS. +The default is yes. +
DataDir path +
Specifies the directory where data files can be found. +The default is usually "/usr/share/cups". +
DocumentRoot directory +
Specifies the root directory for the CUPS web interface content. +The default is usually "/usr/share/doc/cups". +
ErrorLog +
ErrorLog filename +
ErrorLog stderr +
ErrorLog syslog +
Defines the error log filename. +Specifying a blank filename disables error log generation. +The value "stderr" causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. +The value "syslog" causes log entries to be sent to the system log daemon. +The server name may be included in filenames using the string "%s", for example: +
+
+    ErrorLog /var/log/cups/%s-error_log
+
+
+The default is "/var/log/cups/error_log". +
FatalErrors none +
FatalErrors all -kind [ ... -kind ] +
FatalErrors kind [ ... kind ] +
Specifies which errors are fatal, causing the scheduler to exit. +The default is "config". +The kind strings are: +
+
+
none +
No errors are fatal. +
all +
All of the errors below are fatal. +
browse +
Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon. +
config +
Configuration file syntax errors are fatal. +
listen +
Listen or Port errors are fatal, except for IPv6 failures on the loopback or "any" addresses. +
log +
Log file creation or write errors are fatal. +
permissions +
Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions. +
+
Group group-name-or-number +
Specifies the group name or ID that will be used when executing external programs. +The default group is operating system specific but is usually "lp" or "nobody". +
LogFilePerm mode +
Specifies the permissions of all log files that the scheduler writes. +The default is "0644". +
PageLog [ filename ] +
PageLog stderr +
PageLog syslog +
Defines the page log filename. +The value "stderr" causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. +The value "syslog" causes log entries to be sent to the system log daemon. +Specifying a blank filename disables page log generation. +The server name may be included in filenames using the string "%s", for example: +
+
+    PageLog /var/log/cups/%s-page_log
+
+
+The default is "/var/log/cups/page_log". +
PassEnv variable [ ... variable ] +
Passes the specified environment variable(s) to child processes. +Note: the standard CUPS filter and backend environment variables cannot be overridden using this directive. +
RemoteRoot username +
Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. +The default is "remroot". +
RequestRoot directory +
Specifies the directory that contains print jobs and other HTTP request data. +The default is "/var/spool/cups". +
Sandboxing relaxed +
Sandboxing strict +
Specifies the level of security sandboxing that is applied to print filters, backends, and other child processes of the scheduler. +The default is "strict". +This directive is currently only used/supported on macOS. +
ServerBin directory +
Specifies the directory containing the backends, CGI programs, filters, helper programs, notifiers, and port monitors. +The default is "/usr/lib/cups" or "/usr/libexec/cups" depending on the platform. +
ServerKeychain path +
Specifies the location of TLS certificates and private keys. +The default is "/Library/Keychains/System.keychain" on macOS and "/etc/cups/ssl" on all other operating systems. +macOS uses its keychain database to store certificates and keys while other platforms use separate files in the specified directory, *.crt for PEM-encoded certificates and *.key for PEM-encoded private keys. +
ServerRoot directory +
Specifies the directory containing the server configuration files. +The default is "/etc/cups". +
SetEnv variable value +
Set the specified environment variable to be passed to child processes. +Note: the standard CUPS filter and backend environment variables cannot be overridden using this directive. +
StateDir directory +
Specifies the directory to use for PID and local certificate files. +The default is "/var/run/cups" or "/etc/cups" depending on the platform. +
SyncOnClose Yes +
SyncOnClose No +
Specifies whether the scheduler calls +fsync(2) +after writing configuration or state files. +The default is "No". +
SystemGroup group-name [ ... group-name ] +
Specifies the group(s) to use for @SYSTEM group authentication. +The default contains "admin", "lpadmin", "root", "sys", and/or "system". +
TempDir directory +
Specifies the directory where short-term temporary files are stored. +The default is "/var/spool/cups/tmp". +
User username +
Specifies the user name or ID that is used when running external programs. +The default is "lp". +
+

Deprecated Directives

+The following directives are deprecated and will be removed from a future version of CUPS: +
+
FileDevice Yes +
FileDevice No +
Specifies whether the file pseudo-device can be used for new printer queues. +The URI "file:///dev/null" is always allowed. +File devices cannot be used with "raw" print queues - a PPD file is required. +The specified file is overwritten for every print job. +Writing to directories is not supported. +
FontPath directory[:...:directoryN] +
Specifies a colon separated list of directories where fonts can be found. +On Linux the +font-config(1) +mechanism is used instead. +On macOS the Font Book application manages system-installed fonts. +
LPDConfigFile filename +
Specifies the LPD service configuration file to update. +
Printcap filename +
Specifies a file that is filled with a list of local print queues. +
PrintcapFormat bsd +
PrintcapFormat plist +
PrintcapFormat solaris +
Specifies the format to use for the Printcap file. +"bsd" is the historical LPD printcap file format. +"plist" is the Apple plist file format. +"solaris" is the historical Solaris LPD printcap file format. +
SMBConfigFile filename +
Specifies the SMB service configuration file to update. +
+

Notes

+The scheduler MUST be restarted manually after making changes to the cups-files.conf file. +On Linux this is typically done using the +systemctl(8) +command, while on macOS the +launchctl(8) +command is used instead. +

See Also

+classes.conf(5), +cups(1), +cupsd(8), +cupsd.conf(5), +mime.convs(5), +mime.types(5), +printers.conf(5), +subscriptions.conf(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cups-lpd.html b/doc/help/man-cups-lpd.html new file mode 100644 index 0000000..ad0e68e --- /dev/null +++ b/doc/help/man-cups-lpd.html @@ -0,0 +1,117 @@ + + + + + + cups-lpd(8) + + +

cups-lpd(8)

+

Name

+cups-lpd - receive print jobs and report printer status to lpd clients (deprecated) +

Synopsis

+cups-lpd +[ +-h hostname[:port] +] [ +-n +] [ +-o +option=value +] +

Description

+cups-lpd +is the CUPS Line Printer Daemon ("LPD") mini-server that supports legacy client systems that use the LPD protocol. +cups-lpd +does not act as a standalone network daemon but instead operates using any of the Internet "super-servers" such as +inetd(8), +launchd(8), +and +systemd(8). +

Options

+
+
-h hostname[:port] +
Sets the CUPS server (and port) to use. +
-n +
Disables reverse address lookups; normally +cups-lpd +will try to discover the hostname of the client via a reverse DNS lookup. +
-o name=value +
Inserts options for all print queues. Most often this is used to disable the "l" filter so that remote print jobs are filtered as needed for printing; the +inetd(8) +example below sets the "document-format" option to "application/octet-stream" which forces autodetection of the print file format. +
+

Conforming To

+cups-lpd +does not enforce the restricted source port number specified in RFC 1179, as using restricted ports does not prevent users from submitting print jobs. +While this behavior is different than standard Berkeley LPD implementations, it should not affect normal client operations. +

The output of the status requests follows RFC 2569, Mapping between LPD and IPP Protocols. Since many LPD implementations stray from this definition, remote status reporting to LPD clients may be unreliable. +

Errors

+Errors are sent to the system log. +

Files

+
+/etc/inetd.conf
+/etc/xinetd.d/cups-lpd
+/System/Library/LaunchDaemons/org.cups.cups-lpd.plist
+
+

Notes

+The +cups-lpd +program is deprecated and will no longer be supported in a future feature release of CUPS. +

Performance

+cups-lpd +performs well with small numbers of clients and printers. +However, since a new process is created for each connection and since each process must query the printing system before each job submission, it does not scale to larger configurations. +We highly recommend that large configurations use the native IPP support provided by CUPS instead. +

Security

+cups-lpd +currently does not perform any access control based on the settings in cupsd.conf(5) or in the hosts.allow(5) or hosts.deny(5) files used by TCP wrappers. +Therefore, running +cups-lpd +on your server will allow any computer on your network (and perhaps the entire +Internet) to print to your server. +

While +xinetd(8) +has built-in access control support, you should use the TCP wrappers package with +inetd(8) +to limit access to only those computers that should be able to print through your server. +

cups-lpd +is not enabled by the standard CUPS distribution. +Please consult with your operating system vendor to determine whether it is enabled by default on your system. +

Example

+If you are using +inetd(8), +add the following line to the inetd.conf file to enable the +cups-lpd +mini-server: +
+
+    printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd \
+        -o document-format=application/octet-stream
+
+
+

Note: If you are using Solaris 10 or higher, you must run the +inetdconv(1m) +program to register the changes to the inetd.conf file. +

CUPS includes configuration files for +launchd(8), +systemd(8), +and +xinetd(8). +Simply enable the +cups-lpd +service using the corresponding control program. +

See Also

+cups(1), +cupsd(8), +inetconv(1m), +inetd(8), +launchd(8), +xinetd(8), +CUPS Online Help (http://localhost:631/help), +RFC 2569 +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cups-snmp.conf.html b/doc/help/man-cups-snmp.conf.html new file mode 100644 index 0000000..d61d834 --- /dev/null +++ b/doc/help/man-cups-snmp.conf.html @@ -0,0 +1,60 @@ + + + + + + snmp.conf(5) + + +

snmp.conf(5)

+

Name

+snmp.conf - snmp configuration file for cups (deprecated) +

Description

+The +snmp.conf +file configures how the standard CUPS network backends (http, https, ipp, ipps, lpd, snmp, and socket) access printer information using SNMPv1 and is normally located in the /etc/cups directory. +Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character. +

The Community and DebugLevel directives are used by all backends. The remainder apply only to the SNMP backend - +cups-snmp(8). +

Directives

+The following directives are understood by the CUPS network backends: +
+
Address @IF(name) +
Address @LOCAL +
Address address +
Sends SNMP broadcast queries (for discovery) to the specified address(es). +There is no default for the broadcast address. +
Community name +
Specifies the community name to use. +Only a single community name may be specified. +The default community name is "public". +If no name is specified, all SNMP functions are disabled. +
DebugLevel number +
Specifies the logging level from 0 (none) to 3 (everything). +Typically only used for debugging (thus the name). +The default debug level is 0. +
DeviceURI "regular expression" device-uri [... device-uri] +
Specifies one or more device URIs that should be used for a given make and model string. +The regular expression is used to match the detected make and model, and the device URI strings must be of the form "scheme://%s[:port]/[path]", where "%s" represents the detected address or hostname. +There are no default device URI matching rules. +
HostNameLookups on +
HostNameLookups off +
Specifies whether the addresses of printers should be converted to hostnames or left as numeric IP addresses. +The default is "off". +
MaxRunTime seconds +
Specifies the maximum number of seconds that the SNMP backend will scan the +network for printers. +The default is 120 seconds (2 minutes). +
+

Notes

+CUPS backends are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

See Also

+cups-snmp(8), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cups-snmp.html b/doc/help/man-cups-snmp.html new file mode 100644 index 0000000..c7c17f7 --- /dev/null +++ b/doc/help/man-cups-snmp.html @@ -0,0 +1,57 @@ + + + + + + cups-snmp(8) + + +

cups-snmp(8)

+

Name

+snmp - cups snmp backend (deprecated) +

Synopsis

+/usr/lib/cups/backend/snmp +ip-address-or-hostname +
+/usr/libexec/cups/backend/snmp +ip-address-or-hostname +
+lpinfo +-v +--include-schemes +snmp +

Description

+The DEPRECATED CUPS SNMP backend provides legacy discovery and identification of network printers using SNMPv1. +When used for discovery through the scheduler, the backend will list all printers that respond to a broadcast SNMPv1 query with the "public" community name. +Additional queries are then sent to printers that respond in order to determine the correct device URI, make and model, and other information needed for printing. +

In the first form, the SNMP backend is run directly by the user to look up the device URI and other information when you have an IP address or hostname. +This can be used for programs that need to configure print queues where the user has supplied an address but nothing else. +

In the second form, the SNMP backend is run indirectly using the +lpinfo(8) +command. +The output provides all printers detected via SNMP on the configured +broadcast addresses. +Note: no broadcast addresses are configured by default. +

Environment

+The DebugLevel value can be overridden using the CUPS_DEBUG_LEVEL environment variable. +The MaxRunTime value can be overridden using the CUPS_MAX_RUN_TIME environment variable. +

Files

+The SNMP backend reads the /etc/cups/snmp.conf configuration file, if +present, to set the default broadcast address, community name, and logging +level. +

Notes

+The CUPS SNMP backend is deprecated and will no longer be supported in a future +version of CUPS. +

Conforming To

+The CUPS SNMP backend uses the information from the Host, Printer, and Port Monitor MIBs along with some vendor private MIBs and intelligent port probes to determine the correct device URI and make and model for each printer. +

See Also

+backend(7), +cups-snmp.conf(5), +cupsd(8), +lpinfo(8), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cups.html b/doc/help/man-cups.html new file mode 100644 index 0000000..d75ddc5 --- /dev/null +++ b/doc/help/man-cups.html @@ -0,0 +1,123 @@ + + + + + + cups(1) + + +

cups(1)

+

Name

+cups - a standards-based, open source printing system +

Description

+CUPS +is the software you use to print from applications like word processors, email readers, photo editors, and web browsers. It converts the page descriptions produced by your application (put a paragraph here, draw a line there, and so forth) into something your printer can understand and then sends the information to the printer for printing. +

Now, since every printer manufacturer does things differently, printing can be very complicated. +CUPS +does its best to hide this from you and your application so that you can concentrate on printing and less on how to print. Generally, the only time you need to know anything about your printer is when you use it for the first time, and even then +CUPS +can often figure things out on its own. +

How Does It Work?

+The first time you print to a printer, +CUPS +creates a queue to keep track of the current status of the printer (everything OK, out of paper, etc.) and any pages you have printed. Most of the time the queue points to a printer connected directly to your computer via a USB port, however it can also point to a printer on your network, a printer on the Internet, or multiple printers depending on the configuration. Regardless of where the queue points, it will look like any other printer to you and your applications. +

Every time you print something, +CUPS +creates a job which contains the queue you are sending the print to, the name of the document you are printing, and the page descriptions. Job are numbered (queue-1, queue-2, and so forth) so you can monitor the job as it is printed or cancel it if you see a mistake. When +CUPS +gets a job for printing, it determines the best programs (filters, printer drivers, port monitors, and backends) to convert the pages into a printable format and then runs them to actually print the job. +

When the print job is completely printed, +CUPS +removes the job from the queue and moves on to any other jobs you have submitted. You can also be notified when the job is finished, or if there are any errors during printing, in several different ways. +

Where Do I Begin?

+The easiest way to start is by using the web interface to configure your printer. Go to "http://localhost:631" and choose the Administration tab at the top of the page. Click/press on the Add Printer button and follow the prompts. +

When you are asked for a username and password, enter your login username and password or the "root" username and password. +

After the printer is added you will be asked to set the default printer options (paper size, output mode, etc.) for the printer. Make any changes as needed and then click/press on the Set Default Options button to save them. Some printers also support auto-configuration - click/press on the Query Printer for Default Options button to update the options automatically. +

Once you have added the printer, you can print to it from any application. You can also choose Print Test Page from the maintenance menu to print a simple test page and verify that everything is working properly. +

You can also use the +lpadmin(8) +and +lpinfo(8) +commands to add printers to +CUPS. +Additionally, your operating system may include graphical user interfaces or automatically create printer queues when you connect a printer to your computer. +

How Do I Get Help?

+The +CUPS +web site (http://www.CUPS.org) provides access to the +cups +and +cups-devel +mailing lists, additional documentation and resources, and a bug report database. Most vendors also provide online discussion forums to ask printing questions for your operating system of choice. +

Environment

+CUPS +commands use the following environment variables to override the default locations of files and so forth. For security reasons, these environment variables are ignored for setuid programs: +
+
CUPS_ANYROOT +
Whether to allow any X.509 certificate root (Y or N). +
CUPS_CACHEDIR +
The directory where semi-persistent cache files can be found. +
CUPS_DATADIR +
The directory where data files can be found. +
CUPS_ENCRYPTION +
The default level of encryption (Always, IfRequested, Never, Required). +
CUPS_EXPIREDCERTS +
Whether to allow expired X.509 certificates (Y or N). +
CUPS_GSSSERVICENAME +
The Kerberos service name used for authentication. +
CUPS_SERVER +
The hostname/IP address and port number of the CUPS scheduler (hostname:port or ipaddress:port). +
CUPS_SERVERBIN +
The directory where server helper programs, filters, backend, etc. can be found. +
CUPS_SERVERROOT +
The root directory of the server. +
CUPS_STATEDIR +
The directory where state files can be found. +
CUPS_USER +
Specifies the name of the user for print requests. +
HOME +
Specifies the home directory of the current user. +
IPP_PORT +
Specifies the default port number for IPP requests. +
LOCALEDIR +
Specifies the location of localization files. +
LPDEST +
Specifies the default print queue (System V standard). +
PRINTER +
Specifies the default print queue (Berkeley standard). +
TMPDIR +
Specifies the location of temporary files. +
+

Files

+
+~/.cups/client.conf
+~/.cups/lpoptions
+
+

Conforming To

+CUPS +conforms to the Internet Printing Protocol version 2.1 and implements the Berkeley and System V UNIX print commands. +

Notes

+CUPS printer drivers, backends, and PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

See Also

+cancel(1), +client.conf(7), +cupsctl(8), +cupsd(8), +lp(1), +lpadmin(8), +lpinfo(8), +lpoptions(1), +lpr(1), +lprm(1), +lpq(1), +lpstat(1), +CUPS Online Help (http://localhost:631/help), +CUPS Web Site (http://www.CUPS.org), +PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cupsaccept.html b/doc/help/man-cupsaccept.html new file mode 100644 index 0000000..a892568 --- /dev/null +++ b/doc/help/man-cupsaccept.html @@ -0,0 +1,84 @@ + + + + + + cupsaccept(8) + + +

cupsaccept(8)

+

Name

+cupsaccept/cupsreject - accept/reject jobs sent to a destination +

Synopsis

+cupsaccept +[ +-E +] [ +-U +username +] [ +-h +hostname[:port] +] +destination(s) +
+cupsreject +[ +-E +] [ +-U +username +] [ +-h +hostname[:port] +] [ +-r +reason +] +destination(s) +

Description

+The +cupsaccept +command instructs the printing system to accept print jobs to the specified destinations. +

The +cupsreject +command instructs the printing system to reject print jobs to the +specified destinations. +The -r option sets the reason for rejecting print jobs. If not specified, the reason defaults to "Reason Unknown". +

Options

+The following options are supported by both +cupsaccept +and +cupsreject: +
+
-E +
Forces encryption when connecting to the server. +
-U username +
Sets the username that is sent when connecting to the server. +
-h hostname[:port] +
Chooses an alternate server. +
-r "reason" +
Sets the reason string that is shown for a printer that is rejecting jobs. +
+

Conforming To

+The +cupsaccept +and +cupsreject +commands correspond to the System V printing system commands "accept" and "reject", respectively. +Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". +Also, printer and class names are not case-sensitive. +

Finally, the CUPS versions may ask the user for an access password depending on the printing system configuration. +

See Also

+cancel(1), +cupsenable(8), +lp(1), +lpadmin(8), +lpstat(1), +
+CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cupsctl.html b/doc/help/man-cupsctl.html new file mode 100644 index 0000000..c52125f --- /dev/null +++ b/doc/help/man-cupsctl.html @@ -0,0 +1,94 @@ + + + + + + cupsctl(8) + + +

cupsctl(8)

+

Name

+cupsctl - configure cupsd.conf options +

Synopsis

+cupsctl +[ +-E +] [ +-U +username +] [ +-h +server[:port] +] [ +--[no-]debug-logging +] [ +--[no-]remote-admin +] [ +--[no-]remote-any +] [ +--[no-]share-printers +] [ +--[no-]user-cancel-any +] [ +name=value +] +

Description

+cupsctl updates or queries the cupsd.conf file for a server. When +no changes are requested, the current configuration values are written to the +standard output in the format "name=value", one per line. +

Options

+The following options are recognized: +
+
-E +
Enables encryption on the connection to the scheduler. +
-U username +
Specifies an alternate username to use when authenticating with the scheduler. +
-h server[:port] +
Specifies the server address. +
--[no-]debug-logging +
Enables (disables) debug logging to the error_log file. +
--[no-]remote-admin +
Enables (disables) remote administration. +
--[no-]remote-any +
Enables (disables) printing from any address, e.g., the Internet. +
--[no-]share-printers +
Enables (disables) sharing of local printers with other computers. +
--[no-]user-cancel-any +
Allows (prevents) users to cancel jobs owned by others. +
+

Examples

+Display the current settings: +
+
+    cupsctl
+
+
+Enable debug logging: +
+
+    cupsctl --debug-logging
+
+
+Get the current debug logging state: +
+
+    cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'
+
+
+Disable printer sharing: +
+
+    cupsctl --no-share-printers
+
+

Known Issues

+You cannot set the Listen or Port directives using cupsctl. +

See Also

+cupsd.conf(5), +cupsd(8), +
+CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cupsd-helper.html b/doc/help/man-cupsd-helper.html new file mode 100644 index 0000000..e701445 --- /dev/null +++ b/doc/help/man-cupsd-helper.html @@ -0,0 +1,88 @@ + + + + + + cupsd-helper(8) + + +

cupsd-helper(8)

+

Name

+cupsd-helper - cupsd helper programs (deprecated) +

Synopsis

+cups-deviced +request-id +limit +user-id +options +
+cups-driverd +cat +ppd-name +
+cups-driverd +list +request_id +limit +options +
+cups-exec +sandbox-profile +[ +-g +group-id +] [ +-n +nice-value +] [ +-u +user-id +] +/path/to/program +argv0 +... +argvN +

Description

+The cupsd-helper programs perform long-running operations on behalf of the scheduler, +cupsd(8). +The cups-deviced helper program runs each CUPS +backend(7) +with no arguments in order to discover the available printers. +

The cups-driverd helper program lists all available printer drivers, a subset of "matching" printer drivers, or a copy of a specific driver PPD file. +

The cups-exec helper program runs backends, filters, and other programs. On macOS these programs are run in a secure sandbox. +

Files

+The cups-driverd program looks for PPD and driver information files in the following directories: +
+
+    /Library/Printers
+    /opt/share/ppd
+    /System/Library/Printers
+    /usr/local/share/ppd
+    /usr/share/cups/drv
+    /usr/share/cups/model
+    /usr/share/ppd
+
+

PPD files can be compressed using the +gzip(1) +program or placed in compressed +tar(1) +archives to further reduce their size. +

Driver information files must conform to the format defined in +ppdcfile(5). +

Notes

+CUPS printer drivers, backends, and PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

See Also

+backend(7), +cups(1), +cupsd(8), +cupsd.conf(5), +filter(7), +ppdcfile(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cupsd-logs.html b/doc/help/man-cupsd-logs.html new file mode 100644 index 0000000..11aac7a --- /dev/null +++ b/doc/help/man-cupsd-logs.html @@ -0,0 +1,184 @@ + + + + + + cupsd-logs(5) + + +

cupsd-logs(5)

+

Name

+cupsd-logs - cupsd log files (access_log, error_log, and page_log) +

Description

+cupsd(8) +normally maintains three log files: access_log to track requests that are submitted to the scheduler, error_log to track progress and errors, and page_log to track pages that are printed. +Configuration directives in +cupsd.conf(5) +and +cups-files.conf(5) +control what information is logged and where it is stored. +

Access Log File Format

+The access_log file lists each HTTP resource that is accessed by a web browser or client. +Each line is in an extended version of the so-called "Common Log Format" used by many web servers and web reporting tools: +
+
+    host group user date-time "method resource version" status bytes
+      ipp-operation ipp-status
+
+
+For example: +
+
+    10.0.1.2 - - [01/Dec/2005:21:50:28 +0000] "POST / HTTP/1.1" 200 317
+      CUPS-Get-Printers successful-ok-ignored-or-substituted-attributes
+    localhost - - [01/Dec/2005:21:50:32 +0000] "GET /admin HTTP/1.1"
+      200 0 - -
+    localhost - - [01/Dec/2005:21:50:32 +0000] "POST / HTTP/1.1"
+      200 157 CUPS-Get-Printers
+      successful-ok-ignored-or-substituted-attributes
+    localhost - - [01/Dec/2005:21:50:32 +0000] "POST / HTTP/1.1"
+      200 1411 CUPS-Get-Devices -
+    localhost - - [01/Dec/2005:21:50:32 +0000] "GET /admin HTTP/1.1"
+      200 6667 - -
+
+
+The host field will normally only be an IP address unless you have enabled the HostNameLookups directive in the cupsd.conf file or if the IP address corresponds to your local machine. +

The group field always contains "-". +

The user field is the authenticated username of the requesting user. +If no username and password is supplied for the request then this field contains "-". +

The date-time field is the date and time of the request in local time and is in the format "[DD/MON/YYYY:HH:MM:SS +ZZZZ]". +

The method field is the HTTP method used: "GET", "HEAD", "OPTIONS", "POST", or "PUT". +"GET" requests are used to get files from the server, both for the web interface and to get configuration and log files. +"HEAD" requests are used to get information about a resource prior to a "GET". +"OPTIONS" requests are used to upgrade connections to TLS encryption. +"POST" requests are used for web interface forms and IPP requests. +"PUT" requests are used to upload configuration files. +

The resource field is the filename of the requested resource. +

The version field is the HTTP specification version used by the client. +For CUPS clients this will always be "HTTP/1.1". +

The status field contains the HTTP result status of the request, as follows: +

+
+
200 +
Successful operation. +
201 +
File created/modified successfully. +
304 +
The requested file has not changed. +
400 +
Bad HTTP request; typically this means that you have a malicious program trying to access your server. +
401 +
Unauthorized, authentication (username + password) is required. +
403 +
Access is forbidden; typically this means that a client tried to access a file or resource they do not have permission to access. +
404 +
The file or resource does not exist. +
405 +
URL access method is not allowed; typically this means you have a web browser using your server as a proxy. +
413 +
Request too large; typically this means that a client tried to print a file larger than the MaxRequestSize allows. +
426 +
Upgrading to TLS-encrypted connection. +
500 +
Server error; typically this happens when the server is unable to open/create a file - consult the error_log file for details. +
501 +
The client requested encryption but encryption support is not enabled/compiled in. +
505 +
HTTP version number not supported; typically this means that you have a malicious program trying to access your server. +
+ +

The bytes field contains the number of bytes in the request. +For POST requests the bytes field contains the number of bytes of non-IPP data that is received from the client. +

The ipp-operation field contains either "-" for non-IPP requests or the IPP operation name for POST requests containing an IPP request. +

The ipp-status field contains either "-" for non-IPP requests or the IPP status code name for POST requests containing an IPP response. +

Error Log File Format

+The error_log file lists messages from the scheduler - errors, warnings, etc. The LogLevel directive in the +cupsd.conf(5) +file controls which messages are logged: +
+
+    level date-time message
+
+
+For example: +
+
+    I [20/May/1999:19:18:28 +0000] [Job 1] Queued on 'DeskJet' by 'mike'.
+    D [20/May/1999:19:18:28 +0000] [Job 1] argv[0]="DeskJet"
+    D [20/May/1999:19:18:28 +0000] [Job 1] argv[1]="1"
+    D [20/May/1999:19:18:28 +0000] [Job 1] argv[2]="mike"
+    D [20/May/1999:19:18:28 +0000] [Job 1] argv[3]="myjob"
+    D [20/May/1999:19:18:28 +0000] [Job 1] argv[4]="1"
+    D [20/May/1999:19:18:28 +0000] [Job 1] argv[5]="media=
+      na_letter_8.5x11in sides=one-sided"
+    D [20/May/1999:19:18:28 +0000] [Job 1] argv[6]="/var/spool/cups/
+      d000001-001"
+    I [20/May/1999:19:21:02 +0000] [Job 2] Queued on 'DeskJet' by 'mike'.
+    I [20/May/1999:19:22:24 +0000] [Job 2] Canceled by 'mike'.
+
+
+The level field contains the type of message: +
+
A +
Alert message (LogLevel alert) +
C +
Critical error message (LogLevel crit) +
D +
Debugging message (LogLevel debug) +
d +
Detailed debugging message (LogLevel debug2) +
E +
Normal error message (LogLevel error) +
I +
Informational message (LogLevel info) +
N +
Notice message (LogLevel notice) +
W +
Warning message (LogLevel warn) +
X +
Emergency error message (LogLevel emerg) +
+

The date-time field contains the date and time of when the page started printing. The format of this field is identical to the data-time field in the access_log file. +

The message field contains a free-form textual message. +Messages from job filters are prefixed with "[Job NNN]" where "NNN" is the job ID. +

Page Log File Format

+The page_log file lists the total number of pages (sheets) that are printed. +By default, each line contains the following information: +
+
+    printer user job-id date-time total num-sheets job-billing
+      job-originating-host-name job-name media sides
+
+
+For example the entry for a two page job called "myjob" might look like: +
+
+    DeskJet root 1 [20/May/1999:19:21:06 +0000] total 2 acme-123
+      localhost myjob na_letter_8.5x11in one-sided
+
+
+The PageLogFormat directive in the +cupsd.conf(5) +file can be used to change this information. +

The printer field contains the name of the printer that printed the page. +If you send a job to a printer class, this field will contain the name of the printer that was assigned the job. +

The user field contains the name of the user (the IPP requesting-user-name attribute) that submitted this file for printing. +

The job-id field contains the job number of the page being printed. +

The date-time field contains the date and time of when the page started printing. +The format of this field is identical to the data-time field in the access_log file. +

The num-sheets field provides the total number of pages (sheets) that have been printed on for the job. +

The job-billing field contains a copy of the job-billing or job-account-id attributes provided with the IPP Create-Job or Print-Job requests or "-" if neither was provided. +

The job-originating-host-name field contains the hostname or IP address of the client that printed the job. +

The job-name field contains a copy of the job-name attribute provided with the IPP Create-Job or Print-Job requests or "-" if none was provided. +

The media field contains a copy of the media or media-col/media-size attribute provided with the IPP Create-Job or Print-Job requests or "-" if none was provided. +

The sides field contains a copy of the sides attribute provided with the IPP Create-Job or Print-Job requests or "-" if none was provided. +

See Also

+cupsd(8), +cupsd.conf(5), +cups-files.conf(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cupsd.conf.html b/doc/help/man-cupsd.conf.html new file mode 100644 index 0000000..1668eee --- /dev/null +++ b/doc/help/man-cupsd.conf.html @@ -0,0 +1,630 @@ + + + + + + cupsd.conf(5) + + +

cupsd.conf(5)

+

Name

+cupsd.conf - server configuration file for cups +

Description

+The +cupsd.conf +file configures the CUPS scheduler, +cupsd(8). +It is normally located in the +/etc/cups +directory. +Each line in the file can be a configuration directive, a blank line, or a comment. +Configuration directives typically consist of a name and zero or more values separated by whitespace. +The configuration directive name and values are case-insensitive. +Comment lines start with the # character. +

Top-level Directives

+The following top-level directives are understood by +cupsd(8): +
+
AccessLogLevel config +
AccessLogLevel actions +
AccessLogLevel all +
Specifies the logging level for the AccessLog file. +The "config" level logs when printers and classes are added, deleted, or modified and when configuration files are accessed or updated. +The "actions" level logs when print jobs are submitted, held, released, modified, or canceled, and any of the conditions for "config". +The "all" level logs all requests. +The default access log level is "actions". +
AutoPurgeJobs Yes +
AutoPurgeJobs No +

+Specifies whether to purge job history data automatically when it is no longer required for quotas. +The default is "No". +
BrowseDNSSDSubTypes_subtype[,...] +
Specifies a list of Bonjour sub-types to advertise for each shared printer. +For example, "BrowseDNSSDSubTypes _cups,_print" will tell network clients that both CUPS sharing and IPP Everywhere are supported. +The default is "_cups" which is necessary for printer sharing to work between systems using CUPS. +
BrowseLocalProtocols all +
BrowseLocalProtocols dnssd +
BrowseLocalProtocols none +
Specifies which protocols to use for local printer sharing. +The default is "dnssd" on systems that support Bonjour and "none" otherwise. +
BrowseWebIF Yes +
BrowseWebIF No +

+Specifies whether the CUPS web interface is advertised. +The default is "No". +
Browsing Yes +
Browsing No +

+Specifies whether shared printers are advertised. +The default is "No". +
DefaultAuthType Basic +
DefaultAuthType Negotiate +

+Specifies the default type of authentication to use. +The default is "Basic". +
DefaultEncryption Never +
DefaultEncryption IfRequested +
DefaultEncryption Required +
Specifies whether encryption will be used for authenticated requests. +The default is "Required". +
DefaultLanguage locale +
Specifies the default language to use for text and web content. +The default is "en". +
DefaultPaperSize Auto +
DefaultPaperSize None +
DefaultPaperSize sizename +
Specifies the default paper size for new print queues. "Auto" uses a locale-specific default, while "None" specifies there is no default paper size. +Specific size names are typically "Letter" or "A4". +The default is "Auto". +
DefaultPolicy policy-name +
Specifies the default access policy to use. +The default access policy is "default". +
DefaultShared Yes +
DefaultShared No +
Specifies whether local printers are shared by default. +The default is "Yes". +
DirtyCleanInterval seconds +
Specifies the delay for updating of configuration and state files. +A value of 0 causes the update to happen as soon as possible, typically within a few milliseconds. +The default value is "30". +
DNSSDHostNamehostname.example.com +
Specifies the fully-qualified domain name for the server that is used for Bonjour sharing. +The default is typically the server's ".local" hostname. +
ErrorPolicy abort-job +
Specifies that a failed print job should be aborted (discarded) unless otherwise specified for the printer. +
ErrorPolicy retry-current-job +
Specifies that a failed print job should be retried immediately unless otherwise specified for the printer. +
ErrorPolicy retry-job +
Specifies that a failed print job should be retried at a later time unless otherwise specified for the printer. +
ErrorPolicy stop-printer +
Specifies that a failed print job should stop the printer unless otherwise specified for the printer. The 'stop-printer' error policy is the default. +
FilterLimit limit +
Specifies the maximum cost of filters that are run concurrently, which can be used to minimize disk, memory, and CPU resource problems. +A limit of 0 disables filter limiting. +An average print to a non-PostScript printer needs a filter limit of about 200. +A PostScript printer needs about half that (100). +Setting the limit below these thresholds will effectively limit the scheduler to printing a single job at any time. +The default limit is "0". +
FilterNice nice-value +
Specifies the scheduling priority ( +nice(8) +value) of filters that are run to print a job. +The nice value ranges from 0, the highest priority, to 19, the lowest priority. +The default is 0. +
GSSServiceName name +
Specifies the service name when using Kerberos authentication. +The default service name is "http." +
HostNameLookups On +
HostNameLookups Off +
HostNameLookups Double +
Specifies whether to do reverse lookups on connecting clients. +The "Double" setting causes +cupsd(8) +to verify that the hostname resolved from the address matches one of the addresses returned for that hostname. +Double lookups also prevent clients with unregistered addresses from connecting to your server. +The default is "Off" to avoid the potential server performance problems with hostname lookups. +Only set this option to "On" or "Double" if absolutely required. +
IdleExitTimeout seconds +
Specifies the length of time to wait before shutting down due to inactivity. +The default is "60" seconds. +Note: Only applicable when +cupsd(8) +is run on-demand (e.g., with -l). +
JobKillDelay seconds +
Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job. +The default is "30". +
JobRetryInterval seconds +
Specifies the interval between retries of jobs in seconds. +This is typically used for fax queues but can also be used with normal print queues whose error policy is "retry-job" or "retry-current-job". +The default is "30". +
JobRetryLimit count +
Specifies the number of retries that are done for jobs. +This is typically used for fax queues but can also be used with normal print queues whose error policy is "retry-job" or "retry-current-job". +The default is "5". +
KeepAlive Yes +
KeepAlive No +
Specifies whether to support HTTP keep-alive connections. +The default is "Yes". +
KeepAliveTimeout seconds +
Specifies how long an idle client connection remains open. +The default is "30". +
<Limit operation ...> ... </Limit> +
Specifies the IPP operations that are being limited inside a Policy section. IPP operation names are listed below in the section "IPP OPERATION NAMES". +
<Limit method ...> ... </Limit> +
<LimitExcept method ...> ... </LimitExcept> +
Specifies the HTTP methods that are being limited inside a Location section. HTTP method names are listed below in the section "HTTP METHOD NAMES". +
LimitRequestBody size +
Specifies the maximum size of print files, IPP requests, and HTML form data. +The default is "0" which disables the limit check. +
Listen ipv4-address:port +
Listen [ipv6-address]:port +
Listen *:port +
Listen /path/to/domain/socket +
Listens to the specified address and port or domain socket path for connections. +Multiple Listen directives can be provided to listen on multiple addresses. +The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks. +
ListenBackLog number +
Specifies the number of pending connections that will be allowed. +This normally only affects very busy servers that have reached the MaxClients limit, but can also be triggered by large numbers of simultaneous connections. +When the limit is reached, the operating system will refuse additional connections until the scheduler can accept the pending ones. +The default is the OS-defined default limit, typically either "5" for older operating systems or "128" for newer operating systems. +
<Location /path> ... </Location> +
Specifies access control for the named location. +Paths are documented below in the section "LOCATION PATHS". +
LogDebugHistory number +
Specifies the number of debugging messages that are retained for logging if an error occurs in a print job. Debug messages are logged regardless of the LogLevel setting. +
LogLevel none +
LogLevel emerg +
LogLevel alert +
LogLevel crit +
LogLevel error +
LogLevel warn +
LogLevel notice +
LogLevel info +
LogLevel debug +
LogLevel debug2 +
Specifies the level of logging for the ErrorLog file. +The value "none" stops all logging while "debug2" logs everything. +The default is "warn". +
LogTimeFormat standard +
LogTimeFormat usecs +
Specifies the format of the date and time in the log files. +The value "standard" is the default and logs whole seconds while "usecs" logs microseconds. +
MaxClients number +
Specifies the maximum number of simultaneous clients that are allowed by the scheduler. +The default is "100". +
MaxClientsPerHost number +
Specifies the maximum number of simultaneous clients that are allowed from a +single address. +The default is the MaxClients value. +
MaxCopies number +
Specifies the maximum number of copies that a user can print of each job. +The default is "9999". +
MaxHoldTime seconds +
Specifies the maximum time a job may remain in the "indefinite" hold state before it is canceled. +The default is "0" which disables cancellation of held jobs. +
MaxJobs number +
Specifies the maximum number of simultaneous jobs that are allowed. +Set to "0" to allow an unlimited number of jobs. +The default is "500". +
MaxJobsPerPrinter number +
Specifies the maximum number of simultaneous jobs that are allowed per printer. +The default is "0" which allows up to MaxJobs jobs per printer. +
MaxJobsPerUser number +
Specifies the maximum number of simultaneous jobs that are allowed per user. +The default is "0" which allows up to MaxJobs jobs per user. +
MaxJobTime seconds +
Specifies the maximum time a job may take to print before it is canceled. +Set to "0" to disable cancellation of "stuck" jobs. +The default is "10800" (3 hours). +
MaxLogSize size +
Specifies the maximum size of the log files before they are rotated. +The value "0" disables log rotation. +The default is "1048576" (1MB). +
MultipleOperationTimeout seconds +
Specifies the maximum amount of time to allow between files in a multiple file print job. +The default is "900" (15 minutes). +
<Policy name> ... </Policy> +
Specifies access control for the named policy. +
Port number +
Listens to the specified port number for connections. +
PreserveJobFiles Yes +
PreserveJobFiles No +
PreserveJobFiles seconds +
Specifies whether job files (documents) are preserved after a job is printed. +If a numeric value is specified, job files are preserved for the indicated number of seconds after printing. +The default is "86400" (preserve 1 day). +
PreserveJobHistory Yes +
PreserveJobHistory No +
PreserveJobHistory seconds +
Specifies whether the job history is preserved after a job is printed. +If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing. +If "Yes", the job history is preserved until the MaxJobs limit is reached. +The default is "Yes". +
ReloadTimeout seconds +
Specifies the amount of time to wait for job completion before restarting the scheduler. +The default is "30". +
ServerAdmin email-address +
Specifies the email address of the server administrator. +The default value is "root@ServerName". +
ServerAlias hostname [ ... hostname ] +
ServerAlias * +
The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces. +Using the special name "*" can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall. +If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using "*". +
ServerName hostname +
Specifies the fully-qualified hostname of the server. +The default is the value reported by the +hostname(1) +command. +
ServerTokens None +
ServerTokens ProductOnly +
ServerTokens Major +
ServerTokens Minor +
ServerTokens Minimal +
ServerTokens OS +
ServerTokens Full +
Specifies what information is included in the Server header of HTTP responses. +"None" disables the Server header. +"ProductOnly" reports "CUPS". +"Major" reports "CUPS/major IPP/2". +"Minor" reports "CUPS/major.minor IPP/2.1". +"Minimal" reports "CUPS/major.minor.patch IPP/2.1". +"OS" reports "CUPS/major.minor.path (osname osversion) IPP/2.1". +"Full" reports "CUPS/major.minor.path (osname osversion; architecture) IPP/2.1". +The default is "Minimal". +
SSLListen ipv4-address:port +
SSLListen [ipv6-address]:port +
SSLListen *:port +
Listens on the specified address and port for encrypted connections. +
SSLOptions [AllowDH] [AllowRC4] [AllowSSL3] [DenyCBC] [DenyTLS1.0] [MaxTLS1.0] [MaxTLS1.1] [MaxTLS1.2] [MaxTLS1.3] [MinTLS1.0] [MinTLS1.1] [MinTLS1.2] [MinTLS1.3] +
SSLOptions None +
Sets encryption options (only in /etc/cups/client.conf). +By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites. +Security is reduced when Allow options are used. +Security is enhanced when Deny options are used. +The AllowDH option enables cipher suites using plain Diffie-Hellman key negotiation (not supported on systems using GNU TLS). +The AllowRC4 option enables the 128-bit RC4 cipher suites, which are required for some older clients. +The AllowSSL3 option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0. +The DenyCBC option disables all CBC cipher suites. +The DenyTLS1.0 option disables TLS v1.0 support - this sets the minimum protocol version to TLS v1.1. +The MinTLS options set the minimum TLS version to support. +The MaxTLS options set the maximum TLS version to support. +Not all operating systems support TLS 1.3 at this time. +
SSLPort port +
Listens on the specified port for encrypted connections. +
StrictConformance Yes +
StrictConformance No +
Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications. +The default is "No". +
Timeout seconds +
Specifies the HTTP request timeout. +The default is "900" (15 minutes). +
WebInterface yes +
WebInterface no +
Specifies whether the web interface is enabled. +The default is "No". +
+

Http Method Names

+The following HTTP methods are supported by +cupsd(8): +
+
GET +
Used by a client to download icons and other printer resources and to access the CUPS web interface. +
HEAD +
Used by a client to get the type, size, and modification date of resources. +
OPTIONS +
Used by a client to establish a secure (SSL/TLS) connection. +
POST +
Used by a client to submit IPP requests and HTML forms from the CUPS web interface. +
PUT +
Used by a client to upload configuration files. +
+

Ipp Operation Names

+The following IPP operations are supported by +cupsd(8): +
+
CUPS-Accept-Jobs +
Allows a printer to accept new jobs. +
CUPS-Add-Modify-Class +
Adds or modifies a printer class. +
CUPS-Add-Modify-Printer +
Adds or modifies a printer. +
CUPS-Authenticate-Job +
Releases a job that is held for authentication. +
CUPS-Delete-Class +
Deletes a printer class. +
CUPS-Delete-Printer +
Deletes a printer. +
CUPS-Get-Classes +
Gets a list of printer classes. +
CUPS-Get-Default +
Gets the server default printer or printer class. +
CUPS-Get-Devices +
Gets a list of devices that are currently available. +
CUPS-Get-Document +
Gets a document file for a job. +
CUPS-Get-PPD +
Gets a PPD file. +
CUPS-Get-PPDs +
Gets a list of installed PPD files. +
CUPS-Get-Printers +
Gets a list of printers. +
CUPS-Move-Job +
Moves a job. +
CUPS-Reject-Jobs +
Prevents a printer from accepting new jobs. +
CUPS-Set-Default +
Sets the server default printer or printer class. +
Cancel-Job +
Cancels a job. +
Cancel-Jobs +
Cancels one or more jobs. +
Cancel-My-Jobs +
Cancels one or more jobs creates by a user. +
Cancel-Subscription +
Cancels a subscription. +
Close-Job +
Closes a job that is waiting for more documents. +
Create-Job +
Creates a new job with no documents. +
Create-Job-Subscriptions +
Creates a subscription for job events. +
Create-Printer-Subscriptions +
Creates a subscription for printer events. +
Get-Job-Attributes +
Gets information about a job. +
Get-Jobs +
Gets a list of jobs. +
Get-Notifications +
Gets a list of event notifications for a subscription. +
Get-Printer-Attributes +
Gets information about a printer or printer class. +
Get-Subscription-Attributes +
Gets information about a subscription. +
Get-Subscriptions +
Gets a list of subscriptions. +
Hold-Job +
Holds a job from printing. +
Hold-New-Jobs +
Holds all new jobs from printing. +
Pause-Printer +
Stops processing of jobs by a printer or printer class. +
Pause-Printer-After-Current-Job +
Stops processing of jobs by a printer or printer class after the current job is finished. +
Print-Job +
Creates a new job with a single document. +
Purge-Jobs +
Cancels one or more jobs and deletes the job history. +
Release-Held-New-Jobs +
Allows previously held jobs to print. +
Release-Job +
Allows a job to print. +
Renew-Subscription +
Renews a subscription. +
Restart-Job +
Reprints a job, if possible. +
Send-Document +
Adds a document to a job. +
Set-Job-Attributes +
Changes job information. +
Set-Printer-Attributes +
Changes printer or printer class information. +
Validate-Job +
Validates options for a new job. +
+

Location Paths

+The following paths are commonly used when configuring +cupsd(8): +
+
/ +
The path for all get operations (get-printers, get-jobs, etc.) +
/admin +
The path for all administration operations (add-printer, delete-printer, start-printer, etc.) +
/admin/conf +
The path for access to the CUPS configuration files (cupsd.conf, client.conf, etc.) +
/admin/log +
The path for access to the CUPS log files (access_log, error_log, page_log) +
/classes +
The path for all printer classes +
/classes/name +
The resource for the named printer class +
/jobs +
The path for all jobs (hold-job, release-job, etc.) +
/jobs/id +
The path for the specified job +
/printers +
The path for all printers +
/printers/name +
The path for the named printer +
/printers/name.png +
The icon file path for the named printer +
/printers/name.ppd +
The PPD file path for the named printer +
+

Directives Valid Within Location And Limit Sections

+The following directives may be placed inside Location and Limit sections in the cupsd.conf file: +
+
Allow all +
Allow none +
Allow host.domain.com +
Allow *.domain.com +
Allow ipv4-address +
Allow ipv4-address/netmask +
Allow ipv4-address/mm +
Allow [ipv6-address] +
Allow [ipv6-address]/mm +
Allow @IF(name) +
Allow @LOCAL +
Allows access from the named hosts, domains, addresses, or interfaces. +The @IF(name) form uses the current subnets configured for the named interface. +The @LOCAL form uses the current subnets configured for all interfaces that are not point-to-point, for example Ethernet and Wi-Fi interfaces are used but DSL and VPN interfaces are not. +The Order directive controls whether Allow lines are evaluated before or after Deny lines. +
AuthType None +
AuthType Basic +
AuthType Default +
AuthType Negotiate +
Specifies the type of authentication required. +The value "Default" corresponds to the DefaultAuthType value. +
Deny all +
Deny none +
Deny host.domain.com +
Deny *.domain.com +
Deny ipv4-address +
Deny ipv4-address/netmask +
Deny ipv4-address/mm +
Deny [ipv6-address] +
Deny [ipv6-address]/mm +
Deny @IF(name) +
Deny @LOCAL +
Denies access from the named hosts, domains, addresses, or interfaces. +The @IF(name) form uses the current subnets configured for the named interface. +The @LOCAL form uses the current subnets configured for all interfaces that are not point-to-point, for example Ethernet and Wi-Fi interfaces are used but DSL and VPN interfaces are not. +The Order directive controls whether Deny lines are evaluated before or after Allow lines. +
Encryption IfRequested +
Encryption Never +
Encryption Required +
Specifies the level of encryption that is required for a particular location. +The default value is "IfRequested". +
Order allow,deny +
Specifies that access is denied by default. Allow lines are then processed followed by Deny lines to determine whether a client may access a particular resource. +
Order deny,allow +
Specifies that access is allowed by default. Deny lines are then processed followed by Allow lines to determine whether a client may access a particular resource. +
Require group group-name [ group-name ... ] +
Specifies that an authenticated user must be a member of one of the named groups. +
Require user {user-name|@group-name} ... +
Specifies that an authenticated user must match one of the named users or be a member of one of the named groups. +The group name "@SYSTEM" corresponds to the list of groups defined by the SystemGroup directive in the +cups-files.conf(5) +file. +The group name "@OWNER" corresponds to the owner of the resource, for example the person that submitted a print job. +Note: The 'root' user is not special and must be granted privileges like any other user account. +
Require valid-user +
Specifies that any authenticated user is acceptable. +
Satisfy all +
Specifies that all Allow, AuthType, Deny, Order, and Require conditions must be satisfied to allow access. +
Satisfy any +
Specifies that any a client may access a resource if either the authentication (AuthType/Require) or address (Allow/Deny/Order) conditions are satisfied. +For example, this can be used to require authentication only for remote accesses. +
+

Directives Valid Within Policy Sections

+The following directives may be placed inside Policy sections in the cupsd.conf file: +
+
JobPrivateAccess all +
JobPrivateAccess default +
JobPrivateAccess {user|@group|@ACL|@OWNER|@SYSTEM} ... +
Specifies an access list for a job's private values. +The "default" access list is "@OWNER @SYSTEM". +"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. +"@OWNER" maps to the job's owner. +"@SYSTEM" maps to the groups listed for the SystemGroup directive in the +cups-files.conf(5) +file. +
JobPrivateValues all +
JobPrivateValues default +
JobPrivateValues none +
JobPrivateValues attribute-name [ ... attribute-name ] +
Specifies the list of job values to make private. +The "default" values are "job-name", "job-originating-host-name", "job-originating-user-name", and "phone". +
SubscriptionPrivateAccess all +
SubscriptionPrivateAccess default +
SubscriptionPrivateAccess {user|@group|@ACL|@OWNER|@SYSTEM} ... +
Specifies an access list for a subscription's private values. +The "default" access list is "@OWNER @SYSTEM". +"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. +"@OWNER" maps to the job's owner. +"@SYSTEM" maps to the groups listed for the SystemGroup directive in the +cups-files.conf(5) +file. +
SubscriptionPrivateValues all +
SubscriptionPrivateValues default +
SubscriptionPrivateValues none +
SubscriptionPrivateValues attribute-name [ ... attribute-name ] +
Specifies the list of subscription values to make private. +The "default" values are "notify-events", "notify-pull-method", "notify-recipient-uri", "notify-subscriber-user-name", and "notify-user-data". +
+

Deprecated Directives

+The following directives are deprecated and will be removed in a future release of CUPS: +
+
Classification banner +

+Specifies the security classification of the server. +Any valid banner name can be used, including "classified", "confidential", "secret", "topsecret", and "unclassified", or the banner can be omitted to disable secure printing functions. +The default is no classification banner. +
ClassifyOverride Yes +
ClassifyOverride No +

+Specifies whether users may override the classification (cover page) of individual print jobs using the "job-sheets" option. +The default is "No". +
PageLogFormat format-string +
Specifies the format of PageLog lines. +Sequences beginning with percent (%) characters are replaced with the corresponding information, while all other characters are copied literally. +The following percent sequences are recognized: +
+
+    "%%" inserts a single percent character.
+    "%{name}" inserts the value of the specified IPP attribute.
+    "%C" inserts the number of copies for the current page.
+    "%P" inserts the current page number.
+    "%T" inserts the current date and time in common log format.
+    "%j" inserts the job ID.
+    "%p" inserts the printer name.
+    "%u" inserts the username.
+
+
+The default is the empty string, which disables page logging. +The string "%p %u %j %T %P %C %{job-billing} %{job-originating-host-name} %{job-name} %{media} %{sides}" creates a page log with the standard items. +Use "%{job-impressions-completed}" to insert the number of pages (sides) that were printed, or "%{job-media-sheets-completed}" to insert the number of sheets that were printed. +
RIPCache size +
Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer. +The default is "128m". +
+

Notes

+File, directory, and user configuration directives that used to be allowed in the cupsd.conf file are now stored in the +cups-files.conf(5) +file instead in order to prevent certain types of privilege escalation attacks. +

The scheduler MUST be restarted manually after making changes to the cupsd.conf file. +On Linux this is typically done using the +systemctl(8) +command, while on macOS the +launchctl(8) +command is used instead. +

The @LOCAL macro name can be confusing since the system running +cupsd +often belongs to a different set of subnets from its clients. +

Conforming To

+The cupsd.conf file format is based on the Apache HTTP Server configuration file format. +

Examples

+Log everything with a maximum log file size of 32 megabytes: +
+
+    AccessLogLevel all
+    LogLevel debug2
+    MaxLogSize 32m
+
+
+Require authentication for accesses from outside the 10. network: +
+
+    <Location />
+    Order allow,deny
+    Allow from 10./8
+    AuthType Basic
+    Require valid-user
+    Satisfy any
+    </Location>
+
+

See Also

+classes.conf(5), +cups-files.conf(5), +cupsd(8), +mime.convs(5), +mime.types(5), +printers.conf(5), +subscriptions.conf(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cupsd.html b/doc/help/man-cupsd.html new file mode 100644 index 0000000..5892071 --- /dev/null +++ b/doc/help/man-cupsd.html @@ -0,0 +1,123 @@ + + + + + + cupsd(8) + + +

cupsd(8)

+

Name

+cupsd - cups scheduler +

Synopsis

+cupsd +[ +-c +cupsd.conf +] [ +-f +] [ +-F +] [ +-h +] [ +-l +] [ +-s +cups-files.conf +] [ +-t +] +

Description

+cupsd +is the scheduler for CUPS. It implements a printing system based upon the Internet Printing Protocol, version 2.1, and supports most of the requirements for IPP Everywhere. If no options are specified on the command-line then the default configuration file +/etc/cups/cupsd.conf +will be used. +

Options

+
+
-c cupsd.conf +
Uses the named cupsd.conf configuration file. +
-f +
Run +cupsd +in the foreground; the default is to run in the background as a "daemon". +
-F +
Run +cupsd +in the foreground but detach the process from the controlling terminal and current directory. This is useful for running +cupsd +from +init(8). +
-h +
Shows the program usage. +
-l +
This option is passed to +cupsd +when it is run from +launchd(8) +or +systemd(8). +
-s cups-files.conf +
Uses the named cups-files.conf configuration file. +
-t +
Test the configuration file for syntax errors. +
+

Files

+
+/etc/cups/classes.conf
+/etc/cups/cups-files.conf
+/etc/cups/cupsd.conf
+/usr/share/cups/mime/mime.convs
+/usr/share/cups/mime/mime.types
+/etc/cups/printers.conf
+/etc/cups/subscriptions.conf
+
+

Conforming To

+cupsd +implements all of the required IPP/2.1 attributes and operations. It also implements several CUPS-specific administrative operations. +

Examples

+Run +cupsd +in the background with the default configuration file: +
+
+    cupsd
+
+
+Test a configuration file called +test.conf: +
+
+    cupsd -t -c test.conf
+
+
+Run +cupsd +in the foreground with a test configuration file called +test.conf: +
+
+    cupsd -f -c test.conf
+
+
+

See Also

+backend(7), +classes.conf(5), +cups(1), +cups-files.conf(5), +cups-lpd(8), +cupsd.conf(5), +cupsd-helper(8), +cupsd-logs(8), +filter(7), +launchd(8), +mime.convs(5), +mime.types(5), +printers.conf(5), +systemd(8), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cupsenable.html b/doc/help/man-cupsenable.html new file mode 100644 index 0000000..04279a5 --- /dev/null +++ b/doc/help/man-cupsenable.html @@ -0,0 +1,92 @@ + + + + + + cupsenable(8) + + +

cupsenable(8)

+

Name

+cupsdisable, cupsenable - stop/start printers and classes +

Synopsis

+cupsdisable +[ +-E +] [ +-U +username +] [ +-c +] [ +-h server[:port] +] [ +-r +reason +] [ +--hold +] +destination(s) +
+cupsenable +[ +-E +] [ +-U +username +] [ +-c +] [ +-h server[:port] +] [ +--release +] +destination(s) +

Description

+cupsenable +starts the named printers or classes while +cupsdisable +stops the named printers or classes. +

Options

+The following options may be used: +
+
-E +
Forces encryption of the connection to the server. +
-U username +
Uses the specified username when connecting to the server. +
-c +
Cancels all jobs on the named destination. +
-h server[:port] +
Uses the specified server and port. +
--hold +
Holds remaining jobs on the named printer. +Useful for allowing the current job to complete before performing maintenance. +
-r "reason" +
Sets the message associated with the stopped state. +If no reason is specified then the message is set to "Reason Unknown". +
--release +
Releases pending jobs for printing. +Use after running cupsdisable with the --hold option to resume printing. +
+

Conforming To

+Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". +Also, printer and class names are not case-sensitive. +

The System V versions of these commands are disable and enable, respectively. +They have been renamed to avoid conflicts with the +bash(1) +build-in commands of the same names. +

The CUPS versions of disable and enable may ask the user for an access password depending on the printing system configuration. +This differs from the System V versions which require the root user to execute these commands. +

See Also

+cupsaccept(8), +cupsreject(8), +cancel(1), +lp(1), +lpadmin(8), +lpstat(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cupsfilter.html b/doc/help/man-cupsfilter.html new file mode 100644 index 0000000..bce2134 --- /dev/null +++ b/doc/help/man-cupsfilter.html @@ -0,0 +1,129 @@ + + + + + + cupsfilter(8) + + +

cupsfilter(8)

+

Name

+cupsfilter - convert a file to another format using cups filters (deprecated) +

Synopsis

+cupsfilter +[ +--list-filters +] [ +-D +] [ +-U +user +] [ +-c +config-file +] [ +-d +printer +] [ +-e +] [ +-i +mime/type +] [ +-j +job-id[,N] +] [ +-m +mime/type +] [ +-n +copies +] [ +-o +name=value +] [ +-p +filename.ppd +] [ +-t +title +] [ +-u +] +filename +

Description

+cupsfilter +is a front-end to the CUPS filter subsystem which allows you to convert a file to a specific format, just as if you had printed the file through CUPS. By default, +cupsfilter +generates a PDF file. The converted file is sent to the standard output. +

Options

+
+
--list-filters +
Do not actually run the filters, just print the filters used to stdout. +
-D +
Delete the input file after conversion. +
-U user +
Specifies the username passed to the filters. The default is the name of the current user. +
-c config-file +
Uses the named cups-files.conf configuration file. +
-d printer +
Uses information from the named printer. +
-e +
Use every filter from the PPD file. +
-i mime/type +
Specifies the source file type. The default file type is guessed using the filename and contents of the file. +
-j job-id[,N] +
Converts document N from the specified job. If N is omitted, document 1 is converted. +
-m mime/type +
Specifies the destination file type. The default file type is application/pdf. Use printer/foo to convert to the printer format defined by the filters in the PPD file. +
-n copies +
Specifies the number of copies to generate. +
-o name=value +
Specifies options to pass to the CUPS filters. +
-p filename.ppd +
Specifies the PPD file to use. +
-t title +
Specifies the document title. +
-u +
Delete the PPD file after conversion. +
+

Exit Status

+cupsfilter +returns a non-zero exit status on any error. +

Environment

+All of the standard +cups(1) +environment variables affect the operation of +cupsfilter. +

Files

+
+/etc/cups/cups-files.conf
+/etc/cups/*.convs
+/etc/cups/*.types
+/usr/share/cups/mime/*.convs
+/usr/share/cups/mime/*.types
+

Notes

+CUPS printer drivers, filters, and backends are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

Unlike when printing, filters run using the +cupsfilter +command use the current user and security session. This may result in different output or unexpected behavior. +

Example

+The following command will generate a PDF preview of job 42 for a printer named "myprinter" and save it to a file named "preview.pdf": +
+
+    cupsfilter -m application/pdf -d myprinter -j 42 >preview.pdf
+
+

See Also

+cups(1), +cupsd.conf(5), +filter(7), +mime.convs(7), +mime.types(7), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-cupstestppd.html b/doc/help/man-cupstestppd.html new file mode 100644 index 0000000..99701c9 --- /dev/null +++ b/doc/help/man-cupstestppd.html @@ -0,0 +1,131 @@ + + + + + + cupstestppd(1) + + +

cupstestppd(1)

+

Name

+cupstestppd - test conformance of ppd files +

Synopsis

+cupstestppd +[ +-I +category +] [ +-R +rootdir +] [ +-W +category +] [ +-q +] [ +-r +] [ +-v[v] +] +filename.ppd[.gz] +[ ... +filename.ppd[.gz] +] +
+cupstestppd +[ +-R +rootdir +] [ +-W +category +] [ +-q +] [ +-r +] [ +-v[v] +] +- +

Description

+cupstestppd tests the conformance of PPD files to the Adobe PostScript Printer Description file format specification version 4.3. +It can also be used to list the supported options and available fonts in a PPD file. +The results of testing and any other output are sent to the standard output. +

The first form of cupstestppd tests one or more PPD files on the command-line. +The second form tests the PPD file provided on the standard input. +

Options

+cupstestppd supports the following options: +
+
-I filename +
Ignores all PCFileName warnings. +
-I filters +
Ignores all filter errors. +
-I profiles +
Ignores all profile errors. +
-R rootdir +
Specifies an alternate root directory for the filter, pre-filter, and other support file checks. +
-W constraints +
Report all UIConstraint errors as warnings. +
-W defaults +
Except for size-related options, report all default option errors as warnings. +
-W filters +
Report all filter errors as warnings. +
-W profiles +
Report all profile errors as warnings. +
-W sizes +
Report all media size errors as warnings. +
-W translations +
Report all translation errors as warnings. +
-W all +
Report all of the previous errors as warnings. +
-W none +
Report all of the previous errors as errors. +
-q +
Specifies that no information should be displayed. +
-r +
Relaxes the PPD conformance requirements so that common whitespace, control character, and formatting problems are not treated as hard errors. +
-v +
Specifies that detailed conformance testing results should be displayed rather than the concise PASS/FAIL/ERROR status. +
-vv +
Specifies that all information in the PPD file should be displayed in addition to the detailed conformance testing results. +
+

The -q, -v, and -vv options are mutually exclusive. +

Exit Status

+cupstestppd returns zero on success and non-zero on error. +The error codes are as follows: +
+
1 +
Bad command-line arguments or missing PPD filename. +
2 +
Unable to open or read PPD file. +
3 +
The PPD file contains format errors that cannot be skipped. +
4 +
The PPD file does not conform to the Adobe PPD specification. +
+

Examples

+The following command will test all PPD files under the current directory and print the names of each file that does not conform: +
+
+    find . -name \*.ppd \! -exec cupstestppd -q '{}' \; -print
+
+
+The next command tests all PPD files under the current directory and print detailed conformance testing results for the files that do not conform: +
+
+    find . -name \*.ppd \! -exec cupstestppd -q '{}' \; \
+        -exec cupstestppd -v '{}' \;
+
+

Notes

+PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

See Also

+lpadmin(8), +CUPS Online Help (http://localhost:631/help), +Adobe PostScript Printer Description File Format Specification, Version 4.3. +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-filter.html b/doc/help/man-filter.html new file mode 100644 index 0000000..65d896b --- /dev/null +++ b/doc/help/man-filter.html @@ -0,0 +1,189 @@ + + + + + + filter(7) + + +

filter(7)

+

Name

+filter - cups file conversion filter interface +

Synopsis

+filter +job +user +title +num-copies +options +[ +filename +] +
+
+#include <cups/cups.h>
+
+ssize_t cupsBackChannelRead(char *buffer, size_t bytes,
+                            double timeout);
+
+cups_sc_status_t cupsSideChannelDoRequest(cups_sc_command_t command,
+                                          char *data, int *datalen,
+                                          double timeout);
+
+#include <cups/ppd.h>
+
+const char *cupsGetOption(const char *name, int num_options,
+                 cups_option_t *options);
+
+int cupsMarkOptions(ppd_file_t *ppd, int num_options,
+                    cups_option_t *options);
+
+int cupsParseOptions(const char *arg, int num_options,
+                     cups_option_t **options);
+
+ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, const char *keyword);
+
+void ppdMarkDefaults(ppd_file_t *ppd);
+
+ppd_file_t *ppdOpenFile(const char *filename);
+
+

Description

+The CUPS filter interface provides a standard method for adding support for new document types or printers to CUPS. +Each filter is capable of converting from one or more input formats to another format that can either be printed directly or piped into another filter to get it to a printable format. +

Filters MUST be capable of reading from a filename on the command-line or from the standard input, copying the standard input to a temporary file as required by the file format. +All output MUST be sent to the standard output. +Filters MUST NOT attempt to communicate directly with the printer, other processes, or other services. +

The command name (argv[0]) is set to the name of the destination printer but is also available in the PRINTER environment variable. +

Options

+Options are passed in argv[5] and are encoded from the corresponding IPP attributes used when the job was submitted. Use the +cupsParseOptions() +function to load the options into a cups_option_t array and the +cupsGetOption() +function to get the value of a specific attribute. +Be careful to look for common aliases of IPP attributes such as "landscape" for the IPP "orientation-requested" attribute. +

Options passed on the command-line typically do not include the default choices the printer's PPD file. Use the +ppdMarkDefaults() +and +cupsMarkOptions() +functions in the CUPS library to apply the options to the PPD defaults and map any IPP attributes to the corresponding PPD options. +Use +ppdFindMarkedChoice() +to get the user-selected choice for a PPD option. For example, a filter might use the following code to determine the current value of the Duplex PPD option: +

+
+    ppd_file_t *ppd = ppdOpenFile(getenv("PPD"));
+    cups_option_t *options = NULL;
+    int num_options = cupsParseOptions(argv[5], 0, &options);
+
+    ppdMarkDefaults(ppd);
+    cupsMarkOptions(ppd, num_options, options);
+
+    ppd_choice_t *choice = ppdFindMarkedChoice(ppd, "Duplex");
+
+

Raster filters should use option choices set through the raster page header, as those reflect the options in effect for a given page. +Options specified on the command-line determine the default values for the entire job, which can be overridden on a per-page basis. +

Log Messages

+Messages sent to the standard error are generally stored in the printer's "printer-state-message" attribute and the current ErrorLog file. +Each line begins with a standard prefix: +
+
ALERT: message +
Sets the "printer-state-message" attribute and adds the specified message to the current ErrorLog using the "alert" log level. +
ATTR: attribute=value [ ... attribute=value] +
Sets the named job or printer attribute(s). The following job attributes can be set: "job-media-progress". The following printer attributes can be set: +"auth-info-required", "marker-colors", "marker-high-levels", "marker-levels", +"marker-low-levels", "marker-message", "marker-names", "marker-types", +"printer-alert", and "printer-alert-description". +
CRIT: message +
Sets the "printer-state-message" attribute and adds the specified message to the current ErrorLog using the "critical" log level. +
DEBUG: message +
Adds the specified message to the current ErrorLog using the "debug" log level. +DEBUG messages are never stored in the "printer-state-message" attribute. +
DEBUG2: message +

+Adds the specified message to the current ErrorLog using the "debug2" log level. +DEBUG2 messages are never stored in the "printer-state-message" attribute. +
EMERG: message +
Sets the "printer-state-message" attribute and adds the specified message to the current ErrorLog using the "emergency" log level. +
ERROR: message +
Sets the "printer-state-message" attribute and adds the specified message to the current ErrorLog using the "error" log level. +
INFO: message +
Sets the "printer-state-message" attribute. If the current LogLevel is set to "debug2", also adds the specified message to the current ErrorLog using the "info" log level. +
NOTICE: message +
Sets the "printer-state-message" attribute and adds the specified message to the current ErrorLog using the "notice" log level. +
PAGE: page-number #-copies +
PAGE: total #-pages +
Adds an entry to the current PageLog. The first form adds #-copies to the "job-media-sheets-completed" attribute. The second form sets the "job-media-sheets-completed" attribute to #-pages. +
PPD: Keyword=Value [ ... KeywordN=Value ] +
Sets the named keywords in the printer's PPD file. This is typically used to update default option keywords such as DefaultPageSize and the various installable options in the PPD file. +
STATE: printer-state-reason [ ... printer-state-reason ] +
STATE: + printer-state-reason [ ... printer-state-reason ] +
STATE: - printer-state-reason [ ... printer-state-reason ] +
Sets, adds, or removes "printer-state-reason" keywords for the current queue. Typically this is used to indicate media, ink, and toner conditions on a printer. +
WARNING: message +
Sets the "printer-state-message" attribute and adds the specified message to the current ErrorLog using the "warning" log level. +
+

Environment Variables

+The following environment variables are defined by the CUPS +server when executing the filter: +
+
CHARSET +
The default text character set, typically "utf-8". +
CLASS +
When a job is submitted to a printer class, contains the name of the destination printer class. Otherwise this environment variable will not be set. +
CONTENT_TYPE +
The MIME media type associated with the submitted job file, for example "application/postscript". +
CUPS_CACHEDIR +
The directory where semi-persistent cache files can be found and stored. +
CUPS_DATADIR +
The directory where data files can be found. +
CUPS_FILETYPE +
The type of file being printed: "job-sheet" for a banner page and "document" +for a regular print file. +
CUPS_MAX_MESSAGE +
The maximum size of a message sent to stderr, including any leading prefix and the trailing newline. +
CUPS_SERVERROOT +
The root directory of the server. +
FINAL_CONTENT_TYPE +
The MIME media type associated with the output destined for the printer, for example "application/vnd.cups-postscript". +
LANG +
The default language locale (typically C or en). +
PATH +
The standard execution path for external programs that may be run by the filter. +
PPD +
The full pathname of the PostScript Printer Description (PPD) file for this printer. +
PRINTER +
The name of the printer. +
RIP_CACHE +
The recommended amount of memory to use for Raster Image Processors (RIPs). +
SOFTWARE +
The name and version number of the server (typically CUPS/major.minor). +
TZ +
The timezone of the server. +
USER +
The user executing the filter, typically "lp" or "root"; consult the cups-files.conf file for the current setting. +
+

Conforming To

+While the filter interface is compatible with System V interface scripts, CUPS does not support System V interface scripts. +

Notes

+CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

CUPS filters are not meant to be run directly by the user. +Aside from the legacy System V interface issues (argv[0] is the printer name), CUPS filters also expect specific environment variables and file descriptors, and typically run in a user session that (on macOS) has additional restrictions that affect how it runs. +Unless you are a developer and know what you are doing, please do not run filters directly. +Instead, use the +cupsfilter(8) +program to use the appropriate filters to do the conversions you need. +

See Also

+backend(7), +cups(1), +cups-files.conf(5), +cupsd(8), +cupsfilter(8), +
+CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-ippevepcl.html b/doc/help/man-ippevepcl.html new file mode 100644 index 0000000..529f6da --- /dev/null +++ b/doc/help/man-ippevepcl.html @@ -0,0 +1,49 @@ + + + + + + ippevepcl/ps(7) + + +

ippevepcl/ps(7)

+

Name

+ippevepcl/ps - pcl and postscript print commands for ippeveprinter +

Synopsis

+ippevepcl +[ +filename +] +
+ippeveps +[ +filename +] +

Description

+ippevepcl +and +ippeveps +are print commands for +ippeveprinter(1). +As with all print commands, these commands read either the filename specified on the command-line or from the standard input. +Output is sent to the standard output. +Status and progress messages are sent to the standard error. +

ippevepcl +prints to B&W HP PCL laser printers and supports printing of HP PCL (application/vnd.hp-pcl), PWG Raster (image/pwg-raster), and Apple Raster (image/urf) print files. +

ippeveps +print to Adobe PostScript printers and supports printing of PDF (application/pdf), PostScript (application/postscript), JPEG (image/jpeg), PWG Raster (image/pwg-raster), and Apple Raster (image/urf) print files. +Printer-specific commands are read from a supplied PPD file. +If no PPD file is specified, generic commands suitable for any Level 2 or Level 3 PostScript printer are used instead to specify duplex printing and media size. +

Exit Status

+These programs return 1 on error and 0 on success. +

Environment

+These program inherit the environment provided by the +ippeveprinter +program. +

See Also

+ippeveprinter(8) +

Copyright

+Copyright © 2019 by Apple Inc. + + + diff --git a/doc/help/man-ippeveprinter.html b/doc/help/man-ippeveprinter.html new file mode 100644 index 0000000..bcd91ae --- /dev/null +++ b/doc/help/man-ippeveprinter.html @@ -0,0 +1,243 @@ + + + + + + ippeveprinter(1) + + +

ippeveprinter(1)

+

Name

+ippeveprinter - an ipp everywhere printer application for cups +

Synopsis

+ippeveprinter +[ +--help +] [ +--no-web-forms +] [ +--pam-service +service +] [ +--version +] [ +-2 +] [ +-A +] [ +-D +device-uri +] [ +-F +output-type/subtype +] [ +-K +keypath +] [ +-M +manufacturer +] [ +-P +filename.ppd +] [ +-V +ipp-version +] [ +-a +filename.conf +] [ +-c +command +] [ +-d +spool-directory +] [ +-f +type/subtype[,...] +] [ +-i +iconfile.png +] [ +-k +] [ +-l +location +] [ +-m +model +] [ +-n +hostname +] [ +-p +port +] [ +-r +subtype[,subtype] +] [ +-s +speed[,color-speed] +] [ +-v[vvv] +] +service-name +

Description

+ippeveprinter +is a simple Internet Printing Protocol (IPP) server conforming to the IPP Everywhere (PWG 5100.14) specification. It can be used to test client software or act as a very basic print server that runs a command for every job that is printed. +

Options

+The following options are recognized by +ippeveprinter: +
+
--help +
Show program usage. +
--no-web-forms +
Disable the web interface forms used to update the media and supply levels. +
--pam-service service +
Set the PAM service name. +The default service is "cups". +
--version +
Show the CUPS version. +
-2 +
Report support for two-sided (duplex) printing. +
-A +
Enable authentication for the created printer. +ippeveprinter +uses PAM to authenticate HTTP Basic credentials. +
-D device-uri +
Set the device URI for print output. +The URI can be a filename, directory, or a network socket URI of the form "socket://ADDRESS[:PORT]" (where the default port number is 9100). +When specifying a directory, +ippeveprinter +will create an output file using the job ID and name. +
-F output-type/subtype[,...] +
Specifies the output MIME media type. +The default is "application/postscript" when the -P option is specified. +
-M manufacturer +
Set the manufacturer of the printer. +The default is "Example". +
-P filename.ppd +
Load printer attributes from the specified PPD file. +This option is typically used in conjunction with the +ippeveps(7) +printer command ("-c ippeveps"). +
-V 1.1 +
-V 2.0 +
Specifies the maximum IPP version to report. +2.0 is the default. +
-c command +
Run the specified command for each document that is printed. +If "command" is not an absolute path ("/path/to/command"), +ippeveprinter +looks for the command in the "command" subdirectory of the CUPS binary directory, typically /usr/lib/cups/command or /usr/libexec/cups/command. +The +cups-config(1) +command can be used to discover the correct binary directory ("cups-config --serverbin"). +In addition, the CUPS_SERVERBIN environment variable can be used to override the default location of this directory - see the +cups(1) +man page for more details. +
-d spool-directory +
Specifies the directory that will hold the print files. +The default is a directory under the user's current temporary directory. +
-f type/subtype[,...] +
Specifies a list of MIME media types that the server will accept. +The default depends on the type of printer created. +
-i iconfile.png +
Specifies the printer icon file for the server. +The file must be a PNG format image. +The default is an internally-provided PNG image. +
-k +
Keeps the print documents in the spool directory rather than deleting them. +
-l location +
Specifies the human-readable location string that is reported by the server. +The default is the empty string. +
-m model +
Specifies the model name of the printer. +The default is "Printer". +
-n hostname +
Specifies the hostname that is reported by the server. +The default is the name returned by the +hostname(1) +command. +
-p port +
Specifies the port number to listen on. +The default is a user-specific number from 8000 to 8999. +
-roff +
Turns off DNS-SD service advertisements entirely. +
-r subtype[,subtype] +
Specifies the DNS-SD subtype(s) to advertise. +Separate multiple subtypes with a comma. +The default is "_print". +
-s speed[,color-speed] +
Specifies the printer speed in pages per minute. +If two numbers are specified and the second number is greater than zero, the server will report support for color printing. +The default is "10,0". +
-v[vvv] +
Be (very) verbose when logging activity to standard error. +
+

Exit Status

+The +ippeveprinter +program returns 1 if it is unable to process the command-line arguments or register the IPP service. +Otherwise +ippeveprinter +will run continuously until terminated. +

Conforming To

+The +ippeveprinter +program is unique to CUPS and conforms to the IPP Everywhere (PWG 5100.14) specification. +

Environment

+ippeveprinter +adds environment variables starting with "IPP_" for all IPP Job attributes in the print request. +For example, when executing a command for an IPP Job containing the "media" Job Template attribute, the "IPP_MEDIA" environment variable will be set to the value of that attribute. +

In addition, all IPP "xxx-default" and "pwg-xxx" Printer Description attributes are added to the environment. +For example, the "IPP_MEDIA_DEFAULT" environment variable will be set to the default value for the "media" Job Template attribute. +

Enumerated values are converted to their keyword equivalents. +For example, a "print-quality" Job Template attribute with a enum value of 3 will become the "IPP_PRINT_QUALITY" environment variable with a value of "draft". +This string conversion only happens for standard Job Template attributes, currently "finishings", "orientation-requested", and "print-quality". +

Finally, the "CONTENT_TYPE" environment variable contains the MIME media type of the document being printed, the "DEVICE_URI" environment variable contains the device URI as specified with the "-D" option, the "OUTPUT_FORMAT" environment variable contains the output MIME media type, and the "PPD" environment variable contains the PPD filename as specified with the "-P" option. +

Command Output

+Unless they communicate directly with a printer, print commands send printer-ready data to the standard output. +

Print commands can send messages back to +ippeveprinter +on the standard error with one of the following prefixes: +

+
ATTR: attribute=value[ attribute=value] +
Sets the named attribute(s) to the given values. +Currently only the "job-impressions" and "job-impressions-completed" Job Status attributes and the "marker-xxx", "printer-alert", "printer-alert-description", "printer-supply", and "printer-supply-description" Printer Status attributes can be set. +
DEBUG: Debugging message +
Logs a debugging message if at least two -v's have been specified. +
ERROR: Error message +
Logs an error message and copies the message to the "job-state-message" attribute. +
INFO: Informational message +
Logs an informational/progress message if -v has been specified and copies the message to the "job-state-message" attribute unless an error has been reported. +
STATE: keyword[,keyword,...] +
Sets the printer's "printer-state-reasons" attribute to the listed keywords. +
STATE: -keyword[,keyword,...] +
Removes the listed keywords from the printer's "printer-state-reasons" attribute. +
STATE: +keyword[,keyword,...] +
Adds the listed keywords to the printer's "printer-state-reasons" attribute. +
+

Examples

+Run +ippeveprinter +with a service name of My Cool Printer: +
+
+    ippeveprinter "My Cool Printer"
+
+

Run the +file(1) +command whenever a job is sent to the server: +

+
+    ippeveprinter -c /usr/bin/file "My Cool Printer"
+
+

See Also

+ippevepcl(7), +ippeveps(7), +PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-ippfind.html b/doc/help/man-ippfind.html new file mode 100644 index 0000000..7c8529b --- /dev/null +++ b/doc/help/man-ippfind.html @@ -0,0 +1,207 @@ + + + + + + ippfind(1) + + +

ippfind(1)

+

Name

+ippfind - find internet printing protocol printers +

Synopsis

+ippfind +[ +options +] regtype[,subtype][.domain.] ... [ +expression + ... ] +
+ippfind +[ +options +] name[.regtype[.domain.]] ... [ +expression + ... ] +
+ippfind +--help +
+ippfind +--version +

Description

+ippfind finds services registered with a DNS server or available through local devices. +Its primary purpose is to find IPP printers and show their URIs, show their current status, or run commands. +

Registration Types

+ippfind supports the following registration types: +
+
_http._tcp +
HyperText Transport Protocol (HTTP, RFC 2616) +
_https._tcp +
Secure HyperText Transport Protocol (HTTPS, RFC 2818) +
_ipp._tcp +
Internet Printing Protocol (IPP, RFC 2911) +
_ipps._tcp +
Secure Internet Printing Protocol (IPPS, draft) +
_printer._tcp +
Line Printer Daemon (LPD, RFC 1179) +
+

Expressions

+ippfind supports expressions much like the +find(1) +utility. +However, unlike +find(1), +ippfind uses POSIX regular expressions instead of shell filename matching patterns. +If --exec, -l, --ls, -p, --print, --print-name, -q, --quiet, -s, or -x is not specified, ippfind adds --print to print the service URI of anything it finds. +The following expressions are supported: +
+
-d regex +
--domain regex +
True if the domain matches the given regular expression. +
--false +
Always false. +
-h regex +
--host regex +
True is the hostname matches the given regular expression. +
-l +
--ls +
Lists attributes returned by Get-Printer-Attributes for IPP printers and traditional find "-ls" output for HTTP URLs. +The result is true if the URI is accessible, false otherwise. +
--local +
True if the service is local to this computer. +
-N name +
--literal-name name +
True if the service instance name matches the given name. +
-n regex +
--name regex +
True if the service instance name matches the given regular expression. +
--path regex +
True if the URI resource path matches the given regular expression. +
-P number[-number] +
--port number[-number] +
True if the port matches the given number or range. +
-p +
--print +
Prints the URI if the result of previous expressions is true. +The result is always true. +
-q +
--quiet +
Quiet mode - just returns the exit codes below. +
-r +
--remote +
True if the service is not local to this computer. +
-s +
--print-name +
Prints the service instance name if the result of previous expressions is true. +The result is always true. +
--true +
Always true. +
-t key +
--txt key +
True if the TXT record contains the named key. +
--txt-key regex +
True if the TXT record contains the named key and matches the given regular expression. +
-u regex +
--uri regex +
True if the URI matches the given regular expression. +
-x utility [ argument ... ] ; +
--exec utility [ argument ... ] ; +
Executes the specified program if the current result is true. +"{foo}" arguments are replaced with the corresponding value - see SUBSTITUTIONS below. +
+

Expressions may also contain modifiers: +

+
( expression ) +
Group the result of expressions. +
! expression +
--not expression +
Unary NOT of the expression. +
expression expression +
expression --and expression +
Logical AND of expressions. +
expression --or expression +
Logical OR of expressions. +
+

Substitutions

+The substitutions for "{foo}" in -e and --exec are: +
+
{service_domain} +
Domain name, e.g., "example.com.", "local.", etc. +
{service_hostname} +
Fully-qualified domain name, e.g., "printer.example.com.", "printer.local.", etc. +
{service_name} +
Service instance name, e.g., "My Fine Printer". +
{service_port} +
Port number for server, typically 631 for IPP and 80 for HTTP. +
{service_regtype} +
DNS-SD registration type, e.g., "_ipp._tcp", "_http._tcp", etc. +
{service_scheme} +
URI scheme for DNS-SD registration type, e.g., "ipp", "http", etc. +
{} +
{service_uri} +
URI for service, e.g., "ipp://printer.local./ipp/print", "http://printer.local./", etc. +
{txt_key} +
Value of TXT record key (lowercase). +
+

Options

+ippfind supports the following options: +
+
--help +
Show program help. +
--version +
Show program version. +
-4 +
Use IPv4 when listing. +
-6 +
Use IPv6 when listing. +
-T seconds +
Specify find timeout in seconds. +If 1 or less, ippfind stops as soon as it thinks it has found everything. +The default timeout is 1 second. +
-V version +
Specifies the IPP version when listing. +Supported values are "1.1", "2.0", "2.1", and "2.2". +
+

Exit Status

+ippfind returns 0 if the result for all processed expressions is true, 1 if the result of any processed expression is false, 2 if browsing or any query or resolution failed, 3 if an undefined option or invalid expression was specified, and 4 if it ran out of memory. +

Environment

+When executing a program, ippfind sets the following environment variables for the matching service registration: +
+
IPPFIND_SERVICE_DOMAIN +
Domain name, e.g., "example.com.", "local.", etc. +
IPPFIND_SERVICE_HOSTNAME +
Fully-qualified domain name, e.g., "printer.example.com.", "printer.local.", etc. +
IPPFIND_SERVICE_NAME +
Service instance name, e.g., "My Fine Printer". +
IPPFIND_SERVICE_PORT +
Port number for server, typically 631 for IPP and 80 for HTTP. +
IPPFIND_SERVICE_REGTYPE +
DNS-SD registration type, e.g., "_ipp._tcp", "_http._tcp", etc. +
IPPFIND_SERVICE_SCHEME +
URI scheme for DNS-SD registration type, e.g., "ipp", "http", etc. +
IPPFIND_SERVICE_URI +
URI for service, e.g., "ipp://printer.local./ipp/print", "http://printer.local./", etc. +
IPPFIND_TXT_fIKEYfR +
Values of TXT record KEY (uppercase). +
+

Examples

+To show the status of all registered IPP printers on your network, run: +
+
+    ippfind --ls
+
+
+Similarly, to send a PostScript test page to every PostScript printer, run: +
+
+    ippfind --txt-pdl application/postscript --exec ipptool
+      -f onepage-letter.ps '{}' print-job.test \;
+
+

See Also

+ipptool(1) +

Copyright

+Copyright © 2013-2019 by Apple Inc. + + + diff --git a/doc/help/man-ipptool.html b/doc/help/man-ipptool.html new file mode 100644 index 0000000..5f9b862 --- /dev/null +++ b/doc/help/man-ipptool.html @@ -0,0 +1,231 @@ + + + + + + ipptool(1) + + +

ipptool(1)

+

Name

+ipptool - perform internet printing protocol requests +

Synopsis

+ipptool +[ +--help +] [ +--ippserver +filename +] [ +--stop-after-include-error +] [ +--version +] [ +-4 +] [ +-6 +] [ +-C +] [ +-E +] [ +-I +] [ +-L +] [ +-P +filename.plist +] [ +-S +] [ +-T +seconds +] [ +-V +version +] [ +-X +] [ +-c +] [ +-d +name=value +] [ +-f +filename +] [ +-h +] [ +-i +seconds +] [ +-n +repeat-count +] [ +-q +] [ +-t +] [ +-v] +printer-uri +testfile +[ ... +testfile +] +

Description

+ipptool +sends IPP requests to the specified +printer-uri +and tests and/or displays the results. +Each named +testfile +defines one or more requests, including the expected response status, attributes, and values. +Output is either a plain text, formatted text, CSV, or XML report on the standard output, with a non-zero exit status indicating that one or more tests have failed. +The +testfile +format is described in +ipptoolfile(5). +

Options

+The following options are recognized by +ipptool: +
+
--help +
Shows program help. +
--ippserver filename +
Specifies that the test results should be written to the named +ippserver +attributes file. +
--stop-after-include-error +
Tells +ipptool +to stop if an error occurs in an included file. Normally +ipptool +will continue with subsequent tests after the INCLUDE directive. +
--version +
Shows the version of +ipptool +being used. +
-4 +
Specifies that +ipptool +must connect to the printer or server using IPv4. +
-6 +
Specifies that +ipptool +must connect to the printer or server using IPv6. +
-C +
Specifies that requests should be sent using the HTTP/1.1 "Transfer-Encoding: chunked" header, which is required for conformance by all versions of IPP. +The default is to use "Transfer-Encoding: chunked" for requests with attached files and "Content-Length:" for requests without attached files. +
-E +
Forces TLS encryption when connecting to the server using the HTTP "Upgrade" header. +
-I +
Specifies that +ipptool +will continue past errors. +
-L +
Specifies that requests should be sent using the HTTP/1.0 "Content-Length:" header, which is required for conformance by all versions of IPP. +The default is to use "Transfer-Encoding: chunked" for requests with attached files and "Content-Length:" for requests without attached files. +
-P filename.plist +
Specifies that the test results should be written to the named XML (Apple plist) file in addition to the regular test report (-t). +This option is incompatible with the -i (interval) and -n (repeat-count) options. +
-S +
Forces (dedicated) TLS encryption when connecting to the server. +
-T seconds +
Specifies a timeout for IPP requests in seconds. +
-V version +
Specifies the default IPP version to use: 1.0, 1.1, 2.0, 2.1, or 2.2. If not specified, version 1.1 is used. +
-X +
Specifies that XML (Apple plist) output is desired instead of the plain text report. +This option is incompatible with the -i (interval) and -n (repeat-count) options. +
-c +
Specifies that CSV (comma-separated values) output is desired instead of the plain text output. +
-d name=value +
Defines the named variable. +
-f filename +
Defines the default request filename for tests. +
-h +
Validate HTTP response headers. +
-i seconds +
Specifies that the (last) +testfile +should be repeated at the specified interval. +This option is incompatible with the -X (XML plist output) option. +
-l +
Specifies that plain text output is desired. +
-n repeat-count +
Specifies that the (last) +testfile +should be repeated the specified number of times. +This option is incompatible with the -X (XML plist output) option. +
-q +
Be quiet and produce no output. +
-t +
Specifies that CUPS test report output is desired instead of the plain text output. +
-v +
Specifies that all request and response attributes should be output in CUPS test mode (-t). +This is the default for XML output. +
+

Exit Status

+The +ipptool +program returns 0 if all tests were successful and 1 otherwise. +

Files

+The following standard files are available: +
+color.jpg
+create-printer-subscription.test
+document-a4.pdf
+document-a4.ps
+document-letter.pdf
+document-letter.ps
+get-completed-jobs.test
+get-jobs.test
+get-notifications.test
+get-printer-attributes.test
+get-subscriptions.test
+gray.jpg
+ipp-1.1.test
+ipp-2.0.test
+ipp-2.1.test
+ipp-2.2.test
+ipp-everywhere.test
+onepage-a4.pdf
+onepage-a4.ps
+onepage-letter.pdf
+onepage-letter.ps
+print-job.test
+print-job-deflate.test
+print-job-gzip.test
+testfile.jpg
+testfile.pcl
+testfile.pdf
+testfile.ps
+testfile.txt
+validate-job.test
+
+

Conforming To

+The +ipptool +program is unique to CUPS and conforms to the Internet Printing Protocol up to version 2.2. +

Examples

+Get a list of completed jobs for "myprinter": +
+
+    ipptool ipp://localhost/printers/myprinter get-completed-jobs.test
+
+

Send email notifications to "user@example.com" when "myprinter" changes: +

+
+    ipptool -d recipient=mailto:user@example.com \
+        ipp://localhost/printers/myprinter create-printer-subscription.test
+
+

See Also

+ipptoolfile(5), +IANA IPP Registry (http://www.iana.org/assignments/ipp\-registrations), +PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp) +RFC 8011 (http://tools.ietf.org/html/rfc8011), +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-ipptoolfile.html b/doc/help/man-ipptoolfile.html new file mode 100644 index 0000000..e0f6727 --- /dev/null +++ b/doc/help/man-ipptoolfile.html @@ -0,0 +1,542 @@ + + + + + + ipptoolfile(5) + + +

ipptoolfile(5)

+

Name

+ipptoolfile - ipptool file format +

Description

+The +ipptool(1) +program accepts free-form plain text files that describe one or more IPP requests. +Comments start with the "#" character and continue to the end of the line. +Each request is enclosed by curly braces, for example: +
+
+    # This is a comment
+    {
+      # The name of the test
+      NAME "Print PDF File"
+
+      # The request to send
+      OPERATION Print-Job
+
+      GROUP operation-attributes-tag
+      ATTR charset attributes-charset utf-8
+      ATTR language attributes-natural-language en
+      ATTR uri printer-uri $uri
+      ATTR name requesting-user-name $user
+      ATTR mimeMediaType document-format application/pdf
+
+      GROUP job-attributes-tag
+      ATTR collection media-col {
+        # US Letter plain paper from the "main" tray
+        MEMBER collection media-size {
+          MEMBER integer x-dimension 21590
+          MEMBER integer y-dimension 27940
+        }
+        MEMBER integer media-top-margin 423
+        MEMBER integer media-bottom-margin 423
+        MEMBER integer media-left-margin 423
+        MEMBER integer media-right-margin 423
+        MEMBER keyword media-source "main"
+        MEMBER keyword media-type "stationery"
+      }
+
+      FILE testfile.pdf
+
+      # The response to expect
+      STATUS successful-ok
+      EXPECT job-id OF-TYPE integer WITH-VALUE >0
+      EXPECT job-uri OF-TYPE uri
+    }
+    {
+      # The name of the test
+      NAME "Wait for Job to Complete"
+
+      # The request to send
+      OPERATION Get-Job-Attributes
+
+      GROUP operation-attributes-tag
+      ATTR charset attributes-charset utf-8
+      ATTR language attributes-natural-language en
+      ATTR uri printer-uri $uri
+      ATTR integer job-id $job-id
+      ATTR name requesting-user-name $user
+
+      # The response to expect
+      STATUS successful-ok
+      EXPECT job-id OF-TYPE integer WITH-VALUE $job-id
+      EXPECT job-uri OF-TYPE uri
+      EXPECT job-state OF-TYPE enum WITH-VALUE >5 REPEAT-NO-MATCH
+      EXPECT job-originating-user-name OF-TYPE name WITH-VALUE "$user"
+
+      # Show the job state until completed...
+      DISPLAY job-state
+      DISPLAY job-state-reasons
+    }
+
+

Top-level Directives

+The following directives can be used outside of a test: +
+
{ test } +
Defines a test. +
DEFINE variable-name value +
Defines the named variable to the given value. This is equivalent to specifying -d variable-name=value on the +ipptool(8) +command-line. +
DEFINE-DEFAULT variable-name value +
Defines the named variable to the given value if it does not already have a value. +
FILE-ID "identifier" +
Specifies an identifier string for the current file. +
IGNORE-ERRORS yes +
IGNORE-ERRORS no +
Specifies whether, by default, +ipptool(8) +will ignore errors and continue with subsequent tests. +
INCLUDE "filename" +
INCLUDE <filename> +
Includes another test file. The first form includes a file relative to the current test file, while the second form includes a file from the +ipptool(8) +include directory. +
INCLUDE-IF-DEFINED name "filename" +
INCLUDE-IF-DEFINED name <filename> +
Includes another test file if the named variable is defined. The first form includes a file relative to the current test file, while the second form includes a file from the +ipptool(8) +include directory. +
INCLUDE-IF-NOT-DEFINED name "filename" +
INCLUDE-IF-NOT-DEFINED name <filename> +
Includes another test file if the named variable is not defined. The first form includes a file relative to the current test file, while the second form includes a file from the +ipptool(8) +include directory. +
SKIP-IF-DEFINED variable-name +
SKIP-IF-NOT-DEFINED variable-name +
Specifies that the remainder of the test file should be skipped when the variable is or is not defined. +
STOP-AFTER-INCLUDE-ERROR no +
STOP-AFTER-INCLUDE-ERROR yes +
Specifies whether tests will be stopped after an error in an included file. +
TRANSFER auto +
Specifies that tests will, by default, use "Transfer-Encoding: chunked" for requests with attached files and "Content-Length:" for requests without attached files. +
TRANSFER chunked +
Specifies that tests will, by default, use the HTTP/1.1 "Transfer-Encoding: chunked" header. This is the default and is equivalent to specifying -c on the +ipptool(8) +command-line. Support for chunked requests is required for conformance with all versions of IPP. +
TRANSFER length +
Specifies that tests will, by default, use the HTTP/1.0 "Content-Length:" header. This is equivalent to specifying -l on the +ipptool(8) +command-line. Support for content length requests is required for conformance with all versions of IPP. +
VERSION 1.0 +
VERSION 1.1 +
VERSION 2.0 +
VERSION 2.1 +
VERSION 2.2 +
Specifies the default IPP version number to use for the tests that follow. +
+

Test Directives

+The following directives are understood within a test: +
+
ATTR out-of-band-tag attribute-name +
ATTR tag attribute-name value(s) +
Adds an attribute to the test request. +Out-of-band tags (admin-define, delete-attribute, no-value, not-settable, unknown, unsupported) have no value. +Values for other tags are delimited by the comma (",") character - escape commas using the "\" character. +Common attributes and values are listed in the IANA IPP registry - see references below. +
ATTR collection attribute-name { MEMBER tag member-name value(s) ... } [ ... ,{ ... } ] +
Adds a collection attribute to the test request. +Member attributes follow the same syntax as regular attributes and can themselves be nested collections. +Multiple collection values can be supplied as needed, separated by commas. +
COMPRESSION deflate +
COMPRESSION gzip +
COMPRESSION none +
Uses the specified compression on the document data following the attributes in a Print-Job or Send-Document request. +
DELAY seconds[,repeat-seconds] +
Specifies a delay in seconds before this test will be run. +If two values are specified, the second value is used as the delay between repeated tests. +
DISPLAY attribute-name +
Specifies that value of the named attribute should be output as part of the +test report. +
EXPECT attribute-name [ predicate(s) ] +
EXPECT ?attribute-name predicate(s) +
EXPECT !attribute-name +
Specifies that the response must/may/must not include the named attribute. Additional requirements can be added as predicates - see the "EXPECT PREDICATES" section for more information on predicates. Attribute names can specify member attributes by separating the attribute and member names with the forward slash, for example "media-col/media-size/x-dimension". +
EXPECT-ALL attribute-name [ predicate(s) ] +
EXPECT-ALL ?attribute-name predicate(s) +
Specifies that the response must/may include the named attribute and that all occurrences of that attribute must match the given predicates. +
FILE filename +
Specifies a file to include at the end of the request. This is typically used when sending a test print file. +
GROUP tag +
Specifies the group tag for subsequent attributes in the request. +
IGNORE-ERRORS yes +
IGNORE-ERRORS no +
Specifies whether +ipptool(8) +will ignore errors and continue with subsequent tests. +
NAME "literal string" +
Specifies the human-readable name of the test. +
OPERATION operation-code +
Specifies the operation to be performed. +
PAUSE "message" +
Displays the provided message and waits for the user to press a key to continue. +
REQUEST-ID number +
REQUEST-ID random +
Specifies the request-id value to use in the request, either an integer or the word "random" to use a randomly generated value (the default). +
RESOURCE path +
Specifies an alternate resource path that is used for the HTTP POST request. The default is the resource from the URI provided to the +ipptool(8) +program. +
SKIP-IF-DEFINED variable-name +
SKIP-IF-NOT-DEFINED variable-name +
Specifies that the current test should be skipped when the variable is or is not defined. +
SKIP-PREVIOUS-ERROR yes +
SKIP-PREVIOUS-ERROR no +
Specifies whether +ipptool(8) +will skip the current test if the previous test resulted in an error/failure. +
STATUS status-code [ predicate ] +
Specifies an expected response status-code value. Additional requirements can be added as predicates - see the "STATUS PREDICATES" section for more information on predicates. +
TEST-ID "identifier" +
Specifies an identifier string for the current test. +
TRANSFER auto +
Specifies that this test will use "Transfer-Encoding: chunked" if it has an attached file or "Content-Length:" otherwise. +
TRANSFER chunked +
Specifies that this test will use the HTTP/1.1 "Transfer-Encoding: chunked" header. +
TRANSFER length +
Specifies that this test will use the HTTP/1.0 "Content-Length:" header. +
VERSION 1.0 +
VERSION 1.1 +
VERSION 2.0 +
VERSION 2.1 +
VERSION 2.2 +
Specifies the IPP version number to use for this test. +
+

Expect Predicates

+The following predicates are understood following the EXPECT test directive: +
+
COUNT number +
Requires the EXPECT attribute to have the specified number of values. +
DEFINE-MATCH variable-name +
Defines the variable to "1" when the EXPECT condition matches. A side-effect of this predicate is that this EXPECT will never fail a test. +
DEFINE-NO-MATCH variable-name +
Defines the variable to "1" when the EXPECT condition does not match. A side-effect of this predicate is that this EXPECT will never fail a test. +
DEFINE-VALUE variable-name +
Defines the variable to the value of the attribute when the EXPECT condition matches. A side-effect of this predicate is that this EXPECT will never fail a test. +
IF-DEFINED variable-name +
Makes the EXPECT conditions apply only if the specified variable is defined. +
IF-NOT-DEFINED variable-name +
Makes the EXPECT conditions apply only if the specified variable is not defined. +
IN-GROUP tag +
Requires the EXPECT attribute to be in the specified group tag. +
OF-TYPE tag[|tag,...] +
Requires the EXPECT attribute to use one of the specified value tag(s). +
REPEAT-LIMIT number +

+Specifies the maximum number of times to repeat if the REPEAT-MATCH or REPEAT-NO-MATCH predicate is specified. The default value is 1000. +
REPEAT-MATCH +
REPEAT-NO-MATCH +
Specifies that the current test should be repeated when the EXPECT condition matches or does not match. +
SAME-COUNT-AS attribute-name +
Requires the EXPECT attribute to have the same number of values as the specified parallel attribute. +
WITH-ALL-HOSTNAMES "literal string" +
WITH-ALL-HOSTNAMES "/regular expression/" +
Requires that all URI values contain a matching hostname. +
WITH-ALL-RESOURCES "literal string" +
WITH-ALL-RESOURCES "/regular expression/" +
Requires that all URI values contain a matching resource (including leading /). +
WITH-ALL-SCHEMES "literal string" +
WITH-ALL-SCHEMES "/regular expression/" +
Requires that all URI values contain a matching scheme. +
WITH-ALL-VALUES "literal string" +
Requires that all values of the EXPECT attribute match the literal string. Comparisons are case-sensitive. +
WITH-ALL-VALUES <number +
WITH-ALL-VALUES =number +
WITH-ALL-VALUES >number +
WITH-ALL-VALUES number[,...,number] +
Requires that all values of the EXPECT attribute match the number(s) or numeric comparison. When comparing rangeOfInteger values, the "<" and ">" operators only check the upper bound of the range. +
WITH-ALL-VALUES "false" +
WITH-ALL-VALUES "true" +
Requires that all values of the EXPECT attribute match the boolean value given. +
WITH-ALL-VALUES "/regular expression/" +
Requires that all values of the EXPECT attribute match the regular expression, which must conform to the POSIX regular expression syntax. Comparisons are case-sensitive. +
WITH-HOSTNAME "literal string" +
WITH-HOSTNAME "/regular expression/" +
Requires that at least one URI value contains a matching hostname. +
WITH-RESOURCE "literal string" +
WITH-RESOURCE "/regular expression/" +
Requires that at least one URI value contains a matching resource (including leading /). +
WITH-SCHEME "literal string" +
WITH-SCHEME "/regular expression/" +
Requires that at least one URI value contains a matching scheme. +
WITH-VALUE "literal string" +
Requires that at least one value of the EXPECT attribute matches the literal string. Comparisons are case-sensitive. +
WITH-VALUE <number +
WITH-VALUE =number +
WITH-VALUE >number +
WITH-VALUE number[,...,number] +
Requires that at least one value of the EXPECT attribute matches the number(s) or numeric comparison. When comparing rangeOfInteger values, the "<" and ">" operators only check the upper bound of the range. +
WITH-VALUE "false" +
WITH-VALUE "true" +
Requires that at least one value of the EXPECT attribute matches the boolean value given. +
WITH-VALUE "/regular expression/" +
Requires that at least one value of the EXPECT attribute matches the regular expression, which must conform to the POSIX regular expression syntax. Comparisons are case-sensitive. +
WITH-VALUE-FROM attribute-name +
Requires that the value(s) of the EXPECT attribute matches the value(s) in the specified attribute. +For example, "EXPECT job-sheets WITH-VALUE-FROM job-sheets-supported" requires that the "job-sheets" value is listed as a value of the "job-sheets-supported" attribute. +
+

Status Predicates

+The following predicates are understood following the STATUS test directive: +
+
DEFINE-MATCH variable-name +
Defines the variable to "1" when the STATUS matches. A side-effect of this predicate is that this STATUS will never fail a test. +
DEFINE-NO-MATCH variable-name +
Defines the variable to "1" when the STATUS does not match. A side-effect of this predicate is that this STATUS will never fail a test. +
IF-DEFINED variable-name +
Makes the STATUS apply only if the specified variable is defined. +
IF-NOT-DEFINED variable-name +
Makes the STATUS apply only if the specified variable is not defined. +
REPEAT-LIMIT number +

+Specifies the maximum number of times to repeat. The default value is 1000. +
REPEAT-MATCH +
REPEAT-NO-MATCH +
Specifies that the current test should be repeated when the response status-code matches or does not match the value specified by the STATUS directive. +
+

Operation Codes

+Operation codes correspond to the hexadecimal numbers (0xHHHH) and names from RFC 8011 and other IPP extension specifications. Here is a complete list of names supported by +ipptool(8): +
+
+    Activate-Printer
+    CUPS-Accept-Jobs
+    CUPS-Add-Modify-Class
+    CUPS-Add-Modify-Printer
+    CUPS-Authenticate-Job
+    CUPS-Delete-Class
+    CUPS-Delete-Printer
+    CUPS-Get-Classes
+    CUPS-Get-Default
+    CUPS-Get-Devices
+    CUPS-Get-Document
+    CUPS-Get-PPD
+    CUPS-Get-PPDs
+    CUPS-Get-Printers
+    CUPS-Move-Job
+    CUPS-Reject-Jobs
+    CUPS-Set-Default
+    Cancel-Current-Job
+    Cancel-Job
+    Cancel-Jobs
+    Cancel-My-Jobs
+    Cancel-Subscription
+    Close-Job
+    Create-Job
+    Create-Job-Subscriptions
+    Create-Printer-Subscriptions
+    Deactivate-Printer
+    Disable-Printer
+    Enable-Printer
+    Get-Job-Attributes
+    Get-Jobs
+    Get-Notifications
+    Get-Printer-Attributes
+    Get-Printer-Support-Files
+    Get-Printer-Supported-Values
+    Get-Subscription-Attributes
+    Get-Subscriptions
+    Hold-Job
+    Hold-New-Jobs
+    Identify-Printer
+    Pause-Printer
+    Pause-Printer-After-Current-Job
+    Print-Job
+    Print-URI
+    Promote-Job
+    Purge-Jobs
+    Release-Held-New-Jobs
+    Release-Job
+    Renew-Subscription
+    Reprocess-Job
+    Restart-Job
+    Restart-Printer
+    Resubmit-Job
+    Resume-Job
+    Resume-Printer
+    Schedule-Job-After
+    Send-Document
+    Send-Hardcopy-Document
+    Send-Notifications
+    Send-URI
+    Set-Job-Attributes
+    Set-Printer-Attributes
+    Shutdown-Printer
+    Startup-Printer
+    Suspend-Current-Job
+    Validate-Document
+    Validate-Job
+
+

Status Codes

+Status codes correspond to the hexadecimal numbers (0xHHHH) and names from RFC 8011 and other IPP extension specifications. Here is a complete list of the names supported by +ipptool(8): +
+
+    client-error-account-authorization-failed
+    client-error-account-closed
+    client-error-account-info-needed
+    client-error-account-limit-reached
+    client-error-attributes-not-settable
+    client-error-attributes-or-values-not-supported
+    client-error-bad-request
+    client-error-charset-not-supported
+    client-error-compression-error
+    client-error-compression-not-supported
+    client-error-conflicting-attributes
+    client-error-document-access-error
+    client-error-document-format-error
+    client-error-document-format-not-supported
+    client-error-document-password-error
+    client-error-document-permission-error
+    client-error-document-security-error
+    client-error-document-unprintable-error
+    client-error-forbidden
+    client-error-gone
+    client-error-ignored-all-notifications
+    client-error-ignored-all-subscriptions
+    client-error-not-authenticated
+    client-error-not-authorized
+    client-error-not-found
+    client-error-not-possible
+    client-error-print-support-file-not-found
+    client-error-request-entity-too-large
+    client-error-request-value-too-long
+    client-error-timeout
+    client-error-too-many-subscriptions
+    client-error-uri-scheme-not-supported
+    cups-error-account-authorization-failed
+    cups-error-account-closed
+    cups-error-account-info-needed
+    cups-error-account-limit-reached
+    cups-see-other
+    redirection-other-site
+    server-error-busy
+    server-error-device-error
+    server-error-internal-error
+    server-error-job-canceled
+    server-error-multiple-document-jobs-not-supported
+    server-error-not-accepting-jobs
+    server-error-operation-not-supported
+    server-error-printer-is-deactivated
+    server-error-service-unavailable
+    server-error-temporary-error
+    server-error-version-not-supported
+    successful-ok
+    successful-ok-but-cancel-subscription
+    successful-ok-conflicting-attributes
+    successful-ok-events-complete
+    successful-ok-ignored-notifications
+    successful-ok-ignored-or-substituted-attributes
+    successful-ok-ignored-subscriptions
+    successful-ok-too-many-events
+
+

Tags

+Value and group tags correspond to the names from RFC 8011 and other IPP extension specifications. Here are the group tags: +
+
+    document-attributes-tag
+    event-notification-attributes-tag
+    job-attributes-tag
+    operation-attributes-tag
+    printer-attributes-tag
+    subscription-attributes-tag
+    unsupported-attributes-tag
+
+

Here are the value tags: +

+
+    admin-define
+    boolean
+    charset
+    collection
+    dateTime
+    default
+    delete-attribute
+    enum
+    integer
+    keyword
+    mimeMediaType
+    nameWithLanguage
+    nameWithoutLanguage
+    naturalLanguage
+    no-value
+    not-settable
+    octetString
+    rangeOfInteger
+    resolution
+    textWithLanguage
+    textWithoutLanguage
+    unknown
+    unsupported
+    uri
+    uriScheme
+
+

Variables

+The +ipptool(8) +program maintains a list of variables that can be used in any literal string or attribute value by specifying "$variable-name". Aside from variables defined using the -d option or DEFINE directive, the following pre-defined variables are available: +
+
$$ +
Inserts a single "$" character. +
$ENV[name] +
Inserts the value of the named environment variable, or an empty string if the environment variable is not defined. +
$date-current +
Inserts the current date and time using the ISO-8601 format ("yyyy-mm-ddThh:mm:ssZ"). +
$date-start +
Inserts the starting date and time using the ISO-8601 format ("yyyy-mm-ddThh:mm:ssZ"). +
$filename +
Inserts the filename provided to +ipptool(8) +with the -f option. +
$filetype +
Inserts the MIME media type for the filename provided to +ipptool(8) +with the -f option. +
$hostname +
Inserts the hostname from the URI provided to +ipptool(8). +
$job-id +
Inserts the last "job-id" attribute value returned in a test response or 0 if no "job-id" attribute has been seen. +
$job-uri +
Inserts the last "job-uri" attribute value returned in a test response or an empty string if no "job-uri" attribute has been seen. +
$notify-subscription-id +
Inserts the last "notify-subscription-id" attribute value returned in a test response or 0 if no "notify-subscription-id" attribute has been seen. +
$port +
Inserts the port number from the URI provided to +ipptool(8). +
$resource +
Inserts the resource path from the URI provided to +ipptool(8). +
$scheme +
Inserts the scheme from the URI provided to +ipptool(8). +
$uri +
Inserts the URI provided to +ipptool(8). +
$uriuser +
Inserts the username from the URI provided to +ipptool(8), +if any. +
$user +
Inserts the current user's login name. +
+

See Also

+ipptool(1), +IANA IPP Registry (http://www.iana.org/assignments/ipp-registrations), +PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp), +RFC 8011 (http://tools.ietf.org/html/rfc8011) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-lp.html b/doc/help/man-lp.html new file mode 100644 index 0000000..ba22127 --- /dev/null +++ b/doc/help/man-lp.html @@ -0,0 +1,203 @@ + + + + + + lp(1) + + +

lp(1)

+

Name

+lp - print files +

Synopsis

+lp +[ +-E +] [ +-U +username +] [ +-c +] [ +-d destination[/instance] +] [ +-h hostname[:port] +] [ +-m +] [ +-n +num-copies +] [ +-o option[=value] +] [ +-q +priority +] [ +-s +] [ +-t +title +] [ +-H +handling +] [ +-P +page-list +] [ +-- +] [ +file(s) +] +
+lp +[ +-E +] [ +-U +username +] [ +-c +] [ +-h hostname[:port] +] [ +-i +job-id +] [ +-n +num-copies +] [ +-o option[=value] +] [ +-q +priority +] [ +-t +title +] [ +-H +handling +] [ +-P +page-list +] +

Description

+lp submits files for printing or alters a pending job. +Use a filename of "-" to force printing from the standard input. +

The Default Destination

+CUPS provides many ways to set the default destination. The LPDEST and PRINTER environment variables are consulted first. +If neither are set, the current default set using the +lpoptions(1) +command is used, followed by the default set using the +lpadmin(8) +command. +

Options

+The following options are recognized by lp: +
+
-- +
Marks the end of options; use this to print a file whose name begins with a dash (-). +
-E +
Forces encryption when connecting to the server. +
-U username +
Specifies the username to use when connecting to the server. +
-c +
This option is provided for backwards-compatibility only. On systems that support it, this option forces the print file to be copied to the spool directory before printing. +In CUPS, print files are always sent to the scheduler via IPP which has the same effect. +
-d destination +
Prints files to the named printer. +
-h hostname[:port] +
Chooses an alternate server. +
-i job-id +
Specifies an existing job to modify. +
-m +
Sends an email when the job is completed. +
-n copies +
Sets the number of copies to print. +
-o "name=value [ ... name=value ]" +
Sets one or more job options. +See "COMMON JOB OPTIONS" below. +
-q priority +
Sets the job priority from 1 (lowest) to 100 (highest). +The default priority is 50. +
-s +
Do not report the resulting job IDs (silent mode.) +
-t "name" +
Sets the job name. +
-H hh:mm +
-H hold +
-H immediate +
-H restart +
-H resume +
Specifies when the job should be printed. +A value of immediate will print the file immediately, a value of hold will hold the job indefinitely, and a UTC time value (HH:MM) will hold the job until the specified UTC (not local) time. +Use a value of resume with the -i option to resume a held job. +Use a value of restart with the -i option to restart a completed job. +
-P page-list +
Specifies which pages to print in the document. +The list can contain a list of numbers and ranges (#-#) separated by commas, e.g., "1,3-5,16". +The page numbers refer to the output pages and not the document's original pages - options like "number-up" can affect the numbering of the pages. +
+

Common Job Options

+Aside from the printer-specific options reported by the +lpoptions(1) +command, the following generic options are available: +
+
-o job-sheets=name +
Prints a cover page (banner) with the document. +The "name" can be "classified", "confidential", "secret", "standard", "topsecret", or "unclassified". +
-o media=size +
Sets the page size to size. Most printers support at least the size names "a4", "letter", and "legal". +
-o number-up={2|4|6|9|16} +
Prints 2, 4, 6, 9, or 16 document (input) pages on each output page. +
-o orientation-requested=4 +
Prints the job in landscape (rotated 90 degrees counter-clockwise). +
-o orientation-requested=5 +
Prints the job in landscape (rotated 90 degrees clockwise). +
-o orientation-requested=6 +
Prints the job in reverse portrait (rotated 180 degrees). +
-o print-quality=3 +
-o print-quality=4 +
-o print-quality=5 +
Specifies the output quality - draft (3), normal (4), or best (5). +
-o sides=one-sided +
Prints on one side of the paper. +
-o sides=two-sided-long-edge +
Prints on both sides of the paper for portrait output. +
-o sides=two-sided-short-edge +
Prints on both sides of the paper for landscape output. +
+

Conforming To

+Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". +Also, printer and class names are not case-sensitive. +

The -q option accepts a different range of values than the Solaris lp command, matching the IPP job priority values (1-100, 100 is highest priority) instead of the Solaris values (0-39, 0 is highest priority). +

Examples

+Print two copies of a document to the default printer: +
+
+    lp -n 2 filename
+
+
+Print a double-sided legal document to a printer called "foo": +
+
+    lp -d foo -o media=legal -o sides=two-sided-long-edge filename
+
+
+Print a presentation document 2-up to a printer called "bar": +
+
+    lp -d bar -o number-up=2 filename
+
+

See Also

+cancel(1), +lpadmin(8), +lpoptions(1), +lpq(1), +lpr(1), +lprm(1), +lpstat(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-lpadmin.html b/doc/help/man-lpadmin.html new file mode 100644 index 0000000..755bf2f --- /dev/null +++ b/doc/help/man-lpadmin.html @@ -0,0 +1,198 @@ + + + + + + lpadmin(8) + + +

lpadmin(8)

+

Name

+lpadmin - configure cups printers and classes +

Synopsis

+lpadmin +[ +-E +] [ +-U +username +] [ +-h server[:port] +] +-d +destination +
+lpadmin +[ +-E +] [ +-U +username +] [ +-h server[:port] +] +-p +destination +[ +-R +name-default +] +option(s) +
+lpadmin +[ +-E +] [ +-U +username +] [ +-h server[:port] +] +-x +destination +

Description

+lpadmin configures printer and class queues provided by CUPS. +It can also be used to set the server default printer or class. +

When specified before the -d, -p, or -x options, the -E option forces encryption when connecting to the server. +

The first form of the command (-d) sets the default printer or class to destination. +Subsequent print jobs submitted via the +lp(1) +or +lpr(1) +commands will use this destination unless the user specifies otherwise with the +lpoptions(1) +command. +

The second form of the command (-p) configures the named printer or class. The additional options are described below. +

The third form of the command (-x) deletes the printer or class destination. +Any jobs that are pending for the destination will be removed and any job that is currently printed will be aborted. +

Options

+The following options are recognized when configuring a printer queue: +
+
-c class +
Adds the named printer to class. +If class does not exist it is created automatically. +
-m model +
Sets a standard PPD file for the printer from the model directory or using one of the driver interfaces. +Use the -m option with the +lpinfo(8) +command to get a list of supported models. +The model "raw" clears any existing PPD file and the model "everywhere" queries the printer referred to by the specified IPP device-uri. +Note: Models other than "everywhere" are deprecated and will not be supported in a future version of CUPS. +
-o cupsIPPSupplies=true +
-o cupsIPPSupplies=false +
Specifies whether IPP supply level values should be reported. +
-o cupsSNMPSupplies=true +
-o cupsSNMPSupplies=false +
Specifies whether SNMP supply level (RFC 3805) values should be reported. +
-o job-k-limit=value +
Sets the kilobyte limit for per-user quotas. +The value is an integer number of kilobytes; one kilobyte is 1024 bytes. +
-o job-page-limit=value +
Sets the page limit for per-user quotas. +The value is the integer number of pages that can be printed; double-sided pages are counted as two pages. +
-o job-quota-period=value +
Sets the accounting period for per-user quotas. +The value is an integer number of seconds; 86,400 seconds are in one day. +
-o job-sheets-default=banner +
-o job-sheets-default=banner,banner +
Sets the default banner page(s) to use for print jobs. +
-o name=value +
Sets a PPD option for the printer. +PPD options can be listed using the -l option with the +lpoptions(1) +command. +
-o name-default=value +
Sets a default server-side option for the destination. +Any print-time option can be defaulted, e.g., "-o number-up-default=2" to set the default "number-up" option value to 2. +
-o port-monitor=name +
Sets the binary communications program to use when printing, "none", "bcp", or "tbcp". +The default program is "none". +The specified port monitor must be listed in the printer's PPD file. +
-o printer-error-policy=name +
Sets the policy for errors such as printers that cannot be found or accessed, don't support the format being printed, fail during submission of the print data, or cause one or more filters to crash. +The name must be one of "abort-job" (abort the job on error), "retry-job" (retry the job at a future time), "retry-current-job" (retry the current job immediately), or "stop-printer" (stop the printer on error). +The default error policy is "stop-printer" for printers and "retry-current-job" for +classes. +
-o printer-is-shared=true +
-o printer-is-shared=false +
Sets the destination to shared/published or unshared/unpublished. +Shared/published destinations are publicly announced by the server on the LAN based on the browsing configuration in cupsd.conf, while unshared/unpublished destinations are not announced. +The default value is "true". +
-o printer-op-policy=name +
Sets the IPP operation policy associated with the destination. +The name must be defined in the cupsd.conf in a Policy section. +The default operation policy is "default". +
-R name-default +
Deletes the named option from printer. +
-r class +
Removes the named printer from class. +If the resulting class becomes empty it is removed. +
-u allow:{user|@group}{,user|,@group}* +
-u deny:{user|@group}{,user|,@group}* +
-u allow:all +
-u deny:none +
Sets user-level access control on a destination. +Names starting with "@" are interpreted as UNIX groups. +The latter two forms turn user-level access control off. +Note: The user 'root' is not granted special access - using "-u allow:foo,bar" will allow users 'foo' and 'bar' to access the printer but NOT 'root'. +
-v "device-uri" +
Sets the device-uri attribute of the printer queue. +Use the -v option with the +lpinfo(8) +command to get a list of supported device URIs and schemes. +
-D "info" +
Provides a textual description of the destination. +
-E +
When specified before the -d, -p, or -x options, forces the use of TLS encryption on the connection to the scheduler. +Otherwise, enables the destination and accepts jobs; this is the same as running the +cupsaccept(8) +and +cupsenable(8) +programs on the destination. +
-L "location" +
Provides a textual location of the destination. +
+

Deprecated Options

+The following lpadmin options are deprecated: +
+
-i filename +
This option historically has been used to provide either a System V interface script or (as an implementation side-effect) a PPD file. +Note: Interface scripts are not supported by CUPS. +PPD files and printer drivers are deprecated and will not be supported in a future version of CUPS. +
-P ppd-file +
Specifies a PostScript Printer Description (PPD) file to use with the printer. +Note: PPD files and printer drivers are deprecated and will not be supported in a future version of CUPS. +
+

Conforming To

+Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". +Also, printer and class names are not case-sensitive. +

Finally, the CUPS version of lpadmin may ask the user for an access password depending on the printing system configuration. +This differs from the System V version which requires the root user to execute this command. +

Notes

+CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

The CUPS version of lpadmin does not support all of the System V or Solaris printing system configuration options. +

Interface scripts are not supported for security reasons. +

The double meaning of the -E option is an unfortunate historical oddity. +

The lpadmin command communicates with the scheduler (cupsd) to make changes to the printing system configuration. +This configuration information is stored in several files including printers.conf and classes.conf. +These files should not be edited directly and are an implementation detail of CUPS that is subject to change at any time. +

Example

+Create an IPP Everywhere print queue: +
+
+    lpadmin -p myprinter -E -v ipp://myprinter.local/ipp/print -m everywhere
+
+
+

See Also

+cupsaccept(8), +cupsenable(8), +lpinfo(8), +lpoptions(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-lpc.html b/doc/help/man-lpc.html new file mode 100644 index 0000000..f94d925 --- /dev/null +++ b/doc/help/man-lpc.html @@ -0,0 +1,55 @@ + + + + + + lpc(8) + + +

lpc(8)

+

Name

+lpc - line printer control program (deprecated) +

Synopsis

+lpc +[ +command +[ +parameter(s) +] ] +

Description

+lpc provides limited control over printer and class queues provided by CUPS. It can also be used to query the state of queues. +

If no command is specified on the command-line, lpc displays a prompt and accepts commands from the standard input. +

Commands

+The lpc program accepts a subset of commands accepted by the Berkeley lpc program of the same name: +
+
exit +
Exits the command interpreter. +
help [command] +
? [command] +
Displays a short help message. +
quit +
Exits the command interpreter. +
status [queue] +
Displays the status of one or more printer or class queues. +
+

Notes

+This program is deprecated and will be removed in a future feature release of CUPS. +

Since lpc is geared towards the Berkeley printing system, it is impossible to use lpc to configure printer or class queues provided by CUPS. +To configure printer or class queues you must use the +lpadmin(8) +command or another CUPS-compatible client with that functionality. +

See Also

+cancel(1), +cupsaccept(8), +cupsenable(8), +lp(1), +lpadmin(8), +lpr(1), +lprm(1), +lpstat(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-lpinfo.html b/doc/help/man-lpinfo.html new file mode 100644 index 0000000..1089ec5 --- /dev/null +++ b/doc/help/man-lpinfo.html @@ -0,0 +1,119 @@ + + + + + + lpinfo(8) + + +

lpinfo(8)

+

Name

+lpinfo - show available devices or drivers (deprecated) +

Synopsis

+lpinfo +[ +-E +] [ +-h server[:port] +] [ +-l +] [ +--device-id +device-id-string +] [ +--exclude-schemes +scheme-list +] [ +--include-schemes +scheme-list +] [ +--language +locale +] [ +--make-and-model +name +] [ +--product +name +] +-m +
+lpinfo +[ +-E +] [ +-h server[:port] +] [ +-l +] [ +--exclude-schemes +scheme-list +] [ +--include-schemes +scheme-list +] [ +--timeout +seconds +] +-v +

Description

+lpinfo lists the available devices or drivers known to the CUPS server. +The first form (-m) lists the available drivers, while the second form (-v) lists the available devices. +

Options

+lpinfo accepts the following options: +
+
-E +
Forces encryption when connecting to the server. +
-h server[:port] +
Selects an alternate server. +
-l +
Shows a "long" listing of devices or drivers. +
--device-id device-id-string +
Specifies the IEEE-1284 device ID to match when listing drivers with the -m option. +
--exclude-schemes scheme-list +
Specifies a comma-delimited list of device or PPD schemes that should be excluded from the results. +Static PPD files use the "file" scheme. +
--include-schemes scheme-list +
Specifies a comma-delimited list of device or PPD schemes that should be included in the results. +Static PPD files use the "file" scheme. +
--language locale +
Specifies the language to match when listing drivers with the -m option. +
--make-and-model name +
Specifies the make and model to match when listing drivers with the -m option. +
--product name +
Specifies the product to match when listing drivers with the -m option. +
--timeout seconds +
Specifies the timeout when listing devices with the -v option. +
+

Conforming To

+The lpinfo command is unique to CUPS. +

Examples

+List all devices: +
+
+    lpinfo -v
+
+
+List all drivers: +
+
+    lpinfo -m
+
+
+List drivers matching "HP LaserJet": +
+
+    lpinfo --make-and-model "HP LaserJet" -m
+
+

Notes

+CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

See Also

+lpadmin(8), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-lpmove.html b/doc/help/man-lpmove.html new file mode 100644 index 0000000..74ad0ff --- /dev/null +++ b/doc/help/man-lpmove.html @@ -0,0 +1,75 @@ + + + + + + lpmove(8) + + +

lpmove(8)

+

Name

+lpmove - move a job or all jobs to a new destination +

Synopsis

+lpmove +[ +-E +] [ +-h server[:port] +] [ +-U +username +] +job +destination +
+lpmove +[ +-E +] [ +-h server[:port] +] [ +-U +username +] +source +destination +

Description

+lpmove moves the specified job or all jobs from source to destination. job can be the job ID number or the old destination and job ID. +

Options

+The lpmove command supports the following options: +
+
-E +
Forces encryption when connecting to the server. +
-U username +
Specifies an alternate username. +
-h server[:port] +
Specifies an alternate server. +
+

Examples

+Move job 123 from "oldprinter" to "newprinter": +
+
+    lpmove 123 newprinter
+
+            or
+
+    lpmove oldprinter-123 newprinter
+
+
+Move all jobs from "oldprinter" to "newprinter": +
+
+    lpmove oldprinter newprinter
+
+

See Also

+cancel(1), +lp(1), +lpr(1), +lprm(1), +
+CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-lpoptions.html b/doc/help/man-lpoptions.html new file mode 100644 index 0000000..38ebeeb --- /dev/null +++ b/doc/help/man-lpoptions.html @@ -0,0 +1,111 @@ + + + + + + lpoptions(1) + + +

lpoptions(1)

+

Name

+lpoptions - display or set printer options and defaults +

Synopsis

+lpoptions +[ +-E +] [ +-h server[:port] +] +-d destination[/instance] +[ +-l +] +
+lpoptions +[ +-E +] [ +-h server[:port] +] [ +-p destination[/instance] +] +-o option[=value] ... +
+lpoptions +[ +-E +] [ +-h server[:port] +] [ +-p destination[/instance] +] +-r +option +
+lpoptions +[ +-E +] [ +-h server[:port] +] +-x destination[/instance] +

Description

+lpoptions displays or sets printer options and defaults. +If no printer is specified using the -p option, the default printer is used as described in +lp(1). +

If no -l, -o, or -r options are specified, the current options are reported on the standard output. +

Options set with the lpoptions command are used by the +lp(1) +and +lpr(1) +commands when submitting jobs. +

When run by the root user, lpoptions gets and sets default options and instances for all users in the /etc/cups/lpoptions file. +Otherwise, the per-user defaults are managed in the ~/.cups/lpoptions file. +

Options

+lpoptions supports the following options: +
+
-E +
Enables encryption when communicating with the CUPS server. +
-d destination[/instance] +
Sets the user default printer to destination. +If instance is supplied then that particular instance is used. +This option overrides the system default printer for the current user. +
-h server[:port] +
Uses an alternate server. +
-l +
Lists the printer specific options and their current settings. +
-o option[=value] +
Specifies a new option for the named destination. +
-p destination[/instance] +
Sets the destination and instance, if specified, for any options that follow. +If the named instance does not exist then it is created. +Destinations can only be created using the +lpadmin(8) +program. +
-r option +
Removes the specified option from the named destination. +
-x destination[/instance] +
Removes the options for the named destination and instance, if specified. +If the named instance does not exist then this does nothing. +Destinations can only be removed using the +lpadmin(8) +command. +
+

Files

+~/.cups/lpoptions - user defaults and instances created by non-root users. +
+/etc/cups/lpoptions - system-wide defaults and instances created by the root user. +

Conforming To

+The lpoptions command is unique to CUPS. +

See Also

+cancel(1), +lp(1), +lpadmin(8), +lpr(1), +lprm(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-lpq.html b/doc/help/man-lpq.html new file mode 100644 index 0000000..064e882 --- /dev/null +++ b/doc/help/man-lpq.html @@ -0,0 +1,61 @@ + + + + + + lpq(1) + + +

lpq(1)

+

Name

+lpq - show printer queue status +

Synopsis

+lpq +[ +-E +] [ +-U +username +] [ +-h server[:port] +] [ +-P destination[/instance] +] [ +-a +] [ +-l +] [ ++interval +] +

Description

+lpq shows the current print queue status on the named printer. +Jobs queued on the default destination will be shown if no printer or class is specified on the command-line. +

The +interval option allows you to continuously report the jobs in the queue until the queue is empty; the list of jobs is shown once every interval seconds. +

Options

+lpq supports the following options: +
+
-E +
Forces encryption when connecting to the server. +
-P destination[/instance] +
Specifies an alternate printer or class name. +
-U username +
Specifies an alternate username. +
-a +
Reports jobs on all printers. +
-h server[:port] +
Specifies an alternate server. +
-l +
Requests a more verbose (long) reporting format. +
+

See Also

+cancel(1), +lp(1), +lpr(1), +lprm(1), +lpstat(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-lpr.html b/doc/help/man-lpr.html new file mode 100644 index 0000000..c945ea9 --- /dev/null +++ b/doc/help/man-lpr.html @@ -0,0 +1,160 @@ + + + + + + lpr(1) + + +

lpr(1)

+

Name

+lpr - print files +

Synopsis

+lpr +[ +-E +] [ +-H server[:port] +] [ +-U +username +] [ +-P destination[/instance] +] [ +-# +num-copies +[ +-h +] [ +-l +] [ +-m +] [ +-o option[=value] +] [ +-p +] [ +-q +] [ +-r +] [ +-C +title +] [ +-J +title +] [ +-T +title +] [ +file(s) +] +

Description

+lpr submits files for printing. +Files named on the command line are sent to the named printer or the default destination if no destination is specified. +If no files are listed on the command-line, lpr reads the print file from the standard input. +

The Default Destination

+CUPS provides many ways to set the default destination. The LPDEST and PRINTER environment variables are consulted first. +If neither are set, the current default set using the +lpoptions(1) +command is used, followed by the default set using the +lpadmin(8) +command. +

Options

+The following options are recognized by lpr: +
+
-E +
Forces encryption when connecting to the server. +
-H server[:port] +
Specifies an alternate server. +
-C "name" +
-J "name" +
-T "name" +
Sets the job name/title. +
-P destination[/instance] +
Prints files to the named printer. +
-U username +
Specifies an alternate username. +
-# copies +
Sets the number of copies to print. +
-h +
Disables banner printing. This option is equivalent to -o job-sheets=none. +
-l +
Specifies that the print file is already formatted for the destination and should be sent without filtering. +This option is equivalent to -o raw. +
-m +
Send an email on job completion. +
-o option[=value] +
Sets a job option. +See "COMMON JOB OPTIONS" below. +
-p +
Specifies that the print file should be formatted with a shaded header with the date, time, job name, and page number. +This option is equivalent to -o prettyprint and is only useful when printing text files. +
-q +
Hold job for printing. +
-r +
Specifies that the named print files should be deleted after submitting them. +
+

Common Job Options

+Aside from the printer-specific options reported by the +lpoptions(1) +command, the following generic options are available: +
+
-o job-sheets=name +
Prints a cover page (banner) with the document. +The "name" can be "classified", "confidential", "secret", "standard", "topsecret", or "unclassified". +
-o media=size +
Sets the page size to size. Most printers support at least the size names "a4", "letter", and "legal". +
-o number-up={2|4|6|9|16} +
Prints 2, 4, 6, 9, or 16 document (input) pages on each output page. +
-o orientation-requested=4 +
Prints the job in landscape (rotated 90 degrees counter-clockwise). +
-o orientation-requested=5 +
Prints the job in landscape (rotated 90 degrees clockwise). +
-o orientation-requested=6 +
Prints the job in reverse portrait (rotated 180 degrees). +
-o print-quality=3 +
-o print-quality=4 +
-o print-quality=5 +
Specifies the output quality - draft (3), normal (4), or best (5). +
-o sides=one-sided +
Prints on one side of the paper. +
-o sides=two-sided-long-edge +
Prints on both sides of the paper for portrait output. +
-o sides=two-sided-short-edge +
Prints on both sides of the paper for landscape output. +
+

Notes

+The -c, -d, -f, -g, -i, -n, -t, -v, and -w options are not supported by CUPS and produce a warning message if used. +

Examples

+Print two copies of a document to the default printer: +
+
+    lpr -# 2 filename
+
+
+Print a double-sided legal document to a printer called "foo": +
+
+    lpr -P foo -o media=legal -o sides=two-sided-long-edge filename
+
+
+Print a presentation document 2-up to a printer called "foo": +
+
+    lpr -P foo -o number-up=2 filename
+
+

See Also

+cancel(1), +lp(1), +lpadmin(8), +lpoptions(1), +lpq(1), +lprm(1), +lpstat(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-lprm.html b/doc/help/man-lprm.html new file mode 100644 index 0000000..f370b7f --- /dev/null +++ b/doc/help/man-lprm.html @@ -0,0 +1,82 @@ + + + + + + lprm(1) + + +

lprm(1)

+

Name

+lprm - cancel print jobs +

Synopsis

+lprm +[ +-E +] [ +-U +username +] [ +-h +server[:port] +] [ +-P +destination[/instance] +] [ +- +] [ +job-id(s) +] +

Description

+lprm +cancels print jobs that have been queued for printing. +If no arguments are supplied, the current job on the default destination is canceled. +You can specify one or more job ID numbers to cancel those jobs or use the - option to cancel all jobs. +

Options

+The +lprm +command supports the following options: +
+
-E +
Forces encryption when connecting to the server. +
-P destination[/instance] +
Specifies the destination printer or class. +
-U username +
Specifies an alternate username. +
-h server[:port] +
Specifies an alternate server. +
+

Conforming To

+The CUPS version of +lprm +is compatible with the standard Berkeley command of the same name. +

Examples

+Cancel the current job on the default printer: +
+
+    lprm
+
+
+Cancel job 1234: +
+
+    lprm 1234
+
+
+Cancel all jobs: +
+
+    lprm -
+
+

See Also

+cancel(1), +lp(1), +lpq(1), +lpr(1), +lpstat(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-lpstat.html b/doc/help/man-lpstat.html new file mode 100644 index 0000000..0fcd20c --- /dev/null +++ b/doc/help/man-lpstat.html @@ -0,0 +1,133 @@ + + + + + + lpstat(1) + + +

lpstat(1)

+

Name

+lpstat - print cups status information +

Synopsis

+lpstat +[ +-E +] [ +-H +] [ +-U +username +] [ +-h hostname[:port] +] [ +-l +] [ +-W +which-jobs +] [ +-a +[ +destination(s) +] ] [ +-c +[ +class(es) +] ] [ +-d +] [ +-e +] [ +-o +[ +destination(s) +] ] [ +-p +[ +printer(s) +] ] [ +-r +] [ +-R +] [ +-s +] [ +-t +] [ +-u +[ +user(s) +] ] [ +-v +[ +printer(s) +] ] +

Description

+lpstat displays status information about the current classes, jobs, and printers. +When run with no arguments, lpstat will list active jobs queued by the current user. +

Options

+The lpstat command supports the following options: +
+
-E +
Forces encryption when connecting to the server. +
-H +
Shows the server hostname and port. +
-R +
Shows the ranking of print jobs. +
-U username +
Specifies an alternate username. +
-W which-jobs +
Specifies which jobs to show, "completed" or "not-completed" (the default). +This option must appear before the -o option and/or any printer names, otherwise the default ("not-completed") value will be used in the request to the scheduler. +
-a [printer(s)] +
Shows the accepting state of printer queues. +If no printers are specified then all printers are listed. +
-c [class(es)] +
Shows the printer classes and the printers that belong to them. +If no classes are specified then all classes are listed. +
-d +
Shows the current default destination. +
-e +
Shows all available destinations on the local network. +
-h server[:port] +
Specifies an alternate server. +
-l +
Shows a long listing of printers, classes, or jobs. +
-o [destination(s)] +
Shows the jobs queued on the specified destinations. +If no destinations are specified all jobs are shown. +
-p [printer(s)] +
Shows the printers and whether they are enabled for printing. +If no printers are specified then all printers are listed. +
-r +
Shows whether the CUPS server is running. +
-s +
Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and their associated devices. +This is equivalent to using the -d, -c, and -v options. +
-t +
Shows all status information. +This is equivalent to using the -r, -d, -c, -v, -a, -p, and -o options. +
-u [user(s)] +
Shows a list of print jobs queued by the specified users. +If no users are specified, lists the jobs queued by the current user. +
-v [printer(s)] +
Shows the printers and what device they are attached to. +If no printers are specified then all printers are listed. +
+

Conforming To

+Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", and "#". +Also, printer and class names are not case-sensitive. +

The -h, -e, -E, -U, and -W options are unique to CUPS. +

The Solaris -f, -P, and -S options are silently ignored. +

See Also

+cancel(1), +lp(1), +lpq(1), +lpr(1), +lprm(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-mailto.conf.html b/doc/help/man-mailto.conf.html new file mode 100644 index 0000000..8f5b87c --- /dev/null +++ b/doc/help/man-mailto.conf.html @@ -0,0 +1,42 @@ + + + + + + mailto.conf(5) + + +

mailto.conf(5)

+

Name

+mailto.conf - configuration file for cups email notifier +

Description

+The mailto.conf file defines the local mail server and email notification preferences for CUPS. +

Each line in the file can be a configuration directive, a blank line, or a comment. +Configuration directives typically consist of a name and zero or more values separated by whitespace. +The configuration directive name and values are case-insensitive. +Comment lines start with the # character. +

Directives

+
+
Cc cc-address@domain.com +
Specifies an additional recipient for all email notifications. +
From from-address@domain.com +
Specifies the sender of email notifications. +
Sendmail sendmail command and options +
Specifies the sendmail command to use when sending email notifications. +Only one Sendmail or SMTPServer line may be present in the mailto.conf file. +If multiple lines are present, only the last one is used. +
SMTPServer servername +
Specifies a SMTP server to send email notifications to. +Only one Sendmail or SMTPServer line may be present in the mailto.conf file. +If multiple lines are present, only the last one is used. +
Subject subject-prefix +
Specifies a prefix string for the subject line of an email notification. +
+

See Also

+cupsd(8), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-mime.convs.html b/doc/help/man-mime.convs.html new file mode 100644 index 0000000..e4d8813 --- /dev/null +++ b/doc/help/man-mime.convs.html @@ -0,0 +1,59 @@ + + + + + + mime.convs(5) + + +

mime.convs(5)

+

Name

+mime.convs - mime type conversion file for cups (deprecated) +

Description

+The mime.convs file defines the filters that are available for converting files from one format to another. +The standard filters support text, PDF, PostScript, and many types of image files. +

Additional filters are specified in files with the extension .convs in the CUPS configuration directory. +

Each line in the mime.convs file is a comment, blank, or filter +line. +Comment lines start with the # character. +Filter lines specify the source and destination MIME types along with a relative cost associated with the filter and the filter to run: +

+
+    source/type destination/type cost filter
+
+
+The source/type field specifies the source MIME media type that is consumed by the filter. +

The destination/type field specifies the destination MIME media type that is produced by the filter. +

The cost field specifies the relative cost for running the filter. +A value of 100 means that the filter uses a large amount of resources while a value of 0 means that the filter uses very few resources. +

The filter field specifies the filter program filename. +Filenames are relative to the CUPS filter directory. +

Files

+/etc/cups - Typical CUPS configuration directory. +
+/usr/lib/cups/filter - Typical CUPS filter directory. +
+/usr/libexec/cups/filter - CUPS filter directory on macOS. +

Examples

+Define a filter that converts PostScript documents to CUPS Raster format: +
+
+    application/vnd.cups-postscript application/vnd.cups-raster 50 pstoraster
+
+
+

Notes

+CUPS filters are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

See Also

+cups-files.conf(5), +cupsd.conf(5), +cupsd(8), +cupsfilter(8), +mime.types(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-mime.types.html b/doc/help/man-mime.types.html new file mode 100644 index 0000000..cc4393e --- /dev/null +++ b/doc/help/man-mime.types.html @@ -0,0 +1,97 @@ + + + + + + mime.types(5) + + +

mime.types(5)

+

Name

+mime.types - mime type description file for cups +

Description

+The mime.types file defines the recognized file types. +

Additional file types are specified in files with the extension .types in the CUPS configuration directory. +

Each line in the mime.types file is a comment, blank, or rule line. +Comment lines start with the # character. +Rule lines start with the MIME media type and are optionally followed by a series of file recognition rules: +

+
+    mime/type [ rule ... rule ]
+
+
+Rules can be extended over multiple lines using the backslash character (\): +
+
+    mime/type [ really-really-really-long-rule ... \
+      rule ]
+
+
+MIME media types specified by the mime/type field are case-insensitive and are sorted in ascending alphanumeric order for the purposes of matching. +See the "TYPE MATCHING AND PRIORITY" section for more information. +

The rules may be grouped using parenthesis, joined using "+" for a logical AND, joined using "," or whitespace for a logical OR, and negated using "!". +

Rules

+Rules take two forms - a filename extension by itself and functions with test +values inside parenthesis. +The following functions are available: +
+
match("pattern") +
True if the filename matches the given shell wildcard pattern. +
ascii(offset,length) +
True if the length bytes starting at offset are valid printable ASCII (CR, NL, TAB, BS, 32-126). +
printable(offset,length) +
True if the length bytes starting at offset are printable 8-bit chars (CR, NL, TAB, BS, 32-126, 128-254). +
priority(number) +
Specifies the relative priority of this MIME media type. +The default priority is 100. +Larger values have higher priority while smaller values have lower priority. +
string(offset,"string") +
True if the bytes starting at offset are identical to string. +
istring(offset,"string") +
True if the bytes starting at offset match string without respect to case. +
char(offset,value) +
True if the byte at offset is identical to value. +
short(offset,value) +
True if the 16-bit big-endian integer at offset is identical to value. +
int(offset,value) +
True if the 32-bit big-endian integer at offset is identical to value. +
locale("string") +
True if current locale matches string. +
contains(offset,range,"string") +
True if the bytes starting at offset for range bytes contains string. +
+

String Constants

+String constants can be specified inside quotes ("") for strings containing whitespace and angle brackets (<>) for hexadecimal strings. +

Type Matching And Priority

+When CUPS needs to determine the MIME media type of a given file, it checks every MIME media type defined in the .types files. +When two or more types match a given file, the type chosen will depend on the type name and priority, with higher-priority types being used over lower-priority ones. +If the types have the same priority, the type names are sorted alphanumerically in ascending order and the first type is chosen. +

For example, if two types "text/bar" and "text/foo" are defined as matching the +extension "doc", normally the type "text/bar" will be chosen since its name is +alphanumerically smaller than "text/foo". +However, if "text/foo" also defines a higher priority than "text/bar", "text/foo" will be chosen instead. +

Files

+/etc/cups - Typical CUPS configuration directory. +

Examples

+Define two MIME media types for raster data, with one being a subset with higher priority: +
+
+    application/vnd.cups-raster  string(0,"RaSt") string(0,"tSaR") \
+                                  string(0,"RaS2") string(0,"2SaR") \
+                                  string(0,"RaS3") string(0,"3SaR")
+
+    image/pwg-raster              string(0,"RaS2") + \
+                                  string(4,PwgRaster<00>) priority(150)
+
+

See Also

+cups-files.conf(5), +cupsd.conf(5), +cupsd(8), +cupsfilter(8), +mime.convs(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-notifier.html b/doc/help/man-notifier.html new file mode 100644 index 0000000..d8d96d3 --- /dev/null +++ b/doc/help/man-notifier.html @@ -0,0 +1,37 @@ + + + + + + notifier(7) + + +

notifier(7)

+

Name

+notifier - cups notification interface +

Synopsis

+notifier +recipient +[ +user-data +] +

Description

+The CUPS notifier interface provides a standard method for adding support for new event notification methods to CUPS. +Each notifier delivers one or more IPP events from the standard input to the specified recipient. +

Notifiers MUST read IPP messages from the standard input using the +ippNew() +and +ippReadFile() +functions and exit on error. +Notifiers are encouraged to exit after a suitable period of inactivity, however they may exit after reading the first message or stay running until an error is seen. +Notifiers inherit the environment and can use the logging mechanism documented in +filter(7). +

See Also

+cupsd(8), +filter(7), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-ppdc.html b/doc/help/man-ppdc.html new file mode 100644 index 0000000..d4e178b --- /dev/null +++ b/doc/help/man-ppdc.html @@ -0,0 +1,95 @@ + + + + + + ppdc(1) + + +

ppdc(1)

+

Name

+ppdc - cups ppd compiler (deprecated) +

Synopsis

+ppdc +[ +-D name[=value] +] [ +-I +include-directory +] [ +-c +message-catalog +] [ +-d +output-directory +] [ +-l +language(s) +] [ +-m +] [ +-t +] [ +-v +] [ +-z +] [ +--cr +] [ +--crlf +] [ +--lf +] +source-file +

Description

+ppdc compiles PPDC source files into one or more PPD files. +This program is deprecated and will be removed in a future release of CUPS. +

Options

+ppdc supports the following options: +
+
-D name[=value] +
Sets the named variable for use in the source file. +It is equivalent to using the #define directive in the source file. +
-I include-directory +
Specifies an alternate include directory. +Multiple -I options can be supplied to add additional directories. +
-c message-catalog +
Specifies a single message catalog file in GNU gettext (filename.po) or Apple strings (filename.strings) format to be used for localization. +
-d output-directory +
Specifies the output directory for PPD files. +The default output directory is "ppd". +
-l language(s) +
Specifies one or more languages to use when localizing the PPD file(s). +The default language is "en" (English). +Separate multiple languages with commas, for example "de_DE,en_UK,es_ES,es_MX,es_US,fr_CA,fr_FR,it_IT" will create PPD files with German, UK English, Spanish (Spain, Mexico, and US), French (France and Canada), and Italian languages in each file. +
-m +
Specifies that the output filename should be based on the ModelName value instead of FileName or PCFilenName. +
-t +
Specifies that PPD files should be tested instead of generated. +
-v +
Specifies verbose output, basically a running status of which files are being loaded or written. +-z +Generates compressed PPD files (filename.ppd.gz). +The default is to generate uncompressed PPD files. +
--cr +
--crlf +
--lf +
Specifies the line ending to use - carriage return, carriage return and line feed, or line feed alone. +The default is to use the line feed character alone. +
+

Notes

+PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

See Also

+ppdhtml(1), +ppdi(1), +ppdmerge(1), +ppdpo(1), +ppdcfile(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-ppdcfile.html b/doc/help/man-ppdcfile.html new file mode 100644 index 0000000..a81f06a --- /dev/null +++ b/doc/help/man-ppdcfile.html @@ -0,0 +1,99 @@ + + + + + + ppdcfile(5) + + +

ppdcfile(5)

+

Name

+ppdcfile - cups ppd compiler source file format (deprecated) +

Description

+The CUPS PPD compiler reads meta files that contain descriptions of one or more PPD files to be generated by +ppdc(1). +This man page provides a quick reference to the supported keywords and should be used in conjunction with the online help for CUPS. +

The source file format is plain ASCII text that can be edited using your favorite text editor. Comments are supported using the C (/* ... */) and C++ (// ...) comment mechanisms. +

Printer driver information can be grouped and shared using curly braces ({ ... }); PPD files are written when a close brace or end-of-file is seen and a PCFileName directive has been defined. +

Directives may be placed anywhere on a line and are followed by one or more values. The following is a list of the available directives and the values they accept: +

+
#define name value +
#elif {name | value} +
#else +
#endif +
#font name encoding "version" charset status +
#if {name | value} +
#include <filename> +
#include "filename" +
#media name width length +
#media "name/text" width length +
#po locale "filename" +
Attribute name "" value +
Attribute name keyword value +
Attribute name "keyword/text" value +
Choice name "code" +
Choice "name/text" "code" +
ColorDevice boolean-value +
ColorModel name colorspace colororder compression +
ColorModel "name/text" colorspace colororder compression +
ColorProfile resolution/mediatype gamma density matrix +
Copyright "text" +
CustomMedia name width length left bottom right top "size-code" "region-code" +
CustomMedia "name/text" width length left bottom right top "size-code" "region-code" +
Cutter boolean-value +
Darkness temperature name +
Darkness temperature "name/text" +
DriverType type +
Duplex type +
Filter mime-type cost program +
Finishing name +
Finishing "name/text" +
Font * +
Font name encoding "version" charset status +
Group name +
Group "name/text" +
HWMargins left bottom right top +
InputSlot position name +
InputSlot position "name/text" +
Installable name +
Installable "name/text" +
LocAttribute name "keyword/text" value +
ManualCopies boolean-value +
Manufacturer "name" +
MaxSize width length +
MediaSize name +
MediaType type name +
MediaType type "name/text" +
MinSize width length +
ModelName "name" +
ModelNumber number +
Option name type section order +
Option "name/text" type section order +
PCFileName "filename.ppd" +
Resolution colorspace bits-per-color row-count row-feed row-step name +
Resolution colorspace bits-per-color row-count row-feed row-step "name/text" +
SimpleColorProfile resolution/mediatype density yellow-density red-density gamma red-adjust green-adjust blue-adjust +
Throughput pages-per-minute +
UIConstraints "*Option1 *Option2" +
UIConstraints "*Option1 Choice1 *Option2" +
UIConstraints "*Option1 *Option2 Choice2" +
UIConstraints "*Option1 Choice1 *Option2 Choice2" +
VariablePaperSize boolean-value +
Version number +
+

Notes

+PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

See Also

+ppdc(1), +ppdhtml(1), +ppdi(1), +ppdmerge(1), +ppdpo(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-ppdhtml.html b/doc/help/man-ppdhtml.html new file mode 100644 index 0000000..d19621a --- /dev/null +++ b/doc/help/man-ppdhtml.html @@ -0,0 +1,49 @@ + + + + + + ppdhtml(1) + + +

ppdhtml(1)

+

Name

+ppdhtml - cups html summary generator (deprecated) +

Synopsis

+ppdhtml +[ +-D name[=value] +] [ +-I +include-directory +] +source-file +

Description

+ppdhtml reads a driver information file and produces a HTML summary page that lists all of the drivers in a file and the supported options. +This program is deprecated and will be removed in a future release of CUPS. +

Options

+ppdhtml supports the following options: +
+
-D name[=value] +
Sets the named variable for use in the source file. +It is equivalent to using the #define directive in the source file. +
-I include-directory +
Specifies an alternate include directory. +Multiple -I options can be supplied to add additional directories. +
+

Notes

+PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

See Also

+ppdc(1), +ppdcfile(5), +ppdi(1), +ppdmerge(1), +ppdpo(1), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-ppdi.html b/doc/help/man-ppdi.html new file mode 100644 index 0000000..192b02b --- /dev/null +++ b/doc/help/man-ppdi.html @@ -0,0 +1,56 @@ + + + + + + ppdi(1) + + +

ppdi(1)

+

Name

+ppdi - import ppd files (deprecated) +

Synopsis

+ppdi +[ +-I +include-directory +] [ +-o +source-file +] +ppd-file +[ ... +ppd-file +] +

Description

+ppdi imports one or more PPD files into a PPD compiler source file. +Multiple languages of the same PPD file are merged into a single printer definition to facilitate accurate changes for all localizations. +This program is deprecated and will be removed in a future release of CUPS. +

Options

+ppdi supports the following options: +
+
-I include-directory +
Specifies an alternate include directory. +Multiple -I options can be supplied to add additional directories. +
-o source-file +
Specifies the PPD source file to update. +If the source file does not exist, a new source file is created. +Otherwise the existing file is merged with the new PPD file(s) on the command-line. +If no source file is specified, the filename ppdi.drv is used. +
+

Notes

+PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

See Also

+ppdc(1), +ppdhtml(1), +ppdmerge(1), +ppdpo(1), +ppdcfile(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-ppdmerge.html b/doc/help/man-ppdmerge.html new file mode 100644 index 0000000..458fac1 --- /dev/null +++ b/doc/help/man-ppdmerge.html @@ -0,0 +1,52 @@ + + + + + + ppdmerge(1) + + +

ppdmerge(1)

+

Name

+ppdmerge - merge ppd files (deprecated) +

Synopsis

+ppdmerge +[ +-o +output-ppd-file +] +ppd-file +ppd-file +[ ... +ppd-file +] +

Description

+ppdmerge merges two or more PPD files into a single, multi-language +PPD file. +This program is deprecated and will be removed in a future release of CUPS. +

Options

+ppdmerge supports the following options: +
+
-o output-ppd-file +
Specifies the PPD file to create. +If not specified, the merged PPD file is written to the standard output. +If the output file already exists, it is silently overwritten. +
+

Notes

+PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

ppdmerge does not check whether the merged PPD files are for the same device. +Merging of different device PPDs will yield unpredictable results. +

See Also

+ppdc(1), +ppdhtml(1), +ppdi(1), +ppdpo(1), +ppdcfile(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-ppdpo.html b/doc/help/man-ppdpo.html new file mode 100644 index 0000000..61c727a --- /dev/null +++ b/doc/help/man-ppdpo.html @@ -0,0 +1,55 @@ + + + + + + ppdpo(1) + + +

ppdpo(1)

+

Name

+ppdpo - ppd message catalog generator (deprecated) +

Synopsis

+ppdpo +[ +-D name[=value] +] [ +-I +include-directory +] [ +-o +output-file +] +source-file +

Description

+ppdpo extracts UI strings from PPDC source files and updates either a GNU gettext or macOS strings format message catalog source file for translation. +This program is deprecated and will be removed in a future release of CUPS. +

Options

+ppdpo supports the following options: +
+
-D name[=value] +
Sets the named variable for use in the source file. +It is equivalent to using the #define directive in the source file. +
-I include-directory +
Specifies an alternate include directory. +Multiple -I options can be supplied to add additional directories. +
-o output-file +
Specifies the output file. +The supported extensions are .po or .po.gz for GNU gettext format message catalogs and .strings for macOS strings files. +
+

Notes

+PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +ippeveprinter(1). +

See Also

+ppdc(1), +ppdhtml(1), +ppdi(1), +ppdmerge(1), +ppdcfile(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-printers.conf.html b/doc/help/man-printers.conf.html new file mode 100644 index 0000000..4a3123e --- /dev/null +++ b/doc/help/man-printers.conf.html @@ -0,0 +1,31 @@ + + + + + + printers.conf(5) + + +

printers.conf(5)

+

Name

+printers.conf - printer configuration file for cups +

Description

+The printers.conf file defines the local printers that are available. It is normally located in the /etc/cups directory and is maintained by the +cupsd(8) +program. This file is not intended to be edited or managed manually. +

Notes

+The name, location, and format of this file are an implementation detail that will change in future releases of CUPS. +

See Also

+classes.conf(5), +cups-files.conf(5), +cupsd(8), +cupsd.conf(5), +mime.convs(5), +mime.types(5), +subscriptions.conf(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/man-subscriptions.conf.html b/doc/help/man-subscriptions.conf.html new file mode 100644 index 0000000..325f2cd --- /dev/null +++ b/doc/help/man-subscriptions.conf.html @@ -0,0 +1,33 @@ + + + + + + subscriptions.conf(5) + + +

subscriptions.conf(5)

+

Name

+subscriptions.conf - subscription configuration file for cups +

Description

+The subscriptions.conf file defines the local event notification subscriptions that are active. +It is normally located in the /etc/cups directory and is maintained by the +cupsd(8) +program. +This file is not intended to be edited or managed manually. +

Notes

+The name, location, and format of this file are an implementation detail that will change in future releases of CUPS. +

See Also

+classes.conf(5), +cups-files.conf(5), +cupsd(8), +cupsd.conf(5), +mime.convs(5), +mime.types(5), +printers.conf(5), +CUPS Online Help (http://localhost:631/help) +

Copyright

+Copyright © 2007-2019 by Apple Inc. + + + diff --git a/doc/help/network.html b/doc/help/network.html new file mode 100644 index 0000000..1ba0873 --- /dev/null +++ b/doc/help/network.html @@ -0,0 +1,342 @@ + + + + + Using Network Printers + + + +

Using Network Printers

+ +

This help document describes how to discover, configure, and use TCP/IP network printers with CUPS.

+ +

Automatic Configuration Using Bonjour

+ +

Most network printers support a protocol known as Bonjour, which is a combination of zero-configuration networking ("ZeroConf"), multicast DNS (mDNS), and DNS service discovery (DNS-SD) standards published by the Internet Engineering Task Force (IETF), the same group that defined TCP/IP and all of the networking we use today.

+ +

A printer that supports Bonjour can be found automatically using the dnssd backend. Run the lpinfo(8) command to find your printer's URI:

+ +
lpinfo --include-schemes dnssd -v
+network dnssd://Acme%20Laser%20Pro._ipp._tcp.local./?uuid=545253fb-1cb7-4d8d-98ed-ab6cd607cea7
+network dnssd://Bar99._printer.tcp.local./?uuid=f9efff58-9086-4c95-accb-81dee876a475
+network dnssd://Example%20EX-42._ipps._tcp.local./?uuid=4a0c67ad-2824-4ddf-9115-7d4226c5fe65
+network dnssd://Foo%20Fighter-1969._pdl-datastream._tcp.local./?uuid=4e216bea-c3de-4f65-a710-c99e11c80d2b
+ +

You can then add a printer using the URI reported.

+ + +

Manual Configuration Using IP Addresses

+ +

You can also manually configure a printer using its Internet Protocol v4 (IPv4) address. This address is either configured manually ("static IP") through the printer's control panel or set using an automatic network protocol such as the Dynamic Host Control Protocol (DHCP) or ZeroConf.

+ +
Note: Configuring a printer using an IP address set using DHCP or ZeroConf is not recommended since the address will change every time the printer is turned on or after long periods of inactivity. Thus, every time the address changes you will need to modify the print queue using the lpadmin command.
+ +

Finding the IP Address

+ +

You can normally find the IP address of a printer on the printer's control panel or by printing the configuration or status page. The Simple Network Management Protocol (SNMP) can also be used to get the IP address remotely. To test that the IP address has been successfully assigned and that the printer is properly connected to your LAN or Wi-Fi network, type:

+ +
ping ip-address
+ +

where "ip-address" is the address reported by the printer's control panel, configuration page, and/or status page. If the connection is working properly you will see something like:

+ +
ping 10.0.1.42
+PING 10.0.1.42 (10.0.1.42): 56 data bytes
+64 bytes from 10.0.1.42: icmp_seq=0 ttl=15 time=1.123 ms
+64 bytes from 10.0.1.42: icmp_seq=1 ttl=15 time=2.034 ms
+64 bytes from 10.0.1.42: icmp_seq=2 ttl=15 time=1.765 ms
+64 bytes from 10.0.1.42: icmp_seq=3 ttl=15 time=1.234 ms
+...
+ +

If the connection is not working properly you will see something like:

+ +
ping 10.0.1.42
+PING 10.0.1.42 (10.0.1.42): 56 data bytes
+Request timeout for icmp_seq 0
+Request timeout for icmp_seq 1
+...
+ +

Press CTRL+C to quit the ping command.

+ +
Note: If the command does not show responses from the printer, verify that the printer or print server is powered on and connected to the same LAN or Wi-Fi network as your computer. For LAN connections, also verify that your network cabling is good.
+ + +

Choosing a Network Protocol (Backend)

+ +

CUPS supports most network printers using one of three TCP/IP-based protocols: AppSocket, Internet Printing Protocol, and Line Printer Daemon. The following sections describe the options for each of the backends.

+ + +

AppSocket Protocol (aka JetDirect)

+ +

The AppSocket protocol (sometimes also called the JetDirect protocol, owing to its origins with the HP JetDirect network interfaces) is the simplest and fastest network protocol used for printers. AppSocket printing normally happens over port 9100 and uses the socket backend. Device URIs for the socket backend look like this:

+ +
socket://ip-address
+socket://ip-address/?contimeout=30
+socket://ip-address/?waiteof=false
+socket://ip-address/?contimeout=30&waiteof=false
+socket://ip-address:port-number/?...
+ +

The "contimeout" option controls the number of seconds that the backend will wait to obtain a connection to the printer. The default is 1 week or 604800 seconds.

+ +

The "waiteof" option controls whether the socket backend waits for the printer to complete the printing of the job. The default is to wait (waiteof=true). Add waiteof=false to the URI to tell the backend not to wait.

+ +
Note: While the AppSocket protocol is simple and fast, it also offers no security and is often an attack vector with printers. Consider using the Internet Printing Protocol which supports encryption and other security features.
+ + +

Internet Printing Protocol (IPP)

+ +

IPP is the only protocol that CUPS supports natively and is supported by most network printers and print servers. IPP supports encryption and other security features over port 631 and uses the http (Windows), ipp, and ipps backends. Device URIs for these backends look like this:

+ +
http://ip-address-or-hostname:port-number/printers/name/.printer
+ipp://ip-address/ipp/print
+ipp://ip-address-or-hostname/printers/name
+ipps://ip-address/ipp/print
+ipps://ip-address:443/ipp/print
+ipps://ip-address-or-hostname/printers/name
+ +

The backends supports many options, which are summarized in Table 2. Like all backends, options are added to the end of the URI using the URL form encoding format, for example:

+ +
ipp://10.0.1.42/ipp/print?version=1.1
+ipps://10.0.1.42:443/ipp/print?waitjob=false&waitprinter=false
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2: IPP URI Options
OptionDescription
contimeout=secondsSpecifies the number of seconds to wait for the connection to the printer to complete (default 1 week or 604800 seconds).
encryption=alwaysSpecifies that the connection to the IPP printer should be encrypted using SSL.
encryption=ifrequestedSpecifies that the connection to the IPP printer should only be encrypted if the printer requests it.
encryption=neverSpecifies that the connection to the IPP printer should not be encrypted.
encryption=requiredSpecifies that the connection to the IPP printer should be encrypted using TLS.
version=1.0Specifies that version 1.0 of the IPP protocol should be used instead of the default version 2.0.
version=1.1Specifies that version 1.1 of the IPP protocol should be used instead of the default version 2.0.
version=2.1Specifies that version 2.1 of the IPP protocol should be used instead of the default version 2.0.
waitjob=falseSpecifies that the IPP backend should not wait for the job to complete.
waitprinter=falseSpecifies that the IPP backend should not wait for the printer to become idle before sending the print job.
+ + +

Line Printer Daemon (LPD) Protocol (aka lpr)

+ +

LPD is the original network printing protocol created for the Berkeley UNIX line printer daemon (spooler) and is supported by many network printers. LPD printing normally happens over port 515 and uses the lpd backend. Device URIsfor the lpd backend look like this:

+ +
lpd://ip-address/queue
+lpd://ip-address/queue?format=l
+lpd://ip-address/queue?format=l&reserve=rfc1179
+ +

Table 3 summarizes the options supported by the lpd backend.

+ +
Note: Due to limitations in the LPD protocol, we do not recommend using it if the printer or server supports any of the other protocols. Like AppSocket, LPD offers no security and is a common attack vector. LPD also, by default, requires that the computer save a copy of the entire print job before sending it to the printer - this can result in gigabytes of print data being saved to disk before any printing happens, delaying print jobs and shortening the life of your mass storage device!
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3: LPD URI Options
OptionDescription
banner=onSpecifies that a banner page should be printed by the printer.
contimeout=secondsSpecifies the number of seconds to wait for the connection to the printer to complete (default 1 week or 604800 seconds).
format=fSpecifies that the print data is a plain text file.
format=oSpecifies that the print data is a PostScript file.
format=pSpecifies that the print data is a plain text file that should be "pretty" printed with a header and footer.
mode=streamSpecifies that the backend should stream print data to the printer and not wait for confirmation that the job has been successfully printed.
order=data,controlSpecifies that the print data files should be sent before the control file.
reserve=noneSpecifies that the backend should not reserve a source port.
reserve=rfc1179Specifies that the backend should reserve a source port from 721 to 731 as required by RFC 1179.
sanitize_title=noSpecifies that the job title string should not be restricted to ASCII alphanumeric and space characters.
sanitize_title=yesSpecifies that the job title string should be restricted to ASCII alphanumeric and space characters.
timeout=secondsSpecifies the number of seconds to wait for LPD commands to complete (default 5 minutes or 300 seconds).
+ + +

Finding Printers Using SNMP

+ +

Whenever you view the administration web page or a list of supported device URIs, the snmp backend can probe the local network(s) using Simple Network Management Protocol (SNMP) v1 broadcasts. Printers that respond to these broadcasts are then interrogated for the make, model, and supported protocols, yielding a device URI that can be used to add the printer.

+ +

The /etc/cups/snmp.conf file configures the snmp backend. Add the following line to enable discovery using the snmp backend:

+ +
Address @LOCAL
+ +

If you don't use "public" as your community name, change the Community line as well:

+ +
Community your community name
+ +
Note: The snmp backend will not be able to find any printers on your network if SNMP v1 or broadcasting are disabled on your network. Also, broadcasts are typically limited to the local subnet, so printers on different networks cannot be discovered using SNMP.
+ +

Troubleshooting SNMP Problems

+ +

The snmp backend sometimes exposes problems in vendor implementations. If you are experiencing long delays in loading the CUPS web interface administration page, or if you don't see your printer listed, the following instructions will help you to diagnose those problems and/or provide important feedback to the CUPS developers so that we can correct problems and improve the snmp backend in future releases.

+ +

The SNMP backend supports a debugging mode that is activated by running it from a shell prompt. Run the following command to get a verbose log of the snmp backend:

+ +
CUPS_DEBUG_LEVEL=2 /usr/lib/cups/backend/snmp @LOCAL 2>&1 | tee snmp.log
+ +

On macOS you'll find the backend in /usr/libexec/cups/backend instead:

+ +
CUPS_DEBUG_LEVEL=2 /usr/libexec/cups/backend/snmp @LOCAL 2>&1 | tee snmp.log
+ +

The output will look something like this:

+ +
 1  INFO: Using default SNMP Address @LOCAL
+ 2  INFO: Using default SNMP Community public
+ 3  DEBUG: Scanning for devices in "public" via "@LOCAL"...
+ 4  DEBUG: 0.000 Sending 46 bytes to 10.0.1.255...
+ 5  DEBUG: SEQUENCE 44 bytes
+ 6  DEBUG:     INTEGER 1 bytes 0
+ 7  DEBUG:     OCTET STRING 6 bytes "public"
+ 8  DEBUG:     Get-Request-PDU 31 bytes
+ 9  DEBUG:         INTEGER 4 bytes 1149539174
+10  DEBUG:         INTEGER 1 bytes 0
+11  DEBUG:         INTEGER 1 bytes 0
+12  DEBUG:         SEQUENCE 17 bytes
+13  DEBUG:             SEQUENCE 15 bytes
+14  DEBUG:                 OID 11 bytes .1.3.6.1.2.1.25.3.2.1.2.1
+15  DEBUG:                 NULL VALUE 0 bytes
+16  DEBUG: 0.001 Received 55 bytes from 10.0.1.42...
+17  DEBUG: community="public"
+18  DEBUG: request-id=1149539174
+19  DEBUG: error-status=0
+20  DEBUG: SEQUENCE 53 bytes
+21  DEBUG:     INTEGER 1 bytes 0
+22  DEBUG:     OCTET STRING 6 bytes "public"
+23  DEBUG:     Get-Response-PDU 40 bytes
+24  DEBUG:         INTEGER 4 bytes 1149539174
+25  DEBUG:         INTEGER 1 bytes 0
+26  DEBUG:         INTEGER 1 bytes 0
+27  DEBUG:         SEQUENCE 26 bytes
+28  DEBUG:             SEQUENCE 24 bytes
+29  DEBUG:                 OID 11 bytes .1.3.6.1.2.1.25.3.2.1.2.1
+30  DEBUG:                 OID 9 bytes .1.3.6.1.2.1.25.3.1.5
+31  DEBUG: add_cache(addr=0xbfffe170, addrname="10.0.1.42", uri="(null)", id="(null)", make_and_model="(null)")
+32  DEBUG: 0.002 Sending 46 bytes to 10.0.1.42...
+33  DEBUG: SEQUENCE 44 bytes
+34  DEBUG:     INTEGER 1 bytes 0
+35  DEBUG:     OCTET STRING 6 bytes "public"
+36  DEBUG:     Get-Request-PDU 31 bytes
+37  DEBUG:         INTEGER 4 bytes 1149539175
+38  DEBUG:         INTEGER 1 bytes 0
+39  DEBUG:         INTEGER 1 bytes 0
+40  DEBUG:         SEQUENCE 17 bytes
+41  DEBUG:             SEQUENCE 15 bytes
+42  DEBUG:                 OID 11 bytes .1.3.6.1.2.1.25.3.2.1.3.1
+43  DEBUG:                 NULL VALUE 0 bytes
+44  DEBUG: 0.003 Received 69 bytes from 10.0.1.42...
+45  DEBUG: community="public"
+46  DEBUG: request-id=1149539175
+47  DEBUG: error-status=0
+48  DEBUG: SEQUENCE 67 bytes
+49  DEBUG:     INTEGER 1 bytes 0
+50  DEBUG:     OCTET STRING 6 bytes "public"
+51  DEBUG:     Get-Response-PDU 54 bytes
+52  DEBUG:         INTEGER 4 bytes 1149539175
+53  DEBUG:         INTEGER 1 bytes 0
+54  DEBUG:         INTEGER 1 bytes 0
+55  DEBUG:         SEQUENCE 40 bytes
+56  DEBUG:             SEQUENCE 38 bytes
+57  DEBUG:                 OID 11 bytes .1.3.6.1.2.1.25.3.2.1.3.1
+58  DEBUG:                 OCTET STRING 23 bytes "HP LaserJet 4000 Series"
+59  DEBUG: 1.001 Probing 10.0.1.42...
+60  DEBUG: 1.001 Trying socket://10.0.1.42:9100...
+61  DEBUG: 10.0.1.42 supports AppSocket!
+62  DEBUG: 1.002 Scan complete!
+63  network socket://10.0.1.42 "HP LaserJet 4000 Series" "HP LaserJet 4000 Series 10.0.1.42" ""
+ +

The first two lines are just informational and let you know that the default community name and address are being used. Lines 3-15 contain the initial SNMP query for the device type OID (.1.3.6.1.2.1.25.3.2.1.2.1) from the Host MIB.

+ +

Lines 16-31 show the response we got from an HP LaserJet 4000 network printer. At this point we discover that it is a printer device and then send another SNMP query (lines 32-43) for the device description OID (.1.3.6.1.2.1.25.3.2.1.3.1) from the Host MIB as well.

+ +

Lines 44-58 show the response to the device description query, which tells us that this is an HP LaserJet 4000 Series printer.

+ +

On line 59 we start our active connection probe and discover that this print server supports the AppSocket (JetDirect) protocol on port 9100.

+ +

Finally, line 63 shows the device information line for the print server that is sent to CUPS.

+ +

If you don't see your printer listed, or the wrong information is listed, then you need to gather more information on the printer. The easiest way to do this is to run the snmpwalk command:

+ +
snmpwalk -Cc -v 1 -c public ip-address | tee snmpwalk.log
+ +

where "ip-address" is the IP address of the printer or print server. You should see a lot of values stream by - the ones you want to see are:

+ +
HOST-RESOURCES-MIB::hrDeviceType.1 = OID: HOST-RESOURCES-TYPES::hrDevicePrinter
+HOST-RESOURCES-MIB::hrDeviceDescr.1 = STRING: HP LaserJet 4000 Series
+ +

The hrDeviceType line should show hrDevicePrinter; if not, then your printer or print server doesn't identify itself as a printer. The hrDeviceDescr line should provide a human-readable string for the make and model of the printer, although in some cases you'll just see something less useful like "Axis OfficeBASIC Parallel Print Server".

+ +

Once you have collected the snmpwalk output, you should go to the CUPS Issue Tracker page to submit a feature request to support your printer or print server. Be sure to attach those two log files you created - they will help us to identify the SNMP values we need to look for.

+ + diff --git a/doc/help/options.html b/doc/help/options.html new file mode 100644 index 0000000..9d612fc --- /dev/null +++ b/doc/help/options.html @@ -0,0 +1,550 @@ + + + + Command-Line Printing and Options + + + + +

Command-Line Printing and Options

+ +

CUPS provides both the System V (lp(1)) and Berkeley (lpr(1)) printing commands for printing +files. In addition, it supported a large number of standard and +printer-specific options that allow you to control how and where +files are printed.

+ + +

Printing Files

+ +

CUPS understands many different types of files directly, +including text, PostScript, PDF, and image files. This allows you +to print from inside your applications or at the command-line, +whichever is most convenient! Type either of the following +commands to print a file to the default (or only) printer on the +system:

+ +
+lp filename
+lpr filename
+
+ +

Choosing a Printer

+ +

Many systems will have more than one printer available to the +user. These printers can be attached to the local system via a +parallel, serial, or USB port, or available over the network. Use +the lpstat(1) command to see a list +of available printers:

+ +
+lpstat -p -d
+
+ +

The -p option specifies that you want to see a +list of printers, and the -d option reports the +current default printer or class.

+ +

Use the -d option with the lp command to +print to a specific printer:

+ +
+lp -d printer filename
+
+ +

or the -P option with the lpr command:

+ +
+lpr -P printer filename
+
+ +

Setting the Default Printer

+ +

If you normally use a particular printer, you can tell CUPS to +use it by default using the lpoptions(1) command:

+ +
+lpoptions -d printer
+
+ +

Printing the Output of a Program

+ +

Both the lp and lpr commands support printing +from the standard input:

+ +
+program | lp
+program | lp -d printer
+program | lpr
+program | lpr -P printer
+
+ +

If the program does not provide any output, then nothing will +be queued for printing.

+ +

Specifying Printer Options

+ +

For many types of files, the default printer options may be +sufficient for your needs. However, there may be times when you +need to change the options for a particular file you are +printing.

+ +

The lp and lpr commands allow you to pass +printer options using the -o option:

+ +
+lp -o landscape -o fit-to-page -o media=A4 filename.jpg
+lpr -o landscape -o fit-to-page -o media=A4 filename.jpg
+
+ +

The available printer options vary depending on the printer. +The standard options are described in the "Standard Printing Options" section +below. Printer-specific options are also available and can be +listed using the lpoptions command:

+ +
+lpoptions -p printer -l
+
+ +

Creating Saved Options

+ +

Saved options are supported in CUPS through printer +instances. Printer instances are, as their name implies, copies +of a printer that have certain options associated with them. Use the +lpoptions command to create a printer instance:

+ +
+lpoptions -p printer/instance -o name=value ...
+
+ +

The -p printer/instance option provides the name of +the instance, which is always the printer name, a slash, and the +instance name which can contain any printable characters except +space and slash. The remaining options are then associated with the +instance instead of the main queue. For example, the following +command creates a duplex instance of the LaserJet queue:

+ +
+lpoptions -p LaserJet/duplex -o sides=two-sided-long-edge
+
+ +

Instances do not inherit lpoptions from the main +queue.

+ +

Printing Multiple Copies

+ +

Both the lp and lpr commands have options for +printing more than one copy of a file:

+ +
+lp -n num-copies filename
+lpr -#num-copies filename
+
+ +

Copies are normally not collated for you. Use the +-o collate=true option to get collated copies:

+ +
+lp -n num-copies -o collate=true filename
+lpr -#num-copies -o collate=true filename
+
+ + +

Canceling a Print Job

+ +

The cancel(1) and lprm(1) commands cancel a print job:

+ +
+cancel job-id
+lprm job-id
+
+ +

The job-id is the number that was reported to you by +the lp command. You can also get the job ID using the lpq(1) or lpstat commands:

+ +
+lpq
+lpstat
+
+ + +

Moving a Print Job

+ +

The lpmove(8) command moves a print +job to a new printer or class:

+ +
+lpmove job-id destination
+
+ +

The job-id is the number that was reported to you by +the lp or lpstat commands. Destination is the +name of a printer or class that you want to actually print the job. + +

Note: + +

The lpmove command is located in the system command +directory (typically /usr/sbin or /usr/local/sbin), +and so may not be in your command path. Specify the full path to the +command if you get a "command not found" error, for example: + +

+/usr/sbin/lpmove foo-123 bar
+
+ +
+ + +

Standard Printing Options

+ +

The following options apply when printing all types of +files.

+ +

Selecting the Media Size, Type, and Source

+ +

The -o media=xyz option sets the media size, +type, and/or source:

+ +
+lp -o media=Letter filename
+lp -o media=Letter,MultiPurpose filename
+lpr -o media=Letter,Transparency filename
+lpr -o media=Letter,MultiPurpose,Transparency filename
+
+ +

The available media sizes, types, and sources depend on the +printer, but most support the following options (case is not +significant):

+ +
    + +
  • Letter - US Letter (8.5x11 inches, or 216x279mm) + +
  • Legal - US Legal (8.5x14 inches, or 216x356mm) + +
  • A4 - ISO A4 (8.27x11.69 inches, or 210x297mm) + +
  • COM10 - US #10 Envelope (9.5x4.125 inches, or + 241x105mm) + +
  • DL - ISO DL Envelope (8.66x4.33 inches, or 220x110mm) + +
  • Transparency - Transparency media type or source + +
  • Upper - Upper paper tray + +
  • Lower - Lower paper tray + +
  • MultiPurpose - Multi-purpose paper tray + +
  • LargeCapacity - Large capacity paper tray + +
+ +

The actual options supported are defined in the printer's PPD +file in the PageSize, InputSlot, and +MediaType options. You can list them using the +lpoptions(1) command:

+ +
+lpoptions -p printer -l
+
+ +

When Custom is listed for the PageSize option, you can specify custom media sizes using one of the following forms:

+ +
+lp -o media=Custom.WIDTHxLENGTH filename
+lp -o media=Custom.WIDTHxLENGTHin filename
+lp -o media=Custom.WIDTHxLENGTHcm filename
+lp -o media=Custom.WIDTHxLENGTHmm filename
+
+ +

where "WIDTH" and "LENGTH" are the width and length of the media in points, inches, centimeters, or millimeters, respectively.

+ + +

Setting the Orientation

+ +

The -o landscape option will rotate the page 90 +degrees to print in landscape orientation:

+ +
+lp -o landscape filename
+lpr -o landscape filename
+
+ +

The -o orientation-requested=N option rotates the +page depending on the value of N:

+ +
    + +
  • -o orientation-requested=3 - portrait + orientation (no rotation)
  • + +
  • -o orientation-requested=4 - landscape + orientation (90 degrees)
  • + +
  • -o orientation-requested=5 - reverse + landscape or seascape orientation (270 degrees)
  • + +
  • -o orientation-requested=6 - reverse + portrait or upside-down orientation (180 degrees)
  • + +
+ + +

Printing On Both Sides of the Paper

+ +

The -o sides=two-sided-short-edge and -o +sides=two-sided-long-edge options will enable two-sided +printing on the printer if the printer supports it. The -o +sides=two-sided-short-edge option is suitable for +landscape pages, while the -o +sides=two-sided-long-edge option is suitable for portrait +pages:

+ +
+lp -o sides=two-sided-short-edge filename
+lp -o sides=two-sided-long-edge filename
+lpr -o sides=two-sided-long-edge filename
+
+ +

The default is to print single-sided:

+ +
+lp -o sides=one-sided filename
+lpr -o sides=one-sided filename
+
+ + +

Selecting the Banner Page(s)

+ +

The -o job-sheets=start,end option sets the banner +page(s) to use for a job:

+ +
+lp -o job-sheets=none filename
+lp -o job-sheets=standard filename
+lpr -o job-sheets=classified,classified filename
+
+ +

If only one banner file is specified, it will be printed +before the files in the job. If a second banner file is +specified, it is printed after the files in the job.

+ +

The available banner pages depend on the local system +configuration; CUPS includes the following banner files:

+ +
    + +
  • none - Do not produce a banner page. + +
  • classified - A banner page with a "classified" + label at the top and bottom. + +
  • confidential - A banner page with a + "confidential" label at the top and bottom. + +
  • secret - A banner page with a "secret" label + at the top and bottom. + +
  • standard - A banner page with no label at the + top and bottom. + +
  • topsecret - A banner page with a "top secret" + label at the top and bottom. + +
  • unclassified - A banner page with an + "unclassified" label at the top and bottom. + +
+ + +

Holding Jobs for Later Printing

+ +

The -o job-hold-until=when option tells CUPS to +delay printing until the "when" time, which can be one of the +following:

+ +
    + +
  • -o job-hold-until=indefinite; print only + after released by the user or an administrator
  • + +
  • -o job-hold-until=day-time; print from + 6am to 6pm local time
  • + +
  • -o job-hold-until=night; print from + 6pm to 6am local time
  • + +
  • -o job-hold-until=second-shift; print from + 4pm to 12am local time
  • + +
  • -o job-hold-until=third-shift; print from + 12am to 8am local time
  • + +
  • -o job-hold-until=weekend; print on Saturday + or Sunday
  • + +
  • -o job-hold-until=HH:MM; print at the specified + UTC time
  • + +
+ +

Releasing Held Jobs

+ +

Aside from the web interface, you can use the lp command +to release a held job:

+ +
+lp -i job-id -H resume
+
+ +

where "job-id" is the job ID reported by the lpstat +command.

+ + +

Setting the Job Priority

+ +

The -o job-priority=NNN option tells CUPS to +assign a priority to your job from 1 (lowest) to 100 (highest), +which influences where the job appears in the print queue. Higher +priority jobs are printed before lower priority jobs, however +submitting a new job with a high priority will not interrupt an +already printing job.

+ + +

Specifying the Output Order

+ +

The -o outputorder=normal and -o outputorder=reverse options specify the order of the pages. Normal order prints page 1 first, page 2 second, and so forth. Reverse order prints page 1 last.

+ + +

Selecting a Range of Pages

+ +

The -o page-ranges=pages option selects a range +of pages for printing:

+ +
+lp -o page-ranges=1 filename
+lp -o page-ranges=1-4 filename
+lp -o page-ranges=1-4,7,9-12 filename
+lpr -o page-ranges=1-4,7,9-12 filename
+
+ +

As shown above, the pages value can be a single page, a +range of pages, or a collection of page numbers and ranges separated by +commas. The pages will always be printed in ascending order, regardless +of the order of the pages in the page-ranges option. + +

The default is to print all pages. + +

Note: + +

The page numbers used by page-ranges refer to the output +pages and not the document's page numbers. Options like number-up +can make the output page numbering not match the document page numbers.

+ +
+ + +

N-Up Printing

+ +

The -o number-up=value option selects N-Up +printing. N-Up printing places multiple document pages on a +single printed page. CUPS supports 1, 2, 4, 6, 9, and 16-Up +formats; the default format is 1-Up:

+ +
+lp -o number-up=1 filename
+lp -o number-up=2 filename
+lp -o number-up=4 filename
+lpr -o number-up=16 filename
+
+ +

The -o page-border=value option chooses the +border to draw around each page:

+ +
    +
  • -o page-border=double; draw two hairline borders around each page
  • +
  • -o page-border=double-thick; draw two 1pt borders around each page
  • +
  • -o page-border=none; do not draw a border (default)
  • +
  • -o page-border=single; draw one hairline border around each page
  • +
  • -o page-border=single-thick; draw one 1pt border around each page
  • +
+ +

The -o number-up-layout=value option chooses the +layout of the pages on each output page:

+ +
    +
  • -o number-up-layout=btlr; Bottom to top, left to right
  • +
  • -o number-up-layout=btrl; Bottom to top, right to left
  • +
  • -o number-up-layout=lrbt; Left to right, bottom to top
  • +
  • -o number-up-layout=lrtb; Left to right, top to bottom (default)
  • +
  • -o number-up-layout=rlbt; Right to left, bottom to top
  • +
  • -o number-up-layout=rltb; Right to left, top to bottom
  • +
  • -o number-up-layout=tblr; Top to bottom, left to right
  • +
  • -o number-up-layout=tbrl; Top to bottom, right to left
  • +
+ +

Scaling to Fit

+ +

The -o fit-to-page option specifies that the document +should be scaled to fit on the page:

+ +
+lp -o fit-to-page filename
+lpr -o fit-to-page filename
+
+ +

The default is to use the size specified in the file.

+ +
Note: + +

This feature depends upon an accurate size in +the print file. If no size is given in the file, the page may be +scaled incorrectly! + +

+ +

Printing in Reverse Order

+ +

The -o outputorder=reverse option will print the +pages in reverse order:

+ +
+lp -o outputorder=reverse filename
+lpr -o outputorder=reverse filename
+
+ +

Similarly, the -o outputorder=normal option will +print starting with page 1:

+ +
+lp -o outputorder=normal filename
+lpr -o outputorder=normal filename
+
+ +

The default is -o outputorder=normal for +printers that print face down and -o outputorder=reverse +for printers that print face up. + +

Printing Mirrored Pages

+ +

The -o mirror option flips each page along the +vertical axis to produce a mirrored image:

+ +
+lp -o mirror filename
+lpr -o mirror filename
+
+ +

This is typically used when printing on T-shirt transfer +media or sometimes on transparencies.

+ + + diff --git a/doc/help/overview.html b/doc/help/overview.html new file mode 100644 index 0000000..a5240fc --- /dev/null +++ b/doc/help/overview.html @@ -0,0 +1,65 @@ + + + + Overview of CUPS + + + + +

Overview of CUPS

+ +

CUPS is the software you use to print from applications like the web browser +you are using to read this page. It converts the page descriptions +produced by your application (put a paragraph here, draw a line there, and so +forth) into something your printer can understand and then sends the information +to the printer for printing.

+ +

Now, since every printer manufacturer does things differently, printing can +be very complicated. CUPS does its best to hide this from you and your +application so that you can concentrate on printing and less on how to +print. Generally, the only time you need to know anything about your printer is +when you use it for the first time, and even then CUPS can often figure things +out on its own.

+ +

How Does It Work?

+ +

The first time you print to a printer, CUPS creates a queue to keep +track of the current status of the printer (everything OK, out of paper, etc.) +and any pages you have printed. Most of the time the queue points to a printer +connected directly to your computer via a USB port, however it can +also point to a printer on your network, a printer on the Internet, or multiple +printers depending on the configuration. Regardless of where the queue +points, it will look like any other printer to you and your applications.

+ +

Every time you print something, CUPS creates a job which contains +the queue you are sending the print to, the name of the document you are +printing, and the page descriptions. Job are numbered (queue-1, queue-2, and so +forth) so you can monitor the job as it is printed or cancel it if you see a +mistake. When CUPS gets a job for printing, it determines the best programs +(filters, printer drivers, port monitors, and +backends) to convert the pages into a printable format and then runs +them to actually print the job.

+ +

When the print job is completely printed, CUPS removes the job from the queue +and moves on to any other jobs you have submitted. You can also be notified when +the job is finished, or if there are any errors during printing, in several +different ways.

+ +

Where Do I Begin?

+ +

Click on the Administration tab. Click on the Add Printer button and follow the prompts.

+ +
When you are asked for a username and password, enter your login username and password or the "root" username and password. On macOS®, the login username (or "short name") is typically your first and last name in lowercase.
+ +

After the printer is added, CUPS will ask you to set the default printer +options (paper size, output mode, etc.) for the printer. Make any changes as +needed and then click on the Set Default Options button to save +them. Some printers also support auto-configuration - click on the Query +Printer for Default Options button to update the options automatically.

+ +

Once you have added the printer, you can print to it from any application. +You can also choose Print Test Page from the maintenance menu to print +a simple test page and verify that everything is working properly.

+ + + diff --git a/doc/help/policies.html b/doc/help/policies.html new file mode 100644 index 0000000..8a0fc31 --- /dev/null +++ b/doc/help/policies.html @@ -0,0 +1,617 @@ + + + + Managing Operation Policies + + + + +

Managing Operation Policies

+ +

Operation policies are the rules used for each IPP operation in CUPS. These rules include things like "user must provide a password", "user must be in the system group", "allow only from the local system", and so forth. Until CUPS 1.2, these rules were largely hardcoded and could only be customized at a very basic level.

+ +

CUPS 1.2 and later provides a fine-grained policy layer which allows you to completely redefine the rules for each operation and/or printer. Each policy is named and defines access control rules for each IPP operation. This document describes how to manage policies and their rules.

+ +

The Basics

+ +

Operation policies are used for all IPP requests sent to the scheduler and are evaluated after the Location based access control rules. This means that operation policies can only add additional security restrictions to a request, never relax them. Use Location based access control rules for server-wide limits and operation policies for limits on individual printers, tasks, or services.

+ +

Policies are stored in the cupsd.conf file in Policy sections. Each policy has an alphanumeric name that is used to select it. Inside the policy section are one or more Limit subsections which list the operations that are affected by the rules inside it. Listing 1 shows the default operation policy, appropriately called "default", that is shipped with CUPS.

+ +

The easiest way to add a policy to the cupsd.conf file is to use the web interface. Click on the Administration tab and then the Edit Configuration File button to edit the current cupsd.conf file. Click on the Save Changes button to save the changes and restart the scheduler. If you edit the cupsd.conf file from the console, make sure to restart the cupsd process before trying to use the new policy.

+ +
+Listing 1: Default Operation Policy
+
+ 1    <Policy default>
+ 2      # Job-related operations must be done by the owner or an
+      administrator...
+ 3      <Limit Send-Document Send-URI Hold-Job Release-Job
+      Restart-Job Purge-Jobs Set-Job-Attributes
+      Create-Job-Subscription Renew-Subscription
+      Cancel-Subscription Get-Notifications Reprocess-Job
+      Cancel-Current-Job Suspend-Current-Job Resume-Job
+      CUPS-Move-Job CUPS-Get-Document>
+ 4        Require user @OWNER @SYSTEM
+ 5        Order deny,allow
+ 6      </Limit>
+ 7
+ 8      # All administration operations require an administrator
+      to authenticate...
+ 9      <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class
+      CUPS-Delete-Class CUPS-Set-Default>
+10        AuthType Default
+11        Require user @SYSTEM
+12        Order deny,allow
+13      </Limit>
+14
+15      # All printer operations require a printer operator
+      to authenticate...
+16      <Limit Pause-Printer Resume-Printer
+      Set-Printer-Attributes Enable-Printer Disable-Printer
+      Pause-Printer-After-Current-Job Hold-New-Jobs
+      Release-Held-New-Jobs Deactivate-Printer Activate-Printer
+      Restart-Printer Shutdown-Printer Startup-Printer
+      Promote-Job Schedule-Job-After CUPS-Accept-Jobs
+      CUPS-Reject-Jobs>
+17        AuthType Default
+18        Require user varies by OS
+19        Order deny,allow
+20      </Limit>
+21
+22      # Only the owner or an administrator can cancel or
+      authenticate a job...
+23      <Limit Cancel-Job CUPS-Authenticate-Job>
+24        Require user @OWNER @SYSTEM
+25        Order deny,allow
+26      </Limit>
+27
+28      <Limit All>
+29        Order deny,allow
+30      </Limit>
+31    </Policy>
+
+ +

The Default CUPS Operation Policy

+ +

The policy definition starts with an opening Policy directive:

+ +
+ 1    <Policy default>
+
+ +

The first Limit subsection defines the rules for IPP job operations:

+ +
+ 3      <Limit Send-Document Send-URI Hold-Job Release-Job
+      Restart-Job Purge-Jobs Set-Job-Attributes
+      Create-Job-Subscription Renew-Subscription
+      Cancel-Subscription Get-Notifications Reprocess-Job
+      Cancel-Current-Job Suspend-Current-Job Resume-Job
+      CUPS-Move-Job CUPS-Get-Document>
+ 4        Require user @OWNER @SYSTEM
+ 5        Order deny,allow
+ 6      </Limit>
+
+ +

The operation names are listed on a single line with spaces separating them. Each name corresponds to the IPP operation described in any of the IETF or PWG standards documents for the Internet Printing Protocol. Table 1 lists all of the operations that have been defined along with their usage in CUPS.

+ +

The access control rules are listed after the Limit line and are the same as those used for Location sections. In this case, we require the owner of the job ("@OWNER") or a member of the SystemGroup ("@SYSTEM") to do the operation. Because we do not include an AuthType directive here, the user information can come from the IPP request itself or the authenticated username from the HTTP request. The administrative operations starting on line 9, however, do use the AuthType directive, and so administrative operations need to be authenticated:

+ +
+ 9      <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class
+      CUPS-Delete-Class CUPS-Set-Default>
+10        AuthType Default
+11        Require user @SYSTEM
+12        Order deny,allow
+13      </Limit>
+14
+15      # All printer operations require a printer operator
+      to authenticate...
+16      <Limit Pause-Printer Resume-Printer
+      Set-Printer-Attributes Enable-Printer Disable-Printer
+      Pause-Printer-After-Current-Job Hold-New-Jobs
+      Release-Held-New-Jobs Deactivate-Printer Activate-Printer
+      Restart-Printer Shutdown-Printer Startup-Printer
+      Promote-Job Schedule-Job-After CUPS-Accept-Jobs
+      CUPS-Reject-Jobs>
+17        AuthType Default
+18        Require user varies by OS
+19        Order deny,allow
+20      </Limit>
+
+ +

The "Order deny,allow" line at the end of both Limit subsections allows the request to come from any system allowed by the Location sections elsewhere in the cupsd.conf file.

+ +

The Cancel-Job and CUPS-Authenticate-Job operations are listed separately to allow the web interface to more easily edit their policy without disturbing the rest. Like the rest of the job operations, we want the job's owner ("@OWNER") or an administrator ("@SYSTEM") to do it:

+ +
+16      <Limit Cancel-Job CUPS-Authenticate-Job>
+17        Require user @OWNER @SYSTEM
+18        Order deny,allow
+19      </Limit>
+
+ +

The last Limit subsection in any policy uses the special operation name All. CUPS will use the rules in this subsection for any operation you don't list specifically in the policy. In this case, all other operations are allowed without a username or authentication:

+ +
+21      <Limit All>
+22        Order deny,allow
+23      </Limit>
+24    </Policy>
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1: IPP Operation Names
NameUsed by CUPS?Description
Activate-PrinterNoActivates a printer or class.
Cancel-Current-JobNoCancels the current job on a printer or class.
Cancel-JobYesCancels a print job.
Cancel-JobsYesCancels all print jobs.
Cancel-My-JobsYesCancels a user's print job.
Cancel-SubscriptionYesCancels an event subscription.
Close-JobYesCloses a user's print job so that it can be printed.
Create-JobYesCreates a print job with no files or URIs.
Create-Job-SubscriptionsYesCreates one or more event subscriptions for a job.
Create-Printer-SubscriptionsYesCreates one or more event subscriptions for a printer or the server.
Deactivate-PrinterNoDeactivates a printer or class.
Disable-PrinterYesStops a printer or class.
Enable-PrinterYesStarts a printer or class.
Get-Job-AttributesYesGets information and options associated with a job.
Get-JobsYesGets a list of jobs.
Get-NotificationsYesGets (pending) events for an event subscription.
Get-Printer-AttributesYesGets information and options associated with a printer or class.
Get-Printer-Supported-ValuesYesGets -supported attributes for a printer based on job + options.
Get-Subscription-AttributesYesGets information for an event subscription.
Get-SubscriptionsYesGets a list of event subscriptions.
Hold-JobYesHolds a print job for printing.
Hold-New-JobsYesHolds new jobs submitted to a printer or class.
Pause-PrinterYesStops a printer or class.
Pause-Printer-After-Current-JobNoStops a printer or class after the current job is finished.
Print-JobYesCreates a print job with a single file.
Print-URINoCreate a print job with a single URI.
Promote-JobNoPrints a job before others.
Purge-JobsYesCancels all jobs on the server or a printer or class + and removes the job history information.
Release-Held-New-JobsYesReleases jobs that were held because of the + Hold-New-Jobs operation.
Release-JobYesReleases a print job for printing.
Renew-SubscriptionYesRenews an event subscription that is about to expire.
Reprocess-JobNoReprints a job on a different printer or class; CUPS has the + CUPS-Move-Job operation instead.
Restart-JobYesReprints a print job.
Restart-PrinterNoRestarts a printer or class, resuming print jobs as needed.
Resubmit-JobNoReprints a job with new options.
Resume-JobNoResumes printing of a stopped job.
Resume-PrinterYesStarts a printer or class.
Schedule-Job-AfterNoPrints a job after others.
Send-DocumentYesAdds a file to a print job.
Send-URINoAdds a URI to a print job.
Set-Printer-AttributesYesSets printer or class information; CUPS uses + CUPS-Add-Modify-Printer and CUPS-Add-Modify-Class + for most attributes instead.
Set-Job-AttributesYesChanges job options.
Shutdown-PrinterNoPowers a printer or class off.
Startup-PrinterNoPowers a printer or class on.
Suspend-Current-JobNoStops the current job on a printer or class.
Validate-DocumentNoValidates a document request before sending.
Validate-JobYesValidates a print request before printing.
CUPS-Accept-JobsYesSets a printer's or class' printer-is-accepting-jobs + attribute to true.
CUPS-Add-Modify-ClassYesAdds or modifies a class.
CUPS-Add-Modify-PrinterYesAdds or modifies a printer.
CUPS-Authenticate-JobYesAuthenticates a job for printing.
CUPS-Delete-Class *YesRemoves a class.
CUPS-Delete-Printer *YesRemoves a printer.
CUPS-Get-Classes *YesGets a list of classes.
CUPS-Get-Default *YesGets the server/network default printer or class.
CUPS-Get-Devices *YesGets a list of printer devices.
CUPS-Get-DocumentYesRetrieves a document file from a job.
CUPS-Get-PPDs *YesGets a list of printer drivers or manufacturers.
CUPS-Get-Printers *YesGets a list of printers and/or classes.
CUPS-Move-JobYesMoves a job to a different printer or class.
CUPS-Reject-JobsYesSets a printer's or class' printer-is-accepting-jobs + attribute to false.
CUPS-Set-Default *YesSets the server/network default printer or class.
+ +

* = These operations only apply to the default policy.

+ +

Creating Your Own Policies

+ +

The easiest way to create a new policy is to start with the default policy and then make changes to the copy. The first change you'll make is to give the policy a new name. Policy names can use the same characters as a printer name, specifically all printable characters except space, slash (/), and pound (#):

+ +
+<Policy mypolicy>
+
+ +

Then you need to decide exactly what limits you want for the policy. For example, if you want to allow any user to cancel any other users' jobs, you can change the Cancel-Job limits to:

+ +
+<Limit Cancel-Job>
+  Order deny,allow
+</Limit>
+
+ +

The directives inside the Limit subsection can use any of the normal limiting directives: Allow, AuthType, Deny, Encryption, Require, and Satisfy. Table 2 lists some basic "recipes" for different access control rules.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2: Access Control Recipes
Access LevelDirectives to Use
Allow Everyone
Order deny,allow
+Allow from all
Allow Everyone on the Local Network
Order deny,allow
+Allow from @LOCAL
Deny Everyone/Disable Operation(s)
Order deny,allow
Require Login (System) Password
AuthType Basic
Require CUPS (lppasswd) Password
AuthType BasicDigest
Require Kerberos
AuthType Negotiate
Require the Owner of a Job or Subscription
Require user @OWNER
Require an Administrative User
Require user @SYSTEM
Require Member of Group "foogroup"
Require user @foogroup
Require "john" or "mary"
Require user john mary
Require Encryption
Encryption Required
+ + +

Creating a Policy for a Computer Lab

+ +

One common operating scenario is a computer lab. The lab is managed by one or more technicians that assist the users of the lab and handle the basic administration tasks. Listing 2 shows an operation policy that only allows access from the lab's subnet, 10.0.2.x, and allows the lab technicians, who are members of a special UNIX group for that lab called "lab999", to do job, printer, and subscription management operations.

+ +
+Listing 2: Operation Policy for a Lab
+
+ 1    <Policy lab999>
+ 2      # Job- and subscription-related operations must be done
+      by the owner, a lab technician, or an administrator...
+ 3      <Limit Send-Document Send-URI Hold-Job Release-Job
+      Restart-Job Purge-Jobs Set-Job-Attributes
+      Create-Job-Subscription Renew-Subscription
+      Cancel-Subscription Get-Notifications Reprocess-Job
+      Cancel-Current-Job Suspend-Current-Job Resume-Job
+      CUPS-Move-Job Cancel-Job CUPS-Authenticate-Job CUPS-Get-Document>
+ 4        Require user @OWNER @lab999 @SYSTEM
+ 5        Order allow,deny
+ 6        Allow from 10.0.2.0/24
+ 7      </Limit>
+ 8
+ 9      # All administration operations require a lab technician
+      or an administrator to authenticate...
+10      <Limit Pause-Printer Resume-Printer
+      Set-Printer-Attributes Enable-Printer Disable-Printer
+      Pause-Printer-After-Current-Job Hold-New-Jobs
+      Release-Held-New-Jobs Deactivate-Printer Activate-Printer
+      Restart-Printer Shutdown-Printer Startup-Printer
+      Promote-Job Schedule-Job-After CUPS-Accept-Jobs
+      CUPS-Reject-Jobs CUPS-Set-Default>
+11        AuthType Default
+12        Require user @lab999 @SYSTEM
+13        Order allow,deny
+14        Allow from 10.0.2.0/24
+15      </Limit>
+16
+17      # All other operations are allowed from the lab network...
+18      <Limit All>
+19        Order allow,deny
+20        Allow from 10.0.2.0/24
+21      </Limit>
+22    </Policy>
+
+ + +

Using Policies

+ +

Once you have created a policy, you can use it in two ways. The first way is to assign it as the default policy for the system using the DefaultPolicy directive in the cupsd.conf file. For example, add the following line to the cupsd.conf file to use the "lab999" policy from the previous section:

+ +
+DefaultPolicy lab999
+
+ +

To associate the policy with one or more printers, use either the lpadmin(8) command or the web interface to change the operation policy for each printer. When using the lpadmin command, the -o printer-op-policy=name option sets the operation policy for a printer. For example, enter the following command to use the "lab999" policy from the previous section with a printer named "LaserJet4000":

+ +
+lpadmin -p LaserJet4000 -o printer-op-policy=lab999
+
+ +

To make the same change in the web interface, go to the printer's web page, for example "http://localhost:631/printers/LaserJet4000", and choose Set Default Options from the Administration menu button. Click on the Policies link and choose the desired policy from the pull-down list. Click on Set Default Options to change the policy for the printer.

+ + + diff --git a/doc/help/postscript-driver.html b/doc/help/postscript-driver.html new file mode 100644 index 0000000..f94fa72 --- /dev/null +++ b/doc/help/postscript-driver.html @@ -0,0 +1,771 @@ + + + + + Developing PostScript Printer Drivers + + + + + + + + + + + +

Developing PostScript Printer Drivers

+ +

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, and adding macOS features.

+ +
+ + + + + + +
See AlsoProgramming: Developing Raster Printer Drivers
+ Programming: Filter and Backend Programming
+ Programming: Introduction to the PPD Compiler
+ Programming: Raster API
+ References: PPD Compiler Driver Information File Reference
+ Specifications: CUPS PPD Extensions
+ +
+

Printer Driver Basics

+ +

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.

+ +

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.

+ +
+ + +
Figure 1: PostScript Filter Chain
PostScript Filter Chain
+ +

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.

+ +

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.

+ +

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.

+ +

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.

+ +
+ + +
Figure 2: Command Filter Chain
Command Filter Chain
+ +

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.

+ + +

Creating New PPD Files

+ +

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.

+ +

Listing 1: "examples/postscript.drv"

+ +
+// Include standard font and media definitions
+#include <font.defs>
+#include <media.defs>
+
+// Specify this is a PostScript printer driver
+DriverType ps
+
+// List the fonts that are supported, in this case all standard fonts
+Font *
+
+// Manufacturer, model name, and version
+Manufacturer "Foo"
+ModelName "Foo LaserProofer 2000"
+Version 1.0
+
+// PostScript printer attributes
+Attribute DefaultColorSpace "" Gray
+Attribute LandscapeOrientation "" Minus90
+Attribute LanguageLevel "" "3"
+Attribute Product "" "(Foo LaserProofer 2000)"
+Attribute PSVersion "" "(3010) 0"
+Attribute TTRasterizer "" Type42
+
+// Supported page sizes
+*MediaSize Letter
+MediaSize Legal
+MediaSize A4
+
+// Query command for page size
+Attribute "?PageSize" "" "
+      save
+      currentpagedevice /PageSize get aload pop
+      2 copy gt {exch} if (Unknown)
+      23 dict
+              dup [612 792] (Letter) put
+              dup [612 1008] (Legal) put
+              dup [595 842] (A4) put
+              {exch aload pop 4 index sub abs 5 le exch
+               5 index sub abs 5 le and
+              {exch pop exit} {pop} ifelse
+      } bind forall = flush pop pop
+      restore"
+
+// Specify the name of the PPD file we want to generate
+PCFileName "fooproof.ppd"
+
+ +

Required Attributes

+ +

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:

+ +
+Attribute DefaultColorSpace "" Gray
+Attribute LandscapeOrientation "" Minus90
+Attribute LanguageLevel "" "3"
+Attribute Product "" "(Foo LaserProofer 2000)"
+Attribute PSVersion "" "(3010) 0"
+Attribute TTRasterizer "" Type42
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1: Required PostScript Printer Driver Attributes
AttributeDescription
DefaultColorSpaceThe default colorspace: + Gray, RGB, CMY, or + CMYK. If not specified, then RGB is + assumed.
LandscapeOrientationThe preferred landscape + orientation: Plus90, Minus90, or + Any. If not specified, Plus90 is + assumed.
LanguageLevelThe PostScript language + level supported by the device: 1, 2, or 3. If not + specified, 2 is assumed.
ProductThe string returned by + the PostScript product operator, which + must include parenthesis to conform with + PostScript syntax rules for strings. Multiple + Product attributes may be specified to support + multiple products with the same PPD file. If not + specified, "(ESP Ghostscript)" and "(GNU Ghostscript)" + are assumed.
PSVersionThe PostScript + interpreter version numbers as returned by the + version and revision operators. The + required format is "(version) revision". Multiple + PSVersion attributes may be specified to + support multiple interpreter version numbers. If not + specified, "(3010) 705" and "(3010) 707" are + assumed.
TTRasterizerThe type of TrueType + font rasterizer supported by the device, if any. The + supported values are None, Accept68k, + Type42, and TrueImage. If not + specified, None is assumed.
+ +

Query Commands

+ +

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:

+ +
+Attribute "?PageSize" "" "
+      save
+      currentpagedevice /PageSize get aload pop
+      2 copy gt {exch} if (Unknown)
+      23 dict
+              dup [612 792] (Letter) put
+              dup [612 1008] (Legal) put
+              dup [595 842] (A4) put
+              {exch aload pop 4 index sub abs 5 le exch
+               5 index sub abs 5 le and
+              {exch pop exit} {pop} ifelse
+      } bind forall = flush pop pop
+      restore"
+
+ +

Query commands can span multiple lines, however no single line may contain more than 255 characters.

+ +

Importing Existing PPD Files

+ +

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:

+ +
+ppdi -o mydevice.drv mydevice.ppd
+
+ +

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:

+ +
+ppdi -o mydevice.drv mydevice1.ppd mydevice2.ppd
+ppdi -o mydevice.drv *.ppd
+
+ +

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.

+ + +

Using Custom Filters

+ +

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:

+ +
+Filter application/vnd.cups-postscript 0 -
+
+ +

Custom Command Filters

+ +

The application/vnd.cups-command file type is used for CUPS command files. Use the following Filter directive to handle CUPS command files:

+ +
+Filter application/vnd.cups-command 100 /path/to/command/filter
+
+ +

To use the standard PostScript command filter, specify commandtops as the path to the command filter.

+ +

Custom PDF Filters

+ +

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:

+ +
+Filter application/vnd.cups-pdf 100 /path/to/pdf/filter
+
+ +

For unfiltered PDF files, use:

+ +
+Filter application/pdf 100 /path/to/pdf/filter
+
+ +

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.

+ +

Custom PostScript Filters

+ +

The application/vnd.cups-postscript file type is used for filtered PostScript files. Use the following Filter directive to handle PostScript files:

+ +
+Filter application/vnd.cups-postscript 100 /path/to/postscript/filter
+
+ + +

Implementing Color Management

+ +

CUPS uses ICC color profiles to provide more accurate color reproduction. The cupsICCProfile attribute defines the color profiles that are available for a given printer, for example:

+ +
+Attribute cupsICCProfile "ColorModel.MediaType.Resolution/Description" /path/to/ICC/profile
+
+ +

where "ColorModel.MediaType.Resolution" defines a selector based on the corresponding option selections. A simple driver might only define profiles for the color models that are supported, for example a printer supporting Gray and RGB might use:

+ +
+Attribute cupsICCProfile "Gray../Grayscale Profile" /path/to/ICC/gray-profile
+Attribute cupsICCProfile "RGB../Full Color Profile" /path/to/ICC/rgb-profile
+
+ +

The options used for profile selection can be customized using the cupsICCQualifier2 and cupsICCQualifier3 attributes.

+ + +

Adding macOS Features

+ +

macOS printer drivers can provide additional attributes to specify additional option panes in the print dialog, an image of the printer, a help book, and option presets for the driver software:

+ +
+Attribute APDialogExtension "" /Library/Printers/Vendor/filename.plugin
+Attribute APHelpBook "" /Library/Printers/Vendor/filename.bundle
+Attribute APPrinterIconPath "" /Library/Printers/Vendor/filename.icns
+Attribute APPrinterPreset "name/text" "*option choice ..."
+
+
+ + diff --git a/doc/help/ppd-compiler.html b/doc/help/ppd-compiler.html new file mode 100644 index 0000000..b33ca2d --- /dev/null +++ b/doc/help/ppd-compiler.html @@ -0,0 +1,1393 @@ + + + + + Introduction to the PPD Compiler + + + + + + + + + + + +

Introduction to the PPD Compiler

+ +

This document describes how to use the CUPS PostScript Printer Description +(PPD) file compiler. The PPD compiler generates PPD files from simple text files +that describe the features and capabilities of one or more printers.

+ +
Note: + +

The PPD compiler and related tools are deprecated and will be removed in a future release of CUPS.

+ +
+ +
+ + + + + + +
See AlsoProgramming: Developing Raster Printer Drivers
+ Programming: Developing PostScript Printer Drivers
+ Programming: Filter and Backend Programming
+ Programming: Raster API
+ References: PPD Compiler Driver Information File Reference
+ Specifications: CUPS PPD Extensions
+ +
+

The Basics

+ +

The PPD compiler, ppdc(1), is a +simple command-line tool that takes a single driver information file, +which by convention uses the extension .drv, and produces one or more +PPD files that may be distributed with your printer drivers for use with CUPS. +For example, you would run the following command to create the English language +PPD files defined by the driver information file mydrivers.drv:

+ +
+ppdc mydrivers.drv
+
+ +

The PPD files are placed in a subdirectory called +ppd. The -d option is used to put the PPD +files in a different location, for example:

+ +
+ppdc -d myppds mydrivers.drv
+
+ +

places the PPD files in a subdirectory named +myppds. Finally, use the -l option to +specify the language localization for the PPD files that are +created, for example:

+ +
+ppdc -d myppds/de -l de mydrivers.drv
+ppdc -d myppds/en -l en mydrivers.drv
+ppdc -d myppds/es -l es mydrivers.drv
+ppdc -d myppds/fr -l fr mydrivers.drv
+ppdc -d myppds/it -l it mydrivers.drv
+
+ +

creates PPD files in German (de), English (en), Spanish (es), +French (fr), and Italian (it) in the corresponding +subdirectories. Specify multiple languages (separated by commas) to produce +"globalized" PPD files:

+ +
+ppdc -d myppds -l de,en,es,fr,it mydrivers.drv
+
+ + +

Driver Information Files

+ +

The driver information files accepted by the PPD compiler are +plain text files that define the various attributes and options +that are included in the PPD files that are generated. A driver +information file can define the information for one or more printers and +their corresponding PPD files.

+ +

Listing 1: "examples/minimum.drv"

+ +
+// Include standard font and media definitions
+#include <font.defs>
+#include <media.defs>
+
+// List the fonts that are supported, in this case all standard fonts...
+Font *
+
+// Manufacturer, model name, and version
+Manufacturer "Foo"
+ModelName "FooJet 2000"
+Version 1.0
+
+// Each filter provided by the driver...
+Filter application/vnd.cups-raster 100 rastertofoo
+
+// Supported page sizes
+*MediaSize Letter
+MediaSize A4
+
+// Supported resolutions
+*Resolution k 8 0 0 0 "600dpi/600 DPI"
+
+// Specify the name of the PPD file we want to generate...
+PCFileName "foojet2k.ppd"
+
+ + +

A Simple Example

+ +

The example in Listing 1 shows a driver information +file which defines the minimum required attributes to provide a valid PPD file. +The first part of the file includes standard definition files for fonts and +media sizes:

+ +
+#include <font.defs>
+#include <media.defs>
+
+ +

The #include directive works just like the C/C++ include directive; +files included using the angle brackets (<filename>) are found +in any of the standard include directories and files included using quotes +("filename") are found in the same directory as the source or include +file. The <font.defs> include file defines the standard fonts +which are included with GPL Ghostscript and the Apple PDF RIP, while the +<media.defs> include file defines the standard media sizes +listed in Appendix B of the Adobe PostScript Printer Description File Format +Specification.

+ +

CUPS provides several other standard include files:

+ +
    + +
  • <epson.h> - Defines all of the rastertoepson driver + constants.
  • + +
  • <escp.h> - Defines all of the rastertoescpx driver + constants.
  • + +
  • <hp.h> - Defines all of the rastertohp driver + constants.
  • + +
  • <label.h> - Defines all of the rastertolabel driver + constants.
  • + +
  • <pcl.h> - Defines all of the rastertopclx driver + constants.
  • + +
  • <raster.defs> - Defines all of the CUPS raster format + constants.
  • + +
+ +

Next we list all of the fonts that are available in the driver; for CUPS +raster drivers, the following line is all that is usually supplied:

+ +
+Font *
+
+ +

The Font directive specifies the name of a single font or the +asterisk to specify all fonts. For example, you would use the following line to +define an additional bar code font that you are supplying with your printer +driver:

+ +
+//   name         encoding  version  charset  status
+Font Barcode-Foo  Special   "(1.0)"  Special  ROM
+
+ +

The name of the font is Barcode-Foo. Since it is not a standard +text font, the encoding and charset name Special is used. The version +number is 1.0 and the status (where the font is located) is +ROM to indicate that the font does not need to be embedded in +documents that use the font for this printer.

+ +

Third comes the manufacturer, model name, and version number information +strings:

+ +
+Manufacturer "Foo"
+ModelName "FooJet 2000"
+Version 1.0
+
+ +

These strings are used when the user (or auto-configuration program) selects +the printer driver for a newly connected device.

+ +

The list of filters comes after the information strings; for the example in +Listing 1, we have a single filter that takes CUPS +raster data:

+ +
+Filter application/vnd.cups-raster 100 rastertofoo
+
+ +

Each filter specified in the driver information file is the equivalent of a +printer driver for that format; if a user submits a print job in a different +format, CUPS figures out the sequence of commands that will produce a supported +format for the least relative cost.

+ +

Once we have defined the driver information we specify the supported options. +For the example driver we support a single resolution of 600 dots per inch and +two media sizes, A4 and Letter:

+ +
+*MediaSize Letter
+MediaSize A4
+
+*Resolution k 8 0 0 0 "600dpi/600 DPI"
+
+ +

The asterisk in front of the MediaSize and Resolution +directives specify that those option choices are the default. The +MediaSize directive is followed by a media size name which is normally +defined in the <media.defs> file and corresponds to a standard +Adobe media size name. If the default media size is Letter, the PPD +compiler will override it to be A4 for non-English localizations for +you automatically.

+ +

The Resolution directive accepts several values after it as +follows:

+ +
    + +
  1. Colorspace for this resolution, if any. In the example file, the + colorspace k is used which corresponds to black. For printer + drivers that support color printing, this field is usually specified as + "-" for "no change".
  2. + +
  3. Bits per color. In the example file, we define 8 bits per color, for + a continuous-tone grayscale output. All versions of CUPS support 1 and + 8 bits per color. CUPS 1.2 and higher (macOS 10.5 and higher) also + supports 16 bits per color.
  4. + +
  5. Rows per band. In the example file, we define 0 rows per band to + indicate that our printer driver does not process the page in + bands.
  6. + +
  7. Row feed. In the example, we define the feed value to be 0 to + indicate that our printer driver does not interleave the output.
  8. + +
  9. Row step. In the example, we define the step value to be 0 to + indicate that our printer driver does not interleave the output. This + value normally indicates the spacing between the nozzles of an inkjet + printer - when combined with the previous two values, it informs the + driver how to stagger the output on the page to produce interleaved + lines on the page for higher-resolution output.
  10. + +
  11. Choice name and text. In the example, we define the choice name and + text to be "600dpi/600 DPI". The name and text are separated by + slash (/) character; if no text is specified, then the name is + used as the text. The PPD compiler parses the name to determine the + actual resolution; the name can be of the form + RESOLUTIONdpi for resolutions that are equal + horizontally and vertically or HRESxVRESdpi for + isometric resolutions. Only integer resolution values are supported, so + a resolution name of 300dpi is valid while 300.1dpi is + not.
  12. + +
+ +

Finally, the PCFileName directive specifies that the named PPD file +should be written for the current driver definitions:

+ +
+PCFileName "foojet2k.ppd"
+
+ +

The filename follows the directive and must conform to the Adobe +filename requirements in the Adobe Postscript Printer Description File Format +Specification. Specifically, the filename may not exceed 8 characters followed +by the extension .ppd. The FileName directive can be used to +specify longer filenames:

+ +
+FileName "FooJet 2000"
+
+ + +

Grouping and Inheritance

+ +

The previous example created a single PPD file. Driver information files can +also define multiple printers by using the PPD compiler grouping functionality. +Directives are grouped using the curly braces ({ and }) and +every group that uses the PCFileName or FileName directives +produces a PPD file with that name. Listing 2 shows a +variation of the original example that uses two groups to define two printers +that share the same printer driver filter but provide two different resolution +options.

+ +

Listing 2: "examples/grouping.drv"

+ +
+
+// Include standard font and media definitions
+#include <font.defs>
+#include <media.defs>
+
+// List the fonts that are supported, in this case all standard fonts...
+Font *
+
+// Manufacturer and version
+Manufacturer "Foo"
+Version 1.0
+
+// Each filter provided by the driver...
+Filter application/vnd.cups-raster 100 rastertofoo
+
+// Supported page sizes
+*MediaSize Letter
+MediaSize A4
+
+{
+  // Supported resolutions
+  *Resolution k 8 0 0 0 "600dpi/600 DPI"
+
+  // Specify the model name and filename...
+  ModelName "FooJet 2000"
+  PCFileName "foojet2k.ppd"
+}
+
+{
+  // Supported resolutions
+  *Resolution k 8 0 0 0 "1200dpi/1200 DPI"
+
+  // Specify the model name and filename...
+  ModelName "FooJet 2001"
+  PCFileName "foojt2k1.ppd"
+}
+
+ +

The second example is essentially the same as the first, except that each +printer model is defined inside of a pair of curly braces. For example, the +first printer is defined using:

+ +
+{
+  // Supported resolutions
+  *Resolution k 8 0 0 0 "600dpi/600 DPI"
+
+  // Specify the model name and filename...
+  ModelName "FooJet 2000"
+  PCFileName "foojet2k.ppd"
+}
+
+ +

The printer inherits all of the definitions from the parent group (the +top part of the file) and adds the additional definitions inside the curly +braces for that printer driver. When we define the second group, it also +inherits the same definitions from the parent group but none of the +definitions from the first driver. Groups can be nested to any number of levels +to support variations of similar models without duplication of information.

+ + +

Color Support

+ +

For printer drivers that support color printing, the +ColorDevice and ColorModel directives should be +used to tell the printing system that color output is desired +and in what formats. Listing 3 shows a +variation of the previous example which includes a color printer +that supports printing at 300 and 600 DPI.

+ +

The key changes are the addition of the ColorDevice +directive:

+ +
+ColorDevice true
+
+ +

which tells the printing system that the printer supports +color printing, and the ColorModel directives:

+ +
+ColorModel Gray/Grayscale w chunky 0
+*ColorModel RGB/Color rgb chunky 0
+
+ +

which tell the printing system which colorspaces are supported by the printer +driver for color printing. Each of the ColorModel directives is +followed by the option name and text (Gray/Grayscale and +RGB/Color), the colorspace name (w and rgb), the +color organization (chunky), and the compression mode number +(0) to be passed to the driver. The option name can be any of the +standard Adobe ColorModel names:

+ +
    + +
  • Gray - Grayscale output. + +
  • RGB - Color output, typically using the RGB + colorspace, but without a separate black channel. + +
  • CMYK - Color output with a separate black + channel. + +
+ +

Custom names can be used, however it is recommended that you use your vendor +prefix for any custom names, for example "fooName".

+ +

The colorspace name can be any of the following universally supported +colorspaces:

+ +
    +
  • w - Luminance
  • + +
  • rgb - Red, green, blue
  • + +
  • k - Black
  • + +
  • cmy - Cyan, magenta, yellow
  • + +
  • cmyk - Cyan, magenta, yellow, black
  • + +
+ +

The color organization can be any of the following values:

+ +
    + +
  • chunky - Color values are passed together on a line + as RGB RGB RGB RGB
  • + +
  • banded - Color values are passed separately + on a line as RRRR GGGG BBBB; not supported by the Apple + RIP filters
  • + +
  • planar - Color values are passed separately + on a page as RRRR RRRR RRRR ... GGGG GGGG GGGG ... BBBB + BBBB BBBB; not supported by the Apple RIP filters
  • + +
+ +

The compression mode value is passed to the driver in the +cupsCompression attribute. It is traditionally used to select an +appropriate compression mode for the color model but can be used for any +purpose, such as specifying a photo mode vs. standard mode.

+ +

Listing 3: "examples/color.drv"

+ +
+
+// Include standard font and media definitions
+#include <font.defs>
+#include <media.defs>
+
+// List the fonts that are supported, in this case all standard fonts...
+Font *
+
+// Manufacturer and version
+Manufacturer "Foo"
+Version 1.0
+
+// Each filter provided by the driver...
+Filter application/vnd.cups-raster 100 rastertofoo
+
+// Supported page sizes
+*MediaSize Letter
+MediaSize A4
+
+{
+  // Supported resolutions
+  *Resolution k 8 0 0 0 "600dpi/600 DPI"
+
+  // Specify the model name and filename...
+  ModelName "FooJet 2000"
+  PCFileName "foojet2k.ppd"
+}
+
+{
+  // Supports color printing
+  ColorDevice true
+
+  // Supported colorspaces
+  ColorModel Gray/Grayscale w chunky 0
+  *ColorModel RGB/Color rgb chunky 0
+
+  // Supported resolutions
+  *Resolution - 8 0 0 0 "300dpi/300 DPI"
+  Resolution - 8 0 0 0 "600dpi/600 DPI"
+
+  // Specify the model name and filename...
+  ModelName "FooJet Color"
+  PCFileName "foojetco.ppd"
+}
+
+ + +

Defining Custom Options and Option Groups

+ +

The Group, Option, and Choice +directives are used to define or select a group, option, or +choice. Listing 4 shows a variation of +the first example that provides two custom options in a group +named "Footasm".

+ +

Listing 4: "examples/custom.drv"

+ +
+
+// Include standard font and media definitions
+#include <font.defs>
+#include <media.defs>
+
+// List the fonts that are supported, in this case all standard fonts...
+Font *
+
+// Manufacturer, model name, and version
+Manufacturer "Foo"
+ModelName "FooJet 2000"
+Version 1.0
+
+// Each filter provided by the driver...
+Filter application/vnd.cups-raster 100 rastertofoo
+
+// Supported page sizes
+*MediaSize Letter
+MediaSize A4
+
+// Supported resolutions
+*Resolution k 8 0 0 0 "600dpi/600 DPI"
+
+// Option Group
+Group "Footasm"
+
+  // Boolean option
+  Option "fooEnhance/Resolution Enhancement" Boolean AnySetup 10
+    *Choice True/Yes "<</cupsCompression 1>>setpagedevice"
+    Choice False/No "<</cupsCompression 0>>setpagedevice"
+
+  // Multiple choice option
+  Option "fooOutputType/Output Quality" PickOne AnySetup 10
+    *Choice "Auto/Automatic Selection"
+            "<</OutputType(Auto)>>setpagedevice""
+    Choice "Text/Optimize for Text"
+            "<</OutputType(Text)>>setpagedevice""
+    Choice "Graph/Optimize for Graphics"
+            "<</OutputType(Graph)>>setpagedevice""
+    Choice "Photo/Optimize for Photos"
+            "<</OutputType(Photo)>>setpagedevice""
+
+// Specify the name of the PPD file we want to generate...
+PCFileName "foojet2k.ppd"
+
+ +

The custom group is introduced by the Group +directive which is followed by the name and optionally text for +the user:

+ +
+Group "Footasm/Footastic Options"
+
+ +

The group name must conform to the PPD specification and +cannot exceed 40 characters in length. If you specify user text, +it cannot exceed 80 characters in length. The groups +General, Extra, and +InstallableOptions are predefined by CUPS; the general +and extra groups are filled by the UI options defined by the PPD +specification. The InstallableOptions group is reserved +for options that define whether accessories for the printer +(duplexer unit, finisher, stapler, etc.) are installed.

+ +

Once the group is specified, the Option directive is +used to introduce a new option:

+ +
+Option "fooEnhance/Resolution Enhancement" Boolean AnySetup 10
+
+ +

The directive is followed by the name of the option and any +optional user text, the option type, the PostScript document group, and +the sort order number. The option name must conform to the PPD specification +and cannot exceed 40 characters in length. If you specify user text, it +cannot exceed 80 characters in length.

+ +

The option type can be Boolean for true/false +selections, PickOne for picking one of many choices, or +PickMany for picking zero or more choices. Boolean +options can have at most two choices with the names +False and True. Pick options can have any +number of choices, although for Windows compatibility reasons +the number of choices should not exceed 255.

+ +

The PostScript document group is typically AnySetup, +meaning that the option can be introduced at any point in the +PostScript document. Other values include PageSetup to +include the option before each page and DocumentSetup +to include the option once at the beginning of the document.

+ +

The sort order number is used to sort the printer commands +associated with each option choice within the PostScript +document. This allows you to setup certain options before others +as required by the printer. For most CUPS raster printer +drivers, the value 10 can be used for all options.

+ +

Once the option is specified, each option choice can be +listed using the Choice directive:

+ +
+*Choice True/Yes "<</cupsCompression 1>>setpagedevice"
+Choice False/No "<</cupsCompression 0>>setpagedevice"
+
+ +

The directive is followed by the choice name and optionally +user text, and the PostScript commands that should be inserted +when printing a file to this printer. The option name must +conform to the PPD specification and cannot exceed 40 characters +in length. If you specify user text, it cannot exceed 80 +characters in length.

+ +

The PostScript commands are also interpreted by any RIP +filters, so these commands typically must be present for all +option choices. Most commands take the form:

+ +
+<</name value>>setpagedevice
+
+ +

where name is the name of the PostScript page device +attribute and value is the numeric or string value for +that attribute.

+ + +

Defining Constants

+ +

Sometimes you will want to define constants for your drivers +so that you can share values in different groups within the same +driver information file, or to share values between different +driver information files using the #include directive. +The #define directive is used to define constants for +use in your printer definitions:

+ +
+#define NAME value
+
+ +

The NAME is any sequence of letters, numbers, and +the underscore. The value is a number or string; if the +value contains spaces you must put double quotes around it, for +example:

+ +
+#define FOO "My String Value"
+
+ +

Constants can also be defined on the command-line using the -D +option:

+ +
+ppdc -DNAME="value" filename.drv
+
+ +

Once defined, you use the notation $NAME to substitute the value of +the constant in the file, for example:

+ +
+#define MANUFACTURER "Foo"
+#define FOO_600      0
+#define FOO_1200     1
+
+{
+  Manufacturer "$MANUFACTURER"
+  ModelNumber $FOO_600
+  ModelName "FooJet 2000"
+  ...
+}
+
+{
+  Manufacturer "$MANUFACTURER"
+  ModelNumber $FOO_1200
+  ModelName "FooJet 2001"
+  ...
+}
+
+ +

Numeric constants can be bitwise OR'd together by placing the constants +inside parenthesis, for example:

+ +
+// ModelNumber capability bits
+#define DUPLEX 1
+#define COLOR  2
+
+...
+
+{
+  // Define a model number specifying the capabilities of the printer...
+  ModelNumber ($DUPLEX $COLOR)
+  ...
+}
+
+ + +

Conditional Statements

+ +

The PPD compiler supports conditional compilation using the #if, +#elif, #else, and #endif directives. The #if +and #elif directives are followed by a constant name or an expression. +For example, to include a group of options when "ADVANCED" is defined:

+ +
+#if ADVANCED
+Group "Advanced/Advanced Options"
+  Option "fooCyanAdjust/Cyan Adjustment"
+    Choice "plus10/+10%" ""
+    Choice "plus5/+5%" ""
+    *Choice "none/No Adjustment" ""
+    Choice "minus5/-5%" ""
+    Choice "minus10/-10%" ""
+  Option "fooMagentaAdjust/Magenta Adjustment"
+    Choice "plus10/+10%" ""
+    Choice "plus5/+5%" ""
+    *Choice "none/No Adjustment" ""
+    Choice "minus5/-5%" ""
+    Choice "minus10/-10%" ""
+  Option "fooYellowAdjust/Yellow Adjustment"
+    Choice "plus10/+10%" ""
+    Choice "plus5/+5%" ""
+    *Choice "none/No Adjustment" ""
+    Choice "minus5/-5%" ""
+    Choice "minus10/-10%" ""
+  Option "fooBlackAdjust/Black Adjustment"
+    Choice "plus10/+10%" ""
+    Choice "plus5/+5%" ""
+    *Choice "none/No Adjustment" ""
+    Choice "minus5/-5%" ""
+    Choice "minus10/-10%" ""
+#endif
+
+ + +

Defining Constraints

+ +

Constraints are strings that are used to specify that one or more option +choices are incompatible, for example two-sided printing on transparency media. +Constraints are also used to prevent the use of uninstalled features such as the +duplexer unit, additional media trays, and so forth.

+ +

The UIConstraints directive is used to specify a constraint that is +placed in the PPD file. The directive is followed by a string using one of the +following formats:

+ +
+UIConstraints "*Option1 *Option2"
+UIConstraints "*Option1 Choice1 *Option2"
+UIConstraints "*Option1 *Option2 Choice2"
+UIConstraints "*Option1 Choice1 *Option2 Choice2"
+
+ +

Each option name is preceded by the asterisk (*). If no choice is +given for an option, then all choices except False and +None will conflict with the other option and choice(s). Since the PPD +compiler automatically adds reciprocal constraints (option A conflicts with +option B, so therefore option B conflicts with option A), you need only specify +the constraint once.

+ +

Listing 5: "examples/constraint.drv"

+ +
+
+// Include standard font and media definitions
+#include <font.defs>
+#include <media.defs>
+
+// List the fonts that are supported, in this case all standard fonts...
+Font *
+
+// Manufacturer, model name, and version
+Manufacturer "Foo"
+ModelName "FooJet 2000"
+Version 1.0
+
+// Each filter provided by the driver...
+Filter application/vnd.cups-raster 100 rastertofoo
+
+// Supported page sizes
+*MediaSize Letter
+MediaSize A4
+
+// Supported resolutions
+*Resolution k 8 0 0 0 "600dpi/600 DPI"
+
+// Installable Option Group
+Group "InstallableOptions/Options Installed"
+
+  // Duplexing unit option
+  Option "OptionDuplexer/Duplexing Unit" Boolean AnySetup 10
+    Choice True/Installed ""
+    *Choice "False/Not Installed" ""
+
+// General Option Group
+Group General
+
+  // Duplexing option
+  Option "Duplex/Two-Sided Printing" PickOne AnySetup 10
+    *Choice "None/No" "<</Duplex false>>setpagedevice""
+    Choice "DuplexNoTumble/Long Edge Binding"
+           "<</Duplex true/Tumble false>>setpagedevice""
+    Choice "DuplexTumble/Short Edge Binding"
+           "<</Duplex true/Tumble true>>setpagedevice""
+
+// Only allow duplexing if the duplexer is installed
+UIConstraints "*Duplex *OptionDuplexer False"
+
+// Specify the name of the PPD file we want to generate...
+PCFileName "foojet2k.ppd"
+
+ +

Listing 5 shows a variation of the first example with +an added Duplex option and installable option for the duplexer, +OptionDuplex. A constraint is added at the end to specify that any +choice of the Duplex option that is not None is incompatible +with the "Duplexer Installed" option set to "Not Installed" +(False):

+ +
+UIConstraints "*Duplex *OptionDuplexer False"
+
+ +

Enhanced Constraints

+ +

CUPS 1.4 supports constraints between 2 or more options using the +Attribute directive. cupsUIConstraints attributes define +the constraints, while cupsUIResolver attributes define option changes +to resolve constraints. For example, we can specify the previous duplex +constraint with a resolver that turns off duplexing with the following two +lines:

+ +
+Attribute cupsUIConstraints DuplexOff "*Duplex *OptionDuplexer False"
+Attribute cupsUIResolver DuplexOff "*Duplex None"
+
+ +

Localization

+ +

The PPD compiler provides localization of PPD files in different languages +through message catalog files in the GNU gettext or Apple .strings +formats. Each user text string and several key PPD attribute values such as +LanguageVersion and LanguageEncoding are looked up in the +corresponding message catalog and the translated text is substituted in the +generated PPD files. One message catalog file can be used by multiple driver +information files, and each file contains a single language translation.

+ +

The ppdpo Utility

+ +

While CUPS includes localizations of all standard media sizes and options in +several languages, your driver information files may provide their own media +sizes and options that need to be localized. CUPS provides a utility program to +aid in the localization of drivers called ppdpo(1). The ppdpo program creates +or updates a message catalog file based upon one or more driver information +files. New messages are added with the word "TRANSLATE" added to the front of +the translation string to make locating new strings for translation easier. The +program accepts the message catalog filename and one or more driver information +files.

+ +

For example, run the following command to create a new German message catalog +called de.po for all of the driver information files in the current +directory:

+ +
+ppdpo -o de.po *.drv
+
+ +

If the file de.po already exists, ppdpo will update the +contents of the file with any new messages that need to be translated. To create +an Apple .strings file instead, specify the output filename with a .strings +extension, for example:

+ +
+ppdpo -o de.strings *.drv
+
+ +

Using Message Catalogs with the PPD Compiler

+ +

Once you have created a message catalog, use the #po directive to declare it in each +driver information file. For example, to declare the German message catalog for +a driver use:

+ +
+#po de "de.po"  // German
+
+ +

In fact, you can use the #po directive as many times as needed:

+ +
+#po de "de.po"  // German
+#po es "es.po"  // Spanish
+#po fr "fr.po"  // French
+#po it "it.po"  // Italian
+#po ja "ja.po"  // Japanese
+
+ +

The filename ("de.po", etc.) can be relative to the location of the driver +information file or an absolute path. Once defined, the PPD compiler will +automatically generate a globalized PPD for every language declared in your +driver information file. To generate a single-language PPD file, simply use the +-l option to list the corresponding locale, for example:

+ +
+ppdc -l de -d ppd/de mydrivers.drv
+
+ +

to generate German PPD files.

+
+ + diff --git a/doc/help/raster-driver.html b/doc/help/raster-driver.html new file mode 100644 index 0000000..de573c6 --- /dev/null +++ b/doc/help/raster-driver.html @@ -0,0 +1,687 @@ + + + + + Developing Raster Printer Drivers + + + + + + + + + + + +

Developing Raster Printer Drivers

+ +

This document describes how to develop printer drivers for raster printers. Topics include: printer driver basics, creating new PPD files, using filters, implementing color management, and adding macOS features.

+ +
+ + + + + + +
See AlsoProgramming: Developing PostScript Printer Drivers
+ Programming: Filter and Backend Programming
+ Programming: Introduction to the PPD Compiler
+ Programming: Raster API
+ References: PPD Compiler Driver Information File Reference
+ Specifications: CUPS PPD Extensions
+ +
+

Printer Driver Basics

+ +

A CUPS raster printer driver consists of a PostScript Printer Description (PPD) file that describes the features and capabilities of the device, one 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.

+ +

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 CUPS raster data. Figure 1 shows the data flow of a typical print job.

+ +
+ + +
Figure 1: Raster Filter Chain
Raster Filter Chain
+ +

The raster filter converts CUPS raster data into a format the printer understands, for example HP-PCL. CUPS includes several sample raster filters supporting standard page description languages (PDLs). Table 1 shows the raster filters that are bundled with CUPS and the languages they support.

+ +
+ + + + + + + + + + + +
Table 1: Standard CUPS Raster Filters
FilterPDLsppdc DriverTypeppdc #include file
rastertoepsonESC/P, ESC/P2epsonepson.h
rastertoescpxESC/P, ESC/P2, EPSON Remote Modeescpescp.h
rastertohpHP-PCL3, HP-PCL5hphp.h
rastertolabelCPCL, Dymo, EPL1, EPL2, Intellitech PCL, ZPLlabellabel.h
rastertopclxHP-RTL, HP-PCL3, HP-PCL3GUI, HP-PCL5, HP-PCL5c, HP-PCL5epclpcl.h
+ +

The optional port monitor handles interface-specific protocol or encoding issues. For example, some raster printers use the 1284.4 communications protocol.

+ +

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.

+ +

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.

+ +
+ + +
Figure 2: Command Filter Chain
Command Filter Chain
+ +

Raster printer drivers must provide their own command filter.

+ + +

Creating New PPD Files

+ +

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 several similar black-and-white HP-PCL5 laser printers.

+ +

Listing 1: "examples/laserjet-basic.drv"

+ +
+// Include standard font and media definitions
+#include <font.defs>
+#include <media.defs>
+
+// Include HP-PCL driver definitions
+#include <pcl.h>
+
+// Specify that this driver uses the HP-PCL driver...
+DriverType pcl
+
+// Specify the driver options via the model number...
+ModelNumber ($PCL_PAPER_SIZE $PCL_PJL $PCL_PJL_RESOLUTION)
+
+// List the fonts that are supported, in this case all standard fonts...
+Font *
+
+// Manufacturer and driver version
+Manufacturer "HP"
+Version 1.0
+
+// Supported page sizes and their margins
+HWMargins 18 12 18 12
+*MediaSize Letter
+MediaSize Legal
+MediaSize Executive
+MediaSize Monarch
+MediaSize Statement
+MediaSize FanFoldGermanLegal
+
+HWMargins 18 12.72 18 12.72
+MediaSize Env10
+
+HWMargins 9.72 12 9.72 12
+MediaSize A4
+MediaSize A5
+MediaSize B5
+MediaSize EnvC5
+MediaSize EnvDL
+MediaSize EnvISOB5
+MediaSize Postcard
+MediaSize DoublePostcard
+
+// Only black-and-white output with mode 3 compression...
+ColorModel Gray k chunky 3
+
+// Supported resolutions
+Resolution - 1 0 0 0 "300dpi/300 DPI"
+*Resolution - 8 0 0 0 "600dpi/600 DPI"
+
+// Supported input slots
+*InputSlot 7 "Auto/Automatic Selection"
+InputSlot 2 "Manual/Tray 1 - Manual Feed"
+InputSlot 4 "Upper/Tray 1"
+InputSlot 1 "Lower/Tray 2"
+InputSlot 5 "LargeCapacity/Tray 3"
+
+// Tray 3 is an option...
+Installable "OptionLargeCapacity/Tray 3 Installed"
+UIConstraints "*OptionLargeCapacity False *InputSlot LargeCapacity"
+
+{
+  // HP LaserJet 2100 Series
+  Throughput 10
+  ModelName "LaserJet 2100 Series"
+  PCFileName "hpljt211.ppd"
+}
+
+{
+  // LaserJet 2200 and 2300 series have duplexer option...
+  Duplex normal
+  Installable "OptionDuplex/Duplexer Installed"
+  UIConstraints "*OptionDuplex False *Duplex"
+
+  {
+    // HP LaserJet 2200 Series
+    Throughput 19
+    ModelName "LaserJet 2200 Series"
+    PCFileName "hpljt221.ppd"
+  }
+
+  {
+    // HP LaserJet 2300 Series
+    Throughput 25
+    ModelName "LaserJet 2300 Series"
+    PCFileName "hpljt231.ppd"
+  }
+}
+
+ + +

Using Filters

+ +

The standard CUPS raster filters can be specified using the +DriverType directive, for example:

+ +
+// Specify that this driver uses the HP-PCL driver...
+DriverType pcl
+
+ +

Table 1 shows the driver types for each of the standard CUPS raster filters. For drivers that do not use the standard raster filters, the "custom" type is used with Filter directives:

+ +
+DriverType custom
+Filter application/vnd.cups-raster 100 /path/to/raster/filter
+Filter application/vnd.cups-command 100 /path/to/command/filter
+
+ + +

Implementing Color Management

+ +

CUPS uses ICC color profiles to provide more accurate color reproduction. The cupsICCProfile attribute defines the color profiles that are available for a given printer, for example:

+ +
+Attribute cupsICCProfile "ColorModel.MediaType.Resolution/Description" /path/to/ICC/profile
+
+ +

where "ColorModel.MediaType.Resolution" defines a selector based on the corresponding option selections. A simple driver might only define profiles for the color models that are supported, for example a printer supporting Gray and RGB might use:

+ +
+Attribute cupsICCProfile "Gray../Grayscale Profile" /path/to/ICC/gray-profile
+Attribute cupsICCProfile "RGB../Full Color Profile" /path/to/ICC/rgb-profile
+
+ +

The options used for profile selection can be customized using the cupsICCQualifier2 and cupsICCQualifier3 attributes.

+ +

Since macOS 10.5Custom Color Matching Support

+ +

macOS printer drivers that are based on an existing standard RGB colorspace can tell the system to use the corresponding colorspace instead of an arbitrary ICC color profile when doing color management. The APSupportsCustomColorMatching and APDefaultCustomColorMatchingProfile attributes can be used to enable this mode:

+ +
+Attribute APSupportsCustomColorMatching "" true
+Attribute APDefaultCustomColorMatchingProfile "" sRGB
+
+ + +

Adding macOS Features

+ +

macOS printer drivers can provide additional attributes to specify additional option panes in the print dialog, an image of the printer, a help book, and option presets for the driver software:

+ +
+Attribute APDialogExtension "" /Library/Printers/Vendor/filename.plugin
+Attribute APHelpBook "" /Library/Printers/Vendor/filename.bundle
+Attribute APPrinterIconPath "" /Library/Printers/Vendor/filename.icns
+Attribute APPrinterPreset "name/text" "*option choice ..."
+
+
+ + diff --git a/doc/help/ref-ppdcfile.html b/doc/help/ref-ppdcfile.html new file mode 100644 index 0000000..6c84abd --- /dev/null +++ b/doc/help/ref-ppdcfile.html @@ -0,0 +1,2449 @@ + + + + PPD Compiler Driver Information File Reference + + + + +

PPD Compiler Driver Information File Reference

+ +

The CUPS PPD compiler reads meta files that contain descriptions +of one or more PPD files to be generated by +ppdc(1) or the corresponding driver interface +program drv(1). The source file format is plain +ASCII text that can be edited using your favorite text editor.

+ +

Directives may be placed anywhere on a line and are followed by +zero or more values.

+ +

Comments are supported using the C (/* ... */) and C++ (// ...) comment +mechanisms.

+ +

Directives that accept expressions look for sequences of the form:

+ +
+ +
NAME
+
Evaluates to 1 if NAME is defined, otherwise 0.
+ +
number
+ +
Evaluates to the specified integer; the number can be preceded by + a leading sign (+/-) followed by a decimal number (1234), octal number + (01234), or hexadecimal number (0x1234) using the same rules as C and + C++.
+ +
(NAME NAME ... number number ...)
+
Evaluates to the bitwise OR of each named #define constant or + number.
+ +
(NAME == OTHERNAME)
+
(NAME == number)
+
Evaluates to 1 if NAME is equal to the other named constant or + number, otherwise 0.
+ +
(NAME != OTHERNAME)
+
(NAME != number)
+
Evaluates to 1 if NAME is not equal to the other named constant or + number, otherwise 0.
+ +
(NAME < OTHERNAME)
+
(NAME < number)
+
Evaluates to 1 if NAME is less than to the other named constant or + number, otherwise 0.
+ +
(NAME <= OTHERNAME)
+
(NAME <= number)
+
Evaluates to 1 if NAME is less than or equal to the other named + constant or number, otherwise 0.
+ +
(NAME > OTHERNAME)
+
(NAME > number)
+
Evaluates to 1 if NAME is greater than to the other named constant + or number, otherwise 0.
+ +
(NAME >= OTHERNAME)
+
(NAME >= number)
+
Evaluates to 1 if NAME is greater than or equal to the other named + constant or number, otherwise 0.
+ +
+ +

Printer driver information can be grouped and shared using +curly braces ({ ... }); PPD files are written when a close +brace or end-of-file is seen and a PCFileName +directive has been defined.

+ + +

#define

+ +

Syntax

+ +
+#define name expression
+
+ +

Examples

+ +
+#define FOO 100
+#define BAR "Bar, Inc."
+
+ +

Description

+ +

The #define directive assigns a value to a name +which can be later referenced using $name. The name is +case-insensitive and can be any sequence of letters, numbers, +and the underscore. The value can be any valid expression.

+ +

Predefined Names

+ +

The following #define names are set by the PPD compiler:

+ +
    + +
  • CUPS_VERSION - The full CUPS version string, e.g. + "1.4.0"
  • + +
  • CUPS_VERSION_MAJOR - The major version number, e.g. + "1"
  • + +
  • CUPS_VERSION_MINOR - The minor version number, e.g. + "4"
  • + +
  • CUPS_VERSION_PATCH - The patch version number, e.g. + "0"
  • + +
  • PLATFORM_NAME - The operating system name used by the + current system as reported by "uname" ("Windows" on Microsoft + Windows)
  • + +
  • PLATFORM_ARCH - The processor architecture used by the + current system as reported by "uname -m" ("X86" or "X64" on Microsoft + Windows)
  • + +
+ +

See Also

+ +

#include

+ + +

#elif

+ +

Syntax

+ +
+#elif expression
+
+ +

Examples

+ +
+#if HAVE_FOO
+...
+#elif (HAVE_BAR >= 999)
+...
+#else
+...
+#endif
+
+ +

Description

+ +

The #elif directive allows portions of a driver information file +to be used conditionally. #elif directives must appear after a +corresponding #if directive.

+ +

See Also

+ +

#else, +#endif, +#if

+ + +

#else

+ +

Syntax

+ +
+#else
+
+ +

Examples

+ +
+#if HAVE_FOO
+...
+#elif (HAVE_BAR >= 999)
+...
+#else
+...
+#endif
+
+ +

Description

+ +

The #else directive allows portions of a driver information file +to be used conditionally when the corresponding +#if and #elif +expressions are non-zero.

+ +

See Also

+ +

#elif, +#endif, +#if

+ + +

#endif

+ +

Syntax

+ +
+#endif
+
+ +

Examples

+ +
+#if HAVE_FOO
+...
+#elif (HAVE_BAR >= 999)
+...
+#else
+...
+#endif
+
+ +

Description

+ +

The #endif directive ends a conditional block of a driver +information file. It must appear after all of the +#if, #elif, +and #else directives for the current +conditional block.

+ +

See Also

+ +

#elif, +#else, +#if

+ + +

#font

+ +

Syntax

+ +
+#font name encoding "version" charset status
+
+ +

Examples

+ +
+#font Courier Standard "(1.05)" Standard ROM
+#font Symbol Special "(001.005)" Special ROM
+#font Barcode-Foo Special "(1.0)" Special Disk
+#font Unicode-Foo Expert "(2.0)" Adobe-Identity ROM
+
+ +

Description

+ +

The #font directive defines a "base font" for all +printer drivers. The name is the PostScript font name.

+ +

The encoding is the default encoding of the font, usually +Standard, Expert, or Special, as +defined in the Adobe PPD file specification.

+ +

The version is the PostScript string definition that +corresponds to the font version number.

+ +

The charset defines the available characters in the font, +usually Standard or Special, as defined in the +Adobe PPD file specification.

+ +

The status is the installation status of the font and must be +either the word ROM or Disk. + +

Base fonts differ from fonts defined using the Font directive in that they are not +automatically associated with all drivers - you must use the +special Font * directive to include them in a +driver.

+ +

Currently the #font directive is used mainly for +defining the standard raster fonts in the +<font.defs> include file.

+ +

See Also

+ +

#include, +Font

+ + +

#if

+ +

Syntax

+ +
+#if name or expression
+
+ +

Examples

+ +
+#if HAVE_FOO
+...
+#elif (HAVE_BAR >= 999)
+...
+#else
+...
+#endif
+
+ +

Description

+ +

The #if directive allows portions of a driver information file +to be used conditionally. When followed by a name, the data that follows is +used only when the name is defined, otherwise the data is ignored. +#if directives can be nested up to 100 times.

+ +

See Also

+ +

#elif, +#else, +#endif

+ + +

#include

+ +

Syntax

+ +
+#include <filename>
+#include "filename"
+
+ +

Examples

+ +
+#include <font.defs>
+#include "myfile.h"
+
+ +

Description

+ +

The #include directive reads the named driver +information file. If the filename is included inside angle +brackets (<filename>), then the PPD compiler will +look for the file in all of the include directories it knows +about. Otherwise, the file is opened in the current directory +relative to the current driver information file, and if that +fails then it looks in the include directories for the file.

+ +

The #include directive can be nested to as many +files as are allowed by the host operating system, typically at +least 100 files.

+ +

See Also

+ +

#define, +#font, +#media

+ + +

#media

+ +

Syntax

+ +
+#media name width length
+#media "name/text" width length
+
+ +

Examples

+ +
+#media "Letter/Letter - 8.5x11in" 8.5in 11in
+#media "A4/A4 - 210x297mm" 210mm 297mm
+#media "w936h1368/Super B/A3 - 13x19in" 936 1368
+#media Photo 4in 6in
+
+ +

Description

+ +

The #media directive defines a named media size for +inclusion in a driver. The name with optional user text defines +the name for the media size and is used with the MediaSize directive to associate +the media size with the driver. The name may contain up to 40 ASCII +characters within the range of decimal 33 to decimal 126 inclusive, +except for the characters comma (44), slash (47) and colon (58). +The user text, if supplied, may not exceed 80 bytes in length.

+ +

The width and length define the dimensions of the media. Each +number is optionally followed by one of the following unit +suffixes:

+ +
    + +
  • cm - centimeters
  • + +
  • ft - feet
  • + +
  • in - inches
  • + +
  • m - meters
  • + +
  • mm - millimeters
  • + +
  • pt - points (72 points = 1 inch)
  • + +
+ +

Points are assumed if no units are specified. + +

See Also

+ +

#include, +CustomMedia, +MediaSize

+ + +

#po

+ +

Syntax

+ +
+#po locale filename
+
+ +

Examples

+ +
+#po es "es.po"
+#po fr_CA "mydriver-fr_CA.po"
+
+ +

Description

+ +

The #po directive defines a message catalog to use for the +given POSIX language abbreviation. Multiple #po directives can be +specified to list multiple catalogs. The filename can be an absolute path or +relative to the driver information file. GNU gettext and macOS .strings +files are supported.

+ + +

Attribute

+ +

Syntax

+ +
+Attribute name "" value
+Attribute name keyword value
+Attribute name "keyword/text" value
+
+ +

Examples

+ +
+Attribute cupsInkChannels "" 1
+Attribute cupsAllDither 600dpi "1.0"
+Attribute fooProfile "Photo/Photographic Profile" "photopro.icc"
+
+ +

Description

+ +

The Attribute directive creates a PPD attribute. The +name may contain up to 40 ASCII characters within the range of decimal +33 to decimal 126 inclusive, except for the characters comma (44), +slash (47) and colon (58).

+ +

The selector can be the empty string ("") or text of up +to 80 bytes.

+ +

The value is any string or number; the string may contain multiple +lines, however no one line may exceed 255 bytes.

+ +

See Also

+ +

LocAttribute

+ + +

Choice

+ +

Syntax

+ +
+Choice name "code"
+Choice "name/text" "code"
+
+ +

Examples

+ +
+Choice None "<</MediaType (None)>>setpagedevice"
+Choice "False/No" "<</cupsCompression 0>>setpagedevice"
+
+ +

Description

+ +

The Choice directive adds a single choice to the +current option. The name may contain up to 40 ASCII characters within +the range of decimal 33 to decimal 126 inclusive, except for the +characters comma (44), slash (47) and colon (58).

+ +

If provided, the text can be any string up to 80 bytes +in length. If no text is provided, the name is used.

+ +

The code is any string and may contain multiple lines, +however no one line may exceed 255 bytes.

+ +

See Also

+ +

ColorModel, +Cutter, +Darkness, +Duplex, +Finishing, +Group, +InputSlot, +Installable, +MediaType, +Option, +Resolution, +UIConstraints

+ + +

ColorDevice

+ +

Syntax

+ +
+ColorDevice boolean-value
+
+ +

Examples

+ +
+ColorDevice no
+ColorDevice yes
+
+ +

Description

+ +

The ColorDevice directive tells the application if +the printer supports color. It is typically used in conjunction +with the ColorModel directive +to provide color printing support.

+ +

See Also

+ +

ColorModel

+ + +

DeprecatedColorModel

+ +

Syntax

+ +
+ColorModel name colorspace colororder compression
+ColorModel "name/text" colorspace colororder compression
+
+ +

Examples

+ +
+ColorModel Gray/Grayscale w chunky 0
+ColorModel RGB/Color rgb chunky 0
+ColorModel CMYK cmyk chunky 0
+
+ +

Description

+ +

The ColorModel directive is a convenience directive +which creates a ColorModel option and choice for the current +printer driver. The name may contain up to 40 ASCII characters within +the range of decimal 33 to decimal 126 inclusive, except for the +characters comma (44), slash (47) and colon (58).

+ +

If provided, the text can be any string up to 80 bytes in length. +If no text is provided, the name is used.

+ +

The colorspace argument is one of the standard colorspace +keywords defined later in this appendix in the section titled, +"Colorspace Keywords".

+ +

The colororder argument is one of the standard color order +keywords defined later in this appendix in the section titled, +"Color Order Keywords".

+ +

The compression argument is any number and is assigned to the +cupsCompression attribute in the PostScript page device +dictionary.

+ +

See Also

+ +

Choice, +ColorDevice, +Cutter, +Darkness, +Duplex, +Finishing, +Group, +InputSlot, +Installable, +MediaType, +Option, +Resolution, +UIConstraints

+ + +

DeprecatedColorProfile

+ +

Syntax

+ +
+ColorProfile resolution/mediatype gamma density matrix
+
+ +

Examples

+ +
+ColorProfile -/- 1.7 1.0
+     1.0    0.0    0.0
+     0.0    1.0    0.0
+     0.0    0.0    1.0
+
+ColorProfile 360dpi/- 1.6 1.0
+     1.0   -0.05  -0.3
+    -0.35   1.0   -0.15
+    -0.095 -0.238  0.95
+
+ColorProfile 720dpi/Special 1.5 1.0
+     1.0    0.0   -0.38
+    -0.4    1.0    0.0
+     0.0   -0.38   0.9
+
+ +

Description

+ +

The ColorProfile directive defines a CMY +transform-based color profile. The resolution and mediatype +arguments specify the Resolution and MediaType +choices which use the profile; the hyphen (-) is used to +specify that any resolution or mediatype can be used with the +profile.

+ +

The gamma argument specifies the gamma correction to apply to +the color values (P = pg) and is a real number +greater than 0. Values larger than 1 cause a general lightening +of the print while values smaller than 1 cause a general +darkening of the print. A value of 1 disables gamma +correction.

+ +

The density argument specifies the linear density correction +to apply to the color values (P = d * pg) and is a +real number greater than 0 and less than or equal to 1. A value +1 of disables density correction while lower values produce +proportionately lighter output.

+ +

The matrix argument specifies a 3x3 linear transformation +matrix in row-major order. The matrix is applied only to the CMY +component of a RGB to CMYK transformation and is not used when +printing in grayscale or CMYK mode unless the printer only +supports printing with 3 colors.

+ +

See Also

+ +

SimpleColorProfile

+ + +

Copyright

+ +

Syntax

+ +
+Copyright "text"
+
+ +

Examples

+ +
+Copyright "Copyright 2008 by Foo Enterprises"
+
+Copyright
+"This software is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License as
+published by the Free Software Foundation; either version 2 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+MA 02111 USA"
+
+ +

Description

+ +

The Copyright directive adds text comments to the +top of a PPD file, typically for use in copyright notices. The +text argument can contain multiple lines of text, but no line +may exceed 255 bytes.

+ + +

CustomMedia

+ +

Syntax

+ +
+CustomMedia name width length left bottom right top
+    "size-code" "region-code"
+
+CustomMedia "name/text" width length left bottom right top
+    "size-code" "region-code"
+
+ +

Examples

+ +
+CustomMedia Letter 8.5in 11in 0.25in 0.46in 0.25in 0.04in
+    "<</PageSize[612 792]/ImagingBBox null/ManualFeed false>>
+     setpagedevice"
+    "<</PageSize[612 792]/ImagingBBox null/ManualFeed true>>
+     setpagedevice"
+
+CustomMedia "A4/A4 - 210x297mm" 210mm 297mm 12 12 12 12
+    "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
+    "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
+
+ +

Description

+ +

The CustomMedia directive adds a custom media size to +the driver. The name may contain up to 40 ASCII characters within the +range of decimal 33 to decimal 126 inclusive, except for the characters +comma (44), slash (47) and colon (58).

+ +

If provided, the text can be any string up to 80 bytes in length. +If no text is provided, the name is used.

+ +

The width and length arguments specify the dimensions of the +media as defined for the #media +directive.

+ +

The left, bottom, right, and top arguments specify the +printable margins of the media.

+ +

The size-code and region-code arguments specify the +PostScript commands to run for the PageSize and +PageRegion options, respectively. The commands can +contain multiple lines, however no line may be more than 255 +bytes in length.

+ +

See Also

+ +

#media, +MediaSize

+ + +

Cutter

+ +

Syntax

+ +
+Cutter boolean-value
+
+ +

Examples

+ +
+Cutter yes
+Cutter no
+
+ +

Description

+ +

The Cutter directive specifies whether the printer +has a built-in media cutter. When a cutter is present, the +printer's PPD file will contain a CutMedia option that +allows the user to control whether the media is cut at the end +of the job.

+ +

See Also

+ +

Choice, +ColorModel, +Darkness, +Duplex, +Finishing, +Group, +InputSlot, +Installable, +MediaType, +Option, +Resolution, +UIConstraints

+ + +

DeprecatedDarkness

+ +

Syntax

+ +
+Darkness temperature name
+Darkness temperature "name/text"
+
+ +

Examples

+ +
+Darkness 0 Light
+Darkness 2 "Normal/Standard"
+
+ +

Description

+ +

The Darkness directive defines a choice for the +cupsDarkness option which sets the +cupsCompression attribute in the PostScript page device +dictionary. It is used with the CUPS rastertolabel +sample driver to control the print head temperature and +therefore the darkness of the print.

+ +

The temperature argument specifies a temperature value for +the Dymo driver from 0 (lowest) to 3 (highest), with 2 +representing the normal setting.

+ +

The name may contain up to 40 ASCII characters within the range of +decimal 33 to decimal 126 inclusive, except for the characters comma +(44), slash (47) and colon (58).

+ +

If provided, the text can be any string up to 80 bytes in length. +If no text is provided, the name is used.

+ +

See Also

+ +

Choice, +ColorModel, +Cutter, +Duplex, +Finishing, +Group, +InputSlot, +Installable, +MediaType, +Option, +Resolution, +UIConstraints

+ + +

DriverType

+ +

Syntax

+ +
+DriverType type
+
+ +

Examples

+ +
+DriverType custom
+DriverType escp
+DriverType pcl
+DriverType ps
+
+ +

Description

+ +

The DriverType directive tells the PPD compiler +which DDK filters to include in the PPD file. The following +types are supported:

+ +
    + +
  • custom - Use only those filters that are + defined in the driver information file
  • + +
  • epson - Use the CUPS sample Epson driver filter + rastertoepson
  • + +
  • escp - Use the ESC/P DDK driver filters + commandtoescpx and + rastertoescpx
  • + +
  • hp - Use the CUPS sample HP driver filter + rastertohp
  • + +
  • label - Use the CUPS sample label driver filter rastertolabel
  • + +
  • pcl - Use the HP-PCL DDK driver filters + commandtopclx and + rastertopclx
  • + +
  • ps - Use no filters; this driver is for a + standard PostScript device
  • + +
+ +

See Also

+ +

Filter, +ModelNumber

+ + +

Duplex

+ +

Syntax

+ +
+Duplex type
+
+ +

Examples

+ +
+Duplex none
+Duplex normal
+Duplex flip
+Duplex rotated
+Duplex manualtumble
+
+ +

Description

+ +

The Duplex directive determines whether double-sided printing +is supported in the current driver. The type argument specifies the type +of duplexing that is supported:

+ +
    + +
  • none - double-sided printing is not + supported
  • + +
  • normal - double-sided printing is + supported
  • + +
  • flip - double-sided printing is supported, + but the back side image needs to be flipped vertically + (used primarily with inkjet printers)
  • + +
  • rotated - double-sided printing is supported, + but the back side image needs to be rotated 180 degrees for + DuplexNoTumble
  • + +
  • manualtumble - double-sided printing is supported, + but the back side image needs to be rotated 180 degrees for + DuplexTumble
  • + +
+ +

See Also

+ +

Choice, +ColorModel, +Cutter, +Darkness, +Finishing, +Group, +InputSlot, +Installable, +MediaType, +Option, +Resolution, +UIConstraints

+ + +

FileName

+ +

Syntax

+ +
+FileName "filename"
+
+ +

Examples

+ +
+FileName "Acme Laser Printer 2000"
+FileName "Acme Ink Waster 1000"
+
+ +

Description

+ +

The FileName attribute specifies the "long" name of the +PPD file for the current driver.

+ +

See Also

+ +

Manufacturer, +ModelName, +PCFileName, +Version

+ + +

Filter

+ +

Syntax

+ +
+Filter mime-type cost program
+
+ +

Examples

+ +
+Filter application/vnd.cups-raster 50 rastertofoo
+Filter application/vnd.hp-HPGL 25 /usr/foo/filter/hpgltofoo
+
+ +

Description

+ +

The Filter directive adds a filter for the current +driver. The mime-type argument is a valid MIME media type name +as defined in a CUPS mime.types file.

+ +

The cost argument specifies the relative cost of the filter. +In general, use a number representing the average percentage of +CPU time that is used when printing the specified MIME media +type.

+ +

The program argument specifies the program to run; if the +program is not an absolute filename, then CUPS will look for the +program in the CUPS filter directory.

+ +

See Also

+ +

DriverType

+ + +

DeprecatedFinishing

+ +

Syntax

+ +
+Finishing name
+Finishing "name/text"
+
+ +

Examples

+ +
+Finishing None
+Finishing "Glossy/Photo Overcoat"
+
+ +

Description

+ +

The Finishing directive adds a choice to the +cupsFinishing option. The name may contain up to 40 ASCII +characters within the range of decimal 33 to decimal 126 inclusive, +except for the characters comma (44), slash (47) and colon (58).

+ +

If provided, the text can be any string up to 80 bytes in length. +If no text is provided, the name is used.

+ +

The name is stored in the OutputType attribute in the +PostScript page device dictionary.

+ +

See Also

+ +

Choice, +ColorModel, +Cutter, +Darkness, +Duplex, +Group, +InputSlot, +Installable, +MediaType, +Option, +Resolution, +UIConstraints

+ + +

Font

+ +

Syntax

+ +
+Font name encoding "version" charset status
+Font *
+
+ +

Examples

+ +
+Font *
+Font Courier Standard "(1.05)" Standard ROM
+Font Symbol Special "(001.005)" Special ROM
+Font Barcode-Foo Special "(1.0)" Special Disk
+Font Unicode-Foo Expert "(2.0)" Adobe-Identity ROM
+
+ +

Description

+ +

The Font directive defines a "device font" for the +current printer driver. The name is the PostScript font name.

+ +

The encoding is the default encoding of the font, usually +Standard, Expert, or Special, as +defined in the Adobe PPD file specification.

+ +

The version is the PostScript string definition that +corresponds to the font version number.

+ +

The charset defines the available characters in the font, +usually Standard or Special, as defined in the +Adobe PPD file specification.

+ +

The status is the installation status of the font and must be +either the word ROM or Disk.

+ +

Device fonts differ from fonts defined using the #font directive in that they are +automatically associated with the current driver. Fonts defined +using #font may be imported into the current driver +using the Font * form of this directive.

+ +

See Also

+ +

#font

+ + +

Group

+ +

Syntax

+ +
+Group name
+Group "name/text"
+
+ +

Examples

+ +
+Group General
+Group "InstallableOptions/Options Installed"
+Group "Special/Vendor Options"
+
+ +

Description

+ +

The Group directive specifies the group for new +Option directives. The name may contain up to 40 ASCII +characters within the range of decimal 33 to decimal 126 inclusive, +except for the characters comma (44), slash (47) and colon (58).

+ +

If provided, the text can be any string up to 40 bytes in length. +If no text is provided, the name is used.

+ +

The names General and InstallableOptions +are predefined for the standard Adobe UI keywords and for installable +options, respectively.

+ +
+ + + +
Note: + +

Because of certain API binary compatibility issues, + CUPS limits the length of PPD group translation strings + (text) to 40 bytes, while the PPD specification + allows for up to 80 bytes.

+ +
+ +

See Also

+ +

Choice, +ColorModel, +Cutter, +Darkness, +Duplex, +Finishing, +InputSlot, +Installable, +MediaType, +Option, +Resolution, +UIConstraints

+ + +

HWMargins

+ +

Syntax

+ +
+HWMargins left bottom right top
+
+ +

Examples

+ +
+HWMargins 18 36 18 36
+HWMargins 0.25in 0.5in 0.25in 0.5in
+HWMargins 0.6cm 1.2cm 0.6cm 1.2cm
+
+ +

Description

+ +

The HWMargins directive specifies the current +margins for MediaSize that +follow. The left, bottom, right, and top margin values specify +the printable margins.

+ +

See Also

+ +

MediaSize

+ + +

InputSlot

+ +

Syntax

+ +
+InputSlot position name
+InputSlot position "name/text"
+
+ +

Examples

+ +
+InputSlot 0 Auto
+InputSlot 1 "Upper/Tray 1"
+
+ +

Description

+ +

The InputSlot directive adds a new choice to the +InputSlot option. The position argument is a number +from 0 to 232-1 specifying the value that is placed +in the MediaPosition attribute in the PostScript page +device dictionary.

+ +

The name may contain up to 40 ASCII characters within the range of +decimal 33 to decimal 126 inclusive, except for the characters comma +(44), slash (47) and colon (58).

+ +

If provided, the text can be any string up to 80 bytes in length. +If no text is provided, the name is used.

+ +

See Also

+ +

Choice, +ColorModel, +Cutter, +Darkness, +Duplex, +Finishing, +Group, +Installable, +MediaType, +Option, +Resolution, +UIConstraints

+ + +

Installable

+ +

Syntax

+ +
+Installable name
+Installable "name/text"
+
+ +

Examples

+ +
+Installable EnvTray
+Installable "Option1/Duplexer Installed"
+
+ +

Description

+ +

The Installable directive adds a new boolean option +to the InstallableOptions group with a default value of +False. The name may contain up to 40 ASCII characters +within the range of decimal 33 to decimal 126 inclusive, except for +the characters comma (44), slash (47) and colon (58).

+ +

If provided, the text can be any string up to 80 bytes in length. +If no text is provided, the name is used.

+ + +

LocAttribute

+ +

Syntax

+ +
+LocAttribute name "keyword/text" value
+
+ +

Examples

+ +
+LocAttribute fooProfile "Photo/Photographic Profile" "photopro.icc"
+
+ +

Description

+ +

The LocAttribute directive creates a localized PPD +attribute. The name may contain up to 40 ASCII characters within the +range of decimal 33 to decimal 126 inclusive, except for the characters +comma (44), slash (47) and colon (58).

+ +

The selector can be the empty string ("") or text of up +to 80 bytes.

+ +

The value is any string or number; the string may contain multiple +lines, however no one line may exceed 255 bytes.

+ +

See Also

+ +

Attribute

+ + +

ManualCopies

+ +

Syntax

+ +
+ManualCopies boolean-value
+
+ +

Examples

+ +
+ManualCopies no
+ManualCopies yes
+
+ +

Description

+ +

The ManualCopies directive specifies whether copies +need to be produced by the RIP filters. The default is +no.

+ +

See Also

+ +

Choice, +ColorModel, +Cutter, +Darkness, +Duplex, +Finishing, +Group, +InputSlot, +MediaType, +Option, +Resolution, +UIConstraints

+ + +

Manufacturer

+ +

Syntax

+ +
+Manufacturer "name"
+
+ +

Examples

+ +
+Manufacturer "Foo"
+Manufacturer "HP"
+
+ +

Description

+ +

The Manufacturer directive specifies the +manufacturer name for the current driver. The name argument must +conform to the manufacturer name requirements in the Adobe PPD +file specification.

+ +

See Also

+ +

FileName, +ModelName, +PCFileName, +Version

+ + +

MaxSize

+ +

Syntax

+ +
+MaxSize width length
+
+ +

Examples

+ +
+MaxSize 36in 100ft
+MaxSize 300cm 30m
+
+ +

Description

+ +

The MaxSize directive specifies the maximum width +and length that is supported for custom page sizes.

+ +

See Also

+ +

MinSize, +VariablePaperSize

+ + +

MediaSize

+ +

Syntax

+ +
+MediaSize name
+
+ +

Examples

+ +
+MediaSize Letter
+MediaSize A4
+
+ +

Description

+ +

The MediaSize directive adds the named size to the +current printer driver using the current margins defined with +the HWMargins directive. The +name argument must match a media size defined using the #media directive.

+ +

See Also

+ +

#media, +HWMargins

+ + +

MediaType

+ +

Syntax

+ +
+MediaType type name
+MediaType type "name/text"
+
+ +

Examples

+ +
+MediaType 0 Auto
+MediaType 1 "Plain/Plain Paper"
+
+ +

Description

+ +

The MediaType directive adds a new choice to the +MediaType option. The type argument is a number +from 0 to 232-1 specifying the value that is placed +in the cupsMediaType attribute in the PostScript page +device dictionary.

+ +

The name may contain up to 40 ASCII characters within the range of +decimal 33 to decimal 126 inclusive, except for the characters comma +(44), slash (47) and colon (58).

+ +

If provided, the text can be any string up to 80 bytes in length. +If no text is provided, the name is used.

+ +

The name is placed in the MediaType attribute in the +PostScript page device dictionary.

+ +

See Also

+ +

Choice, +ColorModel, +Cutter, +Darkness, +Duplex, +Finishing, +Group, +InputSlot, +Installable, +Option, +Resolution, +UIConstraints

+ + +

MinSize

+ +

Syntax

+ +
+MinSize width length
+
+ +

Examples

+ +
+MinSize 4in 8in
+MinSize 10cm 20cm
+
+ +

Description

+ +

The MinSize directive specifies the minimum width +and length that is supported for custom page sizes.

+ +

See Also

+ +

MaxSize, +VariablePaperSize

+ + +

ModelName

+ +

Syntax

+ +
+ModelName "name"
+
+ +

Examples

+ +
+ModelName "Foo Laser Printer 2000"
+ModelName "Colorific 123"
+
+ +

Description

+ +

The ModelName directive sets the printer name for +the ModelName, NickName, and +ShortNickName attributes for the printer driver. The +name is any string of letters, numbers, spaces, and the +characters ".", "/", "-", and "+" and should not begin with the +manufacturer name since the PPD compiler will add this +automatically for you. The maximum length of the name string is +31 bytes to conform to the Adobe limits on the length of +ShortNickName.

+ +

See Also

+ +

FileName, +Manufacturer, +PCFileName, +Version

+ + +

ModelNumber

+ +

Syntax

+ +
+ModelNumber expression
+
+ +

Examples

+ +
+ModelNumber 123
+ModelNumber ($PCL_PAPER_SIZE $PCL_PJL)
+
+ +

Description

+ +

The ModelNumber directive sets the +cupsModelNumber attribute for the printer driver, which +is often used by the printer driver filter to tailor its output +for the current device. The number is any integer or bitwise OR +of integers and constants that is appropriate for the printer +driver filters.

+ +

A complete list of printer driver model number constants is +available later in this appendix in the section titled, "Printer Driver ModelNumber +Constants".

+ +

See Also

+ +

DriverType, +Filter

+ + +

Option

+ +

Syntax

+ +
+Option name type section order
+Option "name/text" type section order
+
+ +

Examples

+ +
+Option Punch Boolean AnySetup 10
+Option "fooFinish/Finishing Option" PickOne DocumentSetup 10
+
+ +

Description

+ +

The Option directive creates a new option in the +current group, by default the General group. The name +may contain up to 40 ASCII characters within the range of decimal 33 +to decimal 126 inclusive, except for the characters comma (44), slash +(47) and colon (58).

+ +

If provided, the text can be any string up to 80 bytes in length. +If no text is provided, the name is used.

+ +

The type argument is one of the following keywords:

+ +
    + +
  • Boolean - a true/false option
  • + +
  • PickOne - allows the user to pick one + choice from a list
  • + +
  • PickMany - allows the user to pick zero or + more choices from a list
  • + +
+ +

The section argument is one of the following keywords:

+ +
    + +
  • AnySetup - The option can be placed in + either the DocumentSetup or PageSetup sections of the + PostScript document
  • + +
  • DocumentSetup - The option must be placed + in the DocumentSetup section of the PostScript document; + this does not allow the option to be overridden on + individual pages
  • + +
  • ExitServer - The option must be placed in a + separate initialization job prior to the document (not + used for raster printer drivers)
  • + +
  • JCLSetup - The option contains job control + language commands and must be sent prior to the document + using the JCLBegin and + JCLToPSInterpreter attributes (not used for + raster printer drivers)
  • + +
  • PageSetup - The option must be placed at the + beginning of each page in the PostScript document
  • + +
  • Prolog - The option must be placed in the + prolog section of the PostScript document; this is + typically used to add special comments for high-end + typesetters, but can also be used to add CUPS PostScript + job ticket comments.
  • + +
+ +

The order argument is a real number greater than or equal to +0.0 and is used to sort the printer commands from many options +before sending them to the printer or RIP filter.

+ +

See Also

+ +

Choice, +ColorModel, +Cutter, +Darkness, +Duplex, +Finishing, +Group, +InputSlot, +Installable, +MediaType, +Resolution, +UIConstraints

+ + +

PCFileName

+ +

Syntax

+ +
+PCFileName "filename.ppd"
+
+ +

Examples

+ +
+PCFileName "foljt2k1.ppd"
+PCFileName "deskjet.ppd"
+
+ +

Description

+ +

The PCFileName attribute specifies the name of the +PPD file for the current driver. The filename argument must +conform to the Adobe PPD file specification and can be no more +than 8 filename characters plus the extension ".ppd".

+ +

See Also

+ +

FileName, +Manufacturer, +ModelName, +Version

+ + +

DeprecatedResolution

+ +

Syntax

+ +
+Resolution colorspace bits-per-color row-count row-feed row-step name
+Resolution colorspace bits-per-color row-count row-feed row-step "name/text"
+
+ +

Examples

+ +
+Resolution - 8 0 0 0 300dpi
+Resolution k 8 0 0 0 "600x300dpi/600 DPI Grayscale"
+
+ +

Description

+ +

The Resolution directive creates a new +Resolution option choice which sets the +HWResolution, cupsBitsPerColor, +cupsRowCount, cupsRowFeed, +cupsRowStep, and optionally the cupsColorSpace +page device dictionary attributes. The colorspace argument +specifies a colorspace to use for the specified resolution and +can be the hyphen (-) character to make no change to +the selected color model or any keyword listed in the section +titled, "Colorspace Keywords", to +force the named colorspace.

+ +

The bits-per-color argument specifies the number of bits per +color to generate when RIP'ing a job. The values 1, 2, 4, and 8 +are currently supported by CUPS.

+ +

The row-count, row-feed, and row-step argument specify the +driver-dependent values for the cupsRowCount, +cupsRowFeed, and cupsRowStep attributes, +respectively. Most drivers leave these attributes set to 0, but +any number from 0 to 232-1 is allowed.

+ +

The name argument must conform to the resolution naming +conventions in the Adobe PPD file specification, either +HHHdpi for symmetric resolutions or HHHxVVVdpi +for asymmetric resolutions. The HHH and VVV in +the examples represent the horizontal and vertical resolutions +which must be positive integer values.

+ +

If provided, the text can be any string up to 80 bytes in length. +If no text is provided, the name is used.

+ +

See Also

+ +

Choice, +ColorModel, +Cutter, +Darkness, +Duplex, +Finishing, +Group, +InputSlot, +Installable, +MediaType, +Option, +UIConstraints

+ + +

DeprecatedSimpleColorProfile

+ +

Syntax

+ +
+SimpleColorProfile resolution/mediatype density
+    yellow-density red-density gamma
+    red-adjust green-adjust blue-adjust
+
+ +

Examples

+ +
+SimpleColorProfile -/- 100 100 200 1.0 0 0 0
+
+SimpleColorProfile 360dpi/- 100 95 150 1.2 5 10 15
+
+SimpleColorProfile 720dpi/Glossy 100 90 120 1.5 -5 5 10
+
+ +

Description

+ +

The SimpleColorProfile directive creates a +matrix-based ColorProfile. +The resolution and mediatype arguments specify the +Resolution and MediaType choices which use the +profile; the hyphen (-) is used to specify that any +resolution or mediatype can be used with the profile.

+ +

The density argument specifies the linear density correction +to apply to the color values (P = d * 0.01 * pg) and +is an integer greater than 0 and less than or equal to 100. A +value 100 of disables density correction while lower values +produce proportionately lighter output. The density value +adjusts all color channels equally in all color modes.

+ +

The yellow-density argument specifies the density of the +yellow channel when printing in grayscale or RGB mode and is an +integer greater than 0 and less then or equal to 100. A value of +100 disables yellow density correction while lower values +produce proportionately lighter output.

+ +

The red-density argument specifies the two-color density +limit (e.g. C + M, C + Y, M + Y) when printing in grayscale or +RGB mode and is an integer greater than 0 and less then or equal +to 200. A value of 200 disables two-color density correction +while lower values produce proportionately lighter output.

+ +

The gamma argument specifies the gamma correction to apply to +the color values (P = pg) and is a real number +greater than 0. Values larger than 1 cause a general lightening +of the print while values smaller than 1 cause a general +darkening of the print. A value of 1 disables gamma +correction.

+ +

The red-adjust, green-adjust, blue-adjust arguments specify +the percentage of color to add or remove. Positive red-adjust +values add magenta and negative values add yellow. Positive +green-adjust values add cyan and negative values add yellow. +Positive blue-adjust values add cyan and negative values add +magenta. Values of 0 disable color adjustments.

+ +

See Also

+ +

ColorProfile

+ + +

Throughput

+ +

Syntax

+ +
+Throughput pages-per-minute
+
+ +

Examples

+ +
+Throughput 1
+Throughput 10
+
+ +

Description

+ +

The Throughput directive sets the Throughput +attribute for the current printer driver. The pages-per-minute +argument is a positive integer representing the peak number of +pages per minute that the printer is capable of producing. Use a +value of 1 for printers that produce less than 1 page per +minute.

+ + +

UIConstraints

+ +

Syntax

+ +
+UIConstraints "*Option1 *Option2"
+UIConstraints "*Option1 Choice1 *Option2"
+UIConstraints "*Option1 *Option2 Choice2"
+UIConstraints "*Option1 Choice1 *Option2 Choice2"
+
+ +

Examples

+ +
+UIConstraints "*Finishing *MediaType"
+UIConstraints "*Option1 False *Duplex"
+UIConstraints "*Duplex *MediaType Transparency"
+UIConstraints "*Resolution 600dpi *ColorModel RGB"
+
+ +

Description

+ +

The UIConstraints directive adds a constraint +between two options. Constraints inform the application when a +user has chosen incompatible options. Each option name is +preceded by the asterisk (*). If no choice is given for +an option, then all choices except False and +None will conflict with the other option and choice(s). +Since the PPD compiler automatically adds reciprocal constraints +(option A conflicts with option B, so therefore option B +conflicts with option A), you need only specify the constraint +once.

+ +

See Also

+ +

Choice, +ColorModel, +Cutter, +Darkness, +Duplex, +Finishing, +Group, +InputSlot, +Installable, +MediaType, +Option, +Resolution

+ + +

VariablePaperSize

+ +

Syntax

+ +
+VariablePaperSize boolean-value
+
+ +

Examples

+ +
+VariablePaperSize yes
+VariablePaperSize no
+
+ +

Description

+ +

The VariablePaperSize directive specifies whether +the current printer supports variable (custom) page sizes. When +yes is specified, the PPD compiler will include the +standard PPD attributes required to support custom page +sizes.

+ +

See Also

+ +

MaxSize, +MinSize

+ + +

Version

+ +

Syntax

+ +
+Version number
+
+ +

Examples

+ +
+Version 1.0
+Version 3.7
+
+ +

Description

+ +

The Version directive sets the FileVersion +attribute in the PPD file and is also used for the +NickName attribute. The number argument is a positive +real number.

+ +

See Also

+ +

Manufacturer, +ModelName, +PCFileName

+ + +

Standard Include Files

+ +

Table B-1 shows the standard include +files which are provided with the DDK.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table B-1, +Standard Include Files
Include FileDescription
<font.defs>Defines all of the + standard fonts which are included with ESP Ghostscript + and the Apple PDF RIP.
<epson.h>Defines all of the + CUPS ESC/P sample driver constants.
<escp.h>Defines all of the + DDK ESC/P driver constants.
<hp.h>Defines all of the + CUPS HP-PCL sample driver constants.
<label.h>Defines all of the + CUPS label sample driver constants.
<media.defs>Defines all of the + standard media sizes listed in Appendix B of the Adobe + PostScript Printer Description File Format + Specification.
<pcl.h>Defines all of the + DDK HP-PCL driver constants.
<raster.defs>Defines all of the CUPS + raster format constants.
+ +

Printer Driver ModelNumber Constants

+ +

The CUPS DDK and sample drivers use the +cupsModelNumber attribute in the PPD file to tailor +their output to the printer. The following sections describe the +constants for each driver.

+ +

The CUPS ESC/P Sample Driver (epson)

+ +

The epson driver supports Epson and Okidata +dot-matrix, Epson Stylus Color, and Epson Stylus Photo printers. +Table B-2 lists the constants for the ModelNumber directive. +ModelNumber values should be inserted by referencing +only one of these constants.

+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table B-2, epson driver +constants
ConstantDescription
EPSON_9PINEpson and Okidata 9-pin + dot-matrix printers
EPSON_24PINEpson and Okidata 24-pin + dot-matrix printers
EPSON_COLOROlder Epson Stylus Color + printers that use the ESC . graphics command
EPSON_PHOTOOlder Epson Stylus Photo + printers that use the ESC . graphics command
EPSON_ICOLORNewer Epson Stylus Color + printers that use the ESC i graphics command
EPSON_IPHOTONewer Epson Stylus Photo + printers that use the ESC i graphics command
+ +

The CUPS HP-PCL Sample Driver (hp)

+ +

The hp driver supports HP LaserJet and DeskJet +printers. Table B-3 lists the constants +for the ModelNumber +directive. ModelNumber values should be inserted by +referencing only one of these constants.

+ +
+ + + + + + + + + + + + + + + + + +
Table B-3, hp driver +constants
ConstantDescription
HP_LASERJETHP LaserJet printers supporting + PCL 3, 4, or 5
HP_DESKJETHP DeskJet printers + supporting PCL 3 and using the simple color graphics + command (ESC * r # U)
HP_DESKJET2HP DeskJet printers + supporting PCL3GUI and using the configure raster graphics + command (ESC * g # W)
+ +

The CUPS Label Sample Driver (label)

+ +

The label driver supports the Dymo Labelwriter, Zebra CPCL, Zebra EPL, and Zebra ZPL, and Intellitech PCL label printers. Table B-4 +lists the constants for the ModelNumber directive. +ModelNumber values should be inserted by referencing +only one of these constants.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table B-4, label driver +constants
ConstantDescription
DYMO_3x0Format output for the + Dymo Labelwriter 300, 330, or 330 Turbo.
INTELLITECH_PCLFormat output for the Intellitech PCL printers.
ZEBRA_CPCLFormat output for the Zebra CPCL printers.
ZEBRA_EPL_LINEFormat output for the Zebra EPL line mode (EPL 1) printers.
ZEBRA_EPL_PAGEFormat output for the Zebra EPL page mode (EPL 2) printers.
ZEBRA_ZPLFormat output for the Zebra ZPL printers.
+ +

The DDK ESC/P Driver (escp)

+ +

The escp driver supports all Epson inkjet printers. +Table B-6 lists the constants for the ModelNumber directive. +ModelNumber values should be specified as the bitwise +OR of one or more of these constants.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table B-6, escp driver +constants
ConstantDescription
ESCP_MICROWEAVEUse microweave command?
ESCP_STAGGERAre color jets staggered?
ESCP_ESCKUse print mode command?
ESCP_EXT_UNITSUse extended unit commands?
ESCP_EXT_MARGINSUse extended margin command?
ESCP_USBSend USB packet mode escape
ESCP_PAGE_SIZEUse page size command
ESCP_RASTER_ESCIUse ESC i graphics command
ESCP_REMOTEUse remote mode commands
ESCP_REMOTE_ACUse auto-cutter command
ESCP_REMOTE_COUse cutter-operation command
ESCP_REMOTE_EXUse media-position command
ESCP_REMOTE_MSUse media-size command
ESCP_REMOTE_MTUse media-type command
ESCP_REMOTE_PCUse paper-check command
ESCP_REMOTE_PHUse paper-thickness command
ESCP_REMOTE_PPUse paper-path command
ESCP_REMOTE_SN0Use feed-sequence-0 command
ESCP_REMOTE_SN1Use platten-gap command
ESCP_REMOTE_SN2Use feed-sequence-2 command
ESCP_REMOTE_SN6Use eject-delay command
ESCP_REMOTE_FPUse print-position command
+ +

The DDK HP-PCL Driver (pcl)

+ +

The pcl driver supports all HP LaserJet, DeskJet, +and DesignJet printers. Table B-5 lists +the constants for the ModelNumber directive. +ModelNumber values should be specified as the bitwise +OR of one or more of these constants.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table B-5, pcl driver +constants
ConstantDescription
PCL_PAPER_SIZEUse paper size command (ESC & l # A)
PCL_INKJETUse inkjet commands
PCL_RASTER_END_COLORUse new end-raster command (ESC * r C)
PCL_RASTER_CIDUse configure-image-data command (ESC * v # W)
PCL_RASTER_CRDUse configure-raster-data command (ESC * g # W)
PCL_RASTER_SIMPLEUse simple-raster-color command (ESC * r # U)
PCL_RASTER_RGB24Use 24-bit RGB mode
PCL_PJLUse PJL commands
PCL_PJL_PAPERWIDTHUse PJL PAPERWIDTH/LENGTH commands
PCL_PJL_HPGL2Use PJL ENTER HPGL2 command
PCL_PJL_PCL3GUIUse PJL ENTER PCL3GUI command
PCL_PJL_RESOLUTIONUse PJL SET RESOLUTION command
+ +

Color Keywords

+ +

The PPD compiler defines two types of color keywords: +colorspace and color order. The following sections list the +supported keywords for each type.

+ +

Colorspace Keywords

+ +

The following colorspace keywords are recognized:

+ +
    + +
  • cielab - CIE Lab **
  • + +
  • ciexyz - CIE XYZ **
  • + +
  • cmy - Cyan, magenta, yellow
  • + +
  • cmyk - Cyan, magenta, yellow, black
  • + +
  • gmck - Gold, magenta, yellow, black **
  • + +
  • gmcs - Gold, magenta, yellow, silver **
  • + +
  • gold - Gold foil **
  • + +
  • icc1 - ICC-based, 1 color **
  • + +
  • icc2 - ICC-based, 2 colors **
  • + +
  • icc3 - ICC-based, 3 colors **
  • + +
  • icc4 - ICC-based, 4 colors **
  • + +
  • icc5 - ICC-based, 5 colors **
  • + +
  • icc6 - ICC-based, 6 colors **
  • + +
  • icc7 - ICC-based, 7 colors **
  • + +
  • icc8 - ICC-based, 8 colors **
  • + +
  • icc9 - ICC-based, 9 colors **
  • + +
  • icca - ICC-based, 10 colors **
  • + +
  • iccb - ICC-based, 11 colors **
  • + +
  • iccc - ICC-based, 12 colors **
  • + +
  • iccd - ICC-based, 13 colors **
  • + +
  • icce - ICC-based, 14 colors **
  • + +
  • iccf - ICC-based, 15 colors **
  • + +
  • k - Black
  • + +
  • kcmy - Black, cyan, magenta, yellow *
  • + +
  • kcmycm - Black, cyan, magenta, yellow, light-cyan, light-magenta *
  • + +
  • rgb - Red, green, blue
  • + +
  • rgba - Red, green, blue, alpha
  • + +
  • rgbw - Red, green, blue, luminance *
  • + +
  • silver - Silver foil **
  • + +
  • w - Luminance
  • + +
  • white - White ink (as black) **
  • + +
  • ymc - Yellow, magenta, cyan *
  • + +
  • ymck - Yellow, magenta, cyan, black * + +
      + +
    * = This colorspace is not supported on macOS prior to 10.4. +
    ** = This colorspace is not supported on macOS.
  • + +
+ +

Color Order Keywords

+ +

The following color order keywords are recognized:

+ +
    + +
  • chunked or chunky - Color values + are passed together on a line as RGB RGB RGB RGB
  • + +
  • banded - Color values are passed separately + on a line as RRRR GGGG BBBB *
  • + +
  • planar - Color values are passed separately + on a page as RRRR RRRR RRRR ... GGGG GGGG GGGG ... BBBB + BBBB BBBB * + +
      + +
    * = This color order + is not supported by the current Apple RIP filters and + should not be used when developing printer drivers for + macOS.
  • + +
+ + + diff --git a/doc/help/security.html b/doc/help/security.html new file mode 100644 index 0000000..6bd2fdf --- /dev/null +++ b/doc/help/security.html @@ -0,0 +1,123 @@ + + + + Server Security + + + + +

Server Security

+ +

In the default "standalone" configuration, there are few +potential security risks - the CUPS server does not accept remote +connections, and only accepts shared printer information from the +local subnet. When you share printers and/or enable remote +administration, you expose your system to potential unauthorized +access. This help page provides an analysis of possible CUPS +security concerns and describes how to better secure your +server.

+ +

Authentication Issues

+ +

When you enable remote administration, the server will use Basic authentication for administration tasks. The current CUPS server supports Basic, Kerberos, and local certificate authentication:

+ +
    + +
  1. Basic authentication essentially places the clear + text of the username and password on the network. + +

    Since CUPS uses the system username and password + account information, the authentication information could + be used to gain access to possibly privileged accounts on + the server.

    + +

    Recommendation: Enable encryption to hide the + username and password information - this is the default on + macOS and systems with GNU TLS installed.

  2. + +
  3. Local certificate authentication passes 128-bit + "certificates" that identify an authenticated user. + Certificates are created on-the-fly from random data and + stored in files under /var/run/cups/certs. + They have restricted read permissions: root + + system-group(s) for the root certificate, and lp + lp + for CGI certificates. + +

    Because certificates are only available on the local + system, the CUPS server does not accept local + authentication unless the client is connected to the + loopback interface (127.0.0.1 or ::1) or domain + socket.

    + +

    Recommendation: Ensure that unauthorized users + are not added to the system group(s).

  4. + +
+ +

Denial of Service Attacks

+ +

When printer sharing or remote administration is enabled, the +CUPS server, like all Internet services, is vulnerable to a +variety of denial of service attacks:

+ +
    + +
  1. Establishing multiple connections to the server until + the server will accept no more. + +

    This cannot be protected against by any known + software. The MaxClientsPerHost directive + can be used to configure CUPS to limit the number of + connections allowed from a single host, however that does + not prevent a distributed attack.

    + +

    Recommendation: Limit access to trusted systems + and networks.

  2. + +
  3. Repeatedly opening and closing connections to the + server as fast as possible. + +

    There is no easy way of protecting against this in the + CUPS software. If the attack is coming from outside the + local network, it may be possible to filter such an + attack. However, once the connection request has been + received by the server it must at least accept the + connection to find out who is connecting.

    + +

    Recommendation: None.

  4. + +
  5. Sending partial IPP requests; specifically, sending + part of an attribute value and then stopping + transmission. + +

    The current code will wait up to 1 second before + timing out the partial value and closing the connection. + This will slow the server responses to valid requests and + may lead to dropped browsing packets, but will otherwise + not affect the operation of the server.

    + +

    Recommendation: Block IPP packets from foreign + or untrusted networks using a router or + firewall.

  6. + +
  7. Sending large/long print jobs to printers, preventing + other users from printing. + +

    There are limited facilities for protecting against + large print jobs (the MaxRequestSize + attribute), however this will not protect printers from + malicious users and print files that generate hundreds or + thousands of pages.

    + +

    Recommendation: Restrict printer access to + known hosts or networks, and add user-level access + controls as needed for expensive printers.

  8. + +
+ +

Encryption Issues

+ +

CUPS supports 128-bit TLS encryption of network connections via the GNU TLS library, macOS Security framework, and Windows Schannel APIs. Secure deployment of TLS depends on proper certificate management and software maintenance.

+ + + diff --git a/doc/help/sharing.html b/doc/help/sharing.html new file mode 100644 index 0000000..a46f393 --- /dev/null +++ b/doc/help/sharing.html @@ -0,0 +1,111 @@ + + + + Printer Sharing + + + + +

Printer Sharing

+ +

This document discusses several ways to configure printer sharing.

+ +

The Basics

+ +

A "server" is any machine that communicates directly to a printer. A "client" is any machine that sends print jobs to a server for final printing. Clients can also be servers if they communicate directly with any printers of their own.

+ +

By default, CUPS uses the Internet Printing Protocol (IPP) to send jobs from a client to a server. When printing to legacy print servers you may also use the Line Printer Daemon (LPD) protocol when printing to older UNIX-based servers or Server Message Block (SMB) when printing to Windows® servers.

+ +

Clients can automatically discover and access shared printers via DNS Service Discovery (DNS-SD a.k.a. Bonjour®). SMB browsing can also be used to manually discover and access shared printers when Samba is installed.

+ + +

Configuring the Server

+ +

You must enable printer sharing on the server before clients can print through it. The simplest way to do this is to use the cupsctl(8) command on the server:

+ +
+cupsctl --share-printers
+
+ +

By default, the above command will allow printing from other clients on the same subnet as your server. To allow printing from any subnet, use the following command instead:

+ +
+cupsctl --share-printers --remote-any
+
+ +

Next, tag each printer that you want to share using the lpadmin(8) command on the server, for example:

+ +
+lpadmin -p printer -o printer-is-shared=true
+
+ +

You can require authentication for shared printing by setting the policy on each printer, for example:

+ +
+lpadmin -p printer -o printer-op-policy=authenticated
+
+ + +

Automatic Configuration using IPP

+ +
Note: +

This method of configuration does not work on macOS 10.7 or later because sandboxed applications do not always have direct network access.

+
+ +

CUPS can be configured to run without a local spooler and send all jobs to a +single server. However, if that server goes down then all printing will be +disabled. Use this configuration only as absolutely necessary.

+ +

The default server is normally the local system ("localhost"). To override +the default server create a file named /etc/cups/client.conf with a +line as follows:

+ +
+ServerName server
+
+ +

The server name can be the hostname or IP address of the default +server. If the server is not using the default IPP port (631), you can add the +port number at the end like this:

+ +
+ServerName server:port
+
+ +

The default server can also be customized on a per-user basis. To set a +user-specific server create a file named ~/.cups/client.conf instead. +The user client.conf file takes precedence over the system one.

+ +

Finally, you can set the CUPS_SERVER environment variable to +override the default server for a single process, for example:

+ +
+CUPS_SERVER=server:port firefox http://www.cups.org
+
+ +

will run the Firefox web browser pointed to the specified server and +port. The environment variable overrides both the user and system +client.conf files, if any.

+ + +

Manual Configuration of Print Queues

+ +
Note: +

This method of configuration does not work on macOS 10.7 or later because sandboxed applications do not always have direct network access.

+
+ +

The most tedious method of configuring client machines is to configure +each remote queue by hand using the lpadmin(8) +command:

+ +
+lpadmin -p printer -E -v ipp://server/printers/printer -m everywhere
+
+ +

The printer name is the name of the printer on the server machine. +The server name is the hostname or IP address of the server machine. +Repeat the lpadmin command for each remote printer you wish to use.

+ + + + diff --git a/doc/help/spec-banner.html b/doc/help/spec-banner.html new file mode 100644 index 0000000..855a569 --- /dev/null +++ b/doc/help/spec-banner.html @@ -0,0 +1,151 @@ + + + + + CUPS Banner File Format + + + + + + +

CUPS Banner File Format

+ +

Introduction

+ +

This specification describes the CUPS banner file format +(application/vnd.cups-banner) which is used to generate print job cover pages +and the CUPS test page. The format itself consists of a header followed by +lines of UTF-8 text containing comments or keywords and values:

+ +
+#CUPS-BANNER
+
+# What to show on the cover page
+Show job-id job-name job-originating-user-name time-at-creation
+
+# The header and footer text
+Header Cover Page
+Footer Cover Page
+
+# Arbitrary "notice" text
+Notice All work and no play makes Johnny a dull boy.
+Notice All work and no play makes Johnny a dull boy.
+Notice All work and no play makes Johnny a dull boy.
+Notice All work and no play makes Johnny a dull boy.
+
+# Images to place below the rest
+Image /usr/share/doc/cups/images/cups-icon.png
+Image /usr/share/doc/cups/images/smiley.jpg
+
+ + +

Standard Keywords

+ +

Footer

+ +

+Footer text for footer +

+ +

The Footer key defines the text that is centered at the bottom +of the page. Only one Footer key can be specified.

+ + +

Header

+ +

+Header text for Header +

+ +

The Header key defines the text that is centered at the top +of the page. Only one Header key can be specified.

+ + +

Image

+ +

+Image /path/to/image/filename
+Image relative/path/in/DocumentRoot/filename +

+ +

The Image key defines images that are centered above the footer +text. Multiple images are centered as a group from left to right. Images are +scaled as needed to fit on the page with a nominal size of 1"/25cm.

+ + +

Notice

+ +

+Notice Text to display below the job information.
+Notice More text to display below the job information. +

+ +

The Notice key defines lines of text that are centered below +the job information.

+ + +

Show

+ +

+Show value value ... value +

+ +

The Show key lists the job information that is shown. The +following values are supported:

+ +
    + +
  • imageable-area: The imageable area of the current + page size
  • + +
  • job-billing: Billing information for the job
  • + +
  • job-id: The job ID
  • + +
  • job-name: The title of the job
  • + +
  • job-originating-host-name: The computer that printed + the job
  • + +
  • job-originating-user-name: The user that printed the + job
  • + +
  • job-uuid: The job UUID
  • + +
  • options: The options that were provided with the + job
  • + +
  • paper-name: The name of the paper size used
  • + +
  • paper-size: The dimensions of the paper size used.
  • + +
  • printer-driver-name: The printer driver used
  • + +
  • printer-driver-version: The driver version
  • + +
  • printer-info: The printer description
  • + +
  • printer-location: The location of the printer
  • + +
  • printer-make-and-model: The make and model strings + reported by the printer driver
  • + +
  • printer-name: The printer used
  • + +
  • time-at-creation: When the job was submitted
  • + +
  • time-at-processing: The current date and time
  • + +
+ + + + diff --git a/doc/help/spec-command.html b/doc/help/spec-command.html new file mode 100644 index 0000000..67d5426 --- /dev/null +++ b/doc/help/spec-command.html @@ -0,0 +1,213 @@ + + + + + CUPS Command File Format + + + + + + +

CUPS Command File Format

+ +

Introduction

+ +

This specification describes the CUPS command file format +(application/vnd.cups-command) which is used to send printer +maintenance commands to a printer in a device-independent way. +The current specification supports basic maintenance functions +such as head cleaning and self-test pages and query functions +such as auto-configure, report supply levels, and report status.

+ +

Printer drivers advertise support for the CUPS command file +format by providing a filter for the +application/vnd.cups-command file type. Applications +can determine if a printer supports printing of CUPS command +files by checking the printer-type attribute for the +CUPS_PRINTER_COMMANDS capability bit.

+ +

In addition, the PPD file for a printer can contain a +cupsCommands keyword that provides a list of supported +commands separated by spaces, for example:

+ +
+*cupsCommands: "AutoConfigure Clean PrintSelfTestPage ReportLevels ReportStatus"
+
+ +

If no cupsCommands keyword is provided, the command filter +must support AutoConfigure, +Clean, +PrintSelfTestPage, +and ReportLevels. The scheduler also +provides the printer-commands attribute containing the list of +supported commands.

+ + +

File Syntax

+ +

CUPS command files are ASCII text files. The first line of a +CUPS command file MUST contain:

+ +
+#CUPS-COMMAND
+
+ +

After that, each line is either a command or a comment. +Comments begin with the # character, e.g.:

+ +
+# This is a comment
+
+ +

Commands are any sequence of letters, numbers, and punctuation characters +optionally followed by parameters separated by whitespace, e.g.:

+ +
+Clean all
+PrintSelfTestPage
+
+ +

Command names are case-insensitive, so "PRINTSELFTESTPAGE", +"printselftestpage", and "PrintSelfTestPage" are equivalent. Vendor-specific +commands should use a domain name prefix, e.g.:

+ +
+com.vendor.foo
+com.vendor.bar param param2 ... paramN
+
+ + +

Standard Commands

+ +

The following are the standard commands supported by the format. The only +required command is +PrintSelfTestPage.

+ + +

AutoConfigure

+ +

AutoConfigure

+ +

The AutoConfigure command updates the printer's PPD file +and driver state information to reflect the current configuration of the +printer. There are no arguments for this command.

+ +

Example:

+ +
+#CUPS-COMMAND
+AutoConfigure
+
+ + +

Clean

+ +

Clean colorname

+ +

The Clean command performs a standard print head cleaning. The +"colorname" parameter specifies which color or head to clean. If a printer does +not support cleaning of individual colors or cartridges, then all colors are +cleaned. Command filters MUST support the "all" colorname. Other standard color +names include "black", "color", "photo", "cyan", "magenta", "yellow", +"light-cyan", "light-magenta", "light-black", "light-gray", and "dark-gray".

+ +

Example:

+ +
+#CUPS-COMMAND
+Clean all
+
+ + +

PrintAlignmentPage

+ +

PrintAlignmentPage pass

+ +

The PrintAlignmentPage command prints a head alignment page on +the printer. The "pass" parameter provides a pass number from 1 to N. The number +of passes is device-dependent.

+ +

Example:

+ +
+#CUPS-COMMAND
+PrintAlignmentPage 1
+
+ + +

PrintSelfTestPage

+ +

PrintSelfTestPage

+ +

The PrintSelfTestPage command prints a self-test page on the +printer. Typically this page shows whether all jets on a print head are +functioning and that the print feed mechanisms are working properly.

+ +

Example:

+ +
+#CUPS-COMMAND
+PrintSelfTestPage
+
+ + +

ReportLevels

+ +

ReportLevels

+ +

The ReportLevels command queries the supply levels on a printer +and reports "marker-colors", "marker-levels", "marker-names", and +"marker-types" attributes using "ATTR:" messages sent to the scheduler. This +command should also report the current printer status using "STATE:" messages +like the ReportStatus command.

+ +

Example:

+ +
+#CUPS-COMMAND
+ReportLevels
+
+ + +

ReportStatus

+ +

ReportStatus

+ +

The ReportStatus command queries the printer for its current +status and reports it using "STATE:" messages sent to the scheduler.

+ +

Example:

+ +
+#CUPS-COMMAND
+ReportLevels
+
+ + +

SetAlignment

+ +

SetAlignment pass value ... valueN

+ +

The SetAlignment command sets print head alignment values. The +"pass" parameter is a number from 1 to N. All parameters are +device-dependent.

+ +

Example:

+ +
+#CUPS-COMMAND
+SetAlignment 1 14
+
+ + + + diff --git a/doc/help/spec-design.html b/doc/help/spec-design.html new file mode 100644 index 0000000..73d07b8 --- /dev/null +++ b/doc/help/spec-design.html @@ -0,0 +1,184 @@ + + + + + CUPS Design Description + + + + +

CUPS Design Description

+ +

This design description documents the overall organization of CUPS. The purpose is not to provide a line-by-line description of the CUPS source code, but rather to describe the overall architecture and location of key pieces so that developers can more easily understand the underlying operation of CUPS.

+ +

Introduction

+ +

Like most printing systems, CUPS is designed around a central print scheduling process that dispatches print jobs, processes administrative commands, provides printer status information to local and remote programs, and informs users as needed. Figure 1 shows the basic organization of CUPS.

+ +

Scheduler

+ +

The scheduler is a HTTP/1.1 and IPP/2.1 server application that manages HTTP and IPP requests, printers, classes, jobs, subscriptions, and notifications on the system. HTTP is used for normal web browser services as well as IPP operation messages passed via HTTP POST requests with the application/ipp content type. The scheduler uses a series of helper applications based on the Common Gateway Interface ("CGI") to provide dynamic web interfaces and can be configured to run additional site-specific programs or scripts for the web interface.

+ +

The scheduler is designed as a traditional single-threaded server process which runs external processes to do longer-term operations such as printing, notification, device/driver enumeration, and remote printer monitoring. External processes are normally run as a non-privileged account ("lp") and, on some platforms, with additional restrictions that limit what the processes are allowed to do.

+ +

The maximum number of simultaneous clients and print jobs that can be supported is primarily limited by the available server memory, file descriptors, and CPU - the scheduler itself imposes no hard limits.

+ +
+ + +
Figure 1: CUPS Block Diagram
CUPS Block Diagram
+ +

Config Files

+ +

The scheduler uses several configuration files to store the server settings (cupsd.conf), available classes (classes.conf), available printers (printers.conf), current notification subscriptions (subscriptions.conf), and supported file types and filters (mime.types, mime.convs). In addition, PostScript Printer Description ("PPD") files are associated with each printer, and the scheduler has cache files for remote printers, PPD files, and current jobs to optimize the scheduler's startup speed and availability.

+ +

Job Files

+ +

The scheduler stores job files in a spool directory, typically /var/spool/cups. Two types of files will be found in the spool directory: control files starting with the letter "c" ("c00001", "c99999", "c100000", etc.) and data files starting with the letter "d" ("d00001-001", "d99999-001", "d100000-001", etc.) Control files are IPP messages based on the original IPP Print-Job or Create-Job messages, while data files are the original print files that were submitted for printing. There is one control file for every job known to the system and 0 or more data files for each job. + +

Control files are normally cleaned out after the 500th job is submitted, while data files are removed immediately after a job has successfully printed. Both behaviors can be configured.

+ +

Log Files

+ +

The scheduler keeps three kinds of log files which are normally stored in the /var/log/cups directory. The access_log file lists every HTTP and IPP request that is processed by the scheduler. The error_log file contains messages from the scheduler and its helper applications that can be used +to track down problems. The page_log file lists every page that is printed, allowing for simple print accounting.

+ +

Log files are rotated automatically by the scheduler when they reach the configured size limit, by default 1MB. If the limit is set to 0 then no rotation is performed in the scheduler - this mode is often used by Linux distributions so they can use the logrotated(8) program to rotate them instead.

+ +

Berkeley Commands

+ +

CUPS provides the Berkeley lpc(8), lpq(1), lpr(1), and lprm(1) commands. In general, they function identically to the original Berkeley commands with the following exceptions:

+ +
    + +
  1. The lpc command currently only supports the "status" sub-command.
  2. + +
  3. The lpr command does not support the format modifier options "1" (TROFF font set 1), "2" (TROFF font set 2), "3" (TROFF font set 3), "4" (TROFF font set 4), "c" (CIFPLOT), "d" (DVI), "f" (FORTRAN), "g" (GNU plot), "i" (indentation), "n" (Ditroff), "r" (Sun raster), "t" (Troff), or "w" (width), as they do not map to the IPP MIME media type based document formats.
  4. + +
+ +

System V Commands

+ +

CUPS provides the System V cancel(1), lp(1), lpadmin(8), lpmove(8), and lpstat(1) commands. In general, they function identically to the original System V commands with the following exceptions:

+ +
    + +
  1. All commands may ask for a password; the System V print spooler requires root access to perform administration tasks, while CUPS allows for more flexible configurations.
  2. + +
  3. The lpadmin command does not implement the Solaris "-A" (alert), "-F" (fault recovery), "-M" (mount form/wheel), "-P" (paper list), "-S" (print wheels), "-T" (type list), "-U" (dialer info), "-W" (wait), "-f" (form name), "-l" (content-type list), "-s" (remote printer), or "-t" (number of trays) options.
  4. + +
+ +

CUPS Commands

+ +

CUPS provides the cupsaccept(8), cupsaddsmb(8), cupsdisable(8), cupsenable(8), cupsreject(8), cupstestppd(1), lpinfo(8), and lppasswd(1) commands. The cupsaccept, cupsdisable, cupsenable, and cupsreject commands correspond to the System V accept, disable, enable, and reject commands but have been renamed to avoid confusion and conflicts with the bash(1) internal enable command of the same name.

+ +

LPD Support

+ +

LPD client support is provided via the cups-lpd(8) program. Incoming LPD requests are accepted on TCP port 515 by the local inetd(8), launchd(8), or xinetd(8) process and forwarded to the cups-lpd program for conversion to the corresponding IPP request(s).

+ +

The cups-lpd program conforms, for the most part, to RFC 1179: Line Printer Daemon Protocol, but does not enforce the privileged source port restriction specified in that document. In addition, the banner page and output format options are usually overridden via command-line options to the cups-lpd program when it is invoked by the corresponding super-daemon program.

+ +

Web Interface

+ +

The web interface is supported by five CGI programs. Table 1 describes the purpose of each of the programs.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1: CGI Programs
ProgramLocationDescription
admin.cgi/adminProvides all of the administrative functions
classes.cgi/classesLists classes and provides class management functions
help.cgi/helpProvides access to online help documents
jobs.cgi/jobsLists jobs and provides job management functions
printers.cgi/printersLists printers and provides printer management functions
+ +

Notifiers

+ +

Notifiers (notifier(7)) provide the means for sending asynchronous event notifications from the scheduler. Notifiers are executed with the recipient information on the command-line and the event data on the standard input. For example:

+ +
+CUPS_SERVERBIN/notifier/foo recipient user-data
+
+ +

CUPS includes two notifiers: mailto to provide SMTP-based email notifications and rss to provide Really Simple Syndication ("RSS") notifications from the scheduler. Additional notifiers can be installed in the notifier directory as needed to support other methods.

+ +

Filters

+ +

Filters (filter(7)) convert job files into a printable format. Multiple filters are run, as needed, to convert from the job file format to the printable format. A filter program reads from the standard input or from a file if a filename is supplied. All filters must support a common set of options including printer name, job ID, username, job title, number of copies, and job options. All output is sent to the standard output.

+ +

CUPS provides filters for printing text, PostScript, PDF, HP-GL/2, and many types of image files. CUPS also provides printer driver filters for HP-PCL, ESC/P, and several types of label printers. Additional filters can be registered with CUPS via mime.convs and PPD files.

+ +

Port Monitors

+ +

Port monitors handle the device- and channel-specific data formatting for a printer. Port monitors use the same interface as filters.

+ +

CUPS includes two port monitors: the bcp port monitor which supports the PostScript Binary Communications Protocol ("BCP") and the tbcp port monitor which supports the PostScript Tagged Binary Communications Protocol ("TBCP"). Additional port monitors can be registered in PPD files.

+ +

Backends

+ +

Backends (backend(7)) send print data to the printer and enumerate available printers/devices as needed. Backends use the same interface as filters.

+ +

CUPS includes backends for AppSocket (JetDirect), IPP, LPD, and USB connections and DNS-SD and SNMP for discovery. Additional backends can be added as needed without additional configuration.

+ + +

Programming Interfaces

+ +

CUPS makes use of several general-purpose libraries to provide its printing services. Unlike the rest of CUPS, the libraries are provided under the terms of the GNU LGPL so they may be used by non-GPL applications.

+ +

CUPS Library (libcups)

+ +

The CUPS library contains all of the core HTTP and IPP communications code as well as convenience functions for queuing print jobs, getting printer information, accessing resources via HTTP and IPP, and manipulating PPD files. The scheduler and all commands, filters, and backends use this library.

+ +

CUPS CGI Library (libcupscgi)

+ +

The CUPS CGI library provides all of the web interface support functions. It is used by the CGI programs to provide the CUPS web interface.

+ +

CUPS Driver Library (libcupsdriver)

+ +

The CUPS driver library provides access to the dithering, color conversion, and helper functions used by the CUPS sample printer drivers.

+ +

CUPS Imaging Library (libcupsimage)

+ +

The CUPS imaging library provides functions for managing large images, doing colorspace conversion and color management, scaling images for printing, and managing raster page streams. It is used by the CUPS image file filters, the PostScript RIP, and all raster printers drivers.

+ +

CUPS MIME Library (libcupsmime)

+ +

The CUPS MIME library provides file typing and conversion functions and is used by the scheduler and cupsfilter(8) command to auto-type and convert print files to a printable format.

+ +

CUPS PPD Compiler Library (libcupsppdc)

+ +

The CUPS PPD compiler library provides access to driver information files and is used by the PPD compiler tools as well as the cups-driverd(8) helper program to generate PPD files and message catalogs for localization.

+ + + + diff --git a/doc/help/spec-ipp.html b/doc/help/spec-ipp.html new file mode 100644 index 0000000..8f0ad31 --- /dev/null +++ b/doc/help/spec-ipp.html @@ -0,0 +1,1911 @@ + + + + + CUPS Implementation of IPP + + + + + + +

CUPS Implementation of IPP

+ +

Introduction

+ +

CUPS implements IPP/2.1 and the operations and attributes defined in the following specifications:

+ + + +

CUPS also provides 17 new operations and many new attributes to support multiple IPP printers and printer classes on a single host.

+ +

IPP URIs

+ +

CUPS supports the "http", "https", "ipp", and "ipps" schemes. The following resource names are used:

+ +
+ +
scheme://hostname:port/
+ +
Can be used for all "get" operations and for server subscriptions.
+ +
scheme://hostname:port/admin/
+ +
Used for all administrative operations.
+ +
scheme://hostname:port/classes/name
+ +
Specifies a printer class.
+ +
scheme://hostname:port/jobs/id
+ +
Specifies a job.
+ +
scheme://hostname:port/printers/name
+ +
Specifies a printer.
+ +
+ +

So a typical printer URI would be "ipp://foo.example.com/printers/LaserJet". In addition, the CUPS scheduler also supports (when enabled) normal browser access via "http://foo.example.com:port/" and "https://foo.example.com:port/".

+ +

CUPS IPP Operations

+ +

CUPS provides 17 vendor extension operations in addition to most of the standard IPP and registered extension operations:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Operation NameCUPSCodeBrief Description
Print-Job1.00x0002Print a file.
Validate-Job1.00x0004Validate job attributes.
Create-Job1.10x0005Create a print job.
Send-Document1.10x0006Send a file for a print job.
Cancel-Job1.00x0008Cancel a print job.
Get-Job-Attributes1.00x0009Get job attributes.
Get-Jobs1.00x000AGet all jobs.
Get-Printer-Attributes1.00x000BGet printer attributes.
Hold-Job1.10x000CHold a job for printing.
Release-Job1.10x000DRelease a job for printing.
Restart-Job1.10x000ERestarts a print job.
Pause-Printer1.00x0010Pause printing on a printer.
Resume-Printer1.00x0011Resume printing on a printer.
Purge-Jobs1.00x0012Purge all jobs.
Set-Printer-Attributes1.40x0013Set attributes for a printer.
Set-Job-Attributes1.10x0014Set attributes for a pending or held job.
Create-Printer-Subscription1.20x0016Creates a subscription associated with a printer or the server.
Create-Job-Subscription1.20x0017Creates a subscription associated with a job.
Get-Subscription-Attributes1.20x0018Gets the attributes for a subscription.
Get-Subscriptions1.20x0019Gets the attributes for zero or more subscriptions.
Renew-Subscription1.20x001ARenews a subscription.
Cancel-Subscription1.20x001BCancels a subscription.
Get-Notifications1.20x001CGet notification events for ippget subscriptions.
Enable-Printer1.20x0022Accepts jobs on a printer.
Disable-Printer1.20x0023Rejects jobs on a printer.
Hold-New-Jobs1.40x0025Hold new jobs by default.
Release-Held-New-Jobs1.40x0026Releases all jobs that were previously held.
Cancel-Jobs1.50x0038Cancel all jobs (administrator).
Cancel-My-Jobs1.50x0039Cancel all jobs (user).
Close-Job1.50x003bClose a created job.
CUPS-Get-Default1.00x4001Get the default destination.
CUPS-Get-Printers1.00x4002Get all of the available printers.
CUPS-Add-Modify-Printer1.00x4003Add or modify a printer.
CUPS-Delete-Printer1.00x4004Delete a printer.
CUPS-Get-Classes1.00x4005Get all of the available printer classes.
CUPS-Add-Modify-Class1.00x4006Add or modify a printer class.
CUPS-Delete-Class1.00x4007Delete a printer class.
CUPS-Accept-Jobs1.00x4008Accept jobs on a printer or printer class. This operation is deprecated - use the Enable-Printer operation instead.
CUPS-Reject-Jobs1.00x4009Reject jobs on a printer or printer class. This operation is deprecated - use the Disable-Printer operation instead.
CUPS-Set-Default1.00x400ASet the default destination.
CUPS-Get-Devices1.10x400BGet all of the available devices.
CUPS-Get-PPDs1.10x400CGet all of the available PPDs.
CUPS-Move-Job1.10x400DMove a job to a different printer.
CUPS-Authenticate-Job1.20x400EAuthenticate a job for printing.
CUPS-Get-PPD1.30x400FGet a PPD file.
CUPS-Get-Document1.40x4027Get a document file from a job.
CUPS-Create-Local-Printer2.20x4028Creates a local (temporary) print queue pointing to a remote IPP Everywhere printer.
+ +

Operations

+ +

The following sections describe the operations supported by CUPS. In the interest of brevity, operations which use only the standard IPP attributes are not described. + + +

Cancel Job Operation (Extension)

+ +

The Cancel-Job operation (0x0008) cancels the specified job. CUPS 1.4 added support for the purge-job (boolean) operation attribute that (if 'true') removes all history and document files for the job as well.

+ + +

Purge-Jobs Operation

+ +

The Purge-Jobs operation (0x0012) cancels all of the jobs on a given destination and optionally removes all history and document files for the jobs as well. CUPS 1.2 added support for the purge-job (boolean) operation attribute that (if 'false') retains all history and document files for the canceled jobs.

+ +
Note: +

The Cancel-Jobs and Cancel-My-Jobs operations should be used instead of Purge-Jobs.

+
+ + + +

CUPS 1.2/macOS 10.5Create-Printer-Subscription

+ +

The Create-Printer-Subscription operation (0x0016) creates a subscription for printer or server event notifications. CUPS provides several additional events in addition to the standard events in the IPP notifications specification. CUPS adds the following notify-events (1setOf type2 keyword) values:

+ +

    + +
  • printer-added - Get notified whenever a printer or class is added
  • + +
  • printer-deleted - Get notified whenever a printer or class is deleted
  • + +
  • printer-modified - Get notified whenever a printer or class is modified
  • + +
  • server-audit - Get notified when a security condition occurs
  • + +
  • server-restarted - Get notified when the server is restarted
  • + +
  • server-started - Get notified when the server is started
  • + +
  • server-stopped - Get notified when the server is stopped
  • + +
+ + +

CUPS-Get-Default Operation

+ +

The CUPS-Get-Default operation (0x4001) returns the default printer URI and attributes. + +

CUPS-Get-Default Request

+ +

The following groups of attributes are supplied as part of the CUPS-Get-Default request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"requested-attributes" (1setOf keyword): + +
The client OPTIONALLY supplies a set of attribute names and/or attribute group names in whose values the requester is interested. If the client omits this attribute, the server responds as if this attribute had been supplied with a value of 'all'. + +
+ +

CUPS-Get-Default Response

+ +

The following groups of attributes are send as part of the CUPS-Get-Default Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
+ +

Group 2: Printer Object Attributes + +

+ +
The set of requested attributes and their current values. + +
+ +

CUPS-Get-Printers Operation

+ +

The CUPS-Get-Printers operation (0x4002) returns the printer attributes for every printer known to the system. This may include printers that are not served directly by the server. + +

CUPS-Get-Printers Request

+ +

The following groups of attributes are supplied as part of the CUPS-Get-Printers request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"first-printer-name" (name(127)): CUPS 1.2/macOS 10.5 + +
The client OPTIONALLY supplies this attribute to select the first printer that is returned. + +
"limit" (integer (1:MAX)): + +
The client OPTIONALLY supplies this attribute limiting the number of printers that are returned. + +
"printer-id" (integer(0:65535)): CUPS 2.2 + +
The client OPTIONALLY supplies this attribute to select which printer is returned. + +
"printer-location" (text(127)): CUPS 1.1.7 + +
The client OPTIONALLY supplies this attribute to select which printers are returned. + +
"printer-type" (type2 enum): CUPS 1.1.7 + +
The client OPTIONALLY supplies a printer type enumeration to select which printers are returned. + +
"printer-type-mask" (type2 enum): CUPS 1.1.7 + +
The client OPTIONALLY supplies a printer type mask enumeration to select which bits are used in the "printer-type" attribute. + +
"requested-attributes" (1setOf keyword): + +
The client OPTIONALLY supplies a set of attribute names and/or attribute group names in whose values the requester is interested. If the client omits this attribute, the server responds as if this attribute had been supplied with a value of 'all'. + +
"requested-user-name" (name(127)): CUPS 1.2/macOS 10.5 + +
The client OPTIONALLY supplies a user name that is used to filter the returned printers. + +
+ +

CUPS-Get-Printers Response

+ +

The following groups of attributes are send as part of the CUPS-Get-Printers Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
+ +

Group 2: Printer Object Attributes + +

+ +
The set of requested attributes and their current values for each printer. + +
+ + +

CUPS-Add-Modify-Printer Operation

+ +

The CUPS-Add-Modify-Printer operation (0x4003) adds a new printer or modifies an existing printer on the system. + +

CUPS-Add-Modify-Printer Request

+ +

The following groups of attributes are supplied as part of the CUPS-Add-Modify-Printer request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"printer-uri" (uri): + +
The client MUST supply a URI for the specified printer. + +
+ +

Group 2: Printer Object Attributes + +

+ +
"auth-info-required" (1setOf type2 keyword): CUPS 1.3/macOS 10.5 + +
The client OPTIONALLY supplies one or more authentication keywords that are required to communicate with the printer/remote queue. + +
"job-sheets-default" (1setOf name(127)): CUPS 1.1.7 + +
The client OPTIONALLY supplies one or two banner page names that are printed before and after files in a job. The reserved name "none" is used to specify that no banner page should be printed. + +
"device-uri" (uri): + +
The client OPTIONALLY supplies a device URI for the specified printer. + +
"port-monitor" (name(127)): + +
The client OPTIONALLY supplies a port monitor name for the specified printer. + +
"ppd-name" (name(255)): + +
The client OPTIONALLY supplies a PPD name for the specified printer. + +
"printer-is-accepting-jobs" (boolean): + +
The client OPTIONALLY supplies this boolean attribute indicating whether the printer object should accept new jobs. + +
"printer-info" (text(127)): + +
The client OPTIONALLY supplies this attribute indicating the printer information string. + +
"printer-location" (text(127)): + +
The client OPTIONALLY supplies this attribute indicating a textual location of the printer. + +
"printer-more-info" (uri): + +
The client OPTIONALLY supplies this attribute indicating a URI for additional printer information. + +
"printer-state" (type2 enum): + +
The client OPTIONALLY supplies this attribute indicating the initial/current state of the printer. Only the 'idle(3)' and 'stopped(5)' enumerations are recognized. + +
"printer-state-message" (text(MAX)): + +
The client OPTIONALLY supplies this attribute indicating a textual reason for the current printer state. + +
"requesting-user-name-allowed" (1setof name(127) | delete) +
OR +
"requesting-user-name-denied" (1setof name(127) | delete): + +
The client OPTIONALLY supplies one of these attributes to specify an access control list for incoming print jobs. To allow all users access to a printer, use the delete tag for the attribute value. + +
+ +

The CUPS-Add-Modify-Printer request can optionally be followed by a PPD file to be used for the printer. The "ppd-name" attribute overrides any file that is attached to the end of the request with a local CUPS PPD file. + +

CUPS-Add-Modify-Printer Response

+ +

The following groups of attributes are send as part of the +CUPS-Add-Modify-Printer Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
+ + +

CUPS-Delete-Printer Operation

+ +

The CUPS-Delete-Printer operation (0x4004) removes an existing printer from the system. + +

CUPS-Delete-Printer Request

+ +

The following groups of attributes are supplied as part of the CUPS-Delete-Printer request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"printer-uri" (uri): + +
The client MUST supply a URI for the specified printer. + +
+ +

CUPS-Delete-Printer Response

+ +

The following groups of attributes are send as part of the CUPS-Delete-Printer Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
+ + +

CUPS-Get-Classes Operation

+ +

The CUPS-Get-Classes operation (0x4005) returns the printer attributes for every printer class known to the system. This may include printer classes that are not served directly by the server. + +

CUPS-Get-Classes Request

+ +

The following groups of attributes are supplied as part of the CUPS-Get-Classes request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"first-printer-name" (name(127)): CUPS 1.2/macOS 10.5 + +
The client OPTIONALLY supplies this attribute to select the first printer that is returned. + +
"limit" (integer (1:MAX)): + +
The client OPTIONALLY supplies this attribute limiting the number of printer classes that are returned. + +
"printer-location" (text(127)): CUPS 1.1.7 + +
The client OPTIONALLY supplies this attribute to select which printer classes are returned. + +
"printer-type" (type2 enum): CUPS 1.1.7 + +
The client OPTIONALLY supplies a printer type enumeration to select which printer classes are returned. + +
"printer-type-mask" (type2 enum): CUPS 1.1.7 + +
The client OPTIONALLY supplies a printer type mask enumeration to select which bits are used in the "printer-type" attribute. + +
"requested-attributes" (1setOf keyword): + +
The client OPTIONALLY supplies a set of attribute names and/or attribute group names in whose values the requester is interested. If the client omits this attribute, the server responds as if this attribute had been supplied with a value of 'all'. + +
"requested-user-name" (name(127)): CUPS 1.2/macOS 10.5 + +
The client OPTIONALLY supplies a user name that is used to filter the returned printers. + +
+ +

CUPS-Get-Classes Response

+ +

The following groups of attributes are send as part of the CUPS-Get-Classes Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
+ +

Group 2: Printer Class Object Attributes + +

+ +
The set of requested attributes and their current values for each printer class. + +
+ +

CUPS-Add-Modify-Class Operation

+ +

The CUPS-Add-Modify-Class operation (0x4006) adds a new printer class or modifies and existing printer class on the system. + +

CUPS-Add-Modify-Class Request

+ +

The following groups of attributes are supplied as part of the CUPS-Add-Modify-Class request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"printer-uri" (uri): + +
The client MUST supply a URI for the specified printer class. + +
+ +

Group 2: Printer Object Attributes + +

+ +
"auth-info-required" (1setOf type2 keyword): CUPS 1.3/macOS 10.5 + +
The client OPTIONALLY supplies one or more authentication keywords that are required to communicate with the printer/remote queue. + +
"member-uris" (1setof uri): + +
The client OPTIONALLY supplies the "member-uris" set specifying the printers and printer classes that are part of the class. + +
"printer-is-accepting-jobs" (boolean): + +
The client OPTIONALLY supplies this boolean attribute indicating whether the class object should accept new jobs. + +
"printer-info" (text(127)): + +
The client OPTIONALLY supplies this attribute indicating the printer information string. + +
"printer-location" (text(127)): + +
The client OPTIONALLY supplies this attribute indicating a textual location of the class. + +
"printer-more-info" (uri): + +
The client OPTIONALLY supplies this attribute indicating a URI for additional class information. + +
"printer-state" (type2 enum): + +
The client OPTIONALLY supplies this attribute indicating the initial/current state of the class. Only the 'idle(3)' and 'stopped(5)' enumerations are recognized. + +
"printer-state-message" (text(MAX)): + +
The client OPTIONALLY supplies this attribute indicating a textual reason for the current class state. + +
"requesting-user-name-allowed" (1setof name(127)) +
OR +
"requesting-user-name-denied" (1setof name(127)): + +
The client OPTIONALLY supplies one of these attributes to specify an access control list for incoming print jobs. To allow all users access to a class, use the delete tag for the attribute value. + +
+ +

CUPS-Add-Modify-Class Response

+ +

The following groups of attributes are send as part of the CUPS-Add-Modify-Class Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
+ + +

CUPS-Delete-Class Operation

+ +

The CUPS-Delete-Class operation (0x4007) removes an existing printer class from the system. + +

CUPS-Delete-Class Request

+ +

The following groups of attributes are supplied as part of the CUPS-Delete-Class request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"printer-uri" (uri): + +
The client MUST supply a URI for the specified printer class. + +
+ +

CUPS-Delete-Class Response

+ +

The following groups of attributes are send as part of the CUPS-Delete-Class Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
+ + +

CUPS-Set-Default Operation

+ +

The CUPS-Set-Default operation (0x400A) sets the default printer destination for all clients when a resource name of "/printers" is specified. + +

CUPS-Set-Default Request

+ +

The following groups of attributes are supplied as part of the CUPS-Set-Default request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"printer-uri" (uri): + +
The client MUST supply a URI for the specified printer or printer class. + +
+ +

CUPS-Set-Default Response

+ +

The following groups of attributes are send as part of the CUPS-Set-Default Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
+ + +

DeprecatedCUPS-Get-Devices Operation

+ +

The CUPS-Get-Devices operation (0x400B) returns all of the supported device-uri's for the server.

+ +

CUPS-Get-Devices Request

+ +

The following groups of attributes are supplied as part of the CUPS-Get-Devices request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"device-class" (type1 keyword): + +
The client OPTIONALLY supplies a device class keyword to select which devices are returned. + +
"exclude-schemes" (1setOf name): CUPS 1.4/macOS 10.6 + +
The client OPTIONALLY supplies a set of scheme names that the requestor does not want to discover. If the client omits this attribute, the server responds with devices of all schemes specified by the "include-schemes" attribute. + +
"include-schemes" (1setOf name): CUPS 1.4/macOS 10.6 + +
The client OPTIONALLY supplies a set of scheme names that the requestor wants to discover. If the client omits this attribute, the server responds with devices of all schemes except those specified by the "exclude-schemes" attribute. + +
"limit" (integer (1:MAX)): + +
The client OPTIONALLY supplies this attribute limiting the number of devices that are returned. + +
"requested-attributes" (1setOf keyword): + +
The client OPTIONALLY supplies a set of attribute names and/or attribute group names in whose values the requester is interested. If the client omits this attribute, the server responds as if this attribute had been supplied with a value of 'all'. + +
"timeout" (integer (1:MAX)): CUPS 1.4/macOS 10.6 + +
The client OPTIONALLY supplies this attribute to limit the duration of the lookup. The default timeout is 15 seconds. + +
+ +

CUPS-Get-Devices Response

+ +

The following groups of attributes are send as part of the CUPS-Get-Devices Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
+ +

Groups 2-N: Device Object Attributes (using printer-attributes-tag group) + +

+ +
The set of requested attributes and their current values for + each device. + +
+ + +

DeprecatedCUPS-Get-PPDs Operation

+ +

The CUPS-Get-PPDs operation (0x400C) returns all of the locally available PPD files on the system.

+ +

CUPS-Get-PPDs Request

+ +

The following groups of attributes are supplied as part of the CUPS-Get-PPDs request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"exclude-schemes" (1setOf name): CUPS 1.4/macOS 10.6 + +
The client OPTIONALLY supplies a set of scheme names that the requestor does not want to list. If the client omits this attribute, the server responds with PPDs of all schemes specified by the "include-schemes" attribute. + +
"include-schemes" (1setOf name): CUPS 1.4/macOS 10.6 + +
The client OPTIONALLY supplies a set of scheme names that the requestor wants to list. If the client omits this attribute, the server responds with PPDs of all schemes except those specified by the "exclude-schemes" attribute. + +
"limit" (integer (1:MAX)): + +
The client OPTIONALLY supplies this attribute limiting the number of PPDs that are returned. + +
"ppd-make" (text(127)): + +
The client OPTIONALLY supplies a printer manufacturer to select which PPDs are returned. + +
"ppd-make-and-model" (text(127)): CUPS 1.3/macOS 10.5 + +
The client OPTIONALLY supplies a make and model to select which PPDs are returned. + +
"ppd-model-number" (integer): CUPS 1.3/macOS 10.5 + +
The client OPTIONALLY supplies a model number to select which PPDs are returned. + +
"ppd-natural-language" (naturalLanguage): CUPS 1.3/macOS 10.5 + +
The client OPTIONALLY supplies a language to select which PPDs are returned. + +
"ppd-product" (text(127)): CUPS 1.3/macOS 10.5 + +
The client OPTIONALLY supplies a PostScript product string to select which PPDs are returned. + +
"ppd-psversion" (text(127)): CUPS 1.3/macOS 10.5 + +
The client OPTIONALLY supplies a PostScript version string to select which PPDs are returned. + +
"ppd-type" (type1 keyword): CUPS 1.3/macOS 10.5 + +
The client OPTIONALLY supplies a driver type to select which PPDs are returned. + +
"requested-attributes" (1setOf keyword): + +
The client OPTIONALLY supplies a set of attribute names and/or attribute group names in whose values the requester is interested. If the client omits this attribute, the server responds as if this attribute had been supplied with a value of 'all'. Specify "ppd-make" to get a list of manufacturers. + +
+ +

CUPS-Get-PPDs Response

+ +

The following groups of attributes are send as part of the +CUPS-Get-PPDs Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
+ +

Groups 2-N: PPD Attributes (using printer-attributes-tag group) + +

+ +
The set of requested attributes and their current values for each PPD file. + +
+ + +

CUPS 1.1CUPS-Move-Job Operation

+ +

The CUPS-Move-Job operation (0x400D) moves an active print job or all print jobs for a printer to a different printer.

+ +

CUPS-Move-Job Request

+ +

The following groups of attributes are supplied as part of the CUPS-Move-Job request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"printer-uri" (uri) +
OR +
"printer-uri" (uri) and "job-id" (integer) +
OR +
"job-uri" (uri): + +
The client MUST supply a URI for the specified printer, the URI for the specified printer and a job ID number, or the job URI. + +
+ +

Group 2: Job Template Attributes + +

+ +
"job-printer-uri" (uri): + +
The client MUST supply a URI for a printer on the same server. + +
+ +

CUPS-Move-Job Response

+ +

The following groups of attributes are send as part of the CUPS-Move-Job Response: + +

Group 1: Operation Attributes + +

+ +
Status Message: + +
The standard response status message. + +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
+ +

CUPS 1.2/macOS 10.5CUPS-Authenticate-Job Operation

+ +

The CUPS-Authenticate-Job operation (0x400E) authenticates a print job for printing, releasing the job if it is held. Typically this is used when printing to a remote server. The authentication information is passed in the HTTP request; the HTTP connection is normally encrypted for this type of request.

+ +

CUPS-Authenticate-Job Request

+ +

The following groups of attributes are supplied as part of the CUPS-Authenticate-Job request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"printer-uri" (uri) and "job-id" (integer) +
OR +
"job-uri" (uri): + +
The client MUST supply a URI for the specified printer and a job ID number, or the job URI. + +
+ +

Group 2: Job Attributes + +

+ +
"auth-info" (1setOf text(MAX)): CUPS 1.3/macOS 10.5 + +
The client OPTIONALLY supplies one or more authentication values as specified by the "auth-info-required" attribute. + +
"job-hold-until" (keyword | name(MAX)): CUPS 1.3/macOS 10.5 + +
The client OPTIONALLY supplies a new job-hold-until value for the job. If specified and not the "no-hold" value, the job is held instead of released for printing. + +
+ +

CUPS-Authenticate-Job Response

+ +

The following groups of attributes are send as part of the CUPS-Authenticate-Job Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
+ +

Group 2: Unsupported Attributes (status=client-eror-attributes-or-values-not-supported) + +

+ +
auth-info-required (1setOf Type2 keyword) + +
The required authentication information. + +
+ + +

DeprecatedCUPS-Get-PPD Operation

+ +

The CUPS-Get-PPD operation (0x400F) gets a PPD file from the server. The PPD file can be specified using a ppd-name returned by CUPS-Get-PPDs or using the printer-uri for a queue.

+ +

If the PPD file is found, successful-ok is returned with the PPD file following the response data.

+ +

If the PPD file cannot be served by the local server because the printer-uri attribute points to an external printer, a cups-see-other status is returned with the correct URI to use.

+ +

If the PPD file does not exist, client-error-not-found is returned.

+ +

CUPS-Get-PPD Request

+ +

The following group of attributes is supplied as part of the CUPS-Get-PPD request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"printer-uri" (uri) +
OR +
"ppd-name" (name(255)): + +
The client MUST supply a printer URI or PPD name. + +
+ +

CUPS-Get-PPD Response

+ +

The following group of attributes is sent as part of the CUPS-Get-PPD Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
"printer-uri" (uri): + +
The printer that provides the actual PPD file when the status code is cups-see-other (0x280). + +
+ +

If the status code is successful-ok, the PPD file follows the end of the IPP response.

+ + +

CUPS 1.4/macOS 10.6CUPS-Get-Document Operation

+ +

The CUPS-Get-Document operation (0x4027) gets a document file from a job on the server. The document file is specified using the document-number and either the job-uri or printer-uri and job-id identifying the job.

+ +

If the document file is found, successful-ok is returned with the document file following the response data.

+ +

If the document file does not exist, client-error-not-found is returned.

+ +

If the requesting user does not have access to the document file, client-error-not-authorized is returned. + +

CUPS-Get-Document Request

+ +

The following group of attributes is supplied as part of the CUPS-Get-Document request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
"printer-uri" (uri) and "job-id" (integer) +
OR +
"job-uri" (uri): + +
The client MUST supply a printer URI and job ID or job URI. + +
"document-number" (integer(1:MAX)): + +
The client MUST supply a document number to retrieve. The document-count attribute for the job defines the maximum document number that can be specified. In the case of jobs with banners (job-sheets is not "none"), document number 1 will typically contain the start banner and document number N will typically contain the end banner. + +
+ +

CUPS-Get-Document Response

+ +

The following group of attributes is sent as part of the CUPS-Get-Document Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
"document-format" (mimeType): + +
The format of the document file. + +
"document-number" (integer(1:MAX)): + +
The requested document number. + +
"document-name" (name(MAX)): + +
The name that was supplied with the document, if any. + +
+ +

If the status code is successful-ok, the document file follows the end of the IPP response.

+ + +

CUPS-Create-Local-Printer

+ +

The CUPS-Create-Local-Printer operation (0x4028) creates a local (temporary) print queue pointing to a remote IPP Everywhere Printer. The queue will remain until the scheduler idle exits, is restarted, or the system is restarted or shutdown. Temporary print queues can be made permanent by an administrator by setting the "printer-is-shared" attribute to 'true'.

+ +

At a minimum, the scheduler requires a name and URI for the Printer to add. When successful, the local "printer-uri" values are returned and may be used by the Client to submit Job Creation Requests, monitor for state changes, and so forth.

+ +

If the named printer already exists, the scheduler will reject the request with the 'client-error-not-possible' status code.

+ +

Access Rights: The authenticated user performing this operation MUST be a Local User of the system, and the request MUST be made over a local (domain socket or loopback interface) address. Otherwise, the request will be rejected with the 'client-error-forbidden' status code.

+ +

CUPS-Create-Local-Printer Request

+ +

The following group of attributes is supplied as part of the CUPS-Create-Local-Printer request: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.1 of the IPP Model and Semantics document. + +
+ +

Group 2: Printer Attributes + +

+ +
"printer-name" (name(127)): + +
The Client MUST supply this attribute which provides the name for the new Printer. + +
"device-uri" (uri): + +
The Client MUST supply this attribute which provides an "ipp" or "ipps" URI pointing to an IPP Everywhere Printer. + +
"printer-device-id" (text(1023)): + +
The Client OPTIONALLY supplies this attribute which provides the IEEE 1284 device ID for the new Printer. + +
"printer-geo-location" (uri): + +
The Client OPTIONALLY supplies this attribute which provides the geo-location of the new Printer as a "geo" URI. + +
"printer-info" (text(127)): + +
The Client OPTIONALLY supplies this attribute which provides the description for the new Printer. + +
"printer-location" (text(127)): + +
The Client OPTIONALLY supplies this attribute which provides the location of the new Printer. + +
+ +

CUPS-Create-Local-Printer Response

+ +

The following group of attributes is sent as part of the CUPS-Create-Local-Printer Response: + +

Group 1: Operation Attributes + +

+ +
Natural Language and Character Set: + +
The "attributes-charset" and "attributes-natural-language" attributes as described in section 3.1.4.2 of the IPP Model and Semantics document. + +
Status Message: + +
The standard response status message. + +
+ +

Group 2: Printer Attributes + +

+ +
"printer-id" (integer(0:65535)): + +
The numeric identifier for the created Printer. + +
"printer-is-accepting-jobs" (boolean): + +
Whether the created Printer is accepting jobs at the time of the response. + +
"printer-state" (type1 enum): + +
The state of the created Printer at the time of the response. + +
"printer-state-reasons" (1setOf type2 keyword): + +
The state keywords for the created Printer at the time of the response. + +
"printer-uri-supported" (1setOf uri): + +
The URIs for the created Printer. + +
+ + +

Attributes

+ +

CUPS provides many extension attributes to support multiple devices, PPD files, standard job filters, printers, and printer classes.

+ +

Device AttributesDeprecated

+ +

Device attributes are returned by the CUPS-Get-Devices operation and enumerate all of the available hardware devices and network protocols that are supported by the server. Device attributes are reported in the printer-attributes-tag group.

+ +

device-class (type2 keyword)Deprecated

+ +

The "device-class" attribute provides the class of device and can be one of the following: + +

    + +
  • 'file': A disk file. + +
  • 'direct': A parallel or fixed-rate serial data port, + currently used for Centronics, IEEE-1284, and USB printer + ports. + +
  • 'serial': A variable-rate serial port. + +
  • 'network': A network connection, typically via AppSocket, HTTP, IPP, LPD, or SMB/CIFS protocols. + +
+ +

device-id (text(1023))Deprecated

+ +

The "device-id" attribute provides the IEEE-1284 device ID string for the device.

+ +

device-info (text(127))Deprecated

+ +

The "device-info" attribute specifies a human-readable string describing the device, e.g., 'Parallel Port #1'. + +

device-location (text(127))Deprecated

+ +

The "device-location" attribute specifies the physical location of the printer, e.g., '2nd Floor Computer Lab'. + +

device-make-and-model (text(127))Deprecated

+ +

The "device-make-and-model" attribute specifies a device identification string provided by the printer connected to the device. If the device or printer does not support identification then this attribute contains the string 'unknown'. + +

device-uri (uri)

+ +

The "device-uri" attribute specifies a unique identifier for the device. The actual format of the "device-uri" string depends on the value of the "device-class" attribute: + +

    + +
  • 'file': The "device-uri" will be of the form 'file:///path/to/filename'. + +
  • 'direct': The "device-uri" will be of the form 'scheme:/dev/filename' or 'scheme://vendor/identifier', where scheme may be 'parallel' or 'usb' in the current implementation. + +
  • 'serial': The "device-uri" will be of the form 'serial:/dev/filename?baud=value+parity=value+flow=value'. The baud value is the data rate in bits per second; the supported values depend on the underlying hardware. The parity value can be one of "none", "even", or "odd". The flow value can be one of "none", "soft" (XON/XOFF handshaking), "hard" or "rts/cts" (RTS/CTS handshaking), or "dtrdsr" (DTR/DSR handshaking). + +

    The URI returned by CUPS-Get-Devices will contain the maximum baud rate supported by the device and the best type of flow control available ("soft" or "hard"). + +

  • 'network': The "device-uri" will be of the form 'scheme://[username:password@]hostname[:port]/[resource]', where scheme may be "http", "https", "ipp", "lpd", "smb", or "socket" in the current implementation. + +

    The URI returned by CUPS-Get-Devices MAY only contain the scheme name ('scheme'). It is up to the client application to add the appropriate host and other information when adding a new printer. + +

    The URI returned by Get-Printer-Attributes and CUPS-Get-Printers has any username and password information stripped; the information is still stored and used by the server internally to perform any needed authentication. + +

+ + +

Job Attributes

+ +

auth-info (1setOf text(MAX))CUPS 1.3/macOS 10.5

+ +

The "auth-info" attribute specifies the authentication information to use when printing to a remote device. The order and content of each text value is specifed by the auth-info-required printer attribute. + +

job-cancel-after (integer(1:MAX))CUPS 2.0

+ +

The "job-cancel-after" attribute provides the maximum number of seconds that are allowed for processing a job.

+ +

job-hold-until (keyword | name(MAX))CUPS 1.1

+ +

The "job-hold-until" attribute specifies a hold time. In addition to the standard IPP/1.1 keyword names, CUPS supports name values of the form "HH:MM" and "HH:MM:SS" that specify a hold time. The hold time is in Universal Coordinated Time (UTC) and not in the local time zone. If the specified time is less than the current time, the job is held until the next day. + +

job-media-progress (integer(0:100))CUPS 1.4/macOS 10.6

+ +

The "job-media-progress" status attribute specifies the percentage of completion of the current page. It is only valid when the "job-state" attribute has the 'processing(5)' value.

+ +

job-printer-state-message (text(MAX))CUPS 1.3/macOS 10.5

+ +

The "job-printer-state-message" status attribute provides the last known value of the "printer-state-message" attribute for the printer that processed (or is processing) the job.

+ +

job-printer-state-reasons (1setOf type2 keyword)CUPS 1.3/macOS 10.5

+ +

The "job-printer-state-reasons" status attribute provides the last known value of the "printer-state-reasons" attribute for the printer that processed (or is processing) the job.

+ +

job-sheets (1setof type3 keyword | name(MAX))CUPS 1.1

+ +

The "job-sheets" attribute specifies one or two banner files that are printed before and after a job. The reserved value of "none" disables banner printing. The default value is stored in the "job-sheets-default" attribute. + +

If only one value is supplied, the banner file is printed before the job. If two values are supplied, the first value is used as the starting banner file and the second as the ending banner file. + +

job-originating-host-name (name(MAX))CUPS 1.1.5/macOS 10.2

+ +

The "job-originating-host-name" status attribute specifies the host from which the job was queued. The value will be the hostname or IP address of the client depending on whether hostname resolution is enabled. The localhost address (127.0.0.1) is always resolved to the name "localhost". + +

This attribute is read-only. + +

page-border (type2 keyword)CUPS 1.1.15

+ +

The "page-border" attribute specifies whether a border is draw around each page. The following keywords are presently defined: + +

    + +
  • 'double': Two hairline borders are drawn
  • + +
  • 'double-thick': Two 1pt borders are drawn
  • + +
  • 'none': No border is drawn (default)
  • + +
  • 'single': A single hairline border is drawn
  • + +
  • 'single-thick': A single 1pt border is drawn
  • + +
+ +

page-set (type2 keyword)Deprecated

+ +

The "page-set" attribute specifies which pages to print in a file. The supported keywords are 'all', 'even', and 'odd'. The default value is 'all'. + +

PPD AttributesDeprecated

+ +

PPD attributes are returned in the printer-attributes-tag group. + +

ppd-device-id (text(127))Deprecated

+ +

The "ppd-device-id" attribute specifies the IEEE-1284 device ID string for the device described by the PPD file.

+ +

ppd-make (text(127))Deprecated

+ +

The "ppd-make" attribute specifies the manufacturer of the printer (the Manufacturer attribute in the PPD file). If the manufacturer is not specified in the PPD file then an educated guess is made using the NickName attribute in the PPD file. + +

ppd-make-and-model (text(127))Deprecated

+ +

The "ppd-make-and-model" attribute specifies the manufacturer and model name of the PPD file (the NickName attribute in the PPD file). If the make and model is not specified in the PPD file then the ModelName or ShortNickName attributes are used instead. + +

ppd-model-number (integer)Deprecated

+ +

The "ppd-model-number" attribute provides the cupsModelNumber value from the PPD file. + +

ppd-name (name(255))Deprecated

+ +

The "ppd-name" attribute specifies either the PPD filename on the server relative to the model directory or a URI that maps to a specific driver interface in the driver directory. The forward slash (/) is used to delineate directories. + +

ppd-natural-language (1setOf naturalLanguage)Deprecated

+ +

The "ppd-natural-language" attribute specifies the language encoding of the PPD file (the LanguageVersion attribute in the PPD file). If the language is unknown or undefined then "en" (English) is assumed. + +

ppd-product (1setOf text(127))Deprecated

+ +

The "ppd-product" attribute specifies the Product attribute values in the PPD file. + +

ppd-psversion (1setOf text(127))Deprecated

+ +

The "ppd-product" attribute specifies the PSVersion attribute values in the PPD file. + +

ppd-type (type1 keyword)Deprecated

+ +

The "ppd-type" attribute specifies the type of driver described by the PPD file:

+ +
    + +
  • 'fax': A facsimile or multi-function device
  • + +
  • 'pdf': A PDF printer
  • + +
  • 'postscript': A PostScript printer (no filters)
  • + +
  • 'raster': A CUPS raster driver
  • + +
  • 'unknown': An unknown or hybrid driver
  • + +
+ + +

Printer Attributes

+ +

auth-info-required (1setOf type2 keyword)CUPS 1.3/macOS 10.5

+ +

The "auth-info-required" attribute specifies the authentication information that is required for printing a job. The following keywords are recognized:

+ +
    + +
  • 'domain': A domain name is required.
  • + +
  • 'negotiate': Kerberos is required - this keyword can only appear by itself and causes cupsd to collect the UID of the printing user.
  • + +
  • 'none': No authentication is required - this keyword can only appear by itself.
  • + +
  • 'password': A password is required.
  • + +
  • 'username': A username is required. Some protocols (like SMB) prefix the username with the domain, for example "DOMAIN\user".
  • + +
+ +

job-k-limit (integer)CUPS 1.1

+ +

The "job-k-limit" attribute specifies the maximum number of kilobytes that may be printed by a user, including banner files. The default value of 0 specifies that there is no limit. + +

job-page-limit (integer)CUPS 1.1

+ +

The "job-page-limit" attribute specifies the maximum number of pages that may be printed by a user, including banner files. The default value of 0 specifies that there is no limit. + +

job-quota-period (integer)CUPS 1.1

+ +

The "job-quota-period" attribute specifies the time period used for quota calculations, in seconds. The default value of 0 specifies that the limits apply to all jobs that have been printed by a user that are still known to the system. + +

marker-change-time (integer)CUPS 1.3/macOS 10.5

+ +

The "marker-change-time" status attribute specifies the "printer-up-time" value when the last change to the marker-colors, marker-levels, marker-message, marker-names, or marker-types attributes was made.

+ +

marker-colors (1setof name(MAX))CUPS 1.3/macOS 10.5

+ +

The "marker-colors" status attribute specifies the color(s) for each supply in the printer. It is only available when the driver provides supply levels. The color is either 'none' or one or more hex-encoded sRGB colors of the form '#RRGGBB'.

+ +

marker-high-levels (1setof integer(0:100))CUPS 1.4/macOS 10.6

+ +

The "marker-high-levels" status attribute specifies the supply levels that indicate a near-full condition. A value of 100 should be used for supplies that are consumed/emptied, e.g. ink cartridges.

+ +

marker-levels (1setof integer(-3:100))CUPS 1.3/macOS 10.5

+ +

The "marker-levels" status attribute specifies the current supply levels for the printer. It is only available when the driver provides supply levels. A value of -1 indicates the level is unavailable, -2 indicates unknown, and -3 indicates the level is unknown but has not yet reached capacity. Values from 0 to 100 indicate the corresponding percentage.

+ +

marker-low-levels (1setof integer(0:100))CUPS 1.4/macOS 10.6

+ +

The "marker-low-levels" status attribute specifies the supply levels that indicate a near-empty condition. A value of 0 should be used for supplies that are filled, e.g. waste ink tanks.

+ +

marker-message (text(MAX))CUPS 1.4/macOS 10.6

+ +

The "marker-message" status attribute provides a human-readable status message for the current supply levels, e.g. "12 pages of ink remaining." It is only available when the driver provides supply levels.

+ +

marker-names (1setof name(MAX))CUPS 1.3/macOS 10.5

+ +

The "marker-names" status attribute specifies the name(s) for each supply in the printer. It is only available when the driver provides supply levels.

+ +

marker-types (1setof type3 keyword)CUPS 1.3/macOS 10.5

+ +

The "marker-types" status attribute specifies the type(s) of each supply in the printer. It is only available when the driver provides supply levels. The following (RFC 3805) types are currently supported:

+ +
    + +
  • 'toner'
  • + +
  • 'waste-toner'
  • + +
  • 'ink'
  • + +
  • 'ink-cartridge'
  • + +
  • 'ink-ribbon'
  • + +
  • 'waste-ink'
  • + +
  • 'opc'
  • + +
  • 'developer'
  • + +
  • 'fuser-oil'
  • + +
  • 'solid-wax'
  • + +
  • 'ribbon-wax'
  • + +
  • 'waste-wax'
  • + +
  • 'fuser'
  • + +
  • 'corona-wire'
  • + +
  • 'fuser-oil-wick'
  • + +
  • 'cleaner-unit'
  • + +
  • 'fuser-cleaning-pad'
  • + +
  • 'transfer-unit'
  • + +
  • 'toner-cartridge'
  • + +
  • 'fuser-oiler'
  • + +
  • 'water'
  • + +
  • 'waste-water'
  • + +
  • 'binding-supply'
  • + +
  • 'banding-supply'
  • + +
  • 'stiching-wire'
  • + +
  • 'shrink-wrap'
  • + +
  • 'paper-wrap'
  • + +
  • 'staples'
  • + +
  • 'inserts'
  • + +
  • 'covers'
  • + +
+ +

port-monitor" (name(127))Deprecated

+ +

The "port-monitor" attribute specifies the port monitor to use when printing to this printer. The default port monitor is 'none'. + +

port-monitor-supported" (1setOf name(127))Deprecated

+ +

The "port-monitor-supported" attribute specifies the available port monitors. + +

printer-commands (1setOf Type3 keyword)Deprecated

+ +

The "printer-commands" attribute specifies the commands that are supported by the CUPS command file filter. The keyword 'none' indicates that no commands are supported.

+ +

printer-dns-sd-name (name(MAX) | noValue)CUPS 1.4/macOS 10.6

+ +

The "printer-dns-sd-name" attribute specifies the registered DNS-SD service name for the printer. If the printer is not being shared using this protocol, "printer-dns-sd-name" will have the no-value value.

+ +

printer-id (integer(0:65535)CUPS 2.2

+ +

The "printer-id" status attribute provides a unique integer identifying the printer. It is used when only an IP address and integer are provided for identifying a print queue.

+ +

printer-type (type2 enum)

+ +

The "printer-type" status attribute specifies printer type and capability bits for the printer or class. The default value is computed from internal state information and the PPD file for the printer. The following bits are defined:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BitDescription
0x00000001Is a printer class.
0x00000002Is a remote destination.
0x00000004Can print in black.
0x00000008Can print in color.
0x00000010Can print on both sides of the page in hardware.
0x00000020Can staple output.
0x00000040Can do fast copies in hardware.
0x00000080Can do fast copy collation in hardware.
0x00000100Can punch output.
0x00000200Can cover output.
0x00000400Can bind output.
0x00000800Can sort output.
0x00001000Can handle media up to US-Legal/A4.
0x00002000Can handle media from US-Legal/A4 to ISO-C/A2.
0x00004000Can handle media larger than ISO-C/A2.
0x00008000Can handle user-defined media sizes.
0x00010000Is an implicit (server-generated) class.
0x00020000Is the a default printer on the network.
0x00040000Is a facsimile device.
0x00080000Is rejecting jobs.
0x00100000Delete this queue.
0x00200000Queue is not shared.
0x00400000Queue requires authentication.
0x00800000Queue supports CUPS command files.
0x01000000Queue was automatically discovered and added.
0x02000000Queue is a scanner with no printing capabilities.
0x04000000Queue is a printer with scanning capabilities.
0x08000000Queue is a printer with 3D capabilities.
+ +

printer-type-mask (type2 enum)CUPS 1.1

+ +

The "printer-type-mask" attribute is used to choose printers or classes with the CUPS-Get-Printers and CUPS-Get-Classes operations. The bits are defined identically to the printer-type attribute and default to all 1's. + +

requesting-user-name-allowed (1setof name(127))CUPS 1.1

+ +

The "requesting-user-name-allowed" attribute lists all of the users that are allowed to access a printer or class. Either this attribute or the "requesting-user-name-denied" attribute will be defined, but not both. + +

requesting-user-name-denied (1setof name(127))CUPS 1.1

+ +

The "requesting-user-name-denied" attribute lists all of the users that are not allowed to access a printer or class. Either this attribute or the "requesting-user-name-allowed" attribute will be defined, but not both. + +

Printer Class Attributes

+ +

Printer class attributes are placed in the printer-attributes-tag group.

+ +

member-names (1setof name(127))

+ +

The "member-names" attribute specifies the "printer-name" attributes for each the member printer and class. Each name corresponds to the same element of the "member-uris" attribute. + +

member-uris (1setof uri)

+ +

The "member-uris" attribute specifies the "printer-uri-supported" values for each member printer and class. Each URI corresponds to the same element of the "member-names" attribute. + + + diff --git a/doc/help/spec-ppd.html b/doc/help/spec-ppd.html new file mode 100644 index 0000000..ee383fb --- /dev/null +++ b/doc/help/spec-ppd.html @@ -0,0 +1,2673 @@ + + + + + CUPS PPD Extensions + + + + + + + + + + + +

CUPS PPD Extensions

+ +

This specification describes the attributes and extensions that CUPS adds to Adobe TechNote #5003: PostScript Printer Description File Format Specification Version 4.3. PostScript Printer Description ("PPD") files describe the capabilities of each printer and are used by CUPS to support printer-specific features and intelligent filtering.

+ + + +
+

PPD File Syntax

+ +

The PPD format is text-based and uses lines of up to 255 characters terminated by a carriage return, linefeed, or combination of carriage return and line feed. The following ABNF definition [RFC5234] defines the general format of lines in a PPD file:

+ +
+PPD-FILE = HEADER +(DATA / COMMENT / LINE-END)
+
+HEADER   = "*PPD-Adobe:" *WSP DQUOTE VERSION DQUOTE LINE-END
+
+VERSION  = "4.0" / "4.1" / "4.2" / "4.3"
+
+COMMENT  = "*%" *TCHAR LINE-END
+
+DATA     = "*" 1*KCHAR [ WSP 1*KCHAR [ "/" 1*TCHAR ] ] ":"
+           1*(*WSP VALUE) LINE-END
+
+VALUE    = 1*TCHAR / DQUOTE 1*SCHAR DQUOTE
+
+KCHAR    = ALPHA / DIGIT / "_" / "." / "-"
+
+SCHAR    = LINE-END / WSP / %x21.23-7E.A0-FF
+
+TCHAR    = %x20-7E.A0-FF
+
+LINE-END = CR / LF / CR LF
+
+ + +

Auto-Configuration

+ +

CUPS supports several methods of auto-configuration via PPD keywords.

+ + +

macOS 10.5APAutoSetupTool

+ +

*APAutoSetupTool: "/LibraryPrinters/vendor/filename"

+ +

This macOS keyword defines a program that sets the default option choices. It is run when a printer is added from the Add Printer window or the Nearby Printers list in the Print dialog.

+ +

The program is provided with two arguments: the printer's device URI and the PPD file to be used for the printer. The program must write an updated PPD file to stdout.

+ +

Examples:

+ +
+*% Use our setup tool when adding a printer
+*APAutoSetupTool: "/Library/Printers/vendor/Tools/autosetuptool"
+
+ + +

macOS 10.2/CUPS 1.4?MainKeyword

+ +

*?MainKeyword: "
+ PostScript query code that writes a message using the = operator...
+"
+*End

+ +

The ?MainKeyword keyword defines PostScript code that determines the currently selected/enabled option keyword (choice) for the main keyword (option). It is typically used when communicating with USB, serial, Appletalk, and AppSocket (port 9100) printers.

+ +

The PostScript code typically sends its response back using the = operator.

+ +

Example:

+ +
+*OpenUI OptionDuplex/Duplexer Installed: Boolean
+*DuplexOptionDuplex: False
+*OptionDuplex False/Not Installed: ""
+*OptionDuplex True/Installed: ""
+
+*% Query the printer for the presence of the duplexer option...
+*?OptionDuplex: "
+  currentpagedevice /Duplex known
+  {(True)} {(False)} ifelse
+  = flush
+"
+*End
+*CloseUI: OptionDuplex
+
+ + +

macOS 10.4/CUPS 1.5OIDMainKeyword

+ +

*?OIDMainKeyword: ".n.n.n..."
+*OIDMainKeyword OptionKeyword1: "value"
+...
+*OIDMainKeyword OptionKeywordN: "value"

+ +

The OIDMainKeyword keyword is used to define SNMP OIDs that map to installable options. The first (query) line defines the OID to lookup on the network device. The second and subsequent keywords define a mapping from OID value to option keyword. Since SNMP is an IP-based network protocol, this method is typically only used to configure AppSocket, IPP, and LPD network printers.

+ +

Examples:

+ +
+*% Get the installed memory on the printer...
+*?OIDInstalledMemory: ".1.3.6.1.2.1.25.2.2.0"
+*OIDInstalledMemory 16MB: "16384 KBytes"
+*OIDInstalledMemory 32MB: "32768 KBytes"
+*OIDInstalledMemory 48MB: "49152 KBytes"
+*OIDInstalledMemory 72MB: "73728 KBytes"
+
+ + +

Color Profiles

+ +

CUPS supports three types of color profiles. The first type is based on sRGB and is used by the standard CUPS raster filters and GPL Ghostscript. The second type is based on ICC profiles and is used by the Quartz-based filters on macOS. The final type is based on well-known colorspaces such as sRGB and Adobe RGB.

+ +
Note: + +

At this time, none of the CUPS raster filters support ICC profiles. This will be addressed as time and resources permit.

+ +
+ + +

DeprecatedcupsColorProfile

+ +

*cupsColorProfile Resolution/MediaType: "density gamma m00 m01 m02 m10 m11 m12 m20 m21 m22"

+ +

This string keyword specifies an sRGB-based color profile consisting of gamma and density controls and a 3x3 CMY color transform matrix. This keyword is not supported on macOS.

+ +

The Resolution and MediaType values may be "-" to act as a wildcard. Otherwise they must match one of the Resolution or MediaType option keywords defined in the PPD file.

+ +

The density and gamma values define gamma and +density adjustment function such that:

+ +
+f(x) = density * x gamma
+
+ +

The m00 through m22 values define a 3x3 transformation matrix for the CMY color values. The density function is applied after the CMY transformation:

+ +
+| m00 m01 m02 |
+| m10 m11 m12 |
+| m20 m21 m22 |
+
+ +

Examples:

+ +
+*% Specify a profile for printing at 360dpi on all media types
+*cupsColorProfile 360dpi/-: "1.0 1.5 1.0 0.0 -0.2 -0.4 1.0 0.0 -0.2 0.0 1.0"
+
+*% Specify a profile for printing at 720dpi on Glossy media
+*cupsColorProfile 720dpi/Glossy: "1.0 2.5 1.0 0.0 -0.2 -0.4 1.0 0.0 -0.2 0.0 1.0"
+
+*% Specify a default profile for printing at all other resolutions and media types
+*cupsColorProfile -/-: "0.9 2.0 1.0 0.0 -0.2 -0.4 1.0 0.0 -0.2 0.0 1.0"
+
+ + +

macOS 10.3/CUPS 1.2cupsICCProfile

+ +

*cupsICCProfile ColorModel.MediaType.Resolution/Description: "filename"

+ +

This keyword specifies an ICC color profile that is used to convert the document colors to the device colorspace. The ColorModel, MediaType, and Resolution option keywords specify a selector for color profiles. If omitted, the color profile will match any option keyword for the corresponding main keyword.

+ +

The Description specifies human-readable text that is associated with the color profile. The filename portion specifies the ICC color profile to use; if the filename is not absolute, it is loaded relative to the /usr/share/cups/profiles directory.

+ +

Examples:

+ +
+*% Specify a profile for CMYK printing at 360dpi on all media types
+*cupsICCProfile CMYK..360dpi/360dpi CMYK: "/Library/Printers/vendor/Profiles/foo-360-cmyk.icc"
+
+*% Specify a profile for RGB printing at 720dpi on Glossy media
+*cupsColorProfile RGB.Glossy.720dpi/720dpi Glossy: "/Library/Printers/vendor/Profiles/foo-720-glossy-rgb.icc"
+
+*% Specify a default profile for printing at all other resolutions and media types
+*cupsICCProfile ../Default: "/Library/Printers/vendor/Profiles/foo-default.icc"
+
+ +

Customizing the Profile Selection Keywords

+ +

The ColorModel, MediaType, and Resolution main keywords can be reassigned to different main keywords, allowing drivers to do color profile selection based on different parameters. The cupsICCQualifier1, cupsICCQualifier2, and cupsICCQualifier3 keywords define the mapping from selector to main keyword:

+ +
+*cupsICCQualifier1: MainKeyword1
+*cupsICCQualifier2: MainKeyword2
+*cupsICCQualifier3: MainKeyword3
+
+ +

The default mapping is as follows:

+ +
+*cupsICCQualifier1: ColorModel
+*cupsICCQualifier2: MediaType
+*cupsICCQualifier3: Resolution
+
+ + +

macOS 10.4Custom Color Matching Support

+ +

*APSupportsCustomColorMatching: true
+*APCustomColorMatchingName name/text: ""
+*APCustomColorMatchingProfile: profile
+*APDefaultCustomColorMatchingProfile: profile

+ +

These keywords tell the macOS raster filters that the printer driver provides its own custom color matching and that generic color profiles should be used when generating 1-, 3-, and 4-component raster data as requested by the driver. The APCustomColorMatchingProfile and APDefaultColorMatchingProfile keywords specify alternate color profiles (sRGB or AdobeRGB) to use for 3-color (RGB) raster data.

+ +
Note: + +

Prior to macOS 10.6, the default RGB color space was Apple's "GenericRGB". The new default in macOS 10.6 and later is "sRGB". For more information, see "macOS v10.6: About gamma 2.2" on Apple's support site.

+ +
+ +

macOS 10.5APCustomColorMatchingName

+ +

*APCustomColorMatchingName name/text: ""

+ +

This keyword defines an alternate name for the color matching provided by a driver in the Color Matching print panel. The default is to use the name "Vendor Matching" or its localized equivalent.

+ +

Examples:

+ +
+*% Define the names for our color matching...
+*APCustomColorMatchingName name/AcmeColor(tm): ""
+*fr.APCustomColorMatchingName name/La AcmeColor(tm): ""
+
+ +

macOS 10.5APCustomColorMatchingProfile

+ +

*APCustomColorMatchingProfile: name

+ +

This keyword defines a supported RGB color profile that can be used when doing custom color matching. Currently only sRGB, AdobeRGB, and GenericRGB are supported. If not specified, RGB data will use the GenericRGB colorspace.

+ +
Note: + +

If you provide multiple APCustomColorMatchingProfile keywords, you are responsible for providing the necessary user interface controls to select the profile in a print dialog pane. Add the named profile to the print settings using the key kPMCustomColorMatchingProfileKey.

+ +
+ +

Examples:

+ +
+*% Use sRGB for RGB color by default, but support both sRGB and AdobeRGB
+*APSupportsCustomColorMatching: true
+*APDefaultCustomColorMatchingProfile: sRGB
+*APCustomColorMatchingProfile: sRGB
+*APCustomColorMatchingProfile: AdobeRGB
+
+ +

macOS 10.5APDefaultCustomColorMatchingProfile

+ +

*APDefaultCustomColorMatchingProfile: name

+ +

This keyword defines the default RGB color profile that will be used when doing custom color matching. Currently only sRGB, AdobeRGB, and GenericRGB are supported.

+ +

Examples:

+ +
+*% Use sRGB for RGB color by default
+*APSupportsCustomColorMatching: true
+*APDefaultCustomColorMatchingProfile: sRGB
+
+ +

macOS 10.4APSupportsCustomColorMatching

+ +

*APSupportsCustomColorMatching: boolean

+ +

This keyword specifies that the driver provides its own custom color matching. When true, the default hand-off colorspace will be GenericGray, GenericRGB, or GenericCMYK depending on the number of components the driver requests. The APDefaultCustomColorMatchingProfile keyword can be used to override the default 3-component (RGB) colorspace.

+ +

The default for APSupportsCustomColorMatching is false.

+ +

Examples:

+ +
+*APSupportsCustomColorMatching: true
+*APDefaultCustomColorMatchingProfile: sRGB
+
+ + +

Constraints

+ +

Constraints are option choices that are not allowed by the driver or device, for example printing 2-sided transparencies. All versions of CUPS support constraints defined by the legacy Adobe UIConstraints and NonUIConstraints keywords which support conflicts between any two option choices, for example:

+ +
+*% Do not allow 2-sided printing on transparency media
+*UIConstraints: "*Duplex *MediaType Transparency"
+*UIConstraints: "*MediaType Transparency *Duplex"
+
+ +

While nearly all constraints can be expressed using these keywords, there are valid scenarios requiring constraints between more than two option choices. In addition, resolution of constraints is problematic since users and software have to guess how a particular constraint is best resolved.

+ +

CUPS 1.4 and higher define two new keywords for constraints, cupsUIConstraints and cupsUIResolver. Each cupsUIConstraints keyword points to a cupsUIResolver keyword which specifies alternate options that resolve the conflict condition. The same cupsUIResolver can be used by multiple cupsUIConstraints.

+ +
Note: + +

When developing PPD files that contain constraints, it is very important to use the cupstestppd(1) program to verify that your constraints are accurate and cannot result in unresolvable option selections.

+ +
+ + +

CUPS 1.4/macOS 10.6cupsUIConstraints

+ +

*cupsUIConstraints resolver: "*Keyword1 *Keyword2 ..."
+*cupsUIConstraints resolver: "*Keyword1 OptionKeyword1 *Keyword2 ..."
+*cupsUIConstraints resolver: "*Keyword1 *Keyword2 OptionKeyword2 ..."
+*cupsUIConstraints resolver: "*Keyword1 OptionKeyword1 *Keyword2 OptionKeyword2 ..."
+*cupsUIConstraints: "*InstallableKeyword1 OptionKeyword1 *Keyword2 OptionKeyword2 ..."

+ +

Lists two or more options which conflict. The "resolver" string is a (possibly unique) keyword which specifies which options to change when the constraint exists. When no resolver is provided, CUPS first tries the default choice followed by testing each option choice to resolve the conflict.

+ +

Examples:

+ +
+*% Specify that 2-sided printing cannot happen on transparencies
+*cupsUIConstraints transparency: "*Duplex *MediaType Transparency"
+
+*% Specify that envelope printing cannot happen from the paper trays
+*cupsUIConstraints envelope: "*PageSize Env10 *InputSlot Tray1"
+*cupsUIConstraints envelope: "*PageSize Env10 *InputSlot Tray1"
+*cupsUIConstraints envelope: "*PageSize EnvDL *InputSlot Tray2"
+*cupsUIConstraints envelope: "*PageSize EnvDL *InputSlot Tray2"
+
+*% Specify an installable option constraint for the envelope feeder
+*cupsUIConstraints: "*InputSlot EnvFeeder *InstalledEnvFeeder"
+
+*% Specify that photo printing cannot happen on plain paper or transparencies at 1200dpi
+*cupsUIConstraints photo: "*OutputMode Photo *MediaType Plain *Resolution 1200dpi"
+*cupsUIConstraints photo: "*OutputMode Photo *MediaType Transparency *Resolution 1200dpi"
+
+ + +

CUPS 1.4/macOS 10.6cupsUIResolver

+ +

*cupsUIResolver resolver: "*Keyword1 OptionKeyword1 *Keyword2 OptionKeyword2 ..."

+ +

Specifies two or more options to mark/select to resolve a constraint. The "resolver" string identifies a particular action to take for one or more cupsUIConstraints. The same action can be used for multiple constraints. The option keyword pairs are treated as an ordered list of option selections to try - only the first N selections will be used, where N is the minimum number of selections required. Because cupsResolveConflicts() will not change the most recent option selection passed to it, at least two options from the constraints must be listed to avoid situations where conflicts cannot be resolved.

+ +

Examples:

+ +
+*% Specify the options to change for the 2-sided transparency constraint
+*cupsUIResolver transparency: "*Duplex None *MediaType Plain"
+
+*% Specify the options to change for the envelope printing constraints.  Notice
+*% that we try to change the InputSlot to either the envelope feeder or the
+*% manual feed first, then we change the page size...
+*cupsUIResolver envelope: "*InputSlot EnvFeeder *InputSlot ManualFeed *PageSize Letter"
+
+*% Specify the options to change for the photo printing constraints
+*cupsUIResolver photo: "*OutputMode Best *Resolution 600dpi"
+
+ + +

Globalized PPD Support

+ +

CUPS 1.2 and higher adds support for PPD files containing multiple languages by following the following additional rules:

+ +
    + +
  1. The LanguageVersion MUST be English
  2. + +
  3. The LanguageEncoding MUST be ISOLatin1
  4. + +
  5. The cupsLanguages keyword MUST be provided and list each of the supported locales in the PPD file
  6. + +
  7. Main and option keywords MUST NOT exceed 34 (instead of 40) characters to allow room for the locale prefixes in translation keywords
  8. + +
  9. The main keyword "Translation" MUST NOT be used
  10. + +
  11. Translation strings included with the main and option keywords MUST NOT contain characters outside the ASCII subset of ISOLatin1 and UTF-8; developers wishing to use characters outside ASCII MUST provide a separate set of English localization keywords for the affected keywords.
  12. + +
  13. Localizations are specified using a locale prefix of the form "ll" or "ll_CC." where "ll" is the 2-letter ISO language code and "CC" is the 2-letter ISO country code
      +
    • A generic language translation ("ll") SHOULD be provided with country-specific differences ("ll_CC") provided only as needed
    • +
    • For historical reasons, the "zh" and "zh_CN" locales map to Simplified Chinese while the "zh_TW" locale maps to Traditional Chinese
    • +
  14. + +
  15. Locale-specific translation strings MUST be encoded using UTF-8.
  16. + +
  17. Main keywords MUST be localized using one of the following forms: +

    *ll.Translation MainKeyword/translation text: ""
    + *ll_CC.Translation MainKeyword/translation text: ""

  18. + +
  19. Option keywords MUST be localized using one of the following forms: +

    *ll.MainKeyword OptionKeyword/translation text: ""
    + *ll_CC.MainKeyword OptionKeyword/translation text: ""

  20. + +
  21. Localization keywords MAY appear anywhere after the first line of the PPD file
  22. + +
+ +
Note: + +

We use a LanguageEncoding value of ISOLatin1 and limit the allowed base translation strings to ASCII to avoid character coding issues that would otherwise occur. In addition, requiring the base translation strings to be in English allows for easier fallback translation when no localization is provided in the PPD file for a given locale.

+ +
+ +

Examples:

+ +
+*LanguageVersion: English
+*LanguageEncoding: ISOLatin1
+*cupsLanguages: "de fr_CA"
+*ModelName: "Foobar Laser 9999"
+
+*% Localize ModelName for French and German
+*fr_CA.Translation ModelName/La Foobar Laser 9999: ""
+*de.Translation ModelName/Foobar LaserDrucken 9999: ""
+
+*cupsIPPReason com.vendor-error/A serious error occurred: "/help/com.vendor/error.html"
+*% Localize printer-state-reason for French and German
+*fr_CA.cupsIPPReason com.vendor-error/Une erreur sèrieuse s'est produite: "/help/com.vendor/error.html"
+*de.cupsIPPReason com.vendor-error/Eine ernste Störung trat: "/help/com.vendor/error.html"
+
+...
+
+*OpenUI *InputSlot/Paper Source: PickOne
+*OrderDependency: 10 AnySetup *InputSlot
+*DefaultInputSlot: Auto
+*% Localize InputSlot for French and German
+*fr_CA.Translation InputSlot/Papier source: ""
+*de.Translation InputSlot/Papiereinzug: ""
+*InputSlot Auto/Default: "<</ManualFeed false>>setpagedevice"
+*% Localize InputSlot=Auto for French and German
+*fr_CA.InputSlot Auto/Par Defaut: ""
+*de.InputSlot Auto/Standard: ""
+*InputSlot Manual/Manual Feed: "<</ManualFeed true>>setpagedevice"
+*% Localize InputSlot=Manual for French and German
+*fr_CA.InputSlot Manual/Manuel mecanisme de alimentation: ""
+*de.InputSlot Manual/Manueller Einzug: ""
+*CloseUI: *InputSlot
+
+ + +

CUPS 1.3/macOS 10.6Custom Options

+ +

CUPS supports custom options using an extension of the CustomPageSize and ParamCustomPageSize syntax:

+ +
+*CustomFoo True: "command"
+*ParamCustomFoo Name1/Text 1: order type minimum maximum
+*ParamCustomFoo Name2/Text 2: order type minimum maximum
+...
+*ParamCustomFoo NameN/Text N: order type minimum maximum
+
+ +

When the base option is part of the JCLSetup section, the "command" string contains JCL commands with "\order" placeholders for each numbered parameter. The CUPS API handles any necessary value quoting for HP-PJL commands. For example, if the JCL command string is "@PJL SET PASSCODE=\1" and the first +option value is "1234" then CUPS will output the string "@PJL SET PASSCODE=1234".

+ +

For non-JCLSetup options, the "order" value is a number from 1 to N and specifies the order of values as they are placed on the stack before the command. For example, if the PostScript command string is "<</cupsReal1 2 1 roll>>setpagedevice" and the option value is "2.0" then CUPS will output the string "2.0 <</cupsReal1 2 1 roll>>setpagedevice".

+ +

The "type" is one of the following keywords:

+ +
    + +
  • curve - a real value from "minimum" to "maximum" representing a gamma correction curve using the function: f(x) = x value
  • + +
  • int - an integer value from "minimum" to "maximum"
  • + +
  • invcurve - a real value from "minimum" to "maximum" representing a gamma correction curve using the function: f(x) = x 1 / value
  • + +
  • passcode - a string of numbers value with a minimum of "minimum" numbers and a maximum of "maximum" numbers ("minimum" and "maximum" are numbers and passcode strings are not displayed in the user interface)
  • + +
  • password - a string value with a minimum of "minimum" characters and a maximum of "maximum" characters ("minimum" and "maximum" are numbers and password strings are not displayed in the user interface)
  • + +
  • points - a measurement value in points from "minimum" to "maximum"
  • + +
  • real - a real value from "minimum" to "maximum"
  • + +
  • string - a string value with a minimum of "minimum" characters and a maximum of "maximum" characters ("minimum" and "maximum" are numbers)
  • + +
+ +

Examples:

+ +
+*% Base JCL key code option
+*JCLOpenUI JCLPasscode/Key Code: PickOne
+*OrderDependency: 10 JCLSetup *JCLPasscode
+*DefaultJCLPasscode: None
+*JCLPasscode None/No Code: ""
+*JCLPasscode 1111: "@PJL SET PASSCODE = 1111<0A>"
+*JCLPasscode 2222: "@PJL SET PASSCODE = 2222<0A>"
+*JCLPasscode 3333: "@PJL SET PASSCODE = 3333<0A>"
+*JCLCloseUI: *JCLPasscode
+
+*% Custom JCL key code option
+*CustomJCLPasscode True: "@PJL SET PASSCODE = \1<0A>"
+*ParamCustomJCLPasscode Code/Key Code: 1 passcode 4 4
+
+
+*% Base PostScript watermark option
+*OpenUI WatermarkText/Watermark Text: PickOne
+*OrderDependency: 10 AnySetup *WatermarkText
+*DefaultWatermarkText: None
+*WatermarkText None: ""
+*WatermarkText Draft: "<</cupsString1(Draft)>>setpagedevice"
+*CloseUI: *WatermarkText
+
+*% Custom PostScript watermark option
+*CustomWatermarkText True: "<</cupsString1 3 -1 roll>>setpagedevice"
+*ParamCustomWatermarkText Text: 1 string 0 32
+
+
+*% Base PostScript gamma/density option
+*OpenUI GammaDensity/Gamma and Density: PickOne
+*OrderDependency: 10 AnySetup *GammaDensity
+*DefaultGammaDensity: Normal
+*GammaDensity Normal/Normal: "<</cupsReal1 1.0/cupsReal2 1.0>>setpagedevice"
+*GammaDensity Light/Lighter: "<</cupsReal1 0.9/cupsReal2 0.67>>setpagedevice"
+*GammaDensity Dark/Darker: "<</cupsReal1 1.1/cupsReal2 1.5>>setpagedevice"
+*CloseUI: *GammaDensity
+
+*% Custom PostScript gamma/density option
+*CustomGammaDensity True: "<</cupsReal1 3 -1 roll/cupsReal2 5 -1>>setpagedevice"
+*ParamCustomGammaDensity Gamma: 1 curve 0.1 10
+*ParamCustomGammaDensity Density: 2 real 0 2
+
+ + +

Writing PostScript Option Commands for Raster Drivers

+ +

PPD files are used for both PostScript and non-PostScript printers. For CUPS raster drivers, you use a subset of the PostScript language to set page device keywords such as page size, resolution, and so forth. For example, the following code sets the page size to A4 size:

+ +
+*PageSize A4: "<</PageSize[595 842]>>setpagedevice"
+
+ +

Custom options typically use other operators to organize the values into a key/value dictionary for setpagedevice. For example, our previous CustomWatermarkText option code uses the roll operator to move the custom string value into the dictionary for setpagedevice:

+ +
+*CustomWatermarkText True: "<</cupsString1 3 -1 roll>>setpagedevice"
+
+ +

For a custom string value of "My Watermark", CUPS will produce the following PostScript code for the option:

+ +
+(My Watermark)
+<</cupsString1 3 -1 roll>>setpagedevice
+
+ +

The code moves the string value ("My Watermark") from the bottom of the stack to the top, creating a dictionary that looks like:

+ +
+<</cupsString1(My Watermark)>>setpagedevice
+
+ +

The resulting dictionary sets the page device attributes that are sent to your raster driver in the page header.

+ + +

Custom Page Size Code

+ +

There are many possible implementations of the CustomPageSize code. For CUPS raster drivers, the following code is recommended:

+ +
+*ParamCustomPageSize Width:        1 points min-width max-width
+*ParamCustomPageSize Height:       2 points min-height max-height
+*ParamCustomPageSize WidthOffset:  3 points 0 0
+*ParamCustomPageSize HeightOffset: 4 points 0 0
+*ParamCustomPageSize Orientation:  5 int 0 0
+*CustomPageSize True: "pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice"
+
+ + +

Supported PostScript Operators

+ +

CUPS supports the following PostScript operators in addition to the usual PostScript number, string (literal and hex-encoded), boolean, null, and name values:

+ +
    + +
  • << - Start a dictionary.
  • + +
  • >> - End a dictionary.
  • + +
  • [ - Start an array.
  • + +
  • ] - End an array.
  • + +
  • copy - Copy the top N objects on the stack.
  • + +
  • dup - Copy the top object on the stack.
  • + +
  • index - Copy the Nth from the top object on the stack.
  • + +
  • pop - Pop the top object on the stack.
  • + +
  • roll - Shift the top N objects on the stack.
  • + +
  • setpagedevice - Set the page header values according to the key/value dictionary on the stack.
  • + +
+ +
Note: + +

Never use the unsupported dict or put +operators in your option code. These operators are typically used in +option code dating back to Level 1 PostScript printers, which did not +support the simpler << or >> operators. +If you have old option code using dict or put, you can +rewrite it very easily to use the newer << and +>> operators instead. For example, the following code +to set the page size:

+ + + +
+1 dict dup /PageSize [612 792] put setpagedevice
+
+ +

can be rewritten as:

+ +
+<< /PageSize [612 792] >> setpagedevice
+
+ +
+ + +

Supported Page Device Attributes

+ +

Table 2 shows the supported page device attributes along with PostScript code examples.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2: Supported Page Device Attributes
Name(s)TypeDescriptionExample(s)
AdvanceDistanceIntegerSpecifies the number of points to advance roll media after printing.<</AdvanceDistance 18>>setpagedevice
AdvanceMediaIntegerSpecifies when to advance the media: 0 = never, 1 = after the file, 2 = after the job, 3 = after the set, and 4 = after the page.<</AdvanceMedia 4>>setpagedevice
CollateBooleanSpecifies whether collated copies are required.<</Collate true>>setpagedevice
CutMediaIntegerSpecifies when to cut the media: 0 = never, 1 = after the file, 2 = after the job, 3 = after the set, and 4 = after the page.<</CutMedia 1>>setpagedevice
DuplexBooleanSpecifies whether 2-sided printing is required.<</Duplex true>>setpagedevice
HWResolutionInteger ArraySpecifies the resolution of the page image in pixels per inch.<</HWResolution[1200 1200]>>setpagedevice
InsertSheetBooleanSpecifies whether to insert a blank sheet before the job.<</InsertSheet true>>setpagedevice
JogIntegerSpecifies when to shift the media in the output bin: 0 = never, 1 = after the file, 2 = after the job, 3 = after the set, and 4 = after the page.<</Jog 2>>setpagedevice
LeadingEdgeIntegerSpecifies the leading edge of the media: 0 = top, 1 = right, 2 = bottom, 3 = left.<</LeadingEdge 0>>setpagedevice
ManualFeedBooleanSpecifies whether media should be drawn from the manual feed tray. Note: The MediaPosition attribute is preferred over the ManualFeed attribute.<</ManualFeed true>>setpagedevice
MediaClassStringSpecifies a named media.<</MediaClass (Invoices)>>setpagedevice
MediaColorStringSpecifies the color of the media.<</MediaColor >>setpagedevice
MediaPositionIntegerSpecifies the tray or source of the media.<</MediaPosition 12>>setpagedevice
MediaTypeStringSpecifies the general media type.<</MediaType (Glossy)>>setpagedevice
MediaWeightIntegerSpecifies the media weight in grams per meter2.<</MediaWeight 100>>setpagedevice
MirrorPrintBooleanSpecifies whether to flip the output image horizontally.<</MirrorPrint true>>setpagedevice
NegativePrintBooleanSpecifies whether to invert the output image.<</NegativePrint true>>setpagedevice
NumCopiesIntegerSpecifies the number of copies to produce of each page.<</NumCopies 100>>setpagedevice
OrientationIntegerSpecifies the orientation of the output: 0 = portrait, 1 = landscape rotated counter-clockwise, 2 = upside-down, 3 = landscape rotated clockwise.<</Orientation 3>>setpagedevice
OutputFaceUpBooleanSpecifies whether to place the media face-up in the output bin/tray.<</OutputFaceUp true>>setpagedevice
OutputTypeStringSpecifies the output type name.<</OutputType (Photo)>>setpagedevice
PageSizeInteger/Real ArraySpecifies the width and length/height of the page in points.<</PageSize[595 842]>>setpagedevice
SeparationsBooleanSpecifies whether to produce color separations.<</Separations true>>setpagedevice
TraySwitchBooleanSpecifies whether to switch trays automatically.<</TraySwitch true>>setpagedevice
TumbleBooleanSpecifies whether the back sides of pages are rotated 180 degrees.<</Tumble true>>setpagedevice
cupsBorderlessScalingFactorRealSpecifies the amount to scale the page image dimensions.<</cupsBorderlessScalingFactor 1.01>>setpagedevice
cupsColorOrderIntegerSpecifies the order of colors: 0 = chunked, 1 = banded, 2 = planar.<</cupsColorOrder 0>>setpagedevice
cupsColorSpaceIntegerSpecifies the page image colorspace: 0 = W, 1 = RGB, 2 = RGBA, 3 = K, 4 = CMY, 5 = YMC, 6 = CMYK, 7 = YMCK, 8 = KCMY, 9 = KCMYcm, 10 = GMCK, 11 = GMCS, 12 = White, 13 = Gold, 14 = Silver, 15 = CIE XYZ, 16 = CIE Lab, 17 = RGBW, 32 to 46 = CIE Lab (1 to 15 inks)<</cupsColorSpace 1 >>setpagedevice
cupsCompressionIntegerSpecifies a driver compression type/mode.<</cupsCompression 2>>setpagedevice
cupsInteger0
+ ...
+ cupsInteger15
IntegerSpecifies driver integer values.<</cupsInteger11 1234>>setpagedevice
cupsMarkerTypeStringSpecifies the type of ink/toner to use.<</cupsMarkerType (Black+Color)>>setpagedevice
cupsMediaTypeIntegerSpecifies a numeric media type.<</cupsMediaType 999>>setpagedevice
cupsPageSizeNameStringSpecifies the name of the page size.<</cupsPageSizeName (A4.Full)>>setpagedevice
cupsPreferredBitsPerColorIntegerSpecifies the preferred number of bits per color, typically 8 or 16.<</cupsPreferredBitsPerColor 16>>setpagedevice
cupsReal0
+ ...
+ cupsReal15
RealSpecifies driver real number values.<</cupsReal15 1.234>>setpagedevice
cupsRenderingIntentStringSpecifies the color rendering intent.<</cupsRenderingIntent (AbsoluteColorimetric)>>setpagedevice
cupsRowCountIntegerSpecifies the number of rows of raster data to print on each line for some drivers.<</cupsRowCount 24>>setpagedevice
cupsRowFeedIntegerSpecifies the number of rows to feed between passes for some drivers.<</cupsRowFeed 17>>setpagedevice
cupsRowStepIntegerSpecifies the number of lines between columns/rows on the print head for some drivers.<</cupsRowStep 2>>setpagedevice
cupsString0
+ ...
+ cupsString15
StringSpecifies driver string values.<</cupsString0(String Value)>>setpagedevice
+ + +

Media Keywords

+ +

The CUPS media keywords allow drivers to specify alternate custom page +size limits based on up to two options.

+ + +

CUPS 1.4/macOS 10.6cupsMediaQualifier2

+ +

*cupsMediaQualifier2: MainKeyword

+ +

This keyword specifies the second option to use for overriding the +custom page size limits.

+ +

Example:

+ +
+*% Specify alternate custom page size limits based on InputSlot and Quality
+*cupsMediaQualifier2: InputSlot
+*cupsMediaQualifier3: Quality
+*cupsMaxSize .Manual.: "1000 1000"
+*cupsMinSize .Manual.: "100 100"
+*cupsMinSize .Manual.Photo: "200 200"
+*cupsMinSize ..Photo: "300 300"
+
+ + +

CUPS 1.4/macOS 10.6cupsMediaQualifier3

+ +

*cupsMediaQualifier3: MainKeyword

+ +

This keyword specifies the third option to use for overriding the +custom page size limits.

+ +

Example:

+ +
+*% Specify alternate custom page size limits based on InputSlot and Quality
+*cupsMediaQualifier2: InputSlot
+*cupsMediaQualifier3: Quality
+*cupsMaxSize .Manual.: "1000 1000"
+*cupsMinSize .Manual.: "100 100"
+*cupsMinSize .Manual.Photo: "200 200"
+*cupsMinSize ..Photo: "300 300"
+
+ + +

CUPS 1.4/macOS 10.6cupsMinSize

+ +

*cupsMinSize .Qualifier2.Qualifier3: "width length"
+*cupsMinSize .Qualifier2.: "width length"
+*cupsMinSize ..Qualifier3: "width length"

+ +

This keyword specifies alternate minimum custom page sizes in points. +The cupsMediaQualifier2 and +cupsMediaQualifier3 keywords +are used to identify options to use for matching.

+ +

Example:

+ +
+*% Specify alternate custom page size limits based on InputSlot and Quality
+*cupsMediaQualifier2: InputSlot
+*cupsMediaQualifier3: Quality
+*cupsMaxSize .Manual.: "1000 1000"
+*cupsMinSize .Manual.: "100 100"
+*cupsMinSize .Manual.Photo: "200 200"
+*cupsMinSize ..Photo: "300 300"
+
+ + +

CUPS 1.4/macOS 10.6cupsMaxSize

+ +

*cupsMaxSize .Qualifier2.Qualifier3: "width length"
+*cupsMaxSize .Qualifier2.: "width length"
+*cupsMaxSize ..Qualifier3: "width length"

+ +

This keyword specifies alternate maximum custom page sizes in points. +The cupsMediaQualifier2 and +cupsMediaQualifier3 keywords +are used to identify options to use for matching.

+ +

Example:

+ +
+*% Specify alternate custom page size limits based on InputSlot and Quality
+*cupsMediaQualifier2: InputSlot
+*cupsMediaQualifier3: Quality
+*cupsMaxSize .Manual.: "1000 1000"
+*cupsMinSize .Manual.: "100 100"
+*cupsMinSize .Manual.Photo: "200 200"
+*cupsMinSize ..Photo: "300 300"
+
+ + +

CUPS 1.4/macOS 10.6cupsPageSizeCategory

+ +

*cupsPageSizeCategory name/text: "name name2 ... nameN"

+ +

This keyword lists related paper size names that should be grouped together in the Print or Page Setup dialogs. The "name" portion of the keyword specifies the root/default size for the grouping. On macOS the grouped paper sizes are shown in a submenu of the main paper size. When omitted, sizes with the same dimensions are automatically grouped together, for example "Letter" and "Letter.Borderless".

+ +

Example:

+ +
+*% Specify grouping of borderless/non-borderless sizes
+*cupsPageSizeCategory Letter/US Letter: "Letter Letter.Borderless"
+*cupsPageSizeCategory A4/A4: "A4 A4.Borderless"
+
+ + +

General Attributes

+ +

CUPS 1.3/macOS 10.5cupsBackSide

+ +

*cupsBackSide: keyword

+ +

This keyword requests special handling of the back side of pages +when doing duplexed (2-sided) output. Table 1 +shows the supported keyword values for this keyword and their effect +on the raster data sent to your driver. For example, when cupsBackSide +is Rotated and Tumble is false, your driver +will receive print data starting at the bottom right corner of the page, with +each line going right-to-left instead of left-to-right. The default value is +Normal.

+ +
Note: + +

cupsBackSide replaces the older cupsFlipDuplex +keyword - if cupsBackSide is specified, cupsFlipDuplex +will be ignored.

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1: Back Side Raster Coordinate System
cupsBackSideTumble ValueImage Presentation
NormalfalseLeft-to-right, top-to-bottom
NormaltrueLeft-to-right, top-to-bottom
ManualTumblefalseLeft-to-right, top-to-bottom
ManualTumbletrueRight-to-left, bottom-to-top
RotatedfalseRight-to-left, bottom-to-top
RotatedtrueRight-to-left, top-to-bottom
Flipped *falseLeft-to-right, bottom-to-top
Flipped *trueRight-to-left, top-to-bottom
+
+ +

* - Not supported in macOS 10.5.x and earlier

+ +
+ + +
Figure 1: Back side images
Back side images
+ +

Examples:

+ +
+*% Flip the page image for the back side of duplexed output
+*cupsBackSide: Flipped
+
+*% Rotate the page image for the back side of duplexed output
+*cupsBackSide: Rotated
+
+ +

Also see the related APDuplexRequiresFlippedMargin +keyword.

+ + +

CUPS 1.4/macOS 10.6cupsCommands

+ +

*cupsCommands: "name name2 ... nameN"

+ +

This string keyword specifies the commands that are supported by the +CUPS command file filter for this device. The command names are separated +by whitespace.

+ +

Example:

+ +
+*% Specify the list of commands we support
+*cupsCommands: "AutoConfigure Clean PrintSelfTestPage ReportLevels com.vendor.foo"
+
+ + +

CUPS 1.3/macOS 10.5cupsEvenDuplex

+ +

*cupsEvenDuplex: boolean

+ +

This boolean keyword notifies the RIP filters that the +destination printer requires an even number of pages when 2-sided +printing is selected. The default value is false.

+ +

Example:

+ +
+*% Always send an even number of pages when duplexing
+*cupsEvenDuplex: true
+
+ + +

cupsFax

+ +

*cupsFax: boolean

+ +

This boolean keyword specifies whether the PPD defines a facsimile device. The default is false.

+ +

Examples:

+ +
+*cupsFax: true
+
+ + +

cupsFilter

+ +

*cupsFilter: "source/type cost program"

+ +

This string keyword provides a conversion rule from the +given source type to the printer's native format using the +filter "program". If a printer supports the source type directly, +the special filter program "-" may be specified.

+ +

Examples:

+ +
+*% Standard raster printer driver filter
+*cupsFilter: "application/vnd.cups-raster 100 rastertofoo"
+
+*% Plain text filter
+*cupsFilter: "text/plain 10 texttofoo"
+
+*% Pass-through filter for PostScript printers
+*cupsFilter: "application/vnd.cups-postscript 0 -"
+
+ + +

CUPS 1.5cupsFilter2

+ +

*cupsFilter2: "source/type destination/type cost program"

+ +

This string keyword provides a conversion rule from the given source type to the printer's native format using the filter "program". If a printer supports the source type directly, the special filter program "-" may be specified. The destination type is automatically created as needed and is passed to the filters and backend as the FINAL_CONTENT_TYPE value.

+ +
Note: + +

The presence of a single cupsFilter2 keyword in the PPD file will hide any cupsFilter keywords from the CUPS scheduler. When using cupsFilter2 to provide filters specific for CUPS 1.5 and later, provide a cupsFilter2 line for every filter and a cupsFilter line for each filter that is compatible with older versions of CUPS.

+ +
+ +

Examples:

+ +
+*% Standard raster printer driver filter
+*cupsFilter2: "application/vnd.cups-raster application/vnd.foo 100 rastertofoo"
+
+*% Plain text filter
+*cupsFilter2: "text/plain application/vnd.foo 10 texttofoo"
+
+*% Pass-through filter for PostScript printers
+*cupsFilter2: "application/vnd.cups-postscript application/postscript 0 -"
+
+ + +

CUPS 2.3cupsFinishingTemplate

+ +

*cupsFinishingTemplate name/text: ""

+ +

This option keyword specifies a finishing template (preset) that applies zero or more finishing processes to a job. Unlike cupsIPPFinishings, only one template can be selected by the user. PPD files also generally apply a constraint between this option and other finishing options like Booklet, FoldType, PunchMedia, and StapleWhen.

+ +

Examples:

+ +
+*cupsFinishingTemplate none/None: ""
+*cupsFinishingTemplate fold/Letter Fold: ""
+*cupsFinishingTemplate punch/2/3-Hole Punch: ""
+*cupsFinishingTemplate staple/Corner Staple: ""
+*cupsFinishingTemplate staple-dual/Double Staple: ""
+*cupsFinishingTemplate staple-and-fold/Corner Staple and Letter Fold: ""
+*cupsFinishingTemplate staple-and-punch/Corner Staple and 2/3-Hole Punch: ""
+
+ + +

DeprecatedcupsFlipDuplex

+ +

*cupsFlipDuplex: boolean

+ +

Due to implementation differences between macOS and Ghostscript, +the cupsFlipDuplex keyword is deprecated. Instead, use +the cupsBackSide keyword to specify +the coordinate system (pixel layout) of the page data on the back side of +duplex pages.

+ +

The value true maps to a cupsBackSide value +of Rotated on macOS and Flipped with +Ghostscript.

+ +

The default value is false.

+ +
Note: + +

macOS drivers that previously used +cupsFlipDuplex may wish to provide both the old and +new keywords for maximum compatibility, for example:

+ +
+*cupsBackSide: Rotated
+*cupsFlipDuplex: true
+
+ +

Similarly, drivers written for other operating systems using +Ghostscript can use:

+ +
+*cupsBackSide: Flipped
+*cupsFlipDuplex: true
+
+ + +

CUPS 1.3/macOS 10.5cupsIPPFinishings

+ +

*cupsIPPFinishings number/text: "*Option Choice ..."

+ +

This keyword defines a mapping from IPP finishings +values to PPD options and choices.

+ +

Examples:

+ +
+*cupsIPPFinishings 4/staple: "*StapleLocation SinglePortrait"
+*cupsIPPFinishings 5/punch: "*PunchMedia Yes *PunchLocation LeftSide"
+*cupsIPPFinishings 20/staple-top-left: "*StapleLocation SinglePortrait"
+*cupsIPPFinishings 21/staple-bottom-left: "*StapleLocation SingleLandscape"
+
+ + +

CUPS 1.3/macOS 10.5cupsIPPReason

+ +

*cupsIPPReason reason/Reason Text: "optional URIs"

+ +

This optional keyword maps custom +printer-state-reasons keywords that are generated by +the driver to human readable text. The optional URIs string +contains zero or more URIs separated by a newline. Each URI can +be a CUPS server absolute path to a help file under the +scheduler's DocumentRoot directory, a full HTTP URL +("http://www.domain.com/path/to/help/page.html"), or any other +valid URI which directs the user at additional information +concerning the condition that is being reported.

+ +

Since the reason text is limited to 80 characters by the PPD specification, longer text strings can be included by URI-encoding the text with the "text" scheme, for example "text:some%20text". Multiple text URIs are combined by the ppdLocalizeIPPReason into a single string that can be displayed to the user.

+ +

Examples:

+ +
+*% Map com.vendor-error to text but no page
+*cupsIPPReason com.vendor-error/A serious error occurred: ""
+
+*% Map com.vendor-error to more than 80 characters of text but no page
+*cupsIPPReason com.vendor-error/A serious error occurred: "text:Now%20is%20the%20time
+text:for%20all%20good%20men%20to%20come%20to%20the%20aid%20of%20their%20country."
+
+*% Map com.vendor-error to text and a local page
+*cupsIPPReason com.vendor-error/A serious error occurred: "/help/com.vendor/error.html"
+
+*% Map com.vendor-error to text and a remote page
+*cupsIPPReason com.vendor-error/A serious error occurred: "http://www.vendor.com/help"
+
+*% Map com.vendor-error to text and a local, Apple help book, and remote page
+*APHelpBook: "file:///Library/Printers/vendor/Help.bundle"
+*cupsIPPReason com.vendor-error/A serious error occurred: "/help/com.vendor/error.html
+help:anchor='com.vendor-error'%20bookID=Vendor%20Help
+http://www.vendor.com/help"
+*End
+
+ + +

CUPS 1.5cupsIPPSupplies

+ +

*cupsIPPSupplies: boolean

+ +

This keyword tells the IPP backend whether it should report the current marker-xxx supply attribute values. The default value is True. + +

Example:

+ +
+*% Do not use IPP marker-xxx attributes to report supply levels
+*cupsIPPSupplies: False
+
+ + +

CUPS 1.7/macOS 10.9cupsJobAccountId

+ +

*cupsJobAccountId: boolean

+ +

This keyword defines whether the printer accepts the job-account-id IPP attribute.

+ +

Example:

+ +
+*% Specify the printer accepts the job-account-id IPP attribute.
+*cupsJobAccountId: True
+
+ + +

CUPS 1.7/macOS 10.9cupsJobAccountingUserId

+ +

*cupsJobAccountingUserId: boolean

+ +

This keyword defines whether the printer accepts the job-accounting-user-id IPP attribute.

+ +

Example:

+ +
+*% Specify the printer accepts the job-accounting-user-id IPP attribute.
+*cupsJobAccountingUserId: True
+
+ + +

CUPS 1.7/macOS 10.9cupsJobPassword

+ +

*cupsJobPassword: "format"

+ +

This keyword defines the format of the "job-password" IPP attribute, if supported by the printer. The following format characters are supported:

+ +
    +
  • 1: US ASCII digits.
  • +
  • A: US ASCII letters.
  • +
  • C: US ASCII letters, numbers, and punctuation.
  • +
  • .: Any US ASCII printable character (0x20 to 0x7e).
  • +
  • N: Any Unicode digit character.
  • +
  • U: Any Unicode letter character.
  • +
  • *: Any Unicode (utf-8) character.
  • +
+ +

The format characters are repeated to indicate the length of the +password string. For example, "1111" indicated a 4-digit US ASCII PIN code.

+ +

Example:

+ +
+*% Specify the printer supports 4-digit PIN codes.
+*cupsJobPassword: "1111"
+
+ + +

CUPS 1.2/macOS 10.5cupsLanguages

+ +

*cupsLanguages: "locale list"

+ +

This keyword describes which language localizations are +included in the PPD. The "locale list" string is a space-delimited +list of locale names ("en", "en_US", "fr_CA", etc.)

+ +

Example:

+ +
+*% Specify Canadian, UK, and US English, and Canadian and French French
+*cupsLanguages: "en_CA en_UK en_US fr_CA fr_FR"
+
+ + +

CUPS 1.7/macOS 10.9cupsMandatory

+ +

*cupsMandatory: "attribute1 attribute2 ... attributeN"

+ +

This keyword defines a list of IPP attributes that must be provided when submitting a print job creation request.

+ +

Example:

+ +
+*% Specify that the user must supply a job-password
+*cupsMandatory: "job-password job-password-encryption"
+
+ + +

cupsManualCopies

+ +

*cupsManualCopies: boolean

+ +

This boolean keyword notifies the RIP filters that the +destination printer does not support copy generation in +hardware. The default value is false.

+ +

Example:

+ +
+*% Tell the RIP filters to generate the copies for us
+*cupsManualCopies: true
+
+ + +

CUPS 1.4/macOS 10.6cupsMarkerName

+ +

*cupsMarkerName/Name Text: ""

+ +

This optional keyword maps marker-names strings that are +generated by the driver to human readable text.

+ +

Examples:

+ +
+*% Map cyanToner to "Cyan Toner"
+*cupsMarkerName cyanToner/Cyan Toner: ""
+
+ + +

CUPS 1.4/macOS 10.6cupsMarkerNotice

+ +

*cupsMarkerNotice: "disclaimer text"

+ +

This optional keyword provides disclaimer text for the supply level +information provided by the driver, typically something like "supply levels +are approximate".

+ +

Examples:

+ +
+*cupsMarkerNotice: "Supply levels are approximate."
+
+ + +

CUPS 1.6/macOS 10.8cupsMaxCopies

+ +

*cupsMaxCopies: integer

+ +

This integer keyword notifies the filters that the destination printer supports up to N copies in hardware. The default value is 9999.

+ +

Example:

+ +
+*% Tell the RIP filters we can do up to 99 copies
+*cupsMaxCopies: 99
+
+ + +

cupsModelNumber

+ +

*cupsModelNumber: number

+ +

This integer keyword specifies a printer-specific model +number. This number can be used by a filter program to adjust +the output for a specific model of printer.

+ +

Example:

+ +
+*% Specify an integer for a driver-specific model number
+*cupsModelNumber: 1234
+
+ + +

CUPS 1.3/macOS 10.5cupsPJLCharset

+ +

*cupsPJLCharset: "ISO character set name"

+ +

This string keyword specifies the character set that is used +for strings in PJL commands. If not specified, US-ASCII is +assumed.

+ +

Example:

+ +
+*% Specify UTF-8 is used in PJL strings
+*cupsPJLCharset: "UTF-8"
+
+ + +

CUPS 1.4/macOS 10.6cupsPJLDisplay

+ +

*cupsPJLDisplay: "what"

+ +

This optional keyword specifies which command is used to display the +job ID, name, and user on the printer's control panel. "What" is either "none" +to disable this functionality, "job" to use "@PJL JOB DISPLAY", or "rdymsg" +to use "@PJL RDYMSG DISPLAY". The default is "job".

+ +

Examples:

+ +
+*% Display job information using @PJL SET RDYMSG DISPLAY="foo"
+*cupsPJLDisplay: "rdymsg"
+
+*% Display job information display
+*cupsPJLDisplay: "none"
+
+ + +

CUPS 1.2/macOS 10.5cupsPortMonitor

+ +

*cupsPortMonitor urischeme/Descriptive Text: "port monitor"

+ +

This string keyword specifies printer-specific "port +monitor" filters that may be used with the printer. The CUPS +scheduler also looks for the Protocols keyword to see +if the BCP or TBCP protocols are supported. If +so, the corresponding port monitor ("bcp" and "tbcp", +respectively) is listed in the printer's +port-monitor-supported keyword.

+ +

The "urischeme" portion of the keyword specifies the URI scheme +that this port monitor should be used for. Typically this is used to +pre-select a particular port monitor for each type of connection that +is supported by the printer. The "port monitor" string can be "none" +to disable the port monitor for the given URI scheme.

+ +

Examples:

+ +
+*% Specify a PostScript printer that supports the TBCP protocol
+*Protocols: TBCP PJL
+
+*% Specify that TBCP should be used for socket connections but not USB
+*cupsPortMonitor socket/AppSocket Printing: "tbcp"
+*cupsPortMonitor usb/USB Printing: "none"
+
+*% Specify a printer-specific port monitor for an Epson USB printer
+*cupsPortMonitor usb/USB Status Monitor: "epson-usb"
+
+ + +

CUPS 1.3/macOS 10.5cupsPreFilter

+ +

*cupsPreFilter: "source/type cost program"

+ +

This string keyword provides a pre-filter rule. The pre-filter +program will be inserted in the conversion chain immediately +before the filter that accepts the given MIME type.

+ +

Examples:

+ +
+*% PDF pre-filter
+*cupsPreFilter: "application/pdf 100 mypdfprefilter"
+
+*% PNG pre-filter
+*cupsPreFilter: "image/png 0 mypngprefilter"
+
+ + +

CUPS 1.5cupsPrintQuality

+ +

*cupsPrintQuality keyword/text: "code"

+ +

This UI keyword defines standard print qualities that directly map from the IPP "print-quality" job template keyword. Standard keyword values are "Draft", "Normal", and "High" which are mapped from the IPP "print-quality" values 3, 4, and 5 respectively. Each cupsPrintQuality option typically sets output mode and resolution parameters in the page device dictionary, eliminating the need for separate (and sometimes confusing) output mode and resolution options.

+ +
Note: + +

Unlike all of the other keywords defined in this document, cupsPrintQuality is a UI keyword that MUST be enclosed inside the PPD OpenUI and CloseUI keywords.

+ +
+ +

Examples:

+ +
+*OpenUI *cupsPrintQuality/Print Quality: PickOne
+*OrderDependency: 10 AnySetup *cupsPrintQuality
+*DefaultcupsPrintQuality: Normal
+*cupsPrintQuality Draft/Draft: "code"
+*cupsPrintQuality Normal/Normal: "code"
+*cupsPrintQuality High/Photo: "code"
+*CloseUI: *cupsPrintQuality
+
+ + +

CUPS 1.5cupsSingleFile

+ +

*cupsSingleFile: Boolean

+ +

This boolean keyword tells the scheduler whether to print multiple files in a job together or singly. The default is "False" which uses a single instance of the backend for all files in the print job. Setting this keyword to "True" will result in separate instances of the backend for each file in the print job.

+ +

Examples:

+ +
+*% Send all print data to a single backend
+*cupsSingleFile: False
+
+*% Send each file using a separate backend
+*cupsSingleFile: True
+
+ + +

CUPS 1.4/macOS 10.6cupsSNMPSupplies

+ +

*cupsSNMPSupplies: boolean

+ +

This keyword tells the standard network backends whether they should query +the standard SNMP Printer MIB OIDs for supply levels. The default value is +True. + +

Example:

+ +
+*% Do not use SNMP queries to report supply levels
+*cupsSNMPSupplies: False
+
+ + +

cupsVersion

+ +

*cupsVersion: major.minor

+ +

This required keyword describes which version of the CUPS +PPD file extensions was used. Currently it must be the string +"1.0", "1.1", "1.2", "1.3", "1.4", "1.5", or "1.6".

+ +

Example:

+ +
+*% Specify a CUPS 1.2 driver
+*cupsVersion: "1.2"
+
+ + +

CUPS 1.6/macOS 10.8JCLToPDFInterpreter

+ +

*JCLToPDFInterpreter: "JCL"

+ +

This keyword provides the JCL command to insert a PDF job file into a printer-ready data stream. The JCL command is added after the JCLBegin value and any commands for JCL options in the PPD file.

+ +

Example:

+ +
+*% PJL command to start the PDF interpreter
+*JCLToPDFInterpreter: "@PJL ENTER LANGUAGE = PDF<0A>"
+
+ + +

macOS Attributes

+ +

DeprecatedAPDialogExtension

+ +

*APDialogExtension: "/Library/Printers/vendor/filename.plugin"

+ +

This keyword defines additional option panes that are displayed in the +print dialog. Each keyword adds one or more option panes. See the "OutputBinsPDE" +example and Apple +Technical Q&A QA1352 for information on writing your own print dialog +plug-ins.

+ +
Note: + +

Since 2010, AirPrint has enabled the printing of full quality photos and +documents from the Mac without requiring driver software. Starting with macOS +10.12, system level security features prevent print dialog plug-ins from being +loaded into applications that have enabled the library validation security +feature. As of macOS 10.14 the APDialogExtension attribute used to +create macOS print drivers is deprecated. All new printer models should support +AirPrint moving forward.

+ +
+ +

Examples:

+ +
+*% Add two panes for finishing and driver options
+*APDialogExtension: "/Library/Printers/vendor/finishing.plugin"
+*APDialogExtension: "/Library/Printers/vendor/options.plugin"
+
+ + +

macOS 10.4APDuplexRequiresFlippedMargin

+ +

*APDuplexRequiresFlippedMargin: boolean

+ +

This boolean keyword notifies the RIP filters that the +destination printer requires the top and bottom margins of the +ImageableArea to be swapped for the back page. The +default is true when cupsBackSide is Flipped +and false otherwise. Table 2 shows how +APDuplexRequiresFlippedMargin interacts with cupsBackSide +and the Tumble page attribute.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2: Margin Flipping Modes
APDuplexRequiresFlippedMargincupsBackSideTumble ValueMargins
falseanyanyNormal
anyNormalanyNormal
trueManualDuplexfalseNormal
trueManualDuplextrueFlipped
trueRotatedfalseFlipped
trueRotatedtrueNormal
true or unspecifiedFlippedanyFlipped
+ +

Example:

+ +
+*% Rotate the back side images
+*cupsBackSide: Rotated
+
+*% Don't swap the top and bottom margins for the back side
+*APDuplexRequiresFlippedMargin: false
+
+ +

Also see the related cupsBackSide +keyword.

+ + +

APHelpBook

+ +

*APHelpBook: "bundle URL"

+ +

This string keyword specifies the Apple help book bundle to use when +looking up IPP reason codes for this printer driver. The +cupsIPPReason keyword maps +"help" URIs to this file.

+ +

Example:

+ +
+*APHelpBook: "file:///Library/Printers/vendor/Help.bundle"
+
+ + +

macOS 10.6APICADriver

+ +

*APICADriver: boolean

+ +

This keyword specifies whether the device has a matching Image Capture +Architecture (ICA) driver for scanning. The default is False.

+ +

Examples:

+ +
+*APICADriver: True
+*APScanAppBundleID: "com.apple.ImageCaptureApp"
+
+ + +

macOS 10.3APPrinterIconPath

+ +

*APPrinterIconPath: "/Library/Printers/vendor/filename.icns"

+ +

This keyword defines the location of a printer icon file to use when +displaying the printer. The file must be in the Apple icon format.

+ +

Examples:

+ +
+*% Apple icon file
+*APPrinterIconPath: "/Library/Printers/vendor/Icons/filename.icns"
+
+ + +

macOS 10.4APPrinterLowInkTool

+ +

*APPrinterLowInkTool: "/Library/Printers/vendor/program"

+ +

This keyword defines an program that checks the ink/toner/marker levels +on a printer, returning an XML document with those levels. See the "InkTool" +example and +Apple +Technical Note TN2144 for more information.

+ +

Examples:

+ +
+*% Use a vendor monitoring program
+*APPrinterLowInkTool: "/Library/Printers/vendor/Tools/lowinktool"
+
+ + +

macOS 10.5APPrinterPreset

+ +

*APPrinterPreset name/text: "*Option Choice ..."

+ +

This keyword defines presets for multiple options that show up +in the print dialog of applications (such as iPhoto) that set the job +style hint to NSPrintPhotoJobStyleHint. Each preset maps to one or +more pairs of PPD options and choices as well as providing key/value data for +the application. The following standard preset names are currently defined:

+ +
    + +
  • General_with_Paper_Auto-Detect; Normal quality general printing with auto-detected media.
  • + +
  • General_with_Paper_Auto-Detect_-_Draft; Draft quality general printing with auto-detected media.
  • + +
  • General_on_Plain_Paper; Normal quality general printing on plain paper.
  • + +
  • General_on_Plain_Paper_-_Draft; Draft quality general printing on plain paper.
  • + +
  • Photo_with_Paper_Auto-Detect; Normal quality photo printing with auto-detected media.
  • + +
  • Photo_with_Paper_Auto-Detect_-_Fine; High quality photo printing with auto-detected media.
  • + +
  • Photo_on_Plain_Paper; Normal quality photo printing on plain paper.
  • + +
  • Photo_on_Plain_Paper_-_Fine; High quality photo printing on plain paper.
  • + +
  • Photo_on_Photo_Paper; Normal quality photo printing on glossy photo paper.
  • + +
  • Photo_on_Photo_Paper_-_Fine; High quality photo printing on glossy photo paper.
  • + +
  • Photo_on_Matte_Paper; Normal quality photo printing on matte paper.
  • + +
  • Photo_on_Matte_Paper_-_Fine; High quality photo printing on matte paper.
  • + +
+ +

The value string consists of pairs of keywords, either an option name and +choice (*MainKeyword OptionKeyword) or a preset identifier and value +(com.apple.print.preset.foo value). The following preset identifiers are currently used:

+ +
    + +
  • com.apple.print.preset.graphicsType; specifies the type of printing used for this printing - "General" for general purpose printing and "Photo" for photo printing.
  • + +
  • com.apple.print.preset.media-front-coating; specifies the media type selected by this preset - "none" (plain paper), "glossy", "high-gloss", "semi-gloss", "satin", "matte", and "autodetect".
  • + +
  • com.apple.print.preset.output-mode; specifies the output mode for this preset - "color" (default for color printers) or "monochrome" (grayscale, default for B&W printers).
  • + +
  • com.apple.print.preset.quality; specifies the overall print quality selected by this preset - "low" (draft), "mid" (normal), or "high".
  • + +
+ +

Presets, like options, can also be localized in multiple languages.

+ +

Examples:

+ +
+*APPrinterPreset Photo_on_Photo_Paper/Photo on Photo Paper: "
+  *MediaType Glossy
+  *ColorModel RGB
+  *Resolution 300dpi
+  com.apple.print.preset.graphicsType Photo
+  com.apple.print.preset.quality mid
+  com.apple.print.preset.media-front-coating glossy"
+*End
+*fr.APPrinterPreset Photo_on_Photo_Paper/Photo sur papier photographique: ""
+
+ + +

macOS 10.3APPrinterUtilityPath

+ +

*APPrinterPrinterUtilityPath: "/Library/Printers/vendor/filename.app"

+ +

This keyword defines a GUI application that can be used to do printer +maintenance functions such as cleaning the print head(s). See ... for more +information.

+ +

Examples:

+ +
+*% Define the printer utility application
+*APPrinterPrinterUtilityPath: "/Library/Printers/vendor/Tools/utility.app"
+
+ + +

macOS 10.6APScannerOnly

+ +

*APScannerOnly: boolean

+ +

This keyword specifies whether the device has scanning but no printing +capabilities. The default is False.

+ +

Examples:

+ +
+*APICADriver: True
+*APScannerOnly: True
+
+ + +

macOS 10.3APScanAppBundleID

+ +

*APScanAppBundleID: "bundle ID"

+ +

This keyword defines the application to use when scanning pages from +the device.

+ +

Examples:

+ +
+*APICADriver: True
+*APScanAppBundleID: "com.apple.ImageCaptureApp"
+
+ + +

Change History

+ +

Changes in CUPS 2.3

+ + + + +

Changes in CUPS 1.7

+ + + + +

Changes in CUPS 1.6

+ + + + +

Changes in CUPS 1.5

+ +
    + +
  • Changes all instances of PPD attributes to PPD keywords, to be consistent with the parent specification from Adobe.
  • + +
+ + +

Changes in CUPS 1.4.5

+ + + + +

Changes in CUPS 1.4

+ + + + +

Changes in CUPS 1.3.1

+ +
    + +
  • Added missing macOS AP keywords.
  • + +
  • Added section on auto-configuration including the + OIDMainKeyword and ?MainKeyword + keywords.
  • + +
  • Minor reorganization.
  • + +
+ + +

Changes in CUPS 1.3

+ + + + +

Changes in CUPS 1.2.8

+ +
    + +
  • Added section on supported PostScript commands for raster + drivers
  • + +
+ + +

Changes in CUPS 1.2

+ + + + +

Changes in CUPS 1.1

+ + +
+ + diff --git a/doc/help/spec-raster.html b/doc/help/spec-raster.html new file mode 100644 index 0000000..50fca22 --- /dev/null +++ b/doc/help/spec-raster.html @@ -0,0 +1,720 @@ + + + + + CUPS Raster Format + + + + +

CUPS Raster Format

+ +

CUPS Raster files are device-dependent raster image files that contain a PostScript page device dictionary and device-dependent raster imagery for each page in the document. These files are used to transfer raster data from the PostScript and image file RIPs to device-dependent filters that convert the raster data to a printable format.

+ +

CUPS 1.0 and 1.1 used version 1 of the raster format. CUPS 1.2 and later use version 2 (compressed) and version 3 (uncompressed) that are a superset of the version 1 raster format. All three versions of CUPS Raster are streamable formats, and applications using the CUPS Imaging API (the cupsRaster* functions) can read all formats without code changes.

+ +

The registered MIME media type for CUPS Raster files is application/vnd.cups-raster.

+ + +

Organization of a CUPS Raster File

+ +

Figure 1, "Raster Organization", shows the general organization of all CUPS Raster files. Each file begins with a 32-bit synchronization word followed by zero or more pages. Each page consists of a header (the PostScript page device dictionary and raster-specific values) followed by the bitmap image for the page.

+ + + +

Each page bitmap is stored as described by the cupsBitsPerColor, cupsBytesPerLine, cupsColorOrder, cupsColorSpace, cupsHeight, and cupsWidth values in the page header. Pixels for the front side of a sheet are always stored left-to-right, top-to-bottom. When doing duplex printing, pixels for the back side of a sheet may be stored differently depending on the value of the cupsBackSide keyword ("Normal", "ManualTumble", "Rotated", or "Flipped") in the PPD file and the Tumble value ("true" or "false") in the page header. Figure 2, "Page Bitmaps", shows the pixel order for each combination.

+ + + + +

Version 1 Raster File Format

+ +

A version 1 raster file begins with a 32-bit synchronization word: 0x52615374 ("RaSt") for big-endian architectures or 0x74536152 ("tSaR") for little-endian architectures. The writer of the raster file will use the native word order, and the reader is responsible for detecting a reversed word order file and swapping bytes as needed. The CUPS Imaging API raster functions perform this function automatically.

+ +

Following the synchronization word are a series of raster pages. Each page starts with a page device dictionary header and is followed immediately by the (uncompressed/raw) raster data for that page.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1: CUPS Version 1 Raster Page Device Dictionary
BytesTypeDescriptionValues
0-63C StringMediaClassMedia class string
64-127C StringMediaColorMedia color string
128-191C StringMediaTypeMedia type string
192-255C StringOutputTypeOutput type string
256-259Unsigned IntegerAdvanceDistance0 to 232 - 1 points
260-263Unsigned IntegerAdvanceMedia0 = Never advance roll
+ 1 = Advance roll after file
+ 2 = Advance roll after job
+ 3 = Advance roll after set
+ 4 = Advance roll after page
264-267Unsigned IntegerCollate0 = do not collate copies
+ 1 = collate copies
268-271Unsigned IntegerCutMedia0 = Never cut media
+ 1 = Cut roll after file
+ 2 = Cut roll after job
+ 3 = Cut roll after set
+ 4 = Cut roll after page
272-275Unsigned IntegerDuplex0 = Print single-sided
+ 1 = Print double-sided
276-283Unsigned Integers (2)HWResolutionHorizontal and vertical resolution in dots-per-inch.
284-299Unsigned Integers (4)ImagingBoundingBoxFour integers giving the left, bottom, right, and top positions + of the page bounding box in points
300-303Unsigned IntegerInsertSheet0 = Do not insert separator sheets
+ 1 = Insert separator sheets
304-307Unsigned IntegerJog0 = Do no jog pages
+ 1 = Jog pages after file
+ 2 = Jog pages after job
+ 3 = Jog pages after set
308-311Unsigned IntegerLeadingEdge0 = Top edge is first
+ 1 = Right edge is first
+ 2 = Bottom edge is first
+ 3 = Left edge is first
312-319Unsigned Integers (2)MarginsLeft and bottom origin of image in points
320-323Unsigned IntegerManualFeed0 = Do not manually feed media
+ 1 = Manually feed media
324-327Unsigned IntegerMediaPositionInput slot position from 0 to N
328-331Unsigned IntegerMediaWeightMedia weight in grams per meter squared, 0 = printer default
332-335Unsigned IntegerMirrorPrint0 = Do not mirror prints
+ 1 = Mirror prints
336-339Unsigned IntegerNegativePrint0 = Do not invert prints
+ 1 = Invert prints
340-343Unsigned IntegerNumCopies0 to 232 - 1, 0 = printer default
344-347Unsigned IntegerOrientation0 = Do not rotate page
+ 1 = Rotate page counter-clockwise
+ 2 = Turn page upside down
+ 3 = Rotate page clockwise
348-351Unsigned IntegerOutputFaceUp0 = Output face down
+ 1 = Output face up
352-359Unsigned Integers (2)PageSizeWidth and length in points
360-363Unsigned IntegerSeparations0 = Print composite image
+ 1 = Print color separations
364-367Unsigned IntegerTraySwitch0 = Do not change trays if selected tray is empty
+ 1 = Change trays if selected tray is empty
368-371Unsigned IntegerTumble0 = Do not rotate even pages when duplexing
+ 1 = Rotate even pages when duplexing
372-375Unsigned IntegercupsWidthWidth of page image in pixels
376-379Unsigned IntegercupsHeightHeight of page image in pixels
380-383Unsigned IntegercupsMediaTypeDriver-specific 0 to 232 - 1
384-387Unsigned IntegercupsBitsPerColor1, 2, 4, 8 bits for version 1 raster files
+ 1, 2, 4, 8, and 16 bits for version 2/3 raster files
388-391Unsigned IntegercupsBitsPerPixel1 to 32 bits for version 1 raster files
+ 1 to 240 bits for version 2/3 raster files
392-395Unsigned IntegercupsBytesPerLine1 to 232 - 1 bytes
396-399Unsigned IntegercupsColorOrder0 = chunky pixels (CMYK CMYK CMYK)
+ 1 = banded pixels (CCC MMM YYY KKK)
+ 2 = planar pixels (CCC... MMM... YYY... KKK...)
400-403Unsigned IntegercupsColorSpace0 = gray (device, typically sRGB-based)
+ 1 = RGB (device, typically sRGB)
+ 2 = RGBA (device, typically sRGB)
+ 3 = black
+ 4 = CMY
+ 5 = YMC
+ 6 = CMYK
+ 7 = YMCK
+ 8 = KCMY
+ 9 = KCMYcm
+ 10 = GMCK
+ 11 = GMCS
+ 12 = WHITE
+ 13 = GOLD
+ 14 = SILVER
+ 15 = CIE XYZ
+ 16 = CIE Lab
+ 17 = RGBW (sRGB)
+ 18 = sGray (gray using sRGB gamma/white point)
+ 19 = sRGB
+ 20 = AdobeRGB
+ 32 = ICC1 (CIE Lab with hint for 1 color)
+ 33 = ICC2 (CIE Lab with hint for 2 colors)
+ 34 = ICC3 (CIE Lab with hint for 3 colors)
+ 35 = ICC4 (CIE Lab with hint for 4 colors)
+ 36 = ICC5 (CIE Lab with hint for 5 colors)
+ 37 = ICC6 (CIE Lab with hint for 6 colors)
+ 38 = ICC7 (CIE Lab with hint for 7 colors)
+ 39 = ICC8 (CIE Lab with hint for 8 colors)
+ 40 = ICC9 (CIE Lab with hint for 9 colors)
+ 41 = ICCA (CIE Lab with hint for 10 colors)
+ 42 = ICCB (CIE Lab with hint for 11 colors)
+ 43 = ICCC (CIE Lab with hint for 12 colors)
+ 44 = ICCD (CIE Lab with hint for 13 colors)
+ 45 = ICCE (CIE Lab with hint for 14 colors)
+ 46 = ICCF (CIE Lab with hint for 15 colors)
+ 48 = Device1 (DeviceN for 1 color)
+ 49 = Device2 (DeviceN for 2 colors)
+ 50 = Device3 (DeviceN for 3 colors)
+ 51 = Device4 (DeviceN for 4 colors)
+ 52 = Device5 (DeviceN for 5 colors)
+ 53 = Device6 (DeviceN for 6 colors)
+ 54 = Device7 (DeviceN for 7 colors)
+ 55 = Device8 (DeviceN for 8 colors)
+ 56 = Device9 (DeviceN for 9 colors)
+ 57 = DeviceA (DeviceN for 10 colors)
+ 58 = DeviceB (DeviceN for 11 colors)
+ 59 = DeviceC (DeviceN for 12 colors)
+ 60 = DeviceD (DeviceN for 13 colors)
+ 61 = DeviceE (DeviceN for 14 colors)
+ 62 = DeviceF (DeviceN for 15 colors) +
404-407Unsigned IntegercupsCompressionDriver-specific 0 to 232 - 1
408-411Unsigned IntegercupsRowCountDriver-specific 0 to 232 - 1
412-415Unsigned IntegercupsRowFeedDriver-specific 0 to 232 - 1
416-419Unsigned IntegercupsRowStepDriver-specific 0 to 232 - 1
+ + +

Version 2 Raster File Format

+ +

A version 2 raster file begins with a 32-bit synchronization word: 0x52615332 ("RaS2") for big-endian architectures or 0x32536152 ("2SaR") for little-endian architectures. The writer of the raster file will use the native word order, and the reader is responsible for detecting a reversed word order file and swapping bytes as needed. The CUPS Imaging API raster functions perform this function automatically.

+ +

Following the synchronization word are a series of raster pages. Each page starts with a version 2 page device dictionary header and is followed immediately by the compressed raster data for that page.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2: CUPS Version 2 Raster Page Device Dictionary
BytesTypeDescriptionValues
0-419Version 1 header dataSee Table 1
420-423Unsigned IntegercupsNumColors1 to 15 colors
424-427IEEE Single PrecisioncupsBorderlessScalingFactor0.0 or 1.0 or greater
428-435IEEE Single Precision (2)cupsPageSizeWidth and length in points
436-451IEEE Single Precision (4)cupsImagingBBoxFour floating point numbers giving the left, bottom, right, and top positions of the page bounding box in points
452-515Unsigned Integers (16)cupsInteger16 driver-defined integer values
516-579IEEE Single Precision (16)cupsReal16 driver-defined floating point values
580-1603C Strings (16x64)cupsString16 driver-defined strings
1604-1667C StringcupsMarkerTypeInk/toner type string
1668-1731C StringcupsRenderingIntentColor rendering intent string
1732-1795C StringcupsPageSizeNamePage size name/keyword string from PPD
+ +

Compressed Raster Data Format

+ +

The version 2 raster data is compressed using a PackBits-like algorithm. Lines are grouped into an integral number of color values based upon the cupsColorOrder setting:

+ +
+ + + + + + + + + + + + + + + + + +
Table 3: Color Value Sizes
cupsColorOrderBytes per color value
0 (chunky)(cupsBitsPerPixel + 7) / 8
1 (banded)(cupsBitsPerColor + 7) / 8
2 (planar)(cupsBitsPerColor + 7) / 8
+ +

Each line of raster data begins with a repetition count from 1 to 256 that is encoded using a single byte of "count - 1".

+ +

After the repetition count, whole color values for that line are run-length encoded using a PackBits-like run-length encoding algorithm: 1 to 128 repeated colors are encoded using an initial byte of "count - 1" followed by the color value byte(s) while 2 to 128 non-repeating colors are encoded using an initial byte of "257 - count" followed by the color value bytes.

+ +

For example, the 8x8 24-bit sRGB image shown in Figure 3, "Sample Image", would be encoded as the following 89 octets:

+ +
+%x00 %x00.FF.FF.FF %x02.FF.FF.00 %x03.FF.FF.FF
+%x00 %xFE.FF.FF.00.00.00.FF.FF.FF.00 %x02.FF.FF.FF %x00.00.FF.00 %x00.FF.FF.FF
+%x00 %x01.FF.FF.00 %x02.FF.FF.FF %x02.00.FF.00
+%x00 %x02.FF.FF.00 %x02.FF.FF.FF %x00.00.FF.00 %x00.FF.FF.FF
+%x00 %x00.FF.FF.FF %x02.FF.FF.00 %x03.FF.FF.FF
+%x00 %x07.FF.FF.FF
+%x01 %x07.FF.00.00
+
+ +

The first line (%x00) contains 1 white pixel (%x00.FF.FF.FF), 3 yellow pixels (%x02.FF.FF.00), and 4 white pixels (%x03.FF.FF.FF).

+ +

The second line (%x00) contains a sequence of yellow + blue + yellow pixels (%xFE.FF.FF.00.00.00.FF.FF.FF.00), 3 white pixels (%x02.FF.FF.FF), 1 green pixel (%x00.00.FF.00), and 1 white pixel (%x00.FF.FF.FF).

+ +

The third line (%x00) contains 2 yellow pixels (%x01.FF.FF.00), 3 white pixels (%x02.FF.FF.FF), and 3 green pixels (%x02.00.FF.00)

+ +

The fourth line (%x00) contains 3 yellow pixels (%x02.FF.FF.00), 3 white pixels (%x02.FF.FF.FF), 1 green pixel (%x00.00.FF.00), and 1 white pixel (%x00.FF.FF.FF).

+ +

The fifth line (%x00) contains 1 white pixel (%x00.FF.FF.FF), 3 yellow pixels (%x02.FF.FF.00), and 4 white pixels (%x03.FF.FF.FF).

+ +

The sixth line (%x00) contains 8 white pixels (%x07.FF.FF.FF).

+ +

The seventh and eighth lines (%x01) contain 8 red pixels (%x07.FF.00.00).

+ + + + +

Version 3 Raster File Format

+ +

A version 3 raster file begins with a 32-bit synchronization word: 0x52615333 ("RaS3") for big-endian architectures and 0x33536152 ("3SaR") for little-endian architectures. The writer of the raster file will use the native word order, and the reader is responsible for detecting a reversed word order file and swapping bytes as needed. The CUPS Imaging API raster functions perform this function automatically.

+ +

Following the synchronization word are a series of raster pages. Each page starts with a version 2 page device dictionary header and is followed immediately by the uncompressed/raw raster data for that page.

+ + +

Pixel Value Coding

+ +

The following sections describe the encoding and decoding of the color values in a CUPS Raster file. In general, colors are packed into the minimum number of bytes, with special consideration provided for efficiency of encoding and access. Multi-byte values are stored in the native byte order and automatically swapped as needed when reading them using the CUPS imaging API.

+ +

CUPS_ORDER_CHUNKED

+ +

The chunked order provides the pixel value packed in a single place. Pixel values with 8 or more bits per color are stored as an array of colors in order, e.g. for CUPS_CSPACE_RGB you will see 8/16-bits of red, then blue, then green, then red, green, blue, etc. Pixel values with less than 8 bits per color are packed together as shown in Table 4. Multi-byte pixel values are stored in the native word order, just as for 16-bit color values.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4: Chunked Color Values
Bits1-color3-color4-color6-color
1W/W/W/W/W/W/W/W0RGB/0RGBCMYK/CMYK00KCMYcm
2WW/WW/WW/WW00RRGGBBCCMMYYKKN/A
4WWWW/WWWW0000RRRRGGGGBBBB
+ (multi-byte)
CCCCMMMMYYYYKKKK
+ (multi-byte)
N/A
+ +

CUPS_ORDER_BANDED

+ +

The banded order provides each color as a separate line of data. Each color plane for a line is written in sequence, e.g. for the CUPS_CSPACE_CMYK color space you would see all of the cyan pixels for a line followed by the magenta, yellow, and black pixels for that line. This is repeated for all of the lines on the page. Color values are packed starting with the most-significant bit (MSB) first.

+ +

CUPS_ORDER_PLANAR

+ +

The planar order provides each color as a separate page of data using a shared page header. Each color plane for a page is written in sequence, e.g. for the CUPS_CSPACE_CMYK color space you would see all of the cyan pixels for a page followed by the magenta, yellow, and black pixels for that page. Color values are packed starting with the most-significant bit (MSB) first. Each line starts on an 8-bit boundary.

+ +

CUPS_CSPACE_RGBW

+ +

This color space provides a dedicated black text channel and uses the sRGB color space definition and white point for the RGB color channels. The white channel is 0 for text (or "true") black, otherwise it must contain the maximum color value: 1 for 1-bit, 3 for 2-bit, 15 for 4-bit, 255 for 8-bit, or 65535 for 16-bit.

+ +

CUPS_CSPACE_KCMYcm

+ +

When cupsBitsPerColor is 1, 6 color planes are provided - black, cyan, magenta, yellow, light cyan, and light magenta. When cupsBitsPerColor is greater than 1, 4 color planes are provided using the CUPS_CSPACE_KCMY color space instead.

+ +

When cupsColorOrder is CUPS_ORDER_CHUNKED, bit 5 corresponds to black and bit 0 corresponds to light magenta. For CUPS_ORDER_BANDED and CUPS_ORDER_PLANAR, each color plane is encoded separately.

+ +

CUPS_CSPACE_CIELab and CUPS_CSPACE_ICCn

+ +

These color spaces map a CIE Lab color value with a D65 white point to either a 8- or 16-bit per color chunked (CUPS_ORDER_CHUNKED) format; the banded (CUPS_ORDER_BANDED) and planar (CUPS_ORDER_PLANAR) color orders are not supported.

+ +

The values are encoded and decoded using the following formulas:

+ +
    + +
  • 8-bit Encoding:
    + L8 = 2.55 * L + 0.5
    + a8 = a + 128.5
    + b8 = b + 128.5
    +  
  • + +
  • 8-bit Decoding:
    + L = L8 / 2.55
    + a = a8 - 128
    + b = b8 - 128
    +  
  • + +
  • 16-bit Encoding:
    + L16 = 655.35 * L + 0.5
    + a16 = 256 * (a + 128) + 0.5
    + b16 = 256 * (b + 128) + 0.5
    +  
  • + +
  • 16-bit Decoding:
    + L = L16 / 655.35
    + a = a16 / 256 - 128
    + b = b16 / 256 - 128
    +  
  • + +
+ +

CUPS_CSPACE_CIEXYZ

+ +

These color spaces map a CIE XYZ color value with a D65 white point to either a 8- or 16-bit per color chunked (CUPS_ORDER_CHUNKED) format; the banded (CUPS_ORDER_BANDED) and planar (CUPS_ORDER_PLANAR) color orders are not supported.

+ +

The values are encoded and decoded using the following formulas:

+ +
    + +
  • 8-bit Encoding:
    + X8 = 231.8181 * X + 0.5
    + Y8 = 231.8181 * Y + 0.5
    + Z8 = 231.8181 * Z + 0.5
    +  
  • + +
  • 8-bit Decoding:
    + X = X8 / 231.8181
    + Y = Y8 / 231.8181
    + Z = Z8 / 231.8181
    +  
  • + +
  • 16-bit Encoding:
    + X16 = 59577.2727 * X + 0.5
    + Y16 = 59577.2727 * Y + 0.5
    + Z16 = 59577.2727 * Z + 0.5
    +  
  • + +
  • 16-bit Decoding:
    + X = X16 / 59577.2727
    + Y = Y16 / 59577.2727
    + Z = Z16 / 59577.2727
    +  
  • + +
+ +

The scaling factor for XYZ values is 1/1.1, or 231.8181 for 8-bit values and 59577.2727 for 16-bit values. This allows for a slight overflow of XYZ values when converting from RGB, improving accuracy.

+ + +

Change History

+ +

Changes in CUPS 1.4.7

+ +
    + +
  • Greatly improved the detail and now include an example of the bitmap compression.
  • +
  • Added all missing cupsColorSpace values and a separate description of CUPS_CSPACE_RGBW.
  • + +
+ + +

Changes in CUPS 1.2.2

+ +
    + +
  • Added version 3 (uncompressed) format.
  • + +
+ + +

Changes in CUPS 1.2.1

+ +
    + +
  • Added new sections on coding pixel values.
  • + +
  • Clarified definitions of color spaces.
  • + +
+ + +

Changes in CUPS 1.2

+ +
    + +
  • Bumped raster version to 2
  • + +
  • Added RGBW color space
  • + +
  • Added 16 bit per color support
  • + +
  • Added cupsNumColors, cupsBorderlessScalingFactor, cupsPageSize, cupsImagingBBox, cupsInteger, cupsReal, cupsString, cupsMarkerType, cupsRenderingIntent, and cupsPageSizeName attributes to the page device dictionary
  • + +
  • Added raster data compression
  • + +
  • Added data type column to device dictionary documentation.
  • + +
+ +

Changes in CUPS 1.1.19

+ +
    + +
  • Added ICC and CIE color spaces.
  • + +
+ + + diff --git a/doc/help/spec-stp.html b/doc/help/spec-stp.html new file mode 100644 index 0000000..06c099b --- /dev/null +++ b/doc/help/spec-stp.html @@ -0,0 +1,133 @@ + + + + + CUPS Software Test Plan + + + + +

CUPS Software Test Plan

+ +

This software test plan provides detailed tests that are used +to evaluate the stability and compliance of CUPS.

+ + +

Test Procedure

+ +

The test software and data files are located in the +test subdirectory of the source distribution. A script +is provided to compile the ipptool program and run +all of the tests that follow, producing a success/fail +report.

+ +

The test target of the top-level makefile can be +used to run this script:

+ +
+make test
+
+ +

or you can run the test script directly:

+ +
+cd test
+./run-stp-tests
+
+ +

A Software Test Report is stored in a HTML file in the +test subdirectory at the conclusion of the test.

+ + +

IPP Compliance Tests

+ +

This section describes the tests used to validate the IPP +standards compliance of the CUPS server.

+ +

Request Tests

+ +

These tests verify that the CUPS scheduler only accepts valid +IPP requests that start with the attributes-charset +and attributes-natural-language attributes and also +contain a printer-uri or job-uri +attribute.

+ +

It also verifies that the CUPS scheduler always responds with +attributes-charset and +attributes-natural-language attributes, using +default values if they are not provided by the client.

+ +

CUPS Printer Operation Tests

+ +

These tests verify that the CUPS printer operations are +supported and function properly. Two printers called +Test1 and Test2 are created, one as a +PostScript printer and one as a raster printer.

+ +

Job Operation Tests

+ +

These test verify that the CUPS scheduler accepts print jobs +for all supported file formats and that the +cancel-job, hold-job, and +resume-job operations work.

+ +

Subscription Operation Tests

+ +

These test verify that the CUPS scheduler accepts +subscriptions with print jobs and that all subscription +operations work as required by the IPP notification and mailto +specifications.

+ + +

Command Tests

+ +

This section describes the tests used to validate the Berkeley +and System V commands included with CUPS.

+ +

lpadmin

+ +

This test verifies that printers can be added, modified, and +defaulted using the lpadmin command.

+ +

lpc

+ +

This test verifies that the lpc command can show +the current status of all print queues.

+ +

lpq

+ +

This test verifies that the lpq command lists +any jobs in the queue.

+ +

lpstat

+ +

This test verifies that the lpstat command works +with all reports using the "-t" option.

+ +

lp

+ +

This test verifies that the lp command works with +both the default destination and a specific destination.

+ +

lpr

+ +

This test verifies that the lpr command works +with both the default destination and a specific destination.

+ +

lprm

+ +

This test verifies that the lprm command can +properly cancel a job.

+ +

cancel

+ +

This test verifies that the cancel command can +properly cancel a job or all jobs.

+ +

lpinfo

+ +

This test verifies that the lpinfo command +returns a list of available printer drivers and devices.

+ + + diff --git a/doc/help/translation.html b/doc/help/translation.html new file mode 100644 index 0000000..7202c4c --- /dev/null +++ b/doc/help/translation.html @@ -0,0 +1,725 @@ + + + + Translating and Customizing CUPS + + + + +

Translating and Customizing CUPS

+ +

Thanks to its extensive use of templates, images, and message catalogs, CUPS can be easily translated (or customized!) to suit your needs. This help file will guide you through the CUPS localization files so you can get the most out of it.

+ + +

Getting Started

+ +

Start by downloading the CUPS source code from www.cups.org. After you extract the files from the source archive (or clone the Git repository), you will want to copy the following files and directories:

+ +
    + +
  • desktop/cups.desktop - the GNOME/KDE desktop file pointing to the CUPS web interface
  • + +
  • doc/index.html.in - the web interface home page
  • + +
  • locale/cups.pot - the message catalog
  • + +
  • templates/*.tmpl and templates/header.tmpl.in - the web interface template files
  • + +
+ +

With the exception of the message catalogs and desktop file, localization files are placed in subdirectories under the doc and templates using the locale name. Locale names are either ll or ll_CC, where "ll" is the 2-letter language code and "CC" is the 2-letter country code. CUPS does not currently use or support the newer ll-region syntax for locale names.

+ +

All non-image files must be encoded using the UTF-8 character set.

+ + +

Submitting a Translation for CUPS

+ +

To submit a translation for inclusion in CUPS, translate the desktop file, all of the template files, the index.html.in file, and the message catalog. Place these files in the correct subdirectories in the CUPS source code archive and run the following command to create an archive with your files:

+ +
+tar cvf ll_CC.tar.gz desktop/cups.desktop doc/ll_CC locale/cups_ll_CC.po templates/ll_CC
+
+ +

Replace "ll_CC" with the locale name for your translation. Once you have created the archive, go to the CUPS project page and submit a bug report, attaching the translation to the report.

+ +

Alternately, you can clone the CUPS project on Github, make your changes, and submit a pull request from the same link.

+ + +

The Desktop File

+ +

The desktop/cups.desktop file provides a link to the CUPS web interface from desktop environments such as GNOME and KDE. To translate this file, add two lines to the bottom with the Name and Comment keys:

+ +
+Name[ll_CC]=Translation of "Manage Printing"
+Comment[ll_CC]=Translation of "CUPS Web Interface"
+
+ + +

The Home Page

+ +

The index.html.in file is a complete HTML file that is displayed when the user visits "http://localhost:631/". Edit the existing doc/index.html.in and save it in the doc/ll_CC subdirectory so that the configure script can generate it. After configuring, run "make install" in the doc subdirectory to test the new home page.

+ + +

Message Catalogs

+ +

CUPS message catalogs are GNU gettext ".po" text files that provide a list of localized message strings for the CUPS software. Message catalogs are named cups_ll.po or cups_ll_CC.po, where "ll" is the standard 2-letter abbreviation for the language and "CC" is the standard 2-letter abbreviation for the country.

+ +

When translating a new message catalog, copy the cups.pot message catalog file in the locale subdirectory of the CUPS source code. For example, to start translating the message catalog to Canadian French, you would type the following commands:

+ +
+cd locale
+cp cups.pot cups_fr_CA.po
+
+ +

Alternatively, you can copy the existing cups_fr.po message catalog and then make any necessary changes.

+ +

Once you have make your copy of the file, edit it using your favorite text editor or translation program to translate the text to the desired language.

+ +

Then validate your translation using the locale/checkpo utility:

+ +
+cd locale
+./checkpo cups_ll_CC.po
+
+ +

After fixing any errors in your translation, add your locale to the LANGUAGES variable in the Makedefs file and run the "make install" command in the locale subdirectory to test the translation. This variable is automatically updated when you run the configure script.

+ + +

Template Files

+ +

The CUPS scheduler provides a web interface that can be used to do many common printing and administration tasks. The built-in web server supports localization of web pages through the use of subdirectories for each locale, e.g. "fr" for French, "de" for German, "fr_ca" for French in Canada, and so forth.

+ +

Template files are HTML files with special formatting characters in them that allow substitution of variables and arrays. The CUPS CGI programs (admin.cgi, classes.cgi, help.cgi, jobs.cgi, and printers.cgi) use these template file to provide dynamic content for the web interface. Template files are installed in the /usr/share/cups/templates directory by default. Table 1 lists the various template files and their purpose.

+ +

Translated versions of the template files should be saved in +the templates/ll_CC subdirectory. For example, +Canadian French template files should be saved in the +templates/fr_CA subdirectory. After you have +translated all of the templates, add the locale to the +LANGUAGES variable in the +Makedefs file and run "make install" in the +templates subdirectory to test the translation.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1: Web Interface Template Files
FilenamePurpose
add-class.tmplThis is the initial form that is shown to add a new printer class.
add-printer.tmplThis is the initial form that is shown to add a new printer.
admin.tmplThis is the main administration page.
choose-device.tmplThis is the form that shows the list of available devices.
choose-make.tmplThis is the form that shows the list of available manufacturers.
choose-model.tmplThis is the form that shows the list of available printer models/drivers.
choose-serial.tmplThis is the form that allows the user to choose a serial port and any options.
choose-uri.tmplThis is the form that allows the user to enter a device URI for network printers.
class.tmplThis template shows information about a single class.
class-added.tmplThis template shows the "class added" message.
class-confirm.tmplThis is the template used to confirm the deletion of a class.
class-deleted.tmplThis template shows the "class deleted" message.
class-jobs-header.tmplThis template shows the "jobs" header for jobs in a class.
class-modified.tmplThis template shows the "class modified" message.
classes.tmplThis template shows one or more printer classes.
classes-header.tmplThis template shows the "showing N of M classes" header in the class list.
command.tmplThis template shows the status of a command job.
edit-config.tmplThis is the cupsd.conf editor page.
error.tmplThis template displays a generic error message.
error-op.tmplThis is the "unknown operation" error page.
header.tmpl(.in)This template is used as the standard header on all dynamic content. Edit the header.tmpl.in file and let the configure script generate the header.tmpl file.
help-header.tmplThis is the top part of the help page.
help-printable.tmplThis is the standard page header for the printable version of help files.
help-trailer.tmplThis is the bottom part of the help page.
job-cancel.tmplThis template shows "job canceled".
job-hold.tmplThis template shows "job held".
job-move.tmplThis template shows the move-job form.
job-moved.tmplThis template shows "job moved".
job-release.tmplThis template shows "job released".
job-restart.tmplThis template shows "job reprinted".
jobs.tmplThis template is used to list the print jobs on a server, class, or printer.
jobs-header.tmplThis template shows the "showing N or M jobs" header in the jobs list.
list-available-printers.tmplThis template shows a list of new printers that have been found.
modify-class.tmplThis template is used as the first form when modifying a class.
modify-printer.tmplThis template is used as the first form when modifying a printer.
norestart.tmplThis template shows "server not restarted because no changes were made to the configuration".
option-boolean.tmplThis template is used to select a boolean PPD option.
option-conflict.tmplThis template shows the conflicting options.
option-header.tmplThis template is used to start a PPD option group.
option-pickmany.tmplThis template is used to select a multi-valued PPD option.
option-pickone.tmplThis template is used to select a single-valued PPD option.
option-trailer.tmplThis template is used to end a PPD option group.
pager.tmplThis template shows the previous/next pager bar.
printer.tmplThis template shows information about a single printer.
printer-accept.tmplThis template shows "printer now accepting jobs".
printer-added.tmplThis template shows "printer added".
printer-cancel-jobs.tmplThis template shows "All jobs on printer have been canceled."
printer-configured.tmplThis template shows "printer configured".
printer-confirm.tmplThis template asks the user to confirm the deletion of a printer.
printer-default.tmplThis template shows "default printer set".
printer-deleted.tmplThis template shows "printer deleted".
printer-jobs-header.tmplThis templates shows the "jobs" header for jobs on a printer.
printer-modified.tmplThis template shows "printer modified".
printer-reject.tmplThis template shows "printer now rejecting jobs".
printer-start.tmplThis template shows "printer started".
printer-stop.tmplThis template shows "printer stopped".
printers.tmplThis template is used to list information on one or more printers.
printers-header.tmplThis template shows the "showing printer N of M" header in the printers list.
restart.tmplThis template shows "server restarting".
search.tmplThis template shows the search form.
set-printer-options-header.tmplThis template shows the first part of the set printer options form.
set-printer-options-trailer.tmplThis template shows the last part of the set printer options form.
test-page.tmplThis template shows "test page printed".
trailer.tmplThis template is used as the standard trailer on all dynamic content.
users.tmplThis template shows the set allowed users form.
+ +

Inserting Attributes and Values

+ +

Template files consist of HTML with variable substitutions for named inside curly braces "{name}". Variable names are generally the IPP attribute names with the hyphen ("-") replaced by the underscore ("_") character. For example, the job-printer-uri attribute is renamed to job_printer_uri.

+ +

Curley braces ("{" and "}") to indicate substitutions, and the backslash ("\") character for quoting. To insert any of these special characters as-is you need to use the HTML &name; mechanism or prefix each special character with the backslash ("\".)

+ +

You substitute the value of a variable using {NAME} in your template file. If the variable is undefined then the {NAME} string is output as-is.

+ +

To substitute an empty string if the variable is undefined, use {?NAME} instead.

+ +

Array Substitutions

+ +

The number of array elements can be inserted using {#NAME}. If the array is undefined then 0 is output. The current array element (starting at 1) is inserted with {#}.

+ +

Arrays are handled using {[NAME] at the beginning of a section and } at the end. The information between the closing bracket ("]") and closing brace ("}") is repeated for as many elements as are in the named array. For example, the following template will display a list of each job in the job_id array:

+ +
+<TABLE>
+<TR>
+	<TH>Job ID</TH>
+	<TH>Destination</TH>
+	<TH>Title</TH>
+</TR>
+
+{[job_id]
+<TR>
+	<TD>{?job_id}</TD>
+	<TD>{?job_printer_name}</TD>
+	<TD>{?job_name}</TD>
+</TR>
+}
+</TABLE>
+
+ +

Arrays can be nested, however all elements within the curly braces ("{" and "}") are indexed using the innermost array.

+ +

Conditional Tests

+ +

Templates can also test variables against specific values and conditionally include text in the template. The format is:

+ +
+{variable?true:false}
+{variable=value?true:false}
+{variable!value?true:false}
+{variable<value?true:false}
+{variable>value?true:false}
+
+ +

where true is the text that is included if the condition is true and false is the text that is included if the condition is false. A value of # is replaced with the current element number (starting at 1.) The character after the variable name specifies the condition to test. Table 2 shows the available test conditions.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2: Template Substitution Conditions
CharCondition
?True if variable exists.
=True if variable is equal to value.
!True if variable is not equal to value.
<True if variable is less than value.
>True if variable is greater than value.
+ +

What to Localize in a Template File

+ +

Because HTML contains both markup (that generally is not localized) and text (which is localized), you should carefully avoid changing the markup unless it contains human-readable text. The following HTML examples show how to correctly localize template files:

+ +

+<!-- English table heading -->
+<table class="list" summary="Printer List">
+
+<!-- Correctly localized to French; the class attribute is unchanged but summary is localized -->
+<table class="list" summary="Liste des imprimantes">
+
+
+<!-- English hyperlink -->
+<li><a {SECTION=help?class="active" :}href="/help/">Help</a></li>
+
+<!-- Correctly localized to Danish; the href attribute is unchanged while the link text is localized -->
+<li><a {SECTION=help?class="active" :}href="/help/">Hjælp</a></li>
+

+ + +

CGI Programs

+ +

CUPS uses five CGI programs to manage the dynamic web interfaces:

+ +
    + +
  • admin.cgi
  • +
  • classes.cgi
  • +
  • help.cgi
  • +
  • jobs.cgi
  • +
  • printers.cgi
  • + +
+ +

Each CGI program accepts standard form variables such as OP for the operation to perform, PRINTER_NAME for the printer or class name to operate on, QUERY for any search words,FIRST for the first class, job, or printer to display, and ORDER to control the order that classes, jobs, or printers are displayed.

+ +

In addition, the classes.cgi, jobs.cgi, and printers.cgi programs support a WHICH_JOBS variable to control which jobs are displayed. Table 3 lists the supported values.

+ +
+ + + + + + + + + + + + + + + + + + + +
Table 3: WHICH_JOBS Values
WHICH_JOBS ValueDescription
allShow all jobs
completedShow completed jobs
not-completedShow active jobs
+ +

admin.cgi

+ +

The admin.cgi program handles all of the printer and class administration functions and is run for all direct accesses to the /admin resource. For most operations it uses the PRINTER_NAME and OP form variables to specify the action requested. Table 4 shows the supported OP values.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4: admin.cgi OP Values
OP ValueDescription
add-classAdds a new printer class.
add-printerAdds a new printer.
config-serverConfigures the server.
delete-classDeletes a printer class. The form variable CONFIRM + may be set to any value to bypass the confirmation page.
delete-printerDeletes a printer. The form variable CONFIRM + may be set to any value to bypass the confirmation page.
find-new-printersFind new printers that have not yet been added.
modify-classModifies a printer class.
modify-printerModifies a printer.
redirectRedirects the web browser to the location referenced by + the URL form variable.
set-allowed-usersSets the allowed users for a destination.
set-as-defaultSets the default destination.
set-printer-optionsSets the default options for a printer.
set-sharingSets the printer-is-shared attribute for a destination.
+ +

classes.cgi

+ +

The classes.cgi program is responsible for listing class information, including jobs destined for that class. It is for all direct accesses to the /classes resource and supports the optional form variables OP and WHICH_JOBS. If no form variables are supplied then the CGI lists all or a specific class and the active jobs on each class. Table 5 shows the supported OP values.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 5: classes.cgi OP Values
OP ValueDescription
accept-jobsStart accepting jobs for a class.
cancel-jobsCancel all jobs for a class.
move-jobsMove all jobs to a different destination.
print-test-pagePrint a PostScript test page.
reject-jobsStop accepting jobs for a class.
start-classStart processing jobs for a class.
stop-classStop processing jobs for a class.
+ + +

help.cgi

+ +

The help.cgi program handles all of the on-line help functions and is run for all direct accesses to the /help resource.

+ + +

jobs.cgi

+ +

The jobs.cgi program handles all of the job functions and is run for all direct accesses to the /jobs resource. For most operations it uses the JOB_ID, OP, and WHICH_JOBS form variables to specify the action requested. Table 6 shows the supported OP values.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 6: jobs.cgi OP Values
OP ValueDescription
cancel-jobCancels a job.
hold-jobHolds a job indefinitely.
move-jobMoves a job to another destination.
release-jobReleases a job for printing.
restart-jobRestarts/reprints a stopped, canceled, completed, or aborted + print job.
+ + +

printers.cgi

+ +

The printers.cgi program is responsible for listing printer information, including jobs destined for that printer. It is for all direct accesses to the /printers resource and supports the optional form variables OP and WHICH_JOBS. If no form variables are supplied then the CGI lists all printers or a specific printer and the active jobs on that printer. Table 7 shows the supported OP values.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 7: printers.cgi OP Values
OP ValueDescription
accept-jobsStart accepting jobs for a printer.
cancel-jobsCancel all jobs for a printer.
clean-print-headsClean the print heads.
move-jobsMove all jobs to a different destination.
print-self-test-pagePrint a printer self-test page.
print-test-pagePrint a PostScript test page.
reject-jobsStop accepting jobs for a printer.
start-printerStart processing jobs for a printer.
stop-printerStop processing jobs for a printer.
+ + + diff --git a/doc/images/color-wheel.png b/doc/images/color-wheel.png new file mode 100644 index 0000000..4e935c4 Binary files /dev/null and b/doc/images/color-wheel.png differ diff --git a/doc/images/cups-block-diagram.png b/doc/images/cups-block-diagram.png new file mode 100644 index 0000000..810defa Binary files /dev/null and b/doc/images/cups-block-diagram.png differ diff --git a/doc/images/cups-block-diagram.svg b/doc/images/cups-block-diagram.svg new file mode 100644 index 0000000..3638f85 --- /dev/null +++ b/doc/images/cups-block-diagram.svg @@ -0,0 +1,841 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + Scheduler (cupsd) + + + + + Filter + PPD Filter + Backend + PortMonitor + + + + + + + JobFiles + Web Interface(CGI) + + + + + BerkeleyCommands + CUPSCommands + System VCommands + + + + + + + ConfigFiles + + + + + + + LogFiles + + Notifiers + EmailRSS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LPD Support(cups-lpd) + + + + Printer + + + + + + + + + + + + diff --git a/doc/images/cups-command-chain.png b/doc/images/cups-command-chain.png new file mode 100644 index 0000000..29326fc Binary files /dev/null and b/doc/images/cups-command-chain.png differ diff --git a/doc/images/cups-command-chain.svg b/doc/images/cups-command-chain.svg new file mode 100644 index 0000000..7eb3617 --- /dev/null +++ b/doc/images/cups-command-chain.svg @@ -0,0 +1,439 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + PPD + + + + OptionalCommandFilter + + + + + + + + + CommandFile + + + + + + Printer + + + + + OptionalPortMonitor + + + + + Backend + + + diff --git a/doc/images/cups-icon.png b/doc/images/cups-icon.png new file mode 100644 index 0000000..b51bff3 Binary files /dev/null and b/doc/images/cups-icon.png differ diff --git a/doc/images/cups-postscript-chain.png b/doc/images/cups-postscript-chain.png new file mode 100644 index 0000000..07bcb65 Binary files /dev/null and b/doc/images/cups-postscript-chain.png differ diff --git a/doc/images/cups-postscript-chain.svg b/doc/images/cups-postscript-chain.svg new file mode 100644 index 0000000..d1e2d3e --- /dev/null +++ b/doc/images/cups-postscript-chain.svg @@ -0,0 +1,531 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + PPD + + + + + Printer + + + + + OptionalPortMonitor + + + + + Backend + + + + OptionalPostScriptFilter + + OptionalPostScriptFilter + + + + + + + + + + + + PrintFile + + + + + + + CUPSFilters + + + CUPSFilters + + + + + diff --git a/doc/images/cups-raster-chain.png b/doc/images/cups-raster-chain.png new file mode 100644 index 0000000..00059de Binary files /dev/null and b/doc/images/cups-raster-chain.png differ diff --git a/doc/images/cups-raster-chain.svg b/doc/images/cups-raster-chain.svg new file mode 100644 index 0000000..5130c81 --- /dev/null +++ b/doc/images/cups-raster-chain.svg @@ -0,0 +1,534 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + PPD + + + + + Printer + + + + + OptionalPortMonitor + + + + + Backend + + + + OptionalPostScriptFilter + + + RequiredRasterFilter + + + + + + + + + + + + + PrintFile + + + + + + + CUPSFilters + + + CUPSFilters + + + + + diff --git a/doc/images/cups.png b/doc/images/cups.png new file mode 100644 index 0000000..b51bff3 Binary files /dev/null and b/doc/images/cups.png differ diff --git a/doc/images/cups.svg b/doc/images/cups.svg new file mode 100644 index 0000000..8d19c35 --- /dev/null +++ b/doc/images/cups.svg @@ -0,0 +1,533 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + CUPS Icon + + + Michael Sweet + + + + + Apple Inc. + + + + + + + + + + + + + + + + + + + + diff --git a/doc/images/generic.png b/doc/images/generic.png new file mode 100644 index 0000000..bf12727 Binary files /dev/null and b/doc/images/generic.png differ diff --git a/doc/images/left.gif b/doc/images/left.gif new file mode 100644 index 0000000..e820042 Binary files /dev/null and b/doc/images/left.gif differ diff --git a/doc/images/left.xcf.gz b/doc/images/left.xcf.gz new file mode 100644 index 0000000..d403e78 Binary files /dev/null and b/doc/images/left.xcf.gz differ diff --git a/doc/images/raster-organization.png b/doc/images/raster-organization.png new file mode 100644 index 0000000..c6af408 Binary files /dev/null and b/doc/images/raster-organization.png differ diff --git a/doc/images/raster-organization.svg b/doc/images/raster-organization.svg new file mode 100644 index 0000000..442032f --- /dev/null +++ b/doc/images/raster-organization.svg @@ -0,0 +1,189 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + Synchronization Word + + + Page Header 1 Page Bitmap 1 + + + + Page Header N Page Bitmap N + + + + + + diff --git a/doc/images/raster.png b/doc/images/raster.png new file mode 100644 index 0000000..6af212a Binary files /dev/null and b/doc/images/raster.png differ diff --git a/doc/images/raster.svg b/doc/images/raster.svg new file mode 100644 index 0000000..58277e7 --- /dev/null +++ b/doc/images/raster.svg @@ -0,0 +1,386 @@ + + + + + + + + + image/svg+xml + + + + + + + + BackSide + + + BackSide + + + BackSide + + + BackSide + + + BackSide + + + BackSide + + + BackSide + + + BackSide + Normalfalse + Normaltrue + ManualTumblefalse + ManualTumbletrue + Rotatedfalse + Rotatedtrue + Flippedfalse + Flippedtrue + + diff --git a/doc/images/right.gif b/doc/images/right.gif new file mode 100644 index 0000000..9ebe464 Binary files /dev/null and b/doc/images/right.gif differ diff --git a/doc/images/sample-image.png b/doc/images/sample-image.png new file mode 100644 index 0000000..c22b8cd Binary files /dev/null and b/doc/images/sample-image.png differ diff --git a/doc/images/sel.gif b/doc/images/sel.gif new file mode 100644 index 0000000..36b16bf Binary files /dev/null and b/doc/images/sel.gif differ diff --git a/doc/images/smiley.jpg b/doc/images/smiley.jpg new file mode 100644 index 0000000..0076fae Binary files /dev/null and b/doc/images/smiley.jpg differ diff --git a/doc/images/unsel.gif b/doc/images/unsel.gif new file mode 100644 index 0000000..10477fe Binary files /dev/null and b/doc/images/unsel.gif differ diff --git a/doc/images/wait.gif b/doc/images/wait.gif new file mode 100644 index 0000000..c18f421 Binary files /dev/null and b/doc/images/wait.gif differ diff --git a/doc/images/webinterface.png b/doc/images/webinterface.png new file mode 100644 index 0000000..2f0926e Binary files /dev/null and b/doc/images/webinterface.png differ diff --git a/doc/index.html.in b/doc/index.html.in new file mode 100644 index 0000000..9c18e7e --- /dev/null +++ b/doc/index.html.in @@ -0,0 +1,54 @@ + + + + + + + + + + Home - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
+
+

CUPS @CUPS_VERSION@

+

CUPS is the standards-based, open source printing system developed by Apple Inc. for macOS® and other UNIX®-like operating systems.

+
+ +
+ + + diff --git a/doc/ja/index.html.in b/doc/ja/index.html.in new file mode 100644 index 0000000..2e8990e --- /dev/null +++ b/doc/ja/index.html.in @@ -0,0 +1,54 @@ + + + + + + + + + + ホーム - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
+
+

CUPS @CUPS_VERSION@

+

CUPS は、macOS® およびその他の UNIX ® 系 OS のために、Apple Inc. によって開発された標準ベースのオープンソース印刷システムです。

+
+ +
+ + + diff --git a/doc/pt_BR/index.html.in b/doc/pt_BR/index.html.in new file mode 100644 index 0000000..1a99dbe --- /dev/null +++ b/doc/pt_BR/index.html.in @@ -0,0 +1,54 @@ + + + + + + + + + + Início - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
+
+

CUPS @CUPS_VERSION@

+

CUPS é o sistema de impressão baseado em padrões e de código aberto desenvolvido pela Apple Inc. para macOS® e outros sistemas operacionais similares ao UNIX®.

+
+ +
+ + + diff --git a/doc/robots.txt b/doc/robots.txt new file mode 100644 index 0000000..276c9c2 --- /dev/null +++ b/doc/robots.txt @@ -0,0 +1,6 @@ +# +# This file tells search engines not to index your CUPS server. +# + +User-agent: * +Disallow: / diff --git a/doc/ru/index.html.in b/doc/ru/index.html.in new file mode 100644 index 0000000..f5b6f0f --- /dev/null +++ b/doc/ru/index.html.in @@ -0,0 +1,54 @@ + + + + + + + + + + Home - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
+
+

CUPS @CUPS_VERSION@

+

CUPS — поддерживающая большинство стандартов, свободная подсистема печати, разрабатываемая компанией Apple Inc. для операционной системы macOS® и других UNIX®-подобных операционных систем.

+
+ +
+ + + diff --git a/examples/Makefile b/examples/Makefile new file mode 100644 index 0000000..09cfa32 --- /dev/null +++ b/examples/Makefile @@ -0,0 +1,204 @@ +# +# Example files makefile for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 2002-2005 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +# +# Include standard definitions... +# + +include ../Makedefs + + +# +# Examples... +# + +DRVFILES = \ + color.drv \ + constraint.drv \ + custom.drv \ + grouping.drv \ + laserjet-basic.drv \ + laserjet-pjl.drv \ + minimum.drv \ + postscript.drv \ + r300-basic.drv \ + r300-colorman.drv \ + r300-remote.drv +DATAFILES = \ + color.jpg \ + document-a4.pdf \ + document-a4.ps \ + document-letter.pdf \ + document-letter.ps \ + gray.jpg \ + onepage-a4.pdf \ + onepage-a4.ps \ + onepage-letter.pdf \ + onepage-letter.ps \ + testfile.jpg \ + testfile.pcl \ + testfile.pdf \ + testfile.ps \ + testfile.txt +TESTFILES = \ + cancel-current-job.test \ + create-job-format.test \ + create-job-sheets.test \ + create-job-timeout.test \ + create-job.test \ + create-printer-subscription.test \ + cups-create-local-printer.test \ + fax-job.test \ + get-completed-jobs.test \ + get-devices.test \ + get-job-attributes.test \ + get-job-attributes2.test \ + get-job-template-attributes.test \ + get-jobs.test \ + get-notifications.test \ + get-ppd-printer.test \ + get-ppd.test \ + get-ppds-drv-only.test \ + get-ppds-language.test \ + get-ppds-make-and-model.test \ + get-ppds-make.test \ + get-ppds-product.test \ + get-ppds-psversion.test \ + get-ppds.test \ + get-printer-attributes-suite.test \ + get-printer-attributes.test \ + get-printer-description-attributes.test \ + get-printers-printer-id.test \ + get-printers.test \ + get-subscriptions.test \ + identify-printer-display.test \ + identify-printer-multiple.test \ + identify-printer.test \ + ipp-1.1.test \ + ipp-2.0.test \ + ipp-2.1.test \ + ipp-2.2.test \ + ipp-backend.test \ + ipp-everywhere.test \ + print-job-and-wait.test \ + print-job-deflate.test \ + print-job-gzip.test \ + print-job-hold.test \ + print-job-letter.test \ + print-job-manual.test \ + print-job-media-col.test \ + print-job-password.test \ + print-job.test \ + print-uri.test \ + set-attrs-hold.test \ + validate-job.test + + +# +# Make everything... +# + +all: + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Clean everything... +# + +clean: + + +# +# Dummy depend... +# + +depend: + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + echo Installing sample PPD compiler files in $(DATADIR)/examples... + $(INSTALL_DIR) $(DATADIR)/examples + for file in $(DRVFILES); do \ + $(INSTALL_DATA) $$file $(DATADIR)/examples; \ + done + echo Installing sample ipptool files in $(DATADIR)/ipptool... + $(INSTALL_DIR) -m 755 $(DATADIR)/ipptool + for file in $(DATAFILES); do \ + $(INSTALL_COMPDATA) $$file $(DATADIR)/ipptool; \ + done + for file in $(TESTFILES); do \ + $(INSTALL_DATA) $$file $(DATADIR)/ipptool; \ + done + + +# +# Install programs... +# + +install-exec: + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall files... +# + +uninstall: + echo Uninstalling sample PPD compiler files from $(DATADIR)/examples... + for file in $(DRVFILES); do \ + $(RM) $(DATADIR)/examples/$$file; \ + done + -$(RMDIR) $(DATADIR)/examples + echo Uninstalling sample ipptool files from $(DATADIR)/ipptool... + for file in $(DATAFILES); do \ + $(RM) $(DATADIR)/ipptool/$$file; \ + done + for file in $(TESTFILES); do \ + $(RM) $(DATADIR)/ipptool/$$file; \ + done + -$(RMDIR) $(DATADIR)/ipptool diff --git a/examples/cancel-current-job.test b/examples/cancel-current-job.test new file mode 100644 index 0000000..6300231 --- /dev/null +++ b/examples/cancel-current-job.test @@ -0,0 +1,45 @@ +# Cancel the currently printing job. +# +# Usage: +# +# ./ipptool printer-uri cancel-current-jobs.test +{ + # The name of the test... + NAME "Get current job" + + # The operation to use + OPERATION Get-Jobs + + # Attributes, starting in the operation group... + GROUP operation-attributes-tag + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR integer limit 1 + ATTR name requesting-user-name $user + ATTR keyword requested-attributes job-id,job-state + + # What statuses are OK? + STATUS successful-ok + + EXPECT job-id OF-TYPE integer COUNT 1 + + # What attributes to display + DISPLAY job-id + DISPLAY job-state +} + +{ + SKIP-IF-NOT-DEFINED job-id + NAME "Cancel current job" + OPERATION Cancel-Job + GROUP operation-attributes-tag + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR integer job-id $job-id + ATTR name requesting-user-name $user + + # What statuses are OK? + STATUS successful-ok +} diff --git a/examples/color.drv b/examples/color.drv new file mode 100644 index 0000000..69984c4 --- /dev/null +++ b/examples/color.drv @@ -0,0 +1,44 @@ +// Include standard font and media definitions +#include +#include + +// List the fonts that are supported, in this case all standard +// fonts... +Font * + +// Manufacturer and version +Manufacturer "Foo" +Version 1.0 + +// Each filter provided by the driver... +Filter application/vnd.cups-raster 100 rastertofoo + +// Supported page sizes +*MediaSize Letter +MediaSize A4 + +{ + // Supported resolutions + *Resolution k 8 0 0 0 "600dpi/600 DPI" + + // Specify the model name and filename... + ModelName "FooJet 2000" + PCFileName "foojet2k.ppd" +} + +{ + // Supports color printing + ColorDevice true + + // Supported colorspaces + ColorModel Gray/Grayscale w chunky 0 + *ColorModel RGB/Color rgb chunky 0 + + // Supported resolutions + *Resolution - 8 0 0 0 "300dpi/300 DPI" + Resolution - 8 0 0 0 "600dpi/600 DPI" + + // Specify the model name and filename... + ModelName "FooJet Color" + PCFileName "foojetco.ppd" +} diff --git a/examples/color.jpg b/examples/color.jpg new file mode 100644 index 0000000..5dd98ce Binary files /dev/null and b/examples/color.jpg differ diff --git a/examples/constraint.drv b/examples/constraint.drv new file mode 100644 index 0000000..6acb7f1 --- /dev/null +++ b/examples/constraint.drv @@ -0,0 +1,48 @@ +// Include standard font and media definitions +#include +#include + +// List the fonts that are supported, in this case all standard +// fonts... +Font * + +// Manufacturer, model name, and version +Manufacturer "Foo" +ModelName "FooJet 2000" +Version 1.0 + +// Each filter provided by the driver... +Filter application/vnd.cups-raster 100 rastertofoo + +// Supported page sizes +*MediaSize Letter +MediaSize A4 + +// Supported resolutions +*Resolution k 8 0 0 0 "600dpi/600 DPI" + +// Installable Option Group +Group "InstallableOptions/Options Installed" + + // Duplexing unit option + Option "Option1/Duplexing Unit" Boolean AnySetup 10 + Choice True/Installed "" + *Choice "False/Not Installed" "" + +// General Option Group +Group General + + // Duplexing option + Option "Duplex/Two-Sided Printing" PickOne AnySetup 10 + *Choice "None/No" "<>setpagedevice" + Choice "DuplexNoTumble/Long Edge Binding" + "<>setpagedevice" + Choice "DuplexTumble/Short Edge Binding" + "<>setpagedevice" + +// Only allow duplexing if the duplexer is installed +UIConstraints "*Duplex *Option1 False" + +// Specify the name of the PPD file we want to generate... +PCFileName "foojet2k.ppd" + diff --git a/examples/create-job-format.test b/examples/create-job-format.test new file mode 100644 index 0000000..60769a0 --- /dev/null +++ b/examples/create-job-format.test @@ -0,0 +1,56 @@ +# Print a test page using create-job + send-document, specifying the +# document format. +{ + # The name of the test... + NAME "Print test page using create-job" + + # The resource to use for the POST + # RESOURCE /admin + + # The operation to use + OPERATION create-job + + # Attributes, starting in the operation group... + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR name requesting-user-name $user + + GROUP job + ATTR integer copies 1 + + # What statuses are OK? + STATUS successful-ok + STATUS successful-ok-ignored-or-substituted-attributes + + # What attributes do we expect? + EXPECT job-id + EXPECT job-uri +} +{ + # The name of the test... + NAME "... and send-document" + + # The resource to use for the POST + # RESOURCE /admin + + # The operation to use + OPERATION send-document + + # Attributes, starting in the operation group... + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR integer job-id $job-id + ATTR name requesting-user-name $user + ATTR mimetype document-format application/postscript + ATTR boolean last-document true + + FILE ../data/testprint.ps + + # What statuses are OK? + STATUS successful-ok + STATUS successful-ok-ignored-or-substituted-attributes +} diff --git a/examples/create-job-sheets.test b/examples/create-job-sheets.test new file mode 100644 index 0000000..0886186 --- /dev/null +++ b/examples/create-job-sheets.test @@ -0,0 +1,55 @@ +# Test create-job + send-document with job-sheets attribute +{ + # The name of the test... + NAME "Print test page using create-job" + + # The resource to use for the POST + # RESOURCE /admin + + # The operation to use + OPERATION create-job + + # Attributes, starting in the operation group... + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR name requesting-user-name $user + + GROUP job + ATTR integer copies 1 + ATTR name job-sheets standard + + # What statuses are OK? + STATUS successful-ok + STATUS successful-ok-ignored-or-substituted-attributes + + # What attributes do we expect? + EXPECT job-id + EXPECT job-uri +} +{ + # The name of the test... + NAME "... and send-document" + + # The resource to use for the POST + # RESOURCE /admin + + # The operation to use + OPERATION send-document + + # Attributes, starting in the operation group... + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR integer job-id $job-id + ATTR name requesting-user-name $user + ATTR boolean last-document true + + FILE ../data/testprint.ps + + # What statuses are OK? + STATUS successful-ok + STATUS successful-ok-ignored-or-substituted-attributes +} diff --git a/examples/create-job-timeout.test b/examples/create-job-timeout.test new file mode 100644 index 0000000..514924d --- /dev/null +++ b/examples/create-job-timeout.test @@ -0,0 +1,54 @@ +# Print a test page using create-job + send-document, but don't send +# last-document = true +{ + # The name of the test... + NAME "Print test page using create-job" + + # The resource to use for the POST + # RESOURCE /admin + + # The operation to use + OPERATION create-job + + # Attributes, starting in the operation group... + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR name requesting-user-name $user + + GROUP job + ATTR integer copies 1 + ATTR name job-sheets unclassified,unclassified + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT job-id + EXPECT job-uri +} +{ + # The name of the test... + NAME "... and send-document" + + # The resource to use for the POST + # RESOURCE /admin + + # The operation to use + OPERATION send-document + + # Attributes, starting in the operation group... + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR integer job-id $job-id + ATTR name requesting-user-name $user + ATTR mimetype document-format application/octet-stream + + FILE ../data/testprint.ps + + # What statuses are OK? + STATUS successful-ok +} diff --git a/examples/create-job.test b/examples/create-job.test new file mode 100644 index 0000000..7d1eb74 --- /dev/null +++ b/examples/create-job.test @@ -0,0 +1,53 @@ +# Print a test page using create-job + send-document +{ + # The name of the test... + NAME "Print test page using create-job" + + # The resource to use for the POST + # RESOURCE /admin + + # The operation to use + OPERATION create-job + + # Attributes, starting in the operation group... + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR name requesting-user-name $user + + GROUP job + ATTR integer copies 1 + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT job-id + EXPECT job-uri +} +{ + # The name of the test... + NAME "... and send-document" + + # The resource to use for the POST + # RESOURCE /admin + + # The operation to use + OPERATION send-document + + # Attributes, starting in the operation group... + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR integer job-id $job-id + ATTR name requesting-user-name $user + ATTR mimeMediaType document-format $filetype + ATTR boolean last-document true + + FILE $filename + + # What statuses are OK? + STATUS successful-ok +} diff --git a/examples/create-printer-subscription.test b/examples/create-printer-subscription.test new file mode 100644 index 0000000..8f8d3e9 --- /dev/null +++ b/examples/create-printer-subscription.test @@ -0,0 +1,56 @@ +# Create a printer subscription. +# +# Usage: +# +# ./ipptool [-d recipient=uri] printer-uri create-printer-subscription.test +{ + # The name of the test... + NAME "Create a push printer subscription" + SKIP-IF-NOT-DEFINED recipient + + # The operation to use + OPERATION Create-Printer-Subscription + + # The attributes to send + GROUP operation-attributes-tag + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + + GROUP subscription-attributes-tag + ATTR uri notify-recipient-uri $recipient + ATTR keyword notify-events printer-config-changed,printer-state-changed + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT notify-subscription-id OF-TYPE integer WITH-VALUE >0 + DISPLAY notify-subscription-id +} + +{ + # The name of the test... + NAME "Create a pull printer subscription" + SKIP-IF-DEFINED recipient + + # The operation to use + OPERATION Create-Printer-Subscription + + # The attributes to send + GROUP operation-attributes-tag + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + + GROUP subscription-attributes-tag + ATTR keyword notify-pull-method ippget + ATTR keyword notify-events printer-config-changed,printer-state-changed + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT notify-subscription-id OF-TYPE integer WITH-VALUE >0 + DISPLAY notify-subscription-id +} diff --git a/examples/cups-create-local-printer.test b/examples/cups-create-local-printer.test new file mode 100644 index 0000000..bdf4fc5 --- /dev/null +++ b/examples/cups-create-local-printer.test @@ -0,0 +1,32 @@ +# Create a local (temporary) print queue +# +# Usage: +# +# ipptool -tv -d name=... -d device=ipp://... ipp://localhost:port/ cups-create-local-printer.test +{ + # The name of the test... + NAME "Create local print queue" + + # The operation to use + OPERATION CUPS-Create-Local-Printer + + # Attributes, starting in the operation group... + GROUP operation-attributes-tag + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR name requesting-user-name $user + + GROUP printer-attributes-tag + ATTR name printer-name $name + ATTR uri device-uri $device + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT printer-is-accepting-jobs OF-TYPE boolean + EXPECT printer-state OF-TYPE enum + EXPECT printer-state-reasons OF-TYPE keyword + EXPECT printer-uri-supported OF-TYPE uri +} diff --git a/examples/custom.drv b/examples/custom.drv new file mode 100644 index 0000000..1001c4f --- /dev/null +++ b/examples/custom.drv @@ -0,0 +1,41 @@ +// Include standard font and media definitions +#include +#include + +// List the fonts that are supported, in this case all standard +// fonts... +Font * + +// Manufacturer, model name, and version +Manufacturer "Foo" +ModelName "FooJet 2000" +Version 1.0 + +// Each filter provided by the driver... +Filter application/vnd.cups-raster 100 rastertofoo + +// Supported page sizes +*MediaSize Letter +MediaSize A4 + +// Supported resolutions +*Resolution k 8 0 0 0 "600dpi/600 DPI" + +// Option Group +Group "Footasm" + + // Boolean option + Option "fooEnhance/Resolution Enhancement" Boolean AnySetup 10 + *Choice True/Yes "<>setpagedevice" + Choice False/No "<>setpagedevice" + + // Multiple choice option + Option "fooOutputType/Output Quality" PickOne AnySetup 10 + *Choice "Auto/Automatic Selection" "<>setpagedevice" + Choice "Text/Optimize for Text" "<>setpagedevice" + Choice "Graph/Optimize for Graphics" "<>setpagedevice" + Choice "Photo/Optimize for Photos" "<>setpagedevice" + +// Specify the name of the PPD file we want to generate... +PCFileName "foojet2k.ppd" + diff --git a/examples/document-a4.pdf b/examples/document-a4.pdf new file mode 100644 index 0000000..41266cb Binary files /dev/null and b/examples/document-a4.pdf differ diff --git a/examples/document-a4.ps b/examples/document-a4.ps new file mode 100644 index 0000000..a979459 --- /dev/null +++ b/examples/document-a4.ps @@ -0,0 +1,135164 @@ +%!PS-Adobe-3.0 +%XpdfVersion: 3.03 +%%Creator: Scribus 1.4.0.rc5 +%%Title: +%%LanguageLevel: 3 +%%DocumentSuppliedResources: (atend) +%%DocumentMedia: plain 595 842 0 () () +%%BoundingBox: 0 0 595 842 +%%Pages: 4 +%%EndComments +%%BeginDefaults +%%PageMedia: plain +%%EndDefaults +%%BeginProlog +%%BeginResource: procset xpdf 3.03 0 +%%Copyright: Copyright 1996-2011 Glyph & Cog, LLC +/xpdf 75 dict def xpdf begin +% PDF special state +/pdfDictSize 15 def +/pdfSetup { + /setpagedevice where { + pop 2 dict begin + /Policies 1 dict dup begin /PageSize 6 def end def + { /Duplex true def } if + currentdict end setpagedevice + } { + pop + } ifelse +} def +/pdfSetupPaper { + 2 array astore + /setpagedevice where { + pop 2 dict begin + /PageSize exch def + /ImagingBBox null def + currentdict end setpagedevice + } { + pop + } ifelse +} def +/pdfStartPage { + pdfDictSize dict begin + /pdfFillCS [] def + /pdfFillXform {} def + /pdfStrokeCS [] def + /pdfStrokeXform {} def + /pdfFill [0] def + /pdfStroke [0] def + /pdfFillOP false def + /pdfStrokeOP false def + /pdfLastFill false def + /pdfLastStroke false def + /pdfTextMat [1 0 0 1 0 0] def + /pdfFontSize 0 def + /pdfCharSpacing 0 def + /pdfTextRender 0 def + /pdfTextRise 0 def + /pdfWordSpacing 0 def + /pdfHorizScaling 1 def + /pdfTextClipPath [] def +} def +/pdfEndPage { end } def +% PDF color state +/cs { /pdfFillXform exch def dup /pdfFillCS exch def + setcolorspace } def +/CS { /pdfStrokeXform exch def dup /pdfStrokeCS exch def + setcolorspace } def +/sc { pdfLastFill not { pdfFillCS setcolorspace } if + dup /pdfFill exch def aload pop pdfFillXform setcolor + /pdfLastFill true def /pdfLastStroke false def } def +/SC { pdfLastStroke not { pdfStrokeCS setcolorspace } if + dup /pdfStroke exch def aload pop pdfStrokeXform setcolor + /pdfLastStroke true def /pdfLastFill false def } def +/op { /pdfFillOP exch def + pdfLastFill { pdfFillOP setoverprint } if } def +/OP { /pdfStrokeOP exch def + pdfLastStroke { pdfStrokeOP setoverprint } if } def +/fCol { + pdfLastFill not { + pdfFillCS setcolorspace + pdfFill aload pop pdfFillXform setcolor + pdfFillOP setoverprint + /pdfLastFill true def /pdfLastStroke false def + } if +} def +/sCol { + pdfLastStroke not { + pdfStrokeCS setcolorspace + pdfStroke aload pop pdfStrokeXform setcolor + pdfStrokeOP setoverprint + /pdfLastStroke true def /pdfLastFill false def + } if +} def +% build a font +/pdfMakeFont { + 4 3 roll findfont + 4 2 roll matrix scale makefont + dup length dict begin + { 1 index /FID ne { def } { pop pop } ifelse } forall + /Encoding exch def + currentdict + end + definefont pop +} def +/pdfMakeFont16 { + exch findfont + dup length dict begin + { 1 index /FID ne { def } { pop pop } ifelse } forall + /WMode exch def + currentdict + end + definefont pop +} def +/pdfMakeFont16L3 { + 1 index /CIDFont resourcestatus { + pop pop 1 index /CIDFont findresource /CIDFontType known + } { + false + } ifelse + { + 0 eq { /Identity-H } { /Identity-V } ifelse + exch 1 array astore composefont pop + } { + pdfMakeFont16 + } ifelse +} def +% graphics state operators +/q { gsave pdfDictSize dict begin } def +/Q { + end grestore + /pdfLastFill where { + pop + pdfLastFill { + pdfFillOP setoverprint + } { + pdfStrokeOP setoverprint + } ifelse + } if +} def +/cm { concat } def +/d { setdash } def +/i { setflat } def +/j { setlinejoin } def +/J { setlinecap } def +/M { setmiterlimit } def +/w { setlinewidth } def +% path segment operators +/m { moveto } def +/l { lineto } def +/c { curveto } def +/re { 4 2 roll moveto 1 index 0 rlineto 0 exch rlineto + neg 0 rlineto closepath } def +/h { closepath } def +% path painting operators +/S { sCol stroke } def +/Sf { fCol stroke } def +/f { fCol fill } def +/f* { fCol eofill } def +% clipping operators +/W { clip newpath } def +/W* { eoclip newpath } def +/Ws { strokepath clip newpath } def +% text state operators +/Tc { /pdfCharSpacing exch def } def +/Tf { dup /pdfFontSize exch def + dup pdfHorizScaling mul exch matrix scale + pdfTextMat matrix concatmatrix dup 4 0 put dup 5 0 put + exch findfont exch makefont setfont } def +/Tr { /pdfTextRender exch def } def +/Ts { /pdfTextRise exch def } def +/Tw { /pdfWordSpacing exch def } def +/Tz { /pdfHorizScaling exch def } def +% text positioning operators +/Td { pdfTextMat transform moveto } def +/Tm { /pdfTextMat exch def } def +% text string operators +/xyshow where { + pop + /xyshow2 { + dup length array + 0 2 2 index length 1 sub { + 2 index 1 index 2 copy get 3 1 roll 1 add get + pdfTextMat dtransform + 4 2 roll 2 copy 6 5 roll put 1 add 3 1 roll dup 4 2 roll put + } for + exch pop + xyshow + } def +}{ + /xyshow2 { + currentfont /FontType get 0 eq { + 0 2 3 index length 1 sub { + currentpoint 4 index 3 index 2 getinterval show moveto + 2 copy get 2 index 3 2 roll 1 add get + pdfTextMat dtransform rmoveto + } for + } { + 0 1 3 index length 1 sub { + currentpoint 4 index 3 index 1 getinterval show moveto + 2 copy 2 mul get 2 index 3 2 roll 2 mul 1 add get + pdfTextMat dtransform rmoveto + } for + } ifelse + pop pop + } def +} ifelse +/cshow where { + pop + /xycp { + 0 3 2 roll + { + pop pop currentpoint 3 2 roll + 1 string dup 0 4 3 roll put false charpath moveto + 2 copy get 2 index 2 index 1 add get + pdfTextMat dtransform rmoveto + 2 add + } exch cshow + pop pop + } def +}{ + /xycp { + currentfont /FontType get 0 eq { + 0 2 3 index length 1 sub { + currentpoint 4 index 3 index 2 getinterval false charpath moveto + 2 copy get 2 index 3 2 roll 1 add get + pdfTextMat dtransform rmoveto + } for + } { + 0 1 3 index length 1 sub { + currentpoint 4 index 3 index 1 getinterval false charpath moveto + 2 copy 2 mul get 2 index 3 2 roll 2 mul 1 add get + pdfTextMat dtransform rmoveto + } for + } ifelse + pop pop + } def +} ifelse +/Tj { + fCol + 0 pdfTextRise pdfTextMat dtransform rmoveto + currentpoint 4 2 roll + pdfTextRender 1 and 0 eq { + 2 copy xyshow2 + } if + pdfTextRender 3 and dup 1 eq exch 2 eq or { + 3 index 3 index moveto + 2 copy + currentfont /FontType get 3 eq { fCol } { sCol } ifelse + xycp currentpoint stroke moveto + } if + pdfTextRender 4 and 0 ne { + 4 2 roll moveto xycp + /pdfTextClipPath [ pdfTextClipPath aload pop + {/moveto cvx} + {/lineto cvx} + {/curveto cvx} + {/closepath cvx} + pathforall ] def + currentpoint newpath moveto + } { + pop pop pop pop + } ifelse + 0 pdfTextRise neg pdfTextMat dtransform rmoveto +} def +/TJm { 0.001 mul pdfFontSize mul pdfHorizScaling mul neg 0 + pdfTextMat dtransform rmoveto } def +/TJmV { 0.001 mul pdfFontSize mul neg 0 exch + pdfTextMat dtransform rmoveto } def +/Tclip { pdfTextClipPath cvx exec clip newpath + /pdfTextClipPath [] def } def +% Level 2/3 image operators +/pdfImBuf 100 string def +/pdfImStr { + 2 copy exch length lt { + 2 copy get exch 1 add exch + } { + () + } ifelse +} def +/skipEOD { + { currentfile pdfImBuf readline + not { pop exit } if + (%-EOD-) eq { exit } if } loop +} def +/pdfIm { image skipEOD } def +/pdfMask { + /ReusableStreamDecode filter + skipEOD + /maskStream exch def +} def +/pdfMaskEnd { maskStream closefile } def +/pdfMaskInit { + /maskArray exch def + /maskIdx 0 def +} def +/pdfMaskSrc { + maskIdx maskArray length lt { + maskArray maskIdx get + /maskIdx maskIdx 1 add def + } { + () + } ifelse +} def +/pdfImM { fCol imagemask skipEOD } def +/pr { 2 index 2 index 3 2 roll putinterval 4 add } def +/pdfImClip { + gsave + 0 2 4 index length 1 sub { + dup 4 index exch 2 copy + get 5 index div put + 1 add 3 index exch 2 copy + get 3 index div put + } for + pop pop rectclip +} def +/pdfImClipEnd { grestore } def +% shading operators +/colordelta { + false 0 1 3 index length 1 sub { + dup 4 index exch get 3 index 3 2 roll get sub abs 0.004 gt { + pop true + } if + } for + exch pop exch pop +} def +/funcCol { func n array astore } def +/funcSH { + dup 0 eq { + true + } { + dup 6 eq { + false + } { + 4 index 4 index funcCol dup + 6 index 4 index funcCol dup + 3 1 roll colordelta 3 1 roll + 5 index 5 index funcCol dup + 3 1 roll colordelta 3 1 roll + 6 index 8 index funcCol dup + 3 1 roll colordelta 3 1 roll + colordelta or or or + } ifelse + } ifelse + { + 1 add + 4 index 3 index add 0.5 mul exch 4 index 3 index add 0.5 mul exch + 6 index 6 index 4 index 4 index 4 index funcSH + 2 index 6 index 6 index 4 index 4 index funcSH + 6 index 2 index 4 index 6 index 4 index funcSH + 5 3 roll 3 2 roll funcSH pop pop + } { + pop 3 index 2 index add 0.5 mul 3 index 2 index add 0.5 mul + funcCol sc + dup 4 index exch mat transform m + 3 index 3 index mat transform l + 1 index 3 index mat transform l + mat transform l pop pop h f* + } ifelse +} def +/axialCol { + dup 0 lt { + pop t0 + } { + dup 1 gt { + pop t1 + } { + dt mul t0 add + } ifelse + } ifelse + func n array astore +} def +/axialSH { + dup 2 lt { + true + } { + dup 8 eq { + false + } { + 2 index axialCol 2 index axialCol colordelta + } ifelse + } ifelse + { + 1 add 3 1 roll 2 copy add 0.5 mul + dup 4 3 roll exch 4 index axialSH + exch 3 2 roll axialSH + } { + pop 2 copy add 0.5 mul + axialCol sc + exch dup dx mul x0 add exch dy mul y0 add + 3 2 roll dup dx mul x0 add exch dy mul y0 add + dx abs dy abs ge { + 2 copy yMin sub dy mul dx div add yMin m + yMax sub dy mul dx div add yMax l + 2 copy yMax sub dy mul dx div add yMax l + yMin sub dy mul dx div add yMin l + h f* + } { + exch 2 copy xMin sub dx mul dy div add xMin exch m + xMax sub dx mul dy div add xMax exch l + exch 2 copy xMax sub dx mul dy div add xMax exch l + xMin sub dx mul dy div add xMin exch l + h f* + } ifelse + } ifelse +} def +/radialCol { + dup t0 lt { + pop t0 + } { + dup t1 gt { + pop t1 + } if + } ifelse + func n array astore +} def +/radialSH { + dup 0 eq { + true + } { + dup 8 eq { + false + } { + 2 index dt mul t0 add radialCol + 2 index dt mul t0 add radialCol colordelta + } ifelse + } ifelse + { + 1 add 3 1 roll 2 copy add 0.5 mul + dup 4 3 roll exch 4 index radialSH + exch 3 2 roll radialSH + } { + pop 2 copy add 0.5 mul dt mul t0 add + radialCol sc + encl { + exch dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add + 0 360 arc h + dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add + 360 0 arcn h f + } { + 2 copy + dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add + a1 a2 arcn + dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add + a2 a1 arcn h + dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add + a1 a2 arc + dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add + a2 a1 arc h f + } ifelse + } ifelse +} def +end +%%EndResource +/CIDInit /ProcSet findresource begin +10 dict begin + begincmap + /CMapType 1 def + /CMapName /Identity-H def + /CIDSystemInfo 3 dict dup begin + /Registry (Adobe) def + /Ordering (Identity) def + /Supplement 0 def + end def + 1 begincodespacerange + <0000> + endcodespacerange + 0 usefont + 1 begincidrange + <0000> 0 + endcidrange + endcmap + currentdict CMapName exch /CMap defineresource pop +end +10 dict begin + begincmap + /CMapType 1 def + /CMapName /Identity-V def + /CIDSystemInfo 3 dict dup begin + /Registry (Adobe) def + /Ordering (Identity) def + /Supplement 0 def + end def + /WMode 1 def + 1 begincodespacerange + <0000> + endcodespacerange + 0 usefont + 1 begincidrange + <0000> 0 + endcidrange + endcmap + currentdict CMapName exch /CMap defineresource pop +end +end +%%EndProlog +%%BeginSetup +xpdf begin +%%BeginResource: font T3_35_0 +8 dict begin +/FontType 3 def +/FontMatrix [0.001 0 0 0.001 0 0] def +/FontBBox [-1 -210 777 728] def +/Encoding 256 array def + 0 1 255 { Encoding exch /.notdef put } for +/BuildGlyph { + exch /CharProcs get exch + 2 copy known not { pop /.notdef } if + get exec +} bind def +/BuildChar { + 1 index /Encoding get exch get + 1 index /BuildGlyph get exec +} bind def +/CharProcs 23 dict def +CharProcs begin +/B { +673 0 73 0 673 716 setcachedevice +q +73.25 715.82812 m +73.25 715.82812 359.375 715.82812 359.375 715.82812 c +359.375 715.82812 444.34375 715.82812 486.07813 708.73438 c +486.07813 708.73438 527.82812 701.65625 560.78125 679.1875 c +560.78125 679.1875 593.75 656.73438 615.71875 619.375 c +615.71875 619.375 637.70312 582.03125 637.70312 535.64062 c +637.70312 535.64062 637.70312 485.35938 610.59375 443.35938 c +610.59375 443.35938 583.5 401.375 537.10938 380.375 c +537.10938 380.375 602.54688 361.32812 637.70312 315.42188 c +637.70312 315.42188 672.85938 269.53125 672.85938 207.51562 c +672.85938 207.51562 672.85938 158.6875 650.14062 112.54688 c +650.14062 112.54688 627.4375 66.40625 588.125 38.8125 c +588.125 38.8125 548.82812 11.23438 491.21875 4.89062 c +491.21875 4.89062 455.07812 0.98438 316.89062 0 c +316.89062 0 73.25 0 73.25 0 c +73.25 0 73.25 715.82812 73.25 715.82812 c +73.25 715.82812 73.25 715.82812 73.25 715.82812 c +h +217.78125 596.6875 m +217.78125 596.6875 217.78125 431.15625 217.78125 431.15625 c +217.78125 431.15625 312.5 431.15625 312.5 431.15625 c +312.5 431.15625 396.96875 431.15625 417.48438 433.59375 c +417.48438 433.59375 454.59375 437.98438 475.82813 459.21875 c +475.82813 459.21875 497.07812 480.46875 497.07812 515.14062 c +497.07812 515.14062 497.07812 548.34375 478.76563 569.09375 c +478.76563 569.09375 460.45312 589.84375 424.3125 594.23438 c +424.3125 594.23438 402.82812 596.6875 300.78125 596.6875 c +300.78125 596.6875 217.78125 596.6875 217.78125 596.6875 c +217.78125 596.6875 217.78125 596.6875 217.78125 596.6875 c +h +217.78125 312.01562 m +217.78125 312.01562 217.78125 120.60938 217.78125 120.60938 c +217.78125 120.60938 351.5625 120.60938 351.5625 120.60938 c +351.5625 120.60938 429.6875 120.60938 450.6875 125 c +450.6875 125 482.90625 130.85938 503.17188 153.5625 c +503.17188 153.5625 523.4375 176.26562 523.4375 214.35938 c +523.4375 214.35938 523.4375 246.57812 507.8125 269.03125 c +507.8125 269.03125 492.1875 291.5 462.64063 301.75 c +462.64063 301.75 433.10938 312.01562 334.46875 312.01562 c +334.46875 312.01562 217.78125 312.01562 217.78125 312.01562 c +h +f* +Q +} def +/C { +671 0 47 -12 671 728 setcachedevice +q +530.76562 263.1875 m +530.76562 263.1875 670.90625 218.75 670.90625 218.75 c +670.90625 218.75 638.67188 101.5625 563.71875 44.67188 c +563.71875 44.67188 488.76562 -12.20312 373.53125 -12.20312 c +373.53125 -12.20312 230.95312 -12.20312 139.15625 85.20312 c +139.15625 85.20312 47.35938 182.625 47.35938 351.5625 c +47.35938 351.5625 47.35938 530.28125 139.64062 629.15625 c +139.64062 629.15625 231.9375 728.03125 382.32812 728.03125 c +382.32812 728.03125 513.67188 728.03125 595.70312 650.39062 c +595.70312 650.39062 644.53125 604.5 668.95312 518.5625 c +668.95312 518.5625 525.875 484.375 525.875 484.375 c +525.875 484.375 513.1875 540.04688 472.90625 572.26562 c +472.90625 572.26562 432.625 604.5 375 604.5 c +375 604.5 295.40625 604.5 245.84375 547.35938 c +245.84375 547.35938 196.29688 490.23438 196.29688 362.3125 c +196.29688 362.3125 196.29688 226.5625 245.125 168.9375 c +245.125 168.9375 293.95312 111.32812 372.07812 111.32812 c +372.07812 111.32812 429.6875 111.32812 471.1875 147.95313 c +471.1875 147.95313 512.70312 184.57812 530.76562 263.1875 c +h +f* +Q +} def +/G { +717 0 48 -12 717 728 setcachedevice +q +405.76562 263.1875 m +405.76562 263.1875 405.76562 383.79688 405.76562 383.79688 c +405.76562 383.79688 717.28125 383.79688 717.28125 383.79688 c +717.28125 383.79688 717.28125 98.64062 717.28125 98.64062 c +717.28125 98.64062 671.875 54.6875 585.6875 21.23438 c +585.6875 21.23438 499.51562 -12.20312 411.14062 -12.20312 c +411.14062 -12.20312 298.82812 -12.20312 215.32812 34.90625 c +215.32812 34.90625 131.84375 82.03125 89.84375 169.67188 c +89.84375 169.67188 47.85938 257.32812 47.85938 360.35938 c +47.85938 360.35938 47.85938 472.17188 94.73438 559.07812 c +94.73438 559.07812 141.60938 646 231.9375 692.39062 c +231.9375 692.39062 300.78125 728.03125 403.32812 728.03125 c +403.32812 728.03125 536.625 728.03125 611.57812 672.125 c +611.57812 672.125 686.53125 616.21875 708.01562 517.57812 c +708.01562 517.57812 564.45312 490.71875 564.45312 490.71875 c +564.45312 490.71875 549.3125 543.45312 507.5625 573.96875 c +507.5625 573.96875 465.82812 604.5 403.32812 604.5 c +403.32812 604.5 308.59375 604.5 252.6875 544.4375 c +252.6875 544.4375 196.78125 484.375 196.78125 366.21875 c +196.78125 366.21875 196.78125 238.76562 253.42188 175.04688 c +253.42188 175.04688 310.0625 111.32812 401.85938 111.32812 c +401.85938 111.32812 447.26562 111.32812 492.92188 129.14062 c +492.92188 129.14062 538.57812 146.96875 571.29688 172.35937 c +571.29688 172.35937 571.29688 263.1875 571.29688 263.1875 c +571.29688 263.1875 405.76562 263.1875 405.76562 263.1875 c +h +f* +Q +} def +/M { +762 0 71 0 762 716 setcachedevice +q +70.79688 0 m +70.79688 0 70.79688 715.82812 70.79688 715.82812 c +70.79688 715.82812 287.10938 715.82812 287.10938 715.82812 c +287.10938 715.82812 417 227.54688 417 227.54688 c +417 227.54688 545.40625 715.82812 545.40625 715.82812 c +545.40625 715.82812 762.20312 715.82812 762.20312 715.82812 c +762.20312 715.82812 762.20312 0 762.20312 0 c +762.20312 0 627.9375 0 627.9375 0 c +627.9375 0 627.9375 563.48438 627.9375 563.48438 c +627.9375 563.48438 485.84375 0 485.84375 0 c +485.84375 0 346.6875 0 346.6875 0 c +346.6875 0 205.07812 563.48438 205.07812 563.48438 c +205.07812 563.48438 205.07812 0 205.07812 0 c +205.07812 0 70.79688 0 70.79688 0 c +h +f* +Q +} def +/R { +717 0 73 0 717 716 setcachedevice +q +73.25 0 m +73.25 0 73.25 715.82812 73.25 715.82812 c +73.25 715.82812 377.4375 715.82812 377.4375 715.82812 c +377.4375 715.82812 492.1875 715.82812 544.1875 696.53125 c +544.1875 696.53125 596.1875 677.25 627.4375 627.92188 c +627.4375 627.92188 658.6875 578.60938 658.6875 515.14062 c +658.6875 515.14062 658.6875 434.57812 611.32812 382.07812 c +611.32812 382.07812 563.96875 329.59375 469.73438 315.92188 c +469.73438 315.92188 516.60938 288.57812 547.125 255.85938 c +547.125 255.85938 577.64062 223.14062 629.39062 139.65625 c +629.39062 139.65625 716.79688 0 716.79688 0 c +716.79688 0 543.95312 0 543.95312 0 c +543.95312 0 439.45312 155.76563 439.45312 155.76563 c +439.45312 155.76563 383.79688 239.26562 363.28125 260.98438 c +363.28125 260.98438 342.78125 282.71875 319.82812 290.76562 c +319.82812 290.76562 296.875 298.82812 247.07812 298.82812 c +247.07812 298.82812 217.78125 298.82812 217.78125 298.82812 c +217.78125 298.82812 217.78125 0 217.78125 0 c +217.78125 0 73.25 0 73.25 0 c +73.25 0 73.25 0 73.25 0 c +h +217.78125 413.09375 m +217.78125 413.09375 324.70312 413.09375 324.70312 413.09375 c +324.70312 413.09375 428.71875 413.09375 454.59375 421.875 c +454.59375 421.875 480.46875 430.67188 495.10938 452.15625 c +495.10938 452.15625 509.76562 473.64062 509.76562 505.85938 c +509.76562 505.85938 509.76562 542 490.46875 564.20312 c +490.46875 564.20312 471.1875 586.42188 436.03125 592.28125 c +436.03125 592.28125 418.45312 594.73438 330.5625 594.73438 c +330.5625 594.73438 217.78125 594.73438 217.78125 594.73438 c +217.78125 594.73438 217.78125 413.09375 217.78125 413.09375 c +h +f* +Q +} def +/T { +590 0 21 0 590 716 setcachedevice +q +233.89062 0 m +233.89062 0 233.89062 594.73438 233.89062 594.73438 c +233.89062 594.73438 21.48438 594.73438 21.48438 594.73438 c +21.48438 594.73438 21.48438 715.82812 21.48438 715.82812 c +21.48438 715.82812 590.32812 715.82812 590.32812 715.82812 c +590.32812 715.82812 590.32812 594.73438 590.32812 594.73438 c +590.32812 594.73438 378.42188 594.73438 378.42188 594.73438 c +378.42188 594.73438 378.42188 0 378.42188 0 c +378.42188 0 233.89062 0 233.89062 0 c +h +f* +Q +} def +/Y { +668 0 -1 0 668 716 setcachedevice +q +260.75 0 m +260.75 0 260.75 301.26562 260.75 301.26562 c +260.75 301.26562 -1.46875 715.82812 -1.46875 715.82812 c +-1.46875 715.82812 167.96875 715.82812 167.96875 715.82812 c +167.96875 715.82812 336.42188 432.625 336.42188 432.625 c +336.42188 432.625 501.46875 715.82812 501.46875 715.82812 c +501.46875 715.82812 667.96875 715.82812 667.96875 715.82812 c +667.96875 715.82812 404.78125 300.29688 404.78125 300.29688 c +404.78125 300.29688 404.78125 0 404.78125 0 c +404.78125 0 260.75 0 260.75 0 c +h +f* +Q +} def +/a { +522 0 36 -12 522 530 setcachedevice +q +174.3125 360.35938 m +174.3125 360.35938 49.8125 382.8125 49.8125 382.8125 c +49.8125 382.8125 70.79688 458.01562 122.0625 494.14062 c +122.0625 494.14062 173.34375 530.28125 274.42188 530.28125 c +274.42188 530.28125 366.21875 530.28125 411.14062 508.54688 c +411.14062 508.54688 456.0625 486.8125 474.35938 453.35938 c +474.35938 453.35938 492.67188 419.92188 492.67188 330.5625 c +492.67188 330.5625 491.21875 170.40625 491.21875 170.40625 c +491.21875 170.40625 491.21875 102.04687 497.79688 69.57812 c +497.79688 69.57812 504.39062 37.10938 522.46875 0 c +522.46875 0 386.71875 0 386.71875 0 c +386.71875 0 381.34375 13.67188 373.53125 40.53125 c +373.53125 40.53125 370.125 52.73438 368.65625 56.64062 c +368.65625 56.64062 333.5 22.46875 293.45312 5.375 c +293.45312 5.375 253.42188 -11.71875 208.01562 -11.71875 c +208.01562 -11.71875 127.9375 -11.71875 81.78125 31.73437 c +81.78125 31.73437 35.64062 75.20312 35.64062 141.60938 c +35.64062 141.60938 35.64062 185.54688 56.64062 219.96875 c +56.64062 219.96875 77.64062 254.39062 115.48438 272.70312 c +115.48438 272.70312 153.32812 291.01562 224.60938 304.6875 c +224.60938 304.6875 320.79688 322.75 357.90625 338.375 c +357.90625 338.375 357.90625 352.04688 357.90625 352.04688 c +357.90625 352.04688 357.90625 391.60938 338.375 408.45312 c +338.375 408.45312 318.84375 425.29688 264.65625 425.29688 c +264.65625 425.29688 228.03125 425.29688 207.51562 410.89062 c +207.51562 410.89062 187.01562 396.48438 174.3125 360.35938 c +174.3125 360.35938 174.3125 360.35938 174.3125 360.35938 c +h +357.90625 249.03125 m +357.90625 249.03125 331.54688 240.23438 274.40625 228.03125 c +274.40625 228.03125 217.28125 215.82812 199.70312 204.10938 c +199.70312 204.10938 172.85938 185.0625 172.85938 155.76563 c +172.85938 155.76563 172.85938 126.95312 194.34375 105.95312 c +194.34375 105.95312 215.82812 84.96875 249.03125 84.96875 c +249.03125 84.96875 286.14062 84.96875 319.82812 109.375 c +319.82812 109.375 344.73438 127.9375 352.54688 154.78125 c +352.54688 154.78125 357.90625 172.35937 357.90625 221.6875 c +357.90625 221.6875 357.90625 249.03125 357.90625 249.03125 c +h +f* +Q +} def +/d { +547 0 41 -12 547 716 setcachedevice +q +547.35938 0 m +547.35938 0 419.92188 0 419.92188 0 c +419.92188 0 419.92188 76.17188 419.92188 76.17188 c +419.92188 76.17188 388.1875 31.73437 344.96875 10 c +344.96875 10 301.76562 -11.71875 257.8125 -11.71875 c +257.8125 -11.71875 168.45312 -11.71875 104.73438 60.29688 c +104.73438 60.29688 41.01562 132.32813 41.01562 261.23438 c +41.01562 261.23438 41.01562 393.0625 103.03125 461.67188 c +103.03125 461.67188 165.04688 530.28125 259.76562 530.28125 c +259.76562 530.28125 346.6875 530.28125 410.15625 458.01562 c +410.15625 458.01562 410.15625 715.82812 410.15625 715.82812 c +410.15625 715.82812 547.35938 715.82812 547.35938 715.82812 c +547.35938 715.82812 547.35938 0 547.35938 0 c +547.35938 0 547.35938 0 547.35938 0 c +h +181.15625 270.51562 m +181.15625 270.51562 181.15625 187.5 204.10938 150.39062 c +204.10938 150.39062 237.3125 96.6875 296.875 96.6875 c +296.875 96.6875 344.23438 96.6875 377.4375 136.96875 c +377.4375 136.96875 410.64062 177.25 410.64062 257.32812 c +410.64062 257.32812 410.64062 346.6875 378.40625 385.98438 c +378.40625 385.98438 346.1875 425.29688 295.90625 425.29688 c +295.90625 425.29688 247.07812 425.29688 214.10938 386.46875 c +214.10938 386.46875 181.15625 347.65625 181.15625 270.51562 c +h +f* +Q +} def +/e { +519 0 32 -12 519 530 setcachedevice +q +372.07812 165.04688 m +372.07812 165.04688 508.79688 142.09375 508.79688 142.09375 c +508.79688 142.09375 482.42188 66.89062 425.53125 27.57812 c +425.53125 27.57812 368.65625 -11.71875 283.20312 -11.71875 c +283.20312 -11.71875 147.95312 -11.71875 83.01562 76.65625 c +83.01562 76.65625 31.73437 147.46875 31.73437 255.375 c +31.73437 255.375 31.73437 384.28125 99.10938 457.28125 c +99.10938 457.28125 166.5 530.28125 269.53125 530.28125 c +269.53125 530.28125 385.25 530.28125 452.14062 453.85938 c +452.14062 453.85938 519.04688 377.4375 516.10938 219.73438 c +516.10938 219.73438 172.35938 219.73438 172.35938 219.73438 c +172.35938 219.73438 173.82812 158.6875 205.5625 124.75 c +205.5625 124.75 237.3125 90.82812 284.67188 90.82812 c +284.67188 90.82812 316.89062 90.82812 338.85938 108.40625 c +338.85938 108.40625 360.84375 125.98438 372.07812 165.04688 c +372.07812 165.04688 372.07812 165.04688 372.07812 165.04688 c +h +379.89062 303.71875 m +379.89062 303.71875 378.42188 363.28125 349.125 394.28125 c +349.125 394.28125 319.82812 425.29688 277.82812 425.29688 c +277.82812 425.29688 232.90625 425.29688 203.60938 392.57812 c +203.60938 392.57812 174.3125 359.85938 174.8125 303.71875 c +174.8125 303.71875 379.89062 303.71875 379.89062 303.71875 c +h +f* +Q +} def +/f { +362 0 12 0 362 728 setcachedevice +q +11.71875 518.5625 m +11.71875 518.5625 87.89062 518.5625 87.89062 518.5625 c +87.89062 518.5625 87.89062 557.625 87.89062 557.625 c +87.89062 557.625 87.89062 623.04688 101.79688 655.26562 c +101.79688 655.26562 115.71875 687.5 153.07812 707.76562 c +153.07812 707.76562 190.4375 728.03125 247.5625 728.03125 c +247.5625 728.03125 306.15625 728.03125 362.3125 710.45312 c +362.3125 710.45312 343.75 614.75 343.75 614.75 c +343.75 614.75 311.03125 622.5625 280.76562 622.5625 c +280.76562 622.5625 250.98438 622.5625 238.03125 608.64062 c +238.03125 608.64062 225.09375 594.73438 225.09375 555.17188 c +225.09375 555.17188 225.09375 518.5625 225.09375 518.5625 c +225.09375 518.5625 327.64062 518.5625 327.64062 518.5625 c +327.64062 518.5625 327.64062 410.64062 327.64062 410.64062 c +327.64062 410.64062 225.09375 410.64062 225.09375 410.64062 c +225.09375 410.64062 225.09375 0 225.09375 0 c +225.09375 0 87.89062 0 87.89062 0 c +87.89062 0 87.89062 410.64062 87.89062 410.64062 c +87.89062 410.64062 11.71875 410.64062 11.71875 410.64062 c +11.71875 410.64062 11.71875 518.5625 11.71875 518.5625 c +h +f* +Q +} def +/g { +547 0 41 -210 547 530 setcachedevice +q +59.07812 -34.1875 m +59.07812 -34.1875 215.82812 -53.21875 215.82812 -53.21875 c +215.82812 -53.21875 219.73438 -80.5625 233.89062 -90.82812 c +233.89062 -90.82812 253.42188 -105.46875 295.40625 -105.46875 c +295.40625 -105.46875 349.125 -105.46875 375.98438 -89.35938 c +375.98438 -89.35938 394.04688 -78.60938 403.32812 -54.6875 c +403.32812 -54.6875 409.67188 -37.59375 409.67188 8.29687 c +409.67188 8.29687 409.67188 83.98438 409.67188 83.98438 c +409.67188 83.98438 348.14062 0 254.39062 0 c +254.39062 0 149.90625 0 88.875 88.375 c +88.875 88.375 41.01562 158.20312 41.01562 262.20312 c +41.01562 262.20312 41.01562 392.57812 103.75 461.42188 c +103.75 461.42188 166.5 530.28125 259.76562 530.28125 c +259.76562 530.28125 355.95312 530.28125 418.45312 445.79688 c +418.45312 445.79688 418.45312 518.5625 418.45312 518.5625 c +418.45312 518.5625 546.875 518.5625 546.875 518.5625 c +546.875 518.5625 546.875 53.21875 546.875 53.21875 c +546.875 53.21875 546.875 -38.57812 531.73438 -83.98438 c +531.73438 -83.98438 516.60938 -129.39062 489.26562 -155.26562 c +489.26562 -155.26562 461.92188 -181.15625 416.26563 -195.79688 c +416.26563 -195.79688 370.60938 -210.45312 300.78125 -210.45312 c +300.78125 -210.45312 168.95312 -210.45312 113.76562 -165.28125 c +113.76562 -165.28125 58.59375 -120.125 58.59375 -50.78125 c +58.59375 -50.78125 58.59375 -43.95312 59.07812 -34.1875 c +59.07812 -34.1875 59.07812 -34.1875 59.07812 -34.1875 c +h +181.64062 270.01562 m +181.64062 270.01562 181.64062 187.5 213.625 149.17188 c +213.625 149.17188 245.60938 110.84375 292.48438 110.84375 c +292.48438 110.84375 342.78125 110.84375 377.4375 150.14062 c +377.4375 150.14062 412.10938 189.45312 412.10938 266.60938 c +412.10938 266.60938 412.10938 347.17188 378.90625 386.23438 c +378.90625 386.23438 345.70312 425.29688 294.92188 425.29688 c +294.92188 425.29688 245.60938 425.29688 213.625 386.96875 c +213.625 386.96875 181.64062 348.64062 181.64062 270.01562 c +h +f* +Q +} def +/h { +543 0 71 0 543 716 setcachedevice +q +208.5 715.82812 m +208.5 715.82812 208.5 452.64062 208.5 452.64062 c +208.5 452.64062 274.90625 530.28125 367.1875 530.28125 c +367.1875 530.28125 414.54688 530.28125 452.625 512.70312 c +452.625 512.70312 490.71875 495.125 510 467.78125 c +510 467.78125 529.29688 440.4375 536.375 407.23438 c +536.375 407.23438 543.45312 374.03125 543.45312 304.20312 c +543.45312 304.20312 543.45312 0 543.45312 0 c +543.45312 0 406.25 0 406.25 0 c +406.25 0 406.25 273.92188 406.25 273.92188 c +406.25 273.92188 406.25 355.46875 398.4375 377.4375 c +398.4375 377.4375 390.625 399.42188 370.84375 412.35938 c +370.84375 412.35938 351.07812 425.29688 321.29688 425.29688 c +321.29688 425.29688 287.10938 425.29688 260.25 408.6875 c +260.25 408.6875 233.40625 392.09375 220.95312 358.64062 c +220.95312 358.64062 208.5 325.20312 208.5 259.76562 c +208.5 259.76562 208.5 0 208.5 0 c +208.5 0 71.29688 0 71.29688 0 c +71.29688 0 71.29688 715.82812 71.29688 715.82812 c +71.29688 715.82812 208.5 715.82812 208.5 715.82812 c +h +f* +Q +} def +/i { +209 0 72 0 209 716 setcachedevice +q +71.78125 588.875 m +71.78125 588.875 71.78125 715.82812 71.78125 715.82812 c +71.78125 715.82812 208.98438 715.82812 208.98438 715.82812 c +208.98438 715.82812 208.98438 588.875 208.98438 588.875 c +208.98438 588.875 71.78125 588.875 71.78125 588.875 c +71.78125 588.875 71.78125 588.875 71.78125 588.875 c +h +71.78125 0 m +71.78125 0 71.78125 518.5625 71.78125 518.5625 c +71.78125 518.5625 208.98438 518.5625 208.98438 518.5625 c +208.98438 518.5625 208.98438 0 208.98438 0 c +208.98438 0 71.78125 0 71.78125 0 c +h +f* +Q +} def +/l { +209 0 72 0 209 716 setcachedevice +q +71.78125 0 m +71.78125 0 71.78125 715.82812 71.78125 715.82812 c +71.78125 715.82812 208.98438 715.82812 208.98438 715.82812 c +208.98438 715.82812 208.98438 0 208.98438 0 c +208.98438 0 71.78125 0 71.78125 0 c +h +f* +Q +} def +/n { +543 0 71 0 543 530 setcachedevice +q +543.45312 0 m +543.45312 0 406.25 0 406.25 0 c +406.25 0 406.25 264.65625 406.25 264.65625 c +406.25 264.65625 406.25 348.64062 397.45312 373.29688 c +397.45312 373.29688 388.67188 397.95312 368.89062 411.625 c +368.89062 411.625 349.125 425.29688 321.29688 425.29688 c +321.29688 425.29688 285.64062 425.29688 257.3125 405.76562 c +257.3125 405.76562 229 386.23438 218.5 354 c +218.5 354 208.01562 321.78125 208.01562 234.85938 c +208.01562 234.85938 208.01562 0 208.01562 0 c +208.01562 0 70.79688 0 70.79688 0 c +70.79688 0 70.79688 518.5625 70.79688 518.5625 c +70.79688 518.5625 198.25 518.5625 198.25 518.5625 c +198.25 518.5625 198.25 442.39062 198.25 442.39062 c +198.25 442.39062 266.10938 530.28125 369.14062 530.28125 c +369.14062 530.28125 414.54688 530.28125 452.14062 513.92188 c +452.14062 513.92188 489.75 497.5625 509.03125 472.17188 c +509.03125 472.17188 528.32812 446.78125 535.89062 414.54688 c +535.89062 414.54688 543.45312 382.32812 543.45312 322.26562 c +543.45312 322.26562 543.45312 0 543.45312 0 c +h +f* +Q +} def +/o { +575 0 40 -12 575 530 setcachedevice +q +40.04688 266.60938 m +40.04688 266.60938 40.04688 334.96875 73.73438 398.92188 c +73.73438 398.92188 107.42188 462.89062 169.1875 496.57812 c +169.1875 496.57812 230.95312 530.28125 307.125 530.28125 c +307.125 530.28125 424.8125 530.28125 500 453.85938 c +500 453.85938 575.20312 377.4375 575.20312 260.75 c +575.20312 260.75 575.20312 143.0625 499.26563 65.67188 c +499.26563 65.67188 423.34375 -11.71875 308.10938 -11.71875 c +308.10938 -11.71875 236.8125 -11.71875 172.10938 20.5 c +172.10938 20.5 107.42188 52.73438 73.73438 114.98438 c +73.73438 114.98438 40.04688 177.25 40.04688 266.60938 c +40.04688 266.60938 40.04688 266.60938 40.04688 266.60938 c +h +180.67188 259.28125 m +180.67188 259.28125 180.67188 182.125 217.28125 141.10937 c +217.28125 141.10937 253.90625 100.09375 307.625 100.09375 c +307.625 100.09375 361.32812 100.09375 397.70312 141.10937 c +397.70312 141.10937 434.07812 182.125 434.07812 260.25 c +434.07812 260.25 434.07812 336.42188 397.70312 377.4375 c +397.70312 377.4375 361.32812 418.45312 307.625 418.45312 c +307.625 418.45312 253.90625 418.45312 217.28125 377.4375 c +217.28125 377.4375 180.67188 336.42188 180.67188 259.28125 c +h +f* +Q +} def +/p { +574 0 68 -197 574 530 setcachedevice +q +67.875 518.5625 m +67.875 518.5625 195.79688 518.5625 195.79688 518.5625 c +195.79688 518.5625 195.79688 442.39062 195.79688 442.39062 c +195.79688 442.39062 220.70312 481.45312 263.1875 505.85938 c +263.1875 505.85938 305.67188 530.28125 357.42188 530.28125 c +357.42188 530.28125 447.75 530.28125 510.73438 459.46875 c +510.73438 459.46875 573.73438 388.67188 573.73438 262.20312 c +573.73438 262.20312 573.73438 132.32813 510.25 60.29688 c +510.25 60.29688 446.78125 -11.71875 356.45312 -11.71875 c +356.45312 -11.71875 313.48438 -11.71875 278.5625 5.375 c +278.5625 5.375 243.65625 22.46875 205.07812 63.96875 c +205.07812 63.96875 205.07812 -197.26562 205.07812 -197.26562 c +205.07812 -197.26562 67.875 -197.26562 67.875 -197.26562 c +67.875 -197.26562 67.875 518.5625 67.875 518.5625 c +67.875 518.5625 67.875 518.5625 67.875 518.5625 c +h +203.60938 268.0625 m +203.60938 268.0625 203.60938 180.67188 238.28125 138.92188 c +238.28125 138.92188 272.95312 97.17188 322.75 97.17188 c +322.75 97.17188 370.60938 97.17188 402.34375 135.5 c +402.34375 135.5 434.07812 173.82812 434.07812 261.23438 c +434.07812 261.23438 434.07812 342.78125 401.35938 382.32812 c +401.35938 382.32812 368.65625 421.875 320.3125 421.875 c +320.3125 421.875 270.01562 421.875 236.8125 383.04688 c +236.8125 383.04688 203.60938 344.23438 203.60938 268.0625 c +h +f* +Q +} def +/r { +402 0 66 0 402 530 setcachedevice +q +203.125 0 m +203.125 0 65.92188 0 65.92188 0 c +65.92188 0 65.92188 518.5625 65.92188 518.5625 c +65.92188 518.5625 193.35938 518.5625 193.35938 518.5625 c +193.35938 518.5625 193.35938 444.82812 193.35938 444.82812 c +193.35938 444.82812 226.07812 497.07812 252.20312 513.67188 c +252.20312 513.67188 278.32812 530.28125 311.53125 530.28125 c +311.53125 530.28125 358.40625 530.28125 401.85938 504.39062 c +401.85938 504.39062 359.375 384.76562 359.375 384.76562 c +359.375 384.76562 324.70312 407.23438 294.92188 407.23438 c +294.92188 407.23438 266.10938 407.23438 246.09375 391.35938 c +246.09375 391.35938 226.07812 375.48438 214.59375 333.98438 c +214.59375 333.98438 203.125 292.48438 203.125 160.15625 c +203.125 160.15625 203.125 0 203.125 0 c +h +f* +Q +} def +/t { +321 0 15 -12 321 702 setcachedevice +q +309.57812 518.5625 m +309.57812 518.5625 309.57812 409.1875 309.57812 409.1875 c +309.57812 409.1875 215.82812 409.1875 215.82812 409.1875 c +215.82812 409.1875 215.82812 200.20312 215.82812 200.20312 c +215.82812 200.20312 215.82812 136.71875 218.5 126.21875 c +218.5 126.21875 221.1875 115.71875 230.70312 108.875 c +230.70312 108.875 240.23438 102.04687 253.90625 102.04687 c +253.90625 102.04687 272.95312 102.04687 309.07812 115.23438 c +309.07812 115.23438 320.79688 8.79688 320.79688 8.79688 c +320.79688 8.79688 272.95312 -11.71875 212.40625 -11.71875 c +212.40625 -11.71875 175.29688 -11.71875 145.5 0.73438 c +145.5 0.73438 115.71875 13.1875 101.79688 32.95312 c +101.79688 32.95312 87.89062 52.73438 82.51562 86.42187 c +82.51562 86.42187 78.125 110.35938 78.125 183.10938 c +78.125 183.10938 78.125 409.1875 78.125 409.1875 c +78.125 409.1875 15.14062 409.1875 15.14062 409.1875 c +15.14062 409.1875 15.14062 518.5625 15.14062 518.5625 c +15.14062 518.5625 78.125 518.5625 78.125 518.5625 c +78.125 518.5625 78.125 621.57812 78.125 621.57812 c +78.125 621.57812 215.82812 701.65625 215.82812 701.65625 c +215.82812 701.65625 215.82812 518.5625 215.82812 518.5625 c +215.82812 518.5625 309.57812 518.5625 309.57812 518.5625 c +h +f* +Q +} def +/u { +541 0 69 -12 541 519 setcachedevice +q +413.09375 0 m +413.09375 0 413.09375 77.64063 413.09375 77.64063 c +413.09375 77.64063 384.76562 36.14062 338.625 12.20312 c +338.625 12.20312 292.48438 -11.71875 241.21875 -11.71875 c +241.21875 -11.71875 188.96875 -11.71875 147.45312 11.23438 c +147.45312 11.23438 105.95312 34.1875 87.39062 75.6875 c +87.39062 75.6875 68.84375 117.1875 68.84375 190.4375 c +68.84375 190.4375 68.84375 518.5625 68.84375 518.5625 c +68.84375 518.5625 206.0625 518.5625 206.0625 518.5625 c +206.0625 518.5625 206.0625 280.28125 206.0625 280.28125 c +206.0625 280.28125 206.0625 170.90625 213.625 146.23438 c +213.625 146.23438 221.1875 121.57812 241.20312 107.17188 c +241.20312 107.17188 261.23438 92.78125 292 92.78125 c +292 92.78125 327.15625 92.78125 354.98438 112.0625 c +354.98438 112.0625 382.8125 131.34375 393.0625 159.90625 c +393.0625 159.90625 403.32812 188.48438 403.32812 299.8125 c +403.32812 299.8125 403.32812 518.5625 403.32812 518.5625 c +403.32812 518.5625 540.53125 518.5625 540.53125 518.5625 c +540.53125 518.5625 540.53125 0 540.53125 0 c +540.53125 0 413.09375 0 413.09375 0 c +h +f* +Q +} def +/w { +777 0 4 0 777 519 setcachedevice +q +168.45312 0 m +168.45312 0 4.39062 518.5625 4.39062 518.5625 c +4.39062 518.5625 137.70312 518.5625 137.70312 518.5625 c +137.70312 518.5625 234.85938 178.71875 234.85938 178.71875 c +234.85938 178.71875 324.21875 518.5625 324.21875 518.5625 c +324.21875 518.5625 456.54688 518.5625 456.54688 518.5625 c +456.54688 518.5625 542.96875 178.71875 542.96875 178.71875 c +542.96875 178.71875 642.09375 518.5625 642.09375 518.5625 c +642.09375 518.5625 777.34375 518.5625 777.34375 518.5625 c +777.34375 518.5625 610.84375 0 610.84375 0 c +610.84375 0 479 0 479 0 c +479 0 389.65625 333.5 389.65625 333.5 c +389.65625 333.5 301.76562 0 301.76562 0 c +301.76562 0 168.45312 0 168.45312 0 c +h +f* +Q +} def +/y { +540 0 7 -210 540 519 setcachedevice +q +6.84375 518.5625 m +6.84375 518.5625 152.82812 518.5625 152.82812 518.5625 c +152.82812 518.5625 276.85938 150.39062 276.85938 150.39062 c +276.85938 150.39062 397.95312 518.5625 397.95312 518.5625 c +397.95312 518.5625 540.04688 518.5625 540.04688 518.5625 c +540.04688 518.5625 356.9375 19.53125 356.9375 19.53125 c +356.9375 19.53125 324.21875 -70.79688 324.21875 -70.79688 c +324.21875 -70.79688 306.15625 -116.21875 289.79688 -140.14062 c +289.79688 -140.14062 273.4375 -164.0625 252.1875 -178.95312 c +252.1875 -178.95312 230.95312 -193.84375 199.95312 -202.14062 c +199.95312 -202.14062 168.95312 -210.45312 129.89062 -210.45312 c +129.89062 -210.45312 90.32812 -210.45312 52.25 -202.15625 c +52.25 -202.15625 40.04688 -94.73438 40.04688 -94.73438 c +40.04688 -94.73438 72.26562 -101.07812 98.14062 -101.07812 c +98.14062 -101.07812 146 -101.07812 168.9375 -73 c +168.9375 -73 191.89062 -44.92188 204.10938 -1.46875 c +204.10938 -1.46875 6.84375 518.5625 6.84375 518.5625 c +h +f* +Q +} def +end +currentdict end +/T3_35_0 exch definefont pop +%%EndResource +/F35_0 /T3_35_0 1 1 +[ /B/C/G/M/R/T/Y/a + /d/e/f/g/h/i/l/n + /o/p/r/t/u/w/y/.notdef + /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /space/exclam/quotedbl/numbersign/dollar/percent/ampersand/quoteright + /parenleft/parenright/asterisk/plus/comma/hyphen/period/slash + /zero/one/two/three/four/five/six/seven + /eight/nine/colon/semicolon/less/equal/greater/question + /at/A/B/C/D/E/F/G + /H/I/J/K/L/M/N/O + /P/Q/R/S/T/U/V/W + /X/Y/Z/bracketleft/backslash/bracketright/asciicircum/underscore + /quoteleft/a/b/c/d/e/f/g + /h/i/j/k/l/m/n/o + /p/q/r/s/t/u/v/w + /x/y/z/braceleft/bar/braceright/asciitilde/.notdef + /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /.notdef/exclamdown/cent/sterling/fraction/yen/florin/section + /currency/quotesingle/quotedblleft/guillemotleft/guilsinglleft/guilsinglright/fi/fl + /.notdef/endash/dagger/daggerdbl/periodcentered/.notdef/paragraph/bullet + /quotesinglbase/quotedblbase/quotedblright/guillemotright/ellipsis/perthousand/.notdef/questiondown + /.notdef/grave/acute/circumflex/tilde/macron/breve/dotaccent + /dieresis/.notdef/ring/cedilla/.notdef/hungarumlaut/ogonek/caron + /emdash/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /.notdef/AE/.notdef/ordfeminine/.notdef/.notdef/.notdef/.notdef + /Lslash/Oslash/OE/ordmasculine/.notdef/.notdef/.notdef/.notdef + /.notdef/ae/.notdef/.notdef/.notdef/dotlessi/.notdef/.notdef + /lslash/oslash/oe/germandbls/.notdef/.notdef/.notdef/.notdef] +pdfMakeFont +%%BeginResource: font T3_82_0 +8 dict begin +/FontType 3 def +/FontMatrix [0.001 0 0 0.001 0 0] def +/FontBBox [-46 -210 769 729] def +/Encoding 256 array def + 0 1 255 { Encoding exch /.notdef put } for +/BuildGlyph { + exch /CharProcs get exch + 2 copy known not { pop /.notdef } if + get exec +} bind def +/BuildChar { + 1 index /Encoding get exch get + 1 index /BuildGlyph get exec +} bind def +/CharProcs 43 dict def +CharProcs begin +/comma { +189 0 83 -142 189 100 setcachedevice +q +88.875 0 m +88.875 0 88.875 100.09375 88.875 100.09375 c +88.875 100.09375 188.96875 100.09375 188.96875 100.09375 c +188.96875 100.09375 188.96875 0 188.96875 0 c +188.96875 0 188.96875 -55.17188 169.4375 -89.10938 c +169.4375 -89.10938 149.90625 -123.04688 107.42188 -141.60938 c +107.42188 -141.60938 83.01562 -104 83.01562 -104 c +83.01562 -104 110.84375 -91.79688 124.01562 -68.10938 c +124.01562 -68.10938 137.20312 -44.4375 138.67188 0 c +138.67188 0 88.875 0 88.875 0 c +h +f* +Q +} def +/hyphen { +302 0 32 215 302 303 setcachedevice +q +31.73437 214.84375 m +31.73437 214.84375 31.73437 303.21875 31.73437 303.21875 c +31.73437 303.21875 301.76562 303.21875 301.76562 303.21875 c +301.76562 303.21875 301.76562 214.84375 301.76562 214.84375 c +301.76562 214.84375 31.73437 214.84375 31.73437 214.84375 c +h +f* +Q +} def +/period { +191 0 91 0 191 100 setcachedevice +q +90.82812 0 m +90.82812 0 90.82812 100.09375 90.82812 100.09375 c +90.82812 100.09375 190.92188 100.09375 190.92188 100.09375 c +190.92188 100.09375 190.92188 0 190.92188 0 c +190.92188 0 90.82812 0 90.82812 0 c +h +f* +Q +} def +/one { +373 0 109 0 373 719 setcachedevice +q +372.5625 0 m +372.5625 0 284.67188 0 284.67188 0 c +284.67188 0 284.67188 560.0625 284.67188 560.0625 c +284.67188 560.0625 252.9375 529.78125 201.42188 499.5 c +201.42188 499.5 149.90625 469.23438 108.89062 454.10938 c +108.89062 454.10938 108.89062 539.0625 108.89062 539.0625 c +108.89062 539.0625 182.625 573.73438 237.79688 623.04688 c +237.79688 623.04688 292.96875 672.35938 315.92188 718.75 c +315.92188 718.75 372.5625 718.75 372.5625 718.75 c +372.5625 718.75 372.5625 0 372.5625 0 c +h +f* +Q +} def +/two { +503 0 29 0 503 719 setcachedevice +q +503.42188 84.46875 m +503.42188 84.46875 503.42188 0 503.42188 0 c +503.42188 0 30.28125 0 30.28125 0 c +30.28125 0 29.29688 31.73437 40.53125 61.03125 c +40.53125 61.03125 58.59375 109.375 98.39062 156.25 c +98.39062 156.25 138.1875 203.125 213.375 264.65625 c +213.375 264.65625 330.07812 360.35938 371.09375 416.26562 c +371.09375 416.26562 412.10938 472.17188 412.10938 521.96875 c +412.10938 521.96875 412.10938 574.21875 374.75 610.10938 c +374.75 610.10938 337.40625 646 277.34375 646 c +277.34375 646 213.875 646 175.78125 607.90625 c +175.78125 607.90625 137.70312 569.82812 137.20312 502.4375 c +137.20312 502.4375 46.875 511.71875 46.875 511.71875 c +46.875 511.71875 56.15625 612.79688 116.70312 665.76562 c +116.70312 665.76562 177.25 718.75 279.29688 718.75 c +279.29688 718.75 382.32812 718.75 442.375 661.625 c +442.375 661.625 502.4375 604.5 502.4375 520.01562 c +502.4375 520.01562 502.4375 477.04688 484.85938 435.54688 c +484.85938 435.54688 467.28125 394.04688 426.51563 348.14062 c +426.51563 348.14062 385.75 302.25 291.01562 222.17188 c +291.01562 222.17188 211.92188 155.76563 189.45312 132.07812 c +189.45312 132.07812 167 108.40625 152.34375 84.46875 c +152.34375 84.46875 503.42188 84.46875 503.42188 84.46875 c +h +f* +Q +} def +/three { +511 0 42 -13 511 719 setcachedevice +q +42 188.96875 m +42 188.96875 129.89062 200.6875 129.89062 200.6875 c +129.89062 200.6875 145.01562 125.98438 181.39062 93.01562 c +181.39062 93.01562 217.78125 60.0625 270.01562 60.0625 c +270.01562 60.0625 332.03125 60.0625 374.75 103.03125 c +374.75 103.03125 417.48438 146 417.48438 209.46875 c +417.48438 209.46875 417.48438 270.01562 377.92188 309.32812 c +377.92188 309.32812 338.375 348.64062 277.34375 348.64062 c +277.34375 348.64062 252.4375 348.64062 215.32812 338.875 c +215.32812 338.875 225.09375 416.01562 225.09375 416.01562 c +225.09375 416.01562 233.89062 415.04688 239.26562 415.04688 c +239.26562 415.04688 295.40625 415.04688 340.32812 444.34375 c +340.32812 444.34375 385.25 473.64062 385.25 534.67188 c +385.25 534.67188 385.25 583.01562 352.53125 614.75 c +352.53125 614.75 319.82812 646.48438 268.0625 646.48438 c +268.0625 646.48438 216.79688 646.48438 182.60938 614.25 c +182.60938 614.25 148.4375 582.03125 138.67188 517.57812 c +138.67188 517.57812 50.78125 533.20312 50.78125 533.20312 c +50.78125 533.20312 66.89062 621.57812 124.01562 670.15625 c +124.01562 670.15625 181.15625 718.75 266.10938 718.75 c +266.10938 718.75 324.70312 718.75 374.01562 693.59375 c +374.01562 693.59375 423.34375 668.45312 449.46875 625 c +449.46875 625 475.59375 581.54688 475.59375 532.71875 c +475.59375 532.71875 475.59375 486.32812 450.6875 448.23438 c +450.6875 448.23438 425.78125 410.15625 376.95312 387.70312 c +376.95312 387.70312 440.4375 373.04688 475.59375 326.90625 c +475.59375 326.90625 510.75 280.76562 510.75 211.42188 c +510.75 211.42188 510.75 117.67187 442.39062 52.48438 c +442.39062 52.48438 374.03125 -12.70312 269.53125 -12.70312 c +269.53125 -12.70312 175.29688 -12.70312 113.03125 43.45312 c +113.03125 43.45312 50.78125 99.60938 42 188.96875 c +h +f* +Q +} def +/four { +508 0 13 0 508 716 setcachedevice +q +323.25 0 m +323.25 0 323.25 171.39063 323.25 171.39063 c +323.25 171.39063 12.70313 171.39063 12.70313 171.39063 c +12.70313 171.39063 12.70313 251.95312 12.70313 251.95312 c +12.70313 251.95312 339.35938 715.82812 339.35938 715.82812 c +339.35938 715.82812 411.14062 715.82812 411.14062 715.82812 c +411.14062 715.82812 411.14062 251.95312 411.14062 251.95312 c +411.14062 251.95312 507.8125 251.95312 507.8125 251.95312 c +507.8125 251.95312 507.8125 171.39063 507.8125 171.39063 c +507.8125 171.39063 411.14062 171.39063 411.14062 171.39063 c +411.14062 171.39063 411.14062 0 411.14062 0 c +411.14062 0 323.25 0 323.25 0 c +323.25 0 323.25 0 323.25 0 c +h +323.25 251.95312 m +323.25 251.95312 323.25 574.70312 323.25 574.70312 c +323.25 574.70312 99.125 251.95312 99.125 251.95312 c +99.125 251.95312 323.25 251.95312 323.25 251.95312 c +h +f* +Q +} def +/semicolon { +189 0 83 -142 189 519 setcachedevice +q +88.875 418.45312 m +88.875 418.45312 88.875 518.5625 88.875 518.5625 c +88.875 518.5625 188.96875 518.5625 188.96875 518.5625 c +188.96875 518.5625 188.96875 418.45312 188.96875 418.45312 c +188.96875 418.45312 88.875 418.45312 88.875 418.45312 c +88.875 418.45312 88.875 418.45312 88.875 418.45312 c +h +88.875 0 m +88.875 0 88.875 100.09375 88.875 100.09375 c +88.875 100.09375 188.96875 100.09375 188.96875 100.09375 c +188.96875 100.09375 188.96875 0 188.96875 0 c +188.96875 0 188.96875 -55.17188 169.4375 -89.10938 c +169.4375 -89.10938 149.90625 -123.04688 107.42188 -141.60938 c +107.42188 -141.60938 83.01562 -104 83.01562 -104 c +83.01562 -104 110.84375 -91.79688 124.01562 -68.10938 c +124.01562 -68.10938 137.20312 -44.4375 138.67188 0 c +138.67188 0 88.875 0 88.875 0 c +h +f* +Q +} def +/A { +668 0 -1 0 668 716 setcachedevice +q +-1.46875 0 m +-1.46875 0 273.4375 715.82812 273.4375 715.82812 c +273.4375 715.82812 375.48438 715.82812 375.48438 715.82812 c +375.48438 715.82812 668.45312 0 668.45312 0 c +668.45312 0 560.54688 0 560.54688 0 c +560.54688 0 477.04688 216.79688 477.04688 216.79688 c +477.04688 216.79688 177.73438 216.79688 177.73438 216.79688 c +177.73438 216.79688 99.125 0 99.125 0 c +99.125 0 -1.46875 0 -1.46875 0 c +-1.46875 0 -1.46875 0 -1.46875 0 c +h +205.07812 293.95312 m +205.07812 293.95312 447.75 293.95312 447.75 293.95312 c +447.75 293.95312 373.04688 492.1875 373.04688 492.1875 c +373.04688 492.1875 338.875 582.51562 322.26562 640.625 c +322.26562 640.625 308.59375 571.78125 283.6875 503.90625 c +283.6875 503.90625 205.07812 293.95312 205.07812 293.95312 c +h +f* +Q +} def +/C { +683 0 50 -12 683 728 setcachedevice +q +587.89062 250.98438 m +587.89062 250.98438 682.625 227.04688 682.625 227.04688 c +682.625 227.04688 652.82812 110.35938 575.4375 49.07812 c +575.4375 49.07812 498.04688 -12.20312 386.23438 -12.20312 c +386.23438 -12.20312 270.51562 -12.20312 198 34.90625 c +198 34.90625 125.48438 82.03125 87.64062 171.39063 c +87.64062 171.39063 49.8125 260.75 49.8125 363.28125 c +49.8125 363.28125 49.8125 475.09375 92.53125 558.34375 c +92.53125 558.34375 135.25 641.60938 214.10938 684.8125 c +214.10938 684.8125 292.96875 728.03125 387.70312 728.03125 c +387.70312 728.03125 495.125 728.03125 568.35938 673.34375 c +568.35938 673.34375 641.60938 618.65625 670.40625 519.53125 c +670.40625 519.53125 577.15625 497.5625 577.15625 497.5625 c +577.15625 497.5625 552.25 575.6875 504.875 611.32812 c +504.875 611.32812 457.51562 646.96875 385.75 646.96875 c +385.75 646.96875 303.21875 646.96875 247.79688 607.42188 c +247.79688 607.42188 192.39063 567.875 169.92188 501.21875 c +169.92188 501.21875 147.46875 434.57812 147.46875 363.76562 c +147.46875 363.76562 147.46875 272.46875 174.07812 204.34375 c +174.07812 204.34375 200.6875 136.23438 256.82812 102.53125 c +256.82812 102.53125 312.98438 68.84375 378.42188 68.84375 c +378.42188 68.84375 458.01562 68.84375 513.1875 114.73438 c +513.1875 114.73438 568.35938 160.64062 587.89062 250.98438 c +h +f* +Q +} def +/D { +669 0 77 0 669 716 setcachedevice +q +77.15625 0 m +77.15625 0 77.15625 715.82812 77.15625 715.82812 c +77.15625 715.82812 323.73438 715.82812 323.73438 715.82812 c +323.73438 715.82812 407.23438 715.82812 451.17188 705.5625 c +451.17188 705.5625 512.70312 691.40625 556.15625 654.29688 c +556.15625 654.29688 612.79688 606.45312 640.875 531.98438 c +640.875 531.98438 668.95312 457.51562 668.95312 361.8125 c +668.95312 361.8125 668.95312 280.28125 649.90625 217.28125 c +649.90625 217.28125 630.85938 154.29688 601.07812 113.03125 c +601.07812 113.03125 571.29688 71.78125 535.89062 48.09375 c +535.89062 48.09375 500.48438 24.42188 450.4375 12.20312 c +450.4375 12.20312 400.39062 0 335.45312 0 c +335.45312 0 77.15625 0 77.15625 0 c +77.15625 0 77.15625 0 77.15625 0 c +h +171.875 84.46875 m +171.875 84.46875 324.70312 84.46875 324.70312 84.46875 c +324.70312 84.46875 395.51562 84.46875 435.79688 97.65625 c +435.79688 97.65625 476.07812 110.84375 500 134.76562 c +500 134.76562 533.6875 168.45312 552.48438 225.34375 c +552.48438 225.34375 571.29688 282.23438 571.29688 363.28125 c +571.29688 363.28125 571.29688 475.59375 534.42188 535.89062 c +534.42188 535.89062 497.5625 596.1875 444.82812 616.70312 c +444.82812 616.70312 406.73438 631.34375 322.26562 631.34375 c +322.26562 631.34375 171.875 631.34375 171.875 631.34375 c +171.875 631.34375 171.875 84.46875 171.875 84.46875 c +h +f* +Q +} def +/E { +613 0 79 0 613 716 setcachedevice +q +79.10938 0 m +79.10938 0 79.10938 715.82812 79.10938 715.82812 c +79.10938 715.82812 596.6875 715.82812 596.6875 715.82812 c +596.6875 715.82812 596.6875 631.34375 596.6875 631.34375 c +596.6875 631.34375 173.82812 631.34375 173.82812 631.34375 c +173.82812 631.34375 173.82812 412.10938 173.82812 412.10938 c +173.82812 412.10938 569.82812 412.10938 569.82812 412.10938 c +569.82812 412.10938 569.82812 328.125 569.82812 328.125 c +569.82812 328.125 173.82812 328.125 173.82812 328.125 c +173.82812 328.125 173.82812 84.46875 173.82812 84.46875 c +173.82812 84.46875 613.28125 84.46875 613.28125 84.46875 c +613.28125 84.46875 613.28125 0 613.28125 0 c +613.28125 0 79.10938 0 79.10938 0 c +h +f* +Q +} def +/F { +565 0 82 0 565 716 setcachedevice +q +82.03125 0 m +82.03125 0 82.03125 715.82812 82.03125 715.82812 c +82.03125 715.82812 564.9375 715.82812 564.9375 715.82812 c +564.9375 715.82812 564.9375 631.34375 564.9375 631.34375 c +564.9375 631.34375 176.76562 631.34375 176.76562 631.34375 c +176.76562 631.34375 176.76562 409.67188 176.76562 409.67188 c +176.76562 409.67188 512.70312 409.67188 512.70312 409.67188 c +512.70312 409.67188 512.70312 325.20312 512.70312 325.20312 c +512.70312 325.20312 176.76562 325.20312 176.76562 325.20312 c +176.76562 325.20312 176.76562 0 176.76562 0 c +176.76562 0 82.03125 0 82.03125 0 c +h +f* +Q +} def +/I { +188 0 93 0 188 716 setcachedevice +q +93.26562 0 m +93.26562 0 93.26562 715.82812 93.26562 715.82812 c +93.26562 715.82812 187.98438 715.82812 187.98438 715.82812 c +187.98438 715.82812 187.98438 0 187.98438 0 c +187.98438 0 93.26562 0 93.26562 0 c +h +f* +Q +} def +/L { +521 0 73 0 521 716 setcachedevice +q +73.25 0 m +73.25 0 73.25 715.82812 73.25 715.82812 c +73.25 715.82812 167.96875 715.82812 167.96875 715.82812 c +167.96875 715.82812 167.96875 84.46875 167.96875 84.46875 c +167.96875 84.46875 520.51562 84.46875 520.51562 84.46875 c +520.51562 84.46875 520.51562 0 520.51562 0 c +520.51562 0 73.25 0 73.25 0 c +h +f* +Q +} def +/M { +757 0 74 0 757 716 setcachedevice +q +74.21875 0 m +74.21875 0 74.21875 715.82812 74.21875 715.82812 c +74.21875 715.82812 216.79688 715.82812 216.79688 715.82812 c +216.79688 715.82812 386.23438 208.98438 386.23438 208.98438 c +386.23438 208.98438 409.67188 138.1875 420.40625 103.03125 c +420.40625 103.03125 432.625 142.09375 458.5 217.78125 c +458.5 217.78125 629.89062 715.82812 629.89062 715.82812 c +629.89062 715.82812 757.32812 715.82812 757.32812 715.82812 c +757.32812 715.82812 757.32812 0 757.32812 0 c +757.32812 0 666.01562 0 666.01562 0 c +666.01562 0 666.01562 599.125 666.01562 599.125 c +666.01562 599.125 458.01562 0 458.01562 0 c +458.01562 0 372.5625 0 372.5625 0 c +372.5625 0 165.53125 609.375 165.53125 609.375 c +165.53125 609.375 165.53125 0 165.53125 0 c +165.53125 0 74.21875 0 74.21875 0 c +h +f* +Q +} def +/N { +640 0 76 0 640 716 setcachedevice +q +76.17188 0 m +76.17188 0 76.17188 715.82812 76.17188 715.82812 c +76.17188 715.82812 173.34375 715.82812 173.34375 715.82812 c +173.34375 715.82812 549.3125 153.8125 549.3125 153.8125 c +549.3125 153.8125 549.3125 715.82812 549.3125 715.82812 c +549.3125 715.82812 640.14062 715.82812 640.14062 715.82812 c +640.14062 715.82812 640.14062 0 640.14062 0 c +640.14062 0 542.96875 0 542.96875 0 c +542.96875 0 167 562.5 167 562.5 c +167 562.5 167 0 167 0 c +167 0 76.17188 0 76.17188 0 c +h +f* +Q +} def +/P { +624 0 77 0 624 716 setcachedevice +q +77.15625 0 m +77.15625 0 77.15625 715.82812 77.15625 715.82812 c +77.15625 715.82812 347.17188 715.82812 347.17188 715.82812 c +347.17188 715.82812 418.45312 715.82812 456.0625 708.98438 c +456.0625 708.98438 508.79688 700.20312 544.4375 675.53125 c +544.4375 675.53125 580.07812 650.875 601.79688 606.4375 c +601.79688 606.4375 623.53125 562.01562 623.53125 508.79688 c +623.53125 508.79688 623.53125 417.48438 565.42188 354.25 c +565.42188 354.25 507.32812 291.01562 355.46875 291.01562 c +355.46875 291.01562 171.875 291.01562 171.875 291.01562 c +171.875 291.01562 171.875 0 171.875 0 c +171.875 0 77.15625 0 77.15625 0 c +77.15625 0 77.15625 0 77.15625 0 c +h +171.875 375.48438 m +171.875 375.48438 356.9375 375.48438 356.9375 375.48438 c +356.9375 375.48438 448.73438 375.48438 487.29688 409.65625 c +487.29688 409.65625 525.875 443.84375 525.875 505.85938 c +525.875 505.85938 525.875 550.78125 503.17188 582.76562 c +503.17188 582.76562 480.46875 614.75 443.35938 625 c +443.35938 625 419.4375 631.34375 354.98438 631.34375 c +354.98438 631.34375 171.875 631.34375 171.875 631.34375 c +171.875 631.34375 171.875 375.48438 171.875 375.48438 c +h +f* +Q +} def +/Q { +741 0 43 -56 741 729 setcachedevice +q +619.625 76.65625 m +619.625 76.65625 685.54688 31.25 741.21875 10.25 c +741.21875 10.25 713.375 -55.67188 713.375 -55.67188 c +713.375 -55.67188 636.23438 -27.82812 559.57812 32.23438 c +559.57812 32.23438 479.98438 -12.20312 383.79688 -12.20312 c +383.79688 -12.20312 286.625 -12.20312 207.51562 34.67188 c +207.51562 34.67188 128.42188 81.54688 85.6875 166.5 c +85.6875 166.5 42.96875 251.46875 42.96875 357.90625 c +42.96875 357.90625 42.96875 463.875 85.9375 550.78125 c +85.9375 550.78125 128.90625 637.70312 208.25 683.10938 c +208.25 683.10938 287.59375 728.51562 385.75 728.51562 c +385.75 728.51562 484.85938 728.51562 564.45312 681.39062 c +564.45312 681.39062 644.04688 634.28125 685.79688 549.5625 c +685.79688 549.5625 727.54688 464.84375 727.54688 358.40625 c +727.54688 358.40625 727.54688 270.01562 700.6875 199.45312 c +700.6875 199.45312 673.82812 128.90625 619.625 76.65625 c +619.625 76.65625 619.625 76.65625 619.625 76.65625 c +h +411.14062 197.75 m +411.14062 197.75 493.17188 174.8125 546.39062 129.39062 c +546.39062 129.39062 629.89062 205.5625 629.89062 358.40625 c +629.89062 358.40625 629.89062 445.3125 600.34375 510.25 c +600.34375 510.25 570.79688 575.20312 513.90625 611.07812 c +513.90625 611.07812 457.03125 646.96875 386.23438 646.96875 c +386.23438 646.96875 280.28125 646.96875 210.45312 574.45312 c +210.45312 574.45312 140.625 501.95312 140.625 357.90625 c +140.625 357.90625 140.625 218.26562 209.71875 143.54688 c +209.71875 143.54688 278.8125 68.84375 386.23438 68.84375 c +386.23438 68.84375 437.01562 68.84375 481.9375 87.89062 c +481.9375 87.89062 437.5 116.70313 388.1875 128.90625 c +388.1875 128.90625 411.14062 197.75 411.14062 197.75 c +h +f* +Q +} def +/S { +615 0 45 -12 615 728 setcachedevice +q +44.92188 229.98438 m +44.92188 229.98438 134.28125 237.79688 134.28125 237.79688 c +134.28125 237.79688 140.625 184.07812 163.8125 149.65625 c +163.8125 149.65625 187.01562 115.23438 235.84375 93.98438 c +235.84375 93.98438 284.67188 72.75 345.70312 72.75 c +345.70312 72.75 399.90625 72.75 441.40625 88.85938 c +441.40625 88.85938 482.90625 104.98438 503.17188 133.0625 c +503.17188 133.0625 523.4375 161.14062 523.4375 194.34375 c +523.4375 194.34375 523.4375 228.03125 503.90625 253.17188 c +503.90625 253.17188 484.375 278.32812 439.45312 295.40625 c +439.45312 295.40625 410.64062 306.64062 312 330.3125 c +312 330.3125 213.375 354 173.82812 375 c +173.82812 375 122.5625 401.85938 97.40625 441.65625 c +97.40625 441.65625 72.26562 481.45312 72.26562 530.76562 c +72.26562 530.76562 72.26562 584.96875 103.03125 632.07812 c +103.03125 632.07812 133.79688 679.20312 192.875 703.60938 c +192.875 703.60938 251.95312 728.03125 324.21875 728.03125 c +324.21875 728.03125 403.8125 728.03125 464.59375 702.39062 c +464.59375 702.39062 525.39062 676.76562 558.10938 626.95312 c +558.10938 626.95312 590.82812 577.15625 593.26562 514.15625 c +593.26562 514.15625 502.4375 507.32812 502.4375 507.32812 c +502.4375 507.32812 495.125 575.20312 452.875 609.85938 c +452.875 609.85938 410.64062 644.53125 328.125 644.53125 c +328.125 644.53125 242.1875 644.53125 202.875 613.03125 c +202.875 613.03125 163.57812 581.54688 163.57812 537.10938 c +163.57812 537.10938 163.57812 498.53125 191.40625 473.64062 c +191.40625 473.64062 218.75 448.73438 334.21875 422.60938 c +334.21875 422.60938 449.70312 396.48438 492.67188 376.95312 c +492.67188 376.95312 555.17188 348.14062 584.95312 303.95312 c +584.95312 303.95312 614.75 259.76562 614.75 202.15625 c +614.75 202.15625 614.75 145.01562 582.03125 94.48438 c +582.03125 94.48438 549.3125 43.95312 488.03125 15.875 c +488.03125 15.875 426.76562 -12.20312 350.09375 -12.20312 c +350.09375 -12.20312 252.9375 -12.20312 187.25 16.10937 c +187.25 16.10937 121.57812 44.4375 84.21875 101.3125 c +84.21875 101.3125 46.875 158.20312 44.92188 229.98438 c +h +f* +Q +} def +/U { +642 0 79 -12 642 716 setcachedevice +q +546.875 715.82812 m +546.875 715.82812 641.60938 715.82812 641.60938 715.82812 c +641.60938 715.82812 641.60938 302.25 641.60938 302.25 c +641.60938 302.25 641.60938 194.34375 617.1875 130.85938 c +617.1875 130.85938 592.78125 67.39062 529.04688 27.59375 c +529.04688 27.59375 465.32812 -12.20312 361.8125 -12.20312 c +361.8125 -12.20312 261.23438 -12.20312 197.26562 22.45312 c +197.26562 22.45312 133.29688 57.125 105.95312 122.79688 c +105.95312 122.79688 78.60938 188.48438 78.60938 302.25 c +78.60938 302.25 78.60938 715.82812 78.60938 715.82812 c +78.60938 715.82812 173.34375 715.82812 173.34375 715.82812 c +173.34375 715.82812 173.34375 302.73438 173.34375 302.73438 c +173.34375 302.73438 173.34375 209.46875 190.67188 165.28125 c +190.67188 165.28125 208.01562 121.09375 250.25 97.17188 c +250.25 97.17188 292.48438 73.25 353.51562 73.25 c +353.51562 73.25 458.01562 73.25 502.4375 120.60938 c +502.4375 120.60938 546.875 167.96875 546.875 302.73438 c +546.875 302.73438 546.875 715.82812 546.875 715.82812 c +h +f* +Q +} def +/V { +659 0 4 0 659 716 setcachedevice +q +281.73438 0 m +281.73438 0 4.39062 715.82812 4.39062 715.82812 c +4.39062 715.82812 106.9375 715.82812 106.9375 715.82812 c +106.9375 715.82812 292.96875 195.79687 292.96875 195.79687 c +292.96875 195.79687 315.4375 133.29687 330.5625 78.60937 c +330.5625 78.60937 347.17188 137.20312 369.14062 195.79687 c +369.14062 195.79687 562.5 715.82812 562.5 715.82812 c +562.5 715.82812 659.1875 715.82812 659.1875 715.82812 c +659.1875 715.82812 378.90625 0 378.90625 0 c +378.90625 0 281.73438 0 281.73438 0 c +h +f* +Q +} def +/a { +514 0 36 -12 514 530 setcachedevice +q +404.29688 63.96875 m +404.29688 63.96875 355.46875 22.46875 310.29688 5.375 c +310.29688 5.375 265.14062 -11.71875 213.375 -11.71875 c +213.375 -11.71875 127.9375 -11.71875 82.03125 30.03125 c +82.03125 30.03125 36.14062 71.78125 36.14062 136.71875 c +36.14062 136.71875 36.14062 174.8125 53.46875 206.29688 c +53.46875 206.29688 70.79688 237.79688 98.875 256.82812 c +98.875 256.82812 126.95312 275.875 162.10938 285.64062 c +162.10938 285.64062 187.98438 292.48438 240.23438 298.82812 c +240.23438 298.82812 346.6875 311.53125 396.96875 329.10938 c +396.96875 329.10938 397.46875 347.17188 397.46875 352.04688 c +397.46875 352.04688 397.46875 405.76562 372.5625 427.73438 c +372.5625 427.73438 338.875 457.51562 272.46875 457.51562 c +272.46875 457.51562 210.45312 457.51562 180.90625 435.78125 c +180.90625 435.78125 151.375 414.0625 137.20312 358.89062 c +137.20312 358.89062 51.26562 370.60938 51.26562 370.60938 c +51.26562 370.60938 62.98438 425.78125 89.84375 459.71875 c +89.84375 459.71875 116.70312 493.65625 167.48438 511.96875 c +167.48438 511.96875 218.26562 530.28125 285.15625 530.28125 c +285.15625 530.28125 351.5625 530.28125 393.0625 514.65625 c +393.0625 514.65625 434.57812 499.03125 454.10938 475.34375 c +454.10938 475.34375 473.64062 451.65625 481.45312 415.53125 c +481.45312 415.53125 485.84375 393.0625 485.84375 334.46875 c +485.84375 334.46875 485.84375 217.28125 485.84375 217.28125 c +485.84375 217.28125 485.84375 94.73438 491.45313 62.25 c +491.45313 62.25 497.07812 29.78125 513.67188 0 c +513.67188 0 421.875 0 421.875 0 c +421.875 0 408.20312 27.34375 404.29688 63.96875 c +404.29688 63.96875 404.29688 63.96875 404.29688 63.96875 c +h +396.96875 260.25 m +396.96875 260.25 349.125 240.71875 253.42188 227.04688 c +253.42188 227.04688 199.21875 219.23438 176.75 209.46875 c +176.75 209.46875 154.29688 199.70312 142.09375 180.90625 c +142.09375 180.90625 129.89062 162.10938 129.89062 139.15625 c +129.89062 139.15625 129.89062 104 156.5 80.5625 c +156.5 80.5625 183.10938 57.125 234.375 57.125 c +234.375 57.125 285.15625 57.125 324.70312 79.34375 c +324.70312 79.34375 364.26562 101.5625 382.8125 140.14063 c +382.8125 140.14063 396.96875 169.92188 396.96875 228.03125 c +396.96875 228.03125 396.96875 260.25 396.96875 260.25 c +h +f* +Q +} def +/b { +515 0 65 -12 515 716 setcachedevice +q +146.96875 0 m +146.96875 0 65.4375 0 65.4375 0 c +65.4375 0 65.4375 715.82812 65.4375 715.82812 c +65.4375 715.82812 153.32812 715.82812 153.32812 715.82812 c +153.32812 715.82812 153.32812 460.45312 153.32812 460.45312 c +153.32812 460.45312 208.98438 530.28125 295.40625 530.28125 c +295.40625 530.28125 343.26562 530.28125 385.98438 510.98438 c +385.98438 510.98438 428.71875 491.70312 456.29688 456.78125 c +456.29688 456.78125 483.89062 421.875 499.51562 372.5625 c +499.51562 372.5625 515.14062 323.25 515.14062 267.09375 c +515.14062 267.09375 515.14062 133.79688 449.21875 61.03125 c +449.21875 61.03125 383.29688 -11.71875 291.01562 -11.71875 c +291.01562 -11.71875 199.21875 -11.71875 146.96875 64.9375 c +146.96875 64.9375 146.96875 0 146.96875 0 c +146.96875 0 146.96875 0 146.96875 0 c +h +146 263.1875 m +146 263.1875 146 169.92188 171.39062 128.42188 c +171.39062 128.42188 212.89062 60.54688 283.6875 60.54688 c +283.6875 60.54688 341.3125 60.54688 383.29688 110.59375 c +383.29688 110.59375 425.29688 160.64062 425.29688 259.76562 c +425.29688 259.76562 425.29688 361.32812 385.01562 409.67188 c +385.01562 409.67188 344.73438 458.01562 287.59375 458.01562 c +287.59375 458.01562 229.98438 458.01562 187.98438 407.95312 c +187.98438 407.95312 146 357.90625 146 263.1875 c +h +f* +Q +} def +/c { +491 0 39 -12 491 530 setcachedevice +q +404.29688 189.9375 m +404.29688 189.9375 490.71875 178.71875 490.71875 178.71875 c +490.71875 178.71875 476.5625 89.35938 418.20312 38.8125 c +418.20312 38.8125 359.85938 -11.71875 274.90625 -11.71875 c +274.90625 -11.71875 168.45312 -11.71875 103.75 57.85938 c +103.75 57.85938 39.0625 127.4375 39.0625 257.32812 c +39.0625 257.32812 39.0625 341.3125 66.89062 404.29688 c +66.89062 404.29688 94.73438 467.28125 151.60938 498.78125 c +151.60938 498.78125 208.5 530.28125 275.39062 530.28125 c +275.39062 530.28125 359.85938 530.28125 413.5625 487.54688 c +413.5625 487.54688 467.28125 444.82812 482.42188 366.21875 c +482.42188 366.21875 396.96875 353.03125 396.96875 353.03125 c +396.96875 353.03125 384.76562 405.28125 353.75 431.64062 c +353.75 431.64062 322.75 458.01562 278.8125 458.01562 c +278.8125 458.01562 212.40625 458.01562 170.89062 410.40625 c +170.89062 410.40625 129.39062 362.79688 129.39062 259.76562 c +129.39062 259.76562 129.39062 155.28125 169.42188 107.90625 c +169.42188 107.90625 209.46875 60.54688 273.92188 60.54688 c +273.92188 60.54688 325.6875 60.54688 360.34375 92.28125 c +360.34375 92.28125 395.01562 124.03125 404.29688 189.9375 c +h +f* +Q +} def +/d { +484 0 34 -12 484 716 setcachedevice +q +402.34375 0 m +402.34375 0 402.34375 65.4375 402.34375 65.4375 c +402.34375 65.4375 353.03125 -11.71875 257.32812 -11.71875 c +257.32812 -11.71875 195.3125 -11.71875 143.3125 22.45312 c +143.3125 22.45312 91.3125 56.64062 62.75 117.92188 c +62.75 117.92188 34.1875 179.20313 34.1875 258.79688 c +34.1875 258.79688 34.1875 336.42188 60.0625 399.65625 c +60.0625 399.65625 85.9375 462.89062 137.6875 496.57812 c +137.6875 496.57812 189.45312 530.28125 253.42188 530.28125 c +253.42188 530.28125 300.29688 530.28125 336.90625 510.5 c +336.90625 510.5 373.53125 490.71875 396.48438 458.98438 c +396.48438 458.98438 396.48438 715.82812 396.48438 715.82812 c +396.48438 715.82812 483.89062 715.82812 483.89062 715.82812 c +483.89062 715.82812 483.89062 0 483.89062 0 c +483.89062 0 402.34375 0 402.34375 0 c +402.34375 0 402.34375 0 402.34375 0 c +h +124.51562 258.79688 m +124.51562 258.79688 124.51562 159.1875 166.5 109.85937 c +166.5 109.85937 208.5 60.54688 265.625 60.54688 c +265.625 60.54688 323.25 60.54688 363.53125 107.65625 c +363.53125 107.65625 403.8125 154.78125 403.8125 251.46875 c +403.8125 251.46875 403.8125 357.90625 362.79688 407.70312 c +362.79688 407.70312 321.78125 457.51562 261.71875 457.51562 c +261.71875 457.51562 203.125 457.51562 163.8125 409.65625 c +163.8125 409.65625 124.51562 361.8125 124.51562 258.79688 c +h +f* +Q +} def +/e { +515 0 37 -12 515 530 setcachedevice +q +420.90625 167 m +420.90625 167 511.71875 155.76563 511.71875 155.76563 c +511.71875 155.76563 490.23438 76.17188 432.125 32.21875 c +432.125 32.21875 374.03125 -11.71875 283.6875 -11.71875 c +283.6875 -11.71875 169.92188 -11.71875 103.26562 58.34375 c +103.26562 58.34375 36.625 128.42188 36.625 254.89062 c +36.625 254.89062 36.625 385.75 104 458.01562 c +104 458.01562 171.39062 530.28125 278.8125 530.28125 c +278.8125 530.28125 382.8125 530.28125 448.73438 459.46875 c +448.73438 459.46875 514.65625 388.67188 514.65625 260.25 c +514.65625 260.25 514.65625 252.4375 514.15625 236.8125 c +514.15625 236.8125 127.4375 236.8125 127.4375 236.8125 c +127.4375 236.8125 132.32812 151.375 175.78125 105.95312 c +175.78125 105.95312 219.23438 60.54688 284.1875 60.54688 c +284.1875 60.54688 332.51562 60.54688 366.6875 85.9375 c +366.6875 85.9375 400.875 111.32812 420.90625 167 c +420.90625 167 420.90625 167 420.90625 167 c +h +132.32812 309.07812 m +132.32812 309.07812 421.875 309.07812 421.875 309.07812 c +421.875 309.07812 416.01562 374.51562 388.67188 407.23438 c +388.67188 407.23438 346.6875 458.01562 279.78125 458.01562 c +279.78125 458.01562 219.23438 458.01562 177.96875 417.48438 c +177.96875 417.48438 136.71875 376.95312 132.32812 309.07812 c +h +f* +Q +} def +/f { +313 0 9 0 313 728 setcachedevice +q +86.92188 0 m +86.92188 0 86.92188 450.20312 86.92188 450.20312 c +86.92188 450.20312 9.28125 450.20312 9.28125 450.20312 c +9.28125 450.20312 9.28125 518.5625 9.28125 518.5625 c +9.28125 518.5625 86.92188 518.5625 86.92188 518.5625 c +86.92188 518.5625 86.92188 573.73438 86.92188 573.73438 c +86.92188 573.73438 86.92188 625.98438 96.1875 651.375 c +96.1875 651.375 108.89062 685.54688 140.875 706.78125 c +140.875 706.78125 172.85938 728.03125 230.46875 728.03125 c +230.46875 728.03125 267.57812 728.03125 312.5 719.23438 c +312.5 719.23438 299.3125 642.57812 299.3125 642.57812 c +299.3125 642.57812 271.96875 647.46875 247.5625 647.46875 c +247.5625 647.46875 207.51562 647.46875 190.90625 630.375 c +190.90625 630.375 174.3125 613.28125 174.3125 566.40625 c +174.3125 566.40625 174.3125 518.5625 174.3125 518.5625 c +174.3125 518.5625 275.39062 518.5625 275.39062 518.5625 c +275.39062 518.5625 275.39062 450.20312 275.39062 450.20312 c +275.39062 450.20312 174.3125 450.20312 174.3125 450.20312 c +174.3125 450.20312 174.3125 0 174.3125 0 c +174.3125 0 86.92188 0 86.92188 0 c +h +f* +Q +} def +/g { +489 0 32 -210 489 530 setcachedevice +q +49.8125 -42.96875 m +49.8125 -42.96875 135.25 -55.67188 135.25 -55.67188 c +135.25 -55.67188 140.625 -95.21875 165.04688 -113.28125 c +165.04688 -113.28125 197.75 -137.70312 254.39062 -137.70312 c +254.39062 -137.70312 315.4375 -137.70312 348.64062 -113.28125 c +348.64062 -113.28125 381.84375 -88.875 393.5625 -44.92188 c +393.5625 -44.92188 400.39062 -18.0625 399.90625 67.875 c +399.90625 67.875 342.28125 0 256.34375 0 c +256.34375 0 149.42188 0 90.82812 77.14062 c +90.82812 77.14062 32.23438 154.29688 32.23438 262.20312 c +32.23438 262.20312 32.23438 336.42188 59.07812 399.17188 c +59.07812 399.17188 85.9375 461.92188 136.95312 496.09375 c +136.95312 496.09375 187.98438 530.28125 256.84375 530.28125 c +256.84375 530.28125 348.64062 530.28125 408.20312 456.0625 c +408.20312 456.0625 408.20312 518.5625 408.20312 518.5625 c +408.20312 518.5625 489.26562 518.5625 489.26562 518.5625 c +489.26562 518.5625 489.26562 70.3125 489.26562 70.3125 c +489.26562 70.3125 489.26562 -50.78125 464.59375 -101.3125 c +464.59375 -101.3125 439.9375 -151.85938 386.46875 -181.15625 c +386.46875 -181.15625 333.01562 -210.45312 254.89062 -210.45312 c +254.89062 -210.45312 162.10938 -210.45312 104.98438 -168.70312 c +104.98438 -168.70312 47.85938 -126.95312 49.8125 -42.96875 c +49.8125 -42.96875 49.8125 -42.96875 49.8125 -42.96875 c +h +122.5625 268.5625 m +122.5625 268.5625 122.5625 166.5 163.07812 119.625 c +163.07812 119.625 203.60938 72.75 264.65625 72.75 c +264.65625 72.75 325.20312 72.75 366.21875 119.375 c +366.21875 119.375 407.23438 166.01562 407.23438 265.625 c +407.23438 265.625 407.23438 360.84375 364.98438 409.17188 c +364.98438 409.17188 322.75 457.51562 263.1875 457.51562 c +263.1875 457.51562 204.59375 457.51562 163.57812 409.90625 c +163.57812 409.90625 122.5625 362.3125 122.5625 268.5625 c +h +f* +Q +} def +/h { +488 0 66 0 488 716 setcachedevice +q +65.92188 0 m +65.92188 0 65.92188 715.82812 65.92188 715.82812 c +65.92188 715.82812 153.8125 715.82812 153.8125 715.82812 c +153.8125 715.82812 153.8125 458.98438 153.8125 458.98438 c +153.8125 458.98438 215.32812 530.28125 309.07812 530.28125 c +309.07812 530.28125 366.70312 530.28125 409.17188 507.5625 c +409.17188 507.5625 451.65625 484.85938 469.96875 444.8125 c +469.96875 444.8125 488.28125 404.78125 488.28125 328.60938 c +488.28125 328.60938 488.28125 0 488.28125 0 c +488.28125 0 400.39062 0 400.39062 0 c +400.39062 0 400.39062 328.60938 400.39062 328.60938 c +400.39062 328.60938 400.39062 394.53125 371.82812 424.5625 c +371.82812 424.5625 343.26562 454.59375 291.01562 454.59375 c +291.01562 454.59375 251.95312 454.59375 217.53125 434.32812 c +217.53125 434.32812 183.10938 414.0625 168.45312 379.39062 c +168.45312 379.39062 153.8125 344.73438 153.8125 283.6875 c +153.8125 283.6875 153.8125 0 153.8125 0 c +153.8125 0 65.92188 0 65.92188 0 c +h +f* +Q +} def +/i { +154 0 66 0 154 716 setcachedevice +q +66.40625 614.75 m +66.40625 614.75 66.40625 715.82812 66.40625 715.82812 c +66.40625 715.82812 154.29688 715.82812 154.29688 715.82812 c +154.29688 715.82812 154.29688 614.75 154.29688 614.75 c +154.29688 614.75 66.40625 614.75 66.40625 614.75 c +66.40625 614.75 66.40625 614.75 66.40625 614.75 c +h +66.40625 0 m +66.40625 0 66.40625 518.5625 66.40625 518.5625 c +66.40625 518.5625 154.29688 518.5625 154.29688 518.5625 c +154.29688 518.5625 154.29688 0 154.29688 0 c +154.29688 0 66.40625 0 66.40625 0 c +h +f* +Q +} def +/j { +153 0 -46 -210 153 716 setcachedevice +q +65.4375 613.76562 m +65.4375 613.76562 65.4375 715.82812 65.4375 715.82812 c +65.4375 715.82812 153.32812 715.82812 153.32812 715.82812 c +153.32812 715.82812 153.32812 613.76562 153.32812 613.76562 c +153.32812 613.76562 65.4375 613.76562 65.4375 613.76562 c +65.4375 613.76562 65.4375 613.76562 65.4375 613.76562 c +h +-45.90625 -201.17188 m +-45.90625 -201.17188 -29.29688 -126.46875 -29.29688 -126.46875 c +-29.29688 -126.46875 -2.9375 -133.29688 12.20312 -133.29688 c +12.20312 -133.29688 39.0625 -133.29688 52.25 -115.46875 c +52.25 -115.46875 65.4375 -97.65625 65.4375 -26.375 c +65.4375 -26.375 65.4375 518.5625 65.4375 518.5625 c +65.4375 518.5625 153.32812 518.5625 153.32812 518.5625 c +153.32812 518.5625 153.32812 -28.32812 153.32812 -28.32812 c +153.32812 -28.32812 153.32812 -124.03125 128.42188 -161.625 c +128.42188 -161.625 96.6875 -210.45312 22.95312 -210.45312 c +22.95312 -210.45312 -12.70313 -210.45312 -45.90625 -201.17188 c +h +f* +Q +} def +/l { +152 0 64 0 152 716 setcachedevice +q +63.96875 0 m +63.96875 0 63.96875 715.82812 63.96875 715.82812 c +63.96875 715.82812 151.85938 715.82812 151.85938 715.82812 c +151.85938 715.82812 151.85938 0 151.85938 0 c +151.85938 0 63.96875 0 63.96875 0 c +h +f* +Q +} def +/m { +769 0 66 0 769 530 setcachedevice +q +65.92188 0 m +65.92188 0 65.92188 518.5625 65.92188 518.5625 c +65.92188 518.5625 144.53125 518.5625 144.53125 518.5625 c +144.53125 518.5625 144.53125 445.79688 144.53125 445.79688 c +144.53125 445.79688 168.95312 483.89062 209.46875 507.07813 c +209.46875 507.07813 250 530.28125 301.76562 530.28125 c +301.76562 530.28125 359.375 530.28125 396.23438 506.34375 c +396.23438 506.34375 433.10938 482.42188 448.25 439.45312 c +448.25 439.45312 509.76562 530.28125 608.40625 530.28125 c +608.40625 530.28125 685.54688 530.28125 727.04688 487.54688 c +727.04688 487.54688 768.5625 444.82812 768.5625 355.95312 c +768.5625 355.95312 768.5625 0 768.5625 0 c +768.5625 0 681.15625 0 681.15625 0 c +681.15625 0 681.15625 326.65625 681.15625 326.65625 c +681.15625 326.65625 681.15625 379.39062 672.60938 402.57812 c +672.60938 402.57812 664.0625 425.78125 641.59375 439.9375 c +641.59375 439.9375 619.14062 454.10938 588.875 454.10938 c +588.875 454.10938 534.1875 454.10938 498.04688 417.71875 c +498.04688 417.71875 461.92188 381.34375 461.92188 301.26562 c +461.92188 301.26562 461.92188 0 461.92188 0 c +461.92188 0 374.03125 0 374.03125 0 c +374.03125 0 374.03125 336.92188 374.03125 336.92188 c +374.03125 336.92188 374.03125 395.51562 352.54688 424.8125 c +352.54688 424.8125 331.0625 454.10938 282.23438 454.10938 c +282.23438 454.10938 245.125 454.10938 213.625 434.57812 c +213.625 434.57812 182.125 415.04688 167.96875 377.4375 c +167.96875 377.4375 153.8125 339.84375 153.8125 269.04688 c +153.8125 269.04688 153.8125 0 153.8125 0 c +153.8125 0 65.92188 0 65.92188 0 c +h +f* +Q +} def +/n { +487 0 66 0 487 530 setcachedevice +q +65.92188 0 m +65.92188 0 65.92188 518.5625 65.92188 518.5625 c +65.92188 518.5625 145.01562 518.5625 145.01562 518.5625 c +145.01562 518.5625 145.01562 444.82812 145.01562 444.82812 c +145.01562 444.82812 202.15625 530.28125 310.0625 530.28125 c +310.0625 530.28125 356.9375 530.28125 396.23438 513.42188 c +396.23438 513.42188 435.54688 496.57812 455.07812 469.23438 c +455.07812 469.23438 474.60938 441.89062 482.42188 404.29688 c +482.42188 404.29688 487.3125 379.89062 487.3125 318.84375 c +487.3125 318.84375 487.3125 0 487.3125 0 c +487.3125 0 399.42188 0 399.42188 0 c +399.42188 0 399.42188 315.4375 399.42188 315.4375 c +399.42188 315.4375 399.42188 369.14062 389.15625 395.75 c +389.15625 395.75 378.90625 422.35938 352.78125 438.23438 c +352.78125 438.23438 326.65625 454.10938 291.5 454.10938 c +291.5 454.10938 235.35938 454.10938 194.57812 418.45312 c +194.57812 418.45312 153.8125 382.8125 153.8125 283.20312 c +153.8125 283.20312 153.8125 0 153.8125 0 c +153.8125 0 65.92188 0 65.92188 0 c +h +f* +Q +} def +/o { +519 0 33 -12 519 530 setcachedevice +q +33.20312 259.28125 m +33.20312 259.28125 33.20312 403.32812 113.28125 472.65625 c +113.28125 472.65625 180.17188 530.28125 276.375 530.28125 c +276.375 530.28125 383.29688 530.28125 451.17188 460.20312 c +451.17188 460.20312 519.04688 390.14062 519.04688 266.60938 c +519.04688 266.60938 519.04688 166.5 489.01563 109.125 c +489.01563 109.125 458.98438 51.76562 401.60938 20.01562 c +401.60938 20.01562 344.23438 -11.71875 276.375 -11.71875 c +276.375 -11.71875 167.48438 -11.71875 100.34375 58.10938 c +100.34375 58.10938 33.20312 127.9375 33.20312 259.28125 c +33.20312 259.28125 33.20312 259.28125 33.20312 259.28125 c +h +123.53125 259.28125 m +123.53125 259.28125 123.53125 159.67188 166.98438 110.10938 c +166.98438 110.10938 210.45312 60.54688 276.375 60.54688 c +276.375 60.54688 341.79688 60.54688 385.25 110.34375 c +385.25 110.34375 428.71875 160.15625 428.71875 262.20312 c +428.71875 262.20312 428.71875 358.40625 385.01562 407.95312 c +385.01562 407.95312 341.3125 457.51562 276.375 457.51562 c +276.375 457.51562 210.45312 457.51562 166.98438 408.20312 c +166.98438 408.20312 123.53125 358.89062 123.53125 259.28125 c +h +f* +Q +} def +/p { +516 0 66 -199 516 530 setcachedevice +q +65.92188 -198.73438 m +65.92188 -198.73438 65.92188 518.5625 65.92188 518.5625 c +65.92188 518.5625 146 518.5625 146 518.5625 c +146 518.5625 146 451.17188 146 451.17188 c +146 451.17188 174.3125 490.71875 209.95312 510.5 c +209.95312 510.5 245.60938 530.28125 296.39062 530.28125 c +296.39062 530.28125 362.79688 530.28125 413.57812 496.09375 c +413.57812 496.09375 464.35938 461.92188 490.23438 399.65625 c +490.23438 399.65625 516.10938 337.40625 516.10938 263.1875 c +516.10938 263.1875 516.10938 183.59375 487.54688 119.875 c +487.54688 119.875 458.98438 56.15625 404.53125 22.21875 c +404.53125 22.21875 350.09375 -11.71875 290.04688 -11.71875 c +290.04688 -11.71875 246.09375 -11.71875 211.17188 6.82812 c +211.17188 6.82812 176.26562 25.39062 153.8125 53.71875 c +153.8125 53.71875 153.8125 -198.73438 153.8125 -198.73438 c +153.8125 -198.73438 65.92188 -198.73438 65.92188 -198.73438 c +65.92188 -198.73438 65.92188 -198.73438 65.92188 -198.73438 c +h +145.51562 256.34375 m +145.51562 256.34375 145.51562 156.25 186.03125 108.39062 c +186.03125 108.39062 226.5625 60.54688 284.1875 60.54688 c +284.1875 60.54688 342.78125 60.54688 384.51562 110.10938 c +384.51562 110.10938 426.26562 159.67188 426.26562 263.67188 c +426.26562 263.67188 426.26562 362.79688 385.5 412.10938 c +385.5 412.10938 344.73438 461.42188 288.09375 461.42188 c +288.09375 461.42188 231.9375 461.42188 188.71875 408.9375 c +188.71875 408.9375 145.51562 356.45312 145.51562 256.34375 c +h +f* +Q +} def +/q { +484 0 35 -199 484 530 setcachedevice +q +396.48438 -198.73438 m +396.48438 -198.73438 396.48438 55.17187 396.48438 55.17187 c +396.48438 55.17187 375.98438 26.375 339.10938 7.32813 c +339.10938 7.32813 302.25 -11.71875 260.75 -11.71875 c +260.75 -11.71875 168.45312 -11.71875 101.79688 62.01563 c +101.79688 62.01563 35.15625 135.75 35.15625 264.15625 c +35.15625 264.15625 35.15625 342.28125 62.25 404.29688 c +62.25 404.29688 89.35938 466.3125 140.875 498.29688 c +140.875 498.29688 192.39063 530.28125 253.90625 530.28125 c +253.90625 530.28125 350.09375 530.28125 405.28125 449.21875 c +405.28125 449.21875 405.28125 518.5625 405.28125 518.5625 c +405.28125 518.5625 484.375 518.5625 484.375 518.5625 c +484.375 518.5625 484.375 -198.73438 484.375 -198.73438 c +484.375 -198.73438 396.48438 -198.73438 396.48438 -198.73438 c +396.48438 -198.73438 396.48438 -198.73438 396.48438 -198.73438 c +h +125.48438 260.75 m +125.48438 260.75 125.48438 160.64062 167.46875 110.59375 c +167.46875 110.59375 209.46875 60.54688 268.0625 60.54688 c +268.0625 60.54688 324.21875 60.54688 364.75 108.15625 c +364.75 108.15625 405.28125 155.76563 405.28125 252.9375 c +405.28125 252.9375 405.28125 356.45312 362.54688 408.6875 c +362.54688 408.6875 319.82812 460.9375 262.20312 460.9375 c +262.20312 460.9375 205.07812 460.9375 165.28125 412.34375 c +165.28125 412.34375 125.48438 363.76562 125.48438 260.75 c +h +f* +Q +} def +/r { +347 0 65 0 347 530 setcachedevice +q +64.9375 0 m +64.9375 0 64.9375 518.5625 64.9375 518.5625 c +64.9375 518.5625 144.04688 518.5625 144.04688 518.5625 c +144.04688 518.5625 144.04688 439.9375 144.04688 439.9375 c +144.04688 439.9375 174.3125 495.125 199.95312 512.70312 c +199.95312 512.70312 225.59375 530.28125 256.34375 530.28125 c +256.34375 530.28125 300.78125 530.28125 346.6875 501.95312 c +346.6875 501.95312 316.40625 420.40625 316.40625 420.40625 c +316.40625 420.40625 284.1875 439.45312 251.95312 439.45312 c +251.95312 439.45312 223.14062 439.45312 200.1875 422.10938 c +200.1875 422.10938 177.25 404.78125 167.48438 374.03125 c +167.48438 374.03125 152.82812 327.15625 152.82812 271.48438 c +152.82812 271.48438 152.82812 0 152.82812 0 c +152.82812 0 64.9375 0 64.9375 0 c +h +f* +Q +} def +/s { +461 0 31 -12 461 530 setcachedevice +q +30.76563 154.78125 m +30.76563 154.78125 117.67188 168.45312 117.67188 168.45312 c +117.67188 168.45312 125 116.21875 158.4375 88.375 c +158.4375 88.375 191.89062 60.54688 251.95312 60.54688 c +251.95312 60.54688 312.5 60.54688 341.79688 85.20312 c +341.79688 85.20312 371.09375 109.85937 371.09375 143.0625 c +371.09375 143.0625 371.09375 172.85938 345.21875 189.9375 c +345.21875 189.9375 327.15625 201.65625 255.375 219.73438 c +255.375 219.73438 158.6875 244.14062 121.32813 261.95312 c +121.32813 261.95312 83.98438 279.78125 64.6875 311.28125 c +64.6875 311.28125 45.40625 342.78125 45.40625 380.85938 c +45.40625 380.85938 45.40625 415.53125 61.28125 445.0625 c +61.28125 445.0625 77.15625 474.60938 104.5 494.14062 c +104.5 494.14062 125 509.28125 160.39062 519.78125 c +160.39062 519.78125 195.79688 530.28125 236.32812 530.28125 c +236.32812 530.28125 297.35938 530.28125 343.5 512.70312 c +343.5 512.70312 389.65625 495.125 411.625 465.09375 c +411.625 465.09375 433.59375 435.0625 441.89062 384.76562 c +441.89062 384.76562 355.95312 373.04688 355.95312 373.04688 c +355.95312 373.04688 350.09375 413.09375 322.01562 435.54688 c +322.01562 435.54688 293.95312 458.01562 242.67188 458.01562 c +242.67188 458.01562 182.125 458.01562 156.25 437.98438 c +156.25 437.98438 130.375 417.96875 130.375 391.10938 c +130.375 391.10938 130.375 374.03125 141.10938 360.35938 c +141.10938 360.35938 151.85938 346.1875 174.8125 336.92188 c +174.8125 336.92188 187.98438 332.03125 252.4375 314.45312 c +252.4375 314.45312 345.70312 289.54688 382.5625 273.67188 c +382.5625 273.67188 419.4375 257.8125 440.42188 227.53125 c +440.42188 227.53125 461.42188 197.26562 461.42188 152.34375 c +461.42188 152.34375 461.42188 108.40625 435.78125 69.57812 c +435.78125 69.57812 410.15625 30.76563 361.8125 9.51562 c +361.8125 9.51562 313.48438 -11.71875 252.4375 -11.71875 c +252.4375 -11.71875 151.375 -11.71875 98.39062 30.26562 c +98.39062 30.26562 45.40625 72.26562 30.76563 154.78125 c +h +f* +Q +} def +/t { +271 0 18 -7 271 700 setcachedevice +q +257.8125 78.60937 m +257.8125 78.60937 270.51562 0.98438 270.51562 0.98438 c +270.51562 0.98438 233.40625 -6.84375 204.10938 -6.84375 c +204.10938 -6.84375 156.25 -6.84375 129.875 8.29687 c +129.875 8.29687 103.51562 23.4375 92.76562 48.09375 c +92.76562 48.09375 82.03125 72.75 82.03125 151.85938 c +82.03125 151.85938 82.03125 450.20312 82.03125 450.20312 c +82.03125 450.20312 17.57812 450.20312 17.57812 450.20312 c +17.57812 450.20312 17.57812 518.5625 17.57812 518.5625 c +17.57812 518.5625 82.03125 518.5625 82.03125 518.5625 c +82.03125 518.5625 82.03125 646.96875 82.03125 646.96875 c +82.03125 646.96875 169.4375 699.70312 169.4375 699.70312 c +169.4375 699.70312 169.4375 518.5625 169.4375 518.5625 c +169.4375 518.5625 257.8125 518.5625 257.8125 518.5625 c +257.8125 518.5625 257.8125 450.20312 257.8125 450.20312 c +257.8125 450.20312 169.4375 450.20312 169.4375 450.20312 c +169.4375 450.20312 169.4375 146.96875 169.4375 146.96875 c +169.4375 146.96875 169.4375 109.375 174.07812 98.625 c +174.07812 98.625 178.71875 87.89062 189.20312 81.54688 c +189.20312 81.54688 199.70312 75.20312 219.23438 75.20312 c +219.23438 75.20312 233.89062 75.20312 257.8125 78.60937 c +h +f* +Q +} def +/u { +484 0 64 -12 484 519 setcachedevice +q +405.76562 0 m +405.76562 0 405.76562 76.17188 405.76562 76.17188 c +405.76562 76.17188 345.21875 -11.71875 241.21875 -11.71875 c +241.21875 -11.71875 195.3125 -11.71875 155.51562 5.85938 c +155.51562 5.85938 115.71875 23.4375 96.4375 50.04688 c +96.4375 50.04688 77.15625 76.65625 69.34375 115.23438 c +69.34375 115.23438 63.96875 141.10937 63.96875 197.26562 c +63.96875 197.26562 63.96875 518.5625 63.96875 518.5625 c +63.96875 518.5625 151.85938 518.5625 151.85938 518.5625 c +151.85938 518.5625 151.85938 230.95312 151.85938 230.95312 c +151.85938 230.95312 151.85938 162.10938 157.23438 138.1875 c +157.23438 138.1875 165.53125 103.51562 192.375 83.73438 c +192.375 83.73438 219.23438 63.96875 258.79688 63.96875 c +258.79688 63.96875 298.34375 63.96875 333 84.23438 c +333 84.23438 367.67188 104.5 382.07812 139.40625 c +382.07812 139.40625 396.48438 174.3125 396.48438 240.71875 c +396.48438 240.71875 396.48438 518.5625 396.48438 518.5625 c +396.48438 518.5625 484.375 518.5625 484.375 518.5625 c +484.375 518.5625 484.375 0 484.375 0 c +484.375 0 405.76562 0 405.76562 0 c +h +f* +Q +} def +/v { +488 0 13 0 488 519 setcachedevice +q +209.96875 0 m +209.96875 0 12.70313 518.5625 12.70313 518.5625 c +12.70313 518.5625 105.46875 518.5625 105.46875 518.5625 c +105.46875 518.5625 216.79688 208.01562 216.79688 208.01562 c +216.79688 208.01562 234.85938 157.71875 250 103.51562 c +250 103.51562 261.71875 144.53125 282.71875 202.15625 c +282.71875 202.15625 397.95312 518.5625 397.95312 518.5625 c +397.95312 518.5625 488.28125 518.5625 488.28125 518.5625 c +488.28125 518.5625 292 0 292 0 c +292 0 209.96875 0 209.96875 0 c +h +f* +Q +} def +end +currentdict end +/T3_82_0 exch definefont pop +%%EndResource +/F82_0 /T3_82_0 1 1 +[ /comma/hyphen/period/one/two/three/four/semicolon + /A/C/D/E/F/I/L/M + /N/P/Q/S/U/V/a/b + /c/d/e/f/g/h/i/j + /l/m/n/o/p/q/r/s + /t/u/v/plus/comma/hyphen/period/slash + /zero/one/two/three/four/five/six/seven + /eight/nine/colon/semicolon/less/equal/greater/question + /at/A/B/C/D/E/F/G + /H/I/J/K/L/M/N/O + /P/Q/R/S/T/U/V/W + /X/Y/Z/bracketleft/backslash/bracketright/asciicircum/underscore + /quoteleft/a/b/c/d/e/f/g + /h/i/j/k/l/m/n/o + /p/q/r/s/t/u/v/w + /x/y/z/braceleft/bar/braceright/asciitilde/.notdef + /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /.notdef/exclamdown/cent/sterling/fraction/yen/florin/section + /currency/quotesingle/quotedblleft/guillemotleft/guilsinglleft/guilsinglright/fi/fl + /.notdef/endash/dagger/daggerdbl/periodcentered/.notdef/paragraph/bullet + /quotesinglbase/quotedblbase/quotedblright/guillemotright/ellipsis/perthousand/.notdef/questiondown + /.notdef/grave/acute/circumflex/tilde/macron/breve/dotaccent + /dieresis/.notdef/ring/cedilla/.notdef/hungarumlaut/ogonek/caron + /emdash/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef + /.notdef/AE/.notdef/ordfeminine/.notdef/.notdef/.notdef/.notdef + /Lslash/Oslash/OE/ordmasculine/.notdef/.notdef/.notdef/.notdef + /.notdef/ae/.notdef/.notdef/.notdef/dotlessi/.notdef/.notdef + /lslash/oslash/oe/germandbls/.notdef/.notdef/.notdef/.notdef] +pdfMakeFont +false pdfSetup +595 842 pdfSetupPaper +%%EndSetup +%%Page: 1 1 +%%BeginPageSetup +%%PageOrientation: Portrait +pdfStartPage +0 0.706376 translate +0.9983 0.9983 scale +0 0 596 842 re W +%%EndPageSetup +[] 0 d +1 i +0 j +0 J +10 M +1 w +/DeviceGray {} cs +[0] sc +/DeviceGray {} CS +[0] SC +false op +false OP +{} settransfer +0 0 595.28 841.89 re +W +q +q +[1 0 0 1 0 0] cm +q +1 w +[] 0 d +0 J +0 j +[1 0 0 1 72 805.89] cm +q +[1 0 0 1 0 0] Tm +0 0 Td +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\016) +[6.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 17.34375 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.01758 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 37.34766 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.01367 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.6875 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.6875 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.36133 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.69141 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.36523 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.03906 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.70508 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.37891 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.70898 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.70898 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.375 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.04297 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.7168 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.71289 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.38672 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.7207 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 151.38867 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.38867 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.0625 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.73633 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.73633 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.41016 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.41016 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.74414 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.41797 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.75195 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.42578 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.75586 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.42969 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.10352 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.76953 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.44336 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.10938 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.10938 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.10938 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.77539 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.44922 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.00586 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.00781 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.01172 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.68555 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.69336 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.69336 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.36719 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.04102 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.71484 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.38086 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.37695 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.05078 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.72461 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.05859 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.73242 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.72852 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.39648 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.0625 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.73633 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.73633 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.41016 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.74023 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.74805 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.74805 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.42188 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.0957 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.76953 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.43555 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.43164 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.10547 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.7793 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.11328 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.78711 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67969 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.01367 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.6875 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.36133 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.03516 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.70312 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.37695 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.05078 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.72461 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.39844 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.40625 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.08008 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.75391 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.41992 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.09375 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.42383 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.41992 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.09375 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.76758 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.44141 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 145.44141 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.11523 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 161.44922 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.11523 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.78906 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.78906 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.12305 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.79688 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.79688 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.46484 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.46484 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.13086 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.79883 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.47266 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.46875 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.14258 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 7.33008 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 23.34375 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.00977 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.67578 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.3418 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.34961 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.02344 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.69727 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.37109 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.04492 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.05273 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.04883 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.72266 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.05664 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.73047 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.06445 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.73828 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.40625 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.08008 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.75391 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.41992 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.08594 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.75977 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.42773 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.42383 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.09766 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.77148 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.76758 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.43359 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.76758 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.44141 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.10742 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.78125 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.45508 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.12891 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.80273 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.47656 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.02148 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.01758 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.69141 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.02539 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.69531 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.36914 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.36914 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.70312 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.37695 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.04492 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.71875 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.39258 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.72656 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 109.40039 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.06641 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.73242 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.40625 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.08008 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.75391 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.42188 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.08789 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.76172 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.76953 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.10352 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.77734 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.77344 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.76953 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.44336 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.11719 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.45117 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.125 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.45508 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.12891 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.46289 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.13086 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.79688 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 253.4707 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 21.33984 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.00586 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.33984 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.01367 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.6875 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.02148 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.69531 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.36914 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.04297 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.05078 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.72461 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.39844 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.07227 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.74609 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.08008 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.74609 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.41992 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.09375 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 135.42773 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.10156 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.76953 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.76562 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.43945 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.11328 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.78711 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.45312 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.78711 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.46094 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.12695 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.46094 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.13477 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.80859 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.80469 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.13867 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.8125 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.80859 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.47461 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.14844 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.82227 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 23.34375 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.67773 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.35156 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.35156 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.01953 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.69336 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.36719 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36719 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.36719 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.04102 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.375 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.04883 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.37891 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.375 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.04102 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.71484 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.38086 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.38086 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.05469 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.7207 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.39453 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.72852 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.72461 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.39844 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.39844 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.06641 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.73242 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 187.40625 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.07227 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.73828 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.41211 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.74219 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.73828 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.41211 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.07812 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.75195 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.75195 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.42578 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.09961 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.77344 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 2.66602 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.00977 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.68359 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.35742 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.02539 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.69141 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.36523 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.36523 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.03906 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.03516 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.70312 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.71094 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.04492 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.71875 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.39258 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.06641 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.73242 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.40625 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.07422 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.4082 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.08203 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.74805 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.41406 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.08789 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.42188 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.0957 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.76172 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.43555 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.10156 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.43555 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.10938 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.7832 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.79102 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.79102 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213.45703 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.79102 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.46484 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.13867 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.00391 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.67773 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 21.35156 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.35156 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.02539 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.69141 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.35742 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.03125 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.36523 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.36523 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.03906 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.03516 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.03516 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.70898 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.04297 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.7168 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.39062 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.06445 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.39453 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.06836 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.07617 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.75 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.42383 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.09766 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.42773 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.42773 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.10156 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.77539 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.44141 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.44141 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.11523 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.78125 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.78906 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.78906 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.46289 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 10.00781 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.00391 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.67773 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.35156 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.68555 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.35938 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.35547 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.0293 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 69.36328 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.69727 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.36328 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.03711 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.03711 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.70312 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.37695 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.05078 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.72461 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.05859 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.72656 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 129.39258 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.06641 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.73242 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.39844 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 151.40625 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 161.40234 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.07617 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 171.41016 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.74414 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.41016 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.74414 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.41797 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.0918 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.75781 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.76562 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.43945 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.11328 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.78711 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.45508 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.12891 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.12891 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.67383 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.33984 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.01367 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.67969 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 43.34766 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.02148 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.6875 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.36133 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.02734 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36133 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.03516 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.70898 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.38281 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.05078 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.05469 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.05078 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.72461 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.39844 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.39844 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.07227 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.74609 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.41406 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.08008 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.75391 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.42773 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.10156 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.09766 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.43164 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.09766 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.43164 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.42773 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.09375 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.09375 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.76758 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.10156 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.77539 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.44141 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.11523 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.11523 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.78906 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.78516 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 253.45898 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 2.66602 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.01367 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.34375 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.33984 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.01367 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.6875 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.36133 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36133 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.03516 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.36914 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.04297 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.70898 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.04297 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.03906 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.70508 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.70508 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 109.37109 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.04492 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.04492 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.71289 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.37891 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.05273 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.71875 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.38477 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.39258 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.72656 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.72266 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.38867 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.38867 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.72266 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.38867 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.0625 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.73633 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.74414 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.07812 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.75195 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.74805 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.42188 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.0957 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.42578 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.09961 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.09961 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.43359 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.66602 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.33984 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.33984 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.00586 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.01367 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.6875 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.35352 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.02734 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.70117 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.375 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.04102 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.70898 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.38281 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.37891 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.05273 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.72656 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.73242 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\010) +[8.016 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.73633 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.40234 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.06836 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.74219 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.41602 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.08984 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 161.41992 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.09375 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.08984 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.76367 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.43164 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.43164 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.10547 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.77148 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.44531 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.7793 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.45312 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.12695 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.46094 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.00391 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.67773 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.68555 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.68555 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 37.35938 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.35547 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.35547 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.0293 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.36328 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.03711 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.70312 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.70312 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.70312 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.37695 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.05078 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.38477 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.05859 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.73242 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.40625 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.08008 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.08789 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.08398 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.75781 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.0918 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 167.42578 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.0918 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.42578 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.09961 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.77344 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.78125 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.45508 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.12891 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.125 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.45898 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.4668 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.46289 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.13672 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 253.4707 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.14453 -219.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.6875 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 29.36133 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.03516 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.70898 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.70508 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.37305 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.37695 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.37305 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.04688 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.7207 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.7207 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.39453 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.06836 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.73633 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.74414 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.41797 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.41406 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.08789 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.75586 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 151.42969 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.76367 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.42969 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.10352 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.10352 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.4375 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.11133 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.44531 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.11914 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.79297 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.45898 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.13281 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.79883 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.79883 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.79883 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.46484 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.13867 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 21.33984 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.01367 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.6875 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.36133 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.70312 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.37695 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.37695 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.71094 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.38477 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.71484 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.38086 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.38867 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.05469 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.7207 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 109.39453 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.06836 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.73438 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.4082 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.07617 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.74219 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.41602 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.74609 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.74609 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.41992 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.41992 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.08594 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.75195 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.08594 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.75977 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.43359 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.76758 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.44141 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.11523 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.78906 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.02148 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.69531 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.0293 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.69531 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.36914 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.04297 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.37695 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.05078 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.71875 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.71484 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.38867 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.0625 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.73633 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.40234 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.73633 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.41016 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.07617 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 129.41016 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.08398 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.75781 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.75391 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.08789 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.76172 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.75781 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.42383 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.09766 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.77148 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.43945 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.43555 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.10938 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.7832 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.11719 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.79102 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.79102 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.45898 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.13281 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.80664 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.80664 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.80664 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.48047 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.81445 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.48828 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.99609 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.66211 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.33594 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.00195 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.00195 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.67578 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.3418 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.01562 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.34961 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.3457 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.01953 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.01953 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.6875 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.35352 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.02734 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.70117 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.375 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.70898 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.375 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.38281 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.05664 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.72266 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.39648 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.39648 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.07031 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.06641 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.74023 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.4082 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.4082 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.08203 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.74805 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.41406 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.74805 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.41602 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.41992 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.09375 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.76758 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.76758 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.44141 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.10742 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.77344 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.44727 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.78125 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.78125 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.45508 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 10.66992 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 17.34375 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.35156 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.02539 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.69922 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.69922 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.37305 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.04688 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.04297 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.05078 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.72461 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.39844 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.06445 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.07227 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.07227 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.74609 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.41211 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.08594 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.75977 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.09375 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.76758 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.10156 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.10938 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.10938 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.7832 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 171.45703 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.13086 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.79688 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.79297 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.4668 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.14062 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.47461 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.14844 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.14453 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.8125 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.47852 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.15234 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.82617 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 10.00781 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.00391 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.67773 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 23.34375 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.67773 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.67383 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.33984 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.00781 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.3418 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.00781 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.68164 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.68164 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.34766 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.02148 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.69531 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.36914 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.03711 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.03711 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.70312 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.37109 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.04492 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.04102 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.71484 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 145.38281 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.7168 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.39062 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.38672 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.38281 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.05664 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.73047 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.06445 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.73828 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.06836 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.74219 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.41602 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.08398 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.75781 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.75391 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.42773 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.42773 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.09375 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.76758 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 23.35547 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.0293 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.70312 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 43.37695 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.05078 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.72461 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.39258 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.05859 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.73242 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.0625 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.0625 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.73633 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.73633 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 113.40234 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.06836 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.40234 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.07617 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.75 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.08398 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.75781 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.43164 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.10547 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.11328 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.78711 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.46094 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.13477 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.80859 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.14258 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.80859 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.48242 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.15625 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.49023 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.16406 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.83203 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.82812 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.50195 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.17578 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.84961 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.51562 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.84961 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.52344 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.18945 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.52344 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.19727 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.87109 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.86719 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.20117 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.875 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.87109 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.53711 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.21094 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.88477 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.55273 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.54883 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.22266 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.89648 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.23047 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.9043 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.9043 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.57227 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.24609 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.91992 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.91992 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.91992 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.59375 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.92773 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.60156 -324.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.99609 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.66211 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.33594 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.00195 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.00195 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.67578 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.3418 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.01562 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.34961 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.3457 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.01953 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.01953 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.6875 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.02148 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.0293 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.70312 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.36914 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.04297 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.03906 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.71289 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 129.38672 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.7207 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.39453 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.72461 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.39844 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.07227 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.73828 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.73828 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.4043 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.07812 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.75195 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.08203 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.75586 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.42969 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.0957 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.76172 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.76953 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.44336 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.77734 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.77734 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.44336 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.44336 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.11719 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.11328 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.10938 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.7832 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.45117 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.45508 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.12891 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.79492 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.46094 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.13477 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.80859 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.14258 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.81641 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.81641 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.49023 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.16406 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.17188 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.8457 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.51953 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.19336 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.85938 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.19336 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.86719 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.54102 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.20898 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.20508 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.87891 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.875 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.54883 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.54883 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.88281 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.87891 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.54492 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 453.54492 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.87891 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 459.54492 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 466.21875 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 472.89258 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.34766 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.02148 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02148 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.35547 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.0293 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.36328 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.03711 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.70508 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.37891 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.05273 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.38672 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.06055 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.39453 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.06836 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.73633 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.73242 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.40625 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.07227 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.74609 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.74609 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.41992 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.09375 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.76758 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.77539 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.10938 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.7832 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.7793 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.45312 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.78711 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.46094 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.79492 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.12891 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.80273 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.79883 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.47266 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.13867 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.47266 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.14648 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.82031 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.49414 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.49414 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.82812 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.50195 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.50195 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.16992 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\024) +[7.704 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.83594 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.50391 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.17773 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.85156 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.52539 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.19336 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.18945 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.86328 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.53711 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.21094 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.21875 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.55273 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.22656 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.89258 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.55859 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.23242 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.23242 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.90039 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.57422 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.24219 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.57617 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.57227 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.23828 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.23828 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 455.57227 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.23828 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.91211 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 471.58594 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.66211 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33008 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.33398 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.00781 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.67383 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.33984 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.01367 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.6875 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.02148 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.69531 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.69531 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.36914 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.04297 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.05078 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.7168 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.39062 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.39062 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.06445 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.73047 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.39648 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.73047 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.73047 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.4043 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.07031 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.73633 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 153.4043 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.07812 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.75195 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.42578 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.09375 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.42773 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.10156 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.76758 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.43359 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.10742 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.44141 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.10742 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.10352 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.77734 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.45117 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.44727 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.12109 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.78711 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.46094 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.12891 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.80273 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.47656 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.15039 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.81836 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.81836 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.49219 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.49219 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.82617 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.49219 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.16602 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.83984 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.50586 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.17969 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.50977 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.17578 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.84961 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.84961 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.52344 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.85742 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.85742 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 395.53125 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.53125 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.86523 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.53125 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.20508 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.87891 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.54492 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.21875 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.21484 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 7.78711 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 10.45312 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.45312 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 23.12695 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.12305 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.79688 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.13086 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.80469 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.80078 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.80078 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.80859 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.48242 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.47852 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.15234 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.82617 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.49414 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.49414 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.16797 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.16406 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.83008 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.50391 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.83789 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.51172 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.17969 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.17578 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.84961 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.18359 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.17969 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.85352 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.18359 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.85742 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.53125 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213.20508 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.53906 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.20703 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.88086 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.54688 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.88086 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.87695 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.54297 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.54297 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.2168 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.55078 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.22461 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.55859 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.55859 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.23242 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.89844 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.56445 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.89844 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.56641 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 317.23242 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 323.90625 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.58008 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.91406 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.58789 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.26172 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.92773 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.59375 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.26758 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.94141 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.27539 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 381.94922 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.94922 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.62305 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.29688 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.30469 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.9707 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.64453 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.97852 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.65234 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.64844 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.32227 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.99609 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 17.34375 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.67773 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.35156 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.01953 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.68555 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.35938 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.35547 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.0293 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.70312 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 69.36914 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.70312 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.37695 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.70703 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 89.37305 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.38086 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.04688 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.7207 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.7168 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.39062 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.7207 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.39453 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.0625 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.73633 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.73242 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.40625 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.07422 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.74023 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.41406 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.08789 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.08398 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.75781 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 203.43164 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.09961 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.77344 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.43945 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.11328 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.78711 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.46094 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.12695 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.46094 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.12891 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.79492 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.46875 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.13477 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.80078 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.47461 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.80469 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.47852 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.14453 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.47852 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.47461 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.14062 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.14062 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.81445 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.14844 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.82227 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.48828 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.16211 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.1582 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.83203 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.50586 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.83984 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.51367 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.84375 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.84375 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.51758 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.19141 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.85742 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.19141 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 425.52539 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.19141 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.19141 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.85938 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.86328 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 455.53711 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.34766 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02148 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.6875 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 37.35352 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.01953 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.35352 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.02734 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.70117 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 69.375 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.04883 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.05664 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.73047 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.4043 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.07031 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.4043 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.73828 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.41211 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.4082 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.08203 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.74805 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.08203 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.08203 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.75586 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.75195 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.74805 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.42188 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.0957 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.10352 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.77734 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213.45117 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.44727 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.78125 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.11523 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.78125 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.11523 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.78906 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.12305 -414.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 23.34375 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.33984 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.00586 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.33984 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.01367 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.6875 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.68359 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.35742 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.69141 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.35742 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.02344 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.69727 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.37109 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.36719 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.04102 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.70898 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.38281 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.05664 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.73047 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.72656 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.40039 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.73438 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.73047 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.73828 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.41211 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.74609 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.74219 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.41602 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.08203 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.74805 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.41406 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.74805 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.74805 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.42188 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.08789 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.76172 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.43555 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.76953 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.44336 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.77734 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.45117 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.11914 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.45312 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.12695 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.80078 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.80078 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.4668 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.14062 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.81445 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.14844 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.82227 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.83008 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 329.49609 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.16211 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.83594 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 345.50977 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.17578 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.84961 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.51758 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.51367 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.1875 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.86133 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.85742 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.52344 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.85742 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.53125 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.20508 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.87109 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.20508 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.53906 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.21289 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.87891 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.54492 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.87891 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 457.55273 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 10.00781 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.00391 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 17.33789 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.01172 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.3418 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 37.3418 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.01562 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.01562 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.01562 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.68164 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.35547 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.02148 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.68945 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.36328 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.03711 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.70312 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.70312 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.36914 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.04297 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.7168 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.05078 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.71875 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.38477 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.05859 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.73242 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.06641 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.74023 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 167.41406 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.08789 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.08789 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.42188 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.0957 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.42969 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.42969 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.0957 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.0957 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.76953 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.76562 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.76172 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.76953 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.76953 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.44336 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.11719 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.79102 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.45703 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.13086 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.13086 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.79883 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.58594 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.25195 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.25195 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.92578 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.92188 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.5957 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.92969 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.60352 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.9375 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.61133 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.61133 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.2793 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.27539 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.94141 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.94141 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.61523 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.61523 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.2832 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.2832 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.94922 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.61719 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 425.29102 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.28711 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.96094 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.62891 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 455.30273 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 457.96875 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.63477 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 467.30859 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 473.98242 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 480.65625 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.68164 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.68555 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 37.35938 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.36719 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.04102 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.04883 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.72266 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.38867 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.38867 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.38867 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.38867 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.05469 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.72266 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.39648 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.39258 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.06641 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.73438 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.40039 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.07422 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.08203 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.08203 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.75586 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.42188 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.08789 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.75391 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.75391 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.41992 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.75391 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.42773 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.10156 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.76758 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.77539 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.44922 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.12305 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.79688 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.46289 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.13672 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.81055 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.14453 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.81836 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.49219 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.1582 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.49219 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.49219 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.1582 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.49219 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.16602 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.17383 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.84766 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.52148 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.1875 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.85547 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.52148 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.19531 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.86133 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.52734 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.53516 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.20898 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.88281 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.54883 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.88281 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.2168 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.89062 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.55664 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.22266 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.55664 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.23047 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.9043 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 427.57031 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.24414 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.57812 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.24609 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\014) +[6.78 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.57617 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.25 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.25 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 470.25 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 29.34375 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.01758 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.69141 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.35742 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.35352 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.02148 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.69531 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.36914 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.04297 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.04297 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.37695 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.05078 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.38477 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.05859 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.06641 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.06641 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.74023 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.41406 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.08789 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.76172 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.76953 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.44336 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.11719 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.11719 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.78516 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.45898 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.13281 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.79883 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.47266 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.13867 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.13867 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.13867 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.80469 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.47852 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.48633 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.15234 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.16016 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.82617 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.5 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.5 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.17383 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.16992 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.83789 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.8418 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.83789 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.51172 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.17773 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.18555 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.51953 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.19336 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.18945 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.18555 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.85938 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.5332 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.86719 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.54102 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.87109 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.86719 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.54102 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.875 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.87109 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.54492 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.875 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.54883 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.22266 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.21875 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.89258 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.89258 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.00391 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.67773 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.68555 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.35938 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.35547 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.0293 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.69531 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.36914 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.37695 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.05078 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.7168 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.38281 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.05664 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.73047 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.4043 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.73438 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.4082 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.08203 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.74805 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.07812 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.74414 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.75195 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.75195 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 167.42578 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.09961 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.76562 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.76562 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.43945 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.10547 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.7793 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.44727 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.44336 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.11719 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.79102 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.78711 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.45312 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.78711 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.45312 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.46094 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.12695 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.80078 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.80859 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.48242 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.81641 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.49023 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.48633 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.48633 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.48633 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.48242 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.15625 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.82227 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.49609 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.49609 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.16992 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.84375 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.51758 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.52539 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.52539 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.19922 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.19531 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.19531 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.86914 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.20312 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.20312 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.86914 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.20312 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.87695 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.88477 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.55078 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 2.66602 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.33594 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.00977 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.00586 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.67383 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.33984 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.01367 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.67969 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.3457 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.35352 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.34961 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.01562 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.01562 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.68945 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.02344 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.35742 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.03125 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.02734 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 113.36133 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.03516 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.36914 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.03711 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.03711 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.71094 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.38477 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.38477 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.05859 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.73242 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.40625 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.08008 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.74805 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.42188 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.0957 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.76953 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.4375 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.77148 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 225.44531 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.11914 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.11914 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.78516 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.45898 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.13281 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.4668 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.14062 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.80664 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.48047 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.1543 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.82812 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.49414 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.82812 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.49609 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.16992 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.84375 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.83984 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.17383 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 329.50781 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.17383 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.50781 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.18164 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.51172 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 359.51953 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.51562 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.18945 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.52344 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.19727 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.19727 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\024) +[7.704 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33398 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.00781 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.68164 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.67773 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.01172 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.3457 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.01172 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.3457 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.01953 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.34961 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 69.3457 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.01953 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.35352 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.02734 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.36133 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.03516 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.04297 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.7168 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.39062 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.06445 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.73828 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.74609 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.41992 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.09375 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.76758 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 171.43359 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.10742 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.78125 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.11523 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.78906 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.46289 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.13672 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.80469 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.80469 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.47852 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.14453 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.81055 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.47656 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.47656 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.14258 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 253.47656 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.15039 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.82422 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.49023 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.49805 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.83203 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.50586 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.17188 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.83789 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.17188 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.8457 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.51172 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.17773 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.85156 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.84766 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.84766 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 345.52148 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.51758 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.19141 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.86523 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.19922 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.86719 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.87109 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.86719 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.54102 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.20703 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.21484 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.54883 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.21484 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.88867 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.88867 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 425.55469 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.22852 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.90234 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.57617 -549.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.6875 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 29.36133 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02734 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.69531 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.0293 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.70312 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.69922 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.37305 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.03906 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.37305 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.04688 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.7207 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.38672 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.7207 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.39453 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.06055 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.73438 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.4082 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.08203 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.74805 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.08203 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.08789 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\010) +[8.016 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.0918 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.75781 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 151.42383 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.09766 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.77148 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 171.44531 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.77539 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.44922 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.44531 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.11914 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.78711 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.78711 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.46094 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.12695 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.80078 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.13477 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.80859 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.48242 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.81641 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.48438 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.48828 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.16211 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.16992 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.84375 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.83984 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.51367 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.51367 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.17969 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.85352 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.52734 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.19531 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.5293 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.20312 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.19922 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 345.5332 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.20703 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 359.53711 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.21094 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.88477 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.55078 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.88477 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.55859 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.23242 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.22852 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.5625 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.89648 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.5625 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.89648 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 421.57031 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.90039 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.90039 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.57422 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.24805 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.92188 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 461.5957 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.26953 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 471.60352 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 474.26953 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 480.26953 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.02148 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.69531 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.70312 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 43.37695 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.05078 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.72461 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.39844 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.40625 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.40625 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.08008 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.75391 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.42773 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.10156 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.77539 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.10938 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.77539 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.10938 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.7832 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.7793 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 145.45312 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.78711 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.45508 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.12891 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.125 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.79883 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.47266 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.46875 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.47656 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.15039 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.82422 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.82031 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.1543 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.48828 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.1543 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.48828 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.16211 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.49219 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.16602 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.83984 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.17383 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.18164 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.51562 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.18945 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.85547 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.52148 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.85547 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.52148 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.5293 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.20312 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.19922 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.19922 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.87305 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.54102 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.54492 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.21875 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.88477 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.55078 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.22461 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.89844 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.23242 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.90625 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.90625 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.58008 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.25391 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.26172 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.93555 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.60156 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.26758 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.94141 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.9375 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.9375 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.61133 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.60742 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.28125 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.95508 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.34766 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02148 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.35547 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.36328 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.03711 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36719 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.70117 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.375 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.04883 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.72266 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.38867 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.0625 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.39648 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.06445 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.06836 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.74219 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.4082 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.07422 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.74805 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.42188 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.75586 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 151.42969 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.42969 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.10352 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.77734 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.78516 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.78516 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.45117 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.78516 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.45898 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.4668 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.14062 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.80664 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.47266 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.14062 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.14844 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.82227 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.49609 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.83008 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.83789 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.83398 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.50781 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.17383 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.84766 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.84766 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.18164 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.84766 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.85547 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.5293 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.20312 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.20312 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.53711 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.21094 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.54102 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.21484 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.22266 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.22266 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.88867 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.22266 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.89648 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.9043 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.57812 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.24414 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.91016 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.24414 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.91211 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.9082 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.58203 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.25586 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.25195 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.91797 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.6875 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 29.36133 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02734 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.36133 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.0293 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.02539 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.69922 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.69922 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.69922 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.70703 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.38086 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.71484 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.38867 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.05469 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.72852 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.40234 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.07617 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.75 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.42383 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.75391 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.08789 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.08398 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.75 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.75 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.08398 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.75 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.42383 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.09766 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.77148 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.43945 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.11328 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.7793 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.45312 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.7832 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.11719 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.79102 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.45703 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.12305 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.79688 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.13086 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.13086 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.80469 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.4707 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.13672 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.80273 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.80273 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.46875 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.80273 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.47656 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.15039 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.81641 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.82422 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.49805 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.16406 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.83789 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.51172 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.17969 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.17969 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.85352 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.85352 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.1875 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.86133 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.85742 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 395.53125 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.20508 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.53906 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.21289 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.87891 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.87891 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.87891 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.55273 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.22656 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.90039 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 466.23047 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 472.9043 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.66211 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33008 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.33398 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.33008 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.00391 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.67773 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.67773 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.35156 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.02539 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.69336 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.69336 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 83.36719 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.04102 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.71484 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.38867 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 113.39648 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.73047 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.39648 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.07031 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.07031 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.73633 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.41016 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.08398 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.75781 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 161.42578 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.0918 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.76562 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.76172 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.43555 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.43164 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.09961 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.76562 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.77344 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.77344 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.44727 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.44336 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.11719 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.79102 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.12109 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.78711 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.46094 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.46094 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.79492 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.46875 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.80273 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.80273 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.47656 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.15039 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.15039 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.82422 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.49805 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.17188 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.8457 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.51367 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.1875 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.86133 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.5293 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.19531 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.86914 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 385.53516 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.20117 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.20898 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.88281 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.54883 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.88281 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.87891 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.54492 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.54492 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.21875 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.55273 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.21875 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.89258 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.89258 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.22656 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.23438 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.99609 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.66211 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.66211 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33594 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.66992 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.00391 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.66602 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.33984 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.01367 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.67969 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.3457 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.01172 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.01953 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.68555 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.35938 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.35938 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.0332 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.69922 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.36523 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.36523 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.0332 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.82031 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.48633 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.48633 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.16016 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.15625 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.83008 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.16406 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.83789 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.51172 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.18555 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.18555 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.51953 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.19336 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.52734 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.52734 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.20117 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.86719 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.54102 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.875 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.54883 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.22266 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.89062 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.89062 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.56445 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.89453 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.56836 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.23438 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.9082 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.57422 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.9082 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.58203 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.25586 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.26367 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.9375 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.61133 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 337.27734 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.27734 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 345.94336 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.61719 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 359.29102 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.625 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.29297 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.29688 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.9707 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.9707 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.64453 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.31836 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.99219 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.66602 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 419.33203 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 425.33203 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.33203 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 10.00781 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.00391 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.67383 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 37.34766 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.68164 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.35547 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.68555 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.01953 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.69336 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.69336 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.35938 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.02539 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.69141 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.69141 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.35742 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.69141 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.35742 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.03125 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.70508 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.70117 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 129.375 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.04883 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.38281 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.05078 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.38477 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.39258 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.72656 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.40039 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.39648 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.39258 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.06641 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.74023 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.07422 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.74805 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.74414 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.41211 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.08594 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.75977 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.42578 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.75586 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.42969 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.4375 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.11133 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.10742 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.78125 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.78125 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.44727 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.12109 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.12891 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.80273 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.47656 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 329.47266 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.80664 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.14062 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.80664 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.14062 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.81445 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.14844 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.81641 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.48242 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.15625 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.15625 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.49023 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.16406 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 393.49805 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.83203 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.50586 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.17188 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.83789 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.17188 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.8457 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.51953 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.51953 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.19336 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.86719 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.86328 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.99609 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.66211 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.66211 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33594 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.33594 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.00391 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.00391 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.67773 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.35156 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.02539 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.69922 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.70703 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.38086 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.05469 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.7207 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.39453 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.06055 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.06055 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.06055 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.72656 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.40039 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.4082 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.74219 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.41602 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 145.41211 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.08594 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.75195 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.08594 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.75977 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.42578 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.42578 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.42578 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.42578 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.0918 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.42578 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.09961 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.10742 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.10352 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.77734 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.77734 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.77734 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.45117 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.11914 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\014) +[6.78 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.44922 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.12305 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.12305 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.12305 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.13086 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.80469 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.4707 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.14453 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.81836 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.49219 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.1582 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.82617 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.49219 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.48828 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.16211 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.83594 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.83203 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.50586 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.17188 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.8457 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.51367 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.84766 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 393.52148 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.51758 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.51367 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.1875 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.86133 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.19531 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.86914 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.86523 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.5332 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.19922 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.86523 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 465.53906 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 471.53906 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.68164 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 23.35547 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.0293 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.69727 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.03125 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.70508 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.70508 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.37109 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.70508 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.70508 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.70508 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.37891 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 83.37891 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.04492 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.71875 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.71875 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.39258 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.40039 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.07422 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.08203 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.74805 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.41406 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.74805 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.42188 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 151.41797 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 161.42578 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.75977 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 171.43359 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.42969 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.10352 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.77734 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.45117 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.125 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.79297 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.4668 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.14062 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.4707 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.4707 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.14453 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.81836 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.49219 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.16602 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.83203 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.83984 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.51367 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.1875 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.1875 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.52148 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.51758 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.19141 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.85938 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.5332 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.20703 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.53711 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.20312 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.87695 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.87695 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.55078 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.22461 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.55859 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.23242 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.56641 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.24023 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.90625 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.90234 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.57617 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.25 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.92383 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.59766 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.27148 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.27148 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.00391 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.67773 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.67773 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.35156 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.02539 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.69922 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.37305 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.03906 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.03906 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.03906 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.04688 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.7207 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.38672 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.06055 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.73438 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.40039 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.40039 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 109.40039 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.06641 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.39648 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.39648 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.07031 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.74414 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.74414 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.41797 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.41797 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.75195 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.42578 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.75977 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.43359 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.76367 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.42969 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.10352 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.77734 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213.44531 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.11914 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.45312 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.45312 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.11914 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.11914 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.79297 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.78906 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.78516 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.79297 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.4668 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.46289 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.46289 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.46289 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.46289 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.13672 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.81055 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 317.48438 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.15039 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.14648 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.82031 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.49414 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.82812 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.50195 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.83203 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.50586 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.83984 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.50781 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.84961 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.52344 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.52344 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.85742 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.52344 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.19727 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.87109 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 425.53711 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.21094 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.00586 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67969 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.35352 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02734 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.35742 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.03125 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.70508 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.37109 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.04492 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.375 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.04883 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.05664 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.05273 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.71875 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.71875 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.39258 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.72656 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.40039 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.40039 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.40039 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.07422 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.07031 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.07031 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.74414 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.75195 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.75195 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.42578 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.43359 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.76758 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.44141 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.11523 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.78906 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.45508 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.12891 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.79688 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.46289 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.12891 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.80273 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.47656 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.47266 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.48047 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.1543 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.82031 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.49414 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.49023 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.16406 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.83789 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.17188 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.8457 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.8418 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +Q +Q +q +1 w +[] 0 d +0 J +0 j +[1 0 0 1 360 805.89] cm +q +0 -300 200 300 re +W* +[200 0 0 300 0 -300] cm +/DeviceRGB setcolorspace +<< + /ImageType 1 + /Width 512 + /Height 768 + /ImageMatrix [512 0 0 -768 0 768] + /BitsPerComponent 8 + /Decode [0 1 0 1 0 1] + /DataSource currentfile + /ASCII85Decode filter + << >> /FlateDecode filter +>> +pdfIm +Gas`+LN4>:en+d[1Ms-tPpADPK_M(p4*V=nHgeYCQWI2[f/*F?s81qM,XG&Q0bGok +/jYSV:mKTqkM2P`]Pf+Z?-.C\C%k*>.>^-^0rI.rPf?rI&_C4=\Irp6K7Ig\GHl7< +^?iKF]5/F(kE=HgF!18P7-^D`b+!!5e/q7P'D6UM)[s-F[]32kQ&=mqoMRHT$%\P[:')]]6fXc=)PgCf$<5dMtXG8/;fN'l!-.[gfX +UTUQI'TJ!_?C!ILnlB&IBLnRdEN:C"\&G#hP]Z3=2SPZI[8Mm*;V=cX4)mtNXos`O +U)m$+c6.4[[f,HRu"je\%uID$D;]afhH\ak?2K*@#Mt3PbH^8719ls8Co62W&s%jD5tT]^$$`8t +:5S:W_f61)p<+2keZ.*,k-D2%*G]!5]$I_NpML-3)kioa)O2W^MI]VV:+JUWUWOA% +\Y:EXdMBuo@RXM$C!1W>W&1kD/KLduoq:*f=1UFhmV#719sLP?[o=L%<3eq[RB%jD +20l&K8QWi5N_F^s!+4lg&pc]JOVFfn:oqc2Fa:NkW&0diQE&ZieiLBg=5W3ZRXJ[] +?tp4sS^CJVZI>B3p2B[C2i!%?UZ(&!kl,,jE&r8,"4O1>l-mWcPR2U@![;\\N']>g$s<-3$'(K#CBk*hsGX]6*IuRX`(\L +ekX3+PNI&DdYaH^;,\iOBn]7*TX!H7[JXX`%TnRjJ",X* +G5B$\JAiY<#DV2c!c.WJ0aR.>rB"CHB/G*l^i."Am.e$CfB06ng'_]t/-r?3Trh(7 +)dq&#=rDm.d-t3(f9VlW>kOJa*_XIh0"XfMkVs^V?a(N?1LmOCZ\6U +`o9[_5#nLU<$6H7:*#-H#NG*a\9&jrm7UUfddEfFGUORS8o>-X[muq^a.#lFiqK@? ++3qf3/nAmn0?ekM(*rT`\nY=k2 +j>K339QtC'XkRsX1!SM9M;(.9R79s3ct=5$S&*Ha)@%hBd+0IU`<+X_co_cr(!A.E +'ps_M`%5B[M-:%Z&b@8a!ooA^'Jt>+aNtI_5qens#'HJe(:=#YU?,=_Y-g[PVsF," +Xan,+1j$X4?GtW[=p?]3(rj$3nSKt?nV_$X]Aqtt34U=h8R&*\/Rk6TJ76G+#&2O/ +D&B,YrIh=LqFOiou#3D6oL"HM,?r$N[lI`'dKQFVH(Q/ +<\qptDpm?B8i'2AM+L#Cq<,D+)>@=W[@VJr@s/073]>ssY]CQA&)*?O[WfI/\(Bg3 +]Osn2$PE&@iQ.Oc,kZC0fbiXOt@8?BW, +l1A^;]DB\MQ,YjeoRFJ'",Hr?5>PM7BM(;Gc%_aP^V!U4_uC^^Ak`X42]A0A!%.`+ +"TIjJADO8[fP[+534s5->^J+nGhV>3sk=M*U1pqM$Za-[ku7KB7b(Bio/0a.iMT:!8UL\XO@ +PPZ"I`D>I5muGFI8#,;\j?FP)N/%5Br-LN=2P]$\mF8Scs)$']m@=!5r8/!R=TelO +!8?lE[m2mZrG6W%q6(q:$iYq6)89rs0W4XXP!AcWj0K;KrrIc`o99*A!=N2&riJEY +^Tl]Rj;n)e?'fQp8H'`OTg8fHrlK5(nrts1YqgfK:#iSJ:]FW#+&7`_5" +:D!U,'-k8;Y'kjCq#;[Uq&Yq'->$PB!;N1:s+L^YL]HEp"aiA*ldpb)?H77WqJOq. +6id,qo.NF5!(Mf^0T94l;8UIR+CtSK1b]$Wr2+qc#iL(qraufS;g"j-!;R:i5OmJ- +.J9G8+b)sR6iP+FAoT]LH.TUdIm*$1-1'qpqZ_j96kRISaL:HMH4-l/hKVfQ3)AGC +i3)[\NiRBUSu$+B)()OG+b/0iL<HIZ)R'?k&PgF44cMl$lXND57G>oRGSt"Y#oF,d5]? +FeMEtWSi8hJ,E+Qs/-ARn:,%g1Uk+rhA=*0SHESU_>j8"s.@T4n'<;P0,.bGQ!^^o +he_Rbm@)oPg>AI4J%P?f\TrYu(]Y>d\rZu>aT%H&o>uiip7kRdhPkj@lG9%/E8re! +S;+#d"N^UA&%$7$`do`:Ik_"2ao<]n"`@gNJJTbc04.0K0ao!%V#Ul)=?WGbe-L-u +#([hN+Fh]:`dZDoMODM)$c$3c[/qKTYbhV5&49?_!#At00TD7X@1&A+8P].S6T:]O +bfpYZ;0=7\+B[_9s$rLQd/qP(!%Htn8gq_O`M3:nB]`m@C)Z-SHGpcJ-AqhV@kDS* +NS.>V*0>[.nt#f<i[qQ,=pE=ql7]Il:&PX>n-Y^,,(!@C_Prdp9Q2^2C4.S3Vgir&P4/lM$G;f^X"'D +?``7R_#I[<061B8$M*pP2QiV:51]uhr]1"6;?)EJJ)pW-=]=J\?`iQP1dV>,s!\!l +r)`kN1n"BM%0bfgrm0/ke,h?(Q_g+5,[D,%s$?ib-jUEhkl5Bf?0c7j4mgGgO/4^_ +*aTo'[qKO^Gjje%!VT$SUPLHahM[) +r84ZGiVus3fS'0\VH1tBs0pE'np_>PNu?%='EOco('i'u"8\..5a!3X%Z&(]I4;N' +HsmQ-HRpbX)0@iOh/o&%*qKG&+@L_[Cerb$^akC[;rcU&Sc=[\Q_EJfp4(Z5qd5G7 +nm%SB;^>.!Nofdu.JusdT_(G:s4W%6`VG"..%VDMB?(YIs)[GRL$\cKm*iKb&HMhu +rnj5LP5Hj+s6@u>@ipm67u-5Z;tIi!HZEfg*P+=fDW];uWC&mi)Sqf!!9X;sbLlRC +s3o=1a0Ye;rdt1=i\,n6?3.6-J:_/CiDY8Y!"f3Uk6Hu7?QdS-@1Y.'?cdcui>"0T +"N#c]Je9dIil6G!i6;c]0r!rGs2S7'chUoPs0Due1AUZ2'#FUCKH0R_Z2YX$5D^kH +X@Jk%b>QV[p`K'ffp8C794?RQphDg6[H,)-#/'u^IW8Z+om2&sLR'`aokI4PmAU:' +A+9%Zr@_qcPguM(>S=sSa$Nf5&nXsM1d-/r.^S$Q%8nb +n:*'galh3I=Ob4fQ)\^SJ*)60s/H"\rI9;VH8o)e!&D1eS3Q0>#la"6#HmiWs*Kqm +niu3mlYlC65P)Xdh(Z>'VIn'Ys#3RTcmfmks(9:'9H0EL@k28,5lMa?aIe@jaM/\I +mRCU`>qh'UJ60Smj6.ZV6iXL`Id[6Eb6/_Y,H/5!)K$4e_;T9[c!qmrIiegC#gA3V +nir$4pn&a\r!uCpIF4b341%#[->QPXCoZQ]13'9a>cPk,R+XDF-$S#lC'Le7RSBYPns/WRda@,GfmCJ>,1/d;%!@=D%T8F'hU[4!Pl +,Zqtac*da,a`+>M9Jke7Fu%QA#DS_^H.k09WeOBm0J$lAH$)?L@:Zd`XEK]V!QkIc +">h69V\HP;\/8=@\:9CgrtN'@?do-fS3LYVD_d?LKRG:`?U`k:p.Edt=je[Xq\deS +,SlP`YVAls.R@(,:.R04hPiM\3a2Gq&bb=>^R;"olX1X3c=Vnf>bKn7('p[d6.]Eh>!Fc[U+Crd=*^ +'+V;'gM1R=o'[)h!:kobo-I6h]b6=,KYkp+i,Ud[s0!ONi\;&CT1lGni]efBrt,p7 +r5C)`.kO?#/ZlJ#20^1fn&srf$R>eh\*tGFr_6P'_>>=_-RpERV'N7/V<%YW8(o%7 +7MGH*VF:V]8(sGpl#pIKm9+(=lV5P`WuIonr<-8"efbMm7K"pd)!#d\7498scn)O8 +!V+E>peBQ@\"N\L,6\_*T2MhAAmN14h!`[oG8^-IhR?VrbDJ"h*6q))ZRKHZdR(b*(B)\47HXD)1p.6R;->`qAGjcS"b@ +`ILk%Dr1gcroAPF3X'NaR^ER/O?=Rb,U2eioFLk,dSq_X:ocA:2*Ld8<1u@X/XR3`udl#&CXgYLj2R]'O7buFiklL]h059_U%3hI5 +f@A@(>"Z[V+JEHIO6]sU'?S!.gZladISTn4rF'Ml'L)ZGrZ]hTd3QTPTDU@L!4;bV +6id%T.Xs4'eY1$kio1RJs(W+pL%aL*GqVFd0DZbT;Y:qX*^*ADlUidHdAb5LeN&C7 +@oK2,jJ`OLIj0=mM&hFm"c58'!]%gUr3<&>/?Ku:R`D_ZM5#2D+.gWpBC_O5q<`mq +r_a4/s*qIm5.fIH*iT(-fD%LR*H1`2@P`L"rc`PQND7ISJ#+7AoT6iGs,l%=?MT'h +Y`f$CgK3s,DVrJc%rj+E9Pi)Xc@8N)$S8.T\;bF_Ec[pWFDDl(NZo5?.I]L\OI:9O +8cI'8O-h7K$[Obt2o@VoE?,*&4cfI'c +oeeX8+"@9O%kX"C,I)HSIiu8^&%i8Rd/pDhU7umKSb)jgq*.qc036#QJ$CUY20f/= +n5T;nk$Nf>:[bBonAiYls-5)&s)Ls;s&U`;Q$PgGl,a/TjeDcf6Tt&@^iJ&aH5Q!3 +%(EINkuq[Ne"gk"f?@W#0d-qEAL"AVOrb%S\kZS^8BXW)eTCVlAgd[=YPd:fg:n:ap/%79-IgY*UteXV]Kp]W.E! +$ahB$Sc?=XNUk_$#&,))7"/bD&\&L9l;J,"9/%#M$%p8^b503`4i9H>d9%] +K2-ClnomYL*XV"Z=YccQn:)pb9ZL/dUcP.!(,EHf?rNkX2t2&f$YpOGLs/E3je +pV3$c^RG(-:[74"/b=J?0UMf_5I&[55lR;R'*mFl+7a(DO7%X?o^uIF5QAVi!)8"I +s&0'9s+:.Lj:HD-j7.depS!%l"8Q1BQ5rR&Fc +qs7^O8,pPDpj-fTjtd#hBT3fm\TNuuJGEQnhkhE"knnUBi2-GsJ&206^pYBcg[G[T +k)X?77CNHAr/3Z`\)4*,!#C1dKbV%VmgqF_D2J>Q<=6P>PH]bY,d96i,6(Rp+NU2Q +h[Q%\14MBaisBF'@1>Xj1T]OA.>.t?L1RKK%0#]bQ/qs?:soZ,&HO/,nioRY9E2'7 +s"sNn7sOij6gCaSS9AfrSSJPPCZBd6t. +q,?Acq4l5jo+d79]K&ru7`s:IYuq%d]6I,RUStW_<<$%bL]BH./tc6B=3HIn7>,^:smnIgXp/'XdreJI(cC$fhE5Q2"rIVeVR* +SZ8r#1Ua<<3=)b!IGVljU\Q'ASE<0^pMHq9h<82Jl'Ug"g]Ckcer +TrX1"Q'gqcgSDY9$,@a$Q\Cs8TS''@Zla;/_KKYG+ca.0&W\L.Q,g%=$,7Z!)Hpn>MKLMkZi>$i2q6NL +;Xco@:ZePYL_ht&qOb.qjSu5"'P[uTs5AIK^XCY_\bloo[/`9A[X]1Zs6&e-"ogCG +Et!_GE_u_lSSe*J>O70ncj]r`qSl!kRD7.tesdRA#?9J-'1`.k^Z%QXY:2N_"c!HGm7P(r +\07,C(,%aL?W$e=<)a[LaF +k">GoV1*@7IW4L73q_EpbOF2%r8KGZopWX$>JBp8i2b2pjkBXcC\m*H5.MQdJPUIO +LQ29"3`Q)Xr"!YU^.ek4%pdN\(Zta&rP/<*rX\JQZ'p/4J80Pu!Z'nt+h^M\n0/>R +&BXm+`84d/QTu*)"b\K.E&Bj5s(TD4KC_,!0:jW36L[3(7uGTKDmB/2Fq[2g3a#(1 +8;.=_1$u"\*)-5Q"ePi.Gr$iP8:af4dLM'6MZ>@5patEXqO`ZG2:$@6cf@:tWeda# +1[SLA3`d*q&,E!qpKalrCb$[t=tHtJc&/MYmV!'j5EoSRY+qRqKD]59j\Y^mr9s6l +-3&bYrs3!3$i\Hd2mNhjkDTA3]J35@LT1M[(=`4:JFA))7oA; +dYLVP/&Nut397aD8c'!#KNl@o0t/^ms0]-5&Pt"D=:fH:,PqfH0@e]b+V5Pq"As'&b,&-(889`DGS +\mF">C78m;c2L3_62p.a5m@;?ZRYN1=o]<=SH%=mj4sZ='EOa(pYgU>$XfV):SSsX +s6p'>rtAH5;Zs`M":6"JBE;G2p+b/]VYT9Xni+7D5?I69m6Nt@78O>ANo/V$=E&-S +ciP&@\ei+R#:aQhUS\ +1M-/Wd5b/!cdhObpe!?S;W$+`[s%.k:&X/"U87hIdY!Tu"!eE-6hgZD-_C;*0g2hS +^"@mcG2SSXHl(ispn&a;YaU^edS +mc/Zt:a84jpjb1#2K9\l(+)enBd-_3qYut^FV$I[L2o4\i/a/K;h,HZ6iI-?r!u,A +$c&nGl*LDB'!qc-G(>s-(fp_*'WC;b3;Hnjs,Y%@s20@"jKD#=r4d#)j^9Z*oP-C2 +Yo:,S]fod5>cgE,U/Z6JO;$4bZ;+3L+%[W*o*A0C=r6:pJjhq/QiOp +b$%L?W`;(T+,a`(eK&=Y;_@ee_#LlBdqi\;FnOd\ERqS(;Lc@V0\q5K*B`-tI_7]: +FF3l[mYp1X(16LU5<\L`]K`rrDBf5J7;4[V0&lh6d.-:\rQe?m:W_pPAqP"oM:G'j +g+KB%2.Nh-jtLpn`bn6&0'ZjD<_h8fB]+te>Z6Z]M]lXqTZm43)6YOSP/eTk\4mAE +G"KOtMqXt_J1)1VH-DttPqCYUfQ(XI]Ne)CDE7Wep8bMcaBt-jW,kg15,QRPFN'K) +r*RSab'E%&s$lc*.8VI.i.%J%IAU2q'eWiL8BFY<]7=]m1&b=*0A^RA)p=VL_j8@!k5S[=77hb.hH3_8[Z +_#Jc[fH.L0E%m4tX:^]NRrol3c +Io&+k_uJ8.AaNaU4BJr9Pe@Iti'IPGUM.EI1%#SR:-Ilf.dXtVY8M`#[X@XK_.Wc` +Y5"/dJ+#6Z]$9SB?Pg?5CZ[HJ*C_s\[i)uscJ^UCs1p5chtX[!K3NPnmCUFl\<$'? +p'!W*GWmJK5,Is;V[pS`be]),5/:Wi:YEVrRA9N@6](l0!m*Uj!b`d"'AK'HGDM^o +6h!;^!>.q]kPGWnq0s6d_#Jr_:\U([2]D]E!YgR"36;,5":tSZIgQ7g.:<]eJ72+X +7WB.ReoUWtkOK_keO?Yimp=8Kf@!Dk_Qal]XTYh.!gh(R#NWWlno*"mh7d>P#-qj1 +aZj-7=d6Zcn.'"o#_p\6X?cd4fG`hC88]]YU/[_AIjY1^<$*+-K+s +e;('D8DRZ&5lOiJr5nu(2Qk:(Q)52bYL\!p5Pr3uBQho(&`g,7:Bgb;DC3Bf^bBZl +LCO3XBq;Z@mfo`UpJB_Ag4)=Mq(Oo/G]WTCp)O)3Ee!oXiTf0mmFN`_[gtCVrVb^B +A@paKQF#R]i(_ks2fo)iJ)^=nRGcDffLda%dE3uO-!durka"rVP+c+0\+=p5^R8]/ +".6h=eWb^OU0jJ+AfL/@O##`nV&Th%57-[s!ait64@tkpiDd`9Ea3.MGY?6CN:($i(Uu\me!5:)P5T9%F:Jg*f!Vb7i09?E"Qf%TkbKd!59]eD5lThoDU,R=9R^<-J4TZlkWqG= +h[And3"*Z"K^qDo;]l)9F,=:.PlJO3L&&cZp.&B=$q!+/i0F@9JY88PJ8"fg9s5'+ +#8O_Zlr"u.KGItCs(DFH&-Q>8^O327s6CK$eqL\`Y3qm^qNmYu'q`h?n&bJ`r)s%NECS\*f4 +r;RVi"&H3#LY2T9@LkRIpVHUp(\j.Rr1#hMcp!$Ra35,>!*oR^!e;JFA,eI$LBmmh +;$Qs5Ge9BJl-(Hm2YhjmjtcB(1,Bq!lGNXNI>9sR6IYT\4C[;]$8d?,JrbGTS0@t( +DZh=j$c(3tZ9t>aY\ZT!"`l-.#6Ct>'c<&1ao?h_^o&Y:s,1p#BE*a'9-NK1W,Ess +'p\BR7U=U2WD\hXUIJkJ'6m^3hp;G^jfsg?I*D`IoZ-q\]tW +EW6aIr[f/c=!@FCRM<08MJb`7bo8](@k4=0p0in`64<0^6CLe;;t?pZ*`^LfbdpbA +`i0)TLOu\.Gm(?Ji.R`rW1eM<]FN@bA]h-L2fMp8q`jCZr\$Z]`MajK0-q(sIjJs3 +B$AeqWKoKp$DqRpLb&D\.,h0RcjLDM1/FmF/!LqIOu?BRA4t:`$5%e=a^=Oe/16k_ +T+T7b$G?F^!H_6'Q2bP$<:4EM?!XRN=Rc@Ap\ksM">RFL)7%NE1L)pUrQfn9U%mf* +s1:MfJ$#j7,G:b\EUkauj^b=hQi&T9:D#jO!2TZ>i')EOrkF@G"TQf[ +!.;>*(Y]P;Qh,LMMs!_=o'Z_joE5Kq^O<6HRAW;k:-G6ms'rmIjbSFV5Z[VP!@"2u +B.6*tDFiUlb53=cJEhW;Rf#AU0_p?qHbJ>MAY#Q[KD@as=G_?)U;!IGI&2p3D`4Hj +^2c&>rpOqSot%(ugdn>EUJ[9SDhN[+jA5ac7TVp]eS&bFSleX]@ir=B* +=$"b:kC8Z0^ter^;!t>Cs)U#^jT^ouV']h?rga#Y9"h(f%^^knDD9HHa"$NT^MYs\ +dI87W+&n5PMJ60MO/lL6qT_fVn#h*.e33ZT5P[8urA6Y63'.'r^A'h$r&V04]sT'g +IXcJ=qoSNsa/^jhk>+$lZgLl#TZi-k,4<2N*Ij*Zrdkn.+8hrT=`,K2mBimWd<8FS +P[HYOX[R?^&CZ*EX"Lt@"W'79#I8Maf$9dM%g#2NWQmJ&Lk%=[pP`=mj&MphJZs*m +n1F?>Q^U?nKB1@a+H9F=Vp5IQq&o/+Eh)rtjBp)6R/Au&ImF#5@0BC6PY),[q31ib +,n3D325q3paL_o.q[I=$#.*;o$)1_b13CT>tUW**p +V/O^d?toU`i,6OCs7\g*#;H0*G2WBD]+JEeLArLu;`)kh0_q=bTGuTR"S;bBJ?/^B +,Cnk$[0@D8q7uo9'\J$8B+#r]EF`.$,(KbE@-Ip?T^+CWXpkit63Og*0-``=#^B*q +.gG&F+TFn1UBP=9Wd4VOBSSLks)nL33OI_aWOm<;ao<%U,^^a:"TL\k>OT70i6GhD +rc_T*IkYo3LmS*j;>bq4Iu46s5PUU.JGBBE$ect9ra57E@.BLX=e:Zo>Qc$0-4_1r +LPUKXpq?a)!6'MN#\8B&#Or=t$X"ftq/aju@Wr9Cr;/ZImoftf\%F2J!;;4/NWoaa +TB+N$t6&T25I*gjPiW^PjiF;:p)(Ps;AM' +InmM'8mhTCn,K4(>,t/iXf/67ePq148jHVSCPp^^cMZH`CV,==[tOdl+FsJ,BEoA, +%3g=`"-4)U]W.K'!U*12RsP6dO%U^.!@N@S@Np0Dq`c1RP5g6q+9(Hhs#b'"W!-9? +";tRR!(@nV(A/eWdcZM!>`m,m;cKYel=AJg^cVcg +hmWUT5ICKf[YEjMmHNg**t-2_p]#=WOSMcOs&]$2Nds@`s#+^K2#Bc5s5NrhdJr"( +H2l.h9`A0&@ibYa!J\^%nimt49VMsD^+fS"\I^ii`7RXY3\1De/ta0=mf`?qra!n@ +mEh&HBILf&KDE<4'\FH3G>S353WJ-k:1FO8p`Zfh(tST>T?AEd*8(N1!L*YAJ>V3( +-j>80TG4%4Th#2""S6\#faFtR^JKG)#M&j+s1=WO_3L=)!UPQ?SNXRC`bDr*)=Q@X +H]K&;_FL0sjP*i@YH[$dHCI/&gitA+(LuIe)1*oR5(WCrAb#f@r]_P$InC^oT@6?\k!5j>,'K"c@ngFH]]kX5E&H(Ehn39?,bqE]Ai02cqA`S>uJ>Q,r\<[,* +6,tWK":-IG4cAn"q3:Auab:#Q9KUj)/lD1CP`)[\Zg7:q(sX3ujSb4Ne(n[o7HO)T +5/3'!588D_n@tO?r7?<^hZ)Q%.$=S2gmK5r]AY9T.">C!/h8g@,l`0d`D(U<64;-[ +CK_CRi.!?\eE$WZ(BJ*ms6SY0K)]Q[e*61Q'B==Lm#T]1J[.4r%u9H?5We5rVd8>m +AS1op(csbVUpr34mG:h9n#H]OTlp_0lUMJFj2^9gbC\"GV828NmH`!dp#58\4kh4\ +0K[#7m<+\#kWrYqp[hj +*"a6h,+@l1N^sorAgI0"76B +MSd3=+R&h/"9Q?2&I=,@#t<^('2.<&gLt=NQj'F\etaSkEf4es +QFgtG"2i^p./5Zm1"%u#]%091"]6B,C'/=TbKHN)H5L"nER-8a=)5B>+SN]0/m#`u[eTq?,!8Dj[obI9r\#Bp:K7F4Np3l_^n->MK=)V1!;i5'X"G +5#tFMWi+d'rT$oCr(HeL>MoF&D#8A?!2%7I:]6JKh-*Io1=pGS[\#h-nb9E^+$'(b +8jJ%FTGj-I!nsYM=1QnJ]r:tiGr;/#>rM_CJ.d(,nEo3N+S9[H34Y&iEYKVHVF#8=LP9ptnum>8Q5(TO)0%*@U*1 +d(Vb"Y:J\@+J7i=(:9LB-CI^XZ9TJSaeN!1,U3es2aaR(E-`an=q;rKN79=T5SsXC +nsbK1,ZU/,/+QA6OfPPHuQh8C5>d]jJRfV,k92n",=g(%e@ZurjT +k0[*1TFhb70-uKWMNU[?f]&&j<\II/JGQ+RH)9b1BmWpm^.gi)@Y]-(%O7?$:#O$& +"uOuIo2l$QH8skfmsU-"h_&p7gUXlOSmK>(f$Q?R4_K*W!RqKR.,8&`DLL8`rZ1J> +gj9Is5D9X)7h.aOO2/fgnYc0(QfK%ZRQCJ33r,4."gn&j3Vt[\rd4Y8hh""Ff;r-eSq<(+R/Sp-)J*`9qt.fXNigoSX[*SGD-(_!7shIa+%?EK(l +q=R^%/K.nAs+^Yo!9B2IJB:%P(B0@?hnf>SIj2K3q54TEaIb]gq9o9gru_(Z_ep9-X8+Pugk3e3!q[o$HAh1g%YnZk+4jh+hs%.F>m6.:JXZL$l>ZLn +(nJ"KE!GF"-\5Y#liM?(AJucWY`*/,JR7)=W)L+UL57T +=V)MZQ#c5YBIU,8$1cDW-j"EL9fB%IkL>+`iu(uV.hhj,S"BdK5[=@I!p'Al8W!du +jaWGCIDAq`?nVJ-k5Upg*ZP!@AL;GNj[HT(@i.$&X-Ukg$q(MUEhR?5Y^VAVK ++FirH&H#=2_Yb[/niu22rkB!1$N=Css6%OGt:s&XgJM/NP:Yo!L. +$;^j:'EK9hN">Gg8cag"]?!0_,Z/OHHiK.YQ=7Qk%.O8bqjriKOoIKD2<7Oa7KDNL +Sc<9YqnMBX\%IU,O21u#h[Y&&J#`NiY*Frm-%!=g$]?KK8[GG\G1;.qC,AEM/8KGf +X4>a0EAa4g9uN>BTm,RIT('?_jD?19/fJ)Kq$$RAF/t5iB4jEoZ>tSa5>5:c^g9n&M4"D5L&`t-Z8OfGPM@#^2QV/!%8!lRYU@BM9s9UE?#spd1pg/7Si9g@;DGCV%WBpN)RKJZT,J:AWa7iGI,UbLSH%-crqEA]#54X(7b),O +ANrP"Pbo39+c#TtT,*_M!@%B,]pYLJO^:!9DN +gN?eFQ^45glAlr:!i@UDTj=k_:]@!0TBFMCKDH\6I+uRrY]JisJ'"+NPQ1>cnPB-# +MLW_IHiHJ.MkKiPoKPbEnaDVMr)Rig?]0(N!XOY`+U*NApn@`f9E"n5rtGLICYo*_ +gVG`6&;-fE5hkpHK]4(QY%;1J'G2HaF#3)&)/-Mt/-W0o>S+sV,,"+_038)5s/]in +k?H2d7-2ofUEo05)>b9aT&cuj.2smGHod5j<%%- +Mkua@ae'nEK)DVCY;CP#ZQoG?b$UP0OT4'66YgGrTa2JRfH\90m,OhuIs0RYgOKR& +a&f_'`_Kmi)]FGU'-a+,1UPojAlIN!X(k?H;W-7.%F_h'643ehF8k%t,lcWS4qRWf +#Us_"4a=%M4ge&B\'H,MVg",Q;9@TfX6VK3gANpQnPe6B&+fpZJ:(b8(g=$Hq +TF7^pFI`BoceWX,MsMOP"s!^`rbr;Jq7h)i+SjXe7Y293HcZ5F/H^?@5[P%k)A.$8 +Anf90NMND=ZF81cbr!mu41Ealq4BB#F$-k#WL>\F1AXm<#E!540(T.c57RFd<:Qb> +SruTB1([$7K?;A'@Y80M,/>"!TccT'K[X`i,d[Q$jF7mD,_#giG@o)!<;El[s8HPR +J,Xl(&)g=AgD9b6,2bQ_Z]/H_$1IoMm[2f3`h39A>6'!C]^(< +"E<^e6Mm;N&*EFIi8fC/ao@%lcUb=).X1-*7)37=#SAb^2ZcO$`<]lG"Y=`rpg96s +G)(boW7j,%DUUH/g6Q$rETm90"(6=e3K/@ach[U\_u$(/m#]Qd(7bE_h[pFbs#^65 +\.-(T.6sXO$4*?r?S)0[s-*B&r&"HL208SF+8MPQs$('Vpq?#.,(NRApq@?uiT1#/ +rhgMspk5(XqO\s^r6GZ6\5/XBne&\5^OE;bH'MBj!]<4'cYuM[KEr,S&0M%C?5]TT +4:#%Z5hZJ!CB_c`p"(lUR/u:-WN1-e2eC-tWDr +>l`UbnGFdMGaf/VWs7XmTRp'lD$7'd^OH10)skuS +_P^XHd=@0@=SNF:L;e(N5@S;[c-<2`'sk=](-qj(m>Mded["OU#bVlFA52_*r,4!] +oq`A7CRDK$9kuL5FXEqVVjRK_.9.pm!7@SdP*C\7P#,Blq>94UCrUK._>j=cHI;a@rlP1VIs/CZQiA4sT8raRnt19c:/'P,`fE#DrepcR1"#LY +K_PN5@.+'^c=j79YVc7>HIl9bYUY5fnsX0IkQ5)e^RS1"aT(Ve^tATmSG]uJ$i.Q` +q7e!rs0EYqKe@nI"jJ(na0bl(+/Ao:aA>&%p5-ntr"%u]5NLm$`W+%iMMM-0OP0q( +MuZJ$=5*at?U3F_&0aA!(F1Pb'W=("22AX.e288X[R8ql)S/ZjJ*nppe!OX^aa]FW +Y8&VbT-*"gFs$[0i'+rd$iUDa)@69!@po$;AUe[fI;&XJpu#ZCn5JrbI#]4s9q6Z" +c(@,q20Jn&q>prbs"/Rdr1:7n4)b.kJqKt7qbP=/o)DM)nNS=t^qYd;n9`"N>Mf'h +mcn$M&q%r/HqBr[:7Vt`r@^P=\;q]d7Wf9?emlsiuH +fV^T4T1F5:KgGlEgpcj]r`,L$2Tpf9Jeh+j\Bh#]7R +^Aq!7)ej@VD6B^/]`42LHs2k0Bep'<3iPk#<:%biLb"nnj77.o7fEY/fOcglqYp^U +$[VMr6'`uL1)1O2s0iE%Np0"2chtO:QiGJ)+\uGD2GWr=7H"4AqWcT:B`)g-p\uuD +^H^Q;+9"CsJ$Wpb/s>N"1JuEJ$]4B/hl]!.,>.; +aT)8t!fgoM'6'F#7;DnUFD,*%KG9g!Jc'G\7jNT#s&Ap6r(lS+a7RcL"+U[P@3\$' +nGSA$3ts`:J43e`6-ZC0ErL!eoPKqGq;5cME=A92/])-X:;;\eo"Qlo!De8piZYi3 +(co/;m0c%0;+i"h7=5KjJ1GsW-\%LjO?^*JI#4JWq+:S#B.j4T]b8O"m1UcFrtM$B +s!bJ]r_n!&q6;'HLAur5TG2qV.0=I:jaW/<#Q31Vn395.?KQC,nk?_bK8731:*LnZH=9O:DHn5q4m_7/UsquL]#!_@t47qncuk?XkqlW +pNDHLZZ`2]\p9'Z8dNg'2RsN8%ntfAKq8#])[8YS4?r%4]5:KQDQ)P:F]H7q$>sqa ++.-\HbG9"oi=KWYQ1I!DgjqNK<:dM&^Z@is*#+1N78>m72T1SRXLW5MSTc. +EUp:[NMWGER*ZZ/\nk928SHRm%7l&'$:+U\Qi]ZbZ>`b]MFiFt#m`r;rl>u`6rsD# +!BL8n8j3&9=d5i-b$7Z)YA8F`pFQ!O[5$T7r_3(#pV/EF(PG#$n!Z@!E2R"S2k)#b7],48OJbe2?K`=?qDk*lU0YJ8,3:DJ) +i$j%%n/,Rfo5b<59'Ce5n!oaC6KJaF'.EiOrepdU/IUar8c+G.-fP*_Z$Kq3krm1IBMLJDK,[hcC+4Sg=gh`V[%+_H!6D)*4&qR+NiW#5$]EiHHTS4RT +0`T":Sj2@U0g#/k,EH_d@p=I-TUU>jJ$]Dr5ZCO`4b>^b2/03=9Z;[i&3#,E>ap^e +!$;4rFY]gh6rgLj*(2$W:dc31Ma8JmabYi4Ip[F8?kJ@"LZ2#,SH$R5S2?h(P5hjg +[G_("f8KuCrZADordt/qq4imu*qb`dh2C'9oPhBZh]EWMh:fki8MfGbiT*e,"X#o2B`9Q="7C0%qr@IN^asI0DNa2,r2DL#rZW$] +"B+/1IW?Aj]nr8@ruqD(mR:I]0RrX-]MG)Ha=uJ'm)bcm`<`uos4&6?KF#A[L]H]A +E#hBVLQS]m*FVl^rk))$aA?c(9'?Gg:bY06%C`%m0nQRKe8t3i4D)G0'EQ(E*T>d# +BqGu,KtmX2FSISNkgNs)&^PZ)pj'2P]_Xi0Y:^U#,J-[8]VcY25.E4ajUuqo%I(s4NB>>Qe$=.T#j.MlPqt%?DFW?Nrgp]3N._ +iDkJI6S[r,-UY?*g[.R9m>X_\\PQDNVVYksb:l0YT8K_G,#nTW9-rJ-dRt^R=it9A +1O8,4cMT2'rbQ^/o.5iW%;iD>qEPrU*^qASkBUV4sE*VQm#Of(Jq&ahTt% +=iN%'^S4*o5L-J=JA\;LSS=PjJ%3RX#Y6%g]?Cjbi&5dQ.=_[@V9nd;3cQ0>T5q[U +g&Dt2rYb]2HeCl-.Bm+gMQ;1p/YM4f2FcYh\,lJihriMtTASH7=G^)*M@(G,`ljG: +B&B0&TDR%\6pR7?#`F4VA.'j5MskhQH^t,F#ah7F05M1B!br$_2/XnaN;sOjEcHLc +VTVB8l%gZ$<[K#L33J'fLb'O/"9Y./+(PL@W;kIt@1gVRCBR%1"DgJh]`/Y!s.?Rj +IW"2geolPVopmm!S?]/+94Eq&,abp*!>%9SS27r3flGC3GijDJJ%b=)X*^TJ;P%+c +<*'a-4<@.ChR1s1j2'f0oRF/+Y8mZYRgZn"^XcWJ2*Y@D".n];R\-.#rmh;;jUH5" +p@RA3nbF+r!LCLis).ROVgZ:url5S#r81\\24(-=9/Uda@a(,0R=[Eq3\u\G6!=+- +-i#.,A'#8k!A^A59Q2oMT7Qe=,,""hVct8G#/Y;YqG#rn!9GgMg'&HuOgG4kd!d@H +-%Z!?6T`M'B_s8Q:\c2e5^^(g("g(hDdW:J'O^pU-BRA&q(mp.70L8[D/-VADP2r^ +8d9d/mu@QtrhZdDaq;EF_L,lB+oi7D>Z.[K^:/_+_S^a]?JC+B`nIri8gBWdFZLX0B;R%ld)>^!/pu&hhBb`8hZ!i +6HX>Ai7^n5ohGX7/:G!1].$G."TiETLf]6:*.o\jU1:?6T?TH0F7u$'D-F[7:([pP ++r\+,-(]rdrL5\p#p?GO>Kt)%b +k+.EVAg?`3Y\Q;`R\Dm_SE#"-Ut7KlEK.K!Y;cT6bPCGIrNX95&VG:es'L%=,Q>ai +7mJI+s3JXTF31./"n=poODn^'e?YCp99mdXD>MP6b6e"EHCrU[J#hD[Ciq\*SQ3Z/%;WM_!;YOH5O*_4s2in=?.Kl7M[.;] +s($'u%0A='59aK96i^Kn&-!;,,:NHb0!M0aBEbbpX$HNr'jP27GD"WY[!r\E"db@b +lcAD(m,"[\!;SF,!)r-=n+ei-^S^11mWG-b<,rb*19#gpk\%(WOr4Y +]q^gA;*!f0qOa)M=*d@#IqZT>[F2cq`=jZ?3VJcW/`(T3'0tZ_aM2YmGP1HTUL@oe +(7JfM]kFP//@i,2PFbQ_B(?-'s"_Fjm@'kO1"C@:n:*6163MBSMk(-.!+;WB=R$&k +)4:PS'M'&lLGgbOlS8O;s#Zq9-0Y`'`V5djbg$:2AV2H +HpPdX?`-gYWAs^GmV<;,_uaH=^fVd7RIX.+Zu6.Zr:BE-_5BbQl@4c!K`>+>41*!> +!:UJ#qn:>d_re^k^'6ODI4^8*X0<3DG`c59GJR!eDa8P;!pqd^U,rEKJ[_nT:ZB!Y +,duSYm,#a+DIV?%9bp.J&HV(2(#Cep;IHKg=_tSal7NGLJ^Ti`K7LrFlKsf+,\k\X +p?e0SA"hpbi2p4#3hLnqn"=7ikLAm+;W_rS.lSm@iHE!*Uq16',61O8,#a"VK^ac. +rOgkIMicBS@9ENd`V,_g'1]@pQOP$Nrh"4Sm5o`a[qkpq7fcfn%n2#;!_O\.qZ"f' +s'l>Mrn!_O+^74s5nJ8<05lVF/rOi;9.h5_J3aO8]]:l>eXe_W +[g[@LAn/PUSgn?mZcQ:JfS`/]H.;jFmX#`D5G94h;s/qs:]CBd=R8m9nKCH#T-cqq;"+_D@9)5#7M0LA\C.Q[H8\TeS0;Gbc9b`&[i"s.f@mFijY/J)Pmu^N6`9 +BD["G\6*VAQN9TAZaWJBT6!+HboR&j`b*uTBNQ2'7JOVp>,p^$nen2^c$1!gi74j4 +=grM<$a$_2Q8c1GQ:AsJ<;d>eK;NRd,<"um)$,hK05*KZXp`g*:a" +mU)pfoJuYFh!s0DoQSpd+$IYo%+tOlZN#Qc"#rK]&>7sOU-C4,kti>V`#To?^Z&Q" +2>8;n\e^#u5l7BW4klRUIT`qFjLB_e8+[>d@MH%G$!+^6_`/!aX]Z.rG4[?f#'Q"kM;nc.\ljPRX7m+iZSDi`TO +pUPT[".-Lds!dkqIXQkTkZo5prn[0_XoB@-2>2O5^0Icl<65+%@`\WMe&BA\H0Kem +s2jaUMLY33If^mD;b>kgb)6OmKE"6o4&6IHL\XYRWngjrh]F"k+LU)5YCg_'6d!0I +QMiN;F_m]KIiCH\*.aUCiH=3HAqA)*\.(6t_4/M0&`$sR`a4RiS[Yl[:Z?`\8UQuZ +H^c"*#iHD)e1B7dNc%^2';E8#rP5H,pc(Gp8:-0nNsOg[_fQr^3/Lfns4JU[C4Q$> +)GY2.hmcaeeM$"`2?6_e2JR47nCB0,^6WuCs1.K/s3#PV?U[N_N0OA:nH0tT`3B8Q +gP9XL3+)XTkIa1Y?eYa9r2'G^%fnM^J3j3jrI<#ipKOKoja@/M'Yq[PW8$u&)b'k> +MG7/9S]?rFAZ=fn/rTH@L*E;Se,sut;pd<)0N)%c +PM*lB1,9IQ^5*"Y8d:n6!`*:A-df`)8FR3@s%)3J,k@"@SE(bf5#,^^JOJX?,6'Kk +H]f**#H?-A/:X=Ts+L$ZHH=">s'5K2/f(;`4#\+OGJ2D7>XJY$c;uCtK`!nJf$4Hp +^X4o9,H,Hn2QXdqbDjqB2/b)/bj9iWJ60mj3edk3`E%,4rD3*9`8$A*[_pZsBF,U? +@iIE0`$f"r`S(j(dG\7Q'K!/6lf\$Da%5*s<:q/fm[:G'1jnlHF7<9*naF+WdC`5Z-!=h8qA/c9Cq&%!5@fbk6:E5*GjdB +W;>!rO;J@)]Ej4FZH'gD"n:RYaMRs0?.(a*31D/m46JlqN;Oc@9SVnDnA!jEaqi++er(erK:G/f1cS#h+(Q/5]"RNLBgTBmEX0p>kXuDiN +jSu4pr\'O2`KCh@JagFGL5Li@A8F:=SO2iWs0MW5^<)%P;Ym"15ks4:s-Ed&0uL_) +$a(oW&$EAClVd_qn-5T/s#dTba?Ouq"5CkVhSbK4-;O?Xi11NIUqe.kklBR0R02qM +lqhtamk^R_%R*V"7KhWUiI@#:X^Ni4X'sqB*$W[ZKr[5 +r)s$Is4m4.o)BkQpd=Thr0TMG5G_.enNZ)am3b7A+Tr%2+QQM==0_]WUT_Fgm!Tq( +_#MPFYj-^Wj0N'=(HDPOr'+<`@jCeN:ZpF/Ga@aXJ(?e^oB7\Gh1P\K7"G%DhnY%& +JhC].bM$PaVc0STM<*'o?kajr8,=eNh2kOc=)rCcD)O;;$BHQd,O*R5<9STWoIM&0 +'FT@$%C,gQU%hD/*[ai-Jn4S3!mE=Y&+bEqjeHYZ7BZVFhg!->k?GX<%I`;>YP-1- +ra0(5\#rcar">$?G(6?:^*Mc8rhnbjX)DB6crq._?YWSARcW(GEOh=CLnAI&5Xa:- +X'2G`<*?.99[/s$*Z=Z9hqUMEp&ci1-pWUh'`Y35QY:qHFG]sG&_T,SD6sDG24p`3 +eVPHba._N(?,s_OSG_4sL&f^,Z9RLqJ@OUl:j#o?a[>jaJ!Ri-!jkMu5H'"4rsLaQ +08Xg;@L0b$-:@hYjY&'nNHquVkL+"6]!QNBFZ,S.bf0gkZe;9e-=WSUgEqN\;#pXn +Ca7fc=74P(Y*0ZHdL6!AGQD&^,_*<#Q14gPcc?#,KE"*>b`hSnc^HRD,=o7\N(]6Z"^Hr'.gJn1poe-g6 +s5(_$^VAOhm;tBnmImFBs)l<\PsnRMPQ0miis]4Lao7>k-ADIIg&I.`_E.p!hHBQ% +g8iDDp!Wm%!)9cN6`Zk#h?9C25ZI`EIlF_EoCk],YEf-)r0[DcC*.hdY^s:Rdl6ea +OTJ#cHjMu.Sq;0Cdnf!OT>lp;muiICr!.HYmu$Ks9cnn0R6u_D">U8438!9MJ9DVL +B*84l,9ZFh'.>e7[[hLQ?.V[?>YFF2IU78"/ucalXQ4s1U&DI7%If4(P7[@M;:$hPD[L^PGEVO&?pnnOgT92:/qu.]&#g%@#l$jQOs8W&D +&]"AN=.Y,>ia;An*p0YrbQ4R2(WCmKBnZ)cr.b53!i5baD;mVdpmbA.;?T[k:F8(' +@/fr;/'tI=3Ybr&TIZl%$H`*KHo;Y/c@j3DOjS";74.RV)0qa.5)MioJGH2-+9*IK +HCRYBWSCF&i]dV<$i.^<+B/6+j\OC`l[PN(X`i@s(A<7T@_$incJ%aED"_eU!I]7( +hS!%W?ESB'Q[n^X]tN'7/N"J?_Z+BO6\%dKZ'[=VBTJeUElA1]2f$uFFg57XBI=Rl +s'$(N41pM-?M^9jNpsH""%rXnmudX:ao;r'r%Ed)<<$%6[#8H7/bFXh]*UiF +\Lr]i%OqDO/8D/o/IX3cFje:g*<'h8k33"/`uNo6`r^s;s:Y]U0V+3kT"s#dq=;h4]'4lACd(E7^H +H,#%1+'3eQ6N01rNsO_ETPl:-jdq&$eFS\QY6_s>"!%S"* +b[48lcY35@nt?#.gXgrIs7u$lTEr&4-a$Ks=3L)_qg>*j2er7rJ0F^rs"CVVBn(^/>="#Y0b2pAbiWQ4 +)ZT\p?NTpc+mOPrB)c!+s!t:"7.pR.r#Z3'q*X10r_M^9RCjtQ0P=%EHtBQb>:MR4 +Wi\/PJ#g&*hu=Ys9#Dar^Th-Ng[=n;o_e9UIrYBMs4?S;[G$N1J#R6ns5u37]CeDa +57s8ns2R8jdPF6&i0agt]NuahWIu%fU#fGpnm?0%2PpFFrfQU>kS>t9Ir(`-J&V>I +H.qd@2;lrZSK]2%.cHhgUB/.+/kp_ZEIT\O;'f*5QhAmn+'_62?J+;+RbQB5R1-T0bbFC^/&Q7;n;U=hY=Qt"5C<$ +6';1MBEuD((Yl_,f?F!eO*@&@NU2*C?=^%]k;dpm_DT(2o)C=^+No6-s%fV(V>aO^ +"DAVOglDI&\DYZD:j!nrrZ=OY3Y=(,Il>''rt:h$_IWp=`BSQqlDK9sIhaUHK+J3W +d00Jb,67`++b6S:Sb,-:^l\T>DBnrJl6Wd +R$]EO`cI!!>k1lAq/JIc;*+4uSTo`/8>VnunXn)ialK(k$]d*_&$r+Qkq\AM5Kd%k +b1BscC9PeQ;,Cp;`TC:%2$qFm)59PI4B(jLA$#A>J9'?/q/Z@A]mHT?rS[Ts$hSAg +HT*Jr"+*,.lEm(:4!D.QUi%FB#";tK0-\dA3F +N:GM'-j"ft<7H3*5'ld^s59%&oq/ofIgS48&jH2.ip7aikOZRD=P5DrZY"A2ECRFO +QHg72fsqB53e3Yci\j&PN0'8D(.K;MLq@-B(*<;n,mY&(,#Ah'$a_*K"nF=Yb]8UZ ++"JL3O0)G8/<1]GKTF+TLL^=9;;^=_cf%OT3r0[i$ClL^.=cu"cS=]L)Z^!&W8B`R +n;N'K'9U(0/2WQHd)j_(,V!YZ2QP0c%/IQH=Bm8>(+YXrQrth`Ze=2QGBZ-^]l&>7 +GCG'grpopHlK4>A^3),GIYk0+GmJB:hZs,J?E^]iD=;RMg[4-(X0L?VXk0Uh[E<6\ +Zs549PmZ)/DBYX[ACH9,8tSlDki.69>Wb+f%o11DdkT`Z_D;:WmQ"sQ036/=$jEi2 +lsHQsIqZA)=`$XZ440$gGR[G^+,Jp+lTDIs&Ub*@@u&Zm@rN/1q8;Ji)4tmKp,Vn) +D-'R"I*(P#4&DIYcG%L^!F@rc3PNWc+:&MZP-8o70CgJ$OL'A\8V+-sg)AsbK""<_ ++E/4T'[,>9id>J5`/->XSNGn6\.3kZ54da"1/73:Ur:NA(C[0 +aOn7'gV-=O$BBn=!7V8kC^9!qiTOTud)L3Ir@5$pl!IGnL(oRG6-j*B*LFK_2W#4u +cBRr#`Q=`opeT_JCO#JGY5pJ-7Srgt+TJI..!p(_cTIfs;KU5">k:Y:4c"W_Eu&F" +OlIa_RF<&$ru$_:&acZrR5R4ls*SjOr@`C*s(@KjAap<,B+%Kj7IX`gr$52aZIPl$ +s/"ETr%I>bNW>pT-^qBis0T7n,/D>5+T7A,s5M;kj]ak;^egI@kAQOlJS=%njqKA*%"]Z&/'#f3Yl'^*;g^a) +oY5ce;r'110s-q[@jYEk+-'[L:s5mq*^"qu? +_#Kt^C\BuWNX-1F@"2#Mg>\b%58X9NoA1Mf6iMVt?S/Ioci9u3/fC3U_Z,0)o"TB< +pjZ'/^KV6EB>)=E6iM!of"833IWPf;!dM.TaF>;c^Ib"N>kW4V08oWLs1c/NC]DQd +["%dLf(i=sV<.$ufcBX,ad7_1#JfMJ4/IHE,H+NCqZ%5t-G]e8mAn6`#hhHX%`s$:6S2=i>l+eF(`?k +otQ:_`W'-)s+^PB"PC,\r]bkAplFcUrVpSR8%Bik]W(aWH-$#6[upXHG3W64pqL:1 +iA2ROr2'F_IM5O%^dh@OHBu;m!d"tMh_e\[/,fe?Ir595NlTiQc*X=0UADVCf2WGk +Y+.f]9GLG=n:*VZP"j=QTHKeS#-uopl0QkmmTI!f/6@4f/V1t\4 ++8EUVd429LE`Vm`X__GGK1me45q0a+.]roMPXjY=9ZZFu="b>WA*EH6&J#_`+_pH!ZWp9#tGS+R6Ts(ZPa +;HPF1((2!Q5&JTB9pq5#/M=k27Wli">Tu.snBWDoFI=K"T60BAJ+c*Ws%C'0?M7M4 +YI'#`5rZC"rWfg[LWk5J;#/$,[ja)IkkPXWYN;=td-"U(J":Y/PBVM?pO&NQ1O/r. +i#8J;`dA4fFtI&9D-n"t%'i.,M*qnO$AatA$FfP26JZ"Afj[4ZNA,_'-dgPi]@buP +fH%l9.Tr6k4qUHO("AH#jS>!VfGe1!o'#io>gUAd(q!bs/O/Z#MD&HUA" +oOK+&Q;(c2Ja`TAONl]Klm@UA/C$@gI$n +]mP:>I!N8GENsh=^=MUfFupZ4J$ZkD+*7.*8&/%'eZ8pAJ8322.@\Kq;nZQg-[!D4 +Xqi_"K1i0@q5c1AIk.0sjJ6&>nPK7XrD2`DUROOF^DU.VGo,um5O/kJJGm6mpO;9h +r,4:mphS+I6/)#pD]^XbB5&lU.XsAV:]rI`bpD;rq=inL+ALq/i8L4.EZM,A&/5`74*W4E*kalCpeP3":.OfL(WTY!2&:rH +]ou=nA3;iBPl=GqZ712SD(*:$>lU.V;3Rb78!T*<*QEiCn+cq\"Pet:LB\^t'#*P7 +Igds@qraO%^".)1\^P8/\*NP`B!]'G_g&Dmb/HUC?d(-qpkSn@#u`Hobf3>EW%erD +UdOXd+VQQ*]`qL9#*SLe_ukCY4SggUaF'Nu^aChKLBB`(;gAu(\.Yq&[=*Mk$;W7j +rr`)sXB,3cn.?4!lTA/Og)l\HI4Ve0h>dA_gAH44hNn-?#Q:i_J:[_^+p+3NJ_/8[ +Vu8^V&*TF])?G)^"n_:deSgP_+:\IA+;!\%<'1j%<<&T8dN.G0WO-LdGr!rE=R&J9 +`rF%^7M#NcZa6L`F=B.GaH,HSi];SkOjAM&jSp4j=8i0XIK/mM!<1:S,%-"qo,m2o +T2KaEgsT+(LkFMuSOGa'Jc2dCr8m(eV;UW^p$u_Vnp9uoC0a6C3r?\Jgh8RrL&X)8 +jn4Y4s',;aHA89s.QL/4?nRd>TN3n7de\?I:@W)GETjI1]\g3To<3=b]FeOCqS2E' +D5j#AL?S$A8mZI#"nUs(EYXo8=:gfuG;^Z&!$: +lCEn0VV(q5k^4_SbGkJ2m0s@h`;jI0c.^e=-b.]EDNk)^H`5n#a^=ZNY562jnGi=+ +%K+PBgBU"Ci`GYeQbB/PmNLZKDstOB>5:*,l]?V0YYrXt=*%$"XL4R$/>atPUcG'O +jPo<,e-,S[_K6\GiA\UQZn:!C8>#,Ir1@sIF&#Z]ALb78'efBt&R5?m!6AMMp&k-2 +G.IB\s50\K\bX/1*NfA17f`JeA_mUF9C=j5JEhV4q\d'H=RlRi$(Lt8MXRIC+&DBS +eHdeYor0Ej3r);$ +%]S:m]I)`i$1k4g^[R\gs*Ges7moVc6fnVj^Sqr%5=dSuA8l*I@bIA3!3!0%[Hdp,/X<6lIt=^<=4=3f-V +o97/1Gd05s0>7SYJ"cX7^@7Zk?RS/#iZI;arVpsf!]'FM=\=7M>]UmhrrN%)C?d2K +=sisX3WrRH.:=k5fMqcuZ\lmIrkB3\E-8L1ID'WC[0cl*GIRF>c!GatK*\-4^=)pV +rGO9c/`j@=S418./euX]Js#sQSh9a#.S*e$&gF"7>Nr/G5Jfmu;n>CPi*'4r@c27jJ#N=*Oq17t[]a+:S:B9uPg#E=_k0&XZ,oB2apQp4#8? +/>Pt9N2;\AXQHXm_GZ$a07pgE$"Lm-YW!O3PG=M#e`$3f$>ALMh7!Fa5r_XTRE"'R6Kpn5lSY#k*"K9 +B58Uk5RW)=N#r+)dO?A*>Q<`S/,p^1DI5!aqqiFbr.E(# ++8FoP09SqO$hBY`+1_rF(B4M3Wpp$$jF74+q\IM+B#8'A]Ce;tdIe+mT:lpK +r!fd$&[XnPcjH82+X9gt$l\q75gBo)5pKoN6j-n&?slA6L^&uK7"B1k065WoQON!2 +ZPhq:qJ;msZ3hA:BjbXeWC("n,iMVchr.m106PT0eRQnW)Od +@k@)ARpYA!7FhDQq]_umQU/m$EnC=ll2Q>E7Cu^qs!#>m+Pn\4(>p>9,[\#`R+eMW +o&heJX$ZdcrrUXKOM?>EY?Y'Lhk,e>ScmHS$-6Ib<.Z7nNs3BjUS3mVnEG292ASHF +LqBPBs+H`ac[l,FiV@:hT8sou#p]F/&B`Pi@P)5HP@8&3fm)'P`pVBdqi./)eimUS ++SJ)(#iQ;6eN9&e-^q79NP04HVc2Dh=12;obsl]dO^A4`ghJ^Q>Y-T6;cZ^e/qS+k +TboX'+r7m%!V4P=^KEQ7_e"Ms(&tn)./p(Clc=D0;?PI$IuXD&SUXB(ci09[^0:QO +;k*f+^'+$,WpkQ:AVXp>r+u8&.g,"Y>"D#2q6;!&.DS5'1`VU@!^Km/6u,3Xi6/4- +AO$==Zi&MP?Y=4CI$5.Q:ZUK&d]l/.3'Q:]=^%5]4losQZqUYB]2>?pd#d':o5I_df:T-D'h!UtTr +CLHu4Hj0THGQ#O!d"D\Ob(%M4;Z=q&Tb/XOisD0:JcA_((=5oo-qI>81S>YZ/?_sqfDgYWp5S4T)HH#l]#UjcoLRLFM +;u%!q=*_gbB@=2S+p(5jg3C%i_3[A%)frt&%0=Dd0'6nqJKk0on!pTU/iQ)rC?,5< +PPpOc!6ZJ>hJV0+mTa,d>[D6Qs8/@(p-8;$g8.O=^R\_MA="c;$_0T<8K/6BKrhGE +f&pN6FJ>scQA,D=7="Zt](q]j:PZCar5 +E5-T;r0Q:n[KAMg-Y@jsZG"K7`X6lM'N>kJ'e]K>r9J!r'Ef?SCY/JtlMj9b%8$a/ +#)sbq@Y4<)9S&'\[ZN#1kU#SFAI*67RlZo;ao,q8GWj%F(It;>YU^3=-=9ML^q@-6&E"8)Sl,3FMt;]IOlpJ#T#HDSlFM25X=* +J@ZnCBH.V'ffjr=JW^)J;i-b=%Gn]e=.M^9%/d9Jl[E][>M03/"'W['Aml^qs39nF +,I:9D03=@g8qP8_`%7a`R;TnV(Eu-D7DH+cU\"!_*p%bX5,k#55C@EWc"dLDJ)=uk +YR^\Kjfe?lZBIqWJ2Re2s.OiFo)H9\kjq=df"Nh#?@Jl."X,#5s%>MV+UJ+k#iMQk +;>'i`ED+"r3Pi2DZYp0\?:r@e$GOg?^WP6:OPt8(4JhuGjgTL?T&@5NKD@E@s#sqj +;q*X:l27>0_?\kCd=.gc!3P!?q'AB]>l=Vl49dnNO9P[R5%!8uH.na.k$.a[C]:#[ +TXF?WT51>VV"r^>>jt,Xi02e'jKI@O(><0GRXYLpQh%lu0#IO7Y6g".J5M.'T:t^4 +p&ZQiruqCuSZl8i^S)B#&lB;Eq31hI&9%tI3$W1S\S>Lfi'mLWm%#YOBArl\HRe?M +jSGMIho[K,ZOh:gT>P;kO#\9#D9pZ(dB%2j@%UGVH-uO=Bd*Or"NVdZ +,@KGZolH,jmmI0%$aBXW;Z:6IKR;Z[a8Y6@r;c_%)ZfFmM!n'<:^"`2-]*KGa<#r&[tKS*#%kK8W3_6*]cEO/l)f>$;gp)/3l4(Y,2sg3^Z/BQj,Uj +27OQSE:A%S\c[_[fCpD/V5iu(>]buZ]-lN?jf3AQTqkN`O5GtI8ADgn.rBEeS+pb! +=ul/''E1cZeWSKu@^.-W*pn.9XmL0j1\#Ejds1o%l?K\;M5KkeBYF3^:ctXX2q>[(p#c!@ZB`F]aLc,EI +"T26lbGbM1J4tO_b:\g*mtu"nPk:HX'57+VI&$7TecE]NaWIbYV>n@B=[Ka"p6R?# +c^[?T\`Yad(hJ1tk(IqsEN=ka5I1s`"Y6b.as3^k7l;NeHIDcPOIo66(#aicc#Q>MO@$2,KBWj6SX0(e. +;F$0E4"ss2RnuIcN<[@:+P(MD6>7+)(4"A]Vj_ +l+g!84.Z,jQMgTJcd_Sk3!E:W/,Vp;b:-rB^[>6Xr"/r=pB$'L3QFPYoS'dnJBij< +"9d'M&il_^TbI-\1QF2;K3Z;i;n@T1?o8"=s3"#YLoPd^"efWJh=n[[FDB7FTC-FA +qS*1)+6s7`8d$-[nHIgA(b!]U>rY:#P2;[hOCLD-qFEI*N@@YfR0a[F!0Ka:6% +-P@7!\S![(\i_JbdM9Xq;Ubt%EH=!GWM^LN-p40almhQE5hD)Ue9tZV!>j9l-s_c8 +%PQR,N%05FhGUk"*`?+ipF^6.pl5%rYlB'hbta:4A_*@8[74o=O^+k5Q>?#eCXrn7=5 +s-rZ&IIjfC5?AdfCjmg_btP:gl;q3d"6U1Er+\dD5:hr6L]8Z8"G?dPs5=Y?HaScf +n1TED-#F3DD[#%W6hR"br&ubo@t)WNr1&!1S9I)O9E]28d"ifmnm;@:%Ycn>INMYh +cbf]?Fs']`mrI<:Z=mSr8X6]sZ3F>(?THtM?,$NPi=Gajq-!]EeL"Ue9jT<9_%go$ +=I'DgF2il5DB.o*!*AF%oE:a+b7+k26-YR+[DkXKa=Uk[Jp4$62tS4 +MZ5K_kCSaneJG4M/!-onUoRuJ;k)"\V@3(M6@H"5dlloE4R9-2HCLc6i;\_i%AiiL +]?To]]m5$Iq>0qss/*PXeV4#^]<+fls&Nj9?!%j@?\/7#0bZ%_Hpga^kbJg+s/F@] +dPmH]9c*_K-3&?UBPIZ$jT"/$P^b3.a8[+[S-&HHhsst8mL7\k^JnIXU15hAR#%:s +pE0CZFnc2&(Y&G^d+RcGjh6F__ +<3A9QYKbqq^Ql"fX4.s/[08Z)!>km.hlL2BDVi%Z)Yj>Is5rl;qZ!9arpM^&aT(Ap +AoSRbVnu?]s/7i6&OS1PbD,/c0`r$<_>gLMABHinnP/.o1R4US&^Uq=+9IdV4tZ.= +pn'ce%D"n/q1G!uIisc4UKN,)dp-qX;!3U0*kMs^j?ER6a7_S5!kA5lE'?uX?Y!Cd +FD9d'8\Opm)$TL@5fG5)Lr/QT'/SPP-u1"lqS.'^!:::V2%5nF=+oT)Ta3&3reGRj +_c`'_R*kc&,61Ne'UmT>bCkm&V>gS`+L=k]s*/-Ts,/s;o];aN'K-EuTTGjTG*MGVe6!s?X*?$ +lt;(60E'5_I&-R@rp5+`J"W4gAbi+Z%gdjAQ4BV9^3o`X,79YGn&\oU!Rh#B)2nhh +m\icP2;8HpE!e:&s8S=-%M3:;0^nVJI(pp+L]"?Wr)EVZ0`PGY_tcP=d3.BM./:_= +ARfb.+2ZXHc6r"Slqb?EQe9bfrX\jtDMAdZB(J`ckPdmmX*pWtH,NZ8OQLJ-kJ;fM +f@Ku%q+ZHLo691@+QQ>_+ML/u>OuZT#'[!:FA"h^c3PXF`]%MW6M4=io(^SW^$a^]ACcZJ2aER9#pX('f-i`:L +r#t/!CXi.\7=a]6YnoZ1h5cP;GRHdY^*N['&HMj;p)iokbF]Q%SleV*7L=EJb$Wg- +^^EFc?(g3II,RVY5PmZh0M9nKE?Q@t(Q[ +cZ<=hXQ'7tEikO-#OV:i/%,fb6iMIOD^2b#p^VMh?bp6;-aN;)JGHU<5I^U[GCEZn +D_n;D7@ljC9''E!K5AmqTTu5cR/TDfDJRV?h+0T&6emZ*I06_ +k?#qL$L^UJl#WK9?d%9Jn)CP0I$gOscY1QVRm1_]*eQM]i)BJ+reSpZD&> +c,C:js*S&:s%[E`r@dGc`W,T6[=IfknpeN[9*KJ&n3$Uj%ueL*UC#g.6pTTfi:g+HT_KrSR)r&?a!,$P>YEq\Pgp.1?7D:V8')LB!M^JFe8( +,5CLrei'#(cP>gO2$33i!bd>hEi#`$s4hDeOT.tok2MN&G[sVp5eX(".tXt,::Q2R3CCN*S5"*h@)mGd6-\9hB2\]?<# +n#&*jWV'S4'6KEW^%cn$]%W1G[)1"gn="BEQaj<6iEp2c5,."A@e`%sd.OTkOl4[c +RaW=bD',/FPH=0#S:.W_1[ib\++,[$s'93?UgHgaP5Kg4KiRQJI:SQ)2uN]i(=7L0 +s0E<#W1s@[nkg]`PXN=%=?5kL`A^K4$XeF4Jc@_3AEW-(rr8r_BZC02*)PsNML`oY +(-kXl$NFnK+$3k4qr"OET%<^EL3E@m;@+F=#QOCY*a7*hi@R0q6+KcojmHlUFfk]. +Lj6o=W;4[YT8EM"jZhi+R[9uMPR&,sIlCj)LP[2SF3WT:(`A?a]DbkTkEGhudCFF" +f88`r@D/0FLArcQ$iq^P\J6arna'hhSXbs?"O.kDs)u6*.dAtpK`@rb`C]hHh"O$( +Q9Rp+4qp*k49P-%`sbC%Gm++BQH'W7EV=mj4=_U@NsH;a+TFiU/f^@>`2=74R=*[a +D_Le0fAM,s!o.U!?gV*(mVq\loXD!7gVWt=rorp]2Z\d%& +/2.k4]o7;F-G?T\T$`.6VB2OSiS%`*r:#0l[T_EE<+NmRl[N(n.fA02OT1efCX]uP +nuSKn/A$mEf4;bsEPVQ4p:pXoO.inpdooSgU\)Yb,(M;%5GLjjjXbpAs$?1i>TG(/ +6&_Q:;etVcP6**O!Ta:OM5b`o>hI(<:b]-R!P`=HO*@ER,c1d13TB)0grV[R +Uqd:R)5FM_;"feQaOk+2G1pQ"GKp5//E%T98bD=!60!Cn2e(itWr.]2!<78K)hSD] +)35I[m_J3+`Rj%Jq"g<;:U'a?I"3#HTAS?%7!;5u+";`,Xn1VNoKOM%lYQe?s"j&X +Wk&4A9e#jc"O$g-Zum8>\Vfg,MqBYOT:]<_^WS^S@"mcLo7Lt7r.2<&cXjl`^T@?I +WTSd%5=`M-qd2^(#Vc[r,CbBo?qi)R0>](R,?0&8.[62(^^D=`05U+,_Z#nRlq79g +h7Y"F!N?"DhO+Z#eGja:c`m4RHS?l@6T\WXG]5[qGF9q3O7.@ik&NWka:%m#9$J?011*WBT>ED4&7XhM6 +[Xd<9@X/(j8hWHDoFW)E=*Tl\4@0DE70)#hdrahgWq_P3)hF3lO-@PLahgTK3"@^_ +8W\T&6"qC'036lduEr5Q> +kOs<'VLNR6h7r/jF8s#4gk>])s0jInc/NK5YgUUoeAPf\<1&rLV&1s'Hoek/gndZS +kL,sTP]o1VR>?)WUV78hB+$L +PU3*i*D'PG[I%69XAZT"[jG5rDIX+c4IaJQ7\V8+]SD".SGq4)r/8o"8!iQ98_`:4 +j.i,S<3-6\MS0!_,^H29dnIB5SE>ti-s.sk0(Hg(d])J+P@"F!&,@#;N1b-+i;.r% +$\W_1%`H]snZffUU]VG;n8LXQ$TK06n:u&*+F_LMl"$r-Rg3N:Nga-aoC=BZU0C^m +)QJ6b/RV$NJ83/)^CpW@c1l<0Z-lCM1>VT6;RC(5^nZjDb]gm'IYYH_mTgY(b<9fM +G^Z&/h?\">He6qVE0]*b/lGp3'$oY$H#1/1=]G_;IY8I*6`i]#pF=N5+hi)ELV)V. +[XS\V-P##\N]p#UJ!rFo/7SdpJ*QX"k6nT/:CuG#dIZmYmj_Z#QMX$$8F(?Tr+bkj +>3qSZK))Yes/@(8W=f-/iW#nArMAKKB@Hb(VXN,+i7CGSjPLBpMi)9?YdWKAC0s&# +cpib;U%k9l77tK,\kb1pQbadM.`$Vo*A86GPl/`Y7H3K^n#*g"i;Pb"r[I0MoDW"! +./4f4ZL`Rgn,X#>-PrBe,U[a]Cjs1:(TQ*D,:V=D,cL2Z[)q'FGpNt9p<^G0.^FL: +=hfr6J2a`-$,4%a^N:?"j876n,XP.s+11b*0H'RK@qtmlTc"uRM`!W.7W?'_S>c[h +6.J3=n<_Y!([_(-:cHO>V@h8Xp`.*@;Z$EWRH<=dl*^$1!.TJ36NI*k8UVt["6(8a +F[7n_RfmA+rr(&E5;VfD[KRrTcRkgaq4A6Jn0CF.q%oVdjSt'YJ]JP'Z_a(+E@t>@ +,6BWG>s("1NR"$t`pLK;:O"@RS587+`QCN\[G:#Lp3Z,grJf#"(2Ej7hTg7^n#H7' +nlP.,V>oGPd/7f4:]@P5r/]",kh#"27ef44RO('Pie"(b\9BLl*D-#qZbaaMA-W$O +,kT?WTq+"u_\UT)/O3YXT+P&9^g-Vl3hQ,+=m<4GY6*#\.`Y'+^gWr$1"AD_P'\P= +UpWJE_uF]urRkcZPKWKCQfGgo[L\P0V]"6iS:-:'K;iWJM[h$7-j@PFTP1[Ks)MQ2 +Dtoqa2$$+\IK+BYcg-/_qd3JQFKBsgp_YGZm7)i50Yj#&H:ILCo6b70qnMJSPb"8D +LfFE+!X&H]'`VCrIk[7[9rrH#CQLcPh=N$Oo4+5:C$GQh#psJ"c:YoUke9&.oKNV(S2p%KA'j1;?lh^Xf.jq1%&mbcf8> +ONtU*CN(@:8dqgT)J"MY2?N=DT-N9\]]U)R>Tc'ob'Ek8s.@^fpbg?Z,!= +B.r^hS,BSNUQn'E?LeEY5,n$0YT`ru:ME`SEs:0hNU-'PHXfG'om&62FrU?NL/hM#_*&+E))X(&unW;qqG#TDqjc&"$ndZ/@'p-p//jPUO18 +jBj2@A')T4.Sk!d:^Rp"155NlAi^nNGD.F2rXjp(`"S`$-?\g-Tkp^X(L-9lDF[)[ +GN5F,.C?j:g"FjN^L,m^eS+rk?!(t+Q?ff44^kJ4(91e!/NsIX$9hD>X\YM4,b/6l +m[AsD`eFH5P2=TnIlngC.RdrHr58Q:'GAsug+dXnA<`RbX+%X9U$ajs-)1j@j&]mu +\8T/W+c;#_cdJK9ckkJ9$2_o]abTB#oB>p]-bi"O6r*at4oIn!p+0u$V_4&J!q;4X +\fHM8l8P]_7!#!@b\k16I_"U)O>3HO?UfRor&N>$m;%j$=$/.+?ZVV"BBH)/gp!7d +FJ]11%0hEeX#$d5XB\rR_#G.9Z/SY6WiLC6?d)LDPQ*p3W;+-$nNX5$CrM3RI&3$/ +V7G=@3d'e#pEi9+*!#S/$4+ah\^>Aeft$8A5J;Ikr"&U1-HQ3'Yq8#Q0>,U/>IB0s +b5OU9Y4i$6KQ-p9?rM(XhS+s8YkFph=oP%h:Hm$n^<>4obLo,+3u#d9ShJ8n2S\8O +9&TS]!8?%ns/120k=1sFrbF;:;h/1B]1-I`@/aO!EC.fT1\j,nIl>'ms$JB5pU-1F +-i\)(L;+T."G&H4^ctHmp:geB,(TVFB*@;3Rr&'G;`9n&28=;^0;#rXmG1f-pO"g[ +h\(,B$etR0[Cl#CF>J8O6QFL^EMo#(!rm&p'Y*W3MsrJXAH%n8,V\`T/TmZqrYP-T +YQ$Tan2\ibJFpUPPq[1K7l'<.h"1PRNd/YFYrVSd%KXj0`0N!JoPumsbl/]kJ9&"( +W1KVN"FsBaUf`!jrD->lGQ"/TIjfQY`,a).GlH`JmU\L>'$lO=p:juB&Wk;a`7#Bn +(s;htB4/Xm*"PH7@jsS=T._cqX4AVP!:ARHngA(-& +13?D@r5V;7f;&1G6s&LAQc-=JAZ'^mdLHW$bH9-S@'L`Jkl@upb_!&IH"PN]S*.GN%ID)-%]duIgRokTS6:sK>0=_.==q4Cmim!f33 +KK")R:^Un%runc'#I$@u5N'ch2R*3kM4Q%n +e:U3eckO96qk'uC%55OFpJHB2n?9GQ^_$SHEs,%lIuXLI#cQ4gl33*gH2BfO:F03- +9B=&B>5<6??co!ZR=FNIo=sguJQpI#o&_Q3)E\)_H&94oU +Y!U=eo3kJdTtkGhbo#Rnn@af&IEai,r3*.+W:L+)+-uEoOT3.HoKW9&:)X.<,iu5# +"lTB@p4YRmCju1Hrf>>ss7_^m5a)8ml9ZUd>P3JEnNTGBjNgBs@gG=u^oIFp\OV7l +9JjpTNTE?]AR>a5J/e`k5qnSFN^o89!mu!pGgmNN&&kGVl1n<0O=OKaQ,Q4&V:D@I +kdFN=mBqCU'/feYHQ2)P(Ti[TqSmet]iSNqs4]R)Il"KkikHP2ikMMi5OUK#d9^PM +/8nIHgVuOr0c"tn-!]IZcT!,A&>E&q?BSF*-8],=m9X`#QL5pJ[oIjiAA'9<`M +R*\SZF^eAqZ3]1C"f+C>\BkMK.R&:;1Quj>L29Z@LOXFfrP#7 +2NkDmLo\-'ZkL0dr^U8Qo:Ps,X8U"cnanq@>5]lEA^+$,rjsBV%0eH[\^ZE+>>>i^ +q6b/K:_;9<'#(rgIR`n3]1bKb?_QU:f"EEE_iBIHl>=^diGs0?dL%Wd6V@D4ZpZ:M +cEuVI^%cnO4qf?)jL`"$i/hnE"e:T4/7[.7l0o*]?+\I%`[ +7/'[V+2IfuV^Y(6jF;r=%S*s"UUUHd>(ZKu6"s3aRI +q()IEf.fU[l"8Eu#s0Wj- +#a"s^oPt(j'VKTB]JWA&%H1^pJ!Z>h565dPQYc69/%9',?dA.5q$Ze4]^`/2q8&&; +ji4n>V#OTs7-J(Zo/84e^Dm=16rp/^g&M#DPrh4$J=4]"p)0_#q$$=jnB\H@H.E^b +rsf!dNEUDY[qCITj$o=CBID&tPHo;Z$[Cn_']^kHA`d(#3g@&09+?IQ6NH\,A>UE> +VZ)'SPp;ro>[d[,dS"%6UFn+qNe8`[pT3TJ]bT#K!HBDK#B8dZ!S4u9Ul/:^4qe/CA( +.L?&5gh)rU235<9[EoIM1kHVHMhje0+]_!#i8=3p6j]_oo\YqT^WPMB9-L#LPfO,<3!*4]F?5rSRRN6e#Q9/Pem6O" +mm-k+s/fp.+O':\\TTQ?rI=2VpjXE9+acjGY^A)*<[>Q^f#uu\5If&J=Ff!&<:bJ/ +Fj]nkq,_ucm!j9j&,Ui9!Wpj+N?@_@S*L$)s#C/5s*/Q(M#(&mh_5mUQ?M!3bSV74>s0uFccuems,Rp&,OGG>EA.QX.6`mn-gbOf +0p1gt8-T[q1n&h6c+J`*UR>0`WX$Z$BVmbOY=ob41V*&jhNQW\6jDeG8S7+k=^sX6 +B)gJ`.u8^VF1'h+#2RikF4jZNs">=\OFP$VVY,E`.,0Y"Ql,ncsHL+`fQ6 +G0HdYBBZMQKCP0c[34S(1U1Koj8tO1kSQfT4#>X8cF.b7mJM>nVsi[UTNa,DMO'1[ +_I[En:[qo-.,o[FZESG9>JA=a>bm\3'.`j=N"eM['Rd;*f3%,+M>-Lh>d+1oZ2[$p +qu6s^rYW$@/TU\I@2m0=KGmYFf;U&Ds3W53dDmoa.YiiHD2H.=Cs5S&F`3I-2ib +/T*T+@fJ7R^ZY[T\`-keaT"tV%t$uN@NE*+q=?`uVnC^g$k@GZjA47=OT3oi2uN\] +,P57dr&ni1)&N:5r7m*[?W9$a"LJjBCrQDXR`U%'QiDQ! +p4N2(bq4"&Q-! +r'+QgpPOa^U*5jWlNI6sJXWG;Xh[>t#oF%.N!8P+:EBuqL4cdJ8=C!EZ]$TU+qi99 +!e^Pq&1mg:]*K6*!Bp_f#JqQ*m5#i/(jQ#+c$nT*#PJfAqZ-Ga!K$nB>7q4.KVE$# +s$TnN*0S;t@X*o$`SlW/%Ds^k?]P'1>nkqQ8N109NC2sMiCq]k[Wutn"^\*]3q0Rr +gN^;P1tb!O3rb\),>CO!6RGp%p=6"P[4)'!f-MDEIKc/*(bs,WH?iU?".2A/R:[3Zc=Z_hM#GtFBK\9nR +>bZ3rhD?$cSn1b)QjJ>LRRTD^)2B2t!'u$qC[`R\l8N>B5D&q&L7^Hu^N/RfldJ") +d7,hT"iWp%=rIGb,/ginjeq$]00.$Vk^P_Os2Y&0^3;FC#m'e^:]/PTahMT?TZBuY +s7;"?28oOUJa`W?8O41Kj)U6X.W&4*9*7frGp(Gs,dj`a2ro%d2ujQp-9NlDhU]g( +'l4!m!d][W61P`\%P^3HOSF0`T=+#tmGS$C@F%-'5K4'N%sq&@Eg<%)*ru<'63-^DdPAqO8_T6dDa2M#62mep +BZ0o-pcl67lamPp^V@Sa1u"p$!/L]4OWXYX-P,:+7KN.1epj+H63':KcbXB+3fMh? +))8c3!<1"^^^09]qV@6N2kU?M"$;(MD*Q+VJ'4r>gUlN#(Hp*`p$gj5q[)lFeld&M +-L^tKb8k2rc-nSD&V3)@bs,WT*4Id:s%he6a3JT+q+j*;.$MppJ=Q#gr,7qb&q0t] +ICg1(i?tt`363o\n9gZPJ%kq]/lC=Sc?LV5q:m>:HCt6+0*,_l(^\t(!@7'q(Os7# +,9AS%5Oq&:*-ka9I*I=aJ)e&RIPalVs5Y[!s)8PH+,>@idP+@5Jo=q&n'ML0^>e[ +EE=N)ieXk`Vg7K&rmj((%jj/eJ:G#nJ)SoWg9(5XNBfWYrcGRN/bnq2T?JAa"NgZTAFaq=Sko7R&cej.MRuh$mf+mX!e:l( +/U=#gcU$SX2;L,4-)6F0/o.H4*P^]rg +0Dg)'c?1aaOT.o(G:j6`+U\<%s%\aTKD_)78obRhG8VU*VL>&*;$/u?M[t)Q4eK?# +lX%SSOEDQR\KTp%c6)SIN;?=>I:3'7@FrVWqg??RFOYYg+oV_/A!#agRE,Z&/$0YtRLB@CGFi\:B +T=.>\'j]8^+jS?n'[\=j_Bg=6IXjOWrssb:_=6B.E,s8"P^E4U'knP>=0siT1I'Lk +:\'"*r"Fnd-b[b1<"":(5f6!oSh'nU#T+&.62j,!>+(>6-,QK("N2Jp,=(l%)uZ"X +HkHj;lt8NSKlH/rq>bI=J*V]Ai(*4n-gomp:[g)l!*BDTr54B6=@SAn&ncr1kojar +/Vtd,n[LCkP=1Q2OoM38l?KZOQ2pECN7Fa4Ps.m,DbZ-UeX;u=\-S=>V!KDj- +W'3'Ir"%iGs"nNjfr"eK_sg2 +P!5N8nu%,5q3aIg+2a@]pa4sMl!<1m%g55j?S0.RaGj^4TP'9;9M&.?+7TckQE;ZHtu!#XiM$E3m/?9._/(%FMi"\9@6[%GBsr(iaSZiX1?('=8\ +')YNl!*X&8O+e:CN-p;@?ps6u"T\Nl+b4tR$U5s]+<85sB0YrC++aI*_%42pO'I5H +*J**-K-.ZkaT&EYV[roWm,MK\30pX:UlkSkr'2_V9dE-3(a+Z(AWa2BbQ>'U>D5C/ +U]sA_&5\RJf0U/oJKUFsigIO^!;YOH5IoJs@TS5"EdXW\(&4EOErK\Vjid^b!e^:A +>!>^gb\a[Xcmf2#ILe47S:7Q;YmDh%`1LHKRb4e*C'h0N`[5i +\Ia;>ZUmXpDu(Z(7Q(*Kk8l):O=3ATH(nFoG=T8qg\DE>;m?(+iR"ptmp-7lXTk%Y +rYsMf=T2JJs6[=Q5lJHU)F!PMr9n9g=T0AY0c5A`6f\cJ%\o>=O?>Mu&lnqY>2\Y4 +)qFY;D!/]ZGWfKlo=)fiqXZtJSYQGl[I>Mr4g/7\`?!(h!VKjZD#b^%>:u+*01X8sZZ\hU\$=Nm8K)\bcH&@:e:n3%^ +!"K%gn,o!T1rt%a#SI)d"F'tiir&g$id\be49G=Kiaj84<*#5(P%:lH<(`)i"?Kd]ciNAh7l)Su?!q4fHO,7WmV4n4$M=%f^i +M`RlRrt1/5Aupk.'Ti6Fru$e1jA-pB!"H<_8@Tg$H7=4sr0E#H.VVnYCoDt7m8@KM +MMqe2"e]k$FQ]A%(]"rK+[*E#J_CE[c%NQLgf$p*?'cue//rbfSYohic2KK+6q-ad/P!2(@ +PrmjGQTm`J!KkSJS%ns:s+g(=T8%l$g91Ksr^YmjWqioMG*!3u(&W_,oo"FteImBR +-)O2Y_#LVG5YD)U/I;HQQA.+E.ajJX/I_a0p(j;8:+5@GpJ-K?+CnrHTA*qB1nlGgr\P9g0@_cY)bho-/j +1^##9)@]r3GYs/ZCBa`*'KF4eYl@"hhNO1rEh)cmVB*HT`^q4*q%4)6[/fn"r=Ep& +ikHHBr*B>$q=?+',RVoc?rC[4rhiTnN=X#-ccP&Qm"S4rXDs`WD2#>>J&8'q@*R4p +=EX?,2gH3UD;]fYS>hoXn7_sqkN%^%T83#&2SYBh5"4A0+Fg[8Ka/4ln=a,o1T+A> +@Srfi>j+J>#>K6&KE#q0V`a-l#uCQ[gu*SeIh"\MrfH:fgY44ZCAsTq&to5ZC_J+b +\L:8c#l)RDmX:Tgk9S1A+R>m0$WV&[%Q. +b>Ad4/'`kQ)7D<Ye)B:akMAROoNgB +hZ3Ga2\uYgP37T#qBh=h!:m&e#OPHos3]*UT`)P!EtJ?nAfXB/cJr?bd0KftIgg&k +0WtmGs7ssTci$iDc2Vjo;K4HgXKdW)T9o@4N#V'&%<[>os6DrLr3@S;5td=W),WQ^ +hSdbPO>Y4e7e)R3!XtQp6Pb\j.uFBbo;DTNkP8*VpHu`Es&8_,s!M&<<,HeM#UBNa +80FS1J,g\.0+IenL:l%ZIr\FEj5L!d7/it<]`1PNd_*=(&SOZ;>A&L`o*b^E!9@KO +c.5UECF1:VP7[tOJ;LKE*=-6OTX+H.'; +1*@?!`0mV.>Fc2S!I1ZS@5u[@^]Trg*NDg;dIi)?Ine?i'6dH=b!5YcCmIT`i-to% +r^1E,@Sd73qB\EB,1J9"5QDB>U'BMt@p0%N`??K&N@4qfe#]j^<=WPUMBPL_L]\[g +)KRd/$BMf5e.&VN>R*s4l9P>Yp,\_L2W77sl^4dl(pPuLhnj\j:]83in6<6qB,8D" +fI['^ZMiQks%U<(0rod:eI(:S#mp]8rkR?`rA&,:,(JC!?NX.)k@ZY[M#<$M5:1l_ +dXm?.k1W[**=W$keXXsY3<.0P;3Mtui;]g/m=8W8p(P7ABRGJ&$M$t&81AYj*!u^m +hXh*g!mm9%/%6&k\GhJXs(Clt*A7B4QZ;Wq^[18knTV)>\lXL>,Qn+*JR7Ve$8)$L +8FjO@oRm'Urf;t%3o^11KFuj2ReBWk5)3j$#dAsT#q*9)^8T.<_d6n`=6\473qFnj +I?r)>9-p`=Oc-Rg(NtnaZ2\+JV.=e81u$o-I`bEYcR8p,\DIcH#^"?.qk&NAr0jej +j[)5j^&H>jqu#k)?Df4-:$+K3F/o:3rc&[oH'iObp`J,qklL;R7R.@P-iRIqoO7?8 +/_N2\41ki8INnes[3't-cS;<#72Y>%]Pgt[.\b!&jnZ#,UD+goJ8=)`4oA^_XBC]@ +M:4p+!"\QBKnKGH]U-](QiDsNjA4ni'L[M:918\R63&l-+l]GZ3X%dm-&t#T#q*1n ++P[J17/d`BZCWOFST$+-Y\Lu#Y9>h=Pj:UZ/-OZCK,q`/&8D=0R$K`:69rEsaIfT( +M:>9h+Ts2IZB9rR3%Q,.#_sUUCq)56.7YO(;A<[a5mRJj#D8ZD".t2F4l27TSe(5f +hh(ma$n)'g\hoNu"90`HV=?rV4Bksh^8C*5&nps-6W@Z!D,6r +L$/M)K@3jm!?iT2e0N]#CoEAEErKH`3`&17qPoaN.P-&Qg@hp'E9/2;+-M-=s59P0 +0H^Gmqc.)JTG0a!@/?_dJ1QXG!1KF:L*u;,#f&65a@l]k[9,lP'M!5N5Y8^7l;Vai +Wa@uNa+KI_`ItpM_VP?eH'7m00jAGEfFZS+"57cP'M/1DPO>%oVLNX=Id2.Tg2HeK +2*?n4bMsKQom]Xc0CV3@Ur+!1>lsN':Hj?!iIf#NPs8g2KY7>e%:lCdN<4h5kC0(7 +'H.%'0m!$d9`aPZ439]H^L%UTM#hilU.l)7"t:Q^J^,JZCWQWggep(kUB']=^`@jJ +1\MT1SEIWd!Ur=pIkBEb/pfJ:Mj1mcO7k[g*Ma[CcQFR?^?SFj6iQP:aIZ\$a+N_Z`1hb;m*k@,slKr4U +^j;TZ;Wi,<:YH04+n@"3!,XQ'&Msi&]_'kFHUGUGlU!i(IhDhNm/lAI&+ZXt8!uTf +ru9gG27I>>H,os_3^8`k5R[RE0mt'R(5?nWr#KRMXr9s6,K)P^(aPRa/a;9+ejc;qI`tH@r=@nl3Acp#2 +Y:Sb:#e1"d]>3a3n9K\9O"fK,5mX._#ON3)it*?R+eU/'apT:^q5XhCs.66D>Cl44 +[ECl80oJ0Gp*lp=kN"iM,4a(W?R9@^(#a_DfO-S9]d0uUUe[%1E;o%0WH5qpf=n"q +^[U?h__uOT9EV-@rpHQFl:]-j(Q%+tp;u+lR5fQFV,lh!PJhNUb7-".d/HK[I +;c\-[-<&UTS,\-:_>fVpKDa=g]k^:pp&B&'$.'7!GgJ* +P?bO_B'c-:/>l(g=TU:?GDQ(jjPS&glK=H5q"P\_!]1\^Va0>@s*$fFof,>;:QGea +A8F\#'aVnVhbO)Fj:?e7aV"Rp5lR_WKDeU25K*T/_h\)\epJh;on3ooc)@d'8'Qk( +LA:fJ`"M]:BTT(`;A'/]H8-RQOq(XU.B=_2a[9ophu=R9H^C7-i5-f?I/gg4I/fBA +0T>s;+TIh2K$(jDs7cl"0PhO*&.!fR>mM]]&r6Uf*>&^@[85Y1k`BmWo=u_5alVu# +H6"7q"9;)gp1:+2L$aOp@#aDU@H!ccA[Z`DBj"g^kLfXa0L,\*/M.)+@q!b%6igBn +KZh_K5c?XT/7O6mRD>SZn$149d-Gu8$[`Lr4q:()-5%WHA9g45N_U-R.\]U>,Z)K) +o9T^;V*8OKf22tOS`KlR7F5L@I5^1q>6Ki#3$&"/fTT!-LJgRK8CUgEQ +F!m7BGj!dcBt=o01=r:WCi="ggES8/nDT%s&K!Gc?lI'Z%D]KN3AXd^$rj_@5;B0f +WRLgPdIL(Va3Ql.?hu@hAdfc:ohQd#8sK6hC(n1ugk6aQa:eQ3@^4Mnl0=#1%2g0_ +L\iH18WtQ:&otUt>]g=[qVZ8;C<64es!Xk$26s314P(p"2]OXe:tUB`Ao8a+M`^ +F=sr:DhgOdeT-XlPL_)Uf7R-qqkpQ=ZhCs68'RQ([VR$f[.Q%TEREFq54@j*oG8JG?e;_Z\a@kK"o9Cm=bnpe0RZS&AGa&U_7oT(&jjJkgH-MF>)`0WK_s=< +eHVf&AG\;1WjQNt;QP((1:S?*A$ijF4a.cie:Okr7(9"f=HG<)B2#odrDlgCQnfX, +$kNU9duOBcF#WDI(d`QMOGZ7s\t?sZ\"V;-qq/<"p1a9L7HaM9bM$OnqGl_4Zi7?K +QGmM9b\>RLR"jL94&#L3'#Bd!j#!Gi9(a:&p$h*8b'KSb'QB9jhgZ;'o/(f9T2WEW@h;L.D's1b&5q_(((&mi4o^8/ +,$#l";W(:!O`$M9j:gT0GH2""LD7C8'.7Y6PZ=*C/=QG[aV[ot'1$L^6KCoBq#fqk +Gc,s9gpY/0/qoc2,)u1kTRJeVQ35TE"V(RSs5O\Gom`D^9en$Bd$&G,EQJ/6k^r0j,QreUQ&J5KHA)LeIi8At +4t.'9bMYDK;oCh>MulpPr#`?t_RSsYRUiKc$N:;%'8ZZ[c4B^I6kg78csEqG9)YC/ +kP\2>IullbcMo:m-AK$euXeint,"gA2&BW?.0P,+[FbPj@ZWqi=1\MatG!bq0Zms-\J/)HKN2erjZ;-$ +Cp718:MN't1#l"CYoC"L4&PT5GH6W2hrgTg"l>=+pQL?FZuJ( +7.;NA^C=^L22T#,jAF\,;=j-Oe'^h*r+Y3.H1TI0a3oZfk/KQ1&S@*`pbqi!k:#IY +K+sL,s$7?%P'/=&5)4,V_)ind5R?<:&`=4>k6?52/;P;,(ih;H!X]_Fr%UJ@ocJW9 +&E!L5"DkCk#Q_mDCVbAgGP'-?]#"D;rg#Gds%--6Ps=q+amq;mo:N"PiO^S30aMYD0Xh,6*XApI:ql=H0Zi +/()qE(soo,CWM3[.UY"U"-EQ#U1(\H5l;^6MNRpeO2:jHhtJP?I#@hD/rE,VUQNtA +>8@O1TULqN39W!gfq3M+:Y`B&\$aju/+MR+H2Wc/J?td@T)qXceftCoJUk[jW)jW) +aC9$ie0U*cA/GIMnn5$Z#0WVn8f>=$eOkI_*4Ycrb!+JR^0Y53"=OEb!lu")gj<.b +s6".roq[e,30X1\K`Jd'Mi'W_(.?IJW5+GZmE#2FZE-e@eQ)B%-'#eH-M;:#"ISgG +Z!2_C[f4clr`R&3YH7`P\?7ZbPFuZO7L\k+oc-eSD,sRGYK6WT@4MFFYUB\'e;\.1 +L'O497L*hP%rV0G-,k?h^k[XET)TbtK,[4hhni+e\MkH!rWFBZIK7*d@B^PH,[RD>kRpn/<:!jKlddRo:;Z;H5U*Bh2L-+r/&$PW:O +T!5Rqg"L&/SWg5A$"qeqZ[12.2s5(KG;h.!RMNT]X2/se-.'(9m+MfI5j?IcSlM*" +q107`DXS*MJ2LB@)X3$I+'=R4Cbj`#TQrcc=Cq*ah6rO0SWm\ED$IE]U]b5E>sMEt +\g0FM#6/VR:f$l&5[s3k!j<9hNpVuG"tJ=QX2#bYD;>a$O!cV%(, +;Y_]2iWPQse-:Z2`+.s<6NHjs&J0coBfH*kp48$&5_rWt5f-c_69q7EjnJ]aBg9Z\ +[(jn0!V!<2m/kk5*PcEk%9SY"/1"I8j,FTRk$g3Sd;"+9!<8f?!:C+e11cSU1$^KE +&ASm((^`H=6:F.!LoUCs?W"o9,iEtMo(Q7Egm5uub7g5=`,.+!g<6JqK=N9.JQiE8 +o036SO1;#grmHUd+:gPEXA'bA84-MY+bM&9P;4%J5`MH-pF/P\s7m4fo09:AP,iMX +s-&1PcN![2GBE3g\`"i9r'?D`+gM'hm=@:tUZfMZZpDt1i.!Qr_,(lu9,MN"Hgn:_ +hufbNQNlhQXJVUOXM=7,J)rP:&CN^tlH6sCTYZRjSqVP/^<&8.XIag3US45HridBn +2":H.XKMf+s+cPUFRs\bI2R17$H2['q',?7p@Z'#!d4DP5SG_uI?fg']e_)Uh\Rt' +=9E('gYK@'lX(/N;8Jl=KB4\4c`].)9h)h6 +-oW!-iNKPeXe9l5m]XR_*E?J(;,S +e$sO*Z[>`aGZm%P>Wm()$\;^MTPNnTf/6D#F8ir/j@3dF'B$nYV%Z`+VfW!Y +4oZm(U(jX!M!t1I6?o^6q&oaS?*MK]o=9X0aIi;nCoI\Carpm!BG>u0r4X:aW?hHJ +i.3ae!b(/;Nj))?M4"MR1\bK3Q:Ueq`T_=,%e\dJk']D6nR3r +\E!To]#BG2'14[*d@N!PZ[gB*+o0=!K5u-#!bjkSs$.G5*N2B<^e"H^A7'J$:_6P5 +'5C)C8%fLOor,$*9OBqsY*lTFNgm%W3InShRjLggPNJ_k;qn[YCW=jgCK<*W1i$^Z +QH?@J2K)_m>9;f/X'UX)/OZ%/_];t?JZY#WQW7lW8r*WnJ(3,skVkjG7_JikK_r6q +qRrQ^ckST!-SGlQ8$;'<4+-)u*=%5;XRA.66t_r$VZ!<>5@`JA)g7CUXb72D!XKl7 +^d0)^bV1CVjtOZD7UqeDbbZh:TcI:"#'L1?Vio.@`QE>RqF/rgZ!n;3^j4bg8_)1k&J<07JHX/j5)<<`g(K'N:@lU1jcM,]pN\%@Qb-(%p@(^6r-,L!"\^i*sM'b +$98&--4scmq'bJMbsblq&T0EOo#J5#+a=Yg$_biNn84GHj,Ej`m5dd!#l=r*?JMt& +[1Kbkk,kk%P;R6`BFB@e+7fI3hZ$u4?rZ"`E&E-.s(f/\l1jFHLff!$qU&J(@j7Y;?BT-t"Z?9P#AW.IfW4 +&[GFLH8VJ.1h8EP&O(!3jSM/Z!r7bYs$bjqptF()K`g-aT=]i@[fgZ-\=>e3K?PG% +foGc8]!p]_g[TXs=A?49(6a^cM$AD7!<8*J7+n+1j2$n_^DQm06@]:UJc_O!IeQ4% +l[dshaQIg3[6O4a62Q^JAtTE\rU2M,]$4eM99J-.,[`,43Q`4P"m`06jCdks$i^/rZh5DVNrS(F +s28FGV9ecgCO-UP$&7"'i."_t"Sli0,ENH%jeKC:S-pM9UQ&[BGm1!)OO*ES59pU* +VENED'Q_:(oY-oE!no3f1%`0kE(BmgXp:5\T/`IMq@KB)#nYL?_h/RE3[fgnLr908 +<`L#<<^p&?Qr4VsMW60(#m$!r4KO8K+AE#H([2nkMFq/cJ +FtN"V-uprp?j'oF$; +k3]C!-Xt_>c24U,JCX%AFV"U&"X/E5Irdi75_UX.BM-0J+:=Y#ABs"'9OgB^%fAL4 +cos2a@EM0K:Ws?B'b`JiiP,>YI44n]`?1]LVlaf7Q@/XDbg6V,q,@<7]a[+(dn?b+ +F:k,E\IakP^Yf%kp:luuIJRC/s#*^ibFcNP5gR)Wcaddd*ftlo/gC:Uf`]]ms)V-P +(fNlE=<9;`Jc(.taq/7D,)"QuYp*k3pWFF!)Gidd@qlFhW)3[os/2r-P5HR)gL]%; +A6MFYrrA2]:94s+oB.1+GN6BpIpb([\WI$Kf2="(/16pQ&rgE:5cR*0&_%)NAL]L0 +MH$N:&Lr\B8tm^:']V7#6bi5Dcg`GBrr\@tg\S]sIcrU#*Y\?2NDK!<^Qe2:+RBm5 +6NDrE`;co3Luf00(PSqW,_(^Xj<$'I"%<,lM-g_S(XfV8O85Dq8G7OIr_KtQa\Wm: +P^q@2?\^:aa7UNLrls*nc'ZLJCD1E[UhuE.4*AKkKJ(0JU5>6+LW9Y=OhpV8i'Ztk +YO1%n[d3rHS,".2p4)eiJ*sZB3ahbC@Xg`4fYX,OW1lJMA][-U?NS!]E!Jo($q$Z90%ftbX!&0#9M=P;=a`0-)I.:M6P9CH%6n:Xq$cujBO_8["%LK3IfaGF4)dlfTP'-9!$SK(>G@[3nq(Z +KVM^`HT#$&IC'>h#<*MPb5"oZB5g"c[XGV0K6ooEM;.dS)Sad]?DqJ=Q-1fb[be!T +^)MIrV=*uXn_gfho>WK]e1c&\cC?pnBC=9K2gsa^*d^e_^7c3Yp;!*1[S0qp-I4P* +B74if4_l]sG@#L^]l)_Te["mKcd!U:%c2AI_"5b#oum3^PH(JFqSeB(Q)jb`l_^5r +L(3'0fASgIff-X/(VuN':hYbAK.sdMr+K^A^^c#"bUtFUU0>]'X:]LBhqrcQ7\Yje&kQi6**P'dR%k;l:UjX/ +&HWi6ke@)=48f#Kp`D=c9M:sCmj-![BW25hNdAOF->c'LjA5]7;uI%IquX\6IT(sH +=H9b,6@lo_o%-s;S#Qn\Z4]K+0*)"ci^PZt5A:^>s%>n0.eWi?&?m&?#4:m!PlR2$ +2i8aW#Bg_C^il`)1XuXP!*DuS0.!&&@c78I=9;0O't=iT1;X;>"JcnL!g:BWR(k33 +/I?c]M>sjV&O,MJO82_`l%.Uact.I[1->Wn`[?;W<:$rUqTVG0bEJ$i"T,rmFd3X3 +7m'*>lP9!661=Jr:B"_;;<$&]r#.:V/V`6qj/*1Yr^9CYUE#h^`VC%IMH%Dq?j)gKaL-t;$8h\^ ++oWQJ`qhbb9<:7 +%Z6t_jcP,RE;u,Xnd3cHb4Z.o?89nV"[X[Nh@V/G1o7EA8G(*SI4_4BrDR!fKb!!T +7r54N^"o"-C!@WAO'F.^YEUipaK@>>XlEKBo?UT@T!b`W[&dRl/j6>/5HUJ;W#f9/ +Z?%eAEgpplm+V29\,:!&5ORh$#QKEO[rCKE(@GOhoKii9$0mT-mRpLD<^$DoHh"[a +om,`?/*618X_2!a?2h#,k',PFYI(4"WOH2Iet22oYB=oQqO+88.H&4QG\^TqeB]59 +`c'CccW!Or?-CjE/'f0D?8h2!epR7iAcMA1SJP!N03XZ[RMX:cB+LgPLXN0&L:)s) +Q-8IcbIYsaL@&VJgTW;TgO8VtrNkt+\"EJ>cMYRaIQ%ORP8W"^Pe/(bQljm.!'^VU +@f\\*aG2hh*FUn,#B1A2!?cl0/J,D=&-1%'i,Gdi_Ebo+m=Rqh$.SbN:&atZa#Uns +aF?@;X8E)Wi.&iJ(HonE="ih9Urbjks+I@k*;^gC)eZ[PanJ$1LROSp7tLU0r_M_X +)?N>,#Q?)c-.AGWZAmp`7;aLD-[C.A7/dKC1-Z=9AXn.V:WW@H,,?md)Ti&P^'m=n +^aS[k.Keb/6Cfg/'`a1n_!6S]]dR>$"3CKh$&!h.Y!\J%SOEH%c74A5J!0CJs'tZh +`R)LtUjG&S"9.1No^4&Q_>f1jFSBOUAL2mo^gaqWHrKUe*UN^l@Mrm5S1"TJ.!*dGouqM9e)\+-`Df[r6bD]0R.)XhO4lqpK$)X"_\9<-WlIq2gK)H*Qpr=+ki +@74<82[N<=Z<;_`k2RDm:f^p*bCLg7%anA9Xat6""l-mHrf`rg)?jfGcXm"7]J+47 +jmEUGcE@IN\lsW;!.'6I!.Q$[)rG:W%`l][OY.6-m$GYUU0(c6XKOa`We`,t=_/KG ++-lo.9#rL@It<^Y?_A#4M9agsB?RY[]/JU)k`2i*VUhc&2WUY!U7i%Td#N5?UjDmM +DZ6_`p..)i+ITs.c@4c(J(&c@ +^&%REe`k\I,OX!aX+YIV#!rk&ljj3L +]`2CH!:k@!5NRTL,+k^A_#LL2N._1m5MuM:5_,&J"A8ZI3;FAPr1EgMTTpZ"%ur\'@_cMnM"XXm6u/!ERK7"In40[s#=kU@&9QEdI\:g[q8V_$UJ@bN-% +k3>KA9=CaBZ;%[ZkLpl2m<>HelI&o-i@XT@B)0gMPLS@.(`V">qPb$Qaiob(e-%PfD7'\4t@oVRuDZa +_0u=QhR-GrjT!u9l.@)hG)X8Cii6_W;SIN%>eH4Oh:AdDBNfi;[.8A.rqG]a[p;)a +HM>-NT7#5'rMFf-GFJ+Vg5XDtG@*7E^M_bZ%mP!hHJPfS +>J9O-C@PlkqMY3PX6TAUMUaN9npu&b83.:\8!T^8NU+1KS&VQHXTu%6&)X`7I,/l7 +qn^J5)d`L"qtXlUdj&dCh5=NdFT<@Hj]VYh*`N0EU>a.EK"+)DcOU-]hHGGf!YkEk +*,6Vea8U9&V',t$$iGJc\)Xg.2L`M=?4/N<^AK^Ur0P%u$Z=M-X*9kIqdTRmnt2uY +e,bZ?cu3OeONVL@BFtl,'?]aY(&tfr!1`u%hu@q@/Y_'meGR3bl$N;W5l28^ImhF3 +_2&Hr+0u:3+!5%R +JeWkeLNH.3#s04Q#`!>GV%7Gr[1je:"jpHOuD6]^Jof3%)i +4n5#"M>[2K-\U:js,I$rVZ>dRr?!^$H2a/'ikG\?rXf+i&0N.Y^E`b?rg0nmP45,$ +JjTN>q8^Gc,6,9=F)#Cp\C3R4PQ0Hq3h6*kq4B?bN*C&DTQ3cMS?d@PcZ\*1]N),I +uJUI;?KDCH?lThRq5hm&1#e9#k2GDRrV$g#"qRcn_>4L-KFo +d"JQYf/7,]%Hp31#+^>cdoYH$Ir;To]&(gD/-/U;6=%cc!!rnR(r?1g0RDm`g9%,;b4FJ"iJanP8TR-DN`r +"g=J\06A.7/aH1U)]()sH[<@qH) +i(mZA&MBTjX(_$.[Wkr]Hr[fN]Q"%`D;'HhEq#t!phf3a[s]X]%:4I$I/TW%b:ihG +(Z(!C[pdhEJHjd2<%G]>J)@efb!VjI\)TcMpc' ++nkqE;O-i<@OmH3!jM]/Q=>he,65uBW1%2CJERS71)(F6r.9T'&9Co@+Eb.X+Y^@! +T^=I;!gk'T9b0D,#Au]A@sI2n4U1KkmM(.qrf=Q=+tc12/VI1,4NBRo&W#V"`[9^B +hl@RTr%H1f?]+'Zj*uR)SIuM(5KNl=s"ekgB+"QtaU_2*jDSoYnjb9!kjob/s'Y25 +6ef,EI8\fRVs.IQ=)TR::K8(3qmX<-4o_\JfcRhDs4$T:07>MR3q2-Ujir"%c[RX] +rhK;6\!F_:L@pnE\L[X"TeWgFT]?f`@+5XqVIK% +L#*Dr#0LWogn^_#1V%0??UJ0fr1A>WLB)@C!0/(is6hpS/]FQ8Y/uHo^Pl0Y0R]dV +Z@Yp\Jj#C8/eQh]B:GnWXW937R[#eoIRj%1Hi.$ugf;Pi7GH%8c1"26I&/g.=e(") +s1!)[Y9^OT+M@6+h0]oCHc.Odat.uU>(77@.i[=n*JN#EKSdsrba*Ku900X`Sm3h+ +CmILk*sS&qnr3Us)#7n76FH4-'\ousf)kp:Cu7j\@jTR;&Q\>rD.f0aF3WG1Nr>H9 +]lW`/M/`HiEr8TbFt923f_qGpO)rGi+^M2DLgUd-fj5@4Xj[J5'gWn8$]?c&S +gQ,]!mQfM+=nCM%SL<=%?%#atn4^(fT6=MHEa?/%=ZuLY2L?p@3\Hm)c73IuMW\E5 +EE*C]\p@;ar2a?"7J"f;/OuGBS\48Lqu+>+&%ZEC^]&TWgMblnT6o_oS@1;!hib0i +hQ'oTp5fhNU&\I/^ajhsL&`,4kXpCJ!cik-J3ZVo9c+83+;!JmJ:ggMW;f_)s4o"D +]&A!#o3_#Tk-*ac+!ps*s"f[qHc^a>TqLbipHNA"^^F$DO[$EVm]QSPr3bOok0=S^ +(BRDX:sT(RrXgj`"+N?C5d\k(57IYcR@'V:eY3;V$KRiR^U>-Dq,mUrpIj4\T;Ki1 +W;u`-rtG4com\:WA,[RUF!Vr6"[\=I%nZb]ir):Bn9PdK*Cc9($#g%CImSua5RD<] +JG=UWd=tC!+TFCY,sX'=#aUO+d$7]NT.&s,N4R0Jrt5-l#T!P7(gD!q>3*.TL(F@= +-[:W3Eg_C`^easuq7hO(TD0M,gs8U.>r;<2Rr2+_JAT?0S\I_SaB25ah +mL/3AIk(I)9+-m^Ql`N.Z>HX0B=cJ,qR*N6B>!qE_t[UmlLQ!WTu)7c-,=VfLY;oo<^j%!D5#"aVbEWT9qAcIL!nVjj7$e\Gj1F-r,8,N5M*5+l'r;%FpA1e'6Y1qNFCA4pm]4^-"A)YA2B_\Q;i`Wpj +N=5R;lfQGn/aMl:pOJU4lW83:2[t[`3k*u>m!d?(o"+8I[Vk9*Ad_WQOQTul(G;QU +8#7H.AYWo"A*8Hc$d$Ukg&/BiiOideWFG"eG4g"$hA>RW?Z^hu:VKi"I]pH\U[cV' +k0JPGGlG^nG%(i]gBSP.]lUpE,u6H";#m7",U1#SJZ]L@iQ"8MSqqPOW[%N#MjnDp +..D`Sq0mZm]_B8X5QditRpjti?&>8TTkQFbb+9m3QNYN^S/!57*P*S4Q]XmYlAQ96MBC?q=FMk6'hT$s'`AB +r(lVXf`0r9rEo,%rs+e:K&R:gInYFn_dG1+oY1@i8Qbt_.JZ""q%1ogae-2ZWX8Ta +.f]@rBhS2pC[e0Kn"jaeXm,J)j6[r=0E9i%l7[R(rn?u/LX)A2]!$VI]>6W,F8r;U +%=J-kjl_-D^A\Y\kC5::nSe7WrbVSnc]0[Xk^N'(kNpVN[5AekmaVa?G%=T))-p1\ +d$W1$gU0HEFBBr::(??''@+^l&06i7&-@B<=qT:a&]c!b3""RQnU#HhP<\I5g/eRe +N3Y@k,7eriRFFp;h@F3f/5YFF.8<\5C$jpk!R%uQ-;8r$Ft'?fLB +jUua5.(!"hhC_IfPboSR?[WL?/fELrT@bP1>5g@hqCi?hkd`+L=;7BW&tOKqbS@IB +VQUMi'C8c0)M]"85)$;a8-i0FIidLfb!n?rbT*8rt&JAV%F4Ra*iq=[Rrc^U7c +eNQ5>M#@)JkK1IL$m6.(NCVf^Q?#5JoT"G$3,A,QBD!b*Y= +s1MNQhZ(\=l@8dGJFEMs=.!r,`#Rmks.pDFXDTO3rWhTg+FiC#SGAKUbp>YG0bAAk +E+ON33?]dMb*Y\P.R,Oogb"ED,64P>'E"KgrtH\/;UkVY&Gu,uh#B%h`]j%ci;SnqVQU+r6TZbL]6JoWGd:5^AL:qndimt+*q;nqnP;_ +^`R];raPZn0D_mPB)M?e/V!OKa7'#Fq;i]h[pPN3caBO;"25YZW&aYa8C8^/pR.YKVjd"S +9shA<\+`V+(m^XS#HaukcM=N\`A@>VM/`/f1^>""N.]ur8htI!_1f2A@VKNG8RSrj +fbGdAbEIhpR,pi#XjZQ2q<2!ZEq'fTku23m$/,d>.#tGH8!f+NP7Ke9T@tYWYtk5: +4T-5br,:B6%g1:Qf]'[2M>X6'q4MS*juVoN)%ZDcKiBRoJHLhpg).Ecc(I09KDCK0NAQ-ojk(1jIemLK< +^N?5Q\?9.egMu^_fBMVHr>3^_YFB^m2!hl:Y.YOOg^9?"8nLhV-Vc0=Ns(Z>rF>ZY +O`Z%Z1ik(5]2U>qY2B2XrTn_kk?iB#^[9nSU3lWOf@`+*BCN\8pY*foN<_,=F$!De +pjXX;6A/-%^k/VN]L0S&5u<)&LMfBKp[EA90EVT.[4r*k,RWTZh/TIq=qTJFRP>R] +nC\/@nGH'K!6>iOc`dAqS=a$e5Xcb\+u4';:#5UWs2T*4:UYSKr4*<`gj-'s +qELVd&HAL:TW(?Ma4n>0&"t>r&lS*E+TPi$ +eoEP7K)2*ZPu@Dks'tj4iW(l$ofo#I5l?Zi5N(K2!L&cC5GXVLFg;"]m41.=kPIKr +-RJ[4pn-.>7%8\9X/XHrH:oJ'$:Lf0OVp#TQM(Vpa0_gYhPOHh7lDWL2k=1QTtgP1 +ht'(??U>$KbTG9Jhl1P.em6qmGSJpP.#o@f5NKNSj`% +iV3A5jbNlfnYcDmIJ[+/BA[te?9+AHFNj*ei93F!b3[iGaMK=mKhi`T:HZ6(JW32!od?Hpio&=aNmSC1j1j!#rDGfMYGR$23*.2W +-9j@D5At-uD"IV:Bqj%ih`<[6oLoKi.uqFjPPp1^G1Da>&nd7odhgP-k>ft9U;Uq< +BYQ=2?TrR.0n1P,\Z+D4dC=NH>f`4+.OWPqe(=00=1.@%pb*NrhDQCfW7neE +CqX\5qK;,slgDH!c0Mk3lS%ACccbKhb@Y+G/NeG:F^-bC<&VEk0tes)4]X*UaVR5A +a0GmDGBcukrC,c*Q`^/Rg,D4a>^Or1rMKPgX5^i;gA3S\R=i#j[UQl]Db;L +1d:q4Vu>)f?cYUkr&E1)ht0-Jni)egoOYDmL\dVN!W#Ekm%^W&+X$ah(i9G/]03]n +^K)?:aSVS;?J,:fper;bjF8-NA@_Pt"?9)T&!I*;'u0tS*jdeh4!9VMJRCRr]bTj8 +O0u12>#qA27e@*n1W`UU#LR\c)3631X@tT'@^`S@[?NuZ6.f?RZ5*]8.Y+&_+pWRL +p(GAJ`jgm,em3GHmIsSuI0*(G7M,/!@QksNpaTEb-(,6uAjeT^Musgsiil/">%MC< +Va2BPb8FSc8?2`XJa-']sbrfeV]Cf@C6uqh2(]_V>/h@&dRZVG2QsJ,$G: +q&a^^^/A88Y4)5aY++l@YCGGPrMSN,J+*F(Djo#OXF:%qs-rJ(hu6(?`LhKAqd\Na +IiEY22r0u'YeL!AY&F>Ys7_"cIIh+7=+>CCok4:@hg(g.2XVW1NNLff7odf:t.)_of!@;Se,c +3i]>K3s&qETFjUMZEUp/)6@KIlejS:W4fr.W[\MO4q=U8JkBIE>86=bVn9!.c19E= +jC.r8:!_8Zp8.*/q.og(NGS-qFSWIVohrBr<4[l8+ejh,MP8;S`)]HM?SZpUT3*U: +/j'QG4GduX%daRW(I&505>(:,A.L32[YlpL+,:UqAQF^ub=/AZ^K;2EojutEQ#,kkeM7,3o52b;MqYQl +RWcD]h0n%jrMF#`R=#=X_.WG1D]nG*GCg]FY%dKk1uT7cLr,Gl^Y#(hVBpPCkDs6*UjAgAS:0=/-js9 +b9S(#CG&W1_856+"qf4FLQrFbjt\^%)`$b7`ndk-LXcIe9Yk=cOK8pMUP=baE?f:' +B?fbDFY.-.$T[-f,@j*Hr<)>E^q`E9[DAsue7e$sY@$kdQMd0ThnYCV[HQu]\A*Wn +F2m#jm:r86[\7L-\=]Fk8Q7Qa,Y-A+d2O3De-V;Td1%eKLlq<8gt(1 +,]6#*YbFTabTm=c7KF&Tan_98kYqLXKT-"Q_*"(UPKk?1Z&qFpc&CAl,`;^t[*Aee>CGX[>r4a4c +!rpT$CT!S8lMm)A:uHiqN6=N*s0*%?>.JOCJGfcSBg:\VXLeU6(30A(PeHa6@b\?[ +qpW7!es>Dq[E9[=35cIC#_XX@q<9@o7qDnX +rs)>Em*uG.n/2^-0C1KNHAs$j>^HlGV`r/#(&+\KH^/&9;$$1dUi>`q[W,WdqljW* +C&ZBkajri$k'?C7,O*d;]Y-$!pE*"f?HJ8#9(nlJG+L.+?BlMCXuLa*\b"[&r_dh# +[IO58bP>r.frM.5BD1^SR[K.%T1<)=,?(s!Z5X-LC5Wb*$R*gYf#n[Eo26LfM7&4/ +]7L,OZ]F53hd.m-`3r55,@%JW&2&LQU*0mm8qM-b/J&W$C(%T&"\JKKXiX57P;-ia +e/BbsfO^2afqn=E$)]C;W@^1^Qs[4h(L340<^m#<9^bT:CPD.ZB6lJhJIQL9R0%V`L]Sm>K3V9oeBjF`9"/Ij_XR +Q/c32qDJrg>KMN5kM$lL5l7>#;1S[a9)gBaZcrsG-P%;qNut5m*2cO!Vi>R?6A"6( +N:33qC7`#a4<;s5)rEg)EWQ*)PCgsaJJGU(1*H@MH`7)Pr6_XriB?&I;:Z.r(?+mL +J,ED2!I<[BcH&l9baQQ;X!i+Y1B@;;:*@2BRuR4S6DKWbfb"jKi&/S,F`^#)?-J^=rdI,,5r7MA,_\TGmVPjX%R,.Tl(CZT2pXVHkG"D&Rs[:#Q/LNsXa<-dFOIqVo +%fAi&0^GdloeojAPmJ3+W\^nqo^#a%VbW^XX%>^C^FGF_.["SiP,_0=_#e?Y;_M8R +:'#0!k5ig,$i#MQO(Z:mK>:Y7plB'7F_e=0FF6nn(AIMq +9l2mNNBmA-%Rg1*`n0CMf#s6A;4ARAK`+:rN,+PpLj`)>F"SD"4@Joj$/7#m=QKi3 +]:9fYN`cos*C*PDo"![$W)=mR=3DF<&gk\kMg"btF/_&P]iN'gcK'8V9,:-g2Y)Ub +"n%f.hM(%)-'!%tg:\?d>bud*=M\R[%kM+>m[C"r:WBe<`O=%=3[U6]+`;s<] +&rendf,Cu6-R$!j'&6(`G`#IuWFDiqS*)&HCW_ +"q):*:)ZON/VXqUri'*R'A"/]3`#'I6JHqjW96NGs$gH^Gf4K/s$?M.@FjXgd_J/g +e.HWqKKj`3S35_j+6?2Q(67a=L(B0>=-_WMAYmkC6%YYX4::uE$N0p'fqdCAO[ko$ +d0dR5,b-O_O:d;R(D(a4%9b"ZBH!`V;?OuD#-(9^ZBo%ngP\?" +^=Jghd[n5#SUgsWZ_+q53dkk[rS4ir>L>YXdlVS=os3Z44A\YP//dmAUtck+Uc]&9 +C4F8Yj`8T)"9a*,b9U\0)0/h%@kJ/$!8%Fe9@sEJ#j)fdl&[t\lnVbP,d'`Z?R;RR +F'.R0N^:UfL`+`0E5[r#DCtWJFEi@H%OU**7KLQJ$X-`g:9K;!KVb!!%_OI":i$R1`)9kpn_!U3Fj0\?/UsZlOO`aE,M;AJL2bWCca<0FA\_)*#+tJKu +pg6`5=A'\8rblcSqgeY;U"bt[CPi#!H..Nd;eRq+jP+M>quB4s<4FKLCB^G`=<`O%]0`"&ZJ/Q!B(L4agP6C7C?r_Zk +?4a=U"mmU%HWe^!g2AJDJIrH/]0rT)KkM"XpK-OqlhdaRq@WX&.M79IXiLb.-fFG$ +_-[W?a8AFVbU<>7ML^2d\X#!-EN`Z9$Gt$-C0)`lr^Z)PW1NTBrouC.*/k=*1&jaY8H+Oa +r9&??dCa_%4XH9kM#9kKUPdp(VL_(ON`GUW!OZYVs&WuFCU>8['?it+K@&-_O6c]h +r0qP^AigI$MV_UW,fFT)ZPoi(%JMrgm)m:9INme5`:U.6q?Z +8SUt>a9&RR+I(t6K_`q#Q[hmI#V!+fN6[#DnfRPB-bB%r&J]cQJ%%T\eTOWsDA.os +$2?#95'+HiS.?Cn!SQO)a:@c'-AC3AkG^#(05Ea$Qp@Q>VE +*^Cq=epRJRG5g'9pLjC!9C)SkH=Ti\mh"Y>8i%FI.X8QK1[G/ZlfLZ^Jm$C-8Z>_#0i^6]2A*nPU8+n7k3<(C +X+8rlQ/8"0Qk7fLkBPU(!uo+Nj`KBbJnoqd\&db8e1XXEQfHkoV0Fp9_&C3!l+g2E +he[Dd9N:n&>RS?^s&L/E*UZF->9WbHrm/N*!<8rGm3=P.iSdU4'>,Z:Zds2m$M`NW +K@]R07GXU-D4^k,V:D4$!m,//2kft5%? +0!O/i>h9Cj#NC6[(r\3If*Tk([`!1'E"=+r?-=t6@F[EpQ>^\riQlXF*0q?grSCT2qWaTLi86-'t[ +23'GHJcCg7*+ht'c58csa?ObKcH^EBolc:Kg$E=l;sN#N6P_BL#\% +0Z=!+*p.tH5NY1_k_9]/5JWoD*CKr'fBH/1Lfslao=r+0Bf*jfR])l+1QCsj.GfQ@GDQ(pGMQP)9X.r!Sbl9"B0KLJH.lG +5$YMKFb!\C?Eh_op.'#&Q,bjOEcrVn.3;3!/Y0=as +8`Q8\Z^EPPQSuRL27Sb/Rpe?jBK^l6i;\1@cWjH$'#b$+/7=J">GZXIia)0'h4W0J +k(0"E+GfNBURQi7_mc("W&d?6RZ6bUO(s6$^jkhWs7PZkCM":Y?dZ905NTn"R&DqYMb$A.EWTEuY!%n3C9JN%RgCW=Ec9 +m@**2665?e8.2q0[)H%S@#Ye@N)=M5OG)(34@0 +:fkjD&`aJq@3AQB![:FPZEs!-h/?icE%s+rJHJSIK,s&BrMf$nSYEeaZQQb]0[ +LbU_;g^k!#!+#qEcqta(E/h%[;!SR1TE\mg@_O-P,VuRU&utamfMD"/g/::R60%*q +c*^7'5>j?d/8heb!uB6o5o.g8=?rVsV#Ut)YQ[uOeWm#]Q)9*9e.nm5"b;.'2>Kg' +$`G5%q2^5U&cZqO\#V;H1l21ji'.J<+2W@=o:,>+s1ns`g.+"B9-,\d@JDpD;R`rR +Y.XQaIh]p+I&JIo[57qe;gL"k.\D-VepHqe:][).TTB\YJfeUPqLs +rt0bI=>16:,N7.4E+3/5)DASr<0G>1?"+Nkqf`hF8c4XSO%!q`_j_F3>#CnEVb`ZF +dS!hkRG36aP[F_U(P&<3XOVRc_A:prUcri@I+en2,N5d8`"()pXIu[$,(G^+1DidZpnq!YP%H)e/Tp@LoTUK6#\"skeT,*d6NZnr3. +r,3d`*t%cpn]fXpAh+V<6HB#EQ(M*5q(_e_koeo682XYRQ>-p!^X:1*r\p;[Ra"FK +L;YEE;PPS46'YQU9PUY&BrFS*01uHVW%U`A.o+)"J?j]QPQIN&NJbZCO:.^EnG`st +;'V`kFNf4?rXo0)U0_o$dio"q"6\&b7@=)rA"FWMOob0Z6,45nheS=`.k>7jRu\;Z +B0!;Znl?gTf,b:NSk4*tjmPD^fY/lj50MbBceWjjLOfE_6f-3`aT:D9FT7&*qg%T6 +nGbr6cKg)\T2kVM<8N%%EVGI`hHSP/\*EPqq?LC/mgMuVR\"sb5PSp*pTaS]WF^Fe +f\M`kfcUjZ`6!a=[T^mUM\bpW +@4\9uP1fpXiVLsWrLL+WHVMNkWqt$L+TASA$7nFDr3,rpXS]I8o,e,Is*$qt2uZWM +s.,n]4&,/S#64@rn[R.qAiG+(nQ3Ef%Bs2(9oL-E,RF9Mj2Md+.JU,]A_p[Mg#4%=)!'jPjVZ]8l`[87]nUB8%!6> +IIL=bQ7%]BM&QR6fM!.arh&c$JcB]F:$KE`3H7PCJ&iQ2rZ>aH(#]693a?im4gQB' +R[87G/#rbe3D"\4]p%7C)6j>6M0_!@63R+@iRH[5+d,:tlI"aEH?J4RXi.2kc_h2S +/q_qjPS0i9Fr=,A*j'K$dB5Bo&HX$GJO_K=$)-.?W,kRZ<[h:e[X=^\^gk^bf^mmA +WSIp-i&jR:S)_Yaq\5Ks-8k(i@X>$32IR3k=7)fuN0f=fE.MgBh_$4re# +(P7,;[jh?@EY&QWciAtJDIcBjC]Qp1k]0OVj?K%B>R4%fq?Ic9G`RMBW4nF$Vmqs(A)@!;LKmopX>jNQH%K"9:WI+-.S_(4`2lL&$c\TLhpr1=1RO%>5YE +ECAk`!=NSGdD,feXGdoV':!tWrt5&IFUV/"FY#kLk#uq$2%/rhMVV`S2d=re(+r]S +X,4%\D.98$WEGeAUeG[)88KhQBdcUao:Jif$E1BU)/X05:BH5U!:_/7E`V@u_bbLO +#n;S[\.c0C49LRed0N".g?`^jW5g<0RO*C5>lr03**88;HYkk8q^1mKsaPAZn94D*=&#hNb::/,%9M#PW8IT'#FS00"3?Zi)(l +s1*CCV.:*7JEOIIc_R&6'Y@`RDbH-6$[>a%kAB>6#OV=ke_SiW1U)D%/?dpp+U`Pa +pSoTjYBfu2g;hNU[l9S)*i[8MSn5u81?Khar,k>dQI!qIi\9bbHl?%>+Jd.r\l-UG +$85XLRmT[Y0f7Q_%6n0c*O!SFXVBQhbeC+&^1BirCZEV#jR$a\U##@oS]&X@KRnd* +!5O)Mi;u`opWbL`BFeX$%hNajn^@TIgn8pX#bEj`Gem'i4(*-$er;gYf3F)+NcjWs?]V)94/ZAQ8'odGk#=kdbHr^K!?]CI$e3Y'Z;nKV*XGhRa+d!EddPf'/YU/!M+Mq3PTpj\et\s"*:rZ>^rgs-`?q!Y&q_iY$bl6*d0 +0t,1GT?m1jQW=8i$?BW@aaY<.7k=dRIj,o5q.'DJ.C2+$,-5rfG)'7W5L0nhKVKG_ +[n]7\gnW1!?bcm)eE9/ed&3*$Bk;_H]O$Sl=&[JD.rlS$\r@&pOdV39S,>!N7rP;A^7>iL5]lj*)k&`oZ][YZ4-F.8(T]rf'RYRt7N#d4<6 +,$gkQJ:V"adrH"n!ZJKIo&s+fDI[8A]Du?34>hlh?]VE5;KF.Jgu6qhAp%e>GWhBQ +b_u+?pd\LQ\!l!F@J+:N]ilcF5JVcK+WpJD;3qNF["-6.!/UPt1h<^.c(:ks$rr3O +_(&lMA>Anln3jY_8@8A$[e3P'ql]_`?.n`Qjdi%:kgn:S$5%%'=Su>:F6Oau$55MV:3.h_e'qKg9sPiED--L%oqWjkXBj +[[GuhVB=a2`UL"W4HiXEj#@2kaRC:>WrJ3UrRZ/GkMk'.,n8bpf6rqIqVDdr@3:MI +!<.TNrfbj?n[On$W#FQSVS4-oSf`rEdC#21p).Jg"LS@'+6=`3:,!fpJ7VmplJtEK +T8NpK2h;,``-*\0](,X9>\lK((r1VF\omXWdr\:<3m4ptfT5gR*F*.Netj#]r"8rd\NMEV +Dl'PI/?cZ2hc4"J.BW*)CBGf_l+E_FpOlR%.r@%4Io04h&0^ZdI8*\SOiE!so"T\H4s&C&_J'nBb +Hhbc:pl?&=aS,Iiql.@)Wc[*J)EP[O,PDqi_de(Aj%1+ +^QGVt,7B;R/:],L&S6Gkq'#Oj;F:We@pQA?#Im#V"6?\m>&A)2L"0pM3D>qY"/eT2 +Ba-@k,r@-_9pM72ns$#WjMoWDL6AA/il&F&"FQGjBPVQq!TA`_:Dt@kCRU,ZM!g_r +R/b*L7t)lc2roLZ-7"p4(\8_4j<1*Y.fPoJ]`ncG;(/?nb?R(gKMR/.o3+`CZ"2js +B`R[kjH/bT>"?s]Jn^IBK6%Bo^"6n=212qr2'83 +?Q5VbCjc#Zk2^O\_1m-+2d9kS-L'"33WZiL/Zs[q/'jrR_A5s#?mnH[J:BSO$E=ZU +K+">fIDnOK!1L?7b*p%r'L6L6O0%WmF%h)AA,]PZ +T%eRf#iK(eV;2$%*^]f[9(OmQ"8G)LCBsi+r"#[_]k[1E1&.o@LLTNqBF_7sOk<\g +#eWV,h\62UT;?YR7(:C[ZqfJVT=j#7F/sR5g+aQ&0c/;!(PDJn0:8K@N^YgW(25qd +gqYOd!4&<#KV9,u5JVb)ARm`:jFfI;Q@\M*5?[<<4u5q-eRnM)`P%P"ShaGmOh@m-`*]A^0"6h+f8l9,ba!B(.6Yk>rhVCM +6A]ohco\@KNKl=2'ikh\RKnam_'5_jW7#%I$s'BUWcG;Gcu$kk1C?C\7Nj#k?!9h/ +2@H_[K&_CM&5$`iV02"N47oMF:.#91aXGqb($-&6GO\a6bpGc4Op"` +5O.hUg?0=\nlnX$+=s2Ie"Y4Xa4OhZGo"I)$81st,JZkOmaW!9fFtN*Lc@/?:2cis +:?=pN33m`2Nqm[E\Rm/$7E#9%"83&lZTqeW2@/2qT$]fnchqDkJGG6X!:t]7?85cQ +2uYoH),=[F[k7f5pg4<7aSR"X>BNW` +J(,]0:IY+jrKfhV%2$>45Hp[arZafAQ%Ni8=KU+17hl-UAn(oB*@=gfOm16!d!%n, +ff75+G*A)Cc]#5qTj_9d5pr@4a$`:IPkp1c&1E_A\0$/FrrN+)C-f7Fk&7tr*kmm[]u\kob2%IuhK^9tI\"6/:P=-qh>'Wd +mh`n;:PSc81j@ejNkc$O0g>QTnGK'\nP>I+^XbRI[GfMgg'9jm5PWlYn&.1#&=]^u +"e%8k,qlt`PP0k.F=aWr\<^aGQY".&oA]iME()^uRh_?UZ?08q#$iOJWd3"'A4g,o +er8*uTU<<]4h[IG]V"3@8b9,5qcApbQaq"l-_pb6bW^j_Jc@5opHi]J3n:ohrWhArT_?Q6gE3bEs"hppDcsJT8f^,]C*7HkV?heO@DI5;/+A%KeNLt;)5fNI +f;m^l+Sbi;R0RW_+oWRCCPM#mi`eo^R`6a-UX;f/M4!G)R$QF8[[H@Al):JAX4.)&_IW9 +CX2UAYmZ5VML0(bRU? +Ph4/][Oj"8CZYQG_VhG'BY.sSTP3a9Ir8=O]q%6i+W=Y0*aZr+>fcV4A[RM/e-r.@ +r+UIQ]%4i%q\3dpH+?EiK7G%Qqed(^;_Mh5$8M,qf-$=3VBqM_Y"Je<(d9DG7.NQ) +a"RN1*'b\B"*OtF7k,5Q'8O,eaAmad/YJpoU#j]i6C0%PI:<5L::MEPTK8]6H9lZS +"08G`61,O5q2^OE8+?PBL=0N0"8kFrr"E/bQK,H2]G?$IAtOq3CImpB-D<&eiMLna +4ccQAr;YnDhXaP0q7OZG#jbKp**'e(>+:N>YgV5V%#:8(7e#H_Cl4UkCCo!_4Wuu@W2Li`=K2D@pHf:Z;m>5NT6-fBqq;Tl9XiKG7#K#;p +o%Qqc)op(\kIfn8P5Po:-Z:9>?]+To!hP(2a@,?k1O,-T):7^b?q:kr+plX^?4:_I=3fQf"b#-o@Tm%.OKXZ +(/d^Np!]E*1-W)SAH?coAO_sV@c;6*B$uq^1eeUr5(u4gD)j!a]e,\(#^/.i;Zbma)$,VBTD@_,C6PQ7lc,"'9nOI=9n!gE-*>O]DHA$86`eYWrH>_poZGu_`CD(R&7>g1HXdPcG]q\"Kfpmc//2c +*r+WBdl%nG4W%0T**YWChZE]tMQ.bTB`sfU+J,3a"o^T\@p;E?<"Jt9)7XE%]hp_3 +ZXNc4,GYO*S'4gb-DHquiPdOroCU>Q"Q*P6!9X;VdcbT6peLYgnGanX')6r@$T)qK +)n@2^\g(N@a]UY?c6!<=:*_X9Z?afZGig,]Fusn[?Jup*[/%(j@nM1TrsSWR'"DBY +5lB5kgr,(8O#e4D]'X5r#iP/JB=+^r&Z(a1?"I0P`S&N\M*#)'c7^$$2_>ehD^kX3 +WoZ^3NQM9/A!E&2';,@tsGd5SsX+/.9k +W)^NN7L,ca2dPgq;u.sOSFEZR)4cKjLOn'WbDY?nNZ(9&^/"W'7gEB^d;6p +ao.rBpuB(OOk@Dc-kd*fZ.d_:1?S&VZbk^`6I0H#&Ji1]LDE-'A-$2JEmQ0L&8"+O +5?=CH#[+rV9g/p`m8DklcmnThd3`1dOlnQ5o]X[DXU]JOj;+is,Q@#.+o%O@)#fLq +`;e3HTAT1r;00SR[Mg'`N[f@eS^q\T[omD3-@2/DdA@/Rg9b\;S'\At-*+-ld8?Ln +-qbar"6$4ZM*rQW$3*R)^l8hCpLDGI;".i;lVd<$Bc9=3759E?1?JhqK6dk'4,reP +]sLikm8`>[22,@JM7:.9 +l$LsoNuF5dr2`EbZD'rHDj=nQ.Pn'(7(SYQ)9=]XP`-ST-?iD/ +L`Ph,4/r0o.K6a9J`Xh$-&ubqehp+h#6$82ghUa+2LAhqk22'jmDSh/@m%Bnr]N_8 +0)dM#H5A$dW&d=j/MgWfEBWp#4qP6D7UeTl!:YIbY%p/.I3dNtO+n,#WX&OtI&$*( +>1rkfb40UoocK"]^L'S!J'8,lK,<$e/oUa#T^g3WSuYHhmjG'YZg9=&rtMMH0#9D7 +lTjXSY$/M?c/9(a;,r]#N)5s."&\`D\%lGk#&`!%hQ.a/ERB=,jUX1#4g8BV=i$3cJ>5B +K@5U/ilO@&jL/T87m+2G1UAa'434!Vi6Ui_VhkEZj4bHh)lWpInQVu6)_'gj#m#98 +7qo*A\Ak+R>LO$]'bh\2hq-h7Xu*ILDCH\Ikd:C5?\sJY)S<8jbMpsV+j7j[f@'?3$Z5: +L+i']EfM!2V2?:.j$ja\&\cce2ANnm""=5[!2J-Wg;AbQTZ=hOJHb]03-]e"fEEnY +IkMZ?h@;SE.g'2r+H6Bm5@am+M#X5mEY._iUfmd#rqG/fK2s_KIgH%cFfCq#cuD2= +'Li6'\HMgBs-r[TUA0f7s(G;\iI_*Sei81Eao<^bAc;f0gM5ti[@t`=HS(KogsA,u +k[4E3KEXd5T@'gZD]i4EmjKRYNs6ig%T1j^M")e+ZN0%f_u_ZbJOL?(!<*uRR?0^i +q+pX(6TZLM=%nAB7HaaE'!1R4$BWc:bB%BU]UBIGBjk5KZn>;(c.,Rc[,8us"o^lr +Hq1\k/m*BC>(%`%H6Si./mEfS\c#KT)u0G,Z1CApqF\7(HBY]4->3@dE;tp]i3i>< +\,]XHCY?PYK&cSO-Z;XR?59*F.D>=MoC,i)UL-\*IaR$P7=FVX\d-!<*rThC:]@K] +g&J(!"8^"7n6tG0M.V45bgXcg,rj5d!qI0!B]to(.*A:$*taA\k#"B4]P(,]Aor%D +NH2k[b)BFS2k`C:Hr8lebF_#WNS[DN4lK*VA^0RR9Wfb(XJHE$q1aa?H"J_*!)$!% +@!mkgYf5nbU'A&8^"Y9ubp`<=`OAJNDUS]Ts%@>pR/\[101>d>rrouL%J=-8:/e_Y +s/4kg7Ut.!inK5u>#6H"S$gQ1oUT>hp0Q.RHs$aQLOd/-b?WdD"LcX0%:@6r^Jo_: +[!bm4\Rcb@WL9QiTLltYmO=HC51)Gam0m7'oDWFtr*]'nB^*8Lir;8CS`d")Gd@`. ++E4G488.L]IJ?;)co%leCJF:'j5>uaU$G^oIp=*7NGb/XZpJpi95Rm@orN32JH$2\ +mj/C:^(;aRLRBrF]W"'N,T,WGk4Abl%.O;2B_kgf$2d"&0;%AZS]M[Do+k-mQ;85g +?icp+`V`W=InXGFl,3Df_mK/BV4`?57Qudl5E[X@`jS6ueZKCu+0K8pX":lp5iO4D ++"OHtXDi&VN,4f@mmtKBA`J-cM4NG,D;jt"IrL<1]IauRaVkBNnjbUEL/ue%MokD+ +<6m$IYf%KO:%aQe3sQYJIVN^AV7Q>S\b\gm4fY`=?f5oo,O8'6# +Y@4fg`+*phe(Uk$TJgS5]:"QODkOQ'l0Z%irjSko^jiHZ1-?g#Y)j$e&C\rm,7[9] +5XlRk?jZT=Gr3;YK],_:JCFnXfAuX=EkBk8f0kr`[o8XJD34HV/teIk +eHKi%Z+%Bil0]58g?kW>c/R^]b]XDBP5h2L +0`MM:j,5\PMDAWo7.@r>o>`W&onrBTF&KSV:pV;cKpWG0J!MsP%^ZT*pNVT8WDi+3 +_jfnAm?HN9)^>)1U@Rd/jpl9*rG+.U9o/_B]fT)_]stiY*=YTVocN,l9N:n*FN5TM +"T^hi"pk"=_Y-\lG6%Z@Lo"Y?s"qCs[;1S9)N&9KIrFcMZ3'gYoQbo9B4>74U]Aul +psjldk/3 +eI9DR&BbDMh_f3=L>@((k.P6s>qlS50_\q^qS(P`rt50IfK`qDF^q[N@kl4AW;+gI +(9kmH>2hNn&mX0_J]"jWUXZPSmL[>:8!"g(boC7g_Zp1\s-ZgKg%4sWZbZT&P/T61 +g)]G#4iQ]CI,TPEk'>(g=i&6P_=Cq3!q:\=D=QmXD$GR\,l*(93=%hpq2^gALn98P +e*rrG5]M%Ll`O*AToY.k8f5umk0&=2d#RmR'pc2&$7[90Ll&IPY?.W8p.8tX< +\(o,Eb:7]O'm>jRFf83lLb7<)W__RQHiAeB0t9+J1S5*Q8O`1l"!9/ss.AnTAGuc+ +,8L>7s%sM%_8bubG(@&SP++d0$QtjEV-oHQcP6=Vrf`6#J$Y;u2Z2bu5^n=boPW[D +(@_@@!l@9(+<<6>r_-#bYh4Uq&$ZN#pcj`3b9Gn@^'l[lp=jV8Q5krWkVd%b$j*>X +O)d9u)QMhs'(KQQ,ktGS!VfoT4orPCe7)gn)VM&TW1Fc-r5!-VL5l6I/jKG!+<5ra +%f[/^<)_OdBK4oT&`f#AXGZJPa*$.8?.Sd'F*sl7Y1#r/0[MihN-7@t9hU8N%^IIl +3m_gfQD4MhphhZn[["-=,qMOm`t:Au&K61[Z&`Dod+n5ePa:<.7k"T@=WJ7T%OG:B +6Ut_oeDp-U+E++!UFl`Ykg9`6?O1LDQVQ86;fisNg/J5=apNWPDQ(?5UM*n6oPI0J +)lZ2d4s(/Fmt_d?"k+"f4qt2N*p'IeQ#&PrYnbt''m2,?2=8@UOIn0Th._YFPq:Rhd+Qi;Th35SkTDrYNr'>Dt +?@2OLq>>1)a+(?Xr(m3r^KI2E'tiIalKCOmb-#\o5A.'P=/=iOuDjH!5;m)H[!I0T08!IU/KcARd%i3/4!Rrfcu2gZe_) +9_Y-'i^gG&bZd8+SiBI_geAYk:E&(\+.d+jVIDV&Lcu-7/2(8;(qsjeG;%7V'CFY: +Eo!Vcn$*'tBPqo]/>a*U5BYG+)Wi_:/%!#"Q@C8j?p;;;-5Q!a"=on;F96/(j4]Wo +*J;`KhB-Uk+"^dU.I6sUX8AZfrX5_(1L\P#`";aRI8e_iF[baXg>E_#G]_sk'o\nt +MUi9hj[@]E]6EaVXm_.t%tsu!jLpH%In*tKK=oO#';go).&:2(c1CRL-&X>5*Fg"q.#i-+,,;]sR<8hT,^>,5a1B +(4UF10Xd0.$ISiV7fPqis&tk00u4<&:@a!N/uAaedXj8HhD%Kh-`4J9@df73frl0l +^WN\V,.lpne(%gr4#n$>U"1YAmOFC.OVU2u#@]S+0X0IVe5F5r3'N)CL_[-4$938j\4.&k3_G34Q-ZQb88',X +ck(UndEiZY`W>c"A.a/fi1EeGH^HB7"tEck4n/r,#ETd.5^3S*NC^`02SSE60LHWF +8b!$.cNrhM,A=-2LQEEn+TB,$N-b%!hie-@&(j`D&DY)(_nT9F'uBq2b.\#HBrN?)TVgritcadtN:Qoa9Rh%qWt(G%`cYJ$$64qXn] +(9R]9T1QKMqGb0>r-t6Ep*si&`.-_u.fLiVJc'HWO5B">^+VPH=E`kUq476pB-3E% +_#M0+%$1+rK +:-K3=Ik!55b#3/Cn=oN\.'bC=?3[McSPkUd""Hp>8#kXK`^IXZB(KH^pc\WC +*WF,4hnPd>ELa@YR^II)5'<;P]U([dOZ^:B4KuWnbf4k%1LG5?hXeKWF`1)]gG,;% +>CCkGSjW>Sk5RQG&,;3H:]^Ankq6q+222qBO5Wn,"us;"jj\!O)[hV^O.4s&isc%&4L)rrH.*Y>kW$ +_#dm!lMJ^3ghlFHB%)@Am2'_VJJ'C)tX(pRIXoGsQ +/7:<3EL+uQ)P].80tK9qI9R-3*m9%r3d.#J[@K:_`Yeaa3(TMArknU8s5Sq83K&r/ +X67pmqspT\MT'r&nfKg[&+Q9rJ4og\ +\s*8(r^U,leg:;/(3$N'-k(Sf9Fu%c_>GZ-aIjUZpMIo='&q%Xq2^6\9QC#di.%X? +nK4I]aGL]$+'F,V7IhP<^KjD9[8kX/s4]"@`0H#[(')2K,lutEOT,j[ql:j[bU%oA +5!=K^_1,c:s3^WMK)b>t'[##9+>0VCaU"kI(tdR3r9+Jq8c1;EtF9"A=16nglB +$7\NC"7Q>B8GKZ[V70Io0`U*hq2^FrUq62m/d(tKEbWJ+b(=#878T\/i2U-n+3^i- +PrNA$>mnN`'u"TLD.#At+5jo)2KFm:M5!2M4RiB(2gpb%!.$%qK&HZCcGi3P3Y_9S +[eiV&q,Fs&8?i)H^]$^,onp6X,(9-0k5#J5p4rS+O+jM#'Lsf&H`uOXmg>+>Pb'', +.(fAGk4.?Vrr5L')"%G#5sH7TranJG^gA[Ss(6cWpSp_:Q+MCr_t-IFjbgb^6"Lom +Tf@[eT0XpNU(sQF6GQru),gYRO?puaV^^&-"f^"g[-3\&Ru6jjEaG9!(%:9dmcF]A +Luo`aQd0ZLDJ'L:(/5g-Q;7Z7B:6*Hl%o@Dab/n.K.C3V%!e7#o,pnk:\%jLV[Aq:=HIpE'PLX7&\4a=;Z,,PZ@R:17>q%l$( +&H%U.2#D`PaPR'sn,#S0q%"p)pSo9b%g)lXr&>W-\V7Z +'&>61Fb%87:t_J!D!lfe4A?bZ9Uj\q%W*I"D'tAcAk_+(S@b7JGFlL(q>X:&nlW0r +5d:C\5FD#ZP3mTB]-jG%-fmGaQ(*gb[iUcMS%)Kp)[jb4NZH)RBuKk]`0[V$0@s/a!4?@.Pf"W>YdDL2R?n=/Oehs:k<)Ga,( +;aYP!Mn,CbAKCVXIR,`s0U%Zl&I!h@jPcIjW[&n%0JtI9NKKPs"9+Xar`GO/;isa0 +F&F?]NJI=nVqDIPZ^2`qc5d3\%f#(>r.S(cd[faXPK_F,oHCF=pr@7tp9-4+X#(*= +4iC2N&+G&n`jpBD\T=P73%fH20m#\L?]0\Qh[.+`NrPHF:>e?Af9nf6j95P`'rH>? +d>*$6`1mslGcYDDhDIcBo\ZSbMQVYh^%IhTS.!,/F5PB_bNnnjDrq"3E=f+6*;Vg"_4sQ%rp4G>!-UbP"^,Yd\F_hff2T:;!)+"%"Y,1s&14q[di3$a<,BIfMI:+^LF=VcQ1C`8,[$KF\ +Pj!ad/LG_/'7B*prQC%h=]XuJ]6BdueKTB&5>s)b2\ +3]1@tb^YC*ZU6Bf_BhGoScNRPYZ#cuI+]:AEg]]I&4 +8V$gqJ+bjCk*454g=4r;fgj`=O+h?\qub.dSd56Z&YcuNNs4iFKq#9a]C.$Nmt@)\,H-+`qpjc +k^XMG"+R^@Jb]96`9EG.9dmO$d9ogo:`B-s*edMD2P1elsKtEGWLmJTs@gD7.&Dr'a5Z3,F +j.$lG+r51dQk?BenpdA290D'Xk"S.1sf>'7_rP*5,VK%@I%UU46^R=$7il[CBo7P.WgWG3c*H4)r#bt]5+*A3K<#qZ9a[sIqDV:Wi0dH",8etp]2e=32a+n +MZ63K.DHR14r7D;Ok3qlDS9B16W+7:CO3:1IiBn@r;SD,MY]'%$b/ +n6_f,M>s^3KGH.p<3q;gJnQ6aXSJM8i6'D;grT7Tj8oJanbOoq"c=lSeF5&1=?QDW +KJ<4Y=ttf>JC['cb.$$_[CC.sU_-&;:l:2D3O+6r,\1j4f< +J!Z1PQ[Jo6I3q^b"X"W.F3*BL*?$98q'Rr[n#0Wh\@2m?%jLh!-Ie]X&:TGK!6>[k +Rr^:`EUOCqItoKubl8C$In0^(_YbdG(r:\3[X`<3#RU95B8RueJ@LF:Oo377$<]W1 +CDFD^r$1tY"8m'n`e=.08+<,Xr,:1`41$hL&0liZ!3D7nOTM1&;-\_Q8D""5Zq"T` +=,?m:8j91J.;2e>JH&`I$NU+:P^/j0c*4j04M-#([<%ek"2?T&o\s2n>F^7MmdN,] +n1\kK4EKp5@hS2-("sRmd]E\$C5#\DM)mi+Q38erYbq>!.W@:i>,P2 +>LDl^N3t%g\]:e>2sG*c!K\#2o>(D#MVB6DOFAfGqmGeW01rVIkPqhO"[U@.nGb6, +Dq6;N=W[KQ\c8:E&)LuDQ]cY8hrM3$.VW?,X4c`+Bf'Pd9hEp\gpC0PEdUGfHs'oP +;0%U>N=&#M:V0JiH:,ZE#DKVHU:DN-dRiTL*PoUFSE2iFWKZr\Yd6F."gkWgRKicK +aW(E^_u$YTgUeH[]hV!F!:YK%l<0&1=hE5onNZ"tIHZbVYer_3J2$[Oq3U)fiC-I#@N$-_6om$SS**Jq=3.@JK$J.!l,OW2K5]XE8:`6a6b"b!oO8)%Ij@)JDd%N +qh#&[pd6)'?O`N:L$dT)q]O/:BD3Jo%Klb25JH"N]<*W0p\s^>\^TA+*+krs[UdKh +=_7jmgQKdhA7fFcAnGY66d7bMhjJiK^Z_eJ[]CmFSltA^B-#1$,:iKNWN*XUeOEC8 +3e(O)1^&F*+7oLfHN#[CnLS;O-?0@eIhX\aS1o)_>Wbk7*@b-@s$rNC;r,TMB&u9A +F(CkG9PqTCmmrFO[mmdYi`gs&R>GTX(J/6bh#uH$6)Z!/8!%O*e5fIbu49(E`?k[O\#U.=; +eftn,'Dt@[l#a!kjo6.lhsnHBPli5iJ$t:8/dlWp!,h9r/*UUL[-8/Upu5"$+M^2' +5H)sJma>Ce&1%0^I;1/9J*;9?c)H!s;Jf#SK"hV7NWS&,TC:c(r)[>8\.`$O#6*Y: +?m5b^]()E\ir>SI>f,t`+B4`elf*D.-E/9.Y;G(=4Pd1lbnoudbX*KVr21,(-Y*-W +RckJUQO>JtF\J,*P\C6)"l/X?"2aQJ"!:f +(VgVH7]h,u=bAC*&@q?lEqQ>`S_rLTJ(GbAh0AKd/#i[L/,]eq#>RE./DpSpK<0EL +AF:PZ%sRj4fcPo[r#g'n9h_HRWORN,@]tUG2j$G1"!(*BnGP0bWWg1&9Hi@mZeBT(Ha(@TW$F:JO&"7,fK()),n:-1M*aB"f"9.>? +5i^@o6/N=5s"LE]^o)Fm[h.a4r3(RDK+t!:IKGTQ<;K9gpVu"TAV6'cir:_;C@sg7 +Bq"'?0CmjE)-'t6G(;e^45T$b$32=nn1R+9pWN[r]sN=u\CC45%DmQ:J%'W>pY0L\ +f:/92hh#9/fa+u*p^`g%TU35XD[&;XA9[M5#'P[;_#H".aKBWD./lo4LX05G/m]p. +>fJG1PHS60c^uN-T$%q#s$t5.,Lu(AB'i^,EhQi-r)_/bUeFN&b?GB)#fBiJ@BHt/ +1gMq$^*t;#/L.t[1U\esW[BU"$bRTPUYRo8$:/njn%Xn#30H7V#R&7Kkr@<`pDgm8pB67e1m1*.h(5*f8p +>&(]d[GGVjZ<)ca+%on6Xs,m'5V9>^fFE`#N?!NeJOK_A*@YZ;:iQgOaW,hW3>+'] +/+Ua5a$"L6rA.a?-Q;-Z#4f>n`;apM!F-E02oZ0mI751N>#G^%\@66WAL=6E9Ke.C5ECTZPJeQB\g;aW([ +Z>u_IgaGJdf8Eo3^WQ\gJ&Zsj_12/!ru#2=D^E$R%phNR_11N1K`+?-IK9E-FPgPs +:FRFiJ#cq5`OEeFk=boHr'qN!AS*(a)lTD:"/AI1!#AD6!@)!=Bj%rA/7AR1G8>^t +"^qcedYNtgBS5b)+;FQF`53;:UlF\:R)Y=>f&ag(ace5PK4"`/P#fZ02e3r0_WH,= +rDHJX)S]pKfJY.IiH,m.:i7LE:,N#p5CbGbFAJN\qKm?EefJ4+/@DCOYL(TWt,,;4Sb?*r*QnU +J#7e"ISDiuS*^:Ps)Z?!BCj\gnou7YT_u&ApN^_<7qg2#W*Jco,:baB7gbTsNY9*d +(\fBJW(D@DZ0_?',(G,mU55Q(4tG^9Q4quUOu=p;f8jIKBIeH!fWf,V69K]L)aB1L +3/j9^NL8L`%daRKJcG5G0@6198QEh5JF2u`=oZ'9T=UHB4-n8QgS%NS)hW_!+K:cY:;%E-l,.D-Dh)HM/"CDXG39XGnkFLN03X9\V +&R*jA[FCHL[(_,C!:BfA3$3S?B,8#Ao?Q[pb3er.pN\iH4S+:u`T+=_ECSImWueX` +C]UkHTJiqXFD_9U5]X=e);>pf5k)N)4FS2,EumMl&M\WrYju,*E@kN"ra."r?-*nd +<6HYHKgWi=Oa?h"[/B\![C1]*Kc;-d&*6.&5FHYZB7CsIiOb_U#U5c_\+ +C%7b&\=SYtXt6q(d#sq".6se*gRDpr0O'i"9bYp>,GL&eI`%&AHV6K*-0SPLFKZ&+ +2F;_UV&`qEX--e>s/M`)?-isnd29Q;Jm""$'m!QU3+u\S>fQmaqoMjOUp<1!GqZ;, +McSWmn#1\FbB^+pr"*B0Ls:/_Dn6aZs%[n>3;[[CPWu9"f^Tfc*l0 +&+Safk1V5#GsY2u>*s4:E0qIP!u(-Y.81$r87@.tVB?PCBH#2J0X2!ZXFdYOn*H7; +qhkDKpttW!23ShE^n:&#J?R6"^l=M.jUQcaU$;'(0?XBm$9B>@!I+H3?9gUXM:c.u +<1/VtLW]d4#R.`r&!Y(4)S_]sMn;"Ps(a/jOH]^DJ^l2CQNblBSFE^SAQ2i0V$Od< +ZA'!$1DR^?=Ml];,6#4:+Lk`RN@DBg/?;E0VaAa0\3&X+NF3.6Jp[D8!5;*ns&CKk +fE-U',s#J>NcukRPQ.L&pF6^TJ'K)7fu-?&C]TLm'Y;1Oq(`$NM[T;hjeqo`rWDWj +qbH\qn1V(nQOkXSqNZNg5H-Ki^F[@=_Fsu1ROD0J3XB@!G^UQuaO&'88c`2s20\XZ +!WH1NI\E47!0*6$IqXZs"O#U,>#it&9&$)Gks.,6(I,sYsqLPrU7Z\T;'q$a)1a;[.?r-2XpaefW?6* +2h"NWr^4C!2uO>!!WQZ?q#@X;_#b__+P)$>>XO>8S3rAZVeu(fJpOkR$_sOW? +Ct*,e&3!5B*@6.T0D:DB:_F*6X+YCjK%Igoe: +DdE*S=sGu"/jO)p@Pd.2gAaa'em2aZp`D_VG)&t2M1pK6+huHnJ9p-:un0YQf/#1iXYLhAi5q`?,K,m=P$UugD.Kf,>J4'1[ +lVfK&.Y^J8Q%OH(O9e*45Suck7/N&X[(]/QLOVVg55Bh[KtUf9n.,4sp^Zdcd$XUD +`d(`$BS4jCc07A*%Klb*`1oDWd;A.38]9sekk%m)!ZL'^[!%Y?HBGj\PJ$fg^@Y1. +EiiY.@7TZ&[hcPoN#9F!LPM!?@5[Ia::LA^bENFnIu0[b +Lf&Pd#e8fR[[.OOQO5;P(E"o>5ik%MKn8W]dcKi\l(#s-EdC$o=6&"M/:deN,bbG& +jM/r&rcc4$28(^We%p,sBW]*2!QY"7^rq@slC%a/k!@c/%tMGC`:8Z\>u+,5qiHhjjr/@/^g4!,`Q;liM=TK#cp0mju7_ +7JmB*V>5\4jA..sH^eB)eX'[XD^jn1s.u]DR/c8['#agcs%3s,_FOjh'S+gU7<>Si +]CDLA"PrU_7"abh72g`8s2>loaMiX*KeBH)+5X()+4k)k)LB\/F/WqKgrNZ@s.$0= +6.EKaCKM<.XUElbH/0E*rB#V)h4WVADVp"apf';'(-HR`SNILD*V+sdT%g@G6f'6" +J9MSu_#N01=>@h65SP$k'mI3LFh>%a%la@0DQ9[4%/H3YK=Dk-11[M +\+ND2m]VI/nDUR.SR9oo^M=AZ@6+Q"pj_NeJ#&V6@6OE8AU?S7\,K*:mLQRJpL6hB +\Z$*kd_D,Z5E*hYMDI#!8HK+7s3ZugEC)nJ^Of75i*RdVV%EMP,SY%0Rhi"$.!al# +HK-mb;LnT':iq0F-tqh#h07'jAf=-7*CS.=gj::bfbP+e8k1i9]a3Y_g1a1HQuCM3 +V1.4+CA`4nU3HQjIg`d%&ug>JedQ6onDBW8d-@1b"TmE?W/^;#\0!Ii6.YDc6FS/raXe;L1A<=A/j +`PCV]am"&8"TeXRDZT.s +i+X;(78;Whr$1:N.7Pn6$K?P#itA\HL!^Bms)([5TjVD,1]mSFbMof6i;Zs4%"`ua +1;s2/M2N1lW;Zn8s0Z>#;Rpm#?T_;jSEe]ZN9dsMXnTi+C]3sLg?)8X7)'nGadQ5V(m1Jf3.PH+I/UF6D +I%tnuf&jVEQl\YorZ]ei+=SS:lU$P1d;d.I>eA97ceql,.Wod'gEq[ +Wu*/P=To9!NrPbMA.8S$.V=Aq!*#p(W7%uO#j*?D7re'0`ihG0\b"^;C,jM/OoRrb4BAE%7R@k,o +K@kE=&E:IR!^oIl$!9HT3nVE$:miX5o=mj<2.O"cViG-,(QY;g%qiV6cgX8bKYTNpQ*jFKJ@j=Y^fiLVjuqJjHJ(;+-kJO-2(2orA#4cJV]Q>Ulh.&[J(:!f+IVP +iKL1U'.<^?PJG!J_;Jbk&CJXFH;?X5!'COT3!^S[k4c!!\s?H8_!kdib&MIhW)qOE +gWFg1\ogpBOq0S`J4=47lZ)$9iK!qOE[%P)HiZqK$Y[Osp"ubEi@#"TMEpdA +r5s?Bj8l!+s37aqRbuc_?_O/INGiXhIWj5e_:q.K.@Xbs/9BR43,S8gB&N[l"c_`b +1F7hT9.&kf^iN$L!9oR`oQqB?Fo\4"!$D!nq)Wl<4+Do_4Qo^/n@o5c7P:1'+2R +*[EBZW)h3&C[Y.Z5Gdds2BCSAp>0@t+5"X1N1#Y0eGR'=287TZ#AQhgFnU4(MJ:@n +Buri^VOO]FT%&uZ?1(*Sd>YS_N`WWG3_oE9GeY-E]cl]FPB6m"=*^>e6!^EDBi*Ok +Y@U/L1<41#imuBD)J9-;`u.kgs%`eVN!7]4s$=I#DVq/uYP^:sHa?dKh5g1*(F^Y+ +NjL`oG=+Y4+YC=SDbJe,;dq> +-^Q)uo6$ikK9&AqEbHlZ!Y-I*DPH82BQb*H,Q=I#\:B![F#IorL5M7sV7S)8](7"P +?V/@:O?mjGZ2etks&RbU+<:I]s!J0S'e3mM(GL`'qDjWZ?b_C&Wpf`/_#/Dn?cT8! +"7"RiL;7O+b9brB!MA"5,$&rFA_]O[Ya=tB07NiVFCtUi(4s;TiT*5.L]Hote=nOu +Xu$B"cB6>lG7u18<`Gq.Q>2(a=qQ=*#igX6MJqE=GBX&GcET>p_"p"hF.MtGGQ'u! +ru_%)&j^tjU"7S6M]X+7r)B9i$Xj&O+,kWX_#iPI8dGIt92^-lruq/]o%uj86N$R* +KIu-:'EB3^,F/=3cH2cuTn!c@Wrs\!&(0_3,$-Ea(=4M7n:g24Khi:2?i_?\$b)ju)q";i +i45Ii2Lt_?,]!SVIne]#$UF63o'Yt(h*9Eds3Mebh/N;][p/k8_ +3&1#[:tt`\`^^*j@kLl6opu.]J6^F='REj_LD_?/:(VY"G^_+`=Xiuqi#aL8,P85s +3HGL\kOJpM:Hh0a!<:G,VVm;P_:X%[aG";Y?i8rIe60n:-_Q$sN:A_#+-J:kRsYb^Wmt_=9bT*PlJ.ngs$T>rY3R +S"s'qq36j6=,cs>6W,U5.Ne42k^?),l>O#_4L85JACSB"_0(95h!:HelfFLG<%kQB +!IAP:Nb*D"/@,r:#<]$pp^an8K^lR--S^%N'Q3c[$8MR-hr]'rc2m86r.g+X!)E;f +WkaJR"'ZO#Xg>)U\604'ggG>EZFb\fqZ:lF@kW'Hm>2:?4:.K<&"*LuInEnX9h+3Y +A^E#Pe>U]`0U.G<^SQgR-Q*N!''gV+.pt@bWGj +Xd8#`>>e*`>Z4[6;cYm3s)40H),l:>"V\/+1Qn2J'NOiNfKF-V.OEifkR<& +%1UL/::_tHs+^R+!h;4L`d]OpS-&O_(4c4A/\o>TQSAH1Pog2.NrMekIffVB._$C! +2+BJYKZbYg#ds(DWqrl1c=e.mWq5`HV55EoVWM+bp5QJ!rNcC/:\]aWKS7nHC*8,C-ng:OMA)PQLD.:@TsI +ZN/oJ(5@=Ld1>kfr$O&RmYIAPs.'pUE]o$SpfnZuIt:K#!r.BR(NApe=b%ipl,gj'=%VFs$->;QQuk9d4V(VPXp;U*raW-nun;LJ#8fc<3M8c<#47b +b'OthG!@8F^<#e/BR7l]4UEn$kGI,Ic@-@h:5[FR--9C]EY(e["T0W5$D8+0W.a"G +rp*0Oba,.%=tp9%K]<$9\LW:3VnA-"hWUe\oL(HVJGYgm-VhUD8&=D>n;277Qf!S= +?qjPb6.;&fi;`G=Wb()-%8,A)X_!XG1ejqS1'?\?qZ-Y!C)p]3Ob)Wu5VB:XDM;bR +`4KiGhLIq:^G5q2n$6YJ%E/:A^86HGKfu$k-s!g?3cOTTqd,M'2[\_hBTAp^lqU;l^K!]o16b1#EU+I0MYqi/O8'qfONe)";qRqr;E9&9Tl6pKF3-+.,@cfFlr[NXj$>)a)/%Gm0G4=TJH,8!5#P8LbKSPh +=ks5\)dh<6?W_&L>0 +rshqU0/Pcu0gCu#4q4V(8F)/><@1:p1aK]Y4&>13YGF:%<8`7tO^^8r0`2O_oi)b* +1Y(P[`.+d[^jh\UAKR6Ms4o4+Q[o&u$NT;2aa"5N?28.2=4(8&E.]V]`4d$aWCBS2^]gmj!/i6= +M+S1I``greR\c,.3qCja_peqjHZ@s +%4\q&g_ZEM.Q716bJjK:'7t_1!Ta9Yr$O&R$ie&u;$dN[p[6<1(Fu$]_'&Nnr!3!5 +We-.o_'LSJ!l,(@_4A^1H"Hqoh!DRfnM4Y;4DOL:B)F?!(APX1C#:&`DGk4-)(h@aBohGUZ2*Lq0m(0\!m&g7:81+pYRA8haam-L9EnCEYUKR-:.;Hi;XNG?SZ^? +4EM8mE@_tlQ-:5*7P1WIS]>B+^EW<2? +CId0d-Q1PG*_(32,m,+G?HiG7TJj#Xe;g$IZcMQfjCOKS4j#=.[fS)\p^^L-^q\dA +(q77L=k.:E+p$qNHJQcoMPgYTiCe%]UBK=qOTePA[6?$^IcaO(D9e%bdt9@9pQFUP +MA#n):ObSSm9+8FP8L>j6j5TG.lt!`.C;W5Fm+5n3\hb&Q*1Gf;h4]%"cs>3j1.5N +Cb6OB5=:/"T;?PE5>+Ge"j#TCSbui\!/Omqh#b;E5FDlTLAqb6=8X`L)ZEh=ItAD/ +f67!D>CG:YIi&-#$qqZ+hn_P8)qA*tfj+J<"'f6S)`n)nmejhP5F^=!K:_3Hr4DJ` +!;MVqdhCAX.Q;obR*jFJiEBi4s#l'J;!@%Lji:#_k#fmMX +$g/$&Ts0bF45Lb[!/!`B;CqL-[]ojstlN.%3Ld^B/13k2a4UEIh)G;7QT*?+A%%TSI +NplN7G'I]am6%Eair=#5>2]G!bAtgV*+EV"ZZbO-H^#WjE,2GHE[Rs +da6hoLu+8]F`Zn=[%!<$"n9IhE@U62#LPa)^RlA6#T>(U!rSrE'js;r!oRhprh)80 +ir9)T$`e',=T%"8%313pOUm1B+,3Q3L/+J7D]ocQ&MlYpf0@C/53b$ikVdtkW;'0X +s%p7PC>-D/DI/f6hJ&9?lh>n7SR(!Z=*(rVoS06-37Q0s)NQ4>Vaie/l; +32g>U?9^`TS#/,rk#m[BN*F-K5+GL?DVb0QXJ +,;'ct,094*JH)83T2t_Eq2$ZR1O&@u1.VX=qI>'Bu0A +U`cc:j<-SN`3/#!s"X>??3'^f"+8T8?Q"MK!6\pS761Ij`IB95c%7]0pfCSnJ&6[o +pcG#8V`W*ZJA9oni1FX-&b(#8her#/2e'HHK^SjJs%?%7_#H0B0CZ_Ks"47jr/\I# +r$VK1-ub@u%ab[$ao;F="Q\QlM,NX"J$`oF]PLNrHR5)j#oPmambNleKtl`ua9@Cq +=")V"N*;$RQYG9FbeY;h04Y*1!BgF4X@$%W$"q%R"ZkcT+$rjJRRS^`OTr%:)(,T",+qo)aHRO>;3Jbl&rXs!_LCVsor^OXm'`[XLj(L%lb-s.>_n +d,.k#^WC^!VV/_D>F]/'QT\1"n&M<]&$\9`UcfAq+,6XVOJR2X9oo+)7kD^_1-@n] +:H6NNd1@F#n7ZjVQ^6fGiq\00W.a"p@26ho8`9WhfM.2%dIFT*q2=11F4%LUs(!o'S$[?LU?Erc`CR=KVA5C+X[OWS_HVUpBr)"ithJ>\A$'LCeE +ls0m*5JWm&nd]cOO5I@\DS\\T5e-e(nDE7:*X.V"PAq0j_#L16.H(6:D#@T"lqb`= +mh6MpCXt]72i7CW4JVu?ntf:Pk+uYh3c4c6\.&<8Obj%`Ze+BhRMn';VNf_F913o; +@Z<7V5!>\j;q.\#.j#C9H2``/p<]=AAHM?W?\eFFcl`^H)^>9* +kJ&,$5@>SN*t.#!U%!hQ2R*.?rrDk2\URX8$*GoIis3sVE[k+51*nV0/i:#Yi)B<]4qucuhcnX-+)GGTV`6:0H:bu4\ons=& +1K'#_J->oL\U%Vp%ciV'Z:0CI^QSqNma +K5gbW>5uS?0lU&f%"F@+_f;UWn^]/K`!>Q=$]1$P--f@\E`BlcC0A83UkkuL<2a?p +0tQ>"K'dN-p;3(#V#X#Z!s_]`#EdJ>U1$=')RF"?d]c2YfVQ&!U*X2heeP?7X=c2Y +I:bG-s&q+",Fl7L)EA6H4:LF8k)S4"cb5BA^'S0E'XRa2_Z#>3NSEq;d$8/0=uuO5 +Gj[r_i]H\SQ!b6s:,r2LMV:Ao*jt[!I.qj8_/IKP^T.nEORN43\GuS.(]R9Pr_LGR +625E\'8-6\]^;<7EaP:20KeBEW:`H8j[!R[LEOQgAUY1up''Hg3INOV?P5Q*'nL8;I7Q0ij"MH(*-.g#59?H8"Gk>6! +GniAe,+^n4NZr\/9qFnqJH&-&@>IGjkcL%tFVA(=PMW\TrllD+Y'"L6P$d5rX`Ze* +H\pD_Js_%=h@.4bSdVmKD$S;1ZV^N#,bdB="K?-uec::"d+dQ"5I;5KfXDhB#=-6G +C;hI#Egg/p:Tmu7[B-\rel_=Or#Tqe,H)7g%:Jr^'9OC*hFD]!=u@c7;/9H#-q:k, +-iD+78JV"-heeZc$^Lg##[oO%UbscNL!,F@77uSe]5rVX^;i[]s'sFn2J]go8Z0me +Vn`Eg6Df;5+6"&SU1Sn>YQ(ENpoN*Ne=W^QO6,t7o$*5a_bZ$#>Q+,>rRtoErZ<"* +2d'(c[erU)>]iY49hJl+H<@R,Z7[H3`Mi.P=b[T1-6nCK_csPp?'&s^'.&F.OTX:P +?)'YN".5?"@@ +N3bX&[!G,*r3-!u#aFTdT)LPnm;Zt=PITslae6e3L5pec^:;Bj7AN:8tooE;R.&03t\j7 +_gZJY4XZ'jccJqZjiGiD0KbpQG@h1MabYQJ;%4gY91?$PN@Y(A5`(4rVP]Vm.%gnV +Pn9L:4JKM^!<7's%6ddgTiLEW20rH.JR3,bJEfk9`Y:nK-(r6"!oY)7"O61I:fA9C +!R+^T__pMU3e^^*kcWXWWj&cZ/=c8a7Y#[]PSsYo&7dood]PpC-?Bn&TU]OnG#Ekf +@%+0A7Xd*7i1H@Obom3*OHY?N?/WI'V[6`#?P`hHrYOf$M[^Zhb--NbMYUQSGQ&C_ +^@:#g$?3l>5g)$X]Iue@Mj:45+lq_t=9',B!/!445bZT+aQS?R?OY.+id]1%d!t#h +X$qbi*A:d;c;t&H;--"F'nY@.f<4,rWeIu58Y0,N:rsgl-rhJj[mb"#+pp4qqi?Fe +kPV;Pfu.%SaEcdhEQm4@FDQli]tnGfV_nMT[jWhT[.]-fSo$so(;11P^WZ!#V0@Lp +S9'Gcrl;,>,Ci"*i.s16-CB=n)XRT`6'Hf%A..R`g$=_gn:fVYKj34mnGg09+nppW +HHmDA&PRT[?31N09tp@kErT4[cJMUu_#IbN\,VS4N;:6*D_JVuaM&`*_8#Y/8;9VO +ikJ!:`?W=l:mCg<$UPT%#9q%fRJCQMbpt9')K'*nbq+U;7kkBC7ZlS;7,sPInm1V! +a3^)IZIR^f70#O86ASsi-%Fo@4E2nl6*-8ET8BI@6t;&QdKqT2blsRfpI7(E,=19'JM^>YC]"[P(ICg($$'uS1aU*f]%(WZ!&<9!4G8m +%i>QBca"IdR<9)=,9pSRiZ8U$N5ihek&K96%"HV4V0\/!#=>R*ci>^$?4pGGB"!;t +&.K^B\(P&BquJK5Pk]nsVD\t:X3c-6ecQtXNaIQ;"8j<,!Y5H_ODipQQd.J[B<%49 +jmFMHhL"Yd[:UKTs%1!*PP*udF*c8t=0%C`8WB`FNNKL>2VMVEb_gSOIPkMcm#q$p^\tWn=Ok0o +U%l8Y[2e1CaRO=F,daCTc#fn_%Q,\2m?=U@ajZ?%s+P.(ceZ$*2$F@sILL_!G@iTj +.g[X\d3%;=OT5p?0`U+!q-U;$K)Rk3/(KIU +XPNYoHH=#WVX@Y&9*3h3hV.Y5J;Irk!oI!W4b6kSX<0 +nXSrj%^poS`34j]!;+NkGsnJ7V#UYu$T'uis$@_2oAA6s#;plrSH"?DmdMl%AV#`` +!Pj2,#+Ptu!WG)?$=nP;)F$PP+S\[P;1#k!h$ke5n/o=$ +Lu!7T=TH/$1iNHi&+TZ;G8U+)'JosF]T#2*^-4u(gk7:c80RPr#QDK%c/2')Jc@\5 +!9tW3LG"5!hhu,3b8/Jk0]i9ennlJJ/Gra4L#n(NC[s0A00`2A#*!Urmu +(CVpXq&moT.)bsYC@RBf4XAqeTG.p1d6jT$i1$<2/`*0ZWlu5$Y]AD4!@:b,],K4E +Xdjb\9=,`I?Fc3Bj3=X&]TJDniu_ +5>S8HVpkbI8%_G;*C.Z`=O"?25JsQ'rf?juJ>7#[S1_Y[3nN&%CRfQe%5_W=TY\VI +;/uhD#RG*omuJDabgPe(63Fc=b.eQ_"=!kkn-]Mq,?O +fR5:j65sBdVZ?VG&W;ahJWBp5i>hn+!<*)u0-b+I@cjk(kASnOW:L*nJ84,8C@?dq +o2`2:URQOIgA'';7aup"#7TisRSY,VNA\;`'\R:nm*t6Sj>g0/Q#gAnX0U$'Ld?hX +:*YLR_Kts/HOaS7LU,l+knlI0-LHH\+-I=_SH/[9:)gk.`P?Z0$L`rLrN#G-We!)t +>qaVl!<94bR2o'Z3aQ@i]ZKL0[(!foC3brpn15$#s2I!c&G`g3jtutse5A)\hAXj+ +&lQK*[,$d7IiJjc2uaEj="o4_80jhGA3WkCa<12Ls%6Sf6rW2]*/Z<2;]/6i>_eo8 +B7tMjCff*V'bn:&5=ah)V=oYYIDgU=%0Cu0-i[1Gbl96)5JSAFT92A_7!:&B"r9I[ +Juo%V:B5S=@K&@[!hqr%[oqp!rYK7IGPjsBT0)g8(eI(1TVGNP:n7iM!7uT0ruq/= +!WT,A(]T'aTE[1moA?A[CLFKnW?thWUQsY#1jO6r$G/d@'.X.N]F6j5L'"@r&!ciiZ0$76d$C&s?V5,V>2]Yi.)a841 +P\%#8-B:Ctp-QRsVN4%j+;3EFFRO632An+4Pf>:I'9F=2O/kN9gqIjgn-N`8PLQm2 +m5SSI>QbL',&e/SGg%00Y$Qn/'&.ldi]q0UrprNRQsW"`!G#:Bg6;L/PWO +C_-Y!6[V'b"R7eMRTXCM4M>Vi!7cSM"55[o*>&7G,lfk"4q$^(&;:!i!GIr6[0h.< +:9FflK>:j05&ece-/_"8$'5g,$(>kODMO`nK@L!bs#.K%O5#"2*k;QEK(K:$eq:a> +JH';L/B%RN1VeK2T\dX@hBjdZWtnJG$V-)>9@`G8ota/k`d@+>X^V(4A`m"Wq+'38 +?J9Y%3i,k!JWA]Y,ML]=DP_e-.=3\MC+Z`>;q?.(4E_c0FW*/Y*&_aIhRt#^FVrPN +,U8>@n\u^Ha6+K$]#jDIj`R:V&A:Mln<8H['A4-!Dtk`,^O&X($%srdc:;a;jdTP8Q!WHkr!<+8_b^9a@)HN]+Ng`N@s,!0Tap?L=BCP@*s#1L(1btLnba&rDCFZsL +_JVu"'S*]u+uKu7ro5kFC]QDm9K*>ej0Cnh4r-?R +#Mh@D!'0j^@/`+aCWVtDR49:T[aHNriU*dQPo!Jmg)F6]U#$U\%k.MB)ucU2?sbBJ +jF9Dol^A4ZV*u$^n%gQ+aBud0p-h?hlKHPUshl[N4LRXUh +WfNm/08!opLWnS-O.V+:+,5?dO$^k[,m/LGDQnXCG!#18;Lg&kr0KTG5b>,UQ]&Rj51T,^Ei4F6[Ntk]iamIRf.Z/m>$L^++dF? +OBR,>[XBg84VHBgMJXE.2NKQ8I@92Jf_U\JIEYE6bV=G5%3?_BF'4r-8/=RUc/n$U +(e^R1=34s];0+rlXFHHe^D"qeT3=9u,FZ:)9n7coVrBF1!eSL#1@;.Q"]#d/+$C71 +Zd0SlY'"=mn/pT'6>bIgp$OTIf?(.!oX5JMl2h*NrsH(ILqQCpJj=!V.(^4'="o4p +@Yc]V,tr)V@5^l*Q\,IW,7rB-c1'Z4791W_eBi!Y[SKp[`;C1=KAZrS!J!Bq@Y"4a +;)*t._#bbY#P+WaTqj.Xr(dl>$G_/\&S*0js3ZRNe39UH-)b=+LCQ1OBA$`;(H^[g +JD"4_:':ML6K^UHZ5I*X@.IP\$'3t3c!CDMitpT#0&J"ZS?(e4d*0OqCX)ikh=6Pp +NVC"ui;Y1jc3MPWLTIiTPhoHOVU65dV%9cX`XTmu9ICQ--If,M2/gZacGHH^,N^0$ +3"MQ>#p"cQ@m@=2ir9,Fi4aGH?SK.7lWPOY42=MF'(g\^i!rC&4C/8uRj"u0J_0^j +_)DObr7s$3\mOWB]ZLGd]uk5FP]Cg#a_s<7.Y=p'gRpU?0Vlfa!2Tm@Y(MThAq^8CWqPM'9=: +lhh`;;LtA'OOGsbIVB_(%(00>S6VH&rqFZ"\=ScWO5]Q1[!3Lb!+5gF8JEB2pW*3P +*^Nm.1'PPnIh;YY61AXib#8"`UE$*H(:Ja@ +X`&d9LTgd9@`SWChB`@J/A1uZB?_OtSGu^Q$A/;85[l,eg'!+QaX2'7noG0P\HVLh +NeAO%+t#$(&C_j]XMiY[`/J#Vbe+IS]a>cC#ou,6*B=BG3t7fM@@4:^:tWN)e@-IF +Ysh/u_2o&kZF`BIK`FT_+gYt?[pdgnI`K4jN&(_TE6.<-jpk^R;1"(ZiQK!UD8?t^ +Ij(Dn%\CD"bsKL2p4%hBIu[W_]]18NoS>;N`ZMsYc2AKoq)?hfU]A01ck-8b*CtHt +)ED$pd$"'-*:Q2c*YIdl$iEG`EfXjY+A@,!P4gR\m=);,^.bG@!WV$\:BUX#q8`UiK]DR-_#bbG +7sgt@1[ouLM%fs\Jn*cdJRE/VdCr6A!;J5D2m6'is*#;cX/+lp.UkRIohQ&__pdS% +4/r=b^]K$rpja4H$c)t,BO5=/"8kHH%\T$&oHju*i'1[.\S@^6K1GHL"a99Rd,H^I +5sQDE5Yo9("]848o-Gb4BE/KN,GfRH%I(P+tnCP.m:V +_)ICJ\,!]jE]Th(JC%_;n,0=I\]rGVRU0Mif\c%`h<^EUifi3WDf6e1=2.K^H(qS$ +9?M^JJElQR<]audd]gr/g#R86q@E';!cgt`J2Z*q +b!pH*Ja1&NBqJ!3s3hnKM&iDM&KnGW91/WLnh$IYeZ@,e[TI3_G)P+3ArpF6ZI&$1 +,u,C3L>^$^N-a!%g:nOH/mt>p?G%KgpSNR55QLh,62*JD's*4.5Fn;9%`i+0s#C"m +$pb!O:s4lT`HP0]$_J)6DIV`]UM"KXQYtpNM#YJS1[PNQr)IZactn3]DZ+8*pc2jY +A,>'&gnWo:fl;:d;e19(A5%31F\#M]'Ku`9>mIZdo8'ZpE6uNt"D"(p(Xfi%)/9lo +NcQb@fTl)H$JJPUNU,A[/UfYJ+5S_bdR9V-S#+\1q,`UPPXl7i*p.A]]``2k.G2@'HfQ!Q6&hAeV.8] +!T=94mNc%oG'0Oc]gN2m6b>K=cH:XE +RTcJ[JEeu@HL2OJ].C`t&ZReG.>?FT0u#a,/,i`iFf7S/"1O,c0JT+-iXCY@pqTt) +Q=F`d+93?^OTuQgGrg0+qfWST*TCEU46Du-$Ws/-^r]a/O +6NKX@!3gu?"hu0_<0/X8roY["+9a0Pk7kl='uoeOA,(J"gKJ.JT![s:2fpX>]FLF@ +#TH!oNLb_r?:QXKs5C/":Gd;?*Bt/F+*)Z.rk%M,X;t@)DF!AKZP2>Jck`Tp_ma'H +epbL(4lc0An;"0"kW&(2?ka/u)`e5/1qH;W+o$g,!;I(+Y^fO.BJ'!K3dW$?6jpqA +Ma&M(HqmfD'MiNM;B5\93]N.iWIC:jq/?1+@_"-b]-!Jj0@]P8eD_'l8jJF?T_+"k +F:WB&LQkmQ#e#&8XH,au%sb#WJZ2H@=`7lhN81JDiS1TY:XXO4s'*V;NHbO"s$8bo +/"X\rof46&[92#Q?B<&G^nWMr"m^PkI70f/C$bQemSZ +s&jj$%M"G*&]dab7'"*ks*qg;7-5np%;Z9.Dm7s(\a;2%./o"#*r*LeC.G>06(Pg# +"\/Fl[2/O%j'/o`DqY?'A[\eKgV>6WG(inLpkoA8'ZX&U1WB=U44\<(0Q00mSkra-lPCJ*^T+LTP6pKMb?g+]f_Y`4J&JB!K)bi%\NMUO:_0C(W:GRBHQ-:eiRQe2Y7(P` +8oFGtPPmdfJVTulRAT2Q1?W(Nm\>$:VZ.3Aq("iIZ:p<-a0UH3-ZM/-@K?C]c]T<0 +&H;e1'lT%k(]+&Ba^m-dKb'Gco\>RRHVKI+.%-='oRfs[BUkhA!L]L*Fco;+M.BFX +Jq"9i58XD9"?.GGHs.Nc/,7/HCbaGH=BZWQ5TCZ^r9j&%(4uMRc3OFM8ONpDO,Eru +Ee3'ho,k#4:J?hgUI0tCs,H)3'9*R_56ql&GQ([C-rhaH:lU>@r,9s0^Z%Id!Nq;V +"54b`a8C.\+nZ?EWT_hsXVpZDb!aHs,[*[(U%)Olc=L?7'B&=_p;I+.]D1j#JBS-# +[K'Mgh&8_7CK_,k/LKCkZ/+N5"lMea`IEYtL\[!`s*S15!B.R0)Vfrd:WZ]DeF9rsuu\RXt0\JH[G' +$^4H(+"Y3i`.NTT-jd`)-ph#W*``pl59!qC&`*_ADYl_PkG#5^&G1ag0-3P2J,&AU +kesWC@%0B"-lP5\N?&03*q=QcR&pqt+)nj.!l,D.fKBfGn'aAlW,3+Gmo!?83W6aC +Gjq5Y(4o>-,M/)->jVR_UO1\hE/Y0Qa=T\T[7P9.I>t$>1 +PBMCMgA>$XG8;uAs"_LcQRM1u8Do!_]jT%X_.c,e=<9l-h@E3NJ7tRAp,E=\!:^!h +A-X8c!T4@M:INdS]MoE5je9cj4hof'jWpSp-=e+ks'E5)?9EQZR_4n\]pDEB%S$DQ +Y([O%_GR&>h8DB/UL9;fi1eSXD#.GY%(o4P[!%!"]Qa=EdYZh5?gm'aCucQoAQl:2h@D2 +:W\Le#A(r<1&8-gBGke(&AULfau:W`0/\o'M=S,FP>`_)/Q$&gJPT\^^iJU&&cX)B +a\hha"X*e[rS@9VCnR"0WMOnJj8a;^MZ4!6$NU+00_9//9[MTYb9[u)?+BstIu^%gVrZO] +6$>+E:Wp;,rrX5f(?Rh.Ijm#II,R<]:9:WNJ<&AJ\G2+GIK9BSpnLdE:B(+mq9ouS +5j8S=G8B,'"2?W!5D&oaq&99\NF.g&<35aGd=HL?ap_69F:c*-88aPSm`Y!N^CC]d +,=[1e(2.r#WL3^a`Le?Y313j0K\@`GREgZ5ie5+Q-t-+h<*P$$1pM9]Y&u+tpJ<_6,@3S?h/N8jJ&^?^ +3R2bOn%>X\gjQV.BRrIT/801,`@SF$8IR1_AnK.-AnGXeZ6Y>Zj50['S'4SRPF>+@ +-<$+s8u:[RQtLhcX0'(]\MI1We5r9sX]DK6s.6XLqn?hHo#J1%Hc#J.?IQL5gJ,#o +6`Wtt*uP*^7h,X!/gGm2""=ER,2th#:Bpp5k!4CbT320g#T:IDGj\5?l>L+cIoYk8 +-2[c@s5:Z=oHG7P:K<`.4Ru$hlj:P,4n;0B'8->,)X\_tR^Q.`[S*'T#PcWe'CgR@ +(8V3a0F1BMquaDHXjB57p+)cWO7$!IqNEP'ZY3S[ +[a=/4CF/n8MKZ*Pp)SB\WoS,O`diJJ&GR$"s-"5kXmQcNE>p.TS4?$3"RG.n:bPQSD\es0n6# +X8&Me.3$%a*I^PH?h/-91J+N&M4O4?h@=?`OEDS$LC_)=cTLGG*V#a@'n*^.0QH)6 +E?ZGanEf%Um=KN:H8hC@f'L$=A$QW,/XO7W62k;F1'me"H6+YncZ<93 +1Rdtl\7%G_%Jo>6#2(T3W9dmg4K2FE1/BL3:c#1P-NYcH&dm`7#A.cHANZ8jW/8@g +>\u^FJ)',N"W"O[]s87Y$c[R"r5D/tfs",WJM!">VrZhCIs,dAqN](AKs%/_$O<_]4_ZCDL +6a,NAbQTE]:U0urg$@80iENPV[?fo/68m]j#QJ`:r;9[m-.tQ-"dfIlZIq`KR35PN4UhJQ +k.[+9K)b0[J6cT>YU%;i._tkN>i$o$)O&c)"nf"@g=JL"p-g3QNW]1PIC/YfTs*YO +HdUoB2sp6dmk_]<2SqV$in-rs,\+:Q\0I55P42 +@6tFUh]I#ob)HS$d]"U=)?VoKMT3INQN']hl^-@+miGJct%=n/J&Z# +g:'oiA@m$I/;WI:9OB$T^k8tF"r]r2$fJdP0Ank7;lD4/TE3qZbIJEI_2:JCillW+gj9+UjdDA$i?joN\I7jd +r(EffK7L^YFPjQWgTtZoe@F\l7Amp@q_kOfn0-"[2W42F&'j)t@TYhdU(l4qk9[gf +$@6%np)+S:(`%)HZZGH?;o&EV6^jChC66n\OSS.&6QM,n0DUS+,IJVBPd,u552 +r!P?6$FPHnZibC!jkr@'HZTA+I#su2!:C5:Jr@,O&82Rj.)>F3rP8G"]ng.rYZerC +$GGqPqm>5,R.:esNoEK>kc;QsgHpC=St@/m]'J3Q!ZlsJg<]2>^4LBsTT?jju(kUunaUm>^mlb!)p>74j:cOQW_ ++?/'cnUEhM`W+*?J%ToDJk\f\=8#4j7@\idnlP?'n5o/[p[LI$0@$(=+PN>Ds4lQt +46=NX%rkg!:%'XmE%5tQ,@Dq5#G2T/O`P28oo^'!*ZL^8Kd +[^`i-S8r[t\TP\bV#7-RfhKN'OYYPOq5'*3HfKl`Wms2\j="k`Jc]VjSaP\doiA1QD +J:7s[r+EtlZ@L,K`@g2FoUhrDC/P$rnW?>1RWlmV\k,cn:/UaXI4Ruho>oGPbg[9% +CUi?GplDIJ8Iq@b*s\sZ2.-2T?+J:1FC2OsSS"qN=74P0DW?5ds's*C@n1&^'`=T7 +N.V(2hU@;\:UiI<[Un'rC"&$WgSsAD.fSlB3ro1aQQEpL_EAIDjjMCRrgRN$RM_k; +X]cSAGO2qcS3"H87/2<4RVfZos54qX5AaF[@8sW[W8Fgnh6q%PYf(Td!WO`A=qZMm +YTERUM\1R:EK`Gr3*q0I:N/W9JB-@4!ZFGDYK%`/>l,t][VaoFm+Z[HgU->"Z0FN[ +iD/m!7R-ZA?22^:Me>>)Y4=AEobm#\:!h=2d,K3Cb*?H/;r$e`gs1]=NJ"H8gjDoS +rgpE=SM7encoYoB>5p^^oW`nLA^OiBkkfma,LEl\ +:#R>1PY>FT-c,g7YO5-2Y&,gQo8=\%0ufN`"!?GPG?+d;`Z5$GkfX+]CMk&5[>e*nWZm9*K!EFFo";%)j$qSBB9(]d84+BBM78&,9>q%me$'P^5JFVX`KO[W&5 +WXQefFVP@uZsJ$tlVLGrYQ;VOU(H=6@Go>A&;54+-HY8^iI@L<,PJSEiD7T*[oMr_44KG0TCG-K-;9U%OoMBnX)sa=j8WE[Vu$?o#l(Y3 +I#%`UdC)Iu^Z3(LPE1n,[kW@nWAIVrpogt'[#IkCmY +B+BB;LkDTd`5`nX0JABj.#PA[NY7XG>B9$S?^FM\*VbRBS-loP7a24 +moVCg=LTMS5'@u.EZ/IM5pA/FmH8+RoCa!BYC$^hrGlB,8)K=npNs +j0)m<(\7Ci=%+!VP,(=*+SZ38;]kf\htKfUM#b3HO_;f]NslIN=?qV,>Ip\IL8K=/ +L56HC%55L=Nf^!t<21DCmG3%>S%\>spuJ]%mRD+!=iiP8]B:BtJ++P5J+#,opn'U- +IrLk[r*]Vm*`W&-,"'r>4FCPg^LGbVrSl)Oo@L#=&**](>9=F$.)"Th\a@t[k1DD, +gH#RkfsIj5G6%*is0b9RmAdR4SM[L>iOu+BA%N5D)o<%4%J8WLBp77>rk!==(2hBn +Hc)FY!9'3rH73>3gjCj-F9:tsUHQ]%3dnG)?%[G]loU>=bRDX67d+/S"kD- +^/LBT@ir\M+([u!7ur$e[QOGr]a"2C8'%:gBUci8YaI@IAbH(;ZT$pJC*;X?K8*t9 +#,U-/$9OjB[lhiNI[\a\1pbFLLT0NP`p4uYFkZA.3cR%21$+j]asU%t3YC;"SpCB* +nlilf5N#oD,cF+l8ij!ITCF")WXCtUAo%1(46VCXBk@-lKt:]:*Q;YSJnf5Cm3u&Sr,g;9*AjgUU]s5`ggT9,#iTXR7sI,Xq![\o!qt;Aeh-e; +s-'7E9J"\KOsQFP5N70Y!iV"VJ:EI33_fX\1YQ(FNB8cZsO. +02KX=$KNk`ZnBV-@MWpP"^'T@!*47AjKV^8S1%]eK_aI#%jsRm-oS9=Xh#.BSbsb2[:g@VhEfs)AN"lj*HFs%5:-Q,br;7(Q>d3*1bHs1'R4 +2C7>58-(1BghJ.@3o:)>n(J9o +4,ohYNa58tcfJ*'dMWUH;?M^B/O9bLi6\/6r*SJCJc>s5<9c]Pl?mO)F(3aJADMst +J&Cp7(;CIOs,Kf4U?+b_JJ6X4nGdC)J*joTEIFN^=1;o9XRk;ECP +E>ao3ZoI5'\_(&\tlQA%td6 +B20*fc?(7\Ft;AaIq\,,)pO:D1N,_[%rLf>)?5g#+?ie3fn,Qh?!U#2-@;#5lACcd'`>hZYIql +rpMgjj)6lI]3)AC871,ZB[o"XhQUIIpWsELirpS++'7qRNein0SrsL2hG'tg-"og5$T_&`)%s`PY1erHk:>@HTut]j=WTLC:qIc2 +F;Q]U/=CeP21"7:[,KQMlT'8:ic_t]Nh(ET*kRL#4,t@C%"Ia`^6";D8]OROdjMlY +V]OkG0)^,t?2N4/HT""mra>isJplt1/bA*f@6lu?E99=? +occ'd-X#/OT;2^dA2UQdqlg'-n3>s,:\k1^[/40DpH?qGH"O"%K)Z_RDG[p5CR1hg +.4t:Y7ulEBguH1Y`1NZL.9+#sbE[i^;3JH+D* +V+Cgii'2Z+/isp(&9KP;U*Tg/T@JG\aWUQfT)jF6!>,1@p)s@lFRNMBD[6;TXdb[E +g0*B_h524_s13(=Lg_`GL01#$r6r:Be;#DfK%S@S;l6t/B!59hNLR@ni;Xi=-u2*; +%uVTDEUDY(mY,F-gQ6D+=LQK_>;kiZftLBi_9<(c[jQt=]3,n-0CTphm(;srq^Ebo +`IhHs_R:JcDXd\Y[f=d$m"HU%ZLGtcktF!`kqdhJ +1NVeBF"*M@(QY0`NkG*)gir);F6u-](uBe!'p]\D9Sr) +fUr9uJ4sUkYcRF6K)`\?UXCdTP)`V_m7'O(qWWP1CTVi[?8oFZBhH'f;QWu!Q"C0o +?`"QEVA!:9)\2l1C'?n&gZJY8r$Od5gd2"FcNO#1)="LIm=7P%d'DgH'a@Mm04P@^ +!cmqoq+j?cocf=d,*39k4(S'h'YOk_.1*B&%sa`gC6BZP,_4giGWe(s"#C& +a+WpPT/D+kc4>c?gmh`@MKB)(q$6pM12KS2Q17)A`G*2`QY\I-MBY1Xi'%0ZSRX]-d-Z7_0G@4g_71"7CC +"b3I3etFG9\N8:J!qr\T>a[)%?"!bP'Mbl_.YUfHKMuldD/l@/a+("2_8/KI`Co1' +S,P5@P/RrpKe(:+\QAf^A/tV@OmF1#NuYb)*K,X_>_Wc[BpdMW9AbS-s+MO8pAZ8+ +485>Vnf%>^1'.hckI8;0=b#r3bqI[dF4s:L$C$1P=uU +U1qRA?Y/PiT(=N4B/a29X!%FDaVsdTWI`C^\bj=1qrB,c\SjZ)^WKSP6mM(pZbc[+ +T=km+]@.D.4V-QP".tPLhGF%N:XVUkF>XSp!eC;bCirh^ +p9ecE]9c5rk)C:@#TQt@!r`E_4c%<*+IY4g3-I"Tms#r+,Ydas0$KbI_gO33+ku2i;^28 +D>F>6Dre:g'Cc#9Y]Aj?F=s&XRIC,ri;]_=bqJTdr:uS)E#uK0'K'3oV`pm-d]"njH$nbPrX5?G([4JupXGIMk!D-)hKSb1 +Z[^l7n&Tq8fPLm#&aMa'\J=N*TuCC)-9CO*>WZXt2eDiSh=Nob)gkfArM$h#=[A*g +q2"N7[qT!9/q\Z5gF%gtr6ni@V`!ZaT%mqN3'b@Gj@oUc4P*n0r_t +`&7[n4es<181g6-+8KG^8FpqTMP#Th)b*gG`DesX.aejKf9>=\KbZaDJ-G$"#*p)p +oZJc=6P<#i"U/?2"_#F(ITFERpA'0Wm*mLt!3([l4`_&k[h)6Q?5!$ZhNK)#p!-Yl8Z2rWjS'chNRZ^R1Ke8am7c](c4ds&C\EjFP@7dgAmV'@;3kfsP%IX_DF`];(kEtHa*cW.=AP/EmFAaa6VVF]82fCU;3WYV:QKSOH^qU6 +Q(g#^f!RWkSuiC9#c_B>l=*.=0qQoMmdL:R"4^6Y'aji,=P'iL.fPZ&3L9r,h?AR. +7F\CBFra,.cQuNAZIocZR7$f"?GJ*Y4(S(u5#^W.1[dcmH]A3?%fM/8_pn/,%10lS +&sd!]^h!1mPEc#B+]-(o='Y3M$P^h;W4pB'"EMfep;)i;B$NGO`C"aq`$ +4XNC?bkrqsqVX-UUQ\jOB3FAh7EId+-N<@to"ZdKJL'?>-ZoId+\DdF.ZbI3rRDMU +HY.''k@o8'CPpR.fe5BCgk%s.X;pU$l+C&=(TFsLWE!tgs\d]d^B;Yj) +AO4e>ft16Me#$."Y$Di\^3/_sGNl$r#k`f;"NK,W0mLNn=oF4XqkeefU7`C]HmPFEu7p1,f;Kl,SAWmUbuhs-M0*dShoWEMT>LSjR%'[V]7B*Ro,\LAFd- +bqE3Bm!h*6oBV):A0k))BC2;1oMqJgGG-e:J@71)ke)-WmN!>T>P'rVAc?6I$j9:i:4:3\=I +\aL12a?BNrM"[48M=YTm6krKBCCT=(?A+S.$UZrTroZKTcI\EDkt:Q>.D!0-HUCFV +rB/6>N/L"2Mh;1%Egm\uD6CW-a3Pr60$':K1Od(G^_V4K[\#r0&s[l)rZhDDXq>WN +!8-F0g,'GD>l81&cO)D#'5(`#9X"M7+i'm5_LrC17@UQr@9#%ZeZi^DEI^:BFb8j" +oHkX=]oFndodq_FgYT-hiBp("-\C%!i$sHV*=7tAD'-]"a]1f665:*L$>p54L&KtX +7/fgRLFS5=Wd%i1m,/-BDmt.L>%WLlAq^Ua$3;NCS!MtWJH"+$rkO$6TeO8H?#7dU +?^U++<:N1+SG6G2`RW`'\Ro_.btIPnu$rj"(0sW39)bKJeBHiB>>?`fT!dTSIDj +_!ZA(JR`u4D0_?j2m^r'P=o&;6[?$r>6V0hG#Rq'>68bk*TpH@iD:9V>T)p**oTp- +mSXiHlOHWnNb[8V)VFX%55$$ZP>!,55Enh^:bS.Q^n:/sb]ApWGrZCdrrbKG$2Q;+ +7]JXFnti^a@X*sU,H&@FNrOmCh&Bscl_Y,\ArYR-bm0OT8-';%T@j_r#eLQuM>tqr +9cpF1J+T>/8Ls59ru^b1kWOuW&/OcWC]9OLi`BKes3NAp0pRRR3$5Yo\R.I35I_+2 +4O#JSP:Z$4O4='p8b_#'mWg)Wfoq_M+*^&$56_',s2bmI?fKU7X$(@A;4f7E6= +Y6".MYj5W$BN_TVA"p-O[N4;kMIdI7i!%%*@.i.0c0q@\Qi9WZTrXe![P$Q?0&p"t->m\tO1,MGX7X90FWrqjp$@=IeI-ZQ7fDI&jH+1s.sN,!n%,'#V)]7`lJ`?WH%9V +:P&ET9qAM'L1"5lk&4A_&,qWZe042IGui@rT9%pFmq#'$Sb^EEI$3!TP7.h,r.jS1 +;ZM=2Xa]9AV[7nR],+%]cf-FG7$MI;b&nr&@]ck4>q-*@C&0(@O1j]pos5>,T;:nC +Uumr>+j&/sJcBQdB;qJsnp,>B5t'DtLn^f)4M;#&5d$+Ub1D]Q[kI(U/q"Zi0+Bch +$@,bk-n(0]Qce^erQTE^"Z_$ZDBf]W9ua(\OAq;miA2d:c,"d.p.=fM&c\&*5PVGK +r:#(4ho_;rPD5M'3)$>+/r;>4M_\iZ^j69m:@bT>qHLX)0RoR"r[s22:&?UT@]URCWnYcP9[$NZD^;1QDB', +Js'XFi"$t=-qRkg+bZpA:f4lJ@2rE8IZ--P/eDa!;IQ@1K>2F,jde-EG:^O\\H>eP +Bic)7:_r"p*pLZRYBQ\BrmA+K+-<[cG-?o!W.m;2=%#."`jc$G:h>ka[DM$JOB6dZ +@Nr=,?IlXOgUH9-I,I)0,+kZ0r5co)atSeN]m*JHp=+^UhB1/3-Z0U-p[kH:"D\8C ++`0^`LBiAu`5^")[Ok[LNSYfWLGk.X:TV/mf_(fgp*(M:[-BcXmQIp!3,p"u[aa8Q['_SUdIc2$$S +m=>Q@:Z*cHq4U=LI8TQ`pQPn,^d$ik\H&pce48q0RblsePbT\M;0U>dF3f0nN;+K' +m3ho[(@>IU/mW_G;>nP%I8^H2Xjni+_(^TB!5+CT8GBmu-d0>OSA^c(*-%*J,'A]ktkPoCNB]Lq`0,l."/Hm$m;?Sc9kc^k)F +r(dhWB3g&eQN,HJJia.O_4T_:`rEpF=2g5iQ=>Kpg9X]*WE%[ +IlqqT=35pmj*t@1J6BZ0ps7mEps3h-\:P74rr`7/k(P)7)9!rS1\fkh5?Yej.mHj" +W)+6/"9(jfiQA1[F"O_\NlEDsBcKBN>.GJXUFMNBph&0^/ +)TSmL19!i$XiiPg. +!5RL&,1<_?ar]1"8=,bn;/MP!FgP4MZl?LS'BF?=q(&4FCEbmtLA8.N"Umqc-b[\> +gfl\L8+rb-#I;H=l.D^(k^1X4F0Blen%On1J(QR'#uD-3D/h]NNH=LEM>qf=/:_:4 +GhOTO6VIT0hi#MKSH]SjqY%`dZUV`[=4"NqgA'O)Mu#Zjp)Mh/KE(D2L(Am- +:I21Cguhc'elSKO/!'L!YNZ_JfRXD^Lqje*C>]0l($fHc).EHWbM\7Ho=.*:*:M^@-10,h/$n$9 +/6W7K2g`#MhLMgPn:q0D'o:,-FQm<5hfe3i[6h5oTg!/)k<-QTO$A6r&:'.3%pf_7 +?fh+f+o#EKCKn&\?U\-Alo;9;BDb7t6d+7KPAoBJT[iAD[7gOb9>3R_bB;>V>$NNLchBJn#DI]npSA;8rcB=4kXFg87i]64g +rsR2Ap\9mJ&GXQqJ&%Z`@LgIs@%*Y1"VCSb$L3`kJc$5[S(*G1WZ3iH)_`f^Hs'5* +f?7lSOp8>XVRPi%i!L]:UY]4HB=&LdE_6T7gKnGK)5OojQ;F=q;tVDnV#Z$qWFf8[ +'+4(6oKkfi0L%kJ1[^BPbQBfBs*,eZRp#pUBa<+Th^>,%J:&@@ebo(bF7j!M!I6^L +q)SOFH4b)?1WP,TpF;>!AMtj.r.5J'fljt(8`m#/ +]JO!WEe&31s8No8<(UIG&!]2VWp4I,2Z3 +/,g+XDg-R-*W@kK6V?o>#XJBpE'\1TO,:]f8-T#Io0;`:ebiG=cL.k/1AKbg59bTs +IjO\H_$`f*I#'f"SQZT@5=mE!aC!0!%$FQ,-1IP]6d*fM79GKG-p]R=1B(9jMIC#G +bEb9.J\l%e`QuTI?;-SHB,W9X*%l[H4(uerY0Si%bMZBuR9-9UbEMbC!`](f##Ug3 +KM(5U?i`^$S78uZ+PN-FI=<^d2eETS1[LIK\M:?WJ&Kfuo5hm&-+ +FD5ZC73l#$Mpb7JbSjb$4gsH[MU/4E@;=X#dCQmfYY+YU;VW5n"n%bg\]gE;58?u(fb^KDan(_"?nn6)8 +m1u?`G""k#rdU9`b3t>Ynui(`hZDDk!^K9c^A'6dMe;IpG/plNcts?l?Xs!mICh%H#1=+<,@Y#f +Bu:UmCcdse9o.3uIgCN,Z13K7d1EI*nt'nE[nilDh5Y=Khn3gXK,<=Kmm6G=CV.#\ +>7S@4%UF<+HVHP%B%Kes+,A,fldcdYAc,?s+3.gf:iPT5l-t^Mr0@<1L#;0ls4Xm\ +lK>sJ?UEAYLTUIe]CS1"s!DIS-t6W7[D(37Z0$=*X]AE'LY+l!dJ,)3CQt^.G/gj&ma5,PG9._r)as=ckH=Q<;29"m#h(q4'bdB +pcht5OKB5'0$r:?@0lc%&HD(:k!+hmjBn]M$O!lWab.=h]trqJ@b9%9lN/PX=Z=JOqWo'2hK4B\)nQ#QNJ3cb'+Y +%-KA?hZj";r-YFkbj8@=r\PCG#%`Mr=RlDDr)HX4N!Zh"fY?O_"Y9SQMEd("WlY3I +i]jXX0alp.70oimSuR_b_GB@iNu-$$1,"JAWD59d8:TKaVr(kZCq<;a[R,2C8p@g< +Dn0%qWD[rS6?fG'J#)j.J'lI54QD04Z@Jrs6"p\rs0h\i'dTX8q5*VGH72E+9hQSGFhKS0eZYDr\GN(W1j>7"QG8Yt6I$QC6 +pL!kCV/\3)05LI#3ksX7^cirlFpd0.s8(>teSbI-!&C9j=MP0NnRZ-=c,7W(J)d*t +-Po2G8Io(d*]X-Ns)A,es6Q9G#`lK.4EAVBpJCG\YoEIf'06YsdG+/"_*@JiPM[kM +s'Gj$IZ\Qd)X+,gcSX5\A"6#=\W3sF(4Bkj8K&9&4M5=Y8&N(mHXHkE%`;MfmQJVI +;igHc#?q-2IYn*!;+1)!@[A%i2/iI0\D)/iJU8S>=;Lg!<@UQ#iHcZ[-=#8Xl"3d5BIcp$S2XRWVY].LYq[2 +9-:l0&dgOX@*,j:%NsD&a_8kto>%4.nc,TEi!0Db*`J;o"jGa)/0O:DQ`jZiDgi,I +p`-g?/TgYYf^`A^G/=3>M-I;M*Hd)ceLtCSFFu(b7a*sDIudk=r/jWYEEsU;/ml3# +Kg4Z5pr=VKB0AK*I4(-YS9g1]]?l)U?)MRnrC@(bh2p61Z_P8+Jp5`3PM\30hDeqK +48?Iims4Gr@7ef:Ji9/.OM=p'_1-45G4I_sA@Onje#Z;s]H392Y#bcI0Co0n`rG0; +)%BB*l^oK2UCV%nQ)q*ENn+.UIC\'=WQ +b*#t@b(Q/qMbGQAb)huHV+]%]`&q-e$F^S.kf[I_Jc;M@s)7^_BE+kI#Cj\l-A_[p +M#Sf\s5ai'!A"C^h0r`4XE=V\i!C4pQhZ&S([)t!?QO)k`p&fek(TMAJe4-_:fHSd +njDqsJO7KY+-dqu"Xs1bOW>`u=Mb"Br&L`+6FTr;J]\%W +V#4a@"omMqEe"XdEStDL,5FY^AsE\+lI0']k3.d=lV(CDXB01Te7`[KBl2I9Emi[? +d9g=Xku`Or[ZqeiFVf3%NPd?r_6f[/E#/p +FP"*BgTCo+l)mrL,&lhMi&guFF6BZ]s3qOCrsmA+Ngsb`AVJ_i@p$(UX'`,F#4i@1 +#H5N"3^@O9*I>ME4HkNF30G5b=#]p-c<9-:==#Q)coY>RK:RJVsIu!V$(SId"ST&(`tr?>.dg@*T#_92AAq>sC.r*kgf'\R@F]h0L&MiJ_;#k\J#c7m@>:CCVG%!\B1pIT`4Tn@ +08jA40'7`bWSDMJ8/3d8=7uS:piFqor)Y`bpd>!-09!plro+YAGT?NRMA2orr_-l1 +nDCSsdYs.cX,>uCDP+>G%=D7g2qH+BQN-m;i]hY:lONid$3a3/J$.:B>N[1)Rt:U` +!XeEeP51Zk%thWY*U.#KT\SLYBO"u6Xg!PI$`G+JnK5UIhrXmoj^=,KI-?mroVj1\ +busQa1OqsX:]Uq!8;*WYRTH(gqDQm.4o&-",o2X,V8e$+S?6KKN9fK7J':,P!(+*6%.bauTs89/j]I'g+cE''h?]ub:8[PQi +YiK')L(nQ5*c#*pk>W&V;A&678I>DY(>r4+l,qpkX:Q,#],$14'SSR]s$N>L_jgaW +NrPjE8.jce&`m=:m8atH:'dLP2K[NX]cu_*aj* +1[i9nShhHVj(G*[F3c!ffhgAWhMogl,1*.u/\\P-&;P\bWg@Hai`R&.Imo1]]*/,j +E;ZX0.<#a*+cqRV^UeN*H1io'F_uF8^f)Y%jplkarWi88G*p?`3=G:Wk\r4j%e53%.H +4a1-e+*o.+BDg)'m#gtnS`@Iteif@>Mi+R..IdA@+n-C"2hCuV*`LSM?FG5+?2ZD1 ++q"\/7KRVm4aH$^!rVf[qcWlQ[=\H2=_b9U40W/@"Ud;2S"pb6[N#/%Euru>n(D^G +LCW*oGFX"'=9)f9A2,5&[S7!G%>"P#7WiJ^bs4Ge&$!P0^jeD$iS4t%n(Dp&WGf6\ +FflrHE9VuY&H?#?[]R0OmQFikjt1g8+FV9)m1Q&d^ZR?XD*%?+F)/^pZJdHuIVdDEiAT4)jU]]HAkM/N/EJi0="fRB9B\MJ>VMop%h7`T>]:E`%h$C ++VC[(MCd/7.+"]SScsE`=\nrN[H4nRph)^TVEL/U5PATXJo]B=@0$P#IO0;k7J[$F +\cE]&JSAGl`*lJ=Qb?;4&h/H\M&&p>>H@?\Eo8YUQ,k +K0mdAdGV?9DCjLYfn[lE;Hos3iBLrUekA(92E;@M&8)?9\,1YGJ!^3%Nu\2q\&#g> +i/\Bar25Z5)?Zo`Ap2Kn]mEiY*F"p\,7%B`d(V'HI+#=B_TqG;+ZF& +i6P@>k#N>Y";M)%E>IJ9'(/p=iEdSi7[nuRS1>eSCST^#@pEcDS=9VuLViX@i]G`n +qRUq5YGh\OHA>'e+2;@?Y%c@%E8Pg56o9)S48$F"nCY/7^&.;e4*A2#EudE?6a(T. +Q[8=L;hminqj6^*AhLmQFaiK(D6M_BY=2B/!V$,X4!BO^f;IWM"5g@hT:lA_ppPGB +b]=DJ1cPKa!S&(]+]na:`GZ4&j-3K`U?c/cEmFtJFJ0uK=J+#5*A)GIhM&b6VleZh'gp$)Ks4OF?[Sn!:gi_qK%I<_9 +HQ&$*(YlH4>r$i;aj"u0jMA_CgCD"@CaY^Vle8bA[L`-`^jks!rt"+=]_I'L+SZK0 +n(I?7o3:+9*t9jl)X0er@il,8;NKRad^DO;VHkS:4)u3,@KN0RCXB:\leWke?LXQs +3;CeIOKZHbl[Yh$i3c?(lSh,1ha068#-WH9h#&)&1@NdrXW(39'2ba(5k)GQeaP/T +('kK1ds@#Jr+BmPf,$1'G;nN,H9kp"ro"AO;`$[E4S.ENI$`Tc6mpC;#+6&Wb@>[p +-0t7BIcI6W]*ZrqUT`rP?e#Rt..;FbfWCdtTpO<2Q-u=sfW(Rpq')l[0YbZ,!:V)i +Q1p]4GJ5V;jG*oS#S@#W_1*pr#f(!PE?KarAjh?!34tnR4,OqBCPRQ33L]qMlLIUX +BpPVI8)"RK=c]DI%qWP*JX3V;)dK%<6WU-7c.A7nCJ.S`ASKkIBhp!'g0Q3H4pd9t +nt(Uo\0a)V'U<-)Ts$h7e0Wkq,fcOD)do6f2pW2-AGVbV8-RZZ,!Q<^M\ImM&Ji4b ++PN\:k:8Lka;OmZGPSG"s&o@D`7U%HM#SX6TD5TDA,Jjdcf0F8NQ%k`@9OO70#4JP +WZI`].9jC>p4?[`s%8=O&2NB+Y?%.j$(??$nN#VAV+Y=p[O:,T(FGu^L5 +W[Z2GP?DBFmp36pRjgOLID0EZ!L9,drU6Ks[f%QYXm51Y +AASE%N:Qg=94t?_XkL8N3-?4Pp)H):^N](C.Zis=6:^O;%X)jHF_Dr6HhuNQAj:8U +i"t>R&2f-*d.nefh=I.Jj&+G/Y:l'XCS)JZ*@[OCnX\>*)Vu9k*Q]Xh?,uI]TJtMP +iB7G.,KOLj!4:XTj$0,Sjh$$nR=]8F>N"5=_:u^-mJIm8$i]1D0;m&TJSUUXR0B(( +-23$)s0YMD5MAWb[uLF@$1WMf6ONM8m^]4PG9clInAopO/-/%]&1IVSTCpR5rE7.> +Cui(pNF,%2_>c#r1%H(WBP0NXpb>"Vf>#G:T\ffp^'CbBC\UI%p-XUD(A>(#2Rm2_ +9^sRJ*Ph[Wq]S)hKDX/a<@;RW8ei2`JLuX`)P-"SaL:CJs/jutC:2<'MqnuR/Xt:/ +=]0060HV,7rs=Et6NI+GDHD>^Hq@= +RFh(`s0*R=6/$jHbegWO_s@s(9?(Mu\Hi,goR[%?G(\s1gq6;Kl&U9D0R>eL)nbf' +A.;#t3H4Y$i:?W`omQXDVeJ&O?RN3[4a9M"HlY*CCY0st-#fG[c!LMO^Im(+nQVo_ +I^K)9bC]amY6d*ii7MNJaUnt&Yj7#OE1EWdt`Z +KE&&L1)n`,_#Nic=ZnEZ@HE+g-2f10"/_oIAnAY&A`,d]TBlO.nM7<.APT:7.9!blMWLAu<9kg,P:ZOmPfZ.;qpO*\sqj!R>\,%F/q^\[oUa;VH +`F>;Q1s@60WEY'Ta%Xa9lGl +V,+n34PjD+C@s5BiOSB;OXG6Rt5asms>#?&.KO(P!2k,]@=f+H_q +D>ULB1TLd+nhZPa;U$<8U/4&3?P';j^Zf&!F2KW@H"Xr/E&!g?_O/Xu44H;I9NCH\ +kH,X"RFn*&Q3F3li:m..A'B_\%2\pma\VDmR?ROsNFJ;T<\U.0\hK>BLfY=20Ae$> +n&X'%0@j:/6KJ1)ZMEA/pA=lun)o0AI./54+8ptga8^VXd6A.(rbJ^k03oJtc"c_5 +[5VlDB$-\S'H"8h^NuGg;OM9'Q=a0[C0I$?N'B42]P>PFm`7/l(K_*,2#jV(q3QW>0(Y=Tn_^p?Y(#r:'$#j4P5em#Rh5Q+DhG(@hX^_/n:$`(OE.JY +EsDR"[d?R#5T\lF[;OA]KmiIJ\oZW?&!8c+LD59sn'VHfd;ghj()p;4f*$b.H-KP[ +R_=`b3cZ;C\&%6;[h/tpD7[:/WRQut^;OS"810:8r($Yq]7Djl\71KI&>$3TB\g&[ +_I)[koRZ_C9pAjSAr@/oWY<_K4idO2@Jdc]pG(TEh1+B?EeWD\k6-6RTDUXn`Ug"e +l0BI,pi[[^E"dnH@,X4eH:Uk5W=`I6)-!UJfPHXslo4]8$(L^L+LqU>^WKTlb;R09 +:Hlt'Te#Y?9'>tOjH"MFT5N8+?lbcHmXR[`&T/7]5Pu!m^`VghU.#I,rY^16\EUV6 +UUgKDMSYXdiP/;U[ok5h;'WVG-[joaiK.44LjA4jY8mS2Z) +-A;.9C,&7tIZ[[+*Q.Z5']@frphH?JW*EP(TH7@2*a&>n\j0f,8MVC`Auj&EeGT`^ +k\)[.?c^KAKKF_a"WHr:2*%7iTe8o;pPmW58#hJ7+*`OqpP?=,M>4D676A$!-GJ.p +Tg9=K,YtD+Kt`fV9U*HEF6),a,9__[-lG`\Ai96o=@!'`t'9U#"qjT=!d +:IGKrperlml +=J3&uTt^F#_0P(SDk0,m]>"1BC&"V+4F[<[Rsb-@-6E,hj,a5hk[PIG5P72=gA^lA +8U[d;CU$3=[.md:Y$j\p;-fVf?+M1YT4-*0rN[sBjZnCE:qkmZT&FYVbPpjp4ded1 +kpENHI$Fk7-TT$FWY1iC!oi!Ni]NTCj#q>L]tjZJ(g>QDNt`gj%0PFY? +rMlgF.(dAFIE4O#an?1g'=XXg_?$B']3`kEP4nKd458T2:>@3m4f;cJ!7(8#(EO45LVs' +CkY$3ecc,@!FDouZj$F2rkF/(rt;V/'4I\p?i3tX`)D(R77mM%9)+Tkj?MA;rgB#? +ZNJa'3;t_=>sNW;r(m=F)&>Juhfl,L'Xd8Sr@)\,0D/Q-elVlGf\+<\PuI2]IaV#@ +b4m'X!UL"sL7deMAc0o(Lt][b`+B5lkT$rg/Id@4]Cplh2Z8!2"%SA]+?@.8)[T$dHeSOEBO6h(+V57qk+HEcSZ!fL5#H$5OqHo/4i\0N`#CFW(DU_p]TCDMH'2* +IM`pn^cu*XYg>56bW;KL3Mk!4YV35^5J4?\35%WkPi_.ul=G["T:>OiS0BmaPo4/U +9X5u,3F[H?R,FUqa8,s:mnac!\Nh&c@*Tt`r"'oLr^1sbSF0P\_u:bQ?])@a/)#'F +\%KihF(PH&&6g&\pNXuEV-]2^-,D]OT9FPLO;Z,H&BonHr#,Mj"&(`FfYRlq?NaJm +Jh3U;EWOAU@&o5_Z2iI5JQY6U\94C[-9o?_=,;U;gtn5=XE#&A3T3;J@QM=q$3.U@ +*u4]lq+ilT1q?2hT5oH//cLKm'e5.l@pV!hkk4(Qc]kDGeNGm-q"[S[:]ITthZ#A% +i4i%coRG.MphpP$rnG*>s"UGF^J@)ncf:)dj"Rch8"\PcNnum)YL]3re*Sf5g62-A ++oQ[b`m_AtVd6jZ"q.#^(;H4fIQgc15F&E2RJ1M[pVft;;.$1lB:;srWh;Q/ib^IG +mf3`o8T:\iF0:OEXbdiKpt$g:W@WSiT+us8,%r-e!rc"TJq("?!H*u#clO>k&Q#Ot +5igh`(Z+3fhrp@g-%%L[olf$%HeWIT2dktd((e3)/>&B;CE4/@p$rGn%$Oj(Op4X= +k4nTg,s*lE-d`+r1rX_2Ia`+dk4Rp +!!+%R#&jMfFS@HIHbY;Q+ioRHR;cS=BkVj)N2 +q94UF3R2&cSH +&_5o%-_`=R<J-'D?Ni'0%:AoR)dTh!fDZu%8gCuL-bMbjA:S$+ +'0>_hf]jjA\W>0a=>Ni>r+;qjcXh8VhpYY0o*=?mJ)i/:p0hgfM3R=D`"i2aj`f=U +Rqqdd>qBU4hbBQQRGg)bR_0[qXQh[AlnKo?3hGKAl=RNiB6?G^"oRn>VCZN'"]`HP +AR#Ot":OFB=[5(K?Y%U\YNHe58*&"hs,:AD+2n1tSg=C9M#>*hW[Epbs%>18_>h0g +'\MTK8b:GCq&4;C^HaTJi-%R`*ln:39j*XJ3:W\)jfs;mL,;3@,>ucBm#fs#^/*ZS +T.kCZN+QIlAn\JN:l;D1fFkPp'^Lbe+JMLp,-6"YCnVYNO?9R/o*2WcuSgLJ-`T+*I9;;p?gJeTVd +W"b:3n3=kfQN,McpbVp,eIVX0D"&E,PI8]/NO#'ReK1Q)=3oRb$'aOiP2U=G%?uHh +guoa%d!4S\C:5Q-Y>#QOP@U]7U! +p>8s$ri[WUs#LMqGkaK64o2#H_:cGI411+b.^[6RFLlO8=u5h51Y)ACZptIFVMfT[ +8p$ClFI#RA((59I$[$+QT2"Aa$t[3=c89<0(Gr!m2PaI*,rsO'')ub,?#&BT<;aK5 +Ih=&>+fL(RI+M8M$i"'C!f77N6q@@BBRmt!;W1T2 +S3]Q*&NRlYBB\,FPB5#0#pbTtJ.Oa(S/[oe"[W5%,gC#irTs4C]PDl-?GDtRB/\'' +lDsbge>!oYof:@_e$L$HOS!n"lIN(X8\&c'3FG]AAlgqSf"1.u[iI62'0L6T*.Jj: +]GW[a6[LZVE43Inj@"`EIsc;W.l[?a*U^s1elP +fL9/a630FZ,T$%o5(jUMpqPjLQ&VQSEGu&2s4d%F:W(d;prb>D$a4fuQd"PaL(L#k +i:s69P*7*SRip`/-05ssirY+%F@q^:K4t9Prb!YSP(R.e*KpOBO".[GOlrK\rqt=F +!\40SrkI@tZ.B.%7UO",T=oQe`S^EC)H(\<2+F^#\[otC46qN\HWVTc_D;Z-r\kho +JH,+K>d;9SJ((rTQPuO+lSAYZ5]5qOSR6n_pf7)dD`RKngU>Cs5/7dB`IE]r2r/e! +8Zqe!@!pG.o!9*C(g@jlei.&_K +RID:M^nk\_\n0RmiLWCqnGep2cnk0;03nB@nUD/M`o1k0KK8d)Yk0D[C"'i!a#L\3 +/c<$a[of5.UCk2cl9FIXSj>CA.9l!EA9hR[YLrVo$8DN`hZbanr(k)DIK(H%[Fi.t +$iZ`'+Mdu:VLI=e0)#41fCg+`p);h&f.G%CcHX"6XdjS5 +r,1P(d"$D\XCL(N?-S1J(#aZ2X\pnR!W.odZ9duU5pu'99q;5W21K)]cY`>'J3WU3 +.iJPQ5H$u(9+?K*pn(:a(-o^.L#c=S&J2M8N3#n)Q`]QX@/n@GbqWX-1le0a1+2pE@%3XHk3t3 +0D@">a"2_PX?\l^a9f,o$*h^O>@l3aZPbY]/=UIQFnYjXJ'q^rW\Il@5Mti-"b5V5 +q\raHM)YS0]Rm`:M\9-YLKT2bJ,O<&5F2P7k*.F9nBY]QL&D:,dWNI368<=U):\F= +Gk(n85ri?RG"5A8\.b]W>(G6/#lhXt2sJ5$?;RSSq"4KaH\uO&`AGkPR:NOA$%!HF +/4X)Q'!6X:8I'nJ'#h8jZ:>EN/m>H.]3!u67qKFs.K>TWWLjN/J$GaCF-6$SQ^.U> +P4J?['u)i5n:(Z'53n;Yg*!_-UAuaY=Qth%6ESNqXo<-jO[A0/;RQ>+)bUo)6ksI0 +PqieWWRcIec%uLSU"il.fbQ0-2N;E/n+lF((*Ma(AH>lns.CP=+$p`./d27T9*?:^ +4Ki5.:GL0+;?2USm^E?@28#ReoWX*7.EsK!O6eBPm-d\12G?1r>]dgh1HRe6qn^1j +]\./u`4T17\BBL:L[&=&nm8ZN%fN[cK;r(4qISE:fO=!r.C=K4B%IMi/iN+GYQTXP +T:d&%!a^qapeUn(MskeO?NU3kL&_$9F238J.d20!,!6*/!3i*D(I=[6f=i!.$1nG< +F"dZ9o8?lKJi>q-!O;:*G9=b\!"cAncNK`07;Q39KJ0n-(E>P;Hkj6jQFFTieQ]-q +QR[]I!+KK/6*X<_K`;VK6]b*7"o*I!&]0HjL/Og\("-MW>19%4hH_)gD(EmB([W<[,Og3*o%p<*:3c(ZW9?.>CqX!, +U6c7&e^#K$ml)bP`t@Y&8_]\BX/\?^i.!2Q!6.Hu`e>F&"YG%'/VZ:$s*Cf3Hg:.q +[1XF#;]?0DlY\'+e]+i.=u6#8:2Go-4Rg*^O]/'o/QV!JWH&BsfEJ:64B4F>^=j>" ++mc,bcNWJ*`T#)"K1LW]iib'AZ`g%+5EG]LMlK`J!U%nkT8Va0:cpk6ic8'(Nq +.RH23N)a;`BSD!L6mr0`C5*Lm8)0pe4Uaocp5,a;@i,"Ijp-4p"?C+KfTEJ#R/]Rb +Cho-"s*[s3j.[!Ke[h_udkH5a_Qps5A+k +[L`0e:'&<&VsMDYomO`-"rk9&UE&tZS=%R1a:VP88"*Js)`;6mp(qJh<[_kCQ[R74 +osRNaDhk.'2l6$B3Mg'gANgpPJ%i)`X*']"YGqM#V#"F+b5XZ-"=_,nFj%L8Q8u$F +=K>;g]ra;"VEJ%]4'eR=?`C;8V7BX'Z!MQ_UIo[pp5R<(p%8[Zj\ieV,/`AePMTQF +[VVFfFIW.V[f6a8YF`N/n9,3up6WgEPXj^%T@,ES;SI>]h]MZT.=caOhlSZXo,]jO ++X=9K+Etoq_1Zb$S58aT_u2%=VBm]+gi2Z9naBiXlWF`9?M*K:'O\fJhPa0AT[iG$ +>ErL'mL8F=Si"0>ZR,"mArQ13RQ#(DFWYi<_1-"2g:knc;87uq +4e_u+0,VQ)jt`%i"apPrc<`_FXar+8RpZT_hB'K3B=rAkJA2e7>uJ(>;HgW:!!WS_ +Mms<\?l1g7\G*o499/4QeAdtKd5c^HN4&.1GlBg=nMAJ1j++DSS!f["Tuh>(na^RZ +!^o[@`(N*<9@L*Q<5orRI;0<)4D$)>;5-*lF +k8Fp3T*3J)`SO$,2M/dbi-"OdTK.i.E>Q:b#WW';)DHGoLW,0rGDo,pf'L$"*I@J9 +7tL\Bbctj__QO'94U8I0#/C:2r?%d(4YJAQM!WiG_nc:PlUOm.[8Y*>#ld>RmE>4* +4!#6n"6:!J#9YdON9eK0f;Z/>G\$9u%B'NJHN76:gT.'[M3sg5+Y]MdYlT +V'ZQ/?tUI/iSM!%g]@>nmN]L'*K'cf/^KG7\!CU'VBq"P=mLDjf(X^prC.NM7MXbU +jc/Q9O0f96[5&l5+0_ib,*-^un:/OM2Xl45jt8cI&&A>D9M;?`J>2I9`SJ!1gC83I +nu#Lg,W=qaJaVhL!<9)VU&k6.l4LK_UMBH7.Q&E.Ph;h44:(p`C2A_(F-K#lr^@`A +_LJj-3)>0jTuKW##m,+r]\*Yk4;n0<3Eiq_2,DMX,O63kitF!,``@4o.l_N[gr&7P +"`f'>)8?HrO=4,d3;)3Sp##t\O@1rq,++9SGWdXZ270SB1pnYUW[oDP5L_KYmZbPn +8S;6?ro^S(5p,Y^O(1Vphh&YYLl[O^`<&]\MXr"k`=mL7qLJ'9@ec-[]ALt^?a-EK +Db5dHlK+BKYYf[I1='Bt!qqJVknZ8:Lk-b*XUp%^=.$62P8n<@n-;h[[nGc6"96aM +Gdd),5?A6Ma`Cnlio>Re#j872^c_L!^&t)Np`F17*(VEh;)KEq5*Pms3*S$VVeqpc +Y`*YV"pO?t7GM+dI&!udh5Y/Ug,RXFA>R!kq7..6[G0,*lE7m>\b;TNO2!dUnIOeI +ros"H0@hG!]-['(*JH`E./daNl'JH.5@0NQ_5tMgN6-N];!-4:aj[-Q7s,pBeR%.E +F)@];PDuT'GOA^#\p+,6^*Mo6Xjll(RA5-"#C#9QWo_jU'pjeX-4@6Xnr-bY/aLlf +W`'n4cQ&2)t#sKc;$ODCb=;28:Nrf7WJZ9nWa=2(:KF^22$G9$L+:Gu. +TX&OogDi[=4)LKh^VK%G#'VX([B55X/-iQ.\i3>Eel1qg\&Rn'<\bUA>D=Rj9YZIg,:*I^k +!;-=iD#S),$5d^b83dZ58$M@+?$aUtGg"ojbM%=YZ?d;!%%hd]S/noHP:+2kQ!u$g +qSp^(`QtG=n*@8X=QmQ#k*4ULhUEABP,!8OE9D1#@[G^s_mstr2eif)NA+.emSeJ_2I;;k8\7aL*$h%kU%?bE9 +?l<>ci!WX*Z>3[QBECPP<"@#Gec0i!#9]r!Fm[q,lid;Po,cb.BOdo*&L^P:0 +Nc;-is++8O$i9K5BDrcir.I95N%oZ!3d8f8T6>*#=(^@@A`*gQD+YGq8HLt99+g'NfZ?N%Lc,sgh? +[r9g)9Bb"dBCg)j]RJ/;Bu9NALsb$Uj-jDoW\3\u2YHtXmG^=IiW8)f*lF.,e&jD7 +g0r/d+F#YM;`eN5)d\2>!4)[3Z6%KC(;i6Ws*]m&3mD25#_GQ;!GXLOn#4:XC;g5R +b>c?WJ=g,K`[OpNjf.`iPW1Zqls+*Qok1>`^pdQ+(,boCIWZ[t7OY_AaSX$!qM*,> +pp+c[St$a$T#Qq7A'2AUV[pmL^@V]6^lb!l!q*nB]Em+CuV1'Qk9X@'?71n"SOD^=Z\'ALB4lQm18If(/ +2(RdW=0Ot+ANYWq@>*/iC&^E*I?k8T'"*_bauIa0GZQBRRZ!ej8Bd.IkF1RTbc^4n +=QH`=+o#ZR,*5qL(n+Ibp!pl@MO./m.>SsEjbVpXnMr%HtF(3=DZKpbn.(g"cA +hbUcX0NFl095V=4=]d;kI7NSeKBo/FZgj_$)95?^n[f."7[*0L,AO3FYJl-j7DVi=T0FV=TG,S#A#ohs*TV9bW-ViA/3LC-^YZd"($GE^#DGGY*'r?;2t"VCZ77Um7u(&u1" +^;9gnJQGF1D\\2`---nBG&DtoXK`!uN37:mml"s#M[hIkf7I3Gn:/9R?0L"Mm+/f6 +dC8.#\ed33mb*4c"!*kCllI]]2$g=(9CITK`0197O<8`*#jBkOT3fkA'feI(rZG^!Pj3S:uFS3s571e?G+BQc#^DKq<[Y25GSUT/oCKWI>%WIcMbQY*W0^<,c1K7[iV'S8*e&t +^_,=FZ'ED3@26Ot Vh34!L9a/+:'!Cq+t3-Cd:Nr]3hlrk3blIIMTpDpjf]C[2V +@^-3?kEI]B_-9%bcTYo64_;mO&?IF0G=(e(U)7.0&sRClqn^Oa"4m78@,Y8PkQPH/ +ir:gl`L!9>nFqk1pDed71[pG+rZsi!Nt)+Q6[8+fL)\BMk6 +o>04$#j'!7Sf`;&q +^:K2;rjBoK#;.,_o*#0m$3)`.\8(.\-i>>-!&8sXc[s[B5m71_e<@eS,k0-URfiAH +r,a_+Fl#_J>N/(`KR[I8d.deLfJi,%9NW"5F#YIpj[E1besVO9WfBaMe3!Sj9=NI&Wtc-48\]X$nQ2:5s)I7ds.#ALfs9,jX--iXaSpHll.r&U +T+=o8gf=@@L@Quc$9qfopqa>mGK8hEDGV*"i3NpXb>t$tO/-,>8\Jf'3bsk'eL(1% +?1tT_R5_7RQS%dk/P;p8MGGTV6Mc_)7j9%I_,E[r--cO]Od:IlD=gh7HbPdPd!k_<^6#*iqE1!Cj"&/X+63 +j,Z>n+f=)g(rjAtJ^_DaWnW"8EQo8jF&p'X?81M][1ajVnNuc-gu3RqTF0rUV/sp3 +QJ'qaB<4O"iAkO&6W!`9^BqL4XPklaHf`-q^os[K&.nG3"ltfD_,KhCOojSAAZuI" +ImENA=*VZTI&*C$0?HkPa8I[,InK-j!lR^`-V-:o83:>-Vi5hcS6r_;J!R`+:4Z78 +9)luGb;/NX`8mu/oukF!pu@lq^P$#;q^$.aR/]9j)7"dZbgeN9%`1c(5uL)F:O[$$GsGor\aA7g7I+0^IYa>p#ld&m#m^7?A<0YP2eY?@]9[#t +Q;'l^s%E,?1p:,-GkBX$E6#'kir=Gq@>Orm>hai0\8fN:%-%;0lW2q.WVfSAh2.9/ +;^X]b`n;()laEo^o>WYW(>q3(s1ZOhVW648auu)_B>.k'SqC6*D8?/lC@)Dus1ef! +$/j&>s.=?KShh^c0P1e4e%=u:*rD*EQ/EidhZ?6=lqdNq4e#6b(14;DT@:hUK-t"1 +bao%lA*4A4iJHIeOUkdjVM6FWDgV2A$X`5,SlKM22VqT3cG@?KW2n16,&1-&N)eoj +XaAM4%j:3D$Q.BslI75:i#e;u;`DGqNCs$U98@CbNa(+o=ks6Ug"daX][Lds%YE:; +DO#A/(UWJiJfa2bk>/-U/u\:emK0nrR=tK>M6'MhPcJ-,^Jm@tj9E@aPuXd&-8@^g +s3NUAi)GD\AAs'5V8*3;T3-BB.!\Uio?4]QA0C6:KunU,fRF'S.;+[".u+0i@6T'0 +?=unlZQu&+lt_W/.2l"9P:tt8PGKPn*N&$>VW,d#p5.3'#ZpP*8iq\T46KaemX$m^*)gBgBlP*Y^aaDYdos]>^h]'9.?aGp1=I/em:$ReOEpjJPh]42[4&Gq:Y2\n. +j?FI&s*RE+^Lh'W@nQI,A$USK./f]#RD8$QIbQ.X7dt,Yo\3^:s0!5G"T;&Ur*OUt +I+G,&0(AG*daJHDHSoQ4Wgf2``nc?Gc.Q\d.1UQb*.\'6$]O(p7D(S<5E\7^o6/=m +rrN+qOktck`<*e@JM5%@!Z_29(^Bp4.HU?^B*kGECA1Z)O5biu0lq]H'ArrH]Wj'> +n2>?0QT;=k(uGPOqgoCg$/KroB\i/g2gB^#?ps)'Zf'WIi6o!je;0=O?+YYY4-%"$ +c@\XT@uic,&V.)*a:B^"F99tZ#'V5On6c]N1a6nB<&sXK=!;u@T +J0>'j_lpp)@Vpl5!2%JYJ1Q5^kI!VpKZGHHCa3RF?>tQ/q;\t=s"U#^*PD#*FS0e? +g)KlL26gTX)0]uHZ2Tc(6AE-[VLj:1D?Rb70[\KX@aG/r'.'3c!n-2cZfK6Q0C0(k +;Xheon>sABZcD=BN"s$dhB^_+:72K._H4PWh?_\'44>X");U10LX)79<)PKO%d3ag +Zg@0:6KfE"aFG:l?k%"+CNc8Y)P5Np@*pfH>/+h0[R7rhckt!=GE\nJ_LI\R)drKH +kO=4Cqn,MVP1fdC`tmStI.!.lgO[ZVn:08jA(SC!-P"NniU:@&\ol>uPLTWa*BU]7 +\j>h='`S\t6D?>YY3q +ocO'k4qF4$iBQt6_iUj7k4l/nD7M8T;qWm,`Aurlf4NjG'@nGs9qY:PL/+96j1u2W +0in/R-@u2!iaXP];cCO&rdlM.4aigf^$t4(4)7eI#[MsM?!DL?,hn)o[\n,iUfe]@ +s20S8+SbET..#J9,MO80c0p[[<0#hH4_e:dBjD,!a"5$scG6Q>@FNsUAl\?QDcG/Y +S(FO$e#JndY+Oa8?(D9oed.7:&!#$C!;K'"#"GWio9;B5MB;H8-Fg;cGaU8MZ60-I*6QE,P"(99[%uq +!TKQort,3/mmQr+>87Gq$br._7QU@a_NoZ;lD2;rCcpH0s,-^tQ=Pn:=_("oI[q>d +>8G+@0#/)6*s`t*M`+-M[Y4\F$sO8l(."Ub`j-pcTc[G<&Qh:Fh][Vb031..J)ih: +gd!eGkJ+h4/;@:;b8>j2dP-%s8D+QYj10#\/PufH?NW49f_WuBU^[7Bd +k7QtI:J1Us?KtT9WS_U7]\AWuc[WnumjS*B6hUnMoIknR5@'BMnZ9qF->!0n9Em]B ++,6T-#l]9ehZ@Ig7:E8C7m7GF3%/K@M-bf`OU+kIk^/$K@X#S>: +0[.3qi*I\u0'J"\J$a4 +8"\K@(g6Cs?hGGp$ln(15Z:eV)-llLST:[$GAP--R"&n!qqWepld6/6@E8@ +)u_m@(9g-\!PUOb,D9I@#P`eb6TkgF54P7)%hYB<$87!3JH)eiCH-s227FM[ggs`Z +,o6OnI[Z4>MDSL%Sn+h7"_oBR^E3C:@\?@GTPcR_Bi@$GTRAf +hc.WXj@tCN,IfKM].X!C9cGDgC@FuaCF:eU;Li'AIPU"mc*_?DWbKG\FiOZ$qjVaL +K`<=s#Q#(d[dSJN*V^&G;3To,GOu^Wri]M5m(&4W62dTg6]++\CZO-Yn(J0I?aY?i +7@aUDqna1^gYd"Wj4Fh=5GA2GEA-LPjeI79Y/cR9,lU%%*.!/N4G<`5q@"X.1Hqp` +W +@sr:4WWr5_6'ZiurduO4i!9nlpDO`glP4q2otUX7+6d<5_uFd!lK:"fVW6;\61"m7mVg^$YR$]8$UNDfB_aLbf5qQ_N(XE1>I +,7'ZtP&Ol8F'sH5&'X3.3:eHO_Binn30VoHM`#Gi#=>C\#Yd +#YhB1AsS0tQE]^K\Y`qcj"e>[=dX%t\.t$Jqg(']2l8`c#_1hG7?Q/T&Qel`i1#oZ +D-nMPFd\T'oReo%Q5N@(ZG2u?^=E+c($=sR=u!3m0*CTmq*=p]IgZfMq1/M==94M&" +Zb&/6F`5CldCMt0e`@;2s2\.-$!c!G4`]aD$lM3OoEEKIrsrlK+:eP9_hXhou" +Sd"JuMo^Cf!i-,=r)H!4(=fB#iUQ1HWE)e#on!-m)7f?r]1U(,J09[KL(O,ed?lH& +q%CM:0E#lHmq&`e1X=PhEs3c]Q[Ib^@rnmf1K2F\6cLcbed!`K8^rFgL8\ +\H^n&A$*CPMo^4MZ]I0I*U.SVT5120:g5K3]uRUQqadu'dCa29Y]e9o%@d&SH6EI- +H4Dgl$lHK^rK-OK^jU1RWFsVc:2!tCB&@^gJVt.ACtc@3IDGjlf1rFIqi2\D:%#O` +6i=^bgj.h4\0gU6i!#cRgK(V06TA&/+) +lR#O*))A-3d(A,;>7MQ0X;X%04(`dDi'1q(J',&$Q_mp;U299-RTB,"QN?ooonn(f +$OQb.%#_aio7?qdg6iC/1EYgkTW%hXGhZ:EqR1_F*M)C$/O?'K)fPCaE:_U?=j"qs +7=$lM=sYRa,qr%N0NB\I8]<>d_39X?5",1+$n4]DZkH`b$-424jT*.W?db>miQT"' +`0YS&QM!dJoM8#?$gdI:8:)4%DM9tnFP +QhP,b\?dGD37;+7Bck4l";O\;1+QW>mA%NX^;2,1aZ$sm+KdIZY`.gC_SsDq,WS9f +Of#YIlPj..&`tA6s$k[3g]@WJ#8MnrjpMIpc)K*-(4^fIf,>Tf.$<(*EYAn6C>f*s +n4.oRMYS=mrmkQLa7riVqH:i6>K$hL-NoV/O$-L8`tCNnKbFCF6;207GNdQX_$#/- +pi`jZ5E>iVV15ipoo!C\?a!$%s8TSVo;@#iGPcFLp>l7\,>7Q6lIRO!^KS5JX$t.& +/P,kOmeVuV-3!@l`/eLV_%(q(..q)De5)AUI^UNlP9m1M0?O3$:B"TJ(&hWDrbqWJ +5AO>JdA4'LV^8E&(bRQ0a>9jBE3)X>X%KT@7f_Z@mT3V#@`Wk&O7Gj9YDiOAE6$oJ +I(pl.D\35P^_Q?QGlen["(dGLG#$adErX=AX_5bf8#`Q$l#S4D,-ZU2n6=fE)*;"K"nVW +1Xr@iOs_-9/JX?rl^KBaSLT\e_@gFnW%>_J6..Y_`\piJ0jVd6id]#`$C'>PUhS(C +8Vd4@i;]:6*T6rjT'.q'FN.Op'J+\K/\9m!XAN^;jm3/!kr#8!ONq+U\=8/D%r$=j +o\i7A3`s;l1]L#Pk.s33[".c`Mrm$p\kW'Fi'1&/U]=rV0nd@C7c=<49+V#l?$_1d +&!eg9Mej>Uh7@fErQEc/GS]bu^[9TpkWM2js*`T4Senn[+*e7rs0j#R&;1jZ*BJ`N +&H(uXGDiPkQcp?Rs,k3p44Kr;"MY<4J`%XF^L>O&G,t/SYo!&N"m\BK]S7T6a0f7t +'5P=1;]ZCUQ>r&0VL0,<0\IC*b"eGBO"T@/-XcXJke\e1dH!JN*r#PkKnf3=$#(?UmcL!U.c3]8c^e`lUr^5c(V-/K4^K!'u>!$Fq4(DPTCYuA[ +gcT@n*sD*u#_N(/r?>(!@7e(S%KugmFL]r$#i^=>r`aMd)KiC5!oCi07Pj1e:_H]M(gE?1e-4!2u].sRt40VbWh18 +3VEUgpqPuVRG2FqV(;,kJ-c'=e-00k_i'a+(&msVQ/Bd]6iI2Z5lcBhrrN*AM#Y9m +aCb,rk*&GBeFZZ%Z.q@OSI\.e:0)ArDY3D +/!8>"efk$Zq884,Z%+KOAH0.ko7p&>hl]TNHKG"d_J>C_#_'<,n[!r85@9Y*Uu:EO +'#.\8r*it&McGV[=/CBiP5C)4iBQH=raee&mtVVVW_;%5jHX8a!OHF_ +^Z6qsJ>``Ra9'60/d1M03kXVj+%Q0tF&pRh +bEj1\=9-p%./lTpWFPl0R;YT5,mdOnD>/k*c'EG>JLg^'pBX9j`:e>WN=_!WE2d+j(Ni +rhQq.-g,i9OO6W]p-$$Jh'1dliVbX'Q5ukU_LFZLE5VK9]:K,*::N.of:ohK".>M" +mL(W7/R-hF3O`k;p'RoE8B)V%41&n`5@aooDBjoX,J1+,LU>n_g&V&1J?scG!;nbr +4'/O+_&(dFkZG0;ZsrhBSm_IlblX_FK=]Y$4!6UEV"O1;FqO^lRQ"aSDr:NGZ$44h +$VJ`3-3=+d+f"YcXcKQiC[H@o"\kka1?Y)qT53S1hC/BVIAY;BE69]=ba7#d6rj4@ +4:%=mrKt)@#O`cKaFiDf':)I=Ui/rg%c5qJ(h>[_7gN&5AFLfAp(T;TX[Q5L9N3a44opfA)=b\J\8Dah)t":o;4T=(C;>LL_lgVCMeI +.to6AGs]^T(''b4Pbaf,RPXu4'2QK5-frR=G2Z=CcQhN,@o[o>PQF`_Yu6g_(7]`( +;5hbA:WZ\3(Z/VcWq4@ip`M\.:]hNlQYHluD[;I))UYCS)_i'd@Op!h.^]m=ZkCN( +'?^".M[a,'%3c.=,77*gnr:Q0/>C:)-'fJrMHE!U8R<2Abs+V*_=%2G_7&kIMC@igNN2A)KkK%J( +8j'iba_AY"I&lRs^E:2hD_i6Gs%F^:X*(E!Ca/n/[k7RU*>sD-+1>a0#OpW4,l@mq +Z&F9>JESp9aks3lJ$COqMmZ+7Cfp+):%.bt,!W7?Q +g$W>KkOH2W(d[Qe$rMEL=m"jL`kb6deo'3Ye)^1SR&/iqjeIWcII?_k)ijuZH*bi7 +QVShpcNMG3gkB7`dUU;V:>ds2!,;!a%%^_s*ggtq[-5oB'f`GVh'o^LJ;Ej=^#uBH +ck1-aM>,Nk^r<4&9)sH8r96j"(BBg)d]q*8?[YP=-Pl3A3If1XHmMkuSVOD$0#KV= +ZR)l,2hDKh5Ih\k0#5A5CY7epDC];DSTC,?pr=i.9Yg,f=lA(HM"!N?nX7_q;r8I_ +1;R6$n(8'hI]/O"G:b(I3ZqKFYBjb.q'XA_^jkNlC%jSYVZ]Tg,Y>k&)H]8-Jm4h@ +B;VKV\81d/k_1tc40PE'0-[i27;SRdQ;0G]kPY-KrmE=R141l;VoWfI11^A_c3j%_ +3"Polej6eROh]NMi'fC>'F2Q:&*uAdYNDq&4eZT-3X"WQIdnlV(9R>XG@]1)B?@.k +6@BgSkL-bQh7-oo#:[Hs907M)'*%FKqS3/_W:1kps)B%Z.lm1a#Q>gVp&X756Z<'N +!kA;WJPGHfGnX9[]L#fuJ\;=t#KRUj_'#=o%"WS=gXjZ<+T=U0lN/(eota]3^N`&: +#5IWl%1P;KgbfBk2YH"L.L(8G?**A,bNln#bldbpK'1EHYr27mj8V.;3V_W02mP4X +MuYUCp`1OQ#KXe-j?E'MCdVZ@gUq"eE6Z+.eaARH\pFW$Ke)&7^K$m?G.DqE;; +[Hcf+QNj">&%6o*6L]J+1]39Ai3#h"[19r!5J168EBMRm_kqS8etff-O7cDY:.QZDId_OQOGs!ATM +LUe&1K?>C?-s;d4.6r0C-&B3YAH@plp\_Mu>4BkCb%@*WT/Aq&*FJ>$K4C+*=b&L2 +\,>\RE61dc@KBiPh\YY[14h%O#M[#V^R^bf'_^pmFmYD[m7_hhWP6"b>Mk#Ya4OldC:oH\F8PC#qgRS;_%ZEHh.&'s;m`D^f7m/Oncc(_6ar)R +SqFiYa0a5=cfrn$&S]sK(;0,nA:_#dd3W^r3^OP_s%2;oJq%#Da;'.B\a__,o2X9E +#l+FOZOCaSrdPj#$0W_r(U+(!,:(-h$cW.D+Z%G2VU&?P&H#n@YQ=nBE#uT8(;*&d +6(Wc;?a3Wrj_fV//3:2o;i/]r,QOd7.IWb**.[sRo`Y^oPkIY2E_2R;_Hn?&f*kfk +/-XWFH1tQHhZnI!O87h>ijW77mCnG13tL4rcG;g@kPW;#@7&$sW.Ceg^cdMR5N@VD +"i-Ci!I3#VfEW'6;Z)+7&0;u`HK$`8gCmfr_#cN3gEHQ'1o\M0^nh;2O(Z(2r>Voq +qqa]u!YGBqBqg.MC*<)fdpAg7 +"kt@Hs,(=XWcJQbhl[RL06Cq5(BFG%+u!_0f4A(8Bi$p.I@]#126=Zbr3%LQ\E +8%RAakLTg,%.ToZ*:JAEE*JD%\HTI[Nj(fd[c-r=JcalA%e]\[eaT`Q#:uG +IR9l&;MA7oWG,7mBhY3tI">TtOb'1L=AWlTF5&8-Napj-J&Z=dXd&2QnUF,`F_R(/ +Bt-kThbD>pp\HB108VM5bSR<:b,RGV\k$6%T)Y*cr_ioH^V#+7c%C?G*#'&j3WHYN$SYo08N!!(p`^&u@9&$3/,(1Nra# +:gH=#s2biQ4Jmk#B8#-aU)W4#oh#BHOoM[Fg>c1[',8I7A;(1b]B.Y:h>cPYbK#+g +qoM'^?iU+q`;a,/q"^r>k8V3d$&J;)Z[!S5^F]ma!.d<&s#4;W[fs3Bi +Z8C.0(g"U:&cMn1Mk^:LXoSLME46G\%H1)'p#_$TjE&$*fcC<5[sXKW%biRnj.=6a +/E-k7LN98$mQSa_]?K#ZRBuK9GPt[e`m]Uk(Q%H2i`BL*MOmh/;&:\b`s&)Vd9@/iKAIsBIhoM7*k$h% +p=pC%NAL;!LF"(5`m7qF8()bU,\ZJJ+3ornRg"?BDgADQLa.GK.<)3$Mn#gS[HkRF6(t`I+P>nACZ(kg2d=P#&Rc*\`^6p!5K\j +543B6mTHr6LA7D1+,Bd(i'=1tWloM5XollLpj_AY^Lbs$Ujip7s*`W3Y^chRSc^qH +h?KQ,`f?G($accd4arD,/P42@jM"um;"W)"TAe\$!V:IDhuX9]/L.nY[NQV,m.tR`6An;F?l(BBj$uG^jc?Q"Q?E]o+ +Vj2F$/%&D.N\'n(;MtPS=0%,,BLUG97b6@R\?@!&k@Q](\j2ZdTd?YgNs>1,(rY=^ +O/pimXjW-,d"+Gf:o)CWD-tdIDR"@eOZ"#]K049'-sqTqp^^Lp[UK4B/>,6SUe$K: +V\E+(c#5:3Wn*.Z<+/)^%k>0,.oG7AWo+G&>U$AncW95kBu!dcPj:_=h2JJ`:V(2+ +VA>*=OR71)g?eddKX-2jI`3CqTYX"cf +XNLcB*u9?`"m1%d&8jt"+5r::rflpN&_('#31e";1Y5B(Lo[T8Tk%Z$Zu`('+:4_ktqUnYUib +T8jWB*Qu2Z<^7ZSrb5a8f@qc>>uURF-0=Si.Kf]XGGpVuJ"k`&2r=W1?_)"1&SFrR +CJtpa/*9(5s,-iZK`B#"\F;"5N0_M.cf;V"ZYue[a/kfMXe!J561BB>S3CK.4Q.k5Erl9Ha6`U8mc#s_ +epDStF)'$6C+E\>,C"$g5.]t62IKZJ@Ss[L?ao@XETl'`n`3X;M%cN7dm0GnLgtn5 +bqF=rMnX/M(;8^Gi"R3W1@Q@k:H`%drkF:lLB&7nqj/aehbH@g>i:jY!cN>*&d&)/ +l.?[Wr!+I^l-NC"kU@1nM?OtBj#_SR4%:\O&7^40(P1F^YoH.95m.-QkB'rPTo4W.cUsRO_gU6u8BIX^$U_]G?;e's,.3i1;^^s&mFu-"HHsDuG:%"Rmc@+2@s!aocS` +*.8e^$fCp'%!Ap"%WGNm+UrLQ=h<5p>\cKFpS(ecC6&ej[3kafY(qHiSh(R +blOq`a/P&M2HFW(h"nH"gYjN@9/\p\i(9-B<$3Q.bf]+XENKK&K:'6W#PnCO@QoSVUW*K0 +c[aN@FOKBj2tf:4+lZq]dDhmHFX$*')$qrDe@R9V;9`s]r.,( +]!%;_mIlM@eS)tPBLPdUJ4-&8N=3>"&QZ"S5TQRg^Abe^VS!b.R30TJacGCrdgofU,(g.^]ebDK0\KK+Bp!70WuBB4rY#YN9:Q9G3(PurA&Bi/8jJSDZNadA+'7,BDsW4mMTAV)D2(! +GX5[sn=/,%(g6SMhXh]=#o_P.)IE+'S?g&HM_388-UAtQ""'TE9V)%+^$qL;r$P-A +n2_CZGg9Fqrh"8`8Gj"g+l9/,j5*m/"OG_,[q+2pT4QBdM.Qt"fSUi&diRk +iWZ,J'[IQnVh(dG@:A/c1&i\@j_`X"=9(7R:t+PM-q+LL!_Z^C_47!9C8b0nad8`7 +b6=feqP;=1K$m1gW0DY'Uhc-hF-7f[!02eqEQsdA/s6TK%;GVpH2Z3fh+n^X?Ua?e +KWc$fIhocl.8PUQM\q?goEE;q^;\u[e,sn:#NL7`YQ3Ho6er-[?jP_^:N-F,fSRWc +n/o#Rehh/]&*%^NXO.RVhtJ07?1FD%\@3J$O/L"c4hE>-f'V`EHaN6$[qn-L6Fabq +e8s\*\Du(YkR-)d3q8SfKECXli7oX@5J2OUr7SOI!<00)+TLD?f=hoI'jLb6:ULLO +DqMK?de]S\$lqD'DHJ_Kkgj#/hmj[=MEP.pj1p5Zi8,c`VT,+iM/kN=MY>hd[-N_I +8)])5@EUdsJ$mkp1"huV-J4p.H$s=:S5_1Dc7"l$H +03$mECP6+STbCJ$)d]Z`?*4uj>;*]g-b`8!Y!OWFpj^mBTo/]oQMXIIupPO8a%dU[Lp*r55@H58Hh< +:@TFa&,P)l`W'5f!jEZO/qK!FU?fR!^@nV(:O]_D0j"FO!5Dm)qX_/^]7%X_!VTb:;D?;1?i@[H5$Sj5kSmGrKNfX_oMTQ,K+'rYNR8(WB8A +5?.b7NM9E@]3c$F`0nqR"Y((.;CR-350"tAl'BN^b$]NBF52qhcIm$C.L(5^k0@;U +pfZbAlg-dms$c>V>!U6]o@UH`d@uu4ld)=o-fN6E"MuD__>snF".Vi24dj(4S`id]$5i-2qpgO,KtpGRKpFVJEpk8_-&5]25UlH(S7 +ErQsH!cf`W%#?7RBT@L2?ZR#:\VmY99:&nr;[g=8ChW?j3YB/^;U3.079.&)4&:m. ++leb=Mu18>s/FMuY[hGYYQ-3W8NL?)8B*YsaXctO>IRW+bP8Wo;Kb5s4EqOGpH!?\ +Ps@b4:O*D#s!#ts\oJ+,5jC93*ViDOqr>-p^GT&s==a/V$(-,&2*k,j263#\K6o+. +;B(t/5k+g+D]$R1mXj30E,NEr44\noH?PgJ+oYiV\\DnN@*>5GE4t;aND9D4*PhA9 +fDZH;po]#U`:ela8$mhQBB2:EMo_odclV,[I&g\pZuO-hA'^j,n/nrd4_MG*"j$gp +Q@7p'A0j9\2G>#"m+R$jO(mF3ipHPbXa7DIR?nW2E)YgL'!@_%??=h.[_.R9K6Z1s +i&CPgG7&m#,&iDr42E-b4HLY_$rN4edF;F4EV58`%g;n4Im!5.C7I5`Rl@k_n=S42 +lI74%18pSJWZr7-ON=gEp^cFmZu&pPWYaAG/_NkLg>?GYl]4m[JE:qFNC"7%U2&T>/p!NB[O/b +p!\`ikM50oJ=/RS#dtXt;EIU#L?BO\B&LG%8(Y1n+2k>&5!q"%Wa^Q;^f)5ie?1,=2BgX6-/+G&Y$DKisdrREhsWk +14EpmA0&5+0ZaGpLJ"RIjn1OQ-$$V-fERgtGL[r,",QRnTU?qK7QD9KX,35=Y+\REs5 +i7.YBD/@7qHcN#NYu;HlnaK0OFpR?aCg)Ahqp%?o[V\?p#E)&oJ9TrO^10*h_Nl4^ +s,]j'"b;HFgGZ-:((G!oFRQ<#2B:Fp4EDThl90+Mh6Z.r\`DGrUmmZ'5u3h+NVUZf +TlJ6(n>YU+)6j)V_:'dGPL"V'T6Ld:GiGU)-_=i#O%S^cPNZu;Uf424Xq_c(39)W* +89qG$A`!R*s,ps2ZuO@#IatB7jcFXgY>4VHjaCP9ZL]me#h2p?S(<)4'ucPRj4K&"&]IRK"9sH!gZ_nAQd\ +i",@-K74/8*%[cNAobR[16B9<9\G%^`R@o +r8P.7:5X[GTMd#?j9Ap(`eBIgN)\?c3!EZ?Zl<)8`fb:L>]X:E3&.TuYccZ#,TI!9 +cER`E8]nch9"o!H^,a>%"_s`bC/!Q8^,iGs/$`&#k,qI,X\Mcb:29aPN&nYrg7.=a +#+7><)0_%gWf3,l%22A,U*)b#dLN>/O01B5Y.Bl)W]!GZHRkrL/A&nY]A>QS4tume +LK6%;0D+59rI\!XLCQrbq]>prB$W&1R], +H"\nEnCP5S^Y)9TrYYZ2fVnTF"]#Esr*1%j +GTQLD9`^4Q6GWUcXpG#U8`7&cHs^jfIQ^'neMIn@_!gF\ridO?QXsTMrL\6ZDc;2( +#CkW\nE6>I^Kl?a$f8cCE?9L?ir2GrpTN9r\!`::V/jJaMX@D6jb^Q.s)TFXF/+\7 +@k@1[D:'-G.-r'qUeNSHE1=^@X+FaFllb&A5jPdBi4g`15L\@Bc-nkqb:^WW1@5P2s%U$U"U1MZ(;:C2,rK:1XQJJlA +Mp<@7:4*%&C4P4tK@atc4Ql5\J=GKi94,%Bk\\6b=MTbTqq?PiAc2C-p`cLQ0;@') +a)8SMh?:XNQ@M(X=T)kE.!k63Z2f7Z0Uhq!^\l68#9c%a(P;Zm]7,R.&"JD-Hs!R= +QJR9G^P(MbX1DQ2oiY6%3d.,[&*@lu41"DQd6sQQ"8jIHBTdNe+.%(7(*I2k=[;UB +@oNWCVb[sb@Ye6a$?W#_$-b +Uc/4XV$#4T\/^J&>Bps0SRJcE@%h7KQJW#+M)O9L0"J-Ba-GJbN53fRs@Z?`k#2;L`X +s%fa%:@&4/CqEbc>M5<"!5f3W:YGnfphO#ODE\Bbm(#hqqm4W(`m.jlkWH@4C*.Qk +F:RLTj';(Wko/KYEOP6oQb'SLZ;b'N&CJ*\'Qcl#RT\o/N=DWN6X +jXk:tg\adibX^=(:Wt*V^1Dt^FkgJRi'1`Qn=L^!^17!af5,0)<1/8QL!X;*W)EHT +8t#Gm\`g35km[*k^<'MI'p`k@UQ$Q.(10;?`]hq6:rZXNigfg +WROULlI'HA&t)K\'n/&p_)ck8>.Gf@Mu_lK_LB/ms.p;mjH&ms,=qQ(3;.?g"]Orb +](@+n=s+RP'am8Zn=KY::D;YN.,"4;"fN:[8c:JPf+7H-KkF`^]U`&KoM%5+tlQeISUpuT94k4S$A]oZI +eO2PA8Dn-WM_#SMmoBde2\KG@'#*$hq!JFHa"4t)Se_%nU'oR#bB]9$_O7NN&q3nTt!c +HFZna\^?YS(o)["PG20;P$#o5=Ng7PlcNo,njr)P#ck7MS!$V6U0u0=5b!?*gDiGi +/3dpS!/A6sWh3_2[s<_;I>WesZB'-[O"&o0W\H2f)q2&255c[6oj-k.:"&/mm./>q +m8p7l0+rI^A%"%b2P8$-?,ph&LFqrhZhB"(-P>.o.,OQ_'aW)<6C(Apk74#[[VSD6 +rZF&?b%>nCZBo(R_DZ(p2ecANCZ:`2/t1@pflZRB&"U:-SpTHc)dqU@$idW$!UGgK +4:bVD'u"Z&bXI_IIG's\]U)L]0-]#>LSMPU2\BgaiN"V!f-">=c]6sq*u%[9c!7bu +p?a1,YX$pOJZI]1E!([c^-,X-hR4IbEg_12^[NFdnPok`Fm/Cm05;JHM&XXOt][VA=`Vu%KF\7FCGM=7?`>.m\'*%"q2+89JO/lqlY93 +I5aaQf1B2Mj0rAaDSHP3GT40lg5l!ZQhSX+p\8#=%bf=*3JW +Q9t(hWo-qID:'0.)W!17=X5ju.@%dcBT-PA@5Am#YChac-ZH +eJr$En:-YU^1Ym#A(Zcbpd$KgN4S^7So#@PXQq^IAP77t2&i?g"/F-dX2-BGJR/.- +Soo6A3BLHh2I"s3%g(otVR/\DZ>/#UYLgkHX^UHJ7u4!)E]MJ,F5[>>hn0E(Tk+nE1k5tI +;Pt!^9f6TrldnppCW:Ls7S+?4RUnVhq0gBh"2s1RmICPjlM9=)bjEg!n'NWKf.D9F +S_p93e"N$9ChLo0"4c_uP+.^SSJp1pO<^E2+\0VleYJF--^Oi&LO9,^#0(6X6eGbH +*6VICg%>qa`06`5h:[1-T@bd1cOBR:(DR\O\%U"Bb_'/ZDc6V-]AB +Un-(-@_dE"H?-,g8r[G'Kk_Si>>7encqGt=A/&`'((k%LLe6^nRH6L*[FW;+5&$ho +*]\fJH"#dH@"W9FPIqH!:68do+:2_R*N##49$.RmbmL5A#O=[;T+Pmi'm[lZ+PjC9 +mIX5GN'QZT)1p9<%7']%'bK.Sr8DAnOJ2OiJ8!f<@j`Uu%u"Ws+7A"#gY6eYTC^VP +hWr(uhn'pqGD2\o$[@..i,080']VZBG1DXod>rBuIpTon5J]o%p`Jt'"n7Ro-K4ku +Em^S-OKs7i702u0iR/1?O%*jXAog@A918KAJsS'B\(u^5"ps0/-iAqJs#EU-2dDJ0 +X?k&`rjNoq^[I'Z@ojNBs,ZREJ(mBhL\UmnMl?4<.i/02a8,a^R."ZTK[30`IkaRj +eHFiTCr2h-"oc^Z65r47V#J+"i6PV*J(f;B]B)PtRXb6FQIL,5-!keR*ApFXWZFp$ +-p5[NXf!Ta-'/LDan[[Pr)d]"S5F:=GtETVH%Jb9S5j-jD,lN(=?o<>9mMD/=h&E^ZTgOQ@4u*T.[C>;InS\5 +:0`:2\Fh%cq`8-j/Dr!io/qEn4C\+1Eqq8L#4O +!-IV9E9`%d_!TeaUW,C`/E"tB@,@BW("=AO*Hd@UFJ$P9.rH(LBpg5XP:H6i+mtFAifGEo'ebHqJ)^\AksD7]_Udtgp1%]gcf=.o-EOpQ +f_Hr`i*F:HS)=`pT8u@jhYA`fGFcEf@DD;8!<.W?PA@,5Sbjt0!J(7MTJK[#RI`8( +(M5N5oNp*aR8KuO;m0?%[\K*mN;mQeV@b_WLM;-O6/,KB'*NNW@)k$Go,lku*oS])YX\daqR-C9c3<"4qIdEGsOPT#sC +)O\*)`FSbA#P`LYjnA!#UEQOK+s`p\Ok-V($N+gCVR6sQD&V[6BGg5j#1^X1V3ib. +8:7a?YtT,19Mh-TB^QPKlmKO#Z@8H'BjZ6K!<'0HlpI[A8c)mmlTe;t?VsI7eFqeJ +8(-*udK]IgqVZ);")$OVj,#_1+"REe?Q^/BMZ:!@V=KaK.WI>aA.T6#\>b395YS=* +V#p\?d?8T\SOR@R&7G:pdB,M0Ih9`::C=hcD2eg!!%1C',<@CRiE?6X=j/ts +q#=^s:W<.%jCXeCC67LM9lr];!!,="+3?qfpn-oMPMr@/k>//bO`-&S(OEP[ICXBMk(+(T46sim(Va[JBj03I\ +HMG9a#lAo&o#ntZ(J/DGB\PHp>Ls1N0,(d$`:$r!XBe8r]StORM;>s+"eD;"@7Us4 +j"21p4QhcqBD*@C5Wa.&":UaYD*J:A0MANP[V0#+Dd0J[8(AHS1"fHKQ%YTQ0 +S9qSfFraR'S'*^SeOM..7B@[;k&-7OPD$m@,>^Ld5)_#9q" +Rmc,f`1=C-H]Sh_D00`E'-HdVcSNQ>b0/RPl"k6\Gm%1?nr?mo_bWd]&^4 +/=KTh!WK9$=s4(%1dmHjn/mShp^`F)8bLif2W4VDl*D-'2L$4_O7msa)cq,#QF(B\ +r\M"m482IA_+1\,g>G[`YRV2"s8&k`g.`Q@Eo?tTHJJe9GnZY]]^%O6:+e%.oe(^S +Q7cu/UmliO4E]UAL&*pD9EG(;lmE=G7NgO>[i@B4)hA]2dhF[(j$K>(75Ntii-3$4 +&)V,!VZHQWY>Yu$T@BqZ<@d<8.KK5SX-LomeLh`KY#ol:bZa0=Rd`@&8$RF?kh3>cD`HgALQ\57:Ed'0jKHT@?BF8^_L];NB_q[_^r]6'AYW +&iN"(:r%Jns$o1jLjA%gr22dQ9Rl&c,Nk-T,74MRr6Z.-E\%3_WKLAaL<*`$*"N'7 +(dX't7Y=H>N@(c.3P%sCWD5Ui<\oB-6*F=IA#dQ!W$X6!l&Cqo7PdN;G=J?CBS#Es +#+(E(YJa$dcOtHR+qNiL+4m4eLE(g8lp-3i:eF3]2CL^b(Z:AET+(X1"I%78og'\j ++'AT`J(t*EpjZuY^;cND(kY#&^B*j(IguBs_LKZ)&%qsm(529$FU)r_7Q]g`AK`03 +Rhp$Z!NlVLSGs_CLEXpe.)j^jf`cEtlj,:o$is7V'R)C?X>ib))'Rb'n?@]I?oD5. +\O:8;7eEGNhV0+N:PSZDCBB*;_Cl]"^K;-HrJCl"qsQTZs4e@h-Wn0ukWa8;63#T" +!<3#EZI&&"r4cbSIPsdunpg@ls+``=T69aRejK4P01lA]Qk]B;)m';A%o;8I=9j]? +YD@\5FbE:`W]8e>1rQsNfWHpT4tk7uSHoTXcO)F[>ThM9No=K? +k\ZdPCWu:Q8@Q!FF\1]u2=:69*ehn27a.Jp/Nus4\P?DCNaKDY#N0O5LgGQC[J;"e +!tWHRaG9cY6l:U@(P.Lr_(2_,eo-/k+IIp8!*nI#F_9*GGg-T?nlW6dL&Yd%NEUMm +qKHcQG&.BVm>"POIVc#/)YiO>]CoT\&[[MN^4iWis$6Y_fC@U^iQF`Q#QueI$?.'1 +]*RJL7pKGMiU@N]?O/nV`V>KiS:RT@Hl'!b\M"%](Pi_`e8H6"O(K'[N<#EM4_J.! +/\V^!I1`]:(1E=/bbO[^NHO;?atftH]H9BPEWG7B$!AU4gX70'U)cPP\hIF6-Ma6% +ML^!;4\M5o3F0FHetMpTNVeaMr@Vdp/Ds7`f'BQ*[ulLHYC*looWUFB"V(2b^X"gLeb;gIu4E<77KFKg+":Lm2/Q5j( +o\6fKHOd1TJ`//F;O1e^-FFQiGbG#(Ieu16A"D%EF^lW!<5CReQ1dF_qt;m[Ei9VLXOmB"_FFm1Au4+T>GR +Y)sX3iQVhd[]I*Ok)HM6M5BtFE^_!!AA._BH`mNS-gi3lDA-*SXAf#$,HHr:ld8)C +_.2f)@pHDNIT?n=^^_KX6'8oW"%<-%U8:=:^`UW.)H&/Yd]QoL +2D1K+ED9YVpu;GN:MX$-P*g'+_iube0DkCB'm2%h%]C0%OoL5C-'[g_1* +)V6VI$Q.;BlVc&H4sP3#qpT=N"$%#c$pF0oH^5)27?a=.UP(Zqf+mHPG!<6coh-N +*807dR39)"2rG^^JEVb`;3.6a*]aEsfa"5mc?@%umD>]k`]e?uIu$,n0ck[-mXXmN +;LfCj#dAh7Kd^=mijhZj[;l=N5co?)SH]N+2kVMjKLU)fK1:0>AnI#l)H/5]7O8tc +WI^E>0;`M2,GYX#l[B2Ki`_@ofiAiX8gtoru^eR[fDruGK$2(.IXpiqhHeS +DuTbDs'qR;/HGSGh?*=6/-Oqa#K=8N61B2js(S(E$kJP$G@R)";6l*gJd_6h&7iGC +%aBWjl`XG,U0Jf=UcV._0MR._/$N>4FBgKiU0[!Kr;rUOnNl[EEt70\MZUY!(AuXM +aBpjE+klt:NYiQ3Mk\LhgLC38'`%'`n=Ot"IQPUMMfHJ'$kRm?_tX*>rpR6=ID;?A +#G$6,knEi>=QnA#K\t#Cs*e;DGDh'fk6_*)=Ub**q>C159hTn]7,mkqM5-@AM#Tp7 +]ih?eFOc6_C2#H"1mqO=@U)J`X%Kd1VHVNHg=FYf)H(D:PHF-`/Si0(i[cTibf_6U +bJJ-KTI@kson!Z.cODYU$*_P@[S?@EptmpU`us'a36T^`dPbXkYB7s7@`NCrgNS%_ +B6_mLA1(d_0R2_:S9#:^KfC(1s#b\r1'g/_R"+DA3UiF=SbapC"nHOtbJls.cC-l\O(- +iQJF"Gjb]8htSkB46)%n)fOR@c_]gm$cm+Rf]UPAEM,3U7h1`E^H`P7!V;HH.):>a +#a!fG5ceD9QZ@o4MkkY)pt(KeE?Y>I203mYJYe-&I4LO/T_F[;d5n*A;?3;3_jXm^ +D?5)dQd-%\l`*_/O\,;Pp$f\@52]Y.e4-$$rNKm7V.rP15/?goAn:*p&H@f6W +XAUm*_&jkNJ3T]uCXf_#g,c.hJAQb-4kKe\J!LQX;?OSu"8kZQ+-lF&LrC%]("6\? +)?c^5MN<9*eL_Zi0#H1h$V0ioj'Z&9pe^_trR*uP5mK+RZ@EF$;&H$USG\or)1_Z\ +;V!Y;]O#VB^(CY1It3$VCg`)R:9^+6:?YmWnWjg7MRFA +k0&J?abIYi?.KfC+Sgk,U9mGWA%0O7NZf8>iO5Og9Shdt\df[Ak.&d5H&0oPPnc-XZL9GTs[g@lYAINn"&]cZZh'gCi&Du#f\$ttH +m@AG:E-M*Cht[e?FeF?SZ@FT,!#Oo@qaK)kOhe4WVH7JV/t'`plgFW.CEKkK88T*V'R" +^'Iqo']:0Em4r_\1l/d,4hL/G$QfU["7SPKRQL8S*@6?U+"sPP@g,\7aCcR#J6Ddi +)-F[K+;Z+WLptXd1$aPWoYPtC9umZ^#LD()^5I6&Sn!P\':5t8bLYB;EN+?2FCE3X +;;6=%lW>SdSGtG(^R-$9fIB>:2"dFh9u*.9Dn4e(GE^6tS[;>#N64EiN;#e["tg<["^p>(9iF$ +i4j0MU1+k_IsAG&rT48Uc'VO,ZV3ctKP.H\"7o+ZL3r*KfCY3Cn.#;^i53(0*BQ+F +4##nfSYAi*+ftarfJ)MkV6of8Ro_$Z9A7X8digD#]_`[=X*.+;CeCIs:Hitf\St6; +Hs4!kN`rnWXlgTZ/fQ[olCf4^B^2sR"7RDRcR.8g))P+Sf1h?B"uJraQ1G729;]e\ +/A:=Gc-fHefdNg&KVlPcB(`.d%Zh$D20,=gkJ5?(cE/)qC;YZa?#"*@lD\Vg3kug? +0gEGq_L<'c+*W8tpt*S7!<:5RUR4[D[47"j&<-dR'r!rnb-8J,9d'DhS4jGHPsM(s8BG'%gN&`[fDruM67&,#J4s2QM9:gF5jFq^UX8S ++TMU++?e#ti6DBX;*OW.47Ym%l@XWeR9i@M"dh(#c0=Y.a_mu4DWkaf2YiK*mR&H4 +;QkpRk_ORFS16^f-+7,R32dV*C(^<@kMCE;"[?K'r:_`a"TQ7"$3$Q.JNp9n_^+a7 +'nJTQo)E8qi3-qj5^uqNpP/qOhm3',29# +oQD.s1O^#tFV6fb +(bg4T1ir"JG8A-1#[R]6+*l2'q/LrbcU1_5aLa''>E7_KXt4DDXMJ'mUR=#ScLikn(\s8<]uk<X&a?]33#sd)E!TXCf*:gN-[`. +3mDH9`WH=-%Y-"D]5?fAo<`65qsaG^h7@l@q4)1Kr"7e#gTV\Uq$1sa[t#Lc)tto%)+W$VeJ`7EETIS'?Xc"82^!BbW3r5C%Vf=rl;9$hf6nu +=\AY*@0=OMUAaq6Ep]AL'Au*M_h>69[fCXR>JGWAMY?t,BNG98qpe=^k(h$-;Q"Q& +=OaO?2lMc!quZ[+s#"in206B01@^'K;0"[7!RK9%4-\3ULku)5C,?LWJ/u!.ktS1V +nrL!M!r87)nGn'G=\(9H>plCM1DShT.3AZiLE!lc&#rNb0:._#TqbTfpT4*(,fG18C^P\t3$]3Rs&/Z+ +Zmc\n!^O.6Pm$k5-8D8fNK2;F*u3UX!HpNM_T>ZUD8p +$-+n)03[dlgarO(s3W+lkB$R9_>2F;s#l\ZY(,O's'^cQ%h"%T//%rh`;c_]_>c=; +pVdR"(DDK%*[6!_NM:iOs1;1CRsY;$9ekV%1;YuMq>R.Ts820dA-%=9?VL%jMCnV( +\U0sT7=WHH_rAGY-iUDMo!mrC8sM6F=FNA>D((=pSPAOre86%(kcR%L0=(fq:4ZTIJHj0%uC)AQT^[=<(jVk\ldQB9qgs +OQ9!1GoP5'bd2/VC7IZ%%_ZX1,J0OG4!'Sim\>Qo';n.FB>HBZIT)%$Zc<*)VZFFD +IkK+C.V.d!GlBgU#Bg*p35kiDcBF$$djQaXi4]P(_hY[jHS+U<:[He/*87[k/B2ib +L3Ljs%]m^TFq@T!Q:"jlI:*(GNoR&oO4W`Tqt,Rq3",$LO*Z6Zo:C`@?%oDt-_:Po +60*OR5-sQ3JWC5WgHImTHria$F%(L7;*.Uh"Y^"&/)WWsJcBto#=AA*hMYJ'F(jEr +;9uu,i406][3%H4FmV>9j1"MTa=?Hkm5>?5ml?=8CDIY@q(m[DP=04"`N9fm/5da0 +l1Z3]7;^Kpf[Id_P(`I+71<*`9^)W0Mb_OKESQVe=qTro[(Tcg4dN%Q!VKE.kWp`g6[s43a;LNZXZ"m8KYElZ[3-RcbA8JH&kP +4l2]Ah%2I/LThZS5He4J7WB;iDGjYMQ-70YEnJORbG;^0Q#a<23MZXZqAn>?:g41iHM*_Mm>;[CX\]9fbLNWLdVmqGF$Y]cNU)h[:&Ur; +KWZlR]O97!B[EtOD;aX.Y_]-ks(Uk8(9%XY:^Ms3#VR.KW<2i*BpB3m.`TS1 +&H#=;=,^jYNG4]q5MlGqIo%AnQ^H6q`9:/q)pl_Heh.jgQVC:+LIfAdRe`_i-%fA) +h5V>UC71XXN%U)H&FdG;-+O=Dl@ns-@(UjV2.-7e5beYqHiY6*q`mio`+fI[!.]Q. +[;o0)C.a*_"&usL^6!_'&u:fN9l1g!#*Hj$BM+WBnZ>]=$qRp73T#HoRSM_$'l +U@Z.$@&I8KF`ra1'GQVJ#QNd_\d$=&,D9i!oSpQ*W4fu']8IG_oFJ0/d:`$ +@sFH:ZO't71iFDIm=0Dc;IdY/ScjlVL=fb>kYh3:\$r0`*n;J +>1KC%'"R6.jiKWmTfgb2Y1@!`p/%@+@%Q4OT&+EMGpJG5QDZg9M_ph(,#@8t`j3]2 +RC`?bg&l%MrH.V:,YECb\LEPD)bm:=1T1R7cM'3?n3NU+P2-Qa0'8Sq%YaW5Cs+0. +6dM4Mn?+/)ctd7NF6^])Fl\U**6:-l#i'X_aFEF_i#fCP*P(f)AF7sJO>psA%PT)-Z`\NioplS+@fo/q2dK#mc9II=Z/D.bk" +-*H%V?mV/rF/VU!(C-Q]J2[tOnm?\X]_X*s"`)CD[qRS$Dr/6I3Ukg@qBbDL4o7!B +nR]MaC]EL3O2WV.1eRc"IA2LaQ#R8E!Z-C% +M?DUi'1]E6o%KL[jZ%ZrgqTcEZUa6_rq"WSg%(s>:V95MNo_1&E4!u3?(Cops)l#P +=d>-Vl0N,pr$>eU(>.6ABK,Lh)?BckjL/W//YIGp#JkeCd_;NsgsBm@q"$>B\E]?; +C?78B"WZV:n:D[/E/dmh$K+Xo.CL["W7nH(^7s2oOX]D5Q`Q?bSUg`uUkT&THE77& +N+Rdl[&@7lUK5Z@Y8gUrmZkm8<[jKgXhj^i24toe3e0G!Z\"rX4f)-bJeS2ls2CEh +PRXXZ5ib/,>ZH.Y7B0=#CB8:Wsm2arf(])V6PY+VbK& +Q[noi$Lg>hO;`Y@OYZfUZJ3pn[5'I1RHSsNGQ9oqqeu]HBH].B['N'#l5=iikQWnj +P<,HF4$HoMS6VhR";Uu(h1UUVHM(6FI\gKTD?k,4f)2?a_B&F9L`-]ciC$fo3Dm6E*- +SIneW.9/nfKtN$T>t'W^lHuVSdn<8k!fa!l@VCLb2ac8XY2B?[P46g#ZB)rEm`A7V +Za@S"CnkdY6Rr5noDD>3"3B^MA4@u8*i_^@-A0\-T-2ss+C22O^j\n+5-FWmIM)To +IT3m3oetsQGCF$!#Nk%^J/<^lQ[hanXT.2nrn@p$:'Mi2s3^O2\-q(!HPRD!^(V5c +pAOLNpT)(^e@Rk1\-k\c;aKZ^W%0aCb:q2i(s*.@!_U%b::?cqD?-pu=LC%RTeg#$ +39C-UVDpMAFMEcR`[&33k5Ro3i:hs/Ilq`>o4c$JYp!02s5a[H0;]n1-iA@^nFKL^ +#ihSM%\cZ]&DM]DJagoV_Rh#+Rr!Xs)W;ruE1BHY90k3",)brnOT1eD_P]!`T61P> +A:T3U#YYO%A5)L!ERF4`M1<3?!r.8p+LtYJ@&`c)Vau7`?[95E30g[.;*^X&<6$k% +W51+9S1R^4/(0e<][]=\Bsp9J-;P;\L<1FpGWKh$$;)]'V1li5#Iq?XQfDrV`a`C5n)AsF2Hg\68-=H5\Rs46+VSH?DlY99fbSG6D(3KfO-\tmE$X9:Q_=t(q +%kMCW-8]]eRYY[4W,4#V"4sgNla34$d10MRD1LJ3DLorc(nrX_o&\[+c#uB[Ul2YgJ6#>^!WA3(XAO$qrq%;&QJH_kWYY_mH\u5GCV=K +r86#m!:0gfQZS^Aj;+n)'0:Go'n65_PKG2HMM2WAUEVp'fE(ut@Z.m?]!\1KNQMQe +EesbcD*Mu(67bQP5'Yke_ +*T.GD!;E&<\]r(bHI^M7@N#Mil;Ztd"eeBpMTL+q&**thH]=hA[C@F"8>%nZ!@a)C +'-=^'8iapTE/Ar"Pjl`t(DoHNPS="h(ZU?*]IZds%rUn69\Fsg-[tRFGtR&kaq;,j +<$FV^MQqk-ObLq$Kuu[b.cL1Q;0f1HH0WeVMI,PiSfgQS(p\]1$6^;0Ja#cjd>AF] +W`D[qjuKR[Ku'Wh+lp!AmBePS4Tn0L"m][rf>[OrU'DS6>Q)V32?iUI\,$WDpj8>/ +]][$YIMV^,rTBLE[oi^>aGUlF@6>n7bjSh[kX2$Vcj+-S0:N#O;oA$\s,kS@I.Im& +s5STE!U8GFR9nA_+%i->DF'q-=f=eYQtfok;L?(30MQjS?#hAiAA(P/\<:f6:O(X: +s"0',#6fQ5,5AK9JY,a.K7MK:)r^\9&DrNQpca&EpVS&d+*J7qX&IsR*W2PHK)8DuST)G`"Q:I=\\L4r!2f7*"lVZbmerg=hN*!YIl^9uknsG] +8+6CajHfg!gEfT6,^,UMf.%j48tRXKb:XP\J.^_.03/')PUJ/L.'Ad`YEgYiej*e= +CLnurV(0[-8ol+*p[LnA"9G[c]QZml#TQ"l:%Z95*ISgY=N:[Iu-_\,bXpPIjkj)eON! +`]]u;diL?m"IkAYU&27tier=5Zu7=FGNQq+p6\&:@Y6>l_r#J/n(E`hgQ!?/O/"l0 +:+Y`;f[RGVldQ4I[J.L`!MLs[W1iGQqrU49nBPr==5eI63s#9:[HKi^+$"IV4nkS( +cb0WeIN,fr`c(OH2sM3-l,-[]YHN9ebtXNu'NDOgLcQR3tQCd3Qt7 +KMBn6X:kp&Fn3r3O93dP^Qu+qEPgR&;4C)g)fL>[DLB"Y%:*TIpg=-#2Nrn3UBd*[ +a#7G#6`Z=old6(FeuA'3Z,Q4Cq8fg*[^TLMEVHps9gTn!<[&r)o6#+:4^SOf:UXo]:212O;H%f^f +I*n*t)-=51UJNZC,^W[r')2u@-e5D6eA-3&^M-?QEF#nZ7AXU&[M41D8#kM3pgc,H0I/0A]m+h+$MIJ4Z)@,m85pq8<)q]/ZZH7>ci`@ +obn,8+UcpVk^[#nUW!B&"8kFbs%1bh=WQ#0D,.iSRTp50PL0kiNa.8%j3('he<6FH(c0nTU"Ub=I:["'=;9IjT +_]Kp)?PqA,9a;e&kZ,moe&q)*VY@$%[&VL=AE2Fo(dn-grVFM#RTXJGR6^a`[59"U +LK8R/.2UK"b%ZRMeMBHbC2()u1r):W5d^Y=!m.ibWK70H+ooGDW)emYTc.",(mQ`j +Q7Wc?ocu4cg,J,eB=sH:-k>YB7);(n_>g2bEe4+*8Imu#,A>LhF;]"OS8YujIthD4 +>Vd+I1DGEXZMpgYIVEg'RIYnHEWPED<=HscL(8`FUce?FHL-nBj-oJU5$?0n0'A?@ +m@PRCS15JBVX2?"o8'/DVHV[6H&>6T#_>'O$k)4i@m_+>lQJ&ZV0= +Wg=J0U8.r11'.p!;Z+Rn5@7RkAb_[D532b@'%!!Ca6Gnh49&gjhJT=NqKFTUI%&c;i3i8Z;1o[Y1?k'e8%b"?bGC8#ar[aP95deNCfWaQXa[QWojk9&nNk^cK1^7#>:Hma0"kTe +BYF?67^;STJ]r/KgjG^Q<2SYGWldSaHS)L5?G;RB[2!_TFZ+MP% +I63`X#1qWW2k6eSSB#e8a*52:G5Wd!6fu^h<\@i>Nl%+UK@kr&m#)GCA^D(D$gKft +j>@%(54b@/pR/p#Bi"9!Mshil^kqA.l?MPMHgJg;EgSk73jiT`LAJ]Qp9'gV4p.;: +rS*Y:qt;85L@7"sgir`%SAfCfhX/5p)sQHJ%G:bC,ipuhr84atg9i!A]`?7[n#Ha< +oJ*e@')6tA`^U'Ir4-I3BJ8Qa2Pp@@&/Urir$lgM:&*F45.i]K8`9W?c/=`EfWj`f +\.;oKH&ZqX\oaE%F.5.2)4m^)0I7oAml@0M44$B4'1L+Y`CuI@9p6kt;^BS$@ce(2 +b=iLp)SpIN[cZVGec29aHnBgA?-Lk=/.6\=^4',e!gA3H4gCP?YSc(Om>("ie]=HG +0O.E@-K+%5C_6AkDDo#"e$c'h>YqGj;lKp!6i<";fS/XcB'l*leVmbTU0?Y.W=C-J +aiE)-"m+0Dc"_K66`1e)_*?:nSQNptY?4f(K!9`/YBa-]"uIi70J/j-W)1""=>V[t +c^)j_<@ctSD;6DeX_BIjLe);bea&;&B[h#:.q]pb_2g-]PqGmjg1;LL"mh,bS9"Ft +DE9U\HB"FVN'g'UD*N)Z20N^m!9St?s'ReO>)bV.N`DY4"nc'W5K*TFHHdt)-D"NG +Mc`0?<&CFP2PF"M2ZWkHIFRrkL&L'nM!ZRs.a^;\?L.HG9T5:&u:l +F/Y'SPe';Ieg8e23J7/g_ckt_Ro2DFSGPu?G>Ptd>c3NLWLD5o2Glqf, +,=$_FdSWmK\3Qqnj-`NZYZVo,+m3Lcnq18S(!h`;13k,0. +&-9u[re'.kG':MR%EK&4d%m8i9ZdA7"8OG]i[Y^P6!0gEW_ai_:Grp^cZneH#IZkf +8p]Qips9H_JL"qT+?s+FZC\%9rcC/m<-_i*JmUQ,m)jkf7=Vn#2kmdEDi1W?U9k.R +#qI3n4@7=NmYQ#O6O-.1@dgqK4[adYPC8mqjHun(P+pl-;[?*[%nTUe8Ps\A:gDJ> +/bAnAMo&2/,IK0)kY7bt9nC[7r-Qbr"YV%]V[K"? +$6DSADMJL9q$V9"pm57]Q9E"epbmbe"^KH.?PX3g/AOH`hb!T_5Mo7lq0t4Hn:P-] +i;\'X)^MXcJD\P@;PLsA;lr6RC<_.+oM1`5e,^6;bp8T2Se35jkHZ3$ci1g50 +7D72rh>Qq+FFR?cn?ho*6+tcFc2HZPWT3Q)H_o0V-.5Ei135JHPA,pQ8W'XTC?;/- +>^oY+QYrfZRGjrKC[44CQ*q7PZ4].0iPSiCTAFUXg@LokpRBqKA-):Qr4r>jQo2qg ++9a_2i#qiim6I=+rh'"\?(.^*K2mJQ]pCnjW+1nSm#glJ(]iJ<@`s.4_fPnNT)XFV +J%kM?m5J@:S[N:1t5si8LB@#?nOD'0i +4`70VTt)l0YV6XD]Yk?YqI/-06C,A%^%IBCNAj%+E/e/h_(D_e?/%Ye.abr3b_CWRJejoB;d`cig>\<%9:paH[ob7i/R,5iZ6G;C!iX-.#$sL:DApYU,iJ +=s`Qc&O,^k"/Q!):Y:(7^%"!!AHAu%cbAi>$Ggim;]Z`D[^\\kjN$d(bW>.>K19Blu0g.dY7n?a.=N^MnA +7'tl6Y$=)`:]N,P5\WL^*3f8ME.2%*nK.d=WtJ_F=TEDi8s]im57:Zs=J.S3mJn$, +@aVo%e]@t&T[lBt5H.d@Ulml//=Fkf@-cFMWQZg)$@r/4B#0RT_5(s/Md-Sdmnq5B +P=b.>9H-gS*R`/YVO$&?OpUF&bT"n\l6YP9U,J]JD<_E(4ZWap\qU*/73I+F4G@DN +%7#B]']=Hs0cc2QidVLBs#$f*C\2gj3*\Ib*:9d5_4<-[S0N;@t2L.+3XdK +^]KZ@HR(iG`'om_:;rS2^o&XXd?XW.Q2PBR4pc6NYtnWbA6`T>SRSC#i#]&K&"Op4 +57NsdpQMriOL,G.D]ekl,uNAH=l(MtfdfYE,>$]S=jG: +hr([.Ii&#-@DVsKr&=M7s%.)t^jfVXli5VGs1@CNJ'.o-/H0&<^V`5f^cj1#N=>PSar0BQn3e.j[!i0Jgcm5EK%g9P0%D1e"Eg-R]GPjMoXjcX]U!jPO;r(>g_X +5-,C0WY]p9+oq-4H8jfH55t$Co6n*/msBHc+THYt#bSI9^UB\ +LJ6[%>'NmA]M\U,8c2#`peA*59oBkPFs#e$ok%-78b]Ed%I1E^dZmjLNFPC7A>QCq"%C850)MaAY(nVcnBMg]Z26(Xq4^UunAsEO@+6hJgD#gF?$(1kU-N+j.V.,!iI.h7u +2T[.F05,@K,Va)'KPd02'j]H;8&C_2B0L$5pb$:V)t_s)VB!7,gB%b5'EGoALaRJgFk@"Q!A:bo>s@S&BWE>kt[Q):&8) +brWZ;]NcVur(HU7$aTSLdQ)8P;_85+/![6:<33'"_NbB(f;`.%mJY[]?e-/AA*^K$nGP5D#sRn;q?d_S"uoeh0*`lY$*tj +^oDQ.=9--dWANa336"7W_ts^be0!rE@RT?KJ[tabX-gY\MHCWKO)Z +1IJ.Xi*S7><=DYtO@lE" +n4-8A+4u-2Uhk[ZCkD+#TiQ1XAq$K:JJ(uaO)-"OS<=W#1K8r]57KBU7('Fhf& +9ja?4!.u9.0F13.pW7Mtc4.#"O0H]^6Hs%]j)q\<[F1e*&H&Fpl=<;Ge&*UP@:Ve* +:f;V<%O74.)GHt4).`pih=gblJ+=!%p1a;ec(AA%s+eETcN!WCJ;h;GE#6#Gj;%E< +_uIL<$bEA?rG*XN48@jsO*)`Nn>"f]A))Y5]'(2f5K81FUoRg&W)7H:;,O8X<!YP3pflOeQo-2O?A +po6dHU/C-=.0)E.'g/N5\ni"-hBI9p.fQGRltqO1f/f$XmM%t=0(G"7,X1LVGge,3 +Y"eh"ZhW:$Z"p6#8L:m9k]3@F-V&QIEPF_@VBK-J/5.W[:c$Qn1YkDCgYT0ehQb7Z +_%,a4$(BQY?JP:Iht*DmnK-?oS3.3g+,)>;7BBf`Xe/*kSb]%*cQfrtrc8kVo@G.u +9>>a'ZsJ0@_>i#/%bI*jHGNV.ih\:E/I-N>n3l4(l1D^7jIZ%_^F">*nGAc_i(Am]f/SU7Z'?)R26=\$c=I>96oruOSs%[6eZL`>O, +BCXc<$_MJ%[;b1bHg&=-ECX"Od&$KlF5Qd0rek\]&^pCqL)2J7g#V +#L;dB%IT\Z*n^smfT!Q7S-'S;n`2qNE.t_;/Y9T"X]fjj/#-WJ,_GE45WTcLF`H#s!DLZD8c:Oi+;ZbYHY>5kR`FG +jJhN+n:0>on'#edZu7gLA3G6N2Z`[9(.5mcFfhMUof@p#V\D`'pfs@Z-Xf._,DtSH'gVb+FR!>DbQ2: +'Qu.DB9Pe=CetO#o'(WA0RrLMH2VjUg3OHgruS_!9='(ANOb`h];=2jVV\POhRKH9 +]V^Cg!01geZpO;Y>i(-Mp+uO"6)B/>NH2i6S8R_q:(9k&P)]251]ZJ8rf\ViYZf_I +=ul)%6EO^!ULFjB7W"UCDZ]nkl8L=7[B>t*K+"o+X')6U.BV#Q,'Z`:R!Sb=:?dFT +eYE]/%Q[?7T@>K'kuQa._Lnk6K5-)b)C8nG"sLcGn:+7Z([d&9Mm.W'KmfBn]ip-9 +1^c@#3B^OL^"PpTQ`m`SMDNHPrDSSHE-J2eLU`,tmS[&p'h.)!!QQ&l +5Tg*e8R'V$h*(-]h>PVmO1\usI_#@*6g.4YpYN=Wl`=#O;=NQ=httLOrH>$N2T>&q +H-M)sXbJk'-60[Z(qqhK_h&?eD_Of([t(ZMV)MRg2HjYlr$tJYTN[7a4T&Ea9I +HNbgDpa`kl6\tQ51sX,,?HTV`B3RjeR7D6k,Io/K>dKe[lZeElK2#"[FcPL,6ku4" +.J33aME[0KEoa$!ZK!Ner-8]TFoo`;O%IZWVe&?Nk/Q&YUMY(IXl&W?%`*WaKH'F\ +5:k_eg!=#2rlP`@_"BVchqn8oir>,E*3K@b8j0EXLYf`fn/iG8#5]P*<>o9FD'es< +,l0MFanQD+`jcgS]9^FG>`3g?_0#$>[btd;8@_o^V8q.:<&X&=3;oXQnXXjgWu_l\ +qaX2LNKQLJ-%@XC!rd]#,E)JhYno:Mj"fs%#J6I[XX7G6Ok<>=2W]i']eR>LN.1lg +T>S[p?t1Rg&J&^1)&o;["-2$<'/nj%NI,*_Q`urF`-ZJrH[-H=&0Ecm5&\KUl,14S +_S-m3IQ:*t@S$K^6%ojHQ/:t0!"4&..KAH5ohc+m@2&Ip3r.`W\]69/J:3+FDWUV= +P[F/7J(1A!qQO&kFcQSBH^.t2.)"nEJ).7'\m=S!AqfE-ML5$e)ccIP-$"&1o&:XS +_0!qf7(oU&Zf4OA]HC_cq,^i]VnB0+1JJH +YdtLYE&VlR.suY%;Yl?Wni14nfIgsbLmD*8nZt9-dk^Khelk.d'-NY^aQiIaPR]U!o3jEg! +%-.Zm,7D"0hX[8l%[[J"mtE)HOXha5o[XJ$Gc\T'-k-W")G?I&B<%aeVWqAn3R]Mg6^Xg)9[?5 +,%OX^r5VV(nC=k#Q.*]5>_)jMI^);M(_VUn<_^c7orD[6_#G]D'`Y@@2_CFubo)gA +C)6mD+mat]U6YnEC?EcSk:c%a0'\eJC)>.\QHU84c^C$B)AJ(Zf`JQtM-f&3#.&o# +^4^ef*M`/\F.^Cf^N=MbK':%Md=W)W)mmo&Nh*ZHDh,eXS(=`H26L(?bo'L,(t:1+ +"97*kbaTr=X+:3o>qTKJ4^_5GCg&BpjT`MMaJW-#tT7c`2]6,/H#rsR+h$SJR>!b1I6Tlh[-]G-Lc]NAuS3U'X'iD:tUIgooh +!k[_(>4!TK%U9"Mhm$a:HqtPBR,F_^MX.a_(NT[UD2i&NNms3G),.j7!,FL_@&(17P'p>'c#u +As%Eea#u0G7!P\,:dt#Q_F2G7'SEIqc,(/6%b$T3B['sFE"\_oZ#kg"oAXG/Z*p/> +leH/(YQ2`GZD3trU><,L4EJDG60p:lS5@;t?Y0>3_J&+q=Js;dqeJm+ +N\o5$9RRLCCTd0Zm0^8g)WcSUq.D:DpGtheoasA,+oIWrr131>k'(\do8Em.d_>S2OaOQ7nS\&WR[M`X2d/=.BIeF6?Fl$Ag_bB.m^HQ03sX+=UgtU#b?AT21GVP#E(LX-FP.r +p0qVW$[;5EO^a"oN7E*oHZ'i@WmSbDtSW[_K,FmCS_(S*0PcB?%A5 +#hDc]Dk,d)SeKoO*1XHUPM4j&I:@<]*,k;/E;,OR^i/cD54,B>^:sg&]rRmPbYh4hDLWPF>^iA.>UJ][ +VS[$_eK\)IM^_Ft;09oW4e=W>M6 +.7aL502:nBR+XYU]&Po_m5f3*C38q>fZjf1"`WoeDs-cVQ:F0tF<+6ZPIa?A15TGm +XR3DEX'0UXb50hNC"9;)NC^[#b+N:jXAl:G*`YcHC1^9+jIu6oXeI,:g1B=@S#-WK +9!q:SoI=cF*,\ZhCf1@D^JHLLUn0cJa.>8V-;mPB9l&ocC1PV'jXfWW9/UbPFhp\m +(X+?S=ujH0l(]0=]pae#.KOA6M0,IB=74ptp73gU:nPZtY4I +]PQH7@!6D+lM?Z4j+MRn=MVRXc&11384b.e.X;6;,=]WS"pJK``T-)l'$JEHS!kel +C8k5#ZumDeNUR0Fbc?CDjV#a?YuMh%]P>ZtJnJ4<[;Q+@4#V\&BFXRYO9/Z#>??W^ +%`A9#ZQas#RE26,/-%M=;__`]-A-f]aM*CI;$Od1BF1kCO-u7A(`*T`P`46qn7f9s +\&L.K/KWjqk1c-n=Mgk]PZBU,:t9>]K";.g(3WmsG$F-R=`HN?\D;<3pgp^2e$SEf +WNDJS/XG)_VJ3H8WE#fEV2!2,!sUfJBuh\[Aq=>fA/'bnAf?ACoRkf-!BGIT=o*Rb +\iuPYI[PriBnh'fSL\[ukG$L%LT?pR;a00BI,#7[hDIj?/Qh7^T].CBKbIOQ4abdb +r06G3$;LmWBA!LJV&%8f.qZ&/@YmN)@)(JJZ,SQ,c6fU30"]7TXmC9VpO#54coH!6 +>9:s?2q]r>acaiS.:>+L0^M(#M7/KIj>$!]M0=sajM]eba4]Rq`gbFU/CFY/MqWD7PO?s.\bR#g;F8[peh`L;"O20S:c +T/8(5gEus3(P23O533_,o`lWX/Dt`"b',)[YC!7@[8B-#7Xh7eplLF$A.[APZ0.K*2WXX9^YQF4Qs8%OV(9i:Kp[j@VX>X]X%?)DG5(D.n'L!'lH!$WbVA`T, +\X6#RSrPh?>K#D0m!n:bZ$/[In&:(?s0b9>^`R[QWYqr7Qo3)+f1tX5:$G\0(tC5W +f?Kf78e!8jFUCW]$\n<]qXsIUAu.b&i4mp=@`#Ekd]s'.@*5cEA5YU/<%9RS'3itB +/8N9XWWe\G6JM>c]1,=)+@gsLJ!SrImY0=p!W:!_9DB8Kj-HN.lZ.M?N8Oa[^0R#N +Z$(_J%H'H_=Z1/#/mBR#"S`KH(CllJN`qd1fiR\`CNrTsK6@tSNg56?AOH0V+Ktk( +s.FL;QT:/B\DO.d?5dc2l*2Z;rcd&XpGs"2>NL$1jP2GSQ%gtbWRbQ[)6eYk&EfAt +1WiEp-)QO<-4**fEI%DCC$G`Pg4#\'/ajDHM[\-WTL@=OE@PV<'okd6SVU*+&HY84 +]LRLb431dSbt$1)?cgJeaTF'o7UIIfX3.$JWZM/^Xs#:_0rh/#[Jc"W'.U)I/+$8N +BPI."TT"2Plt_Wlf4^[8Qcr(*KX,YBAV!p@UX'Z0]^h8V\OlMM,hm\^'$btEr;VEL +3UugYIp"ft#QEo)34#BA"oM0q+'!c=)udT'"9j)MMZ7THrYupZ3g?]pYVXT)[hj=M +HM\aAo0RF\)J(s_rt4Ygao<'B!\;Ws.*eS=_7c;re6uD$@8Dfd#Ai`:$_%UE +`\1fWmT>)Vn`+r^2pKDF^?E@]gPpX46i*UJr)":+_bLj.FXQ-j-O0FOQhXE" +l&u.rk`TKc-8+c,cg^-sk!#>R3Y^KXW!VqpEe;"Vei9l;=OK=#.B_qjGk&TYGfM2*kQE(RJH)RRFRVDGrC8GlnZ)ZjJ"6Q. +r$+`G!bS&0c[c6^]HZ4E.)7D7G6(5;p+M@ho9mNmK^O0Xk<58OBJU#fhAl*3e-/,: +GV[f,M;j[BkE\kcKD7ZhkY\4#j_i0/#8sQaB5YCT^ADgGqSV7%pL7327P-b06@0'< +#fbPSqe*i/?=UeN*KU3sSg2u26ap?I+oBoWXU*a(mbP*]`VD1:.@`/o64pM'SJ6[* +PH$'a17gOrVj7MU([D't=eeS?^1s*)P5'KW[HOn[cZDpN4k^3fmKD*>]7Y&t,^%#"I"+MSb@#6k.XF2g)d#*hOB +@\-Uan:/r\B[!8O?s5$80*h91c-%CK'u5 +95Ld4r$Ums&!%%MeOjYX;<2X&+'$B@.gG?-b`D?;T*t%%6k6UYnuTu(/P6'C+<:CM +OCqiBE2XY^WuSPs#7DAiW.m\?(X.I."'26Pp03iAfHFT%$g>!a_>d7-heAM1CmgaA)N8-AYocf`mM?n+Z[,"g%p86g>3.YB4;QM`[[R;Q9PsInI-_U +LJ^0#W9urN2h.!s+5+VolA?kU#.+X2._5i*Gm2;f!,j1X/'>$O.P=e&S,u^H+WZA= +5+AS2&*@oW0rN]YF58^_`?VkBL"#>2D0@OHF=jHc@b7/DWkBrQF/+j$r."P2p+--;ZTs;( +s.98$o&GH3n+aC5@fM=L%/rdfV>cOurZ_f\9REh@,D,q-o9k%;/:U0%^nDVE%_.Oj +OU7.7.EFLqa9D?GT'0%hFM=@+d$&=cj-WG3oN/)8G8mq3hp?V_8,^n&eLu3jh[>]u +R#q>V6LGAJ`1KGNhiD:)NXu36+#RQs]$Q5(P>d>%1"g<`!1;LL)i/Xnc)$o0aPB)9?(n$]j!gL>tt+$ +JH-JTBaaY!%IB:%_T2&^&)540g4B0T&%f',HE^1kYYY/$cN]4cq7cr3&sC!G;*_l0 +;aFenhbP6W]1M:s'9mD]e?=Oi06hN0%`uEA9mPSfh7lG8Y**!@QCGup!rdBu2&bKH +b9K]k_3Vn:Ud4f&5?h(on#B$s`Nu+$R>Znh>D\7K&saRdcTb'pI?M&6.-^F+C[2"2 +rI4[m:<_KgeEm.TftGJ;qk;GTIgOIC_-aXp!n9YuH@o$7T"Rs"dc!b#.M+0>g/7nE +VkK$a@Cug\1'Q_HLI[!bT&ss_)8CnNbG +!;M;#ht2r4oY1>6N*lZ?ib*f`"u"ngWFbJ:VXV=kk\:r&rh0_pmJsgOlne=eJ**1! +/>N8R!K[J$T7g%Rn!5KhU2o_PaSl@ZMh($oDpc7>UNb#oc8mm@W5c*IF*VfhZDbgm +aDNF@,a\T3F/`JK7(5HchD8Br>7[:c=OabEZ7Eqo&XjjjsetbX4 +?R!j)O!ppsO/7]?1O(CN+o1mfjWoCl](fD$XBl4/!6^,4s)R&tN)no#5rCcpegph# +Mc,_,V,&PK9dQm*F=mf>#P])a?bYj` +nMlVkP,%&IH`f_?NZE?1R^VV;f$,-Wj1ltk.@\g:=YN2'T/!F9cmo.lo5k=is#e1c +M%'8*ZSJ4gWPG;tA6L-7X+Zi^i/\-C!n20h%b.4BCfL]UJGQq"/dTZ_[m9"-YUG;! +!@!#D5E#Z%;NT82$lf:q@FCieb->8\=$:;$#,m=8+"REOJ"Cp7^`OU)CocJod$RN2 +n6\Ga'09J>[BDnL!9o#$on[Gg#_/^I[eS6f/TV5D!g^AMmR*:r!q?<%Zc2\ +Y+4f1lo'/eRqp,gpS']%G1ATRF[0&Oo]<(UO)cS\KLm[dF=E#ic&[(n96B/ID)j-T +SG\mF)\Bel-Mq0F+&BdQ!.b+(r',9(fj6?og`9HkfV&lVhjj^lF7%0BX_V;DZ/C[E +i'6K1F4:TmOT07Mq9^./kXiKRIOCFG*<]=H[^-$L+Ir$nPCrpkUR.-qkb+._-W"Q^ +F()._=T\*MV(i_[D_oBjRjg/+4KZYC4MZ5O[pSURq +nGd\p_RG0MB-#X*#4+c=[a2d--XdAp)#l@bdu@=:6/`e.VN?WCN#5@/&h-qG4I3"+ +V*d:_%-))2Kf[9VJH(TEKJn1qJ'g]$+V7k=-JqJ9%^H?nnk&;:P!6#l5o/tK2=0un +m%`n!lXoL+/)aJIp:;:AW!gHA2gs?AK@lM8`,Bmrmfhe0M^^k]a?NF]5X.t@J"/RL +n#*,!Rj-hfIY.EUM#=*"$7Wck?HUGLb!@7`Z^S1'.R0K-4I2u#ajRa9CJYpe!rU@N +Zq9es@es1S#LUtP:k+-r?[lBu`B$YrQaHOD\TkoO5"M&%?nFT<]mGi]k<>6=n7hs;1^*@H +k!d+gdpj>0pcB;1gZO7!:Q2Hdp"qqn]R>8,E#%T:(_VD;ZTsktiCEAZIh4c?k7bJ3G^ba$eZl`Z\b5>9ct"c1#3SqkTUp6Xd:5kiS3*h4,Prnhj5 +hfS;@Frf4Sl._HQD;KCWfQ/"aTlo1rDRjIf5H/"I;?2p'=gL`R$(mA0]jd*>iq'*` +Z9TpoVofiSL`KE+ns#;*l<2Rs"cN4g.n5dX!qW(I)UbY-)OKb"\_4VQ3m&Qd`@j./""j>'!&A9'ppEE=7kG_gbT6h%*ZH+2JGBd +k_\d'IBPs3LA.6bDd,);fJ[YM2;L*l=Y`6d%H_d`B!ohEoI;$ZLHGXP]Kj):9TqQ8 +SN!Lh*mr)nR$CHMiXr]+G"gGaKeiU>sIe*?+/lo +,IX`n1FXA#a9VJBo-`q*,rV#B!E4N8VX3V6hu\;lM@oFmi'0nC*&9+_kHaA<2(8I5 +Wts1M7C5,65;42*"bs,%d&)>'%1&OCZ7-m"/fqAK)6tn;Zq'WS!8AZFKTdpWnPDpjjT?4mU9)X?n*ailjuF&"[T*Uq^15k +lT>OBkTl4pB7Pl+^T*']ME:&u+e6UO50uc+hgb]>q%b +f;#@`V5VXqgZDJ^iEXgq>h/7>d;g_Op0pq1?V">\Kp"ju@[:;>P'%Ac[OAts.)EGJ +_3rK>k:mutPAJ#o>fmnptu#UreUS0*ArF/l3JMJbMn3LF-NL*#l[E0BQ#gYJ;1BNPT1*V +V]CU+j9S?dF9&QI*T>P5&18$N+'2n;ESu<]bG?qIet$V5/ZR">1`s+X\_0Kk: ++'XYrDC&b=C#gXXniMPi=65[uQ,Ha(W'Kt[FkHR#KNCkNY^hegYYRq +`kLIFILqZl&sN>L8cI`aktb4:+/XmES=tK40LPZ>Benn-C!mO@"OQlVjDW#uY6C0: +a/H3=.5*a/nKFG&;QeG=L0=gL].V*r,g8)(cn`f%-J?E`)'r+dKL"^r5hA\:O))QD +1X*jkXQ`6VV>^1C#P#-IN7n0jV>ZXJ%p5k;N0T"ue=uJ^q!:c6,R"-lCl`eKJe<.W +%7EWEmfuO\$c9W5SJgte)i$4u.-OO\!id%NN3WPiJF*^GZlO*TLg'kBm)&5ib$J:J`sBC8pT$7$,N,^^]@*>#mQ +&3oIE.t-b/I4':0a]0crS71IQ^^@aq[-?!6kkt3sDs?,hM="7>(&+j3PMBW12huW- +S)fu'oLL4CREsoJ15#ir=W] +ir)Ne]ed=u-V&>BqDXtV2JCoN0)_7l4^5)&gMVGOY5S7cKD1p_ck;FO_i/#X:oe!H +W-$%h*;C&\s+G:(8.0;3N[Q7FeX0hr$,_Y*@nI%iAYr!]F'=JXY?/)A=LtG4%*Y%Z +j"0D[//si!BQBme3AVaiqb +>pZe8H6s;H9I2Zo?qrLj.N\nV5JAral,e?Wfs +kuAjgar_)#/4BfY[oh$5sj-X#42d@prc]h7NEr_CeK,VniJGp +gN_]C.0V?<<%T*#kuItRd)pn%p\r27quU&HTlFO[B;!"\<+m9(V)PY`8N +8+VoV +NNWN+I[j73Gt.J1Zc[ccZr(lTA%-H4,i)2_sj$8GZub>?73=p1u\U"FltAO^C<+p.fAgb@T!Cs%O; +&k_#:_ff.XK+.%O*:g`;jEHIemhB4!Q!s,\@dhlu"d$M$5&/&#mD-I"7JjsZNFG,2 +PPu\u5[sl;bGq5GpnVHE=k;,K(&jiEZBrh%9t& +1:m0XkFO$XIa#BG^mmJWRb:K.H]YVEQa$*9n`HVAQ+b7aFOX[KdMK;r^E`lBme`[M +Q318Q2nTDP4N-u&O+Mk35N716guHK;LZ,08,Ws"(M!nU`hDm`Z8d:u)!bbMWrP[(6 +3WAFm!Ed./Ns&en!rd+D'nYr5+#ae!"8Tb:2SDQ##^iM"r(k1qEC'()r-oWr]]1do +gDsD7HVi`#io-@knsb(G[.$1c%P6PcQ-%jgj(kg2M[jU5*3\7Bmb0lWI!BOLkEKr_ +oZ4[dA%N5GKRAW9S]E'AbjUimG0Q\iU_"Noj_-YbGHUksR<-pIV9H\H\b/_Q.e*J/ +R.V7-kgJ.ZWtUPt:&t<<:CKHI5'5,YGD"JWjkOpDhR2Ut%?hg!^'Ch>pDc7lL>ng:_aa48Un'bX!#i^T2CLD?S>jJ'Hlcq^_jHWGp6TNa7R +Ps;+:4/L)ke_n_g'hf^mR8V3>.C"QK%'_9\W1:qmNuM.o!"/f+"8kG`)Jk60kB.,c +C7-)_d>^a!*(Xq&G"g,[m+CD]hJH'd7/J?%GNh9&p2,"*)K-NpY8Gfa>6F_5MgD3- +g;WYe753$O'MlQ#BQ6ORn/p#u)Uut8pkoRh-Okt:qLp&S@577YBO&D1/0*+l)Dabs +!:ZVbWgU5sS[,5aF_I:dCmqVI&=SsT9a\q"nqZlu+G!ZMfR^sRhH;^M?&d1Xif@BY +fXcfU>S-:T +6534I?kT5R2Fd4APfhZ-Q.+,1nF0tgW_]<`>dmY^YXd0`M2$QpCf9t&ABU2a=2"c;k)QL[i,qg\4e$^4+%N*;aZXo:q$n +D\d_\=p%.QO89%W4/E-@-O8'uK' +J)\Y$5=GIEPPk7qiE6JqPDQCf&1.I`TsKF$H9JG$E[_^@1\A\rhVgfbD82ibDcU7a%[Mu4um +n0AfsQB/^-+hgm+.SIEl+F_s0!<.K$:&Ll\q"ldFEV/E#im1N^?Y2iYRmW_P5_#=P +rHWtdo/uP=o3_SER0?t_c!eEfhoYZnRo.$-]nC%cfRrLcN>frKZ%@Y(16AB\P,MS& +D8ZlAcg\D;n[2(]^+;?/)rq(u:C_Qi%!4,q4#n4GGrom4H-Y6D.9d=N2kQls4@r`W +(O3e`mB0b@h0p9SZK3H?51-i[HslOcJ,edZIVfF7pjLVN"mlB4HM&>^%`pVb;-BKH +V1Z"+7o>*B:SLn*!q=2^nBQA^VSE9$Sjhgo[UaND_#cO@nrO$r(4tttG(B\nS)/aD +^1)UWr&CJbp`0LA!.[:If5GsgE)*hRYjsRGf!C1%GS[Lo:Bo,5q9?\p>QFE;Ih&$q +pQ_J5]tVtAr+EhIp+N/KN47U=ef:,[m91W#h`E-/FFNNFQ-&F"6^*Oqod\qrf\%7g +1RmHs:.14o'#?c"AB1RYV.!,ic1DmadLZ@:?ggAs!P37 +_IK"Ls$?JE&Z(j(IR8h:j-tU4SV3W]1:'^QTbK'4Q +0`o/NmRGY6)Gn;\) +bZD+=2LOH4HN:Kf:q?i[^QH.(i&,aQt'R"GR8b@PjqEJtHO$Eaupf7O[4AG;,!*dI$l:e +dO)NA3XOqbh=*8G+GTHP7&A'5MO.^E<4S0bHoYNt;Olac)!Zf7q$Rc'Vl3oo;Oi8g=\?W>I/@@b!jUHU4BA@A76De%1'DREMhU@T[8/$G`m`iW&r?^Z,q+EtSEq"`Rp@36V*cbRS\[ +$?c6rq@A&A'=WKNQbPZ>P^Sj'pm!^Cr)I6NSH&BSr\sbQTgPN&FFZSZ^m?Y8Ur^W< +1I!>4/g\@8PT4QO?@_Vh-7KP6[.$GZLX@lol'W,YTVBA'71%#X&magekT*e9UP6/* +'p^fE%IRNRHJ3Z2omllT@k']6e:*uerR7"ZT-b9O-rC'FJ(mct[$C8i2=YYeEANSV?H^aRp^PW[.CH9ZcFSb0O%!RK3W+#?ujYgsl9XZVNR +q'^8ll\]*CjNn=;D;M8PrakUug$p-]daeM'HUiIg*>dSG*>OKg>XmA,?3(E606dO* +>MKaZftBFdhe-Qed_r9:r3bR[G>@b<08LbM^NFo8/7@fA32?P!_lp`ReEUhi:BDV_ +[#P8&0GiLGJH*+_TP-Q3$!cCkfF"@$ciQD*K:RIQP0Dr=n2+fuh]!;aGj%9s(@]gd +qS@G#.adM3H^iU#C=g$ln%O:/p[F=KSJ4-@a1'9rPk35@4P=9>CpHtD`@41"R6e&M +-_V4sMr6IBZ0qS?Kb'?uSjtHK(O$+0:pB<+Ja_+f"i7Y1^m8d)NZ7!X*W(#1s-@0X +L0`P>gU:sSc:pA;44^O\lAAQQE*PD-WgsYs'l2mQN.AfI9c9%NL<+j43NA,YdRsob +;2>se,Y`(;TJJ^NfJ=GV5^ot9\l9tk7P/sj/OQV$#k7$!7=iIWOX$(rSp[V)[L4W_ +:'U\nC#f9oB='Z$$Lu@J!Cc)0.0M.:d?KJjMS8R%"n3S(iBR(rn(W!Q=C,4\.tq[: +VLHd[DB[ZWbcs9L*(VpK2"N)U_3\\nCZc+?AFsZ5O6X!(L0UF$*l)-WQRC99*7rFW +e)EW-0WN+NkniiKMT1X6,o.4TdV%q4(MJg"NXZYfQ)"3O6TT%gH0Kun3PZ_>J13NF +KTdL:!6>\p(L'kt"m$k`J1L]h(QNJFNR*o/Sq8')Juf!CbfeM;sGp_ +?s[W6GftSVq,(M1g6c,bB2DP$our1]UHfP3[A@m`TLG;q(K3OpphAc;1h/0Wj#%qqM<82pi(6O9eY9EtYU\)4$\Iq8N +3*i'<H7(T@W#OidZe!IM,P. +(o)Q99E)Gh!!2lrLO=kKSd?U%S0^,C$"`7$[PjGMLdfEoi=mi%8r-Lj`$uAY<=-lZ +KOde.>oUu<`OLY)M&E;@S5Tcc:TLoeHTqp3E_X2#Q,7`I% +_!WLW&$h"P\YSDb`-83eYHFR?VdFV1^)s$G^r--o_Yu;Zr7a%8rr95krl6eUn&n*9 +s*KIj[q.%0JL*>'cO5t%c4PMgb'bceJ&s'd4A:!tLN%3bY[(&==Wp"8TYen'k[\DX +`TWYAR:Z\-V"e+@q:MNLF\9:2!/Wsu^Kn.[@oAt8Ej/JGO<`N+WBSC1b,X4B=a67C +q+erCGI(fqO:8u*qSS]>]s-1F&bF>CQ6(h*DI!mXT,a.3BB'*onR;n#Y)3^@VOrSr +4Utc5:ZLJpHLYTU3<('iU-num!>4O4W,>DH_?7Q`HeqYB.-Q6onc-7@j3/?fri4QM +N2Yo1&F/N^n!BRK7=?=jV;;u-(Vgsjn+]M!n^Be0NIWBbbE)dUSqJYG!;Jg.PRbe. +"[LC$Q6?jm]/"MJAa68Pb]CO%]JJTNkMW4ah\rV6anGSB;s/e^r.Bpeh/d'VDU!TU +aX*bS\X6S:JX/cI9HhfI.8D=Z/R.'V"f#AP$epRXq&jhA_pj\/dHFXr%:+>s2#kdL +qU&mEmYTn>f7>NOJPE'1gNIFXCi=.D[0-=cCsW=C&%ZW6Zt`Ks2Iogod>_Fk*._:j +5V62^/:1&N$2?_5+$$D:fgcM:-3O`R_Ze2A8I]d/InhM4(<&,W?!7Lu7&Kf13C?CIjB9-_;%V]R9 +lK&9[3!0%`OU`4$JP_aok@W)27iOu7kLTt[lR/4M +/c\Xq(o8k0'5gN0I^BK!>60k9O(I:+A*#,@C=&ZehlcU5kHqN9]:r=^G,&IMh?^XE +.';W3YW%M +9*_$15[timU[HYpcW\\W9*GTmJbeNOHI8,bam",na]aPQ[>>R!P*>:-PAQNH4(g0i +c[5E3?KmsLm?nB#(PL?M"r3ED?RUak>nH&4NHO5-fQ._m3!o9YF%ue-'CUmE5\DH( +A0okPr[1f[_u]l]pci$W#JGDt@pYZ-"TKSIs&f+0s7$dG2k5n45[KhY9^]CoE'i=j +q1#a`n>>s_^A`b"5/17uGoQ`Bs7,mac%/ZZm*#tl`?,ZP"Ro3P"og$FpmR9B;=OUo +;Bm2JBi-]`Ae\NO_URg@_#G%enPY*3?'8uE#/*7Q<`j0$=(-3K61<`dp:K/$4s!Pt +H;+#/EL#GQQ%%XArglp`Af)Q0J),oD0-ra%+l/)%:ABotO-=0md +Tjj.A=L9h!YDP%lZ".]&9c)"(a#HOjYpg:/U<4+L\&DMj0Lu6@4UK"R8`LU@M)QdS +`TI*GM9r(1lt/5c*eW9[JH]GBnd3W8d9c;ibnqoAe5-'0eg^B4e)Z#&;'G`7f*_1X +Wt`oF'#iEJ%u$U4B]6.3)7_Lq.W[.mRs36>/>b0Xfrd&i2T +cOVqU$F!4o[n6:;8G0:i,=qF2"f9;cf#l97dF&)03SnXJ!F[dCVM"63k?2"B1Ul5c +fmL_?QL4])mR>DaMI(NKG8&ujkE/Cj,*sEuLKrd*L%2(H@f(C;7b!)-[t(s1E^#X@ ++4ku*4BTDJaCV1:V1W0O4k\5RXXb%>"ZFX6DP%qR4#IFu$/!LNT1SrIZ#%NQ$l4BJ +a'R+$.Qn\4$h-B^#in/=^`S"SI";I.(\!1ZGSYgI%Ef@bPSXJH+'b?@$[?c9qO-dl +U]?H.:HUZc3]PA.r3(M,)/0=FbHB +&T*nIOBb^;g=;Q7Xckpd5C-a6*5eC#-EsnY@(-Ulkmdjf>2NP!<6PsI.`HGA*G5,).3K?g0%q>=Zjr&^.'I< +=N9j8Xt[fX+%U<[odQ +"AN'"9NbF)9hQX@OI.9`:KZ-Ip@3a_;VV%.8(8biA61_Md^!nfHd3'Ppk++j!.Q`: +@FF96P\W)#IgHSWOWULQ%9Sl&SEfpW=pY!+rkf3\]f*jFrt0PlhlVXr;@E(+F)JakE+Yan^(H>!n*?G/KD>Hsp`INUDbBa[]H%%P3<,3@k_I!(0`>kfb)iN!ZhDjk +oiF;V^DTlHC0:;$@E%\i'bLB9aKP6_%r:%@\Q9)j<mY.sJH"-j7Bd +]sop:+,.qu[J(2;+F"sb"i*E`P91kgj!atC/%5'u@c_%n19pm_!5InaEVGV%Q$k_I +!&"?Oh`uKAZq."L*C]Z:eWa!^M)rRSNV=*)]o6:: +q>^5IAFIb;Y/_s/s'*e)GO4)9ba[2.RdO@ehQ^b.AT<.9m`'+5QFk`"Djf0-BGX=l +El[9?JH+Z0)3=ph<)Uc$R6q",^ +-:sKOUrk,!7>=&[)W391%j.,G)^Y`>"cOs"N@W"8(;Q,p'.Pdbe5E+])$B/DUW*W5 +lK=d^5lS[&h)Md)]A:j=KO26eDq=T2<]nJj3$o +F\%3DW59J(80-5QLN--RGt9e!$(dCO*s="mn6]^&+>tbblK?Jr_"WHB6N+5f@u:^$]gZDkb1LeZ9d,S&F'!p&m859Pe]j,q+b^_&hA%b3o/CEhAVi%pIek>VO.(]gE4"86;3Q3A;+H#:R3 +2iQB@#2.W$1'ap3G`Hoo>!:3GG20ftB3RN:>D$,-__7`AJu5%V-Ks(NIe9Q=WD*QB +[W:0;>2jX@g:_dOULi#_Fl>_M5+hO`SN2./r`$r/\Xq?0rG.`(02\E1H,7B=$k=*e. +1%tFJa9;S.kWF@-;be;q/"W=M8'?^rc]#-NMNq1gLpq$;+`UtRE;h'eOhi.&56u*, +aE@SD&]b"RrgZe4:8eP!VjT;I=T5`I) +0BmWoruWh:>T-N)?!.Z4>['e)l!h3[L?o9:ZPuN?3gDnn;>dMbqF.Uc(VQd*kN`oMSSIM" +!Oe7g>`9s"09Oso8>X=.\iLT[O&g]r-q&P?0p#!;=26"jr(kZ^!<6!iYRCUbgBci. +&W4f:;@BSKL/;fD?)J9=S^E47H!pRu#QlH2_l!d8i!!c/$S\P%[Mk-BVBGk*r;Wc< +qs4O\9eYJG;%PS/H"Z#]`TGE_c=PbjqMFqKOk$KM.MtG.D[@\SKMh=!&eA +5=o2;O'fC=1]&kDBeOf3ESS]cptW3cS*r(MKAKD:o5=IEfYNK5Q)?>JfE9kOp7=JS +PQId\9qD?l(Ei%iK(tC2!5=El3-s[T_E-n#jA#+F0ET&b%\=&5(2mIkDdPbr`AZ&$ +h`EIm]m];_?2-jjB;G=QJ4H:]O$K&KACZ8#dLbp1`rWOAH.8acM_CfB5*&qLcb_=C +UR1o+?%@Q#&d\K/q+SQqR="?RI<8>*s7F[8HhVA\q^oGRFkcUaVqt_RrnB%W4JV7H +3Bn!s1(+0lE+*/bBd=T)Zd,AnOtbX.gVg!@iJ/;OmkRoe96qR%]5d1%rTJhMh>DC: +]M%]]`A9*Kh_JouY\;&PJ'/15e#)rLH/52i$1OQW7E>9o)Hl*8l(^kP;<M@[pt$fOs7 +L.M;!r^R5.UX=78>R]W,HLg.%PV0Ab:7^<`<=]kB(Pc^F'^2S6W]!Z0fQ+KAhs/49 +?KFn@]LDM;"c]Se/bZi#SjX`%U5TkYVDN>5ePaH;;F]0!q\0\K<>i[maZQ]T;2sX& +R2pe^PaTE;"[F!RaQ.,J$[$O0qK\`:o2;PZO[+s`WgP`AP9VpFMN#=So#;gV0J8eL +0*=q9=+J'ik3O$UVA4KrOtjj`M#8D(&6ma+hA#Qt?h!=\ncP),q=sdsU]A2CoSdRl +e?&n[!1a'5g9kpuRRtgPZ.h-lbTWQJMa-ik0rN/8X8FUAHm!p>ITDA5Aqs5)U^90( +RL/.(YRc:P*GEm37HspiK+8USf`_)qN9bUh8a9Ka6aak;#%)%10=ftjml'Ri$CX39 +Z$qc5,47chP%QDjOi*i3''M=T3K]>0!I6D[>f?4m7lo\o^dABd +1SYt?iIB6D.YP8VhjF9-eHA(+r2I.foCMUa#K?0ZO!<*5E;*u$'&W26T@O]tG0L&'E5YqM$#ORu:,c([44`SG%=2I\Ze4>= +CcRYt2d+0#13=Q'o60KTIdEsedN9g?T;BL+Su;R/"\&Cjs*roqnc-@AbQ$n:ikO'0 +s*76@q#@f<`BQ"(r,J&!rIjI&isHk=;."KFpKAthlJrc)PU8Md"iEEPO.J&jQj\R[:B$#0a#2mlk99`+U(LLEm4$\an'[m#S*It +C"P#,I?D&MHB3LKh42_+l*hb>c8u'Q2^/Of,gr#mK1B-;sKqH<=I"u_)4kAHPn[H:A*_3Dc&aY9*!m0n:S](?= +I1BNrfJq/\EuV]=EqoWF0n,PbYkb&qq%q>+n;dDF1GD;"2!3[lANMepTf'6?nld1\8#<0CMo_'4NuO?oO4c^);j=F?C>qD*3tXc,Pp +"@dH0KIZ/s%<'TS:tl\BVD[CL\':@"/6g[WS(B3\JH+hVQ0#D2rN\HV4Foi!80qQC +RE\f-),X'I,`;Cg7 +HCVQ[O^AlriuA:&U\"M9EL5u)Y0Fb3Hqe5C>UO%_K/Q.Cp8'GQ=;Q.Kk1q`4mP*VOSTVp@q\j_$#7tFJa9X +C`h#QrUS%@%/u0_Hfe+I_74Hhs/,8;HLU]5nCVL>kj?I]gJRn!nBq'iJ`W8MGt'/7 +TsQ+,^*dBkj,j8'Mj\R5GHc.ZP^h=&EdcR'rg%>+oQhGM?j1]lOM@X2rt!e8)`?LP^rcFs5Up[_#MG(in$Mn +:IhAPpQM4l:j/>Lpu7?bXko\Eh%Hnu'lHtfAB#+`9(fO-j*sOK/]6HeYG@E@CR=7# +#o8W`DoqLT8IhUFqHL6&9sXo'ZS+Dj#DC?C>@/+]^W9Q-SA+h^qu?0Y*^F^^=1\Fr +DDF%G$%tR#d*UjLLd]NKFA=YQB2B^"+:pQRL*l'l%5^'PPgd=/I;R=%S!iFW^DY@V +B:M,grbM6o>l!+FYPRP6T`qBtDUn4Qf%PJS/U?1VH'nhdoMHj3I$J +Vfs=3!TVL?ZNh(URh/];>Lr^V`nY@Np*&IXZ$3kd+b:_i:*,-c*J?`"T@a[DHkno" +:'Aq@pZXI=bdg*l4?T5jAe/Qra8uF_!8snqZJ-XqHe*-/XBk:$G3YI(Dcja$^>UOG +$eY2B#L-'Oi/a?,!.V3Qr+Z3Cg(EC/LcYdomHHP<^k^t]n4,uj6Vr+:pqI7AKko$. +D=NW[a9(/o%p]!TS\'*L[;S.8XBX7,)O8Pb4ISJ.GhKGnC0`o/PlF^POX#?3!V,') +K,O7dQXU\h"INUSAs0"U]FrZ^0kU,"B,9;k&30OAB+XjQIB=/6@)]-867H9On.>0j +]RIu8iPW26kk7Km_W?Qr(J?%MG:-0s%VR,D<2(N8GE@+;ADf\c5p`a5cFlR4bd6`@]A?S&+:Rq_Tog$bLSS/[jl1%o!V5*55V1DOupH!`O:t%G_;50sehY=%'UR@o81UDM&3Z@eF-M +qSA!TUCl8/60h%6@G=\Q3o3eeJc_N?,JY\%Nof;]:P%fkf4s6#iuKuDgbA3R$kI<3QPoO`Bt%^$]GDdl;HV7CAC!SqBJ-B75-0/UXA]bg]tb=X$ecbVEj7qI` +)?4ur(4V8Ba9'*=IlJ20J:1h^9HZ&tTnJY=f.>8k?.C8C-`;p+ruHGetYs1`B&( +^J0)j/!kAgMq5]-b"'^+)?38/$H+&5@]5`#KEbNYJZ4:lcX=$SW!#XH^sXlD:]f_! +P]n"g2aT%3KuR5O.JB-\JHaO)s0!(?IH9PSMJLTHcSFV>ga@P?c%#'rXk:C3OWaT% +H:71Fdn5+[;uWO[)=`2Zq+jnRA,cL?\* +>\*^M1OLiq""ji]%:e0HUq'b[%:O'n7p[Pr^.hmYQ*bWE-NUnQ>hp2KluHb534$F# +6d?[sD5[O0,Gkra;m4jFDn2&*XG%1dKl:+WG7enO!N>quaG&u?mfbb2S,pIL5(.0- +Hu(ll!e/6AhU2dlj>g]N,[1ithsqiAneg)&*S@sZ^NHSqrJ#R]8rLWm#n78_'a*+9 +WSXkYS\U@FY5p$h%RR(cKqJngBJ4%.>@p$Cb6U=n-C\$jMFmm%BK5LY/be+]>?tIB +](]_eT^>t>>A.JuGjf7jrq3E7LR&CMg.c>TiqXs#\rXjR+&-#l)l&X>?;,[9Umc-3*/(\^1\+#mb[T8lk,eQ%OHRjAo,'t3qM)qNiZ:lW$&X8 +'5s0MDj4b`b-5[Snm3o*!Nc\P]c*Di%=Y4&Ue$'fUVn&ro7ti+4Y!fKq4KX/?OO]^ +$1ig"TL10,6SYB:%U:-^:P/`b+B#)m$gjODk[%`k +/2Om`&a_*2]j':6'u@sF\"TCb?Gm,nj'9]cZHA'1K^bVYV.K`-+oFja-Up-B7bT0: +/WlqrtGF+&A\+6*c@5T#-u&s+?d[:fE-$k +UZRVrs"XM=1B(KHH)'uD8+:^[s#U&[s68rA@NP2lbjc"3a8I)GO?)/!qQdg7HiD(- +_LF\cni6OLs&40n.6MiYiYE*OY`5J^a$a+Le'QLN$jJ#M@uB[ULcO?4%on/*A@CVu +^<5#TdXDeeYS_^a5^7:@FHB#FP25^Ui=SS3dFb'`>O:cH/3sMNX(#N.=9&[!,K]bC +jSb>M!@l#12,]57.9r')djB*1&I#bA\?htV"(Ku0&-6#Yr?>,X]GP(F-gqpu>tGpGFFUjf08\eE.+gL@`n`);=`iV]TpN +mRCMV%l01>2&1G,$%,Hmrg,YE(JqRGkn;bF,1HE5h>8s`iF@Itj__m)0a4Hda<^C4 +^)Q:`)kXa1ebq7Cm[O!RpG)![KbCL!'^[`>9*oY@n:skR79p\R"@q$RQ\k +WWHLJ(>eQs57!Q>E0jofk4.LCcWBb,f8Nk>JkVekk=aM[;uof*J/u:1cG*g]nE#0Z +gnj2@H$hUP+9&_-3?WGVDr'bc].QEOa]q2g"jlc=ctWD>G=![d6RIiFQhNkeARgP9 +nC?B$n)6F5iI10W6_Da.mu]O0;m6/??ho[%H4<1>hf7u(Sn(VsM??,C<^!X*1 +;m^VP$S5]?Z#.ac@@:#uBMq$.:t0\=Hh^kFZq3i]?=kWUM^@0j@('=aR#@Nq?mkc' +POKPAdFXnFQXGW3e,+\`gYUbUSfJ'f`):@;r5H]tL*\X%pZD/:0,YHW +66W"/!feB`s(K6QGXa?)>UO*=*7M+.mijRB<#DS6UIq_SpO,AMGp7I7P\=DnFEi[K +Dc6.Ej\]s27l@;R:!g)dl;e=1-i#Y64R+Z13m8V'TMmJ9M\H:,.nB;H +ZJ%0=okG(_0S`cI"hK;/#XL$\1S2(h]4Y7md48Zb":EX +ab+nBK6lcf-Y)(IlW#.`[CKQjL%(oEXPn8)n(GAQF8#kI$;cAr+:CelXtscdRL-*o +;Yr*%)hrk0b6>SGme9sU"6'O/*t2;F9-M>mb9nEQgQt2c+16Fsah1uh)@PXl^\-VA +Vb.6R^h9>4k`mWB+*O_&Fa,n2n7]o:+d<:m#2(lF)3"j2,*SaMb>N`HGhBG5/L&9I +2ZS%!dc$U0eY#LSW_qOA+e'i%pbmAWfTf5l1#WgCCkPqrUfdbiR`(GIAVT>KYg$*tq0ZqW!'QNkjrbQ> +XeI&=i"tl)RmJpU@@5h_?Rce\X,0$jRA_p)WP4IlZ?B;uVgu!YKKZq;3/$cSj$0.8 +a281rStnCp,)#Z3>qAS]UOQDJp6UsR:rWQ:#f18/:j#+7('43V5"PbRa64-KoSG"$ +=K3NBgA)s$8NOVM+OS48!FDkY- +4FKns)uq^A:"__-n4+H?,bE?D"?4B555oDX/89Ld@D_Z;pn\c]bE2a2,t_O<'nN1` +hY]1lg`ClUQT=r%-[F"/4(KKB!$_IOGgBan^gHne;n4GON'6TQ7hN%/f"pg:;(X\m\UJD;2QmXVs,Lkgr8pH%phg-^)s>h-r&C!G3gs +0(=^DI*rmW$F!0K=t\S%k)[p=ml7XlkqfM0-P$%Y[lqY7f6]DmRo)PpY[gMD!;O?'g/MP1c*5%ScDEW2;g*6YT; +%1:so9#9nP&HM*&1:KtAX@il*3knaa+d*B(ORm66Gr63s)@9a;Edh:$6"9YODRj05 +^K?-AWm7PD$HXOF`=O[jO>K9XEk_7T'rU%CZZ:oZ]ucIPIHl3b1:(>Q1J$[#WRATa +i-CRS<>gd2oL?70#'+7LH3E`P9a:_aOIoj_9!;*LW0Rsp;i5Bh@uAbK3`Y3eF]&G: +13u\A^s@Ti^uq7L!muj:uqWMEkVN*b>A*kg>p_h&2i]3q^W3f0NTe*1=oh#9qM +I2D@IPJSY8OSjmX*tD0ji`F$M"cV(S#sp_h*sD%r=/mF'K>t)oi>BU^o'kc%eZrVq +#9qVY%Jo>^H5W9?$O/2TN7q;@=d9G#5Jc;Ck"mek[,>1RJ$TXC5N,EFh_5p>p\OiXAOF)qUH!H-k +.,-S0FX#-YM/W,Gs)B'k^t3aKliLj15J5/j!!I-<_LM1WM>o$`+=\dFQN+^a!(c@J +QM=V`^(?A?n/(-j7Jg0gs.d6*4:a6]BJ-d;Mn]Rf@1Gb*S79Ahs@TiV^aJ +It@MQpm^;*I#e($Ci^/`IGd?**uA#Z-p#4C(iF>8/i_>pr_(_WNH/_L$CH-Ng_3C: +>(*C8;`Q=#G8)tC8@sRDi;^-1,fK]kCd!WZ&l"g+P"#N7gMW-'X9h]),bIEdIi0^Q +9o0Fa8-i)15bV^>9HB&<_IttIlNDC<$@J->,lh$ImK1H2/mt[AZ&D=XXpJ->8U0Mg +C:H\Dq[gdm$.$Grk;b4].Tq@c(rtA.f6&7.n+.+cVPCf1I\?&@sFKjI?8-V+B'rq\uuFrf*K=a]`\tZgW$ca +jEPr-ckGU%)toFB?c5Up`3$b6PJ0VQ4AVL'Mk8V]c`FH"2sG!QGb70F^mo\iR"d!X ++7tl*oW<*2UL4gA!,;N75&LB$IjFk1h@"WqT0&^jm"J5e%dC=X!m_a*Y?@$4gm*)b +j]@T9])cEB*dsN\")GAl=.Qr^^]e!?em3XS>^FuVq]OspR@f%lq'Y[Vs7en*7J`QWVH]$8^ZRoJqR\>b\Cf'Wk47P?janEC&DTe.)Nr\`)`6d(X,q5ck*n:+4-cHPN8M14F#3?WhAXFAR(hRsf? +4-O;47l1m+'r+03N-==(7`>YkJ!GU].FIr7B)dNprrBAV`uOF+?!EQq`TiCWAXZ/X +etEq8>4cPlYp-<@k_JcE*cl$>UAg3E4qQY%SGueNBU&o*=[_RhJjCYZ.h'n*\K&9@ +oPinYd=P^(LfXG(3a,%(;??tcd\Rf;XVB0a`b8>FeL=!RL'J*",1@I\Bu'aLD$JJk +FfODCb$c$\TLr*QUFHYq6ED'RXV'B9+s,\"Y/(AB[qbD_r#OM=imS3^\u>dE1B@40 +dht;]Z\L1JoUjBCeP9f/N9`Tig1QN!J+5/,^ZXUi@EJ]M0&R&JVdhVr!<3Y3;Y4F& +MXqp>)074Hd62iOIb_1@1j-21T(n0sTR4J[YiU7EeZ&>`EuBDg%ji9rV]BNllmg'C +X+9]$n>EJ>b[%CWYiC?5%iTX?+0d7^8'GME^sgnMkFEP<\!r`?g8+0(Mf-cI/r`Nl +/SdP@bMKAe!MYRHSs=i?-/Y9tmiI<]mrImtV#?R_Y*I*%F]RZ0[q@X3A34CNPs;Q, +(g;t=>DnnPNLuE3:+^"4H]oLMnT[JR&![!;G.@ZYi.$Ks3fRd/LAZ#*[fBYtE.QLl +_T@kR,g1(P7r1\tTd/(e2>fb\nAc>p^\%Pg^@:#(@N-qQD'(/ +!QXD36;\=I8Ko%j%@(YQ2dUI(#]+i,n8f4+/PEU=P!9',5J\\ +2&Z=WIlXP"O+XGslV[W1U&:comb&98[1^Hh]?6m/)VqAr:%9USUJ;W2FE8YudmG`6 +qO9tOQj\>A;1;J1J/R8%":`r]l7t5oNs3i/80:I"NsSngc.@X2B12@'7/+G)MXn34 +p9fbNYYOk5Y)\=/&N1WIc[Lg[IilAp5&pC0o)(fE_Ej(O=o@hSIt""E],[t +R=!%]GU$=:adN`usGgW!,(sM1Os]^@+4::3GOe56JoU +s3H;E8VH88;[5VKpalIbY2[u9,5cIfJH*WKcE6E'HagqK/q#D.#56i!5R/>4#OqVo +MmaV[2XO`"XW%eSG9:((#7K1kCKN>FT=S8_Un9"uRGN$XpfKO)$bII@=`Ue=$r!!Z +e76[mitF(9@2;5^F$B/M5'(@#KMT8fQo]1.H$6lBf=:CIBDD=#mijQ/8APdA.W1X:eR7jSKe+<_@CGd^n85FgIV! +:aL;f8q:f=Lb:Pg]0`HTs%M@Z==F=H02h:TPOl`gh]_G!r"fqIgPGr]nQmejM[$:g +_*=2m`lH@[LcRBZKZK[q@T`^#T810e;`Lkp)cC8A6Y2rV'.KTL`2s@i%4\(Eas$FM +@CQItW7$\5!O\#(7K4h@^Iie/9"D``V2/0N8(7]JRV\)jX&FZ"6=r-T10W2<5^ju\ +f`![@6YA4PFYip?AFuB`([GZ)l=[M<`IkaEdg%P]*Op3pmfL'U"s4D3h[=tPs0r1K +E@;cIH3tR57'2iElZE2?YQ2HuB\^<'^9*Gogi$4;2D/Z!b\b^$Xui3,C61;`nHd3# +@p_$/=#9/=46oj)j&eD'<'>`5:?(%3R^lT0N\G'P#/:9tC0Nl2AfmR__,*Q>Y6EmEcMk=/V8$#O\dp=VS*ClVdZa!QRO +EQnG)=MWPLrsShT/FXC*YP7i<7o96+r#bVkp^bTp#XcK)T,\!>8d_q!n@/;rs.d6N +pg+ZKVn"AY;]u+HgaJ!YY%BoV5LT`0D^+4+&e9D_^\J]F;e1Z2;=]dG*Q-bqQ"'t! +rhmkarcmuuk!'-mO5M*jM8k;T:]pfrYsHBd60H]acJGCg0'DK+->3j"B[#V&cB#MA:iXPKZ6;')j94, +@PPH]:`&0XU;^Jj/qSSs=e^lTEkq]S6c-)3A7!4FN3N0nm'/-CGE^DA5qeR_>54"qF-Y07F^r]eao*9 +r#oei/-,JFSgQt-_]/um!1K4q63G\es%k%m^]O#pNu%k*"LpMnr',4'6*DIXcN:#Q +]LTCnLOoIeDZ)XLIClZ\)`PAfS]0?dICnnLk]6+-paJ][bE25Xh+ggCt.`R88 +6hgo]6e$U/U\jkhhR..$>L&dpDZ/Js]/R;Z*EkDgRXtL3?,uZVWu]s'NDbZaWC=dr +nY78@r(cXh>#j\e"og.5[2@,XK3_lIo][VaY+,M31X&\+]&s%b>OM!9n;2)$,qlqZ +?b#ap?>86&Y$3W+11tQUp.YJXWU'q^$o!8nrHn-j"n:K8?N0`Alk,5a!S*tucY5"Q)+hJ!Wd'=I[u7%Xgb780D/J@4)q[FqeQ87u:D+ +b$R-!4f+]+8EL>\1PSjG!t+ZAq8c=-n2@,I-H-PcTK4D!3i-5_7qrdUCDCh*#cgl1 +W`&>88p%8"o57G6LGGPlNRORMCaY"HCP7POkT/S@?ib$/(3P'63N?:2Z1h398:2UM +Hnr,,<,1TQKGL]Bc;Q1J\sWZ`mu//"%N,ui)AS7!5/>)90_H$FPLlh3 +Dq(J8O&HdhrRkt/#i0Z"_&W_.-2.rud!si.>d_92Cq?`6*>[Y^R)?f,VbR]8SeQ]EEer'7kfs0Pc +[H],Cna2S;F=_dJY6PK<#7mtloIP\_g@#4-93Dp+p@J])Aq`I__Olns8(V2tf&EQn +A#:&r1YW4Gl\U6EaaI)ZoprtT1(N\8a!HLVRh\B:M71\Ag1>=Gcp0DLQ$fIh*JWD% +r'.W?itK7YXlGE>\;pko`J&HgQ$4-1Zc1EOcS,]tf,# +kPp>8%mgm3=r^fi&3u3bUr3FB8e!]"O45cCSna/3mSD<#a]2[s:urO3.E>)KkiT+@2P?+TJ'7FT/XjiX[Qn^Ko:_O'1"_SQ%fg_>ClY'-sQm6LD_\b2^r^#$YR52T]SN*cVW+r'GB4:E&g +n/HZ827Re0Hh4*?p^^5OpM))FJ+$FicHT*p#If!hDMl7Ep9&RVfsOAM[B#Vd!.Qi. +hmsj14R1m1HoQ@+]h:H$T$/fbn4CV>"dg`oG_&0-"[sqJjC&kI%"\s6><]=45L\b$ +qbFeEle?Do=gtA72g[$b:c,A"G>:)8njMWMG5B^VS-=Ol$g6u2&PS_;):_D&<_jI0 +0Ymfo'uT?.IPl-eB_/.MeLD=2EWsWqbX?QmX8A-2]n0IXMLU[VA2cN]9g5@CKn_8[ +G0'KdP2(Tfc#R\Bb.d965-:2J]3J`&3O2;I;5<,XLu""5)UL2j:o9E;W(DTZ+@gH5 +HX'k/Y=9HT7guHF"r&8.'[QuVAmi>N@'tS6fMJ\Z5`J*h3j@)SiH1hQGpgnGJns+=no+NB$6r]pI&gN#ROjL(GES+X*H +l65js?9se[>f.YWEM-,laG,WH>eJ[eP61#-a<*9h!#hUrT!GM$FD>'od0Ki4P`kVq^:Wa_`iJk!/9l3;ED8e-/a3LkX:Tqc58`Q[K +ihn_ukG@DFZUl_N0h(cjW/#JuqlFRW":dEnX3;u]X=3tI.&Tb1;`=MF0)I,#5T[fL +kPl&D+H:*#cEbHDhAK\D)Ctm?fDPZbDZB/UJl"6KJG`dDh`N4'%%a-Q?qO=YR>h1. +^jgn71&h:R&H3:>h2Q"82ds991L3_iaQs00LL>tV+"2e0M'$CXg\aXZ2uL]c:h9J_ +s-irfs8O2?U[cb2kQVq&;TPd:bEtP0Ck,B'nG3!ll-Wpo_er0taF[h#`&`TSH6o/q*ujAmJ5+s\eF8/%]T!X,b5f'\Js>u`>],o)lD +Q@@t-/F=(9!kLop3DY=V+QXRtc%(muSsXqWP^A7OG?GCr!MEn5&H8kC?!c/S"L]^( +m&$J]Dg;'Wqc<'M@`#;QM>oT=nG=*bhb-rJ[%njt5LLWTFagg$q-Od*^J-6=iW#fb +Q#BjV?IYtAPcIE7jX9M\#I;lAP#'RsT7+X9]LTSu'lK6M/;&G&M(l_EkYDBW7gE.j +]i>)4:7qoL)e=i/;=HN`/HFV,p=2oY(uCR_0s.Mu2/]A?/1%\Y@[rm#"&'Q[rj; +r\$G!1.t2C30UV?SMI(flVRs+:^n:?%Ngprk`uTnOUnNp#cLYjX&JYh;t-fPpT>\8 +f#\.T."n=?V"4N0W^2Wer_4kkSQb!fIuu(iS]pLEo,"Kj!RO[?q1$a6ZWf)`h_6.8s+j7gYXuqbjWUiH(_.E)K[4q` +q*3t;3Hl52iTG,95i;n<"/s$J7]i;5;tLtE%[n++?Fo$kQdp++^$AoEr3f1T-^.SB +;qC(%%^jL3RT?T#9!>XQi+:3J"uKmm!HeG@L,#/Qn.E2&*nVtP&23m'/GXFkL%ar]LKD@i[b.?:K#paDpkE0m;`M?/2nkV<[@K"VP;'BV +569J0S_6W)>#-0l808^?X_Mk:CbS+/l#lssb),X/n!lmuc@i!rF +LZb&B]9:(BR`Vl@$i&EZNl_gS?lnR"s6)L7L,H+Ue,i.'D=opSq1MZIra1G18Gb01 +!VYIY8d[=J%&>!hrgUn'=iC)5UO:8ghA!\jku%5"2eICRJ)S04QR]e8iF7D2s/!=F +1Hg\Jru;pS3IW;7r#u!]G(,n%pA@`tr5Z;F=Q98!\,(U!s0(CBo"QaAi\sF!"0@0, +2R,PK_#Le"Mg$BSauHuW0rKR%o=8$DpU0]e[,3uHH!@_%F7G@h\SEf:_h/jf+V +A/Z)$c4fb$&ahpT2^4QT@8C^DR]BP[.lIrtc*4It,f5Ie,5a#WW?hC/1D(/ts"Q"t +Rn8=kc_F56J!R,7^D1SgJ#VT!QOs)pI7E=b@g`5qUa4^dU\;8bFg$D0qFGbs^1)S` +Ak/;%D=!*WT)O07jm38:'QDA`UZasn^Teos1b-lMBWrNrY@PogUi:q0\A;jN'j>I@ +!MAgn.6E5l`V6\CEIFrS4F$V0iIk%;Ti>p.))p&E&8iC*:/).?aRT"@@]%IA\%GJ$ +HqrGl/oC&u`qD>oRic\&hPY5(9AOu^[/MOM$<=mrppISNX*>e,aI7P&SjWDlY'^nr +q@,Q@.mJntqf0h@\A13"_FrT>\,`N4co.SCI)"#of]8@u&:T$EkZ-^ACDsclj]2'q +k]Q+UF8q)&c]QcDh&pZf:$:@BfjQU[hmq:Pmk\o2Ri6s?H@Z6mRj-7o:j@R"m!92F +h+!n6_#dXX>;iXmn)!Ed^!VOU[<'fjFj$J$pI`L*PtnQ69rl9Fe#F_SMDb"j?/)5n +l\6_Gns.B/k7%g=o[(&?)E$Y?U.6\F)iYa,8GZ!]=MSVld4cK6N&g(7@J@EG%Xn[' +4*24@gEQMs2m$1CpL*,o^>quEgmRNnPNgPo1ZlLTo^cZik=k,N:MT'OS;7t1Z!6<7 +g6BGm'RVEf2p7$NO,;@V,YAATr.&0YWU*HZlJ/&neuKJ3XWH&ji8:LRe>3l/.IZ"d +nn_BHmo8roWI&fgGsN1lJ9eTEq6d2U1oLRA,WY$q[OdROS"S$B:,SXS?8B]qeP;\_ +a,Z=Nh+E-E.KMno+oS3u:-q2J<$)I]mIn!VgWh;h>U=F@JQ];i),RGUJo +mQR&gYFdOs5%igO]tOmK"tpc&)&3T!'`kZbr"#2:h$\_Fm0CN(r3\TMm?Y_\N=4A( +B.U(M'(K2*ScMkfSUd-8/U1+R!MmX +3Oh;^PhnHd:f.fH?,R2pBAG+pEk3'(SLZD;&Qn0$*HImW!;SGGp1WPhVXu8AA-Y6o +@gg(X+QJ@`r"/ia92GiK3h6KDh% +T.8B?>c%@n$IY!X#X9phIX4E[VF:F>IDm!_9)EiIRL)[TIVH]ab76QptC +ZGZ*/Z$ZnE7j7#ab25'RbVt^2]nfI8,8?U[9.5Hk9`#"e]GaQ$D;p/F73s +p>`'(s&FjQT+9kqoTK3%(uVUigKA+G^MLAD'&N?^YBdO*T2PZT$)Lu;.K6t]n].3C +n!_du8m,)i3\M[u])"IV[^;F&)A1LUhpAcYHl +c3pmF$FW8.ZK)3lJT0*H!c3.5p=oX0,^9X&kJ0`H%4Bek+)6?fEfhJZFLZI&k`tK7 +mhU*/C4bYlo&;S7)^"(j5,PF\3-Y>UXITmdRr;6V?6ubg8Q^[ei+)?/o;KVk[VSg. +06ndEH7+pYs$+K*Iu`7`pk&_Ms5=.;T2)#@SK2&3aBAMX?@'q$K_JQ1ZY0@uA-+@F +##@AmR=6/2s+)d#L:d;B\b%(np)n$hf5H&SD.(o)B>_9(qf`"JF5P9&hEC'$IJ<^C +n"H*IA'Y7s+RnF_kjZE.:^]N'!#Dg,dOi/`[cH)RG.hDOC<,J%G'NF[5nc=]XQnDR +)E2K$p?^PBXIE88C6hR:p/eDbK2AW7]Y$ +3S,dnLsuOc)d3uiHdkEp<<l%4j&"N1q$YU[=Y/f=djaGn56Yb/ampV70 +Qo/78'Fc;-@f#,n_So/^;ee$cWe*FRi%?=Z?=i#CL#="ME%C'P6hICCpT@KfJc&kD +Ee+jrP2KM4F9CZ,'0PR@I-TgAS!3u)r#uT==I\!=_s&;mC5Mqlb4K:W>)Na$6_,IM +&TjY$!K"3odHhutLl;i[J80Y!WVpJ9L(3a/0,4t%.d4Wl+*;nm$Qo-GW?0\UB(Z:) +qSLcDagM!@/%#bF24tiA$N0`S0FRf;E6FXX;"scIitc44G1ACW<=nUrk'(]I^"'jZ +g]lEg\:kE=!;u$HC'"G^cTCL5gYJV./-]`A(4Dpc.GcW3k, +Jq)G2H:\'N8C)$q+)![AB7iBi+IITi4gu`-fSga+Nh5*'S/tHVbcHA%o`-0?PG>@%2jr5unj) +9AB\+Gn.@43<4Q@9K!f5PK'h]QV<_4ESYP<$&F#Ahs\I95rF+M*a5Mr)b,]!B! +:O<*4UYusFpO=a@b3t[l?>-hJhr9-MT5:]hcOp1e!c6itXce:[Z9jNX+q;`KB3U%e +#8=LX1H!eT20TG8?9ZkdopGZkN"#XaY$0r!C:Ts;&WnP6hj)<3HDp>I5iG_7_R"?< +om">O'K-]*0H>*m10j# +D\gF/Sl#[ds7;';s6`h\Yt4CPZdSGKeVtsA$cVDkGLQjQ<9mFWQH,RJjQP^R/u42i +-3d\m"B'gBJfmZbYUNaI#r\!XJ6?tJWi_<&O(<;_DNH`%L*3aQXkCMfE'%rj4bt2+ +71e_q*F^$*AfVh.%Ib0'=NFp94"Q"KkT^JK]V`s4lB_?dg;S,3E3$cL1p1DRp?r +\dn):$lng;B&C=,hk"'0Y']&t2nHF1>u0KFN/rq8B0h%OT^+/bHDEJ]Q>a.641;I3e=MVeAX@:t#)4f!nPA,[70jVr'%`O5>H2hX=X]!C%&S>$n +);W=c((`)5@Rar"2D+4^,NkGHV\q(DmX89T".Go87!I/Y-f/Z;\DD;D]1pPHQ?]/7 +F(nPADB]eZ/$jdKuluh?ML[\6!.KWX3QcEo)e5rZX3<8?BWI4rr1Sc"p;gku8%- +^h;*NS@nC>^PGYF`0P+#eZX)DQZeF8g(Cl&9qZAN'/\FpCS3hR)Lr\DU0on=QthSHb-oWeP7TlAE#l/pjt/G]p4cp8iOtfDL^Qp2>]r +mXu$dKb&%LL,L7\efstB+pUBViP"Q9T`a8toD"$Q"Nauer*I8,DUR$X_UqoekYC.4 +?L$2:;lI`MpN@Jf1U=lf1Vo6HAlgoGWZf9,!FMf(47>C\td +RiK/%C_s$mNmQpUrs8Dd,Q=SsD12J74Qkc&5DK*fr5[]E^jl!Qm(c\K\CK!f[h((J +5NM"':p\(O8j]arI#pp)JEb\`(OCSWJ%Yd`qRZ\OCB5Hhj8#>+DXo[b6%T(N=b0F) +Tk:QJ-NK\:Y(l^q +5h8[U@@O3pGDh"H@WK9Ft1*]*I +0/:EeR%_LY>"<%W/(X/B2oSUT$KZG/8MBY^70>cT-6W)A8AFGVs3FOG#lhZ361Dp= +I\NTDZ8lj%! +rX6V[j295ho/N1+*5at#AJ\.O:Q)`&0/U2(RC/R;r\e9SF6`=W&sqLQXa\LJr1(7n +?2h[$o:F(:@/G$-*pB*CXnPEQn)@F+`(Jp[Fb(hmJko3&#Zj1qQGEao>2VnJX2'31 +L?&GXnIp-.1N2qjNq=??iH<'iYSuun"31(f-_JlM?a5sSE2@L*bKn(=p\ZE4I)aO- +n?)]7X53):U93`egWhsoY5S6hB[duc!;N\7GR4?cJ>Nq_:E7G&Ks%t.DdMa3EG1Zl +2M-JZ&H5`_l^(>H+S.tqhkJ\SegXU4FRt4,P4O_[7Lte;5EK2t,W0hVTNaC$,$V-$ +XATJ@8%=kMhpD]^um)?>j#F<^R09d4GS%:MHY$ +C*cVg`Cun[8('u!5Fjf]14A.Mg5&dWY6kO0h^mql7s'/O\G?K;.DSUu.%!1t1'&29 +6o&Q*EZ7*d)EL6(;tU]aICn#,>)9?!Vo"57"P8b%CD@lTQ*+.t=)&&N)AG@#<4sA& +h8mU[;m=FbGqD(SqV\a:PSJ]G,^W'7U7W.LUZK0i(#XmpEk1C%b7dYe]9?u;lmh',1G:HJGat8b!@V:]M:=m +Q[2?'H5(5tkSAMF\*meb)"e1Z9'SdftRl^:3=fah6`m5(V^VJ<_mr?9q>fZ0F +$l:.Ys$pG-;e5_Js(1!mPYkp6r$22>JH#p4$@\'SkJ++uK:5"irpTY9KG*3i`#B`AslU(N*>3Lqi^V"13=gfB3+HbDO6HW4jnR]7Xjr. +q0eO`k8N?@CX>K5T7ACgQfd&CfXi?Eo=NX]%^qd[8Rmus\AWqP9]V6l\mlK,;&?1` +&hB\c7:q2c1[L5ap5"ShZ+t)oYh!$9rP$op"DM#3\=G2N4I>iW#`X00LIT-FG7oDU +6i-J[ibui%IQ+D"a#R.M5FV;MW%K%[7fJH_[9noWs(P$sJ+or?UeCC82V"/%WW<'q +LDgj#Fo$/TFekS.Mpj-kT"Dnfc\T5q&o*R@@M'Dm*?ArB3s"mMkbOS"MrOh1d1M]. +L`A%9'o3Z?_24rpR$J]rPsmK=6rI-/Et6ZNbHg35/HlQ0!R3fsjqJVW-'@39\FfcYQdSd2@e7=:^+KDTQT5&Z?[&>$D\b(M]dO7=MQl^AZu.G +]YGnu6`4:F9YC^#m3$NB9CUS_`68Udj=Nmu7X"+WS$9G)6*nnNa*2G4Cu4AYF)#'s +-JH#\]C.rYb\R!hGO.!`>m(-B"FcgKfYPrXB\BV_m9ADI=50PE9hX(19,=p5bISFH +3[pnOag_E#ri/Nn^jd$?!RjYomdlKO%IVQ6]=3%!AF2_JZ9(V&7l8n)#P^W;eK3Ab\'I$TM*D%6cGg#_5!FV;2_td&mQsJJcBUfnm8^2Y!@I2 +-/Bq9lJu7:'g.qLHs;j;3n;(jqucuRPp76(!DRT#X\-E(npVTO!g/@:7#p\5(Q-`< +*GXA1AOa!M%4n09bj3]9(2LtbS4k!NPD0&.GPV`0q@2lps+cSl7nno^bTDdB+&5X* +B<7`NgJrf:X=L2"T8oC*))6OBr#[dGmQHooH7BrbGJ7J5U3t7pHLXT0#cJ7&#N,^a +fA/h6mTn#FRc2.%q\nBWPQ4A.>8FE9SY+>7D_le*_?1oJc0?bI6ddk +:t4t8+nA,5DU8T=r6GKZgROCKpIrV5(5prU4FR:kdU#?d5-]]I'/ +Q+btlopc>&?Jf_mj!J4$,HfoEQ4lm`dFRO`ZTOq$T$T<$8BhfMja7Y.IC',.YfdeA +Adb-U1Wgb&bSFAnF.I>r=5]LcEQhrTA?d+0RJ%L,]6(W$)U0TddMdcdGs'N)5Jobk +p*7]U5CZU7&N1b2!ef7b(*L3m(mP(\r8@hSIft7.=oZO#ElrsSk_ +b`=Z3ITc^4qO2fRs5m\Ms6ocE%PfiadF\\aAJ,6hDio.3s.cO.Io*`'&d8,.%'bN% ++!5#,(M"=(CnDR2O;)Gr&T2rN@9paTW/*3EMDsfm\M0+R0TiD#STeu9^A;RfH1QUP +hF",la2D%jfXip*6Rh`>$jkkl^'&Rp%e?lq9Z6tm"GPMWdKfpgLLP+LU`(%9W=rXe9rp! +IsZof?'8N>oVjpbMqO&IWF;,,67MFJ<\YcK!.P"J=*'QV6.$9DHupi#UM342dZO;] +.PK4T-4:BWAf8Rl"psKOI%#17b;P+C&4aL,5^,tshb7Tdb@"XJB4&pA3bS"gZFFfJ +%'Ko0U%KRK'V+V$3o=?rWRdn2h@1D)3M:gK[#uC\^WQ1!4U:XK] +258#]&]"D^"eTP?gCH$n638GD1X%)6c,7g@?j7pEEM]18^#JGYdsbbC8E8PafSt4: +c!&P\Ef=0FB*!=1=]H$:eLJ1r/)@p0Z;)WNN5s4a#atfg]Ct7/.4Ta:/$PB(/XGu> +.Cll8]%.O5=(*^W0pbKmf,A5pC'F>]bdCXBT*NG%Al^s7\HHS!2TTeu +SH7dfT=[1"nd'UDi%K)K>JA[qi)g4f^N_Xh)WEkTgK8f`Qpc#:c[V^>J +[XELG!r@(lqR;%\2hD6as(fH!)rZ>Gi>qdY/phDi27gmLggCV0Z%mo.JGgMI`0P@O +6SJ_uNh5$$*84&T4NNsUaBa+X0AX=R%'b::\#VIHDC%BO.+5A^@s1XUS0p#4(/V;] +AiVus>Wu&GJ==_AcP0JlnguX$G$.[;=b<^-;)aSi=0dNTfg:J\BKL`o0)%sJa!mMF +#k5n1O2M!bs2UNL`VXUY+?9^6OCUhB9t/=F+8DHKC&9dfAbk6SM#T7/7JQUGZXn[e +!.UEP"ciA=n,GoKTRcO>i+)cH(;TJtOn#&qo,iWXJ.P=HW9KEJ7%,1AZB4T@O_p,s +4UV50r(i6Z`;'p9%(/h9[K6@TL=df*3$a2;VFEOVd[fg3*D?0Njg!D0M:AtEe#q2Y +]p\$gZOJ:&[:erA0AP$%1:pYZ`F(p@%NOS>)d*??T7< +YO<#e5:3$`T.S^1!rVpds"uA-LC'51c2dc"r`c,rk9USAJD\Xer-Cim=5t2!s*s66 +s-\]@9rm"6HM.5/p!q*OZ\;RMGpc#uH4A!Z.Uii/o(B=l7VQu)`%Xf2W'tO$%F5"6 +M0WcJ?A)/W-IA!tn&%'(5"9e>*QNo:fokn"rqPRr:$ +3W)?=\8uC%;Hh!JoF,lg$M2OQp!*s8]G':I0?iTsW:-9bUr&5/&tdMU/rWuC[(a=' +qp?'!1Y7(rGOJ%IgE3a[O*X*9%tAp*`QnltJe/Zb^5KBpVi%D`V+iqE0/A.\&^SV%dkMZ:@CZ-jn(A%Y#L_a?N:[e&hDu'n#[s^CM +R=5g[n:A%C5#Ur$AF?um3cYU^^rCNeb#MsQ>IRHSkg3sa?Zu#c3^2]W]6V"-N<")e +-c45&JOfa3>MnSN%]NJ,'"(2DVLQ0E8dMOihN=X`H1nM +-;Wf#S]mQ`I:l-dBM#sHrlgqTPNi)h?Z,u$f")me/s/G3VDp:dUWgquR4ZN9aL3WT +1NUc6OtAIG1K/+F)>;A4#C>*qf@T`)ICF.MqsJ_/ZBCa6e(Zt(2qD)SCaW^?qjV[+ +0^#rj;MP7d%'n369N*'V,4,=70p$3,;N#=^FQV3Mb`@2<33];d\#WgE2uF7`R?gC2 +&LYms`6V(Rjs2DI@`cFc99Re=Z$7nVce/j(+(X<;.-iXa5q\t'LJZ'CA4hpoWt(p]P=QT,O(Sj?FJ/+' +OT,FYO%N8=,a(YC;FdQs_m4CZrg,/D!;g+eHUK<06DX\WIn?hYafoC)TR,:iITE?Z +?51hdR*ho8cXGq05+/KI8S5_b2S@tC#G:Kg2/V3SB\N`/a)ut]]]!Y`$VCD,qfV37 +=SoNI3tC)Zm=5;ZrdBR96`5JKGOCS4qp_*^&MSYK13FHqFW*Ab*'AK`r6>/;dBNF" +8IH=[3:5m?rhg(/B8L\bn^@__1OF,j7u?gReCEmWq'T=g:\$E8'Q%+iYOCUKc-Y1s +#rrHW@Fa5=3/(GD(#] +i=[7hm$n$+r6p6,!C6NH\G*a%:]dk`\1&H1J`=!iPo?"9;od%:DHtG.7>,.JD^5'I]f(>2-(7_T9oI3iXLCYs$-9CfJkb@#a>>)s"qAG +,MXV%g+JG"?^fnLQ%Z26Z"U!Q\#8J6V5a.7Pl#1;@gncFVY"uA`'U?bC8Sdi->GaQ +3mBrqA4+u%aNI9<)&%._L,r!sm3\TO.&`tQBKd#s,XS8'W.A>MV`0*X"/a'N?"Jnp +1kM`eTK6S]d1U3'LB]l&UO`J^Z-YclFIe85=b?GH)"EA6`1K&GIi:cTgD&ebcO'N1 +-/nm7-MmaZMZ9k30i.rLqmt_[b[:,UUEX'#7,R`q4Du%MC(`\.&R?n%S]R5ZB$,5E +'q8)C<[Xm]':%%Ai,7E$&:KZ<"967^!,qd`"'n,K_C.:Y,ULSi--@&1+-7CVPY*d0 +P"a>\k1!Lke/2t91l`>c:W;(d"Z`IU].j.f1OM?kI!kP`r!WFT$GHB/4ackWr:4(o +o,Rr(D1`17_'RYU,o/eCj#[!3P$!_RuEdG*T))nPauDrmtE +dZ*GfRENO2_[,2M)-iEumMg(d)s#*]f@t;8@>H`/Xq<"<2Obs+u:g70AB;Q=]HqVPfoV]c,LFffP'"lj@)i'_&5dE5BhLld6g:-\'[e7Y;B3W&Y5qZYB.WnT@F[;Lfs +$j_Rgrr]i0^7>Pu?;RG*!eL9)KOVL/`">k`KHthFN76#$1g*0[Ff1&^dI?[h8L(muCYcgjs/mAiV$iSR0Y_0#5li51JF&3&06GSZ26%A!G?K"-[2?#-+ +s4,7VciQ:=6r.kD":VBj@6PrVt=AR`pq*4?GcYr`b$hAf(q@>7TkP63c +5LJCBgV,fA;iG/!qk"d;PT4@u&nh^O:Ck@J,40CVN^X7l-&Kn^8[c%Kf!WVSogr&R(no)_',t'lF8&R#Kfn6u7ttRrQM,&pfh! +RRr#VLsU)de/na7qa%@PW5nVq=t<:S)62Bn=_iV6C^)b"6(O#I`sY$O/?hEnNiCBB +0(M^slK9MTht/$Vo)GnWk^T5bs*kgfs5u0(s8TJQ!W;s^eqO-@Kb)9)cSNFf*68%6 +/G*@9k[c.8\d<^eMqol%/eeSPAP!:aAQi!mCD%_RO<3OR.l/F/[SBf7;$u.gO:6XU +Hjioh-R4SKOer-:s3t_gHheVY&kud0P:WY#9-F8!#TP_WSegb<_KutbL"+&'>*;dQ +8ZC7V`-g1`9H4!O,QDR)h^h-u*!;g<]ta^:n7'Y@1LMpMhNN.J,p'j7K^M4C +Hc"@GR-iK;lS%`X2h?nMhUl=:F"Ft#Aq*\>R+-ac=[Gi%WWWRc&k#, +i1;ui_#"1N@o#3703mHJ^#tE[s,UDScWiq7*/BPo"/f2ua!Mh>Q(L54qE=UV[gc,O +XB8@M=\pNX?goLHNi75Y)J1`H91K6C2i^gi[,YHXbX;Ti/D!^fXL1XXI)6'iJ*IBa`?<$W>IXEU&]d +b+';o6njRZ$0^FDD9)/:Im'D'dijhT8@B4Y!Ta8< +OELf'>)fej6/+:A*82O%HDEteAD2WYl5'op'+4.>#j$q5%gkgMA,Q2urAtR^ +!"KbTZp-*.";T:N"CXOqhh;F*_1_Li7"Qmr=>YJ)RQ;U[2CtH:'o*V*LLli8rsq?8 +"Ql=U.@AX6=jSdnf.I:O?s:6g;RLKA;?!LdiRl&"@AS@3>W,(f`/'S%XdTEga+.aM +-D5REm/oUG&!RQEHghoGr=,h$*tdJQ)482-e8sj/Hhc$)oYPYPI-%?^d'_3`D:$dd +hrq$](ZbTlUDKQBY20akmpano@ci7A0B8A%j-OZs=0E:(JG`4&VGH2a/s@*tP2Qsk +buhSPhn3Q=?84@`kUS%QV9P7`dFaoMJRq>S;VNU3k&o&c8e`3Ir&OOlQCu-9XHQ\X-)aeJ'MJnH4XUC2g_1u(M +6a@"X5ZXt/ArIITpQ?S/_2:'^7[O2niMO7(*^BT&"7RK'5HbCorm1H/s/]ml+6u.Z +pPVI&s7:cc+7to\s+gV'pY5uTr?NHe?N3g2"mA*6)?Bls=Q$#On2,a-TD\8.rVqZN +^MO!M6M5TdJ't(`i:[--p`JAmNAkAo)?Z@kn+*@nB-_m5!JDS*@PE1u0`c2^NODS0 +gZKnDjsJdEVqC*.XRhY"ne6uij7W##>'Vi;Gu:T<&YeAq6&Ys[+#";G2]@\p#t&`#+TNl01P!O<"f&^-dB0"]H5Au7*MNUj.Q3&S/.gnY +:`U&&'^g!m7XS(>@=h]ok_+])bPh@8CKp([S?HnBX6qpN+&\`[m5#B-##+#6SUAmW,_T"^m=Iq5(_907Tf +]FQr`,Al3Kf:S6b?cDKH,&Y;b"[E>af_po9r@rcuIGEs4o%)"*`>AC!@pqJ('2__s/8%\gE'p<5e,mgNg!eBKr;tr;O@LU-PDE145Ue"PAI4GP +'rfuh(UiX-IH&V!C>$/#>.>]E\0)TuUImSs9Oiks.=Sn[[4<hr&,FdA`cZ\"bn(@QQP +g@XadoU\$_:7VS"CjWWC44[,12U1"MD0h3^#>SP/cWiK.0'k+GaYV8j;m4SiT,@!VggcWbC7^Eoa9f0UA;+/uLKik.>(X-]hYbC(iHj0cqWVFC ++HFgd/ZE0E.A>nR?rN.gdfT1+IQ@J/T6?*q%_Vf$U[u1^Zi4;4$A!Ft?$JF2R,;29 +lu!C'@0e!$Rh37B!PIC++-NFIJKj$HHQ,:odu3%!<%/(#f8ig-Lnn^HBD,OQ"$JmY];55o)L+b+,+C(T>.jC@t!%Gp1pj&8g9#M^R$@%Y#,< +jGdjH7Q#Ib)a)KTcKGTsW!%l(Z:#I4@7i(JjjqL6>@`XJeDlB&#scg)#].FHa(_KA +>iaX3j=dXV^[">ej"UMJ9FC^`XPgk=$iK=Ri4gjRs(tp&^Fb?@j,D'Oa0EB$`W"'n +pt1@Mh'qoj8`[BNA>N[FCb@/*?2T7O7n^Z@S8ki3_7SJqZA>)U4L]Slk +;*b-==f`2A63ElcSPT>R!;J=7n/?.1N>AK[Q.0>0S+UL,:0Dt:F8Vm(lDMLgchTLA +F0C'C]_de3ooaS/hL?ucrK;Bt1&LlYjr'9\LQ(h#)4-sOYJ-f>IV)l5U7],s*l"T= +59k)0-*2`Hln3>S2/2ADi][VK*u"A,Pn.>hTVhs'Ies"9/K!+5(]FC^5u: +qG-D^c>/<3*GbCA5(Wn#4ii&n"kIA48*]!&sD0@*M=u"kA1]6@cHF\W,iecU,$Q0s3l3Qc4qT'2Lm1J]jCfsDIP'QaCZDsR +gR`lUaoge=9Z")_r/)J>:7O!g)E/rY2_Ud[0+g,dL`bUe"TE=.HSo9&.oAdHO:hX. +97t/rODHiG5m:GeM,1U?caj-4CId&8Tri'+`WZXm9S@F5;P"&KB0l)W(nGJl/IEbk +_C(WX8Z$"IdieI$+h^&OlTqmp2e:;:=gmkR<[00]q&S`T2YH!`5h7fS@kHaEdf'FO +]lo'W-d&tq^ls`e?t4hDK^ilpcjn-p)s,t6n-+An.hX]d:7d\B)A>a`i$7m`7f`Cj +0nZ4]+gH9PE.#DC$,@-I(_hV#J-#Z\ajS0C1FF7*:T5,T4t<($.@OY!"$,H]f6Q`jo^Y6a`$ +EJo@j\AaB9\auUcOQTuK/mkG+JUbdc[+/fJe_@I-Vt?69g+mp0VQH@9c5t##*YDfj +84,HnS?7Tr^g7`P0Ud>&1OKfkFr35e*&2gT5(%l&g'\tU$05n-YQ5[DS?8HXm?$:t +:q1)l13Zi#*a +HN>160]2h)oJ5RNT*N^BJH+tc=T79*5lSF65MpcNPDt&Os0p&J).X:!$pY)S`>ao6 +9N+L5oL/QbMF1F%;\m>,,KZ5hD[@CSM_UqqlDEPu')\"$maBLC@K]mIJi/j%NZjmd +P"ZFd-4nW/atSHgbb7-l6idc(aL+Lu=sNWXW-fP+^(%*X(0tU/.Bpc*=C^nQ0mOQ4 +Gnu#-QIl73^/>rJee-a'Np?:'%#5t',Pfn(TE@773Y2%`')?SVic"]js"M[kh^/L+ +AHr#bF+XES&+`T'fRK8(rk!0D57M*eEJ33B#eoL6ilQ\N%$pp<[Q$?SZAg2299CeL +5KG'aA45`>_Mr8esmI.pS=oc)K0qomN5l0u71cT0TaEh@a%]R%mb +J&aMPHsp<1AmTn:\bJ]WI@klm?P>u_I2TNeK!b?4Yl:)uo.D*ZJ+#hueuS#jGJqCc +;*3+@2d\sjK9ta5)c)'PcM_A$ml,MFgqSPnBD2d":OSP#Gq=IWE/*Bo>B8#.K,5"B +n9eO]p8S#K0lGpbZ57Ijh%0F5NpDIu!1S)skVd>6QN6NK9snoO!3:ug.gdRq1@WZa +3H=ni'Q[E7^*$1A'hb#.V+uqGB;HKPZLg.;g9b\=TQ"_TJ6*4k6&2f[+F+#6!<=9N +5Vm`4^?jXPiQ.[1j`1)P:[U,b+p-d36%%kY[t8?*BW@4f%rl18mY,'gl`(O9uY!8V7^Z8=;;*,a2Rf +!>8-rM?=\D74(?d!@^tU)"\0o3!/e:#a!eFef`2[+d6(n/%>pOf[iDIeW=>WA5\+8 +D%a59LjF::]6.RfqQ\mn@K0X7h_)93-d&>+"/#B/`(#_Z`(roNNetde@7gEbBT>=\ +=-rtO*"aD+$Gkln&Kl0%&dH8efTJgY;Q3n=q#&I6;DtaBOT18[mdu.%WG`9"&0flP$[A_cn]C$I*]"E4pgh$IY2"nup?ZSr!` +fDU'JrVMq/gD7G+k1gn'SSH2^X%./pj1)*\gY,6bl7#u_Zq^M#?,O:YB=a^@7L1V&gmf*f"Aee%1h-_oYX0os67mK3)gQsX +(q_jO,Kq>p_OPgV-o29uNjiPQRbc;80k:LS0nOL]61E"BPT\fC5Wq`$??2\>J.eLc +7tKQ>rr4YMmr%WIhlQhpO?E"1mqqR/c2V5J_k$hBq&_g#:GdTK5*LtUFSl(mq1VDg +k7JMGO;MVnP%[.ZfJ&J*=ikh\MCgt'7uO]IN\QA$dj#$1`VQN&]#]ZZ9))Ttq\Y-8 +km2TLnG0)Y!`T`).Std*'Vtk"X$X)V&5a)bC*Q81a>dI!]V.TRM,:L_5`1D+RL,9p +/-qo<#d_ao1+X`W/B+qIZ%Y/gC+$_B%og"[E\J1^*edoqJG,E#I"@X7d$IeO+8X?6 +cfP&EEU5nc@K1$KqgVCOs0#"F^Rr=@Bgh.q6UJQ[$bbg?]5&(oBFmA+&RHt&SM(PH +aHke\bI,g[lVeM@aNAcr[EM`i7[/@*UiBRkH#iQU8Y0U*8sE1nPUSK0r-e^E&M;_, +'no9kZd0)'0*qrd$R^'0)'^RVa/mt;biQIlXVZ80YB'>DB'_[Un(^buT;V+iU@,^g +*IPpfI\1WL2IlJKpAQT)js=S^-+LSAU7b+'\P.]^WX^-dWPoRN72;glJr63h*Mudn +W^J-G:otd=V%s5$5a?(X`M8g+#D@tiEA_Kq+kuRIOT)_jSR2`M^D:)PY4rnt5@tpa +/\([,n)dRBp%s[U+TDu:(SDGmd4[\]SH?OPc2\rc7k`!=f+Eqm +iQEm1qsVTRDb*B:M'qa_V_=e9cb*GS.J71 +'1nXX9j:Y1:0d[;ItPD:j54$@^:- +GjLf:&2=-O&8>5pDG6QW/eu27no$n*e3R,H#d&3%"9g#@5k'n5,,luIF@`i;`jeH> +V]MgD$`TIYaroYU+;B@h;]ppALbB7t:Z[or<\U7X'PWY>-GL0,q&gVSXlVJZODnr) +RWS(&e0.OZ+JVO0dgD%?2.ZV%ZE8aueW<'#UgAc)D\R6QM#-fN\9IJRp0g,]KtQ-% +Xt>_Cn:*)u#TF]l,S/=P@/^3+.(2AtCjp3E\-QMBKJXrBki\#kk)\pB,5$f3%nIsd +UaX,'o2f?#Nq_('%c9+UWh1gqQ\E?%c +0YnD=+d5^=B5]$XT11KJ,-AP`_]8i<`>XcqCKMPlB9V7$! +T8&;q":sts%W$H5Y.:tm4#P@;ek]N%N0oiM9hNDWWr^,8jY0`s>g'E]MfQUhA]:$* +"n,M?/Sb>b'>\06rBt$`,O)ImB5\=MFEb/'8T"de,+-$p=g]#7WhKtY0 +!-eSciE-Y+_$[FM0_$iiA,n=Q3(Bhm1W5e$Cm5NBO:e;/$ISqu+>l\O3VZfC)$&dT +s7c?hJ*DG*J(Xeh#'"PW!2>q`4;%AFs080l6kB7RqENgQPQ89dp\V_<.f_^3hd?BZ +mXKg#oD\_*0*M2RrX>MBDuP)]U1"DJN1+3A9hA%ehMc8@5gEXKEsC?Tc_4,/mN9Ag,@)PY8KKaL)U/GJl]=i+qq:2i'sJOUI#m +D?f[3"T>&1nYm9!]0=Hr%e9S:3#;#HEU;SB$N+n2s48F1T*L$5FUPtM&@uS@3.!3h +Xcpgs:9mfo4o6l4gY&L8qKCq6f\#PZDPaOl]gh4[#(92Q![bdkLI`shQk'tY0HC(u<3b/1:D1+3LLgsdlUJ!7?9.Wr$02X)5 +WtS,`!O:Ma5rbeH?ln;Xe>!#_b2IjX2+",HYui0\6nu,LM:?='[iIBr/8b'.f&!=[ +_k.=qr#_=+6g!LNX=KD4J'PY)P'I0)2>cXibhJalf>.EYW+Q*:'_oh`"OEFqh:nlf +V_L7d#R@PiLMob^JG4%+$66g/Ye<2+h;-ZBEWtpJP^?"5q5J`$Ro?eacrQ# +b)g?A-tNT\P(F6;5R8VXd;^!s$jK?;;JIoV.Zi(i,,CVT.2lAB#?#=KZ05Hu">$2f:&r[2;E,\C"0HAFecT.cq"0="Y%VI)0O/"Ha)J)Gg< +r."=Q6Ipg+k*U8eOEB3L'U9o2b)rR,A`uMPXRSgVF'<-*#'F\cop`tGqe#69(>Yl( +4XV@SRs+4([dTZo!rq^mG+@4Z"$ekcm)2)0kQbi%\^r8!s.S3*Z1l=^nBE-=DA\(l;\S2to>79=?\fBh7XD46f. +)HUaE.SgB8A%IQVFF5AJe(iRBjK +dQHX>38sKH0]UY:irHg-G1a*4fWq[;UpA1J[*uClfds>O0"9:[[llDI7"G][Vugo; +/.XD2^BmSa&M)3f,M4h/`/FpL#66md1Iks +5lLT:!X?:AqaggCs(DB'j<*i!pgXXJ_,VSK"mfYgK_^Q+iEctB+9^mSqWfH`[k.E* +r^WUDJ+s9\h#GW\fDkZ9s6mQCJJ\+!qoS:h;GrM'W2=[*,pUZt::3\e[Rs,u8rg5' +L)WPcl%O@r"?iP1(fIdGA_r#^7ghfN7u +2%/5&(-8T1gF3qA/J/#Os)=iG+&fn=qQMG@[>:W@7F4VedJ^Kg*i#23!/3[s0dm/A +@@!lo7RI$qG:4E]a#IH)c!jXGWF-##Q[n`-Q[g<]]^26U,GpOBN +"feAGF]+n[WCVqLX@XhgLqY7B:d(OP'rFYVZ9fe)[jY4Q(1"(<-rVEmW5n!M7V,3N ++6ug;]Gh@egh2T-%lkFJF0@gk>f4#N=JtVTB-5SU5%RuJc$BHhs#&g@KRf[4=+Ds2 +M_ETOYKZ<>dr3&!]>VV=jF^NRql^:;04T4A'C^_^T,7>8&)SLV(CuQDGTXQl->NE\ +-p0KU7gM(uR6%Yr]6#%-F.[m>1&p$Wk14h;aI3Q)^p.>:O[7U5I`K0"f9'4nM%pst +JK<5-?/r)9PKnTON]k),D6:fp[Fu)O8s&j%.2As7(Tfg@?]`HuQ"J<5dcVkno+I!n +R>_;@k-R\EKMWkZ5@t$;4X1h'/P2=oTE$^,849llGiZac5_fb2LdT9S5b\RH@Zc3: +TQ8PjER'DddB6otU0@K)6l["9i:7ON":8=aE"65o+3(L>c`IQ&cUTB25[mS]Ta6*` +,RQt0@&O?I%_m)d=u?skAO$bSBFtj]!D!d[%tPi6#kCAM$'InP-tt.VRNX'g^46^8 +eVT\Yju75!R^(so4\F;5;J+T1eQe>2+]>ibnYd.J<";'m6)leOoX[Gl\cgi?s18D> +RuoT<&.\KM+7%)^%NUfWrE/Z"o)nRtL4nKVFl:U$NsY&>L%M+WqE[t$8/N$eO%Q;[ +8L4JK;Uc9rg8HQ47#&gKA.D0b@-pU`!X@cMA'3I\l@k-W($k]R4!m]!k,h.>?)L^d +`ths9-K$PU%BsKm#"$,!:"P5Mn!R\cZ")[jo>$XSn?pU;Q1rpbpD>RN^C$FD$X:+M +?\$IGiho'KE#L]Zj>RKkHghs/G4"%)l.pNsa/+.'[:e*n(HaXI3d2V@p7)@Q"PJ"d +#Fp#J?2+l$p^WkkER4Q8?\>Mk=Y^p8;OGQBA,p&Z"7])Ye'/MiE(PE*mtFq*L*O!bqe +-QF$oChhYS-#DnQ!K3+)Zf2"l16-'OO&8KX@:>pSHAts/Q#93b"hi/<]?;kBeM$O! +(G3\Z4kn"/bM+?!gHNO,0#Q9f_[i+%CWZ-':\Qe@%l=AS!EOWI;0nUHp?f;KR-EdTQ,"&d9lB!]PmfIfDas(rreEH%0?5&2uK!>K+QsY^uMWr +TAZUXq`d@G\,M.1^I5s%s5=i^pVXaJ,a7j[e%bNC,ocF[61P$TVpij,FE85RP"Duh +;6=OH9+&cl5/m`H5L`odf1FN1qLOj(N/`RZ`Buq4"T^DNPc6XZ9GB5uKrd]c)c7GV +1!!B8%L4nT#TIKbN=j!-!02m%P]dTcrBq/KLc?)lBeMAb^dhU)\*OP\_tu +[$&S@'.nFfDtHF+i%Ym5_+b,U;Ll9X6G7,!IdB?!dYIW]>MtQpfKXA0s"G_jo75cr +*e>,Ef]u#cP8^-IEhU`enWeKafc79E%-\hECbo(jMXm^-XI`#5@`7QKk)VDoM`.^aX:XbBn +dLWKoRn&]seYo0*Q^UMK7^3`*:a8/"SWp#fS#7#2aAIf<^>Bq8'WQj'W.okB:o573 +XqM27AQj`o*E&_OI&U^_iM2bkq=%:)nrR)O&TRY.H0n>gd80S)58QHXP&pGZFo4;f +n.QIQ/,aPc'`\O>G8[mJq$Z6Z',p,b-A:Pq=Ca/tcN(TN_I\b_6a68-M&Ma@&556n7:A'_4OUJU$r,A'g7@kSJ@- +'CfnV3&W#KRLlp0#eM.,&$C0@QpfG[(d+]#V#;:LQk<1.OFKKEk^Yoh(YZV3(!&K7 +ahbt,$-*L5`fJmsrddQA9;DtfVSWYS6lJRQ0dOXT;Ig8%80<2C1Ta]^XBi8O=M&4o +G[SsACu0VUfm.&SZ#A(!D:#Y`hlp[:^CXr/Ee*HYk.bkI"7r.sEc-iB)MR20.\4$J>+6m'u`W\FaVuotVT>SU/*KY&j''9-;OXhYm>&9E1+nqq.H\ +kW3\@bW0k,SpCeeHZ0!u5/S1cUISWX]V!!/#]no-Jd?SXF(iUR^#mbLjY6`GI"sch +_=HLX#:71LNXp?WCN/*n"6@f"s/IGnc&8pm_Z?B7FWUVB@*uMt_5VejMG +=!s+LiguU%IQB6XqMJ->%nXd`8S1R'/%G_.nOaV6(*E0f[,>u1`$%\N99@J8 +0lNMB?b4V!p@J6#JH'fq!l*n(Iq9";keTH$(V"8q4KO7GHC#".(\=H"1F7gE1;.CB +:!$"mM(/]!WYm()-;fsBWsp_9Jc?YIQLnQ),LDb8mni26e/+Z=9rVJmkrto'?D];Z +`\/<#9HT!a*;/I[`C&t5p8P+rqaY7[A0)KoI46ktJeZIir6QWh2fJV:^+Lh +fR+:>r\Ale/o]ppA*1X>o#uRTb\lLsB)'eloYtVCg0sW1j4K@a#iOL."%'f7HIIU< +o8ZTC^4+\-@F)25bb7?"So+pD=0lmF[:\f'`OpTtPZ5Z0'PgU!HBY +kJV("rmRT5;kig"r/lW!cp:>Z#8+a@"`ac6L.0"8AYT't6EBl$EtCf?kReC>MhSBD +&;gaM<_-F'BSMO^&sm-b1L`Z1!^/S+6BjGPi_kV6bf<8OTd@d-i\=OYG6l>M +P'U:QYt)\X$&R#^A*(pR!^ZcOiG=Wi +XpA`@1]]9SOuOjXjp8lLhZbB)@/imIL?(-[*or9Zk07S+/F-B@):n3o2]ST +>'D$W2BMtS)`DTteZJ%7YNXMSQo+55[fc[!=g];4p0;kOhKY)Fo:LCO3.9sK!B>/` +*]WlbY57_C5/WA1JC=IMhV#R0&A4>sVh+gDHbm`TS.jL?pqD:%i3(N/i4sL)cu&!f +IH\af(i\Cf[-'/gi\u#r0X:)ch=VW?pDVo[j;rUX"$eiuFU*JP%6s=7E:-qRls@'f +>]T%3E9Nh$mf7m)=kf5[S*"Eie!,"8K]V5kZe?Rt8rc1tf=6^??cLYM))NmS)\hsY +k5kk[$[Z`j*p`"=l_M!-jg?&i2JTQ:[HJ'g[-C//M<,e@jdoml?GRpO!CbjOq-L57*fepF2?9VP/^qap +mVbf/Z:GH[j3:It$9"^TK5BEne^oK>@n-,G!J)BDpFh`FIM2bkJ&qZHs8PCa!8]7t +!&"J*&chY*I0oBZs8TS1&8@4EDTE1dN0sK6QiF;tpoXR!6pi<;+Icf16aOq/iNcC% +b]jLF_'C2JOPm;Um\/Tl;fjpZZI9MqHluf@K/T#`Ru!i`Y`Rsjq:g]JD+)aZU)4hH +$r3>=7LEo],E.g$[[%ZEabe`mMZKn##Q\`_$JDD733%kHX%WVa'M+2@=iRj_HV,eb<5!"($9?XqF`3n07/#7Q&070#o_#i'j?Q">-%ok7Y_juP_$=A5$9>/6jor6,F/i9T5Q)_9X*T9V$i1*TJNn,%f,qB9&`6%O4H'UW-%8PLg*[ +:D,U).GHd1]=4bd2lV/5eGUb/qld:XSu83pa>aA&J":r^4S'9*K'-:WmrH]>FEit[ +"TlUoA*8`\ECF*H86\8OS='`NBJRm_;G/E7+dZjh'PkX>_ug\Tq[A,S[2jUG)nE96Ssg/UlZV^\F<"tFmeNOY,g)h +Wl!N,9+$A/dchDXe1i()@FBf7GtKVr<[-dW,8fk61PR37$cJ(r7?4#BGo`0^d."E, +&\7B3EW65lLI.eV.\oa'Lkd,WJfo.\,YCL=eB)u0.Rm0(qb7BB:L_0G&`I5WJW$rH +CB53ajr-(X<%Kll_,_>lc/!9m)J0@e4TGWA-T#*Sh5Og.O7\aMEY]e!Y +B%,i2^3T=aC"&2IbGfdQTlK+iG1EU)`N"+CL-b3]EW)?jj"8I:4hH^^2tjZBd#IcR +i6n.u8q8/,^-d\4?(9,L-h`\_^ogE+^)aj2!+ZSXId#,hhG7D]!@Q/4n-''jI/rbc +^M>M'3-H?*G98hd)[7rcE,R.dr!smdm6`lfmXp:dgg*u>d/0,%s-c=LW^G*eF8r,\ +^q(37@VF5fCX&k"!&pIQD-siG*B\-2Gi#07g8obYW-Z=jB$.Ij]['\tK%J$!r1E&*;9j6f>"[#'W!2;`2 +(B(KJX]dNW7$X:;'U:058)eTM7bC-:fom];W65*"\riiOUafVsKhZr_26kppY0J?( +eh+GLR9\dDck;QIW:c1S$6\KC#IE4@l!BCLr`57K@j(fi+G6HiIr%PmD50SNDJ)1eL-,_2le.C^@_#-Ipn0s\p +@p5,=I0m^4s36)l!?_`Rif&+m`#5J:N'IZi9uH(ig;$O$dc2mo2^San`Hl6OfIM:d +90$[Ci04BrA^RC7#ZE_S7f`?h$\=fi$++Uu`b-sMD_E8A-RE:R/Hk,FbR^q@(U[;* +^aVkWX<*5W*fAW5'"(dUG>oB&eWfXP;$bTKN&"F/0N2H6aHa;-Ziu;F`!EH?#TT]L +h3C7olS1W3nbq0oq'2BtGAMO&k?#+-:]8r?h=(lWo*40u.Zq8Nn^2aKrX?nlRUT3Q +66/M*2#^?YS9bB*1G)do&ZZG/5BrCa!:*O15]8c#J_m]O)VJau?W'q.;q@QdX^@1J +>O%Q[$PuZ](JuutjQ11J_G.nq/S4$u8*\f,g?+=#"2K!Crj1+&i;]_5SUU3oH1ETR +nkI-WgW\,j=_I2E:-W80IE4VIPRB.fI*=d&T6^>`kNlLJafG&df,=H==hCjmpRa3! +%YteYmYspF=llZJ;NQI.;Ms"],oWR'2+%;;a9&cj@a18A[IDsATt-g'GSH[C*0d3< +SG+G=i)+au_lu77I*':)dRV]8!elGX=a\m)6FTPKN-kL`EVq_7nSR"RkOdfM?PAHL+s6eX55?+HqO)U'2KJOP +IKa9]_#M&6i,d]$];V:`JZE^@2kG@LhRUs]56A]ZlZrcia,^qSt!%3 +NVZHC](a`ZG?(-Ko0BAL=;PiU%K(^Khm0$3\?"JlXkL"V>eV>Q4"JRC&5V:p@tt4t +-:Hl@`Q0/)bXk^0`=bEAQk58[+b5LAB-Vdcn!bf9U"op+I,Ip[HqlO9>TVTQ&YU%o +OpZfF_2q21,S:>3(J.^>C&)hggr;e"#"=11Uf=2m'YZK;>r(3p+\WMn![MH$jFKk.%X3]$GqtRJeWkL$`0AS1+Ye^2=asoo%CH:(69WF +)T]Dp@ETG["b.RO2Mctp)%d;s'al,%JqW$n'>=Y4erB;+JRD#.]O*c&pn',R2'.3mf[HsBkll%g"lITtn;_3d2OWE$#+2QW"^q)W72-:jV#b +D9iEh$NOMaD7Z#bgK(E0Q>u;B7B>!.lh4nZc3:8W.?fL3rL-0m\cm`?3J3bhj*C]D +.bUU`e\'Sq--N/SMoIdKL+20:EJ#aVW+jedEQ+S:.9j!#5dq$GY>Y_jdk9k3bj3g% +mo%Ks<6OXZa9M9NkB(GogJf%BO(^+[N)n3q7Wi=6.]l/tX\sjVX[0#98?L640%EK@ +<$A-^L!ZXu.A@ji6EW^?LKLoX'H.e*B1q0,,\!;X`4V7EK$kA&FQJ<0/Q0,>XjJl8 +`P%ol[%K?%^D0Ntp(!u^4&J.WW4nQh5&a#_"s.DRV`pm_:^_@3@T7e?sr^gI!]CBFF[bQ$N4 +n6Q#Xr"%]V9sT>,a(5l7l![&#C +*cItoB.Cs/Q)aHhl\c=G:#t2E@@e2&]s!0>D&;tW\%nWgr-ua%psUAC+,9uJ`tA6t +/+g8Kn?u?\Y[2RR>]d&DU,P`B,u(Zpj^Aa(TeQIC(/^>W7SgSHk8D/:3gA?tOr&OZ@9?uXsXE36`/&7LQX3[3sT/'2+YmrrOG'InkR-j:DN#Ur]/ +W`5%]GSF()+.au#>5]k`?&pl2:q[snH'Yi0NjePAIdi26pa,Uk,A$U:_X>I_^!DN? +5>t=l-Ct4B"6][uGP[/8oKIU$@k8T$I[>$I$i/ic@J:H"gD7Tja=T@Y`9r,4fmAe; +IM8sZdV%gTqqR1[,iI7!$3Yr"LPZDon@@Z-V<-(3g#/,%qnf#p9Y1[OUu&D\d^Z@S +GYb)S?b:;bYPH8Dm81-3?bLIF;:XBQU(sNk"Zb_@"D(ghIS>PS,"NUc,#='8""&[m +A([.\JLIZd5X3C-kck6Kh?#\q68hOD>Vk*B;8BW1hkEZ_1`>s7"t:XIORRcglleYZ +5oGQEC8IG3PIPrg`e8-&^Rd"LY$'dCh]bQ[0G`Y@`1hU,+,n2Hc6YaE)e=F=`8-[$ +]r71k\P<%"kWuZse8,V3PJht\GS#Y8iNT@ ++.@?';Nt(D+:qA*r6dtYm/I,1SH>%$Pp!5$e@Z9n<iCfRWnEGDsPoTCY(,<="J&b/8:A&C6l[NJQ;#m +?,rpm-[]4RYmW[Tm5oKm>IU_<[]S8,E?4qb>t5Cfrk,MTA,;H8 +]&c&/F\>3sbCJc$[Kihq]`Z&s[mk8%H;:)%?B88j\*EuhfR#lkQ)&3-)j>=IJL#8r +P/nMWK*0bnS9)su5TgY,c8fAi-Kgn?0ZGFEgYg`?dkfHoVXL$/F4*,4TE!Z/]4^QB +s1NWYB@SJKD6Tq9qg#rVg/XUND1c(kUI&Fj@U-T_FJX(]3B!TO(KE(,;^rkrVNb2V +RTuk]=K!4+V\#,k(f@;a5,ssO&4DimcGTt7YW`pah[I..%Hj97jcq=WR4.250BO0# +iYEcu)BnT,R*Rs$a>$`4KqdRlXW()NPL/YaBlHWnIMtV"n0HH%1ub2mHDH2,-Mkl` +G-!b;?'=m]rt?:L7pgP6pl#1"UC8"1s"sjkTkVCqY+PU$s3S[Z]5F2^3d;M@kC$XT[pI9CQ7^aS-=3/a;%t1F(93JW +O%]&-9CPu@o2(?d+iQT%9t#ONmM"+a=gC<\fh*7AMk8W1R<]Z(F5T9h+#rpK?jci3 +.VS*,I/YC#i?W.M[!r^rHk`j\-?Sc;FQk?$kotB:12,ohd.13'icX&)g\Bm>nZ2-= +eq)S/m15%8:gaBti\j$>Y271"I#_G0P-FdCIcXkZihrUFYK8l`VR'Z;QhGkXuuC1u%jPUK&aaTgqO"m*l3k/[^:bPBR/"_9_NA_j\( +4TP-%:hc7IXDlWc]9O'ru@$9606c?^;B5=&_e8<%GCW9@jpMQPJ`-MHTPVe-Se]$j:nP +_R_].]/]c$\bs%K]K/&Y4#rhbfq,SA4D`u^CLoj6>F$GP7>O5n$aG5QOG.B/F-F\$ +8g&`Wi/k8)'XZl^<^mW%K")1sU4bCU&^6-aUWX)*9tBV)Naf^<'$>dPYfM-pp5h@? +NsB]+0(qZ!_F9U*FhZoSSbm7ahqMV.5tCW@?0!,"qY/gGYDTlO$^)qT"q1]Y`0a<1(><:u2b+6:1Lg:CeL +]PGs$D:#XUWa@.)D&P6K))eUZlB[5`bG=XpM8p`C$53U +j:)Y-qK;D'mF010cA6qkY[0&+?>/L3knfAL<(r]]:RG/aP@dhD(,Z(s*&]3R:c)W` +%.k-P?g,?[K[e*,dE:\#am:0]G7nsXol<,&nlk_M/YpT[,-=TfX[XhKc%o]"Q<::0 +?_e7(M\""I_1.Lh7>g%mMP5_2+b^83k^TE!Tg6=i37Md/G]*r?P:#TgQ?#Z`FA.j< +a]&VI0MZM6P$RO@RV*]Z@::$cCD^YZ#^W4r*nU;jqqO\Vf5m%),HiDq#T+jP$ +T_gtO:CT'P$SY0D1J[Hu89?#p4OjeF;t[V_F#C`qd1ilbi3C+==GX2K$R"SZLcI+t +,(u)FZ(CXO%\A1:75oVmdh"0#^e_X+5BcRF +C>f9p+'.m7'FBb2MR99R<5qMmKh98faMn$,`-NoQ\u@'flGl+IV)gTDLM+p\pT,`< +m3\pIN*1QD^3gd'n2b7V,\6TpK>!rBKA`08coGcJ7.;[NIQq66V>on5s6PmJgf`RP +FjS#&^r>&i`T+2%PORhCnEGjeq5^I5lfaW.0l-5f2Ll;mS%$ca2c8nfJKR4a+D1R1 +IcX5nk#]_!Q^"'8EN='YD8IXh+`Rn"M;Nj+*3S0EX[/hS7F#fJp5VA=H>\gAWLa)= +OGWSR_Y[p(Ht^r71hi!ZXCim:,9,g.Klt_]\^Bs81`<35S0Jd7a@q.9=k>3pF,#p# +QF'9pc8-:*PDf+Z`VO1V]Ws9=nS;*^m5N0o[Vn.tlG![r^'S$?'X@H[@f'ZVf#PQ8 +OSi=d754b$n&g!L`G2r9*;* +_ashPi2'#sY!LgVI`FXOI:)aESp&;[7M?L9qeGdcau.pGQ,&-%ag+V>!]C9c`b2Kr +d$J=MQO6Ym]EQd>4+Lf^12r44G=4oAFjD6 +M[!5*8lj+JFqYdgR;k`bIRbiJ9r!C!,`,g_RmZ0I&$$a%64sp^j@0gp`!fOoKr`+I +[-Ff;Q)X8]9R8jU^W-qSEoPsa`_O)f.rhZJpM'ZfOR?,BbZ6:PQV.1J8!O$/UAZQA +ZI&_V%-IE,5)hc:."#l4gJ!cU9i\eTa.66R]/8R`%`_O'T/Jf^:_C).3Y>(f5S0sRME'Ti@%!c:hi +3e:)!_P[p&-Vr]7bA)_mHI[@3ot/6:4!sWIArXu['hb?C1^irV[L?o$*J<'O_n%_= +l4&AL-L:LcX86u)L(.?6btRLlB1'F_bHQ!@W!PMc`0qF3l352f6VB,[+B1#XThG4&\sS96u"+#PO#G/gg'4u/Z>0N.s46i+cS +H:@eNJjI'OLku.15-uuM$[[$eqZqm/LdaJFI%ZC^gSLOoWD-5_8[FfN]Lbbgr;T1>'/(LBQ8ss^!WD[8pC,BHeJUDF>Hr.Od8:dco +HK9un3))H$//Cd?M_$Z]eD!o[*5YV@*($b9K5>\X'R6;4IpYA21%A?@#M]2og*bgm +0"U3BGOkL6f(d5a)S\`A_uEoTqEO2;7]?8Es+C6#BNJJor;V9E:C\ZJl@7sTfVq&h +.@tkLb6snTL-JKB[ScNL_E."=4]^RO`GsReZ<@SZQMcOb&,N6&R1Ng[N;DEuPgs$/ +btO;L46I2t6E.Uq?jEq*/^r'BNd[',&-`M;qae#;rGaRum<2=tIliQKj3oC'O4DBn;i +U6a*"Q`oH#Qnp`&'_>^QBGm?](_5?:E.IlW2@2O(m:4<$Qa@b;HT+Mmm;F\.$M]eX +nqW1Uhdme#:[Flp^*g*i-S-9.9V9ALSOLkBq=Y9P<]95A92q[mA-0)Jr*eMT_72i> +ABXaYbBhS+Sra!k1+ju6=eKm$VeK%)TZrRI7`@Kd8NCBj*&AI8O'GeWO/=FuW,d,eYf$5W4O2Oc%2qdr%4B"hnp,+b@bI]Yr.*Q$ZM!o?Y! +?M3(p2=0`?gqKnBU!JG0HGj:uZ/ebbar!Fqp)%Sg1LN=L2O;]51`]C/PQ_ +@*Pcm_kNR@VIdr.=i6tR/XV$F=9e/O@E"I[ff66]<57K5#,PgaAPhZE`^^G1TcH$> +)q'L:l%ib.oRSaWat_ps!.k2CI>75aJ,rP&!0V!ks+P>3d&W?<&b(BSdRu"V-D6D+ +F_KsHCLq^'dlRj-G2;Kp@b,T@>*Du*BYV_5#Q,,23pi^i!kF#L!c-MGWmjt*P`i=k0q!&Zfc#u1G%jrP +ij'YP``Uq[$A@*sLHHbH_9Xr&^t@q+cM9`Yc[=Z+.=X$9i+]"t/]ci@mb]4=3=e=Q +8b&9Bo:+`m9k?^dnA<1)+_*)'2l)-9V"jVZq=S\.qD,pBEoP(GP3,BbpJn&[[)KpW +6uq\jg\n\Gj6sY&69\GSr^/d5TDNp5D3X3JVYL.#>4A0)pjO:Bql**DCFel.3o5KE +hN`K)@B/O4Z?1@KSfWQ=i]kjk*g/%qhD48NqaaE66.XQOe:lNEMoQ.)Vt'*9nJgYJ +lR-[&Y@EoZi`G!T/YC%dT#IJF3*aJ,]M2RZQaljO]_+I6pDnPB.V\c8C#_5d=9CeF +,d2Wl*.FQn]M74s:#5b5f`?5FV.34-rI4JPP2k=@UE9/pL>3RS$MW;Q?L_JTeiOhEeiF&nPZ*P3qP +-f,*Q_g(@uDrK8oq1B3:"dYROJ<'`s++;aZ4]cOVQEHfS+5;giZKQoHG[im]Ed./s +HMH99i7PF2PsNHNDY'0;j.9!rYbb[8Tj5:-<5#8-^+N=ik$Q0kD..L:215BQ/oO$2 +@nJ:p=s@NMP)LTUZ62Z,PGQRHV,-%_LF'h7L&JUX>aj=e[rFJgE*1`]&\I*TT&W-9 +`haZPAXn(WGN:Lja](Yh%ZsHu;"SBjf&EfmMTs$J`!d6ReQM.(DDgAt?>P-[9-PV; +iYMd(T,PZI1nt!(5-5q(#fibsm>f82[-E#adWc:JiQ/9j/H(!tb/ZF,=gdJB9K/G9> +FYAX%Ic'MFF.X.tnJTIVsp,:89GL +:5`#NRG+W2a5[ks"fLO,65q6J9XlG^\9tXI.T"Y +9QX27F\mGp^V._:K1'lO:GI`Jcj[B`$+,fgd$&KN(U]Ui\>/'4JR%Gip\$@OZ9: +;M`jqLr3D`dn5kF8rV@7,A8MPA1Am9L)2_6&Mq7]JFebs"\kfsc*0M]=Pbk/T=qa)[E(I&Z9'\Wc\>6TkB4_>g,`!rk!1*qK6, ++b;lM$@_`>mp/*6lS>F="\368D9:FKrqD\7o2(HecqUirfG0^[RFZkL3dXV)HV<%< +Qb)]>H1`Y4jW\j7/7nc.C#^m]o/qs+Pps3U?>Cg;0]26YLDdpS%PQq%C32DSN$L"#mRr7Rla> +Il&%GCg9lhNtURc@](#j]>gB,3pu*2)^H5uLM+^(Uu=GaE,Jg!?@!+]T1!'8Cc#PTbcmo1^qOt62^:XZK^kFNpXR*G(jkB/D@ +#jU!:Xk[\SFrQ(m^h8-.r[PJp^mGpi#l*>aG2ok*hKAA.A`:XCnZDc6RI(i1q-`L) +DXu;i%jD#-6c72T6H_Qlr?\.S8%T?W?q[mGlMi_h_$Yq2-;!+1A?SX;RAR\.`+[,`EcWQg.\aPgTBbZIRd]BPK"gpS%.9mXmr3h=H2p[W8,%NDt[)eW4eK4a=Mp60I +aLis5\Z*suEA:#BOt%/(0'(G6jj_IddAA-\R>;h';(0#N?GTAb];&`LC0&OJTT8n@ +"0Y?"T6i`)>:m$o4hl=]LLULC@uHH;+>.OG&)&Cl8L9?f-B1VCNef&Vi_iiWF1)?# +>K"rih3&MDibA(E=j=#c[B)f>qMIc!Z3l"OOhRMmZm;9MWa)p.;S&T#ZD(C6U/_@J +BN2.8QZ$SS<-jmQWWk%:IPDN3XfU[ESt3=nISmg$[[D?85^`W*L]:XKu' +76;0WSTRb6FTKKKJ1gWsgESt4;#-;?q^K?,#)$p`9b,[HGjA5>%=hCgoOu]A8"I.[ +lERciOVZR\"&U-L*`mWqVp]c1MBV]tOh:OIV''4jK^SFh(1T^UGY.KE0p[74A-=IR +I$T!u^`:[9K);tZN%PI12[C>^KT0rFJ;L@`RCnWh$ND>FDEfAK%"%En5gGccjE2O7 +\W5cq]u[qsMu9b-ggB6_r]8C(+4KTV1a_k,508lQ'%]jPLR"TLq')RjiTFa6Z5BRr +E-\`"-HTC:mD6J::YJ;9k\9VAgQZQRk$;nLT.b:!EO9aI2GBd2BFeDVO_CUTAJ; +"od&p`!3)1pnUK+V+Z,I@!j^`?KpJ;)3Q&/(j@)idNq9?=bajnW;M2dWFso4ca'@< +A7?N6,jdB5*s%dsa)E=t_EM3%8X?SDL!(71_#!]hVeeM1H/n_[3dC4Df^-53\T^>t +kfJGPk:U$&hmtGQF^D_03d:+=lKZdHHi)Jpl^8F0a^_Z>A!=_Bj1a,km>$@\ +,Q3p6XibL?dOk-T*R0aaNT(\lS9^N]3BV.QWb=te^+>PS.%NJ]Mk?>mRDFU'iM.bT +&MJD-qtYlb+UB@QB(/AbMQ&E,KGjd=DOus<41=sdL3,g@'>[W88B%f)Ks9N&g#PI3 +Hn^Hq9cbB)N!op[IV;dZ?*!ZbRR2u;Z4J>[F!'q%/QdL>0^NdiT+9ddO(Vfq6@NZN +q+Ze$(56raRA[q;DF7aYUjLq.l5bs\Wr1K3Aj8C:gWL.XRE,,s;rkQ>p"j)8.>#bk +55M_ln"6LhIicW-cm/=oJa9P%@l'[kLU?W,[%L>Q +C03H-<&AJt%%Ui*_?"*eP7`GA6"2!Y(&4-W@(9+i:WR*R*$Q-6k[;mG*=b?N5AX.Q +Al:a*?FKd9C$o +.7]Z(6rp>,qD33.?V^ +^L<#_2aQ$s"HDq6&-4+;!>l(ZTa7+F"jQ-'D3Xius52l^?Q3*s +rrW#fW:5:4@fJJ>qU\lQJ"PfudtmL3HGi!iMI&.Hn!=A6jTppq`&^dB.Uo4<_)PVk +C@"+'e!l4`lru4K0l7Q')-k+Y`V!W`$T`sUHq_;q0pd!O06@/kfHA/daS;-R +qB%u'I2\%\%_lTtIa'j&+s6a_Ob3EOpmAVtrr8/T&q8T5FGPZWi$N$uD:0bW>8m.C +DUQnRV%;&r(`/\i/\d75=pl17GA81I:t]]Wf0i4a;i/ba$%`GULq;"[4Ynd`=]eH\ +egjD9N@+H0aM9c4`>elHKEG5k+^Nlp,5)"-'7U9a`?.srm5)]IZc&GGLtGXNlk8!Q +.;TKjOo^!LbdBr8D`e7WrMHb#k2-=nS[hIc\P-?jcb4s.JBPgaV__D8-I2!J:[KKh +D+9&4GSu)OH!UK8R@WS(_mGCk4\6&na5<,n)4cqQ&HU>&+:,&Y31::a_tJ' +@7\/.77M6)Lla^8jb!!sYR:STE=OuG%6EDP?$NRDF=qV''0c>*#09Lfl-El957]68 +(5Z*p+r-urKKo??3mW)6k[l=%O?^$DQ$AiQoeMa(],(&uq=n39V!/ba>^X>JAKi*S +Xl)B]i&GYllkcYMXcP";A2dl\]O'Oj"4BF-arTW&Xe^bh;C.A2Z"IY#ZXT>T9Sql` +40*ABn!Zp/,P?Z@O_>dEKN'3)>PoMX'EjW=U6pS3'XA?E3Qs#+mT8;V?]A/hh6Etg +\#\J.DWLKU&IBJAMOp,.RD:*X9?%#h1+A-=e7D&eYUE.q#["m?c!f"C#nR(.;Wjl* +o=2/A9_&=@]Hj,_TjG73!&c59R+RaB+n=/V+XA.C$:#?A*]+Z9+hH5;,A?pHL](t>?K":T&-p1_m) +!Nl8#?2>Ze#CoRA2SE0JX%+BJJGoqY*2$XdY>76h=-ML9OUWBU)?rdjr'+pmb+&hX +1PQ/`*AoI<0Im>,0A88l)]&r$'a*BA@*#9gfXM>NIniB>*o0QaZBW%EB4?b0g6&XGjbc92e"4,T!:o[KXX4%L-:FJ>$[6p_%O>NuFH&j5T]JcF-.*=JD< +)^>kl/T2SFpUdGC2C]bKWh'tESebLIr^S%M6N-pd2p;:c=X_-a +)Z]o5r."Q-2,K>O!L+]>PAg$l`W'I=n@s;/"4^L(R4)Q=OH,up1:IX_rJ:[#6QsBC +!1ipE(Lf66AiC@c28fcnCV/#H7T'5r9r,.DUS8tW?CK>CD[5NU9EAK_"9iYoh=,8 +"[>BI!*K)!5#VubKs/il!U<<+i'/u5O&l.G8%31;hgQ@>l6TC.d!h\V1J`&jNct1H +'g8o),2`Q^!\!s0)FWR3I(UbD!Zt@LDc=).Ui)ql6@8Nr[eh@\O1@Mp)7OQ'200`l +FVlmBl.%lmZsiHA8\8tc[8oVf63sAPR[@lj\9!Op;l[blMPO/\c4be[,3k7:p*:\<@IlS]i"eK8PU]Mblc="`<-.,L;mhSb\^9,B3jEgELW^gi;tj;%Kd((ohUH*kMq[?HR+r61d==8dY-K/aq"1k +eb>3j8A9<@8fsPA^[ID:<@BU@M,Z]/b&*8YDe,-ME`@3p[fC\V`cYB,q5PF@=!W#s +.t6$!q4SmS:ak#^`(;="\baAo7I[3]V4V+.*7@56iWV7RGlH?0IS)QkiBhoP\31C[ +!!J-H\5HK"=Y._k*,7ptR\a9-,4n8/X1CBRS%2g."hhMo6AMAsV]Z=daWm1O;5n47 +JglLE`KUQ%jCqlYKN&q;7#"gfP[kEZIT@q8=u(5*1jMt]FUjV?JBM8^a^Ncr9+(J& +Ek0XY)DHlA:1;U`AS?/U[!@@a790299(ntl\jc\D.7+SV9e0aMa_/jHdO4+^J8p:E +1&9%%)(PK'!I.m8]tT +.&M,AkZ4SQW2'I-lI9.JN)$4VG(nF(Gma%G0""D&V-Q*h6\WsfRb"H1m8-Am=&*O0 +U-)M1YM`kZ[sAh:V3VE>pqK#]OFH_u;9?=>fn`KK0P+*FAQ:a" +;@LPEYV@%*P@bOcQISpreYAuVkW.'\V9Dbd5libI\oi';'USuU?DGAddukNe79u_E +%`0kL`<:LV:)8@D4%dZ]0IZ-A/8QWp1h^M[lf=]Db3;f>Zr/C'@nTgrMW?">jJ!e3 +.[3lY7:GkB*3I:;bCln98br+tUSs-"M)6iA*>/K8ON'h/c.=5e:g@<[sGo2liT.#:t3UYELV7C\:&pl$L& +$nt$+Iq*1Yn@phUi%CW$SdZ^V8-*%=/dTL3J`DJE5beA+D_3JY='jh!P2Kgb!Co"b +Ij/O&*Da:3mfJpU,bOaF%I5*_=oU6$oUh?,s#hn+?SfS!3\KuQ%>k,3-1nX"o=0fj +X-@fd7slFb\iE'f4:IPm+Ii)OZJIfn+glSWH$h,Wl6'j@3,\8D]F"i6H1Le8Ac"T4 +$iGL:K$Naj-#I"QGM]7c"6cUf$G&YB&cl15oAL$dSX6nF]Dm_.n1j=g/+kcA5,@NI +N%JFFm"jpr$4YVT#1.C*jJ:%mcOkcf?-K5fMq=lGFZ4) +hK[@qn=I73T=oE>]R2JXjtM)J3-5%/)C"+hVZ2Wif5'ET;q'#N#-E[!VO*bE].2A. +8lb`qeM$$aG4F\k1*sQBU)eX?"tkBGS%UG#qt%"utLu1^)N*+aB=BHTS=d$ad7ST0u(pbP@Th=NZh3X +;J5+>B,/nY>5i\<$P31sD0Q:V`:[S\fW7O"iB'2pP! +$S<%U2b:tHitGW3;Hi.Fl`b@d;DHN"eX5PMZ&!/b8@Yc6)rHL/T_p# +#u.]s9sVl+Wrf+bL"(,aQk#3pQ>lp +FE9NdEe$%gH7(H9\TW.s:3NsEAfDnk9>@-b:tVG3;m2BfX%fSA:8uf<.TMKX;2D2N +7Mgtk+Aer$<1k;%XV"TI'[uP2,POJhN:DNc;\Mr"D280']:5e2Y8,I&9\70KbLK5& +fgZ^,B^i7U@"uPuMuRq9rumH2+9Kof5em,%L["gU2][YQ#mjpks5Eub+>?C]2$24= +NRK!Oh"6f&&]"G-#Kd?2EcIu/#a/k_)S_UiV_dJ\'+r/h#kbq97"?,@R3\sjL>P7Z +h[m\D.fHLE^Ph9g0>hQUbBKSp?!1KL4LYc[#HgEB_"@p>Jrc-^r^->$!\UL#JHVR' +qg<7pr:>bM8%Eh-H4o5\r^cti-hWP_[M[J1uZJSr^U\8O(&]j9V,m> +1(hEMoM)s;A(SFfcf%NXd1cE)F8N5k#K(2_6^JK>=P>fr\qWl2OA"8*,B'X%CoE-Ul\/Y/Ld/Nk +4JcaNWaS%XX6>'g_7381KWI?QMcM7N/Ah +%c_XHrIie>`&f'I;3d5LB?;_\WSrD9U(Xc(7K!+gd;g#Nl@lTjE6KRuXCVaoG0'(! +EU@YF2[q*`Si6VH=cMnIn<`g2]6QLH.EHf>bAF#uBpn0S(33I!n`-:plRJ;LG9fTr +aYVkH$i^St)HCF1eLi0o')YK+W +0tT^`$_`I&\Wd79/9F3@CfD[) +82(;d((+K_-mscFQF((oQm'<0;;m07TnG_GkSN"d6NXM[_XW&+0nU[T_\*:S,1/d; +EC6,'&SrG?bG]g*\.\UkFQ@s?$s`._M!bk7l4o6F&rl/jM8'/eef&M+4o\ +1Kr2I7`!FiJ^?HOn9X&L3Y@T[iGbGn3"/as_?Uu5Z1X875Qde-'KZ:)#Jf;X15VZD +kVUDF)s*5tYd"1Mi+!ck^/?-fW03*k/:^tj'1"CR69Lu/19t./U/W\F6o;8A34Md5 +#[6GY8q`MJ=")HrdW%rqE,dc1Qj3A>-5CR'HsDSEC6q\-X'.R2Thaq)ao\6Rm.Y1+ +GA1YU$Ol;85TKD.EZkM\oaCWgncq^>5T_/aT865UF_[[ab+ZEOFE>(e$@3/=g3%I? +[B^_$W6@57eh*iLbc]NiQ)g!><>3P5P0-c<.TI-T'k41CacHSf@mZXFI'pIHop@K: +9&68L6JI;eKDRjPqEB+Gcj0HM2;Ck^4\TtRc#m;C2'$O5*,Uq1XAr*sS*TtorQgl2 +-_UJ=('3WOTZi7c-n!8QB<>9;SN&RaG]uKK(Ej+_mmB_@-)LD$V>?Ci&O9`Uf)HkB +LB#`X%8r^=P8uKD+0(E>j:fdW1&;NVRR6u\4RQ*`:1>d#6kLA8<\#n*.rf_?%%!q- +NsUQq(rL3Njg136Z,UhA_t2O>\KAub5*FrO+HKtZ`t(:oiIQoJja!IHo0$+4#Fs=t +4OaO%LjU(aq-1N,B&^<1l"mh/m([CIqo:moIiT4&pDJg;SJ(hKYim08Ljsk+I+9@D +?bs@9cTdREgmoot+!F_QDc#V0598RaOjq.:0R]%eI[%'ZT"'3>\p9aKGb23ucM=8P +*[e%]-#B4Zot\&!/*G=GQa*$HZ0N2\CKGKp^ifS;]>SR]p0IUAFmR[ZbiZO)mC1JI +f28"rEP!;+pYX#/"46j;5.HU0L&M>J9=XeG_CgcNcp>K$nUV/iP'9*emX7XZATiT" +'Qi%621O=4!%%U@`(fC.J1kUi^J\G;R!m1`&Vdsn9\G3[!!"%t'4[F1g@&a2hbdb: +P.*)S=0LW7i9u%.Z[NLoH5XC#S[4.6oC.IC0rsbPf.J6_:IAcFPG"mBhpG`]T$:mg +M[pasb_fU^.-:6nHuWN)QmYV\KdPeI'6g6E4@p97PTY?,8aIKel=%:!rA:d+W?O5L +_Ud)2M:tiqm\^EIb7M!Ujg0qX[>[O*.GTt7n,[qAe2c:3'?BMkQ[uWk6PiOQc6!Rf +gC9e3*BCMK3OK\b0cN)1l93S]37;YhUK.=tXnn;Tq7_6mY&)CDI-q2&CK3D9=I)]d +Q_CP);H@?BQfQ&nM;`C?a^9I[c^k$#c)p^G_)$>N/maV%S53>AXdV80EtO[>G0FGs +`*64e_+`rF#NEp\crH/A73l1GWAbMAej]F@OgS<5ejjOVQ7Sku8>n@C@YMI52#Z4) +FOIt=>Jd_90Ad_a2%[p8P:s>//bd,CCHYD_0=*#*\Z5838+]dbcWV*.?SF5VNdPTg +r392\["@Ib_p\Rt+LdoBhVsR&HZE0@+m>)/3lbe8hg$*s/rb'3#[&K!)`6VM"o%IT +[/VhRJ(5b7Tj@&0Xc$gME`42AiY+=&@"fF;*d]$nVQ\]FdK_(kDn$l=6 +C3ZEP?rXoP(_cN`k49JKp)`;b)@.FT^_e12Hg-QW;*[qK`IGXr>l]LP$B\S0oB@IugA(f57MhK^R +#M8JLeI.*g$AUKqKXZb+[R`ls84Gb/:?]KW469AOjAUDjded$#qUMnV1pUJeB(TeJ +okS.MC?H#hjpi$pL5>ZCUk21edW+;VFS1ra5GVArI&\8lk4UFk&*k%K\)YKPgBs=/ +lU)-=W<%n%Cfeen;l)WYTscGK2_.ekjHHWU&hC1@APuC%R)fo^La%tC'!X-($\UhR +KgVQ1$O"l]r!Pn[njNV<`']&1WJE#dqBPK^Pu?#[f[sATI%\6;mQXa3U)>"Z>O9!LuD>s>F.0X^$q--&&+ +grRLakaUGb9smgtS*E%=BK=eF3nPiEZW;')fCUdBr'1/+=T?o_eGfZKs-]V^eGn`9 +YZA-;cMu;lN!LPT_dAbpIu9R)e,SZ_LOQ62+m"P]l9eS@J!)fUc4CYg,nd/pj,%8e +Q!eSD7ik4W\M&fl8@%$9@^j?t=^jBCUcHh(^#6Eh@l\CG>RtDU*m=*+bOaH2F$E^` +[TDAh*#*Xh.W@I!E]L1>];kBfjmT>qkc69PXtN>Xa5>h#3ulAN8O^osmX2-Ls*][< ++8\IAr'-5Lr\Pbm@un]dAs'DifQ5g/N0Q-4t@ +i&kiK,'f23K*UGq)MD8/_3hntJG +$cE%>"@<,PPJ<*Bss.6M(,DC@&Xm4/ +7O$ddZ`'/&qPNZ#1G54,H7b/lNNLdFt2%)-@R^*dUrO-9>,-hH.e'n27[ +Db_(R8f"[('Jtm21I2U,NY=++ju/1[23-iUMrc[Oj=gqU@gGK-S!8gmok6fI>3>9: +W'>=d3cu9OlkH$P\i5(I4a(^#EbROQDUNMkW^"q24Ots2V,=t);S9&8ZltdJMU,VF +AM$JbX^LD_E>Fa#LQ>`kN*=a$hRi+R3ACHG?gtM,l_7S@0L!.7c`)omrX87C73&>P +#5SH$L(h\I[4K4L3;'+=fiM.DOT68;&VQ*Q8QS=rU.((MA6+oik@/_V6J+TRrIOPOU0@fB699-`J@d4. +4"\I$C6JAAcM-oUm^L*^*T"G7rbPm>8:LoN7_<`j,5kf&gd!!F@uQ?L,9,ke><0cA +S'Z*MjF5j]ot*E$hfKeWV&RkdGRHNRX4T"-\?-ZON&ircH9#:-Gl>5L4PTY&G)JSS +PkCN`LJE[1NXPWCo(`c8HOY"@69E!E"q:*LNXGOio6Cf7HGC'bE4bl8G]\#=pC$cg +#e9R7HZnqk[e%&l5?ANoI3\S33eRe(]j#"kSI#6 +Q-C/4:Df?l)OJ:T::$8:o@Cs:5cA62RYY"Y@@0p$P4k3oC!0l6? +9*[MbZI*03P\Kg]PR;53.42W.,!8XX3*.@J8(aFd'TagXPTpm4/J+:"'UU6f"@,5: +MMFP=<(Y,0@%sZ@d6JE^mF9:sf#bqJn=`92R@-7`.PQ%=Tr1HqEncG]c!$O;3p`DdYRSla#fA!06ht7L81@m?SENr>]\'fFUd<9$ps/EC5ptsIk)>rr? +ni-Sqhq)J_T/$@5!<7Pics"FAL +\.V`3C8Ns;`'8"GjOkh#<>oC\\H@bOW$iS^&o\4iohn7nGg*,sg60+\4EhralOtGCR_I"B2 +h@sce'U>tqh"NjLkotQ=*UV*Kh"I59NJka2e+iUbV"Kqi25pFK'"0G+pWm;m:;U)Y +6C4l"<_e75TQ;$W"@.aa7HhlsnFC;?dMY##E9/Q_m4rYR.VRjjfZsB`NN;!&\"RU+ +_DeV8m;3Q5^t*?R$j:`M')$4,?@n7^#d33s@0?V)!3pPWL;"f*3Yi`F5UZUTEtCF? +\&f0aqb3WS`1ZR]LZ&PY_3gg?QaCrK]6P@sg0_OLfmj+H;:lM-0N%U#>_2nuV\*^[ +ETlt5cm&)MI,mG3j=tfBM4WdXiA#E=3dL!QET/g(l8WtN0R3)sJ+#\l^0T($_\]Kt +p$LW)=>d:S2lW=o/*Kr-WK[f@'_]`aEm*HhR`8bPcXRj9@hHUq)T?D1cDDDt7LWk[ +"bKl7"'@F4fX4%*F[EWp_&U%;Ct_2A3['<*32.(?ON?dSPrRYuU[2jpjs-3/a%uS. +*!S%^LT_d/?f(012JRM3W-b:DF.c[@UJe`6r`:LQPKVjF/R6-SY$pqQE7p`OfrGH/ +b:9bq$Jp[DY>^4D2tirgC6#XcI`';oFb7%BR!W<]:Q%W+k.PW@dR[l1SBLHXQatb< +Eg`Q2M/Vr!O7Gt&W=Rb=U^)Okf;TC$lXc)LGs4HZrNT#i-!bUOL]=)Di4P36]7/_2 +`mq41Pnm99VNNoG(3(@],Nfe(LNu3LhT,a%R7Tp"F4l$a[J87IZ'^>P<$D9$NVW$[ +mGA?4])rY,s"kVHalU9O;>AqGGZH,6==E^Eamc2Ep]!'bH!%qgP)ap(`W+G)oX7`r +,29?B;C7T+ZC9O\T&$E'bHuuXW0Q,CNT4F\o!jt@E=h.nUC],5o,JEa)WuCocft:X +h78=6=W`FJ&.ck>jTYOf?4P".Rm=[:V-@m`h`P/-!a^L+#\/o +ojZ^'UqGu::Oi$lL4X==Otk,_L"3Jc[!aa]D$3:eL"1.dYU0X&Vcp +;^B8Q`I';:"+n=]TM7YcR6ZOs+Te>909?Yq`.jO32NH=d;O_dUaeEMZ>-TincA:'6 +Qqb3Um:E6bAuYCG9[26ae'1PkotR?/]sX#uQ&:L1QDZ1R%Ggi\!Q@:uhoAdDq*'KA/nebu^+Z:Rg09S't0&gL#^d9V7e` +_cu\jUW";mM*mTWO]U6&(F?`_l@a%Z"JFuTfZ*luJa9[HoOSnX3_OKI;kc9L[+lb\ +(ZW1qDL%eeF.'Ud7G3=!s#=WN0RW[EC@+afl?VCO)0tNlH1).G"]=$piL_c2pN8o,ph@[1?^OMk]tuSbOb+HI&5\/78:X]aNW*oO!%d[.Z+sr@24: +_JeDWJ)NLtnKMoYJcGuY.+)7\!cR+BY%"g>LkCVaNRRCIPHYcm!Jghi+u%IHI!usF +q5nt(=p)7+a)##"DhIYL>USlC`b_27Y.kHQ6k(6Lr$H[Y""]&@28BBi=k"WuP^t5`PpdE-3-MD` +2U*(,2%icF6'M`\XSOat(G'Y%4I^7U-_:Rg4S,(gjuiCjEp?bFkY/V]>c6VEB'YS" +e%S0/6cJ2CnkDW[22AL!8+I1N'T9C71)L@B\($U#1_Z2:K5!roCW^'AE^&Ljp-%F3 +NC%#3G]K&A_ZK5e-tGILj[C3i=&W"H>W2@teYbN!VK:ELIDYg\0YJ8%F%\ +KL1L(K9mj9M>Zeb]Io+YG#Ra6(mB3jEL],1(uAa2ml&2E5/cjr%!0#SYrN54\LpF+ +0$&dUiN4%1o-L58Wci!HJ6tBnf8sCmLiCS:E87We#%nT\nePboLiPq_g+*o_X-SpU +W`QQCQ9aiFC0,NshCcu/C'LXbS$nH<+h_drS_p^nfQ/%cG8f:[(uBEQhK'amEuj.X +*o1uX!I`BUWO=S^_SE?)PY.OKIX<_Wrd+a%T5On^^fd?YQi1S"j5eV'f\OE +\AD3i6Ie(^q.$eAij:])2=^3?C^Jh*G\qi@*bUuQ=/#^sNYQbl42*ipR7K`3ZB3mi +r+RJ'FYiL8:7`984>6Q@Xuj2?>(sD"`Kj+bV@1AT;l%!6bZD,D+6K_2gcrEmhRuV; +\4UCak$KBPSu6C2VJW)=lorNRGas5%OgK=tY^[D&FVRWaN[@,bIiZ.@*CU(%`b]%g +%h4WmlNm>e#T:,^T`Ir@;(_t&SqL![_Wak6i$.8DN-Z/JnN;-hH0k6_KO(M[TFc@9 +]Q\F@qe>'@<@f.hCu?LtIL2$u[#Ma%8&.e!9Agt"-Z,UfLs0'?cVjLDVXD2i5.F2> +I?qD?,S#:s`oBVd<IMISEr^@+g/7@S%ht!0Wl-sqQ`,jn"q`Kc%_MQ_] +E9]3.jui[bEULn^k+T]bOo5u5Cem%!SN4'Ggp7jN0cSiQ5hRpWh(\8m)n,i)UZQis +RRsX0*neaAOf2/!^O3\0(9:.V@Zc3t9>_Vpis_)Qp$Ui3i`W\)%Y/Mg=pUiBK#gHd +aiABL`j!QQ+Lf6"d5XOs5gZT<0kaHDIFY-@a1C<`Ie]&cppji1PtB;3e,B`-hK/(U +$gjNYc-?^ik&](a';`!%Ku-"Kg`<6g>KZ]>E`n=[8b8+ZgBIs;!t&+hh!7@mm]hTq +Z>isF#qh"SOTIpa_6VP8m"`-'^L,Fg)oI%d$Sb$\GYde[ZjV8hT_RK! +m-e$K^0+;-1I^D$l^E<9)#qZRqf%SUDo_]]Xk`aHZ2ODi:2S:t7?uh?Z.Nb*s$%@O +J"p4s0HdW+KKO&3phJm8Dhh?MDjJ"/2Q@R'D&6"ejKfrfEpr%1mc/?Q_`LWaqp('% +9F?$+Q,8l`r$H]*QhVQ_fus]R*!Yqn(sj=3Es/BX@!=rrE:%4Xl="o)j`53J[;/75 +4#rfm31\e`SQa^;#D*f0^E>6^E=`H^P#]O(F!8?+?HnjLq&n-#3ppOf +87XQ7V)F,VJ`bQTVcGTb^HsuX8g^ZD2BA`Z8ZBFf>Uag)=t6LD4L%L0^.C?h4]=Th +\Pk]"9DMo+r4P#alujeUQ1Mfn\hjaUeaqKpF'=gr29;WGaeUl:Ai2*omnbYS2en^8 +D4S+P)f`&5F%cuu1(1D9$ae=R[o*J0&$T++[8ut.ud;.GO5@#riKO4WI&X2U3ubFP?IRBDHDe&/*IE?sji-gGa0e`4e/j!q@pW:OKc +$"k8S?sCCd[T17c<5j8ha*$(ZFkOocd`B+/01;iVR4B!nbnY/T<>p`(U1SL3bbUl. ++$I6No/Ms--u%d*Fo?=B`oE"pY^jb3]20))+`MmS)j:56.E>6DG9QRmNhbILDI#bL +>_\Gna-"k!dIa?aoI!MC-fL<]^fA`Z<:GNS_Z.J7\TcL+O6C])9ejmaIQ_p-gmtW(-Zjrn6NL)&L*?bG0$QU:**.(l@g)<9 +k"/D.cS\+:rK2jGKO2(/SJ@!B\0FLh!`*S,0C)^^2mI`e_Z,BKae,M@3sGB[?\FYo +/B&`Q@E;V-o"g.'T/K[KF^X_Q`T3bMqo^FV?hS>c3Hk2@Nn1+d4MTcRs.;*\?d:2d +):L%b8'Xb$2D`=L,ES7_r4cT>q%Hp()kuD_!Nq>ajC'e6VGlif#/)WBc\*Cb3['9U3XXr%r +p<>.s9o*(2cCpfbXd./-$0TgSjjCp/h(KrM6K,'*_9/5lM945.]u6::KTqBJt8qRfTO3 +5M7J$P%n.']qFaVYT@`o-B07LfeN9W/,[/c$_Z?>W!&(Ct0 +ra5b7"Ah(n98[">c*s)!pG,nFE4K_Eh2:IB%aOlg%8$nU^m3rDT26cjd])BgieCA7bOk4q0O\c +3N];AmHWnWTI-MZHMOp/\[5Pne->%,62g@Oh>2,dk"2J:TtmZbCS)_J6cf90X>N9@ +_#jPY<;m!i0otI1f\s66X +WE=b7E.X3[]V.U'!GB%GHa4fARPFf50jBquP%01#2aVPE=RqDRo8M@C:"\kQj0FVG +;2gWZIC=6'>c',+8"VrrJ3?D`2+ruV$SL_NVs&+HlZ8m?EG&L[5B(.O$/ceZk$L[B +T]C*05N"`(i&n1$ITXXs=2Rh7&gUJ6:)461h\5=70dJ+/mq+/BB-07\H$FUq\fERi +CgGFsO>l4H9_KRa#bF28,+U!\Tj@!Y%\G$8?,c7pNno-sa*84m_t5#b)h8P$ld'hg +_fuN_*O'kL]a24G1m!(u7!n:0Id+7\iOo:FE8eJ=64.H#WV7%j#bb4r"X!n;$!KD" +>_V5YZLl=Zl<-(M`;DZ>',k6`kMc'>0H+mB`;iiHMID#[*/CVH7pO(jTO)j]6%9MB +K;.B]Gl9?68d,)1GY/YP.ZU!;"ut#@n*5bmdNeM*1XBY-0deUFa3I(0X*5m1]?Glh +T6`&=_S^:Ro2u:E+6gBG57`,KJ=d16bHhI.%`\,0NTVHAq!5*]a]I?"(S7FD[m_Y8 +BdB'jSJ,/C$83>m?49 +.\[#"P>s7Rd7Q^3;fTBm=Z,[-ZkD$@j)M(a/;mso+r>mQ5Z*VqR$P&22%"VQ98!_q +78G?Yc75_)Q-otZa`I%;7)cNYV,X10o&uX#/lAe^;3(sFg/SbT\Ql/fJngDf@NGej +-lZ'bbhK,9g89E`\:^"qYmbsb2qfLgjgV[6Gs-'8gMn?-l5]P@OX:1mP +IJgoKU622pM8R4#'=X/Q,r6komu?-u*tug?8ES2ijip@40I\2<(!fO>bfc5'a?E^f +.:6,U=]MRO.G$1$<\Gk%/Lo'/6W?Yb9g^Ut`Ou +fL@W2a&k5h=Z,LHAHmS&T\9h$C^2C)]qG2Z%KJVq@bM-=?U0:2Dm)E:6@t+BSL_]# +i%J'Q5.^Cec)MlFVVNrDG%f'JA=M9:KH34jBf?<7&H?=b:9<2_hR"Wr[HU%Y +h-kim3kF?3afH1G;1l(l!5SmJ=L7C+FrBtVg[qXPF[O)nWu-ja:rkntg@d6[Nb^#r +[*Mi2NuHUABpWsXPdDptYEDL,&rluS-kM7a&.!b.)I%JKTgCi[69raUH]i&%!m+k-rZo42>DWT:iXdVQ9 +)F@8IKD3&M'C.nV>sB8;Vud%&1jmQtHnEirXYbGW;+CnteHiS7$?t!VE70_hdYi:s +_*I`)Fi))s5Pbod5?L1>^[?R^!C6Yas0)H9s*qCYBoHatPS%"_@A%eXNs8_%I2A.W +4.0VPM'S#6a];lm<[,Xd]IB0%RFYX;D=C!&X:K-0C'UQ[&SZ>qD09?*ojD_0_RFjM +>p8WDjAUI@cF-T&!<4K6#i)9&>O7J^neG\HfT6$\UT>7D!"[f/"=@mVb6XBD_$l +,K:#WND2GO"d5R5P*$2'=X+])bO0fE?N#huZ,?'bZP^hR/8-[='(YXMF\(+-a*nZG +GS7Q,*D+3MnH[A5l4Zr:lbUQ"i!%k +7lt-#"fsgq)?FFN=;h^1E#QB4&OnhmV.($SU#-g6!:+nKZN5Ms&P76_ZOKeC70cp* +!7D=K$(lV/3d]dOfQVj.Hu-u@AD;EPf62PfD?@+ipf3C1LhK#fs4W[Pea)/$-R%gE +`GL*d\G(I3m`X8-kL!seer0;TM"#WE7+)'K4:YZ3$LR189qj +-mp5HbdL1LU6L:Djro%rLd;V^$6YJ)Bt<(M##u=h%:]07*lMX0Lo6i +&0tIcYh/%2J-iAI")6=PW\onk4-hK8A18OEDc1:'?Fdq<4jO6P6h6m>n3D3m3A*T- +MqH?*DLXdIpA'C6M]UI44ilebr*Rd-IPmhgnZ_(O3U:PhqdGlm,ni;>Ac#q/r)!oD +;M@37kL_@V4sP#r2N.TKMX>*gZ;ZPV\?56jRbU@rdc$!57,Y7a`P*Zi5AidD%,\U0 +=5#/:3NJ9id=18RIb?Bo'L!fKHncuB?CfenPg$eBA;_^O"2B'sT6;TO:+)dhKZL60 +\M5X&lSu:%=>\24XZAkZJQ9GsB@O_3e:8Ap+QgqMf'R_F/l%I6DP',,J-#Y2+i/s8 +reQ$;n3MWH+l7l<^4]@WPS)l=&YZR/iUe:EZpF]@@K*WBreqH'N)@E<@mX=^,58"S +o*LS6"Gu+a\]Qek3_]R?'Pj#!C6t4O0`[rHf!,>:1n[IqA#_6fFP(V\V/\<1DB@ma/c1A'qa_oJX[l\bb(RTCK,a5Y_ +UR"?dk%3RR!'TDp&3]i5aT*X)[oh5t#9.%=?l$HeuC-5'N.&5dm,VYYI&X^l7# +o\DEZoN(dpGPWG4s)O]Y9=l=1_Hr?MU>-f-W5^Ju1EhcfQZeE)f[A&,P +W_SQ%+ku:U^rgK*J05LMaS,RL2:3kGAnleWlMaiL^=Km>i;-LS +d6iIJFRFHhr2TenR6c.,!E]Zts/#`!@2?hEeo1G8U.moQM^&[hJp$\`[(laKh,H0M +j\kKAPO0Vn*5p"54^"- +ffN.6f+IYqiA>M>B/*Um0E"lf(#hXfofO)Y\jm!lUDVoKO!?&c_(5$B+S`u`$O:RU +gQ%J%%MS:jnfWMfloWN53>92M^lKQ6Y!BW0,%JEtKBtf4?3/XOW_2QJ%?Ukm"""D:o^C/g!+jKWI_ZYAO-C#n5P +F'2N6=k*!RPX7dE(ssp%ZjP3h@KENG/oj#]&bb5tZ9^Ip&3ara6Q&1sfoTH3ks6EQ +[;_CF2u^2jai>]^0,b;7R^Dj39'=Ni2W%>9?B48Fa!2&E8_#QA%OAjgo=q/t8!d?0is3XQRjlC>\%if)8M-Zl6Jh_r#R?I5!/G +]T;0dh"4sl*PQZ0(35?^d5-=+mtF(SqmumaC3rH!NrXj +NfZQ0fMTB$0tsG,hS]HOKFrdb0qi\gr-;42psR.bmS+&O9SqoW8/09>(XLqe+\7qP +aB*ug0<;lmP1Z=PE.Xr!b`TG@Nj$i7MJh7%9SG/@Y9 +JZucP)^8LnjDcrRZ4/_ulC +W@$i[bo8Ql]T_`/<2.1t&.0km>C=3SE!u:tSL,g0\TdY01 +Z?aKj:"Ou.gRMF<\3\ZL:0F38;2aeSC5M!V\)I_u,Dq1!b!]_\LdY;!NiA:=XHJIC +P_uZ-:8k[d:j+3-W/s`T,Rn?Wg2,6R>:2NUf#R6;`Nc>;s0P\C1Q:= +Y2a#ol"d'UB;r_sIoS]PPlPU,-j[91%^jalF3k+-LiguE(Pm+]rcL5Of)M$8Vtb#) +#O&kMIrlDjR)-C;TZi)iHLFl8jG00?79H8\5G/C8N=-s>:^[QX0+?:Ro@;.[<6oYb +8op+fFhX().\5O<-c\_"f9`\ZT;O#lUEtT$56;Sqq*\a>'qo0Bd'HglpK9HG=;goc +)gM]P&#&&/e6IZmKi$6$W2ZlZ<-32``?a%!"PdAn>?`dsXUe=oJQ-t>/V,HYiTpZg +CkQW][=#fM!kt3<0#e!reInS/@bJS&q4;E%`jf7/d:R19e]/R"P9e.f_BL4EH6ZjG +^nIu75,;(&mX]1ZiU+^d4)qsFfd)p(%Gs@4I4*F:CY<7==/NGN:T'kW"EV^\\(C`E1os&?gN6hr7FD*g09F +*km18$8?g1Sq3ns5nQDt%O41EVa.up30\FqZj'po6r55#qNHqf((WM5qsH6Wd"X(' +/U6D?E#!`CGp'bQ6=BW5Ds9$-"<%41:s+\MlE_&mbLgZj(GTU4'kI(^kof>r&iYBn +GIQF%g3u83k=s+eS!][pM8P$b`$4`abOlEGAA1OE^gF_igVCcZTG2L90n +G\l#^W7Q*`h79T>ZDCf!;_$Nu.AnR.O^rLp`)EON`D6b/NU]MtE!6]VqtK[X]S4\4 +O5G;7hlEBqZ_%IC)"$:$ki&c3iNVS+Y\`JZD._8#5r:s]"RQdZD&,O%""0'qj:T=' +7\J*pDB[SCcp_\0r6?)\%\J_"I57qr*QdkrCCZt2S*a;J>Vld-((#tFTmJlMdZGp% +gtsY2I6gj-@UA?=)",RYhI"R8IosGViNU[)1soBWS@_eBj'MHJWH)>YDa3RKGhU%* +i=PGU60-c(nLnKChi-MY-a1CB18,j:YDQRr7t6QD^N +/+lCWmQ=%+3YKAl/1,>Mf.HjH&BEC\P(+URre51X`OO??o1"45oD+61]&7FkMK%2= +CD7tUV6!R;]ZLb(Z6b;n*F>q/`N#KJVA!UoK6-BjF6U_l%'b/?E;GW9"V'Df#B55= +*20-tiF?+)j4ob14AjQ/G@uV.V?E)p7*m6nj$K`Oin;sr%eGj;96X!!Z4BLsAL,7c +++cK?tK`HLLDQunFL>H+Le)\u]fl^f-O_-OYr@*?-2 +_l@q0VLQX8B\-Z0ig/s3]OX9SRmNYSV''rqgh&lNp1HaiACd701CZt`sWCg/W2AZBt'XA7TY +B(_*`'g]I#W*clE<537tL`I6kUK'+H;71'GISklk"U6"K-3@5RDUF"RP9kPOfWnB' +P$oT")ed3ahaGn0?.Ekg(jAj%H>)HS'FXC3Ybs[lVQf;gZ=kJO\'13t:)I"BlW9bN +HrLJgA^\c?ic9Iiob5.MZ/3)>-6M)Qo=J`76<7 +!%f['4^,gAWd4QO'g;OBEMh$1k(]InRQe/`^/g]d>TbOsIqp@mTE&^-+h"QCR!/-:_H,?^O\=M!BI-k=V`#Cm!.BY'O0H9Pp"j=+nt;<%]b3L(Q2U(IctJ +Rm4Hu\.mY#V%rSe+ehjhTiN>9)TnZ@t9D@PtB%1ISJi +V)sY9\,L;+N9rTbmlF203K3F\Nc%u/m90tfgPd18'-B9[]`VT4\h.5rI4rF$B4:FF +&K>*Y9[R0X.f;CC'YqH[m&oq:!6P/!e'u)^iM#EsV#&,"VQ?rr[2l3S*@eN^<,LMoCtb#Rfp",HOt,=S.b^-.gD%ui'$I/.k"nKf +a^Q+]aWgI[Ki1M?$-W7oo3=RLc@B%mhas?Y.#[sFinB#E`hE^M,AIK.`em+E:Q1 +s2h(\BCjQ$g/n,Z9DD]uhnP40^RUSa@e.et`sP$Qk^>94rH*ke40%@#CZ8\phg4"2 +]^A9RT0`I\.eCWdT=e\7>/Y +8oZ1VUcVBr7u(`m?h1L'os[lJh\3PM[k.Oi]&'J/_=r`(^0]@h@`eQBCN1`@@C8]G +BuoZc]PIbL9Js"i"-71[?EK4)TF^KRJ9MrCG9>i6)WgT[iU@q%&"M\h*G#TuB+LQq +Nh#*fSE,KniJo8U`tJU9M8I@jJr'jJ)2f,1huZR"\P#hGA;.=3V/ik^"\#tjU07XV +)HjBV?l4+9%GRidD#hhb*Irg8B&#[07?nsfRWiRMFTYV7[PbCWFe^k)75O8Hma<\6 +^]iR`$n)@r$b#F,GF86AjZ'p=13VS>IcNM7kW-*?0tQO3!ZZHF*V`;Jpe1^D4p59N +B4fV>FN\;*,2HabmPY>e\.8U>Qi:">NYS&WAZJjpFk`?j-TJuS/LYcMfqN?>]QG6* +gq4XqHPViQ\!E[e0rKZ,7/h<`ErD^u_kMV/S:1o$X&hIY.o9'8H\WLsXdHJgk>"?# +C'I]I>=\tCCHASug+=SPAcRbiF+H2iYb%G/S).`"FsmJI$^`\b*&k#>1N+iU\Z9$RlVp.h[mCr6 +=Y[PCUnlnO4Oqk=^r"%G9%26Y'D12.>h..edGIP;`#kNdA??G[UBMDE@]()]VtJsD +O7iO'pg`oFY[)d`rZA$4UJl^"/HgO#s6k8bo"lsK,KrIR$R/:PU5TGR%,V]#T,4Ms +';UoXVj?;>SDgB5l)t4(K\e>>'W[9.lq-?/bi2aIAYBh_HY(9$/TOjPgb^0-gQD6B +OH4aN:\p2LqN+LGd=ZhrK=pG6?F;"2>ES*naA!n";2Lf*5Rn,57Q*TT6rqbK;B!_f +.Ou[#D'9_1?H>\gk2%KuTU+G<0"j,@+ukZ;fT\!d*N`EW?rcCV=)T)+WLl"^P!r"j +De1T(VtE"&V<4e2QE)@a.:k=dV7.p%2_3a%=&5N(6Ods#7D21%ijq\t,='_`T +h58eoa!o:IS$(3KVb*ltkl8T0j!;NSFMiE8drp[f2+fbGUfn1F=cEEn[c9G-@gn9h +:!6tH!ETaNVB.c3TM0l\kVs#6"LWFlB/khO]?ZT_rpZ>&/i00ub`;Y0Mh(KD5k7o/ +oeM?o3+V%r@f(<7(+B*e#hk38%;;DM\=to)Z%kC"ETfGc_op]WB2NaN)R&//T#>P3 +9AFr`I"7Bi#BoT!Id7/JpdohJqoOrkKCXX\*5#&#H^VD8@D]iNM2)Z",jYX%a7$^! +f`c7[2p_l6!L.5J[-%J>9981)NcRl"QYm1lh%q_LLhBJhk73/$gM,TeAG@Cm,`+*n#p1k?k1n9l +foB1Qj.ndL4sP_JSqUGia/[(/ZfN"/69&gbfWoUPBAu>)C.7j>G^@&b-k7L'60dj! +-V\ojHf\T.E'nh0^[OI +mpfJl@r*hTHiWL%Tj'loO@_YpPFi>!]Nmb?%B&/:fm::d +a"Z1pBZ7N#c*j*Xhn.2#eH&0B[;K?XCg/f7,+1BQ9H+b,C)?MX62uK^_g7Jcj,-tq +PQU-c!W)"TTi68K;hd__cdi93apI+f0tdep_g8%Sl[hFGJmK\3"u\SpSiCH:9[mi# +lI<`EA]#9;)R(//)5)/'$3E;D#2O],^E0J0W/'dc1hTcHXBj8JP[,OKOhpFSalf-G +ka*G2O=M!9,9*'t)ff:/4C'T7Y,(MLREu$2fHQ`n1ASQ,L,hW8jgc.X+\'Jc2Hika +nu`HpY*R4Zk5'YK`dX4gb^fb:58t&]>I5W23>TCm#f$a0#V=h$1YtP`hG*%t/eGbN +.A6\AHKg"56'):R@>8Ip+(fIVglT&YKHZF!D$1Qk)!-L@kCoCV"lr1@k!p9O72Y)U +)?P0rqY.mLZU;)U"#\L/<71l51'3^sK2d^P`2hm8[j6e=B(F:1ENb_5m8U;PWb8k[ +AprO]qHbi0a+J3#O0F$iNr*u,pY?P,[hET89]EgTi:u[Va&cbU?]K/T2T5T75Q4@n +mR8YLFWJXs3O3"DC_bsnH$Dq6k=Qd#Ld/S/F/,*-ec-90`F@e_,2piE!d3b%;m.5?^$IsMs<='!nDT/jF%78Z +^dHGeA+/Lm+4;Ck'lX2\FpM1RY(G4H#Eu>Yf!,fk&:A0].R>K'=mY2B9ms*(\ZILfIjB^F<3t+]:YAl +0?S[N..N?3NF/i259Oop9]Z6L<:-$mR_Ls@KEj[\&Gb@Dr/30cH8[MlN]\fSs21#r +5I^:2C,qWDOe#sAUItGU(%.ffrN[L=Aq9cR?EW1G.XaLV]3WL!diip4UJdtG'Ss#[ +#RH^$M,Y[Cl4C@87'D6f\-XnRiiiUV#=e5iP?e+9gnD'%;6p=D"TGoViT(1$ZmCin +-'[S$Ul&5a9%RT(eeG.*8p)u@7Y%RF +^T(O5h,u!+PZSj?i`?\df@:.SF/GPjZ1$= +3O\$,%R>[*!HDT'HOA7%]ms7AS)32@QI!L(cT&E72OU3"1dH'EUS@CBmCLYe`7>r> +k,&e;n,h&c-kfWUS!T*QQ;&9a:jm5KeqQMaDHaf&6GHpEVIINLQ=*`O@8J[g:e/lN +6B?uTW1Hm?T/URi0PXoPD1e@.eZ8j`+"Vr8=YlgU#uq2.4a\/M!.$OdFqQ+-PX#bY +0rU_lYFa+CQo(u2f.Lr>b:/cLa;"8Bi-%iQF\`Y@8eL[K<<&Am5g^a*0E]]%s2tK3LR9_038 +\4l;%/aRd:DS+4\g;!#MfPr-dno$R@cAsb=T/lW11qE!1"7.u\2P"Ijgh&9VJ6Nu$ +UYlWTjH.\T"F5dgn4%6X(=W(BQRV8F[,J]sm(:M*F=/->&Di;Zf@#NM10=ORs4@VJ +Z.B%X,J_LGi,ria!C2F*rKf-gokij++!5NMjB`ZpTF+)(E8WHA4E[Mu +P1@/U-)s6(!RUj`M(2n+U3u9Ml*gA>*Qc`bGL/cbVabqJG3Q4/nt%mRXiZ7!MME4N +Vc"fck'?o;3ID,!StgP.*]BJt2VT3PeMMFuIo]G+Pr_$h.N;p19`7D`18BYD]81[7P\[amoqVqE=G^:j+Wo$LJ$giu,=D-j +1UCF@NBmN9FWt0+V#PHZs)ORg\-mRVi;VJf`jaGZB2CJ0#^oL4qJk]DVaUO1jote! +-i`d*KqAkj5+UY\IoP>J]6\CMKm(Y$m6]mDOqi5h.JVkpjCUT]>E&"M#.]cW^fgZ@H,40WkhXeDW?dT?d/QOse0WL!L^U[i!4Y?08g4V>bR:6KErr=/ +iUfRdHOHQN`*8YY6>saW'?Vmn.:ou#n_f:r6Q;VlDiMOQA^_+F5.]].7/_6H +5M^$]'Ad$o6O/aHNV4'[6N^#dPA&;F#W+%J$l\%ShMsQO$O![nd%iis"7:`-p["h4sdOP=>E_KY14%".SXt)a1O&oc +ot;n6?-VHd/JPlL<.%A>IE^*LTNDrE*!f@O[R3gnNcXBm-F0'1;-^G9'3J6F>3o2:@)@1I@A5,1Oc0K^/$_lFA8t +>q!3`cF[A?J(2\ce'7SuM#GeBcJQk:IQPmIq^%gU=1J:9cLY*mcem;6s%_^.`a?j# +IjO[gk`NT;W'Peo`W#*Umeo?)o+([e1]F21rMUXL?-^,^`k>Nt`@0]A((6=`DGTFg +o\Z"6b7o;b/tJ1KT+\;m'V_.Q*cnEJ(8-g.XI/:NPjY`HlDpB=VZ:j3ZBohie=!0m9hJEM)'.,614T7$.@q[+6@m:>nqNrC:L@ +3mSdmbWkYASbfJhO-obC73EK7!88RpnA[s^9:/+W"2Q,Zd!k2jF;D6,cCA6p'"e:O +IiX4Q).8mD&M"MIK3-Gtj,heaVCqpg$`b;pSLYo32/ZJ=CLAGA@Ml<.G$`.(57cX: +$\X''.j*3-a25CMijIslQ2C-?o/tM(V[ddgG#KbHPNR*FVj8"[BWpsq,GX4QHMtGo +SNA<<^oh/4SjLVl>iWP7_gtM[rggWQ4*CGK[1M)fjfW.USlE\;7*3/@ +l'Y,bY!MWEDB)"gQ7*BM,TaZL*PHDBR)&#Pb8j.7%A)Pe*9$MV([u1u[k#J!`8a7V +n[C=e]W3<,UVQ_;NVQ/Cd\H\Sml0K\4(*)-WOS),J(>n:%GC6J>Ac&*\"5$k=f_Ru +7J40Fs.GP:Z46QE3<+n&g^i`!J([frf9,'"2ar3ujno"Fa<1,PrdLmHhCQug!nZma +UqbfO\K8]&+n315iV:Zdd"aF4f2*7p\@u/^pgIJ'K5pVZ-[:-p;Lg:DqiRfD/C-A% ++',U.CZk_CbOjg,n^AES76TgB.C*0.4"leHdqVX-TUqm",8ctQDF\>;U1Bt:N?V6E(;1ji4,tPTG(Vm%UO00-U+h>^ +&6Q`!pWScg/9'N?f^jha?ujR4@iAk7B*RpVCaBm^"/,[)QQZ>I%'MB"pIPSCK7pf9 +=MV+5\p?XA)9sI'?Vp+98cHM_A_3Yj)eeo=@Iq,t$W4YV;Y2Eond3"("j>%[UZ*`_ +Ee8!W\p'6Rj.(#IU4*ctTFj:q;R9h3[<,*='Vp1aY7;L#_")los(A^=Ap%jm14a+h +%NNg\2GC/QTu5,Ye`0gJ;gL6'.+:d]K0)J1*[ktYRG-AbdTCbrc1J]$N5\jYD94`H`di8a +EF]7mAqoM*cOiP;5;c8oWW/u`0g\T+\,*Fa#_`>E9&ABMp=!'t9b6ZE&c?:**5A') +qI,6La*%BrdJ3aP+o(Z+^cr^l5B$,jCPs:gba88-6PoMZQ1(UccJQlfr,s"YknsEE +!6;E@r+-95Bdp6C!_Oe5IU!PJ]3jJe[5I(#jh0&qVuN"*C;d[$,nHd[c@J*PH*5+4*.H +62u.7;*b.)@gC9!])?gm-F"O37/P&Hn\BSPciZ+Sl+h'PifOb-0^75."WD_/F-m,= +%04$@Es/uSJEC?lnt1.Z!:TP%)U)M1,*qVkO*MA3-ic=gpKtN@7/*7^$DsDI)FJ%= +!%@kI)"f3oh4*CJK`!g"Fr%B0L!K:c5Ds+.`,'r3]^$dD5iJmkWGq0'im,`#D0Q%5 +^5Ulq*PW%:?c6kkDZMpbI3B4D]LM)^@#Mo"(UrG(aAkWCPOg +(H-q&Ml@AROV>VUaT#$E#*6-;G#d;E6f-AIO4?:O*%__0c'gTp33?JTIAG* +Y=+M'MP(sKL/d-GB$#d"k.4eQ>s;b(,'dHTSM#,Y.[RIgRB\;jGFh$JL+d.<+CmaQ +^K\L[RR8_LOg%2@<=fWjEMPa"H8/L>u'OZ+k.4IC%)i4U(TC*SrI$pqNXs +hMeaf:?);4`:J#4jg-8lhl_le36V!(,K6ie7%X#q+4"qVZS(m2"1^)Iq*(5*"Y]Yq +1@)Emgb66XYIfM7W];,d,JRG\rd!,VcSW?$J(AEZ2d)NO/J?Z?Qd&p(L^)rJ:1Z9>Dr[n/,Bn(gHb< +Hh9-rg_<7@Jc"jDDpg1db-*)8#p_ml^Edh1"$7WSiRY\f&L[[#Q6c#;-1dJ!MO()s +Yus?XMUb[k3gs7$Z@(2sC^!D(H:>)N=fH"-Xb!S(]Va'^OeUU=@G&OQl%'6bnpDc) +!6qa=XOjbTdt@aU^k-kQ0X"Lbbc0. +eP3G?qgq)*l&J-cDW?L9KSP"t&A](S]r(NdTaI/r\c;crJj&#%I6Z`*s6QmA3Y8O[ +4UL3Me,gcl)pCU$*RAGu,JXB;/aUFlq-qNuTt[0Z%'A6Vdl>b8i0fMKeh"Fh`q<77 +%jpt-VbP%8!W@egFABGV7\b-!UMgO?tQ:?+;E+uRUA=/sV^O^R$\JF9(hI_Yt>(BuQ +?]D&bk`0Top6n\R7h:h[FO`f=s7+TcHQ98n*iAt].6qf'!*ojAXHsTPl9Ak]R/YtN +1''-4NACWpJFl+%ZiC1N4jX`iLt!R'e6pOc+SFe\bXg9Q(r&n5P&I$fLer,=1f(,-;mJSe\ft9(0BQ#U +KPX,RC3m75Eg1r\KLB:6aPB\[jDaL^#d*l@c.Gj8N0mH7W%cKC!0*?g4g9HQ7uL^J +];tAe43kc3+6#Z&Kd3e3/Z3U"h(Vq2Re^0KCtXedgJ@/tcQ9XA+1`*Z>\<`#M7ZN( +qeeg'Y6O*dTIZq^eHcmg:-l#MK*UpX6T*l-^[06ipS\ +Mq&!`3\R];W"f58r1A^\4:\%c:W"'26Re@q'G11T0jDt6[mC&!Q"?ni8(2CD)]$,N +FNF&N8S@I&!TO.UmdBtoq[h^=C'r24!R)A,7:FDD!"+:HE9=l(+k2u($L%L's0]n] +/!k-H(Tr[hr4nT`dZsF@\_ZV?/HPMDd[G,e5'^m*G%rj]Ait+65PS'e(W?>=[I$3c +/HPQUl?B(>G9g&1hn36GC;+6/Nc`Nq]KcO)ksC8L ++\fCu-<%,uQE_^&8eamd&rmmE(!snf?HSrXM27QEJf7mG1'j%[`A-@&RNmf&80P)n +aFH'%k)PrJnU=2/q49)1U._W:%*;C9-GoRs3n5n<"V5@10BZmF6<3ttN;Z`u!rk[' +,Op.T5X&C;Iba&`l]1m5dp+P\OB:J`a$fj'Md4#"^%Ginji^Z_^E+hR8!AB[MZ7]s +j=a#D^YJ&PBj^:.5P!JQmKXBn+'+%92^2=Gm#T:L2KFoRqLjA\ST0jbn5+ +#h575(2C0fQlsM>>kY6iRuc(DT[F&YS:=_lq5W"a6J8/uh.dMi7,[d/@!*i9plbiT +-JADl7tcQPrZf^toPi%PG9 +4.*mVk7$Q=J.<6;'>OYZr9"RmM$H>b?%2nm!GF[P!eUKG!ChSL,rgs;i):YOanC?D +Via^*aXstNWq4l3r=I4sE5R-lCt6"0N\3Is[V/gLBUCTX,+;NX(fnp!f$#!h5UO6R +ciRqZS0fN]A]ur>d!d#9c1\QGJN99i7HTHEX(EAOle_ZC(Y3;jeZ(!1f7S_"B\-$o +erFHD%]GWcWL!7YQ1SjVp1P-@"+$eO"Af];Bb]&FB,&EVV25!q8pDURH,b]O`eq>n +]?2n*h(Q7Y0g&:W^dh&Hhaf95<6O/u_p9pf5bMFa&Epk0VZ0a/5GnIK!N)g^q\uF.)$$Z8"t>#t +!&Tl:oof6\Oos6u!gSrNj\nJ\1SU+LUP7IkM@=(QR`uRL/`GE`A:)tEEo"S&h>le.p3j=-h%)>obPnk?] +bfn;TbfgoIS=!btAs=mjP&8m8A]r;f`/2CYVVH9^1/;QGST^n0cIJ-@TC;`n[J%2t +>'_`tWO)=ZpR\]e1?!8*p;M:4oC;[M!r9rk]O[<*"S:COj0X'Ue9LBQG_:s"PH9#( +ZoHunrIe:*Ufc*i8FuFZens9c%,]VVYM"O>gLl[bW=614M6)iA?L9)E&,uNZ[`J-iA3r0YD`F +bQQjA%/>_k+r;=j/V+Jk9tp?G=V##.@7@k>;9O1#(-hq/EuKm?h=1%92sk+rQ&]_\ +p)nABE=1_'VsHKPi-umFp[\mPakhXd;6)@>s)D>[V#fBXV]gQtgl#K`(q9,oBasc$ +rqE0'EUlWE^ELgJ_/jf%AoIR?1EU"R'`<;OhtLU8o;(8dUB11_fTUman(Neo=H;5p +6^PPQrl9c,q`8TK)GQ\NFW1nTUFUjuOFTK*7/2,/onN\2n9Is-"nI7nO9!7g"1>-L +e`(H=U0U+)Y"HsA@`=@Jd=u,h#3!RV7es&f+\O_3<\0dcOuP!,g*>ZZ-KpPKab4&R +QC%Z'RpQWB>%;Z7bAA%OAL?EAKj8FS)k2l+[a#8n+rS.ad6'%F5:fjf09L\bYXO\&S]:cfCW_,mF,0-[l\;P3/ebsUFr8j%*0;Irr +Z@2W2bQig7`e8pj7"]*J_oDKL8HR:<@d0)NWKX&j1l4o;1_N)tS=`:b5=^LE?K+'I +p=!LH;keQ$@_#FsH.1ahBG)+oV(U5.$g-LX)0/ekjfSVdlK.W;AT[%>=f#$-lA[gs +$7;He?DD7AX.$"j`R9=A^OAJXDI04VXa5,23].=OeGfo,%7@m=_74(0*&W,GfQZ@g +qeqAlGM/PrJ1Z!)Ja^N3r&Y7Yme]_OZ3S_G?2(TE2^1<_G8jsp3qVA?[ZCXmH/d@3 +5e4,EgNS5h5_onlMCOG;8(KebRh0>j7CI+JLu^i36;_G.W5)9[$ueD/_g]\VCQ8*^ +!oRJmqgnY]iS2%8=+*WTs0-,roW>V3_2_k'=>`=%^!EW_]?cW1dQIk+IYK'k\+of2O7/ONg +Q4P`_#Ff@\QtD!gB7q+6L$NA@BOsZ5kJV&(9@Tt9ODN7-*m0h<\0OBojBF(lgon]b +[rX\#KbT(7dn0PBB8(hCMYt&A;Lj788H-=Trl:&;T0(J6]/"$rEbB`>BA:jaDFj]> +/GetNi4%/:T2C8+,)SMM&\?`6J)%iO<$TMdJB2)0jI/Ee'pXL]&G[gmB<#92$4Fsfu[u3M&Meeg0&EAJFn*"PXN4'.%Ql! +bNhGXrP9:QJc0pZN%O\f6j)c[:@890r^So[?Bc]'8`Zr43Ha)GFt[7kY4(-t%iSj- +Ka]Vd-lf`q@>"HWh$oa`jYMP35/!lpptfMQWS@D.GCpa2W$Z$r"QD`.12$f$!O&>N +mHO[%S+@F;`M-8&#LUUb#[RWlI[[L$)Z`7c&$ukW)ncLiE&Vt)%Qp/hnlFnuMsNUB +1NmW],Bg!r%$/R4$LcG%i@Xa/K2$S-p(*?`*>.d*XMFl*iUA(2l%,K(4CR8qll'd@ +J.ODYlHa_56\"/Y&'TODNHW?b)Sp.YNW\s_%Je(cjM5;4f89`Hk;\A53\NX=BZ$L73PlgnMHC=psG +c1csp4rQA)0rX`C?LG5#9?V&pHZ5Hpr5 +>EekmPOPB-o>>"AZU9@0DeYb*Z2JKF%?6".'`)c@i(KC2(G*rU[Ud*YOTb[`D-ult +Wo,ZWcasiWYF*`[cNo$2,k[[\cMW0Z=$+$.H?MsMlq$S2,Nn3#Cp/Zd#H$(Ul^FHn +eUCVBIF`$fGF@JWYOk?6WkAmocDdq]<"ZOP*2Z"dUQ*\l8A51aZn +V_0#PWdN0HC]mTdJh.mu$N:2Q-\UO""li/OnRTH]MJ+J.,^i!=N@^;d(.s@)>VLjW +OGm5V%'jgf75P68,&^BE**)Rb\6/1#630fcJ1>nk>jB1ZbbZbBX&Oe)ELDaFnc`RV +.hr/`<(^kXEWAP=GY4a$TiXERUSbQ"`=QaMT)0R%LQH^NQ5lN%hRUNo# +*j+`V&^W&qf"B_>G,\cR\5i-8LZ,WVe'$jaBbqIMdmZDT7(fhDI*Tn>kK!jnRA:<\ +<:n4rEW@npd[;$'G;^7!J^;J4:=U-7B$'2*W0pEB`1E +0,60NVZ<#aA'>&D +OqGtcWT>H>EYGgd'D3Ima@Oh+MUB0MCf_8e58dM:(.-mORbA1#]Q.a7J-s%=48tHb ++&qiggFN?Bn%2Fn)5PU&W@o:$5s+V3htEV[gV.&!3<1YHaWK3>q+_#7ElO+5@0;o! +SgHR[=bE(`pLf5G:&Bja]tjHBa>7]O,QKeAW#1fZ!%l5CiKaGAG;s%,;:6quqJ"aE +^%eH$$-TOSRGX!8iTj)-4M1ro!"Zl3\=G)J%(ljjT!A6;eh3,BfTc]h9=P?Lqkl)5 +bR\riYk:,%j*C:ne&^'0+fkobrkIJVo?`tUcXZ[WoAiV9b"XtgOU^QrC(.pfFPh=^ +=23qFYj]Z+mm+)B5c=3M\*H;["`UEjEidr?83g1JJ4$`aIF[&@>0RunAc(aML[+QE +b16:#n?ts:O`ot1iVJ<,oehT,.qmpN/;;u"K[4RihnPMqBop5]PS_S9D!/.h&@Z>< +1p.J?bnO&ritaQ2^b#8bL1%]=L17o/Kmkdeo3tPbW(:V_9l;>FYb*;NS;7XM?rM't +;*"=NOoGNHi:DE3:FDt<\ZYe4:"c0%-%;ALs(#*q1C-i9,_%s"r4&O!T0&p"h][A& +-h?)jh"rqrYLfS!3DfO)+oKeIiL:RYO/Kts^7fOibN/IQp0n/OG7=A'V>8r)d]Ya\ +s4ih;IU;GC'm?pRpU#MGT52GZGC=pHFM6S-n^4<*f6"pVB9b\,Mq9BKkOE%]J*cqS +kG(r&_d'0!AKh5*KS"drmp5#pm>HSS5<,!*Lk/.N(9!'1nCETuk5I +9?0uMA&j:uaW`GQU@D3fj@SkUMJ1Fk8E,k%lE!Z+>qV0bSNS3]_b`D?<4OudI"@u= +BjRol8[pgZ?9hH"4KX!f5q$8Y(#bP3X_-it0siD1o6N8e7Lb91olKse9S6NaS7+"u +W")k>IeBdKeZ"E<,efHP&2!Lc[f\BVpaOn-8b2@6]S=qYD=b!pY;h"9)R2:]]>M +PVisanGfNS0IY,EgAp!tD$Y&1Sp0HfAjNAYVZYrY3QlT3'l\CJ_Zj'?7JjUT`3a5! +!&#N"rl9Te9*".m_b@[#i.'f(iS6N@[Z$T]BcB"1"UQ$q.3$bcJLk3IW+&T'Y7M==c*BD58kDTKH%Fg< +VRgbBk&E#N&Pe/[UKhp#fi*ONq2_FVR[5JmJ!uGglP+kT"U&A-+(Cf`o)D8]Xo]^H +=!GlsU+EH:>N-9W'5X*XJrg^`JnX$`[?@B])^Y:u,l-^Oq.V2[BI!h^VhD"EKdgY( +WSE:FX[s(>:DFnkiZHM,VI/If0>en93,Q^-oO@9LErV-AoApD\=HDN[aiP&==+IV,loAu^/PZ:8/pc@n[R$V?$L +"L[SAc--mXlnglH%PEDPr1IOB:[E&V[n +IcAehKZ,m-J=BW8=U&^#G1I6#"5n;-rZMG1)*oIP&k2el8Xn&c2kS*,!1q025E8uo +(qOrVGi>eIrRcPpaE@'Nq_WmLq3Lt=0L&>3LR+^6ce!!o#[fE8dq%s6n_fNqcb=Q- +i)mI(?`W]^'2V8GcUHs,`So86t?i]]/U+k'W26qqlgY&fYa6aD6D +*JTu%@"C("`&NgAlHiV^LaV#UP^)V&GKse.XPFAU%HgiQ`?mpV_eZRHpSbhHQ%%/8 +h/C;>oEr8WMZ0l`o'<$g+7"f6mV.-d&:T[t4XX`HX@f$H[f65sd5Tg;T.Gf2=q^jQ +>N(KOEKGh!k,#h[QiCl&qWt*L5I\$a*96pb0(h5!kj6geh^:JR:LUFD4C?=Th5TSi +0#es@#l]7gk0n=n]b2c+0'D1&WE0b1^Fn8)B]m,SM,!e=hR]HVUe9p161*!FXnL6: +0(NJjHrH2^[NFRO)A.'9$@*6f]gi3QLA8FY\\&,l +r;*u%qDeEL3W02nK84\L +D*,3HHIf41!3bj@9cJZ`(JGbKF/BBtbEc/?mL@4N/a%\%kM]_@d="e'OT2o8n=&q[ +U]\-]5MP]-[A>ZM^`NEco-Nl%P5"o(TE:2hm.mBS3.(M_HU5N@uDH[*p>Rs +fjbkCpr#=f+bn%XMJ[VPE=%.sN/cQhqKJlWtedm`5lUagi@R!d(8s>FX?T/i[qQV$#ZY+:A/m@%.m-YY"bR/L]iK^aVZaq?6,8Q%r##M^ +5l8ZPL;<_D55OeU\oHT\ESamh^4ZW=e\hILjC#sV;!#Q5_3-4_RQ1;t,i4)G:?i"! +iB#"k"a8CO,iInepAR&7X%AndB6jO&'_mq>ptM7Y^U>Ca$F%FfQII#Bih-[o/-pYs +'7;Y\nD:D-K20/@-@sEVJYb,.l?1L:9B'eKZ;he-f@+lfVeTk@BOmnMdZ`3;OoVLb +8ZJ3#C@G\EMH5&':0P4]Y^Ki0rl$kqMt+@ir+@9jVkn*=,\s!4d4YrNljHLZ$Z&<( ++Q+'dG9!1LqbQYW;@`W'[t^m1/A)mb&rCuT]&ZM$8#m7H%._rMP?rWc$$Bk@ll$2PNU>qlHiI<(e4`%qu,>7u+fD_FEieJBTpjN%k +Re59ihG:1ET/+?VP-FZuS6rHMs*CdBe[iuJH-u(=P[5qt^J2PY?'G/">N>$ns)VT=4]Cm\)I'u!Z]m-!l%_E8;?(s^ +rbfF3Aq@gS6Y9-+-!.Ck2pR7DDq=i(dc+K2kuU:=>8N5O$"4!Bih\d.Q+W9f>geV! +Ai"&QJsge4$=IHdR!C&keVRFQ@u=#b7t4Ej=G +ImiGsR/Ed8`@F@P/#*FTj/U_/Zu464.VQDY%)Z9,H!pVgqn=;9d9GJf\%K`k]nh%' +6T_FQ>H[pT%HlS:qi5sfp'$oqQ>Pf:9c)9iMe1MP$@.1-ESYIKpJTab+2TDBJ-8+; +^CH.Z3=9"#nNYAan3:Faa$J4EU$R^\J-p52MP'BSqN.$!L02a)q1$@$+"m%$LsJ5= +EQ!WGVS\&M$>,SG?!Ah/9 +<9m#:=j;cM%H.7pPG18>_B/)r+l-%l%YeY-=J'TtYYEB8_#^=ONRAAJLdGl,nYM^YrqEq>f7Tlg(gd0&o=Te4)Dc/],j +i0P1PJ#nPp$LmL92Dui[B12rFiMS]0YG_/&P5$1f5AB68XlWd$_8j(21KZ'VEF,q# +;rLo;`d%jM;tSL9[$-\1;j%E#8S[LH.N-?#R469]W@F=8C7kq`l$B!(3=u*9kZp_E +LI)km\euAhg%!eJ,OKe%;]$ZXMs_UI<3EeF=$2;#Pq!:mlB`&J'o +L\8HD[dQ9el_4=eNZG;0]Un^CJ;2\L,Hjl2M-XI'Yn<#5P[T!)qd.if[]BCe*/p?lT3Vc3Re-;BK=FW3m^8D +^p.M;Ym+qGhH$Z4<2eGK\Zqi5Z7L3BXbgWn13gltb/? +C/f*`MRIW1T%I,I(gNJl:S!VDR$ET&9)F^8]gr@ANN1Q$dP>\WAqFHGgmF'LB +rg0tNc\O\*:('9-_X@)):PUse-1cPk/G%Vnj@KGsWs8HLh>$>srn1TEhj08b1.W-BXhp&[\F4@p``,aC;@ +F-.l55:i*^+I3,n(X;@_alsVblP2qROiZi(cg;FkDAUCrFGf/g.pO)p/"Y*;T@0d3 +25sfaC0>Rj?Zkd?GOOA]*o-E3DKu`p+=>,V]]5pdMbZE[@F()m)VkIR]';3C-?S/8 +JX@F:GWd`Hp&_;Dp +RK9b[0rIL@GPd&;oC[p,BM47c43L_r;rIZmB/]Rtl/DQ$;?/WhSGuO$%FTXs5lsju +JBrgXWrOaQs1a1/Mb?nq$]+O5!lXmQ`qgN?Hg*tEl:/:!"2`m$_H\t9h))u3eK_`V +,.pl!]G7/gQ-t'aErlIsLBnTLo2itOGGK2okNil"aeUS]bo^U3Pk=K +2#fM@!^F!c5Q^qq0)ka&`:*&VTALE^gW5QroA<)_7'dSa(d +;cG@pCL'Ul3gX<=Rr"1QA8j!Q]KS<6&mDs/f>b8rlUO-'?5$Q2UH>%m[bEV*04IG[ +$kTo*$D,00m%,aBbbHY9G&8T\r)(fLO??;2!/N.%cPL,n_:(oJ1Vi(MX>G#'I:FZ- +2tK.?'E1QKZC=#bA)*#NipP9>A!\5`XlEp45QsoWR!74`rOY0[M")U( +nPRpO1,TMOU'k=8qH]`HqnA$$?M*"?ZoakcGFb_Bm)KX=M>NTTR#g1g5KDp)A(-Q- +j+/GMhIFI[gVsLX%D.2k%s=>%FkU`uFPP=0":5&[37+a6;_D\(?9-H;gt0(k06:Pr +nbS.@[<8>*GJ1TFo,?E6\?Vc+]V]^d7J/E7.?>[:1*N,^Pt`88NgpXfS.b-\m\8MbYW-;.I.L +cZ:ec$&g0<'8bB?7^3I/V>#nPHaVLaDX8Slf9]EF^TFH+h)>'&+lVdJmQYmEIU8@* +44X:u-1^;Zd#[L-5Aq/57Ml&??Leh0HD;C*9#Q24;uYgqi9+CJcPL0->F.K7P5K,_ +lqnGRcO3?Xa-+4+8t>:Zh6!u]Fi7rri]H7"/HOMHT0!*Sb8?*):pPc@amn_n9[09?,e:Z.U*fP<-"JS;>c/4ChU,*E5!&5&gWU]SWSa^h)EWbBDJ6k33ZRj*tR +/t,KMbGE!6Q;VLTF7tV3Hrg&[c4I8C_Prn/T2goJRRF;_ZTE+5p51er;\V2 +0Q7ZAof"i;V#eph0Dfu95Q'F1,suJZ/!0RqlMrEUFR3;=mp'B+>?UbRd5h:s% +@uqg`ctmt9DL7=Y\rWR1?du;Og%$0dW7 +m)H!ONFA@sI>!c$oqHp6)aqkQU3.KuY*j+X7^?b53>f0'*Hu4boP5raO,L9KNj6!L +F#&Ysd#W4srkJ9doIp2&`;0H5OThuX!abKu?e<,1rjTN[D&)GT#`/'&MtGGWnC.bc +f*ZZL$usYr"M53F+g1)RY,WX_8g/'ZU$deXT#.HjU,i2s(B]AK6?qg*Ge2=JM>:D` +X.0Q/fQKE$d_Ya`O6aajf-b+Cc_go\Aao]/+S_"/Z%&p4,:ncO1,&49XPd0Dr%H+c +hX9F9f>bR0,JYcBU_O6"cLY+EO=JA<]oo+[Q`-1?W0=&7]#`k0OY\4WJQT`iFRFV1\0k2o'G] +0)A=\HB)ihO5nL"GV@^#rsV["Geef^mVle^0>L:$hXkmJGIX:ICr^.@Rj"F11pi"^ +ir"9C6A'e1pN&NX=h5E]N!Asp/@#MsTV26?E>;2a:L&78[Z.UP5*$-'\$Pc/pq?&V +3Nu"Pl/2H_aUMR+OLTm[GhGqWScu>gR%`c[n:QhFKJ29N$'<=1o,e4cmtAoWK[-9b +QJi3r%I0-*eEr0sWdSMG!n^Na#^EBd>+I"#lq.(4`$:c!A(tuc$c#PhDH`"S1`JV5 ++1br:HtkZ`a*cg*C#9SniD\3sA)6h\NKs[+[U$<':$%gD`A4+\3LL6cm99N*1k&h/ +^8t5:X\lZ(\8c&(I:&mo8`:"T3e(0SD,r]/=upetE,J8E&lg-4`"u22odB;j[d`OJ +n>dpFinbZB,DMUrJclR'Jrkd4L34id^INB0WASSb(;-Z*'kh(DXr'0RD^&5&^gC]f +89qg:Dl$!]H(O?/;;sC;qM.G4J#j7-p,$*9EUDSt4rED[@o)b^L[tI/;#&@#iTu-C +fd#=Z8,?RD83@pTH;OCSo9h5:KAI>%mcoZShIWfILG1RQPrm.1c0.bY_ +]D4X]i;.;KlgH>JG8nK@j1&^,6l$.5+*MA"'oBSlZp2/;nNRtqYG_YdCXeq6M13r% +r3A]O0T/aYM-]2XY&SJ?#cUm8"uVcZ,A,V^))kuMXW5>$g_Ku3Xok'G+G]h*VoLKX +pFqpegC#WYPUC^72[',/!98H(AH$7cK.nEVJfd")P5#^1"VRdYl'#T0J1:$$8b'GB +M0$!YQ^CB6!/A?J=;M5X/<.e@c)LqA<"@%n<6T&Uc=p;-@F_>clIO8Ff?LY(*p/G# +)>\Ia_a_4'h2G[bP[N!%@o.*FEnn&(pS& +iR\3o$fLcuO;@n2"5&mn;o_1&8*C/.$J=kg"1AI*BA%I7X?%.K3u4s1_Z(j +mlduD3O%b.O")"'E#V.S/UlpCGX%S.k>#.#UKtID2"9J,Sr6KPPAiZShVKp4"[U1k[4,,'l41Xm"1_C=g#MBi$cs=[$:p4_EA4[V?ekDAoj`,Io\[K%b.]Ur6Kla&lK_ +3LIcF)FQ[O!;X[FkhuB2i+hi?r1E8LLK)(00E^bLIbbTJQM]8c_#JfpJ0Z8m;a9&9 +0?cdBe6OH?9fq!-/'(.8crgJ%!%3B5UUn48C4NXJ^QYD,Pr?g`6;_W<&[\HJInG\nT$N-NnF +344\^NJn^Fb\3QK=AT#bG+s;+P%Ib#/unh@;9qs:cV>eI->?bC2n9O\eJ=`KNNB#S +[4tt7,TrE=!7PeHmQO>=-DQ_XpX+,%nqPK/MT=A<#C4L*'"Rsc;0T]$pV!K]e8l[V +;%Gc9fN5tSTEV60,G!l1l'juGgEEo5W=D6Sj)--+?!YQu&A._kp-30Ror&Zb5Mo1; +6)HfERt,iWCTr;Q[e2V.)e^LN1u%ELf:96+H)?IEuou`,>LkHL-YLn^InF@,R>B +cV-5Di`XVU@*UUua[DH/124oVd@@`\*=]R.[<%M.5 +8nWt@Yb\HRb?nFSc/7$lT9W-I.qR/idnjSu*ANHI%Ulf*SGLjJZr/Vi5>9]E6W;gK +5QZV8j=mZ"a5@]_k6n5 +hj+[7VhkAa/:4h'qYQT$8#(Gbab$-Znc$>`s+\hlgPY?9LPf`*[Ee2U^-gk*1s#4G +Zj6g75AVa?SXTRg:\teds3Ed4O=C+3U@eDir(h+6^TFR7\SLp7U]S\X)4V9$:t%*j +.^iD-EnV]+F?nhd]tc`.C4C-3I7;]dL2-AFJE)PGfl&7f^E'Ud%b7TkP3S,`)3VIH +k;VeeFme5\ke`k%3UD)HqejWO(NUV8g]fIaIa"W1F6c>CcX@^sK/lBNLt>0Y6qu$]#8e&p/]->;N0aZXD4cB[OmX +X(Rf#:E,Qt%<"p*r3'( +N1u?=T^gi'oZ?G1,]A$m[QMPP7p#pPE?<'aO`2HD$!:duXFUpVRl3qYf>5V:DL(Uo +D2lhpcntj9ds7?uH,o(IDOg`8KbRq9Uj>;@E_rr[e?F[@>hsWqN2:nP,iRXC'6=d +n^@GEr;WWC(^GL%J:o&hoSitV\nWJ"Ba)"]qR^G93>6e2e9r=er1#Tk*7V[g<<,4+ +8j;qU55'"\p9K5Z@c:&p0eVJ-Y!Uh0I$]8k.mgcc@lXso^ +9@V*YdEP;7a[t'pSmpNHQ:+M_TR*t?=L?GVg?7h7B-"SH4GO^S->'oI.mE#_cS=5Q +EsX`GiueB'/n8*,'DTi@Si_5TSUBK^EU5tOp)kIQ:EBa7!DYsnmtB,-"juam1%%QW +_g3\hE>jCcq&`#2h>gUXjKXfTM=W_GpmA^S9>H1E%H)`g6QuLiM-IjCF5B=U3<.ln +S;3=0,QK`I(B?MH@9BX^]L^kq +SY[Dr/\n"S5ra5&ETGQsW9%Y(91T-^Afh12:OUWth\4>X;g.?U4V-6KYM"]fF+D;; +F&+p]*k9MNGFlH[5B1-iEa[8)U!^A9W8H0@>$%c[,h)nYmq]?3s.`Sloh`DK8%359 +]jO.f_MZ@p3CTU6Cmnn[]\K>@\I7_Df@K%V(F8R[ealQgMUs]U8KuPlK&IAp;'[]O +K_^XL]Sk#bBmY;:0a/-&!s/lS-k!VGE[L'Ac(f+j6&41>?.1h"soiO +.s=?jiNei[OQ'hQX>`Rg/6cf%OQV&trtj->?VH?+72,T=629VSa`$;eIp#YIAQf#E +3J"*afI(1]Wth>3[Y-i3_nK<@qp.FK?ha4WR1oIH?0Ts(mD!S_DEbb5=H4GgZP,/6uMK,t#Yu;iTZXOMGr\+st(mR%' +N7[5%Ltl=S**u!K#oMdn"VcYAA]:`6sE];rdX("hh=CO!lA>qgNCmnn@3g@r"C)9dlWp+]O9Lj1qNfW;u +CG&^:?:>1]\`/3e_)=E3_"mb20W^?P!&hM<[XG,:YHQe2-jpo(_\Y)#tLs22*g&VcbDgRF[\<)7@+kfH+eEj`-Rm*V6ZiW#]aTFcm^+V6^ +#71C'Xu,jK#4VZ*I4'KOZ0]tuhZ_4@f?Ti71"[PpkRu[b$f)`RG9ZU%7\_40_#-0* +p8q8Rh'B=m@0ll*X+lTa##%[9bR;!60(kT=)7D(;L$ZUR@`Yosd(Ei/WJ^'"=;@Hn +D!)^LA"DOg&a+!&-N9'KdJIk]:\HUFr_N(88bFufEs2-t'F73HO@^Lr!hgsN"98L. +$%C07^.t[nq`t,\+FfpT4meKiD%m!l[L/ULBQ^eHpU6:[ZBasfQO\,##^$lBp>F7& +jM)>P?]iReT#3@)Ocrh%/`4A;C9Wmklqok-4+3V@%eKU8K)`/K^/n6\T2PGJ*om-* +M"a=Kn)H=_P6SalC-cHg&?.q%n%;Um[`$])ST@A;=`MSe$#5k7ROPN,8^V9hW2@S5 +V8]06+?`I'P(Kc'oupskX>lFAFH-2tq8-goNi;<4LlMYBG+)FqKM`oC\9uGpSnZX[ +,!PHV39NFko,@h[B4(Ur6+XPb1:#st[-TofmQ13us3lt7krQQGK!=9-hK,7?o9nISo#.;#>c<&nAF;bEihMm[HP&r!eDnH6`CI1+D!Qfj]SQX> +V[9DK@kV.\K^))A?4SoBRL%?W]GlDY$RFY5_Womt)mDMc?[2o!aF4^b**5)o'(8bJ +&@V'RN.nl/5Ob)Oj%?jnNs:%RQk/O#G&6HNChYcql*_VsG8tA(3FB+(:SVVk\Rnj8 +E`K@aYUj.uOssY#]uH3e=HG1<<%J1C?]`%8,^4Z&Y)"B2b*4F/d4744/nN2d;#/Qe +H.-JZ.:f$3@87?-J6+t=>75&lLfl'GW/'4S28t>f#+na%+Q399&qe![B86>&/EMAaao8Om +IWf)Yk7+9."$GJF1k4/>rcV#sP<&!e\)bgUlC:!ord8&EK.3s)$\ElbeNJ9AnE[OA +X[_ZZ!Pr[kdN=UU:PT)1#N6NY387:p4#6S_.eNmrn,ltjF0apu6V;9>M*CCdHea:& +fJ!/BT@@)iUA(.1Dc^nm>qc5`c=,9iZ^t6@<76OI'#7J*h]UuuW*NVh]=+MWI?ebo +=ZrCRRQ2mb6P3+b'MkX4D4ejoj!T,9C&H(Og^*rfB+,(SLF``;J"/`4Lb!_'1RuN$ +1!YP8`ULEGj2.c@TbOe'#.asLaTVU@$>7e`c7R+DA4iJdQS2gh'[gP"R7\b5WYP-j +Pm\M<9=g*57]i`2D6STp!+<-Ng4moZfJN&!0kt#OCg8i7>rHS,0Pk'*4%1\;[kJ71 +([*V6m0o=^\l7@bA*]Xp#La:8@4jT_UA889aE6Fg +CCH28oc-3gSq&e;a-Cc$T7.Esh"@1FHgOSrZ2;fhItnSQhh?1=JIL1nY<-^;e'P+3 +hn![nQG^M@oC0Kk(`HiF5)bA`SGF%lqNb@k!Q_q0G@JUJ%%D+KM06#,-.ehj&)r=& +$!*.?'c18:_%ilaA]K?*gE*#S)=nWPs$Jq5`H]5%IDm'\!j[>_89ekIP0.# +bHCH_#rTm4L"/"=bUbuq![iI>7hq\FJ@C.\cMS`l9#1@Bed?67iGc2fFgmM#!;YH>$ZX^BAD(r.!.0fX25cQoVpR)/&hlP%oD#a-C#+&NeWC+M +YjXX_.^8;/h=[2io:sniF>tTpd"`O#4Pe7 +U63.DK:%?_EJoXg'3drn3#bVOn2B.d.h"ae!MF$cf8&4,d+nGYk]hr"j$^P +!!;jFS[\J&JLJP%,mo^+W1$q3Rn(cB*hGC@\QE+,L.[^sb +%dTQ]`Kj]P\h^3LfnRY/j2($* +Z0bf,\!rY4?F'KGgLIQ^B.QbmYE&A=V"nbf^f35#;iX"Wj7mjmr7-JMQ]pDnbXoMg +kPk@1in:U,P90'hRc)jN7/1E(oR:%FrbYm"qdoS1[g4XbKKkjbs.:P/Z\J`t%upR$ +:\+aPqkmHEZb*)!/kE`j'7R]WmrPeMha[E+*0f53_-U!h?VN%hQ=39@4GW#BX?;H0 +Kfs.5IB-B-E?jqs&s^)*b+EiZIbWlV1u3Y5?q$@RAL]#Z.q`_!'l9q;C_L^QlJC1D +00V'B\SY?SV-CC%?*^>1`)OCjOO'gjhB\@H-'gG>OYJAP4tW9[/W^,$N+a-2'Z%^b +mV!RbgbH]Od6ugo]LS>5Q3@G!Kki4c[QBRC.7<2$Z3JaW +=k%-c$"3!@4!:DD*E0R^;7@%Pr`)>4Jd105:!6:Z;@H(rbID9*]PYcl'u(u\2e`mnQ]O_NXYim`el52A]\jZTBS +lG33c!E32DkV*6d)a\baTc_G:G?i,th'fms$[@jG]HF1$D**dYq/8>)mR-&RgUlTu +`nB:H6u-V.+NQWphUgS?&0HK,*!At'pesEZrd.HaIP18Is6$IFk&%^1q!`TQZ"P@# +1!)W/_N27iS\#^Km1cT*Wcd?dIFF-t44Cd!C"kdbdkYT;%fAP%R'*X"Jt0-QOGnA$_N,Q""R-K(GcR]@W!)m_g1@+?\n?J!/Ht +7dP:UG&ROf0B$$C`_3id3,hX".9!<1;)Bq4*QUH&8f?8&BKn[I2(i,[+]9mU6MZ+& +5[&bcH6OLc;'nLs[5cUF,p[9Q]prV=4(D:6Zu&;4+$Ct&go9W-A"+OW]0=0nTS\<: +EV-lZG5Ks7*J8LPAJ@$65JS>]J),Y]r4hPU!KfV95@DZo%+ui+4!'W':\]'aoT8d$ +s,R6Ga=/s-"qlFg3BW'Kg^.WLNaSDG0&e8SGhLE4%6c!X5Iu=Y^[s&p=Yr6:fg,P\ +;2][g0]'9s)`?R%J-Z"6,N,s/?H2Dgf`rV^*kdcBK3Nj-mB_eCOl=VjWLL,I'n6UY +T:K5gK35dM](HhT'%VU#@=9YLja#)@Zfn6`;2\3o=f4HjgTK`I(hirjMKm=1FQuBt +gioDREi)$@U7Bqth6@g0C#$%sd0-hkVH=;[<2nVLDqnBo#OE'AG6i>\Wn!145l;-p +;7sWG;N0Df1s1$LY&CGPGb59W++0'@du6`#ue^g!3/isM(aQ6S4+(6 +lk>2skL!#Ce3bo]DbSNCMp$gVCgg*tO4s1gk\'ieKB0'm<]S,IVf]n>o(M:(9E>>*e6iF":&d +AP(gl))5YJ$]9TB6TSsJ.Wnbj_M2OYQJ2"KSSNS,7=.K_%S^\5bhMR?FJ%9/*h"r+ +>1@JZPV;?.?dQC.<'/E&3_,O_SX%W3I)aPB +%^0l6!+aaA5C)Tg7I[/Sm;L_QDqO`"3Y%nKAkmuos%E(!Mfq7a:'4]Q_lNKZ5jW8= +_s=HM)fESG0+n6tJN^aS^_W(5U_0Pmggq$0#>blB?AO$JKSi3X:&!eBYe<__U4F]2>cGYeb3^pm)@dB\5F]"-_.]&06Vf=YY8Z@'N_O_@fTi`=gq +;3pY7#iqWEC6d^d(@Qhn^(B\DUI5+>!;WOsqnGr6W97se#Gh0`V#-Y@r1>&&Rf>02 +9sVW0Zbt%.,0]YQ/C2:;HJ0h-!7$?r+/aP>r'gLg:?F;AVG[Ca1MPK'RE=G-&-G69XJQtG=U+i28=O->6Cb-Bl\W!eN\9?$!_^b"b"*V9_K09!R"*Rq% +*E?K/V&X:&Y_=T4;\s^Lc3ndWLt/:mQ,JPm`i,_&.OR_7-Ujs6q8\/f7Ye"^L9#k4 +r%A@INCOVC+"L9Q@+,^W2&]FQl-dk!ltT7#Q[G3hA3 +b6sViGk218!gNFG>o&"R5"(63:6N\>)de:APO9Jl3 +SR#4:^c0?S+-g!WhcMqW>Aqa@mR8_bO';^L^E9q:6@H;=)f1'&T-XRqj6Ok:Ut=)0 +OF)'('&GD;#Y>+pp\NWY47?eL^.@/$2$2ragaN;2"S0T)*k-72V[;DPU?V0hlgOn% +qZf+d+6=MkOL5VQJ^4pW.t/5#s&m:g_dMV4+50G5b)n4Mct3-HldTd`nXDFH-[+PE +lmEk,;bh2LDjh+WR1(,T%rCQSXJn.]W7J/Qf5D6>[pC0R[iB.l*U0pu0#51,Y2<3X +`VG!PY%1h;FA'#h;l+S)rn=Bhoju+#9+"`;d[-gWZ6pr]-7*0"V;irB&nf/3VaXN- +b!ff7,gS4+0%1O*8E*4+_If,gm;i>TZ+LG#gqrJa]\XKK?;e.8Q+PE\)tM&;B/reW)nj/V0)2@T$'nLn1b^1U(4k[nq#d&DJj/"VqXS<^W?,?;O@]`bT' +!<1Enhj`u/"i[P6nlP!bYKTOESman93moc\2l'_AQl@#8LS(_1o-0q6XbQN(u7!"_6)fB%+"qd/rB) +#Eh$EV!=1=l'9S_2DEAoB8gW(%;R?`WlF]]WCF9oAdr:gl7mo@P#:>NE>@0&P%%H$ +R'81hRMPV\>\I0]Wf^)k+VA'4&mZn*H!N8<81^W+,-F6j\R$S_:$[21iRMB.OpS1h +.D*0*qg,8:/]G;UC0aVVCmk%]?Lm>fnJb^@+RTAq:s2*(3r+?RDVokYcY[dUPmH#` +);0-NJLgd1pi[P.E?!a*+Mh[GIULWB@,7\uafK!gV@2HmfqE?%Fa2(C2%-(#"4s4U +%nI$snb[!A)=7T)-#o2u:B?=QAA2H44KagcW,;F%Dl3-6>r9r2qj3TOH +fL^(!U=qM"RQ&Z3gLk>,VX.M6XII9hXeSo+_#JiFA]&+[_o>\$es2GmXW;lB&tLTf +>V&c8XHMA`:q)dh)8uH0*_*sCa9'H338)J#`S35ga!B3e'EDQ+cp!rp;=G+?T,D+0 +'l'$TB)[PYo:mmfq(KZh?V7PF[o3::fugq\.(EC&4'Tf-S1J4lc!SB)>h[J&&r4/g +PeF''SV`T%M%%2V=N80Jdb.%*_c/JF7QA4Q38^)&=pRo0$s-L;#;M!dHBDj6!*^o3 +fXSc&;2ufa@V`s8=s<',!>jcY-RG*p3/=[f;n*uF]JNLN9!i,DUfpZ`E^H-c>aS\g +R!NkQ>#Ycj!5O(W5Y<$UJ&(k66>^NE3O*`b#*"Vsoc!pJ#>?+*bT02,*(M`$7Ec_V +;%Ge/O'F+=Ng(PSik!CMZ:3*FFl.qkn@JQ0X?3S\6a%pEq`t;Wh'`8Fo'\VZi!tSh +jehLj8H8j:!C[`g_9=k!IhFfgG41sAm6K@,`/M=%$hqLS:Eq!F?[`]ucM$rtAo=P' +.t7.4C_4(NUO*9i+"+6U8pWYrrGhD^o5rKkq`J`Ym>O3DHW^UBB-.2%"+\CBbQ/h% +p`]\'fKOR$QNg\_n/rf+q`uSuR6)MO+2'd\'>>LDJdgXIeC+RZp@9/&a+R;AYR=kN"6OjU.Dr"Udp=QIO6e1id;&.4!$V/lCqL?K4p,ZV2Mo +DbSfAM_@G(VN`4RAKs8$O%gp/4%5mQDeQO=A!).@K9O5_50))sm(59q+'2.-&'I0T +:jG>^pghD8h/UP8\F^e' +F<0"UmTR'$"8s.f0C.5peB8u%LQHrh'N=_RS:&.8E4`te!(60(?+pm,>u8-6dJg4F +l*OnS0L&#"113`5.S]0][,Q4s;A!3B'F:>)<^qj?e#ZZuY%$Wp_hYE52(n+EcKhb$ +6?R$TFfL#jWTn&Y)W_\+Z7523s$P@a5dckgq;0_RM)IBW,]]'$":,<&&35Q:P=[Ym +R2cXT-5]G%3TloRcJVZ%?(Gc.]4\^P];L#<9meb#hS-QR:VZ@&lbC`VaMOcRL>RLL +IEpMmgo,>E(fUq5+#Sb&^URJuCWrSjd]sL;It3#%Y,E:@fP=UCB3a;1:sroOfPO^n +l7jk3YUgm5WaJ!X=q.cF*471ZScNPQW5c96SH<05Mlh8RBe.u#, +/SO7dTmMjR$iJnU_qM`GkhC1Bh57PtgU?M'Zu)"1(C7W!7no&M:r"s +51[[Y]6=5c)#opFro^JH'EJ0"6&2"b/Ygd_QS-MXr17nH]GMeqsC)OogK^+lnka +S('.HN,[OQ8.*NE/akc_'`Wsd"9i0sE1UO8!5a8)@kRX](,BDV)5Q2,A[940gP_,S"]FK3^+ +dt]0)_S%ZjX\hE-&Y^$!Ns^JM1]6?uHk_,/!FBO?*pS9(Su7m`]*??s6c75K*F99K +aAjAMj7EZdZ$P,2Q$eJ_V=HDZ]FM.(b[GSihcchI&8,Kr-PoQlmo-jka +g5?:'nG,f60&"**mbjQ^qqoC8rZlq'HNbAE!lB[S^5lMhRlp;#4CALu/cZL_cf=_K +)S6Asro[d`Tr?b/I#2q=AX;$h?;.b5!!Vq)b%aCDtM8'[]Y$=k1Foh2jd/aH9cpQ:8s/Pn%1_>9J`sLNY)LgGEJ))Ajh2)!9=8;6^ +,lV@HjZaN?hcEC?f-%il&c-XRbg5#iIaN`E@9hf!(R9L&2YtH3Kg/7(rGGm! +3+mD5,CNTAIe#g93N:.\5#1KD3UU +(XM=]c=ito@0$0Ii;\I2rjZRsM!";+Xh7Nur,LQ0EEr#:s)o6h^k0PkH1P)n-C*%, +Q#d]oB.[FbRmG8*"p+ac;;n0V_1:M9IY6DVK7#A);:Dg:_kK?4_ENV3*eU1.K9@DL +Q\/n8k\C*kc_M73?rdd'+MPACZEVqC^X'QshkFf"ZFJelGQ;)+6n[pO'Xa@jf&9M" +lT1d4S5OZWBjD\O +&/2LSfJG7ChLZ-:3OGRUaS7h#kV`IVm"7/QJqld0.qAluF#eP.(r7bQZiLM`9#II\ +)pj7T*KV?GnNZMmK`5S:>!$3bHIDN[34WeR\n]=OKhmd`j8a__T6L$H%>*O#9E+ +U]Bu75]UnL/Va5r#ht;/]?DZqUPR'(fQ0gS3U+0Z1OLPK*+7?%7o?W[@;5^Pflbh`IT +5o,!jk7R#eK(H1nCL?9OYAY'bY^9^G-.]O7SaZpL5g7f7kfjY9_=#t:QeTku/5lOI +phA^gp]=L]8,477oonTV=98<.!UpD.0$k93F4dQ3=M^T3I*cd2msGr/H-a7sS-.TZ +ceNQ=cC#otpAOkHh)kD?4^uHo9b5hQ#BX]B!'2D"mLhRi/6agq>.*bW>JLLS9cH>f +AoD,6266u\Ds=u>e#ZYO/R)7."q+O6.Tf\"Jm;\`.;r?4G=q#NPYCYFIdVbeb+W[f +V'GH!'Vf*Gf6b):&A;rr]KtV\j*?P0rY&JL_igTk#Vd2o$UQ+a!YS`@i4egaE]QMEXTu.t,B[!> +IbB7A7d8rcue*4n[ch-KOX9jSsW3pVW$EpEMG#f-A&rQ2T1!k#[ND +hbQH8QOVUi:(;Z^A)'#a?W8KPAY/lqVrkH/g-9:M5:B"8C(^6%II7%q2?2!NqG4^S +r\D[nY2*VD"ITX!X/61EQ(.esNq0ZCidX%_q,J_Lg^0=)4K&h?/4*;SKZkA=8Speq +*]i6[b*mPA)ttcR>ND5Ae$;!/iYfEr'^9?m,:^7A +auR@3B`()sPrGmJ[%LJ->1>30_NcbmPX@>0RQ#s\^NL9*art6f]'$G*Un7 +`QdPU[CF_,NO\0BI]3rt8]"4uK\3P]XJ_+aZW.&6[)8pq&fYYmH<=_\:0%7Ob!A'" +[:Xqe2,:*;-GQ"UWLYEe/X%-)mG%=T)n,-lpnh%hgTGtnOi-*3D;^6($iE43JKo7X +0R?M8LL=C72_A4J?*eJ(TQR?/X\E"R$c%Z".k(="p]j4!<`j%]l89(*;eX"@H(NSD +6[am_J'@=:s3V(,[j1O"&UX.&^bhm"edh()3^J3N8uWb<]c#n\e/2cIBkB25H\pq\ +9"aX,IMF&))^/5u+^>ucYVoIj-:IKKTQjIeGc@l[!Dbh9-h5DR1<)[FbZ3?B8]fFa +fumOKdo?j]n&eXSEDgl>Wd;1SH+U-Kgf8bcd_X27Mp&X/gZ\=2@.^i(RGZ5^pX#T=HA!,eIt0bNrZN;!omFUo +`<-#pf-q!r!VlOeUS),KaWJR5b[0lV+k4O>q`oL15@:bVIIVp8NW$\&i:"LP!ko'& +s)#OaBB_:07_R8:VQ1+)&q[!*uSX2Ohf=^q*7ll&7IM0*^o;K?pKPl5Z +]RC*Xcu%p(1Nl%NhmMe'ZgHTmGA[sqiVCj7mu/uKaW*OCO.K1'N[P!VjIRqia.?#o +0m2]E2Mh#3"ckXMmQ.di3AbLQ*LJbQ(r"\OX'*oO=oe,oQh*.i?Z)g/YH!h;"Y;.a +/]g._;(\5u#u]:^EV1B$Z(I*S:rG,`,k]?iQZ[j<52gOZ\&@;adZDqP7ER/)am +LK$G[5"!hp&;:Z`g)G>$+Y:PD6lWsbpu,;\N5+V_qSP)eWue&71D\[H=OKU_fs/]FO0cdg)'g8]det4/h@E?\DftYb!rV)WB +J$*SeWXJWO=Q482`I?\9pqpm(?[&RKH!][K%nuu0Lmq.nmo'";)9TF:lG"B@qW4CF +4%L[/*e&@7YahlGi?Qn6/Fn#@Ndi+Wh+U5fil"k2+3c)VT=X+`1oL9MM!8iI>uuD% +=V%?e*pSsrilVl3RKr!J%nLgKYt<^riX;le1b$a1 +&]Z:3AuHh(;OmP^aeRK6VM:>l7![Y6/0At]h92b^Z7(6V@[QXoJl"=7?+XRpZt\.# +7HrU7l.iT3!c;&KK+9^&R;efsdkR[c>A^p6E&$thdBm-OK;6*QC)_Iu7d5RG$(tC +-n[^'Kc'2h*U?"OochHOOCEU>A,V4'!@2'%Ej/haW-q8tWmh;hH5&5"L6`lj&'B^) +Aj*E>PT<99M77,Z'^4-==T"4_!6%j]c2q:d7/juOJ3O24GXG%1,7n6i)R+.9PK%.7 +055%fLgVc/Yn2%%M0i1?_q:#[S>?j',r7\PEkKB^!VQF9Kmk474OHK6MT=JaSQ(.85^k(N'h=9>Q_WR"UuLgDioQoqj/1o' +WT90^$e(rh&1o5K<)j0si#hOc&@1j] +FS4sU%=#DVSc($Om:R"mhhH!!+RHl:SG=#+EoT.jQFBX3fV-/XqnNMRjHMZF`Yq!Q +O2:i0G\,@$H]-[mDqfJ,)8L?)5BtHj]5a@Tj3Csd7uqM6pT6LfLn+d:/P#TE,HKC$ +e$kg$Fdr4bCHAYbeLT3.X4G[Xi/0D"1>kAB!jHR@_"qeG[<+trH/0nHQ4n?('QcV7 +h.QMT3X;1d\K3_/Y'jGS?I%0jrn":bRl3IR<_rSa4c1Q0dKFZa,2,g=oH4NL$OY=8 +&;CHGT1/V:Wo*:-BYTt4Htk??8J59WJfLRZ/]@ujKd-EIP2?f1s*;H?GN5]9YE4[2 +L];//p:CplV[g\J@c5"'UDMAe#Y:XaXJ'pR;qh^N;QN96D\I;gIoSZ:'dN+bVL;oNsd9GV*mHg9+1kqRMO21!.ZI2>$E/p-A:BFNA%OGS14j4@VTB?iZ\m&i^%k976]a/3S$ +WcjMSV/$9:4pd7BO[#M%e"`#PVj,`0P231)e#2`K?TWa6[h&\X#OIN:QXJi]VG&M\ +NQMKGK`M-Me$9:+'6=3Ud5tB;`lC9Z8@T@WY.[p_>Xl`&XK]7;M +E[KNeJ7T_cBFYAjZ3YY4O*7dUi_G=$+NAbkj1T:CI-_LElk9FKM8>FP&A+_l];OU% +@")9)/L-^U&P^H-EQEMoc\ccDA]N9+'53bR&uiDJT*>/md/rBXjM)+8!OcUG2Pr6: +Jq&BGN"o+1gd'-n#;NuPOe+C)=6d-a,`VFBb]%#Z,>kIp"IJc5LFNtYPRV1S`,R(9 +>ou6$I$EV>Ole*TlM`3N9etBj.a_BKhF/pJ=Xqp(1;HK4MkfLY<-DlP3AM9h=\9ep +;jkU$@aZ"M_25;\lD3L\)r[=l)B$%XT;aI)Y,n$4acBN'--Rh7:Sp3@E,*q"EZ+ +NUi%;MVNS.)h189,p[)R+MKhshA"#"G+[Yeq#@.P^6PAC_\+$b6q1FDIV31Sp@1H2 +j)5meIQ+(srM8CZQLJ7(.XXIapV4-grj6/1+5<=#)('`G1&B7)pg$,Pq[(NjQcR5D +LYm5=r;2T]s1YN/]7/cm+/IX5R86>el-f@e'&hRGXb0[VmlP)F[&Er)"8@R*PMZli +c9;h8ejPEnT#+$fYLKcPaOaEI]BR1^f1:1ZAUY2nHPC"4)F,1Z>F,WZ\&pb@b':Q2 +@9!\u?R"W4Lf$$=nlCRr-:7/6j7GNU*0P=\IN1_P_:h-gr7W5K(co +MI$-@HJqftr5[a+GCEK"StfrRTd+a<+fkL%dBuJ[hk@Dng,*[YlW5WQ(/1d+%4Xhi +9*[<^qpb2J<,t$bZb'2B5i(]c]pblK%-\Km;?.Uh-lb0q0gg1CJZfnK/)f*-np1^c +#L)dcN3bSTZFUIN]1nplR,rH/kHs3R3fJ.7NH0?h$O-p6_q*oo`:@>'fq;>:RrJJ- +=YH[J4gda:):Y=Ig7jqaXIiLpRS^'Xm&b_?""pG'32=kHj/m<9]jYZ.;-Fd@@$(5Z +PFVZm4Jg%Q\V?39WuD'.k6Y;g#SOfl&;):m;6iqgW]kQYbQ_No1ZOfL%9>AK-tLcNnJH%WsiajeO5l#=NKC[nfQ=MOVD'Y*"O9Y]Ri=nuYjc+@n%CDu)[&&6$@maNn +@m(,+I0l'n,i)(ICSTg!YO"VT%UqU3j[_j\;:Is&&AscnG*7](PRZ`qL2^]%3RZc# +.H,@A[*IWX(4(tq%]C\n)R!1aTA\:clcI1X!5%-sh<%1m],pr7[Kg2$E% +I2_u#5'%XuB+;XPo"!NINVQEUNAdoh9##?8[DVSkhGV?c)=Lr^J +"8HBd^]=8peDW4\TaUbV9?7:X]gqjX,Kod*l`NUr!XKhDq"?lBQtit +*PL0DmA_1t=*m!3\$[]peB3@BC[*4h.aOI3db".i%P6(Q/X+c1UR*Qa2f*m!q*fZG +&pE^*J'8DW[L:t:7iYIfH&oiQ1cBPlGf>qo:RR5Ha;/2(O(1 +Nk94/IG^dgh4WWNq\4K@Wq$%d`I'eRQO>6mqLn(HG?\jgP(hdBj0V6(?8b^U92'XoKtaVW)Bin/ +O:^YX+k2G.WY)qU#Gt3+m5cQ'"4I1^;LpDDD@Jr))T93&+he\aZjAP#`#.;CN'VHU +5#JL,)8@o&i*"mg?(9V:C>f@WGKDUMffXTcQSGY62Q;s)V4G53:qgl(E+[^J8ngG4 +kd]Pm?+BUap^Z0b:Y^Ut!<;M_B($pVm_WVoLX1A`\bpU"b1Dd!pVDbHI^>A);\pM8 +a3I&m:4q`TK,<=Z;g.UaU\C##Hd:n@A+gqqGAND1f'r@]AhPNj?]5nfp?L_JX(>^S +<_3O=B]esFo)"E(5`c'>)PQFP"odZds#Y1f5lNs*Jptn[DR6t[mGpc'@G[l$dB7bcNadL][UY

M=;7eYMf#CQ=83=^V#?.#Oo)#mCEVL\\KhgS\T2U;6grE+i1;nk>o +L\#*('&'K9Gi_G&=?Q2H"'tLk5[XVk$h-*&Yqu=1D(d_WptQ[!rAnHqoVK%gFnj+- +oYuY6>PGBA\'\tm&^/dg/"jMQFa+qes)lBi0H]=>#Wp]14q&J#FW5j;*5hKCd?CN3 +';mJCfQujh#d-HJRQHi5og;^onmnRP#]Jq'fgC8f:#nBL.:-fG4'oQjtT&:T+JbH)SCq< +39A*6q]q`:@h'LlfC;Y&9k&8PcSfHFa4)Ia<\Y!I!A.3>9Ml0N7*6D[0R+_;N]]'. +P;GdkVn1lY'_NdTnS0q4,"8;0'cD1ZRL)=+$H2[Z,f_.*?EoUFe;(f0)9CGq)VmXTAqnt_,MVl*J>^[suQA^.BXn.;S^#+khHu)dYVF0VJS<3aA +aS[-G%"C!F\!be.54&r18Va&PPb$/p2sV$uQmDeg$D?`3'-71^d18 +7Ap=JY!!uaIW>,=7ijgS4ba](VDVj!E(N^BBj67B/Rmro^3C5s122n9C7$qk=h8NT +]k^Ys6u4ikD*4IJ*\uKqh>5I2LH^C;h1s9\"](`cO'h[A?O'?^LX(;R>Ik8tJ7K8* +FV;95m12Z?ETo?(iBD;D2?GLMkqmeT4F6obeHfkrit6b%agMDcBAFdR\9,9PN!MI]N"?8LpXn+M67, +!9/A3q"lV#qCE!ZnAW*'q*=pKSWnHFVj3\W0=;F"krc)eV:HSseEEf0kp1dcBZ*qb +``-]lQE#\)WJ+F6ibFGc.s7S%oTC^^ilb;18sQ0pe=nJ#A#g$tX%_P(b[O4=,G2!H +qMX&%Lm!!lA.N+#Q`.=$TH-gi'(h9O+QZLu)q@R%l6>AuR:_!TJN^h^)o]RZYX[f$ +c&h8B(i;@ac>E&78ipCNW+b!hJcP^=RmT5tK7Nt`Nl-5\k_37A[))1bG3[uD%W",t +Tju7_m0aEffJ;Cb-5U"Q?JuD>T!E'u-8eS'UXoW\BQZ-'qFQJ=&c4M>oXYW0>n=?; +`@AW`p7fa4YeVtQ_:ascR;;CFa>P?_/iAlV(2fHSBogefZ=<'$EK'7/Ap,@C-]+6! +iVbQEhD=;,liZif9k4.0$Id[^l)[5$"W3U1n@Q7\3SGs7$h,`5#.";uV(>XK!rbOo +!;n2_b4,3[B;-b`Ua'BB-1rM_AIUJ-5fVM5ju?LZA+X(-K:qREUX$9rFJUIsdhTN` +MV]lf0;cAu6c"\Sj?Zl@@&g^l("'7X0$C'5e*Rkjm*o^WC,A"tR[kXahi=dG@k@qk +,Kir$jV[^L&TV+\C&r4t$6H>WhB'hr?:o[\ZD##':V8QC"$*,PMtV53cEe9>doS/# +=3fimcQ^c>b7KQ'\kGH+&(0j&o,'ORSND_:G6\$g\W)*,d_"s/$5S.dD#CrBqd\:a +]=N@K4,Yuc8,Kabi=FTB7/g<'IB\5@s2?Y.#!QKK!,k@([di,LA+75>?,i?2o@^jr +YQ&Ot7BHUaJcDC4Lm=G8FO\oTRg@n:1Pgk3&)eIp!<-)i#l(?"5',?["E^T%b;_DO +'&rq,c^?;EBn64F^SU[4:VI2Q?8L3GH$DQ^6OcKbG46qo"8Iq;#&p-DjA);Qa"H%T +&G]Zga04]:+:.sBD$Q*CI4$;I$g9%5lNH*j:?X__FWZfoN_/&7!Eatfi;]D->Cca1 +ET.2c41'FACDVEZS9F"Y +Elpr+[=5\una)(!F7,-Y0C?.>6._k=K^9*\"H(4eg>,@FgLNbUR1J(,]+OV3\gq?_`rLC^=mui,]DDm]; +XCNLGM2JL9&rEX0Esq'5=SD4(Cknb'4XC\AEJ4!]Lb4->dm`7;,Hk(b]@?BL6I$7* +I3p4%-Qfrr4EBa(E#B>qQkYURH5o-m'/^sIfI,Y..cf$63&Vo/#)(cdcoW>Tqnu`c +6sP%,?$jLPqB,5S'Z6hJ@n)`XkAf`*etq[j06UH9Fr_N6D9CJ;9%J)VGE#rM>.rV, +^Y(!L4f5V-0fmUNqbaA?Ns"7b4@_\=]ZD,-l._j7i;`\YQ&cMmmm@o[KBM\)AoDpX +n@!,9nb9]\:VO1(]k>+ac8gLnN^N!tA"YWed1c-rm3&Kl2=,:.2]/*d2"X>_Z@117 +V/_OnAr9DJJUc?c<7HoNDqE6KdR^KAIJ-.ll!*hF-Cp)R>ZRnSAs`%/n,cG$78]+[ +5($LOS-EF"9C6t35!4@%kp=$oJ,3&%Y#=Ehi4W#9k(Qi8R7;G#H<@Fe8?#d7Z#TsQ +i"%;8$8#-^.FF/(e.!i]M9*^4LIom@7#<$F+U`3CU:2Ng9a$,?498?YM#B,4f0\l_ +f1'b^KM4obRS;1WM8^-O<>.8Da,-(FUoG`hgK!"j9ksP8]mJM-CQmJW@G_R\-FIX4 +Ta/7ZMGDXqbl9iokT1OF?tdT#O?ZZOkg4bM^^V;;$c!#Hce:;Yp9>r2O;`X,T^sS" +rQCH!)4Q?eqjJtbRn6Z@\3n`,IGGaH@>%M6MD&Wf(%o+;e9\"R\ctA,U83H=+kf_Q +E^6lO9?i?lAgbrGPN\WS42Cc)eecgPVQu*-fZ!(p=Fp07)&s2M'VmH\o(,kGp-0>N +@^#,l;$&c2I'EZ.$NU0)/`\)>Fuk'_m+LB2JU!;"C7ScXZ!:+J+@%r1$"%(\iLE]83kC!#gL* +6/^MFTof1T!#N@j2da.?#0^Kh?I7ZDd@9%q=CE<2r;1.u"OP43;?1fu"Sf0.n,+$9 +q&sbdS`e)/3.)g"DC_A=$Qs*P5c9uXj!d:WDNbn);jSQS!<68B-"h=-0t[OS%g`:q +!Zi9crulXS;s;fa+^;b^H_7,bpXq?8r\ta]BaF^q\^#Zr=SU$Kq49Zp:*2X*+2T?+ +o+-PL^d#6p4t$)2;b(b>A!`G=F#&&Km#9R+r85?@+5kuqlG#@+6-"OnWKceM^"?16 +hbYk/QH`["/`)S=\YE'1VjVa;T(12OpLhdJmoaqVG0.3g)>DDoa4,cZI,(knntB(/ +JU,hT+aRI.)kY]\lQ1U*E"HFjJsZog7Y6Gm(d^J!c9il+5cVmr3a5N.7N@8M6CKn9 +*H&rA]#*?H>5cW,mADPGMb9i?NH1XP+0X`fajR,_n:YcE +pqtHud?)JjJQ$S4;fY_[;UIX:+g$@!N=Y5I#e^s][67oA#We!fps,jl:W`o:b(Yet +":n-/:FaE1BVir:ASbOO*&?ihltb0p?E@k-Ds>$l1T#-Q; +B6:M\F3*Q*@J=-?No#+YhZkdh"ea'Eh$2.+s5/OSh$-Wh&".b\N4sQ"2[up@HAC\9 +S^5M3Ds#>hp==`]MDotK0a9]5RQ0o/3,p$'EZO$"%Ue"5lp4.B0\X"h?0cV%Kr-lb +q?b%)!L&ZVrTA%/3=T`Fe]N`A>1KPD)UFjpdsI%GpR;n>=VZ$^k-pc?[[?6d=lqT2 +kIrgqC,!qL0[6OT8[$,sX#l+(;gk+PoTg+!aO?Pb@,OqW;Pt +QKprP0m_Q-cQ+,B%M;;[82"S32=mWT-/4/s$9H]37s/:s6m2^6DB*Uc5^`?f@WPq^ +]Dq)65hBF`!QY=#\c!B=;=a<_`aK%F?"^le3"Bf0]B;1K;bdd#Nm0BH%_gY0**\/r +Y<,<%]q!4t?sSc6Hh9 +.:BlpQ5mt>>M_\JSm\K^2H@!%.l(q*3VKIX\sa!obDiXc_:EX>X+M"o1=TTs)GU]8 +2I2kJ=(TgFkqkhXn?2okVi`h'aiY<\P+B"D[?V`g>T-#7PU9O)gC\"q2DTB31m992 +@E>)Wi1fT+Wl"@.o(JCD%o<]Ae;s5[cLAg)L-'QK7LTGbTCAtTpHWWuDR"Pt=bCB8 +5j-uWSUW>e@j%:r[Q/b<,:Rliisrp.I!O]]5OIJrrZeTq9UH3Xo1(iNr("dhqT`CB +/R@i]^>&n3"D#N,!e6dCkrXZ;+(0NoY]or(Q +BGHp75%O&]Loh2]lX*(tIhT6].=;eG1`Em@T*VcFla6_=n$DZ6GNBKVjdkSO20\?> +ET4uPnrbkM65r+o+5F?m40\*6[dUu(%:)ke0)0jGmMV44oSHf;k`suN-$eF#fR7Se +\qb&d8&OZB5k)Ob;SK82[]NZ;+d]qjo6a7eF]YF';!lfD5Q1Ei,S,LgCbs0NY6]h>2NUXju +0/98mKe+!&qX]U,Dhb>th*moL,>HJIOjT(ZOd->c..k>HYZ@ZkIYIlD;5s0)"oDAR +lDH9V+/XrI6pDXs'!@lP8*(Zh1dh/P:=?Y=dM#e\/(rrbg0\LI7DX*=Wj0 +_:8j\cfkR+.Y\Ci#0k9./Bc$a4H>emLmWT)1A*&'=t4bt5(6NrF[A!381J@>d_B#9 +X&Zs3)0'C+E#Ou3SlQ/d;"PinnJRVaR8jZf;iHI4@9iNJP[a38>0a^.nN-*g-LTEm +@J.?Sh18/r^1#i[8]/)=qmCS@27_nuVWWWfF[YX[[d-%goNs\?gj"d/YToq3!iGF= +Ao7[Ic@&0c"/g$gVXHi`mmH8UKBKB>BQ-V?CRMV.$["K1I0E"QTp8(MQEAtJ!i!L=eD(1(GcStb?g +&'`o59g&X'>nN:9LZAS0::;@M>U-mf0<*D[A&tr`b3J'siROH@m/m+.$Dha[TlljP +[DV?#434](G$2Ki1]k>kqZ)!Lrq@C&ciUNMjH%2eq=*S>_@".T#6Fj+plic7WNBP2 +C\7%#%Q_mU_n1-GVeat`Do6@$_e!qXgUlh+Zfogllql0SW9X,Wl1D1%MrWs?467bL +jX3(Z$Tile"pFPn)(Z>RF:a3*dS.^-.j+YmQ=`4pMS=X[#QK;Q]?sTm=9-rJd?0Bb +!).2(^ZN;5nc.*g/Ff +$k^2]':>uhcIR.$BY1N,?!/'_r1+\YC^3ZM>oht?"%<7-IOa&n8DVQpd?^_E6Vnn- +aB=s(>F7raR7RuBUi#U!'Ts0TaH;h7Leq?DF:ehuNYA +Yh#I/*4/Gq5'QM;Fl^`mhCjkZYt>N"J;nY@qXfY!1fl2-I`+D +(.8!8'DDOkOP_#7V-C^rp\q3q0aFiD"JBo/^`XV-CP,laYGmI*.j_lF(uT)(G"pp%8Knnn\)[48,]iE`SqF +[nP%':XdAoH-AaRl%g/i&Y^M%F@-5G\&-p+8KK7bn'\ps0?D8rA\6:%iOqaY`Z#t=/']d/GF)K])T0SZl:CF +7M86)8%,$&rd38[pBs$3?8_b<+\jglm,\>M+Z99+[AYOnW:@n/ZVnUYMD6%WnLH@j +(8N-e,pVR6&f-]eB,.abPZ)3p'8ND/HGodZ*r1#:HSl,8RfsZMU?m>#QO-fe#q=`@ +K\r.fi98)J8^Y%naj_X$S2njB2>sNqPIb8q7W]WJIN>4i=6:NiB'iY8S_&OdCN:N, +^mT&c)5[(Zg4/PCJ&^_7G8du1)7XW-](-oUi/Jb(%39a**V2`qrPpRCVJa95DSm9o +6g)bt!VeI;5#X^q&3BF"C\#nd)P)TC4nYXs34bUG4UF1@7+9I4cPaehO17Pjj%\sW +Ja:[s90YIgOk%1_BO7>iTLU*oQ+b0@9q#cj=t'pG:TG2h.ck,Te=JS`B/LXi2OQ\r +-,&NM.ISMt_qIg9WAdMS_khrkR`3$"J,7kEZ._1:cM6WSrO/!-*NQ+O!*X0AS(Ll%V"WOnOcRu!KEYc3tF-1<#)(Vp>"jJTkb +@bH9HQ08F3\1YJX"3/:n()>P([ln+<4#^qS8O<]])HpMVh` +_#fX%`_a4*+1mS"r/\5rh/_iari`(QLjLh,&^41B=/hb[?(9W`2=I-EJDPGKThV`\ +"/#B0cg`U5i>o\l7G#fs:Aq,8j+)W-nPf2AVlka">`)FLMUEL?oc/-@-F5Ca"Y.Z< +`4ul,0?\AccfUO(Z:_IU-/#3srae)pbQ@c)&bt\g^B\&th*K#>VX.cqLnt)&Ook-F +5u=4Wb1iE/rm_c<\lp#q=;XW!j.rer1*F6DS<]\I'i#6W+DYO6@r3hg+Y(n,<7'R\ +!N!I78'TL[*TY&aE.\jTV<5]qF(D4i*)p&NC(.*LSY?J-5L!4D,(G-X[C%IiO&n(q +QSUOc1,4qI23p-ZPI@c]+lHqZ]`+o]NjJ.L:bqt.TS9'6\lRsu4k +^%ASsd'Mi\KC8F(?2iW+"q0Pok5=NFoB/=/&FBSb%p\%bHO@C_L!A8(]GTRfD'biX +JF=J(FqgG2bAZ,(7Hc9"6i5MJ0mZ>4!50h/jYMZeBae7Wo3XQMR(DG)"/95cDsYak +]2%5S:h$1/I(X*q+d!:>JaD;ED##[j/7\X,m*3c=te-\l%tmX>T% +rl!F?iB*Yu\%W4+"JH-Rhs*;[nji^;&3PFL=GQQbhWfHKKaXf8,CV/%;jYTNV_P8/ +dKsP#9E?o#&)+jl[m*2;PbubUt\kY9jd8Q%,1_&G5nI(cI\mFq'oiB%l>28 +XkRBS,Kg",Wppacn["D)f&a2]]jSiRCS\d`)Z +k&1C?HGu@A2hcZ-Y6(RE$b-J0^@\&/n=)Q7)8GY^^YqoDqbBNH!:(ZJJ+UJ6\c;#Q +n*Id7e?8Q,J`k[PES0c-LWsd#p)$5rF?0#G%UeC?D`P2,fY3n(ekY74&"C;sd!jiQ +O\r%S$s__e@VhH[e8*=I2hpS!q##SrQ\3N6m5?98jJ$fi=VnWEg%'D-TqK<7T[#Cm +NEJ`GT=R*n$]#gMW62A6C`XWgY0I=gi2(U36&H +9(sEJ"qK;LLA27RA!bl_!A;/.fln=kEur5ra6l!^`eRS-S-MgJIg%mVIX%(2^V]>? +jn*DohC_amcnT'iSi+O']&O(3J),$j2.1eXG\fB^Hp):d1N[ZnIpgs3D99>f3\e&e +M-$"[/l$I98n43`H^&)e(Zd^>j\bX@m0iLKJG8VN=&CVb)DP$I20*%14Ze/E@t +^-!3DE=+J;3&p^Om,r(V<2o5s1l`qN"g\21lK;FQr`L?I-;i1,8qC_#B4ijkjV0*K +D^ku-?th#`0U*e#a]f_,'+O"d59%e./JY30AZ!/0'+M)8\?WGh*&YC!:jG*:](7M( +b>JQQi:C=;$id1a.MS&//Q%'i<$;g;/M.]29V`+,*uc%Z1,b@R23G8QON(MHO@V/# +G-Ws)1u1Hdc'%1/'g,a_4M;GVGfp"J[BMoUcnNFp#fZF$Mnt4V]o[e.YIQgjR3RcL +A*9OQQ_AQBSo&d,L3N8T07R2UgV2uH0-DqMG]Ad/!c3oT!$6]O!9S_o.J0J4-YVC_ +%'BN>U9k/%6OnA#2??K@a/nm9Muh/-2P'noLu-Ob5Mlb)QNd9WdLYo#=oMjW"n2m* +*[#\%ddS?LfYoMtHjF#m%mn0YZm2sH&pgRAJ#*rfq%UC0.:rt$&Jhj.l0H8T&ATA= +i9T%/:XOOX6T75_D;>H#@lKb5Dh)@!.h-n45`7l$^5I3J"VJ>._XONp$r:JiWY%Q +'p[3!NQNKZRM/r^WBR>'rAU&iDm)hR08pj1FfY6o?\/baoQnHNh_nX;XqUj'[H]E6:#6[)N3aSuRjmG^5RPGl%3PN`Sk^Y1UI893+&OOT +oNhh:\u"0ueDo.;d[0(EQY"XTQ#jB6T5Q,jc:Z(%8gg\iB.PKC/h1JWX(fN:Mf"AlkMDJNp=Q*&;43% +\_#K5fBAXs`2WLL3P[je)O94@"`K!"&VA)R$B+sjrQqYICbcT+iC$>0T68GK54TQF +G8Z)/s28seFQbWAm1eo+]!p?ukkGm=gFB%2agPW8:d&\rfk4:6VOIa(e4p/`.$9M1 +I2#L++'te/=KRqF@%>ndT%cshl*Dr`AQB>j?\/Hg'D&iW7:6/3s&uc$(Bt0`.KPYE +:4<_Q^jf]G$LlqCgtG,S!#>S4G7h7B$qfgfoAGJ@s&E+gL?$&r]7#[d`pYS:[n?*pAbE5epTJiOD$Ne:#ELMC +N%OjdY5"'[q@9TOFg$(72C(Je8d^$0`\#AEU-X7*7sU+rnT/SV5,4ddTfA)>&cRjh +G:ptuQK3)d5M6!OJH^G[IpP/Dq!ZI,ojXl04"1&M$@pqA:+N +PQOX;`KY@_P'?"[H[*^0n.bhH)F4BB_;TDHO`D=*Q@i&fgVH6=*n.b!h&-K0_3EPR +X^L-2J3:E::[:JgpO8 +pd=P3[T7IAjM,@(bADh=?W?O,!9D14pnB]j"6Rr]+CH7>9g70_!Z'bHkL+;J532=c +?q_Xe2W'4kh=-L%?hl?_k<-RZd&,1[&E3(e=,+I^gAab8&Zf=cm!XcK#Pb&U`K=AK +Tkj/Lh?GRL\"EJhgY(4u!H8V>/?E7l(^_PTkY2*H\MMioF"XI#kK,5uoZ65Xho1WW +kU!Og\='Se+!/X?04[g3*q^D!T])2Kc(P[9nKNeLO\N.lXkC*u`Y$ +Rl"K@[9f=[?^`fX(cIoChAkk5Sf-+O)q:MFefJU.TBXjqBY?ke5ca08kN.h'eWk:U +'tO=lVXBmVIn?Wo2_:@oN9V0eFpO<.Aa!uo%b22V*!+NIa2TQcL0bC$S.I+r,3=L! +\dM(7b:4====77pHDi"/48Bl&"Sn,TX09`mkQa3Z[GGJ&"Z^US!B&,Oc*F?aI38?OO%64/_n^U +gsU\cD,@]Y>^p//HskWZh9J20[N5u`N_$8gp>'A?rX6d*41E?+hD=VGZa\f?f3[M8 +)oUbac3"WJ+*.5gS-RG65.ol8G2tf4lAN4Rg.0>)'%?mBlE,^!g9NT^[$WFWQJ#_@ +@5=$%Q""?k/6QMHR6d,bMj]u2WT4adAqirYe^[r2'g49-s)cRT9Z0W;=Z_\Jhs6,riKl(?../Jn\98j +5tBO`(ZDF^TMFjK&/A\Qd0:="e6R,?Tc:$WJk158oZhR"mI@umh0oera3R!CW4_:m +I,-jHP$&^eZ?c9m]::sSjW4>[4e\2HU99G&g]E$1+>8P`oJF5N`gP6nfArHsoOO/q +7&(j3TS]NX>iRN08N9q@#_3;uJ73\gTmqf,i%Hbo&fLp!)OqN^3Lu'!cd<+N15`%d +-T0TJDn9ODnLO&geM%b\AM3=%=;BlulVS\nfNs@NG:=1Dd\rH?_;U'%3k7hShW:Em +^q8A>[*Hi5!saKq#Z;h-Jj(Y-p<15TafuGo<'u-Y?n#0\O^FOTjM_Ih.YkS +DdWYB0=B.L2/)s;"oaJV.6e%RlH"MSJ):W16PYbi^]O96BAO.,5cXlL/0N^SblWS[ +rj2Y:n3?i0%4LMC*T#[.qMYM)lDt)6)/'g&k"(;OTuFXJ8FD"S52AlUoEL.ShEn(M +]EAUM;;K%iBTN9,h+.Yb6C^\8XD9BD8QYEG&/sgN*,P*4DgV?Q;'8)*^ki_:VuPh- +BW+pAeC!Is.uaKb.e)>]caOZ:fo)%V;H#\VZ>?jfX_ZA`HST?4aho%r*'0UJ0tBlE +J9YBdlToSU\nt8.$[T'_5cKB##l[tNaJ8WsnH8'p!G-Y>3k>FkVkE?!HfbJJFnjX& +c0d?a[qV%1e-Q\0?9EV%4XQU%KM4[#*_,g1N$!NO#JrJQG67Xt!.b<(&R`KLO^\*R +K8P'5B1oKiU:6O'Ck!>2h&+0$!/g%L2<_:>!X1%k.TCdJeU4RU#5H(9]\n4P&hPa" +l(\&^Tp]56I1\I.oXPqK[cWuql@ZL$S6cH;80E=UnN8QColW$LE]n<"(m@SWNE;&N^E;O'ggY8*U?g0qm +1'VnhDCsS-:R\*gl]Xj3j&^%#ZduuZ/+,QakXu]j`PsNe33u#C6`.\V9UoI@SnGTj +HRqoFnd$iJLHC2Go#DXX\2ZkG&_mrLrpT6gJ+%HD2]3($j6jqIL4m(O +Fnu!FnWWu_0&ZJ!kJKA.IiUP`h-s=OL3jtY?0m/QRc:7M\4eDXWt2Ad%X//=)c&U@ +.C!!rYV%cMh*:!TN">/9jaY2#m@N2)41LJMoE3g,!kQT#g@QS]i*u-<#7S/iT:4]1 +lGX07E5jKK;NET8DkkgY>2iX7F)B_)]s?nO]'afl`O8h8g8sq\+n`JtEPDW/+Rs,O +G,\hjWgU(DR^OddZcj:FbNpqp4[1,-1eJguaI]jo?39/;`5/j,h;bfjo?)g^Fd_-( +jmi6='DL$i*cD7jDZr@XlXg^.$eiYqm)8Vb`XhEuLA.[B0,W_fGVefA$QgK^8=VnP +:$g:upD@E;lj9c+7nk)Zk"b:6VtPgCH_Tc\V!7j=fn5ML&/saZL%ZX5@#Q*[`o*o2 +@SFFB:;5f7]FiA?hBjj_FoYhK7W9K;h<3,NJZ\j;'cBq+L:)t;#aN43Pe*ag$;uqT +oNW%'F=-)B>hJF`s43m-(]+%J4$@>N30iC//nd.=D6c]L1f&\Pi/2%4IG`2FVpDdJ +f0^b/Mnd[ZF1F*(j\]"U(&t!8%q1b].E*i!aUBgZM%l>1"91ANTe)rM&B=pV5qKo= +VEk4&+HU4Q^c)T'$#ul^qYnT_rb6[EH,`_C(8OD]mT#U\-[qoM!i,`rVM":fLUYB7 +H8P.ZR^`rH_CuUB<(.YSON+aH1L!Op-IaAh;T#*]j@uZ55Ee57"*geW9`Y!SbScM2 +4f@Dd_HU4;n?-/89/*rB4M@/oTZLHdk,t_*(??>HMY,;Yb5:R;20Z+?2hCQPN$#EF +@U;L&>!$W$-8np;5VN0G&5c\T(>t-S +!'AI4b5uAPTDO3\Iol]Z*C/3^'G:EHI`trA;"PVe&A/_k@NQ][5`U#b-b++DmQA'B +K`0"D+-;N_?36uO=9+iQ_4l;'+U'"#Obp6Z"D=rh\7eC6i'03F0egQFCnT&+ZUZ/B +3-iplFQTYnJA:2qjF:FO;'O\J6F5i/m=>4n,!0e->?\%.C:6KASonW@l$K/[3FTO) +0EJps<:CbiW_>[-AloQH#l?L3L2Ol$/@JV$f*>Bad3Gf$&`'4>ma]>NDoM?aU3\Y9 +]c^l[Y:?tVRkTYH&H95j`"DVFis3tW0r/5o5s^D=O[i'gW60qGYGMbIE@1AmB-@EY +k$tFlO9L$Qftd5/:]@UqrAI^e`."%)qiIkoFp,J.'a9$.=6OgVU&,r'Pe_Z'X&HG9 +&cTBDq:g;Ma(!Scb,ru)S*u6"E!LYSYo93%>97n=s.V"]rE=a"!UpT'R.jah2sKX` +iajYi5Y6_:#r7*nC!ofA)kSos?diRndP_+)?^'*VLt4`rQ9R(dhN0)XUBbreHFJO! +.o&8._Pg6oKP4;(ilQr46flEJmFdNUi1?:o",ERu015VDKak[(+*nSYpbJLTs&@%q +a_.:Fj6_X$Sbo>=&!"%>pcUe4Bm\h9m+'5'pHear6@*!nFmk#IHP+g(M;7hAp=O#p +o*t0N)705IUSJ3E`f_chbp$^s:H3$TfPSaCCiHZ[B9e%Sben_WRRCDcN5'!AInBYC +a3^8iCkXgU3HO9FEL]m^*\Knm7l8Yh);?OsE)Z!%s7ps,f13k)]^P##h$_.a,iH%h +(1/0;I^s+)gMHfIL@$(2rd,)lD>q&J5gob6UT,V^^$2o:-Ko`FD7p[e=+jL1>/%`0 +o!7N('fTA4cKq]Jcsm1UF(7f]0!59mrVT4)o-7]2\F=A\65pDa%i>/^+JR%9r\6&' +fo`cVF3^Sh=RKIo3S(Fs;RKn:Z/O9HIH&84mrc2,KltF*M=VIMqt1Em"1.]' +'0GQ;I@YOA'0G!SD8F/NBPL=*Z^W]Xf>CS/C/LDGTjS5P+>HC[BFkf;*72b#R1l5V +`]/@.IJ2_CG7#nZ`P5UW'#[6.Ig8N^7$[@_"Zt'bL6^7P1dcjA8NIV2mR,J5f@eM4 +UM!bWHlCaflQ3R$?+%sq0G2q%o.,l@lAUE5Cbo:doC)I?4nc'p$Yt!EDg2gngN"X= +e]RRD1UIol^*30[ncL5Baa!_.]s@sFG\FI$Qa7\G67ADj(l(m8eU +?"$0:ZKL'6aR))eh06/Epgi],i;N>IkGWf0r#f_l7iV[o5ScVU<)G!,&/0(r\,!@W +_?JlD#5B*Z=@F*8b;sL.rAa5dHHWcQE +W6UgYj@r@6GBB00hlfcWra39&K>8PU^6*]SR?"S'-4\&qlcmr1Alq6#?%?BefYYX +!;-Nl1D.F\+,fY2?3][)"cIJq`&]W0DA`;*9Fm*^8Shorm1FF"pQ(W%^l]PZ])b*a2B%t +aaZ4tJ]G57#d':Y/nq;VWEChk3VFc`a0$`YLIB`p"ar/WY_G'3+V"M52fsg=aE=F_ +`:lXC&(cf.*dA&:J!:P`%k-s2MT@D]<4=X\q*oYa"koo,/muNjE6"^*!)3( +?,$XKg*r>c!retk;TrfpAag_FI:q2V7m2Z+=3r*GBWY_=6e^8W9Q]\bk[Un$Mu5g2 +QJPH9?Gm:_9n%8;419d5D4Z$YmJh8enC^Q%qbB].B&Ia?^5O'.&3ouI0`I4=T"$Om=Zg>[1M`49A&);(&M9J_bSXlN)Q*1p19Tr6Xi/oB +i&iWZKO$M]5Bdl;qPJ?UNQF#$N5OTuoaCopc,*2WK5nD?4^=?q0$_BZ#)A\lMH/72 +GLH+i[LedYa)?7_g*jJmdNe5L>CX.o^J]T/IGOXI)^2:pRCAa,[G'Z<3>VXCM=GN] +]`3&5Z(0cn_$0T/IdhiZVu<)Qn:.g'DVJCO4*"rg8i1:M19-s)F@7s%_!K[2l,JF# +*Pls`7Ve?K#@>OOe:mY5(NNb_uV[FJ15Em]0^SM=`LN3i`6R*!;taE]qKJY +[,uU!l>dbbbkAOJg2OfcJUQ(^8`JF/i-Z$*p17Sg@9_H(RaZ&B2/HSYBiDb,Edkph +P2[=o^K'9=EQ.[EBNp_.U5j,9SgNNZIV%p3D`N9^QdG0k")54$7$VLSB&" +PIA#cOD\`7a9X&Ec?8.rZpd5gIp4A]#nk:7C"h:Eo +K_TI*$3F.6)?qul!n\iN/E='QUU+4#1BPHMhu`.4U%p&13]lI5pWWN+"ckgh]6rna +rN@f,5MV'.=3#L%Y7^F8NTleK%W92q.7dt$.C!(-"CPS.)Za@_TOEj/=ecq;M%/=C +>dtp>cR:b_)U?t^B10q8:^X+biYbJAU,Hq(.rT;QDg&"V]=7R`KBheBc0WUiaB+fZ +&H(F%A0MCp@KHM426]r?:F!EXJT//^J%k>h`6?OYSg^"%LfQbI#=SiB:bF]PX +F#NM97/d2dJ3^0.@&r3^bOBJO.(g;a5Fu6lr27s`==bg@hZ:^r@`Pi4pP^YabT++O +/>&7#q!O)uL"'c$]E'm&E/QTP/,1(hk$r$f@f4jAQ?lCi+;1JjK37Fe'tsqJ%k\uc +GeP'I#?&V9J.$lhJAf*74=O\< +hXR +k.Zup4qm,9`D1ljeI@DUeXk6WJRhX'aA?;/0X]]6fRUq'ebaB9nfbFs" +nSdCg>&hU;Ch%d^q7ZLD,;,B_m]#$.`"YQh3Xusa_aPI,LZ38@4_'5/!Q3-C@\cfI +a&Vq;":H(&ArZ2^a!%A5ArVEf +B^$`[g9=a.bRPa'fOU%O#;""HrP3o)Q=BKMV7?5eaG3^QpH_II7uR0>F-1[_#_iF7 +pRZ,Gl;McE[A;Jbc\20l@O^B);4CAg +I<_;AZS%c7--j[.isOAAMD_3gNN**p^jg4`dUq'n2LSVi1-M5bet(\"r4gt0]$NdV +fM'$17(^j^\:1#um6'E$!t02gO)k]L3sCDo"btb+#9Q)L@,W28M8;D%bT\UTngFH/'O0K[SaFAS3sgTN.EV9$ +kq8Bl?rMXUE#;P&%F9b1+2Gdcs]8T=g0!*h(LFiXI1T.K&"&Q?X +RKpN$?Np#8eHO^"$^A5!?O>]iRiEm:J!':(lLq"J>dF1%F:40?@#((5aU^N6aa^f, +j'O;1^a\3JYB-PDEn5`as-.6&cXKHHej1!e-2Vb5_<63qF:J]XZ,e#9N,Q\(h^`l3 +b.%CS^@Q,kqH`COgZ2qmf2VRX`)Y;$PW!SR(uL/gfEq".N#Xqg+*\[[#NXL,IC^0G +E>[C//q3-hH0Qo&&Wr]spl2`SKsL3)0T5]J5Q)pLoL8!%@;u7id)"Oc!(BTG#j_(TrT0mU\iD8JJbgg9VP0.'-6L5Riq +*5RbW3"F4X$$S41c_eLr-LHV/1/:%?LD/Zd=XLXP@pFYq_g)dY+i1FuoPsmaV>1)I +aEl6+.($sQ,s$Wq"rcYDj#.5gG:ss5o#1-LbV?h;U##7FGj9#;V',GtK"M]!Lp<_^ +A]qHk,N:Seg_Hm,OsPS=]-3NM:0h&1X'E%oVt%:&jk$O&^9lkS./16Ep:1MGT_,rFo=h6o +]t**M?#fd#+FVr7b.QKJAZsZRO3;UIocobK]gfP"k!bKb(%[IKPfKuANdS8OoMB\i +(-K5CpdFHJ7"4,ZR^G6K89)'I<lNg>8Oe2*I;eVs2o"?lZD3iam^64Vjf_BSq#g*ID`2N +JjX.H"[CV#S7=t21T.,)&4F+N+8F/@$AZ]0?ks(.RmmZ7U-LiI#S(#S%f7EuE0a'4 +h(T,Q1(%J/q*Q?fBG/D<59nYg8CnBt1QEq@9;o=.>]r]Ojd"]j;:b,]%\7eTIRb%L +<0>P&4$F'I&SsjZUPT/kY`^gEOqU>C[&G).Y`.)D9^5hkN%ArqfD$#"_76!k,\QhM +35]e)W16)K(,(8IYe_4s8AE]C?[og;ZaH4Ogd8Nt7(V)C]iIq>MK\dC0%Da12:-pS +5^qOL!,>.iq'Z)kr(T%0o'>5k<0#I5(6?;HYp@&_-n^kLOj3F;A@\Nm>Z0h3a])mb +eO`;Tifd3r*`bDEM%Sc9`nM.NCdGl4\3N+uIsccpr)pWR$Etn23)UrjBecbAJfBaX +_8!IHj.4Ee8`f`DEICc187J0OOQW%QoapUT\/[F;c]cUB(-lH@+q('T&1Po0"F#6` +9/tcO38>i'`6(hBGs4$_4Ze-Kjj!q6I=jDMj\A>PW%Wpb2Mdg0`cW^CHJor=)Y$KB +eZ"LRY))G/L:;(h4Hi3V9(AGkdEe*J]pjZU8<%iX@p>1+X:Rok*_&6*=]=8F\c^i& +Y_l9(JRB(?s.d56(\"3%]@kWaffqO.6%o7BFnh*5.oq,%fE;5j1!%64j8YH$c*rR) +d+<:ig]u-"7\I^KnjbJu]'0*>M&)R!qHBm"I0TZerTGI8hs4k9g5?B]91V5:cnR9E +,CRYdpmSGGdErC!.T5ad%i0`@"co8u!?Jg]Hp:VDT+h[^a[$g`9Z2Z+%L +nNL^ID8b)MOJ*K,K:i_eK5VqfM0urWU@og3*@EL<=d4K.O]6)FLGLABdfTQ7; +(L(Ql/-T[MN3gaHfbWN$b&LaS$r8e?]UFk*-YKcB'c)g,aB3;V\%f +l7qAl)=sHZaH(;F:\5E([es?o4q/G`%2-;E$MR#Tk689F7>4qR,Q\p& +(M"RgjIXuMU9I.geE8.]o?q,-f8naPpt]'C\[pdC&VP0*Mpd'7"9(.HH'9rc(8.PuD__P?R['#,98W%.HM7o!pcp[MPL(kBAObNpoP +\)CPQH5*.r82oIP%;c*:>YjPd/O_gm&&1%DHtsqi)PdA^@CO6DDi=g)mJ"BBIC?[J +T]LGqbFR[)%1^M!k0,Ye/2/1(%p*&t+3?;F#P'727tIn2Quj!-i@La#XspXYbRnqI +`Q/3B`dqC4!.dFd5gMYd0-E\J.*"<[e1.W@J^WhFHIFb;O\b4L5k?3!mTOG]7a*Z" +CmR1(23ChVp7P=$pd&V!^GLCQ,67keThYBnN'=[<*Eo6L02R!skrhZ4J<\ca@Z>'2 +;bGo:Jhncac,ePdC>S;FnVtiBWZ+st$]XeE(@m/kC23nTpto7N^/@b?:lg.a;GXr% +#GPJ)A&8u1EfU&Rlu/mlfP`=!CFhba^76j6D(LW_-pZr[f&t$5$bZ'*SiL'M/@K=T +b;kRHPX9F`U,aTa*A@k/-TEmA*,0X&8u*IF/0MkC:%\X@*"r2:IjiZp']MN?FJ6ad +Z&.mrRO@ShQ/_u-#Gq%i;Ybd@!hX#;[tsK!jEW$A4nsDK0&Ma&GRFSpRR4>Jr"h>4Kl1@A +,+)k`RU]*ICJL0s?D2R_WI%XZhouSp5Z6E#Vdl8\U#8U\cj"'_&NO?'6:1U:`chOJ +-)#2A+`492O-]_dX9:]?M!P+?=HDlTNUDlToOu>k=Da+b2R^SlfORaUBqqUsOD#5A +m"=RQKa[Bj?a,>i7]3A]BpKb'X";ANN)`+t?m!7+!'AOHi;YQ.$@5pPpfOEh:o=%l +^'TmV(`oK"5l.HJ"n5#6+A`kfq9N^rb6oG[s&Pr8c@YjuWW@MOCWK#Z,MqV,I\%[W +djEcV:l%=+>M7RL'g$oEg]bO75NU#EVP+&j#l?i`TfN/)nABLZ!FbO6 +H0,hB2>2;14+X=O3rsU+6"M4XlFP%\"[k@@D;iD +$V,*Si>[g\f,L6^4`[8,GOi%gn-rXDI9a]8rTL9d_,WJX4If!W^4*Ma!>gM9ic%ke +1!:-[OVDmperbO$-K4U'oIMcj%+:,T!ZWg5LHBG@2._r`ANAHqAPJX."8mq6'1Yd9_^Cs+?=!/:?1kq=jO#_k=4:q_#b&!#=`S@V +S\2WVgpS6Q^)PM*+4dh=d^^CjCb)_1pob$<;[0\0,Y +FIP4p`>utHKY>=o_ka76d3Q:0"sFg`ZMLt.,bR:+)lq)o+F'lZoPMt\2e`@$6J"\3 +]/95\,l5Vl`1poAUF#i5KuaKTiO:Q@O+gholX8WcY^knfc0bN'G>FI4\>0oX;ZZk_ +I\'sb=9.?nE>XLML;YkWjdLj1FeRGl*2?=o]W6A``b8X[="K"?MiC&K7_sJI^dQ(* +TqQt!Tmqqk:o8MOW?nCXP$2eK]B5R8FfKUI(_VC(P,O0,kbf@sTP(Qt/k(0&/7EK\ +^4._P!*_D;+:bN9#+(.-#kVr[#EVC&LU>8S202g??;U/-'S9IVihSVLEhKMmBmIPf +)Lb<]XgskNgkb[n,5BcP+NSK#UGUMbS*L?Y[c\Xt67o+G();"%76XG2#seKEdTFll +U?MG?@"*3G*ZhOmT+cW*/#kK@?RYOr8G(+BGi\GNEk&9?*+s5AA;5.\ +6q=H]7]Z\Dg5_'"-&">l6QHFu8Amb`63+S0K,lCL/p+`F45PT_7]$)5Cu:lS#GiaC +Jl35pP6>2`M&rBZO2OG1&5N9Ai5Xce0fUfD!`Xnq!l[$Wj;a`K&/f7&&Tooe*6n;4 +7p:U:=^[AA>f'>Dr^deC.`7RtZDT#&o0i#g,**/;F&';6?D^Y=N^ljjA]M)JIc@l;]@u#><_PVX`)1,aNOT0HS +$sU;k=/("FU;3XSYj!9\5K<`lQ!4gtlf*D=(SqN_GQ;aeFA0@8r3&nAZHr>e&A\<5 +hSuGp3F"c_-m/om?G?*1G((l+*s(N!M'1V/_/T@?Z12"V[M<;s+("OT%TqqFJ3sN% +if$`%-TP)nrEGk(rJi>lVBdKHc\ +0T.m[;kM2'he5Yb3WQ;`V?#5WEKacST[0Ej?TF&Ebgl]fE9gHfgABCMhf9H]b>E`M +c>9)c^ZO%U@9^3iZs%'I-+C(Dg/LToMSKVNCh`s//'aD)(+HpDS5Cg,MG)']:#Z#t +6CDWNZ;&Vt;<"CVE6NjiCQdIi+a@VD5CR<:]>UrO>UtKH;rGYa&&EmGIeHH]g1&iD> +!jk`E_^9tYLa+;O+HE,!S33_sp$3t)LUT;(O9f7es1'tIuqIu5KtT=dhn]i&mK6>CUOo5G0T84<](q;@5doG +Eqo$en9`=jO&kc;bP5_.pl:WlY'#-DE`i3ZA;;G5B.Y0q*=86u')M_/9)>oZ1:^!t +Q#K2<_L^7ucF*<V8PXnuTb_U9# +,e+6'?:bPIN;r-iT+$9(-sc&'0(_jQH6nJ7*o\FUU!O7e(V92Nh7s*E>Z\-0)U!t. +GE&L[`=VEHibe4jee%FCi%62Ck#$A]kZA4Kr8S)a7'\\(D?KB@E?46e>CjjIHSLF[lqS&WL+1U6gjXgVL3YtY,17/=Pj"\&K9cu`*`)ABpdpY*kb!C)[W59o\ +G6V3]'^[5BOhB[,]MD^ZS%&U^7k9"XKicJYcth51#NcZ_"`\9)B&kghq@dB'1NOH+ +NO+AX?O)#AY'o<2!rq.3(Z/.,h@O=,6P_qUqoW1>K`g"Z"EFXH0.7[X>N3kRo%Zb# +!keE$^%V3]NIPQ>s&ll)H]I)Y]&`U5q-S/Q?Ni7Vdl5mKRj>H*'__2l]3:Ku3T0qk +dB[>i&rCb=e@n[e?aFEE1hN%1@4>N+.Tio*?F2=l[]Y_EQS"S;cC'L?/2NSce!@(- +-BG$"\Yh%VkOlE+DAu&/1T(YMZU`6lh<&^gSW4^:(ge26rF(]=[AulBHMNatMBIiT:6$V!fB]jQ[1Mu>3D0RGtIl"ZK1N!1Di$Eg:%;Q`^O:H*l +ar3RuM(mZjrE;O[.\Tp2*n\m-#hTg8@f(b$Ki8QACY=>TB"rrG/LPaZ&3JJWSk05/ +$JcVOQ3m(u^R?sWjUIq?=;-It8Y`nc1GA?dhA!*+/mN[a\%%tmUDAok&kD#Q!@b?V +c5_pDHIfn?O<&G[f>6U1fTf*"G=K@P0Lkl9Hu?QUC0a..SZloeq2Z% +R@V'',QKH5o&tZ;F49\6:i&f9uA3uoQ4Le#MPHcJ]XRRV! +ciU+X3ViJKf&QT(>B<68&$&THed*n#@lBmU2qBdRCM;o3Q^WTIlF;R`6 +-ecNOCh",pU>q9nA$)J7bctlS\-*0@kpVC7PYS]"ZgE$#-^Mh#8`Z;-qED_>pPKeg#%J%@u1?7#@7Ri;QaFDr34GHcYa`;4SM[gF]We$>FI9cDd6:*&=sJH`[e;HE +a/UbbrfsX5s3FT8p\Cbr#L3/_a8kcQ8qHo_cP>.EV-##k)LngEr_g95K0^%>u(Z0;"hQdo'1ZmOjB3nN6?]f!:"b%-,6&>=< +l1`,UT3'r8_#HQ=knRe'20fZ70(>F(jopJIUOgV@P`T!i0r]4,,0B3DT\Zsqjb1ZO(A1GI=Fso420%?dWE?cN`BfGa=/Yu2A9Uk]p$'?rt-Yc%Pd`cO!*no?pdPK4h +3S*Hj?H+"tB,K-68&(rVHB^$A(G.T\c.`*BR!I85 +M0R*>e76^=_^2\U&UR2SrFUX9ldU(GMX?W%Q/4GF:+a82\168dCV?oh*kS-8]Y*4N +,58[I4P$MpIT:j0FlPljiq2o7cusq(>^%AQ<.U)gcJF`i4AZ/E>X*XL_5DFoY--Z^ +CX$5950.$`adh*ZRF-hg +[Z[Ogr6Yu)^cJl9NSM'>H+lc5!8t$mT;,)2fdC;%Y#Dr58KApu$S5[0m.O96[@s8E +h>l&%]#4RG4hpQ.7rFUr+i>ipbq)?I!o[Mf5P^@s@h=TUWuoPE$/h6T?u5!kRXf5d +cn,TW^]JU1&;n!u&'Z=&JQ(dDab?N08*(RV(E18Z)\X0m\^t-8mWmr;S>[84^G6aL +B,Z8H-MeblQK'#;7m0u^Ha4LF^(BmPM:O0h%BlT;X_&"pkO^=e\'5`HSLD1u='F-S +??3B<&&J:"H?rL1UT'!q>Y/][LJU5'Ht>ugAO9*Ol!,Z77sfVh6#:Ce6>[bt5Ir0X +&(jCpN2TD\.o-U':Cbo(*1.8:84"dBKpAM2Pbr\X8s6m'$OW'Po7X:)!al&n*7kn% +9+oKPW2gH\9b04jcaTAG>.!%hQ7$;!a=3jG>F=K+SLS[)&p\#a3+lgUk2b/2jLQ*Bq3I>=Wlkpc +T>VQjQVL',>Tr`WYX]s4J.J<[^r*FI#tURR#/oa.SGAqmCp],]LZ>Jid\%g'B&n3,3\2l +2][QPGd3)G(nalZ;DlJomkm0Dq*1-[^^*3p'!>UXD[L';-GYgP.a]8UK\pNfJ$7`- +[;m5-&,N&9#7X;5?if/-XW`.p&JSnBk:#2bTbASH@n-1i>M^"2q60"gYGfo'.9!Ea +1I,u:kIit$mk+uI.cqg8dPFr +;5j:lJ`\J0;K_-qWq6$DRi3.Is#*F+!fIiUF-^B1Fu9Wi(8XZfh"f`q7Gat/nsi^_ +`!N/RGdh5:[X,ijDUkn+hDAlb+CiZr87c/)YeMs\PcH*1DUM1M=@^T*@P%`2k=uUj +Ng$A'U8LdWCiR!8(/)P@Q3bpFN@[tHL4qVao=/:sEG+^t!]pj$qofnJL5\kjb+Lq4 +a>!UZ^4/2hSu$AI_c]s.H&Yt)ce7D3fbVc$C,IUq>OIhS$WED`._A?&?uAtC_fQ82p7ghjuTJg5CTd(<$) +I:e(N]/5@;Zbl$cp=Kh6mkkgN]G!gQ7 +Q6tOPgAdj)Uhr&rCHLOd3j`01ga3PZ]G8tj#_'/AGAZ.2r.nYG\G`raNu#^6S#S:= +JcFXE]D1RdZ$d2?mu`>*r]>eLc+#rR8&,.BCl^=Q"4/2/;Lj451ccsc(AUWArHq8i +pL]=A$ned')$^u1&P[,#Vfu'O&(29f&goQ<+ZZqHc/B5G,k:7E)IZa9=IY/5QB;RX[X$V7^^61[3N +OZKplNa]e:gY?p)TX=_AJ0sU7$r^Jbec*>9nEs_LcmTMK-HrnX`g2ql.`0JFc-:QNk>\bXC>p +N.-FTS;_eY:[Xb85F]oG2I6/eWp8/;e]"6)qX3qF-Y9it9>oH*7$hX+/[a)_F-MD/ +>%8G`WJ&u1*8aSIY:[^pQ6]EFOK.mbC3!cuF2D[t6S#JeW\^EM1*S6t,:_-Y605(S +A`Ada;34NrAO95W%jcs_W\TW:B)#E&qin"(Q_f!CVg&r64UOTK3IKEu^>&Zs!PAO? +HFtIS%Ma\,D'EYU%eM/^&1bbSPMjG.]*i8kg9`jg6R3d9L +/V2OqXtR*3!:2qIqQnaMQfce/GRI7:k\gC1)[i51#S3U,]ERM\7gRp8(]WFnQ`BF+ +eQ\ZH2S[gZs&-<2@t=U2.dcC+2.cmY&p"2s%XtH?pjR)sSqP/")ScN*WS.OapoS#k +0Am#1g/!""G?MLlT3N6\XF1ZF6mPkq@*\1<-=0NH?]ZYmdUmWqrp3k[m!Hb3B+CXp +>X*6E^'[oT,tZIl?iJL*,jG&&q%p:M3u@Hdiq`m4EXI%.9a$#_5VBj9]OrjL"b;"@ +&1.pE;ii."-C042JH!VdrhEla?cDnlcenR^;u'([qHL,^DZuU0>,_8:RF7V9^#jEC +maNAgY#SYte(E9OmE_t<hOI`"e@&9:>c2Og3:0SOSrgE$.r)C"Se%Jcj683Uj+K-[*^o$U-AaN*U6VKF:CNug +E/jqu7%A81M=.E +:/1%lNJm5$$a.J7hDK(d'sk?&F#J^[G/a(H`F&^VO$F[X8n +>ji_JBV.Bgd6;6%0X-P^M]%3CJ"JcJ5TemW&+-\m[qUJ`KPo`JH6.h,-\ro,%4?oqe]E#fn +j9"+c'n9=;*8O5YgeF8"bZ]=V0*1VGs5+P`h\8ZnF&qui(O%YNG1,Q_`KOKaR"@E0 +_q64%TN1!XfpMZs;)bC^DNEapgcSS=@DaNJ-\DSuRDbt,`h@Pe +(3kC!eB]]H.*1"7olCR/WCB/rRW1$;DA#8p$,Tq4B*=nm/E97uYM2-N(&I0pbCIrHL(#F,[Bff2K'lna_ip'e@_mT9B2/;"g +YB)\rDHB+s>C"o^R]H`oM0CJ[\&p_5jkQ./??;+1^4oTg9rtH>Sh$Sc(K)4C8bIB( +Es6!;Kb5X,YpJ)Anr3@d[&C"sTZXWlZ;c;Vr05P@EA4=J.2]9rPSd4F#V>*_PmDu( +pn=Os+0*FH?Cc5?.ano5!%ad"m=tl+-+`7cH=ZU%;d$9F%+cc)Mid9,(;M1T1D64F +EK3`KOYI8,&i870*UCio\-j]+)#r'qhAH96P)b.prh->,hlKfGN&7_[S^Ps"JH%'t +8BJt[BJ)gUn\6lNm6kMHOQjQ1CFnTq;f*-H.99F5&,:3kp(7.[P$F06O(O=+JH+:? +:0Djc\bXMSq*$+Da3'=$?d9t)Zgt#g0$3,Aaf+qW:L#&;bN!r6jFIb,0DteqjM!Kd +rsE7$/jMMe<2+(\!jDd//h_I3[.#tbjWJsRi;Yi.EKIT5Qa-6.#L24;2*#%FW2)4F +#,k$dR*f*Q,+&GOIr+6P2&BDm':R$?rDp<.0`P1c"8p43^.e4. +7/"/`o;PUs=+ED@s-MGF&7c#"ra*).mG.,BSRoU[?`SD/MgttYJZkIhH^2$eR(VoH +;t<+VqBf_>FZMR9I[)IruG\=4a$`[F86X/qQE4' +#iH4/n2YLMHa<:q<8"J>EmSHL^K?@u+A)E4JEHmH$`(OojM*(bhK)^^$fE@B$:o*& +Mso:6Qe!2BVp)FO%7Sas\LYtU.o,b1p8Cug +b-P7+6LL3^_.,Ct8DZ%M36kB]E7\<(,Td\nI-jCi"p0n7;+Hc%`T14h9O +M[3saM)23]Z^\;GPrKO/?-;8P[ICM:4Dt4`pQ+4hpUn-"FA_!r[H:XBo=H.8\h8!7 +-?6T'i`-!p0^D[l@pcJ";RYX_4Dg@mlrZ/U;h3GNc-f'ud^tKaD0j^pVT_4ScF@Et +BZ[M_F8YV.fpb(DYGo2f640B-^U36H6g];#m;kdE!]AbsqqP,@GbR7r5^N@Z.c^Y^ +:EZ7dNp-T>"4_VTq_mu8b4*H?d)TALO0q8t2bm\Epg%-H^E>[_?0-Q3&bo0DnlUNo +^)>O\2E<,VA)t[h!4.2-ih2T##U0/?@-RoFEfW,QNpTk8G0!#)'Of>G;gW2)mtc]Q +XPo+Pq%INBKEaal_;qJ$&mf<4,EN;3klY$\#6gqC'oN\ci/6(kL`Kk+$>,?hd4M-2 +TMNNE<,mZ#r%U_g2FWh!8M`H-ZeK28JGoGJ---I#jK?5>?%/3JFHAMtP<,g?6;%Mj +!E*+i)S'XKd#%:B+o]ku_S]AWq_I9T5f1K5*pMe;lo\3UL2h%,,sc>gNU\)*s'$TR +i0d$t8q>h<5rB.I)Me5>E.L9Y!2a`Ib;>;r(mR@i>IO +(B=h61^aqb#,RcDVATVO)i#5s7Md#a<>ZD8/=8$?JnlEQGJ22scEp>:4J%LY3m)`p +T6'C6H.C0.Uhf/X=6nnMSVq8H8%MeiYH)9e<:an*ii4M=X%MEQ$]4%e8bLaCkHZ>4 +E^EB>6OL-g"_mMGag'sLi>(@YV;frMaeo1:`CWA7_Ebn#V?23350q!"(Jrt+PaCBnPNn?q +m[KL0S!!,knNS8S)[(eX<0*hS=$a,*=(KY>];('fL''-%7'WF^NWSeiFA,_/L)$1h +c0*e,-JFAGNaf9"37TfJeMTGE2F#Zf+Od;^rbiqL;/EeC*"tT$@T`JX5S+D-U +>Q0_oN4Q^!8jB1Ehks#LL7c6D.0#a>q'/u6H_0N3>ik-*aa*sF#Urle.F_nVClu!`>,1T!U-=$AkL9Tn +hefS1\bd+q8#seug=EO@]-e\;T6R_cr3>tFIJ*+lEh=;.j0uKbT'jVkC_BV8Umg'H +&\A8)Ta?4[);Yj)EFDdX,"C#gn_8aPrhki]>S/*LbUj8-`[i0&Ss-K@(uT +pWC!oEaJbQo=9P-[DqFe@.bso6XU6_U+(1$6)rpMRf#OaoKsNXg[7nJ\s'M4S[PIh +)3Y>t0/+Hm;'*t\Sh@'La>(,Q+-GY.`DVb\pr-7jI6/iHZf&.=+:j\q)lQ_:ck\a[ZE=NeZU9%F+`1 +3:fZh.-$eYoP`)kJ*PYba^=ljI-L7--ogLYHJCaH6ia+Fj8Rd(_FW=*&_%*)'>\4m +:so[BagoHD.7Za>a26LWU:@e>"o@beone[J3NY3p4"_7l4mO0/?6#\FHWYI&\WV9H +0)^07_V(rBo9Ccfb*($a7@c%5KU^]J2;k1I"JYQ/.F2)3C.&8Oao0aY7X..*s3iqcUr7hdP[RE-3YW^R +4dKVPb4*mFd^cbqRs4C3[2O!Z@bbh+S^fZpuC_R8cnq.tX +"b?hb7s*-*c[mb@Cq!=AZ<[7#9_,JUL99WHr5YE/U8VFO8crHbkgLa%LGClOs*^m- +'mN4\H4'S%[tSQ+(4,hi:PHOcr(R=?BgN8;8X)%T:RsL>>rYBChbTh*9L8gU5>-]d +^5*P;E_rccQ+Q`:DrVj*paoG>R_B)Qs,JDDoTqm)n/pR!HCD5In+fV-nct0hq#?p< +IS1D#rY&>Ic.N03V4_;VH\UaN6H.j*1k2^]r_&+7k>M-5.TCBY@tEhkT'2Lbkq>`h +/)6r[<4C5Z8SiNP@Wl'mg7U,aY6NXJ^=*\i4ue\pVr9E8$PiBMgTt +=>XSc18`(ppttrmZ0qsI82km#T/C1Z]O4dHBn':Gfrjl3&3D_B?9m).KQ^G5%TI%$nNO48u +\-FP3g*abbGLn(Nf0VQ#,.j0d](hCn9@;Rrnb4uk*fBH>1@hAs49GGQO1V`cE,R&! +G<*2=IU#@6&>mdhDl>!umN?]cZqFQUVX_-`b6J3OqZV@)@nKE9'P-iSUd&$XHT7XF +G;?=:/@N70qfKMS?AUius$Rk"BGg,)#[KYG=#W,%6r;HS!-K\Y2ZcB2&kk8#%`0:q +_%)'*c[8[+5*bo.0.>dpn"_2BhuZKj:16aV(5P$nKKBd)dg\u8!VZU;DumiG+CkL# +_C3IAW5leia!-nk,$Ds]8ot_^%5Z9IOtIU6>dNFsqH!6$?0^D!h(#:-X285F_)59Q +cBYHJ'2;:@+;;pCF.,[-BF +/@+9Za`42M7#EpYf<^Y,E`*nJE/n&qkE)5pA4KD'*Kl`gOT/Gl8*6EHr!+mJU*UqO +S6RRbQ8pu9JBe4`Uo#'.U_mP0#P)M>(^'R?GS:_;%"gcu@[WQq7:B:QB\"/X'p!dK +0]/U\j&!U60.uoG/TY\Y$>_#d&#<7MinDs=#I*/old66pU3bcJLk#&2/fU#Tij?b3 +N%$bq#-%Y0(3Of\AQQ7^gGhn9fp7:lXdd9g\-KB +h86W!?mgH?$W)=bXT\_)1!YCol@Z=>O)f]OqJEA2_s*`dp"Ss#2"2gbSG1&2ohQm4 +;%Ih,%"$-I/Nodf_R0"'/2WW.QaF+q>1psfkC\/QMQiC[EEfj^%:$_#HL-n($"""b=82U"gQ;uaS@X4 +GnBsfou]0Dcgjfq(C]Te]+WlA_#G.El6X-l23[<"o6M,MXW)u&(Y5^+/DAYbR?8g: +8>;bdBlJnQW_a;F'*iNC*SGfZp53@O15>a^HKGD,b*2u=pqL6>3ibam3K>%B)E7Y< +ifY?o;4mZ@s*_pc.R&(!rQHB[k@j*m7\^ac7D#j"gH(bA3JH-Hi4m:rL;NK#Na&F8 +Tln\d_#PV\^G2n>-0a%!FIO.VW6dh?NYQI== +&(nh#N\-*]&>8![Wn[O9HniW).uM6!;D3fRYMt +F9ab0O8?C]!UW4WRXbl<]@X]b5Mo$3;Sa84"MDk:KRudZl+/7"OnH5M%Aa3mghoG +hf:6J1+!b$-LhN(3e;R.e0HedP7[(Jl6`De+>t)FT\Z.50)di7LlQ;7 +".*iM-tkG*Z\dd5!N,4?_L/LGK.2 +j,>eBNA1,@nKqe@=Z4qa48U9Ks1CH%.b-;8Bu+?6E`r)>q)1Z(X3q')dR(F+'!IH2 +[kgIe/[U0S9'JJ2eoFNHO>%*j7?Tcb`W7Fs_2U9_'K$%d)?L9XV2d(q1J5M8\:?DW +$?H4ZjD)mHp@8daGGtFFg+p,(#M[[ZD=tsCr1JK;`?2S]+7_aG5M15SaT>BI!92sD6;r+NTPYKk!PF1qf:527C'BB +i@Fd$%TFNd_#[35a&iRb3i!-+oC%k1_B1X/'ABfH +>1Ggd`Jp9uY.ClLV^ds_m[=#ltGhoe6??r,cm<(n]Z;]Sr(MnY"frQ69 +g*gaZ&3'T2ntL$YM@je'-jBC\Ee6>k**<0:#OQRW`b2kO3r24pXrDMk+$_Y.%7O!;mAq;1q.:e;H]^YC!]pH/7$SodBn1X2FgX +JE/.h!,Y0aYV^5_(i`n&eK^!$W/,mJ$h%BkDHh4r.Ib&'$+Qml!-`Z5$[W-pTSsi, +>(as1LQs#;[^U'Eb; +VFVS&UlD<.a&+(SbV=&;3UsA=oN4L$=j')+Hmtn)0sl!c\8Z>KrrM/^o50[q?8?P`-FrsqNrPU$1L8'l;XYQ,5Z6/3'epnO`"Nqk%D%nJep +R%t[cX;@D$(CYHe77"qM:m-81`A!<`R`mS.'j>2`gSU4gA5l\Ec<+#k>;PP>k2$Fo +)eV(bV,t'E\//<$FnE%UAkF@*\Kii*0IO.s]?ULm+/1rl*e9lDp\A1UB)33PqKuK0 +Ja4\3ir>Y0s5t#fTu[=XV@["JXe+^5=[3]0m0G2dZRa>//',0ZP&8kT)b,Qn*mTq; +C6b,p8P-A39g[*VZBNOSOtF"=XE2fdX+*aQ4Y>-F5lgo=F,77E]_4/_d?9c+aj.;+ +jk6l:[S47Q'%7nYm_GLK"95@2[ZkUo*3plIA4[o2B4dS5o0HRT)Zfb+"B.)',`?3% +PBAW.a"01D,fY&79)6qQb'n,([U7c +D.g%eaNGL=OsX\tOLT=e?Tq"bfL_Ie:RHEn]_Et1s#P9?o(`[11?^`@DcrQ[rTBEQkELu#*8+\V\%h)T +^Z-emaB-#a#[cb3^aHq\r4pt]Ke!9#s&$3$HenZSOS0V's*=FZ05(%Y;SNYVn=O?c +r*H(GS%Gs>4!Y-BWt+KYH$@Fp3g;8a^jiW.'rf.uU&"LqKA'=hdp"^HKm&eOG*`A5 +N=1IuZcC7%:QtkW=&5Do19LZQYF2"O/TE>eY+!p.ra.UdgTkKXO%8Ri,P^#!'j*@i +R?S*t',I-Zq"@[N0gkN_s292b%T(N.,m^a3Y +c)#%GAEe9q-+/7$X9j%*VL6[rGhSs,`jC';m/3ejrdul0HG7TE3(b9D^Qi6Tr5ks5 +Vi(nC>MHl_gV2KAQaR?m-K+o]e^Y,@)f#+Bi4h&2JNU#8'0E.L*`.R_JfP+[g;*sN +IlQA47m#-&mG!DGo*K*k(8Q%`d`?=K\2<4(W_`MLBC!-)LFDY`1o*VWg8g%n=2pn> +5`1q;=j![&DEni8XU#P/j\_(LOaY#ppa@TF5s:peT%2oG.>_!?UqtUFT$=M:K$\i` ++a;m7'[s*R)HGMj=Z@G'C66'6+GdnT9B.fus2RjK\!6Tlg +O;?%AQ=INcdiOB<_rBIV28\96Y'1A?hEIKNHQqGB6rMW19(sO4HR8:?>"5]On5u&4 ++j-=>PGcrqBf1$FLTuZDl>]jJ=F=iNp_pm@EC*=!7p35KZ,@cmcnL`])b8A:U?Y83 +)+`T.WCI'+"VSTD9DHXGpl?j>Y"):, ++7i8f*WSfe>!O_t6SFC/(dg#L@%9o!S]'WZV\_E+arJJ;[Q2l]e7oq;SIM^;RFrHb +4&aqka(r?0i&9ZT.ruA^E[#a2@7@_h"^+,6/h)<@o]Hi^jl?;!RD,'@)*XGY1OOK4 +^4kg#8H7!8Nu%6RnGb('%?"%EAcT!=U?W"=VQ<.*/jC-eYcof$$f< +#0mSK$Ve%%CAYtId]@KC$ +F;l"5QHcdHZ(Mj4$a9^@@-6.iF)CNSXKon_,iVAsh@tVYI'g/N6nnTVr(V7=bpYS" +.26iR5E08DB:Ao$\K"Zlc`t"4\t[-WZIljl`4N+pUSciI$Z.\l=64*qs)k19V;H%Bo"8RQJmP\bYOf_`r<)3%/kt*ENO](@+7=>o+RQB!OHr2E`8t8+ +s+%cY,"M,X>OW'9!rP8R6-jg`iqREulec=_?Yeiu!r8Hun-1sRHg<7Nn.SlT +XnG--s2VYtJ"2#ZpPViIG2^QHNJG9>5Q'R.iNJO$Dt@$(&k=ffBETpP+RO5Ojjkl' +\0\Fq&m8Po1;C2.gotU:)NqkhUIFFu$l6'fZ=3<+l,8^i"iI?_M[$mem>Pp#h\6Kn +EPqA6`lU%&-gSSMi$pF!5`8'Sf>J.n>IN/7Cp"33dH@$6RcmY'J$IM(>iBa-l>OGd:/5Ph3*6'pi4aGOlWc#;j[1@CIYtIUU5`M +e5]f:a9g:KYP_NaVX2Y%3BAN/=OVp89gZ%a?r_6J.r(QS!.<_>`j91,Vd&Q>]'%qQ +FLWL"\>F@aP#XZ5Gl@^L:edc0V:>!:)m9R%g2a' +NY'7IYL4Xeb-2dK\X,IoRl.)j9IV_aod)u%')H)_0%J03GF(9jCa.j>I? +P)%ToO4K-iX',1_nFu'bpZBolc_oQf:[Xg6n!K+!=A66F:[7&>4Bf]5^aG&Ha/-<[ +nsh-f+PfLZ-61Bn0hs,8@oEo)U^2>_)6l]Jc2GZOuf.\Dh0I#7*1flUk +kIk2`<6uY1$(T-^2 +Mc@,r#0.p?D4Y'A6/Yn-$E^UlmIH-OE[r/DQ$.Gt@C88nX6mF.953ba,gpC!;HZaC +Q[Gee-]gh."Sh0[48^i"ZdQNAZ#SW*S5012(\DYDf=liC`1d*9W4g%85?Ye4&e@[o +!bVjGYnE^aj8?(n^]F4;PjJGs!9AEu3X;UT@DPXHADf$&3%J0e2)W900@L]XYO2&A +^a()uZd[/:ai:[j4_jn77e-jDc6/`ib0)^+;6>(bl[5Q=Rq9KGf`Sgn<<-2@@SlEi +g"+hZ(0RGsOS/_P=r@A=Jc+23'+Fkrs1,"PGpd;_$Td+,_(fN-D7TI["U.Z?V05jM +NjY])Q).e%Q(Bju*bS,n0,B5tian.9SegmC7(<9=r%\OEWFK'*Q_o]kE0"S?$15CN +$":snn:*N8&`=2Y+0LCke\+(/OFNn-MY_'C0S1Y@qV33s[T+ +PTDo3CV04u"4l$EHY]+UEI_ELbM\$2jp>Jh.<4`dp?&i0U6h\K-Q2j\["YCqr0P@0 +[lI[M;'k,_M-ahu^4N_q%K+$5[k,p2%[mds?'4,6U&;MHg%WJLMTDDC6Z2/D5( +7gSkHZ:-tlWILstnn[@9ms+-,*9jqK$2cc-`t*m0^Q^-q.[L+B;?c.]Hi3Q&t9h, +bA6F@NI9cml]r??N_O9WgFBCMJ_cSOKA)/ljg2PK!.W)fo*3`d#1]3ONFKrOS(?c= +!X'9O^]cFe$Z3%;*3W#+RK^.O"g/X`)RY2$<9"?LG5) +K=O&*gojE(3kDeZdtKMN;Z@MprABl=N?.o^9)EBrVjg;f2@/J-hAljXSNF"A17Mm0 +?(9!N;deL97V'*;UKs3M2Ztbbk>#>h[qT-W^:%p)I`qEtr.hIY2tAQHcC18q4*c7r +[UIa]p9@3ZYWc^X"CkQ#3k:?V6GKI2,D:Fk9 +GsmdNO=lCV'*R1RHag2)hqe^M.g^L"L`"d(s#:8mKXL-tQI!GKIkg5ZgFJ0L;^S3+ +045I9oEf[&Pd\L0A,'/79]&I`S]/D_i! +B:@g_Q:.T=-I7u_ksTHL3'0[pGXu^i-e=e\-Wd*6()'IYOF7JBI(:L.s$8b6+;Z,M +Pj/4i!rgFDr%r>0.af^,K6V)oQjV8h5/I8_"dIr,)Tt:*b.Q#dH@cbXqV_3U"g"Qa9"+r>cM!,kLXfE1c/89Ou_(>&b;2q8W# +T,2Po0Dl2mo[iH*j4k'\6BZ%kN`cD5S4C'0B3M'"D/@sV=b$U,@S=nLcH/*RZj5^q +q8o$o=a8tCJk7R4M$!V$0`h'%W-Kbuh>XOD*-2V1NluPp.!@'hFf[':W@RSA/9S/! +nZ&V]3)f(j=RL[4+S8tpCV?B.OuWm1fANRc+0$T3"N%o%H!$4j%cJMfs(V!.aM4:P +"BPlc^hqF.I9ApC!r+u5fQpjTH;^sRYobOTdja*seLCRu9C7"2XKaRC+.LB4m/hU" +^Br"(R/`jHKdD5MP6:(a_*i/9dF_gK$4-$9e#rBa;E++Ik"Ir>d!q2>4^@#SNe_jq>J/Rk`P#/>q6=F@ +ZhcP[k3#0VQWHs@//m+HX=pM8S!ED#[d5W>'#=))VSu]#ogO^cPLKWL?gQ:JAUb?p +p*4()1?QeedV3uGW@FQ1jaU=p`a6eha2Ws;fSN@ap)1,@(fe%2\ +;*-XNm$hNDQa^8T-&soa?6/olh>9BAqjr#]NZE0+2O.R[`2-tmZ$jfp7HAH(_r\2V +ZYdm^He#E5q;dN0X'7*Of/G6uY$,+7Ys,d1H%+W0b*($F-/5c4(=a(q7DSs&j*B,9 +-%,T9n:`l\1M`"F$K&I'UV"?j4$gP8n#fBOelA3:9o!>GpRT"5LPN.0q^E2?eUbht +Uj5MtRj%OB"iOi_U@;K#gsBBYS;&^$r-q%9g*+^k"eb+)$%j/O@sPqq0YA3E5n(?6 +iHIfUIpWqAT)$7hhu\FQH2;#jb(qG`4l02:NC-hLD[,6PO-RZp@8@6'Z;>-q7cojt +/kQs_NOZ_?gbBo'%bLB@#H4JKC_)ch.`,[QEC,U'?HX&8"eDnhW:!)q3:UK +eF)#>#?-IBj0@Fu"oS!SlhF=cemki%P`0;kF%VNO0VVu,*U4Pdo6f" +g*DDf(f!#KTc$7JEe/&/^]Lh6,>%_D"Pkao3].I@5^%[BW>D(u)[$mAlES.cj+0cL +!g*j1$cJ9W/0sV-BZ>mJ,(-8%,1A&l!e +WL&)$.ZmSZM_64YQ":-gn;.)J7)XR#/cS-4RJrfoIlQ[`)#s2+]KS(McRS^6$c'iE +l!gL@KaLW""i(2b(V;WqgqX!VfO+a*Pr+8:$7Z&`ZVd2g:_Cg,8$E%&i8C`1,%)%" +(do;iad,]-@?Kq:g4R9oS/FIeT,N-2')!V7oJ9\'kH(Vco+R0#i:IA4#"96T6ABad +gR?BmA?r;(9PZ!(Q;4oc;QM9,`osY+39N$:Gfr0T9jCabqZ%n:4`KF1o`Qg +DS]dcj`@PK>l2B)kFtk@P&cnhEjrV8pY#t`WZ'LS)NW@T4q4pVNRar\8hqc-(Uc)R +28gAKjJXbH#lZPO;UK/9#lb80%(6=1S[Eu2q,QT1BdimBjsk-=^g,^Ah`/ucq4In` +Jk`%IrY9)-DT.i/6BH*CV^5BS5PJ+Vq[AqMS:u^Uo)%4bH8[0#n74bJW4jobIp])N^0L?F7/h%s +j:+oWY"4FM!C)l"J#V6&^0()%V<2^H]0DR[^+WN9?_dmS-r@Wd9>2oUrEQW!F+rbs +$ME\?nH:e!&3$U!I]2si +!3(+qrN=#:6gf1<>X7Gu\m]l$c0?dO>Ns\3o'VaR[;OW&><(:iD,A,/D%Jcc6+1,Y +Bim,N,I5(imFComs46@d[MK'IN?[,X!.T]2:%UZ1hrc2WIh.Z +"4(ZYc`?sr/%dJ`g`!"!B,'c8AR;jqTm**I5$W;L'^/PRN9\t'.jpA>%=NesqO4dg +bLn^$R6SMo4O2e;/6O[f[!iluTjq1!`C[4mETLh>/!9"'r]fo; +hT$2U"qDq:q'`Mmk!Y&VkOd]2=: +M0G:InA0!Uhd0F"h#G+8j7^(?N=DBC;RbD9O[IGmV_gtYh.@Tj]n`3\$NTr(dRBim +dYL'eolg0W=Ml1o(0giSJSiho133LKk,4qnNKU7>otWYihOSFgSH@\1:_Wogd4V*! +E>/c[p`Jo5SuOUH59hgS_nm;):.l7PKEcs6DJW2\s87 +2A5E`EC6b]WND+Ln4nF1mo%$?`InK^R1E@Tm]7#gXV(G2nO&56"#C6Hdto)dWU5UX +IJi_-TJaTZ39Tg4p5"5][$a#R33g0WeEI/f7[XRfa>BH#P/K)8B:6[>r4rFO7^4cp +D,F[X%0HNA)ao5\&G:Ol@OFLI2879a\'UY^4Gg6LA)(N-?(_kSLg_UJi*o#D5upN" +.2[\%-B/!#g-PdB!:G@-5O]bt+.PrdV5(5P)X]j+L@0YsM6U0a%IE>.WV>th7OCVITCJqr)k:eKT/.2[:MSZTqe#h#0c5[4Ns#EJG +YQ21281)h;1KsKDHB&l)T93d3UfsEl%h))h$WRaCSo%neI;tAo^qZu!UUo7HFG4@5 +Q"s*R922O$I@Y;)]mE,;qlTFB;>M0/1pJAl+>IaBY+IJa"?.Jr*LCD6A']O"X1+U1 +OG^W^bM'b'm63hp?OX^TnmdUX=H!/Sh&bDg8`9jmi!]9t$H+Uh[>2^\BYs4%[X\n( +B5TijD!f[&j?Q8UR[UYdIu5Rk)0l7(F.Y(8Zk)Y-&Eaem1RcP,6fQ70_WnJOARI^= +Id-uBs$43Go:3>g,&?RGc3ArLZn0N=^#]OWE40(,f!//hhm0^6hICd8DZ^H2*_-.`f%T<55_2?`ID0C"Y]jQUNt0!4j@.i^s>2=T/fSk]H-ub +4/dW^Y^cOLmuH]Si4mL0?0^&p[(X"^FUbXWd]7.&d\^rLd%u$0]Q)NtbgOW)6G"ST +9?W4Wq*jB]p*%fPkaHf'>4q/F[AT$k&9iSFT%I@FN3[bS"n4^'/'SP#OB9o&%J +Ul3d2FmEgY[MN!3cE5c,KQt7>KoYBB=k:o%f?RQ$$le@'*i0A2F6BXjq=YV*SZXU" +2m#/#bC$pG6664.`hu[AK%S^(*DEJiS^7.-25b,_C!;J+'lrQUb +5SYE$I\]^Vhnr5Wr`9c1eE!#\b+\r6S340Dn-EJcOF/RgB?d=^/7@;GCFe%rEBW^"hdniK;`GIeU1d +4rh:-TH[s3qQNedY56&X9@5!n[3W!=?dK +i3&dl@UEI#;Glg]?00O3jaF_[oh<&'ID,C> +HG;6F*bQBrDH97<0l*+qI1"u@Ou/pXccYdA^jj0!A-CV+]kG;2g7O#[\NeOa#Car6I%:"$?cBn[;^Qn&M>!'0 +=.l2d!U%ju1>8as_H3s#PcP<'91/oG=In"n>pal'qP +UR'*%1NWEjI`;HQ+ER&jC#p'uJ8N7kVmi#pZu04nq)2TYD#ko,_aF%1^+3360^N:> +OobQDs&"!M+t8s-UFcKHo`4o^ZkFS`rZK;^ms*9!H.!4"#f*pL[f9BXnEZKp^RdI\ +rPI%`DL)K_lcg5q[(Q4.jFlV.^olns!$VAOmB,$kF49IBXM+'eu8/OG2V8" +k^.U0j+>eBK#[,Bb5$eAp7g!C8a4]O(jYRq<6pHP)/[j5\da;W7K%gP?-:sM]TqLs +i;]MmDuM_?cj#:=3$j*PrVq/jENrK1ZI=Ylm&oF-e'AfSo"htQ6!.j +1:LI;Y?!7THO`18^]IIFX]!1TV2+c/Y59fMGFQ[[%4jd4gEpsQ[cMUV_u::a?d&HW +bB?sQD4:[R[u_!MS6N?`4(DF9](7NG$*LC,'^Wf"m\NYYr:`a'qh/*#`7,)+nJ3#]lV=cDch4KPiSqufZ*8*@mEoU$4eNTU`pYAS/ +E'H/FGA08+p.STc#3:&Ws)@=a^=[LZalc1B0$Y'`f8'q`jN$bjXid&5jA(VRa#:4. +f<[tKahqmt/JIuI1EL"/8FK^"pIqB+Fp4EsB*VGP7gn7D-F/Wj+JQ2:',W'9<9#s, +8UR+$>cpp4.*":ogZX.R!0jH)#"gf[b:j?[CRRFb.bkkq-Q@dd)2'@#"ioj2`TdY: +8iYduU?e"l!d1$Yr?dd&9c32@'ZVV^B:i-9Lau7p.jHC*kJS,K6@$*!141X]nl,$* +@9!:TitQ)+f_Q*ppM%%Umn_BGU?+Td%/Un;$^/1gQ`GNu=hr!3O2_fnF%'tC!h=fS +JE:%VFK/b1K*@M&fmsl+T3GR/[,kJ:t*dl,Pe0I-S0`;!-O_t\/$UkO:>q'7QH!oX*8 +s(n\]RqBLanfP\4hnH&9WP$5.W$4O9Sg4+AU@gj/@p +kM2Nl@YXJiiE:=anKA(pY+/qDbFX),T9ke54sd`":N#^s4[V. +HgS.imtqg0H@S3cIU)1Bn;83T**Zp"q]7s*jXo +YLfEH=6ob`e+VUI2SK)_c1W+O;f\43P*]L;QX6K6n&::T6k&I9%IOAlX*l'<]^@!C +]69%u>?1g>7oO[AppO'qUso[s!UTla$2[alD.kX*Uc"27;Vl4jTugf8FC1 +7YU.CV<`8XisiQTeSWWEQ1+CDO^/28*V2ac>K1epj4!>jeW\lE8%p6C*Q_U9/J&a5 +Y8A!-)&-p)eZ9Zj4Zl1rXlIORZ/C%ARBL,IjcFIImQ4)[fa5>BpUl>`V-Is-HJdQP +m8WsJ$.-*IH#La:pX&ZnY'YrZYuBc8Xn:gTG]tS64/KZn!m_fi*_fP)AuTFLcim/: +?*h/SB%I1Lk1a.uFD1dTCF?YL:7>1d3&U8tcOC^*4OPa-I'S(Kor?*2%Ir7;_$4k0Qh=` +lL&J%#A?-qp3Q'G@iNH]\F.DbD'S#aO+OP-pft>lfl5j7 +lsRV_?LMq[TspoY4!1BWl:n?qNQU]^.dP!CIuJ/Ia`o3\N1j/S=lWu6\;3 +d>`fC\O@ALjG[p;Nc&A<04d>;caZ31IV1LJ[55>,_4FM=RSdgW@iNB3JI@hl15t5o +ra5alI]rg0EGVca'&8!7dO9id&kt3?,T&u`NM>p^;&P*#35#Tf5pSks'`IMHrU9sg +0Mn9*8?@8ZN*]>>O\^T.WRPF/jJ1\X'Cj%2.90EY.bD&=0O/He.KI56(fHS3;FD!D +_?ZD>_BJr3$NDBq!eC<<"e`hamJbH3)um<.[a\)K"Kfd9s))1YWZ=oO4RPg"< +bFhtdF)CKR/?*1'4H]l(RUm!,B4dWcfX[:f/cPkN+>2-SOCMA9Fb&sg;=%Chk#>RH +>$^/g=*s4KSR5m?kCp8!QQ#e*S.33bk]cI-kH4Tj&RO9C\Q>.Q/g3nT'd-7AJR>M7 +p7n2DKuSHg1T/%jA/R2obZQ6#?B`Xk"9.Hb^`gf-SoV92YW%]["gn#; +PP@oZI#RmI17,5IqbJs`%l4um':7V;TJleQ(n5GGBT`bI)"APA/2m9K=8GbJ$fCrOQD7a&=]3JCHhGcKo/"LSGGdSs4Y<@m3 +fFMk(1p%I\eVVNh2@O=I^L7Y&6(U8,"o(_aX&b0PpdSg6-M?]E[0+IUcft5oFKG&J +ZmsSQD:B)^iB$^Q_[#`14(2D5^Y;S8m.oFd(>?CdIp;;g>N=8?mG2u2Wc-duHe5Z$ +j4^:%I%^2F/+^A)p:DXECYn]p.J@YEG]nnuD[W,j"V,ANLDGF6Wr7(SbuN^%VVA41 +kA,JB9@HpSVQK-]Xm-*!M[,56VJT'9]P`W)g=JK*5m\\+lBI&e<(.6E@g5d@2ot]D +pBC!PRkCf^/hL!$Hb8gC:l'Z++D&h\adgoL$Q96KX&IAM>sV`!-tPY2RT'Ce8X"L( +1],ksR`n@Qm3,mT$A%$/#t=It'EW[VQ6j$&Z&/ri]4pjE-@#li]F[VIe +23`ogNKCbVi=A?(I@FogG+Ua6:n0Wn`=:#=8&,;4;d`ulX3#e]0mDeJ>38.T(;nm. +ipLWYoO-L(,igZ\@0in+\YM;#Z+#M*DYEp6^?-@)=bh'(hl4e['5n<= +cF"tZ\#/\!;bQPTS/G+Ut3(@nrdHm;aoZ;Co@5"(+ES.j>.agNhDZ7+!Z=b&HT:H?^\rL+Jk +,pNt05L38`iq6HGk@[btcbKUL4us+%*Ce+_oZ5AC8OjU8]$)]=-3^]g'q:'j#W&fh +l.Iu%/1[q)&DStG/Qk)7X;hW+Im2DG9=*X+/BK@)Q\ae1'o=cgLaeOQtCH2p$`$m]l#4fMg?+\iIAPA=N$5Oa[Ro!Zi +"90,#1WkYZmTp)$UB&lBH,:get,c?T@5`*ZT!Hf +fT9HVrn%$fjbG>Y]*dZ+,10%?D?,Y>6P#gt`36]1fD/m_W`(>GTgT(Fs1)SDP5kC\ +fk\#-Hj%NOScr)lJc%`6Du[4g(EMX$J,&npVuO9t!bM@(LO[)8lp#B]AY9":o&ak5 +Hg_?\c`*t,r*SQg!;mAUB(hB8pCjIui[/iD`jS6i[Y+Fc"8dWKC9K]cLKaiWRumRB +6Mbmnqc*Z10("s?gT'WuaSuVA%Z&Sqm5HT"Y$5-Cg>5f=ZqFZNd9"ilhXTeGRY/oFgQ#:GR[gpLB +$D6HnZ$-_q3g\(V6mq:hVIp#9oa?(7P=OlDa66_sV(/Opb=3e9#/L6p!n5W9-h8nR +p_W-rZbE[+I'` +XjDi=DQP&/WB7_3,>W:-hu`+^9\(Dt!0A:MERr]gApS:6SrmM=ppLo=h!IjstD8AU]lo4GH>kBDiMp58\#79YtXa9lP2 +kehI%4_#AsD8C@;2Uiq/1nIi*n/q3cdj+rWW&7AjB`ESD5M\/QC7LBd+&C:BbPTmK +=$JF[+>M%^%ZDN95<;M'$46gUMa2NJf5:>,'JH*BLliYC+ncfK; +1-Ytm?@iD@hAtW@`[4I!pEr5*A@YCJ.=I/1KrQm +o[FN_U9QW2>Nb2&kNCR(a>R6$>>rYb!pJ=g!.Xbr$NCejN;l"$;BaMdQjru&.kS'/ +/p=3IF0Deqpd0=TDk; +_E[N3g\_BI(FP3Z2Cnu]g0=a6Q8j/PXs/3a^Xf+$H:aLZkF09AbN9'Nh5=+SNJu`X5*Sf`U8f+.ej,X +=9+`*pVl]q.l>#lliG`>rkG#\qr`ZG^L&tukLJbqFoBi4f:E*Bs4R;go]t&*J#gr/ +is=PhemIO@^<,,SPI#G"JOW6!,Y`-r:[H(slpZtN&Hh`g2SWNa[ ++pNVuMGs8f?Ca?r/]V&qG-u[pbc,a.juQ&qfV3>q%<`k:Bp6-:86fBGG'a$)8rkU$ +q]1sB>r?AI"r;_i=894`,C2WAMe_Eu[E!-DbO'/ec@+B$tQI*)[g,3MHZY<=DAR*!D?T5/m#lL;Tb(0CC2m3Dacfc+IS",UC?$ra"](C8e +ToL/bF"?Zk?^9j-:5>@mcPk][%;a)@f7_u9$$`]AGQ18(KDhGqQ-\h],,s +XOpkp38`G1#QD2jICgbRSP)_E(7cAAD/2Yc9#1R@CsGBHht4LnlIrQ+dN\>JJgpbk +fSptR-',$(`mop@P)p`9kA@.!,eeJGUPJPA-?dk9[^AhVp.2MOKP>#?-oP[CQI%!T +lkdW':o00<&LM_l'<60AF5D$6FVrkj*L%h0MA&IfUANM.mda00T(fn.i-BCg^J,Vl +Ilhpp)`OWb)aW-us&_m`'IF9H;hd_4K3N>/r$gjD@iCN(.P\ +Na;`bTUsT*"RFED^S[hIB4Mo9aC[\^/d8WhAcE_LXgJ#8dIQ05j1j.H/.3UVg_p,"%=or*T+8Ba&-VpGdMU\e"qUW=c0^Z*-=usDC$*?G +dKg-R01eY2(FBR6P/ktboCrnhnmct!PUpYY'`og?+EdPY%Y5.6!#UJ:^Q/Df/cb;" +X^PM%iC9*WQfmqiZo(S7Wf4S5,L15j/;"*km/ZWGV$)>[bZCUbWc3%6R>X0%V'eiU +ca:`8?Y[W"Tba3`9.rgd069)/0LXg(-*N[[[..JGk?"ae=#@;1#Le$["OISZDF:"F +=0-XH.".O;Hr2GAIN`9:PtD>ruYP8iRR(YXaSAf1,G>/&gq\fQ/6jfmtE6BkTG3?`AY5WD2RSk +LlU[AW[&hml6*+='0ArEBBGGfIK.0nDoq_6be3CJf6Wa-,_V-Dhf\=umC+MoaT''U +IkTMABD@].s&]$qs1\7"^[CFjr;UE[oDedQjaU8nHXFMcU1!#Z(`=7]$(?,\.XoKD +5(l7W5.S_&KdoQM+5%iuD%joG*doN9::4"^n6^44$?3]?g5/k7HZY\O^M6WZHMoSX +ZYe12obtsJq[i`AQQPLo)mn1UE(=o]HIKH+BiVK_*A-g_rp/t+9uAM&S(:<'Fq#D! +FYi2Q7ZM+1c9C*tnOioF +FLu+I+_8[0(2it+!ro_l](Aa7>L#sTT&9cH)Q,3_kO=LUhk#>pCQI%Z/hK,RV@BS, +[8X9OX\\38[HZPSiRXuMDVT?:dC;&I?.q7(3oj=9&Gq%YhuZPQ.V71R)ii/^cE._K +C73!"AXe&<(1h"=F8EUH*B90AFm7J_u&-p]k +>m_P#,6k7dp$^AW7oen1IF&,<&-t`Z$G^!rFKZ?=2<8'a<,n*4o=)KS,M +E.N:DlOpmH!GVa,q[BTLK^bdk>h7kXZft)*mBP`p0@=e9/H941U4 +J%[-$C15>or0XO1d8t@_0'>]+k3st._ldVA0'2RTjD`FV"eJ>!*(qH'Q%]$UK(g'9 +Y"'ZVN^VNeBQ&ad>CFf+3XYcinSBmA4&!-d15I?^UTqkj^@mMT?pBb3N$9Eb*+FI;=BT^W>@Ls(C+Mt)q&oC5]@">L]d#JOJ99=2l5[`q@P +aNh>"OE[f`hsts)9mM@c=@g_AJ#%psW1p73$6h9-oM%??* +IC7#5d+M^m*)c9b0lUkdE)t#K2MB=lLX0lBcY`p3*/6#Xi3"%(/FG=WFTdN=+p/.& +;+hl46L#sC*FmM7J7`r5K1lZ%Ju6#foB)m=cP'kCPNC*ndcZIMf;Wf;1Vr@_,l*39 +`2Tc/dPYr!Zu8i"cNV,aN>DoD_\f@uCr\Z$rut3q[WEfEIni:."+SSHs-@Hq-!U*r +6Oe@*U3r@W7gju6:ACP/sCG +7C2]6PL?F)jk?^(m*U'Qe&Ho8CJIS8@cc0:d-^nS1O/Y3HhM:/\*>Oa[V_IWS2q)HSXX:[DV)IL +O4:LQ_n/S)gUlFuVK?MW!V9BpC0)s%QE=o_cHSu-N[=QM$b!H9%Wu7Ha7E>m-8+*= +q+KkknN=1Pf]M_89;BG!G1jTAeZD.*djE+YDijj=bY]WHg'A,$Y[UhGk0OB7H[m'h +U5pP(`f6M1/^B$8JbJ@Y8O>RU$uH"ipF?N_8j]/92N6c+!iK&bEA_Aq_k)A[=b?#u +T*5At9ig%RQJJ%+hJM`e1#]f_"5g4)p+#8mFPn*b(lEof8tV'h[>Jgfi4@Kq]rUo\ +YtrQK?T\#gr"M#*#_&Kl80e]c;U(G(u*?.h9K50 +L_D],.e9c4V4J,g3R8;-V8o)L7\@YPU<_[^d:\7iVod>a:j!=nM@tE%G/lVRSQ[1I +<"1T)&(@RLBXOVBqL6Y1dfkuOE&K5,jqpmAju78!WQ[* +(ZWCd-L`Yhrt?V1,t)#=!WSAC/cl"$"a1b4f%Cq,g"G!JF0Cnj=kq0+/^JVl06F-@ +E<-!q^[:rtbdX:-hOYJ5SK>+46DqUJBS/)*Ln$5Pei]-X=38-rqRD24,kFN1>*QbW +1>b:#J(GmPGE"Yt_4K3\c"hsN#4;P]!XN!aL-qc/1S>E&kJ.7E\8so^6dX&##W`cJ +-XpMF^TbTjULcOgo:M?:S,'68:M:"Y>4NLq&u9)5_97!g(3Xsr#Q3]^Lugf!'(Gp$ +P2]Vr%,_X3!!3OQOX()<0Q5cnOXP^AL][U;Bkk.AO'ge&PT7]Em74:1T#Ih"Ap)Yd +K,rkWO+5@$!WV%iC#>egJG_&'CZ`V9nE%uaVG1K4W`T'rQKDJ5m]T&@s*j:l5K`a# +j3HV5Qj.s;o)TJcs*^jfi;^5^r??<2-[p%oD!iudksb4ol4F[RIMsb$#b6M[^d+C9 +OiB5f@@dF[_0]SEX\WlmWO#(`2tLDFf;J<+;7a0Wll.5$FT?]hA#mb\;0qo_lD7#: +8B`C`;6/d^i:if=^(h]'7WD;ED2c0JsE)Y>iae03Q%fV7*G^Z>\,n +21FQ"_6R'VgT#=3=$&A*S=ZfD4BhJp49uqX\igXTQ(^0WB+5l]>VPhFguoR5^ZYXP +Q`1A5Z6a,kk>/"br0a+.Z&QS)8i_2U&Tb\].rRGSHCmF5+!TF4%di0YG5[*KDI'mB +rHfRf3gUn_GQ.\XA..#$j$0p:1LP=hgp1cOg:$2c9V96>*QYmE8"I(Hr-C2K^$r)T +FRN+QFDF%N+S.6h<_MfF!WEFeFoXL(^oC>nMGsJJD9\gJ6a2*W+*+:*QRuOU/$Z/. +n7[rr2(^o@Y.-=hMBR#@W.P;_aM8eE;b(rJ_+gQioDo/fp%NH"/+tFK'jkm5c8uOD'C:k;1H;i1=1TS,5&(Fre4BcoLWjH#9G$eKT +3E&g9;u1b<:]"Y&QIT(,pZ_An4pQLSb7fKi!kRV +kS&B\0BO6,jt$i6++'0>E/L'.L4.r;UVjiUK_\$SXIl.E:=5Os1X+EAFpiO\-g>LR +j),gJ]YZ,>g/(:3l`s=.$j:3 +WgrdV-P2!,=:hdcb\33kEW5DEPT1;cc_EXa +7_2tO*&2h&$l\E?_*hK,KE%T@.nllNid[=/-HbqdB\tIPY^_TTrAgHp$nNMRkX9gf +a[kjaLf!]K:GhY^(O!V'J+FEMT+lEN&:H8fp7cj32a-"Q,KV,[rH_5ie_KMl7G4!' +3VKq&ST![Oh(E^r015Z@/G#kn+uSNd[:f$'U0O@7/^h5X8cr+\N8Cg3mTu^uaVg:? +atWbbhB;NmaCl]0M:B)[l-QYH[Xo:'9WR]m6H$LpM#U9QC^,p#K-tfs)+aYe:&uJS +kj13O(1-SV"s'3,1.$.$Z@^A7TM9?%VDWU\Q711D-e.3sLrTao92Bg`gEBB]J6=Gk +Ke5KJ7YCM%Dnn+>*j+(R?[\KVraYd/=9(JY3Eu)-;hOp;!kf9.cNOYHqbL^5#LP;: +pp(e:nE#Q2`N)DgO/X(:'%-4Z!;9bU[D78?!?gPmaG84%AN\Zbn2f70a+"MhdcIOHE&/0CQ-JKHR$7#:l5EP6&o0M'G07?(Ri,>\Yr.A6(Ae3PBj=N(sT +q*@X,cmHCQB3\"KPi@$4`lkSlBSP->Fht2"hPkDrG[rTE$@u&sjL?[SI$reR6Z*\8 +Jd'YU"UmKM(V*Ktip+LihJ$HR4LmoEEi\3SY_"O]8Jo15=1BpR.%c"s!11lL"oK:I_QSFV]%gT=n\pK>Turh6;tlsqRp +SOpra:t""k,c5c0dj(IK$Cm/c3.[ggNmVsHBWC+]jR>s&rLNr0%Zi(KTD0KuZ28&4 +&GSK++38ATIg"'^G,c92^FIR?1=+oc[dDm%Rld%hGLETCP&H^[!+Z,,#rbK9d9J@R +0Ch_aeCB/,/&;1dO>@II'8TuraWoW&R,O*mQAiSYkEOqQNJ#gB]Fs.b6HB@Gq +P>,c8iJb)]VOFtB:h!JIT\)*OA#TuVkXmIs;q#Kpa0b'[D +rCd.@0880L$atN0ebrNbr;4b;Ik*>S;R-Jqs.>S&rl9Yh^Qe$2J5>n8:V!Lg.5GE* +i_I_GMkmaf"NhPM!VhRK,F8&5$]!]>Xh\@qfLR(8HOm(2HF0hCmF_U;?[D,0lBTE*H+dFkf!T;BV+]k&Y'!$^>!VE+ +%e/)\G3Ren!WFDRkg6n`XBF'Ts4;2=CcaQ@h:i?uXTk8,K2!kr3:+4uFrf5)UuA+ +<=\L)HOgB,050DCKZRNdkcXXk=Fef,#G$;.e?\2fB-[q#cl)`Zli(QbQBj4t_[S*/ +\i%2g[8.lLjmF.)DX@f"DW!b%n5,O!G:L6eTF-cAf<70`%\G3<5ES0W\QilVX)r8\ +\2UV%2b?-#+GW;jYYOP;4E$,LUH8KT5^W8lbAPQ;gF!@&2DrdeaX^c9^mj#6&FW(@ +CkYWZ:@8NhH`mF3hR#RhPp01hqq!8!C??q[ItKqt_&NJSfOTt4LclA;2rsd7D!)_> +HeG`:g7`-$^3\Y<@F;DalJ&!V$ILI.Cc@S(E\&-u5mp'eh(hms)S$B;!"+8pNs;fg +\1+?Ka]UqZ8%9ds +g[4Qi^'W$\R[N_,iV%t]=^IjIB5f?fa[!id@:<$ZXj#(JUrJ1AQKk93)?He3-De%0 +^$B[LYVochQe54akcRMFY0Q9Y>h&fKk$V32E+T#6A^8Z?4LfQ9UihnK[MB/fF5lI_ +@d\r*\kuDXe0oXOT#5:`2FYf@9Fi<9Wb#*"efTVXD_BhWm]':Zr0&hr)SkUqt^UF>h51l"W%I3d>dMLlO6 +Fu1]fh6Hu]`DGo2s)265iA&;&4&@K]()0-A1$`??[g)X!nQ$rf)\qTqQ+9Xiq2Y2j +m-\Fhhp&C,8@q`jC2kW?ikm1+^qsmg`GmhoU+[qM#FSAY::raYp,"CXLL),9Il +BjWqqPY'928!*u-*JHg&bSp!nNW4N*$#mh!!Uu(G5#;F\.0fNX/EppNj1FNJPG";9 +1U4c/j$M&1LRsRi>lt!QnujD20:OO9+mP45qQecUdUKDUa'D80]Teh13BR1SI_&6^ +WdSlE@nEtS;2SpNg6I9^MhNUH99UqX;VWbNI"t'29SBduY^.W&%HBWr6lu*brS,q< +'C40,F_[8#f!@X`:lpE5E5Gc8ep1N4N7\["#7^-T9S7G\BR#"[HJ'.KKR.R)Nq"hl +/fA,!Fp2YW;`C::8>#H!qn-KMJCqZ)fk/JL"=t]"YNuKGmfkBFq=Od[L>W5+m!Fj- +o/_9/Jq2gqHo(RArr`(H8lqG052:N(-UEVr3K.-j(:/lJKbu8SrubJHQLQS5q`8En +hSHk;#KZqs]WM2^hYUO!_-ceXhIZ!15'R=J+0bc/?2\i5lEt=Nn?3""!;rJ[FeE*a +Fo_DOrV[KmdcZ*[4U2>pnfK,/+""2(9ToSV&)pX`A!bFF8%abG4V(aZi6E:8p'I,h +qg02(0iBA.IR@>2rAp8dPs^>T^2;]&;scNJ7376:Do<1OrVG)N>@ihS!.UPPpU5:L +dAqK/VIAj]*P`a_hQ9l>hQ(\a#&=2HJGbJ4n(OU\l%JO:nCP0o.p^l&RK3>F0A^'H +;Q6p>g2^rWHZY_PDm\ueEpVB2GA/'Z\(u??I"aZM*SKs,\W-$M^5<4^PXEVJ,4!?N2bZXWsG%)!g6-kCET3 +)!f6*\_<.j_oR[ed.(DmfJD+>+aJIUIq6`D;!Zg?TASkg^P9!Ra0rX9GC5.( +?:(T1TV?uJWV>Z)iItI`J/Yh,62btLUlc,$5.."Zj57&Z%`gan5]B6XgT/1#(oS[X +1RDI0goGkV\O#B2]])mLFM;k\Gi"T`V;/%fc+/;@VgT65-1P`)5`STO+JXZ])V,bP +>K[fH39-M#@C^Hc`2RaqV.n2P'>=V9"98+i(;U9b\MLgi#rQ@31LP#T#d'5Q15FG; +6:h"3!l4h1eu5)n#h"H$lFGBD5S:L+?sH=j6,WT6m6LYRV`JdJ3QG==^5b=S-4&#p +dU''>PYlHc]M&g,6:6OLXV/3X]pcn/BmlJ;E,@,d%N/KLi/Ymh,AXq(H.]&RDLOBN +C5LIC2>`@4PAuY`$2;S6kLsYEHIOn_?T1QXl#\M)E&"ZV)eSXQ6Im5]2-/C_oS4[( +LEhCtUH,ePAS%DI3?@kB>:Kg$eHmh8M;SR)O-4j*P'^qQHYR$$C198?OufX"HQM;@ +<+Yg[cg$"EeajocqgN9uASTPDPg6mt*T[Tu[hHAl-$PY#[cbUgVT.-)8(L0#X82\Y +Y_X2m8e!9W<6J#@0Ep;$S3P!]B"#o#gIMBp([qZrA@mplh&3&+Z.SI([TBuXS^G(17.XBpNs@TFe=c +cNQZZJ;/\cYEVF^.ct*^#sOX"r'Tf1,9f2$X9YcLpJ+3JI!r!=0J0=asa>=9D +3Bm$)7glhi*ciV:>Thul7cL8Gj=<5^(3p3eH#_EGdFWGL0'1*Eabr6G)ga>!jr>'g +AI5f9r59cHSLJ`;R,#AGJ:DfmOuVV^=8FoiGg!lY.hZk+Wb]G8/fc!N@Le:>-PJ*IhgVEJ0kRSIIF,S,P5c9p)O +W/m:=Z[MUAk'$?8I3'p90koZBU@K\\nSZ*P)?)4;qsUHifA>BlN'HKC^!4p<9&;6T +qgXla[L&>Pp1rRKBEA,45AmtrrO/)LC,s&PkDSYZ>] +5>>=,Q7RHP%&F1gdHYKJRT=t)O8P9\T\5m/C#Hag-Uq;QK'%0b@@^IaK\g#/IZ6]" +KR]!M^c$&XaIY8PL-]S3*h\VETg@_l[I#J4X+21Y,r]SjXQn1k!V\d[7irEQC3P@* +9rF9dLK;Lo#*3)tNrT=8pZPI8[D@K37TH@lASEq@GpY7Kq%?`jhQAfaeH?+)5D\=)Yomfs)g)M +s/#2U!<0%VjK*`q[sGVfEhQTW6?)BA/e__"r&9]:'RbgBV:@\dRsGi-q_Vj[O>HQo +0ti>Y!U@/-_#">Prf#]dH\<7]G'qJ_'O8H;2lLrde2XgKS6M9(brX`'i4k;4p=k0& +BZVK6r8<=Ecp/HNi%+d&jPJ]JcVA_XnEGKc>I78<:T)&G8`J,Ao4jb=W#e0-13U)C +/7?AjBu?uG6g3'`KM-4UB[mQpgDo?![-N;jNDQPXN,MQ_TT3,nWaBj^>k@F81!tT& +,B%`UCt9.]X67gn_Ikep-HsZo<'_0il@=I;"DC/9=#,Le_%Rc=@rg-3]\"&M"s]4- +&]plF?3p7djMe821QJl,2@jG:+2`k5qKKiTQ$TmAj*N^6"6f)bdp#Dch.tMH\1[Wc +!<;50)X"A";L4BdBFl3?cP9$(LB7CCa;OW;,8?>F-N._WrG(K.Wi%s#M`e"pI;6b- +[?K+/1")U6cb*#nSE^K=Q)>75ruegu+f3GeCm=[%5.Pj:UiNR'G44h2[X4u*%hi.h +-+,s2l?ScF>:&K](uP9?[d-eFDeb-^S`);Y%m\fg_(8SPA!DQcTIY=N=ZO(g)) +C9EA//.4fp$*Q#Ae`DM9A-Q,3YjVmc[j(rIH)qW2Z\6LO%\aaCdL%su*&]7(M9fT+ +V_GcI(h`semF>e$7l%1[W:$o)k8:K,nC^Ka\:P+XagQT&*?tOPi"%S!T22im-^fDA +'C('c"RotZg$[b1Zi.dpplp1PA.Dmic0I.o_=s>L^*Q?9nPRDH-#p` +:]=QBThupOn;AN!)<$UC#\Qha)^a;)o0hA8Of\#H3@BCXkU8H5XO'C4*;:XZ!88Y/ +IQ;t/`Phd,^jf0!.-=E2gr6Y1oB7*6.3mhE*g3aWSJ +rCIEsLS#jO49kcegEjepH10$-fB.@f`d-1I=k@DNbN!Id6 +:csY>faC1="_J-mS$*"]T_Fk#+?s965>1^$s1dY69GN6C9r\Qqs"[.PJni08_WU)e +*BM<9C_+BI!<7K3eh:Uh5F34;r;Urp#inJX5$M9OV7VeW@$_XW;)$4j!%3>e[T,8Yn1l(?Y+@U);bAI!58Y7edWU)0DUbe=?h32Fl:A&l$+7ZC`Q&D6Xr +h'^M9OlpnD;b#cb/oD)T!r."d-Su44oBFa;qXoeE4\MTF%]ROeHKplT0F5EY%:KOT +!6?g5DdW,$![@[QfOI]piqh`M?!>AnV!CJDVH*(CWFO3:\`2kSjYGF817&3QJ(G0? +6qulNEbg=n^.BD5UH34IoHG\h[@u']gc>.Lli'$tDU%B]:[\c&GsK\B4^>@&1V/B& +p_U*pc`4P)lC\H#+Bg=rU^mO3A`URJqVVQjFIb8tM+A@D%Ml8^[@e&";6Yhl"XK>H +%O"cTOgKX.90NGt#341*(FT-Dk4qELJN,J_lkqUYCf +53hmR0B75W"?+J&*f>e3;nfZW/s"_gmo3UaIrloFODo[npAS#\Q)NnQccr3X],<2c +8SqIa*L2K;%hcMC$+fQDG2A8a[GR$`]:7;ROj[6ie:(WK>T2Epb&8ikfA@";],=dN +)H^8Xn?A#I+HLe$LOM1O;4^(eR7\r#,Se>Y$=`LM;:o]VD\gqX/(cM?m0VDM,r=B9 +)G`5'Ea)?Sd34t>(eoTQDp'M2JUmc_<;UWtN="tFI"ERk&eB!er@@\0T5"D2!:tFI +]HQh[nqZ0KF*.I8!/cA;!D3QJodBNUZ'IZS+J3G#hH*X-cfR]'\Wp]J2oGK@Q??39 +jb"O$#:r&BJBcnLCZ'\2U=Ge;bDLP&o%;,EUFm8Oc=D!V-^2<%oDLH"q.PRA-HH6% +Ck2o#5^U4qs0;9ia4_aS5^RtI&HBXbNps-2Eik?Er`^Bt3sEs+E-jEb']]2'_!e

OLpP491T;O1dXt;- +"eNdB30k6Q9lA&(TUaA=H/YZYU+]Qe>IDJV#=FCs.1L@nDDA;@%bio%dlckq5OI#U +mTr-9no37Mi=)hp9PmrU\'>3ajcPbl\9X0%Y__!pRTb$2Y3rQqgL1I>p:,AQR?fXG +#b'KW>D=X6N*r!]Zl?Si$q@MZ(bCD'gEC#nn@UK'&X*&XX;&#`]`_.hYJW2Xm@0I( +I$b;%O[@RT%::q4o!!GU?[WY:Ihj=2nA:O9T==o +d(=BO#^cuBgV8thrDmM5JIB-4<<<-W(91)m]^*B5GIa39 +T/)X,j-Cka^IjT]o0m.c+.8JCZ@fBXVd/a8:OE_bYT#(K%@T)i07bm]`ss'eL4T8; +a%i2'E#Um7,E6AM@lj=ZSi!h5h'I,Z!=LUVUV6`Dp19.cR;Lu]9*ar+@fNmoYeb6K +jXl.c!M8+dDF[?S54W(HKk?FsBW4Z94>h?Y_5]p]3/GDWCX3g1+_9q&Q_(,CK6s3- +#)M:<_gAne"(1#qHg?FPP7?EhQb4aL[U\T)cK89JJ*Er\\W`H!?Ug*)&[hC^f'8+/ +Q1#(2^+3C_2Ljh5dE8GoeT7RnB[Nh8oGF6ScZTf.h\$HLQ(*_G,G_M0^f6O*;c5%=hn\O5)f!I]E`1;-JPfY`^8HM/99'70DQh:kpn +?(6L2*HOnA+&UsL?if#@#rQ].>[S40@((S#f2egO2R33g$9PVR8Ol[3D]_K&9ZBnH>S88HbsuaBoS: +:s+,_*;[0!i*ehHIP(_E08E\m8\:Bc.nLm#-5,o[Z%^SSGnJoDI.(mCG=I[,HD"=X +a"*;7P"bU@+M5RU>S@AqEB'juXCF?n#mG[5;^C&D6unbf1.qON]O_r--CeH[Nd!0- +!r"uhG[#:iU]/@=bZ2II"ZMPaR-'Ffbou\2bkq_@o5I_1s%n1Qi.%EG%?B&J"P/tL +hW65YrepK'iMYg\[snG6M#ki[cQgDqp5_:_Ipu5PSb) +j#[t,h*)4Sa+RQ'!j?*cY$jY7TJc`]2JDSE)GL6^Qj_j,*^TTD_>bp>BDIs074>Hl +0H3t$J-El:rZMIBQO(Tf.+Tis6m1\u9[J(VajSSp!o-F'@@'9b+"b:0eF76f&Q_p, +(P)F?_*92aN[;!F9jrF=cM/`=qPR$0k?51<1-gd_A-[Qf(k2:1L5$\Pm_(RfQW:`iEp:%?@GK!eT99!n=>GQUQ +C]OE3V#Ri)p\1u\T*dJ_ABCEU8qI",js]-LD#BYQ#P`ooq7f^*]hMCnHO@P'9[2?> +E^)t)c'\e2Dpu]8K[FZ'aJNa^b-g!^1Ur&ZgEqntdDt3Ki4it/]0ki5WQ4[M@J`"= +3i."Z/(RMIS_J\[&GXZ=$"I/R6&kp&VN2;VX5(>2^decf]Fk2&cDFen4BSq*&mqc( +g"&M&Z/\(/=RPLUMN,(u%^jgmL$9%t,s2,NN +AIO$I)U]b@IY0bU,k[p2f0#OfIN=>A[A#25dh_[(0(g^/:'5'8T/-ch!)_Nf!G_[Z-^DUtKc +Mu`O&oPBZdG"DNlUtBho^2&qfVkOIKW4c"/.-NuD'5E)Y-!\WF5LLai'5]$'RFpS[ +bCTt#KDMC;")DLGhRUIofn#`_ +*;=QPHQ'dbL$"t#FV>;uq-s`VTGY=71sXc"aS*n%+M8$I2W5oc&ADCgEH?%K*EP\P\c1Ka*.7XA/W%^RK$An@o-<6MRAim\tfR'A:Uu;p!oB +q#6]Mnl_nK-MRcli9CRHLKS$[YW2JFQKXUrF[8,/Zm$pDj%i8! +Du"M5s61rMs7=W(k@6k3a+PX*o<*K#IffYf6i\X'LY@q<"eQA0r"-pD90Dmj"Nhf! +8Uj8SI\)EYP(pkb?nlUp_]K%DaC0Rf(NoR_Jn&"!F"f:lRb]gHm[N7D/HiK,0j@_3 +7d!nPK>]-#KM!E`d29Q*P0j^9?O@ZI6qsW?B3!>8RV4Mb,\7KXR7!Hpj4]SDIII[7 +)8H`M*([$kc_LGGr5IKj(%VD8,^D(qXjB'QQi]=U@I\'-Glh%SJd4Pf@/aTanpZ8V +W@68FdG+fOI+6'?#^#X`b@p^@3$n&9KK=B)Y+#sh7pEIN`X.XcYq>l-n6b>)]]Rk@p?VnJ_tTo( +@]#.&^ji1^045l8Y6OuQp?6r%5rp)2g-,^bgq'.t!3+d8!<,bCU-nL=&N=Oq(*<=4 +4S9TFpD<3/-au[A"4HD)?a%JO8`j3W-?d*/'$4r2Xe*5>IdWfmj?:H];`Q)[#c@Ta +Z?!69IeM@Had\I^$A&4--V>1NhcdX>Du!jVc`u-W(ddL"M\OBpbV/=h5BAIV1O^q6 +am4'=cWP#g;.B@L] +b25$[\q;gk@*Q)j_7"O+XVk7AD+MVegZHeu$d^fji(7LA8AQ>OXjIBH"@.V;\1Y.n +QRkPl@sBff%Vl(iS)Mim\4(9$_FB&hQ/&j-l]MlWU\RpIG-QDSP[htJh4n,>-W%$< +I+lC?bf<,T@o3Va2.F%bd]92<.B#C;!MBU$gH5rlq%\4Z,'[Xh2[Y`>L1Ht[/)68P +OPsbGhZC2q*nLhu#I@OPFtEErc24u,iHlF_$_6qdTVgtH\l%%,8SH?Oq16nrEg5EC +T-0ZLD=5\"Wm-TN>fqCq)H'QLqC"S0[NMY05NH6*rG_l*5n49E5FZpWPC>HM$J;OQ +-J]uPF>a]'&WeN&rV +"H"Nd7M-Xb$&I+R1-FD>$q,'oiU'@F"`\N?>^otnIMg@mLNS+PTQ#B+oTVq>/AS@E +]>3kMro(\K)W>&uD\J#9rlBQsNn97E_FXe*68&:aRDA)R#0QrVF"OE_X=J@/JH,@! +mI$gEn.5"A#sD?,E%7?&/=lW3$K5cOs-M+SIggN\)Jk8gcaeW6\r$g)Ni7uHrE>u8 +s&&"4*u+^lD'8j'm"aFW@MXRq%5_AoiBPO-"$R@XrFI2@>97LV-Gp'o +;ggB7fV=k15G\U6Ik1H6j'_c`OP"hrUEjZ'Nmf?cl<4VaQguJ8ftmbV>rT2!Y1(U4 +G\T68#[.Q"?Y&g]0RG)HKCZfT3G2lf5(LK_G=E[3Fp.8'/-G(-a3"ff$_Zmc`SK/] +o,R2)Gj.uA!YjI;r.TdE,p<-Wkg^J(&FY2>M#;5`0Oi/j$h+i9kR-PmYeSLg"G$r2 +T(5t@k4<78+P5,b;/'dm[=L4D#hB"ED_kD^ZIEg!d5[2td3J_l[k-A4/1hP;D_b;\ +$asC)C1$(:JH'Q2N:0@J_#JV4](^oIpGn^-VQDut/3cotn:-e:q.&"PWtagIKG@&W +Y7maN;j9L65nPJ3]=jr7n6t7-r><N\43A"r2U#i2Z8c>PIMjp[<`A+Bl6G+&u0n +bktPkL&g[76D&up+Ejh*]lmIn?OQc:(XV)o>I9M%I.)qoWuR%pH4=\tfbP443X@Tm +dBgh$[*_VJhBi%HF&n?gS/UHPSabcT?a+5N-qFq(]#G_SZ\B1$!Jp])IA$ETXrCVR +SMm-nrrTiI("?1;M9UhoIJhMojFWmX\jAl-!T4c0j?C@IuU +h[ZW0S(+cEl.[NYl\&G,:?YlZp)j_Ci3S)7HB4HC2N:3Yh'ME:H-i3.G\B6N:`2AD +iJOG),Ee/)Q,)5[#20=_2Bg(a/.al*Y\hkA`Yi7a*2?@NfWl@J3ZHk])Up`>XqCK\ +%=:$i-lqn6_XYkH`jEqp=hNKlXGU9VSP7=]N1d3CJ:!-KW\d%f)@^d=KlT83HrGR1 +R=MmeLFnMU.uWu3)84S3TF\ +ZD&c@js<0!A31jS2O%`^((]TF_`<@Z3!V(]mN4dnGPK++Etr*"[I$28MmYHi_1*OC +qHu$d-N24%4rJoWR)s#8r3m"'[:9#8Ye4lWq]:fl?c_/3.upsGQY'6_D>f=k&$kR6 +s&3_ai[r;t(\1\KZRB0.j1e4)IMq>?LM2`%,+LiPn/lla_>h:A+0G?/qnHspae*2E +S&;uYr]Cko6VZQ,Fl<1CPfK,qIc&*(^Z3^:o9nbc""m%H?A])EjF9%UHOYgU"cORi +CK_)aFpXDO4"gk&CP)Sc"R:14_H2T(09Z6o!r3N.0hHg@k5/PlHn^uFQjdn,]&/WD +lk`6X01l;\^<8^j_Br'44BN(2Rq7U4"HG)=NN@0@(BOeRkoJ7&[Q.OC9#-NFG]\Ma +2;qn,i`-A%= +idN`,r'5Tbq#U%Oqa2%gpVRe@Z!W(u:I`O#Ld7ND9Fh.#Add8Q/O8\'06ibT0V-Ob +2YZeuTAa0)s,WQtcqdg0T5lc,F1(Ja_Tj/M$G[S,QEFKKqdQqXkA?@?f3To%-rscIMJH%NEni:X].;oMbKAE1\#ddf8&NZ-\5H#rj +)JS6dUsTY?*iVfE*9',)aF)k/(4B(J)F]hnKV8ji4tU3ai&A%%eh)+51fk>u!?,== +f"2If0fYS@uOX]F=SMFR#1& +4f/)!rNR"ReOKZrO4n1cZ%6]<bCi)ARjX4C:6bUJm&-] +!B"EkN)`XodnrTN%Q9,qAj1iA^rt*II+F[J3[i&CU8_./pU&c:$-Pr/8*d%%c\>f9 +Q8Gg?+8prucps>e&I!4]Y+)MT%E8r=#lIrC5/;[!ndu^i#2cV^NbIW$3`G>s3HOs_ +V`_u'JqDPTXV#p)=/fmp!4K6B)E-B`iFC\W'5\O0-XP-]Ms!CBpS5L<`oX/1mLt)8A13XYD=R_M8LS#S$668O"H:_ +#Mk>.n1WpNQ%]#KLNs\V^%+NQ$A.()!o.iWDWr_8<46iTb:/kDB^3Bh2W;[&mEPPf +_k0T1%jfn_&8a`5Sc9c_+;AT5l=X`Rrs'_H6gQb:qHk!&pT\'">rc:>4MX2Zs&p6: +KE&CL%KV#*rd.eR]hUtY0;O;,.u^pHP@@OWBa#fuUKkb;arLLYF1%Ad1?/a5%LrYXboFYs)"/FiTkqDgb*@O1,W<5=ctTW9djf42AC5]OH;EM6In68&XiQW(aS +Vsl;aL7CsD3$-E@+eE^*!WQ/_ru[DP5"kQ/P2q6eoYi*O@T#nA5Kb"0l"/kh0.+U* +8/_eu:W&EY5(?82TB;KAn-A+/U+,rS(q"FBd5=Yc&5tXQM=&d+bu=U9e(A8p7r?#Y +"43uN2$=?7PYVt2)o2GR3#_'ZKhc?,1D'?U"k%$4$K/\p_4a,Kk(l6F#D4MaGlg$4 +q*c8a\)0$1$fk[K%[hsMq(Vi$YU)R5*d?Qb]j3gnp5ep3`@FbD`[!C;qf@M;]S7)B +oh&*ZR\r*.s%Sdd"T89[++h2bD1UYW3]d*(V];oC"+l"'\dnl5^WKf2Q7=s-XR*nZ +!5@<$.K<^jphMVLmJ'TafS]<$P3bo+m)L@T_#L;X"b_BpWEnBY?C9C3AM<**q[q$J +_!)XHp*ed+n +b("AgqVfL<'kpW7&HV;XE;aIgRlm_@'!AijYISbB#DM)+B`7c:IKOm[&] +/Gh6d%#f$M`hqrmp\Z[,mXEL18+c_H\borl$u2U\;\ee[H60MNG/04eNJ)!jH"<7& +G0$)#naURo"7Q@%I);k"s$84N9((LB(Y"rk2=74Ml8[gY^e"t\F8!,(BtD_]+>%G( +734@r@c%Z_g^Tj+Q`6CJEpA0-?p[F(>!kI.7hrPj)7u>/X/ZVFO4(c^Y'S7;(1S$c +"Gq&te?;Tc(fiFi"%R<]FV\3oePX4#]MRb<"r=H$n-$sKPD%WjCH,hnrZJT>b9ZjK +EcOAY!YG@mPRf9/2`RReE3t!l'0<*&6Um^W&j_M97ZEdf1<',VK:PAfP\e^QP?kY>S@uMk(D:0M_Lntk&GVN +5/At4i.M;^9\;kra#YC%,CPC?+oZX.^:%DM>^o8H^V*4ITMU-=hd\n'ce>JX>C]l7 +(Zpn>pYl/H"[\SjTZIUlG_Z9+)n*3jn=SZgS56eZ&pPumd\8kg+8i=bZUOf8D39T7&0upLU)rOU.k[I)dI?p.#,^5o(P3IaI$QockX3!Ug +n)9mch#r38dp?G65=G?q'oDl9P5'GNq1gZDKa9TPs(YN[2%\bskRHI"!q/T@pM'd( +EY92HIjl]9S:GZCQ>nIEo]K>nQO/+JUj.%HO6a-#dHDcn&;D\.2\hHbcN&9 +R;@`&(C>u^Z*K!Q["-W4?kW5fh@EsZnE2GlW87iK#@ITki<9dsbqm#pm_/)-W`2=o)BTGGEOP#lA?2]8)LAue-E:MYQsrcO7t=f)gb-@C`\TdTnl;nPY,H]_iB +bb$:DN*h%*\FMP!rO4!,hb(B7AYIX<5^q(l[.X1X.`f!c^h)N%YN+4Epl!/==`^ba +eEer&"oN.g3WaicA^;8ckfi3qk02<4`FiV[q`OKug('Q/YU7o=!MG=90E>)QPQk@Q +EPVRbGFocPke%2PN.Ek"5onG&72kIT-@Prb!pt@-l2tmJp[(d(i4F03P<.Kl*]pmj +g*+30fKAs#A&,sB_+Qj(&bs6;@5pu.%RF1)3 +QrqUj"*r +CA.?I7]Vp+Z9[[Zr\"h<-C>g;[&+^e_]l-mM;:?gCRo"F:.;NAjEEH"BAEu/'upjm +j8AIXI#;D2Mk^-#q*gF;Kb5@QH0'g.'_'n!\K7E6:_+[u7Z_sdOCqaY7nS;9'&pZ1 +'%7R@TKC1mdI@UL,c#+*!uh!U4%A.ud$R&C3=P3TK$4b4s1iU?-Qmnj^LJYtCC`'S +5P>'9^\QX/2XteT!:g*,$6m>O8d!qj\V!]I&+[-epfO$]:N?5^l[LOLI5NDM`[ub\ +K60cEs5Q3\i."b0_n?J6Ee/?>mnte*LLd#1@\(kb9rJM)n.TVp_LLK$Uu31^6S(D' +pj_B)B>B"=i3S\obmt#_+*&Cn$2u%MIiD(Wo+t:(5?i'Bh:B!9J'3qLD;%80'LE6g +AnD8#P/Suq[`iP8%[ZuJ9p:=VbY4190sd8sEM,>TgcNOQ1#BJ7G2/U7raX0GYq=.^ +/_e&'R;:&)B?\3I`5=Sa#l`Nr1KJ62r(LpBF8 +M^\l`-1/G[GOYLJZZd&BC=37PXHHmuooS+$+j09%e-8onRj+O<]ZP3cj.Y]6BIaF+ +56cU/69V-^9c(3W<:]Re- +d0D#Zte$GjL4oN.=NFd;W"L&"lV%f!f,VagS#:8!Kn1?28mHr_M4 +1.Qji1Ggqm!1iVRMu_X6GZ/ZgkmSC,'[s-\@#-82c'Zl;9^RST3)]W*8_lX\>>id( +BlKY-[`Fc[ZR'ek#_[gbCa&K*;L=q0*mb:!>c0B_B/Xm?N]]Fr4ou>sr3sVO.X`D[ +^$dtVgU:eU06rFl[VRRuhjN31Q8H*<)OVn2/iFV-@+&-BcRnj!$3Va3YBA]]6r2TJ# +D=G,Lo"M0qpp&kSZKqC_Wa17\\---q(\I+2fP3`T:\]pI`YmJC9Pe?8Y(>SR-5QB?.g#N-?bX@10R%&!S^^jkc#BE?hTV=m6C.6S6P1sBo.Cn+?I[EhMgJ1So>*s2,BP.EO@ +9gDcKj:g$f+fWFOCiM4VBA!Af8uFSM:7om@-DBDbBIkC'ccALE]o3B$_ZSUeBGq2e +4!*l=j:73W0).jPOuqS\BI*8D(3$?@1c:cZX.aX/CB)d!20S=ZRFl1DD/n!ME;nnY +2e-m$AbBf*4XtcEP1$=!WmNGYW?(K?4lH.j(oB0S@1VH3%s@EMb..>[jMt#-Rl9B5 +.cld>Xk(^0[r?XY!jp0(*NNDfmab9?+W!t:)HF.f%BE.Hm$,uRVeBoc?FPgHY$a1a +1)_D\!ON%KXa),(8]GE_:9,6Yf16eP;HbXfFbAoh&B%l^J6*;UGXHpGU(<-74nsBm_4MM)RGr^`*I#/HHKLs[gt2Ab +J$&4Q@]tY8OXsP/@MK6tX8j1#a,P#=F[NFGRpN#G&E8T]j&E>uc +!?s/ucdN&O#D%4Cm1'EYKFlWV^bmM1h>DrDH,L64Ws"QJh5XT_^tUu7f,pk-O?#:eci/k3EY#s)2Uo>uuB$bn"+2)B9m357f&WD;\W +`&Gl'>,4`lisE-20on?sDtSe?R7qLOIhOn^">,DGrsO'$cB(sY2Np-%aY2rW//hkG +7$Df!iU>1uZ!o"d!s/=,"nS7^#5HMV9[*hj5lqfWPRo?J._n5=!!JStTN7e[!au"Y +r*]El/j3m&H_ohLQ$'.WKQmEK&%>.?bD#5@1B#KEl`9@#&:`N'qCc_m?TL,a3]=.o+:Hi%12W?s:o-e0jJl=jObYi>W]_CRrgI##T2XF(Bm`Ll6'iI`u_RMq]H&ma+I\l +-hYas#LMC=o'diG%.Xd16AIJ+%PJ]*9^7&OSp\A>YL1_,aT^u!-?01d5Bq*GDaPFK +,*/BmV=[lal__Pfff@m[m,"]pIWV*j4lc4^)YeQnj,)=P^?jVc_#NASYGt@rCd._$ +nDAEcefOkaSpphA[9imsq6]GQK*g0'7:(*G]&k(/c$M0H>p:A^a^6Y?qWF32(K\gV +/%!+lIo`#i1F>'VMC"_@T%:R"*SqQ+JH(BddJ=p*]hlGcQTsR\2CT;\0cbG=cPtd\ +5H\dqpVQ=1?ip*f_]=F2/[1tXCaa6/^friZ=[V\fA7LXo=[gPC`..WFP+hl4FZ\hqJ@eIhJg:!WousQR!WFSm8iARJQS[= +IO%^6TH_tPl0Usk0)V!Y:-G]m*>V1[5WsJQeS.0;M'sAOC'P#qK$tn+[EH));GO!? +;`DpJ/>ojN;VT5_9uC[f&o,+5njH*!/8$e3fa[*/hY*K.^14C]&e_BZ+PKn06sUGE +4k^]GhW)'_?-SGhPI$8dRf2@[a +579U0Z"5"9hYDTTF8NN2gpuTRd)qCc.eqt00f923;&Z+r+RMFo.9#150Ga7 +jd!s]bi*g/E]ip'*ebT6U_RF9&QBI3bO-G +b:)E0)!19Qin\TP9j>d#7q'0^LAfbsnu&#*Cu>e*"ljd_Uf2pn^Y"3LcA[lgdF`id +"Q0klJ`[$pd4G'H/ENm6Z^.BBaOP.ikuY4AJ9PB_4L'G^jL\4>bQ2P8@;?i=YJBF<#G,Zm>GTGp&P,BI^9%"J+KrL +BYRGVfXX$@5?HuR?Z^mUm$&F)\'GB$Vg0N1\W]f>oNPn\SLW[7Xul[XbLtL/5#`G- +I*8eWACaj?n*@k/All-*rPm[4LtjCBF:G`0ID0 +-PU-R$Mjd0j +LM*RgM]=QI_*I9Na&e+'BPK,?"F_RBkAEWB&]% +.Wp+`>lkOCk=ISbd^?HEA`D&lI0.,S;dud^W`Br3BT^h09l*gWnI*-^/tgK.dU;fp +iXDncHi.C;f[[7QYH-"KA3#._If<.AM;P[R8F\p/?GC1VmMQ*K-p@PHqt.q$5G2>* +MneZ_Wm]NNUmb,G4Ha_b.oQH%";,5f"a+\ +'YM,30oC/hERMiXUjcg"YE_*J"s2:1aW5A?L4RPK6QN_dR,/8b!.q82WgES=Pm9K, +-a_T+]?kXR@],dIV^FiX>Gk56Zr+GOPTJ='.)!erlSYK5U]?tt,QRDmn^%MnrdPbp +)Q&@^2I_G%V%"J^A+kOifQi*-mJqp.eZ2>];l)=fZQYT*DUKi?^b=!L*5Dg(_"VbV +p,Vmm7Vnb)i3,giK3R]05kAsiUG8rV6_;&Oq#!#cE-j/2p/Ls"*N<2,g+\rc"HOuU +C(6t3D_]X$XK6:QBE>4Em_S?n;d-Obe2pEshB]!Wb8IEsDO4DVWtP-I3:15J-4.(s +N)hTCf1@s#1Zpa2DN`[8_.Xm&[&`afAS%EV=Cp*_8SDrg.ls:9G**_J`Bbl^Yes`) +GZ:oa+NbNEV=`[Y=pRMN27//PJkCI4Tm/eWSC@Nnd3!0hJq('Z"BKZU>Md7j$KNN< +E"W4l+CbfVhJY(6r4N\m"[@GpfEjaR&b#I;Yi:&`8/e^4TVT>(Ha8k5+Yo8Z7#BR% +:SL)Ar8D)R.dU7jWTa8^$Er47!P_tN +qX&#?cMnj]j4.j6p@urr7pqj0!WM]'dE1;%Ae)O-fU@jO)Z,3l[c[%=3I_jj=Z=XZ +I;k,Z] +jAS:f-[hAGo"I*OSXaBfgh?G6-oZsfE5MX;!1a(9^rJ[p]7.YIpHALW7ClPh\5\.p +.fK'jl0$ed/E;+"DMc%aRLZd"=i]d3B1QX@eMb7.9d$hN +7\*[lF4h55U'Z?1&Dk5Ba#icDALcjGaQMU'*mJk:NPRh7\Dm;m):lB-C.0ZYRg4MO +,AV+[?OgMmO$G-!C:43;G-_dL3DRBY:)D4TE\a#8mI5 +.c\N;'ATp>aUB9jX*Wns\ToE$"g?on&),]hbLr(@+;s:P=7FlrBE#L1G^e$CEWH#e +Fif687PCO3"Mk%M,mJJF2da7QPr?IfJT#1>'r%.h)90`)?adb4/okN]Cifds9dRta +04Xl"&Ej*C*Kbi+4pYt3'VLE#'%^QNmk>E%*K8qprWEKQ]NpG`;\%sJ,&_k#2$3\_ +k"WY!$!X95TF[aiQ0^4eF4'5s'N%m1?S3^pWKBE(``;cKVi;^06SKm'Lo%Yns+(#oa +m$dYG0D5ctJcCIg[rc!4;P3h\mJVf(k^b&@Z/55+ilpdS52q"$0Br',R&f[F"96,! +(jj.X>"SPg`AIhgs&l2_BqaKsU$8`ne#IY-/ouCHIRXktNb"D,5ug2:aUOhh6_FGS +DeEcC7#FG0W$A:Z(56ll%B9TU>-N_iZi!Z3CE"'I@=Z+Y3PN^()4Y8i"H;&JK9-Z^ +.,@E73$X>!deO:X=Ei]<)-f>c#iomM>UQL@)>7Ubk7;]'/Xd'+KeBdP8jeg"<=*f& +e4#Cb>?/:NX"C)qVBOff3;2-Xf3=Q'&"$X;S12TIR#qT +0?bBDZ?cu0%S^[o?HE_eWh^sd)2)V;JaqV_mf<_K1&HP%3bgSpH?d!M2FVZX<9V5K +O'd4YIQuobO!4O-,Jh,FPA2]A:3gl^,,Ibk;?n!LTElY@k_rViZ\I0@!>k=6#(12g +9h.:a_#Hu0o+[s"amIR`H9_OrK'mVNdl=1!_Q'6h2G%&213UhTX(?n130`8B&U$d) +g0/R3]q1O5OVr_9FEir09K^08Y`7IHN;5baPgVqni/^q9dt2VhJg%?ZIgl;nq&qMW +I'Ac\5HMN<&*H/=*_a:,Jq(GbhI8[c1.HNTg2GU7a8+[U_L(bWi9pg_kT,TTE,jjP +q2b"9AgR:>!;n#6S3O/3@/^3+Do.tUjU(hq^2PnPk[RZQnU0&IC;J#1o$75:+g! +(S18Bj*MrecT4F$SgL\UE+>M[B:j8(H(oojgo10ZrelS&$d#$X9BS%EaQ9#c39^Nb_RnJUmb*`*3T5Y(#a^,K6?.ZOBc*Npg]c\S +'rZrbDuR@6PXi>d+S`S.r3*u31;^.UbbY@b?si0/%t=pYl_XM?6@.&rJ%*GpqNJ-j +)^>:/Sb/hEIn4mpN2Rh88Dp.kSihNeBh5Jr[/ +#nTeUE$\Q]0^sR\2ibn)APTAiW7H!S.sXb&16-(0AgWP];Io^E7E>>/g+TM(kmHHM*p/N(&r07JBS]`nsZlP*jK>&`k!?]\: +0"$%\2mT$UG[@P&;.Tgk"8VtBF8G]Db@ZHGX&AuWP53X>ZpF35'aJ"1<1(*$d:$QN +qE!2a)R>NKChaAn7O4/#M\P+FS[8u""I:jjn=$ai2;Xf@*]'!7!A";uO7-%cAuX@e +Ph>fh2J3rn"U#^i1=jij]g.A0/+2W,5dJ0H"gJ(,KDu2U4'=r:Hn!i2cQ9Ql%o/>9 +WkLL#8alPt*o=+j++BY)hoXJdM3U`8ET$jQL3tLEJI65Wj'/n\D2)kZ/"9<&1F=rZ +_]IN0Rb)e:\ql,2n%5p?Nu(-OD4us^JF'bC_N6*_s@7#j[>WZ<]&-rKUrl +g5J(o(*!7Nd_9"c=ilf.6RKkp>NSMnl3$=--W6[oXYW8j&gKRE9[=.(n'Kb;$E3B,&Tdt4WFuK +X[6cXU#_mgO=;"SsPKod&>(0i#>*iUD$4#^4CN4.)X^W$(Kf +I-U5'eet^gH!$Ve!=t=-OF=QnH)?C@&ue7hdG0EL1S`a3,$_Du>S-hN#_c]?ic"t7 +^EiGg$#n^a!5NqM,h`sPB`IfaVuV:m0)X]-E7_Blf?t4sdNCkf^qo:DhK9-)i#)_3 ++8!PMg7A"X+Q_!qHEDePUuun&s382b")$--T.ob)NPZ:>G^Li.jq+4B^[mkn"js-0 +4(_t34#j"nDh7h24.o`jCeff+a.R$^@ccKa5B@P&/9$^ep&?Jgj6*iNrbH(kLugB4 +(k,9^d"8ALo@$?5nGINVkHh5_XXdETs(h>Q/(T\p1NNI0"p"FV9@g"PL1`d<*')pY +legR2.%Jr6TqQfL\f,UusflsTl@4i,;/t:6)?FBt6+eE&JCm8U7neCRf +,5;u?Ss>cVfQ3>I,CoUI.5^JRl(*?Ep,G&3XaJqoTme^dM:u!s)'K^r$A"DZl%De= +'H5RYjQ9DuIrLu:#*Q6[N>gTG-:g-Hd)75m$p=P0Eu6J00nudo4Z5q$;MGn\M98>V +UNZ2Ng0Z0:k_&0nJMjb?*F%=OM>` +`(oUGa42]Xn'=ln<`jdM^cNmXHh5&_$Xp0_YZ?*9SLq'8lZ5R:qV1P(?gGCSGPXOG +GWr@%]5'BM7s"\'*rjK9:JAK`gWu2c\=`]\4"7uF)t1gqIjFQ=Hdj.Xq25F4s8LUC +igOGjh!htpps2PO][a&lfs4-Q]!a)Ug_@mIR:Gj\Yt^o)pqP%F>0g54bLLHA.Miu? +dj\SO$#R!Tm2#9]G5=QF]uEUcgW)K!$hsI:'!BuN;?1kR?Q@c@?2-823nqu^&T/e88^/[G0J;<*4.p-,T#;[ +!j1#"HF.C'TETS.-p5;2g^Y*Jh#EBYnd-3b5jA=o!E9;q>I]NC`D"g\Y)_f&$XJG+S!+JeX1.B?UgCk.UfRRVRF'*WOGH/Dt$8h2)SjjOgu+b902 +W5krb$:r!Xi8i31"p"J8q7hJF>&qI$T98%8J\uu@J03^1o7)h=HP1jm+*[Kuo,h?8 +kPQ.lnT_D>j1ie;2g`9,$,1o\+#j4>5(!3W,6>m`j8Rs-o[-LmA)uhe,4^Rgp8K"a +B7DK*qX#IVrjd/'i7H/dhj'eFOa[-?j.jKd".=]CAH'=d0Yc6Fr9&Fp'6q-F&H?%T +I_c!^,%!9Ne-dc<@X5O?cF^oFai=^%T>@W;q4ntkX=McO>o8#5-fIl3nRs!>P61U& +6I*,.JQIEL.p(q3bk!67%iJ^g:lZ?f*Qq):,*"[N'sUOOKR1RJ#8;,F$2G`t_@T'( +S%p;b[4L)BKkP+g.Z8D?^#mnfU90 +a2dqLZUSY)7[%UeO?$4C77Ch#P1l_)1b5PBC0J*$dB@-kBXe/!N8^1PfmJp&5$,Ig +#J`.ren01@pc8q=K/E]s!<.-FCZDsU_&p(5_qKR6StEt_I+fBo1;ifS$UB0Sb-Y9F +=Xht+<>sg79lIdW!OiR?k5Y5l44o!9r4r4>\-;&FaTN];,,!Eci*WQibFY0cN2Y_T +jRK/TjD*9,F6$!%Y:>M2^1%?H"8lM4\*mS.4hY=X^2/P-"\j8bIJWV:-^]C6fLg^8 +.8RZ]W7o$*dlf394>#(-$`)7Qd1*@,.p"gYPCOZZ'-`HR'cS;`RELehFfIb;fR>n_ +^&l#j74d=Ge3D40c`tKk`,8g5f#0$lrsN;T;Q^@K'9\%QT`j/bP)+iH:)j(DPrl38ktq342YfLeO@,g*JXm]Q;R3/53HtW*I +A(ps>%J]D^^uY$`m_U!8cTOqj,=bkL1SikC=?#/Xq6pIMY7D2J]c2Ig@-lJe`-qZ7 +dS9I\4m1e=^GER7@57SPE3p6f? +&EGq&rn4[H\^^%Y_4PM2:Z_h'2Kj_,dfJmjR40ijeHM`>@[WcGW26kj);VWNZ2"fb +K7hSQ#?E/Sf1tbT%"A\'nL7a=C;1(I09aa<)>ZlBp;f_kZ&uX!j(LnaC'PXgN"-?) +_B6l@s1u/`.:&fm'R"6[$qNicb@K6meC?eE5+2jNm/[O/Fod?&Df9)CGB,$[b*G2a +k7?kASLRNqNnON-9P`0V3W],N(MKlM3^hO.07gj'4c"9RWBJCg()4kbMM)1*pd9R] +pUTbi4b&b#hjo_=Y>2/&#r&0alI&m9JGli%h#An(/V*eVPa\kQa3rJK.8#eg<"BV7 +ATpIk$G\fD$idY6N;=uLdo:YJ,cP::g*'t59e[L+l#fmI_\B:W_JU4Pe]93YrkU!8 +:6*XFKtNEA4kf(q#3.eX\D)KphN/gdEq/#H^ECo30>)S"s7hJr*f:R-hceRH@o!.c +Z2P=$=K +?Z;\u_l$>lM>5E-!9laTqMC`,O2^WZZD-1hL$m+iFqFnPiF:dh6>d>X0:5QI9IL5l +'F28.\%mKLnh@G6o2[KJbC$hU]<`c'?WiU4ap#XfX$Y4>IsEG)K3LXGCE^83'RLnr +23]qbreH`fLt3EbD8:N&WHf\m#""X(-muL)l$XIF^REWTi=FR]`b,\?oD+:*!rZlJ +EALB"Fr(Vf`?kX^o>YeF04l`s7$GDI0ZcTZKffNf9OOn89lf-kYQ4UkeXlR\eSKeG +TgZ4jB`s4+IF\%8>^ceT9BObS_b-2&^"SFhs()R#&tSj3Ck#c'SEGs,7Z6g#=J_53 +^Fl+*;5+0f_sP4>D?"\-Yu>5hWAXkYT3o';n@/Die_KJok?m(6p&E>f9rl7%Kfo0/ +JTAG'[tV5c7`Cu;;o!??mgT"#A&LhU>SP6Z?TZ5?AcXsc>_89AVM4%g#4eV^JdHu- +As$N"e-mdY3N^=flC6mqY%E;1BYhs=@f%/Rii2`))1W+/A=>7:U^j+oaL!+8'mR^: +9N2Z/G:l]]kE>ZM+a&OdH>@oo#%+qgPWgbI5(dd44n_jRGa58]i@3s"'53l#1:k:A +gWl0kjc%iK/V^b_QINp6N"IGB8a#iGg&L"tD!,VFa)lQ]1SW,0->PmF\EB3&%gp$65e?r$dae)$Dgi8t +dtaoh$'>>;?bX1UI/U2?ferAEV.ljEo^?P8dfL!RJ%S#&&m)@^;QL0=Md4a]E&g:: +pPdhI;52I+r/#^Q^^R2T;ga'B^O@E*GqlYCb&0#?H`+3Gp<3gfDpTsRRMV#h\\0>% +cSTPCXSs2H@]/qYFeQTunGh]hjGuSfJ6)u,N9ZU15m)P. +Bq<_3!V#oBUdc*(7?c;W0A;elSU,;qhPJ[nl2o']&_lDE28F]EjC:^u5T1X/5mMlB +r4brcC)9NT$K]Qb.>rEP^.D:l8T!)-3`P@GMUWt1\K/a%Zj6/s-5,R6n=]qAQQ?98 +d%WSL2K`c(T%"'r[*l16"()!-#oN3E2'2OJ/E24-W<%E'l#"SMAiUHkIlnhiO:Z1n +!oR+B<]?.E.jI!'q$.Xb:si+`@lY;&cVCg%4oU#Kb70>8t-r41VK+4\*7Y6Wjsme?\9SoSD4ET;AT$,"Z;:UZlg[]aJ4NuQk@3WT(jGnDIf +#cT0XZ(DW&4skq)71jsl-2HmkHJn\u\AR!6+6?Bbc"EY"jI[sEn1)QP0$b5!BT4DV_&j`5=Ju;TDj6Y4Q3t%+\Ppf/8Y#_%ja%pG4#`Z@c`TA' +(AVr=!9_+%Tj+MG__lba2$Z,@bu3@qcBO=AYDfNKKg.>jZolO%grrjt0s8(mEc=PaBZ$O)c[9TY6/6&d+l.LU?+-Nr"N3"0H^YZ^Rh2'k7@(>/C<(< +_ktq$FA,@R76OBR2=oLbMts#!qNZFCn:+Im^6g'4-cO/T!.V@@,b/&r9[%.E6Y+jC +m][q59cmVUNGFqTn)"[ND4T@3>I:mMic*t^O +hr+"-ZhQ[=ptRY14pM!J6Q/\523VA(eK2j0IR!5^_:6X5@rED\pu+cd;^k)M.XA952S(VhD +J0jp1MVuf4ESY5Mo/se,_J1s6\q$`>X9j!IQJXon/"Od%K.I#qh?8u&NmG"cnVU.B +/;h=e9qV^f0adY?G$lJ;)cJgpPD@'l)*2K^A4f8O5j1UBE]_-"^!BC-fPl@];dI +EJhg0gg1Gb'=HgF[fHGZgEs9^NQaVC$Q`sp)&!0:X[c)T$UG\?Rl\(``'kPB2]?pb +aQHU-f?](u^WE2kWfnAZWQj_8Ado&X!D67b4LKX$=9fH]9J;r,lfP?&HEOG +pnJkgoVP3+NKOc(Y'i(->u'XGcru1'[6sST&aD^im@fEdN7p[1p;ek0Ia9F`NK;4. +#4)MBL'oAYAmtbsO;U..Ke@>u,Q=Ie>JC".hcn`! +XVh$No(6T;As^:/I7io>2&cnE7ddi3Abb@.:)7>_!W"^(i#V ++8#(_&f:BV1[25.`pr?5W#Z&kJo,ae'/3NY-k,,krH.p`1Q3I-d;@p0Ckc&RN>0 +RH./^o[!)RVi-6MV'9i66G>r2kDLn^#nc]+IdBp,fXpLcI9_8'Tq@e[q![C7jc:Z0 +2p`QUCrCjN@3D?GY/Q4U-q]'t\-bKcKVAp-2rRpK3C8B\n@p4gdKI&%&D*pi!X-gK +_GKus5d[gr*'h%!H_r%$C,GUgSCfccfE`XWXd@!bB[_9doH>G)f:5,9Vbb4reHl"f +GnZ*I)J%Y3[F:Oa#AXUQa2,@#_6&nc@:bLe=@3S7`,lcH5PSapSH!Yab/FDk`,r0! +/safDb83gZ5lUG7AcVgOXAS0+c"W^Gl^(;G1hs1VY?GC_u:OKJEq3+7b,"egQu):ojcF%jHh]3!'%& +AUq5tncC=a^d@;i[g_a2B$PG:(W>Nb`!T#?8/eji2]4tuVc10-\J$K]ZCMX,?fdS2 +Tkm@]$2i]C:2[9]i2^3qBi[bl)sjim3Jn\hQT"^!<7pRUG3:'Yh\'4)%XR>pBO"*r +7FPA5\nC$6VrKg;IeQ<,I66Q\$X2g%Y&a_(iaMP-@dq*M%=C8WeM8/m@e-^$H2l<5 +XR)k`bc_P?0#&5&eWHZ2hN.]uB\H2T6j*22^ONK#q?@)Vo]hnD7ChZ.Z!f.Y]p:6W +c&g1Y],iJS8J!b,:bqJ=1&brHF-W\c.9e]#]t;Fj?/d`0dN=nAc$"Q>M;<%2%p29< +&9cIB>de`$@sn#U!,Z\84T]mBg9.:F_;?;?<'2OuJA47W"UQlE3fW2Q1tA&EV+j9d +?Sp1'2I`RIXW(.nu6N&p1V'ldp%#?UfYIOMs>RMQ;l[f.)t'Pf\'JP^6>E +K9B>t7KsFi5Q[h(NPL#d59=d'IlNkQpkJfcPA.-+>+:c54@lT.(o>j*(lq\@7KoPS +`p6W1*3RK`+ZCT2SEu$ODB\,250TFO5oE6[HYjOKZoJ*E6[Y;M2t5Om3):SViUunZ +c`WJP;3/cP900F.ml,(?Kg,^qM8LEe&W%Q]57G7AL]?4+nXK"Knj<[lIGX*N^@HpO +O1d0;:uH?a_uW*+6SW!kd?BUP1(jQ$.e*5Dg^!WSkDc.HfDTVfHi7&em]3EfeVm;C +1%-lF#c)Ntm?Fs@#QWc&-,XZ1eJjeUTN5uYDfe6pG_-M$$,QK`=3nc:*Zks+&%Mf` +gE1Y=@!^I\]VK%H3pQ3>,Wo9\nc\`Sn1Wk/c=Bd:b9DDTNBYPlIYZnN`q"32qRQsF +dHgk<+%e..`;[B2lgG&U0*i[cJ-oZb(PLcj!iS@]nF"j-6nu,W:_`0r;&JFn*9L9? +i`[BkW!GdgN[[LbW/EVPXXk1j\5[bpY"@VFR?&^oLJ]GRe.)qm91oDS2/Hi_)4AB3 +cENqrNge3CQ_Hi=IPKU6&j +U7mQJm*@0*BLZOH)Z7#r[11Q*Gtb=p[=(V#qRfZ'W^OV8u/APFfHV)u6!24i#X +lC2FGX_+e +h/e>#cUG=s6Q7VnNI&@o"/i?[IUDm;6-?SG;JmIGqYEb2O%3,e\A`TF?$Z+>l@4;S +hS*m_\RPB8gA\D-\5T21ade"u!$kr(6]O+DK3SD*`[)enrjS#jH<-j!c<%2]9d1>1 +[Q@#;1XlW1$E.N2fEW$sjn7:^L1dfgAe#a>"htQBFi,.%W]JBGT')0\E^rig*h<7* +mKgN=J?f1S(tsmV%be.]+Oi8*YsTT36lXm:*sXKtU/`!eZ,ONsdZHW,Y!]-cS%ra- +W1>8M4*JWD)i]9>G(\sJ1E;T_5lrB"*e9]Hd_!cR?=;T3l@j`r#RduZb!b8=%?taQ8uk(J&[DC"W=rPb2N3>SkjeT\ +@OV$>7/4I;kXVY+3^mM;19#FHiJBDbiFLp]8-G1a(MK521ru&_?dLL5@@6n9S8qt&X3n.4-Fl;1idm6WL?_0u.*bb]jI;_$ +.o$Qc`VY1p#HNnEgY(o"!.jRSqJblYs7^,@m,-R03-DKhS)#A,SA6uJ@LrHbhL7+s +e5IU*!;h-@LCYQt04_h#s$77_$aJGP.+X.qisjn`gZBSbs$818=K\n6Is@,T-P,us +^E4JBKUVC-(?;_Nd2+_Lcn(RAWrqcr%g;n3EQ.+m;NGb8?X.#fSeqDj.tBn!5Y*t( +83[X_GN&FlZ+l_+J+Gl,Yi-'HN(-qi+MMt>r\&irXh*b +=>o2-!WS(@9TQJQYEB',pJZbXdn>Vpc(UUL/ +mo&QQW6hF_2ksNUXApnulT%p4g%@Ck)lgB+Ds*0b3(&cJ:M6Au&9E-fV'7ch'?YK.WDj6C_`LKc9SYlSY3l`3Dpqm9h!m]D7([76D +e_?AQ=Ri,1$M4h967l#bC2?n;SsGhsZBSbW_>620_e:/f/m;D0f7F"n6bkd9%SC70 +;,Q(n/fGppg)j`9JA+-9[j73aO9a"W/b[h_A]hehO:dI[rX4Qp.mnSX='^>D^VIn37@R[D;f&HI#hoRjm:CFBmQUF_%(#ZqMI. +9gS\YptQnei^^Q"Dmlm]\X8DbPbI?_cKXgV>@8K@h\tter4b%^`>[TB$\(:tq>L90 +iih79h#&;^k0`7n%OZ^L.-[4F'CVG&/sd+Hmk=Cd5<)tuM)O&eWjKDe0`]aTs*,<0 +qu:qX'-&n+bF4#YD&6k_Dq,j'Wd&8_-s:0UcdTLBUh1RBq.ZPh7Cd_60PFnh)48)a +eps/KA7ptInKhjQS2CY^+7Kb\?t0W'"]t1OU4,;)3WJkZ-7TIYHU&LbY$5V=Z'$iH +>nV6d'ibM.2^Gk`>6)j+2fgl4\u/FE'IhtC)qDk2[.-aYbsJh&cJ:m=gh@pUR>C79 +n4/ZS:Xf\F]$tn5HM96,W=jHIBsABI5:`$[1FK8U&ITCTrd]U!88VONX.I`LfJbUt +5muThh55<3i!ChqE2t1kU:jsa3u[JlW)HnJj6MFds6T@WIDG=GiBXaN/WIE@:9GilDJGm<[LBEAD7T4(ldN68\BMg1k!UU&s)hJ#V +N5c0)_Z]XpK_.N)D4G-\8oo>*(Ye@sY6gseZf6E-Wp#$6i:,XdruUIqfJDB2%*T"23aU6Nt`Yt%rJ#H0hhPR@W6"]Rc;n8q)$AN[5- +`En5!2aW%%Lp;m]a3P262hiO&NrT08^kEmiJ<8g+4+dqc-NJ!*K+J_%\c_ZL!aNqH +h2;?ii/p$NK\R,_ESpkB[UL>f/&!AL;p,CpbmI@DQI_a(n'S!CQl4pB[a`/3K7m=P +mBu&7/sRrQco%5.hr9Xs*3FUSSO8Y.cX^/@H4'g3;i]Sp#U>nZchLuWtn\1;h=4T"5!&4GG#XEN_5D\$@Q42q@:3'>$RB(aB@KbpucVqZ(\63NNb`UY* +,Ok0:P-9I"#W3VS2f9?L_4#s6TefMs#p;>mgL;=`eRFaq!W55:_#LV!.=kH>_?kbC +OpE'SJ6:$_grS$IMtK`U8TS@-2QULC[B90ATXjgpphi<56oLf<31)8 +)Zn^!9`6/XCk4X[_B,6pGM1GKVo%j]BcV8brWRWJ6?8DInF:UJk;$NU*k"HX=We7$ +VY"U)*fQ`e8UBN3;p]$$ABS5*cYRFdFC`!8Ud= +H24rKG(?mBn]$k_#lAk^^VC7_A;ih"!_EOa?]j&oB,2Tm&3<^i+h_0Fd\9?K +eu#m.OI>?]$=J='PD\.hUNUG#1/WfN\S38aEIYdk5+g^t!_.eA(_?Lb.]u73gc1Qq +.uS`Uhl8N<<_71+dFo`XZo/euALt6<0_rge9$Iq;iF(+4iPbU,Bod649A%K6N2?n^ +PD!7(7X@$[Y*C\F7Kq$MV=![0]:rEbbW*A]"TOE?%0#d8B`FrTg0WAO*3csIk/@&- +1"Dk6_]L*f$:^6bc@6i53<,CbQ=>"jhCS?t+9(_#!5;pW\+9,tMa)\AdJmAIhlANO +\!u8]s7uT24qE_K639ABN&f$,UBUHdiX9*.qttgrn@-SiGHM,)]+K#ZUA'`EkAToe +Q'4GTN8DS]7cp6/mE5,lr]e:2nNRC%!HnRK%a_)EF%JFO')n#/i$#SUO7*&/IFlg& +GJ!A7HQf9t-i/;5M"s_45+^(`;jqh0pg5<=(,O6KUn-Yd*i"C;OFG$2FInSCQ9[Tk +C5pSciH$XLo7&\/b!:jBMC&UR\7Bos]brbZm69uN#;3M%T]n6r]?Mbn=d(%:6FK)k +"\9C9rEY?Z>`8OS(\kV[4]qdgEUZ/3^q4&?[lba!OiP:FU*qVX5K[Y8<6Q]aUJdn3 +R@%K-T$.VUjUX@l-Dh.rF2a?gI&Su=*,U657W&'3Hfd:i+:)3F"N4!J*2iaM"d%NP +?=a2m5@:5'g,LMD$5N>f&%I&'5-P`g&+G'leIKf10@rPkLS%kZ!4R/)=gol>9>uea +4P=bhi`V*Z35<6Le&=19KC167C*9'SjG[u5'g!^T_&mU^L2)'Q3aZ-um9Drt_;H2S +^mEoFq:A^>n3RN%WeCKXGk)Tj:#NHF\Q5lL?PFdi\I*leEjfF78$sI-?)c4*1,54! +M9ZfFkJH0S"N,05!-YFoSIRE,"efIu1Q!TOVZtGa,9[AF=>/4"HI48] +n/jUh?rl5q3I>Km(UY(]1V!SD3(LM3d`g,e$utZhfVWpds+YK%,?sln7J$P'@t(?. +Ya-Hi(+EU$COqo>I-J(1^;X#FP6TE+/(VcM\]^/cW/Q&4.N4dboe/ZBP1!hGHK%KZ +>[`Z1A*22EB8HN88_r+9LD+Plou$EkXpJC-=#M[k^]**\nk1euq:-e7 +b=^f9;"j7tNBB&i#Mt=QOaJrX"\K,Y!*j@%WR41\^?-joZIM/S60K($UN=q93GSRN +V;"=O[8P?X%cm+n]hU10.RPFN1Shg6OPOX;/-'Df_&c&[V=qc]+9oPagoa4a1K)V1 +<(Z;,07J:B(AW2!m%HV>%<"oIIuOrSQpWijNWok\:j$Hk(o.-mC`Is`+K +Ej]U5fIes4!DR6cJN]g,ouMtA;oBGoHDd2?YM3KY+Q8e^W#l>Z2]-XL393iPJ[=MM#5EZZ)gR*/r'Wq;;'\8N3S3SPb.q@;qqo+/ +E;sP.SSI&S$I4&K4BY8O-mrms5K&QCkJHq4kPDarI.?`5W;f5>[l_pZSUSC$oaE#+ +F4\4&DVbWmI<*:!fE\Q,&+B8loRlY>+"$l7`(p)49KS4p3G3Z&A:!EZ4SY^.bh17j +Jr[cp*_8Cb83B1/3f[s1aJW8k-dgU%#hg^Ao[DIWK/9G1Q$Jh653'f=SNGaVo%]#n +*Hf^!Em=<$K9S[_M)?27^Y^prg%=nJH!NoQ+qm-C[ +`P."QmrpDgGi)*;*+dokF))KVAi[P'cQ9@t,_126`mAi,KKXP'S2Fd$)REt7>;O9L +s7VEAl%1?srhLc7B$Za:\fe)A#P[p2QRl@-D/8'q1$=TU=Nbf%(QH&'qc?X'-X,f7 +[Xp(9%)dZj=f!.Ak>\_IOB&Q=Y'^Yr3Fh^/==d21s83,.`.eXr0Q)HgY%IT +,2GoA0@$e#AH]o3f(j6WlC]/61`5#^\E\HaI0T6H(.XbiafP:h0QqlmK@8/;h""=,SW<:Ga0(Al@J% +]CW#KRFC^&>N9't>@1Vk]rX-*^2/-nAQm?FYN77BYVI]8k*)pa=+N7bQ&n\5H#WRo +FE"bP*iEI/tW59W=5ISIfPZKh.ND4PNGM +OjPa.2Th3J'WFf19"Tu1!fEXDDaSB6;d1Epaitr"R`))nd/3C$>(';L+h>i`l,.:5 +nXV:Je7);.W +SP!T;ML7)rFh^0%p0br`,N4,=!<42MR#$2N(B"4G!N\O#8Uuu\5"01JVDk8Q^r[*P +!eq?UN?mC#+[-_f5F+(ia(Q$DA*NZ7`!8HD56pD5Q2/,ar14OAU+e&>1Hn26Mpfi@?^CQf +GgZ!2,`E.)$%55PJsmMW`VHfH.B?LA44(XcGQ +gdsiR-SA_\pRONni1gegT,hr8qp@M)a5;sJ3(aNA`_SXeb;]q\;_0u%0CT\'cSH51 +&OVRIHQ3GTi>2,A+oGhL1)bM`2?"8UKMPm;4s<0:J*N3lR7lQ&8/bAi7mT9*P'5Uq +6ie)*Sqif^_d/(9h(gUm,OD$IE6]"sB*dk1G`umlN"dQ>^3^e7qo+!hZM`P:6W!hU +A3^2arqL[.JZK67YJpcie%V,[r2ItVt +2i`E(pr6,kOKS]eDrp:cZ^'"0YuuWg3Cib:df/7#%FDeOVqbEr)m#2$="Mg8aTI*3Smt+])"+Xn/Oj1W3V@6#8!p;dm-WI@C3/]9F7i8N2YB^H.PU +j.Xt0&#FdCQ7O9;HM+-.?f0V1h_77/Cj:BYqY[(%X%^-+JDN#Fi/#d"+&r9XPCe7W +EGrCdai6f4G.Ys(8IZ:;V"DooLM\KrQ8E\%bJrnX0`"UE+VEQG;%' +k`'(d:I^Kg$me"QN5%Ros5u*+hDjVjKO-T2DAZ&_kYHQRSb?\,q +>"&3k7s=2_hh]-U)?4"io%$QhceFBXDtBS=kI"B/qLA9ijPtZ\I(oXAl2=q[#9lLk +-cR1gO?UkHS?C("HaCfRa"#Em073_&H2d]RP;i9/P`jnLNHQ*B&bnOBI.)Jcn\6SX +oCkSbSQY+^j=^cF-OHK=')[b&c@3"te@Y0soKM7*,;(%0]Gp^dOX-Q[=cpb2dnUX^ +&HD?HVaZQnFQ/.An;eeH]^L>t^ZWW?T+>3)%MAUL]*'-t%6q'# +6kSr4+n?jEoJ'G,0gaTl-p_74G"!m"er>1)'nUde^d7.JZ,$.\p2JtqE#!Wd6f%%s +On??m7"4T\r*=mO)$*hBU?Mk"IP1+=pur,1%R#UulsbDoa`oeaDp\o=9pqbW0nTEl +g#Qt+e5!e]nu3 +!WM::Dj:WOmk!#JmFm*%-n:4lhCZt@0BL=7IiS#s7<4TXe35B"gFgp+Z%&=Jg!5]5 +;`iN,[CXupYl/gab`+0\(\"Lss.\<@ntPr`.lOd0;lN,).5+hJWm%+_ph9G^1'9!k +/QU15.cFT8^M)K&2P[S_f,P>tYM!""Ff7JO=+R5H@P`h2m*Xp2`HI+&qt(4`fIHCjD49q_PjGJVK=++/M;VG?SC!3(LfJaL$JJ=3LZ>' +NsLgD=M1Og.*H([HjL12)r.ttT!64W:Ql!L\Dpe=MOcNI?^K$Qs.'f$B"$]u=S"#g +n175G/Q-JBVA=I;Moe>-PVKDnNjN[k=H,*"hE5ufNO#DSYLCOCs-B&'\b&2Gs11HN +cP]l[N1q3Ri;_.'/3j.Bn:)T!Fe#$p*ghuVSW2sBLGtTP*]mh7JH';5071X'g7jXX +e:.Df2t'Ups#3/9`VKPg#O1.6,M&D=?*+tBhk(ml^OaVPJko9nG0.*sY1kAP_E39E +T;t;e?_kIb4/;Uh79\2LY=K&d[OOaP@CJ\jg%8-3b2>$D1.rNOj-A**mArJV\'H37 +E+YcL=-+%UZ__?Z&2mo7^^KX%*G#BfF8YQr]cmSA&]d4UZ;!<57[J]_a!M1EVF\TG +8jXWdSa&N\%?u#TGJGYX5JL5f;S=XL$(uDjWD8`4KG";:,;:kL<(,6s_$F5+dK1kJ +.^gBD5YGoL;gUf\:fgPRrub*>TH,a4!U1USXNQ]^g?i;AWRI>&=Weh'^s`VmW=uQS +:]XN0$MRrtQW#s+oI`:V858Oi9mlO3;t^u5D6?P3pDq)Xe/]r"eFI8Mn8T6&SihR-s,h*;TddX8bbF,e\Z +s&e[Z4n-5WkZ9Vh^6Q;.h!TT_A:uuF*d*/Nahg[2!pn_/MKm])GhNf,TIK)5UYirn +^L%q4IVK;iTdB&6"0]5#o;nDXZrV.L4SW]+`$>'H?;HB85']9,a!9I%K:=ODSClbomEn5J($da +L&W+`s%1)j04gapp=K;L9uk;?g[quCeDIZhIF+F&e4J!0eX5O7-'l:j/UH$:P^PL^ +X?S5Br@J!,Xn4cC@^kH=NAA1L8^7b&IiS#d&'-DDTYu$;@g`fVc)8l?lM+E&cA^Ii +`7h>Sr84i73kX5"_fdR)`,:G3rq%o1m-')TiWDcH4].^i+^SC/&"=QlbI60J3+U,j +A4YAk;%?&(7ha%eQo[PQ>WA.QgL4$fUF+JF;p*dPiG2$h>#LmX<;7N!J>e)/Yr.`R +:&MK?UP'J2(0I*%54Cf9-oS'D3uPsY0oS?>Ld-W@D$^/OO&3sD#)UBZ;I/t%I$gNG +'AX0KW"a^.(jW;T;Pm$'*)(&LcX3$r2OWG'?Rd>o_#K6b`C*nUG\Ztl:5:a:;g1^9 +E-Z-rdbsaX2$h%hQ'(0d_i*[_Qd-&S\qj9'8<*jPqWI_l$N&s]/&A*hHbiF>KpR") +?dsH#$3jhf\3rBKeG^pf#p/P-QMbT/k6/9,fBn.;lcC!Y$K+,lC7%f\Ga4;+6uV\o +hjn)Wn-AsQ3-t)ocf%\+Z3V:PFMKQTP_7=-W)"(NWR)8R7NhXA5:A +`=i7l?>:7?'KA\M9MiWK7,)6Oo3cNO +mua7>g`O`e[R017-ELDe[S2J-&,;Fls6!lqjs7&B@c2arA8m7Bje9QU4.-35J#5SJ +VRR'K+nZM"[CUn2&W^DZs01*2L`5EN>,S,6LI.UDF,Cm,Dr38b?82Q]o57ZbhD#K8 +d[9osM;Y6p^H_/>n"1$dE>q])+U!.??M".OQ#,(Fl?3st +4s[/U`mbJfX0eg$Gr+6OQRNGSd"c]5/Es9T-@i; +))`_dXT9Ydq!3[oV!oIQQp);diP9TOgm=h7TMP=q,QODRKVg,q=NrA6\T2Ye2i(\FmSFo,@Aulpo_NtJLm`* +Sd56oXCC0PLVHb/;pl?TX>?rf270kRn7eZtrJ#jkl2n\9infq-8ub4MQN]MPrg*e: +e\Jr'c#!8.4X9gaM0Nr_M5HOfOk-3hf8R-p0rMA8`64.IRs#/7QP4(jj1qc#r4U=j5:3u +11k*/BP"$TD7dWe]uKpZ)V[8TS93NJ(U,DpYV.HV[NNQJ6G!-'2!aIa].\t6o0\qf +*dY*3EU5oXq&aOq'&0_0XkDK^H@G`">^#BShPtL(Tsr@$^"\(FdnjtpZ+c3_M=Wp; +5W^dLEUsl_X.58W=knG)]E=8sqZ:#G\fBScFMR2"G1/Td#.oiH]C_N\^cb.\@_3'e +?uQ-]6>XC[g&WG,NKKg7Ys&H0$$47;/(8tq4(L"6^Q0+LO<&&[J62g#54i_b1coMF +Ncr:U6kXf.*VoRkVH#"j;ljJi;:3F`k`^s-:]9>so/,=TD#WkXY_2+mSmTL5Q)/r1 +.!RaQ=?hr*3cf%L,dgtsfeaCI2jN(u51jOLDgte85]udbC>hiNdf-Nfa?P/oB^Xlq +r.T^@9*6]2#?NNmt^FhKhgfqeFkS67uc!g/Ob9l]kqH4N1b>HU\;LZcT)6Wpo]G9Lqb6+@AB!j[eP&B_ +S=jRNZ?7q(=)\Tf)33Zm$=`G^DP72ON3&`/21EC=p\ +(kV@_bNP>8ma`_lJ=]*s"[;Wn9%ua[-^Gk$X6?nsc0@jTp-($FJG>7K=HapZL]p$U +qBB]S;76@"FW++OZcE"s^F-^G`;jt8!]8kr!3X`j=@FK^h\Yua +6(\P+6XL8MgZ6!FTD!LnPl!R?#FCATCF1<)>sdjj*9R9X%"V0).LeeqJ8\6+4s@?\ +gYm-q.-I"gmQSO&Dfi(S#VT27Wd4j1*Lmq:glbu0V*`V/N3.k;5T9:%hXb(@aWIRE +Ioh!XgBr_^Wgpe:E;d$ni))T!M3RU&b(%hTM1a_sd:Mm9nh*d2$iaphk_$I.]="/U +25,5`"HQb2MJBZ9Q3[?g$`I?a+MM"*G?&TB/Ra-o!W@@hWD*s[@PA#-/8 +U`3q:_`Vf3*cMMEF:c#F&/>0YHIrhaSGC"^cc8?p:k<:uLCFoDTuD=""qu>D`HXG\ +Xi+kcV?l6*f$ar>6[f0##X!d18,PmW?gR*C5kfbFo`()d`<778Y`4nKA7U@IKq>+e +gM3eGp)X"ApZ`j)d6E#s`790,/2U&E(m(bbXc^h.It3$Y#41aRXIZ5C[TcI%mP4C@0btfgNcR&[ +#tXXC(?&[>Ghh;SSZ0MU;sPID].NZ!(pUO81UaWg*GfJg*b4$uW=@UY[r/h2e/gbf +YXOX#d^e3FWhs'g^l+^GRS_W%)EDMV5Ars8Y[T"-re*[73o +TK=/4i3Nj<$2hj>V-/\PZsK@ZE<\Ya#&S]aLPRdn]l3%RK +/.g8o'-Y?&_DM;Sa6q*2r2TF=%cP2o5WS=`e>I[H'\NamZ.#0\$R6[%DTS9 +!9"d-+Q24^((:3=B/AW<,0X]Aa69jJLnWC?<*7OIcj)3`mbEA;4MH.cVK4YiF\3dI +&iPdYV8.R#mjW,Sr_KE#K*7.2FF`h2A\+;c,KV>7P8RYFX%Vm_)[9IQ.gD__-g:_B +JH&;`k88VR4IOt*g&_-'7+RC<2/C&Y4+&*WHU!03!1\"N=?.u>%^-$1"24TK/%Pe? +Yft,]!Q5&F&0/caTGr6Cr"9VGOK"pG^S5&,-ZZsG%Asn^"SWAE2rf_sDu2#^J34`65rBbl&0k8K +J10?2$E#OLm6<1DqRkD@qprOfi:$j9)`SA?,$p@NTO8eWkO;1ps&!ji@t9'8n1!kA +54!_=s'@SG(U+D>o?P4q)^4JD_hWoZ2F?:g5k8mg6NSq<0Q6hBGC,I1"7T[]!V!Qa +rk%2LJcA+>nA<)'bZ-!8U&SKth_;os+or=[_].k@pB:8To_r4m^X7@n8Csq\Pc_)a +T*mb*%QZ'L=s"MSk/EHW_<.&0()F!R>M-QrZhNm">OQ&^g?G.fC?XVg*#)crag[-D +CeY^^alQ[d";tcq;2MH%lhktF[D1+t/AXVQn6UjiG3[]qlAumkhh9]taOk+?fW*!I +WlNt5@VEBmq"RToYJ'cP)h"ET60(n\n=rI%G'_F=fQK@0#Ij!c[apWB`iUE3=ET +]PRDLEp^FBgqUB-ZLLkq@g+HaUl'?Sj!qf^T,t]Fh4C-49]BsRa4rS5]4mZ-_iE3l +&)EJ]I,>b4FA,Lp*EA/#N_/W]l.t:tY@P^\ALXKdUagjFotap\_9Z+dr,>@X[`t^m +Y@K.ao(q4ll[Zh1-P\U[9=3XMl2J(hRUs^Sb5eu^*8+;_!oQ:m[ND%>'d3OAZ.G=4 +=3_64R;A/tSH%9,Ss`QZfE#(TMm-RHda5i[KeBD>*-cGe-^*3a)W3uGoFA#.aHC$g +-`M/LVJ.BN*WE9eB//Y(Q)/a5dRoH5XndBq.<,/-4Fp!'\3LN8GD5YqBb'^+:)9gq +Zhe:QSYMnO]!1>MaHfo,^$c?Y+3roW#+f:o*dXAAn2A&]mtJZojn>f%G-8jZ/B.;a +s/5Yb$R4hG=H1J,\BFj=FB#A;<"7.Q[&=!6pcfHl%bM$LIj)B4KOBC11D*NeG($AQ +E?B#LkP8dffk>=N8AM02"ZD24<=X:@Xk_CWKmHGY-jWU-enu]E2J> +.0sI?SlS,I1?8umd:jd6aMCK+HmM(e/ErR^Cstg0O+fM%nu@8/\:,`13g%uOSdr-r +*`)*hcGjl[ir$\E$oXC$1RB>Y8F6D-CIH_2aciD030ki#K?W3QmD.sL0b(qZYumt\ +[%ttF*gk0dW/pN_<1jcWE^:S2hN-L/+[p63pKP;uFp0u46uNe2G6\k,#=;6`3ZM!Q +aMl^1ihaFHJ;^^^&.mGei/^l0;=u%4Rd_eg!7Lm?1.&?V>psk$KY<'%mgag#_g):J +UDDDP$*3,qjfQ03/_oMPU<8%s-<3`F-hg&nmt2P1TB][2W'('%l/Bt3O+,d?ohu[i +.2`].0cI2RW`1.Ek_UeVLa[-MJ(c5#!XWPu5HNo%D\,#2$)e40)(muA.NYMC&KO(S +mWAf5jga%O>jVOaHnRQHIDe^(OfNo?]+**BRceS3GI&M0m^B8")ufja'sQFD!Lrlq +f.iljZimHlq&9sNE?Yhhs!Ro.@"eQLM``riIq/Jq`pgIPClg$f#W=>o"TF&R^O<0^ +rga6OHOT6OY`IKU3$6[p3MGWtD@kf?&ftF)%PUKH1J.6p89JLaT3t7S%UXa9Ub)c> +kNldVm%BAC;YK60r/E+Trt^$[V&mfX?Z3EYJ[Lo^i@T@.gR*H%R)/Y;@(uN:PIi5u +D:F#-C:>X-]*WPZ5/NrE<]4HO;8fp-XXh6u_LF]QfPZ,7%?iikVOS'.#r#q8>#9ZP +(r96Hc8I#!#6cS"gF/TSIHn*%W@PsUl1%Z.^O49!k?f;"asL6 +H:A"Gi;Bca)Hf3b31$B?*tiMqc9Le?:Lg`ln5NqT%/Bj\Vj5G<;uhE(#h5!e&C(CU +iO?UNaNbT@/8#SW(/fMA;E>WBHN=%1oiXEG^@,[RN1*g/[omU[VIUkqd$o?i;\jRUOQMd"oj(S@.4V-Xr@6#@tI=DW-0ds3\<\uIjCt%2S<`a\fJWj&.?@) +jiIabj7cNUO,!R=N!>W0EN@*)[1F.uE#Q`D.u(`1`e#]!Bn?,k-g_a=RM/YKXm:;SL,jcd//!q>C]gLE"t)XpqM);luVVIgrSQ +JVH]O:0#R-,>/dXQEa%?"e2:GS%.uK?aH2t>"Y&5-HbHsh34S!0fo>%QoUV^%/ca= +BF";7lG7R&^!h8tM6,"-N:tp+3jljGj+:Z=84c%T%/Y2Oj`G'Gc%*#"4F`HC2STKi"XHNh"9/I] +_#FZ8!9[l0VbC'?o+1cf%4kP#8g.U:14e2Y]M!1&-jW-> +WRoI%6&u_mB2&F$)ZB+sK-,1ASggGX8Kt*==9SPW-if/iK7Bl^h1[6WDF"FE&rLE2 +mUgbKnXXO$T#]XffZnWGiHZJ2cF^1LT+CjD[GeaNo3;fW&IEtY@Db"(^gHk4,_0-I +jM(f=r+r=ITD\G,,Sp:)0`U`A"ZGt%UBCj=1]KBe)C+bRR:;9qJCBKO/_K"]n$(5) +\BE65^X4cO6PftppLAq1-WodhCi=N@TKA(pVAFN@*TsMjG[)p$.$@NqaG@97L0HIE +qj@ApQnDF(PORcF\e#ZOaZV(OPbHptG/g48UdNmnLR) +/*Y&Sadl^/TC,JRA4OM]D/isUmRm=jJ,3e>PJ5kBn\`'lJH%Q4;t'0:oBe$Q24JmQW::cP8Z'a7UJ@Tb^fQ'UYLp.(IP')dl[iG:EcaOaCjb^M0RH+kI +r*SRZ&bd>a8aSYY#=R.N]K81`r$R,Fa=tqo6Hqud0jH9$*E^!/N*Bo"jkuKNdJIU! +8R2^l\E%E`U\E;Qc("=BbCpjZ/2eVmmJmAYTlR/H!e3(hr)Tm->2^ZB01PApNa8mM*q<9H5:$C&OC +c-Wb>Q_+LM96ARhK`CWuc*O,kD+LK]Y[#5L>7e1Rr_IQMJcG9SpV8WRO0o!7'E"<@ +n2aj"irm,7L>P8A!^J*jiNlD0`TU'Q)MUT$`^Mbji!7$bbI_=,FkrR;_`ZunZQSc; +^Tup-AHgrD&j;afrr-u`gM;FWQNu(oB^cGlg^j`>]E3$[0._&`s7mNq!(L7!l[0'5 +!mG67b>*Z!Q!=bFiY&ic&ppNcg*`YaEB^D,#5mYhpgsLfq"]#m@2Ec$;n8P&h&l_S +q(fH,q)\:nE)2XJT:e8'0GP\eN$Vf@MD7q_pu\hLg^9$fkJO>X+YRiZK%iHDp(CU3 +T"->P*&i0%,0 +Jq`;Od>^,l.'@,\gl-TB,csFr%3PZRiO+@=)L_iP(7mo3$K3R3+!iB:MUN=0'LE3g +VZcu3V4^/p09_)kJ-9s"8sPRNrZnHoVRkLU?D[N024Rk"[$Pn +^F/]dgYhfV#Q_jF\0+7?dLfg8.=0P_q&CZQ3onoXOIq[5Jd7qM%H=+:gdbF*nU*j] +(sg)$QU>16LVWrQGlmAM_d2Y_DY=,j>Mq_n.<)[Bn-=U0!5J-Qr\Y6HZloGQq\ob; +-P?DehgiJ[kK(XT^]sft,QR7+:'!7G^kUVD+8u6>#(J7bA;boO2pu@=reP>i8.7s%M9u$rqf]skF3<'u +g2"pfAjBM_1X,MpApQ","1FVkhCa4=]!X>&+#[Ug>@7IZgqs#,N2SlD'Y+)e;D;`< +//X'6bl;?!&6h>u^uea,(Q5hnc.]AA3iLB325':EYZM0?JWlsqLH4I/7>5WW"FD6u +?praG0t(&_*>?Zua3)@AU#M(g'4(9o]T(>@bgSqgAdS0A$P-d*Cbd2OZ_AGF`(nup +k8_UK*/RU;S7?_o'3JSbnZt@Xr*r#/m36K%`S\*qr5:Y\X$`<4fO]GQ+T@:IBj^:( +s*SbM(]..F[E\Wp-M-h7ag\>sT5@7!H%5N4gG?fl(MfO*;fWrFibB6mS!OaLkNP=O +OiY-(fI!*gPH@phYikWjpk(BRI/M#;p\P;iU;>bcnC)n)=@`bd3pl_Fs&\c1I1/]I +UJLm:q$/n*jN&Z(\gF_oB+'rSI55&LoqHVlDFRsP;?'7ip7Y.I-^37L!m!PDX@9%4 +"^#(m5P4rt)#3^_.IG%C;QTnopO'eqH'O:DLi@56h6Ai&dXcmSINS)NaU[WEd#2BH$b-^58ClZb;ITp5V-Ker:L,e.r"e,Xs3/tucPciA9B-ife; +8T$CJHp4E=.Agl5Z=Su%Xc$r\(VG!%GMs2CnP'DM%D-mIslGFpFMi`ONn=u:Hsj9(N@H1<]@[VF/`H/P*XdSY-ff<]WG9\P_]4b +/#NUgF&Z)[h=G>9putaO.nY>jSf@bu#VZPpHs/%PoOaKbORfHUFA5ss0^6KKD9A!!!uJC/)ed%oHYVW!K[:=n"kbG$FbnSB>FOBs!R:dYX*f# +*FT:@7B`qi,J:**\ltZWUe-_mM96b>*Wc:V:4^c\J[fkJ6.Nf25 +O8Hf2MVEE;]-r@d![A,MB>^ +=V?L[\E!CI*bU'l$g`.?D.7E)LqA'hl&KoWB@b13m[&=0-iESLBjVt+qSkQ8/jA*Z +r7TBV*tDgGE]d]Pnn+HUQX.H%qLp5jdFI1KK?lb,DOulN:.@-86o@ZX9'9)5!WK9C +PUdWWQ.2DQn=!+]HhEEVb.O=)nuKfaF`W^(H7*2U?ulKaHX]Tm)1:RO"\C%nhtVpO +JkcgVT)kOnRg^hYV[S.>&(k7"0YDRSP^*3!q=L`m]((Z45G$*9Q]!lHe\V?'#L68N +SEU:)+4(J(l).V^/`b"3ahcoE!3VYEjOi%@EsB4RdQ6Q*Sn!EEWBRVl@-MJlW"47h +!;POD(c_H_<,fI:h$`kmZ\_pI#S[2kRCElL7b$38<&P=;?-6,uPcUIm&U+3PAFaXt +`]sh!?_+*DSZDbgo[)oG`H"lNX/)>tW7Gs;_aKl66;XH=PQLat!KS&5Xc97^7t!Fu +IP+e2!!i(Is,[,n6KqBI)[$3BG+/GTJcBJo8&0UN$=-UEfVG`k4VG8;0f8 +[i!T*&CWWUeIL"-Dqqk4[bC,,caP7XZk-M!iES=].6q:M9S!.lpQ(o7^Y&2!B=cu< +NP3(eqW]9M@KIjpe*o]SRgXiVq/YEn;N>3H$_7-<>c*^^=Mh@Gq0\KU+g5hWm,1Lp +d!W!25!o@u!Q7CT0s0Ju%9cULVU3g]QJ!W!UBV\>;iSRic5@71]XpGWuDtP3q`\ +'9D5WU.V8T'V'ZPhgI3F&IuYT&)k8IoOT*^kn[=!_*h+&?Z:iGn9I6rEfaA)NIX8Z +9(jGp+@,]d'N)%?X6p?I#FU*tOIe3I4j>PZ$%Q5@"F/]BLkS;J?9'Wu,Y\:O'qN54 +m\i_]*<.aa.&c>i +6ilZe`=;a#K`>&b?`QN]2'j!f(Z$\3j7++*,2=2hm?mnSrjuA:s2!m]e,0_DBlKlS +5dhX$-hd$,h`))m>l[7rU-7j$q#;EFr;8Ms]T3_W5Ilg1PRAZJYZV.6mEQR1:[l/mgp4O +b7G]BMm]D"ei853^RsK"MaHUaP'+R-g1A40116KUR5FqH)uR1nUUKJeHOUkD7LU6G +24tHE1\U)iG0j2IAM['Qo^JGgHn%\4[EeJW3!f,5:LC6M1\P\-&`:eJ]-VfA@TCLuIZkn1# +'6e6$pp1&o?eD17mCq6!G(tFV.g,/0]bs$U3q`-`eLL#@gUP"uUL*R!TCmn$lOPWh +NN1MPo;1IZN=uoK_u)"Z7*d0%!_&I(AW(99A5K'[XLeAkh)=G'qrl;\;pj%(pi`/N +7d!HG$<1rh%_b"h]S7f3.Ps1$s7Ye5>okd1?]ptCdfkW>6IkuO2`s +J"5nudAoq),_#V0OGl::3ra<8&5[\HT^T@jj)6PbZ)T(K'qG`]Tk +1u4"cb>ui`bJEur$*>*QY#n;]04h2McDp.%AE3^eq:m(Da-$D"qd8NeIlfgc`u48R +;V.G7@l:N88gGG=ekHLUe7XU/ZISb@F\)$Xi)*T2&Qq17,Fsa1Sr8h.nEV2"R,HIF +Lg!hg3e76?gaZ\nn6^J3I\4dcD:$H0E=42c%/?b5NO+a!Zf+VWgq$qo&s*FX5B\6, +=sq1:B5JhIBHKH9]k.%u`ZC:8)$h=t#iGAaL +^knWHSKtO#&;;^Ui:H[I(:SVHLKe`^M$*hY0f`%=#0?TdD*a56s38:Pg\i5f";MUL +X26=dr`IoBN*EFp/QDt>$ud[RTbY)m-aF%(?sMJB)Ug_iC`!jE%#^Q>!n@.Jc28q% +clZ:XHA$#35Cj3JT"$Gd67Khe:b2!')o&11U0J:/dk>EcIpIuiUT,!b<$2.;mNcr\ +<1N`\f)9rWJ7cR.NSZnOH2\)#5[3G^C%/eOhP4,f'*nVB,)Y[\&"804lG=XmL-DUN +4fZhRG`@p&[C$cq378Zc9_]0kTC6BQ5/6F"0NX`_(ItV9*X!#h+;_sS*sDL77?GQ` +%12e;rs?n.Hh\3lpj_8;j?N0a6NYh#J,`4E#li#o^h3S8Ql,u*/M(#9GN^'P1\Gmq +$MCde\X<^dN$I*d7*_li,E-RH>im?:TnG?ga!Pnj)c:rM_`!-/@0"rpE&LY>1EV]Y8%brC&>f0qQds +>hD3'ffU$OV%u1Ks30-40;orSf*q99L3X6'!pN6drCfO>0HZAUdX%71s,!9KSFY5E +^\#$#<;I=%#JD)dYLQ3J!"mjE"G"`q!_)"n1EsWm43R8^7e$?5T-&VgH30.JJM,lK +"o+_?/=^!Aq^e?]_DFoZAsj_/3Lc"`YZ'2$Mo.a[`SbpR3]"96*uT^O:'O+=QO'`@ +5[u"K%Ff%X'KZ8)*B_,e3E*A:_]66AH[eWkDEf"C]s5"^nVdZ#KPN(G2;j2*;ZVnj +ZFdsQIpLD+%e(H$-#!FP-W;lQmMl_>cp]cWA:`i9QNpi(*W"OXWINcmrqjs^^KmCT +Ir>&;l%+>S++'KTR>^B99p%)$3l_Es'4LS*d;>'Z20,S^sm9GcqNUs.t_eQ*elG3!m\NWu_r)F^.!]*9M/atAdLmmJF +mIO2WTGI\ocTifm7+*M]b=kkSn:*p_18!@$NN"HiHM*"qoF:E]l_`H!(*&Ed>Gf4q +bW0s5B-$Hd]3F"HDNDNFY(\8(,iHo^/`Ha,X!;RFQeOTkfgCMpMRd9Q#e?1S#O"3n +k:8o#6FD>bY9=^E:?V-@^s6!kF5QZ[n2;#\`f0]E8iKWK0$r$YNs0#.8*D1/q +r]bdC.T\O"fgRBB^u6ZiGXgm/[3,LF.;d0+XR<>%P^pUFVLdBSJJan9K%&Snb1jTO +OqmB,ck8AH^k0nHn?W&7WkO:0OFVYfnpAgPs0O;\#a\(k1;=N25)?fq +b;:B=lJSs6DO!8Y*23Eo&_&igDAtq52Zj$V"Z=)F\/bjY_Un^GZk?WOac=6]X"fs._1SA,+? +J62ehlb.a^oY9,pn7ttLh6sP1r\k-)2[Q*5Mk2bE*`qnR1oKlRK'O]1-EK#hY(>s4q>Nh3nDIa +$nm"p`SPcGE:Kk%*@;7\Z-Dr.?m$,uJ&$M2^bN]U1NOd>1BV]>k0=u`4'Np?B8[<3 +M_KA886:E\B=@RP1YN/)Vo!:!_*O<9kQ@&_5D-G3)6fS2cMu9D9P[SH/n5(sfM\>Y +L)$ZUC=B=HuIf'!mR^_IF_pK2k?BHkC@3W:#OC'`\ +Ws8>0EGJ(]R^E"4M:gsu*#3_t;t4_2M&k'M/b!0Lpij:*=8IapqC-FUF@&(a +KYTrQ1]hRpX4(2$$2c1H+(.8RrhA;QVT3U)i"cd[J$,E&ScesFSK5MRndmI9`EqJJ +dSgt?3J%42q5Uj/K63Bm**E1)g`RH"QFX/!iS"p+_]qu^8EVT&'_jm5+e=[.)<@'+Hf+/^I5%;G$oS_q2&9?$&Dt3bcnuis4=S(IrfjX$$2>V" +3@/F1NKVSF)V(ET2"$D`o7&4"HSVT=?oolR#6+Ao4<"_^T9!ZSNG]"#O+l+Y7CUJg +Zqhu>lb1'HBeI,6JW4'H/U3mk66Hh]br"JqbNDC9[(16@^YR;O]eQm;"l9;X+0e-KCQ84k[@\O?Q#nGL-&=!uK"r':]E&BO8W:%,k"TNj#MJFIDP>RqH$7Ls#p +9rGJ0"97>'0WDTITa;]QV5R!4WWF9SO'C2pEK;++@\7R`Gu)dc"n)VJ!$D:R"gn%f +B_K/5Ajl7o'Qs18C%ltUi046>AO4Z(!B=O,Hl/,u$1P\oZpGZ*;T5UPO)EOfFcJjI +X8"RNiUm:d[G&^AOf/JG!#;]M2]*nDa[2TJIDImh#]p=G5N6mEEV^6M'W7^F9#t%6 +1*]O7;5K,Lknhsp,KoEOmhHlCU>k7CGUVMH6^>hRTE9(*6@e3kHbfYnm_e^$+Q68W +Iq/96B&8_Tmc3Go(\]1VUE#g-/r)D6D86/HI$]8sJ$,gSci*n+J(UXrcbK)O0?O7o +aT$DWT'$&bgYb:5iW!L7?"6`60_Ung2DY<0Cgu`" +#;c?-!F'4>G9'WYo]\&(IN&2Bs%W1MH[\ZcY@mi!3reMc!W=60IM)gGK)h!uSH+.f +4BA[@Aic;5O'/bo[kN6>ZU/lB_Y7P1E3'Mo!X8@_(9lG$&->\u/g(0oZ3RBpMC14! +PF^uMOQLDIiGFbBD$H:FBTV=oS/#_/*GV#VC6@\gs,=;=m3C"c*D.l'5#plrXXWUL +Q\/P-!;J*= +8%29P46G"X6S0PQF/K^Rg'H>pO%q^GVBrj)7r/aXX( +-Gf`^qi.R>/l0,A48dj$Tmp;eqr>oi.gQ^7qd-+ui0BfH2D.VUkG"G'U!L<_m]&:n +QJ2%I,-e:IgR&!)qJ +;qaMC`m`\>EWPr@"3F8i.FQVfG2U+fV]5CAY<4fNJ8f!C";mHO%o7'`_qh(n'0/50 +o_-+c(6F'\kScm#Pp2rC.&%K%gZn_;gj;``E(fC\4\0(JYZr2GdE?sp&O9.JTr7Fi +q*"lGn9[h=Je`j_(&lP/!A=Y/9*[g6"uqmjJ.fEmMgdiX!R294D$.Y0iCGDdVu_s6 +`@YV_%1\`":E4\4T4-VsBJGnn/a&AjL1%t4#rImZZL4Au\3$(L(P`V7=Zlb)?YYL( +>ZDeh&)^g^p-Xi:O&`@?Q90R"^:Qs&N!:94Y:aib_^VO:8@41h@rllmbImji`uM>$,9q_ng(AO=B`qF8Iu',/N'$[#hfFki;I +ItTC5`f<7&N&s?P3$:#PXRYeEn=R=J)6sX[aum5"iFke'1h5mJSUZgua0Hf\H7"F: +ho(%#25JI\\tF0JYT'f@%9VrW2o%6^k5Y*&0E=2:&W@/*=ASpDo`%K7coV33"GfYG +K`V1"%B+o6bX9B$-PP'&90Ka9H@@s.TtBuJs%s#(V#Ks1ru$;YJ2qc'5ah/$=8J-[MGdp>(SE]r/EO4+./"-C?":2@Yq#L=KC +:\WMej=A?l!H@pU_Ai:MkD'gmkT"L&JpWZXdIe?-Y/#O8DWnRQ8>OeB"0\sS=:<_+ +B`S(/QTXu87\%L-4S\icKN@G'cG>_ZQ3dTWcYA".Dm#.RX]uhIruW500R1%8=3%30 +j8^(mo9Kd]Z,s$X%sD#Momr>-mM=74ZUqjjdHuI<\`B>`\Y*rB2])>Jh&QFkVn*Dj +-U1iSs8Dlj]@2DI(CpK6TSiF.[D>s!-X1;FKoZo +?S"f1+gMpl.bBE>cU9\-_oEu?7sHm6%Iga2a_dL1Z3LjU51piugFDb-9>MWAr_:l" +CSjDL\+$[PfBV:4hVHVm]/d*A;>L%qY%)^)H$K#!&8@&Q(Ca\]/-dXEr;FLrS&.H2 +Lml`u^^'k&+:`;RAXYS!@Pq(MG/m9E9!s8*Ym;>p!#Qg8=LjUO#/CHM(eeZg&HQ,M +pRYo?VDES?E\8rWS4cMua&%A0,cr)n5ZqC1Bl+CbW$M&9Qs+WSX]g62RC`Nl2S/k8 +iU_lN!gSm#/YK@0]W]%qZHsDVYY$4><$(t34.mEWQ%=`0$sTI+6,a&WRX8MERXuU3Gl:n3rWCs,HMgTZ +nnTqhW;$7e_=-R,OF+)2>QiCcrLuYadMDeo=n&YMo0b&WI2mSqp?44^ol6mFqje7N +dJW//s5!&;mKYEKpfIH5-9kVBVg\>1m/K0Is)QU.MlE:talfk^8,1.%3eI+I7d[RW%dg,g*2NKQ(u^7< +0h:G.=Z]5lK-Slrs5EkF'K'ir*l-ZU/)uF3_q'FEa-:"D6s1A0_gd==@)dL,R&L)g +%.8X8peP7d))Br1ZC3Etqg@F%tkVJWQ4+_qaf;@I8/Qo5%n5HueCJ)BP@Lr.-a]s5F6\ +n(Id@['MS-?9=@t%WT=*(3Wb&+gZ,Un06[1\t8LB:]^L1Ff.=!qS;&[G;11Vp6:H! +HBM/J['PCC38krh"RPiV1CPB/&3/U6JTEgNGmsiY2:)ZV";bT1b]Gbg(0IH[)K;/# +R6b4EO<:!BXSL!)=Y7Q$A`3C!\h\lllE?2]]eMf.5G[c+NuL-!ppI) +\Sq#FEoeh^`WS/e9C>tU&^inEo23^Eu0 +1([\#md"t*'ARjk(?1.ijnR,&l10P8DJ`WaL$+e0lqY62'n++PiY-D$/Mk[PPJF47 +S:$Xc2[?Xc:.a?u:p!u!]Y;f)r*R&=+i"5n3$855'>^"Xb-0,#P6$(Cif,7kc=Z]X +;(gZEJVc7?qe-9Y'3XK2]-j@W-R)c:d;@N#)bFsp9PbTC:N]0+g1GAPaIrT)^fUem +*Sl''"U&`E"p4$p+;k^oi$dj"-=#%;hZOPlGCs:332I?(@8MQnJ!>Nln>cd_2;lol +Gh`E#PPTZdTSt_mir"RnUTVh4TDgV#EOLclm9@U@%586N9(!t_`u#U +H:)@"k]"!5#nVC?hLU/@%NpX:\])YFS@un3g1*Q3m\X7`;aIjV^k"f?hIX^TK0:Fi +:_ES-Jpf2qDMHJ\4]a/b;%!RLqjK7K))Eh'(hSM=EpUE#s4Q>Fq+(3a)P@,r/Kkl` +r+Pp@I(;ZfgNuL0-bu?Lk2Y._a&q7q#lsa)1)ZBOl=2II?2r$D#7^VL!oO2Y-WA"k +F-c,-VU%/4i%>dh+3phsg?:uY:bd_j!^PSo)i_WGVtKF2)d8>JJk7Nr5!mo5RF64SoQkr2YD%ih86]'YZGr#kLI*d/1*K=CDk7H +R@3[gnGe=JJ?'2KH?3X3gsOX["(^$QCk34$JY%@o*(Ku0UI_q0Y&YkkCHAGC+W\8g +KfgYDr"Vsc*<>Z6h&'M5U0YAl$F'Rjr,[,jZ>L'b"Mb(j17PJeUM#BW_#HWs=h?BW +lEgb>+=>/V"O1+9dsOXBX0_SS+)[%O^HD#Eg@.=E9tW\To"IrtiQV)cVmLq<2u5JC +6]Q1I6b/L=0UF3>7<^:0F>(YB%Knp"q"KIV/L7_TB65!kj7fY$oC3[,')7Mdo]&$1&j)F9<(fgRR@'!8:*o\< +&3`cU2(Z\Tcc*7B`4!A)<3G?Vc"+2jna?EbSUY]R%.O:O)=OF+pBmJk3H#OTRa(5W +HLU'cipCjtnGhn+&br9;]/K3YL(4@_c.-fYKA_`Af4;:.!)rs:EBL'bQei0;f`JjO +%;t@7YVdBL+/6`N9I0u%UpqEj!,O3`$+sj=HUm+b-^37,('&5^aHk3`&hoOYNdWEG +!<@Uo$a9sdVi+eUVKIpX+OI]N.#]:a+=P$/d'O9:4RS9J&^uB[otB.I6]ncD+9=Ze +JEMf_,&h6=$;cMCJdOaKJ.?k_@j1rH"ms#7RQZ-(Z&lQqg?eB'L\q#kmjB4Yn.C0] +!m#%^i(F=V5QsC\#/]Z4&Ii-#K%co;]Z/FZBP_`go..mO!!iUUp=Nr2j=_iS#E#`@ +3XU+*@#@o4Y&<26ebS%'p&9e=5j@el8ksb2 +HLe+On*_D&B];0k(-Vm.k_Ut]Lj^H^5&Z]c4H9:JqoZZt+)4U\7nha*(T! +#Vo3_8K*3`3)?MM;jiIKXCZ*3>*a:8H +JBnO:16\nD/0%nG^qR/:1TH`3rP3p,BVilf@QMPSNRQmijZKV@I<08drRJ^pf*D>c +Y5ROCn[E.chOb_^UN#dBB.!UtIdBe3C+5p%2+t?G3A;C*T8DrA9p*aj9Da@!A-#K5 +_TJ.NY1^bE#t^mMWWr75P,Wsn"8U!V/L8/mRuRl@;e`AD]HFqj0CZO#k@q-S")URH +(A>d*kn6&82.$FaV^gliHaJC9iNQM@J/h:p2O\9RS&,,SK4>m3R^ho4kA-]+NP/m@ +ERUG-bE@)"1^*T'aZLi0$@HmRibY=\pJ6Op/o0 +2gBrt;?PN[.][cM:@qt9>deGqUDr&C>e:*DQ&R01;t4-<,3c&1BfrsE*+gr?@PS6K +:ug5HEZ:-kdF8qn!!iV`]iZrYbf4^44=O%oRRh8F7b<92%k9hVb2Eirj>N*SWO0q_ +8Wu'@ECel`&_3f`Q.i1J50h=]cNiqHb6+Ag$E/76iIDLH!;La@4dfLs3:Sg1FTI3ajh.P5j2e^&jT&bf>g^;ZsA#1[r0[PDF)rX;9leA +Iet!f)j\Qr$2bSAruKb>G3ha=IGoX'c43Fo^taaR`BXsXb(pKrWrReAho]oO-tnA:(@;e1+4+Y=2oIm8=opCk +oC8=eh>Rl_>AY8l@ErIfkg:$!S\G=X>hY[F"HO.bJ!0Vq3N\`6eMhiXJ+:r@WUg@/^nGM@1h=0].1eqos1J(" +CQeaJ/.atrs5r%f],P6QkJ;<0*DLGsFb;Ze\H(rI_"ic4@lD#I0!u)bkL]NEgbh@J +QY;"S[dqNguqEQiXX_9cM-AqK,j]% +RVY$tH&U4VR]Lg@3:cds`:%nli%>!#p?4_YN;V#panLKV^DDq/rTr&6StH"S$bBF3 +XLXV?^83[Z[%nN5^QtaeMPsV*BUXa[>60jYBUMV3R?0t[A"+63HX:9aB9Tnm!i?TM +,s(`o(TPMSRmC7%c;KG3m.2eqrc?4p@rZS+=DZ/_>h_T6EY0ik0eR2Z(=khU0pg7] +MeWBSQl!4aVt@'&.tIY0kmd=%hgN$_)>J^)+q45Wrr3/^5k+e,)"I$1O6_]WIX>A. +E`V`(nh@cIB41Dlkj'`4_#IK&7R6DX$8jX3*"6jc1P5_!)TSSh$_H$-9b6i#57tt7 +cDA]s&pptt9dAUppoE>fR>P&P4tso1+9CdF:Mn]pFTVU?j6F"nd`K]CP0+`dC`C^f +_D+?L&ICGj!IT6ao,1[e&5rgp*DL4e-GI]1L^llTro!U1)uCjq'qCF1@bdhR'iM;[:':p_:i` +T+6QUJdMMUHTe"pp_9c\bJ6gRGo_fVK\%*;()11B:o+oWBd;rcA8*eD'VbXJ[\R2Rq&h+XiTlPcctue +q>XOrs"A)Yc1!)"+ZC5;r&=W8aXj*VQ2lcFh7qU_&to9GJ)NosDta4q&AWIq"Q11R +cZS"2@'G&<[='Q:]q'.ZVnVnC"3s3-8390n+q[K0U[8mb)]!Y$T&2Fh%l;c[9;;T$ +qE#.klcP`8nfl,a-M3EQ8`js=Vaq^2*:c6X@fs_'Re'RI$_kk)).44,9Sa]S%Y48b +%2jL%RGbRCf3c;aG&[Fpps\C-)p'1\!j%c&)rUdAr`3hNBaF/Z(@/9hGH)B':/K$Cd2-7_]\?^fF_rG5f5j;*cOEG5hoe4 +JB5VtU*CE[-VY6@RFe"#gQR'j[sp0>ANIMR.S2Z:h`[Lb"^]cQ\5k2[D@\73%DfBN +Ia7P9^`oWP?+&i/D+OJ%<83)9F$.0`,dqP>V/n4i0c!l1'Dm#&$>oB4sX]W?FTMo[aWkd?skI]j$_V5to?bG,=inga(tVK2dn,P!C#[_#1,U"ihnDU0N: +$"O(D@_fak5GFGn=rG36KUVVUd^m4acWk?'gAb,]s7;EVh`NU,>[[)EV>W(?*d?n_ +mPajs(&H`$KU+Nn='q$0p+tGDlM+q@boYc[k5Ij\ptHVj=RQWN*RQ/>3#b5'CI<6X +jg3tH-d65()bI_MV;tGA[l%-oE@uD,W#^F$X8/^!+6fF/$[5if:.DHA8&J..g+O4X +7mC)R4+&#;7fHkl$hLjXA&bt0Yc8DOd_L7TNnsVM>Bp%RnA'NXNrMBL/&MfR)$r\' +GpN'e;q$3%k)m%iqq$;%98A7=2ltpjkPptsrbkoa3kG))P7hc+eh!MP\gLGYU^nk^,Y]_e' +'fl/99`%?hKqJO!jip;EWAX]NFSMQ^Y!D8WN1ai4TGH4s=Hm2M>+jrpdb42/n=LII +-?l\g%>clO9&=)NRFiGBm;Tc5e802(bdr3f?,YAOD!Miq-82p5[R+'Mp^ +\gd(<`lO&W!qY%@jK3FHd;_:Xg)9hgeM(Lo=RAGX"HJY9ZRf_3hrYHbhHs7!9?s)* +]KAbQF^mP1mbP=/k"p=B"u@UKXX/i`3&KWWN33hGmIg +b(5X8AQ0nVU/%T>*?G-V[`W)q?t1W;PNcp`p>H?E@i:j,!q6fOrtA_nk>quqV[TF` +s'U'l]K\.WATAaf`Gf'&%\(f^Rf\C5NImDIkSjabRXPKY5C%]7L +JH%sVqi(QZ)N,]L9r2hRLD2d!B7k@B/E&JdAT0GF5?,#Km_>c=jL]:`WDtL=$n,,cH +ru(hsp`$1-cZm0os"psgAA4R_KusuYqeaT[2XT&FqJn*)mq/0] +n$dA.=7`&QJ%5)W2?.C4(FS%SpqNB#jJ_lM/jMeCs,DF*1B+="6ap`V[&k7ZD48-) +RMr^(d,aTBjR(@Sm9d]Ys+3Xi%dK-.SBD\>f9a.C]mT<6`fM9X7%LJs(P#*oP_23f +Lc"3^)J_d1lU2\AOg%XY2qK0LdNcDpA5P4AYd2*LlG:PR8ORE"!%H/Ng>6O`\LVd8 +heIYMjm[1o2YRfG%f99NHCU!2%Ym!fUknO>Q2$Ug.;h7mZbtp#T4:a5$aiG7pf%_, +efgt:Brm+;BlK?#gT(hFdRr:/C=Jm%V"n9'c5UVW@\^Qj`7E,55+9/G,F^\>AOBc( +2-'"l]9rHq\nT9&Afj*L"N+p_jXKH2H"os!S#;c<91T1E`]+hXHsr%U=16n%P +m;On`gZMkf+?29#8htfe9ME&PLu9@6fHCGER%W;@Ifm87,ka(2cg6W-5+&7Bl +"13A*Xa;3s9TmA47=@o70Aml14!l/?OG+hcJ:EuDCmtnN9LUcKLXdXK#QJ/NG>?,c +N^PdUs,4q0B90GrB='-%X32N5r-E/D)CPELmUP]W5cu?rgQYL2)!'(jGFCm"r +@kq'j=t74d_1.kc-1TljUORF;''*2Dc9`GQmNX.bW2opH'^[;"c>K[!c$a-+OIuqqSO<])05i4o-d2o<[E\V3*a0`J+3bHUZXlk`L/!06l6 +s5%jBZ&duJb8XLLm!"g6C[^)qgUEG\\=%!;SaX4rlKWor-uZb`.*I=C@Z.hS7"H;*Qkcr,5[Q[4RZD27QO3B`Y; +'J$gG&GZh@e5@kWZiTZO:JjMGr.Z4lJn9Pg-5 +TCr"9'qgn`QntmQM[KIHQ#A\"!&(P%%D9k+B#hV=:5IOg+TbDR$K[#cO9JhPc +niFJaAPD9+:ubM72?/U>e:@S4cB"*M/KVn*X9ARD_])&i)FgHi!),M4nUE6sqF+ZD ++/]@Z=T&!aSdS'-rI/=b]A2YmA8(qB=Q*@m'-&b%598GV,)i!0$Yr]Gf-#]jQ.QP8 +L_1%ce:[c/a1>lDFhTup3KhhClMpA:I4$XcN4QYN1iJq/[^Hk>J$j^u>1Z\[\.m\) +RETE6cfmf3K3S`/p-Q2%n:,XJ_p&"2?/"cT7`4-iRHCLj1TFA1_Gg%*)(1!$c!MH+%^3u7i9E_T01M\ +lU1s4HFG)mVE^`\c^0Z6Q/U99kW2.K]f``@.'[nG\K*[sIopi35T,PgOjrPmM-!OZ +_L&?@>)qBm$Xa/tg?hbilM.$si;me*GJ)gBHQ-jsm_Fm&!T8Hqd5Q362[.cVM#X%m +D793/W'6:%DW_)2J.AKT,.HQ\s-eM3HFNr7!dRU*>_"$*?4gEenLa'I.hm7DGC.bE +@%l'0G3:5(k,5MG7j6_lCl_\rqbs286(;(EX6YrbpEr;rU>GBshPc=GQn%Y.Z.6^Q +B>U=915B3D&-#IBF5rD%=18TY+'W&#Zi@;Yj_$kqdIZF'8Vc*bbh$_keP'f'!c1SM +KD9Ae[uC?Z`;e$>YMT3SENu^\M-Al1.fW/i%BR$GF]G".R]$^D>n#8=^QHfrY^c4N +SH@0H)Ma@o8,-p-opcCdHN>Htm<;Z6D;O]mC_!R'dF0f)aYVYjZeWiIgo]PGNutI, +)5^3!'8-#M]L_4L2S9mkJCR<3+"^L^cf4uNME`YlLV[?E/kBjY2Jl1XJ!7=\#&R(p +s*WDq\VWE;j]oTa7ZaVQUltJ'$Ws=K=6kGjj$,C&WE4^hqognlA=O%[WPR>c_:tm, +dp'Yp>ff(5Rch>On%G8.\;/,pT,2.Y9/(o)+H&$&po>tQNkh$K@'Ln^Dq-jXe#M=g +;,fh_?tksG0c(34+k!%)hr@b<#;*n+3T'.G]&2ak+&U:5D\]37'[eZVh(k2L0c&Tl +j&JosJC^!o>29tI5*V!Z&#KK;[a+7Xs;[/1cHAO[4.#ds2pOb*F8"AVO^KZd_j#V8')-#oO.rTf_!_1-]NoSS=YNV*XqmH:<*Xu-4p3<7gc+; +Kp,pj\Mb>^!rc!7[3>3NHDaaB8ai06g-)(]4aU'`F0]!c?iA(:d\Vq#=#PiqY4]qC +m?47)GZrkur#2JS3ptVo-4co:0BDi@aWGbWM9]AgcV"QC(DLfZiIV=)^L1&'4A0V< +/)F)I:_+6-`cK4C]W&-!fLC]_6HAMg0)m$J@9_3Ch%Pa7I,#";W/>QAR_ZuRS+IOMXu +5I+H6dg-aD(e:URLj?rXH@T\CY6(?mZr%(E +h+foM<`d7iS,EA2qYkZXT8e$u09Ml4s%33d%uhG(WNk>p3VM!8'^a&e(`)4B"Cj&L +jTo*"R0uhmJV"n&UWG/MfF>48$aA3Y+lssG3OLoUkq:SeMt#WemBk!\;VOg9Dn_]b +E$r&DHL0_sl"Ph8nO#=92tpU*gMM?0%6XSH?o:YjWJa"-jEKu@ZLqII^PRS-JA7'@ +A6ZDu@Gq1*<@[uh?(cSbIrYSDA?$>O'r;FWM'P^p^je,!rs/SWG"@^E/"`uc!^>TC +8tP,OikNY`^<[:FHBOo:[;Wi9u@uK13 +e`PaJ*4XC:ka'<(5jhK(jAXt)>=kC36+)O1J3iW$Y'hLZ3^4M^&LXn8,'at(1PHoS +g2`]E"qg#C6sMi)#Pk9YMb2bKPoKpmpFZXL#CN-s +S.NqVF=9I*_>g4U>4@"s^25&k3.JROcphD-(ddnfG:3:FEoeqmVE6,j#F15'$b@<" +./h=q`=(WRVW-;WUYB*C[3GhtiJ=^MAPaBgpu[rS+^I4$8A[mTs6S/$`N6e-duq[k +P-Ld6Ei0jX2TK+W&=1)VpVJt8nGeH-c085OGoOEeeccB^Dp@J;][#uDF7q`l6;G:q +rm-j[(:3+A!Rtu0nK1=?5%IBoGRiDQ7i@#j8:p=V./[hrJ%8?$p^`8U +q33?qCLoes[.Z#]@47fU.0/@T7:Hoi&,o?G'oj;O)bOl`9PmfW2o7E\a41^>e1/?d +qu!(CI1$dPGJqnhXCIVLrl>O#*7 +EIQ(&6:nc5[@ke'Srd3m/`m-(i\*1%&!cV/+,tPAcO\*XrhCs('OWkkm#f-"94!j$q%.2U'gf/YW#^nkM7P2=kM&70,T0W +o5hkm;YB303?9"8%98CYc6feKVT]nK5NTX'ZUe^2=G.&UjTu>-N/'.lMACT:;2X)omFDr,:`O6oT2++2FLkJPqrP +on"su1Dd8iRuBE1i-d-oX^IW*1mSCH*<0$f!Gl*sm=P.urs\nFIkAnu[J7?jH$`W^ +oY/[3\<:L:L?H-N_tQf`d!_?;#+C'lMCBX5AB%;1D/]gg/H/-`Y\2c$l]CtY)Zp': +/RJ2AEWZ8&*$2Q#hJMqqh<90sdG^,$rdi/Y5/Kk=q$F"o^M[Xe4jH$'[oQXicA=\[nJ9)D1r[0Hij2\d2 +kPqoRX*Dg%;W,t/IKtQ&Y;:K37LR7Nr3I9UiTkOll6FOo":7ZekGq1os1^4HKE$FA +LVFqV.c+^XhO`q\HX&Im+;tQ%!WBh6Oc[/'n)mU;B-Y5mDbftc`R[][8g_'chhg!O +#puPV%iEnZ)UZXr?V$@gB*Tja5LqW?]Orq">2iO-Edfhb;RMTUCBG\40 +@oSm9Li#Hc0Ua7,:(WF.#Dj6la*#(Om6lt+X5SK-Ue:c)grlln&R(rcW`R1uYq"*k +=r[6$(gfLidDdA[\:C:&k2GAJAR$6\^dq]nJq#-6TSTP/,9mJrJ^NcVfTqXZ!?2pB +o.-Y<*7odKpEGGa@@PO/7Z3mlLOL%$O9?Q`5H`fpO2-7\?YFp.?D,."Vb5EVbDj8; +T*RC1gk,E:\%U\\n-JqnpfI08OoO]c.?k!8j6ab/!]O"l**C,H_4(Te^jfre#Lo#g +0fLNcp`h[aT$lY+-Lr\Sn1PAu4`0_6,kQK4)d(l;SGd!FZ +/kt'h\4+;[K>p+E?\_J(FoH()%@'R8_0rqd<-q6:/% +,\(/d#qstrY$;aX>N.jh\)U2i@W85*04j%,h]*9pI"#u&]%-$7H`c,-/U$kM*:F9+ +IM]NmhVr^Ve`fr3h3/o#a,"B(gtG\<=RB3ao0@7pPP+AR#C`g5q4Yq.At.>Q:)c0K +;Ir\BBQtJj?e4:g(jIO0$ZR2'4Jdt,"#<"uf"+GA!%FJVeA!B$8FL"S3Wsi1aidi3 +#J%XNUZ*(=SZoZs*q19.j99B8(ZSGilB=`jH$*/>!.OX3Pf\U[r_kXA5`URWJru'] +&'G%,!:SZYU^>Nt`&`9XZhrp+U^ItDjtFdlo7lCKP\cie`/1(PB;G#&02G4@Ii+[` +,(BfH`rC`#FDT*QEo?Y0(NrPY/o'WlT +i.%L$ohd0ts3Yf%>XHbQI+N=V/IAKSQVL"-]Zq/5JkJP(:FBY@7\^kfl,f`E(k1IH +9ZotOK/0rknc(b]g2\s^*ARIgGR`^5BNWNKUV0Ur1a>*u,lmr]'<0/s19=L??h5b0 +l[qptSk<[k$0Y?9gJ3,<\.X<1c;^4cnEAfLr:OKb2[/BGnN=S/n_?/qnGhiifA$hL +?[WeB9dj/glU;0M-D-=A?_6\6PHT@XE!IsNN?@_g# +,dD27?8*AR3YWg+N"s30NCC3&!c.1FK,.VhYTqsuP9]TIb(Ea)<=,,8IJuT$lle(oS77=gE +Z@4L?Y!9.ba6OUV0>S1i.1t:jJI?/#^>7cG(k.#os1/phV#p[$XGQs/f"WC4W&"7Q +=RU:4j`PrQDY>Xjn;"F*gdN\9pFYR:5Z2"Ij7s\%=2UZZKqP.OMjNqd:=lBfO(X[Y +3'S$8gnu1/F?3*jQXg,n]n$o]i2ZLdk!^ZiBiaqi2TA]q[kS213'^Ged"R%OTjYC4.CfG* +iui\IFbc$Hs(_=YZI7@u'E40s_^Fq4Nc?jXikL>-s+(+^s4-Xh'[bdq;_sAS21dPQ +TWSPDEs\Rt!'PJfO*XA,pl@hYq[dZ/?VK9u-?a`>d"Z3Em3'"UhNiO"6fPldR\9OLYJ#`>6QV;Ig +O].q&JBJPWU\8A:m,m"fs""+L_7p3CisL;_;]Pm[AKR"`S!Fh+LXq>onNUB)Q0.%j +4Ss7`c`J)d]4`XtMZ9PH[c@M>(2`t<]Ho5bOI*,^UVQIpUYkHbcekALI9g9.^$bB. +D0C+AXKOS:s4$%K\)-t!LJop+2'Gtf35KiEPM#V4rK1Hds2!d:7^J`AXmV!]TCf[Z +aSflZ&c0KQ1e3M_1Tfj#JM4KlOWshd%bf?rg&Y[bcE+pIp!p9f@G1d. +XI$jLd^lF<0tn+SMXEUK`UF/GF/VML0g)TpBDNrNFAEt@fYV>gW'uB<0Tm^_r'Z^1&HZhr/n@HQb\6pjWXB3iIKi;Lm[&m0W%# +j:9n\SD:!q_F?>o]m)`]NjmTLs*ABhe>8-J(Y8KFlF=(gb.s5V6]Sm+0cRX38SEG7Q,bk'gUZP?cI5W=hZ$2uGaRW&H1 +'p24Sna1Sk9Z4fB3!% +jRiqr3=Pg%#F'l@h4YQhJYaB975R!j=jZ8/ckTC4*W0.Z;M*iA3NT#/n4@\'@7tQ* +V;!Zt/2#`L\Ge2I;UV8V&[qOENi$7YPc^6bh\BNTd'"9AGiqgu#LX_"WPF5"G$hQ@Ht +>9d%4+(rXss&2U9WM[M\VOIjT4i +=8:>*`B4ig2fd)46o+mP]Si[#3l(be:bbs,PdAF[$sWt%^O?]$Wm;.pEs9UulW+7G^^/n4Jq +C)/rYA&1Cq3J!3 +cU^OGBR0ot1CO3@GM_DDmL=UGRSZA;_=<"%VL:?o[#dk#!J(2ThS>V=K-)_,JH(+) +)>j$j`8=orrH451r\'6/R59Nks*^1Qr24+.Z0gKL6E4Q?WYJ&H#cpu.; +@,6?/A\Vk\TDN\E/`;r697eXiTiD3B%0Nkp6OD9309<-"7b79'eOa99qdUQL&t7c" +7M9DrCcn\632T7_=tS]d(M#_:_aW]p6-Hq=.gA=Tn2,/e)As*-NAo[2e.Dfgg1kuH +iS^oaLMmL#mi\DrFt@Z^%'M.bU#HU557dZoC&0E_f^S/^K.F?12]<5*;Jgk'4ou7- +P0o/KC:G"/*O.c:9!SM$^_lX\W&Ap/S^ahUpFrL1!^U-=i.%Y/JUheB6C5^urqf&R +"gg4e]J$4h-bQH@W!rSor"&,_IYumNJ]5L!@`8:`iMDA1>Jc;OO[Vuq&$+K8.?;(< +,jD?dq]h5HHJAP(eonW:U\:;F"^p> +WY/`]11L/gmK/[us(1^"eAqg'lDs_&U%/?k;/SiWGQHS0F"n)G2@+PUi:+/Z4:F4aQ`k!ro-TU"R>eE=S.FSOeohNe"EbIW5R +;ZCLVLQ0LC5BJO%B3h11StDk=5=^/33rJ)/!,)LO[>+W`T'L![s%Z9F)Y!iX +('":7s!1JI>oRKQdpZn59lJ]+/%#,LbismDYFfR"Dq*FpCcHIAalXt%j0(fDJj/'A +ARP+?>ka/0mbu7,0$f.',Hf)3QhX4r&_`PXn4,D"+WTn8EJf"nlIJ_2<^ +D4/o+G\l,ZI/A#CkZ'[l$`NF`.\l0< +Ep$PPlY)er34=Or#<-coL$l$+`8Q52$nt34s!"KK_*=-;Ud5"Ki-:7t"S=GJe&qGa +&e]oA;37@sY'C,*s5="rs$?"6s3Kdu`rA9K.6j=@ +^dAt=&Y.1FL`-4-5uf.lFap!KcD7lT*:=:>Q;9q._C80u$!qRfo/*utfn_U'?Tar5 +HCmX;WO.jP9+(YK67Tf(DJMqh]+]Tkh!#-N%/biue,!^Ol&8X)=%+WcdsG]UB]aV' +TlhPV0RI%]Qdn`Yh)T5+H?HYt*<#f$nX5=$_>iG`eNW0J\t<9q$N=\Ao=D.di:>Ig +#/?Y63F2)+/)FSNHCI.i3d9d^hXK8-_^mJ<,CbCG=dbM+Jc*^q+9`TXBnm(H%4AN7 +s0B^lmQe4K>5b4"L8/HpOG67r5G;u1]3=K&f'??\nKn;:rkM-?E2>[kQ?IUDecGb@ +#:*a.V!o@$"#$=+Dl+6La_bttj9=OILLZeM6`RbH8A27Rm9.2J.B2k4Q,A14Br&%4 +BPi6,"Wb."(9rEtOaBBlbG1q%^XnkQ<+gIi2rFi>J%,J@\+KuE1`a;%1QRjR&c@t4 +?,O(uid8JUdenFOOl%&es%6j#legX7>931["G+a+lM:0(V7F%-H8ZQd&$D2m=#-1? +V@cGf5b(;#ptoV+\'qA`r+@X4nQuu8hX4ah8jLH!g3jA!@;A,j+L%e%Unf<4W&^ZH +4mH0?jKn:,P,=Gh+!b/dZ+#U4ctE9;Z9JV4LH?E;3>g4cG!#:d4,\')M\&C"aq:$> +UX,.+EW<6?O*!;Z/H/`B?QK&c/jM)@_[)"O;;f3Y6):!Qb*G&>BRHX0m)%Y4iNV2?.)di\kA'XNg7]MQu2s*i.`OAKT6D-dQ3?cYa-jcpeK9 +opUVN2>=9$fZk)#FSf-SJH*j'4^U@+M=qQ]>$opULt$LR8*4$HMf=-!QnN/+eMKaJOQc,s.>1;3q] +T8Y)k,7D;2Ga[8AP9ra+0V0\'1LF+piHDN5!A5_35ZN+Kh4i'J#(//+#Q`j+s&1[Tr\j$!b]MFM0lks6`!$SH8]G>os"BS+/_X)MJQliNLGbY^^#J"TOnh_dD(a +i'5=pa*14tFj)+ek)t(Irune&@C6cR:%(mOinEO6D_S,!,-i9fT87>M.Q#9?b`>4P +%u3(PL"7jt'u)i`%s6-i+[t^NULN9o9o"35g>89YD16t4nhRb.QC9+Big[\Sm@-o8 +IMpTepTMSlF%7PO'<%BK\U?T6jjgX(fotF)V!:YHr)`(YPc8fEG2HQY(j0hHB`>TY +F6gNbXE?V(m0#puH!:J[KqH@&eL2!Wnn0u+l6!-/,[UK)tXCcO00Vf9>,A +%A9E!Jack*!YdAKbQT\E5TV)GJ`FKV#6-HI,fIlE0Y3+,C:QRpFY/c&4]hD[_?EaN +.(!kG]Nu@Q"mbh]V#XnGQi#6,QR?'6NuP3MK*spg!<.2phs5<1cu+%DEIRl&T>CQI +6U+Wo\6`q@Fh-27c],[h2?"A0&DU3%rZ/)mkSgPBlK8r[4)I_'4'W,S#kWG0p&!>h +Jn]#]?s#5A?i>Q+ZCmY;&3?:g=qF4o&H%aa2"CpE@_?2V:/`cs#95)*1Y`M,4m54QnW[^mom]fXf\;/8s>Nj^jjlK(b>U`PQ+fs +9?KJ@o#o=(=h!R32YNu`gTS`Je)D7Ii0ge2=fp.lhot]fOr(c,,>+#S5KP8M<)XY/ +cY*/_%f^&I?B!R[KEGClAui*T[_?C<;;lW1b5#YGbKn]k^GNRX(HOe?2I\mL7+K#o +T\80c^TuS2^R(BpY<;;qoqA#DD1:eiI3SA9QMOR"o!SuP&V;0Z0qjiH&&l"Tn/p-! +e0[cG3DBpF:Si$;cOdo>e%1pO5laf>4an\(QDT&HJYq1Si%^o!ANS4LJa@/LBaUK)E[tcH'Z3.T?6l>L%O\E>no@C)ZZp +H%Yb)liC#ZjS4cTMk&]QYWm-%BC_i8GL!O5^=;YuRZWu^;5K!;Pf\l%7.7oTJ39CV +7C)Vie;).?'.a*o2Yu%W@k_EoIpF#nT5S'8le3';5?o1XT0;u.]Ft,I[pR&]7jD4L +rr`8,8Kp4l6r4e!4.Y$8Ge@5u>hSQ;?mrO*/?F:[\-DL'=A0*YNM";Os5C2n2okeZ +S]$hFE%89:Nq>&'c_+L68@%+ur4J0l0>n>m1J4R[8[#[IL,ZD1Vm>SA]= +iALiJ`f^$,o*%hW!@beq)[pZ'rtOo]Z-RKJ +Ip'6n;6/0`7Yc=Bc4AYmT#(ZP6E]o1TmT!eA.[JCTE +qA2!a4qIi[&qiH7,ZiQfHBdG&)KCkm18A)+,97;Fp+['>bQUBoOU_K&KUk:AiG8kr +7lYs,%/>eZYiW"g`oPscDBDpNs2]]`@@W*eS>S(m_8?g"k@Ht4^rnFOdt"t/7fE\F +rO@hKnL(j<-J\l2Y?T-#=ipQ*s1G1'rakT^c?ort3a,1A +Iu=7Dq:BZ1?Wd4:2mH(]PLG$AKDBkMs&9'R7>db<.H&HST>:I_rc?4H.ep>I?g@7A +9NR.nDt!qVGU:[@Rs/NtcYer$f61K9DH^cdA&s_o3e'-aX8&;t#4cP]s%*tgB!LJT +%Zk;0qE&JJ@[C#Qm_@8^gobh6?0cZ(i'o@pAS;OpaM/p3Q\n\.BR^S\-1)d-:Kb`f)+T3s%jQok+iK2AmkVn^tcI$_#Mqf +$.&g`+?g$4-B<4E*iHu__l5t5#7*:$B23#]04rBDcHFk=.Hm*XKqX!G4oY1W@n6Y"qKh/)CQneUGH_#Eeb"?o:ApGBqX2"Z`W'jP8ATcY\qpA& +e,%u(7Nrc46'W[WFg'5Hi4mLN[+j]iBLqf,GU$J/A5(0;<"k&Q%Q_31Y!N!cqH,E2 +5OG+(hMY4Fhlj-'lBaPi)fi^Vi;ZJcq_UE7;?r`8l]b_os3o@^DN:oC2M4o0R<6he +P41nDqngIHL"!a(EoihhKk*BVIl=o?Q<8Fa/Ec$hLtpOsM#U8SEBU_L.;Q>>p*SB! +gV*2;q%YttU_Mb8!)am-Im-Buk/-Wb.jLPehoMEk-b(-jN+@gjFMGp:`:&K +nTl$IC)]hXaJ'XM8asK'3WFk$RUAbf3e^omir;d:_G8],M/Se;X:A#0p^\>%G.rn^ +#f[K]LH$*Ck!-#QZ",",`?hsQK\&kF98/B:4.ID!,Cj+hk>L^PSkM/Bdbj4n_A`Df +s1A433m>!]fO.9OSS+N3?YcnE(&Whk@D+pF!E,O>\@/(ZdY5L6W6_Y6&R#_EbCciU(JquK5g0BS +$g@/1ee_F@%P4AA:hWj9=G80!Zm4KHj+!uQZOUn7'Q3MkguA48g$aAgd"C2nnq*YZ +Na$kMfpKgkcp;N-P6GVAlX3=;^sSAL)4^B0ESU_Z:6sg&@t(5;3K1eH=gXqaY06bF +.heo50=lPJIqD)t&(>c!ZZn-e6r00^/DeE,cJ*"ms-X5ps7%9#=+-Be59)tbVb+D1 +;5gN]Yd8eOUTVAFY+Mg;q!W'pk@Lb'm),.\5M?$ofL&hNB"S+lP/he!8qQm$CGcNC +q"m',F$mG?Go5r?-3!L"j1i2#Z^h&Grs!=?P:&?l0)eqUrE;RL;Xo77[KbdlhNe$; +Uu'GtN;r/i+-d5l2LdGkc2UK/H-[9h-M:u\9#Gn=VQi&:9Uf[g_mTBi':f"!pX +#*a6*Qf<-Y$Ug.^V,?>K*d:6fs+#?kpqq4jsr.0OY2?J,6P5`@2*TjJ?qSF7Lbj$CPAu +Jq[GUJq(RNncVs\kf=l>_Tj1OqrhbAr6aBc@sn`A>qZki)FLD>BB=(&L-Jo_rU]%< +^FkNFkM"S'huYn;s*8JPn#MZP\ifdQf3\BC2hLgsc%!FKPe9[8)/!j_A,iUJma9*& +\DYc%LA@U80UZiNVpg:gYhJ??QLW>uM8_OBu?HCQFO`S_c)N6M1+* +NU\X`b!9luo\fc5Z0!g>+0KL=bL'2W+2NHXC:j),SFX.7?J+7c6SD"Fo47BC"T3b? +5I?e:K]eG7?PpS6mk9a<*O&9gWi)C%F8]0-XB:8X)A<KILB!\G<4<7-ji?KmQ5qd)*m*Q'm")(B?i#?Z,[f^!4l7(>k@D?GlH8_8TV?:>OfK*[s@\ +_jtCWPusAW@D?_lT2u3q*(;jdbi\o_=rN\SBa?bVO9S[']7b(]0Q9$R#H;%Y!7P=:G1]r#MA_prZ@8VemIcgUnUdHJN9F\1^T*]+oH3`R5pO +kl;88mU/_8Ep\iGr`aF@f8Fh/+6.#Om:aW3hfq0]@1<$ls(\I)LAubb5FBd"+Ff!0 +3LR?jP*[o`ItFlG5?u!QAh<_tVq>XE.DV[jN?^QE_^G[Bi)0Pgql1]G!, +eqHO7e-Iu\pj;Jg3H+*6CuAI!VG]G6nD,U_e.6EYeh7p +NTL)qTrk_dlhL\W@J`$Cmp;^I5CNXY"]0n[m0,DO+K9kQR&KSnD19N8F]W8qddgb. +HF?rM`IYF#_hJ&j_]RO'b>uj7 +[P.Faj<.Tgfk_T%7Jm\kNudOqB>03%iID\>bNDVmfiT-MO&Y4@VK=Q,F#K_E3`NF2 +LjS#d*rkQK"9ngla8U3mj?MNsE^p,ii;^FeiBQm'_>c`?LDg-LT,C`j.L,o#@bTZ\ +QbPU/HPt^$*f^1dj$\8Ni'3FZ-LiQPZoJn*1E4e((/d(4eMJ6b(b4c?;Pl1LQUcouN[Bdi4QA5EtD^M]3d' +$ne3ul6]b$Z,'KNLOZEcn6N<@e]NO%='>KP)u"NJHa#FJf>kH=)XW!kqhSJWEXIlj +]q4?D^Xs(c.FQ;3pIhlDbH1%+""X6Na@F)=.G%c:`CLeIjI +(O6h*]%mVk)a&$lnNT7pbW7E?8_lJ=eWZ5LJ40ai?0aa"5ou">1hML\UnK +$dah*d"UFJXHu-=`2?SsD$l3p0o>NX640CJ^TZH@r+G[EpERV+f0fFF%).PMVrbZl +_gSS?h'NShFdi.fR_)X:D;j^':4$!CShR&86cNa`^hfi#3)%Sh.oe0o)j_Gt_%n'J +k1.+=3kPpU]X:DP]EZE+%EAErX#(Ccmp_,;^MugO@HW.i^JK>?18OqM#q6dZRheA(,(b>$O.fD +a5Vb;)%<$dNQ):Ei`ddng?J5]"dsi&'M8.bd8lSI]eGWAkjF.9unc1AobSO[$%0r;G0a +^V?0\fnV(fYWjb"+YNiq5NE7OSN$,u]Fl&okIL&fjR@7i$,YZj#%29pWUiKCCbea. +E@_*;`Ze"PB-O'a.Y>,-!qJ,r?%\hn6U@Md:YQF?ASdMf74+;RdHCBH!G][6>7/^9 +g#Vk+FBWsKJ&c)Eb@5kn6D=ar'l5FqAau.0iM_D61#cDMO,Fg:j.)Aek4F;en#n,U +0$7L-ONj<]&Oen`>sIMhRY5`t4AW&!5-s*';oe%]HAD)r^%/T8jDP@1)$'1&F)G@'djc:s_=5\RcG^p+k+H[Y(D,J<\ +.UiP`0eMkuZ=rM2@c\_$7/]Aq*J3?9T5p_-S^)p%O)h(Hh+1N*E$T:LQ\O*7)X3<" +k`;a]%4*'RHbsPg@U$hcKd2Fkbd27GV+*m-2.#;>Zoc^m?I3$FLJER)%ibXlYNTrG0`$YETuU>AmR+/UnI: +hl/d6b;81^$VeAc55=LiPPeX3:Ysisq/lZ$>*I,M7t0a.q7ZC@m1/IZ4\is/O%T=l +O^%?@5Rk3F7lV,K6P/7=)JMTl1qH6u>1MU3]Z[c$bjX[4P=4h-?/EO%YJM'i,%4;F +]Dn(<^PApt%pJo>RXH8:GsCZbHeRTU7,W-i270#4Z0_@_M,AF3n]lntED?airE)RJ +(af^FahlG0]g%jSj=[niB/:BBi)An[.^]N4p?uhAkr]e1\=4djQm[3KE6'Sie +KVs9tRpM2?Y+NTq?b?9np3L&RqOTSLDUs+ff-@lPf"+UHp;=ai!&'n&Bk1=ZSM4E!_I1EFp0m>["bXkMVU'EXj.83?hl8g:gN2sn.P-'eYl28[ +j^(020pWsqP=;nQ7gnF`*J(QI2K\&kEG5T1J0jI6p,ifoIeZ +AQ%IUH,WIcS/#[e@\Wfu&W@%nYWa//eXtoeg!7`#&Kt/l5N';<_mT>J**g"HHuZS* +n>Fsr1X\j4bKR"C10gfhoSa4V+$2(ncP06i)P>1=-2E?qZiYK::(q<2@4%uNQko2Y:;IX_Gd^l7@Fl$7^Y$#P1:9:le[F$FMS*,JG6'ld` +?J-5A#e]iq]Fb"5cg..Hl^tpG4InRDQqsFfD_DO5b9*6=f8kCjShQh +T7gdY9*^t/N,JguER/$E!*Oh/]N,eKX,(Rg_SV-/rVfef!Q;.[]l'ZEcO+qo-1-'g +X6C"oP!mg(.0,["dN\JU>!*Al.7m3P7gt3Y#K%M6*1"gPWlq6;e+%FM7klfVB*n>d +&#b`f4JtIFQtK9_qbu2M_[/VN3';"@nlqC4&'spO4ZE/9bikN'POGM&IRN7X/>1Mf +gN'(XlOWqlGPIL;Mf55V??p4SG@tjFDqi\]m`Kp[RpBrQ9jmdlnBgWp2@i39c[&j[ +%fu^@^=HI#=,CW3M/2R@D!VV5*JeX!`O>Dmf5q7^OT^bi0n'cKC%3G`kVdq=J*RFi +')F_*o!g4>Hdii#[)M?NVba#-^SiaB8QT_bpiuI5C!goq(\kX4T" +P.)U@6n`rmrtJi8#X]@,I15,KofqKO^Z0e4+";`aB-1Xr,;Nr%OoG=*Cq")E.: +f4ilRe9'?;jg&`W`ss]iSQ^J(2$8&<"n0hAo0`9B@H"ed[-^_?7B?Lns,@!J-L0N] +c`0.#_4U(E-C4d]Oa0bb6\!qDf']*.%u2ooI5+_2DE#b?Y#SX'=EE\,^$YbV[t8MT +k;*(cJWOWb@/Vg3rYW:,gP=fN7cS3gAgjKm+K7d9]Vfk4-]=j#`7)(QZ?8.4&b2ZC +]?4*!2kmL\<8-NV])C;2.]`B/YZj-tLln]5C(L)(*%aE:r!H[i-A>Bc9(.<9U$DIl +)+E\c,u[s[':C$IhI%8[%li$UW=uruWLuY%SeicmoB53'nqV5(4]M.$*LtFs+CSoc +cZ:^/#((E"(p4#2a*.X`BlP`fP2Mpn$V['%^W>^%g-2?`.U3D2&].m@;FO*p;fV1\ +$!f%[T9K;#@2-QXq`H1aJ"$)B4SgC3#t*oLir<*#!IoItPC7&d?f%<9j8/iUo>gb- +33<22_>j&hQDsZ1\[:e6R?F953giVQpcfTn6fLEr7#>BkI95 +r"&eAaeq2SgT*s9Ij%TKHX7,VI'`KZp0-?PX5,S>m8'mibM(m!I]H!*?PZqn +8j1(3c#<\;]Ncg^47NZR?D(uJ:dibt#jJQ&KesptmrE`kJq'0/jXFaA!>SMi;Pq@R +U@)(G=FJ(j:!J%*8ZB!(li<@6TJ"Xl8+)V<\q56LctAj='UPTqV:r,]iN+!2A, +GbC]#;#f:AFX0Ap"_6UJhBPkNJ9Lss,iAX]7L"BM-Yc( +m<1+11f,ljdVp_:/kB +m/KVD:aeI*1cHa8g"e!sbrX_7$8)>VO)qU;n7T0Lnt2%/g;TSMqDMhIfBm:p'Rg%3 +"TO"%Z8XQq#(M_!c-IBj:Cf-hL>+EO+,8)o9*u(Fq,@6Ns2k9XikKrOuc$I.jOaSj;pVIm\mr:=ogO6Psj*(Eq9g$mI*;m2Ni#BGhJaFTX +)D+-/!.W6+q'klATt-cG1/]QM8a;r!po82C2Xei>)R*L.A32e3\8<`\NX"N2.f3m( +Wn6=icSJZp[[Tnj!<7JcIh82i\lQ^rXbP@19rea$KBmdff't8@ZfCS>e +n.><*D:A(0Yl`tsfEM&6[ThC5Rdco'Gbud=b^n:-]cBs8Jeb("Ar#,O` +Q7TufpLp?C=HRTRT4Y0I`VNCug^fr1V,^97.uo!aFm*&BFR-'t$ChL9""KCfp4cNj +!pPWCPK#L)+;meEL2'oPPq3nJD')F`%]+?/VKG\1oXm`_R>gMMijQOZ`(o![!+'tCG`SCp6Z!DT0"Nr0nJD'2>l@(*I=86n1%AZ%ZY6O +piJaT#R4P?+lCZ]i=(K*`4(s=YZguS3Z"/F042q8X(b-;)BU1&kF*#R&WX0E<2Sr8 +0;cGtjVHjq$QBPWBD!?a@Z1"G(eF&[i'5X3n:-`L0?!W^(0h@K2jrK` +HT[ill^U)k5t*:$gSbaA(u74i.i_=N<$\g_s5Rgp;A<6ijiaWRqNZ1"4r(Zc7;bkI@6=nOI>U)f$3`Wf +H@lU;]F-e`Si=7tf)"4+9>"1Cs%R*U9:D2QWi'^.let65.g5nB/f(IX]M!$c$0f_b +8&4PRFZ,#o\QGfS'q@41'5`) +(btS;_sKkLO8OdPqAR3SJH+RL"sL.\/-UP3TG#VL0#7;0*[e#Ep,b+5[dZuAnb0*D +mF3pi#;TBEa+4k3>QP`QFN\TM&s.?Ukn7k#Op:_2* +B?$@E9,5'\:o*iW:@BJP[*X.slsoKi6j0;ekp6I'!XVj@&4E`s]?<4\qcCFWs/lpD +B?keZordsn=Wp8R0_>,.]rukO%CsI[e`76,qdOCA]/VMJcg]PK3M1eebl(^)$1U7N +^LRQDs1&,B;uGtJr4gQ0^a$W:%-##tc2Uker'(SP^1L*$@pEsRi;[QOa:`uaqIBDh +iqgEGA06Il;W^W?9=`9I&qYU(!?g*G)tXL4:\K8=oHr3"&H.dgcb,nm=/Vn:5);[Z +s/hSg43T>[s$$bohhd),Ch_nu!dqG]P#]=('aD/+<<@^S5(#oPAg=pRW%ID[BuBDG +7Y(N>"_40^a-$Dt;Mb?c'09nKYNBa4aP,X?rhE!'2OEKsm'ClIkA'l0l>T@;!_[\A +\"Ts%D$C8--MRaX.0R"\un&)n@C+h](h=":N")5O9*f +r1F?MJmc6Z29N!K_BijG.[Y@R*\RNm;GVOj']<,to4,(T(W[+12qchhGE]R=FEtXb@9)sp4WIopQ2"@8I;@Sc +.[l!]e-W9bj!>%\*>9=9?idMRet>Q8F2EG"I/`dNc))bj-a0VX*LS#:B`X+]Z6W5q +0(9t\pG&T@&*148Yb,Y/(\2LO!$XaVJKM`nSn/$;0Hgf`'#Q]AY+sC'UQJ4p@KE1Z +Qid&p*TjjQ@Q>H,>C`'rrcS2ZJ?3s1QuAlCg]7AH2q(BRBG5RUUH;<8]S-<^5LQXB +,P0`5+MnB/dlb$P*da"E+SS$@mlbof([M"q378&i++/SCj9LA\VF;JuZk!,Nn3:[d +r0Pq5ebg5"i.!;rs-E:Z$]R+r>/G8_U=j`:`uOO"MOrRnYHtjgiUV67]2$LdP6SB[ +.QnDF09,C^7,pRfm?$b;Q9kT(C>j4UO#/q7m89Bk+_?q*iEcELEQSO^\p#P(Cn0W2Hj!g +Z'Cr=^BOXF!D=?:l)K!D3j0<0#e7A2_UnCPSEeaP3'SF*0?6BjUJ;:*:0=tfk`mot7iL)9 +)M/41_#NrO2JHRJ!3^"!=$=\WPPIBE9*5*:H<'\6<=CQ&%sZtJqipb0.U+mo%FG]Y +`LSJj"=,^m;V3T.IL^@h-Xo6"!W9b8e8&2F7e4J',$e&CDJ%;ajtRnmTNFu_:n3je +#bJg^dI*m)-oVg(Vb+7^.I\F2Ifb+Ur&4W5m-dOLCLEP;R3qG4j*9]`+j29bD62lL +/5rA^era).d3t:m#VEjDLfaZ'p!?/9n?tR>@:SME@P?]Tj\@i>rs,u?d:NWkP>TSS +p!uRe^pW##qEOMB7a>r^^9O6;T@/94E9,`hmkkW'Va3]\Es_YB%A2NVYA^9?n-ud= +i$LLSkdm7f"n_WC7P +"F-hRH[$&,/79o08ub,fgOheR"9Gf\GJ[dEU).8C`WKD@SAr$XJ?Ns;o7qDk\J,5f +?D:2#+nCE''HT!nT\Kd(IkjB-KusmUl3.+TF2m`XQQ#2p!Z+t4mX1^KQ"8Y0=r-08 +j1%:'3ZoaaBo)RNDfG'X'`MFGShus-NH`i"/Z4PV8/PZn)k;uU_.aDd\BtKd#0qf` +T-^\Uk"huP:WD=V@pa0UGk%CR?iNt[rC?;Jml==]AP_=Ja2DD:5;@`n514e7O,]SY +_P,;TUMhA=7f6R@4=Yp^8oDOG5k?8!@4n3i3j9@uG";YR3=Y!W]XnO.$#k57IUG0E +Lal:o+T?:@If5PNAZ>RU,sfk/BP9:94tH/4FL":nr&qbA +osgj0!I6mclJ,/gATt9;9CVZk:G:mj/`k+UrpWhd(C%'r*sB-%2jZ;l3a)A(=7N\3 +#(?\b@2Pj$KRZT-M!.md33PWmIg*Fj1rX0sk-g?J2%I6"O1El$\tT@eqV\2R8-(+H +W!?a$:fnZNqo@`)lAk@5<0mZ,$N)ECn\QrS7d>u*n>Jj2(a/0u(OiX7n,<`iCTRHD +Q''I2A2Itd_ZShHLWqE$5<(2Pfq,]NH(Y9ki5NNq)P]+(rte0t^]GE*09dP0I!2G" +;LgNtK"Lp/DB"INm7dX,\>PtifJ'Z&@"+[:WE-&=OAJdF7@um^+Ei5XnYqdn_8t?N +69F9P*KU?\5qqdm]NkjD8VAp["kC^T0BB3l&Opo0BB:Z4atB=W52V,Ym^N(@+*=_/ +eHFZQ)L;<[L`hK;S]Z"FiA`,=m0,[$ptjRV*`df8ok'L\G7tP+nDE;=!c3qf0T5T\ +-]7N$i-SZ@_/ji)IMG7U!8nsZD+=%;_L>.25MHglT?+E2jI6)ZU>V+1Vm&s]a>"K8T\! +IaC'e*oV_og/iP#8I@@k(i6'JdKJfQdb)69F3eGmYQ2OibF`JY]/2[X2&L\JfS1o3\W7eUQfD#_3WhKpEXABRkMU +?"!?=^eu]6S'o2HY/#CIYR3s8V'MuLrnCAk%*HJ7`^7;r +5=-[2>9W?0-?MuhqrSQHho6*+bTSNgaA!T.4;H^/(HDWr=+k^H00lnJY5+/,J9N.9 +F@8'*"H+;9hTgdOJH&;VV]r?^2PTA_P&r9C$/f)#NK=ML.p9AL$Eub6n!T"!K#c!S +:9lMWQcMP4Rj>hhN`fK@?d+T5r86Zfhrg'('i09>3K:jf_'BV3"t./sNd\c>Ibail +f"p:?LpU$"C@G7LH%TnIAD!SD25]@n24ups)H)nYnl[7<+;fD@NU(fY'KAfV7`kVh +o_b&ml-HmR^D9NC;)7_^[Jf0qOr70n#?(U7rdW0lI`YFaRPjUi%6%I>c'eVc^el$W +6gk[7?i^i=Y9j^,&rk+g[0$@U]W0##?V^GV]aebK@+S2[)O0#HdUB372Cb):J)UE: +Z=GCqBKWNXeVWU_<``iDrsS^Ss"au[\.^$/?o;8B/s\Kp+[o!tA/Zei\`":/&G]h] +fLhGK-cMFVCA)O<7e]S5VAhXrIipO$28P*+7#gg1X)dY=P@23;s]*; +%);r@S=^7:]GP3:J-Cme+TH#hD%KqQr"TgIjIr]NTe5hs7[\bV\::p9^UBV7g$Vf/ +b4B>Fa1Y7B)kF("[Cj[Y6dApC($0GfGlcc9riX@Za!?s6g2*eaB[<+;Mq0.:sBbrYNblHX^kI_B+Hg59"oJAOS&cVe,BIXfP`+hN_ +O<1WmmVdXF%kpENLE*,T5DN6sh)AC6s+C4rWqt&],65T1.KuIGr"H.cro[L"`*7*k +=F;L'd)$SN1m6'AK+!KooIi1KQSB+f\N(\HQc,TD7m^Q3_Rh24q^*Nl?LrrM'?#dh +hMJUjEFI0mgu,ehg"R>u[c^(V[qoOMAg.GD&RFF**Rc`k!.;!N8-F_\!,(Hi@WF(T +(XioaIj^>nj'5!5P%o?];rCWFYm0R6X'sM//@dB$#5_(%H7,FJhT"S(#r4S[R4A1I +JA7k&2(n!NK;ce=j_E0G^h8q$p&H948e*HZ#"5ZQ:,-#Q]:(APJ60a0/hpH1hY'[a +qN!-*:QsfoZBS3+:k6`(qc?^l.fq8qJ-Fk%C5CNkUgP][MJ#-7:Z=(Vr2JS3B#!D$ +I`bMS9T'!;94l\mTDptNp=K5!?aD,2q1)]oq!qq+r&o19$iC6X80.g2^D@BmNbFdS +4J-37:GD*HJm,D^`.mIJA#q`VQsa;WTLHu&LSu%6H+]E$PFo*OomQ\XFEe`7W3j&s +lLna3[M/F#/aQ\8*.#pIYOKMH8Y]hf->lDJp*l)[XPg!aLqs&@S?ZEs:AnK[""D$` +@_<*H5)Z^se:GGd(M@mc3BqO?IeFQUm#o*3(&1RI!AR@6o1nTT'Pq9DgD8"ig--40 +r-<1?\FA73iHJG"UaZ!1jD4nl]W,UHWff*n>rDO9,hO54>n/1>lIn`bh(QmhhhX58qlKM#a=d_#Lst +Sr#-PTua1cEKFO$K)D)PbZ]^-%;6.\JoP].J6SG[Wrec?]Uf6$3uoAc3Bb=.%FcRU +YQ0@VM4GkYnU,i&bJU0<7">FL\Wd[6OEajM=A?^"`_lb:Bi$>X%j_Tt ++XmCR=,+I.%rNB\Y9"$s3=o!1 +2?s9\j8CN^%!1@A)ZG85GYI(!Js*Yo3rnEDQ,GO\$S?mA%#X3dJV6-q!KZ5)AHBUH +BSKB[mu\0b_a,=KrS8!9"fMboc3G2Hqn2=jJI@"p[qhSf8i,4Rm?A0bn,38'YH6Wm +V.T(mj8\e\J*[Gm0==ap5dn@AJ+mf83u7>#;gH31FoIT%c(eM,8%3/`"ct_TqKU=f +K91TWAg"i(MON_:OoH!mZOF3kp&PE+!Y8rI*$ir6q)uo`".fMg500#gHDm_UAnp@(L-EmK$'hr(19:am2/d@JgZ*#QlZ_X1>P1=X,"D8!Hk&pPe^LIc0:'A#=,78DW]s\_Dc+ +^I4,_WlmQ5LO4#Z<"JHSC>m7;V3>7YBAmJ(.DTET#Y>%\(XIU;rrN*ApuG#='lF-a +C6JGF6_KHd*i[Um>l,Sp1r?C5@T89!?[rNGJbbs9T:02d._0mH=MTGSH&peA::j!u +mcE(S'\\QfTi<0@SkMScK(sgRZ4i-\eG1bn($"(q"fG\PX;P[#N;:/Oqc6A'.n;]P +!:hOV["*&W8"GZbBt)pdDQ!G]S-\EZXOI/dZfMq[ItnK9!,/jUf&L]S>bK[Clk@:l +a*Vmcn_&Jfb+kf@AnS/=:Hpk0s4j^:f%uX\qi^Cg8A1]I]VuQoh]Va"@;>W;h"#mh +ou:XUD/TlqQ]6=LI=rZ^Vdf+p!UhKmUINJ1"8G7E&,_4\8.,C3`:Q@*2&b=*'`)i( +XL9dT\sN$$dJ\@no3u5%\VIHSkFt;#U05$8?A4NuR6b^u!?s.l!-Z9^idHkR0FqU) +WeTPB''![5JhS6;^4H)!a\P;u!A*/u$[A04I4YB7J'%il#QDX$7eeA&9N(d_i=SJl +,SgCL:[g:T;I1L((^m8V+GOSEj``Q*pFrBC+^R[T!rUm*4$oM3q`,L>g[>tpQikIt@+\be[@4gcd +VP&R1+>AMBrH*QSiBK=(`h#s@r&#[X2:o5Zq#=RrYNc1s5lLlKj,YA`iA'1]1BD$s +.Gef<]JV:dQ53mrMftc4fPZSOe,itgRI%Lmj4PE"?5uk?Lht#c9OW@,fKjdlhe7') +AD3+hVIqs&IjPZ]X +#cD)TU'm^B[1$feO(`VVK6\n[iuooh$3)1D-Y#7>;e1^b+uC#N90m_TQRmTP.0KRQ +'MPTo@-%X7&,[fe?/B2rV3SiGSGu/dk(9i;F1)]4?kmT(8C9V!,hQ-iN@(;ZJ&\Hr +UnaaE'/GTuA3!Dl$h&KcLKurCI3K[_lcqgtgk*Vhns;[X&.g]/inm_u5>Hk[RJjI* +mRthNp,.]&T/)Y@XYZ7m$Aln#KZr+52\ZVaok(bs&e[)J!tUC +\p#k@%l+nSUZmD,k%auMa8Amj:AFjg:pHH:-i@>n(k*.U>N]r_F#,1f4"FfrQY;j= +nmBEr?^FWkb67g:d17ebaaIij4dXmm[<2>il0/^Ij,;U=KoBHEJGF9nRC3J#J"&Jm +NW@.j%K&L;%09I@V^m(0Qs"3FWqG!jY^cbPLK"@j +`Lt80I]plphs+P*(PA4r#oHef:Au@.DkE!RRG`;4q/,-umA"Yq4b4?O=:^mg2dcER +GoiH!N?8h=RL%JCJ-_dbO9,Q3*X_JR)dt]Be4l20J-CJ9F>\TOcIc3t +@Coh2fJY=F+2J#_1LL$+g@ic^G]c+3c^Gc%kPr!8.LXn:0$#&(?P#csgLN2Ts3lpV +6lD,GK51(tW=IE'+8CgTaV08U/QMD?p!5V,btEi;d&1pnE@#VO+aW&iHI-(0UA>Xe3c)6SG7N>PX%r5'rp40=$ei;?`$c,&\iY_\C%oMibRu8A=31LluVqMgq#_aWci0W=' +n,/7P6)JIpB_(cZfp)UBM>Zn8=,re-T>Mb/gKUW,!'$]5B9F1nN;SIG"o(mA%58(Q +J65)Q#L=b-JX7t-%kmJCcI>0Khbl#n,Ju+QR:G]ab6>BcN7o_>Oai\V,;fOebWR:/ +s8RLbiW#ET`-Yo]e%Z^C!qsJ!^g\Eh+N5PQ['PoRZBch)ro6>MTt,tSlp%tmVdNKM +7s'`qC1e^JB4:a/IJun95LC.Dpj[iZn5^e=$^cokDmR"2Aq"IHotc#La1HG4dQtMr +(H4n[O8G8`*4M;oAm0C>0fTaTJ'Luk90g:BS->6D[ZWebPU_-K+R\oL;YX10c;2ZS +SURQmh(j/!!rqk6r(%068r%Ig0BfKT6lYa;VioH2B4f^ePj]"@9A(O_g!Y(IUZ<*h +B5XN+ioN7:c4XHY^`fbAl0*#@fS@9EK!?>01;"Wd@"_`7j430"'PlTGH]TGZRMM?B"YZosm5>'VNY6+_1VU2Rq9@ptt9*#dOGThW8^[ +_sU:3c)kkRY_ECb-a$GeSUQ$djKW.m?(K3;q[6c"SU#*Po_:[pKlKDh;9k`Gag^mU +DsAWSd>j!@i3%OO4oLVC#BF,j.;H/u!-puIo0^SS+H%-,GqnMa"oQDT%t;iO=I"<) +l4I@W88tUTZq2l`T2+ho'=N#e5&938D[O3U(0YZ-2W9T;THo)..YV$LpF1pfapIg` +$?\uPEWum_EUASjJA;>AI`J^n:LP?emq3qW*!=J619Au'J,)#20]RMJU53U[=X5]' +!<,Q+/#rASnTXtb7/g6/4;I@:r2G807%sYp8n\H;!MGZB1L^@kranKgGs'];cSgVl +*!Q=sXn*Vd@/VVnk<_/r"8Ne\IIsan*aA\c!W28Q+ +J%JFf'=9Fu>*L6`ig/_LBQ0k4rHt=TK%9!'DX<]tb,t!aCrKS_t2(Eg/Ng+;`eL +1%rmm][+TP:LLR[/5HnBMo4ViY^2-gA.:>7]p$iL1\#l$Bd5SL-t`s?Io:5.OoJne +n8cP48sX9FGFZnW#<5ZTR0gYjFW"?T="I1WI6ir8:kun4A4R`R#JT.-$):&jkX!R) +/5E5goB>&o-pHa&>:G7(8Fe;8#XWjuJ)98s +,[^>..E0^5fjgX1a$6HDn/rhpQhHp=KJ +WVZWBr4$9E9.!7.O*?/5P[FM61,2.Y"kR$EOIES2RD%E0I>8UeH]MO*%PrTqDikO) +GW56LhVaTEJo2Q&R7qGpF@uB!jMZh$q-p3(;?1/,lHMBul-ak)a;aE>-M+V'gDCH< +PAoj/!A5f(aT[T=cANBs,/)f7lLcr8-n,^BNRK!T>_%+6g^]MR_:uMAP=(ST$UB-FR +TJ!/>D76oW:>CB?=8$i!*:EO14="[N_\$iq#JgAJ'/uD^Y1AtGI!5#?4oO15#!$7M +$HiqrPT@trIQ4gZ[&E=fk+02[48Voo)Q$dt8@`9$NLP7k,Xc_4J'Ks9P.L[ +i!CeD6@,Lt'(abq/:d5^=9(?7J/?$HP$,h(36+oVQCqcs71.(%`3iPpQ"L7EOB7Wq +?)EjB(RP7$77$)*R-\`$n\:OmYuD#XdMKrW&dntEXTgb@Wr\aaUC6Fd0aqcFHYIr? +F>%K*=3L_bkLVo7s6m5[LEaCn%Sb1gFKLOh_?g'rYY7HAncFp8:+c5mA1e"V%c^\G +(&S10O8Vb]fg\32Q$-so6JcMddf'Mp5[a3dc/a6%0K7a'2#)OX]-<$F36'ng/bC`' +kmBRG="DKcK*^K7s/>`lrBKA[DtHn1N"J3j"92lUrlT^Gp+t!W:>h0o7Z4`V$/oeq +'A1]Bm56*Tks9JLSul%dj#3M-2NGIOJ!Z1*mJ^id3D6Nu'Ii@B&=11g]5j$btQ:!rRDdW^h*T#Z&H,>!W.- +N._RX("ZoL'OlO>V7DtR,Q3tWV<$8Ff0PR@!J!NENo),Oa)Y*pcWm4>/[_kF6fI+( +PI&()eY7n],u`IlR0A*&kke%&KX)]k'I$V%q[/^7-+U-N> +s0Z\-a&MkVA8AU?qH2`T*l2>TEZp:$L!ZK2+bJr+U&^+I\HD6Sb/lt4$;aeEOX]m&L7b:k8E'T +n8Eo/?]!C5EUu7EO_!"93;$0MXc-P@42j2PWXXp:37&8`(Vp&7\&T,RkJP"Kn,t`. +@!/=&nhR]T,Q_?S?j,<2&&87^']9^N6\ipg:AaqXL.[YNO7j=Fe]YP!Rsn^/rQ2dT +BDXI-pLfa3a=99AoAF$M[Cr;MqpM\8'jNPN-[h[r!L:[&)NS1lFM-5aLbo'XI%Cl= +CAYOpJc)_LauYsPrQMi:DG'gF[eV+ZOU;R.uRfr-V[EBaX<. +4Sohb"Y,?%!=QsYEsE)o#^/cME$C-h\e^OK7O>@A!WEYJ;ZK=)F9/c]r7qG*q/*+FVrpY<1<%\1K&$Q'5PHIb?s.b!Br26P[7mQAUE!W@o\f>6$ +U4LsO1q%r^6V#URQNi,uk$,)8FW&#&bo +/:]SNKGghtI^*\%alhkWnuEhl9^$6d'5`DP["S\fJ%?Qt)#4:3O)&.Vk6,'u8)r@Q +U?uZWp9Y)q%A's3gNjgVHFKO&DEipDISMuWY55e@L;dKu?1Et0%ZeRXc-lt>8q-AR +>j#o35Zk+H'?fCHAeG?Q$RKs%Qk-t;iHZWTVY4kC+-&qMNA;ED:1 +Ef0@9-#X2gZ^QZubXau,aMn*2'RQ1pZ,;caqB=+UmkV-I'0PL)m)`7BYp86-6K/9R +Y^t^s]PffN?p53^%!P`=e4QmIr_`T^7/LMp1Bd_bF/M4b!rm6?&Hr-`g6]:`;tg>Y +!.6opb`n:nim.cA5hZs1s.=B%Hn*/9c0P:_pjY;FpeAmRd!e0YH]:8^,t5NtP/1M4 +5V:t=r25R-#>+kac2U"'cbe`*63Vr?C=_UhAEfSnmOl9OVfmgrs"elpV/>tPhSTKq +([/,^Fd\o>S]im9+f.5.^[)UB8(Ff.N;m'B#qGE('h +lq[Th\>gd`UF.NQS6ocL^=hX$j:<2s$`\EB\rJ1VB('#tK($qA$kR&rH +YniSJYot`]`'1?d^Y/`IMAUou![t%nL`o8Z@9\Z"`sMbh"]4f_,Q]GKTS!3Y0`UV> +:CXZVr(l>24bB*"M__lbK4N7NeuW+M]#ZmrjA$7,o8\E=^uPA3V*'a%i)j +cSX+CB`#OD`rDY[Yj^)o"T6/)@1g,^5dnqrU4D)[qGdAO)IJR +47CU:gSO/K8(2UAQHO/?Vqi8O]$$;u\r)hG$+"c(P#;fLPKS;SeuE +*loF@Jg0BgWoIAWOmCXi*MLFnV=BNg"]3#WQ[G4#_gW'3rtm7ILqd9i=m*O8s7gg9 +':\b6r6o*pk`H@^&3F'Wr?d$K4heu/I;KFASI@Y$%D5s?F6j@qm2TlX0$C"n'gZ,H +r;K9:b>`l4%)2m?G[lJmnIfPPpQQ4.13%_fC`cCWUA.O8eD`Voi=JEVO:dEV[E*rg +8ItiVN%s8O;XX=lS?^%L>f$bTiG;u\UnDKe76E0c-2R]D$TL"#5s1bn%!nNm,?MZG +&>^U1;MS?DT'6BT!2VKdSUH+mB6%POZa&j!-sNGJm#Tg,+?t"_T]6"Kbd$nFj('tL +4@8Q;5'uY*%)lD=$lnGQU);lf_Z+i=IIk9\MkN:es1#'U9tHLi^hk`YPGFT;O5`1( +!%J/>J:H0PY_/YfWqcUS>5g\p.DTjj;erp9dVe]RGilJ6F.\@;aZKq*4sBFp!.T.h +^mc0Gf+*@[QfFhAS%E1EQ,*FQi3l2_GM*F8X?%=7(XY,!h`SkpJh-o*DC%p5EA^/l +r.e)jptp2kau]Q0^!@V5qS-ug0rg#u+"'K)@`'RRi*3Db!<42k!%3A:AiX?8aT'S- +DuMljqU^m%i'5$W6fuHndccj5?oY+ElG8//Sa>]Kbg^K9RDHiV]8^Ed"LHf;;rbN-X$uh5]P= +Q1-d$=XA5Dla"4]@XYlErr/Q,2MH_d!9(s9=Q(-meimQAmoqZfW5`%O!DOetQe5c) +kJ&\?"P0DCm/!g@oeBRaTP#.XT0*/:K*=LU0]5s^li+E=mOhYlhJ.BBe8aJC]?Qmi +]=Z<8DH3-2-p)bGTjc76h9!.8$Qj.35Mqt#FDq$9"5+3FjP;k[F5*YOJORS\,:PSF +-XPCN)XVFog>/cM\m=K>Vk$]9c$eFb:^R'g@_n7c_;M=7 +cAQR8]@S50[("T;^&0A7!;"9/NE;mZOZEKoA.-pQK0)"15g=0&:CB-I$i5q* +T<>oY'lK`Qqf/F0YstfL/^ER0JN_mc9HXK^lO:PlkO +%aTO1&s$`PT$W;&V$e7Crj53dHC0msM";CRdoN@+%U]*=h@;U'::e.lH[XZX]tAIi +:RGGXb34h03@c5 +"lgX)i?/8_M!1(sH&2L:54Xu2:/41G^Qa`4+kQ:a%H^eK!'W;R;Css!KTqafW*NBl +9-!b;=V41Jhp,ILYY]EZe(a:%uendR3& +b8L0Wr6J<722JIq(#j`<(ao9O]BpXJ\3*TnCDJ-UAcl3Zncq"2EuNn)FFsaUEU.2K +H::[%S%)e+k6hKn@pE8g0GW?iCk&5RBPG6Kc,HoQ[8^Ch!1o*ARA0sM--/7rNip(8g?kB3_n[]4HWZrX4`!rW2@!3](H!12Z$(0[l^=`k>hMH(r,&l'`2LMMF\U3$U%u"L:8)^_PK-Oh]P\!_4E=C5*l8n>cTu^sP)9&,SM] +ah=`@$:]Z2fdQNq+7ZM#qDHB_/Kh<2Fo.#N09%SCQsL@d5?0IG67)k\Qa>t-s6rTX +HbQMUhC.js"g^t`rZ%;$%Y>i-^d=-(RDcM'X:4N:H3C4&f^!gPm@@kTlOCn<6D32q +p8Gmn?An3q/uST>u$q*$sii_T9h*3<8F>WCA +iUf3eZL/aYJ$_H+jq5uUUVof[nQ5AefCm0i3#$Z2B_$5n1QVm,S]H/rb'Y+3p`eg9 +6gj&jg^EM$4)K!3g1-__`B8(!Hfd=5T?0*_c9@f9.2DDK +#m*om3@Ek>`A,TR.%c)^n,,`&S1qFr?q4%>TREiTD-DHq]"_MhcSh&("!S.LiuCj+ +*s7@%(27U.FH.(uK&FfdVI_O#,0A.N?,5%nSqGri&]6AhAO50%@[a37/Vsc5;n-E` +Sp?2XJt4;AaD.IRU^!S^60:S2pn,J\;dC9Y3ML&3W!RSL?ki$ef>/[/9L5AdkQ4/G +#Ef%VI@?`3F9`fqX'HW6[aGV7`/6_:5;4'M3n3+A7eM8krsmt]8/iD(n!6JX;MKCYRD$E9f9-$<;>mh#?",k-"+,LTH/e=f82cO2k#,H#&^WQX +eqN?Rnd&R+c,Qt0E"/lQ$NM`AOe,r2b/b'u@$cQC?jElTM$XYu#"H9AoV3$'h^%6n +?AKjuk9n4JA?[lfJN2_SRU\V@&!&tWGU0-b2^q**mAk_n9UT!XQ/YD[Wp^4k3X`nW +64)U87/h_]2mITU0UF]'S>Ua)>nHum9DL;H$.1rTr1Dnm-3it?WD_[SDZu@).%)CZ +s6#f(J"0g>p#PErEr._@lr2lm^WnJ2;>cjs>?7^:C+pkt2_K'#Ir&YVP2"W'F0F3c +mKBG2.B70@gF0ti[+,M$,Ocf7It`@sl"kVcduF;gJjB[6Z&^;=2T+uuEO\U859J>G ++[q>'oD#h['E0.jnY\"?f4.d_Xaf3 +$\1b<";68lf-`_a:PN,G!OTmplP/\4R9tTb]4T^-Iaki(aaH&+>M&1?hKo*;Zc2T4 +S%B)E%Ob]di-X0B!68Bb:3+o3^E?)%$_6\O?;o?I8*;TZd.#j7-L7`Q$ps)iiaS5CU64q":p[Km32gDWqLG +kX==TMnQG]na<*XqhK7\*Q`_?R!&!cb1/k9=8+#sg7*2$+929<8GMbl_7\qX-2!4< +bpaIpo?T:Yr6fW^C.%O%f$#YhBigcl2k-$"egK=RMSJjInNpCDabQ9%\$Gh]El*:I +o)C#ls$B>n3FU8pISd"o$PlPOb:&8A714qBb)>c1%Wqsf$ciToa:*.j$QqbPi)p0^ +M$4Ii';ZoNbmF;6,lWQHaF?ERlM@!$s/GL:NWkQ6rua3!.1>odc(C*t)uS7aVZmA4 +fOfMsBaiHMRUH9eO(=VG11S_rHqkefX6./q]/p#ulP3pWFCq[add3N22WIoF/^ +9mFSMJ0kP+r=;N/KEhN).fN?^TL$*g +&)p$.jO(B*WTEdB2t97mi:`#S%NP-j_C^c.]'_]!]g^TLURpYPLqp(ZF7HbM +AKc$rIO"i[<;[7.(Vku^O8PVC'JE9OGZ%3>$NU0UaEJ";'ZNLm$0dH)g,4,*D1 +IP$p6jXEhnHi.&67m7D3OEcedR)AHUkDOokmfg3g8$tBD1eO4< +52bcP3>`G!s7]I@_#I2an9L`9/7jk$8TDCf19aUn=Ar^VTjVM(b0Nc/:>e>Mpg:Od +8\q%gT3%cQ?aM3MP\t_id"A`iZENGgh\Rd!(J_aV$\%^jpgL:&gO,k%I:*)kJ%V\L +MJF#o;b(J1HcC[,k19mqr2Ll,fLQ?'b/!s,h9M(#Gc((25kbDj7DWjZorB2)JLmcl +_.f5j)i&iVqja:d*5C$5H+hhgiM^Db34iKl=TE.XP5/&Zq:5AWaHqtiLcq?IV[Z*< +o;]Za5d"\9*k2frfD.-=%G0ihYL32Mq2s)tPB-a(G)&/pIm!aR]\_Ul'8JdkSZfN: +$#6`[gMm)]4bL+G]#(M[U+Ynp\u*N_D4#_6+Jo-7%!1n*:BMuX[6O?0hR%&&n`L=T +0'sJ3hOj>fWj%\:XnVaq`XCtq0:m+Wj[/X.igM[B02E?b(R7r7PZHn;I[4"31ooP3 +DW[L[UmjBl_#MTG_3`T%0..!1NXri<(OS^9Ila0FMU)>3.$!gJNqK5"^b$qX,qHn? +/0HIa&bqt1@%Z\%#Kktq8EX0/#liHE-i=4RX5e](AD_HC`n>AlDk(Nc>/^,rf":]73A;D=DLC\BZ8VA,*,U0)WA-s:cj!-4[%/3F+D^TT$oT` +j),/%^$Kl)*V;M^%6PX)H9)pi\aKe`DKO>T9cDc:e".6L-PLilEEs4i?%@?7#Yo2j +-[6CHh*2Y+&+IVd?50m+,tgJb:+rHba@R=A(tJ#GYPZOm/#im.t>L'E6ZGk#RcKKAm` +n+JQ50H'F?JpuYXFE";1mq&uaK5TF*_#G]O#?Z,!-AY;BH*+m^fAW9a6*6"e4<'gu +mso?F9e9VP#%fJ5%8FjTqSrQ>jprZk;h-BC@Kr.YL/nGp.l_fsE%.q3ncCT))U]`& +k>Q/\ELn3u-M_/dQ;""VS=KFZ15YqTQJr,0pq_f;L8gi#60=AHLXOV[nM5<0F0o(q +3m9o27Nkb;.aVcDBlcpjq\SQ&(2=(\2,5$LXnq_G`**K(b?N,S04nZ(<8q2*1D0>%@YF2)K.:1Nm?%e'_o'B/pD +f;CbaO8IbV#!L-k*:?.`?Y+Ptg?\mV^WYkje+%4u-SBU(h.jC/ftgE+Y^i5da6Z'H +/9Cn3YQ,7(5Fm4M,QCaZ^p#("TW7qbW'=o+m^= +18T-mX6,3bE\69"r_r;FM.<$q:]_#\Am%O-bgg1hgZ5?;l*uKY=>p!^kI0=`+:A+D +q"'gZs8R$:K;_"O,QAd-;uGOV_)\U51BPu&O4&Z@C'5Wt.p]t]1f6b#W3BV4s"NJm +UY@]NE2J^lfT,m-QnL;HLc;#[b(:B8ZD*$pf8Qri*:9sVdd[Q= +R,daL+-PbqioVZ=YS` +CF5bTFV::s]nmbs$1Cju[>tR#iCN.Q^9NL^8W;(&QVk# +ns+%1;MH1LO5%IVj\s#[pj`<OIrV2!PP?u(.s0Ki"9pU +s-mO*8HD@.!OPl]q7128@t>9!J:`X("aK*#G/5<.WLY[ZLT_6gV`)t4J#W:%!LVAl +'Ia1b&G%QpiqYH"GNmUPR;AnR1M6cns#GFXWr1d3+g?Jm=UJF&>6"bB#m;`cBN&brR$9@u4-3/NVd=gCj!8k9Wb^`m%gr-o[?3uQ\0e&E@L +GM1amB3$[=FXgPe#V4e9MZ8+.6T]658e@#gS.>"Ta),Vjo6g(MF;L`Mb,@58s#unk +DaU!p;mDr%4u(t[^jf?D\cP):rkLiomsLjS"h.gtScs/=!rRh'*IM?=Eho<8'n;aF +"aqhk==mA-WOcbb3FQSNTR!&51E#!;dc"*OT#f-H]GtcH?3/DaJDa"j2Q(5LJ'%,o +@QiQsK:jEZTQ93oDmOaRSUpu]jF&Z;!a*a2/u2)$P4?iO>O!!VPb:eah(]f!]c\65 +qfLN6L%k[>E/#306U!.-WJ+T-IBo7K)hGXPHCQ%!3BR:B;Zf?*jd\ejs#@K1PgLUd +2_0,i11ks,C\]JBC^4]:EP'EQ+hlXACttph)]8'h#0a8.s/#Y?.\\C*%[VjMND8G5c]EcYmArhTi75Q;`5akK28]a-Vr2?VGif+n<\-`(-_ZpJ)%`Pf2H1MSE?9 +^RE3XOr\m,1ZiFU"Bn&gd!6=-!"UWR<5:[D@$\b,'ubEK"VaA7kCpJ/L:ZH$]&\Q) +k6=$0"Fp[.K"qOD$Xb&X=8p;TA386Ipoh++YQH*/!ot$qi32-)AH>Ae"d&=_+T+\: +!0L?GH"PRV0RTJ/ZQsBPK`;%%+iSp:ro;WZ+Fbr_!YhtY"I(H'mKVQ/BPUf=TGsqu +5AnIK>Qil_!m]]urtiuLU>l+N49)Phk^1N,XL?RDG1,1=BR]jB'`[D[,?fUP/]`_` +I$BB<2q"Ki#9j#)<#qPBrsIRV5lghtn=NfJh"mM8e."b1,5`hX&%A3c=OMe^ +CPLS^M0@_oiJn7fgD];R,KFd3_sRaOgE1h0[X-Wpn?Ca9@?9o%ZiA$p&!*>ck(]4- +KqhL&Zi",bKGbuU7K2de8=(Oi(!^l\*ghcM"ocgp%*c_",-W3.@;_![,EO7nK%n'B +n.[!4^6CL`O=jg0*sE:?$,DFcY%cfo9U@TGGs&/1EWfW"*8M"7?0au +E.\SIO2-6&7Cin19N9>c>lSgOIcp<:h_mf1Gs$/<>kJ0nJ'"*`b8;Uh^Dd)Brfa@i +O+3ahs*F5n%]7NMIO^la^%BQ6:=&rHN0?TuVJVWX$k$@;\o)IgHYh#=:^bVS=&%B' +QM\=^$Yl/=j0WHe?ekjoL%(_i@oWZ>!<9$8S,FW3a3&Zq$h,79arJ/W)d'S4,)2^. +fHn1C.96lTLXZN`NX>uAs(!H7`;a`h`.\.tng<<7>KIplbEK!(5SP`"s6k$j9<"(# +Tc!PXpTC(sD=:ss]6Z.oCO9Hl2@ltkkVH(^liLI!Z$+JCmEd$ZDP8,T6ndcZrn-Y3 +#:i6+:F5RU=V1:"+S).#*MW<^+cFtq\r]Fh_g`*Q[VOB(MP]BB8-'jR)>:,J-)X$ +RU,AGR+T(-0":t_9Qj#H6)0C-2(*LN4i_!)Ml?%F# +kOoTf!-eY/f9fikEV'YFj+!P6'h5%-Q5;Vfmkrd(YuYNY+4d=$qS(B0TE.lUek +/pqXlX84I<58u03q5(`:^LWU:82!%X.Qa-l\5`6Rir?.?`+t'`Qh(hBjU/0O`a-lM +\rmYO.4t$u8e?e\^mP>NBd'_]TAjOfU*rgAJ:]IV16[f.2^PTNTN5L6l ++A3i,!macCk!-n&,Q-)Lj'&Ho[qE%t%S_KRJLrjdNN2niW;03r3/%=M!d=J^nf.B( +pGZLA?]2WkMl+1E)X2nO]PrFgRh!\U09(+9`]ZrchnX^Vp5LprNG5*P^&?n:oPg#/ +P!@+MYE;$UrW2o3J"\<%!OR)-NPG'L`^l@P6u@b[UWhtb(3G(VYQ`;/S/-';1YD]I +.(>aU?J;+0g*'dLG]#TG:>:?tT!hkZCpprZmr5\fm:*-VC8XSsn*[R7_qED]CFdS; +hds8"=\Kk*Ilb#b>0r0TM:$t9!?Hjndo$(:M3rbMs)\[fm?72mj3*:bl%j5u%_r/& +,tjR\'j*B?PQOA;dma?:Dc2=oNYL(I(,-Z\!]^=M(IT8o;d5":YkSn@F-.M+$0]d#7Wp)%20X;A_BT"7E#fI%D_#kG7H-YIfjFdT7e+lsh(s%2hj +L9`:lI7bHri1J_7O-aV1UeA7U\*sj)O1`ZO@A11V4_*hW2I7mV`Lk\&S0e[u@cb@4 +k23"RrcS(^n'q:85L6tCi.$K"X8pks6gtVs^h7CV0GjrdI,Zn:aB9iSjC6a>]9Ha^ +s'.tTW,G\&m60OFG89Thir=#5HJlQ$dl\GtrAq:nJq%$^)i4EI_#@&Ms&/da*5<#5 +9_,D7_Z*B3bL?GJmun!-XoMJoLmWbD6o;FJM3=."iA\USM#Tc:rr89F5/;.R?qe,@ +#l&2W,[LL"_0lY-s/1o/$3m@.Zei*n"*$;)[H!MbS`i2,^jJ9t_V]m/VpEZ?it^ka +"92"&\HRf9^t2b,qVhXK)ap`3=,YKM!^dml^8LI!>&"7 +8sR[0qBs28EW-o1ggC.(:]&og_rIt>"]tael#hCWr.eVtp8]7p2G=7^+nI_=&k5#d +!'F7OW:W_cG^jj_ql$t#H@0-?p,![VEV#CHF +JCq7d/b,Gh/iR7S/Ot=?pl%7q&o3 +@AmsMW,k7\;dPOf-o]L:gY\k-Qg`>+cam%C4Cj +[/W/'6T`q%5M0UeTT9-*6dO@egV[p,X3FD+'>#6dG<;AJj(tLNCo?T.YNtJHkN8`3 +mUY86^;\E5hdt-0OdOkEkg&^s=&XKOjusC2L&;JL(^k%"$gp7fM!7i-pAk,XPK,qP +@GOgf'=bq!JJe/X21-m>Zc=6gIj:+AUc/n?2%bQ.9r4QNjE(Ai9o9T[L%e81o\tEg +F?f[9c9Dj*!<,>0J9RR8/H@F3irtbikfS5V6>Kg0oAkD0lWJ-N"f\loJn0Jm? +AB:-OFmoq>s/f]"he1gFZZH\UNm#2_c2W'4!TO,4-*qC+dps7WE;iMEP48L"VA/B) +/RJPV?csGp^qRcZ)Z=\g9udQF15kb]K%^s`\hW)'\PMTPX)TKUeSIe>KKj@e_E4l. +Y5nQC;16X)Ok85_g?Pg\ZMIR9(,: +`4Z61hf[p"\A3p`$ZH.5!qiP4jm74(i$lr^F*fh/?9Sd#L**2qjkp='+;h2Xg%p$. +jlK+0Zd0,QX=u^,ddg;HETo9SOp8Nke]5s5>C]M`0L#B^lr*ee.s4n-4?ZS]6U0Oe +:2S,bX9"]5-S +Qj&S%?`f=\+*%LWK"m@LU+Zk7M/fBqh?_st(J*B78Yhdb]b15`.o8@4SVuuuA"0OX +Y=\i*AoTqS^;!*aTGf*4&?VRrD? +alJt5c8d+76ieJV1)T2ENAieqkdKT_0nAsQCCDujV6H)I +Lp=M+!F[*cG](K1fmbM\jrJ+1+@WpX41u=`4`E/f^=/%%-U;e?0&-hfa6XR`P+;["0JKT+C +i.$EblRXMAB1q+E0,'%h1<]nkl9#XLPA$SeaWY2na"c;lTiQnZ,48:p3IB_H/VKI= +Ru1rFW0$+59g((6>faJH(BUhP+?nM>rpU +3tERVYk[\DJM+a9B.Ie?4`kp)I!@Z]J)7@:Z2fD>\:B2754F%`M743q&RGsk0=+IdLINDGbFGL:ZVip0! +W:So-A[kY*\<*-\cC!>n)-l^uh$]e+#Tjk9p@NVo]r$oiU4=[XZ#X6'@NbDm;"<5C +o(18Es!!F%K1QDh?oo9;+TU.K8[TE:#"):7>QBEG@:@L+E?$0lQl9 +cGFnofM_Kp^or1;X(g.[ESU*'KYn1:!B?;)eKjj(Rs'-=mSF8t!];4XYn_tQ$+tf8 +V[NJ96C%te&2H*0feHt0]NaReOQg8Z@C%37J=4)S-ek^lj0X2'^l^.0(3nrEDJN2S'@fs!sXUNS7Ac09s<% +.;L];BJ[3ICl&"E#9,P$R^K>AS)7p7W3"ChH[^fm7j5$54n>mf`(cMagStQUoQ$R< +(Y<>beER`*\eYemhLGL^G3@?&NlTqXH\MEB/%_ubFPSG6]NN[3S_J+GGr.-WHFra>j!@:%I>lmNbOYGVVh'];S=\,^Has,&f1nec#t +5GS:U&b\X*2ML,@gb>d\:s8bJ$X"VYc[u*hOng@P][B/U5?%-_bQSRQUJVIe;?\4. +j4!:46mGY8rtKs2ftLj!*(H'_(kFp1J&82-%j=.;T3U'CVJ0INE)logP$(?tFdTuF +e-]ieA\Me*EIN0Ij?*Z`Vc3M[PP[0-_9U.oPD(Y&!@j.l4"h,J-Du-D@IR?e`BP2_ +5KGjUQZH)io290#s+<1CGk.n.s$-'=k*4!K3XPhKg\T@&?P`R_i.'Gg:cJ$qr0LR7 +M<7%GL_acbr!t\Rrd,PUPFrT+[^js?;\eZEn';Bbet8) +<=%HY/O8q\$L!9FGOU*$5EYsm)3.-X0H0X;8X>-@mG'jm7G,! +_Z"E7oQoR$r)\U5*A`WCd=mBR+?r*#D_CDL&p&FXIVLqSdKCOW`ei;(+iNd:WPMmH +mfC^!I^gP-!'Z(V$1gaL:U0s+rm;NYrBHAF!;\Cp_u^F+$^%RZDj(@7P;d=gLpYK6 +g+QVj-sfA_dF+$3MDfo8=N0qf\_(-i^o*XaE>^L6Q-#:V<<'_:mK(68e% +(Hji**h@ua&H?[%$u^e./Ht'M6q@?eUF3Kh$=dfi-_i%8d0!n(eKYk(VQ:iA#.-\o +O.17>Kd?Zt.=L/7<=&Le:8QZ^ft`"*q]+D+J3+t.6MTpj[DA!dP3$&of5LmY$!%!Y +=ujgd^Io5VLCO@bpVV6&bS^ZjVBaf0/^);%@S2kO\-`94kP^;Q6b-i^.hn`$.DX\i3W+:]kHOhB?*MM?",$AUB&KoODa\]@=/(Hr ++h_rG*T.!r>j=id#SR4t>^?ld!4%+]a#]^rn8)57lJ%7;=UcI(i#bW*49u/hTC_N@ +Yc[@KGQ90XT>A4m`XdXoI#"$i`s1Hd>c4Z=-EUU9KtK58NI8bnZ4R)rs!c]k.>N5C +HOK'Y&p^o_1-p-f!7#8r"t.:a9^fA-gj5f*;LNL^N(?;Cf#sH4_k%@6Z1m7Gcs(e;+%mKDb +I\,9MDH^oflAjFF[cRotAf%Pn03Xg9[5L6bCB7SR%l4,o$K,pTf2V'rH_unX]bEQ> +(cNXI%55!+f2t.,eB!$uYU"O.+adrT$;l;sT%dfH`.8#3r]RQN0gi&ojof +Ed8ep$?Hn-+E47&fP8@O@`0t.$^e[B40oY^\J@6;*&P#>49Y[g-)&3a&]5IcLCT+b +L>][2!WqlK:>hfQ1_sprUoO`Yr7pCp^t9jq#qtQ=+i6ER73d)J9`Cbs&68PH-Y1G0 +`1)DN]Jr-F0QRfO4/R2u*W^QW(A8(NJH(Bn3+DB^B^M.\Fke"!/,c>us25)V'k6>* +XP=$Zs2X5l?V8q"/mAS[6i?tXBGL:Q2t6SI9'YBuU(o-]_!,#.YhsLJ#hXM2n:)s+ +F?aY@in$2*r>bUIinJGa0oGo'C^1c\i7S;'h[2mQY6=OEqfDo>+l_=6(^2RCoq01E +Kp^I:NmE%DYE#"*`qZ1+s'nHfa?O4[IULL:A^;AB:;9R@;15-#WWdL9P(;R[&qgK0 +\We?OV>Q(Y8]f+Z/rj]JruqC!M]Q7!mb&&=fOkN+ZS*Vc$jYA?e)?Nr$no7)>]:jB +HSLn74p3u7R7_.hH:3Tf0U@6R67Wbf9@&@-ZE)d'(d?*7-).&f3V,N8NRSj,J%>Up +J_9m[jCtXIN08q@T&381!>cjgl5'0%OdZg!s6'MhlG*SIq6[qi,BbKSJ7lflXfJ/! +EPm-25F-g$#;@8,H4BnQ(4CPG"Upb^lHm5pX+(p5ltgHj0!E@eGC^uL!O^CbFZd:I +.@YXf8c)\Io7cVWdnU@92DoFgHaPM'183V-YTji\JGM"4kG/9gg[&7)rq1U)dMbht +NFi2.G_&rmQ1\k4AsJ, +eLH#^;*9qbIH2=9s'"$l;W*&F]n5+QA_f;gS+#Gqh8t(f41F`\?K:^KL25K8=#0*A +JH+u)o$ls1V!=,]kJ[bc!hOAk+6CI+aH*lu)g*P*1]M#8!4[QC'Yp!0!8mp9,Ak7# +&H8F4#e#n=K]5hDTD5&CCBg*`D3FDD)qpkT->*Ls#SH-aXVT;/VD1W"W>.3c_TiW;jmj:R>D?cs>cNGe\Hh3jFJ +o2K1DX2t+:1'5uCe4LP85=kn>T.<,1?h.QMk%ep.]aad5s6KeX<,Y&!;[J7'j1c$% +5^p-r*A#_D$s`kV'K\Os9]uMsEkm/8e$"19s5iXFl0G&1jf7QSVs[rhChp1aAZB-J +!FF]SN;m8qf&oU&hpq+AR(:TXY6&-3-S?R")d,iS>tUOc(U1cF>)4+4LA-Tmqge]K +JrZ<7qr@^dV6HYa`7^nBWE]Pp+#Q16_Nj.3roq$+k=j]fP#O/3e?&5]r5Uja^. +Yk2/al7Z_L_#H@hU*!$oJ@)heQSl2f2^\*5)mX]DCAnM6^Df4%.b4.Y*Pd/\s0j4B +2F7Z#6=)>ApT0,[mP6NrhhdcV@c=%li;\nVdgkcf@H1RM5#$e];`J=(k2ZH3f]i.P +.,tEGs2PNVXT>Qn-4p1:WCdL>q#;LMrg4p`TC='8s/p`!>pD]P-rlDCE#:[ElIWck +5-YbcN>;>LRDktQ:=n6%Pi>=N,"`OoEmOU"[9P#h9I1+K<&oVY_8#2#^h'ppEeU_J +9!Q($pX_2jhW,'$*9]\sGWg=eT3;K(P9JRhc`F&6i/54a)9@;PkI2)%k!MuX#[G.Z +7,.NTUp-r,N\4$ +pm^GF*iir0=6;VEb,No?CA"MFjk_#lH_^%=Wi%O1V+oc3S;t*Qk0LuP8nfO5PZh.W=XflD!B0Js@>Pt%(r=>>+ +b&>][^SMfFb09-M$:+B9Sgjt:iQjd(E.P#-&L/pdS/bNaU1E0>6Y1P3p=D.-^X;HK +6$#7`pV)HI^V6^)/H2\C=1TOSFlXb=(m1`;O/C6Zd:\R;s.B,51*HMpUC/cKOWa[G +nR#m8^n5I1"%tMj%51:bZrg7Q\>b_mDT6%/>(,_uXR>DOjlNT&Co_#`WFTM9BPi(3 +`pBG-krEOc+)K/NTNo8m#O;cC2MuDG.c/GeRHA*=?H)N`]sn4sIS:IQ>/9KsNuqY& +SeB!Pc%bmV$Et7,!Q"\]?k6:CKDP+++CSl;Wh4o\V;V'5:$/r2W#(h^X#I!;\bQ6H +e&QX";k)b+33D4"YS&Y")E>)92?s*""YilLGlAXF0IP@Ls$(h:Q6PtYA_C1[`g!MLFs0DG3s-&uT^jk_0:DW@G9]I6\ +Q?YW$!b";c()3Km!T9`/*47=7mW!2'$TCUcjI_9E-pQcarqjjpIpLkXJoAD(DIN$A +YmH6nI/2+M>JF8,IA#jT5NXUqaq#,hT?1b`^?@p=DQDI:i9p^R'.2nTReof#&H6SQ +^D=@:M-X?J>all?fEiK$poahoXT\AM#'9tIpZ&-ZU[alXrkmW,5,s+Nl$8o[oi[b3 +9>8Y4XARFGM.Zr=r-t%Wp]+G^Rc"1RQ\@hP'6:.K'EJdE,LAVq%Y%$jH:h5SOTGB" +aKAq@6g";4*6M31a2+Uum+L32iE#**34?05Uo6V2=f`0@E$;#Z.BHJpU-^`;n7#ea +76C`%5?kXa-%N`B*n+ZFD5GL/JJXDc#L8(= +.A#R`.aWQ^O3k@ag9hOfcZ@,$+,mQ/M7d&kmNCl?'R2GJlq+**R`rsZ=k`cs4@4.)N)#-l2^8RGQm/.+Z'-mEN +%?g:S*#SkYotR@As-73q%Ea.Rs-)U;*R3sVR`>q\!4Ck%n3M!o=sO8Zd*KhUSYpLZ +drn%V%k`C.!4'2_"feZ"pGL4l)k+r7C#8#dIYot3i1,FrJr>VW]=k)V +K+cqmY/U/+C=MRokQsi!!&)!52S)tQ34=o*%ZZ&]e[ptu%Y;=/Vk*#-"B:.]?nYZe +bJmd..@MR>:7Y[K)df>*m]?WNS>OB*9C1EH*'1G=0tJ5d\f*]DkhEl5h7)b"%piX( +E,[+J=N:C&\?QKXe8#<0`25GVH$ecW>inJc!#0_=/s9g5PS^3-J)4^ohGJ>o&@;O> +#[8\^+X&oHAGD'V^QMU3+7iMsjfcBm6m7!J=hE@]XW5_piSni3cBJ?Z5&kSIMc<3X +@-&sO$%#/ge-WuS"TL\&Xo.q$KE$Au&;#CfoDdjnmXJR!qmhZ;J(`tf(#*[2*s%Kg +`W(W6oB3q4rr5g)E5MX#M#[3IG_H*Ljq"A+So+c*DMRjOBKG>3"Mq"_V$U]t"8h5o +gQqtgOT/am%q;HFU.0@BmBS(j&geb#+/\STrqoI%2P][:&fY[[9TuIk!qeUW=o$V1IK7Lk,MeH>LVsJ6uVWjT5C* +1M:kd`lJ"XYH&ubr")c#*1;"*W),LM>U?[D.AU'##l%c()H^spX&M*X;DeO(KElg+ +;rJ1(Mad(A-&:/pA/51%p?bNs>f#"?B#(2T:O*>D$FCZ?>3Oiuld`jnBc+:(%`(B_ +cN6Blo&%!,_QFfM%K%#hG7aa@Qluh#TD%X0H$'HVgZSN]KO,[/[Pbb<%tO[S)H@fE +Y'93g)E)q)@oioO5Oa0NWYTF'j=(Fq]"[/af(0ld?PNG,KN0VVZosua:bLZ@Y3GS' +2i'S)VU#U_'O[/P];TK\W4;Z<$& ++ob2F*+]!1rm1L,SH>=9Iu9!^0cC!?pmWQ)TI"n'a*S^&_7U5m=?_Hj+8pG&4^rAk +k%DI2fAL9]n#Hii"oeW&?n$Y)rhlCX59n5PJp`CJ*P\A]r4qe]a7-bb(O/e085[\4 +4PfS(/`)F%A]b9:@<`\F#li`J/pKB+He9i1=C/3h4)\t`hU;1hQ-!0% +POH;g9Y\J7+S,sN(.tad)?3@"moReCEdokIb>);JfJ*-2l*1;t3sr/D-$HJ7_+r4"-h-$CI&?OH"(o^@u? +?$U2tj6NDV.m^?^lj*)7HM,-tbo]l7[BSVtLf)5< +pfcVUDj:J%EEPo!I*k,mMNLAQ6\C%,=`sI?i;W`I&'tm2+#2;o45n\:0+i4o^FRaf(:08S`c[;HZ5X4?^^lJj# +LD59%lc8Q4nGanFH9HXpLGap:]W&Q7X>pRE&$om!Op2gUbKCTf`C^_&kPY`%"&"or +nVC+(Uenn*<5l%/)$e)0e3YZcUP^]me6%rm=kuSn!br^*^W#=9r:b6M@.9Uh*;IQ1 +Z^JWWImNjVJ[:)H:h1@o-'=:f_4Vq1W7r/\Rr0[=l_\#usU!]:-hPZr.j5$A\3rpoit- +SDSP*GjnI.n(l0(O,DX4'mAHOKA_bO"mrejaUrL@p$B]!R136'?<1JN:jkc%>m:*o +=j")!UaIIi#=[);&)faK!2oX"Q/[`":\4YdQc6S&`&\YiJcE0os2%_4cO%#%%^F4b +[NN/#R?S%,LF>:[kb!TZZF`_2A +.UP]FSdA8)J.$m4!5*sC2oosWY8A);j[dYZ2#J*Ll!Rlf?Q/il79BHrr=\0-hpPfF +_\W_^69Ss(Iu"jl=B!@lgtSu'4"13X^h!EDK`>QcpdFM/-:@a2)nL-rYF[QY+AMj5 +qL[pA,5?6KDo,%(UN=5pBpfaD%!*?AK$H-L8"7VSR`To?qN(G2Y-pQ>3[hMm.6(HQ +s(tHU=dtq8lO!S7r]b1:ERE03e]gkDgW;.n7cfqc'JJV%E_nDcH7?4K6fJN8%2qSpCgE5Gp@HD0kh8:5(8_7)C$TQ.fG +8*o'>(t]AghhpBD:Kd>W-,KVoHP]qrJk(#/-F'uj4g?%iM/o9=N:8`p^RdQq_k%'b +n/d1/>jn&8C`[or2?`@h&uoi=S?6)B!)$G1LaY^`T:[JH(+) +h$&08AUp%,e,gQ`EMqcU71D=JG.hV!M$_&WhLiUJrN>P(I_NR%#"nFV^>, +@QO32jY&t.i/:d!!U#CT@?^C< +!<-Bd[a0^\+&=tL7qe:al,8k'5$^LihANLli;\a+)pbX?n'M?BJa_1FDt^D&pEkuo +\:AJaS&6S6a"Nf21Y:P2h0,LFipS1e@Z^M\Xa[.SulCJ +pI;1T<&5o +CkW4s;C2=>r]koded:hU4_/.I2,?@^1!0Y20-G<: +^jk>F^>M5;T*51Irr@ODY\@.:H0@\#W$3feM&)s\Mq#Q0.a_EVVC!NkSK=X0klBQ$ +?SorEBEis[C!"iSW(nL)3_b0[=%+$r&tP^?-a1U!J18U^.EK\hrjSec3bhY7:UuJP$A^B>fY=UkEkGo;F7]M"ZgK4qcrCo$5:C$Z!db'km +'FPi&Jehic$T5p!05hMLG8#8[5GS;I2A]XM00#Ai[5U9^CO?n&J>McHQDS:H9u".m +qn^SK]W8H7O+Vb?bG?J*jk:h(5O@@'=6mHTi'M,'6r`27I%qs0!2Y"piiUi>6#`;A +XF2I-lB!T&Ap8'%NWD8oiDU'"Xf0Y/^lCFIVYSTQ"m4H2E'GGR/9NKIG4!8C;Y5iR +%n*b&aos2gk&`MVVnatP`o*ZXIbZc[*(5kUiMr7/[A6Ab/&96'GT>YdRAVHaD'ZXJ +0mhm"/7d7-_9u*;i]:.]>Te:sN%J?66nO,2rNeL.a:9>as!%llVa)r0/P&3^8sl3IJ(*"kWqQ;t8:s +Ka[A-7Ih^cf5.9ZDl-9$_Rh09T(ZhtNgi16oBFp"mhRl@Lg6Cb"c-GgJH(PaSb(_* +b5jct^)_b&rO=<)"U[p->@e9Rg-9B(\_LhBF4R=&-gLAEl7BZ)XN<'VptJ49a0b[& +,lV]Ze:%H0hLmiP,1P_t>f:o#ehgnN5A)VHP`8m]IOX0i?\HRn+DEmZRKlW.PfsAV +o*,i@,X+0q4G&WMnMZ5^0=#0'@dVCM6OV6%4ZK*CP +$',GRmh`p`lMhRu"0]$5Y,1u%:%>iYia%i9FZIRM1=<3T_5/F6W@6X2`)>sY8\ +?FU_PDO>!1W.g31?`\cLp(6<(nj)-m2H^soeMEt11Y\L`-CK9]BdF\(du!R +NBZ,O4lLBJ\;>7TUE0Ok@"?Sq2C-<76#F)E+8m%t$[hU\r:+G[q.*/-Yg9":\m.GK +1c*?,;OI_)V1qYJo#G"0'8t;7LTAl%'c?@Ol.5m-RJ`<[,hJ,B`IB-t0nqGN%Lh8k +%*/tWLSR3"N1B;RR`XG)p>=&=?,4TYKK;(/r'jOeW9m9pT-<6EjGCP((K,1V3p6X$ +B\O@$QVI\I93XZ<,uE-cP>BR>obki#4h3CT.K<>+!<2P'Aod.u%"LR_MOnEK9=:QA +>0rZ!ZnO;I^BkqUmq)'TZh8OF2Wrks00!1+G8E7#20hm"(S+:0!Sp?eIEm99o8hMrT5MAUosQ'=$H:0S(B@51Ft +=G"52r]qMG:G\ccEO_9fHXSgqYWq2.G7cD3Wr^7d$P40sA;d^J0RF:V`Mk23^sPI) +_Cg%PVg''br3:)*QcdRF.lKp3,[1'T9>NCHhK.gCjPZF-iVskl^0+q's,S-F2ImdlEgQd3Er5m1Jq*.bYM93Y +PCCf<74Z+eXb0]$QSsUq7DT5V@G:A.Ca&#ZhF&WIW,>ZDQP\nY6Nt]0>*JKmFBS8_#GG+jECI>;UiKt];I6l +<B'e"'Yp+7n4!V5F/N!5F"gYXR>ts\V93V +MCunHbs.o;s$DF$6A;'Vn-)EM>Qm@O!m4N\.b#ZFW5h%W0:\!"hoV?I@.Oj`B9,n7 +FD2]?JqZ_JM`;W@,MpNSmGRd5_Cf'**&T58CRt!qT6.6,E2*'1gV3a`,Pg`,_+(Mt +$sPrKe6pS6D9f>+5-P9.euKP\577$PL:>BPG!HBgAGs0Yi(g?H%>b%8s'=nkHaR`b +Qp1cR:Y=3Vft801Ho>O2%!Ste]Ro;[K6r,5]`*k*j/a3M"\S<7_@F&j+TEIRN]94T +CR<`!HL9].gA+OPF7*_HDeZ%3d,dCW_8+'!">RZ<09V[Sp("cK3Fm +2[8_No\D1cH,/fr=OcrHXS5!anA"j,7F.OQNk7a0.<%K05;`Lmr-ru,?,.9SJ&mTO +rfd=WErHIEQbku?pB:I,s1?GK?PHu\r6LG.4p?H-rsAZrSpC\a\s2H3Yroi2d6*@_ +l9#&r,7=!tGKLKr!;mMms5?=i>*Pq6[$LeJoE)`27-["^cToL"fo.W4$UXUnRq.8@ +K#MIYd'Vln/hm@41'8=(WK-'Yn+-t.n)tO:VsF?d?,.9S-h4s9s)\J8#RZeFajF)6 +0HbA>p]n_$]UZ1">_j;hE\Y(i2d2[lVSrhW64c:ZP9+lRq1!^_Mj4.;[Q:#2s,liD +bQY3Z0FNsOp;Z>giD5nrJH&2eN)X)i,TWriV&7@;;h.hg3nj_pT5IA9>LATbC%2u2 +#W"rC$,bBU.j*4r:0.C8[Jo%-qOEK*3ChP>p;T>LR@M1d?aFg>(2'a#ce2HnGHt6< +FAN9_eI(op9m!\Tl(9dLr^7=I/b4BCNZ&TX^Re*_?X]"6VTai_"t"`OKe\3qkqcN] +U@i'5@0R6%\^-[NAI0-h-R?N\bCP(W_7f.XICO(=[q@.3Hp(qN2/%*JZY.OpHbm1, +3M:RFTGQ-p,0)U:-[+NH>\H?FFt]-d5_C%b2ehCs%5jlZ%SWB;#1nJ8>d+^!;@b2? +S0^AWb^genM6dI-cq^1nTQgX3K;*>HlQ7N^n=I7:PVoq>b1f^_I_up@V[5TL0)`D$ +'4Cel*L@.PABet'j36-0'&6?9dKJgehMHB9r$=,<"\H`8F_Zj=P>$WT&bA;rT?BF*T*[d\/g2\A;dnVGe;1V +U\O)Gd`"Fk7.@8U=L8LOcA+_#:mGq?8JN9lcE%61T`ad+Ef/[0r]uh]q#=j/jHkb# +@kPO>m9ZW018FoH8s,r"&HMk/o7=^W&sX$2;G_q-J$F$%TqXc!GZd2,>U?sZ-,.s- +Cc]"=-Oi^r7'Zo^^BKHrmQ?BqV2Gg=jrqas:7L,#b\X/8Mo0mR]NZ^fl2\8C>b5H- +2"J,VSp%%5rXW-o_<&>4NC'gLh#&,@-h?L=pMLrEBEA*.3PQ2Qi&\)Vk=,aGgN@GB +BjU2Q?lhjoQYA!<,?O!B0$^[7U8,.AqK^ +#e#1ACB&P,mDZ$IZYo*@Fo%rbHJD#WZL4`hhGI"XVj_d1-2k8MqGh+X2>+J,7DEXr +\(XBufThs)f.)+8P]kq;l@)Q'=Xi(b2D]9feX8m0HYEK5_PgaHCbrtk1f"Ic1aRfN@tjA,pF]Bc]V +p#=eL_;a7doYKOlWZs+daOMt!VZ[p[ +%Xa+>OGs3BTk4U7?a7!"cu=7S6WQ__(BCNH;ks4=10i/RD>q@*q(#2.$r'0N6*ROZ +Vl;H8E$[H@$m,L/Tlu0nq,_jjDm5MVrOcBc1*]*fh29^skb-WcP$a-9s#OCMS+E`Z0cKX=V]O=J'fA^$'(3 +m-CAXlE1fbW?:G8>3m9Z)ICCDBbe?&mb7=Q-LL,g +OZ3iZ&N(%I!"Q7hVflMr+oV^RYT3u,R_a""S9^&[F)^m5;(a=h^Elbgg%0-$HOD.U +T8c?rgY!F`K*sZ3#(_>2\8.7r$NU+=c,HRSK2b#gq/,u`0DR,jEgGU[M'/mRDmYfV +grpKT'sE'7h)M9XLJT5T6p(6TaZ==?8Jgfkj+&!7/#S9c!.W\;n'>S2)#mN\cIhEM +.lh,J%[(J]F2YiS/u+)K_>K@Jn6<\H,lCJtHPQ981Q[b"s%s:e9SU5mdVia+"$OZ+ZN]T@--se&$#.0'nqq +Xe3cp;)+Pm^[a\=lqmiTIlDZnpqIk37\s^K2u+ZmeNO\ls'38t+4jM&;-pDm=K3?> +VSXl]NWf@E.g-Ugs-3\:s)9Ph%PCWcX\b(]e;,PTMn-!]>]!D!("'CS1:!0#%B.;V +62BNr>QM!b?jio96G[jA`*OL'-Z_VkI*E2cRJ(;6F/f6W!%@odhD5(_0,V+:4hT\S +VD&Bk#8[AS-I8T"g8BSdd5p7aC>-'ui7SG_T5o>4D/^\^s%*POBFYO6l);i7XSKB8#X)??-.5855LgcX95MKE-+k/o,X[k.L90i>\Q&15 +lGgMPgFR6nlBOK^aF9qRr]lm":FY[kEnW+AoIH81,oYaakNn)M4aQ^XLTaeQh'g9? +0*)!"@RX\Wr(iT+AFONOOU(g)/HAkX8Gu$orr`:nQ6\XDN;k^6YGDDM_1+TFA\!r] +^QNLf&nc3PQd[85AiO=frkdQR'@k-S)\3Z&V3e"Y+O@A\u+;`SdtDH?f,YlUA=jr.:jFa4_G7P_:t]\T.<`8iAc&LD8$i_Ie,r4*5MZ& +#*n(*r%64\Eq6^_XCKWFiNW,`i4m5'eXB9h`3gKXcZd0'J9ClUg]c`h%$#HjW#$F% +[19Kl*T"&SBo(pg,@1o75ASZK!r`R5lSl]Xp62BI;J-M<"n72Sab#Rfo5>7SiB;[S +3.k3R(@NAg%Le-f@`C.,:DNl!Zh+b#XsLh`J8a:1lY/oNdo! +,7Z#.\'t/n"lNfX+1U=f.p(Tgc141?+6s_L<_FuBM$"Oo.6rGn@%g2#Srum`P(1bG +T0h(i6Ieo8&pSus'",e9e]>q&bbnJFP7\7>.:ZTOdq4IJoB-Vl6jJf.V=X64R3UM5 +RblA[g!6$k8f/.1^7P"3SoT17l.Mi`.snG]pY@Fc\6[m8YI*n-0uErV +@HW&Va1VNlr;TRjc`4&*OPl`FIq8.X_#M#l?h,;s:\ZS[reu%QNcbR$F(=PZpa=&\ +gb:kdPm.2`p]J?^U8J%1r,Jl#YqFa(k=ZN_[:9T3bq6rkX;uF7_@s-MYr/- +!-Z/)K_oE?T6:8)WGkqpE9`1FbQU9$:KIG6qs#O5(aTE[*&K,DV["+Re[WruT2=Pn +/`8i6NS9I_.d-=+;ATnHNMj/_8oc!9)#"!&=oF%tl&<9P4G,n*9:i:/T^k&e0j]p*ZYk"tA(T*#s]VNEf.-ZI1cU@.b;HjXF&\8/eq?d2:KYIrmdF:Pa +\\WV5`lW<&SLb&>aA;i;)CI*;8XG#TS?)]u_M]Am[]apjni+B)MuR2Te.FsU.6YV6 +*b\1;YkX!/eNZ4!^\=u3_:dgp#P7EOW1"6aXmJ+rqhsmfMS:\mTcTY"hE%pUL5@)- +=am5l6UJ@o9;^^@c6[Tb,RlEFN ++0GTn5h8uY$r69Rj1`V/q9,#VrsJ6;LP%Q7]E=9JnfK&mmc%9=GU$j=57\RTr0Xtk +Z"T]0)jACX_3aMpq=#\#Bu5qa90X5o^!B%Dk6&/+1MM"q=1"MO3Q,2TOBGD,l7'gt +dQn3n#[osca^nDo@P[*&V^)4k/]8rB_#I3Gs""!)$U/Q3!Vl-3"B\(tPU5qXA-d/) +9B@)]+38qr/V%LP%'kEDXLZ6Ug%SXJM7o$8%K%#4ot7_]0PGHMdc-D1kp<,*o.E`F +Y-#M>3Tm7SGX!?pF`(Fjm"P3V6?-`\jQk(31%;")0dDAO:"klG`jb*c?>`1AJ-2N8 +]s,0TaH-:lM6l\^\/m!AJlC7a&]^65NcigrNF_Y@YhA%hrS*kI[p+!X^/QP`;^cH_ +/KZ[X5@jV(h!4^2c&3/aa9!F#'fZ`-L4,uF%B'G)7K.6.+-&G4NnN!F2I4$qj-3L0 +\BBdbpD6cboi%HiI9(RX1lEG*BAV64^SR-!TbX,lmr@#4]JI+"a#M2aO;*(Qr/[YX+5q<5 +As(A"&M?,Bq&e^,&4sE_aHJZGbR!p[>]e'3BeM_l!A+4H*C7brC,@ohc\TZ\;*&_% +,R)!._SJ]LM:r@Us(.Bm/43Tm&OI=J*2UU[;3UU`aDh0Nk4C7Mi32^_BB\(?1gPY0 +=#@fN1o%8=-=>5\iT:Oq#UY%pR8O,uf)K:5s)?!@+tZ'67_t]li."Xs_%(rel;W6hAb+0iMlMi7$O!1gW +#,q?SgE+VDo-_A;Q=r][YbK0AdNZo?$Rj)`k%XgSQc7iF/^Xa3=FK@Cq7VFR3Cg[h +5^jNiM]OKC5&RAd*bpgDg>p%4+]L6Rf\ge+oCMJ(Y1W=8KGW+=2I9)3=?rE:[U#EO +_+SY`8piXh>!JSREfs_aQ[NKhq\2*Cha=+^k.,k_\EJTsY0]Bm#Xu#JpF8RK*^T"cETh$P<+I +*GH4Ia[#6Fr=nU7fhLMqB8O'<&cUFrP:H\#J';*tImMYt^S/Rip+q@-s4#^h[K("7 +>L=ecD$7.U/a]k,^ig&$pBhZHoC8(@-u0m=&@[orhP&(3lMO!LN%=6nOoGY+d3jt8 +\,=e6MDbHt^He<:H2#q5*Md6Vl=@V'R5n$6IZlO.PWAo.a1fpDlQ=;N%^Q>SJ+*LN +0E^2DZPf^Q#!X0uIl2@hJ_Aq!IBV8t`g#RpTgKir!+P+m^jgoF,K0VD8I8[kAfU)- +s6!!Ns*"#O`;aU]_lFA:CUciNCr3@j?T#qb_Ij$_j]6c+,94l^10A2 +[G(=0ENR.5>SN"n]k$fFdcL3,U`/O]J$,f$^1qVI;IHYJ +&6B%@J<1t_i"F;m1o4>PQ +od;d\2g#e;R`&I;M0[$3C+h+Z\6dilT%eWQX7oplq^jF#jNe(nGML@BCVQ?5ahALs +hCODcT1&YYJ("$t=.''nj9L$/OnQF=ok?uQJNq*Qp[Y*Jj@8"MOq%Hf=/G[)jdumG +BA!Uh$Y(.WrqR9+_+=&K4nJ?EFF/C0P.chtpa>QtnXhL"geg^Zi!u]Ir\XPJ4Un0b +)r_-65sDR&jHma@>o,:#.fLe/!JLJ`1`/*%:cR0Z&eUu8mr+R*BE7PJ$8Dba;^Pe> +99^(ira99JM?tH;L0Uqq_tP_,j.A07DrclW,"93@?a2"io*rV2>Ir):BsupGm(T;^ +Rc$HnLsO1i.JtJgR22rc[=*ku;6D"k4&Nd,p^]'Vp:MNia^TJ2Iql3G&Z79Fr$CGF +C^npY#:%lVPTf$!D?l3Or9OJqbJIfe@V"L!3!DQa"K"YCBe]h!(dhJc0nfC^=:9GF +'occ2jJOERsbQ$X/o8/_Hr3+tChg/K+bMDGF(Rsl!m*<4'.000, +>nqeD<"rqN($,9D._[L>U5*llQ[,Vnipo?^c/e+6Wl];e3)Ho,OGCN?=T?\_ +;_q.s)m"l:p?WP6#DI,1.ndC?M.2XH$Vb>=U9[K/)W2N8##fOI!.XJJs&H?(Q89'L +J!7:MP;[WH.G6@XhT*&Ka:oCdr',T>]`;&SJl`'L"#^aA^r?df4n*7\dP&/S^DChf +>d=D"s0!A[;!4I/Q'783oC(B1rV5p]KLlUO$Pn4E>DMtqq#<6J":!7)_#NSlPlpa( +]+!)bga2a3[PP.B[_`parc]5b-2_+hCP)=gie$hFXT&M8i#n22S]%E.CcS^1pqI*F +5S3>bJ2d9\s2?%=?go.d"iC<,fSQ/tZ+\d]Gdk.kVf6T"J\TOl*AAkW"h[LEo5WOq +,@,SLV^)iC^J,I``D6U9QNDL-'-OCg')mO"n+\M*r9r(As/OlN$(&X#q(Y%YN6AB& +V3EFLE%_D2.=hlr.oZ]=#A5Okj=5itW.j@a"bKZ$f(:W/jBm9`,kmHtR<;V!9G&qY +AhBqLI3/Edm.oI:hIbL&G4t9Gp=q!AG+XD::bq8d#k")PUA/[,I)=j]P[jB>rNfq5 +LSHbgM$k/tdXb!EkL0nu@c'qCJ(M&'gPB'$^KpN*/NgR=i;&4H_S36V0=]dqW$*=bj)RH;2/ZoL-;$>V/8VnT +Ci@'ecuLY7m8eE-SLcJ)Tr,L1R]dOM_L@#"Oo;@1:O>sY#4bi^ZN:'O8lM;q-TrqQ +GYeqZL;A@7`/RIDjKG1Tp47oJ^gup^_12GUn.5GPi#a0C1k.;(5=GM/!eC:W*r<2# +56c`;PK4ie+6Fi&^T>'mKE#WfU]]6UiZ@/ +PRE9OYZ(4b8=e)e?(]Gg.3Ch_5#HWHi$kUaOE*,OLM9Y]"Oo7/GQG*!(g`*4)WAH4 +09e#A_/E%>$j$:$c0qJ-IG,NBg[faVM/1"6Hj,WAnSbN +cZkoW`RF*V:YY?N*6rmj?1`/7oQF7*ohZ.h;N(%qN:sq!l_fp\BTO!EP/PjGB,VK& +)3lp.Y=-"XN!d3>(&]C=qDg@kH$mu&Uqh?!6$H4Yn"k\"@>DKd$bDnlq'8&'+Xsrb +Pl'1tcBRcj6"l<5Z@@lp0H^1<3G&Bqqt8$e2sG6`D05 +i3#:HPT4PXL(N7"3P(6K`9c*2.M"e5$]D2h]3OhliogR=u +#e*d+%7IWQO+ +s)AtWa'A.17>k]=f#Nqb#l`^lnpelU#QDK_(1H^YR=ENpj*YY-oEKYWR5rW0G,n9F +C;TnBaQ_fVA%fs_ESe5D(R2Ed"901M3i6_/7%UO(!S$p`oJl>i+eXn7ru920@E3+\ +s&o&24,fdk8ENd0D[tkLP5+L0L#i1++;Wc6[U$.MhPEkqs#X'kHSH3'KV-]3a/H3o +JeS2dUiGN's50XY$3.j15jj/\j"nYbU%?=!2;nM<7B>>JI`fQ5!8Q83J,LD4m*bK& +V+T^#MLbq'rXeJ[.elC#&,_2uJT=#L>!S4)?]g(=aed'P:%ptEcUW!!qS]a4cFoeH +_07n\D_`Sn3K)hK+Ul.(iJ]d9fm$he0T(W[61*V!7NGip3BS7iIl;3=Pdl5ugF(n_ +qG$AeR6:QL:Y7eIefF3;^/+WZ=7`Y;4n*q,!db;Ip><3!hQN.+fed+6"P7n_?LQCS +etQ%;9!t`pqeD2ND0VT`.kE":S6lb0@Xfh(#6c>fLbT'P`r7'O9B3Bpo<`S^XE-0C +(IH`.C"F.7ma&lSTD"#qXq*".'#q(MbA8io2I/miWlfR/,oar*l5CQP^A2Aao6!gO +NQh)83FFEtEgj2n2I4XaccQB_+m/e5s"_"krj(H(i.!t`8b`hd^MNJ!RecV#qnJ"u +?"Lj%*eaLN2?f4d_#Nb/CJKt&H@S#4r.4mRi_QYF*n++*i#h'&.?Y&5_ji?17C_PX +n0^poHJ%_4d`+j>3O,!m;kFI"aP&pUhk)fO&=sd*L!gMf;'9]SoJHdN-[I$;_:ZKu +\6M!Y5:b)7-eL+3`(7I%O]"q!nn>sDPV>;H:[-!?CWeFijWYE'+m3P\BB?G+S6/k_smG= +3Ze/>:gH3h"Ub>1II?)l!H.JFll^!H\%nocm,q!LEl?^8U@knH[:J,(FV[ZHI^!1M +>&-Qk89)O#K_/uq?b#E0+0l\;,\HXfF"r'.,K:47g^>>j8t,q@"8(LXf^5*?5\?cF +0MW5\s3Vi`/NpiaXSuD9JbB&#m9_?BRGU+5"T4$(e,,!^a6`&_ESK*nO%"s,s.;oM +hfC*!))FdQg%W%Oj"/#$7u65%i?'Dkm'HL,.D5?7#t\Z'VpVni?0qS-4#_Zjs2@`- +I,"KXkGF5hIVMRlepfSE?a#4pDFKN.qfPL.WA`J/&`E\F6hMtSnh,R\$f9.?0dD%% +PBd(r-A::9D)/8Ea3h$!.7!ht4AWus_aMcg +O?CLtI&3JuQ!ghD-3"#]T0d[-i.&"8A;7[2Ss.'O7'G?:?4CVjdlC44o#KT'XM)m8 +fM3+Kk)/p(^]iY&cCIq^;SpM&bQ'l''2j?Xk8N:YR,(]F&Y$gSerPP:*t2?.#90pm +1hui2`jHD1r)oXmSp/AVCBO'U_!LTAl(\ikk?&#\lO`o:N4IGI$=IhZgYc,->5:gV +;W'dLK6FroK9hR;f"eNpJpcK@\cBd^Br@:sk9ni1VPm4"4I68Dql8NH3-TcPs"F.s')Ckm +Ja.aG5B-^7(@9@:^4[=H5?OGbO\?5pi(o$$M$l;fIuaPArl:SNl!TY/J<=;s$44WS +,T>X1Psg$iJt00,1Yp4)@WM*M.nd* +FQMQU^*71s"TCt>fPa+p,MiQ/!:o#4.ek!_7uPao_t'-"4_c4;*k@u.e\KfpWc=aO +Tn`%IV\FeN[:l8fdT'cGI,\(l6kMs3Ig2VN)J_Zt1T/2qd$_=Tia)PTic?^s6occ& +/NZol4%q@j7"H"rQL4RQ"OD"R/nZBpl%.Du^]etNTCK5dS$1jrrb`MR495B'+[0W@ +s!U,)fDmL(OEPZKDHaOn-d!\thDQn#.Q>J^0\O)eaf72FYp.l31<&3-gSQa^[";dg +So%c$@t-A^nReB1XZY@->l.b$G5&;4SgFY"Kr#4_g_C$:/VfB>`Jt$"k@4]Bi?Kk8 +1YXGp"^OhD#(!I!:2M9H[M!iso)nn6lsGfDWFm=sC%=C-P8kAk^FNXHc^it='k8kX +3Wi.^2Z`hHQ+=P]c"tdR3Zm8j0+1m2Q\SdQ^i9APJR(P?mA+G1^]C*>Lu*0j^Di['EViNl&= +1Pj'[54JTm/DS7Ta5UMf$h>)lD]tjQ?,*C4VZQWXn'Xc%062FtCJuU"Cg?St"o\m8 +?7kts@gc+@+/AlLs6dkAI^0H(.rH>Yi?k[aDS9iWT!,RH#D)oe<1\d_m1TWkP30QB +!WVn^PMjs!@OCibYGEln-I2"tnppa*pie/8KgaJm_u&pU?2Ql]:l^]G +Y+g,kWct_FDi#CPs1&UtefW2g_(&^72R@Qb.K=,2"U`*u@K+ +ca8cf,)I6QKQm%cRR^Ui%,!i_[XC8QrtMbh.An!?#R2k&O=UAO!Or4O(3?XLFFOTL +@+qZ,e?O24i^poL,ObaZ[P)7+=sP9)U;3pOkLos[s,XP]E/O82ei8e&HY,ArGEV?u +AS#n"@ajD.6dn'YS@bJaS0]F(P_F/'JB6*uS?gc"f1-41KWX-Wc?[`_cC*jk`d?PWn7.,R!4q?!oeQ.JZ#1C1THn]pSAeV2D?1Z3 +]A=KJ"3`uE8WC@7Q[fhbG=J5u`19Jd3iH\`nLJN,$nXs1eRI3C46#t!;Xr9mfsNR= +\9bsfoh+>*.`JN)q;!OFSP%_/$Hnu\/*LT!rd)-7>.GJ+h^/%-buOkd7=NbX@q5]> +)g%$"%V$KJpLi4gcFL][q3:>DHVH6;(Wn)j[eO6iV_Ft5Q5#-YD/ +DQMmq3:?Yd6/[(#n\"Q-QO%Os6/9'B4$_$Egi<>*jra+8HoUVf9alQ00190MZ;LmN7SF`a#uY#63GX,jA?;!JI/[1EN6ToI3n90DJaWjTU7 +AW#%GIX[OOCkVTe;Lh3mi2U1,?%T*B?ldXl%rji'+4YiDI;?c_k9Xh,n-#s+!lL(6 +51Wlp3D0;dK+#PfH#D4X^Lp^7"NS5gS=EXibt.]n7(mAL3rljmL&,ubaSFl(L+#rU +qVdnGr')'25]7>]^jjk_W1/H)`j0t'^=B7-M-%U-(Rthdu@0W'/:NkK4=DRC^g+=7Q@co +F/"R3n1tXebR1p(DQYFDd)'@'_!+(AjoPAC3*;4gLor7TgG:J5+'2RY7b[qPhrYik +6g)5*r1eo&9[1CQh4[fkM(TL[#D)%S?oMm.:L7FlZn!*]oM/(D:-T>!l/Vra.DaZ^\B;Dm*!bqp5$$qjE'_I +B7U#cU<^H.BPNGdhj8F*B\sifnhTb;KE)\i_OEVsYDm-WS>!WdaF++S^aI(?p04,b +GJ),fqGc8D.XU)\q`OL-\o&('V4ES?s"^qf69l@_'(?tUJY)(pM#Ylc>GKKZT)lf* +HfTnSR.G/49eY2m%qN,l.WMeWdpulGfm)\<72Lm$QgBkc-*jSJnn[@XQ3u=<9'M=- +l0SiNXYRf=&e!nmRJD/sp1g#VE[gGa1#D:aOU-'c-:Hq(n3NH>\EmHF/5md8;-q"lTH2=653fIh841KAd@'+-W<XmpnR)E"[NA#KD./'pToMGEru*RDrg3T +7/RR>j$\=@MuO;Zp318KVj?A@@Jae!hHI@sL?5+;**:OJb4<:`AH%RZnfRLW5>pPA +O<=MC]YqSHVLF_qIZU"@R%AYVO`QJHI>j_9>iP2dTD8UY!`lh:f9nb0kIB;8enB++THA=Y14gu)5=-i_=\"1P9Sri?hfda +4ik2l6@TFAT3smUiP/P-p9"[V?:u[&aJZaIJf7D0(l5/@0pUA7OT +'\Ik6s3ZjD&LAG?jLhDr:P?`Qs&JI=XL''d,nouiTVZ$]Sk7j)RN"r%2$a+jrt"#b +]k682ejV^1ruFE#pV_bp<;Fq8F^SmhMuhc4_LmS^dlZ4EATlZDY878VQ?;W(`!OHY +-d2E``-=*M>4l"'r8'9EVW\-]Y:KM-kQZMdT)Pq!KqB>@@/bX(*ri3]qT#=u:Zb6c +q%#`@=B@Jk!LUl0T^/H`=!.Tj]ZR-T&PBq7YTa)/#Kk0de#Z5nO;a- +7sQt9\A_OFMKU6sqP?]T#U(C-N"i=Uu'7n71X+.fVIA92Sh/9ab +0XR&]:pm3#I'Joog\W.5i+`d1In(jR)'e=OJ_d8;rOh`!8Hnlj.WWB'QV'#+K^!Z/ +.Y^/Gs"=*4$W5SIPE3lc]B5_28Il%)$W@+GjTh9)`;Dc=h;Q5rTA]aqhL7-:"dsr* +FjE5f/3N4tQQ#sKi"*]j_"R>+P5]7rCNB@GaSbo;s+M.G@3j7s(_"?+P6U@Ypga;5 +J7FtA\DW;1k5q7Xkbaa!cJj!+e/8.a1]Uhg"X:dl_L!"D,U@C!?MGcEUN9P]J&:J, +88cYU"0BSi\NjcL(OXBo5eO&QZ6MPGL$iRRb_,UT?9fkF6qi!SMbp,IB:unf"1\F; +Z@WSIO?UturOa9F$[VRabci`[T[;"F_>DkNDB':(lt;*bZ,>@!;.&fjrh:f#VW7Mg +"i4q[TS=PajTe%%:p[hLN8kQ9@=HM2m#8-8WILeCr4+NCYLN3Jo/"/+ci1X4mhdk\ +"Gi=eJt%6p8G*NM]VR/d"ZJ]_-Q,='AoWo,6F'6N*9+188U-(C_CgmgW$4i5;.Zbp +8p+sX3j(pk%HbFF'Nq8nX#*4E)FJ;a+Us1IF6^,:;G!p^\sIh^P4oSS0e_fq&9k<- +#1qtsCSL>:?Ip13)]\qbHBs8ubGZ3+]-uo2c%O[$2qAjGn(!Dk[8;`H`+8ZT1B4)? +-0$A68-'jD!<2"q00l=_=r,s,lPe0`3!6`j +N:mrNE&""+mN77VJ&jerih5F0`<\/IS_o2t91@,X3U.`=n+4XXqd4M'j:-e1r&U-/ +DtP>*Z5s8PmgNmKq1"\`r+F".O!R^IJH%";,k1h(bLEt5=n +s%L]oGQn+3RW8qpb[l"k-!YfT?2YtOIQHj+pj\)*bC!8n>NZFq]&3%5[Q"A)bT?9L +)nZ3YJl=YA-(EO$O)FNCelf]PS0$[K@hbX\8qL%&gPQ=,s'#X+2["aE-@l,SbRX:* +Pmr9DJ#s`GoEPHW7q-K9%n4qhCfCS<=MF;nT%YDX*?%qo9ru]1()_LWoR8)YEh+?MY1tpE]=h3%oV$0b +:!)%fBjfW@[qZn:&25L!).>_pbIQH"f$]t.j],Q,8,W2Vkb^8\=V,*E^gWmU=7j&d +jMhEje_o_Dc\"eJS4U1Nii^"g>^@+8KLXco3Oj,O. +NDC5Q*p-MZj4LPm1efa^)(kH=M0[[rK%D=WpUiq8_(*/%=b&ke\O;+o6')IZFf7Q, +m-6*Ej^j2em<6F[]lqMY$U2)S"54n_1$TG5)YaF(a6(-)N6QhZG5f#Bj+>%+9#d,< +7QGUrQbS'tVVo/W-hrb0L]?'J?d+!M2,KG5\Ld_9C".T'W#HY0JG?ld(AKlkIc,[j +3$pZD>mA]mJ+#F`SVfH^+7E*i"VI@EjG)88JcP[#rej0Uqm[`_3fO=+akYOS.n.oOq;tGjZTYJkGiQI +?Kf>j^[m'F'bRHpcZ;22pg%:u[r$3Er)\$9b8Oh/Lh[cLG`'mf91T^=4'5;fcDh)r +\-CLQP&(CEi/7CjeRK]FF749*I%dMO9!j!fGF9(J:+!enUSYYEeD1%p(`!IN#'g?e +J($CM8N607MrmR3C.9?7^lo!]`Fs&h&ir2t7U%+F@mISSg)#7Cci:=fq-TuAn-kN` +=2-6LhU4H7Zqp_.D#QZ"(Omp,I:#)Hr;T:?bXXbKp@X&Lo"BMESTYjuKOmS:^1*%q +$uqB?..)dK`sNmEF>&+(DXSd?*fY";re(4mM7s!6@$ksT/V6[/4-FPu,T3^,T?;H] +Jh1:Vn)[[:rRouhbD]LcEE@\jXapqF.C\G[T.I<1(V.KS$G1MGh>`Mq"TB'WScRdL +$FaqR0_AO2\dkn`k6_kC$GTXRoCOm"G]>P/Ip4gkqJ]u?YPHI<^2kXiq%B_Anfu4Y ++De0Z#N$H>s&$GuaYs*-na)1gf]XW:EVZLQQ@sM)B%R6fW)Dp_R^5MWI]XP(NSbU++-R[hT#" +V%`1Wd08@AU4-dp0X@VqR,kXa;BIl>me!<`!<:e`c[fCjSUM1(fG]ILJ=#5m3ht$/ +`AB^fWI#IYeJd/o)gc-=l$@:=c-GC>cR9U%6o9PrmteR1T5`8IHH2G!Ik^%/I/^gP +.Ngt4h?^@d6GVE-g4qs'&-X0ZZq"G9,=2CCG*+GkME0Q/IAJj5LU=?_.!s'(+ltXJH[4=P +PSnsLAc+ubrb$NAJ&kRf/5,u+38kAZ![&*57=N&\s-t2-)*\sYL]-FE3oGN6i%o!? +mhcYO.uaBH24!WI+gTMcW.&r3Dr@9RBP?5@%:``cq.G$1%s&aiJL(2JM(j0g$p);aGgYGg@6a0gAeIQ*SE-?q4dB?aS$8j!0,?&%\o^_=u>ggLSY+9@M+_UXY&$RC?KK>j+emfUHoX2>Z\2Lf9B@_!A=gqOY2)S]M\p`JT2G-NUXB +@85rF39^Y4"\iZU7_\@9id>qY.c>Eg?L:J#4];&k+S3V/i9Hg2jgP;kY'BnCNrct"&]M3diVRU#4S[V2I86ihk\@ne+a(WiK6(%JUWWF^[J(3s4bpnuh3^i5OJlFH(R/`6L@.V.B +m%_W3O_+d/b!(12&'c9)rPX!]n,+QYD0Op!B(b3fMK=E!'`n[?UX`Y'Jr"[^6$n<" +0?XjBP%LGh?EU^YeGPs$\(CYlMZ8uo!*`lnJaoQlB:h$69bQb=N^T(M#\*8?Ed;nT +L`:O41An^63B7&SI>X]r+M:QEL:(goi>\Kl4/DhU]/>kpcUS6\%FC? +6.g+/iP/r%rW6QIr0i@AOK(k_*A*5m2d(2d")n'/R:SoFj@P;0Le^B$RlegqU2e^?+F* +a!j-pUEASP:([!S1Hbmm0+f-`It5:7'Om/Y)eBU._Yi.&A?6td<3_>?:m+K%PVR)T +\W0R]O01<9#Xs=01o)$q8>S&RbSoWJLR+6\es93/gXB=W_M@F):2.n]UjH6"^+MaQ +"rCDqVZb=XKH5+HkIbn]9$fXQlef!u&"d+Y:+f.8>i%C5IRO/gse\P0_X'QKAMq*T]UMspG/pp#^UdB`$M_[__%<[]lh7n!KI)j.P*mcT/\H3\-]/`Eree`MO8SOSb +GqbfgBHXkii'3ZV+4Yl3Skir_"-$kS7_(e0PIAiEchqRj,0nEq4C$$Y[R+b:B6F=I +5DVd[ru8&R/QU1%UMGkF$Z:HJhR1=DJlWc&.tiA5:OH'dC^PsSb!sb&0@fhZid/JM +Hur"FZH2@$kObDdgl.j!nqdNF%pI>7If>NQ/8/TK8rh&[5<>,0@@;j@#FWt(9,8Wn +H>=Oj=*?aQ\l=,X;>e,SEfdF%QE!$2Y;r%%5Er0kcR_+PPFdRD;8S40M'^khLRM2: +$+-XY/]qJ5,0D'dXl:^8dg-2YcE*Z'fWH0#Zh5s946JJ,o89+ori6(roBs6rm?tFf +;m3i-^aY@Cc.d%,-d%3C2o&1)M[0'O#0MIXn##u4r1rkY)WQD1bSbtm>;=Perm'+M#S4@aDuVq +AP#:<=k%.Ui[#Q:[U/c7S>Ht!L'iEkI\9C7,>`]K?8c'W4i;J1N>qAAQ+SInGoP;\gWop>$ +:j8#*&%%',ck#)@NSA+^`;#43!/),JX+iq0!1k9A_$=G%(g85E#'E\YDiK'T7*\Ns ++I\oR+':i,n))QPi4baXAQ/V1jm/Ni$P73QQ+cMGE<+pX78r^T&(P_C.[GOf0>9:R +]D2DeP1b'Ad1)Xf53-Ci8nufqat;[>M^KU!9!lmH7'!>^WPaE]k7"iJH'Ddr`*PPU^7$Ei;^5pm#tkD +=HSPcg]RR8A]$#bkH\K'4MPa!g@9f9C-t%f+R4SE]OaFAR"$6e`WQ7u(X;tjT))te +V]HpsdiWB>>NV&"lfbFMj%eU5d\B^r=*2pcO9e[6s/Mh3Rc@O>`u*5<$)4@(i'7-( +Alf-te3R,X!:[a*:+d.!Pk!b53GFh6iXYqOq9nGE*0X$MJN6a)S>((`pT-%JG#-DC +rqtO<.@8bOcaP3-CeHbf/F)l6aAXaeRU3t'ImlBN);ip]GOAW/aa4'=%tYal7%ATn +\^6dim7$r<4/"%jL,;!u3W1AeF?AS^DrQbmS/[Ok]SaDp/E5H;^lpAf6tj2pt*2Ek5WZKOAi9t-bD_b]:tbK@kPJh^Y6iCHAbqZ8/'Tqngakm'p@WM +BkjIi'+iumTJe2*:9/(7j&uY?!+7mK!dh2epIH*mlCQM2)DoZa26BUWfIs=)(:^RZ +Wg;aI8R:Z<1J:.S\E=+lO3Bg9`PtY21D18s$Y+D>+,Sf17/"?nim]Who>Q"T)(N;gA\e`Q]UnC +r8H1[EQinmYqSgGg@pL:YQt.uUjXA"aM7?HJ=,sHR"'_fW9K*SjsHbfP9taXb5=l& +o0)SMQ@2;qmk2dF+jW:pb;g%U5a[!kOE-GTr#IHi)fG"D>fpD6;1IRpr$/b8N%gt/K"kd5[*,f/d2`Jd8PO6Z@4O-VbbXst<:'H'd:&U*;q)pD* +W0l_Hj90/k_-0,QL;/Tb%-[`p"]:tKJ9m/]E0Qjd4X]tHL;/h!7)X6bF$.BGmp5`] +q>L^uO@hjf8jda,0S9H%++_]:*r&7C^If&^ZP%*hOtO%>:F6cYAg!EYK?K2s($:<% +/%MO5>[Kg3/1$o?MeOe8]Ng\Fdj07>F*+FN7qD?AKl,;oc?Zj>6Sbpbm[L%qDMj5, +WlK\1MosmZAJb9>?;U=t<<2/SZ@R9mkEL(gKluk7n**ZG'HJKS':Zs5T +(34+:2pc@tkIP>;?%P[BX2Or3:$p<9EU:AfoLI*S:US[O*q>W!M +qPRg=q>]`jpZ7=O^6kUSr=)f^-_p*SWbNpH__a`em2N+Y>B.qh:OJFd*k +j?4meYHu,FrZZDsfmBc-Wc;(D0Bf'@+6A3;\e9h,Gf'bg3KPAm5j\A +iX`Wfj^&ee5m-_NkfHHfEfhH]T9g;V.f6";cd1^D*T.%qn`k;1]bc`Lrr9od7_(JYYW/c$DUr-+[l_n:)8 +I[2?7gP;-]bKKM;kPOiYI!PNOg`-iBp2P9<;/YN)&2346W5(d:oMb@5ZiUjGU&[;C +30:KE,]k]t^Td2e&HWGp&G[26`LISSY.Kq]-/j,XrWE)[_E\6RH'hnZ%e)D,,>BYn +(#Z9i'W\#!X'JA10g[m@.#aY%U;p\M/\e)/8Q0]RNp;Z=0+#rkC6aTu14H=qn7h +ER&Pb(\unFr.ubdC#D38=EJa\fE8==CM]Yl;T$"IBFPRT#RB(?2:WO)7oi=ald1&^ +rnrZQA6D%+/0.$3f@&NbH8Lj!NUA6erE)"i>s+!>&0M0;VLP[Nr`A@D5O9dO5l<9@ +pgBZIdLQEZhjHs\2T_\]GNSES`mILD,TY/hl5 +BHt1BM,l;Yd!`C4dU@BTs%JpQZ)PSMi'7#:f95)=#ti,o$tGAXD5rB#LrEfkXL"PC +dm%!5hj_W:s$&PVhA8u%Z&QFT%BZ''qDe5<_sF7=R@:l,R#]Sd8+Y5#Eib%`^jgV< +V*pJGU7aI[TlpV/5M.LtJQ1,G%X3`H8qisM*-+b^;LNG+$f0;^4#s+O0r9.V,AS62 +]bni#f9=_4Q[J1#gtB,he$"q(SgBnP&D_Ra]'4\!KdT`1!;Q'[4QbFoaMrS#oln:m +5kcL!4c*ma*EmY;W:kC"r=+gVLONksa=TQS=!8A!c@+'/EN:\MipG[(bMK[#?C"5* +(@_?c52>\1^$Abo/EGkBb3;ul`b46H*fq>5k;5Ba<1Y`W2 ++G8U%%YD,EVcJHFs/Q^8a6N,T*s98]SrZktbH$k:js*kuZ?Q"fM:+\$_R*3,3fkH$ ++4#3\jsBE1T+P_3`u8VG!.Ste!.Ua%LP3pe.+M[l&qKe=)ErZ5^DFWI70qi?M;Y#m +bt^Roa4TQf#D%'PHZB0RH`HoJolsuic]oS]H`rA-)#/tn&q8JaIo[[HGBAW?)#emX +YKT90#@[TN$A.Z^YCZ_2[*POfqcs'>+b84)[@[^*M#RI)A]R'Zs1KR`0E67@s#q7s +J'%`hR/d'qe;_S.E"g6?+]&%I#0^4YuLf&0plf3oqkqeDJVgb]f#a_q['Z?A97Ddu0FO_o_H1jSO!+!r.J#!a:\A +(*K:H#kGY4"eMFi09DF\X(;$A\3X;)0F6SI;R$,\/70jD>>05Wd8'&nR"Tl]`c7@8 +4V^;%\^2-<'DP.PIPPnn;Au9.KH!mQ7Q&l#Nj<=H/TWBiMZ)(ZR(hljY;`pZ&NmG-gRL&e]'P5VdD&ggbPfL +WpENX[2m[o4n>I9`J$>NUGZQ-]W?T`4>8F4/jMn0mT@p3/ErZ\nptLps+9#4S6o)' +UCfYdaX->q*0CCi0!M&k7_P7F8Rb?f"<-M)hh9fGa6Gp2TaC=O\iN\n(^0"4Jd:fC +\GhQ'atSZ"=O*m8+P^e4VmdC>Do?-iU^J'PWLfMW3,\LdJUa-kuj;G:=1-cs)4F354bo@NGNc-?g3K]m%dkgoA::/ +!D`_"r_K?FF2m)S9"[$Qp0\SWrk+cFIPR(0IlQO"RX5TnZA73lS8`QR^k!t"9N;$p-Up@>#mT:CdBFb_s'YUF"Q5a]n.&V; +VO@YeO6=6Ib%oatNN\7q(.RF&A!f?1pj[eV"]o>(BU(!h:Resq/ocYaOn +JDNAb[Yi(k%=KmM0@ou6/Vi!@UC?a63b/8WmhrFk$0oHr;JB$cP$G!mFi]/OZ=(#' +"TH/,)J0]hg-kqZJq-a"==KM?RNGO*bIkcZ4;6VjS1J_/]2n5RDt +0,j1qR75T#4j\#jZa#IEBZ+K94e`p%&,m[G5F$\90'`i5IlX]\ +KAO(DfX$G0hnP]YEi$!eWM";UmhNWfK7hI!='7\eBFD-[Eh>;=@C5Mm3^d5;7Y?6< +.D,ec^KKRj%qe(tc"dR`Db*C\"?d9WG$^O#9c?Lr/P2H6J!;3[!YZ5]>n\cUmI(kecURQRVJGQK#rHrn&R#MbV`/2>.Y7d_aLst\N=Tncr/(LRk*t*jS +?]fh^B_+tjhfY`!-Hs94G6tL7,B_(&Tlf +H%?+urIFnTQD^8;+_/"qJnH_N'R9%7"@l=;.\m/i.$_LYdQBu +^+?S(19nPKZ`Yd][O/&`-G?RJ#QZf^c';EJ.W[7B'jdu=T`]0T_kaH6%&%rei6)<)34js(T%)Zb$Oipeo]BEe[$dS +nMS9FqL!bh$GUFFe@d0pIA[p.WukKR31!6`Vb>`IosKF@QIi!bG=>FP.croqci0\K +DVI4XAK;!SD\l2ZrkC>Yn:01L\RcU^f*ndVfk;UTo*b%0eUNh$Mite'If"`,F,'A_ +RYM(As2;D;lEL1*/%1\#rRiJc@,%J-T9P-FEsN^R3n5S)"D^&->nr +W$CL`[iaOhRt!>-_dN7:a"/qNoY#9m!2Dm54aD:p;aImO(GY9Ch""Xk-U\?1=&pF.uKDX +9o#.&_hC_/"FXHQWBA<%6Hp-M]tiIFos/N<<*Tqc +f?;5B0GT7%EoTqoR4V+mI?X7 +%seVd]Z@1(P#d#rY3;UPlADe(MGMVWhm//HV<>L-f>9'+-8o,,Pi`jl/K7!NnjsHYpO`0XjH;^'F4"ppl=p +IV5S:_at%IZ',apRF,VUYm[#f8WD0[7r!(^F +5qBP+^$phi@OIKq[f*k?5R`/$*qILRTo&n&P*-`XhBPbRcC5r4"j5X4J>*%[Iq;s- +^[iNh9ORi-PC3+Z!*Mbkn:,?^.,oaDikL-Tr-'C\mtN!H[j&Cs&,_cL]Bq"_^G9W? +.g4d++MR,Rreo\rm,:0Va:CT!T7HrSU4hDQ1]F,F*n8Sulfmh@\qd00;a^-]re(6; +')WPXH1Kh&GsXSr)CO0(9,F +o4e3Fs"abq/-l9*^jdO2"KL)TW!($L6LCIpIlX;bBq:G"(?-k)ks&\iCXhn=`HJG$TV%BNc\(Wp&D9\_snc<#i*eW6V9g&d[LZ^U" +[#&g'f_5S%)An)k)t8>PphG]ZW5[53rOD[.:IQ5e<"Bk+Y9-EK"/p,K3X^cEn@tTC +"]>?is+p][f1-MC9P-C*8\=Fb\i#Sr!rRQ1?el=FfGWC&Q@&f0^J`FeR+&X:fKWs +b%1hZmi>=Gk2FomaLU$nVk&Dj^j;A`43CNK-Q4b]-0WLFDj_%/+&F9pF\'Cj&ot75 +C_h[@"MT2r\";o&AGN2arc4HoRc/$i#3b[V9j,:Y3UsMfq<.<;f*a0S$S$%lQetB9 +Gad@5RWdsf>kR^@`Wor&G=`PD6E39]_eU>a2;AYE\J\:odFWQhcZ1Vih@`e.28FYc +Yk2O(frL4scH(phZlA%Zp\G9#G35C`c9M1UZggYg32KfA>,0/**BOUSSW\ugrr9ib +4L>d2nUOl+#N=i$ISqUJZ':$((j=l1Lrdn7"C_)cXY+k,5@OQ/JH(L#Ot8aeP)@8k +!WNc0'7='_hc]:\^LR.HA,1siSj1j)Z0gGbIUO)+b,HWpGu\:Ok*ONE_Jg1hWHU]0 +c3l?(s53;fLB)SU9`Y<=%K`p;2;(8RhH.:?0BK/<0`M1'48(l9J1MZoNZnOt*^3PW ++$dW&5c`=Q#Z-7!m=YZf(@4L"`.'Kb)%f]`+_\]dJCq$G%7foSVuDGuq\qo]+X?q& +n6\fnkO5*UGjFRBWdGmkY,#6=eSS3T4ja=%Ze'%Z3nc549#l"r"2e^+R#-u2bAMqHZbd!gM'9_/kj06Ig +=;*sh?oQ,WMMr6"O<=!W!oS"EL4W5-0SG$-FHMCZf'j#:G^3G&7:gR@ANC)gP;Nij3g_!2$nkG5'1N!=j5LZ&:.s)/g,6N&]lY'G$UP-f^;48).) +4?qQPWu+/DVp^$QIGFG/7dLgY9?&i&VAs+X$^/4m=m*AFBMC^sU)cRq-e'@kU40b? +Ea@&,Xr:Ct[>u'[mW:;@2QJGJ=BF"8*cof!XW+A@LT9$'FgKi!'2,>H+PRF'1[g7" +2`-.+g4?`q+lGSR/7b1Ppb+/oJcDd.J_/%1@P!T3/_VO-#(L[Os1GjiRf3#IYPl?4 +R`GD-Xe@,s_p8>_-W9@5n6^m>)i234Z(O>Xnn?IrJJ]()ct9>Cqr>f>r!t(0m#Jg0 +'7HQ3\/s-;IX4!4g3!2/\ZD]%\I\g=$##ek"T2UWkZGsqKQh#a?@`&_V=cARZu9p[ +f/\70Cc(Kf>CkpEKAg/PU[qi7Fb88qZbYf,s$'>I?^;3t8UKWbBKt+W +!VKThI).WA\H!NN7r16cA=pgi^ea'M&/ik+`shuN#FCBt;sMqWg9lZ#",$ZV?\Tjg +c7TEEaSeaWIO.=qE`o>.*+g!U'_*D!]FZ;P:s\mbF8`rKCRHFg,8d_&D5"_)l>N?l +S#AW=]F\:"fo_h)R@2lmc9.:75+eR[S8<(7.=..Vr?/9@G!sH3:^8]S%`Et?qKq:X +l_M\Hr[#fq[L5:-.%QTXZe +rN!()k_ZBWn1dCP`9I?"'*N(>t,OaM4MJ:^hgf#]c"@ +`6uc@"/t1>$LeiWqLF+rXq2`!+K@\p!>#q)a0ml\(DfWFpP@ +QsKcB,atp:^^Ka@OQhd_s61oHs"fk"A)!('T,[YjaQmJrBY06NkK)%jMct22$S( +oqCKEn8_`XKq2IT(0+KL?!S1LgH$]sS)liIl"`N\NVpM7g%4.5QQ^&6#gaXJIQOO.0+'GKO)eqcq:8AiM_c,c +2OmIS5EYqa.-5>r!a7\?9f`4tYSL,e2H#/`p@<%^j8&%S@.ch$In0U++VnV'>gDS= +c?V:p>4gcPV +!rlmJ"03iRq3h6o$W&f::409>!rTn7D\l.,&eG1t%HGO@EH'_h\7Tm/l8h"p2pR/E +kkt"1)=aOYMGk0MZl2r3&lE5?qo?`6[UeADS/H^^9L:HtIq"L8(ad$@N)e1)-tCE",dZe0:-3K +b&Y;J"5=b/"fIU7dg@Q)*t,u90E9Eo/u$#aLO_-g`io/EZD.PaK+m_3,_G@grpa$$ +*.gC?uH=d;*\CuL-krq^CmXi$i5)Hit)4e-3"). +RJr)F!+g>HQ1rf]s4tUj"TK\Xs/"]hYU +8p,E$9dQXE.]TX,]"TX(i*T]N<*PId)*pu>>'3h[6WrQnde&9W[//48\oN$[Z)0S] +A4:N;;:]$:\5QTlTt1CUhD3BZlK;cEj)`(4FC//*"W$sBFr4T``VbKZ?rk\`%*+>U ++G^:'HltYb<%I6"U\3_D]VuIgX*fo8]o55Q!!rgV+ac;=(P1uX3&f>^e=7a&h@QB_ +@5G4?IW`gi6e,23XO38c0-3e@=c`-Pl`?:L=.V?LfEJf"05b0M//ht&:D +*`Cl6g'B.C@)DU9fTru(ZeZ30_=mUm?%e"fS8c0"I%`4U)P.*kS9fB5kuM0Hrk9@$<2YZ;21H.]7:)UT^rY& +r]apVgQm[,[OKQbgE['r+&X]c6*6W32i:*`*Fl;?_nE_GVc1j#r7hp!X@3i]O9AY+ +,OE;*@Sq*LJ5j`!Z*8k?S3S)V5gT![d/=:G#6Of\q7aXl9d)JK*t@$r:%MC%qPXf# +e-1E'S3VUr/j%:E*Eek6GVYD,.Y3(!7W^+PELNsj*G.>ICcY3=4rn$Hn1lo3ld'gD +chg$Q@(YJuFOAEV0=pFOqO+87B:]kq]jNe.Mjc^QbqJmj/uIh^8Z^(=_FdFDfO`l%M.3lEo'jJdQW"^SPk"J?IKe0uB:9@M1S5^2mJEf@/^gf +Gju(=lo6XD]\A>U'@$5=k+@2(:7qRCDBBIjqGs$W$tX^Ed8YM#Y(1 +J<1_91=Al1\IX?\!0.-Ug)"Z%'G>0aAj*^uh8O +NqgrFn_r[,#RgPue:3*8a'ZgU=*"JNquD8^=WCra"doLBB"kI*k@b&TMlNs'f7L#sCFeGF/!I!U;a:lq+:G-M9W0U= +X*:?tfTBo@;_-"S9<7)GX.gQU'/%u/T5+%Ob4D\!Y.+7q%F+OXHtZRQC0o.7\"pD7bTpUl'W6./L^M*D)5CnM+'itd8AAH,jY_Z]qRc-ic0.GTcI?< +%7.2u9oHSKnDU6lijBIp);S+K2e3"pMSXFHs-3.IQ`U"c_Utrdf9kSKM^,:G.+S%T +>'iSg-2it*B[ZAaeUK&]2TcU2_>M&+NWB+:RRYk-]c0![](]a'Gc+(!0q7ZFSNa^L[`.*7%_iX0,8+cP'8m[7GnHH*?c42/W(l5ftP&qI[ +!I3h%>_7b3Je.Aq>-r$&*Ar??a'X07gi2/G"Sgjm>`\/7=c[4$ShK4NPQ-A![)!X\ +_`sdd@QF&1@b.U5[$U:@)SL?[eqKF)#go*.FYrQ)&?U-mob5eQdJ?E/UTU7edK@;b +H"oEg:Da&/jG`NOIu(fH:gS64NR+/"KqhUm*TD.bJ`@r.HOs1@!;PjAa8/CD?DEH/V=`hJ$QP +).f7ps"4?PZ2UXN&2"+EJj4uS#a<#Z)/!Ht=qU\-NJ/&K2%#KYI9qRZ2]UbZbp',C +JlLucb-_2(Z1i3UZV&i_"&np;Shk^#"!J3u`C7IEP'\jFeU-bu99s,!f/*aE@"=p] +-.PTB*BT;K`,Ud-$H)4Y^459lf"5J3A2nYUFktYr]h.RPR.tm_ca22K($/\)(+2]0'nAjMfRH._*IoO>C0DOPn[t(Ba^cq`6i(o#U +b^[bkr6MPJ1m&1DLCsTOZ5nm;s57\mNO.Sh>K$Vun:4/V^aVNEoMSGs#S))Er9(ck +k6pe:a8Z77J)ro'!*fm3s3V#9K'."$s5@\f@n?E1=EcT2-jKH:9XM$\(,XD93f6F5 +lBRR'Z4adFLhQc0dl/?PphT/UW+t4O5[BHVRs0j!" +[MJ*r,pl24KR]J]jA;"EC5PMSn`nN-(L#$?;?A1[cqHb"1YN]Ls(T8oi'/A__Eq"$ +.A421P-@k`:)*\Ys%+j_pn.2"'#?=/oBB?\Oo4P>PimO'B4F`?Z+I?9?icYp5lP:f +!(t2Pi_a#Eb/$\>=c"s]eNqNWfpMel\T4p)!N6'GWqq&,H@$QW]:/p`8sK&J?bq/+1%LABOJ(HS@2cTMM_e0WQYi;[Z3q9S<]k?\OE3?t;X=W13^=/Ps6h5m5EnCJ +J&)%J3c=tb>QOe!k8IM*Lb1ea/j2`WhG(UWg!(0%'-ps/aDJSj&O?p +c*CT4]VA'RdFsn(CJM7e,X`Bp2L[tr&J^R$-'](A0VK+G,na'0URJKu7Zc%(&c_M8 +rbM?^Fhn"XB5>7T$K3)uJ&EiXosUF^rB(!g$eX>?.MMql!F;SbS?]%)rqF;p:67[k +(PMM?*tWMk,.>7Oj_J:NR],XDMQ;:8i?.[K=M4t>lDJiQ@K,_$`JaLu38k8(+2cur +2Z,8a$DpV(/b7<";$uJGoBNrKR?+TCSV52ZNdbrsL-' +X-E`Y3tB7%IgSaHe(+4$b^XgsP-=.r:XoK-X5^)^G``.L.-P==chY'J0E6a.p,B/* +5Pc+u7.eMd&H2^L- +2R?b*jh<;.^KTP[lMM=S+2M;RYq*mj'q*_>O1+cf9QW,Jhb4F4-kSNulC]FCFGT\, +s!6\']I53J[DP`A&b)]A\7eGE1[X@Kppg\Q3u-\N_?(#CS]U0b1dJbePfkn6E;8nJ +2$'if(4c4QMH?V56;TG_a8CuefED4WM&8=GTr0ZICkgQ4(%cX7%sD!)qK#Yb\XK+m +]'c`tmOk_oL4ScITj77uXo^/O\$N4b>MG@Da^qM7ZdmaSb%t+GlR;4Yet!,I^5=7L +ipYY4I_"aVY\(Fnf/:8Hr"%"/gUBS&Bhd1g6Mbqnr#6A/WJ'iL\$U,KtXZ^5TQ*pi19K@:8&#E+1^"e[YA7`t%Pe +\$Xa?m#&+]s&4lJ,d0:5hB/lE`J#C(HoFE"rQqeVr85cEhFgV=h+GNZa)T&tLV_XK +OW+hk$P0"G@2+tY_&IXu"6TWLFo7s)#/9n]`HZOQE,"!MECp&P(Q=s[O2W7A"8o>/ +cWoG"Su__oDQ1KI/k,`LJ;#qIrH +k!mRrO9s'E;HS^YTIn4F>IgP5K1l;<`C8m5'5$nCLL!Ur__A[,T>jHC\[abtS1 +;P/U\BW(_A7g"WY+^%B=8rcO-E=jQNi[%e4nRb(m=Vu&k7d:-H3ao&&WhZ7Kdng]l +(WM!s!;Z#l-P`o1_l[B[OPpkmQp?G +mrL;o\m"r9@Y"9I#>op%,9HB47XQe4rV'r)i'6W2m8X1]/o+\#)=bJjd$W?BlmI9L +<=r.8UN-BC59Sq\gUY.D/quTPhqQA*f^E^R3U8,S3\nd6_LIE9WoP&sl\PJBX!?lV +@"1#]ImmqbAh&*o-M^YM;q47KpEW_3eX]u6b?fVPDE +Io@)*h\:"s>q#G&(!$G\md +@_"VuUuDuokMl,Hk]k4&=Zm^>T!4,rm9dFZAA>Z[@%"R)e%o=gtjHo5:Yk-Pmp.bS]S23K$HC6 +B>FQIkue8jD^VF/+"X]'r-oDMRsuJKkBEXZ*^gcmN8K((\I$8t5;7j.Q[Q2Ep.=1, +hHdn\QsS3JRFe$;e9qT"s,,A$rmCN(jNafXPJI4Agf"@:s8!aGoK1dJ<5j4B"ZP^2 +S>nUTr1BoI2c9*/n:.GVIcgUp_Qt>tOo4:"e9P6d>Y=VP$CEX+q-8gbVP=O-\'MD]l!'L0g0I>&MZroWYMH? +2DsM6nhJ5c5M?qR-bQnT>6+H%qGI7LoqG*FT6P8Q1O/focnZN^&RGB+!]>H-qbS&V +T3VA.-9iUkp^dBT+oh!X(*7%RIn\[gp:k[sW(rcU&Ml4ZAB-8!TS\N*?%!#_;cAn8 +)DZ\]H.8e+mo:O)5/36n:uq4t5XG"bWI?iJ"J?5rM><62Eho8e;jMYC`BJQ=5Xl5T +l/2h50o4d)d6eOI=NV+F35e^/=h("=OU-PRL0qsmb?09n#h!-12^2n0hc%K".+p#_ +.ej;K$3@EJStFS5JcPcfI5T`BA$,':1_.$a#2RO3!CL`:OFPW81urEooX3_Ls6ocE +/`C,nr?!9d +re:VL@AH-8q4[225Nj![#IV4#[]CS[s+F^7L#05Y!qqr\q1[aTr.jeAZi%<$=TE@= +n)lpl"U+,_^6Z&FN,&@Q(]VK\qjb.h\PU2I,#/(LC\]P1gAIFZj0/Eh^[tPjk7p/c +-%K@t4QaD>pOD6gh?((!$8Aa3c;,,C^](\pd@^?:=//4js!5gG[Rt6iHdSgV[k'u+$8DE?]0`NTJn37R;_u.j#.s&gI8GeMK_#eq' +c2G2=^\!WLF7+'Sa7*sD(/V7E!f3J;[V+KuF?(D^9SQ0%uW3__& +lqTE]B5.GGa`MA^>n^"6_XF"Q#]l^1>Zf>j'4g+dEqrS)lr.P+h"'&c_\M,0Wc*88 +14([_YSF^RRonI&/hT5gYC!-j64:EA"lKeCG1D!%[dheWm2D#`piP0_dG*mQ@)k)( +++slS66Um:nL3Ypi!d-;X">>!ALV!SY9j(3!";mS*#gf7dT8kJk^&rqK%Le"]LYs7uL%2e3^`'j%l/j#bst +&ATA=!6TkPVFt:t>HMBsdd'!cET$l"G4M>@qN5X_M0%Vfg?jOfs2_P9O5LAVTo9gg +Z#-(9='Yq-YDOqp2U+Peht#(Mn]\(ZVXHLkh9G/X*66iqhBdO]-iCr59\pr058jS! +.(0CN!!3s]S61*!\FguP"T4&Qs#;ns)`W2uW(\%2&MlSKB*S$Fpm:G(O?C*`+6rQa +_RGe/6h70(..bWm!,%sQ5Zo"%*Ck\t"YG6Q/I4n$6)fA74#nKF*bg,[US)q/8-(_$ +#bNMRGf;MCKT7T6)b0/$sX%htc/> +C$RO^F;b_j4#F?:Je:scA\nVld)e8Wbfs+=,F42:!'+n>$]df2q\r[T;pI7!eB +R-7VF`WLeG".mX;*[/o7&gDU?7u/i&W!i*,;*=QgR3*W^GOm$mn__--c63%MV;Vr& +l)T:#nXpK1+9'669oP`rmak=LC8tK0G03HpOs3iZ0tcm\>Ba%Dq79Q#.\qK#IQdYU +Fj(X?fIo.'?>AUE'NMdqWHhLkn:nBZa<3)n91]]o+o-`tRlg`N&Gq<(..!abe_t+l +;D(EGpeM0G&'?jL=VhaCpkS@ql"5LpIP.)A((b#.JkT;!'sHld5ia9o5;9hY1k>Go +9gcTgBVS=@F+6t!`:^iLI;`b(=1Yt!t;Oc'sBr:&;Y0lnIR&h +A>Xs[FI86unN$]`dINuAh$*iJAGh)Ao]>bqc0`UKQ=k9`[^p'X]'$]5je$g_\FDO= +J'2qR8O'XqSmO9)h@3]pJR<4`kO88F2F9>D,aJHj&CEE<;d4gPH_Hkpi:MbB@adOJ +mp!6N/`5QYnNN5QP=7 +8(Y%njraGS=p>WiJXebR>U`VetHrQ='2A4 +W]gD9\CpH+NQ/_=YBY9(o%[d+?`sd^?"BS;.QDi^E9c7HrXTNp0/83aESk#8qWa[; +lFQ?1Q?)?+IXG3]JVJOj(,f]%G=5r6%GCNbEXM.5h$@hcL&?GX4T3&VqoFJ/-$\@\ +q7q(;;./L*nFf6Lm0Cp@4,2u/l'8m?MlY86BKim)eg;67HZ%"a[q22bFj*!fU%s&I +meQl9G3?WXbPqk(64:W/om\=?IYb1X8,r&%qZ!ACIRpS+/at"ls$ptp`oc_;DaK_2 +eb<+BXuTm`pamcm/N&.ROL%bLXX2Q5'Qft;ku1F+WiiYK0-roI8"5"h'J01"4]1rA +pIf3a#oXKqBW#;?r-dsSi'0=iIL.eQAKg)qZVfYIZVc?Y_8/A.8_=4BV4<'p)r+@_ +cA=##:dBH8#iYI0$goVf-dAThB +)Y(82FTJ-$KO92FVZ`!*'uOqBO@qXmB]%_Fmkct8N:e4fg4Z?'0[_,KfB3D0HX"l- +:JV@.YM2hW3?++I`"mYt9aOGk28t9p&).%d8(,n\fl#O?&m[jRmeIOZHm/Dd;=^&0 +*"&Q1JU7<%'cZ44F$Y6a2k]8dFCh,LSeorIiW_Rp@GiMm![PVa!<2I/f9\o`W!2h# +$`#2'Y9sUiY^?0fXoB#>*?'t4+?]Z;A,dGA4.9j.AickL7*>=_;YJ^O\sL:V^I4?: +N[nI-WF*_]rfYh23MZF\9(KSbbHD!?#J=%A>ig7nA*b"23%XR&r(#AQ'E$I'T0p(? +2Z=<[+)S5@".\UA1F&Qjq6UjW-S>Q/pht"(C&%unV/eZ[0=&%D-@[BO"ifFRmM +i?."(H`:"i86gG-i;[THemk*I\FTg]+.r%Sh`P@X6LkB\"8l)(G+,Xc1q8'o!&JH(6)s)FAHkah%< +!r*E]+956uk!+HIS7USg,%BuT.7p6+\l'*>9&GBj(E^2`7q0S_m!O^^i*8IsN?La8[89E"u]&!qRAVnSRFl,l]a^(o6I& +hM(q+?dW3\rdVcPHg?YFnGbUd!;M%p3J+CeWHdkMkNjM7M95=0PEk>9o9m0#YOLG\ +>kTLH^dR8hhpR94ECV[d#N'jTrQ12s(jg@&nBPe72\>=7jHm>U=*Jcrp>W7*?/E=k,qtX$h"g%^UEOWa`LWQB`pcN4K +4Fb=k-DP;KR7LX_;,Bsf9)-pfW2?,S;R?S(5XF3VVkD/Cnmd+tKtoeG)1aFPU(f-Y +o,hCJN%U*ApB(Bh/:c]CU/k&U)#fp&q^he%"j[1YJKNS=OtuP8%Q[iQ,G!k +]Y+udqY.nbh+YlYGLhsCNWtZ[^=626IoR(uq\2(UB]oC:r!ThoM%-(J<[j#Y5LZTB +HB]u)J%p_ni?(JKk=5r4LnP6p5J@C&PY$[AX@VU!_%AC$M&+H6plE1iH2d9K+'o

s6u.6YMq:3TQjm>[@pE*E9V`qW0(nPG;.E4>Y.DW=B(ocI]2 +^C<(!_H2B@Jd_K0,_(2,%%eG*o-2gOiBP-8bX=6/%(tb_Q+s`8r7Rii/YFU$Rje>e +#j8_t!u3=s'o.r_PEX4R@Pm\M)=@6aQ+nLqH`<;%@MA@Z%J2m:1]H%FIK@9Ws0B-S +Sc=l']rGgn6e?M:fNr$POr[.%^q\7l%pN28kO2eFp]i'fps=+f:n"Tg!`40fK5r#V +_#g5-]UtMuPbFfLOc&R/NV4'NbG9hpPfEWW!D&J(JW?o)Cel@\8iGs%`#CcPejj +(`k=l4!f:K1?8"PqWP>mZP+):DDZeF)ABc/JTD0'i2Z;6moUfEr);K.HI'7^r2M#` +STbDlj)3V\>Onfur^6YirpQduJcBrKYCY7Mf:W9!;N@OnL>_Neu;`0<,_ti7E[CCi!;_2fJk6h%b^1RK(\aq)VoJj5M +6gW*Z:_k?pKDq!:rU7u,5;T@tVcKCbDa2P&7P1:_Xf]t*\+\2Z6+2FplFD&D1@lOGtAkMq2aKA +i'.D[(1>9\=9&j20f:&iIts^ACTbc^lagp*]s`YZHfMoVL&\*LrIdsOJH#qj'Z2#m +!).i4rZL-K^S@p_f$\&F7b`BJD4g$^Q_k+,oo\bPHi*F(-X-JYgL&mRUTPd1&OBAr1c`1bTo_EaG99" +&,mU3Eo900I5(\2>-nG%F;81*s*a8cYF(1B%q%%-6(nk*^jifg:V\(B5=Y*u:qQY% +=kE2&rHP7=B[1e.a*si1H)0?n7^)K(65D4N]W7W:GYq*o*mCtm`a.44*q8*!THJ-pP +5R$NC(Q]^hmg''rF(%@YUp;pVe(7HPi1F`Kca=1)[ikJ?M#dN&#"9mDiRnE8^gKsu +1]3"FT1tVq`;%,t[-^)t`UM2qn-cLn#lJuCpSg.fTE6k4>(q +Y@_:::'tmU!rUpchq/C_DYYX24BL/4 +f/NYl]D`aF_TTapD;X-7H[=:,]4ma:d9O2V]s?[e/+A$cF8iW,iZ6j!T/+"84WaWT +P5C3&rJ'/>r4gO,Ha`MD9Cu0?;MVGpcCfMrCHhgu?a"_O!p9\g!9bBA_"Gi+?dlS^ +s4QoO3B+c=F//T8\(eWJ\A"rPJs*lWikAjlJRNFd4bNRF/fi".s.4OW>;Hces/0Z& +&\@aLB#crb_`[#[qqbQO>RT<[Knh;!J$eu$]aXhZq>Wa*Go*$L=P1",giK4EQGEVD +G_q%Q_<"2d`Ehpp<*TAnh#;l/JB.1a5BPZbU!5g$j[\R#q]1LmlbTPR/VA%W]j"!M +l&*ifY+,Z`hl/p>7pDWt<0rQ(T(5d`!6kI+O[9#is#hP)"8P)hEh<;/g4'$Jg-P@D +8q:RH9G[uOIosP+i?.!D0i_ZWpGdsh5L/CWBCh4cA]37Wl=qX;Pl(gd?:dH[o0;6L +=,Qf9/>,'mlgg7O]VJjEWR"6*pQYAuM[)DcHQ@%c +9WrPOrXtFmhUhBMB6Bg>*rbaRN.#qsbC5kOr:16R(BFc)a,e1&hN2QWDB>!.RT9bHf8l +'QpU[)NO%9NZ,mW1&QmR%g@1VnX^g.s+TOkiI`Ks?'+,Y5K!COG@!9G$^Ui1r`ri* +cA22P*>8"_.PUl-1(=BdM%Mn!U>^[3O[7C:+nTX@)7KVZOJ%qK9F`T\uNlT+^ +3Ts3Wfkr6^fS\Ln,-S[>?mc*ujG3n@5Vu<#$rT.ae?#"nj6-(1bPM/7JRCorYbF(0 +e/&f-J-*AL+*YfH*cfjC3ZHurn>'9;b,mkp0q<9P7d^$qMe:VA)71f<%;fC>L/(`c +>#CEHQ3FW0FEUkYneb!'+G^42[#gk#f<^Ze?;f*@Rb6O%#oa9%@qYK"X3MT"F0Q7! +3bJJ&&(>aj-#RUTB@(CFDfWa:D8UQ<$3;OU*enRhoA#OT3(>/j-A`U8,F\2#M",\H)-VYg)$GbWkeP +m?hM:jB#C:0<^PF>I.&k\8FD=/-5ZmM-Zn6qr)r(o=k;*h=1?+ +j>)C<%0&hceX__cH`?*gU%+3:?/bJq[)f:#ngMU.m47E2FfAYHCfci^V%e]j]6Fb)QlTJ.52k=&(o4O^t[38,fK[FnmhG>)$E1Is0/4K +,j/V2qhYpcA,dGAmg1T=3grWon@tUq]h*BSSCJ:MpB6!WZp$^f5"3uq-Ms"9q)?UQk6nEk4["k(_`\,%!rpZT:Y#P(kC?>&CK'78h"&>`6S\'p +@%dW!n\n^#o7uI);Gct_SSVsi;)]-H?[/f7q\R?R+@Q47^U+ATOokQ^?<5XkWbH]` +gO.N#?=]?9>@kbbF\oKH6$Ks9NO5pT73X-mKQ+1GC5]<#B@,p$iYhc:Z&;o2:uhb/n&R8H13iMWM>bY4*.lATaEA)(mZ +eJW"4A+X#rP)GUt`/D5P7m"W4FF]\J18&)K\p6jP05fgiX^toSP7W@+X@F^uaR^:J +?9Q9,.0\Wh2&*NSmT%_a.V;5jMQ#0((F7LH1t:-mN1*jG'/O9sGO#DW3lRrBaB%Kb +U\(+4WOpoi`O4(27W;hk5IKaH!<0/,`]&=pS"?$"n*HKa''4W3gm3BZNp[PBrr`9q ++QlJD`Hh-cG>+?)p#dLu^L*-*rr8P?GC_PjOaU]?m&c,%pFe3qI8SdLM03QlGPX)h +e3rEOaf;g'nP4JT*;m1>lOunRe]KZi(F@sdan[g%$f+?[n_Ra8(D,3eBd\'u;tnO8 +&$<1!/N7j[ZYP`ilgf$'HT?6m0JTL;#.1BG0;tLPuB*\$]0$;R04rL0sUGaZicSW*fYE&'=^L!$FKA^`W)R7e96O"SN`.8aQ.] +(A^7?3n_i*5u>B(X1/00Ue[:8<[.bf2`\(#/4OF6hn^kL[^AMGnHSh8H)pI(KB0:hc,4$.TgD6$bgkDma@gE>6s^6$-=;BeMJ;1f=hIJ +?S$F.R,>o1Tq1oo8_K"W_*M5C6$_S8MOIVrormYMh_;GYZUfuSr[?q@nFpVD;-u0: +B-7%-J\8c"!9sC2m6TIPIo)j=K0CWtlONE26c-PcidY=@(AL*"n0aYh_#G'pr5\aX +]F'0)K"DuuEco'oR8XP]((_:6"f10i!<:?/YUa#,SZ0QBg65#(LY1LRD?Tq`pr@0U +M7QBn2A<,a7dK'-\qn*Zkc+*`";90mX@M8:N`7'2+SChJK6XI,Lm +r7CC` +-WciPgV,\hs7a14pY9HRk;&2"+WK>5/ZdVPk>g\X'n9TA?blL;rK?4XPh\3VJI@t] +&FV:Bc2dktF5Qi,W"8J!\.IIV$h0dgIL#WY+84*eNmF(UQRbh&3taSuf`)tepBk\H +9).i!LGfLob7sFfW4q:]$N\'CD8XkXqYI)_)LT=&fDPC%gSjr.^U`=6ERuqYj'?mL +>e]Z05`I!93]6iVO(PZrR(3%>eEWgmdf&Yt3l)h>+ARBf4NcN8n@t5l!o8[&Io@*T +[$JV=O%isAQID@%oW;Y('S1f7FpSmoP>Rij.OkIp,V4ubnc,!i@*]4Ped1b"*XR\u +87FE;N)gKt+)M?bYQK^W9YZ/o:pNCVK&5TR&UYG2+!?N>gnNVMkqqe\=qV3B&Q6RjG +TqM0Vm`,9K$\.7dHeuce>6#`>O08lHVl*&#F;u"o2>gf"C49f6J(^_]mPg=32Cdk( +cV3h86[,KU5>cKKWNNWsfl0ngodYWE&cY;X^R5%qPlHn?n=j1_P-X(Y7Fa\(boog! +@:SV#Mte.)+9'rgK4AX/*qeGM;M%qq`5.8?ciPUVKbWS[r+CYnIGBD]r5TS'_S;:k +T,B$1]9;c)HMi'fpW"b1A(?tH!.W?dTBO3Y4(s-D+'S`0!5SX6c8p?E$NsHp/m4<* +)aP)6EujBB-iQL.cR%k_Z!)[-3XW`pTDFYY2W1`]fm*_u\J?F5Uo,+&<5"<&d$5Gi +a,Pg`B#@Jb!@QlV.Cub-7RC*?IY9.-)5)Vt"_%L%1;o.VfOu=?OGcS+q\eW@)mCE* +dNJA+>mp]s*g)#/@hU%Pk4`R_]hi7=WK?`-8nq2J#fps'A9c$d,S:-qu +\Ik2p'Csu.l]-g=&%Y:+Y3@G*s0d@bh*+X(InoP$Uu_,9c*o3lDa(%ASh#\J>+1$? +s**/skT]aXg>j]-pX>jCi;[?,44j8*-d(&5ARF=YG)mHN]EaqR_ft2r4d*<>]\3W +H5:[/./\S`?2i]q"F:\K#Jouk0;:Da/+Xm0'-7)>=FQ?<^6cD7nDD@CSr.r=;AF/[ +#go&aBsC<#KtrbDPl*N'^JdT,g#^/G83%Eh?]\>a!r3OD(#Z"f-P8uRBT3!r^`NNT +Kk"TUUmQ`G:bk=%Hd)M_M?>?9.F-k6JmHUb#%60>J[NO%4Vu)bLD8POk=e);Uuo!rR'5 +%iG'B"4+0+(EUm"5NRA4^cr.X\!:H7X@NL&!%gNh+rn?"<\mP"::M0uIFG@]\%Q`f\#2>;W)n1.Gt+'ct?+T)JHe:b(#V<>+A[GT`JYjMj\)W-K:;X(g;[3RX`%=rO'?29 +m>>AkIn_@1nmeEhc.&tg*d7_2fGsu&^n2/CX#El+(Z`IIJK8"R?hg790KYh%"[GMl +!WKu,p'1:T5s]Fb*:nY.dl>e+2UWh)n:,ITEb\-kE_&mn5JIO*JeA(T^EA%h[Xc"O +.Z(k;#l[5O:m5hpj3CH5Y/('t86mcK)tqfIq"Hk$s*TTeB/O_SHF?\oe>as$%8!HM +d;+ZV!mHC.Mm:?3.WLnMh%gXED^c#qMo-$&e4kgGaDh_Bi<9Ts-N%PI>n"uc-pr%H +'<\XNP6_!j73+5CJ(R3s>"FbNIE#a"Tua!!2l!)2!U,mlfqk?,ljpOk#2@75J"VUT +4,ogIMPla+D'SjFka0.!3k.FCL/*RpAGiO!P>nk%.XnR)I`;?LUX"RKM*&>kA`3T' +?t(K;&,]dY:TXAhJH'EQR8)!9n:/nE[HX%]ribNJ+Um*e8aX +:p=pbgcQKh3>lNo*>?+(D9"[N&YBAfc@jo$.dZP& +#!D9;Xioo-Lm/opB*Q<`:G_gEqu$'GIBWn5n8GB\eQ!=Bc4BDO=c)'t1-`A2V3lct +8_jN3Q!tF@H[_XYJh!-Yr^?PE@.FP^AK_^/'\q_ue6E3pi?.Y5kC:^*C]Tq'qt#;2 +bm+UVrY&omd/#EL;FQPB#2j"MGAI9k_[?=^07!-WaX?3Z`"E"Mr^.:U5Aqso+iFRN +#r!9+%J\'$NoI/1NO[u@YP!t5Wa@gjce6GN5RB^"p,RZF^V:,kiSR7drRC>.;jTYF +Xo+0dm00]U#f$S[^Q7trIs'j= +\K7gNV%"Ia_8H&o+/*5feKA::QX>@dHW$fLg +mC.Te02dB$!.QP9!BpE;,_H'pZ0M;kn@ok4s$WI^pn&@2!Uq?mJta9Z6f!`S>n*HX +>^_2'?)^H?IsBYms5"0hnk1h>]93W=s%KdHKA^+#%+R`JFV+NQra'rJb:7Iub:Ek# +8]N`&QoYsVX/,%1,e^&hWW86c`*t9;Qq0t.fjuA>blI7mOL6?CVaMORgS90_`9u!> +QN9FJXkc\?b(PZlF)^.tDT#BR$JS23'*IA0^F;s-"Fof9VtucZ?0"m!3u,_0Gq$f^ +3pIG#o<]N^2&G#:9'f9KKM!49`U9$)E.NOq&sb4]&p@O&91T4(.5.[[7[2\e]]h4f +H8U0AIe)WEHsnbrrK"S6Bu/DE'!es'u&c0jIj;O/!lK +cC$!-eN*#\YbhNe4m&\-8s?egVi3g3s>T8eRO^1EW7-DJ)L>omh4WpH#geZEE@K%Zt#_V +kdu\KWePGo#8V3hB3*F(NEQ#j`.+^%L`7T]',TGsdEk`i!hfH%r(l-8PCGV/mrdDj +:X+O+M4R:qpM>"["b27E5b8)0r2`=)[b,V6lJRj9daDp!<4ipnQU?d1F@DUN$';K'jf`*9<]"u%Z1YU +!-SAon:D6JgQ8H>>ug7Dj1io,%bbVo2Zo%T$PFgq,J:0M=[B`0 +!>[El>QX]1]ft:Z$,?c9mk4^Q]^Ps#"k43g+S]:Sr#b;A@K)l;O?rk9,leV\K45BE +"A\TuNV9%R]S:d%#.o[X+B-auB*%K)m<*l.s0[:.]&$-Z?Ltp_aT#WK[Ae+^1/sSG +e;&Hp!EY94?L9QWm)Cf]^U9o@f,h:>>Rr +e\mJj%Y23+6c49Oa@+sY?IM[+eP$\PInr94g,70k'DN+6s+027,^eDILD""H4V+s9 +L377UE.(`1'o_(%lN[9Y45Td[_4,XsF3Dk.Ac(Poq>+CG34^ukN[@;LmlYR6A,\\! +'.oluX[hncO#t_L\"30.^!+?*k/M.Vq?)4"/8DSNfG4e8+f![9kff/l:,^4O/CG_t +KT,^;hdR'A"e>_1r)\tF*[TL7`+/fZq%>`f$QiqcP^=!!]"E+K0dPH?oBj^a/O(d%n3p^N$ZiU2B +4,qd)>t&Lhrt-tAe4'tU:q\FpG8"[4s%@A'#K"4^D>5[0nn!LZIY!79EEA8qkC7m*0@i>ddkUZHHcIiFURX[6 +#K)$N_B"YU0`OY;m,8MNcV<]1*:(ta(7)TMB_kMKeM"$%4TBF#0CU'sj3,3IB])*G +aa[&iokR4l+5Em6&1.K;ZHl9g>H'4_%J/JS,+5:+o)nKKf=i`6H3O's.=YK(Gu.@\ +:fDE@Yck*Q)5OGtW3:\Rf6GB`r#16::BKuOg(@ZDCL\uY-[iP)?oUu-S +OL-.s"XaQ/:Cca%!#,L*FT^=NJcuk0ha;5TmmYD&%3U9&9jPl\c?MK#'<+c_)cEBL +A?[NFCBurd]_5O+dqbrVbs/V8^'V\3Djo!*YG^)UD?bG6jaf&5og\:!#Z;^ +I%QphL;6>.mWLA,,pkW@V9[X)OB#7jCFutO(Rl@:c&H7T,Loah2:bXKp%a`VXsOL' +YD'do`/M3n)&)V91/:BVN604gg-qVOds#9YCdc<@VG5k$No&R`TaT&Pgs_A\n(Ops +(Mj`M^MDEd/%SB@s*-6^ZME4UlFTX0kHhHIDT]`hME:h6+8Gj^\b":ubU94SYLt9G +s%h-lpatOe=/Gk*m#r7MK9t48Q['gkIl&gc,^&+&kKTd9_&)`n4VI[YdWpDlJ"u#@ +[J!7;("]lfdp$L,rp0_?>++3p:I5A,=#UF$Y\BKXcq]08q#gO:>&HGVcY`!g+oh#b +Ac^r-s+c.o&7?K04g9@bG^[h!EM&V'HIm6Zr+dg-o8[b_VLj2*hJgkAI=:lQ:U16A3Y_,(3%G\IUK9\9unJMmgJ#>Z\jXT`lk(harX/hMmFYfFbn)#dp96MpI,(TXTMN&@fMiTD4Weptmjn +BH"68oN:Ci9Jm]>s%,3]lHfV4I8+6j,H9#k!Xldo^ZPHcT42(p&\oJ7J)N-?^S2)* +?W!#B5F/1S<%k*krlaOa-.APs\hm+=^X'^h)`[p4(DJ^t65BS-/-)mrZgcu*ZM5L= +3ugR05:GhG-ho@5nDDRlKGO,C^VG>.[M%cdpeTcTs$,I,khks'1DE.RTAc[L(Z5;k +7q3O5"[n%W+DX(Xo&=H89&<7<^hj2HsG-B6rA/1>($\O&!Br+XJe/_nCQ22daoO,jKCXYW.3LI +E(JmYMQu8cZfigoq.!>>4*;g8T'S@u4;KE69@-+cqH.a]s!Y'$`p\oqHK.=gIpCVH +c1A\#Lh77[r-QW'q,ID)k5WmC+O>Q4XNLNUm6IrXjo;LW;n]K#rGmGgR3BP=_oao. +jCa3Y80c8U6ZReY872HC>tm\sq?$\D40&/*KshM\mF)I4mmLfGHdg5&*R0E?0r.L= +Z%IRV,1%%q2MIY1ITsM+>i@G=3:oOqF4R(V'NF>7@^#l*IVr%SkZmJLVe$L1#YT`"T-QHI.OEA>#V97Ol2F_U[RWHY'$@l15V +EG\E7Z/n6g3KY;&gZBB0rP8GU_t977(>efW+"\%nV`/bM2[na4`pkYX1dlP0Fg?3' +_Z)4\V,c">VJR67s!,k,[UWpu3HHj$CH]&/i0]lfO3O[X/1<1,eQt\^U7G,)^dh/g +H57P)JH&8M/A4>K]c8qS#S$(%sQ"9h)T_97[$X&_SY/ +)rr7`R\iFAadM?DR#:0*UVi@73?#/SL&"MH!7JXQ+2)@7`;s'Apa&'TCnQR2D.<-n +Oh"9SY^qL.^ja/=9pjR)7",V,!,gh.m:BQU@?7=\cW;t8W#5rm%>TN7N@3c2B+h=b +-JQghLu6unAO:3\u +N5$Aai.S]Wo,h6aB!0DC.PkgJ8l:n9E1dmS\'dVqZp5:YYQ0QiE9=4p.K:"XbE&V* +`tX-#1>u*g^V'-IXK"f$(9eVS;>tJYBuLd=P\sJTlmel"c#RT&*ZahireIWRYZ2OG +#n-7[c[R);1]1%:pn4P`+#F$O^\Ab4&]^gVp_W]IBO_67oY=E)'?hilGq\ZZJ3W)O +n3:gl;;Q8N3tu7W7cLMs3"&?/ILd;gJ>D=H[/IbPNPBX94`:uV]Nb.#^X2lZrZcXF +TaMsMTn%Y8E_Ub4"34+-Ko.!q6FFELFlh/(sBa&c?8gJt,f- +f,6(@q"H')n-;5o!4>'n"S"]Hn/kj7h@$]_s#C=bbK90Aqu6g__=GC'2L?&@]K]VRF8S;jsf_Q=ipQ=QXGmV<9DRKKufYGmE;It_04@Fb]YC&nU!!6P># +Nb?hGmnGRQ-aL$lB'Ye2l[hp)_c=mnnn7VD17Y:gbG +gt#h=[p38t?+a_g]48C_iLF/^NScU!KqI/):YkWt=Ei!is!OULh,&N@;uOt"pqr/l +fs_Fr4uj\aJs?5(g^3oYL,1kfpXes#^Kt4s#9#r/ZLJ[2I(mqs3NpDlb7AnFD\o[ +&,]dV9`b94BJ81@?+d;NN8_N[SQrY@?ZR:HIm:=40RA()\pQ_f$`^#C]do0?Dsd8E +hoT3>@"$qa?=t"X/M\g<^I_*Wb@j?KfnpR/dGtOas($44"#]Vq`[s"Q'Vs%GhkM_g +f>/U/Q\Mm2b(,(1`8NmV:esP>M!a^S'K+hO*RBVY4r:F69'+BI,P#L7gmk^PgF_X^ +QM:8,#D:P,s,fjia_9/&(ukR".1u(Lh5h&cpg;V2i+MD(JH%h4o.g8,N-r#3Mo'sPk79:7M'.,Gf)Nlmq)hseIYRmuRid4]A^>o9[JsZPq4h0aZJTUX?q'nK@gDdqg5Vq0 +D2DD8>VA:8DL,#`qe@2L[BHUq%]el$;:iM`i?+G*C4+!"^\?1KWj)`0r'L/`pnN6I +RUQ?t<5a8*g?p$Q184db^crk"jl1Z$=h24+HJ$W'?l^E*([,sZskp)3iS +7mQ%JM&7>jg7)f1nDBdQ_=6oP[<>#.fn_$i&pFJs$*Pc:C(31,rK]LJWQ(p@Ep+ui +RS'mj\U[+Q%cr48$iK1<"ZUTDi4iJlaMKFJ@qDDJ^rh8!O!Z)S(g(HhYaIuMT+Nc_ +r!'$*9D<.6L_XY1MBu##OgG"R?$+";3p(*+Z+#s$M0gO"FVIb;h,I$%eH#;9/EOhd +5nTf"CIP5)JmtjVg?WFt"uL/=e&ET?*:O#HlnHoj&opZ"TCdf^MCB7(4WIuhfl_sdu>GFe9hPt+8Gjf\c4F+FBnV'H-Y=aN1LR$l'&:U +qd-]2s5/:]rHW,D!j1c<@i5!Uddf!ZJ'0s`j$juI^i$UI1L$a@*Rif@BbkJa4hdd7 +a8EtX!:YKm0X5C\bIEZ6+8BaUs1o*$F(Zb*:PccuV7j6RR=P3bcT/V9]sQdd>kQG! +FAL_s>eOhg>LB4ri=.o`a"uT@r!.`ph:j`gHL%c,&>UcjJ`hHrn!sD>/VsGAl.pa?ol.f5 +I@`ZrDr>@Kl)H(n\g^Y:S>C*K,Q8(m=u8j7I*Y0aGc1 +l7h=C=n6lT"U+`rLV;do^5>>RU[[0\6f\K[22t+fcF5!gCM-1Zl(_$f_'pX1;+,a6,ZWP(oWp]pA" +iJjKpb("rV]npWV5DTiP,QBt,&,B@\!S0f'Fej_4,b/r.cQ9;h47m6hdVo'.^Mm6R +e6;DV"8<>u`$<(fk"kp-?d+"*mN8IOJ#]^PKiRc9;jH_!AN1-%R/^?8\ltW$j<[H6 +%gX]ZnOgQQ_d?Z_:KkJ>;ZJ?&;C%fbaD(W\Vb%"LQ7 +\QXk"_S;N,Yqu;1gIR!j0peTgtT8\J.h&WKZ +$s0nCh^M +]bFV"8]lXGU.N<.):W$sX<7#j#Q.(:\>`4\Rt!-%VlI:_e=;0FS:`jtZ9CK?QVZ$F +Aa)gnop%@D28`P>0\%n[ok`R$Vh*uJ9_\'4K=/ppd\[rm?(8FikE^g=fDSG(STW>u +;pk6/I!/"7[4]#'UKr+]>^iigpJc/P>QD%V\?_lZ!;p3d:I>'&nGFFLmg3%p1;utaJ7GpCl+7$DS +&b%HM$]tBq..?UQ(Ppn:O3l/omIL50CV]rjochlhIt?`EX?W!-H_t0(ZEJ.L*c>X- +Su"V&7kMQ*!CFr:J,!ADSDOR7&/ +a4U,9.%mLB&Bon?8R1bQM8MQNA];U-MSgMk/HPn,3<)&lS8K8^L]8Mn)=W.*?Q"Y! +ad,C%s1n[)2El_BHh4d+U^Ib[liQ?SlELp4?I1MMD?^LD+oe5=!9T4mdZ5qBg_T4g2Tl5\fSVh71:p'T\Gk_f\R1T?Ps#YjYKF59l8=fbX:2aIN41EJRN]:2/ +:0*j:M-U*4TZrGIJ!lrfW)sKh*KHXB-b%-%f^CI8%bH`J2&tl=*UW!]kS'NR(S;U2 +R3.[o_m6VDMQt(AP9]WsUC,B4@JP`\ajFGRBNOe%Hc&*Q9lE[M=0SJ^<8&!W:LT& +rk%65i4hu[YmJc0EV-ah?Lt9d;ad?m8`45l#kC@R#:]5mA_^6&-UjVr.aLgjE77e^ +n2bk+3/%Ab"B-m01daD4l;LJ!$PhTZl-AF5:GXe)f5OI;\SaD,g3WXmiU4:!@T>Vb +=EeC\IdN!UbcYPu:I"SI4nhWqB1kD$Xdqa68.A4Qeb@\jZO\Q>D`(eUCqP!;Vu(/= +pED&2/fbY;8aF'VHZZ%Fl=/G#/(DE$Peh)!cjZcN2J;4X\,U]Mqc(.:j=>B-YCoDE +9rF.+=#,1_.?WADhXucrkPWG-`P&bCQ.P/R020RQ5TI],pU^$)CGoMa*cQ*QhOH0:\Cb-`oT_%`@'sH*R4OQWqgcc'D)gmRb(j`*kX5bs5(Kd +Qc+MaIhd;)=5isVhL""nNB,V(*hgV\?`n/eko.[T7^W2#h*aPg+@2l"8A`gi9`h@'qGCWUOlbACdM)H,2n/.p>b5SpMMkAUS2q?<0/ca0F[/Y5s:bM',9#K +fN>q:6L9LLWSPAT0X"e*b^RnpR6O#uWe>,t.f +'gqiG+\gpG,-P(jl&k%K$CP`n>"`@K\:GQsVu#^-?6]D2.^SL'M#WbrZF6-Fm'e*+ +bY8l7-A)I-o29gYah33>eGMVn:M[+(Bs((if;A-)dj7_V1*.>.Y7bD^V$t&-@8JY; +.L(:\X;[s1bHgHd+GW/$C#HL[\H-2H!*t`(->n`%%g3XZ1$?$7$uRM%m7n5\nI^K4iL_tESu1C"ha=(A,*rKEAeHm2)I+^Nee)< +57l';ciS6L"T\Hf>Tj'/8D_b&I(0Z@EdE,d4kB7K6P4nPa5rT9s+@!7L!S +02UgUphTL#5[3`5ZC4#,2LfV0lmMS#jjZcqY8'@u:Qj;r#QBW2d6%X:s2kH7Wp`31 +l?tpEO?+`d,NcbP.65P##mp4\W6MagBFY^#D56uu9]/.N58)'9#Pl]&nt1Fs&t8ju +!WP5(\(KBLs'ALK5bKu +q.0-9:_O`ADlCn`rhC,q/)F(B!rc[;:_mT_o?mX63o +5*O8qWiMFpY:&!B10on3:i4m!]m<.1Y[s2HBj>n_\G\r^]rA]O.\D)4^@4f[Z)>@O +Xa@9$SUE&[g/?aUWkGaXaU/E@:`Y^msF0M9?l0(h=nKgr;kOoQCZ?'&`G^T!5l]WSq,a9?J)7d9gXaWOd+T5pWGnULl7%-k-L`)f*/6dF +_l%7'=aC[KKnUkJ#d^X")XuW-J_qo1=Moi"0t9=Ts3d$/e@9lu,Y\4$I>n)Q4Y70D +"TBVR5Z>Di/51L4pjrH^L7C/3*<)IG92;ZB(\lnV.NJ'p&,Ssh!p)Z-s&`J-[X\`+ +bniG9+Q,I"G(C0`J4E]Amp)eOb(!dYa8B!RoZOe\s)'P1o=q[>=[8MWY%gS!s5m5- +n)HXI0GSg2rrN,"`AF]]L+GS]LMr\OblA,BKR\s\;%!Yu\C^k5rrE'7@t'>rQj'1D +NI@"3E:_,n8,RQEr'u0aK'.*\`./B?hcV.gnNKjQ[K$kJ>;(9[[NhW.XhFSPl4!WqFA,[ +J"eIh#tSG"a3+8)oXqB/Z3,+G>EpId/6sJm<\tk^eF!GOGLHh^^OH8JGlgSk'r($]- +,TH%orjV-[./Y#En4/<7^>ct:j[`&#BR:uds7'D=Z@G4I."VE@nK[=?7lB=^[:`"Z +Vh^N*97W&6r^\>$IK]]=:jI8hZ7CHKqmQe9q5`B@q6=!FptMi'r#tuJr]>76G"nB! +?#!B*@LFk=MQm=%'nlj;JO.F983%gN^Ia;d5\LIk&E^`[i'5$7V$?]b_`uHHR/[/9 +]TFkes%Hl'%,"`Y!d*b/8@lqPi4k$!-B1upM5pVf5s"KWQN/.B:9l]8"b'G3Vh##% +=_Q!boT^+h("li_AZg_\dmWg\D_RK8%FDOO\jhgV_u8,Tj"s#E+CDd%$,.]/\d"^T8iDJ+rZng(b9EYniL^/K-^$[tn(@01(d<(9 +6lQ\]!jU_o+*\CD!!sM+=STsR9`C-)6&67;g``T?`/+jZr6:W,\H%+!rWethK:]qg +?h"C6rXXc6!WFHMC(g?'/V)bDd\V,9U(WID6A/-:!:P:Pjo;[dVUOCVPO?$Bp?Elg +M@j@_OM5s9R1K4Nn;mD&cDO1$l#H_"C8c@`!;#)9I&,0PItI]0D@5Mj54> +D'*(q3j1<(=.R@39*>/$)bCY`=XhS7r7=KFFYZ#=J!9_!q!U+\rMD[gL4:EI!WEZ0 +;=`<=r&N00s0WP@uH^@6r.l/MZsg&.85ku2rHB=@Y4 +X`Ziaf7Q9921KA$ln`\$/'W5>!SGs*^[fQ^%DfJj4S.u&DW%pjA +$@mW5q4fO$nm>C+;&4f.MB\7s&BcKFq[!0(s03.8m?mpR./^asVH4FbJ6tb>&JdXu +lctO^ho:<b>t]apXf$d$?R*/%mobc[Ij1K;'\n!a\c"oW]>:+c +,eUgc=l*#ZXYo!AD45l&SUW3*Z_j*rPMVb/^,02;I^A"a1Z?8?@GaVQnN87>J_YQ8 +X7ZgrF,Di&0CRs1pZ,'BO_`I_$$-&6A(RI4gt8XkS)5Ie(dip"$MG9"Xq#Zi!G'!;m(;J2[K+T3"h$+Bh%F +<@n=EpI'4LRV1JJk2CcqEUoZLAP[`(:GB?)^N$/tm#bsr>;hE5KmL5bfJ]=ZB&RSg +o".]j$P-cHo=Sk.ZJ3^$GFhF)f:$W[2U9,<*NG^?QAt>R4+H\Oq2<&>YCfX-[6ApM +\pm#t'l9m*2kbq2D)4W89SMQ2jY8W?\lM'PLpE!Q1>;+?,25N="T4Z_.0DMV'&emt +pf_uq!;Jg.$4(M\r3^Vdoa/pm&f!=Q_aYuO`PfXSD`?j2i\pl;:(*uCRLA0]iU@BU ++7^0Js$m0fUS4t]rWE)E7Ul:V1n8K&!aTV\\s-S'QeO_S#Pc@A_MJ5%JO\St.8Tn6 +BC.EXeRT(=7g##cR/E_`r(&47$iEIr0rMI%uC8]7/oJ)QN)g(c[5Wnr"JiY +DU+CO.11('7RDn.O*4m2RK!Qmc1qA>&CLDi0bltK%ib'^r$2!;F5OlBb)X@]_S<^S +#)+jZEe+5)%C7'O?\:8Bg8i>_s,#M01&R.>q#A\BL0O4's$=.,oMPTPgm3F8`dc?+ +KK0mHo`Za,*`AmlXj*$YU>I'@IcjXY'i9;_*MY_t*Qo$P^#\iT7J2F\2iMrp6YH6K^W^!.o:-t"i +8P)BSVEmR,lfeu[>o&aH`q$ao5u176(Vq3b+2bk+0hL:O82![WK6ZN=H=$/I_9"r$30'oPlDlA53@@M!oOMXH3C_]6u;Ft,UPWT +[Kk/H?BFshntS^g_QInfJ%l^)_]Qr1MM;'C+FbC1M>RVR'?VWZO8+d)5B8+5^J,;e ++@XBPr];:p,PX&L#6HXZ,7BSXH)+EK385U$c[Sk\VQ#SdW$]22!PecZdc6N(M&$Ye +!3'rG_#/uVOfT["=e#tN!>]&m-&/I%B'A0FW^_&CM0VB496F:.Z?W`GG?]=QZ"2j^ +i:[i#bZaV_#PGQ,q(kfWpE#1[_YnN2oHW>.a7?j3W]P!ZRkl?^h;GG]#V%?Fh1\PDs0"R]h`3U1$auLB +]i6ZORNAO[Dr9_`?Z*Nb_4TMJc>O#%2gDej`NqXpq_(XDn*F8nEUCG\n%AbW\D3"[ +5G2Loo&Hk_[K$lM+aQ=3nAg&$/63g+,0aWF.qa&reAnY +\l5c#'99)ff()[:acO5U5at!:iq=l^]eXc$s/f!pUAt6*s&&C.#bTNJro;*2ms"aE +bJ*nS%"LRW-6;\beQdnDC+c0Zd3$Oqa2>OJ6I(]\rk#J?%iF+C3`TUi/lFdPW?h)O'e<hAhl_#k\ +n:*^VGYl:Rd>Q@]?Y0JpUn_'$$mPVU]lnS7SO:WRcYX'N@mp[u\%6WH/M9eV,6nMa +KmqqWJWQK8rok"8/^Aj1s'6`9s)=mo8='l=i+OdL!6kJl_fA$@fb$(qJ,HO:i4i^u +YT@+23?X*d!WW&OlXTjr,)/4EUEL/(r+.$!;UA8NnFp).]]Lu$r8iHWh"JeX\#G;Q +as*=Ld&'(ha"kd.A)^[R3/IJfG)Z?8/->f%JA5=1F;+THWIKU$IKeO4('#Y2K]3\D +n,tF%!Osl5dZA%?c&,^*?3n>!TSckPHu\-]!.lC5^.6V!1dPDEP--@\0GL:i"*Jmd +\rm135TEFZM'"%M<7/VF($"ti7K.!DiFCirRc)n9e[>5LCFf=P/'U!gW\3,2\.73e +Z09JfChcspAYNT-DTSk*r**Crl0Cb?4irF5P(,SEHni831::nT4`[aaeD9,h>Ihd- +BD('(l9XUMj:C-!*#M;SFFGh1rCT+u5]Sd3I.Es+@S5Q^HJ8jFE4tn\G4Vgfrm[NK +iK`iiCVr3Ks.sH:=M6;Sg#Ppnj%XGN9g>boYu,o=BuRL9jr(CU-Ol:*eQ:`#&HhfHQ;B,1Z<]q>am!\'bG/Hl$&%(+U<7,/&/+9T#CiVO7Q3@A9]06G,gThY[g+FlZ^i1J)?J3W6gW#YS^4Br3j +5LWe'n@oHTY.YnJs2'O,JG;q<#k5S7r,6ERpl>Y!`rZPGVqn`\s'rKp,F1+'Im_&& +/e@_ATZdT=GDR1X!_*7kWP=Mo9&ee_ps;V?d,YF?@@A=QmD"5Ur!3!)C,5khJqa\a +^P)WYs,d8'nnc!k#5gDq(dD7,p*K2mBL3%FO[@!l0+S#DquQeqm4ZV=\,?@,&H2_$ +[OOn>s$YT`2h/o9s,#KZim7PBG5b!sBE:K9s-ET!Qj"&D"V$0r,H^e1_gc;Bk\s&. +86>4u-YKZSh&g)![a9@&e4sp_]:7=4aoFjMUfMh3M_.).bm9\7rPfPd+j6e0o]etb +>o)qeW_CJ2f*Dkdq1hq^K,WSi/O)f78EZfdpo-_(P+al>">53V5hg5`.KX_p+X6ho +pfiss#ldpMP6h1K5"?+!s'4JHR^>`oC4WT:2sAC-"s%bO2HC*S"bm_rYsCYM80[s@ +oN#fe#[F%?LsCM:FQF27s6ARo#2oMp#9R.MUjB6F-inkfVh^M(s5sC]M#Rb["TPm- +"r6X!iU1<0s"se+,5bMMp_0(1/7:.$gIcnF&qIa;<9cB-\.*"%I48PGjNs3E!<*Q) +$2>IPn3%tUbYA6Jck^8m8hsCX=fR>f +F[`=-1/1\5%#uHj.'f+LGF(1WWsR#"+'TLc?B\]bWk'laEH\>Gr&Xl#@cdAOl1rl@ +aUS7A.duM?dtO9:"7m6TT8=qf.;iEC*:-EUT?6Sn,m?%'B/k\09?62BMTdf)lk +HBNJJIK,"An[7MqY3bRdhUJ=?8I5-RrrN*\%9%VdkoISKpr/GoM.]PH0>t29I9:Rd +M/_aBi7;Mrb^@C;4l+8H@W"gorPl/8b4FPfHYH,5o0P2+CZG9"IViB)\0ef]Yjp:S +hXk.G_`*J7kDD?jZFR3q+6Ym6o]UZ9:f,^n9P7I)g[MrZM@o#Vn0>YQ_rarqH]UO80kB +J,Et*G2*-C8-o33egU>UD)kn?8TUP2#8_N3>^;u.GQ*]5E5Z+23*:JP"T0o7(+qfh +XuOs0H+LBj/-%LBW?#oX6]*^*+=mN)^nirbMigKUL"6G2s-C[p;#OOHr>AtuBhuuF +=4M:\`DKjm@8"^NA'qM5Io(dUs$+a-FPQm>plC;52#OHenNRWbJnbo!IhKO=nXl-s +'p.N$W_u1&"'FR\#@[TZQ2k59(\GEK0]n&tTRn9eIm3s`Y7qF:F:23DppM::GV>Lg +JRfp7XX85g"7<.q0`RgR0\91kBeP&pOT])3Lp\ZDsO82#i +aX+k+%CEJ==rH.im*5U-e">ITUOq45fkhdFX,@t'B*GB4OI7"@P!/Y8O.Ml_J%[gE +-VDeoPP)d,/>E3e7**GF2Xln%c%gC8#IO^7OTdQ_JkA>H98;qSP%RotBS`09f)5'l +3=5WH[eRD8E:n6+r;DWqT:Lt]*Es@_dGs/eps[DQf`o?$:]#S<+)7dqr'qOL,m57U +&KgJ*`qZ_W5X!Em+7UFU5`G_D)92g;+,Ph+!0*^FJ3Qg.ILRg+ +@:BBQN$,',"QX[>N96C%4^s:Q7!8kb:-P(*,o3$RQ"U2#:^^sZdot/+=dFY=Sh@2haX^8s2&V/>FAFWh]9IfVb!!icSJR>_ +2iM#m*F3=sIk&)+TPAkZA8Jr.i_f??(qj7aQgK.)jk72?"J2MA[QV+lb[!9gO@++HpA/=5IO@7 +N?#Ho)4mPr//95\C:q!oS(Nk[I]Zn#@pI_d0>(-+^X4Zd$Tsd%4lt#&P0Ui#hq;e6 +q-GuZ>&s@ko^4Noo],'?E.QVuq-EM2]RI+7R9=I2r7YP^A5EM0$8\>`)H@$[XS4XFnL`:iJ$U76`8t% +-1@3]V9bO_VBlIH=`.BJAkbH$,br"J%]TK)tFLus67YS70"+.`+-PU6P4(T.Rq#C_7( +)#hB5"Fji)#p^_iY7OXho,mZ*ksj4D,lm)Ba,g[d>CbUm%gqOkcn&!>f.5$qb0DS* +n9=Dj:*'M>dP`i,l>7OVT36\UY,5<9W9CUTC:MRk(I5"E`7RkmJ4-+066GcJ,Z9F5 +Fb(;rILQ8(8AStdiFmRe>epBuXutYB?q9WM4/]hFV_>pTBjl1?)2)*t+_GAKdI(L4 +4LA.52Q4m:$s@:.A-$5rs"V\qNRD@A!:0ak;,h.I$HOD`"(;Rn])XSf63)M;+;I&` +W2-(""E\aT!Nl8dq"FjHJc@>2s#dfC^^Djo]f$Xlcb^)m=J2<).;WT.\V1;F-K[hr +7o'.I3-b!uIgGRo.+0s-ei_C+)Z^b*.\L!fXB0G:?Zp0\Fa?Rf!qLu`7WfRIn-](B +fEC[cnpbjV2;[iO6Ho-33/`EL;Fpd.F-53VkV`%./^dm^1^DrWL%%n-+5d[8/!uttraY^Je8(Ep/IN9%!;*%L!=C=?huZ)VG16\K +<0rF+&5\545U[aJ,Loah-?b'*@Z/+f\-g"e!;qo(:.K`^!do/43^H,6!\TQY.nZ*B +V4nX1bL4?ULZF^Lo!0N?:m@'C"jCpWh-d5H6;u3alMc\frC_`8lhh]C-"iPp/o9$C +>Aq"]Y^K>jnP6pjL!!??Q+*?#VU'=p]+8%?BDPDdI,i^W-in4,8!g80ba+j6ar7u^ +l+K[SSRhBLaQYn3$MC25JH+H_8.H`iSL)sMmamJqg*^Qr>M7i5V;kA;D`ha$gl]k` +s*#3a0=5E\"MfL_Z+-o@I&X^W7X>$!kh\tKls&/u>Lh`)r8+mKp826W$%E$EG89jY +l'?L8MiVDXf*.N()oahe1L$m4=8M`0rTou%l@J*[6M%a)g%;I"CV,=Vc]-,/j`g.E +T>+`WG#p[#>(6L>o^9Fo`!P),51kh%>ZODYi_XYTO%QP8cKV4eZdJs!S%#P\i!%ia1FOGVY"@CKE]+uW2S +"cS!"2pm_Gkhp9eigrr9s3W&id:-7c$38eh'1-'#)#WFlO61q)?G?k^cr2Xb.g#^2 +#"lZ40`U/K!;o(9=q)6d3a@O;+1$L/MimiQq8e=I'"NJD8hJi.';C4Q=u%j_1\ +A+n?Gjs#?U@:R-05&Wu]4.sk:PiiIrfR4AJ_1,VngAa`]C!9?5^V),G;O.@Q2\r=N +r]ckO:m`FY:)0OTTBV13($P^J;/I)a+2U6Kp'"$A'WEKR-:ScDP#=.-Cb6R@Q&YTX +d5$:QfE1(1GO%73T90NPlF:^@a/e?KQ+6mE[j23LPp;7)hqgc-o,&%m!St\CI]B@S +%9/!"@gsaCOS:<5ViE/.nE]kJYE/>TjHoZ>k9f=f>9R%S&89;j%7ftT,AloF5MUfH +dL#_6J$:/9TUcJUDp.O+E4T9+?""LRHWtQ;>B5)-S??6p]8mj"cp=c?r-.E;s"0*b +YQ1U'9X6LM1t=!L0hG9J/0IfY=dU,2!^M(9!('ka.8h< +2^JE4^S;(m&'5pOmkj)-r#N?MLT]"'.7!CS'KOZs5^p>>&;3o!+Tsa4./^V1U#^,j +`;.`tZH3u;"jgN^L5T.:6pk/;Bg9E8U/E_M!_U%"T'_eSH_aWR*/lJ"3"lW>!fJ*, +,:l)e6det)pB?*Oi$pumPRbQ#An1UG24#Qr99Q*)8Z4m&+Gl"474"q-P'r5Y6W.lS +dSs@pMPbu9.UdQ/WfK'K0+3*H.sgV@?!?:5gb6:J;L*Dup?Gi+V6uaBX4::<.kWF* +?@F)ffMp\>Pi"?[DEFHP#6(6m[/p<*E^qh`0/<_ads>qCpY;Qe?Y4GN@/)f^1r6Bj +*FB1D%VRKA]LNLsNu]o\L&B7:]O*A$h/qgOrUc->mORCI8EkJi3@Fq%eG#TYkP$eD +d%Z&*#tb1grbiMZYLR"fZ]Nf]M^CC%\)>M=(2lkWpP]WSW:)lH9Iu%(4OW*@<6W&* +4kqbEh,d?FnBTgj**qT3H=pR>1YpqH/8Qf6=,!!m7@0SR-[)>-cP6sK,tj;q&"b@R +GBLB$\lrH`Ps=O/@^5N#-X/f"kPOt;C]@ht[tBF=6CLlW,1S-bYS%^Z'eq9Q#4ULn +VZQm(_ukEIs!K^SJH);[s3Xnui.&ZL7XuuJOG/\C&a7-(s*M]qaH#j6.hVc:s%Y3/ +J"Mo4r.k1lkPpZ`ajHF&'-X/"s24;JY-hlSV)iJp1$mNMlZf@S4BMdV5O5@2mAW)0 +.Q_>t4(0X&Agrc2hiKpqb8Jg8LD1`dJ%q5u.q\dBs6c=,B2t8"P%6";L\u'=8_''$ +`BM):^jepiR]n>;:nB#8bRi?9!rR'5(H#brpfV'T(;N/WIjmD#IjJ*mb"g1\M'W.` +hk`\A02quK4HC8K$\/_@;/fbqN_@S#pu)[l2Y'`'o:L'R`uITfRL:jq&:. +=1AM7k5tZFr2_e8^"#\mYqputlo>%4RLHD#X"k]#!#pJlQ4fNaRY%R?ZS:&X82:O9 +E)R%<'0qNWKgWFSR;(-C'4gHU)CW&bbJE-Zn_]N8=1AKDpj6g.n-CSSRH6<$)9=uT +$fVWpr3r%qXTg*b!ImGcLk1;@"1,8+"R,Onp@uh("R$AK"Z-^r2@dc"J<=a.iEkcr +Ieg5L`UQ5O\,\F=q"8m(I'cC#d*^Lp>)PI,BX#7X`,@0u=c;;/\*LPID8&r4mnb5t +iNE7,kCI(K58U6r7+hS;16,Y3CR9)JZ#)63!Im/!6RAX]JH%>BTLXH-T0HogR/be? +!"L/01TY$$'a,<1=4"_dn;=G?63@U7$F:$TaL2]pU%'[IliPn@%!?iMZ8=pGP--2V +abqsj!hb@hj;/GD/D8&sg5d3s03sf4iYSI!M@U#Np;oo;8W&[!V9+=H6dj[&8SO&3 +O4M](S?e-EDsj$034i!OFhdk*C@/r/j0d./Wt-`,Y?"t8WP#c>GN4O-k*^\`8niKV +Rf6EhlV(@;,,=0R]lTW(qQT,A>fF7sXJ(R%DTMjeEsHW&]8t@POb4#!J*U1KP9eoI +/B?_%L(h]&o,6MTSC+nFZVMNPen]/?$gt]+0't)'0`5;BQ?SROn#VT,Rb$A0QX;6Y +h^\&DY??/R;-u*anc"XR9qm!.>Bj_(J<$`j00_6DDX$V+)X"PGCKm784n\Ymj22&N +XddQ_VeUe_kJ"DX^9p/[2*KU?/8iUJUF.)CBN+,tHKgiFl%sNPWH*%&d/,^FqTY/H +]u,?*1&+91h4IEMIW6t/om-;@VlfjmbUID_'YcKD.EZagZ>C5/?&J3f9hpCL2u8M$ +dAOo'5=.D35gKoYE^Cl1Ir#.IG2N`%n07^8=P0#=Ym'#5q%Hd053@?-%/Yl*pl?ua +L\s@X/-5aB$C)4'^]OK;r8Th.BKTN'3ZkLg(TJA]<1NV+SbA?Mr(f=G:Y:SdgPV"p +$BCMF7uc;$II=XCaSQW&CTIl)@"@3Z?!+3Oc.?^hG^+.Wn: +a8u&t,]'B7Kgp7T(q+%fV%GlIASS"Z+D')"OK-FBk(87#X3rWN6]R/]]# +:1o*:o"U*FaFCZB1Wk2i3`nZ&"ldQq=U6[b&62!F"_'gZ(T/GOb=P_lEH]!djtP.J +#jGB5FRb^UIj4f#r6Krg`;/jW1#5)I(jprDSqI1g?H$A>O,#82OZ6!s-Ln] +/XKgOBt3h8Fmlm&cB[t'N[,M's"fl^nGauEH^a0u/6&7R_&^4Rh)!1:T?S;ZrZBF/ +Kau0jh]i%Ab:oKa300oh:8GDFU]o,.60U?C(RpDJ]AgFU'r^9tJU^aDs+P(LV1/5e +kEE@jFIq*UD#UPOl(&=,JYaCSgf*n4](?b?^n-#6Q"_-2^LLF'1,!M!k',X^YC+[i +N12oo(#]+tIVN23Bo[[XPrJ\C^[T[Unm&Nl9XXFb^'qg7P#(PF-XN2gGBDFpUrV($ +JR+o;hjc=s(MEJlJ)[f*,G..VM#V:#6lY,M!ImksP_0\Ys%t)Z*u'R>pT[mRN4:'4-@0E]kkW0O5+Oog +J$1@57'qL8'D[,;h0!`#9l)%iU)t;!#5a`H\VMi.(P? +?eHl(kp^988Oj*&s-U2*i.&\4#Oih_EIe(AC=\1rG=\;]n72CjeWO4gR?#E`b^X\Z +3`lC=c_^^AQ_mBu;C1G(U@M8LAZDCa?!*^O:4PRor1KhZa>j)JAJDNr$@e.DrHnA/ +e?W@&+MSg8&;-;3UcETQb9g]P"\]l-JWA/rbf6np>F21ec.(:*p!mS^k\__Pi?$($ +"b.4t5-]_a%f\rUH6JFNE=I+-K;'-3:ld.-1t\+TD[7NW6h6:ns$ZX+[^&2)O^&1l +EW10,R?7Hb!l?k,ha6uQZWqg>6VG;o\#W)&a9\$pn`+1HC+B_ZH +&H8d7s.)W6_o.B$TCifrn^[*hqAd%B*Q0N0l36s@TVr#2R"=H0'0;9tL&\BC!c$,H +>7Hh$R?#jS*S_-K;4"K!-W&>0Wp:&E%hM`+IiG\Di@`MkNs%#lBYX+/T7i:7M?8#7 +X9%5iDhIQ:)6/Sh8m=D(+]f8/J$1.?q!U%Y?+O:QRU]:X+=VAK$Im'=aNo-mI0nXZ +Ag'b'M`>=5@?iUM.-EAlTeAUL5*eX'AX/HFFr<%!91Ham?$o8E?^2Y]d.,a(%0)tQ +3j9F8Lt;fd9gSFH^//VH\-fJ1aS:.%C]R?9kc.3N!iX8g$Eq+,":S)e5f'IJEnm@-*Rf`T(0J1&FX_q@0T3IY+]o+NF.so!#H_sfIO$3*_RUpfuG\pc+p0mp1(\37r +:_YRBhn;2PmI$+_ +*tNb-h"AY"QLA_ep763l4)-e&X#U`RV$<`+\!.(4&H=!e(;Or(>C`Fo!0R;4s4@BV +bT%i#kCPDc'8?"l2/3/s%KFY5ptpf:aG?toFud*=+-I]Ri"%"Qr^H`T9>H+Q,Ji@Q +JMPSlIjld`"K-mKB0p03B>`ikioNblIqlo!c"T)nip +JJ"Q-+>rA&?j@O".`5!u!P!Y[MRl%iqqqW#1Eif^"9S?cpp]Ln;><*/D?!/jaY0Ca +T;[8j&+e]Gi&GRiLF!2IKNnTo%L0LK:\X,l52tPAJ;tDndR#uE+\GR(%dC8a6">)j +b\2RrLpNbl;qgWBlj;8:L?bE7k_h9L#R_1PFUA0B,Mc6gqh2mq$6XSATY7nF[/o2] +K`;Yjs$:9@&cVAEqucj;)BaOr6!`!L@3`5(JGCa[Lfi%<]GGn*;bSu=kU$nd,c60p +@LA^WN/.755dDpl^qNs?M=5:Z&t\3FBDa+I58`F18<7BV@YJrqPRHo +2sD?\ZFg8b95qW_bbF]ZBHT`$cLd[OnfLVMT-]82E[,XjOZR.BhQNt,o";06P:oo, +]?1@32(LcR`BEVd1Y'o0`B63-75FU4qs^/-31*0"^MCF\9RC\VH$e/QpsT*0NFRCg +^9[',h=E;eKn03(0.^e(gQ(Od\p8>LE+;IYEN/NGNc=EoH3G=+WO_OuF_4Q.qT'lU +Wr^Ip4=gG=ch%256HrkEc2HO;Vu9Ci^\i9h^\X:`^A_bT?iTu`kIZL6I6@"WV2d3@ +K3qmUIXT68c%oeXQRXR4c14E)^jdO=d&[Qm?M\jrg$`-1n,#=W!Gp\DWs->Sc,tn3 +iQ(\pAi=tD(RY=4X2XW3r`e'Cs7)[Fk'pHAnos9WCEidKOUAo+ip`$#s)`kPr5\:k +'.?!_-pHZE3orX/pn)R.r!SP>$BA9\O-pU[+od/ui;=,`+',V$jK*e:'Ch]]h;4YB +Br$.+s05Y!'#6h9J@5M^J>t_3;4\s6PbeQ,![5g`V2YQ`t5+O:"3CZpP2[t*Hs_#M;8A_7&R\j!=uliNRSW9;XT:#nMK +rrE)%#`H2^NM%fGl3O[Vr(Q$5^q\Ef%K$ah-pBEj8cZ'qQQ?J7\08J+8DjPE9r9`/ +!al%PH(%Hn8dOi@ck3X +c"rl+AN/')7]+)=FQo4g(_f(7hl!.P2;(8IKb0YK-LforVta!>+Y0nLT%E*Smdufh +#HPWATEOImW<]X@(;Ll&k7]HjL2qg+!+(6.61CJK:i3<*;Zu&Di$aEQhl5_ieSM9! +c&>)TA#0TtKF'DlR/h_hJ;,-:Co54K'4dd;0-U`ae4H$a%WrDXdI)ZY<_4XZ/Bn/t +A0b"L`Z@4_"&F.=;>qdq&3C!ArXd"t#/&pndP+iFAqCE//\iZ!1EqWE&1R^"$OD=k +HsBYdREG(O-ikTH"e\S37B+(P0djRn2m"_4S*H.iC5Td)chjl5Rt>rPq&'VFan6rO +:$'L0nq6l2K;,A5+Bd5\;e8FsKJ?_:H)]4KgXs9n4EeL-ibI<2a,O.YL"FZu8_`%# +Ic<>bV<+?gpj\FVIZ;ear.k3"\*,+"s(,C.9[;QA]DH-9X"W;iq3op,/F-#rNK>t5 +\WI9$cJaD9A#YL#'l=UQ\rNsBg/!1Sojtt:kkGP9m$;bPQ%!4=]C]?VpT\Q6W>nW` +fTja3Y?M&,^X1edBmK3jp(4Mm;usUcV,rtJ\":Vn?0a0"O8&P_?aMqA*SQ0*HuE6G +1!ZqkVB5"L(Rm$1'TYIqSD'6(mHQne< +b5\`Nmm#(rr'0!4Z[Y(,dslN9B7Dr@o685>h&cN2XnV#MD*Pf's8&JUlXQgjrL/t, +4OYgSfHjLTP\-2U;b5gbkuE!5CSbS;#l*Akir-u^,d7C!+O:; +#Q4%I_*=(^^!6]+n)Jm;rWN8E:'F6bJ!g7er*uEud$[/hBn$`1s0T!!PdfSX]C;&c +i2!+ZplF?Obs-)3(6HUe,R&Nk`p=?pHA&XIo&#((5h0"%jM.uEUfQ +#,9kUX3K/FO>PK*+Q?L'dX1ajOE;4JI.U=,s0s:a`"l0:6/A4;-!GgRVYH&6 +&th=:cKa[)f6q<5+t*[]n4IV7'<%h*&]*@3L%bFhMF4O5#lf@#^>GGV4:)YFs&&bg +)$Ks_gGfC>g9-42KcQ`P&F!blm)/O*/e+9D;sC)!Ir9YtnX-j*ulVh7YU,[<8/ +q5s3]O96T`Uj1epM=Vfu5?In26e!)&\m^F2&76PL.g6i78BhJi=E+^fLaZq1>`A]m +BSCJ,?'tj3+=kX"&f-!Ud1r>f5g&0WEme_2IoTABZ`<"leoCHSE`2_'N4Rf/`hN+: +U6N[W,[T.f62>`!MM"`OMlOM"e/o*!VY:i\Nonl`/$r)R+'tt^oW[c3;rRCdq9:MI +eBo.Fq&/,j2.k_sGN:fuI5KX4Q(i8H +fb?Fl!regb>;#$FNA91KP6,C']f1ihh>?F4:O_="kqA!fI!Md.];M+S;(V*KJJcBZT.rQE.0l^Rb;?IrkG75F3?VQ1i;!mJb5Z?\ +h?Wt&(A'TW6+@(4)ubTf?[O,$I*>ZDacD/O+7K,X0`96$97[&?I"eI)Sb1tFs,dK' +nim0T4IlH3rI<;uP-Y@gN$%/2TUlMgLCsU^O1'QOr/^8VY"2JkVC="DA2WW"RWM,< +R\V)og.]:hO;V9lV'6]u_E[N3_dB==l!jQLWi4G@^-7ANZ$_TVXVi'YBYN?19.d5$43P/j%8D@!eDWr>.*fi3j.%\,BT#nd"rZolN#A6;+d# +69@`'<1Ad3:f1Jt/7QnMQ;:!OH*u_C4M#@4*c6ZB>1kKf]SNJih,iCo05D)_G6BG. +_U[Ho27O3J.i+L=>fU8_9JR3@;-:fZEB.PI ++K%?XV9!U+8KLm/=.KNcBukPC$_I;0a$-*SM^S?60#38N?GT>ZZr9L]O3WQ;NJY+5 +ZAd%rqSl3GI>5$S*@.g\'*H$#P""K3_Qjl)8Q'WW_5;eueGREa!nHET"P"2-,'9Kd +k[7]dJbkO^9r/)`b74m%P=/EmK%_J=_Z;R^>BD(nE9>Ek?F<]!1@@iP;SNJP3A1_o_&d +rBgONFjA>!>7]tY;&s<&_%Teo8=KK\I`G$[;Z4]j9`OaGb^]Nq\kdc5I'Daikfdhe +SX7KGgZ#gujGP[eO*8Ib40n\FMEBSXl'KCO:D>are5L:e$SP6KSnk31>4;F#J*en@ +O5@BJIhR(t_RK3T]DX(\\)Z7kl[Q5'>^U"j\S[qNhfNn9D"'a^d$?T\g*?PlB1i4' +54u[/I.?rH?i8a"Q[ec)MuWM7=23Mbr,:.Ms*pAbombm!ec3&HbPuVGci0885Q,e- +s5[OWqpTbe5M\?tbOs^fk9F>.qL1;>qf5fRY?dR]Q"H^9?jYR;ANOERV]>+$!hm/# +`'K((kJ)h1%k[Okn(Pth[9E.Z)R==6jr>Ws#7EaCfj\U3(%)\3/^1.$&3'A-qK?sS +.]3BNs5nmDSGDBi<(q`bs7a-`#2DY_Im!`_rWp;ZIi0Dos%iI6:'\qf"O['!&c5GO +B.OTo@cupM]C<?m8R!A#5DDCr]O>[FTK6^fPqsOqp50aD6eg]ru3K:+a=*3Q(XQSJA8TT"lM%N,SBMniS?[Q8H)$3#7L-qaT"*!MQU#8 +5\:JKUdbRii01[GLN+il\R60V_^%Ss`B]i0&CJo#-E-7"l08JQWh,rbTu\`?6&MZn +\4Xr,A//7p(TU+MAJId:SZ/d6daXH=MH0tT$E,,C2GnT4mMB=,7pQ,`)QKOsX-!fJ +fl8#QW;O^<7X@[^]AN3E0"gd'$NJ[>i'5#lV_pEYJ%Yc=q;:UM')Oo"gDoid>;fSK +cq;,@[=BRHCP"kQ+$NFcF.nF'!3RqS"sUfC"6tJOO%<'S)lW:u%jldRgCNcqi/^29@ah@aW*SY7NL!LWQlog,.bR]&PQM=;%dMZ_6kJA9^%kI0H_9KHe=TScp'97fb9 +Rt+u-AJpq-R/cG4P,^E-!OZuK.^FRAs*;S=RL55t$^)D8JH(Di$BQtA!WIcGK*;8T +H0'hV'hQ9b,XLgH=ku8Oj**]D^2?7-&HV"+YiI-,Z63ja;k/64S_hf>4Z=rV<*\l: +R6/jHA!s$[GluO7_\7`P2tFSXM?`KKS=D5SLK\*"I,mn[D(rN#j'].TM^$p%/&DNj +6g<`sg"mr!f9pIDCgDDGQZW0JIVS_WJ#r[&:[ET%RJN,nDjU<,Wc.=IB/cQ!J+`gb$i&_*X'beL__;"]qnN%nmsXo%BE%Nf:Aie[^@\bhNrT%=Z-T'7J%"#/ +ePtIbF7ue,%,Z3+;LPiEb^YP(7I12;4pV/d8#'GA3F3-s?C[ +>TdFr_>M?2o06+)!q=*7`;\)q\@V'Q4cVjF!I_,fITKs0"[mP8`SlmLJ"6Nert>ik +eFWDZ&So,")#bmf"i,Trs5UQc'@m58Ij4n_FBm&iIO2$jcL-udq;73eIj4lI)Q>Ij +BA':?609Y[$,SpSGesjPU6Y"hZ,n?R`,ZnEDOg!1.))]>"\%&=r*IiSWWF$%%S_m_X5D +pVcjqe?Z=_fG%$7&i:1jXon]H9pl.aU[Z>%f/03^(`<5pr.l?_\6RGen<]u]j_8%4 +"u&91q)+R(D3eO!%d5>B*>RnX=mkLAcl^+HO86b5+A)WCCQP"H-^KDT@?EHF[[BpO +k5Ro6VBJ<*T*Z9`9)rs#)VRS\RS8qG.:<0@i;\?Mj8U8gAWj"[CMEaV]))@XhOui9 +d]b"iPUucbN,_isITr[Vd1&2m?eokK/P.U<-0om+[?p,pPMC`2JtZC;^!e8jZfRqi +'k=R=BC?NDhQ(\B2)jEmkOrF+0`Pt(kKC/srJLWIZ1id/Zb#l(h\l)>9C>5[7agoQ +Bh$WnQ.=(MhKtmBN4NQ1=/tN(JE^IGNA29&_=SG)OE-PSRsYP,Q((Bd6Qk<*T6"UN +ND8j8s0)*s=g'/1$ZL?>Hgc%4Et1-SD\gB2&d09/OhA)5e3k$3EXQ\D9H-F2Eg]rX +GG9]dr:&QE'_e:747Uu'MYckpF:VY3hsismb?MX)=]FTl;0c-Pq2(g?)idj(n\+jL +pt`,D?iOm-_H13mHmsO']u^Xh9:^>apuq&#a5?R)pf7?Z/#ML$mQ9ua^[o^sps3mG +rPL)`+.l[2[qA>uH+s4JMcJ^8cS$M,]j1Lb1]j"EIJVCWO.WWPkY/r;T.^#c@q?`E +;"hT7X5:J!lA\.GkN5i0QE7eN\FQS6_n;B@rqE24!"uK8)*WHe+c1`26&Hl%Qp17+ +NlHLL=UW&dniFPh3>'>`p-f'3#i(RLO#66R]Iu)\Z:>Vr+N:D$!5:+oPH`t4/GctL +$LE$*^n$JV"b2j+89r?ih$YZamb)Z +5KJ=GfhSl\MI_k2e`UB?*E^An^md"N0=^pT)1lfZ^q2[jZtK2)1cNa[mM+6VsS +l)jr2XmeCIRn[Vm"*VknruFRV*2l.kK&cmZ6F5;1Ud4>PeU%mM,MccG6KEr\LOP0X_ +,Q9&pJ7aEF!RM"+TGIST"(FfP$,81Q'gVu@SG]li"@O7s&cp>eUp1:O%Um:%MR\cD +_]C8/I:@X,/cTL_*QX1fOSmMea3d5tD`kd@2.?'Hj>8dddoR*Y0R([^njOd +"NUWW#K6XN]-uYMU\=r)15LIj^F^>g:5(XUN;tPXFJNu4l,:$0pf8Sg+;rk&#U05g +Hl^0*6"__C5FC+7"qfe4/HDdMD'Md+_$8tJ6nMdeWjoPWl%>/S8iCA?X$HGZ +FTDq%TW&/_3]>&DDFVoYf"PEDi=H&^V[0PTS9q^->I%B1T)N*=ma.c+2.:6[)'n:W +?o2q*#Ts0g@pB^P&-:G`L0]el/H@KU_]ILT)TEANnc,JFs#1"3>;qR[X3'r4.e(2q +Ga!?Y2Enip?G6?BC#'(cbrlQ^"4m/nS>pYUfHnk;7ttYh2CX]Cg^hOCTA">PnZJVt +[I8UHkO;F)O$9o1cr8\309#c]gI>NB94.8ASK(q#W%I[C2GS*-4jLCkdH\>2DS9tp +-__/cT=!\Y&e_ +p[fEu43oAX0A(GrH[k@bm]ZHJ6b0sYN;Dk._Z+nanrjk?s7OftX-]kN^KbpSe`tIe +>P7gR0*'cI7uIF: +r\m8)BDfL^r(lC7GQ)\hl[L2[!uC]=;sTT4[N"L]?-BmlAO[i2*#4,(PJcAs)ZC+s +pt?G./p)OD!Nf]$EDRIucSZ1%N5Jo\#g\$=p_)djRBaM-8Bal&rD,o`aIc.WM#SJb +&]&>rg3'@h-h9bd2377Cr(-g>6>[f?Z]h0@dA5P%ob)T>CjZWg-NcRkWO?ke,67*r +'Bp!K3u\VjknN()(nj7JM0<6nG=!Oi8"Vl/+VB6F@9;1_`t%ea4g=P!rZ-[0qmIU# +]C"OJXToZGpHOK74SJ4h_k6;lT?Mn1Vi^op&hW^[QMIa!!<3_*(Eb40,Qc?,:ldMH5E[Vu!4q?I5l3bYCeNf("7q<'npn'sj(NR=V+CST +M+*J#B*.l22EfBhkFk72FZe(R">feBddg1D'o$O=s.d&X4fo7r0qURZ]7Fe3T==2FSZ)gk8D?cD`>lN*)s:n&f5B17dh#n&+uj!O+T@)B`U3X$t!0S>aS +*")A;>+'JZ+$!7@L5SX<;,oU"8ofr3n=odAR[MH=P^t;]= +ka)(-T";c+RXqV97/kj=)p.T!B\TECmGS!_OMA*1*pS72d!F0^#1qKshtVqZHJNK1 +#,lZ?pc%"JXFE2\HIUR>P]Qb_?,ML.*P37\mq\IY2fRcESMrdcEUZrZJ]DscS/i!N +CtHE6h#+!?mZg39$R*ND5hV\1Q-$V;e4/D*:B(W's6Ugi]31Uc`=-rS1;>W3Z8'c> +@*cs&;<>iD6SBjK]P2ZPZL5.KHDgJBH>IjQT#uG-3T[6;Jnp5flcXp]b9tuN2g"aU +Y4A)?/\UMapRTs)[t68_D;t,uO_V?$0oDUoDeAtjZf=iqt+>Dq#BVp/$<30c]qR=?%mTU93)":U&:[,V&qm"o#o'H +J+u;)\*g3idL@KU+'a)/Z2.F?jXl%+HYkVR])&(W$gedg!3#ot`;f$8TV0#e&2LU\ +9JVD("M"`Rg.YQIj#1TQ6e6m?W*N"6JI+9(%ZrZ#4=n65G0S#M3<1K.i4AtM8-GS< +^t48mJ'XPb!T8Gg!l4g9m=4a\(s"qUmAAN:i5Xsri21H(aT$u;?2SmZruZ<)dYkj_ +s+C+9T4S%Nn(fI!FY.,AjcG;bYKA\ +5HqM+s5K>m$U$=nk;OVt8c=^)5H*_j<;pU;r4`eW#63#',QJ1'bSpT+>l]=,3*ZAJ +$^^Yg>5=)n*c][WNVK>XINnf:W0KUas'YhF5T]X.#JG/m>NU(N5lNBO.qCC4&QfKO +MdBlDM9U@\<>W*.5A*4k0Djpf#ps0??@)pLXKXEOC +k5Z/*DUQX"\bMA+_3@Fq9Y*Y08J35_-)&G`p6"i#`ErD68+h\` +CIK(ZNlWrp-R0c*!6`tmm;(l<$70o<_bUdo +4gAe]JZYn!LQgoomRuF9[jNKjbc\Vn@pDba0#afr?L"o2o^8EQ"0Iita@/%sZ#5f0 +g!c0M\Xn[Yj`h.]#8?pj!qKtXXUM'-V*NR*''1?"P./V6(2Ai#.WUf?36LfDCJ#Tt +ErBcHr9Np$lR;d&.^5$Qgf+ku2]hB,4ZOE@CH['jHJkLeaPD:@HNj]C+6e5V/NVp. +]GOuP`_?2T#7A1oK_k*ClDOAT^Nu:Dj6<;!c5(hUU$T*eo[ckSIrMFSHhWbRm?Z`^LK;'tVs9-'W]S,!%QN'9l>&be#'=jS9&rpIDgj&e +"iLAD!;*^^^,9;[L!549&:G4^'aKUGbgU684]J]h;J>4he3X+NtJ/]0V!O=rC&fDC;OT,L&s7AGg ++Fj7g&*.XJ(*NVZ@fk]#^n_S\2+[^9/:ZCRB#?Lsce\_fSiIY+"B'_Q<+7&$r?u#7 +`7GIh[/GA;]o/rHa[PdXeq>ZE_2Mk'X1!#ar9>GYupr8j+pbZ7a7"@"M,6t\"5-XG$riLskr7CfF_!\<9!H\[!r:eEXn&(4m+HmmF +q(GLcal.0M_>j&V`G"!*o+;9/ch'V]p`BM96i@PpO4XW(ih)haqe(XJ;7AOEQ%8dH +oA^c2AVi+Pk6jJKOZ">@jWB)shq&Y5a?ffCHV6j-c,BN,XTU=m\J?b-+;$m,&O7pu +=g5QjeANTXO9d#!)!$`s?L.VVRRBt9&SasngJa5paXDDJ.i%Fud/GC'W;$mFJH(K( +,>K*XT*,=iBEWu9ZiM2Sm/jb[k8J8\N8glL`p*OdkH>!`]>n[.ZmXW+@=87-r!5Yq +`)n*=Z/V&RjF9\[KX3,li_4ZC;dTI1:OqqlJ4Zq`dOS)'-)ms[+M5@mq/ICaV3jpZ +&-Ja,hZEcf>?ZZVk0-K=W!.,hph8b-O+;0PUq6Wo%MhH_@QS@Q>Q*4*\rj,&_cplk +q5!B'P(,()Isb>2U5u/=Y?)1aWmq2RY+k-\nq3f+75?IEt +9BDe\>']eK$KQ[V!K[TVjkjDrqt'X3hjuIrfjeSX4B_CFgParL?M;Nmnh]kP%o04? +dC3Q#>a*O=!m4!>.8)*85WbBO#LJ?IZWGmT,(T98I9]>DH&RD]'9n`e@Oo+:o.+J(ajJ1#DVF^&R=&Y\)rl +b\to:N#KE%+Ynu_F<`o0^LiS**oO*qH0S[_mB= +OojQkOT3`[WrJD>AA`&+$P5>r/VTUSe,Dj*V8-QA)8;d\L!dFr!HHO<::Q"RrXYjM +0-^DA9`@IKrp]uVp4314j.R5B5ELiHiA26dO+o_?U%V,54+%2o^aej'R]8..]\&)b-o4IWYWad^0B]SOf0VZdZoAOE?qH2B-- +m0"c%J*b2Smtgkirf=YO5dp]d&qg2sd5mgnlqqi;.^!"'Li1,H/%j0tg@P`UU;j78 +-0>_OlLCgN!NLR$Z(;Lae\s,AKU%O91e]kJ;f;(hGM3<$kKio,1O^LC^m%WJ[q:Iq +*YFqE@/F`n!UTgmO#2\pqFKX2iK+WR`6@EpGu0:RJ6k5.BSC>`aJff6btGKR5+)JG +XV>LLZbZUVf_50hD(#I?ZH3g\7/k>X[W2BGcVb;(l\=[5UU:X6=]> +!G9&s;5@\9l59?J,0F.]fh-:dA\!iD4F7gl]pe1g9DR/6b29sj)._k*lDYmRfAB!, +)^o>dT"U0TEi=4=Q'>5E[St6CWOp^1.22<3^[S'fiK]hDpQ$#9mf`4eG>Q&"Pki@t +MEa.+o$8,p5J:%dg#\+`'^3[hnGgOq_#G^15%"6H1F9e^U?$q39"oXR_:NQRHh0eu +Kr*3FB3*h%>CXT!EQ1fo=0qj_#+pL"%L'i;1+n9BS.5l<5Z.UT!r/96E^D=V4m;Kh ++uHekLfms'UaU;$FE@0SU"TAGFG1Ad=jeou3SL>Nm8N^:!$6Yn-]3EX:Y0LAAr$Ee +g49?W:>esQlYrg"#c%G3g&`6%Jb-_UgAlIX)XKKLhgEAoIFQl:L)ftRjGsiL#Oo"E +*W+&t+TFSo)>G<75HALd;G*VW8,aSFJcDK4_@XG(g=sYhURNh(`MS%ho^5`!s5mb( +Gt\M*\j\tY7gUdI[/]gYlhjPn"[JY27ed-2PFfi;:QWT8\l#/I#gCU@nlPPTa*Y@, +4#pFBnAuR$dK#5DD&h5\0-/%EJCr:,hU>"kLYr1WJCpH:5(&M>A%Z-l,MEB!CTs@* +UYCoCs.7JCHZ2/crdDD*B`Ab>mG>-mEU03M/\k9(s1?Yk5R/2(AE;XVQpgp\9ZS!E +Z@tj8Hl/[[h$ZLH:YlIS0*-=:V#HE977d1`+fYD0Skjgf.?&P6r*t1)BHKip67fE9 +4=Z!C+3S"4oXBDLrEd#>MLUE:AT+nZ>!`/+r!&EgV\!U`"ZdsMW+n)e3N*,.EpS+Z +$B2,#1Z9+b+q.TKIP[%tDN'<7NcaAY_"E15m=0/S9[)B&#rN^I^n5s?>EKBGH+`Ue5ZP*lEG_cdTA_H@4g/J +%_>^`o9\8M._I9:H@L%e6h(VH,h>)G.R-(%G]p[Vr+,?nAC6*!hLu)T0gWJecaan< +HQedJJrfH7LH94K:)g/[:;4dNP4-5iEQV#5i41,;^iGrJqqm&RX^NP6%f]K&j3%Y>9^\ +qiCu9+tJF ++Dbg;.0.YK#;R_0a>Z'pGY%VaGQddr)mK:t`Q\D155>eD:WW<\)tEsVHk2?hAdK=P +hnD&Vrbj%P7jMUQEVY"KhtWft*KnkBJ(joJ!n.'l+R%fL)N[;1:Bj!*r9MEl_H+hIT5"/dEgjJfn`\AjdWGMmMaL +AcI*]B_`;S_,_6N\G/if4+MRO*Bl:BOlF97Hue_+bak&Lb__A][h8Y8iemLqT]IEu +CRW'=?8W\G:NglDNLb`qTcmrW8'Hr)1OQKTW!EBC2u!V$,bWr`,_j5nK. +s79h)I-c=p"9CmjhOR+/kXlECAjXXq8:!)kLEOA;_LqmYk!3)!Nr1!)2@%G=T5iQa +0!u8gD];&B+>O"m>6+0-E^r9cfNA^s0Y4B@5fPuircK?5gAd'0]((?2b+TaH:p"WF +`]1QOWn?N3Y'2;G\lJ(plC*gC/uktA0\"C8f.T29/@eh'%HQ=^._7c@G'CUi_*n*/ +WR@]B$D*g43Brf#r++*2.H\S`oa3B=?&n#QNY]>KTjI@ik?ZS?1\I!$q=#NumN0AB +c.(SS.^bQL<`73eb*5Da$5an86U@lOUsN#^YZ4TpQ'?>!j]Y0"eh_^>$N02tI2d8* +2&$c)aT$CIUF+Si;eW,Q"&/C`eqO6=;gqQY9Z`]L[PD_;B&'H5H-2]X68\0(g"`e! +B7BSEk)\p]q";OYIsA![DeI8nq*N'`YH581C,PDYJ%]%YO-e$SHEm*F+5!Y!4@8--'.O[K0f"<"aV1ESmV$WmPmXA"iPYHXopZbi^pmA6OSa$$#an%,E9;]EHcKJ,pbXj!UtTkReFMR,k`.0 +g&AH2Gh,_5ZiG1NOAu:&Ur,qC6i_**C9N9b5:qB/pco;,\?^CT5)V +b$I\C9.<4OV(^'#Pic)j)7C9E"8guhNq.'qqD[L12_b.K.=WoaW2'8%!O[3URM,LP +E]oo?ZR@%Ka'9.75Tu!b$"L8ng:*9WFe!d)9KhF^]p-`dB/ejT7k&*PIWg4WmiF"T +b;3_V!g&D7-j$QQ\bc/kIpK&QkN0k$^Jt']$`/>6;uXBV97HJOac@Mlr6IG4^4(.> +gIFjgm9O^TIao[BFa$>7guPY!khJ"->+a6GS'Yu1CMI@Z\u;'_J59a)6rb=,2$?o- +"[#DKLR^](Pdj];jHs'l#/5L_@UUH9.<_]O4ILWJB(cS5k9d!N:?I+,"oD:)4< +9I`.crdt/A$]sKMjV0uZ:QPI:r5n#&X5JV^B_d;V7sd5rO[!N/Y_NYrChCLr[f<\U +NW:mPg6.2LK>tCYX")5ABIgFlBgDIYCO[W#fBhGAcZROXFo_$93/cEPfG +qu`bi-iW!Zh7YYq[jm0?Omb'qgh&b.adb+\DAf)X*MOc$lBVK2!i2Xk#QH#fbtlsk +5V.jh-&Ml[T_PG`+*XR[+1'.b[T;mI"HQ[&-?7Z\63fC.j*H<'%Y;:4$Ns1?0L(\L +eCGJC2Z[n'>3Ej]&G&[Wfn=&UHcFkqlY2m\K)[h=6/H'A#g/\e.pBVn?) +>*AmI$(hnU!;mAuO#eTJh?4s9Q\I&STLB3I9ZdhEZ2#er45EE,:UQ(9gY"QTR.2uQm>*jO[oE&]3 +(bLFu-?Tc=-MBWMm;^I,gOn$(j2KsVB4n1[(3Pq;^N8kB'"UDXc9k4!>TIF +VRrfprR@BAl;8qhI$D2t97?IUot?io&+7R:or6q85#qHgF/>L8XSi"XlDp7Q?%%,Q +q#@\P=+9`*$>9J>raOPfcWC&/FSU]Q('!9UiZF^Bq!O],hmg5Xm3?0qn#LhRU&'VF +eITUMg_jCEUNc*6f@kY]oh1U1$c_j\qXnp@NO.>5;js/NVCn`T6Ta3FDo/\rMd59T +^kn'rPBrJ_9f`kW"9@XDF1iPWdj\[h-V\Fh!N6U7F\LKL +P?-A2V/<]LSS#tJER5$Y[F''r`:b>RFAebbe%]:O[:@>,^1?I2G+1Q/:$qNV3Ka?+ +VKGeiS5Mm*T^j1i`(.bn+`SpDm5)H=':i6ZcIh;^"q\ctJS>tgbVY9TrGPMhp"9:* +NC^5fUVe2C.q$nl`-ecn$ +A-%A#E"<>o-D2(*bQb52!%e/T*qjUWi7:0$V270=KqITO;'KEJcd&oHbY<3[$Su)H +Gr"alQ7)_(4TOl!,l_C:'`@P/3C*M'lMjsJp`E!k40T9Y6PhEmC'?B`8(2)0s+FSr +pL)bh./4*ZcR8K08JP$M8F\nVDjuQje)gm#X_IV.A0,rqgEgo%A9P#tC6k9I/Ok/p +:*if!o2T;bqB,\N%-(%bUOluT1n%Dam!gWUJA]0t,J]MR@Z4:c7/k$H63*B;ifXlQ +P:9>>p^agQ_Ou<*rk"!^JS5>F9c!CHq-WH;"SeTW!+',u7a.#$]!Fs>1@Tk!OdCVd +#[/-dg#!LOENo7!#q'r6fn='5\sat:9iLIL)N[2Ns*5]!_9[f@^_$N50-J8*!(_[? ++M+s4j*rNJ5H4[>s!*QreN*+1ZACqLjF>SZAGb8Xj:hPt7\H75&c_1$r/(Hq63+\= +5fiYKRXmra@$?&Ld4gO)^-JS;NAj/5TN,S=a/.bQUVc?0R[TnP-D[i9d+(nUl^,i^ +,E<5BGq2Z[$D1!-Ssq0XBqaauI0FO0Api\Wp"iR2lUMiM30O%/6[A,Bb'e1=o1O-b +D^?:)#,rCYe/;!KU]#mjG8D;8;2Yn5"Lu.6E`=1])bMMg$2C-$X3>ce(V/-3q:=X> +q1iab&:=P%3T9i4+=l>Ra)KX,A+(rLZ/lJ,*LB+.anZkY0Yo?`(DYeGVQ3HdXL^'nk0EIb'7k9b +]%.q/Y<$?'\'MF![sm/'Y%CR;(K[h-@njZlY%L^acCZ'[crlSm$cLYl&-=*hHn'tS +.41^s%$lMG,+p6XCCTT@kVdL!.ssYj,`M*sK+&qHAT!8=!.Z1_RUia$Y++-Z(.$k< +&`Ak'h;/X)#E\??Bi%^#0=tob6eO]-DkGLd9l"=]r9BT4W]@%p8W6=&A!5K#1bpj%PMb4R@KZHB1+M7V3)^GPqIZt"^d21oJ +*Ta8UG\$.O`BPjLZ2BBc2\>fZFk-//f)sV.!Q]b(F$0^K1-s:3UA[lR#&+$L7fZ-^ +FFS;ZF_(B!HEnQY`CqZ@!(=W^CcAWt(YLV#P:lj@j:@pCJ"h!-dBOPW^_+pZr/VbI +[/=,.OT2+X9_P"'r_Ibb?l69)lP>[[idW4RZHk^W"\0r\s&fn-A"b&G]i9F0kg`;Dsq#9bo>$XDP?.RVW22_o-bfH#B[uk7IN] +&oq=Z8HI6Ii3`P>nNU.[+T$ZX(*FLb56)4]AcItj+2'u,D,7[r!:YKTfbSeQC&]DO +P))\sJPSYYD%#)Xf_eu`IN[n7Utk/Ij?Mbc9RE361N(.$Vf4#IpQ;=9siI +dAMXOO1/^qLX6sa<2bNEJ(uQnd>Us6rn5-f!:>8dp:jZVEbbe1[1N7S+%N@3Q4YbE +h`/^)oegEumCi17nUE\`lSJNQKDF&GCd:&f`IEM[\B-_c?lET\`u=?&7[p^2Y%i!U +OoO7k-Ei`se(09G)^C(H'?1d9`\i)o)im&2hX2tB.%Gd5U@?$AkpqZVSrc`94q$gubQGXF9pO%W3t +:n^ktB13=*+67>iaYfFI=Y'(0eToHj%.?5HY_J%b+od2m,IKOog:Tt)DQ'/tZRAU4 +jfC&>D^qu-aKsA1=R,IZom&GR_pLjU-.Gm!FeG)4>t$p9TMQ"M#;&3tJ)6L_Zhk+p +I&urnc]ihJ4<=O:Z?"XuDcH]$b)/tJYP@1T(&rNmid]6QIX%af2c#]("FT](anP6T +qUVdfn(ghiFc92k!q;D*\j^6 +S'f?7r5&:rCqM&Tef5`n"GapH6'6X^kh[V)p$s-aSBO12V4V\kk8F0,HAl`DJ/C`S +f-u@qItU:e<==Z`C&&E93!(X#kniEA2Z05W`Y8L1(dG@hgI*AQf?#,A^T4],6ibUu +aTD6LTVoMRF5:4_@6"Loo0:n`$B/k7OU*'X2R=-fiNki'Z^_3;rucgY:-iV]2DlYI +9XGGj)1hil!/LX=!W\sCG^s^//kg+g8p0StG$X9\0L&u0hEE%MS;VO67b\O6[b61i +aF=Do8tQ7R2T/:6,h`/%aaj;?YX_AnpqlKFiSC(Js"+3!nrEobV"f/GRpF`<4I;>ok'@gCNFjF+II)LR906kBRRS+s7?g5MZKns*'5e$OFj`6jbL' +/)+[Qc-qeenGd%'3U)kUr7Ch<>b))u8$>A6cnu.RZSZ&`qgWl!:o4C=rn$m'C-h2h +o,em4s726's6.CDm!mjL-Gsf)EJ0&D5LO3_j+-smRO5YT_5V"Xd'_9oIN8g0ntrUK +)saB'AIGrh_lf7Pr2Ulp<'E$6o\=QIbDQOB*[psOnUb]9QLiqE);i2inY;9O5J">r +LNf$^f86$t\:O2L6,n6ZbdWecCB<](.s5#eS_Qfm/>E^Go4I:q,HD2WjZ1=)b#D'& +8t"hI*(sk'XdX:5U-.b?^o"L=UGZ#P-8/Ph:]);B;gpXdX3Yp,b->kqg,J+qC3.UA +9M7Odej+K`<31dWk[E=%SF_7kn(BtOjf,n:pD//>-H6;bjSef2U-CeHo^R"!s*CpO +NI\0^r7>2%F7n^7Xo/*VlHcW7q!=:2cX*^PkP5jB3+)?j1ZcB"](B'bQ2]iqUAo:1 +dJ%Q4roPe$-j>Wq5RP02<-D]ain:`DO3Sie)^+Oc#huQ`_^F),"HW\f0eg?ZjA/.@!6CcDcnpM8;#e]n-j&CS +GoWX\l2lKh!?EFLWKUmLV3_;5"rRI$@*Tmm;ZN2oFCb+Ro>V8JcB'qKY5ICFC0.Y"=X7D.KTD]]Zr4:d55#;ni)VMXlFeuMX/W0S9gLM;!U#W +o]\:=oX,8o.rK#m)0h(bWWSimRtB2ba&bKs>'Y;"o];qI2\&_m]cm,u./<82pojQe +rm-4B5CGNcB+G`,E.@,5mje>9Xj$5RUV=!gnSTi>ocWip48"PeHEa$Q[>f0.:ccoP +#QHm/R"drM=I`+oT4fekX/4g`\]"MV(*hU""WOEPS+>-- +Xr>G[6Wn1Qdj?mZZEbom!iHn79rH +S1Xa4KlT!O\cVG0$i[p;p8Y03"%e7sZ0HtJ5;ZOqs2(!iLn3:SN1DH#K +<6ZS/.ms@;%hJcHF9Js_BEfe?ZD:N]Bh`"k=jSq#D^>u\RY"[!/<\8GgOW%BYUk:& +q/P(@9;u*7fe8>F8V$;DF)Y7@)\@Am:uuWQ.0015[r]qg3#V`8qSE(2_k9gj-m\dn +O.pVW<0,`3#J_h]c@<.#o7-?r'`[+kFRbF3r`j"V=0ZOdnh[e84h)eDq=f'^d/IBI +JW0;h+4-.,FgV0?$\80dcg5`VA4AgeofkOM$NU3Bctd*7)`@;Y#t_.f8b@DfNGV)g=q14%pppgpZkFcEVn9+sKh% +g*bo$a`p=Qpm9%i(I\gd;W/^hNTI]9qN;G]XO-@CtpkJPc=o`U&HJBs- +3REf_jV5c=!A_DqQuJim3^ri9*^5%F(GY=;cM;al4tc@iJ=b/T*0C(bTP<9?39P4M +LPJ,.4Nmu]$UN'ILq>am,:l9:2"M=$>Za*)9#%6i$:r;:LFd^@>g;NB+e5Y;ptJ7W +JMM-ETGr[ZJB4icG6)4W"R?$I%Y[HgbeBXMhN9uT>1:Y]kO/&] +-d+2GB,PHg%Q?F<36ncUf6Dp@anDYPh:a24r6b!8>(4E:"I9"_H,H.h_dQ'S/cLY) +''50K(S"^P]6#1YN?cY#hoP`XD7SQ94825mo7(d1mh_$!rqc-t.%#M[E9WGO/,]D6 +\_fDBI;LY1c4oqdLjIp4lMh*8WE\H55s`e$D/Nl!dg]l<5/WbS"9(6D;PnKWK!p1b +>\f_`%EuUWB"3R%ofj"k@jL?=(b8=69a,8\pI=4nHOXPhToAZ/WI_?30jTCdBPZJQ +[Y!6Jq2a5H(F%?JF#dSh_YjCM"[>4Spu16:Im6m(Y7%1.03.!`5c_'%^?Y!Q.j4sX +HaERTf;nmnV>AZmgqU,!\4$<(TGlBEVKE;2m]4Q4]j[[[=Kd +VJ`/cWoS/b/>7eLBMW?r-adg,PRd?B!R)EBiH*l.739N/^l5FE>2)M;WnZNjf%>3t +Pl5!=W;QT=ka#HIJ-au!gP\hA1#l1Ed+J]`$>Lk!0U#1#^qs&0!5ce1 +:BU/8i'sAt7)39ECGF[?r')"^_"*hEr/(+R)=ramZ&J_Qnflff6f_#qFp+uqUM\rh +eFM\`)Yo0d/_U,I=J`D)dI9XPK_k`+qHolgJ"p>d,(T^$i-u1@r,:/-_#I.Knip7Y +\Bb+?Q^IP4QFV3u]]=bbP=YG_ofiH&a\[2is)ADh-SJI3s-!^2Y>Q#/URL'`RW,,) +q+nRjkR8PTQihW+([^L@#U&\.^b]HQs1e^+It0[(Cfgs#B$$[;mJhm=PXN;'r%B5m +:Qt<5a<0^IYZ2&0pDHD+K95fA7k:H@!:W3U![`Y'Dl[+95<]m>p-/OoJo2\?ptn'L +#63FJd=Fh`"nKE$dtk39j8qV104nliU<1`97H_[[I4O`CU9eW*bEE(lAO(`^m7S>n\9!j%deaZ!C6Vt/4PfI +N3ar5r#`#84I[a3D;,#E3q,?I,/D$)L*SeNRr`HbbrK@4cA/>K1HAf*7"+OT4L>Lg +dCbO3.JWQ2P0[Jb6b>V"s)5!QqUV[In),hVc'=p7%]oZrQ0M-uXn_\1o"RCrqU)kE +5;:&*LroW\_9I.Yb>`rg8`nAm4&1bMV!iBNQhg<@ha>l:MW!`$o\ +q]E1@6Q\0NhDp0O6937g%.V@B\D[D752Pf&-@kgiY&5#3J8G7LEDWMW@$*+Go09oS +FF7j;%IJX+!bhUpFg3%jB`CHu&-)D9!FYo2:D35Ui=e?ZRR+/ch5Ng*oE7d;\RbI4 +A627qm:=r^<;rikchJRsrt#5$0"V%S%C]+rm1Sp'bq(1?Vrp9Iro]u5S!BN0 +r3%'Cf-o8WBE?UW#$mG7^p0=&f`*.C?a,2WriboX.K5ZP*(G9=]Ah5_5QW&#%)OCk +VZHU+q`fdr&c\%.GKGCcEI9&q#5g,BkB"5_9R4S*?HKQUKO3J$-TMIRQ@?3Ah_.A# +p_gT[s&h1/r6tY+E3fD&,%+2G"RM.@(8>7P!MT-W9bT^1gaBp21T1IJ?bV@A!56G^ +`BRZ1#aiTl/HG-e*!'5b6bPi1KGM?]bU:HIiIg'kpHLsQZVf?+W:+X[$oAiV)@?86 +3n#e+1>7EZ&+r/ul*;Jms!FqH.B)Dt%IB=)dt2)I54?M'67X*N<^/`SH!u3e)`O"/ +ogJ>ZmO\4NrM;`(Yk/`mQ2L?tP2DlarU83H_!dmHs6V&-5C]oua*6Wpn"uUnlt9f- +1S-O&:Q@2*DIqZQAaF2?VUeWDElq]Z)05h5^&[U'/Z#N`9R@N'[>NpK`sf&qM/6^Q +rtDf!,`@do1K09lA-4^*VP4M[@2?afa)oqp3,0>hIo@q1@PLP-b1]D^"OqNTj4GL7 +Uld\OTIs"q^O1S.O.13>Ec9fQ+3FQKl24?&(OpV52!ocJs*86'ibeVRS#\c/7c:\s +J%\bZa\1_;^KC%#o2U9';tYppeK6ucnlLmTpu$_/n)%:?N>mejI(9*s;WYm^daP1Q +8&FB^H-/ob=+Lp2Nh*O90eX\Kc7fY,j+J_DY(%T_]/2Z2rOm +q]Flpq]Ab+7K"&#cQ]QL&c[o/9?Ws7!(?hdS,^UkT?*W9npkYP`!,[gK4t22N,DK$ +b9l6i&-4SDcIn%,J-_c,T7/-Y+*uiUJGDe,58.c6q+j>&%!m,j'AfI,0fhW]$[NTu +/V!VC?h1Z,?DWEA[/VB0ejqd\It.<48!cShXoHe@QUW8t.&ZJB4>kq%j.G`?6Nqj"fR?jSoL@aF?ubO?p5fPEH1o/HGHBkNV8?L4W4@sFH$l"A&;1U`W'8jqW$ND%jicu +S69i\:Z^[_ARE!EptL!-s6sR@cQ>GkbC95.fcQigps[noi6T`8rSa`]h`Y$4b6JE) +I!>".hSad`lMjGqX$4N`*V7YZk$9"O_`V\-L5K'-;]on%P_k7pYK`gb!fTSC/V"QE +k=VUq%E#r@)-Y@BD*n5oXCk3b0W#bVn-K[kg\^!75Xd1`o+oe%b9RA#G +j\q@`l:<#g5!ARtO*WgOoAtDMGA^l=E)5?Z:?DH9l+DL0=-WFYCM;grq#Br0_>j<+ +XYl`c=o$_i(&rT^m$#Vhs*VA/7)5G@[ +/:TK]I)!;c<_MNt?.FOIEE-RphW5dQ;Jj0G+G')4N5"p\ur(eLZ3sDeO!j7L_ +0L([anUG]iJ0Q3(s,aO?p`JQ=*,>^K$32=QU5G8HJrY@>3X)gCT+)_9.qDKS7n0e&P*rd+ATj)Fa>6#l[^ur.Fp&HT=GTRh3d6YG_?6USB_/!dZqCaGN6Ks-M>k +ru_4^m:i6T:]#XOP7=MEX)[c%-/SL%#t'0%Zm5&2uu*FY&6Os.e@40cl^3DbN^SPE7?7`JY=A!CX7;FCe6'+@;FfGj2?@ +&r8dKSVXMF"UNeNK/REDhl?#t$Jbo;f,t:t40qt=ZYots('#P/pn,VL988'Kb[L.d +!89:kMD1$r/;bddM@4n_[mo<'o$MUR7ZPg1n`nN8`c2Z=b$)F^3ua>X2iB>gk5NS +-<^7k\<-LcTEb>/An#jf?uUan^Xh2`d\4&cnuaB%B-,k_ZAT6\q?5r0+n<EEk +Y5e"tkl6_D1G(k<3>`%](')Q#(i:FXkO9nRZpR^kr-quT9WHg>c3N);kQP=Trrb.g +cpqL>#Eer3Z7j9@h2:'IDEfjok7[fIrTN75p`JS#)&*(\r_K.$6i7Jca,"I0PA*6E +o=q0ta('TCJ'F?W2'PHfn)G#[&+4*LgtI9+5P;Y"lTkHbcH\K?s3C=["CQ!.q%*Eh +D[fFU(IlW0c\k_f_enCYD;rra<(?0_]Rnkd(U?s>`VSbODtM3G\p)="GGMW +UPS/*qc#sI'5N@;8<80SlbD'H+3]e6$%q6kTWF,7d2%k;NQ>O#da? +5AC<8%3U/f=G%Mg+TH4W*:Q2"!#>[_DAKb/(*F:l1h8TH02K[9Y+A03BHMmlRFjDT +Z$e+0,;l_8IS<1W-6k[Qn7Gl'bPoQQTCO6,"6:qKL]Hp/!oM!'AE5D7K&T#Tru#1e +]WZIohm+)8?49F[inYaa!"V^G$*ZK>`"B6?Io&;6I7F*\,3a$eoA1m6Dk%@#h\R(0 +HP-U?!9aJ,!iEl0aac'n?^k+jr/\q[ob[Sq2$kE-:^TJdY7Zm4^kse!ToXgQ;]l&] +i(*R*]R>Fh'Lr)bU*X=E/RocqP&42V3])5N4"7o)2$1&25qqN9m?o[HOPP +m+ZJ'^@pFJp!:mL^V%>ZXW,EsITu@:mk=P%WFF64+.k1_bF.q94]h/<(WuaII-Eke +0DkWfAUcmL$NC(EK6]\oKDNkJlFfXON>V8]/bdAL]R.9^Nq8Z[l`#+TjXm-A\WiLR +)(8+tTX7B,!P3[6!gHNi$HcAnoWFtkX/Y;DC17i$=\DK?;pu3*9HuFJ80o1AEHY*Q +Sf+QO5uXG&L9loGf259Y_qi*6nekB.e<(c1]+rgo%dIM^q23pH.q>]8.=5R9a&TIEF$KqOT]<^F[=/u7>U$?RZ +Y4qsCa32=!02Ios4&PWPW8Kj@aXuYtrS!NXMRB^ONS]5GQ5uIegZm="Mg,aK\RK?, +IRbWk"S.%'!cSKss2fbX'DlCW6/G5&\'1*pXs2Pg/ +ZlG0m!oSR&HMBloTTkW^JHVdgBJYd#?i\=+gFknjr-N_?m6prsr[5ZLpg:^mYO(;L +qK^0^_a5o(,]H`&X2P8P#[^1fM>U(/.;7URB_d/S?VJXmXIo9[41(2=r(i3"idWBU +M>ufUJGB/U*C8BIL!flIkJ`Et94&HrhZ%Z!r1WZdq2]Af*s_=)s*JQk[oMLp#Q]1# ++2MkmElAdMdl84[T+&i>_JRcL2M_?ZjYu6"c<8R97,)?!*<=01.bL +M+>kAJJ=b#0A'lh`p@qo9bd=E'+qVN9>BtSNqrnY#M[VXa"KsRpTtM-6h*t757dkV +6p>]jT,(H(=r!)`qd66jo%,@[FQ8@2#,>4'], +;i^!SB?RYT3ob+LosDqg62n1/5V''#e?V.]"nOC$V0aH3@/`;t.BjL!5m6Nao!/"9 +`;.@O7/2*Qn-S!fO%mRmqdTL%E<1#$+l&\$"#pH0M_T;fblNh;-11Ve4Pp\6/CWU!g."<:ZSAMgkRh +i@c9)q!cDB5IIf/cj]Um!@*VnBcDfZj +gKO4Beh`I>W'DNfaIt-nb06ON'VtsMaT'uLoG!+g!1mrbIn!ll2,Q_,$NU0uD.9.D +BOW=AbSZ6UWFt-T&C\t&4=nXuV?0IPE?TBhc9/Of\d/-4`CS99$e2YH0L*'1pGXI^ +s8R)Ii6rL"_>dU$ir;Y%&>TJSG87"Ol<>c&Irbegs.>X>s$&PKouEuRJ,O'N#:Bnn +IolXH2]$r=8EoHPb?gPeIO\\!OMC:&8(hl\eWOZIC2A<3E201PP@7[TWi$>,M'2g> +/t*Mk@I(?\d%UM2$BRObM1@63!I.*<4u!#(ck#7\(Bq&@C&_hi&&j#+m=4SDMeAt+ +n.$X5&;3PXkm4e23C"a_Khhg5#NB:\T-\t_T9*ma,fRN<43*HQ5:qBEJ)pZ+4bW_D +h?O#GPnN)+XF8h&;W<0^NW=Z2.j\:S'!kbN6K\b%e>"5LY^jfEA/Ff$aF@TEA![/b +j<+8kOBDjlan@q^o0F`jCgdp1[^([t2#sCUe"E93A/FGGMLU`&@LJOX+@,!`f"T7u +.?VBo/0MII6MM'Om$R..S]Jg^\^s!-ne;5jN,!73n1bR^BId?)Y0:^;N.J$2!" +Ckgq6?kI^E4L^nLT<:YUYspbU?PXmgOT4ia*NcASpA?21*O0:)gAf!4n:1;YLWo7[ +p-36lbQ\@o!SNQ5=Gd&8)>S%_>h+'4M?"r(UZOfE(j.sAOcNZGpm5J*3Gei5AJ]Z_ +@_\g$jHlQ;J$]G[O3E[;62Ws2g,T7"`po%MOY&A_*g$D5uci#A)inV/Z$t:c$1B?aKu#C&_ZGHU9i&.C`XM"/sq7 +EjPZShf+GP62nt*':=Gtmt@&r^g%^`fbT`Epr'*7n=WjhTg=;q-4"B"guOOBCDDI$ +km25I:rQ11JaMJ!<7RoFhk9F,nqRp0arf]*mTLMs-cK5Dd&D"u]`:n"Sa[RU9hl`, +s$u-+9)L$Cb:$m5Krr5%>o9ng->e`80)![XmHrB*\b#,)Tjl/qDZMXlP_mN/Ac*'PE!noHK'eg`mOEs0'bt&qLi6ZH2Gqg&9X>Vp +s4J`6\d>JB,["eZ&F'E;RF+JRfKb-/W#1RU--k?$SpSp]k5>YP)*@LhPkjbFZN'ss +Gj`?>s(@`*8@JSD3tPR$I^SI)Mq.&5i'M5FMG5i=EWh1TU:@#P&H+K=!H-5Et[N.-@_8s.q&J1L9C3'Zfj[Pka,i +0#kdNZ#WAe(;u];^'?KJ>oE^7hrZC@'Vr^_P5I.s7 +JDqXnr_MDiP8X@`aZoQM]SE9;b#<6AOTQ]Hc;4#/C$H?lN.Nn]7MpD'l(WT4n<_iuA'[Y8ZH$'KeV_c%:[ccuRB#'EQPa5RIM<$_VL$ZT7)^MZu9' +iGS-L<;n\QhRTUL_YeNU/4@:lG*)`?'GEqJ0H9:H21MhD;IDQ43TY1Ko#_6e*cuf[ +Ne#>:HM/,kPbWBT.@Y=cbdq!@gp23dI)4PAnctJ4ZDCsPSl"b0E6Gsdli*iA4T&R' +h?,gAl?_@%1SZR*[cQA(lLZQc7_O"[<(<=Nl+L/@ag*Mm?8,d&(gI'qQssf(%j?K, +INa@i,Qq!OK\cbZZu;RXB!00Lpj[(ml`R:._2[X6H_5`["s_dc'6!CJ[eff(rS/[' +M<4l0X[*6fOUGRfZfaXTIh%QiH\;p`(.Hpu'5WR4JcD3kr$aiP/7?E@Mg;Jt!^RSe +%KbY1in+=jY7HP%!HJ+6'EF2H!3kc%9-Jldhu^L@,''N9ga[n'J\S#l09I-fjWh.' +JICO_%uWS3FOA-6m"e^M+q35q,e$FuF +=NuZ'5t:pN"9]Jo=\+,'\Ng01/#8mC<4J$I'N8LHes(uu?-YFXa>hjGh.*0#o.b_M +:&T);lcmt"j;tYQgSpc/e[mfr +[F3I8<`cb"

iME]n.LY@@6+EI02Bs3Y5"Z6b/6(H"p'RfuDf[[7po.(Pl9\Vj(;6&#+Aj,+oVp(Jk22A[oi(c#t6! +7h,J)rWE(Lr##E\9-]dbT+lc38];bire1^jh1?!WJO:&XG[D5Y(g@rrDj\ +1#;F-r&:T$+QJR%!$B(%mM2aKpdat40PQIgYK`_r+?-3YmN5co,B/`/"-/j>t6XjV/*Ej60jI.+uE94sdg:=[FZ) +1W[tC3S4CpL^QHl!;uRVC?&0ErTLU),6*L^jok_=5gpr0'9U<);#Oq/DUOU@5CrT: +%G2cs+SZWLPMgrG;+gOnPMN2\!'Xe_LAuq'Pe\@tD(D0^QYgbo8nZskS%YY&I'TmR +;Lh!Zp0d.YTPVn,RIc@!!eRr_&',:-KK)BS6:c1M"c.s+[5CF +g5#Gfm`)r58I#9F/)Oju,mXHCV@@);!.P:LaZKSJ +;Y)X;U95X^59pa4+X-b^!@n3GHOWlf!>!=?lY&^!$\-[KRB`+FF;5hdXhQa!nuhLO +pWY78Ap`,#qf?)S0'i0DW7Cp]oBDlPbl$IOS:;dY0DtZehL?SP5ktAq\]hhET(;$' +XB5-pcd,Kb"K>#uf'1Je6aG4d)d1!^b/0tD$HNo%Q(hldi8C4nplE@f<2l*CK7S>7 +EuEP_P[cH0?-Wk]UdthH\e/KS;h`_C&Vr.F.]+Pt`_37%%V(sJRM@Q$bGf!2N)RF> +]gh9Y5O/K/s0je8s6na]qXff4J)-=^t0GGD]T.!S,_TH +ge[C1pYhZ'J%I<(c'qX]FWKd\ql$F$1*;oZ^F,ImV`3Y7D;fC2_Wh'4:rcI\djf5% +l@Grmb)1=)'cVH5"j2^3J3R'@=Z(m<"f'%7";g,5J/eTZ3mbr-](=D-.s1E?JG.)n +5L"\PC\[AdPL044ne;"t7%d7B>6&gI0aP/k.E+SpaGUbJfVdVXr!<;h65&urRo&2o +\a1F,r+SK[5AC!d"TO;X]cEXB/fsMS"TO/Tg&Wo.T*Q;8K_LVLR%<;k,2EWQpY"LG?RO!??$lBI"#G+GVnLDnQ ++)%hX(E`eMUSD7))(%Sj'N!kOQCGt26/^qB&Ko,g.PVIlYq:3@$X(#U9e>-fdZtG+ +5_JgU,';qt0(ZZ9I-snIV[NmXH,`K`ipaE\U_^;TA/#mj6N(kNm3[D!5o2`h8F55" +,*Q3"i,U5 +>Yfs$#lA7(61*,GD=B:qD41_h9Esg\!qh``r^.$CacDI1C%roU97c]dkSj3uq$Hs4 +r%A0ODt0*0oulM"AYADk3G:p]$j7?M/Kimc'Q+Jm?0B>/UKN +7sI+iI,Y2Mi'44C"U-[_1a[+WMl&k^>c8GE[=^O0QrZ#pC#V14*4pc]Yts\#ri8"l +(6Ggihd&(o$!BM"C%;E%>C-'88hOMDaJRr!p)Rn1;^6I",qcmHUDN`bZ@KJ:A1\>H +j:Rk4K(]caa6gNB-YKodkZD6kmEq18-C-cuC!j7KF+/9TpK';tHfJZ14*P:bG]sXj +*hqZo4Gr'hi.(0-pWe-cY)Ki-96pIQitm'@+&>`un5:&[e;7f"4qVRB/^p%\R4-3C +0nKAYs2G#P6jfU3AtY,;o-mlb_mP0g0;h.;cmccO"pXRH3ZeeCh,Hqi(/^QZ)7+-o +Q:&o;6&[CCesqQ$Vi83\OZLqnmR'/%A\KiirGl,b*tKOoIr^iDq#B_kk\U"J+"mKZ +\\)j0]\j.p6-h+!n=TID8$fsX+S4'?ko\]Kn]pN9J%-fd2oh:=*h]+X:-CAM\2]Xt +`h.7W/RqPB2`6[5BNo/L>GA9&Y*?-TPcsJ=YNmTDO1N7E76QM@AHa%E*t8c.MZl\^ +38>t`p`%ojBLZ53)AZuQ(>tea3;h1JLT?h=VZ?5t;;8"%mf3%R8j#_6X'=TI'G9ng +"^"q3TQhZB3#$O[Mhhb&efZ&pp5&sgPEc"Hra`m,\LCkY#QAKP,4LX0Io+H%;L^4+ +YDl0[rrYE9s5LeH^`V*Y832iO!Q'+RGlScjd,-)jB6Ak!^PpUE7tcM$8tR&F^dt#ep/f(]PeIo[U8-CLYB; +cNO9u/NgBHG9ANB!6ZJp[g_bU*,=jN>%D'R/E/(;\Oo@TE`Cd`B)t8H"[#*?-%UQu +M70/UCbi1olENn9-CIRU1_"HL.Q"BKcrUY(pD"PA$]P6WkX84kYmdnbi[nsLn7'dc +Cr8BI=mWLfJc?9n'7gO9^^Jq<]]$-F@?]EI&tA\Hp^cZn3\?t3T9):BQRtCoRhkL# +6_=bYYmL@*HSGB0f\N*P4^CLp!XAO[a`RT*,8d]d`.%gcf6n]/csILqeW!!:+o'+= +8+6b#)F;^6=S$XEEB;_Pr1EQ19dZ\:W8Yd'"sRV#,`I%KkHUJcFL&jkBlp3<+Wm42]tXV)q#l>p1q9B+UF`fF\lG`!=7e+N-k& +p+U\\KXWaos4\4bh]1S#p]],14<<.tNB2>uEO/"LYk!0RNlut2Dpt$a!W6fqLe#Jf +B1IHj!<3'X)@,!>`[LnWFEe_8\L&UEJ<-]nI=,hF!'LR3!.R=ac`kW'.)l-Rd\'#M +[OEEoMPrlCd7=Dd&t*hK[^^U0]Z&J-2ZWmHSm;-Mm,DZ%k5O_o_I)31i6C"shS(N' +UPiebrkBQ#_sr3tU]:rO6TX_Y`U%fpB)M<)o=%4,^Xu+@2b@:u;\t1e>8gXkq2D<' +9N(dI;@EXPD4!rG0j)6kTqi;4n=QKVRS;j_2Ue$\=m%T2M\s1)N5,cM]UF_[B9$k? +:2QfB!XSh8PTXi):iflV/"ZjrcDUBXW8i$Mfl$)+@Ho:#l\,Y`s$%JsIJZ"qdke(T +hOP/Ss6_XG"AJD/2>fS'LZ"4;rrlaoRJYOrln9I'q#%k5O3XZ:F"6iY2lF<34mSqs +e.6b$O)C[EN&"-3dVl@$*RLXDo]Gu((R](1L(qgWb#Ys;Y%]Inf2f=$e0X#),;3#^ +(Z?p<"EU?*g_(h#f=18ZD1#hTceKtRF9rQWH\=Y5!e5Ed(e=8No)G_BJ->f7qd8bt +R7euOFGktZ!<::qBN>4;5eJ)d+TrUs7N_hZ]0sab6QSe!58j$E)L`=gLZ"e2J4oZ5 +#!N%e#?uHRJ&6[@rib9F0)ioe%o:X%IuOUCrY+jT+SaR]8T=/P*pOLMZjZ_6&c]II +G[LQ*s.fu)(=6;b5kDb)@Qc+WreUL&nPK8_p^\Q#5bndD9E[uW+#Ws`n5%u7:kJ]V +,t\$tkQZp"qiQF/BX3q]K?r9H39Ut[bgMSI$5O1qb!t1MGW4b6a*imPqfLI4F@lFS +WQup]=/o%2,^BA5I7TI;F=M#q[oQ:"NGL\HW]#^s49YeAF2g-iA2AA8Z`C +\,\qo7!Q1&hXH6XO/Mr4+kem=7J^F9^`PtKIguF]YlL=a8C)0OX13e1>d>KF\!tjq +=jku+gkdSTYd^MAGD%;\KW-tn?W]ugQ_W(!XU$;+IffXE@r8QI*?`<#=PIr)FZS#7 +*Gh2QVV``Lnm]',c"bAn$XYaW%isq]k"cQZ^adTGk6'F4K(&6O[+O'k+i;Zhr +q)3^+L;.1fYQD0fU]BclanLJMHQo;5,1>:UdE[ON9120P!+A(-5']H_n4aKYp5/L%tnF8Ip:ZY7-FOKk,BB>Qa2o(a=H[^KWA_)U&'@EkF#u/-PHd<( +\CndWlf/rm!WQ52r\+6/Nd3iP\DUFIbl@XD3IeXs)rglnn'?^_T;2JWim7R+T3TJ6 +qrtK&gqrjR+m-s0W1T#IO*R[^6];ZfX?A[\C),jRUoY8AVO/\[AXL:8ri7dR+U%kn +.=`n50pKu5Atl-;jrB+c539n]I#Fu^E[nAPMQL;^DP0N-Ydok+V22CaKUQBqD<%oe +gUYg?.9\c[VMfac7m5s-q8jKHMlk2^p9WViJar7ZeedLJs)TXT]-$*_qnrQos0k3Z +(4bA97g?fgbJ-(;H6hPB9<"Q=Sbh3r[(kCbo(ifp0-=U"BEs.hh.+[`K'C;qft2Cu +2YH4BgQkq[((XCr!Vgl'Y&BTe\!6$aQ>V6IDY\UTU7bjjfN3o65]Nkrb5V6I +fEDEO\-iT#l0/nG]=kQOrlMK0j(4iD[^Ht%r5ie_Ef*Qrs1nYc2BKZ+n@u_rVs4km +PX:i=+MrU^K#B&7C\Y(TOr+G"L47!h.1Z?rK3^fDLQM#?Vj.ej#E]]CRK(m7!2TC> +-1\7"PFjt@Kn!q?Lupp)':.R+!NH!%%K@'H/<].F_?/@Hs$=d)G7P(p"qaH.X:haf +LdMLu!*B4>?g0j/!&*hk@MmFu#Pd=[5dAKXFr5lB^"B1qRtg^UrFFc68Rgs?Ri]=/ +gs61u]OR%?(ucC_>dK`7du+4mG)ORQ7<(Ktoc5qo3:aP7Jc#ZMW6RUYK]&JY^`Pb9 +90gV,+Rlo`l[u!D$rCQVq +:YR0O%d@S\$qi?k(XG.c6!N+ZF5@8^s,LJ%-@[=T=1E!`UiLBAYr>RpJ#%I!XE8A[ +!\OK,'a9F[fEDDr!_C+&'R'RK%2._L!rd*I#e'M^RsaFofn>iU2[.6G2[@Q3O,4)j +!9$/I!.[9_kQ1_.K;A-@!\tDfpM^R6T!=VXPM\8@6oCT&!=aMaq[*0f[`YhL4Q;$] +^FJBG#":Y>&bL!;3pMu)U>@9Vh>m;];#Y=:e`S(jOok"qPdIl-F+.W(dqm&CLT*bFFlP@M+#?+s^:'#JZF!:OTCgcVi +;:@$D?P[3aO:i*c!Zkr-1_dY*5VYNG'aQYuV)#DlPTbZfa^R6l1#*-ch]aPSKF0B1 +U+;WFl_qqueFZ4F[X^qR!,*=,$/3[9m$CO-<`55>tElaTD[lW"oij)pWEfJ5.roRK6+#1T1XIjGj;IBVn]Gdp$p;. +HcK9%_?g.QL)3PX093F$)=*W'Wg<>#=*2O7[E8h\A48)Hn6Fj"?e85j^0d!e:f/oK +]a=kA8SRVH(=8`$^q@DP7 +5ZJ`d7tMfa57.6e?ifsROgROZbQmpl_A9ol$](jC:GN"DCu\rtDBEo@f@X2gJ:B;h ++%38X&cU7q5N+g5rb;Alpg990s26@j8>?ll_LB-GFJ\t(pl@!lLA5+.%ET8,Q/YC+KPi +JV!_1OFmsi`P?u8Rd\Z2JH$\(&GR?OLiEbE!=OE/+Q>fMO.Z#):lc0@rEcNad/bl, +l%Bh3OGD`iSMjj +d7p2\ngAkbC/k!Pr$Po;0H\"D"@!V5q%??#f9$*],2g4^J5>dO])s7,G"5&"H[B16 +H[]&:#-`WlSp[bm_>[o'RVNlYJ2)>>MGTs,MAlI5-:_9Pa4k5]s0mrq&cPQrgBmnX +!f^-mL)F>=L49rRJ'=T'Z,pKV=j/(LRO.JN:SVkC>JR1+3+`oa!#pIt +]O5qWJmCVI!Z(k(M@!tqPLP+0s#'_0pjWt1&V_lfbjblF+IB]Sre#%@,1>RAidZ@P +KAqAj?a2m'0#0F=#qQ/[X%I%E'\QJ1a.Se6r!E;7qGNqW*j@$mrXfA:IahR:o@CqC +X,?a(@fEZ1J*DVn!l(s&6,`e-,-1,M>B\orOsd_L5JJT?Q0WI?HZSmf:1_.`/t:Yo +qVkE@^E,f>nl#2EpL\l#54cHdM#VB59)[j0lM5Gb8JcNaL2jdNooP!`ZAsgdURWb] +"YaBncnd'j7HkXs!Jpc.M(0(A!-JW+SAm6q;YD(e/BG-t=[6pT'j8A/XeA4h"jCdj +&dt'W@Vim7>0PdOKM?!\'(\,>6)otDmD(s"9#O`5ViA%PopIu +OUqmC=[3W"+YVcoe]It%8/<@5\`=.fO10Fui1CE=:5o$8r,:PF8FR/fa+qF"hKE44 +#CiC>f\_*Wr"%6KM/ZHZrdru3`8k/_If>8a&(:,BY3*J)ptsgI=2G#2#le+D$c)mX +JH`iq[CRJ%q,^p-nEHl)5f1aCeQH6IplB>gR!$_GRpd=Q>0F41eH!5`RciIf?D!KkL>-NXcF.#pCeq:_P; +,#/j#itX[5s/cJSOpS7C[htrDV.O5:aWSJ/_ShN;5l;M_Y3\4J:Cd- +5tfDtp=AnE!QqPSID#faJRYa9B/5>e/+L/#_h#C$UjalK3&T9uH(ne)[K+8GdC.U^"!r-\W9BJ@b +D-kmR[r`*D62[nhrbqHXJH+@+&G]C[G"6^c? +&0HT#*tm!!hs;$#qF$gc,%L^,iM][GQFQb8!j@aL)J4I0s%BNR5DHoYOafnq7#lTX +RQj4>!<8_"!oP/A!V!-[r&(8KqGDb&Lp%:oX:A9jL)$tD'_oF'JG=UR=E&>+jk6o8 +(T3T^[OL7IS_64lSGham1]DVSm@?N-f^D3)8Q9e +h9>ZSd>VH"@(nTd4l^*:Ce-YFQ$L#)@s;A8fHSJ-5ri'.'S%qm)$#.,^'-tYJcYlV +n<;W5e##rr1s,k8OA39,.,P(U\;1JFTcu"dfP5/K/N'qeYpl;">JSlp8:^rgU5BMi +XdIheViJp!PE")JrR>D"b-N8Vs/)dIG>j")Nr%ZZp%b.PF9MMmJ;KfC*djd$8<##%jDs1-$)cUWM +7-$!qK)ZSVe#Qf2"d";-kTs@Cr:_B6@pS%XYlN]HXob;'+?Bm$k.daXB2'#t59W7C +Im`aFD)"HX+S[MseJ,")U6GF('lSW;\s5M0`_Z(G04]_eTS).Z.0'_uQbOZg8+iK\ ++\hrO/-):M9/-B='E"1?rc_"Kre(&.ikkU@\%o/S!0RE!Q_:dUHk6YR1%<;R)"L!( +%]/,[peM[G-hEr1^V>dri1Dt1^2j"<;"7plM7Kh.cs&?^;kWG*5U@Op%ZBWA0"oVA +`;E-'D_f`N9%nheLF;N].J6nU?B`,!&L%J1#)HA%h0h"EXLCJ/Y? +F&@""IS7l([^M/9nB:5P;"_.<=b,;DD,Z,#FX)IWnSlrVXEDu_qs8":k-7Z*;Z?t0 +R#SJuKUSh;NK`5q#uBBEX(K4O1MU"0XR`Se9#c5+Md9f06I:NpKX(T>JNn&7D6icA +]7ddYr4QG9?6AolNs@`0kJMAMVdd9MI*O1ul;YuQX0r1HG(f.(#4$Gflh6'q"mh:L +@9";+k&o^^^jmb4\877!g+ed-e,O=%KhW.+f9smm9JTY6&PM +$+C$@="F?rQU#VI:_r!MN]9!!.hC\uEl]\[D3tD\lUi_GCj;C+`?o_a@BeD2?O5$_ +8hg/<&GZG%C$*$M;SYJB)G3lChc^W#I%R! +P4><YQeo\;kKD'UY>BVH0Ce?&Zo]m6Y$T&.n6s6`lhA'r$+aW%;*8'=GbC +,UO`(^-N@E)EtkXISb^3FV"jQJb4YJO20'Mr3pl9(*J2.S@M@%C*d!_(W[+_'3a,2 +]2BYaidm%_>Vt*J!@!#2I(XN+aWQ\;#VVQ1C+:)(rjVDtmJMMFIW#T1eCV_-Ds%_K +LI9ml_-Wq254Oot&&&<7$eKl)_;CoKK#loSIK7oJ1eQ.l[pTb@U^QjFJd]qZTY=Gm +:D:4EqLX(gR]HAcM:UZNQ?J%M#5bl9rf3WR%2>oLRQbl&;+l-8]7`P?s; +q1Ro+DWkiifSu_Dh:UJJ&,[g>!3-MXfkB)/@akUu +4'fj%7/Ht3*[n"[1Z$+Xr7@qP&C6R/&,_3aJK,kd!<,0/3QP\^pR(%bVn'rfXK_!5 +:"iM'^IBLrr9rq3[C:,Urf%B_NK"kq)qUc7TKU&f.j+Ns?3BGEgJL9357qW/55oI- +\'3di56Uuds)E8]W3^fo?8VcbXgo,tq:,cR_gHd>DaYh/B_`72!%.jG&Hd7*baGk[ +GIi&br^-_cOWa++LjOQ;7s#k%hrcZIjXK$R0&,eom-n'D#ZU7$f'ElImg3"]%9Dj( +=7-GHJH#kKPm9dYp5LO3>`g#I&)&*W4YS)7O/bRq]eL*2.1.Brc]=^u@LF=V`tfed +`Nt;^qiaoCG:=i5uD<:EZki,9lNgi/fKhVO[Y5H4J-AKLu'd"J$Q^Nh<] +1)4Vo#hMk*CF:=V+Q39Y^O06N\i7Df)VfRYFOfXG'piNQ*oF]ia86XbI!FN:DTr+O +aiqMl8cS!Z#$AZ*m`P\,Isu>0kBCQ+r(m+fk@850+(2aeNI$&:H9+;S@V+CPOEsE< +`m&'D#E,PJX/J`cW7X5TT>n)k;G:&iL4uM?W>Wo'.Wlk8iI7?i9V79j52,rN-"!P-#,>/nK!k4BSCloN_+6IpTLj-Uh^cD@6,a5+u& +UT)#`SGMA3`]H+W+5K\?EBa'Q&*/-0K=l,o>a!<\Ziq*:r."5:RV;Ql]<_HYHe)sk +Ac1GZZtFTY4YiRW7l]P-/TXsXj(ZWc<9JDGQa`3^C6Pbh_Ye>=Xm7CkR*>TH8rgK; +UTNS@lNK-Fc#!ac+DZ`4pjb#U289MmQ%Y&Ku5Io65/-,H`<#4_`Ku:T;ckbl`_>Hg(]h&SC +8HFA>ZuCdbRed3(5O^lYr+e9H+c_!_?*3D\0(*U1l>/%cD-YiP]Y:.P6YA2QGOl#M +/+C:b(PR_h7mPP3nSh7r!+Z*qFY;q/:\=.l3u=\kEsVTh*Nl3-]YK"&rf+gY7*T(L +2bS,qBrT-Mk'&5*Y0):$_XFGqgF>H@9/TfOU]?]h\Nqap%SD9O^"n8]bl?fP`;f]1 +FnPECR[Vg9[VkfQiW[m1OG4PhL0T6jVIr]"40@jt*qmt]qo/p)js]DY +&b^(:>gTT_g`&a/a.ea76/b#"BX^J57^1(6f^5jDm0cn]%p&$+<=o/uO!4KE*2uVp +i]sRbnNS?`3!pEDff()Vm>VErO75HI@_CM/_/=9YN":LHs)AcE7/4M7P/u?!/n8go=nD2.K]C7#1uu3hObe`HhF56cdO-e +_*8D/0lOt>YAlZqaPS`n6Dl;sObUtKh.3ksnNTu1'i8`>96^.k#6GjJO0#pkP&Tgnn?VCDb>NF[^:8I8GhI7en5e?5/.?iankYtH(U\OrpWV8]=0NP +3M,d'&aIt-"o-1fosC?:fogeu0^D&0k/kc1@fgCp&[ca=27A;JA>:*[L(lHPFI9nk +;CNMp!U*kZ&0ig3J7052ONK8T1TX_N`rUHb?jS'bN"K>j`E"*+(gTF%XCP#-@Vf@H +m:9-cACR^je:lbD8$(2N6`cVeR'5tUhE$Ba5\LL0f%5s8r;)8hh`c\$^nX3B_#Gbu +I=6AAir>k1O"S^&r;Y%3ba/g:5I2s'iMj1GK'>eMR5=eEcGo3:`PV&KAZaCG9p1dD +dT)\4lT<9dnD@MX#lII.rcPW)s+U_Ac%"Y*c$sd#9DB%5%r'1C_HI*kUm6MJ\l')b +%r!?bT=kN%j<^Hg$4\5u>l_!`0-r&t9.:$1$=N06U]2_pqp=jtM>WRrO!B-t1Alq, +(]R(skGku::&%M=rrE'(H3?X9T(jiZC]XIpi;[Qkb@p[OH\7*A.*&s0eeIa9%g]"93^O+T=#ZjMr$$pjZj7ZO0$F%^CQFmS3Nf +f/<&Q*s,Sq?:uLBpq_O!JpKr#:3jWX*cb>94k63e]-cU?%Q^UPp):EBg0q"7'YpXt +"obS!6kKBBU\YM>s2@]l"nd!W^]GV^BPq,]r.eXE;(m&o'g?gniW!Gq%JW.$Mmn*I +D2u$M7b]hTg1Gr=_#JCM_l0=oC97f1.ROCDaKL^mnDdF:S-*#?5MJ!0nIBTP.^!\$ +=[6*0*RV,>$q4C%7Cuh/7skJ!L%8$Z$I4Ulh`5"fDCVg<1Yg_43OarfDMW7m"9f$Y +ir-U>"+L&p^ETggq10+9J&Qu$b/;Vq_pPJ/Z0EPY"d?GHVK=\T*#<-JZ"fr]b!^%gZ%N<(l +AmehtM_Y5F,p3pAFViu2?35VFs7',c>kpsG56V#H_8_=.b@J,*.ag3iBpji:9h"@q +A+^M_3_0B#"-oARATImgmU3liaLYk+C[N+1Iq^7uo%!ujm`]t@@-27Fdf4P9rU!Nt +n)'Q+n_H3thLhuOIW?UpdrY+E3g9BrD5lupaS>'Uf'LB?HW'l=N&!KLbF^5YWi,,.Wq$NO#k2>R72:>n(;;'4D)6]7?2u2?eV*R.,*G +"'d(+iL\Bb/nA?+TYg3i/45:IV+-eLPH1Xm!c"?h3aP1Em7Op"U7V!T02>?Im@aH+ +KR3(ip$!KUJ)6[jou$C9H#1m;:G'Rj+I@QObgLF%>5He0MnXLJ+n5NlHZJ#U/,.B! +AcMJDba8%$4[#/.ct)Fp5hZfK#4UO#PbYBdUb#m#-MWJoVQFZOQ[E:eGs9#N +=^D6Is$.;(i30 +WZr_cVap\qpu?/)!.Vk8M#7SWPPIG9j<[q/O)Fq"q#>R"LVEINRfC2*L:YUIjOjppmXYWrqI0E_&p.=_NX,sgOP1]O>Rm* +>jWXPXUI>\kpU?Qpc%8 +YZ`s;0CDo!#le+58t$Y+JcBk8CN0YoUU%L&1F+drjXtnV++=ED"6'9%1sZ+Q,B3ba +2apmNrmQFa$#fF&]5bbq(U;Ho%$c9Y\Q:"s%>aAaHts8IhSXLb9:W\3=!,I=_"4T$ +O9L+`Rc]()G?_i=Z'[ma?T27iM@jP"sYf0-?Ph*[YjJF8uO^Lp4=L"YIl +;^Ee\3B)]'f8%:7KCbhqDl3efFKCr3DNacbe'EIl`C/DYnZ2eAaAP&f$)3d:Bl-*R%0&Wq[>lp,$P7OsA +nA#;B\NnpO'!ja).Jo>T<(tSeP@slVc6%R$4T!OOG6Ir>D?2H(+5[,e+Sn);$Kk!+Fss58AO58!:h$2Fo*Z.N-FT<'=;pG!n_^Jc=A\pVp^^eYInrX;7mUAN`g4W(/bL&d)`G,_6N"U'X/2JeX[q,O +$l72_#QG,0"3f/UK`qF4''/5>C-N/WOtWa=ib-*i@Bi6SZ'ck4.n'AoJ>XmVXT@dL +"rkQKW.luABYk3(%1uB7aOL8+i3HBdN=(j^MF7ka/ei^BVjlN%K*o=@)hCT\m9bj0:/%IOW]f@9!*gYXo +.Q\7o3uF'3"mcUIp-l#I7fiTs!Up`&UA9:`U_G?[f71_c'CA&\,A9kP8GGt&!Rhgg +/L1??$OBA@!iCB4Y^eGEDoBHugH"IYJ5Nr976Xi;Z3DBf+6l&S[hq[K-=T_p*l7&H#>D)CM6g'B/ee@+@q9 +[O'#L(+S#Ufm"^Hkj6sM];HE-]IE$!40i5ITCJE:dbd$U$5W.*1KbgTQ1OOVgeZ5A +s6T[]O71^Q$6IUJss4'dGIk1e7"HWcq1Jt!iR*%+Z1!Sr6CF75j +`O'3OU6$UdEo^'BH)OZ_P=n?1;UZS`]b9JPopL$t;\,=r+,1X42bj5\Q[h94NUcgM +C&bh)l`5e]^O9qWG>Bj2]-(1&pXJc;+(+`d&((=McgP*-rjhh]s.>iTH"]>%%Y*bd +k4Gd.3T7,'9@NIJW\n)QeNeQp)%hB(rh.D0IjLQes12AJr#6Q-!.T'R&7fJi@0t#& +:1opGXV?-Zd.Z>S?s-T;*mlA[=ue"2.ut,i!;2usU\nklL(2Re&M*p&!=:/0/;Xj0 +^]NF3dnAX+B`^:J^g0<*dME$%i9V3l&JlRH!3$,>S(Mt^0,k@D:.5(21q'QSW"3MA +nW(XZ2Q4BI:%Otkrs(Tp,kCtRrZh(]B)uZu`.+EWP0Qj_;A//BSGXR]5N+i+s!X?> +2#icD+'3@g=4tduJIrGHLaN6u=)rk&rY#>.#9%l-&[hfAZ13r0M1GM3&4G.>hpu"F +lS!:W8fS04PK5tKIB8N!Jn1'SM9/E;+sTUn2#m4eY#^8=mJ$;gGIHZn2ku#Tk.:4n +!H!hl>qJM$Xf*JC\"a'o,(Ht4:!"]N)$/mR5p7/l0SH@ri*3e7d].P\!Bs\j$'@H" +s*gP?-.&^g7]d6MsBgEo6=?j%_Reu6&,b;Fo`rB9/3DIH$s\#$XFTmgK=_to[bJrYj8a@ZlY17P,WD6G,\*t:P)MJr\6 +!6h>u'5j9L[8-L$`][%kY(img5&<[(^KVq,%S3]o+i*!^?=I_&2RO9fgPW'Q-+;*. +9/jnbjLG)E"9&$?K55+T=7*>r]$\.Vp<]Q*Z2"o(0)39LJu@c%T&$sP\UDYNEa\!) +%PE+r^kuduXa5BXg'>*i^UP`mY)/mZA),g.KXX>q2b'T56_t#TO9/DLMq!7e7k-g? +s!,o`/-RI'd0IL`2&*DZ-JK9#de/+Js-8KBEW.=:+=u1Y'L<(VL-g.\UFo<[_$18Q +g:6>tfY[0I\[2NB;&6r:UW)m-1g86S!I5,`O=(Y<"9/H=3Uf8u\VgFVpN6rF-c1]8 +5^pZO#\4/Lj.Vp`@/4n0KJm!<2I>QNFE:t!A-!JoZ@B))o>`r@?TsSJRj4n^5SfIW +pX;.kh3%6jqAfe$_u4T[o%W; +8A0@+j-.q@?_#I;p\d,04H^Z@"oS"5i;Y`3/H>G7ir;-2pQ,1fIWRdJX]%5ugm%EQ +U%INVV`cf'E\;i4l]I +WUc,GDeV]12n'',r]U9BB@b<_mMUbT1q1hm(RJ.t6a23hVY +5T?k97OaKAi%Gs&84SZ$-:g_A.&<-U\U_.biopWe&V41M60lXQ'rP0+m:( +M14IonNR$unkC6R?]h+ufK%#rC:J.%+8,Q$;8FX*r.Mpf6@O"a!)!M3&?m>d+Er8@ +s4&U-WinhD>m-:2;q"29Bi?U@s#ZYWHeQi.6bD"G-CkG#mkdUAAsq6t%st;_r)&:lc/e*lc,;XCf9>1Ed6Lp[ +f+N6cqOD[\9/WLF7\*e^/fX!hpF=/<>loB\>R8+>f%.^`c=0=9N;?H1^W01jK_,Je +Uiq6`iD@#c";Yq^Mu_E..h>'!%RnPO`6.gEj[AuTo"C0+1c6I.:[h_9L&[P9!+Y6usC&]qXpADRDeR8;(=]W`pZPliJ=*DQG0NG3l&On%#EN5)"-I/e$6 +7sAKnGW,/We%$RVT(W*Ml0k33,F@:KT(8dhXP`JVrcSP,eQKo8A'>a:N$"KdI\9NIYqYC7$O]PC](A +;qb2Ca.a!A$mQBrc(kDdeC4]RDGe\2:"8uiZq%7_c\7`>Dk_]qL\fcubR\Scq>ANs +IpL:rk+VV.?,e[n.3hh3>(WZ+dfB:p$V +^Gj"/?MoiY&&`8C%Q&6Xs1QZJpuX4Kptst_(3S#$,5jaJr(edC$-8)[YQ-4'\arH^ +peQous-s%:/L%D!&:sk2o,iJnfLINmXZXrfklCS27NsJD5JVcAM*KWDLoZY6UhLOA +)u)enfF.0rn3Z:DZrs&Gpq33a*\).=(;#;nghO91R"l#4<_:4VMqUh_M(YilmGqCA +/[1&+'J+cV!"32^3*Ok2i%e?r=/u6rr@Nk5AAEr1>YA$ +/q@EP8B4i:2l6b^"VYLpNu1W +SpL1:O9.[*!Q%P[E<6*eH)7]i`8)!5f-'kS'eXWsV,%6`f +\8d.p3?MMAgfE?Hhr*m,4kdYkMg"=cl_5'LKkH$@pP`]H17e9[QBWK[c$Ahuma&(@ +prX&(Is9)ahqbs3f>gt*ErClf*F8?nIRjTB5J2.+IBsm=9bj6;kM80G^*-['32AMF +Wnn\r3>AFsJK5^==3s:3_kHK8.,_Wd,Qsh#:ZtF?&*1Lj#U"dg2T=]6 +_;+)c!1a;JGTaI!SH[XT`F&^k[A__pObTrKjOslI5FMO8X#sckKO%RiG;VF\n^b\W +%3pGDO`3JQ+()!b`EbaR_#MeIbuhJn/6!]!_0;r:GfmoV;:o"aG3&+20&GbtHn:A' +1-5HPGh0bg),JST!Y9d#0^[E.XP[..Mca>6=G7>?r!J%fi2bkA$0A!op+$pNjMHs +),IeG596MJ[1uR>`]H,VI!g;;5L-,*qu1E%!\D,eTOm"E\a6rKQ_4u<"*pMF>k%JL +ErUB"p2@*,IqaDP;d3/g+3V1=RrufB4#<8elWS%@?E()5eQoTQ$NI.7+o#,=((XH2 +OPh4gr?m2HRfE"jIQIIPoq7eeW;`P8(/P4r+#d2[)(U7;UXnujRps6l1hj"XZn!J> +jeGlO>b4(@4?i/Z,TSheM!uss;WJ2i=_(VIdRnJ2W!J&]TNC@FiKHY0>enq,1UhFU +s,[Y"qAPaA7[X2#e5H(]WOo5E5U/"s2$=@KAIZkG.;RL4=4NO:6W-s1M,4q]HOL +"8R^UKHPEDE2Z>npeM$"'%%adaA9Pa8+6tm4_cMWa/eA.c!gbSQpVY,$VEnTBT5(c +])N`4^QdkF,k[8Q",DZ^*6`nU='$!rImHG3IX>!jG8mHHN7UGW[>"6t4h@8/33c?p +8LHF\,Trj_Ct?PV/)UjE=83:E*Y=tte`(-7H`UdE=66BqIO`bIjPN#G4ZD'+D5rY1 +l\';%Ztj9L)_>AZe.rM##!Ir0=+e[sB/*HQ[1u&]AUV7TmOirmCIq/l!O+=Ga/Z(YfqtHsqi(u$Ep&r!VVO>& +o&qF_;qkD-m*BqP=O&R\0DNeoH%3JLd2u+9IH0Cof5=ablLEt#5ITo+LR(02Dq3s? +CG'JWE;-6h4/R6M7O?YV8s'8[.PU\%&oiT7"[jgGrsse+5l3pFj=])MpchXO8Q\6J +s'%2TBD_fNs)XA!O/bH'PQbIoQTto91i`%h+0!R`MW_O8ili!;!0Pl27e8k2W8QjD1Bs$qYuO[)Xn?QJc>#2SAAV^PqcqlL$kCeM7k([ptVh%6*+ +3gt-aGilo5dK#$JmnS@P?g99TVnI7)rJfk%O9iLI>NU:AB7>XLJZOq$aS>OjP`O+q +4ugf5k>pkd2c>,c7_Q@)qX&IkeS4;]6,nte.@4$`pU;mFP\8jgB'rho:$,@Q<6@s5 +-3ci`N0f&-nUEY):gG@o'^`VQc](hKI +IiSH0jA5PHid\EM;?1]%<=869AY3ucs0tWTAh5%/+o%,Q.gYsK*-(t=Tp`A\Gi=?u +bV#Bh@3p(9OX1eW[PBOj\-qMsk_p@d#t]b:P/)Uhf8#*:]$[2OA-"ec#M7JF-7OJB +Z"1'Ki/`$s!;mK^n\o$1H>c/B+,QVZ9#(MtaY-q[+T1E]crBL_r252IAGH0`rtCMZ +C&SgqLVK5G4OO<-5PZD9O-U(NYH\'gpo!pPcm0TI&e-^VM)6e.@KG10+UHq]B`@b$_pI"e1$6bcqDH2q!YK+ +q/=b+ri9&cJNchQGB$i6ED((eF%^LSCGEUhI]EOd5<`0gQ-iQEBpo(i:dCO0CSV`J +bbCHWL1OC+ITK0.jrk&PW"OXi"%%FN!5i/O;N!)0M1&Led#21!WQ0s4#S9-oKUOfY +Zig5Wq)`0mG&C3o'=<2!Ir;QAo9^.A?n0kj&T.g]#l.YOXsUcWcD7WbegOK"Z$(%\:tO^+ +rcu,2Z`^d8T+8*n)e2(?RIR%Xba4?cs71EsDboN0EBoj0o:-9-R44YiQ5lK.brYl`L6rM#'rJ"[P=e!=C`; +[uPbQa1QP)^)B*;W%.#5n9Z[5Y&^_Pb[V9CVu=%k[_W^',UK?gtPRo6u0Oo@5(R +5M;HEGp`,f,jRpDmS82e8H0<8gJWIu@YDdj!oP?X#$t4j<*`2U&!9(;q5ri!4+E\& +3:[m7Q%-*6L#tTb35L))%fR2rs'q(HEG+BdULFRGg0"`NEg0?ZOlAGU*2O=oZ7-"k +>%ra^g;4L[m?CE#9>MFk:ioY#Ld;r'JK]#0,m4UKB1b74GdIW>$D;5c*i_^r4,U"Perps(FiT*,+?RS/22F?(9'eCVYA&b:Dns-(J(--._D&bo]nr(Tcakf[P_ImX/7k!)^]'+qFO)8T\1/-5kGeL_CBIgH\eJ%.qKD++Lr5c0(H"0F)>d3KWH +'S:p?:-c_jlSnnI05)+jC_?gL0t2Pc;a-$A0C\)%Vf]j/"-HSj&Jt;YfP*?Ztlr-JQ6I:A9Vhl8">.*16Jj,h29-iqCn2):Z0e?1J#>R6n-=IH*>L;I/IDCWr]pJ= +Rtj8@Ad:WS#R6CpN;%3.m?ruWNJ9O1!Wnr?LUG]LW&!Qd+U.)u(\RENKs;fr=)139 +I@8?=RQnKGC7hgZm&lCo)IhRC&SqJXJX1:o/!,8!eO8=;[++qHea?k"?!V3"Ij^dL +J:Cp36!*0:mY]P#MH)fse]NbLTYB^A"1;ppJuK3BK(^f3)%u +"B-pIU>Z(IrQJ?'V7q+GqO=Cgs)Q`h^Y^pK]lT)sn(a3&f/rR&FF)@':ZhWPVT$<[ +I`_2:Q9W&qocr3MgbW/Ra#*\S3:D*VHSeP'3YEu*)H%ObFp,D\W#aA:^cTDX!BV)K^glL& +m"0ad&p0Fon@ok!5M6SQr-+X6nD@l^#WSlH"hU[Z=lWfO]* +,G*&>7hPBYqn3??]A2d)F4m?a1XBqeZKg$H%EftCA-$bs7Do6M$TLA:IK+E_,I?W1 +c)!S447/mCBtlj#p;ZXH^YG"Np8PECcXqQH0&s8GC&b\)mBcD`O9N:@46)m$;$ug4 +!U;VuWE1FFT*8?C>$.*rWCtM#B1f.uL")+teG)/KQU9@BGYKmK&W]RGN$Mj21Tp5> +P_M#>TeMB%.>EPmFJ^`Sl0*0(oQ%t.6L&k7j)d*Kh>uoINI!3N]t=ZL!68!o4i.'g +Ng,$"6kc9/GpN.=bDQr3+(+Tp@nXPQCO\R_Yje3ioA@2@qc?9Dcj6;h=nds=h!/7N +a0]MhE/CK&Z(ZUiY)oD<=]JBgpogYd`?0p6;9s^nrj_*Oq2_\,M9np;/:3^3E7RK5EABAN.'SoPCT +J>QVK;bl!kc3PaJV:Yr^;(])(clf:k#sE]M`?\Q9NMHQV-+[]Q!iYCeMZ5s_2=W]K +W,j$S;?Hm1>DigfPoUiU_?,8crQ<(?0@KcNQ+R^elH7FQr(lb\8`IMCqtNt=rsA`& +gV28@qO4r$nbZMn.L=s:`#rGL&WgAS.OENNac`L>d^2WgpE]60A,[,L#jJjl^b@^7 +#lY/.-bKf5PZL'50;%aU6"Ab,&A@6Cq!Y[bJcAKhJ((WP9]I*jnb`1e4\C0)2nus0 +h5"*G9/H`Km@\!7:oYV#):YM&6((:r250MGB%<+Il6[LXI_KNHD](qf7]fjV9nu26!(-`/Uj=^1BRo#jDR'L\^LrINs#/]I +3UP\*)UP'->0tPh6eeM=F&N0F-Mf&ZHH%/"O92rZoi>"NEO\?1.9!2kI=6Kns58u( +2_6g*AAE](XjU^_!Xf8pCB7/FJ%uX]BuJa=o/&sBNF?I0aO(R'ebP.]*ds;@;f3Y< +%X/3a+k*MGkcS+H?G=!F^8drE6Wo,9Yd-'_BAemm3H)2gKZ3l/S!,:Ok[gs+m/2 +b^W.aYQ`rrO\Scp/IQnt_eqJcs#'^%p?f7:r/OB[!RBDL)]c=O[MAF8#RTu9'`Dpke0kZ59;.mj)Dj6"=%[Y9(!$]b&F +T*XSLNTJqYT(V#8`Y2Q4J$]khaFA7foCk1Ss68+![n`j7Iht]X5!P\0ff<#Dq<1fC +4""-[^4H-u+mQNuWE3]1(F+n%m*oM`lG9on43FNAf[SccbaAX9?n19T]qB?Q^rt`F +$2E!D!cTaln7P(&TLB[;d!%B&(hSZaA5[l,IhjoUOP79tg/igm)VeXph;(^eC-a'n +IPsXnC+&\P_lU>.;]hQBHuYaR!4`[7J,@kR_Z0WuZK-r@(OpONhRdtar6pLJY?dLf +infWl[Ue5ZSo]6di;r8=R@tr+c6\cGi'._NWtGB^2'jA^%9loWU#Af=+5fr9Ns9Xa +(OHt0PND-sj8,tAIjsN0q1Ma&m]7Q/T0]KM[E5P;pMc[16=+LN. +MHR,&Hi]1V,R%+)q1M1#ArsuRP)':*6hL5L1!.,O&glD.ogk&FS_>5@=i/h@Q +^je*hR9ZaKS20)KGpk-IJ_eMNJ5LOrkGk4 +Fk=#G6<:nJDsr,"4U8&`Ln4$"ZMg6l`O/jCT7d.h$fG#sngb9andGNZD\JmuaK4qH +Rju*Ub)k%JL3#IdOR(0dT!%WI=rm^V@!'4*)9[Q>?X[8 +"sDj"KD@sK9JIWW?S9P''ET%8aBpI=?Br8b[mQ>1.Er+U"b(/"jqn6S3Z^r;c.$\f +eEmeJkicD358DDG&Yn@teRScWA/Bi5)X +O7?jQH.0[$OoFKomRFh!VF+Ff;&1TlClp-4cd1Zm;aLCL;2/&i;M[+dnl>^6WXDN> +<1SX=m80J@bAm-?Jb^md;Nn-5-n@'/fK)>(.u$=dlCU8kN9.p6;G +XH4?$BMDOsC's#lE,oFlq9d(WE%*k6>O#q)feD"FZpR-)cq8b%(q[&']t'@!rZTES +%m#2fb2r6DDI8pepsiOADk?V#qOH0(B7(g05't6Bj+kuXk^t,Zs)T=Xoj&_S;0X8^ +r,fm;US0%?BZL"Ka*NorB*)@4#_K`jeh0V@2@K:EBA&da&[5fh>-tTNr4or_r1>]Z +:7jGBYEqK%^&]rtTT9r:>lZ!s_Z.:i$t.Wc\lATN0IBs/ef_'*<3%1[hSHLAA:so! +=p3f6PEH+K2oo,-AX62Y$Pp`=2$"LdNEoA@A0O-7>Z&"&/V>fK^T*:5#2M:/nZe,/!cU[gpcB#J& +"M?_WqW8R&GB\AIJ'd<'8)6?mmf(m2oMP+E-U#1)md\6u*ZlKWnBjGB#?I4h,(1U.jOrc*g%PY0TED@0uP\sRH8A`m/C'5+B`T(%>'1%0Bq%2l)I#Q9> +?OBUtp^b/96K=^bUIBiRGAP>>Rgd4N,I-W-f`"S2_(tA^]4SqL)o8cQ[upZu +O7_*[nlI1fs*8Fu&*H'(]&7r4;W++h!I$.$&cVh.1&k#jo)$TBn)*O&psnMdcVD'B +)t86jk.] +D(_22Te(_!J96;U(tRaX.WTh]RGFTZ4$NhY!-:5Z!(.+r=o_PcC&u7Q8SA6+QIK*$ +8GJgUs6og!4L)UE#p;.#2rO[*e0P3A">F$u;cX,hbm]C-*I!(.O2$/3Ih9>(rdW6. +Lu4TiM[1FtHH(9^L-Ma<^Ln:3R/DL1gSu*DrrMURaPYs+_-5NQSA25ha0hQ"5Yqn% +OG+mO,1?Sf+67@*1',!B`NDeud:\(/U"Tb=Y@he`iX5HE;kDg4CIKg?Q9gA:!9cbP +9`/Sc9S%`5iF[)>f`5H0M',G@bXU_2jXN[O.NGiM>:7YBMcS(u5ks4^amTr,+Tsep +?C$/cJeZRNda28Cg_?kEh&o"mMui.B8k#UGS_^-gn*;A>YuONk29ZT?02Dk^:5QF) +9%K)@R?9*t9*"/Wk/RW:!Fpb\"mE8AG3UUMRSpPf==haKs7(Jc\j2W8Q6?2X,qSQ# +?Bl$5d%Moh4.3KFGTg6!'raW#!]<30^Je!=OKu9gHjpVIT-nJfn_kR9H#c8\>YT*8 +k&m#]f"kdKhK:/7`AcVIF)d95]hg.$Yirrhci +(Dj=5m)D4O6N6b5e%ZuIrq_J2?_;QAp7g=9Qb:&Ekl'mIhVXprrT4FDY9"5LoT]C5 +*t7qndGXa/KtafRpndB:cYX!#Z4M>"1?%kM_BVDS-O,b%n"h&h:-$[d%ZS7V>;!8_ +bN>>>k+"jJ@c!7ObaHmFrkOaIboqQbpd+ePHMWGX2QUNk6[Hb&JMChKY*8mcs3^4A +\eJTs(g6p/5-;FA'DrC65O&=f;\@a +ao\[hhk2CE.<;n"i-OE8*iBO<:+SkbVON%CDF(*^A'`gj%oCe>mHSN?'=35h+Hd3,9c\uFL(/Cm/NTk*WP]\eh +h?*2iWGSJF"@W#,rTV3qe>t5pX=HdPri`LtCqq9g^*]hQQ3oJ"d2V?gN=AQp"Af4X +d>8/(L&WrX!dj! +?'j0t_&bG"O*B4$%Q5u#E^B]ZB-]QNV;(0EgZK;5(6n=D2CF7oJ4P+!55: +mVD'leXMO5#&Tc3_'](5&7gU8R1a52<0j5@6N*M[g-O7(e8bF`0%n%k.);(#l +d?G6japR->qoIE-*>Qk0mEW=Cc6mInMkeot9A$kgZ&ap,5cbV/a@J):4[Z[lII)YgL7_>cV8p8@f*hE;SLk(3#'pI;m$,Q-h9iha2= +-`7Ru+%n^R9KPG"HDELk:iFW#>M_7G3\P0Q3H*<.2fHg/1ZuuMZXu;JAk\$&c;jI' +jUVdcBuAZc@4cn(9*5C*Zp#M4?Vg,Fd^osq/fau()AiJS>;ZhBNbLGJ'E/74RroSY +q00p/%J]'?r3j+7[3Pk$8?s@TFilh[WfTK@bgn1`2=`l3]Dt`YClKo3V+OU"QuWX' +U83\^1oW;Lr%Af*K)^OV=91?YapD-hJdkt7$dY_Pi%Z_83%K4-WnhomF5r+[NMlZD +09%qsT5o4&IcK2;?/FE)MUhh=])M*T7aV.4pN_.,d.?]2h#G%AjUYS;^Rgi?p^W0Y89<`6W]`_KC3qb?c[[8;bUI\s/4\%4Ql=b;b6ns0*^J9&,>mo!?[s'qt"7"pNF(Zr]f0+ +%fY@^$()?\oX"fACAe=tBWF6+QTkN\s-(F@1atWg+c:cds(c9H&7b_K!b2.=B[%Z[ +rAX>p$#auAX%/HZrZB]+&H3b+(6*DMipp`7q'S32!G$XP+ZLR2ZEjj&rX3#.Mqr1@ +'E\a!7DPFq#[.=dJ-j:,>s8i$4lX[<+heN7`["^fD'PTb!@62P@3r%h/.o8i`N0!A +.ZUP^M6A@&W%CXbr*Ng!:qmbHi.%9X\lp$2IqSu3E^1iY,%/+aM2QoQn\;"_oDeC] +cQ`DuO%V[U_>bVWKD+'#R@K][Gd^\O'#hVYQ::QjML=BOr2''H-j%s[?W*NZGR+&J +o05@DK]Q@ps)'h1YesD-g7q4]0P%:$s(fIn[2"_U$65#W$\ka.r?el_5SS>f*=H0& +X(H'G3UfO=,m2]\8;,YU\KHC#q,NT*Xe\38@iJq^aSCu#PI/[f"j+*_'dZ#cP&<]C +4F:))4n+'P/MHCS'm31?m@mjT0PC&0EC$$rP[Thg=qt1j"[AL+Wks\ocD!U/j`k/2 +lq$I%"Fo15)#V-i7_3A9[X1c`B3qii6*YK+[W>3KI7CY--!M3"9b$WIHX$BY)K"Ut +UV9^(.[3PH,gn5Cq27%>dWE#N6Rb`^ecrJ`FXd+CW%@:3+?Gd(^aLkc9+#fNW;MQQ +]L#b*Y,&Ui>EdTBcE&OjoQ/PI-+egVT4mTc-\)OV_o%C`6-' +c03&h>!e8C"?e[$GA5:i\LIP[(-UR-iq]&a*l$Omp4qJ,J)')XiBC&qO*f[>hrX_& +(@k\YkX(T%mFZOjp9Y\%J%*Hk.1]rt#O0m,-u@ZDlZL'\QuaXlW<5L6]u:GeG[b8< +K\[ZT\m\&E9^RK^.;6O6MLQX9L"Nu-T$]'-D>g&KVl^E9'I;bJ()b]VF:UiUAn,/itFf35p;B4'>(1F9PQWM06M^&DlBOPmC]&s7A +J'bGbP4I,Q@iq^K^6)u?@S']HQM>i7?dC/-C!Q^le59^'?$d(Vjb$FW0h$^5'Zgo]sntcZ7oItd% +^O;cQfl!qZ1mVo67<3[F<0f,$XU5:n8!9m8U$74rObZC>b!Ml9!74A9rrQJb7[U(h +j=>NO8H(3o]_\/\MR5E&XYMi/,W!"c/Zb$OP",m2TEXF)#6KUdTL)f^^nq?'(-i4+ +V$&ZOqJt"CK)^2?8PAHHqc'@IG3mp"pA/CfGPeY+mO*MT0]hW,c9GRhGl%hs#h\_L +/(Xl)Y5>Cbk6hl@lPZ<:YP3P'b^&*`ZCQMUnQ",IAo3nab;9#p%cWY;:D"=\(L;oMC,n5G,KO:##5!+"A/cU:<,n4T`+%?O.[(%P=X +,"825-knL'Y"0c70:'PYqHk)akA:j=LPsnR`@W7=jq't&YdQ.%,REk)KT)lsQAr`X +Xo9]ZIEi7I?QAaP1$/,W]_h"fY&A/sI:oVPHeUIVIeuUmG<7_^G+8*XMqI>/fP?,l +9/c-^/Tq8Bl!:"t/!"E,0KND$qIVe9!m#+jU?Z:Ms,*V\12:lE@T,iB1-Z]V +,WYd0>Eo?h+p+_/rSQ>E+T0Q$]0#r,Q[gjl@=+lU/IN^!mtcL@Jmc:l*>&;N?QT?'uq;F(HP=]@`rY]WF?Gu?[Z+rD9W%/.,Og$1,c.YFllU!/]NEf"QU$0Qj= +eWMbkN2;a"kiK@bp(:JJ/cbHDo!7?sA:@s.2Qn:1[47rSQsQ@'?d+DQ:CYW[K]^]M +ZD`>ba[+TOIQ<7@ga%@lT,LOViZOnYmU*m(DU6t6c?JNR,]Dh,O/bca]1C8-A&$ke +qY^HC?QYs=qba80cFNjtamJdZr8Q3bV`QhgH94;a%j-#(/'5]08%=H=P\%V)d/Z +k+(=2E-ZNH'mOA*_cr%`2eK9q8'r[]RqCaBWtObsK@AK\Zikb-"5B#ibm%X0)mCq' +ZX`&K-VCS3dsqs?3.NguJeL`t%47&=;>U5?G&O\>K;.*cdSS:l"2/U)FJ.+V31'M? +SK98&3aGIocq8RekjlBTFAkt\c0"ri!N1.]dH\Uk\!$`r)uJeAdO3(+T:^*!q@T'4 +cYWOL8W^^=X\7M$Qi)sF0DKpCcKDN(^&N)hpVXm4n*T[rqVU93m4+/'JRaMos%u],aFDuK#Y`qZU%elgch/(2A,`T_(#+Jc$+:@G!:[::Y\\*)l#L_, +k+7aTXqHP@8Rif0^lU$m2$/GFXROQ;)sn@FO!5kZiJ2F +"SEL#rWJ5e=S"b"D&"02.Xtq,6O\I##iN0R+omu0Rf@qGqVMkcp\:A2n390C&4o.B +'MnM]+oaEe7.F(J*t[B0(Y?"3lf9^;bTi3-jUqKY2&6c&#G_f_^[s`&!I^t)io]c; +FaCfo7JMAbP!<\3,lBm`k!5EB9'Y]ce_f42Wf5Ko8Pf>?Hq%N +$WSqr!1b@NmhP$F#E7a9.F<;#rL3XJF^C\$[gRdQS)<+#1i+\7kc($hDV7.4L-JN"KD,$m +W<&+\lH1=B-X%=N.#A!r^]7`Y:Y0\RC0R]GHir:[NfS-#j0I$ +ct/2P1Vio%g6?SOlBjVD7*-9H;Fa\X_s03h:m3T3:@;1?>_i1`kQjR%&'CU0n(->Z6h_NVkKo?ac! +3%5u"*/6jTQV-Kt),2d-M4Ca"DCO7)pR0$)r7@N5-3K_2"i +j])]^lQ5V8L7R4kUASG^r24Dm^[5Lf^>aT%_g?Cu7([fBMhlr:Sm#^j4Q"$:6a`)XpldWf(q4BhXd +rtEHIhmJ9FLFW&A!>tqbOa*e8=PZD +!(/r=s!.=U:"\)3pqVBjX,uiNWr*)o[LAFPk6^;R4%:]DN`I8lb'+7oC`b3`#h[R, +"t9OX^l5f(,%*fk,+q_tJbB-O;Cu-c7iMQ4!]2VG%'_s!hbNFY\IOrcd].bM_[RF>8 +f9GrA/,F@Q_hOTl@gsU]8TVeVBpBQGrNr898maZRXWH(pN%%CijMaJaG/#jU(m*hg +.LUtfX7U2u\i"b]qSGNsaf)=VZF>:3\95ujE;PRsMLUETJHMB!_#@oihBgFL3Aodq +fhm=#bY\@%`DGOOfg@MLNh>b$/('L2<(LZW:0`4=P_Z+IP +=\H&r.7r#WjYnIlR]4/)r,=#i)LsGj5W;!U`?O#^s%=+$f)LF'"oK2<2d4iT-"r&L ++;,6,U?104"YW?iMs;!mlB-g\.7+e-&-7?;beYZD?B92T5LJrkjIk,D6''3Am`u@nnsPYT*PnN@sS/)1,CS^8+65Y#0:G<"a!^o#`UeLHMg\#:s5h)FXi%+"a0f7Xg>=bg +\S&P^fKE9GCU@QkE#D'Z[K1%Eb*T_4(G+q+cMVZFM?%;jH6d4*/HGc1!;KpSaH5!# +"P(W,C+?]]"qf3[R>a'%4*LU&hW+XSFo-Y.?NJMWS*4_6$r1RF!RUtA5nGDLaC.@; +TMJ]p15Q9Upj`83+'9ojPkG#'VEbWfYC.Y8>^uNECGg`H/-[(YaiF?5XNO"sIm)!6 +s7PqQrbj>1pojZ5:W2Tni+]!9r_Zl\eO39Q2cB.HF0Hm@K%-c +j/f)6@'6hU[\EjI?q+KbV6-7aQU:n7.S<1kllcOZ=BRVbArgU5LUDga!jqdeHZK:9 +fMk&k?')k,"UcsU(s5:0uJs0_->n3>G&12/ej+&E62$=Tr$J.^=/$jX$Oa=+"qi +Jl6""aE.f7NL3OP_umH@LcH#4P!l6P'(ocX-WQ[KTo?$pH`b"tdX,0%u=\ +k+X#/?I,(jB2.VmUU^=OFI,%@(dF]i +)HB`5eB-N]Wa1m+63N("H2-Ol]0LFfGm[d(a?G6T$E#Fr.+52>Q* +BTLL(DU0^-4>-?>?QF6:Aq4o=!.1jb]AA7tY`PIFTKK-M]HG1rMm6pjf]?_fR<%lG +FDQ:\2BRT("C[3sBLR/m4LU0*m@dtc)!&@=o);U)G7(c9)4Q])VP;/L_-!5NVJMkZ!Em:JniO +eE+Ur+!;((k-H+>5r0/(-o`k'M+OSd%mM:"[K\MWmd4j)%Q[. +jSoVfZbZUZ-bs$Y*:SG"aB=jfq`fS[N)+ohm&>-u?g'/W/,t`hS\n"kK_G.8<:?-<3`45@V\d(P)VVC/tD2TKErDmZ(M8N#XBsA+%:^oQ(_rebN`f9 +\n#4iSR4m&YG&@)iC?%1U,*l0#a#(M#kJ`#YH+GLf-`L6cl*kf9hc$M59YM_HQ'@F +Q&#Eb#LIZggan6]BEWR^RJ\u(In=G,4\NR#q%MO^s#V!J$*+/]s4;brjcD^cJ*u#t +/&91h@"*>mla)%Cr"K'r2\cB^"NVM7!;IWFJnjnns2(ek?htk%rrF,YrX>QmT6V[4 +Hp[gBh/)"Us4[kersr9@qlBsL(3Zmh\Aqij1DO,QkfZ[7!U=.-&cq-Mb.gkX"S2$4 +PkXGm62j^Y:NSKg=ci@?XNg@FQ:5".Y[D>$Ch[$/29g>%bcXCMUo"2k?p\-[W\,/h +(QE0f7s/WuLk#M3d=AK4`*>%E>rsjh6L=UQs6j5imp"9]=O\BsdN)NB*nm>5r4d`f +@HR^_s72D5nGh];)rZ:1YsbKUotNhZ725cP>`]$.GcCHUV!,/mip$d.`ZL$*k*hNh +$>*Q]Z]\$5c:uMXMbQnUVo8m<@fqm'r.3p2^SGP8`$k)-81u**'-\U:':qdXhXjA5 +oGG'S"IFGGP;:ahYEHPX96j?n?0FcWs.?F7s.>mYI!s#rVi,FCf=Y1&\?F][=RZ8o +YHEe6Qgb8G.=eRW7I.f,]tQSsobB67mp@1+q;"@*2g5&1Yj?jJ3on\NkefOi4$"6P +qXdoBCKcoZV.P^#o1$,jj1:I(D=Xb\DTNHrXWq^RBCmfTe/iDd/o16*F6FB$-PVYD_W?!_u%_[pg9_j3rJH&!3%4b +O:)_tr&?Di"sO$Io1O>u,$q!KQn7DJWd(cQIZ.8DeLuq"Q\A3c,.;9>G3abjFG/F^ +$9i&33,\G8`9)KFa5b9Jf*aa+/%sRk^"A<^m"I(_McT#1(?\clfIK#L72>X0P]F=Z +q/dMM=9c2u);@s+%O@831U)K\fR<#:O\G*I$QpP9`XZWiHdf4dFOF']drZj\,R>>! +_WISs]rC'kV(Uq8aO_-Y.q\-"W;J$J5;-OHfLbr#!;WrGPV8&l"+NT5h`U2rmGf>h +%6lt[nY^H,pa=:H'868?n,'#q^HU\3Q2lqls7)2kDg&_+[,?=SS8tLaor-PRS&/s8 +h5@m9;c4>T.#I#i,6^MUI!.WESL@lEq1VD#&&D;ms/AU8,%+^TO6"&:s7pU4a1h]! +lW%TjCNJ))T0Hp:5fJ3`)tuQ9jM-N3?bCNkFPB@>Nj4JtGg4!AZ=a+NikTXf464WrO.3Sq/Q")J]>^jVC#Jf1E@5.;!k`i$+Lk#:-)g4G_'3' ++Fh9.+FeuiMZ7&[+"(>jQR8e&r-U./nimt?^$sFb^Ga%3r0S]jKPUS-je#6Q?dY+Q +T(W*'hhusOs#f*:3<6eq;BU;dbcf,R`P7Eje<)n)c3="Wra1q?:XMRSnQl1TF!:$; +%XZ":m^Jq.G^D%+RRMQ.3k<5(.lD$53n;1iaq@&?<`KG\q<:DM]eq%Sg*nhF^BMgl +c3NrZmV3!bAW*[MLk%Kq4[d)mXp-'M2$,h3HsBl6VCM[:E;p#mqVkpnl):G!ZDVSX +TQOt-LPGi8;#G,&051amhm[F3DlXHo!;sTUH.DqaV]GbTl0kYI8mJl-CmZS4'/oY37C]0^\`Lajf?g$ufp(>#neNkR +5rAuHs!$n259F/'s,RsSXutaPo"<`"$Q^fOHEOon.fW_Vq?&,I?3s_Z3G:8Rn>5)* +chlLC)XS%5p.m':lB1`:L$<;YVOAA'r/d#"])F<`o#kbM8JnSCu:ZmJ)H6isAV7$EMEr,b:);#DhDX7\[[!KdNmH'2Eu.$Gu+"A(B;m*d1#u5J,nO-X>U*j#M5Vk>18(<\F3@4^cS=T]_dD +J%4G8bnH[U4QZtMPWq:in_:b@,-Y]mSB_X`3,*ToX7;_CH]BqmWN3n3A\k+8?t"&. +J/ulbN8kWuEXJ!)75R:b*F8YK`fO6V4o^9so+N6AIR`luLOWnIhg_d"Ihq#C*Yf(\ +5A\OGs,WQj[O?[FYi(P0-Ja)HPP;S,mC>l^Q]UFY, +SV-%N!c5:]buoq$3t'($3?su/+p,?okuL)b-T=KG``0?"A5*J(1IKMWk;=NoeUmf5 +K`@Om%X_rk95:Isc6jaYhpTATD.U/bVfFb24C/5aT?6,iEOkS^'_&l!QUrHSTKNrj +D#mhUr+U\S0pNUQX<7EAn,eF31IQBM!;IXfJ;=2)ce##`lI(Io5WenqSF;j@F)"bS +O.OlNi.$hQQll5ZDp34B?eJ]B!6hW[Acm8b'G6uM:gJX^k.gf.O75@PraZ\]580qi6>oi#b6b-?X+onhqMZI;? +[oZd"9R\<_;#*&r+nN/pftmTVXkc*I9,AEB^MIam1,gk.2F7PjiQD8N`YtAI8Rpk8 +TkqqL3iXh7+9`&NO'/N\H5brOg[N0h.JSD=]F#h_(&scrLUJ?*+'dCc?W-?!dLlIc +RZbsWMl)7ii;^Wb#4TC(ZUD"=;or/LBnf0]lparf]j@W"e5#Yg*]N8*D4'CH;tLNsKM7ejoTHNMT'*^ECI!`C-a_OVV5 +RMk3dQ:MX!OLiTUM_3R9"a8a_lMl(;OoBBWEnC?C4H]Y^JH(&5s*+q0J,?VRjT!g5 +m_"EB.=d#cJ!CuP&-:ZQjTWW^^E2qAgOn@t5NML<*T#E1rLXo7J"S`DY8R813i,@d +=(FuQZc:Os8Tj7=q= +L<'s$7'C'`9buP.Nn&t"[,OJ=,>(c?irPu);'D[V7!,\a%e<-AGIGtFXi[*qA55Ki +HYii"WK%5;C?""6inE_Y3R(.n2CcWJr&c-PR=q`)i@&Amo2TND!(!8Yd/]Fe)'T(Y +%n43s(G"IaLtDPX(*n_38]8P=_54.k$(A;9,:CXVMsM3KO,-/r&X\`:cRHbu<+0"] +!IM1;a#Z@Z=^@Z`Ek^0nK)5M$!UR4&nf,K2\&M\0)oLMO-,2B,HFnt1RYcDjj`F5X +I$s#8WF`udAs]Ea8EUpHi*8EgVA=Nk)LJOuH_d0RZInDD_1i%0)n+4c(1XW&-u98+ +4-WBaXPW&r`9AQ]jc'<-]kQiN/L6GX^Q4Jj52lFqUTUQLIraRFkM:Ym:V#L]cT;s5 +.q$a"cU7m='-j.l0DbV0SB$tWHi3K2gL'FDpu%hBRlakmbYp-T4$D#uiFn#$%[m2f +]8O'?5Zd3F/G5,A#79',h#'m:_Uu<6"EY#F$(YGG&=(Zij\0dqB-gJV73);`jR4Mr +4'FF%g[6]ng4VKEJ"%j-p"Eba-Frj(q)-1eR>=\BpC(MFZb +7LBpf!i2:\.0_D'gWid,18QQr;%&$.7,p+#gZt#,CV]k)#gbbQrg$"l3$3q0gmm0J +6>LG7[rIf&g_:;`T:[_MAdSYP!U8p$#U!#Qc2[!3!-(YdW&YmmIk%#npu_U!njh3+ +48_lBJ0P6KWuckCL]b[jHSlK8A9A6_MCGJq("Hlu@*@gY!XdOL!9&D]5>h=h)RBWBq!c=15SX6n4feQ("7tQ3')oq0J&;4^rt!gV +#&L.1p`EZ>ZPoBo!9SLlq&u&Pa#`Mms"AocEVY7\n+tqq%P1i<(#5l4ie@n$gg-1-Qnfm3\i-uFA>DW.5Y^]fbhZ%Y, +r3]IRC:h^OAj_\USVp7J=HgL%^m+C,BN&@Z;qT7R2_fT;N:o;YCCM;Qb5)H[9kdKo ++ilmAJ/+Q=&t)2uVoAoe7/>lO8,ePVp&*]LblroR0\=fKcKmNLPD5K`8TRV%__TYC +/*Y&%kr2g;+!)PQEnoo[e':0@jgt#ia3$:6Q0Va,2gnL*]]9=s?`j?8$QpX$jg@>t +#k#@j#HYT%J*0t,+"hniHd3St%lrnIa2=Keme2*YdI7!$fSTU[!uBTkIEIKmAR(O] +,!_8OULnC%:j6.'%X1F6m,.Hf;#&`&d'LX+B1IR!$jSsW'QA(8jSlltK=8#?SY7jZ +LfY;4WUWC:e6@@TXmg./q?)T[_t5iY03K?%Uk@?8Sr$09uEQdAcscrqG# +1fq[T=2m'ua0n8:1r\MS:PQq5j=ckJP]DLV!M63AlB1ctFMdqo2''L2T.H0Q.-*eIJJn[4XC< +c7^SOY04r58[2nSf[E1R1)IRTNh(*_4OHE?XI=18bQT0j\q"WSCafD>cG5GS@ZRup +SlRnc@]-k%MS5(CoDdK@&leiQru]R5gck1`Nr$NOj`oXI5N2WXIWn'Vlu/ +#o=:GF4kQ'U*OV2%K$b0^T<$dW*k/R2-$]4rtFuG_Z.Vf(.<\@PPoS&BA(6TL]@7Z +=[Rr!iQb]t5MH%Ak'nfY2\285_k0h^s.T3P1g>HS*cVmL8-+MHnGe%GjSup2fGLV%<[VVL6#[?pP1I.o!L2d_Pl'r)=[a7G5tJ[5#Jsr+6kN$/Oms;FbT,7HSNk +:Mac:Ci2ojZqm((\Wtao7VciGs"cXI'WCiTkPl_A&HMn%!`'Cj$3(ZE5[+Hf+6:1; +s53K6;?*g7s*+DP%X58[K`AU5bk:Pif;J60VLZ_np]:.__#JZLT-g^HofpN)fpq4Z +^Uf[>X@<2mIA6'Ur3'cb_W>,)rg2+M!0@9!b'ZKD*ksh(n3=YY'DK6N(&oN7q4g(V +i;\r-6:;WZ0L#R+K@]s-qS1okg2B7np(9gfib.9ocu+>\nkT[D7Z=`gnrF<2#lcR4 +s,6o.78)sZWHkYQC#7>rDeTF+7M(#8i8H*4gd\YZpGT['>u,KZ#W.3N$!\LnU^le +5DdRY[<$#oju@6WI!\4sCMdl\'f\FdW?S4E4;qn3Li05MBrQr'CQ.;]-&?e;&j`g. +9NOb%.QKkm@&d38J.V]CW"jE.P_r4ej!@5UEVK68`_/Y9TCuf@)cb:SW,.;l[7!@u +T]=%6El0J\a=^nCO!na>]P1Uh[%R!GXnR(UiX5\"1.\r>6@NbQH[>sFL\8]iPWs*( +rj!R7kKPC\IQpDMGJra:!LJ"V>i+adH,E8NPo4qV'73T3>utL]b-7oJasA\9I#HJ< +q@0>P>`\#/mENFi0X7/dfWd3u#nH3&^%8H(.IU#qcok`_?+tQ6r6;2M5G!$g=$9m\ +6!&J?oso._)nfMH6X3pW).2n5atpja:I>9[h7D\G_g/G(c[($0R-24*nj4,n*-?UM +-fsJ'q<:Jn\O#D6D9`Y/S9CmF(PEaJg,AX^\smJ_[?X&KdVrVl1p8(a*a<:XL^7*I"kl+AYnMO1>e8:A +>(ETteJ=fbT&)%jZ\hXB"Xuo)3Zh&3@7])i_H+=tBVMml:g4j$!&/mq'=Ff"WMMJ_ +[;Aq@K_aB59TVK*T.1DLMo;#m#n)8"#@_\==I:PuV\9;=U'SR5muY9d6MlH962hAo +,P0N_XtTc?rnQeNg\X;6_YS?ZX"co]^H,@oP:!8=&X+;u^SX"ugVP;]YA#M-7"D;J +7+m6`mpN9m8,alte?DAA"lOl:=\bSA'*/(,)-Pnt+`#qR(ZHM9'9(Y'62SS45f<:> +L]>bMXL>Dls-KG>1%jW>!FUAG]"C[AdB0D7doI"CCIa?V':hkHS^"M'ece_DP)[(i +k5eeupoCLl+'JZ#!9aIqf%&=0=\HZ>W=JZPq1rq=s$N=lj0m[0^=IuMhNgb'N`eC$ +J$f3ek'o_s;#fuhcu,IS/^MKS-H*6c]W'jjnGcltn(d0^#N.XHnaCEj1[@dVc>=,FqS2#-c^p0Y9o+5=YYC +&Z>*D3T%C.[doBtb&cDi2giF@BG]mUr_Vkno)FFD")kpq\FMCY%_hlmg'dQ'=mo-. +pAE)gp\4B.^9Z;PnoW6R".P>'&p>+jo8;T8$$BKBhlmA[kaO8LKBr+mm;P@"&8D +>02\WVi2]Fi?e'*$+tG]TP5(S+d-'=WP*UVF4I.bMWff#.%n::$N/d`)%HS#F:bf+ +8@YU3QV3L,1=/*]UJ0(8Ql7hIf4n+hXOdDD)TZ87K:bi#MNI,Bgc,lND#qN8*s[W& +^T$-h's%>3b$,LC/[;=a(j12,Q4qZ^O6YfH>50i._T5#?k`!AsVp=n$BuAuecJ\_l +A)q"C@dbnBZ_0P:6i+hem%=1&Pia'7dB*>BXk8D%PX!Gkr\3I+]*\%TA(Y^SYdaJ6 +f=S8R:"W/Bp:QjbN"!f?sI7*UeDI/Rqgp:5Ujp\$EBaT'Qh_=-9qm.96@ +cgT/)IeB)KB;[llrh/#<%_KHaO8SitdZ"D=,2g>2e!Y*rEJqj\Sa1IPL3\@)8?6BI +K5YCFYc96R;S5T:NoI=="@[=i;Q?gW"q^hHpOD#*s52Hq>QN/+UJJ[--=49OT)gBk +VEg"IBE?KQ?FoK1qL<4X)#Oo`s,O@)_Z*$o:WWRg;A2;`!7:u*2dM2/5V5C>SrkLY +JE?d9,r>eB%tu^?[/dK@]-Q2`9'[%cB^d[tAR#EhgY1m3pljH#D+3S_C2Kh+[nmD, +,OKPdm6!GFiA7tF-=;ue&>r)f8H)Li[R?Q1O_3V!/0YRWU't]96p0O[a,(B%a<(sP +VMQ6J*<$c)V60LlqT9lps&BJP3gKjRLb[:l?q+b4$%!]fIrU]Kpj_J.CA5AQh]g/!i$eRjrd0tg +gS">6;f/+l&cSCDBdB77t,$(r9d>.?]U:55=PS>%-7t&!W`7IU#Q+7CAkn* +m9.Dj!k3Un!3EgGE9F+uSa-;@?4H]+SBnqknbhSO\)/9HIr1\<1Gf#k%trbWMqMr@ +=AZq1b7eKPaa81#LWp.'H=NZ>^H<*QI4jI>-3)RUqu:EQ#C(7)qtdD?eLBr77suKD +o/U7Rg1C\]2h[-i6bB.&*MQ)a+B$1>!joU73aS29+0+LZlhM--?Bg$T/`Xc?R_qOQ ++oL%*:/+8`AS?.1GXGVEI45Y`J>hVqBMN'-YU)TX9g[_CM"0fkOoH7b]EELa,04-JP!o(PhAS%_McF`U($uT:DN'Sl +BB7($H-nd,i,P1RPLIa[E" +Yg3ehT,kj6fh;=b:X(4-r9aU. +YBQ(8?D:\s-9jX[3nqF>;7k$M*R4o>)n1^\VV431)guQ\J]f +fA_RCa9=#%*Y`NL:)gmK,oJ)0[>bO#Zr:0hab9S3o@%tO#%,:_8lA++1oWH%/nN/c +=Uq5_('FY!&/(^'Qm!&PU'SR5O1'Z<_Z-?b<8urAs3:SEq`h+u"S_]K+b(p8#seKC +s$?Y,L)f]t\gbtas.:&+/VWJUde,0laPTkpY7?&^$NX[I5/03%r'+T1l8&LCJ^3UJ +9CAH)#NS,%IFnM:4m_.!,)?3GiLcteL]A]M9*)MHjjB;bKB[X#U#c/Xd8mOp0&563(Zae<:"?#NUX\`cI=:Dr=@Te#lbS/=%T@[A)Mi%,bPM? +8HN4MJ;6;k5S:ekQZM1uXU2;q6i\D2hPDgod^FB<-VhsD<:OGJBO=TKOW/-NKT4+O +[qIpci;S4PR.BN!jgWEt5OTcoo+:WKrRb2lako3Kq9LM\\#6J14G8-(K)G9rne['Q +TC0T\hLkcJ-hb#dBFj;'cn^PYhAINPhN,sBHbkY,$9Y@Y.I`Q-HW#ADIus\Q$T_PV +h-')?gEBhC?QDX@4b#H'iV!Ec<;\u@^%/8nb-PcP(CUi.^Q%:rE9jh0&!q]q+0YIq +Jp-):5eJc>=h3mGqh!-)B>)'/h#"EV*re4YqU#BtIlc`ig\p2WG*64i9R:CW]/o6L +e,TXjJVQoO#F-6OLg4TI4[pB<]5.=+.Y?1s@>a&8Bea?'LlF[j8d5k.^UsVs2$2L\ +!V!jXQXLQ3XO:((!+H6OpOE2Bm=/U,(JT?:2a=P%6:AWF(1=QOO+;Oi!VVN'5RRSk +7gHtT(!]qiVE4=g%G@Z`:ntY_D:4A<;6!C4e-aT9Ro$u<+(9%K6i[r!e2I*.bb;.Q ++.gSk!ZFSIi/3p(E=*k=Yq00-a[F1a.'aj)&Kh^aKE%cWQ;kqgn1mD%eViA;mJj`_ +J&f^8_uGD9Tord=q2&2Pm?MdKs+tG#Ys@5$^Vg*Hn0^S#TC)-_[\WubYA5]ks#VD) +Jc"=:!JLInlbDc`?cXb@j-8W_o$;pI^YcE`IullKe<>qqoD_WGHa!l"pn5P)n+D1F +[04V/;UX#sdVCE$0pHhF9(:iT`3(Qp:^!^HH8S]T\sa4Zh1VJ1`mcbVC0`O&c'qo" +nX!ep%p5+3KaU2Nh1kh<5l_LI=o_2Gpj^lE38I_!Brmm[$3ha8CTr'Z\Z7#qPd;el4Y/*@1bC_D*q)UYp':UF +Dt8SfE'OOl;Rgqf\rL0H$@r.$K0A6^g__2:5pY#Ra#XR4R:alq9$/#%3WeNIAaE4i +YtlFV^3PZblhlJZT5hK&k5RVh?M(u'o%gJL,l1hL"_)E3H:D[VC/(a(\>)Fk#!NC0PPWFTK8S +q)fgp4m2^Wrn$hW51c]`H"b0@/e3tj,Q=N'J;$qg`!m%Z`&aIF3%mhYhKQ_Vb4'@l_,&;M=`3(6;TchOm +1u"lSa/VL@3F?X7^63r8n!c>tt-($2OE[dcE[8q(D6; +B#DMDj;i"#=qtnZPW9jCl:asFc0!O=701_;;/ +e6;p%!WKi:r#Z=2'2UCgQ[QmAF$]_R4lN$kU$"WIp_,c$@ho'\^Gbdr!WG%0#(^kK5h(9;s3[c0d/GWrCVqn, +!WEOn&Ii:`p$0W0dO=%'2&cINd&Nh?o:nT/WbAVeVP#6LGrhE_k=sqPo_+MOJr,4$B)peOEh6M=>MM8`9b^W.aY?0?nO](-6%6ln_N[0`P&a +llc'.rl9c4 +)1gWJi+:&!hR!Td^jfEYKA`^SJMX8^R+.-0L6>=j.=K62MOkm#(lRn8+t2&J>G +It!^Znq-E$j`145"u#>jX/;ZE"g5Sas,di98)?+Qoa^H$NrP(,pl-VE\ +?+#ktQVUmh3-AZ/bmLSrT"9bGXcq'(>$de;H@7Ld,QDX5o=NP3gT/`ngJuHN<\QaE +C34#1q`N"&N:s]LD/D1:?"^T:bFMYLldnfIW0fPH0l_(7(JJ7OKurmXP@^$GL#o2< +98r`U=`qlDCCuq2^6gT_'[\-hNRe+>+6,L'i]]B@q/)bGK0>0cG;6l7DJu?.=@N1/ +$2L?AN;*4Kk<$a4)CYJ5.,.DYCZMRN@cP1EG"]-O2L_A]DL-c=I;Yi*n6Zgq.??dT +5i;]i,9Y\@kSAE[!XNA1gDI1!<9C_Y$;d)XMtu7:&_s5EpXJd6&,pJa7$XCHo7`jH +;ZMFLlhaS:(-p<*NeGC=EQA2",A5V_lUsK[`;r[:rj=5J._0bkbR="a=)l4#!h>Cm +a=kY(fU")#5WMH_>a6*2aKN\Z!Fbbu`T(G0$c%H=ZkJDV^I%2j(*FE?K*B?9N<&5= +02;0IgH%-@=Coc5^qV19#%7'^d`0;;ftW0/K_$]+Fe`*6t^q$Xqt?\Dq:ZB +Im[3I55>TaDpUtHo=n;aFVWkXR]tMOn/?EPdJQGNs1j+N1"FFV3b<\+ISrgIC.D-I +GDVto/HkXj//<\IPmM)=6sp&eWZVnpS?E[llT_'<[?A)Ni]5_o=]H@<K/As2bb&,^TgrPN-Kn@r12#XCEHVUV^X4"/cA! +:%J%MM"pG[EOFgdgR*RtXNgBXRpkG?S`;KMbh:,Q])^+^lmJ7U9jiV#b=!,eFop-$ +'#SK'/]Q17)+\I50O12:hH+=Y:5^91!O">m[tXJO?IJG?#,>fJ\e3:^*#.%4Yo(/h +3II+U!aeAD!mo0ki^(YodEguQRCf#&Me>AG)Zs%SMtE-Kq( +2JY;b=["Z%@@A +^#po8a2sGW!l-hiEQc*@r4%i.0Y9j.UM=fCP$CD5!;/",< +X=4bZF%7leJqhU@^HBPbELQe&,fooZ8^"l0=oNQ^o$>2hIiMl]3F_iT=9jMj"/e,R +a%]n^AcFo(o&g%KhtOGEmkVJ`NUanu(AoYs?=E?F!nu0*nqBj0kpFQHCCP`%*HQ*:74U*JScFG/Hn$Re\l.nT?J +.=aIs%4hMS?R>6@c1>gLq)/u_[[-]rCBAj_6Y=o(!<;TbhtaC:M`O]+G=?Geb*e*" +k'o'"(On.=\'@\MD4[h9s`H`k3p,Zf:?<1_6[03*RII\@:NTZ@qF +.L?(i'F3\8q%mER#%@sj/-%V\ja$hn(!&$eb=&q5M16Bd&2pHr,qJ +PXkgA+oY!SN$8r+cV^[`J`I^"?_3[EX5>:mUd3k/&aRfAAti>DQ]s0\<")Kf/)Bk13U\eVJ:)-3Gi +W)S;AWoPmXA[Iis5d +''=[^]s+[hCTpMoV^H[S^B40@n6\(U!8,>Dp[S!-%?g;S=3Vm.SBVBWTdYhZ?@*]@8JK"qQFVK"l(7!8PGJ9(aH8S3XCp61HN!eCbrK"g#;dQ;N;2'S6IFKR`? +Jgbf"+DR>fg'7.UP4"/%YECp_k.+n.!;I?DnAbV*_gg\HIt\H`=e5:LF\7rY$(:s,[1==&=A"5^p)0r9Q+C#QJil6u[$%HJW3)XO6NO +,7*"1$o+@@@m&R9qdUT4f+$f5=!A$^]n#h4>f$R=cqQ-"p65J3J>S1;RS3Kp0elM3 +L@jdY_`tVoTC&J8*&^,.?=uu%c^Bd,@tl3-G:bNK?_'X`-d"X.VoO%3*AN%!AF[]K +MoS2^IiL3?l_k\'^oJ-Ir\JSHoBM_-ZQng$%iRZa'O\E?:YUhYs0pT9JH)5oUgKT[ +\^X>;gHmnu:#/`CgK6^H-DSo/2X(r[2Pj*L9!g10GKc+jON#l6`n1@j6')8/,m*Ko +$c)Zn:3D?e?dF5O"W5;[AqL'=g>MN!TA0(.s/Z!Z0`PM3J**YISqm*UAPVMpK0[@@ +J@N)`hckde&I/4n'`6AoqGcU(X&\!f.U`6KF.I9(/RO-/-)sUV94k'!&PLfO9I%QrT+ZAYQ2_Yh_Q +o`Y9W-Ge/05KP-AG[:$`Q%+!WE2[_#f/efE/;8*T0/Rs8?I* +DlSi$Y)(GhL(rhJ.J#Yuk?%!q(#"_.WS7^lCt%CF;ikgZ@Vk'KVFQ>8$P/gI)DF&$ +B;3/QV2l#1bDGEHaRs^Ao!7G04RKXb[RcuJ806[me%+*7E&rN/^i;-Q@5?#T'%:hU +drQERb0D]eQW,%q=sP;/0-Zsi2n[R3qJ%`'!W$X\l0lNSQRAc-B:5M2NCPY,8)EEf +I)(/Q`=+SNbnOscRb:dZJ?T$ts%DLirtd',SfVK.ghCkC4mV^97dnSW3mhBIYJG$V +/]n.ge=.OrR;fmpq!)\hB1pl9f!+U\2?@n^fO=FLDNdS;fY?l4rb[_Dcb!:DChMSZ +D"O>W7\?klI(7]$K*BJWF6Viml0li.@_qs;g!gD9-l3,f(ZE'"IV'qe6l3?5j9Y,F +)TLb\HG@n<=_atYjJl*/Zf\Vb +lJk$lQUdDKrb'o?r9nZKV_Hsb7CAT5-6pQj?QNZ?gV\9AKCNV2mD1jSc`7Jg?UDN@ +LjER&_:Q$@$%a,faL;p_DCqR;?:MZ:`Bi5!&JdthOL%45cdgkB +o-XJ4[.)8I$j['OSPXphX?6E*Z[$5l`f(6UR[[kFaA5Lm*C<#bl<#o=a)eZ +Dm#d$+S"+dqF@ljQ[:-:s#&k#)Tnp$b&TLP[[>Ss0Q0LNXGNED'P"%s[*+H7c&($A ++(kW7CI+$`'I:4)Vg=T)"8k<$$##:t54qN4i."\1Dd.KP=&i(8%C,tUri8&BR/]R0 +It@X#qifps5JSAJBl<4jr9m;.o7+Rns8-P_1&kJ.!KAD>[7.f0"[6Mn5"-s)I&1JI +gaso""isKHG7jXJO^I4D..C+Lq%T(gJdP0LMU_XEAH@)lQ3W#!b6!UO!C\;c+KtiN +"]FFe'(+UBb^Y>r:E^0DLlhj+$Lei2;6#FYi!]&s49D>Z"TL4SCF__eb!W5Qpf_fRAP&ht&D`FM.M!uR +%4RG1$&+X:_U[>ujjN@mSCj:CfLC-QM_YlI5X@/-5]95?T/m'*?r"7OXsS4=AJUC0 +83qJ?'TWS!PQ,KgV!dO?^.(tLZZoN?G]n;V]U@ulpVm*R`Vjh)i?K-#5C=2.K&FCW +N;p.j>8>,n74MY5Y.HgN,qmFj-ds5C@%3En%62L$ZkXk=UrO^V`S)Y,=iZ7mM[H_H +#au[o4#tsB1;MGWho4BsRHNmHmcVO]Fl`>MF7o+4j8%F"YS"B4/hl)qj>rh60&SRO +m50OY35l.S^i;+MirYHi9McWIrU)3oT7bDS]8,t+T>`:D03),pcpVS/7l +\!L!2/2[-65-">3?>T,k$L5rQBYUXF_DhD$);XKQA2!?'+khhtg;n7\A/6E*s,4f1 +5Nmt`MieA_W;^jmUZXk[r4a?7r-"/0H?dO/f)qOuqp"&_-U[)QkSM:LTVmkf*&.22 +YOVQs`]n?LhV#]WZ&8Cs@aZWF-s-9S06L1<23Wfq%a10'![.IiW^(I;s.U5%Ou/4tJbs]k=6Fn].=<*+d:/LZ +[9lEm5Z`)ID]MFNo_`(O)7-t7@Eed5oD>!V7.:`V#AoupZ=.qIs2"`O#!VMuOpf5. +1B44L^Udl=D4tlnJT#PBGCdn0VJq;)+=GK0#CiTI)#V)=Mgb6Y0.@D_eHCH]"]V9( +.]s%0.1ZIf-rC3bQQd6].0.a'7f6?1"-e'3arFpmb%uQUF">4k&`>Aei'5Tj5lC("8,VhS9^/Mg@/^\DAc^O-]V"):0)rll +(I5IFpF3ll5kB?nk4D1L]<["f1L#G1.@C.(U7`-qY:9eI?RBs9r"l9cLf<\0agRU/ +2SoT$&6M1iZun^Fc4i4XA#.^17b<]3DO/%Mq9d(n6bNRdY5G +QT>SjQqtH&L@XY2b4GSU(FL';B8uR/TYQ%DCb-V,M(Sd*'LF#=DkZ@oYIdI>s-GGn +cXEC42&^3e3n.tf\A`]kQ$KrrrNAN@QV39TY;<_u'h/"Llna*2d.m&Q;hufn*F\t* +AGjJ6k-+Y!%sG;ID)_<"X3n&/b\u(]^042.cW]U8lPNa]XJat.aS9o\rO_`EGlMe! +rNg(bNu!m3&!G4])+.ZB9hSieB([U3)T?=RFIk&2;A;8[(c,//2][A$"TP$Xfrg_B +q71AHH1$AAM#T6El@Inb-4@M]6"u75F+,@8KtAC$c)ZFpga:R +Eu\1X`r`68>&$Rshf=!"o;g +A.#5.7us+O3ahl%O7==HR1D4'IU5g\]:*nU-0=8EKC9S>DCm0j>tMcFNqVccg7teB +5IT&@ge#TDhpDZ>MHu0*#r57u7"m+2:UjpW5^Y_DifOf*._=19tiQb?l +q?"ep)'.`:c4'QVbX:aYg& +/RXF%2TMk!maIj"D(,$o0(j)5pigJ*H>8**r*RedL&&K0?pStU@Bn=#Z+S,l;_'ir7BUfBiu!\]ER55:mE5$-$t:E +kUMZKrhJH`WrIG2q2`Y$;Z`+-_-JE4lkd^P_Ga&T#>tQ="o_[);5FE/f`DG)4U!k^ +s5W9Ertk2Ii"*tikNBj?rKI7u[D?5Os5\Z&IFoJWZN(F6>&=P=d$i*2XX9:Br$t<: +)H'nc0.RA]alaJ_K)ttolp-7a80J>)$NlY3_>1s0_T_M4XN7]KLl1PT)QD!`g@>oh +MGnL>GYfu\?'[@G>Wc)O"e&AP2-V:D/C3Z9(CXtRn.3D6n("4UQ7$cgdsC:7qO=ee +>=1hk?CYc"Q%E"l\f.6u+9jG<%,Ti9uMsE!u?l53DHHN8ZQ>BIr4-/hmNe:'%!tmg%m+2nu%= +Yf.IZFn%\(!Vh.W,Oh?)rZ&p>IE^^lbTj7^UM]X%S[8b,bg.)eDm!X-gVeEBKD!96 +f$hOVc]4C*4DooHr0["]6d.b*0d#dm!aG*]1;Y&_ml+1[ho`I@NJ[>g2TEGtbTF=C +;IU"JFq\l`i1l=hE&fjEr$ajX$pJqOhjmA>DT#uKs?gtj/3Le +[g2oM01%*Vn-@p&?Q\lLlsoVP(J;TK$s[!f[*-T7'"?@.TWAhQ;=\gRMGpX`dq<(f +bHgJGfabrD3*U[2,?Or^IsZ%hZo4cBggW'ks,;k![.4'DI[E0BC5i0oc1),+=4_\q +&-j;K2AtO>$i#4$1[Ttjj?'DV[oZFFXu*YrSFlbPd_3&C^M]c.hF;jtMuNHWqU>Bk +npbqD0liF7I%!'Ac?T+ie>u108,%@*(juqfIu2?3\S0)@i]e7Lruh'&rLBMREIZ\( +iSGXITD"Z0hdcY)5POmSgrBXcB#H<8@oWB`Ndgsdf$M-56N23^l,l\PG<8?.Rn1S7 +%/6&,DCm'9;UQ?A0RJMn/ZHC_\4OY:doGA8Z7r2H0LmQSa7_ip6m0o\DZN6B^ib#3 +5k*[C,29Frl<,A'Y#kJL(\fg&Haf7:[Tek"$b<1)Qgi+B0BbdT\tcTc`\(j=:?'jajEoIq>dT9'W;e +UYDFa"],Kf&-(Q"d!tU.>JPL_QO"g%`<(kn +,74S4A&J?*MNffhnfL=Pr8D/\j5N;cIlg'n2'Iq^s6I(DR/[`h2q<[@NT38"K^a[V +"TP-`Wo0;,2Yaoq_<[u4mAMJ%-++Msc.P61mQA&17B+$Kr)'E!W(('=Lt +)j6\t;:T6*b^YF)l`4s9XMei$^)^2-A>3S&"4+M0Ib^o +;P_WlE%ak'JP\9Hhj#/?_VmRt6CbPf6&n(E"jF4Z5V<$PTZ[M9)gb7g6S@:TSaC:= +$F?Lb4:KC-Um]?#[^[Q$EcX=FV?b5<6saj+,OPI7B;Cr48BjE#00ao5K`s(6F=H&ei"U +E2O;N5CC/-r7N:B[=67[m03g]$oVgu$OW7A3@7`DAu[,J3/3b;2[T8OQ!sh[n6D*^ +4PL;s?d3Qki/\'>mc+Cu/4=rlCG&pAS`,ZuDCnPOOdRt1Qon*14u%e+rPn:+2ift&ZnrQU:F\uG^u9t@Nfo(,iq:7%5>H::ZX>TcaUZ%uMe3A0* +T'^%#4G6nX094IN:)]+^+aV9Ib[/!')$Y/-hdZ3[bL-&3NaB"Z?%DObL*)$I:QBE: +%IkS9s*6itLOG[7G$4gKb8g070()Ls3PXo8IBWstcR(,+W*b$u'E,PN1^O(F=_Mbc +!*q'uVM0-!NjQQa]Y0!0:;p=u`uN/UC/6dh9=E?g=qsN\.+#Y8M#>[,B>"K4&cl8Q +aG%\:>k8V7E!fF1m\r8R+SLC$TK:\o3!ekFga_XE(@f/9,-\%/TO."e;sL80p+7le/hHWq64/hC ++]l7m97ERY6*XKg.>!%`KqGs)+&l8U!)cl'^*.>IW*C8MVGLS2;Pl`4:neFN.RCC+ +pc&99J%dH6/-'#_"Vq(eJ25SD0(>!U"f2"Qq@@K1,/TD[s#I#&m"s\^Ma'2rfCN>^ +isLAP!*d6Cr5TQQ,#Wr!@LtA\kQO?gV+6..e&,.!U&'=i[.BJ@n0NntP/N#]q!3Q^ +<<)bIr"!MC$cTt8JDacJelWq"Wi6K.W=GoY#$4mrX/j+EQ!kEh+W<5Q%,bKEmXHlA +7$g-,QUhj0ni=d7K; +SDIuESNE)+kl4Dm'WQM,0mKq:<9'RT:43GR? +#I+Ye"TXuHPACBlduaf%==&_s8`WYJ$]#1\*907 +HH-A5ZiCp3\)ZI!!4fme'@5p?mXuDOfGK=r;h^ftBFA&XBk8o2J%Y_4JdL^8^1T?MeR\a(VdCF>TC&JHl_.YOUV8r`^:o[=_9IKVIZ3BrRj;I2RdfkTWY_7k^6!s_3nNTf3T)VR$J!JM$pg9:F +UK'k +AFs[Kj3Ja)LKeIWDPGqC@!H`E%EgSGDGEY]1h\^L>T9k9"qa\DQfsd]or6f'$@VmUj%/WB0$K^2NmcL%C_\Of+kTW +a\;uG9fiKJqBU,Vgr.&8.n-CZ0&IhAmiW*_a:0!MM,b +=b\m)^HB[Q;?1Qo=1-h]R#9i/G[W*'e\W:=dS +o@L#@.S>(\MS+k)]HH-6'R7c#Y,Xf!*W/RDMT^Eur8lYJEim*f>-HQU0<5R3YMj9T +W=@EX"d`9p&c<.f/G;FW+Wjq@U4n/ou+ +g^D+B!L+;:]N4_jp^bg'J!,3c$OFZd!$\_!+C#0r'NUS:;32\k^n7f;pja,Da7CJL +c]/LZNXj(uf*DNAWX;(] +nB1=+o$U>G^Af5D5E@I]"QtXE,oM/7BtfuahHoIX +(0^cL!J9P"Bp$kB_P\`9=^`*h/AO$lCLW7cKID&&82p,G='gQ<"Xr0Z1=X:+mq`U& +@"GWaIlh^9>9:;)mgP3ed1-0P=IXute'd%]$\M$AM54]CUtoe6R7>W4515E:V#0He +T'W+45PVmd0AFp;!4<-N-*')%Z5#$h,OYa)tdmf"X_e3,In$#:="o&c*`EZpU +]jDg>""+&\K6_M_m;q4cI-Q'2ZjZirQB4cNcXr5<6f4ESP7& +Pk"5\;m]lh/._=o2(6cf'/!\jr$_H]&Gt,m2UNO!HZkVUH@F?Xo\u8&X.s:b!e9Vs ++kDbnhcrPKEg\*5s%if3CB\j#&[O"6Zmq979]h2l&H@H@A,OYpbnHcc?@[?,j?\s= +k@LDUSJ_8!$07Ec\&Qt2a/('5W@H6*=Z(JJM>VR?ShL2F5Ma;/#lg5c./:O\r*RM>DClk[i;<23T/P)GgWoS82s]-\ +k3ufCiM1(e1[5mK0d@;lEtIg_1if"g!6"mD\dLZXq#BS5c6#EPmJG'-F+F;b]=E-0 +9XqKaGB5PVFCQ!]jsH9RgXp_ZRf'\?q"p&0gZoa7XJ,^m5FbAqYFfp6STLNe[(Dd6 +WQ]K9>[5bO9jo8\tF.q +BF(HG;Xj-C`b(pa^i."D1Db!eMYe%R]`W,P`,F40!qfW^E4)!p[u-X3:Dk +97>>:^;0dH,#;4DVm=)Y?4'=fMq-Z1)IIW`Dcr>I^qZTjYe9\E.N"t\%RM46),sWK +=Bb,'r$P*%\eH8/;?2E#^'n.p0)j2je]7\F,5rsAHqt/r/A/l-577UdA4AY5ZD(V) +rqM>V!"&/u$Qr&,@p)'kms+gF=[4)la,33Wq'fap,lZGr:NY>-g@H9p@=Jj(?Q9f2 +%fAd"@c?8f6'uS3*?P?34oah_K#[DS&;#C;2'34r+%?1?i#glQn3NdG\PQ.p&FDVmJ?B%_]>#e.%!T!RN4U#Q5L$9_aJGp0)^`R]S +eS0GCWAD^`#lXu,j1?fS\n[CTldLCaTUDoi!?(k'64gX,E.5G'@/eL:arKch(hcS2 +CJ!o-8a^8J#QE>>K`M/'"[;.'Ok^s.!2;bJ[M)2,81&LJjlHpJlngep"iOSW`6?"4 +O;'`5+_5UucpY*gGb7QIhT,bm4Y2^'\6oXr<8.5p*&!qgopkVq)? +5$Le"r4b3VHZt!\AWUq\55FLZbb$diJ5MC%0qSq1+o!Fn&9,uZ,=id[;\B&U_4P>A&W5tbt +f1[DGQRAJZ^mPLm!S!iCS*Y5ei&Om>EWH7:5^k6mJ$bY?jGFa9MDLbfpeCiuWZAl> +-%9$4XHd++nPd7-16S^o;l43(=Te]#6JM&.L\P42`rCoYgLfQs=X=ia.SY+G)P-/( +Hn[h_@M._i3m)A&d.P!qa'%VFeg8gG5pr`uRdfU2`N/_mYKjC[*A_uLO7?`c%2XN^ +C]s`9DQ[Kc^GnDHp[`"nmlQK"lnS?`^[]JjPEB?eUF4;U:)!O&cOiJBH&LWS4KO[g +QDjeDq0ru^onE4&MuQ$1kM=t3]=!iLH`QtORlOho1]r0:c33daHM4i6NGkn0I^=q* +eT0C,MlG=j(kTMpL*(aeBhPkM\h_^>I+it9Btr;p/RqCidM-irPl-?:H(d%4_7$'\ +HVoSdAgi7\Y+_V2hN4oACS`N>XJMhD$US`oG0r74Es +It&]XVZH>&XZEC\MoHPP1]c-<^)FD_]$ss1IoWb#IYgRg)FaY%'bLQFb5r-&B;U60J*4`fYr0`OGSImm68[K-6DKcn5B6Ln(NWoR"7rttQanPq6j +\3LK&X@Rh(J>OVaH6$'AcpB*irRWBR$j^[)Ya.I]PR +7$/7T0*oSqY7a@Tj?tldTbO.gRFn?._%qQ,!(Hn&s,rW'daT=\Ec2i25InBW!Hiht +rc_Bjp!fh`C_H@s$[Q%*HeS[2!IaA"".^=FH-knQiS8;_n:.Ym$`PA'#l[b82CE]- +-ahRH&c<0>..P4Q+%lW>_#f^=>X8^R1U7"SK2c66gVI$L2OSPC?ifLhdtq7i'j*_K +n>&Ie.1*_PobJ,+AeFDgJZsZ]KEY$XF.,A(^k=s7$R?[O^CANDg>(02grIts`1E7\ +:/qL])e)B[7AMM(#"OK-^qQ1+]"8:i'RI?KoR+F4n6tU_+nEgoL7f?<%%\In!+5MJ +O5\RDkkT&0iNpE+097$'27tnCL3-ha[)qfWp9R-+^[F)W@12JW[FA!<;Vn$9!WKhq +MgfB%G&7`No0no4f1X +98p,"1aP/.$;"3B!WG$WXSPR@=&a4Kf:*aqB3sku +IC=ZPCGkeDJl +Oa;@;jlUk=n/qYKn#U1#\<6U1(=mE9N;qUEqYVK5eIg9Xj.+Lq4Bu)X)rBF;HM&-h"+RU0?=o'$MT +B?Q5t>KZ__+nb\ZJ3WG<9ZlTpb/$QbS^jNIC?g0]\R35?biCUX9r^gQ=r_+=bF^6o +[)rf_c3UdO&%!,U3FqV"1;iKJ&U'm&VlXiMHoiU^!8r?EZjZA1*p9OsE*"?s'dS-b +=b(-fVAE?"\\tfua0S\+;3UJ!;!cZ4p1p_un#?kNLjbpFFA?WHK$NSV4fAMaC^7ge +$U=dac\fVlcWBa)RK26"b[O.fo]!$P"`7q)#YYBm^U#!O+&B,mFn.u&q$iS*: +^ED,m5=\fT!WM7npu(8+Gb<=J+j[Fh:G`+kir[jL7QH#TUVR4@75=;*)hu,!s3__p +A-)41NIV-R]`heP$c)ZFU#8-IPSuiH1 +fE1^+f1?5I&BoV4ItI]/#l`A:TNZ2S9i[.\,)WUTkh#_cMCQc0<6E(.s#F41"V;(> +ZdT#QBn99c=[J#jkmdV*k5p`;;nG\#JH+G:8R:W"Nj%X%ff3`S1`0D$UN:NjF8s +!%Y8RS-?iW9Sd\t"G$^f0(>/15U'SRCr6^d2>=L9pTh'n[H.SH)^i5Eo)]?d@LNHp +"rdmX%ojR_gI_Bd[_])B#/@5c5Mh"C:B%pCl008;?b8mZmN=[L7XDG0o_V+R8"0qF +0;%SV4l&bWIaITQ_s$*IQU=6XS0r[:^[=Ldphs3^Y:fqUdk8mW!rq/M7Jk[V.e*Jh +.b=RCoZ+S&SfTRTpWN^=&`1cS>Nh2CFMaXpE3YPNU'`e.@\5HqT4%Xc`pr4XA)c?: +2FO?J/>KmCBQBu>[BIu&D2$YNTgb_u@Yo'(1jOs4&Ks1[`>2hk<%%I%mbH%.6<>i@ +p9BF338M@gU`%J+$s0g)45D>Abn23l[S'?!:5kd1&3Y0+-7?i:V']< +jUighg77?i7PlcdO'Larn\%'$IX]B%aY*Fn>:Du1LO*_V(%_J!#1iMfcjAM)gVJA6 +T'f*!3aWn]e;<,`BldR*%IruWRE)loS+6IX"9/*l[*oLC0t(l>lUja$.\f`F +UJYE(Q"4261IW$59c>c=,JYeRDd$n+F_[R:>**6?Y`g3J?5R:PkJ'!n"Y2[_=VBhZ +)s)rU!(FO>n39.Z]cb:r0\*iB;Lf1Z;NY%KfLmI^!<-'#4R7o%$b03sf;T3EVZ7Y2 +ZWkU$pg8rfQ8NE0hVpaHJ"bQui*TaW"i5\VelNB3^j]9nLgJ^;LbAoV(T7XfKE('4 +j8!&DmpD^r.$4=enK1I+.E+KX<>#+BTf&/RUb[!<`A&,uO=qZ'bQ^"j(&(.9Q@M(r.6`^GKY` +s7,LA\;mlIcAMD"8lYiTY#"J&9HE/CWh04mD1MJ)S-"3Ebj#fR+/XVc>#Mr$'07)m +g?PCOX2A^'6H8O;*At\LJ=^9K=%]"E=jErdSF2K&AhQ`]b>,DLA]<>6`n7(WbX`&J +8d^uL&i_a/?qR0N,d;fDYDI7j'PcuH +n9(r@Zok9YL0r1]]Xs.#?nHsm\,ba%9r),TOrg\J +rOeCQ(J`6@X1pkBNohNX!rI'p^ZI-e1hk$8SJi +-_kHa+F4j"fS_L)$3%PrkI5CO&CKf +X0ffZ+Q1!gD+7Q\28Od_\+lSfl[ei'k?+pXd8MlAObU?AQ9E`4FMf?[&g^tb0Ism_<#VCGaN*P:lE(9m9gd09d#Q$JFmc**[`r0cg +k'Mlo.)LcT3N%2EB,-7E9nuN)5&>rBL)G$N-5[]1Rno +JDe0Iid\6=n/kURn1;]R`;Hg[o@,6Ql3b5i97<6dIN;Gf6jktbYW6f3HhbI\.%pG- +SnQ@Je[#n\j<'#('S\hc8U'74Nj/=r@Gi.;r9O.8'[kMCdU!a>=qfCf*C0,O#P_Y( +lCmBj6+LX%`iHVtVkhI*?0t^")h?nND;o&*2i#6`>6(?.Y^jmMT`.dmH8`/PY3>s2KBaS+$pm +ne:L'dN\Gk=&jr^rp/NM?^FSr'44h3:fA+,kJ*lN$M,A!J'@pt8J%ZtTNk?u9ZWP. +q8s+p!P5TgZnsQIpg9F(r_NLqq6>JJ1Y$3Q+B8/.!WGII&,^?!fC?Vf/kOChmZo[4 +s7Z*!p@RnF5O]`t_7u$1m4#`N8\k@dL=k)2W!7)Un@u9Y^V%Xc1uGWAktY?2.jP1p +*?aqR$c!ckA[\X;j=D*.bL.E-anF.n7nJk2G(Kfu5Xpu4>533DJCNL+_#G\[aU,Zp +'7;-W"iP^hN[4`?Ym!B:&FO?Pk%"K.&8ohQ47E:l/H$P9pc2L^3O!"!R+^>\nh@u, +A:p^=e/`;hW0;ITjI]KjhHOUerBc.kEsus31;);$ +/u#p78A76ZI!:_3:FckrXJPj/L%8n5mIuU!LDs>+ef!:JbIXsKrn/L<[d>Pmn<9l_VKEN'0'!4,Y:$4<%KE\U#o,e5;H@]![ +nGi'hg!_+n7siL0ftk5*M>Qs6;+)!Prf>IN*0)_j4 +Zo]5*pU;rNm\cbNb_\&MKV-HpeB*,ad-0r3N5n!t&%==^D57:6Dm*fHaF>H#mNs0/ +s3KGZJ(r6I@m<#+#Q0'k%/!5Cs6qg4dTM+g_ABTT%JW05!f#%k?C^/,0=\UQm.,q+>7k`3;:4 +6>;%^1;Zp-4>d4MINN>JJ%XZtKE.K0i.%t@C9UVd_1*UMFTI/hNhULUX9]X7,`D`u +O-LC=RMW.X!PPoAJOcul6_3>!dK>$a:eET"mE!P6nT#r:CNK,#D!HaM2NCp_]SJ7,?/%G60&i8H"M_V[5LN_ +$\/pVT*<^VnNXI4lKSqt!XSSQK[nUBf@Ru!eAjMt-T9I$!<;`^Iq;bVKfU.IO6]$G +IsEY2:DsWWOI$t='Cus50Vp0K5;TAPmApTj-i[D93r%a3E#AS&]!7ka@dGJQZTJ7k +^jkCZ0)-gh5L9_t(X2;8nAgLgJ3WUY[U]s=^T/ft]fr=(2R:%HUdc#"=mCnlL\!YP +"i(lRn1W&\/lm2t(((?U.$V7)Md;T7(V.=-0?#Y!`Aom18Xek1*H*Tg[`aK2(51") +k?Fd:9MGh^S.mXhZ2e\AqCDUt!5!dE=K3>Q;/(9EXk+aN$ +$cJ8]KsW)ToF&ou+*JV$]AN+i3M\_E.!HJ)^0aFF2:(dH=U&7,O?RS-IG.Bk[#t8h +'BSgd__4(\^Zm'"Qt(AR&c%2nU`YqemOb@9\;Y`X.IH7qg(t,*5FOrcDjK?D1C_XS +,_eO1aB&TT5+,(?FrB\f2<9OS!pi;kOZY]nH$,JY6@3F,?oqbUS7ISM675bfs3^2m +BiOeU/T_dD#N-,K6X,@jEURa%^U]C%q,5[WZ^Jj\/bZR@elJ9d/Xb6BZVmP;_ +%V\KEWCc<"m`Z([rrMRV$@q+(!T_:QGPE/l.M36.J#\\T`?@+d(;W5h.PARf2LK7] +pnX:5a`.I`'B>r:-VR6/Re?scV+u:r88.uMch/mhG8hDo11HIQVMaE[Ikle,T*"TQ5RUYam%"9.23Y^\eD,6&ao +T\668[[Gq.aTa8K+3;nS%URX@HkQCNLk?FYh$q-^La!es!j=2+d!5QIhokt,S*>nA +-N@4YFF=>Ul;H)(Mn'W?9KYHtiE3;&TapMiB!_GqVYb,]]=#War^B9a'Wf"gX%Zq1V1)rn]>0Z5Cre.FP>_OLW*nAI!5 +OZGc8O;mL495mfT+o^LO:dM[>;2/__aJ1<@UHHT1;XUD6n>If,Cf#Jf&1rFh\tK%W +i7T]08-'KJKgT5YGUH`=8hWm;-/IO<]>B*rT_Y-eF5-Ms>D%M,!<<$f53@?-6V(Eu +?rKd-K@[f7_@QFF0(gbJE@:PM%f?S,6h"H_oc4Qm'_]"hJ8/9)5]=5!BN6:lW\,.` +?_IoIcimUIYI=L[$31haNcdW'J5-5oJb%fKYm'%u&G?0UIpQAfDJT:Y:]%dnILL_u +%*.oO7X/Q8qM:kngKGf;!h((G+9fPI/qCm\('+7['O"][?<7q/O?^Ia+bAR$;QVhu +p^clGo3YE7XlmGC0,.:aYQ1(:6m2k8AV]B*,7:b$MR+L"ZGP.dnFEY74o_#5M/B8W +mc%d4mD\Qba*oOlkfb]"ljKH]*RFbgg-j0bm\WtA5D"B?!!WC.5lQ^&>nHgEi1=j/ +c3r?hB=9,\Zm=Yj:K'tU?"G_Z^Immk.J?dYG[^Rb$g0\&"[44>Y@>$iOJ+YSZUj@Y +R-gcnFB,-KaO?YjWSdj'3Cuu]s/[(7bU?\k#]!lD$pj)6liP<.P7o)On=G<>!5\o$ +"[iq96"BiU"Zoik3)=kFInsfV0Vp5LE,I"JUQTpg6U"dgE2eQ`Y>3L^4X=G42ZokZ +qak/gP!3_1IG@B)U*X)C,@)oHI8EMHYEt,jSC\[!2 +d`2Hcp\RMEB9H#6O\U$:SnodFD'rWS+al=8qI0KiehT'qoO'K>pDp'Ep7NbLhtmhR ++/$>-LqM[-;$uO;EARkqoR&Zd>pK,p!28B#.'*UI59&TK\9i]Qp[0Bb\#Xc*(U2fc +@h*WamV([aW3dBmRTuJ#<@kH$9m7/G32Ru`VSG"4;'^5ereiR;`q]"R"lu#.]uKY. +45F&(jpZ_m%fR,NVStqhfP_KF4s_[p,3FAAN"s2/Bu'c@P\J!VCU(r]RdGY$0?\M; +-i[uC1HGjjbq8%ZeXGl>+@^kcl(9W+I_1JbB-[6OB$tVP8SDhU!W&jLba/PO0DEk$ +m&*)(9msYpS^IFJ'08DKj$ofU)ia<(2?iZ(+S^Gr#6k-W*Ce3iSfQq*3l/eO5PtN% +ps4EFD&KY[]eKKd3m.F"+Qr`AcM(O:^0,+@`SXX,/][,S&L\\Yr +m]KaeXr5*]$93("HF=WBCi(grimkE+cj&Ed[Bj(BCu +56EH%T)o9c>Vc-#@_U$1rp+V+EJ+ur''0NN!:X?ekR&)u9I;<@i."=qHV'Nm>2i^/ +F03T/#QE>AH8Q?fJ=bK1R12H7bor/M!7`g\5lc;J^)m8=r^EBO$Tn-^m*ch1Y9ObV +5Gp(9Eej2_n#-b7Xpop>+7ii%u?P!1*<^+s$r$O#qnR#K2.6r]\ +s8!>Ss2BK_IjXYl.e(MSo>jPo&1)T-!Vh3DYtKOgn;i=.h\G&[_W8`js5^rO!jZ:* +OThE.5b>dkgc-Bl!Pj285J.OojNi\Q#O13Na1bmDP6bO24sn#]^,\*E[5G=fL#:Ao +gt3Inck+jV&<'T7YH&25XUD,1%4-\K?XFlaC8t&02:f_[`Lf+qrC7N&@A*`K5% +/h;o2/WM5/#ZW=*jQMDA#Y:4";NMPi-k.VkKTo+))G-kSRh*q>_Q'Hk[CP8h\Im)D +R#]$OJ3PdRR1MP08*!,\,g +0`pE)OPd+?ckci_f>tVJjh>:]T@,jZ_HbuGM6BhD/^*c_A@a4CNllIur)B_KPY";8 +js>l>Op&,.R)oLd'3%gk7>+f=R#*fD37H2Ii+&ABpJuP-efY;JYEgofl$@3pY61Orh&>C8R0N.*,>Ym5;40'It3#j +pr(h+amh*L'4Rjb`_B3cT*4Z08=q4A>%_L%'#br*]JZiWif]o9n96CITtZ#5bct&S +gR(4-YB848C5\Y-B#cr8n+P55c_l6&Pk+36$KO^lCnUd9%AcT`Dh[c&?L$S,e47+f +^[_.gB:UWs$"YRIKZcdHZd2q&/Pr[Gesu. +oX"c7ikHp'@W7?%FAdqBcncF^Vp++H^c3AU2#1^Lna.p*?`c3aHo_)H@c#'a][HtK +7qYTRf/[\#Sk?ZAc8gQocsnf-dn@c^n5lR&j#M,*-l.K\9l=9hPka +OV2&mi+Mre.!l?[37"XDs'?8CA.m(o@!;ddg6G^_bR?"9R@.2/ZX\r^8S3./2Gcr6 +Zq[%(8]/c/SN%+#qgJ'#p[cI`S+_2Ar\N.gZ\Hl'WdOcj3R8-DgspQ&gFC(bT:V5$!VJhmGukLN?TjdY +*R4]cS&N_Uj?ih6dW,0hhP@\iekrg*>mr:b."0i\anD^^*ReR"'`>c?)%S/Yc^7H^m?qo9,``.)K=dkBIk'> +/08K_pGORerBucTYXhh!Q@E7!GHdMt<1?*Ob8/TJ7N4eoK +G;ul-m>qDC$GbW!#4jpIFb%Nc$nV7)U&NZo6Nf[Q&,t1ZW`=pK\[2eC0,ik\q2^h5 +8';UAjiW^+bt*P3Ur"fj@2LIQ%YO]&Xb$oWBU*YGg+0=5oKV3tFk?Y/N1Jo,BeVaP +Uqie*'`e&nrZAVY:-,*Jn!s&o'3i7ume-V"WD;s_^%.fe2M1t,S@,0m*I$h!neJB4 +ap.8!'F!.h;P$1qeHp3uBZ:AnUBNCR=#.^Vo]JLV+R."4pT.D +'it+b\\cu2X)!\k2han?_oBhDL5Vi'$=gZWZ*!A[VS),Igc-J]&o+_9CU3!#n7LWj +jk5K%fnnhDbA2-.RlE^OV1JJhb#C`'RA7b?A@\S?5dKQ=XTi*:E_[FTk`#6Q"f6]]D>:MTC,K7C.&s5H:>]$Tmckgt!" +_htVO!j>aYYF#Bp)X.d"d%`Mk7k]1'P4ITPH?DAsHOK6>S[=IOcu/8?+!3b?*(HPA +6_BpBHoY"$q@*>WErk@l"onaRDZNsrJ4H?-V?O+#oY@d$Y:f_;dZRDO`k?jG +p6>`"s)\4g-T.[kki"*DID'FXudYES4])^)X)N=C,&DhbY7f6pNm0T,dil +rl8*X$o($H!1(A"YO]P#9TNb#6qjp4_^A5cY?A-V]'Pq7#5nMrRXi.kVEM\bp<##A +]6gOP(l)T%T:Vd+G+/9H3IEKqB;b!dT*bAdFQi*ji?+Zt]lc+&j&7+nb_LRn-MXpR +iM?Cd\K(M&e^ttH_`%hlc\LK[iiGoG>l]lbOSmqbjJ1bl>Z^rRHjX)@#tD +d(gk(5Ltu,&KpJ^O`b7dHZE'f/?&UAUF_TW)uOVUZ(5(,:X>RcnYU/WF&)^\GKE<] +aju;X?m,^C[&7Bf1hOpA)6WcA2N=&cnmCi;L>W(-:HOK3lp^!p+.'CVC?D"E"aU:E +^I#7LIt]Kcr3&#a[H;jhXT880o!c2'8GV0/J("6Q?ff!#-[#WWBIlU1J#*/f#H,rH +>lPI15^OqE4O]@=1aC@csEs,Y_$a9WVu-laOF5/RhWW9!jA$[ZZ7pV,pH'S(cW6cabM +Q8d5gJD5h`T!4&%DW/`B$RR4#`lBUu7R.jd*ru-BB!YiOW +q%-ajR&qFNdLWE;&#QjkPK$**VM0kJU4dZ`Aah?jFu4SE&E4c?G'+%X>Cna*U!eh& +dB`6BIV9NV[$;1KICVLSp&hb +50D_*FCGYa&>O#=oVe;VR"G1%N:L1%jcNF4?n]+HN)#V3h:ZIG3ng$_mUr5GHuu6W +G,YpVn"W!-JfYZ#h^Hii2!@dWH9d7gB[?nl3iA[D;$W[i#+S]?/h53W/UGWu*d=9T +4m:Q*4?.p,G[hCNZMIJB\>gIH2oO@Rm^o16&Rr9Hi5s*6#UL]C]X +KA:pc^?h=>bFnXF3?S"HdFdXV`]^_Ham[e4I;h=2KI_23.="[VC)DqC4-kNVpkW$5EL'=b5+t[+Ug7ue[d:Xc +p7[>ihp2K*AHVUnqp5`*nNe/`lp2^7U>.ea04k.T'Y6(r\MI$nF"6A`^*P-HpgcSd +p?AeCB>ZqYmS3KA@Pf8.-/W'6$NC(q`mPqN>k[3197D+.mX'!3oSoIf!)Lr1CD8=L +]\Ambp)RN;ql;#-4rF1AeYkPG_EU'pq<$)G(\U6Z]fk_kS"_!nMnCkYFkX>&YUa^S +/S2OKBsTjLK4J_uE+-A3gU-k^P>h`9l6@:6rO?>M5@F*b8tSR!K@f,gESCo,O2] +NttoLr(.97ctVk:DA]@FAIA +@HW:@4Z:$l>\Gi,K)]uiHmo!_otLPEru@S`9DH9;jQ9[Z`AW4FICtMd63NC&+Ii]F +rl6[Da]1S;!Es9Dg<PSoU10bipT)W5(Bn>cq61b`?c&aZn^f2qY2@<_L+@r,6>S(`E_\ +fAi44nk.@1EcENt<%/Va!,>Ab<`FqE!ZT&V2igp?7P!k9'i%Vk>?(!Te;h]k_#Mm+ +eld,Wl2UFr??5g.qL=)Vm@!Hn#8mOBl$ouB+JqCEF1s9^!_e\cs%Yo[D'4>Vs(a`V +jR?g1;)<+%fDg*pUK@$%r.%)P#QJRN"\&fY!1fLX-!Ced:Q("+eaX+A5A3\h6NQ)'C=6 +*8h(r'SL\l8$m<3S+C,.3-"V]j`UChFkd^Sga,\-aKD6K@:au"3FKFV[^?A-mmAH, +d+KRaFXR7=:V#=P]@&u.=%>8J6J]mQCD5'>/FpcQa^o/G.^URqG,1'X?Uql`L9>Wn +l[tGf,NuE=SJ.`]6?H`H*?M%!)@JM]69dS!4#)W<9@++oH<<]5K*a\T6[s6R^\cEb +PN]Opimt,Pk`lV@[E[p;D)_ebg5e=IcVG1e^kL,WY(ZcFJOmGBrRZ:q!IjqFlADbt +Y./mlaTj2[^4%d(g&%-6C%KbCAsZio`#Q4hgnmf6P,2<7)=h4e(mqss%FtGc2bnr' +mTbj'Inq-`;^0h@NXg(8q6PdmH"$i&.*t-V-ZcjKg8\M/`4kl, +0BQ?"@DAEDqX]$eh`%9ZCo+kW"225M]sAfoIi."$!:$J[kb"FTr:FM*aT'`bLc_LZ +5"-_Z.GnKcM1n1\l\7,-Z(T8XjaDB +;C#&ZOs_M(^9JrM+PAN3VX7V;CKW*&=P6c@hHdk,UBIdo,_nVWq=%'r.`_Vihd-8M +fj2V].KAl9mjZTJWQ5)>pJkdVs+fos#\[ZK&-8L`Q3:BADO.#`V&W\.^JU/2bQ9`a<):o0mO+m6tc>`"Oe*oi)H\YDOfd%q6H +iP$$N@'CkgTH-NfInOrl1TS!Ag!e%+Xj7%k!WXt`\naV/R3_8>+=!PW.VmH3h,Ti6 +l5]A;0X3$J_>f+5*[uSXHZ)W-:K;j&+oauWX7H.'\F:;hl5/M7D<&f$q!,"+9fHG: +_`.9(O&&gPa/cnf8rpHum4!8>#cJlEFLeCXC<=U?jT#8N^WFiAYQ'm9EW@9`:e<.% +iX1q^hZ]mll[RAsR<>UJ-EI@G]>R\jEOASG4.uZS2uYK0L\cMUcq6dC@M]%8-iH9g +BUNtN::o8#$S^GJeqZ20@>G(O$h>\Dn&!'DKY?)XXo,C%#Pf='7=#+Z0M)ZE''t+= +W'E/YeVrX+"F9j+*:kSr--Va@Uod]FDpuYn2_71&?$>#3m"1dWa[s86VOi"*1H'@' +N"5/%H^0.d7"OYoJu8AHSXhUA\uM&K/IrDY"S@pHFR^U0$R/f#1!R?WNP))^"\Y<[ +Z#0EC_=A.[6a40[E,>i&HO&9^M2lbQ'5dB*5U0jSNdA?iHAG5M`LsA0Uq"=)0`^J& +a;BT#d:bEQh8c>ZjoleY6RSn]W@#d02Ti9WFJoT7ksFmi[WPETG1(SV"l/!04jZPZ +0o4,9:p,VQ^QtQ`'^3#0oEQUe_Lhbt6Vk8>h`M9dnDYAYg'73CQMT^2 +@#0=TYD3)K7b%H`0^bPD0)b>:MJo]:IrR4Bj3u3/5JI'GK?O8.A*N"mQ9R@>r.6_B +O#_'0.`Eo01QF3NpcJeA@":>obCL@X$>QN#1XO;dm*?Wf.mNXnofngN,%*(2!!@N) +s.M%\?Mr9(?iH5fY:*UI%"B&TrrD<`p6LrGp=-hEe\h>gMuLbD3jAXPJ:*:#c,KALAHjY5"_5SdbSR9]2+MW.3WRT"U3Yb"hU*DT^`2d!LPp#=m.c +j-8:GBnZM=_>hj`I!,kp+9'6i.&-'hrpFOfpXeDt+TfBi[d;bL9;+0"[Ni29r$r:AMp;"4MVd2;5"GWn_8s3&4Xhqs7gi\E^PmDJauf8i?"@s@QP +[t[,[0(/:@oLVjF5't-^;p)1ZPu!h9Pc!2'X0#m4/YhRMTaXY&VR/.#Zmg(#/u-$. +UU*(rX^j*Sqn/&5$n_jeUp%/2hrk,l60C[X%gt"fI +KkE;a%=526^fBWJ*ra6:iZGB"s4RE7PInWij]d.%2Lk6[r\#SZ^YjT[WS(4U\0DF[ +YI3qDjs#1`..JK`UZ&9(Kh.r++OX4 +e7/$%iVTYHHRd_)".EPr%[>W@+*I(N8'gn_#M37Wsp]b +o!SS*mM:bZC!PHqkA=J>h([ko./r]*Iu-b7-R+'O(feP5R,iVs7"DcYck8!`F^o6o +0\7a_9M.*!W)@j'&eCFtS[?A,G=>m4`]WO]rcXIuRq^#Te*,BskQ)d:i^OIdVbH_- +\q&UoJ1Vu1g0r][&(T'b/.G-T)`h";4BNNW>85do(uA:1fhr[C;A@Ts&+;+[&_D]( +)FOGIJa8cOejd$I&ac_3fN0#r\"'n1Lq5[/Z7R)68>>r).Ad*&)H#Q0WgnYt6-'7i +5QZ'q7c:^[F?bhlYEZc1P.It(D66/ElHicfR]3")f$`1"#B"@NDel'6CSr0>VOd"I +?5uF97aQ9$og&oO=)uG..b\B9g@+^!58^A]"]'IocV:+"f:oa_i+8aW*2J%0JqafC +]GU@[e]=Aca8Y_HZ6-6gIsWL3o*\.!k2Y>Z[c4+c/,lu*`UDA*gmEm^CL;D&0n#$D +`@5&k)p+6Ojc/nBrsS\o`s0)L"&MC*L'K_+Gim(E16+2#oo3_IRf>/a2 +hb]M9?+H]8I)5impoc$qJ(>pQ1a[CQVW-Q1:\pgcKnJ%X&j`snW;dUL/?L>L/7%@7 +Uor+@Cc<[^YqJ?)?LkmVe>&3NO3[qk0h6M(4aL]rQ1Y)\ql&s'KGK+/iDBqM^aI1- +s6lHbq.r7]o@)Z*SrN[16M1#=@t)&tk/T:X]CK>.eWj]Q>f(l6H22(h@ddQXqWq\@ +kEdC-\fCFg[4mDeJ,UADo6@J=IsQ>gaT'9cQU/CU`Tp!eC% +^RAAQ&W2'NgeLN?S2LP>(Q4NO'/DCSi8/:X+@eGZ/a^e(CX4&8`2Ck%<\`;Y1>>DW +Ru9$?$Sr]G)5R;%$a[YK+TM-J#5Gs6K%UUqWF0mLAGnGB\goR`W\]!;ZMJ;lqs1Nl +)mY3fQicXSD!_2i*-m#ll$n=FgEb#Es#ZH*V#Mf:S/GNpiW"N&*o7)F!_Co>$J'KJ +lb%qe)IMHn[fDe<(J_RMVHgb?7m8AOYEeFZE1LU4c'3-%jQgsa3dj3eIo62Ar;XD/ +o>1H=:E_0:qfiG;r%J$Sq.'H:MgsRqCrM0`ikqK"3!+1_^/eI:;=RTmLk'l,KI7RW +AYORo.&6hJISf!Y;qT,3mE#M7?.gGCR,Ksc:b-%["\6?P]aYiBp#uJ((I/@i5t8Z, +kn(cIW4SMOu@8Pk+\f=9XZpIp#S!5#QLYW6[m +&,nL,lbWT*?(F9ji.#eH^DHtoIm>N`dRu)bdOMT!at0^"MCNH%8uK&E,H^OZWr7h/ +$';p!&X^tQ!ctqr0L%SnT@1,us!NcmV"mUL0='gA`>!hT@*7:\l"Zf32,-(LVd0bI +N4XN>BAJf#62j&@"o-th/@QKh8cKa[77M-N;-QXtB3&KgPZa6i7VRuN_Db#C%H9^, +YeVO.GDc"3A^!$So^06>K;SEBp*H%gOUmFA4usGKe6L)Ped"FQ0bDLH5HdS,>)3)2 +7t#3:p1o09F`/B*_+?HUYa2_%:>I[[2@LdRDj\'[:tlg8XU,uJ#T>*!m4&Ta08XKo +%dteR)m0TJeqRDpK)@Kj\SALF$>hDnh,d(XY7PQm6^uNORRAtM8$N1o1_cqmdD[MQ +$rJ9,U^f\V.-+_I0V+*PA5YAJ"`<<)XQ.cA9BbC^<-L(Ic:?/hWk4KZ;,1J&7DH$l +[^2R:]9.-D"W_HTT'2o>lCjd9UKn_4>nYMeNmM["BTL66&-RKkUM'Ka!h]q:&TF-. +fr:XJc\6gp#pLK1(V832^U]m0g%iRUo82oU96b0#_G`N/I_-cfJ]X_ZcM/E7N#>cu +D/>J@^^q$^_>ba4][6bOBXg;e`#B`V$AS*p!Z&iUf_bjpJ("AXr+BI0D[3VT25?uk +Xfa"UVJ8PB-'gd[s2DtWm4E$Xm43OqdKb(S(B#m)=ub1Ar%B"!61JlTUc[ZgVprgm +9M#J*$1mTH=8d-RSr3Hj9ZS==!rfQeqXc-"F5,r_m%V/,O7q-jqR_M2miA9QE")Y? +]6+2$J&))VT+:bhCrCr'YJpG2#%$[!rr;uO;Q0L"q6.;L@G1$h97`/M`83NgFo*.u +A&?43cS('&HTdm8!If>?qPQh.nIr3Y)#eo4A')43@Nd:?Sdp85BZ*R@,G*a5roZuf +&'Z`?i/9\X=LuJ=0VM1J8CBA*$lQc6N@c1083f[nm'/2:?lQ_e0sA2QYJ$CPfm"WhVhO.bENDWi +ahTeO3$<^YIUW!r^$C0E0d$<(o%2R*#%tcc`BW>]d^q.6(?RjBn7SHoG8HGpJB:Z) +,U1$;.5I9KNQ*/pJZmZAlEu#A\j3CYWoXC6I,cIgD\NiH_m`nuaHI+?Tsg'nj@T[0 +P5[R`?`pU\H`W\od`GT"Jq<&XTYDq.@%fHnNPO?c@'L)i+`/=URcr\EXXiUg( +b+Adumk)lOX'k['EX&Ps@"(Cirb*P5/1bKeP]u%G5Eu,DrY"O9WH4jTbWd__R$(Or +.'"_nlC\:\rt?saUd3I^s0;M%MuUWk=T8#?1\fkW5h>tnJ%`9cYHB2MJ%#S0"*!?4 +ns:#31Z!LVEG@J&r.L(7Jale9G& ++(K$fiD3T2c_c\P*`] +A!pJ(AC;0%FCf&IH)"r]=]93r9[;i]U5 +>k5gb-lu_7nWs[scefQ;_R@N%GD&/pSc8P1]P-BZXn9AGUAnpjrUD`GO%rUq)Q-j5 +:sN4kEBQ@Y7/+ejerBrnpJDnN<+@^io'"[Q;o=);m)6'4kj_ +&Bto^R9VS"$o&S2*m"=S4+d7+Z[d?-0iR3IbF%_38;rq'S_,LDVn +i9&Cgq(s=OVTqUK2V#U>gBn"p701j`Zuos0%HZ(kAX%$HPl%L0]5&gAl_t+.Bh)@k +a'37jH3,`/#!O<,s&ML4dYaV6-^G'U7CNb)a><4u^(C"oV:Q@rW7;%s02TPo&jE,ci.jc:T^Zh!<3//Pq0r7s4s5Q.@k=VH9,.%pLFd,A`>cq +mhYruB!G5"J,(Kc.q2U+X8Ij^FkXc>QA";$jWN*/-=\*d$%%%od%Aq;T@uh]Ft<6^ +h*J73UV1pa+0,A/;;1n;W#m(YK)@hs)0#I@^n"Ci?^qH$qE-t##GMdjs/uZ:_>iD" +Mu2X/gt.mZ6J;Cl`>,l./\cE4=Sh!UfFR/?+9F_j)h.Zh-q(k;=2TN8-jonPYD7r: +jW99Xf>Fl3S)5Mgr50>%Ic81CiGTbEI:64P?akbSYqGC:RH565b7?[8gh0=SajZ3C +/B(_o8<>J=^c/T-Un91$c6)E2oX/YL)q\HhS;s')[`[t!1.H=>UT"ep5U4YXOM`0Q +q2=`lkPs[o4@/g>rsptB+9G$dRG`Ql2tLAURq:8R):Pb0G,hj]g>#-sYAnU7\f_1I ++TfITpW/sglcGd8k3#LMnps@[fC.Ymlti"Gs/u:k5lO6$SmKbBYJn8nPcloboaW%a +hrlO8-i`p-7_m@L-T2$f,9WKXmP:iTbi1*04%mfk@^E2T@P'KBMG/8s;3B8A2s:Wl +>+UbaEJ@RSR'.41 +jf:G"Zoo_T^/E-^R=2Th4]VmOT9N@".]V+#CGtDA([HPp!igaQs6ofV>knKaG<5"0 +p:<]m>HA91r#>=:K`#WSofk2/0.#":b&t!^K;.'BX"m9s9[ZP>[+m2bZUd`[nd;k3 +b,;90X(s)ip%UX.n3=2"G=mpae1]&D!Pbn)PlE#F[(Uh/ecl&FEj\3LIrG;#nCc4Q +[l=(uFb&@U479m?+(,.6gM2,%.^-AqbRY8o(k_i]!/n#0W[kRC.r>&3Mm`]bDcTk? +e>&OO8q>BmHqk1sfK$[2'r&&%UB7bs:\saL)*&U6$uE +.B!NpIZXR0$L"5foHQ2OcmTWc"->VRBk!/fSo.401p!RR1T2c-:!TPk=]@sN9pSLT +k>2Vu'K^]eI,s=])%L5HNM\^L/g%4STliK)R?+eATKUi4@kI?EIImbu[,:,p;\&HT +'RG0Pjh4s`p(@/ao>+e)%gDEMG@g$JQWJQ]-0^>GaWI-HI.'JObD27PhNe$6k1#/u +;_NEZG$C>Lm8MLVT&V5*fP4_u\NDe'^":`CEePP+r/rD/pbK`0e^ +nTOjD07t.IrY84d[8h;]!AqXR^Z#E[8a+Vs=`K\)Gq(rc+Q9=EZ]=66fR1L!J=c$T`j^Bp)iT)8f`a8W9``!=d'rpR"#JFbkG +1[gK%dTqQ6-1k07'E6;pW6Z_n!:[b-M^@W4Q45O5!i?Irs2kBBgZ0otK'?7@I(Gh> +F5F!h4)=$'g@NlT3B.(&gdMM?F5T(GiCl9m'+VJ.OU(IOg@@AW>k#MGbQdlI%(RL1 +SM!^5bm!q'Ps;iBfj/RqDs"(%>b/PnmjKIHJ%YPh;?#Y;B@6G6qG.O1,1KmbJ0Vkl +.^M0/M>^6saRC.aedW)Er_#\Xu[U,E#QZ@0\[SE%lBZJaD +L]]pQUnMT1a.fAj.ILd*@q<.gUKq#SNi\q_$jZoJ$6TWNl>Zrg.F;/:m&ak2hueRe +GJW5;4HP&:e\[guZk!RGjU]u4"LSDCNVT;\*gHWGG.tPo=Pm%l*[nK,Q+KL9IDW!U +C!E`RG)`MF]s_gb^4)!Fd6CXsS#l-T<-uWch#;&d[h;g85Pajd+Q[ONeUmTgT`->; +:Wd%FXoZW'TCb?Ns(eGG\G0-+)s('(=f"\j%Y_8m=pk8hKYH=5B21Y]5 +Lg/\X/Yr4@qA(bLagemPPWtOb`mFl#!2'4uVF=&I_ZugAd:]NS>3e;:)Sg-j#(3(l +>7J[2&&0CNmkj%_&'3X?.)k?#Q\"u"L.](O)Lr*tl7-Z)>/7/;YpsL-E_/kC;SH5P +=ej9uCrOUNMf@2C#Utl=?::MPqXdk(!je*.m]Z1pTmp:H[1@EOId8+S7HtlU$h_k^) +jo<3rZr`pk590=@d/Y`tP9D$=$NBO*i6@JX>GhNd3CWu7/5F!!084h(-%^@VZJ^4; +r*PK_i^3#!ZSApaa*r8JaZIP0]QJ><)i%p13uIeITs2"eKYMjr%)1Z%1LZn^N;WBa +fT5eZ!,_i,+Qul]Ga[dgAWS%,T9$O..cR!DTeGjBHY.WCPNsHC2]Hmf4Q3A'@D=[. +PA[3mR0gj@I#KQsjc9lfJc>neHpLiM:^;3;-,6W4^ScY=8bg'.K%4&IC4R.NT@mHT +Uj"@`IPQH!at2oZ.L,DdZa2E^UE]XQFB)lP=As@1TWJ+sHk=kJ$Y-Pr+mR>WbK0ul +C&s5tr+Wk1J!Z&SeRjj]F/CM!1H+rc/U,LVL'UoAcGt/h^l4aGmE1oAYpWh&'@,BQ +430Vs.Xs"!F10>XB/Sh?of5K/NaA?Ye`Nkh3McSOjX0*loEW\r+_' +P5k1SK'i$0s0V[(SGil2mO\M\*fS:%E=a(!*KFTV2NG2tB#0rH/>bb'&aqfil?F'r +f\>hA&USs5o;enAasr\9kK2&er'sqalX1U;A$+ +`Iek\!*QR$=lrU`HF23dII2^%DUQl;9^%uDqBhi;&O-^A^TlI1D?7a/X\eM>o0N@s +Y.e%O0*DYFPtF>i/^V:I<[O2k)#`ANmcfK7!nM*mBo*a(UqlnE?F;gld=a6 +p]QcNrUECd +j:Op"Lk_j1pt^bW5p;qD;,@co$)TO/L5T`t4l)ndpu +IsVF3\Y&HWnXqO1LOfDS\:PNHrbt$^lROE.c6n'_-L&e88^Hj$qTJT^hlKHS=WMKo +lnGT6P-;.s1Z7-lhU49K0,<:.Ii]^Hn4arruIu4UQ/oP`g?[>2YN1N +U7]"MipU)_59`UIfL7XY5$j:;b&;'>o-XtBV7b*(((0"lZkmeu/XAF]]LI8Q'/M0X1mk+XO! +Ua'+CUc5"'ZlcM!*KkY*0(YlF_J!`jMGVKZ%D#60>R$!,sVJ#9.`b>#7GpkNRG +ZA@HMe#?lge_/l1^EIsPS25$,JbgI=#af[Q0Q-S(+oa!(m\D'4bMSFLa?Q#U^Ve." +(ii;2QC^@>b5qF>eCb03js[VY/U8Y*,:L.%<7JF +P%P`0fm3rt0?f!=Ls,qN#Raf]1(GQ3$tp!f3jV<01Ig*)"DnQp[UaI!:a6&ZCg[`2 +OOln[\%qc\LoNRFY_kSK_]Gr=L`5h19fuQOTrPe&doiL8.5pjc6.t]B<8b&h>WXI> +?a"4sUi"n%C'O:eDen%dCu=RDpilaJq)^\Ri.$No')ZZleW?8METM,<[[=,>VJ6a- +Z,WH;+llu>nmD%(;I6&YQ-#l!J5TFBQBc7H3!/aCEf?_,,![e31MH[$IDXAdjm&:Xo`C>;DSl3OrX]2X6kD2% +bk1s(!!,gqcp#RGr!Ds^fj=fG5:M)[WLB&9R,>'a=B)\?AW98YXbTA8>bW&*/Rk;M +S3*jqhI=R[DbiI^8[pLcjEGC6s0=*=q41/bg_]PHiK,uo"M]"-i;Ird7q\bZ:X_Os +Vh$.EO6>c::=*o#&,>'ri&_/FhgcEnJY'Oc4gbb_5)FaM6C09gP<.E83IT@YTYHh* +CdQ8o,VGsQnH)0?JKoG+ip8oBK.^IF+ANCX/Z"Ls;MTiQI<;gZu-"6oH/e^VDl1n9jl +a\qB/<2q^5U.V8\;ij$HBp4W-)-Kn"58.l`6jF\$)rX:EGXM"Be$M'CU%e:YDBB8_ +@Qs/5M_RG&`Tr#&\t06\^_[e#5<5)*m`D8k%OODgJ*Q&5Orp,b39=JSa-+#7^!\4K +"@#G3Ekpsn5BaV#R.f?gtg_4mU68+ls5Bq:i5Ara&fhgQD[0[i6/R6af9Vb+GN\ +AqU*uRV\r&aeKo+p:lHdq0DbQ^UO1i[826jpb:@or\Dq"m`@617%&D7'_(rl4h_Q4 +(ZQb0HAV`qM[t''KcWa8a3Gq">.G\I^;n.m]I&ZnO@Sg^T+D7-&Vab^+WFf[qQ`N9&ThTC64gN#0-2l/gr(1Maqchl4+[]Q +Eeo@XF%0nba6M_-_6e.pjWn(s6pi;QDR+/QYo_B5h,h0r2X,#.]9P7*;GV,5@OPS7K;*O +Pn3s=J#fa#U0bX2XMet6XAUDpf85C$s$e`p0$Y>90K/2Pp/od=]&KoPa#u0soAmoY +s4P-YKtY=+*"%/n=Q%p]l0k1;I!D*#o/%2hJ,;ptS[/@4Ve;s#StUXS$A'Di_^"gJ +%\Yh)UDLD5^Mgp^I/V&\]A]ER2$P$ud'em0VE0jAJYF]jL^N>jSD_5rck0lo+>ZQm +1/O&H1qYAY+H"_d9'Zt]FOJ#$W0r7+.&`Pk=s*kJl(,YAXeCuf0M6[;V'?au/YdJ: +:qMl=mE):7,%)-+kZpdE:ITo8BS9bMKdo]gM,L;3'I6I?aqUXC`XuTP6EX=%QAtUf +T^r98LR$@:m-*+/g2!2*]=VdL*"DmV55a/nZ/GYSY/^Kd4mDiZa^8@Hq".h.qkrGq +&^V2\Org#oESd/n^=oY_ougFsQ^*/=l#!ajZJg<:c_c*(6h@E8gOQcP27Bk +=2@FSrbsC"^EpA(4r]s'?YfD./RG5O!YKIk=TWaX2a,Gl@g9#8DAZR5r%O5<8`K +m(OYVLVF[FNgI7&8c^V1i4Y&@A@rTnpD<^T72*D0EA)eR^SfHAk5&ANEG%IcQ_smC +cFB/,\)cA!j"n$tVHfHBa/RC-CNJk-Cn$;n;)$5b/M7$HFRjP0KuVsN +bLW@#e:A05<8biH@?Ni1TJnKen +3t>dH_n\^D7)^l&)&ZqkfXD2$GETIVle=G.lF?GR_O4^V&Z7.P[WL:dP>J= +<)Ueh@K?>00bcL!U#nnq(5k5>;**\c*Jp^H +#se]9Uer6<\l1')&IbI4L/Y'=.?qYZ,Y4d<;BQ7,,aEt.JJ9SU!JY.G=GV8FUbTebk?WO/j2e6TS'.:G;N +W$-AX/ph#,8L7kTk#7[sfDM&tHCf\6*!*`1jGp#e1'/3lq01GdPJr$$"(n2TICM-B +YPdb4OS*6PnZNm?)PI'G1TZc>oKVXXrl6u6r/W3iK`D!oQI!SA=IJ)sVhoDss0Wc" +7`,9us/U6X[4rb")Y68oGibikUKn`90@moDHTJT-;sa@le`@LR)XQB3A4CZSK]PcQn,CG6F\/b2IIPs]a\%BgTs'$KYi.&)8_JH>0 +=Xp-?#Pm\.V)iI]<`?#!PnJg!$iY1WZtp=@rY;7/_>O)0<&%`4.9&k6.TrHKcIXP( +%E];Q'3mq<_c[S>PB5KSSR +NUVGP?!9f!6e?iq!C3)UC0d]OLS<.n/$it`8`p1fD37\N0p-C'%HUVr3F;JSn\KC+c%Sl)W&:S4lCZLjqCk))CoiRu::DM\8gQB6U_#^LE. +n>lHND]YXeGDuOKEI;oe-`7%9.:Hkg?_!m=GohBVJbJ2N3i'P-B4qhW2il>Ch\Yq= +Nh@1H"oWR)i-0(]YKZ4#$6:*Rp[uqIN<.b=+<_9n+4eaDlcfk(=WQ(_)VUAhg9Wo; +-SDVbRbf&[km0Rl6)Z(82$(N!bhjC8D[`O#78TGJ.BRTgI48o66/Uo%O=mU;UA5YFZ>Wf]mr'Oa];<(Bf&Nk9qR%(X3l#1g/1S4n"nm&U>MHe +e)ReO2k[X(dVg-5rVTX5[hk>qnc-pN8cRsCb!0g?Ip0i>qf?I6&[n_^1m2,a$l'V^r6[g-ZE4(0ZoX"-4TRCYUEtNWA +L>SD[]mVZuf(#.%O2\b[39JbDZ/GY3limFLk%rj +D)5d?1bbeLH#>Lc,VN,RMA0R>nrY^'E2e3br6H2R'F;=\,@.t@Nr6.o[\+dfW%NG$ +QIT?ekc#b$)n6gbb@e31t*epFNUoEat0`bl.7]h#3LRfHd^+>s"@,u +B'_P,%MI@&S`.%5I5ZW;rGV\e&H5aH=W2.[>+_]IjD.Fo&f#uOOq5Mr<;n47J_@RV +J&;5>+Fh0eNc@c-!Ue'=cW#aF\eNBWSLPPM.UE+E^CZbN0:\Wl:JL>Ua"]@`"i0ai +Q[h$\kKWe3ZTdf9QS[sDXBEK45O6-Zj!CdO/^oq9B@<53@:>.bZb9t:a2E)aE>C). +!SJ&U13LH-c"O\7,XXT1:^gsP[oCbq;"QH,SN2Q;I+>O.2&?8aCHC+ZY'`TT^3P6E +*@c#ho)6Fg.;?bkZAO`n,F&-Ls1PSD"7D2erm%8Ph8cF>:X8X*?8ltLK>9EGjdE%I +q;:Lf^ud0Qs-mk:->PW_he91>)p8Q`QY=kpC/qN:;+sZ.Yjc4edX1p'^Ibd4V$]Qg +j?]bC&Pj`+:e5gB!T8I5"i(N42&1:?NE]a[Nr"7aIs=#VokqYH$PD=\R/H[a!:>-W +c%+CIom\KZTCb?Ns$Il:f2l(^AS-(i8QBjY5cmN(X^hNWF'#N7gFNd0&X'71jj#YToaJAKtauA +jOpqlJ+h??A&APZ*>>-;"8&SD?t3cH\0)L`hjkM1Po8;`3j^[pUcUTD-U,%eBg>HF +XXB"S*KD6Dg-\_1#\jjgrl=SjU,GNj>%4Ggs-BL[D)l?ha7=.C`;[dhOS#mZHP6s^ +"g+R1YG;M+i\pqe1aGklWD[I,1l+`sh/\07&'fH=IoU_u7ED +*Xi#5Cs3EVQiD.b&aKCG>u1D/mfH^BCOX6,7om:,2rS[Z'-CS>:OtLg?FJIUYXXo; +Pc!c"f`)Ss)LoU'AGq"%rf]kK?TQ'?Ik"j`>Q=GAB6UgtJcD5*;ok@k1&4CSCJJ+o +lG#7[MLU^P+;D'L+oe=j`6E2pW&M+07jlV'f-[[YVaiI])O`$h6Eq0=dLL1\eJ,#S@&YGZt_>o\tSTB$"K[#"4 +#`)D6i;\j6i(FX<3>25CTstp506qGBluW'`LhA8V!VV8]Zo8\FNS!lZ]lc%"m6_Ef +&-jA^*!h+#G]@rGo=LdtB3XGh2b!Xn:$AdY_QT"j?Z[k]BoYEPNSe/LI@i]OSW5_0 +@h\k)X2W'9J&Q(]iW!BV^SJ=M,(R=p:u%3eCr-d7a2l3!&n9RI$\!+*59KqE=@76+ +K[9ZXW,nGbcF4oXop_#>G$_Yt?`P5]Y:\.k>PW;kCN*c7cMcPSSr +a9VeGA+'2Cb0C.iHd,]".g,_<,N_5KIuqE>TCniUf,3.$'2NCM5YXKRJ&)(,J*_Z/ +_7fhlp^9[n4!tA?PD,T"5%rh4>mu8W-YA5_B8\.8M_L?B?tQDMK=)6\kKQa;OML%i +WPZ%g'*W0kH#*Ak[H%'%`jl3U!<+!g_42=i!B1:jXutofnGcC5/nBOjb48\S&.g;+ +Z>3Q#(!EUf=qiM-"Cd*tKW,_@+9b^H9N>H.VDhT*SYt`35f!ubLRK=/DsHM:q&L]6 +c;FRo)!#$.o&$7\o&!km-Dp`YLV-n_`k.7*p7.N<>K>6 +>iL"#!_iJT%TJ7m4E&5<3)0>[6%@c]gb!@3n9rF+I%LV8[AKgABaMnU*hkHT@t@Up\X4$n"m^FJG-ukl?aoBmiSHV +I$43f)-lc_FcQIW"b?I*"n]^C^i/@L?_!d&f"U4cf*kD>\()0R/9V;GmM)52ri#kRei>,fIF^udm +[#tbJJ1;;%#p@c>0QZa`@]dB>gKW.=3n!o:O +Sakm_QU:6BLCIZfD[Ci#BCMsK6Ja\P06$jI7)VUe&KdX*^]U3M@.gJQV^%#XSO:Np +cbd9o!qN2Wa7qU`hoDpW:Ij60O1]`nqSV@@3!'T1]X^9'p&.akm>HYsil+&hcgM2A +i5#kr5=-%L"Mn?=6")5'WM+-6A;/@,$Us19ikV\N\t1G$O>UG5->@ffgc;b*qhdHblH"qG#t +EV3q&_8=Z*Gm55>B]n@6ho3!L$HS[.1d@;@^X,.61VUs4s&@tP1`r*P.[Z_Y"K#c= +Ve6"dlni>B*nJOLXIUpGi5^rBDUcBp7L)!I.=qub?IK?C`E9O#^Zs;33K?4qtA6i-&X(-R<`C4`irqeZ\FlN +1h(((,[6E8QC24&Fpr@1LRC')@:nZXbm(n'];:@IIK/t?4k8($99,3nTAMZ,Dr4dN +]S5pk\RC,i51`cKd9)S?rWdPb>`Besr2\6+Wmr&QarH*ZgNF((:m(kj?U7af?s.n@] +?LMmX]^BmTla]L:q`<)V]sL97LaP[=$^8NPqhWj:dG+8KHr6.%eRA;58*St3T2*a_ +3^Ea1+(]hLM"^KcmF,4t]a=>r!.(=Z4kY?,d%O)FickWDD@^7@<^o`bSN`SfNC2gd +%OE:l"[VeY!(K8IIK"NtS,[\Y&_fIq2Ks8T#DVk8]%mbMiJkYQ48`fgr+R\\?V_;b +Z)%Fs&;1CC;,K"s#t\rLP%cp%!hku#LY,IA5R[f:W>b`ml4^0`J;f$:_#?QOfDg6.kkX)JkA9k2Nd_Q[_ak]eo!Knrsg; +s%r!q]&322)4+Fu]=^,br7kW1VoDu8)7e/\I]^fR@Z/jKB&=72I`jSLZ_jBe6cc2e +FAN_+Th'$cV)HKECEsdD0iKB-.th&'6+2H=6On]'-.SF39")6g/Lk09MUI3(WVkSo +]Nn+Yl#i7Qi[]5k<1X\9)Va6p=tDa?[,(cnXYdb +s7.1-Prg3>s78l.6tK5ks.e3Bh]R_1M5)WMW*4I?SK]!MDcOi/s1s&j#\[A+5618` +q;897U\q;oYP93Cs&::qr71(3N@%#paT2?nq#QJ+%H[noZ&cVbAXiLW1]ONp%,3-/ +qBd!Qh\H7Fr,#T$r7fr33ni4O-\b4?e&DH8gXuS^oX?R,daspRh$eJ2LHF-Um4;YL +NB%!2\"o4`oeiZ@1a`5?"LUhg29B\Nr3,!o88?X#=ga+ZW^KAYM_)SCS6urK6NlVQ +UU?@Ag<)Bl7A?qIfhe)OX@P9MB%0helT&*K:,^2.?*_"2FqZ2%0q8*Cq&o]iX[S$! +MiW%HSEL.P=+L+mNH*9?n3R''H<63CYqCfXnVqkVNUf:_ruA!862pEiq6L5K2IDOP +`BX-iN.>a0T#52\pmFB)O'Tk9Q<,glaqMtA&qK8)ABOrIY9?,9-=[!n"FtrD)B5.p ++;$0%>AMHleXGp)1#>Y7LbSTA0jJY;c<&k=<8=9NCpfs:DUp3o6%8pM^J'dsk*Lmk +J5!nu8=1*3a9$Xa8s'5Tf;U[m<*P;2]EH:Wc%otINV94f`MOQ!DN-KZDCiXkJVl3K]f8XDmhD%*O!Ol!pK%4c&-m?Kkjf12Cgg#r4j!Okjkn@7M:6gHs>n:,p?n;Z\J(WZ(8kFiss/$85P +l9c&NK(l9s3[A,L?4=3MK(9W@,qlpW>A4GR,`u#o=C%L$[Kl;9465OBi;]hJ'IY6r +4Jt0DZllM^:NYRhd/5s-o5FBL]A4k7%c@3O^'-SbMfsf@k!`5b7TG^AEQV`MQ#W=o +7.P=@$G"$EE7.CXo"XObTo#MRGF/(2aC\^icJ"nF?/;]#qTN3*;/HGPf +>(B(j]Ia28-;sgPqY3+"SB_'\?*$=28,6Mo8lVjS!0'$BUIipLdrd^;Q:.W`CQ4`c +0Ya$X[ntPF/1CM6s'U;=9TXa@;td6h=nO&9s-_FRM26 +FibZ3q!iR/.><.7OGm+'*H+q'29:r['JT(;NSFX]2p'!02KR=uS;^VmX%A]7/BVZA +j`X0RFXsm1W,4E>iE5_Re[rf/3VQiH>9,NbY[E3;9mu2S;U>D9DaBS +Ep](DRR>4^)^ctX8rhbuX#8t"-Xc'beCg)aA^W,k^JN.Kr6OE0fD$G;alTc-%[U>C +af).30.fgG/VsSFs*+[b8[8(u/7_A,/1L^#Z5aF`7Y*(/XnkgMWXWptCH"Tg!"iTs +hI>'nCsq.F\jRXTT*q[NagYrZRr#$7RfSdrP>[i"QfL]VD"qYZ?[O"]%1ij(+.[th +5f/[VfeQ\Wr2Ze2\QUl3IhVagAlAO!g7'#Q>HPK=:$S6\AS/7m]hOX;V24S?`""7A +7hhY)Y^J"9"'Vm>_n+l?kIYKr0/bL:2_qPFTEdPLs7`9)7aXkUZ2`^O615gZ+"a/3 +61kJ>Y7@7E%h[^9FW#V67!rtSI56HLeUM'/+2%/\"+!q%:M`$uM2p\kg"V>A>Ztn] +boBATL8'RuN+-.?JJZK#6G'pETR@b@^$m3fLk+lS!o='!LGs(>&!fH!G!,]#Jc,+k +k]lk9Ls;P.J-"gL";-@(p^mM1;ZB86\5@?6[%016Y)[(\PA&37U44DV\e?Y1Ti2qQ +;.b$iKH>!+5MPGl_LU+YA'T#ZF+&DdrS:V;pZB-GReD/H_Z.T[J0tR'*q!<`Dhm6+ +N?6+lOUM$,;0dDU0[`o@.kaO,QDX5O*Bm-F35nIZiWN"j4SZYu7mOB)s*4&]Hru\: +Vs +59;ah.)6c[aoj.C@2sC?%>s@EIDUpd@(@ob9QT-g%_mer]Up*]qo>qYWtUM39f]r" +hs&%(QVWpuIN +.H'aq4FXU6euSuCp710tF3\^K3k[9.q!*h$5PO3gU!J[E4[/4XUW<70]@Yk5^;k#; +%[mH2[6`iQciHRGO$(-DRb.uJO]KL?p%e.CHR=#>p'L2Y&VL*XNOd^Aoi\*g +Z2Xia+\Sr\U5hI(.bNgu#Ad$36?+@IT9TA5s5=1Z?bkan1H<&>C2R3dF\6@N;K58p +ED]D$E@gn"WY3okPlIEiK*]93(`$kWUWNVeb$4qhEa5#r&[4#,dVR=32hS'N +B=5:#>-_!OhE\eUO=M./.`<8SAE$jn-qbc.'FWOpIQEOZb2oFOn$[?7uUN#lY$O)tt0p<]E!8,jDl02J6B-dg]GnTOGp +bS-V"m?_Kn/`@q]i;2Ot5#LX`.J2I"H>&eeWpjG]HIrV`gE#\RTOGJ='!r8PhIretg?q>Gp^o%O,AR3Rq*,CV +qF!NMr5jOTO8t/i>cpPC:.UG5C(Mk'+PepLK9(]I%)c +&`+lDCZItM.q3%cM1Um)m/PKjDFlULIn:XEs+DjW!c7i`:]?f`'Bn;$o`Ol)F]7&ae]G5]uW^8@Ad<]NSH?!qTW&R=E)To7>ic>b.]JR>6s*kFUQ]%#L +P.2E5A?.bkh\GbI"a^+Q%uqE1>gFFIrBrq-SQ\#18'RrJZ4J%Y"=l(Zo[ +T`#%l:Zi`^>&_>03`(V0I^\V43>DCHltq,if\t!uNYGh@Fo(Zrh3Z/%W$fGh*aSNZ +@JA(YiEcNZkb&OGM_ST"-0Q,n:V'lESB`h]fo5PqEE9pHb%u,>a,3X +\pu)*a>?lqMTB[p*j-*'MO2Tf/`3K=(H4ba,7JR6RM$()W; +\sf+cWQ(i;.*<37V0HDTJ=eEZ-W$nG2CXOtPf3'LUUc)@eHJfMq2lD=_TR+V(@;M_ +gjpp.),db%$pK6gX7IM9:0on=5D!5Z[Hddj[JgF,g\bD'Ni\F56MNI=@[kkeKHHD.>1Yp;+^t +6W7$6A*3(#LXk&$C2@;[9s(MZ2KijTCIS5!p33fh3a"^T-ZbrM9ek;<>0BHT3\]9S +Z'MYDk!\+a)=PhS1"r0&N-(o!A3jF'Ig`-W0t"J6Xh-3fX#@B'K%IqaRSl3UBl1Eq +1'l<3<9[5;2Ck.HE]28scgFcpp8U(ECUX]kD](Fi2HdA'?etEYlRjmk@Vah@>JZH) +_W/t3RRd5;KHo^W@>m?Qqd9HRC3At)mf%:fBQ%t +1/fB0On*.eoflIGP>`T?IK7"fJ'l':eQ#2+'a\HJnR2?Ziom\rfS]6EplJFFbU*3` +70**iJk%P`$JC=:0hSCaZ]oM*0M=%C"J@q+)hC^%eOHqZDp&RH9KbRohI4CsjI6;e +&n*[@(1`QJ1pcti%/^+:3Z7ssWpu\^rf@0n'E28_Z7MCf8"nY0<^FZ?0l-=6_2\:C +D2-=&L>5NkG*a@f7%Z63:REiS9cGi=$\Agi/'VU`FdD;quP)];O;/6"gZrY2%(Jq-)a?PKjks,q># +)F7=jd]9/-Jf)'EL/>o(Q;l@sKa)Ii9l29?MeGU1m8$*AU./5/N;FM5*b]P<[+"iM +*nR<:h4F%;pLKW2UE*Z">(*PUIEpF@T!7uB)nbko_[!#HmJQIBl3MNX%+kc&NEDXT +1AUaps%._15Q1lB)XrVo_+UMsE*6V*Z62E'kGur'2ALI?$J3goXK+#G0N\%:/,]#S +I]B^Ho($1.7>-J\^uqVQ,e.u^LshRJ7$BaA8JTXT$QH4)4Bh&t[aG+q]AJ6(hG#P4E6`k3q`\m-S6a2XM%JY_ILm'I/#WMUB/F +Z2SiQHm"&N@ZWT1n9=U"B<5[=07CJlD6,+M8qGC8o\oMnTsh>EQLoajo[OXHJKX0a +V"^8*]1m!F`q1kcZW#38d'8-S>um:MVam6*Vr'2,h_JZPH+`:Jl2#8olgL@Om[.qL +^!r@_glW-<5LEP[C7t4%iUV&bPntgK0CRq,SIsY$5^6d9o&)g%V.BbjItKW%('-Hh +2Y^XUc]W'G1*oRE"'^BNRH3Fa\PiH[o-s\I=TUdQ^HdkbJ'kd]jJo3_&3adBZm;N] +/.V*App^'k_DVQ!s3%73qCE1A$!T%$o6I:\Th<@Z\sP(9i@5jW@c]Zt(haoYpk\Q, +<;qA%5\N6EW5K8_3^EnqGIu7H +XWtn>!+EOEr:ft!H%*+`rYV.#f?-=-ec1m-Z2"KXi]nE:Hj-0"%)3BD76ji]>nG2@ +`6snWKK^:(1Ju1^1jCO>fT'S7m?Xg"#pD@)T\Z`V^M%`!>3C:*e`D7\.r_V>h3C$^ +$T6e=%,Qb^^'bjoI<+d_BkW8UUk'JZY7-b-_o1K(:J-g9r\gFpa)dj#jN=dh[B0Ir +Hmqru(bRHKeJ8B-$[jU\?IiT[f$\[]AZi_3DZ/,O3r**!I.&DR?Tg?`^^X=c,,Mqs +OW[XRacsn&A^Y[k/>6Afe"I3i1'LJ(Kq>IA^=_FlXi'J`DYIf?S=f7_]JN$h2G/I7 +ddHKOqfhcp641B7hr04dp)iX6HoPX1_4:IZ#9;=ks,2MQ?S:+5WVrT:,>a9d5l2oG +hk%4PmZbW`Vk(RaksE*2i(igeM030tTL-J[I'S^'(OU05D]\\nJTVM)02-^U21=EjF[j'!jfc"S`WV-Pi_+W8YSR_MUm% +=a5'\BOt%[GsP8@?9hYB@!P$D,XPK3L0GK);">Ef7#T4*V%o-^j.u^M8bkkj\`#Su +)#2u6#_ND]Ob?Xb!(;?;'+7Vc?j#I#&Pu,0dDge/*('^2m#%lQ*Hl<+"mbe>!G%J6)Fqb5]Ajpf+fH.0!/ +o2s8gM7QohlYk\4E5u5DpA*jA95T"cG8;1c/cb^>*\7EhT-(6@q-T]Th)E6dEBs0C +U@aS#o#D6`/M0!Fk%r3?:sX_e33Ec/F00o>_PnY\U<^nf1-?K:<_ccnb(5apT9+4rJ`.:7' +"9-Ioc,#4BD($YiJ6[[r4list#6=dfAcIYcai=sljcrC;6i[>j`"ReKARB<6_>8sTF^^&@"&@AAhUUP,U!`gZU[-GW +a6Tj&&%("SeBWT2G`['sE^$*]io^49tK*)7BrrV?S7>1", +"*@H?[.d%HG6ZHqS`n%)oNViO6;)f)bdak)m[eh'ds'.LDkbL]M6TIu*Jk]d,Eip< +m6[#jTkXg9KfpnoTOJ-Mc\^<76A#Od])]4]'CGK_H[JY]5K`_u;sY!'ljBQK2*_'W +n:*_8]eGgCc$Z2B?dV'%rBU_(s$]]^_>crtW%\@h%T"$;j2E_u$$M1/\gA#W;c.$O +Ndu\MC#dt8p>r%OAS@KAG?F'J9^6jpm;b\^H<0?T\)-/HcL["GkD7,j612?\[XMKJ +5KNT,nq1[:J\&uHAQahn,b/'Y"U.+jgY;X5?'8#iP(`RT_bEEHV`9N7Pf,/4k7tuD +$_l^9iTd-[;itEmTkAGOCKHAA@"n2c[F5iIH,%F;6L$QXo,a(jF\;h*,U!q#PZF:s +Q_[R+qUMl.UE[ET*SIJ$RP4uj2$BFd=Eh=+oDVLG8%W&ul#h6EO*G@=]fJK,I11<# +DbeqP&-2/o1>\L4]YBL;.0*YhVt1Cj07ip>^GtHHeKG1E51gq#%t&TV!VlX2k/S-1 +hjnA,J(ik:1JU0kjo".EY!8L\7mXg>]_]e?\o1BSIXTH9X.q;>*-1rGT\I'dDK!h4 +^H1B]&b+k[pO`Q33!.e9O$Nn*6r)@QN`Zp@%7qSO`+D0UWb45'RIrUa]frdJQrRqC +`&E#;KSd15dA5 +i'bYd_M$Iur5qiRH"_>7E+Lbk+&c;V;H4-^&5ldN_CZ2X'nlsO_hBBKij't(3W)j0 +JeP!?`IRurr$Wum24QAi^Q'CFjG-&);#[YrScYil,+q6666-Boru*HgfG\#sY`](A +<6U6t1Fr_W?nu38-C3?%,5oifX^fu61$e+-Fk/+lr7U`Pliq7&[?:#E3UL`n[Bq[i +/H<0.f(QJZNqAA*oWInHmLEi)(ULjar6HALbol,?: +r;ECY^s#mr"hl)#gcs!e<^L5N2*K"`VP$#$NhD^F9_>P9H86j/=l\o9d8oC#$Zig< +A#(Pp\n(+'V)$tq.AWsPYp)O`_t)ssdK&c$"_aOO:ZLqB\boE!r^(&!5`iqI-%Q#r.UjP& +!)Pi"+!P)%8JU?Dh@:+D\Fq(f0iZT'9`I +2a@K:^GLgSRfMX#hVCu?2hTtZ,sIisIC)7e]SJaU_L/VIrVts\pAZMhN"79Qmgd`P +mm\rhd@N(fa&U&F6H6^8p35u45B2nc;RYE\<8'_AXZ$;="X&^NTlHc_m0Gm".VX-; +k>F>jZ)8Q\5XL2kmgY +nT_'@RZ'0,`C2rn5n^m\9r@W0>Es[^[ig^#+!o\_.a8@LjnmYpppQEsFd4utLh_--spg;sW!(*L_cr6bmN? +s0=N?SgN')Xm7%lE.,76mYO]mo=aA,I`t$3knK3_YDj-tO/$nAZDVE`!dm+C#QFa> +dG?5MDiQkdo,hI=I"0r>LD0AGST=Z([*t(K*I^'4q"$M4J)0McYIiV?5.?P]mJTh) +\O.RBUqlMCT-%A5nZqHc95a4BHU%`3A'4,j]m^J&q-E;lJ%d`.G[&fuF6(&ikcpSD +@7s:LRFQ&rBJD31N6Fa9]@!/%AB=nS-FVHld9oMKf;I/7;erci(3PdCQ"Z7R;%'*tr(%\Y6Ga&h<hnO[\8`5Um`S5eSMA:)seq>.=Ur +CL_,K2:bh.;j_]AJ46)J0jshWR0$uDNJ1YBP?D+r7fFZtq'l,DS&i]I,I=3m'DrB+ +IoCE'CJ.9(CMH@d>%^?O=%@R\B*Q`3Q#;fc9%cG51?Y&B>Uf@?Nj.G&"Vj3Mr3ahB +S&bVBa0XsK@Sp?kkSq^f3OF\i4]1LHX=]3RNrq&MW(53S)1kDpBWM +*c&n:D9O&8a<%bON*8/62Jo"$\f$lM]Qq*Q[b9e)%^b(QhmWJ[a.=M]q3:eQ%?s\S +5;hrF3lAQn.sPH.r9uuYaT%*l8c\crdtCdlR2YQ].75-L5Lf_kJ%:jo;5T94kosi1 +5b,:Js-6o@oRA?GQbjJfp-G_#6;aIBR)%`.E&hpgQ#Te=O94qeUEPn&AbQWRKrcl>eop=oChPW$u<#&q?Q4qJ^lX +Z,Vlh9d/\hI4hmQ?#Ff"YMJl&%`a@:(f,8&T7V[0T6Peb]f8]4H&VG(FXHI(>k!5* +O$6jf90GL$KNEMLFdVt#."K#lJsZF`"[Oh4s*0G#rWrJ)55HeskT@3k-T($Q!UXV. +rTlGSURUW51[M%!m=lg!h8(qK00\>`jb+oQ1]a/`7J&']-qC4h5Xc)\?r--t8)XF' +D?Pt"&!ZOBnpGE['Wq\Y1Q$hPnq.h0Md:U1rckE'D;#M35NRCArnmW\*4"T(;QB_W +VMX=NZ8fEN(2;cj.2eaDe%eA2Cg,:We@L@bH)jlq2V5,!DEYV`p#gZ3QM:lTq$iVd +%9E8u<pA+Y4ei-!SIE@ad%R0 +ardf=c\iG)#uTgg)Y:YE7I/Zc*_QCkfn,>mU"TPqhU;G)4rS7J%=Y0eNq5o%Qf,d`8TGqG,s?+ +qsbr!hr3bINrM0#"T3YVe%a0is80GJaZ>=Z>]=&n^X%6l*)J(L*Z!](ol6&=Nd+J! +7DCSCrQfo+cVOC%53dWG@/\(4^sa;Ib:R.Df$Jj<@D+Oth<*cn'7PWNml"+^Z9`=e +!&U-B)[si2]&[%3'#\.J.]u5QA!'7`20/W'&\/]Pgfb-7BWW[L`=J7*_kc'A;,o]]a=.Lq/e*J?!8s.CTtKA]IRtB`EhZI1s!,A[o'/d0*L,>M>l4uf)PQ,E;#U^q +g\buP7c8tc8fRj3aIf2mMu\b_qLAGS?%?(E6MV]F"D.Z06P(qeN%BmT7J`WV=3IbI +@q,HsA,ma%>NJZ+r%lGH*EXG6P)RtX1m!36)tlMC[1WLSI@]X$h._Mtktq0XUBB#! +Iq@+sAO5Y:j\&2g_PP +CMtR)Jm`M42T8'W%]$mbF7+;%L5G';dk+e%>Aioc1 +N@?K>"%p_qiEA^J6Y1C*][OT&%X"DLr8"$AadPR_T/LAVS`e-JUZ +MF*a>fHLQDIVml'5C`9pSeGfk/=l1UG*FWRE^2Mfhle +)oBlW#@;(JJ#Rkp[4[O+hR0L&@p)LV^8K?#Aq\+dJ:t4Tb>.d\6)q$bkR2lph&YDPQ+\">0W$K^_.RC"h7cZ;.s7\M# +o%b.pf:b@!f`)+*/HCA0^EeJ0'XBL]=]spuIYGZ3#g`E?q60W:hin8-ng@cFK,a<0 +<>:E76Pi)t&47jTO?*m9j,kJs)3Y=3![En;c>ol*FgZ$fBA)?`g$2^aRu_]]DrZ#5 +VB+OE>s?h&^3+`#QM_kR?D(nSTQEu*A5B"7:D@_k$sn*`ON]4KitgZbC.\6!Ol3Me +U7nRuT9KKLLSWkk718fW8b[n"6E<#T:725A.cWUu;58lM3D8:m3knToT;u"jqjX-p1tt7E +7";9E4k3.ef1lF>U$/::hbCc1Md@8dDiC?5-A_Dod3j#-0,>SB??W((s4pP!S,#YC +48et.a8_ZPqY*"Js4m#>mgDnj\`in54`8#>F=6VRmld9B]uT0b9:in]8,\TqrGmtn +^Fsj2lT@?^ro^UO5Fh9Cp8$<,a*g-5m.8&fpH&V-?^p_8@ES%qZ1U&1!\a3MhUNKc +Zo)O-.<)p`@AGMq^lm&KPLrftg/XcmJRMI2cB-eCV,@Pti4YA7M,mneK/OJ]gT$WE +AMdYC)Drp%Q6a1>RfHNr1.EpVd"k#RJl!=L=Mb@[<h/6(Z8;H5Wcb3%0?5M ++bJ-=@7dE-/6l'o+fu6<=,2G+Prsj5/:S']PUcZLotO?ofn-mA[di.AZuBLO.C'qbl%gTCP42rDVdUkAT(H +TA2\;(\[i^q2&A7^j$WKXY6%`bs!hE4ZAlg2j?*SOL)\dH[ftZ^7O-EmMno5c?.*] +WV0S[NDo56pU+kphnBhmBtn5^rUp=6G:[oR>O("KgqE#McgKi,KdZcffEXY1*@nn/ +\'"E[(ZbVS5qIM#ncSl@qLn!\rK$8o$WCWXOK7oNC9.>0VW:MRm/VD6+"$Nnq:PW8 +!+-9Bro\7[WiG&./)u3/nlQOOIS.Nhm&;RV.n('+D_1XuO,&-Q6%oIN\@LaAn%A +Lh^I%L$U<%XW.r2Isg/^%IJ]PE$Y!Zl1sXA^*h!o..gg8s2oYZB34T[)> +^l\OcPlE3(g\d+>!KNr^@d'O7,`+kYBV^SVRV5#,6ds!d\lcO+d8$;"-r4iFV6,rY +YEL\(jB8(S%A(/5Sq`^tbdVq&[X"?cp_\2Ml?E,@G581^Ke%@;.<`a&p;Dd]`!Q#K +KnZLXU/ZS]Wh:Vs,\:O1-jfTs?7]_b$u\oUUkX8@W+M+*--r?gcl%`@l"[RN5UWDl +Jr4_?8%WZC]4Q&o>3gLFhWnF!hm*$>q7;#GLeo=(dW^b8d% +s)ZiupuNRss'53nfA1m?Sb;sLN;qKWrB7WVIk+g+Za +gRsQ*4*kqjS^k,,(0-Sr*j1iaWc8.EbB\Y:?4`n4+Kc3*+:qKT@ELrj,bhRUEI"LY ++q4@@Mp5$1Y2P(Mq-b1JW0S5.XL8,Fi.$qIganA^O[mnL,6\BjNdI;R-DfM +hn&ne@('jg.[r,_>NWN*c?7r*f6,8af<#G:G:`H(>OL?fW+Y;PhH`YKG+Ta&4?ZYk +f17@3s85:H`TaDG1YcbeK'W$&)iLGGQDKY(PFj4`.@rT'I/8L'r*S3K"9'Z<5koI^ +]nN:=1GqY!6Ba$%VMXC`&-2hea?S>^HqA`Qae'rs4fI> +7lR@]S#?US9/]UP!&Xo]i5b@K,nX?,_/HU;f*YJ;Akb/truD;E^F=TdS2=F`Hal9; +9QT\dD>r/!]H6J7H=Fteq,,`[``uiAE5ML_:!qje`cI_qAe5[S^^"Dps2boPZU;YI +bNR,:kj'JWgLF@bhk-_EE/OALC&3m'LnE!)5=#Vr7m@ueIBu'*Y"TC(Fa+c5i7m0:,R)2+9:RStZ/H2pS"9+ql0+9%3!=MA^@0AN@ +-An[Y,EWE4+,NsZ"JCdLBqcL1(ctoF61?Nn.OOO.I/5sY0(Q^h*r40 +9eJ<4]@?4eDqOI-ORH+Ti+(%?1?XE2o>@t]iQAf(GsRCj0MV`b-OEG/"=6Y;i^@*M +_WkR_n\"c:O?[qj1iHHkBNM]k=0Q;'T4O'f8!27k"au\0*"q4inh+^7qb?^)bbEg-O6`o*WCaP"/W;+l;?5/(5?gS]lLeV2><64]R;TX!WTjEr]cb#s6J\@TC*3arfl<,a*^*SL.8uANEP/*pA$j- +iV2QWqWe64=*f6hZpu0O$"%M+R'B-ID29(9`Xc:;#HTBQ9kh:8WBa6h8uFPSUEQJ9 +/uc6:Z.0KA@ZG.\75l*Z!4]i^@iJ.I_=3.:)@bE7i2u73_?8>'W_uQ.el<< +'G+=N5m3:&LamuWEI"da,",TP.]j2GF2O9Dr[/p5<6YkLo7Ags?pH4Jd0YF7i_ZBq +%/b%0LKbH)J+Gn/.fU@?jJQ%NLeiTL,ls)/i;X]o3`'Ht2Uo%7;"fP>la*\D9G/+0 +]f!Ks0a%=aJH*^s?r?Nfen,\XJ8Bs=c^u,DH!iQemd'I_p +H\DPbRh#(,RI@\SjOV;AgCEpo44Ln0E8Q[#rB$)5mf?/m(7Z6p3]gMcDPHL7<96:? +WisWemQJ@tInB:JP5(_f?b!rjNjG^YN#lgNEPr?M"3Y +?8;\__gd_oIt#?5_^1p6kBpUmn,(n9s.c>Q2[6t`km9H')02H/pgA1,Ch(D*;sZnN +r+L0BE(fI]F'=&llC*,*Oui)e1N=FXZ#)AGX2Imm=e_B;Yr8]'W*4&*=VY\5L$9j+ +)GuSg'L\dJN#rHW+Q\?>m6IVG.Kki6Kug8]JMmE;afR/:s5X.?[JhNqqu0n#q^+T-=n@h;$WFSMMpiW2p0l'A*1Yjk +fY59tk:BA>"&"!I!8IX;?,5GJO@r$Xr6WIZ_$uc_:%Q%88-/9no0V?#`Vu?XKDi82 +&);VIi6J)"4+Lgn4&6:Q3B<=JB"6dcB[PYr-0HZ!/l#JQSuKFba1XCW]l?mD^p<1_ +_ii'#adtVoI.ieni_TC%ZU"ME)G:"nC.!_BRgT.M(-j'>K*Zu[!'^aT,h`7oPQ$WN +q&d0J%R7+b(LP:@-O9Nn[U0%MIMEpsO:QpV9?IoarWg,(SI`0L2*YgS11"c7>VV)3 +*;Ch9L?*)U3q`J![JiZKc*EW5jM#J5roEK1S$^>_Is(juN=,J.Rk*S/O[PhR)+nA<*kb\"G2gW-/*:a+*^HCc[p5IH^Z]6+I +E5G8^Qg@!4T.CQgf_iqbcO\KDjaWY^s"R.FG_])-[klP9;"ai+o](cCs*latHoOfL +ZP.oiT2IDHF3rV-kTC7mOoDg&W!:omOhCtH.K>=I&J-#r4@GDGZk@s=6o<'d]BL`i +O]LC,03h!]HD"_cU=bMT-9]+!ruoYe-`cS29*8n:B>0W..>gJn^^%]/U?XEN0:WT. +,:R>UGo2]u,&&`o"nY#9KHbCQ9b:pW$a]#N3s];#ABD">FI1\j/hK"BpYP-o +SEDk/i]LN*3l>s,iOM_k]dJKi,6FKd^0`6@TS4%We(?n37Wer#HB$m30nplda`Q9fj?LMsSG6l-!Q4)&;OrJbDp2h%Pd.:H(2U!I>tf8I$)%l'aP +s7[t_?dH=_pMQ=)62MI(5l8<'G5:N_.mTQ\m>lVGrI/V>+8<>GES]rAq`Fm55Ch#Y +JEJ!bHN!AqpE'q@r:,mK*tJPU^HLr\qnq`LJ'dZ9qu(uWcOW'gIp_dFq/5XCc?Ob] +deAZp4s)ES^9unnb+/KQ;neKChhpj?;irjIKZp>kbP[*c<] +S,t8k"*g#\jPHaZ*!B"+h2QD[f%A9&R#_#Va9!;tp$k:_?!L#SNe;XFG`=W"U'NQu +6hR`mXZ0E7%T84;Ekr/Rr+oqD-r(5nH +#U"ue$K=)DKPHT,2h`NfMF0Pc9d80j-/&2,2l-?bWI^,Ts5j0gEaAeI&Q$;8WoBk* +s/G9h.`nRE(FD)!^ek$^WAa%lS#NM5_#Gn[7R.&YT\?DDDLiq'?6>9PEoj?Z2^Ng5E7/fs)>jCDuTe,oSW[`4,CW):]GZurcU6jE[,m& +CO^t,>hDb4RR<\U,J%-:-5rWpfn9=4aA,#D3=UgZ3!+a=nIR1Fdn=D^,(cDI#^jq0 +*Nd]-Y/K.i`7)H=RpP6t..O34rhl@f('jdeJ%X9PUOW8/-T-JV5_=-4W@/+IL.ZAI'NOjRI-!FE_f'CXZn)T%dPjp,LB_\h%l, +%u]5(b6"3_%$o]-YMA8Xh!WNlAA=Hu5:g<7e'bFfm2ft\Gd>HUR:aM&>MYogF+9q/lesb: +CMa(g>!n(K@98q.'d9-L]Ru]2kd7#+f +^d7.ad5_^9nqn.;Y9=rCU$&NP9o\lO(`uMI:M8$U$O$5HMZ7&/3<'3R5O\Ff.K;W8 +\GecTho;\o4oVtKo8id^nb%Va.=[CC*q]Bj+k$B$q-s@g'F=X9R-u,Xqu-MMhldRd +r:Y[0Dtj/-pSuPh/p]edr-4RSf-bu146l^Z+oaKf![%Q9TD!PX2!i&PO=P`&B=gK* +F@Ij+`m&]Rc$#pXFf+Wpa;A\g)fAFVL>((1W1Ct4'DbnlH^j&ARUW6=TX(6FRa>IH +s2VS!`DHPP0LjRV_eN1[(.F$F*WcoRNIY%JU61,-`1]e#Lf+qa'SIt2.k..PK`RG9 +(&TcDDuR5jIn9Tpl:#-s8f&T\2j"[PrWeDI8:r[<2$2c<,9RSkr,4;:On)9Qq,>8I +c2UKg-[&qo2`GC.pUlqts6K^)VMsY,+Dn7\!QtF**JqJ#8Se8hMMFF?]gJmC@J8bq +k$%d`ofl]\)f!%WVsmcc4Y*.#Jbe!7_9$Lt">#OF08sKqN+C]@:U1:/)Vb`55d7s(00D0jFFJ/uKujshs/#Z/=(\Ku +rmqt^pE/J"n\=^Q'=+N3b+Ci!"TMEkf@Qha/88:/.`bt48-MuH,c*OnTh$;e>/83i +EDgMP6l%;96jpsg!YN-R7<'Mk]MOh8'I@50;^"&pjV+,r5K77m25%hZq +3GD5kXGo5O%DCERH[iZ^j1W`_'?IkIDpGqB1sbr-dJgI`LG,"]^HBI0ndl8G2?+7n +q,<26^HP'cmP*[V_fe6c@Jk'WYP,f&T`98"n^D4KcY$qk3^ruD$j"s%O.pP.d2+UG +:F@"Jp=!Aa7kY`b*u?`9(8Fg;U'#+C-j6ri+fcW`-]eMZ9ZZ(@*0eN1L?un#6%J;] +#ZZuX++3"Y4WaJ7H_M-[<3dR1OKWF7KV?%TI"hI'#ZMY\-k9gM9E"6M!uU-NFJ'h6 +&qECL(l:Hiq]W,W +*T*L*?V_=?'']ak0b-(:':l[In7FMb"3hXW,Lu":"J&U,pLqqh"9#NfI`[9#'L&F= +4Jd0]Uir/mYFCc%%1'X/\Edo\K!ZgIo&<2[;&lb^O].>e/\oPY\@\IcG=GZj)-MAX +LhN9mG+38oU#Wk%`^q'8?6/QL/b,p-GeTSjZ&S9?]Bce?DGR]d4PK4MUM]tKk.jpg ++j2_TZc:&mFkE'4BWl[ZPe_X3laFlW?EA<0;oq"!:-2TN5?2[m+F*iP3*"R@7.,`s5i:FWjVn++5 +F@@j,a"R-3c#tI/G:2kH8f[:n)XU-8kt3#`8fDMA(heirCPhFqNZj7STL,?a0a?V; +qLZ00a;.EnP:5PYRm,m^1%[rH(:kMSbZdWjojM4B4Y)j\KaU$ROb.=W;`$Z*b? +CgIss5RJJNg9Nhce)B7iNXakMS/U(@);B:G@aA>,$dME]hDJ;TG.RI?rFNd@RI\P- +'itoF?!lOH=Q2Pa;"3s_nKUOL:Z13Hr2J]`W;iJQV1.j>``U7aq.'#c;Ui]sPp&_q +:JpG@Q't*p3^KYqHL%U/T&LeIHJ`[9?MWfb].D(q#>Yqqd]RW +c]:-%1@>#5!V_YAm-m+9GZ-8CJE,6OBO;f,J?P!\^H;iP5ikM!n\\6# +pNX(n>3gYN1/-sE@,S-oY%OS3.&Q"2+%lXV=KZ4=m=-4m1E^C?kR.Pk.=mE1\ +iq5hT!:hMAr-^:4+!gPL!^F9CT-'8ABG5T_fmIn?!hBr:(K@bg +%?0TgqZlF-+0[f^hro1=4'gd(ftf9nGgssoGo)0o84JjTuB$0K'9)_&hc2tSZ.r3o& +hCH^lM4'd"'8N"#bfjnFQ=XZ?N\QPSe1``/E$=>-gQ[jV\'pbBs$$1uMUS!^?gCiu +MC7YWk*tgbpHGel1Ca@1pLC)pdtdWOPIp&K*Rr_bFD*%jpSElTUU)]=C)XZfLgCnF +n(.%nC.2M%U9B=A55qa,]RLs<&b+jAkpNB?Z2^N[^PE\OT!6M\WgB*F#[bFVl=0SH +e9FIX@WY^os*d8sn#Mlg!IpYIp#kSi^Rn@&n]:!6(GrigXSKu6`eU>SD[[Mrgh1T4 +;t"b=iRp-Lj3?]oc'C.[[Zc]Z#93"6)f5E:D0tU9]B\cEl>>;@m2uSdC2@(SX[s'T +@kHpQ+9J2VW"PIs'H*/N(^P0k8H]a'lfY21jeiuHT0_)Is-X0_&-:^=;WkBjSr_;I +O@:>f+mB85qEH32T0rY[rg>;AQo#c`V#D_n!.Oj.NI\l>qk>W'6&l'@It=B5s&f7N +r*NUh!V2TPT1$Kpjo=mL)rc>e!Nc;m"L)+G%[&>Mf`*P+s6r6,eEmE)$68F+QCRt` +nKb#\0['HNZ6(b!FEmlEJ$SFYY5D]!0E9Jd+8uN@",C&=cEq'\ca@[slI^6TF8+'7 +OT5=?IJtVj"-*lp!apJ6r%F(!5!KVgo"R'tGPt?#q#C'HUjr/(X3`"7h_$M4-8ih) +2;8I/ag=ggYY%Ns9MVob9!NnuT>6oQ<+:;2nJ2Ff%Tr!9=[+&*";iPET:&PS@2\IsS,-7[eS>=8[/% +eGi\;MR#0me]HiYr1#?jgoX"j>=%r/!^Hm!B<2>YZSpuXD^ic`;O"Z$,]@0]rjp*9 +cgE!t&\c5c;#e'5NJl?0\!n-$G:C2TO'c8mEf,KVDkH!>n@tNj^R[a-GOlM6^;CK# +YPQORs(0pS47^#J"2bEB\*6+-\L`'VLqpkXmZ8&MU\c3p9!+ +R\;'&<3;+4ZD`k?Z>#OuZO9&)`@r]tMo);fLa"c[N>J\<$e8b(%8iKA$8JH1/3/8^ +]DtU-^BH"#'_rUkpgf#-$8S8@fRf_$5>%Q.eu,;8W(:1s`98om?#Glj'CLb7o^>?.tPJH%XC&RtcI0;@nB3A6_=?`fOsq7fn. +EjnC&7]#tQA_O%SFQ\PR`cDUcdL=jhFBTkGRR:*0!ouBPn@J?k]mJ,QFu0>![2kop +2P^6\W,F9Qo0FT?dF:puDu`\m^79joje,\4d=VeO#L2J=0(cZGq0!GbT*Hs`T1>aX +3[#_c!Pn`%Pjpf\5Fg'R*cj\9nm*gHJ,'&0m]ub5rk?MNs-hNrcYNN.61_:$Rf>FJ +q9*dFn!CDqRa_(K>5P'$c*n3%^H-%QVq9j1\'`/Io2?Zq8(qeAg[(eA*6+K88"(G& +RiM9om!G3A]:0d$)XS[OJG)$n[T[GHJq.A4)[FqE,/C";D[6ptatkZp2(H^+jC]>E +AK'Pq6"re"!SPTM]JFs0E; +<%;o:'A7s:b=0u^+uTKP0uX)$eILMeBE8,'n:tTlZ32G0!:hS\K&KIPkP+4td,iaU +!'0XB(4=33Y@PnMpj\"q]dDIbYkX0dXrD$85Lm?-/cI]TGALJshoLP_!L`Pe/Xs!K,I-)]BCV`9K(G"PMM,U=Wp"#pJDnCd]kGitGR +*!GaK"0DSl6_Ye*'g?^K#mkj4KQrMFN&A=AbV&l[PS!YsZhcg@e%IQdf8tjf7/j^k +ce8BiB>Ldh'^'<8"9mO'!qNZVj^`6?PI38$GACXDp7hJ%,m@L&$9$E*f6$LfLPi2E +MbK.rCL*l>^"K4ZEkD7=I<$D<.t'=tHnilnFdVu::+UnGs7l2TGqnA-hp5d$(;TiH +s8TAqYOqj5oB<)dlA'BEgC`kK50h&hlFdDoH9$;N&DbPqcc;^-rq+Vsk3s:$b`V%< +:>4Spb0Q7E2+%B[.*rD!!Yf+&64BQrLH;%/m=Y=Ho]Tso$Ad6+icLT5*DEg](K)AV +)_^G@D'-BIN`2_5<>\&S$Bq:0,V)`kb&k3-Jm$0O_hn"*)??Fe4\Ejb4E)Ac%hSeL<0cI5"F@F1Rd*N$^n[CMu3=4HAaH9KZl%;9>i3Ym5u`Ln/akiI3a7LB$" +/c)9&rj%mfoe>jT8Z?'/\\Be!R<4nI8L;(nro&=5b`Z52uah6bUnE!nDkqi +s-"8+Z2Ce=4h7BYj:XWjqT!=;T20-MImj&$K'm8-3ZfBjIXBlFeR>47I>0EIRQTJ; +I\t+oYQZ#Q&EW4]pU/DgRSTK't_&cqgm`b_>dLmN"BN3XT1TGND?A5`I]poO+; +;P\2NPhlc:#pM]./8b^^B,oc)85IUY8CYgn,9SAa8E0[2#d=@;1Mt,(J"Agn5?[n- +numF1rg<`Ms,p8-*!+7^(R80f('(;M>6+@mQ[m^m^d)\K',^i#g#Te.!eT59@'bC% +!AN0OZ9/DEb^9C92h+=Z>t4@^gLpi+q*c(s=iC<3B_PtEjkmM4<;r]g#QN,XDZTkk +G&1gQ^\=T0++,;+sG&cZ4+H-RMuKr)6K6;GnNl +s&2tn5:HUt\q*Fl:.fP$8p!^"E$aP2nb@M@?Ib0[%ElpbiWt'1pa,imQ2ZQuTD0ML +_/oL%o!?pajP]$)OLlCQIYmu\$[9C!@IBGolqP#n)_p%#noD/TjDS\g'](#`g/M;; +e&$=t0Emi$4d=U5FGnCSRT;qbkZRqq#>e'"o])7"H!0K +L#4m/r6Ih4pAZ4)W8H5PTKc1KciSSP8:TKULHiQ&J6o9A0CdHW/9Eb@\erGW3PZWj +`gQ@*7\-N->Ir?%6O*-PDG*\/3Q&0IH$$MXC +E0^$;P4`s^o!RZVfeELc.)6/n>G=qM'P<;s;i!1odJ?]/,@^Xs*?%JqU(aru"AL@H +Rhr7['s#Gfjj/c`A`As=3(4$B:ganNQm?r(7@m,87p1^kNZs[fM?MY3g_eSpTN69d +])`r-8KIB"(W&0[i]1XL3>]$#CPC8T&UM!BHG,I47Q]f#/t$p0j.a^G +(-+p:X#3N4/!V7](ATG8$e32&<gF=#O8LAS\<5BV^ +D#ec&RKrgVQ,S#4&"hCe=iB)Ek1pV!hA.Ts-rmlWU3TM,HSf*u:o<)7P!Nl:G-/N* +`?*R0m0Zi4V5esB3cA!\M<`mt$KFb1441HZW7Dm;gRpGpeF/)<\"FuCdCCrQ/HO\N +5d(nVDj@(.lfh2,G`V]Ghi)N(SAJ>-r`J1YkIP7X[if\Pi>h./n:C:*DDZmAit +#m,p5V@&691,I>[5Qk%#RZIe'aWhC*,`[CS9Ol!a[&bs/>rr->RD%.3XSOI77)>uWGS&"*!+"XC]l_Z('#NYDZnSL=V._. +%V49XRfY4(![J$s=TJ*'4pB8aA&l:m[C[#?g0G23\/oI1BCQi+n6?P+/*6eis/4T% +KDuIkD[-4pFDbINgd14TnGe>Ohj+1*HSFga=N&/bZ2BIYJa8*]qZ!\NAE*X$$Yf>N +dpHA&8B<]GcSPh$a.sRRdAb,_.7V]VL/EdsOU6aSnV6"B#4NKJB*d3%O"h'$2?;Z. +7#X]:S69[&AULd@>Po."rXR%Ap.:*a8VmpB@_k\2P_V@jN;;Po6r\gL!padlJ$(mme +r1)"W!ci=jkN;.[aP0is\1b,l$'cEO?e@s_Bl?8*VrD(>@ +qNO2]ANh/F5+ggtT&tEKG^5\&/Gb)TpJ2nPIU#-&c==Zi&-QePTO3QU(\&+LD?2(u +r:gX]s8R^0r9WI5mdH)n#)4aUM&0,_sVWE/SZt,Pm426!9N4l +(cc:gZH5iKM/E[jSdM`:jB0>iU(OYf/j[QDH43qW-G^BnNse'ku-VQI)Ynd +fr5CZSn.NV(mXY'Kd'm7b[%mRXdn_u9^uFaF,8=:X;(I0A1%%u%ek!-pK@UlKd*K8 +I(:0tj_MhM(\sLI$ZtR;ogY-e];"u`!jp*nY7b_R(9U^en`1!^.$5/U3?jSK;eeg\ +C`&9l?"uZlRNdk#W\d#$eu6b0NVT7C*V_4@/!9$r,'l85F'jISWFS21jF#[tGr3>8 +G*Mge&:Vn"c_J/QS`E+3s,#1p-L[de'q%itmK1?PkQ34Ci`?hs*V%c&l?0 +\Sh(K,!0%!3*Ng3Hed@CP +8rUhK!Jl9S!ZV4B]FZ?K!.8$9br@r73JVBnG7b?p?Ha84\R +pqL'ar=9J>'A-SunO7ui]3tCdY]qd^ck31+d%Ni5otN)/r@_V5!`[f(G6)q.&;bq7 +)FncMe2k%?8--inIn:4D[6-f@b5c&RbA`sB8=LQV4)hFKCTQ?]`H/[$,:WTmd(Z=N +#A2`/reL=lr!se5h@KTMftX9\*t>t=*f9h[oi1ol&&l49P6h*(s$/o2Bmc4$WW--$ +)hS)7P7>DC62h'sZ$N)u@R?g]K-U&@,4pHE8;#9&UW?QdQir>W,b+R>gSA@A(Ah\= +gEe3!!XWj+!g41dOqV-kHS2DnM8i[\0PR\h.F&&fj$4e2+i+cZq51[=*ta_%"lT'' +G"Jq +RWa8:@'T)eWTdl[mb&NOX,X-'>9O'4h\tFe2pD/D9^8qjksprMYGW4XchEoCo^uXC +!kt,>5_JRN*:l>-r(Hr`PPG_%s8R6FG6,J(j,:^fbV7BIHom(s*+V8#V4\4kTUC+& +KAI;>Y80tgB2a"Ql0C(rV,6<=0/L5253RXq4A^ehWcmHf3H=ktZFM#KR;:>N2lJ'A +<_:r<'!kRuI#E$l-KY3l(&.SRq=uH9q^D#8'Cpds@F +6Va]m*=I:K-Jm11;b(i.:okRm;8]I5n/]\Z$)$8mn;:/W%$_rhB94H]:b%+'Gc4FS +$'gk^?.<<&oK+f5]rA!5Ges;G(ci>VS4dHHB5t-;o<&nW[n>&kQ)t!idCW]V#JFA) +<.@I4iNNCQacPKe"%r%S._jN5I(r,7DM.M>)W`J\MKjc`:hD%MrEtA#=.DTeKNrd& +:U#lqmcQk*h\@b,(+1u+/9O(?3KqRqR*C%CLN>JBHR2beC;/](I+?]Vl:W"`PK>jK +OkPeG3ot]FpmY@HHRn3ialbWSj]U(.Q71W1jdU9F`ghED3`cRJBV@b0<2,._9rW;? +HH;X@Zk4>5L!Dse7%cX3eD4s5H80`T$6S1%]UOI!m^mHWri\ms!:^i?AJMZEFpoDeC\YJgH:/o-+>s)VN0?fuN[4/E&Ys7Wr'q#;#ss,?pr;^V7ZNUIlEH"#@l +q-f2f"'-fGD3+l7[FQi%0*,)\GDn#+LZ]V&6U_eOe +^b%gZj`1`:!YJ77Cg&,=JI$cqJ4'BZ!J5,t2?f$_"j"6&Lk)!@K4k.d%@'.9J!_"! +`eA+-O93AuYn>\T9Xn+s3.)O_5sdD7#g,[pJdBFh2$*8G9`a7'EHV( +^g?#Manic^"T\@b\s8V>0*:0"&B.cKr*i.tRfX)$ruF^)E!2D^lmbEa/>sRcJ[JJnc`!d.9*p!,(>!-\Q/9pjdL=7QNEDfk5ZEg>#/i]P`M3o'!Y +gu8?bs$rDY55'i$Cg@G>a8U#10Z?@:J*5Op0!s[3+0tnsnc.ji5dKbbrYO2d;_\97 +58=+tq#BJ]nu__#r1B?l"q_EU+p'%h%ndK259sDk3(bPH68pT'-Ql*L!"fbX@iQM- +*h-gP&b'oB2sI=>-2o:@fC,hrqr(iW>TF1bq0,OZ` +!Fks09T!ITZ3NS5T+!0!Du5DN!]#1EZe%kJ%g`!C#fQbi!^Hn(-S,3[70U:(!KN"R +U7t@^L$P3'T"QF&C^XVR/\m'$p$3'eG?WO'l^!"+:Zf>6q2\$V5/RmqE?C0[*fi*n +&2<1e-Ob>GoU?^.48DAtIs(r+,5qhg'StW^!#d?,T4aP[VpMn_;NHPlGTpfKrF%MT +5ooW92>pQ)om.3r0b_6^N%RTK`rbMYIItGfcH$brb=:1]%J&U"Q2-p"EjogpmF"\_ +URo+o4a)li`9u0,4')/p%ja(\!2pM`=] +k<9lKrbP!ro7M'jN[Y!9N2_1[W:]&!l?g3ZDfr):Dc+&HVf\t3iEEeiaV(GhI//V@ +RA!$:p./Lq&ChW9["m\\s2fNBHm8#m13549F#K#)/rb3$6g@"8oS%+8Ze6hKdoRVd +ef9^tD@=mlg8cOPXHBhY/^7EIeP7aMSh-^^^SLhkH0miAkkoHnpP0Cd +?QCs#r.s<%o7l_[)SU44r09j[4(ID37P-6P=IgJ<4um/#CsZV)hf6*NnPI!L7'G'Q +YN&07df:C\12dK2Z:ODA;N!h]o4jVe*E#fodF +s$QagRi,k+*i#>GV$dls'WFb'&)*'RKa>JoB+`X9UeEMqulkJj>d,1"N18_ +s+5(QP$D3".t9f`jS7X3-Xcr^>p]'^g(u^bnX\V0^EYuh[)X-%pb%("gWD:`l3`<8 +8k4[;S-"t9NGJqY=$$I/!_=tp;kUt'ZdH1m&^9\jTssQaoJJ]t4##1N51GOh]oBCF +j4h:!A$'&gCI%l0bm3j!s#6.Z57;=hs-'!\anj>[a_9H2*/_Ef*A?s_NS,TH +s6YNi4,[fsQdY=Ca[e"f9Zab7b-=LY11M,P9VYOG_>fY>`]+$/Z2B4u[0%Y\r'Rmi +68\YXFUs.?qhIKXk_&m[j"8>(0PCLH'5Y`AJG;+>(.a7jMiY7nr_H8.,F>+X#Nt:2 +XNf#_aj+5154sj"It7;9&Gn].$02W$HN^Jao-Yi1,UU%=-Q<(MjQZB.XEAeK)[c-o +#n",(RNKa\.bH=&h?0Chb7RR8^S<2q%jlcB^L0"8?mkmOdXoa*qhqhs`*,D?3$%lkB^6h@>'4ph>c._]gG(^)r^aY_S)^E9lE?c>Y8-)u*k#E# +@'=ml54-/a3hcFn6[#L8Dc[>&WZ&H?3RgPBbYpF:74Q`G)eI-J2W_joEhi<;O]n9r +'r5!= +GlTj&u0INJ0ZOF")74`!QJHdObskiY=_T1`(3SW`mI +X^>DcG.Zird%c2 +LZeSqLQ*HXJ- +kVUiY1u@[`g?16Hk<.8S4OS(2ggrDQ6,9@JGWD_A%U&k@rjRRW?d]!@rD2j;i<\A2 +Z$QMKm"ljD0\\u8!U1rhIkiI)*!Cs2!:#&=p4mAaYo"G]7.ke\BUEC2\7SF1G#T<5 +r#GX,"FiPM0Jgg1/(l=4`AffqA>T"j!Mo4;UP!%mV@9>N#S3ZTnjS*9/Ib:k/F!+c$m4O*rlIjk<$s2-[@K/N@XBE8YFJ`1nu;9!$!V@dh1GkbLU +F`\V;"X[QbO0o#(s-!$sW;fdp`W"3+ncnp-B1@X.s$ZjLNFVb^m+G5uWumrVMK_W_ +E_As?jsMC%n3[24GeugO$Jl94)Za+-noH`Vr=:3&ET%DS54Li;=TG9^fH(%goCM_I +EUgfA\6p+Z-7[Xlb26$X^UBiOURgj1.'T*j0ps]4)Zck;26YTShe6''f;Ucr;/r]eD4s7*\I\*SrJ;ZDpmT\t3J9`^]B!.6We +k6:/&_osd_%+u-cC)F\nq,n7$8I+p+"+$^\]i^/)RU+!s4dDnKPc-\`X#(NigE!!B +(nt(IXBufRQka(l*ho8@X;_tM(E':j)IsBlC_RY$*$/W%iNF2L5VmGi`N-s^/4-9#1h';e*O.oB`4-r^49b0lDm-s@,"b+X&?PUMTU +j\W5k8sQ:%V!'WF8u(l`dNWC)V+.p5.ZD!4L%Ws;4l#WpeFPEYH4%6ONG]Q,gO/9] +$$3S7GH[/7rkDN-^!qT#2l!k:d/]C76`QHFp/!#CbFpDa2n'`]A]K45_FgA>WXGoi^WD\PD>`bgV^hR2K +)E0pH'<8tW!IQn+V2MiM\L:ANk^ +J30_=6iaT.+4R%2gN'66mo.,[r5f@VkXQ4B:S#[cTk^[>inOnesb +N[+[Fj7%ZQs*nC,ia2rOs5uDUhp1HbF@uSF'8DR.)EqC]H%4]3_490tZXtj2[_$t/ +p?I>(o+SRq`p?K]fH22T3\p'73:&CbloHr`4?_m`1#OhOCVGrpn+nnAbdYu!l4g^=iQ%%A$R+Kr(h225lI;hXp()?Ckr9, +';?3^X9h:LBL[\j!KePj5ZFZdnNS/dIk%W$NO"^Aro&@>plfR*EolK!MgpT`bFeXg +($%#U.t9,M6Ds`*9O=DUM#asrE%!/T>YY;im!k-BTgIgB=lrOZjp43TeirZU>3"n>f>rq:VJZa<[mQ-E#HI%lKeVWO/E9hH3(hiO]Cg7&N2m"*7p&XZ] +T4K;=T4m(8e[uJ:rh!oX$M'g-hm(hElU^2Fn33UM\ +J)^Kk_VJUH6/aGX5AP^KrpZ,'m3VR49Cb!-j_^s5&`D5Cj=i!d)AejdM@:7N$r0eO +S?#Z$d\qJu7Hn]ji_/[EYI7*;f"lX4S+Ce^HDcgM^E7k`LtEDLhg(_[C]mQ[![Rcc +;kT1J!$2AhPRID8K_*A"p\+j`gDon0%/&Wpp"^mB)ZK7\p[^\M%m.=?[n=D=07Tll +q.f/oF*rsW3L]OW)C*?n]a7.;0ug%e`qbaoR1ZdH=S.K6m8X9Ri2%jk*3WM`=q^T3ir%">5aA9eK5;P^Xjk-DMR#J%G]^'bgfVRCa"3NLH_0C +=\@d,,]i)]3"'_r`E:u+[+&Q4cpSuZdlIfKY#u7K4 +QHI#jMZ,[-#Lm>ZWClPXjR/=Hp;f&(dZcBqq/VQ=K*""\N/Q\+W&-pi:R*0SjAtM# +NJ;PQ)="OtUQ0$AK3m8dcM4-7;9\DQl@'e#:l7GO5``M'[mLFAr6HUns#HqFjFZ[S +=4P:hs$tal=6mskD#h%m+$cZ3U2t+*T\%k'5mYo9"YXMkb.t,B!)Xh.DDt%M-*F%CqH/ +?k2nBNV0lAp,F/\G%)]3ENn95^X^'%eK4Y7D?8Cm49\\;1*uOD,ZE_o$c#5^8SO26 +nNT8:)?5ons250`>ks$MK@PhVUOk<&&cr%"IqSkus+rK,.IfmcIqSj`qS+]d56k>] +CK6O9"0>c'(DT#i"Kpi4mQcKQUV%9Cne[S$JH*_q!3H3+5lQ%_Nk#<'"S`H=J6.EV +[@lMgE=)tE*SD-G.Mk*HPWDm33<;!Kc8YmJ*:(b&+L6../;gB +ia]s:L=q'.h=;+#p?@l6-Pi'<#\WpkNcZQZ^qT`#,9SeeL\3mQIp5LlG00Rk=TTfH +B-Z=Pq#g+V"M(!F!^ukMWq*hH!]g\UqZW:\-)M?Pcj6QjX]Y7$or<(UC6omhXu7cd +BTg'Z/G2oQoICs+CRrtEh<7-XqHs:n!':u28&/3TpmU]]lpe4ts#:(G(sr8#8#:`C +O77\W(=DT/e8G`e:NN$J%SM4s8-V]G01H[@*`.6n8+lP`eb9uiY1;a,'c@uC17688 ++36/%827*'2_BkBc\oaqGGiJaV8c`9`*4N6i[pPm,_lNt&oX+OT+pD56Qn9"_-pfKW!$6Q>nQ1u +U;Bo0YrX,XjHXNPb-dUW%90$Pl?,sb'cM:[3PHFs?LpK7F#T)(V1-tH(c1FLV=j/LhQGg9P.1De0($^[Fp +Ouh[ES+;g_p6G%>Q1*M/>dn"8A:nWWVco7IC6\Ck?t3b44f*S-ATt3EFt.HTatc%h +kj?gB?3\_Ph+QdR)ZDQ#jWO>B:Qa[J.rtHc4HV\6>)R+E6`ihV`rZ_'EMgFrdMD]' +!Uc4lk"Z9V>!@8I&q/Jc^@"?Q:=+L79E,r7JFb7??XA_-pm]tMs-(Tta<(EX5P;d% +rCF`lJ$>h(+js4;P0?d@m8I+f,]Ij4n'Q7O(.>.lt8oAZk-SJg04e'=;WSBjqi +SK;u91%'@(b\_(VkC>U,56Cr\*ek +Eg.VJr5&@CdKCg-!1tth)L22cjSu=]nQDM%rT#q*aV%EFWepN?:SsO&a--4)=C"TIkD"$?`X8'09%VWDQaUX1TY8@IZeDad`f&2LleT0H +:Q:]ohHCG0&Cbt!f<-!i><>sU!t7O(Y`(F8!+V!-#SW1W!_SrI13#9'q(')&SYabb?#QQXU/Z6s`9R]X\YtN?I +JI"e?Z\V74_oMad%3qY@,GOhI,'6/h[1@q*KD^T+U&GRZ1g0'mG)VJ>+F2Ct]XJpq +k89QD*1uGXOR/L%l3\+'T8>#lQXlXWU4)S$+7[i?JmDKg!tZC58-k8qNJ_\5M=QI^ +(-_qiRcHp8?^/$bpqKe4Z]+q6s2(Kn!)A*>]uY3fnG0rNh/G)ZO>>k,1ZDn)s3raJ2,'59&5L +E*2]tT?dC1K0(YSQQ&WE<*CgfS';Y7o]92_Alr$/>*UAf(*l!(VE!\53p3ZnJ +UqEXAl75B[baUKBtkJXF2R$gLSaaEfutjJea/$5[bQZ:]VSu +63k";57[)(:gk(5T8o,0;\`-#)Cj-&'mfY.B;6?Rc%=PZ8[hou/mC0rKVj.DdPfC) +;"R'UH7=c$]o[M9`k5N8kG18>6Z:SO2]M7Xmn:(PFqo=s&m[.\=3ApM8p%ZL]o41d +HDd)3&b,%pe?QYU2DGK/G"m)AB<.A4Zp#GtMDl/d@N@TB2/Gij7n#]XQeU#N3 +Er'N*FYTM0.YBaDat1KZLVqN5&C+5TGAKK^GW08K(Ungj6HaPkg-=QtT3?A)"Rgk7m6$*]k9htVaiiZ%=(\Y +Gt\WU`r"PIrss:b%X0sdrs)_u=T@Ch_O^Ani;_ACCWTjiM>p-T:gIU/=^Y9mDcWI= +df7>R@kmcV:O7t.9!ge8q3C_>3Y6e(qOdOI2O$pe@!*ZCLkD(6X_%Ous0r#dZHU/b +-$e([ruceF5DJV.&HDdJr'1SG\X7d]JG$ZmIXs:g5FW[5"t9Q0o*V&[Mjtn.aM+m/ +I5QsG*!X(Yp`E"V&5t0$W@E%n.H:(N#J)%8Yi'R"@Rr;9+(KnGL(8#+"$i$MpT'PP@k +6OA9.kZLmO?GLc=^C'OuK89J;fVGBK-`:.f-^r&n)+c"p4Am!as+]`hs5=XCrt37e +"IOtb@/7-=T<0E$ae'^IkZA(1gD>ZAEWYjM-[Y4s%t>`#6<"YpL:-(a6:OELLY2fc +f`d)`#)1c@JfTG1+9J')"@Pbka2b\8`4A8C!<1;Op:l^(UPuso>d1-#GV;?.fN65Q +$^C/TJcG7`!1*ZI_Yh[RBP@Crr4HnBH!:Vr2Xke#964?Rnf/SUlro9_"p?8?!i(Ce +7cQhQ_e&\&Pr_F9[@aL+IATKu>clfQp!VG2R6*"aIQMkV#JE(3Hnp:;*CKTFYeq/h +!IeEp";(TclA>4a=q^GEU>1f&ME`(XrF&:hgNf?nB(\B\2YqODoV5:T[tcM@m]jFP +B(^PHc)GI4Ki75N^/\O6I;>E[Fd>C/VQ1ioZQRH'0RHM[mTL_dG>1hmG?1kjDOspY +^.2V7ZQR:[Qt05;B-7K3i!1YHmZfEW`+4.d%!r\,N1r.+TKLrS`UCn7Vl0\3#7*dI +JjG5K-rV#R2,L,5^3@qANVXXY+]i9oK,RsH%W=an44&$Rd)?RmAdWj<4V..%-1c*Y +o4^#PYSDTAL-B?>n$_1f'CRlQ]/A7@QcmbIV::c.FKHNA!\ZFZYI-.sH?gSA97JiC +qpi&9ZiEUcJpAE'j, +i;]ca2!.;hm,JNBiq@9MFDYK%2^qe1="WI[K`m2"-L#ZMuqcK]iA?;uQU5lBNn"/,`6f5eJsn +>DJ/cA,VILrVUe@pKs9ZJ%oC\o3'!":RQV%S12PZj!.Un/_I_@i:,1-o +ca]O6p,Y(qF^i5RfS'!]M)C4OCZi^h&8&tqB1BQEO*D?<:C_[0#[liAO7p)7s$o-+ +L>#qKs8=OpGX+Zlj0J]Y"gD^@Y[[Ql*tG5$Z*#OaWYS];'q.A[Il;a89]CPBr]`9[ +!;rH+TgKUqM>W51@tV0u63%JSIrPUEBbH7%';0QbGC^4UocMZ<1t0,0VuDJJ?Vk-/ +;Ih/@^OR@(_tq-TfR91LZG60Kn]rk/.k#K?s6&H'A`l*djZ$f442L[k&HMsGA40`8 +'9Ri4)!C0^f.*I%l[QD?EqfDc(Pi(\Ip7V^"?$=oHE,RZ6^9U(]@)VVK*?bnWEe1^ +jT@aT%+P%\e>r[i&CgLaf5DdjemTg90\*OY\n1'`em/9Dr4LCjDlN?DOY1!sJ.k'H +&-8^*KE#Qk>T/MI.6rD7!(tGdQAE3L`L_d2p\[?ZpcF&AS;]#2oM"#(1omDtoD!Qo +fN=o9(rN:#rQ%OCJ4P*er:^H^pk@r.L[#%t)$Yd6Kg_@q"GB6HOAZ%@C&]^@G/OnQ +`nCMlE=UA&p5s@]CQIIPT@T-eJU7]s1J9s\TuqMEjt2nCs()o.EZW`c#p#.GHu:Q560mhs]goEK?d;i&G0&t/$+g_f*8_`Z][u1_^!6P(K>[4oqcT'[ +TjjKTTkbV)V67VI]O5SJiAuG(7\I8)UO^+A?b!)6BN(U4US)jaY]sHQ^oOQXXZkL> +-IoU]?Fq[RXWg"r[$t.0N\5EddOe;.0&H*jjkt=c%Nsm6iqaju&;25F]]WLlN[bH6 +P6L5o5f<$RO:OL`R9A60+5`"%"JSO$k^#A&PD3Br5];SE%r+'7S%+M?H!g=8*qrQn +qU$+-phJR\S`l&6oO8iP;2+su8P!-;!kne'$G]I*e^L_1d1>.gD+Ns`0q#5BjF3V! +r+/1UpI2LI(0:AlX8;Fpdc1YQcUMG0lB?LkK*O!Dh(m:+,3jP&"o_kfTdPK>csG56 +"*JISgG[DQCQQVAWR+oo_biVC8j;$0.DSd1=&3tR[d'I7b.EpMGKKAu8Q!+0BI?80EPSSehl`SN=.OpuIm= +PMSeVf.Kh#Ribur4733pNVUeYY+7S_ApW*fotMlRs2"`rrB^,`>2k$u^1O;"-7A;4 +8"Eq4XaOE5h1,;Dj:B5E`;aDZ-I;PGLqFE+r_JR&'Dil)^[-IF*Z(Ok+0%\'"Hi!M +J40Aeli1Pr)h\14c/4$GT?R4qeGh&[mk/.)047M7@HCiqa;4fd@ejYKgLoY/!g3g; +-mTD__WO"sT-B=eZ42M4B,UVS=lN[)Nt#hlEfp'Bh"A=@lT)GB_"E68&I-V>-21rb?AmK#-/`K=)YQl8GpY5&NJb[qVq( +4SZ;n,2c;h%UckZf3IX5q6msJ!K.uq+U*mLMGrFnFp,/t"\91qH@\^?cU/\279jP.:!#f:fQMITC7C3QEhMd12PFfXHSi"&eiM\"@Pa!JH#_H%/e!P+9IB!rBp3# +!l4iP&a"U3r]q_&_6;cnbE+DNnjE>l,Fpa,8OU(seKD`(I[V+]>bKS\)SaDW5jWV]b0$SO;aEM=A[;!pkCRj^1`/CC%<S1'^g;^ljgL:Q!Q][Xs6hT:2\+28;BNrr,8K0\=u +f>2nIVZ?\o4QlTe0(@[:mou*uZ^Qqf[D/6^qr4jMkL13=:>:5&u9adL7$-e=.X]lM]eE[RladQ-QdK;@PUJb/g3-T+WC> +#Jr`S4C%dlF]"n;h3<., +WCIuWht>1l3%Xt*0_^>7mai]-Q\3dX^$+hnqNWDmK0E6n,i8-+MHBF=1Y +U"?mrKt.bcgkk7ePAIjf^"r^)3,b3$eBM\'4/t]R(C; +FTHP?fp/'O-1p`NXTEFb]Yl@)D$*2Gf8t`.o$DgWKRmB%Cb%'q9 +bT[Os;*l:LBZpJtfgK*O7!Fjb'%"N#oQ;hcirnQ>"Y'?\%/Bk6g>=hjrH2?9s7/CR +s2F`I=S_u>>m'0fmjm,lH=$?TMgA4tIs9')lOtUP*4P]Va\lCAcT0gMGIoWn"nFm) +f_`3H50'OJN_Z`?1:_:BEl7h9qH4d=lXn/@r(6EC794jAgbJ.HH6WCJ%Qp'XMLXXc +Xp,,fs.KU0Y-aMiT+q;Ur@c;J0$Q.#c8>?8s%DX,&ABCki,bapnYH4$@X]FX6C[Y_ +mf22E`J(`5s-&^t[bu@n^^As&_jXiGG6e-a(:`Ek_4Msatik`^ig?mG@>Kb2KMF?ca66Cco]:cr^3R3G1 +#jVH&9gF0q`k7i73E\NG6iackOI*GZ+Q!A%a&?5rHd(af[mlKa>H)+VWU6A*CqN_s +^ +ZRVTnXo<]Cj0NI[:SpiM3b8*7[,hPAp(+$jhOJP5A^p,0JG[k\cZ>X`a4o1j2Z$0* +XrjWKhd=("TmBL/jfZb3h.C4f*`"-HQ\05B9o.bmjO"c?T>Jp@&>H!fofBg3jZKi"c`O0?j0 +1$3X=U>[tCH3ZLnLX&>]kMspsA3?dX?6OX&'YRh(hQFgj4eHlWOndfCUS#QRY>aYo +C%V!RqI'_Z4+Y+.Lu.U>/\jM_!@i'AJ"_NZb=?3&&:C()7\G^N.0TY- +b7S[iij,2N0o5?i9H`ka;r%I`qLVI0(A%jb(Wio`*&dJ>>G,W$05h +!paodD[9_T**C36eD*:4*!-2AI5$.9YVC[Q+(P`R#+-G#2okL`2$`sGhJ9Q4T>f[c +QM^A[!!dnR+:'(n_S^2bUDsqV>uQs"n2TXUFo7b(&-9Y"D1FSOa;2!fGH'X_d*iqB +gIMH#5ZjCPq"D/mt#1Go@`DYg\ +b%32+e'J0OCM"h>>=\lZ3lF.PVS>19I!M+YnhB7uBrTFUAKOYtI57quaW^><%V^AG +C&7h=l+>tfDi`Yc0kPY0T]<^/QQ,m@=*d$TGBofoo3Q*:GGo5n=MpGUgjX=RiA*$kSL?Cf +.aX^.<#C\ZNJ,`nHVj<[Wn`HQejm!&."oEZ0<7:9=G/HkR8RZfn;) +o^r?53/fZ`IP\Q@9jKD>(PLH=V[Lno,'8^%J?'FWm99@OB)9a^cA)L,r7'l=r"i:h +^upmgO%5JL(mb33?hW;NWV^36\;3247NID\VZ"mR'`T,NH>gCMK+%7r[\\RMebo%R +%VX#P?S-V4Q2EgGg&9&K(e*]&$Cnf8oNiF5DU(Eug;dV!BF=7,nWTCBL^lgp#bmsq +#U?B8'Rk<:\puX2'aF#SKZ[h%j(^D]NonqkB79$6M4@Y)kkFA1cb$.u8(#(`W@''< +J"KfXcb@&bq4CllTA7h=E_d?Np:noQhu@6MpQoq*hm<<3Ghi57UGd$Bg"g"W]!L=H +Qi1R1c5lV(DAo_V*1>R^/5<3Q*+)@+)tT1krf[F*!*Sn@KBPh;]af42%X$bKPlpEV +IBCe>kEhH`B>#PUIn/l*8dFAU)PM"bM+tCn$N,tBNmG0GjdMIsR"PDBf`,RAs4e

e,QZbRcHL`WW+:DB/b>1'*(H"7G/H.>T"^t\gm>jlCao&Xi!UJ5 +(^L2+"^Rk1h.8c5jZ!><.Q7q=92]/nHLkh;f!2f'j7V.SlaBU>ml8h$F1QAC9]PQo +VEK"FHP`+]/@Oo3Uqj5FIg?,GUQF:tR,25fahEl"qSF-hp=.X[Jee>1TWDr3ZiGKf +=$_C!cH7]YZo$OuA?3X:X8$oIn:+u51%Ba$\:HlV"@V_gdY.rL"9]AH$3#K&IR,

HhNlrg1.^0 +O4is7k'Qfhn(hV/M1Eqal\KMlfGJ8k.A51u\X=D&B0ik&TZInXU7EV.?%>bUQX0XK +[F5)*`;^t[X=S:16Oh,]n]]*uccbi,b4Q;]H<'OLC\dCX78=jl2Z6'V@fj?]`N,#` +.\&,X^/?J(UJ^;6MC"B)8`;8Z4A;t5+5=H@!pLOA(pAO +UUkB(=M?t.H%4K/j^ELFrl[Im@/c?1hFCc$c*@jC+)KRn=MM2?G#q2YY,9pd%CQ)u +C].?:)X@6ilM[.jr0s/WR[SgH>Cp'`K">.`#+G7G2K#"!fK"g&:7Ag/[*ruajr^s13gcj(b^`$$N)H +BT2Q1+SW!5m`Q(3bpmg,7%Yu!V[CcWQKJV&B`YeIMJgqjpDU$_4#l^$nilE,_UF'* +A0)6(I6OV%YYY7N*ne$VUgL:dh@ah"c_F8_;2aCHHp?oQN1/?reK3LTB3pl]PA#jI +CWl.nOP-bUgT)[7?VT[5MX1@T.DS`9kGuZe+O;$h7HD\-*u>U+7=cG/$>/e^aoIS( +9)g7^P_'JA582EJLaqAX>%Q3%JnD^DWIaRrkG9_pA[#+s'4+OoFYn_`]ge)]$+a::$Onum4OX`A6\E5W:-$Z2q;CoWeZs,$kN./o)'U%elm +o/"W!d`fN,;#GtD;keD+nc(i8s%F4/)'Q0_,tgMu$8D6>.FoUfh>mK"0)h4Nq=A[G +2nu$\a4GcCq#dH1]Li;*-cLR4Ted(B5BQ>hH-V)u>USP2Ztou/Iqn+%.0'sAS`?0& +lc+)KY!keI!kq1Hs5WDsT\I!)s8s6lM`C*GodJ/^_KNTXm1gZBD%\ +0OP51&pa*E*ZV=e=h/TnM,RiF"8G*icn;rG#,VAg"G$DKZcpm>/--Fffp4-#?j5.Q +kufoY)7JIQ+=5bPa.<9OJVXO*6@,LLOHtGg"o5(K-`5NB,hqAAG;/eV+i,lfaUo^> +-.N/C+=Gnq5L6C?LgFD>(4ln`#`sm0+U++Y#aHsH;A"WOp5e)1"mt@4O+WL4'#88N9fAhg[t3pejm&YJ"PEi +[i)5*VeuDoAcL@R`s39LpF!WBNr-OEme>Krqs%kaL#J+L6fH)_d;n.?Ss\d1K[K3% +?$H-Q=(Zqp(=`&k?"q".ftH5=JA1I.!Fu +_$96"`F^@!PNh.@$F+5hkk('?Wj+LP8<5f'n+;`,d#gO6a$-+=I<0oGAcE9rB`C)) +oZIR$hbMWAT;=\2L\Ts>HH5j9'@\ZF)LXT#PlB5VjlJ,]m?Z2UmC8'MQ14$'`p?%J,5DG.>NL0_Gd]NJgi0lV%9OI*BI]81t68e/1KQJ.WgmIPCKk9&dbZMB[h +(/#/h(LOIoEZb4?j:=A`D2J/IqU]A^J%B5$rr;hX_^A5A^O*u^d2A"s:O0[%K)Xaa +`cHp'$Nfhtb/<,uXb"WQXB,3?MLRtleI#Bjq6U"Q0 +YH@bUs,#_WjKDV_/q`\;MuY2n+t&lS9K,Jd[)>Ws7g!hW1%R!%$a"Ea +JbFaam>6T[;@[mr!Co27O*.9=mnQ$nP6RQD9a=GdAXr&3>Qs\JG@tAtH[K$j9QO]C +?!V\tFg+=KW)PN`158ot,7o*?\/o5CY,hMn;i%:N6j+)#LN,<[Z7K&R5;Ub8/^la< +_[8[t5_`!2VG/ho^0O>8qO!_3J-`r1!)h83OT1M\',']l''sTXJG=AE\2aAqGe<_R +HX[bPS`u`4lWI3N>>i\D-tVs!!^tgO0eYpE#a5S4A`=!+,SEqp_=5ieAXl@)$RcbR +'Gtp^[23HdiI?P*N+i+H^_@mkIhiS&-kmh>AQX(dGeGFD,+u7l@%`B3VY-I[EB7!5 +q,G8WM_."C\!aqV^%Q@D`eVI$?Q7\hf[e8'I&V%Uq]I3qJDNQ6Zc^"ukL,LV%)2$S%S6q?f4O[ark +g_=2knC,_@BZ;*9A+'ni4rbku3^rmc*orB*1&^VZofjh&^Rd?4I)[#R]baD/ShUFu +]0Q>V*:8O1Zu:sBIS?S]22o9^XaaDH9W<.B)ETjCA"]R3ZSs!c&=^ +)Z4965,JBoj$HCZg3*nc+1IXV^PRjG^R5;gce;(;hEoEB9]!5b+RRp>jf^&nYJgk" +?j3DQ(^j'C!Y_ZV(b7M]MJ/eP1917QX=Ia\,PEF858NPhj@#6UUT+8"%aWqKN;s7f:WZ0_%X\`[5Q9`qU9)]S +!;U\.D#!,#6B8aDBE'@Z)n(/sIe^N+ImudWZ`];p&[8;8j%hf/-2arOp-/ZWO8Amd +m0WA'+T)`uPYC.f'sh)gd]-Dl.X%AO=bin?K::Iqa_K8._>aN1+%8F0Za6)(2X%+M +"F@IAIFX/1W^,Qq8:f=.mnpDm"9-=c+Lo09";n'I"U;AC_mL)f]#^#FnBq)g;%s.q +j,JD9aiu6reDpf +)#mDmo#`nD$?*LI"\s"cFdEc\l#oBGIui"A7L)2lfI"@W/!Yom!i$j4Gb#`0s- +-AdmYpI_5Y#,JOfO:+\"*i1&I+V,q_Did3BJ)Vn2TMgIE)LSf$6WJA8FYG)TY(f,? +lb:-ZiHU"J;p?*@>Ks?qD0ip?o8A7UmgX,`0YHcfSJgqfn;`:A],p1;?IIN`eN;U< +Hed%ph:26_Vl,1@0C"29l,$1)LE@JlHZ1Z^INWO>5B1-TFf[f55EJ%X^CL\KT"b-j +^;A1pih:q)_1Cshrk+qU69mJ+1cA;i5$U4M.j!(QO,aoKNYKcuj;]%/5;eUKh=mP*A$i]eg35G+bLq@r&53MXQk9p#9+ +Rk.i"?+OMCjHB%O(QJH9f'*!07UI5prbT?sqig*Mp"1e.7PD34@1$tI)EY&J*E>oH +bDhN19TQ1(Suc1D^1R>oL3:g$Xh3&pk$ErPB`EPIRMQp&DUfZ_cqlC=WDri'+8);AgbgShYBH!KK<< +aMkqA;TT-EF?R0^*P#]Dg?GPH%GL9FbQR"V5=C_l'U+-;!JJ,-j>7dAc\9fQW1 +_pH-Ep\u!S4RSHi-2/K:RH6s8I1+jSp"f:2=bmUSkr3 +X,c%6irejjY'+a5\CR]d62j,$W*&J^PsGO4CW+LJ^(^9K>],>^s-8ASs.fR#C&!qQ +fAM-&!`o#E[Oa)=XsgU7QJ1oQm6t7b@du\XJ#2pa,Biqhq&B6=LEZ^5s5;8,ETDqnLK<\%j'+.Bq"@[jCrJ[!`5U)uOUs/'IVs&WgE/V*=Z=)3$O' +Bi+W[&j7<<0L(YblB%1iOHb8X*uei3'5J6p@gb[pgAl0npQH72;j3d$dbXV.HfsSg +&.q`F_W$jd!Wm7qL`[rZKSoul6@Kc1!b(.>_M+]iOZ65iM%E=tE'f@dWE5Pg;#(>e +V/1hu+s9FZ$3l`[Tc-Y8[Q:]p)r@:umF2@6fD(EXH;3!Qmr,Elemrj%`Tg@uQ7JN\ +Y'6?ugV*PtmuH0$]+BDQ0D+!]5@At^d,i9?kHuJjbJVP^6`^Y_m*iP%PIei1@/f,P +q;M,5U#_'([*c\urBTN7@.qrTcG760^;7J=_1J9;U>Fj,rU<#,E%]Z93aKj`Y&%?M +5,g1=VFJ]T7Y-`eZ(crWgnS@nB1spiH6Tq#95+Y)%PsIF&9=n(k].'Q2Y9\\shsA9&%:JXbP!5<] +Ikaar$KQ\io$_Rca.0Xere6Y;3*/c(1a<6ZLr:%%JpkZO/Y(1WSVrpB&b3)\nbKu +)`=MECXub@(gg/Y4Y8O;MG$->6Je>%*`'Rt_m)ZX0a7]8=J\8E+O(3:$*O:=l5L +*k8'mXtco-[bU[]m=-;Es&5pPEq:47^i%Sj2sK[8dW9]pLD&%mlH/Mf;*LNnI&9qqBkep.+pn&u3$2G[56uAQK'>XnQ,PdB'&b6/4 +q>km%.-,J^]j +lFPu)8*'\Z>CM^ZlK>q*:P&%IT8&pJ!QZ@G!kqp2Dc'A>aar@Mq85F'Cb%'C(K]6^ +p^V>LUIs[E;7]f-goAomg.JOeNORlk015?'=K@MD?c/tr,6)GYr$sXRl:Qe7mAIgn +r"ARUid\rIrnr8M!^Qa4Z*-\l(J@R-&.eZfaoIEQ7qtY6OST4Cj7VuM[Dh!1Km99Z^Dg#Wo[puU"Om[!>QjZ#0UYHEDYOY4c399De +[-%V40?Ru^Bukd<,ST`uDiFVa%-@'aUTY0T^,\OWl%II1Vi?.NMY>e-g>hdhV2Igd +k.eK>l.Xjfl__H2'EP)G>rMWr7=`L(-]Gc%8H*-0HSeKG@u0bT(\VZ$q*H+hR+cdk +[WY9SED3`Z6G.GA[c;mQa"c-us4`2+^O4&__fOac\$o+W^3\$#c=,UC&,9GecT494E-`;qs4CQ^dHtJg[F,PeC,;5tLS +j`9NS.U/3'!Vg"EB(/62YaeMmrqDUIr<`L*b1Tec!%ie&.q\tZ'S,#4%VSh8#\[)o +-rC*ID/+6LM@C0E\`3N^pkV9?!>mSOj'*I3l>-*,2.;bB[-0q&p(NA2ac%2Lg75(:`1rtB +D9f@=h]XAn4tFr31Y4NpT1sWl2*kESf3,B(u'^' +qkO?bn:,VY-VOP]F'o@58*gUb;&6t-"S9/I;#,bA!PVqZ%PO?i$R=R:6@&K:JBJJ] +$.rKH'>V)To+qc46m@+G,,O>p8JFk/.Ss7cN$:M#>#QHiX:8pnZF[+$"4\Hf26IVc +:/c:YL[$FNeQ\SXZiNo\gRW%u4P/_CY2/,SQd=>+s//-ZrF*_Np)G-43\V8[IjfJ` +0R7smF_W=QHoOb`S.2n)YV$a!5GTqLeE%@Zp$bKq_:WG;fP'6r=P:UqGC!.@4"6Ph +jNUD<@@WnJbtM.Lr]`<4IV(_,RE:-FVZUj31[e+b]f^$/fC9l2)dWK)&X.^(;#`P3 +rM'nq:ARTkl/d4"V??Rm89ZrDI22FKLA"e6m>VnH>@#mV5pZI@B1SX:TRD)&aoB!5 +Zl`']s)Q]_nMufRkDXl%5^e$BLA\e;J&L=U;ZKSodpFbrr;*ebJ"AFpp))nLK@p'B +Zq$mefD;`g43:PBWD@5&&$"2V82fad>6b=D3q9?ZWPu6oHsX+"6#>6lGpc"u1 +m6h37PjZE2G@;J413Y[F^RHG&9bHceLj+qLgG%Se9XKd)g4G/?@o@mfR!9&e1*I$b +aW_XW:Eniia)LiaE\aWA'^IV$:V)^LKjpB)Z+F9-N@O;p3j=["Z*3?4kUcLe-;UeJ +HZF2ViiR(]Xkniq9.sL#]je8=W[.`-s/Ir>5Je36^\#;GV>s9`D3s\E5QiXo[_X3( +mcPP_hd(6sihGK1B,pqob3?$lm]RW%I.=GmZNo_rpA:JSB0S8k4ujXfnu.mL<;pRI +cWK-'=9-ElDDVpcs/-+9,CM,)s'R4f^YPfkc*sUqLQFaIdHK=cn(h%1dpD4l<^TCJ +YOnnp]?QjDEp`G"Qb8W.V^UDi4+Gt[@_Cqqe +r="rU;>-bB5K_m^:]+K&m=Y=j&jJW,AdEDV")n\]+;O^o,tsSg<@MKZ8QjRVQ<)/2 +Og0]JBMbuR<<:?:JCX3\g6E3M!=/iJkYqcaD\Obl599jl%QVH.ZVB]q,6/hEB"'nL +5`[+f7hoL+:DEqf0MiVk$s#h-C%gaI;1QAq00ie.1spif.L,;P\M11GRAbu@'9h-p +@%o]bV_t3]6mlq)$U"7di;Did2N ++#$rMp/h,5Zu7Ale'i0^d]?AG626ac$+j^-GK%Ujj&cA&YnjT!k&K=&..^Qp"JiHYnr**)[E>dSa=j1-BWa]^rFW$?I(2KmmUCs.T38g--]H,QQsS +V>q@d0Utsi_[f%P"$&K*5E!EhEd7RG+T[3\KPCT/.75Xrb*2o6FbiX);I(/DV[77h +"LP*FSSIUWNVbu+lYs8TFHuf0NRL4bbCM_+6OfVWR_4]id#YR/*GlT`./;OaM-ul/k\/m90/]=o,0Tc>QE]5+::) +cGZ1G->6f[Iuf]K*le34O8Z0cqca=!AfEdNi6>m!>A_l>G#R;d-i]eKHZ'n;_tE8C +dMI\[?QV`&H+lLs[Om1_G6R98(Q=qj10qJsG4F9I`!u59g8/H6!K5R\4MJ,`nM@&W +Si?K(,k[Y%kcC:uVQdOOfRlB9Z`TH"oqk5:lXpr:oV-2N]H)EJMZKO%Yg?Q,YT2\m +O)fD<<,DBX(c#N9S'T"h=]ULJ/M2BJ2M&BI/%?k\KjBG3u +XX(k49X,(kYGFca-rM:ILdDlOQ(OEH_dm:O@mob=N9P1M#Q;bWj3^-m&#IoC)mK)6 +8=ts,^-,$_q2EF6Qe"9EG/N=A/bn:3BXQ1Tnpf3\aXbI4GQc[YotN*Ls%@Ons2B?C +Ip9eiO)NbNkITKYQ^;pqH2FDdhbL\qHIVo=6-n`fHXE694[87VHJ8D;1_YAP$a'#- +(h_kOq1JJD<;c%`-AG[`6W!LRNV*,6qj)U."!,+hmD$iZUX?]e_$B&Y>3jX8j5$g0 +,37XSp8Co:JFa3]nun@kJG^q:c6.V5^kqQqUs)S5@RD.7^A@?Vs65%.!lP46MBZhd +?Xc[L+#!VaA3;6-cq,[/Y#Mo]rscsIo!T&Zr[0VhJJ$+eK.;AFq#;H8LZ2\#/!_mY +5**GqQTs1W;84njfj1n6/k(kQDImLb,.(,` +euoE.(f3^2WM9k1WqHu8+,;B@!dGn#)%e[)q43YjBYA_1=&V^]6W.]:HrEaUIFTC@ +.SM9!P_fK1!iCM2a5QfZQ2)9XO)N,%R%_N42u#Th_)XZ( +g&Lk.^.%kidN\\uZmg).QsVD'+9;ET;h3Et7oKC5s545Z5WK(ncbtm36+`<>H^":= +T]>D7#absmXYlq+imf`j.\oZS<3$G-P;=0=^9%b2G,8iLb%"!,VQ]V3fD87nqG5_L +AfH?aS&4DF0DU*plSdBdYcMoP=mf/Z^I:m04q_K0TRPFbOf'(Rsb/]^1O!_pi +N03#LA+'n9ruT,X4[aQs7t,rPo\he'iAC8M*;91/FP-,M8'mrAhk-VU>F6&d(BFIq +C\0EY^r81G?!<"!]j+dVG^[KXZPs2MUU^@M_WA1d0+)X^RTskBNW.Vb)eVAl[bUcTNo_gh;t?is534r-T][71UNd7)8T#0n^VbXDJa]? +HRmh&i?_,BIfq7r$1m30!_E:ja<.p)^Ne??=Lr@aGg$)qkNm]0B)g[CG+YD9-iF#= +@kOr+EI75+a0Q.[ccl3TSYi$LA/l\(/5.b\a&mDX9H5rUoR*P.!L#Q&aFA#fKmGq2 +BW2MGl:LVqg3mu4qfFalZo<5\q-.Ss$1g)UHT"oMeQ7(HX5$S,8*PkRh->Mm58=-4 +OcrE$Lucm+P]Q0ts,0Ne-,h865jYGX?TJ.q*8g&%i.#VfP!?kfqIU$WJ(4/mT_Jcl +bPBG(Og@[B!raR)J&@"*237laj\PXnQTs35#9YLGV0Z/30D@2Crh8lfs,4g;*!WG@ +s*3lQ!7tZ\>pa)17K.%q^IH;G'!\fQ7RWYE!>Dm&e`)<@bs%dNFC.KaqYPpm%3C +QBZV/'RAgU\.cLNAE>d_UA&a!=1Y]=;_kIUK7Y5p)D1a1ZqS`K!)h7HM2$LXMIgh. +F_V6b+okC>lbiqLKQo"Hr5VpY7U$N)#K)2W,=?Ye&C)Y@_AF;-)7RXI1"n6+c7pQc +2)E3/2q+fMa1$#[:C7$u(Wi9k-4r^!//.P'$#YSQk'VplpppC_Yf$N,b`7/#F[R1Qu'OG)A4;bF,!_0._nq(8M=ZP(d&t_CXU&rtuLO(%]mC +LF.(;9r4JS8ptS,m"O]^QY+p#Sb)[?SC>)k(*Cel-ft*j!hnoe(A;SfOt)d0+MGu*CbF)%..MZ[]hiQpuW9Ei4IIXh`k]Cj4Q:S +5J@&_B@d*+H/moW9hRE'0&B]k;W.CtnGgq%Fc2U;s8)BAT?\:'Fi*p;6^2fX.K:5T +4!rcu2gM9?mIBJdF/g6JU>;@[bEd1>Dri +E;8s\rO3R_5ST+S_;:ekZ\\GZ4IXTN-R;&9L\GQku1-kiF,Q9KF^DT1U +C4nUDB7oo/nKIV3q0SOI^&EZ?N.ETBd+cS(Br-I[_>H^ShbrXf>jL4Eok`-(KD?HC +SfiNqeH<[4X\j=VjmE9%1,kk(8lYd4Ig>nr?]`#C+>('fPhAT#X:7\8E!sMUT`(Em +q)c_,FolUlGMk[_'YXYT8o4Q:R4Xeu5g"3Ps!u#?s6Y:QCK*Uo$mEqm_IH.4IW>HV-1IrLpf@cieKQ>. +J7/f3LsmVZrJ;:-X&[G]Onf[QDishR(Q\ge5=PWn^7j%(WdOk`%tOACKhMJ!L^7Z+ +"VA%u!t!]"_*Ec(\5O@KF@eg2,iJs=`J>R,"@94JZ:>Z?FA'MtJ8#jiH\iH@`Vj_7r#]^6r4gi-#5R.+.bld7e3#j<(I:I1:*KiA8-b6+ +_Hu!X=GMhd:>d(1.7YWE_ +FZ`"i,GP3dY[;M1J9:g?)'/f&nGg?V +(NNr-Q8^\ESXHUIRjgK[Q$ZsqoB^#-[E3BDJ9s(N`3YSD?NT3k*5-)B@d$+IbiA.63CT#:Z+b,d-H"C[_42FMKJH#f(7KRA*d$cMm`l'b@V%m!=8Q&]!)@M_Z*37nLeaC6<[Zg$c +;!U#:ldh88f4$V7=Ignl^'2tiRiM(>cL)k5aJI`*TYk[(m_h<>PJC>;hf,N"">^#rNr.!;Z]i.[eNk)fF`9lLa[p/Ilf4M_B:\gM%V]QeM+4N*D +7p2M`8\P/B0QU.4JqAJ]2ur$Cmq2Z/rh1Cq5aPi--_mkt%cGZYI1-Q,0Rm#\(RVt2 +g8hppJ%HJOB`"HS?g_&Ko,u8\Oh$)AeIlM[fL[53jDQR1fZ6$1+Ff%D%7^EiM_00B +jqWT^#l,,Nr%BJ(JFA<:X@6^/U2i=%a+6LqF-6nN%K=EF5FsCf7r9>Yr^ni'#4MYZ +jfbNp44o2]%J!#ir?YbUA:AHkOXh&rr)'GSjNmE"mIN>[!k9"eku&Q)rJfqqe9jL9 +s")%e6j,@)1eQGSo3ioA!3L9"aT#'8s.fLE!9+K=7meCc'!NS[J7]t:8\bDcJtRt8 +9X>jLKcm$_&5:G'%/U/)cji>Y6)QEL6\K+hL>XV4#OW8@G?V'-Rjp`'kR>CEH%]?> +.M2dh\P-lEUV,*c\B(]nh`WpU,:D(p1YXoQb:,U'*ke2(^UckTT-,l=1+CHt.GY&q +O0kNk!@4M1-R;p:-Wq`XB/bIP@KI!Q[V\!62IHn==Q&.g;+j7s)Y +0L]G;8d[QWnAe#:nO7qJ"E]?ZW=lNpZ668)'V-d^(#<&cd+Or?e!A\9Oji3YfAE&^ +cs&?V?SX`C#3^e6oY[LR#kT,8-l4B5d;^e[IrZ1_c^b+4cNo's=n2F&A78f!jM,'/ +J%l-I5K"#P@;d5"[/7Cqs1?\ +UKP5'jt/c'f_4!LNF*`1o?@lrDiYh8E/aM.1$XfZaRdGC"@&KN!'d,7C$l\$f=ED#m_hm[GZ\mQ@I*:(rCMg56 +3n%,lAg:$Yk/UV*m+GM[C0&:0QK,A%_g+V,m@%-uP>t$`XQ&A#-;YT2IMQi33>1YKO%3Ega]0bOC<&b@dj#!?]L>"g2HQC +`4DeC2a+^_q8r54+5b%uI6l&*lrO%&D_OD91WY(9AR,3Fh3VI==M!t8FOt$mNr.ff +O2j38I_P7DrA-'54mi+1):s(.\Gl)ugKtJ:ggBQ\3TG+)dduh8c`n)>6c8PM+^`Uq +plPO.T\nBEN;b%unFs82I8&!O0\FA0n*h]>riT:/@(FTjkLEJ:b5<.\aM1c8Dm4u& +h!L5L<(Yn'15%sm8s,lR?n^]r)>oO>TY_V/Q2Vg*JeAauS>+gN!n-d?WVPd4C,OjJCO]F1dEVb1&*sj`BH<(2EAT+ +.Gbga+E"B*bT9E0s$Hk3K%\meKEqhk1(+WLYpX&upcf)Z58=,X8T)'f*r-ZpK`B6e +rpPn#G[D,tbq]Udg^s>f[LC(g6B/bB#.HraM +fRt:Im.POFF)uq`@Xa7[m.Tko,l`4_Mg%=Uh"H!jK)=St*kso)n^A5^Y:mD5Ia7ne +dr+UoF+*A9l`1D2G@oZL9Y*GOmW!Qkqs^i9gjo,m^X)*DA#,`jl_b9f14Z&>^VOf; +./<\n&RbU@ +&=#K$?cKR=o52;CJ:%M7"JlBk#XALu92Ph2Mp3CH%"S7a;?4[#P(0I=U]Q'R!bpX: +k;s?r^Ja.*gAbQ-E'B:8+b,Ko6`gR*'M8midS$S1-;O5;hV2E"Kc3-QDlES"rW84; +5j/C0o(N1bUM`KZaSZ(VTc6PSFn7E9%aF68q;HB1mJ2%Q3J4?-k!%.%BM4:+0fU>s$09j +$`I,re]O6?Y7MiP$S2.bATT@"98MSWT3M"Q="+'s17_@l*Jl_`K[9ci0!1-2bM:gh'?\Q,3J'E;`$"T9nhGPiYo.j$WTK<"Z&?L-tL7 +P"$&_a#EepiW+rf*iN$aWKi;I=fbT8QS/W^>SjKr=?6)kD*105FB3m_NU(2 +;5m1p%Xu4,#C^%u3o^hXU;7M6A]^ikKRNtO>9XH;.Dce!#dl"Z\gFkg0#"SFWMLoK +[5G(]/Yf?kX/@JG[sMJ3?hWEn5.#HbXpACb?TO45pQSD38tV\(T:Y0FP;Bk.)$'`S +LO$_s,R5Y%0MXo-9U(.u-ROaA-]1D@9D&rEULOIkqQ0MOe3j)nUVfBqF?p`8bj2#f +09/*.12c^7eBUQ?S)<,p=":s*7H"UYPmG8g@*=SIX6=X-R[IXrdT9bo&]rJIL#O8_jWC8NVhhl +L3Pf7MTmZX/0mg!H-s5r,L(8H/2@9MVYY1'FP@XB].VNZ9uIOjctt,GRn\Jm)$b"8 +$J@\(fLV"Y6qu<-"9598-Y8[-_#J\lYsJi"`!T3>.SpIK_#3;[e1qCeH730\na/$( +,OU%c9Oik.g0kH!BEsK.$`qmKgqK!#[EGMtN7tfO*V_C!7@n]X3_&"G@5%=Z2W_Z' +p6TO\?X9Ig7k*?A)?5#-c-fO[Q7d#[I+IY.s$*_oH9aUR[9kZ'_ipE-+2@1;jInBN +rs:=X`VZ7bs!N"Q+2?b(gF`/,DRf^kc2HBi/mk2oJ`?]^PAZEk425dNp#3"Z<3Zo=L`gO2Q[4^Imho&=#K$+3-jjZ\B/jn,PO8ag%+t>6C%/ +.mR'G.4?q6(@U5sm3G/O=1!lm]N\KI/hXJ`n%ePr!;WDQaF%XMq%l)cIutF.s&I84 +,sWr@l:S8F8fo$+n38Q*AcKpgScHi=,59%#mti,nj[I7_JFGcUIie^K#FE2d62oXP ++(-Ar]S5J(P&_XI\Z_1V$i[?lqeHB7b7Pk*&eP-CDcp*?UUlH;H^fM*R +r5nu;i(*bWDNfgj#kH%7+4S(:W8k0u3Cs/';ZH"p^HYQ="KI@W!DT8[V@Z5sl2h&= +TIuiGe.f-&$Nk,NR+akRnPeGjPm)V:q#F?Wk?jYC#A>E11m1D;-sS2,Q1KSr'l735 +?[7c@Bb@,E^aCee1HWW?,MP(5gEeT'0d4FX3R'0&h&],+2sNtgM\KA<-/"$'kis*X +LpK[3[nQqG-_bKS8hudkJKR,+3A&3!2:3j5hD$b95!I[a2Tdp-bVh5p3\8W%1r(<& +[6'2T$cWad3S]Gs[YbR(8_@gN)WO4Bs)ZXOMR#@%ZTZKPIJCcT))hj#6`Qr/Wo]AN +WkANmb,B'o?9kQMY#WMWnXZ:Po"B'8UdQ%H'EmrO!F-+m=9;+-!`1%Ji;WI'ja'pk +H^:"DPi9IaaTM=;oH*g^J/=rq#:M!2'GgKZ(&O>`qiu5i4@,W*'I]9%8EF8PFX0@? +Pr>M:0##%SWMq>W\N-Lg/\SJHX/BT;Dbj\HDuSZ[O`%[.2c;gp`ZZ0>kDi:+%)>Bm +cH$./J:>-4d#F@nqD"XF5?9b$-lB')6esD&UZ\^sakp'c +[T+/W#4g(Jfq.0;/(o8b]\DR.a,PGJf1#'^h6Yo_I$7G&#$Sr+C?/Q5e-7B:s$4dD +C>:_BPT<5-4,l%>)J/=pat]gT=jRMXNJ_RIMJS4ZX=8jhjA&6m25fP6]Cp> +l-I]N?Cdma+/,;HVB6`KS*Tg@lL>t^oGd(hKDGC*I!XMZHJ3b&5#5gL:OA:,CU7)8 +P@mh-7mjt&?&`L!etZ:3;/&2OAa3Y_9s49C24(*J!RZ%W4G +'Sso5M9ZW*);l=2KT=76VnJ`U'9YT0s)+)oGORgV+!BX*qqk&Gn<1u-Uf&k&A6JdR +M$H!^Q2P/6YWZ@O/J.aic55FFH!l)>+iatJI.4eAe;%Djbq&MH(3p:FHiRS0?!L'i +PV?WZrphh!ZGKtdouI$WX:b6Z$CQ#\s*?E+6%]#q:B:N#V6"6o,614G!'b4^#IQ(6 +gD-DILHMqL((.Kg&L1I*T`B)g/.;]N"dPX!qL/W=dG\28jSi5+0+7SJGc76 +5Z&DWn:,G/Ddf5]mQQ]5CcCj58sXNr#4d6n:0OM>O:GcT6[G1a?Hb&m^iE'i?e%M+ +gGSaJWdUiAOnmHGd09'?0CJk93/G/m'Ijk$$i#8a!8#bAcVZ782hk*6)p3_>k +^$>:&r+E6`NFQnjYZD(6Q[5o`^"A6+j?(&>(C$g^#E9c5)*o%N2/<&&C<\iHVXM`u +^3dZjSV+:n%T;1I6N-C%p#BPhO,m+%3CJF4_S>9T0R\HkJR)YN4]>!6XtlH4 +X;S$?hit`=RCn@uZ`Q37>>F+B<6"WVpPlFQl_Eju79Z'JmP'[VAdnYL>>G]89/62` +lMoM=[.s%.a_%nZ'EL&Os4t%eF)&E8[D7Y(^dXguV8.[^A3hiR,aDJp9eFSA++MK+,s`:/WaCu +o\92L\Gs#h4hkju`Ec,\/Y:b*IW>rNlsI>br4dL&jiKZH`HsdApD?PIr>+ks0>5G3 +I"Ctc"nll\#Q/s*i5Ze\n#uS;q[E(s$d;Dl1#>(I6I(4:#G0lB\409+H, +kip+lkm%IkB7'S)\s`CiL-bfE/RFuBhAqS^D2k-(NF#HH2qGMue@O2\]%:V$[8h+p +)Ku<>^DigHY:;YS]HI?lr(-fB+-"n\C47j$!#J&b&+]aMq-PSXK*Y$iO\OoPIP5?.V3Q)?t:.@#0&q+I$u%s@kl +fe;pY$Tr]^49G<766$$P$foXsGTl[FHh5Ddq0R\jq1T)?OY7h,nq@@2QMQ14($0mt +s(hC'/`.)"!'`gR&.nEQ(]P&-J6Bg;!R:2Ndp$#(.Y)_bs?JJSI= +F+\6Y!^Zh9V(C!-\r]4N._s0$X)e0'q\Y215@kTtOm*+l1DnOKIfkjU(n#n*P=:"O +oG=D[!)Y4OR,TVep+[\n#QuCf!TJ..Ya!6_p8]TPPiV]Wja-+YoA#\mSse]/T&g%Q +:X4'6#Y<-\L6(S%pu./cAiXF73+esJi%5rS..<;uj)%*Z`2Xlqs2g,k5\`(.gF"6% +#sd,#s(%J',j3ZFkEH+IUc9`XJ=%b*W!L"k;!ZIn'EQ$dEr`?d&V,[6bNMK4L^D.\ +b[e22)4j:MhPIc):(_7?-jAQ`QWa$s+r[^1J&;6(=TI";(l`R>;AL^JKG+q?&d4#E +JRVK<=<&_%Ylk,X0%[#6gp7DJ59^&i@b9T`(]9e4Qi)6_gg"L14r=-U9D"#[joP]T +hBg.tAYm,2$9p_H.29'6Os%:Tm2]82),XZ[k@Zrn[g7(9daBD5ln\e4qMl2ai0Ven]j$ +Ce9gCfR@2Ua^FD_M:de-npMSTFUe&J%dX9 +S_ne.Mg)iMn+\Nl@6D*fs7caEeGN_R?Z-/IkLlNsY6TJs +-1K+$m*Er^Hut\MmV17Ij36*cq`i`ZG[ZmJo"R9k`P:;e+i`Ji`dFs3'`TC`bi(J[ +^(*2grE[Z3aSb_0cdQ.bfr0%sYApbp]%'h7S%kuO?))R14VOZM>2][/u@=\1aI"o5b\'^g"0#P_XWp(3)9M'i8fD@_fs +Z0Zte50jVD&+D&2EV"N#_AtX":&8MYHr:;P+La1"LCJ_>->:-]!k6 +<=-a=W@mgAk0k(@Ie#UU/=/!H8!i?49!dd19ODK\6_*R;pfrmh554.bqZ)"_H]$^Q +i$U;\:4a!B7=o/TS@\f9)-^"]&sk9U-2tP$"r,L^Gs6rZ]F&[Ao5Zr%rWhhCrrHC( +/heN#q`mWJ93.o_Aqi+HC$3XQ4lChE\/6.b/e[2GjIb_-Olhgpm[BF/$M)MnO"%5V +"Lp]",f_u6"N3_j8*t:%&$lQOYmLuH,R=^bKTABC\5cL]P^DBn5B=JhU-e%[!iLW4kPSS_]R>fcqja!O+P/V,fhM?$qun8LQF3g_f`O>>K*44bEp\ED5?K%V\0$\Pb[KtdP/.!6O-BQ,6Mg!j +p94e6h1f3R_CjAJkHrmPC?eqRm8Udhksj_)9u\!=NN]`-h8Fs(`Ep^c+j*G=dR0BT +kcqndZ.JY^mJtsjI>IN^!R`L3f_nS3Ft;fH'BPWcg/Ap=_hrTci_>&qXf[:hg74_> +2"QUW>m1gPRJpei?CPGqeje>[7-p_(D52c$#5OGhs6j)d=n_k2<<(!UUF'lR,bkX< +V!k*klpC9hhG);NM.Q&u!H8M/m)$&PU'CfT(FZV_E3(`*mf+1qXN@'hAk20kV0#k( +HQWA@OT1)P.K:Jsmf=H\H(A`CR/oj8'Ldi^lm1lgK&.Hob>_1(]m',*HZ'$XJg99_TQlE?@In0ibP&#?VU@_UU:'t0_>&-"$+,ET(hPpo)J=K_Oj%Cq"Sjf +^HBa?l(*Eugs5fEp"]"Cao9S^m'!O']t]a'p?A[U$Q6Ec1TjJcY"`N"*QqV-c'fTs +RN>!i"$T9T4LBmE1V'ucgYL$?BP"S1ZN7r@9aqLBBmi,`ZrnKHf*@`&!!B1oZg.K/ +T[AN;jPT00"(6SNdEG%PmuGkRQ5o9"Qnltq<`L26d'I_\Ii(MSl_9<2kgSV2lAOd1/S06 +dLf\-J,iIIjPT:H+sI$N%7^8&0Ml*^CrkL@#kWH7HTVJfmee\=?DfTo_iY22flC8u +fr^R12G6fG3?-3"UsEf*A_(YF_>/P&\keUR=/PiTBjOrB8"/G"Uq4MoDK./YhC1ua +9!@2VCJtLTr,fOnK)ja/CMfN:-J;A;"Ul,^5[VgbPq`;V.DorF!^)32LHaOo8MR8j +"sld??it-I9;u;3P/jcch=*Xl^QPQmZK1eA.W?L35ju5_P&lBI,6A44(I0WMZiTs:[.Hb3 +H!F?L]MM/&PHm#cN^94F2.V%""[Pq(]t^p7=Pb#KNK![cm1K"k"CV5+E#Ha3+]nfq +#E$Ct6AU/b2a?NN$[?\TXpg(;`F@gpKHJ%'V;7H$0(JcqY`EfVf3kA271'1XK/D5\!IWr*ukt*&(cC4a2X>g'<9GOp"5L@ +Hs/TdURRePT-AgTs/BQkY^"k&/1fN^d#7rZ7Wce1joQbl9s^q;(K&[l[rFd'E74j6N&LHd2d) +cFXUJfoGeDj-s'=*`9#LqM7'0Qoof3OSqXkif:;hgJ>gW([n&Js%hY4r[2Uor^YN* +O,!L<\=X3/(WVX'%[%Q^U-SKr#;O=$&pt!N-pSaPO93c:(lsi^a%;j^X<-[,,ciAM +4IAAOM2rQ<5m%(I+2`Wn';YFllmrsbRN6g[)LG[Sq7;RV(Cf#XqU"oU+.pBraUbjf +rTk-Q!^Hm9AcKpa%t=N:Od@.2J,)CsbE!9BI[Koi"57B0YlF2-hXB>pqq^kf?b`0) +b@`i-4O*d!j5Q+ASc%/nd\#AZq3,%%IrhsWYHOSrhNagR>qGj;C>o%?"j]p[4?AaO +F#N489[:VVXE3FTVakgk8$]#sZR5OTLi_;T\l/$_r5mbH]_5r4>8+WV&Jb4?3?reR +RDAkRi+E8lm#[hG"FZ6%QPC_6Yj4I="tukTQ[aXW"b?E<]rWOk'2JWC!DOU1*?X5CKQjH$\0GZ +A6_uOlkYVR/;Yr-4&K1ANe$9`WF?0$"b0p&ZIt>u[,q+R)\G?:s7oS3_\K]Q:N!H] +IfOu?8,d^C3ipF=,MT/,(pnCe-;g[8!l4_[%1UO":a,`jPW="%<IV8A>n',_H_)u&)04KEj=6rcWUKW)5oMH_(]Sl]t +KmYCE\a65aF&A7j;9SZMF.Sro^7@oJf?T(oXu5WPDgM([b:C'U[b^>,^>Bh$TUYSP +$[^Ta^"%gepisCaHb0B,X#'$Dk:;VJ?[LH!`grF/f,>0+W]tYZ*5<=]Re"f1*R$,\ +/$,O-72ot4DkEp+:+9n24 +!T\`L^AK*BFuTi9093k:#;GpXEemBl!T\jtBU&K%`H2M5r817:rZ=ak)NH2+*66'Z +UFC_u,M9qSdW@U[`54-=CqEtEH7#D7A;gGJAMA/HgCirh5Z#*;fZiA"ULXqtYRFT=mnr_fOu/hI6H\m?CsA:&j9Geh8*+ +rS)tAJ%8q_:Nt!2Ei8KK2_0?%^#B:KWrII[lH_(`I!D@Oh6SK$/>'Si=F>J0E.'e9 +dT$5An[u2hV#P0m$)$#Nod'Y68_u*j) +!mom*(B8:a["J(57f3c"\"lCD)%6"R`&A8Ar^VT*IX6's!>3Zq@Pm,eL&^t:K_[tY +-K:*J:Q5!8bjTSWnZndFNbu%@lkT`,I5YcrDWDr4CdS,Sp2+QQ?,[!='+k.u(*K8G +#oV21b\<'&oL;JgZOP<:7f[W3&N[U.pq1QH[m,WJ+op]])or9U'CtV^(\IK\\p]:' +T)SdPRF=`?n3b$<&L- +A2?Hh<1@^ZFM>IE=^02%Q7&`VG^ufIZP@%+=&HmZO;5"bne_tW3AaSk(!LTOqH:or +.QBI<;d7;h8/Wm+6Wlo\b"uM"a8M(7.t<8AWS/?X7SbU+X5RgCBVn$<@tEUTo0PW` +,6B>.2uQO9JElH&8h!7Vj).!FfQ&]F/n+iZ!=L(O&-uAq20=WSkQ8oMP"Nn191fjU +M*iEc+"sgVXl1W7`H7rHX\nU^qK0=qa6c-9^4a-HM'\f,_LYSdF;L=J.-N5ci+3R$ +r"DBSF(Mt"kuK%TW+?i'9RnP^!?DXnIfbggC=LWB#.hoIZWNVR459-(q54Gp)<"D8 +6[`in;aFW'EG%dU:No6GD[l,a@7:*)A+Gb%q:MK`@TkoTUEPABB',&jq/:<^k';>E +!)_BeC>Z:D`d.E^$cbt\B#Oia5bu20p]gLgpjNnXAr$tRJ=.;Jm'M.X6Ei.M\MRK3 +AiT,9=PETWj2Q')K98Ms8+o+gg%En#S_ofZoimX4\#6J!:1N1L6j#X1)8j0KLjdcC +6C0U=;XQD1?hHp[G=F6QU8E't$!gNFiKXH(p(>KK;i[F?St2dlYFbH+?O:V^&<'p' +OY>6`f'=bd_PF5@dZ#sVAj,6F4a+H"Ei3Khh:C3H[dLc^G2u]iM/+[Llco(0B(hY4 +jFqRZ+jZ?o!?h\"oRDAfE)>iJme8MKY +IsQ%rbK%6a#^Gt&48V3kkJ3""%tF;uOjDlEp?=ZDIs='62p\G;HHQ0H1%499;ubld +f#ROUs63;K:N)TurN3(Ah;nUd2?*?Rn@s*Kpl2]8&'n=lF/J6E;T7IGZCA1s=(b,Y +:)%!$-s@K==rtdm(s8Hha;aHg)o!5*K0cb]68=[<9CjCHlS_#1/1DaaS;8,Q.^rr9,#n\P57s#2u6!5pEB +Ynea(58LOFKdX`\]\\+3_%GGcN$E"V`AbD+rD-Dl"AJn2!Vjst%J^)sqa'pF$PR(0 +&C\@,WY]$sR>a3LNVPR#CbWWINbX$4R8"CnTRE:1[*JsD'+j<8W`V/*#Cm(&;S]9k +H.=?-D/qn6)Dn8@)q,r3)U'X)f!Hc>$:M[!,=%1n3RZYfR6ZNhX4*9gjimh;"*m&G +I/I,j::n&?LAGF]C5#m>5T&Grcq9qLT1`'h4 +P%GH,RYAj16MiW&6WLG+P(u,kWr_CMEYTtTnm[WdO9O,K0Xi7JB8Q5I"JT-*+O"F) +Z5EL53W[=ZVFibiOo.'L\l)3*'G;uj%'ouT +7(8O$+Ff01lh@1YI2h`qC;\*:4#A3$)3KlOe;=cd*a0T3aj^"tcIQ +!)&6[rte@-ZeDBmq:(X>AqE6+?84ZJI!RXDgi1F$&H1n0M)teE*q[5HCgcFQ6T`"? +7O%Ug5#CkD+fP<1?g/cLeO"T78@]Uq^?CD;D2k.8P(sdJ5m=6u/uh?0ktl3^e\*_O +G]hO.lF;-:UilR9IG;CZHI9!7d1LND:0FlbQL3b^%a$dbGqJg6Q%h6#2T8p>5'FUs +nTl/78fRLsHcF%uX:)/@Vjm8>)[[noq1Gi?*_U+C-DRi+j/\p.$=_Pu(eN`TRNo": +m"m'DI4BE&bBIB[]1=etOSO7FJpe@'IL=/'IUkO?r&=R-N?KJFn&%Qj8Wl=.^Z?

S[24A^Rt?MS=C&r4tDP4(n=a:=\-( +W4k,jH$-^Xnl4:rn^;L=-"f`+Q\UL^#7@C+o#>urLV%U(448FYP<57YD=u\]&@XC8 +X7p[%4uUpd!=oPfI%Q>UF0W@f2W1jHgbpM;Z8)E@NTmjWHk(>H_1;jt4$iio"h+8W +@hd!ODtPf7(,rq[SV0MKQi5h&"HGFP#\&W)!:r^d!'W\'Z0?`^!oTDsb+CXf)IA6m +5K)R-a?2mZrdGs,k@aSmCjanHcg0[)b<#a#I0U".&,"rb5!7Wu4MYPo"i"'\#)KQ, +b\pK8XU;L*c2qg&[U$^j.$IpDY"+`crqG_V6McNKI?C_BUn0J0C +.asS2dL]Cr1b_.%Pd1SpX!BOk^DnF_\l&JXn9J?NJr,5.e/XI.WAejVAtHhl0Un6q +1Eqq\eLEK0=>"/P"@*=p&HL>3d_PlL+]A`JQZ:RHAFR?7R0*B>aE_M<=&k#P8pE`, +84@?OO^U8="XKF&9pA%8):=aLHWP6ms7G2HPBFEV5+,1'gr$hVda>)FIe!j&Ra$@ +/NTcZK_LilI&,-nV+=4oQPL![s0EX/F./ThgKKMSs$Q`lhVVBDrZ<0nNf?WNa.`9p +:/&a,V_p7d=u9&?V^Jp'/MC?:#D;(Jqahn%OP]<=hJ"2tBuKFnUTXKh=.S)@ +RA.]$Ug=AY.DY3PgVO"a4eL.NUpSW?[E5.(("$=0W#eB,YCbOSa80=K^DuQ@?pe]" +K^feuKdH2jZ[r&k_FH8f,d"OrY&pIFmEW8j?#ZY'jJD:M$Q\>A>0B]! +.kgIJK'iGpAlj6g`P/*GN3ha\_oEL=$-AfZ+K5=iAr&R"(m\hp=P+E*6/Rs37-; +TZIZ657.th^kVZo!'^YJO+?6IL[Gc2\53/i?NTUMp/AjmHH6UNM4"adO+g'.r%+J$ +NPd(?O+qs#BY]C*hMI,>bLW,3_u(8ZbH,<,p+8l`!&ZtaJ#eNYA!:sYrqC3WT`,Jd +di\_/`Y>-N_#9>*!!4u$j@BAVS7msc]-iMmJB]4XK*VJK'6JPYrm^rK?)CtuiR;Va +hkS83b;,T1Bm)3Lm3)K*S$pCF>L((0cQ_GR.,'bI.dTIr=k)_Q6qn.#J=!:;UrlAG +77P]0l.#:2,bQ\GYr!c#,WX^X`s/nn/@Ck='[c$Z7&_k;-;'HQU&&,q@%r2m,oYr: +$f,qFSUh7@2d):E$Xc^1@2ed:"X$9c[^H0$FUao2^I5p>s/U,7lVsjpbm;\;P1;-TTCN5W0K2)V4_Q;cj8"k +C5,=#[[FZ9>Dgm\rXuf8%e6Fm2uVXdOA#A`Z_O>.$gRbLJc=r.5sFl>\-1"d9MHt6 +Vj+MDlFC'Br1%q=cEK9H6jGoJZCG(+SNUg;NW;,TiWAUJJ39m5hR*aJMlT#A5Q&cY +:5:pu3598m[q%LCb'`WAEFmP%ZD^""TK=s5>s+rf=ObVLB]eI-1\e@eP>dXdEP^.< +`QV/p6@\jr?KQ"sM5rdpDg(T_h7`\W:\:ubW4.,JT(c'QGEJMA?uNM^cPj%n60u%@ +I+:YGB;Wme8]*cee1H#Yd("M@rl2V>aDr]f68S@67jaW'>$pO%hX[^q2-9\MQ[8k9?%VYgK$u;/ +$h]e6hU5hJ?B7.\M9kl2-(<;Cb*1\`4n*4:)\a^t;<@g=L&X2*YT"8E,t[fm61p+f +'[7eYp2C^.2$_7'"!hFd##G#a!.B,(diK^tO-#mPU3prk./l(gq2a-P5Im6Q2s^9h +H26NnY?$*n[H>AJr3*1-hHcF0>80;.&Dj#mhONP3S*$nMnlNl4c];,0%$rRW(,,:p +c1McEG3+amk7"b/p9a>#)L:^YDG-'!rXX;,!>jMRfGN[hgZb3X4pt?Y[]j%LO?^p& +@KLEldpm!9+Ta4=OI[&*Yj*6FjF7sb,,!VC!<9NS=D_@k<;lm=+)(0es.^>0bjUC, +p;DUQRpCgcG:W_I&-i[naJt24FEZkM\#K"X]g`R_^7j"_#.dJ_^sQDr2!(@^I?9L +lr&jBcJ,;t25rk^K()!$Db;<"!,/U62VM&tm)]3dcEnp"HLo-JTil6H%J^[Eq[*V_ +]S.s*r+9#:P;Vf)rU3a!G_gWOBfc%H+\B/$dte$S@^P#hbpE:k.:\#1Pp_uW@[=Z_ +.4b1fne^5\52gm@b07dWbb("sSt8K?59bRWZk'*'FJY'Gj!RFnM%Y9M7$o*\:usHC +=#F=X8(P.:nIOb@>>kMP%RbihaOBIbBF&9m('+)Y,/5H:r*RW[$:IRm(g7#:`;b.R +N>2.3!]U='$!T%@.dD9L3hB$^Q&7SE6sh(4_lkWP-]%t>q_2Q?9$,FpfHu$HeW`Ap ++'JXESF:I['"FH7:.HY\p3%D/S4fCG\`M$opb3^pN94Z1JZVa)lf;$%/88U`)nM1l +%Zo6fb+qUZ6C*F*5XdWq=;DR2n38s/b)=O[#Pj-Al1O_;9hdXMXnhAOKj@t3]=U`4 +H7K4*C5)q.7tu^2j)pP!d]#eUR%KK?_Rsc+6%9&SL+CjA;I/C#a^k10'E.YrVS +C"_RCG[e=iILUff!%,0%30YguFJ^-!lI9(nl&HVTaZ,p[+8a\dip:4bUPQA7I- +0P;![/]/M%gH/Cs##4ulga>jNR-.[/06\._q/6\lhAR0c)3s%sOkpqL6$BSqgYh1H>o\s@a+eP;)$!Op8'LEVESO$lbJ8-9(]ZsScOBec +#HY"gN>_9dLA[UdAf$*hJ")2oFSH^2J*6s&IGjM2->rt4!oVdNGK7+;&:`^>@pAmR +O[%fS+p+3hrEo=f0[U&W]X3ce&b+3N*i@9,,j);D*p1I1`o__VcorB8Z16aDaPU^m +DO15@U?7ME;6W@c-7OfPEub>_o@rOAi.$N@lW3Sls'Bh?5at+85@d:hn-DR>#cP3T +n-DR#ZDW?T[mgAm^YPN75k6;t,QB^TEl+-DOI>Tf3q!#in@r%iod0XuZbe^u\?>MLT*6B8cR!b1#C5o=+38q#^s)(!KIp^TJnL<"gnh[>GTnFW:/XP*C]O_iq9`\5Eir0b"_>dEgs%*.S[#"`Z"NXLa!`UqH +;S"k.">;O%>+Vg]V^c7,!+^kdN\-O#TXd<,#=/92%$d?^q-EpAVTM,)]H&PRWD]KruFPds.5h1rr*70rdqCP +&L%2=.J`=h&s`E"jH$Hi3GhnZCHK"7LVeN5S/WsUMn&RKq!/^u3:Q?A^Yi6"s.?]) +>dg`)11"58Y:cd*jqOl&o$nWBlAPkU0J,IM-XN4-S=Q"XEnKW +E1nrF9J?90:ZCK-'3Df,hWrg:[rplIQ<,+cDgU7Rod!4[jN$]#Z+EctL(1bja3H*< +R6&b%+7$&G3m+_)dV\Y';>qbsVh"+bT\+9>9,;-b`%2c3;]JAUS77^h1^]/;sN3^bP%$_q^AKC;48=7fH.D<3_Zh!-CYO.9F!;f +GR-)F+R'DE\en,U+#Cm/9-Kkir-qU;4JeO)j?H>W7[((H"H;h7?N3C_:DqeTlJ%4+ ++2VV'aQG=`gQgDQ)Tk"of_=.)+-3'H@/kZk?NPO(qQgF1]Qius]'nRJh4MBo#PnDA +mb^3Ro/Da)r9D]/:[T7uO'@B'^2`dXfA_:+Q2ZujS0+o1IK+]g\'GeBTes,+H[.)5&kgDG?A[qL$o'k$V+KaM0=BDXk"%V42-D +hes`3r@\A#4=6BGbQdZ/J-^,[=`-C?A(^FgR2NB9_KKSn+9e-,%RU/r(,r8ngV$8^ +n37KcD*D]m+%U/<-ae1bk-:TXXo:h3!FNqJbPhb<[sAYeBI*q?0r7>]RL\16@an$Y +HKb-=-&0abn@0>W(MaZog,pdA%Xgb,a3"_.[s,$RojPLQj7JQI!rbqJk +[s/7Kh>-"/H>@]FS/F.p"SEYZ!c7WR=o`sJ#EOBD_Z-S0Y=UTPV\&ESiZI5W'`T;* +Bg._/re5Vk5qW9;%n,K>P8#`9nQqNI!:o%4Ip$W_S=^LX5N.*k(^aQ;+u8N"\\D-_ +7!F2"9O*ARZO%*?&E>ue6ct/`Q!EgnXH%uf"Jlb1YMqA5!gZB_iI@sJq>X)>!3UVN +)A0jLLc(&(XYQ/,X\=;&PtOC_s0[da/$%P"o?R$8 +p<0?cQ^s)t@="hR>kDrsFr94]5 +n\K9g(A+NNpO;tiS,`0J%>]OA5MZ..p\4XG2FP?Cs)TFQB31;r@@d5SMogHo+oT%9 +Ekcn.kbHTQ&-:)n7F1+MO68G!Isk46AO:W]XS1FW`T_q/nGbh!;8iLPNLATG?AG0- +m,^Lg*ceKXN;$MKaSumoq-G;lA)ItqNrf%uSmLp$Om+g0#lb.3%+GG_km]NT6ic3G +2E-OBrdf5G*CW5DhX7;L#,hOs^XX,ra<,*eU3C&PLkl%Ui\)Z'Q%-aPD;IZo-%O5G +844&?G6-Y%Y_NSb%j:\sM7F%&F"WsJFmt2sHsDtJ@]FY<_Z#PB*X/%[^'Uffh#&*^ +k^ZN(Z\Y#M#n$b546ee#ko]^C/HNi2ItEDc6N06sS/hB8s+C6=guu&Jeh-I]%-D[: +$;^j.JAO5E7KbP.EuQ,=&[8YHn>Od_'S&:Zr"&J89pCMgp#I!+;t\\_Occ7hMZ4kY +1%J,]T:\KSa^J.]e#P7&5\57>KSm.To$dee&hdhSs5`q\dV<XE<&iA#iLD8UsN:O[mSCrP_Xi +"dGlhE]BQLcc"V,,Y'o7Q9mKN8S0To`$1UP(guH5XpiOH+4X?d>&R]jW:%U*PArLF +I]9aEH;EXn6/fKhl/P@cUM9DM3W7EP_im+ZUDZ4j^s,a,eNqlbDW+3/on'Ah_OT4V +Qe#!QFJYT`;"mTnmL[)u&\a"M]hXa*5m%(%pI8lkOeK3B`*h^Eb]XOb(VUt7\W;m[ +i#T2n_9F&]L,HnYbmBWKphdo?;<&($P)2o\Z)K!b.N\?aERO&ZCbQ(Zhb+.XpS!4i +jqB2E=kLE&dec)J[s[8Om_F9,MZ(^Bp@In.YHC\c^&,sqa64T*Qg^W#+?k-rc_p7! +qu$72'Ei@A_'<@f0CQl-Eqf&VDT@3R4oQP,d/X(XqhGtc^3;3q4(er8^0L'DO\]T\Z0c +iCWD.-FJ,4Rk4VN5uP$BM3nSDA,h2Zko9WZ=NJGNi$\=gjA.>n-`23,lHQ"D./7fX +'/`!?7/gd1^`Xi:->%i/>r!J[J$4SspciF_"o3q4.3T?8#afjis$?WmHQ%DeIWD>D +H.#oERD`\,ped:1B;Y#s-jI3\GoJa +.N\#-2Y\BZs4XKKZ5P2\!42`>$DNCiq&(0R?<.cORTZ\J) +CEWc-TQ/>YPB@-`!5Bc>Nnjtj#?&8/%%f]+n&PtuF!CVX3jXWH>+EmFa;nS&3u9U* +3;@dE9JF647+W8i8mPns-;LL!(!hPFJrGhW0De)]P;A!eK.upLgl0jRKI.! +6PZ?5eTJnT!pZ"i$?a!NP@uXJd6^Y7bO4LZ"Sfn!TgmN8['g]kF;@4O0JHTDM1Fh> +)70B?LP,UC:[+12%EmrDB+m?"Ig+Zh7F_@Yrti@Q,66eSD9[.`JnoeRG%oWWED_4" +%a"b1Pka6KmD\V<94J_&@jP3r9am4V2H=d?]'S-ec*^"1qNCF/ZKD(jrXA^J +Vf^,RWoY,gRE;K#A&Xd(ZIak0Y7>U@G94?I[f9+oS+je'h=5?ok9Slg@!@R^/Icl' +JR&gq9@]j&1E,)'h9WF)`pa +#._HUHY:Uk&c(BW6i<+*ZPLisg/`7+]B8O3nA2'iacuY(=l%hj`cm`nD_7D#"WknQ +Dbm=7%8/AKLsEEX/G`"Ys/.]?1#*Wo9XGZ4iRc"d7"P@a].hoU9_AT]$PBUuADDq@ +Q5Ihp!#>=d,@koTqlqOhEo7cpFFr:u+8F`^8FE9O7M<1ke"`h.U_tL;6cWf76pQs,f'K'=\7jh#%QC`p1oUF9rUd5kD\"+:p_18ei:DVXs+q$6oR@i( +J'`XtM#TCYi!]SFQO?.`cj9[KSW(Xu"lt.pb@>+q/\m^MH9(aE+!r_aMmU6%p)>86 +5VK"O'?gt(6r]?]TL/ia781KL@>"TNEfOAC+oLf\+Tcs26pT,?"oLjX7KhA*s6C]h +i]dG@hsAUDp`I7%)#:o[StSK,!9F/F!UfuX->,73^YY8V%kW;d*?kJe!&OhS9`L:U +XgL9>Fc*VjV_7-Tq3NcAq+HTIJ@L+=rYOY%_>cC'bc5K*-,.Y\&ckBR:mF>I9W&L7 +b`g@4f0i19mW)&L%3YJ/TRu,[j"I!8jH4EJZGWUZ<'ALJJ16r3&j"kC`SiqTQ&R +T\$%Z&BTV'/]Lbf3Q5K$pH,\_Y3_f3Q[n9$_#I_b2FN)=PtkTELe`*1:\D[)cS1aN +=qanQ86"gePe)*r3`[@f>#TVNjBj>?ruWX&`)P=S07a>SX0c-^ouNPDs!nZCTi_:EU)j+C(PlfTak5R_KF8"-l6+BG>,h +>dD`_bc0aeeO12R.0's!p8i*7h=0i_'S$tWb?_oP)ruMESE&$8$cmg7::3,->FUkY +:%6b(X4Bb_/e4Md1fCtM>'+>Wkj!E_onfF/&-OeSf+s$@QK3`!=-a7+!G<0*BBNjh +AnopEb:eq2H&bH]/u +nmFYl-Te=QK,dM$!m-h!LH0XINJj4XA0[:SUlinYZAhV!1,'4D$`&uU$=E&#H"1*! +Gh/7(f$1g3T6m]JjAo@TSUSD-@HitIe^J6W>71Z)s4^0nLk&"eqR][pRq%>XrpQ,L +[ZiR2RB^B#!S-.7K`C@E_rSE`eS\(P-COA[t +CPn$f:5EeEVmI`mq=i:GN@/S8Ui-A2cSD^b)Y3oM*89d;G4Z1BpUu.N]nu[%PdGj% +(OOB(I*M<+pVP06cMjkR$l +jq@ZCr;ZKj>\ClP>Q.`'p0`;pIk\RbQe_#f2E=lJ$d3HtH1VN,^I,oGBc)"N!oBId +%O$>/\Q-oFC=n&4a7AQLIQc/XA,(.fT:Y=,d(oZ@8RFl9N=$6trWi8Zr&=WD#UXZt +WSRP!_Z,;e$3"T;GPS2a:_43=nd"Y-+=_@H2#'<%V?]7tLGBeA!WUnW8H-'=N&Cp5 +l:$Un2ck6Uq<94dh'f$9U#sBcH_BLKjH'3l6Kj+p7KEN!,/>C5&H6lG\Qf%$e&%=3 +f5Vr8!X=Yq#=X.h)8@1=]tp+&pqOYOd/njugOhLlTfg!_hs`kW(>SCDaM6,b(%Hcu +lR[QA*Nf?3o=q8o-\1ps6kDTj!.r>rIRQ@q>8bJb_U%KZe*Ee4mB75kWt=\N([S3`n#NDC>@+W@J/=la##QV$ +WTNZQ&KMG4*>ZhZeL=;82=W/EP0QBOf]X(egZDp+rB*k(e_cH(CVRp92)JVq10oNGNlH[r=AQ-QcCT6^>]?<>oq:tB +X6rW]SkCU-b@drDQAq4H1i'Gg[7Sc#p'1sY%cgq;aLjEmEIAu&p-@?f_,T@dB_%_! +[+gd)\#,(%buS2@(L:1*?OfG +Tjafdb`[M0W>%FR%0$!A8\n(u9C_^>iU1\sb`%s9`g_@\+o>GIiN;OrHi;J*8&S3# +Pu$RbcPDK./D8l`EkJenHTZ)T5H_[_XBb'+XgD(]##7p\F*d/^Xl]1?jp9R.C=?5=>i!`mEPUa0:R`X=F>;91&7uU8d!( +)E(>\AcF<>[(mg/;p"V;d0jsKk>#ic3_f_U%irI^p0g+r8Nj],rNDD3@\V.H?b]Kp +4dAjX@?(88"87oZlsFA0?`[YM\Jk/*]q$etn(PDU@*d$"mf34N0e^7e!53lln+.(` +^Na\sB?q+$Gl-Es:CmL!dG\Fq3;2rjYs5j_pqO#ZIrphErH"sq4e;,f;jm+!A9Q7[3LSEhSlDCliHbSq%'%J_d6h.a":PQiWk +AE%k,CmTlf=4/[@\lHSRadI;UI*$IZ=WTH@#L3SGCRJLb!&]]0&u"Fl24Tbo$O$-m +TUllT0LJ<1fYhU1Ya[2N(-AYCa_8^bJVYU;BF)[T7k*Ak7:+?QQeL\^Mq%bp$\4iD +<%fua&%)4sL_o^OKa=?[q5Be^hcL.`mfqua-R7\;"RSl*?tK/89O`UkARIOk9S\X> +f+8$J9YdB5TZSAS04j>n%%S6'h]QOp7knB +p89hQ1R^\!/`Ee^E%XFL.(:dqgD\.Kn`Kr_md,7$fL!=ro`OhLpW0 +5lS]V.A&[dZDcX?b]h`]m?Sa]^WDQ@,s(g.V+U]Ls%=lAjjiuQ5)V(%#t.ILLa

4ja9+HbgLF%hQ1A(re,1OU8SL)ZsVcd7u49@M!E!euuI7m%> +>?5N@?:SpB=+>38"o:^l6_gB\EUi*X*HVFH6)"*QL4pr6WRKFp1RiSST!b_m[B;)# +ekY0sI:f2>(Ti]sXpl,L%cjedUp'G:?g?TTl![rb@G^E\hX*be)<0EmiS>Bp\35t( +A#enE7JG^N%0%mCEV9 +Y/[V9Z-,K#65?qR&t?t[qD1ZZ.ATEC.Ej,kq<_u2R,?%/=m25-#r%Y_a4fH.oD?-.ptXW,F_ks0@LRP@_!cs;a*Du(P]%JG06iW%du54\#pa*r"mmU'l[rkhb4hd#1=i'PSYT1T(FWUtDt +8tShKHo+\-rkC5gRW)V +9u4'TBGN%f!7r.,WF1%:Cg\Ik,5tXfr$iIJ5gAq8k^FO8TP"B:oT519rbo6n>9.gA +J?AeuK`<@6s'>X!%Wd7">:Cj:>%brrKH^ +p-8Er9pZ^L!0TSEX1%O(s5O^,K*^,pIulnA<[`T]j#\rND[Y"mMJns#t%kt+o]0pRuN_g!g7r<=B&88&E_FFGr0t&[5KB=!:s9YSu=,#;,`#U +C.8H98Jk>C1ZEltg/jaMPs;NL(7gZ%H#`u!5Qj=g!%i`SL^%U9RWS&69ZE(es($C! +J4BSSm0+'J"TjET81,US:5Tep+ljWRJd\MWm&g77,/@SSq#\;7?o"UQeXi(+LFq?D +5k5G2ZD$Uiq6u$8RN%-Rl3eNJq=VSZE$-YJa:.i"r4Y"[2\g0Hna[Y@Nnqsg3gl*9 +0N]"\Q?\\R38O]VOXL`sj9He2TFlt[M#[f,0mrM?KIA1!5^YgF4X?=8OfFEl[&B8: +R,[ei"J\-%ihG2?FD$-c$$,t:ae>T=L/qsjEZbP>H_;0'Jfs7uXQUP%llWAO)Ql@6 +KZ4-C#c;0s1Q&/7out'l!A+c25uY"nW'>LKYYhl*McV9Af#Gka#4pDl1G3k@/p8u# +4-Qgh`aA1j^"IDb?>&VWmeFgcEVB^:%u-MH7oSi9A`"I\\iN]3EO'n58oT5OZn`pi +2oT-pXL^5c^-5`15+$E%5N>c\m:RT=F0WQ' +;?n#=B43t.k,)X#)@8+E0E[T9:Vu`1Qp)QI`1n*`P).e*B`'6B7;a^1egku^7(-`3 ++2@/MXTd0,2s&iY.(\55G%[KE_5R/.K]:stk4,MR!;YNAJDspb]jGfR;g>1EEo'eU +Y065HESF,'Jb3&[;N-#':=3iSr9\%B.qHaP,jD@si\cVeodKb[bd[oRh\ANL`fLK+ +\"4^b-'3G9a9+9i&;mD`92!dF?)`;[fHK%KffHCkAs1Nca +mPhD2SQNq5=O0`Y49dlCHhCE"p084&/U-ho[@mD(5$l2,mjdo.MhaAYJ%#79]5PF] +i6=LZ58joU5N]qs0qZ4%kgR!Os5DXnh`a6oahtW<]:JGP2s>b'cM?eVeA!u4rgdWi +J'#%]U5.bTpW(EoN`9=*Y.d##H[_XM9Q0$%GM-6A8LXQcRdrtcf`St4??[=/^VRd@ +Eo!X'\CG\#r6&b##o/55Y+s\>#]RqRD?UCjjH!,Wr$m_._'8@tR=JY`#\`E&%5$T> +##eDF!a>(!+I3#DP:55n3rB73m%OC`s$u4'#s,a+q!:6Y5bpYU'WBQQ8C6]u!0I-7 +M%)*&+8_ZFn\Ldi.i5a(qV#nZJ,_IA!)!q@e,OGjPU%/HaCMFM? +Gg0#lfE_O.4p49-('+>&&cO.%^o<'#MW7#jB5BDIN\?_CMZ83t)tAF!ab:"N('+9i +(te>-COLA16OkaK*:SGn303QYZS.+'J(U/,Z9nM^&ZPf$au$^m`@=S:99N#D1qb#+ +;j3rU8l:mqE:Ym4Ci9>APg9F,$hD&o5N.(lr"%:fDLS"k']c"+J*IBfA?i3AFV)Is +;I'0=-kY +(_R,_r(d=l="&=o;?,shkXYq&!l4^:aT&,ZM_Udl^XJeBG%Ls7)'MdfK0Q7oPRlnp +DC>YGV'2':%V:EI&-3Y6+HYm_VtbY]/g&F(j['+&g^K+)Ap."1[R>oONU[,m!Cp^i +_c$.NTMBVHJ2fg8%ha\0#69lC"q]?++:u^+eL?MLe]/B8=Jc"ag3>qsNA]AK:!Q.b +S*GM0n1hR!L]Cb[.CGj,UT$DWV%Z`L\#h`q]s"Z8^SlM;AD]XDs'YZ<:^%!mHsF*IQ9Sqd^i>nIY$cE:U-ibcAVbQUXS"N)d!=2'8\N\M>AoP6*'S]%]5Ps"o7A=cHl_Hn%jFs/E^qWW;j%kn0M*X^)F'brZ;&248l?:2;R9OE0-FE'V-M +LM0175FNdRNY4dE-/1u5*Du+R[cqsFL,V\i]k$:i1@BX4j"W=a^GCo*Rm8#cU'srA +i;YMMH(7Ku8A_6eaHMHoc-K??2KbMunfL"32&&FGa5u4S3nF-7f!ZUbGn$6*KWVMg +hl=VdX3'8m;#[a0qrp*6DbJ_1CS]kFgA^(dg@L#QqEIC=J,-L#`:sl;J^/-B%;O +Q/!3/>9BrZfO)>?=1-gh^VOln3uH0Gq0+hs)m-cWM&jqt62jU_8.e1nf>*Z<-O7kMNRnBm.ac@i*&_=fCnn:+9X#jE174h]^f#TFC"!ZK<_ +L]Cm.!:Ku&3(Y(I6TP?@rWI^%Ifb"L+E?]u!#cYo-apMt!'C<@r/Y2An43H_q>8B, +r_<3)0oOjhR:G>]jaWF11g3"^\0+4,W5OnfY7rn#[GrkJAl=o^Z8XYL)! +2cDIP.Ma'+q!:#p.foW^HHg8uL#]X^[R:*3lMn(IV8<1cs+q#sj\Lum*6`-eB+t8_ +E+anF)*poMhj!QXVgGeMDG?QeR;A'5>O%AG@\,lMWoL"WX-8g6ag)Pf\<%1h434%d +LHlNe\a3MH4t_=o#`&`f@5a%j4oe.Tjp0Wk:83G0WY1W/P_F8lPd(oK%/EK+XI(Ul +U/dOupqLFai4iO57Phf*[-!.RbneMFn.u30L%V-KJoKWnIXbD'f2^aP'\KOuAg<1` +:&d!Urth!?(R2oSQGaN)`KaIN6:XjPP>kbUKH`ZTQdda@s474>/O9/E"Cu?F5F!)] +LZ74WbQ@g"]ij:nL/8q)*sZ-C)T0,YiTtM3.i_"tEeD385TnbKkIC\"^ua`=I;HNN +Bm!9Ip&q-B?=uHq0cj74N[bK.'`,^STKNuTXuQn=ZT)!4B"[uqGg5MAam*!eV30R+To?&Nm-?f+ +2`cuTDV]fGp!!`D],nGop9\u*>HKuY\*\RHD9)P@45]Hipf@-OV`jP\HYKtc3*6"* +f(sI6%2>EU-ojFi$Ci%b=WK%smE8Z"b#n%%\^\Ju%4@\;*^+/n^T;d!8[`Ju+#WZi +Zh5*\F_9gMrr12'ZC"dMRDcB_B#_a4bTO>>9BI+=Ql4o*:hDK,j2j!.Z#H1Ze,F:6 +2JIN-Zjeid1?8DH^Fc#(Ug<:hh`>clgWLX&^\<0Nrq;pkhD!#3GDrr[bfIr*YRl)) +aN6_+%PmSl-9`(fTZheBPtsCC%.Ja3K',@CrO3HBp7pHC,Nk@bXu4bcio],3Q9UUM +q=8:PA"1/-ljQ%&HLe*Q(;>*sp8]!hql^!ld=-@biChq3pT70HSK>C#fRM<&H"p*^ +3@%A-Ee:#(;e:NgnA,&T9$^t6$Wmr@N`#uli2pOCW_fFM!WHG=1H2k'D*A'Zm3lCJ +,K2&.i0Sg;'`G$JlN[3a2gj+>)hIq5f4+QJVWGQuK)NGiLsB"p>P[LQY5B*%d(:@a +],BaBe))fGqK43cH7sHR=#S2qkY[C1$M>AmA0_X.j4)o+c]p +hU^[mO:\`!A8sE";apBER%YBfJ5O"@5m8Nmf`+O,3b_Kh/;j(K"=QeDJH&\5dT*IZ +\q%2]lsMK.N;.n;H9X7Chi@;L5RREJq<'YlMK7VkJSG/5-NZlj,3"lDFmj=jCb+qN>F"8FEH,q?41\p53O3N/No@&NSl'drjr'0rUXNWgTGL&kF5:%cP +^K(]WT,r)M!L"^@6Rlj7M!:jJiFmg"4rpTiIg,ak` +Mfr49cnD:ocLo?Cqc#TOk9(A@^D>2"3\Z%>R,9sPm$MSi>Vl7:Vje]*C;;a$[#E+` +r+GNg?OZp@d`?M/GI]e,nK3bbK)DsCiT9FIg<(8:\i`S/!*TACdS;V])"@3LW9s;R +L]%bVs1k"pJ!<#O`eOheQkIgZ+J,'d/2#$e!jk!77"E,+CbiI@p:o)5Oc'4$5P@cj"O6?"Qm2cbWgI+6X]H!E=&Hc'XZgFnBS$N^eJ/"pe9U7_1!PP>d +?u<^,i.10-[()Ul5-?Can:X70W$iLLKG)^H>!X>T\^HF8@'t-&XURh'[AMR1Q8^nh +7-It7mT\Qef[q8#g_ni"*BA7WoYR$D)p[Ce+7D3SI/j#9bL[`GI%g/Zo5.9n5oq=RG? +T3e3-Ih2>sl@8:fmKLE+n(/Vf!6"n3^OM7AS!SE8H9q%YB;@chMY\]][Joj:XZs>1 +otu+]hmpGhopbea\8Lf8$c?=81\Tb`jIJAB[r7>`ZoNGHD31'52opJ!fX?@mhi\%2 +=eNj&kN!/bgRiE1/%c84i0#js\92OnHB]4m> +ZtE]SS!?$HKuEnL=Y\j'Q/jpkJ$2=.,/A!05Ae3;$sFCart-&mR0'"G6(aj%G99*R +,f@m6s'(%4l*f?4MHt<##C?\Eo^m\F>WAH +Re1\JS6[jr8&X*^`P54#imE;S>AS@4QK]1&Ufoj[=rLAcpW7+?j6cfO]rJV,25[;I +!7er8,G8B.Dl0Eq9%/UM6aDt_GT]sB2?B1D-UP_&b1-i(*t +_M("ldXm_Yhe[!M_gh0*.+/c%oKhRLnm>N@h,p.K?QBAj$=q3A#T/7$Le!4fJH9Eb +*0+Mhs+BT,VBc7R]Y5!'^^,sNiGm`LUgS4H0KgqT?hc_baNt66#NWYgs$)DA:KO^o +-c;R$oN3U"%J!k$G8(#FZePXJnXl"p2VXYA["8-hs0ht5r`95s;XhF[/8ti>XoR)< +k;`E7XoOsL%dni2n[%&c-C;3hl"P1J)Z^QS<_!6`!K4'g^J/Z)>!6]]J,!`+&Rce/ +L'W;F+HhnO'M)h85U*=(Ut+sG4KF?PRM4A?7(+t`glYc($=m1uYHAs3Z$H8kp@1d; +7rLE@Fm!*.IAbdPT2L(4Pl-Bed]`'F?J'+>FgpYYDV;Y673CsZIC.&ipa#]hjr<() +f=0*c[a=p+`U@]0^:@DGnp8P:)k=r,,S+almb)9co>K&2[^pD3lFhVXkH:rTHT$rA +Zef]j>5R+njm>q89n)dFp=a:=AS3@]:\NtR[8UccMMNYsR(jDNX3j6kR]An62/'Q* +c.5b`%EsM1`WCepRq_#hCg.cfL_6bIcf$pSP[348mOOj9(n3pTBM2P9%;!epEUql_:NCS47sJ6FbFd +8Z6AdS75DW;d[Vm*'r:@[)>@9-IV'cbQZ'kKNt@45QrB1abX#nF<+kf!Ne;TD%>:] +Tecal:-`(r;V)8SCO,-tVS!9Ge@BmI[LSk/+_>1Tk6+70JjUUq2 +jH6oWkaO$`?_(a+m7$='G>c3R''%S>YlC'Yj^AmF* +"-9#kI;jDsY-$*@2hnJ>4XC%ma1A0[`JHPF`6;tX5I_)##4eZt-cPseAej_oV/K*D +=AT/;eIbMK<8/>C6OKdNM:&>5)HBJ38Ea&FK.;Qo!>XDlaS-pp-I4a7=dKi#J56&t>BNVhe(=QZ*YD!+if6bVo*s+h1pn*'A5r:[]J,#Yo)o=pL1G%/a@GiM9%17[J +J7pqC&KkEja>.(9g4M>]&s?!Y%/b%1"jKr[;:Ld +N.@;Q3J/L;c[DH*-&H8+m)9Vor3I"8q^f%'9nE&cd]ZN$S][$u&b[UthYm&1nEJUL +r$HG6esqc0A.l#fWHKC#!NYI[&-6kaFK_L#/]Woa@pPI@=!lFb$?RUXSI'Kf'`TBCqBV?`bfEqcERfd_Ho(:0T62j^Ye&*9l_BRk7 +@kaq(nDE9lUk_/tM:;OHIhaI5[5%/8!Csrr"FZ4)(nLfJ7`)u-YHJc?D_e^@o"U"U +^OMV,36E0[jc&1)i(_H%kN9bAIn1P7FNXE/?iIG4pERK(iIN\'GC]_lhY*VW"8ndI +*_Rl,%f:`%gJ(eqG%\-OQ^o^+6S +7jj>0\"7eTV=:=HZEGn45.8[`-nE"^X1U=EEq==l9e0Mbc-'D%ANOeQ[,$j^]/_@S +cH!]NhK[mZZTDB;@^ogVM\T59OL_+uBrfTs)4E$BA*%C2Jf:Va`[]A(2.NYH0iO"m +lB&H:A`VoT3@kDriT4!(&RH\W[8>&;B`0o5U7\hL_)aYbI*kc9PHFgB&,362jIV%i +hJE&kCYe`'p-3M*ke>=#qpn:*?5^C+h044?qrZ8195J:D&fbJh4pHtC1nF-\[++O(is3m;9eGn-9%DR7Dr?!\5 +s5.n7T0Fq)knD434JM[Z&$*HjhpIMQm/#Ef?*E,3o?9)jO.R;;E-LBg'-fH=%:!0+ +5F^rkM]LU\FftUFQX/m`>nI,5)jO7qKDas_LCE6^T9_KNS2533N5@ZWKR`@,!"k2O +Wl9r_6IuQpruhQ]s8*C9;F21]1s;(pC!%V%1(F_g5\<4^A?,b,C-W,+3n3G1+jk%d +:B5r5(2SZ6jNV$E"T(glLEQR$o:H9p:5&?&&$-#?r)Z/_5&o-a84!5([l!?4,[E/J +iK+.=LHKC<#>?nF!LNc'quAH9fUbQ#"7hd0\)k<`34*rlLq'GZQBKOUASXb!4ODoQB-PhgI?DV#??UIbVNhC=Z1Z +1aC.s6,ibP''0)Mr=A8@J,3-Or:0(Q\tKn_W7!T,#5NW/gVNer%DEN?$;YMS_U&>% +1p,.O>RL"2niU>CrT`*)SZJZ,iVoScWo[k8C'9,ct:T;2. +"Aiti-A1:tjQm?IM#Td<^'N=,AHVoK-^`hGj-WZ%)iR*!Yl-kr0@8eQi=p6X)I779 +%bP&]TB"l3i.!in->dR^C9W.jIUl'JBsp^ +,Seq:\ro +V-*'VdFRV.lKa)Flho1HS:\)EVS0t6Xf9InrfTf._^._57\m"Mdq*3e"HAY=JJ-I> +MY\jME!7/Z6t=csA1`KSJU0r?aKVn:Fq3!EB8._6\;ZhTU.d@Hm:'u,jII-an3XoW +#t2Q<[ea4A]K7=C3tghj1ECZmGMT[T"5K=3]fk2">N4kkd>mPJ*S4JacY2DfVZ`Ik +SE5dbYb]K?GJmHQkmOcoQg"8fr4bL*F:9,i[R,_\KF3qt6D[Yg&gaTX9F[8h_^Vh; +J@6EDaTf+VO#^L0^K8\8X[5)aBWDha'VUM6[!i-pjPfrbYCsKqSr&MVkWmHiU3E`` +:Qjp3>L`[:O+)7&oe-hPs7&)?pWjTQf?7`t^019rf;eTDs%tBCs6<+6=$L0S08]U@ +s5P[rGSb&LmpE3smE5t=nKR._cguYVPk\le8H8,$o"TH@p:U\l5.R`]h4*/+]@?Mt +q.#JWl@!Vai/[J])cum^Vn,1n4-?9WrjGg&9?*Z!R,oKDg98Km(np:$h,u*[[OIV] +6>E-W3Mtm*Ba&VT^)7ZbqEg*Tpu`/#LhW5-PY2j<@tV`!=AO%qP8Z@HS3V&J=R5Arsb;"GFRZ?NBX% +Z5KFl^p,"-rc`'2%YMi:'Y@$O[or"(b!H#5^``aV/r0LQaK#UCQ(`^P&lM09l<$Fh +O/eE6Q;jS9I4,.^rn2Bp-InMZG%D=m`;b[5)m9*e>mYF^gs[-bF[b\'@<:TtnIP1l +6Leu]<,"h`MaR'3@28QeY$V3[s(V2i5P+iu7/le+MT%cl4%MTaC`L@!IFh/NGJ5rA +fFcYV-M1S8_pO^J.q:W/20T(8@n4\gT%(58qT#uq`;fG8,#\?⪼OaH[WrU[\%YV +&PW-hT^FT@En?paFYlOjK31gLIR4),./*>4q6pCiW^$f`-@eCj:u! +EQ9F$PLBU&s89NoX9+U^+8g&^2U`Je[+VQ<[/XG*2NP2hlY<>!Id,fej=!1hl2/-g +VcS5%s3iF0i-V]jgHmNOLo43l]'KZplGiCU8jWGQT7d/XE5<(=&&c"D0Yn2EH'&4V +*9TWkKHcpops1.7%2%Oj!$$U.b6+7u^*a3K(PDO?r.Er--n4^u[.)&KJAgI]H+Xd* +m1Hrn;O:VQF@l1G$9W34`7pOLf5HFZc:'7%Lf`Ap/:/dNE]I(h`(J.XCPAs.jLqsX +52&<[3CWo)/G6o%kV(5T+.bsZ4&(-9Qgq0u`](?Qf@SDs=`bsD?;BR0,uXNB^\giF +c&M.g$VoPmVr3eAM*M;J/]Fm=0jK%r#.q@K1*lUh:nC&`bL=gdT:k9T]U:"'$aL +KsERL[0EbbUSXi(a*Os9mtj@& +WYU$LB7,J>qgKP,rqu%:o@HbYq85k%IseZ`ZR[o*]j69Rr#a=6Lkl#&IG"1;nPB&^ +C'PV^1DEOa12JR?1Oj`7Ap! +!P*8Lk+YcS,/?FD%PF\(Mp3LKE#jc5O/G5L>r1:?-kf'M_PeS+&3%^o3%TOf?4IMYTOk@R$S[K*a-+fC +'`h@K^h+-=9Oao&ij+@@[oMFmMqnl"a!p\,A:C^Ei.D;sLP&2[!gL5$81%P>WA[(( +h+>d3?O2ohFJ`Q=a[eMg57ojnpOiLX@]h=gr7a8bk5F;sZ(SPN.P*Ajj-3_+Y$;lG +JH$F@P`%ooKg?[]oDNEmjor$o'VG;r,[5on,:^mHg,@XDRr&JU[mdYEEPp22l$1d* +I)XgQC-)p,foH.aeuiQlc@V"S'=)"lOuG29Vls$]j6KZXO^.[Z#*@5R[K@79T"TQKuF!6s5(ShJO0"V +0GdoCl"P._s'uEq2Za&",@G3hYlAS8A5Th2Q2!QVk_b(SOl=W,)L@V8j_W8c1>2&O +je%,hn0FC9PMYoa7c+lTN[N@fl4Q]=J7(_3O%I"sYrKXCY'";!arqkWA0 +;W$dVKDF>0U!q81]#5)VaPhfMfP[$XXWiZlBX[ES-B?@)i3cS**#1!,P*\'!kf:Z53^7;^eo?WV:2/Y.is6PnbDaq)sb[!G>T2o$JGX[WbQDp6[-t)>#0JuPd&qdS_;%!ZG;bKW2 +JUqVK!VqO>5d61SQ_A@YMO(#*"\Mdf9KC8D//L#s"XmZ,;FaQ@Ki/UW;eVSM2Y5:p +13>ksj'K]e-[Lid0["^qJ\I>DIYcf7*F2 +/QP#6rnr/dr+Z*$K;L:1J)7?Oq>ZMZec"Y]%DR1fn_]quro,Gu^OKM`\!KP`l[I]7 +mZ`*HMtik/V6=3)4`e3rOcpg[C`^98\a)SfCF@oGmV<"%a)1*t=VWbAHs3LZ;.Z4u +QtN5W.B.;RC`!s+`[%E9M/cL2*eb;ig;d`a$0e,h:uO$7T`n>EOGeXV<^AADdhq3D +R)B;h1iAR)*V-!nRW;#NUe?qo$^5IWas0H(GSr/!ZQB=%=AWdQDNW9\$oFc\95idu]7IpT8!g^T,K)tf&FQYp*?AR(8&3XB2n$9)/augJrjU1Q+9KXDY@^2%),ZS3_#?QS!$_H^!>R29 +\RATX*`Lc>S"2>eTd;7>W;3ccSeZUu\t`oee[Of.flHb%]6f)BcL+EInI>B#mJ +Bl>VNMq?Vtn?duLS^Ch_ptnU>:OpdUe?NPY'9d71rsDrf0-qZ@`=aZ[IkZ?p/gKr] +KLLDQ`5dPAqu2ZHF8cCSr(e!dKd&YK5B,P10)-OLn+#uMDa<4i8I7EQ6P)Mj&*=CW +jaiMPPl4GJ4'b1.;dcp>$+0NI-Bleai9U%U]ro2MYB:[4K'(LgX^KVGGK,hjXZuig ++S5RMRkWL?b:SI6IAc1IKj+eG<5J3*P_m=XG5FqiASNQEA2e`4u +M5-D(bU6Ysqoo:'/estK0&E$H?^n&uRAsVcBj-qdY0QRq\NIi;)6_AHetrYOUYTL4 +NY7\Q5f]X3CXHf5Y5Gm>d*Y0L7kpd@(q#T;3_N:N)*1glGm)@@Tqqs(BV]GajP_ls +,"=uCLb#I#RS(%E;Oo4a*%goZ[3;n3cJ"l75H-*d2--8j1nA^Xc?Y)Y"h,=.mhDA$ +o?V-iB,1Vse%G(A`q)OhN!R$SFe1pO$'Pe"`1al.X&>5q_L%T]o +G`!qW.3hZH!,)VS,uh7)MA9X\q,B0]`E4P.6no%f&P=:T6K()"f@6HT7EirGH-_H4 +^M]].%&+h/nUD>QrCtLc\srM6Q]M(4WVkYg:lOjg\PiCj4*>e'k6JE%r9NS*J)f)R +RrCmerYPM4l'jP[_Y6CJ62giL(E7hr>gq#kAH2:!mf.a'qj7&]^Nhp@r>YNM>nXet +:A32?io.#j44i2hca9=%[;?,Pr0'm'Uk@9L?Z*8)8BnJ]oNFCSe9L^;@g +M@Cf)_[ulS!#YobV\KaDA/5<]5\OI=?;O*,#F]-'OFKd=dh-W.L$e7nCOT-Qo%Oe"(TC5\u]ENgm#La/3M#?Y(.edbcDkSb[CJ,R-U$Q--@e4M`qR1gc]=pI: +cef8'o_.]t+:Gb(&_7uCV^FL2e%EYFO^9QY`P9)$MZ85,3;>]Mm8#+6s&\E$T4H7Y +QlfGRNY;B@Mn`anHMA0CofJ_bp\hk*Sskk(:ZMER6Y"!L;*k49Dd\Y7p&FLeDgYeL +2'n]ZO[/jU&TDD..#n:j!Y@h5UDb>l@;R1\^X(HuGIIah3!+-lT1o)@M#dBPYN)VC +d6tV\@Mdo/NW0@85W#Y!-_^#UADXiG*>R&c(ES)O^_>]&@KPQh:m+TVrYH.Ae+Gqt +pcf>NdJi<[s)A/]aPRdJqBPP5Uk,HQ+D!c"6P7;Os1K&3>=?Z,B4#4q8R(=3'Z\FOX1#[)cFgL?r7h1o]0iY)A'DtlN+]Kl>2H`td78QI +>A'r(Sn!6<4:D)eK6,uN]`%\VQ$P*?hMe*DrQN=LXF#)8f1kAo%'io\o@(CLM8%-b +5]qIY/j<5V)ls,S]f!(_W_ccb\$ak^/2.E6$OpdT$4W9[YtnF%eQ.K0$^&";.8,c. +'Xa5\>3SN7=9[uh6A*Vde=l\-Ui1i#!4`5+^R,V!0qq:Q&N&?r&oB&EKd._hMm@tK +Fe#us>HkA7]PXT.Bs-@$YtmBiB:Z\V%c/'BkHqea]WUMc@cQ.0L:u!'c/WB9/]D]q +T!&>Yb:%-L_jEsY),(KKk5;EXYlAhO[f@ZTm.lm@!',t!Wu,IMi%7@RI,rI@JKlS] +6pW.,0Mi=S0L@M49I";;J^0LRS(Qp*2=mgH,;1_2^#Pp&PsTsd+8Gb0GNA_n_7\Yh +OoJe7(]P(Cri>Qgs.'@Ag=ll*Gh_CO`;^s0c@Pn/5;3"Ms8V'.g>BSK$i^1fZ]5"S +7)RnfDYio%%6qM3mZX-mmp9gXr>b^f?/D?GU3kL&[q&GSP0I2sFk3=H3E/;&b,nat +QP>`G\RA+)T9SUf,hd7CAlPM$d>_Q+6XPWLgHc5*R?Ea>^s"6X^q;G4TE%<:EZhk; +"[X,1:aZeCV96.Eo4g%clp^tU\nJ@#EhM%E70*-eGA.)H(9 +^L5;:>kJAgh;YM/P]d>\%Umd79KL*Kd[4;["moM?OTY1g_#FFfaJTbuQ:/+[`B!sN +r!@l8Il[W63%=@J+RFS35@@b"puWm:73aL#p]R@P8&.Cj.:D.>/OI6j'-`:E"S2`V8pV]]OM>B,WWIQ89l%i$(::O0Rja7J?G5'f +;n9;NQ_rG"%kW=[32nT*Wq9e9L]@mt&W"(*5g"QC&:Q(\1odpAWuP&Q%g9J@4f7\l +=LqQ"8"nkup@b*eo^;thc@cDJL51;#O^WLOQ`#H*o'-RM6W"^%:]/hP/cdPDaDmCs71=2Jk^8!4UJJ=uZb +rXX8-_#LZY(\g4YlqOCNjp1MP!4gR-5lN`gUWl%`Whbaj4>@/`h\?_`_a;-N&qL#H +7R5miM?4)]0I[DX7?Or2S.^Jb.fXHm&;"/[-U1#u3WFH=GjGP3a79atEnV&Dj?P>D ++u'9!2BW)!5q2?='Due/)K".,7Z5&ik3G_CNK-6NF?.hOdlr'IGhN*3U"(tcps6oAPhqUVlX>8[+ +;K%69o,d%hB')8Jb\K]c-]XmB)`-2o,hQ;YCFeq!QMJ*AC!-DAjaku'LbPiJeVce=\PfQ-tib;bL+^0e6@o%ld8BN>%/^$ +(V^?:O+WXkTFusJnQF6/%[7+r+%)G;Pj(]k&U]5lb&$%j@`aA5nq:>=+P6&TLV(Gc],6e1`V)+ +s*O'Vo)I/XdD+J+p[=1(s6%i7IsS(&MZ9_aX2DP1hh>g[nPeFs1AQElpAb-N%lJSs +7*D4:'YXeLO"Z37^A_K3Y5d0bF[(/Up93neq>MsG+(!jof(o0/p?KA4U@EdLc>@:3 +V1eJ?7)%s*X.KENghjhCp?CaNRORL<\7B#I9NW8M!LaTTTH+e`L.(nN0J"u=Lb3+G +Z6JY(P*$%>dCk'K +I=m9X?fGM$g`/ds"H5[*=TI)k@Yb#r"-72f0!WSOEI4J]r*/mjAV$Ku(fHMEM1A.( +3>0=%%u4?X[32jSK>-K07nkV5-eD;V>:Jg+M"`PLe#AuJYV.Cr:P[]90k^S%f`-RZ +idW`QLW\L6U9ICkS^Yj?q<"oY/Re"i=H@C1Nbs&g5l7IrK4gprk@6jqiks@n7Y#9< +U[Wpi0>p?+`^W]nLA!q9$Zj1]"gMA][9D'T8"8,Z(%`N-"FG4ha7Xod$QjnfIl0#K +5KB'g,M<45o04uE$':LgH>L$"-<#\#f=&3=4?]m:R$!G)8ojnQ)TLk95;OaVT>>_> +63Q4fLR.!^N?T/>7QnIXhJ-f6>As_Tl1kk[J&p4Br_LOo6NeYJplNg$&hD%S+-aE?AJTJd,EoP*C>rq@'g4L +Fn@hV1I@SjFNk7c-=^^-f+(IXdFTp(mMe#5WS4okoA-4\.a!TIt$Ml-1%@cpg*S +.oB-ZFN^$]fb'])hkheEfHhB(38Z8pl$.GSs&:io.7a=_N:%ljB-FU`L]P?tq9)EF +MHKEn#,FM"):\a>5ReX78(6CG%V68L:'oAsVZJ=^C;pKHa#ifod+Nik3)ad6Lq2-^`:"fV +n_)4e8n?+8"t!A6"u-,I5T+;C"R(RCqI(Nf!CD*$=Q5^03%(C9OLZ_n +SnY0J7cp2*HKPQC^ca@E/4dF3;W!WgW"B2Tih0T\.1e7B",?k45@ip)&V(f$g^DJ: +LYFfq#<1o.*M`\%9S?HZGUS7.6M,"G)>Ik#!\cj#YR7*?4qP&X!2BEGY4hB=(GlIc +1dM4.?kE*T!r!nr3R>1\nncePSj2:c%R;3FX?$;8IE7g=L=9X5OFG7,toVc[ZYK/ +q/q/Kc,%')U.67s*I03RG]j8(ZAH<(KAM@hfL):tTl9AYrVtd.6/OkW^:o=c85jHI +d&VWfZj!)\G4Q8+Et#0.UUV9cdHM?CAj-8nlhLh5_NVkkE1$]Rcnsb(s*+\c/A]5r +@n"V%,%aJ&[QX/qU_Lq._>c&T$.W9U[9'*j)Dor/9s]s_aL"K@*bAZ^j[c24)=(ZU +O"rNIXQAl_e_^5sTn89_r3`g-[>?-/dfiSJY:c-BC+F?(5@\21E:U/OnS`IbhrZ?$ +bu/qQVVo%b]PE7(ViNUB<6Q$]KrU9K!1=Z/rhgq=2c*0MK?F.cJV?#d_/oVY!uV\+ +dl;"`!k\g(s83]`"TNDGd)?oF5CVQMn'/h'&)Drsc/eir.I(iT8,mrQj4B>+rVidZ +cX&0;qBj:uQEKi4=$Pb2c$pl9HLUrIn$0.tn`6V1F8s!]$hF>XX4=t3Z1?Mm`@2%7d@I*+/ +Mc6.F&^L._DgY)82B\G.i(jjiB*O(=!s3`,#T+7/$jsfM!;N1H!5+rC??kWo,Xg+NjO +pt5Lj*l]>lCAG"9Sn!dnS)IPKp':TsPQ/2nU]2oe4NddJ0J2i(Md/NZ^qhRA!R9We +o)IMF(*U]?584.qco_!?A/Cli-NsuX5dcXpj7fO0q%*:.:&CPH\^[S15K,r>GAC7^PS"ILN8L,"C27%kWaJbB-#nG[;Iqc&Jt^-/:Z8t(ckr&6e;g]!m&YsE4* +bkT0D"PE^.jbXpX-?!560n%O9e.$1Lf<7qV>+UCc1G)0L>+*p6`%r1\r_`\`ros2c +QM*Pmr-7-qTD>^S*el'upMTYD]km#$P0imD8@aADq8!6cMm6S>b6"9&h2"+DQllQA\\4$4^B:JN +r1*QCkCANL%Ea)BKg2XI7%bAndJY0l;CNG\qtpf)8*4td]JdFCb\S'Zbn?"=]P&!1 +kSb6oFYiVhF,Mo6g3T`4#$i38]18jNAsACN +J.T7NaOZ0+%EMAdeC>SUe.ub6o9ZKK(91JXW3ZCmK#E=Se]E/sS.;KmalD"44N(>$Hg=/:dTCR47&Hf\Cd3H*TQ^66)071]9Q*qnYXlpb?fUBe0i +^);%I!4pgC&+`TKTKj[+;'9r&KUAES4]M)f*t,2p'0oE,##5:aj7DLHp-3p\'=hd= +#l,&I7Ed#dX>(R("nZNT9#`XhkRB-?H3jI_'4:G0&%>L;q@NMjPPDM7]]\nR3kWSt +US^gOi=J3MR/Q9)m*@k+IgWm)H]=Z3gMlh$9io*LqKr-Y@; +f.U,%gU!1FqGd,P5$IWCqoaJ68,5)]/:R&8rYmroo&YW_Kt"umcM/nJgiY%b#F'"2 +'PM.T;\Rs6;>/pee%e5tE*q(-5C9bu2qHVDHcNp%66FU"^eH8.1!S\H?1BA_e +NW;i$^^_5BOA0-OY_eDqZQg5ZeB3X&H2G:*M\".@>EJN8kj=r#U_?O`i#AC++ZQ*Y +p\Q0^UBidsoTPS*4n(C$Hj1Je_QVb&KMV7AR@C+"`;^)85Na`YJ*Sr31da(>V;X[i +!kNZc@?I[!BKAN`6*"]&FP6qO^<(%rRuA>nM$nk3$!&#&Af')?_Yjc089-]';O:0K +^V$n6hl"7?`?#0oUnM_-_2uR8rDn43fP6aJ:6)H/qVO=]a8V]s(e0eKJ)c@?0J#!i +a\3pWgSimkVJo;2]^sA[D0s^dZ/Y!&oH)frpRFnK?d+O9=rmq3KBGPq\#`B]\hSUP +c0ZHk[r(PSlc/iSlZ5"gc!#71RpKM^WUX9*m]M*?BK4K^O5S"79Od5Wi]fM"k5WW( ++[#QrNMPQd+TH\.3"d,8q"e6uDMP"aMuHdR:FX:2Un_F/E;lL*IsapP0eNM,:JXVr +AgGj3'(Gq=&?j +&EN;Fdjm;=gc>E7h>a(Ni3<6V8HFhO>5jX$O8(pRio4hT[/Y.!mq"TEj+&[UJ7EbC +XDXWS,IDedDSMEtMZD\.-,b?3r;ibH-[0oJ0"2Pmn$%8Ws,6_#cosHm>&.e,>'P3P +cg0X[4\\L4Hdc?4(Tt90.(^d2FPh+&q#?`q"YX^/^:@J?[8R7tT$D]O1unNtlFe4X +4.FaSX6B45og/e0`Ikm87^p^<9>bERlMhWa&Ko3P= +$H?:.=&V.ni3&6SL_Z"aWaMYgbrubdh:gO2X.GAG;j(CT+] +`HZ[7jRMRKkjP\I(N)6+d['0kY21nj@$kBK:2i[X)[;$8qZc>4Hg:o`RRVT`_`aNP +?7r%hGTV.8NsAqjNduReXp#ps!9OMCcjl!A$mQVLW0!g*F^,"#Vkc.Yl]_Zs9(ks< +GA.lgc6^2//+i$.!0lA;NVa/)n:/60j\PeM#T7pGIl[Wj,Q_F5/tE(@WrqtqJWQ24 ++D0ZmIc6Cg8Up8UUS5`CS6o&&r,D^.4hCSZIdHYM>gH3.;*Quus"TM>$&/bpEKXh# +iYn`Jn4.,]jT%^J`;dFE`\14caSB2HCWo4taiq_.Z7S1"!dG7W(5K]j'\Ze9]3@rg +*!,Q4RfNH(GJ_f-pUTAd\"(1.=:GBQ.XZ]Q+&kl!l_ok?C(1IeGmO. +-%07#bWIA]N6.V($MTc7Yg=$2G,3>P=.J(oHp)i85*5f@o^MOSj#=&6lt_)lk4TIp +GAbY;mb46;mbD+Omat^QrPUf$J_cu@(f_&eZeO%8omac(N7@k=!Dre0s0%M1i8k8m +huau)jQ'*!r.thJnaH#-@t3k=itffmn@r#Q%fW)k;,'d-M>om@3WHu%nGhR:(a<@. +;G9T2)#QT[0*D7?[7[Cqa^$U=s42hWhAoY)bFsY+_!`R$!1j7S'Ym,@r54*:O<79Q +i"+W/OaGk]QWjO,?d8T-PZL6t^u[WEJ,4s*52PuH(D-UVB_dFY>U'2UOE2Ooo$/m- ++9#bg1thE(DalfV!70pG5QnlP!!N)C_!RKOg&Z.V!E]9-r1,Hs_^Y<3`AXdH2A$9h:%=,:JpSPUu't(hHE@OA^L$GoTU.T@RYJo;)_7CZ[M%*-bd/< +.]7Xqq@([SZrD\?.a`&9ROUVPV3oA&r2T4!#p0*,r81OCdDLG@.Xt;%&jcq)0GLob +g7%TEKnZ;%in:aQrUFq*@&7eK.PtJ&R''31f.J^WY:N]$<30cU=1&dYMRF_0WrVsn +:"gHkfFUFNAZ"[j54*h]_N5HS&HH):p-3"'l/LTRp:o(-L]:C +:)unLega+ZbXXTM1*11=4u^W1gVikfSG"?U%0]iL.R/?E(I2B$Jm# +)m=_7\b^I:eSjq@rT#A%>Xo^qcE*5o3sS[r1>VA`FC2YICSJgpD*_l +p>U#J=9QVCCHLa\X!J:qo5=3,p)NlG;fP'$iL$[nNn;O9e;b!hp@ZsXpXXH\e9,ue +p)e2il>@O*Ae4X?+UH)63=l5VLX;L]IBq +'*&UE*;7-jY2P;g*V)EWlT^F1'D=Z,CuH;7>a(.[[c7Y7V#]In$BWeHkjcJU@",oW +Oo`N!I_4$@;g:V-Ago<]WDb0aBZ7C`O`aE8R?[dISW4SeAP-O*<*C[2Q3eG^`9!Nn +q9tVDW=-o,hnKsF4I6ntQlW_WFc:#6%M8Wbgg);jn(sJIkN'Ln]8MGH\n?6OmZWRE +>rrEHUY9E['E^@%]S"l2gqJepkdWTU"VYJDTl^RQL*g)BSMUqV?DX\'&7F +17GdrqT^B]g\aC]oSdg2!Y9bj(]VGRj!-n=!p'7i/HDdM%6>6<+P>I=,/=QbVkG># +jg;(]"n6e@KAQ<`^F^F=LD0_2"n7:4.p6)/h*o*;=2t+ +6EV.J5SdaT$C=i^oZ6C+r9\Za"2FFR0j"q`DoR"JCJAWYM$*<-g4U6>`9@o`mfIPC +!VT!Ura_u$I&u>iFQpIh`K./;]Q]Zn#^C\(?.hKH +YFl[Ekii(ne3uN.ADB)d\osIKgW`u?@jG$4J/C:kPc58Hs796(#5hgt9cfJtE%r7Z +7_Qe)GR+,eZMFn)<'iQ,QRbet+:n;g9+["?j +>@_Agg_CKHh9=]ZE]1!nl^#P5F"OV2Y$!L1A<#+WF'Zd`T=-Uf*=WtUL:ok.V-)PZ +l+5'=[81X=5.atfg.'c]lU>`pjh76OYCt&\QQ2c?J;YSq4lMgamC68H[4^S!ZQV2dJJ)Obl=no\"Ma+q/j86e)oLQRg +Nc;fpqfk9kIl;BL6bV.P,IIL@ +EkhZnWh2@;.%&od5AtOt%kJ.tJAi[LcN!_qTj^&B%\f@&R)\sA8KM9._S^Ha^O:Y@ +rc`($DB7>Ef_7TN!W2j,)V>2^57fYj"8X>G)%](F*39Whks\pkg.RKca;g%lHO;pE +]jE94JG-Z[Y#idOT_e^o)Nf)tIVESXDqUc\'DZ^kjPMZ-eW4e@F+UH^B[T\^%9"8& +<+@N^FL+\lG-2/LYF2Kt(?[AEo6#RqTcP?IchUpd_#>^s5=pJ2!tg'go)Q*aLqsmW +i.(a:+94so#o3THNgs#F#-gN%nd"c5/2F\;M@Z.086pOFr_#TD][/c.&6l$Njsc.0 +>%sOigSa0*R8+C`X;i>DVe]%pg9^LU%<(u9\Go6Mkh=6/0)IRSn(=5f2ui=$]t4T3?X#oMU_H:MG?+:FuSgF,LFeDe]$As81dfI*!VDl3lMCOr7QNNkmN8`*iD] +kqera")^mn'`VbqQG;;'U"+9:0"'!L2c!-unF1oA%tAWj*ua4X'E!nOjT!n9l23ZX +(P_^Wg^%gQZs\i-$XO*>g!!'%!Shk+cd`ZtZitkSl9ceH#mK&Q#@FOhe*M-+]e5#Z +.! +nd"dP/bSb40MQjDa(,ugS0G",Ci`3_`7XQs.B&gDY5k/b+Rr&e/ +Y9;ujV*`u)#l@T.l!g[\[cOLof#sXE;=_q+ +aU9I(hDeGUjnt6bY/u%b!YZaX\q%7ciiSnmXAU^Jd*lFqQj5cf@GJE7]Pa6b\t?7T +8YoUhO;'_NaMOf2p%3O$'kjn)0j]US9)$.lrQtO.<^_(r0O%1QW\UHYPS09*@3n9E +H_d'8ga/ua=&tB+eh-SQRRTM"oZf.nNR[81J?TV9XhJV$D-]?j9@D'(# +^6V*(#,rDTN$mf[mN5nEC;rbi`_2D[!?,T9,nE<"U0-n&E$OG2'!%!bd5ln1bS]&cn;D2Yc1?`$bP^>6(6jci0R7O68a7amh=Jn'TP0hh`-W +9Mk+t!TJKQ"dr0IJ)GeW&Us/#7g#jumQTPfi)mpU+F)5qCi8?Y?iJ"A\hUYe!6mJm +4+[?+d*=I^B,WY6q^ftB&c!+?n&p3cJX@OSa7;/+f`:HYC&dMDD"u%G0\El>Z@CVh +[r=S8O;,JrE6o`=@O=W=spam>IV6+665% +c,p(`1fo'@;.*6:d4#^*k%.'GL@7+Cs&=C8I!YS!Q*HfS9S*-13]RT1^LqKahGXgV +T:UPjbQ@:lfu8`l/HHBSf)Y=!_)!!m"lOkQkC7dai-6[&'+qaB$t1g +oN3:tP"L`['DSqIOFJt6n+H?7S]@l+/sE-\@-f/Xs2&72m$sO>T+qTjS583aei*[X]b7OdPn3s+MooU0H(bCl#k2=$L[_k)?C/gp<4X(W +VaKb%YHIE8/Mdi(JD&&f7=`;Q\c5%(s%*T[47Fg=As;'M7/fs5^APhFoIXG[q#2p6 +,HYbVDa7iV5Y3U2_!PNS]*k[2i:JG=#P^Sgr\BC;$K_SP+V+?>dDgU\9hPMPj48^:78\]_='7 +hn,3Ec<9;aH]0I:kk0)j@Knt/6VmKULTHHHQ5DPS;K<`)<[oXj/g:!3jnq>? +:4`F8l/I2WpA\MTl78`l(GiWp=l=d@)&%mWIOPo\Yb[84D1^1WH1bi@_e`,4ILNu& +j4?hrAm*]a>4\aiKNbhaJ%j214N]/PgLj+kdX*a_Al8rKV,-Qnc_U;g"9Ka+oT7E4 ++J;i@d$1O3FqK';`Eq,;O>bEO"']A4JJ&Y=- +K-6g2J8^PXX:"t($gZsR+,84X![N(q@$l1uDUtW&k +s7">s/:[OZ<1Sbp+FrF$Vc!fY+J;n*!'/c0W\Qu%5F]a/dNc`@,XJ>m3dO>#BpIWU +O%J[s8-f6k1hafDg!nsA\C,]([+1Snl-&N&(A?=]*,Jq;[_?;,L@Un)ja6mSf*jt, +YJ5)$E+n$Oo)7*6r+Rq_GLS&;ktN+^_"h +;5nS,kD*`cXAf0r6NEgS>Y(su_Z#>ehe:4\QU6;n62nh&O9KNK52`a0G[:,o='j7C +=67c/#uV@3;ZP?s>tnapROT-pjC@ujF+SiYi$SoAHt'b)QD?des+9/1s#7@lS(km? +#U$2HadLHaNP`8Q5*:?!MMp4Q?7^R[^VudYZ=fOFCo[pnG*0s$E:>_s^m#X".f@%9tU&X[J?L:+e:T0'Yqk(DCQ<>'FaGm)bnLmM/AS"?m +$fb=1'$?N;CY.OFdV$Y$F(DcWo/G57DJLJ=&"SiM%OUIOTFO"Hp0f`dFX,C36R,HA:BnD<&DaIc4]+dtAJ9B6 +*.>=-IS]l)3%]DFh;.Qb]+\H +K"`d-?BSW$`%G35#2t47EUQ0")/>]i&&;p#8_ +&)Q;U^W8RE+_X`Ij"dr_hDtT#[i`'+NIi8C0D\Di(!j@/NjR:QD%A +'5TibBHNfKViSS(4G=%mJGaEWYKg,tZUs[_ +bTE^p9L/NZ;bQeP/>Fi@@a&iEnsoE$;Z$V."PEYAVDZt>bP"!fI*UMt-b%Nj>8&Qd +Xi.&"6pPV^@KOWc\h_#MQq%/P#CKZ\YJf`Ai=j`C'%-h*rhkX'&b1@!e'J"@&Gap: +F6f8SoaLu8afC.4XQK;1puY)%#FGC$>DCOkBs=n%2R^RJYdm.3%pm06ouI-*2j=CC +@.$@o_&NHF:ZV!8AN9kG+Fe_lf+uFNrjTB@Teq>(WQY[ui$DoNNRH(RU4N!sI2f^% +]=E^o=XSu&cAs550GX`lH#e9(dlX:rfbO>LmYIcbd\!,*4ZQ8eFGTX05Q/D>g-$D& +?#@+N^X\+B\'ap7BU&Nof`*!65-`@s8iJ$E_>iI"!;VuA"$^M=Ymg.%nefC+=??4a +Q:R@>139u\9=%OI/P]0Ei>=(u0!2M7QJ:b5gf^tj]6X3;gT'5XFlSsL-b>5ED(2(C +0:URjgsB6/YrTS"3G2!CA>DRT]ifU/ +]J&]\CZ=57&HD07e2r$ADsp#rO/"3-[-'>&+)QfnmpmJ:0_Q8;"uB,''PaL"_#2H5 +fhSLZ]&HS24Dd_RXZ)g]O>EN@,=:ti"off( +)M)MKdGY.K5t-:QO03:amuCJc27P+bLli9=%&FBk5G;gO8/ae +LGQ\n0_;@BdQbJsjfbSF5ilmQpm^fgm[HfSK6iCAT%'2'V/h0IH?(5!%L0\&S;,WP` +^fQhgYiK@8n36pPLD3RMZ*i[55Z>\RcitS_-_X`IATUPTP=rXZbb,r+VJLWG`J-`*YE_$bk +\HJ/j"Vb)Q)"-.f*RkiHW46(VsnVI:SQe/O_TcaX8M)W$-\+T?9f/o@[nDa +)9;u5rZ&[Sk4;-"s7+KO7/l[W:aQotm/$5&U8X4!-i\LU,fFc-Vk7F=*ep)-,$F4nI=K1 +>oC-DUn8W!5<#&'i-=Tu;qV"$m#8Zk48Qp%OY?-_G^_%#l#$'ja-]X20d#Xkgp`,` +^*D/-^VrjXek2FZTSYFWO+:>aR^,eUM"6$B_jn`nV_XJCZuGsS0?Wms5U;Rd,WMM,oFJV+31pZ>bue&h[dN^chXV]cnsojt +3sOe.#0XJo/K3UFhDf"7Zsjair]XqIho.A^Q#?2B(](LKS:E!tD-$OYkco)LX`=0pt=s8>-L5 +Tme>SIih!E1c,u)p8"EeoB7!T&Pr0>06a.77^2nW\V^$`1N`!`7oJNAb+*gM98`b[ +f0i\I(!jQ;VM5)F\JKp?cgn%65PmYUBE%eEN3DZoq!;8^a!XdA5FhN"p$nCC76e=- +o"hS%/H;jLgDiLh@Bg?_Bg`d#*F:+K,'QY2VLEP_[o-/>5(f%SQZ2'j\e +b*(ABVA9uGPndkpXj&-j0.gb#Q*EXSMK5koJuu&''O[ub3<\h9aBpU`Jc@;O+ip8U +UB#$OJE:]NK(DD@Q%8Eihl.>%]ETGN^PN2l310iHEU^3M*?5-;!34SqYG[8*;Z'U# +3<'G@!guHrg33j=_#+]$4CW=4J*7l$Wu0nnQ2Q+*)5q-E!k413>1KV2;(I%`,R++] ++ofa]7ef.+h^M#>kGTo`](/gK7@IPFDGXp^P\GGd3_#TVe:[d(AubjNrjQi;";(0/ +lra7Os1($HcfX@$q#_BCa6`aBMh_OjrD0#F!7_RR!<;*)1H^'eE)FsejqmjK6D%I% +E)AS_I_2i4Ne[UrF?gBkM(6bZHn11$X2,rpEoA8<5lOu&o0N@CD9KA)/D@hKFEap9 +mso0QI%_c%^&(,mT\bBKtFu"t9:[Gs#O9fDj?-_0l9TkH!a/k0Nt94a;\tqnGQ&&J."[VccjJ +aK)IRKD_G<#Pn5u*2f-?F0S"0H:tj#R&MfJF@NFLbVr\D(;&)YPe!=;JD6>V76lmZ +S*TTU"27#Q"9H.@Rig\:EsM<-_*!&ehr`7kq6I,es.+%agFFLU'+AJ3emrn\#R4MD +4#ZSHmRfOkPB_7)iVq6g7jfLPg!77C1ZIMe&[+ku]Y'0mdSBWHPI+uB&75Co(\.!, +qL';"kM'tIk?&;Okb-0=BKHoAW!N't5TPb[SI>[UaN[.3(;lBZe>4i8qB+d**lf[g +AZgrN_"E0sp4$C24XZY[c]21sQ+V!SL4!im8Ki&BZDnpjc,%8V%4cbZ+[CKd]:IkClVejs#an5af'B?0@ +GGIDWST*[Ugq,MbIW0A`a1!=AFOQtF%l$:2Ljm)TrFS.Oe\R&S2D?5QAXk[-Y$4QR +-:U-iW&'Uf:.(RG7UHiJMFS>Zo^+3L/foF18=u$=R4R'N$r(B`GKX[3-)$eMVZjGA +!IYKN2U.raaIl>Id>+*&!23g^D'J%jk'9DV'0bQD:>0X+d%=ptk;P34s52]SF7nL& +I+n2`\GlNm'uAF%L#@G#!EXa;s)0Np^OD:;`P%\3SBL]fM<*P6:42`Gph0=h5:_.8+#LSl/OM +$C$jQQPZQ$'W%.\UmIBZPa,gGQa8.kfLe./:armc!J%&!Mig@i%)kHWW5SZG"6Lsj +63oiP!,;GBF@)r+]hn_JGi4'd()XN2Won^j,R)6s,6,4X%3MPBM=[dllnF^o-IkMY +bg3Juo."U)..qSr:E@32Va50-64"@D5-r%?_Y^ds#+eHm57^L8UAanZO+8.K#]'hK +a<(EX"1ei\4"PkH>EPqLA,cWl<?tLH*ZITL +O&A,rptt.@'8Z\+&HJFL&b,D)J1lSr,P4f&8V$`P/cbr*_@]W/&-Zlp]G%[14VsA! +]^lWohrr8cq6tXU2cSm^fAuT^((@Z))t-ld[CKs`:[+I"qb2:eI#7 +;L,7OU-qsa_C,9(s!GDf2h*BhDEAR4Kjk#!L[_1cPYE( +8EEW^IU[c0>O$Bi!:jc_s7#3<0PuAREC8mM@fCR!dfJB(gj-sQ) +oYoZM*:q7[W+UhRALD4::?2"St[Lt?i,Y3_riSt\G*Jt=$V4k@ljfSM5f1!_bN +j-Ah?%m")f]@F9n10X\rZsbCubsU#ZjQ.TkQY+@46h.?SB#kX"("AhYMKjGm!kg.V +;%eZ_^FD,Cr*L;]aA8JlV(`9;d;-'e.[I?IV(B5R'XVK(Hh5h?/D8gkEbjjLdESLU +r\MH\]q`0,;;Ifu4ZoW4e_A)$j.iW:+m%;So"N@aHT!M2g6FnM-(XE>h`Suo@j:lF +SOlZU^Nj,?mr+'[k]#nGN[Ohf8G$7"1]Mh9mGihX&,&E(3>V/_B)3`HN&r'Djta:o +)f8;>?.$0A^F>$uRY[grcjZP\?V8'kLN^REFQ68@isOM6+52RtGV"TjKH_>U,-YP8Q(m:E*jh?uck5QVKc8+$o]enk(:i2e03Zc-eejRJHaOs@FS("AOf&C-DsE4MD2[7O)qu0bmrTp6>@[Vd'Y?CtY=qhD;Ce!" +'ad^HS6K=F!Q17hB9ZGm(!BNJb/++Wji(pK`G*9jiJ.&-&.dZk9Gb.;'oc^Nm_M37_ +\4$=]-il$',L=b*A39j.l//C-O +[;l8*SK#Gf",QsXPD^*om,jaeH2kd;o<:qA(-E`D_XdqUeYnfF\D75%$V#.E4AJ*1 +J']bk/Kfk"TNqg8!,75kOkOkXkJW]-[!8G5"1#(ugtme`J`_R3p1;u:XP2?51t,O2 +Dl`HE0GOPuRjLh<:/R;V:@%FU2Br0bHZ8(ra1`+/me%28&]"DoG<$fJg)=#!eZWe' +=P;K>ZDhhTF42V#IoFPEk#U:5Br6dfVWK)$r/(HIncu116_/]Tr_9hKSLIX>Q'.n+ +Pq&b*/L0hQ.jW(5ji'P/m!l;E5bf#,s4^5X;!S)'s"7Nih4.t4at/8uGX;NmX>9:[ +c^baAk7[er#-ph0+,YOrqn`15O!j"crrW7S70MmPd:GmWHe@BGk,WBb8 +kPV=)eF>_er:/U'a6^$)VM72JH14Zs\QdOrP/1Q6PO14HP7o@=?;p"cuV[aUij5u71&+5'&3 +TG?;1^r5efTkgcD7SDJ_B+,M2]2p^j(SggHRU:Z:Ht6[7o]^Hl1..VNO=)b5&fC\8 +If^93:5E#9&@j8SEbRYB+o%uC'h`G`.2dli$`q@ej\qr0/po%eH=9V'BJY'8R2_Q-=/su(OK&Zg_E8$#f +Udq=m?bRlT2`J_TnOW"RDG0ck7,k,R7=TWBq8m(-?OnkTg`Q(3[YP`Hcss3A]E]HS +U:l7oP`:"K;>29a+-1TNd68/R/sgbQ;VL)pkh%q<>8]J!JPIW@#rT;"8NTt(Ng?E7 +7Hi=QkiNWDaDuB5)<:5GW#K<+p2Lp2+[4o4NWaG5&)F[QH(R"[WN)mu\esmqUQ9#$ +T2GUfiL\\orVmKP(]PV-i&(h$!6Y=_cgejO5)'KA*tD! +3n>*eD.gf\`ot-%FGDpYDtPk33ONR5FfIorU/\$@eK01NQt31!T>I0 +Z@%I[mrF!QGoe=L=Q"[+V-=XQ$7['JTH2$?!he6jXE07<4Q7-[Us5O^=Xi*1QeU,Z +2q1_bhRS#Ke*>aP-%#L3pCA^V),Xa*Y.JtKiUD$^Z(9HU].M($XX@`I-hfSqm<,#V +lb_eVojIL).74"]/YJ-dea:V^f=.hqDdCiC$JJk9d^HT\Xbb?T>122(*;2UOCArb` +WQtNAX0^/\ajh66'H0Ps8u,;__Z(#0It70@_HVPu.Z$GaMZ8(.rBgO2*/ibrW;Js\ +B"\nMs-Na%2Z098#=/9ao7I.s_t3^ird8O2WpO.r-_UBu:N$6Hf@4hts$?PRB7&Wj +4WtW_;Ld-jEI2Zfa)&rGRF>+XIn`P719F68=g$a`W4?ZF:obBO9Naikb\G.1R>1Y. +aG!Ikjo>7/IrW8r*t/i_"r@NF$A4U:a\BhT5bZ4/r\(L$nuV7aX!>gUO?&j+gYj*( +^APQmXKtMQ=HbqtS8r:1g)XDe>/A7f/UCi<`+q1$GP9I74%oV0/E=5:Qk0::cS/_` +'leMhnalhAOcB#1RaJ,"aBRH`TEX`1UFA3?W0k;127$d1Z_;nPR6u1TnNi]M2I2Nd +:aXX+8bDR!##LUV0>T?#&fGHtR&^lF=2[T[M.\G9@,r]_$I\.]Gu:EK8ZELVCINtR +0-n_i2V0T"BNm@J[;N"R*4L>cZrmN%@WC>uEke%Yd +j$7fMd00dBS<\9C9Y82m:92b/(&1i(;oRt]3lZ$;,&bSa\42/FEmS,.\g[lT.AgHm +6p9EAq.;;?r@)d^:W,290Rp_oDXLEFeL/eK50(D61*;DRTAC.Z\Bt8B7GG`0'J)cX4>)_.aNN$Ijlu@,9L@D0.Kp'-(V'6A +ndK8a;+$aY/%4[f2Q[P1COf>6,!'kHKeA>j^tRBI+jH_I%hgc2p](T4ap_95O0in7 ++94'DJV=oIY_*^7\Eq98f5lNJ/j?G_K^iQ*?BYA(H\Wbd3!6*#K^U[R!N/4O+UIu& +TbiH5@&mI!`\/YBhkX@^rc/%40B;B@3$<\P"G*F$6WK_OY/gbGCR!b,(?L%S%RpK6 +Mu\IO`\ZBFQsW=5.1DM)4,hi)HLWNcgYKnNW.#jaWlJbn%=;`;`)f;cr/B +=1\Sm:/%3_e,]%M8Cgj7\n\N:re%>28(TDblrpf&D=[FuqE`>(Ns)Or4Xq4P2cQWso;J)mXZ4pj_ +L]BOETN6W,,CmkrY>LX'2s33'"X&;6^Us'\:qAO"8nUm&SMm/Me<+7MLZrF,N6 +SRRXQ6Ag8r=+Zo+?G'D[j<(Hj5SO@,3d_fb;PQ_XaSRn@OrU7r4 +NVe,-PlDO)",3#V,up4'$'j"7pKh3Xb?NnDkLl@c2L@=^h["J_"[R&Jr'.D/^_s+H +R;G\]g6Huu2sR*!kbko1>a^UuF!'F$Zh3/DVgiZ9n\Kd4pLb_"1E5lHFO\Lg,+]g6 +Gbg7;D[X.iC=,a.`iKd><28Cbg6U:]Noc5>--YX:VH:dEMatj'>9+K"5298MiNe& +mb4!%aR5F^YDIhis.c?oT:Cl?r+s6:GJnuVBCsf"7"'?Lq=gZ.^YZd(r=%_G;;)DI +dA7%hcA@RGU"N\XK8V'4d>WU!BF-`2#+_%.0Ba8I=O7.FoWTECW^74tUPEU26e1D: +.b]LUgAP@S"Zsl&,beoQUFn^&6sW!8&3ZqH/Dq=IJa4V0;e#inA.lClEt +_5$!Wi5aah3'@J>98BQoS!Ij=Z/H"mm5b:A]O#F'$NPqoT6COURhT>D125g4j]]`]RKBqkL/ae=7,E][qD@EG,Y>m1$*Nkl5M,$ +LNdEm:E+5E1#0L`Ht';@e?&&]IQQMK=c.W&i9XdjR6AjE1QGD_G-W<6_tpd.NoCKe +8iens!Z`3cjhU`<1(jU>XX/rYGSEt5^[0G0>NTlV[c$:D2Y"OenI,ALr7*9b=tYFN +!(6g<'`[*@XXX_VDpmg!s'<(Pf`/A]Y8tiJK7GfYU$N$[)ms."=q";u=mEA*\X[o( +-!=XEpLf2,ra:3E5K58ue%X=W9`eZJ0)LM*8`_&0kB:lteL]_[RT_Vj+/l=#;BKqs +X$(k3QIjH+Gr"`HFJC]nCJ%UlP0;@s`U]h!MUW8aAsnea-r^8U3.0j&i +DXU33]0H/OBFOG2gNsh,n#(SQ%?9pC]Ongg&'kEl1r4kAs3aC54jE28+Qdu#I9MW^ +r:I-XSP)ht@T8UcF%bau1#9W8=q49KU0"-Fb#7H"8W;X3>#?JU9`f`c+s#aZ/:k>g +0dQes,g--)ZrM]+q;PrF)QmGhXttpg>^4.fJ)din[[#lYCPi(2rP-T:Ze[IOh6MCM +]RA3f3ME&HrspPJ#>.L4f8TDUS*DMk*Ko5@-9+#JER4?3VtS-EIXTH/%`eSEp:/Go +`.)c.d_F)JI<.%'S+BKaT8iX*2YneVQlka+^:TAJV&qkJL;;lJ27+<(U0/Af-UB]P +734*OB3"/%9>j7Xo+=4cnJ_%!'7-O8p1-72C-?mCKDoC#oC6GTA+fJPi(ptJC4d=1`0/a/h)khhqh\pAkCgnXXF +Qau9>V#H//T,Ic%I[^!qeH-@M"G$Ne]?(!'".>cg8Gi0]o".C)/mfFnaE5p;'9S(I +,,Ws^%Fdd)]4(l.A;:aM:ks'sLI[Ssi.&-XO:88`AngLr'!qHp%hnC,A`MOtI>+5^I]_..RXKOOI.,]`;H'5Nk1%+ +Td#$2!YGCL!(sG +=I^r35JcJm;i=1l+FdYr]/U?&(s;k$IfSP*_".4,l[0mKrhAPJUn_,#TiSIq;74YS'E33Ki$S*J@blGtReaT(=-,KToG4tHF.oE"9GrIFk5 +4rXJ6!7*HJm&+K4oDZ3"?(FF"VMumk2O/K'Y1V5Un(K>M\>`rt-:R+;$60)r[P(1& +ju/"qdepr#^XHJ%[HHLqISJLks.`PMkPIJ?q+Ht[%/:p!!"]0a?hp>Ds58C^s0:]R +"AjHZ$:sb1b'oF:@*ja)#0NuIM:3X@\?gQH/:X9f9)MJBJ!WNULB%^Jr<.]rdeP'W +YJe\8>lX]$1BUXF&-:<=/E6]`>'$mS*d2$F0aM] +/Cu/5-khLg+9Kt`'eJ^$"g:6=:h`<9D3e3MK:`pR$AJQ\e,SA4+S*SPpD/#/\IL"$ +"<$9=[`IU;"7LOG33sPdi[pGNm<'l0[3XP9+oXgcU'HGi4g?U(V-O[OcHtG&LYeZB +r,rjh]*H#0NNR(fcOHYiHdIE2dJ3ugX#oTs!DSlTX_Z>(jesUMQR:1[Z6.8>D%[;8s+UG*9T3)D`!$,'-DQ07[#uL3r\pt>"BFf7UT!": +]d]?#fY]=Pqfl5i[iLZ7'nuV2Rd",EAs&\5Pc0cPlVX0CGg. +k\'0*T51.8d)!6)M>lLH`_4"-0D@nBh@fcR=7e9h;,9&>4Pi>QV@G`m),X+TVC)0( +lIa.)M_;Q8*d'7[&(7(gAA$VbHZobo@5n&+%HnnSdFW"K5?s#9HS>d's/A])q=bW_ +YPeFLQ1,IfpA`oX]^IMY^3P8%pUeoSF=-gs@gOgG&Gu7Z7HZ$7*Sq^BV_`X7I;GB3 ++_XSi)VHGXa.s<"Zo)$I`fNL^5KTQm2652#b"SRnX&JOG._\g&K*Y:%=Xn!;>0.44 +I#.S)i&\Q+#K;0pr[q-8a".>ars[ET#(5>GBV.[XV--i1aWc95nIe6Ro[j)7*s+^8 ++4e.rQf6M.GRU#0!q>J2I9Mq<_ku?g7s#*N3fuo_FQ%KMcp$H!.M`0mUZMZ? +!WWX2a?Tb#=oM7nKE"paP>Y*PY:JcLrtG4/f!0b0rrL:BD!ZWdB;,?J>*`48eerok +"Me+-fm/+q_$@jJ-_W5tHH\_U)f9Dd/X&SQhO\GgV4/Knif=TA"3DF,^VgHN8--XHd7gs)$\D&clD>c!@1%S'&0UWT`SD!o6!h +@.P.F=1;q^-:QZYH#lJYe,%LI[aM`&./lm/Z@Dl][sNtLR;]Lp(emo!?DPsSeS9Y- +,uc9]&-9<@YEgWe3?#FRFP;d\XK2s^W0RDDj9O-2\!cjSNWJMtC0r]RUO[Q7Ocp&Fa384>OZAic3,rN\%XQ(]W"@brApU*_sMkW=3gIWd$dO +28?"X5R>qtr3\Y*29/qCnl&HeXs4&;#!W9=oUKU>(]2aUa5MuJO[t*sj#6(HaJRq.I +npkYHe%6TS;':7U8S0bj=Ue7j?L3p:ZKD#Mg!pRP]:7Osbh,d^FKd(Uk_>=C^!)Ce +Oj?cj?C>98^(\19NS`MZIqtMCp+GL^4!NN"B3Z<^4M-GiWBKgT\ja+(,H`bslr(b3 +XC69'B@JSHqIF];Li*hpC3`JfLFMCSPd;Q+1Dn)F[#u,&S;^JrdoIdBQ\5!q,*jTF +/PV6X9Nne_0kt]+"P!J4P*_GJW/-FTZ5D3aoUmt7_'iu@82p?cqs0OV\#pS*Y^0OJ +g<'>W*Q&UR`g&V51cm%+41FIRk)X]?Lh^U=l.4_AK7/I.qK)B?8.H/Omi5-<\39B( +l0'W&UOI80k+e+pT:_,Cf=@\!mS]AHfMk$+8s`XLsM+/s*OqF_g_7',_@0> +<:q'.d8-4[1%`U2 +]%i@q,Ze?85Qq#[ZK-e-`8A6Vr8C6+IidSK +qZ6DW(Kd<$:Aa)!Upk9$H!u3P`@:X("8&'Ed@R4kJO!2@,K=LoYSn-K`\atSa_8Vp +BnII:KVpF903hAPCR"'u72hP#V-lRl5b/Fa'eE>g>?T5Q<#$C\*0NWr^s*tVp2OU6 +9>-WB^KCVm&"9fFhBI=\0&C4dWj:QpFFb?gUt.#lNZ,t_=$Y>?AFS`/"Q3LnJ4ba8 +BAiQE>^1SfClaV_8Uuk,XBMl672Q +J@:uMX2)ncF\3^C$J30[;N27);6T(#oK8\9V`/W*-6>#O#hArc#S?;$K`+\8!8*l2 +!2Y*%f`;HZ#P/UN'\%4)$W6s0JV-C7'2o-.Yhem_&9.4jh>Aa-rsNT>QoZ<"B^kV_ +r4LTQiVH0oL)U'R#%<"NCoB..]ISK;]5U:/dbP!UAr"uE1KJo%[^$i"jYuX)*Smj2 +D8q5j5Pm1Fpn.:FMulc#>0'h(oW7H0?MfQslYSG&ReYNQ$TA%Io%kthhHiWXT=VdE +e'k5_l-nPrkg=5%XR,:O[Vi$o#\\$-WGa?q/c58o-iSn$eRZtR)oPo3NWA'gC(ub` +YC08ZBp;MCeE8L`:F:Rbp^d6DDuL)pkCONH+665q%mp>d=mE<9]WQ(c2qnk[r/'D^82$K5,fK.h!0eSr3eCelb6=2h&J5aamA3eMaanA3D[mE]eX +10sn+lmN3i/W7RJ=OqN)`clWDN(Lrp[PNB^hXE?7R3aVq!?;rccH_5Q1o` +q`INAm\Mg3^E:_N*p1<9R<_r@iRi3j40e/e6[4.,J11>WkeIo\33:]\s2HbGL1f%.pO +#G^,nLjZh,!PC:GhA`ABY`o(VIekENdf+N^q9@U6+7G6cn\O:eQ`0$Wq#>BUrsQ:9 +JH+f8ABhe=rTUW_`tp%'T94O$R.*0VrFr@jdQN/,ES+*BqS.QqHpci0G +L&Fg.mo61ef_ep]'BH@B%/\qYk(b=+mS"T5GR(Mc[_l7t*a5:-@0e,LRjI,KMMT+Cp.=T=0Ts$'!S`;]sLIY38A +r/X>KA0QO4"<7eFPN-'N@n6'@*\@>+YHZ"o!r:FPKXCi0]q=1!i3`[kD,m&^h +aT"bSRCgTTG]V]ueXIZq(N9*#XOcpf@3fD#Ej +4l.J;pL:`ZcXP-WR:LWW7&u$A?DLJUWVTso,!`a_!f6lUQ(Obl?fHQj"g@s%a:7V6 +Z5U&7Unme;BqVUE;g!5Ke!:G#^X%OZ4s$'/AVW[8LAVS".lS"<@/XDLFetbrQi=1k +'i\5o]37*QZ#.5W+,pd"3H?hQH/<.A!"oEdP&oCba"8b;?MQeW`EbQG%=XjlrPMq5O8%$#H4Ao@Ri)/f(A[DTOgt"(?gLQ!VrEotT#qK;TA'='[fF&b +_H[]!?(q1G-0shh=lB=jB;IgT.K89kV[V +M=>>b=m@qus.r"s#/L-o`;,E)9oa%_fpP3igZZjqE0(caJ<88_`)HjF +Jn@4AImNVNEi:b[b&iD"'WKD0LYmCMZuuM +>."tEO["A/Ic[;2q&b,a!:[&c?X(AVq]C:cs65$N0DmIWf_GNghrGK)+`W%ir3$AK +0+:+Eq9RL6B7[m]&b`tVhZ';G5O`'35']uF"J9W)OJBD,QT +*e4q1q]?"D[Zc%i`;dl$RuZhlJcGUn'O1I>r.g#K6UQU16\^.XrP5)"Dbs4R@+,m6 +B=GHhUE"K/RYttHf*&+>Hi;.)&R`$/)N@l(K8bZf#t+d]s&0R3@K-E;r(gAmk?(HO +qE2A-n,E_^j:Cpf8LLCr0@[!*n-$@X>]_#Hh< +WPoU?V$_CEmB;^MpD6AZ'P=-8s5STf[h.G1k$-tj(V6.@b?$DJ2hXI:M''h$NiM`BCLanqfZde&1CK+nXhroN32]C^[i, +JaR5=B<,aUH5QOrs +S]4d"7UM8ZWb8D(O'7[NBOtfJ8ljH!bfCNeba"U'2(Z,#KhB2]@YQlrg0YOmY=rdl +Z+D"R/Um4TNGPgJGBA8lkf.0Yh(-MAGXrQ_04Pl^B +B1R?t.0%L:lbVs;:[a-iom/%cj$#XIpU<6E^V#Zth0mCd&#S?MFtTUrI5q%X#8=h` +-g'<10)FQ1oCF1=J%;0@i@Or@mBh(,627sEJ$#(-k!12>q#1uf&%a#LRYgt6Cuh4# +Bn)R?J%>j_q-*F"lfk%s&Fm6q,QDj;NfW)Dd,'CgQpQ;TN]u0NriucWZCh-\!SXFV +cmRG>:Cj2GDEr]dKasA4aT)-Y0mMBt6O?lo:U9,SA^A'*-&;NY.:CZo)9pom!U_349CRYs.n/AT_NDJS9oB21r%(1NG[EmIJH/rcKUCtd( +`,iQ5OT-nI.:?.a/4rL4o0`?2+;]\1obA*FR3WaQ@K1,#nT6IV'I[JicPDT`/*26h +!Ts=kg)!Zb+p&O?%LeTq_uA96Nrm00s5OBhB.diuZ,mQ-pqP6-W:l#E&+Zp-'K0## +>AAh.256*l8S>^NMZ;NKl.5Mf$iIb]B'XL,s#$QeYF?rSEN8Akm1i-7WK0bhO3d#b +m(p$Ds&T>Rs%i!h:rU3FaA0XTgN>Y`b5-E7"pZt-s5@BLKlJV0SDJGM5LW#k;KN0##ZT%g;Y8 +jc?TYYMfTEoM1L_1QZ&>V)c2f&-8q!W]QR`,*2gbIHbonL[48sd_M_=\L+72M4 +V/CBp'7-;b?"h5Z4Wa.@YI2feCX@#Lg9_3p/ObYEW%K1B'qji>'Z`_W*1BMiF(S9j +!MaAC\Z:mpebgP;/:E8FaSKi&!cW\K`Gh` +$qjokG>1J"H$kN.[F:;L`Qdi^M?`CB_l^Ho*"$V.dpND^?B2HWYDr)5H-^O!,& +.2;g:\&o0hMiWm>cV:6Ag7@lQCs8B(@fC=n*#/FFT8W[ESqQPS9V/k`MJ$+D7plUa +nDjK;hd0FWp"@E9hA5YWXj"Q:5lYM`p>IjqG<=1KPN[4SZk'T$5+G)lhG=1+[EQt" +O8/SqJFUa@kd-a4+S1*<)Y*Q+Qr)5KpO7KAqJ\[qb?jhmIH]-qcp+['?QPqiGq8aV +0`(VOqYD'*l8IAJ-gBNYNVr32/=-=TjLIp_ps-(@3T8tiq#AAb_N=\&'$X^Jb[&M_ +]:=Lrsg^CE[SsKBF\G3[kKjW`XrTkNiO/Gq64-oO0%C&^rNP06Sp@a(4K,YHC +S!(@_&f]W2*]r+njZ'>HJ@^c2D`.,Qrmu,u>4t;_/!M%/"d3LNoY6^Go0q^N`W&:# +=51&sm*YWRSdupe%mn9#WZ:K[,0(@*s!u'!DV(tQ&G\!KIhi%`-P8WA +O,!_MoY7tj>_NL`k>VB#-fC,Cd4+j!s5QrVjaXt(X'6,9H5hq?ImF2C(]$?Y(*HaF +r/]t>?iJ[3e#DqiZ2a?"Y*ArPrW&qtrE`b/=8O-B">rJoD5Eo!9$gZlConG[f*OP) +`;gVPIB?Z1s,i:dgGWRAn*F764g8bkd..8`Wt(0-&>87LmA5S^.ZR6(O3_K7m+%Z^ +V[#uA)G]`[SiL2qi-(399E^m$otQpis/,0en:,q[HuQ+nbWdjl+:O6s#&steqhK+n +o^qGm!]FpsG&46nlR6Ub?!#XfVQ+eCM#b#3M:9#fC8E+>LQ?Q(Wc01RUCdUt+[cWSq]$EXeXWqjR7Dmei1/%r)%C:]J90CDU1 +k5N:@0;dYh(*?2IJ0@2;Nt93ZIrF\_kO:n/(WVr9hb*q'%CiYBo7$>p=j16HFMA<6 +IO"6Y:W81]q+[q]([.o7\:[s4*HieG9-= +X"T@n?BBd1.<9s>cY*:Es*OR6T4`Y$2Z\eE4l_kM#d%[h(#X,6\'mif;PtSWE#U9_%5B.:r+@Ta%-))]6t\\.ELCZOp0+9 +.Vhe=%EtFH1t_E9r(YIa%-W+Gp$LUf2K/#eBQrWm,/>L?Eb70gUr<;/s+<7O;?!JN +s%p+!jDS%+W&Ij[%#;p]W8NcC+3^pfi+g*Mja;Zo6=>o8Q5NI;= +OhZmXZa,%O"h%tnoKTMYac3H0Y1pkeGd44L50Ed(+TV):X5_`4$^tgaD0<_goqK`$ +ai6e)aM5Ja2V:=l5P\5^$?l%Wmcn#hB5lQ'Olb2RXZSSJqTrdCXZO^e:+M@L-u\"< +5-\11EhE'TXR=:rh:YpUU]:l+.KWB4&,H7H[-i!n*jn? +r%7>IZRZ?dHBR[0Pkg4o\WN=#L,L"8A]U6kCjC-s +;H12]hGCYZ9bk.ZPh,/2om,5=613DM3&3"EoW_V`ZeI!'AEJ&jJ4,O&8O:B@^"+%_&-^^gsq +I6Ede;mG_srMk`:*"_*c=O$(g%Jonb`k,MuoNX:^$^_ +Im&_b?`hJh)hAaj$Mf9bs&ANl;tA.IThQbT)C/X!<`o>d]a]2VM>WiK"[ItrYK]uG +jp*g>$T`_3*Sro''&`G/:N!3\Vo>29rWa>^;A]Jb>")Bu8-o4h)0g$.a/NO%<3O@G +m9AXc!#5O&7/dr*Hi@,Z/h-Zb#Lc!#5;3%jrWi64rtG2As4`g+"^N6qaoG@oN'r3! +7'%sUBo3&ol9@X!GV?6SH&rm?Yefg/:<(EBXE[Oo-jZ8dMhtI +rsdrL:RIdQNt2RE&b,COhHgW\Ih6-*&6&gir.Q9nL)N@!SZ&Ak\@thMTh2o%=jl&j +e^lG.\m@;ER5;D\L&cKt4aGekjR)@gf_b\.HOo>MY3Z"0fI;tsKB^&[HLI5-0YR2j +?j7GJKAHV1"9DC78Prbm0ib2*b3DqZ<3^#X'B/%/nEMr`XUT"tu6 +SGugZXnAg./jY)R8Ds5jH_5BQ=fqi7\DqPO4WEd$Y4$\p\FRHLWj='1O5-[^lmD[p +2t[1N6!si2IoHmh9>chIA:$.')F/Og>6++t6h0]i-! +2G6;ks!Dt&]1aEI?@i.G088@\n/lKb6GoOS"'0qTLL";sE=)Vcr*D3^0,bGBU;D.[ +!;o?F^Sra]O!HI[=h(qNpQBCM&eJIPA:Qmlcl&Q<6OZJHDY)8X?<"W>rs^ltc3!pA +W-c\;7]P05fCZ<>4_Wu=aWe)o7>(eeWt>8oOBb\M>D?cMTJ6p?3QUBen-:ELaAe].3n[Br8q\>jkPi@+Ir)H2> +RNc#XBYUP:J@T*\Xa[IUDR[<*]=jBgWZl_'[YJThnRb[;qi3u(Sr'&u=U/N`6Nmj" +N3a>sq+FlTdV-VJGg559c-fPn@0+pEF-S,>V0B$K+$%Pkrd)_@Rn>n*?2XHk(]Wf2 +`W,a-aepeVrm1DgY?rZ=q\JkqL%;n50#JIoc2%I7&l1+p>f])3`7o(Rt[*q=rF +#lAoH'DF]ms,$5@_#Mi9ggBUCO +lCK3@s)25Ys1*dZ+.=XmD7"+2;`#NJP72CS5%`0\n@KO,r+CMKrt,(X)Dpq25Q!f= +a5PpUir]-%r!+e4YZ2Tc!;S-kSX]-Cat`h#rgH.FX;VT"N.l%5j,k5k\3N@4!eC=' +![.Lfrbps!KO"TU&"5IA"4Laf@/)f?1^nlG\fAC.ro]K[7>%&u4Xr:Pe"C17PtVb% +TQ@_[?9qs"^jdIkFoeK^/3j84pSKYE#n%:Hr#Ig94KU)i74C,F#RfkYK1lUQ^&\oI +rog/F"t_>*;Cm,XP*(htJGF+@oAR<+/,ueTJ6QtMs76W:ru;"..PQ#Hb^U11!_*q: +5_9Uk(ug:f*6eFNN0fLp;b::V`R"2HZMaj_s6'IBs(k_0=FbWF-Wq=R+.eRt:W\Vj +8WV+sgpgI7b=_a#CJC]c>/,-cj8L"/5nBSaK*=A`9)&,*#"#7"!'Pce=rMk^-Hk'] +bn$?.\aP9EH]I=X=OTP7?WtlFpb2+Yi"'!qG9&a2"TGSEZ9odcQNJ"hbgZ1[M&B$* +6CAi[-\?^Bg7\Wl[Y$L5gpKr[3,DJ<$ZQdp=b$Y$n?JBLKu:Q:SqBIhKk!=k5I&08 +_]LWBHmODJ6\U?kYNFkF"5Et#[oj\;-ioi7.=8S@!'_)3`+,N06:ccZ548>V!WU%D +DD9*(8!okZe*3d_4Co:0M:Gl=7c"c1Re^YSF%o]Lf`ke;!h3Hub/<*[,iC>rj9P$i($<9_=,Bu%?#mSl$K/,>o6"dX +QC`%VW0O$=ni/*cY)7m6ReDSmrVVKpG:LNk'HnQYQAEWkjNc6EmKg$P +TU@W5:J+Z)pW9mKUtZ;eP$5Fm;fP',=er5Mdao<01mOG48h=huNqQppH]b4C^SbYH +YA'?4@>D%(S$/+lW?XjjGA&=73d6U_pC\6,T(C?AK=';7CHd`d/qXPC&5fq/#:KT.Kg*ZXpn$U$VCBAUf#Y!&%MlV-s:t +.cB^"Mf4nH$%QL\9>t8QE8^%ppAr^W4LaLSVfs;Tg[XrX]0R6?]^G@d"..=M"3aW$ +J*FbF(Q0r\;"U[Kp4!5uE:/UtHu_I8X)n.k5$)bBY;j:'IeaH:CbMO+Br]kMgIEA*68A9OSqW6Jks*794fc-[3 +?4m,'H2`:U_u7Ofb^Y#-qUbI?5.S#\K2Y3W*\D^+?kMo.p0?iOVKa8u^G!gMr""*U +:]d;H`&]G3\\cqpANa?LT]jKG$Yf1e_L$^ukq42CbI;usK3!#OjATe/Ma +/(+:Z@=.YuJ3W&.L1s`:m:rXq76uMA2;PED5jZN-ZK1h2"o]L'7EmQffNYsEGSQmu +p;bn0J)V],G*'qIOZLuiRo4&Kphs1?!WH3jDG^_eJ-^c,84Wr4HjYB`$g%r)+TM=*BJ*F5_MuP0 +ag_o"^Gj.#mh6-%o7tc2iJ[d35;jpW*YO+fL="b+?id='P/EL3UXM!Vs,$Qo;bK!W +Xu>(GhK%51[X51G\G'+gK?"^7!DiiJ"[Eef#do:+]?0^/9r>6URdNCX4ECoO)*>O* +\U@145Hjl@s#2j+T_5?;J63DfbUl*qTHBY$&!*Hq&H1k=7'\BW6!YVJ\&Rg:E8&^L +AuAYg"@V!4Rk>i'>C+Z:XV/:fl`rk>a3+"GckZPtf/$B^^jj%TLDLFo#-fK3CkqM@ +qEJjFgZRPSn:(oI$Pj:Lnq$fPrdk+;+N*HAff\@3=..T5[Wou4I]>OrZhkU_Ru[Tl +5JN9&aY;F_"rdZ^+3DaRRcm3sgLTDLm!Om(C(Q0Ii=rhm,%=,1Hqirt$HV.^5=3.m +%e-s^AJU1`Iptaf@g/TtEh*9D1h10ZE>-Y35M_q(Pj]"==27jV] +]9Y>/Q8PHA%;CjLXHGEj8K)I!emD2[fC!V.m'Ka\!pgk@MgO_^HCDu-X^l2Pg"o/@ +.EGgAfr$A2Frq!5m0e,C(MV\?C#0nKg(pk:-0e($7T-++gMkci1!Oj)4U7j$V,L^k +Cm[DUill%':r(BWP=k@>s,jJQ(u&$KuF]:T#qNT?/h/H+o38q-bAfrpu" +qt('_B.oO"q'u',2sH.6n'Wj(niu=YA-&%S,[Yr4o[9dO(LJWidu-ZP4F[@0rlkiJ +/j9g"qkod`qr[!gQX2\&Q>>A#?[`I_b.Q#d?$mMRV>-PCiNnCo5)8dTo-Jm4%R*bl +5=KBIU(Ml-qso*(bO9M&r0P.NHFE4@Xil\(\KRN*kK,%Ig=[/C:,`I-@.lRCT2%p7A6N/[dkLOC=i!h7Ss0\ +D\C)AdY(?KCR=e-j8aZLp^-NCNJ-T;6?V>IH@l(fTW)V\(!E\O=HldH=j6s>W9>)tR/C1aO5R3P_%X$Pi[mE=iga*LOrC+: +A%88G&a8fQ+9MP*!rjk.6?lZK67eU("T5a/Kh0.-@9C\SDAraQ +=Ps?q:[(.UT/>>Q_JnWAh*"7bV`.QTs'&O80`P3Tb\M"&!rS*!EIg#+gn8R#!g`Z$ +T'9DVpnW'YV]H]AJeB2tBT5ELK)SrJV_)sO,TrFZm'7"i(88o$o%562Y*N($0l\2]lj +-'JBs"o\m=$!o%*#t-be&Bber3dc%=LMCs1b\i:A?G&*]FA.-_\8AD25km:lR5k5! +HE7O=Q#3sLX:CiHagX9a)#d9sf]>SD42%:Lk;W2InDE:kp]A5QcZt'1D_aWLk@43: +Pt\"eSns[LUXeoEHATUm2TL-7PsM;f*SYQ@P>6#<_A::K/7C/l)+p[XlXHmM$0BGu2/-=%IDN.']F&DF'$#&8"t-QDZ^:rdtH9j7_3f'C\LSkp.[N(VgRUT0ue#OGBQ5*Rha5/8=([' +2Wc<`Q6l:.M4Ri4SA0XSiQ^Gu\srWl&!d+Q8b.?n9E+mJe3BP&If2>+i`h@h!l$uh +2m!cFi8&Fd*=*YmG`@+@Hl6+XIC\Feq-l1HkLH;F?7QeBM5`Zb3?[qKFeq$lVc +f-qMC/&1]`q@l3n`L"Z4$"6d-#4sD@d[S`Zn1!h2/q:sSr&lmPiSmA_90_?@qNu?g +7uYW`?sUs*'`Nr'&!oKp!;sUB+StqOaWKCOrVeqZG;!uco+M)TcguY^2"+cmj8QrK +m%9kXrV/5:_qQU.S0Yjq[,cqkdO,jRc:jC>*haS!Pg(M41&lkI-LfpQAiZD%LRePF +2k-0t`[gQI<`$B=d4Ja`:7A2@Y3cFfU?d5u>/&T2$lHr\ZNU&qZqC38'bL?L]N#O? +Jc)1g?lo<2ObQ!r_tDL+]'1gELFV4sr`9RA$c*^AXNr=Bnio?L7e^l4oh9nN6d;ha +)4#.YOFL39*bAYI-%f$C/2K#KRCJqmc2G!H7m$_Wno'5sf-p>1&H"ZqM+93ddRd_Z +WC&,C/!+T',-1kDm4'iF5I"$Ce,s\K>/J`73#A_"j3SO=],^)7;+MU8Lo!q/; +[hohK8PO71 ++I*SV'AsD[58G&g@QaDnpBH``_`n:8^sR4_(jOR8YYU)*j'\V#?Q0WjQu#I&SRk)# +!kIO38%0&jF:2@q&]j!rTV;=5.F.j:$h-fo$N,+YAU):WeLKhJ&a4!ZZ7U>70+Rq7Ap588*gjSK50q',F3W>S]2^KR1^',K4Mq]*pN_ +QL%W=&#j`me[pRDUaa3iK0;:T9KTEG+WWA&NnR#om%eb3C!B%L"Ue.E)t2REl.?[8 +hA9'(H+GG2"kBBB+X-F*Hod^':CS3j&Nq#%-)iQceaDm)m7h`jkj@/sDVgt&,_:LG +K.WnX%aq:rf9h$5Qt?;N]4cHg"9(4qKO;J=qVhtC+'oQW +kDS,&5KEWPB=U6VRe)T$ZN'WIp.t*bIs`X0rL4[CSYX#JIJIr"j\IIn534$"c476=f*ajbL/ +X55EXFLSkX0+&T8;3NP>Oelm"[%h*G=[`$t!roA03agjp9uSl2dm41,?M\Ob +>o-4r501N`dhhcik#LXF5S`m'poh`$GkEgC[oVKf8aHdl^+`@^Y5A[d#U6JWX'0>g +8:^_E/YKn/C]Ra4!$UdrDX*)_=R:>4kN-)[!WW1Y"^K=PXVQHabeS_LU;28Q"Q1'h +/#IW<:]bI@!%7lf1ApZ.i4fiu^Q9*M*##GKLc2,-$#j@YlGhqS;[7)V?ELtbXmqF2 +QI?diG9?4^pK6&G2^f_,Y(S/GeT[$&n%E%IpCYB8LV%Ide9UZ%p)=fPNmBT^+8CmK +?n;6f*O;jgEhMOP7FTIccbu%XQN2I4D95au1f>7mcp7kZ8I>g870SB.ieUYKogtoB +H-BV-n]F1+"AXfGYQ1jq"PVT0s53Xu\(gZXJ%#g%584gM_W!s_S-8i3KrN!*re#b$ +d23u)T)E(MP[,n+#N+ZrLUDR=qg%b%C^^;-L`eq"C^9_k/In)sM/N35H3IDgY:tH3 +$UC;>qVFI@aQ&U#P&[3V`k;71L7[>QSmY5K(:lQB&#_8@U<0Z(Ip\C%8 +URGKK#1?`el&^2f%H_LTX_;Ls8N5l<6H:(A,::h^h2XM_St'DB^TJho+@l(*W.>sI +,)(>F`;E):fM%?pBlPpdAZ#*h8i+KH!StJsH<4:T,MTeNTQtkgnp^aU!(qcB;Qbp7 +WnoaJg,n7ARLGEU`i1cmXI0)!8hUkK@geeg^W)nq#<5]nXn1)G:5ubs"D)bG4Fs?p`Wf]IZ')B!::IeV?!%a +ik%%cE4egcl[:+-"?q;)/L2&$?UmS9\im7ZcPM4LT\o6%g>rk/`7Za_q_?qfQTehb +qLmf,QMc5ds$&b\!VO=+%flV,0Abc>p6spgQOs(EH&h\2:U:#_&`umW@si;5j.fhH +n(c!/jV[s8,P6%m[)\I]!<7BnBfD$ued(G\rNssSGq-[lpc6/@iLbl@,u%XX!DRf; +.qskn8ln*NXc;,e7VQe=G.5ju*=PXYbGa@Q<'6L:M"r,Ka\l_RT="aq5No6knlChH +;&ORhkL+plB"X0aQ19nfJJnE%)^g`Y(D\((9'[[XQ)k*:[*%lN;dTm%Mk#8ao5qG)9emb6ke^#!bliV)": +[GSXFEb_T8j?h>#RJMoB)U/56#>GC$"76-df>.FU@414;TiK.U6-%EJF`uUu2.IJm +cjYnU'4%9^A>1du6IRIf?FerBSfS^I6M5,Mk4=EjUjN150,$5EfaKYmO +*FJmlC]Se\&!R&P4c`_FjVbHgK:7jSqYrn+Itq;0nFua3i;gGe3?FB)0`MH1(W`c<^YOV&0/T+#3WiH[@2J^rfu7Xj@^^G8g:LLY +8rcLke/KY[P8)i6CmI+UkY-ZcKZ9_/BRnAh(Elg9+=h +f:JXUB1fdGZA5f#-69@.4([;u]5-.AhX.cT8N-fDVh1]`^"\S%G9"$W3b[53ePhVg +PC"nC8IHnWjX4mHI*t7Ai.2LN:=@GQ[57\se,a?1em't@gcqal4eUL`d]mG`D9!cP +s(50;$#MMQ&n",8D:H(:e@'SV;`#(8SaN=KB:*bXgk-:"'2,FUX6`@.fe4GBIsM1O@86DM#343D8.bK7M"&`5fK!V8\s]HTTRi^b'gpYC#Pbd; +Pd`JJ5]*XqY#`->NN)53HeiO2!Ur=H'8?+BBTFuaOokY>c:[$pYcfAiW69l6$Lj[E +2pXm]JGHP1L:Ki"4@+8lLEQKss(b+,28e9C:t>^q+s1bipm38-Jr#7*1iOT8]FZRInt:?L)! +h.e\,^U$Ssl4uGr&kBDJq!T?^SLWmSr0Ium(LGPl6L#-se77L-bQ@Q$a6Kp[3$p-l +SqL4=4TC7)!92uR$b3YFs)%bi2u2nO?d&Ionk'4Mad3!ZTaZ,jblnKB*"pI($\A?$ +UZ.PYn_m%oPQ7Wi1fnt?6IkVFlBBE!VcN)$=`"9X\8AADp;8Ii"Eti'!CsZu;!Y56 +c(LO92P45j3'Pr5Co2)[Wqt)0Hn56Kenfk_bl"U4hobuL'drL#H-*KKDk8I[a;kmS2_>%/YmC+\5X`)R5qjB,J$YDS[3OgPSHfG]pB3n@ +T\('DJ?E/>*j,n_\,,qgH!s4qZiE,%hs$9US-]+K*^57,NK-Y:mE/9Sfb"-E3ghQ? +o]C<84M_)l"OLhu!^oL&3_s0=MTc9u8WU#k[DCIs:&obe-ERjEUE3l3KiZ=\mUANe +d1'*aK'ZJ'KCD*uh_Aai*HGsXl.L?;B@ktrSTb=Jh\Fsr7st2NYoU<.GMM38Hd[&m +L:qig:*+Q)#$eOB;j_Q]dN3D^Msd2)onlZh;4gA*kMl1sfbk#Xl_"Yjb=9_QLCCf$ +g)ZqoHZJMcL>0-G\"L'>_l]_s:==rM1nrkkC=tK0\o'&u4IN"hU`&bkM#XB=)0[03 +4gDhJof2?6>:;_HL]$mZbC9FI)>O6$(WcXT1A/glkSISR;YljsaS@g&?d8U+;[?66j7mLp2^H +JcG@85@bDIHO99C=Em8!&n(_%ojbi"O8238LO8ha!TsD(?fV1c4T@@dZiB]4qEI,4 +q2:$l5J4K'rS,KO4AL?NU\rmSq[S[/!jf=a/IAc +0Ao0PJ":c4p&P:6N*M>Hi/dkK456]Nc/dHQntsFtjsI;4H<2msdE9gZYVH/@)GraI +!WFHmo(aC&TCp]mq!1G&oqRYh!rV#61OjuU1SK-AA>jr$R"p1:?TmJL!+k!WN)Q0g +80IiN/OBaC!BgeiY0HHSm`LaNcq`-#;)E.Ol;fZl*ai-aEI2g>#WOtJd"Pokk`.a5QXO^V5]QX2d4TFX!CXR +lA\b1'`]!\ouJ=p3EQ7q!Zk"k![-T.#gf7i"$2QI0=D]C&;K_6"d`0GLU&*P"o(I[ +:W?qE\]Y)d=acmI\s>-LLqLF_I/*;('<&hnTTd6q.5^"Sh_) +"9oUed*:!^1Y#d4c44H5#E"=,7@?ZV0<*VgADFHR+Dl@H!pB"Ylo>a5I:%*jGETT, +l.^VI[Hk!VFf1u>D@Mici$hlR;^T/9@37#c'bC*cfmkmuX8o(!Z@9PJ"7cd'4IiLB +2=.(!m,b"nU62%\_tmZLcJ=lf,H]#g7bUDD:/XhYb3;GWo?NkImoWut7&"M/T/o3\ +4uatornk'%HBQqVq9c>*TA3A&q>\WNbCBJ)]O$'WNA@<=(mt?% +kC`UqV4_b`/\-,"[(uU_mo(C=?iH.-q0UUa+0mTr;2kN=oC>B[&0Up,;#Pa>]n?4a +MM8NRH+h,/r&+qRm6XeTnS@&]crM6Yrrna=,UOd*qH.bQr!E@tjq#<.9,I@_s8Vi: +]O*nDqNiSW3T#nd/-#*\fitA3cQ=`fAu5:h>k,L+-$N+MhE"\\C8ge"5l!m\HmqLP +LslT"0SXID_:*9jF>DR]SM:Q:Au+0e%n(qs*,Xsrt/TQO<6=C +OobU[mGap9*$rJ:?cPM&=4)$N+*W01gS_GagHnq!QXVCI8sQMi+B9?u]0LrI!<92! +2^p`]%POlOO&,P&"h6KC!;MU,!5fnq5OdR*"RP;'TYQ%)d/n?)Q30$&3Ztkrs#-G; +s31L;$fJm/53Qb\k:N@b!rr;qmuFV+rrWj.1r^p$cNbWmUQ(qF"MjpW*oMUr7\D;^ +C)E39?i`n\_9/]qF\K$i!fkN,K+*1YjOL5,i.f7 +SW7Nu2bn[tO*%h&oLO`/khrn)#BlWZm('gEkX;^e4]/p-V,'UKj$?-q-le1:ZS?_` +;)+<:*_9>.it_&Bg`I=+LP2&qDpZPMH5M8Eb(.%4hme/,[<#HTA#P$bopijqZmp?7t1LIkYq;Im'^H0:1]8%7gH]7[e +:G[Ik?0:T^@"%`(qi@p7^Nc%CeSDOq?`3nfc15f0U(CtRBNY%7!5s*rqqicR/q^A9 +]FXpQ&D1XWHhc4VqeT4SHpC3(*k\e+JUrtK$NFeE!:0f:%K+A,5NJR.^U;h&"oFX8 +,UcUpQ[U?qp^sc6k^D=>n*pAP3r@Bm=hf6RM9bo\<;[R,dbhfnr9CQ8n#fS1?Da1!$gW,lOisdA]"#4[;`!h!,IOE0MA_G=%9+TLMBBaMOHN8FV['\8M +RORq&j`RsWTSD1[VY\`,7^AbNWbSEsg6q(UY$K:rCB]0>-t!`&Rt'M4G'VeA"o3Z# +=#V%6*")f=)aRE$e^H2eC+9Tj@U +aDVW7FTSIqlVMY=.^hd^13G=1*Aec5PqCLg(.r4\Gt1d^W3a#CeC?ldZr,=i<)#GK +gHik][$\F,Aoq*!#ES0R$a;,.&dH8n]EI0>kBDK'$mM<0lmIHIs$ZF5Vb[a;+RsQ3 +61-?;#`QRP-+%e$YQ["N>JiZ<*Z9O+7Y#S)#Z6[8nVL5>^(t,U)[J`/"6n'$n84(i +/DMgd)m&ks@$>*d\H'p??4bflMXCanGk68Jd>a4g[Pu.tL,lsRf,%lmURXT.*DW7` +Weg\'kl,S];K@45/]aeL,AEDB7gHQa6ThT'kn3o2:9ZE)>TO]`9Sldt7;LA8__]^c +1GY[LKFS80RAi/$NJ9m;Es%do,m18D860b?aS\[uie7F'CqjYp%rfm/`i)oJc?a]F9Soc1k-oIbqc5"pq/`) +hl+N`kNJ19Xb)?(YNT@Eg?G&dEcY7l+Wm::fN215Zde2;M +RXo!<-7[8.`0l]p0YkqZR9:mp@kC:H*5MIom_6R9n^ReqaqBGgCQ^N=c:]KDhb*T;t +J,KQh/:_Ec:dKa<:bhuI$g>:0Dt>(4s$+R(M]Zs0r-ofHILZ;hr&=GDDuKk.s$CrV +o>_q6;J^ +[@b$lU/*'P@km+bN0B:+P6"_&a7MA@DC`nB@T\TQZogJQ +VR.,<\=oe\g\_;$!rqlX^BFSak0Hd$kCDrMH;+==q*,a5`5;Guq.fNjG?+_>Tnk,4 +5A1UQ[!\4+LZ*/OZH_3!%"F*3Rc^pDVK,L''=kf]$j86A"^hAeXlZS6]ERNQY?1ee +59AF5q2\SXYQ\k)5Q$"VFi"4[6!ffn8cT9LquleIm+k!`6KH5Vrt0.2(lsVCK0sc* +b^]DB_F"X6[dkLJaFBK!*%^#4.,P3>C/ZPX)ZDh2X9/FhI\n@*ncUtgJ&28ii]h/Y +oqM?(YOKr+o4E'VKcGSV$nV^fN/J3@8jP`;_o-V5>_[A, +UAcRX5!aYFdZ@jF:b\6pch%MkPCiPQ1QT"XefH +jKs(\s+drJ?ier&bDEL;:S18e,I9LY8Y*?q[['_$r(+^$??91>WVJ#lUSg.T5rY?.=@ +<"08e$teh26hQ(a%I%tODf6*S+!Q"bME3Q'-^3`.7>UP"ENk@:F`MHrGPcUrq_A!N +;$;Ber+%*9j/K%HDfr@h-J;Ui8C\>*:`E'W`1g7.#_XC%JRF`r=:P1PGq*ZK\]HIY +n?;6Xq260)1DsO.,G1%N/K+S&e.DUGSs/hiNc7XiL`DN\H"T4B9s3ZQL/J!ht ++MpA*5>(pG]^BqYjF:H:\Q)K@;"*g.CkqMpm+Zq]@,'r@Xu!aQ+3NqtHt_,1,sC'j0V3,$*GcY91^p4C +"Ul_gfr0-T//\(J#s]T>Q_c:Q_qNqal5dd"D.!BXk>+$N>e,8^ZYdpjIE]9L_RFG5 +;DOL_c_ROu3R6osk`0r.R8rt@8(]JdAAbuhk(,uA,P=Xb!/'h +r8YC]h`Gu=jWjYo3`LLa>j9MDZM"4F\QJ*,KK:*I%L-)75uud]$G"R.2n,',iSUD# +o6e,1aK;T+3;1tROK5G*.P"/l.S?_AMX.97)JdGH%00VVJ+b5h7="m%j[B*O`9Y1- +/YL)iU;MUt^Qn_IrGddeS45A:!$db;9VFj5>Re[`?P=Br9Hn2F(f +UGfcnC4[AatSX +2jtQJs2Usa8U5em7Cp6SE1duf5;_.L1t7c72J+]R_#IrX1(pVg3;\>A2nm`e[6)<- +Ri'K@61Z)_I%-=C)GUnng3P"L"69gqX%27^9+]Xs<'C^-E(rkD/Vf]9f#f`,<0p4(es#+RQ'/tdN- +c;tP0IajET%oL*'q/PakSY&XOB3j%*HUY[ar?a7_$k*SZsjhZl8i&jh#B)X3+s%7F!D5W +#c8Dggj1-Z+%dK]L@5F88,GT?6"q:_-_%e__\J;(:F3qM.shGfe*2_:I76C5;]PJG`o09q]mb +7\i^6@0)?a!au#JI:s?d?lnoN&X4a%ZuJDdTB&3Lrq[8 +0CMV7&FckCaOC4fLPHd;L)WX;RtlcfL'F+P1QD@HodL%,=q'Qqs(uoc=FepK[+Rn3 +4KhE9nF.HiI.I#dK_b,05hM-q+Sf(aH7P2-<>b^+IJ'7-(I1t#\4eSU%K(GI.NC(O +fcf$brc#@9T7Js!J2%!B>KLaLe8>F_UZ(HZ4QC$bMRKS%="Ib\KGOXgq2#%X^8@BX +q60)GBY%kh"kfq.8fID^RC=8[DneKGo<&qp9^h\11>O4pd=_$`f5D%" +1Xt;G>Q3jpjSsM)k_kdc^H>j)(4_E_?,M/$kKfFl58T+br0[M/@Lih;]WM+HoK?Z` +"/,Vq2SqWfs4?hVE;8a'F7=tM7AW1l-#d^pEr^jg2O6tdXHs&8:58V28. +fI/&+!$DZjfHJJj%(Y\Y4nX@"&T:C[!^Ja=A,)+pX0\tO5puU,.c>fK71+0*Udl>V +pl1G$&)_Bj@UemIg?H1LW'14\jkUC,cFQnM>:i`g9aMTJ\(F2m!n[R] +*D@#H^m.pX:&a1*@&OFZU32GIr"loo6>o/Z(4Z_m6EY3W]pnIe#XI;05@FR`#l^cq +cHDkjKCGuMBXY@0N%;peWYb!THrFjiBbcOM-nB=P9^ +mS#hM:lj,L"5ls%3M;33HS!1\7@6GN<]7l#nu'1&4u[7hg49"6]&MN+IgEE$,db8t +>W_:Z4lfmOodh2,/M9'G(MoK=!.W5mgmAH,O82"$![U*%0&&RQD#r`&R_]%Zm/d(t +6S4M>XWVihNG"a$#$OLmRg5/Mku_dP>a#Fo`<0f/J_uK*J\fgogsug_^Xld\^`Q:1 +n@PJ^Y;?lR`krP5(fDhi$1RCZNp.L>Rm1N/k'sn4-18O@1I/uEOH6$Igl@)peOq,Kn"$PL/8nh02pbpDX?b/ +!#J2%lG*J:AO>>oSGrup2ctae*hH9Q_9IJ:gV8A4;utM2Fpb1UN<8'GX_-nlI(\VU +Xa1r*G.e0e&/niN@W1h0=Su0<[d]ocmA=)eAO0U!VJ#XfD>R``l,LfiHP<1[qFP>+ +4!#Ktp@QuI"TR^Lcd!7i4\'p2Q??eCE;Pm\j@%PpGg4BE_pVZI_IVj-6jGgjVRu#( +'XL_D;j/6N'-6!4'-g58fnT$=ols(e)Adu/5SZ!;.3!JrN8'9;JR?V"8aCqAHdS(a +GhPZZ#ubIMoXQf*G*%XUX\D>eB.Hd&$W!ru+'=jnIT5spEW3#:3#?IEJ+!lua*4lh +niNqfIZXL=O0F*,3;jXh;L\42q0tS0reD;IrqJhM(GD&&oh$\&*t<;,kC5G"J/1O0 +o8/qS#n%k6!YH4;I4g7=$L/`'JH$EM`2t'^p]UDt$N.r"Iut*90Ba)+<>>Ps5NmIH +:q2kKiI1M?la)qG^\oe`Q]IF0c2GUG\msXPa*0b[G27fB#AtD2?0`k674J1A>1CO` +gUR<6LKS"@#q\UIUenanU[2H5[*g)mf2S)9<0T`3(C?!&r$">nJ<3hX()4kZ,urC! +q?gtY%C?Q[jSlHqUW^U6r1n^$t#nSg^M-WB3Bj2lc5h8q.=9.?1TaE3` ++7gS`I0`iL*>Q7g`;d&=ime>Cn2GJDJc$)VFY.]81NaB1jGqs"p)6?uQKmI][TYq/ +6[;`XV7VSqeHOH>FOUof5T>:DNEq6X&G]IJ>+S*6c8E3jI,I5N+'V!]s#q0"J:N`; +fF`f3O5]P,$6:TKaJRtL<'2,)^D)>KK&X'SmAqGgYLg'F=tNsR@:?.C88,&q4tj,? +/?OK&1Em4R>F8N<(U,\%0aJ.pCqUFRE%*%n'^S>b-67aIi3NF)![>hgi<#,Y#B'r< +kCR3V,T$P:*=-Kh-!XifT8*W(VKq2>5%lF`"&5Z'PE>9\foml97$9POB-H3Rfcr6& +E0L[OL?Sd@HH+:PpmM(%B!7,\YVTlm4XU78@FHQcb' +&g]elrE"ip0rUL8/L>-_cC4LO3_2d>UmklKch*AA)B_2/,sj5/pZq'93BBDU+!g@9_N_VMRSo.i)kr:Z'>aeYDcRG4CeY%VAe_I5-"@b(,d6=+: +R2W)tb1'2[b!h3cUE!?LhJCg +?C[7`bZ:?agK**>JjQS4\2_uD;(JY5f^WZHZqQX+#6'BT?#d6itMg0a9&/hU'bmSXfT1/P1EZ0m:r;p>1i[pY.725=$SYZ +qlVs`:sj3\g/7uWiW!#Q^0gu?oC#1"^\R$,]/&E2pXpfhCIQ;i"o^U64I^q>m``_# +FUJYr^T5'gPJ=62Up[54[BcU)U:=?4e5V"K>ku.GJ>/I/":)d1TQUOr#`>V^i](%K +,3W),K*Qt_KFrIZr2omP-ci%q\)UBL]TCK$2)&_IqRk_'>jOdoB-@=XHm9dTLbDQs3$3#EDp +'T>NaKd5AD'O>8hMkM"#fEh.Z!P^XOu\t= +NPlY6r1OB@)e'9])1[-er%pqbI3)RqMk5%;j#2"XIqi4M2f2fg[iJ^qXKK&DYPC*- +"5![8XG7=iLCUEiJH)9p/)J5kfA_C!DUpp1AHWAX)qU(0Bu`\C+I)nIh.&Ip"TnI[ +%_%FWZqh)4mFqX9JGn0+pA*,0fo]=^FKQWJ5*9[ar^.!Rm;9uk)PI:i#HC/JWh?9D +n#H"?+SJmP'B"r/1&h>n)8Ue_ELKRmMH0BsC,:9\K:,1W3m\s0g,V1EKf&o28].)D +KC)$oekC"'?_S\YDb`\>,D#]AVqU=6oJko6?j(AF'TI*"o,L/iJB/gu6L4pXr5/h$ +?LTP"s)bi\^E6Uo?5K7Y>q,R +/:Vn3qW(NDZSr.r^/=\%9nIS,'mssJn)JcIs4;[X^O:nF(@\M';1mXEYE&qs +.(I(5Jh%d+[g[a57R1q`(3"j%oc'tc?=Eg37J^qo0)O>>V*DZj]'nO`pU-dnSm:-% +pJgD):&]p=9TPHK1NUqX1'?F,iMsL-m;7fZ7VZ4G=bWqJ,Wm4-mg&Wo=aL2K+?l\/ +pb1S@K*>52bJ40_CME/F1hAI9gWDBrnkf^d6LAd:s1"3L5LBPLq&eOUq*,Y-<`dTE +qJ*=-WW?0ig*)C-.M;[iH2a;E:r?Yr636j3Rjd)%'M/5jeR\pNj!Wj$lp.?D5i)RB +8m88mBn.c8])Y\6:^d3A4+`P%i,c_,--MCMNrp)CFq+o5sd]g"+>0[mF?kt:YCLS%^ +(4]XtF'PNt8g@SkQC!4j(]ae4!1T%##7fc,^`?jo!d&VtNJ@$/R3428@-Cc1^_T1? +'?9E8E!MT^iElM&06\\\c1UYc3L!q7i_4keOFJrP"6QM0<.aqq?8i%PE`%u0C>;:< +>,W#H2;CQOr'*9nZS6.q$WpPPY,r6]^j>e>7Kf;%LI5GMCPTg.LOob4r6#=n9+0%a +H,oiaD.^pQ2//GJd#X6%7rrFL!7V8u%^;d!<+)HrsNg\n.hDGp(cC,sWqb#K]*hX7a**^]FS?C67=U7CYT/qM;a-jK44@.Y.PU +87c_PVSBTh+Pi8&BGh"5)/]Q=:JWBN-C(7gERj-K@ViQ4i.$*Fs0:."\1-dJK0R6= +XMb/bJ6KbOWUP1E`%W:<0-g`#K7NlmBW!!1M^iWd["5$Q^MA+)_Pp(JUtD/n!PIA@)Sr]`9O +rM^+]s.4:Qqp-jUT3,Qp>nZ#/>^?([``lNu:G+/XXf.;_lIOR55T>JQl\E`?f1^tN +H<(Ooo1#sWJ^ONULrNWh(,/QJgFJdg$"f@uff3n.b+/o]An13'"F%RUY`M.PQS.F] +MrU)G;`+emlW305O3UhaLaEng@1,&AUuI5@nu&XW4F:?2dS6GpD\Kj7ReQ?cbb%!_ +s8,^Pc]Z%fM2_!i\qH2tq#>4lSdUgL@.eW9n?6XP'C\LT*u+S[R9s"M-nPM:$h-B!"@OC5('&*M +.4Z)6fEIKkeA@4g]IBdu1os3db&7D\F)d.on;jjSD;fL8aH'>G03A5Dhl6[+`0\@1 +9e&?3Ldl3`dr=su0#/Q#c%-]9;Q3bj,nn22n4fq20X6GJ&E5o\$deN"5QqPB=_Ltp +'qY1kWPM%M`ll_+8'",M&tiV5\-)fJ]@5*Alb`FK!3AGI"Tg>Bo:j,R0S4P6Ru":p +UR]%X-PPZTip=Ja#:[Y6Lbc85=uO57#gkCnH9/k*o?hkI[$7&KE0eNbjJ\%XZ'L0i +P`U_70N.h'nu4@gb_0kOngY%"=:8U;+'FYV2@`4a(3"67]tEP1$^dEgJd"hDRO6(7 +j/<=3TLKJr"[EFrj!.ji\IOGTZX\7]r37sUB1LZ'LYBcRgJJ?W^EqXhP)]X7lXJh! +Y^iCU#4d&d>m%qZJE0&QTnpH5)Q\mQ.j=`_-gT3/NIr)OJ++ILqbq"IR0b_d_1*cI +s3@<[B-u0_(N0BS-R6m`5X#%jfNAIfW'HC'XUO.8SUN$W+.r$3a"'G[plB_bR/aZ! +\0h5';RN!p^ie%,I4/9W8cW4Pb:@d_A6-=\A/6#AI"O_Xf*c`Z!a75%)[-(a2NuL! +P7hF:])3l@Xphol6B93]]cpjJqsbEC-?4K&*h$LiYkAWPig>C:$TDUkV]B>YY!";L +*QKDZDGP(1duX;(#iu$5SPMuJ3]DKC\bX[O([4^HF3cI3mlOWmpM0<%X.;2PWfA1L +*a^]Ch6;EiCfitBl^#HSk-`+J"V.XQTd!TF<28$k9]tD'gO-/L0%VeLPqFqfY388C_U&KeC"uN8hV=r2%e_f&Y +H/M6DK,_*dY*V>#>k5`\d2TRbhnPBJUO*hB"Ud:_s4(VUs7p3YVr'*'r5J4k]n0k( +U&=q&.D?T>D$39tK@/rADr)]$LOZ%Z'=6`U6asNi_S>jH1",l%r'qO,"o-sjZ2jYf +/2RrBnBDJ'(OsN>pdJIu<2.B'5U-[V`,VP3L%m;C +FB/g\X+:41FPC:W-N@&PDE:f_'5s741h'0,)Q)MR'@D.$A]+MiUoP\SQNp2.Nul.o +jF=bL*Q!:dk!+qIJj"Xt\Zupe^Ku3de0)rH!4Dl4(Z_WIC:$62BETcQ.?OQarseA6 +Z>pa%oDcs&+;Mr"jQ+4nP!]L]\C^5"o3JS#W!^lW#n%09W6 +H>.@X-0CpkSWnr*4CfrM>0$_c\_gBS1K&UHZ:@9R*!K)PB.*BD;l6BolbQ!p.KL"_ +N^=&&Wdkr;OnIB'>3,1Hn=c*IkhqVJES`Q;l^46O9i"rS"cV`_!ld]oT^bk_TGXsn +BPtHjCN7"6@B9hn5M?GA#>G6(ZQ2jDN20[5qHD@IVVZQG,2.i)!$XHi%1W[eK +/7u1]@s]U[':?Q\':afFRM=3DG.YA'\*[dcRrX]ZR^Pd+B[Zdjh^`K4[!0j,kPWVL +5&38U-Lgmsc\kp)+p]2c4UBrUV?@2)/"J0t4#A8lo#2IaiIB7n#Trt/3li9.jhO[3 +&HJJ6p*"F3S(X#)mi/:n*NAs8G:RS\`J'Jt*dticC7%]kGT, +XR0P']=lSuCi+?5DKK^5p$6U'CgEOo"X!jJ/SK7I/b_?'I[_0P+L"c4?`ruPe-$P% +r3KD;R7_`#kH!PThbpRp[GJCDi3T]eG)jnjot,HG%l`q:D?i-K"74L1L)Zl[(Sc*h +,?:)].kbh,?ThQkpjUVKkAn:[,P0[!11%YXorG\rDqn.aj$U1t*i"2R1caNE6Lr&` +!*K6q4T +J\QUb(XFG'#U$pP$P*(6_j>E$I?+!Oj4$"OQhcOi=[0PFofp_As2*p'7fp^agJdh_ +1Ar!Z66DK^5J#CY9pOPiaH26L!d711'tL%iK96+QOFL%!EU8/t2s1>&s-08UeC&ru +ntPd!P4\Tk'"8d=!m0*J8q*pHR+j79dnB9ANh:sUC#Qq4/e?JboN+bTCFmJ_6%,`CXe8=PVeaLo +("8C6]\jG,`ZL?E!-_$^eCUjP:F2LK`s<4R/dg%%-!RTqEKl<-CtU\F2>sc+V',K^mpBU +hA6LjQrj@"45QLVCL["*=[Tk_,Q2mt"1a`64CDVPa3r9PmphCP1+XclBK'eH80@,m +&*U"k3_HT1A8Wcag.4B/Ui$q#fKq;@8KCMN0Vi1r[/b)kX4O$SH9.gPK`8s>A)e5B-;2BbqkYNfc&.SAhK7*cmalhp^\@Pq*%Ymcf[b>V);-TBVXih'i8g=TZ +r9mmVJc+>))>6;9+6-Of3Ys*ps%ChXKh:7q3,`hr@i=7`#T2j1+7*i0.F;@U)?FLV +\n_LrCPN/[7Yg9K8(g`7ccl_2AgPV.E^Ka4k?>48ecN@`c)t(9Il%#eXRf/>s()H7 +(QK!rL\`ti=VC[eYm1,e,9YtF^5Cd`$M,t*09#io15<5`JcERaL]%`'*Wgr>VkuG; +`'c79032>=Z8^VWHU:C]:5?=\%7*\ +mB5h."&=D_]g/AV)K(N=<"Zl#ltq=g#WZH^4$RE="]m^X'i&/9+h1>Z^l*]Q_7.S\ +=ZJYbf5KjJ?%RT2)"`V.?N.N3(_?*o"2(0IG;mCqO0DE6ld!IaDiRoV\Q/1XDTO]4 +o=fSqpHL:lI.-da?X0;=IP:ZE#O-.k8q$.WFQ!1Mi@4R"B68G=EL7]ds's:EPf+q& +U&/(;!^?J?_$.P[4ZKV-@+aX-rlH/]fm$$&a'Zmlrr0kV!jo33mpF3B'#?km-K-gK +`6]&=s&ZMr'_(!DTDRJdfmeI6rk!qV^UQW0r[hjBs"A72HdmQ;/mIV?q=L>61uCrW +s#7Qs/8\UO9#58*d_u&W?JUI<$?B9@7U\ST?LI>On]s6#`BX'G?>`A$mKn]"ikj3n +@c[R#12$]er)t#G!);88(4N\qR%of)')jQJD_2mTPZTt=-bIO`9pLXMeZ4>1CW!Q? +Ym0^1B8Y`AjooAlJJhd5QLCI-q.=m.BeFdN+(qd;e1M83ch>scROUf:-2kDA;ephp +F,i`0<(Z;5>dU(9r6ME=k>\+++1,BVP(H9&!4t(I(_KA'*!)d;1^&K0!9BZ's4)o& +O#@dcZbTbOb8A?.0@/%hZ9+o9#$D!O!cefA^nDJ;8,o>"i)BWiVnjbO2V0!&i +%_e21,!b"P,EXa$"<;.Z:]r3)?_!:9_(!a0@Ltgj`t8<2!5:KjKl.N3&dq)F\-khK +&H*+OOLQ`ofJT2Te\f6@\s^QUAp4an@:](R1!Mk_?;pQJ.;."t448m$m`cV*1Ib*_ +OWF^+(B^4e5!@/lTpj[a4`09J0*7,MS=qCQ"SbcRm<.09$`s[B@d:A +*FW;V/83mroRm1Qj.e[T@lkVF*!%#E,EMu:(OubsqTXIB1]g.Udf9s[NI]j=Am89; +XgG13-jfo4,6+jfh5cMVGS69kdf5>[qB,W"5:r=li'Rl[)<6a:E^g8dW!gE?2^O32 +i!&t/d@l*t)u=mG+9G@Ho[KSn-AVYC%<4g`,sKQ+1fsoe^u02)n7XEIs7dj$l$jZRkW-PP +RcOP=!l%/$.VE4\D&HjD#T+DY0uFMYQ1]6cF;mlb]?h:,S_=^)HP%10+mpN@e.d)j +T_L0+ju6;!Qn!YaF4F^=HE0Q[Fi3?V8;'9=)13gYD^t37+h@u+-&8=6I'"bto'Ynna7]jI5*u/M2s#McesrAh62fp$[,5/c^%F(E(]m$M8(W+$Lus8'biHNO[19nN=/\PeY&S"C#Es3]"@J4P7H +O'^*4i8s!co5QC1r2#oN%7MnSq(%6Q7tAJ9_\[CnqCLr.O3rH(2=m_I8?^m5qQHfX +^(`g&M!rEU[M,S%dK3o]$YJIL6TY[5ItaC=("!3OXG6#)o$YbAJi&R:;Z=3$LBmn[ +"8OstiE(pE;G)jGb=`NJkLEBt[<+DJ,(QX*A0_+5j`NKu%($b1k_^_rV:48^o6lls +K/L*"3esQW4imoY#NkfT"^u(q+'oXLQA"a\GPD`$^bsBFO4RT+CZ^CeB)8RKHch(( +Mu'dah5trCb3V#HZWT\5jASJ>RG`R'[QZ0aGlDk`E#0V6'\Ms*$@9JGCpj9!fVsi*Q0[U'8V8 +2'O.E!:W4?^JW.*#QXJ>A1S-mRjV]SE!2iEJ>R/Ps.NcW+9dQ,+T0R(@mP?;(p=;k +NZ+eTFeORo!.=TYihSPCO$NET_*Qb/DFCCb"a"l!(moiYMq)Z0R#0Rlqg3@6Tl0"c +OYHj.F>/%6FH`$Ih+m?P-%kp'<0Y[?'%!9&bJ&N)mojQOr8/93l,!DI +J12Q-gPcVNs.A'd#9X2Yj!Y(-0+].`Kngnh_/Nd)i9g3J9fNl3 +!rF'.!5'jS!I2HLTCW$K,dBaMS.?2c3l6UW\CL_Kd%iA._hSn8JuMejL@G6.XFfqkj0V610d8aHs*dm0F9.#k"sOFid9i`Z[^Qdtl92i! +l(%pAcijgd<=OpQrK$[J:/#Z)Vn!%q^ZPR\3A(:D0Je?3n%fSiDW-P7e.3#>o_2AZ +RS+e*H@*fYh;pe*kTHWq>u?BS(fC>Sm&qurFVORmPn!GOO7lTSA*EQtWptZ*"T>_A +"*NXV%=k:Y#(C]R3+6`9!6p7WTi8A"Ak1%27g^8(N50C5Ho15d-2#J]g'tCQ2_C.F +XjV*r1%0)Ch-,+jVM@ +Ko#7C_Z*uerVIE%5(#QkY>;L]HBe-C!u\:JTmZ9I1n$:?+qNo%*N^lX,$QC+ +#e;ceD.ZNgFtU0j/E6Y?`3KR2`6!1ma1>9-=:^[09$BY-'ch/YstN1^TYiYK6eEj5Rh^pdB62 +!aYj@!Q?KU"Jd;I!+ASKp:mDp$kWL==)r$"4M"-UD\Y%]7*Kg/ninI`!`G=Zao_BK +ruXYE5PP3:=^],HB]9m.BlkirZ2YJA!/OXJD2l(+&HSsK#W3J%l@8/M#Qc]p'InUL +s3LgTn5?sVH9G`TYV\kmc8"LJ.6F5Q`s1o5n1lc7*?XB=:J0b]V$lnc`T>)SX3t^!Fk^+` +N]$n:#QR6mpn+Mb>Hn,DVWDl_Eq',(ODo;D0J^QgmcQn>%/.!Cr7M%2"fTg&f9sir +CN*>c3jdSm=5H#8FiaSrT@_9q%n?V;!<=BmnGb$]R%<=?pj8kbThjX+NRjdjJHdV$ +qo\e_bFho)1SGC"1j%2LetjlSBM5#nn'REm)G6]pLU-rqr5k`*l@A,]qO,`cR5+^5 +-jSUc%r3O_&83*6=T+2TAoXR!C+4.^AHt]()j\^3iu.aCRHN]\(RJgE=BW*oEc6.: +hX7MU_d@b;Ljpit]b"m='2e/#\*n/GQ2e!)r/WiX!B]%A4.F=k>8qnXs7X$93tVM< +\.OOB'eso2bh3hUU*)^(i08n#;K+gMje)%W9hb4!ek9th/R.SuXOPA.l^P?_"rS+YhjSYq( +JG5[,Hgf'ui;KQ/5'RheJ-$;_5/.j6YN/q-m7I0S'ke/Ga_ScOq`fIZ:;HecH,fa- +1>dG5JbeM4K',ufr;Ga4K)m00*/HtX^QA']QZ><8NqMg=9P@Pb\1deNGEKX];sN!. +O1lICrZTV\G?Bpnc_NfecPT6%>+2mRWK8jRHj6d*?=-F,0$PdnbUgt2"97C=5?Rf- +r9(lq.0]Mr7>7]e`T^q[Bsje*%2EE0!.GYO>YbJ%X+fa[2.L]9DemanY%6$Y1=];e +f2i8*?Q4dC^VMkH"o3fHf2j9g2)0Z$h("5_nfu>*Lk*8bf/q#m:"MHRCTWoVV;^^- +rpg@okpR,EVY7YtF^@-8;bEDJW5?+sDC(bF"lWMt+&@J5i3<6$$QuB;&THD&$4[dp +5fKY#"ZQSI&-6G[J,nF`&n]Sl#&,goOT,h]5]RT91'2b?$Tf*6L]!2u4,\r$^`#Xj +]-7KT-8*\2pLlDFJc)_I?]qp",O'[t!HL1V_4fg1+Q(Vh7^DPPh6iHAlW!h^.p +=HsEui.!G'/WsmhOhGr?F.Ppg# +%Lgl5rBE+da53c]?DN#=%-<+Si(8:qC&30PdGB/3qTb:Hi.EDu+$N9li$mrHc_>M()?_B.Abqe( +:$1IP=0jJM'NT?'`o5:r@m8j!ddcd,6YqS0B_"8a1uM>ELbCA@2FI:_I$dZL\q5$_Su>FnTXgY0_HMO79O1I^_$VfGD#$P#k2DqnEKq_X]kuD8"$\a,2;,H#:.'7M&JhV\4 +0T@c9RY$m_a@Z%U21(Zo]N2GtV?o;*@@&/&0uc>QGbAt"fY8FEhH:rTh&,&(SD)kh +hV1eU;IFS.jMpicqW)714nD[PS$I% +r/N)&D*bfm0=&l[Q\iV3k,/f4;uG;tiRBgt%06oZ8"^#&j:2T="p]Du,=9S`G\0R^ +0\<\EUp.#1i18&?],oqXqOBU^ld34[m>sE<crnk8/2d*dp((16O4K=p +l7E[Jrh#Y5a9`ZBe:D:8=T?kgji!JiPrZ'/dO4K8K<"BL@%1Q8Fp/dn>^f9%B +?#2D7R1,oWYG&J`=?9tZ2e1igZ_p:YVT7u:fO$r%N(bi\=F'V&J]47B+3n#AJ4DE-h> +h%1-g$d6kNS+abEHVja_[&5hlkI,`_U&)MG"9+(9@"6o:5WYFjkWl68JXr0G40%+o +BE1.8YT?\2"3hFm1?<9ZH5Zl,W:ORli6*BP?_c4+"7lbG_Our3oPjoHT*tXZ#.`LI +L3'WR45uNtgFddN<9]`f./h_VZr_0Ur!us:`;&0ee@2SYhKaqTraV0'*iHaP,Ro"m +$-HTrc1oc*Bn(Hm`*3`ns8BhaIs\JpEF4[Pl%@_=c0%tJ@[U#UQRh!:2)E57EN@_>eo6%d8C?K]h)ERMo +Cjr%!ZF@na.N.M$12Cq?Xk=TrZUIJ2AcYH8WXO&RAo1C[9jnA/06P6JFmpqSD(&!= +QXt,n;rK1,9H^@XOOfTUop!INCD"q;UZ3*iT(iKQ_8u@!@ddc`PDSnk"R$$(mmbr"3h!+dhOGCV2Es-Ai6V,5YEU@:i#9s +=pAu[CuUD0_l#kp3&!%oL.'^UjA1/[mN75AK&k6kDe"CpeLH3[`U%6)&6g#PE\CS'0iO[QRV*02R5."%I(1p2#!^Wr9mum +#OL0+;]g"'`k:-n^)iC9AnYR"3eI;@o#I9SScSP/B(iZFP7b#6Rt)4*LfiZ!&L%DT +6U'!*pm_Q'>n%D(?<&&,!0D]Ys!r/h"X'ZBL^9@`9i(9+/AN[+L]H<$#Tr+l4t`Cr +P0M<&Q5?#VrcVKraPZ=3"J)*6hkeA@b5]Wmb/IL0pj[Tf5%0RUd/5Qf56e%$J=-N= +2g&+>%7pI=\e:,)_%jj6k.\-ss7,kKpj`.Us2=aU2N@e(r4+fg%Y@&b!lncL_u:`! +XMb])?q(aTf2L,L;[0o8aFCFlI&%S#Ir`%/J?"'9K!RECc:8+N!7j0;A'P;))*Y8[ +_dA.AA!R??a5Xa>Bp$09aKmL>*=MQ.q&99L7;0+T10_%??a..E[(fdn``@65;0Ua= +53ilP%>[dbjnllkrD:[DU_We,oQKtsSY#eDI2G'Y]M$=qGLMZG5F-fIs7('_HDi\: +Cr-)]q\5Z[!3CU`>Cp3E?Fe*(om3h;5N(YuHp$nJ369naZd2,+DMqRYYZ:PlDXlmc +'n,+)ofKW:IrIL@Vg$OPBD +GOLZ$hfn]OpE+bBJYR_)HM"=pTGL/plP&OO4e;E-F,@F-+p&%+SRUfspm6j7*sqam +r#umPKm0.9^&8Z*n)c3I/.IeX=6=W]hkrVj-:jSpl/d/WkHoo03^IWefX%rP#>k3:o5N.:OMht;1t +YIcK84>r@;mE$2Zcg"J-'I'i=9BA$-)f!IEV&ABKaR.o82#]kdp0t<6P3[UTnl,'- +5aK\J0m/`r1E0S +"K2JpNWikF6qf<7s6fntrK!k,Z2`5J+%9L6rW($sXG.!/kYW.>]uZB;5)Uc-Dq.N,W_6H8.h#Y6(f +))"q*8XD90M)2a+P,(=U[diECBI!.BS!3R&j@n@10 +[k1.er7M$bo9.XL+p-+&O:[eO&OQp[4X$?"#U'8h7Kha]U<.E>bZ*WX9[hEVMfhI* +?Yal=gHkg&[l3I7!Wqd"%($"Zk_\fDlI5_SOc0^+%l;_]mk_4C`k&=uMG?<6rl$om +&]c%tJ5>t_ci9a45D9'q3D%`o8cL/B!;n*gKS9BGa6TE&(`fb#)+"ohglM.^&,):k +"(oW+MICQPQN,H*rQH+*G+?6"`IkU4FVaA-K>^H(nBXg>>sPJBMO#(+0h90E7fqF# +hmp[K0@^4AW^;W/iJ$j)Kp(iBdZ^_3qmP4,#CG@I4lmE/r:^8PHQa]$s/D"'rQVKD +>1d3hKIg49U:$Z'`2`6^QTi&^o]/c`.q`PqG*2IR9<95l`q\4u +atN5-I/Q[W+7@>K_ZQgglQ5Y&J(NuYkGF;oL/'9;dg'(*[7seE&P:';E9ertn/qQ=DC6V. +c1<:(a\BlETUB0"rr95&TlI$3aQ1s8UjT1?b1%h\3nn]"qSJB_P)8&$\Y8TEZ"j.M +3nuU&b`8grT^i?`A+T0bA=-Z+(k<-:(U10a,9if+[nu7VWJ9713f)J*d])*OZ(BtS +NdR$;VaHa*hSa(>UG_tD3\nI=">)lZ,.P?H%DsVia<(N`(KY6Xq.'GSU'9JM;'=f4 +r,cC;R&-'sUAd@s!Qg$\s)_2D;43KgI\QBd!;ZAt(1Bn=Kfs:/DR>\+W2mVYcrQrX +/H?n$g6CgX-)(uZ5mmZr2l0E^KYRP`mD25j*.qC=Du9C&Fu1?=f"(WR8,DoY3$@m>CeQ2hSeJTg%uG +G%BfICih=JJI"6C3H9@\o'H'$L.Hmk;qlBj6mD[DO@Xrt32F>ZGUO?kO8+#gDB2,q +f@K4jo"J?HrQ!jVf:'_sD-7n/U#pfQH=lnXjoBL@sc._ul`2XYV +ZV&fM,+DTr>ig<5f`(!D^iE._WG5qB._]/qAZadoeaGK-4&,hQ5M\!M%4HGc7#lZtf:osN_1K*(HfE5'XI +:#^:d!4PndECg2?V\(,git;+"U4?0])F($ +>lR$T;%!6dm\A,@]_T?_Lk%]SSFZA`l$n*oh';D$3^G0fqS0d9`r7@RQc*)7B^\0@ +Y+Bq)E@R.OK?R\.Ac2I4`bSZ>5IjJfnK#"*?`*h\%Y4IAGL:kZ&*#VC6!qG&_h3n4 +5/d6F,D\9#VLeYP^Q8-l1fb"9E"_/UG#*?He$R/Dp]"9[THbSps7K2f +Z`-Z.VQ,KP=69-hoD?.W/A7n/"6GH9Q+"dQ.-(8aoar\bb'Pi?Jc$hkId*h^%%\=2 +jJ5:fdO![lnDdPmFL`R!eDQaqJ_jhc;@Y:oFFT.d<&E*-#VCR(SZPnt>%J*GT.9$N +`3j,^74,K+K3aqs:m+rVaXogV1]N+*.H#\Br\WC3@/iS%5kps@aIeLUJ$i/i7OMbV +oJ.24rGNtTKu(+-.1an&a>YOUb\6&bYGWZgRifbeXT7R#0*HS-baQCTD37Ckd\AD^ +7Q4*XG-r-1Zkq\ETX?cr7f[W33!);*s29kHN!1YL&-R*L&YL5+!$VU16mFt7&V0V0 +&N>am3ZWePhXRg7)YP?8O.$6hs6;LGMji4E;#E]6%lHS7^R-R(>!eS[L]q;qJWrrr +ECj%<\r0;(c4\WjGdWs0l?%2LH:)6^Z"fWps,+[+;["21Lg(tmFqXd5D28">SM9hg +A1p,ic2V!HB=;C^;IKK-"Dga6-f\,QitFN?j'0p9G\@X4+R88"6!8)DF02l1QCD]K +EmR!.5CUHJ?_*BG"9;$n:Q5aZ-cFJt18s%qrl^476N.n4]u0%$%!]BNriU4U)"r*i +9@.=%/-%m$s7mH"5K(U<76WUG&-7=)/U+h'DR\9Y(3hui!6jp) +$!^f.a3+qgg$rJKI\>uG0QBAAobF +bTG]1nY=jcoD=kP?bQ9fWu$i0HL^k#h=R-(hgF7@DS,m\Q`ko;mUHe/J%U[$"oe'` +lFW*i]_<*H>pAl&Z!ZF7$CX@0[L&Ut!m`)TGb4W\VnrE*2]nk`jU^p3m2kDNm\KmW +m>UL>U4)cJqR:?SI/>8e[r8"XQf#Q;!MT#3];WKUL\gjqeDEH?!;$6e*qCuP,lRMh +oN*[eqtL'L?ePADF2@/`E*Rnar+EJja'?;,'-6=,$"(o/l/Z! +8LZ/`.5$8f5V"r)#muJ2^_@Q[,6&IRc+aSbQY->h)Np'*BTY*Yc.QBkgtp?SOe/;h +^=)i9nmtIjF/INt:`im"`,3/(QN.GT[1Ac;8hm4F&n'TMhY2m#]L%F)9cJ;)[3;p* +i17&p:00aiYV]691Jfi8.NU;[64;/hSo&/_ehgs=,]j3^/n7h6eQMgm/0"[mqoOsB +N1`9Hqd0DS_fZZ=4Z2JR4T:E?O%+[gM$Uora+42pp+[TYm* +87`KlKED,h67j?'nbH]\^dW[JJ5$e;!:W>6eW\oUP(oF,\uL_#MY,WnN1.'ERZ]N) +U-.CaB,a_JKE&Ohs7bqL##7VmpL9oplXQhO`m8HFq.%]ec/,ZfGA_$oJ/#d2YdZWV +N.C;_AMZ(K&J,CnLOEGlVp;WG-8spC63OAA,438]K-F\U!Vh.^=u8#aR[k);:!:?/ +M]i&qQF5gtql84YdsIVi6N5g"5S*WS&qh&GNWA8KTJ&8As(OXc^CpH/0d\.C0-2$r +!eUTuUOb9o!^Kj_b=?AXBr`,Pog"ZcVT4TVk0FYtMcRZ/6lrgTT2CjiuehtrTKIE-`2=HJ>a"> +h\,W>LYU%F$iJoCFiXm\UEjm4`#,CXij=Ud"e73%$R'Q&p^dHI2e\iPp'G#2'ELB> +-fV2]oN.XlPhd<2^V!G:i'uQ:-OZR&bC=e%kKBck?U%9\`gP'N31'HCo9nLMOS.u[ +&`:0]p)c45s5pj:^phU=juXCY"X;lSDEm^8.nAL,pZN^e56bBnC&oAMHgf(X&"b$D +m9-f>k[Wf[d*6$&+$N1=+Fj/;'oIM1s'M@js.1)$J]e!_G;B3a2TBrY@K--mqDZ^K +^3Yh4Q*\]>B(kedu,h +pFTFVB@6@fb#m?p@.@3'nQ8TGOB&YZf:cn,7J=b;P'V"k#lBV.Ol +SggZb!D3;M2UK8>Gl6a/s&DB8p`DqTR+enjZB5Yfr +H;t-jJq$$i32Ak&#DTV]K:4oI%`""*BL%XB-\)oHo]Qs@6FqeBGp!0OUHmK3#8(pW +&\u:M3!+mM5S;AAU]Ejj:`EEA-8efNMBW&h$Vj1,+oekYDNI.caZp!%OWlBG2,L^0 +:^<\'.%;(\s%B?LJ!#Ngo&oNu\NDA>kJUem\b.4c>o'o8$ukLY"B0.pWOe6lX$a%5BE?\4L5g_Gn:)PNs8)5a\-;e[DI`6lbpgk^_Z/eC +k0NKIiWoO'(Q`G6+9J2D=:b'o"/_`he*@!\UBj-a?]\^rgQq>JO;.[P0T1!MLk(1^ +g#ANLBjS'MTNYW#Y:[4DX?)]M"3KHL*V,U`rfNi[LkSP_!gJ&WY.VFg(]QoHrsi=+VnUg1;.;AHRCXon]iG"5kglu#0m'5; +JcA%8r$4)IHn9aI6=G6Soa&KBJAcU21g)ql,%/iN(@"\j[JC=LF@Fn/HZ>Ld4Nh*& +(To?IZ2$O@L"EL"4$fmk":C+B-24ng]`]Am3iF-blZ"h/>tU/ViC<6(qXlio!P?F6 +%VLk+f#7%dfqfji/F7,/HB_72a+IdgpdjYG"""lOal/C>Z +I)+n'\D1nmV`*P:h!pZ%$!#atXhGDu]RR9KTrk'0[r\.sB"kKDrVTFA(O*4"]V"l> +.FM9mB79Gpk#Y%sGaA!<1R.X*@D)1WrD/L%J+k)af+0QaEWoJB;"K1s!Y_s@ +V:3X)G&q"QRJlq%jqi4*?TCRTqH4_Y-/Z7qr9DP&+5B3Zi?^6A?bJ2S]B:ubGrk'Q +gIJujIdFW'B-2;'IsL;"RH`bZd57maF%f@bZt-QnBMDBn6q@u3BuC]N-5:'WV5Z]t +1]et;V8[,1B/,MM`C99J/q5<%:/B$IVNb%eRDl5%8-MifB5:I,7VtnM=8nSt?tu?Z +@C0QVU`etWNrY&b<:bm`@!ckl\ZdmsI!IaqJdC$#$[+Yf9kQi; +=r1GFp<6OIAu_rmAW+I&W!+jkNYqBbFa9jmln29JE@r50-"+mJA8*WQ!%@Ec<,[%o +6MhL#J@LafW?R8$a<6!-2PTuEaZ5/H/f!H./,o_I_ikH,DZff.)=Z.sQs)LChjAft +Ak*N8;iton''=,X#.e#Z!-:eNY:?_OSWE+7ISIY_[V/cEJ/QlPNp$j)_];15Th`Nk +8+Bu"8\^sp[f^2-\#us1]g/XDKa9qLJ=IpNU'MTLmU`Ud'ipR2`4$7\G_qG1k\'@YHWW1pgBiY_FbVuXV1g:c#es9KV/+!hIf&JIZ +>fNEA\d;:lcl3Ad`I_\E)M0*A2?`)^li46h8)sX0NT6f)d32*]J@MdiAF:3)R!;)1 +I:m1%pg9dFeS'h_RUWt=\5QbgeQECQmkIk9';><'"pXCJ8(\saZ#S(a,k%u;Ve61> +1C/d:S-"KE5;O[SS)XN_K)i/QF*aQ%>u`Rb5<$E0Jq%21C4>U!$u]]P?sS<*?OW2a +QG;>1&o]^`4A]=a6*NrY5%VOeN6^V\.YAcG&9'T(S;dQY![7Vp2uj$LM+`RuBlh@D +G+$r/p"AHbB+QruOD$m"os_%.2&fu[7]^*@]aNJK)<0&hpj0tM]FuDcTHh:-IP\.E +JH)><#Pl7JM4ftQFi`AOE%7P?n^nac:D4B*IhehfIOS+q*4bKq:6#,J,cAjYMF3j +2cmfp-_LYK5%:d!JPchKb:\kJsN>5"p=` +!@[s35J558mNj.Y=3bEm][(nQQheR3iFDE5-fR-^DmE^%@_R5Qn]Dmf\rqP-8,Do_ +nolaKrptlgDk5/N\%VF;D5DV/G4bUgZ,^-?m^4+HH1(IQp^,hc`aUl@84t\EOMUr( +Y_7fbim[Z3A56uR6WI`@Grg$J&-:mhBR=Z#8Ht3*P2ZoF^D/.ae%Q.af9VQP+Bo=U ++^qc.EhN1dFlj.$$HDrNB8-e\/1%a(E[]arbOt1:lqI]ij:>])o:M!fKRZ?WH9Ne\ +huu)u636upho7nFj__Q\EI1u)W=$*7[YaROOV4Al-lOlW%!:S(C3"W(F#oQL/pOd[ +U#8b`lJQhW("aS7T0\QmZk$_4iIAX?IQ7Y(-E7d,RYCBGUjZ59A(ma.Fr:aa +D.MiF/.b!Y+*/QS(=:Tj?B!.QmM8ia._AcIe)-T!oX3lUC\".D+42=r&*rdVFTl:O +6GV#H1tGf?0ba_b>mZ5p`C!pe5snLV-StmY7W!^j/RR+uLX,*aYaT)rWK[_gLW0eF +?bd3ZR3Eg7?on'jVZ7uh+p)GMnir.bA.+J="[Z]_#L:@CL]("2dIL.7)ai/1es%Xf +ck$l]^Pje.:r3/ODAJCb"/R(:?V@B!+kK\U_>MiK'JP#N3N8f*X11!mW&UiR330P; +Z_T9rI[n#*,6IDp/c_dL6iaRoGSCGZIshIss+\cin:-%l=lA)d49jkrC1Cj?4q/*S +jhDHHgCB9^6jD71rRh.["X&h:OQ01\1tI4iKOr72+O%#k>ACSuX6hF>:92r_dsE++ +I]"pamKn/c,(@mf?T^F^&,2d[,%?-0^dCABrGT0RXf\Ndl$qsMYS;uphEG@l&%;r- +DlD4PX0gS9m/IQ$WM-)GOFIGT*utT'Wp]1C#IobPElKXmb;eB7_4?tQ:JM;5r7Lh# +!WSo4iI_Hr\N.M(4De(_t8:B +e>lICeL:*aFm:2kb%'tC-Xs&N`DW=2:O.6O1LJhKmbc<=p3S_>q8obZIW=PU2sr[9 +/\iI3Sj3qiT1f"/K;j?G3;qZ'1>[:9rU#BghK]qk&5%HH$$=*BaT%<^TY[7-hFDq[ +$N8N0kl6*orlR7`k>12%\\if*K6_sRjPE`4I=^1SU$P8oXN.)pBB-?8\&_q5V7a*t +p!paWYF`u9nlFH\ii+S";kFF;J(/W#lIrL)(6>#W9Snh+4*i]\%HKf,Xg<_]Bgs?@ +N=rfr8/H9FJpK2]-53t@RYirW"V;9-#n_]JH76nPJGCoBs1/Qej%K/h30+kKGM?X@aTtLiU7n_6'ENqTL]F.WaO@S'MZDN65QlW8+T_r5aV7:)"edQ! +qPa`#o+Ufs-OtqoZmgrfjf^Q(@LeG#!UuZDqqDrZs$M\FIj'UeTnimb^ueK;!p]&A +2)V1uW[s5rQlk-.8!q&q.'oR#"&i

;Cf[h-_)o2KF[86W@ +blT9jO0L;ef9TBDI`H2mCJC.W^T.b'+82.enqS:pSHVDH/GohSqd"O310eU3N`@s> +s,$E@aT'3RNtCT+./o4^%3Y\2NbU!A_>d\UM-^_TYNYDS"F?#,k+3J:Irc(oIpfKh +A<_lJ5<^4jq+o6@B4jWBniqe@Am1Rlr$CDW>Z_PFn28/U1Yd[e*YeNs[)]m/ENG%f +]4K#l<7Arq8lZ)\)%@@4`$"BbEh@Z)A.1!#&^p#!iL>a6&G:gTgZD +IT=2E&C+p&\6 +Cd?gVXVRE;/3+9"p8Sj3`L=KWmB#f(.`:-./PkVk[q*fdElMI.hOf9POF*1PFeb:P +X.OO(T6WFf^Cm9s)pGlHOSW?-mEnbaoC:.SEVm>NT0E+D(QSLaQ=E.oSFXZ_WP?2$ +jnJKis24f^#b6/2JWr)88GhGtFEeFk$0"05R.fZ0R;Y8[rr%J62m-&.F!('f=(kG. +J*.UDf?ViP3h?6AakR+[EpeoBD\&(=neU'@b.GQTH^?D_5!SA,+T8PNrTSIYZg6]8 +ihYaI=jMaWT*hG[mRqoZFo;6He2s!p0?g6[=OI;(Ut$O76jIQo__AMSoe!8R-<@I3 +d3PS^q,Cc)R9u9aomC%F7Wiu+1]is(kR'j#!>T0KR-HF>5cjd:iZJ-%7M,`[J%[H8&]=*YT3>r,L&('*_*lRj1B-nr-n(gD$:F.q"F]n/TVX/!(n +2'c<6)5dIp"8K1,Nf")>%u1&QDB]uY+#O*&f`0&!^b#Nu!RsL9B-dH5 +XJUQjea:R]/YcU4Ap_p+?UG=^s(ooqMBGr?+okn$e':5GK8P\EJD`)3r%FoQKiIPk +4bjI=Ir0%'F`eJ65J!pQX/I;=TK"aB-mPoL1G:rp.*+bL%FiU\2F&(_1rVtcbnjoN +jX,e6TM$6tki;[1XUpp)3#*G[,%(K5T)_RgbQ&dc1E3Zueu/7P;nEXbam^.O'-?!? +%;c7Rj+4pe^FA.sL>3eu_Z.QZr+Hku\q&(U:7C&p068beU$O/NYOSd[rV"Ne_[q!8 +7m*Z9YBSg[Mg)"7Ka5(r_jf$S1q47a92#B]\jB^*mP<-)YZ3RA#ho<:rBGkqIg62^ +rVZe]M.8LjJ"<_Vkj5D7100jTWrYQd[Jdf3!)`d&$3(C;s/2d1r1^`)EKYTVg3S3; +N&E?5#S+s`[(%Mh=qVtoKM.5N.#Gd"LPL322Q<%AdK*VHA+Ql/2*a:"NJH9KBUM"% +Db!1_iHB<-="&(d>28"or?$&1:^c2r:&kkkpttIP,1[.D?$6D0Fst&,Q@QFZ7mK&, +_1_`gi;e\I/J:fH!.GP6ki@6?IO#3VUCR.Y\#XoEAn&?Fa_>Or>NNu-2OEUGkdG&9 +Ni'EjaBFos;!kq>'U64g/%17rT#^Js,?uf&WQTNZ^::1B'tptrb[5AF7+oA +p>XQP]X)C!(Mu/k40gNOZg[Eq5N$1'c;/j:5^h!Tq4'P4W[mC!Hhs#Xe6"FVK*Q$3F3#f7NoL:%_IS"-$FP6c",`_#/^\8B,4*Q9Uc: +5lO`bP,<#lA+V@3"6[#;]8DI0CdiUVJGaatR3;Odp2#ijTI+kJQSYA^)hXTO0`OOB +!-(JOQ;!gCY%M/Ju*ZDVBKVZ]Ki"sT_TWt6JJ>F46H8W3`0M#b)>M'CkV +rYHno"R'N5&;l!*/V&G(r=A0WfF^Bhrmu7&-iL5-B'U!*&)^._3!G*R!"Bg>kl[X` +J=d-4?S&%0`Dh@t(us$Q<`<1F-k#PmNuA.\ad.`ffUccmHuXdgH6 +Ka='PT\ZJYcdA6c,/CP9ichbb4jXA":]s1@M$Oq_[lshCs,$!uR<'=rVrL^RegL3d +iunAmcmWQLRt!6@+8>Ft^"l6Y/jn!>:2*78"<\J3U1HQq@K=Y=cUgG%Y/NlN.TGjt +T+*&5br_]k5h;="4^E"0nG+ul%@maJ*_*eEZH=Od_Lu0$resZf53],6gWjXLg +,gUt-*1)\E#R:T[]tM)HmY6a^b%0TEo'bcj2fr%bg&I-4*uO&I%J*'0pm,pYpk4G_ +H5%VX!p@lCZdhX'BktiGX:WPs=BlPmq3RGe.nem`,lt6],d]0O7XLe?p=L'CV``m< +"JLA?,ik#@AI.n&_0H$OZ(N7$Ej`Zmc*+aRh=jU"aG*IYs`Be9J@'q,aRMT,O +h,qkW?"9G6;U8Q'00(fUnrOn'r6)FO,@B.gnVu!Hh`62a7lR(8l"qesH,jnqJR@;g +T$S)Io_.=Kh24Me5J')?B:%(S].<3T4"3D)PPW2?Zle)Kr8&aR2fE/Soc3:Oh4.!E +o'TX6]G)hVmk*1t=)D,6j%Dh198,H#H)F^7c`cHfCsT^63W^,`/iWAs(ZPuEoen>r +dL,g0I/<*lXPJ`WfI4it86I[pVi8i^Ngr:MDKfkkV]'EGD/3UZA9=XR9MUn3>S&+8l`Cs+LRT"6Un8H7JG]p@:0/#qJ>jb8+omT(WH7U,!-C&N +R$M^j+o_q'oRj,ORRi#[F6rpZ9juP(KqR&qhkjhTj*a,UIuLNlkAUd8FeY!BLk'(H +RQeM=!#c$(,o-RP`AG;Z`oU&9fH_XB.$YNX2#(!9.P)e*(M2\EOKeWjEtK1/"ge8. +_f\?`^mUhQ/P[T9^hm)&Z,,9.!SalXm(a7A,K9n<.=bo[iMZp+P, +q"m>UlX"Y^@gn"f*P-c,la+(ZqENqgipc,r)%f7:p:ksRa^`"2s+mR#l8?V1III?t +DZF]F2uliaE'#fT&O9"mR+;Aq;-t+B(9uo0c#%;$s"?#^c-OJ/-Y3r,n]7X/r,4L" +NQ,/8^&lN^d1jLi@)BAS&,Tc2b]QJUI1:frgu/kEka6=0>Vn;]Ssbbebt@0^A4uO" +jTToBp_!Tn0JA0d++sO,Z6EFWQE76^NEWbj#riTgN/(lhBTGXqp,.WQri)3>?^6j? +pA\_m^DYRNdf3M;s*1b*E<+l?c&YZ6DAX=p6`8cMIuPg:nG +bq,,R0:+p,bZUY=Y?\A5XkKeWp6mj/Xj'mT?RrUhQ.]53!QRfhIAt/n=DV1iF=\4& +(\8i/XN`'fhD4?4)YmDMoc_ZS:PFgX@5I$2HYMA$S+?N9-[p)/b"jZ2qcQ8\a+&L$ +p^_7)p>6[H]mB5$Wu$frf7g!`H"6,hh3@TgS&jKtRI]a7W8G1Kp5S[NYFT+9[)[Q' +li.Uk*_qkGfmVc5H?[!-e'm.7]m&kWX6M>+^%^B1?e'W'cKsuT!CnLK"9^as&9J2. +!dTAc-pSt!6Bilj$AJ,uk[e@K:%-je^+?0]K6g+5[%uPc3nd_!fNQp6qg*;ef`#haobFt: +=F`a;Pu@Se"HK^dp_l?,L@jU$b+nopV:5B3E"K5dQ\k.>d\BQ<3l'!qGh&0hT)XAu +f/*E0]c"THs3HdM6,/H[)l3LTdoF92KaNG$Im+>Jpn.9N@h)8Lbjst"p/;1Ss2jC9 +\JcMo?u?*4ILQ9!%=)/=`LB!Yp3A9iGJD_q4Z_D+3'2M`4^-2Q5;K/Z',`Y8k-IL7 +G0-ag-F2kbmpP$jTRn-fi'51pUj@tVT8Dhldie>dr$,eXCAU9eGG<`^G+u?>aC"GP +PF_@hA['U#-io]3e.DTm$]$i(@4+/#jSE\/[tX4b-%PNE#pfR4'XkKX]DHI^#iH3r +T(*nh!+[>$YO__cCg!fGeeuhB+#M`m9JKcAS7aVKGrG\p!O"*L/3miR+r3H;K#0/E +(3"B.7.u4MmD0V.G[p@8gA8\/b(;tM8;\14+7TMq\@b=Jc6M73L\1qkAKo)VU3&Yd +$H^b*72Ck!?7dGS9=aG)EN`M.!K)olQA`HZ?k018j^f,W!3-#1G(EfeT>?!iGqt,u +O3%?3i4U/@DYhZ%^>lkA6h#"4L(/"72EM(s[f,+R^Ra&$)V'Q>PC]ps47M +"TDdZ:k63iMLKUeHZ]FJJE@X:lltr[fC8eKn\9$Ba;t>jPOT[/35F>4??&!$2N,oh +YoegPDp=WUr=oJ7TtkCkYSI[d`1pOE+8@,85r!jg/ffMFeB003b44i(1O)bWY*Y27 +o,EdJJ<7QRe_G)P%KQM,c7s(NpJ917m.g4!Wl61si2N45agj+?jo;1=Xoq#f +^UZ`Qqcbh#!V7BBea+Ae*=mM;Zdm\T\p:VdgEVpe2="WQa6i"\VkjS6+G/35fGBVW +bXHo1*%O:uD]QXF&(lYE$C*DYeBo`^\&^9__Ycf,'p#K8U8hlp#muH`_14K^'SSm5 +:e3QeJV5G>&uRP6CegGDMphinXFgtTYS&c/3bd?ITLmoo@D@)ke-qRd3ntfk4??8n\sCuqtM5skZ25bU81kP +%#X%Y8UOMNh38(=bP\7ap@C'*AVp(2:OS\,h.A(%M9"Z?j*kO<)5NMqF/oD-kl(cTQS?U2]^H+_>g0^mFAQ1)A_gL +[nE.\+5Q4i^,R5$G.+r?24O2"hr0'2n22Bh*<&FP,*:](qKNL"K`+!^ccJEKN0-F0 +n-=6`#lXi44_.tdnjf5m3tioi([CU)E5SU3i<&h5?7o=[iIBG%!Q!Yg_N"=T[fFX% +(@WF,\'P'5CjH;S%\]Sg*`CMbZf;%!/U/3Tjk/9TnJd-SJAldA#l)/aZ?2b2nXmVs +9M5Ecl]'CSs%O7kjPN6J2nr`TYSWr^J4p3"&cb^e5[>T_+#L=a@*?Iii4"?r'UJg` +>bOcp+I=ZP-'&5H"Wi/E_d-ZV(V&f8*c"'W>QdKcHmf$:_"gr3OcChg0i^-BkS!NZ+j(@KW'Rt09I=2u[Etnp)G^Ybun:*W]4roE0e^jol6oZ=>n5+nuT5B)mED"mDnE:BAf;hobCRp`J):j16#a5OCKfT`<#t=J`*QSUNAS/ +%\"<>58V*WjDi<0_]R-Z%W.:.6id6Rm^Q4UY*@G'r+]''WbL!@D6-c4:"6*^Ja1bf ++oit4hY;mZKP+]WTSk^CNX)mb32i$:^lCJRqR=\h/o[H_:G*)!e<''4FTt-DJ*+.W5ts6V=O^p;rXXq[.+/[H\o4]meUI*48rtmC!q= +4Xh9,.joqS"cAXM(&_#1r6jEhkr_6t7Tr9jpTLrKn +Y";5cBsB56QDBq#$l'?l;(9\(AQbcjmA@,[WkA+jg>Y>4J,"f::]@taci;&?:]J>= +:]?\^+91L_+8d5lI!T-SK902aol-](D!Ed.ciU4S^p=E[QgDf>jkN:KnNRb5a^"dUFfpU +562/-qUos0i"+/Cr("rK5N)QQ;[NBjkKu997T*KO#RUS5l2QkCDc8GdLGZsLm:B`- +6o4UV;=lq,r=4O;N;"\Y]E%Zu-OY-LJ!",g%f\Q_*C^s0';!,J0`2q<.`c>$\]o6* +RHh+$pd9`MZ(]f7C]!&0Ib)agnAjP4q4GRo#=/ZXoW[8C65JKFN?Ea9k!/H$s6U#f +##%_WNQ[GY8+`1.]W_J:]Zh=?seLN-[p'*!*WS4f6@IfQ*c'Rr4fUFSK#rdSB34J[u?&Vp@cmIL!DlM$N]a8G\S3H_Sd=XY$4SY-!K0L5eI[dWdX$>L?U%j +!<6qgd>0K66"\ikM0o%a(Z0)m3\2hoR0b\PLd<1l4JQXK'\$#EUk/u)"mg*".5&5: +O0K'D!;tfd\V>tC!e5I4n_O>WL@GChaFT5as0/$tOYuOd(4u[Ek`(5qp^a'H>`i8J +A2ddSnGf!:-^IJJ,+)`>%K+!4VWNOKWm5EM!a"Zr/5\Pnu!=`R#Uk/UGi.+W/@Eej<4>"-5 +Rpd0HSm^GD-ZWVrn-SeS/di]\Z-g6ce,_qqho5e/8ijIr(E_S-naLQ?4r1WkjT5/` +r':>_3WE#a2AQP6hp%%jQr,4UiW/`u@gtCW4r`6fAeG"]c^;Lt-ijefQLXLG`N?6G +UeO2TV>L0$O2;9MjrbYC[](=<:#-D8S:n'&F5,6KL+E5`uJ3f]LSg!!#el0rUO[+UhQ0U>K*@L +iNQWJ!'Z$=ATansg92I8D9I4NIbAdnDMI#GPJE)Jn-,gOd*a`(K6eKSML9aa#(:P+ +H?g6M1%g-iNSRBbp7&c2o)BPf)f8Z:cnpU72A@oCcGZK884XX/9$e$.*gt%tG1hR% +X'd9dd-HkQ%KD7a62sP&[%<(iV.)O^e3Pg1<6h&ao9r/-ZrPP_bIVjogT).q2:J4, +*&^NdQ?gt<%U4ZR;a5)hOk]%\NK\6Y9ibO)>n(?Dam]_C:B^/7)_^ZVI4N^oF/7uc +p1IJ#VjB=:dG$/ZhPG-9Rt!':&c="$olt^:)B;-2+*A+9WEXcDC;3p.XVZ13\ZJbA +,G3dCjNpkCU1/!VO4QYklsqoY,7OD'`e,4^XeY$>7(qSW7I56Vug`)E^a4cM$c[KXrr;n +T?PIkBk]%Gc6g)e,cdDD>ici!bKU!drp]ZnO+)TNkSKGdrq6)"It%4@?X1;=QWHEJ +pK'TUbH(C;h8KX!B(Ed1N'@/XqB,^[c:@oAotbQ*Oo@r<_gg,5pilV-s4>/lIWtSN +[ms*kGf'CUA'Rk>r0INED+??q8I'BP[jLLlej/WfC:h(6.Bg.:.ujI!,HIi@(%mfm +QB]ru@S"S%]pgHJ1G+:+<)_4C>a19Tdii&AcO"sNIOE>%@(YfBVj.QXJ6*J"H4C[#]rf/^0!]Ci"J&g>;aJDs-*,h?(@WoOQ'_L4JMDUR==I#:o(O +VgR9)OB[\7l3TaGOLg]Q0#]2XI5>Q&jl6(pj)'U!#rsoA@Zg+ftHn0O&%Y_ ++SF;@8@)#N`OG^#?06qQn=#Ce=A,ukSA9M'lWpQ(f$?)"lpMW3ICUn.,,^i\[7')^ +dm*pQ/SM&;m0q)'E@8ou)%R@A5O[\Kr4J22-K5(pGor?=LR3X=)&G7!6p!`/G)4nh +8s$<4XR(J&m5D3h7[?K(7`1?+d3j]k1`@;,rulE82UT&h$5"-e"9nm<_VsJ%&QF$j +MHWBtSC10YW+T;&:/r1"CDK^qNt9_S0UeQMa5B&6plP'd`q&uknu?GM76t4A;H4?u6:@"F +5R`p>jYh+k(*9tNcli`VOV&-@M#.n.J1;L@0>r(WWVq/2\5PR1+A/Ek4QQ+';=J`G +"S,porKggY[,m`5SYLp^=LS]RAmf,`C'7';b;rJ7XR-eRTQg1g/0+ck]Kh!H;X;+K_LGD/YOm0P5^U!-/cVA"A-)JLQ^fm^@ZeoWHoIPMT>Mc# +/=ln?Tc-8T=5>uV=srD)RC3:5pds("m[2!7h5IGE0$ldNlDOa_UH[Bc8bc)i=[IkX +\MSp]hP5ab30.^kUr`Fe$4YCJ'^:DG7Phi\*?$TIu+&:.!/l*?)a#o +0;R/Sac1+O':qV])O+!u-Y'3Vpf]/(>5.7q)IA*BY@Z=laVj(+TcTe@+K,X2;'dV& +;8be3MCDHU0+RhIpg-T"e5.cQ"A1/Uf3r5Pm4=X;=;Mgq#leV4M-?`D6+iIo\eU8*rK1@_8#D$pdOAZJ(6jjErU.@]t]n`n9t"# +5KUV5Zbcs^=o%j]f0B-;Xfq^iHf=.Y`Lh9eD`Xs9/ac>30Wb]f2+b8,DcL@mn6Z@o +hrfJP,:EDm-:Io@_Z*Y+<)6.PeV'_8'BZ#F$]'$f+V-Niiqi0$EjDo_dk`OYRR'Ts +SM"^)BZGh%K?&48a5ZOTj6^\=i9RH"m>#'Y-\i*!Shp$pnD@]Jr$q^S&T01\[X`P- +,-h=O(3&)9H/;hPfj>s>n7Jurm<"NtD>QQT_YcpnIlZ2052<[8Y6+VTRk'\[E_qpA +Eq$bub&K^"/4b(I0c)c^j1+ajq^Du8J65;<5OZZhi.&1.dI*c1O80'pa/VW#K#e-k +Ec)7n?b9hNo&#'aan?2Ph-m.o,H$M*,-P:]d$2goG!]RebEM`B:*R`\$A\j$%Cn+nieeOhYcUf5/?^kt]69=V!O'>LR#4LdJ1:gNJ6V;]Lqs.KAes;95m]fnIknU+ +KB/XfY3".Yq%NOUW<)ggY*lY5k8afkU'HEd^Z[aEkf(=om276VrMTtLJ`]$GV^!eI +?p?L[pd:jtZPRF[Np#"(#lJaPntU55IQe-X`RL%kpu?pOLr]Meg'=22*l,Nsf`kGL +gSI##pC3)O'qdL)*gDJ``$6aV'#EmI8-+U%Q0@foAIAF$&hD)6MVpW=L2='/09ek] +LaiTn"lD0J_Y4iPYse@>)g%jOa!h-1F]a;T'7Y2/]np5TZgANo_o?d[fr,&CF+PPF +?3LlOr^6H6PU%+FkVrPrs4?E5._GdsKT\MW/VEL0&q+cT5G7X/$)I4kcE1^mgb#&cB[R01MEZr:a5ElEg!; +btAun0mnWL#X9?f`a!age,nU$b^Z;NpLa=n-[Ds.s7_h$#8I+["Wu?mc-GUGd2ck! +U:]6N=Ei#;gsqgdhIWVB'9t\N2N#D`$j-"3XV<&(1@RNh?kE=TQPXje;B?mp5O1bk +*XI6;rh,G;/cSZm#k%rqncl]#SeGK%?ik8XOmP]-9MnQa=hH=K0YB%'Oge@rr9>TLd$LE)I_n^8[ +GTJB]B,C=`_LPPf$Fs\U[lieO`Vh;4]`o-KKk$L +?OdDJAaYOWhOOW1N#;,5Yq3l`QNQ^`r#9K!#['D[Po%sAi`\WS/#qm22'>-24T>N`RlMea^QD!I-dA8a=q'oh'kF)& +E`c?PMTT73:0aH^&/V(89F/0ogrmYhJC]GQFuElUQ]5]K%E]f]6Q,;"\)dj-gfH^h3Aei +[9&!?R0APsEWF%,U0!Oqi;`E-enop8ZE9SF<25>F?^*Kji`\rVMXe"r5$1Ls`B%k,$F-+*]EOFMHdaH,;pCcJ.-:FKfac#QFI*RrWfaDidW]Pe&91j>u41XQ@.="6bTNs6nMFODS*n2bY\com`Y*6oecYAmdFZjq2=#G1u +b9,%*hl3W&FmZDEQuoErI0WU@G3je@&+G'g&\\eUmf<>X;:'ad^HD5jr'=+Jf'C'7 +0)QgBMnA*;AoU:,1iaIVWc?3+(0!a#M#Tc-(m"q!LMmt'&*8>n-1Q>4LFWr8o;MhB +Il3-VSk_jI])=V^"8SK(?.WZ6NG_NJSrIKY^l&E*A$,hBK[H*6.;OtHt4FV +WlV`NqoKr+fQ;],(@^D=:?JdCJNNr4bGj`RWX&=FNaE5PK>+qK7;L'5ej6Wn:)6gP +4(O0`D9,;O5b=Uu4$b"%ikBs=!O(#AJaZPNE$GP"@SCng!5%;4c$ts_>K+=+c+?t*%!gcJd2t=]cCdnoU@HKPOCmU+br:dgK_#QD6il@dF6sPsKMDH,i +TcbqPUlb*3%:u<6+DS?L7.o[L=9/7q]dCW4+G2ThMi(2/Q3.'+-*]-gjp1+tZ@6OC +a;BWF\;^I_C$N_l;kLcqJ+.m_]q;,Br%&>(mrdj1'CURQli!F8URM"RSGpFel$MBq ++%HcIVQ:/NpN"q_XbI_$34"`X2c?/lL0r+0X'&:G-`uGEQ-sELZMk@6;$hdKhomL; +=W+0/OanQ+"8iBM`MB5u<`RW6lD1^@/?/ILoX7p9XU'FbA:qr,&jBh/JF85O'6#Zh +:*soj>ejgC67m`VHWj=>/E!#s(/Bl3_hL-m6!e9$$J+dBTWknp=XN//m_R/HB*%pcI\g,U`\,&Jl\[Ac_pq +G[WOdi=@F8q2#&7:Wpi@'&b."36X:]^QNLD58'jSuj]&,^&As)IW8nK6\-ZSF67RD6mo+MZ7C^1RI_ +_LJ>5Ng9Yr'Z,?1!F!M-.79l(X4j5b`5][&c%i#V:WNctUrgOeH;dF"i\ +BL<2[DoAG_R<<>HJIDKp+hV5"J5e)n3Zo]kr%<99V$suP"]f-I[=j#['Ab7X:WfZc +>$>.VkaIpG7f!hK8tWLIV]`d(,CMmXaW-Vq#Ok.(mLotA'TZnM^,Z%_GAUD@r'-To +!WM;ag%gU,./@?brdT80q=Z<1qI5cg6-gnOVdnK+^jOPW&"B"omC6g:3r9iIk@R9(!aC%4mD[4 +2slrKkB5C)e+;Ag]haF_kMm\4_*mA*g[3Js('(q9J?0PsbN6Z_H#C:uP!bDIYZtO= +n+6Ps^n9hNs6mgS@YEHD4OhWshpZ\Zl?<'7ffX(-%ViDb8d-4l_^D\>dA^=YIis4H +M!^B/I>WPV4r7DtJ4djWKWgu&56SG,'QQR.7r97:+UCt/Hm\2Gf2KO"5.pb$49b4B +Jep&HEYP_crAMTD\!^#Ed6Id.>L8C#YDqpnE.`%7#f;'n&<@-]$#r!Pa^uj7s)M73 +peR8Qptohe#lg"urtSoB_#JE]SKONq58k,'".Y16)>DKV?=q[\AM<[p'R_s#HuTo# +pbqdDe):+!r'.d`]Jm:6h_os\2LM%GIM+j?`-q-[IJ4uXiE(3qf,hhMcq95,)9Dk/ +)r]jf]PO+%95nr$?6LQ9B;NS[*;EkmY;JpE:p[5)o$@1tK`;VPgN`t`Hk6Em8H.YT +lCt;iXJ%6RDPX@.C9-7o>pq#]MZR;f,jMb/#@SA/C-Of@AHpqGHf+r`$`XBuY'e3t +ri+ke5iAh1>;GK1JH&XpeR>.um0kBh^e0c=/sH?i0Y\IdJH[mZ6EgHg!X9t(Gt!0b +;h>D4[T5pN5[<7/E9"oN'4V!J_<-s\ekL>ji"+e]?\Ya"Guc4;K!.'Gk(CE6pd_0< +$!dQ@9cSbBaZU3n'O1W; +b+]3gp!QFDU-Zu::&Y%[s(hE@jSsDsN4c\0^UXc%F7+Man@qWq[mS>Mf.^p1!rUg7 +K6i!ESDM=5PhA%-@jN"Y,skLSK&VmlrJE#cJ(Q%R3Q4:>#f)-4?Zr^3-&q\"M=>gD +LA5-!*]L#V_/E%"E:3GM#.G +G;['o]%]Ab\(/ac1"r[2h60fOaM+3MFu,[m9>ji8W%&F7W%S8Jq`Q.%B[C4D9*4ZD +`D.BCG9Ve[?#no3n\GA,%Xu2bg,S<8>ke%)Y;-%\6id7C7CF"-%J_JZgp]d +#Y*aWU8F[:`qA#1!<7S5(\7(Yr(eUbRC"f;PN%EaZMJh!mT[%L3+[%l`Q]JT@n`-1=1<^X2P#g%BeXn9ir6Ib;&XfJ($H +e:!]`Ii(+^4ecsHied'r"/b/lDj0ig.cYe$L>"&0s.X= +/$&/72\K5Q:i`GB^"T+n5M>T72#U_r752Whu>$kh=K'r-ue;(@[r\!1G5di6q#4j0L.la8;".9ii]l-p]DR\r70Boi%%#6OjT +=LTs3mYT8573J.U5qKgMAV7c%L]r=!=e*n'0EbcDBZ]#bT)-=s6%S>;]Peo +JNo5<_a"/!FV7(ni:TP"ogK/Es(^hG5'B+/3T,2;2dQ0;kABUjG1%l_U@=f2-mi!q +rgB-9)3t9o6%o8G"EC%bk*8D!BRr81PXHKI$\2D'i_^tRCRN6jg%*Y:*d7s[IRuc( +RP(&;bEi+`r,UK3$]%0AR:FB +[b8bGEnQ-HJ#Mi&-8(B%j>foX\H"j)tWtgkl7UCqmIg?""16R`GP"jV>keA46K'!7H!M+\(3SA%Z(=XU>7pW:^0Di3Y71/HC@Z +TNd's#iKVZ+p%^\-5'W\&,HmqT`IoKU&Kpjq3IX'=D5KB'kkq_`ZTO^a[/1\^ +]!JKkHNZAkGcX&5e=S;/)rPR6*BL>l[eJ\p?HW41%hb`uam^SLqn7(_?pEjf#-e#S +Ra4LsHJVi@4"^Lt&blm5;p[r<$U?'&k7[dW1&jm4_0uRMI,"8QOBiTBXsRH? +C!UDB\"3,.(BW?Fi!rXu)_&E%r6N<*n+4;Y4ffDo)WfFc_n#hbd]o9_:N4tm\Qs67o0A72t4))#1IED>8m*-KGOXho6- +ZX-2$1(dYM/56>fM1F[$JH#q:2"$Zk-h'?:(ZE'2icm_V%W>l&S&N<`4aku.SojRm +@G*?6R=YB>D$TS18^@eB-NX[#2$q$fc3,bM"s6Qf+Q3:M`.dftj6?]e%oda\g#`@c +"7VpGn]^[uf)=[L"`M:j@Cqn1VIS)"BG_3NK:]O+f!H@9c,N>MIU&opb$iB@ig9ltPj6-8jlq!?WMt9gq+n37&q-VCicmnN*s6DZK#l*<" +WrW,anm3B>o+"EnEEP`Is',JH[QqY.X6(bmZF*9(!7G.ek@KXC$r!Ic(7.so@R?07 +E\h-A,/fN;fjPsQk[sW1FA`JHkH.2\()=qRq[bs[ZpB.Q5RA!D0o6(XWdkAi&4=XW +?ieM/g(Di[$Gd!o"VDTfTHjP4C5R"2hQP#4-#'8*6fcRNC[f"b,l+Au'+uR<*,q2] +r/EP&Sn:0])GV]rH/QGLD\;aTcT2$A(BFH3;[W"9hE3m8CSK,"C=sIIo\pAXW-dQR +bP[c[$rA?/HP$P1I=?q&8,%7B/iUc6=pDNC'I'`MlLP#UT`bAp1SR&KG\G+C"TeYp +pKKn,Mnej0!!7YeIo+k@90'Kg%"D*lb4V7VK`BUZL'a5m9KbP7OSfXe5M2ghj$.)Z +IiSHKNmPFPob#@H+PdnKK_U%OACN@'2@4=']%+_!rnm#C+U`h-:Z1]Zq;6Ocs5Aa+ +"L-*R5W#7$7egmZU[)^C-+6'Z"4+(3R^G8a%g)8R>uqIY^f(QBMO!X +Il"eC"o*#FMLb_E4-3h7[RrYo.1!cI,UEe$jC+N5Am\+jf$^^\N-dAHh8oCMF8i:H +?kY!!Pn.`0@ln'!F8hMI8$sP0n;kU^R&9U=rriikSd*%R?`Q/L7 +5'13-RkEI,C#a;353`o-S,'0iB"a^>ai+qos&97("hYHqI;_QYO8'5]QT47A!rnBf +P%6hC$*OC0bOOCXlEHI4l/aasP$qNO?T)`P/]UT?q#p8(nM +i'5?`F6q3d5(S+*-NXfQ#,T73d0k>[IEX>f#'""K9^iB3o4.nDD?o^Hdo_11c1t^;9@=,<+q"5a ++oZgVDAV2=kI=5;\!c20d_,Ef^OFS6II'm^m5k0f]^phhrR626`uFT1D<))oK).=a?B]auM]Em">Lk5BHS/AJ;9af-9@4_>g4S8@57!e]^e4Z>(XqAOR-dE[#Ld9RGF.(. +B^<&@mD7^`ofS.mDpo%ZE;/p_Ygqer8VRs6m,A/+S]0ZDNb2+f_:b$ +DPPQo&Gj3E9X9IW&[SJMp=5s[-1,$^Gb?$Y:OC^A^@dG7,9,9/LUY&#Z?SGWiIAP: +Jaa3>8!E%\FqjpG^?=Oc)uf=$+"-PJ\qiZIIl._M(de.D4r`.Hp2.9EdrjDahDcNW +:\s2OG(.&cfr1]I$Sb(&,0PWbko^0oYfe8EB@8"/-/9\2ISe6;!rb^V!iQ00/ns%C +ap(r=iQXu2\!]Y^+658rU39Eh>h#lW:&AeVnYG9XmC9t95gOEV5[<6&r!rf-nb&-V +$T-nYo5Cl6(Q//.rjTA>3WC`bXOF/:n:0*B@K+T.9,uQaZ_=/U_EL!.M[t)MV%]>t +p]e5.g@LALm"bL2Y=ml^$/hEY`-rgn#[YaNn&F\"F8jKeGQH_&I%9feq6l4`k,1O$ +U3'L4\n\1KLAPdO.(.Dt'ZL2F)#f+t=HngOZ8#3".0ZGHEme,Wg8rBM2.a7jm'g"" +mF>WX%5d@QO*_i8":G2kkd>lTs)MG798^MQ&lE'g/.Mp(!M>JC+-e_gVHq6HT2KLj +-0r[)C&_uIcGPjR0D6*PX[t]WLd.1t5*a8SQ`@c!Y!:XnHZX56W'7%l%1JGcD0L$V +?G>;M!*b$6+r,mj86SR,MCEfsV5U8VQ)q9W^*Wm#gV1oPNM_OYr8P_oW,!08_u'j)`dH4"d6Oq/eIP.6Z.Y9KiUal +%N-eN#&gsNr"n`9b5?o,d+.;eJm%"u!4BWd]b;X38%G9ZN)N@k4V`I$6TC3+KGV*f)bl+ +]Ss(U#o3Nu!q8DfjFII7s5t/:[h4j3o'cq_o.Jl^q%NPDD-VU@d"JP4p?L=K4j0^6 +=u8pJRSFWJeVDiR)ikPJF8/#P2q\e@A[VtIjuR-n952CKL#O4 +$fDPf&]PiC\3gt:$_oT\=9'c;QHf1H>cU=+s1@OU@9,06S4uVebF7\,DS'W86+9Q9 +kbda9eH0tUJ?/pI(=7=P#VM?57#=pLHd&6d!bnS#)5E> +fB\rL>+0>-e#o<"X%-^[BU'!sc@`guk#4?4kq,#u@3Z46&7(-I=o!3-H$0jf +#[RW21&oqu-!Ja"M0O],r.OcG@OS*=:fY?(/_KAoWJI(GXX(fIq0Roq@8Sd*"=8X$ +&A1P(`0mPXQOjq]P&aT$J[ARE@K+Gs9biE_b,DpEi'6IE&dn\$J@a[!s/>r.r6M:7 +L_-Fn,4Lh18/1\(]l'FbNkR0N!4.]"da6@hjM>?NcGK,6f/njC2Io$QME[;^5*^pg +Q-$d;X?9I!/-,\\O-__:FM36B[W!6^J^4_=ROB)?-6i"s>`hg^MCBjMP#>[VFMN@\67BP!H^s8@NNpckn+i/`Nn57uj=dF6t/D/U3n7W@&:]]a1%\(<"p[8C3e +W%,A).1,)./@Y[%aBV8TF&?g9`(C59J@1K.*cP$U%]\8LR3./-#H#S1.C+XKY6Z?h +^l&8ULB6X9&[6iR5^;3LYlc3F9I:1_"YUbOi'YZV].ia0)j\O]E1,p#=qMf[8k#>p1Wpa+-Jk:*\%UQs3XrHdpr7-$+`*. +eo+&FGKLk")9+JD8P?r:5XcGrU>E?ZVj$([Tk,[6Mrf)fi:t ++HKgfZUqf1M9dC9R`,:,!'H6-,2dsh.#F@'EJo5F9#A&\TDt/b +3_n5)kQ_PQRIF"\d$%\6rU)T6Q$JG7> +Z&A,I/=lr^bB+m+ZV^G3K7=`!!W">.YOTdoVr(fgqK(kqI +`Fa$:`o6mU>XS_;L4pap;2@f$#uN-#Y,'%ES@DFX[S!i#7FnT`#7]4nZSLdJ:4$d* +m`'Nj'*Ku.4]Df>2>!?< +3klNpjru?qJV9X:o26fN[,U=m:crCn$l/5g`ti&o3%X7r_7\G2jT)eUfY\2G:dkrg +To&h0:R(@TOaN[d#;qP"SIkRE2MT7=6c7K61c0+gNFdap^BEUVW0bl="ik;=GG[Ig +P@:'P2NnU[VQcKFP(0oAs)(mc"SEkP+-W=-rql0q7":m,r1?si!SUcWqe6'Q/a0*f +I<<@+G^p/G/s,dZ"n6LV85SgG$\\O$6,CeNrWE'SG';$R-h,1N`H/mcN_b]g\8e(E +*2dTmrY]tD5@&\.-2\"mq`fG;o7NJrHY@1CiBM)VA,\jp-UKGYTnY.cM8"?-R/J4H.g7?4<.f2./@A`SK&3N!#FI/6V"^M(6R@1qDM^^*hC6O't^kO +j8p7X]TgLtOHHeRkSc"m9O>KCJngr-.ZQi",Zr&q2S-5OZ.S[&qqs'.!TL +<%4lZE\\01Hnf&YZcs$[:9$(`8N,H*p$-E"mnb3E)ec$f;q@?s6D]u"@t30c2p8? +PJGGqIm*@.N'%n$(D>m1jgbiD8i4!Wg_W;ZTm>CJOT-C%9u)6,!JXn9TVEmPjmWGB +a3E%0UPR4E!WV+==!N2kbO/@c>G]h=._ZLUX@@faOB3$5bIe<.r[5Ma3N[*/KR^9f +'>`QZ,-;p7gEG2SV!$`nkG)\;(Kd]"J +8j+:6tT*Y$u!IiD9o=K9cLBu%/Z[i;=lL^HiZqK*.=PR4g>*CV@8/DtL +FG6G_ns)iCp%l\gXmP5&UW!lU/ee5bNu4hkF%!q87jEX_$#i5_Wu3%t?2hUbJ##1*47&ol1ZuO!_Z?G\^r$BU +]0'?V5KMsFJNWF_ho1:!(fCp.PE1CBpk\F*CbZ';O&=moLqS*`\:Ea9l9:L.h+Al` +9+F9)TX\V)@g/FoTNr>A&]qpkEQB=2R=o!),!YRh=?t@]M5"=<1i/Go46QN;#<0!J +m6V5#FPJF=OmkSQgE?EhRf\&[s7te!FR0BZrnkA*re+VOI8ASjS#6"]Y.pp+%SOjU +_L=-InD@t-enS&^.AA5DB)GGN;#!PI3(":5r_C!hHX[!UIsAhck`]$JW<2'3EQY$V +$NU0-_jep7?8m$]9UuTu-_m3#=MSLeGZcb.<@ug&gJn[t!nT"OkQY;MDI:aJ](49r +3Uf]I/hG%bA=nm`k@<9B`.DR7Qs)b!LB;(1_>UeQ&IJJjs5Uh%e2%THL/D/:BV(AK +e2l\)1/AF2&'t,f(AI.jh.h*pT@qI7\'UjgBS@FRp:J7,-T_1e[W=SAT%D*W]5cTG +-]Gm6>>U4!YK4\End0RbM6L>^U'F0d!#ah%*4mN"^AS6Y( +Tq\V=WN5UO'cFRs@sr36B:H3A7mGQUSS;e-'AI9^cGI>'"P!Y7ImfHY8^[oJ-7R3: +A@]'0Q][D"&=0&Z<)ce:oM)1DD/96gJ!0ip(3!8Z\ZW'keCU;#2ICQM^)?:P*q$]Z +m=.&Tr-!D]h>,I-Q\XI(*PK!EI!p;0c,K[?aj0MJk0r;cD1D5U[rU"r?F8eBL3-N6 +K+#$n]NUb&:,)8o7OCf'#*tta2R*61"G!`W>;R_V9X@qHs3i-?j)%*sZ9]2LagX#f +2Q#)d%WGhWnEH&+Jb^o3)QaOoLR_//4Jl$a\Tl`%7a6=Dr!E2f_]Sp*,.Xc%XC!14 +#Mj=kcSIdliMFlt4FnU_F`,aa!B`kCG:4Xn$!9I2JcrkZr7;==YR?+Xi!tnma=`C\P]?.An37T? +!rge,-YRX]0C*&RLG$TFd39cp%pd+.r8g#?lUOlGR@'$8:Z`2#;.=A"X>p8]U(ZjJYU0gn0+Sdrt +`\#`JZ[1#'^D^otD-mftk5:"\"9/VnFh@jM_Yco>a&#Cd9ele""UadpIU:Zbrlmg` +CGg**3k#$PI<*CkfO=,`ZF3dORk'G?-#H?W7^0P=%f^h=-O23q)+AIO>-&^AKC&f1QC'E143DnYH)I60Umnq2C3If.[iOCUXCV"Q0@[Wj#di2fbE\P#[IgF(&67`4iPXKNZ0ARg$3^ +bsi%$+J<(r5RnuK-9%sKG@NZB'Y>EWag10X*)=s3\qJ%qSjiL^j!DV5_G%K&1Q23e +Mt9t6?K@[5`X\9N4SFu1%t$r42fj/0lONo#1&(?Y_uUF@fDP2q,s +"QM$EiBK(!/7JX9r"0\MIZXV53!_;%r""'e5p%V97Fo;+s24so*crh>RJ).Ar:83P +Ik(oJO-787L#L@nn>?BgD/,qNNB7)c[.6j7nDE,K4R`1]$^eh]hZ"bs50Ct)s1Q*@8";WInbXC%FeU4#49OZ.%8c1rHjE'Xeg-ts?lm-#4Q5l\ +]---uj?<'sDm^53W^V*"Z,9W?W1,p7V:>INAsCh?ntp-;HsX0cPcU(Cq4_?1X?2Q5 +Y3WOZVW5F+q^sq$Bu^Z$FW@0ZIF,Co]#K3FeF+7ZIJn+m!0)aF-H&Q(_A0)U3`]a&W4=gkg:%IRq73Tl&, +$6T?nMk"k63=-6`LnL956`91?R@\fOH/F[.f@h2C`cBDT]i@j*f[K6UR^SjG>&1&* +EZV7TG\>T5:9GV5fARC`*@WlMDnH3N/#8tJ"fb]`jac-/"rsG)JSKK736\UWH=?WZ +\8kh`29MuE$6.2ba8SorT/X9HXmPH*c:sc=T3';)X(*2u6:V$X!Ak)/.GuMrH.G9A +T.r^&CgZnI0\o$`m!LPt!Wc]O8943oMH_st`@STB7adbLHZb0FAt +`5a#&P/6[u+4gSlc4R5hO3lU?6P':j>aSiUa2HIW?l2b$Fr=A]`qP^-GScbL;=0A3 +ah^rdVZk]d&(CLE.e,3cQ2io6f1=c!-3'g(I]&IE"8%I7UU&dQ)78T3Xni(6Bc;): +De!a0p>cbE\LlF;a#!#PNDf-KrKBJp0GOjf:jh4./GS7h'RsT7(SC?>-@52Ma'I(I +B4TL,#0%NA9gK?b#l0i>UEg#a8a>j6U#9W-ig:51Vs#@d5Rbea4QeRhX$NA,RP+@r +airYFS@7fZ=VOe(l*sJDTok:dr8kPc'#Cf>5:"r#'Q+E`!o=L8ofird-+bCbh'&b2 +Qk]QkBC+MYr'b9%kZ*fHU]@r_D&b7o`ls/D$_I,4__%GQ.>q])Hqr@"1NrMobrt1X +cG1f8pImY31XHV.4J$g2!V;+WY'Z7Od:]?^?'dZc<4!/Y"8oZq(\;TUSh2)Efo11, +6f.L/LBE6>KFmf!0c)q:>_NjtfiSddi.(dYrl9.irM!N*i%ciMd,@mT']Wj*lk^\Jl&^UeSL,S#lG1=PV8%3G1J'>5!k"kgi;h65E +s'0)gnNV"W#Q3K4l]U3HB"ODd^^l:k%s)MO/^FGYhm9As*9GiGr7Z.Adk%W0b3X:_ +%Eo>TLU-re^'Wr:B_&,"DbgK9NI[M\c5Zd*Qe7(IeOk"QqS/D"ai@F;d?S5JpDQK5 +F$:E4]X)eQZrr06XJ"@#5Hp[afH([r#(^(Z+T0pJK9fb"XY\1ib]>[(?N'0`X:k?4 +K)?Mda$T,\KTeaTPg3eJ(W9C]_3I?#[1m3n`7>FYCIcLS!O?)$jF;Q=5m1","dgG-GfG4riBB+B +!n_-cN.>)\[[`e<#Y9^u+TeCpOTjWaDUhU\BT4amjd-WGIA7 +OUR)cpaCti1a!A>aV%5H#8*@a.^H&),XWhh1`]r!/m7Y\:iM +SU:.2q*"FKO+!h9[rV]MO"7Qn&aKB]?p#9r#R-;tGaoD&:'>'j_8K;$3=Q+Sdkh+C +BEYhTj6jujQO+#?hb+^jkYBM*Zk@n-K).^iScJQg+ib9^?hNg!n8=d*=f.R;Io&?3 +o(Qgq)?5?eXbo]VI*r#c(QBkf7mR(KgIX(-o&&7ET]W0CBBjsHWXJSbf":P:ht`m6 +5d13Ig/0s?7SX(*b``S=\@m[mT+:e$Y"?u(j*sPt!6Cf&5P4X@c7ZE%H^WZ6Zf8;D +qoq*s#oJb_IjaX<:AVF55$m$Z(%[!]2krQ3beFX[pr1DWs2Wrd#RK0d+9J2>#aeaY +j,-@AjO2K:!%'SFWV5hW=, +d2C>/;%>#TNBeZ/-i8KR;B\djaA)k=j8S/9Ii6J&%PEsI4(%&EpU>\K!>%FkbAA6\ +2h;mX`!e)r;sM>]HBH)FWb6#3KD*o$jc+FpZ[K'(;Iq).CSs&8H%"`4Gk7Z?Fk,V[ +T56er'nli0"!raicQ:iYhP>t;X(?-n?GD=Bh +iEPM^"L:e_)iL.6ple-jCFDS\oT(SSsNWd&Rn]&s)kgdf"[@UXQG/f!ZXV\&-:,Z1t.fn-b0]U5:QU-%nFL'QKZ5C +jO9NMPl6K3Dj2CE5MY]*nQtn/Hh^SHTZfKT@/IWVVf.o_Dp[siQ^p=f2M/+@$ZL#Kofqm3;=kb" +qWWoD+FgGXgu1^Un0'a[GTE>B=EK7`biI1LP`GZ/P8th\'TdemNq*^YAq0l^WW*6\pB!+7JLNW6\0S7MJ$$fn4>^N!D8Ti*2-:efb)3s22$jYJXID +M#Wh+=TG@3cD@(UkiSE?idYVrXB>Ki6]hXjkMtPoG-=qGiITmTM4XOSDLEu5Hg?1$ +s"=L'rh#36O*0(!JX%#Nc&DQKZ!33)Qc!$,rcoSIlWHroeTjA#I*40`osDjQ=Ah&TH8U642(-kk#$K*A6Y=i8R:S?IPEE[B0ORZ_F0C +!51WD,:]R6MTP7%F9T0&r=,_!62M@Xr:0b5W]n1H>hE^( +2im^bJOXA6CY"sXE'DhOahcPBQ$[\q4$?h1"7724KDC)A`n".RHem[9k'o?,!q>:m +IX'#MBlCmr6i@NI"-.nhXD2q?+9O's;GNE3\Oe^WCI<-=!XfUt@M%fH>N\EiL]F1_ +]7A*lBr#Ah9e_W;Kp2I(;#r>7:>t`#O'kB!pt)eHk"RbDq;-'#?HhRpu@s ++APIP=&N??NIXoo?&l!Q"On'Sj2>+W"YIOd=TOG1nGd!HQhpaR3DP$P\sA!EJR@l1 ++TFYhm/?XV"Sr)j=n1)[)qL*GPqInul\qG^/ +h"6&9)Bp:=RY^c/K5Ndc!%OlFf;SN[o'^,;n&WJq"!Slos#^'N/W\Z4--lp:P/lZ5 +gKT(fh"Leu$P@@TG'X$!INNY4EmXltc_h<*H&;Gjffqmdmkj#q??bT/SPa_2MJg9s +8AX0er=@TmLSlP"ro#8fIujV^l"M9%RKEE/8VZ+A$B`kimN*O$Yk-2XJ$*^AqB)%( +aA+,ZR![1@jYp!19]LT^36:!P*=)1go:bIkqi!(R%`F +rf?cp,@FDMn9TDOaLk(GiMMS7A\Z +gap%FMD!c"Hb8@r.JX.':K[=K.fi4!]N:"'&uq_&\s?59V):e5?VB^b3W26E=3@Oo +@WnrB<>>%OV;bgX]Q[1L5Qi(We.;Y?]"3S'!BS7#'ZU'ao"R@Gh4C(I=Fb8rFi>0t'=]7?Iq*pWs2U%' +"B'b<5kr)qK6F$4HPW!]Ul"Lo?A" +mQO6f=V(U:5J%J1gCLDQ"B;/+&5Z/BRb>rl4:h@>G:9-`s*-"?rg-O_s3d%EP03fC +07/1u]E!"D`kM^[uHZRg@@gHiOCRi +OI7OE-F/bj6i^EkT7,4'Jbjj]YO0r?qP!\N9&Armh?a>[HmFdIh<%`[YeKXfZi8e7 +g,fXSmD"12olo3apY:aP]_-L')]/TBl@3676JUHIrqH6u=SWI]nokp?>kn$8Yh)A+ +5N6mH#2CX,J8["&+"%4V7)13u!hmt#,oiM46mb:KnSi:G#fS1/3;c(ZWTd5kLAE!^ +c_LQjs1P`]VAB74qn"qDK&Og:BED?G!<1A0:WNKaid[R0T.L/Ds1KP)4ii,3mdgJH +>8?1K76ZHk^MM[NJ]`IA-Q7Ws?RZhgrYP#3')<'s6u`GU?i\DH!WRfMl%O'JfPciN +al]5!rVqSC]g1XT0\m3qVUe*^!1nXZklo6:+^&to5RC3cFT^;jhUr`K*e +)c(P?7T*EJmN.%jbJDGO5KZ4R?Hp&`;#GtGP@XGUjM0&%gLZnMo'c7$_D"ads$sp* +\uD'7(4MW+/S6Q8S;j)GYNHoF"Xb*0N<#(7!.pq`\)`lV6IKmVKLPO.l`\9<0eWnj"8rLXIta4.;-3Qe7L/Ol'uH^ilu'8 +1[6tQEma]ZX_*t/Kftau704@ki&h6IB/hp(TRcM>F0YS:"j-*a4@(E%d=13HWH:Nj1VHCJ(='+;PZGum(ZhA:-oA/Q_G?aCjJc>o/!N9qU +47B0KQ+5@W!9LDXQ2dLO2oNep@i^-anN05BSro[i1doP0"Qs:2:Wsn!%>Dj>O`:pr +1\61'+3YfMk3nD#VKCoa%KoZC!.=;_`dZhF1]dr)24=:_,JZ8"pJ+Wdqmue$>:4ib +$$)mB\6Co[e;W/(-;WCQPZ]mOR&"5JADA:oq30ffFH;L#+3DfaG^Gh#TDG1B5>KN- +"*E5*F6#IhKHr)>WW=uXd!>4%WQrSP1VB6[r\gVCikk15f`n2 +in&U"a?J_*NY?H4W`St&tg.gXf+95C[&8L +HJX,N*e-Irj2's20QXn^?rH@0^HQ5TJ-=TO73cRH*_bIX>P9 +C76dppak-1>t9*u[]2r_!qPBWXB++>/-r;1SSEbIDn%es=CON7aI4Wrr$M?W=h+.DCIZ*e->(E0g4t-E(b*<7hbBEdW,QfNA +*u+`Eomg3"Ps9P7Qce3$_[T.&pDEQfBKlWr4ork'28A1$fa_mF^^/kZLj"N0s8/bg`POo5BA3rZ5N@6T^IF66s-X.;j*s0* +7[d7D3=6>u[>IFjhn&cZGuZEp0dd,@cqU,tFl?8a?99e5m$b+JJ/WU#%aqObq1 +Y3s5>hhm+'s36c0MZ:R*ruf*/q_h)RcG!pCmpU^&!!b#g?\r!R@[>!3H(b>9J70Tj +L`7-Jo; +"e]sLrhh*?p]pUZ>reLZS4j($(CCf\&*H[p7)2OOHJPkl06#`$>`aR?-T*d;0@W+G +*LA'B-"1XtE)bIR.e71iV&rP`XoL#jQ9-222h?/pZ!dgaAP()9Xb+X>]Y?U?>T^."?;>roQR:`[bu-X +#CUBM+?l+reUB9bOb%6p\sXk:R4&k):l9-Z6_!-`<@$MUn@R9S?4IP=E!"kOd8A4> +SH;([jFcgta;VJe$-mO&X'OAg/9+5h^jeH^]X3>6:W;3u8>$.]_i5*&:Q,7&4Hmqf +U[l0,^\Ij/I'881!$D@Bq*FkDB@3?DTEX9QE4,N#I-nJh^->r75$Vcdk3DcAEb_<[ +)hSnKl5fEKL[:l="3uDm'QSRPSd^*fi/a(oocXfXONm4^b.eJ$6T_Ndedq>l&J/(N +T^im,#%Y@7C%8C[lP0A2m=83gD`8(c9uDqfI?%`L4Wo.SStVg$R/0#e66]hpIj@&U +0Z$?Ca!\XmIqfT%,pr[rn2#H_!b<$*55rS%rn%>bLuKc0@!IhX*1DKc!<;pW/\j2+ +k3P"$s.-_U]6_]$*4,!kS)k;qq4pkKArqrQ7/eE-q5X\:@".U[684#/s.'`NIoIm; +UCeX0^CpqN,bb=p4[o'C_5Bs^6uVrjaQ?9;4uN7fp-8AF3a`>gR8E4h<*F\+QO\W: +L4<-_s6]RmYf/g*XoJ?QOCpcD?&JECnS#[]L$nei1-UTm,ZitX<])$gs2Xo"`(i09 +!"RHT8dZbM]9M4g@p=ZNAhL`f$*HPsV#:"F@bB!6HL]fnn2t#%5lOjd%a0gS2@"Kn +9CSi((>MU("Jq(PJ@tT-:OO8Kcg)p6JErNg^?kpr5G,^Hq#g2;BR.Dn+FgKj/!d6A +q7NASikLnCeA?fPOB:sjQ+S%YJ"Y_'V>efPfP0Lu6iaRoi-u+1hmaLHk,5$Jo,5G4 +(;:V%;ktE6rr_3ZKPgfF/1-?,.2*(e!(bbp8_Z9;\)9-A#s1*5&u7\gN)tN?hZQB% +YbW+u!el^e+-_BTP@7$6YY,Nm"=0bSkr=NMN22i)P`,*bOrP^>VSlJb\f)cc\*Um) +VXj1)rp:s40Em!iCY-ah)h9T_Q07D[9mOBjd1j)TZ.q0qciT`f2B"ZH' ++3dT94IoCM)spSe;dQXr!0)N4rQbZIdhVr_61>D]j!K_8id*bK2_\pH3a8Dj'0&R(W^gB`d!oi2E`u>no"ZE +RoKB9pP.##jsNCs!+^`SC>?Lko!:-$FtU]cL=qgpk:jSPcZ'nXmB_5t7>5qaj51pd +T%[QLs3%PBf/psD+85^)[.fWJ]mmaG5lUfTE=_,+!WUUSJ1fbe+(bJ&(>r?ba+s&S +DReS2dM?6`p1W^g@%k+qH^(!P,q$$]M7A$DMK"o)Ll?igp(VpQEM!eDId)H&+0GR2 +q%&DV*IR$hqD["&5lSF@pH./Z!Okk7rE_&=PDKLKns9e^q30ff^nr3(arf^51_%%? +6QYPIa<)coY$pfaa?S`)#mJ0FUL!n\7\XD?fQ[WFIit&IAmkNY-ICbefDetKGF8.< +!V(0,*Uo0s#fJ*1'5;8<*1[R.0F1"=ktl=W#[Mrk;IB_,n$1h%"s1r%\`mSYVB*-\ +-KrF?#5JDp^Ks#(nlLa(/q,d!Em0Rdq-f+\F-;2.a$`GS*\s^"uaLc8AhY*!@ +^5uo5h;0D7]N.&gDs'=lAn_8DY>u8srZ@tBJ6G150auM`TJHbW:Km-a2TIX;$g-tQ +HbFKLml^8mfS_g8khWm.#\#t5ia.YWQ4r[$lMlM3:,Timq&cIGLk'N'>=rf#-T:Sd +NGOiC%X7WZ709tP3on2B12ctOF.&!C4A@FAR.E9Q]Zrt0OlN.;9UoJ88uVcZPqW,l +(4c2;olT="H<5R3s7]7^rNY[c7OnG$l(Y+&GJH);N+;(hG;]o[\`QW-@C19]Wpt.mfYt^k' +8U:+L^G$VZmGJc_aabf)(P]VN_KNl,'+aXI&HP?d8lWlhp[cgR;2Pr^2/=Jc\6t`=8N\N +24FPugH4Ald&@M?J$8H.??Q$^\P(8a^75Q2)?J2B5RVN5R6nN9)@i2YK4kVmri]o' +\/@[7ofm9oido(IG;8H]a5$1G8j!UD>_M"G@6ZghhF^1]aln%/^6qc;$OIlNj8V(\ +%o#R&,6;,l[h\CKqHW>m-cbUb"!.^%lbk<=67tAF'D"P)`.e="r*P8abH^`Dr*SBEg&:SILN6*PGXsQrXRrgRbos_[1)lQj9O`fFH;);+TLE)Ij>XDNJ^&AfSL2at1fI,PCBB0TE +](3n>^(_TT$D6,O4P@@Ho,IKMbSu[PI\gWZ?m:-t?Y:9c=oe%V5lL.p:O0W0eGfR< +I+SCVbRNs1)h!SC!RspA)1@)]u6qNcHCZNPcBS@1G( +j!];lGIMY=j'3";<[*)Ppu@Q2ik8k-GtDj[hQ3YN%^fq>qTB)G:>WDF%jt+c!M3%K +c_k)=r_WOM*]l[e=&nS*^@A:t-d06pj!Y]C#D)9"G7uBO2G3C[J@5H'B?1$d1'3%5 +!0Zhc?&G$d_#-dqElt`tm,U^kY)1o`h0)e;E[[a; +56&>%g6KopBq;u49t]u_ +o=5^)!3RRY!Iq[^r:[)aqm5:ScglS!b/+,Xo3(UuT9TB=Z\lUN!W;mbN(X0Fr*O?N +J%Xol3o>0rXZ\LC2mpVgdd1skWg]A-6mpF!M;Ai+C@Ai@nfG:=n+?-q\F"?IoDSMT +BA3raT.Km!cC_5`pUnc>G.?Gsm_"_hqnA#;kakSUiKMFAD&fA6#CP+]J:0E<*$rT( +E7d5RncqGZPZW/Ej<'FWcj5HHVi]t]DZk1C&*cn4&-4p5I^%t49>L&]NK6ur^\'f/ +#B^LdP:7'&!;o0$PGA-OH)J32)tSib;7s%*Rq +#QJR=PLTV)c.JV6PklJoGLm=KrSM;ihUMS`IqSk17/d1O5OnadIA[/h6hd_$4WsbN +TU$46!:pm"+6F+TbR8'ad>od_(B_qb;u6YQ$of5g$=LpckeW!Y#2R7'=)lkn`fc +!s:Vqk!Z:Tq!b,D$Ue8_+QDGp[\L!rLmrr#JH)>B:ITHCs-^BYqL:^W.MkJXq\"^8 +qOrj;5eE^NCT&mi>*/d/M#mNMjU^KdjA5^BGeJ54q0P<^HU$Ba5!AZi+7B7QDZ-+3 +\9?8b!r,2,8)RI$?h::o]526@*s%lhPe_Q3!Lt/t$:lT4UYV-F#g@dqqLb/SmLT(VEJJ8heW34q=CT`)?53]`rBs$T^.+,^[XO[18#j7nrP&b?H\BW +!b/4k6i`foNqnt@L]G!u+qe!P7^q=MB.h.VUj,-Z]tL$>G"QKJIM2+la@*Mbs'^@- +ZkEa^LO@j*pQjFA@CNGnCi$^peRiDR/1YTg7K@T4DDmK)Ckr0*:l;GXe(e,M]2dcU +"C)r)K.h%QT_ +m(H*J[ju\VfR=>C5kk2[F.h[qNc+`I04a4+#^H@q(;,ulqXuso]6u^#CXinUodG"P3NZfhMKC0nAJ8Xo'pcf?2:D3]J@jqA%@_1V"piIe40gCBg+6[P6n#HB] +C]87eJ)c#@;\m22K`](>^Mf#"5JB0=5==4'D,I?id\W9!rS+? +r9b'l&+[c=ld5[_qOkjhq2]p'jq?q"bZ)*]B +XVA_c!OW$O;,u=0;EtTireL@M>Q9?R]>_O;qZ"I($fq?P!T`_Hr"u)7"PimY&Kha\ +mRj_fINeKbn!Bb5^&jFB<,DbeJAg"+7ZoIC^1mkTC.L6G!s)ScrO":Zjsd.WF#> +/@p>=PZfXcUNs7\<2PYrF]O-c^Vs6&D:BQYLC +LkYWRrrMl&ho0Zh[qsV)Z[();=97c#(.8/ZOm'Tgi.QlV%]j(A6oQVfDDf,`aDF6H +S<^Q:X#i95*SLRB3YUJs5M+=jDBK!+^YMQ^H8#9LTCG.6 +rsW<=pqDW9=D0f6'9oY@>s/7b%!;Q#&i;*Sutg +.7>1eU-X+a1Wj&]+R8Mer_WMks3guYp`I:AhDLL=q_A&;%R'Lb)uh]js7`r%\/34G +_Y>3+L%q\IT6]JsY5H%&5c=T//O2*FD<)tXED?YdJ\2Ql&+o_5OP6E@OG^C)OVR@M +*jg,E\B1Kb+FbcLH5_5Zi*23Gfsm`-e5rK*JGT;U/8nORVakuabtZXmrkE7-._nEp +!Tkd#GMP+r;#F["/a$]o8Q"Bf.[uj>j+N@BqsKR*+8o!u5@rG-;"C^T'E;"p63)*. +eGj7K>Q:T0/(FUg$/`T!EW&drs(Cd%cR+B+RJKBEO +%?^ct`46V)Cr.QbJ'>Ng%.Y;9(QuZ6['5eJV6O,SM@N71_oclq:sq=dS^\BNP@(cJ +f-f;,1]@9+naXd"FD[^6hcO6'D:JS-n(jTW4J*_o_"UVj8oFjZ7H$aq!%XT_5o4K] +B"U;b5e[f:QYd2-^dVIa0G2Yd^Z<$V4`?32=q]bn,pM\^[m^ECE-&=3HRcTiiraMg +!d]BT3PbNJHndi+jo\C\?i9qhq(G1/YJe6Nf90J?^KcVf]#VYdKE&\KUu(eEIZd]e +01,kQ,C$1b,.J68koHF]jd1#i,_PXmnEGUZ&H5=6'>(6rDB^9` +"pJF"%eKh\Ij`QWgGBf"oXYciG1is$[N"arCcq3)B/(![$Z?_h>NOph/[Jc=#Uj]= +/%hq:cIpjWk!O44*arf6oqKAXh$:PnYoW[G4>EVd=$aPWeaU(Mo?URpbt'*8-Ys&B!I +s+DOV!i!`O^7G:VquO!J(As5;fQQT\YIX`&El-QK!O[jV<^DHPO;A#>5[h-.gr0k% +?>u!Y5996+A:$PYbGD\RWQfNo%9`bOs#:'(0+PdqgBkEs&.5MW_jj\B1Rj%^?NU#o +.%r4i`[J%M@hU_PY,bT!Z%a7 +62oC6+jC-$<0)B*dk90%i6a*+s*]3ZhoGiuq^id[:BYe;:BCKJr"FNF.O=5[s2"^\ +!\bB#$G2ROI^L^hWeujQde8h$oGFTJeQ#i&l[LTQQ2g0@*Bm'bn,E7KrVe5Gr9t[- +IXDI>-PHM6\"75G!H8BVUChHh@D4nn6pMP/9nCJ$'o`3^!lY#X78!jU^MHQH:1T]. +n]cpOp(Y&!PMVjen'<;q_rWN?GU5\tdG:]n&HZ;NXSG0B%+P;6!l4;as/Gpqs5B/2 +!:UEr^VjKI?4'*'KA`0X?R\YrR] +)E!Egh4iB.j>JZ@M#dQ:M#_EN[13df>hE_V[k=\nl_EkE`m/(0kMn#JmJ54rR/6j/ +GIr?O`"q8QYECQOaQV:>[g0_kDn."jT5QW;]NY>Wc@.oZI;Z/N2HF]+Qbi^"`J*@= +/G4K>3"bb@ph^+.dst$]?E\aSP^OnqU"dQaG@VlT*PLWec?qnV]A!E34s'B^Mst1g +XW6g-2lh_8g(C6+aJBjL(l!Gc0`Nga57k,]KH6g2-Y59s*Y!D!"UKC/_#Id&:[(>6 +/34Lli8c7H%=F:fFJ@Ce1]eNoGDPthJ+QtFj'gpA7'HXhO\&oIqL8S()XpF`('#S0 +p`Ej:2XS$AV4:g;t,5u$+VPsjoLKp=mFT:@_@W;epk5^u6bA'dmg +8-J.A;]#PX%__F's/X-SWY%8nU(P0l!VcG_WW0Zg\c;#Gk)jQNJ(1lNZEI[6h^h;: +5Z)X90>dRXE);'L+FJuqI"i"@O@aJUZ.6#WnWl1K!U/SLIMhQ+KnCpSr,Y1'KoE60 +rd=D8s/`B:3psEV5f6'1g`G4RO/u1UT2eR_qhA-X>>Gn-LNb7t*oh_uri=m-l@/fp +chP9=Ai'Fa$NV."$M^79+39h8Z6g&L5YAd`)hF61"VF#u+45MuIulnf^Jd/1eGkL- +IHECVrY1GYRK$[n%oE9RI=bFKT*Yhq;%_i-^*d^HRq>SB8SEpZJi;$i.\oo^Pf`4C(UPY/S^G&cf[OFh&1uKY?rsH-Z)#n*l*- +HPl-+0N4Woli/3bK@I&A;#`J3lh%?j>%&EqJD:O>66dTh?-IsfN>_g0ATTo +0"_*ILeef(kl3;/!;cEoeU+^`rLO.YFJV;dX99,#f)dAEXpKtUu)0A6BSp&>j(G9[*D +7OEZl1>VX'1qhrlJM5jT&&%[rC>YMJ"Fe\sUK%5a(q'NgeKC6p#RDcu6+5!_D"0?JGpWFC@MLWNO%"7T`:hj@"+MW!0ECMrDN.c^o[5bCVGc- +62i>kY1nR+p#(,O'V_"+=oeCT-N1;C2f#3$TL;2/&iD/sIp)YFEF)RNf!X+Ph/1teGAMZ*Rt:G]b?`A?HXJs#0V4U'-Uhl& +gH"X/k-+Wl#JMe$o*;uLpc!`/QW*IV;6UEN)aX'j(=NZL368h([4Pr@b7p*@.qBk9 +nI:^NhDqR5aW#hU&NBY`J&uDqa<(ISBDd6Zra[6SYHht\0>`i7I?Q)lr\_m +<8P(6GNZPm9>feTnbEA5_#/4gTmXAZ!?WDRT:amM!C&^DIs_Q1"FLK)rt>8-*;K0e +s7kd[?LL$1GOFWu)t8)hH+5We?C>[`NAm29i;1:jT`7gI+Te-8X+;A"0Hu&tuJFIS+\l))%iN3nV*rO"^ +C,lk0Y=6Tib3<2`\=AkNP-Y%>1`r&p,Ed.>Opm-ZrnWZ?i3dRlL,G`@=f5BKb3'(P +#3DR^]Atg,H`;JK$?Q;?mi"U0IV=uf#HMLgS,7F:hK]RV1-Dphc_oO$kM+m$mJM&X +puQ,^[sQM0*lNQA(IJc3Fq6gUh*/U1mJM":rUVVDq>P?@q>"Lkj4X9aPP+)cqk:`E +='N3r@%EXMgA/:SoQ2rF"o_:&`oHJ!YdE";ACD&+eU>$BpWrsi,l`p1r*L!9cj5I& +mmMOCp^$]aG2\5GPJTMoUn??*DcZVeFL]F7ZlcN2'(_1$Y6dU%,>n1`^-:eTAO"!m +!JGlb&`4uJooI&nj$4TQOjFn@ro"/+*1Vt@VP7MSV%7s="b]]]et8<1I.:oXI+At# +Tsu=WGhVnm'nLA97u6RCV*F"$F`9jJ!,m,)':SOr-9U,k[qD4#JC?5jZ]&&3ULs+b +d4hTP%;RhR)WdWP]cnpZFCJ0J&)A"g%F +;Q>K%RSg2)gn9F0G2-Vu!:VaV_h>ugBeiGO$o:BO["/>\F9-J!e@R=5n^6%fYJ`8K +9Mqh*r-/tWMLUn2=CWDgc2[Jlk40TJYfh`U^W=Ya:kp\,rJNq>#EUhQK!9G"#^I2< +mY16Wfi_#Z&^W_'[6W.#%XIRDEDZd+4/r7(W;lJb2=Q)FcCt5mDuou+csR!dB;"__ +"r7:!j]IJ*8o/+'>hi8?`l8&5LVs)HH:\PEDcPn3LFS75Rc_2Y]/eIi[?-7^^^>-Ik#s5s(YpTr*SurpI;q;s3h]kl@1,^^@ctBcg(1Q +=?T*nrm^su7l0J]/l6qMV4a4[rl6tcD&`Q:&"hd0!9>6-D_h;^q>5Jn5@=>Ls0neJ +.bPj-s*@g5jaUI#SMq6ZK\r;7W;iKm9oT!Wn#Se+s7T6L/g^W*61@*(rVtimrHdo6 +IaA&8\,M/4mNjUf9j;mq]mpaV:]5ck.L5e,>ppetP`Hj\CHgNf5Mk]ihQ)2f3q2As'[Z/q./k+a?Q=!Zs.TE>rbn)]^@Hc):&SEo +Xl-#e3!Ec""@Q:r0ig$J.;(T=r8IDD;-lq),(LeEr*P7OE`$Nt/1(93;ubVElo4nK +N-fVHc%i4%Is5MZ\GGf'c8\]*Ag5M^9Ernh(#I(i\fq7iN&]sQ?3O'23Ib?4[D +IiEjC's8+6>.q3+/Ai0=be$;!K1R*T^&EeYUBB&\Hj,T#namRJEt)A7Cq5, +'DFf'X&elA6bZUgTYibM0m2P!ZB'\[UJUP'KE1S@rWfD% +B`p-h&&r74Y5G32YpiJ]"1&P(bC0fc"l=n6rL`9U!BpE(,Q8d_rjUWOWW,\iYPbSg +pOW5W;Z-P_p5T)$;HY+:?`Fs=JH,An_]XGoH:4MKU]0`'h_YZ%\!Y/9oRAe$YSWsb +TW_:EnNZFdqV(sGr2WO:htitf+"Dcqq;:64i&CW_k+;lDrW1XK79pCn+"9`*+NG23 +#=RYGOq`iaFaLO;0,Jots4hoQbG"or"IDK)kV)'"hH?Hej?E`p7j,#Q%^3f[D!M$e +MMG2LD?p)H/IIR4Ym#Z-"M(:6H!XKV<]*s6g8dU>9iXtqp!m?4[-`:+Ii[UBO<-lE +Q/GEVc`?oOhtXrF!b_p;s!)CsnGh,?V"gR1j+"gUd]8r1l/i#]E=q7R[^%-d2>jh& +BEV0-1\H7Q7I]j\^25q,!Vtnf,.dPBMgph<3O91cY801J^>82cb`b]5*?*RKDCC +s72uGs!oT![Z[""MLXaT\I.DIJ#Rb,ei\*:s62iLq9e^-;>^T3e_^[OMG5aIi677-3=j!j^hCnUHq*s2AC_he1bkj+!&):*Z7Yb@aMk +=UVbGf4CKF=r'H5`Ir"Mj'0V/mH1_J+"`R@Q?3:0(g; +`;_(?s0-Q(?lsNZL[54mSBIiPJ-\unh^PE#H]gRH(s`@nALkd++"RZ."8V7^"8"<$ +pq,JQoiWD-`i/g1Y47ll/FFO>Hf+T?,9Ytb&,VJqq#f"eAMQlJcbS?9:N'qIs5Ud% +;"bRors/RJf)itJYq]=%'Q?Q4H\10ks-!ZhM#Sh`%tsbunYLL&s-V7iMZ1)F=Y-?3 +J,PI04.oR_5m0IO:]2r5%WiRtj=cc-aQ.srIq3HtO=LQ5rgFFtr)*Ii;4XCZr.Fq; +,tIP0`GCtIBEX^6&b%+N[-F4g:eqYBHMt%TN7'4AXY.9[_N>>s4+Zo@t(]dE8JIjs!$s8+2(O"Vj& +&'oP%K7K`tiN![Vf(8*TUo,5@jNmW$bsal.B02pah^65_*^,/LVZ*cc3(Nl0s&u"" +c*G.bQ#6s0&O;tFfh\oQrt"\UK-IM1^J4V:k25Qc!+u4/N(XOU)>HE0Pbe5?\5,Nk +mi_V]mk)rn@/Oq>9Uf#1R@"PdPb;dmm#r(FU:P>MgN[ON +]sN&,::MAh"\uOXT?b")T5P<"5G)dX_,&=:$bgKOA!?T<=CL9?=e7k4T0FdK2_rk3 +s2FJPej#Vm@[/!TN^=-31ni.<=r[\0Q$k\^T3?e3TT]$uAafA(n"J;9h.cQe5lQM@ +r8I)Gq*Taaq.\qdje)%%&cWB^]d#6RA[G\5:Ct85s(!B/dEt.'o.(ND%Yn[X-Zd&m +Ijd$E#pa0Jq_,H"[(?H+5G8IXo'`D6#eKRsgs!\+_(g.APdCFci.%)7eF"0Y>"=DK +LUDj;[<=g5*q$H:!t'=g68lnQ!,2D7r/(G>rX.0ep`G:_\e-EA]b0@E0dB`BUofR* +12AVjckJ1_#U'+Z;?4ic<=u*Mn&J,I^ +"G?mHbKblp$Xo;"E]h?6`]9IJ7No0>9QNj@*`MtYQR1R>kV"%[W;k2EC1mX`s&Tpe +H.?2A>#9eMO#),Zr)]Yai=@R?qKP!nB-?eql@7Lhi*?n#2JA]`rU3p`rhg?iYqGbF +Iu-W[YQ(]Nf+t ++6Ma\Jp`O'aIh>#?VG=$1)nd1<\;WZ0($"UKVp]t`N]hdn(SN+rL)g<6MGk=!+)gf +Y;`;\Qk"oC=**V_3:BZdZ6Y#5\^3ilF +aT%tkG>afFj^rlD?eo=EOKgc$Mt^K*jO@BpF+8^%VMSdAcuY +r'juT)+XJfh;i#MptL.-5%>^bidWBULD.DL\A,p__LLnO8]Lf*g7s-Q(n@>_8,3Cf +^@cuCqS2n7jL5`jn,*\U,9m3a%c+r&b*QY4lURWs)%IVc]H9eSN,VNd'mjSJ)dqR>-4oXo:.M.HLY:KXhcH],>#aN0@1e&R+[ooUW +G3bC12Joe[`T*$]`;`cNgB)p*))U%rPeUh#aFBq*$aaajr/\`;ndmJjs8I;YIf\c` +rg-ra#@+b*nNX/Sc1DLdm\?d?R+I23hFArWi8J.E>kjj+!_)Q9YSCEQhsbc&G]D=rWc%ZoRAMf"QUR/6id!(aI8I[Z/:TA +nbh!:>l-V^pHo=]SHAWaNUoI-@ar\\45"U$#DfoM1$8apnUK>Jr_ImMZMom^$]uH[ +pj\(U/O98A8o@VV)i+6kUEZmE&[\UNkB6#h;fU8ed!GTJ9)E_*J%=-_r$`0XeGh`q +=F9l6dIH8''DUh2"[Tp(IDP)nqklM\/9nk7;Y`Q6R"3pA_p,#!jF;'bb3@Zs>cVe1\>UF+2/=aL)lX/uO?' +I!DJ%>HO`&RlPXB^O!W?^+?UoX6eRZkJ"\0E4k^cbQaXWGdcq3_7Dj;\NaDtgsqa/ +O-ZpZ(Tse0(R=g&dO`bjcSVsa8!tgcs06$D1`m]3#=an&!^]XEU'i`#R>2d%!P>&_ +VXH>,hO1d"!5nmd!FA?Z$,rWi6(!l#t0^eaBM@-$ctc27!Qi&S8pL.^D%7!73aS@%AEVQA;Z2igD0 +L9u4WC"1,B20&RkE`h!H(&3J6&,`&ZYGG_ZWT\@XZ4mg$!3u#;OFWs[X[7Z%:TbM, +`(fh51>C?lJGLA>J'4!U71,QL'u3sT#n_,W#5P=FMX$DBC&"`+4*aZ9s`dXOCbEWIs/m4h$Aft +TESGqr_L&7);f&W^Qf?#MIDa!1!8C7mEeoL8dSg\aM46K5KI`l$JbJA[roJNXmKF7 +90iK#Vojd9*4CCtdBkhQ527&@hO21Z=R^ep^CBu&ao9bQoB0a&!"hJI3.S^CraNs, +f/q1!Xn`jZDZol#>T:NZ<;s\PW>b\1s3lVu+nSQjAZ#tt'E]0=4bs+-5A:-`rl1j? +_t0Gh_h7dFUZM*RmJ@^sNusnArsTGA1]i,N2UZTlV[(Je44WZA*qfO8H/o-R\DTR_ +m/uuYTJp$C]D$eAnUF`[2oTb!B6E6os(b%]j*rfc>4-5._#NLQS%a!kj*uNk\4c)Z +IjlZm`[1GZ(lEems/8R%G$sk/13.27Q&%`XAhM#cREBh$^&7;RdQ]^ +BDh5h^\,?upg7qXJ-_hIhc'1sPl:0d52uTk1@RT*MF!>RfDk;Nn/&%[mqMVu\j8T` ++2X5P`_e/`9pTe"Fi%a[F?$-H:?RSZ1#oLaogXJN4C^+k1+?VX:$K(7!8TgG;#eG2 +:-V&%!XAZlnS`GCdDpb(*h<8Zq%*9#s5iT1Ri4r2[,(3>FEdPtK,d?O+NT +Y`"nk*:=.-GPGeuCSuk$pn)gST:O8=V>sL:Pu&dej/G"`2)Q8>3;/C:h8:;Ge8:Db +s":XF]i/DsFs.-ir5DF#`9ZV3nolN,Y/.&L3(f+0A7.M7S>aRp4Ilr,J3nJj&WdMi +rptCW.f[&dCF3bbUs$K658jG_;s41\q/lc^XF'Y*5(aa[#TWL=k'qt$rpOIupM>Zu +!Urq^f6GmsokC:Z=kVoR>W`8pM[iHm`LW'36h4W(J%0%"? +NW5&&jFWY=E1$J$1c8:Y:1*'p/&cclBtl1%0Hbl7Ge*Y/Ef14<;WZ*Pmapd<0/j=! +s0&m:^YU!j'@/32_#<@Q+oqVG7DSb2C%^h7\TG-!>$O0=<-+[#58$0oT1%S'-S<+R +ris7!pt!VenE+-(W3>Qhu-Wi0-Elm1o3IbVBY1>ssI4*<%-d28(^ +IV7k`;m'HmA&UZbq0t]\YqY%K375Q?J.@2+X#":J]4OC'X`(kkGC +LdloVao<7MF!JJs5kUs]dK2PSs%!+sn[BGDGoe"De?&f*0sD +:mqIQN0RDk!g)FA>Q8X0o=!13cMuZ*Ld_<3"kC_eq-SKu`@_k&YV>r!^YYV_X[^<,*EPY=?=tA1T\]p5\oR1.2-'cf$_R+:(L^=F9R* +nA!l.+)h]Ds$QePIkF,S3\Z[&:,;BR!J3,<^hb/J9BAC%E_\"K7/g`C^L;f.o;`l< +CR!_a!$TSe)>gZ7T?&69^0`RWm''hhj[0rX0%qLd:;_njXU\KWE=TgGS +#HU99]9;tSj;9#W+#gl@.km3GNYE/,;L7mb1Nf:Y\N6:n3a9*H0A`3Ph4Ll7>c`Ls +bB9uGBA3CY7a:_qFs!@OcIZ8Xbg5@2No4CNS\jfmX$)^5GF'94-EbOmQ*W?h+2pA6 +5NH1mc./8sWG9HiT1gW01#Mc7@646gX@sVL8`bT'DRA +q-bb&El@TA6I)_6c9u32Rf$=A&+_TO4p%;TMjaTJ(BFI?OTH"*!VIZ[pn("UWD_[S +A(Oi(WXr0+c/"-=C4+iXpm]pq]Z'UB!p":rqs%i+r!OJg"=]HE. +)/I4Sr'\TlCs1gcgZftsn97npeE^u*/Y6[;B05$3212T)(c2W;<^FeZN&ZO3/lBJQ +8:#t=T-t^&AGcKu2SdWCKRiqp`l!H/+occ&!t$(jdBp8-+6rD_MKhZ1&X]"+k1hkR[bZmdR#&^\alT%^gkl +Df":6aoBH/%+tD0r3&;!hE>Q-4_W^*Dq`u\=Pmk$rb"m>nGiDq[07[%0M>GkVrupe +bl8I@-^F`0>;GnZIL?om+oh:0C[cfuo06X^kKM733"YMYL$Cf%%0@\I!TB(O_"jTl +5[+ugs7Pcfot:k1IqPAaq/c-Lpn(ao@#u+3H4efWJUeq*g_V$1"k=8*FpOFIH\d4C +l/q6PC9b!FKG+^!\_K#,"=00\2?JL1iuo.O!B^HJB>;JZNnF#n$07=&Et?!,e)I"B +?Ubam)N&m+$1D!EVZJ;3nNY)!-3<2"%8>s`1EbkOc+'[8Ni@\S,&S3j,NoQh>X=a"6TWe:PT?@,6C'bUH@-(E4c'n^%jqk^Oj4kg[a?HBteUKEHsSj'IUdk)'? +HKtH)=o^A\:2.EA!K)@6Oak;*7aHQ$&(i8Bk&Ik-jj9#j%nDWV_n+YIc*d\ms5$?i +PQ0cm&'PP\s$QdDj#kD4AuoiqZup,ZAQ%2D1"&0Eg+kkK1bh:6K:SWP?CG_7Rr;d) +e`q>39RH08UCO2n#C1Vh4J,(#[gIaGOp,9LJAd"C&9IC$DK2fL3q>1H%CDq%[:"I3O^k.*Q[W29P=7]?oR.c*Sd/I*gE:Wal"^\7F +@j*;Z2WL"I,/A*WZP5)4"lE]'RSB=]Mb3[Q('-*n)*F2dJ0+/EcrsNS1bl^?!@iRV +Xnb!QfDC'dY_i-^h9>\eXoDFqbOU0SU+9H3`O9e)f5T51q\cBT^gDZ@Wl<67erbo5`m'JSKF7oQo +rb$S/W`7m(&i/*Z%Ih,Y8%?#[W0I#W;W,3p5toE+ETHa(4sM+kP;B!p8XrQhG6Iikm8p,b*OQVPBpccJCB +jmP&9"K[4VgH`P$X8-+_i]e)'="Bjf7[a90MpnVdYKn#&0$(*$.%A="bKAPZX3JsL +gV;V5K&:LrJ)'JlIWt9#rFBk5!71uo-Fa?VE4,Xh\Tq7_KD[C%r6*'5e)G`u2oB6U +OFJ`?R7p:"BWi4:O.'FJ["(RFpis7Qs$,=U4^;jZ?*<"RY?[VMsEn\bA09 +:$VC`h+ilJ^Wh/YB%=9AFWF3Z^EuiBiZMXj#Aq,8K:M;-lTET!\bo@XC +dugX*d)\DOCVD\%2_k=SBq#Vj9l(4$hI-ems#7A*&HQ/8&*=\c;#e;5[K,pf=Tm+- +T%,^U3Q/l,]=CoCr/]j0h8ut:h7C=S?aaN][rlVmSU3/Z]q5HRPIGOmW]NQ3n&V^.^Ns,qPQ1%ds/(0c +H`jon338@p(Zh4Yfu@`?V0K:J.$@%BRjF=CotMsg),5cR@f[meAk3sa6Nm2/P(6!D +G1PV6pccn4U+UclKj+kHSe7(TNj8r3H5VnhkF&'gUn*\trn6tYSGuajchX3-ptu!& +p1jtcURpZFJ%sa9mUlHBmr0iY=TruOFM\">3Xe7mdlO,bpA`^l1 +5m@0nLaf>'WnP8]OrohOXL@[Wd +J4K1lVgC9Fi9=k:iG+8\TW3JAk5S=c(NVt%#V.j@4rb[bsfO31L5gth-@8QZ(dJlroJ(rl\ +Rbk=?OrU\jr-EDMmHhdGV:gUrL%j?&:&>k]LYFDL>o!P`2D#G!C/'9:_F"Z`Xh9I\ +GTQ6;bg?IN:*,5=BE19n+"[IX$@!#>?@B.Mf>KocTIFjE>A>u<,?RXh5\dZH3"7Gl +@r"5F;]G4ngV&m_KG5PCA`ikAJtPgP[!)R("_p=GW!`YM5SbIG*#9]U!tK^N_K/iS +%%EMXcASir)JZ^g!L'qA?mFm;/I\2H)/.8h>#U@!fF3dRnZUJ%"-'I?;>#Dj!n@+l +>J#kG!ifITn?X;sf&^s+Qa4o4nJ0r"K*K'3OeNY3"dCc^i;%KM;X#W!/1dPZ]I[u,?0i[8mORSCl[o_W8+8bX5eGXJ;j/?.C-']R+9fD)T$L*uFpZor +H4g@brHHuYi9!8sOC"RaZ2f<(hq/i$[Gco1P5ulFCMj=t;\R""nr1,e*j;CLd"`+' +Q05XH!>:9u.V*Q7F:^daC(MKk83hPA"Mda<^h#e7n=uO:eLg(i$*\h"<+(8GQ,tbs7c(s +rWgsQh=*Y&lMp;;lX8IV2?N`ipg:MIe#a"lX8f^9^o-:eLVDIe[N5%h]DortNr]pl +O8<3Lr,3S]=@hNqYfT`;'<(rK`;e7b&H3b"`_lbsS>B5P`Q@Go%-RZ2aqEAoJ$]"I +B&h)%(A%PJ\+'FchsU4=*f0_9GQ3%7T>*VWi"P#Dm;D+Qh)=m)LW[U=Q2g7)1AkK. +/Y3bk:205/q.EU*A5\[`N%soG7n,`h4;JEdL-hXIU];;66pP3"/H@!QUpu!lJ477J +V:G_'*dkO\Ub+hh!q61R59>6!3./;;5@![6l?U8P03A"4djab5X;p5k31Crp4Vh@.I+g8`e:LH)'5F2XkAM#=S#5.K&XUoDgKF +(k/C$:R7s#T[N;'O>eqL]QS>q41Y(:4D`U[=g^WZ,BB$XG%Y34X.RL`F%O$Y:jq;\ +^%2X'!u1cGlnd/85.;@\4($XkF]O_/0j1lpBX>Mh'-nYK(M?!N3%%fW=HKWsuE; +Mm\8VA8\.99=Eg.BPKCA><)80Ad1m2Q3H&J!.3u8)?J@f)fO[7jgB;^l$rClf6lJ\ +h*0mXp.]QG_od/1nd"JBg0+dZglFb<6>%[oaF>1np:>r9>KU1pC&>JXo(3ZBA=_7 +cY0c4s&o(!Q2bC?3Q:ogZ;.4>j+*s+kC46JeY/(RkZG#2&YPK>#j;BJ(&u're.)4P +`16k@HX50G!N?#=CYaL)J),,ao=o`AM#-#5e&BH/Gm\XAk59/L83$YHbq]:jLMR;_ +bthsND"9sfT9(crga@g#:s_Q.Vod>,G)Z7sp3c#b@eTM9mdY#mrr7)P#601dh1X=8 +n8J&gr;ZJp$^gi0>S-gV^J4[Ap$$e_l#IO<^Sh(G0$RapcBSdd-b5(=!j.qbiN*W/n(Sk6T);u#[_(,"[G4D*s6d:?;YbBF5KqI)HmaZ<7MUnj +Gb@p]s/o`*%eB)UH.1RQq7dOL?4-Hl$O+9f#Wb%smcjPD=7VQVs2DdhMihFghr;$. +p&)boVEV[5k(TK+B@N!haHV%o&io*qVQOI@=eIIY>"[L`nMHgc->4te_\:,k#lE[ZoDF::D^@$ +q;c3I:Ac1AN&(E#qa&<\g5"[[aPU-ir-3sZhVkL7S\o0.'%HeC8*<,+J'Q/\p4(XO +Q*F)i#Y:C25hn=/R/cF9^i7dW80U;PV\&q/9:5YWNW2QXi8=#!9E3aI3][4E=*XE; +f<=`SRq2;(h!J_!J"HHUoK`;85JT(Ws!99\\bOKhmK5bU/8QC.bl=J?Wl[Kl(*@mM +;9*8mZ@#?^q7gr*78?_Z_>dk[2h/NqqYbjZr[5UULY]^0mK)JM^O<'Oa5clc:HLH6 +DrIm/rdVR_6NjX,2]!jJSGsc46qeJX%RhR/To^H8(^'lS_WMm/GSFKQ+G'S*!"]2$ +pf':39,7SL.q^4KQfT7Ms+dXBZiD1cO$;E752?n>F&;lY_>fQTHhIA&.o)FOPOO&c +2,ZsRjV%a,G^hp.?V'g?@^7'u"k_$`([\9G59crpQU(OI+$TSSb_M\]F27]QraP#> +('-;g=8hTq8N_/F_:B.m43]O9&I^r(L9JqU`+D*T +pKBQ"2<>=$'PijTR& +8-f'kX8PQg+$4^@rl;/o^nh$e]"@JQkWRqni]-XR+8`XDrb`;ApOJX7)aqC7ThZ0m +LdGu&(BM<[D>eYj5l=FHR\t70bj?`e/'S-;#;*#=YZNth";oDNJ6WP_Dq/OC\Y+<7 +VX9rK)r&VnJD)IQUB(sW:Nj1mnnKDV^UDOq^.Af[JGC'Nqs(WWII^Po1I'n]ruW9P +^`c!/jj34A3rdkJCt8?2F01)-(KT`!p!*4'm5F`hCQGrurdG7=rXfZ[nuqdPHN=TT +h^/R>n^uoXZl!TGQm7gW+@n>%b'b>!f/;K0aZ]%mYC"@R6SC,+#cg:SWG$Z3Q!2CD=&'*< +jjI2kHl!B6HUV+gV]3m9>OA>84[o8D6-$bsU>b'Gs8I'%VS%2"Z +3d\LLLgB#Kot%56&)EO@c?o`&5+`k:W:ORqS'5=.\!prPK,iP9"2t,k6,TB_[u\[= +EO[7Nhj!T3bI3]_lO,jl_3]!2S4gjg$g4K+2=cXcobd$aYhn +MiF3!NP"LNLYGOlh.GJ,3Fgr5Na-8&C7FTOZ=o/&^nYfj*fZ@HI8GIln0-@qgZGu?HA[n9_:4!YjecHiBAt+eg)q>!g"=SG2=GM!\c[`/rr@m@02/)4 +s1uE_?S1'f,p37I[fdY>r:LNUg3UduYf5L:*f>IB+)J!']*ADY+/h$u"q:WbqN0$d +Ke+jT$2F>k$d$!_>93$6r3]88b*l^`Pu$Ij@_P"3hOiQ]s+_QVrN5,=c@0tQ7O)kp +Fa.o?F]MZlYD_OT$gFX,HkbFn"UDnN=ia1rk!6%!6flYlO34's.Ib+JJ$Rr2J=3$l +1JQ@C@([6U@r]s'r#[^(7SNb'C6TeZA8DCeLAu^>2de(2^C%bn"D)KPd/*dqs/%(` +2u,]7f)OOp^Y]"1K5Th$Eg%F3IkU`g2YY[7J$nVj1S:-9K+9VneVL+>nn5pk0emd= +;NdS8fa6[hYIEhnpntHH2W"8Mj8Li1cOmtjcQ_;. +]C"Kn2W=ZhQg5_G=.V%1n';be:Zp[9Mqf$<5B<:lHOMDKINj96VpFBI\/d?&UYk0t +\Xa):HdM(!7K`jHj2]3hZ.NkR]n@/oFL#n+[a"`rVEc[6^rJMWH3"Lt#Lrd#\*$t\ +e$\eaEZmAo6@t.0Be>H.LAr"QLb(o"l0W,Vk0HGll!k$U8&WpTio<:B`%QlC6XFcR +dgPcRF^AaR!Vq'^h44DXn\:'"=8(?5^WRgD=i`>[2H.B@fOrb->I8eoXj!`+lOW*g +C?7*MDoh.p?b3KjAi"p9r[Uo6:B&^1riJTfMIr]Z$1^UJ:FABWikO@M!rbsq%mn)c +!7)j"!E)2TZafn/7/Ts:qhdhXprKMhWHV"A%;YS(=;O5_A_8:Fm$\Gh&-3P@P>0fq +d^PkWE,-EGH7nf=aP=oFIV+%Z,+h$&B97)>1*D(.Ej\:6+RA>a1]2)=?RmAcD1R85 +*o8X,mV*'@>9f`J)A%?Z5**Ci@qo]hoa,*!Y,Jsr70)pDKFdmV^!OJA9?I'W$@ZtL +d!HCij8_\J^;PX/?fD+=g)2MY)kbM>QaMGs/'u7H]:!:dGF4>+H>T_VW#9V&pVKl?"f2kR +!]bM9ra<4;Xk'&6G4dJKae+unQ/[-\*U5ur^UifraIds(5]0-2YCBZ>J(=R\s'PX& +qZrkoLV:h!LI=Bt^&O]Li/l:Cr6N4]IgI"ur!KJDD6"Tr/*jjE(#Iqja3BJ6p=+84 +AuGWP52SMu!0R8sPC:OqD7^THGo8]B*JQ +oC++n-U3QsLB.?=7t>rFq*4=K'tk:)s$c)Rpe1Y=7DK%YXp^3,9uCs,,!^c']G77QB' +5^3+tJ+%kBq2rStIHb^#/ims7*'VQ)Sn5sfoAeWcmqm@]'CBfjOf/-nh:uW"c*^Eg-1qO+mkU5'aq>::-P:mgh]hSmqqMsde(j+?8R[(+6#+j@RZ@6'LJlrZ +7(Y,&W;@'KV#+BE^!49^otJ\9hR1+,GH=Y+L&f?:Z@qAGr]%#(N$\HS[VVDJAqV +,(SOfnnrsK]k4Iq\DLaVBJpqi=c^W^::I[bV.j1me!T='%t4EM8,mXK!O+^I>e'2Pm`0,3j,NNlcMM_HI_'S`hHBK.e57_SgXL1gN69qt:d12^.2c#QYP5@">h5?mhb1HT0_ppg +T%,^Uk@NPL:RVR_VqL.'pg8;I(b6D&Q_hg)nhf+s:\Xl?_>bTq2Ep#8ICY.5M>@2L +E!Vj,8IBjDqS1&A\cA-"h/<7A^%lGTrU],#o095S$e+;scI/_Ve6"o;XS-Y`s'CJF +Q-D4.04IrW^>(*$ +5Ee=FJF)iKUKgnQAEV'k'++6%:a2WmLD9M>`9D`"r0*gFlX@as.fYU>S&jL96fm4M +WdQApDMHWg"WZZB"sUj"5m0_lfe91?X@li2M;:^1ni(6.W;1ctC<=kpoO(n/[jB_` +m+l"6L&BPhH<01?Q=`RD1W"i[!Lrm\O*+,[n+1H7*dBmt,7O4X7HMkk+'!_bf*eB> +2c9W]JFFA*LG%OY('42nCB;".Ips#:-[e!#s&l1G1Tbsb5Q5h;p>*a*]BWC$F:_tZ +2q'S9Rd?JTk7MC/qVTrJr#`2P_Z-/(=cm&+5"^6I8(,oh3:d5c59JhHr9a;F#KR*2 +EZlL>"3C7_kldBYH8]M*aYA"n-G1`+n<F:SoMg$R[J.D$%h<]5.WdPVIR08?_SF1^s,6n#q&3f+^Y/VQ +IldUZp4$As;<>"Z:UZ4"PI4oAIqc^D$Tr]_$Z_nipCb52?!! +h??+"GogmppG^[X/,e#[@C`ad;HPH4_kP7EdHljsGYje6%*/<60olA]4Q#oum8DN] +J%h3JoC*"a0A=F&r6;!^aPSrenA(^r=4%:MO]`7gJ'pHHYRCMR!E!A,Z(WhFQ\P1m +OKQX-lN07e-i*\[s.(4=#l]&:F?-fup'm^<SB;5Q_`6`41pae@E +;&m7tW@I"dX7OGK](fLcs*kLXYJ^C=s*q`>q>G=5cc:[Q4WSR\+8EU24ntX<^crn6 +rdMW*r/VWOoB#P`o>Sbugs*qlr-s:W5<2o+O(>"Ql0o8>)tD%&/t(&=#QHk;@]N(: +1%kUJ=j!o]KcV('Hdp\="FDT +,#E^i?)%?a"A$Ha'n%`)'X&mKDl:V3/5ElaSU%]TpjRFpOUcs][6*G':X_MKTH`9=Ve6%+;JQ_ +#MT7lJO6pMMBM:"Ju#l>_.Gl1rgea.(Z^&]mQEe#?GQKd^<9XYF`QCeV7=XiDKBi; +QQO!j^:_b`,7?+:]k@k4Om[Uq1E-t'!s8BQE=W,,cW6thPd'`u,-DC[IKFs:UDcp7 +IQ_@E.&(440]FF+NIhX(RKBBiBK,M,3hGY1s*!Q)]'eU*s._GZ@t4E(k'n*FbA/\f/*&1b\V4)* +IqkkFp<7ha[Sck4T.7RQ9E0c>i8[i,o5+aFnDP/MJ--C&;pem8eYSIHZiGgH@Q$)2 +DMO(Kn:,F%4Icfi,m&]js'X!i9n#Pe[,>Trs)Ig`igF8n+3;4Rs%NDp"!5H1GZJDJ +A+2]\J?B':0`NLP""C8p@@!)_0M.=bP),ejXR?J[\lf/dTGDX5#WV+&rs?(3s*+Ht +r/(GT>I>CjOM>ZPrYMh:ca3PKq-!6+dWF.N]aduEb-]_iLR%frf/nL=2KsAdWZ>r!PIAXS)O5F5:hd=Yk<9D$GeafW-57UK.UU-BiI'S_ITQ7bnFg4H& +""q:ml+lB+MZ6Rl3M0HqVWO&HM-+:>)B97a'L>NE^f=[a%=*9i:PnN,QS@(E#8$^C +]7#\lYHs/.hql?5:S$AHCrT5c%OAM$nbjLVXoDgY-@[jc%T>UQDq1QVQP_Pgm6M73 +ql0L;2g`!bHT"oOesN)qK_"f+lHRc< +gXXt9>>#De.h2,;h?M5JUOK,gXd/A?p3.Z(m?AH,A-I[=%sjG+fIo#JTI"4-_PJ\/#]2C#h+8eD*c=AS1kWt6'. +K&jR+`!q1!KY'D8C'0P[gU#&USp9,:j%d^(LF08jhY0P'q8j7*ri#$`&-Pi@3Gg5) +ij3hB*%%7WhdP$AlSKjj%M(VopL*uD:k+i7Oh"M3Ua*`@15LJ#fZ>8^H4bU^r+K@= +e8)CGe.nN?e]M&ba0."o%F"VEP7`H +`W*oF,WdW'+qkng7n;$:AL=3HqiutfN0io)AH)UHnMfVOVuE8KRNRs2JLB+7]Y.M_&<)O.5uZ"S>.l@MStFI5a=j,(TLHG:<#' +#X,ejmMuo2^L]i!YC5Bq(O;PN%p)qpeklBjkdL9erhg?Y/teCa5F'")Ggo'R4FVc7q04ps<13W. +]`c()XSdCR_=mp,m;<;@-e.5WT:ZVZ@K-;i,P1qY^&L<&/3TQKhk/-Jj>kBG(o=9eR^m +c;/Z2"^IYdYonSd)3rW.\3/S.05c;\@D.n04io6Broq?pr-73\7.-QFtLss(1r5]s4e;1nt/gf9ocVVN4+6KAYX:U@DEps?n&Y@^+p%`cACY#E($,lt!CT11"_\$+0iP2YRtm_"KOo`Xf?=1F.OrJ"!?Oj14ub^fSO>O0OnN%iNBjfMT@MN. +c_I^38io&sb_MSc/CFXr?Ui"9EQLq\mk-2=a::>o#&gUG+V5bo-#8TJ1OTCG_e8D!o23.-iApY*/g9Yo%Eikq#J/@'GNn? +13.(=*lrC.ruO)\jeqamsk%+mWU6J^&4l0>KFq4,Q_0.J'nDF +qd5`g3WBcg+0smua,5@AriGme?YZ$8BUYN0R[e78T5;/(2r%_C*\6r^MX.8$q/GTq +E8ghA)'GR'JPS5o^ZYUMEH>]n>So*=2.rgK-\[P-Fubn\-XAuP.\!BN)O?5=Uk?R@ +!;N1es.AEA*R@U(nAdUj^[h]L5Pu&fB8k!G8]CV"eLGXO&^"3V>>9Y_cn")T<6bGW +)nH#09nC$G=W0.h=:-bXEtRp.s#hP'n(8?.f#`J]V".mNrIt9\GXVNmW;d0YI::Cu +_CG1A9rNd\s&O16.J#dYD9->g!BZfP/SgFGI8'Y)fK_>L:e2+fk!ho??Vk&D7rD)B +m`rfocDR9eB0TZTI(ib]I(fING4gp.Fn"SMqVU^"rpdK%]lWcEYKo^tRfCKM5b7p6 +J%o=im:m+0s*VBTTtKl63XbtSe"cD^U$D[WA%.^%3QY-I*g>5n,hg2oPZ^ZWDpnC, +/te7oJC?^GE@LkCZ(N1E^iV?GJ1fb:^JQIsSe\`]$SX2.2F5%M5r#iHa?ok6l-sMn +4r$4%%gT,$MNWBXACD#kan7]ABF=BN.1l-/"%<,gf]8qgnF'ds5LI2O`5%ubIt"H4 +S',B0V&tdnrhb.chlQ'rr!aQ"p-7@"LA]TV]fR1h>AN%orZ]E*Q2g30?tPil4iNn\ +BP6lX+))c +%FFqN0B2D,Wk3eWYD2.WPQPjD#%((R?dF\F=r;b"1@og?*YImbHfaYog:O,>\%8,S +Ap&anORms+c2[1Ts(NjAb+Aq=1E_2I$F,s6tM"jNk3ZRK#D+Fcl%O3)9gq +=c?F>Fqg_=20e%).KkH]+/n3Z'iZ"[YJOKQE\KKq6g1ZCcIbl^\ +`IR.tfSR=pBcg%P6DT!f,U-<&Op?bF1Emn3Aei]aYt.:B'o:md=G +4L:&\e-kmeo(F\'Wt>?&YS_MuP-S6pp'0F+(4'X-fN^ +llWCc+"h71:s]]F.21UgeoI1T>]q9W5m0klP@KE!>]_5- +)9mh(dsc>e"'b8+a$+$^A+5!)2Z_"F+7Bo+J'J!unIPXa(]RZM*MXLs84lP&/(94r +pci7/bh.^/s0PLlZHA>rrj\ecq7jWUTHbSd!1j+aBE+b+L]:NU&,GN,fX5(gbl4GDL:]2rrm0acb6_Qdr6BQ(BO?#,iIkN)0F\"mFIWiddg[ibP&#-m(Y5$9W9MnU +8i:ARiN=$gYE&S5]%:#p;>`)m#pFcuq+lsYNN65_@kHU6Iq\2[+l7=.;p"&[Q +p$1:aNAoSY\&R6JBE;p>%>Y"f^6KW<`T[.Oo06=Vj"olcaSU4-B]%]J#dbCVr`[QR +Q%)J(NXO/H,&%!3e]#$hnel(3?7F9!,pbNFnkTq9PITO--:/%RO%Bl_3$0j?Sq]Y0 +E$s_-argVt:A3PA@J)f`plI]II[L00o&t")b$RfZn3;OuJbs9@D-CtDl9th\`mI'p +9n]Df5qtX5.V4#K%%&+jo,"A!:P(q,>;P6%5-DK>=2t)Kkfs+55l[]hY6P&a][Q\]\[N2VA@^CT#H% +dTa9_8HFIJk'mGL!BL6*TQ^;RnNT/$#3qZ>dW?%HLL?h6MNg&H0Ws3YR3l@8S9ZbtD^ +#n7,e?p#.e&,<_a*Ztt`!r1ZK(U5tVfkO(>mrPe:5#qEB[o;N2,N>'*s7(&8.Orc_ +ji,^l?2P]ir\)Q%Qf`3ZoCq@cVb;&Cm\_QZs'P6G-l]ocCpB>AkhEi:IsaBOIj"-197(8>luI!8Ak?U +L"(-$\WfZ:VW/'+kZm+l(@j\MW5>7U?pNuN%=-_aQa;b>410p9p)]Pf9`7b?ccf0L +-%PCPL]?%ZDgg_C]9Ol85@'Bpq`IaL]<)2%%:?`@T5F7Vr!c/EqSRcA>/L252Z0ZN +Cp*E7i=GiN5Q+jb,6@jK!;KnYdeJIp$#CcX*\Ir&VgqCsYV&2prJG@n-niN5WrLc+ +!TZI9k\>Ku.5p_#QP!3LS5NLlIo)kTl"7Z5TP/-8Rur.6#?0AOi!*d^.f^pHn]+""`UEp"VnB#5q).OPMc +5oA3&)7W;[5p[tp9ZSmHZ;OAB&s8h'8GU>b$t4o>?k[gfoY=A"&1M!B#gj"k$mL:[ +?nurCr+:9d_eAKC#&?.h!>?ZMP7<*LeL==-[0+#?Cr1EeW +(&p)l3]R/G%KEiX:Xd1$oA!g8b^AI#9I#GpZ17R`@gs79]utKie`@s6!#(9@V[CZ: +\3II[SD1jPL$e0\>UdSj`q,@j<)aZT>PW*;"X"Te:1_o7/->As(%B6YLZ&E%D ++<^GZq7nsVPFA20 +G-Kj')4N`eMZC*ahbA[3#iPXL>A`A3Tr3'7?f;uGKrn?a_bta%;Q`&a( +62nZ=-t*%pKCOas!bMPfD*mq6P2]j8FnGO#P1hp[7/gUu`(#.8?E.*uRY[%aS+;De +'2n`=OUFtm,F.9J9kikcD#(fX"TLjgbl>H6YJ^CTh/C11^H_-!5,eMZFMRhST3jJ" +r8dJ0dD%ll#^G'9Rt%C:\![1[?*&E%00PiNErJ:!Nh"%Co#HBNi'?)H+$jMTs-DMf +s'&;m+)ql82JU4Ls!AVA!/F;-E@CuR'd=cD4Hk`M,6^UL,aT@Y`*tX=!)g(I^s!m[ +9HT%f_Vt#mE6RbmnbIpP*ehWt!<5.I&j,W5YM7arEKO=K+oIf/V4d+'#PtMC2YO'J +n%ug@PJ4V3_6E-"q=d2Mbksm.-Fq#B6h,*GpN,oW*V>JZhjrX&Xkp`#](3J]\\?S$ +][4dus1I\k@K%?I2UqV2WH`$"i,'L\EA/qj2q7k6+XQ0Amik$Fob.6/&j#rAr;3=/ +M#ZS8s'NVBj3!]eaqqCaQh(kD(FEK3!]Cg$D6LV/?[o-0H=PTQCKf9&gq,bgJom]_5cZtgP +&XG3SE0_7@7)15q+N?nYS481.@hF6l_*t^=o"ReQmuiihFPg"t#5L(H_tHe$c^ZK! +Sd[;T$BPP79'@Cr[hA/LYK!sML]I;G,!`Q^JGe):LRB7!000Tgp=7Ph7a?8"%Qn8, +)0_JlE17o]:(ABP0&li+La4)/8c-+5DK:h-aO0+UM;6ZWZ9-,QU6c[<115R;V9 +Z.[)3LY1nYA`28&kV:e;ckhekOKf0B5X&uXZW&/W?c:NFRK&]Q2`KFk*q3a3s4_;f +-S7ShrSPH!!-fXWhf#F3J,Pt2n)WB!RV3NUI6TRbmegnuU:c*aW*C=t>\`^W7Pk2@ +=15_6g[0^f\no&@ZW'QZb;7"(a`N!3.hrSP\Xe+["'&\d1S;q9B%#.A!GW3#SrJp> +a@+$'_6Ies>QgSl-FjnBo7,>eV#IQ\V%HPs5?`S)-2aAr*)()]n:/l^prn\YWu!(IFTX:nc.nP;Uc./qod)Y3X7Us/k/r)*BU9*p6!OFK;X:,=CG'dm_7=_?k[ +Vn=R>?C`X_s*&+6&*:ckQ/sZaV6?/Q9o[hjXT.D[TLq\V]eQTCDOp4!c&^,[_qk^W4^]e5tscpn(#@ +&)g&qek7TL5)ZDtC)X<\#+`22O)rh6*G=hp`M9brfGm$"CnEb[9h&_[/3FB9TrCRr +1)(Q9qGl&C9![07j./(-+Ve5lO;,r5g+3P?(_J^J)8scSk]&rP.%q +s0""tY0;Cas!^qeQl'[;.@We^hiA7)J<@\BSGD\[s!>j?&U^3+eGg:4Uot"KDa8.N +oG[;`OS6?N'>GfN"k$HSI4l>@Qc&B\UPbD9`Q+7WdK1CFOH#oD(JkM2J(W0bV5qC'B1Kt\VtE7j!*joDa)0#le6Y3\/=P +r3%k] +s*+L8%K9BH6j3F6.fXf=qf41`I+$=bJ.7+W!aNaVn-(2D_E\$kE`/)'9W

    rSM8fB.V"$"G;m/ +5HXqj1IjeTI5%0P"G;Q+JYZ$As/4'CL]Eg7!VnPOa%b!s>QkBQ'*!=P"YO!Y>;sWS +5Mu:/b^\3tN](+0s0ZUUiLg;8B0cHN,G%IWJGcMR&JRWks6;,5A8:)gALG-q]1@bX +ID+/1&gmW`>[C)P:/d$jG5*7G!roS_J"Fqt5F/3rX3CQ_2=kHll5qsks1Fp"fA5H$ +mT9DX\Ftu]D0!_P`rc>As7>h*jBqBUIm+n&r3-+s4dl=hmsfcKs3(%:3MA"D#)W@I +EqhlaP(juTpto`LAc?o;M#T&qDAiOUru3fY!d\9PZU)ST^gS=.3g;hs=>2E@#u)GX +o0iA,BP@7p2\Gab$2V]i/GQng?MB8rUNF,'?*5>9*u%K5JAWP>g\[KN.=)#u]AMe6 +q7T2nht\?#9-\tWn6e'H;#b_A@X]eVZ_$ONGF85`r(V2g/=cWR`P2hH5NK$$lTa/J +r]d4Xhc]:!>3XaCl<7I)/^KOq^:9^uD":B2I5[)o^#T#tcSsa\R@c2bIfo]]p:W`p +TF4!faCtdM$_WKp9,.C`s1a6ejjFshs!*.L`s,mE%f\:?L'[QcNs&eK7aHJ;]ghbVP1)k2.41@]O4m&`VM7R$J,jCIrUFKJMG09nH=V&ci]E1shRcs9us +YKfk-ZAH^']P&eXc/>\%L&Xs>l9]YURp"!HQ;ad9A83TV,WCRU;Ier:+d3a;a%)3m +\VM^S*m97fW]gLJ#`'K"Q?SAPCh'OMTMqLu"QYXG>0('54rbgf$muR?Op?kjs-!_] +nkWEb;`4C&qk&cHcMqc>+9&`fnLa(>DsI?;SsC>pDmb_dO.*7:&D$`N5`:-5T,%Br +r+d6QWq*@M7Hj&KPQ+$IRZ.e2q4Ao;9'O0MS?db+^Gtq/1@j['oqaeEH[56*Q*LA% +)ZB-*OoMslrQjlLs*I!%5EGF9cf+>rE\/Oh`E^h+UogP4K9V:RNgpSf;2:nT<9ODd8J;$FX5@"+_\'_9:?Fuk?p +0'=q&A6Ii4%O)(H:799So=/A]s727Q(A>kD;_CJqpR*kl:U!rEEYF:"V"mK2ZE\TfY,i;^H^Cre.3 +"Dh[:j:?N*7!/DQqTf,M\Lqifn%LAq;FG`J:2k:&=\Fl@6[MSB7C=!?Pq_E0KQ5&J4=j58Fju;pLFc!A"&NA%f>X +.2n3CK]F:*rVm3dpSYCD1lhS>Rfk#$RSK%U$7NC$!>,I"`&5AE1b":_\LP)+`HVVM +E4B9)`Z*L+[5G56DS+ZV:,fL8S[O#RTD*aE7q16+RI?Y3]_j%In+V+apO1nnXS-n. +C9]fBs/VmaX>EK?A_H]U`JgC"$g=Yn)ZI$'!mf1cQBS')LbiNK0Jq7#D-^4JV=H8r +R?W"RTjC+\8h86p7&U:+Z<4%a)X`YT&H!D8*KP!'\0dfo`ff%H>TIE5?ia(0"@L>I +'(5lcT>KWN#pfRR5j/'SG5n2,s,8T1_Xekjn:*R3kG.eHn$q-""hG*>T6;?>n5&gD +DZB$6ppWi=,8(:^#*X]u8go=Zc&H_5]hk*S\As:)(r=[9`DNZsRl+!:iiSQ\oqIM_ +^W$JXg\t+MGqh6b@-:>o-o]DVW!"7@hb%+'s+1EYfEJeXiV],Z>QFO0]#&qZs3m,A +Rr]_d]/5l_)Y"DIF3\F@HO"Qja3_s.XZ:]K?FT$n[sW;OO1'HDnGg9$?[aU0$R#?X +5F"S7%o,FtE6i0`/q=+erX[]Xs6MB'r8(&mUHWeU,6rh?+dDV+CVT&GH#o^DL5 +mgdVB4W=.dkl-'la8^9=nSN()+`r2NT"j$!tniTtt +\Q$9HNSd50"3:P\+TmgrM4"A4!;R<]iIPC]MZdUDeFPlGL!r2fcKOWXfK+`_(T,dVp(UsSI42CiB +i;ZRA1I-E2+Ph_ti@TS`![O05,-=`GfGF=dme[Ao!0dIec#p^#1dHs*s/h#k:]f:n +f>aoD$3-q&/q3Xnm')D@"E6T9l$4T[$OAe3L?CdW]"6o0h'q5uYQ-chi_DN9r9ql0 +Z8VVP_ZY2JEN]T)?f.)+e%IirSip,/i@b9R'GUG7I%Ndqh_3-/g+FM#dU5#cZa8KB +a@M-kOStpHFAF\EhoUuLY65I:+0cNbJ56Q-diu[.V+NRl(-X87#kj*M$6%"cL[>ig +r3b>i72(3ddSjN;D61mKC\$;@^0M`U!WMs6m9rIOaFBYR5Ki@W0+<5*1_SrcXpi"C +=tXR@YNs*q"MLd=hpb+JlD("22;@H^kc="4BmKK`0Q`C4IDQnHdKA#o6YW)DXO?GB +PsuQ#WRg(O(ND3`9#3nqUgj`#:F<&/P"MTn+=9Nc(XO?BLh[^CD&;^9@1,oi7Sk24 +J9a/`!84HK(RG."#\Z'p+"Vs3J+Cl"rprb_D>k3BjH&aPR%3s`i'6bm2W"'$!=Ae$ +%rMj0\kL"I,l@cB2=ul%f#G#Uq>;I^ZKrfrRjo/FQ:kTdcg,.%9c:gV7Z$rjt&Zm4lreo4'.d!H%V(+#qSRc4Tgbr^6J\Zo2o/YnR-*k!mb\TBpq& +cQoKl340?p#1T`It8A,sH,/M5CI14YGi6qpNj#Rac8.0O)l4m"si(U0D`XJH,WL_6;t@Ur#P +9H+@T69u?T;rLe0qB4k"5QL^.&$c0:s+!V!g-0C2hT^\-]P145Dn#ZGrf/AK\L39f +.66?OhZ=_Vq2_C9Qp7sb_uCGZk^9"MM;Pkoaa^'\N.pj&PnF)lYN`eF^gH$77X^9I +gb@q[GR<:`s,U;Oj!,cFI5+n,(`,1RM4KhCf9CsX5;7:3j?t9o3Xb^^8W?$c4uT"S0#]F^'7nLZJIcr81XYltuG0pqKL<%Png@ +quHauS3\:tGo>OY^8P2KBahanNe%,6@j? +%-EOD- +Q +Q +q +72 -796.5 490 262.5 re +W* +q +q +[1 0 0 1 0 0] cm +0 0 595.28 841.89 re +W +Q +Q +Q +q +1 w +[] 0 d +0 J +0 j +[1 0 0 1 71.72 52.89] cm +q +[1 0 0 1 0 0] Tm +0 0 Td +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.34766 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.02148 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.01758 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.69141 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.36523 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.69922 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\001) +[3.624 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.69531 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.36914 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\006) +[6.096 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 476 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\003) +[4.476 +0] Tj +Q +Q +Q +Q +showpage +%%PageTrailer +pdfEndPage +%%Page: 2 2 +%%BeginPageSetup +%%PageOrientation: Portrait +pdfStartPage +0 0.706376 translate +0.9983 0.9983 scale +0 0 596 842 re W +%%EndPageSetup +[] 0 d +1 i +0 j +0 J +10 M +1 w +/DeviceGray {} cs +[0] sc +/DeviceGray {} CS +[0] SC +false op +false OP +{} settransfer +0 0 595.28 841.89 re +W +q +q +[1 0 0 1 0 0] cm +q +1 w +[] 0 d +0 J +0 j +[1 0 0 1 36 805.89] cm +q +[1 0 0 1 0 0] Tm +0 0 Td +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.99609 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.66992 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.66602 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.33984 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.33984 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.33594 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.00977 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.68359 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.35742 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.36523 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.69922 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.37305 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.36914 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.70312 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.37695 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.71094 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.37891 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.375 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.04883 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.71484 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.38086 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.04688 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.38086 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.38086 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.04688 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.04688 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.7207 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.7168 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.71289 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.7207 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.39453 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.06055 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.72656 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.40039 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.39648 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.39648 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.07031 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.06641 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.74023 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.41406 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 453.74414 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.41797 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 467.0918 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 473.0918 -9.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.66602 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.33984 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.01367 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.00977 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.68359 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.35742 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.02539 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 253.69922 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.36719 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.70117 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.375 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.37109 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.04492 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.71094 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.71094 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.37891 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.38281 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.37891 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.05273 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 317.71875 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.72656 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.40039 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.07422 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.74023 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.74805 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.42188 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.0957 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.76172 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.42773 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.10156 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 385.76953 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.76953 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.44336 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.11719 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.79102 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.46484 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 425.13867 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.47266 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.13867 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.47266 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.47266 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.13867 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 455.80664 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.48047 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 472.47656 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 479.15039 -24.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 225.67383 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.33984 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.01367 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.00977 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.67578 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.67578 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.34961 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.02344 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.03125 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.70508 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.03906 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.70703 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.38086 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.05469 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.72852 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.72461 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.39844 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.73242 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.72852 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.73633 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.41016 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.08398 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.75781 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.42578 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.09961 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.77344 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.43945 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 385.10742 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\022) +[8.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.44141 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.11523 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.78125 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.78125 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.45508 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.12891 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.13672 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.13672 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.81055 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 455.81836 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.49219 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 465.1582 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 471.83203 -39.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.66602 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.33984 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.01367 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.68164 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.35547 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.02344 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.68945 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.36328 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.03711 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.0332 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.70703 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.38086 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.04883 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.04492 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.71875 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.39258 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.06641 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.74023 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.4082 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\024) +[7.704 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.07422 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.74219 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.41602 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.08203 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.75586 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.08594 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.75195 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.42578 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.42578 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 393.09961 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.0957 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.76367 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.4375 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 419.10352 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 421.76953 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.44336 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.43945 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.43945 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.11328 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 455.10938 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 461.7832 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.45703 -54.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.66602 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.33398 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.00781 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.00391 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.67773 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.3457 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.01953 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.01953 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.01953 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.69336 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.68945 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.68945 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.36328 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.37109 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 317.04492 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.37891 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.04688 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.7207 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.38672 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.7207 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.7168 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.38281 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.38281 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.04883 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.72266 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.05664 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.05664 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.72266 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.05664 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.73047 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.73828 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.41211 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.41211 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.74609 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.41406 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.41797 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.41406 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.08789 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.76172 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 453.76172 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.43555 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 467.10938 -69.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.67383 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.00391 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.66992 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.34375 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.01758 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.68555 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.68164 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.35547 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.68945 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.68555 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.35938 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.68945 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.68945 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.35547 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.68945 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.36328 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.37109 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.70508 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.37891 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.05273 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 345.05273 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.71875 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.39258 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.06641 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.40039 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.07422 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.4082 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.07617 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 393.75 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.42383 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.09766 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.09766 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.43164 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.10547 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.43945 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.43945 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.11328 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.11328 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 457.78711 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 463.78711 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 467.12109 -84.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.66602 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.33984 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.01367 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.6875 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.02148 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.69531 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.36914 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.04297 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.71094 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.38477 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.38086 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.05469 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.72852 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.72461 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.73242 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.40625 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 323.08008 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.07617 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.75 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.75 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.41797 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.75977 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.43359 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.43359 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.76758 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.43359 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.10742 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 385.78125 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.44727 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 395.12109 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.45117 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.125 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 421.79883 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.80664 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.48047 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.14648 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.82031 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 457.82812 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.49414 -99.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.33398 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.00781 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.67383 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.33984 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.67383 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.67383 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.34766 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.02148 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.69531 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.36133 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.03516 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.36914 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.04297 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.70898 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.04297 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.03906 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.70508 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.70508 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.37891 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.37891 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.04688 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.38867 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.0625 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.0625 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.39648 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.0625 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.73633 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.41016 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.07617 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.75 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.08008 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.75391 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.42773 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.09375 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.42773 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.09375 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.76758 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.76758 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.44141 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.77148 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.44531 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.44141 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 461.11523 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 467.11523 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 469.78125 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 476.45508 -114.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.66602 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.33984 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.33984 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.01367 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.34375 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.67773 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.35156 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.35156 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.01758 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.68359 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.34961 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.34961 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.01562 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.34961 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.68359 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.35742 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.35352 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.02734 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 317.70117 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.03516 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.70312 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 337.69922 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.37305 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.04688 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.04297 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.70898 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.04297 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.04297 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.70898 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.37695 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.05078 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.04688 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.7207 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.38867 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.38477 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.05859 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.73242 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.40625 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.41406 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 459.08789 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 461.75391 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.42773 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 478.42383 -129.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.99609 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.66992 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.34375 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.34375 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.01758 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.69141 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.36523 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.69922 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.37305 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.04688 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.71289 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.38672 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.7168 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.7168 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.39062 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.38672 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.05469 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.72852 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.40234 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.06836 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.74219 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.4082 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.4082 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.4082 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.07422 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.74805 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 381.75586 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.75586 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.42969 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.42969 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.0957 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.76953 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.76953 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 419.10352 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 425.77734 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.11133 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.78516 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.45898 -144.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.33398 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.00781 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.00391 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.67773 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.35156 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.68555 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.68555 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.35156 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.68555 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.35938 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.36719 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.04102 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.71484 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.04883 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.72266 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.39062 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.72461 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.73242 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.40625 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.08008 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.41406 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.08789 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.76172 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.43555 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.10156 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.43555 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.10938 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.10938 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.10938 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.11719 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.79102 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.45703 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.13086 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.46484 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 425.13867 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.14648 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.82031 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.48633 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.48633 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 453.82031 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.49414 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 470.49023 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 476.49023 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 479.82422 -159.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.00391 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.67773 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.35156 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.35156 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.02539 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.69141 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.35742 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 253.03125 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.36523 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.69922 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.37305 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.36914 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.04297 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.7168 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.04688 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.04688 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.7207 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.7207 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.7207 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.38672 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 337.06055 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.72656 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.39453 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.06055 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.73438 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.4082 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.07617 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.41797 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.0918 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.0918 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.42578 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 395.0918 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.76562 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.43945 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.10547 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.7793 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.10938 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.10938 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.7832 -174.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.66602 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.33984 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.33984 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.01367 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.01367 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.68164 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.34766 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.02148 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.69531 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.69141 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.36523 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.03906 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.70703 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.70703 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.38086 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.05469 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.72852 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.40234 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.07617 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.41016 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.07617 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.41016 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.08398 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.75781 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.42383 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.42383 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.41992 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.09375 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 385.10156 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.77539 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.44922 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.12305 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.79102 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.125 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.79102 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.46484 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.46484 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.13086 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.80469 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.47852 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 453.15234 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 459.82031 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 466.49414 -189.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207 -204.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213.67383 -204.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.66992 -204.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.34375 -204.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.67773 -204.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.66602 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.33984 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.01367 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.6875 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.02148 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 253.02148 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.69531 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.70313 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.03711 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.70313 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.37695 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.37695 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.04297 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.7168 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.39063 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.06445 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 317.73242 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.39844 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.07227 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.07227 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.40625 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.08008 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.08008 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.74805 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\013) +[7.356 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.75195 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.08594 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.75195 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.42578 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.75586 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 395.75586 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.42188 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.75586 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.42969 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.4375 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.4375 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.11133 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.44141 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.11523 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 457.78906 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.46289 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 471.13672 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 477.81055 -234.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.66667 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.67448 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.67448 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.34831 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.3444 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.3444 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.01823 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.35221 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.01823 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.68424 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.35807 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.0319 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.69792 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.37174 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.03971 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.04362 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.71745 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.39128 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.39128 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.0651 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.73112 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.39714 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.07096 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.40495 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.07096 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.07878 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.7526 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.42643 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.09245 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.10026 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.76628 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.4401 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.4401 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.11393 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.11003 -249.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33594 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.00977 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.68359 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.34961 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.68359 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.35742 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.6875 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.68359 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 69.35742 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.02344 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.69727 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.69727 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.37109 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.04492 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.71875 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.72656 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.72656 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.40039 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.40039 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.73438 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.40039 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.07422 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.74805 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.41406 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.08789 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.41797 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.75195 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.41797 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.0918 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.0918 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.75781 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 203.43164 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.10547 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.7793 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.11328 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.78125 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.56836 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.23438 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.23438 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.9082 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.9043 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.57812 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.91211 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.9082 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.58203 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.25586 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.92969 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.92969 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.60352 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.9375 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.61133 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.28516 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.28516 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.28516 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.95117 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.28516 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 359.95898 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.9668 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.30078 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.97461 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.9707 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.64453 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 393.31055 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.64453 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.97852 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.65234 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.65234 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 421.31836 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.98438 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.65039 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.65039 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.31641 -264.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.66992 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 29.34375 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.01758 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.35156 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.01953 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.02344 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.01953 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.69336 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.36719 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.36719 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.04102 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.71484 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.38281 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.05664 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.73047 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.06445 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.73828 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.73438 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.4082 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.08203 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.07812 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.08594 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.08203 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.75586 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.08984 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.76367 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.76367 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.43164 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.43555 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.10938 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.11719 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 225.45117 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.125 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.12109 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.79492 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.46875 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.80273 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.79883 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.46484 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.46484 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.13867 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.47266 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.14648 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.81445 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.48828 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.16211 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.16211 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.83594 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.50977 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 345.50977 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.84375 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.51758 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.84766 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.52148 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.19531 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.86133 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.86133 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.85742 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.53125 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.20508 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.21094 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\010) +[8.016 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.21484 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.88086 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 427.54688 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.2207 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.89453 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.56836 -279.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.66602 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 21.33984 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.33594 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 29.33203 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.33984 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.01367 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.6875 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.6875 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36133 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.03516 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.70117 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.36719 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.04102 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.71484 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.04883 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.72266 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.72266 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 113.39648 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.07031 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.07812 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.75195 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.42578 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.42188 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.0957 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.42969 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.10352 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.77734 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.77734 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.11133 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.78516 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.11523 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.11133 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.78516 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.11914 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.11523 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.78906 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.78516 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.45312 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.79492 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.46875 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.46875 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.80273 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.46875 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.14258 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.81641 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.48242 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.15625 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.48633 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.16016 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.83398 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.16797 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.17578 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.8418 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.51562 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 345.51562 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.18945 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.51953 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.19336 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.18945 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.85547 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.85156 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.51758 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.85156 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.51758 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.52539 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.85938 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.5332 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.20703 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.20703 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.87305 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.54688 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.2207 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 461.55469 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.22852 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 472.22461 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 478.22461 -294.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 2.66602 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.68164 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.35547 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.02344 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.69727 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.36328 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.69727 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.69336 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.35938 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.35938 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.0332 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 89.36719 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.04102 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.71484 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.71484 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.38867 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.0625 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.05859 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.06641 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.06641 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.74023 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.41406 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.08008 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.74609 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.41211 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.41992 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.08594 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.75977 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.75586 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.42969 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.10352 -309.58984] Tm +0 0 Td +/F82_0 12 Tf +(\007) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.00391 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.34766 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.69531 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.36328 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.03711 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.04492 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.37891 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.05273 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.04883 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.72266 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.39648 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.73047 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.4043 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.07812 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.41211 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.08594 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.75391 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.08789 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.0957 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.76953 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 167.4375 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.11133 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.78516 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 187.45898 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.45508 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.12891 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.46289 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.45898 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.4668 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.14062 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.13672 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.81055 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.81055 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.47852 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.82031 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.49414 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.49414 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.82812 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.49414 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.16797 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.8418 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.50781 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.18164 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.51172 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.8457 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.8418 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 317.50781 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.18164 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.85547 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.52148 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.1875 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.85352 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.86133 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.19531 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.86914 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.54297 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.2168 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.88281 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 381.55664 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.22461 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.2207 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.89453 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.56836 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.56445 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.23047 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.23047 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.89844 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.89844 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.57227 -339.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.00586 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67969 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.35352 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02734 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.69531 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.69141 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.36523 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.03906 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.03516 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.70117 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.03516 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.70898 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.38281 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.04883 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.04883 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.04492 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.71875 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.72656 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.40039 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.06641 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.06641 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 145.40039 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.07422 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.07031 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.73828 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.74219 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.41602 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.08203 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.74805 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.42188 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.0957 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.42969 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.10352 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.10352 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.77734 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.45117 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.45898 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.13281 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.80664 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.80273 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.13672 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.4707 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.13672 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.4707 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.14453 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.47461 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.14062 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.80664 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.48047 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.1543 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.82031 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.82812 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 323.50195 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.17578 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.8418 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.8418 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.50781 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.18164 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.85547 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.18555 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.85938 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.52539 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.19922 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.5293 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.20312 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.86914 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.54297 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.2168 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.88281 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.88281 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.88281 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.54883 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.87891 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.54492 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.21875 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.89258 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.88867 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 471.5625 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 478.23633 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 481.57031 -354.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\022) +[8.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33398 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.00781 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.67383 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.34766 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.70312 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.36914 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.03516 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.70898 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.38281 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.05664 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.72461 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 89.39062 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.05664 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.73047 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.4043 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 109.40039 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.4082 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.4082 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.07422 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.4082 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.08203 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.08984 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.75586 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.42969 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.42969 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.76367 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.77148 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.77148 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.44531 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.44531 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.44531 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.11133 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.78516 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213.45117 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.11914 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.11914 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.78516 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.45312 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.12695 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.12305 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.79688 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.46484 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.13867 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.8125 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.47852 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.15234 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.81836 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.81836 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.81836 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.48438 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.1582 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.16602 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.83984 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.83984 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.50781 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.50781 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.18164 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.85547 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.5293 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.19531 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.19141 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.86523 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 393.53906 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.87305 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.54688 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.54297 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.21094 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.54492 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.55273 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.22656 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.90039 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 453.57422 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.24219 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 466.91602 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 470.91211 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 476.91211 -369.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.68164 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.67773 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.35156 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.02539 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.69922 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.70703 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.70703 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.38086 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.37695 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.04297 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.7168 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.05078 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.72461 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.39844 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.39453 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.72852 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.0625 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.72852 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.0625 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.73633 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.06641 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.74023 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.41406 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.42188 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.42969 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.10352 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.77734 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.45117 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.44727 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.11523 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.11914 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.79297 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.4668 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.4668 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.14062 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.80664 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.47266 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.14648 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.48047 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.48047 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.48047 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.1543 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.82031 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.49414 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.49023 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.15625 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.15625 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.83008 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.50391 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.51172 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.17773 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.85156 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.85156 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.52539 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.85547 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.5293 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.20312 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.53711 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.21094 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.88477 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.55078 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.88086 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 425.55469 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.2207 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.88672 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.56055 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.23438 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.9082 -384.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 21.33984 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.01367 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.6875 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.36133 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.69531 -399.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 23.34375 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.33984 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.00586 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.33984 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.67383 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.33984 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.01367 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.01367 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.67969 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.35352 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.02734 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.70117 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.36914 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.70312 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.37695 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.05078 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.72461 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 113.39062 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.06445 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.73242 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.06641 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.74023 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.73633 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.07031 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.74414 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.07422 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.74805 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 171.42188 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.42969 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.76367 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.4375 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.11133 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.78516 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.45117 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.125 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.45898 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.12695 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.12305 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.79688 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.4707 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.4668 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.13281 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.4668 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.47461 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.14844 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.82227 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.49609 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.16992 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.17773 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.17773 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.85156 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.85156 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.51758 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.19141 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.19922 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.19531 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.86914 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.20312 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.19922 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.87305 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.20312 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.87695 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.87305 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.54688 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.54688 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.21289 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.88672 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.89453 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.89453 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.56055 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.89453 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.56836 -429.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 21.33984 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.01367 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.00977 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.67578 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.67578 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.34961 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.02344 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.03125 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.70508 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.70117 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.375 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.04883 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.05469 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\010) +[8.016 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.05859 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.72461 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.39062 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.06445 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.73828 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.41211 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.74219 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.73828 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.41211 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.74609 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 167.41992 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.75391 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.42773 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.10156 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.77539 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.77539 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.44336 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.11719 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.7832 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 225.45703 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.13086 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.79688 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.79688 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.79688 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.46289 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.79297 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.79297 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.45898 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.12695 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.80078 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.79688 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.4707 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.13867 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.47266 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.46875 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.13477 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.80859 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.48242 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.14844 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.81445 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.48047 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.48828 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.16211 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 359.49609 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.16406 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.16406 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.83789 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.83789 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.17188 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.83789 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.51172 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.18555 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.85156 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.52539 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.85547 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.5293 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.53711 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.53711 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.21094 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.88477 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 465.55078 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 472.22461 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 478.89844 -444.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.00586 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.33984 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.33984 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.00586 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.33984 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.01367 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.02148 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.6875 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36133 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.36133 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.69531 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.36914 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.70312 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.36914 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.37695 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.05078 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.7168 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.7168 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.7168 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.39062 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.05664 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.72266 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.39648 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.07031 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.74414 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.41211 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.74609 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.74219 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.4082 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.08203 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.75586 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.42188 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.08789 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.75391 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.42773 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.0957 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.76172 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.43555 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.10156 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.43555 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.10156 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.10938 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.10547 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.7793 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.45312 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.12695 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.13477 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.46875 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.14258 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.80859 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.47461 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.47461 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.14258 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.14648 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.82031 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.82031 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.49414 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.16797 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.8418 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.51562 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.18164 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.18164 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.18164 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.18945 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.86328 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.85938 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.5332 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.20703 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.20312 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.21094 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.20703 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.88086 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.54688 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.2207 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.2207 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.89453 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 471.56836 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 478.24219 -459.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.00391 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.67773 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.67773 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.3457 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.01172 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.01953 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.69336 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36719 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.36719 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.04102 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.71484 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.71094 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.71875 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.71484 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.38867 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.0625 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.05859 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.72461 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.05859 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.73242 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.39844 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.07227 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.73828 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.07227 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.74609 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.41992 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.42773 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.09375 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.76758 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.43555 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.10156 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.77539 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.44141 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.10742 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.78125 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.11133 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.11133 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.78516 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.78516 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.78516 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.45117 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.125 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.79102 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.45898 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.13281 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.79883 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.79883 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.79883 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.79883 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.46484 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.79883 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 323.47266 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.48047 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.81445 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.48828 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.48438 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.81836 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.49219 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.82227 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.82227 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.48828 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.48828 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.16211 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.1582 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.1543 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.16211 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.49609 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.16992 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.84375 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.84375 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.50977 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.18359 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.85742 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.85742 -474.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 23.34375 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 29.34375 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.01758 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.69141 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.36523 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.69922 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.0332 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.69922 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.37305 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.37305 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.03906 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.71289 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.38672 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.06055 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.39453 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.0625 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.72852 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.40234 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.40234 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.73633 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.74414 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.74414 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.41016 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.07812 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.75195 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.74805 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.42188 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.08984 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.08984 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.76367 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 203.4375 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.10352 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.10352 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.77734 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.44336 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.45117 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.125 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.79883 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.46484 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.13867 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.80469 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.80469 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.80469 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.4707 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.14453 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.81836 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.48633 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.82031 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.49414 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.16016 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.82617 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.16016 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.15625 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.83008 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.16406 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.83789 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.17188 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.16797 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.8418 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.51562 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.18945 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.18945 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.86328 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.19727 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.19336 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.86719 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.86719 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.86719 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.54102 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.20898 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.88281 -489.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.02148 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.01758 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.69141 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.02539 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.70312 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.69922 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.37305 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.38086 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.37695 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.05078 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.38477 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.05859 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.39258 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.39258 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.06641 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.06641 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.74023 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.41406 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.41016 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.08398 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.08398 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.75195 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.41797 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.0918 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.75781 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 187.42383 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.43164 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.10547 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.7793 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.7793 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.45312 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.12695 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.80078 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.80078 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.46875 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.14258 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.81641 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.8125 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.14648 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.1543 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.82031 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.82812 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.82812 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.50195 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.17578 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.8418 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.17578 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.50977 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.17578 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.50977 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.18359 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.85156 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.85156 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.85156 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.52539 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.19141 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.86523 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.86133 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 381.52734 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.52734 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.20117 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.875 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.88281 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.88281 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.55664 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.55664 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.23047 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.9043 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.57812 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 459.57422 -504.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.00391 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.67773 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.67773 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.35156 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.02539 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.69922 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.37305 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.03906 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.03906 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.03906 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.04688 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.71289 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.37891 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.05273 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.72656 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.72266 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.73047 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.4043 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.07812 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.75195 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.74805 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.41602 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.08984 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.75586 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.42969 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.42969 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.10352 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.09961 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.77344 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 187.44141 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.11523 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.78906 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.46289 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213.46289 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.79688 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.4707 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.80469 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.47852 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.14453 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.81836 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.81445 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.48828 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.16211 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.49609 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.16992 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.5 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.17383 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.8418 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.8418 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.51562 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.18164 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.85547 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 337.5293 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.86328 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.53711 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.87109 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.87891 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.55273 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.22656 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.56055 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.23438 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.9082 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.57422 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.57031 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.23828 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.58008 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.25391 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.25391 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.58789 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.25391 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.92773 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 455.60156 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.26758 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.94141 -519.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.01367 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.00977 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.68359 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.69141 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.69141 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.36523 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.03125 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.69727 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 69.36328 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.36328 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.0293 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.36328 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.03711 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.71094 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.37695 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.38477 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.05078 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.72461 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.72461 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.05859 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.73242 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.06641 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.74023 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.4082 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.08203 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.74805 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 171.42188 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.08789 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.42188 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.0957 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.76953 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.44336 -534.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.00391 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.67773 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 17.34375 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.00977 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.68359 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.35742 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.69141 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 43.36523 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.36523 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.03906 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.71289 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.7207 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.7207 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.38672 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.05469 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.72852 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.72461 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.39844 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.06641 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.0625 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.72852 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.72852 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.40234 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.73633 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.07031 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.74414 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.74023 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.41406 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.08789 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.42188 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.0957 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.76172 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.76172 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.76172 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.75781 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.43164 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.76562 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.76172 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.43555 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.76562 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.43945 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.11328 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.10938 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.44336 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.45117 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.45117 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.125 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.13281 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.13281 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.80664 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.80664 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.48047 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.1543 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.82812 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.50195 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.17578 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.84375 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.84766 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.52148 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 381.52148 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.19531 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.86914 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.54297 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.2168 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.88281 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.88281 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.88281 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.89062 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.56445 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.23828 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.57227 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.24609 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.91992 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 466.25391 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.91992 -564.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.66211 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33594 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.66992 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.33594 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.33203 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.00586 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.67969 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.67578 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.34961 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.01562 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.68945 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.35742 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.02344 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.69727 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.69336 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.36719 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.69727 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.37109 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.37891 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.375 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.04883 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 151.38281 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.05664 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 167.39062 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.06445 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.73828 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.4043 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.4043 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.40039 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.07422 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.08203 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.75586 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.42383 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.41992 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.09375 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.42773 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.42383 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.09766 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.42773 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.76172 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.43555 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.43164 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.10547 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.77148 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.10547 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.7793 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.44531 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.11914 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.11914 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.79297 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.78906 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.46289 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.79688 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.46484 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.13086 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.80469 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.13477 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.80078 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.47461 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 393.47461 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.14062 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.81445 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.48047 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.48828 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.16211 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.83594 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.50977 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.17578 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.84961 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.52344 -579.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 17.34375 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.01758 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.01758 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.68555 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 43.35938 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.0332 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.0293 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.36328 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.69727 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.36328 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.69727 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.37109 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.70117 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.375 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.04102 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.71484 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.71484 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 109.38867 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 113.38477 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.05859 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.72656 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.40039 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.07422 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.74805 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 153.42188 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.42969 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.42969 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.10352 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.77734 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.45117 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.125 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.13281 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.80664 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.48047 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 225.48047 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.14844 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.81445 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.48828 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.1543 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.82031 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.49414 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.82422 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.49023 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.49805 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.49414 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.16016 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.16016 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.83398 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.16797 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.16797 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.8418 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.51562 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.18164 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.85547 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.5293 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.19727 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.87109 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.53711 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.87109 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.86719 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.5332 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 381.5332 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.20703 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.54102 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.54102 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.21484 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.21484 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.21484 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.88086 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.55469 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.2207 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.88867 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.22266 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.89648 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 453.5625 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.22852 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.90234 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.90234 -594.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.00391 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.67773 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.68555 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.35938 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.35547 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.0293 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.69531 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.36914 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.37695 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.37305 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.04688 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.38086 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.37695 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.05078 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.38086 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.71484 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.38867 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.38477 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.05859 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.73242 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.73242 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 151.40039 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.4043 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.07812 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.07812 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.75195 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.42578 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.09961 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.77344 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.43945 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.43945 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213.43945 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.44727 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.11328 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.78711 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.78711 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.12109 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.12891 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.79492 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.46094 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.13477 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.80859 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.47461 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.14844 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.81641 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.48242 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.15625 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.49023 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.16406 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.16016 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.83398 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 323.50781 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.83789 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.51172 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.18555 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 359.51953 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.51562 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.18945 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.85547 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 381.52148 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.1875 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 393.52148 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.52148 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.19531 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.86914 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 419.53711 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.21094 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.87695 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.55078 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.54688 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.2207 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.89453 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.22852 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.90234 -609.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.68164 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.35547 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.69531 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.36914 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.03711 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.37109 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.37891 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.37891 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.05273 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.72656 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.40039 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.06641 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.74023 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.07422 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.07422 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.74805 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 135.42188 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.08789 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.42188 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.75586 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.42188 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.75586 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.75586 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.42969 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.42969 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.42969 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.0957 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.76953 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.43555 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.76953 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 203.4375 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.10352 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.77734 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.44336 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.10938 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.11719 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.11719 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.79102 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.79102 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.46484 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.13867 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.13867 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.13867 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.8125 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.82031 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.49414 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.49023 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.16406 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.17188 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.8457 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.51172 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.18555 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.85938 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.5332 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.20703 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.88086 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.21094 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.88477 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.55078 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.22461 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.89844 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.56445 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.56445 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.56445 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.23047 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.56055 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.23438 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.9082 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.57422 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.9082 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 463.58203 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 470.25586 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 476.92969 -624.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.02148 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.69531 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.36914 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.03711 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\013) +[7.356 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.04102 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.375 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.04102 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.71484 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.04492 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.71094 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.37695 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.05078 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.72461 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.7207 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.72852 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 109.39453 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.06836 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.06445 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.73828 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.73438 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.40234 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.40234 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.07617 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.74219 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.41602 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.08984 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.42383 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.09766 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.43164 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.43945 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.11328 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.78711 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.79492 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.79492 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.46875 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.13477 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.80859 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.14258 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.81641 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.49023 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.1582 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.82422 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.49805 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.16602 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.16602 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.83984 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.51367 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.1875 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.86133 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.86914 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 329.54297 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.2168 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.22461 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.2207 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.88672 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.88672 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.56055 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.56055 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.22852 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.89453 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.56055 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.23438 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.23438 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.56836 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.24219 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.91602 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.25 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.92383 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.59766 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.26562 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.59961 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.27344 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.27344 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 466.93945 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 470.27344 -639.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 21.33984 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.01367 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.01367 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.6875 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.69531 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.36914 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.37695 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.04297 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.70898 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.04297 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.7168 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.71289 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.7207 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.05469 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.72852 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.72461 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.39844 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.07227 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.74609 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.41992 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.08789 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.76172 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.43555 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.76562 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.76562 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.43945 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.11328 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.78711 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.46094 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.12695 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.13477 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.80859 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.48242 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.48242 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.81641 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.8125 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.48633 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.1543 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.82812 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.50195 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.83203 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.49805 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.17188 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.17188 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.8457 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.51953 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.85352 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.52734 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.86133 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.53516 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.20117 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.19727 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.87109 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.54492 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.21875 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.89258 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.56641 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.56641 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.23438 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.23828 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.23438 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.9082 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.58203 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.58203 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.25586 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.92969 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.59766 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.93164 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.60547 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.2793 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.95312 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 461.61914 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.29297 -654.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33594 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.33594 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.00977 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.34375 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.01758 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.69141 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.36523 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.03906 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.04688 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.7207 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.7168 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.39062 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.39062 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.05664 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.73047 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.73828 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.41211 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.08594 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.75195 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.75195 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.74805 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.42188 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.0957 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.76367 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.09766 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.77148 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.10547 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.7793 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.45312 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.12695 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213.45703 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.13086 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.80469 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.80078 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.13477 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.46875 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.13477 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.46875 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.14258 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.47266 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.47266 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.14648 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.14258 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.14258 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.81641 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.15039 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.81641 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.48242 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.15625 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.83008 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 317.49609 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.50391 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.17773 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.8457 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.51953 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.19336 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.85938 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.5332 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.19922 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.19922 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.19922 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.86523 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.53906 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.21289 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.88086 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.54688 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.2207 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.88672 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 421.55273 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.22656 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.55664 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.55273 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.22656 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 455.56055 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 459.55664 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 466.23047 -669.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.6875 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.35352 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.35352 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 37.35352 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.01953 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.34961 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.02344 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.69727 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 69.36328 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.69336 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.69336 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.35938 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.02734 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.70117 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.69727 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.37109 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.03906 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.71289 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.38672 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.05273 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.05273 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.71875 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.39258 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.06641 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.40039 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.06836 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.73438 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.4082 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.73828 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.73828 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.41211 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.41211 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.07812 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.74414 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.07812 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.75195 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.42578 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.75977 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.43359 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.10742 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.78125 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.78906 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.46289 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.13672 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.81055 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.48438 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.81836 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 317.48438 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.1582 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.83203 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.16602 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.83984 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.50781 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.50391 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.17773 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.85156 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.52539 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.19141 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 395.52539 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.19922 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.86523 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.19922 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.87305 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 427.54688 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.54297 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.87695 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.55078 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.54688 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.21289 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.88672 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 461.56055 -684.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 23.34375 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.67773 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.35156 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.35156 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.01953 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.69336 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.36719 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36719 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.36719 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.04102 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.375 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.04883 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.37891 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.375 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.04102 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.71484 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.38086 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.38086 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.05469 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.7207 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.39453 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.72852 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.72461 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.39844 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.39844 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.06641 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.07031 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.74414 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.41797 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.41797 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.0918 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.75781 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.42383 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.09766 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.43164 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.10547 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.77148 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.44531 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.11133 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.44531 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.11914 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.79297 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.4668 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.13477 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.80859 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.47461 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.14844 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.15625 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.83008 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.16406 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.16016 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.83398 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.50781 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.18164 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.18164 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.85547 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.18945 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.18945 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.85547 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.85547 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 385.5293 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.52539 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 393.52148 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.19531 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.86328 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.53711 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.21094 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.88477 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.21484 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.54883 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.22266 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.21875 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.89258 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 463.55859 -699.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 21.33984 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.01367 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.6875 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.36133 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.02539 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.69922 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.0332 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.70703 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.70703 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.375 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.04102 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.71484 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.04883 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.72266 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.71875 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.39258 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.06641 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.39648 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.39648 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.07031 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.74414 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.74414 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.41797 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.41797 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.75195 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.42578 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.75977 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.43359 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.76367 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.4375 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.11133 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.11133 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 225.44531 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.11914 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.78516 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.45117 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.125 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 253.45898 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.45898 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.13281 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.13281 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.79883 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.47266 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.47266 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.14648 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.14648 -714.58984] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +Q +Q +q +1 w +[] 0 d +0 J +0 j +[1 0 0 1 36 805.89] cm +q +0 -250 200 250 re +W* +[200 0 0 250 0 -250] cm +/DeviceRGB setcolorspace +<< + /ImageType 1 + /Width 512 + /Height 640 + /ImageMatrix [512 0 0 -640 0 640] + /BitsPerComponent 8 + /Decode [0 1 0 1 0 1] + /DataSource currentfile + /ASCII85Decode filter + << >> /DCTDecode filter +>> +pdfIm +s4IA0!"_al8O`[\!!#/mE=]te*!AFKR!#0X!E-) +'[!CQnf!#/pV@:T?&sZDXJPst(FE6e=s*eFz-l;pa'itA8\2.5i=s*eFzo25Ph!!!! +"(=.&61GSq1!!!!"$pjpo"lB:Zo-OG;#Ef&erK7-[qkF,jrM'>m"5EkV^hdM'EcqE +_z!!*-W!!$kPF^kCOz!"T&0!"]Hh92Y`i!#P\9!]#(8<*'&"!#bh;!A\t76V[U]!#>P7!Q4t2!+>kE!+ +c.N!+>kF!$D8>!(R#U!%e1i!-/'X!+l4F!,2FL!,2F2!(R#U!%e1i!-/'X!+l4F!, +MWX!+l6)!-/&^!)!<#!,V^I!-/'J0WQnd0^/Q[!)`ee!($Z.0\8#G0\%kN0VgDgAU +%!FG5,fZ!$D8>!(R#U!$Hl6?YO#rO73-G!+c.N!+l4F!,MWX!)`ee!($Z.!,qpH!- +/'J!$D8/!9!op!+>kJ!+>k*!(R#U!%e1d!+>kE!+c.N!+>kH!-/'X!+l4F!,MX5!( +R#U!%e1I!-/'X!+l4F!,MWX!+l6/!-/&^!)!<#!,V^I!-/'J!-<>YB0$#8!)`ee!( +$Z.A'^5*AVX%S!)`ee!($Z;!+Gq>!-8-U!-/'R!-S?R!,MXV!+c-Q!-A3T!,MWX!) +!<#!,V^I!-/'J!)`ee!($Z;!,qpY!,hjL!,2FE!,MWX!(-`p!,V^I!-/'Jc?-Ws[s +S/u!)`ee!($Z.eHEBedgX9E!)NZ,!-/'O!,2FL!$D8>!(R#U!$D8P!+c-Q!(-bG!, +V^I!-/'J!)NZ9!,hjL!,2FL!,hi[!)`ee!($Z.!(Hs,!-A3Z!+Q";!,V^I!-/'J!( +-`p!,V^I!-/'J!$D8>!(R#U!$D8!* +0(d!$D8P!+c-Q!,Nbq!+>kH!,qpH!-/'N!,2FL!%e1i!,)@N!-A3Z!!%+PG]Woc!! +#B)E-ZJF9hbU;!!!!)!"&`;!!3-#!!WE'!/ +:Lc!!3-#!"Ju/!/ppk!!<3$!!*'#!!!$Bk(pXBl +.E(2_Hoe1,(CA3\WGQ&2(gT`!#^BW!!N?&!! +*'"!Y0gQ!!N?&!!*'"!Z$S9!!<3$!!*'$!!%g&!!<3$!!*(m!!&)\!!`K(!!Fu21, ++dl!!3-#!#,D5!ZmF+!!3-#!#,D5!]#l=!!`K(!!E9%!!&/_!"&]+!!*'"!_/=S!! +N?&!!*'"!`"m]!"&]+!!*'"!`kHh!!<3$!!*''!!&/g!!<3$!!*'2!!&/h!!N?&!! +*'"!a_N"!!`K(!!Fu10JK.#!!<3$!!*'#!!&Yn!!E9%!!*'"!W\kq!!E9%!!*'"!e +@!T!!N?&!!*'"!bS/;!!N?&!!*'"!cF_D!!<3$!!*'$!!&eq!!<3$!!*'"!!&er!! +<3$!!*'"!!&es!!<3$!!*'"!!&f!!!<3$!!*'"zz!!*'"!6>-?!!rW*!!+i/0K2$I +0fh$H+>Gf92)[KL1&s'`0K2$I0fh$H+>Gf92)[KL1&q:S&Hr.7!]g;]#$1d)!<<*" +z!!*'"!#tt=!!*'%OFR<2!':/_OFR<2!'C5>!hj:LFDs8o05bh`@:X:cAM.J2D(g- +BE%`pu0JL\FDF# +`=A;U76Z7!V+>b]-/heJ5$6UH64E=tE3`8@8+F%a>DK@jZA7dtKBQS?83\N.1GBYZ +`1G3TdB.ku"3B8`H1+tC1,cGWJ<.Ec$#/Eb.EA+. +C04B!J3_!poF(dpZD/a'(F('0)Df.`G+1_cAi`gX7Qq/A06fO&D/a?'FC@??!<:dR6N@/g!%;)SAnPdkC3 ++K>G'A1VH@pm)L51SAMNX0fQ'Rc(R@9kFUnsrdW2Zf&Za@-K\%&u[_Sa=2`lH0Bb0 +nbge^i@)g"PEEj5f=akNM0qnac;Dp%J.Tq>1-0!$;4A!s&E'!/9Ll%"PPE_>uQ^F20U8+N\VPgAlWj8t<[C3QS\[oYq` +5Ta:aN;TQe'uq!f@\d1ioB+]k3(smlLOQ=p%J.Tq>1-F!"8r1!!3`7&HG#qr%bV*\ +&O0ibT:BE2\(B1c_Y?RKs]E=-J'g-G3bNP?bkg&a*`rG>ckghAguhnF+?=C:Ot'0? +uAk63T3=`5;>D,`e+C-m#(WIPXD#3N!&n(_r7Pkrr>u?&8pHo$CP6h-tAT2[PG!Q: +=h7eDdnB-A(NRHG'[?6\4>#=\MO>!e&&+3ce>K)d6+]6!9bQV`1IXS3&IhFg\;/n8L@"b1tOAT5?5`D@+-C= +K=g-(5tM(+s_@Ecj#_A$uE)"ZX.D9Z5!+:!lR$sp(ZmM_&#"Q9Ph+m-A)D/&@7&+i +rC"CO2P)-l^0::3TL4"e'F#>bN61B?@TJTM?)APW5W>G45GSkkJH>%T9hdbJ.cdT' +4&p,ZIC"c36hPcEE)k\;:IcO>\Ud7Krrn]\f:/9?'P9!7X5m?g9&?RLiiU8dSh4Gc +IM21#@>)\F&RF;cK`#\c]UP"5QK.96#Z8Glr$c)4gb+<$:I\\qi=ZMMrERIMO:R+J +j%iib,cO'VP6j*)jqBtbbtO&2F+6Qeh&LZ[+@`PA)D?EBXJIu!)XuL;pq)"P1[^'T\a +(!F$"HWW$2q-K24%lRG)eB'rZC@AIP*-N.>ZLENl?Ii:h)@CUO#.Ka>3A+_&`BM\P +A$Sq7\f!J57YpPb:E@"edL6rU];7XPB$.K+.I8i8'?pi^4Vci+0upB.sPjhQcGX?8 +K5Cqi+k8!f8+Ao"3>'%2-KS9;bfu,3)-Za9F&hpSh!%E<]AE?G,_N/(.9KMFH@4`7 +LpQ.,.\<=%or+;L-.t;C%)Mi%uL3_Vd*FD/hT$-%^(jE[%Y8IWWIR`=)m(X'uB/cJ +^_8!,hh;ll^%iVM?6@K)_qp-Ih=pT\dTehZPQKh6/d+89%`XX[]?488Yndc1`(.WK +k-\uFiQN,o]o[%*kLjj3[&j>.u1g(Gs&$`DBV$o)81>+4Y*#5nG]gJUF4a&39%D]2 +^pH_,6t[4B905UTF$/To^,5IE9tlS*&d7Mfc=! +.:2?Nl=2LU)8N\)ths4Var"%c2:J>epRU33FMXOPAJV1`^NL+?>:`fp_T%GoZR +T@+tpb,=koPYT111+cT;d2nj_Q5UV"cO'>\O(upMG+O4K+cpn5bJ2A_)a,/2MiC'b6ad[4!s@>M[A=>QN37kqp7I36MeFa)o&T[8.gn5jK +(f6maFcR[UmqL+g7u4OX[b"8=$_f_7PY7"hkLEX,<^FpjUTF-eU6 +VFc9&D^X:,RE%IpAOD?LE;_OIGmP3E#-UT0&h%60qlaKn.'g*("_)_HcAn[9XjNH3 +i@U5Y2k^oghu.5CjT!`o.GjQJF+J,]UT#EY>F^QlmqUaioZ_W2oF!4M$]Ci4Gt\JKQt*rIE +3b=dh8tVZR(*TaOpK>BEcRI%LI.$,B+(?kmK^E*9r;Vr5,04nRk/NEb_L]()!E^32 +:VDGgM,69atekg3tqld,<"SGPE%^''r0bafk9O;'_W8HQDSj1SAY.2;b%[Rj7b-/$VpPS*\&J3&*rFR[k6-i>2U" +)t%F\_QNXl8t3dRGiW-c$uOW]LNl,;78!Z+e/STg3Rh/Do1rFHqO1'.=['o$iF/e7 +@)ldq:[`^EMu@4k62:!NN0ee;L%Y:M;lk7UZ9\;lW;U6BCHl"KnZ))D":k:pfdFY[ +d(L@Q:TQEA))qAiTJd6mgqh"H?l5C3"nf:6]SZoH5blBF(_AHXA,J9CE(.F$n7.DH +CcXipi#.6)LQ&.SN[qh44HA_F;L>:D(=jNP^if!$qr\nGpA8of%uDE?])F[hs>ZT\je0UF-qFWl/a3a=(%01ZdK=kg-?DS[NVf_K68j'JAE;=eB$e5,)k +*)_3nSG\')nitSY350b?n-a%P_+=)q,^RtHpmLCJK%?k&pSTraYg?;af`!0J6X_oR +>9(I)H""qPRY_:W;sgPa,NB-_5,q$g3)NBbTSl_@H?2[-\W,A=*?SG.]HlJ!+aFYY +LLZNpNAJ>GT&0J;NT)3Ih;N./&8_@Bf`*GQSG*^6jj.#_^ki\n(PH!nfJYBBHQX1K +g$]b%]n^7n?qm-YVO./%YMH'pcHObnHp]MKY.V@WA5KS2#T1FYVIs=mLd7mk6-f*k +]9!/VQ$`_g4R3GT^Sf6>?hIPb*$_ATHg>mqAQKr%2.R:]##hJj&opHdbN+eJ2)aRD +d)d9rZ+b4\"4`;;rYl-@PK^2)8B1:\mW"2JpLn1I!=SP/&=/rgJZBU*?OcIRA.9sR +aQ"uP`RD4mCO4.%R3bZm\QbELK(Vn.ZK6%$9im!HIMAmNao^JFX(g9p3+M.p^BaTA +,4[0:DN-J[C=jk77dmuL`G3?kGC^p*`(`tqV56aakKY=MTlQ/,7Ztb]5\(+W!1*?#f%'KT!\cq=.C/34h3A`L'`]#pEcK>\ps2F[' +RB.i]7hP6E'X,tTA&!m_r[%n,G<3?r\OWlKd74F?RokOU30&l&f"b[CZlOn'%*o=I:]U;D<9T6gI9A:Qch5r%ip%C;Vk/P&1BYa +gsh`m9Q`fi&@@KH[D:l%gl?_"l2EDO!\GK\\0!4iCp5a+m[R^DI +W]#VpP!+^eD\l[@uB9kic@9)o=$'s9OX!ZEQ)jDC9[]dn<@+2S`TgA">!0:>:]aVn +.YoplrF`k_uS'&"4jBZK'(L21,M#US8nQ/l`432,4!-mXn7.!Y\4ad:-nInC!Y6CV +JK9"[lJNLHI)j'bj\7MbCWr]Vn^ZO2'4h[bCU#nN&Cl3r+krNrXIW^!.n-s1B.?+Q +2%QB9)d8%GbePg<]a*^-BG.6NqS`*2jhe3FVq;err@YJJ&)CS&q7s[[J0%LiST8HS +i+4Nf>K7TFRKiG?0[DlH6I'kO^?mB!Jlj(]m8m'!e-9_.[Zfd<0 +\FAQ%P.BnrLq!agi(i7p.tGsih)$6*,e"el+Ru'SYWiWTm?Y<#u03<7hYh%$:]e+3 +B1#8$"?0'ah;WPrrDBdCZ9b9BO;(\BpnV`4%F/Mpu]lX_?#V$1rYTd"7e/lF>uBZ# +Nr#='?C\70&F.a"Yr55.+jcM0RJ3-O2AS[i+J$u&pRdDr7A\"]HQ;7!"aAdgg9f"( +0^S!g6\,ORp^+7$+U^"+mA951Q9r7hBDikrr?JpFA'+4rrBj\NlLoA;f45%-UP&YG +)V8\AL0feNM)ej;uuJiSh:j'.*TSR`]4:=d[MT)Q%4uaWoS\U(%h7fL%.7uAap;KD +)so72rWr=h[asp46;XfIh;Cdhc$nF!iL&iEOd6D+GM,2@,eTUplYFu-g\sS=[hiWj +.Q1,F5cG@D)E."4fdg*\tOoc-#6pAq(78T/dTO*iA:T+S.dI)%NU)>)!@Qk-:C9T` +DLf;Q>S5#5@e[EHn"RRML7rZC@;].dp1:<]J4O5R(aKg;UY-b=!\7g\WT?^[K&i>5 +FA(-L#D.X5PQVX^u'\B!4C_^'F2FF#/%A6`f]3J&8;pRL-810&Dp`..f_>XRMIt.O +gc1S[W*5f!MBs]elYQXXG!343N8Z%3Q,GJFlt`fl,!B"i7-Z;b"+j`pk'N&_(4Nua +j,4jT>JEBA1)Jf0A3C0A2OddQYoaW-hRMTB8@O:D1:Eg^"uPK +"M^XF,jo9q2gMEE/Y8dqH$JQ!t!=k]XEk&D8_(Jq([M/XWOoor"*f)n%fNp56nPGX +^fC]9^rSHg$=Z@6IRG:d#6sErRhNZV?bA7o2#-,rrDs/TAdQ_'F4?+rLuC^nK2*-Y +*5^[,h?#N8=N5bN]HN;rm]FLp=qI!#L$4G%DW(3F.A[!r5mB0":WZ&(",sq4]IJ7P +/c<1D!otD"]]/A5X(J3!;o7b!/!d*#C&nXqX1I-`6XAXWG*'uWmY5,8P4H,TGG +VfH\Me!l?=3i^i(2X98HhG@,^jj1*J)K.$!<3&84T>CjrG1D"Jc6g;n&.8YQ`B;]H +rc\h<`.SV>hqmPQh$eNAfJoDA7GTNH-bS!T:eIr[cV3Jn^`4NAVcJoj.F>hq\+6ZN +^*]:p8qrU@sIR4q&&;d`Hn0CDu2IZqcA6qILGq#WG8m\27JG2>0]dN@9Hpmf87se0K[!YRLAW't<-0'\2i#/oF:^9 +T7^-n1`)!BDpQ\g\qK1rr<2cdD+V;hmMUAnB8j9,h2`@@A\9Eo>E//@;-J#mj*)g_ +N>S$=TT[&R%>/Q!KLgqj84g"*B/4oU1Xr0EVHg;X$]LJ3:9.!"+Wna#;uA6qg8>C_ +6,]2Z+oXnnH7cHLH[2&*\r;h>NBesgF46s`iTH/u8nr9O3Yn:1?IbP#cA(PZ>Gr$gQLD +![j#7iL8UEUHE[O1DHFomc`a(W4Fgpc+gn%GkfFN*d!jpgW)*L;bcac[)l"B(L#S! +&44iN^Wqs,/1Sf>c`fGIVoTdC#UX'gLO@s\P>buJ[,!!+/OHc;h)Ugrr?\YK`s:b@ +0lps07b>i.FVgd;^hgN>N+HI4/O#kDEpb76Os%WT8h`)^%^Y+Ikpg:X\KVH90di +]r\Bqn(=#duJA_!RNa5UOdca?@kLhUC^M+[2"B4&95e#`V!IJ?1hQ\p52> +"`f'ho7i1cu%m/gb_'0^O9T(OT">4mH6pnHBX;OaYgC`m:5[@in@UFnTWuW&5.^gO +2cL@X06YVP2Xf>kX-d%'47o/?gqb=Jp'%QL&4JU&i8bO!#tna5pWB&Y+!9Pk/[Dl5A&+=!5OGpU&P+#+8?upVuH`#$ +Lf-rp&>!lGi$W]n9?b.2guL5hb]<.Q$6iBlAZI. +_mgZUgu4B\PLk5rX+q\\,H]OnA=q:5I0.RT]oV`rh.uHn6U?_*C<8eO\iG)6^1I8UIrF5$+7N3))e_:im58>1Qo,ro=\kr"c/IJ%o](!$Y +)[tY\jnBqd>bX\DHj8gebu.*i1*"I5@n18g1]@^oU'aF:AVs&)gc+fc=pZ_8UQ)?J +>XX$j'F14h[?JQ\@#6)aFV`i(a+cukA"! +s2N>Ba7AQhLI)#-9HI"0%4&p#r8qacuWBFgS4M +,mKS4hQnHbJ9<7\O4uJaIj%GQbn&i-kC+ocNA1HWlq&Lb:lms<_cHZ)`[O/YB8C2@ +/g3KG[jI?:tI)"L=4U28Fg!1Rn'Y4>i(J;/U3>qf'e%GMk)'c.+lOMNSa_rTUi`)J +3:R/6FMI:$s-&]IV'67572,oe[$fW[G#I;@UmaZf<)2'&:[2k[kZuNTT@T^>Hmp*4CWra_B_Wk +Ul3T/e-9T@9`e6.tPe/?13i]QF?QQDZkcZm9kmWcNK2>lWgoU(KL6JOkKN4b$?W8a +Ssq3?'3?g#Z+L",EdE*A`C`kLV\$W>GTN6B7"dHH/mJ+4:=XS4s'KM!+[.!o.PMkWkQR8'Z% +tg/dc+f+J$fR$2:JfNJ/NK!R&Il^]b,c6ba)XG&9R0=N8K#N:HjBZO"<.:?Jmin.r +X+qN:PmpLpof1GC!h0+b0'_a:S-!HNRE#_&dJMo?%F]-N0B_(Dtkj_!;mEN_B6!^n +%a:"J\&%AA\%T$ictA[Y0V64m'b"eO[bNY+i8b@q2fRUKB`G"(]Ferrr<5In-Ak*+ +8-QA[t+JYB1ne9a%&dn(?\LTNgD&^g;H^6&Tj)X.ab9%oYsuc:)/M5%:$0nAlO%$- +:_uT-R\R6^N'8Ri3@e$5d,i*n5#\O,VP"'+a?TOSPS5mKkJgY>u@dNMUph5^Ok<&EBjq/gR!;%a5`WV5A-%6E +dSGngYk@7C!1U9]J$EiCCqkoV'L,!Efq.B+FMT4aiVBVcQ(ORY,lr1nZ?^>^p<6KZ +*;?=i[D>//ckn[!.R:\chnfIiD10C5pqB!/`JDofY$Fs4I/Wa4HL0H&/ELB#EY;ui +uL[o:AD0q!!V?[R/[/&0A1urSf7,PMKN28>e>Mj>2&9\>ag)cfmf:JK5`=*,:m+d4 +$g\#ik/Xt$"s8<#4$XRrMokt@6]G&'>>dYIP2V;N&2sU/,MtRdO56W:.0J?!K-W4O +.YoZ:[J&LX7gB"ritBC%i%[q*A9aj][Pu/ClN*&u%#*Xr*i+0_[@'[ttnl +q-/QHbt(FM**5[petJ1O'^7W%8Tts9fWd)Yg!e>0.bsj?>#R]:*#09(&#\cDtke0_ +#FCj*X%O.d68iNB>eskn,EA]dC757*n,jA8]`3Irr=PH[f6>Z:]CF2$++X*'B&V94 +t(m,\u)1%kr7#Gl*KW?pMFD]Ub"9c7ZKnZ3\`q31X@3)mB=11?hcRthuN93fm%F*e +ZG2P[TU"0V(is-VoA+VR^Kklier0,?"Up=)(e-`gUI[)FNo8:Hmnrc4pV)2+7NAS! +pfjdZj*4sC)T:=<;oFU7GPKoD&9]2cl:NK/8ndhV^(C]=A;Q13shH +ijk@i?''7hT";GMI3Xi,Vg4gBe#pa'%fCGRf(5+!.oTIa>^m':p8Wcia.35=87Qh) +Pr4@HoYZ?6m<12.%a>J?&Si8TUR38NiX1g!;[r>%Q43i4r4',rr@XGHpZ7F&:!f`h +Bge5eMK@T/8Qt?=eme;G3pHgrXb`ch(T:f4*QA2BU;V$ZK<"#Q$7=eWlt_.O4M'l^ +Yljkn4TC-5I+)_'!oVB0_e/6hH4OH4nap:OPN"2/;qAtUc=(-.K4f +qlSR1i's")_kY[WC,OU0E)8#X(D;2"YBFH-=IfOLc24["._LJ!VqgA)Y%a%ShIbOZ +11mqnKtMdWG6W\MHWDc2)Tq;A/=mD5b^]VrQkfp._BsUW`q'Dlp#!$XPSE[?OIO_V +1tiH!!u*'OO::5-Z#3e,9M,Z=oe,#!SGS2iVQaF'r%!?OuX,/$B[/qKB^X0K7C_I5 +IDlVT@iK'qscV%rr?cZ(?o-5cn>5(F/Hd'W5"Z%QS!IkJe6hs.'14.!;]d7%3$q-W +Yr.,W*TRrBDt)+l]6GFh*:CHrrDCGi(r+Fp7$e[P+:;RkF1.pgrLc!/j)2Qp8N;:J8"EDtQQ2=KX6`$nR?HgoSnVOF4et, +6O.\J3QTtce>_akD&B2.CJU[Bi^OK,FP[@la^/]g3HY.`arNm)pg;Wm9^3FgZ$8,1 +iN.K8&O'ZY-4b[$h"EUKk-c8:rR3k4D$jMDaqg)1',09GHYZSdJj1LKCJ'k#N;WRD +iMLG4tcW*8@=].De#a2OND>YPUVcR&rAB>Jfd.(C\"+XO8KU@0+@j\_-&lTq_raU` +-rlW4ra9h9T*#Ze?+pV[OA*9TF,cgHiihTf8=^A'PZ"Zf5^`?OV)ZG(',+eq28b`#@,mDC +d7E)GJ]=A`08O+mta.k[$+FF<_KDDD(b7PFZD$!d\@FN(bA8Ec#[56J)K*&8&7@sn +HQ>hLZ>k"R5F[be5FUrdc-]>@>MAIa,RX`7TUGJTF\9Ai/@1$F2Qn>=,(g("?)l^D +55tE5V-DfNNGiH^M/`h?bO7p1"*e<4tG&Ze`<2tdoBl!FuOC@\EfcV[=/7._'m(VO +.,P8'dr]r*uBAVHr]]dJF2F4\^PZ&5=T?=Y((Kh,^Y-+0Cac(]UX&7E'As+5N(8!* +,,2VVP!@uj1ucX$DqOF4ZZ_afnher7(Z_ia".TQ4IQ9H&,lnXidV=@b6>UE5]\5O`e;mDWZ+S+]1srXF*UrM8s2`J^"N: +eOHJ6O&B_,/!$k0Rd0cnu]cp?,>=WKd+5hrr@Y&J&+>HIJY#^GPHC?:YH'6+,(fR5 +8FFQV#E![di-rh6+;P(/)LSu/-$YDAI!0\3hO]9O)sPUipO3gi@bp\?8M*MO*<4KU +MJSJe%=LOn:?F\9d@;iYnG-V#TEiRhJtkE-iOFEqZgJX_*GbM."!hLaXs->Zo\Z1' +6pES&Wuc-52?Sd[P/b:MF=3^j38h:MZ/2,!8rDL+7T:1Jc>^[m;##_HYX@][BGH@/ +tUH:1;"rV8MWm#"Hl6!"+eo9q>UHp!!MNc!.k=NC9d`!T_PGDO,-t(K=k"?r?(o64 +?7P^>U8WK6Tr,reD=ZnRPVUO+]N*odu9k3p,E!OJpVsp+7N.2!U;j*p^-!8DZFM*/ +u8/8W;kE'lI3?TEk)dk)N#Ue`s]mL@j!!S&FQ@\%Fg +3<6m4u+W.g-:M7opM"*"Q"5TW?;ep07f]TYFk^trr<2irr@Y$rm(@`RABURp4Lfd4 +XEdF0f@gc/BM_3OKk!+D]oI4o3'_/F45^2chnKdi@""7q`fHrn/dkl;"(RR!49b?(Zh)[3c>VCJK#Rsc=#EmkY?JR2:cRC!:WaEgWF::o +6rFY3i:8,&GV^V+oi^/+ZchETFZ&B!.kp_0%,1]GXLN!Q\-o5gRCo1i[r`X2til0" +BSL"1F9P+"<`9)4Ru)0?[,!N4K7XRcNif`nO*#tpo.c`/JnBmfd#^U9CW*gplaV`K +?.9l(rjtF-,ah?Fto7.<:3RHkTT9Z5DEMJ5N&KS&52t'`Es;X(i-^;Yn1%pqq$\lF +O%Ykl6Ec-N^8enF!*I+-j.$[!.t4NGW*IY*tZ1t+73cRLtMW2Ye#Tt"Nng,6@CYAE +S)3.':LM>P5oTh@J\UIhu:ZZFdm/2"C:7.E62TBT +I5`X87PXckF"H:`RR7QNQ"2eZ90M6J&,._9B"&%]m0GbdoPI>Pc<-f!UsUZcS-:u>a&?=WI_pTAr +rDFrX*A!l>(?G`Mo.77)N!uMe+NMo$TKc5Z.'>&R';li[ZDaRMO"5N!)F:0p$_eo- +h_M?j$2qWnD7mP1T/-/nFOU7m\k])fq:o9o@P"0&cUBZNdmY8!k4HR>'F/qVp%'6)cQGo12r +`8u5oAANn6$s+`c2RbqRm3"6?:5IX2YKCQ7r?G+ZMi>C(OJso-+g +9*QkjL8gJbi`p4?S1#n=oeM,rr@YBBi][&rr@Z$rl1kRWg)7Jd%/_`P'Em! +,r1g5l1M. +d@PFfm,BJ]QXY0Lk-hE0,JH_PE%0cotTFt+0ria.Z[0M4t,+AgeB:D8S_aS/20&"C +m%4bW7g26kE/"Nano=j1:?Xjm*Xk\2D$i@BlA)4\.F(Z1.dGb#8Qacr"(C:mH;Cs5Y1l3*aK:#TUh6@L&ANg>Q]-=6*./:kcS]mf# +h)&[,`2U#KDtq(1roN)8&gfA!VEEGj?LYui;We0N\?U6?OOLQXZ`J(D4n>6WQ*\:8 +<7MJ>l9N0[NRWN3Q>sj%I4feBsOrlnc\O6G,g*@O\msN0Jl +X/*_r"l-F4r3W(r#8M7Bg2amUsT#gAT-P(ZI>$nI>pIum5IF5rafYh^o?N`(`9I=K +rth#pM>Beo::@Oa#!f#cCE;CU@1N1h2Wre!l%_;*o/=3>e@hWe.p9s%4g6$Lb@)+q +ToBH'(-T5:I2rlQGLi^0M(8`<:Mo:.k+ILk;bYR[.6VcLsRZ4Un$Rt'&uT2B[u31J +hh:/n$/uJ%E>;IdtV(G]85s$rr?0/9#C,bjt&hZ`rX:)+'_j5KnFkkfbk-[DPPL'& +"HH$p"fWJ"q +#!R/Wl#/u`I+rj!!K7iXknX+13b;I'M2`5G]dK*I%QSe)l\B*4Td7*J%K&cZ,m6BS +=0HU[/U,YRm1K1'n4bA$[`'7rr@Z@8Z6lop@i]qS?@_Bk"4TV7;!c2m0&B0/*Dug2 +llo`q>3GV`4te<\@c\U8,*F0%es3<%-lPjgL\lOV_9moBOamZ:0;/NPLOU(S6+rnr +"L>Z?P!'?pb/gX9+4$nf3U#P84"06S=eb"ccgVRqUa4/b*#t]DqbC7ERV#i>'X.;7 +H8Sc*gQQKrr<1bn[[5#Dnk"97D$";L2@"<7^[t=)0qqmHBWAt!K_gnIPps>2b +Wn6(aEcJn3q@T@YKbDg,R'\[nCM$S(Q!"i\@A!na(N9[9`65Dm)X,)!-Hp'c8'[e4 +g@6mhu"IrV5CNt!!HO$cQ(>X_CKsN^s>?6YdcoK>lGK9^Zk4sf*gn+N.8X&Io2j-E +MU/F!.ltRDV`A294E-^:[inN.Z7%+/,mf^\BWop +3tit!"kTBn/@A6:hopC\V*K4%:pI`DP_`j"-<6SR_M_7i6g`jIb_[Ng]R-B(-H*a: +m:f*"88Mh$6O4OiJbEgNc8=],oGog12m\E?a5$[T@l$ZZFb$snF`G`HCQ9nIbPVGW +rC2U0S2UkHW;:RLll\<6X!j%M(/nk%OKsB;bT]lWWhD0 +``+S!B$56#PXi"r'QQ;)J.:9YO5bT!;Qm!#R-mk.]BS.U-=YdfBCJ>59iN#f0q`V#J0d*k'K<2M!_k7/VnL#G%.``a!40P<@I4r?VJXH_H)hhtc?kMTrG1rtiQ$R(]Qs$[_g3k[C +q#UD)SLlt*O1[N2iTEU$IK"B-KtB_W6S@+Gg1Zgrr<9;rnWmT[?p:PWp,ruln`l.i +7p-`G/dC7MW44N[4@AuL;U#q07D6l]u>GmJ&)Qn!8rmO')do@%X9ehLW1tV,l[i`p +!#@tDC<)<+RmTV,fl:;d:C9;W=pOq1AoE`k7dsn&t3L=nE@66,`NqPncC:k,MN^`! +S@fj(%Ipo&I-fJ&)!;h! +5TIEgO'e3O)8j9$pHkh(f?;OY!545_LOhmGeD,r%QPeI#O,S"rrBlKHn2)[58V(GS +%W5h>\X3<&YPEu,*:t;#UJsp89'[T/+7\@Wr1Zk^)d4RK$;*L`4rWhQKkX1n?M@XZ +89>5,MT,"!;gfu=7)07_ZsR63c303(8kp:>cD:uN+@Ni&Pnu2B9@u=\Hh`(^o,ErH +KU.cp`KJ@;kWAY(PBJ9#^eA(8#II(=uYnj&TB+a@YSsicjZO=qnTu^7a=7@21/R,! +!Hc<)JhXF">$=m57t'ZP_)FWbK_X*fZL!,*1%Yl#Npm?([o2k^*TEF?+@Y&9dZ(oF +%s2t"/>o-8-F,9!$9\e%6AdD1(H<\o]aVJ/,oSQc\(V6)#+1Kf^aJ>C!F?4!d3saliE\[s?I&[,G"L6Ag7.Bri(u['7]O=8jHV.?pf_]H@F#X,G"c>S4ghA+M[;>)D6r +^'ffQ[dqf,qT&rCekE9-(kTo4 +hHa#a7I./1m6";LVM!ZVb]W5H)&A?BY!W?b$'nk)]:Cs/DEop&%+dp7*9s0>[,p-^ +2.S'+=b$S@U=iZ2'0@iO%GliP">M]#g+kIkHXF!!*&`30HL`o9GR/eI=#S?mJd0=E +dT+)q!\1hUZ)/9iWbC=CGltI%^lPKrN]37i0K'l`WTg`Z0@HZ$%+1\[t3F]?]sFdr +r@QVqqM)Z\!tM>!.q_*/1:qTBj0LE4oYN0m>plr!VESn'SH*'n.10O!8tI2!]4,"% +d;=80?:Q5F;I+_MV1nM6q"^DLQ$1>Z&#i7lsEB`+n:os&R4sHnRfLRAb^1TVGA-`` +7"(MZ\^RRN$96_h"qHS\,H`"i)eDmi2ZeWZ<)i^9$;/4hrrDg@n,*cuiVroF5PlYh4tZR&-\uY_h+pn];]L#JOhi#Y1hm::=Fm"9,hM>M` +D?:VIN^\l)KimSrrCM+Y6b..Jm56Lq]"b*fu5Eek,!Ji,\8OCVdm6sJY"io%hemBL +jD5i=a4h257^?F]ftH78kF.7i7uK4H!,->\8fhPnd^l`!!J8MAqBs^"`07XpP5oa8 +Z2=hG[7_5hTBf(0jH=b>!apYQ?(X@,ZjC*:]u<'4Cc'PXTTE*rrDOgag^'D0h1\c>15q!8t(Gn4a9TfcTo^e\3J[4n3`QFfV,CKNYC!3>LR/1M)FbM:;B>Kh%I +O4NeX5b_F+8BUB[;N'dG,N4TSie?[BBX:^aim)!/%#lWL!4aF5cF^'Q,J +@]9;HUM`KO"OB2!)5D'\*KR2#Dr4j:\_Eu.q-bhAJ:^5pt4d!XUQk'@_j'Kh_FIXX87$um38n=AX!aF#[HPM!;HKnfIQ[G^AW]^H +*6q+7I\lrihY.AcC6Dnh+`Nq0McSfnOeHHSY\rK2ZQn!`p`[PpV\`=ZfBA^] +Q*J@m58"Y!THa(HJZriH"BXAop*Ui'eHF/qAnd2pR$W[t!=r?aLpAe*s!iI +u(6li2#3H\a_>-/hH"1.7T4BVC_0Jng<$,/;sfQLLZBKp4)iiGO:gq*.HDo%Ib\$l +k/1knE5^G25a`'ofOT[Nc&sfD^)4EBG0^#UMucKblDL._*Ln-WJell\R8I@2*6:7K]spN_bbrq\U[8F/P*o(bGoBDec +8*?a@pNUD$-AiEI`jeP!6+$oc(rMtj68VmOGRmqEAYh)9m:V%o$p1>I +k;e)-tQWlPFmaa@#jAW6A]1_dDd&iJ1)Ah8tXrOH[F4FnH+6b14Le1O^a-NK#.O13 +"3F.I;6E@!!.X1+,*.]B +TRq7q`lT:fGGb-k,`7Q?*3HF.^=j[lOeUnT[Q,Z +LB)`Md+bCZ]Z`=Nh"\A,`r?tmi_cT0I2VImp?9J_E[Nj&,7O8_iOR?n%uhpJ$imPB +/bb@%h;aql]Fcs/$#P5p+uh?(GS6E^H_7C+QRUgGP])P('jgFQf66kGbuR9RXUNrl +WU0HH"Uc/h>tBI1sZO0M^(PT*S;7f%pgXcfBg!H!!`o0,Q3As!,!l>^gFH*g>2L]X +R<50cJ$Rk;UK>lEp.&F-XpMBJfEk:J9!1**s7#/_&i`+<0dumNtgi^HQ'+hYuufaF +2l3FNXn#B1&E[)!5WHY5M7^`9^pYbHi`_`iAZTU>GpHGT08^Lm,Zll=eTBV55Wbg"B +OT*b&WMs-@CUX1#H`Kl;1ENQ"THgJ!V!M;_2GAKgC5%`e>JUW>2RP8^f])-Gq*jjY +uj%Wr#L@Xl1LT37CMtcj.-(B.g`E)WM^[Pg^tL20V$5,#WTt]4i"7gIr8Wg.!P#XF +o,Km&(^a\A3FR#[a6jl&]K+W_.09I8#P-EmeKkVA.%:"kA[*`%S&D@?aZNHYP9EQm +E;M6lB\%S1iJ/\L66T*l;q.jL9C1Eok6g<`i/A0E#aW(!hM3#ae00E[GUa=BAqtN] +3/i3'%ChGOe*GPCA+T(4CC-1^@?=o!5VgG?eEujpVjlca!=jVNMq4rZ +G4r^]A)GUNJlKEgRFu^1V,GbPYcT"HU]q&H4RsO(B4BN.'L>blJ;rUpks+sM)>!;T +%h7c4r_#Af68#=jfJI^Ah.u"RjJnO$G>9tOn0[m&I\<\rL#l]O,JK#mlta>Bm$6:= +)_F>G?:!Gf,CVrNAO'r7iSgDU))2F+Cq`^!eu4hmf*9=_10:A4op,cTC>K\M;A@0, +Hc9WrrC#ArM@38XB/^J]@5f2dV.]b%5NHjJCl.?)!'<-VP1"9L6$\*o/(2nT5R%]b +C4]>f.ZnLhu"4Up+QB;5@r`0?Of;3h[c.Q;6+C([lQ1#D#?3bei,PIj`>1"Puis21 +s)#5N:,H4+QN"L`;V$de208NCp##,lS:p:mHPNAo)aG'T8e=./q+3'k1`GVFZ;6=o +j&M2f-E&e@i!sX +fSe`^tA](6fini+#'iri"s=k+5s-b6h&RCHJR\edkji5=m?gOR"+UEu6 +U2YVm7Zs?:\[fa:&*V`hA3[q].H6Gb".\sUNErqpG-1,O@Pd].-oV.X7%/*2/D4?K +t\4LftS/;4stT-9(;emf7Mt5.;u?l1!'@pDj@b_HfLRmfC;)Dk^7a;STe>j[7%U#VJ9EKK +$MO%`#"Ni6$"g=9'm6Jh^MrlN(7+b5Td%Vn5;;u9Mk0%>A_cNr4f^,kbZG<0?.*L5H^g8#a1&P8FXj[H/`;Uj&C]t3G6:jE9eU0=Q=8pS'%e*9l((]?kX/YF9B +$X6"-dsq7R%tA4@e5rWKT*GD,]\Bf&5ECUZp,NpAIW,9@p]rJ"hNU$L&6"Dh6c.Qp +*:0g^+K;]]LhT;=oSJR^O-^ac%Yo.]8q_2+Ro@!eR4F:"G1EBo,0h"gC?J1[h*d$c +SP\!?)@I8n87"::hfn\nAW>t.@AOH;?nrW1.]=R1!NGQcPC4q57_nKSPrM:@'U\n_ +`[C1)PXF"gugZc?6u?D)#]]l-^?eUUAPUfb(:L"][gR9HSut=oVruN5A!^Ecc1GAH +pMX%4s!(^2Id0H\u\br?"7K+QP*dOJ08rbq%s#;XntK`)Yh/=>=Q("KtIRJJA)or5>-6!eZ9h3k +>o3X:e]m"9GkU*;'HI(Ilud%1',Pt!5UQW)X0FMrOI@nh#(ZKm2cecHqe1PCY)Y:5 +Pe!I];&%iqSMu5<3Nodo+oY>rEOSg`S+s^,F2[H?eF8O*3YiIE0A865fuXq4'1A]V +u.25>lB\i:Y@BinJ.!ui]iCrBDrQkUR+#9b`^!t0grX^U.#/$H4nQ3O)f_G49PT`" +AeugIN.!H>PN,%nO,$QHStHe-]2j$Bl55/BdDFQWh>YeGT:=G5-h]18>:C4j@J6`9 +1^?^$Q=P98aV(m?P7k)(;*eGG_a)l(G.a,HYmmV5!$6c!]Sp*5j/8DO7"`$L?NSl^ +='dSPJ7V"Y7'X,9H(si.8s(RW@ZmQ]QT,K+5O5j2ThfnTLg/F?QO^5$3(!;>K>SDQc>UD:C^]\C24II-VfOsV=,"m- +d11n86c3]ida6rmNJ$'^G6Qg8L1OnT//IC#IZ*ao,Ybulj)i`(jH_n#mmPX3kS>KT +A")SKc4bZ)7-Pq?3t#JTR,jo0oYi<9eM8-?_`N;)7GL1^Rq!6rX[5eqS9 +j6E(b:dgtXBA'5E,jHZ3$7o@>!Zl_J(dZ:$_+bXM"@$YIrr[bN,dH,p5iRBSkaM7^ +E3CTi/.I6!VQHmN;Am]/$B6V;ttq%?#r?`rrB=lDQIaC2rrC$]bD/mddk7"[[iBq,TFa-'8(N2SAH)X^LbD5cn4V]9a +bi+&58A9P./a3magoa'"1Xr=Ed4e&d,i0*6NBCm%RB8cP2Gb9:Onnk_QS]d$SME$r +)N:MO6o&(itsm8p\OUp3I@q-m\hc/pJl$^R$^a"1m+m"s^W6j!P@%L625j8KAb!+GhqA ++:PZYf-Me@Mj<*0On=Jq^_H'a5l-*@JH%4X>W!1[SXlsUgp$:MYV2a$aK4T`h+1I9 +@A1mY3R,4D[,L%:2NHE[k2ja8&6n#2D@,4-_>9?BEN2P$;GiT5INM(jC3uOJG`$r@ +:R(g:YVR*fCNkKnH\t92C6-$_B8^j[JSSU!!OLLnP@"dg69E/Hqs4/WT/`Fn5"jF9 +%m6&X_/0sfiWraI)%Nk??,V@_1.5.*sPhWYLoKQ5P<-3!^@C<(#R"?DE6fho51VYG +iUJ$*.Bn4Q"Tm--'*a`3CAI^JI[HuH/buOSofbJO,+\6H""+i[r]%R>KU3'l?[o%9 +>u]>4RZnYma&Ha5OaD#^[HTKS94Y9pG`!hV/k.Zn5rJ@b,^XV^ +9i[JI?G9B/)d[bpc];#g2WV0ao;?]^5)^gJn"Miibs?si1`FGFV!-b7aq92nIdjcP +=s=WjRTE1'l-bAKU,El![S6b8'Ctr1]dKCrr<3HdjM^+!.ouTc$'.$D\fj`Oj4nb+ +T=XXkU=Z]^,k[>pa>rUrn62:#K(J@^C>R1qfhrte,CHDpiB:cV'UbBU=Sjr(3Wa(k +?tg@^_e%me/tsAr"iGp?gS/6%^2[Wc5OHVr""4U8SrD*h$W)ZC#pRUOL/g10,nfN: +$[AH/b4E&dgq>4/cHL[Q:m1:/sgZ^Nl0"Sq;;/WnTSuRrkl<0g9n<]19ecjMW2Bc:\ZEQpVW&GHB^@\#'lleik5r@bnV@#Vrr?-irrDs3NoT,#M>e<,p +:@DhiV(Z#_G`qkX'*GB9??'+o>7)d_&Uf,m;,UO0-6["jSo5T/hQ;8^YkW22S!6K+ +FA:f&L'XAi8nt(CZeJ$J&0@_+,RB[B"t\(a'C=U0)&Sp*!7+0$$Y-cMpqg\aVEn:! +:Wr`par\'^M=A5,@:.hi'.ToZbh$LMIV_6g:"=%5#&OcT.s1_Z]IW]@!\Cm",-[SK +;8&E+SZ]K/*^sSBrR(Ema7odM0uM2Un1^P9(.`Y*i]`cr4ggbRP3@XGrpYThY`?'4 +Nua8gA_0B>Yk,C(W1aW]AVT5q/,URqcnU^GUh/4cWm]fZ]a*GZ*m3>)og!D3XeQ4j +[nVVrrE$)9cs9J) +rpq&i;%b:rX=]Ue)']`;/*(Uo!e+e='u$eZeqW7c@2Yh\Nf$)+o1gf3>1=8&orGlGe<8 ++"Y"+aEnC:Q+?nG+LMBg.`n9ApDcLNPi5OO%l\4#REPl25->U-DQ\m[(i +rT"*'ql)-N0')T]TrY8YF+!mI[kj$a3tdF2Y.Xc)(atCid`E`/rT`0WX98(RN?1Yo +,T%XE*VhN%;]85^M/fs4@%qi?NAWact?dmaoo3XK7'ILcV2[i$V,Co,KgFh5C9M>d +&l.tX*C/*pCaK=XuA$:q:;qP'Y/mfn>`f'OE*R^>g^2C,3i?Y>SuKFi\7;@A5F*_j +3iHB=2/1ipbe)`p;d,nIN*Z5*uhU>!PEcQgZqaOWT!V">9bWc0eA$0@(_Gemf">Y_ +4D%n:BbP1[AWBsW605L3d[g#IgeXGZ6M%36hE@Y(cD.orr<0OROc/J,PUQqer1S%K +5D3]UB!Xl^uSSFh[lkaVss]d?@d&XrANdjH?0aW!<-<>AInPogZ.2YET&p*8)R*/^ +tNFSK04=g^8lN/2=&9)Y,c7TQU%@]bg&N-^upbkrL#n.dN=Ht4RmWOXZpMA([/UC1 +sIO[l+2V:MldG:M`<8D=Uhqj`$2` +ubDM:f-3O'=\<7V1Te\Vm#&d77e.!fXlBM+bTS +T!W7)"Lc4,C/+e"9K$^;A!Qc9QVOmo<4.'i0Jg%O2J^Jrr?`ufV9kH^,pKurY)QB5 +@"1E!VkdRIXf2:hCnhaIq9]BHs"sK0R-C3p3m=s`Uq`$G^er'k3W8%Z".X:r/K:u/Yi(d+j4fIjZ2Xg^^Cun4!.m7ZIk$E=]JCan#'#u9C\_PJN +;]XN+H0RJJ+<+q*%:;8R*l2'q2dP%aNaeXkCLl_d68B%pli`Z-\o&e12;.7V/)p\K +gOI]i`1t"N;Um]MU]5!-0Clj%SY_^"-19ff(_n8^:X83HoBHUPtTqXZU]RG]0o:Tl +lu\`K"paU#jok:Emjk?\C5BbD)G!SEMqX=B/2/$%h,WTrrD*#CZ#-li0rQm8fo#P! +5VDo/U3>nT*@0f$>?a?G=YG/npPH$0hE@K1b+i!QYCh.S3[MCD9ai6.hH*,cKOYl"SDpgQ&q@a!J$`k.ItXC8nOJ7TT7ZT:C[:]/Z +1QF%JRCLcI@ri;r&r1&pcj)"G>t1&'f\i(I-mnrrCcR/[N@p!!f"pS<"6%K?nAe< +]7Yk!!^#`ef$`+2>!IDpiS9B-BY'Y`"o4T-m\;!JBe@FfC]!?N.=aOM=B8)f!OId$e3_%UqAe%]Bc]q0!7^+.X"S_UPi:u)XUJh-1GK74>-H=rZHp +h0R55N,2H1\!R#;R0Gt;/Zs>MAVe-8.o2'CBR)J4jJ8#M(I(]b[/)rkh,?3q-!"&,])f6FN3dBcJ%#:6I[%he.W^l#5+ +*5CBfM<7Xg&D$Un@Ou,6fhSN!HN&TS.k<8.h?hc:oM +ed+tPMrCR4.,KZ/s>&#Cr%*Aj!U*3k,`;O)kB%P"Q7NDU7UXBOe:3T5<6L:K +6)I9?23o`:GEg,0hA,0:?a,gO)T04I!2^@=I8b0,JAP.J&/l5gh<=f([W$tSRPW_k +=LsANl;e5qB[BPjb*?[lE[;[4X^F(hu4*$doQ5$f>7%?h*nfk.k?5#*Wi"iEUSECY +J+kjbm[9eL.#F!i$,p#rrD!;I6uf2p3?@H*SW?lHsS-nH7cblrr>CMlX-;'!XI)R$ +2M&6_isE`[@di1#2RK-=:`G0o3^i?iSg[/fAa`R'd?EbYfQ5k3To9WoY&F!9cF\p^ +uOaLq7$&4MF@!d`W#qG9!#5UB@qj20:=-k5+GFSK`;%g;1(P#O4p'me,`$`INA3@' +h:EHUD&4R=7_"4l%=4F:B^[tbEO+F.;ScGrr@YZc$-)`EO)'(q;b>,4sOJX9ulV9F +mLeVIlH6pMLWJZVrt89U$r!]9U:2a]Qjmg`_RYcOo1Y[*--T4YK9m( +bDNS6M)WM*BRcZZoh;7*ut2TD$u%b%edn5c+G0AXD\gKEp6_i18Q'"EVE7X4m2qhK +F-`7.cEo'D:/rumd'22p`X2:(]5&dp3]h_5piY5.fag%FIDnf]Rfl[aI`d\D[G;@I +G;\=No.InI0\(_.ETG:?.`7le'&A2sFCnr(R0?^OO)<*Y,OH`8@o0Ofu_DR +Vo+bb<$*ME,d2:f.]WMGoVgk]<4Xtk.a?t"5p45L>EiVd(CfC"br;=TXV7^h#p9RJ +\^!4%$$#8lX'ep!5X&)Q+sg,Su.TeG^^lO_eB&MYF&(7%!Ac$8Np-d;4M]g_LOcK! +;<8?^Yp43S%Nrl1l_\W("jZXOQ=>F_YK"5jpj_8g588?T6^$V'^9P!7m]>Kqr3BnpF +Z^0,qAB]1,8eN^cP?$Vr"c>)QWO1eJl-oEK%4.spbqfRUBN7O'7`l^8c\cfrr@Z>I +a.isrL1A8q^5Zs*:U.er$_Osn6OhrXLuP%7f@6lruTrhqPI3''ZP1Ee;raB?Daj1qQ +P'1NCE6%D9/rJQ7SlLON^I\,!OnTY^6/EqJqj:*_/MRarn@+=$*LpJn:OR4H_gE]` +0U8^Q@N:;rO8`Fl%l%)H[&DnTofpiMg9iC@]Y'qY$N*s4Al+Y"V-tc'A-H&0h&!4k +a*tSWibBt3+,4#i7I6Yr#@T`EmMc*!!rQ*8S)aS%%\R9[A%"n"DXldABTOaR71]bB +ERK0JR@nET*0O`n5Z?dVJ&1-[$bNc9\.q,Ji,UrU3"-iAV=T,3$TQ+7htV;r"VHq$ ++p'urrBl02=3'957sOIItTpsV*lnGepKF8l&EudC8$MhgrD:aa"UE0UC\:L+<3*@o +SsTr2']UQb*7s.q9TB9j7.o?A)WKg58/9fFOr)hdIj!@&A"^+[D#0VSX)1*&dOaR6 +4uam!&k;p&RVMen4q=)+HOBXg;EV?n0c-rN.*,PU3o,`0,.N:[c5V(nFSMN_-,*Mp +FZfL +k8#>+JafZ2>cS:!!^CA!5V%p&))C()pnQshb%auFmrm6LJ54c>Bs'uoVH_ccL#.NZ +'g8=Nf(cM-4Vhh!;tpVXhWfL:CV[TpbUpe(AKuNO2O]#[(D:]2L;QX`O'SgZRYtTV +VUW9n"%D`$(S#HOBDF)qe,gLp]^-liI6Ca_S'1IL;3MKG@]0-a04.Kkuo&P&K$rYg +a&5pdQ[&]6s+:.jogYC!(gPe?QY)mDo1u<,k&^S9>oH6<_2oqg=s_d.](>7-,aL9^ +fV32(*d]_kHV5PPP2E_Y<61h@X*OCBB!Hj@T`C=5_HpW-)HJg/@I?-&Y><@ +'%ch1.Mg^blJY><43Y8J.L5'KKlii_gd2$#rGE`p_1J.&j/&1T*X]NBsndqi +;;%t=qm^6D)BY6DKIomuX&fqeCMi^fb)$gC_b0JEM]^L9AL&V%VIrr?qB#2f,XdX4%cK +7&)fqE1*B--h^JbC="_4RXm*l10ZF3*&MdA7Q0cl(RuhG]7"UCG1H,,Y)irL.J(X$ +=3SfFnpXLO)nYkJ&/eKP3Cfm:.m/omno]R\C5guX!G#Eo"WLiAHN%-!Pfbn^>p5bT +:Pu^3WSs8p=9,MFFOYmUZ$C`$XOBKGa^3NnMM.pGk",YG^FJ<-!3]u'r +rDGaTQlpR.J1pnr(u&rZS.m-qq)e%p5o@\f]'O_rX/8TqlO)Chm;17%^U/P_-uA+K +u0jE>En"a'lnU2P]AfdgKRn-E3B,DrZfA^GqPBZ@-II*TBL_9pm?V7Jn4Aa_MkJTF +RRu8^)ZVamHO-Op3ue)nN-F'8&:6"Hq_o[Y8)J[qSPi*47+4`#1_L5jnkta,@H.qF +2@f?6u7pPZ'!i\p%8t?%X_nR$QBskM%DD`@`c\N$OAs0=KYsT('MfARRHFrT-r +:oV,"31?@i2Q_V[g&Vt\,H[cn_1n!?O6WUpbGM"$/`bOCDP=!&FCPi(02dlNWB.Oc +7A_I[%4@q\o!p\9$O`'IdoD$l@8d@X_QI;n417I(c8D-Hl[>-F.JsDF6e__=DY;p\ +&t,^9eHsR=O7:6co(9JYMapbFchM&hE+^+CSge6Be?OU;=MAs#pceNb_/( +bcKP335?K$%,CINQ!9"kR@.=ng8UaO7n%An*O-E^ts[i%iOS%bW]86WE\d.*n11^( +84qCNIEj?J;&AJXIrGF)NDP9^H^Z0?]R77^ouI-icX.64rsFUiX*Bh[?\D/G]"oTQ +Ga0sL(_WUOtj5"'cTdcWQ511pc%5j#_-MpLs$WP^[RQTK-$E0mVDJ'rXAf,>lN8\) +%Z[;g3CnkFUPb\rB^5Sqciib`ZMOrM$BI=?fG[X\qQ@&c#p,(CCRtA9QnT1JiT7u< +QP4iaiA:7$ha]$W:.)8fs=,p07Fdd8^nm1)I#1D9fl+1k0$U'c4'uKtN_(9sHT+6?Y08;LsV:M>a( +6taS]$G^Mqh_R&I.B4>4\>'9!-T0n[.UPOO6sXgpl^A-meD6&2Z7f_?Q]9u+10NY0 +DlNfi4k.$HmRe:mBfSGk1OV/8X9b][%*775m\Ll#Qg.hah\'+^I%8,pBg*EU_rH_]IALFQ5#IY$Ttoi+D-ZhiT(Vg`7W:-9*I6f^!Vq*B!!RrP[ +QG#Ymh:'^rr@aIWQ4"Fmfn$V4a-Z`=<.,E*nBhe^g^ot!CnBL>5Ij+J+-CoJc7h%] +oKCGCCYqR7enUClO07=q?JDH>dj7DY)St@5fi,bI.@4:"k)mNp-'VtSTV+>IqREj> +'rZG2^?C?fdkqN&% +j-%6mVR9ILS!QU+]V(TA'fOc?^78Q7h=@p6MLf_:\`Yij)+27NM:ej]91P(i +n9nT3p4h\G`CLY#_>+8-saPo1CK:HBD/0L4(\,nRB3IuXNDF[baXF7XtsFV^[O_]L +%+A7*'\1t6c\m=?.)+1-;-KU(fc1BWg<^ne6a.X]a>fh$^Y+tQ%U8n#r*Q+2H9]G%HW'WYieoBL!I#"D!5Wi.B$UK\_fM]"b4ESlbmM[m5gq'o74`D_aQg9pZd^lkp +VhL9Mu+TD.C@R^2Lc/u$A"Hg,\W8@=J4jForD9Bm!J6*`>6>F`'4_o'6O\: +B^5cZ!X_,naF7d)_gfsKF4H?@Ps'bJ-RIjfB7Y]&i]Mbn3gXQ:nQJu9CXB]HoZJLp +j9uGQJ)HXFpU8lFf^nocQ0=4#`T4UOLu2:V1+6TI`t"d/[n/cnGC$6UL91p*O#bh3 +[FcT7t8@rT=*!ur\$Xt%h!b)nO9%W5DJO-[Adff=7*4Z4L(-$X!,E_2R+uhOd5q8Y +LGeip\(6K:W+o:?52o3pt*?Cp<=B(H\ilsD5N.3b#$tTC`[BPhtT2"i2;?X-i3u/R +]"('!"8"ZG,&d3N>Bn_b/QC[b.5#dGncJCOA]$L3'F>/T+?CiIg:J-X:3tn^)`OUY +dWTNqeVJ$:33bEBEP9Jpkdt?+u@:!4TXN"'"a,q&u`S%-[,X+A,V5_2#(tGiX`s\m +4DY]br*aPCR[nnSPgtl8Rs1Y:,B8/3TP:cTJ&N>DhQ`BnQ^Gtn085nX?Wt`)mXmX^ +-)DqJoq";IM_dOn`0=onG`L.*sZJJ[YNg['#t37CNtHj(niN)i\SUX!&?VC!9a@^i +2[q41`m9VHF(!*28(X9Dtm>(-b\8MEg%Rr>Gr#%PJPQ[r9!o;amc]ii*b6Uao;@D9 +4,EJn5jP]Do+^?^+\8JIa=SrnE5LLr$_)Hp%iC2Me\U@3+0VF\(Qg+ebC6UmQ^KB1 +t'-`ft[j'0s(FMi^nNYNP7)UfMa%%a#X/"7uFk'&migqRZ(_1%e@IK2l#NK09p_7HpiB%/$q/,[/hCg?'+ +W3?UPCP]:YNMPW$s/Jp_rApiC`NKAs>9nM2a5pkh.=0(/H0l=Z.@cP0d.P +;u0lR1tc#\EYXd_9`$!.n-s3P5&tq`&Bf-]"O"DsY,XYK&])LIOLFE +X3np;Q&8,o[Ta];9op@+(LG\0[1/OcT/cMr\a;6r"CU?JG?J?lf&DTBk%pLAitF@X +AF29j]D&7QsUg5>T=6`lTcO_9,>ka&&'RS+-(YQjPTH2rr@U+fpU%jnGC-FBES!54 +R7BYn"$'JRep'Gl>bS1[J)I@'hQkgKBT'Q@fg#@1;Z/id^CpGJ*g +rcFS^!-P+."B(PRX!;1*e))t7)>7<1V&L"Ep8A.:0@5nn3-*sIi.$nn/g$:'k8[[C&8`Y.%>Z/7G7r +Su.*rrD!ZdkoWR_AM+)N8pX./\E1"CQ^P8)tNlu#('1ldYE!%mK$1(E+4n2m?hsbG.hqA#0i21[5f +6s\P5-`;Wl!L`Gn6Wdt4($Y'_iWY=B)>YioK]r/-nB6VB>E+T,gf6S_ab1.44X'OKJ3RnL;S>RXh-1u.n:!+^JWguSCrS6ul]J ++t6!r",@V-gY>Wi=Co/G+l,7X2k(oLLI]II7!^)@AJ=ShBne0iX.@G?6-?0&i5OJ# +Jn1E;\.WLp=]DO5N%e#RV0\0fj`:FIK7%0D)K'>Gj*qX)(f9-R4dIIS]%rf=]*7Y1 +!rQ3F'jk\[#HWNHA$H^cD.$XjFQ^CIr(acDo6q:Ma+L[`'4\*@8uM1^PD7Em1c&m0 +9f'>9PspHN^)56p,i&;q]+o?/sH0(GW/jrNS^^E*QO[WpBT=8Q$`4j2"QT4`3J0 +/i^.R+-qV+CTos]YM$=Z91J51t1j9QP2e+HF&;Fqjo>3n,4D"8Kiuj@q"8!Q++7X"2lf(-iYV5CuiD5$9# +K(tR28kpeji#lEnJ[4L4L%cmJ_740Jd)E7I`2#HC=bZ\2<9RYGr490"\o=M-6*rY9 +IfSQiDdH]VQR\mg\W=0$$gA5"JN^Bb#IQ^[OTT%S>Vtf]#-&o")!7W46;&o +,/eUG9484b.c>,n`sOBrrBkc]HZ2GrK23f9=T.jHH)i0N.'&*UelR2gA4+t=As=c' +h;.s"TWq(rr<45d\kSG4q=ub,!dT:D!^!(5$+1<#9LE^]rUId5Vb:$9mBb,q;@)l= +5aYkh:]mtS"f]09"S1ljA&Cb1&,Y4iEkr1LF8[k[/__to)_'DI$+F/"OaN?_oLXTO +mUpThDL`kQ(+<%NO\tqouT5YlX)RL_;5pAn=RW0NR2p12hpI5(d.*t+]9M/pS/7!@ ++ba70Rr#j;0ef'80?P:G9.%)5E]WnPl#fi%'q\2L:M`QgMsF^j8KF#&"ES!"H!)Oe +:[c$+s*W;4X">6/,;ZDAJW_!g8pVEnk%#`oE'Ok73n"?cWcb![hgLeQkeUlo:oks% +_I8HUn_@Q6,CCqi_P>uMs5^3r"!a!R`!>=-C$!Ob;8s*DkT@-Q8rfqE'!"om!lJD! +0<=BphTaZko*j%a)e#'&[F2tKaMD_[0b!:;m\gFrrBH5F7>Aee*h`Gr&^'gGj]"4` +L8KK,]C>N:q$T6oH9dOJ.pp:a4pSHGhuRUg@aRt0!OJ]JABXs:q/U2D9G+M0Cg +:pSd!8u2uZhmVtBHt!=o[3[=Pmbb4_ta63DZh/hn&5R>\C)m0]P4RN.YfLP2+s%(* +oe(ZKmo_F_4OU)!6.l`CX6o(l(@fk]q>nj5MBiuPP0@n^cBa7*RQ*Li^];Za*Q^Zi +1"=m^LH('[\0I-&R5ACk5okJdu7@Rqb=iY5A-T/97*oUF:5t1],:M"`HgqM''ii5n +Sdb_i4VKW;R>/\b;_]#BQ;)%'ER[W5$IaQp;OCQ^Yl"3Z[AT@<#<41)c"u^poh!G" +WZ.8rrBJ"Q-]@jA+k,4d1jG=oj!WNMqdir&$&P.39f:fW58K6')RWJYrMa`a%]]-p +;jA_E[\SUbdE^^mRA:lTFZoEi.b8?C&9LWZ8f^\^,XXI3jAF8hEC2l;%Lf49mgs\! +!Gs"3cFBZj(NTIdJ2m'#=$3!%VtG=!;K4d$WWt>Wa1)"WIDBRpfNi?ai4W87m4TRI +DX?YmRBc!EF0F[!5WIk_km8=P654fNF3W[cJ5!TSLa*IQ[ +^>Lm:U`Nm-UIaQWsWg`l9Ch*U[b-`mlZCNao;?kMQnY$"!/DD`c7S`"6#mI-Jb285 +O_N'g>+@BEq8P)1:f7>dT-+hIKb/I)9+JUFNo2!rr<2pZWfZh.0o6OR01+5Xb5PT) +]X?"qf*@/[m)3!*V2NL'_YWeV+ALutJ*u\gkYcfIkmc.Ah]Oc[1g4+l<` +^P=)iRQcCbrNIS@3>:SCZ@YS3(,fW_*"9jdrS%=r=-$%*.>'oA+1hZcg]$]_YS0.! +&h'Br._QZAPdZN=D-auf=cQ=rr<2@eE":@XZpPnHaX,_D\baB5i<`SJ3OHDgB&M'! +^F=^SU<6n!!KQo-gc]d<$[V2BCSr!E^o3eV&;L`57.D^chK,?MeB,9K'qU98Z)D&n +TkSA0OAf0Y#G&f&cSWMrPn:isa(A]Ak?RPN*p*h7()ofr?d_G;EU$H)?Vf^\tA$&,kfOl$NACZ,3mcf&/:P +E3(;f_,&Ul$rIRA`)2@!8sl,!aad`LKb@BE%l.t#PF`#fPgOEq7j;N,(@c0pPUP+` +T#iskbBG]?<_FEN/tun +59E:_a6TGUqa5%mL^./X%0[Ji_0U=c_9ZcC&n+EdMGJ^EVWi,f8+pm:h&8\!!Mog_ +?,"9ph&]Lh$5=[=1Q:&j9Igu`4t6+nI+g<)rgh.PDbJ0?:W%B;\T9-C&\/AL.4JXEi$QMg^!SWLV>'"ZX;sPGZ;2\/JK<9" +XbJbf-e7[Z2Xe-nG$juphs=6PPduSD:Q9jn>7-V6*^!GZ'O.c@J'G%hjo-@iX*Q7c +)gX11pKI]KK)+USt1XO!9SAP=&?Es'*J]6.c;`U%c\dkU#@\Ti>]**P-H\2XXtV`H +OJ)+aK2ZFL?/FDKuq.8W-C`ipjUnBIdM4P:^:@s>N=VZ+5(;dAZ(Id!+t+&C*"#X$ +p0_mXQ,#q$<3uDArY/r1$Z1#pr!(<(]-Mr=jsQ*rZV2Ln]nm^I<_+IDlI&1FVIm`_ +FY*%J;&bCDun9Yf+[Y_i@g#$48@sm_`nKMbM?Z4]#rc0g-b%!FSe^INH-f,7QA_/m +(P'#_4MH,B-2kfj"HA*'(JJIHoQ$(Z]b%Z8!4-fRRYqc`3I-1a%U-Z!.'rdrr<5Ir +Nj-oVBpt\naj\^>/L^$_C*b']87_kG4_'%[ks^+*b0*Gnd4HUO8]NPqdj*?1nV,[N +(X];SXP"jJ.B*)ZGuA,]%52\^Yjd[[(hMM/["I<$a*]"G7r(<9juRS!Y.?Li/6eOJ +)K.tg2cR>%h.5@W,#e=rr>O[5T^I7dQ\HDIJZig@b3_Vqa5U`;=R_F2:RLFh+Hr\U +3i,b0.@]R#a)%k9)P\MT<3MfnDjKU3W!333V[rppi!u5*;iC*k^"P><]2joUM3KSn +4%sA5;DOu&-@@gkL?*WrWrN(Jjt-(n_`^]ia7?;*RX:%nY_$k+Or>B7ta@?[dt+UO +L%.!)f&pdSh&D8rr@[drr?bkXI1pBBMO&5.F7*-!-pEYn6B>T7df,;H]O6e->;KX3 +RK[3h$>5Lc_8ZYFrZD2muP5mn&M'SX5S^Q#lUS`,jN)rn>3hB2c4;@[MB.7d_p?!n +OX2$9,U[\4p^+u(%0rsrrCu-hm=3drU@R+nX#:nq#:?!4?[C)rUc0TGD6sdF2$$S8 +,s+,q[8,Yi:W`RMgc]2= +8r7-r)X*5iJYm#X(cVm[+h"NA%3C'rZMKND:*2!c9\%o0O$4Vl +hjnhU+O.WG,H=+mcLF:rXEuJU0t?k<4VMAR$""T]\6Ql3;^af0 +gHg9G^o]"X8>h?51WiK2=]/9[Lgb@gq6\4@Zbr!2WnJ?AKa])=Fl$dE!K"Ypl5:R" +YBVL^+\^e)J@!,NdhYK/N31N9.Pp!Ig*K/&A&-gIj,0NjGk&gbPWp!lX-nmr"1aEh +sKn%pK6rE_7=Zg9d`B\DKHcR;4PNKh-2eZ6EbN4"E)O_?H$j_!!]fZd#oE4C-EtU!\AJY(*jNJU)6VVZ+pa'"mIJYNK1oba`u1Q@oda$LL&qYP9><`?4k&YD0\5W +dJQqd3j^i*[%r]cBu1kc^Q.c:S!'$ObM`TL2i+F)h7W?HhN2ceJ`j;_?eEh'jX(d1 +,IMr!V7SOn6#\jg?Nqc\&\LKLq-HHM)=]^5(_)qLLpJc"\elmmIdS^qCdm/!"u'@e +USHVV:D[kV+OQH2dm&e\BfF4F)76Kd?=Ug0"?>i4fI\i/HP.5A2.mp +YrBm:BAS78)iEYM.kW8ZX+j0T=MPmC5nRT0NN.jT,d:e'H%hfoNmSCLj8d5?jH8_Cm]Y=`r +XJf#rVIH0(\*R)mhq/ohIo(ad'!$^;f8AA7=c],#ga*QL_p,R4_s".(@UWfJ5gIfl +g6qUrr<[\0&6Anj(t6T;Dei0*"Hou4EEb(F +_'(jr*->EnOY$&'X"E_278]H?#T_m0A;$],s`4?\I(slmZK;3W#tMCWd(qdC!V`tn +@\O83:NN-kD`JR,AFp*gUGosa82M8;@o&]]p>/emq +a1[_Pq[qdi\jiW8I^&P&)5._Lt;4E&&WRrbV[BmmUUZ[K#B5>Cs7F'.Rqg*L&'4!QYKT_'bZOqI30+FOkUK +1VA#A$hE\+_F_G#`Y?'+EB8iEEWY[FXo-S%RC>nW2-a8d4g)/dLI'U0*ej2*aa5))Yh[9Dll&ub0#'.C7N6=,N#MT)b?EFK@a3bf/ +\?LTY+fG&)Ym&*#hu31l!F^F+NLBF?jF^'m-D$0^Pn;HEF3,XAT?(Lepopdrr@Z5l +eWkpnB\sboUQaXoXfSh>@&0gFl.7c)$UIsK92%5QHu5-X5iusj(Ku\Ro];_iWcrV& +D&@FW`[E+8_mC8<@gAg_"q-X?gq9h+au"Oa70O4@=g`aT"+&KX6l`Y:1saTo +RD_OZWtc9Hoge?UUhelWZrkd@'C'o:^ +9Q[`eFattWnP71C[Iu`Z4fm[?p7qqc/'+g +p>2ah=?sU/"Nl\H40iLk(#X\dCqO6]),0U?$kOCMR;]9!6YH#f\CaBfnA9@HklY]" +k`dP2=3ol?A[WXCVW+Xn?`hoBrHMqC8M(Qrr?\0kUk"63%_XlK(e1U.V^Pnkan-jK^]],/6aO]Phe5_55P%HZaH6,gi?lk +LU,laKLYS?nVRST`5#.:-WL\N5C32-UH%+d^L%K\"aW5QoJ,*+`I\J0Q0K]*F5OrrD!8b@riKfO=-AQ%T`oK +1qSR;3N5mnIk#h";a86ER<=k?5naAK(O[-,faU$@m*):F$Ldrj6t]BpVQn>e1^_an +CuqdX++so4ggaC5sE[E+"ET5G,[G(i8Ad^K>6?,rrBELX_%%_j.<+;#JaXsI9XZoZ +l5O0Br#IfGksPAj:)O5Q"8AYj&ip78M;lom,uYJ^4-Y(N]DX4tZ"LJlTCl1]BWbhJJJPlPHWH +QQ)Ra8?qGqcW\`c9X(lnFp)_7Dh57pVI(/.W>M^j^'PN@u\9rF'f-niCJ>IN@)8]F +^c0L1>V2=2X1>;O[/:9`rrBAQr#@*Slh4\8'/,$O1[s-udl^d4c`UO,h +SXIQ[CqsqQ(aHu=UG'C;1^TfS.C_Bpe`r>_JAOW_oNZ!,"^HHH5m["UJ-kKQp[S4h +B'4r5_!rpK!?9s5U/8_TF]ESrr@\NIq_&ht+O,)H'Prs%lIqC6qJ#c#O7P48*&(,lYTC@!d`fCT(r +r2B[L%oZGcP1VMm1CJiF;a/fkL0e+bGE\'M6hqllr4C3sT,dk2i9@?[j+kIc( +O/GRp`JLt+s.B\P#s$l^;"/sn/42:dI6,sfOUHK\mL0j-C:+lkiC'ck^T]Vn>n`Fp +I:&kDX6nfci-'m*fL$u"WmWV=8iO?YP]l>9^n@Ci<]E'pe:HkUU\et\rQ.QYe&'l` +_VmkKSEEcX4IRt.;c#^)<;9mX*`d*bn<$+YA,U@D:M9Kj9>t3jWaokT +r/9C/ZbOWgWZ1<)^C!,ZiQ9^^3!GRGfsR5D69B1g,T$]Oml:pSfG+%hMG%m>CI.6- +b?pYg?FlefhVI:7MGT=>j'#%gYj(PaSiu!a(bVO^]"\r[ML%T<5/\pY2aGA'8-83A +%5dqlmM]O!Gj.`!.n6d*b!2%)>J8nOe'De8eI-8^E:5Kh+'!q!!Pj]QJCTa:XNeS! +#kgLrr@ZHGXq`Gn+\8qr#sWJZggeCFXn.":hh\=,LWdP%;?Klk(#W*p_0ArVLQFtT,hjG=,n;"iO4>pO +DuG$H]4Khi^L&`YWXN"Ns4b7+8ch.`n/g^W6^06eeV"P?2X-_jDeNoK:\;.j59?&4 +ZmJOYntA`@]n^?$suJ(#L%5s%P,j)!8r``(*3tc!.n=#'%>7]j+G6gq.dg7<3p!r: +=7'W4EFifqaYAFXF(6BIC),D\kTu[1S9c$l!1^a)USKa_^"psCeSCbYUPCuKd'"-3 +:EHG!UBN8giaI8,lIrJ!R$\R!SilGTAT-7It[u*rr@Yfrl*_Ke6md5Bm4mRMT>cPT +pF5rVq1oil'hPSF]W/2")U%9*=o8s0C;?i3'9M(97.2Y]5Wp8lPFV/G6#e&%%IFb1 +:d$)epopG#Sm\G,#G;4!!cq0lEH\`l-_\3B\3j79hqbqmJ51$"Gg'g#D58`"TJJ<] +H.Emn6bNjj""tM5g:t#^Cnd2I/`=KkmflTC[XP1e]S!+Irnc;hsa?7*-cP`B8gs-( +,^]e`d4FXK`a=+!@>#.,hLG3)9umti*Z7=1ZA;9NIPRoKX0FerM'$]pqboY[@(*;g +Nf6P0tRrlOdHgH?[RmD*7rH-n5OaM>G$HF*0XEd3$Pa"Y)+lr;2&7\00)8C[='sF8_]\m.tkfsi +n[)\.;l"smNt4B@.MInBcQQ_A'(q(5PR%n:]*',`oEY^&^lI6:Z$YUIV!uV2_f)T[ +?nj,:;q*K*D=>[=&Gd[Y:;&u9EVS`V"<,.*r4)G:4M3JPX"Zd*uikq,Jnb&Dd3,8! +<'e0re=4"Sh^PMd-h5=6#,mbp`eM8-i=Y(_1LK0,#*B@5*n$+]meR0??iL,B4a\bnDlmZa\%U9M5d$hcFSe^r%"RDX7jN/<5TaRhb +[7e0Z9e@lHjXPRHN*tZbQuKMpOC4JKmbp"5Q,p(\+\&QC\pPJ'"T>Mrr?n-&<&Ql6 +.stPN*%gN +9@M=o]$\Z6uBJTCZjU-9$qaO$cb!)!tQ$ibW,#R577/KgC^U2!;R`9$L_aVkCL>bI +?^"A]Q%F(j#P,(k.\H/a_^\:?S6iE;BYj,K"`=s&@)#=e<_0eoGRMf^7^Fb\\[@dJ +0&^;A(nXHrr@XU>DlkBDt^#*_2EQk?NWMGb5>>pTgC@9J":t"rr<2XGbb5=^M.$tP +P1U]`Aos"4NbG9/HC3[F`6D1^]TlI39k;?J+tTZOo;9V)8nNWB(6%X\K+/j2>,u@< +7f?$n5bN#F`5q;k6fPrlIKte$0esPT>8eYd@M1kpiB4U5On%UrdZK`*R%(7EQRo3P +MnTrHnhKP#6rTiO%dR$W3)@*E_QO]KDQ<@Qi@$h$iQm]gpf:d9W/7CIJf__^;<"G=!.NLL1p?$QgLTB(J,ld:rr?IZ%UC=QVtfe.`I*Y4;h]reQ +P)s$rZI9E^8odq5@e._[fX9brK89=h]4m4b(5.;W^[$0"GUXkn?;U?A?TYC/Grne[ +rWLl_JN^:]Fh^7(&[9?E\J4.j":O#&RWpEr#?5h[f6?4T>h`K3H'Y=n6Gd\W\N5r5".2J4EthJ2kl,Ttdfh%lYA-L +Ng#X?MXU$"SIX"rr@Y3HjEs6/Y[/*BaR5fC!4]9cNcRPhRjfcK,2mRObl0R"j(*Gn +*+/lq^#ntn<&1ThZ^*`gnW-S]c88Pg-^_?.97F@\Hbp.F$Lh[hsb]*KljAFfpCYB_ +55h>rr@b\U5&6@UK2Ln!("L"f`r?WC\05$K\dHYZ%-)(B>`.fjesT]A09VJ[b']Wr +"ig:;oenh*^.NJRp)I_!*S4qU`Q5n5A/r5N,>?mH=?gk[#/%ET*rm#K7`7^UDaqX +_`Z0l;/dcng[D0mjN9Fc[8gZH3BRM0KZmY^.8.6/FC42]DhkApUH1*.eo3)no->qR +lN6R/C4VlIK'9MQ2R7kj:2+h$CAVLkPf`l:k".uhLE?`IqLk&%0$;8oOZ$],EbFsn +-6UtNC:Q;Ehm4aP@,j:_DdV3]`cWMh# +9t=GkujSY!IQV<'J[O@!Bu+EHm$U\X2uoi23B)$QPaNR3SWre=M>&[1e:,ES:5P\o +geom"%W-;Y5[8V(q'=14@u;m:W:ag>Q'mceSG]fS-L_H\cm12+WHYr_#2"2MZ$'F! +.rSq+oSBh*.Gp%IQ[S1IPpmj`?#`_p:$pFJ)PkbGZmfs/%,7R?oVjIQ/jC;q.0EBH +WTAPr"*mYC&\/:+Rl2:jY&2\3q;@:rjDX:rr<5Td@g"_r"F"eQJ0CjD)SAj/BCdFM[\K +oK5+AK-1;aVFO*a1r4C&mI%sMjN:.b:YX8e,i-,7oB2beUAFi-',sW!ZP%o<'"m'B +J\:/TN9q+44"5oV9amF-sZcP_*[U>$[b26Q$qUe*&`CkX,e#d&@trO%ZDN4B$Zj`= +G*+HgQBuegcl$m%fBc):5kKg&\]gLpn=F!X)fYDU5EQA0,q@.)=s"eHJf=N4UY9i! +.qJjM_6-Aqfbg)W.m<1Al[PON&$D("Rpo;I8[&PEKYei!;ZWpp71Vb`#Uep+,t.`n +a$ll`MM?bkVT)i6AgG\=V\YI^^s6O(%K?2BE%r7rqM-9Vnua[pn@1Ip5AI]J@(p^l +0alV7Ze[7(.ZPk5p?WE+D/YFWXf2q?_SXLVO%dtq`af+dnj).$]Pee3>ZiH.>b>dg +PYS5pa)Pc[/U+1rkj0iYjf9>p3]]_p2qo^P_Nfo#L\,TO4f$B9NGIn*uk,NO!S;kg +3a'T!sOho1S#G,3BaI#8b2L)hEBkSSi1GQb'"g6$V +8%h81humBOY5$DhB0%_hjig%W!).@0j7m;peTpe=%/G3_r>:/ACDu+/37(BaLlXrg +[^t_o\V30^ZSJMU5M#6DVMO^K?m-ir0RE`Jn'8Tr\OMOr*/\-?go_hc\Pp=k4#:,h +T&OC1mm3e*Dd$e*cZ.Yb@I-?&%U]6qU0k)h]H%c&aB&I*5$30j@A;`dob92R=/5n7 +tQ3k?9A/e"BFr^L5#-CidK+5'P[N>j."^=J3;$U\.!\T8N8jh?YPlB\rMP/9`TW8r +rBlOIKfMqp1sFDTm3J5pkQ"shTo6mAVQ"X[:^s@hY's'A\t!k,7nf.E)/@`pV=Q=- +Jud\J_-5)h@TXb^*W'qg6sNMRBG1Fhq?\AA1b>?,X=*bb8q@Ee_g-RGDC;=GP4/*O +'B#LjV,U:;oU(F,_C$CrGu=KkdIG$7Baj"&>8<<\ci(]NT6Z+-b%*6MHY_Cr$T7d^ +Pa>@[j:cQ2 +bbUTXf+,!+uKO0I&C"J1?#RK(r[D-L]';X.u!GK7?@aX,,J! +$OeP4$t!"^Rq,"30V6hQ9osTW +-kCRGPXDk?cOOF)eXe>1QY=bV@WX0Ndr]SVl]_`c^U\8>0.f7cShqE=l\%3lnQMgk +N.6KWRt@!PB^^#="iQI507LeS=PKf8m$+54Gng^f,M&Vpr.PdN4p#oi=CI2$p8T>W +bO=pHqoH%P5A%B&$sosSZ,%h+-8_m&gWs:*1b5,J]2TB0=J7=r%W;n;F0E+5QhfO6 +-(;.+-chLT+l_a8,GCGC@Pqem<'9=Gl/eb5+K+0gC%G34K,+6jUMrlLqrEbmpDaFn +8'Jf)paQ%["$&.FJ"@q4Ra$K4rr+TSkfdO7;VgX4ltDn;jh-7;+b_&Th\n(49>9(W +d)9Ypm%o;poDFo6MFaT"K(nli'nq)8l\f/6,NQ)TYU3'eSk4=nn"Hu(`s%JI +f,0lqLCe-^,Q&.qONE.rSs#gn[%76Z566H]1?j_=eg/WgJSjR]N(Y.8o5V-KAILT=0 +jgtG'bpnfBD"/74Nn!:WgCarO2?0e:2.MJhd=Ym!@,RN +M)Fn-:^3I"4=b9n41FR*0gE&ikLF077AU.jh7.0!(f_J-]cii"Rn@+&g80FMf? +-d)">j&gfO6'Xn\PKUJfXM(SO*\Ic+Y#loSFsi$Hs-=ZfP7!>eGO"[!"/XN2O^'uY +53=c*f=%[aGIAlh.HS;@(Jk.(qbl"6,C:.Ai5TWSj':J`>=Rb'dE/i=0TTU +.JnLTtXS'SEGr,ERqgAiSVHN!0$mm[+"EMT8aW<[e:4d.6!"?Q:^+KrS2Ed]G:d_! +8oU"9k8ai67qOMdJAbLQ8e7>S&;[67KtYN"8M\o8E&Er +)/F"eNP1%Bb\Kbc?qB@Ogk)#oCe]#&W6@ap&OSXO%8S]n]K>>a,RHN21H)#!lnNXe +9%"fK2@_&>!PJI/:/>,gOUIO`I@/9.b9e%o*%)tUd.%a,J"o\+1"kMJ/UTC>`_5 +8RK#$VQO$Gc*kH)dUJep@e3Wfd)[BA$`d%4H9Ca=4XgbUoDKc3QFb]^\B55Nef +5s,p@rHKtfCn68ObQ^.4&.q[5Sq-PG^&08O5Sh$dVfor(@DG[?lj.\7DtN'(;YOH, +mqnU%GOCU/$KV57*3`bi9Vo/-V^+AqYg9SHmPW/RKf8CU29]P+:N?5>2WGP`In6o9 +b_qRAE7j*%u.e!B`9s[rrDG/nMh[Wt?OA&hXd\jPY;d;i/4Y+Frqc!DgS&=r#EGHgd0;V&<S6,\*Nj[g.d12u\"L5@t#4khsY$+:T"QX(W? +Mj51628d!GT4P(I]KW!41s%DX=`HK;d8,'HZG][3Hj0l2@(92EERe\;ni`SR`FdMn +T`X-cK,kHjcEV.#mUniPt^4thh^lRKQ@0ll6/H*E=iV(VVHu7duW>I/#_(HnLo+]&\2!N +LfjU0f-ba]U5-Y;'e<>BcRQn_Jfu\lZ_\3rr<3udQ_Pd"T>6&n6_,2)p:ekf)"qh/ +mGG(Y#cKu.F`![3S;I]oJQ5Ir#F>XdneQ-+n-jdPfRtlnK1BNF!SuOp1\GRB2q9;$ +"[AN;?dXHqEa)$"_mf;Z=ECkQ*l9[(436k0:&rhYUZs_^b)pAlt#WO)'9rMBqGZ[c +6!SYnLql9gV#[>)*h*F=_\j1AN7Z*Fo?#^q0Z8a@L&7bq-\IB0l>F(>CTQce[T\Qikp-`W-QDd]U +i\bGf>KoC6S/>G%u+F.,.9nKBY8IM$B]pn.RJ\d]eD,?m6Dadr*''*4s0\9pi\bgi +uMHIA`S]2.si_:FpFNP.Q/>tLl1shp6#@TK!YA)pjr<@Hl)<3_oQu&HGdRCQWLbgB +#0YigrtKqOJ2RB%$p^04*X[JM!nq+0b3"i!I7LUtdo8!%,pa`'93 +<&u1e9hgk^tK!bV:o]9P?]E@$QO(/_f-!`.)p9s9`TUZn3?WLn3=s_1B.=a2+sor\ +/':Ko1lg$FAqHO7HAXpV0+sdnc"O+:C^1$ppX.R:=H:pH#@1&ji"'j,Qml7X]V\n. +\JRG*<>#H=K7gk#>pU7RhA"H-?X\kR/;IGY=\fmGlIbrV8$^d#(0POOa[g8n<_)I0 +#)<'3g\(#ZCPQ/MWqT[@6_WQ`Dd>F33UD=.$]0AC*gt'/9#jpGH^7LrX26T%1c56! +.m[hcnLG<::@X@n9srMZ.VX'jY<=/TI@_@pp`3ZghF3TH_\UqT.BIK*Bd8DF#qqH>N+YOepk0?hS51Ro&.8%CGF +:9o!cj/;)!:W>$PPtnLi:F`2qUfl9rp\P.J,C(^dAHpDJnfPj"*`Fo[?R1oDVLC9Y +NPocrWp'6a.e("5eJ+WFQj]nC0'"A'r&BZpu`9IlRqcU2#9q +^MGin=RZAg$?JCVhD]KU#!UMM.g%$e09'iKIRiZ#2t+9&8TdLltpD`&kD#Jhr\eqG +2kU/9Oka9I-'>\AcDa^Q>=PDi:qF6/4WA]60XM=7`cmq,%Cd\Jpfd4j6](kmtA(J! +;J&#Ylqcfcm#s1n9e+/c[-auo:p1XM)2Lm:.j]GI:;)q)JMAmZ!3h)lFL$"C.SJ2/ +#9\6OEn_e,D/5uT^RQ*+!sqRA/!oNS1Ro!;c]q*0*f:XaH3,F)-i3rnF'OR +b>LN'4'nt&T'mf[f\#,Nk^9rD@:>DZ&[J?M#RHl:PiBt]Dhk_S,U]:--iW-Dm\ib\ +"4k0+1'-7%k/eBq+KZ(*cm@k!VY5:<-$3&l],\gBNb^#QH<#/4)fLEe@%PWIT;lsm +hK"#-c9#SYDDX!/8X[IBk;*JL +&h4\p0X+VqorK?rrDOS^Pt9-N;ajq8CCRAe%aia]^_SeXfe0@*dG,a_-%O/Eb!Br, +L`+Yq[\b%5OY2N!V.?1(@FJdI_rQ1%lB(o]LSd?><*f6V'`pZnC_%%#0(muPbbb8Y +ihr5%WUfA)ZKfRFhT-rHc+aH*M8,b=fY[mJ$&L48S#+X%.d[nG8o>KT]Z[oF.[7YC +[:GE?7""s@GlPe;>>.1f]p$o`O[!MX%=(?AW/#>CFLCur$VY^891U\j61:>rr@SO$ +@flm4u/oI+5_E9gnOSN:0"a-:i80aGVOk6FSK_A4?JT,6fZ3]7IaUde>ks-/U1 +r;H`fn*1PkFA">:&b3G7Wf%(^M8gfl_^45,(Bo5hI3q(0b=P_GP;+&gn3$0.6KV-- +3!suX@kU)@d1?Zmm$;::\Z?1O$DQhh\^Kc'mq7Qr$C?9]L/U;VJ9.XgbS81A!Q.FL +.HkM^A/]nWrat7`ulJTQ\qt`FUnprOB^MX,KXRRW[tuE*J]RUc$@(j8#F"Wn-[Uhm +9V4c^:PZs.Rmu/(pCoCrr@\\^*`+`%HXG4_*<^omiuL6p:Af(%0.UUKR6L^i1+gNl +Pnd6r#HI@"5pOFem9?k6(m+KF38.)[a_rc1>G4_Em.iO='g.3ETs*1!<.gb>c@Ijr +q`f,rM_W0YC89T0:ko)f(t$'n&FGWg:o=`TD1MU"(rJ$rWDJc5F//Fc`Ys4#KP)r] +S]>E(aK3DTQI>``r?&.FT.d"%oUfYn%K5*MSfAn7g;N,lB[Uf]\RNtPK_^F!&.Z:n +gFV6qSgm"8+/1Pj7eT>26_nI"6\U&G91Pi$fV*cr#MgAVQ1m8Qge3`N[@"+[#J8Cj +8rPUq99em*e9H:MWc_.i:%fu_g^W>p`&7-?sXDfW`Va7IFlb,B-2g-IY`Hi"Y"\ +C>@>2K&Npo$%n\44G$.S/`"p?EY1C*ZCZeB?qQTQUG(VdbG +W7n?!7?A-#3C66_clp__&ph\6+f_N6CtbOA$lRe`$<7^3_9[AV&a"7)HVbHHr[&tfZ#IsVX[/6Ul-.-=k',sj +Z_J!,<0+n/$..5i95[D[eF#fC_rPjZpbA"UNm,s`S8e<@C8ZhF3]$'&#'"'B+%MAr +rBl%4uJ-rKPq=1EZ:]'3QJlloaEMa0[;[A)S[@X*IknR^'f<:rM2Q&j,Xj[C-%'HN +E-muD027g4SF5.I*F*J#1LQtld'>BMngG(?dF9E3Rcrs\(.@^1:&EimcN4@,KFhYp +]n:1!.'.m'o,H]e,>JCJQ@%;>u'0!7]"em$j),&P'[49jm`9M$/g44,^kiQT5:[%? +mSU5\K?NSH2cZMn5`nMh]KQ@l95pW:Z?4C2/)DeRQHB!=:b'b]a1Tb- +iX/O-%=(p'u&/01#i)V'5@;tRiE2&Qh'@pXFu0f4GMp.%!bd>2dg0,jNn.qmH;WP< +Jqn/%F':pq`e:2YJuW[6Ze%,oOR,-*4$aYMXl`SrXK>7Q@)!Wm71'[pjlop3a7/UP +Bh.A#'a^=Noj9c(]k0VH-VEL!!SS]+n4O23mWZUrr=,)>/dCqja_&aBm3G"6qgn:j +>m#M/k/VW]dNpmpc2ICrr@Xbr(,Qm.SH[A7fNJVID%RgQ2LRE0pGMfjlF;WG@R8h= +6n31(Gl$tV=89oT`'TB;rO@%4ta7WnHPpKfWDNiF^*%bqeDN?35Hl?+D,OW%VtUp: +Rg`T^6&ZSQ7/p/>6o7=2CmWNX@YYCZ(MRk9%2nkf>P@;gK.DHo\!l;:p7]b^%.dkQ +u[W@G4+)Df&lB,g,C'TQ:?hoJ6219orC:tDCoK!Y.c,bpjHO.WT%^J8;JH\h.'uS* +0(:d$00U/[VB\K +"h61=!C(8iip.E(!&H\P;r=4LZ^oEBkeFnVqNuCLY05C7LAeSuQ"ZA5sc^ +]P]4C`9@T9dTH%=Wp\G]B1?DFruRA0j:uR_R=38YpbT2FB+tEQ+u7j3pYuOn46oH` +[CTNHoiX3W'XZT.0pW7SCd@^UgG[Wa7E6buijnLa>OT+NrDH,o4+\<,!;7Mf? +f>8)*'Q>r*Y[#qCRkY%lappWIr8@[BBDmD,uUNm.TeC@#EB'PfBKL:'pnn*4l?k'p +\kKtj0+?s!V)534A#&R_Ud(>heH?oXY&m#U@&W7)E2,Ha=>,o:qLe+p]pd)Qp`%)O ++a!Hh:/Nq#JMhMYNQMr$e(tCWdhi-r]Mg),`CW,D?7e"O;qd"TFV,&RK!9FhG;hn> +kiU&cQ5WL'2r&bZu&$.\i/Cm\q1g^0dD(n`^5sK%AXSrh.uCB#_'aa*r(6Sb3QpY( +"W@0Y(M%]^S +jN&p*;Wag+1%=3&<#Ijm)c#gpfD2"3mQ_]XXgT72&P/*#j0I161(#Q$si!5Tt1(&5]*: +Q./,&@]T+Ec!I']"PJ3;XobFr"`5O$SiRZRRU9p"!\hei4ms_p20=QKR[B*JD[cD_ +?BB=YBB?s>uc8RU1jD![W:8MG'X)fIl4=YbN:lTj[D1*T?Io7!,%AI:E6?PKAJTZY +hSg)eH"NF-5XJoSDq8-rr@WjpbdFRrr<2Kn90GbC%0lY1>c8.B$oQ^*d\*NOR\9?? +u\FQ\)=HEg3:IG"R1-aI])5,SNBcUMY>bInKm&fA!'-P@]VVC?O_JA^TkP)49bV)I +a=-j>%R!6Nr2BsC5[57geBu0dHtM`cMh:Y!*^VQJ_,eX47J;a/:7ocRiN<^Y^M^2d +c":[U'sZ5)#L6rM2:]M`U%?? +O9MLGMmBW>\IFc]8'=Vf':]6E6Og1FFTg\DooiL/+g;@rKVIf1;YbY#E%P418PM=2 +$Z5PGF[h2i]lp&*Bibl^-4g0_/4L"IB2jup(m-F_ +V^,022B%e$9j#N/5(1=Ssucd>/8TZ]B,8&Es1@fbfn__'9g[dfDHGc:H*d-7$=L%` +t+"`aW2X4_]E_@(%pI8A/"_c7LD^"fYGYmW6B%g_\^NDO0n,Z+F!N;VMDfChH!_>o#kGeaqo9qksH\#KN:jH+pUWJHb[Do8\[KI3WieS./B,$n!!!$*7oqQgWM/mg'BO#\QHkjON^dUiE[LZesBQ1LgS.[g +>/'o'pNR.>M6t8f%66pBbD`INKY&C/21Yh9C\/T.^+LW7(sbJg'K7I'ApKG;Eu0$- +KjWS8cZl9o="SN1Z/`L\.raA?8fqaOMd43Cn>EG(q1V,H4ED(V39GA\R:na*gl7Y' +dL5pg-hBN.g+DJ4_^PXOD02!93(d`+A,H%X/_5%DU!/CP^eH/9f?8q/*f)rct3!fm +6D85C"_94G1k!'`Y>lanY%5:O+UocGls2Ld]M2,")OIS;,`K1F,h^>gF-L:(s+p&R +K1R(<4'FC:S3i5o)jlP.#.]8GAA\di!,-JHOB!9`h9SJ_8fA%$1*uYVVlrh!+QE.V +H]A$ZY!SF)gKXWhqN`3,%G6D$BpSi""0pOeL_bdC`DG183b'p6m>/%_8.-?"!N%Wl +Okq]"HF^:(4EK7DZ(uP)1TJrO:$:!:rqiiD5U +,P2P!I_4KrmeK>J74^>N`QX/qG`eBS\;[kbQ7G2"!ghXC\FG.%c_UDcT(bt"aQrNP +'/%k>AE,!"1`n$1Y:jKQAA0L%BZjGr7X,b?9iKml_$o?_TW`Srk#.9FMMK +0Tm0<7@N`-'ckCi3K]tpNqJ[-PoU#0-]b[3U'_1 +8,9#Uc(LQ!K25CU.Ppj0:#!D6>W8Y5hP)&d<(c-pNH-NaWkYd%.6,li-.;RpZB&NX +?dPN4HZ-B@m!SGDf[EG+.m0'IM;h+gYHQ>;M6-*;tmi2IS\R4C%s'mg<[g#M4-qdI +L9e]gYO=0I.LcSo>P7L*_\.B\XMK?,fFB:k@'N3N^sne24,%3gUqmq\aL:.?V%*!WN.O\,70CV#D0T?bk(ge%ZSR^PJubRBFF6[>[6"um^AGWbS)/cPgeG +k;i\YCqB7B-dKWU&7:,R:.QPaW[2^Yp[,E(k;4ZoM`WU[(:Vs>b'ThM@4&V3#p9MP +^H0pGK9),5Zd_hi4f>.\q4S=NdZ?8)93\;&*(o^\,QF2K(5bXm:*um`h@URph&tgP +K$\e:_HLrHe-_&"G'ot`e@DZ%KYS(7&,E,4p^Af37$HbNITlJRVHQJ?cT3e2"Op=n +Olh`elKnRTuZ;/"4_iJGgk^Cn>`+5?4?/ioEf(HrB36ra9;''`4Sh'DRj8T,"T +A!>drX*B/cKjISKfhG.nHVfV#)Ar*hMF)TfOS+eJMU]meQeDJ#V%h#Iq9#hn.,uX+ +&DM)fB7AFfqh?AJ&,Rm"3%)8mV?LoOLPB1*cW?[*=?[%*QXlaT`,=HI/(D7^C^ac- +2]='nCO8k,B>ZoY+f;cK`cKgV\SUVg,e#%CVp4Y)$9l2k>?IZ&@()s)%S[e:J0M88 +GQNglnTO.J3Q7_i8Yn"C7ZOI!.n;IZ41!c!kQ+TUhQW;)"TCi"T.*sikGmYaDL?%8 +E()H+l#Z0:eks?j'T3Dn8uCH'qbC;O%QgK->>.2FehG?MSscdAlgNRnSk:FlX,JI) +q1OiZF&D_0EY`2Oujb7ZiS5B$32q6(5]BpjV^q;i7B'E?sh_'rr>8^&'@AEbJI%,X +mNQ"IT_GDT9XC7,ciY:o#!\-R%/BrblE/$rr<2j\Inhm?5PHrdWS4Fnm9d2,[X\2k48*RjVE\ROMr"m;IBRmeD.d&Ae]"\W\,IJ]e!!Vp^Lm' +@DP0#j:>-onY]6>NOLaIhd?6nN6HYpj$`V!!O_EEHXHGTq)a.)MXT$WO9f?>AL-Y0 +goS;0@062S,r]:2>*ND`GZ.?`Yj.siTV(Jg<$;16YE+O]?g`e`30RsM`qVqj%Yr!X +lc6u&0maDb%raQ\Z[1V!.m`jKD%+LelfZKI7j+T,[eXHn8nDf^4h&T*0torProNV8Q,7?3U*&7Fgm47l^MSUX`*Q:=k#42ST_U@W +R!_Re[>W#V"kn1d0M)ufoS,]$mpJ)f#2Pq\gMb+_.Bjt`uTk +J(?:`I4$t/iOAs?J,/*n?;1uqdFjjpc%`(isq(/*u9*F_U<6!1R@&nH`OCc>.eAo; +\;5C@-*V&o"uFcqlVq[i=Wm/Ogtbs+D:l<0DI-eT),AO)lgd[ok?:S25Jq^J0uEec +ZV9T`kJ>>49jQVH:0A'dCB>C7?Ru3DWcjI75Y(nPQfAj2iDBddc[f6>Z6$tfb` +M=9Rpjs$6r[-&WcllaWinS8>9S,i"nQ=Kk$DcU'YFP7B(0p.Y7Fe6a;V^&46<56A! +0R@EH/kE7mUuZO%pZJB[aoU6h9C!lRimS'GA.qa$E/aeAgDmA5pVNl,hKEf^T^f,' +rks:C0G8crr@t_fj)NCMI5^[+./&7m!0>t5)c.pi)]jXr"Bm_#q,Wc48+$L]KNC]> +0LKr)L]]@[YN)9ce7_4Oq"R7A<1/YO%nDiQljo6"XA"rD,*Y?4Yd.8H/Zq;#^O5!<1@]p;1OX#5hh!A,q3Pl^`L5M^TBD=Vii2DP +e1g0X%:Ku)0;TRR6H=Vcl=[l[h&dDF:kDJ$&rJ!OMQ4CA'! +!@[)0o5181fNrbB,o%W62YNp(\gE-j8KC:WIZs<(YZ(;gR+>:InWquj)gp`mT^Th, +mB@Sa$>'!F8/Q:nf7u%,Pt!U'4",t5N;U,`fcpFl@*V?4!/rNhLIh\J ++t_KQLPu:ldP?Qt@ug6SVNq/]#.jfVG#gpM7nNK2Ism=2V=D!g\JbDI@ +Sef5J3Q1Sg]%9K,ds*m\nKq>rLe9jRE@Y#cf-eP!)e%#8JcP@$\=MeEK&Kqinki-_ +(dd)40d`$Ktk#"[<3HXm8\:';UKAm3SPK8f-+W(i,1i6ZcdZr`3'JqUCG#[k.CrZDs\))0 +3?^W/H-.W+7U_2o_D+TGM8t6BlEYM,83!",IM]1GCM#X#pU,pf.&f[Quq6\,&ch5U +p+N^B5`J*m4Xdh?DCR\6#-j<:TbR'&:HgQr_s]$LPhQE\L"0rj['bfam%"K5*"1I +tle^[aT5da.cdg)`\!^H=t!r'tIoF6c$?Ui_+b,G[Ag?5Nr)IP6)O;`_I2NCj$Knr ++tW3-._a0d:k<#GE/;BajD`:c_oTPdcrmUZ"@!YfJO$`FkhT;:R9YCkXZ>\P!-V"I +qMg=%FZjlI5a^Fik06)A<,(mZk&o&N1>4GjB)7"=8P)D>+`Ub:Ph+INP%3A#[8<5= +k4-Hqb,\o8J+RU]TNPrqIED-i,,!I>km2??j8qbYfGS=?h'peFM!@Z@kgHQfjIH$c +NQT4CD,(WD#?X^bFeIH1;C`T\pkDc)VSH;bkkt.H61`'5T$*sdG>=0D8@tlQaK=a+ +Hq@_[JM[`)pd7ti3ZBMbP&,qIN42q*Aa\1H2dlYCWV#2DI9kD5DA.\e$!NZDqUt?5 +IV`MW?cn`=2_i_a9h,2!$N2jSq(j,4AZ:OYP]1NrrC$,pjWXLAtS'hPasR/)heCqh +i-1Dp@e&Z>cb/]_%6Ya]&8%4W3=MXpaeYKmgAj!<;9DMrr^F!!P.Q3HS`d"5J\Mb6?Y/d +V3_b:/k$peNOGoj,X!,e>j`'PU(\MorasjF8cZ/T%/>KS2s8W2W@2LY +%tL>(u`06GU#WuCi0=GY\,qu3_OXc`k%g-+W'^Sj52ipBEPsHR^A!&)>ns1oUT_BQ +I>%hr5OG`KfH!\Rn;r%h6W$%=^TLZF0/R5A@;29d%5P?uafe`dah7;EqRR;/9OD+2j(Y] +jeVC:"^ZM*c5pRmm%s8rrBkH5N&/`%=B&_^Ys*lIOk1061J$4r\Sjd%=6K)enbu]m +m=aK'K8(#/LF/7m\e?i7k2V/-`)9_61?PDG+@928&H`@akN[Z4(CKu]HdC^V;[n.M +'&rT_+WTOc%>9!p;qMg.X\CQ4NNDMO1NF!X9VR;l8@RO5<=:1Dh>\@\,QG[VYhC[k +3u]DWH_(TE61#EAD2@QBdC3R&`$7*'G-$:`^$`[hDosJtOZ!_$fB/7 +Vm4_cTtoV`/-C;E$.+qX7AH-=+u.?4"MIIpeS*J.W+ah6ZnuA]F_i?TFY\Cn4nn=g +dN9RTkP(llp!=MEMubh!5K?@L\qi^_LbQ#r#D%je$hmZM30M4$=OP76H^MNko&i'l +G1U)Jj//7h!V@eeCgT3-ZP$o`. +X:lkhBe890*j-j/@srr>XkphTR4p +]9;[(B2o-))^:cpfC2$ebgBG7YaFC\@5AE8MG#$'`5Q$!8->%@_V&*._%G@E.E*Ho +$?Yc(q'=BIqSgT#lan5i?<43rrC5;I^Si.q+_pj\(s64!V5FO(%9%@>0lPPX'T.:g +V*TWH"SB9R$FM'pVS.VN.=Af(%-PY]G%'nHnk-g(7J!f$nJ40mu;0o_*1KS[m&re_ +u:!]@2>X8+*`Ml7m9b8fq$1Q!@[cJ3rM5-f=htmp7I(G*0T(tT@nD*#Pa(=ZiMM4q +KAbe7WeNP]VYF(TM-KR0KAa/OZXkcm/I';i-;sDq[GRE4p-E!em\Z%EltNTD8MeQ> +<*hc^<3_.@FFU_/t``5jppY+F,1OJT>-PqD8%%01EF6Ng +6?('?/Kp=iudm=rrB2"BaeAO#3Hc`8Y1"rp&:0UZ656m(tp2o@F.5dJ+`%ge4BMrT +.,QNa#WuoXIacLS\A1drrE"49X+Kj6b=0ipE0?`ks,>"9I-5d8]nJd:Mg%2.KZq1N +1;p91'9a#!dlq4G=>d1PJ)^ +[M.9(C1-$4EBIsrr@$S1V")B5MYP8%srI)@.Kpk6_7&n[,_]_,iq=!W7* +u+W#Zt97;Jt?_WdLbF4;C]rCQrinF?YfoC6.u +(AeHrMO/9S,NaFq_bdomZq6rdRsR-LAq6@!D.:["bGB'nunppit8U.[1srYNWB(Z4 +hK=i^U2gme,KEa7=Sq8W9(T+dB:,g--).3BE6rhf-f1DYGStG^Zae)pD\e!a8Z-He +(T9J1kFUa]Hhr%dCb]BWD +:2/Q*.Q-dg[aat8eB';;3J*m$b-'+ocK6E8cW;j9I52j^]T^Zq'rUF(hhdt6]M3P2G/*O5\',fYXn5?r@INmab:[Mk +Vk?5h];^s55piCU]1hX +mU(-.39iVUl(t5DT$.s++WF1/QZiWb[CUGWNTn3N\n9=YP9M1^c3t]])McIaO$RJm +5pWsHLpf,5Tb@Q!5V]ci0BoD5N&(n^VXhtp1MkISNQ2O0X/rIC$!$TX0"Y/FW-Z@\ +KjnWU`b[Qfc5QMX*u,i!.n'q/C=bc.5L%lY?3Mq%Iq9HVB,$7_LAqh`s?%!p:i\Q;kbg(G9%-"ugrr@WRHq^p;( +74Q06aaJU/p0]BR.WK%SX@:R:rl5S=gu>gNcIDgfBB,g(b^[5aTH<^bI=+UqmN\Z5 +N%+HEIZZZiXVrc'p`!MJ#GUjN%mkT`l_),R7SIL!W!&`m^MgepVHOk?_0KkL"uF[n +5^W^es^1KrNT"_8P!AAY+A>2hV#]uH]c9rKIi%g&\oDWYPJ-4o;hT)em1Mu[GM.hX +s8kklPssud!)a1COe09(^(K:Lrr@XVB +%')Vg0Mf'N"-(bgcrDoOV?h=0HG66H;Fk/0Dlhti>\=trX&DZ%;O&Rjp:lJj3%b#" +_(oN=]OB$@e\U)LJulk:MTege+H/;nFicY?P\,P8-DIbV`5'FYOesSYP:-d;mEY.! +.n^/P5aB0EN/`Z7#o\-A^&9#j'^1\J^&4:^dI.1?NZ@s&"q(I! +-J5@#rTn%#5hcT[>tmBp010S0YE?h*!/>G/,(jnrrE'!K&Z\Mcp(pKa6^S2#Jcoon +Q1T"U%%uk7D8Jfm`sZ[G21=f)%O8X&?Ob<@\]IFi5Vm;*Ta=0O1GgIB:RIpH52\@T +X^W;P'h*;*!5(hD9&/nB+tCDAcD`5YQ"TTML5a"Y>+e9n:0J@L6LQ1#'bVi]!p4;F +/nP'q(pi\o52npABUokk(YO>$32lNr8m*04Pi"'/IVdRi"70%:,QYrn1qjSI4.o +W.j]rrBl-4ppVj&Uk\s6MPKh/&Bs-Mk\L'k2P,oN2-ecUPX9=&..V]a#32-rr<4ur +KSMV1trm34o@)p)T'\kAR0$u:!p8I7U-t6qj[Y^jbPnA/,;o37+1"-AQUNpT&='\6 +pNhoK6-]JEQRHJlf#N0c'`&WaV=VQ5d;f>.Z>c`#L!m$1Xi`3IoVS[_.u8I%6!r_d +_&fSHbo\&eMP3iVR=.O7"6j4/;QUGiO:E>3Q]6fjnh8l_/qnSDqT&*fDI/ha2U'LF +k,UOR]W^b^6q.GL!4EgOGVps;)<&77@i6tC\ctMcH=/P4)H^SQJOa0_>m]fSEC5=; +oq$6$QVH&e&3"G)d&!U/0?4ono9V4k(#[u5Cn=RM%r(?H9pXjVa]TO[cBI7uT1 +9>!e=T."gRf6N/Zop'=Q"AIn`p(l;DRkHIHiq.fJN2sof_A6-I'C'.,AcjZ[#IVma +QTD/#OnAslQbB7r"bXmSJGcA(s#_\" +3KV(G^L0tZrp$R+c/AKTu[.`5TeH6^q]Xm5J^-HrrBGs`N<(un&:=gkScCKeh,DG#Wg*D#@uYA2HLi3L,'cFr3(='!^44FB'!dr\S#HST?W6ic8;F +^`AU?ch=&.mgJFHs16_*/7k0dAUM8&]Z/-i:bJ3

    >5; +t.a+InN#q<.FZmn*KYJI`-[rZM8M2MngAXnM/L%][?AR5?ij)eS!3r"=QP\1@7/OE +)14]m!Ja4#87$\?P%T$CSQ8^nQ^PMFh\CMnA?imMWKTLhXeof)h"1;-[;L2Y')=5! +L/[%?d0%6SZSI)CKR:KKp\UQM95Y2YQf0h2/__W[TR/3_SFTW,=oeQ'r +rD$R^TnMW9le"U8&Fg?:$eM,#T/Uk;p1eAP@"oHp\kPsq_;da!:Wr>,N>kYj1Ck3_ +NoW^\a\/Ag-1R=HSS@EUko"J+b(mCJ"IS@MYncWiOY.^CRNa=3:e+0H\:)BXWk2.g +?(t5?C>tai;6=UoW<99!!aMC`kN)_&ZT#K?Q(c%B=Y=:#aY3[]!Z-^Ks3de(roH.H +gtIerr@[KiR"Ct6tRcE,-']GQcslk39>=T4_dWK6RnG`+JdAQbtC#YLWV(4FE9d/lU`gGJs1?"Vg"E`?`" +S1D0NFD;tXGWj,>L2l6!1!,B?ljU6*@M$U:Y@86\kg3#pagp]f4!U<3:tHVmcVJ+\ +VrH9pD7"]j3K/%]=>s([J`n.a#icYWKm&GpUU:;[J[.Ubke`drrDs3O7lD_e>Es:e +p[uV@Y>u#rJLA"O9s)2_)uAW=7nj(2jd6TqbSm+W9@;IbGK\9!_poUbn8'=R0Gk<^ +-AFu1b%Lih#Ra3:Oc(q0Yr^>!<3$^l)rntqe8$%rPu'\r;-C,Sni6H$23c"5 +DO-&rBICa4b%W>E-ER_pST"1qL;8iKiFt:-IH[\&Gu/=r4]PRiLTte]3o(qrq:?dh +l#F-&k">%h]H7AfoKD.piOQi!)-s5F#nk5kK;iR&,s=n8knZJZm.B84Orc)J+^F"d +k]#pXkE^S88S),d!C+gI;,`,QRd!,G*qn"#lalbgHZhnGRMZTrX+p<\\rN'>(W7c% +W,%4fA"pp$ZL9hSANq?O42_8]mMWp)n8iG$C,XB%HW(Tl2f0i"70fnqe%pm\6;m/L +A,nVlijTujpd>8+&?VOS'?Au6GMc3G56FD+5u\`;Cd$'RrVeF3LJik3;!3BNC6rUq +[$'c/Yn#[QY(a>*hSE"0)6I`5BbRd/r/t0*P^=mpjNnX+UDQJR-h=Y2Fn?V4(nEaV +=PU,%l_ZgH1KF]na#uLPup`kfp1VCq_<]u7!-_!rr@T4)#*qWmjj,iGX'X%n$4i!UiVRG!W:MnF6E'TTC1LWIEs7Oc#&k25BZ[JgPUU,KC4d"! +<%6*4>)2t8M5>fU1P8B!.)5gaBi.1i5WpR?p'X)39NK9oUl\Di%0d,L8gE_k(kX:@ +lUEu5Q:_8h=q6Kfmeb1Vo&H6%X(KKu6Z_2dq8+>@-b +JLg0A]/hPrrB?DGiHFlrLgp`ZsNes,(IF'rZ?Mfn@l*c]gKZ.*7Ki_AGB4!3MMk^O +]BgfN&1C[!V1luoG.1/@g.OhMqK"X3.*U"+7pDAY!k4Mi\GD\<_Il8!EG+ +0-LQE-M3oS)@Z@V>D]d'>pHJa2Dm+pt*G"hD_^hVmNaR'AH`k[eY*PNW;.3pTMd?! +$'`f%u5'I/fmB$Cp(B?gao7nCjOYsJG_/LnZJ2Khm4K<;752a4<3B/d^id"Lp^%G> +DjkolV_DD+nFK,jNF1\OE[U;n*TH5 +rsQ&V:6Td498]!VeRCMLT//0_F&8SF3.kPWVgE2e(VofHE^UA-Z^91OVZXsA;us/m +b'&oHY1#r'E/H"n?pTXL@K\Y`NKq4gN[Q#WFg6f-!rK5q;+Y^*poBk8LJ]^Jdukt@ +Gsk$TAgWM*2'NW.c>Np0434A_`:q-rJ.Ie7GdY2$%`=C\,$[N!Vomu!!Jnn!/#JX& +cVh7"9"#Q$1W)r-cH#b)0gX/nNtPQqIZ4*@.pjN;`%l49af$.$44ls>DuY5ej&Y<- +c+F^G.m[EnJZLjOdg2N!;6S(#P5,orr@[Z-b,NB#f#lG44pE^BJ25FMRgnY(UDt[5 +Xl5FB"pY0ifN.tFpr66DtD\55G(0p_u9p=i"+L:pom3b_UjcGQ>,;pA@f7EoqIXD(p_ +#Sp*%u+9Fm9af*P<<$P`XP::Li"VNo0>;0j[gN3FmD:0:&b1tSpnpUBZbJ$MWSqKh +tX1Hao"2@lX)1B!5W;4i.YMAIpgUUDo9:Fp]km#O6p0/)!O'jg?Q9!\'VOjeA=4#) +j@PH5n#dO/,*@CVe-C#kAhBf+5uNm$3("A_gVoAM*J3j[B(/W5qRkNFF?`O@kL$U\ +.XpSF-7)b7ni&q3)(Xs%:/q"Xt=MRT't[7Oj+;N_u::lJ>%jPH-\jM_\G&Lr#2F/0 +X-aXn&7h=pDA.Xi03u.C\0^*R\J!aNA[i[q`@rth"2]#;u(LZ?FcK$M3Q0Q[R!D[$ +SU\_I4,3e&,%j[!.lAA0)_LD!8sn"[+E-4*pW_Z[d\LW>>7the8N(Q(?03aF +-fiKN!t-nS<70!O8(SRp0*J9`p\d?Pi>#W>BRRK%G%W[_4CXr^n:+$rrCdI;_si&L +pVRKi#aAI7T&8F]8??D$Brr&q0n'pnL+'K6#XO(rrDAX&&h?>/!p/F48+1&L4A-Rh +\&+&HleX6'V6K;`LKh?UA%s'^U,dRWgK)!3+ToJ:IEBQBC('H!!^u&c6!t>AZpmG1 +%Fl5:]B#:?@cmlh'@FqSd.Tu$e$_N"W"YQ"U\Zb@,<'#3@jh]"C3fEB]O3 +@%J1c2LZ1?*C`:!:tcdG2Mdb$e[+]@=NpVhX^43;Sj$lFc1-cZ]*69aliX4=oF[]W +[@`GM?7dL8F^QB)ufmZ`XR<(j)=]:(W%1#rX4SA5M>bSq!Keig@rM\r(el!?BO^1p +,=I$/d^C>J[6eq*S(&4pFi(p_p-2A7r%f$inqUgRh,9RBAn?$;c.28](gDpUmj7Z& +CU#BiX1j))9Pj!el[$[3_O +2n)H);97srYi>sm-^]QA[/t^Kq&PV.=4+=#JLM;%IrEg&Dd*cpHs\u:&b3H2*=HAX +'Al6;1&8?[]Ks97JoV.,:_c%\_s'RXSbH5r7rDeI5n6TVTmL`3CYE9Giu'mF2^5YG +J4bU"oM_?XQeP9l4OKljqofopj.n3_A^>QTTVZ53q]NrBOX%=_P6m +$!g6Ac$;5bROjY62j4r,JWgK5/1Lp#OV?V2(X8[jS4M,mU:gdq;f"J[pZ1!N-j1Ln +SkTFb?A.F]&r+BU7@fa!:W./k6(V;qp5Mo.n_B_A8uZ&+)/jo_"%IhVm5Vd)p$_;\ +P.Kc-uUh[e:Yl`T]?^BYL]GChT0QlF\-F(AUO#%4HZ7'r(".^EISZWIqZq&1)[r\V&"N!i`I)e6o2PE"=Fo8IkY_PE2pA1Z/)Io2N5-^Y/].q1(-OO5Emkj88W;lmMqjOrJUI/ro2!8b*r`o"3hPD +dNAkU"X]Kn2OX^!jpDJo0NBV*.Pb=UI6[gDnRGi_G?T3ja_OS!.b(LGM\`=CEPO@: +6?JX8bRmX"M!_'pW(VQTFZ`o4sFZh"TJIRQsXVM0YY!EFKIW-]5+I*QLa$d9q$UVh +(bK+XaT5BX4uF^>M[mbKDO>r>OCrX,VNc,H\TZM91>2 +R\`Iq5>hL(d&m;RepF>8\?R">0:%i6V5$;Cb7>D1uNiP?I'C+8GPe%obbIL9teGmO +NIKo\',XJa9+EI5>AnP+Li4c2qV'P(2supj1DX=,FjSCg-7)`nF,Lb6+7JmGIfkPeJQO+6fY1hI,&SE-EJn8B9TMk +4Y^]ZYO@UO6:ejE_/iS1%GQXS9,jjle[.U;Z3OV70rnnK#)oZqFS8X2.t8u:N0`#j +dpTsmDD!0d0J!VEdi#K"P;7@W'o5!GfDSJhBV.Il\pnGt%.[m6;`O%?hOkA!Reb9&rOBL]E-3s`q_7qbJiM/Hc +"FT6Z#i>e&OX$(-$O29)GPa#!0BJIkP!QuiR,e$m+(XAl;>i'W0]pDh#ccbceJ..D +A-]#_`?EU1]d57]FV[.Ws_lX0%BQ+".uP7`-[ANho8Y*cJrG-$Y9S*<]rG:j):cAq +l>2#^+ln+dsf@71jj55hW&)$I@TNg*N/smZA$?A7X4uaI +0M#oZRa0SV6F;Q7mP#^ES#)J\'Wai#Q,SEkHFds#KBE91:2n>pjLYPUjm,E#(9#_I +I$/4rO0@D^*]!\IqJ//_b@lQFOB?&AgAcdPssj8!18q:-nnVl!Qk,?rXK_=O/dS)r +r@X]lM[ZbcTC +5F50aWa?rislE^*`2aLN_^DOIfRK1I8m@u=^tD1!.uRnnn?.SU-8j&!.k8 +SfV-7iqGk(tDd(H(UT\(sWBk^;eR8i7[Q'95irG`buX9(>c@]eimJ__&J]q%AU2_P +'c5Hlp'F;>'KliT=-]FJbEI-\G2O+Lrd_tAXe`X[m$<`l+W^",VX$h7@iKJ!QQO;5 +:&Efrr<8QGWS@`G,)##Ihqrr/]ODu292$:D3'l@6mO9lgc-8`KH>HkJ:GB`rrCu;2 +Li3fm,=mflbn67eFXW[p%uuNg"TZG3e;2mN&bT^-S:;8*"G-tpM8bJOZjlQq,@P]1 +?U7<5ItV)GQ&'#nD2]L^Yka9dG2b`k4,mj+WI^h2;=C79^O$S4F9p)!/"eJ%-,J)X +/l6k]4k<6j0)#N=3DLXr"5[bJ)I7dn%acBH`/inU3J:T(:s@,To>Ve ++7_BnZUi\iLE@PE(_4eL?[nd_S-`2r$s=jn6M*23ibK,-2:bSB#HV\''7l!mH/'PT +FV=TJ)K'U(W>$P^V9K6WPn\f5:gJKX8rP.P._<:HsH[OK6J!GqKA)c47O@`Vn(>p/ +BY\`'PXjE!kT)XSYIPQlh*ofBlaKGUdSjIO>]He'R`B%7?^K,<5"&iR42E +[:sPlp/nFJ3OU[i2M4q97*<+-f;h6"8KK(nI0jjYeKX,>".?fEa*sVaUEb[a7`g:QJqNt1FFGRGNdVg8SKhaT+d%WYKQk[]Rf1'@)U@V%d +R+BqW;04'!PRGR;&@/6*KV<14,j,IEF73Cm,KX[rk^i6Q6dKGn1o[CJ+PPKl>-3!:BHJ&(N.EZZa%.,X#'LM$^>5dM]!mm%sWrrBlR]KHdcr +r?b?fcS+Xe)%oXY5$P@H^e^XF'CEdPo:ti*Ejb,1Vc!faWI4BjK.H%1J&W&SW><_A +G_luis5JtLZ93<'2,\/>`qOpUNpHoq?."C\nA!/m!::e>cTYs'O2$n>"PUY1ahe!=G;=0TGs^M3S[% +p[68Nrj\Me$UW]B`?QAX.+pmqIG.p1'-GH_S7un@R#iZ[NC)b2Z.mMIq"P(R`l51r)Ild\*(j3N`@Bj+U9/T1`=1"3:C?s.CmZghV^X`"#%A +Pd4DiJotj?4$W3"eO4kD/K.llP&TM?5U$<9r,#H +18jZLVuCcZjf@ST^0\b5TucMmn>-ZAAaqeLRYpg^%5* +tnPjr%,PNI$P`DrDr5dD'J]91UkH]D%]IB"F(*&0&ujST_]JFT+sS)D[^?'dWe^LD +o5ji>Kin_ho1d>ZXRm6@sAf9o9R30*jbt1+1#m@DYu*d!!SAWrr=(X_FSS:$QJ.k` +!"?k?@)aUK?eL`@_U#!AO)\Q"g7_=[K*O?_Zrr\=AS[-u].`ae"`L].q@Hp56km +NM*'RQ\U@=&sKh$Srrj.Ge%l"G;ESV,R>C4?*.Dr':4>^)cNhZe*1RJsP7'ehm/ud +%],S*Hu^U@:2$Mj-EZS5q,#Hh6h2b8]Uo1.smHM'^5>;iV`$&^Y1V8^Pi'u_=/CCN +X$JEhB1:MI*b/LPm66$Fo/T*8sF!WL!74K?E_B/1tTM +O:j?g%,Cb"0DQPWlHmNC%AP26&J*>N03ZilX.\nMCaEf&:@G$_ZeWa5WoAkL"7dKR +b.6Yrr@Y$Get:CpuVBCHG4qbG]7LXIQ[ +]'Q8*!ZL1g,>N-:-"sPI`HYach?,g20TUk9t-.iQ37[(qbjC@n +7.u3c$renl5sW(>@0>6MXB)Ug&D%NPJGNDJa&'k:qpLV:&Af*(5gq!Gs$GM#`i:\a +DCb3.6-dTGH^;k*tS=Hm\$hT26=,Up6fGXTaMo4j.dTQIh,]_Gh*n]fiikKD(s'c, +RLa*+'a:4n!]8BIVZANEc)[)AJWq-1?Y@o]49qcJ`j^-?O1S,D=9.99.2\;H$RRgo +GR,,*.NIpR<.?O^Z4>5l4<8!eWSc3%ODAV2?ltHIkV/RZtu#1@!-t,*6bKD[f_67o +H2"5SnTd(9^kN_I?Ro/@,jIbo/85\EYir!l5QrEoVTI`3=Wl27=B)#oS%bC*n"(/$ +tWEaB8aL]u!+(;u&m[r8;mircm9I?;X +#,NB>]naj,FiTk^cn$[VYImJiW4+GCs_H8#i=%UcPb%3j.(2&\Dj_'LDArOeTD$qN +PVr?^H4>7j87Xt*QL!riV(B5GlZC'@qInkRH`>kGL-#nTFR;`nQ1KY]Ug'haQ/5!A +=U4G0P"S\7iCR#pj12!EUOMgMIK>>PI8Dp'MC&n&k_ +E+Fk!5loC[;E%Ae:,s-CX4UMfE17&`=raM53U*GpO/oqEfc^>m%KS_)WED'H%V,[^ +7>W*lX-4?Zf\5BIb0#d^=.!0e\mp+7YH>/E=1Q\ +;iojXS-ZLrSnMNaSu2>-]d]elTcIY=#!l`S(jDlXn;+15`BXeM_'KItt2Uh!nB?`(4=or +J*3A>"[(Y5#=LSf.5LGil=>M+$G)#g.%:)J&,NBB*?`D/UM'f0,&bkIlIQbk0V=U0 +DT8`/\!(rQ5J]7eiHLK;Hnm:D:P/;'&-oa'V3F.EXl(B*.$5QT,E$%*jP_F"fh>0W +9Z@1;VLA!%Ik1(NT8k-+T\[dnf]7_)p0f2'@:sFq\;:F:EHtgSD"EHi84rg_RbB,k +FRIj,l[iNj6?[#L),_S+WR6Gk"h?*J9p8Q\_rNTBaq!q$Nf`?:RGC:&Riu?rr@Dqp +Dd6Y4tA`.44l@uo/:L&+#J@T3:+P6NoQb5A)_NWPZkCsIq=;*s1\5qCl$b0Z1 +kJcX +d`Uqp(_9MEok$^&'Tg7KDk9,q>il(Cg^dRLfk^k`YRK\5J*NEhWD>AnOXA7>PXSGV +RSg+],UqoEh0T +HdYR2^bU)!-eV;H@]Fl+7OA0RRdAX"OZaeCElBj=Rc-CZ]L."PUDN"1P+dtIP8[^_ +jcH[eET`-P/7\qW'.]YaToB:l1s*6!!b*#Jj"J[$'jM\Cj%XF`**8T.F(N7,1"X!W +9r#`5Fh*X$Qfu?19J"I6'=$Th]DIBl\]*>Uui>G/pu/bA9"2(33G$WpRWbo6,g_S% +o0"5I:gm0]K%K3U.CG',b(/L(cte>aisf_rLY&_LUC1&G=r]+rp>+grr<28ZkjhR; +pU#WggP9a$[*d:in!W!!&7hB +p[g`/pD.;&B_q(rQs>$kstHA6ZXel2[>H+LDr&L!8"Em&)7!AT?!QCJ&+B6"mLLX4 +:0t@'2e8nM&T@^hNOaNo%dI6f1&c$FLQ9X)^c+lI(7)WPJI,a[J5sUL>u1?Aag4^O +pQE(^PcY6$[!pq>4^&X#(Sk7i`+ud37l%KnnFF::\VVEeabs&&7[C5Q0J94LY:4lg$$=2HQUJGSB988SY6fg3-1DL-Wi(s[BMbC?,. +J[22ERW[sqH(ScR[h_(!!T%c@^o4?[t.R?RlDd2+^`<_f"LM/j%mVbA0eh_CSD[#5 +%6t?UiW0J&_=Z7nF+D)M@KRc"\eG+R]h9aqqYjY*8=b$Xm0,eV3tjE0UuZ6:_[Oa2 +GXC)5>"$E0:/D&ep)SK!^4"6C8]#>Nus-W^bGcgDHaL8j(Z\dT@1C,iTJ/Z!/OJI2 +VOdSoLhhc+]l/p,4cd$m_3%laVc?4N;b^+Vu.:I`8;/U)?.eTQ\g)OnLF&\2!mchB +WRrW+gmQKr2/5)raE0mnd]Y)*d@Va#>!W,^TscSW3/sBEd7*dhfr':q\@Bd4-J?"* +Of[hIQUtOP==DV)d's56`J*VPrNWiA145F$:Np>ti?(<6mX96)iCAOh_;M?], +B)P2:^8NN!!_IdYCaN$rr@q*)itRd9)+II:8`$dNcHFG4SIPqouB]''V=EK2i^GeM +Z!&F!.lglD;d^9TZMk6I_*LNPE2,A"Q#hk.a;#<\F8E2B4CnjL>-h?G7N]!.t)]& +mg%,^)Xb8Wgu5k\kLkbNObE)qK;]sf@_'9rcOd1OHLLfcecqWdGM^iJ1OjZLfg%:" +t>B/SqAoi0DlI;9g/RW!.pJbg6OFWM*H<89Sn67@.PPtlG]M:?pn1FboT,6-(;=pAY-cf80G,_*9e&^\s'S%^iVo+Zq,\*Yd^b=@2QN` +Hqt+p?gV&fT&I,O7UTrHl(`N%=C29!!a6`pJ\H0O[k5A)I(rl'7mMI/;72Mr\?\Fq +ps(j,9WVDH?pM)UW#9!3_0)a-I1t^C%&bXaG#Jk$q*lO;Ta23 +YU748c\ItgV6@=`P8[u`ENd]jGNQGHA0"^[foqN+0Vk_nh9b^rh"PqrrDg@GJYpMk +#j$t9$k;i-h.&]8C@(U#D:$3ftV4d-J!VOGh1=B'qM8M0;3&`m`7MGb*2:SCVp)Oi +/KeYGG"A#cN;4*pYe'8a9*&1[ge?nHl<"]ZJsm+HZ4ceETQQB:Yc95orj"_DBB;#V +u.:qp0ZFYo-i,UXKUQB5p6W@aUU3NQ+4gnaS*l,j*,GoDNWmUYXo^?#=%+i&nEa0TmhS-X!#;tup6 +)T1]rr=YD2t;C5^UsehQ +2Iq8179_DBjUn_C.A!2EMJdKhO9G=6hM2m/C!/Z]=F5%1'o*YaMR<]m:SE(1]?`_] +=?nb!SgE0kb>O47.5b.>$\4K(EO-a?SdH#7=\A% +q">\5TSA20Y9(oZ"\rc]1(*&JA^%:o<@rW8DZ/ATpc+HFL/VRUu4$2o3`WTkBQEE) +Ypj5nBG +,(ee82'D7A%9"X@>.VQ`"h%]*Hn$K^5Rid1J7$TPK:4Pm2%$,1?<'cofYV?*gQ;?_ +qu#-hJ/W%ddA`j'nhm97jZYS(1[&c#8t;dOc[!=H="8\XioI)ZrXY:+"[:\rS]m:V +n0+nkFj^5gIpSjTsL'Y7ba_(XDS,geLUB`*eTPU\`TsW*tTMjZ&VOUV,b$7Cp8A!# +F,Gc39P;K`HeA@r(:>6[r%mrUmG"uZ:/[[%N2']2\dEZWe,K\.rOYKHWc"i>KXF*! +5etJ;D9eO",r:.5TR?3-<"gio:PCmJXQ?bY&X7Y7QVZ+#lJY]k#nfiA[I;Oh8WQ>$ +^U,9Sknk`j3FOCOkRtK$](,u4-,e[m!\iI)TgS'd:oIn'EHZ%D9mNaQe=QU!^Mi;0$J:HKEnXpB]Gf"`:" +&=+Eb"(0?iL)[lHacZ\r&f:)2]ar<+V%7(VbsikE35_Ala&ad)Y4CW>AZ:R7gq-gZ +3C]DRE(qq04BWq#C]IrD@q>qI\'=JN<,_TN]\49>%`\c-'6) +Y,ArP0/ql?/s'k@3uNYGBW%X+2WOiW;L"L/_1&c*ho[37QdG9Sd5GnI63'g-\&sW2 +5iAcpa$0(50W6X08[&+!sD2XWC3i3%jrn=51T+G3mY5&?@_RM9"/'Y-NCQC#R<7)'k?>R7U69I +"ZT<-j%0Mk*p`WW.c?IT,>UG_H54$n4WK\rX+YS6gg+"9O!_$b@,X2jr`9n:&Y[Q= +j@&[NCa52q*npaDd$b*&s#HXl%G3bX%?cANmPL*s!V$MX`DT_]bE=MiFI*CVr?UKd95T.k+%j)ukWa1>o6:*EmnB3>rIMUDpQlQK)m*1=SRe)U8.EIWIk4[J^DJUIL +Z%?QSn#CTddFBMJ($K6Rd;rr@jkRNa^jnnamq8^ALDpr7A^Rm&0i@C4Ia@!7aVBW%*^^ +]g)+JbU/^!ri7QN:5lWrr?T5JI=>u\h:W7bp;^X>r$4=a7llh.fB1qj$_C5$q#+m/ +-MR)Sk%s/*1iXt8Z"n\C(dj4;An)>+7+RRk-BA7."fR%7hUMX[.o6*e-rf(moqt#f +"\NMb/D6>1)QS)#j['->gC$+WT"@6lLhLW]epaM$tSfiBEN!095FA[m_BY.AGUcE= +7dm;%JZ"%IP(MMIN7TU::$fjXBJbX4f!9me&L\6OO<56n^A6Nn]rSJEGEn]%6S3MN +o1(iN;gWm!:WO/(OTcg4V,JE4se8.=Z'@Crm%pXZY,\+>Ae=)h@<0\NL7SSjCWp+n +c&T@G^-Den;$CHisdiNg>7)'6X<;$Uu:$VNr%]];?"r6UT_E(%i&=+C%8-8em!*n_ ++?UMRJrbXn5nNa_%2E1+2;XuIN>>G[I8m"/,1cq?"mB3+OQ-l;r7>VXQF37W^k:+" +1Stn$N2$n5A!]O*[nG.n@8Fp]PF4aAS#^u%\mUom3OCX!8r\\Q[QIqZ":c*UTSPa" +0DM&K&??QrY!!@-^M@1`BUYNI5^c4?5P6ZSpQq&>J_i$_O=GTZBA>,_]GCQfB"[`( +*E6&pn@1!p*%t6FlM;>?PC.(6_WC?/aeh(V4F`IE60Mbm[7qPO!ZRBY]:47"3l6gr +r<2Apj)D);>lIO"0)2mpueSk7p")H^:$i47r77Lc5.?hIaI"0_%_S3_^$l\SnJ5la +S(PFb@.li/!!q:a?B`eho!4u>*"MsjQsJJ%tUiqM[PY#Pp5YOHXh;J.LA7PnuJd/Sm_A1UY5J?q+qU5ASRRJ&6@*/UTn6, +]sK?T\QQ53#N$o:T"rh*t:GD:Pt_^nB]GQG+?dY2NY4/PM*7]GD1$(0APD`A[:,cT1lK?eHZ*nRe;W^ ++]97nWNAWhXa%3g=a*!6=GR=*B41DTFWdPl(sFOrrBlJ^)6,o1DDmZKPp1/OuOu,N +-3$aCTcaiQXR*kgn%?hbjPV +."HB#O+9mK67UN>3`\RA+L8T)=ttlbQf4b-?D5mhI0jcg>51Ve$ +D"1eTmkKuZ\A%?Kse#5Ra\m(3+Rig#\S>+'l\0ZCYpsEJ9SSJSLq7q`:&RBAVgV:o +n\6NE]/NRNnr#=q9/d<"`F9so\Y;9)86P_GRMH=,h,W1*Hh9?WSHeXUYieSc*>u9R +Idi[#sM4?/WBFs&(_g;kqrcMFK&c\;(+GY`1_J&[K.KDl.'i8<4;=1ss;h\874l?:X4j,t@B'M/YQ:kB[CG)Z?lDu_,8`I8hp-j%]+DM#\KppB%ZeK2?2joB'7iEM!b([.s=Pl"pi&Z1upEg<))R2&J=5hlVB"dp@I)V +t/b(c"5+l0k##^m4Y+)I-5MK+cfh+CHNT2hr=*YjG?DbK5G +HdCem-VNl[<0;OnPA9ma@H*H:[[D*UHIJpV#Vj+i_aT2Dj4ih"A`mq%H-94)=%.XO +$T5L0"#8c`:,=eZ@/jaa!'([[5e&]ppU2&FH6%=>EU5AeLk>E>['tM8T,ln)f[t@O +5_8p&#U.X:7`s?;dncmMoO!'6:cZR(>(Vtrm,*#XT3*"T\^eZZPP,*6\;dFJ\"4=S +;urUo+&8pQ#!k=N`bbJMAS`5JT$Qd7W:9_EUk/c)(r%#dFQW?[RZ)0Lb;lli^*rZ# +gNM^%t*OXXF3Q]eg+IXKGKbTN(&QTM0%4QH3;e%nsTR7I9aTMb1?HL`^H-P,$GLT' +SDJ?^H,r>bJu-dcAM>E0(kXfJqkl4Ed#[ShDF;jCpn=OTXQN;%iYdY.fE4XQDufId2L9K2>b@%*1&,PCpPG5-plFDD( +JE7$\,Od3DJk^\(`,3$7E5CM)>htE8c*PIqa038P=P,WLMpSiYgBNkkJS"UMN]ui$ +:bM*l8P\]=c&4h")\.]^^"r=R,Eir!)FFIlSYb]ZT+')>EB/$_'^**[Ta. +_/fDi:gK8k8>"1p2'a/Jq@A-9Pll.^Du4;e$[CK%qR7J&^M-L@O.#Ka8mbG&^J6h" +FtnBW*fM/4YH>$N]?I"^:/l5aq($#*3q5*7mZgmFI$+4^7D0fdm9BSLbb9+Qs70BG +0a%O??N=73fWmR*A:0'@Vh7R^6Uu>@#jQp`)u2nbIG#G.8fD:A/G7Gg='<^a8WY5O +NR,bWWpk3PQT)=LXZY2kVT@8-^H>G=V?!T8N4d/\i3L8Y!5e&F'fOJ>3b]Rdkm%nC +M(/H6().,8s(9Z8e.\ASE#bdC4GT\,)Ruil-c,^4I6%:)gWq\!mCOV?4%N5BAHAN8aTL>prrA$an +I;#"PYjd_W.J5]Z<5n`8;3j8\6f?(aMA_hJ^%d+!5_rUXhq9?>;TN8_n,!_I/#e3l +m-'D'k.^#:^4%nUpg!6(gtgjK'2:fcL&skGSn^\fQ#KI26RQaF+%JncTR5-l5)0k\ +XF=W&?%/Wa)(Q^&`5Idr+Gf\iLb]\4p_/gKW=jFLW91]k*P0uD'"oIFV8ep5C^@[C16XhRS]Ef#[PBb(E-DnS-j-Et]MU;fWgTuR8 +bR>\2jC@]]D7s2c^16<..-tK4XII#Z)tm4a;8NNm +,g0rF8*/($#U&4NtlhblSkB2[mqCp'.V#T?9'u-kHQ+g!(d3qBuR4'>jk\K'?#gk( +*/klYl!5JYFbaoi3msN[\<^$"IdmFU[<'\SJW3[aNsR3&:T967XJ4H5)?'b,ZsIY[ +8<\H.KZd8j)ak/`rqEK=+L;N_.UD4rK7*["K1c*W6>1(W;*8WNb@-*b)tS[6D/9.b +]AXAr%X31dGh*^1T;!%gq?/`i)aQo0os2\XrE+7+,lLkVn[-"_e;o[Sg]Z@iM?QM4iA\oG![J!XR1$S)X@]&pqt?#`)K5!@j-ag3=COu?k!kK&!IddhX +r%'DdB,oWq[n'!_^)O9R@V"'&.b/]+&Q8bm>LiuBU9eCHqg[:PJs+S]c'Y9o>(UMZ +HWHl3+"Bo"0\XdCR+jP5A&q'm-g]ag+SIK=/UPb6b;PR2#Hr=E-Dj#Ti6o$blE0Y# +-Pfd/@`f27XKJ`aM.iLb^[Gr^+#J-76&bj$P5GDR0,6X^,!?EY@5gB"DTVpcY[gp( +WR=^@k.;@0]>=o7P]B$I$*o"p0kN%TC$@Q*Ai#E>7gRDN7)#O_]@gSQj$N5jICjp? +75pJ"%_sYO+ZgE3rT#JOqG'jM3]HLS=C&,ACnnPn61=#?4ssH!TEtj6In!JSR54C; +X`sqdYV*M>_=cb8/N]k4\;i+pj;KH:XaCnRnnhV\"5Et.@N7SaQ'fh]OPbb0*<;UI +(fO["_RO0iOoWXLPDYS[#5qW8bKTdBru5P*S#o#Ve?qQ,(Md'rXK&*Vr?NkTt/R@oZe,kl0/-U3Ej]"d1]: +P9c+pe1KFr#@m$d.H-DlL2YdZH6q`NTO6FR#o70h6c4>7VgsU(hG:s'ip8"<&X1?a +'Zu>0UDR[&l9Si.=q;!LAVL$hDE.8)D].<+(6W(pMg'q>-ca.BTG^oYZOdI!9Ci=sFRnXs3.[l/&iH"b4?J]P2;WI_f>(Np9S8+ +h=0W8$AFR+-Fft4rVipE8/Hf8Fn'f+'^cid_BmR@?"JdQhEu>Knchj;=C>6)"Gh<# +PF`#@/ZG+%OR\F!!NAtQ/\tV0o"`,Q8-L'kh)&0MH'Z]i)^=(K:I*FYHYYmimkcVe +MS&F[GPn9)EVC2=0V);@ZZaP!'qc`";-UP^2j!UUdlfQrCJPP^5ZUNDdc(caB:kI) +s8<^N9"WJHOkmZ0/ef>VHJ.mmcrr_=dj,h,:tddUW1G"N^`iMmp+r7N:G-mE;oq-= +RQ[NHpI]3JmEb'ZLIppCA* +_M$X9FKJ!%">V+J&+a!?gVe,-`=p644K*2LVo9M).*Ip[BMDL\shLSJi2cb^XuWH7 ++hTOn@b+gm>1;an=U:i\;1l]K]';o+&DKcpg7D'HYI9q!!V6.28r"9qX_L`C==\@c +PQh=Cr<1S'9?>oJL2ro]5Uo?@jeGpnlNbX5O?/S]2mM5d-Zli1.BWS+]Y++_'3ce +?;nI_k[1(Z2jOZ^66qW'(&S/F\n_^MqI&4rr>([q![q,nFQtb$A\LBlJgM.1=\!od +d`E:)+f9GDP.u>O'uC$kSC3UP.,5n(8: +b4O`?9PcZ83g_d1,]Zp(uq1kI?=Z;gtc5:ElkS[3&3/4YCW=Ep90U.i2geh4TjWdN +rh/(hEA6hJb,fjPIJnM6(ean2#0@a)ks96AHgCbK&$>?r1\RRNF;^ar[c#0!lO&hI +PM@"YNikpe[q1EW2(d#:f^Qe2I;4)iL09&fhD2[B`]G&m$nXgoun +Xp=EL/IoEp0d[gjoU"XX8";X.ben\p/F,onU8[n;-&&Z!mfe\<&W&\4H_a<'j&2^E +aF4=59/at(eXPoaoJd%!5'dZtJkW%tu5 +TKK\K#?SdLP:UMl:;X4TOa@?=5DOR`k3t%Ca=hWe>?'#;mkoGT4&LDi',?b:8CC!FG +#ZN,4pqoBGg9:Z-j.mS?P2!phq^JkCH0iWA$K"66L0cE:3m#4m`u,j=71H(P@"'V& +r(19,]$a6Ri@II*4c2@hiqUg,9O*DiNn$9l0W]S"r_rdq.5EE8MHqK(1dV(&6+o:2 +GZ1oVkmL0nhbOIBS,q\$;J/e")@6`A(TfmK?"1H-bRqPLJ*!^i +LB;D6ZZeine?a>Ftb2A\MKAU=ep0]=X<#Tl/Y&84r&=/_]%q)Xfc#U:=mfii9UaekWh;EUURncimb]iGocb%M!ZhR&EYl8lPjj&S:/l=E +R^HHcQ<) +$>\?..FS.\)^cXlQ+DEDr$\G+<^3)V![)j#oW3mT+cYe>'s<>?&#b]>XdTTeK-1.F +beEl2_n("#7DD"Q5E'2bN_iD5T_LZBp[[>f;-"02)2(TU>^9?QMPb\$_;epd`p>X+ +9kic>8Z:"U3mg*/A*L,pr<ElfJ03i7'5Id3,O_fNe!n-=oRjS27)HS%_3edHijD>)4jJ +Q]p38C@6kpMr0s;GSRb#=J#6$bOa<_cDZ=_V0_+O_H,I6Q(hH@QOoA%"Zm"a54H=r +rCt8\)9K*?6/Guk[Z%/q%5`inEeS$R#3dfJ+:o'ur(>L<`IA0$4 +_$k.obC-5,/nCA\T2VN?9PrMQGc4IVb5&kV6)$D7D93*?j@puiFT($^)Sj +i,?j;EK5t\'/.G@n=bDMmSWX?pNcpDJR$O!i-kApj!(5(7BTFC>L(dC.Whh0/8<\+ +euREoTsC +k8#TobGp'hb.ak$QUm1+"gs'[lbEDrZ#G\lcj_KTAo`pfQ" +CiDmGnlZ!`D$S9nE]<;$>ZT[Rgp\6>QhR#@i$f5"M03'1#Rf['EMsd7CAKBO2Kd@9 +t@UZXqSU>PZCiA8Wn)(mJ#Sc!KJB._#l:14\*mA&%%8:oO2_Kd?@:gj>0FWNo>]mE +WB>aOE9Uj>589=J$b5kn7pEDfB:W:.t8(D&nl_nikH&Nr1QgT*>-OCY_VS8H$U&Nilm$1@5*KG!oqKLWs5.+q1.-1]d<"MS))1i +&1I>p%7J"r=AiWAD,6JuWOr-F*%I`*_cu9fIZHp,BRrV +5oB"$02ssR$?NuEYgAIAX&b$@l<@K^DLlQ0R2[Bem9-)O'%6feHP?agGIUC)"5efBcQ^>Ys?'Pj,KB/"u$6O4H:flf4)7F> +O_E1r)<\LRYdA(TeaDiWoN3aLdi_;:;7]1pd)O?$n +&>ie\pfpd_=>Q3eEq)3nF"&d_/4N2OunMc#4O<)7hHsLEW[>r_j^54K:3jZnM=OZd +'O1O#4GKT1m+`Ifd"G9Q?Qn&,(Z9EXp"fQJae$c$8#]HO5!;$iI1-I+%[+%=mWLbC +UB8\^]P]hJu)sUL*pG6*"ZVG-f?43iE<84hA"GUoWS!/TO!.HG3;TUkSiXe!n=ku@GSf%(p= +*rrMO0eaFeFs_]U>U$^iKkX@4_olC]pm"$GiP%qQ0r/i\`Y6.FS<[t)XX[i*N_+/A +<&Pg7g&lS+&:sK.t5a/_ES$84$XY4Gff9-;SKjE!.lb()ufp5.pp1M$HC'n?"-13Z +&Dl,e(!tr,Q>th`Xdh@3SG(K2ZqhW.7QNE/*bIU,FmUlr"X#+ZeOnEQFa>AVmk@>k +(#Zh^-27"4@fDO"Xs.7*8XmW['E=DaIqnAA"J+"+,t],WTig/bKH:8G%g&:a?[Qh4 +Y,R=MRPqHrX)`r\.2YYhF-2t?[ql\^9uJg9_u+-/>sSA*Ni-S@.V>;H+30nDS"`l^ +Z0QfcOkM`4/8F4@=^F&S/SI*(2.Z3=8#Y`0YFh+7.pda,6S!<,SBk%?afEZjO1eUm +91>O&N/o%)8PLuN#$?/1&9D0m-B-P+0u3'mGh-UCfAIZni7sl#G\E&:Gb$6H&)YAr +Sd3P2ZCnV#I`*2C/9_Ri;&RA'M7&!kP'u2IU8<37[#pkRrD=XS.H2Vf8+n#2Q^cbZ +f8L0An&5GP#";g7lW]'K`HJ.OXPmn\!P?s:R+Hf4BK[Tn5\dFjRB@'QXm8*Ga@63% +J''T)o!"9l+J#(bE1h=ENnJp(Rk0[rX+?h*hf6O+7-.k*#e4DJ"LEmFW:nhcj,2Q_ +8kC7P?e'VIMp7AE>Ot9Gc*1:]J,Mk<*UL%1FTHMIh-<,[CrBILA-jHUd3^sVS?:6! +8tTW$pV!uLT`>u&PPA=e!;_u&%$VAjl6TE)n-o_YK;h97'5DuFh3BSVc8XU_"gqV= +bj_25TXK`4PjNm;f<1u)7_!EdWhjCVs-Le9Q7S*l%1E`D\'8$T(BP+$CD/<8Fq8Md +^-S\D)?H_=.4?SaS?((]T+B@qQ'F\3dG4uUC6kKl7[d=.6iOd!+kU/c/HoK:0YmD/ +]ZQ*\HlPOL=uXLgt`ZSP&'Xjjp$l<&egG$it_Frrr<2,rr@XoHp.8hq`$NjrZc.RN +TRPgU=SbSHR*?gm8BQ#O>tAFXT3b_q`=`+eiIsR!/EH3!"irW=kr;jc)4s3[c1F4N +Kl8Jl2B?GhP8rAam^+d0+?Xhq)VQYVb78XZ&%A-5MQ=c$T8L]B*!P[[J>laI`FK^O +2'VI5@]G%2;UtJ05/ +>\M!nm&E:DU)#s]DhjBitMONrrBl$]QrJJ?eB#N6lmQ'1mjU/!'n'$[6o!SS!dDuO +eRJo,k6cMJ)HR+[4d*F+F_8$%CE']=5h=cJ&@^;H=!GF*E"&#AMdVQLQ.Eg#)9m?\CTQrKt;LC460P%DIOrG^DffeMLQ(2eEir"NZTFS)mIGj[eQXCVg#Ni +0]#`8^E'>[(#CenA!u?`=EC3C-)*G2!;Nb`6o/Vb`"Zp0Ri;;^F7)ojRf)Ue_g-t4 +>[.5ENWu[Ltc\em0JMda)ucXqd9?LIKK:=qec6inUA74D(ZhV80;?l0#[$`ZWU=.% +."H(?/VQ*d[aIUT&g+ANj*AZrE_jr?p$qeD6i.br@o`O/J +s^p"pjSMrrY=%EQ@$k`8tDN9iS]__Wb!Ps$pq3!oj=je5>8]rqb2B$plPQ+"8MW,g +9_>KUKVE:\SaR"r8t,/:AE;sDhicL]=@B;];@pc6I:kO +kZ@GdB\jeWsj1TB/BYNJ$R\ne*r"JXB46opnd#s%VQcJeg7qd:V;e+=t'f?6Q_Q\D +JI`pa.BTFn#;%U$u*bj'UMi_ +:iOYr*Q/`c_mkRnBO8Q=%#!Kko8b=7nc\MN#n5'&aK74NFe*V6QL +)ptXkuj$'3dNb5S<@m`of16:RK29=rr@Z%HjB1>#pf$^XeoAS.@(jY[k/I?P(^g\A +)!#,lfTqRbPhiWn6blaZgl;$m4%(T5Jm_1f$:%cUsR3-Gmo3q+E"4D12T#6f=cQ'rr<0:pa9S208P+b%\`DK7 +Bk<\Hm.NsY750oC)1MFg/pbQ;$h2j=6mJgqToK2gtUf&AbJ?Dl:gcWnT"obflslH +NE$nYGjAY!![-n>cV)m\lrtY"+Oq#]*!W3HXdf^5Pu;s!)BuLrr?[r!ab,?)Rc3=H +sL<#.U(QH)[I_EXp>m"Qog,l#6=Ch%.A_=n6_g@ho-MX3`_BBppT>E@^?NT*7@6j\ +,`U_jZ,F3*oQdr_iNML93l3(anX,'VmEe.UZ6btp+/,Qo&c'G:jifm"Es$:e(;HtJ +Gor(>>&<6pfkYeWsc>sXJr):N>.P01:!ldQZ1l?raW]X%6eVVp>u)0DgY]U4FaHj1 +54GZE)6N7^^<=J^eb7p1hPY'^Q(hS]5 +e8jW'K]JR;1a(<#AW99rHd(]r("/Sm.=Fnc"!Z*gZ7WI.o%h$[BX%Zpf>PBTdB,8?KGb;kl`1"NRQ%dj&h_[%n`2Z]p@Yrj_o0TZu]^JZQd+@>iY*a?)lP!thC_K]D+ +3Co^1To:jH2r6N[=.p2L@75ninJefI7%AiXRoY!p?Ls?8=DW=ORJJ\-'g[[aG9mi$ +o]M`5,-JTCL(^Nn6Ni]4RG(%'3m!94@;,W6dCa[d1I'F(cYC=3sd%l\D97,+,]tLi +LO$0a1%MO]6eTM[0pI3 +e7ub7`6O#o)Z!ri%Ru/P!B14cPuZAI1l9Le(u%GB'+/Hkma+dSN>S+PP0?TUbg#`D +NWP6EX$Mh%@3FANt"ThUt],0:M6A'gF?C.EBTlN\T&3?;@ihNP9?c\DGP4 +I:"::'JbL*aQT3UO7'736jF8aQlfBr[T@RoeGFunNOL-D`kP@(QkeVf-nQ_5$DJ@R +)&p.*#S_YX&c-W5AT#q^(+=kC?*5NG(a8QjOG?i4q5t8V"YY2b4&P(Wg$X5PAo>$O +\2L!,0+`UhD4J?uI*.f!hSO +oYROoO!/Q++l[;Vg*qjHVDmQ[,H8;-nd0Aagmt5A8,3,:q#Kh7>2sqo!sje;8KG!M +rHR^O6jo]lIWU@M/P#MEASg&`lW.%&\QW8)4Dt3@rUIk#H`#R"+P*Y*Ve+'LICoMU +Kd#T)8')4d,VV;l)npJTBPlM5klF7R$-NlI%U]1i#;5@g61dBrXnW0M4f6$IgfKTU +IN`j8T[LFq**PO#4RCqb,';C8Wi^c<0@O53M6kc`HSMar$o7e\$C?PDD]$jB^G/P: +r!trg9)$D*-r:kY;,MrC"d^tS#9IXEN&YTm%fO,p;P&%@j#$Egu]p>G(\.LSFs%k: +[n(iIJZ2-!+n[n>ON0]kZVBK&SU0LjAmh(4#'%2\&q?\a]t?;1Sjdr`+sF.AG4T_) +H5?_Ct:Dcjh9BKW,D&\>q4RR+1&mD +ED&ULNbf+fAP13m(>2p092[&:O?_+j@letDg94&+:EbE=XL]J%!WjiO3=l>f +5*QVWn^^A\^ocNOPANb&maLUJBAanF!1:_8/]4a#9iTsa)ZE"I7dd?h"[43nI3iJ> +MUmYYqo(0X#/53\720j.0p8>8LkE._6)SqHn3f2:S??BgM+^G?6@Uu,b>q]*c()d6 +P'lmbB"g^],!]!Cuo`1D''/\F2]1:pn7e'(YU>-G+CT2Q0^%RXsT5sY8b?2%!cs76 +N!L_F'b9n58?iMMbS?]DJcbsF_ZBMp:45X7uf?*.?JH$'am)9U_hm5^uPU7iR.,n* +n]<*?OJGu`#=?JEU!o_;G.EW/DqdFZu0!-rpDRm\I@0[?D6SOU7AX`;4oV#2\@aWU]iNrqD+Y2A@D6fTZnt=4=ee?kXE_[;L +KmX\Y'@P>]K+uBC<'Z/Hn413"'B5Sm4L"R5-aCW2j:kr8=Y:<@Q#'"E1jJUi3gV_H +qh?'-e%H?D/W.!8gCl^>A+ah/a_>Dm;AjfNZ_JZaT4$Iq6l5^%u@t3DS@=Of\>_YE +p=Ea0O&8b7S%*9TFpRK(q/AD=NKhSR>A[eV`dP0pnu);,kuGaY*H)5?UN;V.U6aJ< +`2:07f&97,:_,'7a.%#?b$[5,\5&:_e9&H2u=d:S=L[4K)WXH4\k]h[DQcB0a@4`a +>2(j5OSM:[>kT4#e<#gi +jbTgpsCqJK>KbceELr.P:*Oo.N?A)aU,`YV\T(qfC8hhZE\Om=qAH +CVFlG^^rN5#@C[_2_;IEHVJJJ0uQVlag`I(o#Gj[db&X4)9la8-EqXd+KW`73b'"i +`@9i`LMM#af?I#nYQ5gi]DQ?gN!*f>IBE41gc8 +Sfc^nQh]U0M$jZ8=GqP(a$Ki!mZ(#8Ngif9),G/LS\4g50d@_9f_Y/XR,%?*TYCpk +P;3/GIWj)3SM!ZD:LTC'[lSMeN_uH*Zr&bC8,H%hDDL/@'-q[WL^XmjGfgQH1+!?O +<-Dt)_]na;]Zl-RXAgaZ*\A]"GYJ`.0m"7*e!W\r,!Eli@C*%p,FSFobc"Yj*W-B6 +/jHNOJlc`+>7U!g:Ik0>c\t\GjXRD5qAMBLb-:ijEo5UrWuiKHgp1W3Q=2IU9$/'N +Jl6!K`;%(COBC84op,i*Y@jKNdfEf2O@pQ75N]6e&\+k;6"Jm1fuCe>)U[[(F`RTt#r'E+Y'+@ja8uZ&J9]3V\s7IFIG1o-Vuu/mgCs:dn7:D]] +Kr4c='C5RfC^Xs/0Koq0B=qI(2^j("7tb_+7-c4P=P-R^qU4Y%72!qh($r+AqG3s? +)9jY(#=DX^.00p7JgbG40jY"NkKJ%4dFRZU.KF:@6m#I=9ehgS$E(B?M:UF7*]Deh+!t2_[gA-t'l%7n*nJFTbd4+4S")5>0e5n\[NtmL?"8s64/jJ.s) +>l"len%_;q_8BIS^blVO.B76N1ZpHE`tr%)d=f5XJJ!gjuiKdf>c_;;!i>C(EP3u[ +Z#$An(Qume?YFjZhL(8WR'RV +7mO-1hY'KVHGgL]Y7jZaS%*53WSr=rX5XoA)^h*q`K6dd/GYB)T+ni>JqsIqLu??g +'$">6R7J=8,BGm6-7Dl\%R/h-'VR\_gO^_O=[@^0083'R:\5T//I_ +IFNkTofpkGCE-UY$8p(2i6m&3/tSfVl(M8[[jEcp(WtT3D7Ks'FjVbID78MnPnLb; +T`*2ij(Q9``K$%$37W<_4M0/aMh+%4ZENYqpk]H"?,eiQZrC>A.lcEIjW]o4alt!5WtF3-]rHK>%&RD;fu":Z?`G/TcqBQU])+; +D?ru3A6DjE#IgZX4+H5pchqD/O2Yr,]Q\Bku=_Se=%;Ts%rL83\VD]9.P*nej_)N_HaiOc)4P.Bpp +c'etM#El,"/gBJiLYtsZ$\R/bjrY_H_aqA1h#1OYM'b7c:^)C4u,)WTF^8t8@3Ti= +`0=f5Bn67o4RGTV@+L"lem04ASfJ,WQcAeZ,DI%*.r#&o='VTM3n2ON;]\enBtHCB +HIRuY1/VPj06*@GpIk&^(*+-T9p+hS<#i.L&V,Vo_kUM-?t_Cf!W])!(!UZH?HdIk +HsaFObahe>:A)S+)j2",6OiI!,$1o"6J#9Oi!"7uu5O5?r]rSl_CD5NCLS/HSXfiXk^S6((?@Is;IJ/VoIUlSl" +RT#NIA?itf/joN!;mRup8lmDBV$E?j!MNRWC%Rmjk3jB7:c9VDm_"0M9jH<%/Wj+m +Vi";-MlJ"nHZqCNBi=bZi!01JQRu$I)pqZHB7B!;b:r&i^k_qg8fgZ7P]%G_gj95P +5(gP!!R3;V1(2?C-6@n*>+mk!=W$Fq?1c`(X*`-2jdTMZ@fc,1'\ZUQIGg@'Dl"tp +Q=66r-Im[b8Q'BEFYnB$Re$haDJqB*0cd`BTQ9:VSC0p@Pm#PBHSB(4&-r`"a8D87:`6-_"CJ+tR2i;UmM;r5NJJ +)MZXg0==_bSM?!X73.HrX+/P:MKeK[F-Wj3r&L7en%Ngnlj-`.L61&ckgR+qo%ZsX +#eT)'cZk8nTC@&^+]8pX_ZKYaPUR[FSe/3I%lm,$F(`_!@)dUE_5GU!W=g!+(!F_j +NoJsDla`N93BSLCT,1QG,Qq#G"EPRVJH!WrOd!=ci+7ln^V4P)16Y-!iqNGogZUK6 +1H;8i6N@YidV>OHGu5.+Eio"@,F[Ah7Jfma"5Nt=Rj]t^s6ptlJ\u"0'V +;LW/g7_`21&a%3`snF.[2AoDO/HFt4b[u!(iie)nq7ilpH6e+?N\/];b`9brUT5.7 +j''-0qLH&=6V`r+S]=(btD40"$eM$VU%g.T)MO^4)Mc6O6+$NY_f52%=Pl[#7Q8.d)6s(YqoAj%) +o:Hr:"Oc@TP?YND[Sq0ph*%GTXK_^qhMJ=?^3spg$Ycr8>G?Q$in*6:/,\V,P[62%ihAl'Ia!%`iW"DZ`a35FOVU%'d:nUH+#\+ju[077!'l +B/6IFfJ4-UbJi-k_fPb66mErDA;J9H(Y[Ppg:!di,9HH3l\MbbC:74pba=1B7-'b< +XumZ086oHo,*8#D>A7oWP0lSiC<@_Yn)WXoT(*hR<4poK')&a'\V+ca.H.#R0bXcd +`R-/#i<^!36:ZSin8\giT.Gqm-ePlZ]s3i2JDYEh8HHS.Q`Wi)HJ0+D?3X-J2:['a +8R36`KP(\3]3\h\o!3sM?UO4B7pDN=$fZt%WVY_fF3';$9G>LCZ-jgn9@.7:Xo;NW +p-cklYa'-ZJ3:kEiU'0X_u:a3+MQ[Ws(%4k-odHlBY`b[a=Z+2Uat,n7I;!V=^3oT +#d@*pS\rA=@b.t$+R3q&XNph3#M6]#?&tI7I_Zd1ZON.rr?K]GahQ\CKF.NPUr#/Z +D5Mm@gEB=#uS>EW(G9MVnLRH4<5`=T>UVV?QStu6aA@n&@5SH54lJ!0jd!Hi#WXj; +m^--ai+7&IiZ6[bG]eu\+'ZZiEJGu:"&*L4.End$sH'EJOQhBR/EgY\:Qn0(XiSdV +J-sW[IEJ%`d3B5Wncm7:t0*K36W!b4iq;YkTc:+W)@n>P&bm>IgS@Wl[KR)qu6X0G +\=qJc.89eW#@f^*Nc*EJhUnY+V1EdM2qdAL+m!<#cIC8bJ_e7I_^iDf;?7g33@!2V#2#)%&fOXW<@GH +mk2md=>Kp@SLl$HIHQ:;r5?7@=KASZQ*""\![]BR8K5Q5^/A:0s_EV"$BXhA)Y*S` +a<@".F^1[$7hZ2`]Lk+=P-ekKU,a]_/7.-D`KrQmp$pCVWbHI)RLRsr)>da$lYWjg +<4-,[Cr-l:0C[%FX;e5N.8K\:'CVud8dUS!$Bs2h\fnO0?)D*(=BM_lSNir)(N-uJ +L/.ua]9c@JL6Ya>kjB>7@'"nr?G"boVN2PrNRYO/j^bjeKhRnP#rbq+i2:`(_URB; +/.lN4tG!WRe$#BOYuO9-89mHUBCY9]C;q^MtfqDq];SA0/Rg[[ +MGdRBq6X8EA0bP0g# +@VSEmKY5>N"3LMNH>d4!"&>=r$7a(bh#nbXgXd=@:UuBm3<$=bcF*56#F>%D6/CnJ'RR"MN;'lW2FjXUE$iM0F)TVeIj\kp]FD5 +Qmf9;6^];;g*H37cpVFG]M-N4sSQ>%h7i>QEl-SGH&Om&DNKQr?C/X)Zr*,Ep"8a( +u]UUm9#(Er&4^N[C*Q.93A)GV#$m?$!ol"86u$slkG^MgNgaq>EA,X%(q;IXr.7=+jS$t>b&r.$c/k'=H>c<"?LqZg08g=omE7<, +p#i2PdHQ(lD&;E#5@-t/ToW*5DhR/AZ&(A(q`Xgi`G_fQVGm4`0d+<+NY-%ttMJ`QhHu@m%J2FnHi]UB&( +:0n&T+@U!Rn:#T/upcpcn"M"NMBNZ+.-Lp&&:8oFNhH]ebfI;j2%%m?c:bR_jZ%_- ++Se)D')'Te:ltc,a-:Cg!CSr5^"c/o.VGO$*MIiqKA@e40&bV-cVT,j;PD-E-+/gC +#V]`A?;+G'H*;?P/(mn5ldF-??bBn&BCMZ>(3NTpchfn[D/+d^U05.#+$L#q4:dQj +Wtrm)Cgnh=jJ:B,k/!nn);gAL"D9*XY[rMe\kNI?6@U;ZZ15DO]@boN*1aDG=hj8% +]V4.X*V_QEMLE[TNp:;[LtrKVeV@Z(/ViI9$tp!,A?'u"3A>UA'"j%4ClsMSgNqS_ +Z'TUhtU:3FC%/\4DPpoP&'Na6Fn@0)+Am699%hC\T6+%o*3j+J>mDC/Q__"iU(-k5 +8C>K0B+s.DsfHJJ;IZ"!m;sU?.^l>ZHR:)=]MouNI],LO:9rFXo(Jdl/16=2pgdbA +=e4?MT7/K=s:=W)1g)P@%]+^il<9Wc#u>@;q,#9p`\OJd3kCH:#d0!elc3.6g?5\* +d`=jHWN5fY7J\CC(CX,r)Bo3\(C:0htApi/d70C%(k1tm:D+:"9M=Zn11C9!.qF[g +WTTs"ASB8r$-C3gY56XI5As!4KNQ*I)IuiB+LQd,NekA\#T+: +-)oeo1/f\$BEcU7C6)DP$jHX-qP,(r&DOV"qROr&&K>E9UVf;!^T]?O\?rZm-BpFLHj"R/lp1Amp;L4dr +YesIlWDYFd)FeU8?);oRT<;%-ZYA?C&n7%D#XKMmtH#:KV&m)$b&FU2%[@C"PMi;2 +uMG4(k-VShL'//7FWB-TAq"$?!>2cY4^>b@LScafH;R:*.ZhLIP%Htm-J>VT"D7l6O]S#L\@=Vd$$dNim.4>a^t2JF5$8.d3+<%`$H@WnaA+L2` +dfob9=@:-,SE*4#gH-ZPK%S)!">A)^m[?AaP>3\mIMA(oV]-g(q*pEMa[?jD0b! +8IB]Kig1Z%bT#_,KXgh2WXPS0\jEMu(":g'S%Ll]j=F@=U84&oX+,'\g+ +HdnYXs5siL'R567#%75J0.i:,E[MWqE_ +?4b$bc^mBH[:!>eQsiWFmTD4D]d\8>\[HVW&A@=)NNd1LR/)W>sQHTX&s_A#@''r&\5&T)oT"6qj>0B$ctGY1 +%:uU27Ak1NF'oK$W3p"EGZT(OJGqgjhg5_%T(-P)4M9-!!3G/GJq)Klu:hFrZ,>Xl +M?j,0B7[eOA?:rT7u]DM.DbuAW:k&i,,M=29g0.g30+J+MJ05Y;M5&$@#R;; +kM"jAG\!_+dDdp*59ja9'hkJmO]*NE\J8Z4^1ARTbkaqAWFIaNA"JEZ-r&@auFjn] +&I#>'UF;k)tC;Z^_$hPAE+o0n;#bI(u>*U^%%u-iZ"8g1nin\(p9\rMV`Y\6'DXnr^1"?DaC"RhH,QW%qPO7\/4J +A*q4*tNa'nMc7TV74hO!4T?X)#/h'DDb-H9h7Q'L93jJ;C)hPD6TQsA3n-7a^ks-! +5JK2Q5]FoL:f7@h.h97oWukjWCq(7Zo50WI-B@>D_BiR@HGd&`\ecV;ice0*Y$\;D +7gO$R_?JRSX5(6m1SeDq^-e=Fkt?0i3i*?mu+QO[%I!3:&U]:g +?/_%)tP&2#%5aE#i2mkgPYN:YDXJ6A(2do:;<^IiZF&HfS<7[`a\#_Br[2llYOcRE +k%9$NX6sm#Ofu*/"Y:6LQ,>'0TnQR/`i2nk>T/@Ga!/C96&:gelD/`u$iq +%]Z4!%*4[fg,Bum)aHeH`.mS92G'%]N:PUr8u)6b[lq!RRk7LI)%HZA.IFq57H5kn +OLM=%b#O7&8F-?8IJWj$Jn5FAs-dq1GJo6Bc]^]@>IuJJJFA[j%U3*rrB?(g>2/7H +A7DVKZ*Js]O-MGI!dnSFOm +hg;5`f8=_<)d2Yq\G1\upNH,nR`n05hAF_`NcT&IB +b1L:ipK<8,GsO"N!f]EKE@C(p>6;N*=DN;`7?TQ@lrn29XHH),3s!Ik`,k/:M08MmOX2HFT>eZPG/![d*l9Z9i;78O47SiH1u\ +h9]H-WnqF\'q_MXVqDO7PWXTNTJ*p4LsW?=@<:0!](HQ:eIl\41\M[pS_kopTXFel +7F4*4YG=3_pdh]0-u3,/5P[Z*_@fFGa6q?fWeEn&-l<2ngg;En=Y1FCi(ldko7K";3Veo,+6&&StL-@ZVCE0:Trck^ElK^[VPellrsJT(J'jfe3>a3H/%(<*9J,!`;3mJ6'>"*=DOG^[SW1! +$1`*],qmbHJu"h2eSqSlrqf@n\ZnP\X.?7#[B*&hR5.h4fcR$4h&qEr!21FJ61GOL +S=K8H]:=[cV=De\CRI$&Du8X#Bo:@Q:,T8\D+QN-]pY8?"NQ(_bg,#f1jgLZk"%!2 +Tk1SlP&&E@#%LgJF#2G,]29[b%#[k#;RCXNgUoCKs1D5j*q;IH68('P/kAL*i!L/R +q3&[rUR\O,]R'CDmVd.`\Ee6PC\Z2U[bJtLVFhC+5b93)XG6YT7_9G?>--?3lrV1q +amQ%&NlCl2b9mI?%:@T[tDq3dC^3elFn4a,ggFrjO82T]oQc.bk]HcC"f6%rM;2\-!fq_/tC=.dLQ'eu6YF-8;f +jC!E!Dlclpadf2M*\J>J.8FWq0;.146-4?A +&@6S`*.8`(!X[;5l.jrag0`4)dg^!5sm^HF@6es-Id2/@R=.VR78(e# +.aW3Xj6BUbjmtGG9sr5W&3a$R,h\-]AGfJmQ%CR]bR=3c%YEeDmdX#-_NK`%se56_ +`r%CZPH_TTHTGo!Ot?KcT&'&U"*u=`QW..DkH,hb'iR<_f#\tWsQ!&!TfSU'oB^6h +sp?AgK)'n9g+XMhY`c%jGoH*_*t;]o4d.?8VUdu_h&DlTFNa?`;V%2/W!l?`I^a.7,WN:6 +4Y+%NH/ZsJ7=uVSkmUl5]^4sW<9khfeXZ3OmC=\=XR!#g3H8L`.u06*"V3t)99Z3g +4TbX[kiOS&Y![QNbZ9%N:1;h^pof@I&]SCH@&^n23a(%]]t4#!_tf7I[-+rBT$r17 +jA]tG7h6&JpG<8@6]ZfY10Su`Q/HKKEq-,>Q,6q"-@'(_@=G>e.M.QRRWILOZO<-F7Q2o!Ign_PrZBafe1<[VO&N%i5Jo8Y'?=mm#"?E +&nD%UVe[sWf[^LkKAFmDM.Sb8Vr+HGD2c4d3[s8.-IP%%h;b:6HM:L1#+p;WoDS_, +81TU\5S9mHPgBki$9>c3`I#amUM(tgbI!9gX:U.A'A!kN.K;]e['$.=O'J\EcY4I/ +P8\Snc@f^orER!kbF4Vr59Xrr?q^1V\kPJr]M_ZXI%0_li7paN_OD*>(?6\(QhU62 +0"?gfFM_rX4nnC?@AnE4hl7QnT3931Zsa$-I,1HPa4$0n4l`*RS`B&B6a(=lri5;03IX\0HB$ +nhbAqp[&;B.&kX@!:\)B,PBkVKZYXSBq=El#BsEGi4Ohm\FgB[VELQK%&SmB7c1#P +1t6j2R1'qNF04)[\,O!S7f,$W6NT.T%ZmuD4F/0SqDdDl'_UMiL>'CFGQ[_hH!jUk +/-Aj+]0Z@L]/mkao:a(C[>>R^m<>lfDZE8kOCa:nM=!sm?Wmgl!u-2r`>8hR%1,EA,;9EF8KLiCBcODo+9epC)c!bZEc +5ds23q&A)!2^G2)G#gs5;c\1[(hTpP3-%7`*OW/FA]?=?BQjB>6ei](!+H$nZJ3Qp +s\9\&K*1mT,m]qdUD>5ahu?[/k?"(!&!Q/*'PS30^mHh+aAttm;<[iX*]7natFs3kir7)g +PuT\'jjB(XlG=&6It#>iZ>Q)7^RWh*,sa0P?Q$f$HUm/)!<-87VDk#RH&c"BNeF'[ +tHpSfVXG"C?qhRl7\f%D["D1Vud[A\(VbZQiLS-.k(dpNp6'u_&`sYa`F:o?97Rf] +R3G!3up1jJm#/XdR_t&8N!'M?s=Kd=cD"WL]QQD^#FO#58Jo'RYSgG'9,LTS'?P1F +V#\+jG$]r!E"ZogjjP,[WUK]CWF"%M.rp3j1c:4aN1?)DOQbGcpPDke\O@#E]Sj$J +3;9?i1@[fgDqmW&o+$NFbtMAp#tdPJ6BJp/@(HGJSpo#@qeIQ@659>1u!N54nXKuClT6KbT76Jh,VF&X()X47L,h@KC7gR":ZA@d>Al-Zj*qt=Wn^f1Z +o7FKK'ie5HXm)'^a.GP`e5pVe&!V>gOMIN@b*RVgTMal2V/>`oAjL"I,i3 +Els&3ourI1F!Kl3Njh#YDrHmnB4/hFFP*OJ`U#UH`+F*m]IVh])qmmVZ^O\:MaMX' +\uF&pNjN*-Fp)naAQ&9S':C,SKTl##CnBE8:Km1nY +5i:jLP?q@:Kt"S(rY`_Ogop-P##>QHP&LaTf/&'8&h"Cle_csY)L<@Vs'S/c%=$^i +,4C)EqrIfgp-HBI[Iqu[.PMq*t\?Ui\CH5$+*T9>[#oUWQpT?[aobRRiYEF275pWS +192.8l9e_j#O:QdX3WWqQr/H0;hNlkZeD?-*lS5NOTV>K@+BlSd"V5Lb3&@nLq`g0'cKc+L6?m2&Tnm4(Si%VBUuA(N<6`, +joh8YFROHM]*qCAN]MIYm>G`@q-=DU#[U+4NQ#\Z?foMh4.B`.- +(p.Sj$jW\FUABJq]&E;g"L>ETP,B(eMWmR`]b6ReoY\@`euZ>d`0DF%3n.;=c,.IX +1D7qc2_/NXr#%V!#Kaj$K13UG`P,$eZWO6f,AePT6MT(-Y)t.XMDF`,VR63INL(Rh +[j8*n^1QVfjaIC%U(qBj^o.65llQ"mh+snBRliD+`s4IO4b$D/E_e(;ajL,TBAe0X/Tc\F>+k%R"UV5Ab(Nr +&t&[#4m3FZ*Cg!mbN#&+@U8WQ&]rhh[TZ4i.)>Ep%!NcV4hZ<6`&Q`qGi2T>Kc3_9 +-Ls0^2hJW+]&AkF,Kgtp<^7.&,8)ai+,k$/Cm\aH;[#n8OeM2i4V&@_eDB0, +lHHoo3T,hM*cS/n>T@&\"6IOXP'6QDe71XE,MKTfY +V0o&0'6bba4On2X`O?VMetZ:cs_,2\8Rl,TFP]sV-DMq=K;Oc61=2ILZ-KfqbK[[E +^Inf@cZUY"`OW(abYhEW'7bpK>VX$:Z(8T'Ba)i4E3V,4kmR4lF@Y6bBAd*\$J00,ag3t'mh&j2hC5)>m9 +-d;N5\CME5j;I]d_OFG.CTjSj#B0P/]>i1?*Y$^@L]CpN"J;hoQ6B:U_a"E]T8A]P +Q=8)3?Xl\qnD`-7_Dr]fV`$1jRbMtP[ +4_p6iMh2^)mVR=4I7PnakC7d:X_2?4b7Griebd$Q_E=Ye_g.YN!DjeacU&;OC4T1f +E:4ZJ3J=Ki2,"Mgj'sk*S&&59-KFPGWe*VJk$I1Z!;e`!6m\Ch'"=0-` +fW0C/^?Bu[73gU1OYnt1Oq3=e"i7o(ra%:*@eY(S/=jWJhb+@ZiM>\>?d^SRt_cr? +Csi;/fsV,^-]-e]-#%KUQ*n1b5a8[F%DCKM`Kk&3R8e4!(j"m'/>>FF/UY7TC_kYZ +n$0<+?l/;V.=9Q8L06d#n]>3r[,$R5sBHMd_0Z!-j%Tt"c+1DqUCEB(.TM*EK'Ebg +UZ1n+K<@DIIg@Tj>.5&B,Nk2!G%+1JVZ>c*-S=Kd:%j!(b\%^k-Lnp&ihlAD)!pYe +!ul&[uYrY,W?38mL2"F39WRf!9iJF8F[H$cTLAJ/sST%[-HAnOIKAt"9*W)K[7+To +Va"I&jg&n1_W@Y!&F_s1".5H--_O^L+-aI#Xu[#K=3][:'N`)*.%7M#\&c`L1?8#= +T6O22^*$)CmG]>GI(q^\J\?&^=Q_,6eXHWSc:rh3h;XKA>DbJb`B&WP0opOL?2:AH^IJ>Y[%k-iufM +`#o\B9<7IN)iI8bXr:d,67:[`@Pl$B_+r>URcR$.sVodY.XK1-?)]]Z-EY_I\!O4e +@[rA]qs5:(@=QD8(q(,)*u-Frr>@[MPmZQ$LoI')sa%PX<#J"8N+XD7L0mtmGA+u. +`:8Z(?$:A-.^m2X0dIYhG--.'?>R0KrF9_4nbP3_eH<]nEqtJFZ1?:iHPKHoW=Z[_ +tVMlG1RgPNFKM?QrHa;hLMWs$1"40Tg+9ah/'U3o-B;ZAJ&cZ4iZje-in2_9;H;@@ +=F&CAKtdL[j8eo!H.l"VHe#6">J8V[Pe,IMna%NGmH(_PH@n"/OoU:ji=H*p@ +L!n'-tR6W0L]hj@$4;/G=.\N,'3:0T,/Pa6eRC`Ao*l8]K\7r7=Oe9aY]]e%R@g>cQ:tIQ +9U*>c*a3eCeAXRjj#pYe:1ZKdisN.6!u$4BSM"YUl;eWcaVq")HnJg*k<#AMaGkC" +]GuN.kJfQZ:8&acWhR;[rd$[6IPQ%V"%cPD)e)p)jgA+PG'D_n2kKg9:Zp='K7Oa$ +eh<.,iW*[E(0ilc4@U.4r3pg"il[@,hEfB[CLJeDA-]GJ`T4Ai+M@@*g?+%_7gr=r +(-R#iCeOB-KU2KIB$n-pfq@s3'@Fd2eh7Dd3ZKSHmbUk710(tb9O>,f4sq#B>,nFY +!0\#>K^H!*UJ8kD^sS5/$pnE!,'ogrcQCjpgW:$EnoA`;8M?c0:])I!(J]%"3BMoP +QB$2po;,8S(jJDg,\:^WZlJDa:8a*ggk'GU@@ +*ne-P!P]h95P7S`Ya,PBps4)2S!M\``2s<7`IC%bqoA"&77[cBED9n/P=J`CIpA;) +5;?3f+C:f9!-Hl#fomC!:$X#C\pgtY9L>f@T\O\_Uo-YZX=a`?87o5kHpQ+_Fo;P5 +pfEr-&m)5-`LQ9W9c\44"Ve-%nAEim;Ro(R<;Y%fnOrR<;$06pRhqaH+ZL$DH>k9K +ErPH.\nM0D&=7&N/Zo1bo(nQW9O1A.;nM"QA&d];Fq/pQMH@4O/JljcWOL0f$,BE< +KYu[)Z8H&LQG'Q:f#H%m9Pdi^P^b-K6d/0W7KP=,AlHj,TQBt)h@*3cWU=anF!EZg +KWJd]4i#0[YPqKPn?]>_H;=EJdsm5%<.n"nNFS[La;O2gdaJ#)7SPeN&(9Q(p?s7O +/sZ,X_W(6c1]h^63Xa+!(QKI$Sj"ecoF&E^p'/jZj?e7up5p6RW3R+Hr*Te]dfC-9>l3qNK75FYd:0f$QhJ0 +c7oY4fb((<#+2>YZQKY4h,\(N,CdASoC]'GRB.d`4i! +4QFj5L-h:QVuuHoYgf5dj?Jn&>sRjCK`;capsF<<]tNDIHqZb]TAq\UuR>qro$;\! +/KcXa?K4sf(]^]]NqL4@hB*V9SBr<5T&Eh]m!d9NdHVL:XMeF\$HH[)ib/%T>nA_K +/^Xp]iO#0?E1gTa43g:)<^P7H=r'dkI(*?bAtbVZKVX'<>aFU+Qr'Q5T_YdSn*d)" +9ZqD=G\^45E/Wo6+l+sh>/&>\'nlF96\$HWH-aTB;c&u70#VtBB71K)ptO"&t:1$LqBqJ5nM$@4j.9T`t]Zk8C/A\SMYsKd#pk3R2:?QIk%h.p.pDjX&*LrpG+3[9a6Bc +*^;ff8eCfX]Z*>`_D.GTuro"*G_:SS`6.aP)MIVTFG"*Z3QF9*:e?N-dCAjh$:&If +-Q0u47pKZCh/]:P6G3=\B]+C!odH/9#[Edm@=1Vp$+H".8gZH_ir[e!lWiL;T#FS[ +4T$a/=>K5`^c_q$V9;d&rjSb%rYVrAH7m=-\/n0V*(t]H@BuLc%eB:g4+p)ciil&f +c)%GfMnqSW!mq7!>qgppM8pY@LbBD]iCD%SB,k&DYC6sAkeCO([S3nmnG@qXW)&>TD[#Hp#196rIT? +;&cLbo*trg%)/]I+UU%J":<;)U`kQ,&juf@UD,-FWW1?H0)L5obhS"dEjAq7C9j?QjZS=1n;sDfKPANp9>c: +l4a5mc###UZ9jc]_g=93_e_K^)YP&iR9*b1>0UP9,*9ja[O)ZeV8Cs#;>*(;5O.QW +i:Tu*'R4,mN>q^Ik$'E;+hj!?J`t3R5eg#"hOCejEamAIg(RtDBlg$['t0p\][2'T +9h(JnP[,WUV8;,/1ds7#cD*eA:^AV@F#Vgk*#"kcR;55j.$0\o=$*;%XqeV),PPd3 +9sCG>qC>3NYRFp+$K]M*guJ'UOV7%od`[2[CsiKZA;`'B43;9A"jK!1OpsfqD8i,/ +eR&b;AD\%2lF)t"3\(K=g([L9#FsRbX +.cna_#*<&q;Vn->\*!t)WinOHLk1JRTk\S\;Z@RYZ$A4qcn3?OY5]fChMp3aPHL/)='O-B7WEbd +BqW528h39!6I5j"!3,:O%R1H++nl8`$a$#:Xp64:puHB1.qFH>BYI&9EC+DSC`%^- +'jT:377,3:pJ0cR:>!5#EeI\8+ur_K\d!2e9!dA%B!UF6Gs)m\#)LT]`<*I*X'+%D +o^UEP'u`0c/6(bPRNicdj4JXdbsT=Zh?NPbu]cR1hU5 +)8//%K3BOCBg+QQ'?WPid"]?]_CJ.fcIPpU3o8Rop\L[>72kGr7<*`'=F*N(aoY?S +nJ4pnSc7'-V`.a$N[4sVWJ_VZ%[?+a%<:T%J\"q+YGXaJ`N*+KTnK``1qjDe4L'7Rqb"iq`3p +s1PRm.'Ipf&7jF"H@JVFH';NR%Ck(*N0)'>rPK4lGN!%h\OB?R!Es,TFo8a>1]ZFI +4j7284a!'$bOP]k$h*dA#ML2\?Dtr_2*+*BO)Eo$F:Eh7eb.i4=V*tVNA +!f3r#f&G*VCNb*+0[DS0(g(Wd/D9:,je"1Q2?u5T_oZ0 +1"+#?`ZZu_[/&u/]5Q[OclV*nW&lE`nFhJi!P:5L"`:,CB`u]rB#EXf/6>78+8h5m +<"=^0.uWE!g\UOq5![pCuC>K+,tQ$O"Qbu6sFABR)n5(;:s#_3BUf&aTd8Um4.XCT +UKf(XE#Er7N#3f[qqs^d%:%7T[/[+i$\!pqtgrrLBXDs/4D=.U#M/Z=%$c(P;`^h?+]`;okF)`>pbQ,`8f#Qh=hY8l21D]R_kX +_)nfGaYCsfJj8JJ;W*1GKK&0ik'&'`4dD+dd6.g97'A?BZudNd]>oJ!:-$DSUckhc +4ldY]`<;lLqEh0T\`;t/"Z!?>B= +K_:!DBj>[*(OikXI1(a&?\KI-`qWK`][s1[FCt]pmSE+\PP&pg<>_kQ/_mLAhZ:V" +acm>'N7hgj8K=`q^X%Km;:deeE*ot3+J)=D.?j,iIFsJ)2A6AC_@7n!;sJ(`UO6u/ +,WT@%uIBp]f/Hjf(Bo`i3TYH-+jg1Ll-^j&[j!%i-k4_?B=#@:W!\I'N/1M=;W$MT +;?fDKR?!2UZ%,XLQt_RTZ56eF,i?Sk.Qu;oOU3.GV#St7ZOXd0A^QdM?$l(,6fF'+ +W7WWNp"j$c#>3"o(o?@:TkM[CRVfI^E-b`'aSBeq+nOCV/nS.FQD42+]j1Sj4]#>< +W:BfRg9jLkLR5V:m'sC4)iJA-si=EEmI6/WM7+MOh1rVMX-I!+5$Qr7k:s!%)?lYc +j!MH3eq6-:Qb\q!"k6Hd\jA"(-O]-,9bse$@1gu._`6,d4C-t+A`.^Y=`(Z;h\YDA +1SW^TW/F\NjJgo`AanNcHDGZ1BX.jqYJbXc5ciMWo2eFk-[p%m#=a=b28OK9>)L%hJ0dOh8tZ\F-&5%,h^O*]3*HS5q7`A`l6_ +dd3<.S$WknkN6J4-gJcf&IA25i?Y;*l![7>51sp2NYfP(tI1TQ'=8NYefC%Wp1M&p +m^7`[IB0N=4:7P];Q3(`k:cV[pRlB@_K:+)/^f%1Q3N:HZU"[g?BDW2i=a)FX-$o3 +cc]Xd#Ir85T_[^_nE;#OMm<.e_@4LLF(.9#.AiR9-U%.,.LEU!WIC7Wkm+b)1S]a%;IFIWIO3R8\l"Nk95R9]al^o2C<^ZDi4c +@5L[Y9h9q/j27QJeuk>\hSe7K'mi#BF@;Edcb8D"lmo +cWtgdXWr9E7%;$E*+o;T5N11;sp')5:1DBl=u.g\ckJ)NgVmeW1*7OO9n_lSF,X2! +7mJ*(;rW.#7$du2':RN9SXo`5gO2=*RX\l'7t5EoV?XDbI/2PcNc9-/6TQq@V, +Z7EUf'goDVk)?iUeP\9`Gfj<:--mc-;Vj+4m2qTS%Kp^hZ++Z8BsB_ON9hLaN5IA2 +sda2!=.C*@m@hFgbpOFIL,Q`blBZAn&U[qi>c7qkuo[:X(7Q%2B8t>.oF,u'Tf97b +++&RHFCu!:eEMbggO7eqp5M9D%bBb+KFkg\_Ptdo3",^lUN#ki+7pB*2q$WF7325* +_ZAeo&]EF9nqq)*/ktWPrY1X_?"@=C]b<[NCGo2GP]Yi#VFHIELbr< +.QlN2^\;fM=R62F5QR(S@SdWgq[E3CM\(je]2*!]LO)M!Rfd!AKQnR\ +]NNb#!)!V["#>ipo`NJ%/;u"i#O%;\@,0?BuW\^Y*'PQd"Cm2RA,Oo*4cnGj9bnY% +9)t/n_]2920Wo8Hp57Ce@)oADC>=M0<3O2Y/nYfn"rJCk_lA8ZG0-n:]Gqk\LXSs?)00DHp?T,BZeff19WA]I*.#'6!II64@j>)eK)>O!7UeCnb#:H`S)W%g=FpOQS$3p3+-2 +4g:Kims9.%hdYfGVI1[]`$M]3!r3u=6_j,M?*HSrrBl"A\,+/o#J_Y2k#`%bdSAf! ++_'0:_C624)Nl^N"a#keY1tUfE)3pFS]UKibON+p%At,]J@ZHJ.:lu!:k=RKcKRl/ +*[`9DH[mX`L0h?o-4?!,o[(YkN:rf][p6E*D=<1:UHHRe8@D'`EQo]M +V!!`gJB>>kV.rL5oIf-dXXMLeplVF>$$Kdn$IS]AZFKglH4n\+^fGF%>!YXiKX&la +>c-oL#RUW-`;L>m*K*a_caFT66_)YBlb8lJ3u$NG2dM^h=&q/_:/Aul5Feu;X4ls^ +7*[q6;$uL^e)lB@(Nh]5g=!-p/Y@5NdQ+hU$9-^rrBQdF);)nN!L8]c8Z*JJ[ZjT0 +IR%`:\\JTI4BGanQr#0/RXIh@#%.)1N`b/#QPi!^tchihhmtS@jl_OXkd1j:AW]=: +I^rD`p-*'NFCl1=]gAgg-Hh(XaOCi^e"B7iT7APePj<\c.QR4(gq-YU0Nc86H,3l" +-S#oTc@-.U&5,B4<5>-TNNlFrNn&2/`k$Cf/NaGCk?in,b1BN:^?1DIa#M9rmS)4" +?M7`E8Y3B@a_2&HNL]H`]KJH4C"=_S2i$em[+.?=4gsqOS.Cm.T?IiH-^r#aY_Pfu%E=NAiTiI@V +'\aT)l"YHr4"kZkAL@o1]d++rl*T'^SSanQ[_0N/sGCp)](LboY"c^63mf/2-&:F +Xg^D +5;%%B/h#ml,?;?mO"^g3B/hE^?9YaP9B"c_(u8H\RWKH:b?K6'XENQ7LS)2A1 +0:&q#IT#3pp\'\!nN[l8beXL$i$WIgBi*.6V@"<-1q%`H#9%rr@X\p]_QnG +a%(S_CM`hjW8c\.sSO.kB@t79T1m=3'O'e5!nSa#VQH>B;%B#*AS +k.Opd,%Sq83#lFXZOFhB85i]Bl:>.M;JR^Z+*(DU%*33jDCK0CgmE?3oQ*I/+hl\h +s@,rDhai#^PftdZgWGJE:':bQHNr[m2QPqL-uueJ3&9AX'R+!Hj0$u4Z5MGHlgc`> +<@Z7C2]i_Dg,UL\gDCCTsOYQ\S1;S#*MX5 +R!H2,uei-&j+T?rlTPO2b%ELY)@..W3hlXW=KC%'>^rXKk+)tSQd0dWDV-*?dW(Jn +3gHeZK[r)3\&3Wh;j`(7gl!ghY8_`grp)N/_cCk\jqK44!`LPC0gr2+D&?[GS8d.> +CbJ*OsXb"JK4&S]B(CS!Us-Pq[H]aB_n9[[GriZpJn]-7('S4nC?$S;3hFiXO;$+V +-&sPh>dPIF'c3Q!!QNST_O$:!!MolQTR4cle@D:cV;1'j0lRcgtU#PK[T8ph%P:=/ +BX`%kZ]$.e[ggYr@^s(g-6I"C>hVZ^.>Z\0:Pp0>].\mOJ".Lc2cqWc/8"tqagWDq +^VLWI4dV)$"39,_aPT]<1_QVRrih8KW;>>3YU8:!;rA"emDA-r)!,!)]O_&6KVco` +.$`h_sWF-O-B!Oa32L7BCP4n4lQ45]h;"VpNrBfa +Gn-`c1qToFhbR8h6d+'F5;.=C&fd59m>Rt/+LFpHUKq_bi&u'g6:=.%AK\"%24J$.b, +Z6Ag2a7!OM/tD>1N'?$cgZ.O#ALX;BItUd6fLQ<0O]oLVnV[([dXHP1jnI4NcY"sI +/a1^\qkWo\')fcA6#"\r<0/$9+D&I51BVgr"RP.iBF["+G'H[b@Fac$ofWEcdKKBl +VRJ.Moq6r_58CXV"14jr\udtrrBB!_)tGl7>;jm.]s("1@q-h]c"-mMJlci8@1f+^ +PL5Abdq&IZU'*CjDe,e.d*]EO/?7t5OO.?&n#M'#FAk!.*!m/"9>#h[2./a3G1FqCk+rU9qqr:7ne')`0lZG*I-^s-G*MS^'Qp"4K7E%4ERU[F +J2l"V,m0A!V,(%es3'_gJ8r`RAj@(A0H-uZiL/m#uQ)gg.*4;pAY-Yd_d=Z,)^I4% +->Q>;0cKWEbS*4.;DV@K-=0E6:^6FWRqkh[+h.G40mF@9A,t\]E'0! +deC\Tb9*'nd[_X;@+P[\KOVdne.`^8*)u^ORFHF1Q:8Aic8Bk\Hj"5V`jf!J3>+B6'CF1$+ST20 +h:q/IOlF-@<02@D[kf0Ahem%M`K*#mpEGOn4V*\K($W"YfFXg'&#("]Na?s54;<"X +'B,urm%IJGrXIj"].+N$i&?5j?>3$]`.t`DTea._fmH$AasfY;jEe,+VsY4@bG`!% +"^j;^7NqY8$i2o0e;W\]!&WA`nA5EN.hY\VJ4A"KHZ +dg2I+7.qn\(e(:@d$)]ggK:p3cuHWp:gd(e$N7jnD1L:G8E2FDRgBbgeJc*"-kKZK +Rqm1l!!q]`h3#o4EmT8SgVs(/I.+YCNqH7nO[V2"*VnC-R8a`*.Vh&MW(WiT?Mt6' +:eu`A1N+.!Q?,`>XrUofZ0kkUflQG<3nA2B/n!M_<2o:5edb4_nmq+$JRhR5o5dCA +CDS2;#^M-_i@5lH^aCSogn`@j)'NaV`B]Rk^/2lVqj5;m:c#^@$?u$*o4h3nt6LUP +JCAaQ$R>\2YK(m>m5oW88[D^QI+t%fA1IW^BHm\-oDCjT=#KR6f +JprY^Q*RDJ2l:jLA&((:F1YHM.M/liWln_pGP!>\"e +^1!FaeY6L4BE['nHheEp&9]//MV&ahkVI82G]d)]/rR@M<")u%TcI$9;;3*_pDL2) +N:+q,7r!Eo4Ee;,just)+18q`I +@<)+bq)s9=E'E?fXB1Yl77IlLJ,:L;3+kgPJ_^P"oC72pF=rIa:,pZ0N,[qU^j.7n ++p(C@:YC?W"C984hC,PHJi:jjo-BM$F'&TT0)g3mI^:r,e.m?H=LV>EeEWO@XpR-k +J@helnq;oSE/H0<]JG0O-foek;J[639eD"C>'/snE*hi4E-XuNS^FQjkE3D6>5%qOB=::e*:9?EK$?D9g7`9ZBF=pr +B:n%V9?;UOCS?35&X+k#;9l^@n+/ASM'PJFA&sO2d:Ws"EIlZTES^0+QKUnI&[,G# +6S/MC[_Se7u-`q18!r,L`qT]Q1A`<78^SVh_"oT,`uGNf\Hp\&7.5h)hQ9c=K.]R? +^S#Zj/tZ*=2c9NENZu6KffJ,043.;Jlsqd6K\9t>]3EF6#+h;=au6=3b05jRK38RZ +I@p_0':W$TJ5/'&$j9ZRpIJ!atg3f6R`.aJh,H#*6g^&Hn?V[U%>XYjT'E.P#U%uh +eLSaL?eM6eVhPKlE\T]FQL#FRTGo]4!!lNiJR9^)4OCjYD3?4[e`r1%prK?K>h#a= +#X?OQ&/fSN0O&0Y#bDkVunQB9QODVoSk,Z9'Y&=4,#WH#4UkB![p_I4gTc'Gae0/4pcETOAFFdeArPWfD"ou#%(OXG7='Rk\(8spa +[p#r7RhI/WuQUMo:LV8.B*"d?"qS?Iiju+\kuIYr:mHg]9."(X(/Uk@N^6V'ERbM' +7"S^6\Kp&Uf=X)JWD4M`*i1>lT/Mn`u1c]7oT61"O,i$"jc=4V;Yeh4Yr)Y?.`BKJ'A#F5'?n&m$0a\nE9\UXN\YjPh +BJPHRa6`L@%M@9H-<\H$38IZP\i'oJ&J2J6>hYI.Md3'rjf<7ff3kU,u^_EcL[SIs^epoYf\-d8%WKQHbQ +9G1-ec]0OI@rEJE&aoFC6;%^efRR^#.!(G!&;UnW_7Vh8EJN]lh($S9&;m:Q'G=0I +^M&IV\sop_)]:f!N.7=A(Y:i2&^4;\/@9H?WsEbq6B#fc`KO_X8qkHnt6JE`q`YQS +Hn=QfC++C*^g!Za5rc,[an;$;j&hUrrCWLme+Z)/1-?Jgr#0Na5oQ*^)Hd_Y$$-+] +'p'MCj\$]X]]GZ-AV?;F_q\A-j0nNW(Nm\RMiC#V@3@#$/RW>mJ,r +Uc`Cc`R]WHd#R.p&o[#GF%'oCiq^RFkg]bL:%8C/Xc8+"g-!B%bO>+56g;C>5=N&h +mBkNr%kNK^D&dNTO/!?nNVdk8S]kMl1/*&)/Pr9CXN&CnXDkZZ*V!lFZgh`\+`Eef +(u5nUM]YWd7VR=SH*t9Q07joBbD9C\jjIj0GltD:I4ZS&#aob-<;iQbU4J_"pa@?/ +'"j-2r"+3`!5.EkM`kGVnrA?UmuOfEtI\aIK4KU:UehCY9\,*-,827Yc=T)X60@Jr +X'2*_lH+S[<)2Jr"T=lAYe]'V=Ea-mBtYqY(,CQLNcLK# +DrNXX&-Nom9W6!MgP4p.&T:t)8N1&r'_XbOBePNHPjU'E^HDlN]pnDYE[B2'nc4.M +DS9%hnZs8J-:X2M24BOor)*o$Kq:LfJuZAj0sXg"!qKce5;SQELtgU&#l^Z6U%;F4 +A\=bDK&/U"9!X_Pa\DZV=M\uNp\WRE-=56!kqdd5N&_pZcm(-QfFEcVoT=#]fV"Q) +!gQgFas0<8*oh[!m9C>ZoaL=E/9Z>\GR+m5.eAUY'"HsC$.c->UpZE6[N=QWO//3A +CW@ih%[dlr+d0?oPd=A/Yo# +6B:u6Yf-NIhUTu&d((JDrcn4H/&4kq9TB'he8HOl!F*p(T9l*M4)d\#Nb,^jGps/Q +@&c=uZF^GrFCrrDgCa6i2dr +nSVDe$U8!G^EQ^inLQsngiT?$(8mIR)Dl^)cJ4X`cs<@o=(6_YEPUO"-62<=0BfR: +BtRp!A(fm!:cS@/&_)7[2,ItCn8'uo8kKOhcUNc>=h**K\4:pmbj%JTEt4;psM&5Z +K/31lWgjRge8TR^2c3SiG-BGX[fn%S^+lYE\gfYNT/$7aT->/J2QtgQm._L3rRnqk +uLQQ&V(BHIVbM]j/'@;)fAD2WlIqD0\q0@"07a\)uX@MOi@nh;Je]^ouQ1(*G_$Xk +M/hmT'*dVg5Ca38LO/'%\?rm&6P\9JW;3/2(4_iQt$4'29SR3m!=_"`gXA4\Dr]:* +A"dlDP2_ifu>H[hZu>6pF6!MY1t`6[_P,(H8_%9K +&RN)P"2seNRbP^Y3V%c`^:)?>]?6l_/GBia:M@ +'n[S)n>U?+q6=^NDu%'12$Z"$r5)'.M_^nThEOUruf@#e'k +.'7.`lo-H$-kaB!**E2N:ZnoR5lOF;%$EV:pMp_Oua3%duC`(Nqi@"gc$R1*_Bl4p +?P+lkZ9Un>XXsH3oK$L.Ti2,jVf5tG8^D\$33jJfO]W1&\%pXo]sIeo"<8m2X\25> +]KO;i3^(cim5i:6-*H3+%cNd7cd2dO/4=\pr's6P;b&Ram5F8JP;-B\&KJ#'s!7Sonb`Cie!9]Q9Rba%B2`I\;/#7*nQ?>uko +DS+1X3p]=Q#6(N4YSTU*4"9n=RI,JgmYJOXL@W@>T@VYq6#s,*M`\SF"6n$!(!`H/ +&C9q>F(:Cp'O;(!Q!M]p.COI!4%atmQh(BKj*!=6*+jF>#K*ZQhRrb27cuUM"7m#M +C!,^OH;gZL\\G?cT09$eMKJp>?\&HYsXRH\Z\b)fs#\5aP+(?beN?@+A:u"I-j +CrM5Ej@ALJihu*kM^'mX`qQ]G7i4g/onZ^b^YNShgbYWFakLupVkeTe<;'C?dK%p+5.[l^8fRLn +RpdfQ@j5C4R)Lg9Da4Ael@eBTJcAF_B0']#l(F34rrm:%_p+'[1L@uk^Vi-u9?ot^S-6&g@;MRTL2$Ll?,GM.4.99#>0;U-C>q ++q=e?O+Kn>4:R6__QsVZmjE@:4F+3'r>d:6cJR\A?t]R[iAb#ROp#LDqF*.^TAou& +9qcIRbeq2RS7*)[Yp:J!.<=LnD?kX9tuJUkg_a#'-M]X5Te*SL%#2`r\V'Tn&%=%] +%(5DU[*s3'8A$]>/8S=QTiSuM^oP%2m'l#'HK%?:%\'grK,_r-I3QQ-U\d]2L$ +.n^amM1.3iFe'#<^W%RUkfZApf#hc^4.m`%dJ-FhY]eS +CQ@ipa,q?m/_D\Xg`lSp2'a/"@VGCh-\YZLLma\*N5Gp\Zrc+Ns7NO7ia)?RP>G:7 +DH@ec@*L$&*iT=7jPn+,2Lpo>2=?7]CHOAS\4fNSdLEQHJGVg5:-B4Dj<)6*=k?5 +I6?IMmV:Qf)GDCqbN!OqKA_6V`;E!PRIk%7;PZTp!>BU_4V>%B#jlVIJZS#,_*cXI +gKW#Q?<;pE,0)[rr@WRrm?%P>(7&68$HcjGCDO2^S>'b8AESpb=bQErO"/3@LFLSO +fCR^&)q^s'J\lrJ3ATZ/t[E.fRi']W>q2L*eU9hIl^b/r#*;UDel@kECs2 +'4b%Yooe$l'#BfTDTXXn]lDL]bB>Vg,B +7[NK!W;o^?gqpaa1*rm4?[Q?rC1mj+"gdt!4%bNU^I,%OVOqUTD1U3G\hqlDgIH(:Ui_b;a29-D#9gR! +Ve8*htT+5`VqHq\=:=k3q2jEQEn3:ng3p,/2F-[NJqU1YjSEO9tgQ,K4k+)!*K7$i +A0oi[-T^dT'LF$4YQs;!*]?\K>Q!ig;n-j[^Iu'jq&`8B-WRY#35,sX=k$-;bHQCI +2BfJ]oAnY)AlL4$Q)se_N-s'TH`FI#0Kc_gUE%COdib"nC*HPAtnH[,7!/LRS%/a&tSOV]a\ +abH.imVK9%d0EBHejgOdNHC\MiusX/AN/(r-,`,imn,]kT2oCiEHXbAj)3_9*@R`p +IT'CN,IIn#/^;2BF%:0Cbf3rlir07+Tq8Iu%RHQGqEB'/Q`;Qb,N#* +a5d0gLbb>"7s\#jVBs9WZbfg4*7D1S?i4[#hha6ltc'*^\B'4PH+W_Am=I`(48\h4 +6acaCX%@fV8ep5F@g>RU6ZFm0#QfR\k'^f.P`gC^CgJGi/_4ar!BK3`NEoY$L%!`) +LesiV&F(Ea-jD(i4!Z+UM.dKIETDt8H/[)/FHGqE^tGjG@tJq@[?8VUfr_TH +L-(",Q?%QO),lWJ3DB>(PcCNi!#CP`JJK,P"GBY]Z`t1l!%>7QQ;?_Rlm"qAJ'V"3 +He>.(G-m6oThPC,1RnR35T_C4R +aA'mUropuX?#>=qUDtI&X6dj6oZ'%^\>ueh!11DHUbJQh:(dZ1h8'3j0.K>b:]2&M +"WOu'1r20G\J=2f*]dOkVs7Va>Bi6D5;)p6:t1g7X`QgehkGr9;2gA8=\8@Z!WXM +!,-2&$9TdK$mFLr5[R8!(rC;E[o&Q`)inAh8O;c3D"B.P6?=^PlEa*D,$r +QC2:!;.K6Jur8#WG<:9qG_;n6ignZ:uM2#H,_pB#%Tn0)MAGLmK]+CB8lc4%Q`UFQ +f63^nC]&,$Eq^bNcXt*Q.0JnGDM?]>aQ[kRjB=FcMmm#l!4p9#3HB(Omh'h@%^p,F +90AF?3cA(([YdES1YhnKC=iNYGLIB<;uqe5&ug0R+Hj=EBH'H`r5Jq4F(1K+-=`OM +o3MYMg-94hLIa"Ob[;Z$F^5*MSLZ'n +cgUV%2iDYjo'J*&8;I5!??,<4\$1dm0cHd@&#a\9mY.'RnITR(n01,qHM10_b(M$Ng89rl0MD +/:hHVikCDnBHd_J2nU>T"V')CJ2+&>1?G3bsp[Rg[ci;?if(ZF,neu*C>5cfUoB"b +M5/G[pLhWn_!:Xn`i*;/cO81]P+(Jar'`Y7".E$!-m)mHG%t.X:)&nZ8@\_5QD?Oh +"RHPFnfhNCA_?3>8l5j93TpnMug69;g#[[;=D0(./!dFd(^(*i3/T_\O?5AiHks>N +E%%c8%9,=I=/#C;LO10^)\-BVOnKXmZr,;jU?#b&ag?UqG]B0.Q>bVKU19#;E3@aE +QI0t!<$I'GQ.XH#P`>O_C-:Ds'O=1J#Ui\(r.=(%=bD +/V-:%$%U&B[>\F!W.@dF*htN!dSe._7,^j5`.PH7oPV4cEt6m84etASG]($2LkD#o +'bNZr"]t*GDBX^5E$LMM;gKo@AOQ.f/j +V4>0k\@Jgpp\)EZed"CLnIMK7(uq$qK+'r"hSD:0.JS;5r>hi^1Ia6m`4gK"TWUM+ +8E%;lShHGbk#PX3T_9VfYd=H?%oeWiHN6iAN]#SK3;B=JF']=9'V7MEi[$"?^ZBc> +),]EAi,+;7+EnuM2i0O:GP/-#(STLA1Ypq'A&B#UNC*-Q-/-cV-a^=6+Ec;Rd,?0U +E',OcCW]/C-i\8a7>t$6'%VbHHB6hEa^[7rkWEVrX. +HRO*3iVT3-itoG8CdH1FZ/eE=#^ +K-0L1G2FGK@f^f%/84ZRXa4'\\J@J!'6#'6aql+NDS[4V`=P(ZKUR$/9p4;3>AZo_ +&?lrfM;a4ZiSA,VOq=k[5Q0o$b'h%c_`ppXFH(5/auQQmfqQ^Ii!6E,>-<.,2-`g+ +q:mSLM03!,N^@l4EK)c/%lKg'7!:`;L'F+8GZ=.(47a]]PZWLFMAc/[Ml$6E]20ZE +tFKP8#%Nu4fAJSrrD*2LAhJEIQ)[B_YSJpmfm+N#U>(@'l;p:-K6fq&j[5Dnpt<'" +5nSUC@U\=\O9Nihd!O_91ce)o-%"f*s_n,8ASjpp +>cLR3.S!NMo-&it]<&*X_\YUZjuPi +ioi[YE(5GK>Ua$5DX5U9<49XU__N/0h!'q^"Y*UP&`jiO,=ag%mDseqE'Vm(EXLZ( +\2jC3n:l;F^o3**P3gImi@od`f_g%)[`9DP"nbgr(QVX+13JQr&K%4iCLUK"fkr(F +<,F#3fE:Mg2;`%Ub[M^nm(?DpC-(g:1n1%%/N(4'` +NmcK[+=Yf4W`b2g>XAB4 +5Quk2^u.^UDRgX9Kks(B?$RKG*/j'5e6ZJnCth-GXG6VFN&Uk[''q\jM5.8Rs"_TQ +/5/I[Xkk3(?G^XB/BVg!"&YG_tJWMf"4/#Hq!%u%de7$l"1pPYBRmtl/>1Ih%g +USg%MK#[#Lm!PKh_7-QN;hBM#Trb-pj;#&1W6aE&3_ap0fSfcVtfGnf)cn.5%d9Aa +bD+[:!^nD0ECOXO@=Mg_XEQ#$bdZcbMtgIT+a=_i\(Ad>>&\-hY;"^;5HQ5rS(N#^ +h1)Z1'bs3?8l@2Y7LDprr<3(eLu'G;=KA!ItB8$*dGFq\(#dcUNiBM%h\+k.\7N?K +ZYmM">RkE?qgHId@]T0WClM_[MHnB@$CH`a-D"dl/fTre-= +^bG:YF0FZ7C>D5l6K]TLfNcR*W.UM$JjZ,.\gX +Su/2m`_ABT?Q$-!5>*J-gNr"eNO4_L@%"e2:KYUm__-4bE#=t^[4&@)dR[JDi!h/.FYGoi1C_a(:#h0U^;@*,1WqFr(F/%r#Z0PKFI>uGn4%U)MR)GTZ)9[-%3 +jca5DJAbUBrULsOL1qRk9D6mH1dg:oUG=9Rj=?=MeMD2AK8D1?C4jbJ>8'dEQFm;` +7e7qP(W,-g^ULpUtC\t9G*?sY%m(,R3'%k4l,eUWng@+>!F]3Z*">S%QRi[Mk&t<6 +/l5^6"`3hK?o9n`He%EVERthi +P(fTX..:%RE.`9Zt-B^ME*&UVt$Dg9h/#\[>ntQHuNS=^c)kA3+KsW]MpiARW4&,S +FSa65spo9)Ni1`UO[F@;T4,DWc!t7QT$CnYX2^Y"J3N_Y%q).8]ics7Qt$TrU4"aj*sc;8:Ye_0_j/)n*Ig-;i3dW:G%\!IU!g8)qsjr$jSIi>MgHn.iq9LjH.gb*Z47G:u9*E[Jg0fd]R%uk:` +cGDcKK_=aES$(aaWnf+fc-dnCsW@kp2/lLVUd#R4e,Nno\52^#40>a_8B`hL5p/H+ +)*>EG2,>)PtqmJ'QL.Y/+_QZT;eIlf[1s+@lq,h&itJa349',Y]Gqu"_p>sb6JW8] +X-7B82YQB,A&_KAcn7_5T+a6G$F]K-3nP:k>N^qo6g#=4Q<91fYC)M9PP(\%+Id8( +JG\o#^YS$8GZ-cO]iS&BjF_/9TEl\PR-e6NIemk#Er/O7a;B48rm%PoqJ("E+l*D_MKAg!YB +N]VLL6VjGY8mBHe+6H:@5%po)0CI/IKa'-2ZT +pjn0);(Nhb@'M'N]s>O%ifA.F'HI,St+B8F`=Pq.?*K7J)(r-J^j3c]^W/R[.d+eJ +R,(sfa(KPLBE-LNnMAOEgi>KTorn#V;iaeSV3WMl(:RsPG1i6>XbVsgH#m3!sGgBj +]t2dH7/ET_l?:VEH(1E`sSV-[piIi/)Q,KXXKB.Jg_k#b8.^VB`gSA-ibt!BEJW6d +VSQ#jL2V3;aoS^)gn._=WM5\?X>Dile[W$Xd68oFWHN*u_htSYh`P2HB[?jn&nU77B)]G9I] +SaDm12UrI6*D*3nR\4F+rqcI*/8PtaEnCX%sjut[*`Y:q_q06_0:^e.?QiBjIShS" +8"h9kPQ(P_`fbFi:rl%I#--9FHHbQ1LgFGG69(N>0DM0nM[=P;#4.k$ +]co1?&dJ]!Z=eKC&n4_O&;!4iaPC8(C[eq:at!tb6kMh@Bm)&rZArL-gP-"^C5U/h +i+00/hQI<$0#63=4>Y)Kq>1lC/?Y2;Iht#n])/tqD7*Vr"`%SJ)OTCA7RgUMa=8L+Q0')qqc5(Ihuoq)#39&JjY]:M?g-EZ"e`Lgt.bepC%$ +r@$Y4A]oOqhp-j3)e/`8I(+*aGpQ"\33K&a4+&UUKa^#(cE4DlWNe'FeY,DDYnG/F +]ndu?Pgm%qUj>bYn\L.ar)r]%(f7ok-3d#OCEFkpi7k&E$7aC[`U>Mdt/tLgN^'nG +nC_9F4]u]-GIT6[p?V$-ZL6)6YUIW.[$\:%k)H8I;6fiOgstK+a?+]J1Op\I(SJJ) +94*bc$\@E;u"DlJ&V)i\a[V:nDhLE4SX?flT/9pHAXl1JIrJ=>H'\&64VE\J2_OV7 +R9#FA%0UtSl@Bhf+mftp.G*cnY:K('mp8FSSDlDk;CeQQBrV^XuCed!V9+):BPk-i +n))K*u"Q-JklC3(RL_;La:GL03cBgC]MG2AeEe&;hA.m0L-)`Y%u"+ZCd3U-h5d-n +)@*=i6X:N[X +;a65\TUr+'GA5-AR_Rgt9[i55\]j[*U#e23sk[j0+5Rj'/Qp]$th?'A^cOX%J2;9 +XC-%Vb\UUSdhG#[6(j-XG51N?,p:q.A@'( +K#,53k:Z5mAu#O#9J`l+8uT\n:/J^+n0^R'KXOc8mNWC2-h3@'ZSkti=NO2A*"G%dI%,l( +pB\u(&n9M7(s@Nrr4X6_'`\Bi)O;3X@ +Oj,*WUR=Ym;i%fMgbg(+6"r7FK7;3grM)6ZtVg/<&2R.4L#P-TkS_NS\]d@%\OA__ +a`k\rl:TDe,3qhDa#_qVVSqOQZmB-fl&"D!PEto+[@QBT,3R.Wum2+c:X +l/XLC)S/(H/LpS/T0hm"k0V+jP:f]8K]oM(Y8/*RMd=WN#CYdCg]eS/"$+.nEpg>^ +'`;15MFT+^(5Qr:`VVhYg[u&$HI04:!'nu.Z.N!p+\d%97/&!#3VqA8N"i^g^-n +Ooe6:D@uu(&W9T,[r%[:DkY?SFl'mngfjO,b+[#m,![-jhiQi?FVfmiVH&u[9Z8i6 +APG%1<#uVl4YGGT`*[/rrB1c>$`c-ib^%!4\Jfl?>%R'b0)(k`Z'q%L:q6s+uiqaE +XtE28qLn0-sn3535ueF+'J[9hZW^Nc(`/1[>G6b@b/fcm?E\#599\QVN3uf<#8[L' +PE[Kp8r$[(]`6H2$Y@=?d.%l<`r(@;b8-"fFa1iJ2-J6L7H4.aO+6]Smu/!rr@TNg +g[V_#\UVi@'+Mb#)YF.J/B?(^\ZL-Z_+Ri\p%6TkSUD32$mo.g_e#%#=<)*4+0`[i +EmoKP#('Ff_=O05,E79C]qU" +^oB0&V4,sFOtT=h&;j>kA]FJN+@@CN^k5ZiiENdLG$_P3t-uHY^ZQkJA!]C8s,N#& +:p4?7g.@E*4iIHo4O^@WV37.PH9F2Ka7@q:^"B_#RbPfbAp2?oYjdu_6gmZ3A2X.) +&N`'bZO&%*NF7sFkj2V84OQ[X6@-nd\WO078V.n8eTfnG5>#>VtPiII$9TDfM4VqD +Vn?J`!!0o5>ltLacFD]-d9ELSj30QP5(U0+1mIEGTF%S)_61Bi8EF%qBl?@C#ZH"X +tg6UlWi.gL@):/WiD)i?;3+YaXj(K/.U]l:H0$hgtQ)8n=d5G:VK7Y=[(.Co9N^4\ +e"J8*?HUQfPN!SFl!!H79sdr%j[tcr7Gn=J0^Ic8:T,Y_f4Zlp8[\.Jf+hsji9@7' +\3(f%7dI60s6(I'^Fo%7%RtHObPOi5C5N`%r/coL%L:6&bq)bb:B67:sk"aI>n5([ +2OCC.?\:[^NXB7rYV\OYJQ)!U2=u#0iM:H[^(S!nm4l!JuD,`H1n:5T\@YuoSI*M% +on`X#OrK/CI^:)FJ/ao$3V>kk&]id^a'0!;>q#0nge9!]W5R,Bp$j]rQB! +:I57OSE0]NEo2&8fUH_fG6]u?8RR=]=O*'Bl%[mUE)6AmHoc2jL"peM +K\iIO_qJM7NX(q'&5D%SM?^j[<9)0mi]'#C5qC^\!U%Rgd:Q%"jSlO8#:B4082M!W +j.lH3MO'HnG`K(Ok)jG@m#3GCT#R/%JYD9`>$("N.OemJR*?P&o^XS!-t+6"O^kAh +sHcY_)XU1"MZ&][P?$=CY..blQ]!L,+a.Nb;lK/\WYXD[^UA40e!q>r8<5R('*BgY +A)NN%qn!Mj50#I)lIAt2Rg5YCi-`YQNr+`cf%UFn,+P@-a_EGGI-(K(3r9J*-O?f- +j.OI>KsB;p+S8WCrD;E#nrh;No"e4R`FrBL9.d5QFtdbXmSgJ8rLgX*YYHmS=K6n^.ZFRhF&EG-OJluKd'U4>@,4 +6UOP*ni-/E&^g&i,df,WHc&7d*oAPMWu3cnl,`;:td];lq2p+=4'(\KmjhBl0YJ7S +h8E58Kf%9HY3M&3$0a[T"^KQQQNVYX74!s8F6"f%J]A1Z6FJ?bVLC.W+^CEFRmBjI08%g0nD%37/17n8\Jj1.Rq +:f+Eo[=M#h"l_qb)rn`1@O]05\*o$bc`R\SJP*4Ko6$p0dG9boJWQ)fef0c++psq@ +p-6KJYqb%5MI@X/>M>L>h:LcO+k/&`gJ.AN'%p90+?Z+$Q4&AoBg,h!,K_nj68fN2 +Z,hG\r6M._c4/Ei:A5bYi0PBaibS%S&^Jam6YA]("`)G_8Mrd3L+@E +j$0T1$ooON1XhbqOc_*r"m]==+m.^r]'Zt7I`O/;BG!sOP&D'gZ@N-*9V:EWkJ^f_ +/R*lr):7ca2E;,Z/Anf^s%,lPGPd-mYd>74D3P/q)SD*,#,*bk@)/Lh1Jk^SfDHW- +BMJ!II7m@Ec^A]-_(L'8+q^Hc)Z"sA2uFE2j,\a"0_gu6[IFuh* +PZ4;X\r:m*g=N0&&h6CI`99@OV/YE*I;30Jf%?QM^1#3i.?5_?OD#crX6X&eRXL+4*N^n:Rj(a'@;!KrCoCb2I@Vg+?`^O0nBV:$lM^-*p(bfOtJgjbtN`H4#U +gop@HVakt'$VS^UQSaf[m)Zrc1m1I>qo/gc''O%eT2uWE53S)2G!!pP\T>D;b=O,N +p>oOXs/,Ak1-ob!@.'Q`"3c."G=e[5Sea2$Y(j&oE8YgNHd\TX8=FB\)XWZ"MY;V> +HMSMW^@ndcJ&0^E8H[3"LG$ZW"(isK@'8rds_Q"1EQjL%%8+0K>`3eD`UOZ2*GtjQ +M0FrZGoC'<@9tfTF:f#XA9LYbFTC!Iq[(KijH[KRNED\QChT:Xh7/LDl:693$MQAO +B]kI,BCkHKfr:(!;smc1eW>O[eIgK(&3ulGkqr-R_GY'QoHr*9N+FI%,JplECubn#K%Jo^YP7.B&ciU;N8"LZk@nC?XNm(2>_W'P3AH#Y8Zm\%(H)K#SkO6%`+3!48APrWW3NdsMP`^D?UB=c^H6`MQhplP_+>W9W)@.G5Snnc`-u"D`a)ET\_q[ +X-FA^[3]6^D:QCpYW>BO/DDiSRnhT>M3aT("2KQ2/PZj\7cF\)19@VZt1)UC5f)rm +JpdBW;'+D[&B"JZ7FUWZ7WXOZ&^oiU2* +ro)g49[[%>K>S&pn?_ke7'!E=m>Ys)K\h]+@_.Qnk&`3:^ujIUEc<$+FmjEO&FF*( +OTN'nMcFZ4;m[]iQf$Dk"Fd6TCeAVXkXgdAU[c9]5`q>UHSDu:98i5^n+> +g;6*pn-It(ANM[qaI'2MIt=T1i$ks-.4dp/55OMP7^:UXG%BYH8F-nnP=i&J3bXOKe=7&p_JY<*I#D"PV.pHYT6+- +b5C2p&I''EVF\qcYbc'MJ%_4"iZM)OYB/5AJsn$5T9Y&]934I(MM+pSYr'eSKfMLi +FA-Er\m_FiE\kJ=jsMkY9UMSH/+)6rrBaba+dpV%hqSE?%Z/N\]ZJBpWfmgG*ro3UK'LnElCAkd:5#@ +X/uk!"Ka5PO2ONB\mm5Dgrti:Ao_5oOCe8**2pC[]Kq\4AgBuLh(;TjI@ +u`M+.qE[G*7Ui-0F!P%P]-g-id`%`EjmHrD^9d9%.?D>lW_qDA_s7l)BD@A&GrKoE +2W6-4*rV10VT,k*+3rhm++UJBS)5ASdEa%5TL<2QZ6[Gf\Q"+ePP=Reu"G#8M#M]Y +;Buh9SbGg)SihqP[O=!(itC/#I)HhBtD:MHU:D8kX"O'!:@-f20@KH0O1^D0`YZ\U +n:=^AE`8h__beo=\:oj:7h$j1I1Hg0@m9eDZ\U@PKEA!f,9WE,3pM3Mr_-L +c;W_[$!UX5AlD9J2DBF6s0l\k4[dK!+@Ys*ouKIJ"8?5%9_NBL9qcdbaaLN\Cs53o +:!:cl?5TlRjs/KR)j.a4\C5f5<@\8FG>Fm]X)sPfi3CD[!r"OJ0FF>Ke5L0a'H(&" +%Gp4\"#Ku39./_hR'FL&f7oZY7'/^-R"@QTHT%Fh*1)K#O>PW(0-u(\!On>B%n<M;B)#JC+X=p<6&oh1,-]LCeM)c"n=#Kj]3bA?h0Ns<0G^O^h>nScNpV +!7T5:WhU3"TJJ.+KhkCL\_dkAG8#Ag.%tKOmct[fdj$b5[hdlC#`p_mTgGD"_G6tA="!\>$h]UI1&ptu"Dlt;1DgSBb>q2#C= +PPHGp"U'B6X3%UL;36Kk"32nj%V%)[>\u"2PW=7_+4!L*+j^^h%ieBT+):T:JS:eI +[Zr-p?D9dKjU`I5/O]YIqcY,2SWh"pl`NodB@H^0&*Er8E1h7Bh6r6gHB>1nAjqBB +;XO^ViU6,ZR>2UD`0E:npU%igMrh?+.2j)NR@leeJ"F>d/W +d6!sDBDa#@V]rX+%:*4iMVJhmgI:6[bF^.gH#96Y&4NcYc_SFgNMnug46X%$L*!h[ +71-j#&U9X1R:KI-Q\KQO7@SUcDRjQaSu5Vr!Rp_'$/P1UZ'cq+P]EoGoK$OY8lQ7_ +WUW;*[kqSi>7@CX^091(@i1r +rG4sob._[d^MHA.#frr=VsN0rAT3 +6L:OY's$p%Sa85gOkRmo<5@dIN<[R7:q%"qR-;$Phe1P8l`E_+5HulT>NPK?P9-#; +RnO[9))C,Y,<2/f32]<$"MFD>ce!N9XcZ;D'dDh&9F*aO2P'OYG0_8/,SPX[X_10m +NM2KH@"_cbO5qChPP-HpnkB_O3!Z\7,L\.At-"%&Fk4#Vjjae!"WD^AA^WFKga=Nl +]`[A"`K.1[1C6KJT=/-%s\*S`>0$%hsp"'S""RBkr.H)ZB8Kfr$;:BK(Ah7n5@.7a +$0jn*\XrhLUj^6Ye"9Bl.gsj8?\'^6Bd[7RO:ISS(M6M!c&Uk4rMl=2/?EU#?jc&+ +C**'nG0e;n+1[#e+0.BfM@-Ln6;N9h\+q&Ht.B>-QN#[l4m;%f)McU)+d-QR!fT +*5'cnDD0R#k#DKCKbV^BdO2/AT4t)*kW.nc/,@n?X-^Z(83i,:ej!->Ac1N':sKiC +4j;_YJ_N;)QMYA4277VOU,Nf9@TfBIGUf!.c3]"J3Tp!-UgoLBu`1\V*k3Y_Hhg=r +r>:)fAJdk!:Wi-g-;S.ighI@t?Q8s=_rLYF;X"[Pnahj.c+!9e[1kUa\).3LB. +BR?EUZiRROMc9cp`HsIJ2>MVVDi[>d%lu;9]j58FfY+KKB+Vq6&' +$#]_'IZXs_"8\4!V9BR5@F6U^!5nbCO5BVO/]+E*tR,-'3Js)PF6!:=$nIZ.,a0ln +@/JZ[tFU-rL`aiM8'BT:BgYZplB-7U1q+(/_>c#bq3aS3uKVo8Co66O)&hbcG3I&E +.cDaKL0Q(;'ttg\bT6E?Q\I-;V!rBU!%5PC0-imO4lH!(QS?+?rJAq6!:k2)n6bJF +R)16c&K0*"n./J%>9hu67;eO[("8rm7;,:>:\?Y +4Z^ef/B?Ybi6U"@99Z:^Pf;'I"C:L"2BVpjg*IcCMTjY$uuB2r\aRSIpo3hRtZog4 +!#8_F89:X5PC-9Q?44)p5lcXGGneri5nP;T"-O-J5l==V0\XVN.bmfJ- +_@_`&I$D+]\l?M+-E,bb'f'(>5oBrR^[l(#9>0kJ?o0JVd@V.T#!m +^ZGmLe*[!?Z%S`)!%g9*,eT$O#U/s@iD`^rc(E\lR6l2L`rN4%3SEJ'1"P'_lZ6Sl%;2 +rbXK[\tNCGbHkrqrlh!oH2A/2KT73cKup81mNebd[3u%P?kVJW*W_$ZRccucm%`;W^!0*6QWI,)rJN#$P6$i-GYnq]3*r!Kf0?-gVc8c'@Gi+UniQ"LYG5=F4GE/UA +.ghKjH*1%`b5IR5MF\TEAb_bYQ[ao1oKKrT&6Ylp(htoV/4ItWm168TJER)!fVVP\ +@D0XMi3j62,La(2kRIk#oN-u;uZi9>NgtVLK(d8iu$Sl4-6&i4+1cE\+&7**#G\uX +8PY+LL(+'(jY`_`XQg#-cNYEcY4AfeXV;2L0#rN!Rr+ZRcO)_N-_=hPHEPslZH#5` +'agMYT<].\+&"01`qPMFk)3%_p<7H)2:[mEtj9IA17Wnp$8%Hh!iXGFF@W`edY72l +V*I8rM=.o`:0:-Cr[#A`]B-fe*=[Kr&j9[@,UmL\^=a`m':CuPG8uPMHY/r"rZ#^&%rjhO%;itb:Y>*]RhsIVW;L"`_a9W@kX4E4o45fCWUBV"5[0f>[72,nF!-UBlT*LG@NIa;PSif4 ++_d9oj8O7d%2cWZr#NPX2C%P_ma1N$6A/gkP.U4ofl'sdXE]kLW=]Q*Xf<`]7L)V> +?fr0E_LJ6QtMQ="HJ]I_0e?60>YD\?7%^?LZH(ReF\9n27n."V^r@%!)&>nJoH%fW +*b"r*WhcE'5?`CgVg,YZ5u&ee`EAHn=I>Qrr^>Pha:iT5;R",E_cQ8`>0Q_(:+hiqA]tL +@9p*?1$?MD;"6e($N5AN3lq5Bd-b=[FCpjOKbsO?\@#'-f#bQk`P'gl7)OSg,J7E1/8)K!?SA"(P])b9;"orR$^r#h3Ckp>eP]F1q<9 +3#(lj>5$h,dS/O_1kE[A\]R5_&+N04ZhZd`#j^ML>0\Y4iXB$&-0=p&qCMjoNo1,# +?(kZr+5Bskf9C=@H/:45V3/hISAZ>n/J&`F;;3WHtr/WCU2[l@IX5eLMl=,,/)G4Z +n`,nkOPdRnA[QPXEZi#Sa`M]4A4[,>L*gbQ5MUg7!\e4H_IU[>$DLQ=>N5`O,10r7 +LWuTYu#b.%tAJ]!MO)oqr+0-ll5:07Z431j5lF5JGs#^F[+NR_`)5q*tBrH*tI0=R +1+-)9`(T(7<1W^c^kre]97XE?Y[:feHsM5fjiA*SI#'ih=ucb\&"kS7/ChZXCCoPIFBA)g\PdI,3VbCEN8YWWrV\%G`$?\a+C/MZ6X]c-*,0 +M=s7+,p8'f=V^Sc\_KPC\qBf<3hU)4J\+RJ]E)pDLZ3q5=/k"n;G7(mt>:;o#98-B +]lN,D3+oHrrBCWLL\<\_9X,riMf1_fbMSk"p;0_ +84E20=a'Z-5Nr0[qbdpJorL/m5Q7,Og$Dhc +%nh.6%aD1=68NTn4lLlaf"/P*p_Fe.:r#[_Kp^M)ZlfmrM?`QB^q%,SF-f,a7Q#8R +NSiDNablAfn[dqSt=rG]RSl7YI%Hpen*=USSo]WH$:$1DjD+#$abX6O>)!5?G5Cf# +^eQ#*05%!prgL"KO`:>blib94FgI+@.W,#l!?C0+5,OH]@81@T>Xq,U*O^C:#(Q'q +#O7,o(ic)#O=VeBqnAl>VCHndnu,UfJ&/)Cri +Lc#l-^AdhQCc[Z;KTRXS2+TtQ96\>)#icIJhrkTr&s!h5DQ\^A(%-<1j:^bO<)X0P +1`$s[:lj=0ImCN%n@un:XXbWh=rl-!!VoDoQOtuBWhQ\W'p%R][::&RrNra0t@IB5 +s7g&(%kA=htS],_!d4@ECFO#.!/,(E2(NV7^S6jlaQq?mL=V,h!%:M`QJGpJUg3]2 +3Fn`AdadLZsf3m,S<9`d;OcP8Yu3:_E4q0hH8Z#i&]$ab9GurD)E]!Di*t4XJPj2p +,U2o>T`WU`bYD.pil6=a'T&=`;]fB]N).[H'%3#[G(tJrNg=YB0ZF,#u]Ob`o-k.6$OaE7=DTXmC@! +J)7.A$#`\6/%'W(7sMa'O.iL0ZYPi$Kle^VB6OTZocB'EK1%Zf!"D.V;uCUX!riEN +2[eDB!>pU+(s=C`a2$)osl4Bj.ua$?D6kc%8,n[5K4:&E1VnWuE2;h9a)b@ZNgLG@_1-?(0:9Ge/% +bHZ%d?O,j@p][mC&OHBItYDHe*->JH)J:9=\1eZoH'4tjmd#bDf<5RCm%Ope:&-1l +UCE8Ru(!B:LVh^+cl#;j-S"n7q0"nrG#3*ar,kp41OU:6B?Tf!Kh6XkWHd16DGF?: +'n(TeV(G:B]X@AQ7Io_K$-lWdbm[D2p?R]aS\+,fsWZ]UrZ5Wp0%I6LJ*BrNV"5UCeH.2SP+7/.3c_@:V*2";"T@KB547iXIoB(k>%C+T6 +8!8gH2Qk.#>ho#AcDa$\Ap_iEE$S$9.j_;Bk/<-@r==!XdaQ9qHr)(P(VnZ5T0:th'Cj5)W:nVTStP5[5"+>@ +.pkF8F.9!IHoCYV&NRf@jm:*K$QCI^0n"+"9KlmKKg+#^,?a1-ccW6>SkV3/cq,p#5\pG@DFh_H2LB3>!)'AZ" +0k+@5>$6+!5L**RD:2RiTj;tU;Jd@D=1.TO1[[qQH.3`Uu)ibLF#4]L'R6F"hSHE7 +O=g1*E\NRVgp#54J[DDA)n`.B9s,AaEH`/T']"Bjm"aD_&(guNS-tH)\aY>i%R/2o +q2f'a$YjG@C8$%0u>R:q%l3iiji$&,\XXO':3#.@.5u;E +QrV%Fd;Be0)()sW5!V_QRBOO!8fh9Bt(@\lbm:mG8::)6-t2%>HkVN/Y;58Lor*NR +%[g,g.C>mj6mN?;pT"l^(Cb-T.g790p[YfkQtQiAA5B_,`a:OD +A*johC-\+`I0cWC=\fQ[]oc3nP'sT,Li2jrrBoZ,>">6k!^l7hHAQY&dMV!FJ"CSn;?,)g.gr-m`I=*C`4?Vqe!9Dp +;+5eofFQaDe4!<#,n41K94&igXB- +QNS@eP?^)f3U"F@J%k^kr(S4Y0drm%C'JR3QIfufBZ=Z/)s?q[5gDeeYbf'h=c3!: +L8=I^+Sp[NT9I3cZ8k-*[A0tKK`DKb(YXj,RYt"3j.HC`^n*=BEP;errC&&.(=#B@ +GY-^1$+Z6-9ei`7Jf:D[bG!_?\,A]ZoaRj`GFUG;E`X.B1r+d>Bk/SkP.F)41uhBS +@u&#pDcc3A:UK6Ol!M3^)2XirPGD*-[;URkSXkX$m,)iBj\8DM +*(q]Xmqaqctg);i5Ku<5%SEQ0Nf=sG?j0c!9Upun:0GYL#nHG;7b?Gj$,8MHoN1_f +/7'u4!hJ$a2aX8M6,i:[A0#@2,in6&)gkaGYe%1pikc+(A=3W=P^:l>M_#s,5U=_I +E8I>Gh"e@ +?(D1nsnai@\b*QYDU%-"G=bg>$m)mi&7(*#m"WZV%!EMqgQ`Bf>Ds[o@cEb/-d^X- +Y/?hi&Sblpj5j,1cgfShs'N>F9p\!68?e@lb?Pb:+^)p\HrYj:.q8:/uSU2V:M&-:GWi,#bi +umMBjZ<$_)=W;8l]OTmU1ZHsb!/NaQVg+iL]"RI,DJ_%h%@i,A^e:=^P_$=GHh5=Z&H;aH74dmZ6 +[bEgc9^#A#FMReMP7"uh>.YkeQ_D[>QN>5c[r^)i$`&j=)B/JfdnUMrdM?t6>ia +1Oe0GJQc@hg@SpebhLW^OMY[+cUQqQ0;qn:[PLJm0<8t4@(QkM0-el,8V-mB2RQ33 +EG=W"TV["c1*"0p3sHu;rYa0):kmsa[A%d4?cKoj`_0O+"06"-Q-A0W>3YPQf5-cN +D%5tCY#m(')2]/\cGj_mC1_=f\dr4"4uWl^Z,jY_nr#[FaXd"nV;`K0=;VJnmc:KVcL7XKs,Rjff\T(j3prAN[ +IV?Ec>h?grrDB8L_44+L/Pu_7a(f!:IA=b1%K,]('KVeBSc$urN5]hN)(?aLT,YA+\&M5oduE&L)uDo]J&o +rlX+N@GkXQW_fcSo!S'OR`-G1Yu;;W@rBVAH)W:\LmUJ5Tb5qX5f_9>*GFm;B)Z>N +WLcI`u#lJPC;uD$b1S]eSUTm];/jfgj9D'=R2d)njRUFD>sT!,p],PX7l;>[s"6X@ +.KD<&"A^Vcj/9n%u>TdWh6WqUpa]Foo +_[&C>VI:mYBp#J`BF:O]E>4A2cNEBY(XKX/%d'Z>>UUbQt_(*XsW?G/d5a`*tc12ohK5kW,%d +kp;7%;aDG/8/8%3hN6NIg]$eKF_j;o3C#Y$]2q*Ze%C/`FVcF5gbu.TqqmH)f`+Zc +if>TCMeA5olc>)"(rn-bo5H]:72Z,JB%:)2n'No'4'n0.^UgP&!_>!T2Y)>lV\f7g +`3Q/4[*6jNP<2)#%risFIs(K'jO@%>6m(6Q*-oW!;Z[*<-"B9A*^4b +Z:Yf0Ut^qiB;lsZ^L:E-V7u0oEpcL,O0"_X'l!MeOh9WQL_gQO/^0'!2f,241+O0; +]tHF5OOZdeXJ]ZVhJ]gArCU1/9//NNmugS8_"1&`#X$jV[BWq9hhNA?-(lTQH%G;Ro +VU@?c'^pG7mWcsrr>Xkf@%CV"k$%\"Iop]7(@5PIC +h7B_bO0p"+:LkgN9;Rj!&E\"380dCBUN!J0WQX:36l^1gjr``L#S#;N@G5dA<,G6! +[lZ4i5XG3T-Kt'He(;#08/RE=l%_7bpBo.ThYl&IdnYb,MpOZ),&J81rF320pVI*$ +e+mZ9g6haNqb4uhP^qH)<6f>p#_r/h1iBLg99$QQ8[M_Fb?2o41^X@CCmjMhT5D.6 +#j+X@tr$OV9R+A5 +T9_C\]<`1VpuFV(h8CnRb334#L:66+%cN(]LJJ77QPT^E@e8qd`hRg`reMjeG*h>O +,Ghh4udWtVqHij^NUn,/DWl"N1=tHMT##@Z_HcoZJ'%*(ah%`NWe:knAZf=Eac.#H4`bdNF^i8T`W4[Z]<-d-u<)4K0^%*D%CGX +F4bfYD;9^*Kf_H8X""udl?>H3!T.DdC$*] +Km8+pNhmcVjt3j@k4L^!/AT7PR^11Nd7Y9Iu%P'hNdfJ1?VfG(Qf$^",#+9. +Acea7F:\a'_nDJF]d>!i4c^_H-e&_10EV94&[LPr40r3[<2uhGa$$kD9^>.Z$gtKWC=LK<`-4%]?E?B.#_8 +8cgGc6M%<$NC+6mnKB9-8lXc#NYk`!Eg<[Lc6l"^!@QCWsBoim\;A(O;)1Pf+hi\Q +OWrp*iUM,S.+fjetHdd/6;0S??)QhlTc1:1hN3Hk7S'\.Q.FTjn6r9O_IZTY9DU3#IbtM_R'ik0+fP[Dl$]"k9Pa.J3!BEgmi4K[/@_2T +!Y-RQSM7CE^\4]m?f%"ULQ8IL::Rc5N4GnbgWJ6rrAXL]1[Jh^i+gAiEm:*lLX66p +6XKjU>3mM#bPeG,tAinI_6!fHnn%rOWleKcUrrUQA7B`5m*)G!1mu'nB\t.]OIo;( +$27jB1;DJRck^a>k)$`h%F`l:ZB^.!-q;qQ$%D2k.Eb\qS;0jFnAp\3QGa +Z@(4Obk8i18Gt]EVS._2seB?Qt$T2*R4L7EEpMgn@M]I2/2G895jI'A6Gd#Nq\Dh, +V,*!Kf`B=dt9n*XnK0r*GXHb9.ATCkt1bcAMHO0J.[>mb@KO^N]r^[`,EO%IBW'W;jr`M?bD+ +CfuB:U.+0Ht30V"S_F5Z#so^=C']VGA>4H`G]qHDBZN!1',235,0?kidNtkEZ5^EbUm6+fsj\G +;#DEOk;Up!-bTN`;uFO^E82!5ffO2G9l\m7\"b%&,J^6@ZkPC>Z>ZM4qlZ>&!K>[!WKf5Grf-p +m9<2'BAi@IPe%lG!"5:KRMtUlSo +qZpZe"HaQ\Jn:./o+rdrLCMIQK9]k[t7\"Pdom5!Us*BOi7q'm:@mTc%sXOWqR_:) +)Gp'bRon5%S.Yr=5S>U^qUCnG<=#L?SMAU#3J(o.t:+Z2ME`OIq@lQD6sblA,p,R- +j0':`;3d5XU.Xc\[P!LFcc!#>kG`4]"KWTZ4MP'-RqQ6Q[$F,Dhi^.he&J:3(Q,_5 +bUh\Y"7hAQ/]OoIq5ChSk8hn&OR,cYQ=o'#Kla$IG]crUQL4R@s02!9sS9]p\Gf"m +o-[,OEiI?Ju:=aQ"KmT\h>#d\)%+sniTWZ,WtYcUb4fG$@abM^Ob4Aa@Fe^`E]P[eA^ouj#Qc%D]k.[EtLqZX7j\C5)M`]U0Y$)iEp +CkO:Z7l;dh+@!!(#cPtCgP[@m;fa!,JoZ1JPhmBfG0dHgc"R+8?Gn@@s9[Q(YT/L) +;MVh6U$JI'-qM0Ze+?[j$4?O8@(i\F0o.U%Q8rlN]A,[a7a=H=?A.NTQ18EI>OiC@ +m72fCn&M)Y"A%WIX;EuDrLB\$JaK`NgpgeKl:k9!)7(W2R/X?*4GnX7L*\3p1rt22 +VURH.j(7>ELqca+Hk-8*(g_=0-@.m!#gFJ:c]gn8T.rr?6+V^uC_CSIZ@4&_crW3n7eXWt,&/3-N\UjCAlU=n;Sb +R?+^[!\mQ\;t]77nsj4Q]Bu1OQ"#`]6MC")T7H5IWL?GTU>-$)!X;uC!*lMY`h-_N +"A=_S=\O(p!!JB=e9D_-,G_)c1CH)!(tYKSSbK\://Ba&!f[b_">\!f!-FJV&H-N? +p6i'Y2PJ0m=EiqFV&F5OM^Ui#s@*"YeXbCNS3@EFJ&kR>.q>%`T5en1fKS&KD3-;j +SDenF[Xc%RFb8mj6Vs2N+8+5QLr3BNoH^pmbUOJp-lS=I#Nu9oju0Nk>Jr*C(nE3G +E+!F[^(V5Yl]Fl_isnb=guj*G-\RP1P^Q0dpIIkmoh4sGQ?a`/)%3#Cp +?UG.d]M];]CYK0/L:gEYc^q-lg=Jo"?/5;rOuBAE(C)SO=;Kl*.cigY=!.3p+lfZk +2SGsJO2?W!'9,8\'i/bf*Q^6;jJS%$.!!RAntIK)L]8bIOEYhJcu3I2p)[u1P!NUc +V2[h>rT_`%[D:Q+%o8J21ZU1)(lMi)iWs6F29(+,H/r%FIGhX_5,j5X"f0HnsG7Bc +&S8h36+YP[8VG3=feg@)JUWnYdY7bra[H?GN0n\/!b)uDmF+'l:e\k`uR#3m>*i]u@'@u^oaj +bI5lE][>enI,&HT>UN,A&&j5i[ZHgNn.>V0r-ME8Ef-rRCB*s(s(tj"1$O[oY2.9? +KN8:'3*Fu!OeK\$sdq/*OsEBZLmNT=P:diQS3F2_[Z^mEefd7kjL,Ur+2Xm( +"Ve0/',q1DfHJ$b`UBC/DG^Z)iX.aj#ApXT+#h6&U6ga;KuJ(n8)Mb-'d,n#"5mEL +2b&nIG"kukHAd[,*!+)f1GKDRdT/YC8%FQ7T,;YZ%+- +\cc"r4C3/h7%JU\Bj2AA$:8=d-e;5mX-C_SKKUb*,uFa)k?!P"(CSf].R35*`FG'5]C$Co0;8^ +q^>1\:#b,Ig(;P?4-3TQhJ*jHX/Z9:$ce"an#DUi%b#YE8$>1inXmJW3a.F\qo`r` +2Orbl3QZ/CZ^]3A&6lC`h*`GBO;3$o\U+&L!4S^4oUu'1!KoJ<#G]!"^=",HQ3sBn +.3AX)giLtCDN>rY7a-L27iU,P/4'l:dg`16sGKC7fWr--j.!-^LXMUr#+u5icoA@! +)i\GP`Kr"7SCFXZ,r"@?^Sj/OqWu`"+UPq*sm(NN?8QPeMTqk)daS0EpdPRd\MFP8 +`UU*@8pVqA#VK14Y(,_g3n>`CEWDcD/X%[W[4*G@2OEfK#9Ug7X4*RmPGI.1+d"RM +)U$Z[FFZh9.F/IqdFMl#/MDoS.\#m!L_l,gD`oXjcY,1GG=B6("2%n,J1B=a_opX[ +ptJ!,Tat=-chJdO +gCkR\Knl3($L)arLcWTE/W^+G +r3'o^?\;HlTc;uYO,cXmtTOj`83`JD=45XWbtpU2QL)FficBr5>j#U-hs=:rn;i9c +BkVW&&Q]g;Iu%f]%"-gQ]"\H[P9_eB8i?Lgn_:1C/8HJUgbX4+XSK9=+I(hj52_n%H;+78umZUN^a0hiNPI.8 +%itM%CE[PH`6j2DRR-0QVpO?A43/bn]o8R:65/q9d$r%o=0p5 +@&Al&[dk"@qQCqaAuUPYcBh8\+YI]4>M2'.G^4+_fc6prA.-so\7rSqESQHJ7N$!o +WH3jd)-W/*ceDAWgmr!A"F4ZJ1rR@oUOeqZL-S4_&n3.1O.k)[2.1@b8DIH\AJ@28 ++j!_[J3$;:_IdNDYr;$a3q6j2Eu.Eh"`q3?G`/kai*d8/UX$+20*Knf*/6Zn6B"R2B&JO +9R^C1-N=L"3UToIb$+?pV[//n/oP$*;H5OKk@iP^r6G$rZLCmNne0:4(c*_9kh""$ +e];6QBuTfa`e6j/1uO2mF_,?#lsr^G?*!BCouN1T&J1OQ4-$;q@?cl)T0Y(SG7j"8 +Bg0lWF:Iq`p\C^:]k7[%];!t/Rq?QaWtE$oEa?j'Q"J?/]+[%c`I1fSiZ?WLOLRS'\.=#K +[-JHacZ@"bPqP^5@c;%$sg:8KOK/n6-e8)#GA9+[D*'dAY1aFb:(SJT?auA:Jus<[ +mnteU5B>8P1`7.R6Pr:$4]8fI8:OXq;&3iEMdIThXUt\O[7fnN)i]QBX>_ff;Q$Li +F=uklfr9S5E0$UeVB2BhmM^2`fai19EKW-(%O<%c\8s6_gC!r:k@b^1"]>YEV5t81 +K:lgRTVI(E=#rgREo5PrYi;8eW'J]a(Sd>!p#8m59kIqkNY+ZV7!,&]q%GikbmMEn +F'/E'YKMHpar%&!F'LO-j-$kF?<]"At%l@jC?]WaS[bp2Y4D@l"Xc`[ie53W#kWf/ +t$8!q2)[!`nef4#O4>lX\dNS'&!.<]^\Sf_-Ato(uY?@".;*R>:.Jj-,__XrrBgD<(9!YH"#r?f +@Djk=Gt>6o:]Psq29tQqteiVB]!6/H +[Ts7=2\!"gaOd(IaOHoa5#hp_5uC^7e4u?>H'3ka,o$]C_,]t*l<=t1eS,1Q;P1u% +o;r+dXW^q[9KT^V3"o*R?&:P@QPS+e@If.jH_)E<(r7_fK-HQ53K=a>i&f@C(OP)7 +2;rZ&n":%5%ks^>k.2bF*P#hdNJh[fclUB!>aQE(`DN!4QkAVJ.h]q:=;,?Ih_ +C6+7*e9iS9'>jb1p'gPj&">!b@tTIm;4@KRi/!hX:K2E:L5Pgk*l"[8jb23o+j'Df +hunGoVa(HLK%fB`3@p":C=2X*HGWiiEli>N9AoF0mjN%.m_Y^;f1LL+l\OK>"!3Yi +WWi_YXf*,!D"5XOc&M.)'m]?o#55]=Cq%k6&&,n(*fg<\[M"pSuL^V3qD'2?Ufrm/ +tN%EN0"86N03Ah>u]h0_YQXTh$Dtnb+N4Fbg+6H3!>A-ae0,Qj5GKBg>Y[\h)QUEj +sK?r?SWBVjTu1V>r@CkoSX_.g;OZeMVOOcEgt^iGA\s%,T`PB=%U!pk*;=TcKb]5/Q=AA8$2&dR>$\Rrk?FZj^J"j#F.W^UJIXFWjh6n[fYZbp<,iS +TcPT1;u(FU_6/b#f6GX!(X-gCt#QRm&m]u@(:QIM!dq_TiKlJM'JO0GTOl.kh[etn +LfH0X8$kjZHa=4D_Gq.V6G2^5iXi,CJF:qnEnEUQkrZt0ehk>>G-o@YVlSQ3Pi``2 +:tD.]##RZE!HYgJ3PL`X(Q8mS*_cUi0/h&[&;kd/$-sFq%Bc$:0bBn,MV*>[9;:5R +'!aYEh$c[i&U&H6_nLdB8SOd\^GA)\VGONqm3nM.hKMm&4$Fq#.,2/R0-]ua]"URE +V6:n/`MT!6)DPMiN&liYde2"A!;KF+HcGV`:K^`BUo-qAjAB!N:GW)l/abVE?:_h[ +ogq'ZkuZ45UZ`^HoiC=W[\CWbFq,f,AB(!kY6B$KmjABqRf)8FO.U1OY6!%c$,VUG +kPGc4CiC@$D-''rr@h'-I8?"CN$"`Wtiq;0lC`6PedmHo04eEWATaTOmCZ"E_mQil.Lsq +aZ-J:\uI5ZWlqeP.EmOhPm:8[mGAShQdFkXh:pJmarpL:0KDtl.>3;1JTT7*Nt?Bf +_$'e)eR0Q17jkNj-oIENr%k0_]O`E>%R0?Ntt#n9QON`GfCgN\?c%4(cc7+6r,JOerr?e=5oajr>SMehh4HUf4.-D6.4r\ZcQiVYop,9(r +[N:UnBRpj_qe3$'LeuhDCc!u!1k-BfJ\3I!::#SUusc!?iZk:rg'-N^-,ti-JIGXS>9>`:*o]FD2LK5Te;aZPMsDP +Gn?)#:ZKsDXdCZoJpHG;7G#mC,7Z2?R,ND>E!uGM=Fs?+n4`hen(-V;oCRt%,Y[2^ +9-\;M%MhU:\P@AR]IV#D&^imYT8H^Z^BXU1iK"&^F +VHQ:l1^LUB$lrZbd"2hZc;0:)g6bJZ;*);M"'lNbtIbSp_=$gILu;/_d=$696P#dZ +nE6N>FTDb$Z>tE7: +%-EOD- +Q +Q +q +667.28 85.39 490 262.5 re +W* +q +q +[1 0 0 1 0 0] cm +0 0 595.28 841.89 re +W +Q +Q +Q +q +1 w +[] 0 d +0 J +0 j +[1 0 0 1 37 55.78] cm +q +[1 0 0 1 0 0] Tm +0 0 Td +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\004) +[6.036 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 419.67383 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.34766 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.34766 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.02148 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.01758 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 455.69141 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.36523 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 465.69922 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\001) +[3.624 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 469.69531 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 476.36914 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\006) +[6.096 +0] Tj +Q +Q +Q +Q +showpage +%%PageTrailer +pdfEndPage +%%Page: 3 3 +%%BeginPageSetup +%%PageOrientation: Portrait +pdfStartPage +0 0.706376 translate +0.9983 0.9983 scale +0 0 596 842 re W +%%EndPageSetup +[] 0 d +1 i +0 j +0 J +10 M +1 w +/DeviceGray {} cs +[0] sc +/DeviceGray {} CS +[0] SC +false op +false OP +{} settransfer +0 0 595.28 841.89 re +W +q +q +[1 0 0 1 0 0] cm +q +1 w +[] 0 d +0 J +0 j +[1 0 0 1 72 805.89] cm +q +[1 0 0 1 0 0] Tm +0 0 Td +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.3418 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.01562 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.68359 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.35742 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.03125 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.70508 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.37891 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.375 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.04883 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.04492 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.71094 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.37891 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 83.37891 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.05273 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.72656 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.39258 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.06641 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.74023 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.4082 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.07422 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.74805 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.41406 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.08008 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.08789 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.0957 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.76953 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.76562 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.76562 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.77344 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.76953 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 203.44336 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.11719 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.11328 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.7793 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.7793 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.44727 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.11328 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.78711 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.11719 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.79102 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.46484 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.13867 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.80664 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.80273 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.46875 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.46875 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.14258 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.47656 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.47656 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.14258 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.47656 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.15039 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.1582 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 345.49219 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.16602 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.83203 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.49805 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.83203 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.50586 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.17969 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.8457 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.8457 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.8418 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.51562 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.52344 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.19727 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.86328 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.53711 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.21094 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.88477 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.55859 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.23242 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 471.5625 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 478.23633 -9.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.68164 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.35547 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.02148 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.6875 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.35547 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.68945 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.36328 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.69727 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.37109 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.04492 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.71875 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.04883 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.04883 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.71484 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.71484 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.38867 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.38477 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.38086 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.38867 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.0625 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.72852 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.72852 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.72852 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 161.40234 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.07031 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.74414 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.41797 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.08398 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.0918 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.76562 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.43945 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.10547 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.10547 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.77148 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 225.44531 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.11914 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.44922 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.12305 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.79688 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.46289 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.46289 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.12891 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.80273 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.47656 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.81055 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.47852 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.48242 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.47852 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.15234 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.81836 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.82617 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.82227 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.49609 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.16211 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.83594 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.83594 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.16992 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.83594 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.84375 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.17773 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.85156 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.52539 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.52539 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.19141 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.86523 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.53906 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.87305 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.86914 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.86914 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.86914 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.54297 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.2168 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.89062 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 463.56445 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 470.23828 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 473.57227 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 476.23828 -24.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 10.00781 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.00391 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.67383 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 37.34766 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.68164 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.35547 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.35156 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.01953 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.02344 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.69727 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.37109 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.37109 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.04492 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.71094 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.37695 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.05078 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.38477 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.38086 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.05469 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.38867 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.38477 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.05859 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.05469 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.72266 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.38867 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.0625 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.0625 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.39648 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.4043 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.4043 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.07812 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.08594 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.08594 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.75977 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.42578 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.09961 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.77344 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.10742 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.78125 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.11523 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.12305 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.78906 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.46289 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.46289 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.12891 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.80273 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.46875 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.14258 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.81055 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.47656 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.15039 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.15039 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.82422 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.1543 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.82812 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.49414 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.16797 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.49805 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.83203 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.50586 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.50195 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.17578 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.84961 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.18359 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.85742 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 421.52344 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 427.52344 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.18945 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.85742 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.53125 -39.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.01367 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.00977 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.68359 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.69141 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.6875 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36133 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.36133 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.36133 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.36914 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.04297 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.7168 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.39062 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.06445 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.07227 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.07227 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.73828 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.07227 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.74609 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.75391 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.75 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.42383 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.42383 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.42383 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.09766 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.76562 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.76953 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.44336 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.44336 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.11719 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.79102 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.46484 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.13867 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.80469 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.80469 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.80469 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.8125 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.48633 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.16016 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.49414 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.16797 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.8418 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.17578 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.8418 -54.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.00586 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.67188 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.67969 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.01367 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.6875 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.6875 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.35352 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.01953 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.68555 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.68555 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.35156 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.01953 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.68555 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.35938 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.0332 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.70703 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.04102 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.03711 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.71094 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.37695 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.04297 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.70898 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.04297 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.04297 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.7168 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 161.39062 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.06445 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.73047 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.72656 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 187.40039 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.07422 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.4082 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.08203 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.41211 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.4082 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.08203 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.75586 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.42969 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.4375 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.4375 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.10352 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.77148 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.44531 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.44141 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.11523 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.7832 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.7832 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.45703 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.13086 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.13086 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.80469 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.80469 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.13867 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.8125 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.14648 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.82031 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.1543 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.82227 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.82617 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 385.5 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 395.50781 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.50781 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.18164 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.17773 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.17773 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.85156 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.18555 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.51953 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.18555 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.85938 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.85938 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 455.52539 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.19922 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.87305 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 475.54688 -84.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.00391 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.67773 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.3457 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.3457 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.01953 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.01562 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.68164 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.35547 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.35547 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.02344 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.68945 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.36328 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.35938 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.0332 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.70703 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 113.37305 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.70703 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.38086 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.71094 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.37695 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.05078 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.38477 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.05859 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.05469 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.72852 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 167.40234 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.73242 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.39844 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.07227 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.07227 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.74609 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.08008 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.08008 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.74609 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.41406 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.08789 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.08398 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.75781 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.42578 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.42188 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.0957 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.76953 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.76562 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.43164 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.76562 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.09961 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.77344 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.77344 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.43945 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.10547 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.77148 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.77148 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 329.4375 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.77148 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.76758 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.44141 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.77539 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.10938 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.77539 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.77539 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.44336 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.43945 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.11328 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.78711 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.7832 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.44922 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.7832 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.45703 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.13086 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.79688 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.79688 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.46289 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.13672 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.81055 -99.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 2.66602 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.01367 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.34766 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.69531 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.36133 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.69531 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.0293 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.70312 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.69922 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.37305 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.03906 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 89.37305 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.04688 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.71289 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.38672 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.05273 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.38672 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.06055 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.73438 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.74219 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.41602 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.08984 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.75586 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.08984 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.76367 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.42969 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.76367 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.75977 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.42578 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.42578 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.09961 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.43359 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.42969 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.10352 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.77734 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.77344 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.43945 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.77344 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.44727 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.11328 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.78711 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.46094 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.12695 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.12695 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.12695 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.79297 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.78906 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.45703 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\013) +[7.356 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.46094 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.79492 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.46094 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.13477 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.46484 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.13867 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.8125 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.14648 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.48047 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.1543 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.82031 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.48633 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.16016 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 385.49414 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.16797 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.8418 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.50781 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.18164 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.84961 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.8457 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.51953 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.51562 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.18945 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.18945 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.86328 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 461.53711 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.20312 -114.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.66992 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.66992 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.67773 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.35156 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.01953 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.01562 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.68945 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.68945 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.68945 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.69727 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.69336 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.36719 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.70117 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.03516 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.70117 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.03516 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 129.36914 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.04297 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.7168 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.7168 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 151.38281 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.05664 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.73047 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.73047 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.39844 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.06445 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.73828 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.41211 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.74609 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.41211 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.08594 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.08594 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.75977 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.42578 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.0918 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.42578 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.42578 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.09961 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.77344 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.44727 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.12109 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.79492 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.12891 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.79492 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.12891 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.80273 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.47656 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.15039 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.48047 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.1543 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.82227 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.49609 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.16992 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.84375 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.51758 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.51367 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.1875 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.18359 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.84961 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.18359 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.85156 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.51758 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.19141 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.86523 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.53906 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.87305 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.54688 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.2207 -129.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.6875 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.01758 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.69141 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 43.36523 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.03125 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.69922 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.37305 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.70703 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.70703 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.38086 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.05469 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.72852 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.39453 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.06836 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 113.40234 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.07617 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.75 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.42383 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.41992 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.08789 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.75391 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.75 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.42383 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.75781 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.0918 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.76562 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.76562 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.43164 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.09766 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.76367 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.76367 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.42969 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.76367 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.4375 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.10352 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.77734 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.45117 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.125 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.79102 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.45898 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.45508 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.12891 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.12891 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.12891 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.80273 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.4707 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.4707 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.14453 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.15234 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.82617 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 337.5 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.17383 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.84766 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.84375 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.51758 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.51367 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.17969 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.84766 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.51367 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.1875 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.19531 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.86133 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.53516 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.20898 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.20508 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.87891 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 427.55273 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.2207 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.2207 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.88672 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.55469 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.22852 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 466.22461 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 472.89844 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 476.23242 -144.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\022) +[8.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33398 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.00781 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.67383 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.34766 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.0293 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.70312 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.36914 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.04297 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.37695 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.05078 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.72461 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.39258 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.06641 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.0625 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.73633 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.73633 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.40234 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.07617 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.08398 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.75781 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 145.42383 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.08984 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.76367 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 161.4375 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.11133 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.10742 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.77539 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.7793 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.45312 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.46094 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.12695 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.80078 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.80078 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.47461 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.14062 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.80664 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.14062 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.13672 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.81055 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.14453 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.14062 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.81445 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.14453 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.47852 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.15234 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.14844 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.82227 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.48828 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.48828 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.15625 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.83008 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.16406 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.49805 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.17188 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.8457 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.8457 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.51172 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.18555 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.85938 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.19336 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.86719 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.54102 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.20703 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.87305 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.88086 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.88086 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 425.55469 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.55469 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.55469 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.2207 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.89453 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.56055 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.22852 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.22852 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.89453 -159.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 23.34375 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.67773 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.3457 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.6875 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.36133 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.36133 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.69531 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.36133 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.03516 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.70898 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.375 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.04883 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.37891 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.05273 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.72656 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.40039 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.06836 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.40234 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.06836 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.74219 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.74219 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.4082 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.08203 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.75586 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.42969 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.09766 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.77148 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.44531 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.11133 -174.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.00586 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.33984 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.33594 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.00977 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.34375 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.33984 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.01367 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.00977 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.67773 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.34375 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.01758 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.01758 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.35156 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.35938 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.0332 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.70703 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.71484 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.38086 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.05469 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.38867 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.0625 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.05859 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.73242 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.40625 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.73633 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.41016 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.07617 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.75 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.42383 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.09766 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.76367 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.09766 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.76562 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.43945 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.10547 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.10547 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.10547 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.7793 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.45312 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.12695 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.45703 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.13086 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.80469 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.4707 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.4707 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.13672 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.81055 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.48438 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.81445 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.14844 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.82227 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.48828 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.1543 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.82812 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.82812 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.49609 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.16211 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.16992 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.50391 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.17773 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.17383 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.84766 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 393.52148 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.85547 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.5293 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.19531 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.19531 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.19531 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.86914 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.53516 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.53516 -204.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 21.33984 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.01367 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.00977 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.67578 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.67578 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.34961 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.02344 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.03125 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.69727 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 69.36328 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.03711 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.71094 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.37695 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.05078 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.71875 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.72266 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.71875 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.39258 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.05859 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.06641 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.73242 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.40625 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 145.40625 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.74023 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.41406 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.74805 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.74805 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.42188 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.0957 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.76953 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.43555 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.10938 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.44336 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.44336 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.11719 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.11719 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.11719 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.7832 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.45703 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.12305 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.45703 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.125 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.12891 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.80273 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.81055 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.48438 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.15234 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.82617 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.5 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.49609 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.16992 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.50391 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.17773 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.85156 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.52539 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.52148 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.18945 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.19336 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.86719 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 381.5332 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.19922 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.87305 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.54688 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.88086 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.55469 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.55469 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.22852 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.90234 -219.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.34766 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.02148 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.69531 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.36914 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.70312 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.36914 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.70312 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.37695 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.05078 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.04688 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.7207 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.05469 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.72852 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.39648 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.07031 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.06641 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.06641 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.06641 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.06641 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.74023 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.40625 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.08008 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.41406 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.08789 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.76172 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.42969 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.42969 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.10352 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.77734 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.45117 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.11719 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.79102 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.125 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.79102 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.46484 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.46484 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.79883 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.47266 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.80664 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.48047 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.47656 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.15039 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.1582 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.83203 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.50586 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.50586 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.83984 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.51367 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.84766 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.51562 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.51172 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.18555 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.85938 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.85938 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.5332 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.20703 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.88086 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.21484 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.21484 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.88867 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.88477 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.88477 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.55859 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.55859 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.22656 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.22266 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.88867 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.88867 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.5625 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.89648 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.57031 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.24414 -234.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.66992 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 29.34375 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.67773 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.67773 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.35156 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.35156 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.68555 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.35156 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.02539 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.69922 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.36523 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.03906 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.03516 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.70312 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 109.37695 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.05078 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.72461 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 129.39844 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.40625 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.08008 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.75391 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.41992 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.75 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 171.41602 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.08984 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.08984 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.75586 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.42969 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.0957 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.10352 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.77734 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.45117 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.11719 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.78516 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.78516 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.45117 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.11914 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.79297 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.78906 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.46289 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.13086 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.46484 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.13867 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.13867 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.80469 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.4707 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.13672 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.13672 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.80273 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.13672 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.81055 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.47656 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.47656 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 337.47656 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.15039 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.14648 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.14648 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.14648 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.82031 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.48828 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.16211 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.82812 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.50195 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.49805 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.16602 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.50781 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.18164 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.18164 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.51562 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.18164 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.85547 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.5293 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.19531 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.86914 -249.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.67773 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.01172 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.68555 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.68164 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.01562 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.68945 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.01953 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.69336 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.70117 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 89.36719 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.0332 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.70703 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.38086 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.04688 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.05469 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.72852 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.72461 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 135.39844 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.39844 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.06445 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.73828 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.74609 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.08008 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.75391 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.75 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 187.42383 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.09766 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.09766 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.76562 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.76953 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.44336 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.44336 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.11719 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.79102 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.46484 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.13867 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.80469 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.80469 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.80469 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.8125 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.48633 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.16016 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.49414 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.16797 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.8418 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.17578 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.8418 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.50977 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.17578 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.84961 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.8457 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.51953 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.19336 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.85938 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.19336 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.86719 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.19727 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.87109 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.87109 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.87109 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.54492 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.54102 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.54102 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.21484 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.22266 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.89648 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.5625 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.22852 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.90234 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 457.57617 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.25 -264.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.6875 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.02148 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.68945 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.35547 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.36328 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.69727 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.36328 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.03711 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.03711 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.70312 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.37695 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.05078 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.72461 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.39258 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.06641 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.0625 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.0625 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.07031 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.74414 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.74023 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.41406 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.74805 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.41406 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.08789 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.41797 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.41797 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.08398 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.75195 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.42578 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.42188 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.0957 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.42969 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.09766 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\022) +[8.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.43164 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.10547 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.77148 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.77148 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.44531 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.11914 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.12695 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.12305 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.12305 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.79688 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.79297 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.4668 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.4668 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.13477 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.80859 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.47461 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.47461 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.80859 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.48242 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.8125 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.8125 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.48633 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.48633 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.82031 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.81641 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.48242 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.15625 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.83008 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.49609 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.16211 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.82812 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.83594 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.50977 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.17578 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.50977 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 421.50586 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.17188 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.17188 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.8457 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.8457 -279.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.34766 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02148 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.35547 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.36328 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.03711 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36719 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.0332 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.04102 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.71484 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.38867 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.05469 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.72852 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.39648 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.39258 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.06641 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.0625 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.73633 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.73633 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.73633 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 153.41016 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.40625 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.40625 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.08008 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.41406 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.41406 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.08789 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.08789 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.08789 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.75391 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213.42773 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.09375 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.76172 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.76172 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.43555 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.43164 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.42773 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.10156 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.77539 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.44922 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.11719 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\024) +[7.704 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.7832 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.45117 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.125 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.79102 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.46484 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 323.46094 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.13477 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.80859 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.14258 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.81641 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.8125 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.48047 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.14648 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.8125 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.48633 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.16016 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.15625 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.16406 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.16406 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.83789 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.83789 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 421.51172 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.18555 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.85938 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.52539 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.19922 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.87305 -294.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.00977 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.68359 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.35742 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.69141 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.36523 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.36133 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.0293 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.69531 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.36914 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.36914 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.70312 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.71094 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.70703 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.38086 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.38086 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.38086 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.38867 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.05469 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.72852 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.40234 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.07617 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.07227 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.40625 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.07227 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.40625 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.08008 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.07617 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.75 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.42383 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.0918 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.76562 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.43945 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 225.43945 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.11328 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.78711 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.7832 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.79102 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.125 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.12109 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.78711 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.46094 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.13477 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.80078 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.4668 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.13281 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.14062 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.81445 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.48828 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.1543 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.16211 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.83594 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.50977 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.17578 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.8418 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.84961 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.84961 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.51562 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.84961 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.52344 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.53125 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.52734 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.20117 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.53516 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.20898 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.20898 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.87695 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.21875 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.89258 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.89258 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.22656 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.89258 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.56641 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.24023 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.90625 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 465.58008 -309.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.01367 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.67969 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 37.35352 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.02734 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.02344 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.03125 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.70508 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.37891 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.38672 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.05273 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.71875 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.39258 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.06641 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.0625 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.07031 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.4043 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.07812 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.75195 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.75195 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.41797 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.0918 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.76562 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.09961 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.77344 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.44727 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.11328 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.78711 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 187.45312 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.45312 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.45312 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.11914 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.79297 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.80078 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 225.47461 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.14258 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.81641 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.49023 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.15625 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.49023 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.82422 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.49805 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.16406 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.83008 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.83008 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.49805 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.16406 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.83789 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.16797 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.16797 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.8418 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.8418 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.50781 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.17383 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.50781 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.18164 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.85547 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.18945 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.86328 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.53711 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.21094 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.21875 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.89258 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.56641 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.24023 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.91406 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.24805 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.91406 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.58789 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.26172 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.5957 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.26953 -324.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 23.34375 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.01758 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.68359 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.01758 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.69141 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.35742 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.69141 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.36523 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.03906 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.03516 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.36914 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.04297 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.03906 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.70508 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.37891 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.05273 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.7207 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.7168 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.39062 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.06445 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.39844 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.07227 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.07227 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.74023 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 167.41406 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.08789 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.08789 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.08789 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.76172 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.0957 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.76953 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.09961 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.0957 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.76172 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.43555 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.10156 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.10156 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.77539 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.44141 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.11523 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.44922 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.44531 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.11914 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.11914 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.78711 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.79102 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.46484 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.13867 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.13867 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.8125 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 323.47852 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.14453 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.81836 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.15234 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.82617 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.5 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.17383 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.83984 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.51367 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.1875 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.52148 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.19531 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.86914 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.53516 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.20117 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.875 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 419.54883 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.88281 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.55664 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.55664 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.23047 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.9043 -339.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 10.00781 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.00391 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.67773 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.35156 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.68555 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 43.35352 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.01953 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.69336 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.02344 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.69727 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.37109 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.04492 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.71289 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.04688 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.7207 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.7168 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.05078 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.72461 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.05469 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.72852 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.39648 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.07031 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.74414 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.41016 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.08398 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.41406 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.74805 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.74414 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.41016 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.41016 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.74414 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.41016 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.08398 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.75781 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.76562 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.76562 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.43945 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.10547 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.7793 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.45312 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.78711 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.46094 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.79492 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.80273 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.80273 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.46875 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.80273 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.47656 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 299.48438 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.1582 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.83203 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.50586 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.17383 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.84766 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.52148 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.19531 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.19531 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.86328 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\014) +[6.78 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.19336 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.86719 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.86719 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.86719 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.875 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.875 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.54883 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.54883 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.54492 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.54492 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.21875 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.55273 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 455.54883 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.22266 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.22266 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 474.22266 -354.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33594 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.00977 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.34375 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.01758 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.68359 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.68359 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.01758 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.69141 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.02148 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.69531 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.36914 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.37695 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.05078 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.71875 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 113.38477 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.05078 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.72461 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 129.39844 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.39453 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.06836 -369.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\010) +[8.016 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.00391 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.67773 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 21.35156 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.02539 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.69922 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.70703 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.38086 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.04688 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.71289 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.38672 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.38281 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.38281 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.05664 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.05273 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.72656 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.40039 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.73047 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.4043 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.40039 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.40039 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.4082 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.07422 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.08203 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 153.41602 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.08984 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.75586 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.42188 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.75586 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.08984 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.75586 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 187.42969 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.42969 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.0957 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.76953 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.44336 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.11719 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.78516 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.45898 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.12695 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.12695 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.80078 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.79688 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.46289 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.13672 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.4707 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.14453 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.81836 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.49219 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.16602 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.17383 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.84766 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.52148 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.1875 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.1875 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.18359 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.85742 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.53125 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.19922 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.86523 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.86133 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.53516 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.86914 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.86523 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.53906 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.87305 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.86914 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.54297 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.53906 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.20703 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.87305 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.54688 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.54688 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.2207 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 461.55469 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.22852 -399.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.6875 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.35352 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.35352 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 37.35352 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.01953 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.34961 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.02344 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.69727 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.69727 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.03125 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.70508 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.03906 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.70703 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.37305 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.04688 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.04688 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.7207 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.05469 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.7207 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.39453 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.39453 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.06836 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.39844 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.07227 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.74609 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.41992 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.09375 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.08984 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.76367 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.75977 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 203.42578 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.09375 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.75977 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.43359 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.10742 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.77539 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.44922 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.7832 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.7832 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.45703 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.13086 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.80469 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.47852 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.15234 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.48633 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.15234 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.48633 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.16016 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.82617 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.5 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 329.50781 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.17383 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.84766 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.84375 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.51758 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.84766 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.51367 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.52148 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.51758 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.18359 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.18359 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.85742 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.85742 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.52539 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\013) +[7.356 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.5293 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.86328 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 421.5293 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.20312 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.5332 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.5332 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.20703 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.88086 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 467.55469 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 474.22852 -414.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 10.00781 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.68164 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.68164 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02148 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.69531 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.70312 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.69922 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.37305 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.37305 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.04102 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.71484 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.38867 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.05469 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.38867 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.05469 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.72852 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.72852 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.39453 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.06836 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.73438 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.74219 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.41602 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.08984 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.76367 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 167.4375 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.44531 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.44531 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.11914 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.79297 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.79297 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.4668 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.14062 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.81445 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.48828 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.15625 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.83008 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.83008 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.49805 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\013) +[7.356 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.50195 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.83594 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.50195 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.17578 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.50586 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.17188 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.8457 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.8418 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.51562 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.8457 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 329.51953 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.19336 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.52734 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.20117 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.86914 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 359.54297 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.20898 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.20898 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.54297 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.2168 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.54688 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.2207 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.55469 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.55469 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.22852 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.22461 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.2207 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.89453 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 453.56836 -429.73633] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +Q +Q +q +72 85.39 490 262.5 re +W* +q +q +[1 0 0 1 0 0] cm +0 0 595.28 841.89 re +W +q +/DeviceRGB {} cs +[0 1 0] sc +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +1 w +[] 0 d +0 J +0 j +[1 0 0 1 162 201.89] cm +0 -30 288 30 re +f* +0 -30 288 30 re +S +Q +q +/DeviceRGB {} cs +[1 0 0] sc +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +1 w +[] 0 d +0 J +0 j +[1 0 0 1 162 129.89] cm +0 -30 360 30 re +f* +0 -30 360 30 re +S +Q +q +/DeviceRGB {} cs +[0.8863 0 0.4706] sc +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +1 w +[] 0 d +0 J +0 j +[1 0 0 1 162 309.89] cm +0 -30 180 30 re +f* +0 -30 180 30 re +S +Q +q +/DeviceRGB {} cs +[0 0 1] sc +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +1 w +[] 0 d +0 J +0 j +[1 0 0 1 162 273.89] cm +0 -30 216 30 re +f* +0 -30 216 30 re +S +Q +q +/DeviceRGB {} cs +[0 0.6196 0.8784] sc +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +1 w +[] 0 d +0 J +0 j +[1 0 0 1 162 237.89] cm +0 -30 252 30 re +f* +0 -30 252 30 re +S +Q +q +/DeviceRGB {} cs +[1 0.9255 0] sc +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +1 w +[] 0 d +0 J +0 j +[1 0 0 1 162 165.89] cm +0 -30 324 30 re +f* +0 -30 324 30 re +S +Q +q +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +1 w +[] 0 d +0 J +0 j +[1 0 0 1 144 325.89] cm +[0 -1 1 0 0 0] cm +0 0 m +240 0 l +S +Q +q +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +1 w +[] 0 d +0 J +0 j +[1 0 0 1 144 85.89] cm +0 0 m +400 0 l +S +Q +q +1 w +[] 0 d +0 J +0 j +[1 0 0 1 72 301.89] cm +q +[1 0 0 1 0 0] Tm +0 0 Td +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 1.28271 -11.7373] Tm +0 0 Td +/F35_0 15 Tf +(\003) +[11.43 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.77783 -11.7373] Tm +0 0 Td +/F35_0 15 Tf +(\007) +[7.83 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.12012 -11.7373] Tm +0 0 Td +/F35_0 15 Tf +(\013) +[8.205 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.28271 -11.7373] Tm +0 0 Td +/F35_0 15 Tf +(\011) +[7.785 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.625 -11.7373] Tm +0 0 Td +/F35_0 15 Tf +(\017) +[8.145 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.7876 -11.7373] Tm +0 0 Td +/F35_0 15 Tf +(\023) +[4.815 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.78271 -11.7373] Tm +0 0 Td +/F35_0 15 Tf +(\007) +[7.83 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 29.62012 -47.7373] Tm +0 0 Td +/F35_0 15 Tf +(\000) +[10.095 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.45264 -47.7373] Tm +0 0 Td +/F35_0 15 Tf +(\016) +[3.135 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.62012 -47.7373] Tm +0 0 Td +/F35_0 15 Tf +(\024) +[8.115 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.78271 -47.7373] Tm +0 0 Td +/F35_0 15 Tf +(\011) +[7.785 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.44531 -83.7373] Tm +0 0 Td +/F35_0 15 Tf +(\001) +[10.065 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.27783 -83.7373] Tm +0 0 Td +/F35_0 15 Tf +(\026) +[8.1 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.62012 -83.7373] Tm +0 0 Td +/F35_0 15 Tf +(\007) +[7.83 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.9624 -83.7373] Tm +0 0 Td +/F35_0 15 Tf +(\017) +[8.145 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.77295 -119.7373] Tm +0 0 Td +/F35_0 15 Tf +(\002) +[10.755 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.44043 -119.7373] Tm +0 0 Td +/F35_0 15 Tf +(\022) +[6.03 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.27783 -119.7373] Tm +0 0 Td +/F35_0 15 Tf +(\011) +[7.785 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.62012 -119.7373] Tm +0 0 Td +/F35_0 15 Tf +(\011) +[7.785 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.9624 -119.7373] Tm +0 0 Td +/F35_0 15 Tf +(\017) +[8.145 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.44043 -155.7373] Tm +0 0 Td +/F35_0 15 Tf +(\006) +[10.02 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.61768 -155.7373] Tm +0 0 Td +/F35_0 15 Tf +(\011) +[7.785 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.95996 -155.7373] Tm +0 0 Td +/F35_0 15 Tf +(\016) +[3.135 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 37.12744 -155.7373] Tm +0 0 Td +/F35_0 15 Tf +(\016) +[3.135 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.29492 -155.7373] Tm +0 0 Td +/F35_0 15 Tf +(\020) +[8.625 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.45752 -155.7373] Tm +0 0 Td +/F35_0 15 Tf +(\025) +[11.655 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.7876 -191.7373] Tm +0 0 Td +/F35_0 15 Tf +(\004) +[10.755 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.62012 -191.7373] Tm +0 0 Td +/F35_0 15 Tf +(\011) +[7.785 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.9624 -191.7373] Tm +0 0 Td +/F35_0 15 Tf +(\010) +[8.205 +0] Tj +Q +Q +q +1 w +[] 0 d +0 J +0 j +[1 0 0 1 72 347.89] cm +q +[1 0 0 1 0 0] Tm +0 0 Td +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.26123 -17.0166] Tm +0 0 Td +/F35_0 22 Tf +(\005) +[12.98 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.30225 -17.0166] Tm +0 0 Td +/F35_0 22 Tf +(\015) +[4.598 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.41455 -17.0166] Tm +0 0 Td +/F35_0 22 Tf +(\023) +[7.062 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.74072 -17.0166] Tm +0 0 Td +/F35_0 22 Tf +(\016) +[4.598 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.85303 -17.0166] Tm +0 0 Td +/F35_0 22 Tf +(\011) +[11.418 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.20068 -17.0166] Tm +0 0 Td +/F35_0 22 Tf +(\020) +[12.65 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.63916 -17.0166] Tm +0 0 Td +/F35_0 22 Tf +(\012) +[7.964 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.07764 -17.0166] Tm +0 0 Td +/F35_0 22 Tf +(\002) +[15.774 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.18994 -17.0166] Tm +0 0 Td +/F35_0 22 Tf +(\022) +[8.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.75146 -17.0166] Tm +0 0 Td +/F35_0 22 Tf +(\007) +[11.484 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.98682 -17.0166] Tm +0 0 Td +/F35_0 22 Tf +(\021) +[12.628 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.42529 -17.0166] Tm +0 0 Td +/F35_0 22 Tf +(\014) +[11.946 +0] Tj +Q +Q +Q +Q +Q +q +1 w +[] 0 d +0 J +0 j +[1 0 0 1 71.72 54.78] cm +q +[1 0 0 1 0 0] Tm +0 0 Td +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.34766 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.02148 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.01758 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.69141 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.36523 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.69922 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\001) +[3.624 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.69531 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.36914 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\006) +[6.096 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 476 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\005) +[6.132 +0] Tj +Q +Q +Q +Q +showpage +%%PageTrailer +pdfEndPage +%%Page: 4 4 +%%BeginPageSetup +%%PageOrientation: Portrait +pdfStartPage +0 0.706376 translate +0.9983 0.9983 scale +0 0 596 842 re W +%%EndPageSetup +[] 0 d +1 i +0 j +0 J +10 M +1 w +/DeviceGray {} cs +[0] sc +/DeviceGray {} CS +[0] SC +false op +false OP +{} settransfer +0 0 595.28 841.89 re +W +q +q +[1 0 0 1 0 0] cm +q +1 w +[] 0 d +0 J +0 j +[1 0 0 1 36 805.89] cm +q +[1 0 0 1 0 0] Tm +0 0 Td +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.02148 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.68945 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.36328 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.0293 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.69531 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.36914 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.36523 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.36523 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.03906 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.03516 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.70898 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.38281 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.71289 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.38672 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.05469 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.7207 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.39453 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.39453 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.72852 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.40234 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.40234 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.07031 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\022) +[8.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 153.4043 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.07812 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.74414 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.74414 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.41797 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.0918 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.09961 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.09961 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.77344 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.44727 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.11328 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.11328 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.78711 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.45312 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.12695 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.79492 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.79102 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.45703 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.45703 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.13086 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.46484 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.13086 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.13867 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.47266 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.14648 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.82031 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.82031 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.48633 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.16016 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.83398 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.16797 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.16406 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.83789 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.17188 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.50586 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.17188 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.17188 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.83984 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.51367 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.1875 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.86133 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.19531 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.86914 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.54297 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.53906 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.21289 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.54688 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.21289 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.88672 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.56055 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 453.55664 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.23047 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 466.9043 -9.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.02148 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.69531 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.36914 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.03711 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.71094 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.37891 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.05273 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.71875 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 69.39258 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.39258 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.06641 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.0625 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.73633 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.4043 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.07031 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.74414 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.74414 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.07812 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.75195 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.08594 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.75977 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.43359 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.10742 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.78125 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.78906 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.46289 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.13672 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.4707 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.13672 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.81055 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.81055 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.14453 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.81836 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.81836 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.48633 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.15234 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.82617 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 253.5 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.17383 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.50781 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.18164 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.84766 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.84766 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.18164 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.85547 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.18555 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.85938 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.5332 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.19922 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.86523 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.53906 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.21289 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.54688 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.2207 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.2207 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.89453 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.56836 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.57617 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.25 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.24609 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.24609 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.91992 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.58789 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.58789 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.26172 -24.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.34766 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02148 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.35547 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.36328 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.03711 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36719 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.0332 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.70703 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.70703 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.04102 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.71484 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.04883 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.04883 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.72266 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.72266 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.72266 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.38867 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.0625 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.72852 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.39648 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.39648 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.07031 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.73633 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.74219 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\010) +[8.016 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.74609 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.41992 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.09375 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.76758 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.44141 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.44922 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.11523 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.12305 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.79688 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.4707 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.14453 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.81836 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.82617 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.5 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.49609 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.16992 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.84375 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.51172 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.18555 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.85352 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.52734 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.19336 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.85938 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.5332 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.5293 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 337.5293 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.20312 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.19922 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.87305 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.54688 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.87695 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.55078 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.22461 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.89844 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.89453 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.5625 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.9043 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 419.57812 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 425.57812 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.91211 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.57812 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.25195 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.92578 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.5918 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.26562 -39.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.01367 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02148 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.69531 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.36328 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.03711 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.70312 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.37695 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.05078 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.72461 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.39062 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.05859 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.73242 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.39844 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.39844 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.39844 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.07227 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.74023 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.74023 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.41406 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 135.41016 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.07617 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.75 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.75 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.41797 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 167.41406 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.08789 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.76172 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.75781 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 187.42383 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.75781 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.75391 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.42773 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.76172 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.75781 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.43164 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.76172 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.76172 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.43555 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.10938 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.7832 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.44922 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.44531 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.11914 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.79297 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.12695 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.80078 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.13086 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.13086 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.80469 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.4707 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.13672 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.4707 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.13867 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.80469 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.8125 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.48633 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.15234 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.82617 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.5 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.16602 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.16602 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.16602 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.83203 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.16211 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.83594 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.50977 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.18359 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.85742 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.86523 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.86133 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 457.53516 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.20117 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.86719 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 465.5332 -54.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.01562 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.01953 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.01562 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.68945 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.35547 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.36328 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.0293 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.03711 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.03711 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.71094 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.04102 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.71484 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.38867 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 113.39648 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.07031 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.06641 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.74023 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.4082 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.4082 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.07422 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.07422 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.74805 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.74414 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.74023 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.74805 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.42188 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.08789 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.75391 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.42773 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.42383 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.42383 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.09766 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.09375 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.76758 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.44141 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.77148 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.77148 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.4375 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.10547 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.7793 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.77539 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.44922 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.11719 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.7832 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.45703 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.45703 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.79102 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.46484 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.79883 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 329.47266 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.14648 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.8125 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 345.48633 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.82031 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.48828 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\022) +[8.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.82227 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.49609 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.16211 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.16211 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.83594 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 393.50977 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.51758 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.19141 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.86523 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 419.53125 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.86523 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.53906 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.53516 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.20898 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.54297 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.20898 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.88281 -69.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.00586 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.67383 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.33984 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.01367 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.6875 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.36133 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.69531 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.69531 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.36914 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.04297 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.04297 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.7168 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.38281 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.04883 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.71484 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.71484 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.38281 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.05664 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.73047 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 135.4043 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.73438 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 151.40039 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 161.4082 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.08203 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.75586 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.75586 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.08984 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.76367 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.09375 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.09375 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.09375 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.76758 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.43359 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.10742 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.10352 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.76953 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.76953 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.44336 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.11719 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.79102 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.45898 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.45508 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.12891 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.80273 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.79883 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.46484 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.79883 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.79492 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.46875 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.14258 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.13867 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.80469 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.13867 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.80469 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.47852 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 359.47852 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.8125 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.48633 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.82031 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 381.48633 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.16016 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.16016 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.49414 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.16797 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.83594 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.50977 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.84375 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.83984 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.51367 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.17969 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.8457 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.51172 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.8457 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 467.51953 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 471.51562 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 478.18945 -84.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 17.34375 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.01758 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.35156 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.02539 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.69336 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.35938 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.0332 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.0332 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.70703 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.70703 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.375 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\014) +[6.78 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.70508 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.37891 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.37891 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.37891 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.38672 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.06055 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.06836 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.73438 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.4082 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.4082 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.74219 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.75 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.74609 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.41992 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.41992 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.41992 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.09375 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.76172 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.0957 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.76953 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.10352 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.77734 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.45117 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.125 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.45508 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.45508 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.12891 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.12891 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.12891 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.80273 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.46875 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.13477 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.80078 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.80078 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.4668 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.80078 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.47461 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.14844 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.81445 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.82227 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 329.49609 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.49219 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.16602 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.5 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.16797 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.83398 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.50781 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.18164 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.85547 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.18945 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.86328 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.53711 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.21094 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.20703 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.88086 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.21484 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.21094 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.21875 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.89258 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.56641 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.90039 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.9082 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.9082 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 475.58203 -99.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 2.66602 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.34766 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.02148 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.69531 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.36133 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02734 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.70117 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.375 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.70898 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.38281 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.38281 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.05664 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.73047 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.73828 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.73438 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.4082 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.74219 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.07617 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.74219 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.74219 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.74805 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\010) +[8.016 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.75195 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.42578 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.09961 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.77344 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.44727 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.45508 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.45508 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.12891 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.125 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.125 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.79883 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.13281 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.80664 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.47266 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.14648 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.82031 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.48633 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.48633 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.48633 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.15234 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.48242 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.15625 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.83008 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.83008 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.16406 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.83789 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.17188 -114.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.66992 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.66992 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.34375 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.00977 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.67578 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.3418 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.3418 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.00781 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.3418 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.01562 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.68945 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.35547 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.36328 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.0293 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.70312 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.69922 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.37305 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.70312 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.70312 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 129.36914 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.70312 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.37695 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.38477 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.05078 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.72461 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.72461 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 171.39844 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.72852 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 187.39453 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.06836 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.74219 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.73828 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.41211 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.08594 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.75391 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.42773 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.09375 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.76758 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.44141 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.10742 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.10742 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.10742 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.77344 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.76953 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.4375 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.44141 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.4375 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.11133 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.78516 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.78516 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.45898 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.13281 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.80078 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.47461 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.14844 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.81445 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.81445 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.48047 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.1543 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.82812 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.16211 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.83008 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.50391 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.16992 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.84375 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.17383 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.83984 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.84766 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.84766 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.52148 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.52148 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.85547 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.52148 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.19531 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.86914 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 463.53516 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 470.20898 -144.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.34375 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.01172 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 44.67773 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.34375 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.01758 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.69141 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.35742 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.36523 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.03125 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.70508 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.70508 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.03906 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.71289 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.04688 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.7207 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.38672 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.05273 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.72656 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.40039 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.07422 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 153.4043 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.07031 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.74414 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.41797 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.08594 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.09375 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.76758 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.76367 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 203.4375 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.4375 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.10352 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.77734 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.78516 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.45117 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.125 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.125 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.79883 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.12891 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.80273 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.47656 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.14258 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.15039 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.82422 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.49805 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.50586 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.83984 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 323.51367 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.17969 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.8457 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.8457 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.51367 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.51758 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.51367 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.1875 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.86133 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.86133 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.53516 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.20898 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.87695 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.55078 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.21875 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.89258 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.55859 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.22461 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.89844 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.57227 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.24609 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.91406 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.58789 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.26172 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.93555 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 470.93555 -159.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.3418 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.3418 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.00781 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.00781 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.68164 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.67773 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.67383 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.68164 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.01562 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.68945 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 69.36328 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.03711 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.70312 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.37695 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.04492 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.71094 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.38477 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.38086 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.05469 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.38477 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.05859 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.73242 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.74023 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.41406 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.41016 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.08398 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.08398 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.75 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.42383 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.09766 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.76562 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.09961 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.77344 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.10742 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.78125 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.45508 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.12891 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.45898 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.125 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.79883 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.47266 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.14648 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.14258 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.47656 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.14258 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.14258 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.81055 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.14453 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.81836 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.81445 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.14844 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.82227 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.15234 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.81836 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.82617 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.82617 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 337.5 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.17383 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.17383 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.84766 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 359.51367 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.17969 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.8457 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.17969 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.85352 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.51953 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.19336 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.86719 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.5332 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.5332 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.5332 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.19922 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.19531 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.86328 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.53711 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.21094 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.88477 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 457.55859 -174.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 2.66602 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 5.33203 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.00586 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67969 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.67578 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.68359 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.35742 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.02344 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.69727 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.69727 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.37109 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36719 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.04102 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.70898 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.04297 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.7168 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.71289 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.04688 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.7207 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.05469 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.72266 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.39648 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.0625 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.73633 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.73633 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.41016 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 145.40625 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.08008 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.74805 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.74805 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 171.42188 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.0957 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.76953 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.44336 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.45117 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.78516 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.45898 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.125 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.79102 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.125 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.45898 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.13281 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.12891 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.46289 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.13672 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.4668 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.14062 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.80859 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.14258 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.81641 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.48242 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.14844 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.82227 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.82227 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.49023 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.49414 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.16797 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.83398 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.5 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.17383 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.84766 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.18164 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.85547 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.85547 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.5293 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.20312 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.21094 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.88477 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.55859 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.23242 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.5625 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.5625 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.23633 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.91016 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.57617 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.25 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.92383 -189.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33594 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.33594 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.00977 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.34375 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.01758 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.69141 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.69922 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.37305 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.03906 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.71289 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.38672 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.06055 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.73438 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.4082 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.73828 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.73828 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 129.4043 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.73828 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.41211 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.08594 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.75391 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.08789 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.76172 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.75781 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.43164 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.10547 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.43945 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.43945 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.10547 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.77344 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.44727 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.44336 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.11719 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.78516 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.45117 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.125 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.125 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.79883 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.79883 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.4668 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.4707 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.14453 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.81836 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.81836 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.49219 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.1582 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.82422 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.49805 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.83203 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.16602 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.83984 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.83594 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.50977 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.17578 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.50977 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.18359 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.84961 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.84961 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 381.51562 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.18359 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.85742 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.53125 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 405.52734 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.86133 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.86914 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.86914 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.54297 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.55078 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.55078 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.22461 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.2207 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.88672 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 467.56055 -204.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.01562 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.68945 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.36328 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.03711 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.70312 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.37695 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.05078 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.38477 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.05078 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.05859 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.73242 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.40625 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.07227 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.73828 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.41211 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.08008 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.07617 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.75 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.74609 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.41992 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.41992 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.41992 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.09375 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.76758 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.44141 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.10742 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.78125 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.11523 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.44922 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.12305 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.12305 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.78906 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 209.45508 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.12109 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.12109 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.78711 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.12109 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.78711 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.46094 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.46094 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.79492 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.80273 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.80273 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.47656 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.48438 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.48438 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.1582 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.1543 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.82031 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.49414 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.49414 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.16211 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\013) +[7.356 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.16602 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.5 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.16602 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.83984 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.16992 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.83594 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.50977 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.18359 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.17969 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.85352 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.52734 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.19531 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.19531 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.86914 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.53516 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.20117 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.86719 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.86719 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.5332 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.86719 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.54102 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.21484 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.88086 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.88867 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 459.5625 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 463.55859 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 469.55859 -219.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.68164 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02148 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.35547 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.0293 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.02539 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.69922 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 59.37305 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 69.36914 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.03711 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.70312 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.37695 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.37305 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.04688 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.7207 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.38672 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.7207 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.39453 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.72461 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 135.39844 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.06445 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.73828 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.73438 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 161.4082 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.08203 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 171.41602 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.08984 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.41992 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.09375 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.75977 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.43359 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.10742 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.77344 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.77344 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.77344 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.43945 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.76953 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.76953 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.44336 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.11719 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.11719 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.79102 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.45703 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.12305 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.78906 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.78906 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.45703 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.12305 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.78906 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.46289 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.46289 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.79688 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 337.4707 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.14453 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.47852 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.15234 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.82617 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.49414 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.82812 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.50195 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.50195 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.16797 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.50195 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 395.50195 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.50195 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.17578 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.17578 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.8418 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.51562 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.51562 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.18945 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.19727 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.87109 -234.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 2.66602 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 5.33203 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33594 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 29.34375 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.67773 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.35156 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 43.34766 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.02148 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.69531 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.36914 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.04297 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.71094 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 83.38477 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.05859 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.38867 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.38867 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.0625 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.73633 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.41016 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.08398 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.75 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.75781 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.43164 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.10547 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.10547 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.43945 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.43555 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.10938 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.77734 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.45117 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.125 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 203.45508 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.12109 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.79492 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.79492 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 225.46875 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.14258 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.47656 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.15039 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.48438 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.1582 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.82422 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.82031 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.49414 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.16797 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.8418 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.51562 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.18945 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.18945 -249.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 11.33203 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.00586 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.00586 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.33984 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.01367 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.6875 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.02148 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.69531 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.36914 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.03711 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.37109 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.04492 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.04492 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.71094 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.04492 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.04492 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.04492 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.71875 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.71875 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.38477 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.05859 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.05859 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.73242 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.74023 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.41406 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.42188 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.08789 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.75391 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.08789 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.76172 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.75781 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.76562 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.09961 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.77344 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.76953 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.44336 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.11719 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.79102 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.46484 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.13281 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.80664 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.48047 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.81055 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.81055 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.48438 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.1582 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.83203 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.50586 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.17188 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.17969 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.85352 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.52734 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.52734 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.86133 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.85742 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.53125 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.19922 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.87305 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.54688 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.87695 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.54297 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.2168 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.2168 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.89062 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.56445 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.89844 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.57227 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.90625 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.58008 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.24609 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.24219 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.91602 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.58984 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.26367 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.9375 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 469.61133 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 475.61133 -279.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.66602 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 27.33984 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.33984 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.00586 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.01367 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.67969 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.35352 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.35352 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.6875 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.69531 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.36914 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.36523 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.03906 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.37305 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.04102 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.71484 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.38867 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.72266 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.72266 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.39648 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.07031 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.07031 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.74414 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.41016 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.07617 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.74219 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.07617 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.75 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 187.42383 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.09766 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.77148 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.44531 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.11328 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.7793 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.45312 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.12695 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.80078 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.13477 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.80859 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 265.47656 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.15039 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.82422 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.49023 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.49805 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.83203 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.50586 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.17188 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.83789 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.51172 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.51172 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.17969 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.85352 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 339.52148 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.19531 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.86914 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.86523 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.19922 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.20703 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.88086 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.55469 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.22852 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.90234 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.57617 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.24414 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.58594 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.25977 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.25977 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.59375 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.25977 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.93359 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.60742 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.27344 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.94727 -294.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.68164 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.68164 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.35547 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.68555 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.35938 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.0332 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.36719 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.04102 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.70703 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.70703 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.70703 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.04102 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.71484 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.38867 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.38867 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.05469 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.72852 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.40234 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.73633 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 153.41016 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.08398 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.75781 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.43164 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.42773 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.10156 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.09766 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.76367 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.43164 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.10547 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.7793 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213.44531 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.7793 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.45312 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.12109 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.79492 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.46094 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.13477 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.13086 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.79883 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.13281 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.80664 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.14062 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.81445 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 295.48828 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.16211 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.49219 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.49219 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.16602 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.83984 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.51367 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.17969 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.17578 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.84961 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.52344 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.85742 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.53125 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.86133 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.53516 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.20898 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.875 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.88281 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.2168 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.21289 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.87891 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 427.55273 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.22656 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.89258 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.55859 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.22461 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.23242 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.90625 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 461.57227 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.24609 -309.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67969 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.35352 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02734 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.36133 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.03516 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.03516 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.70898 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.38281 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.39062 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.39062 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.06445 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.73828 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.41211 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.08594 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.75977 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.42773 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.42383 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.09766 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.77148 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.77148 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 153.44531 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.11914 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.79297 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.12695 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.80078 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.13477 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.80859 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.80469 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.80469 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.80469 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.47852 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.15234 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.81836 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.49219 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.82617 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.49414 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.49805 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.49414 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.16797 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.8418 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.8418 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.51562 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.18945 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.85742 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.53125 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.20508 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.87891 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.20898 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.88281 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 345.55664 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.23047 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.22656 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.89453 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.56836 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.24219 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.91602 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.91602 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.25 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.92383 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.25781 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.93164 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.93945 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.93945 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.61328 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.60938 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 453.60938 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.2832 -324.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.02148 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.6875 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 29.36133 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.03516 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.03516 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.70312 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.03711 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.71094 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.38477 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.05859 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.72461 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.39844 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.06641 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.06641 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.73242 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.06641 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.74023 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.74805 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.42188 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.0957 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.76953 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.44336 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.11719 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.78516 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.45117 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.44727 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.12109 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.45508 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.12891 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.80273 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.13672 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.81055 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.47656 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.15039 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.1582 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.16602 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.83203 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 253.50586 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.51367 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.51367 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.17969 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.17969 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.85352 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.84961 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.8457 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.85352 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.52734 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.19336 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.85938 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.5332 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.20703 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.88086 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.54883 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.22266 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.89648 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.9043 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 371.57812 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.24609 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.91992 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.59375 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.25977 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.93359 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.60156 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.60547 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.2793 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.28711 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.95312 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.96094 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.63477 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 457.63477 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.30273 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 470.30273 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 476.97656 -339.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.34766 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.34766 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.6875 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 47.36133 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.35742 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.02344 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.02344 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.69727 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.37109 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 83.37891 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.05273 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.72656 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.39258 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.39258 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.05859 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.73242 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.40625 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.74023 -354.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.66211 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33594 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.66992 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.67773 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.67383 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.67383 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.00781 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.68164 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.67773 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 75.35156 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.01758 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.01758 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.68555 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.01953 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.69336 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.02734 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.70117 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.375 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.04883 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.37891 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.05273 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.7207 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.38672 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.05273 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.72656 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.40039 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 167.39648 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.4043 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.07031 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.74414 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.74023 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.41406 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.41016 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.07812 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.41211 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.41992 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.75391 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.42773 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.42383 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.09766 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.76367 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.09766 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.76367 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.4375 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 273.43359 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.10742 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.10352 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.77148 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.44531 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.11133 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.44531 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.44141 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.10742 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.10742 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.77344 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.44727 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.78125 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.45508 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.12305 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.45703 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.12305 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.79688 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.79688 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.46289 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.13672 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.81055 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 395.48438 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.15234 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.82617 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 415.5 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.17383 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.8418 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.8418 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 441.51562 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.18945 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.18945 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.86328 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 463.5293 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 466.19531 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 468.86133 -384.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 25.34766 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02148 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.6875 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.36133 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.35742 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.36328 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\010) +[8.016 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36719 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.04102 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.71484 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.38867 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.0625 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.07031 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.74414 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.41797 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.08398 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.08398 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.75 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.42383 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.09766 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.42773 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.10156 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.09766 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.77148 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 171.43945 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.11328 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.78711 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.46094 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.12891 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.80273 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.47656 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.14258 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.47266 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.14648 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.14258 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.81641 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.81641 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 253.48242 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.15625 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.16406 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.83789 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.50586 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.83984 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.83594 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.50195 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.17578 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.84961 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 309.51562 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.18164 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.84766 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.85547 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.5293 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.20312 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.87695 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.55078 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.55859 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.22461 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.89844 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.57227 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.24609 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.24219 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.57617 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.24219 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.24219 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.91016 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.91406 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 421.58789 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.25391 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.91992 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.59375 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.26758 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.60156 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.27539 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.27539 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.94922 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 469.62305 -399.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.02148 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.6875 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.02148 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.69531 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.36914 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.03711 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.0332 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.70703 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.70312 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.37695 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.37695 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.71094 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.70703 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 89.37305 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.37305 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.70703 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.37305 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.04688 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.7207 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.72852 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.72852 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.40234 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.07617 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.75 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.75 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.08398 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.75781 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.0918 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.76562 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.43359 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.10742 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.78125 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.11523 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.78906 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.12305 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.79688 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 235.46484 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.46094 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.13477 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.80078 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.47461 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.47461 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.14844 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.82227 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 287.49609 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 297.50391 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.83789 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.51172 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 317.50781 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.18164 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.51562 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.18945 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.52344 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.85742 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 359.53125 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.52734 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.20117 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.86719 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.20117 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.875 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 395.54883 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.22266 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 408.22266 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.55664 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.23047 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.23047 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.89844 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.23242 -414.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.67383 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 21.33984 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.01367 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 34.6875 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 41.36133 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.0293 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.69531 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.36914 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 63.36914 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.04297 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.37695 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.05078 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.38477 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.05859 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.72461 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.72461 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.72461 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.39844 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.07227 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.74609 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.74609 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.08008 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.75391 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.08789 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.76172 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.43555 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.43555 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.76953 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.44336 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.77344 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.77344 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.44727 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.45508 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.12891 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.46289 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.13672 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.81055 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.48438 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.48047 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.14844 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.81445 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.48828 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.1543 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.82031 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.49414 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.82422 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 317.49023 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.49805 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.17188 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.83789 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 343.51172 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.18555 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.85156 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.85156 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.85156 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.51758 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.84766 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.51367 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.1875 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.1875 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.52148 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.19531 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.19531 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.86328 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 427.5293 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.20312 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.86914 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.53516 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.54297 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.20898 -429.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 10.00781 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.01367 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.34766 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02148 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.6875 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.6875 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.35352 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.02148 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.6875 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.36133 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.03516 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 87.36914 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.36914 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.03516 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.70312 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 109.37695 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.37305 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.04688 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.71484 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 135.38086 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.04688 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.7207 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 151.39453 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.39062 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.39844 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.06445 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.73828 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.41211 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.08008 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.08008 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.74609 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.08008 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.75391 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.76172 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.76172 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.43555 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.10938 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.10938 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.7832 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.45703 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.13086 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.80469 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.47266 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.13867 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.8125 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.8125 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.14648 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.82031 -444.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 18.00586 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.67188 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.67969 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.67969 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 43.35352 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 53.34961 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.02344 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.69727 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.02734 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.36133 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.03516 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.03125 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.36523 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.03906 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.36914 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.04297 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.71094 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 124.71094 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 131.38477 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.71484 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.04883 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.04492 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.71094 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 161.38477 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.05859 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.72461 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.39062 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.05664 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.06445 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.73828 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.41211 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.08594 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.08594 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.41992 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.09375 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.09375 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.76172 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.75781 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 251.43164 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.10547 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.10547 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.7793 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 277.45312 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.12695 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.46094 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.13477 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 306.80859 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 313.48242 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.48242 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.81641 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 329.49023 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.82422 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.82422 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.49805 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.17188 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.83789 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.51172 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.51953 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 383.51953 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.18555 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.85352 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.52734 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.52344 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.19727 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.86523 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.86133 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.53516 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.20898 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.20508 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.87109 -474.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.6875 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 29.36133 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02734 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.69531 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.36914 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.37695 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.04297 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.7168 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.7168 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.38281 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.05664 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.72266 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.73047 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.4043 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.07812 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 108.74414 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.41016 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.41797 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.41797 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.0918 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 138.08789 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.75391 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 147.42773 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 153.42773 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.0957 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.09961 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.77344 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.44727 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 187.44727 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.12109 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.78711 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.45312 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.12695 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.46094 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.13477 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.80078 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.13477 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.13086 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.79688 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.79688 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.46289 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.13672 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.4707 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.14453 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.81836 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 275.48438 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.15039 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.82422 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.49805 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.83203 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.50586 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.50586 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.17969 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.85352 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.86133 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 337.53516 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.53125 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 347.53125 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.53125 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 359.53125 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.20508 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.20508 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.87891 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 385.55273 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.55273 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.88672 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 401.56055 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.89453 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.5625 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 419.34961 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.01562 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.01562 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.68945 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.68555 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.35938 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.69336 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 467.36719 -489.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.02148 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.69531 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.70312 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 43.37695 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.05078 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.72461 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.7207 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.38867 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 80.0625 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.73047 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 89.39648 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 96.07031 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 102.74414 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.74023 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 113.41406 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.08789 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.75586 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 133.42969 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.10352 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.76953 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.44336 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.77734 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.44531 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.11133 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.78516 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.11523 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.11523 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.78906 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.78516 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 217.45898 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.13281 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.46289 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.79688 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 237.46289 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 244.13672 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.13672 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.80273 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.47656 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.15039 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.82422 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.49219 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.49219 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.16602 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.16211 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.83008 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.49609 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 321.50391 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 328.17773 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.85156 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 337.51758 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.19141 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.85742 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.85742 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.85742 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.52344 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.19727 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.20508 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.87891 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 391.55273 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.21875 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396.88477 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.89258 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.88867 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.5625 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.22852 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.90234 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.90234 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 445.57617 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 452.25 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.92383 -504.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.00781 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.00391 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.67773 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.35156 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.34766 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.01367 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.34766 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.02148 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.69531 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.36914 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.03711 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.0332 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.70703 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 111.38086 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 115.37695 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.04297 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.37695 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.05078 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.05859 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.05469 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.05469 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.72852 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.39453 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.72852 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.72461 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.39062 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.39062 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.06445 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.39844 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.73242 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.72852 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.39453 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.06836 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.74219 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 227.4082 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.07422 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.74023 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 239.41406 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.08203 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.74805 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.42188 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.0957 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.76953 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.10352 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 290.77734 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.77344 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.44727 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.45508 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.12891 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.80273 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.47656 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.15039 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 344.82422 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.49219 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 357.49219 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 364.16602 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.16602 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.5 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.16602 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.83984 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.51367 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.17969 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.85352 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.18359 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.85742 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 425.52539 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.19922 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.19531 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.86914 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.86914 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 451.53516 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 458.20898 -519.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.34766 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.01562 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.68945 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.68555 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 43.35938 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.69336 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.35938 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.0332 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 69.36328 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.03711 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 86.04492 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.71875 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.39258 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.06641 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.74023 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.41406 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.08203 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.07812 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.75195 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.42578 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 153.42188 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.08789 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 165.42188 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\033) +[3.756 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.75586 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 175.42969 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.10352 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.10352 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.76953 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 197.44336 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.11719 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 213.45117 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.125 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.79883 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.47266 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.14648 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.1543 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.82031 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.82812 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.50195 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.17578 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.84961 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.18359 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.85742 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.53125 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 312.20508 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.20117 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.875 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.20898 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 330.20508 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.21289 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.88672 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.55273 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.22656 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.22266 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.89648 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.57031 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.9043 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 389.57812 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 399.57422 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.24219 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 414.9082 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 421.58203 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.25586 -534.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.01367 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 28.6875 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.02148 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.69531 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.0293 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.03711 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.03711 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.71094 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.37695 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.04297 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.70898 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.70898 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.375 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.70898 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 91.38281 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.05664 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.72266 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.73047 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.4043 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.07031 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.74414 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.75195 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 139.41797 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.42578 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.09961 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.77344 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 166.76953 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.10352 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 173.4375 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.10352 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.4375 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.11133 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.44531 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.11328 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\024) +[7.704 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 204.7793 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.44727 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.11328 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 220.78711 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.78711 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.12109 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.79492 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.12891 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.79492 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 255.46875 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 262.14258 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 268.81055 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.81055 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 281.48438 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.1582 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.83203 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 301.50586 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.51367 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 318.1875 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.86133 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.52734 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.86133 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.86133 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.53516 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.53516 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.86914 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.53516 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 368.20898 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 374.88281 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.54883 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.22266 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.55273 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 403.55273 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.22656 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.90039 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.90039 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 429.57422 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.24023 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.90625 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.57227 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.57227 -549.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 2.66602 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.6875 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.68359 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.01758 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.68359 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.01758 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.69141 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.36523 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.37305 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.03906 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 70.70508 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 77.37891 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.05273 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.04883 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.72266 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.39062 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 109.39453 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 113.39062 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.06445 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.73047 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.73828 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 135.4043 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.07812 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.07812 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.74414 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.41797 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.08398 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.0918 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.75781 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 179.43164 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.43945 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.10547 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.11328 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.78711 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 215.46094 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.13477 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.80859 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.81641 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.49023 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.16406 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.83008 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.49609 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.16992 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.84375 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.17773 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.85156 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.85156 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 293.52539 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.19922 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.20703 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.20312 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.87695 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 327.55078 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 334.22461 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.22461 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 346.89844 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.89844 -564.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33984 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33594 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.00977 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.68359 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.34961 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.68359 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.35742 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.6875 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.6875 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36133 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.03516 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.70898 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.375 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.04883 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 97.38281 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.05664 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.72266 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.05664 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.05273 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.71875 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.71875 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 125.38477 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 132.05859 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.39258 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.06641 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 154.74023 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.40625 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 167.40234 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.07031 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.73633 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.74414 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 189.41016 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 196.08398 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.41797 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.0918 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.08789 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.76172 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.43555 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.76562 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 243.43945 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.11328 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.78711 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.12109 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.79492 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.46875 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.14258 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.81641 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.8125 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.48633 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.48242 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.14844 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.81641 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.48242 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.15625 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.82422 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 341.49023 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.16406 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 350.83008 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 353.49609 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.16992 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.5 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.17383 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.8418 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 393.51562 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.18945 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.18945 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 409.52344 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 416.19727 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.52734 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.52344 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.19727 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 446.87109 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.86719 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 453.5332 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 459.5332 -594.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.00391 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 14.67773 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.68555 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 31.35938 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.02734 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.02344 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.69727 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.69727 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 66.69727 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.70508 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 83.37891 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.04688 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.38086 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.05469 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 104.05078 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.38477 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.05859 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 121.38867 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.38867 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.0625 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.73633 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.40234 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.40234 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.07617 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.74219 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.75 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 172.08398 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 178.75781 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.75391 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 195.42773 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.10156 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.43555 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.10938 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.11719 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.79102 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.45898 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 247.45898 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.13281 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 260.80664 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.47266 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 270.14648 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.82031 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 283.48828 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.49219 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.16602 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.17383 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.83984 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 317.51367 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 323.51367 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.17969 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.85352 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 335.51953 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.19336 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.86133 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.85742 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.53125 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.20508 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 376.20117 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.86719 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.20117 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.875 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.88281 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.88281 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.55664 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 424.23047 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.23047 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.9043 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.57031 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 442.23633 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.90234 -609.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 12.67383 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.34766 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.02148 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.69531 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.36914 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.70312 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.36914 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 51.36914 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.03711 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.70312 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.37695 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 73.37695 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.71094 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 83.38477 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.71875 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.39258 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.06641 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.74023 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.07422 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.07422 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 134.74805 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 141.42188 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.08789 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.08789 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.76172 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 159.42773 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.43555 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.10938 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.10938 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.44336 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.11133 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 198.78516 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.45312 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.12695 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 218.80078 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.79688 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.13086 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.13867 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 238.80469 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.4707 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.14453 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.81836 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.48438 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 267.49219 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 274.16602 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.16211 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.83594 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.16992 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.84375 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.51758 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.18359 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.51758 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 329.51367 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.1875 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.86133 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.53516 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 356.20898 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 362.87695 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\025) +[7.908 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.66406 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 373.33008 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 379.33008 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.00391 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 396 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 402.67383 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 412.00781 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 422.00391 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.67773 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.01172 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 435.3457 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 438.01172 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.01172 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.67969 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 453.3457 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.01953 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 466.01953 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 472.69336 -624.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 8.66602 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 15.33398 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 22.00781 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.00391 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.67773 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 45.3457 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 52.01953 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 58.69336 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36719 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.0332 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 74.70703 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 81.38086 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.71484 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.38086 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.05469 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 103.38867 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.0625 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.05859 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.73242 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.40625 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.40234 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 144.07031 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.73633 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 153.41016 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 157.40625 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 164.08008 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.41016 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 184.08398 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 190.75781 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.42383 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.75391 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.75391 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 219.42773 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.42383 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 226.08984 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 232.76367 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.09766 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.43164 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.10547 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.10156 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.43555 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.10938 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 269.44336 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.11133 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.78516 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.79297 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.79297 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 305.4668 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 315.46289 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 325.45898 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 332.13281 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.80664 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.81445 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 351.48047 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 354.14648 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 360.82031 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 367.49414 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.16016 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 380.16797 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 386.8418 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 390.83789 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 397.51172 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 406.8457 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\035) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.51953 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.19336 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.86719 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 433.54102 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.53711 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.21094 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 448.20703 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.87305 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 457.54102 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.21484 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 470.88867 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 474.22266 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 480.89648 -639.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\015) +[2.256 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 3.33398 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 10.00781 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.3418 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.01562 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.68945 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.36328 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.69336 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 50.68945 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 57.36328 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 60.69727 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 67.37109 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 76.70508 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 79.37109 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.03711 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 88.71094 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 95.38477 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 99.38086 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.05469 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.72266 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 119.39648 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 122.0625 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 128.73633 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 135.41016 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.08398 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 148.75781 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 155.43164 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.76172 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.76172 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 181.43555 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 188.10938 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.7832 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.45703 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.13086 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 211.46484 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.13086 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.46484 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.46484 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.13867 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.8125 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 249.48633 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 256.16016 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.16797 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.8418 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 279.50977 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.18359 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 288.84961 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.51562 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.18945 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 308.18555 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.18555 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.85938 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 324.85547 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 331.5293 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 338.20312 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 345.5332 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.20703 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.88086 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 361.54688 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.88086 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 377.55469 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 384.22852 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.5625 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.23633 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 400.9043 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\017) +[9.084 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.90039 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.57422 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 421.57031 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.24414 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.24414 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.91797 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.5918 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.26562 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.93945 -654.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 17.34375 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 24.01758 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.01758 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 36.68555 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 43.35938 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.02539 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.69141 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.36523 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.03906 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.71289 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 82.04297 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.70898 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.7168 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.39062 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 105.38672 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 112.06055 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 118.06055 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.72656 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 127.40039 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 137.4082 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 143.4082 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.07422 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 149.4082 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.08203 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 162.75586 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 169.42383 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.09766 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.77148 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 185.4375 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 191.4375 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.10352 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.77734 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 207.45117 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 214.78125 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 221.45508 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 228.12305 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.78906 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 233.45508 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 240.12891 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.80273 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 250.79883 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 257.47266 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.14062 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\023) +[7.38 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.14453 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.81836 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 284.81836 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 291.49219 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 298.16602 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 304.83984 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 311.51367 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 314.17969 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 320.17969 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.17969 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.1875 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.86133 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 349.53516 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 352.86914 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 359.54297 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 366.2168 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 369.55078 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.2168 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 378.88477 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\011) +[8.196 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 387.55078 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 394.22461 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 407.55469 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413.55469 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 420.22852 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.22852 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.89453 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 431.56055 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 440.89453 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 447.56836 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 454.24219 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 457.57617 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 464.25 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 470.92383 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 477.59766 -669.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 6.67383 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 13.34766 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.02148 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.69531 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 30.0293 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.69531 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 39.36914 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 46.04297 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 55.37695 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 62.05078 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 68.71875 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.71484 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 85.38867 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 92.0625 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 98.73633 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 101.40234 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 110.73633 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 117.41016 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.07617 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 129.41016 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.08398 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.75781 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.75391 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 150.08789 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.76172 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 160.75781 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.42383 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.09766 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 176.77148 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 183.43945 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.43555 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 200.10938 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 206.7832 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 210.11719 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.79102 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.79102 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 229.45898 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.13281 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 242.80664 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 248.80664 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 254.80664 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 261.48047 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 264.81445 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 271.48828 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.81836 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 282.81445 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.48047 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 292.1543 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 294.82031 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 300.82031 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 307.49414 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.16016 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 316.83398 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 326.16797 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 336.16406 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.83789 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.83789 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.50586 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\021) +[7.488 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 363.50977 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 370.18359 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 372.84961 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.51562 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.18945 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.86328 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 392.19727 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.87109 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.87109 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 411.54492 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 418.21875 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 428.22656 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\027) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 434.90039 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 437.56641 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 444.24023 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.91406 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 457.58789 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 460.25391 -684.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.99609 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.66992 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 19.33594 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.00977 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 32.00977 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 35.34375 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 38.00977 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 48.01758 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 54.69141 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 61.36523 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 65.36133 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 72.03516 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 78.03516 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.70312 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 94.71094 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.71094 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 107.38477 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\034) +[5.868 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 114.05859 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.72461 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 120.05859 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.39258 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 126.05859 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 135.39258 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 142.06641 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.0625 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 152.0625 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 158.0625 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 168.05859 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.73242 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 177.39844 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.06445 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 182.73047 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 192.06445 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 194.73047 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 201.4043 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 208.07227 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\012) +[8.028 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 216.73828 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 223.41211 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 230.08594 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 236.75977 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 246.09375 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.76758 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 259.44141 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 263.4375 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 266.77148 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 276.7793 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 280.11328 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 286.78711 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.7832 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 303.45703 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 310.13086 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 319.46484 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 322.79883 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 329.47266 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 333.46875 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 340.14258 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 342.80859 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 348.80859 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 355.47656 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 358.81055 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 365.48438 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 375.48047 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 382.1543 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 388.82812 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 398.16211 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 404.16211 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 410.83594 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 417.50977 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 423.50977 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 430.18359 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(%) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 436.85742 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 443.53125 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 450.20508 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 456.87305 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\037) +[1.836 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 459.53906 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 466.21289 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 472.21289 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 475.54688 -699.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +( ) +[1.824 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 2.66602 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 9.33984 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 16.01367 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 20.00977 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 26.68359 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 33.35742 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 40.02539 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 42.69141 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 49.36523 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 56.0332 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\020) +[7.68 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 64.69922 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 71.37305 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 84.70312 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 90.70312 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 93.36914 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 100.03711 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 106.71094 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 116.70703 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 123.38086 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 130.04883 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 136.72266 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 140.71875 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 146.71875 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 156.72656 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 163.40039 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 170.07422 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 174.07031 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 180.74414 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 186.74414 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\000) +[2.268 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 193.41211 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(*) +[5.856 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 199.41211 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 202.07812 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 205.41211 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 212.08594 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 222.09375 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\036) +[1.848 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 224.75977 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 231.43359 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 234.76758 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 241.44141 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 245.4375 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 252.11133 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 258.78516 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 272.11523 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +($) +[6.192 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 278.78906 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 285.46289 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(&) +[4.164 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 289.45898 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 296.13281 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(') +[5.532 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 302.13281 -714.74219] Tm +0 0 Td +/F82_0 12 Tf +(\002) +[2.292 +0] Tj +Q +Q +q +667.28 967.28 490 262.5 re +W* +q +q +[1 0 0 1 0 0] cm +0 0 595.28 841.89 re +W +Q +Q +Q +q +1 w +[] 0 d +0 J +0 j +[1 0 0 1 36 53.67] cm +q +[1 0 0 1 0 0] Tm +0 0 Td +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 0 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\006) +[6.096 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 413 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\031) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 419.67383 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(#) +[6.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 426.34766 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\030) +[5.892 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 432.34766 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\)) +[5.808 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 439.02148 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(!) +[9.228 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 449.01758 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\032) +[6.18 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 455.69141 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(") +[5.844 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 462.36523 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\() +[3.252 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 465.69922 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\001) +[3.624 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 469.69531 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\026) +[6.168 +0] Tj +/DeviceRGB {} CS +[0.0863 0.0784 0.0745] SC +/DeviceRGB {} cs +[0.0863 0.0784 0.0745] sc +0 Tr +[1 0 0 1 476.36914 -9.625] Tm +0 0 Td +/F82_0 12 Tf +(\006) +[6.096 +0] Tj +Q +Q +Q +Q +showpage +%%PageTrailer +pdfEndPage +%%Trailer +end +%%DocumentSuppliedResources: +%%+ font T3_35_0 +%%+ font T3_82_0 +%%EOF diff --git a/examples/document-a4.sla b/examples/document-a4.sla new file mode 100644 index 0000000..95d518f --- /dev/null +++ b/examples/document-a4.sla @@ -0,0 +1,277 @@ + + + + + + + + + + + + + + + + + + + + + + + +

    +1 dict dup /PageSize [612 792] put setpagedevice
    +
    + +

    can be rewritten as:

    + +
    +<< /PageSize [612 792] >> setpagedevice
    +
    + + + + +

    Supported Page Device Attributes

    + +

    Table 2 shows the supported page device attributes along with PostScript code examples.

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table 2: Supported Page Device Attributes
    Name(s)TypeDescriptionExample(s)
    AdvanceDistanceIntegerSpecifies the number of points to advance roll media after printing.<</AdvanceDistance 18>>setpagedevice
    AdvanceMediaIntegerSpecifies when to advance the media: 0 = never, 1 = after the file, 2 = after the job, 3 = after the set, and 4 = after the page.<</AdvanceMedia 4>>setpagedevice
    CollateBooleanSpecifies whether collated copies are required.<</Collate true>>setpagedevice
    CutMediaIntegerSpecifies when to cut the media: 0 = never, 1 = after the file, 2 = after the job, 3 = after the set, and 4 = after the page.<</CutMedia 1>>setpagedevice
    DuplexBooleanSpecifies whether 2-sided printing is required.<</Duplex true>>setpagedevice
    HWResolutionInteger ArraySpecifies the resolution of the page image in pixels per inch.<</HWResolution[1200 1200]>>setpagedevice
    InsertSheetBooleanSpecifies whether to insert a blank sheet before the job.<</InsertSheet true>>setpagedevice
    JogIntegerSpecifies when to shift the media in the output bin: 0 = never, 1 = after the file, 2 = after the job, 3 = after the set, and 4 = after the page.<</Jog 2>>setpagedevice
    LeadingEdgeIntegerSpecifies the leading edge of the media: 0 = top, 1 = right, 2 = bottom, 3 = left.<</LeadingEdge 0>>setpagedevice
    ManualFeedBooleanSpecifies whether media should be drawn from the manual feed tray. Note: The MediaPosition attribute is preferred over the ManualFeed attribute.<</ManualFeed true>>setpagedevice
    MediaClassStringSpecifies a named media.<</MediaClass (Invoices)>>setpagedevice
    MediaColorStringSpecifies the color of the media.<</MediaColor >>setpagedevice
    MediaPositionIntegerSpecifies the tray or source of the media.<</MediaPosition 12>>setpagedevice
    MediaTypeStringSpecifies the general media type.<</MediaType (Glossy)>>setpagedevice
    MediaWeightIntegerSpecifies the media weight in grams per meter2.<</MediaWeight 100>>setpagedevice
    MirrorPrintBooleanSpecifies whether to flip the output image horizontally.<</MirrorPrint true>>setpagedevice
    NegativePrintBooleanSpecifies whether to invert the output image.<</NegativePrint true>>setpagedevice
    NumCopiesIntegerSpecifies the number of copies to produce of each page.<</NumCopies 100>>setpagedevice
    OrientationIntegerSpecifies the orientation of the output: 0 = portrait, 1 = landscape rotated counter-clockwise, 2 = upside-down, 3 = landscape rotated clockwise.<</Orientation 3>>setpagedevice
    OutputFaceUpBooleanSpecifies whether to place the media face-up in the output bin/tray.<</OutputFaceUp true>>setpagedevice
    OutputTypeStringSpecifies the output type name.<</OutputType (Photo)>>setpagedevice
    PageSizeInteger/Real ArraySpecifies the width and length/height of the page in points.<</PageSize[595 842]>>setpagedevice
    SeparationsBooleanSpecifies whether to produce color separations.<</Separations true>>setpagedevice
    TraySwitchBooleanSpecifies whether to switch trays automatically.<</TraySwitch true>>setpagedevice
    TumbleBooleanSpecifies whether the back sides of pages are rotated 180 degrees.<</Tumble true>>setpagedevice
    cupsBorderlessScalingFactorRealSpecifies the amount to scale the page image dimensions.<</cupsBorderlessScalingFactor 1.01>>setpagedevice
    cupsColorOrderIntegerSpecifies the order of colors: 0 = chunked, 1 = banded, 2 = planar.<</cupsColorOrder 0>>setpagedevice
    cupsColorSpaceIntegerSpecifies the page image colorspace: 0 = W, 1 = RGB, 2 = RGBA, 3 = K, 4 = CMY, 5 = YMC, 6 = CMYK, 7 = YMCK, 8 = KCMY, 9 = KCMYcm, 10 = GMCK, 11 = GMCS, 12 = White, 13 = Gold, 14 = Silver, 15 = CIE XYZ, 16 = CIE Lab, 17 = RGBW, 32 to 46 = CIE Lab (1 to 15 inks)<</cupsColorSpace 1 >>setpagedevice
    cupsCompressionIntegerSpecifies a driver compression type/mode.<</cupsCompression 2>>setpagedevice
    cupsInteger0
    + ...
    + cupsInteger15
    IntegerSpecifies driver integer values.<</cupsInteger11 1234>>setpagedevice
    cupsMarkerTypeStringSpecifies the type of ink/toner to use.<</cupsMarkerType (Black+Color)>>setpagedevice
    cupsMediaTypeIntegerSpecifies a numeric media type.<</cupsMediaType 999>>setpagedevice
    cupsPageSizeNameStringSpecifies the name of the page size.<</cupsPageSizeName (A4.Full)>>setpagedevice
    cupsPreferredBitsPerColorIntegerSpecifies the preferred number of bits per color, typically 8 or 16.<</cupsPreferredBitsPerColor 16>>setpagedevice
    cupsReal0
    + ...
    + cupsReal15
    RealSpecifies driver real number values.<</cupsReal15 1.234>>setpagedevice
    cupsRenderingIntentStringSpecifies the color rendering intent.<</cupsRenderingIntent (AbsoluteColorimetric)>>setpagedevice
    cupsRowCountIntegerSpecifies the number of rows of raster data to print on each line for some drivers.<</cupsRowCount 24>>setpagedevice
    cupsRowFeedIntegerSpecifies the number of rows to feed between passes for some drivers.<</cupsRowFeed 17>>setpagedevice
    cupsRowStepIntegerSpecifies the number of lines between columns/rows on the print head for some drivers.<</cupsRowStep 2>>setpagedevice
    cupsString0
    + ...
    + cupsString15
    StringSpecifies driver string values.<</cupsString0(String Value)>>setpagedevice
    + + +

    Media Keywords

    + +

    The CUPS media keywords allow drivers to specify alternate custom page +size limits based on up to two options.

    + + +

    CUPS 1.4/macOS 10.6cupsMediaQualifier2

    + +

    *cupsMediaQualifier2: MainKeyword

    + +

    This keyword specifies the second option to use for overriding the +custom page size limits.

    + +

    Example:

    + +
    +*% Specify alternate custom page size limits based on InputSlot and Quality
    +*cupsMediaQualifier2: InputSlot
    +*cupsMediaQualifier3: Quality
    +*cupsMaxSize .Manual.: "1000 1000"
    +*cupsMinSize .Manual.: "100 100"
    +*cupsMinSize .Manual.Photo: "200 200"
    +*cupsMinSize ..Photo: "300 300"
    +
    + + +

    CUPS 1.4/macOS 10.6cupsMediaQualifier3

    + +

    *cupsMediaQualifier3: MainKeyword

    + +

    This keyword specifies the third option to use for overriding the +custom page size limits.

    + +

    Example:

    + +
    +*% Specify alternate custom page size limits based on InputSlot and Quality
    +*cupsMediaQualifier2: InputSlot
    +*cupsMediaQualifier3: Quality
    +*cupsMaxSize .Manual.: "1000 1000"
    +*cupsMinSize .Manual.: "100 100"
    +*cupsMinSize .Manual.Photo: "200 200"
    +*cupsMinSize ..Photo: "300 300"
    +
    + + +

    CUPS 1.4/macOS 10.6cupsMinSize

    + +

    *cupsMinSize .Qualifier2.Qualifier3: "width length"
    +*cupsMinSize .Qualifier2.: "width length"
    +*cupsMinSize ..Qualifier3: "width length"

    + +

    This keyword specifies alternate minimum custom page sizes in points. +The cupsMediaQualifier2 and +cupsMediaQualifier3 keywords +are used to identify options to use for matching.

    + +

    Example:

    + +
    +*% Specify alternate custom page size limits based on InputSlot and Quality
    +*cupsMediaQualifier2: InputSlot
    +*cupsMediaQualifier3: Quality
    +*cupsMaxSize .Manual.: "1000 1000"
    +*cupsMinSize .Manual.: "100 100"
    +*cupsMinSize .Manual.Photo: "200 200"
    +*cupsMinSize ..Photo: "300 300"
    +
    + + +

    CUPS 1.4/macOS 10.6cupsMaxSize

    + +

    *cupsMaxSize .Qualifier2.Qualifier3: "width length"
    +*cupsMaxSize .Qualifier2.: "width length"
    +*cupsMaxSize ..Qualifier3: "width length"

    + +

    This keyword specifies alternate maximum custom page sizes in points. +The cupsMediaQualifier2 and +cupsMediaQualifier3 keywords +are used to identify options to use for matching.

    + +

    Example:

    + +
    +*% Specify alternate custom page size limits based on InputSlot and Quality
    +*cupsMediaQualifier2: InputSlot
    +*cupsMediaQualifier3: Quality
    +*cupsMaxSize .Manual.: "1000 1000"
    +*cupsMinSize .Manual.: "100 100"
    +*cupsMinSize .Manual.Photo: "200 200"
    +*cupsMinSize ..Photo: "300 300"
    +
    + + +

    CUPS 1.4/macOS 10.6cupsPageSizeCategory

    + +

    *cupsPageSizeCategory name/text: "name name2 ... nameN"

    + +

    This keyword lists related paper size names that should be grouped together in the Print or Page Setup dialogs. The "name" portion of the keyword specifies the root/default size for the grouping. On macOS the grouped paper sizes are shown in a submenu of the main paper size. When omitted, sizes with the same dimensions are automatically grouped together, for example "Letter" and "Letter.Borderless".

    + +

    Example:

    + +
    +*% Specify grouping of borderless/non-borderless sizes
    +*cupsPageSizeCategory Letter/US Letter: "Letter Letter.Borderless"
    +*cupsPageSizeCategory A4/A4: "A4 A4.Borderless"
    +
    + + +

    General Attributes

    + +

    CUPS 1.3/macOS 10.5cupsBackSide

    + +

    *cupsBackSide: keyword

    + +

    This keyword requests special handling of the back side of pages +when doing duplexed (2-sided) output. Table 1 +shows the supported keyword values for this keyword and their effect +on the raster data sent to your driver. For example, when cupsBackSide +is Rotated and Tumble is false, your driver +will receive print data starting at the bottom right corner of the page, with +each line going right-to-left instead of left-to-right. The default value is +Normal.

    + +
    Note: + +

    cupsBackSide replaces the older cupsFlipDuplex +keyword - if cupsBackSide is specified, cupsFlipDuplex +will be ignored.

    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table 1: Back Side Raster Coordinate System
    cupsBackSideTumble ValueImage Presentation
    NormalfalseLeft-to-right, top-to-bottom
    NormaltrueLeft-to-right, top-to-bottom
    ManualTumblefalseLeft-to-right, top-to-bottom
    ManualTumbletrueRight-to-left, bottom-to-top
    RotatedfalseRight-to-left, bottom-to-top
    RotatedtrueRight-to-left, top-to-bottom
    Flipped *falseLeft-to-right, bottom-to-top
    Flipped *trueRight-to-left, top-to-bottom
    +
    + +

    * - Not supported in macOS 10.5.x and earlier

    + +
    + + +
    Figure 1: Back side images
    Back side images
    + +

    Examples:

    + +
    +*% Flip the page image for the back side of duplexed output
    +*cupsBackSide: Flipped
    +
    +*% Rotate the page image for the back side of duplexed output
    +*cupsBackSide: Rotated
    +
    + +

    Also see the related APDuplexRequiresFlippedMargin +keyword.

    + + +

    CUPS 1.4/macOS 10.6cupsCommands

    + +

    *cupsCommands: "name name2 ... nameN"

    + +

    This string keyword specifies the commands that are supported by the +CUPS command file filter for this device. The command names are separated +by whitespace.

    + +

    Example:

    + +
    +*% Specify the list of commands we support
    +*cupsCommands: "AutoConfigure Clean PrintSelfTestPage ReportLevels com.vendor.foo"
    +
    + + +

    CUPS 1.3/macOS 10.5cupsEvenDuplex

    + +

    *cupsEvenDuplex: boolean

    + +

    This boolean keyword notifies the RIP filters that the +destination printer requires an even number of pages when 2-sided +printing is selected. The default value is false.

    + +

    Example:

    + +
    +*% Always send an even number of pages when duplexing
    +*cupsEvenDuplex: true
    +
    + + +

    cupsFax

    + +

    *cupsFax: boolean

    + +

    This boolean keyword specifies whether the PPD defines a facsimile device. The default is false.

    + +

    Examples:

    + +
    +*cupsFax: true
    +
    + + +

    cupsFilter

    + +

    *cupsFilter: "source/type cost program"

    + +

    This string keyword provides a conversion rule from the +given source type to the printer's native format using the +filter "program". If a printer supports the source type directly, +the special filter program "-" may be specified.

    + +

    Examples:

    + +
    +*% Standard raster printer driver filter
    +*cupsFilter: "application/vnd.cups-raster 100 rastertofoo"
    +
    +*% Plain text filter
    +*cupsFilter: "text/plain 10 texttofoo"
    +
    +*% Pass-through filter for PostScript printers
    +*cupsFilter: "application/vnd.cups-postscript 0 -"
    +
    + + +

    CUPS 1.5cupsFilter2

    + +

    *cupsFilter2: "source/type destination/type cost program"

    + +

    This string keyword provides a conversion rule from the given source type to the printer's native format using the filter "program". If a printer supports the source type directly, the special filter program "-" may be specified. The destination type is automatically created as needed and is passed to the filters and backend as the FINAL_CONTENT_TYPE value.

    + +
    Note: + +

    The presence of a single cupsFilter2 keyword in the PPD file will hide any cupsFilter keywords from the CUPS scheduler. When using cupsFilter2 to provide filters specific for CUPS 1.5 and later, provide a cupsFilter2 line for every filter and a cupsFilter line for each filter that is compatible with older versions of CUPS.

    + +
    + +

    Examples:

    + +
    +*% Standard raster printer driver filter
    +*cupsFilter2: "application/vnd.cups-raster application/vnd.foo 100 rastertofoo"
    +
    +*% Plain text filter
    +*cupsFilter2: "text/plain application/vnd.foo 10 texttofoo"
    +
    +*% Pass-through filter for PostScript printers
    +*cupsFilter2: "application/vnd.cups-postscript application/postscript 0 -"
    +
    + + +

    CUPS 2.3cupsFinishingTemplate

    + +

    *cupsFinishingTemplate name/text: ""

    + +

    This option keyword specifies a finishing template (preset) that applies zero or more finishing processes to a job. Unlike cupsIPPFinishings, only one template can be selected by the user. PPD files also generally apply a constraint between this option and other finishing options like Booklet, FoldType, PunchMedia, and StapleWhen.

    + +

    Examples:

    + +
    +*cupsFinishingTemplate none/None: ""
    +*cupsFinishingTemplate fold/Letter Fold: ""
    +*cupsFinishingTemplate punch/2/3-Hole Punch: ""
    +*cupsFinishingTemplate staple/Corner Staple: ""
    +*cupsFinishingTemplate staple-dual/Double Staple: ""
    +*cupsFinishingTemplate staple-and-fold/Corner Staple and Letter Fold: ""
    +*cupsFinishingTemplate staple-and-punch/Corner Staple and 2/3-Hole Punch: ""
    +
    + + +

    DeprecatedcupsFlipDuplex

    + +

    *cupsFlipDuplex: boolean

    + +

    Due to implementation differences between macOS and Ghostscript, +the cupsFlipDuplex keyword is deprecated. Instead, use +the cupsBackSide keyword to specify +the coordinate system (pixel layout) of the page data on the back side of +duplex pages.

    + +

    The value true maps to a cupsBackSide value +of Rotated on macOS and Flipped with +Ghostscript.

    + +

    The default value is false.

    + +
    Note: + +

    macOS drivers that previously used +cupsFlipDuplex may wish to provide both the old and +new keywords for maximum compatibility, for example:

    + +
    +*cupsBackSide: Rotated
    +*cupsFlipDuplex: true
    +
    + +

    Similarly, drivers written for other operating systems using +Ghostscript can use:

    + +
    +*cupsBackSide: Flipped
    +*cupsFlipDuplex: true
    +
    + + +

    CUPS 1.3/macOS 10.5cupsIPPFinishings

    + +

    *cupsIPPFinishings number/text: "*Option Choice ..."

    + +

    This keyword defines a mapping from IPP finishings +values to PPD options and choices.

    + +

    Examples:

    + +
    +*cupsIPPFinishings 4/staple: "*StapleLocation SinglePortrait"
    +*cupsIPPFinishings 5/punch: "*PunchMedia Yes *PunchLocation LeftSide"
    +*cupsIPPFinishings 20/staple-top-left: "*StapleLocation SinglePortrait"
    +*cupsIPPFinishings 21/staple-bottom-left: "*StapleLocation SingleLandscape"
    +
    + + +

    CUPS 1.3/macOS 10.5cupsIPPReason

    + +

    *cupsIPPReason reason/Reason Text: "optional URIs"

    + +

    This optional keyword maps custom +printer-state-reasons keywords that are generated by +the driver to human readable text. The optional URIs string +contains zero or more URIs separated by a newline. Each URI can +be a CUPS server absolute path to a help file under the +scheduler's DocumentRoot directory, a full HTTP URL +("http://www.domain.com/path/to/help/page.html"), or any other +valid URI which directs the user at additional information +concerning the condition that is being reported.

    + +

    Since the reason text is limited to 80 characters by the PPD specification, longer text strings can be included by URI-encoding the text with the "text" scheme, for example "text:some%20text". Multiple text URIs are combined by the ppdLocalizeIPPReason into a single string that can be displayed to the user.

    + +

    Examples:

    + +
    +*% Map com.vendor-error to text but no page
    +*cupsIPPReason com.vendor-error/A serious error occurred: ""
    +
    +*% Map com.vendor-error to more than 80 characters of text but no page
    +*cupsIPPReason com.vendor-error/A serious error occurred: "text:Now%20is%20the%20time
    +text:for%20all%20good%20men%20to%20come%20to%20the%20aid%20of%20their%20country."
    +
    +*% Map com.vendor-error to text and a local page
    +*cupsIPPReason com.vendor-error/A serious error occurred: "/help/com.vendor/error.html"
    +
    +*% Map com.vendor-error to text and a remote page
    +*cupsIPPReason com.vendor-error/A serious error occurred: "http://www.vendor.com/help"
    +
    +*% Map com.vendor-error to text and a local, Apple help book, and remote page
    +*APHelpBook: "file:///Library/Printers/vendor/Help.bundle"
    +*cupsIPPReason com.vendor-error/A serious error occurred: "/help/com.vendor/error.html
    +help:anchor='com.vendor-error'%20bookID=Vendor%20Help
    +http://www.vendor.com/help"
    +*End
    +
    + + +

    CUPS 1.5cupsIPPSupplies

    + +

    *cupsIPPSupplies: boolean

    + +

    This keyword tells the IPP backend whether it should report the current marker-xxx supply attribute values. The default value is True. + +

    Example:

    + +
    +*% Do not use IPP marker-xxx attributes to report supply levels
    +*cupsIPPSupplies: False
    +
    + + +

    CUPS 1.7/macOS 10.9cupsJobAccountId

    + +

    *cupsJobAccountId: boolean

    + +

    This keyword defines whether the printer accepts the job-account-id IPP attribute.

    + +

    Example:

    + +
    +*% Specify the printer accepts the job-account-id IPP attribute.
    +*cupsJobAccountId: True
    +
    + + +

    CUPS 1.7/macOS 10.9cupsJobAccountingUserId

    + +

    *cupsJobAccountingUserId: boolean

    + +

    This keyword defines whether the printer accepts the job-accounting-user-id IPP attribute.

    + +

    Example:

    + +
    +*% Specify the printer accepts the job-accounting-user-id IPP attribute.
    +*cupsJobAccountingUserId: True
    +
    + + +

    CUPS 1.7/macOS 10.9cupsJobPassword

    + +

    *cupsJobPassword: "format"

    + +

    This keyword defines the format of the "job-password" IPP attribute, if supported by the printer. The following format characters are supported:

    + +
      +
    • 1: US ASCII digits.
    • +
    • A: US ASCII letters.
    • +
    • C: US ASCII letters, numbers, and punctuation.
    • +
    • .: Any US ASCII printable character (0x20 to 0x7e).
    • +
    • N: Any Unicode digit character.
    • +
    • U: Any Unicode letter character.
    • +
    • *: Any Unicode (utf-8) character.
    • +
    + +

    The format characters are repeated to indicate the length of the +password string. For example, "1111" indicated a 4-digit US ASCII PIN code.

    + +

    Example:

    + +
    +*% Specify the printer supports 4-digit PIN codes.
    +*cupsJobPassword: "1111"
    +
    + + +

    CUPS 1.2/macOS 10.5cupsLanguages

    + +

    *cupsLanguages: "locale list"

    + +

    This keyword describes which language localizations are +included in the PPD. The "locale list" string is a space-delimited +list of locale names ("en", "en_US", "fr_CA", etc.)

    + +

    Example:

    + +
    +*% Specify Canadian, UK, and US English, and Canadian and French French
    +*cupsLanguages: "en_CA en_UK en_US fr_CA fr_FR"
    +
    + + +

    CUPS 1.7/macOS 10.9cupsMandatory

    + +

    *cupsMandatory: "attribute1 attribute2 ... attributeN"

    + +

    This keyword defines a list of IPP attributes that must be provided when submitting a print job creation request.

    + +

    Example:

    + +
    +*% Specify that the user must supply a job-password
    +*cupsMandatory: "job-password job-password-encryption"
    +
    + + +

    cupsManualCopies

    + +

    *cupsManualCopies: boolean

    + +

    This boolean keyword notifies the RIP filters that the +destination printer does not support copy generation in +hardware. The default value is false.

    + +

    Example:

    + +
    +*% Tell the RIP filters to generate the copies for us
    +*cupsManualCopies: true
    +
    + + +

    CUPS 1.4/macOS 10.6cupsMarkerName

    + +

    *cupsMarkerName/Name Text: ""

    + +

    This optional keyword maps marker-names strings that are +generated by the driver to human readable text.

    + +

    Examples:

    + +
    +*% Map cyanToner to "Cyan Toner"
    +*cupsMarkerName cyanToner/Cyan Toner: ""
    +
    + + +

    CUPS 1.4/macOS 10.6cupsMarkerNotice

    + +

    *cupsMarkerNotice: "disclaimer text"

    + +

    This optional keyword provides disclaimer text for the supply level +information provided by the driver, typically something like "supply levels +are approximate".

    + +

    Examples:

    + +
    +*cupsMarkerNotice: "Supply levels are approximate."
    +
    + + +

    CUPS 1.6/macOS 10.8cupsMaxCopies

    + +

    *cupsMaxCopies: integer

    + +

    This integer keyword notifies the filters that the destination printer supports up to N copies in hardware. The default value is 9999.

    + +

    Example:

    + +
    +*% Tell the RIP filters we can do up to 99 copies
    +*cupsMaxCopies: 99
    +
    + + +

    cupsModelNumber

    + +

    *cupsModelNumber: number

    + +

    This integer keyword specifies a printer-specific model +number. This number can be used by a filter program to adjust +the output for a specific model of printer.

    + +

    Example:

    + +
    +*% Specify an integer for a driver-specific model number
    +*cupsModelNumber: 1234
    +
    + + +

    CUPS 1.3/macOS 10.5cupsPJLCharset

    + +

    *cupsPJLCharset: "ISO character set name"

    + +

    This string keyword specifies the character set that is used +for strings in PJL commands. If not specified, US-ASCII is +assumed.

    + +

    Example:

    + +
    +*% Specify UTF-8 is used in PJL strings
    +*cupsPJLCharset: "UTF-8"
    +
    + + +

    CUPS 1.4/macOS 10.6cupsPJLDisplay

    + +

    *cupsPJLDisplay: "what"

    + +

    This optional keyword specifies which command is used to display the +job ID, name, and user on the printer's control panel. "What" is either "none" +to disable this functionality, "job" to use "@PJL JOB DISPLAY", or "rdymsg" +to use "@PJL RDYMSG DISPLAY". The default is "job".

    + +

    Examples:

    + +
    +*% Display job information using @PJL SET RDYMSG DISPLAY="foo"
    +*cupsPJLDisplay: "rdymsg"
    +
    +*% Display job information display
    +*cupsPJLDisplay: "none"
    +
    + + +

    CUPS 1.2/macOS 10.5cupsPortMonitor

    + +

    *cupsPortMonitor urischeme/Descriptive Text: "port monitor"

    + +

    This string keyword specifies printer-specific "port +monitor" filters that may be used with the printer. The CUPS +scheduler also looks for the Protocols keyword to see +if the BCP or TBCP protocols are supported. If +so, the corresponding port monitor ("bcp" and "tbcp", +respectively) is listed in the printer's +port-monitor-supported keyword.

    + +

    The "urischeme" portion of the keyword specifies the URI scheme +that this port monitor should be used for. Typically this is used to +pre-select a particular port monitor for each type of connection that +is supported by the printer. The "port monitor" string can be "none" +to disable the port monitor for the given URI scheme.

    + +

    Examples:

    + +
    +*% Specify a PostScript printer that supports the TBCP protocol
    +*Protocols: TBCP PJL
    +
    +*% Specify that TBCP should be used for socket connections but not USB
    +*cupsPortMonitor socket/AppSocket Printing: "tbcp"
    +*cupsPortMonitor usb/USB Printing: "none"
    +
    +*% Specify a printer-specific port monitor for an Epson USB printer
    +*cupsPortMonitor usb/USB Status Monitor: "epson-usb"
    +
    + + +

    CUPS 1.3/macOS 10.5cupsPreFilter

    + +

    *cupsPreFilter: "source/type cost program"

    + +

    This string keyword provides a pre-filter rule. The pre-filter +program will be inserted in the conversion chain immediately +before the filter that accepts the given MIME type.

    + +

    Examples:

    + +
    +*% PDF pre-filter
    +*cupsPreFilter: "application/pdf 100 mypdfprefilter"
    +
    +*% PNG pre-filter
    +*cupsPreFilter: "image/png 0 mypngprefilter"
    +
    + + +

    CUPS 1.5cupsPrintQuality

    + +

    *cupsPrintQuality keyword/text: "code"

    + +

    This UI keyword defines standard print qualities that directly map from the IPP "print-quality" job template keyword. Standard keyword values are "Draft", "Normal", and "High" which are mapped from the IPP "print-quality" values 3, 4, and 5 respectively. Each cupsPrintQuality option typically sets output mode and resolution parameters in the page device dictionary, eliminating the need for separate (and sometimes confusing) output mode and resolution options.

    + +
    Note: + +

    Unlike all of the other keywords defined in this document, cupsPrintQuality is a UI keyword that MUST be enclosed inside the PPD OpenUI and CloseUI keywords.

    + +
    + +

    Examples:

    + +
    +*OpenUI *cupsPrintQuality/Print Quality: PickOne
    +*OrderDependency: 10 AnySetup *cupsPrintQuality
    +*DefaultcupsPrintQuality: Normal
    +*cupsPrintQuality Draft/Draft: "code"
    +*cupsPrintQuality Normal/Normal: "code"
    +*cupsPrintQuality High/Photo: "code"
    +*CloseUI: *cupsPrintQuality
    +
    + + +

    CUPS 1.5cupsSingleFile

    + +

    *cupsSingleFile: Boolean

    + +

    This boolean keyword tells the scheduler whether to print multiple files in a job together or singly. The default is "False" which uses a single instance of the backend for all files in the print job. Setting this keyword to "True" will result in separate instances of the backend for each file in the print job.

    + +

    Examples:

    + +
    +*% Send all print data to a single backend
    +*cupsSingleFile: False
    +
    +*% Send each file using a separate backend
    +*cupsSingleFile: True
    +
    + + +

    CUPS 1.4/macOS 10.6cupsSNMPSupplies

    + +

    *cupsSNMPSupplies: boolean

    + +

    This keyword tells the standard network backends whether they should query +the standard SNMP Printer MIB OIDs for supply levels. The default value is +True. + +

    Example:

    + +
    +*% Do not use SNMP queries to report supply levels
    +*cupsSNMPSupplies: False
    +
    + + +

    cupsVersion

    + +

    *cupsVersion: major.minor

    + +

    This required keyword describes which version of the CUPS +PPD file extensions was used. Currently it must be the string +"1.0", "1.1", "1.2", "1.3", "1.4", "1.5", or "1.6".

    + +

    Example:

    + +
    +*% Specify a CUPS 1.2 driver
    +*cupsVersion: "1.2"
    +
    + + +

    CUPS 1.6/macOS 10.8JCLToPDFInterpreter

    + +

    *JCLToPDFInterpreter: "JCL"

    + +

    This keyword provides the JCL command to insert a PDF job file into a printer-ready data stream. The JCL command is added after the JCLBegin value and any commands for JCL options in the PPD file.

    + +

    Example:

    + +
    +*% PJL command to start the PDF interpreter
    +*JCLToPDFInterpreter: "@PJL ENTER LANGUAGE = PDF<0A>"
    +
    + + +

    macOS Attributes

    + +

    DeprecatedAPDialogExtension

    + +

    *APDialogExtension: "/Library/Printers/vendor/filename.plugin"

    + +

    This keyword defines additional option panes that are displayed in the +print dialog. Each keyword adds one or more option panes. See the "OutputBinsPDE" +example and Apple +Technical Q&A QA1352 for information on writing your own print dialog +plug-ins.

    + +
    Note: + +

    Since 2010, AirPrint has enabled the printing of full quality photos and +documents from the Mac without requiring driver software. Starting with macOS +10.12, system level security features prevent print dialog plug-ins from being +loaded into applications that have enabled the library validation security +feature. As of macOS 10.14 the APDialogExtension attribute used to +create macOS print drivers is deprecated. All new printer models should support +AirPrint moving forward.

    + +
    + +

    Examples:

    + +
    +*% Add two panes for finishing and driver options
    +*APDialogExtension: "/Library/Printers/vendor/finishing.plugin"
    +*APDialogExtension: "/Library/Printers/vendor/options.plugin"
    +
    + + +

    macOS 10.4APDuplexRequiresFlippedMargin

    + +

    *APDuplexRequiresFlippedMargin: boolean

    + +

    This boolean keyword notifies the RIP filters that the +destination printer requires the top and bottom margins of the +ImageableArea to be swapped for the back page. The +default is true when cupsBackSide is Flipped +and false otherwise. Table 2 shows how +APDuplexRequiresFlippedMargin interacts with cupsBackSide +and the Tumble page attribute.

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table 2: Margin Flipping Modes
    APDuplexRequiresFlippedMargincupsBackSideTumble ValueMargins
    falseanyanyNormal
    anyNormalanyNormal
    trueManualDuplexfalseNormal
    trueManualDuplextrueFlipped
    trueRotatedfalseFlipped
    trueRotatedtrueNormal
    true or unspecifiedFlippedanyFlipped
    + +

    Example:

    + +
    +*% Rotate the back side images
    +*cupsBackSide: Rotated
    +
    +*% Don't swap the top and bottom margins for the back side
    +*APDuplexRequiresFlippedMargin: false
    +
    + +

    Also see the related cupsBackSide +keyword.

    + + +

    APHelpBook

    + +

    *APHelpBook: "bundle URL"

    + +

    This string keyword specifies the Apple help book bundle to use when +looking up IPP reason codes for this printer driver. The +cupsIPPReason keyword maps +"help" URIs to this file.

    + +

    Example:

    + +
    +*APHelpBook: "file:///Library/Printers/vendor/Help.bundle"
    +
    + + +

    macOS 10.6APICADriver

    + +

    *APICADriver: boolean

    + +

    This keyword specifies whether the device has a matching Image Capture +Architecture (ICA) driver for scanning. The default is False.

    + +

    Examples:

    + +
    +*APICADriver: True
    +*APScanAppBundleID: "com.apple.ImageCaptureApp"
    +
    + + +

    macOS 10.3APPrinterIconPath

    + +

    *APPrinterIconPath: "/Library/Printers/vendor/filename.icns"

    + +

    This keyword defines the location of a printer icon file to use when +displaying the printer. The file must be in the Apple icon format.

    + +

    Examples:

    + +
    +*% Apple icon file
    +*APPrinterIconPath: "/Library/Printers/vendor/Icons/filename.icns"
    +
    + + +

    macOS 10.4APPrinterLowInkTool

    + +

    *APPrinterLowInkTool: "/Library/Printers/vendor/program"

    + +

    This keyword defines an program that checks the ink/toner/marker levels +on a printer, returning an XML document with those levels. See the "InkTool" +example and +Apple +Technical Note TN2144 for more information.

    + +

    Examples:

    + +
    +*% Use a vendor monitoring program
    +*APPrinterLowInkTool: "/Library/Printers/vendor/Tools/lowinktool"
    +
    + + +

    macOS 10.5APPrinterPreset

    + +

    *APPrinterPreset name/text: "*Option Choice ..."

    + +

    This keyword defines presets for multiple options that show up +in the print dialog of applications (such as iPhoto) that set the job +style hint to NSPrintPhotoJobStyleHint. Each preset maps to one or +more pairs of PPD options and choices as well as providing key/value data for +the application. The following standard preset names are currently defined:

    + +
      + +
    • General_with_Paper_Auto-Detect; Normal quality general printing with auto-detected media.
    • + +
    • General_with_Paper_Auto-Detect_-_Draft; Draft quality general printing with auto-detected media.
    • + +
    • General_on_Plain_Paper; Normal quality general printing on plain paper.
    • + +
    • General_on_Plain_Paper_-_Draft; Draft quality general printing on plain paper.
    • + +
    • Photo_with_Paper_Auto-Detect; Normal quality photo printing with auto-detected media.
    • + +
    • Photo_with_Paper_Auto-Detect_-_Fine; High quality photo printing with auto-detected media.
    • + +
    • Photo_on_Plain_Paper; Normal quality photo printing on plain paper.
    • + +
    • Photo_on_Plain_Paper_-_Fine; High quality photo printing on plain paper.
    • + +
    • Photo_on_Photo_Paper; Normal quality photo printing on glossy photo paper.
    • + +
    • Photo_on_Photo_Paper_-_Fine; High quality photo printing on glossy photo paper.
    • + +
    • Photo_on_Matte_Paper; Normal quality photo printing on matte paper.
    • + +
    • Photo_on_Matte_Paper_-_Fine; High quality photo printing on matte paper.
    • + +
    + +

    The value string consists of pairs of keywords, either an option name and +choice (*MainKeyword OptionKeyword) or a preset identifier and value +(com.apple.print.preset.foo value). The following preset identifiers are currently used:

    + +
      + +
    • com.apple.print.preset.graphicsType; specifies the type of printing used for this printing - "General" for general purpose printing and "Photo" for photo printing.
    • + +
    • com.apple.print.preset.media-front-coating; specifies the media type selected by this preset - "none" (plain paper), "glossy", "high-gloss", "semi-gloss", "satin", "matte", and "autodetect".
    • + +
    • com.apple.print.preset.output-mode; specifies the output mode for this preset - "color" (default for color printers) or "monochrome" (grayscale, default for B&W printers).
    • + +
    • com.apple.print.preset.quality; specifies the overall print quality selected by this preset - "low" (draft), "mid" (normal), or "high".
    • + +
    + +

    Presets, like options, can also be localized in multiple languages.

    + +

    Examples:

    + +
    +*APPrinterPreset Photo_on_Photo_Paper/Photo on Photo Paper: "
    +  *MediaType Glossy
    +  *ColorModel RGB
    +  *Resolution 300dpi
    +  com.apple.print.preset.graphicsType Photo
    +  com.apple.print.preset.quality mid
    +  com.apple.print.preset.media-front-coating glossy"
    +*End
    +*fr.APPrinterPreset Photo_on_Photo_Paper/Photo sur papier photographique: ""
    +
    + + +

    macOS 10.3APPrinterUtilityPath

    + +

    *APPrinterPrinterUtilityPath: "/Library/Printers/vendor/filename.app"

    + +

    This keyword defines a GUI application that can be used to do printer +maintenance functions such as cleaning the print head(s). See ... for more +information.

    + +

    Examples:

    + +
    +*% Define the printer utility application
    +*APPrinterPrinterUtilityPath: "/Library/Printers/vendor/Tools/utility.app"
    +
    + + +

    macOS 10.6APScannerOnly

    + +

    *APScannerOnly: boolean

    + +

    This keyword specifies whether the device has scanning but no printing +capabilities. The default is False.

    + +

    Examples:

    + +
    +*APICADriver: True
    +*APScannerOnly: True
    +
    + + +

    macOS 10.3APScanAppBundleID

    + +

    *APScanAppBundleID: "bundle ID"

    + +

    This keyword defines the application to use when scanning pages from +the device.

    + +

    Examples:

    + +
    +*APICADriver: True
    +*APScanAppBundleID: "com.apple.ImageCaptureApp"
    +
    + + +

    Change History

    + +

    Changes in CUPS 2.3

    + + + + +

    Changes in CUPS 1.7

    + + + + +

    Changes in CUPS 1.6

    + + + + +

    Changes in CUPS 1.5

    + +
      + +
    • Changes all instances of PPD attributes to PPD keywords, to be consistent with the parent specification from Adobe.
    • + +
    + + +

    Changes in CUPS 1.4.5

    + + + + +

    Changes in CUPS 1.4

    + + + + +

    Changes in CUPS 1.3.1

    + +
      + +
    • Added missing macOS AP keywords.
    • + +
    • Added section on auto-configuration including the + OIDMainKeyword and ?MainKeyword + keywords.
    • + +
    • Minor reorganization.
    • + +
    + + +

    Changes in CUPS 1.3

    + + + + +

    Changes in CUPS 1.2.8

    + +
      + +
    • Added section on supported PostScript commands for raster + drivers
    • + +
    + + +

    Changes in CUPS 1.2

    + + + + +

    Changes in CUPS 1.1

    + + diff --git a/install-sh b/install-sh new file mode 100755 index 0000000..bcd89da --- /dev/null +++ b/install-sh @@ -0,0 +1,232 @@ +#!/bin/sh +# +# Install a program, script, or datafile. +# +# Copyright 2008-2012 by Apple Inc. +# +# This script is not compatible with BSD (or any other) install program, as it +# allows owner and group changes to fail with a warning and makes sure that the +# destination directory permissions are as specified - BSD install and the +# original X11 install script did not change permissions of existing +# directories. It also does not support the transform options since CUPS does +# not use them... +# +# Original script from X11R5 (mit/util/scripts/install.sh) +# Copyright 1991 by the Massachusetts Institute of Technology +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of M.I.T. not be used in advertising or +# publicity pertaining to distribution of the software without specific, +# written prior permission. M.I.T. makes no representations about the +# suitability of this software for any purpose. It is provided "as is" +# without express or implied warranty. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. + +# set DOITPROG to echo to test this script +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit="${DOITPROG-}" + +# Force umask to 022... +umask 022 + +# put in absolute paths if you don't have them in your path; or use env. vars. +mvprog="${MVPROG-mv}" +cpprog="${CPPROG-cp}" +chmodprog="${CHMODPROG-chmod}" +chownprog="${CHOWNPROG-chown}" +chgrpprog="${CHGRPPROG-chgrp}" +stripprog="${STRIPPROG-strip}" +rmprog="${RMPROG-rm}" +mkdirprog="${MKDIRPROG-mkdir}" +gzipprog="${GZIPPROG-gzip}" + +transformbasename="" +transform_arg="" +instcmd="$mvprog" +chmodcmd="$chmodprog 0755" +chowncmd="" +chgrpcmd="" +stripcmd="" +rmcmd="$rmprog -f" +mvcmd="$mvprog" +src="" +dst="" +dir_arg="" + +gzipcp() { + # gzipcp from to + $gzipprog -9 <"$1" >"$2" +} + +while [ x"$1" != x ]; do + case $1 in + -c) + instcmd="$cpprog" + shift + continue + ;; + + -d) + dir_arg=true + shift + continue + ;; + + -m) + chmodcmd="$chmodprog $2" + shift + shift + continue + ;; + + -o) + chowncmd="$chownprog $2" + shift + shift + continue + ;; + + -g) + chgrpcmd="$chgrpprog $2" + shift + shift + continue + ;; + + -s) + stripcmd="$stripprog" + shift + continue + ;; + + -z) + instcmd="gzipcp" + shift + continue + ;; + + *) + if [ x"$src" = x ]; then + src="$1" + else + dst="$1" + fi + shift + continue + ;; + esac +done + +if [ x"$src" = x ]; then + echo "install-sh: No input file specified" + exit 1 +fi + +if [ x"$dir_arg" != x ]; then + dst="$src" + src="" + + if [ -d "$dst" ]; then + instcmd=: + else + instcmd=$mkdirprog + fi +else + # Waiting for this to be detected by the "$instcmd $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if [ ! -f "$src" -a ! -d "$src" ]; then + echo "install: $src does not exist" + exit 1 + fi + + if [ x"$dst" = x ]; then + echo "install: No destination specified" + exit 1 + fi + + # If destination is a directory, append the input filename. + if [ -d "$dst" ]; then + dst="$dst/`basename $src`" + fi +fi + +## this sed command emulates the dirname command +dstdir="`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`" + +# Make sure that the destination directory exists. +# This part is taken from Noah Friedman's mkinstalldirs script + +# Skip lots of stat calls in the usual case. +if [ ! -d "$dstdir" ]; then + defaultIFS=' + ' + IFS="${IFS-${defaultIFS}}" + + oIFS="${IFS}" + # Some sh's can't handle IFS=/ for some reason. + IFS='%' + set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` + IFS="${oIFS}" + + pathcomp='' + + while [ $# -ne 0 ] ; do + pathcomp="${pathcomp}${1}" + shift + + if [ ! -d "${pathcomp}" ]; then $doit $mkdirprog "${pathcomp}"; fi + + pathcomp="${pathcomp}/" + done +fi + +if [ x"$dir_arg" != x ]; then + # Make a directory... + $doit $instcmd $dst || exit 1 + + # Allow chown/chgrp to fail, but log a warning + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst || echo "warning: Unable to change owner of $dst!"; fi + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst || echo "warning: Unable to change group of $dst!"; fi + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst || exit 1; fi +else + # Install a file... + dstfile="`basename $dst`" + + # Check the destination file - for libraries just use the "-x" option + # to strip... + case "$dstfile" in + *.a | *.dylib | *.sl | *.sl.* | *.so | *.so.*) + stripopt="-x" + ;; + *) + stripopt="" + ;; + esac + + # Make a temp file name in the proper directory. + dsttmp="$dstdir/#inst.$$#" + + # Move or copy the file name to the temp name + $doit $instcmd $src $dsttmp || exit 1 + + # Update permissions and strip as needed, then move to the final name. + # If the chmod, strip, rm, or mv commands fail, remove the installed + # file... + if [ x"$stripcmd" != x ]; then $doit $stripcmd $stripopt "$dsttmp" || echo "warning: Unable to strip $dst!"; fi + if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp" || echo "warning: Unable to change owner of $dst!"; fi + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp" || echo "warning: Unable to change group of $dst!"; fi + + trap "rm -f ${dsttmp}" 0 && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; fi && + $doit $rmcmd -f "$dstdir/$dstfile" && + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" +fi + +exit 0 diff --git a/locale/Dependencies b/locale/Dependencies new file mode 100644 index 0000000..5b5507a --- /dev/null +++ b/locale/Dependencies @@ -0,0 +1,14 @@ +checkpo.o: checkpo.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h +po2strings.o: po2strings.c ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +strings2po.o: strings2po.c diff --git a/locale/Makefile b/locale/Makefile new file mode 100644 index 0000000..50788a1 --- /dev/null +++ b/locale/Makefile @@ -0,0 +1,201 @@ +# +# Locale file makefile for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1993-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +include ../Makedefs + + +OBJS = checkpo.o po2strings.o strings2po.o +TARGETS = checkpo po2strings strings2po + + +# +# Make everything... +# + +all: $(TARGETS) + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Clean all config and object files... +# + +clean: + $(RM) $(TARGETS) $(OBJS) + + +# +# Update dependencies (without system header dependencies...) +# + +depend: + $(CC) -MM $(ALL_CFLAGS) $(OBJS:.o=.c) >Dependencies + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: $(INSTALL_LANGUAGES) + +install-languages: + $(INSTALL_DIR) -m 755 $(LOCALEDIR) + for loc in en $(LANGUAGES) ; do \ + if test -f cups_$$loc.po; then \ + $(INSTALL_DIR) -m 755 $(LOCALEDIR)/$$loc ; \ + $(INSTALL_DATA) cups_$$loc.po $(LOCALEDIR)/$$loc/cups_$$loc.po ; \ + fi ; \ + done + +install-langbundle: + $(INSTALL_DIR) -m 755 "$(BUILDROOT)$(RESOURCEDIR)" + $(INSTALL_DATA) cups.strings "$(BUILDROOT)$(RESOURCEDIR)" + + +# +# Install programs... +# + +install-exec: + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall files... +# + +uninstall: $(UNINSTALL_LANGUAGES) + +uninstall-languages: + -for loc in en $(LANGUAGES) ; do \ + $(RM) $(LOCALEDIR)/$$loc/cups_$$loc.po ; \ + done + +uninstall-langbundle: + $(RM) "$(BUILDROOT)$(RESOURCEDIR)/cups.strings" + + +# +# pot - Creates/updates the cups.pot template file, merges changes into existing +# message catalogs, and updates the cups.strings file. We don't use +# xgettext to update the cups.strings file due to known xgettext bugs. +# + +pot: checkpo po2strings + echo Updating cups.pot... + mv cups.pot cups.pot.bck + touch cups.pot + cd ..; xgettext -o locale/cups.pot -cTRANSLATORS -s \ + --keyword=_ --no-wrap --from-code utf-8 \ + --copyright-holder="Apple Inc." \ + --package-name="CUPS" --package-version="$(CUPS_VERSION)" \ + --msgid-bugs-address="https://github.com/apple/cups/issues" \ + */*.c */*.cxx + (cat cups.header; tail +6 cups.pot) > cups.pot.N + mv cups.pot.N cups.pot + echo Checking cups.pot... + ./checkpo cups.pot + for loc in *.po ; do \ + if test $$loc = '*.po'; then \ + break; \ + fi; \ + echo Merging changes into $$loc... ; \ + msgmerge -o $$loc -s -N --no-location $$loc cups.pot ; \ + done + echo Updating cups.strings... + ./po2strings cups_en.po cups.strings + +cups.strings: cups_en.po po2strings + echo Updating cups.strings... + ./po2strings cups_en.po cups.strings + + +# +# checkpo - A simple utility to check PO files for correct translation +# strings. Dependency on static library is deliberate. +# +# checkpo filename.po [... filenameN.po] +# + +checkpo: checkpo.o ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o checkpo checkpo.o \ + $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + +checkall: checkpo + ./checkpo *.po *.strings + + +# +# po2strings - A simple utility which uses iconv to convert GNU gettext +# message catalogs to macOS .strings files. +# +# po2strings filename.po filename.strings +# + +po2strings: po2strings.o ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o po2strings po2strings.o \ + $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# strings2po - A simple utility which uses iconv to convert macOS .strings files +# to GNU gettext message catalogs. +# +# strings2po filename.strings filename.po +# + +strings2po: strings2po.o + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o strings2po strings2po.o + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Dependencies... +# + +include Dependencies diff --git a/locale/checkpo.c b/locale/checkpo.c new file mode 100644 index 0000000..7a644f5 --- /dev/null +++ b/locale/checkpo.c @@ -0,0 +1,403 @@ +/* + * Verify that translations in the .po file have the same number and type of + * printf-style format strings. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + * + * Usage: + * + * checkpo filename.{po,strings} [... filenameN.{po,strings}] + * + * Compile with: + * + * gcc -o checkpo checkpo.c `cups-config --libs` + */ + +#include + + +/* + * Local functions... + */ + +static char *abbreviate(const char *s, char *buf, int bufsize); +static cups_array_t *collect_formats(const char *id); +static void free_formats(cups_array_t *fmts); + + +/* + * 'main()' - Validate .po and .strings files. + */ + +int /* O - Exit code */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + cups_array_t *po; /* .po file */ + _cups_message_t *msg; /* Current message */ + cups_array_t *idfmts, /* Format strings in msgid */ + *strfmts; /* Format strings in msgstr */ + char *idfmt, /* Current msgid format string */ + *strfmt; /* Current msgstr format string */ + int fmtidx; /* Format index */ + int status, /* Exit status */ + pass, /* Pass/fail status */ + untranslated; /* Untranslated messages */ + char idbuf[80], /* Abbreviated msgid */ + strbuf[80]; /* Abbreviated msgstr */ + + + if (argc < 2) + { + puts("Usage: checkpo filename.{po,strings} [... filenameN.{po,strings}]"); + return (1); + } + + /* + * Check every .po or .strings file on the command-line... + */ + + for (i = 1, status = 0; i < argc; i ++) + { + /* + * Use the CUPS .po loader to get the message strings... + */ + + if (strstr(argv[i], ".strings")) + po = _cupsMessageLoad(argv[i], _CUPS_MESSAGE_STRINGS); + else + po = _cupsMessageLoad(argv[i], _CUPS_MESSAGE_PO | _CUPS_MESSAGE_EMPTY); + + if (!po) + { + perror(argv[i]); + return (1); + } + + if (i > 1) + putchar('\n'); + printf("%s: ", argv[i]); + fflush(stdout); + + /* + * Scan every message for a % string and then match them up with + * the corresponding string in the translation... + */ + + pass = 1; + untranslated = 0; + + for (msg = (_cups_message_t *)cupsArrayFirst(po); + msg; + msg = (_cups_message_t *)cupsArrayNext(po)) + { + /* + * Make sure filter message prefixes are not translated... + */ + + if (!strncmp(msg->msg, "ALERT:", 6) || !strncmp(msg->msg, "CRIT:", 5) || + !strncmp(msg->msg, "DEBUG:", 6) || !strncmp(msg->msg, "DEBUG2:", 7) || + !strncmp(msg->msg, "EMERG:", 6) || !strncmp(msg->msg, "ERROR:", 6) || + !strncmp(msg->msg, "INFO:", 5) || !strncmp(msg->msg, "NOTICE:", 7) || + !strncmp(msg->msg, "WARNING:", 8)) + { + if (pass) + { + pass = 0; + puts("FAIL"); + } + + printf(" Bad prefix on filter message \"%s\"\n", + abbreviate(msg->msg, idbuf, sizeof(idbuf))); + } + + idfmt = msg->msg + strlen(msg->msg) - 1; + if (idfmt >= msg->msg && *idfmt == '\n') + { + if (pass) + { + pass = 0; + puts("FAIL"); + } + + printf(" Trailing newline in message \"%s\"\n", + abbreviate(msg->msg, idbuf, sizeof(idbuf))); + } + + for (; idfmt >= msg->msg; idfmt --) + if (!isspace(*idfmt & 255)) + break; + + if (idfmt >= msg->msg && *idfmt == '!') + { + if (pass) + { + pass = 0; + puts("FAIL"); + } + + printf(" Exclamation in message \"%s\"\n", + abbreviate(msg->msg, idbuf, sizeof(idbuf))); + } + + if ((idfmt - 2) >= msg->msg && !strncmp(idfmt - 2, "...", 3)) + { + if (pass) + { + pass = 0; + puts("FAIL"); + } + + printf(" Ellipsis in message \"%s\"\n", + abbreviate(msg->msg, idbuf, sizeof(idbuf))); + } + + if (!msg->str || !msg->str[0]) + { + untranslated ++; + continue; + } + else if (strchr(msg->msg, '%')) + { + idfmts = collect_formats(msg->msg); + strfmts = collect_formats(msg->str); + fmtidx = 0; + + for (strfmt = (char *)cupsArrayFirst(strfmts); + strfmt; + strfmt = (char *)cupsArrayNext(strfmts)) + { + if (isdigit(strfmt[1] & 255) && strfmt[2] == '$') + { + /* + * Handle positioned format stuff... + */ + + fmtidx = strfmt[1] - '1'; + strfmt += 3; + if ((idfmt = (char *)cupsArrayIndex(idfmts, fmtidx)) != NULL) + idfmt ++; + } + else + { + /* + * Compare against the current format... + */ + + idfmt = (char *)cupsArrayIndex(idfmts, fmtidx); + } + + fmtidx ++; + + if (!idfmt || strcmp(strfmt, idfmt)) + break; + } + + if (cupsArrayCount(strfmts) != cupsArrayCount(idfmts) || strfmt) + { + if (pass) + { + pass = 0; + puts("FAIL"); + } + + printf(" Bad translation string \"%s\"\n for \"%s\"\n", + abbreviate(msg->str, strbuf, sizeof(strbuf)), + abbreviate(msg->msg, idbuf, sizeof(idbuf))); + fputs(" Translation formats:", stdout); + for (strfmt = (char *)cupsArrayFirst(strfmts); + strfmt; + strfmt = (char *)cupsArrayNext(strfmts)) + printf(" %s", strfmt); + fputs("\n Original formats:", stdout); + for (idfmt = (char *)cupsArrayFirst(idfmts); + idfmt; + idfmt = (char *)cupsArrayNext(idfmts)) + printf(" %s", idfmt); + putchar('\n'); + putchar('\n'); + } + + free_formats(idfmts); + free_formats(strfmts); + } + + /* + * Only allow \\, \n, \r, \t, \", and \### character escapes... + */ + + for (strfmt = msg->str; *strfmt; strfmt ++) + { + if (*strfmt == '\\') + { + strfmt ++; + + if (*strfmt != '\\' && *strfmt != 'n' && *strfmt != 'r' && *strfmt != 't' && *strfmt != '\"' && !isdigit(*strfmt & 255)) + { + if (pass) + { + pass = 0; + puts("FAIL"); + } + + printf(" Bad escape \\%c in filter message \"%s\"\n" + " for \"%s\"\n", strfmt[1], + abbreviate(msg->str, strbuf, sizeof(strbuf)), + abbreviate(msg->msg, idbuf, sizeof(idbuf))); + break; + } + } + } + } + + if (pass) + { + int count = cupsArrayCount(po); /* Total number of messages */ + + if (untranslated >= (count / 10) && strcmp(argv[i], "cups.pot")) + { + /* + * Only allow 10% of messages to be untranslated before we fail... + */ + + pass = 0; + puts("FAIL"); + printf(" Too many untranslated messages (%d of %d or %.1f%% are translated)\n", count - untranslated, count, 100.0 - 100.0 * untranslated / count); + } + else if (untranslated > 0) + printf("PASS (%d of %d or %.1f%% are translated)\n", count - untranslated, count, 100.0 - 100.0 * untranslated / count); + else + puts("PASS"); + } + + if (!pass) + status = 1; + + _cupsMessageFree(po); + } + + return (status); +} + + +/* + * 'abbreviate()' - Abbreviate a message string as needed. + */ + +static char * /* O - Abbreviated string */ +abbreviate(const char *s, /* I - String to abbreviate */ + char *buf, /* I - Buffer */ + int bufsize) /* I - Size of buffer */ +{ + char *bufptr; /* Pointer into buffer */ + + + for (bufptr = buf, bufsize -= 4; *s && bufsize > 0; s ++) + { + if (*s == '\n') + { + if (bufsize < 2) + break; + + *bufptr++ = '\\'; + *bufptr++ = 'n'; + bufsize -= 2; + } + else if (*s == '\t') + { + if (bufsize < 2) + break; + + *bufptr++ = '\\'; + *bufptr++ = 't'; + bufsize -= 2; + } + else if (*s >= 0 && *s < ' ') + { + if (bufsize < 4) + break; + + sprintf(bufptr, "\\%03o", *s); + bufptr += 4; + bufsize -= 4; + } + else + { + *bufptr++ = *s; + bufsize --; + } + } + + if (*s) + memcpy(bufptr, "...", 4); + else + *bufptr = '\0'; + + return (buf); +} + + +/* + * 'collect_formats()' - Collect all of the format strings in the msgid. + */ + +static cups_array_t * /* O - Array of format strings */ +collect_formats(const char *id) /* I - msgid string */ +{ + cups_array_t *fmts; /* Array of format strings */ + char buf[255], /* Format string buffer */ + *bufptr; /* Pointer into format string */ + + + fmts = cupsArrayNew(NULL, NULL); + + while ((id = strchr(id, '%')) != NULL) + { + if (id[1] == '%') + { + /* + * Skip %%... + */ + + id += 2; + continue; + } + + for (bufptr = buf; *id && bufptr < (buf + sizeof(buf) - 1); id ++) + { + *bufptr++ = *id; + + if (strchr("CDEFGIOSUXcdeifgopsux", *id)) + { + id ++; + break; + } + } + + *bufptr = '\0'; + cupsArrayAdd(fmts, strdup(buf)); + } + + return (fmts); +} + + +/* + * 'free_formats()' - Free all of the format strings. + */ + +static void +free_formats(cups_array_t *fmts) /* I - Array of format strings */ +{ + char *s; /* Current string */ + + + for (s = (char *)cupsArrayFirst(fmts); s; s = (char *)cupsArrayNext(fmts)) + free(s); + + cupsArrayDelete(fmts); +} diff --git a/locale/cups.header b/locale/cups.header new file mode 100644 index 0000000..43128c5 --- /dev/null +++ b/locale/cups.header @@ -0,0 +1,22 @@ +# +# Message catalog template for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 2005-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +# +# Notes for Translators: +# +# The "checkpo" program located in the "locale" source directory can be used +# to verify that your translations do not introduce formatting errors or other +# problems. Run with: +# +# cd locale +# ./checkpo cups_LL.po +# +# where "LL" is your locale. +# diff --git a/locale/cups.pot b/locale/cups.pot new file mode 100644 index 0000000..fd2ddd0 --- /dev/null +++ b/locale/cups.pot @@ -0,0 +1,18936 @@ +# +# Message catalog template for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 2005-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +# +# Notes for Translators: +# +# The "checkpo" program located in the "locale" source directory can be used +# to verify that your translations do not introduce formatting errors or other +# problems. Run with: +# +# cd locale +# ./checkpo cups_LL.po +# +# where "LL" is your locale. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: CUPS 2.3.0\n" +"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n" +"POT-Creation-Date: 2019-08-23 09:13-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: systemv/lpstat.c:1871 systemv/lpstat.c:1990 +msgid "\t\t(all)" +msgstr "" + +#: systemv/lpstat.c:1874 systemv/lpstat.c:1877 systemv/lpstat.c:1993 +#: systemv/lpstat.c:1996 +msgid "\t\t(none)" +msgstr "" + +#: berkeley/lpc.c:416 +#, c-format +msgid "\t%d entries" +msgstr "" + +#: systemv/lpstat.c:812 systemv/lpstat.c:828 +#, c-format +msgid "\t%s" +msgstr "" + +#: systemv/lpstat.c:1852 systemv/lpstat.c:1971 +msgid "\tAfter fault: continue" +msgstr "" + +#: systemv/lpstat.c:1488 systemv/lpstat.c:1825 systemv/lpstat.c:1945 +#, c-format +msgid "\tAlerts: %s" +msgstr "" + +#: systemv/lpstat.c:1875 systemv/lpstat.c:1994 +msgid "\tBanner required" +msgstr "" + +#: systemv/lpstat.c:1876 systemv/lpstat.c:1995 +msgid "\tCharset sets:" +msgstr "" + +#: systemv/lpstat.c:1844 systemv/lpstat.c:1963 +msgid "\tConnection: direct" +msgstr "" + +#: systemv/lpstat.c:1835 systemv/lpstat.c:1955 +msgid "\tConnection: remote" +msgstr "" + +#: systemv/lpstat.c:1801 systemv/lpstat.c:1921 +msgid "\tContent types: any" +msgstr "" + +#: systemv/lpstat.c:1879 systemv/lpstat.c:1998 +msgid "\tDefault page size:" +msgstr "" + +#: systemv/lpstat.c:1878 systemv/lpstat.c:1997 +msgid "\tDefault pitch:" +msgstr "" + +#: systemv/lpstat.c:1880 systemv/lpstat.c:1999 +msgid "\tDefault port settings:" +msgstr "" + +#: systemv/lpstat.c:1807 systemv/lpstat.c:1927 +#, c-format +msgid "\tDescription: %s" +msgstr "" + +#: systemv/lpstat.c:1800 systemv/lpstat.c:1920 +msgid "\tForm mounted:" +msgstr "" + +#: systemv/lpstat.c:1873 systemv/lpstat.c:1992 +msgid "\tForms allowed:" +msgstr "" + +#: systemv/lpstat.c:1839 systemv/lpstat.c:1959 +#, c-format +msgid "\tInterface: %s.ppd" +msgstr "" + +#: systemv/lpstat.c:1848 systemv/lpstat.c:1967 +#, c-format +msgid "\tInterface: %s/ppd/%s.ppd" +msgstr "" + +#: systemv/lpstat.c:1830 systemv/lpstat.c:1950 +#, c-format +msgid "\tLocation: %s" +msgstr "" + +#: systemv/lpstat.c:1851 systemv/lpstat.c:1970 +msgid "\tOn fault: no alert" +msgstr "" + +#: systemv/lpstat.c:1802 systemv/lpstat.c:1922 +msgid "\tPrinter types: unknown" +msgstr "" + +#: systemv/lpstat.c:1471 +#, c-format +msgid "\tStatus: %s" +msgstr "" + +#: systemv/lpstat.c:1856 systemv/lpstat.c:1870 systemv/lpstat.c:1975 +#: systemv/lpstat.c:1989 +msgid "\tUsers allowed:" +msgstr "" + +#: systemv/lpstat.c:1863 systemv/lpstat.c:1982 +msgid "\tUsers denied:" +msgstr "" + +#: berkeley/lpc.c:418 +msgid "\tdaemon present" +msgstr "" + +#: berkeley/lpc.c:414 +msgid "\tno entries" +msgstr "" + +#: berkeley/lpc.c:386 berkeley/lpc.c:398 +#, c-format +msgid "\tprinter is on device '%s' speed -1" +msgstr "" + +#: berkeley/lpc.c:411 +msgid "\tprinting is disabled" +msgstr "" + +#: berkeley/lpc.c:409 +msgid "\tprinting is enabled" +msgstr "" + +#: systemv/lpstat.c:1491 +#, c-format +msgid "\tqueued for %s" +msgstr "" + +#: berkeley/lpc.c:406 +msgid "\tqueuing is disabled" +msgstr "" + +#: berkeley/lpc.c:404 +msgid "\tqueuing is enabled" +msgstr "" + +#: systemv/lpstat.c:1793 systemv/lpstat.c:1913 +msgid "\treason unknown" +msgstr "" + +#: systemv/cupstestppd.c:431 +msgid "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" +msgstr "" + +#: systemv/cupstestppd.c:387 systemv/cupstestppd.c:392 +msgid " REF: Page 15, section 3.1." +msgstr "" + +#: systemv/cupstestppd.c:382 +msgid " REF: Page 15, section 3.2." +msgstr "" + +#: systemv/cupstestppd.c:402 +msgid " REF: Page 19, section 3.3." +msgstr "" + +#: systemv/cupstestppd.c:355 +msgid " REF: Page 20, section 3.4." +msgstr "" + +#: systemv/cupstestppd.c:407 +msgid " REF: Page 27, section 3.5." +msgstr "" + +#: systemv/cupstestppd.c:350 +msgid " REF: Page 42, section 5.2." +msgstr "" + +#: systemv/cupstestppd.c:397 +msgid " REF: Pages 16-17, section 3.2." +msgstr "" + +#: systemv/cupstestppd.c:367 +msgid " REF: Pages 42-45, section 5.2." +msgstr "" + +#: systemv/cupstestppd.c:361 +msgid " REF: Pages 45-46, section 5.2." +msgstr "" + +#: systemv/cupstestppd.c:372 +msgid " REF: Pages 48-49, section 5.2." +msgstr "" + +#: systemv/cupstestppd.c:377 +msgid " REF: Pages 52-54, section 5.2." +msgstr "" + +#: berkeley/lpq.c:533 +#, c-format +msgid " %-39.39s %.0f bytes" +msgstr "" + +#: systemv/cupstestppd.c:566 +#, c-format +msgid " PASS Default%s" +msgstr "" + +#: systemv/cupstestppd.c:501 +msgid " PASS DefaultImageableArea" +msgstr "" + +#: systemv/cupstestppd.c:535 +msgid " PASS DefaultPaperDimension" +msgstr "" + +#: systemv/cupstestppd.c:608 +msgid " PASS FileVersion" +msgstr "" + +#: systemv/cupstestppd.c:652 +msgid " PASS FormatVersion" +msgstr "" + +#: systemv/cupstestppd.c:672 +msgid " PASS LanguageEncoding" +msgstr "" + +#: systemv/cupstestppd.c:692 +msgid " PASS LanguageVersion" +msgstr "" + +#: systemv/cupstestppd.c:746 +msgid " PASS Manufacturer" +msgstr "" + +#: systemv/cupstestppd.c:786 +msgid " PASS ModelName" +msgstr "" + +#: systemv/cupstestppd.c:806 +msgid " PASS NickName" +msgstr "" + +#: systemv/cupstestppd.c:866 +msgid " PASS PCFileName" +msgstr "" + +#: systemv/cupstestppd.c:941 +msgid " PASS PSVersion" +msgstr "" + +#: systemv/cupstestppd.c:846 +msgid " PASS PageRegion" +msgstr "" + +#: systemv/cupstestppd.c:826 +msgid " PASS PageSize" +msgstr "" + +#: systemv/cupstestppd.c:901 +msgid " PASS Product" +msgstr "" + +#: systemv/cupstestppd.c:976 +msgid " PASS ShortNickName" +msgstr "" + +#: systemv/cupstestppd.c:1351 +#, c-format +msgid " WARN %s has no corresponding options." +msgstr "" + +#: systemv/cupstestppd.c:1463 +#, c-format +msgid "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." +msgstr "" + +#: systemv/cupstestppd.c:1322 +#, c-format +msgid "" +" WARN Duplex option keyword %s may not work as expected and should be named Duplex.\n" +" REF: Page 122, section 5.17" +msgstr "" + +#: systemv/cupstestppd.c:1721 +msgid " WARN File contains a mix of CR, LF, and CR LF line endings." +msgstr "" + +#: systemv/cupstestppd.c:1367 +msgid "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:1703 +#, c-format +msgid " WARN Line %d only contains whitespace." +msgstr "" + +#: systemv/cupstestppd.c:1375 +msgid "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:1726 +msgid " WARN Non-Windows PPD files should use lines ending with only LF, not CR LF." +msgstr "" + +#: systemv/cupstestppd.c:1359 +#, c-format +msgid "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." +msgstr "" + +#: systemv/cupstestppd.c:1390 +msgid "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:1398 +msgid "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:1433 +msgid "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" + +#: systemv/cupstestppd.c:1424 +msgid "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" + +#: systemv/cupstestppd.c:1407 +msgid "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:3788 +#, c-format +msgid "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." +msgstr "" + +#: systemv/cupstestppd.c:2225 +#, c-format +msgid " %s %s %s does not exist." +msgstr "" + +#: systemv/cupstestppd.c:3941 +#, c-format +msgid " %s %s file \"%s\" has the wrong capitalization." +msgstr "" + +#: systemv/cupstestppd.c:2295 +#, c-format +msgid "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" +msgstr "" + +#: systemv/cupstestppd.c:3548 systemv/cupstestppd.c:3597 +#: systemv/cupstestppd.c:3636 +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." +msgstr "" + +#: systemv/cupstestppd.c:3502 +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s." +msgstr "" + +#: systemv/cupstestppd.c:2366 systemv/cupstestppd.c:2388 +#, c-format +msgid " %s Bad cupsFilter value \"%s\"." +msgstr "" + +#: systemv/cupstestppd.c:2484 systemv/cupstestppd.c:2506 +#, c-format +msgid " %s Bad cupsFilter2 value \"%s\"." +msgstr "" + +#: systemv/cupstestppd.c:3005 +#, c-format +msgid " %s Bad cupsICCProfile %s." +msgstr "" + +#: systemv/cupstestppd.c:2612 +#, c-format +msgid " %s Bad cupsPreFilter value \"%s\"." +msgstr "" + +#: systemv/cupstestppd.c:1799 +#, c-format +msgid " %s Bad cupsUIConstraints %s: \"%s\"" +msgstr "" + +#: systemv/cupstestppd.c:3452 +#, c-format +msgid " %s Bad language \"%s\"." +msgstr "" + +#: systemv/cupstestppd.c:2442 systemv/cupstestppd.c:2570 +#: systemv/cupstestppd.c:2656 systemv/cupstestppd.c:2714 +#: systemv/cupstestppd.c:2769 systemv/cupstestppd.c:2824 +#: systemv/cupstestppd.c:2879 systemv/cupstestppd.c:2932 +#: systemv/cupstestppd.c:3054 +#, c-format +msgid " %s Bad permissions on %s file \"%s\"." +msgstr "" + +#: systemv/cupstestppd.c:2350 systemv/cupstestppd.c:2468 +#: systemv/cupstestppd.c:2596 systemv/cupstestppd.c:2683 +#: systemv/cupstestppd.c:2738 systemv/cupstestppd.c:2793 +#: systemv/cupstestppd.c:2848 systemv/cupstestppd.c:2903 +#, c-format +msgid " %s Bad spelling of %s - should be %s." +msgstr "" + +#: systemv/cupstestppd.c:2948 +#, c-format +msgid " %s Cannot provide both APScanAppPath and APScanAppBundleID." +msgstr "" + +#: systemv/cupstestppd.c:2182 +#, c-format +msgid " %s Default choices conflicting." +msgstr "" + +#: systemv/cupstestppd.c:1780 +#, c-format +msgid " %s Empty cupsUIConstraints %s" +msgstr "" + +#: systemv/cupstestppd.c:3580 systemv/cupstestppd.c:3620 +#, c-format +msgid " %s Missing \"%s\" translation string for option %s, choice %s." +msgstr "" + +#: systemv/cupstestppd.c:3488 +#, c-format +msgid " %s Missing \"%s\" translation string for option %s." +msgstr "" + +#: systemv/cupstestppd.c:2427 systemv/cupstestppd.c:2555 +#: systemv/cupstestppd.c:2641 systemv/cupstestppd.c:2699 +#: systemv/cupstestppd.c:2754 systemv/cupstestppd.c:2809 +#: systemv/cupstestppd.c:2864 systemv/cupstestppd.c:2916 +#: systemv/cupstestppd.c:3039 +#, c-format +msgid " %s Missing %s file \"%s\"." +msgstr "" + +#: systemv/cupstestppd.c:3162 +#, c-format +msgid "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." +msgstr "" + +#: systemv/cupstestppd.c:3147 +#, c-format +msgid "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." +msgstr "" + +#: systemv/cupstestppd.c:1990 systemv/cupstestppd.c:2031 +#, c-format +msgid " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" + +#: systemv/cupstestppd.c:1885 +#, c-format +msgid " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" +msgstr "" + +#: systemv/cupstestppd.c:1817 +#, c-format +msgid " %s Missing cupsUIResolver %s" +msgstr "" + +#: systemv/cupstestppd.c:1976 systemv/cupstestppd.c:2017 +#, c-format +msgid " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" + +#: systemv/cupstestppd.c:1869 +#, c-format +msgid " %s Missing option %s in cupsUIConstraints %s: \"%s\"" +msgstr "" + +#: systemv/cupstestppd.c:3674 +#, c-format +msgid " %s No base translation \"%s\" is included in file." +msgstr "" + +#: systemv/cupstestppd.c:2271 +#, c-format +msgid "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" +msgstr "" + +#: systemv/cupstestppd.c:3221 systemv/cupstestppd.c:3235 +#, c-format +msgid " %s Size \"%s\" defined for %s but not for %s." +msgstr "" + +#: systemv/cupstestppd.c:3201 +#, c-format +msgid " %s Size \"%s\" has unexpected dimensions (%gx%g)." +msgstr "" + +#: systemv/cupstestppd.c:3392 +#, c-format +msgid " %s Size \"%s\" should be \"%s\"." +msgstr "" + +#: systemv/cupstestppd.c:3341 +#, c-format +msgid " %s Size \"%s\" should be the Adobe standard name \"%s\"." +msgstr "" + +#: systemv/cupstestppd.c:3082 +#, c-format +msgid " %s cupsICCProfile %s hash value collides with %s." +msgstr "" + +#: systemv/cupstestppd.c:1940 +#, c-format +msgid " %s cupsUIResolver %s causes a loop." +msgstr "" + +#: systemv/cupstestppd.c:1922 +#, c-format +msgid " %s cupsUIResolver %s does not list at least two different options." +msgstr "" + +#: systemv/cupstestppd.c:1145 +#, c-format +msgid "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" +msgstr "" + +#: systemv/cupstestppd.c:557 +#, c-format +msgid "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." +msgstr "" + +#: systemv/cupstestppd.c:491 +#, c-format +msgid "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." +msgstr "" + +#: systemv/cupstestppd.c:527 +#, c-format +msgid "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." +msgstr "" + +#: systemv/cupstestppd.c:600 +#, c-format +msgid "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:644 +#, c-format +msgid "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:1002 +msgid "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." +msgstr "" + +#: systemv/cupstestppd.c:1190 +#, c-format +msgid " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." +msgstr "" + +#: systemv/cupstestppd.c:1204 +#, c-format +msgid " **FAIL** Bad LanguageVersion %s - must be English." +msgstr "" + +#: systemv/cupstestppd.c:720 systemv/cupstestppd.c:737 +#, c-format +msgid "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." +msgstr "" + +#: systemv/cupstestppd.c:777 +#, c-format +msgid "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:933 +msgid "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:894 +msgid "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:968 +msgid "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:1126 +#, c-format +msgid "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" +msgstr "" + +#: systemv/cupstestppd.c:3815 systemv/cupstestppd.c:3837 +#, c-format +msgid " **FAIL** Default option code cannot be interpreted: %s" +msgstr "" + +#: systemv/cupstestppd.c:1263 +#, c-format +msgid " **FAIL** Default translation string for option %s choice %s contains 8-bit characters." +msgstr "" + +#: systemv/cupstestppd.c:1236 +#, c-format +msgid " **FAIL** Default translation string for option %s contains 8-bit characters." +msgstr "" + +#: systemv/cupstestppd.c:2078 +#, c-format +msgid " **FAIL** Group names %s and %s differ only by case." +msgstr "" + +#: systemv/cupstestppd.c:2123 +#, c-format +msgid " **FAIL** Multiple occurrences of option %s choice name %s." +msgstr "" + +#: systemv/cupstestppd.c:2140 +#, c-format +msgid " **FAIL** Option %s choice names %s and %s differ only by case." +msgstr "" + +#: systemv/cupstestppd.c:2100 +#, c-format +msgid " **FAIL** Option names %s and %s differ only by case." +msgstr "" + +#: systemv/cupstestppd.c:577 +#, c-format +msgid "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." +msgstr "" + +#: systemv/cupstestppd.c:476 +msgid "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." +msgstr "" + +#: systemv/cupstestppd.c:512 +msgid "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." +msgstr "" + +#: systemv/cupstestppd.c:618 +msgid "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:662 +msgid "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:1053 +#, c-format +msgid "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." +msgstr "" + +#: systemv/cupstestppd.c:682 +msgid "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:702 +msgid "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:756 +msgid "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:796 +msgid "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:816 +msgid "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:876 +msgid "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:951 +msgid "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:856 +msgid "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." +msgstr "" + +#: systemv/cupstestppd.c:1022 +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." +msgstr "" + +#: systemv/cupstestppd.c:836 +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." +msgstr "" + +#: systemv/cupstestppd.c:1075 +#, c-format +msgid "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." +msgstr "" + +#: systemv/cupstestppd.c:911 +msgid "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:986 +msgid "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." +msgstr "" + +#: systemv/cupstestppd.c:311 systemv/cupstestppd.c:330 +#: systemv/cupstestppd.c:342 +#, c-format +msgid " **FAIL** Unable to open PPD file - %s on line %d." +msgstr "" + +#: systemv/cupstestppd.c:1475 +#, c-format +msgid " %d ERRORS FOUND" +msgstr "" + +#: systemv/cupstestppd.c:1477 +msgid " NO ERRORS FOUND" +msgstr "" + +#: ppdc/ppdc.cxx:444 +msgid " --cr End lines with CR (Mac OS 9)." +msgstr "" + +#: ppdc/ppdc.cxx:446 +msgid " --crlf End lines with CR + LF (Windows)." +msgstr "" + +#: ppdc/ppdc.cxx:448 +msgid " --lf End lines with LF (UNIX/Linux/macOS)." +msgstr "" + +#: scheduler/cupsfilter.c:1477 +msgid " --list-filters List filters that will be used." +msgstr "" + +#: scheduler/cupsfilter.c:1478 +msgid " -D Remove the input file when finished." +msgstr "" + +#: ppdc/ppdc.cxx:427 ppdc/ppdhtml.cxx:174 ppdc/ppdpo.cxx:244 +msgid " -D name=value Set named variable to value." +msgstr "" + +#: ppdc/ppdc.cxx:429 ppdc/ppdhtml.cxx:176 ppdc/ppdi.cxx:120 ppdc/ppdpo.cxx:246 +msgid " -I include-dir Add include directory to search path." +msgstr "" + +#: scheduler/cupsfilter.c:1479 +msgid " -P filename.ppd Set PPD file." +msgstr "" + +#: scheduler/cupsfilter.c:1480 +msgid " -U username Specify username." +msgstr "" + +#: ppdc/ppdc.cxx:431 +msgid " -c catalog.po Load the specified message catalog." +msgstr "" + +#: scheduler/cupsfilter.c:1481 +msgid " -c cups-files.conf Set cups-files.conf file to use." +msgstr "" + +#: ppdc/ppdc.cxx:433 +msgid " -d output-dir Specify the output directory." +msgstr "" + +#: scheduler/cupsfilter.c:1482 +msgid " -d printer Use the named printer." +msgstr "" + +#: scheduler/cupsfilter.c:1483 +msgid " -e Use every filter from the PPD file." +msgstr "" + +#: scheduler/cupsfilter.c:1484 +msgid " -i mime/type Set input MIME type (otherwise auto-typed)." +msgstr "" + +#: scheduler/cupsfilter.c:1485 +msgid " -j job-id[,N] Filter file N from the specified job (default is file 1)." +msgstr "" + +#: ppdc/ppdc.cxx:435 +msgid " -l lang[,lang,...] Specify the output language(s) (locale)." +msgstr "" + +#: ppdc/ppdc.cxx:437 +msgid " -m Use the ModelName value as the filename." +msgstr "" + +#: scheduler/cupsfilter.c:1486 +msgid " -m mime/type Set output MIME type (otherwise application/pdf)." +msgstr "" + +#: scheduler/cupsfilter.c:1487 +msgid " -n copies Set number of copies." +msgstr "" + +#: ppdc/ppdi.cxx:122 +msgid " -o filename.drv Set driver information file (otherwise ppdi.drv)." +msgstr "" + +#: ppdc/ppdmerge.cxx:357 +msgid " -o filename.ppd[.gz] Set output file (otherwise stdout)." +msgstr "" + +#: scheduler/cupsfilter.c:1488 +msgid " -o name=value Set option(s)." +msgstr "" + +#: scheduler/cupsfilter.c:1489 +msgid " -p filename.ppd Set PPD file." +msgstr "" + +#: ppdc/ppdc.cxx:439 +msgid " -t Test PPDs instead of generating them." +msgstr "" + +#: scheduler/cupsfilter.c:1490 +msgid " -t title Set title." +msgstr "" + +#: scheduler/cupsfilter.c:1491 +msgid " -u Remove the PPD file when finished." +msgstr "" + +#: ppdc/ppdc.cxx:441 ppdc/ppdpo.cxx:248 +msgid " -v Be verbose." +msgstr "" + +#: ppdc/ppdc.cxx:442 +msgid " -z Compress PPD files using GNU zip." +msgstr "" + +#: systemv/cupstestppd.c:309 systemv/cupstestppd.c:328 +#: systemv/cupstestppd.c:340 systemv/cupstestppd.c:473 +#: systemv/cupstestppd.c:488 systemv/cupstestppd.c:509 +#: systemv/cupstestppd.c:524 systemv/cupstestppd.c:554 +#: systemv/cupstestppd.c:574 systemv/cupstestppd.c:597 +#: systemv/cupstestppd.c:615 systemv/cupstestppd.c:641 +#: systemv/cupstestppd.c:659 systemv/cupstestppd.c:679 +#: systemv/cupstestppd.c:699 systemv/cupstestppd.c:717 +#: systemv/cupstestppd.c:734 systemv/cupstestppd.c:753 +#: systemv/cupstestppd.c:774 systemv/cupstestppd.c:793 +#: systemv/cupstestppd.c:813 systemv/cupstestppd.c:833 +#: systemv/cupstestppd.c:853 systemv/cupstestppd.c:873 +#: systemv/cupstestppd.c:891 systemv/cupstestppd.c:908 +#: systemv/cupstestppd.c:930 systemv/cupstestppd.c:948 +#: systemv/cupstestppd.c:965 systemv/cupstestppd.c:983 +#: systemv/cupstestppd.c:999 systemv/cupstestppd.c:1019 +#: systemv/cupstestppd.c:1050 systemv/cupstestppd.c:1072 +#: systemv/cupstestppd.c:1123 systemv/cupstestppd.c:1142 +#: systemv/cupstestppd.c:1186 systemv/cupstestppd.c:1200 +#: systemv/cupstestppd.c:1232 systemv/cupstestppd.c:1259 +#: systemv/cupstestppd.c:1777 systemv/cupstestppd.c:1796 +#: systemv/cupstestppd.c:1814 systemv/cupstestppd.c:1866 +#: systemv/cupstestppd.c:1882 systemv/cupstestppd.c:1919 +#: systemv/cupstestppd.c:1937 systemv/cupstestppd.c:1973 +#: systemv/cupstestppd.c:1987 systemv/cupstestppd.c:2014 +#: systemv/cupstestppd.c:2028 systemv/cupstestppd.c:2074 +#: systemv/cupstestppd.c:2096 systemv/cupstestppd.c:2119 +#: systemv/cupstestppd.c:2136 systemv/cupstestppd.c:2178 +#: systemv/cupstestppd.c:2221 systemv/cupstestppd.c:2268 +#: systemv/cupstestppd.c:2292 systemv/cupstestppd.c:2346 +#: systemv/cupstestppd.c:2362 systemv/cupstestppd.c:2384 +#: systemv/cupstestppd.c:2424 systemv/cupstestppd.c:2438 +#: systemv/cupstestppd.c:2464 systemv/cupstestppd.c:2480 +#: systemv/cupstestppd.c:2502 systemv/cupstestppd.c:2552 +#: systemv/cupstestppd.c:2566 systemv/cupstestppd.c:2592 +#: systemv/cupstestppd.c:2608 systemv/cupstestppd.c:2638 +#: systemv/cupstestppd.c:2652 systemv/cupstestppd.c:2679 +#: systemv/cupstestppd.c:2696 systemv/cupstestppd.c:2710 +#: systemv/cupstestppd.c:2734 systemv/cupstestppd.c:2751 +#: systemv/cupstestppd.c:2765 systemv/cupstestppd.c:2789 +#: systemv/cupstestppd.c:2806 systemv/cupstestppd.c:2820 +#: systemv/cupstestppd.c:2844 systemv/cupstestppd.c:2861 +#: systemv/cupstestppd.c:2875 systemv/cupstestppd.c:2899 +#: systemv/cupstestppd.c:2913 systemv/cupstestppd.c:2928 +#: systemv/cupstestppd.c:2945 systemv/cupstestppd.c:3001 +#: systemv/cupstestppd.c:3036 systemv/cupstestppd.c:3050 +#: systemv/cupstestppd.c:3078 systemv/cupstestppd.c:3143 +#: systemv/cupstestppd.c:3158 systemv/cupstestppd.c:3197 +#: systemv/cupstestppd.c:3217 systemv/cupstestppd.c:3231 +#: systemv/cupstestppd.c:3448 systemv/cupstestppd.c:3484 +#: systemv/cupstestppd.c:3498 systemv/cupstestppd.c:3544 +#: systemv/cupstestppd.c:3576 systemv/cupstestppd.c:3593 +#: systemv/cupstestppd.c:3616 systemv/cupstestppd.c:3632 +#: systemv/cupstestppd.c:3670 systemv/cupstestppd.c:3811 +#: systemv/cupstestppd.c:3833 systemv/cupstestppd.c:3937 +msgid " FAIL" +msgstr "" + +#: systemv/cupstestppd.c:1283 +msgid " PASS" +msgstr "" + +#: tools/ippfind.c:2803 +msgid "! expression Unary NOT of expression" +msgstr "" + +#: cups/ipp.c:5045 +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." +msgstr "" + +#: cups/ipp.c:5051 +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." +msgstr "" + +#: cups/ipp.c:4753 +#, c-format +msgid "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#: cups/ipp.c:4747 +#, c-format +msgid "\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." +msgstr "" + +#: cups/ipp.c:4768 +#, c-format +msgid "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." +msgstr "" + +#: cups/ipp.c:5096 +#, c-format +msgid "\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." +msgstr "" + +#: cups/ipp.c:5102 +#, c-format +msgid "\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." +msgstr "" + +#: cups/ipp.c:4845 +#, c-format +msgid "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#: cups/ipp.c:4851 +#, c-format +msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#: cups/ipp.c:4839 +#, c-format +msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." +msgstr "" + +#: cups/ipp.c:4809 +#, c-format +msgid "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." +msgstr "" + +#: cups/ipp.c:4833 +#, c-format +msgid "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#: cups/ipp.c:4815 +#, c-format +msgid "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#: cups/ipp.c:4821 +#, c-format +msgid "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#: cups/ipp.c:4803 +#, c-format +msgid "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." +msgstr "" + +#: cups/ipp.c:4827 +#, c-format +msgid "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#: cups/ipp.c:4779 +#, c-format +msgid "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." +msgstr "" + +#: cups/ipp.c:5032 +#, c-format +msgid "\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#: cups/ipp.c:5026 +#, c-format +msgid "\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section 5.1.4)." +msgstr "" + +#: cups/ipp.c:5187 +#, c-format +msgid "\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section 5.1.10)." +msgstr "" + +#: cups/ipp.c:5194 +#, c-format +msgid "\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section 5.1.10)." +msgstr "" + +#: cups/ipp.c:5001 +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." +msgstr "" + +#: cups/ipp.c:4996 +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section 8.1)." +msgstr "" + +#: cups/ipp.c:5008 +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." +msgstr "" + +#: cups/ipp.c:5142 +#, c-format +msgid "\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section 5.1.9)." +msgstr "" + +#: cups/ipp.c:5149 +#, c-format +msgid "\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section 5.1.9)." +msgstr "" + +#: cups/ipp.c:4790 +#, c-format +msgid "\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." +msgstr "" + +#: cups/ipp.c:4885 +#, c-format +msgid "\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 section 5.1.14)." +msgstr "" + +#: cups/ipp.c:4874 +#, c-format +msgid "\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section 5.1.16)." +msgstr "" + +#: cups/ipp.c:4862 +#, c-format +msgid "\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be positive (RFC 8011 section 5.1.16)." +msgstr "" + +#: cups/ipp.c:4868 +#, c-format +msgid "\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC 8011 section 5.1.16)." +msgstr "" + +#: cups/ipp.c:4946 +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." +msgstr "" + +#: cups/ipp.c:4941 +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section 8.3)." +msgstr "" + +#: cups/ipp.c:4953 +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." +msgstr "" + +#: cups/ipp.c:5072 +#, c-format +msgid "\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." +msgstr "" + +#: cups/ipp.c:5078 +#, c-format +msgid "\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." +msgstr "" + +#: scheduler/ipp.c:365 +msgid "\"requesting-user-name\" attribute in wrong group." +msgstr "" + +#: scheduler/ipp.c:371 scheduler/ipp.c:386 +msgid "\"requesting-user-name\" attribute with wrong syntax." +msgstr "" + +#: berkeley/lpq.c:538 +#, c-format +msgid "%-7s %-7.7s %-7d %-31.31s %.0f bytes" +msgstr "" + +#: cups/dest-localization.c:156 +#, c-format +msgid "%d x %d mm" +msgstr "" + +#: cups/dest-localization.c:148 +#, c-format +msgid "%g x %g \"" +msgstr "" + +#: cups/dest-localization.c:189 cups/dest-localization.c:196 +#, c-format +msgid "%s (%s)" +msgstr "" + +#: cups/dest-localization.c:203 +#, c-format +msgid "%s (%s, %s)" +msgstr "" + +#: cups/dest-localization.c:180 +#, c-format +msgid "%s (Borderless)" +msgstr "" + +#: cups/dest-localization.c:187 cups/dest-localization.c:194 +#, c-format +msgid "%s (Borderless, %s)" +msgstr "" + +#: cups/dest-localization.c:201 +#, c-format +msgid "%s (Borderless, %s, %s)" +msgstr "" + +#: systemv/lpstat.c:806 +#, c-format +msgid "%s accepting requests since %s" +msgstr "" + +#: scheduler/ipp.c:10327 +#, c-format +msgid "%s cannot be changed." +msgstr "" + +#: berkeley/lpc.c:175 +#, c-format +msgid "%s is not implemented by the CUPS version of lpc." +msgstr "" + +#: berkeley/lpq.c:623 +#, c-format +msgid "%s is not ready" +msgstr "" + +#: berkeley/lpq.c:616 +#, c-format +msgid "%s is ready" +msgstr "" + +#: berkeley/lpq.c:619 +#, c-format +msgid "%s is ready and printing" +msgstr "" + +#: filter/rastertoepson.c:999 filter/rastertohp.c:668 +#: filter/rastertolabel.c:1120 +#, c-format +msgid "%s job-id user title copies options [file]" +msgstr "" + +#: systemv/lpstat.c:810 +#, c-format +msgid "%s not accepting requests since %s -" +msgstr "" + +#: scheduler/ipp.c:608 +#, c-format +msgid "%s not supported." +msgstr "" + +#: systemv/lpstat.c:821 +#, c-format +msgid "%s/%s accepting requests since %s" +msgstr "" + +#: systemv/lpstat.c:826 +#, c-format +msgid "%s/%s not accepting requests since %s -" +msgstr "" + +#: berkeley/lpq.c:531 +#, c-format +msgid "%s: %-33.33s [job %d localhost]" +msgstr "" + +#. TRANSLATORS: Message is "subject: error" +#: cups/langprintf.c:70 scheduler/cupsfilter.c:720 systemv/lpadmin.c:795 +#: systemv/lpadmin.c:844 systemv/lpadmin.c:892 systemv/lpadmin.c:945 +#: systemv/lpadmin.c:1043 systemv/lpadmin.c:1095 systemv/lpadmin.c:1136 +#: systemv/lpadmin.c:1150 systemv/lpadmin.c:1599 +#, c-format +msgid "%s: %s" +msgstr "" + +#: systemv/cancel.c:310 systemv/cancel.c:374 +#, c-format +msgid "%s: %s failed: %s" +msgstr "" + +#: systemv/lpadmin.c:1209 +#, c-format +msgid "%s: Bad printer URI \"%s\"." +msgstr "" + +#: tools/ippfind.c:768 tools/ipptool.c:412 +#, c-format +msgid "%s: Bad version %s for \"-V\"." +msgstr "" + +#: systemv/cupsaccept.c:67 +#, c-format +msgid "%s: Don't know what to do." +msgstr "" + +#: berkeley/lpr.c:354 systemv/lp.c:589 +#, c-format +msgid "%s: Error - %s" +msgstr "" + +#: berkeley/lpq.c:233 +#, c-format +msgid "%s: Error - %s environment variable names non-existent destination \"%s\"." +msgstr "" + +#: berkeley/lpq.c:138 berkeley/lpq.c:211 berkeley/lpr.c:234 berkeley/lpr.c:345 +#: systemv/lp.c:160 systemv/lp.c:580 systemv/lp.c:677 systemv/lp.c:727 +#: systemv/lpstat.c:190 systemv/lpstat.c:235 systemv/lpstat.c:368 +#: systemv/lpstat.c:395 systemv/lpstat.c:417 systemv/lpstat.c:477 +#: systemv/lpstat.c:543 systemv/lpstat.c:604 systemv/lpstat.c:727 +#: systemv/lpstat.c:907 systemv/lpstat.c:1164 systemv/lpstat.c:1356 +#: systemv/lpstat.c:1593 +#, c-format +msgid "%s: Error - add '/version=1.1' to server name." +msgstr "" + +#: systemv/lp.c:237 +#, c-format +msgid "%s: Error - bad job ID." +msgstr "" + +#: systemv/lp.c:226 +#, c-format +msgid "%s: Error - cannot print files and alter jobs simultaneously." +msgstr "" + +#: systemv/lp.c:517 +#, c-format +msgid "%s: Error - cannot print from stdin if files or a job ID are provided." +msgstr "" + +#: berkeley/lpr.c:259 systemv/lp.c:279 +#, c-format +msgid "%s: Error - copies must be 1 or more." +msgstr "" + +#: systemv/lp.c:469 +#, c-format +msgid "%s: Error - expected character set after \"-S\" option." +msgstr "" + +#: systemv/lp.c:488 +#, c-format +msgid "%s: Error - expected content type after \"-T\" option." +msgstr "" + +#: berkeley/lpr.c:250 +#, c-format +msgid "%s: Error - expected copies after \"-#\" option." +msgstr "" + +#: systemv/lp.c:270 +#, c-format +msgid "%s: Error - expected copies after \"-n\" option." +msgstr "" + +#: berkeley/lpr.c:212 +#, c-format +msgid "%s: Error - expected destination after \"-P\" option." +msgstr "" + +#: systemv/lp.c:136 +#, c-format +msgid "%s: Error - expected destination after \"-d\" option." +msgstr "" + +#: systemv/lp.c:177 +#, c-format +msgid "%s: Error - expected form after \"-f\" option." +msgstr "" + +#: systemv/lp.c:405 +#, c-format +msgid "%s: Error - expected hold name after \"-H\" option." +msgstr "" + +#: berkeley/lpr.c:109 +#, c-format +msgid "%s: Error - expected hostname after \"-H\" option." +msgstr "" + +#: berkeley/lpq.c:172 berkeley/lprm.c:130 systemv/cancel.c:130 +#: systemv/cupsaccept.c:133 systemv/lp.c:197 systemv/lpstat.c:304 +#, c-format +msgid "%s: Error - expected hostname after \"-h\" option." +msgstr "" + +#: systemv/lp.c:385 +#, c-format +msgid "%s: Error - expected mode list after \"-y\" option." +msgstr "" + +#: berkeley/lpr.c:280 +#, c-format +msgid "%s: Error - expected name after \"-%c\" option." +msgstr "" + +#: berkeley/lpr.c:161 systemv/lp.c:300 +#, c-format +msgid "%s: Error - expected option=value after \"-o\" option." +msgstr "" + +#: systemv/lp.c:448 +#, c-format +msgid "%s: Error - expected page list after \"-P\" option." +msgstr "" + +#: systemv/lp.c:321 +#, c-format +msgid "%s: Error - expected priority after \"-%c\" option." +msgstr "" + +#: systemv/cupsaccept.c:152 +#, c-format +msgid "%s: Error - expected reason text after \"-r\" option." +msgstr "" + +#: systemv/lp.c:366 +#, c-format +msgid "%s: Error - expected title after \"-t\" option." +msgstr "" + +#: berkeley/lpq.c:101 berkeley/lpr.c:89 berkeley/lprm.c:110 +#: systemv/cancel.c:100 systemv/cupsaccept.c:110 systemv/lp.c:113 +#: systemv/lpadmin.c:439 systemv/lpstat.c:129 +#, c-format +msgid "%s: Error - expected username after \"-U\" option." +msgstr "" + +#: systemv/cancel.c:152 +#, c-format +msgid "%s: Error - expected username after \"-u\" option." +msgstr "" + +#: berkeley/lpr.c:134 +#, c-format +msgid "%s: Error - expected value after \"-%c\" option." +msgstr "" + +#: systemv/lpstat.c:149 systemv/lpstat.c:158 +#, c-format +msgid "%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" option." +msgstr "" + +#: berkeley/lpq.c:238 +#, c-format +msgid "%s: Error - no default destination available." +msgstr "" + +#: systemv/lp.c:341 +#, c-format +msgid "%s: Error - priority must be between 1 and 100." +msgstr "" + +#: berkeley/lpr.c:356 systemv/lp.c:591 +#, c-format +msgid "%s: Error - scheduler not responding." +msgstr "" + +#: berkeley/lpr.c:321 systemv/lp.c:549 +#, c-format +msgid "%s: Error - too many files - \"%s\"." +msgstr "" + +#: berkeley/lpr.c:303 systemv/lp.c:532 +#, c-format +msgid "%s: Error - unable to access \"%s\" - %s" +msgstr "" + +#: berkeley/lpr.c:398 systemv/lp.c:621 +#, c-format +msgid "%s: Error - unable to queue from stdin - %s." +msgstr "" + +#: berkeley/lprm.c:92 berkeley/lprm.c:179 systemv/cancel.c:227 +#, c-format +msgid "%s: Error - unknown destination \"%s\"." +msgstr "" + +#: berkeley/lpq.c:140 +#, c-format +msgid "%s: Error - unknown destination \"%s/%s\"." +msgstr "" + +#: berkeley/lpr.c:289 berkeley/lprm.c:145 systemv/cancel.c:168 +#: systemv/cupsaccept.c:161 systemv/lp.c:507 systemv/lpstat.c:487 +#, c-format +msgid "%s: Error - unknown option \"%c\"." +msgstr "" + +#: systemv/lp.c:499 +#, c-format +msgid "%s: Error - unknown option \"%s\"." +msgstr "" + +#: systemv/lp.c:217 +#, c-format +msgid "%s: Expected job ID after \"-i\" option." +msgstr "" + +#: systemv/lpstat.c:547 systemv/lpstat.c:587 +#, c-format +msgid "%s: Invalid destination name in list \"%s\"." +msgstr "" + +#: scheduler/cupsfilter.c:573 +#, c-format +msgid "%s: Invalid filter string \"%s\"." +msgstr "" + +#: tools/ipptool.c:334 +#, c-format +msgid "%s: Missing filename for \"-P\"." +msgstr "" + +#: tools/ippfind.c:740 tools/ipptool.c:371 +#, c-format +msgid "%s: Missing timeout for \"-T\"." +msgstr "" + +#: tools/ippfind.c:753 tools/ipptool.c:385 +#, c-format +msgid "%s: Missing version for \"-V\"." +msgstr "" + +#: systemv/lp.c:425 +#, c-format +msgid "%s: Need job ID (\"-i jobid\") before \"-H restart\"." +msgstr "" + +#: scheduler/cupsfilter.c:445 +#, c-format +msgid "%s: No filter to convert from %s/%s to %s/%s." +msgstr "" + +#: systemv/cupsaccept.c:195 +#, c-format +msgid "%s: Operation failed: %s" +msgstr "" + +#: berkeley/lpq.c:86 berkeley/lpr.c:74 berkeley/lprm.c:71 systemv/cancel.c:85 +#: systemv/cupsaccept.c:95 systemv/lp.c:98 systemv/lpadmin.c:249 +#: systemv/lpinfo.c:192 systemv/lpmove.c:69 systemv/lpstat.c:91 +#: tools/ipptool.c:316 tools/ipptool.c:360 +#, c-format +msgid "%s: Sorry, no encryption support." +msgstr "" + +#: systemv/lpadmin.c:1216 +#, c-format +msgid "%s: Unable to connect to \"%s:%d\": %s" +msgstr "" + +#: berkeley/lpq.c:292 scheduler/cupsfilter.c:1269 systemv/cancel.c:250 +#, c-format +msgid "%s: Unable to connect to server." +msgstr "" + +#: systemv/cancel.c:334 +#, c-format +msgid "%s: Unable to contact server." +msgstr "" + +#: systemv/lpadmin.c:1246 +#, c-format +msgid "%s: Unable to create PPD file: %s" +msgstr "" + +#: scheduler/cupsfilter.c:410 +#, c-format +msgid "%s: Unable to determine MIME type of \"%s\"." +msgstr "" + +#: tools/ipptool.c:277 tools/ipptool.c:343 +#, c-format +msgid "%s: Unable to open \"%s\": %s" +msgstr "" + +#: ppdc/ppdmerge.cxx:86 +#, c-format +msgid "%s: Unable to open %s: %s" +msgstr "" + +#: scheduler/cupsfilter.c:668 ppdc/ppdmerge.cxx:102 +#, c-format +msgid "%s: Unable to open PPD file: %s on line %d." +msgstr "" + +#: systemv/lpadmin.c:1231 +#, c-format +msgid "%s: Unable to query printer: %s" +msgstr "" + +#: scheduler/cupsfilter.c:377 +#, c-format +msgid "%s: Unable to read MIME database from \"%s\" or \"%s\"." +msgstr "" + +#: systemv/lpadmin.c:1200 +#, c-format +msgid "%s: Unable to resolve \"%s\"." +msgstr "" + +#: systemv/lpinfo.c:238 +#, c-format +msgid "%s: Unknown argument \"%s\"." +msgstr "" + +#: berkeley/lpq.c:142 systemv/lpstat.c:608 +#, c-format +msgid "%s: Unknown destination \"%s\"." +msgstr "" + +#: scheduler/cupsfilter.c:422 +#, c-format +msgid "%s: Unknown destination MIME type %s/%s." +msgstr "" + +#: scheduler/cupsfilter.c:1473 systemv/lpinfo.c:231 systemv/lpmove.c:94 +#, c-format +msgid "%s: Unknown option \"%c\"." +msgstr "" + +#: tools/ippeveprinter.c:381 tools/ippeveprinter.c:566 tools/ippfind.c:627 +#, c-format +msgid "%s: Unknown option \"%s\"." +msgstr "" + +#: tools/ippeveprinter.c:555 tools/ippfind.c:919 tools/ipptool.c:606 +#, c-format +msgid "%s: Unknown option \"-%c\"." +msgstr "" + +#: scheduler/cupsfilter.c:402 +#, c-format +msgid "%s: Unknown source MIME type %s/%s." +msgstr "" + +#: berkeley/lpr.c:147 +#, c-format +msgid "%s: Warning - \"%c\" format modifier not supported - output may not be correct." +msgstr "" + +#: systemv/lp.c:474 +#, c-format +msgid "%s: Warning - character set option ignored." +msgstr "" + +#: systemv/lp.c:493 +#, c-format +msgid "%s: Warning - content type option ignored." +msgstr "" + +#: systemv/lp.c:182 +#, c-format +msgid "%s: Warning - form option ignored." +msgstr "" + +#: systemv/lp.c:390 +#, c-format +msgid "%s: Warning - mode option ignored." +msgstr "" + +#: tools/ippfind.c:2802 +msgid "( expressions ) Group expressions" +msgstr "" + +#: berkeley/lprm.c:233 +msgid "- Cancel all jobs" +msgstr "" + +#: berkeley/lpr.c:432 +msgid "-# num-copies Specify the number of copies to print" +msgstr "" + +#: systemv/cupsctl.c:236 +msgid "--[no-]debug-logging Turn debug logging on/off" +msgstr "" + +#: systemv/cupsctl.c:237 +msgid "--[no-]remote-admin Turn remote administration on/off" +msgstr "" + +#: systemv/cupsctl.c:238 +msgid "--[no-]remote-any Allow/prevent access from the Internet" +msgstr "" + +#: systemv/cupsctl.c:239 +msgid "--[no-]share-printers Turn printer sharing on/off" +msgstr "" + +#: systemv/cupsctl.c:240 +msgid "--[no-]user-cancel-any Allow/prevent users to cancel any job" +msgstr "" + +#: systemv/lpinfo.c:504 +msgid "--device-id device-id Show models matching the given IEEE 1284 device ID" +msgstr "" + +#: tools/ippfind.c:2785 +msgid "--domain regex Match domain to regular expression" +msgstr "" + +#: systemv/lpinfo.c:505 +msgid "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" +msgstr "" + +#: tools/ippfind.c:2786 +msgid "" +"--exec utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +#: tools/ippfind.c:2805 +msgid "--false Always false" +msgstr "" + +#: tools/ippeveprinter.c:7665 +msgid "--help Show program help" +msgstr "" + +#: systemv/cupsaccept.c:249 +msgid "--hold Hold new jobs" +msgstr "" + +#: tools/ippfind.c:2788 +msgid "--host regex Match hostname to regular expression" +msgstr "" + +#: systemv/lpinfo.c:507 +msgid "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" +msgstr "" + +#: tools/ipptool.c:4308 +msgid "--ippserver filename Produce ippserver attribute file" +msgstr "" + +#: systemv/lpinfo.c:509 +msgid "--language locale Show models matching the given locale" +msgstr "" + +#: tools/ippfind.c:2790 +msgid "--local True if service is local" +msgstr "" + +#: tools/ippfind.c:2789 +msgid "--ls List attributes" +msgstr "" + +#: systemv/lpinfo.c:510 +msgid "--make-and-model name Show models matching the given make and model name" +msgstr "" + +#: tools/ippfind.c:2791 +msgid "--name regex Match service name to regular expression" +msgstr "" + +#: tools/ippeveprinter.c:7666 +msgid "--no-web-forms Disable web forms for media and supplies" +msgstr "" + +#: tools/ippfind.c:2804 +msgid "--not expression Unary NOT of expression" +msgstr "" + +#: tools/ippfind.c:2792 +msgid "--path regex Match resource path to regular expression" +msgstr "" + +#: tools/ippfind.c:2793 +msgid "--port number[-number] Match port to number or range" +msgstr "" + +#: tools/ippfind.c:2794 +msgid "--print Print URI if true" +msgstr "" + +#: tools/ippfind.c:2795 +msgid "--print-name Print service name if true" +msgstr "" + +#: systemv/lpinfo.c:511 +msgid "--product name Show models matching the given PostScript product" +msgstr "" + +#: tools/ippfind.c:2796 +msgid "--quiet Quietly report match via exit code" +msgstr "" + +#: systemv/cupsaccept.c:251 +msgid "--release Release previously held jobs" +msgstr "" + +#: tools/ippfind.c:2797 +msgid "--remote True if service is remote" +msgstr "" + +#: tools/ipptool.c:4309 +msgid "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" +msgstr "" + +#: systemv/lpinfo.c:512 +msgid "--timeout seconds Specify the maximum number of seconds to discover devices" +msgstr "" + +#: tools/ippfind.c:2806 +msgid "--true Always true" +msgstr "" + +#: tools/ippfind.c:2798 +msgid "--txt key True if the TXT record contains the key" +msgstr "" + +#: tools/ippfind.c:2799 +msgid "--txt-* regex Match TXT record key to regular expression" +msgstr "" + +#: tools/ippfind.c:2800 +msgid "--uri regex Match URI to regular expression" +msgstr "" + +#: tools/ippeveprinter.c:7667 tools/ippfind.c:2770 +msgid "--version Show program version" +msgstr "" + +#: tools/ipptool.c:4311 +msgid "--version Show version" +msgstr "" + +#: ppdc/sample.c:305 +msgid "-1" +msgstr "" + +#: ppdc/sample.c:296 +msgid "-10" +msgstr "" + +#: ppdc/sample.c:388 +msgid "-100" +msgstr "" + +#: ppdc/sample.c:387 +msgid "-105" +msgstr "" + +#: ppdc/sample.c:295 +msgid "-11" +msgstr "" + +#: ppdc/sample.c:386 +msgid "-110" +msgstr "" + +#: ppdc/sample.c:385 +msgid "-115" +msgstr "" + +#: ppdc/sample.c:294 +msgid "-12" +msgstr "" + +#: ppdc/sample.c:384 +msgid "-120" +msgstr "" + +#: ppdc/sample.c:293 +msgid "-13" +msgstr "" + +#: ppdc/sample.c:292 +msgid "-14" +msgstr "" + +#: ppdc/sample.c:291 +msgid "-15" +msgstr "" + +#: ppdc/sample.c:304 +msgid "-2" +msgstr "" + +#: tools/ippeveprinter.c:7668 +msgid "-2 Set 2-sided printing support (default=1-sided)" +msgstr "" + +#: ppdc/sample.c:404 +msgid "-20" +msgstr "" + +#: ppdc/sample.c:403 +msgid "-25" +msgstr "" + +#: ppdc/sample.c:303 +msgid "-3" +msgstr "" + +#: ppdc/sample.c:402 +msgid "-30" +msgstr "" + +#: ppdc/sample.c:401 +msgid "-35" +msgstr "" + +#: ppdc/sample.c:302 +msgid "-4" +msgstr "" + +#: tools/ippfind.c:2766 tools/ipptool.c:4312 +msgid "-4 Connect using IPv4" +msgstr "" + +#: ppdc/sample.c:400 +msgid "-40" +msgstr "" + +#: ppdc/sample.c:399 +msgid "-45" +msgstr "" + +#: ppdc/sample.c:301 +msgid "-5" +msgstr "" + +#: ppdc/sample.c:398 +msgid "-50" +msgstr "" + +#: ppdc/sample.c:397 +msgid "-55" +msgstr "" + +#: ppdc/sample.c:300 +msgid "-6" +msgstr "" + +#: tools/ippfind.c:2767 tools/ipptool.c:4313 +msgid "-6 Connect using IPv6" +msgstr "" + +#: ppdc/sample.c:396 +msgid "-60" +msgstr "" + +#: ppdc/sample.c:395 +msgid "-65" +msgstr "" + +#: ppdc/sample.c:299 +msgid "-7" +msgstr "" + +#: ppdc/sample.c:394 +msgid "-70" +msgstr "" + +#: ppdc/sample.c:393 +msgid "-75" +msgstr "" + +#: ppdc/sample.c:298 +msgid "-8" +msgstr "" + +#: ppdc/sample.c:392 +msgid "-80" +msgstr "" + +#: ppdc/sample.c:391 +msgid "-85" +msgstr "" + +#: ppdc/sample.c:297 +msgid "-9" +msgstr "" + +#: ppdc/sample.c:390 +msgid "-90" +msgstr "" + +#: ppdc/sample.c:389 +msgid "-95" +msgstr "" + +#: tools/ipptool.c:4314 +msgid "-C Send requests using chunking (default)" +msgstr "" + +#: systemv/lpadmin.c:1623 +msgid "-D description Specify the textual description of the printer" +msgstr "" + +#: tools/ippeveprinter.c:7669 +msgid "-D device-uri Set the device URI for the printer" +msgstr "" + +#: systemv/lpadmin.c:1625 +msgid "-E Enable and accept jobs on the printer (after -p)" +msgstr "" + +#: berkeley/lpq.c:644 berkeley/lpr.c:433 berkeley/lprm.c:234 +#: systemv/cancel.c:403 systemv/cupsaccept.c:244 systemv/cupsctl.c:233 +#: systemv/lp.c:752 systemv/lpadmin.c:1624 systemv/lpinfo.c:498 +#: systemv/lpmove.c:217 systemv/lpoptions.c:540 systemv/lpstat.c:2045 +msgid "-E Encrypt the connection to the server" +msgstr "" + +#: tools/ipptool.c:4315 +msgid "-E Test with encryption using HTTP Upgrade to TLS" +msgstr "" + +#: scheduler/main.c:2136 +msgid "-F Run in the foreground but detach from console." +msgstr "" + +#: tools/ippeveprinter.c:7670 +msgid "-F output-type/subtype Set the output format for the printer" +msgstr "" + +#: systemv/lpstat.c:2050 +msgid "-H Show the default server and port" +msgstr "" + +#: systemv/lp.c:754 +msgid "-H HH:MM Hold the job until the specified UTC time" +msgstr "" + +#: systemv/lp.c:755 +msgid "-H hold Hold the job until released/resumed" +msgstr "" + +#: systemv/lp.c:756 +msgid "-H immediate Print the job as soon as possible" +msgstr "" + +#: systemv/lp.c:757 +msgid "-H restart Reprint the job" +msgstr "" + +#: systemv/lp.c:758 +msgid "-H resume Resume a held job" +msgstr "" + +#: berkeley/lpr.c:434 +msgid "-H server[:port] Connect to the named server and port" +msgstr "" + +#: tools/ipptool.c:4316 +msgid "-I Ignore errors" +msgstr "" + +#: systemv/cupstestppd.c:3858 +msgid "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" +msgstr "" + +#: tools/ippeveprinter.c:7672 +msgid "-K keypath Set location of server X.509 certificates and keys." +msgstr "" + +#: tools/ipptool.c:4317 +msgid "-L Send requests using content-length" +msgstr "" + +#: systemv/lpadmin.c:1628 +msgid "-L location Specify the textual location of the printer" +msgstr "" + +#: tools/ippeveprinter.c:7674 +msgid "-M manufacturer Set manufacturer name (default=Test)" +msgstr "" + +#: berkeley/lpq.c:647 +msgid "-P destination Show status for the specified destination" +msgstr "" + +#: berkeley/lpr.c:450 berkeley/lprm.c:236 +msgid "-P destination Specify the destination" +msgstr "" + +#: tools/ipptool.c:4318 +msgid "-P filename.plist Produce XML plist to a file and test report to standard output" +msgstr "" + +#: tools/ippeveprinter.c:7675 +msgid "-P filename.ppd Load printer attributes from PPD file" +msgstr "" + +#: tools/ippfind.c:2772 +msgid "-P number[-number] Match port to number or range" +msgstr "" + +#: systemv/lp.c:774 +msgid "-P page-list Specify a list of pages to print" +msgstr "" + +#: systemv/lpstat.c:2060 +msgid "-R Show the ranking of jobs" +msgstr "" + +#: systemv/lpadmin.c:1648 +msgid "-R name-default Remove the default value for the named option" +msgstr "" + +#: systemv/cupstestppd.c:3860 +msgid "-R root-directory Set alternate root" +msgstr "" + +#: tools/ipptool.c:4319 +msgid "-S Test with encryption using HTTPS" +msgstr "" + +#: tools/ippfind.c:2768 +msgid "-T seconds Set the browse timeout in seconds" +msgstr "" + +#: tools/ipptool.c:4320 +msgid "-T seconds Set the receive/send timeout in seconds" +msgstr "" + +#: berkeley/lpr.c:451 +msgid "-T title Specify the job title" +msgstr "" + +#: berkeley/lpq.c:648 berkeley/lpr.c:452 berkeley/lprm.c:237 +#: systemv/cancel.c:406 systemv/cupsaccept.c:247 systemv/lp.c:778 +#: systemv/lpadmin.c:1652 systemv/lpinfo.c:502 systemv/lpmove.c:219 +#: systemv/lpoptions.c:545 systemv/lpstat.c:2048 +msgid "-U username Specify the username to use for authentication" +msgstr "" + +#: systemv/cupsctl.c:235 +msgid "-U username Specify username to use for authentication" +msgstr "" + +#: tools/ippeveprinter.c:7676 tools/ippfind.c:2769 tools/ipptool.c:4321 +msgid "-V version Set default IPP version" +msgstr "" + +#: systemv/lpstat.c:2051 +msgid "-W completed Show completed jobs" +msgstr "" + +#: systemv/lpstat.c:2052 +msgid "-W not-completed Show pending jobs" +msgstr "" + +#: systemv/cupstestppd.c:3861 +msgid "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes,translations}\n" +" Issue warnings instead of errors" +msgstr "" + +#: tools/ipptool.c:4322 +msgid "-X Produce XML plist instead of plain text" +msgstr "" + +#: systemv/cancel.c:402 +msgid "-a Cancel all jobs" +msgstr "" + +#: berkeley/lpq.c:643 +msgid "-a Show jobs on all destinations" +msgstr "" + +#: systemv/lpstat.c:2053 +msgid "-a [destination(s)] Show the accepting state of destinations" +msgstr "" + +#: tools/ippeveprinter.c:7677 +msgid "-a filename.conf Load printer attributes from conf file" +msgstr "" + +#: systemv/lp.c:751 +msgid "-c Make a copy of the print file(s)" +msgstr "" + +#: tools/ipptool.c:4323 +msgid "-c Produce CSV output" +msgstr "" + +#: systemv/lpstat.c:2054 +msgid "-c [class(es)] Show classes and their member printers" +msgstr "" + +#: systemv/lpadmin.c:1621 +msgid "-c class Add the named destination to a class" +msgstr "" + +#: tools/ippeveprinter.c:7678 +msgid "-c command Set print command" +msgstr "" + +#: scheduler/main.c:2134 +msgid "-c cupsd.conf Set cupsd.conf file to use." +msgstr "" + +#: systemv/lpstat.c:2055 +msgid "-d Show the default destination" +msgstr "" + +#: systemv/lpoptions.c:539 +msgid "-d destination Set default destination" +msgstr "" + +#: systemv/lpadmin.c:1622 +msgid "-d destination Set the named destination as the server default" +msgstr "" + +#: tools/ipptool.c:4324 +msgid "-d name=value Set named variable to value" +msgstr "" + +#: tools/ippfind.c:2773 +msgid "-d regex Match domain to regular expression" +msgstr "" + +#: tools/ippeveprinter.c:7679 +msgid "-d spool-directory Set spool directory" +msgstr "" + +#: systemv/lpstat.c:2056 +msgid "-e Show available destinations on the network" +msgstr "" + +#: scheduler/main.c:2135 +msgid "-f Run in the foreground." +msgstr "" + +#: tools/ipptool.c:4325 +msgid "-f filename Set default request filename" +msgstr "" + +#: tools/ippeveprinter.c:7680 +msgid "-f type/subtype[,...] Set supported file types" +msgstr "" + +#: scheduler/main.c:2137 +msgid "-h Show this usage message." +msgstr "" + +#: tools/ipptool.c:4326 +msgid "-h Validate HTTP response headers" +msgstr "" + +#: tools/ippfind.c:2774 +msgid "-h regex Match hostname to regular expression" +msgstr "" + +#: berkeley/lpq.c:645 berkeley/lprm.c:235 systemv/cancel.c:404 +#: systemv/cupsaccept.c:245 systemv/cupsctl.c:234 systemv/lp.c:753 +#: systemv/lpadmin.c:1626 systemv/lpinfo.c:499 systemv/lpmove.c:218 +#: systemv/lpoptions.c:541 systemv/lpstat.c:2046 +msgid "-h server[:port] Connect to the named server and port" +msgstr "" + +#: tools/ippeveprinter.c:7681 +msgid "-i iconfile.png Set icon file" +msgstr "" + +#: systemv/lp.c:759 +msgid "-i id Specify an existing job ID to modify" +msgstr "" + +#: systemv/lpadmin.c:1627 +msgid "-i ppd-file Specify a PPD file for the printer" +msgstr "" + +#: tools/ipptool.c:4327 +msgid "-i seconds Repeat the last file with the given time interval" +msgstr "" + +#: tools/ippeveprinter.c:7682 +msgid "-k Keep job spool files" +msgstr "" + +#: tools/ippfind.c:2775 +msgid "-l List attributes" +msgstr "" + +#: tools/ipptool.c:4328 +msgid "-l Produce plain text output" +msgstr "" + +#: scheduler/main.c:2139 +msgid "-l Run cupsd on demand." +msgstr "" + +#: systemv/lpoptions.c:542 +msgid "-l Show supported options and values" +msgstr "" + +#: berkeley/lpq.c:646 systemv/lpinfo.c:500 systemv/lpstat.c:2047 +msgid "-l Show verbose (long) output" +msgstr "" + +#: tools/ippeveprinter.c:7683 +msgid "-l location Set location of printer" +msgstr "" + +#: berkeley/lpr.c:435 systemv/lp.c:760 +msgid "-m Send an email notification when the job completes" +msgstr "" + +#: systemv/lpinfo.c:501 +msgid "-m Show models" +msgstr "" + +#: systemv/lpadmin.c:1630 +msgid "-m everywhere Specify the printer is compatible with IPP Everywhere" +msgstr "" + +#: tools/ippeveprinter.c:7684 +msgid "-m model Set model name (default=Printer)" +msgstr "" + +#: systemv/lpadmin.c:1629 +msgid "-m model Specify a standard model/PPD file for the printer" +msgstr "" + +#: tools/ipptool.c:4329 +msgid "-n count Repeat the last file the given number of times" +msgstr "" + +#: tools/ippeveprinter.c:7685 +msgid "-n hostname Set hostname for printer" +msgstr "" + +#: systemv/lp.c:761 +msgid "-n num-copies Specify the number of copies to print" +msgstr "" + +#: tools/ippfind.c:2776 +msgid "-n regex Match service name to regular expression" +msgstr "" + +#: systemv/lpadmin.c:1632 +msgid "-o Name=Value Specify the default value for the named PPD option " +msgstr "" + +#: systemv/lpstat.c:2057 +msgid "-o [destination(s)] Show jobs" +msgstr "" + +#: systemv/lpadmin.c:1633 +msgid "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" +msgstr "" + +#: systemv/lpadmin.c:1635 +msgid "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" +msgstr "" + +#: systemv/lpadmin.c:1637 +msgid "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" +msgstr "" + +#: systemv/lpadmin.c:1638 +msgid "-o job-page-limit=N Specify the page limit for per-user quotas" +msgstr "" + +#: systemv/lpadmin.c:1639 +msgid "-o job-quota-period=N Specify the per-user quota period in seconds" +msgstr "" + +#: berkeley/lpr.c:437 systemv/lp.c:763 +msgid "-o job-sheets=standard Print a banner page with the job" +msgstr "" + +#: berkeley/lpr.c:438 systemv/lp.c:764 +msgid "-o media=size Specify the media size to use" +msgstr "" + +#: systemv/lpadmin.c:1631 +msgid "-o name-default=value Specify the default value for the named option" +msgstr "" + +#: systemv/lpoptions.c:543 +msgid "-o name[=value] Set default option and value" +msgstr "" + +#: berkeley/lpr.c:439 systemv/lp.c:765 +msgid "-o number-up=N Specify that input pages should be printed N-up (1, 2, 4, 6, 9, and 16 are supported)" +msgstr "" + +#: berkeley/lpr.c:436 systemv/lp.c:762 +msgid "-o option[=value] Specify a printer-specific option" +msgstr "" + +#: berkeley/lpr.c:440 systemv/lp.c:766 +msgid "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" +msgstr "" + +#: berkeley/lpr.c:442 systemv/lp.c:768 +msgid "-o print-quality=N Specify the print quality - draft (3), normal (4), or best (5)" +msgstr "" + +#: systemv/lpadmin.c:1640 +msgid "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" +msgstr "" + +#: systemv/lpadmin.c:1642 +msgid "" +"-o printer-is-shared=true\n" +" Share the printer" +msgstr "" + +#: systemv/lpadmin.c:1644 +msgid "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" +msgstr "" + +#: berkeley/lpr.c:443 systemv/lp.c:769 +msgid "-o sides=one-sided Specify 1-sided printing" +msgstr "" + +#: berkeley/lpr.c:444 systemv/lp.c:770 +msgid "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" +msgstr "" + +#: berkeley/lpr.c:446 systemv/lp.c:772 +msgid "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" +msgstr "" + +#: tools/ippfind.c:2777 +msgid "-p Print URI if true" +msgstr "" + +#: systemv/lpstat.c:2058 +msgid "-p [printer(s)] Show the processing state of destinations" +msgstr "" + +#: systemv/lpoptions.c:544 +msgid "-p destination Specify a destination" +msgstr "" + +#: systemv/lpadmin.c:1646 +msgid "-p destination Specify/add the named destination" +msgstr "" + +#: tools/ippeveprinter.c:7686 +msgid "-p port Set port number for printer" +msgstr "" + +#: tools/ippfind.c:2778 +msgid "-q Quietly report match via exit code" +msgstr "" + +#: systemv/cupstestppd.c:3863 tools/ipptool.c:4330 +msgid "-q Run silently" +msgstr "" + +#: berkeley/lpr.c:448 +msgid "-q Specify the job should be held for printing" +msgstr "" + +#: systemv/lp.c:775 +msgid "-q priority Specify the priority from low (1) to high (100)" +msgstr "" + +#: berkeley/lpr.c:449 +msgid "-r Remove the file(s) after submission" +msgstr "" + +#: systemv/lpstat.c:2059 +msgid "-r Show whether the CUPS server is running" +msgstr "" + +#: tools/ippfind.c:2779 +msgid "-r True if service is remote" +msgstr "" + +#: systemv/cupstestppd.c:3864 +msgid "-r Use 'relaxed' open mode" +msgstr "" + +#: systemv/lpadmin.c:1647 +msgid "-r class Remove the named destination from a class" +msgstr "" + +#: systemv/cupsaccept.c:246 +msgid "-r reason Specify a reason message that others can see" +msgstr "" + +#: tools/ippeveprinter.c:7687 +msgid "-r subtype,[subtype] Set DNS-SD service subtype" +msgstr "" + +#: systemv/lp.c:776 +msgid "-s Be silent" +msgstr "" + +#: tools/ippfind.c:2780 +msgid "-s Print service name if true" +msgstr "" + +#: systemv/lpstat.c:2061 +msgid "-s Show a status summary" +msgstr "" + +#: scheduler/main.c:2141 +msgid "-s cups-files.conf Set cups-files.conf file to use." +msgstr "" + +#: tools/ippeveprinter.c:7688 +msgid "-s speed[,color-speed] Set speed in pages per minute" +msgstr "" + +#: tools/ipptool.c:4331 +msgid "-t Produce a test report" +msgstr "" + +#: systemv/lpstat.c:2062 +msgid "-t Show all status information" +msgstr "" + +#: scheduler/main.c:2142 +msgid "-t Test the configuration file." +msgstr "" + +#: tools/ippfind.c:2781 +msgid "-t key True if the TXT record contains the key" +msgstr "" + +#: systemv/lp.c:777 +msgid "-t title Specify the job title" +msgstr "" + +#: systemv/lpstat.c:2063 +msgid "-u [user(s)] Show jobs queued by the current or specified users" +msgstr "" + +#: systemv/lpadmin.c:1649 +msgid "-u allow:all Allow all users to print" +msgstr "" + +#: systemv/lpadmin.c:1650 +msgid "-u allow:list Allow the list of users or groups (@name) to print" +msgstr "" + +#: systemv/lpadmin.c:1651 +msgid "-u deny:list Prevent the list of users or groups (@name) to print" +msgstr "" + +#: systemv/cancel.c:405 +msgid "-u owner Specify the owner to use for jobs" +msgstr "" + +#: tools/ippfind.c:2782 +msgid "-u regex Match URI to regular expression" +msgstr "" + +#: systemv/cupstestppd.c:3865 tools/ippeveprinter.c:7689 tools/ipptool.c:4332 +msgid "-v Be verbose" +msgstr "" + +#: systemv/lpinfo.c:503 +msgid "-v Show devices" +msgstr "" + +#: systemv/lpstat.c:2064 +msgid "-v [printer(s)] Show the devices for each destination" +msgstr "" + +#: systemv/lpadmin.c:1653 +msgid "-v device-uri Specify the device URI for the printer" +msgstr "" + +#: systemv/cupstestppd.c:3866 +msgid "-vv Be very verbose" +msgstr "" + +#: systemv/cancel.c:407 +msgid "-x Purge jobs rather than just canceling" +msgstr "" + +#: systemv/lpoptions.c:546 +msgid "-x destination Remove default options for destination" +msgstr "" + +#: systemv/lpadmin.c:1654 +msgid "-x destination Remove the named destination" +msgstr "" + +#: tools/ippfind.c:2783 +msgid "" +"-x utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +#: cups/dest.c:1868 +msgid "/etc/cups/lpoptions file names default destination that does not exist." +msgstr "" + +#: ppdc/sample.c:306 +msgid "0" +msgstr "" + +#: ppdc/sample.c:307 +msgid "1" +msgstr "" + +#: ppdc/sample.c:379 +msgid "1 inch/sec." +msgstr "" + +#: ppdc/sample.c:172 +msgid "1.25x0.25\"" +msgstr "" + +#: ppdc/sample.c:173 +msgid "1.25x2.25\"" +msgstr "" + +#: ppdc/sample.c:427 +msgid "1.5 inch/sec." +msgstr "" + +#: ppdc/sample.c:174 +msgid "1.50x0.25\"" +msgstr "" + +#: ppdc/sample.c:175 +msgid "1.50x0.50\"" +msgstr "" + +#: ppdc/sample.c:176 +msgid "1.50x1.00\"" +msgstr "" + +#: ppdc/sample.c:177 +msgid "1.50x2.00\"" +msgstr "" + +#: ppdc/sample.c:316 +msgid "10" +msgstr "" + +#: ppdc/sample.c:438 +msgid "10 inches/sec." +msgstr "" + +#: ppdc/sample.c:6 +msgid "10 x 11" +msgstr "" + +#: ppdc/sample.c:7 +msgid "10 x 13" +msgstr "" + +#: ppdc/sample.c:8 +msgid "10 x 14" +msgstr "" + +#: ppdc/sample.c:418 +msgid "100" +msgstr "" + +#: ppdc/sample.c:329 +msgid "100 mm/sec." +msgstr "" + +#: ppdc/sample.c:419 +msgid "105" +msgstr "" + +#: ppdc/sample.c:317 +msgid "11" +msgstr "" + +#: ppdc/sample.c:439 +msgid "11 inches/sec." +msgstr "" + +#: ppdc/sample.c:420 +msgid "110" +msgstr "" + +#: ppdc/sample.c:421 +msgid "115" +msgstr "" + +#: ppdc/sample.c:318 +msgid "12" +msgstr "" + +#: ppdc/sample.c:440 +msgid "12 inches/sec." +msgstr "" + +#: ppdc/sample.c:9 +msgid "12 x 11" +msgstr "" + +#: ppdc/sample.c:422 +msgid "120" +msgstr "" + +#: ppdc/sample.c:330 +msgid "120 mm/sec." +msgstr "" + +#: ppdc/sample.c:243 +msgid "120x60dpi" +msgstr "" + +#: ppdc/sample.c:249 +msgid "120x72dpi" +msgstr "" + +#: ppdc/sample.c:319 +msgid "13" +msgstr "" + +#: ppdc/sample.c:232 +msgid "136dpi" +msgstr "" + +#: ppdc/sample.c:320 +msgid "14" +msgstr "" + +#: ppdc/sample.c:321 +msgid "15" +msgstr "" + +#: ppdc/sample.c:323 +msgid "15 mm/sec." +msgstr "" + +#: ppdc/sample.c:10 +msgid "15 x 11" +msgstr "" + +#: ppdc/sample.c:331 +msgid "150 mm/sec." +msgstr "" + +#: ppdc/sample.c:278 +msgid "150dpi" +msgstr "" + +#: ppdc/sample.c:363 +msgid "16" +msgstr "" + +#: ppdc/sample.c:364 +msgid "17" +msgstr "" + +#: ppdc/sample.c:365 +msgid "18" +msgstr "" + +#: ppdc/sample.c:244 +msgid "180dpi" +msgstr "" + +#: ppdc/sample.c:366 +msgid "19" +msgstr "" + +#: ppdc/sample.c:308 +msgid "2" +msgstr "" + +#: ppdc/sample.c:380 +msgid "2 inches/sec." +msgstr "" + +#: cups/ppd-cache.c:3872 ppdc/sample.c:262 +msgid "2-Sided Printing" +msgstr "" + +#: ppdc/sample.c:178 +msgid "2.00x0.37\"" +msgstr "" + +#: ppdc/sample.c:179 +msgid "2.00x0.50\"" +msgstr "" + +#: ppdc/sample.c:180 +msgid "2.00x1.00\"" +msgstr "" + +#: ppdc/sample.c:181 +msgid "2.00x1.25\"" +msgstr "" + +#: ppdc/sample.c:182 +msgid "2.00x2.00\"" +msgstr "" + +#: ppdc/sample.c:183 +msgid "2.00x3.00\"" +msgstr "" + +#: ppdc/sample.c:184 +msgid "2.00x4.00\"" +msgstr "" + +#: ppdc/sample.c:185 +msgid "2.00x5.50\"" +msgstr "" + +#: ppdc/sample.c:186 +msgid "2.25x0.50\"" +msgstr "" + +#: ppdc/sample.c:187 +msgid "2.25x1.25\"" +msgstr "" + +#: ppdc/sample.c:188 +msgid "2.25x4.00\"" +msgstr "" + +#: ppdc/sample.c:189 +msgid "2.25x5.50\"" +msgstr "" + +#: ppdc/sample.c:190 +msgid "2.38x5.50\"" +msgstr "" + +#: ppdc/sample.c:428 +msgid "2.5 inches/sec." +msgstr "" + +#: ppdc/sample.c:191 +msgid "2.50x1.00\"" +msgstr "" + +#: ppdc/sample.c:192 +msgid "2.50x2.00\"" +msgstr "" + +#: ppdc/sample.c:193 +msgid "2.75x1.25\"" +msgstr "" + +#: ppdc/sample.c:194 +msgid "2.9 x 1\"" +msgstr "" + +#: ppdc/sample.c:367 +msgid "20" +msgstr "" + +#: ppdc/sample.c:324 +msgid "20 mm/sec." +msgstr "" + +#: ppdc/sample.c:332 +msgid "200 mm/sec." +msgstr "" + +#: ppdc/sample.c:233 +msgid "203dpi" +msgstr "" + +#: ppdc/sample.c:368 +msgid "21" +msgstr "" + +#: ppdc/sample.c:369 +msgid "22" +msgstr "" + +#: ppdc/sample.c:370 +msgid "23" +msgstr "" + +#: ppdc/sample.c:371 +msgid "24" +msgstr "" + +#: ppdc/sample.c:241 +msgid "24-Pin Series" +msgstr "" + +#: ppdc/sample.c:250 +msgid "240x72dpi" +msgstr "" + +#: ppdc/sample.c:372 +msgid "25" +msgstr "" + +#: ppdc/sample.c:333 +msgid "250 mm/sec." +msgstr "" + +#: ppdc/sample.c:373 +msgid "26" +msgstr "" + +#: ppdc/sample.c:374 +msgid "27" +msgstr "" + +#: ppdc/sample.c:375 +msgid "28" +msgstr "" + +#: ppdc/sample.c:376 +msgid "29" +msgstr "" + +#: ppdc/sample.c:309 +msgid "3" +msgstr "" + +#: ppdc/sample.c:381 +msgid "3 inches/sec." +msgstr "" + +#: ppdc/sample.c:3 +msgid "3 x 5" +msgstr "" + +#: ppdc/sample.c:195 +msgid "3.00x1.00\"" +msgstr "" + +#: ppdc/sample.c:196 +msgid "3.00x1.25\"" +msgstr "" + +#: ppdc/sample.c:197 +msgid "3.00x2.00\"" +msgstr "" + +#: ppdc/sample.c:198 +msgid "3.00x3.00\"" +msgstr "" + +#: ppdc/sample.c:199 +msgid "3.00x5.00\"" +msgstr "" + +#: ppdc/sample.c:200 +msgid "3.25x2.00\"" +msgstr "" + +#: ppdc/sample.c:201 +msgid "3.25x5.00\"" +msgstr "" + +#: ppdc/sample.c:202 +msgid "3.25x5.50\"" +msgstr "" + +#: ppdc/sample.c:203 +msgid "3.25x5.83\"" +msgstr "" + +#: ppdc/sample.c:204 +msgid "3.25x7.83\"" +msgstr "" + +#: ppdc/sample.c:4 +msgid "3.5 x 5" +msgstr "" + +#: ppdc/sample.c:171 +msgid "3.5\" Disk" +msgstr "" + +#: ppdc/sample.c:205 +msgid "3.50x1.00\"" +msgstr "" + +#: ppdc/sample.c:377 +msgid "30" +msgstr "" + +#: ppdc/sample.c:325 +msgid "30 mm/sec." +msgstr "" + +#: ppdc/sample.c:334 +msgid "300 mm/sec." +msgstr "" + +#: ppdc/sample.c:234 +msgid "300dpi" +msgstr "" + +#: ppdc/sample.c:405 +msgid "35" +msgstr "" + +#: ppdc/sample.c:246 +msgid "360dpi" +msgstr "" + +#: ppdc/sample.c:245 +msgid "360x180dpi" +msgstr "" + +#: ppdc/sample.c:310 +msgid "4" +msgstr "" + +#: ppdc/sample.c:382 +msgid "4 inches/sec." +msgstr "" + +#: ppdc/sample.c:206 +msgid "4.00x1.00\"" +msgstr "" + +#: ppdc/sample.c:214 +msgid "4.00x13.00\"" +msgstr "" + +#: ppdc/sample.c:207 +msgid "4.00x2.00\"" +msgstr "" + +#: ppdc/sample.c:208 +msgid "4.00x2.50\"" +msgstr "" + +#: ppdc/sample.c:209 +msgid "4.00x3.00\"" +msgstr "" + +#: ppdc/sample.c:210 +msgid "4.00x4.00\"" +msgstr "" + +#: ppdc/sample.c:211 +msgid "4.00x5.00\"" +msgstr "" + +#: ppdc/sample.c:212 +msgid "4.00x6.00\"" +msgstr "" + +#: ppdc/sample.c:213 +msgid "4.00x6.50\"" +msgstr "" + +#: ppdc/sample.c:406 +msgid "40" +msgstr "" + +#: ppdc/sample.c:326 +msgid "40 mm/sec." +msgstr "" + +#: ppdc/sample.c:407 +msgid "45" +msgstr "" + +#: ppdc/sample.c:311 +msgid "5" +msgstr "" + +#: ppdc/sample.c:432 +msgid "5 inches/sec." +msgstr "" + +#: ppdc/sample.c:5 +msgid "5 x 7" +msgstr "" + +#: ppdc/sample.c:408 +msgid "50" +msgstr "" + +#: ppdc/sample.c:409 +msgid "55" +msgstr "" + +#: ppdc/sample.c:312 +msgid "6" +msgstr "" + +#: ppdc/sample.c:433 +msgid "6 inches/sec." +msgstr "" + +#: ppdc/sample.c:215 +msgid "6.00x1.00\"" +msgstr "" + +#: ppdc/sample.c:216 +msgid "6.00x2.00\"" +msgstr "" + +#: ppdc/sample.c:217 +msgid "6.00x3.00\"" +msgstr "" + +#: ppdc/sample.c:218 +msgid "6.00x4.00\"" +msgstr "" + +#: ppdc/sample.c:219 +msgid "6.00x5.00\"" +msgstr "" + +#: ppdc/sample.c:220 +msgid "6.00x6.00\"" +msgstr "" + +#: ppdc/sample.c:221 +msgid "6.00x6.50\"" +msgstr "" + +#: ppdc/sample.c:410 +msgid "60" +msgstr "" + +#: ppdc/sample.c:327 +msgid "60 mm/sec." +msgstr "" + +#: ppdc/sample.c:253 +msgid "600dpi" +msgstr "" + +#: ppdc/sample.c:242 +msgid "60dpi" +msgstr "" + +#: ppdc/sample.c:248 +msgid "60x72dpi" +msgstr "" + +#: ppdc/sample.c:411 +msgid "65" +msgstr "" + +#: ppdc/sample.c:313 +msgid "7" +msgstr "" + +#: ppdc/sample.c:435 +msgid "7 inches/sec." +msgstr "" + +#: ppdc/sample.c:11 +msgid "7 x 9" +msgstr "" + +#: ppdc/sample.c:412 +msgid "70" +msgstr "" + +#: ppdc/sample.c:413 +msgid "75" +msgstr "" + +#: ppdc/sample.c:314 +msgid "8" +msgstr "" + +#: ppdc/sample.c:436 +msgid "8 inches/sec." +msgstr "" + +#: ppdc/sample.c:12 +msgid "8 x 10" +msgstr "" + +#: ppdc/sample.c:222 +msgid "8.00x1.00\"" +msgstr "" + +#: ppdc/sample.c:223 +msgid "8.00x2.00\"" +msgstr "" + +#: ppdc/sample.c:224 +msgid "8.00x3.00\"" +msgstr "" + +#: ppdc/sample.c:225 +msgid "8.00x4.00\"" +msgstr "" + +#: ppdc/sample.c:226 +msgid "8.00x5.00\"" +msgstr "" + +#: ppdc/sample.c:227 +msgid "8.00x6.00\"" +msgstr "" + +#: ppdc/sample.c:228 +msgid "8.00x6.50\"" +msgstr "" + +#: ppdc/sample.c:414 +msgid "80" +msgstr "" + +#: ppdc/sample.c:328 +msgid "80 mm/sec." +msgstr "" + +#: ppdc/sample.c:415 +msgid "85" +msgstr "" + +#: ppdc/sample.c:315 +msgid "9" +msgstr "" + +#: ppdc/sample.c:437 +msgid "9 inches/sec." +msgstr "" + +#: ppdc/sample.c:13 +msgid "9 x 11" +msgstr "" + +#: ppdc/sample.c:14 +msgid "9 x 12" +msgstr "" + +#: ppdc/sample.c:247 +msgid "9-Pin Series" +msgstr "" + +#: ppdc/sample.c:416 +msgid "90" +msgstr "" + +#: ppdc/sample.c:417 +msgid "95" +msgstr "" + +#: berkeley/lpc.c:199 +msgid "?Invalid help command unknown." +msgstr "" + +#: scheduler/ipp.c:2283 +#, c-format +msgid "A class named \"%s\" already exists." +msgstr "" + +#: scheduler/ipp.c:890 +#, c-format +msgid "A printer named \"%s\" already exists." +msgstr "" + +#: ppdc/sample.c:15 +msgid "A0" +msgstr "" + +#: ppdc/sample.c:16 +msgid "A0 Long Edge" +msgstr "" + +#: ppdc/sample.c:17 +msgid "A1" +msgstr "" + +#: ppdc/sample.c:18 +msgid "A1 Long Edge" +msgstr "" + +#: ppdc/sample.c:37 +msgid "A10" +msgstr "" + +#: ppdc/sample.c:19 +msgid "A2" +msgstr "" + +#: ppdc/sample.c:20 +msgid "A2 Long Edge" +msgstr "" + +#: ppdc/sample.c:21 +msgid "A3" +msgstr "" + +#: ppdc/sample.c:22 +msgid "A3 Long Edge" +msgstr "" + +#: ppdc/sample.c:23 +msgid "A3 Oversize" +msgstr "" + +#: ppdc/sample.c:24 +msgid "A3 Oversize Long Edge" +msgstr "" + +#: ppdc/sample.c:25 +msgid "A4" +msgstr "" + +#: ppdc/sample.c:27 +msgid "A4 Long Edge" +msgstr "" + +#: ppdc/sample.c:26 +msgid "A4 Oversize" +msgstr "" + +#: ppdc/sample.c:28 +msgid "A4 Small" +msgstr "" + +#: ppdc/sample.c:29 +msgid "A5" +msgstr "" + +#: ppdc/sample.c:31 +msgid "A5 Long Edge" +msgstr "" + +#: ppdc/sample.c:30 +msgid "A5 Oversize" +msgstr "" + +#: ppdc/sample.c:32 +msgid "A6" +msgstr "" + +#: ppdc/sample.c:33 +msgid "A6 Long Edge" +msgstr "" + +#: ppdc/sample.c:34 +msgid "A7" +msgstr "" + +#: ppdc/sample.c:35 +msgid "A8" +msgstr "" + +#: ppdc/sample.c:36 +msgid "A9" +msgstr "" + +#: ppdc/sample.c:38 +msgid "ANSI A" +msgstr "" + +#: ppdc/sample.c:39 +msgid "ANSI B" +msgstr "" + +#: ppdc/sample.c:40 +msgid "ANSI C" +msgstr "" + +#: ppdc/sample.c:41 +msgid "ANSI D" +msgstr "" + +#: ppdc/sample.c:42 +msgid "ANSI E" +msgstr "" + +#: ppdc/sample.c:47 +msgid "ARCH C" +msgstr "" + +#: ppdc/sample.c:48 +msgid "ARCH C Long Edge" +msgstr "" + +#: ppdc/sample.c:49 +msgid "ARCH D" +msgstr "" + +#: ppdc/sample.c:50 +msgid "ARCH D Long Edge" +msgstr "" + +#: ppdc/sample.c:51 +msgid "ARCH E" +msgstr "" + +#: ppdc/sample.c:52 +msgid "ARCH E Long Edge" +msgstr "" + +#: cgi-bin/classes.c:155 cgi-bin/printers.c:158 +msgid "Accept Jobs" +msgstr "" + +#: cups/http-support.c:1494 +msgid "Accepted" +msgstr "" + +#: cgi-bin/admin.c:336 +msgid "Add Class" +msgstr "" + +#: cgi-bin/admin.c:649 +msgid "Add Printer" +msgstr "" + +#: ppdc/sample.c:163 +msgid "Address" +msgstr "" + +#: cgi-bin/admin.c:172 cgi-bin/admin.c:246 cgi-bin/admin.c:2249 +msgid "Administration" +msgstr "" + +#: ppdc/sample.c:424 +msgid "Always" +msgstr "" + +#: backend/socket.c:113 +msgid "AppSocket/HP JetDirect" +msgstr "" + +#: ppdc/sample.c:445 +msgid "Applicator" +msgstr "" + +#: scheduler/ipp.c:987 +#, c-format +msgid "Attempt to set %s printer-state to bad value %d." +msgstr "" + +#: scheduler/ipp.c:5422 scheduler/ipp.c:5448 +#, c-format +msgid "Attribute \"%s\" is in the wrong group." +msgstr "" + +#: scheduler/ipp.c:5424 scheduler/ipp.c:5450 +#, c-format +msgid "Attribute \"%s\" is the wrong value type." +msgstr "" + +#: scheduler/ipp.c:227 +#, c-format +msgid "Attribute groups are out of order (%x < %x)." +msgstr "" + +#: ppdc/sample.c:126 +msgid "B0" +msgstr "" + +#: ppdc/sample.c:127 +msgid "B1" +msgstr "" + +#: ppdc/sample.c:137 +msgid "B10" +msgstr "" + +#: ppdc/sample.c:128 +msgid "B2" +msgstr "" + +#: ppdc/sample.c:129 +msgid "B3" +msgstr "" + +#: ppdc/sample.c:130 +msgid "B4" +msgstr "" + +#: ppdc/sample.c:131 +msgid "B5" +msgstr "" + +#: ppdc/sample.c:132 +msgid "B5 Oversize" +msgstr "" + +#: ppdc/sample.c:133 +msgid "B6" +msgstr "" + +#: ppdc/sample.c:134 +msgid "B7" +msgstr "" + +#: ppdc/sample.c:135 +msgid "B8" +msgstr "" + +#: ppdc/sample.c:136 +msgid "B9" +msgstr "" + +#: scheduler/ipp.c:7504 +#, c-format +msgid "Bad \"printer-id\" value %d." +msgstr "" + +#: scheduler/ipp.c:10336 +#, c-format +msgid "Bad '%s' value." +msgstr "" + +#: scheduler/ipp.c:11284 +#, c-format +msgid "Bad 'document-format' value \"%s\"." +msgstr "" + +#: cups/ppd.c:307 +msgid "Bad CloseUI/JCLCloseUI" +msgstr "" + +#: cups/dest.c:1661 +msgid "Bad NULL dests pointer" +msgstr "" + +#: cups/ppd.c:290 +msgid "Bad OpenGroup" +msgstr "" + +#: cups/ppd.c:292 +msgid "Bad OpenUI/JCLOpenUI" +msgstr "" + +#: cups/ppd.c:294 +msgid "Bad OrderDependency" +msgstr "" + +#: cups/ppd-cache.c:483 cups/ppd-cache.c:530 cups/ppd-cache.c:564 +#: cups/ppd-cache.c:570 cups/ppd-cache.c:586 cups/ppd-cache.c:602 +#: cups/ppd-cache.c:611 cups/ppd-cache.c:619 cups/ppd-cache.c:636 +#: cups/ppd-cache.c:644 cups/ppd-cache.c:659 cups/ppd-cache.c:667 +#: cups/ppd-cache.c:688 cups/ppd-cache.c:700 cups/ppd-cache.c:715 +#: cups/ppd-cache.c:727 cups/ppd-cache.c:749 cups/ppd-cache.c:757 +#: cups/ppd-cache.c:775 cups/ppd-cache.c:783 cups/ppd-cache.c:798 +#: cups/ppd-cache.c:806 cups/ppd-cache.c:824 cups/ppd-cache.c:832 +#: cups/ppd-cache.c:859 cups/ppd-cache.c:934 cups/ppd-cache.c:942 +#: cups/ppd-cache.c:950 +msgid "Bad PPD cache file." +msgstr "" + +#: scheduler/ipp.c:2659 +msgid "Bad PPD file." +msgstr "" + +#: cups/http-support.c:1512 +msgid "Bad Request" +msgstr "" + +#: cups/snmp.c:956 +msgid "Bad SNMP version number" +msgstr "" + +#: cups/ppd.c:295 +msgid "Bad UIConstraints" +msgstr "" + +#: cups/dest.c:1195 +msgid "Bad URI." +msgstr "" + +#: cups/hash.c:48 cups/http-support.c:1606 +msgid "Bad arguments to function" +msgstr "" + +#: scheduler/ipp.c:1372 +#, c-format +msgid "Bad copies value %d." +msgstr "" + +#: cups/ppd.c:303 +msgid "Bad custom parameter" +msgstr "" + +#: cups/http-support.c:1746 scheduler/ipp.c:2365 +#, c-format +msgid "Bad device-uri \"%s\"." +msgstr "" + +#: scheduler/ipp.c:2410 +#, c-format +msgid "Bad device-uri scheme \"%s\"." +msgstr "" + +#: scheduler/ipp.c:8486 scheduler/ipp.c:8504 scheduler/ipp.c:9732 +#, c-format +msgid "Bad document-format \"%s\"." +msgstr "" + +#: scheduler/ipp.c:9750 +#, c-format +msgid "Bad document-format-default \"%s\"." +msgstr "" + +#: cups/ppd-util.c:169 +msgid "Bad filename buffer" +msgstr "" + +#: cups/http-support.c:1615 +msgid "Bad hostname/address in URI" +msgstr "" + +#: scheduler/ipp.c:1554 +#, c-format +msgid "Bad job-name value: %s" +msgstr "" + +#: scheduler/ipp.c:1540 +msgid "Bad job-name value: Wrong type or count." +msgstr "" + +#: scheduler/ipp.c:10374 +msgid "Bad job-priority value." +msgstr "" + +#: scheduler/ipp.c:1402 +#, c-format +msgid "Bad job-sheets value \"%s\"." +msgstr "" + +#: scheduler/ipp.c:1386 +msgid "Bad job-sheets value type." +msgstr "" + +#: scheduler/ipp.c:10404 +msgid "Bad job-state value." +msgstr "" + +#: scheduler/ipp.c:3006 scheduler/ipp.c:3468 scheduler/ipp.c:6253 +#: scheduler/ipp.c:6400 scheduler/ipp.c:7912 scheduler/ipp.c:8184 +#: scheduler/ipp.c:9050 scheduler/ipp.c:9274 scheduler/ipp.c:9626 +#: scheduler/ipp.c:10235 +#, c-format +msgid "Bad job-uri \"%s\"." +msgstr "" + +#: scheduler/ipp.c:2049 scheduler/ipp.c:5773 +#, c-format +msgid "Bad notify-pull-method \"%s\"." +msgstr "" + +#: scheduler/ipp.c:2014 scheduler/ipp.c:5737 +#, c-format +msgid "Bad notify-recipient-uri \"%s\"." +msgstr "" + +#: scheduler/ipp.c:5848 +#, c-format +msgid "Bad notify-user-data \"%s\"." +msgstr "" + +#: scheduler/ipp.c:1418 +#, c-format +msgid "Bad number-up value %d." +msgstr "" + +#: scheduler/ipp.c:1435 +#, c-format +msgid "Bad page-ranges values %d-%d." +msgstr "" + +#: cups/http-support.c:1612 +msgid "Bad port number in URI" +msgstr "" + +#: scheduler/ipp.c:2456 +#, c-format +msgid "Bad port-monitor \"%s\"." +msgstr "" + +#: scheduler/ipp.c:2537 +#, c-format +msgid "Bad printer-state value %d." +msgstr "" + +#: cups/dest.c:678 cups/dest.c:1245 +msgid "Bad printer-uri." +msgstr "" + +#: scheduler/ipp.c:201 +#, c-format +msgid "Bad request ID %d." +msgstr "" + +#: scheduler/ipp.c:191 +#, c-format +msgid "Bad request version number %d.%d." +msgstr "" + +#: cups/http-support.c:1609 +msgid "Bad resource in URI" +msgstr "" + +#: cups/http-support.c:1621 +msgid "Bad scheme in URI" +msgstr "" + +#: cups/http-support.c:1618 +msgid "Bad username in URI" +msgstr "" + +#: cups/ppd.c:305 +msgid "Bad value string" +msgstr "" + +#: cups/http-support.c:1624 +msgid "Bad/empty URI" +msgstr "" + +#: cgi-bin/admin.c:2794 cgi-bin/admin.c:3043 +msgid "Banners" +msgstr "" + +#: ppdc/sample.c:282 +msgid "Bond Paper" +msgstr "" + +#: cups/ppd-cache.c:4152 +msgid "Booklet" +msgstr "" + +#: backend/usb-darwin.c:2008 +#, c-format +msgid "Boolean expected for waiteof option \"%s\"." +msgstr "" + +#: filter/pstops.c:2026 +msgid "Buffer overflow detected, aborting." +msgstr "" + +#: ppdc/sample.c:277 +msgid "CMYK" +msgstr "" + +#: ppdc/sample.c:358 +msgid "CPCL Label Printer" +msgstr "" + +#: cgi-bin/classes.c:159 cgi-bin/printers.c:162 +msgid "Cancel Jobs" +msgstr "" + +#: backend/ipp.c:2287 +msgid "Canceling print job." +msgstr "" + +#: scheduler/ipp.c:963 scheduler/ipp.c:2512 +msgid "Cannot change printer-is-shared for remote queues." +msgstr "" + +#: scheduler/ipp.c:2499 +msgid "Cannot share a remote Kerberized printer." +msgstr "" + +#: ppdc/sample.c:271 +msgid "Cassette" +msgstr "" + +#: cgi-bin/admin.c:1347 cgi-bin/admin.c:1489 cgi-bin/admin.c:1502 +#: cgi-bin/admin.c:1513 +msgid "Change Settings" +msgstr "" + +#: scheduler/ipp.c:2061 scheduler/ipp.c:5785 +#, c-format +msgid "Character set \"%s\" not supported." +msgstr "" + +#: cgi-bin/classes.c:181 cgi-bin/classes.c:307 +msgid "Classes" +msgstr "" + +#: cgi-bin/printers.c:168 +msgid "Clean Print Heads" +msgstr "" + +#: scheduler/ipp.c:3920 +msgid "Close-Job doesn't support the job-uri attribute." +msgstr "" + +#: cups/ppd-cache.c:3790 ppdc/sample.c:276 +msgid "Color" +msgstr "" + +#: cups/ppd-cache.c:3751 ppdc/sample.c:274 +msgid "Color Mode" +msgstr "" + +#: berkeley/lpc.c:190 +msgid "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" +msgstr "" + +#: cups/snmp.c:960 +msgid "Community name uses indefinite length" +msgstr "" + +#: backend/ipp.c:865 backend/lpd.c:929 backend/socket.c:375 +msgid "Connected to printer." +msgstr "" + +#: backend/ipp.c:701 backend/lpd.c:753 backend/socket.c:295 +msgid "Connecting to printer." +msgstr "" + +#: cups/http-support.c:1482 +msgid "Continue" +msgstr "" + +#: ppdc/sample.c:360 +msgid "Continuous" +msgstr "" + +#: backend/lpd.c:1078 backend/lpd.c:1210 +msgid "Control file sent successfully." +msgstr "" + +#: backend/ipp.c:1396 backend/lpd.c:445 +msgid "Copying print data." +msgstr "" + +#: cups/http-support.c:1491 +msgid "Created" +msgstr "" + +#: cups/tls-darwin.c:748 cups/tls-gnutls.c:582 +msgid "Credentials do not validate against site CA certificate." +msgstr "" + +#: cups/tls-darwin.c:759 cups/tls-gnutls.c:599 +msgid "Credentials have expired." +msgstr "" + +#: cups/ppd.c:1133 cups/ppd.c:1173 cups/ppd.c:1382 cups/ppd.c:1485 +msgid "Custom" +msgstr "" + +#: ppdc/sample.c:354 +msgid "CustominCutInterval" +msgstr "" + +#: ppdc/sample.c:352 +msgid "CustominTearInterval" +msgstr "" + +#: ppdc/sample.c:338 +msgid "Cut" +msgstr "" + +#: ppdc/sample.c:446 +msgid "Cutter" +msgstr "" + +#: ppdc/sample.c:239 +msgid "Dark" +msgstr "" + +#: ppdc/sample.c:235 +msgid "Darkness" +msgstr "" + +#: backend/lpd.c:1163 +msgid "Data file sent successfully." +msgstr "" + +#: cups/ppd-cache.c:3798 cups/ppd-cache.c:3807 +msgid "Deep Color" +msgstr "" + +#: cups/ppd-cache.c:3784 +msgid "Deep Gray" +msgstr "" + +#: cgi-bin/admin.c:1786 cgi-bin/admin.c:1797 cgi-bin/admin.c:1842 +msgid "Delete Class" +msgstr "" + +#: cgi-bin/admin.c:1871 cgi-bin/admin.c:1882 cgi-bin/admin.c:1927 +msgid "Delete Printer" +msgstr "" + +#: ppdc/sample.c:273 +msgid "DeskJet Series" +msgstr "" + +#: scheduler/ipp.c:1301 +#, c-format +msgid "Destination \"%s\" is not accepting jobs." +msgstr "" + +#: cups/ppd-cache.c:3828 cups/ppd-cache.c:3834 +msgid "Device CMYK" +msgstr "" + +#: cups/ppd-cache.c:3816 cups/ppd-cache.c:3822 +msgid "Device Gray" +msgstr "" + +#: cups/ppd-cache.c:3840 cups/ppd-cache.c:3846 +msgid "Device RGB" +msgstr "" + +#: systemv/lpinfo.c:273 +#, c-format +msgid "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" +msgstr "" + +#: ppdc/sample.c:431 +msgid "Direct Thermal Media" +msgstr "" + +#: cups/file.c:285 +#, c-format +msgid "Directory \"%s\" contains a relative path." +msgstr "" + +#: cups/file.c:257 +#, c-format +msgid "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "" + +#: cups/file.c:274 +#, c-format +msgid "Directory \"%s\" is a file." +msgstr "" + +#: cups/file.c:245 +#, c-format +msgid "Directory \"%s\" not available: %s" +msgstr "" + +#: cups/file.c:230 +#, c-format +msgid "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "" + +#: ppdc/sample.c:340 +msgid "Disabled" +msgstr "" + +#: scheduler/ipp.c:6302 +#, c-format +msgid "Document #%d does not exist in job #%d." +msgstr "" + +#: cups/ppd-cache.c:4283 cups/ppd-cache.c:4285 cups/ppd-cache.c:4348 +#: cups/ppd-cache.c:4385 +msgid "Draft" +msgstr "" + +#: ppdc/sample.c:267 +msgid "Duplexer" +msgstr "" + +#: ppdc/sample.c:229 +msgid "Dymo" +msgstr "" + +#: ppdc/sample.c:426 +msgid "EPL1 Label Printer" +msgstr "" + +#: ppdc/sample.c:429 +msgid "EPL2 Label Printer" +msgstr "" + +#: cgi-bin/admin.c:1541 cgi-bin/admin.c:1553 cgi-bin/admin.c:1607 +#: cgi-bin/admin.c:1614 cgi-bin/admin.c:1649 cgi-bin/admin.c:1662 +#: cgi-bin/admin.c:1686 cgi-bin/admin.c:1759 +msgid "Edit Configuration File" +msgstr "" + +#: cups/http.c:4649 +msgid "Encryption is not supported." +msgstr "" + +#. TRANSLATORS: Banner/cover sheet after the print job. +#: cgi-bin/admin.c:3068 +msgid "Ending Banner" +msgstr "" + +#: ppdc/sample.c:2 +msgid "English" +msgstr "" + +#: scheduler/client.c:1981 +msgid "Enter your username and password or the root username and password to access this page. If you are using Kerberos authentication, make sure you have a valid Kerberos ticket." +msgstr "" + +#: ppdc/sample.c:73 +msgid "Envelope #10" +msgstr "" + +#: ppdc/sample.c:74 +msgid "Envelope #11" +msgstr "" + +#: ppdc/sample.c:75 +msgid "Envelope #12" +msgstr "" + +#: ppdc/sample.c:76 +msgid "Envelope #14" +msgstr "" + +#: ppdc/sample.c:77 +msgid "Envelope #9" +msgstr "" + +#: ppdc/sample.c:89 +msgid "Envelope B4" +msgstr "" + +#: ppdc/sample.c:90 +msgid "Envelope B5" +msgstr "" + +#: ppdc/sample.c:91 +msgid "Envelope B6" +msgstr "" + +#: ppdc/sample.c:78 +msgid "Envelope C0" +msgstr "" + +#: ppdc/sample.c:79 +msgid "Envelope C1" +msgstr "" + +#: ppdc/sample.c:80 +msgid "Envelope C2" +msgstr "" + +#: ppdc/sample.c:81 +msgid "Envelope C3" +msgstr "" + +#: ppdc/sample.c:67 +msgid "Envelope C4" +msgstr "" + +#: ppdc/sample.c:68 +msgid "Envelope C5" +msgstr "" + +#: ppdc/sample.c:69 +msgid "Envelope C6" +msgstr "" + +#: ppdc/sample.c:82 +msgid "Envelope C65" +msgstr "" + +#: ppdc/sample.c:83 +msgid "Envelope C7" +msgstr "" + +#: ppdc/sample.c:84 +msgid "Envelope Choukei 3" +msgstr "" + +#: ppdc/sample.c:85 +msgid "Envelope Choukei 3 Long Edge" +msgstr "" + +#: ppdc/sample.c:86 +msgid "Envelope Choukei 4" +msgstr "" + +#: ppdc/sample.c:87 +msgid "Envelope Choukei 4 Long Edge" +msgstr "" + +#: ppdc/sample.c:70 +msgid "Envelope DL" +msgstr "" + +#: ppdc/sample.c:261 +msgid "Envelope Feed" +msgstr "" + +#: ppdc/sample.c:88 +msgid "Envelope Invite" +msgstr "" + +#: ppdc/sample.c:92 +msgid "Envelope Italian" +msgstr "" + +#: ppdc/sample.c:93 +msgid "Envelope Kaku2" +msgstr "" + +#: ppdc/sample.c:94 +msgid "Envelope Kaku2 Long Edge" +msgstr "" + +#: ppdc/sample.c:95 +msgid "Envelope Kaku3" +msgstr "" + +#: ppdc/sample.c:96 +msgid "Envelope Kaku3 Long Edge" +msgstr "" + +#: ppdc/sample.c:97 +msgid "Envelope Monarch" +msgstr "" + +#: ppdc/sample.c:99 +msgid "Envelope PRC1" +msgstr "" + +#: ppdc/sample.c:100 +msgid "Envelope PRC1 Long Edge" +msgstr "" + +#: ppdc/sample.c:117 +msgid "Envelope PRC10" +msgstr "" + +#: ppdc/sample.c:118 +msgid "Envelope PRC10 Long Edge" +msgstr "" + +#: ppdc/sample.c:101 +msgid "Envelope PRC2" +msgstr "" + +#: ppdc/sample.c:102 +msgid "Envelope PRC2 Long Edge" +msgstr "" + +#: ppdc/sample.c:103 +msgid "Envelope PRC3" +msgstr "" + +#: ppdc/sample.c:104 +msgid "Envelope PRC3 Long Edge" +msgstr "" + +#: ppdc/sample.c:105 +msgid "Envelope PRC4" +msgstr "" + +#: ppdc/sample.c:106 +msgid "Envelope PRC4 Long Edge" +msgstr "" + +#: ppdc/sample.c:108 +msgid "Envelope PRC5 Long Edge" +msgstr "" + +#: ppdc/sample.c:107 +msgid "Envelope PRC5PRC5" +msgstr "" + +#: ppdc/sample.c:109 +msgid "Envelope PRC6" +msgstr "" + +#: ppdc/sample.c:110 +msgid "Envelope PRC6 Long Edge" +msgstr "" + +#: ppdc/sample.c:111 +msgid "Envelope PRC7" +msgstr "" + +#: ppdc/sample.c:112 +msgid "Envelope PRC7 Long Edge" +msgstr "" + +#: ppdc/sample.c:113 +msgid "Envelope PRC8" +msgstr "" + +#: ppdc/sample.c:114 +msgid "Envelope PRC8 Long Edge" +msgstr "" + +#: ppdc/sample.c:115 +msgid "Envelope PRC9" +msgstr "" + +#: ppdc/sample.c:116 +msgid "Envelope PRC9 Long Edge" +msgstr "" + +#: ppdc/sample.c:98 +msgid "Envelope Personal" +msgstr "" + +#: ppdc/sample.c:119 +msgid "Envelope You4" +msgstr "" + +#: ppdc/sample.c:120 +msgid "Envelope You4 Long Edge" +msgstr "" + +#: tools/ippfind.c:2822 +msgid "Environment Variables:" +msgstr "" + +#: ppdc/sample.c:240 +msgid "Epson" +msgstr "" + +#: cgi-bin/admin.c:3111 +msgid "Error Policy" +msgstr "" + +#: filter/rastertopwg.c:452 +msgid "Error reading raster data." +msgstr "" + +#: filter/rastertopwg.c:421 filter/rastertopwg.c:442 filter/rastertopwg.c:460 +#: filter/rastertopwg.c:471 +msgid "Error sending raster data." +msgstr "" + +#: systemv/lpinfo.c:208 systemv/lpmove.c:85 +msgid "Error: need hostname after \"-h\" option." +msgstr "" + +#: ppdc/sample.c:122 +msgid "European Fanfold" +msgstr "" + +#: ppdc/sample.c:123 +msgid "European Fanfold Legal" +msgstr "" + +#: ppdc/sample.c:350 +msgid "Every 10 Labels" +msgstr "" + +#: ppdc/sample.c:342 +msgid "Every 2 Labels" +msgstr "" + +#: ppdc/sample.c:343 +msgid "Every 3 Labels" +msgstr "" + +#: ppdc/sample.c:344 +msgid "Every 4 Labels" +msgstr "" + +#: ppdc/sample.c:345 +msgid "Every 5 Labels" +msgstr "" + +#: ppdc/sample.c:346 +msgid "Every 6 Labels" +msgstr "" + +#: ppdc/sample.c:347 +msgid "Every 7 Labels" +msgstr "" + +#: ppdc/sample.c:348 +msgid "Every 8 Labels" +msgstr "" + +#: ppdc/sample.c:349 +msgid "Every 9 Labels" +msgstr "" + +#: ppdc/sample.c:341 +msgid "Every Label" +msgstr "" + +#: ppdc/sample.c:121 +msgid "Executive" +msgstr "" + +#: cups/http-support.c:1540 +msgid "Expectation Failed" +msgstr "" + +#: tools/ippfind.c:2771 +msgid "Expressions:" +msgstr "" + +#: cups/ppd-cache.c:3758 +msgid "Fast Grayscale" +msgstr "" + +#: cups/file.c:289 +#, c-format +msgid "File \"%s\" contains a relative path." +msgstr "" + +#: cups/file.c:264 +#, c-format +msgid "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "" + +#: cups/file.c:278 +#, c-format +msgid "File \"%s\" is a directory." +msgstr "" + +#: cups/file.c:250 +#, c-format +msgid "File \"%s\" not available: %s" +msgstr "" + +#: cups/file.c:236 +#, c-format +msgid "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "" + +#: ppdc/sample.c:169 +msgid "File Folder" +msgstr "" + +#: scheduler/ipp.c:2386 +#, c-format +msgid "File device URIs have been disabled. To enable, see the FileDevice directive in \"%s/cups-files.conf\"." +msgstr "" + +#: filter/rastertoepson.c:1131 filter/rastertohp.c:802 +#: filter/rastertolabel.c:1259 +#, c-format +msgid "Finished page %d." +msgstr "" + +#: cups/ppd-cache.c:4171 +msgid "Finishing Preset" +msgstr "" + +#: cups/ppd-cache.c:4061 +msgid "Fold" +msgstr "" + +#: ppdc/sample.c:125 +msgid "Folio" +msgstr "" + +#: cups/http-support.c:1519 +msgid "Forbidden" +msgstr "" + +#: cups/http-support.c:1503 +msgid "Found" +msgstr "" + +#: cups/ppd.c:757 cups/ppd.c:1286 +msgid "General" +msgstr "" + +#: ppdc/sample.c:251 +msgid "Generic" +msgstr "" + +#: cups/snmp.c:970 +msgid "Get-Response-PDU uses indefinite length" +msgstr "" + +#: ppdc/sample.c:285 +msgid "Glossy Paper" +msgstr "" + +#: scheduler/ipp.c:2984 scheduler/ipp.c:3394 scheduler/ipp.c:3932 +#: scheduler/ipp.c:6231 scheduler/ipp.c:6378 scheduler/ipp.c:7889 +#: scheduler/ipp.c:9028 scheduler/ipp.c:9252 scheduler/ipp.c:9604 +#: scheduler/ipp.c:10213 +msgid "Got a printer-uri attribute but no job-id." +msgstr "" + +#: cups/ppd-cache.c:3767 cups/ppd-cache.c:3778 ppdc/sample.c:275 +msgid "Grayscale" +msgstr "" + +#: ppdc/sample.c:272 +msgid "HP" +msgstr "" + +#: ppdc/sample.c:170 +msgid "Hanging Folder" +msgstr "" + +#: cups/hash.c:292 +msgid "Hash buffer too small." +msgstr "" + +#: cgi-bin/help.c:133 +msgid "Help file not in index." +msgstr "" + +#: cups/ppd-cache.c:4290 cups/ppd-cache.c:4359 cups/ppd-cache.c:4390 +msgid "High" +msgstr "" + +#: cups/ipp.c:3094 cups/ipp.c:3121 cups/ipp.c:3144 +msgid "IPP 1setOf attribute with incompatible value tags." +msgstr "" + +#: cups/ipp.c:3057 +msgid "IPP attribute has no name." +msgstr "" + +#: cups/ipp.c:6802 +msgid "IPP attribute is not a member of the message." +msgstr "" + +#: cups/ipp.c:3507 +msgid "IPP begCollection value not 0 bytes." +msgstr "" + +#: cups/ipp.c:3285 +msgid "IPP boolean value not 1 byte." +msgstr "" + +#: cups/ipp.c:3350 +msgid "IPP date value not 11 bytes." +msgstr "" + +#: cups/ipp.c:3528 +msgid "IPP endCollection value not 0 bytes." +msgstr "" + +#: cups/ipp.c:3260 +msgid "IPP enum value not 4 bytes." +msgstr "" + +#: cups/ipp.c:2975 +msgid "IPP extension tag larger than 0x7FFFFFFF." +msgstr "" + +#: cups/ipp.c:3257 +msgid "IPP integer value not 4 bytes." +msgstr "" + +#: cups/ipp.c:3460 +msgid "IPP language length overflows value." +msgstr "" + +#: cups/ipp.c:3469 +msgid "IPP language length too large." +msgstr "" + +#: cups/ipp.c:3171 +msgid "IPP member name is not empty." +msgstr "" + +#: cups/ipp.c:3554 +msgid "IPP memberName value is empty." +msgstr "" + +#: cups/ipp.c:3546 +msgid "IPP memberName with no attribute." +msgstr "" + +#: cups/ipp.c:3035 +msgid "IPP name larger than 32767 bytes." +msgstr "" + +#: cups/ipp.c:3427 +msgid "IPP nameWithLanguage value less than minimum 4 bytes." +msgstr "" + +#: cups/ipp.c:3585 +msgid "IPP octetString length too large." +msgstr "" + +#: cups/ipp.c:3395 +msgid "IPP rangeOfInteger value not 8 bytes." +msgstr "" + +#: cups/ipp.c:3368 +msgid "IPP resolution value not 9 bytes." +msgstr "" + +#: cups/ipp.c:3487 +msgid "IPP string length overflows value." +msgstr "" + +#: cups/ipp.c:3423 +msgid "IPP textWithLanguage value less than minimum 4 bytes." +msgstr "" + +#: cups/ipp.c:3243 +msgid "IPP value larger than 32767 bytes." +msgstr "" + +#: tools/ippfind.c:2823 +msgid "IPPFIND_SERVICE_DOMAIN Domain name" +msgstr "" + +#: tools/ippfind.c:2824 +msgid "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" +msgstr "" + +#: tools/ippfind.c:2826 +msgid "IPPFIND_SERVICE_NAME Service instance name" +msgstr "" + +#: tools/ippfind.c:2827 +msgid "IPPFIND_SERVICE_PORT Port number" +msgstr "" + +#: tools/ippfind.c:2828 +msgid "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" +msgstr "" + +#: tools/ippfind.c:2829 +msgid "IPPFIND_SERVICE_SCHEME URI scheme" +msgstr "" + +#: tools/ippfind.c:2830 +msgid "IPPFIND_SERVICE_URI URI" +msgstr "" + +#: tools/ippfind.c:2831 +msgid "IPPFIND_TXT_* Value of TXT record key" +msgstr "" + +#: ppdc/sample.c:1 +msgid "ISOLatin1" +msgstr "" + +#: cups/ppd.c:298 +msgid "Illegal control character" +msgstr "" + +#: cups/ppd.c:299 +msgid "Illegal main keyword string" +msgstr "" + +#: cups/ppd.c:300 +msgid "Illegal option keyword string" +msgstr "" + +#: cups/ppd.c:301 +msgid "Illegal translation string" +msgstr "" + +#: cups/ppd.c:302 +msgid "Illegal whitespace character" +msgstr "" + +#: ppdc/sample.c:266 +msgid "Installable Options" +msgstr "" + +#: ppdc/sample.c:269 +msgid "Installed" +msgstr "" + +#: ppdc/sample.c:288 +msgid "IntelliBar Label Printer" +msgstr "" + +#: ppdc/sample.c:287 +msgid "Intellitech" +msgstr "" + +#: cups/http-support.c:1546 +msgid "Internal Server Error" +msgstr "" + +#: cups/ppd.c:289 +msgid "Internal error" +msgstr "" + +#: ppdc/sample.c:167 +msgid "Internet Postage 2-Part" +msgstr "" + +#: ppdc/sample.c:168 +msgid "Internet Postage 3-Part" +msgstr "" + +#: backend/ipp.c:319 +msgid "Internet Printing Protocol" +msgstr "" + +#: cups/ipp.c:2995 +msgid "Invalid group tag." +msgstr "" + +#: cups/pwg-media.c:288 cups/pwg-media.c:307 +msgid "Invalid media name arguments." +msgstr "" + +#: cups/dest-options.c:1232 +msgid "Invalid media size." +msgstr "" + +#: cups/ipp.c:3045 +msgid "Invalid named IPP attribute in collection." +msgstr "" + +#: scheduler/ipp.c:2705 scheduler/ipp.c:7045 +msgid "Invalid ppd-name value." +msgstr "" + +#: filter/commandtops.c:108 +#, c-format +msgid "Invalid printer command \"%s\"." +msgstr "" + +#: cups/ppd.c:1404 +msgid "JCL" +msgstr "" + +#: ppdc/sample.c:53 +msgid "JIS B0" +msgstr "" + +#: ppdc/sample.c:55 +msgid "JIS B1" +msgstr "" + +#: ppdc/sample.c:54 +msgid "JIS B10" +msgstr "" + +#: ppdc/sample.c:56 +msgid "JIS B2" +msgstr "" + +#: ppdc/sample.c:57 +msgid "JIS B3" +msgstr "" + +#: ppdc/sample.c:58 +msgid "JIS B4" +msgstr "" + +#: ppdc/sample.c:59 +msgid "JIS B4 Long Edge" +msgstr "" + +#: ppdc/sample.c:60 +msgid "JIS B5" +msgstr "" + +#: ppdc/sample.c:61 +msgid "JIS B5 Long Edge" +msgstr "" + +#: ppdc/sample.c:62 +msgid "JIS B6" +msgstr "" + +#: ppdc/sample.c:63 +msgid "JIS B6 Long Edge" +msgstr "" + +#: ppdc/sample.c:64 +msgid "JIS B7" +msgstr "" + +#: ppdc/sample.c:65 +msgid "JIS B8" +msgstr "" + +#: ppdc/sample.c:66 +msgid "JIS B9" +msgstr "" + +#: scheduler/ipp.c:9324 +#, c-format +msgid "Job #%d cannot be restarted - no files." +msgstr "" + +#: scheduler/ipp.c:3024 scheduler/ipp.c:3258 scheduler/ipp.c:3317 +#: scheduler/ipp.c:3496 scheduler/ipp.c:3942 scheduler/ipp.c:5890 +#: scheduler/ipp.c:6271 scheduler/ipp.c:6418 scheduler/ipp.c:6755 +#: scheduler/ipp.c:7730 scheduler/ipp.c:7752 scheduler/ipp.c:7930 +#: scheduler/ipp.c:8158 scheduler/ipp.c:8201 scheduler/ipp.c:9068 +#: scheduler/ipp.c:9292 scheduler/ipp.c:9644 scheduler/ipp.c:10253 +#, c-format +msgid "Job #%d does not exist." +msgstr "" + +#: scheduler/ipp.c:3528 +#, c-format +msgid "Job #%d is already aborted - can't cancel." +msgstr "" + +#: scheduler/ipp.c:3522 +#, c-format +msgid "Job #%d is already canceled - can't cancel." +msgstr "" + +#: scheduler/ipp.c:3534 +#, c-format +msgid "Job #%d is already completed - can't cancel." +msgstr "" + +#: scheduler/ipp.c:7956 scheduler/ipp.c:8243 scheduler/ipp.c:10268 +#, c-format +msgid "Job #%d is finished and cannot be altered." +msgstr "" + +#: scheduler/ipp.c:9306 +#, c-format +msgid "Job #%d is not complete." +msgstr "" + +#: scheduler/ipp.c:3039 +#, c-format +msgid "Job #%d is not held for authentication." +msgstr "" + +#: scheduler/ipp.c:9082 +#, c-format +msgid "Job #%d is not held." +msgstr "" + +#: cgi-bin/ipp-var.c:1032 +msgid "Job Completed" +msgstr "" + +#: cgi-bin/ipp-var.c:1030 +msgid "Job Created" +msgstr "" + +#: cgi-bin/ipp-var.c:1036 +msgid "Job Options Changed" +msgstr "" + +#: cgi-bin/ipp-var.c:1034 +msgid "Job Stopped" +msgstr "" + +#: scheduler/ipp.c:10382 +msgid "Job is completed and cannot be changed." +msgstr "" + +#: cgi-bin/jobs.c:186 +msgid "Job operation failed" +msgstr "" + +#: scheduler/ipp.c:10418 scheduler/ipp.c:10435 scheduler/ipp.c:10446 +msgid "Job state cannot be changed." +msgstr "" + +#: scheduler/ipp.c:9172 +msgid "Job subscriptions cannot be renewed." +msgstr "" + +#: cgi-bin/jobs.c:91 cgi-bin/jobs.c:102 cgi-bin/jobs.c:183 +msgid "Jobs" +msgstr "" + +#: backend/lpd.c:162 +msgid "LPD/LPR Host or Printer" +msgstr "" + +#: cups/dest.c:1856 +msgid "LPDEST environment variable names default destination that does not exist." +msgstr "" + +#: ppdc/sample.c:230 +msgid "Label Printer" +msgstr "" + +#: ppdc/sample.c:441 +msgid "Label Top" +msgstr "" + +#: scheduler/ipp.c:2070 scheduler/ipp.c:5794 +#, c-format +msgid "Language \"%s\" not supported." +msgstr "" + +#: ppdc/sample.c:164 +msgid "Large Address" +msgstr "" + +#: ppdc/sample.c:286 +msgid "LaserJet Series PCL 4/5" +msgstr "" + +#: ppdc/sample.c:43 +msgid "Letter Oversize" +msgstr "" + +#: ppdc/sample.c:44 +msgid "Letter Oversize Long Edge" +msgstr "" + +#: ppdc/sample.c:236 +msgid "Light" +msgstr "" + +#: cups/ppd.c:297 +msgid "Line longer than the maximum allowed (255 characters)" +msgstr "" + +#: cgi-bin/admin.c:1950 +msgid "List Available Printers" +msgstr "" + +#: tools/ippeveprinter.c:604 +#, c-format +msgid "Listening on port %d." +msgstr "" + +#: scheduler/ipp.c:5503 +msgid "Local printer created." +msgstr "" + +#: cups/ppd-cache.c:3872 ppdc/sample.c:264 +msgid "Long-Edge (Portrait)" +msgstr "" + +#: cups/http-support.c:1870 +msgid "Looking for printer." +msgstr "" + +#: ppdc/sample.c:260 +msgid "Manual Feed" +msgstr "" + +#: cups/ppd.c:804 cups/ppd.c:1341 +msgid "Media Size" +msgstr "" + +#: cups/ppd.c:808 cups/ppd.c:1345 ppdc/sample.c:254 +msgid "Media Source" +msgstr "" + +#: ppdc/sample.c:359 +msgid "Media Tracking" +msgstr "" + +#: cups/ppd.c:806 cups/ppd.c:1343 ppdc/sample.c:280 +msgid "Media Type" +msgstr "" + +#: ppdc/sample.c:237 +msgid "Medium" +msgstr "" + +#: cups/ppd.c:286 +msgid "Memory allocation error" +msgstr "" + +#: cups/ppd.c:306 +msgid "Missing CloseGroup" +msgstr "" + +#: cups/ppd.c:308 +msgid "Missing CloseUI/JCLCloseUI" +msgstr "" + +#: cups/ppd.c:287 +msgid "Missing PPD-Adobe-4.x header" +msgstr "" + +#: cups/ppd.c:296 +msgid "Missing asterisk in column 1" +msgstr "" + +#: scheduler/ipp.c:6294 +msgid "Missing document-number attribute." +msgstr "" + +#: cgi-bin/admin.c:502 cgi-bin/admin.c:1798 cgi-bin/admin.c:1883 +#: cgi-bin/admin.c:2289 cgi-bin/admin.c:2543 cgi-bin/admin.c:2654 +#: cgi-bin/admin.c:3367 +msgid "Missing form variable" +msgstr "" + +#: scheduler/ipp.c:9698 +msgid "Missing last-document attribute in request." +msgstr "" + +#: cups/pwg-media.c:547 +msgid "Missing media or media-col." +msgstr "" + +#: cups/pwg-media.c:466 +msgid "Missing media-size in media-col." +msgstr "" + +#: scheduler/ipp.c:6895 +msgid "Missing notify-subscription-ids attribute." +msgstr "" + +#: cups/ppd.c:304 +msgid "Missing option keyword" +msgstr "" + +#: scheduler/ipp.c:3165 scheduler/ipp.c:3190 +msgid "Missing requesting-user-name attribute." +msgstr "" + +#: scheduler/ipp.c:5420 scheduler/ipp.c:5446 +#, c-format +msgid "Missing required attribute \"%s\"." +msgstr "" + +#: scheduler/ipp.c:347 +msgid "Missing required attributes." +msgstr "" + +#: cups/http-support.c:1636 +msgid "Missing resource in URI" +msgstr "" + +#: cups/http-support.c:1630 +msgid "Missing scheme in URI" +msgstr "" + +#: cups/ppd.c:288 +msgid "Missing value string" +msgstr "" + +#: cups/pwg-media.c:454 +msgid "Missing x-dimension in media-size." +msgstr "" + +#: cups/pwg-media.c:460 +msgid "Missing y-dimension in media-size." +msgstr "" + +#: systemv/lpinfo.c:443 systemv/lpinfo.c:467 +#, c-format +msgid "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" +msgstr "" + +#: tools/ippfind.c:2801 +msgid "Modifiers:" +msgstr "" + +#: cgi-bin/admin.c:336 +msgid "Modify Class" +msgstr "" + +#: cgi-bin/admin.c:649 +msgid "Modify Printer" +msgstr "" + +#: cgi-bin/ipp-var.c:407 cgi-bin/ipp-var.c:498 +msgid "Move All Jobs" +msgstr "" + +#: cgi-bin/ipp-var.c:346 cgi-bin/ipp-var.c:405 cgi-bin/ipp-var.c:496 +msgid "Move Job" +msgstr "" + +#: cups/http-support.c:1500 +msgid "Moved Permanently" +msgstr "" + +#: cups/ppd.c:285 +msgid "NULL PPD file pointer" +msgstr "" + +#: cups/snmp.c:1007 +msgid "Name OID uses indefinite length" +msgstr "" + +#: scheduler/ipp.c:1056 +msgid "Nested classes are not allowed." +msgstr "" + +#: ppdc/sample.c:425 +msgid "Never" +msgstr "" + +#: cups/tls-darwin.c:690 cups/tls-gnutls.c:524 +msgid "New credentials are not valid for name." +msgstr "" + +#: cups/tls-darwin.c:680 cups/tls-gnutls.c:514 +msgid "New credentials are older than stored credentials." +msgstr "" + +#: cups/ppd.c:1974 +msgid "No" +msgstr "" + +#: cups/http-support.c:1497 +msgid "No Content" +msgstr "" + +#: cups/ppd-cache.c:3076 +msgid "No IPP attributes." +msgstr "" + +#: cups/ppd-util.c:489 +msgid "No PPD name" +msgstr "" + +#: cups/snmp.c:1001 +msgid "No VarBind SEQUENCE" +msgstr "" + +#: cups/request.c:548 cups/request.c:920 +msgid "No active connection" +msgstr "" + +#: cups/request.c:329 +msgid "No active connection." +msgstr "" + +#: scheduler/ipp.c:3445 +#, c-format +msgid "No active jobs on %s." +msgstr "" + +#: scheduler/ipp.c:207 +msgid "No attributes in request." +msgstr "" + +#: scheduler/ipp.c:3066 +msgid "No authentication information provided." +msgstr "" + +#: cups/tls-darwin.c:630 cups/tls-gnutls.c:461 +msgid "No common name specified." +msgstr "" + +#: cups/snmp.c:958 +msgid "No community name" +msgstr "" + +#: cups/dest.c:1860 cups/dest.c:1872 +msgid "No default destination." +msgstr "" + +#: scheduler/ipp.c:6094 +msgid "No default printer." +msgstr "" + +#: cgi-bin/ipp-var.c:418 scheduler/ipp.c:7476 +msgid "No destinations added." +msgstr "" + +#: backend/usb.c:187 +msgid "No device URI found in argv[0] or in DEVICE_URI environment variable." +msgstr "" + +#: cups/snmp.c:988 +msgid "No error-index" +msgstr "" + +#: cups/snmp.c:980 +msgid "No error-status" +msgstr "" + +#: scheduler/ipp.c:8448 scheduler/ipp.c:9712 +msgid "No file in print request." +msgstr "" + +#: cups/ppd-util.c:162 +msgid "No modification time" +msgstr "" + +#: cups/snmp.c:1005 +msgid "No name OID" +msgstr "" + +#: filter/rastertoepson.c:1161 filter/rastertohp.c:833 +#: filter/rastertolabel.c:1288 +msgid "No pages were found." +msgstr "" + +#: cups/ppd-util.c:155 +msgid "No printer name" +msgstr "" + +#: cups/ppd-util.c:658 +msgid "No printer-uri found" +msgstr "" + +#: cups/ppd-util.c:642 +msgid "No printer-uri found for class" +msgstr "" + +#: scheduler/ipp.c:6501 +msgid "No printer-uri in request." +msgstr "" + +#: cups/http.c:2217 +msgid "No request URI." +msgstr "" + +#: cups/http.c:2234 +msgid "No request protocol version." +msgstr "" + +#: cups/request.c:337 +msgid "No request sent." +msgstr "" + +#: cups/snmp.c:972 +msgid "No request-id" +msgstr "" + +#: cups/tls-darwin.c:710 cups/tls-gnutls.c:544 +msgid "No stored credentials, not valid for name." +msgstr "" + +#: scheduler/ipp.c:5679 +msgid "No subscription attributes in request." +msgstr "" + +#: scheduler/ipp.c:7829 +msgid "No subscriptions found." +msgstr "" + +#: cups/snmp.c:996 +msgid "No variable-bindings SEQUENCE" +msgstr "" + +#: cups/snmp.c:951 +msgid "No version number" +msgstr "" + +#: ppdc/sample.c:362 +msgid "Non-continuous (Mark sensing)" +msgstr "" + +#: ppdc/sample.c:361 +msgid "Non-continuous (Web sensing)" +msgstr "" + +#: cups/ppd-cache.c:4014 cups/ppd-cache.c:4064 cups/ppd-cache.c:4114 +#: cups/ppd-cache.c:4174 +msgid "None" +msgstr "" + +#: cups/ppd-cache.c:4287 cups/ppd-cache.c:4353 cups/ppd-cache.c:4387 +#: ppdc/sample.c:238 +msgid "Normal" +msgstr "" + +#: cups/http-support.c:1522 +msgid "Not Found" +msgstr "" + +#: cups/http-support.c:1534 +msgid "Not Implemented" +msgstr "" + +#: ppdc/sample.c:268 +msgid "Not Installed" +msgstr "" + +#: cups/http-support.c:1509 +msgid "Not Modified" +msgstr "" + +#: cups/http-support.c:1537 +msgid "Not Supported" +msgstr "" + +#: scheduler/ipp.c:1510 scheduler/ipp.c:10979 +msgid "Not allowed to print." +msgstr "" + +#: ppdc/sample.c:146 +msgid "Note" +msgstr "" + +#: cups/http-support.c:1488 cups/http-support.c:1627 cups/ppd.c:283 +msgid "OK" +msgstr "" + +#: cups/ppd-cache.c:3872 ppdc/sample.c:263 +msgid "Off (1-Sided)" +msgstr "" + +#: ppdc/sample.c:356 +msgid "Oki" +msgstr "" + +#: cgi-bin/help.c:81 cgi-bin/help.c:122 cgi-bin/help.c:132 cgi-bin/help.c:162 +msgid "Online Help" +msgstr "" + +#: scheduler/ipp.c:5399 +msgid "Only local users can create a local printer." +msgstr "" + +#: cups/adminutil.c:202 +#, c-format +msgid "Open of %s failed: %s" +msgstr "" + +#: cups/ppd.c:291 +msgid "OpenGroup without a CloseGroup first" +msgstr "" + +#: cups/ppd.c:293 +msgid "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" +msgstr "" + +#: cgi-bin/admin.c:3138 +msgid "Operation Policy" +msgstr "" + +#: filter/pstops.c:2174 +#, c-format +msgid "Option \"%s\" cannot be included via %%%%IncludeFeature." +msgstr "" + +#: cgi-bin/admin.c:2785 cgi-bin/admin.c:2869 +msgid "Options Installed" +msgstr "" + +#: berkeley/lpq.c:642 berkeley/lpr.c:431 berkeley/lprm.c:232 +#: scheduler/cupsfilter.c:1476 scheduler/main.c:2133 systemv/cancel.c:401 +#: systemv/cupsaccept.c:243 systemv/cupsctl.c:232 systemv/cupstestppd.c:3857 +#: systemv/lp.c:750 systemv/lpadmin.c:1620 systemv/lpinfo.c:497 +#: systemv/lpmove.c:216 systemv/lpoptions.c:538 systemv/lpstat.c:2044 +#: tools/ippeveprinter.c:7664 tools/ippfind.c:2765 tools/ipptool.c:4307 +#: ppdc/ppdc.cxx:426 ppdc/ppdhtml.cxx:173 ppdc/ppdi.cxx:119 +#: ppdc/ppdmerge.cxx:356 ppdc/ppdpo.cxx:243 +msgid "Options:" +msgstr "" + +#: cups/dest-localization.c:169 +msgid "Other Media" +msgstr "" + +#: cups/dest-localization.c:167 +msgid "Other Tray" +msgstr "" + +#: cups/ppd-cache.c:491 +msgid "Out of date PPD cache file." +msgstr "" + +#: cups/ppd-cache.c:1934 +msgid "Out of memory." +msgstr "" + +#: cups/ppd.c:810 cups/ppd.c:1347 +msgid "Output Mode" +msgstr "" + +#: ppdc/sample.c:252 +msgid "PCL Laser Printer" +msgstr "" + +#: ppdc/sample.c:149 +msgid "PRC16K" +msgstr "" + +#: ppdc/sample.c:150 +msgid "PRC16K Long Edge" +msgstr "" + +#: ppdc/sample.c:151 +msgid "PRC32K" +msgstr "" + +#: ppdc/sample.c:154 +msgid "PRC32K Long Edge" +msgstr "" + +#: ppdc/sample.c:152 +msgid "PRC32K Oversize" +msgstr "" + +#: ppdc/sample.c:153 +msgid "PRC32K Oversize Long Edge" +msgstr "" + +#: cups/dest.c:1858 +msgid "PRINTER environment variable names default destination that does not exist." +msgstr "" + +#: cups/snmp.c:968 +msgid "Packet does not contain a Get-Response-PDU" +msgstr "" + +#: cups/snmp.c:947 +msgid "Packet does not start with SEQUENCE" +msgstr "" + +#: ppdc/sample.c:355 +msgid "ParamCustominCutInterval" +msgstr "" + +#: ppdc/sample.c:353 +msgid "ParamCustominTearInterval" +msgstr "" + +#: cups/auth.c:235 cups/auth.c:394 +#, c-format +msgid "Password for %s on %s? " +msgstr "" + +#: cgi-bin/classes.c:153 +msgid "Pause Class" +msgstr "" + +#: cgi-bin/printers.c:156 +msgid "Pause Printer" +msgstr "" + +#: ppdc/sample.c:443 +msgid "Peel-Off" +msgstr "" + +#: ppdc/sample.c:160 +msgid "Photo" +msgstr "" + +#: ppdc/sample.c:161 +msgid "Photo Labels" +msgstr "" + +#: ppdc/sample.c:281 +msgid "Plain Paper" +msgstr "" + +#: cgi-bin/admin.c:2803 cgi-bin/admin.c:3087 +msgid "Policies" +msgstr "" + +#: cgi-bin/admin.c:2810 cgi-bin/admin.c:3156 cgi-bin/admin.c:3169 +msgid "Port Monitor" +msgstr "" + +#: ppdc/sample.c:270 +msgid "PostScript Printer" +msgstr "" + +#: ppdc/sample.c:147 +msgid "Postcard" +msgstr "" + +#: ppdc/sample.c:71 +msgid "Postcard Double" +msgstr "" + +#: ppdc/sample.c:72 +msgid "Postcard Double Long Edge" +msgstr "" + +#: ppdc/sample.c:148 +msgid "Postcard Long Edge" +msgstr "" + +#: backend/ipp.c:973 backend/ipp.c:981 +msgid "Preparing to print." +msgstr "" + +#: ppdc/sample.c:290 +msgid "Print Density" +msgstr "" + +#: cups/notify.c:69 +msgid "Print Job:" +msgstr "" + +#: ppdc/sample.c:335 +msgid "Print Mode" +msgstr "" + +#: cups/ppd-cache.c:4281 cups/ppd-cache.c:4343 cups/ppd-cache.c:4383 +msgid "Print Quality" +msgstr "" + +#: ppdc/sample.c:378 +msgid "Print Rate" +msgstr "" + +#: cgi-bin/printers.c:165 +msgid "Print Self-Test Page" +msgstr "" + +#: ppdc/sample.c:322 +msgid "Print Speed" +msgstr "" + +#: cgi-bin/ipp-var.c:774 +msgid "Print Test Page" +msgstr "" + +#: ppdc/sample.c:351 +msgid "Print and Cut" +msgstr "" + +#: ppdc/sample.c:339 +msgid "Print and Tear" +msgstr "" + +#: backend/socket.c:406 backend/usb-unix.c:177 +msgid "Print file sent." +msgstr "" + +#: backend/ipp.c:2261 +msgid "Print job canceled at printer." +msgstr "" + +#: backend/ipp.c:2253 +msgid "Print job too large." +msgstr "" + +#: backend/ipp.c:1721 +msgid "Print job was not accepted." +msgstr "" + +#: scheduler/ipp.c:5465 +#, c-format +msgid "Printer \"%s\" already exists." +msgstr "" + +#: cgi-bin/ipp-var.c:1024 +msgid "Printer Added" +msgstr "" + +#: ppdc/sample.c:255 +msgid "Printer Default" +msgstr "" + +#: cgi-bin/ipp-var.c:1028 +msgid "Printer Deleted" +msgstr "" + +#: cgi-bin/ipp-var.c:1026 +msgid "Printer Modified" +msgstr "" + +#: cgi-bin/ipp-var.c:1022 +msgid "Printer Paused" +msgstr "" + +#: ppdc/sample.c:289 +msgid "Printer Settings" +msgstr "" + +#: backend/ipp.c:2256 +msgid "Printer cannot print supplied content." +msgstr "" + +#: backend/ipp.c:2259 +msgid "Printer cannot print with supplied options." +msgstr "" + +#: cups/ppd-cache.c:4556 +msgid "Printer does not support required IPP attributes or document formats." +msgstr "" + +#: cups/notify.c:113 +msgid "Printer:" +msgstr "" + +#: cgi-bin/printers.c:190 cgi-bin/printers.c:317 +msgid "Printers" +msgstr "" + +#: filter/rastertoepson.c:1107 filter/rastertohp.c:774 +#: filter/rastertolabel.c:1235 +#, c-format +msgid "Printing page %d, %u%% complete." +msgstr "" + +#: cups/ppd-cache.c:4111 +msgid "Punch" +msgstr "" + +#: ppdc/sample.c:155 +msgid "Quarto" +msgstr "" + +#: scheduler/ipp.c:1505 scheduler/ipp.c:10974 +msgid "Quota limit reached." +msgstr "" + +#: berkeley/lpq.c:495 +msgid "Rank Owner Job File(s) Total Size" +msgstr "" + +#: cgi-bin/classes.c:157 cgi-bin/printers.c:160 +msgid "Reject Jobs" +msgstr "" + +#: backend/lpd.c:1074 backend/lpd.c:1206 +#, c-format +msgid "Remote host did not accept control file (%d)." +msgstr "" + +#: backend/lpd.c:1159 +#, c-format +msgid "Remote host did not accept data file (%d)." +msgstr "" + +#: ppdc/sample.c:423 +msgid "Reprint After Error" +msgstr "" + +#: cups/http-support.c:1525 +msgid "Request Entity Too Large" +msgstr "" + +#: cups/ppd.c:812 cups/ppd.c:1349 ppdc/sample.c:231 +msgid "Resolution" +msgstr "" + +#: cgi-bin/classes.c:151 +msgid "Resume Class" +msgstr "" + +#: cgi-bin/printers.c:153 +msgid "Resume Printer" +msgstr "" + +#: ppdc/sample.c:165 +msgid "Return Address" +msgstr "" + +#: ppdc/sample.c:444 +msgid "Rewind" +msgstr "" + +#: cups/snmp.c:949 +msgid "SEQUENCE uses indefinite length" +msgstr "" + +#: cups/http-support.c:1549 +msgid "SSL/TLS Negotiation Error" +msgstr "" + +#: cups/http-support.c:1506 +msgid "See Other" +msgstr "" + +#: scheduler/ipp.c:7099 scheduler/ipp.c:7118 +msgid "See remote printer." +msgstr "" + +#: cups/tls-darwin.c:765 cups/tls-gnutls.c:606 +msgid "Self-signed credentials are blocked." +msgstr "" + +#: backend/usb-darwin.c:566 backend/usb-libusb.c:343 +msgid "Sending data to printer." +msgstr "" + +#: cgi-bin/ipp-var.c:1038 +msgid "Server Restarted" +msgstr "" + +#: cgi-bin/ipp-var.c:1044 +msgid "Server Security Auditing" +msgstr "" + +#: cgi-bin/ipp-var.c:1040 +msgid "Server Started" +msgstr "" + +#: cgi-bin/ipp-var.c:1042 +msgid "Server Stopped" +msgstr "" + +#: cups/tls-darwin.c:1275 cups/tls-gnutls.c:1298 +msgid "Server credentials not set." +msgstr "" + +#: cups/http-support.c:1543 +msgid "Service Unavailable" +msgstr "" + +#: cgi-bin/admin.c:2290 cgi-bin/admin.c:2336 cgi-bin/admin.c:2493 +#: cgi-bin/admin.c:2512 +msgid "Set Allowed Users" +msgstr "" + +#: cgi-bin/admin.c:2539 +msgid "Set As Server Default" +msgstr "" + +#: cgi-bin/admin.c:2639 +msgid "Set Class Options" +msgstr "" + +#: cgi-bin/admin.c:2639 cgi-bin/admin.c:2813 cgi-bin/admin.c:3198 +msgid "Set Printer Options" +msgstr "" + +#: cgi-bin/admin.c:3368 cgi-bin/admin.c:3412 cgi-bin/admin.c:3430 +msgid "Set Publishing" +msgstr "" + +#: ppdc/sample.c:166 +msgid "Shipping Address" +msgstr "" + +#: cups/ppd-cache.c:3872 ppdc/sample.c:265 +msgid "Short-Edge (Landscape)" +msgstr "" + +#: ppdc/sample.c:283 +msgid "Special Paper" +msgstr "" + +#: backend/lpd.c:1115 +#, c-format +msgid "Spooling job, %.0f%% complete." +msgstr "" + +#: ppdc/sample.c:336 +msgid "Standard" +msgstr "" + +#: cups/ppd-cache.c:4011 +msgid "Staple" +msgstr "" + +#. TRANSLATORS: Banner/cover sheet before the print job. +#: cgi-bin/admin.c:3059 +msgid "Starting Banner" +msgstr "" + +#: filter/rastertoepson.c:1083 filter/rastertohp.c:750 +#: filter/rastertolabel.c:1211 +#, c-format +msgid "Starting page %d." +msgstr "" + +#: ppdc/sample.c:156 +msgid "Statement" +msgstr "" + +#: scheduler/ipp.c:3591 scheduler/ipp.c:6911 scheduler/ipp.c:7636 +#: scheduler/ipp.c:9160 +#, c-format +msgid "Subscription #%d does not exist." +msgstr "" + +#: tools/ippfind.c:2812 +msgid "Substitutions:" +msgstr "" + +#: ppdc/sample.c:157 +msgid "Super A" +msgstr "" + +#: ppdc/sample.c:158 +msgid "Super B" +msgstr "" + +#: ppdc/sample.c:162 +msgid "Super B/A3" +msgstr "" + +#: cups/http-support.c:1485 +msgid "Switching Protocols" +msgstr "" + +#: ppdc/sample.c:159 +msgid "Tabloid" +msgstr "" + +#: ppdc/sample.c:45 +msgid "Tabloid Oversize" +msgstr "" + +#: ppdc/sample.c:46 +msgid "Tabloid Oversize Long Edge" +msgstr "" + +#: ppdc/sample.c:337 +msgid "Tear" +msgstr "" + +#: ppdc/sample.c:442 +msgid "Tear-Off" +msgstr "" + +#: ppdc/sample.c:383 +msgid "Tear-Off Adjust Position" +msgstr "" + +#: scheduler/ipp.c:1341 +#, c-format +msgid "The \"%s\" attribute is required for print jobs." +msgstr "" + +#: scheduler/ipp.c:6572 scheduler/ipp.c:6652 scheduler/ipp.c:6665 +#: scheduler/ipp.c:6677 scheduler/ipp.c:6692 +#, c-format +msgid "The %s attribute cannot be provided with job-ids." +msgstr "" + +#: scheduler/ipp.c:1320 +#, c-format +msgid "The '%s' Job Status attribute cannot be supplied in a job creation request." +msgstr "" + +#: scheduler/ipp.c:5194 +#, c-format +msgid "The '%s' operation attribute cannot be supplied in a Create-Job request." +msgstr "" + +#: scheduler/ipp.c:7141 +#, c-format +msgid "The PPD file \"%s\" could not be found." +msgstr "" + +#: scheduler/ipp.c:7130 +#, c-format +msgid "The PPD file \"%s\" could not be opened: %s" +msgstr "" + +#: filter/rastertoepson.c:1052 filter/rastertohp.c:721 +#: filter/rastertolabel.c:1175 +msgid "The PPD file could not be opened." +msgstr "" + +#: cgi-bin/admin.c:515 +msgid "The class name may only contain up to 127 printable characters and may not contain spaces, slashes (/), or the pound sign (#)." +msgstr "" + +#: scheduler/ipp.c:2097 +msgid "The notify-lease-duration attribute cannot be used with job subscriptions." +msgstr "" + +#: scheduler/ipp.c:2080 scheduler/ipp.c:5804 +#, c-format +msgid "The notify-user-data value is too large (%d > 63 octets)." +msgstr "" + +#: backend/ipp.c:993 +msgid "The printer configuration is incorrect or the printer no longer exists." +msgstr "" + +#: backend/lpd.c:678 backend/lpd.c:1067 backend/lpd.c:1149 backend/lpd.c:1199 +msgid "The printer did not respond." +msgstr "" + +#: backend/ipp.c:766 backend/ipp.c:956 backend/ipp.c:1070 backend/ipp.c:1523 +#: backend/ipp.c:1693 backend/lpd.c:886 backend/socket.c:354 +#: backend/usb-unix.c:117 backend/usb-unix.c:407 backend/usb-unix.c:490 +msgid "The printer is in use." +msgstr "" + +#: backend/runloop.c:236 backend/runloop.c:356 +msgid "The printer is not connected." +msgstr "" + +#: backend/ipp.c:744 backend/ipp.c:777 backend/ipp.c:952 backend/lpd.c:865 +#: backend/lpd.c:906 backend/socket.c:333 backend/socket.c:366 +msgid "The printer is not responding." +msgstr "" + +#: backend/runloop.c:378 +msgid "The printer is now connected." +msgstr "" + +#: backend/usb-darwin.c:1342 +msgid "The printer is now online." +msgstr "" + +#: backend/usb-darwin.c:1381 +msgid "The printer is offline." +msgstr "" + +#: backend/ipp.c:760 backend/lpd.c:880 backend/socket.c:348 +msgid "The printer is unreachable at this time." +msgstr "" + +#: backend/ipp.c:753 backend/lpd.c:873 backend/socket.c:341 +msgid "The printer may not exist or is unavailable at this time." +msgstr "" + +#: cgi-bin/admin.c:698 +msgid "The printer name may only contain up to 127 printable characters and may not contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the pound sign (#)." +msgstr "" + +#: scheduler/ipp.c:762 scheduler/ipp.c:1047 scheduler/ipp.c:3230 +#: scheduler/ipp.c:3411 scheduler/ipp.c:5177 scheduler/ipp.c:5638 +#: scheduler/ipp.c:5972 scheduler/ipp.c:6538 scheduler/ipp.c:7345 +#: scheduler/ipp.c:7401 scheduler/ipp.c:7742 scheduler/ipp.c:8017 +#: scheduler/ipp.c:8106 scheduler/ipp.c:8139 scheduler/ipp.c:8463 +#: scheduler/ipp.c:8870 scheduler/ipp.c:8952 scheduler/ipp.c:10122 +#: scheduler/ipp.c:10584 scheduler/ipp.c:10937 scheduler/ipp.c:11019 +#: scheduler/ipp.c:11348 +msgid "The printer or class does not exist." +msgstr "" + +#: scheduler/ipp.c:1259 +msgid "The printer or class is not shared." +msgstr "" + +#: scheduler/ipp.c:868 scheduler/ipp.c:2261 +#, c-format +msgid "The printer-uri \"%s\" contains invalid characters." +msgstr "" + +#: scheduler/ipp.c:3207 +msgid "The printer-uri attribute is required." +msgstr "" + +#: scheduler/ipp.c:852 +msgid "The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." +msgstr "" + +#: scheduler/ipp.c:2245 +msgid "The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." +msgstr "" + +#: scheduler/client.c:2003 +msgid "The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to enable it." +msgstr "" + +#: scheduler/ipp.c:6636 +#, c-format +msgid "The which-jobs value \"%s\" is not supported." +msgstr "" + +#: scheduler/ipp.c:5901 +msgid "There are too many subscriptions." +msgstr "" + +#: backend/usb-darwin.c:398 backend/usb-darwin.c:464 backend/usb-darwin.c:528 +#: backend/usb-darwin.c:549 backend/usb-libusb.c:268 backend/usb-libusb.c:322 +msgid "There was an unrecoverable USB error." +msgstr "" + +#: ppdc/sample.c:430 +msgid "Thermal Transfer Media" +msgstr "" + +#: scheduler/ipp.c:1499 +msgid "Too many active jobs." +msgstr "" + +#: scheduler/ipp.c:1393 +#, c-format +msgid "Too many job-sheets values (%d > 2)." +msgstr "" + +#: scheduler/ipp.c:2574 +#, c-format +msgid "Too many printer-state-reasons values (%d > %d)." +msgstr "" + +#: ppdc/sample.c:284 +msgid "Transparency" +msgstr "" + +#: ppdc/sample.c:279 +msgid "Tray" +msgstr "" + +#: ppdc/sample.c:256 +msgid "Tray 1" +msgstr "" + +#: ppdc/sample.c:257 +msgid "Tray 2" +msgstr "" + +#: ppdc/sample.c:258 +msgid "Tray 3" +msgstr "" + +#: ppdc/sample.c:259 +msgid "Tray 4" +msgstr "" + +#: cups/tls-darwin.c:670 cups/tls-darwin.c:752 cups/tls-gnutls.c:504 +#: cups/tls-gnutls.c:586 +msgid "Trust on first use is disabled." +msgstr "" + +#: cups/http-support.c:1528 +msgid "URI Too Long" +msgstr "" + +#: cups/http-support.c:1603 +msgid "URI too large" +msgstr "" + +#: ppdc/sample.c:124 +msgid "US Fanfold" +msgstr "" + +#: ppdc/sample.c:138 +msgid "US Ledger" +msgstr "" + +#: ppdc/sample.c:139 +msgid "US Legal" +msgstr "" + +#: ppdc/sample.c:140 +msgid "US Legal Oversize" +msgstr "" + +#: ppdc/sample.c:141 +msgid "US Letter" +msgstr "" + +#: ppdc/sample.c:142 +msgid "US Letter Long Edge" +msgstr "" + +#: ppdc/sample.c:143 +msgid "US Letter Oversize" +msgstr "" + +#: ppdc/sample.c:144 +msgid "US Letter Oversize Long Edge" +msgstr "" + +#: ppdc/sample.c:145 +msgid "US Letter Small" +msgstr "" + +#: cgi-bin/admin.c:1651 cgi-bin/admin.c:1664 cgi-bin/admin.c:1688 +msgid "Unable to access cupsd.conf file" +msgstr "" + +#: cgi-bin/help.c:123 +msgid "Unable to access help file." +msgstr "" + +#: cgi-bin/admin.c:580 +msgid "Unable to add class" +msgstr "" + +#: backend/ipp.c:1880 +msgid "Unable to add document to print job." +msgstr "" + +#: scheduler/ipp.c:1574 +#, c-format +msgid "Unable to add job for destination \"%s\"." +msgstr "" + +#: cgi-bin/admin.c:823 cgi-bin/admin.c:1193 +msgid "Unable to add printer" +msgstr "" + +#: scheduler/ipp.c:1177 +msgid "Unable to allocate memory for file types." +msgstr "" + +#: filter/pstops.c:415 +msgid "Unable to allocate memory for page info" +msgstr "" + +#: filter/pstops.c:409 +msgid "Unable to allocate memory for pages array" +msgstr "" + +#: tools/ippeveprinter.c:1486 +msgid "Unable to allocate memory for printer" +msgstr "" + +#: backend/ipp.c:2165 backend/ipp.c:2696 +msgid "Unable to cancel print job." +msgstr "" + +#: cgi-bin/admin.c:2494 +msgid "Unable to change printer" +msgstr "" + +#: cgi-bin/admin.c:3413 +msgid "Unable to change printer-is-shared attribute" +msgstr "" + +#: cgi-bin/admin.c:1349 cgi-bin/admin.c:1491 +msgid "Unable to change server settings" +msgstr "" + +#: cups/ipp.c:5179 +#, c-format +msgid "Unable to compile mimeMediaType regular expression: %s." +msgstr "" + +#: cups/ipp.c:5134 +#, c-format +msgid "Unable to compile naturalLanguage regular expression: %s." +msgstr "" + +#: filter/commandtops.c:401 +msgid "Unable to configure printer options." +msgstr "" + +#: cups/adminutil.c:158 cups/request.c:1057 +msgid "Unable to connect to host." +msgstr "" + +#: backend/ipp.c:723 backend/ipp.c:1275 backend/lpd.c:846 backend/socket.c:314 +#: backend/usb-unix.c:103 +msgid "Unable to contact printer, queuing on next printer in class." +msgstr "" + +#: scheduler/ipp.c:2676 +#, c-format +msgid "Unable to copy PPD file - %s" +msgstr "" + +#: scheduler/ipp.c:2721 +msgid "Unable to copy PPD file." +msgstr "" + +#: cups/tls-darwin.c:636 cups/tls-gnutls.c:467 +msgid "Unable to create credentials from array." +msgstr "" + +#: cups/ppd-util.c:573 cups/util.c:478 +msgid "Unable to create printer-uri" +msgstr "" + +#: scheduler/ipp.c:5475 +msgid "Unable to create printer." +msgstr "" + +#: cups/tls-darwin.c:1566 cups/tls-gnutls.c:1510 +msgid "Unable to create server credentials." +msgstr "" + +#: tools/ippeveprinter.c:626 +#, c-format +msgid "Unable to create spool directory \"%s\": %s" +msgstr "" + +#: cgi-bin/admin.c:1542 cgi-bin/admin.c:1554 scheduler/cupsfilter.c:1284 +msgid "Unable to create temporary file" +msgstr "" + +#: cgi-bin/admin.c:1845 +msgid "Unable to delete class" +msgstr "" + +#: cgi-bin/admin.c:1930 +msgid "Unable to delete printer" +msgstr "" + +#: cgi-bin/classes.c:246 cgi-bin/printers.c:255 +msgid "Unable to do maintenance command" +msgstr "" + +#: cgi-bin/admin.c:1666 +msgid "Unable to edit cupsd.conf files larger than 1MB" +msgstr "" + +#: cups/tls-darwin.c:1793 +#, c-format +msgid "Unable to establish a secure connection to host (%d)." +msgstr "" + +#: cups/tls-darwin.c:1754 +msgid "Unable to establish a secure connection to host (certificate chain invalid)." +msgstr "" + +#: cups/tls-darwin.c:1744 +msgid "Unable to establish a secure connection to host (certificate not yet valid)." +msgstr "" + +#: cups/tls-darwin.c:1739 +msgid "Unable to establish a secure connection to host (expired certificate)." +msgstr "" + +#: cups/tls-darwin.c:1749 +msgid "Unable to establish a secure connection to host (host name mismatch)." +msgstr "" + +#: cups/tls-darwin.c:1759 +msgid "Unable to establish a secure connection to host (peer dropped connection before responding)." +msgstr "" + +#: cups/tls-darwin.c:1734 +msgid "Unable to establish a secure connection to host (self-signed certificate)." +msgstr "" + +#: cups/tls-darwin.c:1729 +msgid "Unable to establish a secure connection to host (untrusted certificate)." +msgstr "" + +#: cups/tls-sspi.c:1277 cups/tls-sspi.c:1294 +msgid "Unable to establish a secure connection to host." +msgstr "" + +#: tools/ippeveprinter.c:1461 tools/ippeveprinter.c:1471 +#, c-format +msgid "Unable to execute command \"%s\": %s" +msgstr "" + +#: cgi-bin/ipp-var.c:347 +msgid "Unable to find destination for job" +msgstr "" + +#: cups/http-support.c:2094 +msgid "Unable to find printer." +msgstr "" + +#: cups/tls-darwin.c:1579 +msgid "Unable to find server credentials." +msgstr "" + +#: backend/ipp.c:3359 +msgid "Unable to get backend exit status." +msgstr "" + +#: cgi-bin/classes.c:426 +msgid "Unable to get class list" +msgstr "" + +#: cgi-bin/classes.c:525 +msgid "Unable to get class status" +msgstr "" + +#: cgi-bin/admin.c:1087 +msgid "Unable to get list of printer drivers" +msgstr "" + +#: cgi-bin/admin.c:2344 +msgid "Unable to get printer attributes" +msgstr "" + +#: cgi-bin/printers.c:443 +msgid "Unable to get printer list" +msgstr "" + +#: cgi-bin/printers.c:545 +msgid "Unable to get printer status" +msgstr "" + +#: backend/ipp.c:1017 +msgid "Unable to get printer status." +msgstr "" + +#: cgi-bin/help.c:82 +msgid "Unable to load help index." +msgstr "" + +#: backend/network.c:69 +#, c-format +msgid "Unable to locate printer \"%s\"." +msgstr "" + +#: backend/dnssd.c:752 backend/ipp.c:336 backend/lpd.c:181 +#: backend/socket.c:155 +msgid "Unable to locate printer." +msgstr "" + +#: cgi-bin/admin.c:579 +msgid "Unable to modify class" +msgstr "" + +#: cgi-bin/admin.c:822 cgi-bin/admin.c:1192 +msgid "Unable to modify printer" +msgstr "" + +#: cgi-bin/ipp-var.c:414 cgi-bin/ipp-var.c:503 +msgid "Unable to move job" +msgstr "" + +#: cgi-bin/ipp-var.c:416 cgi-bin/ipp-var.c:505 +msgid "Unable to move jobs" +msgstr "" + +#: cgi-bin/admin.c:2690 cups/ppd.c:284 +msgid "Unable to open PPD file" +msgstr "" + +#: cgi-bin/admin.c:2161 +msgid "Unable to open cupsd.conf file:" +msgstr "" + +#: backend/usb-unix.c:127 +msgid "Unable to open device file" +msgstr "" + +#: scheduler/ipp.c:6315 +#, c-format +msgid "Unable to open document #%d in job #%d." +msgstr "" + +#: cgi-bin/help.c:356 +msgid "Unable to open help file." +msgstr "" + +#: backend/ipp.c:377 backend/ipp.c:1620 backend/ipp.c:1833 backend/lpd.c:469 +#: backend/socket.c:142 backend/usb.c:224 filter/gziptoany.c:65 +#: filter/pstops.c:262 +msgid "Unable to open print file" +msgstr "" + +#: filter/rastertoepson.c:1012 filter/rastertohp.c:681 +#: filter/rastertolabel.c:1133 +msgid "Unable to open raster file" +msgstr "" + +#: cgi-bin/ipp-var.c:777 +msgid "Unable to print test page" +msgstr "" + +#: backend/runloop.c:78 backend/runloop.c:307 backend/usb-darwin.c:636 +#: backend/usb-darwin.c:680 backend/usb-libusb.c:413 backend/usb-libusb.c:448 +msgid "Unable to read print data." +msgstr "" + +#: tools/ippeveprinter.c:6613 tools/ippeveprinter.c:6631 +#: tools/ippeveprinter.c:6650 tools/ippeveprinter.c:6664 +#, c-format +msgid "Unable to register \"%s.%s\": %d" +msgstr "" + +#: scheduler/ipp.c:8622 scheduler/ipp.c:9865 +msgid "Unable to rename job document file." +msgstr "" + +#: cups/dest.c:3265 +msgid "Unable to resolve printer-uri." +msgstr "" + +#: filter/pstops.c:527 +msgid "Unable to see in file" +msgstr "" + +#: cgi-bin/ipp-var.c:580 cgi-bin/ipp-var.c:600 +msgid "Unable to send command to printer driver" +msgstr "" + +#: backend/usb-darwin.c:758 backend/usb-libusb.c:524 +msgid "Unable to send data to printer." +msgstr "" + +#: cgi-bin/admin.c:3314 +msgid "Unable to set options" +msgstr "" + +#: cgi-bin/admin.c:2581 +msgid "Unable to set server default" +msgstr "" + +#: backend/ipp.c:3218 backend/ipp.c:3295 backend/ipp.c:3303 +msgid "Unable to start backend process." +msgstr "" + +#: cgi-bin/admin.c:1604 +msgid "Unable to upload cupsd.conf file" +msgstr "" + +#: backend/usb-darwin.c:2148 backend/usb-darwin.c:2172 +msgid "Unable to use legacy USB class driver." +msgstr "" + +#: backend/runloop.c:107 backend/runloop.c:362 +msgid "Unable to write print data" +msgstr "" + +#: filter/gziptoany.c:84 +#, c-format +msgid "Unable to write uncompressed print data: %s" +msgstr "" + +#: cups/http-support.c:1516 +msgid "Unauthorized" +msgstr "" + +#: cgi-bin/admin.c:3010 +msgid "Units" +msgstr "" + +#: cups/http-support.c:1556 cups/http-support.c:1640 cups/ppd.c:313 +msgid "Unknown" +msgstr "" + +#: filter/pstops.c:2182 +#, c-format +msgid "Unknown choice \"%s\" for option \"%s\"." +msgstr "" + +#: tools/ippeveprinter.c:3848 +#, c-format +msgid "Unknown directive \"%s\" on line %d of \"%s\" ignored." +msgstr "" + +#: backend/ipp.c:519 +#, c-format +msgid "Unknown encryption option value: \"%s\"." +msgstr "" + +#: backend/lpd.c:327 +#, c-format +msgid "Unknown file order: \"%s\"." +msgstr "" + +#: backend/lpd.c:298 +#, c-format +msgid "Unknown format character: \"%c\"." +msgstr "" + +#: cups/hash.c:278 +msgid "Unknown hash algorithm." +msgstr "" + +#: cups/dest-options.c:1157 +msgid "Unknown media size name." +msgstr "" + +#: backend/ipp.c:583 +#, c-format +msgid "Unknown option \"%s\" with value \"%s\"." +msgstr "" + +#: filter/pstops.c:2165 +#, c-format +msgid "Unknown option \"%s\"." +msgstr "" + +#: backend/lpd.c:313 +#, c-format +msgid "Unknown print mode: \"%s\"." +msgstr "" + +#: scheduler/ipp.c:10806 +#, c-format +msgid "Unknown printer-error-policy \"%s\"." +msgstr "" + +#: scheduler/ipp.c:10789 +#, c-format +msgid "Unknown printer-op-policy \"%s\"." +msgstr "" + +#: cups/http.c:2266 +msgid "Unknown request method." +msgstr "" + +#: cups/http.c:2286 +msgid "Unknown request version." +msgstr "" + +#: cups/http-support.c:1633 +msgid "Unknown scheme in URI" +msgstr "" + +#: cups/http-addrlist.c:824 +msgid "Unknown service name." +msgstr "" + +#: backend/ipp.c:548 +#, c-format +msgid "Unknown version option value: \"%s\"." +msgstr "" + +#: scheduler/ipp.c:11265 +#, c-format +msgid "Unsupported 'compression' value \"%s\"." +msgstr "" + +#: scheduler/ipp.c:11295 +#, c-format +msgid "Unsupported 'document-format' value \"%s\"." +msgstr "" + +#: scheduler/ipp.c:7969 scheduler/ipp.c:10348 scheduler/ipp.c:11309 +msgid "Unsupported 'job-hold-until' value." +msgstr "" + +#: scheduler/ipp.c:11325 +msgid "Unsupported 'job-name' value." +msgstr "" + +#: scheduler/ipp.c:298 +#, c-format +msgid "Unsupported character set \"%s\"." +msgstr "" + +#: scheduler/ipp.c:8429 scheduler/ipp.c:9677 +#, c-format +msgid "Unsupported compression \"%s\"." +msgstr "" + +#: scheduler/ipp.c:8565 scheduler/ipp.c:9830 +#, c-format +msgid "Unsupported document-format \"%s\"." +msgstr "" + +#: scheduler/ipp.c:9813 +#, c-format +msgid "Unsupported document-format \"%s/%s\"." +msgstr "" + +#: scheduler/ipp.c:1359 +#, c-format +msgid "Unsupported format \"%s\"." +msgstr "" + +#: scheduler/ipp.c:1457 +msgid "Unsupported margins." +msgstr "" + +#: cups/pwg-media.c:541 +msgid "Unsupported media value." +msgstr "" + +#: filter/pstops.c:2447 +#, c-format +msgid "Unsupported number-up value %d, using number-up=1." +msgstr "" + +#: filter/pstops.c:2481 +#, c-format +msgid "Unsupported number-up-layout value %s, using number-up-layout=lrtb." +msgstr "" + +#: filter/pstops.c:2532 +#, c-format +msgid "Unsupported page-border value %s, using page-border=none." +msgstr "" + +#: filter/rastertopwg.c:132 filter/rastertopwg.c:168 filter/rastertopwg.c:176 +#: filter/rastertopwg.c:185 +msgid "Unsupported raster data." +msgstr "" + +#: cups/snmp.c:1066 +msgid "Unsupported value type" +msgstr "" + +#: cups/http-support.c:1531 +msgid "Upgrade Required" +msgstr "" + +#: systemv/cupsaccept.c:242 +#, c-format +msgid "Usage: %s [options] destination(s)" +msgstr "" + +#: backend/dnssd.c:192 backend/ipp.c:325 backend/lpd.c:168 +#: backend/socket.c:119 backend/usb.c:170 filter/commandtops.c:57 +#: filter/gziptoany.c:38 filter/pstops.c:223 monitor/bcp.c:48 +#: monitor/tbcp.c:47 +#, c-format +msgid "Usage: %s job-id user title copies options [file]" +msgstr "" + +#: systemv/cancel.c:398 +msgid "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" +msgstr "" + +#: systemv/cupsctl.c:231 +msgid "Usage: cupsctl [options] [param=value ... paramN=valueN]" +msgstr "" + +#: scheduler/main.c:2132 +msgid "Usage: cupsd [options]" +msgstr "" + +#: scheduler/cupsfilter.c:1475 +msgid "Usage: cupsfilter [ options ] [ -- ] filename" +msgstr "" + +#: systemv/cupstestppd.c:3855 +msgid "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" +msgstr "" + +#: tools/ippeveprinter.c:7663 +msgid "Usage: ippeveprinter [options] \"name\"" +msgstr "" + +#: tools/ippfind.c:2759 +msgid "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" +msgstr "" + +#: tools/ipptool.c:4306 +msgid "Usage: ipptool [options] URI filename [ ... filenameN ]" +msgstr "" + +#: systemv/lp.c:748 +msgid "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" +msgstr "" + +#: systemv/lpadmin.c:1615 +msgid "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" +msgstr "" + +#: systemv/lpinfo.c:495 +msgid "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" +msgstr "" + +#: systemv/lpmove.c:214 +msgid "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" +msgstr "" + +#: systemv/lpoptions.c:534 +msgid "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" +msgstr "" + +#: berkeley/lpq.c:641 +msgid "Usage: lpq [options] [+interval]" +msgstr "" + +#: berkeley/lpr.c:430 +msgid "Usage: lpr [options] [file(s)]" +msgstr "" + +#: berkeley/lprm.c:230 +msgid "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" +msgstr "" + +#: systemv/lpstat.c:2043 +msgid "Usage: lpstat [options]" +msgstr "" + +#: ppdc/ppdc.cxx:424 +msgid "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" +msgstr "" + +#: ppdc/ppdhtml.cxx:171 +msgid "Usage: ppdhtml [options] filename.drv >filename.html" +msgstr "" + +#: ppdc/ppdi.cxx:117 +msgid "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "" + +#: ppdc/ppdmerge.cxx:354 +msgid "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "" + +#: ppdc/ppdpo.cxx:241 +msgid "Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" +msgstr "" + +#: backend/snmp.c:185 +msgid "Usage: snmp [host-or-ip-address]" +msgstr "" + +#: tools/ippeveprinter.c:631 +#, c-format +msgid "Using spool directory \"%s\"." +msgstr "" + +#: cups/snmp.c:1018 +msgid "Value uses indefinite length" +msgstr "" + +#: cups/snmp.c:1003 +msgid "VarBind uses indefinite length" +msgstr "" + +#: cups/snmp.c:953 +msgid "Version uses indefinite length" +msgstr "" + +#: backend/ipp.c:2000 +msgid "Waiting for job to complete." +msgstr "" + +#: backend/usb-darwin.c:429 backend/usb-darwin.c:483 backend/usb-libusb.c:220 +msgid "Waiting for printer to become available." +msgstr "" + +#: backend/socket.c:417 +msgid "Waiting for printer to finish." +msgstr "" + +#: systemv/cupstestppd.c:3854 +msgid "Warning: This program will be removed in a future version of CUPS." +msgstr "" + +#: cups/http-support.c:1552 +msgid "Web Interface is Disabled" +msgstr "" + +#: cups/ppd.c:1972 +msgid "Yes" +msgstr "" + +#: scheduler/client.c:1991 +msgid "You cannot access this page." +msgstr "" + +#: scheduler/client.c:1997 +#, c-format +msgid "You must access this page using the URL https://%s:%d%s." +msgstr "" + +#: scheduler/client.c:1989 +msgid "Your account does not have the necessary privileges." +msgstr "" + +#: ppdc/sample.c:434 +msgid "ZPL Label Printer" +msgstr "" + +#: ppdc/sample.c:357 +msgid "Zebra" +msgstr "" + +#: cups/notify.c:89 +msgid "aborted" +msgstr "" + +#. TRANSLATORS: Accuracy Units +#: locale/ipp-strings.c:2 +msgid "accuracy-units" +msgstr "" + +#. TRANSLATORS: Millimeters +#: locale/ipp-strings.c:4 +msgid "accuracy-units.mm" +msgstr "" + +#. TRANSLATORS: Nanometers +#: locale/ipp-strings.c:6 +msgid "accuracy-units.nm" +msgstr "" + +#. TRANSLATORS: Micrometers +#: locale/ipp-strings.c:8 +msgid "accuracy-units.um" +msgstr "" + +#. TRANSLATORS: Bale Output +#: locale/ipp-strings.c:10 +msgid "baling" +msgstr "" + +#. TRANSLATORS: Bale Using +#: locale/ipp-strings.c:12 +msgid "baling-type" +msgstr "" + +#. TRANSLATORS: Band +#: locale/ipp-strings.c:14 +msgid "baling-type.band" +msgstr "" + +#. TRANSLATORS: Shrink Wrap +#: locale/ipp-strings.c:16 +msgid "baling-type.shrink-wrap" +msgstr "" + +#. TRANSLATORS: Wrap +#: locale/ipp-strings.c:18 +msgid "baling-type.wrap" +msgstr "" + +#. TRANSLATORS: Bale After +#: locale/ipp-strings.c:20 +msgid "baling-when" +msgstr "" + +#. TRANSLATORS: Job +#: locale/ipp-strings.c:22 +msgid "baling-when.after-job" +msgstr "" + +#. TRANSLATORS: Sets +#: locale/ipp-strings.c:24 +msgid "baling-when.after-sets" +msgstr "" + +#. TRANSLATORS: Bind Output +#: locale/ipp-strings.c:26 +msgid "binding" +msgstr "" + +#. TRANSLATORS: Bind Edge +#: locale/ipp-strings.c:28 +msgid "binding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +#: locale/ipp-strings.c:30 +msgid "binding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +#: locale/ipp-strings.c:32 +msgid "binding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +#: locale/ipp-strings.c:34 +msgid "binding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +#: locale/ipp-strings.c:36 +msgid "binding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Binder Type +#: locale/ipp-strings.c:38 +msgid "binding-type" +msgstr "" + +#. TRANSLATORS: Adhesive +#: locale/ipp-strings.c:40 +msgid "binding-type.adhesive" +msgstr "" + +#. TRANSLATORS: Comb +#: locale/ipp-strings.c:42 +msgid "binding-type.comb" +msgstr "" + +#. TRANSLATORS: Flat +#: locale/ipp-strings.c:44 +msgid "binding-type.flat" +msgstr "" + +#. TRANSLATORS: Padding +#: locale/ipp-strings.c:46 +msgid "binding-type.padding" +msgstr "" + +#. TRANSLATORS: Perfect +#: locale/ipp-strings.c:48 +msgid "binding-type.perfect" +msgstr "" + +#. TRANSLATORS: Spiral +#: locale/ipp-strings.c:50 +msgid "binding-type.spiral" +msgstr "" + +#. TRANSLATORS: Tape +#: locale/ipp-strings.c:52 +msgid "binding-type.tape" +msgstr "" + +#. TRANSLATORS: Velo +#: locale/ipp-strings.c:54 +msgid "binding-type.velo" +msgstr "" + +#: cups/notify.c:86 +msgid "canceled" +msgstr "" + +#. TRANSLATORS: Chamber Humidity +#: locale/ipp-strings.c:56 +msgid "chamber-humidity" +msgstr "" + +#. TRANSLATORS: Chamber Temperature +#: locale/ipp-strings.c:58 +msgid "chamber-temperature" +msgstr "" + +#. TRANSLATORS: Print Job Cost +#: locale/ipp-strings.c:60 +msgid "charge-info-message" +msgstr "" + +#. TRANSLATORS: Coat Sheets +#: locale/ipp-strings.c:62 +msgid "coating" +msgstr "" + +#. TRANSLATORS: Add Coating To +#: locale/ipp-strings.c:64 +msgid "coating-sides" +msgstr "" + +#. TRANSLATORS: Back +#: locale/ipp-strings.c:66 +msgid "coating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +#: locale/ipp-strings.c:68 +msgid "coating-sides.both" +msgstr "" + +#. TRANSLATORS: Front +#: locale/ipp-strings.c:70 +msgid "coating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Coating +#: locale/ipp-strings.c:72 +msgid "coating-type" +msgstr "" + +#. TRANSLATORS: Archival +#: locale/ipp-strings.c:74 +msgid "coating-type.archival" +msgstr "" + +#. TRANSLATORS: Archival Glossy +#: locale/ipp-strings.c:76 +msgid "coating-type.archival-glossy" +msgstr "" + +#. TRANSLATORS: Archival Matte +#: locale/ipp-strings.c:78 +msgid "coating-type.archival-matte" +msgstr "" + +#. TRANSLATORS: Archival Semi Gloss +#: locale/ipp-strings.c:80 +msgid "coating-type.archival-semi-gloss" +msgstr "" + +#. TRANSLATORS: Glossy +#: locale/ipp-strings.c:82 +msgid "coating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +#: locale/ipp-strings.c:84 +msgid "coating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +#: locale/ipp-strings.c:86 +msgid "coating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +#: locale/ipp-strings.c:88 +msgid "coating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Silicone +#: locale/ipp-strings.c:90 +msgid "coating-type.silicone" +msgstr "" + +#. TRANSLATORS: Translucent +#: locale/ipp-strings.c:92 +msgid "coating-type.translucent" +msgstr "" + +#: cups/notify.c:92 +msgid "completed" +msgstr "" + +#. TRANSLATORS: Print Confirmation Sheet +#: locale/ipp-strings.c:94 +msgid "confirmation-sheet-print" +msgstr "" + +#. TRANSLATORS: Copies +#: locale/ipp-strings.c:96 +msgid "copies" +msgstr "" + +#. TRANSLATORS: Back Cover +#: locale/ipp-strings.c:98 +msgid "cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +#: locale/ipp-strings.c:100 +msgid "cover-front" +msgstr "" + +#. TRANSLATORS: Cover Sheet Info +#: locale/ipp-strings.c:102 +msgid "cover-sheet-info" +msgstr "" + +#. TRANSLATORS: Date Time +#: locale/ipp-strings.c:104 +msgid "cover-sheet-info-supported.date-time" +msgstr "" + +#. TRANSLATORS: From Name +#: locale/ipp-strings.c:106 +msgid "cover-sheet-info-supported.from-name" +msgstr "" + +#. TRANSLATORS: Logo +#: locale/ipp-strings.c:108 +msgid "cover-sheet-info-supported.logo" +msgstr "" + +#. TRANSLATORS: Message +#: locale/ipp-strings.c:110 +msgid "cover-sheet-info-supported.message" +msgstr "" + +#. TRANSLATORS: Organization +#: locale/ipp-strings.c:112 +msgid "cover-sheet-info-supported.organization" +msgstr "" + +#. TRANSLATORS: Subject +#: locale/ipp-strings.c:114 +msgid "cover-sheet-info-supported.subject" +msgstr "" + +#. TRANSLATORS: To Name +#: locale/ipp-strings.c:116 +msgid "cover-sheet-info-supported.to-name" +msgstr "" + +#. TRANSLATORS: Printed Cover +#: locale/ipp-strings.c:118 +msgid "cover-type" +msgstr "" + +#. TRANSLATORS: No Cover +#: locale/ipp-strings.c:120 +msgid "cover-type.no-cover" +msgstr "" + +#. TRANSLATORS: Back Only +#: locale/ipp-strings.c:122 +msgid "cover-type.print-back" +msgstr "" + +#. TRANSLATORS: Front and Back +#: locale/ipp-strings.c:124 +msgid "cover-type.print-both" +msgstr "" + +#. TRANSLATORS: Front Only +#: locale/ipp-strings.c:126 +msgid "cover-type.print-front" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:128 +msgid "cover-type.print-none" +msgstr "" + +#. TRANSLATORS: Cover Output +#: locale/ipp-strings.c:130 +msgid "covering" +msgstr "" + +#. TRANSLATORS: Add Cover +#: locale/ipp-strings.c:132 +msgid "covering-name" +msgstr "" + +#. TRANSLATORS: Plain +#: locale/ipp-strings.c:134 +msgid "covering-name.plain" +msgstr "" + +#. TRANSLATORS: Pre-cut +#: locale/ipp-strings.c:136 +msgid "covering-name.pre-cut" +msgstr "" + +#. TRANSLATORS: Pre-printed +#: locale/ipp-strings.c:138 +msgid "covering-name.pre-printed" +msgstr "" + +#: scheduler/ipp.c:6187 +msgid "cups-deviced failed to execute." +msgstr "" + +#: scheduler/ipp.c:7073 scheduler/ipp.c:7312 +msgid "cups-driverd failed to execute." +msgstr "" + +#: systemv/cupsctl.c:170 +#, c-format +msgid "cupsctl: Cannot set %s directly." +msgstr "" + +#: systemv/cupsctl.c:183 +#, c-format +msgid "cupsctl: Unable to connect to server: %s" +msgstr "" + +#: systemv/cupsctl.c:226 +#, c-format +msgid "cupsctl: Unknown option \"%s\"" +msgstr "" + +#: systemv/cupsctl.c:228 +#, c-format +msgid "cupsctl: Unknown option \"-%c\"" +msgstr "" + +#: scheduler/main.c:174 +msgid "cupsd: Expected config filename after \"-c\" option." +msgstr "" + +#: scheduler/main.c:270 +msgid "cupsd: Expected cups-files.conf filename after \"-s\" option." +msgstr "" + +#: scheduler/main.c:244 +msgid "cupsd: On-demand support not compiled in, running in normal mode." +msgstr "" + +#: scheduler/main.c:281 +msgid "cupsd: Relative cups-files.conf filename not allowed." +msgstr "" + +#: scheduler/main.c:205 scheduler/main.c:212 +msgid "cupsd: Unable to get current directory." +msgstr "" + +#: scheduler/main.c:340 scheduler/main.c:350 +msgid "cupsd: Unable to get path to cups-files.conf file." +msgstr "" + +#: scheduler/main.c:321 +#, c-format +msgid "cupsd: Unknown argument \"%s\" - aborting." +msgstr "" + +#: scheduler/main.c:312 +#, c-format +msgid "cupsd: Unknown option \"%c\" - aborting." +msgstr "" + +#: scheduler/cupsfilter.c:1257 +#, c-format +msgid "cupsfilter: Invalid document number %d." +msgstr "" + +#: scheduler/cupsfilter.c:1251 +#, c-format +msgid "cupsfilter: Invalid job ID %d." +msgstr "" + +#: scheduler/cupsfilter.c:342 +msgid "cupsfilter: Only one filename can be specified." +msgstr "" + +#: scheduler/cupsfilter.c:1299 +#, c-format +msgid "cupsfilter: Unable to get job file - %s" +msgstr "" + +#: systemv/cupstestppd.c:238 +msgid "cupstestppd: The -q option is incompatible with the -v option." +msgstr "" + +#: systemv/cupstestppd.c:254 +msgid "cupstestppd: The -v option is incompatible with the -q option." +msgstr "" + +#. TRANSLATORS: Detailed Status Message +#: locale/ipp-strings.c:140 +msgid "detailed-status-message" +msgstr "" + +#: systemv/lpstat.c:1253 systemv/lpstat.c:1256 systemv/lpstat.c:1259 +#, c-format +msgid "device for %s/%s: %s" +msgstr "" + +#: systemv/lpstat.c:1239 systemv/lpstat.c:1242 systemv/lpstat.c:1245 +#, c-format +msgid "device for %s: %s" +msgstr "" + +#. TRANSLATORS: Copies +#: locale/ipp-strings.c:142 +msgid "document-copies" +msgstr "" + +#. TRANSLATORS: Document Privacy Attributes +#: locale/ipp-strings.c:144 +msgid "document-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +#: locale/ipp-strings.c:146 +msgid "document-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +#: locale/ipp-strings.c:148 +msgid "document-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Document Description +#: locale/ipp-strings.c:150 +msgid "document-privacy-attributes.document-description" +msgstr "" + +#. TRANSLATORS: Document Template +#: locale/ipp-strings.c:152 +msgid "document-privacy-attributes.document-template" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:154 +msgid "document-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Document Privacy Scope +#: locale/ipp-strings.c:156 +msgid "document-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +#: locale/ipp-strings.c:158 +msgid "document-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +#: locale/ipp-strings.c:160 +msgid "document-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:162 +msgid "document-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +#: locale/ipp-strings.c:164 +msgid "document-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Document State +#: locale/ipp-strings.c:166 +msgid "document-state" +msgstr "" + +#. TRANSLATORS: Detailed Document State +#: locale/ipp-strings.c:168 +msgid "document-state-reasons" +msgstr "" + +#. TRANSLATORS: Aborted By System +#: locale/ipp-strings.c:170 +msgid "document-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Canceled At Device +#: locale/ipp-strings.c:172 +msgid "document-state-reasons.canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled By Operator +#: locale/ipp-strings.c:174 +msgid "document-state-reasons.canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled By User +#: locale/ipp-strings.c:176 +msgid "document-state-reasons.canceled-by-user" +msgstr "" + +#. TRANSLATORS: Completed Successfully +#: locale/ipp-strings.c:178 +msgid "document-state-reasons.completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed With Errors +#: locale/ipp-strings.c:180 +msgid "document-state-reasons.completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed With Warnings +#: locale/ipp-strings.c:182 +msgid "document-state-reasons.completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Compression Error +#: locale/ipp-strings.c:184 +msgid "document-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Data Insufficient +#: locale/ipp-strings.c:186 +msgid "document-state-reasons.data-insufficient" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +#: locale/ipp-strings.c:188 +msgid "document-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +#: locale/ipp-strings.c:190 +msgid "document-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Digital Signature Wait +#: locale/ipp-strings.c:192 +msgid "document-state-reasons.digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Document Access Error +#: locale/ipp-strings.c:194 +msgid "document-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Fetchable +#: locale/ipp-strings.c:196 +msgid "document-state-reasons.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document Format Error +#: locale/ipp-strings.c:198 +msgid "document-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +#: locale/ipp-strings.c:200 +msgid "document-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +#: locale/ipp-strings.c:202 +msgid "document-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +#: locale/ipp-strings.c:204 +msgid "document-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +#: locale/ipp-strings.c:206 +msgid "document-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +#: locale/ipp-strings.c:208 +msgid "document-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Incoming +#: locale/ipp-strings.c:210 +msgid "document-state-reasons.incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +#: locale/ipp-strings.c:212 +msgid "document-state-reasons.interpreting" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:214 +msgid "document-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Outgoing +#: locale/ipp-strings.c:216 +msgid "document-state-reasons.outgoing" +msgstr "" + +#. TRANSLATORS: Printing +#: locale/ipp-strings.c:218 +msgid "document-state-reasons.printing" +msgstr "" + +#. TRANSLATORS: Processing To Stop Point +#: locale/ipp-strings.c:220 +msgid "document-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Queued +#: locale/ipp-strings.c:222 +msgid "document-state-reasons.queued" +msgstr "" + +#. TRANSLATORS: Queued For Marker +#: locale/ipp-strings.c:224 +msgid "document-state-reasons.queued-for-marker" +msgstr "" + +#. TRANSLATORS: Queued In Device +#: locale/ipp-strings.c:226 +msgid "document-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +#: locale/ipp-strings.c:228 +msgid "document-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +#: locale/ipp-strings.c:230 +msgid "document-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +#: locale/ipp-strings.c:232 +msgid "document-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Transforming +#: locale/ipp-strings.c:234 +msgid "document-state-reasons.transforming" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +#: locale/ipp-strings.c:236 +msgid "document-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +#: locale/ipp-strings.c:238 +msgid "document-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Warnings Detected +#: locale/ipp-strings.c:240 +msgid "document-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +#: locale/ipp-strings.c:242 +msgid "document-state.3" +msgstr "" + +#. TRANSLATORS: Processing +#: locale/ipp-strings.c:244 +msgid "document-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +#: locale/ipp-strings.c:246 +msgid "document-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +#: locale/ipp-strings.c:248 +msgid "document-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +#: locale/ipp-strings.c:250 +msgid "document-state.8" +msgstr "" + +#. TRANSLATORS: Completed +#: locale/ipp-strings.c:252 +msgid "document-state.9" +msgstr "" + +#: cups/snmp.c:990 +msgid "error-index uses indefinite length" +msgstr "" + +#: cups/snmp.c:982 +msgid "error-status uses indefinite length" +msgstr "" + +#: tools/ippfind.c:2808 +msgid "" +"expression --and expression\n" +" Logical AND" +msgstr "" + +#: tools/ippfind.c:2810 +msgid "" +"expression --or expression\n" +" Logical OR" +msgstr "" + +#: tools/ippfind.c:2807 +msgid "expression expression Logical AND" +msgstr "" + +#. TRANSLATORS: Feed Orientation +#: locale/ipp-strings.c:254 +msgid "feed-orientation" +msgstr "" + +#. TRANSLATORS: Long Edge First +#: locale/ipp-strings.c:256 +msgid "feed-orientation.long-edge-first" +msgstr "" + +#. TRANSLATORS: Short Edge First +#: locale/ipp-strings.c:258 +msgid "feed-orientation.short-edge-first" +msgstr "" + +#. TRANSLATORS: Fetch Status Code +#: locale/ipp-strings.c:260 +msgid "fetch-status-code" +msgstr "" + +#. TRANSLATORS: Finishing Template +#: locale/ipp-strings.c:262 +msgid "finishing-template" +msgstr "" + +#. TRANSLATORS: Bale +#: locale/ipp-strings.c:264 +msgid "finishing-template.bale" +msgstr "" + +#. TRANSLATORS: Bind +#: locale/ipp-strings.c:266 +msgid "finishing-template.bind" +msgstr "" + +#. TRANSLATORS: Bind Bottom +#: locale/ipp-strings.c:268 +msgid "finishing-template.bind-bottom" +msgstr "" + +#. TRANSLATORS: Bind Left +#: locale/ipp-strings.c:270 +msgid "finishing-template.bind-left" +msgstr "" + +#. TRANSLATORS: Bind Right +#: locale/ipp-strings.c:272 +msgid "finishing-template.bind-right" +msgstr "" + +#. TRANSLATORS: Bind Top +#: locale/ipp-strings.c:274 +msgid "finishing-template.bind-top" +msgstr "" + +#. TRANSLATORS: Booklet Maker +#: locale/ipp-strings.c:276 +msgid "finishing-template.booklet-maker" +msgstr "" + +#. TRANSLATORS: Coat +#: locale/ipp-strings.c:278 +msgid "finishing-template.coat" +msgstr "" + +#. TRANSLATORS: Cover +#: locale/ipp-strings.c:280 +msgid "finishing-template.cover" +msgstr "" + +#. TRANSLATORS: Edge Stitch +#: locale/ipp-strings.c:282 +msgid "finishing-template.edge-stitch" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +#: locale/ipp-strings.c:284 +msgid "finishing-template.edge-stitch-bottom" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +#: locale/ipp-strings.c:286 +msgid "finishing-template.edge-stitch-left" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +#: locale/ipp-strings.c:288 +msgid "finishing-template.edge-stitch-right" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +#: locale/ipp-strings.c:290 +msgid "finishing-template.edge-stitch-top" +msgstr "" + +#. TRANSLATORS: Fold +#: locale/ipp-strings.c:292 +msgid "finishing-template.fold" +msgstr "" + +#. TRANSLATORS: Accordion Fold +#: locale/ipp-strings.c:294 +msgid "finishing-template.fold-accordion" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +#: locale/ipp-strings.c:296 +msgid "finishing-template.fold-double-gate" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +#: locale/ipp-strings.c:298 +msgid "finishing-template.fold-engineering-z" +msgstr "" + +#. TRANSLATORS: Gate Fold +#: locale/ipp-strings.c:300 +msgid "finishing-template.fold-gate" +msgstr "" + +#. TRANSLATORS: Half Fold +#: locale/ipp-strings.c:302 +msgid "finishing-template.fold-half" +msgstr "" + +#. TRANSLATORS: Half Z Fold +#: locale/ipp-strings.c:304 +msgid "finishing-template.fold-half-z" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +#: locale/ipp-strings.c:306 +msgid "finishing-template.fold-left-gate" +msgstr "" + +#. TRANSLATORS: Letter Fold +#: locale/ipp-strings.c:308 +msgid "finishing-template.fold-letter" +msgstr "" + +#. TRANSLATORS: Parallel Fold +#: locale/ipp-strings.c:310 +msgid "finishing-template.fold-parallel" +msgstr "" + +#. TRANSLATORS: Poster Fold +#: locale/ipp-strings.c:312 +msgid "finishing-template.fold-poster" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +#: locale/ipp-strings.c:314 +msgid "finishing-template.fold-right-gate" +msgstr "" + +#. TRANSLATORS: Z Fold +#: locale/ipp-strings.c:316 +msgid "finishing-template.fold-z" +msgstr "" + +#. TRANSLATORS: JDF F10-1 +#: locale/ipp-strings.c:318 +msgid "finishing-template.jdf-f10-1" +msgstr "" + +#. TRANSLATORS: JDF F10-2 +#: locale/ipp-strings.c:320 +msgid "finishing-template.jdf-f10-2" +msgstr "" + +#. TRANSLATORS: JDF F10-3 +#: locale/ipp-strings.c:322 +msgid "finishing-template.jdf-f10-3" +msgstr "" + +#. TRANSLATORS: JDF F12-1 +#: locale/ipp-strings.c:324 +msgid "finishing-template.jdf-f12-1" +msgstr "" + +#. TRANSLATORS: JDF F12-10 +#: locale/ipp-strings.c:326 +msgid "finishing-template.jdf-f12-10" +msgstr "" + +#. TRANSLATORS: JDF F12-11 +#: locale/ipp-strings.c:328 +msgid "finishing-template.jdf-f12-11" +msgstr "" + +#. TRANSLATORS: JDF F12-12 +#: locale/ipp-strings.c:330 +msgid "finishing-template.jdf-f12-12" +msgstr "" + +#. TRANSLATORS: JDF F12-13 +#: locale/ipp-strings.c:332 +msgid "finishing-template.jdf-f12-13" +msgstr "" + +#. TRANSLATORS: JDF F12-14 +#: locale/ipp-strings.c:334 +msgid "finishing-template.jdf-f12-14" +msgstr "" + +#. TRANSLATORS: JDF F12-2 +#: locale/ipp-strings.c:336 +msgid "finishing-template.jdf-f12-2" +msgstr "" + +#. TRANSLATORS: JDF F12-3 +#: locale/ipp-strings.c:338 +msgid "finishing-template.jdf-f12-3" +msgstr "" + +#. TRANSLATORS: JDF F12-4 +#: locale/ipp-strings.c:340 +msgid "finishing-template.jdf-f12-4" +msgstr "" + +#. TRANSLATORS: JDF F12-5 +#: locale/ipp-strings.c:342 +msgid "finishing-template.jdf-f12-5" +msgstr "" + +#. TRANSLATORS: JDF F12-6 +#: locale/ipp-strings.c:344 +msgid "finishing-template.jdf-f12-6" +msgstr "" + +#. TRANSLATORS: JDF F12-7 +#: locale/ipp-strings.c:346 +msgid "finishing-template.jdf-f12-7" +msgstr "" + +#. TRANSLATORS: JDF F12-8 +#: locale/ipp-strings.c:348 +msgid "finishing-template.jdf-f12-8" +msgstr "" + +#. TRANSLATORS: JDF F12-9 +#: locale/ipp-strings.c:350 +msgid "finishing-template.jdf-f12-9" +msgstr "" + +#. TRANSLATORS: JDF F14-1 +#: locale/ipp-strings.c:352 +msgid "finishing-template.jdf-f14-1" +msgstr "" + +#. TRANSLATORS: JDF F16-1 +#: locale/ipp-strings.c:354 +msgid "finishing-template.jdf-f16-1" +msgstr "" + +#. TRANSLATORS: JDF F16-10 +#: locale/ipp-strings.c:356 +msgid "finishing-template.jdf-f16-10" +msgstr "" + +#. TRANSLATORS: JDF F16-11 +#: locale/ipp-strings.c:358 +msgid "finishing-template.jdf-f16-11" +msgstr "" + +#. TRANSLATORS: JDF F16-12 +#: locale/ipp-strings.c:360 +msgid "finishing-template.jdf-f16-12" +msgstr "" + +#. TRANSLATORS: JDF F16-13 +#: locale/ipp-strings.c:362 +msgid "finishing-template.jdf-f16-13" +msgstr "" + +#. TRANSLATORS: JDF F16-14 +#: locale/ipp-strings.c:364 +msgid "finishing-template.jdf-f16-14" +msgstr "" + +#. TRANSLATORS: JDF F16-2 +#: locale/ipp-strings.c:366 +msgid "finishing-template.jdf-f16-2" +msgstr "" + +#. TRANSLATORS: JDF F16-3 +#: locale/ipp-strings.c:368 +msgid "finishing-template.jdf-f16-3" +msgstr "" + +#. TRANSLATORS: JDF F16-4 +#: locale/ipp-strings.c:370 +msgid "finishing-template.jdf-f16-4" +msgstr "" + +#. TRANSLATORS: JDF F16-5 +#: locale/ipp-strings.c:372 +msgid "finishing-template.jdf-f16-5" +msgstr "" + +#. TRANSLATORS: JDF F16-6 +#: locale/ipp-strings.c:374 +msgid "finishing-template.jdf-f16-6" +msgstr "" + +#. TRANSLATORS: JDF F16-7 +#: locale/ipp-strings.c:376 +msgid "finishing-template.jdf-f16-7" +msgstr "" + +#. TRANSLATORS: JDF F16-8 +#: locale/ipp-strings.c:378 +msgid "finishing-template.jdf-f16-8" +msgstr "" + +#. TRANSLATORS: JDF F16-9 +#: locale/ipp-strings.c:380 +msgid "finishing-template.jdf-f16-9" +msgstr "" + +#. TRANSLATORS: JDF F18-1 +#: locale/ipp-strings.c:382 +msgid "finishing-template.jdf-f18-1" +msgstr "" + +#. TRANSLATORS: JDF F18-2 +#: locale/ipp-strings.c:384 +msgid "finishing-template.jdf-f18-2" +msgstr "" + +#. TRANSLATORS: JDF F18-3 +#: locale/ipp-strings.c:386 +msgid "finishing-template.jdf-f18-3" +msgstr "" + +#. TRANSLATORS: JDF F18-4 +#: locale/ipp-strings.c:388 +msgid "finishing-template.jdf-f18-4" +msgstr "" + +#. TRANSLATORS: JDF F18-5 +#: locale/ipp-strings.c:390 +msgid "finishing-template.jdf-f18-5" +msgstr "" + +#. TRANSLATORS: JDF F18-6 +#: locale/ipp-strings.c:392 +msgid "finishing-template.jdf-f18-6" +msgstr "" + +#. TRANSLATORS: JDF F18-7 +#: locale/ipp-strings.c:394 +msgid "finishing-template.jdf-f18-7" +msgstr "" + +#. TRANSLATORS: JDF F18-8 +#: locale/ipp-strings.c:396 +msgid "finishing-template.jdf-f18-8" +msgstr "" + +#. TRANSLATORS: JDF F18-9 +#: locale/ipp-strings.c:398 +msgid "finishing-template.jdf-f18-9" +msgstr "" + +#. TRANSLATORS: JDF F2-1 +#: locale/ipp-strings.c:400 +msgid "finishing-template.jdf-f2-1" +msgstr "" + +#. TRANSLATORS: JDF F20-1 +#: locale/ipp-strings.c:402 +msgid "finishing-template.jdf-f20-1" +msgstr "" + +#. TRANSLATORS: JDF F20-2 +#: locale/ipp-strings.c:404 +msgid "finishing-template.jdf-f20-2" +msgstr "" + +#. TRANSLATORS: JDF F24-1 +#: locale/ipp-strings.c:406 +msgid "finishing-template.jdf-f24-1" +msgstr "" + +#. TRANSLATORS: JDF F24-10 +#: locale/ipp-strings.c:408 +msgid "finishing-template.jdf-f24-10" +msgstr "" + +#. TRANSLATORS: JDF F24-11 +#: locale/ipp-strings.c:410 +msgid "finishing-template.jdf-f24-11" +msgstr "" + +#. TRANSLATORS: JDF F24-2 +#: locale/ipp-strings.c:412 +msgid "finishing-template.jdf-f24-2" +msgstr "" + +#. TRANSLATORS: JDF F24-3 +#: locale/ipp-strings.c:414 +msgid "finishing-template.jdf-f24-3" +msgstr "" + +#. TRANSLATORS: JDF F24-4 +#: locale/ipp-strings.c:416 +msgid "finishing-template.jdf-f24-4" +msgstr "" + +#. TRANSLATORS: JDF F24-5 +#: locale/ipp-strings.c:418 +msgid "finishing-template.jdf-f24-5" +msgstr "" + +#. TRANSLATORS: JDF F24-6 +#: locale/ipp-strings.c:420 +msgid "finishing-template.jdf-f24-6" +msgstr "" + +#. TRANSLATORS: JDF F24-7 +#: locale/ipp-strings.c:422 +msgid "finishing-template.jdf-f24-7" +msgstr "" + +#. TRANSLATORS: JDF F24-8 +#: locale/ipp-strings.c:424 +msgid "finishing-template.jdf-f24-8" +msgstr "" + +#. TRANSLATORS: JDF F24-9 +#: locale/ipp-strings.c:426 +msgid "finishing-template.jdf-f24-9" +msgstr "" + +#. TRANSLATORS: JDF F28-1 +#: locale/ipp-strings.c:428 +msgid "finishing-template.jdf-f28-1" +msgstr "" + +#. TRANSLATORS: JDF F32-1 +#: locale/ipp-strings.c:430 +msgid "finishing-template.jdf-f32-1" +msgstr "" + +#. TRANSLATORS: JDF F32-2 +#: locale/ipp-strings.c:432 +msgid "finishing-template.jdf-f32-2" +msgstr "" + +#. TRANSLATORS: JDF F32-3 +#: locale/ipp-strings.c:434 +msgid "finishing-template.jdf-f32-3" +msgstr "" + +#. TRANSLATORS: JDF F32-4 +#: locale/ipp-strings.c:436 +msgid "finishing-template.jdf-f32-4" +msgstr "" + +#. TRANSLATORS: JDF F32-5 +#: locale/ipp-strings.c:438 +msgid "finishing-template.jdf-f32-5" +msgstr "" + +#. TRANSLATORS: JDF F32-6 +#: locale/ipp-strings.c:440 +msgid "finishing-template.jdf-f32-6" +msgstr "" + +#. TRANSLATORS: JDF F32-7 +#: locale/ipp-strings.c:442 +msgid "finishing-template.jdf-f32-7" +msgstr "" + +#. TRANSLATORS: JDF F32-8 +#: locale/ipp-strings.c:444 +msgid "finishing-template.jdf-f32-8" +msgstr "" + +#. TRANSLATORS: JDF F32-9 +#: locale/ipp-strings.c:446 +msgid "finishing-template.jdf-f32-9" +msgstr "" + +#. TRANSLATORS: JDF F36-1 +#: locale/ipp-strings.c:448 +msgid "finishing-template.jdf-f36-1" +msgstr "" + +#. TRANSLATORS: JDF F36-2 +#: locale/ipp-strings.c:450 +msgid "finishing-template.jdf-f36-2" +msgstr "" + +#. TRANSLATORS: JDF F4-1 +#: locale/ipp-strings.c:452 +msgid "finishing-template.jdf-f4-1" +msgstr "" + +#. TRANSLATORS: JDF F4-2 +#: locale/ipp-strings.c:454 +msgid "finishing-template.jdf-f4-2" +msgstr "" + +#. TRANSLATORS: JDF F40-1 +#: locale/ipp-strings.c:456 +msgid "finishing-template.jdf-f40-1" +msgstr "" + +#. TRANSLATORS: JDF F48-1 +#: locale/ipp-strings.c:458 +msgid "finishing-template.jdf-f48-1" +msgstr "" + +#. TRANSLATORS: JDF F48-2 +#: locale/ipp-strings.c:460 +msgid "finishing-template.jdf-f48-2" +msgstr "" + +#. TRANSLATORS: JDF F6-1 +#: locale/ipp-strings.c:462 +msgid "finishing-template.jdf-f6-1" +msgstr "" + +#. TRANSLATORS: JDF F6-2 +#: locale/ipp-strings.c:464 +msgid "finishing-template.jdf-f6-2" +msgstr "" + +#. TRANSLATORS: JDF F6-3 +#: locale/ipp-strings.c:466 +msgid "finishing-template.jdf-f6-3" +msgstr "" + +#. TRANSLATORS: JDF F6-4 +#: locale/ipp-strings.c:468 +msgid "finishing-template.jdf-f6-4" +msgstr "" + +#. TRANSLATORS: JDF F6-5 +#: locale/ipp-strings.c:470 +msgid "finishing-template.jdf-f6-5" +msgstr "" + +#. TRANSLATORS: JDF F6-6 +#: locale/ipp-strings.c:472 +msgid "finishing-template.jdf-f6-6" +msgstr "" + +#. TRANSLATORS: JDF F6-7 +#: locale/ipp-strings.c:474 +msgid "finishing-template.jdf-f6-7" +msgstr "" + +#. TRANSLATORS: JDF F6-8 +#: locale/ipp-strings.c:476 +msgid "finishing-template.jdf-f6-8" +msgstr "" + +#. TRANSLATORS: JDF F64-1 +#: locale/ipp-strings.c:478 +msgid "finishing-template.jdf-f64-1" +msgstr "" + +#. TRANSLATORS: JDF F64-2 +#: locale/ipp-strings.c:480 +msgid "finishing-template.jdf-f64-2" +msgstr "" + +#. TRANSLATORS: JDF F8-1 +#: locale/ipp-strings.c:482 +msgid "finishing-template.jdf-f8-1" +msgstr "" + +#. TRANSLATORS: JDF F8-2 +#: locale/ipp-strings.c:484 +msgid "finishing-template.jdf-f8-2" +msgstr "" + +#. TRANSLATORS: JDF F8-3 +#: locale/ipp-strings.c:486 +msgid "finishing-template.jdf-f8-3" +msgstr "" + +#. TRANSLATORS: JDF F8-4 +#: locale/ipp-strings.c:488 +msgid "finishing-template.jdf-f8-4" +msgstr "" + +#. TRANSLATORS: JDF F8-5 +#: locale/ipp-strings.c:490 +msgid "finishing-template.jdf-f8-5" +msgstr "" + +#. TRANSLATORS: JDF F8-6 +#: locale/ipp-strings.c:492 +msgid "finishing-template.jdf-f8-6" +msgstr "" + +#. TRANSLATORS: JDF F8-7 +#: locale/ipp-strings.c:494 +msgid "finishing-template.jdf-f8-7" +msgstr "" + +#. TRANSLATORS: Jog Offset +#: locale/ipp-strings.c:496 +msgid "finishing-template.jog-offset" +msgstr "" + +#. TRANSLATORS: Laminate +#: locale/ipp-strings.c:498 +msgid "finishing-template.laminate" +msgstr "" + +#. TRANSLATORS: Punch +#: locale/ipp-strings.c:500 +msgid "finishing-template.punch" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +#: locale/ipp-strings.c:502 +msgid "finishing-template.punch-bottom-left" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +#: locale/ipp-strings.c:504 +msgid "finishing-template.punch-bottom-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +#: locale/ipp-strings.c:506 +msgid "finishing-template.punch-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +#: locale/ipp-strings.c:508 +msgid "finishing-template.punch-dual-left" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +#: locale/ipp-strings.c:510 +msgid "finishing-template.punch-dual-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +#: locale/ipp-strings.c:512 +msgid "finishing-template.punch-dual-top" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +#: locale/ipp-strings.c:514 +msgid "finishing-template.punch-multiple-bottom" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +#: locale/ipp-strings.c:516 +msgid "finishing-template.punch-multiple-left" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +#: locale/ipp-strings.c:518 +msgid "finishing-template.punch-multiple-right" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +#: locale/ipp-strings.c:520 +msgid "finishing-template.punch-multiple-top" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +#: locale/ipp-strings.c:522 +msgid "finishing-template.punch-quad-bottom" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +#: locale/ipp-strings.c:524 +msgid "finishing-template.punch-quad-left" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +#: locale/ipp-strings.c:526 +msgid "finishing-template.punch-quad-right" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +#: locale/ipp-strings.c:528 +msgid "finishing-template.punch-quad-top" +msgstr "" + +#. TRANSLATORS: Punch Top Left +#: locale/ipp-strings.c:530 +msgid "finishing-template.punch-top-left" +msgstr "" + +#. TRANSLATORS: Punch Top Right +#: locale/ipp-strings.c:532 +msgid "finishing-template.punch-top-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +#: locale/ipp-strings.c:534 +msgid "finishing-template.punch-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +#: locale/ipp-strings.c:536 +msgid "finishing-template.punch-triple-left" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +#: locale/ipp-strings.c:538 +msgid "finishing-template.punch-triple-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +#: locale/ipp-strings.c:540 +msgid "finishing-template.punch-triple-top" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +#: locale/ipp-strings.c:542 +msgid "finishing-template.saddle-stitch" +msgstr "" + +#. TRANSLATORS: Staple +#: locale/ipp-strings.c:544 +msgid "finishing-template.staple" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +#: locale/ipp-strings.c:546 +msgid "finishing-template.staple-bottom-left" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +#: locale/ipp-strings.c:548 +msgid "finishing-template.staple-bottom-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +#: locale/ipp-strings.c:550 +msgid "finishing-template.staple-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +#: locale/ipp-strings.c:552 +msgid "finishing-template.staple-dual-left" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +#: locale/ipp-strings.c:554 +msgid "finishing-template.staple-dual-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +#: locale/ipp-strings.c:556 +msgid "finishing-template.staple-dual-top" +msgstr "" + +#. TRANSLATORS: Staple Top Left +#: locale/ipp-strings.c:558 +msgid "finishing-template.staple-top-left" +msgstr "" + +#. TRANSLATORS: Staple Top Right +#: locale/ipp-strings.c:560 +msgid "finishing-template.staple-top-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +#: locale/ipp-strings.c:562 +msgid "finishing-template.staple-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +#: locale/ipp-strings.c:564 +msgid "finishing-template.staple-triple-left" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +#: locale/ipp-strings.c:566 +msgid "finishing-template.staple-triple-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +#: locale/ipp-strings.c:568 +msgid "finishing-template.staple-triple-top" +msgstr "" + +#. TRANSLATORS: Trim +#: locale/ipp-strings.c:570 +msgid "finishing-template.trim" +msgstr "" + +#. TRANSLATORS: Trim After Every Set +#: locale/ipp-strings.c:572 +msgid "finishing-template.trim-after-copies" +msgstr "" + +#. TRANSLATORS: Trim After Every Document +#: locale/ipp-strings.c:574 +msgid "finishing-template.trim-after-documents" +msgstr "" + +#. TRANSLATORS: Trim After Job +#: locale/ipp-strings.c:576 +msgid "finishing-template.trim-after-job" +msgstr "" + +#. TRANSLATORS: Trim After Every Page +#: locale/ipp-strings.c:578 +msgid "finishing-template.trim-after-pages" +msgstr "" + +#. TRANSLATORS: Finishings +#: locale/ipp-strings.c:580 +msgid "finishings" +msgstr "" + +#. TRANSLATORS: Finishings +#: locale/ipp-strings.c:582 +msgid "finishings-col" +msgstr "" + +#. TRANSLATORS: Fold +#: locale/ipp-strings.c:584 +msgid "finishings.10" +msgstr "" + +#. TRANSLATORS: Z Fold +#: locale/ipp-strings.c:586 +msgid "finishings.100" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +#: locale/ipp-strings.c:588 +msgid "finishings.101" +msgstr "" + +#. TRANSLATORS: Trim +#: locale/ipp-strings.c:590 +msgid "finishings.11" +msgstr "" + +#. TRANSLATORS: Bale +#: locale/ipp-strings.c:592 +msgid "finishings.12" +msgstr "" + +#. TRANSLATORS: Booklet Maker +#: locale/ipp-strings.c:594 +msgid "finishings.13" +msgstr "" + +#. TRANSLATORS: Jog Offset +#: locale/ipp-strings.c:596 +msgid "finishings.14" +msgstr "" + +#. TRANSLATORS: Coat +#: locale/ipp-strings.c:598 +msgid "finishings.15" +msgstr "" + +#. TRANSLATORS: Laminate +#: locale/ipp-strings.c:600 +msgid "finishings.16" +msgstr "" + +#. TRANSLATORS: Staple Top Left +#: locale/ipp-strings.c:602 +msgid "finishings.20" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +#: locale/ipp-strings.c:604 +msgid "finishings.21" +msgstr "" + +#. TRANSLATORS: Staple Top Right +#: locale/ipp-strings.c:606 +msgid "finishings.22" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +#: locale/ipp-strings.c:608 +msgid "finishings.23" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +#: locale/ipp-strings.c:610 +msgid "finishings.24" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +#: locale/ipp-strings.c:612 +msgid "finishings.25" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +#: locale/ipp-strings.c:614 +msgid "finishings.26" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +#: locale/ipp-strings.c:616 +msgid "finishings.27" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +#: locale/ipp-strings.c:618 +msgid "finishings.28" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +#: locale/ipp-strings.c:620 +msgid "finishings.29" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:622 +msgid "finishings.3" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +#: locale/ipp-strings.c:624 +msgid "finishings.30" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +#: locale/ipp-strings.c:626 +msgid "finishings.31" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +#: locale/ipp-strings.c:628 +msgid "finishings.32" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +#: locale/ipp-strings.c:630 +msgid "finishings.33" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +#: locale/ipp-strings.c:632 +msgid "finishings.34" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +#: locale/ipp-strings.c:634 +msgid "finishings.35" +msgstr "" + +#. TRANSLATORS: Staple +#: locale/ipp-strings.c:636 +msgid "finishings.4" +msgstr "" + +#. TRANSLATORS: Punch +#: locale/ipp-strings.c:638 +msgid "finishings.5" +msgstr "" + +#. TRANSLATORS: Bind Left +#: locale/ipp-strings.c:640 +msgid "finishings.50" +msgstr "" + +#. TRANSLATORS: Bind Top +#: locale/ipp-strings.c:642 +msgid "finishings.51" +msgstr "" + +#. TRANSLATORS: Bind Right +#: locale/ipp-strings.c:644 +msgid "finishings.52" +msgstr "" + +#. TRANSLATORS: Bind Bottom +#: locale/ipp-strings.c:646 +msgid "finishings.53" +msgstr "" + +#. TRANSLATORS: Cover +#: locale/ipp-strings.c:648 +msgid "finishings.6" +msgstr "" + +#. TRANSLATORS: Trim Pages +#: locale/ipp-strings.c:650 +msgid "finishings.60" +msgstr "" + +#. TRANSLATORS: Trim Documents +#: locale/ipp-strings.c:652 +msgid "finishings.61" +msgstr "" + +#. TRANSLATORS: Trim Copies +#: locale/ipp-strings.c:654 +msgid "finishings.62" +msgstr "" + +#. TRANSLATORS: Trim Job +#: locale/ipp-strings.c:656 +msgid "finishings.63" +msgstr "" + +#. TRANSLATORS: Bind +#: locale/ipp-strings.c:658 +msgid "finishings.7" +msgstr "" + +#. TRANSLATORS: Punch Top Left +#: locale/ipp-strings.c:660 +msgid "finishings.70" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +#: locale/ipp-strings.c:662 +msgid "finishings.71" +msgstr "" + +#. TRANSLATORS: Punch Top Right +#: locale/ipp-strings.c:664 +msgid "finishings.72" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +#: locale/ipp-strings.c:666 +msgid "finishings.73" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +#: locale/ipp-strings.c:668 +msgid "finishings.74" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +#: locale/ipp-strings.c:670 +msgid "finishings.75" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +#: locale/ipp-strings.c:672 +msgid "finishings.76" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +#: locale/ipp-strings.c:674 +msgid "finishings.77" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +#: locale/ipp-strings.c:676 +msgid "finishings.78" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +#: locale/ipp-strings.c:678 +msgid "finishings.79" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +#: locale/ipp-strings.c:680 +msgid "finishings.8" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +#: locale/ipp-strings.c:682 +msgid "finishings.80" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +#: locale/ipp-strings.c:684 +msgid "finishings.81" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +#: locale/ipp-strings.c:686 +msgid "finishings.82" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +#: locale/ipp-strings.c:688 +msgid "finishings.83" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +#: locale/ipp-strings.c:690 +msgid "finishings.84" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +#: locale/ipp-strings.c:692 +msgid "finishings.85" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +#: locale/ipp-strings.c:694 +msgid "finishings.86" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +#: locale/ipp-strings.c:696 +msgid "finishings.87" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +#: locale/ipp-strings.c:698 +msgid "finishings.88" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +#: locale/ipp-strings.c:700 +msgid "finishings.89" +msgstr "" + +#. TRANSLATORS: Edge Stitch +#: locale/ipp-strings.c:702 +msgid "finishings.9" +msgstr "" + +#. TRANSLATORS: Accordion Fold +#: locale/ipp-strings.c:704 +msgid "finishings.90" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +#: locale/ipp-strings.c:706 +msgid "finishings.91" +msgstr "" + +#. TRANSLATORS: Gate Fold +#: locale/ipp-strings.c:708 +msgid "finishings.92" +msgstr "" + +#. TRANSLATORS: Half Fold +#: locale/ipp-strings.c:710 +msgid "finishings.93" +msgstr "" + +#. TRANSLATORS: Half Z Fold +#: locale/ipp-strings.c:712 +msgid "finishings.94" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +#: locale/ipp-strings.c:714 +msgid "finishings.95" +msgstr "" + +#. TRANSLATORS: Letter Fold +#: locale/ipp-strings.c:716 +msgid "finishings.96" +msgstr "" + +#. TRANSLATORS: Parallel Fold +#: locale/ipp-strings.c:718 +msgid "finishings.97" +msgstr "" + +#. TRANSLATORS: Poster Fold +#: locale/ipp-strings.c:720 +msgid "finishings.98" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +#: locale/ipp-strings.c:722 +msgid "finishings.99" +msgstr "" + +#. TRANSLATORS: Fold +#: locale/ipp-strings.c:724 +msgid "folding" +msgstr "" + +#. TRANSLATORS: Fold Direction +#: locale/ipp-strings.c:726 +msgid "folding-direction" +msgstr "" + +#. TRANSLATORS: Inward +#: locale/ipp-strings.c:728 +msgid "folding-direction.inward" +msgstr "" + +#. TRANSLATORS: Outward +#: locale/ipp-strings.c:730 +msgid "folding-direction.outward" +msgstr "" + +#. TRANSLATORS: Fold Position +#: locale/ipp-strings.c:732 +msgid "folding-offset" +msgstr "" + +#. TRANSLATORS: Fold Edge +#: locale/ipp-strings.c:734 +msgid "folding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +#: locale/ipp-strings.c:736 +msgid "folding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +#: locale/ipp-strings.c:738 +msgid "folding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +#: locale/ipp-strings.c:740 +msgid "folding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +#: locale/ipp-strings.c:742 +msgid "folding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Font Name +#: locale/ipp-strings.c:744 +msgid "font-name-requested" +msgstr "" + +#. TRANSLATORS: Font Size +#: locale/ipp-strings.c:746 +msgid "font-size-requested" +msgstr "" + +#. TRANSLATORS: Force Front Side +#: locale/ipp-strings.c:748 +msgid "force-front-side" +msgstr "" + +#. TRANSLATORS: From Name +#: locale/ipp-strings.c:750 +msgid "from-name" +msgstr "" + +#: cups/notify.c:77 +msgid "held" +msgstr "" + +#: berkeley/lpc.c:195 +msgid "help\t\tGet help on commands." +msgstr "" + +#: cups/notify.c:118 +msgid "idle" +msgstr "" + +#. TRANSLATORS: Imposition Template +#: locale/ipp-strings.c:752 +msgid "imposition-template" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:754 +msgid "imposition-template.none" +msgstr "" + +#. TRANSLATORS: Signature +#: locale/ipp-strings.c:756 +msgid "imposition-template.signature" +msgstr "" + +#. TRANSLATORS: Insert Page Number +#: locale/ipp-strings.c:758 +msgid "insert-after-page-number" +msgstr "" + +#. TRANSLATORS: Insert Count +#: locale/ipp-strings.c:760 +msgid "insert-count" +msgstr "" + +#. TRANSLATORS: Insert Sheet +#: locale/ipp-strings.c:762 +msgid "insert-sheet" +msgstr "" + +#: tools/ippeveprinter.c:4702 +#, c-format +msgid "ippeveprinter: Unable to open \"%s\": %s on line %d." +msgstr "" + +#: tools/ippfind.c:2478 +#, c-format +msgid "ippfind: Bad regular expression: %s" +msgstr "" + +#: tools/ippfind.c:295 +msgid "ippfind: Cannot use --and after --or." +msgstr "" + +#: tools/ippfind.c:580 +#, c-format +msgid "ippfind: Expected key name after %s." +msgstr "" + +#: tools/ippfind.c:530 tools/ippfind.c:725 +#, c-format +msgid "ippfind: Expected port range after %s." +msgstr "" + +#: tools/ippfind.c:328 +#, c-format +msgid "ippfind: Expected program after %s." +msgstr "" + +#: tools/ippfind.c:345 +#, c-format +msgid "ippfind: Expected semi-colon after %s." +msgstr "" + +#: tools/ippfind.c:1981 +msgid "ippfind: Missing close brace in substitution." +msgstr "" + +#: tools/ippfind.c:1044 +msgid "ippfind: Missing close parenthesis." +msgstr "" + +#: tools/ippfind.c:302 +msgid "ippfind: Missing expression before \"--and\"." +msgstr "" + +#: tools/ippfind.c:427 +msgid "ippfind: Missing expression before \"--or\"." +msgstr "" + +#: tools/ippfind.c:862 +#, c-format +msgid "ippfind: Missing key name after %s." +msgstr "" + +#: tools/ippfind.c:396 tools/ippfind.c:712 +#, c-format +msgid "ippfind: Missing name after %s." +msgstr "" + +#: tools/ippfind.c:1015 +msgid "ippfind: Missing open parenthesis." +msgstr "" + +#: tools/ippfind.c:892 +#, c-format +msgid "ippfind: Missing program after %s." +msgstr "" + +#: tools/ippfind.c:314 tools/ippfind.c:368 tools/ippfind.c:409 +#: tools/ippfind.c:515 tools/ippfind.c:597 tools/ippfind.c:612 +#: tools/ippfind.c:779 tools/ippfind.c:794 tools/ippfind.c:817 +#: tools/ippfind.c:877 +#, c-format +msgid "ippfind: Missing regular expression after %s." +msgstr "" + +#: tools/ippfind.c:910 +#, c-format +msgid "ippfind: Missing semi-colon after %s." +msgstr "" + +#: tools/ippfind.c:1928 tools/ippfind.c:1953 +msgid "ippfind: Out of memory." +msgstr "" + +#: tools/ippfind.c:988 +msgid "ippfind: Too many parenthesis." +msgstr "" + +#: tools/ippfind.c:1287 tools/ippfind.c:1415 tools/ippfind.c:2570 +#, c-format +msgid "ippfind: Unable to browse or resolve: %s" +msgstr "" + +#: tools/ippfind.c:2051 tools/ippfind.c:2078 +#, c-format +msgid "ippfind: Unable to execute \"%s\": %s" +msgstr "" + +#: tools/ippfind.c:1134 tools/ippfind.c:1142 tools/ippfind.c:1153 +#, c-format +msgid "ippfind: Unable to use Bonjour: %s" +msgstr "" + +#: tools/ippfind.c:2010 +#, c-format +msgid "ippfind: Unknown variable \"{%s}\"." +msgstr "" + +#: tools/ipptool.c:566 tools/ipptool.c:588 +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", and \"-X\"." +msgstr "" + +#: tools/ipptool.c:351 tools/ipptool.c:422 +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." +msgstr "" + +#: tools/ipptool.c:634 +#, c-format +msgid "ipptool: Bad URI \"%s\"." +msgstr "" + +#: tools/ipptool.c:559 +msgid "ipptool: Invalid seconds for \"-i\"." +msgstr "" + +#: tools/ipptool.c:623 +msgid "ipptool: May only specify a single URI." +msgstr "" + +#: tools/ipptool.c:580 +msgid "ipptool: Missing count for \"-n\"." +msgstr "" + +#: tools/ipptool.c:268 +msgid "ipptool: Missing filename for \"--ippserver\"." +msgstr "" + +#: tools/ipptool.c:456 +msgid "ipptool: Missing filename for \"-f\"." +msgstr "" + +#: tools/ipptool.c:437 +msgid "ipptool: Missing name=value for \"-d\"." +msgstr "" + +#: tools/ipptool.c:551 +msgid "ipptool: Missing seconds for \"-i\"." +msgstr "" + +#: tools/ipptool.c:649 +msgid "ipptool: URI required before test file." +msgstr "" + +#. TRANSLATORS: Job Account ID +#: locale/ipp-strings.c:764 +msgid "job-account-id" +msgstr "" + +#. TRANSLATORS: Job Account Type +#: locale/ipp-strings.c:766 +msgid "job-account-type" +msgstr "" + +#. TRANSLATORS: General +#: locale/ipp-strings.c:768 +msgid "job-account-type.general" +msgstr "" + +#. TRANSLATORS: Group +#: locale/ipp-strings.c:770 +msgid "job-account-type.group" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:772 +msgid "job-account-type.none" +msgstr "" + +#. TRANSLATORS: Job Accounting Output Bin +#: locale/ipp-strings.c:774 +msgid "job-accounting-output-bin" +msgstr "" + +#. TRANSLATORS: Job Accounting Sheets +#: locale/ipp-strings.c:776 +msgid "job-accounting-sheets" +msgstr "" + +#. TRANSLATORS: Type of Job Accounting Sheets +#: locale/ipp-strings.c:778 +msgid "job-accounting-sheets-type" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:780 +msgid "job-accounting-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Standard +#: locale/ipp-strings.c:782 +msgid "job-accounting-sheets-type.standard" +msgstr "" + +#. TRANSLATORS: Job Accounting User ID +#: locale/ipp-strings.c:784 +msgid "job-accounting-user-id" +msgstr "" + +#. TRANSLATORS: Job Cancel After +#: locale/ipp-strings.c:786 +msgid "job-cancel-after" +msgstr "" + +#. TRANSLATORS: Copies +#: locale/ipp-strings.c:788 +msgid "job-copies" +msgstr "" + +#. TRANSLATORS: Back Cover +#: locale/ipp-strings.c:790 +msgid "job-cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +#: locale/ipp-strings.c:792 +msgid "job-cover-front" +msgstr "" + +#. TRANSLATORS: Delay Output Until +#: locale/ipp-strings.c:794 +msgid "job-delay-output-until" +msgstr "" + +#. TRANSLATORS: Delay Output Until +#: locale/ipp-strings.c:796 +msgid "job-delay-output-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +#: locale/ipp-strings.c:798 +msgid "job-delay-output-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +#: locale/ipp-strings.c:800 +msgid "job-delay-output-until.evening" +msgstr "" + +#. TRANSLATORS: Released +#: locale/ipp-strings.c:802 +msgid "job-delay-output-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +#: locale/ipp-strings.c:804 +msgid "job-delay-output-until.night" +msgstr "" + +#. TRANSLATORS: No Delay +#: locale/ipp-strings.c:806 +msgid "job-delay-output-until.no-delay-output" +msgstr "" + +#. TRANSLATORS: Second Shift +#: locale/ipp-strings.c:808 +msgid "job-delay-output-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +#: locale/ipp-strings.c:810 +msgid "job-delay-output-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +#: locale/ipp-strings.c:812 +msgid "job-delay-output-until.weekend" +msgstr "" + +#. TRANSLATORS: On Error +#: locale/ipp-strings.c:814 +msgid "job-error-action" +msgstr "" + +#. TRANSLATORS: Abort Job +#: locale/ipp-strings.c:816 +msgid "job-error-action.abort-job" +msgstr "" + +#. TRANSLATORS: Cancel Job +#: locale/ipp-strings.c:818 +msgid "job-error-action.cancel-job" +msgstr "" + +#. TRANSLATORS: Continue Job +#: locale/ipp-strings.c:820 +msgid "job-error-action.continue-job" +msgstr "" + +#. TRANSLATORS: Suspend Job +#: locale/ipp-strings.c:822 +msgid "job-error-action.suspend-job" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +#: locale/ipp-strings.c:824 +msgid "job-error-sheet" +msgstr "" + +#. TRANSLATORS: Type of Error Sheet +#: locale/ipp-strings.c:826 +msgid "job-error-sheet-type" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:828 +msgid "job-error-sheet-type.none" +msgstr "" + +#. TRANSLATORS: Standard +#: locale/ipp-strings.c:830 +msgid "job-error-sheet-type.standard" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +#: locale/ipp-strings.c:832 +msgid "job-error-sheet-when" +msgstr "" + +#. TRANSLATORS: Always +#: locale/ipp-strings.c:834 +msgid "job-error-sheet-when.always" +msgstr "" + +#. TRANSLATORS: On Error +#: locale/ipp-strings.c:836 +msgid "job-error-sheet-when.on-error" +msgstr "" + +#. TRANSLATORS: Job Finishings +#: locale/ipp-strings.c:838 +msgid "job-finishings" +msgstr "" + +#. TRANSLATORS: Hold Until +#: locale/ipp-strings.c:840 +msgid "job-hold-until" +msgstr "" + +#. TRANSLATORS: Hold Until +#: locale/ipp-strings.c:842 +msgid "job-hold-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +#: locale/ipp-strings.c:844 +msgid "job-hold-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +#: locale/ipp-strings.c:846 +msgid "job-hold-until.evening" +msgstr "" + +#. TRANSLATORS: Released +#: locale/ipp-strings.c:848 +msgid "job-hold-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +#: locale/ipp-strings.c:850 +msgid "job-hold-until.night" +msgstr "" + +#. TRANSLATORS: No Hold +#: locale/ipp-strings.c:852 +msgid "job-hold-until.no-hold" +msgstr "" + +#. TRANSLATORS: Second Shift +#: locale/ipp-strings.c:854 +msgid "job-hold-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +#: locale/ipp-strings.c:856 +msgid "job-hold-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +#: locale/ipp-strings.c:858 +msgid "job-hold-until.weekend" +msgstr "" + +#. TRANSLATORS: Job Mandatory Attributes +#: locale/ipp-strings.c:860 +msgid "job-mandatory-attributes" +msgstr "" + +#. TRANSLATORS: Title +#: locale/ipp-strings.c:862 +msgid "job-name" +msgstr "" + +#. TRANSLATORS: Job Pages +#: locale/ipp-strings.c:864 +msgid "job-pages" +msgstr "" + +#. TRANSLATORS: Job Pages +#: locale/ipp-strings.c:866 +msgid "job-pages-col" +msgstr "" + +#. TRANSLATORS: Job Phone Number +#: locale/ipp-strings.c:868 +msgid "job-phone-number" +msgstr "" + +#: scheduler/ipp.c:8095 +msgid "job-printer-uri attribute missing." +msgstr "" + +#. TRANSLATORS: Job Priority +#: locale/ipp-strings.c:870 +msgid "job-priority" +msgstr "" + +#. TRANSLATORS: Job Privacy Attributes +#: locale/ipp-strings.c:872 +msgid "job-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +#: locale/ipp-strings.c:874 +msgid "job-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +#: locale/ipp-strings.c:876 +msgid "job-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Job Description +#: locale/ipp-strings.c:878 +msgid "job-privacy-attributes.job-description" +msgstr "" + +#. TRANSLATORS: Job Template +#: locale/ipp-strings.c:880 +msgid "job-privacy-attributes.job-template" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:882 +msgid "job-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Job Privacy Scope +#: locale/ipp-strings.c:884 +msgid "job-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +#: locale/ipp-strings.c:886 +msgid "job-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +#: locale/ipp-strings.c:888 +msgid "job-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:890 +msgid "job-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +#: locale/ipp-strings.c:892 +msgid "job-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Job Recipient Name +#: locale/ipp-strings.c:894 +msgid "job-recipient-name" +msgstr "" + +#. TRANSLATORS: Job Retain Until +#: locale/ipp-strings.c:896 +msgid "job-retain-until" +msgstr "" + +#. TRANSLATORS: Job Retain Until Interval +#: locale/ipp-strings.c:898 +msgid "job-retain-until-interval" +msgstr "" + +#. TRANSLATORS: Job Retain Until Time +#: locale/ipp-strings.c:900 +msgid "job-retain-until-time" +msgstr "" + +#. TRANSLATORS: End Of Day +#: locale/ipp-strings.c:902 +msgid "job-retain-until.end-of-day" +msgstr "" + +#. TRANSLATORS: End Of Month +#: locale/ipp-strings.c:904 +msgid "job-retain-until.end-of-month" +msgstr "" + +#. TRANSLATORS: End Of Week +#: locale/ipp-strings.c:906 +msgid "job-retain-until.end-of-week" +msgstr "" + +#. TRANSLATORS: Indefinite +#: locale/ipp-strings.c:908 +msgid "job-retain-until.indefinite" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:910 +msgid "job-retain-until.none" +msgstr "" + +#. TRANSLATORS: Job Save Disposition +#: locale/ipp-strings.c:912 +msgid "job-save-disposition" +msgstr "" + +#. TRANSLATORS: Job Sheet Message +#: locale/ipp-strings.c:914 +msgid "job-sheet-message" +msgstr "" + +#. TRANSLATORS: Banner Page +#: locale/ipp-strings.c:916 +msgid "job-sheets" +msgstr "" + +#. TRANSLATORS: Banner Page +#: locale/ipp-strings.c:918 +msgid "job-sheets-col" +msgstr "" + +#. TRANSLATORS: First Page in Document +#: locale/ipp-strings.c:920 +msgid "job-sheets.first-print-stream-page" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +#: locale/ipp-strings.c:922 +msgid "job-sheets.job-both-sheet" +msgstr "" + +#. TRANSLATORS: End Sheet +#: locale/ipp-strings.c:924 +msgid "job-sheets.job-end-sheet" +msgstr "" + +#. TRANSLATORS: Start Sheet +#: locale/ipp-strings.c:926 +msgid "job-sheets.job-start-sheet" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:928 +msgid "job-sheets.none" +msgstr "" + +#. TRANSLATORS: Standard +#: locale/ipp-strings.c:930 +msgid "job-sheets.standard" +msgstr "" + +#. TRANSLATORS: Job State +#: locale/ipp-strings.c:932 +msgid "job-state" +msgstr "" + +#. TRANSLATORS: Job State Message +#: locale/ipp-strings.c:934 +msgid "job-state-message" +msgstr "" + +#. TRANSLATORS: Detailed Job State +#: locale/ipp-strings.c:936 +msgid "job-state-reasons" +msgstr "" + +#. TRANSLATORS: Stopping +#: locale/ipp-strings.c:938 +msgid "job-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Account Authorization Failed +#: locale/ipp-strings.c:940 +msgid "job-state-reasons.account-authorization-failed" +msgstr "" + +#. TRANSLATORS: Account Closed +#: locale/ipp-strings.c:942 +msgid "job-state-reasons.account-closed" +msgstr "" + +#. TRANSLATORS: Account Info Needed +#: locale/ipp-strings.c:944 +msgid "job-state-reasons.account-info-needed" +msgstr "" + +#. TRANSLATORS: Account Limit Reached +#: locale/ipp-strings.c:946 +msgid "job-state-reasons.account-limit-reached" +msgstr "" + +#. TRANSLATORS: Decompression error +#: locale/ipp-strings.c:948 +msgid "job-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Conflicting Attributes +#: locale/ipp-strings.c:950 +msgid "job-state-reasons.conflicting-attributes" +msgstr "" + +#. TRANSLATORS: Connected To Destination +#: locale/ipp-strings.c:952 +msgid "job-state-reasons.connected-to-destination" +msgstr "" + +#. TRANSLATORS: Connecting To Destination +#: locale/ipp-strings.c:954 +msgid "job-state-reasons.connecting-to-destination" +msgstr "" + +#. TRANSLATORS: Destination Uri Failed +#: locale/ipp-strings.c:956 +msgid "job-state-reasons.destination-uri-failed" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +#: locale/ipp-strings.c:958 +msgid "job-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +#: locale/ipp-strings.c:960 +msgid "job-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Document Access Error +#: locale/ipp-strings.c:962 +msgid "job-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Format Error +#: locale/ipp-strings.c:964 +msgid "job-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +#: locale/ipp-strings.c:966 +msgid "job-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +#: locale/ipp-strings.c:968 +msgid "job-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +#: locale/ipp-strings.c:970 +msgid "job-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +#: locale/ipp-strings.c:972 +msgid "job-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +#: locale/ipp-strings.c:974 +msgid "job-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Canceled at printer +#: locale/ipp-strings.c:976 +msgid "job-state-reasons.job-canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled by operator +#: locale/ipp-strings.c:978 +msgid "job-state-reasons.job-canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled by user +#: locale/ipp-strings.c:980 +msgid "job-state-reasons.job-canceled-by-user" +msgstr "" + +#. TRANSLATORS: +#: locale/ipp-strings.c:982 +msgid "job-state-reasons.job-completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed with errors +#: locale/ipp-strings.c:984 +msgid "job-state-reasons.job-completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed with warnings +#: locale/ipp-strings.c:986 +msgid "job-state-reasons.job-completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Insufficient data +#: locale/ipp-strings.c:988 +msgid "job-state-reasons.job-data-insufficient" +msgstr "" + +#. TRANSLATORS: Job Delay Output Until Specified +#: locale/ipp-strings.c:990 +msgid "job-state-reasons.job-delay-output-until-specified" +msgstr "" + +#. TRANSLATORS: Job Digital Signature Wait +#: locale/ipp-strings.c:992 +msgid "job-state-reasons.job-digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Job Fetchable +#: locale/ipp-strings.c:994 +msgid "job-state-reasons.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Held For Review +#: locale/ipp-strings.c:996 +msgid "job-state-reasons.job-held-for-review" +msgstr "" + +#. TRANSLATORS: Job held +#: locale/ipp-strings.c:998 +msgid "job-state-reasons.job-hold-until-specified" +msgstr "" + +#. TRANSLATORS: Incoming +#: locale/ipp-strings.c:1000 +msgid "job-state-reasons.job-incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +#: locale/ipp-strings.c:1002 +msgid "job-state-reasons.job-interpreting" +msgstr "" + +#. TRANSLATORS: Outgoing +#: locale/ipp-strings.c:1004 +msgid "job-state-reasons.job-outgoing" +msgstr "" + +#. TRANSLATORS: Job Password Wait +#: locale/ipp-strings.c:1006 +msgid "job-state-reasons.job-password-wait" +msgstr "" + +#. TRANSLATORS: Job Printed Successfully +#: locale/ipp-strings.c:1008 +msgid "job-state-reasons.job-printed-successfully" +msgstr "" + +#. TRANSLATORS: Job Printed With Errors +#: locale/ipp-strings.c:1010 +msgid "job-state-reasons.job-printed-with-errors" +msgstr "" + +#. TRANSLATORS: Job Printed With Warnings +#: locale/ipp-strings.c:1012 +msgid "job-state-reasons.job-printed-with-warnings" +msgstr "" + +#. TRANSLATORS: Printing +#: locale/ipp-strings.c:1014 +msgid "job-state-reasons.job-printing" +msgstr "" + +#. TRANSLATORS: Preparing to print +#: locale/ipp-strings.c:1016 +msgid "job-state-reasons.job-queued" +msgstr "" + +#. TRANSLATORS: Processing document +#: locale/ipp-strings.c:1018 +msgid "job-state-reasons.job-queued-for-marker" +msgstr "" + +#. TRANSLATORS: Job Release Wait +#: locale/ipp-strings.c:1020 +msgid "job-state-reasons.job-release-wait" +msgstr "" + +#. TRANSLATORS: Restartable +#: locale/ipp-strings.c:1022 +msgid "job-state-reasons.job-restartable" +msgstr "" + +#. TRANSLATORS: Job Resuming +#: locale/ipp-strings.c:1024 +msgid "job-state-reasons.job-resuming" +msgstr "" + +#. TRANSLATORS: Job Saved Successfully +#: locale/ipp-strings.c:1026 +msgid "job-state-reasons.job-saved-successfully" +msgstr "" + +#. TRANSLATORS: Job Saved With Errors +#: locale/ipp-strings.c:1028 +msgid "job-state-reasons.job-saved-with-errors" +msgstr "" + +#. TRANSLATORS: Job Saved With Warnings +#: locale/ipp-strings.c:1030 +msgid "job-state-reasons.job-saved-with-warnings" +msgstr "" + +#. TRANSLATORS: Job Saving +#: locale/ipp-strings.c:1032 +msgid "job-state-reasons.job-saving" +msgstr "" + +#. TRANSLATORS: Job Spooling +#: locale/ipp-strings.c:1034 +msgid "job-state-reasons.job-spooling" +msgstr "" + +#. TRANSLATORS: Job Streaming +#: locale/ipp-strings.c:1036 +msgid "job-state-reasons.job-streaming" +msgstr "" + +#. TRANSLATORS: Suspended +#: locale/ipp-strings.c:1038 +msgid "job-state-reasons.job-suspended" +msgstr "" + +#. TRANSLATORS: Job Suspended By Operator +#: locale/ipp-strings.c:1040 +msgid "job-state-reasons.job-suspended-by-operator" +msgstr "" + +#. TRANSLATORS: Job Suspended By System +#: locale/ipp-strings.c:1042 +msgid "job-state-reasons.job-suspended-by-system" +msgstr "" + +#. TRANSLATORS: Job Suspended By User +#: locale/ipp-strings.c:1044 +msgid "job-state-reasons.job-suspended-by-user" +msgstr "" + +#. TRANSLATORS: Job Suspending +#: locale/ipp-strings.c:1046 +msgid "job-state-reasons.job-suspending" +msgstr "" + +#. TRANSLATORS: Job Transferring +#: locale/ipp-strings.c:1048 +msgid "job-state-reasons.job-transferring" +msgstr "" + +#. TRANSLATORS: Transforming +#: locale/ipp-strings.c:1050 +msgid "job-state-reasons.job-transforming" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:1052 +msgid "job-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Printer offline +#: locale/ipp-strings.c:1054 +msgid "job-state-reasons.printer-stopped" +msgstr "" + +#. TRANSLATORS: Printer partially stopped +#: locale/ipp-strings.c:1056 +msgid "job-state-reasons.printer-stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +#: locale/ipp-strings.c:1058 +msgid "job-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Ready +#: locale/ipp-strings.c:1060 +msgid "job-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +#: locale/ipp-strings.c:1062 +msgid "job-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +#: locale/ipp-strings.c:1064 +msgid "job-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Service offline +#: locale/ipp-strings.c:1066 +msgid "job-state-reasons.service-off-line" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +#: locale/ipp-strings.c:1068 +msgid "job-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Unsupported Attributes Or Values +#: locale/ipp-strings.c:1070 +msgid "job-state-reasons.unsupported-attributes-or-values" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +#: locale/ipp-strings.c:1072 +msgid "job-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +#: locale/ipp-strings.c:1074 +msgid "job-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Waiting For User Action +#: locale/ipp-strings.c:1076 +msgid "job-state-reasons.waiting-for-user-action" +msgstr "" + +#. TRANSLATORS: Warnings Detected +#: locale/ipp-strings.c:1078 +msgid "job-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +#: locale/ipp-strings.c:1080 +msgid "job-state.3" +msgstr "" + +#. TRANSLATORS: Held +#: locale/ipp-strings.c:1082 +msgid "job-state.4" +msgstr "" + +#. TRANSLATORS: Processing +#: locale/ipp-strings.c:1084 +msgid "job-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +#: locale/ipp-strings.c:1086 +msgid "job-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +#: locale/ipp-strings.c:1088 +msgid "job-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +#: locale/ipp-strings.c:1090 +msgid "job-state.8" +msgstr "" + +#. TRANSLATORS: Completed +#: locale/ipp-strings.c:1092 +msgid "job-state.9" +msgstr "" + +#. TRANSLATORS: Laminate Pages +#: locale/ipp-strings.c:1094 +msgid "laminating" +msgstr "" + +#. TRANSLATORS: Laminate +#: locale/ipp-strings.c:1096 +msgid "laminating-sides" +msgstr "" + +#. TRANSLATORS: Back Only +#: locale/ipp-strings.c:1098 +msgid "laminating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +#: locale/ipp-strings.c:1100 +msgid "laminating-sides.both" +msgstr "" + +#. TRANSLATORS: Front Only +#: locale/ipp-strings.c:1102 +msgid "laminating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Lamination +#: locale/ipp-strings.c:1104 +msgid "laminating-type" +msgstr "" + +#. TRANSLATORS: Archival +#: locale/ipp-strings.c:1106 +msgid "laminating-type.archival" +msgstr "" + +#. TRANSLATORS: Glossy +#: locale/ipp-strings.c:1108 +msgid "laminating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +#: locale/ipp-strings.c:1110 +msgid "laminating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +#: locale/ipp-strings.c:1112 +msgid "laminating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +#: locale/ipp-strings.c:1114 +msgid "laminating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Translucent +#: locale/ipp-strings.c:1116 +msgid "laminating-type.translucent" +msgstr "" + +#. TRANSLATORS: Logo +#: locale/ipp-strings.c:1118 +msgid "logo" +msgstr "" + +#: systemv/lpadmin.c:123 systemv/lpadmin.c:378 +msgid "lpadmin: Class name can only contain printable characters." +msgstr "" + +#: systemv/lpadmin.c:213 +#, c-format +msgid "lpadmin: Expected PPD after \"-%c\" option." +msgstr "" + +#: systemv/lpadmin.c:459 +msgid "lpadmin: Expected allow/deny:userlist after \"-u\" option." +msgstr "" + +#: systemv/lpadmin.c:369 +msgid "lpadmin: Expected class after \"-r\" option." +msgstr "" + +#: systemv/lpadmin.c:113 +msgid "lpadmin: Expected class name after \"-c\" option." +msgstr "" + +#: systemv/lpadmin.c:553 +msgid "lpadmin: Expected description after \"-D\" option." +msgstr "" + +#: systemv/lpadmin.c:489 +msgid "lpadmin: Expected device URI after \"-v\" option." +msgstr "" + +#: systemv/lpadmin.c:566 +msgid "lpadmin: Expected file type(s) after \"-I\" option." +msgstr "" + +#: systemv/lpadmin.c:192 +msgid "lpadmin: Expected hostname after \"-h\" option." +msgstr "" + +#: systemv/lpadmin.c:585 +msgid "lpadmin: Expected location after \"-L\" option." +msgstr "" + +#: systemv/lpadmin.c:282 +msgid "lpadmin: Expected model after \"-m\" option." +msgstr "" + +#: systemv/lpadmin.c:417 +msgid "lpadmin: Expected name after \"-R\" option." +msgstr "" + +#: systemv/lpadmin.c:302 +msgid "lpadmin: Expected name=value after \"-o\" option." +msgstr "" + +#: systemv/lpadmin.c:322 +msgid "lpadmin: Expected printer after \"-p\" option." +msgstr "" + +#: systemv/lpadmin.c:155 +msgid "lpadmin: Expected printer name after \"-d\" option." +msgstr "" + +#: systemv/lpadmin.c:522 +msgid "lpadmin: Expected printer or class after \"-x\" option." +msgstr "" + +#: systemv/lpadmin.c:958 +msgid "lpadmin: No member names were seen." +msgstr "" + +#: systemv/lpadmin.c:752 +#, c-format +msgid "lpadmin: Printer %s is already a member of class %s." +msgstr "" + +#: systemv/lpadmin.c:972 +#, c-format +msgid "lpadmin: Printer %s is not a member of class %s." +msgstr "" + +#: systemv/lpadmin.c:637 +msgid "lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS." +msgstr "" + +#: systemv/lpadmin.c:164 systemv/lpadmin.c:331 systemv/lpadmin.c:531 +msgid "lpadmin: Printer name can only contain printable characters." +msgstr "" + +#: systemv/lpadmin.c:618 +msgid "lpadmin: Raw queues are deprecated and will stop working in a future version of CUPS." +msgstr "" + +#: systemv/lpadmin.c:616 +msgid "lpadmin: Raw queues are no longer supported on macOS." +msgstr "" + +#: systemv/lpadmin.c:231 +msgid "lpadmin: System V interface scripts are no longer supported for security reasons." +msgstr "" + +#: systemv/lpadmin.c:97 +msgid "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." +msgstr "" + +#: systemv/lpadmin.c:89 systemv/lpadmin.c:139 systemv/lpadmin.c:261 +#: systemv/lpadmin.c:344 systemv/lpadmin.c:393 systemv/lpadmin.c:505 +#: systemv/lpadmin.c:656 +#, c-format +msgid "lpadmin: Unable to connect to server: %s" +msgstr "" + +#: systemv/lpadmin.c:1442 +msgid "lpadmin: Unable to create temporary file" +msgstr "" + +#: systemv/lpadmin.c:401 +msgid "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." +msgstr "" + +#: systemv/lpadmin.c:1453 +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s" +msgstr "" + +#: systemv/lpadmin.c:1433 +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s on line %d." +msgstr "" + +#: systemv/lpadmin.c:353 +msgid "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." +msgstr "" + +#: systemv/lpadmin.c:645 +msgid "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." +msgstr "" + +#: systemv/lpadmin.c:472 +#, c-format +msgid "lpadmin: Unknown allow/deny option \"%s\"." +msgstr "" + +#: systemv/lpadmin.c:601 +#, c-format +msgid "lpadmin: Unknown argument \"%s\"." +msgstr "" + +#: systemv/lpadmin.c:594 +#, c-format +msgid "lpadmin: Unknown option \"%c\"." +msgstr "" + +#: systemv/lpadmin.c:622 +msgid "lpadmin: Use the 'everywhere' model for shared printers." +msgstr "" + +#: systemv/lpadmin.c:570 +msgid "lpadmin: Warning - content type list ignored." +msgstr "" + +#: berkeley/lpc.c:62 berkeley/lpc.c:90 berkeley/lpc.c:126 +msgid "lpc> " +msgstr "" + +#: systemv/lpinfo.c:80 +msgid "lpinfo: Expected 1284 device ID string after \"--device-id\"." +msgstr "" + +#: systemv/lpinfo.c:129 +msgid "lpinfo: Expected language after \"--language\"." +msgstr "" + +#: systemv/lpinfo.c:144 +msgid "lpinfo: Expected make and model after \"--make-and-model\"." +msgstr "" + +#: systemv/lpinfo.c:159 +msgid "lpinfo: Expected product string after \"--product\"." +msgstr "" + +#: systemv/lpinfo.c:96 +msgid "lpinfo: Expected scheme list after \"--exclude-schemes\"." +msgstr "" + +#: systemv/lpinfo.c:114 +msgid "lpinfo: Expected scheme list after \"--include-schemes\"." +msgstr "" + +#: systemv/lpinfo.c:174 +msgid "lpinfo: Expected timeout after \"--timeout\"." +msgstr "" + +#: systemv/lpmove.c:129 +#, c-format +msgid "lpmove: Unable to connect to server: %s" +msgstr "" + +#: systemv/lpmove.c:117 +#, c-format +msgid "lpmove: Unknown argument \"%s\"." +msgstr "" + +#: systemv/lpoptions.c:149 systemv/lpoptions.c:167 systemv/lpoptions.c:246 +msgid "lpoptions: No printers." +msgstr "" + +#: systemv/lpoptions.c:223 +#, c-format +msgid "lpoptions: Unable to add printer or instance: %s" +msgstr "" + +#: systemv/lpoptions.c:492 systemv/lpoptions.c:501 +#, c-format +msgid "lpoptions: Unable to get PPD file for %s: %s" +msgstr "" + +#: systemv/lpoptions.c:511 +#, c-format +msgid "lpoptions: Unable to open PPD file for %s." +msgstr "" + +#: systemv/lpoptions.c:95 +msgid "lpoptions: Unknown printer or class." +msgstr "" + +#: systemv/lpstat.c:1099 +#, c-format +msgid "lpstat: error - %s environment variable names non-existent destination \"%s\"." +msgstr "" + +#. TRANSLATORS: Amount of Material +#: locale/ipp-strings.c:1120 +msgid "material-amount" +msgstr "" + +#. TRANSLATORS: Amount Units +#: locale/ipp-strings.c:1122 +msgid "material-amount-units" +msgstr "" + +#. TRANSLATORS: Grams +#: locale/ipp-strings.c:1124 +msgid "material-amount-units.g" +msgstr "" + +#. TRANSLATORS: Kilograms +#: locale/ipp-strings.c:1126 +msgid "material-amount-units.kg" +msgstr "" + +#. TRANSLATORS: Liters +#: locale/ipp-strings.c:1128 +msgid "material-amount-units.l" +msgstr "" + +#. TRANSLATORS: Meters +#: locale/ipp-strings.c:1130 +msgid "material-amount-units.m" +msgstr "" + +#. TRANSLATORS: Milliliters +#: locale/ipp-strings.c:1132 +msgid "material-amount-units.ml" +msgstr "" + +#. TRANSLATORS: Millimeters +#: locale/ipp-strings.c:1134 +msgid "material-amount-units.mm" +msgstr "" + +#. TRANSLATORS: Material Color +#: locale/ipp-strings.c:1136 +msgid "material-color" +msgstr "" + +#. TRANSLATORS: Material Diameter +#: locale/ipp-strings.c:1138 +msgid "material-diameter" +msgstr "" + +#. TRANSLATORS: Material Diameter Tolerance +#: locale/ipp-strings.c:1140 +msgid "material-diameter-tolerance" +msgstr "" + +#. TRANSLATORS: Material Fill Density +#: locale/ipp-strings.c:1142 +msgid "material-fill-density" +msgstr "" + +#. TRANSLATORS: Material Name +#: locale/ipp-strings.c:1144 +msgid "material-name" +msgstr "" + +#. TRANSLATORS: Material Nozzle Diameter +#: locale/ipp-strings.c:1146 +msgid "material-nozzle-diameter" +msgstr "" + +#. TRANSLATORS: Use Material For +#: locale/ipp-strings.c:1148 +msgid "material-purpose" +msgstr "" + +#. TRANSLATORS: Everything +#: locale/ipp-strings.c:1150 +msgid "material-purpose.all" +msgstr "" + +#. TRANSLATORS: Base +#: locale/ipp-strings.c:1152 +msgid "material-purpose.base" +msgstr "" + +#. TRANSLATORS: In-fill +#: locale/ipp-strings.c:1154 +msgid "material-purpose.in-fill" +msgstr "" + +#. TRANSLATORS: Shell +#: locale/ipp-strings.c:1156 +msgid "material-purpose.shell" +msgstr "" + +#. TRANSLATORS: Supports +#: locale/ipp-strings.c:1158 +msgid "material-purpose.support" +msgstr "" + +#. TRANSLATORS: Feed Rate +#: locale/ipp-strings.c:1160 +msgid "material-rate" +msgstr "" + +#. TRANSLATORS: Feed Rate Units +#: locale/ipp-strings.c:1162 +msgid "material-rate-units" +msgstr "" + +#. TRANSLATORS: Milligrams per second +#: locale/ipp-strings.c:1164 +msgid "material-rate-units.mg_second" +msgstr "" + +#. TRANSLATORS: Milliliters per second +#: locale/ipp-strings.c:1166 +msgid "material-rate-units.ml_second" +msgstr "" + +#. TRANSLATORS: Millimeters per second +#: locale/ipp-strings.c:1168 +msgid "material-rate-units.mm_second" +msgstr "" + +#. TRANSLATORS: Material Retraction +#: locale/ipp-strings.c:1170 +msgid "material-retraction" +msgstr "" + +#. TRANSLATORS: Material Shell Thickness +#: locale/ipp-strings.c:1172 +msgid "material-shell-thickness" +msgstr "" + +#. TRANSLATORS: Material Temperature +#: locale/ipp-strings.c:1174 +msgid "material-temperature" +msgstr "" + +#. TRANSLATORS: Material Type +#: locale/ipp-strings.c:1176 +msgid "material-type" +msgstr "" + +#. TRANSLATORS: ABS +#: locale/ipp-strings.c:1178 +msgid "material-type.abs" +msgstr "" + +#. TRANSLATORS: Carbon Fiber ABS +#: locale/ipp-strings.c:1180 +msgid "material-type.abs-carbon-fiber" +msgstr "" + +#. TRANSLATORS: Carbon Nanotube ABS +#: locale/ipp-strings.c:1182 +msgid "material-type.abs-carbon-nanotube" +msgstr "" + +#. TRANSLATORS: Chocolate +#: locale/ipp-strings.c:1184 +msgid "material-type.chocolate" +msgstr "" + +#. TRANSLATORS: Gold +#: locale/ipp-strings.c:1186 +msgid "material-type.gold" +msgstr "" + +#. TRANSLATORS: Nylon +#: locale/ipp-strings.c:1188 +msgid "material-type.nylon" +msgstr "" + +#. TRANSLATORS: Pet +#: locale/ipp-strings.c:1190 +msgid "material-type.pet" +msgstr "" + +#. TRANSLATORS: Photopolymer +#: locale/ipp-strings.c:1192 +msgid "material-type.photopolymer" +msgstr "" + +#. TRANSLATORS: PLA +#: locale/ipp-strings.c:1194 +msgid "material-type.pla" +msgstr "" + +#. TRANSLATORS: Conductive PLA +#: locale/ipp-strings.c:1196 +msgid "material-type.pla-conductive" +msgstr "" + +#. TRANSLATORS: Pla Dissolvable +#: locale/ipp-strings.c:1198 +msgid "material-type.pla-dissolvable" +msgstr "" + +#. TRANSLATORS: Flexible PLA +#: locale/ipp-strings.c:1200 +msgid "material-type.pla-flexible" +msgstr "" + +#. TRANSLATORS: Magnetic PLA +#: locale/ipp-strings.c:1202 +msgid "material-type.pla-magnetic" +msgstr "" + +#. TRANSLATORS: Steel PLA +#: locale/ipp-strings.c:1204 +msgid "material-type.pla-steel" +msgstr "" + +#. TRANSLATORS: Stone PLA +#: locale/ipp-strings.c:1206 +msgid "material-type.pla-stone" +msgstr "" + +#. TRANSLATORS: Wood PLA +#: locale/ipp-strings.c:1208 +msgid "material-type.pla-wood" +msgstr "" + +#. TRANSLATORS: Polycarbonate +#: locale/ipp-strings.c:1210 +msgid "material-type.polycarbonate" +msgstr "" + +#. TRANSLATORS: Dissolvable PVA +#: locale/ipp-strings.c:1212 +msgid "material-type.pva-dissolvable" +msgstr "" + +#. TRANSLATORS: Silver +#: locale/ipp-strings.c:1214 +msgid "material-type.silver" +msgstr "" + +#. TRANSLATORS: Titanium +#: locale/ipp-strings.c:1216 +msgid "material-type.titanium" +msgstr "" + +#. TRANSLATORS: Wax +#: locale/ipp-strings.c:1218 +msgid "material-type.wax" +msgstr "" + +#. TRANSLATORS: Materials +#: locale/ipp-strings.c:1220 +msgid "materials-col" +msgstr "" + +#. TRANSLATORS: Media +#: locale/ipp-strings.c:1222 +msgid "media" +msgstr "" + +#. TRANSLATORS: Back Coating of Media +#: locale/ipp-strings.c:1224 +msgid "media-back-coating" +msgstr "" + +#. TRANSLATORS: Glossy +#: locale/ipp-strings.c:1226 +msgid "media-back-coating.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +#: locale/ipp-strings.c:1228 +msgid "media-back-coating.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +#: locale/ipp-strings.c:1230 +msgid "media-back-coating.matte" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:1232 +msgid "media-back-coating.none" +msgstr "" + +#. TRANSLATORS: Satin +#: locale/ipp-strings.c:1234 +msgid "media-back-coating.satin" +msgstr "" + +#. TRANSLATORS: Semi-gloss +#: locale/ipp-strings.c:1236 +msgid "media-back-coating.semi-gloss" +msgstr "" + +#. TRANSLATORS: Media Bottom Margin +#: locale/ipp-strings.c:1238 +msgid "media-bottom-margin" +msgstr "" + +#. TRANSLATORS: Media +#: locale/ipp-strings.c:1240 +msgid "media-col" +msgstr "" + +#. TRANSLATORS: Media Color +#: locale/ipp-strings.c:1242 +msgid "media-color" +msgstr "" + +#. TRANSLATORS: Black +#: locale/ipp-strings.c:1244 +msgid "media-color.black" +msgstr "" + +#. TRANSLATORS: Blue +#: locale/ipp-strings.c:1246 +msgid "media-color.blue" +msgstr "" + +#. TRANSLATORS: Brown +#: locale/ipp-strings.c:1248 +msgid "media-color.brown" +msgstr "" + +#. TRANSLATORS: Buff +#: locale/ipp-strings.c:1250 +msgid "media-color.buff" +msgstr "" + +#. TRANSLATORS: Clear Black +#: locale/ipp-strings.c:1252 +msgid "media-color.clear-black" +msgstr "" + +#. TRANSLATORS: Clear Blue +#: locale/ipp-strings.c:1254 +msgid "media-color.clear-blue" +msgstr "" + +#. TRANSLATORS: Clear Brown +#: locale/ipp-strings.c:1256 +msgid "media-color.clear-brown" +msgstr "" + +#. TRANSLATORS: Clear Buff +#: locale/ipp-strings.c:1258 +msgid "media-color.clear-buff" +msgstr "" + +#. TRANSLATORS: Clear Cyan +#: locale/ipp-strings.c:1260 +msgid "media-color.clear-cyan" +msgstr "" + +#. TRANSLATORS: Clear Gold +#: locale/ipp-strings.c:1262 +msgid "media-color.clear-gold" +msgstr "" + +#. TRANSLATORS: Clear Goldenrod +#: locale/ipp-strings.c:1264 +msgid "media-color.clear-goldenrod" +msgstr "" + +#. TRANSLATORS: Clear Gray +#: locale/ipp-strings.c:1266 +msgid "media-color.clear-gray" +msgstr "" + +#. TRANSLATORS: Clear Green +#: locale/ipp-strings.c:1268 +msgid "media-color.clear-green" +msgstr "" + +#. TRANSLATORS: Clear Ivory +#: locale/ipp-strings.c:1270 +msgid "media-color.clear-ivory" +msgstr "" + +#. TRANSLATORS: Clear Magenta +#: locale/ipp-strings.c:1272 +msgid "media-color.clear-magenta" +msgstr "" + +#. TRANSLATORS: Clear Multi Color +#: locale/ipp-strings.c:1274 +msgid "media-color.clear-multi-color" +msgstr "" + +#. TRANSLATORS: Clear Mustard +#: locale/ipp-strings.c:1276 +msgid "media-color.clear-mustard" +msgstr "" + +#. TRANSLATORS: Clear Orange +#: locale/ipp-strings.c:1278 +msgid "media-color.clear-orange" +msgstr "" + +#. TRANSLATORS: Clear Pink +#: locale/ipp-strings.c:1280 +msgid "media-color.clear-pink" +msgstr "" + +#. TRANSLATORS: Clear Red +#: locale/ipp-strings.c:1282 +msgid "media-color.clear-red" +msgstr "" + +#. TRANSLATORS: Clear Silver +#: locale/ipp-strings.c:1284 +msgid "media-color.clear-silver" +msgstr "" + +#. TRANSLATORS: Clear Turquoise +#: locale/ipp-strings.c:1286 +msgid "media-color.clear-turquoise" +msgstr "" + +#. TRANSLATORS: Clear Violet +#: locale/ipp-strings.c:1288 +msgid "media-color.clear-violet" +msgstr "" + +#. TRANSLATORS: Clear White +#: locale/ipp-strings.c:1290 +msgid "media-color.clear-white" +msgstr "" + +#. TRANSLATORS: Clear Yellow +#: locale/ipp-strings.c:1292 +msgid "media-color.clear-yellow" +msgstr "" + +#. TRANSLATORS: Cyan +#: locale/ipp-strings.c:1294 +msgid "media-color.cyan" +msgstr "" + +#. TRANSLATORS: Dark Blue +#: locale/ipp-strings.c:1296 +msgid "media-color.dark-blue" +msgstr "" + +#. TRANSLATORS: Dark Brown +#: locale/ipp-strings.c:1298 +msgid "media-color.dark-brown" +msgstr "" + +#. TRANSLATORS: Dark Buff +#: locale/ipp-strings.c:1300 +msgid "media-color.dark-buff" +msgstr "" + +#. TRANSLATORS: Dark Cyan +#: locale/ipp-strings.c:1302 +msgid "media-color.dark-cyan" +msgstr "" + +#. TRANSLATORS: Dark Gold +#: locale/ipp-strings.c:1304 +msgid "media-color.dark-gold" +msgstr "" + +#. TRANSLATORS: Dark Goldenrod +#: locale/ipp-strings.c:1306 +msgid "media-color.dark-goldenrod" +msgstr "" + +#. TRANSLATORS: Dark Gray +#: locale/ipp-strings.c:1308 +msgid "media-color.dark-gray" +msgstr "" + +#. TRANSLATORS: Dark Green +#: locale/ipp-strings.c:1310 +msgid "media-color.dark-green" +msgstr "" + +#. TRANSLATORS: Dark Ivory +#: locale/ipp-strings.c:1312 +msgid "media-color.dark-ivory" +msgstr "" + +#. TRANSLATORS: Dark Magenta +#: locale/ipp-strings.c:1314 +msgid "media-color.dark-magenta" +msgstr "" + +#. TRANSLATORS: Dark Mustard +#: locale/ipp-strings.c:1316 +msgid "media-color.dark-mustard" +msgstr "" + +#. TRANSLATORS: Dark Orange +#: locale/ipp-strings.c:1318 +msgid "media-color.dark-orange" +msgstr "" + +#. TRANSLATORS: Dark Pink +#: locale/ipp-strings.c:1320 +msgid "media-color.dark-pink" +msgstr "" + +#. TRANSLATORS: Dark Red +#: locale/ipp-strings.c:1322 +msgid "media-color.dark-red" +msgstr "" + +#. TRANSLATORS: Dark Silver +#: locale/ipp-strings.c:1324 +msgid "media-color.dark-silver" +msgstr "" + +#. TRANSLATORS: Dark Turquoise +#: locale/ipp-strings.c:1326 +msgid "media-color.dark-turquoise" +msgstr "" + +#. TRANSLATORS: Dark Violet +#: locale/ipp-strings.c:1328 +msgid "media-color.dark-violet" +msgstr "" + +#. TRANSLATORS: Dark Yellow +#: locale/ipp-strings.c:1330 +msgid "media-color.dark-yellow" +msgstr "" + +#. TRANSLATORS: Gold +#: locale/ipp-strings.c:1332 +msgid "media-color.gold" +msgstr "" + +#. TRANSLATORS: Goldenrod +#: locale/ipp-strings.c:1334 +msgid "media-color.goldenrod" +msgstr "" + +#. TRANSLATORS: Gray +#: locale/ipp-strings.c:1336 +msgid "media-color.gray" +msgstr "" + +#. TRANSLATORS: Green +#: locale/ipp-strings.c:1338 +msgid "media-color.green" +msgstr "" + +#. TRANSLATORS: Ivory +#: locale/ipp-strings.c:1340 +msgid "media-color.ivory" +msgstr "" + +#. TRANSLATORS: Light Black +#: locale/ipp-strings.c:1342 +msgid "media-color.light-black" +msgstr "" + +#. TRANSLATORS: Light Blue +#: locale/ipp-strings.c:1344 +msgid "media-color.light-blue" +msgstr "" + +#. TRANSLATORS: Light Brown +#: locale/ipp-strings.c:1346 +msgid "media-color.light-brown" +msgstr "" + +#. TRANSLATORS: Light Buff +#: locale/ipp-strings.c:1348 +msgid "media-color.light-buff" +msgstr "" + +#. TRANSLATORS: Light Cyan +#: locale/ipp-strings.c:1350 +msgid "media-color.light-cyan" +msgstr "" + +#. TRANSLATORS: Light Gold +#: locale/ipp-strings.c:1352 +msgid "media-color.light-gold" +msgstr "" + +#. TRANSLATORS: Light Goldenrod +#: locale/ipp-strings.c:1354 +msgid "media-color.light-goldenrod" +msgstr "" + +#. TRANSLATORS: Light Gray +#: locale/ipp-strings.c:1356 +msgid "media-color.light-gray" +msgstr "" + +#. TRANSLATORS: Light Green +#: locale/ipp-strings.c:1358 +msgid "media-color.light-green" +msgstr "" + +#. TRANSLATORS: Light Ivory +#: locale/ipp-strings.c:1360 +msgid "media-color.light-ivory" +msgstr "" + +#. TRANSLATORS: Light Magenta +#: locale/ipp-strings.c:1362 +msgid "media-color.light-magenta" +msgstr "" + +#. TRANSLATORS: Light Mustard +#: locale/ipp-strings.c:1364 +msgid "media-color.light-mustard" +msgstr "" + +#. TRANSLATORS: Light Orange +#: locale/ipp-strings.c:1366 +msgid "media-color.light-orange" +msgstr "" + +#. TRANSLATORS: Light Pink +#: locale/ipp-strings.c:1368 +msgid "media-color.light-pink" +msgstr "" + +#. TRANSLATORS: Light Red +#: locale/ipp-strings.c:1370 +msgid "media-color.light-red" +msgstr "" + +#. TRANSLATORS: Light Silver +#: locale/ipp-strings.c:1372 +msgid "media-color.light-silver" +msgstr "" + +#. TRANSLATORS: Light Turquoise +#: locale/ipp-strings.c:1374 +msgid "media-color.light-turquoise" +msgstr "" + +#. TRANSLATORS: Light Violet +#: locale/ipp-strings.c:1376 +msgid "media-color.light-violet" +msgstr "" + +#. TRANSLATORS: Light Yellow +#: locale/ipp-strings.c:1378 +msgid "media-color.light-yellow" +msgstr "" + +#. TRANSLATORS: Magenta +#: locale/ipp-strings.c:1380 +msgid "media-color.magenta" +msgstr "" + +#. TRANSLATORS: Multi-color +#: locale/ipp-strings.c:1382 +msgid "media-color.multi-color" +msgstr "" + +#. TRANSLATORS: Mustard +#: locale/ipp-strings.c:1384 +msgid "media-color.mustard" +msgstr "" + +#. TRANSLATORS: No Color +#: locale/ipp-strings.c:1386 +msgid "media-color.no-color" +msgstr "" + +#. TRANSLATORS: Orange +#: locale/ipp-strings.c:1388 +msgid "media-color.orange" +msgstr "" + +#. TRANSLATORS: Pink +#: locale/ipp-strings.c:1390 +msgid "media-color.pink" +msgstr "" + +#. TRANSLATORS: Red +#: locale/ipp-strings.c:1392 +msgid "media-color.red" +msgstr "" + +#. TRANSLATORS: Silver +#: locale/ipp-strings.c:1394 +msgid "media-color.silver" +msgstr "" + +#. TRANSLATORS: Turquoise +#: locale/ipp-strings.c:1396 +msgid "media-color.turquoise" +msgstr "" + +#. TRANSLATORS: Violet +#: locale/ipp-strings.c:1398 +msgid "media-color.violet" +msgstr "" + +#. TRANSLATORS: White +#: locale/ipp-strings.c:1400 +msgid "media-color.white" +msgstr "" + +#. TRANSLATORS: Yellow +#: locale/ipp-strings.c:1402 +msgid "media-color.yellow" +msgstr "" + +#. TRANSLATORS: Front Coating of Media +#: locale/ipp-strings.c:1404 +msgid "media-front-coating" +msgstr "" + +#. TRANSLATORS: Media Grain +#: locale/ipp-strings.c:1406 +msgid "media-grain" +msgstr "" + +#. TRANSLATORS: Cross-Feed Direction +#: locale/ipp-strings.c:1408 +msgid "media-grain.x-direction" +msgstr "" + +#. TRANSLATORS: Feed Direction +#: locale/ipp-strings.c:1410 +msgid "media-grain.y-direction" +msgstr "" + +#. TRANSLATORS: Media Hole Count +#: locale/ipp-strings.c:1412 +msgid "media-hole-count" +msgstr "" + +#. TRANSLATORS: Media Info +#: locale/ipp-strings.c:1414 +msgid "media-info" +msgstr "" + +#. TRANSLATORS: Force Media +#: locale/ipp-strings.c:1416 +msgid "media-input-tray-check" +msgstr "" + +#. TRANSLATORS: Media Left Margin +#: locale/ipp-strings.c:1418 +msgid "media-left-margin" +msgstr "" + +#. TRANSLATORS: Pre-printed Media +#: locale/ipp-strings.c:1420 +msgid "media-pre-printed" +msgstr "" + +#. TRANSLATORS: Blank +#: locale/ipp-strings.c:1422 +msgid "media-pre-printed.blank" +msgstr "" + +#. TRANSLATORS: Letterhead +#: locale/ipp-strings.c:1424 +msgid "media-pre-printed.letter-head" +msgstr "" + +#. TRANSLATORS: Pre-printed +#: locale/ipp-strings.c:1426 +msgid "media-pre-printed.pre-printed" +msgstr "" + +#. TRANSLATORS: Recycled Media +#: locale/ipp-strings.c:1428 +msgid "media-recycled" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:1430 +msgid "media-recycled.none" +msgstr "" + +#. TRANSLATORS: Standard +#: locale/ipp-strings.c:1432 +msgid "media-recycled.standard" +msgstr "" + +#. TRANSLATORS: Media Right Margin +#: locale/ipp-strings.c:1434 +msgid "media-right-margin" +msgstr "" + +#. TRANSLATORS: Media Dimensions +#: locale/ipp-strings.c:1436 +msgid "media-size" +msgstr "" + +#. TRANSLATORS: Media Name +#: locale/ipp-strings.c:1438 +msgid "media-size-name" +msgstr "" + +#. TRANSLATORS: Media Source +#: locale/ipp-strings.c:1440 +msgid "media-source" +msgstr "" + +#. TRANSLATORS: Alternate +#: locale/ipp-strings.c:1442 +msgid "media-source.alternate" +msgstr "" + +#. TRANSLATORS: Alternate Roll +#: locale/ipp-strings.c:1444 +msgid "media-source.alternate-roll" +msgstr "" + +#. TRANSLATORS: Automatic +#: locale/ipp-strings.c:1446 +msgid "media-source.auto" +msgstr "" + +#. TRANSLATORS: Bottom +#: locale/ipp-strings.c:1448 +msgid "media-source.bottom" +msgstr "" + +#. TRANSLATORS: By-pass Tray +#: locale/ipp-strings.c:1450 +msgid "media-source.by-pass-tray" +msgstr "" + +#. TRANSLATORS: Center +#: locale/ipp-strings.c:1452 +msgid "media-source.center" +msgstr "" + +#. TRANSLATORS: Disc +#: locale/ipp-strings.c:1454 +msgid "media-source.disc" +msgstr "" + +#. TRANSLATORS: Envelope +#: locale/ipp-strings.c:1456 +msgid "media-source.envelope" +msgstr "" + +#. TRANSLATORS: Hagaki +#: locale/ipp-strings.c:1458 +msgid "media-source.hagaki" +msgstr "" + +#. TRANSLATORS: Large Capacity +#: locale/ipp-strings.c:1460 +msgid "media-source.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +#: locale/ipp-strings.c:1462 +msgid "media-source.left" +msgstr "" + +#. TRANSLATORS: Main +#: locale/ipp-strings.c:1464 +msgid "media-source.main" +msgstr "" + +#. TRANSLATORS: Main Roll +#: locale/ipp-strings.c:1466 +msgid "media-source.main-roll" +msgstr "" + +#. TRANSLATORS: Manual +#: locale/ipp-strings.c:1468 +msgid "media-source.manual" +msgstr "" + +#. TRANSLATORS: Middle +#: locale/ipp-strings.c:1470 +msgid "media-source.middle" +msgstr "" + +#. TRANSLATORS: Photo +#: locale/ipp-strings.c:1472 +msgid "media-source.photo" +msgstr "" + +#. TRANSLATORS: Rear +#: locale/ipp-strings.c:1474 +msgid "media-source.rear" +msgstr "" + +#. TRANSLATORS: Right +#: locale/ipp-strings.c:1476 +msgid "media-source.right" +msgstr "" + +#. TRANSLATORS: Roll 1 +#: locale/ipp-strings.c:1478 +msgid "media-source.roll-1" +msgstr "" + +#. TRANSLATORS: Roll 10 +#: locale/ipp-strings.c:1480 +msgid "media-source.roll-10" +msgstr "" + +#. TRANSLATORS: Roll 2 +#: locale/ipp-strings.c:1482 +msgid "media-source.roll-2" +msgstr "" + +#. TRANSLATORS: Roll 3 +#: locale/ipp-strings.c:1484 +msgid "media-source.roll-3" +msgstr "" + +#. TRANSLATORS: Roll 4 +#: locale/ipp-strings.c:1486 +msgid "media-source.roll-4" +msgstr "" + +#. TRANSLATORS: Roll 5 +#: locale/ipp-strings.c:1488 +msgid "media-source.roll-5" +msgstr "" + +#. TRANSLATORS: Roll 6 +#: locale/ipp-strings.c:1490 +msgid "media-source.roll-6" +msgstr "" + +#. TRANSLATORS: Roll 7 +#: locale/ipp-strings.c:1492 +msgid "media-source.roll-7" +msgstr "" + +#. TRANSLATORS: Roll 8 +#: locale/ipp-strings.c:1494 +msgid "media-source.roll-8" +msgstr "" + +#. TRANSLATORS: Roll 9 +#: locale/ipp-strings.c:1496 +msgid "media-source.roll-9" +msgstr "" + +#. TRANSLATORS: Side +#: locale/ipp-strings.c:1498 +msgid "media-source.side" +msgstr "" + +#. TRANSLATORS: Top +#: locale/ipp-strings.c:1500 +msgid "media-source.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +#: locale/ipp-strings.c:1502 +msgid "media-source.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +#: locale/ipp-strings.c:1504 +msgid "media-source.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 11 +#: locale/ipp-strings.c:1506 +msgid "media-source.tray-11" +msgstr "" + +#. TRANSLATORS: Tray 12 +#: locale/ipp-strings.c:1508 +msgid "media-source.tray-12" +msgstr "" + +#. TRANSLATORS: Tray 13 +#: locale/ipp-strings.c:1510 +msgid "media-source.tray-13" +msgstr "" + +#. TRANSLATORS: Tray 14 +#: locale/ipp-strings.c:1512 +msgid "media-source.tray-14" +msgstr "" + +#. TRANSLATORS: Tray 15 +#: locale/ipp-strings.c:1514 +msgid "media-source.tray-15" +msgstr "" + +#. TRANSLATORS: Tray 16 +#: locale/ipp-strings.c:1516 +msgid "media-source.tray-16" +msgstr "" + +#. TRANSLATORS: Tray 17 +#: locale/ipp-strings.c:1518 +msgid "media-source.tray-17" +msgstr "" + +#. TRANSLATORS: Tray 18 +#: locale/ipp-strings.c:1520 +msgid "media-source.tray-18" +msgstr "" + +#. TRANSLATORS: Tray 19 +#: locale/ipp-strings.c:1522 +msgid "media-source.tray-19" +msgstr "" + +#. TRANSLATORS: Tray 2 +#: locale/ipp-strings.c:1524 +msgid "media-source.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 20 +#: locale/ipp-strings.c:1526 +msgid "media-source.tray-20" +msgstr "" + +#. TRANSLATORS: Tray 3 +#: locale/ipp-strings.c:1528 +msgid "media-source.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +#: locale/ipp-strings.c:1530 +msgid "media-source.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +#: locale/ipp-strings.c:1532 +msgid "media-source.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +#: locale/ipp-strings.c:1534 +msgid "media-source.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +#: locale/ipp-strings.c:1536 +msgid "media-source.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +#: locale/ipp-strings.c:1538 +msgid "media-source.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +#: locale/ipp-strings.c:1540 +msgid "media-source.tray-9" +msgstr "" + +#. TRANSLATORS: Media Thickness +#: locale/ipp-strings.c:1542 +msgid "media-thickness" +msgstr "" + +#. TRANSLATORS: Media Tooth (Texture) +#: locale/ipp-strings.c:1544 +msgid "media-tooth" +msgstr "" + +#. TRANSLATORS: Antique +#: locale/ipp-strings.c:1546 +msgid "media-tooth.antique" +msgstr "" + +#. TRANSLATORS: Extra Smooth +#: locale/ipp-strings.c:1548 +msgid "media-tooth.calendared" +msgstr "" + +#. TRANSLATORS: Coarse +#: locale/ipp-strings.c:1550 +msgid "media-tooth.coarse" +msgstr "" + +#. TRANSLATORS: Fine +#: locale/ipp-strings.c:1552 +msgid "media-tooth.fine" +msgstr "" + +#. TRANSLATORS: Linen +#: locale/ipp-strings.c:1554 +msgid "media-tooth.linen" +msgstr "" + +#. TRANSLATORS: Medium +#: locale/ipp-strings.c:1556 +msgid "media-tooth.medium" +msgstr "" + +#. TRANSLATORS: Smooth +#: locale/ipp-strings.c:1558 +msgid "media-tooth.smooth" +msgstr "" + +#. TRANSLATORS: Stipple +#: locale/ipp-strings.c:1560 +msgid "media-tooth.stipple" +msgstr "" + +#. TRANSLATORS: Rough +#: locale/ipp-strings.c:1562 +msgid "media-tooth.uncalendared" +msgstr "" + +#. TRANSLATORS: Vellum +#: locale/ipp-strings.c:1564 +msgid "media-tooth.vellum" +msgstr "" + +#. TRANSLATORS: Media Top Margin +#: locale/ipp-strings.c:1566 +msgid "media-top-margin" +msgstr "" + +#. TRANSLATORS: Media Type +#: locale/ipp-strings.c:1568 +msgid "media-type" +msgstr "" + +#. TRANSLATORS: Aluminum +#: locale/ipp-strings.c:1570 +msgid "media-type.aluminum" +msgstr "" + +#. TRANSLATORS: Automatic +#: locale/ipp-strings.c:1572 +msgid "media-type.auto" +msgstr "" + +#. TRANSLATORS: Back Print Film +#: locale/ipp-strings.c:1574 +msgid "media-type.back-print-film" +msgstr "" + +#. TRANSLATORS: Cardboard +#: locale/ipp-strings.c:1576 +msgid "media-type.cardboard" +msgstr "" + +#. TRANSLATORS: Cardstock +#: locale/ipp-strings.c:1578 +msgid "media-type.cardstock" +msgstr "" + +#. TRANSLATORS: CD +#: locale/ipp-strings.c:1580 +msgid "media-type.cd" +msgstr "" + +#. TRANSLATORS: Continuous +#: locale/ipp-strings.c:1582 +msgid "media-type.continuous" +msgstr "" + +#. TRANSLATORS: Continuous Long +#: locale/ipp-strings.c:1584 +msgid "media-type.continuous-long" +msgstr "" + +#. TRANSLATORS: Continuous Short +#: locale/ipp-strings.c:1586 +msgid "media-type.continuous-short" +msgstr "" + +#. TRANSLATORS: Corrugated Board +#: locale/ipp-strings.c:1588 +msgid "media-type.corrugated-board" +msgstr "" + +#. TRANSLATORS: Optical Disc +#: locale/ipp-strings.c:1590 +msgid "media-type.disc" +msgstr "" + +#. TRANSLATORS: Glossy Optical Disc +#: locale/ipp-strings.c:1592 +msgid "media-type.disc-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Optical Disc +#: locale/ipp-strings.c:1594 +msgid "media-type.disc-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Optical Disc +#: locale/ipp-strings.c:1596 +msgid "media-type.disc-matte" +msgstr "" + +#. TRANSLATORS: Satin Optical Disc +#: locale/ipp-strings.c:1598 +msgid "media-type.disc-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Optical Disc +#: locale/ipp-strings.c:1600 +msgid "media-type.disc-semi-gloss" +msgstr "" + +#. TRANSLATORS: Double Wall +#: locale/ipp-strings.c:1602 +msgid "media-type.double-wall" +msgstr "" + +#. TRANSLATORS: Dry Film +#: locale/ipp-strings.c:1604 +msgid "media-type.dry-film" +msgstr "" + +#. TRANSLATORS: DVD +#: locale/ipp-strings.c:1606 +msgid "media-type.dvd" +msgstr "" + +#. TRANSLATORS: Embossing Foil +#: locale/ipp-strings.c:1608 +msgid "media-type.embossing-foil" +msgstr "" + +#. TRANSLATORS: End Board +#: locale/ipp-strings.c:1610 +msgid "media-type.end-board" +msgstr "" + +#. TRANSLATORS: Envelope +#: locale/ipp-strings.c:1612 +msgid "media-type.envelope" +msgstr "" + +#. TRANSLATORS: Archival Envelope +#: locale/ipp-strings.c:1614 +msgid "media-type.envelope-archival" +msgstr "" + +#. TRANSLATORS: Bond Envelope +#: locale/ipp-strings.c:1616 +msgid "media-type.envelope-bond" +msgstr "" + +#. TRANSLATORS: Coated Envelope +#: locale/ipp-strings.c:1618 +msgid "media-type.envelope-coated" +msgstr "" + +#. TRANSLATORS: Cotton Envelope +#: locale/ipp-strings.c:1620 +msgid "media-type.envelope-cotton" +msgstr "" + +#. TRANSLATORS: Fine Envelope +#: locale/ipp-strings.c:1622 +msgid "media-type.envelope-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Envelope +#: locale/ipp-strings.c:1624 +msgid "media-type.envelope-heavyweight" +msgstr "" + +#. TRANSLATORS: Inkjet Envelope +#: locale/ipp-strings.c:1626 +msgid "media-type.envelope-inkjet" +msgstr "" + +#. TRANSLATORS: Lightweight Envelope +#: locale/ipp-strings.c:1628 +msgid "media-type.envelope-lightweight" +msgstr "" + +#. TRANSLATORS: Plain Envelope +#: locale/ipp-strings.c:1630 +msgid "media-type.envelope-plain" +msgstr "" + +#. TRANSLATORS: Preprinted Envelope +#: locale/ipp-strings.c:1632 +msgid "media-type.envelope-preprinted" +msgstr "" + +#. TRANSLATORS: Windowed Envelope +#: locale/ipp-strings.c:1634 +msgid "media-type.envelope-window" +msgstr "" + +#. TRANSLATORS: Fabric +#: locale/ipp-strings.c:1636 +msgid "media-type.fabric" +msgstr "" + +#. TRANSLATORS: Archival Fabric +#: locale/ipp-strings.c:1638 +msgid "media-type.fabric-archival" +msgstr "" + +#. TRANSLATORS: Glossy Fabric +#: locale/ipp-strings.c:1640 +msgid "media-type.fabric-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Fabric +#: locale/ipp-strings.c:1642 +msgid "media-type.fabric-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Fabric +#: locale/ipp-strings.c:1644 +msgid "media-type.fabric-matte" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Fabric +#: locale/ipp-strings.c:1646 +msgid "media-type.fabric-semi-gloss" +msgstr "" + +#. TRANSLATORS: Waterproof Fabric +#: locale/ipp-strings.c:1648 +msgid "media-type.fabric-waterproof" +msgstr "" + +#. TRANSLATORS: Film +#: locale/ipp-strings.c:1650 +msgid "media-type.film" +msgstr "" + +#. TRANSLATORS: Flexo Base +#: locale/ipp-strings.c:1652 +msgid "media-type.flexo-base" +msgstr "" + +#. TRANSLATORS: Flexo Photo Polymer +#: locale/ipp-strings.c:1654 +msgid "media-type.flexo-photo-polymer" +msgstr "" + +#. TRANSLATORS: Flute +#: locale/ipp-strings.c:1656 +msgid "media-type.flute" +msgstr "" + +#. TRANSLATORS: Foil +#: locale/ipp-strings.c:1658 +msgid "media-type.foil" +msgstr "" + +#. TRANSLATORS: Full Cut Tabs +#: locale/ipp-strings.c:1660 +msgid "media-type.full-cut-tabs" +msgstr "" + +#. TRANSLATORS: Glass +#: locale/ipp-strings.c:1662 +msgid "media-type.glass" +msgstr "" + +#. TRANSLATORS: Glass Colored +#: locale/ipp-strings.c:1664 +msgid "media-type.glass-colored" +msgstr "" + +#. TRANSLATORS: Glass Opaque +#: locale/ipp-strings.c:1666 +msgid "media-type.glass-opaque" +msgstr "" + +#. TRANSLATORS: Glass Surfaced +#: locale/ipp-strings.c:1668 +msgid "media-type.glass-surfaced" +msgstr "" + +#. TRANSLATORS: Glass Textured +#: locale/ipp-strings.c:1670 +msgid "media-type.glass-textured" +msgstr "" + +#. TRANSLATORS: Gravure Cylinder +#: locale/ipp-strings.c:1672 +msgid "media-type.gravure-cylinder" +msgstr "" + +#. TRANSLATORS: Image Setter Paper +#: locale/ipp-strings.c:1674 +msgid "media-type.image-setter-paper" +msgstr "" + +#. TRANSLATORS: Imaging Cylinder +#: locale/ipp-strings.c:1676 +msgid "media-type.imaging-cylinder" +msgstr "" + +#. TRANSLATORS: Labels +#: locale/ipp-strings.c:1678 +msgid "media-type.labels" +msgstr "" + +#. TRANSLATORS: Colored Labels +#: locale/ipp-strings.c:1680 +msgid "media-type.labels-colored" +msgstr "" + +#. TRANSLATORS: Glossy Labels +#: locale/ipp-strings.c:1682 +msgid "media-type.labels-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Labels +#: locale/ipp-strings.c:1684 +msgid "media-type.labels-high-gloss" +msgstr "" + +#. TRANSLATORS: Inkjet Labels +#: locale/ipp-strings.c:1686 +msgid "media-type.labels-inkjet" +msgstr "" + +#. TRANSLATORS: Matte Labels +#: locale/ipp-strings.c:1688 +msgid "media-type.labels-matte" +msgstr "" + +#. TRANSLATORS: Permanent Labels +#: locale/ipp-strings.c:1690 +msgid "media-type.labels-permanent" +msgstr "" + +#. TRANSLATORS: Satin Labels +#: locale/ipp-strings.c:1692 +msgid "media-type.labels-satin" +msgstr "" + +#. TRANSLATORS: Security Labels +#: locale/ipp-strings.c:1694 +msgid "media-type.labels-security" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Labels +#: locale/ipp-strings.c:1696 +msgid "media-type.labels-semi-gloss" +msgstr "" + +#. TRANSLATORS: Laminating Foil +#: locale/ipp-strings.c:1698 +msgid "media-type.laminating-foil" +msgstr "" + +#. TRANSLATORS: Letterhead +#: locale/ipp-strings.c:1700 +msgid "media-type.letterhead" +msgstr "" + +#. TRANSLATORS: Metal +#: locale/ipp-strings.c:1702 +msgid "media-type.metal" +msgstr "" + +#. TRANSLATORS: Metal Glossy +#: locale/ipp-strings.c:1704 +msgid "media-type.metal-glossy" +msgstr "" + +#. TRANSLATORS: Metal High Gloss +#: locale/ipp-strings.c:1706 +msgid "media-type.metal-high-gloss" +msgstr "" + +#. TRANSLATORS: Metal Matte +#: locale/ipp-strings.c:1708 +msgid "media-type.metal-matte" +msgstr "" + +#. TRANSLATORS: Metal Satin +#: locale/ipp-strings.c:1710 +msgid "media-type.metal-satin" +msgstr "" + +#. TRANSLATORS: Metal Semi Gloss +#: locale/ipp-strings.c:1712 +msgid "media-type.metal-semi-gloss" +msgstr "" + +#. TRANSLATORS: Mounting Tape +#: locale/ipp-strings.c:1714 +msgid "media-type.mounting-tape" +msgstr "" + +#. TRANSLATORS: Multi Layer +#: locale/ipp-strings.c:1716 +msgid "media-type.multi-layer" +msgstr "" + +#. TRANSLATORS: Multi Part Form +#: locale/ipp-strings.c:1718 +msgid "media-type.multi-part-form" +msgstr "" + +#. TRANSLATORS: Other +#: locale/ipp-strings.c:1720 +msgid "media-type.other" +msgstr "" + +#. TRANSLATORS: Paper +#: locale/ipp-strings.c:1722 +msgid "media-type.paper" +msgstr "" + +#. TRANSLATORS: Photo Paper +#: locale/ipp-strings.c:1724 +msgid "media-type.photographic" +msgstr "" + +#. TRANSLATORS: Photographic Archival +#: locale/ipp-strings.c:1726 +msgid "media-type.photographic-archival" +msgstr "" + +#. TRANSLATORS: Photo Film +#: locale/ipp-strings.c:1728 +msgid "media-type.photographic-film" +msgstr "" + +#. TRANSLATORS: Glossy Photo Paper +#: locale/ipp-strings.c:1730 +msgid "media-type.photographic-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Photo Paper +#: locale/ipp-strings.c:1732 +msgid "media-type.photographic-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Photo Paper +#: locale/ipp-strings.c:1734 +msgid "media-type.photographic-matte" +msgstr "" + +#. TRANSLATORS: Satin Photo Paper +#: locale/ipp-strings.c:1736 +msgid "media-type.photographic-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Photo Paper +#: locale/ipp-strings.c:1738 +msgid "media-type.photographic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plastic +#: locale/ipp-strings.c:1740 +msgid "media-type.plastic" +msgstr "" + +#. TRANSLATORS: Plastic Archival +#: locale/ipp-strings.c:1742 +msgid "media-type.plastic-archival" +msgstr "" + +#. TRANSLATORS: Plastic Colored +#: locale/ipp-strings.c:1744 +msgid "media-type.plastic-colored" +msgstr "" + +#. TRANSLATORS: Plastic Glossy +#: locale/ipp-strings.c:1746 +msgid "media-type.plastic-glossy" +msgstr "" + +#. TRANSLATORS: Plastic High Gloss +#: locale/ipp-strings.c:1748 +msgid "media-type.plastic-high-gloss" +msgstr "" + +#. TRANSLATORS: Plastic Matte +#: locale/ipp-strings.c:1750 +msgid "media-type.plastic-matte" +msgstr "" + +#. TRANSLATORS: Plastic Satin +#: locale/ipp-strings.c:1752 +msgid "media-type.plastic-satin" +msgstr "" + +#. TRANSLATORS: Plastic Semi Gloss +#: locale/ipp-strings.c:1754 +msgid "media-type.plastic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plate +#: locale/ipp-strings.c:1756 +msgid "media-type.plate" +msgstr "" + +#. TRANSLATORS: Polyester +#: locale/ipp-strings.c:1758 +msgid "media-type.polyester" +msgstr "" + +#. TRANSLATORS: Pre Cut Tabs +#: locale/ipp-strings.c:1760 +msgid "media-type.pre-cut-tabs" +msgstr "" + +#. TRANSLATORS: Roll +#: locale/ipp-strings.c:1762 +msgid "media-type.roll" +msgstr "" + +#. TRANSLATORS: Screen +#: locale/ipp-strings.c:1764 +msgid "media-type.screen" +msgstr "" + +#. TRANSLATORS: Screen Paged +#: locale/ipp-strings.c:1766 +msgid "media-type.screen-paged" +msgstr "" + +#. TRANSLATORS: Self Adhesive +#: locale/ipp-strings.c:1768 +msgid "media-type.self-adhesive" +msgstr "" + +#. TRANSLATORS: Self Adhesive Film +#: locale/ipp-strings.c:1770 +msgid "media-type.self-adhesive-film" +msgstr "" + +#. TRANSLATORS: Shrink Foil +#: locale/ipp-strings.c:1772 +msgid "media-type.shrink-foil" +msgstr "" + +#. TRANSLATORS: Single Face +#: locale/ipp-strings.c:1774 +msgid "media-type.single-face" +msgstr "" + +#. TRANSLATORS: Single Wall +#: locale/ipp-strings.c:1776 +msgid "media-type.single-wall" +msgstr "" + +#. TRANSLATORS: Sleeve +#: locale/ipp-strings.c:1778 +msgid "media-type.sleeve" +msgstr "" + +#. TRANSLATORS: Stationery +#: locale/ipp-strings.c:1780 +msgid "media-type.stationery" +msgstr "" + +#. TRANSLATORS: Stationery Archival +#: locale/ipp-strings.c:1782 +msgid "media-type.stationery-archival" +msgstr "" + +#. TRANSLATORS: Coated Paper +#: locale/ipp-strings.c:1784 +msgid "media-type.stationery-coated" +msgstr "" + +#. TRANSLATORS: Stationery Cotton +#: locale/ipp-strings.c:1786 +msgid "media-type.stationery-cotton" +msgstr "" + +#. TRANSLATORS: Vellum Paper +#: locale/ipp-strings.c:1788 +msgid "media-type.stationery-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Paper +#: locale/ipp-strings.c:1790 +msgid "media-type.stationery-heavyweight" +msgstr "" + +#. TRANSLATORS: Stationery Heavyweight Coated +#: locale/ipp-strings.c:1792 +msgid "media-type.stationery-heavyweight-coated" +msgstr "" + +#. TRANSLATORS: Stationery Inkjet Paper +#: locale/ipp-strings.c:1794 +msgid "media-type.stationery-inkjet" +msgstr "" + +#. TRANSLATORS: Letterhead +#: locale/ipp-strings.c:1796 +msgid "media-type.stationery-letterhead" +msgstr "" + +#. TRANSLATORS: Lightweight Paper +#: locale/ipp-strings.c:1798 +msgid "media-type.stationery-lightweight" +msgstr "" + +#. TRANSLATORS: Preprinted Paper +#: locale/ipp-strings.c:1800 +msgid "media-type.stationery-preprinted" +msgstr "" + +#. TRANSLATORS: Punched Paper +#: locale/ipp-strings.c:1802 +msgid "media-type.stationery-prepunched" +msgstr "" + +#. TRANSLATORS: Tab Stock +#: locale/ipp-strings.c:1804 +msgid "media-type.tab-stock" +msgstr "" + +#. TRANSLATORS: Tractor +#: locale/ipp-strings.c:1806 +msgid "media-type.tractor" +msgstr "" + +#. TRANSLATORS: Transfer +#: locale/ipp-strings.c:1808 +msgid "media-type.transfer" +msgstr "" + +#. TRANSLATORS: Transparency +#: locale/ipp-strings.c:1810 +msgid "media-type.transparency" +msgstr "" + +#. TRANSLATORS: Triple Wall +#: locale/ipp-strings.c:1812 +msgid "media-type.triple-wall" +msgstr "" + +#. TRANSLATORS: Wet Film +#: locale/ipp-strings.c:1814 +msgid "media-type.wet-film" +msgstr "" + +#. TRANSLATORS: Media Weight (grams per m²) +#: locale/ipp-strings.c:1816 +msgid "media-weight-metric" +msgstr "" + +#. TRANSLATORS: 28 x 40″ +#: locale/ipp-strings.c:1818 +msgid "media.asme_f_28x40in" +msgstr "" + +#. TRANSLATORS: A4 or US Letter +#: locale/ipp-strings.c:1820 +msgid "media.choice_iso_a4_210x297mm_na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: 2a0 +#: locale/ipp-strings.c:1822 +msgid "media.iso_2a0_1189x1682mm" +msgstr "" + +#. TRANSLATORS: A0 +#: locale/ipp-strings.c:1824 +msgid "media.iso_a0_841x1189mm" +msgstr "" + +#. TRANSLATORS: A0x3 +#: locale/ipp-strings.c:1826 +msgid "media.iso_a0x3_1189x2523mm" +msgstr "" + +#. TRANSLATORS: A10 +#: locale/ipp-strings.c:1828 +msgid "media.iso_a10_26x37mm" +msgstr "" + +#. TRANSLATORS: A1 +#: locale/ipp-strings.c:1830 +msgid "media.iso_a1_594x841mm" +msgstr "" + +#. TRANSLATORS: A1x3 +#: locale/ipp-strings.c:1832 +msgid "media.iso_a1x3_841x1783mm" +msgstr "" + +#. TRANSLATORS: A1x4 +#: locale/ipp-strings.c:1834 +msgid "media.iso_a1x4_841x2378mm" +msgstr "" + +#. TRANSLATORS: A2 +#: locale/ipp-strings.c:1836 +msgid "media.iso_a2_420x594mm" +msgstr "" + +#. TRANSLATORS: A2x3 +#: locale/ipp-strings.c:1838 +msgid "media.iso_a2x3_594x1261mm" +msgstr "" + +#. TRANSLATORS: A2x4 +#: locale/ipp-strings.c:1840 +msgid "media.iso_a2x4_594x1682mm" +msgstr "" + +#. TRANSLATORS: A2x5 +#: locale/ipp-strings.c:1842 +msgid "media.iso_a2x5_594x2102mm" +msgstr "" + +#. TRANSLATORS: A3 (Extra) +#: locale/ipp-strings.c:1844 +msgid "media.iso_a3-extra_322x445mm" +msgstr "" + +#. TRANSLATORS: A3 +#: locale/ipp-strings.c:1846 +msgid "media.iso_a3_297x420mm" +msgstr "" + +#. TRANSLATORS: A3x3 +#: locale/ipp-strings.c:1848 +msgid "media.iso_a3x3_420x891mm" +msgstr "" + +#. TRANSLATORS: A3x4 +#: locale/ipp-strings.c:1850 +msgid "media.iso_a3x4_420x1189mm" +msgstr "" + +#. TRANSLATORS: A3x5 +#: locale/ipp-strings.c:1852 +msgid "media.iso_a3x5_420x1486mm" +msgstr "" + +#. TRANSLATORS: A3x6 +#: locale/ipp-strings.c:1854 +msgid "media.iso_a3x6_420x1783mm" +msgstr "" + +#. TRANSLATORS: A3x7 +#: locale/ipp-strings.c:1856 +msgid "media.iso_a3x7_420x2080mm" +msgstr "" + +#. TRANSLATORS: A4 (Extra) +#: locale/ipp-strings.c:1858 +msgid "media.iso_a4-extra_235.5x322.3mm" +msgstr "" + +#. TRANSLATORS: A4 (Tab) +#: locale/ipp-strings.c:1860 +msgid "media.iso_a4-tab_225x297mm" +msgstr "" + +#. TRANSLATORS: A4 +#: locale/ipp-strings.c:1862 +msgid "media.iso_a4_210x297mm" +msgstr "" + +#. TRANSLATORS: A4x3 +#: locale/ipp-strings.c:1864 +msgid "media.iso_a4x3_297x630mm" +msgstr "" + +#. TRANSLATORS: A4x4 +#: locale/ipp-strings.c:1866 +msgid "media.iso_a4x4_297x841mm" +msgstr "" + +#. TRANSLATORS: A4x5 +#: locale/ipp-strings.c:1868 +msgid "media.iso_a4x5_297x1051mm" +msgstr "" + +#. TRANSLATORS: A4x6 +#: locale/ipp-strings.c:1870 +msgid "media.iso_a4x6_297x1261mm" +msgstr "" + +#. TRANSLATORS: A4x7 +#: locale/ipp-strings.c:1872 +msgid "media.iso_a4x7_297x1471mm" +msgstr "" + +#. TRANSLATORS: A4x8 +#: locale/ipp-strings.c:1874 +msgid "media.iso_a4x8_297x1682mm" +msgstr "" + +#. TRANSLATORS: A4x9 +#: locale/ipp-strings.c:1876 +msgid "media.iso_a4x9_297x1892mm" +msgstr "" + +#. TRANSLATORS: A5 (Extra) +#: locale/ipp-strings.c:1878 +msgid "media.iso_a5-extra_174x235mm" +msgstr "" + +#. TRANSLATORS: A5 +#: locale/ipp-strings.c:1880 +msgid "media.iso_a5_148x210mm" +msgstr "" + +#. TRANSLATORS: A6 +#: locale/ipp-strings.c:1882 +msgid "media.iso_a6_105x148mm" +msgstr "" + +#. TRANSLATORS: A7 +#: locale/ipp-strings.c:1884 +msgid "media.iso_a7_74x105mm" +msgstr "" + +#. TRANSLATORS: A8 +#: locale/ipp-strings.c:1886 +msgid "media.iso_a8_52x74mm" +msgstr "" + +#. TRANSLATORS: A9 +#: locale/ipp-strings.c:1888 +msgid "media.iso_a9_37x52mm" +msgstr "" + +#. TRANSLATORS: B0 +#: locale/ipp-strings.c:1890 +msgid "media.iso_b0_1000x1414mm" +msgstr "" + +#. TRANSLATORS: B10 +#: locale/ipp-strings.c:1892 +msgid "media.iso_b10_31x44mm" +msgstr "" + +#. TRANSLATORS: B1 +#: locale/ipp-strings.c:1894 +msgid "media.iso_b1_707x1000mm" +msgstr "" + +#. TRANSLATORS: B2 +#: locale/ipp-strings.c:1896 +msgid "media.iso_b2_500x707mm" +msgstr "" + +#. TRANSLATORS: B3 +#: locale/ipp-strings.c:1898 +msgid "media.iso_b3_353x500mm" +msgstr "" + +#. TRANSLATORS: B4 +#: locale/ipp-strings.c:1900 +msgid "media.iso_b4_250x353mm" +msgstr "" + +#. TRANSLATORS: B5 (Extra) +#: locale/ipp-strings.c:1902 +msgid "media.iso_b5-extra_201x276mm" +msgstr "" + +#. TRANSLATORS: Envelope B5 +#: locale/ipp-strings.c:1904 +msgid "media.iso_b5_176x250mm" +msgstr "" + +#. TRANSLATORS: B6 +#: locale/ipp-strings.c:1906 +msgid "media.iso_b6_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope B6/C4 +#: locale/ipp-strings.c:1908 +msgid "media.iso_b6c4_125x324mm" +msgstr "" + +#. TRANSLATORS: B7 +#: locale/ipp-strings.c:1910 +msgid "media.iso_b7_88x125mm" +msgstr "" + +#. TRANSLATORS: B8 +#: locale/ipp-strings.c:1912 +msgid "media.iso_b8_62x88mm" +msgstr "" + +#. TRANSLATORS: B9 +#: locale/ipp-strings.c:1914 +msgid "media.iso_b9_44x62mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 0 +#: locale/ipp-strings.c:1916 +msgid "media.iso_c0_917x1297mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 10 +#: locale/ipp-strings.c:1918 +msgid "media.iso_c10_28x40mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 1 +#: locale/ipp-strings.c:1920 +msgid "media.iso_c1_648x917mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 2 +#: locale/ipp-strings.c:1922 +msgid "media.iso_c2_458x648mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 3 +#: locale/ipp-strings.c:1924 +msgid "media.iso_c3_324x458mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 4 +#: locale/ipp-strings.c:1926 +msgid "media.iso_c4_229x324mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 5 +#: locale/ipp-strings.c:1928 +msgid "media.iso_c5_162x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6 +#: locale/ipp-strings.c:1930 +msgid "media.iso_c6_114x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6c5 +#: locale/ipp-strings.c:1932 +msgid "media.iso_c6c5_114x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7 +#: locale/ipp-strings.c:1934 +msgid "media.iso_c7_81x114mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7c6 +#: locale/ipp-strings.c:1936 +msgid "media.iso_c7c6_81x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 8 +#: locale/ipp-strings.c:1938 +msgid "media.iso_c8_57x81mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 9 +#: locale/ipp-strings.c:1940 +msgid "media.iso_c9_40x57mm" +msgstr "" + +#. TRANSLATORS: Envelope DL +#: locale/ipp-strings.c:1942 +msgid "media.iso_dl_110x220mm" +msgstr "" + +#. TRANSLATORS: Id-1 +#: locale/ipp-strings.c:1944 +msgid "media.iso_id-1_53.98x85.6mm" +msgstr "" + +#. TRANSLATORS: Id-3 +#: locale/ipp-strings.c:1946 +msgid "media.iso_id-3_88x125mm" +msgstr "" + +#. TRANSLATORS: ISO RA0 +#: locale/ipp-strings.c:1948 +msgid "media.iso_ra0_860x1220mm" +msgstr "" + +#. TRANSLATORS: ISO RA1 +#: locale/ipp-strings.c:1950 +msgid "media.iso_ra1_610x860mm" +msgstr "" + +#. TRANSLATORS: ISO RA2 +#: locale/ipp-strings.c:1952 +msgid "media.iso_ra2_430x610mm" +msgstr "" + +#. TRANSLATORS: ISO RA3 +#: locale/ipp-strings.c:1954 +msgid "media.iso_ra3_305x430mm" +msgstr "" + +#. TRANSLATORS: ISO RA4 +#: locale/ipp-strings.c:1956 +msgid "media.iso_ra4_215x305mm" +msgstr "" + +#. TRANSLATORS: ISO SRA0 +#: locale/ipp-strings.c:1958 +msgid "media.iso_sra0_900x1280mm" +msgstr "" + +#. TRANSLATORS: ISO SRA1 +#: locale/ipp-strings.c:1960 +msgid "media.iso_sra1_640x900mm" +msgstr "" + +#. TRANSLATORS: ISO SRA2 +#: locale/ipp-strings.c:1962 +msgid "media.iso_sra2_450x640mm" +msgstr "" + +#. TRANSLATORS: ISO SRA3 +#: locale/ipp-strings.c:1964 +msgid "media.iso_sra3_320x450mm" +msgstr "" + +#. TRANSLATORS: ISO SRA4 +#: locale/ipp-strings.c:1966 +msgid "media.iso_sra4_225x320mm" +msgstr "" + +#. TRANSLATORS: JIS B0 +#: locale/ipp-strings.c:1968 +msgid "media.jis_b0_1030x1456mm" +msgstr "" + +#. TRANSLATORS: JIS B10 +#: locale/ipp-strings.c:1970 +msgid "media.jis_b10_32x45mm" +msgstr "" + +#. TRANSLATORS: JIS B1 +#: locale/ipp-strings.c:1972 +msgid "media.jis_b1_728x1030mm" +msgstr "" + +#. TRANSLATORS: JIS B2 +#: locale/ipp-strings.c:1974 +msgid "media.jis_b2_515x728mm" +msgstr "" + +#. TRANSLATORS: JIS B3 +#: locale/ipp-strings.c:1976 +msgid "media.jis_b3_364x515mm" +msgstr "" + +#. TRANSLATORS: JIS B4 +#: locale/ipp-strings.c:1978 +msgid "media.jis_b4_257x364mm" +msgstr "" + +#. TRANSLATORS: JIS B5 +#: locale/ipp-strings.c:1980 +msgid "media.jis_b5_182x257mm" +msgstr "" + +#. TRANSLATORS: JIS B6 +#: locale/ipp-strings.c:1982 +msgid "media.jis_b6_128x182mm" +msgstr "" + +#. TRANSLATORS: JIS B7 +#: locale/ipp-strings.c:1984 +msgid "media.jis_b7_91x128mm" +msgstr "" + +#. TRANSLATORS: JIS B8 +#: locale/ipp-strings.c:1986 +msgid "media.jis_b8_64x91mm" +msgstr "" + +#. TRANSLATORS: JIS B9 +#: locale/ipp-strings.c:1988 +msgid "media.jis_b9_45x64mm" +msgstr "" + +#. TRANSLATORS: JIS Executive +#: locale/ipp-strings.c:1990 +msgid "media.jis_exec_216x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 2 +#: locale/ipp-strings.c:1992 +msgid "media.jpn_chou2_111.1x146mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 3 +#: locale/ipp-strings.c:1994 +msgid "media.jpn_chou3_120x235mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 40 +#: locale/ipp-strings.c:1996 +msgid "media.jpn_chou40_90x225mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 4 +#: locale/ipp-strings.c:1998 +msgid "media.jpn_chou4_90x205mm" +msgstr "" + +#. TRANSLATORS: Hagaki +#: locale/ipp-strings.c:2000 +msgid "media.jpn_hagaki_100x148mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu +#: locale/ipp-strings.c:2002 +msgid "media.jpn_kahu_240x322.1mm" +msgstr "" + +#. TRANSLATORS: 270 x 382mm +#: locale/ipp-strings.c:2004 +msgid "media.jpn_kaku1_270x382mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu 2 +#: locale/ipp-strings.c:2006 +msgid "media.jpn_kaku2_240x332mm" +msgstr "" + +#. TRANSLATORS: 216 x 277mm +#: locale/ipp-strings.c:2008 +msgid "media.jpn_kaku3_216x277mm" +msgstr "" + +#. TRANSLATORS: 197 x 267mm +#: locale/ipp-strings.c:2010 +msgid "media.jpn_kaku4_197x267mm" +msgstr "" + +#. TRANSLATORS: 190 x 240mm +#: locale/ipp-strings.c:2012 +msgid "media.jpn_kaku5_190x240mm" +msgstr "" + +#. TRANSLATORS: 142 x 205mm +#: locale/ipp-strings.c:2014 +msgid "media.jpn_kaku7_142x205mm" +msgstr "" + +#. TRANSLATORS: 119 x 197mm +#: locale/ipp-strings.c:2016 +msgid "media.jpn_kaku8_119x197mm" +msgstr "" + +#. TRANSLATORS: Oufuku Reply Postcard +#: locale/ipp-strings.c:2018 +msgid "media.jpn_oufuku_148x200mm" +msgstr "" + +#. TRANSLATORS: Envelope You 4 +#: locale/ipp-strings.c:2020 +msgid "media.jpn_you4_105x235mm" +msgstr "" + +#. TRANSLATORS: 10 x 11″ +#: locale/ipp-strings.c:2022 +msgid "media.na_10x11_10x11in" +msgstr "" + +#. TRANSLATORS: 10 x 13″ +#: locale/ipp-strings.c:2024 +msgid "media.na_10x13_10x13in" +msgstr "" + +#. TRANSLATORS: 10 x 14″ +#: locale/ipp-strings.c:2026 +msgid "media.na_10x14_10x14in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +#: locale/ipp-strings.c:2028 +msgid "media.na_10x15_10x15in" +msgstr "" + +#. TRANSLATORS: 11 x 12″ +#: locale/ipp-strings.c:2030 +msgid "media.na_11x12_11x12in" +msgstr "" + +#. TRANSLATORS: 11 x 15″ +#: locale/ipp-strings.c:2032 +msgid "media.na_11x15_11x15in" +msgstr "" + +#. TRANSLATORS: 12 x 19″ +#: locale/ipp-strings.c:2034 +msgid "media.na_12x19_12x19in" +msgstr "" + +#. TRANSLATORS: 5 x 7″ +#: locale/ipp-strings.c:2036 +msgid "media.na_5x7_5x7in" +msgstr "" + +#. TRANSLATORS: 6 x 9″ +#: locale/ipp-strings.c:2038 +msgid "media.na_6x9_6x9in" +msgstr "" + +#. TRANSLATORS: 7 x 9″ +#: locale/ipp-strings.c:2040 +msgid "media.na_7x9_7x9in" +msgstr "" + +#. TRANSLATORS: 9 x 11″ +#: locale/ipp-strings.c:2042 +msgid "media.na_9x11_9x11in" +msgstr "" + +#. TRANSLATORS: Envelope A2 +#: locale/ipp-strings.c:2044 +msgid "media.na_a2_4.375x5.75in" +msgstr "" + +#. TRANSLATORS: 9 x 12″ +#: locale/ipp-strings.c:2046 +msgid "media.na_arch-a_9x12in" +msgstr "" + +#. TRANSLATORS: 12 x 18″ +#: locale/ipp-strings.c:2048 +msgid "media.na_arch-b_12x18in" +msgstr "" + +#. TRANSLATORS: 18 x 24″ +#: locale/ipp-strings.c:2050 +msgid "media.na_arch-c_18x24in" +msgstr "" + +#. TRANSLATORS: 24 x 36″ +#: locale/ipp-strings.c:2052 +msgid "media.na_arch-d_24x36in" +msgstr "" + +#. TRANSLATORS: 26 x 38″ +#: locale/ipp-strings.c:2054 +msgid "media.na_arch-e2_26x38in" +msgstr "" + +#. TRANSLATORS: 27 x 39″ +#: locale/ipp-strings.c:2056 +msgid "media.na_arch-e3_27x39in" +msgstr "" + +#. TRANSLATORS: 36 x 48″ +#: locale/ipp-strings.c:2058 +msgid "media.na_arch-e_36x48in" +msgstr "" + +#. TRANSLATORS: 12 x 19.17″ +#: locale/ipp-strings.c:2060 +msgid "media.na_b-plus_12x19.17in" +msgstr "" + +#. TRANSLATORS: Envelope C5 +#: locale/ipp-strings.c:2062 +msgid "media.na_c5_6.5x9.5in" +msgstr "" + +#. TRANSLATORS: 17 x 22″ +#: locale/ipp-strings.c:2064 +msgid "media.na_c_17x22in" +msgstr "" + +#. TRANSLATORS: 22 x 34″ +#: locale/ipp-strings.c:2066 +msgid "media.na_d_22x34in" +msgstr "" + +#. TRANSLATORS: 34 x 44″ +#: locale/ipp-strings.c:2068 +msgid "media.na_e_34x44in" +msgstr "" + +#. TRANSLATORS: 11 x 14″ +#: locale/ipp-strings.c:2070 +msgid "media.na_edp_11x14in" +msgstr "" + +#. TRANSLATORS: 12 x 14″ +#: locale/ipp-strings.c:2072 +msgid "media.na_eur-edp_12x14in" +msgstr "" + +#. TRANSLATORS: Executive +#: locale/ipp-strings.c:2074 +msgid "media.na_executive_7.25x10.5in" +msgstr "" + +#. TRANSLATORS: 44 x 68″ +#: locale/ipp-strings.c:2076 +msgid "media.na_f_44x68in" +msgstr "" + +#. TRANSLATORS: European Fanfold +#: locale/ipp-strings.c:2078 +msgid "media.na_fanfold-eur_8.5x12in" +msgstr "" + +#. TRANSLATORS: US Fanfold +#: locale/ipp-strings.c:2080 +msgid "media.na_fanfold-us_11x14.875in" +msgstr "" + +#. TRANSLATORS: Foolscap +#: locale/ipp-strings.c:2082 +msgid "media.na_foolscap_8.5x13in" +msgstr "" + +#. TRANSLATORS: 8 x 13″ +#: locale/ipp-strings.c:2084 +msgid "media.na_govt-legal_8x13in" +msgstr "" + +#. TRANSLATORS: 8 x 10″ +#: locale/ipp-strings.c:2086 +msgid "media.na_govt-letter_8x10in" +msgstr "" + +#. TRANSLATORS: 3 x 5″ +#: locale/ipp-strings.c:2088 +msgid "media.na_index-3x5_3x5in" +msgstr "" + +#. TRANSLATORS: 6 x 8″ +#: locale/ipp-strings.c:2090 +msgid "media.na_index-4x6-ext_6x8in" +msgstr "" + +#. TRANSLATORS: 4 x 6″ +#: locale/ipp-strings.c:2092 +msgid "media.na_index-4x6_4x6in" +msgstr "" + +#. TRANSLATORS: 5 x 8″ +#: locale/ipp-strings.c:2094 +msgid "media.na_index-5x8_5x8in" +msgstr "" + +#. TRANSLATORS: Statement +#: locale/ipp-strings.c:2096 +msgid "media.na_invoice_5.5x8.5in" +msgstr "" + +#. TRANSLATORS: 11 x 17″ +#: locale/ipp-strings.c:2098 +msgid "media.na_ledger_11x17in" +msgstr "" + +#. TRANSLATORS: US Legal (Extra) +#: locale/ipp-strings.c:2100 +msgid "media.na_legal-extra_9.5x15in" +msgstr "" + +#. TRANSLATORS: US Legal +#: locale/ipp-strings.c:2102 +msgid "media.na_legal_8.5x14in" +msgstr "" + +#. TRANSLATORS: US Letter (Extra) +#: locale/ipp-strings.c:2104 +msgid "media.na_letter-extra_9.5x12in" +msgstr "" + +#. TRANSLATORS: US Letter (Plus) +#: locale/ipp-strings.c:2106 +msgid "media.na_letter-plus_8.5x12.69in" +msgstr "" + +#. TRANSLATORS: US Letter +#: locale/ipp-strings.c:2108 +msgid "media.na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: Envelope Monarch +#: locale/ipp-strings.c:2110 +msgid "media.na_monarch_3.875x7.5in" +msgstr "" + +#. TRANSLATORS: Envelope #10 +#: locale/ipp-strings.c:2112 +msgid "media.na_number-10_4.125x9.5in" +msgstr "" + +#. TRANSLATORS: Envelope #11 +#: locale/ipp-strings.c:2114 +msgid "media.na_number-11_4.5x10.375in" +msgstr "" + +#. TRANSLATORS: Envelope #12 +#: locale/ipp-strings.c:2116 +msgid "media.na_number-12_4.75x11in" +msgstr "" + +#. TRANSLATORS: Envelope #14 +#: locale/ipp-strings.c:2118 +msgid "media.na_number-14_5x11.5in" +msgstr "" + +#. TRANSLATORS: Envelope #9 +#: locale/ipp-strings.c:2120 +msgid "media.na_number-9_3.875x8.875in" +msgstr "" + +#. TRANSLATORS: 8.5 x 13.4″ +#: locale/ipp-strings.c:2122 +msgid "media.na_oficio_8.5x13.4in" +msgstr "" + +#. TRANSLATORS: Envelope Personal +#: locale/ipp-strings.c:2124 +msgid "media.na_personal_3.625x6.5in" +msgstr "" + +#. TRANSLATORS: Quarto +#: locale/ipp-strings.c:2126 +msgid "media.na_quarto_8.5x10.83in" +msgstr "" + +#. TRANSLATORS: 8.94 x 14″ +#: locale/ipp-strings.c:2128 +msgid "media.na_super-a_8.94x14in" +msgstr "" + +#. TRANSLATORS: 13 x 19″ +#: locale/ipp-strings.c:2130 +msgid "media.na_super-b_13x19in" +msgstr "" + +#. TRANSLATORS: 30 x 42″ +#: locale/ipp-strings.c:2132 +msgid "media.na_wide-format_30x42in" +msgstr "" + +#. TRANSLATORS: 12 x 16″ +#: locale/ipp-strings.c:2134 +msgid "media.oe_12x16_12x16in" +msgstr "" + +#. TRANSLATORS: 14 x 17″ +#: locale/ipp-strings.c:2136 +msgid "media.oe_14x17_14x17in" +msgstr "" + +#. TRANSLATORS: 18 x 22″ +#: locale/ipp-strings.c:2138 +msgid "media.oe_18x22_18x22in" +msgstr "" + +#. TRANSLATORS: 17 x 24″ +#: locale/ipp-strings.c:2140 +msgid "media.oe_a2plus_17x24in" +msgstr "" + +#. TRANSLATORS: 2 x 3.5″ +#: locale/ipp-strings.c:2142 +msgid "media.oe_business-card_2x3.5in" +msgstr "" + +#. TRANSLATORS: 10 x 12″ +#: locale/ipp-strings.c:2144 +msgid "media.oe_photo-10r_10x12in" +msgstr "" + +#. TRANSLATORS: 20 x 24″ +#: locale/ipp-strings.c:2146 +msgid "media.oe_photo-20r_20x24in" +msgstr "" + +#. TRANSLATORS: 3.5 x 5″ +#: locale/ipp-strings.c:2148 +msgid "media.oe_photo-l_3.5x5in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +#: locale/ipp-strings.c:2150 +msgid "media.oe_photo-s10r_10x15in" +msgstr "" + +#. TRANSLATORS: 4 x 4″ +#: locale/ipp-strings.c:2152 +msgid "media.oe_square-photo_4x4in" +msgstr "" + +#. TRANSLATORS: 5 x 5″ +#: locale/ipp-strings.c:2154 +msgid "media.oe_square-photo_5x5in" +msgstr "" + +#. TRANSLATORS: 184 x 260mm +#: locale/ipp-strings.c:2156 +msgid "media.om_16k_184x260mm" +msgstr "" + +#. TRANSLATORS: 195 x 270mm +#: locale/ipp-strings.c:2158 +msgid "media.om_16k_195x270mm" +msgstr "" + +#. TRANSLATORS: 55 x 85mm +#: locale/ipp-strings.c:2160 +msgid "media.om_business-card_55x85mm" +msgstr "" + +#. TRANSLATORS: 55 x 91mm +#: locale/ipp-strings.c:2162 +msgid "media.om_business-card_55x91mm" +msgstr "" + +#. TRANSLATORS: 54 x 86mm +#: locale/ipp-strings.c:2164 +msgid "media.om_card_54x86mm" +msgstr "" + +#. TRANSLATORS: 275 x 395mm +#: locale/ipp-strings.c:2166 +msgid "media.om_dai-pa-kai_275x395mm" +msgstr "" + +#. TRANSLATORS: 89 x 119mm +#: locale/ipp-strings.c:2168 +msgid "media.om_dsc-photo_89x119mm" +msgstr "" + +#. TRANSLATORS: Folio +#: locale/ipp-strings.c:2170 +msgid "media.om_folio-sp_215x315mm" +msgstr "" + +#. TRANSLATORS: Folio (Special) +#: locale/ipp-strings.c:2172 +msgid "media.om_folio_210x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Invitation +#: locale/ipp-strings.c:2174 +msgid "media.om_invite_220x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Italian +#: locale/ipp-strings.c:2176 +msgid "media.om_italian_110x230mm" +msgstr "" + +#. TRANSLATORS: 198 x 275mm +#: locale/ipp-strings.c:2178 +msgid "media.om_juuro-ku-kai_198x275mm" +msgstr "" + +#. TRANSLATORS: 200 x 300 +#: locale/ipp-strings.c:2180 +msgid "media.om_large-photo_200x300" +msgstr "" + +#. TRANSLATORS: 130 x 180mm +#: locale/ipp-strings.c:2182 +msgid "media.om_medium-photo_130x180mm" +msgstr "" + +#. TRANSLATORS: 267 x 389mm +#: locale/ipp-strings.c:2184 +msgid "media.om_pa-kai_267x389mm" +msgstr "" + +#. TRANSLATORS: Envelope Postfix +#: locale/ipp-strings.c:2186 +msgid "media.om_postfix_114x229mm" +msgstr "" + +#. TRANSLATORS: 100 x 150mm +#: locale/ipp-strings.c:2188 +msgid "media.om_small-photo_100x150mm" +msgstr "" + +#. TRANSLATORS: 89 x 89mm +#: locale/ipp-strings.c:2190 +msgid "media.om_square-photo_89x89mm" +msgstr "" + +#. TRANSLATORS: 100 x 200mm +#: locale/ipp-strings.c:2192 +msgid "media.om_wide-photo_100x200mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #10 +#: locale/ipp-strings.c:2194 +msgid "media.prc_10_324x458mm" +msgstr "" + +#. TRANSLATORS: Chinese 16k +#: locale/ipp-strings.c:2196 +msgid "media.prc_16k_146x215mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #1 +#: locale/ipp-strings.c:2198 +msgid "media.prc_1_102x165mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #2 +#: locale/ipp-strings.c:2200 +msgid "media.prc_2_102x176mm" +msgstr "" + +#. TRANSLATORS: Chinese 32k +#: locale/ipp-strings.c:2202 +msgid "media.prc_32k_97x151mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #3 +#: locale/ipp-strings.c:2204 +msgid "media.prc_3_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #4 +#: locale/ipp-strings.c:2206 +msgid "media.prc_4_110x208mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #5 +#: locale/ipp-strings.c:2208 +msgid "media.prc_5_110x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #6 +#: locale/ipp-strings.c:2210 +msgid "media.prc_6_120x320mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #7 +#: locale/ipp-strings.c:2212 +msgid "media.prc_7_160x230mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #8 +#: locale/ipp-strings.c:2214 +msgid "media.prc_8_120x309mm" +msgstr "" + +#. TRANSLATORS: ROC 16k +#: locale/ipp-strings.c:2216 +msgid "media.roc_16k_7.75x10.75in" +msgstr "" + +#. TRANSLATORS: ROC 8k +#: locale/ipp-strings.c:2218 +msgid "media.roc_8k_10.75x15.5in" +msgstr "" + +#: systemv/lpstat.c:1035 +#, c-format +msgid "members of class %s:" +msgstr "" + +#. TRANSLATORS: Multiple Document Handling +#: locale/ipp-strings.c:2220 +msgid "multiple-document-handling" +msgstr "" + +#. TRANSLATORS: Separate Documents Collated Copies +#: locale/ipp-strings.c:2222 +msgid "multiple-document-handling.separate-documents-collated-copies" +msgstr "" + +#. TRANSLATORS: Separate Documents Uncollated Copies +#: locale/ipp-strings.c:2224 +msgid "multiple-document-handling.separate-documents-uncollated-copies" +msgstr "" + +#. TRANSLATORS: Single Document +#: locale/ipp-strings.c:2226 +msgid "multiple-document-handling.single-document" +msgstr "" + +#. TRANSLATORS: Single Document New Sheet +#: locale/ipp-strings.c:2228 +msgid "multiple-document-handling.single-document-new-sheet" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling +#: locale/ipp-strings.c:2230 +msgid "multiple-object-handling" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling Actual +#: locale/ipp-strings.c:2232 +msgid "multiple-object-handling-actual" +msgstr "" + +#. TRANSLATORS: Automatic +#: locale/ipp-strings.c:2234 +msgid "multiple-object-handling.auto" +msgstr "" + +#. TRANSLATORS: Best Fit +#: locale/ipp-strings.c:2236 +msgid "multiple-object-handling.best-fit" +msgstr "" + +#. TRANSLATORS: Best Quality +#: locale/ipp-strings.c:2238 +msgid "multiple-object-handling.best-quality" +msgstr "" + +#. TRANSLATORS: Best Speed +#: locale/ipp-strings.c:2240 +msgid "multiple-object-handling.best-speed" +msgstr "" + +#. TRANSLATORS: One At A Time +#: locale/ipp-strings.c:2242 +msgid "multiple-object-handling.one-at-a-time" +msgstr "" + +#. TRANSLATORS: On Timeout +#: locale/ipp-strings.c:2244 +msgid "multiple-operation-time-out-action" +msgstr "" + +#. TRANSLATORS: Abort Job +#: locale/ipp-strings.c:2246 +msgid "multiple-operation-time-out-action.abort-job" +msgstr "" + +#. TRANSLATORS: Hold Job +#: locale/ipp-strings.c:2248 +msgid "multiple-operation-time-out-action.hold-job" +msgstr "" + +#. TRANSLATORS: Process Job +#: locale/ipp-strings.c:2250 +msgid "multiple-operation-time-out-action.process-job" +msgstr "" + +#: berkeley/lpq.c:554 +msgid "no entries" +msgstr "" + +#: systemv/lpstat.c:1103 +msgid "no system default destination" +msgstr "" + +#. TRANSLATORS: Noise Removal +#: locale/ipp-strings.c:2252 +msgid "noise-removal" +msgstr "" + +#. TRANSLATORS: Notify Attributes +#: locale/ipp-strings.c:2254 +msgid "notify-attributes" +msgstr "" + +#. TRANSLATORS: Notify Charset +#: locale/ipp-strings.c:2256 +msgid "notify-charset" +msgstr "" + +#. TRANSLATORS: Notify Events +#: locale/ipp-strings.c:2258 +msgid "notify-events" +msgstr "" + +#: scheduler/ipp.c:5872 +msgid "notify-events not specified." +msgstr "" + +#. TRANSLATORS: Document Completed +#: locale/ipp-strings.c:2260 +msgid "notify-events.document-completed" +msgstr "" + +#. TRANSLATORS: Document Config Changed +#: locale/ipp-strings.c:2262 +msgid "notify-events.document-config-changed" +msgstr "" + +#. TRANSLATORS: Document Created +#: locale/ipp-strings.c:2264 +msgid "notify-events.document-created" +msgstr "" + +#. TRANSLATORS: Document Fetchable +#: locale/ipp-strings.c:2266 +msgid "notify-events.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document State Changed +#: locale/ipp-strings.c:2268 +msgid "notify-events.document-state-changed" +msgstr "" + +#. TRANSLATORS: Document Stopped +#: locale/ipp-strings.c:2270 +msgid "notify-events.document-stopped" +msgstr "" + +#. TRANSLATORS: Job Completed +#: locale/ipp-strings.c:2272 +msgid "notify-events.job-completed" +msgstr "" + +#. TRANSLATORS: Job Config Changed +#: locale/ipp-strings.c:2274 +msgid "notify-events.job-config-changed" +msgstr "" + +#. TRANSLATORS: Job Created +#: locale/ipp-strings.c:2276 +msgid "notify-events.job-created" +msgstr "" + +#. TRANSLATORS: Job Fetchable +#: locale/ipp-strings.c:2278 +msgid "notify-events.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Progress +#: locale/ipp-strings.c:2280 +msgid "notify-events.job-progress" +msgstr "" + +#. TRANSLATORS: Job State Changed +#: locale/ipp-strings.c:2282 +msgid "notify-events.job-state-changed" +msgstr "" + +#. TRANSLATORS: Job Stopped +#: locale/ipp-strings.c:2284 +msgid "notify-events.job-stopped" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:2286 +msgid "notify-events.none" +msgstr "" + +#. TRANSLATORS: Printer Config Changed +#: locale/ipp-strings.c:2288 +msgid "notify-events.printer-config-changed" +msgstr "" + +#. TRANSLATORS: Printer Finishings Changed +#: locale/ipp-strings.c:2290 +msgid "notify-events.printer-finishings-changed" +msgstr "" + +#. TRANSLATORS: Printer Media Changed +#: locale/ipp-strings.c:2292 +msgid "notify-events.printer-media-changed" +msgstr "" + +#. TRANSLATORS: Printer Queue Order Changed +#: locale/ipp-strings.c:2294 +msgid "notify-events.printer-queue-order-changed" +msgstr "" + +#. TRANSLATORS: Printer Restarted +#: locale/ipp-strings.c:2296 +msgid "notify-events.printer-restarted" +msgstr "" + +#. TRANSLATORS: Printer Shutdown +#: locale/ipp-strings.c:2298 +msgid "notify-events.printer-shutdown" +msgstr "" + +#. TRANSLATORS: Printer State Changed +#: locale/ipp-strings.c:2300 +msgid "notify-events.printer-state-changed" +msgstr "" + +#. TRANSLATORS: Printer Stopped +#: locale/ipp-strings.c:2302 +msgid "notify-events.printer-stopped" +msgstr "" + +#. TRANSLATORS: Notify Get Interval +#: locale/ipp-strings.c:2304 +msgid "notify-get-interval" +msgstr "" + +#. TRANSLATORS: Notify Lease Duration +#: locale/ipp-strings.c:2306 +msgid "notify-lease-duration" +msgstr "" + +#. TRANSLATORS: Notify Natural Language +#: locale/ipp-strings.c:2308 +msgid "notify-natural-language" +msgstr "" + +#. TRANSLATORS: Notify Pull Method +#: locale/ipp-strings.c:2310 +msgid "notify-pull-method" +msgstr "" + +#. TRANSLATORS: Notify Recipient +#: locale/ipp-strings.c:2312 +msgid "notify-recipient-uri" +msgstr "" + +#: scheduler/ipp.c:2034 scheduler/ipp.c:5758 +#, c-format +msgid "notify-recipient-uri URI \"%s\" is already used." +msgstr "" + +#: scheduler/ipp.c:2024 scheduler/ipp.c:5748 +#, c-format +msgid "notify-recipient-uri URI \"%s\" uses unknown scheme." +msgstr "" + +#. TRANSLATORS: Notify Sequence Numbers +#: locale/ipp-strings.c:2314 +msgid "notify-sequence-numbers" +msgstr "" + +#. TRANSLATORS: Notify Subscription Ids +#: locale/ipp-strings.c:2316 +msgid "notify-subscription-ids" +msgstr "" + +#. TRANSLATORS: Notify Time Interval +#: locale/ipp-strings.c:2318 +msgid "notify-time-interval" +msgstr "" + +#. TRANSLATORS: Notify User Data +#: locale/ipp-strings.c:2320 +msgid "notify-user-data" +msgstr "" + +#. TRANSLATORS: Notify Wait +#: locale/ipp-strings.c:2322 +msgid "notify-wait" +msgstr "" + +#. TRANSLATORS: Number Of Retries +#: locale/ipp-strings.c:2324 +msgid "number-of-retries" +msgstr "" + +#. TRANSLATORS: Number-Up +#: locale/ipp-strings.c:2326 +msgid "number-up" +msgstr "" + +#. TRANSLATORS: Object Offset +#: locale/ipp-strings.c:2328 +msgid "object-offset" +msgstr "" + +#. TRANSLATORS: Object Size +#: locale/ipp-strings.c:2330 +msgid "object-size" +msgstr "" + +#. TRANSLATORS: Organization Name +#: locale/ipp-strings.c:2332 +msgid "organization-name" +msgstr "" + +#. TRANSLATORS: Orientation +#: locale/ipp-strings.c:2334 +msgid "orientation-requested" +msgstr "" + +#. TRANSLATORS: Portrait +#: locale/ipp-strings.c:2336 +msgid "orientation-requested.3" +msgstr "" + +#. TRANSLATORS: Landscape +#: locale/ipp-strings.c:2338 +msgid "orientation-requested.4" +msgstr "" + +#. TRANSLATORS: Reverse Landscape +#: locale/ipp-strings.c:2340 +msgid "orientation-requested.5" +msgstr "" + +#. TRANSLATORS: Reverse Portrait +#: locale/ipp-strings.c:2342 +msgid "orientation-requested.6" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:2344 +msgid "orientation-requested.7" +msgstr "" + +#. TRANSLATORS: Scanned Image Options +#: locale/ipp-strings.c:2346 +msgid "output-attributes" +msgstr "" + +#. TRANSLATORS: Output Tray +#: locale/ipp-strings.c:2348 +msgid "output-bin" +msgstr "" + +#. TRANSLATORS: Automatic +#: locale/ipp-strings.c:2350 +msgid "output-bin.auto" +msgstr "" + +#. TRANSLATORS: Bottom +#: locale/ipp-strings.c:2352 +msgid "output-bin.bottom" +msgstr "" + +#. TRANSLATORS: Center +#: locale/ipp-strings.c:2354 +msgid "output-bin.center" +msgstr "" + +#. TRANSLATORS: Face Down +#: locale/ipp-strings.c:2356 +msgid "output-bin.face-down" +msgstr "" + +#. TRANSLATORS: Face Up +#: locale/ipp-strings.c:2358 +msgid "output-bin.face-up" +msgstr "" + +#. TRANSLATORS: Large Capacity +#: locale/ipp-strings.c:2360 +msgid "output-bin.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +#: locale/ipp-strings.c:2362 +msgid "output-bin.left" +msgstr "" + +#. TRANSLATORS: Mailbox 1 +#: locale/ipp-strings.c:2364 +msgid "output-bin.mailbox-1" +msgstr "" + +#. TRANSLATORS: Mailbox 10 +#: locale/ipp-strings.c:2366 +msgid "output-bin.mailbox-10" +msgstr "" + +#. TRANSLATORS: Mailbox 2 +#: locale/ipp-strings.c:2368 +msgid "output-bin.mailbox-2" +msgstr "" + +#. TRANSLATORS: Mailbox 3 +#: locale/ipp-strings.c:2370 +msgid "output-bin.mailbox-3" +msgstr "" + +#. TRANSLATORS: Mailbox 4 +#: locale/ipp-strings.c:2372 +msgid "output-bin.mailbox-4" +msgstr "" + +#. TRANSLATORS: Mailbox 5 +#: locale/ipp-strings.c:2374 +msgid "output-bin.mailbox-5" +msgstr "" + +#. TRANSLATORS: Mailbox 6 +#: locale/ipp-strings.c:2376 +msgid "output-bin.mailbox-6" +msgstr "" + +#. TRANSLATORS: Mailbox 7 +#: locale/ipp-strings.c:2378 +msgid "output-bin.mailbox-7" +msgstr "" + +#. TRANSLATORS: Mailbox 8 +#: locale/ipp-strings.c:2380 +msgid "output-bin.mailbox-8" +msgstr "" + +#. TRANSLATORS: Mailbox 9 +#: locale/ipp-strings.c:2382 +msgid "output-bin.mailbox-9" +msgstr "" + +#. TRANSLATORS: Middle +#: locale/ipp-strings.c:2384 +msgid "output-bin.middle" +msgstr "" + +#. TRANSLATORS: My Mailbox +#: locale/ipp-strings.c:2386 +msgid "output-bin.my-mailbox" +msgstr "" + +#. TRANSLATORS: Rear +#: locale/ipp-strings.c:2388 +msgid "output-bin.rear" +msgstr "" + +#. TRANSLATORS: Right +#: locale/ipp-strings.c:2390 +msgid "output-bin.right" +msgstr "" + +#. TRANSLATORS: Side +#: locale/ipp-strings.c:2392 +msgid "output-bin.side" +msgstr "" + +#. TRANSLATORS: Stacker 1 +#: locale/ipp-strings.c:2394 +msgid "output-bin.stacker-1" +msgstr "" + +#. TRANSLATORS: Stacker 10 +#: locale/ipp-strings.c:2396 +msgid "output-bin.stacker-10" +msgstr "" + +#. TRANSLATORS: Stacker 2 +#: locale/ipp-strings.c:2398 +msgid "output-bin.stacker-2" +msgstr "" + +#. TRANSLATORS: Stacker 3 +#: locale/ipp-strings.c:2400 +msgid "output-bin.stacker-3" +msgstr "" + +#. TRANSLATORS: Stacker 4 +#: locale/ipp-strings.c:2402 +msgid "output-bin.stacker-4" +msgstr "" + +#. TRANSLATORS: Stacker 5 +#: locale/ipp-strings.c:2404 +msgid "output-bin.stacker-5" +msgstr "" + +#. TRANSLATORS: Stacker 6 +#: locale/ipp-strings.c:2406 +msgid "output-bin.stacker-6" +msgstr "" + +#. TRANSLATORS: Stacker 7 +#: locale/ipp-strings.c:2408 +msgid "output-bin.stacker-7" +msgstr "" + +#. TRANSLATORS: Stacker 8 +#: locale/ipp-strings.c:2410 +msgid "output-bin.stacker-8" +msgstr "" + +#. TRANSLATORS: Stacker 9 +#: locale/ipp-strings.c:2412 +msgid "output-bin.stacker-9" +msgstr "" + +#. TRANSLATORS: Top +#: locale/ipp-strings.c:2414 +msgid "output-bin.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +#: locale/ipp-strings.c:2416 +msgid "output-bin.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +#: locale/ipp-strings.c:2418 +msgid "output-bin.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 2 +#: locale/ipp-strings.c:2420 +msgid "output-bin.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 3 +#: locale/ipp-strings.c:2422 +msgid "output-bin.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +#: locale/ipp-strings.c:2424 +msgid "output-bin.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +#: locale/ipp-strings.c:2426 +msgid "output-bin.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +#: locale/ipp-strings.c:2428 +msgid "output-bin.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +#: locale/ipp-strings.c:2430 +msgid "output-bin.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +#: locale/ipp-strings.c:2432 +msgid "output-bin.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +#: locale/ipp-strings.c:2434 +msgid "output-bin.tray-9" +msgstr "" + +#. TRANSLATORS: Scanned Image Quality +#: locale/ipp-strings.c:2436 +msgid "output-compression-quality-factor" +msgstr "" + +#. TRANSLATORS: Page Delivery +#: locale/ipp-strings.c:2438 +msgid "page-delivery" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-down +#: locale/ipp-strings.c:2440 +msgid "page-delivery.reverse-order-face-down" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-up +#: locale/ipp-strings.c:2442 +msgid "page-delivery.reverse-order-face-up" +msgstr "" + +#. TRANSLATORS: Same Order Face-down +#: locale/ipp-strings.c:2444 +msgid "page-delivery.same-order-face-down" +msgstr "" + +#. TRANSLATORS: Same Order Face-up +#: locale/ipp-strings.c:2446 +msgid "page-delivery.same-order-face-up" +msgstr "" + +#. TRANSLATORS: System Specified +#: locale/ipp-strings.c:2448 +msgid "page-delivery.system-specified" +msgstr "" + +#. TRANSLATORS: Page Order Received +#: locale/ipp-strings.c:2450 +msgid "page-order-received" +msgstr "" + +#. TRANSLATORS: 1 To N +#: locale/ipp-strings.c:2452 +msgid "page-order-received.1-to-n-order" +msgstr "" + +#. TRANSLATORS: N To 1 +#: locale/ipp-strings.c:2454 +msgid "page-order-received.n-to-1-order" +msgstr "" + +#. TRANSLATORS: Page Ranges +#: locale/ipp-strings.c:2456 +msgid "page-ranges" +msgstr "" + +#. TRANSLATORS: Pages +#: locale/ipp-strings.c:2458 +msgid "pages" +msgstr "" + +#. TRANSLATORS: Pages Per Subset +#: locale/ipp-strings.c:2460 +msgid "pages-per-subset" +msgstr "" + +#. TRANSLATORS: Pclm Raster Back Side +#: locale/ipp-strings.c:2462 +msgid "pclm-raster-back-side" +msgstr "" + +#. TRANSLATORS: Flipped +#: locale/ipp-strings.c:2464 +msgid "pclm-raster-back-side.flipped" +msgstr "" + +#. TRANSLATORS: Normal +#: locale/ipp-strings.c:2466 +msgid "pclm-raster-back-side.normal" +msgstr "" + +#. TRANSLATORS: Rotated +#: locale/ipp-strings.c:2468 +msgid "pclm-raster-back-side.rotated" +msgstr "" + +#. TRANSLATORS: Pclm Source Resolution +#: locale/ipp-strings.c:2470 +msgid "pclm-source-resolution" +msgstr "" + +#: cups/notify.c:74 +msgid "pending" +msgstr "" + +#. TRANSLATORS: Platform Shape +#: locale/ipp-strings.c:2472 +msgid "platform-shape" +msgstr "" + +#. TRANSLATORS: Round +#: locale/ipp-strings.c:2474 +msgid "platform-shape.ellipse" +msgstr "" + +#. TRANSLATORS: Rectangle +#: locale/ipp-strings.c:2476 +msgid "platform-shape.rectangle" +msgstr "" + +#. TRANSLATORS: Platform Temperature +#: locale/ipp-strings.c:2478 +msgid "platform-temperature" +msgstr "" + +#. TRANSLATORS: Post-dial String +#: locale/ipp-strings.c:2480 +msgid "post-dial-string" +msgstr "" + +#: ppdc/ppdc.cxx:102 ppdc/ppdpo.cxx:81 +#, c-format +msgid "ppdc: Adding include directory \"%s\"." +msgstr "" + +#: ppdc/ppdpo.cxx:124 +#, c-format +msgid "ppdc: Adding/updating UI text from %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:362 +#, c-format +msgid "ppdc: Bad boolean value (%s) on line %d of %s." +msgstr "" + +#: ppdc/ppdc-import.cxx:253 +#, c-format +msgid "ppdc: Bad font attribute: %s" +msgstr "" + +#: ppdc/ppdc-source.cxx:1748 +#, c-format +msgid "ppdc: Bad resolution name \"%s\" on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1065 +#, c-format +msgid "ppdc: Bad status keyword %s on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1985 +#, c-format +msgid "ppdc: Bad variable substitution ($%c) on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:2671 +#, c-format +msgid "ppdc: Choice found on line %d of %s with no Option." +msgstr "" + +#: ppdc/ppdc-source.cxx:1650 +#, c-format +msgid "ppdc: Duplicate #po for locale %s on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:884 +#, c-format +msgid "ppdc: Expected a filter definition on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:907 +#, c-format +msgid "ppdc: Expected a program name on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:346 +#, c-format +msgid "ppdc: Expected boolean value on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1045 +#, c-format +msgid "ppdc: Expected charset after Font on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:399 +#, c-format +msgid "ppdc: Expected choice code on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:387 +#, c-format +msgid "ppdc: Expected choice name/text on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:455 +#, c-format +msgid "ppdc: Expected color order for ColorModel on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:444 +#, c-format +msgid "ppdc: Expected colorspace for ColorModel on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:466 +#, c-format +msgid "ppdc: Expected compression for ColorModel on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:647 +#, c-format +msgid "ppdc: Expected constraints string for UIConstraints on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:2857 +#, c-format +msgid "ppdc: Expected driver type keyword following DriverType on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:778 +#, c-format +msgid "ppdc: Expected duplex type after Duplex on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1029 +#, c-format +msgid "ppdc: Expected encoding after Font on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1641 +#, c-format +msgid "ppdc: Expected filename after #po %s on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1157 +#, c-format +msgid "ppdc: Expected group name/text on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:2570 +#, c-format +msgid "ppdc: Expected include filename on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1454 +#, c-format +msgid "ppdc: Expected integer on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1633 +#, c-format +msgid "ppdc: Expected locale after #po on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:305 +#, c-format +msgid "ppdc: Expected name after %s on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:3229 +#, c-format +msgid "ppdc: Expected name after FileName on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1010 +#, c-format +msgid "ppdc: Expected name after Font on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:3060 +#, c-format +msgid "ppdc: Expected name after Manufacturer on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:3093 +#, c-format +msgid "ppdc: Expected name after MediaSize on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:3183 +#, c-format +msgid "ppdc: Expected name after ModelName on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:3246 +#, c-format +msgid "ppdc: Expected name after PCFileName on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1108 +#, c-format +msgid "ppdc: Expected name/text after %s on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1197 +#, c-format +msgid "ppdc: Expected name/text after Installable on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1734 +#, c-format +msgid "ppdc: Expected name/text after Resolution on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:431 +#, c-format +msgid "ppdc: Expected name/text combination for ColorModel on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1526 +#, c-format +msgid "ppdc: Expected option name/text on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1560 +#, c-format +msgid "ppdc: Expected option section on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1538 +#, c-format +msgid "ppdc: Expected option type on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1717 +#, c-format +msgid "ppdc: Expected override field after Resolution on line %d of %s." +msgstr "" + +#: ppdc/ppdc-catalog.cxx:385 ppdc/ppdc-catalog.cxx:397 +#, c-format +msgid "ppdc: Expected quoted string on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:956 +#, c-format +msgid "ppdc: Expected real number on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:524 +#, c-format +msgid "ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1815 +#, c-format +msgid "ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:313 +#, c-format +msgid "ppdc: Expected selector after %s on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1053 +#, c-format +msgid "ppdc: Expected status after Font on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:2746 +#, c-format +msgid "ppdc: Expected string after Copyright on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:3349 +#, c-format +msgid "ppdc: Expected string after Version on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:680 +#, c-format +msgid "ppdc: Expected two option names on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:324 +#, c-format +msgid "ppdc: Expected value after %s on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1037 +#, c-format +msgid "ppdc: Expected version after Font on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:179 +#, c-format +msgid "ppdc: Invalid #include/#po filename \"%s\"." +msgstr "" + +#: ppdc/ppdc-source.cxx:924 +#, c-format +msgid "ppdc: Invalid cost for filter on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:916 +#, c-format +msgid "ppdc: Invalid empty MIME type for filter on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:932 +#, c-format +msgid "ppdc: Invalid empty program name for filter on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1580 +#, c-format +msgid "ppdc: Invalid option section \"%s\" on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1552 +#, c-format +msgid "ppdc: Invalid option type \"%s\" on line %d of %s." +msgstr "" + +#: ppdc/ppdc.cxx:240 ppdc/ppdpo.cxx:111 +#, c-format +msgid "ppdc: Loading driver information file \"%s\"." +msgstr "" + +#: ppdc/ppdc.cxx:176 +#, c-format +msgid "ppdc: Loading messages for locale \"%s\"." +msgstr "" + +#: ppdc/ppdc.cxx:115 +#, c-format +msgid "ppdc: Loading messages from \"%s\"." +msgstr "" + +#: ppdc/ppdc-source.cxx:2363 ppdc/ppdc-source.cxx:2595 +#, c-format +msgid "ppdc: Missing #endif at end of \"%s\"." +msgstr "" + +#: ppdc/ppdc-source.cxx:2464 ppdc/ppdc-source.cxx:2499 +#: ppdc/ppdc-source.cxx:2529 +#, c-format +msgid "ppdc: Missing #if on line %d of %s." +msgstr "" + +#: ppdc/ppdc-catalog.cxx:462 +#, c-format +msgid "ppdc: Need a msgid line before any translation strings on line %d of %s." +msgstr "" + +#: ppdc/ppdc-driver.cxx:707 +#, c-format +msgid "ppdc: No message catalog provided for locale %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1603 ppdc/ppdc-source.cxx:2834 +#: ppdc/ppdc-source.cxx:2920 ppdc/ppdc-source.cxx:3013 +#: ppdc/ppdc-source.cxx:3146 ppdc/ppdc-source.cxx:3279 +#, c-format +msgid "ppdc: Option %s defined in two different groups on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:1596 +#, c-format +msgid "ppdc: Option %s redefined with a different type on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:657 +#, c-format +msgid "ppdc: Option constraint must *name on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:2446 +#, c-format +msgid "ppdc: Too many nested #if's on line %d of %s." +msgstr "" + +#: ppdc/ppdc.cxx:363 +#, c-format +msgid "ppdc: Unable to create PPD file \"%s\" - %s." +msgstr "" + +#: ppdc/ppdc.cxx:255 +#, c-format +msgid "ppdc: Unable to create output directory %s: %s" +msgstr "" + +#: ppdc/ppdc.cxx:276 +#, c-format +msgid "ppdc: Unable to create output pipes: %s" +msgstr "" + +#: ppdc/ppdc.cxx:292 ppdc/ppdc.cxx:298 +#, c-format +msgid "ppdc: Unable to execute cupstestppd: %s" +msgstr "" + +#: ppdc/ppdc-source.cxx:1682 +#, c-format +msgid "ppdc: Unable to find #po file %s on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:2602 +#, c-format +msgid "ppdc: Unable to find include file \"%s\" on line %d of %s." +msgstr "" + +#: ppdc/ppdc.cxx:187 +#, c-format +msgid "ppdc: Unable to find localization for \"%s\" - %s" +msgstr "" + +#: ppdc/ppdc.cxx:124 +#, c-format +msgid "ppdc: Unable to load localization file \"%s\" - %s" +msgstr "" + +#: ppdc/ppdc-file.cxx:37 +#, c-format +msgid "ppdc: Unable to open %s: %s" +msgstr "" + +#: ppdc/ppdc-source.cxx:2006 +#, c-format +msgid "ppdc: Undefined variable (%s) on line %d of %s." +msgstr "" + +#: ppdc/ppdc-catalog.cxx:479 +#, c-format +msgid "ppdc: Unexpected text on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:2876 +#, c-format +msgid "ppdc: Unknown driver type %s on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:858 +#, c-format +msgid "ppdc: Unknown duplex type \"%s\" on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:3106 +#, c-format +msgid "ppdc: Unknown media size \"%s\" on line %d of %s." +msgstr "" + +#: ppdc/ppdc-catalog.cxx:507 +#, c-format +msgid "ppdc: Unknown message catalog format for \"%s\"." +msgstr "" + +#: ppdc/ppdc-source.cxx:3360 +#, c-format +msgid "ppdc: Unknown token \"%s\" seen on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:966 +#, c-format +msgid "ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." +msgstr "" + +#: ppdc/ppdc-source.cxx:2116 +#, c-format +msgid "ppdc: Unterminated string starting with %c on line %d of %s." +msgstr "" + +#: ppdc/ppdc.cxx:354 +#, c-format +msgid "ppdc: Warning - overlapping filename \"%s\"." +msgstr "" + +#: ppdc/ppdc.cxx:369 +#, c-format +msgid "ppdc: Writing %s." +msgstr "" + +#: ppdc/ppdc.cxx:137 +#, c-format +msgid "ppdc: Writing PPD files to directory \"%s\"." +msgstr "" + +#: ppdc/ppdmerge.cxx:126 +#, c-format +msgid "ppdmerge: Bad LanguageVersion \"%s\" in %s." +msgstr "" + +#: ppdc/ppdmerge.cxx:163 +#, c-format +msgid "ppdmerge: Ignoring PPD file %s." +msgstr "" + +#: ppdc/ppdmerge.cxx:147 +#, c-format +msgid "ppdmerge: Unable to backup %s to %s - %s" +msgstr "" + +#. TRANSLATORS: Pre-dial String +#: locale/ipp-strings.c:2482 +msgid "pre-dial-string" +msgstr "" + +#. TRANSLATORS: Number-Up Layout +#: locale/ipp-strings.c:2484 +msgid "presentation-direction-number-up" +msgstr "" + +#. TRANSLATORS: Top-bottom, Right-left +#: locale/ipp-strings.c:2486 +msgid "presentation-direction-number-up.tobottom-toleft" +msgstr "" + +#. TRANSLATORS: Top-bottom, Left-right +#: locale/ipp-strings.c:2488 +msgid "presentation-direction-number-up.tobottom-toright" +msgstr "" + +#. TRANSLATORS: Right-left, Top-bottom +#: locale/ipp-strings.c:2490 +msgid "presentation-direction-number-up.toleft-tobottom" +msgstr "" + +#. TRANSLATORS: Right-left, Bottom-top +#: locale/ipp-strings.c:2492 +msgid "presentation-direction-number-up.toleft-totop" +msgstr "" + +#. TRANSLATORS: Left-right, Top-bottom +#: locale/ipp-strings.c:2494 +msgid "presentation-direction-number-up.toright-tobottom" +msgstr "" + +#. TRANSLATORS: Left-right, Bottom-top +#: locale/ipp-strings.c:2496 +msgid "presentation-direction-number-up.toright-totop" +msgstr "" + +#. TRANSLATORS: Bottom-top, Right-left +#: locale/ipp-strings.c:2498 +msgid "presentation-direction-number-up.totop-toleft" +msgstr "" + +#. TRANSLATORS: Bottom-top, Left-right +#: locale/ipp-strings.c:2500 +msgid "presentation-direction-number-up.totop-toright" +msgstr "" + +#. TRANSLATORS: Print Accuracy +#: locale/ipp-strings.c:2502 +msgid "print-accuracy" +msgstr "" + +#. TRANSLATORS: Print Base +#: locale/ipp-strings.c:2504 +msgid "print-base" +msgstr "" + +#. TRANSLATORS: Print Base Actual +#: locale/ipp-strings.c:2506 +msgid "print-base-actual" +msgstr "" + +#. TRANSLATORS: Brim +#: locale/ipp-strings.c:2508 +msgid "print-base.brim" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:2510 +msgid "print-base.none" +msgstr "" + +#. TRANSLATORS: Raft +#: locale/ipp-strings.c:2512 +msgid "print-base.raft" +msgstr "" + +#. TRANSLATORS: Skirt +#: locale/ipp-strings.c:2514 +msgid "print-base.skirt" +msgstr "" + +#. TRANSLATORS: Standard +#: locale/ipp-strings.c:2516 +msgid "print-base.standard" +msgstr "" + +#. TRANSLATORS: Print Color Mode +#: locale/ipp-strings.c:2518 +msgid "print-color-mode" +msgstr "" + +#. TRANSLATORS: Automatic +#: locale/ipp-strings.c:2520 +msgid "print-color-mode.auto" +msgstr "" + +#. TRANSLATORS: Auto Monochrome +#: locale/ipp-strings.c:2522 +msgid "print-color-mode.auto-monochrome" +msgstr "" + +#. TRANSLATORS: Text +#: locale/ipp-strings.c:2524 +msgid "print-color-mode.bi-level" +msgstr "" + +#. TRANSLATORS: Color +#: locale/ipp-strings.c:2526 +msgid "print-color-mode.color" +msgstr "" + +#. TRANSLATORS: Highlight +#: locale/ipp-strings.c:2528 +msgid "print-color-mode.highlight" +msgstr "" + +#. TRANSLATORS: Monochrome +#: locale/ipp-strings.c:2530 +msgid "print-color-mode.monochrome" +msgstr "" + +#. TRANSLATORS: Process Text +#: locale/ipp-strings.c:2532 +msgid "print-color-mode.process-bi-level" +msgstr "" + +#. TRANSLATORS: Process Monochrome +#: locale/ipp-strings.c:2534 +msgid "print-color-mode.process-monochrome" +msgstr "" + +#. TRANSLATORS: Print Optimization +#: locale/ipp-strings.c:2536 +msgid "print-content-optimize" +msgstr "" + +#. TRANSLATORS: Print Content Optimize Actual +#: locale/ipp-strings.c:2538 +msgid "print-content-optimize-actual" +msgstr "" + +#. TRANSLATORS: Automatic +#: locale/ipp-strings.c:2540 +msgid "print-content-optimize.auto" +msgstr "" + +#. TRANSLATORS: Graphics +#: locale/ipp-strings.c:2542 +msgid "print-content-optimize.graphic" +msgstr "" + +#. TRANSLATORS: Graphics +#: locale/ipp-strings.c:2544 +msgid "print-content-optimize.graphics" +msgstr "" + +#. TRANSLATORS: Photo +#: locale/ipp-strings.c:2546 +msgid "print-content-optimize.photo" +msgstr "" + +#. TRANSLATORS: Text +#: locale/ipp-strings.c:2548 +msgid "print-content-optimize.text" +msgstr "" + +#. TRANSLATORS: Text and Graphics +#: locale/ipp-strings.c:2550 +msgid "print-content-optimize.text-and-graphic" +msgstr "" + +#. TRANSLATORS: Text And Graphics +#: locale/ipp-strings.c:2552 +msgid "print-content-optimize.text-and-graphics" +msgstr "" + +#. TRANSLATORS: Print Objects +#: locale/ipp-strings.c:2554 +msgid "print-objects" +msgstr "" + +#. TRANSLATORS: Print Quality +#: locale/ipp-strings.c:2556 +msgid "print-quality" +msgstr "" + +#. TRANSLATORS: Draft +#: locale/ipp-strings.c:2558 +msgid "print-quality.3" +msgstr "" + +#. TRANSLATORS: Normal +#: locale/ipp-strings.c:2560 +msgid "print-quality.4" +msgstr "" + +#. TRANSLATORS: High +#: locale/ipp-strings.c:2562 +msgid "print-quality.5" +msgstr "" + +#. TRANSLATORS: Print Rendering Intent +#: locale/ipp-strings.c:2564 +msgid "print-rendering-intent" +msgstr "" + +#. TRANSLATORS: Absolute +#: locale/ipp-strings.c:2566 +msgid "print-rendering-intent.absolute" +msgstr "" + +#. TRANSLATORS: Automatic +#: locale/ipp-strings.c:2568 +msgid "print-rendering-intent.auto" +msgstr "" + +#. TRANSLATORS: Perceptual +#: locale/ipp-strings.c:2570 +msgid "print-rendering-intent.perceptual" +msgstr "" + +#. TRANSLATORS: Relative +#: locale/ipp-strings.c:2572 +msgid "print-rendering-intent.relative" +msgstr "" + +#. TRANSLATORS: Relative w/Black Point Compensation +#: locale/ipp-strings.c:2574 +msgid "print-rendering-intent.relative-bpc" +msgstr "" + +#. TRANSLATORS: Saturation +#: locale/ipp-strings.c:2576 +msgid "print-rendering-intent.saturation" +msgstr "" + +#. TRANSLATORS: Print Scaling +#: locale/ipp-strings.c:2578 +msgid "print-scaling" +msgstr "" + +#. TRANSLATORS: Automatic +#: locale/ipp-strings.c:2580 +msgid "print-scaling.auto" +msgstr "" + +#. TRANSLATORS: Auto-fit +#: locale/ipp-strings.c:2582 +msgid "print-scaling.auto-fit" +msgstr "" + +#. TRANSLATORS: Fill +#: locale/ipp-strings.c:2584 +msgid "print-scaling.fill" +msgstr "" + +#. TRANSLATORS: Fit +#: locale/ipp-strings.c:2586 +msgid "print-scaling.fit" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:2588 +msgid "print-scaling.none" +msgstr "" + +#. TRANSLATORS: Print Supports +#: locale/ipp-strings.c:2590 +msgid "print-supports" +msgstr "" + +#. TRANSLATORS: Print Supports Actual +#: locale/ipp-strings.c:2592 +msgid "print-supports-actual" +msgstr "" + +#. TRANSLATORS: With Specified Material +#: locale/ipp-strings.c:2594 +msgid "print-supports.material" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:2596 +msgid "print-supports.none" +msgstr "" + +#. TRANSLATORS: Standard +#: locale/ipp-strings.c:2598 +msgid "print-supports.standard" +msgstr "" + +#: systemv/lpstat.c:1786 +#, c-format +msgid "printer %s disabled since %s -" +msgstr "" + +#: systemv/lpstat.c:1778 +#, c-format +msgid "printer %s is holding new jobs. enabled since %s" +msgstr "" + +#: systemv/lpstat.c:1780 +#, c-format +msgid "printer %s is idle. enabled since %s" +msgstr "" + +#: systemv/lpstat.c:1783 +#, c-format +msgid "printer %s now printing %s-%d. enabled since %s" +msgstr "" + +#: systemv/lpstat.c:1904 +#, c-format +msgid "printer %s/%s disabled since %s -" +msgstr "" + +#: systemv/lpstat.c:1890 +#, c-format +msgid "printer %s/%s is idle. enabled since %s" +msgstr "" + +#: systemv/lpstat.c:1897 +#, c-format +msgid "printer %s/%s now printing %s-%d. enabled since %s" +msgstr "" + +#. TRANSLATORS: Printer Kind +#: locale/ipp-strings.c:2600 +msgid "printer-kind" +msgstr "" + +#. TRANSLATORS: Disc +#: locale/ipp-strings.c:2602 +msgid "printer-kind.disc" +msgstr "" + +#. TRANSLATORS: Document +#: locale/ipp-strings.c:2604 +msgid "printer-kind.document" +msgstr "" + +#. TRANSLATORS: Envelope +#: locale/ipp-strings.c:2606 +msgid "printer-kind.envelope" +msgstr "" + +#. TRANSLATORS: Label +#: locale/ipp-strings.c:2608 +msgid "printer-kind.label" +msgstr "" + +#. TRANSLATORS: Large Format +#: locale/ipp-strings.c:2610 +msgid "printer-kind.large-format" +msgstr "" + +#. TRANSLATORS: Photo +#: locale/ipp-strings.c:2612 +msgid "printer-kind.photo" +msgstr "" + +#. TRANSLATORS: Postcard +#: locale/ipp-strings.c:2614 +msgid "printer-kind.postcard" +msgstr "" + +#. TRANSLATORS: Receipt +#: locale/ipp-strings.c:2616 +msgid "printer-kind.receipt" +msgstr "" + +#. TRANSLATORS: Roll +#: locale/ipp-strings.c:2618 +msgid "printer-kind.roll" +msgstr "" + +#. TRANSLATORS: Message From Operator +#: locale/ipp-strings.c:2620 +msgid "printer-message-from-operator" +msgstr "" + +#. TRANSLATORS: Print Resolution +#: locale/ipp-strings.c:2622 +msgid "printer-resolution" +msgstr "" + +#. TRANSLATORS: Printer State +#: locale/ipp-strings.c:2624 +msgid "printer-state" +msgstr "" + +#. TRANSLATORS: Detailed Printer State +#: locale/ipp-strings.c:2626 +msgid "printer-state-reasons" +msgstr "" + +#. TRANSLATORS: Old Alerts Have Been Removed +#: locale/ipp-strings.c:2628 +msgid "printer-state-reasons.alert-removal-of-binary-change-entry" +msgstr "" + +#. TRANSLATORS: Bander Added +#: locale/ipp-strings.c:2630 +msgid "printer-state-reasons.bander-added" +msgstr "" + +#. TRANSLATORS: Bander Almost Empty +#: locale/ipp-strings.c:2632 +msgid "printer-state-reasons.bander-almost-empty" +msgstr "" + +#. TRANSLATORS: Bander Almost Full +#: locale/ipp-strings.c:2634 +msgid "printer-state-reasons.bander-almost-full" +msgstr "" + +#. TRANSLATORS: Bander At Limit +#: locale/ipp-strings.c:2636 +msgid "printer-state-reasons.bander-at-limit" +msgstr "" + +#. TRANSLATORS: Bander Closed +#: locale/ipp-strings.c:2638 +msgid "printer-state-reasons.bander-closed" +msgstr "" + +#. TRANSLATORS: Bander Configuration Change +#: locale/ipp-strings.c:2640 +msgid "printer-state-reasons.bander-configuration-change" +msgstr "" + +#. TRANSLATORS: Bander Cover Closed +#: locale/ipp-strings.c:2642 +msgid "printer-state-reasons.bander-cover-closed" +msgstr "" + +#. TRANSLATORS: Bander Cover Open +#: locale/ipp-strings.c:2644 +msgid "printer-state-reasons.bander-cover-open" +msgstr "" + +#. TRANSLATORS: Bander Empty +#: locale/ipp-strings.c:2646 +msgid "printer-state-reasons.bander-empty" +msgstr "" + +#. TRANSLATORS: Bander Full +#: locale/ipp-strings.c:2648 +msgid "printer-state-reasons.bander-full" +msgstr "" + +#. TRANSLATORS: Bander Interlock Closed +#: locale/ipp-strings.c:2650 +msgid "printer-state-reasons.bander-interlock-closed" +msgstr "" + +#. TRANSLATORS: Bander Interlock Open +#: locale/ipp-strings.c:2652 +msgid "printer-state-reasons.bander-interlock-open" +msgstr "" + +#. TRANSLATORS: Bander Jam +#: locale/ipp-strings.c:2654 +msgid "printer-state-reasons.bander-jam" +msgstr "" + +#. TRANSLATORS: Bander Life Almost Over +#: locale/ipp-strings.c:2656 +msgid "printer-state-reasons.bander-life-almost-over" +msgstr "" + +#. TRANSLATORS: Bander Life Over +#: locale/ipp-strings.c:2658 +msgid "printer-state-reasons.bander-life-over" +msgstr "" + +#. TRANSLATORS: Bander Memory Exhausted +#: locale/ipp-strings.c:2660 +msgid "printer-state-reasons.bander-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Bander Missing +#: locale/ipp-strings.c:2662 +msgid "printer-state-reasons.bander-missing" +msgstr "" + +#. TRANSLATORS: Bander Motor Failure +#: locale/ipp-strings.c:2664 +msgid "printer-state-reasons.bander-motor-failure" +msgstr "" + +#. TRANSLATORS: Bander Near Limit +#: locale/ipp-strings.c:2666 +msgid "printer-state-reasons.bander-near-limit" +msgstr "" + +#. TRANSLATORS: Bander Offline +#: locale/ipp-strings.c:2668 +msgid "printer-state-reasons.bander-offline" +msgstr "" + +#. TRANSLATORS: Bander Opened +#: locale/ipp-strings.c:2670 +msgid "printer-state-reasons.bander-opened" +msgstr "" + +#. TRANSLATORS: Bander Over Temperature +#: locale/ipp-strings.c:2672 +msgid "printer-state-reasons.bander-over-temperature" +msgstr "" + +#. TRANSLATORS: Bander Power Saver +#: locale/ipp-strings.c:2674 +msgid "printer-state-reasons.bander-power-saver" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Failure +#: locale/ipp-strings.c:2676 +msgid "printer-state-reasons.bander-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Storage +#: locale/ipp-strings.c:2678 +msgid "printer-state-reasons.bander-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Bander Removed +#: locale/ipp-strings.c:2680 +msgid "printer-state-reasons.bander-removed" +msgstr "" + +#. TRANSLATORS: Bander Resource Added +#: locale/ipp-strings.c:2682 +msgid "printer-state-reasons.bander-resource-added" +msgstr "" + +#. TRANSLATORS: Bander Resource Removed +#: locale/ipp-strings.c:2684 +msgid "printer-state-reasons.bander-resource-removed" +msgstr "" + +#. TRANSLATORS: Bander Thermistor Failure +#: locale/ipp-strings.c:2686 +msgid "printer-state-reasons.bander-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Bander Timing Failure +#: locale/ipp-strings.c:2688 +msgid "printer-state-reasons.bander-timing-failure" +msgstr "" + +#. TRANSLATORS: Bander Turned Off +#: locale/ipp-strings.c:2690 +msgid "printer-state-reasons.bander-turned-off" +msgstr "" + +#. TRANSLATORS: Bander Turned On +#: locale/ipp-strings.c:2692 +msgid "printer-state-reasons.bander-turned-on" +msgstr "" + +#. TRANSLATORS: Bander Under Temperature +#: locale/ipp-strings.c:2694 +msgid "printer-state-reasons.bander-under-temperature" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Failure +#: locale/ipp-strings.c:2696 +msgid "printer-state-reasons.bander-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Storage Error +#: locale/ipp-strings.c:2698 +msgid "printer-state-reasons.bander-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Bander Warming Up +#: locale/ipp-strings.c:2700 +msgid "printer-state-reasons.bander-warming-up" +msgstr "" + +#. TRANSLATORS: Binder Added +#: locale/ipp-strings.c:2702 +msgid "printer-state-reasons.binder-added" +msgstr "" + +#. TRANSLATORS: Binder Almost Empty +#: locale/ipp-strings.c:2704 +msgid "printer-state-reasons.binder-almost-empty" +msgstr "" + +#. TRANSLATORS: Binder Almost Full +#: locale/ipp-strings.c:2706 +msgid "printer-state-reasons.binder-almost-full" +msgstr "" + +#. TRANSLATORS: Binder At Limit +#: locale/ipp-strings.c:2708 +msgid "printer-state-reasons.binder-at-limit" +msgstr "" + +#. TRANSLATORS: Binder Closed +#: locale/ipp-strings.c:2710 +msgid "printer-state-reasons.binder-closed" +msgstr "" + +#. TRANSLATORS: Binder Configuration Change +#: locale/ipp-strings.c:2712 +msgid "printer-state-reasons.binder-configuration-change" +msgstr "" + +#. TRANSLATORS: Binder Cover Closed +#: locale/ipp-strings.c:2714 +msgid "printer-state-reasons.binder-cover-closed" +msgstr "" + +#. TRANSLATORS: Binder Cover Open +#: locale/ipp-strings.c:2716 +msgid "printer-state-reasons.binder-cover-open" +msgstr "" + +#. TRANSLATORS: Binder Empty +#: locale/ipp-strings.c:2718 +msgid "printer-state-reasons.binder-empty" +msgstr "" + +#. TRANSLATORS: Binder Full +#: locale/ipp-strings.c:2720 +msgid "printer-state-reasons.binder-full" +msgstr "" + +#. TRANSLATORS: Binder Interlock Closed +#: locale/ipp-strings.c:2722 +msgid "printer-state-reasons.binder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Binder Interlock Open +#: locale/ipp-strings.c:2724 +msgid "printer-state-reasons.binder-interlock-open" +msgstr "" + +#. TRANSLATORS: Binder Jam +#: locale/ipp-strings.c:2726 +msgid "printer-state-reasons.binder-jam" +msgstr "" + +#. TRANSLATORS: Binder Life Almost Over +#: locale/ipp-strings.c:2728 +msgid "printer-state-reasons.binder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Binder Life Over +#: locale/ipp-strings.c:2730 +msgid "printer-state-reasons.binder-life-over" +msgstr "" + +#. TRANSLATORS: Binder Memory Exhausted +#: locale/ipp-strings.c:2732 +msgid "printer-state-reasons.binder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Binder Missing +#: locale/ipp-strings.c:2734 +msgid "printer-state-reasons.binder-missing" +msgstr "" + +#. TRANSLATORS: Binder Motor Failure +#: locale/ipp-strings.c:2736 +msgid "printer-state-reasons.binder-motor-failure" +msgstr "" + +#. TRANSLATORS: Binder Near Limit +#: locale/ipp-strings.c:2738 +msgid "printer-state-reasons.binder-near-limit" +msgstr "" + +#. TRANSLATORS: Binder Offline +#: locale/ipp-strings.c:2740 +msgid "printer-state-reasons.binder-offline" +msgstr "" + +#. TRANSLATORS: Binder Opened +#: locale/ipp-strings.c:2742 +msgid "printer-state-reasons.binder-opened" +msgstr "" + +#. TRANSLATORS: Binder Over Temperature +#: locale/ipp-strings.c:2744 +msgid "printer-state-reasons.binder-over-temperature" +msgstr "" + +#. TRANSLATORS: Binder Power Saver +#: locale/ipp-strings.c:2746 +msgid "printer-state-reasons.binder-power-saver" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Failure +#: locale/ipp-strings.c:2748 +msgid "printer-state-reasons.binder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Storage +#: locale/ipp-strings.c:2750 +msgid "printer-state-reasons.binder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Binder Removed +#: locale/ipp-strings.c:2752 +msgid "printer-state-reasons.binder-removed" +msgstr "" + +#. TRANSLATORS: Binder Resource Added +#: locale/ipp-strings.c:2754 +msgid "printer-state-reasons.binder-resource-added" +msgstr "" + +#. TRANSLATORS: Binder Resource Removed +#: locale/ipp-strings.c:2756 +msgid "printer-state-reasons.binder-resource-removed" +msgstr "" + +#. TRANSLATORS: Binder Thermistor Failure +#: locale/ipp-strings.c:2758 +msgid "printer-state-reasons.binder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Binder Timing Failure +#: locale/ipp-strings.c:2760 +msgid "printer-state-reasons.binder-timing-failure" +msgstr "" + +#. TRANSLATORS: Binder Turned Off +#: locale/ipp-strings.c:2762 +msgid "printer-state-reasons.binder-turned-off" +msgstr "" + +#. TRANSLATORS: Binder Turned On +#: locale/ipp-strings.c:2764 +msgid "printer-state-reasons.binder-turned-on" +msgstr "" + +#. TRANSLATORS: Binder Under Temperature +#: locale/ipp-strings.c:2766 +msgid "printer-state-reasons.binder-under-temperature" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Failure +#: locale/ipp-strings.c:2768 +msgid "printer-state-reasons.binder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Storage Error +#: locale/ipp-strings.c:2770 +msgid "printer-state-reasons.binder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Binder Warming Up +#: locale/ipp-strings.c:2772 +msgid "printer-state-reasons.binder-warming-up" +msgstr "" + +#. TRANSLATORS: Camera Failure +#: locale/ipp-strings.c:2774 +msgid "printer-state-reasons.camera-failure" +msgstr "" + +#. TRANSLATORS: Chamber Cooling +#: locale/ipp-strings.c:2776 +msgid "printer-state-reasons.chamber-cooling" +msgstr "" + +#. TRANSLATORS: Chamber Failure +#: locale/ipp-strings.c:2778 +msgid "printer-state-reasons.chamber-failure" +msgstr "" + +#. TRANSLATORS: Chamber Heating +#: locale/ipp-strings.c:2780 +msgid "printer-state-reasons.chamber-heating" +msgstr "" + +#. TRANSLATORS: Chamber Temperature High +#: locale/ipp-strings.c:2782 +msgid "printer-state-reasons.chamber-temperature-high" +msgstr "" + +#. TRANSLATORS: Chamber Temperature Low +#: locale/ipp-strings.c:2784 +msgid "printer-state-reasons.chamber-temperature-low" +msgstr "" + +#. TRANSLATORS: Cleaner Life Almost Over +#: locale/ipp-strings.c:2786 +msgid "printer-state-reasons.cleaner-life-almost-over" +msgstr "" + +#. TRANSLATORS: Cleaner Life Over +#: locale/ipp-strings.c:2788 +msgid "printer-state-reasons.cleaner-life-over" +msgstr "" + +#. TRANSLATORS: Configuration Change +#: locale/ipp-strings.c:2790 +msgid "printer-state-reasons.configuration-change" +msgstr "" + +#. TRANSLATORS: Connecting To Device +#: locale/ipp-strings.c:2792 +msgid "printer-state-reasons.connecting-to-device" +msgstr "" + +#. TRANSLATORS: Cover Open +#: locale/ipp-strings.c:2794 +msgid "printer-state-reasons.cover-open" +msgstr "" + +#. TRANSLATORS: Deactivated +#: locale/ipp-strings.c:2796 +msgid "printer-state-reasons.deactivated" +msgstr "" + +#. TRANSLATORS: Developer Empty +#: locale/ipp-strings.c:2798 +msgid "printer-state-reasons.developer-empty" +msgstr "" + +#. TRANSLATORS: Developer Low +#: locale/ipp-strings.c:2800 +msgid "printer-state-reasons.developer-low" +msgstr "" + +#. TRANSLATORS: Die Cutter Added +#: locale/ipp-strings.c:2802 +msgid "printer-state-reasons.die-cutter-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Empty +#: locale/ipp-strings.c:2804 +msgid "printer-state-reasons.die-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Full +#: locale/ipp-strings.c:2806 +msgid "printer-state-reasons.die-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Die Cutter At Limit +#: locale/ipp-strings.c:2808 +msgid "printer-state-reasons.die-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Closed +#: locale/ipp-strings.c:2810 +msgid "printer-state-reasons.die-cutter-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Configuration Change +#: locale/ipp-strings.c:2812 +msgid "printer-state-reasons.die-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Closed +#: locale/ipp-strings.c:2814 +msgid "printer-state-reasons.die-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Open +#: locale/ipp-strings.c:2816 +msgid "printer-state-reasons.die-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Empty +#: locale/ipp-strings.c:2818 +msgid "printer-state-reasons.die-cutter-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Full +#: locale/ipp-strings.c:2820 +msgid "printer-state-reasons.die-cutter-full" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Closed +#: locale/ipp-strings.c:2822 +msgid "printer-state-reasons.die-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Open +#: locale/ipp-strings.c:2824 +msgid "printer-state-reasons.die-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Jam +#: locale/ipp-strings.c:2826 +msgid "printer-state-reasons.die-cutter-jam" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Almost Over +#: locale/ipp-strings.c:2828 +msgid "printer-state-reasons.die-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Over +#: locale/ipp-strings.c:2830 +msgid "printer-state-reasons.die-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Memory Exhausted +#: locale/ipp-strings.c:2832 +msgid "printer-state-reasons.die-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Die Cutter Missing +#: locale/ipp-strings.c:2834 +msgid "printer-state-reasons.die-cutter-missing" +msgstr "" + +#. TRANSLATORS: Die Cutter Motor Failure +#: locale/ipp-strings.c:2836 +msgid "printer-state-reasons.die-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Near Limit +#: locale/ipp-strings.c:2838 +msgid "printer-state-reasons.die-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Offline +#: locale/ipp-strings.c:2840 +msgid "printer-state-reasons.die-cutter-offline" +msgstr "" + +#. TRANSLATORS: Die Cutter Opened +#: locale/ipp-strings.c:2842 +msgid "printer-state-reasons.die-cutter-opened" +msgstr "" + +#. TRANSLATORS: Die Cutter Over Temperature +#: locale/ipp-strings.c:2844 +msgid "printer-state-reasons.die-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Power Saver +#: locale/ipp-strings.c:2846 +msgid "printer-state-reasons.die-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Failure +#: locale/ipp-strings.c:2848 +msgid "printer-state-reasons.die-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Storage +#: locale/ipp-strings.c:2850 +msgid "printer-state-reasons.die-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Die Cutter Removed +#: locale/ipp-strings.c:2852 +msgid "printer-state-reasons.die-cutter-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Added +#: locale/ipp-strings.c:2854 +msgid "printer-state-reasons.die-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Removed +#: locale/ipp-strings.c:2856 +msgid "printer-state-reasons.die-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Thermistor Failure +#: locale/ipp-strings.c:2858 +msgid "printer-state-reasons.die-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Timing Failure +#: locale/ipp-strings.c:2860 +msgid "printer-state-reasons.die-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned Off +#: locale/ipp-strings.c:2862 +msgid "printer-state-reasons.die-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned On +#: locale/ipp-strings.c:2864 +msgid "printer-state-reasons.die-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Die Cutter Under Temperature +#: locale/ipp-strings.c:2866 +msgid "printer-state-reasons.die-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Failure +#: locale/ipp-strings.c:2868 +msgid "printer-state-reasons.die-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Storage Error +#: locale/ipp-strings.c:2870 +msgid "printer-state-reasons.die-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Die Cutter Warming Up +#: locale/ipp-strings.c:2872 +msgid "printer-state-reasons.die-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Door Open +#: locale/ipp-strings.c:2874 +msgid "printer-state-reasons.door-open" +msgstr "" + +#. TRANSLATORS: Extruder Cooling +#: locale/ipp-strings.c:2876 +msgid "printer-state-reasons.extruder-cooling" +msgstr "" + +#. TRANSLATORS: Extruder Failure +#: locale/ipp-strings.c:2878 +msgid "printer-state-reasons.extruder-failure" +msgstr "" + +#. TRANSLATORS: Extruder Heating +#: locale/ipp-strings.c:2880 +msgid "printer-state-reasons.extruder-heating" +msgstr "" + +#. TRANSLATORS: Extruder Jam +#: locale/ipp-strings.c:2882 +msgid "printer-state-reasons.extruder-jam" +msgstr "" + +#. TRANSLATORS: Extruder Temperature High +#: locale/ipp-strings.c:2884 +msgid "printer-state-reasons.extruder-temperature-high" +msgstr "" + +#. TRANSLATORS: Extruder Temperature Low +#: locale/ipp-strings.c:2886 +msgid "printer-state-reasons.extruder-temperature-low" +msgstr "" + +#. TRANSLATORS: Fan Failure +#: locale/ipp-strings.c:2888 +msgid "printer-state-reasons.fan-failure" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Almost Over +#: locale/ipp-strings.c:2890 +msgid "printer-state-reasons.fax-modem-life-almost-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Over +#: locale/ipp-strings.c:2892 +msgid "printer-state-reasons.fax-modem-life-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Missing +#: locale/ipp-strings.c:2894 +msgid "printer-state-reasons.fax-modem-missing" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned Off +#: locale/ipp-strings.c:2896 +msgid "printer-state-reasons.fax-modem-turned-off" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned On +#: locale/ipp-strings.c:2898 +msgid "printer-state-reasons.fax-modem-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Added +#: locale/ipp-strings.c:2900 +msgid "printer-state-reasons.folder-added" +msgstr "" + +#. TRANSLATORS: Folder Almost Empty +#: locale/ipp-strings.c:2902 +msgid "printer-state-reasons.folder-almost-empty" +msgstr "" + +#. TRANSLATORS: Folder Almost Full +#: locale/ipp-strings.c:2904 +msgid "printer-state-reasons.folder-almost-full" +msgstr "" + +#. TRANSLATORS: Folder At Limit +#: locale/ipp-strings.c:2906 +msgid "printer-state-reasons.folder-at-limit" +msgstr "" + +#. TRANSLATORS: Folder Closed +#: locale/ipp-strings.c:2908 +msgid "printer-state-reasons.folder-closed" +msgstr "" + +#. TRANSLATORS: Folder Configuration Change +#: locale/ipp-strings.c:2910 +msgid "printer-state-reasons.folder-configuration-change" +msgstr "" + +#. TRANSLATORS: Folder Cover Closed +#: locale/ipp-strings.c:2912 +msgid "printer-state-reasons.folder-cover-closed" +msgstr "" + +#. TRANSLATORS: Folder Cover Open +#: locale/ipp-strings.c:2914 +msgid "printer-state-reasons.folder-cover-open" +msgstr "" + +#. TRANSLATORS: Folder Empty +#: locale/ipp-strings.c:2916 +msgid "printer-state-reasons.folder-empty" +msgstr "" + +#. TRANSLATORS: Folder Full +#: locale/ipp-strings.c:2918 +msgid "printer-state-reasons.folder-full" +msgstr "" + +#. TRANSLATORS: Folder Interlock Closed +#: locale/ipp-strings.c:2920 +msgid "printer-state-reasons.folder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Folder Interlock Open +#: locale/ipp-strings.c:2922 +msgid "printer-state-reasons.folder-interlock-open" +msgstr "" + +#. TRANSLATORS: Folder Jam +#: locale/ipp-strings.c:2924 +msgid "printer-state-reasons.folder-jam" +msgstr "" + +#. TRANSLATORS: Folder Life Almost Over +#: locale/ipp-strings.c:2926 +msgid "printer-state-reasons.folder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Folder Life Over +#: locale/ipp-strings.c:2928 +msgid "printer-state-reasons.folder-life-over" +msgstr "" + +#. TRANSLATORS: Folder Memory Exhausted +#: locale/ipp-strings.c:2930 +msgid "printer-state-reasons.folder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Folder Missing +#: locale/ipp-strings.c:2932 +msgid "printer-state-reasons.folder-missing" +msgstr "" + +#. TRANSLATORS: Folder Motor Failure +#: locale/ipp-strings.c:2934 +msgid "printer-state-reasons.folder-motor-failure" +msgstr "" + +#. TRANSLATORS: Folder Near Limit +#: locale/ipp-strings.c:2936 +msgid "printer-state-reasons.folder-near-limit" +msgstr "" + +#. TRANSLATORS: Folder Offline +#: locale/ipp-strings.c:2938 +msgid "printer-state-reasons.folder-offline" +msgstr "" + +#. TRANSLATORS: Folder Opened +#: locale/ipp-strings.c:2940 +msgid "printer-state-reasons.folder-opened" +msgstr "" + +#. TRANSLATORS: Folder Over Temperature +#: locale/ipp-strings.c:2942 +msgid "printer-state-reasons.folder-over-temperature" +msgstr "" + +#. TRANSLATORS: Folder Power Saver +#: locale/ipp-strings.c:2944 +msgid "printer-state-reasons.folder-power-saver" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Failure +#: locale/ipp-strings.c:2946 +msgid "printer-state-reasons.folder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Storage +#: locale/ipp-strings.c:2948 +msgid "printer-state-reasons.folder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Folder Removed +#: locale/ipp-strings.c:2950 +msgid "printer-state-reasons.folder-removed" +msgstr "" + +#. TRANSLATORS: Folder Resource Added +#: locale/ipp-strings.c:2952 +msgid "printer-state-reasons.folder-resource-added" +msgstr "" + +#. TRANSLATORS: Folder Resource Removed +#: locale/ipp-strings.c:2954 +msgid "printer-state-reasons.folder-resource-removed" +msgstr "" + +#. TRANSLATORS: Folder Thermistor Failure +#: locale/ipp-strings.c:2956 +msgid "printer-state-reasons.folder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Folder Timing Failure +#: locale/ipp-strings.c:2958 +msgid "printer-state-reasons.folder-timing-failure" +msgstr "" + +#. TRANSLATORS: Folder Turned Off +#: locale/ipp-strings.c:2960 +msgid "printer-state-reasons.folder-turned-off" +msgstr "" + +#. TRANSLATORS: Folder Turned On +#: locale/ipp-strings.c:2962 +msgid "printer-state-reasons.folder-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Under Temperature +#: locale/ipp-strings.c:2964 +msgid "printer-state-reasons.folder-under-temperature" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Failure +#: locale/ipp-strings.c:2966 +msgid "printer-state-reasons.folder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Storage Error +#: locale/ipp-strings.c:2968 +msgid "printer-state-reasons.folder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Folder Warming Up +#: locale/ipp-strings.c:2970 +msgid "printer-state-reasons.folder-warming-up" +msgstr "" + +#. TRANSLATORS: Fuser temperature high +#: locale/ipp-strings.c:2972 +msgid "printer-state-reasons.fuser-over-temp" +msgstr "" + +#. TRANSLATORS: Fuser temperature low +#: locale/ipp-strings.c:2974 +msgid "printer-state-reasons.fuser-under-temp" +msgstr "" + +#. TRANSLATORS: Hold New Jobs +#: locale/ipp-strings.c:2976 +msgid "printer-state-reasons.hold-new-jobs" +msgstr "" + +#. TRANSLATORS: Identify Printer +#: locale/ipp-strings.c:2978 +msgid "printer-state-reasons.identify-printer-requested" +msgstr "" + +#. TRANSLATORS: Imprinter Added +#: locale/ipp-strings.c:2980 +msgid "printer-state-reasons.imprinter-added" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Empty +#: locale/ipp-strings.c:2982 +msgid "printer-state-reasons.imprinter-almost-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Full +#: locale/ipp-strings.c:2984 +msgid "printer-state-reasons.imprinter-almost-full" +msgstr "" + +#. TRANSLATORS: Imprinter At Limit +#: locale/ipp-strings.c:2986 +msgid "printer-state-reasons.imprinter-at-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Closed +#: locale/ipp-strings.c:2988 +msgid "printer-state-reasons.imprinter-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Configuration Change +#: locale/ipp-strings.c:2990 +msgid "printer-state-reasons.imprinter-configuration-change" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Closed +#: locale/ipp-strings.c:2992 +msgid "printer-state-reasons.imprinter-cover-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Open +#: locale/ipp-strings.c:2994 +msgid "printer-state-reasons.imprinter-cover-open" +msgstr "" + +#. TRANSLATORS: Imprinter Empty +#: locale/ipp-strings.c:2996 +msgid "printer-state-reasons.imprinter-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Full +#: locale/ipp-strings.c:2998 +msgid "printer-state-reasons.imprinter-full" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Closed +#: locale/ipp-strings.c:3000 +msgid "printer-state-reasons.imprinter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Open +#: locale/ipp-strings.c:3002 +msgid "printer-state-reasons.imprinter-interlock-open" +msgstr "" + +#. TRANSLATORS: Imprinter Jam +#: locale/ipp-strings.c:3004 +msgid "printer-state-reasons.imprinter-jam" +msgstr "" + +#. TRANSLATORS: Imprinter Life Almost Over +#: locale/ipp-strings.c:3006 +msgid "printer-state-reasons.imprinter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Imprinter Life Over +#: locale/ipp-strings.c:3008 +msgid "printer-state-reasons.imprinter-life-over" +msgstr "" + +#. TRANSLATORS: Imprinter Memory Exhausted +#: locale/ipp-strings.c:3010 +msgid "printer-state-reasons.imprinter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Imprinter Missing +#: locale/ipp-strings.c:3012 +msgid "printer-state-reasons.imprinter-missing" +msgstr "" + +#. TRANSLATORS: Imprinter Motor Failure +#: locale/ipp-strings.c:3014 +msgid "printer-state-reasons.imprinter-motor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Near Limit +#: locale/ipp-strings.c:3016 +msgid "printer-state-reasons.imprinter-near-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Offline +#: locale/ipp-strings.c:3018 +msgid "printer-state-reasons.imprinter-offline" +msgstr "" + +#. TRANSLATORS: Imprinter Opened +#: locale/ipp-strings.c:3020 +msgid "printer-state-reasons.imprinter-opened" +msgstr "" + +#. TRANSLATORS: Imprinter Over Temperature +#: locale/ipp-strings.c:3022 +msgid "printer-state-reasons.imprinter-over-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Power Saver +#: locale/ipp-strings.c:3024 +msgid "printer-state-reasons.imprinter-power-saver" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Failure +#: locale/ipp-strings.c:3026 +msgid "printer-state-reasons.imprinter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Storage +#: locale/ipp-strings.c:3028 +msgid "printer-state-reasons.imprinter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Imprinter Removed +#: locale/ipp-strings.c:3030 +msgid "printer-state-reasons.imprinter-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Added +#: locale/ipp-strings.c:3032 +msgid "printer-state-reasons.imprinter-resource-added" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Removed +#: locale/ipp-strings.c:3034 +msgid "printer-state-reasons.imprinter-resource-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Thermistor Failure +#: locale/ipp-strings.c:3036 +msgid "printer-state-reasons.imprinter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Timing Failure +#: locale/ipp-strings.c:3038 +msgid "printer-state-reasons.imprinter-timing-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Turned Off +#: locale/ipp-strings.c:3040 +msgid "printer-state-reasons.imprinter-turned-off" +msgstr "" + +#. TRANSLATORS: Imprinter Turned On +#: locale/ipp-strings.c:3042 +msgid "printer-state-reasons.imprinter-turned-on" +msgstr "" + +#. TRANSLATORS: Imprinter Under Temperature +#: locale/ipp-strings.c:3044 +msgid "printer-state-reasons.imprinter-under-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Failure +#: locale/ipp-strings.c:3046 +msgid "printer-state-reasons.imprinter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Storage Error +#: locale/ipp-strings.c:3048 +msgid "printer-state-reasons.imprinter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Imprinter Warming Up +#: locale/ipp-strings.c:3050 +msgid "printer-state-reasons.imprinter-warming-up" +msgstr "" + +#. TRANSLATORS: Input Cannot Feed Size Selected +#: locale/ipp-strings.c:3052 +msgid "printer-state-reasons.input-cannot-feed-size-selected" +msgstr "" + +#. TRANSLATORS: Input Manual Input Request +#: locale/ipp-strings.c:3054 +msgid "printer-state-reasons.input-manual-input-request" +msgstr "" + +#. TRANSLATORS: Input Media Color Change +#: locale/ipp-strings.c:3056 +msgid "printer-state-reasons.input-media-color-change" +msgstr "" + +#. TRANSLATORS: Input Media Form Parts Change +#: locale/ipp-strings.c:3058 +msgid "printer-state-reasons.input-media-form-parts-change" +msgstr "" + +#. TRANSLATORS: Input Media Size Change +#: locale/ipp-strings.c:3060 +msgid "printer-state-reasons.input-media-size-change" +msgstr "" + +#. TRANSLATORS: Input Media Tray Failure +#: locale/ipp-strings.c:3062 +msgid "printer-state-reasons.input-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Input Media Tray Feed Error +#: locale/ipp-strings.c:3064 +msgid "printer-state-reasons.input-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Input Media Tray Jam +#: locale/ipp-strings.c:3066 +msgid "printer-state-reasons.input-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Input Media Type Change +#: locale/ipp-strings.c:3068 +msgid "printer-state-reasons.input-media-type-change" +msgstr "" + +#. TRANSLATORS: Input Media Weight Change +#: locale/ipp-strings.c:3070 +msgid "printer-state-reasons.input-media-weight-change" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Failure +#: locale/ipp-strings.c:3072 +msgid "printer-state-reasons.input-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Over +#: locale/ipp-strings.c:3074 +msgid "printer-state-reasons.input-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Warn +#: locale/ipp-strings.c:3076 +msgid "printer-state-reasons.input-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Missing +#: locale/ipp-strings.c:3078 +msgid "printer-state-reasons.input-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Elevation Failure +#: locale/ipp-strings.c:3080 +msgid "printer-state-reasons.input-tray-elevation-failure" +msgstr "" + +#. TRANSLATORS: Paper tray is missing +#: locale/ipp-strings.c:3082 +msgid "printer-state-reasons.input-tray-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Position Failure +#: locale/ipp-strings.c:3084 +msgid "printer-state-reasons.input-tray-position-failure" +msgstr "" + +#. TRANSLATORS: Inserter Added +#: locale/ipp-strings.c:3086 +msgid "printer-state-reasons.inserter-added" +msgstr "" + +#. TRANSLATORS: Inserter Almost Empty +#: locale/ipp-strings.c:3088 +msgid "printer-state-reasons.inserter-almost-empty" +msgstr "" + +#. TRANSLATORS: Inserter Almost Full +#: locale/ipp-strings.c:3090 +msgid "printer-state-reasons.inserter-almost-full" +msgstr "" + +#. TRANSLATORS: Inserter At Limit +#: locale/ipp-strings.c:3092 +msgid "printer-state-reasons.inserter-at-limit" +msgstr "" + +#. TRANSLATORS: Inserter Closed +#: locale/ipp-strings.c:3094 +msgid "printer-state-reasons.inserter-closed" +msgstr "" + +#. TRANSLATORS: Inserter Configuration Change +#: locale/ipp-strings.c:3096 +msgid "printer-state-reasons.inserter-configuration-change" +msgstr "" + +#. TRANSLATORS: Inserter Cover Closed +#: locale/ipp-strings.c:3098 +msgid "printer-state-reasons.inserter-cover-closed" +msgstr "" + +#. TRANSLATORS: Inserter Cover Open +#: locale/ipp-strings.c:3100 +msgid "printer-state-reasons.inserter-cover-open" +msgstr "" + +#. TRANSLATORS: Inserter Empty +#: locale/ipp-strings.c:3102 +msgid "printer-state-reasons.inserter-empty" +msgstr "" + +#. TRANSLATORS: Inserter Full +#: locale/ipp-strings.c:3104 +msgid "printer-state-reasons.inserter-full" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Closed +#: locale/ipp-strings.c:3106 +msgid "printer-state-reasons.inserter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Open +#: locale/ipp-strings.c:3108 +msgid "printer-state-reasons.inserter-interlock-open" +msgstr "" + +#. TRANSLATORS: Inserter Jam +#: locale/ipp-strings.c:3110 +msgid "printer-state-reasons.inserter-jam" +msgstr "" + +#. TRANSLATORS: Inserter Life Almost Over +#: locale/ipp-strings.c:3112 +msgid "printer-state-reasons.inserter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Inserter Life Over +#: locale/ipp-strings.c:3114 +msgid "printer-state-reasons.inserter-life-over" +msgstr "" + +#. TRANSLATORS: Inserter Memory Exhausted +#: locale/ipp-strings.c:3116 +msgid "printer-state-reasons.inserter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Inserter Missing +#: locale/ipp-strings.c:3118 +msgid "printer-state-reasons.inserter-missing" +msgstr "" + +#. TRANSLATORS: Inserter Motor Failure +#: locale/ipp-strings.c:3120 +msgid "printer-state-reasons.inserter-motor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Near Limit +#: locale/ipp-strings.c:3122 +msgid "printer-state-reasons.inserter-near-limit" +msgstr "" + +#. TRANSLATORS: Inserter Offline +#: locale/ipp-strings.c:3124 +msgid "printer-state-reasons.inserter-offline" +msgstr "" + +#. TRANSLATORS: Inserter Opened +#: locale/ipp-strings.c:3126 +msgid "printer-state-reasons.inserter-opened" +msgstr "" + +#. TRANSLATORS: Inserter Over Temperature +#: locale/ipp-strings.c:3128 +msgid "printer-state-reasons.inserter-over-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Power Saver +#: locale/ipp-strings.c:3130 +msgid "printer-state-reasons.inserter-power-saver" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Failure +#: locale/ipp-strings.c:3132 +msgid "printer-state-reasons.inserter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Storage +#: locale/ipp-strings.c:3134 +msgid "printer-state-reasons.inserter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Inserter Removed +#: locale/ipp-strings.c:3136 +msgid "printer-state-reasons.inserter-removed" +msgstr "" + +#. TRANSLATORS: Inserter Resource Added +#: locale/ipp-strings.c:3138 +msgid "printer-state-reasons.inserter-resource-added" +msgstr "" + +#. TRANSLATORS: Inserter Resource Removed +#: locale/ipp-strings.c:3140 +msgid "printer-state-reasons.inserter-resource-removed" +msgstr "" + +#. TRANSLATORS: Inserter Thermistor Failure +#: locale/ipp-strings.c:3142 +msgid "printer-state-reasons.inserter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Timing Failure +#: locale/ipp-strings.c:3144 +msgid "printer-state-reasons.inserter-timing-failure" +msgstr "" + +#. TRANSLATORS: Inserter Turned Off +#: locale/ipp-strings.c:3146 +msgid "printer-state-reasons.inserter-turned-off" +msgstr "" + +#. TRANSLATORS: Inserter Turned On +#: locale/ipp-strings.c:3148 +msgid "printer-state-reasons.inserter-turned-on" +msgstr "" + +#. TRANSLATORS: Inserter Under Temperature +#: locale/ipp-strings.c:3150 +msgid "printer-state-reasons.inserter-under-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Failure +#: locale/ipp-strings.c:3152 +msgid "printer-state-reasons.inserter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Storage Error +#: locale/ipp-strings.c:3154 +msgid "printer-state-reasons.inserter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Inserter Warming Up +#: locale/ipp-strings.c:3156 +msgid "printer-state-reasons.inserter-warming-up" +msgstr "" + +#. TRANSLATORS: Interlock Closed +#: locale/ipp-strings.c:3158 +msgid "printer-state-reasons.interlock-closed" +msgstr "" + +#. TRANSLATORS: Interlock Open +#: locale/ipp-strings.c:3160 +msgid "printer-state-reasons.interlock-open" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Added +#: locale/ipp-strings.c:3162 +msgid "printer-state-reasons.interpreter-cartridge-added" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Removed +#: locale/ipp-strings.c:3164 +msgid "printer-state-reasons.interpreter-cartridge-deleted" +msgstr "" + +#. TRANSLATORS: Interpreter Complex Page Encountered +#: locale/ipp-strings.c:3166 +msgid "printer-state-reasons.interpreter-complex-page-encountered" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Decrease +#: locale/ipp-strings.c:3168 +msgid "printer-state-reasons.interpreter-memory-decrease" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Increase +#: locale/ipp-strings.c:3170 +msgid "printer-state-reasons.interpreter-memory-increase" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Added +#: locale/ipp-strings.c:3172 +msgid "printer-state-reasons.interpreter-resource-added" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Deleted +#: locale/ipp-strings.c:3174 +msgid "printer-state-reasons.interpreter-resource-deleted" +msgstr "" + +#. TRANSLATORS: Printer resource unavailable +#: locale/ipp-strings.c:3176 +msgid "printer-state-reasons.interpreter-resource-unavailable" +msgstr "" + +#. TRANSLATORS: Lamp At End of Life +#: locale/ipp-strings.c:3178 +msgid "printer-state-reasons.lamp-at-eol" +msgstr "" + +#. TRANSLATORS: Lamp Failure +#: locale/ipp-strings.c:3180 +msgid "printer-state-reasons.lamp-failure" +msgstr "" + +#. TRANSLATORS: Lamp Near End of Life +#: locale/ipp-strings.c:3182 +msgid "printer-state-reasons.lamp-near-eol" +msgstr "" + +#. TRANSLATORS: Laser At End of Life +#: locale/ipp-strings.c:3184 +msgid "printer-state-reasons.laser-at-eol" +msgstr "" + +#. TRANSLATORS: Laser Failure +#: locale/ipp-strings.c:3186 +msgid "printer-state-reasons.laser-failure" +msgstr "" + +#. TRANSLATORS: Laser Near End of Life +#: locale/ipp-strings.c:3188 +msgid "printer-state-reasons.laser-near-eol" +msgstr "" + +#. TRANSLATORS: Envelope Maker Added +#: locale/ipp-strings.c:3190 +msgid "printer-state-reasons.make-envelope-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Empty +#: locale/ipp-strings.c:3192 +msgid "printer-state-reasons.make-envelope-almost-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Full +#: locale/ipp-strings.c:3194 +msgid "printer-state-reasons.make-envelope-almost-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker At Limit +#: locale/ipp-strings.c:3196 +msgid "printer-state-reasons.make-envelope-at-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Closed +#: locale/ipp-strings.c:3198 +msgid "printer-state-reasons.make-envelope-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Configuration Change +#: locale/ipp-strings.c:3200 +msgid "printer-state-reasons.make-envelope-configuration-change" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Closed +#: locale/ipp-strings.c:3202 +msgid "printer-state-reasons.make-envelope-cover-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Open +#: locale/ipp-strings.c:3204 +msgid "printer-state-reasons.make-envelope-cover-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Empty +#: locale/ipp-strings.c:3206 +msgid "printer-state-reasons.make-envelope-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Full +#: locale/ipp-strings.c:3208 +msgid "printer-state-reasons.make-envelope-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Closed +#: locale/ipp-strings.c:3210 +msgid "printer-state-reasons.make-envelope-interlock-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Open +#: locale/ipp-strings.c:3212 +msgid "printer-state-reasons.make-envelope-interlock-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Jam +#: locale/ipp-strings.c:3214 +msgid "printer-state-reasons.make-envelope-jam" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Almost Over +#: locale/ipp-strings.c:3216 +msgid "printer-state-reasons.make-envelope-life-almost-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Over +#: locale/ipp-strings.c:3218 +msgid "printer-state-reasons.make-envelope-life-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Memory Exhausted +#: locale/ipp-strings.c:3220 +msgid "printer-state-reasons.make-envelope-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Envelope Maker Missing +#: locale/ipp-strings.c:3222 +msgid "printer-state-reasons.make-envelope-missing" +msgstr "" + +#. TRANSLATORS: Envelope Maker Motor Failure +#: locale/ipp-strings.c:3224 +msgid "printer-state-reasons.make-envelope-motor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Near Limit +#: locale/ipp-strings.c:3226 +msgid "printer-state-reasons.make-envelope-near-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Offline +#: locale/ipp-strings.c:3228 +msgid "printer-state-reasons.make-envelope-offline" +msgstr "" + +#. TRANSLATORS: Envelope Maker Opened +#: locale/ipp-strings.c:3230 +msgid "printer-state-reasons.make-envelope-opened" +msgstr "" + +#. TRANSLATORS: Envelope Maker Over Temperature +#: locale/ipp-strings.c:3232 +msgid "printer-state-reasons.make-envelope-over-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Power Saver +#: locale/ipp-strings.c:3234 +msgid "printer-state-reasons.make-envelope-power-saver" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Failure +#: locale/ipp-strings.c:3236 +msgid "printer-state-reasons.make-envelope-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Storage +#: locale/ipp-strings.c:3238 +msgid "printer-state-reasons.make-envelope-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Envelope Maker Removed +#: locale/ipp-strings.c:3240 +msgid "printer-state-reasons.make-envelope-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Added +#: locale/ipp-strings.c:3242 +msgid "printer-state-reasons.make-envelope-resource-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Removed +#: locale/ipp-strings.c:3244 +msgid "printer-state-reasons.make-envelope-resource-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Thermistor Failure +#: locale/ipp-strings.c:3246 +msgid "printer-state-reasons.make-envelope-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Timing Failure +#: locale/ipp-strings.c:3248 +msgid "printer-state-reasons.make-envelope-timing-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned Off +#: locale/ipp-strings.c:3250 +msgid "printer-state-reasons.make-envelope-turned-off" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned On +#: locale/ipp-strings.c:3252 +msgid "printer-state-reasons.make-envelope-turned-on" +msgstr "" + +#. TRANSLATORS: Envelope Maker Under Temperature +#: locale/ipp-strings.c:3254 +msgid "printer-state-reasons.make-envelope-under-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Failure +#: locale/ipp-strings.c:3256 +msgid "printer-state-reasons.make-envelope-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Storage Error +#: locale/ipp-strings.c:3258 +msgid "printer-state-reasons.make-envelope-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Envelope Maker Warming Up +#: locale/ipp-strings.c:3260 +msgid "printer-state-reasons.make-envelope-warming-up" +msgstr "" + +#. TRANSLATORS: Marker Adjusting Print Quality +#: locale/ipp-strings.c:3262 +msgid "printer-state-reasons.marker-adjusting-print-quality" +msgstr "" + +#. TRANSLATORS: Marker Cleaner Missing +#: locale/ipp-strings.c:3264 +msgid "printer-state-reasons.marker-cleaner-missing" +msgstr "" + +#. TRANSLATORS: Marker Developer Almost Empty +#: locale/ipp-strings.c:3266 +msgid "printer-state-reasons.marker-developer-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Empty +#: locale/ipp-strings.c:3268 +msgid "printer-state-reasons.marker-developer-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Missing +#: locale/ipp-strings.c:3270 +msgid "printer-state-reasons.marker-developer-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Missing +#: locale/ipp-strings.c:3272 +msgid "printer-state-reasons.marker-fuser-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Thermistor Failure +#: locale/ipp-strings.c:3274 +msgid "printer-state-reasons.marker-fuser-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Marker Fuser Timing Failure +#: locale/ipp-strings.c:3276 +msgid "printer-state-reasons.marker-fuser-timing-failure" +msgstr "" + +#. TRANSLATORS: Marker Ink Almost Empty +#: locale/ipp-strings.c:3278 +msgid "printer-state-reasons.marker-ink-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Empty +#: locale/ipp-strings.c:3280 +msgid "printer-state-reasons.marker-ink-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Missing +#: locale/ipp-strings.c:3282 +msgid "printer-state-reasons.marker-ink-missing" +msgstr "" + +#. TRANSLATORS: Marker Opc Missing +#: locale/ipp-strings.c:3284 +msgid "printer-state-reasons.marker-opc-missing" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Almost Empty +#: locale/ipp-strings.c:3286 +msgid "printer-state-reasons.marker-print-ribbon-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Empty +#: locale/ipp-strings.c:3288 +msgid "printer-state-reasons.marker-print-ribbon-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Missing +#: locale/ipp-strings.c:3290 +msgid "printer-state-reasons.marker-print-ribbon-missing" +msgstr "" + +#. TRANSLATORS: Marker Supply Almost Empty +#: locale/ipp-strings.c:3292 +msgid "printer-state-reasons.marker-supply-almost-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner empty +#: locale/ipp-strings.c:3294 +msgid "printer-state-reasons.marker-supply-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner low +#: locale/ipp-strings.c:3296 +msgid "printer-state-reasons.marker-supply-low" +msgstr "" + +#. TRANSLATORS: Marker Supply Missing +#: locale/ipp-strings.c:3298 +msgid "printer-state-reasons.marker-supply-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Cartridge Missing +#: locale/ipp-strings.c:3300 +msgid "printer-state-reasons.marker-toner-cartridge-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Missing +#: locale/ipp-strings.c:3302 +msgid "printer-state-reasons.marker-toner-missing" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin almost full +#: locale/ipp-strings.c:3304 +msgid "printer-state-reasons.marker-waste-almost-full" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin full +#: locale/ipp-strings.c:3306 +msgid "printer-state-reasons.marker-waste-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Almost Full +#: locale/ipp-strings.c:3308 +msgid "printer-state-reasons.marker-waste-ink-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Full +#: locale/ipp-strings.c:3310 +msgid "printer-state-reasons.marker-waste-ink-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Missing +#: locale/ipp-strings.c:3312 +msgid "printer-state-reasons.marker-waste-ink-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Missing +#: locale/ipp-strings.c:3314 +msgid "printer-state-reasons.marker-waste-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Almost Full +#: locale/ipp-strings.c:3316 +msgid "printer-state-reasons.marker-waste-toner-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Full +#: locale/ipp-strings.c:3318 +msgid "printer-state-reasons.marker-waste-toner-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Missing +#: locale/ipp-strings.c:3320 +msgid "printer-state-reasons.marker-waste-toner-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Material Empty +#: locale/ipp-strings.c:3322 +msgid "printer-state-reasons.material-empty" +msgstr "" + +#. TRANSLATORS: Material Low +#: locale/ipp-strings.c:3324 +msgid "printer-state-reasons.material-low" +msgstr "" + +#. TRANSLATORS: Material Needed +#: locale/ipp-strings.c:3326 +msgid "printer-state-reasons.material-needed" +msgstr "" + +#. TRANSLATORS: Media Drying +#: locale/ipp-strings.c:3328 +msgid "printer-state-reasons.media-drying" +msgstr "" + +#. TRANSLATORS: Paper tray is empty +#: locale/ipp-strings.c:3330 +msgid "printer-state-reasons.media-empty" +msgstr "" + +#. TRANSLATORS: Paper jam +#: locale/ipp-strings.c:3332 +msgid "printer-state-reasons.media-jam" +msgstr "" + +#. TRANSLATORS: Paper tray is almost empty +#: locale/ipp-strings.c:3334 +msgid "printer-state-reasons.media-low" +msgstr "" + +#. TRANSLATORS: Load paper +#: locale/ipp-strings.c:3336 +msgid "printer-state-reasons.media-needed" +msgstr "" + +#. TRANSLATORS: Media Path Cannot Do 2-Sided Printing +#: locale/ipp-strings.c:3338 +msgid "printer-state-reasons.media-path-cannot-duplex-media-selected" +msgstr "" + +#. TRANSLATORS: Media Path Failure +#: locale/ipp-strings.c:3340 +msgid "printer-state-reasons.media-path-failure" +msgstr "" + +#. TRANSLATORS: Media Path Input Empty +#: locale/ipp-strings.c:3342 +msgid "printer-state-reasons.media-path-input-empty" +msgstr "" + +#. TRANSLATORS: Media Path Input Feed Error +#: locale/ipp-strings.c:3344 +msgid "printer-state-reasons.media-path-input-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Input Jam +#: locale/ipp-strings.c:3346 +msgid "printer-state-reasons.media-path-input-jam" +msgstr "" + +#. TRANSLATORS: Media Path Input Request +#: locale/ipp-strings.c:3348 +msgid "printer-state-reasons.media-path-input-request" +msgstr "" + +#. TRANSLATORS: Media Path Jam +#: locale/ipp-strings.c:3350 +msgid "printer-state-reasons.media-path-jam" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Almost Full +#: locale/ipp-strings.c:3352 +msgid "printer-state-reasons.media-path-media-tray-almost-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Full +#: locale/ipp-strings.c:3354 +msgid "printer-state-reasons.media-path-media-tray-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Missing +#: locale/ipp-strings.c:3356 +msgid "printer-state-reasons.media-path-media-tray-missing" +msgstr "" + +#. TRANSLATORS: Media Path Output Feed Error +#: locale/ipp-strings.c:3358 +msgid "printer-state-reasons.media-path-output-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Output Full +#: locale/ipp-strings.c:3360 +msgid "printer-state-reasons.media-path-output-full" +msgstr "" + +#. TRANSLATORS: Media Path Output Jam +#: locale/ipp-strings.c:3362 +msgid "printer-state-reasons.media-path-output-jam" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Failure +#: locale/ipp-strings.c:3364 +msgid "printer-state-reasons.media-path-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Over +#: locale/ipp-strings.c:3366 +msgid "printer-state-reasons.media-path-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Warn +#: locale/ipp-strings.c:3368 +msgid "printer-state-reasons.media-path-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Missing +#: locale/ipp-strings.c:3370 +msgid "printer-state-reasons.media-path-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Motor Failure +#: locale/ipp-strings.c:3372 +msgid "printer-state-reasons.motor-failure" +msgstr "" + +#. TRANSLATORS: Printer going offline +#: locale/ipp-strings.c:3374 +msgid "printer-state-reasons.moving-to-paused" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:3376 +msgid "printer-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Optical Photoconductor Life Over +#: locale/ipp-strings.c:3378 +msgid "printer-state-reasons.opc-life-over" +msgstr "" + +#. TRANSLATORS: OPC almost at end-of-life +#: locale/ipp-strings.c:3380 +msgid "printer-state-reasons.opc-near-eol" +msgstr "" + +#. TRANSLATORS: Check the printer for errors +#: locale/ipp-strings.c:3382 +msgid "printer-state-reasons.other" +msgstr "" + +#. TRANSLATORS: Output bin is almost full +#: locale/ipp-strings.c:3384 +msgid "printer-state-reasons.output-area-almost-full" +msgstr "" + +#. TRANSLATORS: Output bin is full +#: locale/ipp-strings.c:3386 +msgid "printer-state-reasons.output-area-full" +msgstr "" + +#. TRANSLATORS: Output Mailbox Select Failure +#: locale/ipp-strings.c:3388 +msgid "printer-state-reasons.output-mailbox-select-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Failure +#: locale/ipp-strings.c:3390 +msgid "printer-state-reasons.output-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Feed Error +#: locale/ipp-strings.c:3392 +msgid "printer-state-reasons.output-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Output Media Tray Jam +#: locale/ipp-strings.c:3394 +msgid "printer-state-reasons.output-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Output tray is missing +#: locale/ipp-strings.c:3396 +msgid "printer-state-reasons.output-tray-missing" +msgstr "" + +#. TRANSLATORS: Paused +#: locale/ipp-strings.c:3398 +msgid "printer-state-reasons.paused" +msgstr "" + +#. TRANSLATORS: Perforater Added +#: locale/ipp-strings.c:3400 +msgid "printer-state-reasons.perforater-added" +msgstr "" + +#. TRANSLATORS: Perforater Almost Empty +#: locale/ipp-strings.c:3402 +msgid "printer-state-reasons.perforater-almost-empty" +msgstr "" + +#. TRANSLATORS: Perforater Almost Full +#: locale/ipp-strings.c:3404 +msgid "printer-state-reasons.perforater-almost-full" +msgstr "" + +#. TRANSLATORS: Perforater At Limit +#: locale/ipp-strings.c:3406 +msgid "printer-state-reasons.perforater-at-limit" +msgstr "" + +#. TRANSLATORS: Perforater Closed +#: locale/ipp-strings.c:3408 +msgid "printer-state-reasons.perforater-closed" +msgstr "" + +#. TRANSLATORS: Perforater Configuration Change +#: locale/ipp-strings.c:3410 +msgid "printer-state-reasons.perforater-configuration-change" +msgstr "" + +#. TRANSLATORS: Perforater Cover Closed +#: locale/ipp-strings.c:3412 +msgid "printer-state-reasons.perforater-cover-closed" +msgstr "" + +#. TRANSLATORS: Perforater Cover Open +#: locale/ipp-strings.c:3414 +msgid "printer-state-reasons.perforater-cover-open" +msgstr "" + +#. TRANSLATORS: Perforater Empty +#: locale/ipp-strings.c:3416 +msgid "printer-state-reasons.perforater-empty" +msgstr "" + +#. TRANSLATORS: Perforater Full +#: locale/ipp-strings.c:3418 +msgid "printer-state-reasons.perforater-full" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Closed +#: locale/ipp-strings.c:3420 +msgid "printer-state-reasons.perforater-interlock-closed" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Open +#: locale/ipp-strings.c:3422 +msgid "printer-state-reasons.perforater-interlock-open" +msgstr "" + +#. TRANSLATORS: Perforater Jam +#: locale/ipp-strings.c:3424 +msgid "printer-state-reasons.perforater-jam" +msgstr "" + +#. TRANSLATORS: Perforater Life Almost Over +#: locale/ipp-strings.c:3426 +msgid "printer-state-reasons.perforater-life-almost-over" +msgstr "" + +#. TRANSLATORS: Perforater Life Over +#: locale/ipp-strings.c:3428 +msgid "printer-state-reasons.perforater-life-over" +msgstr "" + +#. TRANSLATORS: Perforater Memory Exhausted +#: locale/ipp-strings.c:3430 +msgid "printer-state-reasons.perforater-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Perforater Missing +#: locale/ipp-strings.c:3432 +msgid "printer-state-reasons.perforater-missing" +msgstr "" + +#. TRANSLATORS: Perforater Motor Failure +#: locale/ipp-strings.c:3434 +msgid "printer-state-reasons.perforater-motor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Near Limit +#: locale/ipp-strings.c:3436 +msgid "printer-state-reasons.perforater-near-limit" +msgstr "" + +#. TRANSLATORS: Perforater Offline +#: locale/ipp-strings.c:3438 +msgid "printer-state-reasons.perforater-offline" +msgstr "" + +#. TRANSLATORS: Perforater Opened +#: locale/ipp-strings.c:3440 +msgid "printer-state-reasons.perforater-opened" +msgstr "" + +#. TRANSLATORS: Perforater Over Temperature +#: locale/ipp-strings.c:3442 +msgid "printer-state-reasons.perforater-over-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Power Saver +#: locale/ipp-strings.c:3444 +msgid "printer-state-reasons.perforater-power-saver" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Failure +#: locale/ipp-strings.c:3446 +msgid "printer-state-reasons.perforater-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Storage +#: locale/ipp-strings.c:3448 +msgid "printer-state-reasons.perforater-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Perforater Removed +#: locale/ipp-strings.c:3450 +msgid "printer-state-reasons.perforater-removed" +msgstr "" + +#. TRANSLATORS: Perforater Resource Added +#: locale/ipp-strings.c:3452 +msgid "printer-state-reasons.perforater-resource-added" +msgstr "" + +#. TRANSLATORS: Perforater Resource Removed +#: locale/ipp-strings.c:3454 +msgid "printer-state-reasons.perforater-resource-removed" +msgstr "" + +#. TRANSLATORS: Perforater Thermistor Failure +#: locale/ipp-strings.c:3456 +msgid "printer-state-reasons.perforater-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Timing Failure +#: locale/ipp-strings.c:3458 +msgid "printer-state-reasons.perforater-timing-failure" +msgstr "" + +#. TRANSLATORS: Perforater Turned Off +#: locale/ipp-strings.c:3460 +msgid "printer-state-reasons.perforater-turned-off" +msgstr "" + +#. TRANSLATORS: Perforater Turned On +#: locale/ipp-strings.c:3462 +msgid "printer-state-reasons.perforater-turned-on" +msgstr "" + +#. TRANSLATORS: Perforater Under Temperature +#: locale/ipp-strings.c:3464 +msgid "printer-state-reasons.perforater-under-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Failure +#: locale/ipp-strings.c:3466 +msgid "printer-state-reasons.perforater-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Storage Error +#: locale/ipp-strings.c:3468 +msgid "printer-state-reasons.perforater-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Perforater Warming Up +#: locale/ipp-strings.c:3470 +msgid "printer-state-reasons.perforater-warming-up" +msgstr "" + +#. TRANSLATORS: Platform Cooling +#: locale/ipp-strings.c:3472 +msgid "printer-state-reasons.platform-cooling" +msgstr "" + +#. TRANSLATORS: Platform Failure +#: locale/ipp-strings.c:3474 +msgid "printer-state-reasons.platform-failure" +msgstr "" + +#. TRANSLATORS: Platform Heating +#: locale/ipp-strings.c:3476 +msgid "printer-state-reasons.platform-heating" +msgstr "" + +#. TRANSLATORS: Platform Temperature High +#: locale/ipp-strings.c:3478 +msgid "printer-state-reasons.platform-temperature-high" +msgstr "" + +#. TRANSLATORS: Platform Temperature Low +#: locale/ipp-strings.c:3480 +msgid "printer-state-reasons.platform-temperature-low" +msgstr "" + +#. TRANSLATORS: Power Down +#: locale/ipp-strings.c:3482 +msgid "printer-state-reasons.power-down" +msgstr "" + +#. TRANSLATORS: Power Up +#: locale/ipp-strings.c:3484 +msgid "printer-state-reasons.power-up" +msgstr "" + +#. TRANSLATORS: Printer Reset Manually +#: locale/ipp-strings.c:3486 +msgid "printer-state-reasons.printer-manual-reset" +msgstr "" + +#. TRANSLATORS: Printer Reset Remotely +#: locale/ipp-strings.c:3488 +msgid "printer-state-reasons.printer-nms-reset" +msgstr "" + +#. TRANSLATORS: Printer Ready To Print +#: locale/ipp-strings.c:3490 +msgid "printer-state-reasons.printer-ready-to-print" +msgstr "" + +#. TRANSLATORS: Puncher Added +#: locale/ipp-strings.c:3492 +msgid "printer-state-reasons.puncher-added" +msgstr "" + +#. TRANSLATORS: Puncher Almost Empty +#: locale/ipp-strings.c:3494 +msgid "printer-state-reasons.puncher-almost-empty" +msgstr "" + +#. TRANSLATORS: Puncher Almost Full +#: locale/ipp-strings.c:3496 +msgid "printer-state-reasons.puncher-almost-full" +msgstr "" + +#. TRANSLATORS: Puncher At Limit +#: locale/ipp-strings.c:3498 +msgid "printer-state-reasons.puncher-at-limit" +msgstr "" + +#. TRANSLATORS: Puncher Closed +#: locale/ipp-strings.c:3500 +msgid "printer-state-reasons.puncher-closed" +msgstr "" + +#. TRANSLATORS: Puncher Configuration Change +#: locale/ipp-strings.c:3502 +msgid "printer-state-reasons.puncher-configuration-change" +msgstr "" + +#. TRANSLATORS: Puncher Cover Closed +#: locale/ipp-strings.c:3504 +msgid "printer-state-reasons.puncher-cover-closed" +msgstr "" + +#. TRANSLATORS: Puncher Cover Open +#: locale/ipp-strings.c:3506 +msgid "printer-state-reasons.puncher-cover-open" +msgstr "" + +#. TRANSLATORS: Puncher Empty +#: locale/ipp-strings.c:3508 +msgid "printer-state-reasons.puncher-empty" +msgstr "" + +#. TRANSLATORS: Puncher Full +#: locale/ipp-strings.c:3510 +msgid "printer-state-reasons.puncher-full" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Closed +#: locale/ipp-strings.c:3512 +msgid "printer-state-reasons.puncher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Open +#: locale/ipp-strings.c:3514 +msgid "printer-state-reasons.puncher-interlock-open" +msgstr "" + +#. TRANSLATORS: Puncher Jam +#: locale/ipp-strings.c:3516 +msgid "printer-state-reasons.puncher-jam" +msgstr "" + +#. TRANSLATORS: Puncher Life Almost Over +#: locale/ipp-strings.c:3518 +msgid "printer-state-reasons.puncher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Puncher Life Over +#: locale/ipp-strings.c:3520 +msgid "printer-state-reasons.puncher-life-over" +msgstr "" + +#. TRANSLATORS: Puncher Memory Exhausted +#: locale/ipp-strings.c:3522 +msgid "printer-state-reasons.puncher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Puncher Missing +#: locale/ipp-strings.c:3524 +msgid "printer-state-reasons.puncher-missing" +msgstr "" + +#. TRANSLATORS: Puncher Motor Failure +#: locale/ipp-strings.c:3526 +msgid "printer-state-reasons.puncher-motor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Near Limit +#: locale/ipp-strings.c:3528 +msgid "printer-state-reasons.puncher-near-limit" +msgstr "" + +#. TRANSLATORS: Puncher Offline +#: locale/ipp-strings.c:3530 +msgid "printer-state-reasons.puncher-offline" +msgstr "" + +#. TRANSLATORS: Puncher Opened +#: locale/ipp-strings.c:3532 +msgid "printer-state-reasons.puncher-opened" +msgstr "" + +#. TRANSLATORS: Puncher Over Temperature +#: locale/ipp-strings.c:3534 +msgid "printer-state-reasons.puncher-over-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Power Saver +#: locale/ipp-strings.c:3536 +msgid "printer-state-reasons.puncher-power-saver" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Failure +#: locale/ipp-strings.c:3538 +msgid "printer-state-reasons.puncher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Storage +#: locale/ipp-strings.c:3540 +msgid "printer-state-reasons.puncher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Puncher Removed +#: locale/ipp-strings.c:3542 +msgid "printer-state-reasons.puncher-removed" +msgstr "" + +#. TRANSLATORS: Puncher Resource Added +#: locale/ipp-strings.c:3544 +msgid "printer-state-reasons.puncher-resource-added" +msgstr "" + +#. TRANSLATORS: Puncher Resource Removed +#: locale/ipp-strings.c:3546 +msgid "printer-state-reasons.puncher-resource-removed" +msgstr "" + +#. TRANSLATORS: Puncher Thermistor Failure +#: locale/ipp-strings.c:3548 +msgid "printer-state-reasons.puncher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Timing Failure +#: locale/ipp-strings.c:3550 +msgid "printer-state-reasons.puncher-timing-failure" +msgstr "" + +#. TRANSLATORS: Puncher Turned Off +#: locale/ipp-strings.c:3552 +msgid "printer-state-reasons.puncher-turned-off" +msgstr "" + +#. TRANSLATORS: Puncher Turned On +#: locale/ipp-strings.c:3554 +msgid "printer-state-reasons.puncher-turned-on" +msgstr "" + +#. TRANSLATORS: Puncher Under Temperature +#: locale/ipp-strings.c:3556 +msgid "printer-state-reasons.puncher-under-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Failure +#: locale/ipp-strings.c:3558 +msgid "printer-state-reasons.puncher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Storage Error +#: locale/ipp-strings.c:3560 +msgid "printer-state-reasons.puncher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Puncher Warming Up +#: locale/ipp-strings.c:3562 +msgid "printer-state-reasons.puncher-warming-up" +msgstr "" + +#. TRANSLATORS: Separation Cutter Added +#: locale/ipp-strings.c:3564 +msgid "printer-state-reasons.separation-cutter-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Empty +#: locale/ipp-strings.c:3566 +msgid "printer-state-reasons.separation-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Full +#: locale/ipp-strings.c:3568 +msgid "printer-state-reasons.separation-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter At Limit +#: locale/ipp-strings.c:3570 +msgid "printer-state-reasons.separation-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Closed +#: locale/ipp-strings.c:3572 +msgid "printer-state-reasons.separation-cutter-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Configuration Change +#: locale/ipp-strings.c:3574 +msgid "printer-state-reasons.separation-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Closed +#: locale/ipp-strings.c:3576 +msgid "printer-state-reasons.separation-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Open +#: locale/ipp-strings.c:3578 +msgid "printer-state-reasons.separation-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Empty +#: locale/ipp-strings.c:3580 +msgid "printer-state-reasons.separation-cutter-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Full +#: locale/ipp-strings.c:3582 +msgid "printer-state-reasons.separation-cutter-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Closed +#: locale/ipp-strings.c:3584 +msgid "printer-state-reasons.separation-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Open +#: locale/ipp-strings.c:3586 +msgid "printer-state-reasons.separation-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Jam +#: locale/ipp-strings.c:3588 +msgid "printer-state-reasons.separation-cutter-jam" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Almost Over +#: locale/ipp-strings.c:3590 +msgid "printer-state-reasons.separation-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Over +#: locale/ipp-strings.c:3592 +msgid "printer-state-reasons.separation-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Memory Exhausted +#: locale/ipp-strings.c:3594 +msgid "printer-state-reasons.separation-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Separation Cutter Missing +#: locale/ipp-strings.c:3596 +msgid "printer-state-reasons.separation-cutter-missing" +msgstr "" + +#. TRANSLATORS: Separation Cutter Motor Failure +#: locale/ipp-strings.c:3598 +msgid "printer-state-reasons.separation-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Near Limit +#: locale/ipp-strings.c:3600 +msgid "printer-state-reasons.separation-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Offline +#: locale/ipp-strings.c:3602 +msgid "printer-state-reasons.separation-cutter-offline" +msgstr "" + +#. TRANSLATORS: Separation Cutter Opened +#: locale/ipp-strings.c:3604 +msgid "printer-state-reasons.separation-cutter-opened" +msgstr "" + +#. TRANSLATORS: Separation Cutter Over Temperature +#: locale/ipp-strings.c:3606 +msgid "printer-state-reasons.separation-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Power Saver +#: locale/ipp-strings.c:3608 +msgid "printer-state-reasons.separation-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Failure +#: locale/ipp-strings.c:3610 +msgid "printer-state-reasons.separation-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Storage +#: locale/ipp-strings.c:3612 +msgid "printer-state-reasons.separation-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Separation Cutter Removed +#: locale/ipp-strings.c:3614 +msgid "printer-state-reasons.separation-cutter-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Added +#: locale/ipp-strings.c:3616 +msgid "printer-state-reasons.separation-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Removed +#: locale/ipp-strings.c:3618 +msgid "printer-state-reasons.separation-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Thermistor Failure +#: locale/ipp-strings.c:3620 +msgid "printer-state-reasons.separation-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Timing Failure +#: locale/ipp-strings.c:3622 +msgid "printer-state-reasons.separation-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned Off +#: locale/ipp-strings.c:3624 +msgid "printer-state-reasons.separation-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned On +#: locale/ipp-strings.c:3626 +msgid "printer-state-reasons.separation-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Separation Cutter Under Temperature +#: locale/ipp-strings.c:3628 +msgid "printer-state-reasons.separation-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Failure +#: locale/ipp-strings.c:3630 +msgid "printer-state-reasons.separation-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Storage Error +#: locale/ipp-strings.c:3632 +msgid "printer-state-reasons.separation-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Separation Cutter Warming Up +#: locale/ipp-strings.c:3634 +msgid "printer-state-reasons.separation-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Added +#: locale/ipp-strings.c:3636 +msgid "printer-state-reasons.sheet-rotator-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Empty +#: locale/ipp-strings.c:3638 +msgid "printer-state-reasons.sheet-rotator-almost-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Full +#: locale/ipp-strings.c:3640 +msgid "printer-state-reasons.sheet-rotator-almost-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator At Limit +#: locale/ipp-strings.c:3642 +msgid "printer-state-reasons.sheet-rotator-at-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Closed +#: locale/ipp-strings.c:3644 +msgid "printer-state-reasons.sheet-rotator-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Configuration Change +#: locale/ipp-strings.c:3646 +msgid "printer-state-reasons.sheet-rotator-configuration-change" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Closed +#: locale/ipp-strings.c:3648 +msgid "printer-state-reasons.sheet-rotator-cover-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Open +#: locale/ipp-strings.c:3650 +msgid "printer-state-reasons.sheet-rotator-cover-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Empty +#: locale/ipp-strings.c:3652 +msgid "printer-state-reasons.sheet-rotator-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Full +#: locale/ipp-strings.c:3654 +msgid "printer-state-reasons.sheet-rotator-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Closed +#: locale/ipp-strings.c:3656 +msgid "printer-state-reasons.sheet-rotator-interlock-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Open +#: locale/ipp-strings.c:3658 +msgid "printer-state-reasons.sheet-rotator-interlock-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Jam +#: locale/ipp-strings.c:3660 +msgid "printer-state-reasons.sheet-rotator-jam" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Almost Over +#: locale/ipp-strings.c:3662 +msgid "printer-state-reasons.sheet-rotator-life-almost-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Over +#: locale/ipp-strings.c:3664 +msgid "printer-state-reasons.sheet-rotator-life-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Memory Exhausted +#: locale/ipp-strings.c:3666 +msgid "printer-state-reasons.sheet-rotator-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Missing +#: locale/ipp-strings.c:3668 +msgid "printer-state-reasons.sheet-rotator-missing" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Motor Failure +#: locale/ipp-strings.c:3670 +msgid "printer-state-reasons.sheet-rotator-motor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Near Limit +#: locale/ipp-strings.c:3672 +msgid "printer-state-reasons.sheet-rotator-near-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Offline +#: locale/ipp-strings.c:3674 +msgid "printer-state-reasons.sheet-rotator-offline" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Opened +#: locale/ipp-strings.c:3676 +msgid "printer-state-reasons.sheet-rotator-opened" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Over Temperature +#: locale/ipp-strings.c:3678 +msgid "printer-state-reasons.sheet-rotator-over-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Power Saver +#: locale/ipp-strings.c:3680 +msgid "printer-state-reasons.sheet-rotator-power-saver" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Failure +#: locale/ipp-strings.c:3682 +msgid "printer-state-reasons.sheet-rotator-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Storage +#: locale/ipp-strings.c:3684 +msgid "printer-state-reasons.sheet-rotator-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Removed +#: locale/ipp-strings.c:3686 +msgid "printer-state-reasons.sheet-rotator-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Added +#: locale/ipp-strings.c:3688 +msgid "printer-state-reasons.sheet-rotator-resource-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Removed +#: locale/ipp-strings.c:3690 +msgid "printer-state-reasons.sheet-rotator-resource-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Thermistor Failure +#: locale/ipp-strings.c:3692 +msgid "printer-state-reasons.sheet-rotator-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Timing Failure +#: locale/ipp-strings.c:3694 +msgid "printer-state-reasons.sheet-rotator-timing-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned Off +#: locale/ipp-strings.c:3696 +msgid "printer-state-reasons.sheet-rotator-turned-off" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned On +#: locale/ipp-strings.c:3698 +msgid "printer-state-reasons.sheet-rotator-turned-on" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Under Temperature +#: locale/ipp-strings.c:3700 +msgid "printer-state-reasons.sheet-rotator-under-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Failure +#: locale/ipp-strings.c:3702 +msgid "printer-state-reasons.sheet-rotator-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +#: locale/ipp-strings.c:3704 +msgid "printer-state-reasons.sheet-rotator-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Warming Up +#: locale/ipp-strings.c:3706 +msgid "printer-state-reasons.sheet-rotator-warming-up" +msgstr "" + +#. TRANSLATORS: Printer offline +#: locale/ipp-strings.c:3708 +msgid "printer-state-reasons.shutdown" +msgstr "" + +#. TRANSLATORS: Slitter Added +#: locale/ipp-strings.c:3710 +msgid "printer-state-reasons.slitter-added" +msgstr "" + +#. TRANSLATORS: Slitter Almost Empty +#: locale/ipp-strings.c:3712 +msgid "printer-state-reasons.slitter-almost-empty" +msgstr "" + +#. TRANSLATORS: Slitter Almost Full +#: locale/ipp-strings.c:3714 +msgid "printer-state-reasons.slitter-almost-full" +msgstr "" + +#. TRANSLATORS: Slitter At Limit +#: locale/ipp-strings.c:3716 +msgid "printer-state-reasons.slitter-at-limit" +msgstr "" + +#. TRANSLATORS: Slitter Closed +#: locale/ipp-strings.c:3718 +msgid "printer-state-reasons.slitter-closed" +msgstr "" + +#. TRANSLATORS: Slitter Configuration Change +#: locale/ipp-strings.c:3720 +msgid "printer-state-reasons.slitter-configuration-change" +msgstr "" + +#. TRANSLATORS: Slitter Cover Closed +#: locale/ipp-strings.c:3722 +msgid "printer-state-reasons.slitter-cover-closed" +msgstr "" + +#. TRANSLATORS: Slitter Cover Open +#: locale/ipp-strings.c:3724 +msgid "printer-state-reasons.slitter-cover-open" +msgstr "" + +#. TRANSLATORS: Slitter Empty +#: locale/ipp-strings.c:3726 +msgid "printer-state-reasons.slitter-empty" +msgstr "" + +#. TRANSLATORS: Slitter Full +#: locale/ipp-strings.c:3728 +msgid "printer-state-reasons.slitter-full" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Closed +#: locale/ipp-strings.c:3730 +msgid "printer-state-reasons.slitter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Open +#: locale/ipp-strings.c:3732 +msgid "printer-state-reasons.slitter-interlock-open" +msgstr "" + +#. TRANSLATORS: Slitter Jam +#: locale/ipp-strings.c:3734 +msgid "printer-state-reasons.slitter-jam" +msgstr "" + +#. TRANSLATORS: Slitter Life Almost Over +#: locale/ipp-strings.c:3736 +msgid "printer-state-reasons.slitter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Slitter Life Over +#: locale/ipp-strings.c:3738 +msgid "printer-state-reasons.slitter-life-over" +msgstr "" + +#. TRANSLATORS: Slitter Memory Exhausted +#: locale/ipp-strings.c:3740 +msgid "printer-state-reasons.slitter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Slitter Missing +#: locale/ipp-strings.c:3742 +msgid "printer-state-reasons.slitter-missing" +msgstr "" + +#. TRANSLATORS: Slitter Motor Failure +#: locale/ipp-strings.c:3744 +msgid "printer-state-reasons.slitter-motor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Near Limit +#: locale/ipp-strings.c:3746 +msgid "printer-state-reasons.slitter-near-limit" +msgstr "" + +#. TRANSLATORS: Slitter Offline +#: locale/ipp-strings.c:3748 +msgid "printer-state-reasons.slitter-offline" +msgstr "" + +#. TRANSLATORS: Slitter Opened +#: locale/ipp-strings.c:3750 +msgid "printer-state-reasons.slitter-opened" +msgstr "" + +#. TRANSLATORS: Slitter Over Temperature +#: locale/ipp-strings.c:3752 +msgid "printer-state-reasons.slitter-over-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Power Saver +#: locale/ipp-strings.c:3754 +msgid "printer-state-reasons.slitter-power-saver" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Failure +#: locale/ipp-strings.c:3756 +msgid "printer-state-reasons.slitter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Storage +#: locale/ipp-strings.c:3758 +msgid "printer-state-reasons.slitter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Slitter Removed +#: locale/ipp-strings.c:3760 +msgid "printer-state-reasons.slitter-removed" +msgstr "" + +#. TRANSLATORS: Slitter Resource Added +#: locale/ipp-strings.c:3762 +msgid "printer-state-reasons.slitter-resource-added" +msgstr "" + +#. TRANSLATORS: Slitter Resource Removed +#: locale/ipp-strings.c:3764 +msgid "printer-state-reasons.slitter-resource-removed" +msgstr "" + +#. TRANSLATORS: Slitter Thermistor Failure +#: locale/ipp-strings.c:3766 +msgid "printer-state-reasons.slitter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Timing Failure +#: locale/ipp-strings.c:3768 +msgid "printer-state-reasons.slitter-timing-failure" +msgstr "" + +#. TRANSLATORS: Slitter Turned Off +#: locale/ipp-strings.c:3770 +msgid "printer-state-reasons.slitter-turned-off" +msgstr "" + +#. TRANSLATORS: Slitter Turned On +#: locale/ipp-strings.c:3772 +msgid "printer-state-reasons.slitter-turned-on" +msgstr "" + +#. TRANSLATORS: Slitter Under Temperature +#: locale/ipp-strings.c:3774 +msgid "printer-state-reasons.slitter-under-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Failure +#: locale/ipp-strings.c:3776 +msgid "printer-state-reasons.slitter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Storage Error +#: locale/ipp-strings.c:3778 +msgid "printer-state-reasons.slitter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Slitter Warming Up +#: locale/ipp-strings.c:3780 +msgid "printer-state-reasons.slitter-warming-up" +msgstr "" + +#. TRANSLATORS: Spool Area Full +#: locale/ipp-strings.c:3782 +msgid "printer-state-reasons.spool-area-full" +msgstr "" + +#. TRANSLATORS: Stacker Added +#: locale/ipp-strings.c:3784 +msgid "printer-state-reasons.stacker-added" +msgstr "" + +#. TRANSLATORS: Stacker Almost Empty +#: locale/ipp-strings.c:3786 +msgid "printer-state-reasons.stacker-almost-empty" +msgstr "" + +#. TRANSLATORS: Stacker Almost Full +#: locale/ipp-strings.c:3788 +msgid "printer-state-reasons.stacker-almost-full" +msgstr "" + +#. TRANSLATORS: Stacker At Limit +#: locale/ipp-strings.c:3790 +msgid "printer-state-reasons.stacker-at-limit" +msgstr "" + +#. TRANSLATORS: Stacker Closed +#: locale/ipp-strings.c:3792 +msgid "printer-state-reasons.stacker-closed" +msgstr "" + +#. TRANSLATORS: Stacker Configuration Change +#: locale/ipp-strings.c:3794 +msgid "printer-state-reasons.stacker-configuration-change" +msgstr "" + +#. TRANSLATORS: Stacker Cover Closed +#: locale/ipp-strings.c:3796 +msgid "printer-state-reasons.stacker-cover-closed" +msgstr "" + +#. TRANSLATORS: Stacker Cover Open +#: locale/ipp-strings.c:3798 +msgid "printer-state-reasons.stacker-cover-open" +msgstr "" + +#. TRANSLATORS: Stacker Empty +#: locale/ipp-strings.c:3800 +msgid "printer-state-reasons.stacker-empty" +msgstr "" + +#. TRANSLATORS: Stacker Full +#: locale/ipp-strings.c:3802 +msgid "printer-state-reasons.stacker-full" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Closed +#: locale/ipp-strings.c:3804 +msgid "printer-state-reasons.stacker-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Open +#: locale/ipp-strings.c:3806 +msgid "printer-state-reasons.stacker-interlock-open" +msgstr "" + +#. TRANSLATORS: Stacker Jam +#: locale/ipp-strings.c:3808 +msgid "printer-state-reasons.stacker-jam" +msgstr "" + +#. TRANSLATORS: Stacker Life Almost Over +#: locale/ipp-strings.c:3810 +msgid "printer-state-reasons.stacker-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stacker Life Over +#: locale/ipp-strings.c:3812 +msgid "printer-state-reasons.stacker-life-over" +msgstr "" + +#. TRANSLATORS: Stacker Memory Exhausted +#: locale/ipp-strings.c:3814 +msgid "printer-state-reasons.stacker-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stacker Missing +#: locale/ipp-strings.c:3816 +msgid "printer-state-reasons.stacker-missing" +msgstr "" + +#. TRANSLATORS: Stacker Motor Failure +#: locale/ipp-strings.c:3818 +msgid "printer-state-reasons.stacker-motor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Near Limit +#: locale/ipp-strings.c:3820 +msgid "printer-state-reasons.stacker-near-limit" +msgstr "" + +#. TRANSLATORS: Stacker Offline +#: locale/ipp-strings.c:3822 +msgid "printer-state-reasons.stacker-offline" +msgstr "" + +#. TRANSLATORS: Stacker Opened +#: locale/ipp-strings.c:3824 +msgid "printer-state-reasons.stacker-opened" +msgstr "" + +#. TRANSLATORS: Stacker Over Temperature +#: locale/ipp-strings.c:3826 +msgid "printer-state-reasons.stacker-over-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Power Saver +#: locale/ipp-strings.c:3828 +msgid "printer-state-reasons.stacker-power-saver" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Failure +#: locale/ipp-strings.c:3830 +msgid "printer-state-reasons.stacker-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Storage +#: locale/ipp-strings.c:3832 +msgid "printer-state-reasons.stacker-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stacker Removed +#: locale/ipp-strings.c:3834 +msgid "printer-state-reasons.stacker-removed" +msgstr "" + +#. TRANSLATORS: Stacker Resource Added +#: locale/ipp-strings.c:3836 +msgid "printer-state-reasons.stacker-resource-added" +msgstr "" + +#. TRANSLATORS: Stacker Resource Removed +#: locale/ipp-strings.c:3838 +msgid "printer-state-reasons.stacker-resource-removed" +msgstr "" + +#. TRANSLATORS: Stacker Thermistor Failure +#: locale/ipp-strings.c:3840 +msgid "printer-state-reasons.stacker-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Timing Failure +#: locale/ipp-strings.c:3842 +msgid "printer-state-reasons.stacker-timing-failure" +msgstr "" + +#. TRANSLATORS: Stacker Turned Off +#: locale/ipp-strings.c:3844 +msgid "printer-state-reasons.stacker-turned-off" +msgstr "" + +#. TRANSLATORS: Stacker Turned On +#: locale/ipp-strings.c:3846 +msgid "printer-state-reasons.stacker-turned-on" +msgstr "" + +#. TRANSLATORS: Stacker Under Temperature +#: locale/ipp-strings.c:3848 +msgid "printer-state-reasons.stacker-under-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Failure +#: locale/ipp-strings.c:3850 +msgid "printer-state-reasons.stacker-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Storage Error +#: locale/ipp-strings.c:3852 +msgid "printer-state-reasons.stacker-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stacker Warming Up +#: locale/ipp-strings.c:3854 +msgid "printer-state-reasons.stacker-warming-up" +msgstr "" + +#. TRANSLATORS: Stapler Added +#: locale/ipp-strings.c:3856 +msgid "printer-state-reasons.stapler-added" +msgstr "" + +#. TRANSLATORS: Stapler Almost Empty +#: locale/ipp-strings.c:3858 +msgid "printer-state-reasons.stapler-almost-empty" +msgstr "" + +#. TRANSLATORS: Stapler Almost Full +#: locale/ipp-strings.c:3860 +msgid "printer-state-reasons.stapler-almost-full" +msgstr "" + +#. TRANSLATORS: Stapler At Limit +#: locale/ipp-strings.c:3862 +msgid "printer-state-reasons.stapler-at-limit" +msgstr "" + +#. TRANSLATORS: Stapler Closed +#: locale/ipp-strings.c:3864 +msgid "printer-state-reasons.stapler-closed" +msgstr "" + +#. TRANSLATORS: Stapler Configuration Change +#: locale/ipp-strings.c:3866 +msgid "printer-state-reasons.stapler-configuration-change" +msgstr "" + +#. TRANSLATORS: Stapler Cover Closed +#: locale/ipp-strings.c:3868 +msgid "printer-state-reasons.stapler-cover-closed" +msgstr "" + +#. TRANSLATORS: Stapler Cover Open +#: locale/ipp-strings.c:3870 +msgid "printer-state-reasons.stapler-cover-open" +msgstr "" + +#. TRANSLATORS: Stapler Empty +#: locale/ipp-strings.c:3872 +msgid "printer-state-reasons.stapler-empty" +msgstr "" + +#. TRANSLATORS: Stapler Full +#: locale/ipp-strings.c:3874 +msgid "printer-state-reasons.stapler-full" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Closed +#: locale/ipp-strings.c:3876 +msgid "printer-state-reasons.stapler-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Open +#: locale/ipp-strings.c:3878 +msgid "printer-state-reasons.stapler-interlock-open" +msgstr "" + +#. TRANSLATORS: Stapler Jam +#: locale/ipp-strings.c:3880 +msgid "printer-state-reasons.stapler-jam" +msgstr "" + +#. TRANSLATORS: Stapler Life Almost Over +#: locale/ipp-strings.c:3882 +msgid "printer-state-reasons.stapler-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stapler Life Over +#: locale/ipp-strings.c:3884 +msgid "printer-state-reasons.stapler-life-over" +msgstr "" + +#. TRANSLATORS: Stapler Memory Exhausted +#: locale/ipp-strings.c:3886 +msgid "printer-state-reasons.stapler-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stapler Missing +#: locale/ipp-strings.c:3888 +msgid "printer-state-reasons.stapler-missing" +msgstr "" + +#. TRANSLATORS: Stapler Motor Failure +#: locale/ipp-strings.c:3890 +msgid "printer-state-reasons.stapler-motor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Near Limit +#: locale/ipp-strings.c:3892 +msgid "printer-state-reasons.stapler-near-limit" +msgstr "" + +#. TRANSLATORS: Stapler Offline +#: locale/ipp-strings.c:3894 +msgid "printer-state-reasons.stapler-offline" +msgstr "" + +#. TRANSLATORS: Stapler Opened +#: locale/ipp-strings.c:3896 +msgid "printer-state-reasons.stapler-opened" +msgstr "" + +#. TRANSLATORS: Stapler Over Temperature +#: locale/ipp-strings.c:3898 +msgid "printer-state-reasons.stapler-over-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Power Saver +#: locale/ipp-strings.c:3900 +msgid "printer-state-reasons.stapler-power-saver" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Failure +#: locale/ipp-strings.c:3902 +msgid "printer-state-reasons.stapler-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Storage +#: locale/ipp-strings.c:3904 +msgid "printer-state-reasons.stapler-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stapler Removed +#: locale/ipp-strings.c:3906 +msgid "printer-state-reasons.stapler-removed" +msgstr "" + +#. TRANSLATORS: Stapler Resource Added +#: locale/ipp-strings.c:3908 +msgid "printer-state-reasons.stapler-resource-added" +msgstr "" + +#. TRANSLATORS: Stapler Resource Removed +#: locale/ipp-strings.c:3910 +msgid "printer-state-reasons.stapler-resource-removed" +msgstr "" + +#. TRANSLATORS: Stapler Thermistor Failure +#: locale/ipp-strings.c:3912 +msgid "printer-state-reasons.stapler-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Timing Failure +#: locale/ipp-strings.c:3914 +msgid "printer-state-reasons.stapler-timing-failure" +msgstr "" + +#. TRANSLATORS: Stapler Turned Off +#: locale/ipp-strings.c:3916 +msgid "printer-state-reasons.stapler-turned-off" +msgstr "" + +#. TRANSLATORS: Stapler Turned On +#: locale/ipp-strings.c:3918 +msgid "printer-state-reasons.stapler-turned-on" +msgstr "" + +#. TRANSLATORS: Stapler Under Temperature +#: locale/ipp-strings.c:3920 +msgid "printer-state-reasons.stapler-under-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Failure +#: locale/ipp-strings.c:3922 +msgid "printer-state-reasons.stapler-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Storage Error +#: locale/ipp-strings.c:3924 +msgid "printer-state-reasons.stapler-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stapler Warming Up +#: locale/ipp-strings.c:3926 +msgid "printer-state-reasons.stapler-warming-up" +msgstr "" + +#. TRANSLATORS: Stitcher Added +#: locale/ipp-strings.c:3928 +msgid "printer-state-reasons.stitcher-added" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Empty +#: locale/ipp-strings.c:3930 +msgid "printer-state-reasons.stitcher-almost-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Full +#: locale/ipp-strings.c:3932 +msgid "printer-state-reasons.stitcher-almost-full" +msgstr "" + +#. TRANSLATORS: Stitcher At Limit +#: locale/ipp-strings.c:3934 +msgid "printer-state-reasons.stitcher-at-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Closed +#: locale/ipp-strings.c:3936 +msgid "printer-state-reasons.stitcher-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Configuration Change +#: locale/ipp-strings.c:3938 +msgid "printer-state-reasons.stitcher-configuration-change" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Closed +#: locale/ipp-strings.c:3940 +msgid "printer-state-reasons.stitcher-cover-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Open +#: locale/ipp-strings.c:3942 +msgid "printer-state-reasons.stitcher-cover-open" +msgstr "" + +#. TRANSLATORS: Stitcher Empty +#: locale/ipp-strings.c:3944 +msgid "printer-state-reasons.stitcher-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Full +#: locale/ipp-strings.c:3946 +msgid "printer-state-reasons.stitcher-full" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Closed +#: locale/ipp-strings.c:3948 +msgid "printer-state-reasons.stitcher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Open +#: locale/ipp-strings.c:3950 +msgid "printer-state-reasons.stitcher-interlock-open" +msgstr "" + +#. TRANSLATORS: Stitcher Jam +#: locale/ipp-strings.c:3952 +msgid "printer-state-reasons.stitcher-jam" +msgstr "" + +#. TRANSLATORS: Stitcher Life Almost Over +#: locale/ipp-strings.c:3954 +msgid "printer-state-reasons.stitcher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stitcher Life Over +#: locale/ipp-strings.c:3956 +msgid "printer-state-reasons.stitcher-life-over" +msgstr "" + +#. TRANSLATORS: Stitcher Memory Exhausted +#: locale/ipp-strings.c:3958 +msgid "printer-state-reasons.stitcher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stitcher Missing +#: locale/ipp-strings.c:3960 +msgid "printer-state-reasons.stitcher-missing" +msgstr "" + +#. TRANSLATORS: Stitcher Motor Failure +#: locale/ipp-strings.c:3962 +msgid "printer-state-reasons.stitcher-motor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Near Limit +#: locale/ipp-strings.c:3964 +msgid "printer-state-reasons.stitcher-near-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Offline +#: locale/ipp-strings.c:3966 +msgid "printer-state-reasons.stitcher-offline" +msgstr "" + +#. TRANSLATORS: Stitcher Opened +#: locale/ipp-strings.c:3968 +msgid "printer-state-reasons.stitcher-opened" +msgstr "" + +#. TRANSLATORS: Stitcher Over Temperature +#: locale/ipp-strings.c:3970 +msgid "printer-state-reasons.stitcher-over-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Power Saver +#: locale/ipp-strings.c:3972 +msgid "printer-state-reasons.stitcher-power-saver" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Failure +#: locale/ipp-strings.c:3974 +msgid "printer-state-reasons.stitcher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Storage +#: locale/ipp-strings.c:3976 +msgid "printer-state-reasons.stitcher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stitcher Removed +#: locale/ipp-strings.c:3978 +msgid "printer-state-reasons.stitcher-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Added +#: locale/ipp-strings.c:3980 +msgid "printer-state-reasons.stitcher-resource-added" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Removed +#: locale/ipp-strings.c:3982 +msgid "printer-state-reasons.stitcher-resource-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Thermistor Failure +#: locale/ipp-strings.c:3984 +msgid "printer-state-reasons.stitcher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Timing Failure +#: locale/ipp-strings.c:3986 +msgid "printer-state-reasons.stitcher-timing-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Turned Off +#: locale/ipp-strings.c:3988 +msgid "printer-state-reasons.stitcher-turned-off" +msgstr "" + +#. TRANSLATORS: Stitcher Turned On +#: locale/ipp-strings.c:3990 +msgid "printer-state-reasons.stitcher-turned-on" +msgstr "" + +#. TRANSLATORS: Stitcher Under Temperature +#: locale/ipp-strings.c:3992 +msgid "printer-state-reasons.stitcher-under-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Failure +#: locale/ipp-strings.c:3994 +msgid "printer-state-reasons.stitcher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Storage Error +#: locale/ipp-strings.c:3996 +msgid "printer-state-reasons.stitcher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stitcher Warming Up +#: locale/ipp-strings.c:3998 +msgid "printer-state-reasons.stitcher-warming-up" +msgstr "" + +#. TRANSLATORS: Partially stopped +#: locale/ipp-strings.c:4000 +msgid "printer-state-reasons.stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +#: locale/ipp-strings.c:4002 +msgid "printer-state-reasons.stopping" +msgstr "" + +#. TRANSLATORS: Subunit Added +#: locale/ipp-strings.c:4004 +msgid "printer-state-reasons.subunit-added" +msgstr "" + +#. TRANSLATORS: Subunit Almost Empty +#: locale/ipp-strings.c:4006 +msgid "printer-state-reasons.subunit-almost-empty" +msgstr "" + +#. TRANSLATORS: Subunit Almost Full +#: locale/ipp-strings.c:4008 +msgid "printer-state-reasons.subunit-almost-full" +msgstr "" + +#. TRANSLATORS: Subunit At Limit +#: locale/ipp-strings.c:4010 +msgid "printer-state-reasons.subunit-at-limit" +msgstr "" + +#. TRANSLATORS: Subunit Closed +#: locale/ipp-strings.c:4012 +msgid "printer-state-reasons.subunit-closed" +msgstr "" + +#. TRANSLATORS: Subunit Cooling Down +#: locale/ipp-strings.c:4014 +msgid "printer-state-reasons.subunit-cooling-down" +msgstr "" + +#. TRANSLATORS: Subunit Empty +#: locale/ipp-strings.c:4016 +msgid "printer-state-reasons.subunit-empty" +msgstr "" + +#. TRANSLATORS: Subunit Full +#: locale/ipp-strings.c:4018 +msgid "printer-state-reasons.subunit-full" +msgstr "" + +#. TRANSLATORS: Subunit Life Almost Over +#: locale/ipp-strings.c:4020 +msgid "printer-state-reasons.subunit-life-almost-over" +msgstr "" + +#. TRANSLATORS: Subunit Life Over +#: locale/ipp-strings.c:4022 +msgid "printer-state-reasons.subunit-life-over" +msgstr "" + +#. TRANSLATORS: Subunit Memory Exhausted +#: locale/ipp-strings.c:4024 +msgid "printer-state-reasons.subunit-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Subunit Missing +#: locale/ipp-strings.c:4026 +msgid "printer-state-reasons.subunit-missing" +msgstr "" + +#. TRANSLATORS: Subunit Motor Failure +#: locale/ipp-strings.c:4028 +msgid "printer-state-reasons.subunit-motor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Near Limit +#: locale/ipp-strings.c:4030 +msgid "printer-state-reasons.subunit-near-limit" +msgstr "" + +#. TRANSLATORS: Subunit Offline +#: locale/ipp-strings.c:4032 +msgid "printer-state-reasons.subunit-offline" +msgstr "" + +#. TRANSLATORS: Subunit Opened +#: locale/ipp-strings.c:4034 +msgid "printer-state-reasons.subunit-opened" +msgstr "" + +#. TRANSLATORS: Subunit Over Temperature +#: locale/ipp-strings.c:4036 +msgid "printer-state-reasons.subunit-over-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Power Saver +#: locale/ipp-strings.c:4038 +msgid "printer-state-reasons.subunit-power-saver" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Failure +#: locale/ipp-strings.c:4040 +msgid "printer-state-reasons.subunit-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Storage +#: locale/ipp-strings.c:4042 +msgid "printer-state-reasons.subunit-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Removed +#: locale/ipp-strings.c:4044 +msgid "printer-state-reasons.subunit-removed" +msgstr "" + +#. TRANSLATORS: Subunit Resource Added +#: locale/ipp-strings.c:4046 +msgid "printer-state-reasons.subunit-resource-added" +msgstr "" + +#. TRANSLATORS: Subunit Resource Removed +#: locale/ipp-strings.c:4048 +msgid "printer-state-reasons.subunit-resource-removed" +msgstr "" + +#. TRANSLATORS: Subunit Thermistor Failure +#: locale/ipp-strings.c:4050 +msgid "printer-state-reasons.subunit-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Timing Failure +#: locale/ipp-strings.c:4052 +msgid "printer-state-reasons.subunit-timing-Failure" +msgstr "" + +#. TRANSLATORS: Subunit Turned Off +#: locale/ipp-strings.c:4054 +msgid "printer-state-reasons.subunit-turned-off" +msgstr "" + +#. TRANSLATORS: Subunit Turned On +#: locale/ipp-strings.c:4056 +msgid "printer-state-reasons.subunit-turned-on" +msgstr "" + +#. TRANSLATORS: Subunit Under Temperature +#: locale/ipp-strings.c:4058 +msgid "printer-state-reasons.subunit-under-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Failure +#: locale/ipp-strings.c:4060 +msgid "printer-state-reasons.subunit-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Storage +#: locale/ipp-strings.c:4062 +msgid "printer-state-reasons.subunit-unrecoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Warming Up +#: locale/ipp-strings.c:4064 +msgid "printer-state-reasons.subunit-warming-up" +msgstr "" + +#. TRANSLATORS: Printer stopped responding +#: locale/ipp-strings.c:4066 +msgid "printer-state-reasons.timed-out" +msgstr "" + +#. TRANSLATORS: Out of toner +#: locale/ipp-strings.c:4068 +msgid "printer-state-reasons.toner-empty" +msgstr "" + +#. TRANSLATORS: Toner low +#: locale/ipp-strings.c:4070 +msgid "printer-state-reasons.toner-low" +msgstr "" + +#. TRANSLATORS: Trimmer Added +#: locale/ipp-strings.c:4072 +msgid "printer-state-reasons.trimmer-added" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Empty +#: locale/ipp-strings.c:4074 +msgid "printer-state-reasons.trimmer-almost-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Full +#: locale/ipp-strings.c:4076 +msgid "printer-state-reasons.trimmer-almost-full" +msgstr "" + +#. TRANSLATORS: Trimmer At Limit +#: locale/ipp-strings.c:4078 +msgid "printer-state-reasons.trimmer-at-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Closed +#: locale/ipp-strings.c:4080 +msgid "printer-state-reasons.trimmer-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Configuration Change +#: locale/ipp-strings.c:4082 +msgid "printer-state-reasons.trimmer-configuration-change" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Closed +#: locale/ipp-strings.c:4084 +msgid "printer-state-reasons.trimmer-cover-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Open +#: locale/ipp-strings.c:4086 +msgid "printer-state-reasons.trimmer-cover-open" +msgstr "" + +#. TRANSLATORS: Trimmer Empty +#: locale/ipp-strings.c:4088 +msgid "printer-state-reasons.trimmer-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Full +#: locale/ipp-strings.c:4090 +msgid "printer-state-reasons.trimmer-full" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Closed +#: locale/ipp-strings.c:4092 +msgid "printer-state-reasons.trimmer-interlock-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Open +#: locale/ipp-strings.c:4094 +msgid "printer-state-reasons.trimmer-interlock-open" +msgstr "" + +#. TRANSLATORS: Trimmer Jam +#: locale/ipp-strings.c:4096 +msgid "printer-state-reasons.trimmer-jam" +msgstr "" + +#. TRANSLATORS: Trimmer Life Almost Over +#: locale/ipp-strings.c:4098 +msgid "printer-state-reasons.trimmer-life-almost-over" +msgstr "" + +#. TRANSLATORS: Trimmer Life Over +#: locale/ipp-strings.c:4100 +msgid "printer-state-reasons.trimmer-life-over" +msgstr "" + +#. TRANSLATORS: Trimmer Memory Exhausted +#: locale/ipp-strings.c:4102 +msgid "printer-state-reasons.trimmer-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Trimmer Missing +#: locale/ipp-strings.c:4104 +msgid "printer-state-reasons.trimmer-missing" +msgstr "" + +#. TRANSLATORS: Trimmer Motor Failure +#: locale/ipp-strings.c:4106 +msgid "printer-state-reasons.trimmer-motor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Near Limit +#: locale/ipp-strings.c:4108 +msgid "printer-state-reasons.trimmer-near-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Offline +#: locale/ipp-strings.c:4110 +msgid "printer-state-reasons.trimmer-offline" +msgstr "" + +#. TRANSLATORS: Trimmer Opened +#: locale/ipp-strings.c:4112 +msgid "printer-state-reasons.trimmer-opened" +msgstr "" + +#. TRANSLATORS: Trimmer Over Temperature +#: locale/ipp-strings.c:4114 +msgid "printer-state-reasons.trimmer-over-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Power Saver +#: locale/ipp-strings.c:4116 +msgid "printer-state-reasons.trimmer-power-saver" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Failure +#: locale/ipp-strings.c:4118 +msgid "printer-state-reasons.trimmer-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Storage +#: locale/ipp-strings.c:4120 +msgid "printer-state-reasons.trimmer-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Trimmer Removed +#: locale/ipp-strings.c:4122 +msgid "printer-state-reasons.trimmer-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Added +#: locale/ipp-strings.c:4124 +msgid "printer-state-reasons.trimmer-resource-added" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Removed +#: locale/ipp-strings.c:4126 +msgid "printer-state-reasons.trimmer-resource-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Thermistor Failure +#: locale/ipp-strings.c:4128 +msgid "printer-state-reasons.trimmer-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Timing Failure +#: locale/ipp-strings.c:4130 +msgid "printer-state-reasons.trimmer-timing-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Turned Off +#: locale/ipp-strings.c:4132 +msgid "printer-state-reasons.trimmer-turned-off" +msgstr "" + +#. TRANSLATORS: Trimmer Turned On +#: locale/ipp-strings.c:4134 +msgid "printer-state-reasons.trimmer-turned-on" +msgstr "" + +#. TRANSLATORS: Trimmer Under Temperature +#: locale/ipp-strings.c:4136 +msgid "printer-state-reasons.trimmer-under-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Failure +#: locale/ipp-strings.c:4138 +msgid "printer-state-reasons.trimmer-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Storage Error +#: locale/ipp-strings.c:4140 +msgid "printer-state-reasons.trimmer-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Trimmer Warming Up +#: locale/ipp-strings.c:4142 +msgid "printer-state-reasons.trimmer-warming-up" +msgstr "" + +#. TRANSLATORS: Unknown +#: locale/ipp-strings.c:4144 +msgid "printer-state-reasons.unknown" +msgstr "" + +#. TRANSLATORS: Wrapper Added +#: locale/ipp-strings.c:4146 +msgid "printer-state-reasons.wrapper-added" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Empty +#: locale/ipp-strings.c:4148 +msgid "printer-state-reasons.wrapper-almost-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Full +#: locale/ipp-strings.c:4150 +msgid "printer-state-reasons.wrapper-almost-full" +msgstr "" + +#. TRANSLATORS: Wrapper At Limit +#: locale/ipp-strings.c:4152 +msgid "printer-state-reasons.wrapper-at-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Closed +#: locale/ipp-strings.c:4154 +msgid "printer-state-reasons.wrapper-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Configuration Change +#: locale/ipp-strings.c:4156 +msgid "printer-state-reasons.wrapper-configuration-change" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Closed +#: locale/ipp-strings.c:4158 +msgid "printer-state-reasons.wrapper-cover-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Open +#: locale/ipp-strings.c:4160 +msgid "printer-state-reasons.wrapper-cover-open" +msgstr "" + +#. TRANSLATORS: Wrapper Empty +#: locale/ipp-strings.c:4162 +msgid "printer-state-reasons.wrapper-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Full +#: locale/ipp-strings.c:4164 +msgid "printer-state-reasons.wrapper-full" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Closed +#: locale/ipp-strings.c:4166 +msgid "printer-state-reasons.wrapper-interlock-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Open +#: locale/ipp-strings.c:4168 +msgid "printer-state-reasons.wrapper-interlock-open" +msgstr "" + +#. TRANSLATORS: Wrapper Jam +#: locale/ipp-strings.c:4170 +msgid "printer-state-reasons.wrapper-jam" +msgstr "" + +#. TRANSLATORS: Wrapper Life Almost Over +#: locale/ipp-strings.c:4172 +msgid "printer-state-reasons.wrapper-life-almost-over" +msgstr "" + +#. TRANSLATORS: Wrapper Life Over +#: locale/ipp-strings.c:4174 +msgid "printer-state-reasons.wrapper-life-over" +msgstr "" + +#. TRANSLATORS: Wrapper Memory Exhausted +#: locale/ipp-strings.c:4176 +msgid "printer-state-reasons.wrapper-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Wrapper Missing +#: locale/ipp-strings.c:4178 +msgid "printer-state-reasons.wrapper-missing" +msgstr "" + +#. TRANSLATORS: Wrapper Motor Failure +#: locale/ipp-strings.c:4180 +msgid "printer-state-reasons.wrapper-motor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Near Limit +#: locale/ipp-strings.c:4182 +msgid "printer-state-reasons.wrapper-near-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Offline +#: locale/ipp-strings.c:4184 +msgid "printer-state-reasons.wrapper-offline" +msgstr "" + +#. TRANSLATORS: Wrapper Opened +#: locale/ipp-strings.c:4186 +msgid "printer-state-reasons.wrapper-opened" +msgstr "" + +#. TRANSLATORS: Wrapper Over Temperature +#: locale/ipp-strings.c:4188 +msgid "printer-state-reasons.wrapper-over-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Power Saver +#: locale/ipp-strings.c:4190 +msgid "printer-state-reasons.wrapper-power-saver" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Failure +#: locale/ipp-strings.c:4192 +msgid "printer-state-reasons.wrapper-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Storage +#: locale/ipp-strings.c:4194 +msgid "printer-state-reasons.wrapper-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Wrapper Removed +#: locale/ipp-strings.c:4196 +msgid "printer-state-reasons.wrapper-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Added +#: locale/ipp-strings.c:4198 +msgid "printer-state-reasons.wrapper-resource-added" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Removed +#: locale/ipp-strings.c:4200 +msgid "printer-state-reasons.wrapper-resource-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Thermistor Failure +#: locale/ipp-strings.c:4202 +msgid "printer-state-reasons.wrapper-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Timing Failure +#: locale/ipp-strings.c:4204 +msgid "printer-state-reasons.wrapper-timing-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Turned Off +#: locale/ipp-strings.c:4206 +msgid "printer-state-reasons.wrapper-turned-off" +msgstr "" + +#. TRANSLATORS: Wrapper Turned On +#: locale/ipp-strings.c:4208 +msgid "printer-state-reasons.wrapper-turned-on" +msgstr "" + +#. TRANSLATORS: Wrapper Under Temperature +#: locale/ipp-strings.c:4210 +msgid "printer-state-reasons.wrapper-under-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Failure +#: locale/ipp-strings.c:4212 +msgid "printer-state-reasons.wrapper-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Storage Error +#: locale/ipp-strings.c:4214 +msgid "printer-state-reasons.wrapper-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Wrapper Warming Up +#: locale/ipp-strings.c:4216 +msgid "printer-state-reasons.wrapper-warming-up" +msgstr "" + +#. TRANSLATORS: Idle +#: locale/ipp-strings.c:4218 +msgid "printer-state.3" +msgstr "" + +#. TRANSLATORS: Processing +#: locale/ipp-strings.c:4220 +msgid "printer-state.4" +msgstr "" + +#. TRANSLATORS: Stopped +#: locale/ipp-strings.c:4222 +msgid "printer-state.5" +msgstr "" + +#. TRANSLATORS: Printer Uptime +#: locale/ipp-strings.c:4224 +msgid "printer-up-time" +msgstr "" + +#: cups/notify.c:80 cups/notify.c:121 +msgid "processing" +msgstr "" + +#. TRANSLATORS: Proof Print +#: locale/ipp-strings.c:4226 +msgid "proof-print" +msgstr "" + +#. TRANSLATORS: Proof Print Copies +#: locale/ipp-strings.c:4228 +msgid "proof-print-copies" +msgstr "" + +#. TRANSLATORS: Punching +#: locale/ipp-strings.c:4230 +msgid "punching" +msgstr "" + +#. TRANSLATORS: Punching Locations +#: locale/ipp-strings.c:4232 +msgid "punching-locations" +msgstr "" + +#. TRANSLATORS: Punching Offset +#: locale/ipp-strings.c:4234 +msgid "punching-offset" +msgstr "" + +#. TRANSLATORS: Punch Edge +#: locale/ipp-strings.c:4236 +msgid "punching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +#: locale/ipp-strings.c:4238 +msgid "punching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +#: locale/ipp-strings.c:4240 +msgid "punching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +#: locale/ipp-strings.c:4242 +msgid "punching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +#: locale/ipp-strings.c:4244 +msgid "punching-reference-edge.top" +msgstr "" + +#: systemv/lp.c:642 +#, c-format +msgid "request id is %s-%d (%d file(s))" +msgstr "" + +#: cups/snmp.c:974 +msgid "request-id uses indefinite length" +msgstr "" + +#. TRANSLATORS: Requested Attributes +#: locale/ipp-strings.c:4246 +msgid "requested-attributes" +msgstr "" + +#. TRANSLATORS: Retry Interval +#: locale/ipp-strings.c:4248 +msgid "retry-interval" +msgstr "" + +#. TRANSLATORS: Retry Timeout +#: locale/ipp-strings.c:4250 +msgid "retry-time-out" +msgstr "" + +#. TRANSLATORS: Save Disposition +#: locale/ipp-strings.c:4252 +msgid "save-disposition" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:4254 +msgid "save-disposition.none" +msgstr "" + +#. TRANSLATORS: Print and Save +#: locale/ipp-strings.c:4256 +msgid "save-disposition.print-save" +msgstr "" + +#. TRANSLATORS: Save Only +#: locale/ipp-strings.c:4258 +msgid "save-disposition.save-only" +msgstr "" + +#. TRANSLATORS: Save Document Format +#: locale/ipp-strings.c:4260 +msgid "save-document-format" +msgstr "" + +#. TRANSLATORS: Save Info +#: locale/ipp-strings.c:4262 +msgid "save-info" +msgstr "" + +#. TRANSLATORS: Save Location +#: locale/ipp-strings.c:4264 +msgid "save-location" +msgstr "" + +#. TRANSLATORS: Save Name +#: locale/ipp-strings.c:4266 +msgid "save-name" +msgstr "" + +#: systemv/lpstat.c:2032 +msgid "scheduler is not running" +msgstr "" + +#: systemv/lpstat.c:2028 +msgid "scheduler is running" +msgstr "" + +#. TRANSLATORS: Separator Sheets +#: locale/ipp-strings.c:4268 +msgid "separator-sheets" +msgstr "" + +#. TRANSLATORS: Type of Separator Sheets +#: locale/ipp-strings.c:4270 +msgid "separator-sheets-type" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +#: locale/ipp-strings.c:4272 +msgid "separator-sheets-type.both-sheets" +msgstr "" + +#. TRANSLATORS: End Sheet +#: locale/ipp-strings.c:4274 +msgid "separator-sheets-type.end-sheet" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:4276 +msgid "separator-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Slip Sheets +#: locale/ipp-strings.c:4278 +msgid "separator-sheets-type.slip-sheets" +msgstr "" + +#. TRANSLATORS: Start Sheet +#: locale/ipp-strings.c:4280 +msgid "separator-sheets-type.start-sheet" +msgstr "" + +#. TRANSLATORS: 2-Sided Printing +#: locale/ipp-strings.c:4282 +msgid "sides" +msgstr "" + +#. TRANSLATORS: Off +#: locale/ipp-strings.c:4284 +msgid "sides.one-sided" +msgstr "" + +#. TRANSLATORS: On (Portrait) +#: locale/ipp-strings.c:4286 +msgid "sides.two-sided-long-edge" +msgstr "" + +#. TRANSLATORS: On (Landscape) +#: locale/ipp-strings.c:4288 +msgid "sides.two-sided-short-edge" +msgstr "" + +#: cups/adminutil.c:1384 +#, c-format +msgid "stat of %s failed: %s" +msgstr "" + +#: berkeley/lpc.c:197 +msgid "status\t\tShow status of daemon and queue." +msgstr "" + +#. TRANSLATORS: Status Message +#: locale/ipp-strings.c:4290 +msgid "status-message" +msgstr "" + +#. TRANSLATORS: Staple +#: locale/ipp-strings.c:4292 +msgid "stitching" +msgstr "" + +#. TRANSLATORS: Stitching Angle +#: locale/ipp-strings.c:4294 +msgid "stitching-angle" +msgstr "" + +#. TRANSLATORS: Stitching Locations +#: locale/ipp-strings.c:4296 +msgid "stitching-locations" +msgstr "" + +#. TRANSLATORS: Staple Method +#: locale/ipp-strings.c:4298 +msgid "stitching-method" +msgstr "" + +#. TRANSLATORS: Automatic +#: locale/ipp-strings.c:4300 +msgid "stitching-method.auto" +msgstr "" + +#. TRANSLATORS: Crimp +#: locale/ipp-strings.c:4302 +msgid "stitching-method.crimp" +msgstr "" + +#. TRANSLATORS: Wire +#: locale/ipp-strings.c:4304 +msgid "stitching-method.wire" +msgstr "" + +#. TRANSLATORS: Stitching Offset +#: locale/ipp-strings.c:4306 +msgid "stitching-offset" +msgstr "" + +#. TRANSLATORS: Staple Edge +#: locale/ipp-strings.c:4308 +msgid "stitching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +#: locale/ipp-strings.c:4310 +msgid "stitching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +#: locale/ipp-strings.c:4312 +msgid "stitching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +#: locale/ipp-strings.c:4314 +msgid "stitching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +#: locale/ipp-strings.c:4316 +msgid "stitching-reference-edge.top" +msgstr "" + +#: cups/notify.c:83 cups/notify.c:124 +msgid "stopped" +msgstr "" + +#. TRANSLATORS: Subject +#: locale/ipp-strings.c:4318 +msgid "subject" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Attributes +#: locale/ipp-strings.c:4320 +msgid "subscription-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +#: locale/ipp-strings.c:4322 +msgid "subscription-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +#: locale/ipp-strings.c:4324 +msgid "subscription-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:4326 +msgid "subscription-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Subscription Description +#: locale/ipp-strings.c:4328 +msgid "subscription-privacy-attributes.subscription-description" +msgstr "" + +#. TRANSLATORS: Subscription Template +#: locale/ipp-strings.c:4330 +msgid "subscription-privacy-attributes.subscription-template" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Scope +#: locale/ipp-strings.c:4332 +msgid "subscription-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +#: locale/ipp-strings.c:4334 +msgid "subscription-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +#: locale/ipp-strings.c:4336 +msgid "subscription-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +#: locale/ipp-strings.c:4338 +msgid "subscription-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +#: locale/ipp-strings.c:4340 +msgid "subscription-privacy-scope.owner" +msgstr "" + +#: systemv/lpstat.c:1077 +#, c-format +msgid "system default destination: %s" +msgstr "" + +#: systemv/lpstat.c:1074 +#, c-format +msgid "system default destination: %s/%s" +msgstr "" + +#. TRANSLATORS: T33 Subaddress +#: locale/ipp-strings.c:4342 +msgid "t33-subaddress" +msgstr "" + +#. TRANSLATORS: To Name +#: locale/ipp-strings.c:4344 +msgid "to-name" +msgstr "" + +#. TRANSLATORS: Transmission Status +#: locale/ipp-strings.c:4346 +msgid "transmission-status" +msgstr "" + +#. TRANSLATORS: Pending +#: locale/ipp-strings.c:4348 +msgid "transmission-status.3" +msgstr "" + +#. TRANSLATORS: Pending Retry +#: locale/ipp-strings.c:4350 +msgid "transmission-status.4" +msgstr "" + +#. TRANSLATORS: Processing +#: locale/ipp-strings.c:4352 +msgid "transmission-status.5" +msgstr "" + +#. TRANSLATORS: Canceled +#: locale/ipp-strings.c:4354 +msgid "transmission-status.7" +msgstr "" + +#. TRANSLATORS: Aborted +#: locale/ipp-strings.c:4356 +msgid "transmission-status.8" +msgstr "" + +#. TRANSLATORS: Completed +#: locale/ipp-strings.c:4358 +msgid "transmission-status.9" +msgstr "" + +#. TRANSLATORS: Cut +#: locale/ipp-strings.c:4360 +msgid "trimming" +msgstr "" + +#. TRANSLATORS: Cut Position +#: locale/ipp-strings.c:4362 +msgid "trimming-offset" +msgstr "" + +#. TRANSLATORS: Cut Edge +#: locale/ipp-strings.c:4364 +msgid "trimming-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +#: locale/ipp-strings.c:4366 +msgid "trimming-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +#: locale/ipp-strings.c:4368 +msgid "trimming-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +#: locale/ipp-strings.c:4370 +msgid "trimming-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +#: locale/ipp-strings.c:4372 +msgid "trimming-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Type of Cut +#: locale/ipp-strings.c:4374 +msgid "trimming-type" +msgstr "" + +#. TRANSLATORS: Draw Line +#: locale/ipp-strings.c:4376 +msgid "trimming-type.draw-line" +msgstr "" + +#. TRANSLATORS: Full +#: locale/ipp-strings.c:4378 +msgid "trimming-type.full" +msgstr "" + +#. TRANSLATORS: Partial +#: locale/ipp-strings.c:4380 +msgid "trimming-type.partial" +msgstr "" + +#. TRANSLATORS: Perforate +#: locale/ipp-strings.c:4382 +msgid "trimming-type.perforate" +msgstr "" + +#. TRANSLATORS: Score +#: locale/ipp-strings.c:4384 +msgid "trimming-type.score" +msgstr "" + +#. TRANSLATORS: Tab +#: locale/ipp-strings.c:4386 +msgid "trimming-type.tab" +msgstr "" + +#. TRANSLATORS: Cut After +#: locale/ipp-strings.c:4388 +msgid "trimming-when" +msgstr "" + +#. TRANSLATORS: Every Document +#: locale/ipp-strings.c:4390 +msgid "trimming-when.after-documents" +msgstr "" + +#. TRANSLATORS: Job +#: locale/ipp-strings.c:4392 +msgid "trimming-when.after-job" +msgstr "" + +#. TRANSLATORS: Every Set +#: locale/ipp-strings.c:4394 +msgid "trimming-when.after-sets" +msgstr "" + +#. TRANSLATORS: Every Page +#: locale/ipp-strings.c:4396 +msgid "trimming-when.after-sheets" +msgstr "" + +#: cups/notify.c:95 cups/notify.c:127 +msgid "unknown" +msgstr "" + +#: cups/notify.c:104 +msgid "untitled" +msgstr "" + +#: cups/snmp.c:999 +msgid "variable-bindings uses indefinite length" +msgstr "" + +#. TRANSLATORS: X Accuracy +#: locale/ipp-strings.c:4398 +msgid "x-accuracy" +msgstr "" + +#. TRANSLATORS: X Dimension +#: locale/ipp-strings.c:4400 +msgid "x-dimension" +msgstr "" + +#. TRANSLATORS: X Offset +#: locale/ipp-strings.c:4402 +msgid "x-offset" +msgstr "" + +#. TRANSLATORS: X Origin +#: locale/ipp-strings.c:4404 +msgid "x-origin" +msgstr "" + +#. TRANSLATORS: Y Accuracy +#: locale/ipp-strings.c:4406 +msgid "y-accuracy" +msgstr "" + +#. TRANSLATORS: Y Dimension +#: locale/ipp-strings.c:4408 +msgid "y-dimension" +msgstr "" + +#. TRANSLATORS: Y Offset +#: locale/ipp-strings.c:4410 +msgid "y-offset" +msgstr "" + +#. TRANSLATORS: Y Origin +#: locale/ipp-strings.c:4412 +msgid "y-origin" +msgstr "" + +#. TRANSLATORS: Z Accuracy +#: locale/ipp-strings.c:4414 +msgid "z-accuracy" +msgstr "" + +#. TRANSLATORS: Z Dimension +#: locale/ipp-strings.c:4416 +msgid "z-dimension" +msgstr "" + +#. TRANSLATORS: Z Offset +#: locale/ipp-strings.c:4418 +msgid "z-offset" +msgstr "" + +#: tools/ippfind.c:2814 +msgid "{service_domain} Domain name" +msgstr "" + +#: tools/ippfind.c:2815 +msgid "{service_hostname} Fully-qualified domain name" +msgstr "" + +#: tools/ippfind.c:2816 +msgid "{service_name} Service instance name" +msgstr "" + +#: tools/ippfind.c:2817 +msgid "{service_port} Port number" +msgstr "" + +#: tools/ippfind.c:2818 +msgid "{service_regtype} DNS-SD registration type" +msgstr "" + +#: tools/ippfind.c:2819 +msgid "{service_scheme} URI scheme" +msgstr "" + +#: tools/ippfind.c:2820 +msgid "{service_uri} URI" +msgstr "" + +#: tools/ippfind.c:2821 +msgid "{txt_*} Value of TXT record key" +msgstr "" + +#: tools/ippfind.c:2813 +msgid "{} URI" +msgstr "" + +#: cups/dest.c:1864 +msgid "~/.cups/lpoptions file names default destination that does not exist." +msgstr "" diff --git a/locale/cups.strings b/locale/cups.strings new file mode 100644 index 0000000..0c69de5 --- /dev/null +++ b/locale/cups.strings @@ -0,0 +1,6178 @@ +"\t\t(all)" = "\t\t(all)"; +"\t\t(none)" = "\t\t(none)"; +"\t%d entries" = "\t%d entries"; +"\t%s" = "\t%s"; +"\tAfter fault: continue" = "\tAfter fault: continue"; +"\tAlerts: %s" = "\tAlerts: %s"; +"\tBanner required" = "\tBanner required"; +"\tCharset sets:" = "\tCharset sets:"; +"\tConnection: direct" = "\tConnection: direct"; +"\tConnection: remote" = "\tConnection: remote"; +"\tContent types: any" = "\tContent types: any"; +"\tDefault page size:" = "\tDefault page size:"; +"\tDefault pitch:" = "\tDefault pitch:"; +"\tDefault port settings:" = "\tDefault port settings:"; +"\tDescription: %s" = "\tDescription: %s"; +"\tForm mounted:" = "\tForm mounted:"; +"\tForms allowed:" = "\tForms allowed:"; +"\tInterface: %s.ppd" = "\tInterface: %s.ppd"; +"\tInterface: %s/ppd/%s.ppd" = "\tInterface: %s/ppd/%s.ppd"; +"\tLocation: %s" = "\tLocation: %s"; +"\tOn fault: no alert" = "\tOn fault: no alert"; +"\tPrinter types: unknown" = "\tPrinter types: unknown"; +"\tStatus: %s" = "\tStatus: %s"; +"\tUsers allowed:" = "\tUsers allowed:"; +"\tUsers denied:" = "\tUsers denied:"; +"\tdaemon present" = "\tdaemon present"; +"\tno entries" = "\tno entries"; +"\tprinter is on device '%s' speed -1" = "\tprinter is on device ‘%s’ speed -1"; +"\tprinting is disabled" = "\tprinting is disabled"; +"\tprinting is enabled" = "\tprinting is enabled"; +"\tqueued for %s" = "\tqueued for %s"; +"\tqueuing is disabled" = "\tqueuing is disabled"; +"\tqueuing is enabled" = "\tqueuing is enabled"; +"\treason unknown" = "\treason unknown"; +"\n DETAILED CONFORMANCE TEST RESULTS" = "\n DETAILED CONFORMANCE TEST RESULTS"; +" REF: Page 15, section 3.1." = " REF: Page 15, section 3.1."; +" REF: Page 15, section 3.2." = " REF: Page 15, section 3.2."; +" REF: Page 19, section 3.3." = " REF: Page 19, section 3.3."; +" REF: Page 20, section 3.4." = " REF: Page 20, section 3.4."; +" REF: Page 27, section 3.5." = " REF: Page 27, section 3.5."; +" REF: Page 42, section 5.2." = " REF: Page 42, section 5.2."; +" REF: Pages 16-17, section 3.2." = " REF: Pages 16-17, section 3.2."; +" REF: Pages 42-45, section 5.2." = " REF: Pages 42-45, section 5.2."; +" REF: Pages 45-46, section 5.2." = " REF: Pages 45-46, section 5.2."; +" REF: Pages 48-49, section 5.2." = " REF: Pages 48-49, section 5.2."; +" REF: Pages 52-54, section 5.2." = " REF: Pages 52-54, section 5.2."; +" %-39.39s %.0f bytes" = " %-39.39s %.0f bytes"; +" PASS Default%s" = " PASS Default%s"; +" PASS DefaultImageableArea" = " PASS DefaultImageableArea"; +" PASS DefaultPaperDimension" = " PASS DefaultPaperDimension"; +" PASS FileVersion" = " PASS FileVersion"; +" PASS FormatVersion" = " PASS FormatVersion"; +" PASS LanguageEncoding" = " PASS LanguageEncoding"; +" PASS LanguageVersion" = " PASS LanguageVersion"; +" PASS Manufacturer" = " PASS Manufacturer"; +" PASS ModelName" = " PASS ModelName"; +" PASS NickName" = " PASS NickName"; +" PASS PCFileName" = " PASS PCFileName"; +" PASS PSVersion" = " PASS PSVersion"; +" PASS PageRegion" = " PASS PageRegion"; +" PASS PageSize" = " PASS PageSize"; +" PASS Product" = " PASS Product"; +" PASS ShortNickName" = " PASS ShortNickName"; +" WARN %s has no corresponding options." = " WARN %s has no corresponding options."; +" WARN %s shares a common prefix with %s\n REF: Page 15, section 3.2." = " WARN %s shares a common prefix with %s\n REF: Page 15, section 3.2."; +" WARN Duplex option keyword %s may not work as expected and should be named Duplex.\n REF: Page 122, section 5.17" = " WARN Duplex option keyword %s may not work as expected and should be named Duplex.\n REF: Page 122, section 5.17"; +" WARN File contains a mix of CR, LF, and CR LF line endings." = " WARN File contains a mix of CR, LF, and CR LF line endings."; +" WARN LanguageEncoding required by PPD 4.3 spec.\n REF: Pages 56-57, section 5.3." = " WARN LanguageEncoding required by PPD 4.3 spec.\n REF: Pages 56-57, section 5.3."; +" WARN Line %d only contains whitespace." = " WARN Line %d only contains whitespace."; +" WARN Manufacturer required by PPD 4.3 spec.\n REF: Pages 58-59, section 5.3." = " WARN Manufacturer required by PPD 4.3 spec.\n REF: Pages 58-59, section 5.3."; +" WARN Non-Windows PPD files should use lines ending with only LF, not CR LF." = " WARN Non-Windows PPD files should use lines ending with only LF, not CR LF."; +" WARN Obsolete PPD version %.1f.\n REF: Page 42, section 5.2." = " WARN Obsolete PPD version %.1f.\n REF: Page 42, section 5.2."; +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n REF: Pages 61-62, section 5.3." = " WARN PCFileName longer than 8.3 in violation of PPD spec.\n REF: Pages 61-62, section 5.3."; +" WARN PCFileName should contain a unique filename.\n REF: Pages 61-62, section 5.3." = " WARN PCFileName should contain a unique filename.\n REF: Pages 61-62, section 5.3."; +" WARN Protocols contains PJL but JCL attributes are not set.\n REF: Pages 78-79, section 5.7." = " WARN Protocols contains PJL but JCL attributes are not set.\n REF: Pages 78-79, section 5.7."; +" WARN Protocols contains both PJL and BCP; expected TBCP.\n REF: Pages 78-79, section 5.7." = " WARN Protocols contains both PJL and BCP; expected TBCP.\n REF: Pages 78-79, section 5.7."; +" WARN ShortNickName required by PPD 4.3 spec.\n REF: Pages 64-65, section 5.3." = " WARN ShortNickName required by PPD 4.3 spec.\n REF: Pages 64-65, section 5.3."; +" %s \"%s %s\" conflicts with \"%s %s\"\n (constraint=\"%s %s %s %s\")." = " %s “%s %s” conflicts with “%s %s”\n (constraint=“%s %s %s %s”)."; +" %s %s %s does not exist." = " %s %s %s does not exist."; +" %s %s file \"%s\" has the wrong capitalization." = " %s %s file “%s” has the wrong capitalization."; +" %s Bad %s choice %s.\n REF: Page 122, section 5.17" = " %s Bad %s choice %s.\n REF: Page 122, section 5.17"; +" %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." = " %s Bad UTF-8 “%s” translation string for option %s, choice %s."; +" %s Bad UTF-8 \"%s\" translation string for option %s." = " %s Bad UTF-8 “%s” translation string for option %s."; +" %s Bad cupsFilter value \"%s\"." = " %s Bad cupsFilter value “%s”."; +" %s Bad cupsFilter2 value \"%s\"." = " %s Bad cupsFilter2 value “%s”."; +" %s Bad cupsICCProfile %s." = " %s Bad cupsICCProfile %s."; +" %s Bad cupsPreFilter value \"%s\"." = " %s Bad cupsPreFilter value “%s”."; +" %s Bad cupsUIConstraints %s: \"%s\"" = " %s Bad cupsUIConstraints %s: “%s”"; +" %s Bad language \"%s\"." = " %s Bad language “%s”."; +" %s Bad permissions on %s file \"%s\"." = " %s Bad permissions on %s file “%s”."; +" %s Bad spelling of %s - should be %s." = " %s Bad spelling of %s - should be %s."; +" %s Cannot provide both APScanAppPath and APScanAppBundleID." = " %s Cannot provide both APScanAppPath and APScanAppBundleID."; +" %s Default choices conflicting." = " %s Default choices conflicting."; +" %s Empty cupsUIConstraints %s" = " %s Empty cupsUIConstraints %s"; +" %s Missing \"%s\" translation string for option %s, choice %s." = " %s Missing “%s” translation string for option %s, choice %s."; +" %s Missing \"%s\" translation string for option %s." = " %s Missing “%s” translation string for option %s."; +" %s Missing %s file \"%s\"." = " %s Missing %s file “%s”."; +" %s Missing REQUIRED PageRegion option.\n REF: Page 100, section 5.14." = " %s Missing REQUIRED PageRegion option.\n REF: Page 100, section 5.14."; +" %s Missing REQUIRED PageSize option.\n REF: Page 99, section 5.14." = " %s Missing REQUIRED PageSize option.\n REF: Page 99, section 5.14."; +" %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." = " %s Missing choice *%s %s in UIConstraints “*%s %s *%s %s”."; +" %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" = " %s Missing choice *%s %s in cupsUIConstraints %s: “%s”"; +" %s Missing cupsUIResolver %s" = " %s Missing cupsUIResolver %s"; +" %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." = " %s Missing option %s in UIConstraints “*%s %s *%s %s”."; +" %s Missing option %s in cupsUIConstraints %s: \"%s\"" = " %s Missing option %s in cupsUIConstraints %s: “%s”"; +" %s No base translation \"%s\" is included in file." = " %s No base translation “%s” is included in file."; +" %s REQUIRED %s does not define choice None.\n REF: Page 122, section 5.17" = " %s REQUIRED %s does not define choice None.\n REF: Page 122, section 5.17"; +" %s Size \"%s\" defined for %s but not for %s." = " %s Size “%s” defined for %s but not for %s."; +" %s Size \"%s\" has unexpected dimensions (%gx%g)." = " %s Size “%s” has unexpected dimensions (%gx%g)."; +" %s Size \"%s\" should be \"%s\"." = " %s Size “%s” should be “%s”."; +" %s Size \"%s\" should be the Adobe standard name \"%s\"." = " %s Size “%s” should be the Adobe standard name “%s”."; +" %s cupsICCProfile %s hash value collides with %s." = " %s cupsICCProfile %s hash value collides with %s."; +" %s cupsUIResolver %s causes a loop." = " %s cupsUIResolver %s causes a loop."; +" %s cupsUIResolver %s does not list at least two different options." = " %s cupsUIResolver %s does not list at least two different options."; +" **FAIL** %s must be 1284DeviceID\n REF: Page 72, section 5.5" = " **FAIL** %s must be 1284DeviceID\n REF: Page 72, section 5.5"; +" **FAIL** Bad Default%s %s\n REF: Page 40, section 4.5." = " **FAIL** Bad Default%s %s\n REF: Page 40, section 4.5."; +" **FAIL** Bad DefaultImageableArea %s\n REF: Page 102, section 5.15." = " **FAIL** Bad DefaultImageableArea %s\n REF: Page 102, section 5.15."; +" **FAIL** Bad DefaultPaperDimension %s\n REF: Page 103, section 5.15." = " **FAIL** Bad DefaultPaperDimension %s\n REF: Page 103, section 5.15."; +" **FAIL** Bad FileVersion \"%s\"\n REF: Page 56, section 5.3." = " **FAIL** Bad FileVersion “%s”\n REF: Page 56, section 5.3."; +" **FAIL** Bad FormatVersion \"%s\"\n REF: Page 56, section 5.3." = " **FAIL** Bad FormatVersion “%s”\n REF: Page 56, section 5.3."; +" **FAIL** Bad JobPatchFile attribute in file\n REF: Page 24, section 3.4." = " **FAIL** Bad JobPatchFile attribute in file\n REF: Page 24, section 3.4."; +" **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." = " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1."; +" **FAIL** Bad LanguageVersion %s - must be English." = " **FAIL** Bad LanguageVersion %s - must be English."; +" **FAIL** Bad Manufacturer (should be \"%s\")\n REF: Page 211, table D.1." = " **FAIL** Bad Manufacturer (should be “%s”)\n REF: Page 211, table D.1."; +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n REF: Pages 59-60, section 5.3." = " **FAIL** Bad ModelName - “%c” not allowed in string.\n REF: Pages 59-60, section 5.3."; +" **FAIL** Bad PSVersion - not \"(string) int\".\n REF: Pages 62-64, section 5.3." = " **FAIL** Bad PSVersion - not “(string) int”.\n REF: Pages 62-64, section 5.3."; +" **FAIL** Bad Product - not \"(string)\".\n REF: Page 62, section 5.3." = " **FAIL** Bad Product - not “(string)”.\n REF: Page 62, section 5.3."; +" **FAIL** Bad ShortNickName - longer than 31 chars.\n REF: Pages 64-65, section 5.3." = " **FAIL** Bad ShortNickName - longer than 31 chars.\n REF: Pages 64-65, section 5.3."; +" **FAIL** Bad option %s choice %s\n REF: Page 84, section 5.9" = " **FAIL** Bad option %s choice %s\n REF: Page 84, section 5.9"; +" **FAIL** Default option code cannot be interpreted: %s" = " **FAIL** Default option code cannot be interpreted: %s"; +" **FAIL** Default translation string for option %s choice %s contains 8-bit characters." = " **FAIL** Default translation string for option %s choice %s contains 8-bit characters."; +" **FAIL** Default translation string for option %s contains 8-bit characters." = " **FAIL** Default translation string for option %s contains 8-bit characters."; +" **FAIL** Group names %s and %s differ only by case." = " **FAIL** Group names %s and %s differ only by case."; +" **FAIL** Multiple occurrences of option %s choice name %s." = " **FAIL** Multiple occurrences of option %s choice name %s."; +" **FAIL** Option %s choice names %s and %s differ only by case." = " **FAIL** Option %s choice names %s and %s differ only by case."; +" **FAIL** Option names %s and %s differ only by case." = " **FAIL** Option names %s and %s differ only by case."; +" **FAIL** REQUIRED Default%s\n REF: Page 40, section 4.5." = " **FAIL** REQUIRED Default%s\n REF: Page 40, section 4.5."; +" **FAIL** REQUIRED DefaultImageableArea\n REF: Page 102, section 5.15." = " **FAIL** REQUIRED DefaultImageableArea\n REF: Page 102, section 5.15."; +" **FAIL** REQUIRED DefaultPaperDimension\n REF: Page 103, section 5.15." = " **FAIL** REQUIRED DefaultPaperDimension\n REF: Page 103, section 5.15."; +" **FAIL** REQUIRED FileVersion\n REF: Page 56, section 5.3." = " **FAIL** REQUIRED FileVersion\n REF: Page 56, section 5.3."; +" **FAIL** REQUIRED FormatVersion\n REF: Page 56, section 5.3." = " **FAIL** REQUIRED FormatVersion\n REF: Page 56, section 5.3."; +" **FAIL** REQUIRED ImageableArea for PageSize %s\n REF: Page 41, section 5.\n REF: Page 102, section 5.15." = " **FAIL** REQUIRED ImageableArea for PageSize %s\n REF: Page 41, section 5.\n REF: Page 102, section 5.15."; +" **FAIL** REQUIRED LanguageEncoding\n REF: Pages 56-57, section 5.3." = " **FAIL** REQUIRED LanguageEncoding\n REF: Pages 56-57, section 5.3."; +" **FAIL** REQUIRED LanguageVersion\n REF: Pages 57-58, section 5.3." = " **FAIL** REQUIRED LanguageVersion\n REF: Pages 57-58, section 5.3."; +" **FAIL** REQUIRED Manufacturer\n REF: Pages 58-59, section 5.3." = " **FAIL** REQUIRED Manufacturer\n REF: Pages 58-59, section 5.3."; +" **FAIL** REQUIRED ModelName\n REF: Pages 59-60, section 5.3." = " **FAIL** REQUIRED ModelName\n REF: Pages 59-60, section 5.3."; +" **FAIL** REQUIRED NickName\n REF: Page 60, section 5.3." = " **FAIL** REQUIRED NickName\n REF: Page 60, section 5.3."; +" **FAIL** REQUIRED PCFileName\n REF: Pages 61-62, section 5.3." = " **FAIL** REQUIRED PCFileName\n REF: Pages 61-62, section 5.3."; +" **FAIL** REQUIRED PSVersion\n REF: Pages 62-64, section 5.3." = " **FAIL** REQUIRED PSVersion\n REF: Pages 62-64, section 5.3."; +" **FAIL** REQUIRED PageRegion\n REF: Page 100, section 5.14." = " **FAIL** REQUIRED PageRegion\n REF: Page 100, section 5.14."; +" **FAIL** REQUIRED PageSize\n REF: Page 41, section 5.\n REF: Page 99, section 5.14." = " **FAIL** REQUIRED PageSize\n REF: Page 41, section 5.\n REF: Page 99, section 5.14."; +" **FAIL** REQUIRED PageSize\n REF: Pages 99-100, section 5.14." = " **FAIL** REQUIRED PageSize\n REF: Pages 99-100, section 5.14."; +" **FAIL** REQUIRED PaperDimension for PageSize %s\n REF: Page 41, section 5.\n REF: Page 103, section 5.15." = " **FAIL** REQUIRED PaperDimension for PageSize %s\n REF: Page 41, section 5.\n REF: Page 103, section 5.15."; +" **FAIL** REQUIRED Product\n REF: Page 62, section 5.3." = " **FAIL** REQUIRED Product\n REF: Page 62, section 5.3."; +" **FAIL** REQUIRED ShortNickName\n REF: Page 64-65, section 5.3." = " **FAIL** REQUIRED ShortNickName\n REF: Page 64-65, section 5.3."; +" **FAIL** Unable to open PPD file - %s on line %d." = " **FAIL** Unable to open PPD file - %s on line %d."; +" %d ERRORS FOUND" = " %d ERRORS FOUND"; +" NO ERRORS FOUND" = " NO ERRORS FOUND"; +" --cr End lines with CR (Mac OS 9)." = " --cr End lines with CR (Mac OS 9)."; +" --crlf End lines with CR + LF (Windows)." = " --crlf End lines with CR + LF (Windows)."; +" --lf End lines with LF (UNIX/Linux/macOS)." = " --lf End lines with LF (UNIX/Linux/macOS)."; +" --list-filters List filters that will be used." = " --list-filters List filters that will be used."; +" -D Remove the input file when finished." = " -D Remove the input file when finished."; +" -D name=value Set named variable to value." = " -D name=value Set named variable to value."; +" -I include-dir Add include directory to search path." = " -I include-dir Add include directory to search path."; +" -P filename.ppd Set PPD file." = " -P filename.ppd Set PPD file."; +" -U username Specify username." = " -U username Specify username."; +" -c catalog.po Load the specified message catalog." = " -c catalog.po Load the specified message catalog."; +" -c cups-files.conf Set cups-files.conf file to use." = " -c cups-files.conf Set cups-files.conf file to use."; +" -d output-dir Specify the output directory." = " -d output-dir Specify the output directory."; +" -d printer Use the named printer." = " -d printer Use the named printer."; +" -e Use every filter from the PPD file." = " -e Use every filter from the PPD file."; +" -i mime/type Set input MIME type (otherwise auto-typed)." = " -i mime/type Set input MIME type (otherwise auto-typed)."; +" -j job-id[,N] Filter file N from the specified job (default is file 1)." = " -j job-id[,N] Filter file N from the specified job (default is file 1)."; +" -l lang[,lang,...] Specify the output language(s) (locale)." = " -l lang[,lang,…] Specify the output language(s) (locale)."; +" -m Use the ModelName value as the filename." = " -m Use the ModelName value as the filename."; +" -m mime/type Set output MIME type (otherwise application/pdf)." = " -m mime/type Set output MIME type (otherwise application/pdf)."; +" -n copies Set number of copies." = " -n copies Set number of copies."; +" -o filename.drv Set driver information file (otherwise ppdi.drv)." = " -o filename.drv Set driver information file (otherwise ppdi.drv)."; +" -o filename.ppd[.gz] Set output file (otherwise stdout)." = " -o filename.ppd[.gz] Set output file (otherwise stdout)."; +" -o name=value Set option(s)." = " -o name=value Set option(s)."; +" -p filename.ppd Set PPD file." = " -p filename.ppd Set PPD file."; +" -t Test PPDs instead of generating them." = " -t Test PPDs instead of generating them."; +" -t title Set title." = " -t title Set title."; +" -u Remove the PPD file when finished." = " -u Remove the PPD file when finished."; +" -v Be verbose." = " -v Be verbose."; +" -z Compress PPD files using GNU zip." = " -z Compress PPD files using GNU zip."; +" FAIL" = " FAIL"; +" PASS" = " PASS"; +"! expression Unary NOT of expression" = "! expression Unary NOT of expression"; +"\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." = "“%s”: Bad URI value “%s” - %s (RFC 8011 section 5.1.6)."; +"\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." = "“%s”: Bad URI value “%s” - bad length %d (RFC 8011 section 5.1.6)."; +"\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." = "“%s”: Bad attribute name - bad length %d (RFC 8011 section 5.1.4)."; +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." = "“%s”: Bad attribute name - invalid character (RFC 8011 section 5.1.4)."; +"\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." = "“%s”: Bad boolean value %d (RFC 8011 section 5.1.21)."; +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." = "“%s”: Bad charset value “%s” - bad characters (RFC 8011 section 5.1.8)."; +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." = "“%s”: Bad charset value “%s” - bad length %d (RFC 8011 section 5.1.8)."; +"\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." = "“%s”: Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)."; +"\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." = "“%s”: Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)."; +"\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." = "“%s”: Bad dateTime UTC sign ‘%c’ (RFC 8011 section 5.1.15)."; +"\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." = "“%s”: Bad dateTime day %u (RFC 8011 section 5.1.15)."; +"\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." = "“%s”: Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)."; +"\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." = "“%s”: Bad dateTime hours %u (RFC 8011 section 5.1.15)."; +"\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." = "“%s”: Bad dateTime minutes %u (RFC 8011 section 5.1.15)."; +"\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." = "“%s”: Bad dateTime month %u (RFC 8011 section 5.1.15)."; +"\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." = "“%s”: Bad dateTime seconds %u (RFC 8011 section 5.1.15)."; +"\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." = "“%s”: Bad enum value %d - out of range (RFC 8011 section 5.1.5)."; +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." = "“%s”: Bad keyword value “%s” - bad length %d (RFC 8011 section 5.1.4)."; +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section 5.1.4)." = "“%s”: Bad keyword value “%s” - invalid character (RFC 8011 section 5.1.4)."; +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section 5.1.10)." = "“%s”: Bad mimeMediaType value “%s” - bad characters (RFC 8011 section 5.1.10)."; +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section 5.1.10)." = "“%s”: Bad mimeMediaType value “%s” - bad length %d (RFC 8011 section 5.1.10)."; +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." = "“%s”: Bad name value “%s” - bad UTF-8 sequence (RFC 8011 section 5.1.3)."; +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section 8.1)." = "“%s”: Bad name value “%s” - bad control character (PWG 5100.14 section 8.1)."; +"\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." = "“%s”: Bad name value “%s” - bad length %d (RFC 8011 section 5.1.3)."; +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section 5.1.9)." = "“%s”: Bad naturalLanguage value “%s” - bad characters (RFC 8011 section 5.1.9)."; +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section 5.1.9)." = "“%s”: Bad naturalLanguage value “%s” - bad length %d (RFC 8011 section 5.1.9)."; +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." = "“%s”: Bad octetString value - bad length %d (RFC 8011 section 5.1.20)."; +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 section 5.1.14)." = "“%s”: Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 section 5.1.14)."; +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section 5.1.16)." = "“%s”: Bad resolution value %dx%d%s - bad units value (RFC 8011 section 5.1.16)."; +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be positive (RFC 8011 section 5.1.16)." = "“%s”: Bad resolution value %dx%d%s - cross feed resolution must be positive (RFC 8011 section 5.1.16)."; +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC 8011 section 5.1.16)." = "“%s”: Bad resolution value %dx%d%s - feed resolution must be positive (RFC 8011 section 5.1.16)."; +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." = "“%s”: Bad text value “%s” - bad UTF-8 sequence (RFC 8011 section 5.1.2)."; +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section 8.3)." = "“%s”: Bad text value “%s” - bad control character (PWG 5100.14 section 8.3)."; +"\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." = "“%s”: Bad text value “%s” - bad length %d (RFC 8011 section 5.1.2)."; +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." = "“%s”: Bad uriScheme value “%s” - bad characters (RFC 8011 section 5.1.7)."; +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." = "“%s”: Bad uriScheme value “%s” - bad length %d (RFC 8011 section 5.1.7)."; +"\"requesting-user-name\" attribute in wrong group." = "“requesting-user-name” attribute in wrong group."; +"\"requesting-user-name\" attribute with wrong syntax." = "“requesting-user-name” attribute with wrong syntax."; +"%-7s %-7.7s %-7d %-31.31s %.0f bytes" = "%-7s %-7.7s %-7d %-31.31s %.0f bytes"; +"%d x %d mm" = "%d x %d mm"; +"%g x %g \"" = "%g x %g ″"; +"%s (%s)" = "%s (%s)"; +"%s (%s, %s)" = "%s (%s, %s)"; +"%s (Borderless)" = "%s (Borderless)"; +"%s (Borderless, %s)" = "%s (Borderless, %s)"; +"%s (Borderless, %s, %s)" = "%s (Borderless, %s, %s)"; +"%s accepting requests since %s" = "%s accepting requests since %s"; +"%s cannot be changed." = "%s cannot be changed."; +"%s is not implemented by the CUPS version of lpc." = "%s is not implemented by the CUPS version of lpc."; +"%s is not ready" = "%s is not ready"; +"%s is ready" = "%s is ready"; +"%s is ready and printing" = "%s is ready and printing"; +"%s job-id user title copies options [file]" = "%s job-id user title copies options [file]"; +"%s not accepting requests since %s -" = "%s not accepting requests since %s -"; +"%s not supported." = "%s not supported."; +"%s/%s accepting requests since %s" = "%s/%s accepting requests since %s"; +"%s/%s not accepting requests since %s -" = "%s/%s not accepting requests since %s -"; +"%s: %-33.33s [job %d localhost]" = "%s: %-33.33s [job %d localhost]"; +// TRANSLATORS: Message is "subject: error" +"%s: %s" = "%s: %s"; +"%s: %s failed: %s" = "%s: %s failed: %s"; +"%s: Bad printer URI \"%s\"." = "%s: Bad printer URI “%s”."; +"%s: Bad version %s for \"-V\"." = "%s: Bad version %s for “-V”."; +"%s: Don't know what to do." = "%s: Don’t know what to do."; +"%s: Error - %s" = "%s: Error - %s"; +"%s: Error - %s environment variable names non-existent destination \"%s\"." = "%s: Error - %s environment variable names non-existent destination “%s”."; +"%s: Error - add '/version=1.1' to server name." = "%s: Error - add ‘/version=1.1’ to server name."; +"%s: Error - bad job ID." = "%s: Error - bad job ID."; +"%s: Error - cannot print files and alter jobs simultaneously." = "%s: Error - cannot print files and alter jobs simultaneously."; +"%s: Error - cannot print from stdin if files or a job ID are provided." = "%s: Error - cannot print from stdin if files or a job ID are provided."; +"%s: Error - copies must be 1 or more." = "%s: Error - copies must be 1 or more."; +"%s: Error - expected character set after \"-S\" option." = "%s: Error - expected character set after “-S” option."; +"%s: Error - expected content type after \"-T\" option." = "%s: Error - expected content type after “-T” option."; +"%s: Error - expected copies after \"-#\" option." = "%s: Error - expected copies after “-#” option."; +"%s: Error - expected copies after \"-n\" option." = "%s: Error - expected copies after “-n” option."; +"%s: Error - expected destination after \"-P\" option." = "%s: Error - expected destination after “-P” option."; +"%s: Error - expected destination after \"-d\" option." = "%s: Error - expected destination after “-d” option."; +"%s: Error - expected form after \"-f\" option." = "%s: Error - expected form after “-f” option."; +"%s: Error - expected hold name after \"-H\" option." = "%s: Error - expected hold name after “-H” option."; +"%s: Error - expected hostname after \"-H\" option." = "%s: Error - expected hostname after “-H” option."; +"%s: Error - expected hostname after \"-h\" option." = "%s: Error - expected hostname after “-h” option."; +"%s: Error - expected mode list after \"-y\" option." = "%s: Error - expected mode list after “-y” option."; +"%s: Error - expected name after \"-%c\" option." = "%s: Error - expected name after “-%c” option."; +"%s: Error - expected option=value after \"-o\" option." = "%s: Error - expected option=value after “-o” option."; +"%s: Error - expected page list after \"-P\" option." = "%s: Error - expected page list after “-P” option."; +"%s: Error - expected priority after \"-%c\" option." = "%s: Error - expected priority after “-%c” option."; +"%s: Error - expected reason text after \"-r\" option." = "%s: Error - expected reason text after “-r” option."; +"%s: Error - expected title after \"-t\" option." = "%s: Error - expected title after “-t” option."; +"%s: Error - expected username after \"-U\" option." = "%s: Error - expected username after “-U” option."; +"%s: Error - expected username after \"-u\" option." = "%s: Error - expected username after “-u” option."; +"%s: Error - expected value after \"-%c\" option." = "%s: Error - expected value after “-%c” option."; +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" option." = "%s: Error - need “completed”, “not-completed”, or “all” after “-W” option."; +"%s: Error - no default destination available." = "%s: Error - no default destination available."; +"%s: Error - priority must be between 1 and 100." = "%s: Error - priority must be between 1 and 100."; +"%s: Error - scheduler not responding." = "%s: Error - scheduler not responding."; +"%s: Error - too many files - \"%s\"." = "%s: Error - too many files - “%s”."; +"%s: Error - unable to access \"%s\" - %s" = "%s: Error - unable to access “%s” - %s"; +"%s: Error - unable to queue from stdin - %s." = "%s: Error - unable to queue from stdin - %s."; +"%s: Error - unknown destination \"%s\"." = "%s: Error - unknown destination “%s”."; +"%s: Error - unknown destination \"%s/%s\"." = "%s: Error - unknown destination “%s/%s”."; +"%s: Error - unknown option \"%c\"." = "%s: Error - unknown option “%c”."; +"%s: Error - unknown option \"%s\"." = "%s: Error - unknown option “%s”."; +"%s: Expected job ID after \"-i\" option." = "%s: Expected job ID after “-i” option."; +"%s: Invalid destination name in list \"%s\"." = "%s: Invalid destination name in list “%s”."; +"%s: Invalid filter string \"%s\"." = "%s: Invalid filter string “%s”."; +"%s: Missing filename for \"-P\"." = "%s: Missing filename for “-P”."; +"%s: Missing timeout for \"-T\"." = "%s: Missing timeout for “-T”."; +"%s: Missing version for \"-V\"." = "%s: Missing version for “-V”."; +"%s: Need job ID (\"-i jobid\") before \"-H restart\"." = "%s: Need job ID (“-i jobid”) before “-H restart”."; +"%s: No filter to convert from %s/%s to %s/%s." = "%s: No filter to convert from %s/%s to %s/%s."; +"%s: Operation failed: %s" = "%s: Operation failed: %s"; +"%s: Sorry, no encryption support." = "%s: Sorry, no encryption support."; +"%s: Unable to connect to \"%s:%d\": %s" = "%s: Unable to connect to “%s:%d”: %s"; +"%s: Unable to connect to server." = "%s: Unable to connect to server."; +"%s: Unable to contact server." = "%s: Unable to contact server."; +"%s: Unable to create PPD file: %s" = "%s: Unable to create PPD file: %s"; +"%s: Unable to determine MIME type of \"%s\"." = "%s: Unable to determine MIME type of “%s”."; +"%s: Unable to open \"%s\": %s" = "%s: Unable to open “%s”: %s"; +"%s: Unable to open %s: %s" = "%s: Unable to open %s: %s"; +"%s: Unable to open PPD file: %s on line %d." = "%s: Unable to open PPD file: %s on line %d."; +"%s: Unable to query printer: %s" = "%s: Unable to query printer: %s"; +"%s: Unable to read MIME database from \"%s\" or \"%s\"." = "%s: Unable to read MIME database from “%s” or “%s”."; +"%s: Unable to resolve \"%s\"." = "%s: Unable to resolve “%s”."; +"%s: Unknown argument \"%s\"." = "%s: Unknown argument “%s”."; +"%s: Unknown destination \"%s\"." = "%s: Unknown destination “%s”."; +"%s: Unknown destination MIME type %s/%s." = "%s: Unknown destination MIME type %s/%s."; +"%s: Unknown option \"%c\"." = "%s: Unknown option “%c”."; +"%s: Unknown option \"%s\"." = "%s: Unknown option “%s”."; +"%s: Unknown option \"-%c\"." = "%s: Unknown option “-%c”."; +"%s: Unknown source MIME type %s/%s." = "%s: Unknown source MIME type %s/%s."; +"%s: Warning - \"%c\" format modifier not supported - output may not be correct." = "%s: Warning - “%c” format modifier not supported - output may not be correct."; +"%s: Warning - character set option ignored." = "%s: Warning - character set option ignored."; +"%s: Warning - content type option ignored." = "%s: Warning - content type option ignored."; +"%s: Warning - form option ignored." = "%s: Warning - form option ignored."; +"%s: Warning - mode option ignored." = "%s: Warning - mode option ignored."; +"( expressions ) Group expressions" = "( expressions ) Group expressions"; +"- Cancel all jobs" = "- Cancel all jobs"; +"-# num-copies Specify the number of copies to print" = "-# num-copies Specify the number of copies to print"; +"--[no-]debug-logging Turn debug logging on/off" = "--[no-]debug-logging Turn debug logging on/off"; +"--[no-]remote-admin Turn remote administration on/off" = "--[no-]remote-admin Turn remote administration on/off"; +"--[no-]remote-any Allow/prevent access from the Internet" = "--[no-]remote-any Allow/prevent access from the Internet"; +"--[no-]share-printers Turn printer sharing on/off" = "--[no-]share-printers Turn printer sharing on/off"; +"--[no-]user-cancel-any Allow/prevent users to cancel any job" = "--[no-]user-cancel-any Allow/prevent users to cancel any job"; +"--device-id device-id Show models matching the given IEEE 1284 device ID" = "--device-id device-id Show models matching the given IEEE 1284 device ID"; +"--domain regex Match domain to regular expression" = "--domain regex Match domain to regular expression"; +"--exclude-schemes scheme-list\n Exclude the specified URI schemes" = "--exclude-schemes scheme-list\n Exclude the specified URI schemes"; +"--exec utility [argument ...] ;\n Execute program if true" = "--exec utility [argument …] ;\n Execute program if true"; +"--false Always false" = "--false Always false"; +"--help Show program help" = "--help Show program help"; +"--hold Hold new jobs" = "--hold Hold new jobs"; +"--host regex Match hostname to regular expression" = "--host regex Match hostname to regular expression"; +"--include-schemes scheme-list\n Include only the specified URI schemes" = "--include-schemes scheme-list\n Include only the specified URI schemes"; +"--ippserver filename Produce ippserver attribute file" = "--ippserver filename Produce ippserver attribute file"; +"--language locale Show models matching the given locale" = "--language locale Show models matching the given locale"; +"--local True if service is local" = "--local True if service is local"; +"--ls List attributes" = "--ls List attributes"; +"--make-and-model name Show models matching the given make and model name" = "--make-and-model name Show models matching the given make and model name"; +"--name regex Match service name to regular expression" = "--name regex Match service name to regular expression"; +"--no-web-forms Disable web forms for media and supplies" = "--no-web-forms Disable web forms for media and supplies"; +"--not expression Unary NOT of expression" = "--not expression Unary NOT of expression"; +"--path regex Match resource path to regular expression" = "--path regex Match resource path to regular expression"; +"--port number[-number] Match port to number or range" = "--port number[-number] Match port to number or range"; +"--print Print URI if true" = "--print Print URI if true"; +"--print-name Print service name if true" = "--print-name Print service name if true"; +"--product name Show models matching the given PostScript product" = "--product name Show models matching the given PostScript product"; +"--quiet Quietly report match via exit code" = "--quiet Quietly report match via exit code"; +"--release Release previously held jobs" = "--release Release previously held jobs"; +"--remote True if service is remote" = "--remote True if service is remote"; +"--stop-after-include-error\n Stop tests after a failed INCLUDE" = "--stop-after-include-error\n Stop tests after a failed INCLUDE"; +"--timeout seconds Specify the maximum number of seconds to discover devices" = "--timeout seconds Specify the maximum number of seconds to discover devices"; +"--true Always true" = "--true Always true"; +"--txt key True if the TXT record contains the key" = "--txt key True if the TXT record contains the key"; +"--txt-* regex Match TXT record key to regular expression" = "--txt-* regex Match TXT record key to regular expression"; +"--uri regex Match URI to regular expression" = "--uri regex Match URI to regular expression"; +"--version Show program version" = "--version Show program version"; +"--version Show version" = "--version Show version"; +"-1" = "-1"; +"-10" = "-10"; +"-100" = "-100"; +"-105" = "-105"; +"-11" = "-11"; +"-110" = "-110"; +"-115" = "-115"; +"-12" = "-12"; +"-120" = "-120"; +"-13" = "-13"; +"-14" = "-14"; +"-15" = "-15"; +"-2" = "-2"; +"-2 Set 2-sided printing support (default=1-sided)" = "-2 Set 2-sided printing support (default=1-sided)"; +"-20" = "-20"; +"-25" = "-25"; +"-3" = "-3"; +"-30" = "-30"; +"-35" = "-35"; +"-4" = "-4"; +"-4 Connect using IPv4" = "-4 Connect using IPv4"; +"-40" = "-40"; +"-45" = "-45"; +"-5" = "-5"; +"-50" = "-50"; +"-55" = "-55"; +"-6" = "-6"; +"-6 Connect using IPv6" = "-6 Connect using IPv6"; +"-60" = "-60"; +"-65" = "-65"; +"-7" = "-7"; +"-70" = "-70"; +"-75" = "-75"; +"-8" = "-8"; +"-80" = "-80"; +"-85" = "-85"; +"-9" = "-9"; +"-90" = "-90"; +"-95" = "-95"; +"-C Send requests using chunking (default)" = "-C Send requests using chunking (default)"; +"-D description Specify the textual description of the printer" = "-D description Specify the textual description of the printer"; +"-D device-uri Set the device URI for the printer" = "-D device-uri Set the device URI for the printer"; +"-E Enable and accept jobs on the printer (after -p)" = "-E Enable and accept jobs on the printer (after -p)"; +"-E Encrypt the connection to the server" = "-E Encrypt the connection to the server"; +"-E Test with encryption using HTTP Upgrade to TLS" = "-E Test with encryption using HTTP Upgrade to TLS"; +"-F Run in the foreground but detach from console." = "-F Run in the foreground but detach from console."; +"-F output-type/subtype Set the output format for the printer" = "-F output-type/subtype Set the output format for the printer"; +"-H Show the default server and port" = "-H Show the default server and port"; +"-H HH:MM Hold the job until the specified UTC time" = "-H HH:MM Hold the job until the specified UTC time"; +"-H hold Hold the job until released/resumed" = "-H hold Hold the job until released/resumed"; +"-H immediate Print the job as soon as possible" = "-H immediate Print the job as soon as possible"; +"-H restart Reprint the job" = "-H restart Reprint the job"; +"-H resume Resume a held job" = "-H resume Resume a held job"; +"-H server[:port] Connect to the named server and port" = "-H server[:port] Connect to the named server and port"; +"-I Ignore errors" = "-I Ignore errors"; +"-I {filename,filters,none,profiles}\n Ignore specific warnings" = "-I {filename,filters,none,profiles}\n Ignore specific warnings"; +"-K keypath Set location of server X.509 certificates and keys." = "-K keypath Set location of server X.509 certificates and keys."; +"-L Send requests using content-length" = "-L Send requests using content-length"; +"-L location Specify the textual location of the printer" = "-L location Specify the textual location of the printer"; +"-M manufacturer Set manufacturer name (default=Test)" = "-M manufacturer Set manufacturer name (default=Test)"; +"-P destination Show status for the specified destination" = "-P destination Show status for the specified destination"; +"-P destination Specify the destination" = "-P destination Specify the destination"; +"-P filename.plist Produce XML plist to a file and test report to standard output" = "-P filename.plist Produce XML plist to a file and test report to standard output"; +"-P filename.ppd Load printer attributes from PPD file" = "-P filename.ppd Load printer attributes from PPD file"; +"-P number[-number] Match port to number or range" = "-P number[-number] Match port to number or range"; +"-P page-list Specify a list of pages to print" = "-P page-list Specify a list of pages to print"; +"-R Show the ranking of jobs" = "-R Show the ranking of jobs"; +"-R name-default Remove the default value for the named option" = "-R name-default Remove the default value for the named option"; +"-R root-directory Set alternate root" = "-R root-directory Set alternate root"; +"-S Test with encryption using HTTPS" = "-S Test with encryption using HTTPS"; +"-T seconds Set the browse timeout in seconds" = "-T seconds Set the browse timeout in seconds"; +"-T seconds Set the receive/send timeout in seconds" = "-T seconds Set the receive/send timeout in seconds"; +"-T title Specify the job title" = "-T title Specify the job title"; +"-U username Specify the username to use for authentication" = "-U username Specify the username to use for authentication"; +"-U username Specify username to use for authentication" = "-U username Specify username to use for authentication"; +"-V version Set default IPP version" = "-V version Set default IPP version"; +"-W completed Show completed jobs" = "-W completed Show completed jobs"; +"-W not-completed Show pending jobs" = "-W not-completed Show pending jobs"; +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes,translations}\n Issue warnings instead of errors" = "-W {all,none,constraints,defaults,duplex,filters,profiles,sizes,translations}\n Issue warnings instead of errors"; +"-X Produce XML plist instead of plain text" = "-X Produce XML plist instead of plain text"; +"-a Cancel all jobs" = "-a Cancel all jobs"; +"-a Show jobs on all destinations" = "-a Show jobs on all destinations"; +"-a [destination(s)] Show the accepting state of destinations" = "-a [destination(s)] Show the accepting state of destinations"; +"-a filename.conf Load printer attributes from conf file" = "-a filename.conf Load printer attributes from conf file"; +"-c Make a copy of the print file(s)" = "-c Make a copy of the print file(s)"; +"-c Produce CSV output" = "-c Produce CSV output"; +"-c [class(es)] Show classes and their member printers" = "-c [class(es)] Show classes and their member printers"; +"-c class Add the named destination to a class" = "-c class Add the named destination to a class"; +"-c command Set print command" = "-c command Set print command"; +"-c cupsd.conf Set cupsd.conf file to use." = "-c cupsd.conf Set cupsd.conf file to use."; +"-d Show the default destination" = "-d Show the default destination"; +"-d destination Set default destination" = "-d destination Set default destination"; +"-d destination Set the named destination as the server default" = "-d destination Set the named destination as the server default"; +"-d name=value Set named variable to value" = "-d name=value Set named variable to value"; +"-d regex Match domain to regular expression" = "-d regex Match domain to regular expression"; +"-d spool-directory Set spool directory" = "-d spool-directory Set spool directory"; +"-e Show available destinations on the network" = "-e Show available destinations on the network"; +"-f Run in the foreground." = "-f Run in the foreground."; +"-f filename Set default request filename" = "-f filename Set default request filename"; +"-f type/subtype[,...] Set supported file types" = "-f type/subtype[,…] Set supported file types"; +"-h Show this usage message." = "-h Show this usage message."; +"-h Validate HTTP response headers" = "-h Validate HTTP response headers"; +"-h regex Match hostname to regular expression" = "-h regex Match hostname to regular expression"; +"-h server[:port] Connect to the named server and port" = "-h server[:port] Connect to the named server and port"; +"-i iconfile.png Set icon file" = "-i iconfile.png Set icon file"; +"-i id Specify an existing job ID to modify" = "-i id Specify an existing job ID to modify"; +"-i ppd-file Specify a PPD file for the printer" = "-i ppd-file Specify a PPD file for the printer"; +"-i seconds Repeat the last file with the given time interval" = "-i seconds Repeat the last file with the given time interval"; +"-k Keep job spool files" = "-k Keep job spool files"; +"-l List attributes" = "-l List attributes"; +"-l Produce plain text output" = "-l Produce plain text output"; +"-l Run cupsd on demand." = "-l Run cupsd on demand."; +"-l Show supported options and values" = "-l Show supported options and values"; +"-l Show verbose (long) output" = "-l Show verbose (long) output"; +"-l location Set location of printer" = "-l location Set location of printer"; +"-m Send an email notification when the job completes" = "-m Send an email notification when the job completes"; +"-m Show models" = "-m Show models"; +"-m everywhere Specify the printer is compatible with IPP Everywhere" = "-m everywhere Specify the printer is compatible with IPP Everywhere"; +"-m model Set model name (default=Printer)" = "-m model Set model name (default=Printer)"; +"-m model Specify a standard model/PPD file for the printer" = "-m model Specify a standard model/PPD file for the printer"; +"-n count Repeat the last file the given number of times" = "-n count Repeat the last file the given number of times"; +"-n hostname Set hostname for printer" = "-n hostname Set hostname for printer"; +"-n num-copies Specify the number of copies to print" = "-n num-copies Specify the number of copies to print"; +"-n regex Match service name to regular expression" = "-n regex Match service name to regular expression"; +"-o Name=Value Specify the default value for the named PPD option " = "-o Name=Value Specify the default value for the named PPD option "; +"-o [destination(s)] Show jobs" = "-o [destination(s)] Show jobs"; +"-o cupsIPPSupplies=false\n Disable supply level reporting via IPP" = "-o cupsIPPSupplies=false\n Disable supply level reporting via IPP"; +"-o cupsSNMPSupplies=false\n Disable supply level reporting via SNMP" = "-o cupsSNMPSupplies=false\n Disable supply level reporting via SNMP"; +"-o job-k-limit=N Specify the kilobyte limit for per-user quotas" = "-o job-k-limit=N Specify the kilobyte limit for per-user quotas"; +"-o job-page-limit=N Specify the page limit for per-user quotas" = "-o job-page-limit=N Specify the page limit for per-user quotas"; +"-o job-quota-period=N Specify the per-user quota period in seconds" = "-o job-quota-period=N Specify the per-user quota period in seconds"; +"-o job-sheets=standard Print a banner page with the job" = "-o job-sheets=standard Print a banner page with the job"; +"-o media=size Specify the media size to use" = "-o media=size Specify the media size to use"; +"-o name-default=value Specify the default value for the named option" = "-o name-default=value Specify the default value for the named option"; +"-o name[=value] Set default option and value" = "-o name[=value] Set default option and value"; +"-o number-up=N Specify that input pages should be printed N-up (1, 2, 4, 6, 9, and 16 are supported)" = "-o number-up=N Specify that input pages should be printed N-up (1, 2, 4, 6, 9, and 16 are supported)"; +"-o option[=value] Specify a printer-specific option" = "-o option[=value] Specify a printer-specific option"; +"-o orientation-requested=N\n Specify portrait (3) or landscape (4) orientation" = "-o orientation-requested=N\n Specify portrait (3) or landscape (4) orientation"; +"-o print-quality=N Specify the print quality - draft (3), normal (4), or best (5)" = "-o print-quality=N Specify the print quality - draft (3), normal (4), or best (5)"; +"-o printer-error-policy=name\n Specify the printer error policy" = "-o printer-error-policy=name\n Specify the printer error policy"; +"-o printer-is-shared=true\n Share the printer" = "-o printer-is-shared=true\n Share the printer"; +"-o printer-op-policy=name\n Specify the printer operation policy" = "-o printer-op-policy=name\n Specify the printer operation policy"; +"-o sides=one-sided Specify 1-sided printing" = "-o sides=one-sided Specify 1-sided printing"; +"-o sides=two-sided-long-edge\n Specify 2-sided portrait printing" = "-o sides=two-sided-long-edge\n Specify 2-sided portrait printing"; +"-o sides=two-sided-short-edge\n Specify 2-sided landscape printing" = "-o sides=two-sided-short-edge\n Specify 2-sided landscape printing"; +"-p Print URI if true" = "-p Print URI if true"; +"-p [printer(s)] Show the processing state of destinations" = "-p [printer(s)] Show the processing state of destinations"; +"-p destination Specify a destination" = "-p destination Specify a destination"; +"-p destination Specify/add the named destination" = "-p destination Specify/add the named destination"; +"-p port Set port number for printer" = "-p port Set port number for printer"; +"-q Quietly report match via exit code" = "-q Quietly report match via exit code"; +"-q Run silently" = "-q Run silently"; +"-q Specify the job should be held for printing" = "-q Specify the job should be held for printing"; +"-q priority Specify the priority from low (1) to high (100)" = "-q priority Specify the priority from low (1) to high (100)"; +"-r Remove the file(s) after submission" = "-r Remove the file(s) after submission"; +"-r Show whether the CUPS server is running" = "-r Show whether the CUPS server is running"; +"-r True if service is remote" = "-r True if service is remote"; +"-r Use 'relaxed' open mode" = "-r Use ‘relaxed’ open mode"; +"-r class Remove the named destination from a class" = "-r class Remove the named destination from a class"; +"-r reason Specify a reason message that others can see" = "-r reason Specify a reason message that others can see"; +"-r subtype,[subtype] Set DNS-SD service subtype" = "-r subtype,[subtype] Set DNS-SD service subtype"; +"-s Be silent" = "-s Be silent"; +"-s Print service name if true" = "-s Print service name if true"; +"-s Show a status summary" = "-s Show a status summary"; +"-s cups-files.conf Set cups-files.conf file to use." = "-s cups-files.conf Set cups-files.conf file to use."; +"-s speed[,color-speed] Set speed in pages per minute" = "-s speed[,color-speed] Set speed in pages per minute"; +"-t Produce a test report" = "-t Produce a test report"; +"-t Show all status information" = "-t Show all status information"; +"-t Test the configuration file." = "-t Test the configuration file."; +"-t key True if the TXT record contains the key" = "-t key True if the TXT record contains the key"; +"-t title Specify the job title" = "-t title Specify the job title"; +"-u [user(s)] Show jobs queued by the current or specified users" = "-u [user(s)] Show jobs queued by the current or specified users"; +"-u allow:all Allow all users to print" = "-u allow:all Allow all users to print"; +"-u allow:list Allow the list of users or groups (@name) to print" = "-u allow:list Allow the list of users or groups (@name) to print"; +"-u deny:list Prevent the list of users or groups (@name) to print" = "-u deny:list Prevent the list of users or groups (@name) to print"; +"-u owner Specify the owner to use for jobs" = "-u owner Specify the owner to use for jobs"; +"-u regex Match URI to regular expression" = "-u regex Match URI to regular expression"; +"-v Be verbose" = "-v Be verbose"; +"-v Show devices" = "-v Show devices"; +"-v [printer(s)] Show the devices for each destination" = "-v [printer(s)] Show the devices for each destination"; +"-v device-uri Specify the device URI for the printer" = "-v device-uri Specify the device URI for the printer"; +"-vv Be very verbose" = "-vv Be very verbose"; +"-x Purge jobs rather than just canceling" = "-x Purge jobs rather than just canceling"; +"-x destination Remove default options for destination" = "-x destination Remove default options for destination"; +"-x destination Remove the named destination" = "-x destination Remove the named destination"; +"-x utility [argument ...] ;\n Execute program if true" = "-x utility [argument …] ;\n Execute program if true"; +"/etc/cups/lpoptions file names default destination that does not exist." = "/etc/cups/lpoptions file names default destination that does not exist."; +"0" = "0"; +"1" = "1"; +"1 inch/sec." = "1 inch/sec."; +"1.25x0.25\"" = "1.25x0.25″"; +"1.25x2.25\"" = "1.25x2.25″"; +"1.5 inch/sec." = "1.5 inch/sec."; +"1.50x0.25\"" = "1.50x0.25″"; +"1.50x0.50\"" = "1.50x0.50″"; +"1.50x1.00\"" = "1.50x1.00″"; +"1.50x2.00\"" = "1.50x2.00″"; +"10" = "10"; +"10 inches/sec." = "10 inches/sec."; +"10 x 11" = "10 x 11"; +"10 x 13" = "10 x 13"; +"10 x 14" = "10 x 14"; +"100" = "100"; +"100 mm/sec." = "100 mm/sec."; +"105" = "105"; +"11" = "11"; +"11 inches/sec." = "11 inches/sec."; +"110" = "110"; +"115" = "115"; +"12" = "12"; +"12 inches/sec." = "12 inches/sec."; +"12 x 11" = "12 x 11"; +"120" = "120"; +"120 mm/sec." = "120 mm/sec."; +"120x60dpi" = "120x60dpi"; +"120x72dpi" = "120x72dpi"; +"13" = "13"; +"136dpi" = "136dpi"; +"14" = "14"; +"15" = "15"; +"15 mm/sec." = "15 mm/sec."; +"15 x 11" = "15 x 11"; +"150 mm/sec." = "150 mm/sec."; +"150dpi" = "150dpi"; +"16" = "16"; +"17" = "17"; +"18" = "18"; +"180dpi" = "180dpi"; +"19" = "19"; +"2" = "2"; +"2 inches/sec." = "2 inches/sec."; +"2-Sided Printing" = "2-Sided Printing"; +"2.00x0.37\"" = "2.00x0.37″"; +"2.00x0.50\"" = "2.00x0.50″"; +"2.00x1.00\"" = "2.00x1.00″"; +"2.00x1.25\"" = "2.00x1.25″"; +"2.00x2.00\"" = "2.00x2.00″"; +"2.00x3.00\"" = "2.00x3.00″"; +"2.00x4.00\"" = "2.00x4.00″"; +"2.00x5.50\"" = "2.00x5.50″"; +"2.25x0.50\"" = "2.25x0.50″"; +"2.25x1.25\"" = "2.25x1.25″"; +"2.25x4.00\"" = "2.25x4.00″"; +"2.25x5.50\"" = "2.25x5.50″"; +"2.38x5.50\"" = "2.38x5.50″"; +"2.5 inches/sec." = "2.5 inches/sec."; +"2.50x1.00\"" = "2.50x1.00″"; +"2.50x2.00\"" = "2.50x2.00″"; +"2.75x1.25\"" = "2.75x1.25″"; +"2.9 x 1\"" = "2.9 x 1″"; +"20" = "20"; +"20 mm/sec." = "20 mm/sec."; +"200 mm/sec." = "200 mm/sec."; +"203dpi" = "203dpi"; +"21" = "21"; +"22" = "22"; +"23" = "23"; +"24" = "24"; +"24-Pin Series" = "24-Pin Series"; +"240x72dpi" = "240x72dpi"; +"25" = "25"; +"250 mm/sec." = "250 mm/sec."; +"26" = "26"; +"27" = "27"; +"28" = "28"; +"29" = "29"; +"3" = "3"; +"3 inches/sec." = "3 inches/sec."; +"3 x 5" = "3 x 5"; +"3.00x1.00\"" = "3.00x1.00″"; +"3.00x1.25\"" = "3.00x1.25″"; +"3.00x2.00\"" = "3.00x2.00″"; +"3.00x3.00\"" = "3.00x3.00″"; +"3.00x5.00\"" = "3.00x5.00″"; +"3.25x2.00\"" = "3.25x2.00″"; +"3.25x5.00\"" = "3.25x5.00″"; +"3.25x5.50\"" = "3.25x5.50″"; +"3.25x5.83\"" = "3.25x5.83″"; +"3.25x7.83\"" = "3.25x7.83″"; +"3.5 x 5" = "3.5 x 5"; +"3.5\" Disk" = "3.5″ Disk"; +"3.50x1.00\"" = "3.50x1.00″"; +"30" = "30"; +"30 mm/sec." = "30 mm/sec."; +"300 mm/sec." = "300 mm/sec."; +"300dpi" = "300dpi"; +"35" = "35"; +"360dpi" = "360dpi"; +"360x180dpi" = "360x180dpi"; +"4" = "4"; +"4 inches/sec." = "4 inches/sec."; +"4.00x1.00\"" = "4.00x1.00″"; +"4.00x13.00\"" = "4.00x13.00″"; +"4.00x2.00\"" = "4.00x2.00″"; +"4.00x2.50\"" = "4.00x2.50″"; +"4.00x3.00\"" = "4.00x3.00″"; +"4.00x4.00\"" = "4.00x4.00″"; +"4.00x5.00\"" = "4.00x5.00″"; +"4.00x6.00\"" = "4.00x6.00″"; +"4.00x6.50\"" = "4.00x6.50″"; +"40" = "40"; +"40 mm/sec." = "40 mm/sec."; +"45" = "45"; +"5" = "5"; +"5 inches/sec." = "5 inches/sec."; +"5 x 7" = "5 x 7"; +"50" = "50"; +"55" = "55"; +"6" = "6"; +"6 inches/sec." = "6 inches/sec."; +"6.00x1.00\"" = "6.00x1.00″"; +"6.00x2.00\"" = "6.00x2.00″"; +"6.00x3.00\"" = "6.00x3.00″"; +"6.00x4.00\"" = "6.00x4.00″"; +"6.00x5.00\"" = "6.00x5.00″"; +"6.00x6.00\"" = "6.00x6.00″"; +"6.00x6.50\"" = "6.00x6.50″"; +"60" = "60"; +"60 mm/sec." = "60 mm/sec."; +"600dpi" = "600dpi"; +"60dpi" = "60dpi"; +"60x72dpi" = "60x72dpi"; +"65" = "65"; +"7" = "7"; +"7 inches/sec." = "7 inches/sec."; +"7 x 9" = "7 x 9"; +"70" = "70"; +"75" = "75"; +"8" = "8"; +"8 inches/sec." = "8 inches/sec."; +"8 x 10" = "8 x 10"; +"8.00x1.00\"" = "8.00x1.00″"; +"8.00x2.00\"" = "8.00x2.00″"; +"8.00x3.00\"" = "8.00x3.00″"; +"8.00x4.00\"" = "8.00x4.00″"; +"8.00x5.00\"" = "8.00x5.00″"; +"8.00x6.00\"" = "8.00x6.00″"; +"8.00x6.50\"" = "8.00x6.50″"; +"80" = "80"; +"80 mm/sec." = "80 mm/sec."; +"85" = "85"; +"9" = "9"; +"9 inches/sec." = "9 inches/sec."; +"9 x 11" = "9 x 11"; +"9 x 12" = "9 x 12"; +"9-Pin Series" = "9-Pin Series"; +"90" = "90"; +"95" = "95"; +"?Invalid help command unknown." = "?Invalid help command unknown."; +"A class named \"%s\" already exists." = "A class named “%s” already exists."; +"A printer named \"%s\" already exists." = "A printer named “%s” already exists."; +"A0" = "A0"; +"A0 Long Edge" = "A0 Long Edge"; +"A1" = "A1"; +"A1 Long Edge" = "A1 Long Edge"; +"A10" = "A10"; +"A2" = "A2"; +"A2 Long Edge" = "A2 Long Edge"; +"A3" = "A3"; +"A3 Long Edge" = "A3 Long Edge"; +"A3 Oversize" = "A3 Oversize"; +"A3 Oversize Long Edge" = "A3 Oversize Long Edge"; +"A4" = "A4"; +"A4 Long Edge" = "A4 Long Edge"; +"A4 Oversize" = "A4 Oversize"; +"A4 Small" = "A4 Small"; +"A5" = "A5"; +"A5 Long Edge" = "A5 Long Edge"; +"A5 Oversize" = "A5 Oversize"; +"A6" = "A6"; +"A6 Long Edge" = "A6 Long Edge"; +"A7" = "A7"; +"A8" = "A8"; +"A9" = "A9"; +"ANSI A" = "ANSI A"; +"ANSI B" = "ANSI B"; +"ANSI C" = "ANSI C"; +"ANSI D" = "ANSI D"; +"ANSI E" = "ANSI E"; +"ARCH C" = "ARCH C"; +"ARCH C Long Edge" = "ARCH C Long Edge"; +"ARCH D" = "ARCH D"; +"ARCH D Long Edge" = "ARCH D Long Edge"; +"ARCH E" = "ARCH E"; +"ARCH E Long Edge" = "ARCH E Long Edge"; +"Accept Jobs" = "Accept Jobs"; +"Accepted" = "Accepted"; +"Add Class" = "Add Class"; +"Add Printer" = "Add Printer"; +"Address" = "Address"; +"Administration" = "Administration"; +"Always" = "Always"; +"AppSocket/HP JetDirect" = "AppSocket/HP JetDirect"; +"Applicator" = "Applicator"; +"Attempt to set %s printer-state to bad value %d." = "Attempt to set %s printer-state to bad value %d."; +"Attribute \"%s\" is in the wrong group." = "Attribute “%s” is in the wrong group."; +"Attribute \"%s\" is the wrong value type." = "Attribute “%s” is the wrong value type."; +"Attribute groups are out of order (%x < %x)." = "Attribute groups are out of order (%x < %x)."; +"B0" = "B0"; +"B1" = "B1"; +"B10" = "B10"; +"B2" = "B2"; +"B3" = "B3"; +"B4" = "B4"; +"B5" = "B5"; +"B5 Oversize" = "B5 Oversize"; +"B6" = "B6"; +"B7" = "B7"; +"B8" = "B8"; +"B9" = "B9"; +"Bad \"printer-id\" value %d." = "Bad “printer-id” value %d."; +"Bad '%s' value." = "Bad ‘%s’ value."; +"Bad 'document-format' value \"%s\"." = "Bad ‘document-format’ value “%s”."; +"Bad CloseUI/JCLCloseUI" = "Bad CloseUI/JCLCloseUI"; +"Bad NULL dests pointer" = "Bad NULL dests pointer"; +"Bad OpenGroup" = "Bad OpenGroup"; +"Bad OpenUI/JCLOpenUI" = "Bad OpenUI/JCLOpenUI"; +"Bad OrderDependency" = "Bad OrderDependency"; +"Bad PPD cache file." = "Bad PPD cache file."; +"Bad PPD file." = "Bad PPD file."; +"Bad Request" = "Bad Request"; +"Bad SNMP version number" = "Bad SNMP version number"; +"Bad UIConstraints" = "Bad UIConstraints"; +"Bad URI." = "Bad URI."; +"Bad arguments to function" = "Bad arguments to function"; +"Bad copies value %d." = "Bad copies value %d."; +"Bad custom parameter" = "Bad custom parameter"; +"Bad device-uri \"%s\"." = "Bad device-uri “%s”."; +"Bad device-uri scheme \"%s\"." = "Bad device-uri scheme “%s”."; +"Bad document-format \"%s\"." = "Bad document-format “%s”."; +"Bad document-format-default \"%s\"." = "Bad document-format-default “%s”."; +"Bad filename buffer" = "Bad filename buffer"; +"Bad hostname/address in URI" = "Bad hostname/address in URI"; +"Bad job-name value: %s" = "Bad job-name value: %s"; +"Bad job-name value: Wrong type or count." = "Bad job-name value: Wrong type or count."; +"Bad job-priority value." = "Bad job-priority value."; +"Bad job-sheets value \"%s\"." = "Bad job-sheets value “%s”."; +"Bad job-sheets value type." = "Bad job-sheets value type."; +"Bad job-state value." = "Bad job-state value."; +"Bad job-uri \"%s\"." = "Bad job-uri “%s”."; +"Bad notify-pull-method \"%s\"." = "Bad notify-pull-method “%s”."; +"Bad notify-recipient-uri \"%s\"." = "Bad notify-recipient-uri “%s”."; +"Bad notify-user-data \"%s\"." = "Bad notify-user-data “%s”."; +"Bad number-up value %d." = "Bad number-up value %d."; +"Bad page-ranges values %d-%d." = "Bad page-ranges values %d-%d."; +"Bad port number in URI" = "Bad port number in URI"; +"Bad port-monitor \"%s\"." = "Bad port-monitor “%s”."; +"Bad printer-state value %d." = "Bad printer-state value %d."; +"Bad printer-uri." = "Bad printer-uri."; +"Bad request ID %d." = "Bad request ID %d."; +"Bad request version number %d.%d." = "Bad request version number %d.%d."; +"Bad resource in URI" = "Bad resource in URI"; +"Bad scheme in URI" = "Bad scheme in URI"; +"Bad username in URI" = "Bad username in URI"; +"Bad value string" = "Bad value string"; +"Bad/empty URI" = "Bad/empty URI"; +"Banners" = "Banners"; +"Bond Paper" = "Bond Paper"; +"Booklet" = "Booklet"; +"Boolean expected for waiteof option \"%s\"." = "Boolean expected for waiteof option “%s”."; +"Buffer overflow detected, aborting." = "Buffer overflow detected, aborting."; +"CMYK" = "CMYK"; +"CPCL Label Printer" = "CPCL Label Printer"; +"Cancel Jobs" = "Cancel Jobs"; +"Canceling print job." = "Canceling print job."; +"Cannot change printer-is-shared for remote queues." = "Cannot change printer-is-shared for remote queues."; +"Cannot share a remote Kerberized printer." = "Cannot share a remote Kerberized printer."; +"Cassette" = "Cassette"; +"Change Settings" = "Change Settings"; +"Character set \"%s\" not supported." = "Character set “%s” not supported."; +"Classes" = "Classes"; +"Clean Print Heads" = "Clean Print Heads"; +"Close-Job doesn't support the job-uri attribute." = "Close-Job doesn’t support the job-uri attribute."; +"Color" = "Color"; +"Color Mode" = "Color Mode"; +"Commands may be abbreviated. Commands are:\n\nexit help quit status ?" = "Commands may be abbreviated. Commands are:\n\nexit help quit status ?"; +"Community name uses indefinite length" = "Community name uses indefinite length"; +"Connected to printer." = "Connected to printer."; +"Connecting to printer." = "Connecting to printer."; +"Continue" = "Continue"; +"Continuous" = "Continuous"; +"Control file sent successfully." = "Control file sent successfully."; +"Copying print data." = "Copying print data."; +"Created" = "Created"; +"Credentials do not validate against site CA certificate." = "Credentials do not validate against site CA certificate."; +"Credentials have expired." = "Credentials have expired."; +"Custom" = "Custom"; +"CustominCutInterval" = "CustominCutInterval"; +"CustominTearInterval" = "CustominTearInterval"; +"Cut" = "Cut"; +"Cutter" = "Cutter"; +"Dark" = "Dark"; +"Darkness" = "Darkness"; +"Data file sent successfully." = "Data file sent successfully."; +"Deep Color" = "Deep Color"; +"Deep Gray" = "Deep Gray"; +"Delete Class" = "Delete Class"; +"Delete Printer" = "Delete Printer"; +"DeskJet Series" = "DeskJet Series"; +"Destination \"%s\" is not accepting jobs." = "Destination “%s” is not accepting jobs."; +"Device CMYK" = "Device CMYK"; +"Device Gray" = "Device Gray"; +"Device RGB" = "Device RGB"; +"Device: uri = %s\n class = %s\n info = %s\n make-and-model = %s\n device-id = %s\n location = %s" = "Device: uri = %s\n class = %s\n info = %s\n make-and-model = %s\n device-id = %s\n location = %s"; +"Direct Thermal Media" = "Direct Thermal Media"; +"Directory \"%s\" contains a relative path." = "Directory “%s” contains a relative path."; +"Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." = "Directory “%s” has insecure permissions (0%o/uid=%d/gid=%d)."; +"Directory \"%s\" is a file." = "Directory “%s” is a file."; +"Directory \"%s\" not available: %s" = "Directory “%s” not available: %s"; +"Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." = "Directory “%s” permissions OK (0%o/uid=%d/gid=%d)."; +"Disabled" = "Disabled"; +"Document #%d does not exist in job #%d." = "Document #%d does not exist in job #%d."; +"Draft" = "Draft"; +"Duplexer" = "Duplexer"; +"Dymo" = "Dymo"; +"EPL1 Label Printer" = "EPL1 Label Printer"; +"EPL2 Label Printer" = "EPL2 Label Printer"; +"Edit Configuration File" = "Edit Configuration File"; +"Encryption is not supported." = "Encryption is not supported."; +// TRANSLATORS: Banner/cover sheet after the print job. +"Ending Banner" = "Ending Banner"; +"English" = "English"; +"Enter your username and password or the root username and password to access this page. If you are using Kerberos authentication, make sure you have a valid Kerberos ticket." = "Enter your username and password or the root username and password to access this page. If you are using Kerberos authentication, make sure you have a valid Kerberos ticket."; +"Envelope #10" = "Envelope #10"; +"Envelope #11" = "Envelope #11"; +"Envelope #12" = "Envelope #12"; +"Envelope #14" = "Envelope #14"; +"Envelope #9" = "Envelope #9"; +"Envelope B4" = "Envelope B4"; +"Envelope B5" = "Envelope B5"; +"Envelope B6" = "Envelope B6"; +"Envelope C0" = "Envelope C0"; +"Envelope C1" = "Envelope C1"; +"Envelope C2" = "Envelope C2"; +"Envelope C3" = "Envelope C3"; +"Envelope C4" = "Envelope C4"; +"Envelope C5" = "Envelope C5"; +"Envelope C6" = "Envelope C6"; +"Envelope C65" = "Envelope C65"; +"Envelope C7" = "Envelope C7"; +"Envelope Choukei 3" = "Envelope Choukei 3"; +"Envelope Choukei 3 Long Edge" = "Envelope Choukei 3 Long Edge"; +"Envelope Choukei 4" = "Envelope Choukei 4"; +"Envelope Choukei 4 Long Edge" = "Envelope Choukei 4 Long Edge"; +"Envelope DL" = "Envelope DL"; +"Envelope Feed" = "Envelope Feed"; +"Envelope Invite" = "Envelope Invite"; +"Envelope Italian" = "Envelope Italian"; +"Envelope Kaku2" = "Envelope Kaku2"; +"Envelope Kaku2 Long Edge" = "Envelope Kaku2 Long Edge"; +"Envelope Kaku3" = "Envelope Kaku3"; +"Envelope Kaku3 Long Edge" = "Envelope Kaku3 Long Edge"; +"Envelope Monarch" = "Envelope Monarch"; +"Envelope PRC1" = "Envelope PRC1"; +"Envelope PRC1 Long Edge" = "Envelope PRC1 Long Edge"; +"Envelope PRC10" = "Envelope PRC10"; +"Envelope PRC10 Long Edge" = "Envelope PRC10 Long Edge"; +"Envelope PRC2" = "Envelope PRC2"; +"Envelope PRC2 Long Edge" = "Envelope PRC2 Long Edge"; +"Envelope PRC3" = "Envelope PRC3"; +"Envelope PRC3 Long Edge" = "Envelope PRC3 Long Edge"; +"Envelope PRC4" = "Envelope PRC4"; +"Envelope PRC4 Long Edge" = "Envelope PRC4 Long Edge"; +"Envelope PRC5 Long Edge" = "Envelope PRC5 Long Edge"; +"Envelope PRC5PRC5" = "Envelope PRC5PRC5"; +"Envelope PRC6" = "Envelope PRC6"; +"Envelope PRC6 Long Edge" = "Envelope PRC6 Long Edge"; +"Envelope PRC7" = "Envelope PRC7"; +"Envelope PRC7 Long Edge" = "Envelope PRC7 Long Edge"; +"Envelope PRC8" = "Envelope PRC8"; +"Envelope PRC8 Long Edge" = "Envelope PRC8 Long Edge"; +"Envelope PRC9" = "Envelope PRC9"; +"Envelope PRC9 Long Edge" = "Envelope PRC9 Long Edge"; +"Envelope Personal" = "Envelope Personal"; +"Envelope You4" = "Envelope You4"; +"Envelope You4 Long Edge" = "Envelope You4 Long Edge"; +"Environment Variables:" = "Environment Variables:"; +"Epson" = "Epson"; +"Error Policy" = "Error Policy"; +"Error reading raster data." = "Error reading raster data."; +"Error sending raster data." = "Error sending raster data."; +"Error: need hostname after \"-h\" option." = "Error: need hostname after “-h” option."; +"European Fanfold" = "European Fanfold"; +"European Fanfold Legal" = "European Fanfold Legal"; +"Every 10 Labels" = "Every 10 Labels"; +"Every 2 Labels" = "Every 2 Labels"; +"Every 3 Labels" = "Every 3 Labels"; +"Every 4 Labels" = "Every 4 Labels"; +"Every 5 Labels" = "Every 5 Labels"; +"Every 6 Labels" = "Every 6 Labels"; +"Every 7 Labels" = "Every 7 Labels"; +"Every 8 Labels" = "Every 8 Labels"; +"Every 9 Labels" = "Every 9 Labels"; +"Every Label" = "Every Label"; +"Executive" = "Executive"; +"Expectation Failed" = "Expectation Failed"; +"Expressions:" = "Expressions:"; +"Fast Grayscale" = "Fast Grayscale"; +"File \"%s\" contains a relative path." = "File “%s” contains a relative path."; +"File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." = "File “%s” has insecure permissions (0%o/uid=%d/gid=%d)."; +"File \"%s\" is a directory." = "File “%s” is a directory."; +"File \"%s\" not available: %s" = "File “%s” not available: %s"; +"File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." = "File “%s” permissions OK (0%o/uid=%d/gid=%d)."; +"File Folder" = "File Folder"; +"File device URIs have been disabled. To enable, see the FileDevice directive in \"%s/cups-files.conf\"." = "File device URIs have been disabled. To enable, see the FileDevice directive in “%s/cups-files.conf”."; +"Finished page %d." = "Finished page %d."; +"Finishing Preset" = "Finishing Preset"; +"Fold" = "Fold"; +"Folio" = "Folio"; +"Forbidden" = "Forbidden"; +"Found" = "Found"; +"General" = "General"; +"Generic" = "Generic"; +"Get-Response-PDU uses indefinite length" = "Get-Response-PDU uses indefinite length"; +"Glossy Paper" = "Glossy Paper"; +"Got a printer-uri attribute but no job-id." = "Got a printer-uri attribute but no job-id."; +"Grayscale" = "Grayscale"; +"HP" = "HP"; +"Hanging Folder" = "Hanging Folder"; +"Hash buffer too small." = "Hash buffer too small."; +"Help file not in index." = "Help file not in index."; +"High" = "High"; +"IPP 1setOf attribute with incompatible value tags." = "IPP 1setOf attribute with incompatible value tags."; +"IPP attribute has no name." = "IPP attribute has no name."; +"IPP attribute is not a member of the message." = "IPP attribute is not a member of the message."; +"IPP begCollection value not 0 bytes." = "IPP begCollection value not 0 bytes."; +"IPP boolean value not 1 byte." = "IPP boolean value not 1 byte."; +"IPP date value not 11 bytes." = "IPP date value not 11 bytes."; +"IPP endCollection value not 0 bytes." = "IPP endCollection value not 0 bytes."; +"IPP enum value not 4 bytes." = "IPP enum value not 4 bytes."; +"IPP extension tag larger than 0x7FFFFFFF." = "IPP extension tag larger than 0x7FFFFFFF."; +"IPP integer value not 4 bytes." = "IPP integer value not 4 bytes."; +"IPP language length overflows value." = "IPP language length overflows value."; +"IPP language length too large." = "IPP language length too large."; +"IPP member name is not empty." = "IPP member name is not empty."; +"IPP memberName value is empty." = "IPP memberName value is empty."; +"IPP memberName with no attribute." = "IPP memberName with no attribute."; +"IPP name larger than 32767 bytes." = "IPP name larger than 32767 bytes."; +"IPP nameWithLanguage value less than minimum 4 bytes." = "IPP nameWithLanguage value less than minimum 4 bytes."; +"IPP octetString length too large." = "IPP octetString length too large."; +"IPP rangeOfInteger value not 8 bytes." = "IPP rangeOfInteger value not 8 bytes."; +"IPP resolution value not 9 bytes." = "IPP resolution value not 9 bytes."; +"IPP string length overflows value." = "IPP string length overflows value."; +"IPP textWithLanguage value less than minimum 4 bytes." = "IPP textWithLanguage value less than minimum 4 bytes."; +"IPP value larger than 32767 bytes." = "IPP value larger than 32767 bytes."; +"IPPFIND_SERVICE_DOMAIN Domain name" = "IPPFIND_SERVICE_DOMAIN Domain name"; +"IPPFIND_SERVICE_HOSTNAME\n Fully-qualified domain name" = "IPPFIND_SERVICE_HOSTNAME\n Fully-qualified domain name"; +"IPPFIND_SERVICE_NAME Service instance name" = "IPPFIND_SERVICE_NAME Service instance name"; +"IPPFIND_SERVICE_PORT Port number" = "IPPFIND_SERVICE_PORT Port number"; +"IPPFIND_SERVICE_REGTYPE DNS-SD registration type" = "IPPFIND_SERVICE_REGTYPE DNS-SD registration type"; +"IPPFIND_SERVICE_SCHEME URI scheme" = "IPPFIND_SERVICE_SCHEME URI scheme"; +"IPPFIND_SERVICE_URI URI" = "IPPFIND_SERVICE_URI URI"; +"IPPFIND_TXT_* Value of TXT record key" = "IPPFIND_TXT_* Value of TXT record key"; +"ISOLatin1" = "ISOLatin1"; +"Illegal control character" = "Illegal control character"; +"Illegal main keyword string" = "Illegal main keyword string"; +"Illegal option keyword string" = "Illegal option keyword string"; +"Illegal translation string" = "Illegal translation string"; +"Illegal whitespace character" = "Illegal whitespace character"; +"Installable Options" = "Installable Options"; +"Installed" = "Installed"; +"IntelliBar Label Printer" = "IntelliBar Label Printer"; +"Intellitech" = "Intellitech"; +"Internal Server Error" = "Internal Server Error"; +"Internal error" = "Internal error"; +"Internet Postage 2-Part" = "Internet Postage 2-Part"; +"Internet Postage 3-Part" = "Internet Postage 3-Part"; +"Internet Printing Protocol" = "Internet Printing Protocol"; +"Invalid group tag." = "Invalid group tag."; +"Invalid media name arguments." = "Invalid media name arguments."; +"Invalid media size." = "Invalid media size."; +"Invalid named IPP attribute in collection." = "Invalid named IPP attribute in collection."; +"Invalid ppd-name value." = "Invalid ppd-name value."; +"Invalid printer command \"%s\"." = "Invalid printer command “%s”."; +"JCL" = "JCL"; +"JIS B0" = "JIS B0"; +"JIS B1" = "JIS B1"; +"JIS B10" = "JIS B10"; +"JIS B2" = "JIS B2"; +"JIS B3" = "JIS B3"; +"JIS B4" = "JIS B4"; +"JIS B4 Long Edge" = "JIS B4 Long Edge"; +"JIS B5" = "JIS B5"; +"JIS B5 Long Edge" = "JIS B5 Long Edge"; +"JIS B6" = "JIS B6"; +"JIS B6 Long Edge" = "JIS B6 Long Edge"; +"JIS B7" = "JIS B7"; +"JIS B8" = "JIS B8"; +"JIS B9" = "JIS B9"; +"Job #%d cannot be restarted - no files." = "Job #%d cannot be restarted - no files."; +"Job #%d does not exist." = "Job #%d does not exist."; +"Job #%d is already aborted - can't cancel." = "Job #%d is already aborted - can’t cancel."; +"Job #%d is already canceled - can't cancel." = "Job #%d is already canceled - can’t cancel."; +"Job #%d is already completed - can't cancel." = "Job #%d is already completed - can’t cancel."; +"Job #%d is finished and cannot be altered." = "Job #%d is finished and cannot be altered."; +"Job #%d is not complete." = "Job #%d is not complete."; +"Job #%d is not held for authentication." = "Job #%d is not held for authentication."; +"Job #%d is not held." = "Job #%d is not held."; +"Job Completed" = "Job Completed"; +"Job Created" = "Job Created"; +"Job Options Changed" = "Job Options Changed"; +"Job Stopped" = "Job Stopped"; +"Job is completed and cannot be changed." = "Job is completed and cannot be changed."; +"Job operation failed" = "Job operation failed"; +"Job state cannot be changed." = "Job state cannot be changed."; +"Job subscriptions cannot be renewed." = "Job subscriptions cannot be renewed."; +"Jobs" = "Jobs"; +"LPD/LPR Host or Printer" = "LPD/LPR Host or Printer"; +"LPDEST environment variable names default destination that does not exist." = "LPDEST environment variable names default destination that does not exist."; +"Label Printer" = "Label Printer"; +"Label Top" = "Label Top"; +"Language \"%s\" not supported." = "Language “%s” not supported."; +"Large Address" = "Large Address"; +"LaserJet Series PCL 4/5" = "LaserJet Series PCL 4/5"; +"Letter Oversize" = "Letter Oversize"; +"Letter Oversize Long Edge" = "Letter Oversize Long Edge"; +"Light" = "Light"; +"Line longer than the maximum allowed (255 characters)" = "Line longer than the maximum allowed (255 characters)"; +"List Available Printers" = "List Available Printers"; +"Listening on port %d." = "Listening on port %d."; +"Local printer created." = "Local printer created."; +"Long-Edge (Portrait)" = "Long-Edge (Portrait)"; +"Looking for printer." = "Looking for printer."; +"Manual Feed" = "Manual Feed"; +"Media Size" = "Media Size"; +"Media Source" = "Media Source"; +"Media Tracking" = "Media Tracking"; +"Media Type" = "Media Type"; +"Medium" = "Medium"; +"Memory allocation error" = "Memory allocation error"; +"Missing CloseGroup" = "Missing CloseGroup"; +"Missing CloseUI/JCLCloseUI" = "Missing CloseUI/JCLCloseUI"; +"Missing PPD-Adobe-4.x header" = "Missing PPD-Adobe-4.x header"; +"Missing asterisk in column 1" = "Missing asterisk in column 1"; +"Missing document-number attribute." = "Missing document-number attribute."; +"Missing form variable" = "Missing form variable"; +"Missing last-document attribute in request." = "Missing last-document attribute in request."; +"Missing media or media-col." = "Missing media or media-col."; +"Missing media-size in media-col." = "Missing media-size in media-col."; +"Missing notify-subscription-ids attribute." = "Missing notify-subscription-ids attribute."; +"Missing option keyword" = "Missing option keyword"; +"Missing requesting-user-name attribute." = "Missing requesting-user-name attribute."; +"Missing required attribute \"%s\"." = "Missing required attribute “%s”."; +"Missing required attributes." = "Missing required attributes."; +"Missing resource in URI" = "Missing resource in URI"; +"Missing scheme in URI" = "Missing scheme in URI"; +"Missing value string" = "Missing value string"; +"Missing x-dimension in media-size." = "Missing x-dimension in media-size."; +"Missing y-dimension in media-size." = "Missing y-dimension in media-size."; +"Model: name = %s\n natural_language = %s\n make-and-model = %s\n device-id = %s" = "Model: name = %s\n natural_language = %s\n make-and-model = %s\n device-id = %s"; +"Modifiers:" = "Modifiers:"; +"Modify Class" = "Modify Class"; +"Modify Printer" = "Modify Printer"; +"Move All Jobs" = "Move All Jobs"; +"Move Job" = "Move Job"; +"Moved Permanently" = "Moved Permanently"; +"NULL PPD file pointer" = "NULL PPD file pointer"; +"Name OID uses indefinite length" = "Name OID uses indefinite length"; +"Nested classes are not allowed." = "Nested classes are not allowed."; +"Never" = "Never"; +"New credentials are not valid for name." = "New credentials are not valid for name."; +"New credentials are older than stored credentials." = "New credentials are older than stored credentials."; +"No" = "No"; +"No Content" = "No Content"; +"No IPP attributes." = "No IPP attributes."; +"No PPD name" = "No PPD name"; +"No VarBind SEQUENCE" = "No VarBind SEQUENCE"; +"No active connection" = "No active connection"; +"No active connection." = "No active connection."; +"No active jobs on %s." = "No active jobs on %s."; +"No attributes in request." = "No attributes in request."; +"No authentication information provided." = "No authentication information provided."; +"No common name specified." = "No common name specified."; +"No community name" = "No community name"; +"No default destination." = "No default destination."; +"No default printer." = "No default printer."; +"No destinations added." = "No destinations added."; +"No device URI found in argv[0] or in DEVICE_URI environment variable." = "No device URI found in argv[0] or in DEVICE_URI environment variable."; +"No error-index" = "No error-index"; +"No error-status" = "No error-status"; +"No file in print request." = "No file in print request."; +"No modification time" = "No modification time"; +"No name OID" = "No name OID"; +"No pages were found." = "No pages were found."; +"No printer name" = "No printer name"; +"No printer-uri found" = "No printer-uri found"; +"No printer-uri found for class" = "No printer-uri found for class"; +"No printer-uri in request." = "No printer-uri in request."; +"No request URI." = "No request URI."; +"No request protocol version." = "No request protocol version."; +"No request sent." = "No request sent."; +"No request-id" = "No request-id"; +"No stored credentials, not valid for name." = "No stored credentials, not valid for name."; +"No subscription attributes in request." = "No subscription attributes in request."; +"No subscriptions found." = "No subscriptions found."; +"No variable-bindings SEQUENCE" = "No variable-bindings SEQUENCE"; +"No version number" = "No version number"; +"Non-continuous (Mark sensing)" = "Non-continuous (Mark sensing)"; +"Non-continuous (Web sensing)" = "Non-continuous (Web sensing)"; +"None" = "None"; +"Normal" = "Normal"; +"Not Found" = "Not Found"; +"Not Implemented" = "Not Implemented"; +"Not Installed" = "Not Installed"; +"Not Modified" = "Not Modified"; +"Not Supported" = "Not Supported"; +"Not allowed to print." = "Not allowed to print."; +"Note" = "Note"; +"OK" = "OK"; +"Off (1-Sided)" = "Off (1-Sided)"; +"Oki" = "Oki"; +"Online Help" = "Online Help"; +"Only local users can create a local printer." = "Only local users can create a local printer."; +"Open of %s failed: %s" = "Open of %s failed: %s"; +"OpenGroup without a CloseGroup first" = "OpenGroup without a CloseGroup first"; +"OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" = "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first"; +"Operation Policy" = "Operation Policy"; +"Option \"%s\" cannot be included via %%%%IncludeFeature." = "Option “%s” cannot be included via %%%%IncludeFeature."; +"Options Installed" = "Options Installed"; +"Options:" = "Options:"; +"Other Media" = "Other Media"; +"Other Tray" = "Other Tray"; +"Out of date PPD cache file." = "Out of date PPD cache file."; +"Out of memory." = "Out of memory."; +"Output Mode" = "Output Mode"; +"PCL Laser Printer" = "PCL Laser Printer"; +"PRC16K" = "PRC16K"; +"PRC16K Long Edge" = "PRC16K Long Edge"; +"PRC32K" = "PRC32K"; +"PRC32K Long Edge" = "PRC32K Long Edge"; +"PRC32K Oversize" = "PRC32K Oversize"; +"PRC32K Oversize Long Edge" = "PRC32K Oversize Long Edge"; +"PRINTER environment variable names default destination that does not exist." = "PRINTER environment variable names default destination that does not exist."; +"Packet does not contain a Get-Response-PDU" = "Packet does not contain a Get-Response-PDU"; +"Packet does not start with SEQUENCE" = "Packet does not start with SEQUENCE"; +"ParamCustominCutInterval" = "ParamCustominCutInterval"; +"ParamCustominTearInterval" = "ParamCustominTearInterval"; +"Password for %s on %s? " = "Password for %s on %s? "; +"Pause Class" = "Pause Class"; +"Pause Printer" = "Pause Printer"; +"Peel-Off" = "Peel-Off"; +"Photo" = "Photo"; +"Photo Labels" = "Photo Labels"; +"Plain Paper" = "Plain Paper"; +"Policies" = "Policies"; +"Port Monitor" = "Port Monitor"; +"PostScript Printer" = "PostScript Printer"; +"Postcard" = "Postcard"; +"Postcard Double" = "Postcard Double"; +"Postcard Double Long Edge" = "Postcard Double Long Edge"; +"Postcard Long Edge" = "Postcard Long Edge"; +"Preparing to print." = "Preparing to print."; +"Print Density" = "Print Density"; +"Print Job:" = "Print Job:"; +"Print Mode" = "Print Mode"; +"Print Quality" = "Print Quality"; +"Print Rate" = "Print Rate"; +"Print Self-Test Page" = "Print Self-Test Page"; +"Print Speed" = "Print Speed"; +"Print Test Page" = "Print Test Page"; +"Print and Cut" = "Print and Cut"; +"Print and Tear" = "Print and Tear"; +"Print file sent." = "Print file sent."; +"Print job canceled at printer." = "Print job canceled at printer."; +"Print job too large." = "Print job too large."; +"Print job was not accepted." = "Print job was not accepted."; +"Printer \"%s\" already exists." = "Printer “%s” already exists."; +"Printer Added" = "Printer Added"; +"Printer Default" = "Printer Default"; +"Printer Deleted" = "Printer Deleted"; +"Printer Modified" = "Printer Modified"; +"Printer Paused" = "Printer Paused"; +"Printer Settings" = "Printer Settings"; +"Printer cannot print supplied content." = "Printer cannot print supplied content."; +"Printer cannot print with supplied options." = "Printer cannot print with supplied options."; +"Printer does not support required IPP attributes or document formats." = "Printer does not support required IPP attributes or document formats."; +"Printer:" = "Printer:"; +"Printers" = "Printers"; +"Printing page %d, %u%% complete." = "Printing page %d, %u%% complete."; +"Punch" = "Punch"; +"Quarto" = "Quarto"; +"Quota limit reached." = "Quota limit reached."; +"Rank Owner Job File(s) Total Size" = "Rank Owner Job File(s) Total Size"; +"Reject Jobs" = "Reject Jobs"; +"Remote host did not accept control file (%d)." = "Remote host did not accept control file (%d)."; +"Remote host did not accept data file (%d)." = "Remote host did not accept data file (%d)."; +"Reprint After Error" = "Reprint After Error"; +"Request Entity Too Large" = "Request Entity Too Large"; +"Resolution" = "Resolution"; +"Resume Class" = "Resume Class"; +"Resume Printer" = "Resume Printer"; +"Return Address" = "Return Address"; +"Rewind" = "Rewind"; +"SEQUENCE uses indefinite length" = "SEQUENCE uses indefinite length"; +"SSL/TLS Negotiation Error" = "SSL/TLS Negotiation Error"; +"See Other" = "See Other"; +"See remote printer." = "See remote printer."; +"Self-signed credentials are blocked." = "Self-signed credentials are blocked."; +"Sending data to printer." = "Sending data to printer."; +"Server Restarted" = "Server Restarted"; +"Server Security Auditing" = "Server Security Auditing"; +"Server Started" = "Server Started"; +"Server Stopped" = "Server Stopped"; +"Server credentials not set." = "Server credentials not set."; +"Service Unavailable" = "Service Unavailable"; +"Set Allowed Users" = "Set Allowed Users"; +"Set As Server Default" = "Set As Server Default"; +"Set Class Options" = "Set Class Options"; +"Set Printer Options" = "Set Printer Options"; +"Set Publishing" = "Set Publishing"; +"Shipping Address" = "Shipping Address"; +"Short-Edge (Landscape)" = "Short-Edge (Landscape)"; +"Special Paper" = "Special Paper"; +"Spooling job, %.0f%% complete." = "Spooling job, %.0f%% complete."; +"Standard" = "Standard"; +"Staple" = "Staple"; +// TRANSLATORS: Banner/cover sheet before the print job. +"Starting Banner" = "Starting Banner"; +"Starting page %d." = "Starting page %d."; +"Statement" = "Statement"; +"Subscription #%d does not exist." = "Subscription #%d does not exist."; +"Substitutions:" = "Substitutions:"; +"Super A" = "Super A"; +"Super B" = "Super B"; +"Super B/A3" = "Super B/A3"; +"Switching Protocols" = "Switching Protocols"; +"Tabloid" = "Tabloid"; +"Tabloid Oversize" = "Tabloid Oversize"; +"Tabloid Oversize Long Edge" = "Tabloid Oversize Long Edge"; +"Tear" = "Tear"; +"Tear-Off" = "Tear-Off"; +"Tear-Off Adjust Position" = "Tear-Off Adjust Position"; +"The \"%s\" attribute is required for print jobs." = "The “%s” attribute is required for print jobs."; +"The %s attribute cannot be provided with job-ids." = "The %s attribute cannot be provided with job-ids."; +"The '%s' Job Status attribute cannot be supplied in a job creation request." = "The ‘%s’ Job Status attribute cannot be supplied in a job creation request."; +"The '%s' operation attribute cannot be supplied in a Create-Job request." = "The ‘%s’ operation attribute cannot be supplied in a Create-Job request."; +"The PPD file \"%s\" could not be found." = "The PPD file “%s” could not be found."; +"The PPD file \"%s\" could not be opened: %s" = "The PPD file “%s” could not be opened: %s"; +"The PPD file could not be opened." = "The PPD file could not be opened."; +"The class name may only contain up to 127 printable characters and may not contain spaces, slashes (/), or the pound sign (#)." = "The class name may only contain up to 127 printable characters and may not contain spaces, slashes (/), or the pound sign (#)."; +"The notify-lease-duration attribute cannot be used with job subscriptions." = "The notify-lease-duration attribute cannot be used with job subscriptions."; +"The notify-user-data value is too large (%d > 63 octets)." = "The notify-user-data value is too large (%d > 63 octets)."; +"The printer configuration is incorrect or the printer no longer exists." = "The printer configuration is incorrect or the printer no longer exists."; +"The printer did not respond." = "The printer did not respond."; +"The printer is in use." = "The printer is in use."; +"The printer is not connected." = "The printer is not connected."; +"The printer is not responding." = "The printer is not responding."; +"The printer is now connected." = "The printer is now connected."; +"The printer is now online." = "The printer is now online."; +"The printer is offline." = "The printer is offline."; +"The printer is unreachable at this time." = "The printer is unreachable at this time."; +"The printer may not exist or is unavailable at this time." = "The printer may not exist or is unavailable at this time."; +"The printer name may only contain up to 127 printable characters and may not contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the pound sign (#)." = "The printer name may only contain up to 127 printable characters and may not contain spaces, slashes (/ \\), quotes (’ ″), question mark (?), or the pound sign (#)."; +"The printer or class does not exist." = "The printer or class does not exist."; +"The printer or class is not shared." = "The printer or class is not shared."; +"The printer-uri \"%s\" contains invalid characters." = "The printer-uri “%s” contains invalid characters."; +"The printer-uri attribute is required." = "The printer-uri attribute is required."; +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." = "The printer-uri must be of the form “ipp://HOSTNAME/classes/CLASSNAME”."; +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." = "The printer-uri must be of the form “ipp://HOSTNAME/printers/PRINTERNAME”."; +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to enable it." = "The web interface is currently disabled. Run “cupsctl WebInterface=yes” to enable it."; +"The which-jobs value \"%s\" is not supported." = "The which-jobs value “%s” is not supported."; +"There are too many subscriptions." = "There are too many subscriptions."; +"There was an unrecoverable USB error." = "There was an unrecoverable USB error."; +"Thermal Transfer Media" = "Thermal Transfer Media"; +"Too many active jobs." = "Too many active jobs."; +"Too many job-sheets values (%d > 2)." = "Too many job-sheets values (%d > 2)."; +"Too many printer-state-reasons values (%d > %d)." = "Too many printer-state-reasons values (%d > %d)."; +"Transparency" = "Transparency"; +"Tray" = "Tray"; +"Tray 1" = "Tray 1"; +"Tray 2" = "Tray 2"; +"Tray 3" = "Tray 3"; +"Tray 4" = "Tray 4"; +"Trust on first use is disabled." = "Trust on first use is disabled."; +"URI Too Long" = "URI Too Long"; +"URI too large" = "URI too large"; +"US Fanfold" = "US Fanfold"; +"US Ledger" = "US Ledger"; +"US Legal" = "US Legal"; +"US Legal Oversize" = "US Legal Oversize"; +"US Letter" = "US Letter"; +"US Letter Long Edge" = "US Letter Long Edge"; +"US Letter Oversize" = "US Letter Oversize"; +"US Letter Oversize Long Edge" = "US Letter Oversize Long Edge"; +"US Letter Small" = "US Letter Small"; +"Unable to access cupsd.conf file" = "Unable to access cupsd.conf file"; +"Unable to access help file." = "Unable to access help file."; +"Unable to add class" = "Unable to add class"; +"Unable to add document to print job." = "Unable to add document to print job."; +"Unable to add job for destination \"%s\"." = "Unable to add job for destination “%s”."; +"Unable to add printer" = "Unable to add printer"; +"Unable to allocate memory for file types." = "Unable to allocate memory for file types."; +"Unable to allocate memory for page info" = "Unable to allocate memory for page info"; +"Unable to allocate memory for pages array" = "Unable to allocate memory for pages array"; +"Unable to allocate memory for printer" = "Unable to allocate memory for printer"; +"Unable to cancel print job." = "Unable to cancel print job."; +"Unable to change printer" = "Unable to change printer"; +"Unable to change printer-is-shared attribute" = "Unable to change printer-is-shared attribute"; +"Unable to change server settings" = "Unable to change server settings"; +"Unable to compile mimeMediaType regular expression: %s." = "Unable to compile mimeMediaType regular expression: %s."; +"Unable to compile naturalLanguage regular expression: %s." = "Unable to compile naturalLanguage regular expression: %s."; +"Unable to configure printer options." = "Unable to configure printer options."; +"Unable to connect to host." = "Unable to connect to host."; +"Unable to contact printer, queuing on next printer in class." = "Unable to contact printer, queuing on next printer in class."; +"Unable to copy PPD file - %s" = "Unable to copy PPD file - %s"; +"Unable to copy PPD file." = "Unable to copy PPD file."; +"Unable to create credentials from array." = "Unable to create credentials from array."; +"Unable to create printer-uri" = "Unable to create printer-uri"; +"Unable to create printer." = "Unable to create printer."; +"Unable to create server credentials." = "Unable to create server credentials."; +"Unable to create spool directory \"%s\": %s" = "Unable to create spool directory “%s”: %s"; +"Unable to create temporary file" = "Unable to create temporary file"; +"Unable to delete class" = "Unable to delete class"; +"Unable to delete printer" = "Unable to delete printer"; +"Unable to do maintenance command" = "Unable to do maintenance command"; +"Unable to edit cupsd.conf files larger than 1MB" = "Unable to edit cupsd.conf files larger than 1MB"; +"Unable to establish a secure connection to host (%d)." = "Unable to establish a secure connection to host (%d)."; +"Unable to establish a secure connection to host (certificate chain invalid)." = "Unable to establish a secure connection to host (certificate chain invalid)."; +"Unable to establish a secure connection to host (certificate not yet valid)." = "Unable to establish a secure connection to host (certificate not yet valid)."; +"Unable to establish a secure connection to host (expired certificate)." = "Unable to establish a secure connection to host (expired certificate)."; +"Unable to establish a secure connection to host (host name mismatch)." = "Unable to establish a secure connection to host (host name mismatch)."; +"Unable to establish a secure connection to host (peer dropped connection before responding)." = "Unable to establish a secure connection to host (peer dropped connection before responding)."; +"Unable to establish a secure connection to host (self-signed certificate)." = "Unable to establish a secure connection to host (self-signed certificate)."; +"Unable to establish a secure connection to host (untrusted certificate)." = "Unable to establish a secure connection to host (untrusted certificate)."; +"Unable to establish a secure connection to host." = "Unable to establish a secure connection to host."; +"Unable to execute command \"%s\": %s" = "Unable to execute command “%s”: %s"; +"Unable to find destination for job" = "Unable to find destination for job"; +"Unable to find printer." = "Unable to find printer."; +"Unable to find server credentials." = "Unable to find server credentials."; +"Unable to get backend exit status." = "Unable to get backend exit status."; +"Unable to get class list" = "Unable to get class list"; +"Unable to get class status" = "Unable to get class status"; +"Unable to get list of printer drivers" = "Unable to get list of printer drivers"; +"Unable to get printer attributes" = "Unable to get printer attributes"; +"Unable to get printer list" = "Unable to get printer list"; +"Unable to get printer status" = "Unable to get printer status"; +"Unable to get printer status." = "Unable to get printer status."; +"Unable to load help index." = "Unable to load help index."; +"Unable to locate printer \"%s\"." = "Unable to locate printer “%s”."; +"Unable to locate printer." = "Unable to locate printer."; +"Unable to modify class" = "Unable to modify class"; +"Unable to modify printer" = "Unable to modify printer"; +"Unable to move job" = "Unable to move job"; +"Unable to move jobs" = "Unable to move jobs"; +"Unable to open PPD file" = "Unable to open PPD file"; +"Unable to open cupsd.conf file:" = "Unable to open cupsd.conf file:"; +"Unable to open device file" = "Unable to open device file"; +"Unable to open document #%d in job #%d." = "Unable to open document #%d in job #%d."; +"Unable to open help file." = "Unable to open help file."; +"Unable to open print file" = "Unable to open print file"; +"Unable to open raster file" = "Unable to open raster file"; +"Unable to print test page" = "Unable to print test page"; +"Unable to read print data." = "Unable to read print data."; +"Unable to register \"%s.%s\": %d" = "Unable to register “%s.%s”: %d"; +"Unable to rename job document file." = "Unable to rename job document file."; +"Unable to resolve printer-uri." = "Unable to resolve printer-uri."; +"Unable to see in file" = "Unable to see in file"; +"Unable to send command to printer driver" = "Unable to send command to printer driver"; +"Unable to send data to printer." = "Unable to send data to printer."; +"Unable to set options" = "Unable to set options"; +"Unable to set server default" = "Unable to set server default"; +"Unable to start backend process." = "Unable to start backend process."; +"Unable to upload cupsd.conf file" = "Unable to upload cupsd.conf file"; +"Unable to use legacy USB class driver." = "Unable to use legacy USB class driver."; +"Unable to write print data" = "Unable to write print data"; +"Unable to write uncompressed print data: %s" = "Unable to write uncompressed print data: %s"; +"Unauthorized" = "Unauthorized"; +"Units" = "Units"; +"Unknown" = "Unknown"; +"Unknown choice \"%s\" for option \"%s\"." = "Unknown choice “%s” for option “%s”."; +"Unknown directive \"%s\" on line %d of \"%s\" ignored." = "Unknown directive “%s” on line %d of “%s” ignored."; +"Unknown encryption option value: \"%s\"." = "Unknown encryption option value: “%s”."; +"Unknown file order: \"%s\"." = "Unknown file order: “%s”."; +"Unknown format character: \"%c\"." = "Unknown format character: “%c”."; +"Unknown hash algorithm." = "Unknown hash algorithm."; +"Unknown media size name." = "Unknown media size name."; +"Unknown option \"%s\" with value \"%s\"." = "Unknown option “%s” with value “%s”."; +"Unknown option \"%s\"." = "Unknown option “%s”."; +"Unknown print mode: \"%s\"." = "Unknown print mode: “%s”."; +"Unknown printer-error-policy \"%s\"." = "Unknown printer-error-policy “%s”."; +"Unknown printer-op-policy \"%s\"." = "Unknown printer-op-policy “%s”."; +"Unknown request method." = "Unknown request method."; +"Unknown request version." = "Unknown request version."; +"Unknown scheme in URI" = "Unknown scheme in URI"; +"Unknown service name." = "Unknown service name."; +"Unknown version option value: \"%s\"." = "Unknown version option value: “%s”."; +"Unsupported 'compression' value \"%s\"." = "Unsupported ‘compression’ value “%s”."; +"Unsupported 'document-format' value \"%s\"." = "Unsupported ‘document-format’ value “%s”."; +"Unsupported 'job-hold-until' value." = "Unsupported ‘job-hold-until’ value."; +"Unsupported 'job-name' value." = "Unsupported ‘job-name’ value."; +"Unsupported character set \"%s\"." = "Unsupported character set “%s”."; +"Unsupported compression \"%s\"." = "Unsupported compression “%s”."; +"Unsupported document-format \"%s\"." = "Unsupported document-format “%s”."; +"Unsupported document-format \"%s/%s\"." = "Unsupported document-format “%s/%s”."; +"Unsupported format \"%s\"." = "Unsupported format “%s”."; +"Unsupported margins." = "Unsupported margins."; +"Unsupported media value." = "Unsupported media value."; +"Unsupported number-up value %d, using number-up=1." = "Unsupported number-up value %d, using number-up=1."; +"Unsupported number-up-layout value %s, using number-up-layout=lrtb." = "Unsupported number-up-layout value %s, using number-up-layout=lrtb."; +"Unsupported page-border value %s, using page-border=none." = "Unsupported page-border value %s, using page-border=none."; +"Unsupported raster data." = "Unsupported raster data."; +"Unsupported value type" = "Unsupported value type"; +"Upgrade Required" = "Upgrade Required"; +"Usage: %s [options] destination(s)" = "Usage: %s [options] destination(s)"; +"Usage: %s job-id user title copies options [file]" = "Usage: %s job-id user title copies options [file]"; +"Usage: cancel [options] [id]\n cancel [options] [destination]\n cancel [options] [destination-id]" = "Usage: cancel [options] [id]\n cancel [options] [destination]\n cancel [options] [destination-id]"; +"Usage: cupsctl [options] [param=value ... paramN=valueN]" = "Usage: cupsctl [options] [param=value … paramN=valueN]"; +"Usage: cupsd [options]" = "Usage: cupsd [options]"; +"Usage: cupsfilter [ options ] [ -- ] filename" = "Usage: cupsfilter [ options ] [ -- ] filename"; +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n program | cupstestppd [options] -" = "Usage: cupstestppd [options] filename1.ppd[.gz] [… filenameN.ppd[.gz]]\n program | cupstestppd [options] -"; +"Usage: ippeveprinter [options] \"name\"" = "Usage: ippeveprinter [options] “name”"; +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n ippfind [options] name[.regtype[.domain.]] ... [expression]\n ippfind --help\n ippfind --version" = "Usage: ippfind [options] regtype[,subtype][.domain.] … [expression]\n ippfind [options] name[.regtype[.domain.]] … [expression]\n ippfind --help\n ippfind --version"; +"Usage: ipptool [options] URI filename [ ... filenameN ]" = "Usage: ipptool [options] URI filename [ … filenameN ]"; +"Usage: lp [options] [--] [file(s)]\n lp [options] -i id" = "Usage: lp [options] [--] [file(s)]\n lp [options] -i id"; +"Usage: lpadmin [options] -d destination\n lpadmin [options] -p destination\n lpadmin [options] -p destination -c class\n lpadmin [options] -p destination -r class\n lpadmin [options] -x destination" = "Usage: lpadmin [options] -d destination\n lpadmin [options] -p destination\n lpadmin [options] -p destination -c class\n lpadmin [options] -p destination -r class\n lpadmin [options] -x destination"; +"Usage: lpinfo [options] -m\n lpinfo [options] -v" = "Usage: lpinfo [options] -m\n lpinfo [options] -v"; +"Usage: lpmove [options] job destination\n lpmove [options] source-destination destination" = "Usage: lpmove [options] job destination\n lpmove [options] source-destination destination"; +"Usage: lpoptions [options] -d destination\n lpoptions [options] [-p destination] [-l]\n lpoptions [options] [-p destination] -o option[=value]\n lpoptions [options] -x destination" = "Usage: lpoptions [options] -d destination\n lpoptions [options] [-p destination] [-l]\n lpoptions [options] [-p destination] -o option[=value]\n lpoptions [options] -x destination"; +"Usage: lpq [options] [+interval]" = "Usage: lpq [options] [+interval]"; +"Usage: lpr [options] [file(s)]" = "Usage: lpr [options] [file(s)]"; +"Usage: lprm [options] [id]\n lprm [options] -" = "Usage: lprm [options] [id]\n lprm [options] -"; +"Usage: lpstat [options]" = "Usage: lpstat [options]"; +"Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" = "Usage: ppdc [options] filename.drv [ … filenameN.drv ]"; +"Usage: ppdhtml [options] filename.drv >filename.html" = "Usage: ppdhtml [options] filename.drv >filename.html"; +"Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" = "Usage: ppdi [options] filename.ppd [ … filenameN.ppd ]"; +"Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" = "Usage: ppdmerge [options] filename.ppd [ … filenameN.ppd ]"; +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" = "Usage: ppdpo [options] -o filename.po filename.drv [ … filenameN.drv ]"; +"Usage: snmp [host-or-ip-address]" = "Usage: snmp [host-or-ip-address]"; +"Using spool directory \"%s\"." = "Using spool directory “%s”."; +"Value uses indefinite length" = "Value uses indefinite length"; +"VarBind uses indefinite length" = "VarBind uses indefinite length"; +"Version uses indefinite length" = "Version uses indefinite length"; +"Waiting for job to complete." = "Waiting for job to complete."; +"Waiting for printer to become available." = "Waiting for printer to become available."; +"Waiting for printer to finish." = "Waiting for printer to finish."; +"Warning: This program will be removed in a future version of CUPS." = "Warning: This program will be removed in a future version of CUPS."; +"Web Interface is Disabled" = "Web Interface is Disabled"; +"Yes" = "Yes"; +"You cannot access this page." = "You cannot access this page."; +"You must access this page using the URL https://%s:%d%s." = "You must access this page using the URL https://%s:%d%s."; +"Your account does not have the necessary privileges." = "Your account does not have the necessary privileges."; +"ZPL Label Printer" = "ZPL Label Printer"; +"Zebra" = "Zebra"; +"aborted" = "aborted"; +// TRANSLATORS: Accuracy Units +"accuracy-units" = "Accuracy Units"; +// TRANSLATORS: Millimeters +"accuracy-units.mm" = "Millimeters"; +// TRANSLATORS: Nanometers +"accuracy-units.nm" = "Nanometers"; +// TRANSLATORS: Micrometers +"accuracy-units.um" = "Micrometers"; +// TRANSLATORS: Bale Output +"baling" = "Bale Output"; +// TRANSLATORS: Bale Using +"baling-type" = "Bale Using"; +// TRANSLATORS: Band +"baling-type.band" = "Band"; +// TRANSLATORS: Shrink Wrap +"baling-type.shrink-wrap" = "Shrink Wrap"; +// TRANSLATORS: Wrap +"baling-type.wrap" = "Wrap"; +// TRANSLATORS: Bale After +"baling-when" = "Bale After"; +// TRANSLATORS: Job +"baling-when.after-job" = "Job"; +// TRANSLATORS: Sets +"baling-when.after-sets" = "Sets"; +// TRANSLATORS: Bind Output +"binding" = "Bind Output"; +// TRANSLATORS: Bind Edge +"binding-reference-edge" = "Bind Edge"; +// TRANSLATORS: Bottom +"binding-reference-edge.bottom" = "Bottom"; +// TRANSLATORS: Left +"binding-reference-edge.left" = "Left"; +// TRANSLATORS: Right +"binding-reference-edge.right" = "Right"; +// TRANSLATORS: Top +"binding-reference-edge.top" = "Top"; +// TRANSLATORS: Binder Type +"binding-type" = "Binder Type"; +// TRANSLATORS: Adhesive +"binding-type.adhesive" = "Adhesive"; +// TRANSLATORS: Comb +"binding-type.comb" = "Comb"; +// TRANSLATORS: Flat +"binding-type.flat" = "Flat"; +// TRANSLATORS: Padding +"binding-type.padding" = "Padding"; +// TRANSLATORS: Perfect +"binding-type.perfect" = "Perfect"; +// TRANSLATORS: Spiral +"binding-type.spiral" = "Spiral"; +// TRANSLATORS: Tape +"binding-type.tape" = "Tape"; +// TRANSLATORS: Velo +"binding-type.velo" = "Velo"; +"canceled" = "canceled"; +// TRANSLATORS: Chamber Humidity +"chamber-humidity" = "Chamber Humidity"; +// TRANSLATORS: Chamber Temperature +"chamber-temperature" = "Chamber Temperature"; +// TRANSLATORS: Print Job Cost +"charge-info-message" = "Print Job Cost"; +// TRANSLATORS: Coat Sheets +"coating" = "Coat Sheets"; +// TRANSLATORS: Add Coating To +"coating-sides" = "Add Coating To"; +// TRANSLATORS: Back +"coating-sides.back" = "Back"; +// TRANSLATORS: Front and Back +"coating-sides.both" = "Front and Back"; +// TRANSLATORS: Front +"coating-sides.front" = "Front"; +// TRANSLATORS: Type of Coating +"coating-type" = "Type of Coating"; +// TRANSLATORS: Archival +"coating-type.archival" = "Archival"; +// TRANSLATORS: Archival Glossy +"coating-type.archival-glossy" = "Archival Glossy"; +// TRANSLATORS: Archival Matte +"coating-type.archival-matte" = "Archival Matte"; +// TRANSLATORS: Archival Semi Gloss +"coating-type.archival-semi-gloss" = "Archival Semi Gloss"; +// TRANSLATORS: Glossy +"coating-type.glossy" = "Glossy"; +// TRANSLATORS: High Gloss +"coating-type.high-gloss" = "High Gloss"; +// TRANSLATORS: Matte +"coating-type.matte" = "Matte"; +// TRANSLATORS: Semi-gloss +"coating-type.semi-gloss" = "Semi-gloss"; +// TRANSLATORS: Silicone +"coating-type.silicone" = "Silicone"; +// TRANSLATORS: Translucent +"coating-type.translucent" = "Translucent"; +"completed" = "completed"; +// TRANSLATORS: Print Confirmation Sheet +"confirmation-sheet-print" = "Print Confirmation Sheet"; +// TRANSLATORS: Copies +"copies" = "Copies"; +// TRANSLATORS: Back Cover +"cover-back" = "Back Cover"; +// TRANSLATORS: Front Cover +"cover-front" = "Front Cover"; +// TRANSLATORS: Cover Sheet Info +"cover-sheet-info" = "Cover Sheet Info"; +// TRANSLATORS: Date Time +"cover-sheet-info-supported.date-time" = "Date Time"; +// TRANSLATORS: From Name +"cover-sheet-info-supported.from-name" = "From Name"; +// TRANSLATORS: Logo +"cover-sheet-info-supported.logo" = "Logo"; +// TRANSLATORS: Message +"cover-sheet-info-supported.message" = "Message"; +// TRANSLATORS: Organization +"cover-sheet-info-supported.organization" = "Organization"; +// TRANSLATORS: Subject +"cover-sheet-info-supported.subject" = "Subject"; +// TRANSLATORS: To Name +"cover-sheet-info-supported.to-name" = "To Name"; +// TRANSLATORS: Printed Cover +"cover-type" = "Printed Cover"; +// TRANSLATORS: No Cover +"cover-type.no-cover" = "No Cover"; +// TRANSLATORS: Back Only +"cover-type.print-back" = "Back Only"; +// TRANSLATORS: Front and Back +"cover-type.print-both" = "Front and Back"; +// TRANSLATORS: Front Only +"cover-type.print-front" = "Front Only"; +// TRANSLATORS: None +"cover-type.print-none" = "None"; +// TRANSLATORS: Cover Output +"covering" = "Cover Output"; +// TRANSLATORS: Add Cover +"covering-name" = "Add Cover"; +// TRANSLATORS: Plain +"covering-name.plain" = "Plain"; +// TRANSLATORS: Pre-cut +"covering-name.pre-cut" = "Pre-cut"; +// TRANSLATORS: Pre-printed +"covering-name.pre-printed" = "Pre-printed"; +"cups-deviced failed to execute." = "cups-deviced failed to execute."; +"cups-driverd failed to execute." = "cups-driverd failed to execute."; +"cupsctl: Cannot set %s directly." = "cupsctl: Cannot set %s directly."; +"cupsctl: Unable to connect to server: %s" = "cupsctl: Unable to connect to server: %s"; +"cupsctl: Unknown option \"%s\"" = "cupsctl: Unknown option “%s”"; +"cupsctl: Unknown option \"-%c\"" = "cupsctl: Unknown option “-%c”"; +"cupsd: Expected config filename after \"-c\" option." = "cupsd: Expected config filename after “-c” option."; +"cupsd: Expected cups-files.conf filename after \"-s\" option." = "cupsd: Expected cups-files.conf filename after “-s” option."; +"cupsd: On-demand support not compiled in, running in normal mode." = "cupsd: On-demand support not compiled in, running in normal mode."; +"cupsd: Relative cups-files.conf filename not allowed." = "cupsd: Relative cups-files.conf filename not allowed."; +"cupsd: Unable to get current directory." = "cupsd: Unable to get current directory."; +"cupsd: Unable to get path to cups-files.conf file." = "cupsd: Unable to get path to cups-files.conf file."; +"cupsd: Unknown argument \"%s\" - aborting." = "cupsd: Unknown argument “%s” - aborting."; +"cupsd: Unknown option \"%c\" - aborting." = "cupsd: Unknown option “%c” - aborting."; +"cupsfilter: Invalid document number %d." = "cupsfilter: Invalid document number %d."; +"cupsfilter: Invalid job ID %d." = "cupsfilter: Invalid job ID %d."; +"cupsfilter: Only one filename can be specified." = "cupsfilter: Only one filename can be specified."; +"cupsfilter: Unable to get job file - %s" = "cupsfilter: Unable to get job file - %s"; +"cupstestppd: The -q option is incompatible with the -v option." = "cupstestppd: The -q option is incompatible with the -v option."; +"cupstestppd: The -v option is incompatible with the -q option." = "cupstestppd: The -v option is incompatible with the -q option."; +// TRANSLATORS: Detailed Status Message +"detailed-status-message" = "Detailed Status Message"; +"device for %s/%s: %s" = "device for %s/%s: %s"; +"device for %s: %s" = "device for %s: %s"; +// TRANSLATORS: Copies +"document-copies" = "Copies"; +// TRANSLATORS: Document Privacy Attributes +"document-privacy-attributes" = "Document Privacy Attributes"; +// TRANSLATORS: All +"document-privacy-attributes.all" = "All"; +// TRANSLATORS: Default +"document-privacy-attributes.default" = "Default"; +// TRANSLATORS: Document Description +"document-privacy-attributes.document-description" = "Document Description"; +// TRANSLATORS: Document Template +"document-privacy-attributes.document-template" = "Document Template"; +// TRANSLATORS: None +"document-privacy-attributes.none" = "None"; +// TRANSLATORS: Document Privacy Scope +"document-privacy-scope" = "Document Privacy Scope"; +// TRANSLATORS: All +"document-privacy-scope.all" = "All"; +// TRANSLATORS: Default +"document-privacy-scope.default" = "Default"; +// TRANSLATORS: None +"document-privacy-scope.none" = "None"; +// TRANSLATORS: Owner +"document-privacy-scope.owner" = "Owner"; +// TRANSLATORS: Document State +"document-state" = "Document State"; +// TRANSLATORS: Detailed Document State +"document-state-reasons" = "Detailed Document State"; +// TRANSLATORS: Aborted By System +"document-state-reasons.aborted-by-system" = "Aborted By System"; +// TRANSLATORS: Canceled At Device +"document-state-reasons.canceled-at-device" = "Canceled At Device"; +// TRANSLATORS: Canceled By Operator +"document-state-reasons.canceled-by-operator" = "Canceled By Operator"; +// TRANSLATORS: Canceled By User +"document-state-reasons.canceled-by-user" = "Canceled By User"; +// TRANSLATORS: Completed Successfully +"document-state-reasons.completed-successfully" = "Completed Successfully"; +// TRANSLATORS: Completed With Errors +"document-state-reasons.completed-with-errors" = "Completed With Errors"; +// TRANSLATORS: Completed With Warnings +"document-state-reasons.completed-with-warnings" = "Completed With Warnings"; +// TRANSLATORS: Compression Error +"document-state-reasons.compression-error" = "Compression Error"; +// TRANSLATORS: Data Insufficient +"document-state-reasons.data-insufficient" = "Data Insufficient"; +// TRANSLATORS: Digital Signature Did Not Verify +"document-state-reasons.digital-signature-did-not-verify" = "Digital Signature Did Not Verify"; +// TRANSLATORS: Digital Signature Type Not Supported +"document-state-reasons.digital-signature-type-not-supported" = "Digital Signature Type Not Supported"; +// TRANSLATORS: Digital Signature Wait +"document-state-reasons.digital-signature-wait" = "Digital Signature Wait"; +// TRANSLATORS: Document Access Error +"document-state-reasons.document-access-error" = "Document Access Error"; +// TRANSLATORS: Document Fetchable +"document-state-reasons.document-fetchable" = "Document Fetchable"; +// TRANSLATORS: Document Format Error +"document-state-reasons.document-format-error" = "Document Format Error"; +// TRANSLATORS: Document Password Error +"document-state-reasons.document-password-error" = "Document Password Error"; +// TRANSLATORS: Document Permission Error +"document-state-reasons.document-permission-error" = "Document Permission Error"; +// TRANSLATORS: Document Security Error +"document-state-reasons.document-security-error" = "Document Security Error"; +// TRANSLATORS: Document Unprintable Error +"document-state-reasons.document-unprintable-error" = "Document Unprintable Error"; +// TRANSLATORS: Errors Detected +"document-state-reasons.errors-detected" = "Errors Detected"; +// TRANSLATORS: Incoming +"document-state-reasons.incoming" = "Incoming"; +// TRANSLATORS: Interpreting +"document-state-reasons.interpreting" = "Interpreting"; +// TRANSLATORS: None +"document-state-reasons.none" = "None"; +// TRANSLATORS: Outgoing +"document-state-reasons.outgoing" = "Outgoing"; +// TRANSLATORS: Printing +"document-state-reasons.printing" = "Printing"; +// TRANSLATORS: Processing To Stop Point +"document-state-reasons.processing-to-stop-point" = "Processing To Stop Point"; +// TRANSLATORS: Queued +"document-state-reasons.queued" = "Queued"; +// TRANSLATORS: Queued For Marker +"document-state-reasons.queued-for-marker" = "Queued For Marker"; +// TRANSLATORS: Queued In Device +"document-state-reasons.queued-in-device" = "Queued In Device"; +// TRANSLATORS: Resources Are Not Ready +"document-state-reasons.resources-are-not-ready" = "Resources Are Not Ready"; +// TRANSLATORS: Resources Are Not Supported +"document-state-reasons.resources-are-not-supported" = "Resources Are Not Supported"; +// TRANSLATORS: Submission Interrupted +"document-state-reasons.submission-interrupted" = "Submission Interrupted"; +// TRANSLATORS: Transforming +"document-state-reasons.transforming" = "Transforming"; +// TRANSLATORS: Unsupported Compression +"document-state-reasons.unsupported-compression" = "Unsupported Compression"; +// TRANSLATORS: Unsupported Document Format +"document-state-reasons.unsupported-document-format" = "Unsupported Document Format"; +// TRANSLATORS: Warnings Detected +"document-state-reasons.warnings-detected" = "Warnings Detected"; +// TRANSLATORS: Pending +"document-state.3" = "Pending"; +// TRANSLATORS: Processing +"document-state.5" = "Processing"; +// TRANSLATORS: Stopped +"document-state.6" = "Stopped"; +// TRANSLATORS: Canceled +"document-state.7" = "Canceled"; +// TRANSLATORS: Aborted +"document-state.8" = "Aborted"; +// TRANSLATORS: Completed +"document-state.9" = "Completed"; +"error-index uses indefinite length" = "error-index uses indefinite length"; +"error-status uses indefinite length" = "error-status uses indefinite length"; +"expression --and expression\n Logical AND" = "expression --and expression\n Logical AND"; +"expression --or expression\n Logical OR" = "expression --or expression\n Logical OR"; +"expression expression Logical AND" = "expression expression Logical AND"; +// TRANSLATORS: Feed Orientation +"feed-orientation" = "Feed Orientation"; +// TRANSLATORS: Long Edge First +"feed-orientation.long-edge-first" = "Long Edge First"; +// TRANSLATORS: Short Edge First +"feed-orientation.short-edge-first" = "Short Edge First"; +// TRANSLATORS: Fetch Status Code +"fetch-status-code" = "Fetch Status Code"; +// TRANSLATORS: Finishing Template +"finishing-template" = "Finishing Template"; +// TRANSLATORS: Bale +"finishing-template.bale" = "Bale"; +// TRANSLATORS: Bind +"finishing-template.bind" = "Bind"; +// TRANSLATORS: Bind Bottom +"finishing-template.bind-bottom" = "Bind Bottom"; +// TRANSLATORS: Bind Left +"finishing-template.bind-left" = "Bind Left"; +// TRANSLATORS: Bind Right +"finishing-template.bind-right" = "Bind Right"; +// TRANSLATORS: Bind Top +"finishing-template.bind-top" = "Bind Top"; +// TRANSLATORS: Booklet Maker +"finishing-template.booklet-maker" = "Booklet Maker"; +// TRANSLATORS: Coat +"finishing-template.coat" = "Coat"; +// TRANSLATORS: Cover +"finishing-template.cover" = "Cover"; +// TRANSLATORS: Edge Stitch +"finishing-template.edge-stitch" = "Edge Stitch"; +// TRANSLATORS: Edge Stitch Bottom +"finishing-template.edge-stitch-bottom" = "Edge Stitch Bottom"; +// TRANSLATORS: Edge Stitch Left +"finishing-template.edge-stitch-left" = "Edge Stitch Left"; +// TRANSLATORS: Edge Stitch Right +"finishing-template.edge-stitch-right" = "Edge Stitch Right"; +// TRANSLATORS: Edge Stitch Top +"finishing-template.edge-stitch-top" = "Edge Stitch Top"; +// TRANSLATORS: Fold +"finishing-template.fold" = "Fold"; +// TRANSLATORS: Accordion Fold +"finishing-template.fold-accordion" = "Accordion Fold"; +// TRANSLATORS: Double Gate Fold +"finishing-template.fold-double-gate" = "Double Gate Fold"; +// TRANSLATORS: Engineering Z Fold +"finishing-template.fold-engineering-z" = "Engineering Z Fold"; +// TRANSLATORS: Gate Fold +"finishing-template.fold-gate" = "Gate Fold"; +// TRANSLATORS: Half Fold +"finishing-template.fold-half" = "Half Fold"; +// TRANSLATORS: Half Z Fold +"finishing-template.fold-half-z" = "Half Z Fold"; +// TRANSLATORS: Left Gate Fold +"finishing-template.fold-left-gate" = "Left Gate Fold"; +// TRANSLATORS: Letter Fold +"finishing-template.fold-letter" = "Letter Fold"; +// TRANSLATORS: Parallel Fold +"finishing-template.fold-parallel" = "Parallel Fold"; +// TRANSLATORS: Poster Fold +"finishing-template.fold-poster" = "Poster Fold"; +// TRANSLATORS: Right Gate Fold +"finishing-template.fold-right-gate" = "Right Gate Fold"; +// TRANSLATORS: Z Fold +"finishing-template.fold-z" = "Z Fold"; +// TRANSLATORS: JDF F10-1 +"finishing-template.jdf-f10-1" = "JDF F10-1"; +// TRANSLATORS: JDF F10-2 +"finishing-template.jdf-f10-2" = "JDF F10-2"; +// TRANSLATORS: JDF F10-3 +"finishing-template.jdf-f10-3" = "JDF F10-3"; +// TRANSLATORS: JDF F12-1 +"finishing-template.jdf-f12-1" = "JDF F12-1"; +// TRANSLATORS: JDF F12-10 +"finishing-template.jdf-f12-10" = "JDF F12-10"; +// TRANSLATORS: JDF F12-11 +"finishing-template.jdf-f12-11" = "JDF F12-11"; +// TRANSLATORS: JDF F12-12 +"finishing-template.jdf-f12-12" = "JDF F12-12"; +// TRANSLATORS: JDF F12-13 +"finishing-template.jdf-f12-13" = "JDF F12-13"; +// TRANSLATORS: JDF F12-14 +"finishing-template.jdf-f12-14" = "JDF F12-14"; +// TRANSLATORS: JDF F12-2 +"finishing-template.jdf-f12-2" = "JDF F12-2"; +// TRANSLATORS: JDF F12-3 +"finishing-template.jdf-f12-3" = "JDF F12-3"; +// TRANSLATORS: JDF F12-4 +"finishing-template.jdf-f12-4" = "JDF F12-4"; +// TRANSLATORS: JDF F12-5 +"finishing-template.jdf-f12-5" = "JDF F12-5"; +// TRANSLATORS: JDF F12-6 +"finishing-template.jdf-f12-6" = "JDF F12-6"; +// TRANSLATORS: JDF F12-7 +"finishing-template.jdf-f12-7" = "JDF F12-7"; +// TRANSLATORS: JDF F12-8 +"finishing-template.jdf-f12-8" = "JDF F12-8"; +// TRANSLATORS: JDF F12-9 +"finishing-template.jdf-f12-9" = "JDF F12-9"; +// TRANSLATORS: JDF F14-1 +"finishing-template.jdf-f14-1" = "JDF F14-1"; +// TRANSLATORS: JDF F16-1 +"finishing-template.jdf-f16-1" = "JDF F16-1"; +// TRANSLATORS: JDF F16-10 +"finishing-template.jdf-f16-10" = "JDF F16-10"; +// TRANSLATORS: JDF F16-11 +"finishing-template.jdf-f16-11" = "JDF F16-11"; +// TRANSLATORS: JDF F16-12 +"finishing-template.jdf-f16-12" = "JDF F16-12"; +// TRANSLATORS: JDF F16-13 +"finishing-template.jdf-f16-13" = "JDF F16-13"; +// TRANSLATORS: JDF F16-14 +"finishing-template.jdf-f16-14" = "JDF F16-14"; +// TRANSLATORS: JDF F16-2 +"finishing-template.jdf-f16-2" = "JDF F16-2"; +// TRANSLATORS: JDF F16-3 +"finishing-template.jdf-f16-3" = "JDF F16-3"; +// TRANSLATORS: JDF F16-4 +"finishing-template.jdf-f16-4" = "JDF F16-4"; +// TRANSLATORS: JDF F16-5 +"finishing-template.jdf-f16-5" = "JDF F16-5"; +// TRANSLATORS: JDF F16-6 +"finishing-template.jdf-f16-6" = "JDF F16-6"; +// TRANSLATORS: JDF F16-7 +"finishing-template.jdf-f16-7" = "JDF F16-7"; +// TRANSLATORS: JDF F16-8 +"finishing-template.jdf-f16-8" = "JDF F16-8"; +// TRANSLATORS: JDF F16-9 +"finishing-template.jdf-f16-9" = "JDF F16-9"; +// TRANSLATORS: JDF F18-1 +"finishing-template.jdf-f18-1" = "JDF F18-1"; +// TRANSLATORS: JDF F18-2 +"finishing-template.jdf-f18-2" = "JDF F18-2"; +// TRANSLATORS: JDF F18-3 +"finishing-template.jdf-f18-3" = "JDF F18-3"; +// TRANSLATORS: JDF F18-4 +"finishing-template.jdf-f18-4" = "JDF F18-4"; +// TRANSLATORS: JDF F18-5 +"finishing-template.jdf-f18-5" = "JDF F18-5"; +// TRANSLATORS: JDF F18-6 +"finishing-template.jdf-f18-6" = "JDF F18-6"; +// TRANSLATORS: JDF F18-7 +"finishing-template.jdf-f18-7" = "JDF F18-7"; +// TRANSLATORS: JDF F18-8 +"finishing-template.jdf-f18-8" = "JDF F18-8"; +// TRANSLATORS: JDF F18-9 +"finishing-template.jdf-f18-9" = "JDF F18-9"; +// TRANSLATORS: JDF F2-1 +"finishing-template.jdf-f2-1" = "JDF F2-1"; +// TRANSLATORS: JDF F20-1 +"finishing-template.jdf-f20-1" = "JDF F20-1"; +// TRANSLATORS: JDF F20-2 +"finishing-template.jdf-f20-2" = "JDF F20-2"; +// TRANSLATORS: JDF F24-1 +"finishing-template.jdf-f24-1" = "JDF F24-1"; +// TRANSLATORS: JDF F24-10 +"finishing-template.jdf-f24-10" = "JDF F24-10"; +// TRANSLATORS: JDF F24-11 +"finishing-template.jdf-f24-11" = "JDF F24-11"; +// TRANSLATORS: JDF F24-2 +"finishing-template.jdf-f24-2" = "JDF F24-2"; +// TRANSLATORS: JDF F24-3 +"finishing-template.jdf-f24-3" = "JDF F24-3"; +// TRANSLATORS: JDF F24-4 +"finishing-template.jdf-f24-4" = "JDF F24-4"; +// TRANSLATORS: JDF F24-5 +"finishing-template.jdf-f24-5" = "JDF F24-5"; +// TRANSLATORS: JDF F24-6 +"finishing-template.jdf-f24-6" = "JDF F24-6"; +// TRANSLATORS: JDF F24-7 +"finishing-template.jdf-f24-7" = "JDF F24-7"; +// TRANSLATORS: JDF F24-8 +"finishing-template.jdf-f24-8" = "JDF F24-8"; +// TRANSLATORS: JDF F24-9 +"finishing-template.jdf-f24-9" = "JDF F24-9"; +// TRANSLATORS: JDF F28-1 +"finishing-template.jdf-f28-1" = "JDF F28-1"; +// TRANSLATORS: JDF F32-1 +"finishing-template.jdf-f32-1" = "JDF F32-1"; +// TRANSLATORS: JDF F32-2 +"finishing-template.jdf-f32-2" = "JDF F32-2"; +// TRANSLATORS: JDF F32-3 +"finishing-template.jdf-f32-3" = "JDF F32-3"; +// TRANSLATORS: JDF F32-4 +"finishing-template.jdf-f32-4" = "JDF F32-4"; +// TRANSLATORS: JDF F32-5 +"finishing-template.jdf-f32-5" = "JDF F32-5"; +// TRANSLATORS: JDF F32-6 +"finishing-template.jdf-f32-6" = "JDF F32-6"; +// TRANSLATORS: JDF F32-7 +"finishing-template.jdf-f32-7" = "JDF F32-7"; +// TRANSLATORS: JDF F32-8 +"finishing-template.jdf-f32-8" = "JDF F32-8"; +// TRANSLATORS: JDF F32-9 +"finishing-template.jdf-f32-9" = "JDF F32-9"; +// TRANSLATORS: JDF F36-1 +"finishing-template.jdf-f36-1" = "JDF F36-1"; +// TRANSLATORS: JDF F36-2 +"finishing-template.jdf-f36-2" = "JDF F36-2"; +// TRANSLATORS: JDF F4-1 +"finishing-template.jdf-f4-1" = "JDF F4-1"; +// TRANSLATORS: JDF F4-2 +"finishing-template.jdf-f4-2" = "JDF F4-2"; +// TRANSLATORS: JDF F40-1 +"finishing-template.jdf-f40-1" = "JDF F40-1"; +// TRANSLATORS: JDF F48-1 +"finishing-template.jdf-f48-1" = "JDF F48-1"; +// TRANSLATORS: JDF F48-2 +"finishing-template.jdf-f48-2" = "JDF F48-2"; +// TRANSLATORS: JDF F6-1 +"finishing-template.jdf-f6-1" = "JDF F6-1"; +// TRANSLATORS: JDF F6-2 +"finishing-template.jdf-f6-2" = "JDF F6-2"; +// TRANSLATORS: JDF F6-3 +"finishing-template.jdf-f6-3" = "JDF F6-3"; +// TRANSLATORS: JDF F6-4 +"finishing-template.jdf-f6-4" = "JDF F6-4"; +// TRANSLATORS: JDF F6-5 +"finishing-template.jdf-f6-5" = "JDF F6-5"; +// TRANSLATORS: JDF F6-6 +"finishing-template.jdf-f6-6" = "JDF F6-6"; +// TRANSLATORS: JDF F6-7 +"finishing-template.jdf-f6-7" = "JDF F6-7"; +// TRANSLATORS: JDF F6-8 +"finishing-template.jdf-f6-8" = "JDF F6-8"; +// TRANSLATORS: JDF F64-1 +"finishing-template.jdf-f64-1" = "JDF F64-1"; +// TRANSLATORS: JDF F64-2 +"finishing-template.jdf-f64-2" = "JDF F64-2"; +// TRANSLATORS: JDF F8-1 +"finishing-template.jdf-f8-1" = "JDF F8-1"; +// TRANSLATORS: JDF F8-2 +"finishing-template.jdf-f8-2" = "JDF F8-2"; +// TRANSLATORS: JDF F8-3 +"finishing-template.jdf-f8-3" = "JDF F8-3"; +// TRANSLATORS: JDF F8-4 +"finishing-template.jdf-f8-4" = "JDF F8-4"; +// TRANSLATORS: JDF F8-5 +"finishing-template.jdf-f8-5" = "JDF F8-5"; +// TRANSLATORS: JDF F8-6 +"finishing-template.jdf-f8-6" = "JDF F8-6"; +// TRANSLATORS: JDF F8-7 +"finishing-template.jdf-f8-7" = "JDF F8-7"; +// TRANSLATORS: Jog Offset +"finishing-template.jog-offset" = "Jog Offset"; +// TRANSLATORS: Laminate +"finishing-template.laminate" = "Laminate"; +// TRANSLATORS: Punch +"finishing-template.punch" = "Punch"; +// TRANSLATORS: Punch Bottom Left +"finishing-template.punch-bottom-left" = "Punch Bottom Left"; +// TRANSLATORS: Punch Bottom Right +"finishing-template.punch-bottom-right" = "Punch Bottom Right"; +// TRANSLATORS: 2-hole Punch Bottom +"finishing-template.punch-dual-bottom" = "2-hole Punch Bottom"; +// TRANSLATORS: 2-hole Punch Left +"finishing-template.punch-dual-left" = "2-hole Punch Left"; +// TRANSLATORS: 2-hole Punch Right +"finishing-template.punch-dual-right" = "2-hole Punch Right"; +// TRANSLATORS: 2-hole Punch Top +"finishing-template.punch-dual-top" = "2-hole Punch Top"; +// TRANSLATORS: Multi-hole Punch Bottom +"finishing-template.punch-multiple-bottom" = "Multi-hole Punch Bottom"; +// TRANSLATORS: Multi-hole Punch Left +"finishing-template.punch-multiple-left" = "Multi-hole Punch Left"; +// TRANSLATORS: Multi-hole Punch Right +"finishing-template.punch-multiple-right" = "Multi-hole Punch Right"; +// TRANSLATORS: Multi-hole Punch Top +"finishing-template.punch-multiple-top" = "Multi-hole Punch Top"; +// TRANSLATORS: 4-hole Punch Bottom +"finishing-template.punch-quad-bottom" = "4-hole Punch Bottom"; +// TRANSLATORS: 4-hole Punch Left +"finishing-template.punch-quad-left" = "4-hole Punch Left"; +// TRANSLATORS: 4-hole Punch Right +"finishing-template.punch-quad-right" = "4-hole Punch Right"; +// TRANSLATORS: 4-hole Punch Top +"finishing-template.punch-quad-top" = "4-hole Punch Top"; +// TRANSLATORS: Punch Top Left +"finishing-template.punch-top-left" = "Punch Top Left"; +// TRANSLATORS: Punch Top Right +"finishing-template.punch-top-right" = "Punch Top Right"; +// TRANSLATORS: 3-hole Punch Bottom +"finishing-template.punch-triple-bottom" = "3-hole Punch Bottom"; +// TRANSLATORS: 3-hole Punch Left +"finishing-template.punch-triple-left" = "3-hole Punch Left"; +// TRANSLATORS: 3-hole Punch Right +"finishing-template.punch-triple-right" = "3-hole Punch Right"; +// TRANSLATORS: 3-hole Punch Top +"finishing-template.punch-triple-top" = "3-hole Punch Top"; +// TRANSLATORS: Saddle Stitch +"finishing-template.saddle-stitch" = "Saddle Stitch"; +// TRANSLATORS: Staple +"finishing-template.staple" = "Staple"; +// TRANSLATORS: Staple Bottom Left +"finishing-template.staple-bottom-left" = "Staple Bottom Left"; +// TRANSLATORS: Staple Bottom Right +"finishing-template.staple-bottom-right" = "Staple Bottom Right"; +// TRANSLATORS: 2 Staples on Bottom +"finishing-template.staple-dual-bottom" = "2 Staples on Bottom"; +// TRANSLATORS: 2 Staples on Left +"finishing-template.staple-dual-left" = "2 Staples on Left"; +// TRANSLATORS: 2 Staples on Right +"finishing-template.staple-dual-right" = "2 Staples on Right"; +// TRANSLATORS: 2 Staples on Top +"finishing-template.staple-dual-top" = "2 Staples on Top"; +// TRANSLATORS: Staple Top Left +"finishing-template.staple-top-left" = "Staple Top Left"; +// TRANSLATORS: Staple Top Right +"finishing-template.staple-top-right" = "Staple Top Right"; +// TRANSLATORS: 3 Staples on Bottom +"finishing-template.staple-triple-bottom" = "3 Staples on Bottom"; +// TRANSLATORS: 3 Staples on Left +"finishing-template.staple-triple-left" = "3 Staples on Left"; +// TRANSLATORS: 3 Staples on Right +"finishing-template.staple-triple-right" = "3 Staples on Right"; +// TRANSLATORS: 3 Staples on Top +"finishing-template.staple-triple-top" = "3 Staples on Top"; +// TRANSLATORS: Trim +"finishing-template.trim" = "Trim"; +// TRANSLATORS: Trim After Every Set +"finishing-template.trim-after-copies" = "Trim After Every Set"; +// TRANSLATORS: Trim After Every Document +"finishing-template.trim-after-documents" = "Trim After Every Document"; +// TRANSLATORS: Trim After Job +"finishing-template.trim-after-job" = "Trim After Job"; +// TRANSLATORS: Trim After Every Page +"finishing-template.trim-after-pages" = "Trim After Every Page"; +// TRANSLATORS: Finishings +"finishings" = "Finishings"; +// TRANSLATORS: Finishings +"finishings-col" = "Finishings"; +// TRANSLATORS: Fold +"finishings.10" = "Fold"; +// TRANSLATORS: Z Fold +"finishings.100" = "Z Fold"; +// TRANSLATORS: Engineering Z Fold +"finishings.101" = "Engineering Z Fold"; +// TRANSLATORS: Trim +"finishings.11" = "Trim"; +// TRANSLATORS: Bale +"finishings.12" = "Bale"; +// TRANSLATORS: Booklet Maker +"finishings.13" = "Booklet Maker"; +// TRANSLATORS: Jog Offset +"finishings.14" = "Jog Offset"; +// TRANSLATORS: Coat +"finishings.15" = "Coat"; +// TRANSLATORS: Laminate +"finishings.16" = "Laminate"; +// TRANSLATORS: Staple Top Left +"finishings.20" = "Staple Top Left"; +// TRANSLATORS: Staple Bottom Left +"finishings.21" = "Staple Bottom Left"; +// TRANSLATORS: Staple Top Right +"finishings.22" = "Staple Top Right"; +// TRANSLATORS: Staple Bottom Right +"finishings.23" = "Staple Bottom Right"; +// TRANSLATORS: Edge Stitch Left +"finishings.24" = "Edge Stitch Left"; +// TRANSLATORS: Edge Stitch Top +"finishings.25" = "Edge Stitch Top"; +// TRANSLATORS: Edge Stitch Right +"finishings.26" = "Edge Stitch Right"; +// TRANSLATORS: Edge Stitch Bottom +"finishings.27" = "Edge Stitch Bottom"; +// TRANSLATORS: 2 Staples on Left +"finishings.28" = "2 Staples on Left"; +// TRANSLATORS: 2 Staples on Top +"finishings.29" = "2 Staples on Top"; +// TRANSLATORS: None +"finishings.3" = "None"; +// TRANSLATORS: 2 Staples on Right +"finishings.30" = "2 Staples on Right"; +// TRANSLATORS: 2 Staples on Bottom +"finishings.31" = "2 Staples on Bottom"; +// TRANSLATORS: 3 Staples on Left +"finishings.32" = "3 Staples on Left"; +// TRANSLATORS: 3 Staples on Top +"finishings.33" = "3 Staples on Top"; +// TRANSLATORS: 3 Staples on Right +"finishings.34" = "3 Staples on Right"; +// TRANSLATORS: 3 Staples on Bottom +"finishings.35" = "3 Staples on Bottom"; +// TRANSLATORS: Staple +"finishings.4" = "Staple"; +// TRANSLATORS: Punch +"finishings.5" = "Punch"; +// TRANSLATORS: Bind Left +"finishings.50" = "Bind Left"; +// TRANSLATORS: Bind Top +"finishings.51" = "Bind Top"; +// TRANSLATORS: Bind Right +"finishings.52" = "Bind Right"; +// TRANSLATORS: Bind Bottom +"finishings.53" = "Bind Bottom"; +// TRANSLATORS: Cover +"finishings.6" = "Cover"; +// TRANSLATORS: Trim Pages +"finishings.60" = "Trim Pages"; +// TRANSLATORS: Trim Documents +"finishings.61" = "Trim Documents"; +// TRANSLATORS: Trim Copies +"finishings.62" = "Trim Copies"; +// TRANSLATORS: Trim Job +"finishings.63" = "Trim Job"; +// TRANSLATORS: Bind +"finishings.7" = "Bind"; +// TRANSLATORS: Punch Top Left +"finishings.70" = "Punch Top Left"; +// TRANSLATORS: Punch Bottom Left +"finishings.71" = "Punch Bottom Left"; +// TRANSLATORS: Punch Top Right +"finishings.72" = "Punch Top Right"; +// TRANSLATORS: Punch Bottom Right +"finishings.73" = "Punch Bottom Right"; +// TRANSLATORS: 2-hole Punch Left +"finishings.74" = "2-hole Punch Left"; +// TRANSLATORS: 2-hole Punch Top +"finishings.75" = "2-hole Punch Top"; +// TRANSLATORS: 2-hole Punch Right +"finishings.76" = "2-hole Punch Right"; +// TRANSLATORS: 2-hole Punch Bottom +"finishings.77" = "2-hole Punch Bottom"; +// TRANSLATORS: 3-hole Punch Left +"finishings.78" = "3-hole Punch Left"; +// TRANSLATORS: 3-hole Punch Top +"finishings.79" = "3-hole Punch Top"; +// TRANSLATORS: Saddle Stitch +"finishings.8" = "Saddle Stitch"; +// TRANSLATORS: 3-hole Punch Right +"finishings.80" = "3-hole Punch Right"; +// TRANSLATORS: 3-hole Punch Bottom +"finishings.81" = "3-hole Punch Bottom"; +// TRANSLATORS: 4-hole Punch Left +"finishings.82" = "4-hole Punch Left"; +// TRANSLATORS: 4-hole Punch Top +"finishings.83" = "4-hole Punch Top"; +// TRANSLATORS: 4-hole Punch Right +"finishings.84" = "4-hole Punch Right"; +// TRANSLATORS: 4-hole Punch Bottom +"finishings.85" = "4-hole Punch Bottom"; +// TRANSLATORS: Multi-hole Punch Left +"finishings.86" = "Multi-hole Punch Left"; +// TRANSLATORS: Multi-hole Punch Top +"finishings.87" = "Multi-hole Punch Top"; +// TRANSLATORS: Multi-hole Punch Right +"finishings.88" = "Multi-hole Punch Right"; +// TRANSLATORS: Multi-hole Punch Bottom +"finishings.89" = "Multi-hole Punch Bottom"; +// TRANSLATORS: Edge Stitch +"finishings.9" = "Edge Stitch"; +// TRANSLATORS: Accordion Fold +"finishings.90" = "Accordion Fold"; +// TRANSLATORS: Double Gate Fold +"finishings.91" = "Double Gate Fold"; +// TRANSLATORS: Gate Fold +"finishings.92" = "Gate Fold"; +// TRANSLATORS: Half Fold +"finishings.93" = "Half Fold"; +// TRANSLATORS: Half Z Fold +"finishings.94" = "Half Z Fold"; +// TRANSLATORS: Left Gate Fold +"finishings.95" = "Left Gate Fold"; +// TRANSLATORS: Letter Fold +"finishings.96" = "Letter Fold"; +// TRANSLATORS: Parallel Fold +"finishings.97" = "Parallel Fold"; +// TRANSLATORS: Poster Fold +"finishings.98" = "Poster Fold"; +// TRANSLATORS: Right Gate Fold +"finishings.99" = "Right Gate Fold"; +// TRANSLATORS: Fold +"folding" = "Fold"; +// TRANSLATORS: Fold Direction +"folding-direction" = "Fold Direction"; +// TRANSLATORS: Inward +"folding-direction.inward" = "Inward"; +// TRANSLATORS: Outward +"folding-direction.outward" = "Outward"; +// TRANSLATORS: Fold Position +"folding-offset" = "Fold Position"; +// TRANSLATORS: Fold Edge +"folding-reference-edge" = "Fold Edge"; +// TRANSLATORS: Bottom +"folding-reference-edge.bottom" = "Bottom"; +// TRANSLATORS: Left +"folding-reference-edge.left" = "Left"; +// TRANSLATORS: Right +"folding-reference-edge.right" = "Right"; +// TRANSLATORS: Top +"folding-reference-edge.top" = "Top"; +// TRANSLATORS: Font Name +"font-name-requested" = "Font Name"; +// TRANSLATORS: Font Size +"font-size-requested" = "Font Size"; +// TRANSLATORS: Force Front Side +"force-front-side" = "Force Front Side"; +// TRANSLATORS: From Name +"from-name" = "From Name"; +"held" = "held"; +"help\t\tGet help on commands." = "help\t\tGet help on commands."; +"idle" = "idle"; +// TRANSLATORS: Imposition Template +"imposition-template" = "Imposition Template"; +// TRANSLATORS: None +"imposition-template.none" = "None"; +// TRANSLATORS: Signature +"imposition-template.signature" = "Signature"; +// TRANSLATORS: Insert Page Number +"insert-after-page-number" = "Insert Page Number"; +// TRANSLATORS: Insert Count +"insert-count" = "Insert Count"; +// TRANSLATORS: Insert Sheet +"insert-sheet" = "Insert Sheet"; +"ippeveprinter: Unable to open \"%s\": %s on line %d." = "ippeveprinter: Unable to open “%s”: %s on line %d."; +"ippfind: Bad regular expression: %s" = "ippfind: Bad regular expression: %s"; +"ippfind: Cannot use --and after --or." = "ippfind: Cannot use --and after --or."; +"ippfind: Expected key name after %s." = "ippfind: Expected key name after %s."; +"ippfind: Expected port range after %s." = "ippfind: Expected port range after %s."; +"ippfind: Expected program after %s." = "ippfind: Expected program after %s."; +"ippfind: Expected semi-colon after %s." = "ippfind: Expected semi-colon after %s."; +"ippfind: Missing close brace in substitution." = "ippfind: Missing close brace in substitution."; +"ippfind: Missing close parenthesis." = "ippfind: Missing close parenthesis."; +"ippfind: Missing expression before \"--and\"." = "ippfind: Missing expression before “--and”."; +"ippfind: Missing expression before \"--or\"." = "ippfind: Missing expression before “--or”."; +"ippfind: Missing key name after %s." = "ippfind: Missing key name after %s."; +"ippfind: Missing name after %s." = "ippfind: Missing name after %s."; +"ippfind: Missing open parenthesis." = "ippfind: Missing open parenthesis."; +"ippfind: Missing program after %s." = "ippfind: Missing program after %s."; +"ippfind: Missing regular expression after %s." = "ippfind: Missing regular expression after %s."; +"ippfind: Missing semi-colon after %s." = "ippfind: Missing semi-colon after %s."; +"ippfind: Out of memory." = "ippfind: Out of memory."; +"ippfind: Too many parenthesis." = "ippfind: Too many parenthesis."; +"ippfind: Unable to browse or resolve: %s" = "ippfind: Unable to browse or resolve: %s"; +"ippfind: Unable to execute \"%s\": %s" = "ippfind: Unable to execute “%s”: %s"; +"ippfind: Unable to use Bonjour: %s" = "ippfind: Unable to use Bonjour: %s"; +"ippfind: Unknown variable \"{%s}\"." = "ippfind: Unknown variable “{%s}”."; +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", and \"-X\"." = "ipptool: “-i” and “-n” are incompatible with “--ippserver”, “-P”, and “-X”."; +"ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." = "ipptool: “-i” and “-n” are incompatible with “-P” and “-X”."; +"ipptool: Bad URI \"%s\"." = "ipptool: Bad URI “%s”."; +"ipptool: Invalid seconds for \"-i\"." = "ipptool: Invalid seconds for “-i”."; +"ipptool: May only specify a single URI." = "ipptool: May only specify a single URI."; +"ipptool: Missing count for \"-n\"." = "ipptool: Missing count for “-n”."; +"ipptool: Missing filename for \"--ippserver\"." = "ipptool: Missing filename for “--ippserver”."; +"ipptool: Missing filename for \"-f\"." = "ipptool: Missing filename for “-f”."; +"ipptool: Missing name=value for \"-d\"." = "ipptool: Missing name=value for “-d”."; +"ipptool: Missing seconds for \"-i\"." = "ipptool: Missing seconds for “-i”."; +"ipptool: URI required before test file." = "ipptool: URI required before test file."; +// TRANSLATORS: Job Account ID +"job-account-id" = "Job Account ID"; +// TRANSLATORS: Job Account Type +"job-account-type" = "Job Account Type"; +// TRANSLATORS: General +"job-account-type.general" = "General"; +// TRANSLATORS: Group +"job-account-type.group" = "Group"; +// TRANSLATORS: None +"job-account-type.none" = "None"; +// TRANSLATORS: Job Accounting Output Bin +"job-accounting-output-bin" = "Job Accounting Output Bin"; +// TRANSLATORS: Job Accounting Sheets +"job-accounting-sheets" = "Job Accounting Sheets"; +// TRANSLATORS: Type of Job Accounting Sheets +"job-accounting-sheets-type" = "Type of Job Accounting Sheets"; +// TRANSLATORS: None +"job-accounting-sheets-type.none" = "None"; +// TRANSLATORS: Standard +"job-accounting-sheets-type.standard" = "Standard"; +// TRANSLATORS: Job Accounting User ID +"job-accounting-user-id" = "Job Accounting User ID"; +// TRANSLATORS: Job Cancel After +"job-cancel-after" = "job-cancel-after"; +// TRANSLATORS: Copies +"job-copies" = "Copies"; +// TRANSLATORS: Back Cover +"job-cover-back" = "Back Cover"; +// TRANSLATORS: Front Cover +"job-cover-front" = "Front Cover"; +// TRANSLATORS: Delay Output Until +"job-delay-output-until" = "Delay Output Until"; +// TRANSLATORS: Delay Output Until +"job-delay-output-until-time" = "Delay Output Until"; +// TRANSLATORS: Daytime +"job-delay-output-until.day-time" = "Daytime"; +// TRANSLATORS: Evening +"job-delay-output-until.evening" = "Evening"; +// TRANSLATORS: Released +"job-delay-output-until.indefinite" = "Released"; +// TRANSLATORS: Night +"job-delay-output-until.night" = "Night"; +// TRANSLATORS: No Delay +"job-delay-output-until.no-delay-output" = "No Delay"; +// TRANSLATORS: Second Shift +"job-delay-output-until.second-shift" = "Second Shift"; +// TRANSLATORS: Third Shift +"job-delay-output-until.third-shift" = "Third Shift"; +// TRANSLATORS: Weekend +"job-delay-output-until.weekend" = "Weekend"; +// TRANSLATORS: On Error +"job-error-action" = "On Error"; +// TRANSLATORS: Abort Job +"job-error-action.abort-job" = "Abort Job"; +// TRANSLATORS: Cancel Job +"job-error-action.cancel-job" = "Cancel Job"; +// TRANSLATORS: Continue Job +"job-error-action.continue-job" = "Continue Job"; +// TRANSLATORS: Suspend Job +"job-error-action.suspend-job" = "Suspend Job"; +// TRANSLATORS: Print Error Sheet +"job-error-sheet" = "Print Error Sheet"; +// TRANSLATORS: Type of Error Sheet +"job-error-sheet-type" = "Type of Error Sheet"; +// TRANSLATORS: None +"job-error-sheet-type.none" = "None"; +// TRANSLATORS: Standard +"job-error-sheet-type.standard" = "Standard"; +// TRANSLATORS: Print Error Sheet +"job-error-sheet-when" = "Print Error Sheet"; +// TRANSLATORS: Always +"job-error-sheet-when.always" = "Always"; +// TRANSLATORS: On Error +"job-error-sheet-when.on-error" = "On Error"; +// TRANSLATORS: Job Finishings +"job-finishings" = "Job Finishings"; +// TRANSLATORS: Hold Until +"job-hold-until" = "Hold Until"; +// TRANSLATORS: Hold Until +"job-hold-until-time" = "Hold Until"; +// TRANSLATORS: Daytime +"job-hold-until.day-time" = "Daytime"; +// TRANSLATORS: Evening +"job-hold-until.evening" = "Evening"; +// TRANSLATORS: Released +"job-hold-until.indefinite" = "Released"; +// TRANSLATORS: Night +"job-hold-until.night" = "Night"; +// TRANSLATORS: No Hold +"job-hold-until.no-hold" = "No Hold"; +// TRANSLATORS: Second Shift +"job-hold-until.second-shift" = "Second Shift"; +// TRANSLATORS: Third Shift +"job-hold-until.third-shift" = "Third Shift"; +// TRANSLATORS: Weekend +"job-hold-until.weekend" = "Weekend"; +// TRANSLATORS: Job Mandatory Attributes +"job-mandatory-attributes" = "Job Mandatory Attributes"; +// TRANSLATORS: Title +"job-name" = "Title"; +// TRANSLATORS: Job Pages +"job-pages" = "Job Pages"; +// TRANSLATORS: Job Pages +"job-pages-col" = "Job Pages"; +// TRANSLATORS: Job Phone Number +"job-phone-number" = "Job Phone Number"; +"job-printer-uri attribute missing." = "job-printer-uri attribute missing."; +// TRANSLATORS: Job Priority +"job-priority" = "Job Priority"; +// TRANSLATORS: Job Privacy Attributes +"job-privacy-attributes" = "Job Privacy Attributes"; +// TRANSLATORS: All +"job-privacy-attributes.all" = "All"; +// TRANSLATORS: Default +"job-privacy-attributes.default" = "Default"; +// TRANSLATORS: Job Description +"job-privacy-attributes.job-description" = "Job Description"; +// TRANSLATORS: Job Template +"job-privacy-attributes.job-template" = "Job Template"; +// TRANSLATORS: None +"job-privacy-attributes.none" = "None"; +// TRANSLATORS: Job Privacy Scope +"job-privacy-scope" = "Job Privacy Scope"; +// TRANSLATORS: All +"job-privacy-scope.all" = "All"; +// TRANSLATORS: Default +"job-privacy-scope.default" = "Default"; +// TRANSLATORS: None +"job-privacy-scope.none" = "None"; +// TRANSLATORS: Owner +"job-privacy-scope.owner" = "Owner"; +// TRANSLATORS: Job Recipient Name +"job-recipient-name" = "Job Recipient Name"; +// TRANSLATORS: Job Retain Until +"job-retain-until" = "job-retain-until"; +// TRANSLATORS: Job Retain Until Interval +"job-retain-until-interval" = "job-retain-until-interval"; +// TRANSLATORS: Job Retain Until Time +"job-retain-until-time" = "job-retain-until-time"; +// TRANSLATORS: End Of Day +"job-retain-until.end-of-day" = "job-retain-until.end-of-day"; +// TRANSLATORS: End Of Month +"job-retain-until.end-of-month" = "job-retain-until.end-of-month"; +// TRANSLATORS: End Of Week +"job-retain-until.end-of-week" = "job-retain-until.end-of-week"; +// TRANSLATORS: Indefinite +"job-retain-until.indefinite" = "job-retain-until.indefinite"; +// TRANSLATORS: None +"job-retain-until.none" = "job-retain-until.none"; +// TRANSLATORS: Job Save Disposition +"job-save-disposition" = "Job Save Disposition"; +// TRANSLATORS: Job Sheet Message +"job-sheet-message" = "Job Sheet Message"; +// TRANSLATORS: Banner Page +"job-sheets" = "Banner Page"; +// TRANSLATORS: Banner Page +"job-sheets-col" = "Banner Page"; +// TRANSLATORS: First Page in Document +"job-sheets.first-print-stream-page" = "First Page in Document"; +// TRANSLATORS: Start and End Sheets +"job-sheets.job-both-sheet" = "Start and End Sheets"; +// TRANSLATORS: End Sheet +"job-sheets.job-end-sheet" = "End Sheet"; +// TRANSLATORS: Start Sheet +"job-sheets.job-start-sheet" = "Start Sheet"; +// TRANSLATORS: None +"job-sheets.none" = "None"; +// TRANSLATORS: Standard +"job-sheets.standard" = "Standard"; +// TRANSLATORS: Job State +"job-state" = "Job State"; +// TRANSLATORS: Job State Message +"job-state-message" = "Job State Message"; +// TRANSLATORS: Detailed Job State +"job-state-reasons" = "Detailed Job State"; +// TRANSLATORS: Stopping +"job-state-reasons.aborted-by-system" = "Aborted By System"; +// TRANSLATORS: Account Authorization Failed +"job-state-reasons.account-authorization-failed" = "Account Authorization Failed"; +// TRANSLATORS: Account Closed +"job-state-reasons.account-closed" = "Account Closed"; +// TRANSLATORS: Account Info Needed +"job-state-reasons.account-info-needed" = "Account Info Needed"; +// TRANSLATORS: Account Limit Reached +"job-state-reasons.account-limit-reached" = "Account Limit Reached"; +// TRANSLATORS: Decompression error +"job-state-reasons.compression-error" = "Compression Error"; +// TRANSLATORS: Conflicting Attributes +"job-state-reasons.conflicting-attributes" = "Conflicting Attributes"; +// TRANSLATORS: Connected To Destination +"job-state-reasons.connected-to-destination" = "Connected To Destination"; +// TRANSLATORS: Connecting To Destination +"job-state-reasons.connecting-to-destination" = "Connecting To Destination"; +// TRANSLATORS: Destination Uri Failed +"job-state-reasons.destination-uri-failed" = "Destination Uri Failed"; +// TRANSLATORS: Digital Signature Did Not Verify +"job-state-reasons.digital-signature-did-not-verify" = "Digital Signature Did Not Verify"; +// TRANSLATORS: Digital Signature Type Not Supported +"job-state-reasons.digital-signature-type-not-supported" = "Digital Signature Type Not Supported"; +// TRANSLATORS: Document Access Error +"job-state-reasons.document-access-error" = "Document Access Error"; +// TRANSLATORS: Document Format Error +"job-state-reasons.document-format-error" = "Document Format Error"; +// TRANSLATORS: Document Password Error +"job-state-reasons.document-password-error" = "Document Password Error"; +// TRANSLATORS: Document Permission Error +"job-state-reasons.document-permission-error" = "Document Permission Error"; +// TRANSLATORS: Document Security Error +"job-state-reasons.document-security-error" = "Document Security Error"; +// TRANSLATORS: Document Unprintable Error +"job-state-reasons.document-unprintable-error" = "Document Unprintable Error"; +// TRANSLATORS: Errors Detected +"job-state-reasons.errors-detected" = "Errors Detected"; +// TRANSLATORS: Canceled at printer +"job-state-reasons.job-canceled-at-device" = "Job Canceled At Device"; +// TRANSLATORS: Canceled by operator +"job-state-reasons.job-canceled-by-operator" = "Job Canceled By Operator"; +// TRANSLATORS: Canceled by user +"job-state-reasons.job-canceled-by-user" = "Job Canceled By User"; +// TRANSLATORS: +"job-state-reasons.job-completed-successfully" = "Job Completed Successfully"; +// TRANSLATORS: Completed with errors +"job-state-reasons.job-completed-with-errors" = "Job Completed With Errors"; +// TRANSLATORS: Completed with warnings +"job-state-reasons.job-completed-with-warnings" = "Job Completed With Warnings"; +// TRANSLATORS: Insufficient data +"job-state-reasons.job-data-insufficient" = "Job Data Insufficient"; +// TRANSLATORS: Job Delay Output Until Specified +"job-state-reasons.job-delay-output-until-specified" = "Job Delay Output Until Specified"; +// TRANSLATORS: Job Digital Signature Wait +"job-state-reasons.job-digital-signature-wait" = "Job Digital Signature Wait"; +// TRANSLATORS: Job Fetchable +"job-state-reasons.job-fetchable" = "Job Fetchable"; +// TRANSLATORS: Job Held For Review +"job-state-reasons.job-held-for-review" = "Job Held For Review"; +// TRANSLATORS: Job held +"job-state-reasons.job-hold-until-specified" = "Job Hold Until Specified"; +// TRANSLATORS: Incoming +"job-state-reasons.job-incoming" = "Job Incoming"; +// TRANSLATORS: Interpreting +"job-state-reasons.job-interpreting" = "Job Interpreting"; +// TRANSLATORS: Outgoing +"job-state-reasons.job-outgoing" = "Job Outgoing"; +// TRANSLATORS: Job Password Wait +"job-state-reasons.job-password-wait" = "Job Password Wait"; +// TRANSLATORS: Job Printed Successfully +"job-state-reasons.job-printed-successfully" = "Job Printed Successfully"; +// TRANSLATORS: Job Printed With Errors +"job-state-reasons.job-printed-with-errors" = "Job Printed With Errors"; +// TRANSLATORS: Job Printed With Warnings +"job-state-reasons.job-printed-with-warnings" = "Job Printed With Warnings"; +// TRANSLATORS: Printing +"job-state-reasons.job-printing" = "Job Printing"; +// TRANSLATORS: Preparing to print +"job-state-reasons.job-queued" = "Job Queued"; +// TRANSLATORS: Processing document +"job-state-reasons.job-queued-for-marker" = "Job Queued For Marker"; +// TRANSLATORS: Job Release Wait +"job-state-reasons.job-release-wait" = "Job Release Wait"; +// TRANSLATORS: Restartable +"job-state-reasons.job-restartable" = "Job Restartable"; +// TRANSLATORS: Job Resuming +"job-state-reasons.job-resuming" = "Job Resuming"; +// TRANSLATORS: Job Saved Successfully +"job-state-reasons.job-saved-successfully" = "Job Saved Successfully"; +// TRANSLATORS: Job Saved With Errors +"job-state-reasons.job-saved-with-errors" = "Job Saved With Errors"; +// TRANSLATORS: Job Saved With Warnings +"job-state-reasons.job-saved-with-warnings" = "Job Saved With Warnings"; +// TRANSLATORS: Job Saving +"job-state-reasons.job-saving" = "Job Saving"; +// TRANSLATORS: Job Spooling +"job-state-reasons.job-spooling" = "Job Spooling"; +// TRANSLATORS: Job Streaming +"job-state-reasons.job-streaming" = "Job Streaming"; +// TRANSLATORS: Suspended +"job-state-reasons.job-suspended" = "Job Suspended"; +// TRANSLATORS: Job Suspended By Operator +"job-state-reasons.job-suspended-by-operator" = "Job Suspended By Operator"; +// TRANSLATORS: Job Suspended By System +"job-state-reasons.job-suspended-by-system" = "Job Suspended By System"; +// TRANSLATORS: Job Suspended By User +"job-state-reasons.job-suspended-by-user" = "Job Suspended By User"; +// TRANSLATORS: Job Suspending +"job-state-reasons.job-suspending" = "Job Suspending"; +// TRANSLATORS: Job Transferring +"job-state-reasons.job-transferring" = "Job Transferring"; +// TRANSLATORS: Transforming +"job-state-reasons.job-transforming" = "Job Transforming"; +// TRANSLATORS: None +"job-state-reasons.none" = "None"; +// TRANSLATORS: Printer offline +"job-state-reasons.printer-stopped" = "Printer Stopped"; +// TRANSLATORS: Printer partially stopped +"job-state-reasons.printer-stopped-partly" = "Printer Stopped Partly"; +// TRANSLATORS: Stopping +"job-state-reasons.processing-to-stop-point" = "Processing To Stop Point"; +// TRANSLATORS: Ready +"job-state-reasons.queued-in-device" = "Queued In Device"; +// TRANSLATORS: Resources Are Not Ready +"job-state-reasons.resources-are-not-ready" = "Resources Are Not Ready"; +// TRANSLATORS: Resources Are Not Supported +"job-state-reasons.resources-are-not-supported" = "Resources Are Not Supported"; +// TRANSLATORS: Service offline +"job-state-reasons.service-off-line" = "Service Off Line"; +// TRANSLATORS: Submission Interrupted +"job-state-reasons.submission-interrupted" = "Submission Interrupted"; +// TRANSLATORS: Unsupported Attributes Or Values +"job-state-reasons.unsupported-attributes-or-values" = "Unsupported Attributes Or Values"; +// TRANSLATORS: Unsupported Compression +"job-state-reasons.unsupported-compression" = "Unsupported Compression"; +// TRANSLATORS: Unsupported Document Format +"job-state-reasons.unsupported-document-format" = "Unsupported Document Format"; +// TRANSLATORS: Waiting For User Action +"job-state-reasons.waiting-for-user-action" = "Waiting For User Action"; +// TRANSLATORS: Warnings Detected +"job-state-reasons.warnings-detected" = "Warnings Detected"; +// TRANSLATORS: Pending +"job-state.3" = "Pending"; +// TRANSLATORS: Held +"job-state.4" = "Held"; +// TRANSLATORS: Processing +"job-state.5" = "Processing"; +// TRANSLATORS: Stopped +"job-state.6" = "Stopped"; +// TRANSLATORS: Canceled +"job-state.7" = "Canceled"; +// TRANSLATORS: Aborted +"job-state.8" = "Aborted"; +// TRANSLATORS: Completed +"job-state.9" = "Completed"; +// TRANSLATORS: Laminate Pages +"laminating" = "Laminate Pages"; +// TRANSLATORS: Laminate +"laminating-sides" = "Laminate"; +// TRANSLATORS: Back Only +"laminating-sides.back" = "Back Only"; +// TRANSLATORS: Front and Back +"laminating-sides.both" = "Front and Back"; +// TRANSLATORS: Front Only +"laminating-sides.front" = "Front Only"; +// TRANSLATORS: Type of Lamination +"laminating-type" = "Type of Lamination"; +// TRANSLATORS: Archival +"laminating-type.archival" = "Archival"; +// TRANSLATORS: Glossy +"laminating-type.glossy" = "Glossy"; +// TRANSLATORS: High Gloss +"laminating-type.high-gloss" = "High Gloss"; +// TRANSLATORS: Matte +"laminating-type.matte" = "Matte"; +// TRANSLATORS: Semi-gloss +"laminating-type.semi-gloss" = "Semi-gloss"; +// TRANSLATORS: Translucent +"laminating-type.translucent" = "Translucent"; +// TRANSLATORS: Logo +"logo" = "Logo"; +"lpadmin: Class name can only contain printable characters." = "lpadmin: Class name can only contain printable characters."; +"lpadmin: Expected PPD after \"-%c\" option." = "lpadmin: Expected PPD after “-%c” option."; +"lpadmin: Expected allow/deny:userlist after \"-u\" option." = "lpadmin: Expected allow/deny:userlist after “-u” option."; +"lpadmin: Expected class after \"-r\" option." = "lpadmin: Expected class after “-r” option."; +"lpadmin: Expected class name after \"-c\" option." = "lpadmin: Expected class name after “-c” option."; +"lpadmin: Expected description after \"-D\" option." = "lpadmin: Expected description after “-D” option."; +"lpadmin: Expected device URI after \"-v\" option." = "lpadmin: Expected device URI after “-v” option."; +"lpadmin: Expected file type(s) after \"-I\" option." = "lpadmin: Expected file type(s) after “-I” option."; +"lpadmin: Expected hostname after \"-h\" option." = "lpadmin: Expected hostname after “-h” option."; +"lpadmin: Expected location after \"-L\" option." = "lpadmin: Expected location after “-L” option."; +"lpadmin: Expected model after \"-m\" option." = "lpadmin: Expected model after “-m” option."; +"lpadmin: Expected name after \"-R\" option." = "lpadmin: Expected name after “-R” option."; +"lpadmin: Expected name=value after \"-o\" option." = "lpadmin: Expected name=value after “-o” option."; +"lpadmin: Expected printer after \"-p\" option." = "lpadmin: Expected printer after “-p” option."; +"lpadmin: Expected printer name after \"-d\" option." = "lpadmin: Expected printer name after “-d” option."; +"lpadmin: Expected printer or class after \"-x\" option." = "lpadmin: Expected printer or class after “-x” option."; +"lpadmin: No member names were seen." = "lpadmin: No member names were seen."; +"lpadmin: Printer %s is already a member of class %s." = "lpadmin: Printer %s is already a member of class %s."; +"lpadmin: Printer %s is not a member of class %s." = "lpadmin: Printer %s is not a member of class %s."; +"lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS." = "lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS."; +"lpadmin: Printer name can only contain printable characters." = "lpadmin: Printer name can only contain printable characters."; +"lpadmin: Raw queues are deprecated and will stop working in a future version of CUPS." = "lpadmin: Raw queues are deprecated and will stop working in a future version of CUPS."; +"lpadmin: Raw queues are no longer supported on macOS." = "lpadmin: Raw queues are no longer supported on macOS."; +"lpadmin: System V interface scripts are no longer supported for security reasons." = "lpadmin: System V interface scripts are no longer supported for security reasons."; +"lpadmin: Unable to add a printer to the class:\n You must specify a printer name first." = "lpadmin: Unable to add a printer to the class:\n You must specify a printer name first."; +"lpadmin: Unable to connect to server: %s" = "lpadmin: Unable to connect to server: %s"; +"lpadmin: Unable to create temporary file" = "lpadmin: Unable to create temporary file"; +"lpadmin: Unable to delete option:\n You must specify a printer name first." = "lpadmin: Unable to delete option:\n You must specify a printer name first."; +"lpadmin: Unable to open PPD \"%s\": %s" = "lpadmin: Unable to open PPD “%s”: %s"; +"lpadmin: Unable to open PPD \"%s\": %s on line %d." = "lpadmin: Unable to open PPD “%s”: %s on line %d."; +"lpadmin: Unable to remove a printer from the class:\n You must specify a printer name first." = "lpadmin: Unable to remove a printer from the class:\n You must specify a printer name first."; +"lpadmin: Unable to set the printer options:\n You must specify a printer name first." = "lpadmin: Unable to set the printer options:\n You must specify a printer name first."; +"lpadmin: Unknown allow/deny option \"%s\"." = "lpadmin: Unknown allow/deny option “%s”."; +"lpadmin: Unknown argument \"%s\"." = "lpadmin: Unknown argument “%s”."; +"lpadmin: Unknown option \"%c\"." = "lpadmin: Unknown option “%c”."; +"lpadmin: Use the 'everywhere' model for shared printers." = "lpadmin: Use the ‘everywhere’ model for shared printers."; +"lpadmin: Warning - content type list ignored." = "lpadmin: Warning - content type list ignored."; +"lpc> " = "lpc> "; +"lpinfo: Expected 1284 device ID string after \"--device-id\"." = "lpinfo: Expected 1284 device ID string after “--device-id”."; +"lpinfo: Expected language after \"--language\"." = "lpinfo: Expected language after “--language”."; +"lpinfo: Expected make and model after \"--make-and-model\"." = "lpinfo: Expected make and model after “--make-and-model”."; +"lpinfo: Expected product string after \"--product\"." = "lpinfo: Expected product string after “--product”."; +"lpinfo: Expected scheme list after \"--exclude-schemes\"." = "lpinfo: Expected scheme list after “--exclude-schemes”."; +"lpinfo: Expected scheme list after \"--include-schemes\"." = "lpinfo: Expected scheme list after “--include-schemes”."; +"lpinfo: Expected timeout after \"--timeout\"." = "lpinfo: Expected timeout after “--timeout”."; +"lpmove: Unable to connect to server: %s" = "lpmove: Unable to connect to server: %s"; +"lpmove: Unknown argument \"%s\"." = "lpmove: Unknown argument “%s”."; +"lpoptions: No printers." = "lpoptions: No printers."; +"lpoptions: Unable to add printer or instance: %s" = "lpoptions: Unable to add printer or instance: %s"; +"lpoptions: Unable to get PPD file for %s: %s" = "lpoptions: Unable to get PPD file for %s: %s"; +"lpoptions: Unable to open PPD file for %s." = "lpoptions: Unable to open PPD file for %s."; +"lpoptions: Unknown printer or class." = "lpoptions: Unknown printer or class."; +"lpstat: error - %s environment variable names non-existent destination \"%s\"." = "lpstat: error - %s environment variable names non-existent destination \"%s\"."; +// TRANSLATORS: Amount of Material +"material-amount" = "Amount of Material"; +// TRANSLATORS: Amount Units +"material-amount-units" = "Amount Units"; +// TRANSLATORS: Grams +"material-amount-units.g" = "Grams"; +// TRANSLATORS: Kilograms +"material-amount-units.kg" = "Kilograms"; +// TRANSLATORS: Liters +"material-amount-units.l" = "Liters"; +// TRANSLATORS: Meters +"material-amount-units.m" = "Meters"; +// TRANSLATORS: Milliliters +"material-amount-units.ml" = "Milliliters"; +// TRANSLATORS: Millimeters +"material-amount-units.mm" = "Millimeters"; +// TRANSLATORS: Material Color +"material-color" = "Material Color"; +// TRANSLATORS: Material Diameter +"material-diameter" = "Material Diameter"; +// TRANSLATORS: Material Diameter Tolerance +"material-diameter-tolerance" = "Material Diameter Tolerance"; +// TRANSLATORS: Material Fill Density +"material-fill-density" = "Material Fill Density"; +// TRANSLATORS: Material Name +"material-name" = "Material Name"; +// TRANSLATORS: Material Nozzle Diameter +"material-nozzle-diameter" = "Material Nozzle Diameter"; +// TRANSLATORS: Use Material For +"material-purpose" = "Use Material For"; +// TRANSLATORS: Everything +"material-purpose.all" = "Everything"; +// TRANSLATORS: Base +"material-purpose.base" = "Base"; +// TRANSLATORS: In-fill +"material-purpose.in-fill" = "In-fill"; +// TRANSLATORS: Shell +"material-purpose.shell" = "Shell"; +// TRANSLATORS: Supports +"material-purpose.support" = "Supports"; +// TRANSLATORS: Feed Rate +"material-rate" = "Feed Rate"; +// TRANSLATORS: Feed Rate Units +"material-rate-units" = "Feed Rate Units"; +// TRANSLATORS: Milligrams per second +"material-rate-units.mg_second" = "Milligrams per second"; +// TRANSLATORS: Milliliters per second +"material-rate-units.ml_second" = "Milliliters per second"; +// TRANSLATORS: Millimeters per second +"material-rate-units.mm_second" = "Millimeters per second"; +// TRANSLATORS: Material Retraction +"material-retraction" = "Material Retraction"; +// TRANSLATORS: Material Shell Thickness +"material-shell-thickness" = "Material Shell Thickness"; +// TRANSLATORS: Material Temperature +"material-temperature" = "Material Temperature"; +// TRANSLATORS: Material Type +"material-type" = "Material Type"; +// TRANSLATORS: ABS +"material-type.abs" = "ABS"; +// TRANSLATORS: Carbon Fiber ABS +"material-type.abs-carbon-fiber" = "Carbon Fiber ABS"; +// TRANSLATORS: Carbon Nanotube ABS +"material-type.abs-carbon-nanotube" = "Carbon Nanotube ABS"; +// TRANSLATORS: Chocolate +"material-type.chocolate" = "Chocolate"; +// TRANSLATORS: Gold +"material-type.gold" = "Gold"; +// TRANSLATORS: Nylon +"material-type.nylon" = "Nylon"; +// TRANSLATORS: Pet +"material-type.pet" = "Pet"; +// TRANSLATORS: Photopolymer +"material-type.photopolymer" = "Photopolymer"; +// TRANSLATORS: PLA +"material-type.pla" = "PLA"; +// TRANSLATORS: Conductive PLA +"material-type.pla-conductive" = "Conductive PLA"; +// TRANSLATORS: Pla Dissolvable +"material-type.pla-dissolvable" = "Pla Dissolvable"; +// TRANSLATORS: Flexible PLA +"material-type.pla-flexible" = "Flexible PLA"; +// TRANSLATORS: Magnetic PLA +"material-type.pla-magnetic" = "Magnetic PLA"; +// TRANSLATORS: Steel PLA +"material-type.pla-steel" = "Steel PLA"; +// TRANSLATORS: Stone PLA +"material-type.pla-stone" = "Stone PLA"; +// TRANSLATORS: Wood PLA +"material-type.pla-wood" = "Wood PLA"; +// TRANSLATORS: Polycarbonate +"material-type.polycarbonate" = "Polycarbonate"; +// TRANSLATORS: Dissolvable PVA +"material-type.pva-dissolvable" = "Dissolvable PVA"; +// TRANSLATORS: Silver +"material-type.silver" = "Silver"; +// TRANSLATORS: Titanium +"material-type.titanium" = "Titanium"; +// TRANSLATORS: Wax +"material-type.wax" = "Wax"; +// TRANSLATORS: Materials +"materials-col" = "Materials"; +// TRANSLATORS: Media +"media" = "Media"; +// TRANSLATORS: Back Coating of Media +"media-back-coating" = "Back Coating of Media"; +// TRANSLATORS: Glossy +"media-back-coating.glossy" = "Glossy"; +// TRANSLATORS: High Gloss +"media-back-coating.high-gloss" = "High Gloss"; +// TRANSLATORS: Matte +"media-back-coating.matte" = "Matte"; +// TRANSLATORS: None +"media-back-coating.none" = "None"; +// TRANSLATORS: Satin +"media-back-coating.satin" = "Satin"; +// TRANSLATORS: Semi-gloss +"media-back-coating.semi-gloss" = "Semi-gloss"; +// TRANSLATORS: Media Bottom Margin +"media-bottom-margin" = "Media Bottom Margin"; +// TRANSLATORS: Media +"media-col" = "Media"; +// TRANSLATORS: Media Color +"media-color" = "Media Color"; +// TRANSLATORS: Black +"media-color.black" = "Black"; +// TRANSLATORS: Blue +"media-color.blue" = "Blue"; +// TRANSLATORS: Brown +"media-color.brown" = "Brown"; +// TRANSLATORS: Buff +"media-color.buff" = "Buff"; +// TRANSLATORS: Clear Black +"media-color.clear-black" = "Clear Black"; +// TRANSLATORS: Clear Blue +"media-color.clear-blue" = "Clear Blue"; +// TRANSLATORS: Clear Brown +"media-color.clear-brown" = "Clear Brown"; +// TRANSLATORS: Clear Buff +"media-color.clear-buff" = "Clear Buff"; +// TRANSLATORS: Clear Cyan +"media-color.clear-cyan" = "Clear Cyan"; +// TRANSLATORS: Clear Gold +"media-color.clear-gold" = "Clear Gold"; +// TRANSLATORS: Clear Goldenrod +"media-color.clear-goldenrod" = "Clear Goldenrod"; +// TRANSLATORS: Clear Gray +"media-color.clear-gray" = "Clear Gray"; +// TRANSLATORS: Clear Green +"media-color.clear-green" = "Clear Green"; +// TRANSLATORS: Clear Ivory +"media-color.clear-ivory" = "Clear Ivory"; +// TRANSLATORS: Clear Magenta +"media-color.clear-magenta" = "Clear Magenta"; +// TRANSLATORS: Clear Multi Color +"media-color.clear-multi-color" = "Clear Multi Color"; +// TRANSLATORS: Clear Mustard +"media-color.clear-mustard" = "Clear Mustard"; +// TRANSLATORS: Clear Orange +"media-color.clear-orange" = "Clear Orange"; +// TRANSLATORS: Clear Pink +"media-color.clear-pink" = "Clear Pink"; +// TRANSLATORS: Clear Red +"media-color.clear-red" = "Clear Red"; +// TRANSLATORS: Clear Silver +"media-color.clear-silver" = "Clear Silver"; +// TRANSLATORS: Clear Turquoise +"media-color.clear-turquoise" = "Clear Turquoise"; +// TRANSLATORS: Clear Violet +"media-color.clear-violet" = "Clear Violet"; +// TRANSLATORS: Clear White +"media-color.clear-white" = "Clear White"; +// TRANSLATORS: Clear Yellow +"media-color.clear-yellow" = "Clear Yellow"; +// TRANSLATORS: Cyan +"media-color.cyan" = "Cyan"; +// TRANSLATORS: Dark Blue +"media-color.dark-blue" = "Dark Blue"; +// TRANSLATORS: Dark Brown +"media-color.dark-brown" = "Dark Brown"; +// TRANSLATORS: Dark Buff +"media-color.dark-buff" = "Dark Buff"; +// TRANSLATORS: Dark Cyan +"media-color.dark-cyan" = "Dark Cyan"; +// TRANSLATORS: Dark Gold +"media-color.dark-gold" = "Dark Gold"; +// TRANSLATORS: Dark Goldenrod +"media-color.dark-goldenrod" = "Dark Goldenrod"; +// TRANSLATORS: Dark Gray +"media-color.dark-gray" = "Dark Gray"; +// TRANSLATORS: Dark Green +"media-color.dark-green" = "Dark Green"; +// TRANSLATORS: Dark Ivory +"media-color.dark-ivory" = "Dark Ivory"; +// TRANSLATORS: Dark Magenta +"media-color.dark-magenta" = "Dark Magenta"; +// TRANSLATORS: Dark Mustard +"media-color.dark-mustard" = "Dark Mustard"; +// TRANSLATORS: Dark Orange +"media-color.dark-orange" = "Dark Orange"; +// TRANSLATORS: Dark Pink +"media-color.dark-pink" = "Dark Pink"; +// TRANSLATORS: Dark Red +"media-color.dark-red" = "Dark Red"; +// TRANSLATORS: Dark Silver +"media-color.dark-silver" = "Dark Silver"; +// TRANSLATORS: Dark Turquoise +"media-color.dark-turquoise" = "Dark Turquoise"; +// TRANSLATORS: Dark Violet +"media-color.dark-violet" = "Dark Violet"; +// TRANSLATORS: Dark Yellow +"media-color.dark-yellow" = "Dark Yellow"; +// TRANSLATORS: Gold +"media-color.gold" = "Gold"; +// TRANSLATORS: Goldenrod +"media-color.goldenrod" = "Goldenrod"; +// TRANSLATORS: Gray +"media-color.gray" = "Gray"; +// TRANSLATORS: Green +"media-color.green" = "Green"; +// TRANSLATORS: Ivory +"media-color.ivory" = "Ivory"; +// TRANSLATORS: Light Black +"media-color.light-black" = "Light Black"; +// TRANSLATORS: Light Blue +"media-color.light-blue" = "Light Blue"; +// TRANSLATORS: Light Brown +"media-color.light-brown" = "Light Brown"; +// TRANSLATORS: Light Buff +"media-color.light-buff" = "Light Buff"; +// TRANSLATORS: Light Cyan +"media-color.light-cyan" = "Light Cyan"; +// TRANSLATORS: Light Gold +"media-color.light-gold" = "Light Gold"; +// TRANSLATORS: Light Goldenrod +"media-color.light-goldenrod" = "Light Goldenrod"; +// TRANSLATORS: Light Gray +"media-color.light-gray" = "Light Gray"; +// TRANSLATORS: Light Green +"media-color.light-green" = "Light Green"; +// TRANSLATORS: Light Ivory +"media-color.light-ivory" = "Light Ivory"; +// TRANSLATORS: Light Magenta +"media-color.light-magenta" = "Light Magenta"; +// TRANSLATORS: Light Mustard +"media-color.light-mustard" = "Light Mustard"; +// TRANSLATORS: Light Orange +"media-color.light-orange" = "Light Orange"; +// TRANSLATORS: Light Pink +"media-color.light-pink" = "Light Pink"; +// TRANSLATORS: Light Red +"media-color.light-red" = "Light Red"; +// TRANSLATORS: Light Silver +"media-color.light-silver" = "Light Silver"; +// TRANSLATORS: Light Turquoise +"media-color.light-turquoise" = "Light Turquoise"; +// TRANSLATORS: Light Violet +"media-color.light-violet" = "Light Violet"; +// TRANSLATORS: Light Yellow +"media-color.light-yellow" = "Light Yellow"; +// TRANSLATORS: Magenta +"media-color.magenta" = "Magenta"; +// TRANSLATORS: Multi-color +"media-color.multi-color" = "Multi-color"; +// TRANSLATORS: Mustard +"media-color.mustard" = "Mustard"; +// TRANSLATORS: No Color +"media-color.no-color" = "No Color"; +// TRANSLATORS: Orange +"media-color.orange" = "Orange"; +// TRANSLATORS: Pink +"media-color.pink" = "Pink"; +// TRANSLATORS: Red +"media-color.red" = "Red"; +// TRANSLATORS: Silver +"media-color.silver" = "Silver"; +// TRANSLATORS: Turquoise +"media-color.turquoise" = "Turquoise"; +// TRANSLATORS: Violet +"media-color.violet" = "Violet"; +// TRANSLATORS: White +"media-color.white" = "White"; +// TRANSLATORS: Yellow +"media-color.yellow" = "Yellow"; +// TRANSLATORS: Front Coating of Media +"media-front-coating" = "Front Coating of Media"; +// TRANSLATORS: Media Grain +"media-grain" = "Media Grain"; +// TRANSLATORS: Cross-Feed Direction +"media-grain.x-direction" = "Cross-Feed Direction"; +// TRANSLATORS: Feed Direction +"media-grain.y-direction" = "Feed Direction"; +// TRANSLATORS: Media Hole Count +"media-hole-count" = "Media Hole Count"; +// TRANSLATORS: Media Info +"media-info" = "Media Info"; +// TRANSLATORS: Force Media +"media-input-tray-check" = "Force Media"; +// TRANSLATORS: Media Left Margin +"media-left-margin" = "Media Left Margin"; +// TRANSLATORS: Pre-printed Media +"media-pre-printed" = "Pre-printed Media"; +// TRANSLATORS: Blank +"media-pre-printed.blank" = "Blank"; +// TRANSLATORS: Letterhead +"media-pre-printed.letter-head" = "Letterhead"; +// TRANSLATORS: Pre-printed +"media-pre-printed.pre-printed" = "Pre-printed"; +// TRANSLATORS: Recycled Media +"media-recycled" = "Recycled Media"; +// TRANSLATORS: None +"media-recycled.none" = "None"; +// TRANSLATORS: Standard +"media-recycled.standard" = "Standard"; +// TRANSLATORS: Media Right Margin +"media-right-margin" = "Media Right Margin"; +// TRANSLATORS: Media Dimensions +"media-size" = "Media Dimensions"; +// TRANSLATORS: Media Name +"media-size-name" = "Media Name"; +// TRANSLATORS: Media Source +"media-source" = "Media Source"; +// TRANSLATORS: Alternate +"media-source.alternate" = "Alternate"; +// TRANSLATORS: Alternate Roll +"media-source.alternate-roll" = "Alternate Roll"; +// TRANSLATORS: Automatic +"media-source.auto" = "Automatic"; +// TRANSLATORS: Bottom +"media-source.bottom" = "Bottom"; +// TRANSLATORS: By-pass Tray +"media-source.by-pass-tray" = "By-pass Tray"; +// TRANSLATORS: Center +"media-source.center" = "Center"; +// TRANSLATORS: Disc +"media-source.disc" = "Disc"; +// TRANSLATORS: Envelope +"media-source.envelope" = "Envelope"; +// TRANSLATORS: Hagaki +"media-source.hagaki" = "Hagaki"; +// TRANSLATORS: Large Capacity +"media-source.large-capacity" = "Large Capacity"; +// TRANSLATORS: Left +"media-source.left" = "Left"; +// TRANSLATORS: Main +"media-source.main" = "Main"; +// TRANSLATORS: Main Roll +"media-source.main-roll" = "Main Roll"; +// TRANSLATORS: Manual +"media-source.manual" = "Manual"; +// TRANSLATORS: Middle +"media-source.middle" = "Middle"; +// TRANSLATORS: Photo +"media-source.photo" = "Photo"; +// TRANSLATORS: Rear +"media-source.rear" = "Rear"; +// TRANSLATORS: Right +"media-source.right" = "Right"; +// TRANSLATORS: Roll 1 +"media-source.roll-1" = "Roll 1"; +// TRANSLATORS: Roll 10 +"media-source.roll-10" = "Roll 10"; +// TRANSLATORS: Roll 2 +"media-source.roll-2" = "Roll 2"; +// TRANSLATORS: Roll 3 +"media-source.roll-3" = "Roll 3"; +// TRANSLATORS: Roll 4 +"media-source.roll-4" = "Roll 4"; +// TRANSLATORS: Roll 5 +"media-source.roll-5" = "Roll 5"; +// TRANSLATORS: Roll 6 +"media-source.roll-6" = "Roll 6"; +// TRANSLATORS: Roll 7 +"media-source.roll-7" = "Roll 7"; +// TRANSLATORS: Roll 8 +"media-source.roll-8" = "Roll 8"; +// TRANSLATORS: Roll 9 +"media-source.roll-9" = "Roll 9"; +// TRANSLATORS: Side +"media-source.side" = "Side"; +// TRANSLATORS: Top +"media-source.top" = "Top"; +// TRANSLATORS: Tray 1 +"media-source.tray-1" = "Tray 1"; +// TRANSLATORS: Tray 10 +"media-source.tray-10" = "Tray 10"; +// TRANSLATORS: Tray 11 +"media-source.tray-11" = "Tray 11"; +// TRANSLATORS: Tray 12 +"media-source.tray-12" = "Tray 12"; +// TRANSLATORS: Tray 13 +"media-source.tray-13" = "Tray 13"; +// TRANSLATORS: Tray 14 +"media-source.tray-14" = "Tray 14"; +// TRANSLATORS: Tray 15 +"media-source.tray-15" = "Tray 15"; +// TRANSLATORS: Tray 16 +"media-source.tray-16" = "Tray 16"; +// TRANSLATORS: Tray 17 +"media-source.tray-17" = "Tray 17"; +// TRANSLATORS: Tray 18 +"media-source.tray-18" = "Tray 18"; +// TRANSLATORS: Tray 19 +"media-source.tray-19" = "Tray 19"; +// TRANSLATORS: Tray 2 +"media-source.tray-2" = "Tray 2"; +// TRANSLATORS: Tray 20 +"media-source.tray-20" = "Tray 20"; +// TRANSLATORS: Tray 3 +"media-source.tray-3" = "Tray 3"; +// TRANSLATORS: Tray 4 +"media-source.tray-4" = "Tray 4"; +// TRANSLATORS: Tray 5 +"media-source.tray-5" = "Tray 5"; +// TRANSLATORS: Tray 6 +"media-source.tray-6" = "Tray 6"; +// TRANSLATORS: Tray 7 +"media-source.tray-7" = "Tray 7"; +// TRANSLATORS: Tray 8 +"media-source.tray-8" = "Tray 8"; +// TRANSLATORS: Tray 9 +"media-source.tray-9" = "Tray 9"; +// TRANSLATORS: Media Thickness +"media-thickness" = "Media Thickness"; +// TRANSLATORS: Media Tooth (Texture) +"media-tooth" = "Media Tooth (Texture)"; +// TRANSLATORS: Antique +"media-tooth.antique" = "Antique"; +// TRANSLATORS: Extra Smooth +"media-tooth.calendared" = "Extra Smooth"; +// TRANSLATORS: Coarse +"media-tooth.coarse" = "Coarse"; +// TRANSLATORS: Fine +"media-tooth.fine" = "Fine"; +// TRANSLATORS: Linen +"media-tooth.linen" = "Linen"; +// TRANSLATORS: Medium +"media-tooth.medium" = "Medium"; +// TRANSLATORS: Smooth +"media-tooth.smooth" = "Smooth"; +// TRANSLATORS: Stipple +"media-tooth.stipple" = "Stipple"; +// TRANSLATORS: Rough +"media-tooth.uncalendared" = "Rough"; +// TRANSLATORS: Vellum +"media-tooth.vellum" = "Vellum"; +// TRANSLATORS: Media Top Margin +"media-top-margin" = "Media Top Margin"; +// TRANSLATORS: Media Type +"media-type" = "Media Type"; +// TRANSLATORS: Aluminum +"media-type.aluminum" = "Aluminum"; +// TRANSLATORS: Automatic +"media-type.auto" = "Automatic"; +// TRANSLATORS: Back Print Film +"media-type.back-print-film" = "Back Print Film"; +// TRANSLATORS: Cardboard +"media-type.cardboard" = "Cardboard"; +// TRANSLATORS: Cardstock +"media-type.cardstock" = "Cardstock"; +// TRANSLATORS: CD +"media-type.cd" = "CD"; +// TRANSLATORS: Continuous +"media-type.continuous" = "Continuous"; +// TRANSLATORS: Continuous Long +"media-type.continuous-long" = "Continuous Long"; +// TRANSLATORS: Continuous Short +"media-type.continuous-short" = "Continuous Short"; +// TRANSLATORS: Corrugated Board +"media-type.corrugated-board" = "Corrugated Board"; +// TRANSLATORS: Optical Disc +"media-type.disc" = "Optical Disc"; +// TRANSLATORS: Glossy Optical Disc +"media-type.disc-glossy" = "Glossy Optical Disc"; +// TRANSLATORS: High Gloss Optical Disc +"media-type.disc-high-gloss" = "High Gloss Optical Disc"; +// TRANSLATORS: Matte Optical Disc +"media-type.disc-matte" = "Matte Optical Disc"; +// TRANSLATORS: Satin Optical Disc +"media-type.disc-satin" = "Satin Optical Disc"; +// TRANSLATORS: Semi-Gloss Optical Disc +"media-type.disc-semi-gloss" = "Semi-Gloss Optical Disc"; +// TRANSLATORS: Double Wall +"media-type.double-wall" = "Double Wall"; +// TRANSLATORS: Dry Film +"media-type.dry-film" = "Dry Film"; +// TRANSLATORS: DVD +"media-type.dvd" = "DVD"; +// TRANSLATORS: Embossing Foil +"media-type.embossing-foil" = "Embossing Foil"; +// TRANSLATORS: End Board +"media-type.end-board" = "End Board"; +// TRANSLATORS: Envelope +"media-type.envelope" = "Envelope"; +// TRANSLATORS: Archival Envelope +"media-type.envelope-archival" = "Archival Envelope"; +// TRANSLATORS: Bond Envelope +"media-type.envelope-bond" = "Bond Envelope"; +// TRANSLATORS: Coated Envelope +"media-type.envelope-coated" = "Coated Envelope"; +// TRANSLATORS: Cotton Envelope +"media-type.envelope-cotton" = "Cotton Envelope"; +// TRANSLATORS: Fine Envelope +"media-type.envelope-fine" = "Fine Envelope"; +// TRANSLATORS: Heavyweight Envelope +"media-type.envelope-heavyweight" = "Heavyweight Envelope"; +// TRANSLATORS: Inkjet Envelope +"media-type.envelope-inkjet" = "Inkjet Envelope"; +// TRANSLATORS: Lightweight Envelope +"media-type.envelope-lightweight" = "Lightweight Envelope"; +// TRANSLATORS: Plain Envelope +"media-type.envelope-plain" = "Plain Envelope"; +// TRANSLATORS: Preprinted Envelope +"media-type.envelope-preprinted" = "Preprinted Envelope"; +// TRANSLATORS: Windowed Envelope +"media-type.envelope-window" = "Windowed Envelope"; +// TRANSLATORS: Fabric +"media-type.fabric" = "Fabric"; +// TRANSLATORS: Archival Fabric +"media-type.fabric-archival" = "Archival Fabric"; +// TRANSLATORS: Glossy Fabric +"media-type.fabric-glossy" = "Glossy Fabric"; +// TRANSLATORS: High Gloss Fabric +"media-type.fabric-high-gloss" = "High Gloss Fabric"; +// TRANSLATORS: Matte Fabric +"media-type.fabric-matte" = "Matte Fabric"; +// TRANSLATORS: Semi-Gloss Fabric +"media-type.fabric-semi-gloss" = "Semi-Gloss Fabric"; +// TRANSLATORS: Waterproof Fabric +"media-type.fabric-waterproof" = "Waterproof Fabric"; +// TRANSLATORS: Film +"media-type.film" = "Film"; +// TRANSLATORS: Flexo Base +"media-type.flexo-base" = "Flexo Base"; +// TRANSLATORS: Flexo Photo Polymer +"media-type.flexo-photo-polymer" = "Flexo Photo Polymer"; +// TRANSLATORS: Flute +"media-type.flute" = "Flute"; +// TRANSLATORS: Foil +"media-type.foil" = "Foil"; +// TRANSLATORS: Full Cut Tabs +"media-type.full-cut-tabs" = "Full Cut Tabs"; +// TRANSLATORS: Glass +"media-type.glass" = "Glass"; +// TRANSLATORS: Glass Colored +"media-type.glass-colored" = "Glass Colored"; +// TRANSLATORS: Glass Opaque +"media-type.glass-opaque" = "Glass Opaque"; +// TRANSLATORS: Glass Surfaced +"media-type.glass-surfaced" = "Glass Surfaced"; +// TRANSLATORS: Glass Textured +"media-type.glass-textured" = "Glass Textured"; +// TRANSLATORS: Gravure Cylinder +"media-type.gravure-cylinder" = "Gravure Cylinder"; +// TRANSLATORS: Image Setter Paper +"media-type.image-setter-paper" = "Image Setter Paper"; +// TRANSLATORS: Imaging Cylinder +"media-type.imaging-cylinder" = "Imaging Cylinder"; +// TRANSLATORS: Labels +"media-type.labels" = "Labels"; +// TRANSLATORS: Colored Labels +"media-type.labels-colored" = "Colored Labels"; +// TRANSLATORS: Glossy Labels +"media-type.labels-glossy" = "Glossy Labels"; +// TRANSLATORS: High Gloss Labels +"media-type.labels-high-gloss" = "High Gloss Labels"; +// TRANSLATORS: Inkjet Labels +"media-type.labels-inkjet" = "Inkjet Labels"; +// TRANSLATORS: Matte Labels +"media-type.labels-matte" = "Matte Labels"; +// TRANSLATORS: Permanent Labels +"media-type.labels-permanent" = "Permanent Labels"; +// TRANSLATORS: Satin Labels +"media-type.labels-satin" = "Satin Labels"; +// TRANSLATORS: Security Labels +"media-type.labels-security" = "Security Labels"; +// TRANSLATORS: Semi-Gloss Labels +"media-type.labels-semi-gloss" = "Semi-Gloss Labels"; +// TRANSLATORS: Laminating Foil +"media-type.laminating-foil" = "Laminating Foil"; +// TRANSLATORS: Letterhead +"media-type.letterhead" = "Letterhead"; +// TRANSLATORS: Metal +"media-type.metal" = "Metal"; +// TRANSLATORS: Metal Glossy +"media-type.metal-glossy" = "Metal Glossy"; +// TRANSLATORS: Metal High Gloss +"media-type.metal-high-gloss" = "Metal High Gloss"; +// TRANSLATORS: Metal Matte +"media-type.metal-matte" = "Metal Matte"; +// TRANSLATORS: Metal Satin +"media-type.metal-satin" = "Metal Satin"; +// TRANSLATORS: Metal Semi Gloss +"media-type.metal-semi-gloss" = "Metal Semi Gloss"; +// TRANSLATORS: Mounting Tape +"media-type.mounting-tape" = "Mounting Tape"; +// TRANSLATORS: Multi Layer +"media-type.multi-layer" = "Multi Layer"; +// TRANSLATORS: Multi Part Form +"media-type.multi-part-form" = "Multi Part Form"; +// TRANSLATORS: Other +"media-type.other" = "Other"; +// TRANSLATORS: Paper +"media-type.paper" = "Paper"; +// TRANSLATORS: Photo Paper +"media-type.photographic" = "Photo Paper"; +// TRANSLATORS: Photographic Archival +"media-type.photographic-archival" = "Photographic Archival"; +// TRANSLATORS: Photo Film +"media-type.photographic-film" = "Photo Film"; +// TRANSLATORS: Glossy Photo Paper +"media-type.photographic-glossy" = "Glossy Photo Paper"; +// TRANSLATORS: High Gloss Photo Paper +"media-type.photographic-high-gloss" = "High Gloss Photo Paper"; +// TRANSLATORS: Matte Photo Paper +"media-type.photographic-matte" = "Matte Photo Paper"; +// TRANSLATORS: Satin Photo Paper +"media-type.photographic-satin" = "Satin Photo Paper"; +// TRANSLATORS: Semi-Gloss Photo Paper +"media-type.photographic-semi-gloss" = "Semi-Gloss Photo Paper"; +// TRANSLATORS: Plastic +"media-type.plastic" = "Plastic"; +// TRANSLATORS: Plastic Archival +"media-type.plastic-archival" = "Plastic Archival"; +// TRANSLATORS: Plastic Colored +"media-type.plastic-colored" = "Plastic Colored"; +// TRANSLATORS: Plastic Glossy +"media-type.plastic-glossy" = "Plastic Glossy"; +// TRANSLATORS: Plastic High Gloss +"media-type.plastic-high-gloss" = "Plastic High Gloss"; +// TRANSLATORS: Plastic Matte +"media-type.plastic-matte" = "Plastic Matte"; +// TRANSLATORS: Plastic Satin +"media-type.plastic-satin" = "Plastic Satin"; +// TRANSLATORS: Plastic Semi Gloss +"media-type.plastic-semi-gloss" = "Plastic Semi Gloss"; +// TRANSLATORS: Plate +"media-type.plate" = "Plate"; +// TRANSLATORS: Polyester +"media-type.polyester" = "Polyester"; +// TRANSLATORS: Pre Cut Tabs +"media-type.pre-cut-tabs" = "Pre Cut Tabs"; +// TRANSLATORS: Roll +"media-type.roll" = "Roll"; +// TRANSLATORS: Screen +"media-type.screen" = "Screen"; +// TRANSLATORS: Screen Paged +"media-type.screen-paged" = "Screen Paged"; +// TRANSLATORS: Self Adhesive +"media-type.self-adhesive" = "Self Adhesive"; +// TRANSLATORS: Self Adhesive Film +"media-type.self-adhesive-film" = "Self Adhesive Film"; +// TRANSLATORS: Shrink Foil +"media-type.shrink-foil" = "Shrink Foil"; +// TRANSLATORS: Single Face +"media-type.single-face" = "Single Face"; +// TRANSLATORS: Single Wall +"media-type.single-wall" = "Single Wall"; +// TRANSLATORS: Sleeve +"media-type.sleeve" = "Sleeve"; +// TRANSLATORS: Stationery +"media-type.stationery" = "Stationery"; +// TRANSLATORS: Stationery Archival +"media-type.stationery-archival" = "Stationery Archival"; +// TRANSLATORS: Coated Paper +"media-type.stationery-coated" = "Coated Paper"; +// TRANSLATORS: Stationery Cotton +"media-type.stationery-cotton" = "Stationery Cotton"; +// TRANSLATORS: Vellum Paper +"media-type.stationery-fine" = "Vellum Paper"; +// TRANSLATORS: Heavyweight Paper +"media-type.stationery-heavyweight" = "Heavyweight Paper"; +// TRANSLATORS: Stationery Heavyweight Coated +"media-type.stationery-heavyweight-coated" = "Stationery Heavyweight Coated"; +// TRANSLATORS: Stationery Inkjet Paper +"media-type.stationery-inkjet" = "Stationery Inkjet Paper"; +// TRANSLATORS: Letterhead +"media-type.stationery-letterhead" = "Letterhead"; +// TRANSLATORS: Lightweight Paper +"media-type.stationery-lightweight" = "Lightweight Paper"; +// TRANSLATORS: Preprinted Paper +"media-type.stationery-preprinted" = "Preprinted Paper"; +// TRANSLATORS: Punched Paper +"media-type.stationery-prepunched" = "Punched Paper"; +// TRANSLATORS: Tab Stock +"media-type.tab-stock" = "Tab Stock"; +// TRANSLATORS: Tractor +"media-type.tractor" = "Tractor"; +// TRANSLATORS: Transfer +"media-type.transfer" = "Transfer"; +// TRANSLATORS: Transparency +"media-type.transparency" = "Transparency"; +// TRANSLATORS: Triple Wall +"media-type.triple-wall" = "Triple Wall"; +// TRANSLATORS: Wet Film +"media-type.wet-film" = "Wet Film"; +// TRANSLATORS: Media Weight (grams per m²) +"media-weight-metric" = "Media Weight (grams per m²)"; +// TRANSLATORS: 28 x 40″ +"media.asme_f_28x40in" = "28 x 40″"; +// TRANSLATORS: A4 or US Letter +"media.choice_iso_a4_210x297mm_na_letter_8.5x11in" = "A4 or US Letter"; +// TRANSLATORS: 2a0 +"media.iso_2a0_1189x1682mm" = "2a0"; +// TRANSLATORS: A0 +"media.iso_a0_841x1189mm" = "A0"; +// TRANSLATORS: A0x3 +"media.iso_a0x3_1189x2523mm" = "A0x3"; +// TRANSLATORS: A10 +"media.iso_a10_26x37mm" = "A10"; +// TRANSLATORS: A1 +"media.iso_a1_594x841mm" = "A1"; +// TRANSLATORS: A1x3 +"media.iso_a1x3_841x1783mm" = "A1x3"; +// TRANSLATORS: A1x4 +"media.iso_a1x4_841x2378mm" = "A1x4"; +// TRANSLATORS: A2 +"media.iso_a2_420x594mm" = "A2"; +// TRANSLATORS: A2x3 +"media.iso_a2x3_594x1261mm" = "A2x3"; +// TRANSLATORS: A2x4 +"media.iso_a2x4_594x1682mm" = "A2x4"; +// TRANSLATORS: A2x5 +"media.iso_a2x5_594x2102mm" = "A2x5"; +// TRANSLATORS: A3 (Extra) +"media.iso_a3-extra_322x445mm" = "A3 (Extra)"; +// TRANSLATORS: A3 +"media.iso_a3_297x420mm" = "A3"; +// TRANSLATORS: A3x3 +"media.iso_a3x3_420x891mm" = "A3x3"; +// TRANSLATORS: A3x4 +"media.iso_a3x4_420x1189mm" = "A3x4"; +// TRANSLATORS: A3x5 +"media.iso_a3x5_420x1486mm" = "A3x5"; +// TRANSLATORS: A3x6 +"media.iso_a3x6_420x1783mm" = "A3x6"; +// TRANSLATORS: A3x7 +"media.iso_a3x7_420x2080mm" = "A3x7"; +// TRANSLATORS: A4 (Extra) +"media.iso_a4-extra_235.5x322.3mm" = "A4 (Extra)"; +// TRANSLATORS: A4 (Tab) +"media.iso_a4-tab_225x297mm" = "A4 (Tab)"; +// TRANSLATORS: A4 +"media.iso_a4_210x297mm" = "A4"; +// TRANSLATORS: A4x3 +"media.iso_a4x3_297x630mm" = "A4x3"; +// TRANSLATORS: A4x4 +"media.iso_a4x4_297x841mm" = "A4x4"; +// TRANSLATORS: A4x5 +"media.iso_a4x5_297x1051mm" = "A4x5"; +// TRANSLATORS: A4x6 +"media.iso_a4x6_297x1261mm" = "A4x6"; +// TRANSLATORS: A4x7 +"media.iso_a4x7_297x1471mm" = "A4x7"; +// TRANSLATORS: A4x8 +"media.iso_a4x8_297x1682mm" = "A4x8"; +// TRANSLATORS: A4x9 +"media.iso_a4x9_297x1892mm" = "A4x9"; +// TRANSLATORS: A5 (Extra) +"media.iso_a5-extra_174x235mm" = "A5 (Extra)"; +// TRANSLATORS: A5 +"media.iso_a5_148x210mm" = "A5"; +// TRANSLATORS: A6 +"media.iso_a6_105x148mm" = "A6"; +// TRANSLATORS: A7 +"media.iso_a7_74x105mm" = "A7"; +// TRANSLATORS: A8 +"media.iso_a8_52x74mm" = "A8"; +// TRANSLATORS: A9 +"media.iso_a9_37x52mm" = "A9"; +// TRANSLATORS: B0 +"media.iso_b0_1000x1414mm" = "B0"; +// TRANSLATORS: B10 +"media.iso_b10_31x44mm" = "B10"; +// TRANSLATORS: B1 +"media.iso_b1_707x1000mm" = "B1"; +// TRANSLATORS: B2 +"media.iso_b2_500x707mm" = "B2"; +// TRANSLATORS: B3 +"media.iso_b3_353x500mm" = "B3"; +// TRANSLATORS: B4 +"media.iso_b4_250x353mm" = "B4"; +// TRANSLATORS: B5 (Extra) +"media.iso_b5-extra_201x276mm" = "B5 (Extra)"; +// TRANSLATORS: Envelope B5 +"media.iso_b5_176x250mm" = "Envelope B5"; +// TRANSLATORS: B6 +"media.iso_b6_125x176mm" = "B6"; +// TRANSLATORS: Envelope B6/C4 +"media.iso_b6c4_125x324mm" = "Envelope B6/C4"; +// TRANSLATORS: B7 +"media.iso_b7_88x125mm" = "B7"; +// TRANSLATORS: B8 +"media.iso_b8_62x88mm" = "B8"; +// TRANSLATORS: B9 +"media.iso_b9_44x62mm" = "B9"; +// TRANSLATORS: CEnvelope 0 +"media.iso_c0_917x1297mm" = "CEnvelope 0"; +// TRANSLATORS: CEnvelope 10 +"media.iso_c10_28x40mm" = "CEnvelope 10"; +// TRANSLATORS: CEnvelope 1 +"media.iso_c1_648x917mm" = "CEnvelope 1"; +// TRANSLATORS: CEnvelope 2 +"media.iso_c2_458x648mm" = "CEnvelope 2"; +// TRANSLATORS: CEnvelope 3 +"media.iso_c3_324x458mm" = "CEnvelope 3"; +// TRANSLATORS: CEnvelope 4 +"media.iso_c4_229x324mm" = "CEnvelope 4"; +// TRANSLATORS: CEnvelope 5 +"media.iso_c5_162x229mm" = "CEnvelope 5"; +// TRANSLATORS: CEnvelope 6 +"media.iso_c6_114x162mm" = "CEnvelope 6"; +// TRANSLATORS: CEnvelope 6c5 +"media.iso_c6c5_114x229mm" = "CEnvelope 6c5"; +// TRANSLATORS: CEnvelope 7 +"media.iso_c7_81x114mm" = "CEnvelope 7"; +// TRANSLATORS: CEnvelope 7c6 +"media.iso_c7c6_81x162mm" = "CEnvelope 7c6"; +// TRANSLATORS: CEnvelope 8 +"media.iso_c8_57x81mm" = "CEnvelope 8"; +// TRANSLATORS: CEnvelope 9 +"media.iso_c9_40x57mm" = "CEnvelope 9"; +// TRANSLATORS: Envelope DL +"media.iso_dl_110x220mm" = "Envelope DL"; +// TRANSLATORS: Id-1 +"media.iso_id-1_53.98x85.6mm" = "Id-1"; +// TRANSLATORS: Id-3 +"media.iso_id-3_88x125mm" = "Id-3"; +// TRANSLATORS: ISO RA0 +"media.iso_ra0_860x1220mm" = "ISO RA0"; +// TRANSLATORS: ISO RA1 +"media.iso_ra1_610x860mm" = "ISO RA1"; +// TRANSLATORS: ISO RA2 +"media.iso_ra2_430x610mm" = "ISO RA2"; +// TRANSLATORS: ISO RA3 +"media.iso_ra3_305x430mm" = "ISO RA3"; +// TRANSLATORS: ISO RA4 +"media.iso_ra4_215x305mm" = "ISO RA4"; +// TRANSLATORS: ISO SRA0 +"media.iso_sra0_900x1280mm" = "ISO SRA0"; +// TRANSLATORS: ISO SRA1 +"media.iso_sra1_640x900mm" = "ISO SRA1"; +// TRANSLATORS: ISO SRA2 +"media.iso_sra2_450x640mm" = "ISO SRA2"; +// TRANSLATORS: ISO SRA3 +"media.iso_sra3_320x450mm" = "ISO SRA3"; +// TRANSLATORS: ISO SRA4 +"media.iso_sra4_225x320mm" = "ISO SRA4"; +// TRANSLATORS: JIS B0 +"media.jis_b0_1030x1456mm" = "JIS B0"; +// TRANSLATORS: JIS B10 +"media.jis_b10_32x45mm" = "JIS B10"; +// TRANSLATORS: JIS B1 +"media.jis_b1_728x1030mm" = "JIS B1"; +// TRANSLATORS: JIS B2 +"media.jis_b2_515x728mm" = "JIS B2"; +// TRANSLATORS: JIS B3 +"media.jis_b3_364x515mm" = "JIS B3"; +// TRANSLATORS: JIS B4 +"media.jis_b4_257x364mm" = "JIS B4"; +// TRANSLATORS: JIS B5 +"media.jis_b5_182x257mm" = "JIS B5"; +// TRANSLATORS: JIS B6 +"media.jis_b6_128x182mm" = "JIS B6"; +// TRANSLATORS: JIS B7 +"media.jis_b7_91x128mm" = "JIS B7"; +// TRANSLATORS: JIS B8 +"media.jis_b8_64x91mm" = "JIS B8"; +// TRANSLATORS: JIS B9 +"media.jis_b9_45x64mm" = "JIS B9"; +// TRANSLATORS: JIS Executive +"media.jis_exec_216x330mm" = "JIS Executive"; +// TRANSLATORS: Envelope Chou 2 +"media.jpn_chou2_111.1x146mm" = "Envelope Chou 2"; +// TRANSLATORS: Envelope Chou 3 +"media.jpn_chou3_120x235mm" = "Envelope Chou 3"; +// TRANSLATORS: Envelope Chou 40 +"media.jpn_chou40_90x225mm" = "media.jpn_chou40_90x225mm"; +// TRANSLATORS: Envelope Chou 4 +"media.jpn_chou4_90x205mm" = "Envelope Chou 4"; +// TRANSLATORS: Hagaki +"media.jpn_hagaki_100x148mm" = "Hagaki"; +// TRANSLATORS: Envelope Kahu +"media.jpn_kahu_240x322.1mm" = "Envelope Kahu"; +// TRANSLATORS: 270 x 382mm +"media.jpn_kaku1_270x382mm" = "270 x 382mm"; +// TRANSLATORS: Envelope Kahu 2 +"media.jpn_kaku2_240x332mm" = "Envelope Kahu 2"; +// TRANSLATORS: 216 x 277mm +"media.jpn_kaku3_216x277mm" = "216 x 277mm"; +// TRANSLATORS: 197 x 267mm +"media.jpn_kaku4_197x267mm" = "197 x 267mm"; +// TRANSLATORS: 190 x 240mm +"media.jpn_kaku5_190x240mm" = "190 x 240mm"; +// TRANSLATORS: 142 x 205mm +"media.jpn_kaku7_142x205mm" = "142 x 205mm"; +// TRANSLATORS: 119 x 197mm +"media.jpn_kaku8_119x197mm" = "119 x 197mm"; +// TRANSLATORS: Oufuku Reply Postcard +"media.jpn_oufuku_148x200mm" = "Oufuku Reply Postcard"; +// TRANSLATORS: Envelope You 4 +"media.jpn_you4_105x235mm" = "Envelope You 4"; +// TRANSLATORS: 10 x 11″ +"media.na_10x11_10x11in" = "10 x 11″"; +// TRANSLATORS: 10 x 13″ +"media.na_10x13_10x13in" = "10 x 13″"; +// TRANSLATORS: 10 x 14″ +"media.na_10x14_10x14in" = "10 x 14″"; +// TRANSLATORS: 10 x 15″ +"media.na_10x15_10x15in" = "10 x 15″"; +// TRANSLATORS: 11 x 12″ +"media.na_11x12_11x12in" = "11 x 12″"; +// TRANSLATORS: 11 x 15″ +"media.na_11x15_11x15in" = "11 x 15″"; +// TRANSLATORS: 12 x 19″ +"media.na_12x19_12x19in" = "12 x 19″"; +// TRANSLATORS: 5 x 7″ +"media.na_5x7_5x7in" = "5 x 7″"; +// TRANSLATORS: 6 x 9″ +"media.na_6x9_6x9in" = "6 x 9″"; +// TRANSLATORS: 7 x 9″ +"media.na_7x9_7x9in" = "7 x 9″"; +// TRANSLATORS: 9 x 11″ +"media.na_9x11_9x11in" = "9 x 11″"; +// TRANSLATORS: Envelope A2 +"media.na_a2_4.375x5.75in" = "Envelope A2"; +// TRANSLATORS: 9 x 12″ +"media.na_arch-a_9x12in" = "9 x 12″"; +// TRANSLATORS: 12 x 18″ +"media.na_arch-b_12x18in" = "12 x 18″"; +// TRANSLATORS: 18 x 24″ +"media.na_arch-c_18x24in" = "18 x 24″"; +// TRANSLATORS: 24 x 36″ +"media.na_arch-d_24x36in" = "24 x 36″"; +// TRANSLATORS: 26 x 38″ +"media.na_arch-e2_26x38in" = "26 x 38″"; +// TRANSLATORS: 27 x 39″ +"media.na_arch-e3_27x39in" = "27 x 39″"; +// TRANSLATORS: 36 x 48″ +"media.na_arch-e_36x48in" = "36 x 48″"; +// TRANSLATORS: 12 x 19.17″ +"media.na_b-plus_12x19.17in" = "12 x 19.17″"; +// TRANSLATORS: Envelope C5 +"media.na_c5_6.5x9.5in" = "Envelope C5"; +// TRANSLATORS: 17 x 22″ +"media.na_c_17x22in" = "17 x 22″"; +// TRANSLATORS: 22 x 34″ +"media.na_d_22x34in" = "22 x 34″"; +// TRANSLATORS: 34 x 44″ +"media.na_e_34x44in" = "34 x 44″"; +// TRANSLATORS: 11 x 14″ +"media.na_edp_11x14in" = "11 x 14″"; +// TRANSLATORS: 12 x 14″ +"media.na_eur-edp_12x14in" = "12 x 14″"; +// TRANSLATORS: Executive +"media.na_executive_7.25x10.5in" = "Executive"; +// TRANSLATORS: 44 x 68″ +"media.na_f_44x68in" = "44 x 68″"; +// TRANSLATORS: European Fanfold +"media.na_fanfold-eur_8.5x12in" = "European Fanfold"; +// TRANSLATORS: US Fanfold +"media.na_fanfold-us_11x14.875in" = "US Fanfold"; +// TRANSLATORS: Foolscap +"media.na_foolscap_8.5x13in" = "Foolscap"; +// TRANSLATORS: 8 x 13″ +"media.na_govt-legal_8x13in" = "8 x 13″"; +// TRANSLATORS: 8 x 10″ +"media.na_govt-letter_8x10in" = "8 x 10″"; +// TRANSLATORS: 3 x 5″ +"media.na_index-3x5_3x5in" = "3 x 5″"; +// TRANSLATORS: 6 x 8″ +"media.na_index-4x6-ext_6x8in" = "6 x 8″"; +// TRANSLATORS: 4 x 6″ +"media.na_index-4x6_4x6in" = "4 x 6″"; +// TRANSLATORS: 5 x 8″ +"media.na_index-5x8_5x8in" = "5 x 8″"; +// TRANSLATORS: Statement +"media.na_invoice_5.5x8.5in" = "Statement"; +// TRANSLATORS: 11 x 17″ +"media.na_ledger_11x17in" = "11 x 17″"; +// TRANSLATORS: US Legal (Extra) +"media.na_legal-extra_9.5x15in" = "US Legal (Extra)"; +// TRANSLATORS: US Legal +"media.na_legal_8.5x14in" = "US Legal"; +// TRANSLATORS: US Letter (Extra) +"media.na_letter-extra_9.5x12in" = "US Letter (Extra)"; +// TRANSLATORS: US Letter (Plus) +"media.na_letter-plus_8.5x12.69in" = "US Letter (Plus)"; +// TRANSLATORS: US Letter +"media.na_letter_8.5x11in" = "US Letter"; +// TRANSLATORS: Envelope Monarch +"media.na_monarch_3.875x7.5in" = "Envelope Monarch"; +// TRANSLATORS: Envelope #10 +"media.na_number-10_4.125x9.5in" = "Envelope #10"; +// TRANSLATORS: Envelope #11 +"media.na_number-11_4.5x10.375in" = "Envelope #11"; +// TRANSLATORS: Envelope #12 +"media.na_number-12_4.75x11in" = "Envelope #12"; +// TRANSLATORS: Envelope #14 +"media.na_number-14_5x11.5in" = "Envelope #14"; +// TRANSLATORS: Envelope #9 +"media.na_number-9_3.875x8.875in" = "Envelope #9"; +// TRANSLATORS: 8.5 x 13.4″ +"media.na_oficio_8.5x13.4in" = "8.5 x 13.4″"; +// TRANSLATORS: Envelope Personal +"media.na_personal_3.625x6.5in" = "Envelope Personal"; +// TRANSLATORS: Quarto +"media.na_quarto_8.5x10.83in" = "Quarto"; +// TRANSLATORS: 8.94 x 14″ +"media.na_super-a_8.94x14in" = "8.94 x 14″"; +// TRANSLATORS: 13 x 19″ +"media.na_super-b_13x19in" = "13 x 19″"; +// TRANSLATORS: 30 x 42″ +"media.na_wide-format_30x42in" = "30 x 42″"; +// TRANSLATORS: 12 x 16″ +"media.oe_12x16_12x16in" = "12 x 16″"; +// TRANSLATORS: 14 x 17″ +"media.oe_14x17_14x17in" = "14 x 17″"; +// TRANSLATORS: 18 x 22″ +"media.oe_18x22_18x22in" = "18 x 22″"; +// TRANSLATORS: 17 x 24″ +"media.oe_a2plus_17x24in" = "17 x 24″"; +// TRANSLATORS: 2 x 3.5″ +"media.oe_business-card_2x3.5in" = "2 x 3.5″"; +// TRANSLATORS: 10 x 12″ +"media.oe_photo-10r_10x12in" = "10 x 12″"; +// TRANSLATORS: 20 x 24″ +"media.oe_photo-20r_20x24in" = "20 x 24″"; +// TRANSLATORS: 3.5 x 5″ +"media.oe_photo-l_3.5x5in" = "3.5 x 5″"; +// TRANSLATORS: 10 x 15″ +"media.oe_photo-s10r_10x15in" = "10 x 15″"; +// TRANSLATORS: 4 x 4″ +"media.oe_square-photo_4x4in" = "4 x 4″"; +// TRANSLATORS: 5 x 5″ +"media.oe_square-photo_5x5in" = "5 x 5″"; +// TRANSLATORS: 184 x 260mm +"media.om_16k_184x260mm" = "184 x 260mm"; +// TRANSLATORS: 195 x 270mm +"media.om_16k_195x270mm" = "195 x 270mm"; +// TRANSLATORS: 55 x 85mm +"media.om_business-card_55x85mm" = "55 x 85mm"; +// TRANSLATORS: 55 x 91mm +"media.om_business-card_55x91mm" = "55 x 91mm"; +// TRANSLATORS: 54 x 86mm +"media.om_card_54x86mm" = "54 x 86mm"; +// TRANSLATORS: 275 x 395mm +"media.om_dai-pa-kai_275x395mm" = "275 x 395mm"; +// TRANSLATORS: 89 x 119mm +"media.om_dsc-photo_89x119mm" = "89 x 119mm"; +// TRANSLATORS: Folio +"media.om_folio-sp_215x315mm" = "Folio"; +// TRANSLATORS: Folio (Special) +"media.om_folio_210x330mm" = "Folio (Special)"; +// TRANSLATORS: Envelope Invitation +"media.om_invite_220x220mm" = "Envelope Invitation"; +// TRANSLATORS: Envelope Italian +"media.om_italian_110x230mm" = "Envelope Italian"; +// TRANSLATORS: 198 x 275mm +"media.om_juuro-ku-kai_198x275mm" = "198 x 275mm"; +// TRANSLATORS: 200 x 300 +"media.om_large-photo_200x300" = "200 x 300"; +// TRANSLATORS: 130 x 180mm +"media.om_medium-photo_130x180mm" = "130 x 180mm"; +// TRANSLATORS: 267 x 389mm +"media.om_pa-kai_267x389mm" = "267 x 389mm"; +// TRANSLATORS: Envelope Postfix +"media.om_postfix_114x229mm" = "Envelope Postfix"; +// TRANSLATORS: 100 x 150mm +"media.om_small-photo_100x150mm" = "100 x 150mm"; +// TRANSLATORS: 89 x 89mm +"media.om_square-photo_89x89mm" = "89 x 89mm"; +// TRANSLATORS: 100 x 200mm +"media.om_wide-photo_100x200mm" = "100 x 200mm"; +// TRANSLATORS: Envelope Chinese #10 +"media.prc_10_324x458mm" = "Envelope Chinese #10"; +// TRANSLATORS: Chinese 16k +"media.prc_16k_146x215mm" = "Chinese 16k"; +// TRANSLATORS: Envelope Chinese #1 +"media.prc_1_102x165mm" = "Envelope Chinese #1"; +// TRANSLATORS: Envelope Chinese #2 +"media.prc_2_102x176mm" = "Envelope Chinese #2"; +// TRANSLATORS: Chinese 32k +"media.prc_32k_97x151mm" = "Chinese 32k"; +// TRANSLATORS: Envelope Chinese #3 +"media.prc_3_125x176mm" = "Envelope Chinese #3"; +// TRANSLATORS: Envelope Chinese #4 +"media.prc_4_110x208mm" = "Envelope Chinese #4"; +// TRANSLATORS: Envelope Chinese #5 +"media.prc_5_110x220mm" = "Envelope Chinese #5"; +// TRANSLATORS: Envelope Chinese #6 +"media.prc_6_120x320mm" = "Envelope Chinese #6"; +// TRANSLATORS: Envelope Chinese #7 +"media.prc_7_160x230mm" = "Envelope Chinese #7"; +// TRANSLATORS: Envelope Chinese #8 +"media.prc_8_120x309mm" = "Envelope Chinese #8"; +// TRANSLATORS: ROC 16k +"media.roc_16k_7.75x10.75in" = "ROC 16k"; +// TRANSLATORS: ROC 8k +"media.roc_8k_10.75x15.5in" = "ROC 8k"; +"members of class %s:" = "members of class %s:"; +// TRANSLATORS: Multiple Document Handling +"multiple-document-handling" = "Multiple Document Handling"; +// TRANSLATORS: Separate Documents Collated Copies +"multiple-document-handling.separate-documents-collated-copies" = "Separate Documents Collated Copies"; +// TRANSLATORS: Separate Documents Uncollated Copies +"multiple-document-handling.separate-documents-uncollated-copies" = "Separate Documents Uncollated Copies"; +// TRANSLATORS: Single Document +"multiple-document-handling.single-document" = "Single Document"; +// TRANSLATORS: Single Document New Sheet +"multiple-document-handling.single-document-new-sheet" = "Single Document New Sheet"; +// TRANSLATORS: Multiple Object Handling +"multiple-object-handling" = "Multiple Object Handling"; +// TRANSLATORS: Multiple Object Handling Actual +"multiple-object-handling-actual" = "Multiple Object Handling Actual"; +// TRANSLATORS: Automatic +"multiple-object-handling.auto" = "Automatic"; +// TRANSLATORS: Best Fit +"multiple-object-handling.best-fit" = "Best Fit"; +// TRANSLATORS: Best Quality +"multiple-object-handling.best-quality" = "Best Quality"; +// TRANSLATORS: Best Speed +"multiple-object-handling.best-speed" = "Best Speed"; +// TRANSLATORS: One At A Time +"multiple-object-handling.one-at-a-time" = "One At A Time"; +// TRANSLATORS: On Timeout +"multiple-operation-time-out-action" = "On Timeout"; +// TRANSLATORS: Abort Job +"multiple-operation-time-out-action.abort-job" = "Abort Job"; +// TRANSLATORS: Hold Job +"multiple-operation-time-out-action.hold-job" = "Hold Job"; +// TRANSLATORS: Process Job +"multiple-operation-time-out-action.process-job" = "Process Job"; +"no entries" = "no entries"; +"no system default destination" = "no system default destination"; +// TRANSLATORS: Noise Removal +"noise-removal" = "Noise Removal"; +// TRANSLATORS: Notify Attributes +"notify-attributes" = "Notify Attributes"; +// TRANSLATORS: Notify Charset +"notify-charset" = "Notify Charset"; +// TRANSLATORS: Notify Events +"notify-events" = "Notify Events"; +"notify-events not specified." = "notify-events not specified."; +// TRANSLATORS: Document Completed +"notify-events.document-completed" = "Document Completed"; +// TRANSLATORS: Document Config Changed +"notify-events.document-config-changed" = "Document Config Changed"; +// TRANSLATORS: Document Created +"notify-events.document-created" = "Document Created"; +// TRANSLATORS: Document Fetchable +"notify-events.document-fetchable" = "Document Fetchable"; +// TRANSLATORS: Document State Changed +"notify-events.document-state-changed" = "Document State Changed"; +// TRANSLATORS: Document Stopped +"notify-events.document-stopped" = "Document Stopped"; +// TRANSLATORS: Job Completed +"notify-events.job-completed" = "Job Completed"; +// TRANSLATORS: Job Config Changed +"notify-events.job-config-changed" = "Job Config Changed"; +// TRANSLATORS: Job Created +"notify-events.job-created" = "Job Created"; +// TRANSLATORS: Job Fetchable +"notify-events.job-fetchable" = "Job Fetchable"; +// TRANSLATORS: Job Progress +"notify-events.job-progress" = "Job Progress"; +// TRANSLATORS: Job State Changed +"notify-events.job-state-changed" = "Job State Changed"; +// TRANSLATORS: Job Stopped +"notify-events.job-stopped" = "Job Stopped"; +// TRANSLATORS: None +"notify-events.none" = "None"; +// TRANSLATORS: Printer Config Changed +"notify-events.printer-config-changed" = "Printer Config Changed"; +// TRANSLATORS: Printer Finishings Changed +"notify-events.printer-finishings-changed" = "Printer Finishings Changed"; +// TRANSLATORS: Printer Media Changed +"notify-events.printer-media-changed" = "Printer Media Changed"; +// TRANSLATORS: Printer Queue Order Changed +"notify-events.printer-queue-order-changed" = "Printer Queue Order Changed"; +// TRANSLATORS: Printer Restarted +"notify-events.printer-restarted" = "Printer Restarted"; +// TRANSLATORS: Printer Shutdown +"notify-events.printer-shutdown" = "Printer Shutdown"; +// TRANSLATORS: Printer State Changed +"notify-events.printer-state-changed" = "Printer State Changed"; +// TRANSLATORS: Printer Stopped +"notify-events.printer-stopped" = "Printer Stopped"; +// TRANSLATORS: Notify Get Interval +"notify-get-interval" = "Notify Get Interval"; +// TRANSLATORS: Notify Lease Duration +"notify-lease-duration" = "Notify Lease Duration"; +// TRANSLATORS: Notify Natural Language +"notify-natural-language" = "Notify Natural Language"; +// TRANSLATORS: Notify Pull Method +"notify-pull-method" = "Notify Pull Method"; +// TRANSLATORS: Notify Recipient +"notify-recipient-uri" = "Notify Recipient"; +"notify-recipient-uri URI \"%s\" is already used." = "notify-recipient-uri URI “%s” is already used."; +"notify-recipient-uri URI \"%s\" uses unknown scheme." = "notify-recipient-uri URI \"%s\" uses unknown scheme."; +// TRANSLATORS: Notify Sequence Numbers +"notify-sequence-numbers" = "Notify Sequence Numbers"; +// TRANSLATORS: Notify Subscription Ids +"notify-subscription-ids" = "Notify Subscription Ids"; +// TRANSLATORS: Notify Time Interval +"notify-time-interval" = "Notify Time Interval"; +// TRANSLATORS: Notify User Data +"notify-user-data" = "Notify User Data"; +// TRANSLATORS: Notify Wait +"notify-wait" = "Notify Wait"; +// TRANSLATORS: Number Of Retries +"number-of-retries" = "Number Of Retries"; +// TRANSLATORS: Number-Up +"number-up" = "Number-Up"; +// TRANSLATORS: Object Offset +"object-offset" = "Object Offset"; +// TRANSLATORS: Object Size +"object-size" = "Object Size"; +// TRANSLATORS: Organization Name +"organization-name" = "Organization Name"; +// TRANSLATORS: Orientation +"orientation-requested" = "Orientation"; +// TRANSLATORS: Portrait +"orientation-requested.3" = "Portrait"; +// TRANSLATORS: Landscape +"orientation-requested.4" = "Landscape"; +// TRANSLATORS: Reverse Landscape +"orientation-requested.5" = "Reverse Landscape"; +// TRANSLATORS: Reverse Portrait +"orientation-requested.6" = "Reverse Portrait"; +// TRANSLATORS: None +"orientation-requested.7" = "None"; +// TRANSLATORS: Scanned Image Options +"output-attributes" = "Scanned Image Options"; +// TRANSLATORS: Output Tray +"output-bin" = "Output Tray"; +// TRANSLATORS: Automatic +"output-bin.auto" = "Automatic"; +// TRANSLATORS: Bottom +"output-bin.bottom" = "Bottom"; +// TRANSLATORS: Center +"output-bin.center" = "Center"; +// TRANSLATORS: Face Down +"output-bin.face-down" = "Face Down"; +// TRANSLATORS: Face Up +"output-bin.face-up" = "Face Up"; +// TRANSLATORS: Large Capacity +"output-bin.large-capacity" = "Large Capacity"; +// TRANSLATORS: Left +"output-bin.left" = "Left"; +// TRANSLATORS: Mailbox 1 +"output-bin.mailbox-1" = "Mailbox 1"; +// TRANSLATORS: Mailbox 10 +"output-bin.mailbox-10" = "Mailbox 10"; +// TRANSLATORS: Mailbox 2 +"output-bin.mailbox-2" = "Mailbox 2"; +// TRANSLATORS: Mailbox 3 +"output-bin.mailbox-3" = "Mailbox 3"; +// TRANSLATORS: Mailbox 4 +"output-bin.mailbox-4" = "Mailbox 4"; +// TRANSLATORS: Mailbox 5 +"output-bin.mailbox-5" = "Mailbox 5"; +// TRANSLATORS: Mailbox 6 +"output-bin.mailbox-6" = "Mailbox 6"; +// TRANSLATORS: Mailbox 7 +"output-bin.mailbox-7" = "Mailbox 7"; +// TRANSLATORS: Mailbox 8 +"output-bin.mailbox-8" = "Mailbox 8"; +// TRANSLATORS: Mailbox 9 +"output-bin.mailbox-9" = "Mailbox 9"; +// TRANSLATORS: Middle +"output-bin.middle" = "Middle"; +// TRANSLATORS: My Mailbox +"output-bin.my-mailbox" = "My Mailbox"; +// TRANSLATORS: Rear +"output-bin.rear" = "Rear"; +// TRANSLATORS: Right +"output-bin.right" = "Right"; +// TRANSLATORS: Side +"output-bin.side" = "Side"; +// TRANSLATORS: Stacker 1 +"output-bin.stacker-1" = "Stacker 1"; +// TRANSLATORS: Stacker 10 +"output-bin.stacker-10" = "Stacker 10"; +// TRANSLATORS: Stacker 2 +"output-bin.stacker-2" = "Stacker 2"; +// TRANSLATORS: Stacker 3 +"output-bin.stacker-3" = "Stacker 3"; +// TRANSLATORS: Stacker 4 +"output-bin.stacker-4" = "Stacker 4"; +// TRANSLATORS: Stacker 5 +"output-bin.stacker-5" = "Stacker 5"; +// TRANSLATORS: Stacker 6 +"output-bin.stacker-6" = "Stacker 6"; +// TRANSLATORS: Stacker 7 +"output-bin.stacker-7" = "Stacker 7"; +// TRANSLATORS: Stacker 8 +"output-bin.stacker-8" = "Stacker 8"; +// TRANSLATORS: Stacker 9 +"output-bin.stacker-9" = "Stacker 9"; +// TRANSLATORS: Top +"output-bin.top" = "Top"; +// TRANSLATORS: Tray 1 +"output-bin.tray-1" = "Tray 1"; +// TRANSLATORS: Tray 10 +"output-bin.tray-10" = "Tray 10"; +// TRANSLATORS: Tray 2 +"output-bin.tray-2" = "Tray 2"; +// TRANSLATORS: Tray 3 +"output-bin.tray-3" = "Tray 3"; +// TRANSLATORS: Tray 4 +"output-bin.tray-4" = "Tray 4"; +// TRANSLATORS: Tray 5 +"output-bin.tray-5" = "Tray 5"; +// TRANSLATORS: Tray 6 +"output-bin.tray-6" = "Tray 6"; +// TRANSLATORS: Tray 7 +"output-bin.tray-7" = "Tray 7"; +// TRANSLATORS: Tray 8 +"output-bin.tray-8" = "Tray 8"; +// TRANSLATORS: Tray 9 +"output-bin.tray-9" = "Tray 9"; +// TRANSLATORS: Scanned Image Quality +"output-compression-quality-factor" = "Scanned Image Quality"; +// TRANSLATORS: Page Delivery +"page-delivery" = "Page Delivery"; +// TRANSLATORS: Reverse Order Face-down +"page-delivery.reverse-order-face-down" = "Reverse Order Face-down"; +// TRANSLATORS: Reverse Order Face-up +"page-delivery.reverse-order-face-up" = "Reverse Order Face-up"; +// TRANSLATORS: Same Order Face-down +"page-delivery.same-order-face-down" = "Same Order Face-down"; +// TRANSLATORS: Same Order Face-up +"page-delivery.same-order-face-up" = "Same Order Face-up"; +// TRANSLATORS: System Specified +"page-delivery.system-specified" = "System Specified"; +// TRANSLATORS: Page Order Received +"page-order-received" = "Page Order Received"; +// TRANSLATORS: 1 To N +"page-order-received.1-to-n-order" = "1 To N"; +// TRANSLATORS: N To 1 +"page-order-received.n-to-1-order" = "N To 1"; +// TRANSLATORS: Page Ranges +"page-ranges" = "Page Ranges"; +// TRANSLATORS: Pages +"pages" = "Pages"; +// TRANSLATORS: Pages Per Subset +"pages-per-subset" = "Pages Per Subset"; +// TRANSLATORS: Pclm Raster Back Side +"pclm-raster-back-side" = "Pclm Raster Back Side"; +// TRANSLATORS: Flipped +"pclm-raster-back-side.flipped" = "Flipped"; +// TRANSLATORS: Normal +"pclm-raster-back-side.normal" = "Normal"; +// TRANSLATORS: Rotated +"pclm-raster-back-side.rotated" = "Rotated"; +// TRANSLATORS: Pclm Source Resolution +"pclm-source-resolution" = "Pclm Source Resolution"; +"pending" = "pending"; +// TRANSLATORS: Platform Shape +"platform-shape" = "Platform Shape"; +// TRANSLATORS: Round +"platform-shape.ellipse" = "Round"; +// TRANSLATORS: Rectangle +"platform-shape.rectangle" = "Rectangle"; +// TRANSLATORS: Platform Temperature +"platform-temperature" = "Platform Temperature"; +// TRANSLATORS: Post-dial String +"post-dial-string" = "Post-dial String"; +"ppdc: Adding include directory \"%s\"." = "ppdc: Adding include directory “%s”."; +"ppdc: Adding/updating UI text from %s." = "ppdc: Adding/updating UI text from %s."; +"ppdc: Bad boolean value (%s) on line %d of %s." = "ppdc: Bad boolean value (%s) on line %d of %s."; +"ppdc: Bad font attribute: %s" = "ppdc: Bad font attribute: %s"; +"ppdc: Bad resolution name \"%s\" on line %d of %s." = "ppdc: Bad resolution name “%s” on line %d of %s."; +"ppdc: Bad status keyword %s on line %d of %s." = "ppdc: Bad status keyword %s on line %d of %s."; +"ppdc: Bad variable substitution ($%c) on line %d of %s." = "ppdc: Bad variable substitution ($%c) on line %d of %s."; +"ppdc: Choice found on line %d of %s with no Option." = "ppdc: Choice found on line %d of %s with no Option."; +"ppdc: Duplicate #po for locale %s on line %d of %s." = "ppdc: Duplicate #po for locale %s on line %d of %s."; +"ppdc: Expected a filter definition on line %d of %s." = "ppdc: Expected a filter definition on line %d of %s."; +"ppdc: Expected a program name on line %d of %s." = "ppdc: Expected a program name on line %d of %s."; +"ppdc: Expected boolean value on line %d of %s." = "ppdc: Expected boolean value on line %d of %s."; +"ppdc: Expected charset after Font on line %d of %s." = "ppdc: Expected charset after Font on line %d of %s."; +"ppdc: Expected choice code on line %d of %s." = "ppdc: Expected choice code on line %d of %s."; +"ppdc: Expected choice name/text on line %d of %s." = "ppdc: Expected choice name/text on line %d of %s."; +"ppdc: Expected color order for ColorModel on line %d of %s." = "ppdc: Expected color order for ColorModel on line %d of %s."; +"ppdc: Expected colorspace for ColorModel on line %d of %s." = "ppdc: Expected colorspace for ColorModel on line %d of %s."; +"ppdc: Expected compression for ColorModel on line %d of %s." = "ppdc: Expected compression for ColorModel on line %d of %s."; +"ppdc: Expected constraints string for UIConstraints on line %d of %s." = "ppdc: Expected constraints string for UIConstraints on line %d of %s."; +"ppdc: Expected driver type keyword following DriverType on line %d of %s." = "ppdc: Expected driver type keyword following DriverType on line %d of %s."; +"ppdc: Expected duplex type after Duplex on line %d of %s." = "ppdc: Expected duplex type after Duplex on line %d of %s."; +"ppdc: Expected encoding after Font on line %d of %s." = "ppdc: Expected encoding after Font on line %d of %s."; +"ppdc: Expected filename after #po %s on line %d of %s." = "ppdc: Expected filename after #po %s on line %d of %s."; +"ppdc: Expected group name/text on line %d of %s." = "ppdc: Expected group name/text on line %d of %s."; +"ppdc: Expected include filename on line %d of %s." = "ppdc: Expected include filename on line %d of %s."; +"ppdc: Expected integer on line %d of %s." = "ppdc: Expected integer on line %d of %s."; +"ppdc: Expected locale after #po on line %d of %s." = "ppdc: Expected locale after #po on line %d of %s."; +"ppdc: Expected name after %s on line %d of %s." = "ppdc: Expected name after %s on line %d of %s."; +"ppdc: Expected name after FileName on line %d of %s." = "ppdc: Expected name after FileName on line %d of %s."; +"ppdc: Expected name after Font on line %d of %s." = "ppdc: Expected name after Font on line %d of %s."; +"ppdc: Expected name after Manufacturer on line %d of %s." = "ppdc: Expected name after Manufacturer on line %d of %s."; +"ppdc: Expected name after MediaSize on line %d of %s." = "ppdc: Expected name after MediaSize on line %d of %s."; +"ppdc: Expected name after ModelName on line %d of %s." = "ppdc: Expected name after ModelName on line %d of %s."; +"ppdc: Expected name after PCFileName on line %d of %s." = "ppdc: Expected name after PCFileName on line %d of %s."; +"ppdc: Expected name/text after %s on line %d of %s." = "ppdc: Expected name/text after %s on line %d of %s."; +"ppdc: Expected name/text after Installable on line %d of %s." = "ppdc: Expected name/text after Installable on line %d of %s."; +"ppdc: Expected name/text after Resolution on line %d of %s." = "ppdc: Expected name/text after Resolution on line %d of %s."; +"ppdc: Expected name/text combination for ColorModel on line %d of %s." = "ppdc: Expected name/text combination for ColorModel on line %d of %s."; +"ppdc: Expected option name/text on line %d of %s." = "ppdc: Expected option name/text on line %d of %s."; +"ppdc: Expected option section on line %d of %s." = "ppdc: Expected option section on line %d of %s."; +"ppdc: Expected option type on line %d of %s." = "ppdc: Expected option type on line %d of %s."; +"ppdc: Expected override field after Resolution on line %d of %s." = "ppdc: Expected override field after Resolution on line %d of %s."; +"ppdc: Expected quoted string on line %d of %s." = "ppdc: Expected quoted string on line %d of %s."; +"ppdc: Expected real number on line %d of %s." = "ppdc: Expected real number on line %d of %s."; +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." = "ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s."; +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d of %s." = "ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d of %s."; +"ppdc: Expected selector after %s on line %d of %s." = "ppdc: Expected selector after %s on line %d of %s."; +"ppdc: Expected status after Font on line %d of %s." = "ppdc: Expected status after Font on line %d of %s."; +"ppdc: Expected string after Copyright on line %d of %s." = "ppdc: Expected string after Copyright on line %d of %s."; +"ppdc: Expected string after Version on line %d of %s." = "ppdc: Expected string after Version on line %d of %s."; +"ppdc: Expected two option names on line %d of %s." = "ppdc: Expected two option names on line %d of %s."; +"ppdc: Expected value after %s on line %d of %s." = "ppdc: Expected value after %s on line %d of %s."; +"ppdc: Expected version after Font on line %d of %s." = "ppdc: Expected version after Font on line %d of %s."; +"ppdc: Invalid #include/#po filename \"%s\"." = "ppdc: Invalid #include/#po filename “%s”."; +"ppdc: Invalid cost for filter on line %d of %s." = "ppdc: Invalid cost for filter on line %d of %s."; +"ppdc: Invalid empty MIME type for filter on line %d of %s." = "ppdc: Invalid empty MIME type for filter on line %d of %s."; +"ppdc: Invalid empty program name for filter on line %d of %s." = "ppdc: Invalid empty program name for filter on line %d of %s."; +"ppdc: Invalid option section \"%s\" on line %d of %s." = "ppdc: Invalid option section “%s” on line %d of %s."; +"ppdc: Invalid option type \"%s\" on line %d of %s." = "ppdc: Invalid option type “%s” on line %d of %s."; +"ppdc: Loading driver information file \"%s\"." = "ppdc: Loading driver information file “%s”."; +"ppdc: Loading messages for locale \"%s\"." = "ppdc: Loading messages for locale “%s”."; +"ppdc: Loading messages from \"%s\"." = "ppdc: Loading messages from “%s”."; +"ppdc: Missing #endif at end of \"%s\"." = "ppdc: Missing #endif at end of “%s”."; +"ppdc: Missing #if on line %d of %s." = "ppdc: Missing #if on line %d of %s."; +"ppdc: Need a msgid line before any translation strings on line %d of %s." = "ppdc: Need a msgid line before any translation strings on line %d of %s."; +"ppdc: No message catalog provided for locale %s." = "ppdc: No message catalog provided for locale %s."; +"ppdc: Option %s defined in two different groups on line %d of %s." = "ppdc: Option %s defined in two different groups on line %d of %s."; +"ppdc: Option %s redefined with a different type on line %d of %s." = "ppdc: Option %s redefined with a different type on line %d of %s."; +"ppdc: Option constraint must *name on line %d of %s." = "ppdc: Option constraint must *name on line %d of %s."; +"ppdc: Too many nested #if's on line %d of %s." = "ppdc: Too many nested #if’s on line %d of %s."; +"ppdc: Unable to create PPD file \"%s\" - %s." = "ppdc: Unable to create PPD file “%s” - %s."; +"ppdc: Unable to create output directory %s: %s" = "ppdc: Unable to create output directory %s: %s"; +"ppdc: Unable to create output pipes: %s" = "ppdc: Unable to create output pipes: %s"; +"ppdc: Unable to execute cupstestppd: %s" = "ppdc: Unable to execute cupstestppd: %s"; +"ppdc: Unable to find #po file %s on line %d of %s." = "ppdc: Unable to find #po file %s on line %d of %s."; +"ppdc: Unable to find include file \"%s\" on line %d of %s." = "ppdc: Unable to find include file “%s” on line %d of %s."; +"ppdc: Unable to find localization for \"%s\" - %s" = "ppdc: Unable to find localization for “%s” - %s"; +"ppdc: Unable to load localization file \"%s\" - %s" = "ppdc: Unable to load localization file “%s” - %s"; +"ppdc: Unable to open %s: %s" = "ppdc: Unable to open %s: %s"; +"ppdc: Undefined variable (%s) on line %d of %s." = "ppdc: Undefined variable (%s) on line %d of %s."; +"ppdc: Unexpected text on line %d of %s." = "ppdc: Unexpected text on line %d of %s."; +"ppdc: Unknown driver type %s on line %d of %s." = "ppdc: Unknown driver type %s on line %d of %s."; +"ppdc: Unknown duplex type \"%s\" on line %d of %s." = "ppdc: Unknown duplex type “%s” on line %d of %s."; +"ppdc: Unknown media size \"%s\" on line %d of %s." = "ppdc: Unknown media size “%s” on line %d of %s."; +"ppdc: Unknown message catalog format for \"%s\"." = "ppdc: Unknown message catalog format for “%s”."; +"ppdc: Unknown token \"%s\" seen on line %d of %s." = "ppdc: Unknown token “%s” seen on line %d of %s."; +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." = "ppdc: Unknown trailing characters in real number “%s” on line %d of %s."; +"ppdc: Unterminated string starting with %c on line %d of %s." = "ppdc: Unterminated string starting with %c on line %d of %s."; +"ppdc: Warning - overlapping filename \"%s\"." = "ppdc: Warning - overlapping filename “%s”."; +"ppdc: Writing %s." = "ppdc: Writing %s."; +"ppdc: Writing PPD files to directory \"%s\"." = "ppdc: Writing PPD files to directory “%s”."; +"ppdmerge: Bad LanguageVersion \"%s\" in %s." = "ppdmerge: Bad LanguageVersion “%s” in %s."; +"ppdmerge: Ignoring PPD file %s." = "ppdmerge: Ignoring PPD file %s."; +"ppdmerge: Unable to backup %s to %s - %s" = "ppdmerge: Unable to backup %s to %s - %s"; +// TRANSLATORS: Pre-dial String +"pre-dial-string" = "Pre-dial String"; +// TRANSLATORS: Number-Up Layout +"presentation-direction-number-up" = "Number-Up Layout"; +// TRANSLATORS: Top-bottom, Right-left +"presentation-direction-number-up.tobottom-toleft" = "Top-bottom, Right-left"; +// TRANSLATORS: Top-bottom, Left-right +"presentation-direction-number-up.tobottom-toright" = "Top-bottom, Left-right"; +// TRANSLATORS: Right-left, Top-bottom +"presentation-direction-number-up.toleft-tobottom" = "Right-left, Top-bottom"; +// TRANSLATORS: Right-left, Bottom-top +"presentation-direction-number-up.toleft-totop" = "Right-left, Bottom-top"; +// TRANSLATORS: Left-right, Top-bottom +"presentation-direction-number-up.toright-tobottom" = "Left-right, Top-bottom"; +// TRANSLATORS: Left-right, Bottom-top +"presentation-direction-number-up.toright-totop" = "Left-right, Bottom-top"; +// TRANSLATORS: Bottom-top, Right-left +"presentation-direction-number-up.totop-toleft" = "Bottom-top, Right-left"; +// TRANSLATORS: Bottom-top, Left-right +"presentation-direction-number-up.totop-toright" = "Bottom-top, Left-right"; +// TRANSLATORS: Print Accuracy +"print-accuracy" = "Print Accuracy"; +// TRANSLATORS: Print Base +"print-base" = "Print Base"; +// TRANSLATORS: Print Base Actual +"print-base-actual" = "Print Base Actual"; +// TRANSLATORS: Brim +"print-base.brim" = "Brim"; +// TRANSLATORS: None +"print-base.none" = "None"; +// TRANSLATORS: Raft +"print-base.raft" = "Raft"; +// TRANSLATORS: Skirt +"print-base.skirt" = "Skirt"; +// TRANSLATORS: Standard +"print-base.standard" = "Standard"; +// TRANSLATORS: Print Color Mode +"print-color-mode" = "Print Color Mode"; +// TRANSLATORS: Automatic +"print-color-mode.auto" = "Automatic"; +// TRANSLATORS: Auto Monochrome +"print-color-mode.auto-monochrome" = "Auto Monochrome"; +// TRANSLATORS: Text +"print-color-mode.bi-level" = "Text"; +// TRANSLATORS: Color +"print-color-mode.color" = "Color"; +// TRANSLATORS: Highlight +"print-color-mode.highlight" = "Highlight"; +// TRANSLATORS: Monochrome +"print-color-mode.monochrome" = "Monochrome"; +// TRANSLATORS: Process Text +"print-color-mode.process-bi-level" = "Process Text"; +// TRANSLATORS: Process Monochrome +"print-color-mode.process-monochrome" = "Process Monochrome"; +// TRANSLATORS: Print Optimization +"print-content-optimize" = "Print Optimization"; +// TRANSLATORS: Print Content Optimize Actual +"print-content-optimize-actual" = "print-content-optimize-actual"; +// TRANSLATORS: Automatic +"print-content-optimize.auto" = "Automatic"; +// TRANSLATORS: Graphics +"print-content-optimize.graphic" = "Graphics"; +// TRANSLATORS: Graphics +"print-content-optimize.graphics" = "print-content-optimize.graphics"; +// TRANSLATORS: Photo +"print-content-optimize.photo" = "Photo"; +// TRANSLATORS: Text +"print-content-optimize.text" = "Text"; +// TRANSLATORS: Text and Graphics +"print-content-optimize.text-and-graphic" = "Text and Graphics"; +// TRANSLATORS: Text And Graphics +"print-content-optimize.text-and-graphics" = "print-content-optimize.text-and-graphics"; +// TRANSLATORS: Print Objects +"print-objects" = "Print Objects"; +// TRANSLATORS: Print Quality +"print-quality" = "Print Quality"; +// TRANSLATORS: Draft +"print-quality.3" = "Draft"; +// TRANSLATORS: Normal +"print-quality.4" = "Normal"; +// TRANSLATORS: High +"print-quality.5" = "High"; +// TRANSLATORS: Print Rendering Intent +"print-rendering-intent" = "Print Rendering Intent"; +// TRANSLATORS: Absolute +"print-rendering-intent.absolute" = "Absolute"; +// TRANSLATORS: Automatic +"print-rendering-intent.auto" = "Automatic"; +// TRANSLATORS: Perceptual +"print-rendering-intent.perceptual" = "Perceptual"; +// TRANSLATORS: Relative +"print-rendering-intent.relative" = "Relative"; +// TRANSLATORS: Relative w/Black Point Compensation +"print-rendering-intent.relative-bpc" = "Relative w/Black Point Compensation"; +// TRANSLATORS: Saturation +"print-rendering-intent.saturation" = "Saturation"; +// TRANSLATORS: Print Scaling +"print-scaling" = "Print Scaling"; +// TRANSLATORS: Automatic +"print-scaling.auto" = "Automatic"; +// TRANSLATORS: Auto-fit +"print-scaling.auto-fit" = "Auto-fit"; +// TRANSLATORS: Fill +"print-scaling.fill" = "Fill"; +// TRANSLATORS: Fit +"print-scaling.fit" = "Fit"; +// TRANSLATORS: None +"print-scaling.none" = "None"; +// TRANSLATORS: Print Supports +"print-supports" = "Print Supports"; +// TRANSLATORS: Print Supports Actual +"print-supports-actual" = "Print Supports Actual"; +// TRANSLATORS: With Specified Material +"print-supports.material" = "With Specified Material"; +// TRANSLATORS: None +"print-supports.none" = "None"; +// TRANSLATORS: Standard +"print-supports.standard" = "Standard"; +"printer %s disabled since %s -" = "printer %s disabled since %s -"; +"printer %s is holding new jobs. enabled since %s" = "printer %s is holding new jobs. enabled since %s"; +"printer %s is idle. enabled since %s" = "printer %s is idle. enabled since %s"; +"printer %s now printing %s-%d. enabled since %s" = "printer %s now printing %s-%d. enabled since %s"; +"printer %s/%s disabled since %s -" = "printer %s/%s disabled since %s -"; +"printer %s/%s is idle. enabled since %s" = "printer %s/%s is idle. enabled since %s"; +"printer %s/%s now printing %s-%d. enabled since %s" = "printer %s/%s now printing %s-%d. enabled since %s"; +// TRANSLATORS: Printer Kind +"printer-kind" = "printer-kind"; +// TRANSLATORS: Disc +"printer-kind.disc" = "printer-kind.disc"; +// TRANSLATORS: Document +"printer-kind.document" = "printer-kind.document"; +// TRANSLATORS: Envelope +"printer-kind.envelope" = "printer-kind.envelope"; +// TRANSLATORS: Label +"printer-kind.label" = "printer-kind.label"; +// TRANSLATORS: Large Format +"printer-kind.large-format" = "printer-kind.large-format"; +// TRANSLATORS: Photo +"printer-kind.photo" = "printer-kind.photo"; +// TRANSLATORS: Postcard +"printer-kind.postcard" = "printer-kind.postcard"; +// TRANSLATORS: Receipt +"printer-kind.receipt" = "printer-kind.receipt"; +// TRANSLATORS: Roll +"printer-kind.roll" = "printer-kind.roll"; +// TRANSLATORS: Message From Operator +"printer-message-from-operator" = "Message From Operator"; +// TRANSLATORS: Print Resolution +"printer-resolution" = "Print Resolution"; +// TRANSLATORS: Printer State +"printer-state" = "Printer State"; +// TRANSLATORS: Detailed Printer State +"printer-state-reasons" = "Detailed Printer State"; +// TRANSLATORS: Old Alerts Have Been Removed +"printer-state-reasons.alert-removal-of-binary-change-entry" = "Old Alerts Have Been Removed"; +// TRANSLATORS: Bander Added +"printer-state-reasons.bander-added" = "Bander Added"; +// TRANSLATORS: Bander Almost Empty +"printer-state-reasons.bander-almost-empty" = "Bander Almost Empty"; +// TRANSLATORS: Bander Almost Full +"printer-state-reasons.bander-almost-full" = "Bander Almost Full"; +// TRANSLATORS: Bander At Limit +"printer-state-reasons.bander-at-limit" = "Bander At Limit"; +// TRANSLATORS: Bander Closed +"printer-state-reasons.bander-closed" = "Bander Closed"; +// TRANSLATORS: Bander Configuration Change +"printer-state-reasons.bander-configuration-change" = "Bander Configuration Change"; +// TRANSLATORS: Bander Cover Closed +"printer-state-reasons.bander-cover-closed" = "Bander Cover Closed"; +// TRANSLATORS: Bander Cover Open +"printer-state-reasons.bander-cover-open" = "Bander Cover Open"; +// TRANSLATORS: Bander Empty +"printer-state-reasons.bander-empty" = "Bander Empty"; +// TRANSLATORS: Bander Full +"printer-state-reasons.bander-full" = "Bander Full"; +// TRANSLATORS: Bander Interlock Closed +"printer-state-reasons.bander-interlock-closed" = "Bander Interlock Closed"; +// TRANSLATORS: Bander Interlock Open +"printer-state-reasons.bander-interlock-open" = "Bander Interlock Open"; +// TRANSLATORS: Bander Jam +"printer-state-reasons.bander-jam" = "Bander Jam"; +// TRANSLATORS: Bander Life Almost Over +"printer-state-reasons.bander-life-almost-over" = "Bander Life Almost Over"; +// TRANSLATORS: Bander Life Over +"printer-state-reasons.bander-life-over" = "Bander Life Over"; +// TRANSLATORS: Bander Memory Exhausted +"printer-state-reasons.bander-memory-exhausted" = "Bander Memory Exhausted"; +// TRANSLATORS: Bander Missing +"printer-state-reasons.bander-missing" = "Bander Missing"; +// TRANSLATORS: Bander Motor Failure +"printer-state-reasons.bander-motor-failure" = "Bander Motor Failure"; +// TRANSLATORS: Bander Near Limit +"printer-state-reasons.bander-near-limit" = "Bander Near Limit"; +// TRANSLATORS: Bander Offline +"printer-state-reasons.bander-offline" = "Bander Offline"; +// TRANSLATORS: Bander Opened +"printer-state-reasons.bander-opened" = "Bander Opened"; +// TRANSLATORS: Bander Over Temperature +"printer-state-reasons.bander-over-temperature" = "Bander Over Temperature"; +// TRANSLATORS: Bander Power Saver +"printer-state-reasons.bander-power-saver" = "Bander Power Saver"; +// TRANSLATORS: Bander Recoverable Failure +"printer-state-reasons.bander-recoverable-failure" = "Bander Recoverable Failure"; +// TRANSLATORS: Bander Recoverable Storage +"printer-state-reasons.bander-recoverable-storage" = "Bander Recoverable Storage"; +// TRANSLATORS: Bander Removed +"printer-state-reasons.bander-removed" = "Bander Removed"; +// TRANSLATORS: Bander Resource Added +"printer-state-reasons.bander-resource-added" = "Bander Resource Added"; +// TRANSLATORS: Bander Resource Removed +"printer-state-reasons.bander-resource-removed" = "Bander Resource Removed"; +// TRANSLATORS: Bander Thermistor Failure +"printer-state-reasons.bander-thermistor-failure" = "Bander Thermistor Failure"; +// TRANSLATORS: Bander Timing Failure +"printer-state-reasons.bander-timing-failure" = "Bander Timing Failure"; +// TRANSLATORS: Bander Turned Off +"printer-state-reasons.bander-turned-off" = "Bander Turned Off"; +// TRANSLATORS: Bander Turned On +"printer-state-reasons.bander-turned-on" = "Bander Turned On"; +// TRANSLATORS: Bander Under Temperature +"printer-state-reasons.bander-under-temperature" = "Bander Under Temperature"; +// TRANSLATORS: Bander Unrecoverable Failure +"printer-state-reasons.bander-unrecoverable-failure" = "Bander Unrecoverable Failure"; +// TRANSLATORS: Bander Unrecoverable Storage Error +"printer-state-reasons.bander-unrecoverable-storage-error" = "Bander Unrecoverable Storage Error"; +// TRANSLATORS: Bander Warming Up +"printer-state-reasons.bander-warming-up" = "Bander Warming Up"; +// TRANSLATORS: Binder Added +"printer-state-reasons.binder-added" = "Binder Added"; +// TRANSLATORS: Binder Almost Empty +"printer-state-reasons.binder-almost-empty" = "Binder Almost Empty"; +// TRANSLATORS: Binder Almost Full +"printer-state-reasons.binder-almost-full" = "Binder Almost Full"; +// TRANSLATORS: Binder At Limit +"printer-state-reasons.binder-at-limit" = "Binder At Limit"; +// TRANSLATORS: Binder Closed +"printer-state-reasons.binder-closed" = "Binder Closed"; +// TRANSLATORS: Binder Configuration Change +"printer-state-reasons.binder-configuration-change" = "Binder Configuration Change"; +// TRANSLATORS: Binder Cover Closed +"printer-state-reasons.binder-cover-closed" = "Binder Cover Closed"; +// TRANSLATORS: Binder Cover Open +"printer-state-reasons.binder-cover-open" = "Binder Cover Open"; +// TRANSLATORS: Binder Empty +"printer-state-reasons.binder-empty" = "Binder Empty"; +// TRANSLATORS: Binder Full +"printer-state-reasons.binder-full" = "Binder Full"; +// TRANSLATORS: Binder Interlock Closed +"printer-state-reasons.binder-interlock-closed" = "Binder Interlock Closed"; +// TRANSLATORS: Binder Interlock Open +"printer-state-reasons.binder-interlock-open" = "Binder Interlock Open"; +// TRANSLATORS: Binder Jam +"printer-state-reasons.binder-jam" = "Binder Jam"; +// TRANSLATORS: Binder Life Almost Over +"printer-state-reasons.binder-life-almost-over" = "Binder Life Almost Over"; +// TRANSLATORS: Binder Life Over +"printer-state-reasons.binder-life-over" = "Binder Life Over"; +// TRANSLATORS: Binder Memory Exhausted +"printer-state-reasons.binder-memory-exhausted" = "Binder Memory Exhausted"; +// TRANSLATORS: Binder Missing +"printer-state-reasons.binder-missing" = "Binder Missing"; +// TRANSLATORS: Binder Motor Failure +"printer-state-reasons.binder-motor-failure" = "Binder Motor Failure"; +// TRANSLATORS: Binder Near Limit +"printer-state-reasons.binder-near-limit" = "Binder Near Limit"; +// TRANSLATORS: Binder Offline +"printer-state-reasons.binder-offline" = "Binder Offline"; +// TRANSLATORS: Binder Opened +"printer-state-reasons.binder-opened" = "Binder Opened"; +// TRANSLATORS: Binder Over Temperature +"printer-state-reasons.binder-over-temperature" = "Binder Over Temperature"; +// TRANSLATORS: Binder Power Saver +"printer-state-reasons.binder-power-saver" = "Binder Power Saver"; +// TRANSLATORS: Binder Recoverable Failure +"printer-state-reasons.binder-recoverable-failure" = "Binder Recoverable Failure"; +// TRANSLATORS: Binder Recoverable Storage +"printer-state-reasons.binder-recoverable-storage" = "Binder Recoverable Storage"; +// TRANSLATORS: Binder Removed +"printer-state-reasons.binder-removed" = "Binder Removed"; +// TRANSLATORS: Binder Resource Added +"printer-state-reasons.binder-resource-added" = "Binder Resource Added"; +// TRANSLATORS: Binder Resource Removed +"printer-state-reasons.binder-resource-removed" = "Binder Resource Removed"; +// TRANSLATORS: Binder Thermistor Failure +"printer-state-reasons.binder-thermistor-failure" = "Binder Thermistor Failure"; +// TRANSLATORS: Binder Timing Failure +"printer-state-reasons.binder-timing-failure" = "Binder Timing Failure"; +// TRANSLATORS: Binder Turned Off +"printer-state-reasons.binder-turned-off" = "Binder Turned Off"; +// TRANSLATORS: Binder Turned On +"printer-state-reasons.binder-turned-on" = "Binder Turned On"; +// TRANSLATORS: Binder Under Temperature +"printer-state-reasons.binder-under-temperature" = "Binder Under Temperature"; +// TRANSLATORS: Binder Unrecoverable Failure +"printer-state-reasons.binder-unrecoverable-failure" = "Binder Unrecoverable Failure"; +// TRANSLATORS: Binder Unrecoverable Storage Error +"printer-state-reasons.binder-unrecoverable-storage-error" = "Binder Unrecoverable Storage Error"; +// TRANSLATORS: Binder Warming Up +"printer-state-reasons.binder-warming-up" = "Binder Warming Up"; +// TRANSLATORS: Camera Failure +"printer-state-reasons.camera-failure" = "Camera Failure"; +// TRANSLATORS: Chamber Cooling +"printer-state-reasons.chamber-cooling" = "Chamber Cooling"; +// TRANSLATORS: Chamber Failure +"printer-state-reasons.chamber-failure" = "Chamber Failure"; +// TRANSLATORS: Chamber Heating +"printer-state-reasons.chamber-heating" = "Chamber Heating"; +// TRANSLATORS: Chamber Temperature High +"printer-state-reasons.chamber-temperature-high" = "Chamber Temperature High"; +// TRANSLATORS: Chamber Temperature Low +"printer-state-reasons.chamber-temperature-low" = "Chamber Temperature Low"; +// TRANSLATORS: Cleaner Life Almost Over +"printer-state-reasons.cleaner-life-almost-over" = "Cleaner Life Almost Over"; +// TRANSLATORS: Cleaner Life Over +"printer-state-reasons.cleaner-life-over" = "Cleaner Life Over"; +// TRANSLATORS: Configuration Change +"printer-state-reasons.configuration-change" = "Configuration Change"; +// TRANSLATORS: Connecting To Device +"printer-state-reasons.connecting-to-device" = "Connecting To Device"; +// TRANSLATORS: Cover Open +"printer-state-reasons.cover-open" = "Cover Open"; +// TRANSLATORS: Deactivated +"printer-state-reasons.deactivated" = "Deactivated"; +// TRANSLATORS: Developer Empty +"printer-state-reasons.developer-empty" = "Developer Empty"; +// TRANSLATORS: Developer Low +"printer-state-reasons.developer-low" = "Developer Low"; +// TRANSLATORS: Die Cutter Added +"printer-state-reasons.die-cutter-added" = "Die Cutter Added"; +// TRANSLATORS: Die Cutter Almost Empty +"printer-state-reasons.die-cutter-almost-empty" = "Die Cutter Almost Empty"; +// TRANSLATORS: Die Cutter Almost Full +"printer-state-reasons.die-cutter-almost-full" = "Die Cutter Almost Full"; +// TRANSLATORS: Die Cutter At Limit +"printer-state-reasons.die-cutter-at-limit" = "Die Cutter At Limit"; +// TRANSLATORS: Die Cutter Closed +"printer-state-reasons.die-cutter-closed" = "Die Cutter Closed"; +// TRANSLATORS: Die Cutter Configuration Change +"printer-state-reasons.die-cutter-configuration-change" = "Die Cutter Configuration Change"; +// TRANSLATORS: Die Cutter Cover Closed +"printer-state-reasons.die-cutter-cover-closed" = "Die Cutter Cover Closed"; +// TRANSLATORS: Die Cutter Cover Open +"printer-state-reasons.die-cutter-cover-open" = "Die Cutter Cover Open"; +// TRANSLATORS: Die Cutter Empty +"printer-state-reasons.die-cutter-empty" = "Die Cutter Empty"; +// TRANSLATORS: Die Cutter Full +"printer-state-reasons.die-cutter-full" = "Die Cutter Full"; +// TRANSLATORS: Die Cutter Interlock Closed +"printer-state-reasons.die-cutter-interlock-closed" = "Die Cutter Interlock Closed"; +// TRANSLATORS: Die Cutter Interlock Open +"printer-state-reasons.die-cutter-interlock-open" = "Die Cutter Interlock Open"; +// TRANSLATORS: Die Cutter Jam +"printer-state-reasons.die-cutter-jam" = "Die Cutter Jam"; +// TRANSLATORS: Die Cutter Life Almost Over +"printer-state-reasons.die-cutter-life-almost-over" = "Die Cutter Life Almost Over"; +// TRANSLATORS: Die Cutter Life Over +"printer-state-reasons.die-cutter-life-over" = "Die Cutter Life Over"; +// TRANSLATORS: Die Cutter Memory Exhausted +"printer-state-reasons.die-cutter-memory-exhausted" = "Die Cutter Memory Exhausted"; +// TRANSLATORS: Die Cutter Missing +"printer-state-reasons.die-cutter-missing" = "Die Cutter Missing"; +// TRANSLATORS: Die Cutter Motor Failure +"printer-state-reasons.die-cutter-motor-failure" = "Die Cutter Motor Failure"; +// TRANSLATORS: Die Cutter Near Limit +"printer-state-reasons.die-cutter-near-limit" = "Die Cutter Near Limit"; +// TRANSLATORS: Die Cutter Offline +"printer-state-reasons.die-cutter-offline" = "Die Cutter Offline"; +// TRANSLATORS: Die Cutter Opened +"printer-state-reasons.die-cutter-opened" = "Die Cutter Opened"; +// TRANSLATORS: Die Cutter Over Temperature +"printer-state-reasons.die-cutter-over-temperature" = "Die Cutter Over Temperature"; +// TRANSLATORS: Die Cutter Power Saver +"printer-state-reasons.die-cutter-power-saver" = "Die Cutter Power Saver"; +// TRANSLATORS: Die Cutter Recoverable Failure +"printer-state-reasons.die-cutter-recoverable-failure" = "Die Cutter Recoverable Failure"; +// TRANSLATORS: Die Cutter Recoverable Storage +"printer-state-reasons.die-cutter-recoverable-storage" = "Die Cutter Recoverable Storage"; +// TRANSLATORS: Die Cutter Removed +"printer-state-reasons.die-cutter-removed" = "Die Cutter Removed"; +// TRANSLATORS: Die Cutter Resource Added +"printer-state-reasons.die-cutter-resource-added" = "Die Cutter Resource Added"; +// TRANSLATORS: Die Cutter Resource Removed +"printer-state-reasons.die-cutter-resource-removed" = "Die Cutter Resource Removed"; +// TRANSLATORS: Die Cutter Thermistor Failure +"printer-state-reasons.die-cutter-thermistor-failure" = "Die Cutter Thermistor Failure"; +// TRANSLATORS: Die Cutter Timing Failure +"printer-state-reasons.die-cutter-timing-failure" = "Die Cutter Timing Failure"; +// TRANSLATORS: Die Cutter Turned Off +"printer-state-reasons.die-cutter-turned-off" = "Die Cutter Turned Off"; +// TRANSLATORS: Die Cutter Turned On +"printer-state-reasons.die-cutter-turned-on" = "Die Cutter Turned On"; +// TRANSLATORS: Die Cutter Under Temperature +"printer-state-reasons.die-cutter-under-temperature" = "Die Cutter Under Temperature"; +// TRANSLATORS: Die Cutter Unrecoverable Failure +"printer-state-reasons.die-cutter-unrecoverable-failure" = "Die Cutter Unrecoverable Failure"; +// TRANSLATORS: Die Cutter Unrecoverable Storage Error +"printer-state-reasons.die-cutter-unrecoverable-storage-error" = "Die Cutter Unrecoverable Storage Error"; +// TRANSLATORS: Die Cutter Warming Up +"printer-state-reasons.die-cutter-warming-up" = "Die Cutter Warming Up"; +// TRANSLATORS: Door Open +"printer-state-reasons.door-open" = "Door Open"; +// TRANSLATORS: Extruder Cooling +"printer-state-reasons.extruder-cooling" = "Extruder Cooling"; +// TRANSLATORS: Extruder Failure +"printer-state-reasons.extruder-failure" = "Extruder Failure"; +// TRANSLATORS: Extruder Heating +"printer-state-reasons.extruder-heating" = "Extruder Heating"; +// TRANSLATORS: Extruder Jam +"printer-state-reasons.extruder-jam" = "Extruder Jam"; +// TRANSLATORS: Extruder Temperature High +"printer-state-reasons.extruder-temperature-high" = "Extruder Temperature High"; +// TRANSLATORS: Extruder Temperature Low +"printer-state-reasons.extruder-temperature-low" = "Extruder Temperature Low"; +// TRANSLATORS: Fan Failure +"printer-state-reasons.fan-failure" = "Fan Failure"; +// TRANSLATORS: Fax Modem Life Almost Over +"printer-state-reasons.fax-modem-life-almost-over" = "printer-state-reasons.fax-modem-life-almost-over"; +// TRANSLATORS: Fax Modem Life Over +"printer-state-reasons.fax-modem-life-over" = "printer-state-reasons.fax-modem-life-over"; +// TRANSLATORS: Fax Modem Missing +"printer-state-reasons.fax-modem-missing" = "printer-state-reasons.fax-modem-missing"; +// TRANSLATORS: Fax Modem Turned Off +"printer-state-reasons.fax-modem-turned-off" = "printer-state-reasons.fax-modem-turned-off"; +// TRANSLATORS: Fax Modem Turned On +"printer-state-reasons.fax-modem-turned-on" = "printer-state-reasons.fax-modem-turned-on"; +// TRANSLATORS: Folder Added +"printer-state-reasons.folder-added" = "Folder Added"; +// TRANSLATORS: Folder Almost Empty +"printer-state-reasons.folder-almost-empty" = "Folder Almost Empty"; +// TRANSLATORS: Folder Almost Full +"printer-state-reasons.folder-almost-full" = "Folder Almost Full"; +// TRANSLATORS: Folder At Limit +"printer-state-reasons.folder-at-limit" = "Folder At Limit"; +// TRANSLATORS: Folder Closed +"printer-state-reasons.folder-closed" = "Folder Closed"; +// TRANSLATORS: Folder Configuration Change +"printer-state-reasons.folder-configuration-change" = "Folder Configuration Change"; +// TRANSLATORS: Folder Cover Closed +"printer-state-reasons.folder-cover-closed" = "Folder Cover Closed"; +// TRANSLATORS: Folder Cover Open +"printer-state-reasons.folder-cover-open" = "Folder Cover Open"; +// TRANSLATORS: Folder Empty +"printer-state-reasons.folder-empty" = "Folder Empty"; +// TRANSLATORS: Folder Full +"printer-state-reasons.folder-full" = "Folder Full"; +// TRANSLATORS: Folder Interlock Closed +"printer-state-reasons.folder-interlock-closed" = "Folder Interlock Closed"; +// TRANSLATORS: Folder Interlock Open +"printer-state-reasons.folder-interlock-open" = "Folder Interlock Open"; +// TRANSLATORS: Folder Jam +"printer-state-reasons.folder-jam" = "Folder Jam"; +// TRANSLATORS: Folder Life Almost Over +"printer-state-reasons.folder-life-almost-over" = "Folder Life Almost Over"; +// TRANSLATORS: Folder Life Over +"printer-state-reasons.folder-life-over" = "Folder Life Over"; +// TRANSLATORS: Folder Memory Exhausted +"printer-state-reasons.folder-memory-exhausted" = "Folder Memory Exhausted"; +// TRANSLATORS: Folder Missing +"printer-state-reasons.folder-missing" = "Folder Missing"; +// TRANSLATORS: Folder Motor Failure +"printer-state-reasons.folder-motor-failure" = "Folder Motor Failure"; +// TRANSLATORS: Folder Near Limit +"printer-state-reasons.folder-near-limit" = "Folder Near Limit"; +// TRANSLATORS: Folder Offline +"printer-state-reasons.folder-offline" = "Folder Offline"; +// TRANSLATORS: Folder Opened +"printer-state-reasons.folder-opened" = "Folder Opened"; +// TRANSLATORS: Folder Over Temperature +"printer-state-reasons.folder-over-temperature" = "Folder Over Temperature"; +// TRANSLATORS: Folder Power Saver +"printer-state-reasons.folder-power-saver" = "Folder Power Saver"; +// TRANSLATORS: Folder Recoverable Failure +"printer-state-reasons.folder-recoverable-failure" = "Folder Recoverable Failure"; +// TRANSLATORS: Folder Recoverable Storage +"printer-state-reasons.folder-recoverable-storage" = "Folder Recoverable Storage"; +// TRANSLATORS: Folder Removed +"printer-state-reasons.folder-removed" = "Folder Removed"; +// TRANSLATORS: Folder Resource Added +"printer-state-reasons.folder-resource-added" = "Folder Resource Added"; +// TRANSLATORS: Folder Resource Removed +"printer-state-reasons.folder-resource-removed" = "Folder Resource Removed"; +// TRANSLATORS: Folder Thermistor Failure +"printer-state-reasons.folder-thermistor-failure" = "Folder Thermistor Failure"; +// TRANSLATORS: Folder Timing Failure +"printer-state-reasons.folder-timing-failure" = "Folder Timing Failure"; +// TRANSLATORS: Folder Turned Off +"printer-state-reasons.folder-turned-off" = "Folder Turned Off"; +// TRANSLATORS: Folder Turned On +"printer-state-reasons.folder-turned-on" = "Folder Turned On"; +// TRANSLATORS: Folder Under Temperature +"printer-state-reasons.folder-under-temperature" = "Folder Under Temperature"; +// TRANSLATORS: Folder Unrecoverable Failure +"printer-state-reasons.folder-unrecoverable-failure" = "Folder Unrecoverable Failure"; +// TRANSLATORS: Folder Unrecoverable Storage Error +"printer-state-reasons.folder-unrecoverable-storage-error" = "Folder Unrecoverable Storage Error"; +// TRANSLATORS: Folder Warming Up +"printer-state-reasons.folder-warming-up" = "Folder Warming Up"; +// TRANSLATORS: Fuser temperature high +"printer-state-reasons.fuser-over-temp" = "Fuser Over Temp"; +// TRANSLATORS: Fuser temperature low +"printer-state-reasons.fuser-under-temp" = "Fuser Under Temp"; +// TRANSLATORS: Hold New Jobs +"printer-state-reasons.hold-new-jobs" = "Hold New Jobs"; +// TRANSLATORS: Identify Printer +"printer-state-reasons.identify-printer-requested" = "Identify Printer"; +// TRANSLATORS: Imprinter Added +"printer-state-reasons.imprinter-added" = "Imprinter Added"; +// TRANSLATORS: Imprinter Almost Empty +"printer-state-reasons.imprinter-almost-empty" = "Imprinter Almost Empty"; +// TRANSLATORS: Imprinter Almost Full +"printer-state-reasons.imprinter-almost-full" = "Imprinter Almost Full"; +// TRANSLATORS: Imprinter At Limit +"printer-state-reasons.imprinter-at-limit" = "Imprinter At Limit"; +// TRANSLATORS: Imprinter Closed +"printer-state-reasons.imprinter-closed" = "Imprinter Closed"; +// TRANSLATORS: Imprinter Configuration Change +"printer-state-reasons.imprinter-configuration-change" = "Imprinter Configuration Change"; +// TRANSLATORS: Imprinter Cover Closed +"printer-state-reasons.imprinter-cover-closed" = "Imprinter Cover Closed"; +// TRANSLATORS: Imprinter Cover Open +"printer-state-reasons.imprinter-cover-open" = "Imprinter Cover Open"; +// TRANSLATORS: Imprinter Empty +"printer-state-reasons.imprinter-empty" = "Imprinter Empty"; +// TRANSLATORS: Imprinter Full +"printer-state-reasons.imprinter-full" = "Imprinter Full"; +// TRANSLATORS: Imprinter Interlock Closed +"printer-state-reasons.imprinter-interlock-closed" = "Imprinter Interlock Closed"; +// TRANSLATORS: Imprinter Interlock Open +"printer-state-reasons.imprinter-interlock-open" = "Imprinter Interlock Open"; +// TRANSLATORS: Imprinter Jam +"printer-state-reasons.imprinter-jam" = "Imprinter Jam"; +// TRANSLATORS: Imprinter Life Almost Over +"printer-state-reasons.imprinter-life-almost-over" = "Imprinter Life Almost Over"; +// TRANSLATORS: Imprinter Life Over +"printer-state-reasons.imprinter-life-over" = "Imprinter Life Over"; +// TRANSLATORS: Imprinter Memory Exhausted +"printer-state-reasons.imprinter-memory-exhausted" = "Imprinter Memory Exhausted"; +// TRANSLATORS: Imprinter Missing +"printer-state-reasons.imprinter-missing" = "Imprinter Missing"; +// TRANSLATORS: Imprinter Motor Failure +"printer-state-reasons.imprinter-motor-failure" = "Imprinter Motor Failure"; +// TRANSLATORS: Imprinter Near Limit +"printer-state-reasons.imprinter-near-limit" = "Imprinter Near Limit"; +// TRANSLATORS: Imprinter Offline +"printer-state-reasons.imprinter-offline" = "Imprinter Offline"; +// TRANSLATORS: Imprinter Opened +"printer-state-reasons.imprinter-opened" = "Imprinter Opened"; +// TRANSLATORS: Imprinter Over Temperature +"printer-state-reasons.imprinter-over-temperature" = "Imprinter Over Temperature"; +// TRANSLATORS: Imprinter Power Saver +"printer-state-reasons.imprinter-power-saver" = "Imprinter Power Saver"; +// TRANSLATORS: Imprinter Recoverable Failure +"printer-state-reasons.imprinter-recoverable-failure" = "Imprinter Recoverable Failure"; +// TRANSLATORS: Imprinter Recoverable Storage +"printer-state-reasons.imprinter-recoverable-storage" = "Imprinter Recoverable Storage"; +// TRANSLATORS: Imprinter Removed +"printer-state-reasons.imprinter-removed" = "Imprinter Removed"; +// TRANSLATORS: Imprinter Resource Added +"printer-state-reasons.imprinter-resource-added" = "Imprinter Resource Added"; +// TRANSLATORS: Imprinter Resource Removed +"printer-state-reasons.imprinter-resource-removed" = "Imprinter Resource Removed"; +// TRANSLATORS: Imprinter Thermistor Failure +"printer-state-reasons.imprinter-thermistor-failure" = "Imprinter Thermistor Failure"; +// TRANSLATORS: Imprinter Timing Failure +"printer-state-reasons.imprinter-timing-failure" = "Imprinter Timing Failure"; +// TRANSLATORS: Imprinter Turned Off +"printer-state-reasons.imprinter-turned-off" = "Imprinter Turned Off"; +// TRANSLATORS: Imprinter Turned On +"printer-state-reasons.imprinter-turned-on" = "Imprinter Turned On"; +// TRANSLATORS: Imprinter Under Temperature +"printer-state-reasons.imprinter-under-temperature" = "Imprinter Under Temperature"; +// TRANSLATORS: Imprinter Unrecoverable Failure +"printer-state-reasons.imprinter-unrecoverable-failure" = "Imprinter Unrecoverable Failure"; +// TRANSLATORS: Imprinter Unrecoverable Storage Error +"printer-state-reasons.imprinter-unrecoverable-storage-error" = "Imprinter Unrecoverable Storage Error"; +// TRANSLATORS: Imprinter Warming Up +"printer-state-reasons.imprinter-warming-up" = "Imprinter Warming Up"; +// TRANSLATORS: Input Cannot Feed Size Selected +"printer-state-reasons.input-cannot-feed-size-selected" = "Input Cannot Feed Size Selected"; +// TRANSLATORS: Input Manual Input Request +"printer-state-reasons.input-manual-input-request" = "Input Manual Input Request"; +// TRANSLATORS: Input Media Color Change +"printer-state-reasons.input-media-color-change" = "Input Media Color Change"; +// TRANSLATORS: Input Media Form Parts Change +"printer-state-reasons.input-media-form-parts-change" = "Input Media Form Parts Change"; +// TRANSLATORS: Input Media Size Change +"printer-state-reasons.input-media-size-change" = "Input Media Size Change"; +// TRANSLATORS: Input Media Tray Failure +"printer-state-reasons.input-media-tray-failure" = "printer-state-reasons.input-media-tray-failure"; +// TRANSLATORS: Input Media Tray Feed Error +"printer-state-reasons.input-media-tray-feed-error" = "printer-state-reasons.input-media-tray-feed-error"; +// TRANSLATORS: Input Media Tray Jam +"printer-state-reasons.input-media-tray-jam" = "printer-state-reasons.input-media-tray-jam"; +// TRANSLATORS: Input Media Type Change +"printer-state-reasons.input-media-type-change" = "Input Media Type Change"; +// TRANSLATORS: Input Media Weight Change +"printer-state-reasons.input-media-weight-change" = "Input Media Weight Change"; +// TRANSLATORS: Input Pick Roller Failure +"printer-state-reasons.input-pick-roller-failure" = "printer-state-reasons.input-pick-roller-failure"; +// TRANSLATORS: Input Pick Roller Life Over +"printer-state-reasons.input-pick-roller-life-over" = "printer-state-reasons.input-pick-roller-life-over"; +// TRANSLATORS: Input Pick Roller Life Warn +"printer-state-reasons.input-pick-roller-life-warn" = "printer-state-reasons.input-pick-roller-life-warn"; +// TRANSLATORS: Input Pick Roller Missing +"printer-state-reasons.input-pick-roller-missing" = "printer-state-reasons.input-pick-roller-missing"; +// TRANSLATORS: Input Tray Elevation Failure +"printer-state-reasons.input-tray-elevation-failure" = "Input Tray Elevation Failure"; +// TRANSLATORS: Paper tray is missing +"printer-state-reasons.input-tray-missing" = "Input Tray Missing"; +// TRANSLATORS: Input Tray Position Failure +"printer-state-reasons.input-tray-position-failure" = "Input Tray Position Failure"; +// TRANSLATORS: Inserter Added +"printer-state-reasons.inserter-added" = "Inserter Added"; +// TRANSLATORS: Inserter Almost Empty +"printer-state-reasons.inserter-almost-empty" = "Inserter Almost Empty"; +// TRANSLATORS: Inserter Almost Full +"printer-state-reasons.inserter-almost-full" = "Inserter Almost Full"; +// TRANSLATORS: Inserter At Limit +"printer-state-reasons.inserter-at-limit" = "Inserter At Limit"; +// TRANSLATORS: Inserter Closed +"printer-state-reasons.inserter-closed" = "Inserter Closed"; +// TRANSLATORS: Inserter Configuration Change +"printer-state-reasons.inserter-configuration-change" = "Inserter Configuration Change"; +// TRANSLATORS: Inserter Cover Closed +"printer-state-reasons.inserter-cover-closed" = "Inserter Cover Closed"; +// TRANSLATORS: Inserter Cover Open +"printer-state-reasons.inserter-cover-open" = "Inserter Cover Open"; +// TRANSLATORS: Inserter Empty +"printer-state-reasons.inserter-empty" = "Inserter Empty"; +// TRANSLATORS: Inserter Full +"printer-state-reasons.inserter-full" = "Inserter Full"; +// TRANSLATORS: Inserter Interlock Closed +"printer-state-reasons.inserter-interlock-closed" = "Inserter Interlock Closed"; +// TRANSLATORS: Inserter Interlock Open +"printer-state-reasons.inserter-interlock-open" = "Inserter Interlock Open"; +// TRANSLATORS: Inserter Jam +"printer-state-reasons.inserter-jam" = "Inserter Jam"; +// TRANSLATORS: Inserter Life Almost Over +"printer-state-reasons.inserter-life-almost-over" = "Inserter Life Almost Over"; +// TRANSLATORS: Inserter Life Over +"printer-state-reasons.inserter-life-over" = "Inserter Life Over"; +// TRANSLATORS: Inserter Memory Exhausted +"printer-state-reasons.inserter-memory-exhausted" = "Inserter Memory Exhausted"; +// TRANSLATORS: Inserter Missing +"printer-state-reasons.inserter-missing" = "Inserter Missing"; +// TRANSLATORS: Inserter Motor Failure +"printer-state-reasons.inserter-motor-failure" = "Inserter Motor Failure"; +// TRANSLATORS: Inserter Near Limit +"printer-state-reasons.inserter-near-limit" = "Inserter Near Limit"; +// TRANSLATORS: Inserter Offline +"printer-state-reasons.inserter-offline" = "Inserter Offline"; +// TRANSLATORS: Inserter Opened +"printer-state-reasons.inserter-opened" = "Inserter Opened"; +// TRANSLATORS: Inserter Over Temperature +"printer-state-reasons.inserter-over-temperature" = "Inserter Over Temperature"; +// TRANSLATORS: Inserter Power Saver +"printer-state-reasons.inserter-power-saver" = "Inserter Power Saver"; +// TRANSLATORS: Inserter Recoverable Failure +"printer-state-reasons.inserter-recoverable-failure" = "Inserter Recoverable Failure"; +// TRANSLATORS: Inserter Recoverable Storage +"printer-state-reasons.inserter-recoverable-storage" = "Inserter Recoverable Storage"; +// TRANSLATORS: Inserter Removed +"printer-state-reasons.inserter-removed" = "Inserter Removed"; +// TRANSLATORS: Inserter Resource Added +"printer-state-reasons.inserter-resource-added" = "Inserter Resource Added"; +// TRANSLATORS: Inserter Resource Removed +"printer-state-reasons.inserter-resource-removed" = "Inserter Resource Removed"; +// TRANSLATORS: Inserter Thermistor Failure +"printer-state-reasons.inserter-thermistor-failure" = "Inserter Thermistor Failure"; +// TRANSLATORS: Inserter Timing Failure +"printer-state-reasons.inserter-timing-failure" = "Inserter Timing Failure"; +// TRANSLATORS: Inserter Turned Off +"printer-state-reasons.inserter-turned-off" = "Inserter Turned Off"; +// TRANSLATORS: Inserter Turned On +"printer-state-reasons.inserter-turned-on" = "Inserter Turned On"; +// TRANSLATORS: Inserter Under Temperature +"printer-state-reasons.inserter-under-temperature" = "Inserter Under Temperature"; +// TRANSLATORS: Inserter Unrecoverable Failure +"printer-state-reasons.inserter-unrecoverable-failure" = "Inserter Unrecoverable Failure"; +// TRANSLATORS: Inserter Unrecoverable Storage Error +"printer-state-reasons.inserter-unrecoverable-storage-error" = "Inserter Unrecoverable Storage Error"; +// TRANSLATORS: Inserter Warming Up +"printer-state-reasons.inserter-warming-up" = "Inserter Warming Up"; +// TRANSLATORS: Interlock Closed +"printer-state-reasons.interlock-closed" = "Interlock Closed"; +// TRANSLATORS: Interlock Open +"printer-state-reasons.interlock-open" = "Interlock Open"; +// TRANSLATORS: Interpreter Cartridge Added +"printer-state-reasons.interpreter-cartridge-added" = "Interpreter Cartridge Added"; +// TRANSLATORS: Interpreter Cartridge Removed +"printer-state-reasons.interpreter-cartridge-deleted" = "Interpreter Cartridge Removed"; +// TRANSLATORS: Interpreter Complex Page Encountered +"printer-state-reasons.interpreter-complex-page-encountered" = "Interpreter Complex Page Encountered"; +// TRANSLATORS: Interpreter Memory Decrease +"printer-state-reasons.interpreter-memory-decrease" = "Interpreter Memory Decrease"; +// TRANSLATORS: Interpreter Memory Increase +"printer-state-reasons.interpreter-memory-increase" = "Interpreter Memory Increase"; +// TRANSLATORS: Interpreter Resource Added +"printer-state-reasons.interpreter-resource-added" = "Interpreter Resource Added"; +// TRANSLATORS: Interpreter Resource Deleted +"printer-state-reasons.interpreter-resource-deleted" = "Interpreter Resource Deleted"; +// TRANSLATORS: Printer resource unavailable +"printer-state-reasons.interpreter-resource-unavailable" = "Interpreter Resource Unavailable"; +// TRANSLATORS: Lamp At End of Life +"printer-state-reasons.lamp-at-eol" = "Lamp At End of Life"; +// TRANSLATORS: Lamp Failure +"printer-state-reasons.lamp-failure" = "Lamp Failure"; +// TRANSLATORS: Lamp Near End of Life +"printer-state-reasons.lamp-near-eol" = "Lamp Near End of Life"; +// TRANSLATORS: Laser At End of Life +"printer-state-reasons.laser-at-eol" = "Laser At End of Life"; +// TRANSLATORS: Laser Failure +"printer-state-reasons.laser-failure" = "Laser Failure"; +// TRANSLATORS: Laser Near End of Life +"printer-state-reasons.laser-near-eol" = "Laser Near End of Life"; +// TRANSLATORS: Envelope Maker Added +"printer-state-reasons.make-envelope-added" = "Envelope Maker Added"; +// TRANSLATORS: Envelope Maker Almost Empty +"printer-state-reasons.make-envelope-almost-empty" = "Envelope Maker Almost Empty"; +// TRANSLATORS: Envelope Maker Almost Full +"printer-state-reasons.make-envelope-almost-full" = "Envelope Maker Almost Full"; +// TRANSLATORS: Envelope Maker At Limit +"printer-state-reasons.make-envelope-at-limit" = "Envelope Maker At Limit"; +// TRANSLATORS: Envelope Maker Closed +"printer-state-reasons.make-envelope-closed" = "Envelope Maker Closed"; +// TRANSLATORS: Envelope Maker Configuration Change +"printer-state-reasons.make-envelope-configuration-change" = "Envelope Maker Configuration Change"; +// TRANSLATORS: Envelope Maker Cover Closed +"printer-state-reasons.make-envelope-cover-closed" = "Envelope Maker Cover Closed"; +// TRANSLATORS: Envelope Maker Cover Open +"printer-state-reasons.make-envelope-cover-open" = "Envelope Maker Cover Open"; +// TRANSLATORS: Envelope Maker Empty +"printer-state-reasons.make-envelope-empty" = "Envelope Maker Empty"; +// TRANSLATORS: Envelope Maker Full +"printer-state-reasons.make-envelope-full" = "Envelope Maker Full"; +// TRANSLATORS: Envelope Maker Interlock Closed +"printer-state-reasons.make-envelope-interlock-closed" = "Envelope Maker Interlock Closed"; +// TRANSLATORS: Envelope Maker Interlock Open +"printer-state-reasons.make-envelope-interlock-open" = "Envelope Maker Interlock Open"; +// TRANSLATORS: Envelope Maker Jam +"printer-state-reasons.make-envelope-jam" = "Envelope Maker Jam"; +// TRANSLATORS: Envelope Maker Life Almost Over +"printer-state-reasons.make-envelope-life-almost-over" = "Envelope Maker Life Almost Over"; +// TRANSLATORS: Envelope Maker Life Over +"printer-state-reasons.make-envelope-life-over" = "Envelope Maker Life Over"; +// TRANSLATORS: Envelope Maker Memory Exhausted +"printer-state-reasons.make-envelope-memory-exhausted" = "Envelope Maker Memory Exhausted"; +// TRANSLATORS: Envelope Maker Missing +"printer-state-reasons.make-envelope-missing" = "Envelope Maker Missing"; +// TRANSLATORS: Envelope Maker Motor Failure +"printer-state-reasons.make-envelope-motor-failure" = "Envelope Maker Motor Failure"; +// TRANSLATORS: Envelope Maker Near Limit +"printer-state-reasons.make-envelope-near-limit" = "Envelope Maker Near Limit"; +// TRANSLATORS: Envelope Maker Offline +"printer-state-reasons.make-envelope-offline" = "Envelope Maker Offline"; +// TRANSLATORS: Envelope Maker Opened +"printer-state-reasons.make-envelope-opened" = "Envelope Maker Opened"; +// TRANSLATORS: Envelope Maker Over Temperature +"printer-state-reasons.make-envelope-over-temperature" = "Envelope Maker Over Temperature"; +// TRANSLATORS: Envelope Maker Power Saver +"printer-state-reasons.make-envelope-power-saver" = "Envelope Maker Power Saver"; +// TRANSLATORS: Envelope Maker Recoverable Failure +"printer-state-reasons.make-envelope-recoverable-failure" = "Envelope Maker Recoverable Failure"; +// TRANSLATORS: Envelope Maker Recoverable Storage +"printer-state-reasons.make-envelope-recoverable-storage" = "Envelope Maker Recoverable Storage"; +// TRANSLATORS: Envelope Maker Removed +"printer-state-reasons.make-envelope-removed" = "Envelope Maker Removed"; +// TRANSLATORS: Envelope Maker Resource Added +"printer-state-reasons.make-envelope-resource-added" = "Envelope Maker Resource Added"; +// TRANSLATORS: Envelope Maker Resource Removed +"printer-state-reasons.make-envelope-resource-removed" = "Envelope Maker Resource Removed"; +// TRANSLATORS: Envelope Maker Thermistor Failure +"printer-state-reasons.make-envelope-thermistor-failure" = "Envelope Maker Thermistor Failure"; +// TRANSLATORS: Envelope Maker Timing Failure +"printer-state-reasons.make-envelope-timing-failure" = "Envelope Maker Timing Failure"; +// TRANSLATORS: Envelope Maker Turned Off +"printer-state-reasons.make-envelope-turned-off" = "Envelope Maker Turned Off"; +// TRANSLATORS: Envelope Maker Turned On +"printer-state-reasons.make-envelope-turned-on" = "Envelope Maker Turned On"; +// TRANSLATORS: Envelope Maker Under Temperature +"printer-state-reasons.make-envelope-under-temperature" = "Envelope Maker Under Temperature"; +// TRANSLATORS: Envelope Maker Unrecoverable Failure +"printer-state-reasons.make-envelope-unrecoverable-failure" = "Envelope Maker Unrecoverable Failure"; +// TRANSLATORS: Envelope Maker Unrecoverable Storage Error +"printer-state-reasons.make-envelope-unrecoverable-storage-error" = "Envelope Maker Unrecoverable Storage Error"; +// TRANSLATORS: Envelope Maker Warming Up +"printer-state-reasons.make-envelope-warming-up" = "Envelope Maker Warming Up"; +// TRANSLATORS: Marker Adjusting Print Quality +"printer-state-reasons.marker-adjusting-print-quality" = "Marker Adjusting Print Quality"; +// TRANSLATORS: Marker Cleaner Missing +"printer-state-reasons.marker-cleaner-missing" = "printer-state-reasons.marker-cleaner-missing"; +// TRANSLATORS: Marker Developer Almost Empty +"printer-state-reasons.marker-developer-almost-empty" = "Marker Developer Almost Empty"; +// TRANSLATORS: Marker Developer Empty +"printer-state-reasons.marker-developer-empty" = "Marker Developer Empty"; +// TRANSLATORS: Marker Developer Missing +"printer-state-reasons.marker-developer-missing" = "printer-state-reasons.marker-developer-missing"; +// TRANSLATORS: Marker Fuser Missing +"printer-state-reasons.marker-fuser-missing" = "printer-state-reasons.marker-fuser-missing"; +// TRANSLATORS: Marker Fuser Thermistor Failure +"printer-state-reasons.marker-fuser-thermistor-failure" = "Marker Fuser Thermistor Failure"; +// TRANSLATORS: Marker Fuser Timing Failure +"printer-state-reasons.marker-fuser-timing-failure" = "Marker Fuser Timing Failure"; +// TRANSLATORS: Marker Ink Almost Empty +"printer-state-reasons.marker-ink-almost-empty" = "Marker Ink Almost Empty"; +// TRANSLATORS: Marker Ink Empty +"printer-state-reasons.marker-ink-empty" = "Marker Ink Empty"; +// TRANSLATORS: Marker Ink Missing +"printer-state-reasons.marker-ink-missing" = "printer-state-reasons.marker-ink-missing"; +// TRANSLATORS: Marker Opc Missing +"printer-state-reasons.marker-opc-missing" = "printer-state-reasons.marker-opc-missing"; +// TRANSLATORS: Marker Print Ribbon Almost Empty +"printer-state-reasons.marker-print-ribbon-almost-empty" = "Marker Print Ribbon Almost Empty"; +// TRANSLATORS: Marker Print Ribbon Empty +"printer-state-reasons.marker-print-ribbon-empty" = "Marker Print Ribbon Empty"; +// TRANSLATORS: Marker Print Ribbon Missing +"printer-state-reasons.marker-print-ribbon-missing" = "printer-state-reasons.marker-print-ribbon-missing"; +// TRANSLATORS: Marker Supply Almost Empty +"printer-state-reasons.marker-supply-almost-empty" = "printer-state-reasons.marker-supply-almost-empty"; +// TRANSLATORS: Ink/toner empty +"printer-state-reasons.marker-supply-empty" = "Marker Supply Empty"; +// TRANSLATORS: Ink/toner low +"printer-state-reasons.marker-supply-low" = "Marker Supply Low"; +// TRANSLATORS: Marker Supply Missing +"printer-state-reasons.marker-supply-missing" = "printer-state-reasons.marker-supply-missing"; +// TRANSLATORS: Marker Toner Cartridge Missing +"printer-state-reasons.marker-toner-cartridge-missing" = "Marker Toner Cartridge Missing"; +// TRANSLATORS: Marker Toner Missing +"printer-state-reasons.marker-toner-missing" = "printer-state-reasons.marker-toner-missing"; +// TRANSLATORS: Ink/toner waste bin almost full +"printer-state-reasons.marker-waste-almost-full" = "Marker Waste Almost Full"; +// TRANSLATORS: Ink/toner waste bin full +"printer-state-reasons.marker-waste-full" = "Marker Waste Full"; +// TRANSLATORS: Marker Waste Ink Receptacle Almost Full +"printer-state-reasons.marker-waste-ink-receptacle-almost-full" = "Marker Waste Ink Receptacle Almost Full"; +// TRANSLATORS: Marker Waste Ink Receptacle Full +"printer-state-reasons.marker-waste-ink-receptacle-full" = "Marker Waste Ink Receptacle Full"; +// TRANSLATORS: Marker Waste Ink Receptacle Missing +"printer-state-reasons.marker-waste-ink-receptacle-missing" = "printer-state-reasons.marker-waste-ink-receptacle-missing"; +// TRANSLATORS: Marker Waste Missing +"printer-state-reasons.marker-waste-missing" = "printer-state-reasons.marker-waste-missing"; +// TRANSLATORS: Marker Waste Toner Receptacle Almost Full +"printer-state-reasons.marker-waste-toner-receptacle-almost-full" = "Marker Waste Toner Receptacle Almost Full"; +// TRANSLATORS: Marker Waste Toner Receptacle Full +"printer-state-reasons.marker-waste-toner-receptacle-full" = "Marker Waste Toner Receptacle Full"; +// TRANSLATORS: Marker Waste Toner Receptacle Missing +"printer-state-reasons.marker-waste-toner-receptacle-missing" = "printer-state-reasons.marker-waste-toner-receptacle-missing"; +// TRANSLATORS: Material Empty +"printer-state-reasons.material-empty" = "Material Empty"; +// TRANSLATORS: Material Low +"printer-state-reasons.material-low" = "Material Low"; +// TRANSLATORS: Material Needed +"printer-state-reasons.material-needed" = "Material Needed"; +// TRANSLATORS: Media Drying +"printer-state-reasons.media-drying" = "Media Drying"; +// TRANSLATORS: Paper tray is empty +"printer-state-reasons.media-empty" = "Media Empty"; +// TRANSLATORS: Paper jam +"printer-state-reasons.media-jam" = "Media Jam"; +// TRANSLATORS: Paper tray is almost empty +"printer-state-reasons.media-low" = "Paper tray is almost empty"; +// TRANSLATORS: Load paper +"printer-state-reasons.media-needed" = "Load paper"; +// TRANSLATORS: Media Path Cannot Do 2-Sided Printing +"printer-state-reasons.media-path-cannot-duplex-media-selected" = "Media Path Cannot Do 2-Sided Printing"; +// TRANSLATORS: Media Path Failure +"printer-state-reasons.media-path-failure" = "Media Path Failure"; +// TRANSLATORS: Media Path Input Empty +"printer-state-reasons.media-path-input-empty" = "Media Path Input Empty"; +// TRANSLATORS: Media Path Input Feed Error +"printer-state-reasons.media-path-input-feed-error" = "Media Path Input Feed Error"; +// TRANSLATORS: Media Path Input Jam +"printer-state-reasons.media-path-input-jam" = "Media Path Input Jam"; +// TRANSLATORS: Media Path Input Request +"printer-state-reasons.media-path-input-request" = "Media Path Input Request"; +// TRANSLATORS: Media Path Jam +"printer-state-reasons.media-path-jam" = "Media Path Jam"; +// TRANSLATORS: Media Path Media Tray Almost Full +"printer-state-reasons.media-path-media-tray-almost-full" = "Media Path Media Tray Almost Full"; +// TRANSLATORS: Media Path Media Tray Full +"printer-state-reasons.media-path-media-tray-full" = "Media Path Media Tray Full"; +// TRANSLATORS: Media Path Media Tray Missing +"printer-state-reasons.media-path-media-tray-missing" = "Media Path Media Tray Missing"; +// TRANSLATORS: Media Path Output Feed Error +"printer-state-reasons.media-path-output-feed-error" = "Media Path Output Feed Error"; +// TRANSLATORS: Media Path Output Full +"printer-state-reasons.media-path-output-full" = "Media Path Output Full"; +// TRANSLATORS: Media Path Output Jam +"printer-state-reasons.media-path-output-jam" = "Media Path Output Jam"; +// TRANSLATORS: Media Path Pick Roller Failure +"printer-state-reasons.media-path-pick-roller-failure" = "Media Path Pick Roller Failure"; +// TRANSLATORS: Media Path Pick Roller Life Over +"printer-state-reasons.media-path-pick-roller-life-over" = "Media Path Pick Roller Life Over"; +// TRANSLATORS: Media Path Pick Roller Life Warn +"printer-state-reasons.media-path-pick-roller-life-warn" = "Media Path Pick Roller Life Warn"; +// TRANSLATORS: Media Path Pick Roller Missing +"printer-state-reasons.media-path-pick-roller-missing" = "Media Path Pick Roller Missing"; +// TRANSLATORS: Motor Failure +"printer-state-reasons.motor-failure" = "Motor Failure"; +// TRANSLATORS: Printer going offline +"printer-state-reasons.moving-to-paused" = "Moving To Paused"; +// TRANSLATORS: None +"printer-state-reasons.none" = "None"; +// TRANSLATORS: Optical Photoconductor Life Over +"printer-state-reasons.opc-life-over" = "Optical Photoconductor Life Over"; +// TRANSLATORS: OPC almost at end-of-life +"printer-state-reasons.opc-near-eol" = "Optical Photoconductor Near End-of-life"; +// TRANSLATORS: Check the printer for errors +"printer-state-reasons.other" = "Other"; +// TRANSLATORS: Output bin is almost full +"printer-state-reasons.output-area-almost-full" = "Output Area Almost Full"; +// TRANSLATORS: Output bin is full +"printer-state-reasons.output-area-full" = "Output Area Full"; +// TRANSLATORS: Output Mailbox Select Failure +"printer-state-reasons.output-mailbox-select-failure" = "Output Mailbox Select Failure"; +// TRANSLATORS: Output Media Tray Failure +"printer-state-reasons.output-media-tray-failure" = "Output Media Tray Failure"; +// TRANSLATORS: Output Media Tray Feed Error +"printer-state-reasons.output-media-tray-feed-error" = "Output Media Tray Feed Error"; +// TRANSLATORS: Output Media Tray Jam +"printer-state-reasons.output-media-tray-jam" = "Output Media Tray Jam"; +// TRANSLATORS: Output tray is missing +"printer-state-reasons.output-tray-missing" = "Output Tray Missing"; +// TRANSLATORS: Paused +"printer-state-reasons.paused" = "Paused"; +// TRANSLATORS: Perforater Added +"printer-state-reasons.perforater-added" = "Perforater Added"; +// TRANSLATORS: Perforater Almost Empty +"printer-state-reasons.perforater-almost-empty" = "Perforater Almost Empty"; +// TRANSLATORS: Perforater Almost Full +"printer-state-reasons.perforater-almost-full" = "Perforater Almost Full"; +// TRANSLATORS: Perforater At Limit +"printer-state-reasons.perforater-at-limit" = "Perforater At Limit"; +// TRANSLATORS: Perforater Closed +"printer-state-reasons.perforater-closed" = "Perforater Closed"; +// TRANSLATORS: Perforater Configuration Change +"printer-state-reasons.perforater-configuration-change" = "Perforater Configuration Change"; +// TRANSLATORS: Perforater Cover Closed +"printer-state-reasons.perforater-cover-closed" = "Perforater Cover Closed"; +// TRANSLATORS: Perforater Cover Open +"printer-state-reasons.perforater-cover-open" = "Perforater Cover Open"; +// TRANSLATORS: Perforater Empty +"printer-state-reasons.perforater-empty" = "Perforater Empty"; +// TRANSLATORS: Perforater Full +"printer-state-reasons.perforater-full" = "Perforater Full"; +// TRANSLATORS: Perforater Interlock Closed +"printer-state-reasons.perforater-interlock-closed" = "Perforater Interlock Closed"; +// TRANSLATORS: Perforater Interlock Open +"printer-state-reasons.perforater-interlock-open" = "Perforater Interlock Open"; +// TRANSLATORS: Perforater Jam +"printer-state-reasons.perforater-jam" = "Perforater Jam"; +// TRANSLATORS: Perforater Life Almost Over +"printer-state-reasons.perforater-life-almost-over" = "Perforater Life Almost Over"; +// TRANSLATORS: Perforater Life Over +"printer-state-reasons.perforater-life-over" = "Perforater Life Over"; +// TRANSLATORS: Perforater Memory Exhausted +"printer-state-reasons.perforater-memory-exhausted" = "Perforater Memory Exhausted"; +// TRANSLATORS: Perforater Missing +"printer-state-reasons.perforater-missing" = "Perforater Missing"; +// TRANSLATORS: Perforater Motor Failure +"printer-state-reasons.perforater-motor-failure" = "Perforater Motor Failure"; +// TRANSLATORS: Perforater Near Limit +"printer-state-reasons.perforater-near-limit" = "Perforater Near Limit"; +// TRANSLATORS: Perforater Offline +"printer-state-reasons.perforater-offline" = "Perforater Offline"; +// TRANSLATORS: Perforater Opened +"printer-state-reasons.perforater-opened" = "Perforater Opened"; +// TRANSLATORS: Perforater Over Temperature +"printer-state-reasons.perforater-over-temperature" = "Perforater Over Temperature"; +// TRANSLATORS: Perforater Power Saver +"printer-state-reasons.perforater-power-saver" = "Perforater Power Saver"; +// TRANSLATORS: Perforater Recoverable Failure +"printer-state-reasons.perforater-recoverable-failure" = "Perforater Recoverable Failure"; +// TRANSLATORS: Perforater Recoverable Storage +"printer-state-reasons.perforater-recoverable-storage" = "Perforater Recoverable Storage"; +// TRANSLATORS: Perforater Removed +"printer-state-reasons.perforater-removed" = "Perforater Removed"; +// TRANSLATORS: Perforater Resource Added +"printer-state-reasons.perforater-resource-added" = "Perforater Resource Added"; +// TRANSLATORS: Perforater Resource Removed +"printer-state-reasons.perforater-resource-removed" = "Perforater Resource Removed"; +// TRANSLATORS: Perforater Thermistor Failure +"printer-state-reasons.perforater-thermistor-failure" = "Perforater Thermistor Failure"; +// TRANSLATORS: Perforater Timing Failure +"printer-state-reasons.perforater-timing-failure" = "Perforater Timing Failure"; +// TRANSLATORS: Perforater Turned Off +"printer-state-reasons.perforater-turned-off" = "Perforater Turned Off"; +// TRANSLATORS: Perforater Turned On +"printer-state-reasons.perforater-turned-on" = "Perforater Turned On"; +// TRANSLATORS: Perforater Under Temperature +"printer-state-reasons.perforater-under-temperature" = "Perforater Under Temperature"; +// TRANSLATORS: Perforater Unrecoverable Failure +"printer-state-reasons.perforater-unrecoverable-failure" = "Perforater Unrecoverable Failure"; +// TRANSLATORS: Perforater Unrecoverable Storage Error +"printer-state-reasons.perforater-unrecoverable-storage-error" = "Perforater Unrecoverable Storage Error"; +// TRANSLATORS: Perforater Warming Up +"printer-state-reasons.perforater-warming-up" = "Perforater Warming Up"; +// TRANSLATORS: Platform Cooling +"printer-state-reasons.platform-cooling" = "Platform Cooling"; +// TRANSLATORS: Platform Failure +"printer-state-reasons.platform-failure" = "Platform Failure"; +// TRANSLATORS: Platform Heating +"printer-state-reasons.platform-heating" = "Platform Heating"; +// TRANSLATORS: Platform Temperature High +"printer-state-reasons.platform-temperature-high" = "Platform Temperature High"; +// TRANSLATORS: Platform Temperature Low +"printer-state-reasons.platform-temperature-low" = "Platform Temperature Low"; +// TRANSLATORS: Power Down +"printer-state-reasons.power-down" = "Power Down"; +// TRANSLATORS: Power Up +"printer-state-reasons.power-up" = "Power Up"; +// TRANSLATORS: Printer Reset Manually +"printer-state-reasons.printer-manual-reset" = "Printer Reset Manually"; +// TRANSLATORS: Printer Reset Remotely +"printer-state-reasons.printer-nms-reset" = "Printer Reset Remotely"; +// TRANSLATORS: Printer Ready To Print +"printer-state-reasons.printer-ready-to-print" = "Printer Ready To Print"; +// TRANSLATORS: Puncher Added +"printer-state-reasons.puncher-added" = "Puncher Added"; +// TRANSLATORS: Puncher Almost Empty +"printer-state-reasons.puncher-almost-empty" = "Puncher Almost Empty"; +// TRANSLATORS: Puncher Almost Full +"printer-state-reasons.puncher-almost-full" = "Puncher Almost Full"; +// TRANSLATORS: Puncher At Limit +"printer-state-reasons.puncher-at-limit" = "Puncher At Limit"; +// TRANSLATORS: Puncher Closed +"printer-state-reasons.puncher-closed" = "Puncher Closed"; +// TRANSLATORS: Puncher Configuration Change +"printer-state-reasons.puncher-configuration-change" = "Puncher Configuration Change"; +// TRANSLATORS: Puncher Cover Closed +"printer-state-reasons.puncher-cover-closed" = "Puncher Cover Closed"; +// TRANSLATORS: Puncher Cover Open +"printer-state-reasons.puncher-cover-open" = "Puncher Cover Open"; +// TRANSLATORS: Puncher Empty +"printer-state-reasons.puncher-empty" = "Puncher Empty"; +// TRANSLATORS: Puncher Full +"printer-state-reasons.puncher-full" = "Puncher Full"; +// TRANSLATORS: Puncher Interlock Closed +"printer-state-reasons.puncher-interlock-closed" = "Puncher Interlock Closed"; +// TRANSLATORS: Puncher Interlock Open +"printer-state-reasons.puncher-interlock-open" = "Puncher Interlock Open"; +// TRANSLATORS: Puncher Jam +"printer-state-reasons.puncher-jam" = "Puncher Jam"; +// TRANSLATORS: Puncher Life Almost Over +"printer-state-reasons.puncher-life-almost-over" = "Puncher Life Almost Over"; +// TRANSLATORS: Puncher Life Over +"printer-state-reasons.puncher-life-over" = "Puncher Life Over"; +// TRANSLATORS: Puncher Memory Exhausted +"printer-state-reasons.puncher-memory-exhausted" = "Puncher Memory Exhausted"; +// TRANSLATORS: Puncher Missing +"printer-state-reasons.puncher-missing" = "Puncher Missing"; +// TRANSLATORS: Puncher Motor Failure +"printer-state-reasons.puncher-motor-failure" = "Puncher Motor Failure"; +// TRANSLATORS: Puncher Near Limit +"printer-state-reasons.puncher-near-limit" = "Puncher Near Limit"; +// TRANSLATORS: Puncher Offline +"printer-state-reasons.puncher-offline" = "Puncher Offline"; +// TRANSLATORS: Puncher Opened +"printer-state-reasons.puncher-opened" = "Puncher Opened"; +// TRANSLATORS: Puncher Over Temperature +"printer-state-reasons.puncher-over-temperature" = "Puncher Over Temperature"; +// TRANSLATORS: Puncher Power Saver +"printer-state-reasons.puncher-power-saver" = "Puncher Power Saver"; +// TRANSLATORS: Puncher Recoverable Failure +"printer-state-reasons.puncher-recoverable-failure" = "Puncher Recoverable Failure"; +// TRANSLATORS: Puncher Recoverable Storage +"printer-state-reasons.puncher-recoverable-storage" = "Puncher Recoverable Storage"; +// TRANSLATORS: Puncher Removed +"printer-state-reasons.puncher-removed" = "Puncher Removed"; +// TRANSLATORS: Puncher Resource Added +"printer-state-reasons.puncher-resource-added" = "Puncher Resource Added"; +// TRANSLATORS: Puncher Resource Removed +"printer-state-reasons.puncher-resource-removed" = "Puncher Resource Removed"; +// TRANSLATORS: Puncher Thermistor Failure +"printer-state-reasons.puncher-thermistor-failure" = "Puncher Thermistor Failure"; +// TRANSLATORS: Puncher Timing Failure +"printer-state-reasons.puncher-timing-failure" = "Puncher Timing Failure"; +// TRANSLATORS: Puncher Turned Off +"printer-state-reasons.puncher-turned-off" = "Puncher Turned Off"; +// TRANSLATORS: Puncher Turned On +"printer-state-reasons.puncher-turned-on" = "Puncher Turned On"; +// TRANSLATORS: Puncher Under Temperature +"printer-state-reasons.puncher-under-temperature" = "Puncher Under Temperature"; +// TRANSLATORS: Puncher Unrecoverable Failure +"printer-state-reasons.puncher-unrecoverable-failure" = "Puncher Unrecoverable Failure"; +// TRANSLATORS: Puncher Unrecoverable Storage Error +"printer-state-reasons.puncher-unrecoverable-storage-error" = "Puncher Unrecoverable Storage Error"; +// TRANSLATORS: Puncher Warming Up +"printer-state-reasons.puncher-warming-up" = "Puncher Warming Up"; +// TRANSLATORS: Separation Cutter Added +"printer-state-reasons.separation-cutter-added" = "Separation Cutter Added"; +// TRANSLATORS: Separation Cutter Almost Empty +"printer-state-reasons.separation-cutter-almost-empty" = "Separation Cutter Almost Empty"; +// TRANSLATORS: Separation Cutter Almost Full +"printer-state-reasons.separation-cutter-almost-full" = "Separation Cutter Almost Full"; +// TRANSLATORS: Separation Cutter At Limit +"printer-state-reasons.separation-cutter-at-limit" = "Separation Cutter At Limit"; +// TRANSLATORS: Separation Cutter Closed +"printer-state-reasons.separation-cutter-closed" = "Separation Cutter Closed"; +// TRANSLATORS: Separation Cutter Configuration Change +"printer-state-reasons.separation-cutter-configuration-change" = "Separation Cutter Configuration Change"; +// TRANSLATORS: Separation Cutter Cover Closed +"printer-state-reasons.separation-cutter-cover-closed" = "Separation Cutter Cover Closed"; +// TRANSLATORS: Separation Cutter Cover Open +"printer-state-reasons.separation-cutter-cover-open" = "Separation Cutter Cover Open"; +// TRANSLATORS: Separation Cutter Empty +"printer-state-reasons.separation-cutter-empty" = "Separation Cutter Empty"; +// TRANSLATORS: Separation Cutter Full +"printer-state-reasons.separation-cutter-full" = "Separation Cutter Full"; +// TRANSLATORS: Separation Cutter Interlock Closed +"printer-state-reasons.separation-cutter-interlock-closed" = "Separation Cutter Interlock Closed"; +// TRANSLATORS: Separation Cutter Interlock Open +"printer-state-reasons.separation-cutter-interlock-open" = "Separation Cutter Interlock Open"; +// TRANSLATORS: Separation Cutter Jam +"printer-state-reasons.separation-cutter-jam" = "Separation Cutter Jam"; +// TRANSLATORS: Separation Cutter Life Almost Over +"printer-state-reasons.separation-cutter-life-almost-over" = "Separation Cutter Life Almost Over"; +// TRANSLATORS: Separation Cutter Life Over +"printer-state-reasons.separation-cutter-life-over" = "Separation Cutter Life Over"; +// TRANSLATORS: Separation Cutter Memory Exhausted +"printer-state-reasons.separation-cutter-memory-exhausted" = "Separation Cutter Memory Exhausted"; +// TRANSLATORS: Separation Cutter Missing +"printer-state-reasons.separation-cutter-missing" = "Separation Cutter Missing"; +// TRANSLATORS: Separation Cutter Motor Failure +"printer-state-reasons.separation-cutter-motor-failure" = "Separation Cutter Motor Failure"; +// TRANSLATORS: Separation Cutter Near Limit +"printer-state-reasons.separation-cutter-near-limit" = "Separation Cutter Near Limit"; +// TRANSLATORS: Separation Cutter Offline +"printer-state-reasons.separation-cutter-offline" = "Separation Cutter Offline"; +// TRANSLATORS: Separation Cutter Opened +"printer-state-reasons.separation-cutter-opened" = "Separation Cutter Opened"; +// TRANSLATORS: Separation Cutter Over Temperature +"printer-state-reasons.separation-cutter-over-temperature" = "Separation Cutter Over Temperature"; +// TRANSLATORS: Separation Cutter Power Saver +"printer-state-reasons.separation-cutter-power-saver" = "Separation Cutter Power Saver"; +// TRANSLATORS: Separation Cutter Recoverable Failure +"printer-state-reasons.separation-cutter-recoverable-failure" = "Separation Cutter Recoverable Failure"; +// TRANSLATORS: Separation Cutter Recoverable Storage +"printer-state-reasons.separation-cutter-recoverable-storage" = "Separation Cutter Recoverable Storage"; +// TRANSLATORS: Separation Cutter Removed +"printer-state-reasons.separation-cutter-removed" = "Separation Cutter Removed"; +// TRANSLATORS: Separation Cutter Resource Added +"printer-state-reasons.separation-cutter-resource-added" = "Separation Cutter Resource Added"; +// TRANSLATORS: Separation Cutter Resource Removed +"printer-state-reasons.separation-cutter-resource-removed" = "Separation Cutter Resource Removed"; +// TRANSLATORS: Separation Cutter Thermistor Failure +"printer-state-reasons.separation-cutter-thermistor-failure" = "Separation Cutter Thermistor Failure"; +// TRANSLATORS: Separation Cutter Timing Failure +"printer-state-reasons.separation-cutter-timing-failure" = "Separation Cutter Timing Failure"; +// TRANSLATORS: Separation Cutter Turned Off +"printer-state-reasons.separation-cutter-turned-off" = "Separation Cutter Turned Off"; +// TRANSLATORS: Separation Cutter Turned On +"printer-state-reasons.separation-cutter-turned-on" = "Separation Cutter Turned On"; +// TRANSLATORS: Separation Cutter Under Temperature +"printer-state-reasons.separation-cutter-under-temperature" = "Separation Cutter Under Temperature"; +// TRANSLATORS: Separation Cutter Unrecoverable Failure +"printer-state-reasons.separation-cutter-unrecoverable-failure" = "Separation Cutter Unrecoverable Failure"; +// TRANSLATORS: Separation Cutter Unrecoverable Storage Error +"printer-state-reasons.separation-cutter-unrecoverable-storage-error" = "Separation Cutter Unrecoverable Storage Error"; +// TRANSLATORS: Separation Cutter Warming Up +"printer-state-reasons.separation-cutter-warming-up" = "Separation Cutter Warming Up"; +// TRANSLATORS: Sheet Rotator Added +"printer-state-reasons.sheet-rotator-added" = "Sheet Rotator Added"; +// TRANSLATORS: Sheet Rotator Almost Empty +"printer-state-reasons.sheet-rotator-almost-empty" = "Sheet Rotator Almost Empty"; +// TRANSLATORS: Sheet Rotator Almost Full +"printer-state-reasons.sheet-rotator-almost-full" = "Sheet Rotator Almost Full"; +// TRANSLATORS: Sheet Rotator At Limit +"printer-state-reasons.sheet-rotator-at-limit" = "Sheet Rotator At Limit"; +// TRANSLATORS: Sheet Rotator Closed +"printer-state-reasons.sheet-rotator-closed" = "Sheet Rotator Closed"; +// TRANSLATORS: Sheet Rotator Configuration Change +"printer-state-reasons.sheet-rotator-configuration-change" = "Sheet Rotator Configuration Change"; +// TRANSLATORS: Sheet Rotator Cover Closed +"printer-state-reasons.sheet-rotator-cover-closed" = "Sheet Rotator Cover Closed"; +// TRANSLATORS: Sheet Rotator Cover Open +"printer-state-reasons.sheet-rotator-cover-open" = "Sheet Rotator Cover Open"; +// TRANSLATORS: Sheet Rotator Empty +"printer-state-reasons.sheet-rotator-empty" = "Sheet Rotator Empty"; +// TRANSLATORS: Sheet Rotator Full +"printer-state-reasons.sheet-rotator-full" = "Sheet Rotator Full"; +// TRANSLATORS: Sheet Rotator Interlock Closed +"printer-state-reasons.sheet-rotator-interlock-closed" = "Sheet Rotator Interlock Closed"; +// TRANSLATORS: Sheet Rotator Interlock Open +"printer-state-reasons.sheet-rotator-interlock-open" = "Sheet Rotator Interlock Open"; +// TRANSLATORS: Sheet Rotator Jam +"printer-state-reasons.sheet-rotator-jam" = "Sheet Rotator Jam"; +// TRANSLATORS: Sheet Rotator Life Almost Over +"printer-state-reasons.sheet-rotator-life-almost-over" = "Sheet Rotator Life Almost Over"; +// TRANSLATORS: Sheet Rotator Life Over +"printer-state-reasons.sheet-rotator-life-over" = "Sheet Rotator Life Over"; +// TRANSLATORS: Sheet Rotator Memory Exhausted +"printer-state-reasons.sheet-rotator-memory-exhausted" = "Sheet Rotator Memory Exhausted"; +// TRANSLATORS: Sheet Rotator Missing +"printer-state-reasons.sheet-rotator-missing" = "Sheet Rotator Missing"; +// TRANSLATORS: Sheet Rotator Motor Failure +"printer-state-reasons.sheet-rotator-motor-failure" = "Sheet Rotator Motor Failure"; +// TRANSLATORS: Sheet Rotator Near Limit +"printer-state-reasons.sheet-rotator-near-limit" = "Sheet Rotator Near Limit"; +// TRANSLATORS: Sheet Rotator Offline +"printer-state-reasons.sheet-rotator-offline" = "Sheet Rotator Offline"; +// TRANSLATORS: Sheet Rotator Opened +"printer-state-reasons.sheet-rotator-opened" = "Sheet Rotator Opened"; +// TRANSLATORS: Sheet Rotator Over Temperature +"printer-state-reasons.sheet-rotator-over-temperature" = "Sheet Rotator Over Temperature"; +// TRANSLATORS: Sheet Rotator Power Saver +"printer-state-reasons.sheet-rotator-power-saver" = "Sheet Rotator Power Saver"; +// TRANSLATORS: Sheet Rotator Recoverable Failure +"printer-state-reasons.sheet-rotator-recoverable-failure" = "Sheet Rotator Recoverable Failure"; +// TRANSLATORS: Sheet Rotator Recoverable Storage +"printer-state-reasons.sheet-rotator-recoverable-storage" = "Sheet Rotator Recoverable Storage"; +// TRANSLATORS: Sheet Rotator Removed +"printer-state-reasons.sheet-rotator-removed" = "Sheet Rotator Removed"; +// TRANSLATORS: Sheet Rotator Resource Added +"printer-state-reasons.sheet-rotator-resource-added" = "Sheet Rotator Resource Added"; +// TRANSLATORS: Sheet Rotator Resource Removed +"printer-state-reasons.sheet-rotator-resource-removed" = "Sheet Rotator Resource Removed"; +// TRANSLATORS: Sheet Rotator Thermistor Failure +"printer-state-reasons.sheet-rotator-thermistor-failure" = "Sheet Rotator Thermistor Failure"; +// TRANSLATORS: Sheet Rotator Timing Failure +"printer-state-reasons.sheet-rotator-timing-failure" = "Sheet Rotator Timing Failure"; +// TRANSLATORS: Sheet Rotator Turned Off +"printer-state-reasons.sheet-rotator-turned-off" = "Sheet Rotator Turned Off"; +// TRANSLATORS: Sheet Rotator Turned On +"printer-state-reasons.sheet-rotator-turned-on" = "Sheet Rotator Turned On"; +// TRANSLATORS: Sheet Rotator Under Temperature +"printer-state-reasons.sheet-rotator-under-temperature" = "Sheet Rotator Under Temperature"; +// TRANSLATORS: Sheet Rotator Unrecoverable Failure +"printer-state-reasons.sheet-rotator-unrecoverable-failure" = "Sheet Rotator Unrecoverable Failure"; +// TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +"printer-state-reasons.sheet-rotator-unrecoverable-storage-error" = "Sheet Rotator Unrecoverable Storage Error"; +// TRANSLATORS: Sheet Rotator Warming Up +"printer-state-reasons.sheet-rotator-warming-up" = "Sheet Rotator Warming Up"; +// TRANSLATORS: Printer offline +"printer-state-reasons.shutdown" = "Shutdown"; +// TRANSLATORS: Slitter Added +"printer-state-reasons.slitter-added" = "Slitter Added"; +// TRANSLATORS: Slitter Almost Empty +"printer-state-reasons.slitter-almost-empty" = "Slitter Almost Empty"; +// TRANSLATORS: Slitter Almost Full +"printer-state-reasons.slitter-almost-full" = "Slitter Almost Full"; +// TRANSLATORS: Slitter At Limit +"printer-state-reasons.slitter-at-limit" = "Slitter At Limit"; +// TRANSLATORS: Slitter Closed +"printer-state-reasons.slitter-closed" = "Slitter Closed"; +// TRANSLATORS: Slitter Configuration Change +"printer-state-reasons.slitter-configuration-change" = "Slitter Configuration Change"; +// TRANSLATORS: Slitter Cover Closed +"printer-state-reasons.slitter-cover-closed" = "Slitter Cover Closed"; +// TRANSLATORS: Slitter Cover Open +"printer-state-reasons.slitter-cover-open" = "Slitter Cover Open"; +// TRANSLATORS: Slitter Empty +"printer-state-reasons.slitter-empty" = "Slitter Empty"; +// TRANSLATORS: Slitter Full +"printer-state-reasons.slitter-full" = "Slitter Full"; +// TRANSLATORS: Slitter Interlock Closed +"printer-state-reasons.slitter-interlock-closed" = "Slitter Interlock Closed"; +// TRANSLATORS: Slitter Interlock Open +"printer-state-reasons.slitter-interlock-open" = "Slitter Interlock Open"; +// TRANSLATORS: Slitter Jam +"printer-state-reasons.slitter-jam" = "Slitter Jam"; +// TRANSLATORS: Slitter Life Almost Over +"printer-state-reasons.slitter-life-almost-over" = "Slitter Life Almost Over"; +// TRANSLATORS: Slitter Life Over +"printer-state-reasons.slitter-life-over" = "Slitter Life Over"; +// TRANSLATORS: Slitter Memory Exhausted +"printer-state-reasons.slitter-memory-exhausted" = "Slitter Memory Exhausted"; +// TRANSLATORS: Slitter Missing +"printer-state-reasons.slitter-missing" = "Slitter Missing"; +// TRANSLATORS: Slitter Motor Failure +"printer-state-reasons.slitter-motor-failure" = "Slitter Motor Failure"; +// TRANSLATORS: Slitter Near Limit +"printer-state-reasons.slitter-near-limit" = "Slitter Near Limit"; +// TRANSLATORS: Slitter Offline +"printer-state-reasons.slitter-offline" = "Slitter Offline"; +// TRANSLATORS: Slitter Opened +"printer-state-reasons.slitter-opened" = "Slitter Opened"; +// TRANSLATORS: Slitter Over Temperature +"printer-state-reasons.slitter-over-temperature" = "Slitter Over Temperature"; +// TRANSLATORS: Slitter Power Saver +"printer-state-reasons.slitter-power-saver" = "Slitter Power Saver"; +// TRANSLATORS: Slitter Recoverable Failure +"printer-state-reasons.slitter-recoverable-failure" = "Slitter Recoverable Failure"; +// TRANSLATORS: Slitter Recoverable Storage +"printer-state-reasons.slitter-recoverable-storage" = "Slitter Recoverable Storage"; +// TRANSLATORS: Slitter Removed +"printer-state-reasons.slitter-removed" = "Slitter Removed"; +// TRANSLATORS: Slitter Resource Added +"printer-state-reasons.slitter-resource-added" = "Slitter Resource Added"; +// TRANSLATORS: Slitter Resource Removed +"printer-state-reasons.slitter-resource-removed" = "Slitter Resource Removed"; +// TRANSLATORS: Slitter Thermistor Failure +"printer-state-reasons.slitter-thermistor-failure" = "Slitter Thermistor Failure"; +// TRANSLATORS: Slitter Timing Failure +"printer-state-reasons.slitter-timing-failure" = "Slitter Timing Failure"; +// TRANSLATORS: Slitter Turned Off +"printer-state-reasons.slitter-turned-off" = "Slitter Turned Off"; +// TRANSLATORS: Slitter Turned On +"printer-state-reasons.slitter-turned-on" = "Slitter Turned On"; +// TRANSLATORS: Slitter Under Temperature +"printer-state-reasons.slitter-under-temperature" = "Slitter Under Temperature"; +// TRANSLATORS: Slitter Unrecoverable Failure +"printer-state-reasons.slitter-unrecoverable-failure" = "Slitter Unrecoverable Failure"; +// TRANSLATORS: Slitter Unrecoverable Storage Error +"printer-state-reasons.slitter-unrecoverable-storage-error" = "Slitter Unrecoverable Storage Error"; +// TRANSLATORS: Slitter Warming Up +"printer-state-reasons.slitter-warming-up" = "Slitter Warming Up"; +// TRANSLATORS: Spool Area Full +"printer-state-reasons.spool-area-full" = "Spool Area Full"; +// TRANSLATORS: Stacker Added +"printer-state-reasons.stacker-added" = "Stacker Added"; +// TRANSLATORS: Stacker Almost Empty +"printer-state-reasons.stacker-almost-empty" = "Stacker Almost Empty"; +// TRANSLATORS: Stacker Almost Full +"printer-state-reasons.stacker-almost-full" = "Stacker Almost Full"; +// TRANSLATORS: Stacker At Limit +"printer-state-reasons.stacker-at-limit" = "Stacker At Limit"; +// TRANSLATORS: Stacker Closed +"printer-state-reasons.stacker-closed" = "Stacker Closed"; +// TRANSLATORS: Stacker Configuration Change +"printer-state-reasons.stacker-configuration-change" = "Stacker Configuration Change"; +// TRANSLATORS: Stacker Cover Closed +"printer-state-reasons.stacker-cover-closed" = "Stacker Cover Closed"; +// TRANSLATORS: Stacker Cover Open +"printer-state-reasons.stacker-cover-open" = "Stacker Cover Open"; +// TRANSLATORS: Stacker Empty +"printer-state-reasons.stacker-empty" = "Stacker Empty"; +// TRANSLATORS: Stacker Full +"printer-state-reasons.stacker-full" = "Stacker Full"; +// TRANSLATORS: Stacker Interlock Closed +"printer-state-reasons.stacker-interlock-closed" = "Stacker Interlock Closed"; +// TRANSLATORS: Stacker Interlock Open +"printer-state-reasons.stacker-interlock-open" = "Stacker Interlock Open"; +// TRANSLATORS: Stacker Jam +"printer-state-reasons.stacker-jam" = "Stacker Jam"; +// TRANSLATORS: Stacker Life Almost Over +"printer-state-reasons.stacker-life-almost-over" = "Stacker Life Almost Over"; +// TRANSLATORS: Stacker Life Over +"printer-state-reasons.stacker-life-over" = "Stacker Life Over"; +// TRANSLATORS: Stacker Memory Exhausted +"printer-state-reasons.stacker-memory-exhausted" = "Stacker Memory Exhausted"; +// TRANSLATORS: Stacker Missing +"printer-state-reasons.stacker-missing" = "Stacker Missing"; +// TRANSLATORS: Stacker Motor Failure +"printer-state-reasons.stacker-motor-failure" = "Stacker Motor Failure"; +// TRANSLATORS: Stacker Near Limit +"printer-state-reasons.stacker-near-limit" = "Stacker Near Limit"; +// TRANSLATORS: Stacker Offline +"printer-state-reasons.stacker-offline" = "Stacker Offline"; +// TRANSLATORS: Stacker Opened +"printer-state-reasons.stacker-opened" = "Stacker Opened"; +// TRANSLATORS: Stacker Over Temperature +"printer-state-reasons.stacker-over-temperature" = "Stacker Over Temperature"; +// TRANSLATORS: Stacker Power Saver +"printer-state-reasons.stacker-power-saver" = "Stacker Power Saver"; +// TRANSLATORS: Stacker Recoverable Failure +"printer-state-reasons.stacker-recoverable-failure" = "Stacker Recoverable Failure"; +// TRANSLATORS: Stacker Recoverable Storage +"printer-state-reasons.stacker-recoverable-storage" = "Stacker Recoverable Storage"; +// TRANSLATORS: Stacker Removed +"printer-state-reasons.stacker-removed" = "Stacker Removed"; +// TRANSLATORS: Stacker Resource Added +"printer-state-reasons.stacker-resource-added" = "Stacker Resource Added"; +// TRANSLATORS: Stacker Resource Removed +"printer-state-reasons.stacker-resource-removed" = "Stacker Resource Removed"; +// TRANSLATORS: Stacker Thermistor Failure +"printer-state-reasons.stacker-thermistor-failure" = "Stacker Thermistor Failure"; +// TRANSLATORS: Stacker Timing Failure +"printer-state-reasons.stacker-timing-failure" = "Stacker Timing Failure"; +// TRANSLATORS: Stacker Turned Off +"printer-state-reasons.stacker-turned-off" = "Stacker Turned Off"; +// TRANSLATORS: Stacker Turned On +"printer-state-reasons.stacker-turned-on" = "Stacker Turned On"; +// TRANSLATORS: Stacker Under Temperature +"printer-state-reasons.stacker-under-temperature" = "Stacker Under Temperature"; +// TRANSLATORS: Stacker Unrecoverable Failure +"printer-state-reasons.stacker-unrecoverable-failure" = "Stacker Unrecoverable Failure"; +// TRANSLATORS: Stacker Unrecoverable Storage Error +"printer-state-reasons.stacker-unrecoverable-storage-error" = "Stacker Unrecoverable Storage Error"; +// TRANSLATORS: Stacker Warming Up +"printer-state-reasons.stacker-warming-up" = "Stacker Warming Up"; +// TRANSLATORS: Stapler Added +"printer-state-reasons.stapler-added" = "Stapler Added"; +// TRANSLATORS: Stapler Almost Empty +"printer-state-reasons.stapler-almost-empty" = "Stapler Almost Empty"; +// TRANSLATORS: Stapler Almost Full +"printer-state-reasons.stapler-almost-full" = "Stapler Almost Full"; +// TRANSLATORS: Stapler At Limit +"printer-state-reasons.stapler-at-limit" = "Stapler At Limit"; +// TRANSLATORS: Stapler Closed +"printer-state-reasons.stapler-closed" = "Stapler Closed"; +// TRANSLATORS: Stapler Configuration Change +"printer-state-reasons.stapler-configuration-change" = "Stapler Configuration Change"; +// TRANSLATORS: Stapler Cover Closed +"printer-state-reasons.stapler-cover-closed" = "Stapler Cover Closed"; +// TRANSLATORS: Stapler Cover Open +"printer-state-reasons.stapler-cover-open" = "Stapler Cover Open"; +// TRANSLATORS: Stapler Empty +"printer-state-reasons.stapler-empty" = "Stapler Empty"; +// TRANSLATORS: Stapler Full +"printer-state-reasons.stapler-full" = "Stapler Full"; +// TRANSLATORS: Stapler Interlock Closed +"printer-state-reasons.stapler-interlock-closed" = "Stapler Interlock Closed"; +// TRANSLATORS: Stapler Interlock Open +"printer-state-reasons.stapler-interlock-open" = "Stapler Interlock Open"; +// TRANSLATORS: Stapler Jam +"printer-state-reasons.stapler-jam" = "Stapler Jam"; +// TRANSLATORS: Stapler Life Almost Over +"printer-state-reasons.stapler-life-almost-over" = "Stapler Life Almost Over"; +// TRANSLATORS: Stapler Life Over +"printer-state-reasons.stapler-life-over" = "Stapler Life Over"; +// TRANSLATORS: Stapler Memory Exhausted +"printer-state-reasons.stapler-memory-exhausted" = "Stapler Memory Exhausted"; +// TRANSLATORS: Stapler Missing +"printer-state-reasons.stapler-missing" = "Stapler Missing"; +// TRANSLATORS: Stapler Motor Failure +"printer-state-reasons.stapler-motor-failure" = "Stapler Motor Failure"; +// TRANSLATORS: Stapler Near Limit +"printer-state-reasons.stapler-near-limit" = "Stapler Near Limit"; +// TRANSLATORS: Stapler Offline +"printer-state-reasons.stapler-offline" = "Stapler Offline"; +// TRANSLATORS: Stapler Opened +"printer-state-reasons.stapler-opened" = "Stapler Opened"; +// TRANSLATORS: Stapler Over Temperature +"printer-state-reasons.stapler-over-temperature" = "Stapler Over Temperature"; +// TRANSLATORS: Stapler Power Saver +"printer-state-reasons.stapler-power-saver" = "Stapler Power Saver"; +// TRANSLATORS: Stapler Recoverable Failure +"printer-state-reasons.stapler-recoverable-failure" = "Stapler Recoverable Failure"; +// TRANSLATORS: Stapler Recoverable Storage +"printer-state-reasons.stapler-recoverable-storage" = "Stapler Recoverable Storage"; +// TRANSLATORS: Stapler Removed +"printer-state-reasons.stapler-removed" = "Stapler Removed"; +// TRANSLATORS: Stapler Resource Added +"printer-state-reasons.stapler-resource-added" = "Stapler Resource Added"; +// TRANSLATORS: Stapler Resource Removed +"printer-state-reasons.stapler-resource-removed" = "Stapler Resource Removed"; +// TRANSLATORS: Stapler Thermistor Failure +"printer-state-reasons.stapler-thermistor-failure" = "Stapler Thermistor Failure"; +// TRANSLATORS: Stapler Timing Failure +"printer-state-reasons.stapler-timing-failure" = "Stapler Timing Failure"; +// TRANSLATORS: Stapler Turned Off +"printer-state-reasons.stapler-turned-off" = "Stapler Turned Off"; +// TRANSLATORS: Stapler Turned On +"printer-state-reasons.stapler-turned-on" = "Stapler Turned On"; +// TRANSLATORS: Stapler Under Temperature +"printer-state-reasons.stapler-under-temperature" = "Stapler Under Temperature"; +// TRANSLATORS: Stapler Unrecoverable Failure +"printer-state-reasons.stapler-unrecoverable-failure" = "Stapler Unrecoverable Failure"; +// TRANSLATORS: Stapler Unrecoverable Storage Error +"printer-state-reasons.stapler-unrecoverable-storage-error" = "Stapler Unrecoverable Storage Error"; +// TRANSLATORS: Stapler Warming Up +"printer-state-reasons.stapler-warming-up" = "Stapler Warming Up"; +// TRANSLATORS: Stitcher Added +"printer-state-reasons.stitcher-added" = "Stitcher Added"; +// TRANSLATORS: Stitcher Almost Empty +"printer-state-reasons.stitcher-almost-empty" = "Stitcher Almost Empty"; +// TRANSLATORS: Stitcher Almost Full +"printer-state-reasons.stitcher-almost-full" = "Stitcher Almost Full"; +// TRANSLATORS: Stitcher At Limit +"printer-state-reasons.stitcher-at-limit" = "Stitcher At Limit"; +// TRANSLATORS: Stitcher Closed +"printer-state-reasons.stitcher-closed" = "Stitcher Closed"; +// TRANSLATORS: Stitcher Configuration Change +"printer-state-reasons.stitcher-configuration-change" = "Stitcher Configuration Change"; +// TRANSLATORS: Stitcher Cover Closed +"printer-state-reasons.stitcher-cover-closed" = "Stitcher Cover Closed"; +// TRANSLATORS: Stitcher Cover Open +"printer-state-reasons.stitcher-cover-open" = "Stitcher Cover Open"; +// TRANSLATORS: Stitcher Empty +"printer-state-reasons.stitcher-empty" = "Stitcher Empty"; +// TRANSLATORS: Stitcher Full +"printer-state-reasons.stitcher-full" = "Stitcher Full"; +// TRANSLATORS: Stitcher Interlock Closed +"printer-state-reasons.stitcher-interlock-closed" = "Stitcher Interlock Closed"; +// TRANSLATORS: Stitcher Interlock Open +"printer-state-reasons.stitcher-interlock-open" = "Stitcher Interlock Open"; +// TRANSLATORS: Stitcher Jam +"printer-state-reasons.stitcher-jam" = "Stitcher Jam"; +// TRANSLATORS: Stitcher Life Almost Over +"printer-state-reasons.stitcher-life-almost-over" = "Stitcher Life Almost Over"; +// TRANSLATORS: Stitcher Life Over +"printer-state-reasons.stitcher-life-over" = "Stitcher Life Over"; +// TRANSLATORS: Stitcher Memory Exhausted +"printer-state-reasons.stitcher-memory-exhausted" = "Stitcher Memory Exhausted"; +// TRANSLATORS: Stitcher Missing +"printer-state-reasons.stitcher-missing" = "Stitcher Missing"; +// TRANSLATORS: Stitcher Motor Failure +"printer-state-reasons.stitcher-motor-failure" = "Stitcher Motor Failure"; +// TRANSLATORS: Stitcher Near Limit +"printer-state-reasons.stitcher-near-limit" = "Stitcher Near Limit"; +// TRANSLATORS: Stitcher Offline +"printer-state-reasons.stitcher-offline" = "Stitcher Offline"; +// TRANSLATORS: Stitcher Opened +"printer-state-reasons.stitcher-opened" = "Stitcher Opened"; +// TRANSLATORS: Stitcher Over Temperature +"printer-state-reasons.stitcher-over-temperature" = "Stitcher Over Temperature"; +// TRANSLATORS: Stitcher Power Saver +"printer-state-reasons.stitcher-power-saver" = "Stitcher Power Saver"; +// TRANSLATORS: Stitcher Recoverable Failure +"printer-state-reasons.stitcher-recoverable-failure" = "Stitcher Recoverable Failure"; +// TRANSLATORS: Stitcher Recoverable Storage +"printer-state-reasons.stitcher-recoverable-storage" = "Stitcher Recoverable Storage"; +// TRANSLATORS: Stitcher Removed +"printer-state-reasons.stitcher-removed" = "Stitcher Removed"; +// TRANSLATORS: Stitcher Resource Added +"printer-state-reasons.stitcher-resource-added" = "Stitcher Resource Added"; +// TRANSLATORS: Stitcher Resource Removed +"printer-state-reasons.stitcher-resource-removed" = "Stitcher Resource Removed"; +// TRANSLATORS: Stitcher Thermistor Failure +"printer-state-reasons.stitcher-thermistor-failure" = "Stitcher Thermistor Failure"; +// TRANSLATORS: Stitcher Timing Failure +"printer-state-reasons.stitcher-timing-failure" = "Stitcher Timing Failure"; +// TRANSLATORS: Stitcher Turned Off +"printer-state-reasons.stitcher-turned-off" = "Stitcher Turned Off"; +// TRANSLATORS: Stitcher Turned On +"printer-state-reasons.stitcher-turned-on" = "Stitcher Turned On"; +// TRANSLATORS: Stitcher Under Temperature +"printer-state-reasons.stitcher-under-temperature" = "Stitcher Under Temperature"; +// TRANSLATORS: Stitcher Unrecoverable Failure +"printer-state-reasons.stitcher-unrecoverable-failure" = "Stitcher Unrecoverable Failure"; +// TRANSLATORS: Stitcher Unrecoverable Storage Error +"printer-state-reasons.stitcher-unrecoverable-storage-error" = "Stitcher Unrecoverable Storage Error"; +// TRANSLATORS: Stitcher Warming Up +"printer-state-reasons.stitcher-warming-up" = "Stitcher Warming Up"; +// TRANSLATORS: Partially stopped +"printer-state-reasons.stopped-partly" = "Stopped Partly"; +// TRANSLATORS: Stopping +"printer-state-reasons.stopping" = "Stopping"; +// TRANSLATORS: Subunit Added +"printer-state-reasons.subunit-added" = "Subunit Added"; +// TRANSLATORS: Subunit Almost Empty +"printer-state-reasons.subunit-almost-empty" = "Subunit Almost Empty"; +// TRANSLATORS: Subunit Almost Full +"printer-state-reasons.subunit-almost-full" = "Subunit Almost Full"; +// TRANSLATORS: Subunit At Limit +"printer-state-reasons.subunit-at-limit" = "Subunit At Limit"; +// TRANSLATORS: Subunit Closed +"printer-state-reasons.subunit-closed" = "Subunit Closed"; +// TRANSLATORS: Subunit Cooling Down +"printer-state-reasons.subunit-cooling-down" = "Subunit Cooling Down"; +// TRANSLATORS: Subunit Empty +"printer-state-reasons.subunit-empty" = "Subunit Empty"; +// TRANSLATORS: Subunit Full +"printer-state-reasons.subunit-full" = "Subunit Full"; +// TRANSLATORS: Subunit Life Almost Over +"printer-state-reasons.subunit-life-almost-over" = "Subunit Life Almost Over"; +// TRANSLATORS: Subunit Life Over +"printer-state-reasons.subunit-life-over" = "Subunit Life Over"; +// TRANSLATORS: Subunit Memory Exhausted +"printer-state-reasons.subunit-memory-exhausted" = "Subunit Memory Exhausted"; +// TRANSLATORS: Subunit Missing +"printer-state-reasons.subunit-missing" = "Subunit Missing"; +// TRANSLATORS: Subunit Motor Failure +"printer-state-reasons.subunit-motor-failure" = "Subunit Motor Failure"; +// TRANSLATORS: Subunit Near Limit +"printer-state-reasons.subunit-near-limit" = "Subunit Near Limit"; +// TRANSLATORS: Subunit Offline +"printer-state-reasons.subunit-offline" = "Subunit Offline"; +// TRANSLATORS: Subunit Opened +"printer-state-reasons.subunit-opened" = "Subunit Opened"; +// TRANSLATORS: Subunit Over Temperature +"printer-state-reasons.subunit-over-temperature" = "Subunit Over Temperature"; +// TRANSLATORS: Subunit Power Saver +"printer-state-reasons.subunit-power-saver" = "Subunit Power Saver"; +// TRANSLATORS: Subunit Recoverable Failure +"printer-state-reasons.subunit-recoverable-failure" = "Subunit Recoverable Failure"; +// TRANSLATORS: Subunit Recoverable Storage +"printer-state-reasons.subunit-recoverable-storage" = "Subunit Recoverable Storage"; +// TRANSLATORS: Subunit Removed +"printer-state-reasons.subunit-removed" = "Subunit Removed"; +// TRANSLATORS: Subunit Resource Added +"printer-state-reasons.subunit-resource-added" = "Subunit Resource Added"; +// TRANSLATORS: Subunit Resource Removed +"printer-state-reasons.subunit-resource-removed" = "Subunit Resource Removed"; +// TRANSLATORS: Subunit Thermistor Failure +"printer-state-reasons.subunit-thermistor-failure" = "Subunit Thermistor Failure"; +// TRANSLATORS: Subunit Timing Failure +"printer-state-reasons.subunit-timing-Failure" = "Subunit Timing Failure"; +// TRANSLATORS: Subunit Turned Off +"printer-state-reasons.subunit-turned-off" = "Subunit Turned Off"; +// TRANSLATORS: Subunit Turned On +"printer-state-reasons.subunit-turned-on" = "Subunit Turned On"; +// TRANSLATORS: Subunit Under Temperature +"printer-state-reasons.subunit-under-temperature" = "Subunit Under Temperature"; +// TRANSLATORS: Subunit Unrecoverable Failure +"printer-state-reasons.subunit-unrecoverable-failure" = "Subunit Unrecoverable Failure"; +// TRANSLATORS: Subunit Unrecoverable Storage +"printer-state-reasons.subunit-unrecoverable-storage" = "Subunit Unrecoverable Storage"; +// TRANSLATORS: Subunit Warming Up +"printer-state-reasons.subunit-warming-up" = "Subunit Warming Up"; +// TRANSLATORS: Printer stopped responding +"printer-state-reasons.timed-out" = "Timed Out"; +// TRANSLATORS: Out of toner +"printer-state-reasons.toner-empty" = "Toner Empty"; +// TRANSLATORS: Toner low +"printer-state-reasons.toner-low" = "Toner Low"; +// TRANSLATORS: Trimmer Added +"printer-state-reasons.trimmer-added" = "Trimmer Added"; +// TRANSLATORS: Trimmer Almost Empty +"printer-state-reasons.trimmer-almost-empty" = "Trimmer Almost Empty"; +// TRANSLATORS: Trimmer Almost Full +"printer-state-reasons.trimmer-almost-full" = "Trimmer Almost Full"; +// TRANSLATORS: Trimmer At Limit +"printer-state-reasons.trimmer-at-limit" = "Trimmer At Limit"; +// TRANSLATORS: Trimmer Closed +"printer-state-reasons.trimmer-closed" = "Trimmer Closed"; +// TRANSLATORS: Trimmer Configuration Change +"printer-state-reasons.trimmer-configuration-change" = "Trimmer Configuration Change"; +// TRANSLATORS: Trimmer Cover Closed +"printer-state-reasons.trimmer-cover-closed" = "Trimmer Cover Closed"; +// TRANSLATORS: Trimmer Cover Open +"printer-state-reasons.trimmer-cover-open" = "Trimmer Cover Open"; +// TRANSLATORS: Trimmer Empty +"printer-state-reasons.trimmer-empty" = "Trimmer Empty"; +// TRANSLATORS: Trimmer Full +"printer-state-reasons.trimmer-full" = "Trimmer Full"; +// TRANSLATORS: Trimmer Interlock Closed +"printer-state-reasons.trimmer-interlock-closed" = "Trimmer Interlock Closed"; +// TRANSLATORS: Trimmer Interlock Open +"printer-state-reasons.trimmer-interlock-open" = "Trimmer Interlock Open"; +// TRANSLATORS: Trimmer Jam +"printer-state-reasons.trimmer-jam" = "Trimmer Jam"; +// TRANSLATORS: Trimmer Life Almost Over +"printer-state-reasons.trimmer-life-almost-over" = "Trimmer Life Almost Over"; +// TRANSLATORS: Trimmer Life Over +"printer-state-reasons.trimmer-life-over" = "Trimmer Life Over"; +// TRANSLATORS: Trimmer Memory Exhausted +"printer-state-reasons.trimmer-memory-exhausted" = "Trimmer Memory Exhausted"; +// TRANSLATORS: Trimmer Missing +"printer-state-reasons.trimmer-missing" = "Trimmer Missing"; +// TRANSLATORS: Trimmer Motor Failure +"printer-state-reasons.trimmer-motor-failure" = "Trimmer Motor Failure"; +// TRANSLATORS: Trimmer Near Limit +"printer-state-reasons.trimmer-near-limit" = "Trimmer Near Limit"; +// TRANSLATORS: Trimmer Offline +"printer-state-reasons.trimmer-offline" = "Trimmer Offline"; +// TRANSLATORS: Trimmer Opened +"printer-state-reasons.trimmer-opened" = "Trimmer Opened"; +// TRANSLATORS: Trimmer Over Temperature +"printer-state-reasons.trimmer-over-temperature" = "Trimmer Over Temperature"; +// TRANSLATORS: Trimmer Power Saver +"printer-state-reasons.trimmer-power-saver" = "Trimmer Power Saver"; +// TRANSLATORS: Trimmer Recoverable Failure +"printer-state-reasons.trimmer-recoverable-failure" = "Trimmer Recoverable Failure"; +// TRANSLATORS: Trimmer Recoverable Storage +"printer-state-reasons.trimmer-recoverable-storage" = "Trimmer Recoverable Storage"; +// TRANSLATORS: Trimmer Removed +"printer-state-reasons.trimmer-removed" = "Trimmer Removed"; +// TRANSLATORS: Trimmer Resource Added +"printer-state-reasons.trimmer-resource-added" = "Trimmer Resource Added"; +// TRANSLATORS: Trimmer Resource Removed +"printer-state-reasons.trimmer-resource-removed" = "Trimmer Resource Removed"; +// TRANSLATORS: Trimmer Thermistor Failure +"printer-state-reasons.trimmer-thermistor-failure" = "Trimmer Thermistor Failure"; +// TRANSLATORS: Trimmer Timing Failure +"printer-state-reasons.trimmer-timing-failure" = "Trimmer Timing Failure"; +// TRANSLATORS: Trimmer Turned Off +"printer-state-reasons.trimmer-turned-off" = "Trimmer Turned Off"; +// TRANSLATORS: Trimmer Turned On +"printer-state-reasons.trimmer-turned-on" = "Trimmer Turned On"; +// TRANSLATORS: Trimmer Under Temperature +"printer-state-reasons.trimmer-under-temperature" = "Trimmer Under Temperature"; +// TRANSLATORS: Trimmer Unrecoverable Failure +"printer-state-reasons.trimmer-unrecoverable-failure" = "Trimmer Unrecoverable Failure"; +// TRANSLATORS: Trimmer Unrecoverable Storage Error +"printer-state-reasons.trimmer-unrecoverable-storage-error" = "Trimmer Unrecoverable Storage Error"; +// TRANSLATORS: Trimmer Warming Up +"printer-state-reasons.trimmer-warming-up" = "Trimmer Warming Up"; +// TRANSLATORS: Unknown +"printer-state-reasons.unknown" = "Unknown"; +// TRANSLATORS: Wrapper Added +"printer-state-reasons.wrapper-added" = "Wrapper Added"; +// TRANSLATORS: Wrapper Almost Empty +"printer-state-reasons.wrapper-almost-empty" = "Wrapper Almost Empty"; +// TRANSLATORS: Wrapper Almost Full +"printer-state-reasons.wrapper-almost-full" = "Wrapper Almost Full"; +// TRANSLATORS: Wrapper At Limit +"printer-state-reasons.wrapper-at-limit" = "Wrapper At Limit"; +// TRANSLATORS: Wrapper Closed +"printer-state-reasons.wrapper-closed" = "Wrapper Closed"; +// TRANSLATORS: Wrapper Configuration Change +"printer-state-reasons.wrapper-configuration-change" = "Wrapper Configuration Change"; +// TRANSLATORS: Wrapper Cover Closed +"printer-state-reasons.wrapper-cover-closed" = "Wrapper Cover Closed"; +// TRANSLATORS: Wrapper Cover Open +"printer-state-reasons.wrapper-cover-open" = "Wrapper Cover Open"; +// TRANSLATORS: Wrapper Empty +"printer-state-reasons.wrapper-empty" = "Wrapper Empty"; +// TRANSLATORS: Wrapper Full +"printer-state-reasons.wrapper-full" = "Wrapper Full"; +// TRANSLATORS: Wrapper Interlock Closed +"printer-state-reasons.wrapper-interlock-closed" = "Wrapper Interlock Closed"; +// TRANSLATORS: Wrapper Interlock Open +"printer-state-reasons.wrapper-interlock-open" = "Wrapper Interlock Open"; +// TRANSLATORS: Wrapper Jam +"printer-state-reasons.wrapper-jam" = "Wrapper Jam"; +// TRANSLATORS: Wrapper Life Almost Over +"printer-state-reasons.wrapper-life-almost-over" = "Wrapper Life Almost Over"; +// TRANSLATORS: Wrapper Life Over +"printer-state-reasons.wrapper-life-over" = "Wrapper Life Over"; +// TRANSLATORS: Wrapper Memory Exhausted +"printer-state-reasons.wrapper-memory-exhausted" = "Wrapper Memory Exhausted"; +// TRANSLATORS: Wrapper Missing +"printer-state-reasons.wrapper-missing" = "Wrapper Missing"; +// TRANSLATORS: Wrapper Motor Failure +"printer-state-reasons.wrapper-motor-failure" = "Wrapper Motor Failure"; +// TRANSLATORS: Wrapper Near Limit +"printer-state-reasons.wrapper-near-limit" = "Wrapper Near Limit"; +// TRANSLATORS: Wrapper Offline +"printer-state-reasons.wrapper-offline" = "Wrapper Offline"; +// TRANSLATORS: Wrapper Opened +"printer-state-reasons.wrapper-opened" = "Wrapper Opened"; +// TRANSLATORS: Wrapper Over Temperature +"printer-state-reasons.wrapper-over-temperature" = "Wrapper Over Temperature"; +// TRANSLATORS: Wrapper Power Saver +"printer-state-reasons.wrapper-power-saver" = "Wrapper Power Saver"; +// TRANSLATORS: Wrapper Recoverable Failure +"printer-state-reasons.wrapper-recoverable-failure" = "Wrapper Recoverable Failure"; +// TRANSLATORS: Wrapper Recoverable Storage +"printer-state-reasons.wrapper-recoverable-storage" = "Wrapper Recoverable Storage"; +// TRANSLATORS: Wrapper Removed +"printer-state-reasons.wrapper-removed" = "Wrapper Removed"; +// TRANSLATORS: Wrapper Resource Added +"printer-state-reasons.wrapper-resource-added" = "Wrapper Resource Added"; +// TRANSLATORS: Wrapper Resource Removed +"printer-state-reasons.wrapper-resource-removed" = "Wrapper Resource Removed"; +// TRANSLATORS: Wrapper Thermistor Failure +"printer-state-reasons.wrapper-thermistor-failure" = "Wrapper Thermistor Failure"; +// TRANSLATORS: Wrapper Timing Failure +"printer-state-reasons.wrapper-timing-failure" = "Wrapper Timing Failure"; +// TRANSLATORS: Wrapper Turned Off +"printer-state-reasons.wrapper-turned-off" = "Wrapper Turned Off"; +// TRANSLATORS: Wrapper Turned On +"printer-state-reasons.wrapper-turned-on" = "Wrapper Turned On"; +// TRANSLATORS: Wrapper Under Temperature +"printer-state-reasons.wrapper-under-temperature" = "Wrapper Under Temperature"; +// TRANSLATORS: Wrapper Unrecoverable Failure +"printer-state-reasons.wrapper-unrecoverable-failure" = "Wrapper Unrecoverable Failure"; +// TRANSLATORS: Wrapper Unrecoverable Storage Error +"printer-state-reasons.wrapper-unrecoverable-storage-error" = "Wrapper Unrecoverable Storage Error"; +// TRANSLATORS: Wrapper Warming Up +"printer-state-reasons.wrapper-warming-up" = "Wrapper Warming Up"; +// TRANSLATORS: Idle +"printer-state.3" = "Idle"; +// TRANSLATORS: Processing +"printer-state.4" = "Processing"; +// TRANSLATORS: Stopped +"printer-state.5" = "Stopped"; +// TRANSLATORS: Printer Uptime +"printer-up-time" = "Printer Uptime"; +"processing" = "processing"; +// TRANSLATORS: Proof Print +"proof-print" = "Proof Print"; +// TRANSLATORS: Proof Print Copies +"proof-print-copies" = "Proof Print Copies"; +// TRANSLATORS: Punching +"punching" = "Punching"; +// TRANSLATORS: Punching Locations +"punching-locations" = "Punching Locations"; +// TRANSLATORS: Punching Offset +"punching-offset" = "Punching Offset"; +// TRANSLATORS: Punch Edge +"punching-reference-edge" = "Punch Edge"; +// TRANSLATORS: Bottom +"punching-reference-edge.bottom" = "Bottom"; +// TRANSLATORS: Left +"punching-reference-edge.left" = "Left"; +// TRANSLATORS: Right +"punching-reference-edge.right" = "Right"; +// TRANSLATORS: Top +"punching-reference-edge.top" = "Top"; +"request id is %s-%d (%d file(s))" = "request id is %s-%d (%d file(s))"; +"request-id uses indefinite length" = "request-id uses indefinite length"; +// TRANSLATORS: Requested Attributes +"requested-attributes" = "Requested Attributes"; +// TRANSLATORS: Retry Interval +"retry-interval" = "Retry Interval"; +// TRANSLATORS: Retry Timeout +"retry-time-out" = "Retry Timeout"; +// TRANSLATORS: Save Disposition +"save-disposition" = "Save Disposition"; +// TRANSLATORS: None +"save-disposition.none" = "None"; +// TRANSLATORS: Print and Save +"save-disposition.print-save" = "Print and Save"; +// TRANSLATORS: Save Only +"save-disposition.save-only" = "Save Only"; +// TRANSLATORS: Save Document Format +"save-document-format" = "Save Document Format"; +// TRANSLATORS: Save Info +"save-info" = "Save Info"; +// TRANSLATORS: Save Location +"save-location" = "Save Location"; +// TRANSLATORS: Save Name +"save-name" = "Save Name"; +"scheduler is not running" = "scheduler is not running"; +"scheduler is running" = "scheduler is running"; +// TRANSLATORS: Separator Sheets +"separator-sheets" = "Separator Sheets"; +// TRANSLATORS: Type of Separator Sheets +"separator-sheets-type" = "Type of Separator Sheets"; +// TRANSLATORS: Start and End Sheets +"separator-sheets-type.both-sheets" = "Start and End Sheets"; +// TRANSLATORS: End Sheet +"separator-sheets-type.end-sheet" = "End Sheet"; +// TRANSLATORS: None +"separator-sheets-type.none" = "None"; +// TRANSLATORS: Slip Sheets +"separator-sheets-type.slip-sheets" = "Slip Sheets"; +// TRANSLATORS: Start Sheet +"separator-sheets-type.start-sheet" = "Start Sheet"; +// TRANSLATORS: 2-Sided Printing +"sides" = "2-Sided Printing"; +// TRANSLATORS: Off +"sides.one-sided" = "Off"; +// TRANSLATORS: On (Portrait) +"sides.two-sided-long-edge" = "On (Portrait)"; +// TRANSLATORS: On (Landscape) +"sides.two-sided-short-edge" = "On (Landscape)"; +"stat of %s failed: %s" = "stat of %s failed: %s"; +"status\t\tShow status of daemon and queue." = "status\t\tShow status of daemon and queue."; +// TRANSLATORS: Status Message +"status-message" = "Status Message"; +// TRANSLATORS: Staple +"stitching" = "Staple"; +// TRANSLATORS: Stitching Angle +"stitching-angle" = "Stitching Angle"; +// TRANSLATORS: Stitching Locations +"stitching-locations" = "Stitching Locations"; +// TRANSLATORS: Staple Method +"stitching-method" = "Staple Method"; +// TRANSLATORS: Automatic +"stitching-method.auto" = "Automatic"; +// TRANSLATORS: Crimp +"stitching-method.crimp" = "Crimp"; +// TRANSLATORS: Wire +"stitching-method.wire" = "Wire"; +// TRANSLATORS: Stitching Offset +"stitching-offset" = "Stitching Offset"; +// TRANSLATORS: Staple Edge +"stitching-reference-edge" = "Staple Edge"; +// TRANSLATORS: Bottom +"stitching-reference-edge.bottom" = "Bottom"; +// TRANSLATORS: Left +"stitching-reference-edge.left" = "Left"; +// TRANSLATORS: Right +"stitching-reference-edge.right" = "Right"; +// TRANSLATORS: Top +"stitching-reference-edge.top" = "Top"; +"stopped" = "stopped"; +// TRANSLATORS: Subject +"subject" = "Subject"; +// TRANSLATORS: Subscription Privacy Attributes +"subscription-privacy-attributes" = "Subscription Privacy Attributes"; +// TRANSLATORS: All +"subscription-privacy-attributes.all" = "All"; +// TRANSLATORS: Default +"subscription-privacy-attributes.default" = "Default"; +// TRANSLATORS: None +"subscription-privacy-attributes.none" = "None"; +// TRANSLATORS: Subscription Description +"subscription-privacy-attributes.subscription-description" = "Subscription Description"; +// TRANSLATORS: Subscription Template +"subscription-privacy-attributes.subscription-template" = "Subscription Template"; +// TRANSLATORS: Subscription Privacy Scope +"subscription-privacy-scope" = "Subscription Privacy Scope"; +// TRANSLATORS: All +"subscription-privacy-scope.all" = "All"; +// TRANSLATORS: Default +"subscription-privacy-scope.default" = "Default"; +// TRANSLATORS: None +"subscription-privacy-scope.none" = "None"; +// TRANSLATORS: Owner +"subscription-privacy-scope.owner" = "Owner"; +"system default destination: %s" = "system default destination: %s"; +"system default destination: %s/%s" = "system default destination: %s/%s"; +// TRANSLATORS: T33 Subaddress +"t33-subaddress" = "T33 Subaddress"; +// TRANSLATORS: To Name +"to-name" = "To Name"; +// TRANSLATORS: Transmission Status +"transmission-status" = "Transmission Status"; +// TRANSLATORS: Pending +"transmission-status.3" = "Pending"; +// TRANSLATORS: Pending Retry +"transmission-status.4" = "Pending Retry"; +// TRANSLATORS: Processing +"transmission-status.5" = "Processing"; +// TRANSLATORS: Canceled +"transmission-status.7" = "Canceled"; +// TRANSLATORS: Aborted +"transmission-status.8" = "Aborted"; +// TRANSLATORS: Completed +"transmission-status.9" = "Completed"; +// TRANSLATORS: Cut +"trimming" = "Cut"; +// TRANSLATORS: Cut Position +"trimming-offset" = "Cut Position"; +// TRANSLATORS: Cut Edge +"trimming-reference-edge" = "Cut Edge"; +// TRANSLATORS: Bottom +"trimming-reference-edge.bottom" = "Bottom"; +// TRANSLATORS: Left +"trimming-reference-edge.left" = "Left"; +// TRANSLATORS: Right +"trimming-reference-edge.right" = "Right"; +// TRANSLATORS: Top +"trimming-reference-edge.top" = "Top"; +// TRANSLATORS: Type of Cut +"trimming-type" = "Type of Cut"; +// TRANSLATORS: Draw Line +"trimming-type.draw-line" = "Draw Line"; +// TRANSLATORS: Full +"trimming-type.full" = "Full"; +// TRANSLATORS: Partial +"trimming-type.partial" = "Partial"; +// TRANSLATORS: Perforate +"trimming-type.perforate" = "Perforate"; +// TRANSLATORS: Score +"trimming-type.score" = "Score"; +// TRANSLATORS: Tab +"trimming-type.tab" = "Tab"; +// TRANSLATORS: Cut After +"trimming-when" = "Cut After"; +// TRANSLATORS: Every Document +"trimming-when.after-documents" = "Every Document"; +// TRANSLATORS: Job +"trimming-when.after-job" = "Job"; +// TRANSLATORS: Every Set +"trimming-when.after-sets" = "Every Set"; +// TRANSLATORS: Every Page +"trimming-when.after-sheets" = "Every Page"; +"unknown" = "unknown"; +"untitled" = "untitled"; +"variable-bindings uses indefinite length" = "variable-bindings uses indefinite length"; +// TRANSLATORS: X Accuracy +"x-accuracy" = "X Accuracy"; +// TRANSLATORS: X Dimension +"x-dimension" = "X Dimension"; +// TRANSLATORS: X Offset +"x-offset" = "X Offset"; +// TRANSLATORS: X Origin +"x-origin" = "X Origin"; +// TRANSLATORS: Y Accuracy +"y-accuracy" = "Y Accuracy"; +// TRANSLATORS: Y Dimension +"y-dimension" = "Y Dimension"; +// TRANSLATORS: Y Offset +"y-offset" = "Y Offset"; +// TRANSLATORS: Y Origin +"y-origin" = "Y Origin"; +// TRANSLATORS: Z Accuracy +"z-accuracy" = "Z Accuracy"; +// TRANSLATORS: Z Dimension +"z-dimension" = "Z Dimension"; +// TRANSLATORS: Z Offset +"z-offset" = "Z Offset"; +"{service_domain} Domain name" = "{service_domain} Domain name"; +"{service_hostname} Fully-qualified domain name" = "{service_hostname} Fully-qualified domain name"; +"{service_name} Service instance name" = "{service_name} Service instance name"; +"{service_port} Port number" = "{service_port} Port number"; +"{service_regtype} DNS-SD registration type" = "{service_regtype} DNS-SD registration type"; +"{service_scheme} URI scheme" = "{service_scheme} URI scheme"; +"{service_uri} URI" = "{service_uri} URI"; +"{txt_*} Value of TXT record key" = "{txt_*} Value of TXT record key"; +"{} URI" = "{} URI"; +"~/.cups/lpoptions file names default destination that does not exist." = "~/.cups/lpoptions file names default destination that does not exist."; diff --git a/locale/cups_ca.po b/locale/cups_ca.po new file mode 100644 index 0000000..f614af3 --- /dev/null +++ b/locale/cups_ca.po @@ -0,0 +1,15171 @@ +# +# Catalan message catalog for CUPS. +# +# Copyright © 2007-2018 by Apple Inc. +# Copyright © 2005-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +# Àngel Mompó , 2011, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: CUPS 2.3\n" +"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n" +"POT-Creation-Date: 2019-08-23 09:13-0400\n" +"PO-Revision-Date: 2012-09-29 11:21+0200\n" +"Last-Translator: Àngel Mompó \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +msgid "\t\t(all)" +msgstr "\t\t(tots)" + +msgid "\t\t(none)" +msgstr "\t\t(cap)" + +#, c-format +msgid "\t%d entries" +msgstr "\t%d entrades" + +#, c-format +msgid "\t%s" +msgstr "\t%s" + +msgid "\tAfter fault: continue" +msgstr "\tDesprés d'una fallada: continua" + +#, c-format +msgid "\tAlerts: %s" +msgstr "\tAlertes: %s" + +msgid "\tBanner required" +msgstr "\tNecessita un bàner" + +msgid "\tCharset sets:" +msgstr "\tConjunt de caràcters:" + +msgid "\tConnection: direct" +msgstr "\tConnexió: directa" + +msgid "\tConnection: remote" +msgstr "\tConnexió: remota" + +msgid "\tContent types: any" +msgstr "\tTipus de contingut: qualsevol" + +msgid "\tDefault page size:" +msgstr "\tMida de la pàgina per defecte:" + +msgid "\tDefault pitch:" +msgstr "\tDensitat per defecte:" + +msgid "\tDefault port settings:" +msgstr "\tConfiguració del port per defecte:" + +#, c-format +msgid "\tDescription: %s" +msgstr "\tDescripció: %s" + +msgid "\tForm mounted:" +msgstr "\tFormularis muntats:" + +msgid "\tForms allowed:" +msgstr "\tFormularis admesos:" + +#, c-format +msgid "\tInterface: %s.ppd" +msgstr "\tInterfície: %s.ppd" + +#, c-format +msgid "\tInterface: %s/ppd/%s.ppd" +msgstr "\tInterfície: %s/ppd/%s.ppd" + +#, c-format +msgid "\tLocation: %s" +msgstr "\tUbicació: %s" + +msgid "\tOn fault: no alert" +msgstr "\tEn cas de fallada: no avisis" + +msgid "\tPrinter types: unknown" +msgstr "\tTipus d'impresores: desconeguts" + +#, c-format +msgid "\tStatus: %s" +msgstr "\tEstat: %s" + +msgid "\tUsers allowed:" +msgstr "\tUsuaris permesos:" + +msgid "\tUsers denied:" +msgstr "\tUsuaris sense permís:" + +msgid "\tdaemon present" +msgstr "\tpresència del dimoni" + +msgid "\tno entries" +msgstr "\tcap entrada" + +#, c-format +msgid "\tprinter is on device '%s' speed -1" +msgstr "\tLa impressora és al dispositiu «%s» velocitat -1" + +msgid "\tprinting is disabled" +msgstr "\tLa impressora està deshabilitada" + +msgid "\tprinting is enabled" +msgstr "\tLa impressora està habilitada" + +#, c-format +msgid "\tqueued for %s" +msgstr "\ten cua per %s" + +msgid "\tqueuing is disabled" +msgstr "\tla cua està deshabilitada" + +msgid "\tqueuing is enabled" +msgstr "\tla cua està habilitada" + +msgid "\treason unknown" +msgstr "\traó desconeguda" + +msgid "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" +msgstr "" +"\n" +" RESULTAT DETALLAT DEL TEST DE CONFORMITAT" + +msgid " REF: Page 15, section 3.1." +msgstr " REF: pàgina 15, secció 3.1." + +msgid " REF: Page 15, section 3.2." +msgstr " REF: pàgina 15, secció 3.2." + +msgid " REF: Page 19, section 3.3." +msgstr " REF: pàgina 19, secció 3.3." + +msgid " REF: Page 20, section 3.4." +msgstr " REF: pàgina 20, secció 3.4." + +msgid " REF: Page 27, section 3.5." +msgstr " REF: pàgina 27, secció 3.5." + +msgid " REF: Page 42, section 5.2." +msgstr " REF: pàgina 42, secció 5.2." + +msgid " REF: Pages 16-17, section 3.2." +msgstr " REF: pàgines 16-17, secció 3.2." + +msgid " REF: Pages 42-45, section 5.2." +msgstr " REF: pàgines 42-45, secció 5.2." + +msgid " REF: Pages 45-46, section 5.2." +msgstr " REF: pàgines 45-46, secció 5.2." + +msgid " REF: Pages 48-49, section 5.2." +msgstr " REF: pàgines 48-49, secció 5.2." + +msgid " REF: Pages 52-54, section 5.2." +msgstr " REF: pàgines 52-54, secció 5.2." + +#, c-format +msgid " %-39.39s %.0f bytes" +msgstr " %-39.39s %.0f bytes" + +#, c-format +msgid " PASS Default%s" +msgstr " VALIDA Default%s" + +msgid " PASS DefaultImageableArea" +msgstr " VALIDA DefaultImageableArea" + +msgid " PASS DefaultPaperDimension" +msgstr " VALIDA DefaultPaperDimension" + +msgid " PASS FileVersion" +msgstr " VALIDA FileVersion" + +msgid " PASS FormatVersion" +msgstr " VALIDA FileVersion" + +msgid " PASS LanguageEncoding" +msgstr " VALIDA LanguageEncoding" + +msgid " PASS LanguageVersion" +msgstr " VALIDA LanguageVersion" + +msgid " PASS Manufacturer" +msgstr " VALIDA Manufacturer" + +msgid " PASS ModelName" +msgstr " VALIDA ModelName" + +msgid " PASS NickName" +msgstr " VALIDA NickName" + +msgid " PASS PCFileName" +msgstr " VALIDA PCFileName" + +msgid " PASS PSVersion" +msgstr " VALIDA PSVersion" + +msgid " PASS PageRegion" +msgstr " VALIDA PageRegion" + +msgid " PASS PageSize" +msgstr " VALIDA PageSize" + +msgid " PASS Product" +msgstr " VALIDA Product" + +msgid " PASS ShortNickName" +msgstr " VALIDA ShortNickName" + +#, c-format +msgid " WARN %s has no corresponding options." +msgstr " AVÍS %s no té les opcions corresponents." + +#, c-format +msgid "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." +msgstr "" +" AVÍS %s té un prefixe comú amb %s\n" +" REF: pàgina 15, secció 3.2." + +#, c-format +msgid "" +" WARN Duplex option keyword %s may not work as expected and should " +"be named Duplex.\n" +" REF: Page 122, section 5.17" +msgstr "" +" AVÍS La paraula clau %s de l'opció dúplex pot no funcionar com " +"s'espera i s'hauria de dir Duplex.\n" +" REF: pàgina 122, secció 5.17" + +msgid " WARN File contains a mix of CR, LF, and CR LF line endings." +msgstr "" +" AVÍS El fitxer conté una barreja de CR, LF, i CR LF com a finals " +"de línia." + +msgid "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" AVÍS Es requereix un LanguageEncoding segons les espec. del PPD " +"4.3\n" +" REF: pàgines 56-57, secció 5.3." + +#, c-format +msgid " WARN Line %d only contains whitespace." +msgstr " AVÍS La línia %d només conté espais en blanc." + +msgid "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" AVÍS El fabricant requereix les espec. del PPD 4.3.\n" +" REF: pàgines 58-59, secció 5.3." + +msgid "" +" WARN Non-Windows PPD files should use lines ending with only LF, " +"not CR LF." +msgstr "" +" AVÍS Els fitxers PPD que no són del Windows han de fer servir " +"només LF com a final de línia, no CR LF." + +#, c-format +msgid "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." +msgstr "" +" AVÍS La versió del PPD %.1f és obsoleta!\n" +" REF: pàgina 42, secció 5.2." + +msgid "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" AVÍS El PCFileName és més llarg de 8.3 i viola les espec. del " +"PPD.\n" +" REF: pàgines 61-62, secció 5.3." + +msgid "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" AVÍS El PCFileName és més llarg de 8.3 i viola les espec. del " +"PPD.\n" +" REF: pàgines 61-62, secció 5.3." + +msgid "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" AVÍS Els protocols contenen el PJL però els atributs del JCL no " +"s'han definit.\n" +" REF: pàgines 78-79, secció 5.7." + +msgid "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" AVÍS Es protocols contenen tant el PJL com el BCP; s'esperava el " +"TBCP.\n" +" REF: pàgines 78-79, secció 5.7." + +msgid "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" AVÍS Es requereix un ShortNickName segons les espec.del PPD 4.3.\n" +" REF: pàgines 64-65, secció 5.3." + +#, c-format +msgid "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." +msgstr "" +" %s «%s %s» entra en conflicte amb «%s %s»\n" +" (restricció=«%s %s %s %s»)." + +#, c-format +msgid " %s %s %s does not exist." +msgstr " %s %s %s no existeix." + +#, c-format +msgid " %s %s file \"%s\" has the wrong capitalization." +msgstr " %s %s el fitxer «%s» fa un ús incorrecte de les majúscules." + +#, c-format +msgid "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s Mala %s elecció %s!\n" +" REF: pàgina 122, secció 5.17" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." +msgstr "" +" %s UTF-8 incorrecte «%s» a la traducció de l'opció %s, elecció %s." + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s." +msgstr " %s UTF-8 Incorrecte «%s» a la traducció de l'opció %s." + +#, c-format +msgid " %s Bad cupsFilter value \"%s\"." +msgstr " %s Valor incorrecte del cupsFilter «%s»." + +#, c-format +msgid " %s Bad cupsFilter2 value \"%s\"." +msgstr " %s Valor incorrecte del cupsFilter2 «%s»" + +#, c-format +msgid " %s Bad cupsICCProfile %s." +msgstr " %s cupsICCProfile incorrecte %s." + +#, c-format +msgid " %s Bad cupsPreFilter value \"%s\"." +msgstr " %s Valor de la cupsPreFilter incorrecte «%s»." + +#, c-format +msgid " %s Bad cupsUIConstraints %s: \"%s\"" +msgstr " %s cupsUIConstraints incorrecte %s: «%s»" + +#, c-format +msgid " %s Bad language \"%s\"." +msgstr " %s language incorrecte «%s»." + +#, c-format +msgid " %s Bad permissions on %s file \"%s\"." +msgstr " %s Permisos del fitxer %s incorrectes «%s»." + +#, c-format +msgid " %s Bad spelling of %s - should be %s." +msgstr " %s %s Està mal escrit: hauria de ser %s." + +#, c-format +msgid " %s Cannot provide both APScanAppPath and APScanAppBundleID." +msgstr " %s No hi pot haver APScanAppPath i APScanAppBundleID alhora." + +#, c-format +msgid " %s Default choices conflicting." +msgstr " %s Conflictes amb les opcions per defecte." + +#, c-format +msgid " %s Empty cupsUIConstraints %s" +msgstr " %s cupsUIConstraints buit %s" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s, choice %s." +msgstr " %s Falta la traducció de «%s» per l'opció %s, elecció %s." + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s." +msgstr " %s Falta la traducció de «%s» per l'opció %s." + +#, c-format +msgid " %s Missing %s file \"%s\"." +msgstr " %s Falta el fitxer %s «%s»." + +#, c-format +msgid "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." +msgstr "" +" %s Falta l'opció PageRegion NECESSÀRIA .\n" +" REF: pàgina 100, secció 5.14." + +#, c-format +msgid "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." +msgstr "" +" %s Falta l'opció PageSize NECESSÀRIA.\n" +" REF: pàgina 99, secció 5.14." + +#, c-format +msgid " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." +msgstr " %s Falta l'elecció *%s %s a UIConstraints «*%s %s *%s %s»." + +#, c-format +msgid " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" +msgstr " %s Falta l'elecció *%s %s a cupsUIConstraints %s: «%s»" + +#, c-format +msgid " %s Missing cupsUIResolver %s" +msgstr " %s Falta el cupsUIResolver %s" + +#, c-format +msgid " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." +msgstr " %s Falta l'opció %s a UIConstraints «*%s %s *%s %s»." + +#, c-format +msgid " %s Missing option %s in cupsUIConstraints %s: \"%s\"" +msgstr " %s Falta l'opció %s a cupsUIConstraints %s: «%s»" + +#, c-format +msgid " %s No base translation \"%s\" is included in file." +msgstr " %s No s'ha inclòs cap traducció de base «%s» al fitxer." + +#, c-format +msgid "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s NECESSARI %s no defineix l'eleció «Cap»!\n" +" REF: pàgina 122, secció 5.17" + +#, c-format +msgid " %s Size \"%s\" defined for %s but not for %s." +msgstr " %s Mida \"%s\" definida per %s però no per %s." + +#, c-format +msgid " %s Size \"%s\" has unexpected dimensions (%gx%g)." +msgstr " %s Mida \"%s\" té unes dimensions inesperades (%gx%g)." + +#, c-format +msgid " %s Size \"%s\" should be \"%s\"." +msgstr " %s Mida «%s» hauria de ser «%s»." + +#, c-format +msgid " %s Size \"%s\" should be the Adobe standard name \"%s\"." +msgstr " %s Mida \"%s\" hauria de ser el nom estàndard d'Adobe «%s»." + +#, c-format +msgid " %s cupsICCProfile %s hash value collides with %s." +msgstr " %s cupsICCProfile %s el valor resum (hash) col·lideix amb %s." + +#, c-format +msgid " %s cupsUIResolver %s causes a loop." +msgstr " %s cupsUIResolver %s entra en bucle." + +#, c-format +msgid "" +" %s cupsUIResolver %s does not list at least two different options." +msgstr "" +" %s cupsUIResolver %s no llista com a mínim dues opcions diferents." + +#, c-format +msgid "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" +msgstr "" +" **ERROR** %s ha de ser 1284DeviceID!\n" +" REF: pàgina 72, secció 5.5" + +#, c-format +msgid "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **ERROR** Default%s incorrecte %s\n" +" REF: pàgina 40, secció 4.5." + +#, c-format +msgid "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." +msgstr "" +" **ERROR** DefaultImageableArea incorrecte %s\n" +" REF: pàgina 102, secció 5.15." + +#, c-format +msgid "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." +msgstr "" +" **ERROR** DefaultPaperDimension incorrecte %s\n" +" REF: pàgina 103, secció 5.15." + +#, c-format +msgid "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **ERROR** FileVersion incorrecte «%s»\n" +" REF: pàgina 56, secció 5.3." + +#, c-format +msgid "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **ERROR** FormatVersion incorrecte «%s»\n" +" REF: pàgina 56, secció 5.3." + +msgid "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." +msgstr "" +" **ERROR** atribut de JobPatchFile incorrecte al fitxer\n" +" REF: pàgina 24, secció 3.4." + +#, c-format +msgid " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." +msgstr " **ERROR** LanguageEncoding incorrecte %s: ha de ser ISOLatin1." + +#, c-format +msgid " **FAIL** Bad LanguageVersion %s - must be English." +msgstr " **ERROR** LanguageVersion incorrecta %s: ha de ser anglès." + +#, c-format +msgid "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." +msgstr "" +" **ERROR** Manufacturer incorrecte (hauria de ser «%s»)\n" +" REF: pàgina 211, taula D.1." + +#, c-format +msgid "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **ERROR** ModelName incorrecte - no es permet «%c» a la cadena.\n" +" REF: pàgines 59-60, secció 5.3." + +msgid "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **ERROR** PSVersion incorrecte - no és «(cadena) enter».\n" +" REF: pàgines 62-64, secció 5.3." + +msgid "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." +msgstr "" +" **ERROR** Product incorrecte - no és «(cadena)».\n" +" REF: pàgina 62, secció 5.3." + +msgid "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" **ERROR** ShortNickName incorrecte - més llarg de 31 caràcters.\n" +" REF: pàgines 64-65, secció 5.3." + +#, c-format +msgid "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" +msgstr "" +" **ERROR** Elecció %s incorrecta %s\n" +" REF: pàgina 84, secció 5.9" + +#, c-format +msgid " **FAIL** Default option code cannot be interpreted: %s" +msgstr "" +" **ERROR** El codi de l'opció per defecte no es pot interpretar: %s" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s choice %s contains " +"8-bit characters." +msgstr "" +" **ERROR** La traducció per defecte de l'opció %s elecció %s conté " +"caràcters de 8 bits." + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s contains 8-bit " +"characters." +msgstr "" +" **ERROR** La traducció per defecte de l'opció %s conté caràcters de 8 " +"bits." + +#, c-format +msgid " **FAIL** Group names %s and %s differ only by case." +msgstr "" +" **ERROR** Els noms dels grups %s i %s només es diferencien en les " +"majúscules." + +#, c-format +msgid " **FAIL** Multiple occurrences of option %s choice name %s." +msgstr "" +" **ERROR** Coincidències múltiples de l'opció %s nom de l'elecció %s." + +#, c-format +msgid " **FAIL** Option %s choice names %s and %s differ only by case." +msgstr "" +" **ERROR** L'opció %s noms de les opcions %s i %s només es diferencien " +"per les majúscules." + +#, c-format +msgid " **FAIL** Option names %s and %s differ only by case." +msgstr "" +" **ERROR** Els noms de les opcions %s i %s només es diferencien per " +"les majúscules." + +#, c-format +msgid "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **ERROR** ES NECESSITA Default%s\n" +" REF: pàgina 40, secció 4.5." + +msgid "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." +msgstr "" +" **ERROR** ES NECESSITA DefaultImageableArea\n" +" REF: pàgina 102, secció 5.15." + +msgid "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." +msgstr "" +" **ERROR** ES NECESSITA DefaultPaperDimension\n" +" REF: pàgina 103, secció 5.15." + +msgid "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **ERROR** ES NECESSITA FileVersion\n" +" REF: pàgina 56, secció 5.3." + +msgid "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **ERROR** ES NECESSITA FormatVersion\n" +" REF: pàgina 56, secció 5.3." + +#, c-format +msgid "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." +msgstr "" +" **ERROR** ES NECESSITA ImageableArea per PageSize %s\n" +" REF: pàgina 41, secció 5.\n" +" REF: pàgina 102, secció 5.15." + +msgid "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" **ERROR** ES NECESSITA LanguageEncoding\n" +" REF: pàgines 56-57, secció 5.3." + +msgid "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." +msgstr "" +" **ERROR** ES NECESSITA LanguageVersion\n" +" REF: pàgines 57-58, secció 5.3." + +msgid "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" **ERROR** ES NECESSITA Manufacturer\n" +" REF: pàgines 58-59, secció 5.3." + +msgid "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **ERROR** ES NECESSITA ModelName\n" +" REF: pàgines 59-60, secció 5.3." + +msgid "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." +msgstr "" +" **ERROR** ES NECESSITA NickName\n" +" REF: pàgina 60, secció 5.3." + +msgid "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" **ERROR** ES NECESSITA PCFileName\n" +" REF: pàgines 61-62, secció 5.3." + +msgid "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **ERROR** ES NECESSITA PSVersion\n" +" REF: pàgines 62-64, secció 5.3." + +msgid "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." +msgstr "" +" **ERROR** ES NECESSITA PageRegion\n" +" REF: pàgina 100, secció 5.14." + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." +msgstr "" +" **ERROR** ES NECESSITA PageSize\n" +" REF: pàgina 41, secció 5.\n" +" REF: pàgina 99, secció 5.14." + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." +msgstr "" +" **ERROR** ES NECESSITA PageSize\n" +" REF: pàgines 99-100, secció 5.14." + +#, c-format +msgid "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." +msgstr "" +" **ERROR** ES NECESSITA PaperDimension per PageSize %s\n" +" REF: pàgina 41, secció 5.\n" +" REF: pàgina 103, secció 5.15." + +msgid "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." +msgstr "" +" **ERROR** ES NECESSITA Product\n" +" REF: pàgina 62, secció 5.3." + +msgid "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." +msgstr "" +" **FAIL** ES NECESSITA ShortNickName\n" +" REF: pàgina 64-65, secció 5.3." + +#, c-format +msgid " **FAIL** Unable to open PPD file - %s on line %d." +msgstr " **ERROR** No es pot obrir el fitxer PPD - %s a la línia %d." + +#, c-format +msgid " %d ERRORS FOUND" +msgstr " %d S'HAN TROBAT ERRORS" + +msgid " NO ERRORS FOUND" +msgstr " NO S'HA TROBAT CAP ERROR" + +msgid " --cr End lines with CR (Mac OS 9)." +msgstr " --cr Final de línia amb CR (Mac OS 9)." + +msgid " --crlf End lines with CR + LF (Windows)." +msgstr " --crlf Final de línia amb CR + LF (Windows)." + +msgid " --lf End lines with LF (UNIX/Linux/macOS)." +msgstr "" + +msgid " --list-filters List filters that will be used." +msgstr "" + +msgid " -D Remove the input file when finished." +msgstr " -D Elimina el fitxer d'entrada quan ha acabat." + +msgid " -D name=value Set named variable to value." +msgstr " -D nom=valor Estableix la variable indicada al valor." + +msgid " -I include-dir Add include directory to search path." +msgstr " -I dir-inclòs Afegeix el directori inclòs al camí de cerca." + +msgid " -P filename.ppd Set PPD file." +msgstr " -P nomfitxer.ppd Estableix el fitxer PPD." + +msgid " -U username Specify username." +msgstr " -U nomusuari Especifica un nom d'usuari." + +msgid " -c catalog.po Load the specified message catalog." +msgstr " -c catàleg.po Carrega el catàleg de missatges indicat." + +msgid " -c cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid " -d output-dir Specify the output directory." +msgstr " -d dir-sortida Especifica el directori de sortida." + +msgid " -d printer Use the named printer." +msgstr " -d impressora Fa servir la impressora indicada." + +msgid " -e Use every filter from the PPD file." +msgstr " -e Fa servir tots els filtres del fitxer PPD." + +msgid " -i mime/type Set input MIME type (otherwise auto-typed)." +msgstr "" +" -i tipus/mime Estableix el tipus MIME d'entrada (auto-typed si " +"no s'especifica)." + +msgid "" +" -j job-id[,N] Filter file N from the specified job (default is " +"file 1)." +msgstr "" +" -j id-feina[,N] Filtra el fitxer N a la feina especificada (el " +"fitxer per defecte és 1)." + +msgid " -l lang[,lang,...] Specify the output language(s) (locale)." +msgstr "" +" -l idioma[,idioma,...] Especifica els idiomes de sortida (locale)." + +msgid " -m Use the ModelName value as the filename." +msgstr "" +" -m Fa servir el valor de ModelName com a nom de " +"fitxer." + +msgid "" +" -m mime/type Set output MIME type (otherwise application/pdf)." +msgstr "" +" -m tipus/mime Estableix el tipus MIME de sortida (application/" +"pdf si no s'especifica)." + +msgid " -n copies Set number of copies." +msgstr " -n còpies Estableix el nombre de còpies." + +msgid "" +" -o filename.drv Set driver information file (otherwise ppdi.drv)." +msgstr "" +" -o nomfitxer.drv Estableix el fitxer d'informació del controlador " +"(ppdi.drv si no s'especifica)." + +msgid " -o filename.ppd[.gz] Set output file (otherwise stdout)." +msgstr "" +" -o nomfitxer.ppd[.gz] Estableix el fitxer de sortida (stdout si no " +"s'especifica)." + +msgid " -o name=value Set option(s)." +msgstr " -o nom=valor Estableix les opcions." + +msgid " -p filename.ppd Set PPD file." +msgstr " -p nomfitxer.ppd Estableix el fitxer PPD." + +msgid " -t Test PPDs instead of generating them." +msgstr " -t Prova els PPDs en comptes de generar-los." + +msgid " -t title Set title." +msgstr " -t títol Estableix el títol." + +msgid " -u Remove the PPD file when finished." +msgstr " -u Elimina el fitxer PPD quan ha acabat." + +msgid " -v Be verbose." +msgstr " -v Mode detallat." + +msgid " -z Compress PPD files using GNU zip." +msgstr "" +" -z Comprimeix els fitxers PPD fent servir el zip de " +"GNU." + +msgid " FAIL" +msgstr " ERROR" + +msgid " PASS" +msgstr " VÀLID" + +msgid "! expression Unary NOT of expression" +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section " +"5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section " +"8.1)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 " +"section 5.1.14)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section " +"5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be " +"positive (RFC 8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC " +"8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section " +"8.3)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." +msgstr "" + +msgid "\"requesting-user-name\" attribute in wrong group." +msgstr "" + +msgid "\"requesting-user-name\" attribute with wrong syntax." +msgstr "" + +#, c-format +msgid "%-7s %-7.7s %-7d %-31.31s %.0f bytes" +msgstr "%-7s %-7.7s %-7d %-31.31s %.0f bytes" + +#, c-format +msgid "%d x %d mm" +msgstr "" + +#, c-format +msgid "%g x %g \"" +msgstr "" + +#, c-format +msgid "%s (%s)" +msgstr "" + +#, c-format +msgid "%s (%s, %s)" +msgstr "" + +#, c-format +msgid "%s (Borderless)" +msgstr "" + +#, c-format +msgid "%s (Borderless, %s)" +msgstr "" + +#, c-format +msgid "%s (Borderless, %s, %s)" +msgstr "" + +#, c-format +msgid "%s accepting requests since %s" +msgstr "%s accepta peticions des de %s" + +#, c-format +msgid "%s cannot be changed." +msgstr "%s no es pot canviar." + +#, c-format +msgid "%s is not implemented by the CUPS version of lpc." +msgstr "%s no està implementat en la versió del CUPS del lpc." + +#, c-format +msgid "%s is not ready" +msgstr "%s no està preparada" + +#, c-format +msgid "%s is ready" +msgstr "%s està preparada" + +#, c-format +msgid "%s is ready and printing" +msgstr "%s està preparada i imprimeix" + +#, c-format +msgid "%s job-id user title copies options [file]" +msgstr "%s identificador-feina usuari títol còpies opcions [fitxer]" + +#, c-format +msgid "%s not accepting requests since %s -" +msgstr "%s no accepta peticions des de %s -" + +#, c-format +msgid "%s not supported." +msgstr "no és compatible amb l'ús de %s." + +#, c-format +msgid "%s/%s accepting requests since %s" +msgstr "%s/%s accepta peticions des de %s" + +#, c-format +msgid "%s/%s not accepting requests since %s -" +msgstr "%s/%s no accepta peticions des de %s -" + +#, c-format +msgid "%s: %-33.33s [job %d localhost]" +msgstr "%s: %-33.33s [feina %d localhost]" + +#. TRANSLATORS: Message is "subject: error" +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#, c-format +msgid "%s: %s failed: %s" +msgstr "%s: %s ha fallat: %s" + +#, c-format +msgid "%s: Bad printer URI \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Bad version %s for \"-V\"." +msgstr "" + +#, c-format +msgid "%s: Don't know what to do." +msgstr "%s: no sé que fer." + +#, c-format +msgid "%s: Error - %s" +msgstr "" + +#, c-format +msgid "" +"%s: Error - %s environment variable names non-existent destination \"%s\"." +msgstr "" +"%s: error - els noms de les variables d'entorn %s tenen un destí inexistent " +"«%s»." + +#, c-format +msgid "%s: Error - add '/version=1.1' to server name." +msgstr "" + +#, c-format +msgid "%s: Error - bad job ID." +msgstr "%s: error - ID de la feina incorrecte." + +#, c-format +msgid "%s: Error - cannot print files and alter jobs simultaneously." +msgstr "" +"%s: error - no es poden imprimir fitxers i modificar tasques al mateix temps." + +#, c-format +msgid "%s: Error - cannot print from stdin if files or a job ID are provided." +msgstr "" +"%s: error - no es pot imprimir des d'stdin si s'indiquen els fitxers o " +"l'identificador de la feina." + +#, c-format +msgid "%s: Error - copies must be 1 or more." +msgstr "" + +#, c-format +msgid "%s: Error - expected character set after \"-S\" option." +msgstr "" +"%s: error - s'esperava un conjunt de caràcters després de l'opció «-S»." + +#, c-format +msgid "%s: Error - expected content type after \"-T\" option." +msgstr "%s: error - s'esperava un tipus de contingut després de l'opció «-T»." + +#, c-format +msgid "%s: Error - expected copies after \"-#\" option." +msgstr "%s: error - s'esperaven còpies després de l'opció «-#»." + +#, c-format +msgid "%s: Error - expected copies after \"-n\" option." +msgstr "%s: error - s'esperaven còpies després de l'opció «-n»." + +#, c-format +msgid "%s: Error - expected destination after \"-P\" option." +msgstr "%s: error - s'esperava un destí després de l'opció «-P»." + +#, c-format +msgid "%s: Error - expected destination after \"-d\" option." +msgstr "%s: error - s'esperava un destí després de l'opció «-d»." + +#, c-format +msgid "%s: Error - expected form after \"-f\" option." +msgstr "%s: error - s'esperava un formulari després de l'opció «-f»." + +#, c-format +msgid "%s: Error - expected hold name after \"-H\" option." +msgstr "%s: error - s'esperava un nom per pausa després de l'opció «-H»." + +#, c-format +msgid "%s: Error - expected hostname after \"-H\" option." +msgstr "%s: error - s'esperava el nom de l'amfitrió després de l'opció «-H»." + +#, c-format +msgid "%s: Error - expected hostname after \"-h\" option." +msgstr "%s: error - s'esperava el nom de l'amfitrió després de l'opció «-h»." + +#, c-format +msgid "%s: Error - expected mode list after \"-y\" option." +msgstr "%s: error - s'esperava una llista de modes després de l'opció «-y»." + +#, c-format +msgid "%s: Error - expected name after \"-%c\" option." +msgstr "%s: error - s'esperava un nom després de l'opció «-%c»." + +#, c-format +msgid "%s: Error - expected option=value after \"-o\" option." +msgstr "%s: error - s'esperava opció=valor després de l'opció «-o»." + +#, c-format +msgid "%s: Error - expected page list after \"-P\" option." +msgstr "%s: error - s'esperava una llista de pàgines després de l'opció «-P»." + +#, c-format +msgid "%s: Error - expected priority after \"-%c\" option." +msgstr "%s: error - s'esperava una prioritat després de l'opció «-%c»." + +#, c-format +msgid "%s: Error - expected reason text after \"-r\" option." +msgstr "%s: error - s'esperava una explicació després de l'opció «-r»." + +#, c-format +msgid "%s: Error - expected title after \"-t\" option." +msgstr "%s: error - s'esperava un títol després de l'opció «-t»." + +#, c-format +msgid "%s: Error - expected username after \"-U\" option." +msgstr "%s: error - s'esperava un nom d'usuari després de l'opció «-U»." + +#, c-format +msgid "%s: Error - expected username after \"-u\" option." +msgstr "%s: error - s'esperava un nom d'usuari després de l'opció «-u»." + +#, c-format +msgid "%s: Error - expected value after \"-%c\" option." +msgstr "%s: error - s'esperava un valor després de l'opció «-%c»." + +#, c-format +msgid "" +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" " +"option." +msgstr "" +"%s: error - es requereix «completed», «not-completed», o «all» després de " +"l'opció «-W»." + +#, c-format +msgid "%s: Error - no default destination available." +msgstr "%s: error - no hi ha un destí per defecte." + +#, c-format +msgid "%s: Error - priority must be between 1 and 100." +msgstr "%s: error - la prioritat ha de ser entre 1 i 100." + +#, c-format +msgid "%s: Error - scheduler not responding." +msgstr "%s: error - el planificador no està responent." + +#, c-format +msgid "%s: Error - too many files - \"%s\"." +msgstr "%s: error - massa fitxers - «%s»." + +#, c-format +msgid "%s: Error - unable to access \"%s\" - %s" +msgstr "%s: error - no es pot accedir a «%s» - %s" + +#, c-format +msgid "%s: Error - unable to queue from stdin - %s." +msgstr "%s: error - no es pot posar en cua des d'stdin - %s." + +#, c-format +msgid "%s: Error - unknown destination \"%s\"." +msgstr "%s: error - el destí «%s» és desconegut." + +#, c-format +msgid "%s: Error - unknown destination \"%s/%s\"." +msgstr "%s: error - el destí «%s/%s» és desconegut." + +#, c-format +msgid "%s: Error - unknown option \"%c\"." +msgstr "%s: error - l'opció «%c» és desconeguda." + +#, c-format +msgid "%s: Error - unknown option \"%s\"." +msgstr "%s: error - l'opció «%s» és desconeguda." + +#, c-format +msgid "%s: Expected job ID after \"-i\" option." +msgstr "%s: s'esperava l'ID d'una feina després de l'opció «-i»." + +#, c-format +msgid "%s: Invalid destination name in list \"%s\"." +msgstr "%s: el nom del destí no és vàlid a la llista «%s»." + +#, c-format +msgid "%s: Invalid filter string \"%s\"." +msgstr "%s: la cadena del filtre «%s» no és vàlida." + +#, c-format +msgid "%s: Missing filename for \"-P\"." +msgstr "" + +#, c-format +msgid "%s: Missing timeout for \"-T\"." +msgstr "" + +#, c-format +msgid "%s: Missing version for \"-V\"." +msgstr "" + +#, c-format +msgid "%s: Need job ID (\"-i jobid\") before \"-H restart\"." +msgstr "%s: es necessita l'ID de la feina («-i jobid») abans de «-H restart»." + +#, c-format +msgid "%s: No filter to convert from %s/%s to %s/%s." +msgstr "%s: no hi ha cap filtre per convertir de %s/%s a %s/%s." + +#, c-format +msgid "%s: Operation failed: %s" +msgstr "%s: ha fallat l'operació: %s" + +#, c-format +msgid "%s: Sorry, no encryption support." +msgstr "%s: ho sento, no està compilada la compatibilitat pel xifrat." + +#, c-format +msgid "%s: Unable to connect to \"%s:%d\": %s" +msgstr "" + +#, c-format +msgid "%s: Unable to connect to server." +msgstr "%s: no es pot connectar al servidor." + +#, c-format +msgid "%s: Unable to contact server." +msgstr "%s: no es pot contactar amb el servidor." + +#, c-format +msgid "%s: Unable to create PPD file: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to determine MIME type of \"%s\"." +msgstr "%s: no es pot determinar el tips de MIME de «%s»." + +#, c-format +msgid "%s: Unable to open \"%s\": %s" +msgstr "" + +#, c-format +msgid "%s: Unable to open %s: %s" +msgstr "%s: no es pot obrir %s: %s" + +#, c-format +msgid "%s: Unable to open PPD file: %s on line %d." +msgstr "%s: no es pot obrir el fitxer PPD: %s a la línia %d." + +#, c-format +msgid "%s: Unable to query printer: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to read MIME database from \"%s\" or \"%s\"." +msgstr "%s: no es pot llegir la base de dades MIME de «%s» o «%s»." + +#, c-format +msgid "%s: Unable to resolve \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown argument \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown destination \"%s\"." +msgstr "%s: el destí «%s» és desconegut." + +#, c-format +msgid "%s: Unknown destination MIME type %s/%s." +msgstr "%s: es destí de tipus MIME %s/%s és desconegut." + +#, c-format +msgid "%s: Unknown option \"%c\"." +msgstr "%s: l'opció «%c» és desconeguda." + +#, c-format +msgid "%s: Unknown option \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown option \"-%c\"." +msgstr "" + +#, c-format +msgid "%s: Unknown source MIME type %s/%s." +msgstr "%s: la font del tipus de MIME %s/%s és desconeguda." + +#, c-format +msgid "" +"%s: Warning - \"%c\" format modifier not supported - output may not be " +"correct." +msgstr "" +"%s: avís - no és compatible amb l'ús del modificador de format «%c» - el " +"resultat pot no ser correcte." + +#, c-format +msgid "%s: Warning - character set option ignored." +msgstr "%s: avís - s'ignora l'opció del grup de caràcters." + +#, c-format +msgid "%s: Warning - content type option ignored." +msgstr "%s: avís - s'ignora l'opció de tipus de contingut." + +#, c-format +msgid "%s: Warning - form option ignored." +msgstr "%s: avís - s'ignora l'opció de formulari." + +#, c-format +msgid "%s: Warning - mode option ignored." +msgstr "%s: avís - s'ignora l'opció de mode." + +msgid "( expressions ) Group expressions" +msgstr "" + +msgid "- Cancel all jobs" +msgstr "" + +msgid "-# num-copies Specify the number of copies to print" +msgstr "" + +msgid "--[no-]debug-logging Turn debug logging on/off" +msgstr "" + +msgid "--[no-]remote-admin Turn remote administration on/off" +msgstr "" + +msgid "--[no-]remote-any Allow/prevent access from the Internet" +msgstr "" + +msgid "--[no-]share-printers Turn printer sharing on/off" +msgstr "" + +msgid "--[no-]user-cancel-any Allow/prevent users to cancel any job" +msgstr "" + +msgid "" +"--device-id device-id Show models matching the given IEEE 1284 device ID" +msgstr "" + +msgid "--domain regex Match domain to regular expression" +msgstr "" + +msgid "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" +msgstr "" + +msgid "" +"--exec utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "--false Always false" +msgstr "" + +msgid "--help Show program help" +msgstr "" + +msgid "--hold Hold new jobs" +msgstr "" + +msgid "--host regex Match hostname to regular expression" +msgstr "" + +msgid "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" +msgstr "" + +msgid "--ippserver filename Produce ippserver attribute file" +msgstr "" + +msgid "--language locale Show models matching the given locale" +msgstr "" + +msgid "--local True if service is local" +msgstr "" + +msgid "--ls List attributes" +msgstr "" + +msgid "" +"--make-and-model name Show models matching the given make and model name" +msgstr "" + +msgid "--name regex Match service name to regular expression" +msgstr "" + +msgid "--no-web-forms Disable web forms for media and supplies" +msgstr "" + +msgid "--not expression Unary NOT of expression" +msgstr "" + +msgid "--path regex Match resource path to regular expression" +msgstr "" + +msgid "--port number[-number] Match port to number or range" +msgstr "" + +msgid "--print Print URI if true" +msgstr "" + +msgid "--print-name Print service name if true" +msgstr "" + +msgid "" +"--product name Show models matching the given PostScript product" +msgstr "" + +msgid "--quiet Quietly report match via exit code" +msgstr "" + +msgid "--release Release previously held jobs" +msgstr "" + +msgid "--remote True if service is remote" +msgstr "" + +msgid "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" +msgstr "" + +msgid "" +"--timeout seconds Specify the maximum number of seconds to discover " +"devices" +msgstr "" + +msgid "--true Always true" +msgstr "" + +msgid "--txt key True if the TXT record contains the key" +msgstr "" + +msgid "--txt-* regex Match TXT record key to regular expression" +msgstr "" + +msgid "--uri regex Match URI to regular expression" +msgstr "" + +msgid "--version Show program version" +msgstr "" + +msgid "--version Show version" +msgstr "" + +msgid "-1" +msgstr "-1" + +msgid "-10" +msgstr "-10" + +msgid "-100" +msgstr "-100" + +msgid "-105" +msgstr "-105" + +msgid "-11" +msgstr "-11" + +msgid "-110" +msgstr "-110" + +msgid "-115" +msgstr "-115" + +msgid "-12" +msgstr "-12" + +msgid "-120" +msgstr "-120" + +msgid "-13" +msgstr "-13" + +msgid "-14" +msgstr "-14" + +msgid "-15" +msgstr "-15" + +msgid "-2" +msgstr "-2" + +msgid "-2 Set 2-sided printing support (default=1-sided)" +msgstr "" + +msgid "-20" +msgstr "-20" + +msgid "-25" +msgstr "-25" + +msgid "-3" +msgstr "-3" + +msgid "-30" +msgstr "-30" + +msgid "-35" +msgstr "-35" + +msgid "-4" +msgstr "-4" + +msgid "-4 Connect using IPv4" +msgstr "" + +msgid "-40" +msgstr "-40" + +msgid "-45" +msgstr "-45" + +msgid "-5" +msgstr "-5" + +msgid "-50" +msgstr "-50" + +msgid "-55" +msgstr "-55" + +msgid "-6" +msgstr "-6" + +msgid "-6 Connect using IPv6" +msgstr "" + +msgid "-60" +msgstr "-60" + +msgid "-65" +msgstr "-65" + +msgid "-7" +msgstr "-7" + +msgid "-70" +msgstr "-70" + +msgid "-75" +msgstr "-75" + +msgid "-8" +msgstr "-8" + +msgid "-80" +msgstr "-80" + +msgid "-85" +msgstr "-85" + +msgid "-9" +msgstr "-9" + +msgid "-90" +msgstr "-90" + +msgid "-95" +msgstr "-95" + +msgid "-C Send requests using chunking (default)" +msgstr "" + +msgid "-D description Specify the textual description of the printer" +msgstr "" + +msgid "-D device-uri Set the device URI for the printer" +msgstr "" + +msgid "" +"-E Enable and accept jobs on the printer (after -p)" +msgstr "" + +msgid "-E Encrypt the connection to the server" +msgstr "" + +msgid "-E Test with encryption using HTTP Upgrade to TLS" +msgstr "" + +msgid "-F Run in the foreground but detach from console." +msgstr "" + +msgid "-F output-type/subtype Set the output format for the printer" +msgstr "" + +msgid "-H Show the default server and port" +msgstr "" + +msgid "-H HH:MM Hold the job until the specified UTC time" +msgstr "" + +msgid "-H hold Hold the job until released/resumed" +msgstr "" + +msgid "-H immediate Print the job as soon as possible" +msgstr "" + +msgid "-H restart Reprint the job" +msgstr "" + +msgid "-H resume Resume a held job" +msgstr "" + +msgid "-H server[:port] Connect to the named server and port" +msgstr "" + +msgid "-I Ignore errors" +msgstr "" + +msgid "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" +msgstr "" + +msgid "" +"-K keypath Set location of server X.509 certificates and keys." +msgstr "" + +msgid "-L Send requests using content-length" +msgstr "" + +msgid "-L location Specify the textual location of the printer" +msgstr "" + +msgid "-M manufacturer Set manufacturer name (default=Test)" +msgstr "" + +msgid "-P destination Show status for the specified destination" +msgstr "" + +msgid "-P destination Specify the destination" +msgstr "" + +msgid "" +"-P filename.plist Produce XML plist to a file and test report to " +"standard output" +msgstr "" + +msgid "-P filename.ppd Load printer attributes from PPD file" +msgstr "" + +msgid "-P number[-number] Match port to number or range" +msgstr "" + +msgid "-P page-list Specify a list of pages to print" +msgstr "" + +msgid "-R Show the ranking of jobs" +msgstr "" + +msgid "-R name-default Remove the default value for the named option" +msgstr "" + +msgid "-R root-directory Set alternate root" +msgstr "" + +msgid "-S Test with encryption using HTTPS" +msgstr "" + +msgid "-T seconds Set the browse timeout in seconds" +msgstr "" + +msgid "-T seconds Set the receive/send timeout in seconds" +msgstr "" + +msgid "-T title Specify the job title" +msgstr "" + +msgid "-U username Specify the username to use for authentication" +msgstr "" + +msgid "-U username Specify username to use for authentication" +msgstr "" + +msgid "-V version Set default IPP version" +msgstr "" + +msgid "-W completed Show completed jobs" +msgstr "" + +msgid "-W not-completed Show pending jobs" +msgstr "" + +msgid "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes," +"translations}\n" +" Issue warnings instead of errors" +msgstr "" + +msgid "-X Produce XML plist instead of plain text" +msgstr "" + +msgid "-a Cancel all jobs" +msgstr "" + +msgid "-a Show jobs on all destinations" +msgstr "" + +msgid "-a [destination(s)] Show the accepting state of destinations" +msgstr "" + +msgid "-a filename.conf Load printer attributes from conf file" +msgstr "" + +msgid "-c Make a copy of the print file(s)" +msgstr "" + +msgid "-c Produce CSV output" +msgstr "" + +msgid "-c [class(es)] Show classes and their member printers" +msgstr "" + +msgid "-c class Add the named destination to a class" +msgstr "" + +msgid "-c command Set print command" +msgstr "" + +msgid "-c cupsd.conf Set cupsd.conf file to use." +msgstr "" + +msgid "-d Show the default destination" +msgstr "" + +msgid "-d destination Set default destination" +msgstr "" + +msgid "-d destination Set the named destination as the server default" +msgstr "" + +msgid "-d name=value Set named variable to value" +msgstr "" + +msgid "-d regex Match domain to regular expression" +msgstr "" + +msgid "-d spool-directory Set spool directory" +msgstr "" + +msgid "-e Show available destinations on the network" +msgstr "" + +msgid "-f Run in the foreground." +msgstr "" + +msgid "-f filename Set default request filename" +msgstr "" + +msgid "-f type/subtype[,...] Set supported file types" +msgstr "" + +msgid "-h Show this usage message." +msgstr "" + +msgid "-h Validate HTTP response headers" +msgstr "" + +msgid "-h regex Match hostname to regular expression" +msgstr "" + +msgid "-h server[:port] Connect to the named server and port" +msgstr "" + +msgid "-i iconfile.png Set icon file" +msgstr "" + +msgid "-i id Specify an existing job ID to modify" +msgstr "" + +msgid "-i ppd-file Specify a PPD file for the printer" +msgstr "" + +msgid "" +"-i seconds Repeat the last file with the given time interval" +msgstr "" + +msgid "-k Keep job spool files" +msgstr "" + +msgid "-l List attributes" +msgstr "" + +msgid "-l Produce plain text output" +msgstr "" + +msgid "-l Run cupsd on demand." +msgstr "" + +msgid "-l Show supported options and values" +msgstr "" + +msgid "-l Show verbose (long) output" +msgstr "" + +msgid "-l location Set location of printer" +msgstr "" + +msgid "" +"-m Send an email notification when the job completes" +msgstr "" + +msgid "-m Show models" +msgstr "" + +msgid "" +"-m everywhere Specify the printer is compatible with IPP Everywhere" +msgstr "" + +msgid "-m model Set model name (default=Printer)" +msgstr "" + +msgid "" +"-m model Specify a standard model/PPD file for the printer" +msgstr "" + +msgid "-n count Repeat the last file the given number of times" +msgstr "" + +msgid "-n hostname Set hostname for printer" +msgstr "" + +msgid "-n num-copies Specify the number of copies to print" +msgstr "" + +msgid "-n regex Match service name to regular expression" +msgstr "" + +msgid "" +"-o Name=Value Specify the default value for the named PPD option " +msgstr "" + +msgid "-o [destination(s)] Show jobs" +msgstr "" + +msgid "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" +msgstr "" + +msgid "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" +msgstr "" + +msgid "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" +msgstr "" + +msgid "-o job-page-limit=N Specify the page limit for per-user quotas" +msgstr "" + +msgid "-o job-quota-period=N Specify the per-user quota period in seconds" +msgstr "" + +msgid "-o job-sheets=standard Print a banner page with the job" +msgstr "" + +msgid "-o media=size Specify the media size to use" +msgstr "" + +msgid "-o name-default=value Specify the default value for the named option" +msgstr "" + +msgid "-o name[=value] Set default option and value" +msgstr "" + +msgid "" +"-o number-up=N Specify that input pages should be printed N-up (1, " +"2, 4, 6, 9, and 16 are supported)" +msgstr "" + +msgid "-o option[=value] Specify a printer-specific option" +msgstr "" + +msgid "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" +msgstr "" + +msgid "" +"-o print-quality=N Specify the print quality - draft (3), normal (4), " +"or best (5)" +msgstr "" + +msgid "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" +msgstr "" + +msgid "" +"-o printer-is-shared=true\n" +" Share the printer" +msgstr "" + +msgid "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" +msgstr "" + +msgid "-o sides=one-sided Specify 1-sided printing" +msgstr "" + +msgid "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" +msgstr "" + +msgid "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" +msgstr "" + +msgid "-p Print URI if true" +msgstr "" + +msgid "-p [printer(s)] Show the processing state of destinations" +msgstr "" + +msgid "-p destination Specify a destination" +msgstr "" + +msgid "-p destination Specify/add the named destination" +msgstr "" + +msgid "-p port Set port number for printer" +msgstr "" + +msgid "-q Quietly report match via exit code" +msgstr "" + +msgid "-q Run silently" +msgstr "" + +msgid "-q Specify the job should be held for printing" +msgstr "" + +msgid "-q priority Specify the priority from low (1) to high (100)" +msgstr "" + +msgid "-r Remove the file(s) after submission" +msgstr "" + +msgid "-r Show whether the CUPS server is running" +msgstr "" + +msgid "-r True if service is remote" +msgstr "" + +msgid "-r Use 'relaxed' open mode" +msgstr "" + +msgid "-r class Remove the named destination from a class" +msgstr "" + +msgid "-r reason Specify a reason message that others can see" +msgstr "" + +msgid "-r subtype,[subtype] Set DNS-SD service subtype" +msgstr "" + +msgid "-s Be silent" +msgstr "" + +msgid "-s Print service name if true" +msgstr "" + +msgid "-s Show a status summary" +msgstr "" + +msgid "-s cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid "-s speed[,color-speed] Set speed in pages per minute" +msgstr "" + +msgid "-t Produce a test report" +msgstr "" + +msgid "-t Show all status information" +msgstr "" + +msgid "-t Test the configuration file." +msgstr "" + +msgid "-t key True if the TXT record contains the key" +msgstr "" + +msgid "-t title Specify the job title" +msgstr "" + +msgid "" +"-u [user(s)] Show jobs queued by the current or specified users" +msgstr "" + +msgid "-u allow:all Allow all users to print" +msgstr "" + +msgid "" +"-u allow:list Allow the list of users or groups (@name) to print" +msgstr "" + +msgid "" +"-u deny:list Prevent the list of users or groups (@name) to print" +msgstr "" + +msgid "-u owner Specify the owner to use for jobs" +msgstr "" + +msgid "-u regex Match URI to regular expression" +msgstr "" + +msgid "-v Be verbose" +msgstr "" + +msgid "-v Show devices" +msgstr "" + +msgid "-v [printer(s)] Show the devices for each destination" +msgstr "" + +msgid "-v device-uri Specify the device URI for the printer" +msgstr "" + +msgid "-vv Be very verbose" +msgstr "" + +msgid "-x Purge jobs rather than just canceling" +msgstr "" + +msgid "-x destination Remove default options for destination" +msgstr "" + +msgid "-x destination Remove the named destination" +msgstr "" + +msgid "" +"-x utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "/etc/cups/lpoptions file names default destination that does not exist." +msgstr "" + +msgid "0" +msgstr "0" + +msgid "1" +msgstr "1" + +msgid "1 inch/sec." +msgstr "1 polzada/seg." + +msgid "1.25x0.25\"" +msgstr "1.25x0.25\"" + +msgid "1.25x2.25\"" +msgstr "1.25x2.25\"" + +msgid "1.5 inch/sec." +msgstr "1.5 polzades/seg." + +msgid "1.50x0.25\"" +msgstr "1.50x0.25\"" + +msgid "1.50x0.50\"" +msgstr "1.50x0.50\"" + +msgid "1.50x1.00\"" +msgstr "1.50x1.00\"" + +msgid "1.50x2.00\"" +msgstr "1.50x2.00\"" + +msgid "10" +msgstr "10" + +msgid "10 inches/sec." +msgstr "10 polzades/seg." + +msgid "10 x 11" +msgstr "10 x 11" + +msgid "10 x 13" +msgstr "10 x 13" + +msgid "10 x 14" +msgstr "10 x 14" + +msgid "100" +msgstr "100" + +msgid "100 mm/sec." +msgstr "100 mm/seg." + +msgid "105" +msgstr "105" + +msgid "11" +msgstr "11" + +msgid "11 inches/sec." +msgstr "11 polzades/seg." + +msgid "110" +msgstr "110" + +msgid "115" +msgstr "115" + +msgid "12" +msgstr "12" + +msgid "12 inches/sec." +msgstr "12 polzades/seg." + +msgid "12 x 11" +msgstr "12 x 11" + +msgid "120" +msgstr "120" + +msgid "120 mm/sec." +msgstr "120 mm/seg." + +msgid "120x60dpi" +msgstr "120x60ppp" + +msgid "120x72dpi" +msgstr "120x72ppp" + +msgid "13" +msgstr "13" + +msgid "136dpi" +msgstr "136ppp" + +msgid "14" +msgstr "14" + +msgid "15" +msgstr "15" + +msgid "15 mm/sec." +msgstr "15 mm/seg." + +msgid "15 x 11" +msgstr "15 x 11" + +msgid "150 mm/sec." +msgstr "150 mm/seg." + +msgid "150dpi" +msgstr "150ppp" + +msgid "16" +msgstr "16" + +msgid "17" +msgstr "17" + +msgid "18" +msgstr "18" + +msgid "180dpi" +msgstr "180ppp" + +msgid "19" +msgstr "19" + +msgid "2" +msgstr "2" + +msgid "2 inches/sec." +msgstr "2 polzades/seg." + +msgid "2-Sided Printing" +msgstr "Impressió a doble cara" + +msgid "2.00x0.37\"" +msgstr "2.00x0.37\"" + +msgid "2.00x0.50\"" +msgstr "2.00x0.50\"" + +msgid "2.00x1.00\"" +msgstr "2.00x1.00\"" + +msgid "2.00x1.25\"" +msgstr "2.00x1.25\"" + +msgid "2.00x2.00\"" +msgstr "2.00x2.00\"" + +msgid "2.00x3.00\"" +msgstr "2.00x3.00\"" + +msgid "2.00x4.00\"" +msgstr "2.00x4.00\"" + +msgid "2.00x5.50\"" +msgstr "2.00x5.50\"" + +msgid "2.25x0.50\"" +msgstr "2.25x0.50\"" + +msgid "2.25x1.25\"" +msgstr "2.25x1.25\"" + +msgid "2.25x4.00\"" +msgstr "2.25x4.00\"" + +msgid "2.25x5.50\"" +msgstr "2.25x5.50\"" + +msgid "2.38x5.50\"" +msgstr "2.38x5.50\"" + +msgid "2.5 inches/sec." +msgstr "2.5 polzades/seg." + +msgid "2.50x1.00\"" +msgstr "2.50x1.00\"" + +msgid "2.50x2.00\"" +msgstr "2.50x2.00\"" + +msgid "2.75x1.25\"" +msgstr "2.75x1.25\"" + +msgid "2.9 x 1\"" +msgstr "2.9 x 1\"" + +msgid "20" +msgstr "20" + +msgid "20 mm/sec." +msgstr "20 mm/seg." + +msgid "200 mm/sec." +msgstr "200 mm/seg." + +msgid "203dpi" +msgstr "203ppp" + +msgid "21" +msgstr "21" + +msgid "22" +msgstr "22" + +msgid "23" +msgstr "23" + +msgid "24" +msgstr "24" + +msgid "24-Pin Series" +msgstr "Sèrie de 24 pins" + +msgid "240x72dpi" +msgstr "240x72ppp" + +msgid "25" +msgstr "25" + +msgid "250 mm/sec." +msgstr "250 mm/seg." + +msgid "26" +msgstr "26" + +msgid "27" +msgstr "27" + +msgid "28" +msgstr "28" + +msgid "29" +msgstr "29" + +msgid "3" +msgstr "3" + +msgid "3 inches/sec." +msgstr "3 polzades/seg." + +msgid "3 x 5" +msgstr "3 x 5" + +msgid "3.00x1.00\"" +msgstr "3.00x1.00\"" + +msgid "3.00x1.25\"" +msgstr "3.00x1.25\"" + +msgid "3.00x2.00\"" +msgstr "3.00x2.00\"" + +msgid "3.00x3.00\"" +msgstr "3.00x3.00\"" + +msgid "3.00x5.00\"" +msgstr "3.00x5.00\"" + +msgid "3.25x2.00\"" +msgstr "3.25x2.00\"" + +msgid "3.25x5.00\"" +msgstr "3.25x5.00\"" + +msgid "3.25x5.50\"" +msgstr "3.25x5.50\"" + +msgid "3.25x5.83\"" +msgstr "3.25x5.83\"" + +msgid "3.25x7.83\"" +msgstr "3.25x7.83\"" + +msgid "3.5 x 5" +msgstr "3.5 x 5" + +msgid "3.5\" Disk" +msgstr "Disc de 3.5\"" + +msgid "3.50x1.00\"" +msgstr "3.5x1.00\"" + +msgid "30" +msgstr "30" + +msgid "30 mm/sec." +msgstr "30 mm/seg." + +msgid "300 mm/sec." +msgstr "300 mm/seg." + +msgid "300dpi" +msgstr "300ppp" + +msgid "35" +msgstr "35" + +msgid "360dpi" +msgstr "360ppp" + +msgid "360x180dpi" +msgstr "360x180ppp" + +msgid "4" +msgstr "4" + +msgid "4 inches/sec." +msgstr "4 polzades/seg." + +msgid "4.00x1.00\"" +msgstr "4.00x1.00\"" + +msgid "4.00x13.00\"" +msgstr "4.00x13.00\"" + +msgid "4.00x2.00\"" +msgstr "4.00x2.00\"" + +msgid "4.00x2.50\"" +msgstr "4.00x2.50\"" + +msgid "4.00x3.00\"" +msgstr "4.00x3.00\"" + +msgid "4.00x4.00\"" +msgstr "4.00x4.00\"" + +msgid "4.00x5.00\"" +msgstr "4.00x5.00\"" + +msgid "4.00x6.00\"" +msgstr "4.00x6.00\"" + +msgid "4.00x6.50\"" +msgstr "4.00x6.50\"" + +msgid "40" +msgstr "40" + +msgid "40 mm/sec." +msgstr "40 mm/seg." + +msgid "45" +msgstr "45" + +msgid "5" +msgstr "5" + +msgid "5 inches/sec." +msgstr "5 polzades/seg." + +msgid "5 x 7" +msgstr "15 x 11" + +msgid "50" +msgstr "50" + +msgid "55" +msgstr "55" + +msgid "6" +msgstr "6" + +msgid "6 inches/sec." +msgstr "6 polzades/seg." + +msgid "6.00x1.00\"" +msgstr "6.00x1.00\"" + +msgid "6.00x2.00\"" +msgstr "6.00x2.00\"" + +msgid "6.00x3.00\"" +msgstr "6.00x3.00\"" + +msgid "6.00x4.00\"" +msgstr "6.00x4.00\"" + +msgid "6.00x5.00\"" +msgstr "6.00x5.00\"" + +msgid "6.00x6.00\"" +msgstr "6.00x6.00\"" + +msgid "6.00x6.50\"" +msgstr "6.00x6.50\"" + +msgid "60" +msgstr "60" + +msgid "60 mm/sec." +msgstr "60 mm/seg." + +msgid "600dpi" +msgstr "600ppp" + +msgid "60dpi" +msgstr "60ppp" + +msgid "60x72dpi" +msgstr "60x72ppp" + +msgid "65" +msgstr "65" + +msgid "7" +msgstr "7" + +msgid "7 inches/sec." +msgstr "7 polzades/seg." + +msgid "7 x 9" +msgstr "7 x 9" + +msgid "70" +msgstr "70" + +msgid "75" +msgstr "75" + +msgid "8" +msgstr "8" + +msgid "8 inches/sec." +msgstr "8 polzades/seg." + +msgid "8 x 10" +msgstr "8 x 10" + +msgid "8.00x1.00\"" +msgstr "8.00x1.00\"" + +msgid "8.00x2.00\"" +msgstr "8.00x2.00\"" + +msgid "8.00x3.00\"" +msgstr "8.00x3.00\"" + +msgid "8.00x4.00\"" +msgstr "8.00x4.00\"" + +msgid "8.00x5.00\"" +msgstr "8.00x5.00\"" + +msgid "8.00x6.00\"" +msgstr "8.00x6.00\"" + +msgid "8.00x6.50\"" +msgstr "8.00x6.50\"" + +msgid "80" +msgstr "80" + +msgid "80 mm/sec." +msgstr "80 mm/seg." + +msgid "85" +msgstr "85" + +msgid "9" +msgstr "9" + +msgid "9 inches/sec." +msgstr "9 polzades/seg." + +msgid "9 x 11" +msgstr "9 x 11" + +msgid "9 x 12" +msgstr "9 x 12" + +msgid "9-Pin Series" +msgstr "Sèrie de 9 pins" + +msgid "90" +msgstr "90" + +msgid "95" +msgstr "95" + +msgid "?Invalid help command unknown." +msgstr "?Comanda d'ajuda no vàlida desconeguda." + +#, c-format +msgid "A class named \"%s\" already exists." +msgstr "Ja existeix una classe anomenada «%s»." + +#, c-format +msgid "A printer named \"%s\" already exists." +msgstr "Ja existeix una impressora anomenada «%s»." + +msgid "A0" +msgstr "A0" + +msgid "A0 Long Edge" +msgstr "A0 costat llarg" + +msgid "A1" +msgstr "A1" + +msgid "A1 Long Edge" +msgstr "A1 costat llarg" + +msgid "A10" +msgstr "A10" + +msgid "A2" +msgstr "A2" + +msgid "A2 Long Edge" +msgstr "A2 costat llarg" + +msgid "A3" +msgstr "A3" + +msgid "A3 Long Edge" +msgstr "A3 costat llarg" + +msgid "A3 Oversize" +msgstr "A3 estès" + +msgid "A3 Oversize Long Edge" +msgstr "A3 estès pel costat llarg" + +msgid "A4" +msgstr "A4" + +msgid "A4 Long Edge" +msgstr "A4 costat llarg" + +msgid "A4 Oversize" +msgstr "A4 estès" + +msgid "A4 Small" +msgstr "A4 reduït" + +msgid "A5" +msgstr "A5" + +msgid "A5 Long Edge" +msgstr "A5 costat llarg" + +msgid "A5 Oversize" +msgstr "A5 estès" + +msgid "A6" +msgstr "A6" + +msgid "A6 Long Edge" +msgstr "A6 costat llarg" + +msgid "A7" +msgstr "A7" + +msgid "A8" +msgstr "A8" + +msgid "A9" +msgstr "A9" + +msgid "ANSI A" +msgstr "ANSI A" + +msgid "ANSI B" +msgstr "ANSI B" + +msgid "ANSI C" +msgstr "ANSI C" + +msgid "ANSI D" +msgstr "ANSI D" + +msgid "ANSI E" +msgstr "ANSI E" + +msgid "ARCH C" +msgstr "ARCH C" + +msgid "ARCH C Long Edge" +msgstr "ARCH C costat llarg" + +msgid "ARCH D" +msgstr "ARCH D" + +msgid "ARCH D Long Edge" +msgstr "ARCH D costat llarg" + +msgid "ARCH E" +msgstr "ARCH E" + +msgid "ARCH E Long Edge" +msgstr "ARCH E costat llarg" + +msgid "Accept Jobs" +msgstr "Accepta feines" + +msgid "Accepted" +msgstr "Acceptada" + +msgid "Add Class" +msgstr "Afegeix una classe" + +msgid "Add Printer" +msgstr "Afegeix una impressora" + +msgid "Address" +msgstr "Adreça" + +msgid "Administration" +msgstr "Administració" + +msgid "Always" +msgstr "Sempre" + +msgid "AppSocket/HP JetDirect" +msgstr "AppSocket/HP JetDirect" + +msgid "Applicator" +msgstr "Aplicador" + +#, c-format +msgid "Attempt to set %s printer-state to bad value %d." +msgstr "" +"S'ha intentat posar l'estat de la impressora %s a un valor incorrecte %d." + +#, c-format +msgid "Attribute \"%s\" is in the wrong group." +msgstr "" + +#, c-format +msgid "Attribute \"%s\" is the wrong value type." +msgstr "" + +#, c-format +msgid "Attribute groups are out of order (%x < %x)." +msgstr "Grups d'atribut desordenats (%x < %x)." + +msgid "B0" +msgstr "B0" + +msgid "B1" +msgstr "B1" + +msgid "B10" +msgstr "B10" + +msgid "B2" +msgstr "B2" + +msgid "B3" +msgstr "B3" + +msgid "B4" +msgstr "B4" + +msgid "B5" +msgstr "B5" + +msgid "B5 Oversize" +msgstr "A5 estès" + +msgid "B6" +msgstr "B6" + +msgid "B7" +msgstr "B7" + +msgid "B8" +msgstr "B8" + +msgid "B9" +msgstr "B9" + +#, c-format +msgid "Bad \"printer-id\" value %d." +msgstr "" + +#, c-format +msgid "Bad '%s' value." +msgstr "" + +#, c-format +msgid "Bad 'document-format' value \"%s\"." +msgstr "" + +msgid "Bad CloseUI/JCLCloseUI" +msgstr "" + +msgid "Bad NULL dests pointer" +msgstr "El punter de dests NULL és incorrecte" + +msgid "Bad OpenGroup" +msgstr "La OpenGroup és incorrecta" + +msgid "Bad OpenUI/JCLOpenUI" +msgstr "La OpenUI/JCLOpenUI és incorrecta" + +msgid "Bad OrderDependency" +msgstr "La OrderDependency és incorrecta" + +msgid "Bad PPD cache file." +msgstr "El fitxer PPD de memòria cau és incorrecte." + +msgid "Bad PPD file." +msgstr "" + +msgid "Bad Request" +msgstr "La petició és incorrecta" + +msgid "Bad SNMP version number" +msgstr "El número de versió del SNMP és incorrecte" + +msgid "Bad UIConstraints" +msgstr "La UIConstraints és incorrecta" + +msgid "Bad URI." +msgstr "" + +msgid "Bad arguments to function" +msgstr "" + +#, c-format +msgid "Bad copies value %d." +msgstr "El valor de copies %d és incorrecte" + +msgid "Bad custom parameter" +msgstr "El paràmetre personalitzat és incorrecte" + +#, c-format +msgid "Bad device-uri \"%s\"." +msgstr "La device-uri «%s» és incorrecta." + +#, c-format +msgid "Bad device-uri scheme \"%s\"." +msgstr "L'esquema «%s» de la device-uri és incorrecte." + +#, c-format +msgid "Bad document-format \"%s\"." +msgstr "La document-format «%s» és incorrecta." + +#, c-format +msgid "Bad document-format-default \"%s\"." +msgstr "La document-format-default «%s» és incorrecta." + +msgid "Bad filename buffer" +msgstr "El nom del fitxer de la memòria cau és incorrecte" + +msgid "Bad hostname/address in URI" +msgstr "" + +#, c-format +msgid "Bad job-name value: %s" +msgstr "" + +msgid "Bad job-name value: Wrong type or count." +msgstr "" + +msgid "Bad job-priority value." +msgstr "El valor de la job-priority és incorrecte." + +#, c-format +msgid "Bad job-sheets value \"%s\"." +msgstr "El valor «%s» de la job-sheets és incorrecte." + +msgid "Bad job-sheets value type." +msgstr "El tipus de valor de la job-sheets és incorrecte." + +msgid "Bad job-state value." +msgstr "El valor de la job-state és incorrecte." + +#, c-format +msgid "Bad job-uri \"%s\"." +msgstr "La job-uri «%s» és incorrecta." + +#, c-format +msgid "Bad notify-pull-method \"%s\"." +msgstr "La notify-pull-method «%s» és incorrecta." + +#, c-format +msgid "Bad notify-recipient-uri \"%s\"." +msgstr "La notify-recipient-uri «%s» és incorrecta." + +#, c-format +msgid "Bad notify-user-data \"%s\"." +msgstr "" + +#, c-format +msgid "Bad number-up value %d." +msgstr "El valor de number-up %d és incorrecte." + +#, c-format +msgid "Bad page-ranges values %d-%d." +msgstr "Els valors de page-ranges %d-%d són incorrectes." + +msgid "Bad port number in URI" +msgstr "" + +#, c-format +msgid "Bad port-monitor \"%s\"." +msgstr "La port-monitor «%s» és incorrecta." + +#, c-format +msgid "Bad printer-state value %d." +msgstr "El valor %d de printer-state és incorrecte." + +msgid "Bad printer-uri." +msgstr "" + +#, c-format +msgid "Bad request ID %d." +msgstr "L'identificador %d de la sol·licitud és incorrecte." + +#, c-format +msgid "Bad request version number %d.%d." +msgstr "El número de versió %d.%d de la sol·licitud és incorrecte." + +msgid "Bad resource in URI" +msgstr "" + +msgid "Bad scheme in URI" +msgstr "" + +msgid "Bad username in URI" +msgstr "" + +msgid "Bad value string" +msgstr "El valor de la cadena és incorrecte" + +msgid "Bad/empty URI" +msgstr "" + +msgid "Banners" +msgstr "Bàners" + +msgid "Bond Paper" +msgstr "Paper de valors" + +msgid "Booklet" +msgstr "" + +#, c-format +msgid "Boolean expected for waiteof option \"%s\"." +msgstr "S'esperava un booleà per l'opció waiteof «%s»." + +msgid "Buffer overflow detected, aborting." +msgstr "S'ha detectat un desbordament la memòria cau. S'interromp." + +msgid "CMYK" +msgstr "CMYK" + +msgid "CPCL Label Printer" +msgstr "Impressora d'etiquetes CPCL" + +msgid "Cancel Jobs" +msgstr "" + +msgid "Canceling print job." +msgstr "Es cancel·la feina." + +msgid "Cannot change printer-is-shared for remote queues." +msgstr "" + +msgid "Cannot share a remote Kerberized printer." +msgstr "No es pot compartir una impressora remota sobre Kerberos." + +msgid "Cassette" +msgstr "Classet" + +msgid "Change Settings" +msgstr "Canvia la configuració" + +#, c-format +msgid "Character set \"%s\" not supported." +msgstr "No es permet l'ús del grup de caràcters «%s»." + +msgid "Classes" +msgstr "Classes" + +msgid "Clean Print Heads" +msgstr "Neteja els capçals de la impressora" + +msgid "Close-Job doesn't support the job-uri attribute." +msgstr "Close-Job no permet l'ús de l'atribut job-uri." + +msgid "Color" +msgstr "Color" + +msgid "Color Mode" +msgstr "Mode de color" + +msgid "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" +msgstr "" +"Les ordres han de ser abreujades. Poden ser:\n" +"\n" +"exit help quit status ?" + +msgid "Community name uses indefinite length" +msgstr "Els noms de comunitat tenen longitud indefinida" + +msgid "Connected to printer." +msgstr "S'ha connectat a la impressora." + +msgid "Connecting to printer." +msgstr "Es connecta a la impressora." + +msgid "Continue" +msgstr "Continua" + +msgid "Continuous" +msgstr "Contínua" + +msgid "Control file sent successfully." +msgstr "El fitxer de control s'ha enviat correctament." + +msgid "Copying print data." +msgstr "Es copien les dades d'impressió." + +msgid "Created" +msgstr "Creat" + +msgid "Credentials do not validate against site CA certificate." +msgstr "" + +msgid "Credentials have expired." +msgstr "" + +msgid "Custom" +msgstr "Personalitzat" + +msgid "CustominCutInterval" +msgstr "CustominCutInterval" + +msgid "CustominTearInterval" +msgstr "CustominTearInterval" + +msgid "Cut" +msgstr "Tall" + +msgid "Cutter" +msgstr "Ganiveta" + +msgid "Dark" +msgstr "Fosc" + +msgid "Darkness" +msgstr "Foscor" + +msgid "Data file sent successfully." +msgstr "El fitxer de dades s'ha enviat correctament." + +msgid "Deep Color" +msgstr "" + +msgid "Deep Gray" +msgstr "" + +msgid "Delete Class" +msgstr "Elimina la classe" + +msgid "Delete Printer" +msgstr "Elimina la impressora" + +msgid "DeskJet Series" +msgstr "Sèrie Deskjet" + +#, c-format +msgid "Destination \"%s\" is not accepting jobs." +msgstr "El Destí «%s» no accepta tasques." + +msgid "Device CMYK" +msgstr "" + +msgid "Device Gray" +msgstr "" + +msgid "Device RGB" +msgstr "" + +#, c-format +msgid "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" +msgstr "" +"Dispositiu: uri = %s\n" +" classe = %s\n" +" informació = %s\n" +" fabricant i model = %s\n" +" identificador = %s\n" +" ubicació = %s" + +msgid "Direct Thermal Media" +msgstr "Paper per impressió tèrmica directa" + +#, c-format +msgid "Directory \"%s\" contains a relative path." +msgstr "El directori «%s» conté un camí relatiu." + +#, c-format +msgid "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "El directori «%s» té permisos que no són segurs (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "Directory \"%s\" is a file." +msgstr "El directori «%s» és un fitxer." + +#, c-format +msgid "Directory \"%s\" not available: %s" +msgstr "El directori «%s» no està disponible: %s" + +#, c-format +msgid "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "El directori «%s» té els permisos correctes (0%o/uid=%d/gid=%d)." + +msgid "Disabled" +msgstr "Desabilitat" + +#, c-format +msgid "Document #%d does not exist in job #%d." +msgstr "No s'ha trobat el document #%d a la feina #%d." + +msgid "Draft" +msgstr "" + +msgid "Duplexer" +msgstr "Unitat d'impressió a dues cares" + +msgid "Dymo" +msgstr "Dymo" + +msgid "EPL1 Label Printer" +msgstr "Impressora d'etiquetes EPL1" + +msgid "EPL2 Label Printer" +msgstr "Impressora d'etiquetes EPL2" + +msgid "Edit Configuration File" +msgstr "Edita el fitxer de configuració" + +msgid "Encryption is not supported." +msgstr "" + +#. TRANSLATORS: Banner/cover sheet after the print job. +msgid "Ending Banner" +msgstr "S'està acabant el bàner" + +msgid "English" +msgstr "Anglès" + +msgid "" +"Enter your username and password or the root username and password to access " +"this page. If you are using Kerberos authentication, make sure you have a " +"valid Kerberos ticket." +msgstr "" +"Introduïu el vostre nom d'usuari i contrasenya o el nom d'usuari i la " +"contrasenya de root per accedir a aquesta pàgina. Si feu servir " +"l'autenticació Kerberos, assegureu-vos de tenir un tiquet Kerberos que sigui " +"vàlid." + +msgid "Envelope #10" +msgstr "" + +msgid "Envelope #11" +msgstr "Sobre #11" + +msgid "Envelope #12" +msgstr "Sobre #12" + +msgid "Envelope #14" +msgstr "Sobre #14" + +msgid "Envelope #9" +msgstr "Sobre #9" + +msgid "Envelope B4" +msgstr "Sobre B4" + +msgid "Envelope B5" +msgstr "Sobre B5" + +msgid "Envelope B6" +msgstr "Sobre B6" + +msgid "Envelope C0" +msgstr "Sobre C0" + +msgid "Envelope C1" +msgstr "Sobre C1" + +msgid "Envelope C2" +msgstr "Sobre C2" + +msgid "Envelope C3" +msgstr "Sobre C3" + +msgid "Envelope C4" +msgstr "Sobre C4" + +msgid "Envelope C5" +msgstr "Sobre C5" + +msgid "Envelope C6" +msgstr "Sobre C6" + +msgid "Envelope C65" +msgstr "Sobre C65" + +msgid "Envelope C7" +msgstr "Sobre C7" + +msgid "Envelope Choukei 3" +msgstr "Sobre Choukei 3" + +msgid "Envelope Choukei 3 Long Edge" +msgstr "Sobre Choukei 3 costat llarg" + +msgid "Envelope Choukei 4" +msgstr "Sobre Choukei 4" + +msgid "Envelope Choukei 4 Long Edge" +msgstr "Sobre Choukei 4 costat llarg" + +msgid "Envelope DL" +msgstr "Sobre DL" + +msgid "Envelope Feed" +msgstr "Alimentació de sobres" + +msgid "Envelope Invite" +msgstr "Sobre d'invitació" + +msgid "Envelope Italian" +msgstr "Sobre italià" + +msgid "Envelope Kaku2" +msgstr "Sobre Kaku2" + +msgid "Envelope Kaku2 Long Edge" +msgstr "Sobre Kaku2 costat llarg" + +msgid "Envelope Kaku3" +msgstr "Sobre Kaku3" + +msgid "Envelope Kaku3 Long Edge" +msgstr "Sobre Kaku3 costat llarg" + +msgid "Envelope Monarch" +msgstr "Sobre monarch" + +msgid "Envelope PRC1" +msgstr "" + +msgid "Envelope PRC1 Long Edge" +msgstr "Sobre PRC1 costat llarg" + +msgid "Envelope PRC10" +msgstr "Sobre PRC10" + +msgid "Envelope PRC10 Long Edge" +msgstr "Sobre PRC10 costat llarg" + +msgid "Envelope PRC2" +msgstr "Sobre PRC2" + +msgid "Envelope PRC2 Long Edge" +msgstr "Sobre PRC2 costat llarg" + +msgid "Envelope PRC3" +msgstr "Sobre PRC3" + +msgid "Envelope PRC3 Long Edge" +msgstr "Sobre PRC3 costat llarg" + +msgid "Envelope PRC4" +msgstr "Sobre PRC4" + +msgid "Envelope PRC4 Long Edge" +msgstr "Sobre PRC4 costat llarg" + +msgid "Envelope PRC5 Long Edge" +msgstr "Sobre PRC5 costat llarg" + +msgid "Envelope PRC5PRC5" +msgstr "Sobre PRC5" + +msgid "Envelope PRC6" +msgstr "Sobre PRC6" + +msgid "Envelope PRC6 Long Edge" +msgstr "Sobre PRC6 costat llarg" + +msgid "Envelope PRC7" +msgstr "Sobre PRC7" + +msgid "Envelope PRC7 Long Edge" +msgstr "Sobre PRC7 costat llarg" + +msgid "Envelope PRC8" +msgstr "Sobre PRC8" + +msgid "Envelope PRC8 Long Edge" +msgstr "Sobre PRC8 costat llarg" + +msgid "Envelope PRC9" +msgstr "Sobre PRC9" + +msgid "Envelope PRC9 Long Edge" +msgstr "Sobre PRC9 costat llarg" + +msgid "Envelope Personal" +msgstr "Sobre personalitzat" + +msgid "Envelope You4" +msgstr "Sobre You4" + +msgid "Envelope You4 Long Edge" +msgstr "Sobre You4 costat llarg" + +msgid "Environment Variables:" +msgstr "" + +msgid "Epson" +msgstr "Epson" + +msgid "Error Policy" +msgstr "Normes d'error" + +msgid "Error reading raster data." +msgstr "" + +msgid "Error sending raster data." +msgstr "S'ha produït un error quan s'enviaven les dades de la trama." + +msgid "Error: need hostname after \"-h\" option." +msgstr "ERROR: es necessita un nom d'amfitrió després de l'opció «-h»." + +msgid "European Fanfold" +msgstr "" + +msgid "European Fanfold Legal" +msgstr "" + +msgid "Every 10 Labels" +msgstr "Cada 10 etiquetes" + +msgid "Every 2 Labels" +msgstr "Cada 2 etiquetes" + +msgid "Every 3 Labels" +msgstr "Cada 3 etiquetes" + +msgid "Every 4 Labels" +msgstr "Cada 4 etiquetes" + +msgid "Every 5 Labels" +msgstr "Cada 5 etiquetes" + +msgid "Every 6 Labels" +msgstr "Cada 6 etiquetes" + +msgid "Every 7 Labels" +msgstr "Cada 7 etiquetes" + +msgid "Every 8 Labels" +msgstr "Cada 8 etiquetes" + +msgid "Every 9 Labels" +msgstr "Cada 9 etiquetes" + +msgid "Every Label" +msgstr "Cada etiqueta" + +msgid "Executive" +msgstr "Executiu" + +msgid "Expectation Failed" +msgstr "Ha fallat la condició del valor que s'esperava" + +msgid "Expressions:" +msgstr "" + +msgid "Fast Grayscale" +msgstr "" + +#, c-format +msgid "File \"%s\" contains a relative path." +msgstr "El fitxer «%s» conté un camí relatiu." + +#, c-format +msgid "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "El fitxer «%s» té permisos que no són segurs (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "File \"%s\" is a directory." +msgstr "El fitxer «%s» és un directori." + +#, c-format +msgid "File \"%s\" not available: %s" +msgstr "El fitxer «%s» no està disponible: %s" + +#, c-format +msgid "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "El fitxer «%s» té els permisos correctes (0%o/uid=%d/gid=%d)." + +msgid "File Folder" +msgstr "" + +#, c-format +msgid "" +"File device URIs have been disabled. To enable, see the FileDevice directive " +"in \"%s/cups-files.conf\"." +msgstr "" + +#, c-format +msgid "Finished page %d." +msgstr "S'ha acabat la pàgina %d." + +msgid "Finishing Preset" +msgstr "" + +msgid "Fold" +msgstr "" + +msgid "Folio" +msgstr "Foli" + +msgid "Forbidden" +msgstr "Prohibit" + +msgid "Found" +msgstr "" + +msgid "General" +msgstr "General" + +msgid "Generic" +msgstr "Genèric" + +msgid "Get-Response-PDU uses indefinite length" +msgstr "La Get-Response-PDU fa servir una longitud indefinida" + +msgid "Glossy Paper" +msgstr "Paper fotogràfic" + +msgid "Got a printer-uri attribute but no job-id." +msgstr "S'ha obtingut l'atribut printer-uri però no el job-id." + +msgid "Grayscale" +msgstr "Escala de grisos" + +msgid "HP" +msgstr "HP" + +msgid "Hanging Folder" +msgstr "Carpeta per penjar" + +msgid "Hash buffer too small." +msgstr "" + +msgid "Help file not in index." +msgstr "El fitxer d'ajuda no és a l'índex." + +msgid "High" +msgstr "" + +msgid "IPP 1setOf attribute with incompatible value tags." +msgstr "" +"L'atribut 1setOf del IPP té etiquetes amb valors que no són compatibles." + +msgid "IPP attribute has no name." +msgstr "L'atribut del IPP no té nom." + +msgid "IPP attribute is not a member of the message." +msgstr "L'atribut del IPP no és membre del missatge." + +msgid "IPP begCollection value not 0 bytes." +msgstr "El valor de begColletion del IPP no té 0 bytes." + +msgid "IPP boolean value not 1 byte." +msgstr "El valor booleà del IPP no té 1 byte." + +msgid "IPP date value not 11 bytes." +msgstr "El valor de date del IPP no té 11 bytes." + +msgid "IPP endCollection value not 0 bytes." +msgstr "El valor de endColletion del IPP no té 0 bytes." + +msgid "IPP enum value not 4 bytes." +msgstr "El valor de enum del IPP no té 4 bytes." + +msgid "IPP extension tag larger than 0x7FFFFFFF." +msgstr "La etiqueta d'extension del IPP és més llarga de 0x7FFFFFFF." + +msgid "IPP integer value not 4 bytes." +msgstr "El valor enter de IPP no té 4 bytes." + +msgid "IPP language length overflows value." +msgstr "El valor de la longitud del llenguatge del IPP desborda." + +msgid "IPP language length too large." +msgstr "" + +msgid "IPP member name is not empty." +msgstr "El nom del membre del IPP no està buit." + +msgid "IPP memberName value is empty." +msgstr "El valor de memberName de l'IPP està buit." + +msgid "IPP memberName with no attribute." +msgstr "" + +msgid "IPP name larger than 32767 bytes." +msgstr "EL nom del IPP és més llarg de 32767 bytes." + +msgid "IPP nameWithLanguage value less than minimum 4 bytes." +msgstr "" +"El valor de nameWithLanguage del IPP és més petit que el mínim, 4 bytes." + +msgid "IPP octetString length too large." +msgstr "" + +msgid "IPP rangeOfInteger value not 8 bytes." +msgstr "El valor de rangeOfInteger del IPP no té 8 bytes." + +msgid "IPP resolution value not 9 bytes." +msgstr "El valor de resolution del IPP no té 9 bytes." + +msgid "IPP string length overflows value." +msgstr "El valor de la longitud de la cadena del IPP desborda." + +msgid "IPP textWithLanguage value less than minimum 4 bytes." +msgstr "" +"EL valor de textWithLanguage del IPP és més petit que el mínim, 4 bytes." + +msgid "IPP value larger than 32767 bytes." +msgstr "El valor del IPP és més llarg de 32767 bytes." + +msgid "IPPFIND_SERVICE_DOMAIN Domain name" +msgstr "" + +msgid "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" +msgstr "" + +msgid "IPPFIND_SERVICE_NAME Service instance name" +msgstr "" + +msgid "IPPFIND_SERVICE_PORT Port number" +msgstr "" + +msgid "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" +msgstr "" + +msgid "IPPFIND_SERVICE_SCHEME URI scheme" +msgstr "" + +msgid "IPPFIND_SERVICE_URI URI" +msgstr "" + +msgid "IPPFIND_TXT_* Value of TXT record key" +msgstr "" + +msgid "ISOLatin1" +msgstr "ISOLatin1" + +msgid "Illegal control character" +msgstr "Caràcter de control no permès" + +msgid "Illegal main keyword string" +msgstr "Cadena de paraula clau principal no permesa" + +msgid "Illegal option keyword string" +msgstr "Cadena de paraula clau d'opció no permesa" + +msgid "Illegal translation string" +msgstr "Cadena de traducció no permesa" + +msgid "Illegal whitespace character" +msgstr "Caràcter d'espai en blanc no permés" + +msgid "Installable Options" +msgstr "Opcions instal·lables" + +msgid "Installed" +msgstr "Instal·lat" + +msgid "IntelliBar Label Printer" +msgstr "Impressora d'etiquetes IntelliBar" + +msgid "Intellitech" +msgstr "Intellitech" + +msgid "Internal Server Error" +msgstr "Error intern del servidor" + +msgid "Internal error" +msgstr "Error intern" + +msgid "Internet Postage 2-Part" +msgstr "Franqueig per Internet en 2 parts" + +msgid "Internet Postage 3-Part" +msgstr "Franqueig per Internet en 3 parts" + +msgid "Internet Printing Protocol" +msgstr "Protocol d'impressió per Internet" + +msgid "Invalid group tag." +msgstr "" + +msgid "Invalid media name arguments." +msgstr "" + +msgid "Invalid media size." +msgstr "Mida del suport no vàlida." + +msgid "Invalid named IPP attribute in collection." +msgstr "" + +msgid "Invalid ppd-name value." +msgstr "" + +#, c-format +msgid "Invalid printer command \"%s\"." +msgstr "La comanda de la impressora «%s» no és vàlida." + +msgid "JCL" +msgstr "Llenguatge de control de tasques (JCL)" + +msgid "JIS B0" +msgstr "JIS B0" + +msgid "JIS B1" +msgstr "JIS B1" + +msgid "JIS B10" +msgstr "JIS B10" + +msgid "JIS B2" +msgstr "JIS B2" + +msgid "JIS B3" +msgstr "JIS B3" + +msgid "JIS B4" +msgstr "JIS B4" + +msgid "JIS B4 Long Edge" +msgstr "JIS B4 costat llarg" + +msgid "JIS B5" +msgstr "JIS B5" + +msgid "JIS B5 Long Edge" +msgstr "JIS B5 costat llarg" + +msgid "JIS B6" +msgstr "JIS B6" + +msgid "JIS B6 Long Edge" +msgstr "JIS B6 costat llarg" + +msgid "JIS B7" +msgstr "JIS B7" + +msgid "JIS B8" +msgstr "JIS B8" + +msgid "JIS B9" +msgstr "JIS B9" + +#, c-format +msgid "Job #%d cannot be restarted - no files." +msgstr "La feina #%d no es pot tornar a iniciar - no hi ha fitxers." + +#, c-format +msgid "Job #%d does not exist." +msgstr "La feina #%d no existeix." + +#, c-format +msgid "Job #%d is already aborted - can't cancel." +msgstr "La feina #%d ja s'ha interromput: no es pot cancel·lar." + +#, c-format +msgid "Job #%d is already canceled - can't cancel." +msgstr "La feina #%d ja està cancel·lada: no es pot cancel·lar." + +#, c-format +msgid "Job #%d is already completed - can't cancel." +msgstr "La feina #%d ja s'ha acabat: no es pot cancel·lar." + +#, c-format +msgid "Job #%d is finished and cannot be altered." +msgstr "La feina #%d s'ha acabat i no es pot canviar." + +#, c-format +msgid "Job #%d is not complete." +msgstr "La feina #%d no s'ha acabat." + +#, c-format +msgid "Job #%d is not held for authentication." +msgstr "La feina #%d no està aturada per ser autenticada." + +#, c-format +msgid "Job #%d is not held." +msgstr "La feina #%d no està aturada." + +msgid "Job Completed" +msgstr "S'ha acabat la feina" + +msgid "Job Created" +msgstr "S'ha creat la feina" + +msgid "Job Options Changed" +msgstr "S'han canviat les opcions de la feina" + +msgid "Job Stopped" +msgstr "S'ha aturat la feina" + +msgid "Job is completed and cannot be changed." +msgstr "La feina s'ha finalitzat i no es pot canviar." + +msgid "Job operation failed" +msgstr "Ha fallat l'operació de la feina" + +msgid "Job state cannot be changed." +msgstr "L'estat de la feina no es pot canviar." + +msgid "Job subscriptions cannot be renewed." +msgstr "Les subscripcions a les feines no es poden renovar." + +msgid "Jobs" +msgstr "Feines" + +msgid "LPD/LPR Host or Printer" +msgstr "Amfitrió o impressora LPD/LPR" + +msgid "" +"LPDEST environment variable names default destination that does not exist." +msgstr "" + +msgid "Label Printer" +msgstr "Impressora d'etiquetes" + +msgid "Label Top" +msgstr "Capçalera de l'etiqueta" + +#, c-format +msgid "Language \"%s\" not supported." +msgstr "L'idioma «%s» no està disponible." + +msgid "Large Address" +msgstr "Adreça gran" + +msgid "LaserJet Series PCL 4/5" +msgstr "Sèrie Laser Jet PCL 4/5" + +msgid "Letter Oversize" +msgstr "Carta gran" + +msgid "Letter Oversize Long Edge" +msgstr "Carta americà gran costat llarg" + +msgid "Light" +msgstr "Lluminós" + +msgid "Line longer than the maximum allowed (255 characters)" +msgstr "La línia la longitud màxima permesa (255 caràcters)" + +msgid "List Available Printers" +msgstr "Llista les impressores disponibles" + +#, c-format +msgid "Listening on port %d." +msgstr "" + +msgid "Local printer created." +msgstr "" + +msgid "Long-Edge (Portrait)" +msgstr "Costat-llarg (vertical)" + +msgid "Looking for printer." +msgstr "S'està buscant la impressora." + +msgid "Manual Feed" +msgstr "Alimentació manual" + +msgid "Media Size" +msgstr "Mida del paper" + +msgid "Media Source" +msgstr "Font del paper" + +msgid "Media Tracking" +msgstr "Seguiment del paper" + +msgid "Media Type" +msgstr "Tipus de paper" + +msgid "Medium" +msgstr "Mitjà" + +msgid "Memory allocation error" +msgstr "S'ha produït un error d'ubicació de memòria" + +msgid "Missing CloseGroup" +msgstr "Falta el CloseGroup" + +msgid "Missing CloseUI/JCLCloseUI" +msgstr "" + +msgid "Missing PPD-Adobe-4.x header" +msgstr "Falta la capçalera PPD-ADOBE-4.x" + +msgid "Missing asterisk in column 1" +msgstr "Falta un asterisc a la columna 1" + +msgid "Missing document-number attribute." +msgstr "Falta l'atribut document-number." + +msgid "Missing form variable" +msgstr "Falta una variable del formulari" + +msgid "Missing last-document attribute in request." +msgstr "Falta l'atribut last-document-number a la petició." + +msgid "Missing media or media-col." +msgstr "Falta el media o el media-col." + +msgid "Missing media-size in media-col." +msgstr "Falta el media-size al media-col." + +msgid "Missing notify-subscription-ids attribute." +msgstr "Falta l'atribut notify-subscription-ids." + +msgid "Missing option keyword" +msgstr "Falta l'opció keyword" + +msgid "Missing requesting-user-name attribute." +msgstr "Falta l'atribut requesting-user-name." + +#, c-format +msgid "Missing required attribute \"%s\"." +msgstr "" + +msgid "Missing required attributes." +msgstr "Falten alguns atributs necessaris." + +msgid "Missing resource in URI" +msgstr "" + +msgid "Missing scheme in URI" +msgstr "" + +msgid "Missing value string" +msgstr "Falta la cadena de valor" + +msgid "Missing x-dimension in media-size." +msgstr "Falta la mida x a la mida del suport." + +msgid "Missing y-dimension in media-size." +msgstr "Falta la mida y a la mida del suport." + +#, c-format +msgid "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" +msgstr "" +"Model: nom = %s\n" +" idioma_natural = %s\n" +" fabricant i model = %s\n" +" id del dispositiu = %s" + +msgid "Modifiers:" +msgstr "" + +msgid "Modify Class" +msgstr "Modifica la classe" + +msgid "Modify Printer" +msgstr "Modifica la impressora" + +msgid "Move All Jobs" +msgstr "Mou totes les feines" + +msgid "Move Job" +msgstr "Mou la feina" + +msgid "Moved Permanently" +msgstr "S'ha mogut de manera permanent" + +msgid "NULL PPD file pointer" +msgstr "Punter del fitxer PPD NUL" + +msgid "Name OID uses indefinite length" +msgstr "El nom de l'OID fa servir una longitud indefinida" + +msgid "Nested classes are not allowed." +msgstr "No es permeten les classes imbricades." + +msgid "Never" +msgstr "Mai" + +msgid "New credentials are not valid for name." +msgstr "" + +msgid "New credentials are older than stored credentials." +msgstr "" + +msgid "No" +msgstr "No" + +msgid "No Content" +msgstr "No hi ha contingut" + +msgid "No IPP attributes." +msgstr "" + +msgid "No PPD name" +msgstr "El PPD no té nom" + +msgid "No VarBind SEQUENCE" +msgstr "No hi ha cap SEQUENCE VarBind" + +msgid "No active connection" +msgstr "No hi ha cap connexió activa" + +msgid "No active connection." +msgstr "" + +#, c-format +msgid "No active jobs on %s." +msgstr "No hi ha cap feina activa a %s." + +msgid "No attributes in request." +msgstr "No hi ha atributs en demanda." + +msgid "No authentication information provided." +msgstr "No s'ha donat cap informació d'autenticació." + +msgid "No common name specified." +msgstr "" + +msgid "No community name" +msgstr "Ho hi na cap nom de comunitat" + +msgid "No default destination." +msgstr "" + +msgid "No default printer." +msgstr "No hi ha cap impressora per defecte." + +msgid "No destinations added." +msgstr "No s'ha afegit cap destí." + +msgid "No device URI found in argv[0] or in DEVICE_URI environment variable." +msgstr "" +"No s'ha trobat cap URI de dispositiu a argv[0] o a la variable d'entorn " +"DEVICE_URI." + +msgid "No error-index" +msgstr "No hi ca cap error-index" + +msgid "No error-status" +msgstr "No hi ha cap status-error" + +msgid "No file in print request." +msgstr "No hi ha cap printer-uri a la sol·licitud." + +msgid "No modification time" +msgstr "No hi ha hora de modificació" + +msgid "No name OID" +msgstr "No hi ha cap nom d'OID" + +msgid "No pages were found." +msgstr "No s'ha trobat cap pàgina." + +msgid "No printer name" +msgstr "No hi ha cap nom d'impressora" + +msgid "No printer-uri found" +msgstr "No s'ha trobat cap printer-uri" + +msgid "No printer-uri found for class" +msgstr "No s'ha trobat cap printer-uri per la classe" + +msgid "No printer-uri in request." +msgstr "No hi ha cap printer-uri a la sol·licitud." + +msgid "No request URI." +msgstr "" + +msgid "No request protocol version." +msgstr "" + +msgid "No request sent." +msgstr "" + +msgid "No request-id" +msgstr "No hi ha cap request-id" + +msgid "No stored credentials, not valid for name." +msgstr "" + +msgid "No subscription attributes in request." +msgstr "No hi ha cap atribut de la subscripció a la sol·licitud." + +msgid "No subscriptions found." +msgstr "No s'ha trobat cap sol·licitud." + +msgid "No variable-bindings SEQUENCE" +msgstr "No hi ha cap SEQUENCE variable-bindings" + +msgid "No version number" +msgstr "No hi ha cap número de versió" + +msgid "Non-continuous (Mark sensing)" +msgstr "Discontinu (sensible a les marques)" + +msgid "Non-continuous (Web sensing)" +msgstr "Discontinu (Sensible al web)" + +msgid "None" +msgstr "" + +msgid "Normal" +msgstr "Normal" + +msgid "Not Found" +msgstr "No s'ha trobat" + +msgid "Not Implemented" +msgstr "No implementat" + +msgid "Not Installed" +msgstr "No està instal·lat" + +msgid "Not Modified" +msgstr "No està modificat" + +msgid "Not Supported" +msgstr "No és compatible" + +msgid "Not allowed to print." +msgstr "No teniu permís per imprimir." + +msgid "Note" +msgstr "Nota" + +msgid "OK" +msgstr "D'acord" + +msgid "Off (1-Sided)" +msgstr "Inactiu (Una cara)" + +msgid "Oki" +msgstr "Oki" + +msgid "Online Help" +msgstr "Ajuda en línia" + +msgid "Only local users can create a local printer." +msgstr "" + +#, c-format +msgid "Open of %s failed: %s" +msgstr "No s'ha pogut obrir %s: %s" + +msgid "OpenGroup without a CloseGroup first" +msgstr "OpenGroup sense un CloseGroup abans" + +msgid "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" +msgstr "OpenUI/JCLOpenUI sense un CloseUI/JCLCloseUI abans" + +msgid "Operation Policy" +msgstr "Política d'operacions" + +#, c-format +msgid "Option \"%s\" cannot be included via %%%%IncludeFeature." +msgstr "L'opció «%s» no es pot incloure a través de %%%%IncludeFeature." + +msgid "Options Installed" +msgstr "Opcions instal·lades" + +msgid "Options:" +msgstr "Opcions:" + +msgid "Other Media" +msgstr "" + +msgid "Other Tray" +msgstr "" + +msgid "Out of date PPD cache file." +msgstr "El fitxer de memòria cau del PPD no està actualitzat." + +msgid "Out of memory." +msgstr "Sense memòria." + +msgid "Output Mode" +msgstr "Mode de sortida" + +msgid "PCL Laser Printer" +msgstr "Impressora làser PCL" + +msgid "PRC16K" +msgstr "PRC16K" + +msgid "PRC16K Long Edge" +msgstr "PRC16K costat llarg" + +msgid "PRC32K" +msgstr "PRC32K" + +msgid "PRC32K Long Edge" +msgstr "PRC32K costat llarg" + +msgid "PRC32K Oversize" +msgstr "PRC32K gran" + +msgid "PRC32K Oversize Long Edge" +msgstr "PRC32K gran costat llarg" + +msgid "" +"PRINTER environment variable names default destination that does not exist." +msgstr "" + +msgid "Packet does not contain a Get-Response-PDU" +msgstr "El paquet no conté cap Get-Response-PDU" + +msgid "Packet does not start with SEQUENCE" +msgstr "El paquet no comença amb SEQUENCE" + +msgid "ParamCustominCutInterval" +msgstr "ParamCustominCutInterval" + +msgid "ParamCustominTearInterval" +msgstr "ParamCustominTearInterval" + +#, c-format +msgid "Password for %s on %s? " +msgstr "Contrasenya per %s a %s? " + +msgid "Pause Class" +msgstr "Posa la classe en pausa" + +msgid "Pause Printer" +msgstr "Posa la impressora en pausa" + +msgid "Peel-Off" +msgstr "Desenganxar" + +msgid "Photo" +msgstr "Fotografia" + +msgid "Photo Labels" +msgstr "Etiquetes de fotografia" + +msgid "Plain Paper" +msgstr "Paper normal" + +msgid "Policies" +msgstr "Polítiques" + +msgid "Port Monitor" +msgstr "Seguiment del port" + +msgid "PostScript Printer" +msgstr "Impressora PostScript" + +msgid "Postcard" +msgstr "Postal" + +msgid "Postcard Double" +msgstr "" + +msgid "Postcard Double Long Edge" +msgstr "Postal doble costat llarg" + +msgid "Postcard Long Edge" +msgstr "Postal costat llarg" + +msgid "Preparing to print." +msgstr "" + +msgid "Print Density" +msgstr "Densitat de la impressió" + +msgid "Print Job:" +msgstr "Feina d'impressió:" + +msgid "Print Mode" +msgstr "Mode d'impressió" + +msgid "Print Quality" +msgstr "" + +msgid "Print Rate" +msgstr "Ritme d'impressió" + +msgid "Print Self-Test Page" +msgstr "Imprimeix la pàgina de prova pròpia" + +msgid "Print Speed" +msgstr "Velocitat d'impressió" + +msgid "Print Test Page" +msgstr "Imprimeix una pàgina de prova" + +msgid "Print and Cut" +msgstr "Imprimeix i talla" + +msgid "Print and Tear" +msgstr "Imprimeix i estripa" + +msgid "Print file sent." +msgstr "S'ha enviat el fitxer d'impressió." + +msgid "Print job canceled at printer." +msgstr "S'ha cancel·lat la feina a la impressora." + +msgid "Print job too large." +msgstr "La feina d'impressió és massa llarga." + +msgid "Print job was not accepted." +msgstr "" + +#, c-format +msgid "Printer \"%s\" already exists." +msgstr "" + +msgid "Printer Added" +msgstr "S'ha afegit una impressora" + +msgid "Printer Default" +msgstr "Impressora per defecte" + +msgid "Printer Deleted" +msgstr "S'ha eliminat la impressora" + +msgid "Printer Modified" +msgstr "S'ha modificat la impressora" + +msgid "Printer Paused" +msgstr "S'ha posat la impressora en pausa" + +msgid "Printer Settings" +msgstr "Configuració de la impressora" + +msgid "Printer cannot print supplied content." +msgstr "La impressora no pot imprimir el contingut subministrat." + +msgid "Printer cannot print with supplied options." +msgstr "" + +msgid "Printer does not support required IPP attributes or document formats." +msgstr "" + +msgid "Printer:" +msgstr "Impressora:" + +msgid "Printers" +msgstr "Impressores" + +#, c-format +msgid "Printing page %d, %u%% complete." +msgstr "" + +msgid "Punch" +msgstr "" + +msgid "Quarto" +msgstr "Quart" + +msgid "Quota limit reached." +msgstr "S'ha assolit el límit de la quota." + +msgid "Rank Owner Job File(s) Total Size" +msgstr "" +"Rang Propietari Feina Fitxer(s) Mida total" + +msgid "Reject Jobs" +msgstr "Rebutja feines" + +#, c-format +msgid "Remote host did not accept control file (%d)." +msgstr "L'amfitrió remot no accepta el fitxer de control (%d)." + +#, c-format +msgid "Remote host did not accept data file (%d)." +msgstr "L'amfitrió remot no accepta el fitxer de dades (%d)." + +msgid "Reprint After Error" +msgstr "Torna a imprimir després d'un error" + +msgid "Request Entity Too Large" +msgstr "Entitat de petició massa gran" + +msgid "Resolution" +msgstr "Resolució" + +msgid "Resume Class" +msgstr "Reprèn la classe" + +msgid "Resume Printer" +msgstr "Reprèn la impressora" + +msgid "Return Address" +msgstr "Remitent" + +msgid "Rewind" +msgstr "Rebobina" + +msgid "SEQUENCE uses indefinite length" +msgstr "SEQUENCE té una longitud indefinida" + +msgid "SSL/TLS Negotiation Error" +msgstr "S'ha produït un error mentre es negociava el SSL/TLS" + +msgid "See Other" +msgstr "Vegeu altres" + +msgid "See remote printer." +msgstr "" + +msgid "Self-signed credentials are blocked." +msgstr "" + +msgid "Sending data to printer." +msgstr "S'envien les dades a la impressora." + +msgid "Server Restarted" +msgstr "S'ha reiniciat el servidor" + +msgid "Server Security Auditing" +msgstr "S'està auditant la seguretat del servidor" + +msgid "Server Started" +msgstr "S'ha iniciat el servidor" + +msgid "Server Stopped" +msgstr "S'ha aturat el servidor" + +msgid "Server credentials not set." +msgstr "" + +msgid "Service Unavailable" +msgstr "El servei no està disponible" + +msgid "Set Allowed Users" +msgstr "Definir els permisos dels usuaris" + +msgid "Set As Server Default" +msgstr "Establir com a servidor per defecte" + +msgid "Set Class Options" +msgstr "Definir les opcions de la classe" + +msgid "Set Printer Options" +msgstr "Definir les opcions de la impressora" + +msgid "Set Publishing" +msgstr "Establir com a pública" + +msgid "Shipping Address" +msgstr "Adreça de lliurament" + +msgid "Short-Edge (Landscape)" +msgstr "Costat curt (horitzontal)" + +msgid "Special Paper" +msgstr "Paper especial" + +#, c-format +msgid "Spooling job, %.0f%% complete." +msgstr "S'està posant a la cua la feina. S'ha completat el %.0f%%." + +msgid "Standard" +msgstr "Estàndard" + +msgid "Staple" +msgstr "" + +#. TRANSLATORS: Banner/cover sheet before the print job. +msgid "Starting Banner" +msgstr "Bàner inicial" + +#, c-format +msgid "Starting page %d." +msgstr "S'està començant la pàgina %d." + +msgid "Statement" +msgstr "Declaració" + +#, c-format +msgid "Subscription #%d does not exist." +msgstr "La subscripció #%d no existeix." + +msgid "Substitutions:" +msgstr "" + +msgid "Super A" +msgstr "Super A" + +msgid "Super B" +msgstr "Super B" + +msgid "Super B/A3" +msgstr "Super B/A3" + +msgid "Switching Protocols" +msgstr "Intercanviar els protocols" + +msgid "Tabloid" +msgstr "Tabloide" + +msgid "Tabloid Oversize" +msgstr "Tabloide gran" + +msgid "Tabloid Oversize Long Edge" +msgstr "Tabloide gran costat llarg" + +msgid "Tear" +msgstr "Estripar" + +msgid "Tear-Off" +msgstr "Estripar" + +msgid "Tear-Off Adjust Position" +msgstr "Posició d'ajust d'estripat" + +#, c-format +msgid "The \"%s\" attribute is required for print jobs." +msgstr "" + +#, c-format +msgid "The %s attribute cannot be provided with job-ids." +msgstr "No es pot fer servir l'atribut %s amb les job-ids." + +#, c-format +msgid "" +"The '%s' Job Status attribute cannot be supplied in a job creation request." +msgstr "" + +#, c-format +msgid "" +"The '%s' operation attribute cannot be supplied in a Create-Job request." +msgstr "" +"L'atribut d'operació «%s» no es pot subministrar en una petició de Create-" +"Job." + +#, c-format +msgid "The PPD file \"%s\" could not be found." +msgstr "No s'ha pogut trobar el fitxer PPD «%s»." + +#, c-format +msgid "The PPD file \"%s\" could not be opened: %s" +msgstr "No s'ha pogut obrir el fitxer PPD «%s»: %s" + +msgid "The PPD file could not be opened." +msgstr "No s'ha pogut obrir el fitxer PPD." + +msgid "" +"The class name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/), or the pound sign (#)." +msgstr "" +"El nom de la classe només pot tenir fins a 127 caràcters imprimibles i no " +"pot contenir espais, barres (/) o el símbol coixinet (#)." + +msgid "" +"The notify-lease-duration attribute cannot be used with job subscriptions." +msgstr "" +"No es pot fer servir l'atribut notify-lease-duration amb les subscripcions a " +"tasques." + +#, c-format +msgid "The notify-user-data value is too large (%d > 63 octets)." +msgstr "El valor de notify-user-data és massa llarg (%d > 63 octets)." + +msgid "The printer configuration is incorrect or the printer no longer exists." +msgstr "" + +msgid "The printer did not respond." +msgstr "La impressora no ha respost." + +msgid "The printer is in use." +msgstr "La impressora està ocupada." + +msgid "The printer is not connected." +msgstr "La impressora no està connectada." + +msgid "The printer is not responding." +msgstr "La impressora no respon." + +msgid "The printer is now connected." +msgstr "Ara la impressora està connectada." + +msgid "The printer is now online." +msgstr "Ara la impressora està en línia." + +msgid "The printer is offline." +msgstr "La impressora està fora de línia." + +msgid "The printer is unreachable at this time." +msgstr "Ara mateix no es pot accedir a la impressora." + +msgid "The printer may not exist or is unavailable at this time." +msgstr "" +"Pot ser que la impressora no existeixi o que ara mateix no estigui " +"accessible." + +msgid "" +"The printer name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the " +"pound sign (#)." +msgstr "" + +msgid "The printer or class does not exist." +msgstr "La impressora o la classe no existeix." + +msgid "The printer or class is not shared." +msgstr "La impressora o la classe no estan compartides." + +#, c-format +msgid "The printer-uri \"%s\" contains invalid characters." +msgstr "El printer-uri «%s» conté caràcters no vàlids." + +msgid "The printer-uri attribute is required." +msgstr "L'atribut printer-uri és obligatori." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." +msgstr "" +"El printer-uri ha de tenir la forma «ipp://NOMAMFITRIÓ/classes/NOMCLASSE»." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." +msgstr "" +"El printer-uri ha de tenir la forma «ipp://NOMAMFITRIÓ/printers/" +"NOMIMPRESSORA»." + +msgid "" +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to " +"enable it." +msgstr "" +"La interfície web està deshabilitada. Executeu «cupsctl WebInterface=yes» " +"per habilitar-la." + +#, c-format +msgid "The which-jobs value \"%s\" is not supported." +msgstr "El valor «%s» de which-jobs no està implementat." + +msgid "There are too many subscriptions." +msgstr "Hi ha massa subscripcions." + +msgid "There was an unrecoverable USB error." +msgstr "Hi ha un error de l'USB irrecuperable." + +msgid "Thermal Transfer Media" +msgstr "Mitjà de transferència tèrmica" + +msgid "Too many active jobs." +msgstr "Hi ha massa tasques actives." + +#, c-format +msgid "Too many job-sheets values (%d > 2)." +msgstr "Hi ha massa valors de job-sheets (%d > 2)." + +#, c-format +msgid "Too many printer-state-reasons values (%d > %d)." +msgstr "Hi ha massa valors de printer-state-reasons (%d > %d)." + +msgid "Transparency" +msgstr "Transparència" + +msgid "Tray" +msgstr "Safata" + +msgid "Tray 1" +msgstr "Safata 1" + +msgid "Tray 2" +msgstr "Safata 2" + +msgid "Tray 3" +msgstr "Safata 3" + +msgid "Tray 4" +msgstr "Safata 4" + +msgid "Trust on first use is disabled." +msgstr "" + +msgid "URI Too Long" +msgstr "L'URI és massa llarg" + +msgid "URI too large" +msgstr "" + +msgid "US Fanfold" +msgstr "" + +msgid "US Ledger" +msgstr "Llibre major americà" + +msgid "US Legal" +msgstr "Legal americà" + +msgid "US Legal Oversize" +msgstr "Legal americà gran" + +msgid "US Letter" +msgstr "Carta americà" + +msgid "US Letter Long Edge" +msgstr "Carta americà costat llarg" + +msgid "US Letter Oversize" +msgstr "Carta americà gran" + +msgid "US Letter Oversize Long Edge" +msgstr "Carta americà gran costat llarg" + +msgid "US Letter Small" +msgstr "Carta americà petit" + +msgid "Unable to access cupsd.conf file" +msgstr "No es pot accedir al fitxer cups.conf" + +msgid "Unable to access help file." +msgstr "No es pot accedir al fitxer d'ajuda." + +msgid "Unable to add class" +msgstr "No es pot afegir la classe" + +msgid "Unable to add document to print job." +msgstr "No es pot obrir el documenta la feina." + +#, c-format +msgid "Unable to add job for destination \"%s\"." +msgstr "No es pot afegir la feina al destí «%s»." + +msgid "Unable to add printer" +msgstr "No es pot afegir la impressora" + +msgid "Unable to allocate memory for file types." +msgstr "No es pot assignar la memòria pels tipus de fitxers." + +msgid "Unable to allocate memory for page info" +msgstr "No s'ha pogut assignar memòria per la pàgina d'informació" + +msgid "Unable to allocate memory for pages array" +msgstr "No s'ha pogut assignar memòria per la matriu de pàgines" + +msgid "Unable to allocate memory for printer" +msgstr "" + +msgid "Unable to cancel print job." +msgstr "No es pot cancel·lar la feina d'impressió." + +msgid "Unable to change printer" +msgstr "No es pot canviar la impressora" + +msgid "Unable to change printer-is-shared attribute" +msgstr "No es pot canviar l'atribut printer-is-shared" + +msgid "Unable to change server settings" +msgstr "No es pot canviar la configuració del servidor" + +#, c-format +msgid "Unable to compile mimeMediaType regular expression: %s." +msgstr "" + +#, c-format +msgid "Unable to compile naturalLanguage regular expression: %s." +msgstr "" + +msgid "Unable to configure printer options." +msgstr "No es poden configurar les opcions de la impressora." + +msgid "Unable to connect to host." +msgstr "No es pot connectar a l'amfitrió." + +msgid "Unable to contact printer, queuing on next printer in class." +msgstr "" +"No es pot contactar amb la impressora. Es posa a la cua de la següent " +"impressora de la classe." + +#, c-format +msgid "Unable to copy PPD file - %s" +msgstr "No es pot copiar el fitxer PPD - %s" + +msgid "Unable to copy PPD file." +msgstr "No es pot copiar el fitxer PPD." + +msgid "Unable to create credentials from array." +msgstr "" + +msgid "Unable to create printer-uri" +msgstr "No es pot crear el printer-uri" + +msgid "Unable to create printer." +msgstr "" + +msgid "Unable to create server credentials." +msgstr "" + +#, c-format +msgid "Unable to create spool directory \"%s\": %s" +msgstr "" + +msgid "Unable to create temporary file" +msgstr "No es pot crear el fitxer temporal" + +msgid "Unable to delete class" +msgstr "No es pot esborrar la classe" + +msgid "Unable to delete printer" +msgstr "No es pot esborrar la impressora" + +msgid "Unable to do maintenance command" +msgstr "No es pot executar la comanda de manteniment" + +msgid "Unable to edit cupsd.conf files larger than 1MB" +msgstr "No es poden editar fitxers cupsd.conf més grans d'1MB" + +#, c-format +msgid "Unable to establish a secure connection to host (%d)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (certificate chain invalid)." +msgstr "" +"No s'ha pogut establir una connexió segura amb l'amfitrió (la cadena del " +"certificat no és vàlida)." + +msgid "" +"Unable to establish a secure connection to host (certificate not yet valid)." +msgstr "" +"No s'ha pogut establir una connexió segura amb l'amfitrió (el certificat " +"encara no és vàlid)." + +msgid "Unable to establish a secure connection to host (expired certificate)." +msgstr "" +"No s'ha pogut establir una connexió segura amb l'amfitrió (ha expirat el " +"certificat)." + +msgid "Unable to establish a secure connection to host (host name mismatch)." +msgstr "" +"No s'ha pogut establir una connexió segura amb l'amfitrió (hi ha un error en " +"el nom de l'amfitrió)." + +msgid "" +"Unable to establish a secure connection to host (peer dropped connection " +"before responding)." +msgstr "" +"No s'ha pogut establir una connexió segura amb l'amfitrió (s'ha tallat la " +"connexió abans de respondre)." + +msgid "" +"Unable to establish a secure connection to host (self-signed certificate)." +msgstr "" +"No s'ha pogut establir una connexió segura amb l'amfitrió (el certificat és " +"autosignat)." + +msgid "" +"Unable to establish a secure connection to host (untrusted certificate)." +msgstr "" +"No s'ha pogut establir una connexió segura amb l'amfitrió (el certificat no " +"és de confiança)." + +msgid "Unable to establish a secure connection to host." +msgstr "No es pot establir una connexió segura amb l'amfitrió." + +#, c-format +msgid "Unable to execute command \"%s\": %s" +msgstr "" + +msgid "Unable to find destination for job" +msgstr "No es pot trobar el destí de la feina" + +msgid "Unable to find printer." +msgstr "No es pot trobar la impressora." + +msgid "Unable to find server credentials." +msgstr "" + +msgid "Unable to get backend exit status." +msgstr "No es pot obtenir el motiu de la sortida de l'execució en segon pla" + +msgid "Unable to get class list" +msgstr "No es pot obtenir la llista de classes" + +msgid "Unable to get class status" +msgstr "No es pot obtenir l'estat de la classe" + +msgid "Unable to get list of printer drivers" +msgstr "No es pot obtenir la llista dels controladors d'impressora" + +msgid "Unable to get printer attributes" +msgstr "No es poden obtenir els atributs de la impressora" + +msgid "Unable to get printer list" +msgstr "No es pot obtenir la llista d'impressores" + +msgid "Unable to get printer status" +msgstr "No es pot obtenir l'estat de la impressora" + +msgid "Unable to get printer status." +msgstr "No es pot obtenir l'estat de la impressora." + +msgid "Unable to load help index." +msgstr "No es pot carregar l'índex de l'ajuda." + +#, c-format +msgid "Unable to locate printer \"%s\"." +msgstr "No es pot ubicar la impressora «%s»." + +msgid "Unable to locate printer." +msgstr "No es pot ubicar la impressora." + +msgid "Unable to modify class" +msgstr "No es pot modificar la classe" + +msgid "Unable to modify printer" +msgstr "No es pot modificar la impressora" + +msgid "Unable to move job" +msgstr "No es pot moure la feina" + +msgid "Unable to move jobs" +msgstr "No es poden moure les tasques" + +msgid "Unable to open PPD file" +msgstr "No es pot obrir el fitxer PPD" + +msgid "Unable to open cupsd.conf file:" +msgstr "No es pot obrir el fitxer cups.conf" + +msgid "Unable to open device file" +msgstr "No es pot obrir el fitxer de dispositiu" + +#, c-format +msgid "Unable to open document #%d in job #%d." +msgstr "No es pot obrir el document #%d a la feina #%d." + +msgid "Unable to open help file." +msgstr "No es pot obrir el fitxer d'impressió." + +msgid "Unable to open print file" +msgstr "No es pot obrir el fitxer d'impressió" + +msgid "Unable to open raster file" +msgstr "No es pot obrir el fitxer de trama" + +msgid "Unable to print test page" +msgstr "No es pot imprimir la pàgina de prova" + +msgid "Unable to read print data." +msgstr "No es poden llegir les dades d'impressió." + +#, c-format +msgid "Unable to register \"%s.%s\": %d" +msgstr "" + +msgid "Unable to rename job document file." +msgstr "" + +msgid "Unable to resolve printer-uri." +msgstr "" + +msgid "Unable to see in file" +msgstr "No es pot veure al fitxer" + +msgid "Unable to send command to printer driver" +msgstr "No es pot enviar la comanda al controlador de la impressora" + +msgid "Unable to send data to printer." +msgstr "No es poden enviar dades a la impressora." + +msgid "Unable to set options" +msgstr "No es poden configurar les opcions" + +msgid "Unable to set server default" +msgstr "No es pot posar la configuració per defecte al servidor" + +msgid "Unable to start backend process." +msgstr "No es pot iniciar el procés en segon pla." + +msgid "Unable to upload cupsd.conf file" +msgstr "No es pot penjar el fitxer cups.conf" + +msgid "Unable to use legacy USB class driver." +msgstr "No es pot fer servir el controlador de la classe USB antic." + +msgid "Unable to write print data" +msgstr "No es poden escriure les dades d'impressió" + +#, c-format +msgid "Unable to write uncompressed print data: %s" +msgstr "No es poden escriure les dades sense comprimir: %s" + +msgid "Unauthorized" +msgstr "No autoritzat" + +msgid "Units" +msgstr "Unitats" + +msgid "Unknown" +msgstr "Desconegut" + +#, c-format +msgid "Unknown choice \"%s\" for option \"%s\"." +msgstr "La tria de «%s» per l'opció «%s» és desconeguda." + +#, c-format +msgid "Unknown directive \"%s\" on line %d of \"%s\" ignored." +msgstr "" + +#, c-format +msgid "Unknown encryption option value: \"%s\"." +msgstr "El valor de l'opció de xifrat «%s» és desconegut." + +#, c-format +msgid "Unknown file order: \"%s\"." +msgstr "Ordre desconegut del fitxer: «%s»." + +#, c-format +msgid "Unknown format character: \"%c\"." +msgstr "Format del caràcter desconegut: «%c»." + +msgid "Unknown hash algorithm." +msgstr "" + +msgid "Unknown media size name." +msgstr "El nom de la mida del suport no és conegut." + +#, c-format +msgid "Unknown option \"%s\" with value \"%s\"." +msgstr "L'opció «%s» amb valor «%s» és desconeguda." + +#, c-format +msgid "Unknown option \"%s\"." +msgstr "L'opció «%s» és desconeguda." + +#, c-format +msgid "Unknown print mode: \"%s\"." +msgstr "El mode d'impressió «%s» és desconegut." + +#, c-format +msgid "Unknown printer-error-policy \"%s\"." +msgstr "El paràmetre printer-error-policy «%s» és desconegut." + +#, c-format +msgid "Unknown printer-op-policy \"%s\"." +msgstr "El paràmetre printer-op-policy «%s» és desconegut." + +msgid "Unknown request method." +msgstr "" + +msgid "Unknown request version." +msgstr "" + +msgid "Unknown scheme in URI" +msgstr "" + +msgid "Unknown service name." +msgstr "El nom del servei és desconegut." + +#, c-format +msgid "Unknown version option value: \"%s\"." +msgstr "El valor de l'opció de la versió és desconegut: «%s»." + +#, c-format +msgid "Unsupported 'compression' value \"%s\"." +msgstr "" + +#, c-format +msgid "Unsupported 'document-format' value \"%s\"." +msgstr "" + +msgid "Unsupported 'job-hold-until' value." +msgstr "" + +msgid "Unsupported 'job-name' value." +msgstr "" + +#, c-format +msgid "Unsupported character set \"%s\"." +msgstr "No s'admet el grup de caràcters «%s»." + +#, c-format +msgid "Unsupported compression \"%s\"." +msgstr "No s'admet la compressió «%s»." + +#, c-format +msgid "Unsupported document-format \"%s\"." +msgstr "No s'admet el document-format «%s»." + +#, c-format +msgid "Unsupported document-format \"%s/%s\"." +msgstr "No s'admet el document-format «%s/%s»." + +#, c-format +msgid "Unsupported format \"%s\"." +msgstr "No s'admet el format «%s»." + +msgid "Unsupported margins." +msgstr "No s'admeten els marges." + +msgid "Unsupported media value." +msgstr "No s'admet el valor del suport." + +#, c-format +msgid "Unsupported number-up value %d, using number-up=1." +msgstr "No s'admet el valor %d a number-up. Es fa servir number-up=1." + +#, c-format +msgid "Unsupported number-up-layout value %s, using number-up-layout=lrtb." +msgstr "" +"No s'admet el valor %s a number-up-layout. Es fa servir number-up-" +"layout=lrtb." + +#, c-format +msgid "Unsupported page-border value %s, using page-border=none." +msgstr "No s'admet el valor %s a page-border. Es fa servir page-border=none." + +msgid "Unsupported raster data." +msgstr "No s'admet les dades en trama." + +msgid "Unsupported value type" +msgstr "El tipus de valor no és compatible" + +msgid "Upgrade Required" +msgstr "S'ha d'actualitzar" + +#, c-format +msgid "Usage: %s [options] destination(s)" +msgstr "" + +#, c-format +msgid "Usage: %s job-id user title copies options [file]" +msgstr "Sintaxi: %s id-feina usuari títol còpies opcions [fitxer]" + +msgid "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" +msgstr "" + +msgid "Usage: cupsctl [options] [param=value ... paramN=valueN]" +msgstr "Sintaxi: cupsctl [opcions] [param=valor ... paramN=valorN]" + +msgid "Usage: cupsd [options]" +msgstr "Sintaxi: cupsd [opcions]" + +msgid "Usage: cupsfilter [ options ] [ -- ] filename" +msgstr "" + +msgid "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" +msgstr "" + +msgid "Usage: ippeveprinter [options] \"name\"" +msgstr "" + +msgid "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" +msgstr "" + +msgid "Usage: ipptool [options] URI filename [ ... filenameN ]" +msgstr "Sintaxi: ipptool [opcions] URI nomfitxer[ ... nomfitxerN]" + +msgid "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" +msgstr "" + +msgid "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" +msgstr "" + +msgid "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" +msgstr "" + +msgid "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" +msgstr "" + +msgid "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" +msgstr "" + +msgid "Usage: lpq [options] [+interval]" +msgstr "" + +msgid "Usage: lpr [options] [file(s)]" +msgstr "" + +msgid "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" +msgstr "" + +msgid "Usage: lpstat [options]" +msgstr "" + +msgid "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" +msgstr "Sintaxi: ppdc [opcions] nomfitxer.rv [ ... nomfitxerN.drv ]" + +msgid "Usage: ppdhtml [options] filename.drv >filename.html" +msgstr "Sintaxi: ppdhtml [opcions] nomfitxer.drv >nomfitxer.html" + +msgid "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "Sintaxi: ppdi [opcions] nomfitxer.ppd [ ... nomfitxerN.ppd ]" + +msgid "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "Sintaxi: ppdmerge [opcions] nomfitxer.ppd [ ... nomfitxerN.ppd ]" + +msgid "" +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" +msgstr "" +"Sintaxi: ppdpo [opcions] -o nomfitxer.po nomfitxer.drv [ ... nomfitxerN.drv]" + +msgid "Usage: snmp [host-or-ip-address]" +msgstr "Sintaxi: snmp [adreça-amfitrió-o-ip]" + +#, c-format +msgid "Using spool directory \"%s\"." +msgstr "" + +msgid "Value uses indefinite length" +msgstr "El valor té una longitud indefinida" + +msgid "VarBind uses indefinite length" +msgstr "VarBind té una longitud indefinida" + +msgid "Version uses indefinite length" +msgstr "Version té una longitud indefinida" + +msgid "Waiting for job to complete." +msgstr "S'està esperant que acabi la feina." + +msgid "Waiting for printer to become available." +msgstr "S'està esperant que la impressora estigui disponible." + +msgid "Waiting for printer to finish." +msgstr "S'està esperant que la impressora acabi." + +msgid "Warning: This program will be removed in a future version of CUPS." +msgstr "" + +msgid "Web Interface is Disabled" +msgstr "La interfície web està deshabilitada" + +msgid "Yes" +msgstr "Sí" + +msgid "You cannot access this page." +msgstr "" + +#, c-format +msgid "You must access this page using the URL https://%s:%d%s." +msgstr "Heu d'accedir a aquesta pagina a través de la URL https://%s:%d%s." + +msgid "Your account does not have the necessary privileges." +msgstr "" + +msgid "ZPL Label Printer" +msgstr "Impressora d'etiquetes ZPL" + +msgid "Zebra" +msgstr "Zebra" + +msgid "aborted" +msgstr "interromput" + +#. TRANSLATORS: Accuracy Units +msgid "accuracy-units" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "accuracy-units.mm" +msgstr "" + +#. TRANSLATORS: Nanometers +msgid "accuracy-units.nm" +msgstr "" + +#. TRANSLATORS: Micrometers +msgid "accuracy-units.um" +msgstr "" + +#. TRANSLATORS: Bale Output +msgid "baling" +msgstr "" + +#. TRANSLATORS: Bale Using +msgid "baling-type" +msgstr "" + +#. TRANSLATORS: Band +msgid "baling-type.band" +msgstr "" + +#. TRANSLATORS: Shrink Wrap +msgid "baling-type.shrink-wrap" +msgstr "" + +#. TRANSLATORS: Wrap +msgid "baling-type.wrap" +msgstr "" + +#. TRANSLATORS: Bale After +msgid "baling-when" +msgstr "" + +#. TRANSLATORS: Job +msgid "baling-when.after-job" +msgstr "" + +#. TRANSLATORS: Sets +msgid "baling-when.after-sets" +msgstr "" + +#. TRANSLATORS: Bind Output +msgid "binding" +msgstr "" + +#. TRANSLATORS: Bind Edge +msgid "binding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "binding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "binding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "binding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "binding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Binder Type +msgid "binding-type" +msgstr "" + +#. TRANSLATORS: Adhesive +msgid "binding-type.adhesive" +msgstr "" + +#. TRANSLATORS: Comb +msgid "binding-type.comb" +msgstr "" + +#. TRANSLATORS: Flat +msgid "binding-type.flat" +msgstr "" + +#. TRANSLATORS: Padding +msgid "binding-type.padding" +msgstr "" + +#. TRANSLATORS: Perfect +msgid "binding-type.perfect" +msgstr "" + +#. TRANSLATORS: Spiral +msgid "binding-type.spiral" +msgstr "" + +#. TRANSLATORS: Tape +msgid "binding-type.tape" +msgstr "" + +#. TRANSLATORS: Velo +msgid "binding-type.velo" +msgstr "" + +msgid "canceled" +msgstr "cancel·lat" + +#. TRANSLATORS: Chamber Humidity +msgid "chamber-humidity" +msgstr "" + +#. TRANSLATORS: Chamber Temperature +msgid "chamber-temperature" +msgstr "" + +#. TRANSLATORS: Print Job Cost +msgid "charge-info-message" +msgstr "" + +#. TRANSLATORS: Coat Sheets +msgid "coating" +msgstr "" + +#. TRANSLATORS: Add Coating To +msgid "coating-sides" +msgstr "" + +#. TRANSLATORS: Back +msgid "coating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "coating-sides.both" +msgstr "" + +#. TRANSLATORS: Front +msgid "coating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Coating +msgid "coating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "coating-type.archival" +msgstr "" + +#. TRANSLATORS: Archival Glossy +msgid "coating-type.archival-glossy" +msgstr "" + +#. TRANSLATORS: Archival Matte +msgid "coating-type.archival-matte" +msgstr "" + +#. TRANSLATORS: Archival Semi Gloss +msgid "coating-type.archival-semi-gloss" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "coating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "coating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "coating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "coating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Silicone +msgid "coating-type.silicone" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "coating-type.translucent" +msgstr "" + +msgid "completed" +msgstr "completat" + +#. TRANSLATORS: Print Confirmation Sheet +msgid "confirmation-sheet-print" +msgstr "" + +#. TRANSLATORS: Copies +msgid "copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "cover-front" +msgstr "" + +#. TRANSLATORS: Cover Sheet Info +msgid "cover-sheet-info" +msgstr "" + +#. TRANSLATORS: Date Time +msgid "cover-sheet-info-supported.date-time" +msgstr "" + +#. TRANSLATORS: From Name +msgid "cover-sheet-info-supported.from-name" +msgstr "" + +#. TRANSLATORS: Logo +msgid "cover-sheet-info-supported.logo" +msgstr "" + +#. TRANSLATORS: Message +msgid "cover-sheet-info-supported.message" +msgstr "" + +#. TRANSLATORS: Organization +msgid "cover-sheet-info-supported.organization" +msgstr "" + +#. TRANSLATORS: Subject +msgid "cover-sheet-info-supported.subject" +msgstr "" + +#. TRANSLATORS: To Name +msgid "cover-sheet-info-supported.to-name" +msgstr "" + +#. TRANSLATORS: Printed Cover +msgid "cover-type" +msgstr "" + +#. TRANSLATORS: No Cover +msgid "cover-type.no-cover" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "cover-type.print-back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "cover-type.print-both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "cover-type.print-front" +msgstr "" + +#. TRANSLATORS: None +msgid "cover-type.print-none" +msgstr "" + +#. TRANSLATORS: Cover Output +msgid "covering" +msgstr "" + +#. TRANSLATORS: Add Cover +msgid "covering-name" +msgstr "" + +#. TRANSLATORS: Plain +msgid "covering-name.plain" +msgstr "" + +#. TRANSLATORS: Pre-cut +msgid "covering-name.pre-cut" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "covering-name.pre-printed" +msgstr "" + +msgid "cups-deviced failed to execute." +msgstr "no s'ha pogut executar correctament la cups-deviced." + +msgid "cups-driverd failed to execute." +msgstr "no s'ha pogut executar correctament la cups-driverd" + +#, c-format +msgid "cupsctl: Cannot set %s directly." +msgstr "" + +#, c-format +msgid "cupsctl: Unable to connect to server: %s" +msgstr "cupsctl: no es pot connectar al servidor: %s" + +#, c-format +msgid "cupsctl: Unknown option \"%s\"" +msgstr "cupsctl: l'opció «%s» és desconeguda" + +#, c-format +msgid "cupsctl: Unknown option \"-%c\"" +msgstr "cupsctl: l'opció «-%c» és desconeguda" + +msgid "cupsd: Expected config filename after \"-c\" option." +msgstr "" +"cupsd: s'esperava un nom de fitxer de configuració després de l'opció «-c»." + +msgid "cupsd: Expected cups-files.conf filename after \"-s\" option." +msgstr "" + +msgid "cupsd: On-demand support not compiled in, running in normal mode." +msgstr "" + +msgid "cupsd: Relative cups-files.conf filename not allowed." +msgstr "" + +msgid "cupsd: Unable to get current directory." +msgstr "cupsd: No es pot obtenir el directori actual." + +msgid "cupsd: Unable to get path to cups-files.conf file." +msgstr "" + +#, c-format +msgid "cupsd: Unknown argument \"%s\" - aborting." +msgstr "cupsd: l'argument «%s» és desconegut - s'interromp." + +#, c-format +msgid "cupsd: Unknown option \"%c\" - aborting." +msgstr "cupsd: l'opció «%c» és desconeguda - s'interromp." + +#, c-format +msgid "cupsfilter: Invalid document number %d." +msgstr "cupsfilter: el document número %d no és vàlid." + +#, c-format +msgid "cupsfilter: Invalid job ID %d." +msgstr "cupsfilter: la feina %d no és vàlida." + +msgid "cupsfilter: Only one filename can be specified." +msgstr "cupsfilter: només es pot especificar un nom de fitxer." + +#, c-format +msgid "cupsfilter: Unable to get job file - %s" +msgstr "cupsfilter: no es pot obtenir el fitxer de la feina - %s" + +msgid "cupstestppd: The -q option is incompatible with the -v option." +msgstr "cupstestppd: l'opció -q no és compatible amb l'opció -v." + +msgid "cupstestppd: The -v option is incompatible with the -q option." +msgstr "cupstestppd: l'opció -v no és compatible amb l'opció -q." + +#. TRANSLATORS: Detailed Status Message +msgid "detailed-status-message" +msgstr "" + +#, c-format +msgid "device for %s/%s: %s" +msgstr "dispositiu per %s/%s: %s" + +#, c-format +msgid "device for %s: %s" +msgstr "dispositiu per %s: %s" + +#. TRANSLATORS: Copies +msgid "document-copies" +msgstr "" + +#. TRANSLATORS: Document Privacy Attributes +msgid "document-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Document Description +msgid "document-privacy-attributes.document-description" +msgstr "" + +#. TRANSLATORS: Document Template +msgid "document-privacy-attributes.document-template" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Document Privacy Scope +msgid "document-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "document-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Document State +msgid "document-state" +msgstr "" + +#. TRANSLATORS: Detailed Document State +msgid "document-state-reasons" +msgstr "" + +#. TRANSLATORS: Aborted By System +msgid "document-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Canceled At Device +msgid "document-state-reasons.canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled By Operator +msgid "document-state-reasons.canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled By User +msgid "document-state-reasons.canceled-by-user" +msgstr "" + +#. TRANSLATORS: Completed Successfully +msgid "document-state-reasons.completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed With Errors +msgid "document-state-reasons.completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed With Warnings +msgid "document-state-reasons.completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Compression Error +msgid "document-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Data Insufficient +msgid "document-state-reasons.data-insufficient" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "document-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "document-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Digital Signature Wait +msgid "document-state-reasons.digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "document-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "document-state-reasons.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "document-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "document-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "document-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "document-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "document-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "document-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "document-state-reasons.incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "document-state-reasons.interpreting" +msgstr "" + +#. TRANSLATORS: None +msgid "document-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "document-state-reasons.outgoing" +msgstr "" + +#. TRANSLATORS: Printing +msgid "document-state-reasons.printing" +msgstr "" + +#. TRANSLATORS: Processing To Stop Point +msgid "document-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Queued +msgid "document-state-reasons.queued" +msgstr "" + +#. TRANSLATORS: Queued For Marker +msgid "document-state-reasons.queued-for-marker" +msgstr "" + +#. TRANSLATORS: Queued In Device +msgid "document-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "document-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "document-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "document-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "document-state-reasons.transforming" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "document-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "document-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "document-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "document-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "document-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "document-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "document-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "document-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "document-state.9" +msgstr "" + +msgid "error-index uses indefinite length" +msgstr "error-index fa servir una longitud indefinida" + +msgid "error-status uses indefinite length" +msgstr "error-status fa servir una longitud indefinida" + +msgid "" +"expression --and expression\n" +" Logical AND" +msgstr "" + +msgid "" +"expression --or expression\n" +" Logical OR" +msgstr "" + +msgid "expression expression Logical AND" +msgstr "" + +#. TRANSLATORS: Feed Orientation +msgid "feed-orientation" +msgstr "" + +#. TRANSLATORS: Long Edge First +msgid "feed-orientation.long-edge-first" +msgstr "" + +#. TRANSLATORS: Short Edge First +msgid "feed-orientation.short-edge-first" +msgstr "" + +#. TRANSLATORS: Fetch Status Code +msgid "fetch-status-code" +msgstr "" + +#. TRANSLATORS: Finishing Template +msgid "finishing-template" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishing-template.bale" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishing-template.bind" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishing-template.bind-bottom" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishing-template.bind-left" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishing-template.bind-right" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishing-template.bind-top" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishing-template.booklet-maker" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishing-template.coat" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishing-template.cover" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishing-template.edge-stitch" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishing-template.edge-stitch-bottom" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishing-template.edge-stitch-left" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishing-template.edge-stitch-right" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishing-template.edge-stitch-top" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishing-template.fold" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishing-template.fold-accordion" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishing-template.fold-double-gate" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishing-template.fold-engineering-z" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishing-template.fold-gate" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishing-template.fold-half" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishing-template.fold-half-z" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishing-template.fold-left-gate" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishing-template.fold-letter" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishing-template.fold-parallel" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishing-template.fold-poster" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishing-template.fold-right-gate" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishing-template.fold-z" +msgstr "" + +#. TRANSLATORS: JDF F10-1 +msgid "finishing-template.jdf-f10-1" +msgstr "" + +#. TRANSLATORS: JDF F10-2 +msgid "finishing-template.jdf-f10-2" +msgstr "" + +#. TRANSLATORS: JDF F10-3 +msgid "finishing-template.jdf-f10-3" +msgstr "" + +#. TRANSLATORS: JDF F12-1 +msgid "finishing-template.jdf-f12-1" +msgstr "" + +#. TRANSLATORS: JDF F12-10 +msgid "finishing-template.jdf-f12-10" +msgstr "" + +#. TRANSLATORS: JDF F12-11 +msgid "finishing-template.jdf-f12-11" +msgstr "" + +#. TRANSLATORS: JDF F12-12 +msgid "finishing-template.jdf-f12-12" +msgstr "" + +#. TRANSLATORS: JDF F12-13 +msgid "finishing-template.jdf-f12-13" +msgstr "" + +#. TRANSLATORS: JDF F12-14 +msgid "finishing-template.jdf-f12-14" +msgstr "" + +#. TRANSLATORS: JDF F12-2 +msgid "finishing-template.jdf-f12-2" +msgstr "" + +#. TRANSLATORS: JDF F12-3 +msgid "finishing-template.jdf-f12-3" +msgstr "" + +#. TRANSLATORS: JDF F12-4 +msgid "finishing-template.jdf-f12-4" +msgstr "" + +#. TRANSLATORS: JDF F12-5 +msgid "finishing-template.jdf-f12-5" +msgstr "" + +#. TRANSLATORS: JDF F12-6 +msgid "finishing-template.jdf-f12-6" +msgstr "" + +#. TRANSLATORS: JDF F12-7 +msgid "finishing-template.jdf-f12-7" +msgstr "" + +#. TRANSLATORS: JDF F12-8 +msgid "finishing-template.jdf-f12-8" +msgstr "" + +#. TRANSLATORS: JDF F12-9 +msgid "finishing-template.jdf-f12-9" +msgstr "" + +#. TRANSLATORS: JDF F14-1 +msgid "finishing-template.jdf-f14-1" +msgstr "" + +#. TRANSLATORS: JDF F16-1 +msgid "finishing-template.jdf-f16-1" +msgstr "" + +#. TRANSLATORS: JDF F16-10 +msgid "finishing-template.jdf-f16-10" +msgstr "" + +#. TRANSLATORS: JDF F16-11 +msgid "finishing-template.jdf-f16-11" +msgstr "" + +#. TRANSLATORS: JDF F16-12 +msgid "finishing-template.jdf-f16-12" +msgstr "" + +#. TRANSLATORS: JDF F16-13 +msgid "finishing-template.jdf-f16-13" +msgstr "" + +#. TRANSLATORS: JDF F16-14 +msgid "finishing-template.jdf-f16-14" +msgstr "" + +#. TRANSLATORS: JDF F16-2 +msgid "finishing-template.jdf-f16-2" +msgstr "" + +#. TRANSLATORS: JDF F16-3 +msgid "finishing-template.jdf-f16-3" +msgstr "" + +#. TRANSLATORS: JDF F16-4 +msgid "finishing-template.jdf-f16-4" +msgstr "" + +#. TRANSLATORS: JDF F16-5 +msgid "finishing-template.jdf-f16-5" +msgstr "" + +#. TRANSLATORS: JDF F16-6 +msgid "finishing-template.jdf-f16-6" +msgstr "" + +#. TRANSLATORS: JDF F16-7 +msgid "finishing-template.jdf-f16-7" +msgstr "" + +#. TRANSLATORS: JDF F16-8 +msgid "finishing-template.jdf-f16-8" +msgstr "" + +#. TRANSLATORS: JDF F16-9 +msgid "finishing-template.jdf-f16-9" +msgstr "" + +#. TRANSLATORS: JDF F18-1 +msgid "finishing-template.jdf-f18-1" +msgstr "" + +#. TRANSLATORS: JDF F18-2 +msgid "finishing-template.jdf-f18-2" +msgstr "" + +#. TRANSLATORS: JDF F18-3 +msgid "finishing-template.jdf-f18-3" +msgstr "" + +#. TRANSLATORS: JDF F18-4 +msgid "finishing-template.jdf-f18-4" +msgstr "" + +#. TRANSLATORS: JDF F18-5 +msgid "finishing-template.jdf-f18-5" +msgstr "" + +#. TRANSLATORS: JDF F18-6 +msgid "finishing-template.jdf-f18-6" +msgstr "" + +#. TRANSLATORS: JDF F18-7 +msgid "finishing-template.jdf-f18-7" +msgstr "" + +#. TRANSLATORS: JDF F18-8 +msgid "finishing-template.jdf-f18-8" +msgstr "" + +#. TRANSLATORS: JDF F18-9 +msgid "finishing-template.jdf-f18-9" +msgstr "" + +#. TRANSLATORS: JDF F2-1 +msgid "finishing-template.jdf-f2-1" +msgstr "" + +#. TRANSLATORS: JDF F20-1 +msgid "finishing-template.jdf-f20-1" +msgstr "" + +#. TRANSLATORS: JDF F20-2 +msgid "finishing-template.jdf-f20-2" +msgstr "" + +#. TRANSLATORS: JDF F24-1 +msgid "finishing-template.jdf-f24-1" +msgstr "" + +#. TRANSLATORS: JDF F24-10 +msgid "finishing-template.jdf-f24-10" +msgstr "" + +#. TRANSLATORS: JDF F24-11 +msgid "finishing-template.jdf-f24-11" +msgstr "" + +#. TRANSLATORS: JDF F24-2 +msgid "finishing-template.jdf-f24-2" +msgstr "" + +#. TRANSLATORS: JDF F24-3 +msgid "finishing-template.jdf-f24-3" +msgstr "" + +#. TRANSLATORS: JDF F24-4 +msgid "finishing-template.jdf-f24-4" +msgstr "" + +#. TRANSLATORS: JDF F24-5 +msgid "finishing-template.jdf-f24-5" +msgstr "" + +#. TRANSLATORS: JDF F24-6 +msgid "finishing-template.jdf-f24-6" +msgstr "" + +#. TRANSLATORS: JDF F24-7 +msgid "finishing-template.jdf-f24-7" +msgstr "" + +#. TRANSLATORS: JDF F24-8 +msgid "finishing-template.jdf-f24-8" +msgstr "" + +#. TRANSLATORS: JDF F24-9 +msgid "finishing-template.jdf-f24-9" +msgstr "" + +#. TRANSLATORS: JDF F28-1 +msgid "finishing-template.jdf-f28-1" +msgstr "" + +#. TRANSLATORS: JDF F32-1 +msgid "finishing-template.jdf-f32-1" +msgstr "" + +#. TRANSLATORS: JDF F32-2 +msgid "finishing-template.jdf-f32-2" +msgstr "" + +#. TRANSLATORS: JDF F32-3 +msgid "finishing-template.jdf-f32-3" +msgstr "" + +#. TRANSLATORS: JDF F32-4 +msgid "finishing-template.jdf-f32-4" +msgstr "" + +#. TRANSLATORS: JDF F32-5 +msgid "finishing-template.jdf-f32-5" +msgstr "" + +#. TRANSLATORS: JDF F32-6 +msgid "finishing-template.jdf-f32-6" +msgstr "" + +#. TRANSLATORS: JDF F32-7 +msgid "finishing-template.jdf-f32-7" +msgstr "" + +#. TRANSLATORS: JDF F32-8 +msgid "finishing-template.jdf-f32-8" +msgstr "" + +#. TRANSLATORS: JDF F32-9 +msgid "finishing-template.jdf-f32-9" +msgstr "" + +#. TRANSLATORS: JDF F36-1 +msgid "finishing-template.jdf-f36-1" +msgstr "" + +#. TRANSLATORS: JDF F36-2 +msgid "finishing-template.jdf-f36-2" +msgstr "" + +#. TRANSLATORS: JDF F4-1 +msgid "finishing-template.jdf-f4-1" +msgstr "" + +#. TRANSLATORS: JDF F4-2 +msgid "finishing-template.jdf-f4-2" +msgstr "" + +#. TRANSLATORS: JDF F40-1 +msgid "finishing-template.jdf-f40-1" +msgstr "" + +#. TRANSLATORS: JDF F48-1 +msgid "finishing-template.jdf-f48-1" +msgstr "" + +#. TRANSLATORS: JDF F48-2 +msgid "finishing-template.jdf-f48-2" +msgstr "" + +#. TRANSLATORS: JDF F6-1 +msgid "finishing-template.jdf-f6-1" +msgstr "" + +#. TRANSLATORS: JDF F6-2 +msgid "finishing-template.jdf-f6-2" +msgstr "" + +#. TRANSLATORS: JDF F6-3 +msgid "finishing-template.jdf-f6-3" +msgstr "" + +#. TRANSLATORS: JDF F6-4 +msgid "finishing-template.jdf-f6-4" +msgstr "" + +#. TRANSLATORS: JDF F6-5 +msgid "finishing-template.jdf-f6-5" +msgstr "" + +#. TRANSLATORS: JDF F6-6 +msgid "finishing-template.jdf-f6-6" +msgstr "" + +#. TRANSLATORS: JDF F6-7 +msgid "finishing-template.jdf-f6-7" +msgstr "" + +#. TRANSLATORS: JDF F6-8 +msgid "finishing-template.jdf-f6-8" +msgstr "" + +#. TRANSLATORS: JDF F64-1 +msgid "finishing-template.jdf-f64-1" +msgstr "" + +#. TRANSLATORS: JDF F64-2 +msgid "finishing-template.jdf-f64-2" +msgstr "" + +#. TRANSLATORS: JDF F8-1 +msgid "finishing-template.jdf-f8-1" +msgstr "" + +#. TRANSLATORS: JDF F8-2 +msgid "finishing-template.jdf-f8-2" +msgstr "" + +#. TRANSLATORS: JDF F8-3 +msgid "finishing-template.jdf-f8-3" +msgstr "" + +#. TRANSLATORS: JDF F8-4 +msgid "finishing-template.jdf-f8-4" +msgstr "" + +#. TRANSLATORS: JDF F8-5 +msgid "finishing-template.jdf-f8-5" +msgstr "" + +#. TRANSLATORS: JDF F8-6 +msgid "finishing-template.jdf-f8-6" +msgstr "" + +#. TRANSLATORS: JDF F8-7 +msgid "finishing-template.jdf-f8-7" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishing-template.jog-offset" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishing-template.laminate" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishing-template.punch" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishing-template.punch-bottom-left" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishing-template.punch-bottom-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishing-template.punch-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishing-template.punch-dual-left" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishing-template.punch-dual-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishing-template.punch-dual-top" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishing-template.punch-multiple-bottom" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishing-template.punch-multiple-left" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishing-template.punch-multiple-right" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishing-template.punch-multiple-top" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishing-template.punch-quad-bottom" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishing-template.punch-quad-left" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishing-template.punch-quad-right" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishing-template.punch-quad-top" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishing-template.punch-top-left" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishing-template.punch-top-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishing-template.punch-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishing-template.punch-triple-left" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishing-template.punch-triple-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishing-template.punch-triple-top" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishing-template.saddle-stitch" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishing-template.staple" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishing-template.staple-bottom-left" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishing-template.staple-bottom-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishing-template.staple-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishing-template.staple-dual-left" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishing-template.staple-dual-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishing-template.staple-dual-top" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishing-template.staple-top-left" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishing-template.staple-top-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishing-template.staple-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishing-template.staple-triple-left" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishing-template.staple-triple-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishing-template.staple-triple-top" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishing-template.trim" +msgstr "" + +#. TRANSLATORS: Trim After Every Set +msgid "finishing-template.trim-after-copies" +msgstr "" + +#. TRANSLATORS: Trim After Every Document +msgid "finishing-template.trim-after-documents" +msgstr "" + +#. TRANSLATORS: Trim After Job +msgid "finishing-template.trim-after-job" +msgstr "" + +#. TRANSLATORS: Trim After Every Page +msgid "finishing-template.trim-after-pages" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings-col" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishings.10" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishings.100" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishings.101" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishings.11" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishings.12" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishings.13" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishings.14" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishings.15" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishings.16" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishings.20" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishings.21" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishings.22" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishings.23" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishings.24" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishings.25" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishings.26" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishings.27" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishings.28" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishings.29" +msgstr "" + +#. TRANSLATORS: None +msgid "finishings.3" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishings.30" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishings.31" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishings.32" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishings.33" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishings.34" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishings.35" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishings.4" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishings.5" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishings.50" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishings.51" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishings.52" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishings.53" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishings.6" +msgstr "" + +#. TRANSLATORS: Trim Pages +msgid "finishings.60" +msgstr "" + +#. TRANSLATORS: Trim Documents +msgid "finishings.61" +msgstr "" + +#. TRANSLATORS: Trim Copies +msgid "finishings.62" +msgstr "" + +#. TRANSLATORS: Trim Job +msgid "finishings.63" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishings.7" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishings.70" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishings.71" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishings.72" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishings.73" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishings.74" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishings.75" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishings.76" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishings.77" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishings.78" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishings.79" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishings.8" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishings.80" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishings.81" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishings.82" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishings.83" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishings.84" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishings.85" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishings.86" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishings.87" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishings.88" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishings.89" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishings.9" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishings.90" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishings.91" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishings.92" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishings.93" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishings.94" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishings.95" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishings.96" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishings.97" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishings.98" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishings.99" +msgstr "" + +#. TRANSLATORS: Fold +msgid "folding" +msgstr "" + +#. TRANSLATORS: Fold Direction +msgid "folding-direction" +msgstr "" + +#. TRANSLATORS: Inward +msgid "folding-direction.inward" +msgstr "" + +#. TRANSLATORS: Outward +msgid "folding-direction.outward" +msgstr "" + +#. TRANSLATORS: Fold Position +msgid "folding-offset" +msgstr "" + +#. TRANSLATORS: Fold Edge +msgid "folding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "folding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "folding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "folding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "folding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Font Name +msgid "font-name-requested" +msgstr "" + +#. TRANSLATORS: Font Size +msgid "font-size-requested" +msgstr "" + +#. TRANSLATORS: Force Front Side +msgid "force-front-side" +msgstr "" + +#. TRANSLATORS: From Name +msgid "from-name" +msgstr "" + +msgid "held" +msgstr "En pausa" + +msgid "help\t\tGet help on commands." +msgstr "help\t\tproporciona ajuda sobre les comandes." + +msgid "idle" +msgstr "inactiva" + +#. TRANSLATORS: Imposition Template +msgid "imposition-template" +msgstr "" + +#. TRANSLATORS: None +msgid "imposition-template.none" +msgstr "" + +#. TRANSLATORS: Signature +msgid "imposition-template.signature" +msgstr "" + +#. TRANSLATORS: Insert Page Number +msgid "insert-after-page-number" +msgstr "" + +#. TRANSLATORS: Insert Count +msgid "insert-count" +msgstr "" + +#. TRANSLATORS: Insert Sheet +msgid "insert-sheet" +msgstr "" + +#, c-format +msgid "ippeveprinter: Unable to open \"%s\": %s on line %d." +msgstr "" + +#, c-format +msgid "ippfind: Bad regular expression: %s" +msgstr "" + +msgid "ippfind: Cannot use --and after --or." +msgstr "" + +#, c-format +msgid "ippfind: Expected key name after %s." +msgstr "" + +#, c-format +msgid "ippfind: Expected port range after %s." +msgstr "" + +#, c-format +msgid "ippfind: Expected program after %s." +msgstr "" + +#, c-format +msgid "ippfind: Expected semi-colon after %s." +msgstr "" + +msgid "ippfind: Missing close brace in substitution." +msgstr "" + +msgid "ippfind: Missing close parenthesis." +msgstr "" + +msgid "ippfind: Missing expression before \"--and\"." +msgstr "" + +msgid "ippfind: Missing expression before \"--or\"." +msgstr "" + +#, c-format +msgid "ippfind: Missing key name after %s." +msgstr "" + +#, c-format +msgid "ippfind: Missing name after %s." +msgstr "" + +msgid "ippfind: Missing open parenthesis." +msgstr "" + +#, c-format +msgid "ippfind: Missing program after %s." +msgstr "" + +#, c-format +msgid "ippfind: Missing regular expression after %s." +msgstr "" + +#, c-format +msgid "ippfind: Missing semi-colon after %s." +msgstr "" + +msgid "ippfind: Out of memory." +msgstr "" + +msgid "ippfind: Too many parenthesis." +msgstr "" + +#, c-format +msgid "ippfind: Unable to browse or resolve: %s" +msgstr "" + +#, c-format +msgid "ippfind: Unable to execute \"%s\": %s" +msgstr "" + +#, c-format +msgid "ippfind: Unable to use Bonjour: %s" +msgstr "" + +#, c-format +msgid "ippfind: Unknown variable \"{%s}\"." +msgstr "" + +msgid "" +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", " +"and \"-X\"." +msgstr "" + +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." +msgstr "" + +#, c-format +msgid "ipptool: Bad URI \"%s\"." +msgstr "" + +msgid "ipptool: Invalid seconds for \"-i\"." +msgstr "ipptool: els segons de «-i» no són correctes." + +msgid "ipptool: May only specify a single URI." +msgstr "ipptool: heu d'especificar només un URI." + +msgid "ipptool: Missing count for \"-n\"." +msgstr "ipptool: falta el comptador de «-n»." + +msgid "ipptool: Missing filename for \"--ippserver\"." +msgstr "" + +msgid "ipptool: Missing filename for \"-f\"." +msgstr "ipptool: falta el nom del fitxer a «-f»." + +msgid "ipptool: Missing name=value for \"-d\"." +msgstr "ipptool: falta nom=valor a «-d»." + +msgid "ipptool: Missing seconds for \"-i\"." +msgstr "ipptool: falten els segons a «-i»." + +msgid "ipptool: URI required before test file." +msgstr "ipptool: falta l'URI abans del fitxer de prova." + +#. TRANSLATORS: Job Account ID +msgid "job-account-id" +msgstr "" + +#. TRANSLATORS: Job Account Type +msgid "job-account-type" +msgstr "" + +#. TRANSLATORS: General +msgid "job-account-type.general" +msgstr "" + +#. TRANSLATORS: Group +msgid "job-account-type.group" +msgstr "" + +#. TRANSLATORS: None +msgid "job-account-type.none" +msgstr "" + +#. TRANSLATORS: Job Accounting Output Bin +msgid "job-accounting-output-bin" +msgstr "" + +#. TRANSLATORS: Job Accounting Sheets +msgid "job-accounting-sheets" +msgstr "" + +#. TRANSLATORS: Type of Job Accounting Sheets +msgid "job-accounting-sheets-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-accounting-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-accounting-sheets-type.standard" +msgstr "" + +#. TRANSLATORS: Job Accounting User ID +msgid "job-accounting-user-id" +msgstr "" + +#. TRANSLATORS: Job Cancel After +msgid "job-cancel-after" +msgstr "" + +#. TRANSLATORS: Copies +msgid "job-copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "job-cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "job-cover-front" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-delay-output-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-delay-output-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-delay-output-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-delay-output-until.night" +msgstr "" + +#. TRANSLATORS: No Delay +msgid "job-delay-output-until.no-delay-output" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-delay-output-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-delay-output-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-delay-output-until.weekend" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "job-error-action.abort-job" +msgstr "" + +#. TRANSLATORS: Cancel Job +msgid "job-error-action.cancel-job" +msgstr "" + +#. TRANSLATORS: Continue Job +msgid "job-error-action.continue-job" +msgstr "" + +#. TRANSLATORS: Suspend Job +msgid "job-error-action.suspend-job" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet" +msgstr "" + +#. TRANSLATORS: Type of Error Sheet +msgid "job-error-sheet-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-error-sheet-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-error-sheet-type.standard" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet-when" +msgstr "" + +#. TRANSLATORS: Always +msgid "job-error-sheet-when.always" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-sheet-when.on-error" +msgstr "" + +#. TRANSLATORS: Job Finishings +msgid "job-finishings" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-hold-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-hold-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-hold-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-hold-until.night" +msgstr "" + +#. TRANSLATORS: No Hold +msgid "job-hold-until.no-hold" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-hold-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-hold-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-hold-until.weekend" +msgstr "" + +#. TRANSLATORS: Job Mandatory Attributes +msgid "job-mandatory-attributes" +msgstr "" + +#. TRANSLATORS: Title +msgid "job-name" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages-col" +msgstr "" + +#. TRANSLATORS: Job Phone Number +msgid "job-phone-number" +msgstr "" + +msgid "job-printer-uri attribute missing." +msgstr "Falta l'atribut de job-printer-uri." + +#. TRANSLATORS: Job Priority +msgid "job-priority" +msgstr "" + +#. TRANSLATORS: Job Privacy Attributes +msgid "job-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Job Description +msgid "job-privacy-attributes.job-description" +msgstr "" + +#. TRANSLATORS: Job Template +msgid "job-privacy-attributes.job-template" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Job Privacy Scope +msgid "job-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "job-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Job Recipient Name +msgid "job-recipient-name" +msgstr "" + +#. TRANSLATORS: Job Retain Until +msgid "job-retain-until" +msgstr "" + +#. TRANSLATORS: Job Retain Until Interval +msgid "job-retain-until-interval" +msgstr "" + +#. TRANSLATORS: Job Retain Until Time +msgid "job-retain-until-time" +msgstr "" + +#. TRANSLATORS: End Of Day +msgid "job-retain-until.end-of-day" +msgstr "" + +#. TRANSLATORS: End Of Month +msgid "job-retain-until.end-of-month" +msgstr "" + +#. TRANSLATORS: End Of Week +msgid "job-retain-until.end-of-week" +msgstr "" + +#. TRANSLATORS: Indefinite +msgid "job-retain-until.indefinite" +msgstr "" + +#. TRANSLATORS: None +msgid "job-retain-until.none" +msgstr "" + +#. TRANSLATORS: Job Save Disposition +msgid "job-save-disposition" +msgstr "" + +#. TRANSLATORS: Job Sheet Message +msgid "job-sheet-message" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets-col" +msgstr "" + +#. TRANSLATORS: First Page in Document +msgid "job-sheets.first-print-stream-page" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "job-sheets.job-both-sheet" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "job-sheets.job-end-sheet" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "job-sheets.job-start-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "job-sheets.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-sheets.standard" +msgstr "" + +#. TRANSLATORS: Job State +msgid "job-state" +msgstr "" + +#. TRANSLATORS: Job State Message +msgid "job-state-message" +msgstr "" + +#. TRANSLATORS: Detailed Job State +msgid "job-state-reasons" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Account Authorization Failed +msgid "job-state-reasons.account-authorization-failed" +msgstr "" + +#. TRANSLATORS: Account Closed +msgid "job-state-reasons.account-closed" +msgstr "" + +#. TRANSLATORS: Account Info Needed +msgid "job-state-reasons.account-info-needed" +msgstr "" + +#. TRANSLATORS: Account Limit Reached +msgid "job-state-reasons.account-limit-reached" +msgstr "" + +#. TRANSLATORS: Decompression error +msgid "job-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Conflicting Attributes +msgid "job-state-reasons.conflicting-attributes" +msgstr "" + +#. TRANSLATORS: Connected To Destination +msgid "job-state-reasons.connected-to-destination" +msgstr "" + +#. TRANSLATORS: Connecting To Destination +msgid "job-state-reasons.connecting-to-destination" +msgstr "" + +#. TRANSLATORS: Destination Uri Failed +msgid "job-state-reasons.destination-uri-failed" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "job-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "job-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "job-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "job-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "job-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "job-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "job-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "job-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "job-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Canceled at printer +msgid "job-state-reasons.job-canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled by operator +msgid "job-state-reasons.job-canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled by user +msgid "job-state-reasons.job-canceled-by-user" +msgstr "" + +#. TRANSLATORS: +msgid "job-state-reasons.job-completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed with errors +msgid "job-state-reasons.job-completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed with warnings +msgid "job-state-reasons.job-completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Insufficient data +msgid "job-state-reasons.job-data-insufficient" +msgstr "" + +#. TRANSLATORS: Job Delay Output Until Specified +msgid "job-state-reasons.job-delay-output-until-specified" +msgstr "" + +#. TRANSLATORS: Job Digital Signature Wait +msgid "job-state-reasons.job-digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "job-state-reasons.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Held For Review +msgid "job-state-reasons.job-held-for-review" +msgstr "" + +#. TRANSLATORS: Job held +msgid "job-state-reasons.job-hold-until-specified" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "job-state-reasons.job-incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "job-state-reasons.job-interpreting" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "job-state-reasons.job-outgoing" +msgstr "" + +#. TRANSLATORS: Job Password Wait +msgid "job-state-reasons.job-password-wait" +msgstr "" + +#. TRANSLATORS: Job Printed Successfully +msgid "job-state-reasons.job-printed-successfully" +msgstr "" + +#. TRANSLATORS: Job Printed With Errors +msgid "job-state-reasons.job-printed-with-errors" +msgstr "" + +#. TRANSLATORS: Job Printed With Warnings +msgid "job-state-reasons.job-printed-with-warnings" +msgstr "" + +#. TRANSLATORS: Printing +msgid "job-state-reasons.job-printing" +msgstr "" + +#. TRANSLATORS: Preparing to print +msgid "job-state-reasons.job-queued" +msgstr "" + +#. TRANSLATORS: Processing document +msgid "job-state-reasons.job-queued-for-marker" +msgstr "" + +#. TRANSLATORS: Job Release Wait +msgid "job-state-reasons.job-release-wait" +msgstr "" + +#. TRANSLATORS: Restartable +msgid "job-state-reasons.job-restartable" +msgstr "" + +#. TRANSLATORS: Job Resuming +msgid "job-state-reasons.job-resuming" +msgstr "" + +#. TRANSLATORS: Job Saved Successfully +msgid "job-state-reasons.job-saved-successfully" +msgstr "" + +#. TRANSLATORS: Job Saved With Errors +msgid "job-state-reasons.job-saved-with-errors" +msgstr "" + +#. TRANSLATORS: Job Saved With Warnings +msgid "job-state-reasons.job-saved-with-warnings" +msgstr "" + +#. TRANSLATORS: Job Saving +msgid "job-state-reasons.job-saving" +msgstr "" + +#. TRANSLATORS: Job Spooling +msgid "job-state-reasons.job-spooling" +msgstr "" + +#. TRANSLATORS: Job Streaming +msgid "job-state-reasons.job-streaming" +msgstr "" + +#. TRANSLATORS: Suspended +msgid "job-state-reasons.job-suspended" +msgstr "" + +#. TRANSLATORS: Job Suspended By Operator +msgid "job-state-reasons.job-suspended-by-operator" +msgstr "" + +#. TRANSLATORS: Job Suspended By System +msgid "job-state-reasons.job-suspended-by-system" +msgstr "" + +#. TRANSLATORS: Job Suspended By User +msgid "job-state-reasons.job-suspended-by-user" +msgstr "" + +#. TRANSLATORS: Job Suspending +msgid "job-state-reasons.job-suspending" +msgstr "" + +#. TRANSLATORS: Job Transferring +msgid "job-state-reasons.job-transferring" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "job-state-reasons.job-transforming" +msgstr "" + +#. TRANSLATORS: None +msgid "job-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "job-state-reasons.printer-stopped" +msgstr "" + +#. TRANSLATORS: Printer partially stopped +msgid "job-state-reasons.printer-stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Ready +msgid "job-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "job-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "job-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Service offline +msgid "job-state-reasons.service-off-line" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "job-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Unsupported Attributes Or Values +msgid "job-state-reasons.unsupported-attributes-or-values" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "job-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "job-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Waiting For User Action +msgid "job-state-reasons.waiting-for-user-action" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "job-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "job-state.3" +msgstr "" + +#. TRANSLATORS: Held +msgid "job-state.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "job-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "job-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "job-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "job-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "job-state.9" +msgstr "" + +#. TRANSLATORS: Laminate Pages +msgid "laminating" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "laminating-sides" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "laminating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "laminating-sides.both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "laminating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Lamination +msgid "laminating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "laminating-type.archival" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "laminating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "laminating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "laminating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "laminating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "laminating-type.translucent" +msgstr "" + +#. TRANSLATORS: Logo +msgid "logo" +msgstr "" + +msgid "lpadmin: Class name can only contain printable characters." +msgstr "lpadmin: el nom de la classe només pot tenir caràcters imprimibles." + +#, c-format +msgid "lpadmin: Expected PPD after \"-%c\" option." +msgstr "" + +msgid "lpadmin: Expected allow/deny:userlist after \"-u\" option." +msgstr "lpadmin: s'esperava allow/deny:llistausuaris després de l'opció «-u»." + +msgid "lpadmin: Expected class after \"-r\" option." +msgstr "lpadmin: s'esperava una classe després de l'opció «-r»." + +msgid "lpadmin: Expected class name after \"-c\" option." +msgstr "lpadmin: s'esperava un nom de classe després de l'opció «-c»." + +msgid "lpadmin: Expected description after \"-D\" option." +msgstr "lpadmin: s'esperava una descripció després de l'opció «-D»." + +msgid "lpadmin: Expected device URI after \"-v\" option." +msgstr "lpadmin: s'esperava un URI de dispositiu després de l'opció «-v»." + +msgid "lpadmin: Expected file type(s) after \"-I\" option." +msgstr "lpadmin: s'esperava un(s) tipus de fitxer(s) després de l'opció «-I»." + +msgid "lpadmin: Expected hostname after \"-h\" option." +msgstr "lpadmin: s'esperava un nom d'amfitrió després de l'opció «-h»." + +msgid "lpadmin: Expected location after \"-L\" option." +msgstr "lpadmin: s'esperava una ubicació després de l'opció «-L»." + +msgid "lpadmin: Expected model after \"-m\" option." +msgstr "lpadmin: s'esperava un model després de l'opció «-m»." + +msgid "lpadmin: Expected name after \"-R\" option." +msgstr "lpadmin: s'esperava un nom després de l'opció «-R»." + +msgid "lpadmin: Expected name=value after \"-o\" option." +msgstr "lpadmin: s'esperava nom=valor després de l'opció «-o»." + +msgid "lpadmin: Expected printer after \"-p\" option." +msgstr "lpadmin: s'esperava una impressora després de l'opció «-p»." + +msgid "lpadmin: Expected printer name after \"-d\" option." +msgstr "lpadmin: s'esperava un nom d'impressora després de l'opció «-d»." + +msgid "lpadmin: Expected printer or class after \"-x\" option." +msgstr "lpadmin: s'esperava un impressora o classe després de l'opció «-x»." + +msgid "lpadmin: No member names were seen." +msgstr "lpadmin: no s'ha trobat cap nom de membre." + +#, c-format +msgid "lpadmin: Printer %s is already a member of class %s." +msgstr "lpadmin: la impressora %s ja és membre de la classe %s." + +#, c-format +msgid "lpadmin: Printer %s is not a member of class %s." +msgstr "lpadmin: la impressora %s no és membre de la classe %s." + +msgid "" +"lpadmin: Printer drivers are deprecated and will stop working in a future " +"version of CUPS." +msgstr "" + +msgid "lpadmin: Printer name can only contain printable characters." +msgstr "" +"lpadmin: el nom de la impressora només pot contenir caràcters imprimibles." + +msgid "" +"lpadmin: Raw queues are deprecated and will stop working in a future version " +"of CUPS." +msgstr "" + +msgid "lpadmin: Raw queues are no longer supported on macOS." +msgstr "" + +msgid "" +"lpadmin: System V interface scripts are no longer supported for security " +"reasons." +msgstr "" + +msgid "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: no s'ha pogut afegir una impressora a la classe:\n" +" Heu d'especificar primer un nom d'impressora." + +#, c-format +msgid "lpadmin: Unable to connect to server: %s" +msgstr "lpadmin: no s'ha pogut connectar al servidor: %s" + +msgid "lpadmin: Unable to create temporary file" +msgstr "lpadmin: no s'ha pogut crear el fitxer temporal" + +msgid "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: no s'ha pogut esborrar l'opció:\n" +" Heu d'especificar primer un nom d'impressora." + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s" +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s on line %d." +msgstr "" + +msgid "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: no es pot esborrar una impressora de la classe:\n" +" Heu d'especificar primer un nom d'impressora." + +msgid "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: no es pot establir les opcions de la impressora:\n" +" Heu d'especificar primer un nom d'impressora." + +#, c-format +msgid "lpadmin: Unknown allow/deny option \"%s\"." +msgstr "lpadmin: l'opció allow/deny «%s» és desconeguda." + +#, c-format +msgid "lpadmin: Unknown argument \"%s\"." +msgstr "lpadmin: l'argument «%s» és desconegut." + +#, c-format +msgid "lpadmin: Unknown option \"%c\"." +msgstr "lpadmin: l'opció «%c» és desconeguda." + +msgid "lpadmin: Use the 'everywhere' model for shared printers." +msgstr "" + +msgid "lpadmin: Warning - content type list ignored." +msgstr "lpadmin: avís - s'ignora el contingut de la llista de tipus." + +msgid "lpc> " +msgstr "lpc> " + +msgid "lpinfo: Expected 1284 device ID string after \"--device-id\"." +msgstr "" +"lpinfo: s'esperava una cadena d'ID de dispositiu 1284 després de «--device-" +"id»." + +msgid "lpinfo: Expected language after \"--language\"." +msgstr "lpinfo: s'esperava un idioma després de «--language»." + +msgid "lpinfo: Expected make and model after \"--make-and-model\"." +msgstr "lpinfo: s'esperava una marca i model després de «--make-and-model»." + +msgid "lpinfo: Expected product string after \"--product\"." +msgstr "lpinfo: s'esperava una cadena de producte després de «--product!»." + +msgid "lpinfo: Expected scheme list after \"--exclude-schemes\"." +msgstr "" +"lpinfo: s'esperava una llista d'esquemes després de l'opció «--exclude-" +"schemes»." + +msgid "lpinfo: Expected scheme list after \"--include-schemes\"." +msgstr "" +"lpinfo: s'esperava una llista d'esquemes després de l'opció «--include-" +"schemes»." + +msgid "lpinfo: Expected timeout after \"--timeout\"." +msgstr "lpinfo: s'esperava un temps d'espera després de «--timeout»." + +#, c-format +msgid "lpmove: Unable to connect to server: %s" +msgstr "lpmove: no s'ha pogut connectar al servidor: %s" + +#, c-format +msgid "lpmove: Unknown argument \"%s\"." +msgstr "lpmove: l'argument «%s» és desconegut." + +msgid "lpoptions: No printers." +msgstr "lpoptions: no hi ha cap impressora." + +#, c-format +msgid "lpoptions: Unable to add printer or instance: %s" +msgstr "lpoptions: no s'ha pogut afegir la impressora o la instància: %s" + +#, c-format +msgid "lpoptions: Unable to get PPD file for %s: %s" +msgstr "lpoptions: no s'ha pogut obtenir el fitxer PPD de %s: %s" + +#, c-format +msgid "lpoptions: Unable to open PPD file for %s." +msgstr "lpoptions: no s'ha pogut obrir el fitxer PPD per %s." + +msgid "lpoptions: Unknown printer or class." +msgstr "lpoptions: la impressora o la classe són desconegudes." + +#, c-format +msgid "" +"lpstat: error - %s environment variable names non-existent destination \"%s" +"\"." +msgstr "" +"lpstat: error - la variable d'entorn %s esmenta el destí «%s» que no " +"existeix." + +#. TRANSLATORS: Amount of Material +msgid "material-amount" +msgstr "" + +#. TRANSLATORS: Amount Units +msgid "material-amount-units" +msgstr "" + +#. TRANSLATORS: Grams +msgid "material-amount-units.g" +msgstr "" + +#. TRANSLATORS: Kilograms +msgid "material-amount-units.kg" +msgstr "" + +#. TRANSLATORS: Liters +msgid "material-amount-units.l" +msgstr "" + +#. TRANSLATORS: Meters +msgid "material-amount-units.m" +msgstr "" + +#. TRANSLATORS: Milliliters +msgid "material-amount-units.ml" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "material-amount-units.mm" +msgstr "" + +#. TRANSLATORS: Material Color +msgid "material-color" +msgstr "" + +#. TRANSLATORS: Material Diameter +msgid "material-diameter" +msgstr "" + +#. TRANSLATORS: Material Diameter Tolerance +msgid "material-diameter-tolerance" +msgstr "" + +#. TRANSLATORS: Material Fill Density +msgid "material-fill-density" +msgstr "" + +#. TRANSLATORS: Material Name +msgid "material-name" +msgstr "" + +#. TRANSLATORS: Material Nozzle Diameter +msgid "material-nozzle-diameter" +msgstr "" + +#. TRANSLATORS: Use Material For +msgid "material-purpose" +msgstr "" + +#. TRANSLATORS: Everything +msgid "material-purpose.all" +msgstr "" + +#. TRANSLATORS: Base +msgid "material-purpose.base" +msgstr "" + +#. TRANSLATORS: In-fill +msgid "material-purpose.in-fill" +msgstr "" + +#. TRANSLATORS: Shell +msgid "material-purpose.shell" +msgstr "" + +#. TRANSLATORS: Supports +msgid "material-purpose.support" +msgstr "" + +#. TRANSLATORS: Feed Rate +msgid "material-rate" +msgstr "" + +#. TRANSLATORS: Feed Rate Units +msgid "material-rate-units" +msgstr "" + +#. TRANSLATORS: Milligrams per second +msgid "material-rate-units.mg_second" +msgstr "" + +#. TRANSLATORS: Milliliters per second +msgid "material-rate-units.ml_second" +msgstr "" + +#. TRANSLATORS: Millimeters per second +msgid "material-rate-units.mm_second" +msgstr "" + +#. TRANSLATORS: Material Retraction +msgid "material-retraction" +msgstr "" + +#. TRANSLATORS: Material Shell Thickness +msgid "material-shell-thickness" +msgstr "" + +#. TRANSLATORS: Material Temperature +msgid "material-temperature" +msgstr "" + +#. TRANSLATORS: Material Type +msgid "material-type" +msgstr "" + +#. TRANSLATORS: ABS +msgid "material-type.abs" +msgstr "" + +#. TRANSLATORS: Carbon Fiber ABS +msgid "material-type.abs-carbon-fiber" +msgstr "" + +#. TRANSLATORS: Carbon Nanotube ABS +msgid "material-type.abs-carbon-nanotube" +msgstr "" + +#. TRANSLATORS: Chocolate +msgid "material-type.chocolate" +msgstr "" + +#. TRANSLATORS: Gold +msgid "material-type.gold" +msgstr "" + +#. TRANSLATORS: Nylon +msgid "material-type.nylon" +msgstr "" + +#. TRANSLATORS: Pet +msgid "material-type.pet" +msgstr "" + +#. TRANSLATORS: Photopolymer +msgid "material-type.photopolymer" +msgstr "" + +#. TRANSLATORS: PLA +msgid "material-type.pla" +msgstr "" + +#. TRANSLATORS: Conductive PLA +msgid "material-type.pla-conductive" +msgstr "" + +#. TRANSLATORS: Pla Dissolvable +msgid "material-type.pla-dissolvable" +msgstr "" + +#. TRANSLATORS: Flexible PLA +msgid "material-type.pla-flexible" +msgstr "" + +#. TRANSLATORS: Magnetic PLA +msgid "material-type.pla-magnetic" +msgstr "" + +#. TRANSLATORS: Steel PLA +msgid "material-type.pla-steel" +msgstr "" + +#. TRANSLATORS: Stone PLA +msgid "material-type.pla-stone" +msgstr "" + +#. TRANSLATORS: Wood PLA +msgid "material-type.pla-wood" +msgstr "" + +#. TRANSLATORS: Polycarbonate +msgid "material-type.polycarbonate" +msgstr "" + +#. TRANSLATORS: Dissolvable PVA +msgid "material-type.pva-dissolvable" +msgstr "" + +#. TRANSLATORS: Silver +msgid "material-type.silver" +msgstr "" + +#. TRANSLATORS: Titanium +msgid "material-type.titanium" +msgstr "" + +#. TRANSLATORS: Wax +msgid "material-type.wax" +msgstr "" + +#. TRANSLATORS: Materials +msgid "materials-col" +msgstr "" + +#. TRANSLATORS: Media +msgid "media" +msgstr "" + +#. TRANSLATORS: Back Coating of Media +msgid "media-back-coating" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "media-back-coating.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "media-back-coating.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "media-back-coating.matte" +msgstr "" + +#. TRANSLATORS: None +msgid "media-back-coating.none" +msgstr "" + +#. TRANSLATORS: Satin +msgid "media-back-coating.satin" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "media-back-coating.semi-gloss" +msgstr "" + +#. TRANSLATORS: Media Bottom Margin +msgid "media-bottom-margin" +msgstr "" + +#. TRANSLATORS: Media +msgid "media-col" +msgstr "" + +#. TRANSLATORS: Media Color +msgid "media-color" +msgstr "" + +#. TRANSLATORS: Black +msgid "media-color.black" +msgstr "" + +#. TRANSLATORS: Blue +msgid "media-color.blue" +msgstr "" + +#. TRANSLATORS: Brown +msgid "media-color.brown" +msgstr "" + +#. TRANSLATORS: Buff +msgid "media-color.buff" +msgstr "" + +#. TRANSLATORS: Clear Black +msgid "media-color.clear-black" +msgstr "" + +#. TRANSLATORS: Clear Blue +msgid "media-color.clear-blue" +msgstr "" + +#. TRANSLATORS: Clear Brown +msgid "media-color.clear-brown" +msgstr "" + +#. TRANSLATORS: Clear Buff +msgid "media-color.clear-buff" +msgstr "" + +#. TRANSLATORS: Clear Cyan +msgid "media-color.clear-cyan" +msgstr "" + +#. TRANSLATORS: Clear Gold +msgid "media-color.clear-gold" +msgstr "" + +#. TRANSLATORS: Clear Goldenrod +msgid "media-color.clear-goldenrod" +msgstr "" + +#. TRANSLATORS: Clear Gray +msgid "media-color.clear-gray" +msgstr "" + +#. TRANSLATORS: Clear Green +msgid "media-color.clear-green" +msgstr "" + +#. TRANSLATORS: Clear Ivory +msgid "media-color.clear-ivory" +msgstr "" + +#. TRANSLATORS: Clear Magenta +msgid "media-color.clear-magenta" +msgstr "" + +#. TRANSLATORS: Clear Multi Color +msgid "media-color.clear-multi-color" +msgstr "" + +#. TRANSLATORS: Clear Mustard +msgid "media-color.clear-mustard" +msgstr "" + +#. TRANSLATORS: Clear Orange +msgid "media-color.clear-orange" +msgstr "" + +#. TRANSLATORS: Clear Pink +msgid "media-color.clear-pink" +msgstr "" + +#. TRANSLATORS: Clear Red +msgid "media-color.clear-red" +msgstr "" + +#. TRANSLATORS: Clear Silver +msgid "media-color.clear-silver" +msgstr "" + +#. TRANSLATORS: Clear Turquoise +msgid "media-color.clear-turquoise" +msgstr "" + +#. TRANSLATORS: Clear Violet +msgid "media-color.clear-violet" +msgstr "" + +#. TRANSLATORS: Clear White +msgid "media-color.clear-white" +msgstr "" + +#. TRANSLATORS: Clear Yellow +msgid "media-color.clear-yellow" +msgstr "" + +#. TRANSLATORS: Cyan +msgid "media-color.cyan" +msgstr "" + +#. TRANSLATORS: Dark Blue +msgid "media-color.dark-blue" +msgstr "" + +#. TRANSLATORS: Dark Brown +msgid "media-color.dark-brown" +msgstr "" + +#. TRANSLATORS: Dark Buff +msgid "media-color.dark-buff" +msgstr "" + +#. TRANSLATORS: Dark Cyan +msgid "media-color.dark-cyan" +msgstr "" + +#. TRANSLATORS: Dark Gold +msgid "media-color.dark-gold" +msgstr "" + +#. TRANSLATORS: Dark Goldenrod +msgid "media-color.dark-goldenrod" +msgstr "" + +#. TRANSLATORS: Dark Gray +msgid "media-color.dark-gray" +msgstr "" + +#. TRANSLATORS: Dark Green +msgid "media-color.dark-green" +msgstr "" + +#. TRANSLATORS: Dark Ivory +msgid "media-color.dark-ivory" +msgstr "" + +#. TRANSLATORS: Dark Magenta +msgid "media-color.dark-magenta" +msgstr "" + +#. TRANSLATORS: Dark Mustard +msgid "media-color.dark-mustard" +msgstr "" + +#. TRANSLATORS: Dark Orange +msgid "media-color.dark-orange" +msgstr "" + +#. TRANSLATORS: Dark Pink +msgid "media-color.dark-pink" +msgstr "" + +#. TRANSLATORS: Dark Red +msgid "media-color.dark-red" +msgstr "" + +#. TRANSLATORS: Dark Silver +msgid "media-color.dark-silver" +msgstr "" + +#. TRANSLATORS: Dark Turquoise +msgid "media-color.dark-turquoise" +msgstr "" + +#. TRANSLATORS: Dark Violet +msgid "media-color.dark-violet" +msgstr "" + +#. TRANSLATORS: Dark Yellow +msgid "media-color.dark-yellow" +msgstr "" + +#. TRANSLATORS: Gold +msgid "media-color.gold" +msgstr "" + +#. TRANSLATORS: Goldenrod +msgid "media-color.goldenrod" +msgstr "" + +#. TRANSLATORS: Gray +msgid "media-color.gray" +msgstr "" + +#. TRANSLATORS: Green +msgid "media-color.green" +msgstr "" + +#. TRANSLATORS: Ivory +msgid "media-color.ivory" +msgstr "" + +#. TRANSLATORS: Light Black +msgid "media-color.light-black" +msgstr "" + +#. TRANSLATORS: Light Blue +msgid "media-color.light-blue" +msgstr "" + +#. TRANSLATORS: Light Brown +msgid "media-color.light-brown" +msgstr "" + +#. TRANSLATORS: Light Buff +msgid "media-color.light-buff" +msgstr "" + +#. TRANSLATORS: Light Cyan +msgid "media-color.light-cyan" +msgstr "" + +#. TRANSLATORS: Light Gold +msgid "media-color.light-gold" +msgstr "" + +#. TRANSLATORS: Light Goldenrod +msgid "media-color.light-goldenrod" +msgstr "" + +#. TRANSLATORS: Light Gray +msgid "media-color.light-gray" +msgstr "" + +#. TRANSLATORS: Light Green +msgid "media-color.light-green" +msgstr "" + +#. TRANSLATORS: Light Ivory +msgid "media-color.light-ivory" +msgstr "" + +#. TRANSLATORS: Light Magenta +msgid "media-color.light-magenta" +msgstr "" + +#. TRANSLATORS: Light Mustard +msgid "media-color.light-mustard" +msgstr "" + +#. TRANSLATORS: Light Orange +msgid "media-color.light-orange" +msgstr "" + +#. TRANSLATORS: Light Pink +msgid "media-color.light-pink" +msgstr "" + +#. TRANSLATORS: Light Red +msgid "media-color.light-red" +msgstr "" + +#. TRANSLATORS: Light Silver +msgid "media-color.light-silver" +msgstr "" + +#. TRANSLATORS: Light Turquoise +msgid "media-color.light-turquoise" +msgstr "" + +#. TRANSLATORS: Light Violet +msgid "media-color.light-violet" +msgstr "" + +#. TRANSLATORS: Light Yellow +msgid "media-color.light-yellow" +msgstr "" + +#. TRANSLATORS: Magenta +msgid "media-color.magenta" +msgstr "" + +#. TRANSLATORS: Multi-color +msgid "media-color.multi-color" +msgstr "" + +#. TRANSLATORS: Mustard +msgid "media-color.mustard" +msgstr "" + +#. TRANSLATORS: No Color +msgid "media-color.no-color" +msgstr "" + +#. TRANSLATORS: Orange +msgid "media-color.orange" +msgstr "" + +#. TRANSLATORS: Pink +msgid "media-color.pink" +msgstr "" + +#. TRANSLATORS: Red +msgid "media-color.red" +msgstr "" + +#. TRANSLATORS: Silver +msgid "media-color.silver" +msgstr "" + +#. TRANSLATORS: Turquoise +msgid "media-color.turquoise" +msgstr "" + +#. TRANSLATORS: Violet +msgid "media-color.violet" +msgstr "" + +#. TRANSLATORS: White +msgid "media-color.white" +msgstr "" + +#. TRANSLATORS: Yellow +msgid "media-color.yellow" +msgstr "" + +#. TRANSLATORS: Front Coating of Media +msgid "media-front-coating" +msgstr "" + +#. TRANSLATORS: Media Grain +msgid "media-grain" +msgstr "" + +#. TRANSLATORS: Cross-Feed Direction +msgid "media-grain.x-direction" +msgstr "" + +#. TRANSLATORS: Feed Direction +msgid "media-grain.y-direction" +msgstr "" + +#. TRANSLATORS: Media Hole Count +msgid "media-hole-count" +msgstr "" + +#. TRANSLATORS: Media Info +msgid "media-info" +msgstr "" + +#. TRANSLATORS: Force Media +msgid "media-input-tray-check" +msgstr "" + +#. TRANSLATORS: Media Left Margin +msgid "media-left-margin" +msgstr "" + +#. TRANSLATORS: Pre-printed Media +msgid "media-pre-printed" +msgstr "" + +#. TRANSLATORS: Blank +msgid "media-pre-printed.blank" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-pre-printed.letter-head" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "media-pre-printed.pre-printed" +msgstr "" + +#. TRANSLATORS: Recycled Media +msgid "media-recycled" +msgstr "" + +#. TRANSLATORS: None +msgid "media-recycled.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "media-recycled.standard" +msgstr "" + +#. TRANSLATORS: Media Right Margin +msgid "media-right-margin" +msgstr "" + +#. TRANSLATORS: Media Dimensions +msgid "media-size" +msgstr "" + +#. TRANSLATORS: Media Name +msgid "media-size-name" +msgstr "" + +#. TRANSLATORS: Media Source +msgid "media-source" +msgstr "" + +#. TRANSLATORS: Alternate +msgid "media-source.alternate" +msgstr "" + +#. TRANSLATORS: Alternate Roll +msgid "media-source.alternate-roll" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-source.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "media-source.bottom" +msgstr "" + +#. TRANSLATORS: By-pass Tray +msgid "media-source.by-pass-tray" +msgstr "" + +#. TRANSLATORS: Center +msgid "media-source.center" +msgstr "" + +#. TRANSLATORS: Disc +msgid "media-source.disc" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-source.envelope" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media-source.hagaki" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "media-source.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "media-source.left" +msgstr "" + +#. TRANSLATORS: Main +msgid "media-source.main" +msgstr "" + +#. TRANSLATORS: Main Roll +msgid "media-source.main-roll" +msgstr "" + +#. TRANSLATORS: Manual +msgid "media-source.manual" +msgstr "" + +#. TRANSLATORS: Middle +msgid "media-source.middle" +msgstr "" + +#. TRANSLATORS: Photo +msgid "media-source.photo" +msgstr "" + +#. TRANSLATORS: Rear +msgid "media-source.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "media-source.right" +msgstr "" + +#. TRANSLATORS: Roll 1 +msgid "media-source.roll-1" +msgstr "" + +#. TRANSLATORS: Roll 10 +msgid "media-source.roll-10" +msgstr "" + +#. TRANSLATORS: Roll 2 +msgid "media-source.roll-2" +msgstr "" + +#. TRANSLATORS: Roll 3 +msgid "media-source.roll-3" +msgstr "" + +#. TRANSLATORS: Roll 4 +msgid "media-source.roll-4" +msgstr "" + +#. TRANSLATORS: Roll 5 +msgid "media-source.roll-5" +msgstr "" + +#. TRANSLATORS: Roll 6 +msgid "media-source.roll-6" +msgstr "" + +#. TRANSLATORS: Roll 7 +msgid "media-source.roll-7" +msgstr "" + +#. TRANSLATORS: Roll 8 +msgid "media-source.roll-8" +msgstr "" + +#. TRANSLATORS: Roll 9 +msgid "media-source.roll-9" +msgstr "" + +#. TRANSLATORS: Side +msgid "media-source.side" +msgstr "" + +#. TRANSLATORS: Top +msgid "media-source.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "media-source.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "media-source.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 11 +msgid "media-source.tray-11" +msgstr "" + +#. TRANSLATORS: Tray 12 +msgid "media-source.tray-12" +msgstr "" + +#. TRANSLATORS: Tray 13 +msgid "media-source.tray-13" +msgstr "" + +#. TRANSLATORS: Tray 14 +msgid "media-source.tray-14" +msgstr "" + +#. TRANSLATORS: Tray 15 +msgid "media-source.tray-15" +msgstr "" + +#. TRANSLATORS: Tray 16 +msgid "media-source.tray-16" +msgstr "" + +#. TRANSLATORS: Tray 17 +msgid "media-source.tray-17" +msgstr "" + +#. TRANSLATORS: Tray 18 +msgid "media-source.tray-18" +msgstr "" + +#. TRANSLATORS: Tray 19 +msgid "media-source.tray-19" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "media-source.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 20 +msgid "media-source.tray-20" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "media-source.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "media-source.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "media-source.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "media-source.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "media-source.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "media-source.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "media-source.tray-9" +msgstr "" + +#. TRANSLATORS: Media Thickness +msgid "media-thickness" +msgstr "" + +#. TRANSLATORS: Media Tooth (Texture) +msgid "media-tooth" +msgstr "" + +#. TRANSLATORS: Antique +msgid "media-tooth.antique" +msgstr "" + +#. TRANSLATORS: Extra Smooth +msgid "media-tooth.calendared" +msgstr "" + +#. TRANSLATORS: Coarse +msgid "media-tooth.coarse" +msgstr "" + +#. TRANSLATORS: Fine +msgid "media-tooth.fine" +msgstr "" + +#. TRANSLATORS: Linen +msgid "media-tooth.linen" +msgstr "" + +#. TRANSLATORS: Medium +msgid "media-tooth.medium" +msgstr "" + +#. TRANSLATORS: Smooth +msgid "media-tooth.smooth" +msgstr "" + +#. TRANSLATORS: Stipple +msgid "media-tooth.stipple" +msgstr "" + +#. TRANSLATORS: Rough +msgid "media-tooth.uncalendared" +msgstr "" + +#. TRANSLATORS: Vellum +msgid "media-tooth.vellum" +msgstr "" + +#. TRANSLATORS: Media Top Margin +msgid "media-top-margin" +msgstr "" + +#. TRANSLATORS: Media Type +msgid "media-type" +msgstr "" + +#. TRANSLATORS: Aluminum +msgid "media-type.aluminum" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-type.auto" +msgstr "" + +#. TRANSLATORS: Back Print Film +msgid "media-type.back-print-film" +msgstr "" + +#. TRANSLATORS: Cardboard +msgid "media-type.cardboard" +msgstr "" + +#. TRANSLATORS: Cardstock +msgid "media-type.cardstock" +msgstr "" + +#. TRANSLATORS: CD +msgid "media-type.cd" +msgstr "" + +#. TRANSLATORS: Continuous +msgid "media-type.continuous" +msgstr "" + +#. TRANSLATORS: Continuous Long +msgid "media-type.continuous-long" +msgstr "" + +#. TRANSLATORS: Continuous Short +msgid "media-type.continuous-short" +msgstr "" + +#. TRANSLATORS: Corrugated Board +msgid "media-type.corrugated-board" +msgstr "" + +#. TRANSLATORS: Optical Disc +msgid "media-type.disc" +msgstr "" + +#. TRANSLATORS: Glossy Optical Disc +msgid "media-type.disc-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Optical Disc +msgid "media-type.disc-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Optical Disc +msgid "media-type.disc-matte" +msgstr "" + +#. TRANSLATORS: Satin Optical Disc +msgid "media-type.disc-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Optical Disc +msgid "media-type.disc-semi-gloss" +msgstr "" + +#. TRANSLATORS: Double Wall +msgid "media-type.double-wall" +msgstr "" + +#. TRANSLATORS: Dry Film +msgid "media-type.dry-film" +msgstr "" + +#. TRANSLATORS: DVD +msgid "media-type.dvd" +msgstr "" + +#. TRANSLATORS: Embossing Foil +msgid "media-type.embossing-foil" +msgstr "" + +#. TRANSLATORS: End Board +msgid "media-type.end-board" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-type.envelope" +msgstr "" + +#. TRANSLATORS: Archival Envelope +msgid "media-type.envelope-archival" +msgstr "" + +#. TRANSLATORS: Bond Envelope +msgid "media-type.envelope-bond" +msgstr "" + +#. TRANSLATORS: Coated Envelope +msgid "media-type.envelope-coated" +msgstr "" + +#. TRANSLATORS: Cotton Envelope +msgid "media-type.envelope-cotton" +msgstr "" + +#. TRANSLATORS: Fine Envelope +msgid "media-type.envelope-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Envelope +msgid "media-type.envelope-heavyweight" +msgstr "" + +#. TRANSLATORS: Inkjet Envelope +msgid "media-type.envelope-inkjet" +msgstr "" + +#. TRANSLATORS: Lightweight Envelope +msgid "media-type.envelope-lightweight" +msgstr "" + +#. TRANSLATORS: Plain Envelope +msgid "media-type.envelope-plain" +msgstr "" + +#. TRANSLATORS: Preprinted Envelope +msgid "media-type.envelope-preprinted" +msgstr "" + +#. TRANSLATORS: Windowed Envelope +msgid "media-type.envelope-window" +msgstr "" + +#. TRANSLATORS: Fabric +msgid "media-type.fabric" +msgstr "" + +#. TRANSLATORS: Archival Fabric +msgid "media-type.fabric-archival" +msgstr "" + +#. TRANSLATORS: Glossy Fabric +msgid "media-type.fabric-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Fabric +msgid "media-type.fabric-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Fabric +msgid "media-type.fabric-matte" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Fabric +msgid "media-type.fabric-semi-gloss" +msgstr "" + +#. TRANSLATORS: Waterproof Fabric +msgid "media-type.fabric-waterproof" +msgstr "" + +#. TRANSLATORS: Film +msgid "media-type.film" +msgstr "" + +#. TRANSLATORS: Flexo Base +msgid "media-type.flexo-base" +msgstr "" + +#. TRANSLATORS: Flexo Photo Polymer +msgid "media-type.flexo-photo-polymer" +msgstr "" + +#. TRANSLATORS: Flute +msgid "media-type.flute" +msgstr "" + +#. TRANSLATORS: Foil +msgid "media-type.foil" +msgstr "" + +#. TRANSLATORS: Full Cut Tabs +msgid "media-type.full-cut-tabs" +msgstr "" + +#. TRANSLATORS: Glass +msgid "media-type.glass" +msgstr "" + +#. TRANSLATORS: Glass Colored +msgid "media-type.glass-colored" +msgstr "" + +#. TRANSLATORS: Glass Opaque +msgid "media-type.glass-opaque" +msgstr "" + +#. TRANSLATORS: Glass Surfaced +msgid "media-type.glass-surfaced" +msgstr "" + +#. TRANSLATORS: Glass Textured +msgid "media-type.glass-textured" +msgstr "" + +#. TRANSLATORS: Gravure Cylinder +msgid "media-type.gravure-cylinder" +msgstr "" + +#. TRANSLATORS: Image Setter Paper +msgid "media-type.image-setter-paper" +msgstr "" + +#. TRANSLATORS: Imaging Cylinder +msgid "media-type.imaging-cylinder" +msgstr "" + +#. TRANSLATORS: Labels +msgid "media-type.labels" +msgstr "" + +#. TRANSLATORS: Colored Labels +msgid "media-type.labels-colored" +msgstr "" + +#. TRANSLATORS: Glossy Labels +msgid "media-type.labels-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Labels +msgid "media-type.labels-high-gloss" +msgstr "" + +#. TRANSLATORS: Inkjet Labels +msgid "media-type.labels-inkjet" +msgstr "" + +#. TRANSLATORS: Matte Labels +msgid "media-type.labels-matte" +msgstr "" + +#. TRANSLATORS: Permanent Labels +msgid "media-type.labels-permanent" +msgstr "" + +#. TRANSLATORS: Satin Labels +msgid "media-type.labels-satin" +msgstr "" + +#. TRANSLATORS: Security Labels +msgid "media-type.labels-security" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Labels +msgid "media-type.labels-semi-gloss" +msgstr "" + +#. TRANSLATORS: Laminating Foil +msgid "media-type.laminating-foil" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.letterhead" +msgstr "" + +#. TRANSLATORS: Metal +msgid "media-type.metal" +msgstr "" + +#. TRANSLATORS: Metal Glossy +msgid "media-type.metal-glossy" +msgstr "" + +#. TRANSLATORS: Metal High Gloss +msgid "media-type.metal-high-gloss" +msgstr "" + +#. TRANSLATORS: Metal Matte +msgid "media-type.metal-matte" +msgstr "" + +#. TRANSLATORS: Metal Satin +msgid "media-type.metal-satin" +msgstr "" + +#. TRANSLATORS: Metal Semi Gloss +msgid "media-type.metal-semi-gloss" +msgstr "" + +#. TRANSLATORS: Mounting Tape +msgid "media-type.mounting-tape" +msgstr "" + +#. TRANSLATORS: Multi Layer +msgid "media-type.multi-layer" +msgstr "" + +#. TRANSLATORS: Multi Part Form +msgid "media-type.multi-part-form" +msgstr "" + +#. TRANSLATORS: Other +msgid "media-type.other" +msgstr "" + +#. TRANSLATORS: Paper +msgid "media-type.paper" +msgstr "" + +#. TRANSLATORS: Photo Paper +msgid "media-type.photographic" +msgstr "" + +#. TRANSLATORS: Photographic Archival +msgid "media-type.photographic-archival" +msgstr "" + +#. TRANSLATORS: Photo Film +msgid "media-type.photographic-film" +msgstr "" + +#. TRANSLATORS: Glossy Photo Paper +msgid "media-type.photographic-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Photo Paper +msgid "media-type.photographic-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Photo Paper +msgid "media-type.photographic-matte" +msgstr "" + +#. TRANSLATORS: Satin Photo Paper +msgid "media-type.photographic-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Photo Paper +msgid "media-type.photographic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plastic +msgid "media-type.plastic" +msgstr "" + +#. TRANSLATORS: Plastic Archival +msgid "media-type.plastic-archival" +msgstr "" + +#. TRANSLATORS: Plastic Colored +msgid "media-type.plastic-colored" +msgstr "" + +#. TRANSLATORS: Plastic Glossy +msgid "media-type.plastic-glossy" +msgstr "" + +#. TRANSLATORS: Plastic High Gloss +msgid "media-type.plastic-high-gloss" +msgstr "" + +#. TRANSLATORS: Plastic Matte +msgid "media-type.plastic-matte" +msgstr "" + +#. TRANSLATORS: Plastic Satin +msgid "media-type.plastic-satin" +msgstr "" + +#. TRANSLATORS: Plastic Semi Gloss +msgid "media-type.plastic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plate +msgid "media-type.plate" +msgstr "" + +#. TRANSLATORS: Polyester +msgid "media-type.polyester" +msgstr "" + +#. TRANSLATORS: Pre Cut Tabs +msgid "media-type.pre-cut-tabs" +msgstr "" + +#. TRANSLATORS: Roll +msgid "media-type.roll" +msgstr "" + +#. TRANSLATORS: Screen +msgid "media-type.screen" +msgstr "" + +#. TRANSLATORS: Screen Paged +msgid "media-type.screen-paged" +msgstr "" + +#. TRANSLATORS: Self Adhesive +msgid "media-type.self-adhesive" +msgstr "" + +#. TRANSLATORS: Self Adhesive Film +msgid "media-type.self-adhesive-film" +msgstr "" + +#. TRANSLATORS: Shrink Foil +msgid "media-type.shrink-foil" +msgstr "" + +#. TRANSLATORS: Single Face +msgid "media-type.single-face" +msgstr "" + +#. TRANSLATORS: Single Wall +msgid "media-type.single-wall" +msgstr "" + +#. TRANSLATORS: Sleeve +msgid "media-type.sleeve" +msgstr "" + +#. TRANSLATORS: Stationery +msgid "media-type.stationery" +msgstr "" + +#. TRANSLATORS: Stationery Archival +msgid "media-type.stationery-archival" +msgstr "" + +#. TRANSLATORS: Coated Paper +msgid "media-type.stationery-coated" +msgstr "" + +#. TRANSLATORS: Stationery Cotton +msgid "media-type.stationery-cotton" +msgstr "" + +#. TRANSLATORS: Vellum Paper +msgid "media-type.stationery-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Paper +msgid "media-type.stationery-heavyweight" +msgstr "" + +#. TRANSLATORS: Stationery Heavyweight Coated +msgid "media-type.stationery-heavyweight-coated" +msgstr "" + +#. TRANSLATORS: Stationery Inkjet Paper +msgid "media-type.stationery-inkjet" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.stationery-letterhead" +msgstr "" + +#. TRANSLATORS: Lightweight Paper +msgid "media-type.stationery-lightweight" +msgstr "" + +#. TRANSLATORS: Preprinted Paper +msgid "media-type.stationery-preprinted" +msgstr "" + +#. TRANSLATORS: Punched Paper +msgid "media-type.stationery-prepunched" +msgstr "" + +#. TRANSLATORS: Tab Stock +msgid "media-type.tab-stock" +msgstr "" + +#. TRANSLATORS: Tractor +msgid "media-type.tractor" +msgstr "" + +#. TRANSLATORS: Transfer +msgid "media-type.transfer" +msgstr "" + +#. TRANSLATORS: Transparency +msgid "media-type.transparency" +msgstr "" + +#. TRANSLATORS: Triple Wall +msgid "media-type.triple-wall" +msgstr "" + +#. TRANSLATORS: Wet Film +msgid "media-type.wet-film" +msgstr "" + +#. TRANSLATORS: Media Weight (grams per m²) +msgid "media-weight-metric" +msgstr "" + +#. TRANSLATORS: 28 x 40″ +msgid "media.asme_f_28x40in" +msgstr "" + +#. TRANSLATORS: A4 or US Letter +msgid "media.choice_iso_a4_210x297mm_na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: 2a0 +msgid "media.iso_2a0_1189x1682mm" +msgstr "" + +#. TRANSLATORS: A0 +msgid "media.iso_a0_841x1189mm" +msgstr "" + +#. TRANSLATORS: A0x3 +msgid "media.iso_a0x3_1189x2523mm" +msgstr "" + +#. TRANSLATORS: A10 +msgid "media.iso_a10_26x37mm" +msgstr "" + +#. TRANSLATORS: A1 +msgid "media.iso_a1_594x841mm" +msgstr "" + +#. TRANSLATORS: A1x3 +msgid "media.iso_a1x3_841x1783mm" +msgstr "" + +#. TRANSLATORS: A1x4 +msgid "media.iso_a1x4_841x2378mm" +msgstr "" + +#. TRANSLATORS: A2 +msgid "media.iso_a2_420x594mm" +msgstr "" + +#. TRANSLATORS: A2x3 +msgid "media.iso_a2x3_594x1261mm" +msgstr "" + +#. TRANSLATORS: A2x4 +msgid "media.iso_a2x4_594x1682mm" +msgstr "" + +#. TRANSLATORS: A2x5 +msgid "media.iso_a2x5_594x2102mm" +msgstr "" + +#. TRANSLATORS: A3 (Extra) +msgid "media.iso_a3-extra_322x445mm" +msgstr "" + +#. TRANSLATORS: A3 +msgid "media.iso_a3_297x420mm" +msgstr "" + +#. TRANSLATORS: A3x3 +msgid "media.iso_a3x3_420x891mm" +msgstr "" + +#. TRANSLATORS: A3x4 +msgid "media.iso_a3x4_420x1189mm" +msgstr "" + +#. TRANSLATORS: A3x5 +msgid "media.iso_a3x5_420x1486mm" +msgstr "" + +#. TRANSLATORS: A3x6 +msgid "media.iso_a3x6_420x1783mm" +msgstr "" + +#. TRANSLATORS: A3x7 +msgid "media.iso_a3x7_420x2080mm" +msgstr "" + +#. TRANSLATORS: A4 (Extra) +msgid "media.iso_a4-extra_235.5x322.3mm" +msgstr "" + +#. TRANSLATORS: A4 (Tab) +msgid "media.iso_a4-tab_225x297mm" +msgstr "" + +#. TRANSLATORS: A4 +msgid "media.iso_a4_210x297mm" +msgstr "" + +#. TRANSLATORS: A4x3 +msgid "media.iso_a4x3_297x630mm" +msgstr "" + +#. TRANSLATORS: A4x4 +msgid "media.iso_a4x4_297x841mm" +msgstr "" + +#. TRANSLATORS: A4x5 +msgid "media.iso_a4x5_297x1051mm" +msgstr "" + +#. TRANSLATORS: A4x6 +msgid "media.iso_a4x6_297x1261mm" +msgstr "" + +#. TRANSLATORS: A4x7 +msgid "media.iso_a4x7_297x1471mm" +msgstr "" + +#. TRANSLATORS: A4x8 +msgid "media.iso_a4x8_297x1682mm" +msgstr "" + +#. TRANSLATORS: A4x9 +msgid "media.iso_a4x9_297x1892mm" +msgstr "" + +#. TRANSLATORS: A5 (Extra) +msgid "media.iso_a5-extra_174x235mm" +msgstr "" + +#. TRANSLATORS: A5 +msgid "media.iso_a5_148x210mm" +msgstr "" + +#. TRANSLATORS: A6 +msgid "media.iso_a6_105x148mm" +msgstr "" + +#. TRANSLATORS: A7 +msgid "media.iso_a7_74x105mm" +msgstr "" + +#. TRANSLATORS: A8 +msgid "media.iso_a8_52x74mm" +msgstr "" + +#. TRANSLATORS: A9 +msgid "media.iso_a9_37x52mm" +msgstr "" + +#. TRANSLATORS: B0 +msgid "media.iso_b0_1000x1414mm" +msgstr "" + +#. TRANSLATORS: B10 +msgid "media.iso_b10_31x44mm" +msgstr "" + +#. TRANSLATORS: B1 +msgid "media.iso_b1_707x1000mm" +msgstr "" + +#. TRANSLATORS: B2 +msgid "media.iso_b2_500x707mm" +msgstr "" + +#. TRANSLATORS: B3 +msgid "media.iso_b3_353x500mm" +msgstr "" + +#. TRANSLATORS: B4 +msgid "media.iso_b4_250x353mm" +msgstr "" + +#. TRANSLATORS: B5 (Extra) +msgid "media.iso_b5-extra_201x276mm" +msgstr "" + +#. TRANSLATORS: Envelope B5 +msgid "media.iso_b5_176x250mm" +msgstr "" + +#. TRANSLATORS: B6 +msgid "media.iso_b6_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope B6/C4 +msgid "media.iso_b6c4_125x324mm" +msgstr "" + +#. TRANSLATORS: B7 +msgid "media.iso_b7_88x125mm" +msgstr "" + +#. TRANSLATORS: B8 +msgid "media.iso_b8_62x88mm" +msgstr "" + +#. TRANSLATORS: B9 +msgid "media.iso_b9_44x62mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 0 +msgid "media.iso_c0_917x1297mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 10 +msgid "media.iso_c10_28x40mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 1 +msgid "media.iso_c1_648x917mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 2 +msgid "media.iso_c2_458x648mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 3 +msgid "media.iso_c3_324x458mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 4 +msgid "media.iso_c4_229x324mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 5 +msgid "media.iso_c5_162x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6 +msgid "media.iso_c6_114x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6c5 +msgid "media.iso_c6c5_114x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7 +msgid "media.iso_c7_81x114mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7c6 +msgid "media.iso_c7c6_81x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 8 +msgid "media.iso_c8_57x81mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 9 +msgid "media.iso_c9_40x57mm" +msgstr "" + +#. TRANSLATORS: Envelope DL +msgid "media.iso_dl_110x220mm" +msgstr "" + +#. TRANSLATORS: Id-1 +msgid "media.iso_id-1_53.98x85.6mm" +msgstr "" + +#. TRANSLATORS: Id-3 +msgid "media.iso_id-3_88x125mm" +msgstr "" + +#. TRANSLATORS: ISO RA0 +msgid "media.iso_ra0_860x1220mm" +msgstr "" + +#. TRANSLATORS: ISO RA1 +msgid "media.iso_ra1_610x860mm" +msgstr "" + +#. TRANSLATORS: ISO RA2 +msgid "media.iso_ra2_430x610mm" +msgstr "" + +#. TRANSLATORS: ISO RA3 +msgid "media.iso_ra3_305x430mm" +msgstr "" + +#. TRANSLATORS: ISO RA4 +msgid "media.iso_ra4_215x305mm" +msgstr "" + +#. TRANSLATORS: ISO SRA0 +msgid "media.iso_sra0_900x1280mm" +msgstr "" + +#. TRANSLATORS: ISO SRA1 +msgid "media.iso_sra1_640x900mm" +msgstr "" + +#. TRANSLATORS: ISO SRA2 +msgid "media.iso_sra2_450x640mm" +msgstr "" + +#. TRANSLATORS: ISO SRA3 +msgid "media.iso_sra3_320x450mm" +msgstr "" + +#. TRANSLATORS: ISO SRA4 +msgid "media.iso_sra4_225x320mm" +msgstr "" + +#. TRANSLATORS: JIS B0 +msgid "media.jis_b0_1030x1456mm" +msgstr "" + +#. TRANSLATORS: JIS B10 +msgid "media.jis_b10_32x45mm" +msgstr "" + +#. TRANSLATORS: JIS B1 +msgid "media.jis_b1_728x1030mm" +msgstr "" + +#. TRANSLATORS: JIS B2 +msgid "media.jis_b2_515x728mm" +msgstr "" + +#. TRANSLATORS: JIS B3 +msgid "media.jis_b3_364x515mm" +msgstr "" + +#. TRANSLATORS: JIS B4 +msgid "media.jis_b4_257x364mm" +msgstr "" + +#. TRANSLATORS: JIS B5 +msgid "media.jis_b5_182x257mm" +msgstr "" + +#. TRANSLATORS: JIS B6 +msgid "media.jis_b6_128x182mm" +msgstr "" + +#. TRANSLATORS: JIS B7 +msgid "media.jis_b7_91x128mm" +msgstr "" + +#. TRANSLATORS: JIS B8 +msgid "media.jis_b8_64x91mm" +msgstr "" + +#. TRANSLATORS: JIS B9 +msgid "media.jis_b9_45x64mm" +msgstr "" + +#. TRANSLATORS: JIS Executive +msgid "media.jis_exec_216x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 2 +msgid "media.jpn_chou2_111.1x146mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 3 +msgid "media.jpn_chou3_120x235mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 40 +msgid "media.jpn_chou40_90x225mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 4 +msgid "media.jpn_chou4_90x205mm" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media.jpn_hagaki_100x148mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu +msgid "media.jpn_kahu_240x322.1mm" +msgstr "" + +#. TRANSLATORS: 270 x 382mm +msgid "media.jpn_kaku1_270x382mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu 2 +msgid "media.jpn_kaku2_240x332mm" +msgstr "" + +#. TRANSLATORS: 216 x 277mm +msgid "media.jpn_kaku3_216x277mm" +msgstr "" + +#. TRANSLATORS: 197 x 267mm +msgid "media.jpn_kaku4_197x267mm" +msgstr "" + +#. TRANSLATORS: 190 x 240mm +msgid "media.jpn_kaku5_190x240mm" +msgstr "" + +#. TRANSLATORS: 142 x 205mm +msgid "media.jpn_kaku7_142x205mm" +msgstr "" + +#. TRANSLATORS: 119 x 197mm +msgid "media.jpn_kaku8_119x197mm" +msgstr "" + +#. TRANSLATORS: Oufuku Reply Postcard +msgid "media.jpn_oufuku_148x200mm" +msgstr "" + +#. TRANSLATORS: Envelope You 4 +msgid "media.jpn_you4_105x235mm" +msgstr "" + +#. TRANSLATORS: 10 x 11″ +msgid "media.na_10x11_10x11in" +msgstr "" + +#. TRANSLATORS: 10 x 13″ +msgid "media.na_10x13_10x13in" +msgstr "" + +#. TRANSLATORS: 10 x 14″ +msgid "media.na_10x14_10x14in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.na_10x15_10x15in" +msgstr "" + +#. TRANSLATORS: 11 x 12″ +msgid "media.na_11x12_11x12in" +msgstr "" + +#. TRANSLATORS: 11 x 15″ +msgid "media.na_11x15_11x15in" +msgstr "" + +#. TRANSLATORS: 12 x 19″ +msgid "media.na_12x19_12x19in" +msgstr "" + +#. TRANSLATORS: 5 x 7″ +msgid "media.na_5x7_5x7in" +msgstr "" + +#. TRANSLATORS: 6 x 9″ +msgid "media.na_6x9_6x9in" +msgstr "" + +#. TRANSLATORS: 7 x 9″ +msgid "media.na_7x9_7x9in" +msgstr "" + +#. TRANSLATORS: 9 x 11″ +msgid "media.na_9x11_9x11in" +msgstr "" + +#. TRANSLATORS: Envelope A2 +msgid "media.na_a2_4.375x5.75in" +msgstr "" + +#. TRANSLATORS: 9 x 12″ +msgid "media.na_arch-a_9x12in" +msgstr "" + +#. TRANSLATORS: 12 x 18″ +msgid "media.na_arch-b_12x18in" +msgstr "" + +#. TRANSLATORS: 18 x 24″ +msgid "media.na_arch-c_18x24in" +msgstr "" + +#. TRANSLATORS: 24 x 36″ +msgid "media.na_arch-d_24x36in" +msgstr "" + +#. TRANSLATORS: 26 x 38″ +msgid "media.na_arch-e2_26x38in" +msgstr "" + +#. TRANSLATORS: 27 x 39″ +msgid "media.na_arch-e3_27x39in" +msgstr "" + +#. TRANSLATORS: 36 x 48″ +msgid "media.na_arch-e_36x48in" +msgstr "" + +#. TRANSLATORS: 12 x 19.17″ +msgid "media.na_b-plus_12x19.17in" +msgstr "" + +#. TRANSLATORS: Envelope C5 +msgid "media.na_c5_6.5x9.5in" +msgstr "" + +#. TRANSLATORS: 17 x 22″ +msgid "media.na_c_17x22in" +msgstr "" + +#. TRANSLATORS: 22 x 34″ +msgid "media.na_d_22x34in" +msgstr "" + +#. TRANSLATORS: 34 x 44″ +msgid "media.na_e_34x44in" +msgstr "" + +#. TRANSLATORS: 11 x 14″ +msgid "media.na_edp_11x14in" +msgstr "" + +#. TRANSLATORS: 12 x 14″ +msgid "media.na_eur-edp_12x14in" +msgstr "" + +#. TRANSLATORS: Executive +msgid "media.na_executive_7.25x10.5in" +msgstr "" + +#. TRANSLATORS: 44 x 68″ +msgid "media.na_f_44x68in" +msgstr "" + +#. TRANSLATORS: European Fanfold +msgid "media.na_fanfold-eur_8.5x12in" +msgstr "" + +#. TRANSLATORS: US Fanfold +msgid "media.na_fanfold-us_11x14.875in" +msgstr "" + +#. TRANSLATORS: Foolscap +msgid "media.na_foolscap_8.5x13in" +msgstr "" + +#. TRANSLATORS: 8 x 13″ +msgid "media.na_govt-legal_8x13in" +msgstr "" + +#. TRANSLATORS: 8 x 10″ +msgid "media.na_govt-letter_8x10in" +msgstr "" + +#. TRANSLATORS: 3 x 5″ +msgid "media.na_index-3x5_3x5in" +msgstr "" + +#. TRANSLATORS: 6 x 8″ +msgid "media.na_index-4x6-ext_6x8in" +msgstr "" + +#. TRANSLATORS: 4 x 6″ +msgid "media.na_index-4x6_4x6in" +msgstr "" + +#. TRANSLATORS: 5 x 8″ +msgid "media.na_index-5x8_5x8in" +msgstr "" + +#. TRANSLATORS: Statement +msgid "media.na_invoice_5.5x8.5in" +msgstr "" + +#. TRANSLATORS: 11 x 17″ +msgid "media.na_ledger_11x17in" +msgstr "" + +#. TRANSLATORS: US Legal (Extra) +msgid "media.na_legal-extra_9.5x15in" +msgstr "" + +#. TRANSLATORS: US Legal +msgid "media.na_legal_8.5x14in" +msgstr "" + +#. TRANSLATORS: US Letter (Extra) +msgid "media.na_letter-extra_9.5x12in" +msgstr "" + +#. TRANSLATORS: US Letter (Plus) +msgid "media.na_letter-plus_8.5x12.69in" +msgstr "" + +#. TRANSLATORS: US Letter +msgid "media.na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: Envelope Monarch +msgid "media.na_monarch_3.875x7.5in" +msgstr "" + +#. TRANSLATORS: Envelope #10 +msgid "media.na_number-10_4.125x9.5in" +msgstr "" + +#. TRANSLATORS: Envelope #11 +msgid "media.na_number-11_4.5x10.375in" +msgstr "" + +#. TRANSLATORS: Envelope #12 +msgid "media.na_number-12_4.75x11in" +msgstr "" + +#. TRANSLATORS: Envelope #14 +msgid "media.na_number-14_5x11.5in" +msgstr "" + +#. TRANSLATORS: Envelope #9 +msgid "media.na_number-9_3.875x8.875in" +msgstr "" + +#. TRANSLATORS: 8.5 x 13.4″ +msgid "media.na_oficio_8.5x13.4in" +msgstr "" + +#. TRANSLATORS: Envelope Personal +msgid "media.na_personal_3.625x6.5in" +msgstr "" + +#. TRANSLATORS: Quarto +msgid "media.na_quarto_8.5x10.83in" +msgstr "" + +#. TRANSLATORS: 8.94 x 14″ +msgid "media.na_super-a_8.94x14in" +msgstr "" + +#. TRANSLATORS: 13 x 19″ +msgid "media.na_super-b_13x19in" +msgstr "" + +#. TRANSLATORS: 30 x 42″ +msgid "media.na_wide-format_30x42in" +msgstr "" + +#. TRANSLATORS: 12 x 16″ +msgid "media.oe_12x16_12x16in" +msgstr "" + +#. TRANSLATORS: 14 x 17″ +msgid "media.oe_14x17_14x17in" +msgstr "" + +#. TRANSLATORS: 18 x 22″ +msgid "media.oe_18x22_18x22in" +msgstr "" + +#. TRANSLATORS: 17 x 24″ +msgid "media.oe_a2plus_17x24in" +msgstr "" + +#. TRANSLATORS: 2 x 3.5″ +msgid "media.oe_business-card_2x3.5in" +msgstr "" + +#. TRANSLATORS: 10 x 12″ +msgid "media.oe_photo-10r_10x12in" +msgstr "" + +#. TRANSLATORS: 20 x 24″ +msgid "media.oe_photo-20r_20x24in" +msgstr "" + +#. TRANSLATORS: 3.5 x 5″ +msgid "media.oe_photo-l_3.5x5in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.oe_photo-s10r_10x15in" +msgstr "" + +#. TRANSLATORS: 4 x 4″ +msgid "media.oe_square-photo_4x4in" +msgstr "" + +#. TRANSLATORS: 5 x 5″ +msgid "media.oe_square-photo_5x5in" +msgstr "" + +#. TRANSLATORS: 184 x 260mm +msgid "media.om_16k_184x260mm" +msgstr "" + +#. TRANSLATORS: 195 x 270mm +msgid "media.om_16k_195x270mm" +msgstr "" + +#. TRANSLATORS: 55 x 85mm +msgid "media.om_business-card_55x85mm" +msgstr "" + +#. TRANSLATORS: 55 x 91mm +msgid "media.om_business-card_55x91mm" +msgstr "" + +#. TRANSLATORS: 54 x 86mm +msgid "media.om_card_54x86mm" +msgstr "" + +#. TRANSLATORS: 275 x 395mm +msgid "media.om_dai-pa-kai_275x395mm" +msgstr "" + +#. TRANSLATORS: 89 x 119mm +msgid "media.om_dsc-photo_89x119mm" +msgstr "" + +#. TRANSLATORS: Folio +msgid "media.om_folio-sp_215x315mm" +msgstr "" + +#. TRANSLATORS: Folio (Special) +msgid "media.om_folio_210x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Invitation +msgid "media.om_invite_220x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Italian +msgid "media.om_italian_110x230mm" +msgstr "" + +#. TRANSLATORS: 198 x 275mm +msgid "media.om_juuro-ku-kai_198x275mm" +msgstr "" + +#. TRANSLATORS: 200 x 300 +msgid "media.om_large-photo_200x300" +msgstr "" + +#. TRANSLATORS: 130 x 180mm +msgid "media.om_medium-photo_130x180mm" +msgstr "" + +#. TRANSLATORS: 267 x 389mm +msgid "media.om_pa-kai_267x389mm" +msgstr "" + +#. TRANSLATORS: Envelope Postfix +msgid "media.om_postfix_114x229mm" +msgstr "" + +#. TRANSLATORS: 100 x 150mm +msgid "media.om_small-photo_100x150mm" +msgstr "" + +#. TRANSLATORS: 89 x 89mm +msgid "media.om_square-photo_89x89mm" +msgstr "" + +#. TRANSLATORS: 100 x 200mm +msgid "media.om_wide-photo_100x200mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #10 +msgid "media.prc_10_324x458mm" +msgstr "" + +#. TRANSLATORS: Chinese 16k +msgid "media.prc_16k_146x215mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #1 +msgid "media.prc_1_102x165mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #2 +msgid "media.prc_2_102x176mm" +msgstr "" + +#. TRANSLATORS: Chinese 32k +msgid "media.prc_32k_97x151mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #3 +msgid "media.prc_3_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #4 +msgid "media.prc_4_110x208mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #5 +msgid "media.prc_5_110x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #6 +msgid "media.prc_6_120x320mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #7 +msgid "media.prc_7_160x230mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #8 +msgid "media.prc_8_120x309mm" +msgstr "" + +#. TRANSLATORS: ROC 16k +msgid "media.roc_16k_7.75x10.75in" +msgstr "" + +#. TRANSLATORS: ROC 8k +msgid "media.roc_8k_10.75x15.5in" +msgstr "" + +#, c-format +msgid "members of class %s:" +msgstr "membres de la classe %s:" + +#. TRANSLATORS: Multiple Document Handling +msgid "multiple-document-handling" +msgstr "" + +#. TRANSLATORS: Separate Documents Collated Copies +msgid "multiple-document-handling.separate-documents-collated-copies" +msgstr "" + +#. TRANSLATORS: Separate Documents Uncollated Copies +msgid "multiple-document-handling.separate-documents-uncollated-copies" +msgstr "" + +#. TRANSLATORS: Single Document +msgid "multiple-document-handling.single-document" +msgstr "" + +#. TRANSLATORS: Single Document New Sheet +msgid "multiple-document-handling.single-document-new-sheet" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling +msgid "multiple-object-handling" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling Actual +msgid "multiple-object-handling-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "multiple-object-handling.auto" +msgstr "" + +#. TRANSLATORS: Best Fit +msgid "multiple-object-handling.best-fit" +msgstr "" + +#. TRANSLATORS: Best Quality +msgid "multiple-object-handling.best-quality" +msgstr "" + +#. TRANSLATORS: Best Speed +msgid "multiple-object-handling.best-speed" +msgstr "" + +#. TRANSLATORS: One At A Time +msgid "multiple-object-handling.one-at-a-time" +msgstr "" + +#. TRANSLATORS: On Timeout +msgid "multiple-operation-time-out-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "multiple-operation-time-out-action.abort-job" +msgstr "" + +#. TRANSLATORS: Hold Job +msgid "multiple-operation-time-out-action.hold-job" +msgstr "" + +#. TRANSLATORS: Process Job +msgid "multiple-operation-time-out-action.process-job" +msgstr "" + +msgid "no entries" +msgstr "no hi ha cap entrada" + +msgid "no system default destination" +msgstr "no hi ha cap destí per defecte" + +#. TRANSLATORS: Noise Removal +msgid "noise-removal" +msgstr "" + +#. TRANSLATORS: Notify Attributes +msgid "notify-attributes" +msgstr "" + +#. TRANSLATORS: Notify Charset +msgid "notify-charset" +msgstr "" + +#. TRANSLATORS: Notify Events +msgid "notify-events" +msgstr "" + +msgid "notify-events not specified." +msgstr "no s'ha especificat cap notify-events." + +#. TRANSLATORS: Document Completed +msgid "notify-events.document-completed" +msgstr "" + +#. TRANSLATORS: Document Config Changed +msgid "notify-events.document-config-changed" +msgstr "" + +#. TRANSLATORS: Document Created +msgid "notify-events.document-created" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "notify-events.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document State Changed +msgid "notify-events.document-state-changed" +msgstr "" + +#. TRANSLATORS: Document Stopped +msgid "notify-events.document-stopped" +msgstr "" + +#. TRANSLATORS: Job Completed +msgid "notify-events.job-completed" +msgstr "" + +#. TRANSLATORS: Job Config Changed +msgid "notify-events.job-config-changed" +msgstr "" + +#. TRANSLATORS: Job Created +msgid "notify-events.job-created" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "notify-events.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Progress +msgid "notify-events.job-progress" +msgstr "" + +#. TRANSLATORS: Job State Changed +msgid "notify-events.job-state-changed" +msgstr "" + +#. TRANSLATORS: Job Stopped +msgid "notify-events.job-stopped" +msgstr "" + +#. TRANSLATORS: None +msgid "notify-events.none" +msgstr "" + +#. TRANSLATORS: Printer Config Changed +msgid "notify-events.printer-config-changed" +msgstr "" + +#. TRANSLATORS: Printer Finishings Changed +msgid "notify-events.printer-finishings-changed" +msgstr "" + +#. TRANSLATORS: Printer Media Changed +msgid "notify-events.printer-media-changed" +msgstr "" + +#. TRANSLATORS: Printer Queue Order Changed +msgid "notify-events.printer-queue-order-changed" +msgstr "" + +#. TRANSLATORS: Printer Restarted +msgid "notify-events.printer-restarted" +msgstr "" + +#. TRANSLATORS: Printer Shutdown +msgid "notify-events.printer-shutdown" +msgstr "" + +#. TRANSLATORS: Printer State Changed +msgid "notify-events.printer-state-changed" +msgstr "" + +#. TRANSLATORS: Printer Stopped +msgid "notify-events.printer-stopped" +msgstr "" + +#. TRANSLATORS: Notify Get Interval +msgid "notify-get-interval" +msgstr "" + +#. TRANSLATORS: Notify Lease Duration +msgid "notify-lease-duration" +msgstr "" + +#. TRANSLATORS: Notify Natural Language +msgid "notify-natural-language" +msgstr "" + +#. TRANSLATORS: Notify Pull Method +msgid "notify-pull-method" +msgstr "" + +#. TRANSLATORS: Notify Recipient +msgid "notify-recipient-uri" +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" is already used." +msgstr "L'URI de notify-recipient-uri «%s» ja s'ha fet servir." + +#, c-format +msgid "notify-recipient-uri URI \"%s\" uses unknown scheme." +msgstr "L'URI de notify-recipient-uri «%s» fa servir un esquema desconegut." + +#. TRANSLATORS: Notify Sequence Numbers +msgid "notify-sequence-numbers" +msgstr "" + +#. TRANSLATORS: Notify Subscription Ids +msgid "notify-subscription-ids" +msgstr "" + +#. TRANSLATORS: Notify Time Interval +msgid "notify-time-interval" +msgstr "" + +#. TRANSLATORS: Notify User Data +msgid "notify-user-data" +msgstr "" + +#. TRANSLATORS: Notify Wait +msgid "notify-wait" +msgstr "" + +#. TRANSLATORS: Number Of Retries +msgid "number-of-retries" +msgstr "" + +#. TRANSLATORS: Number-Up +msgid "number-up" +msgstr "" + +#. TRANSLATORS: Object Offset +msgid "object-offset" +msgstr "" + +#. TRANSLATORS: Object Size +msgid "object-size" +msgstr "" + +#. TRANSLATORS: Organization Name +msgid "organization-name" +msgstr "" + +#. TRANSLATORS: Orientation +msgid "orientation-requested" +msgstr "" + +#. TRANSLATORS: Portrait +msgid "orientation-requested.3" +msgstr "" + +#. TRANSLATORS: Landscape +msgid "orientation-requested.4" +msgstr "" + +#. TRANSLATORS: Reverse Landscape +msgid "orientation-requested.5" +msgstr "" + +#. TRANSLATORS: Reverse Portrait +msgid "orientation-requested.6" +msgstr "" + +#. TRANSLATORS: None +msgid "orientation-requested.7" +msgstr "" + +#. TRANSLATORS: Scanned Image Options +msgid "output-attributes" +msgstr "" + +#. TRANSLATORS: Output Tray +msgid "output-bin" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "output-bin.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "output-bin.bottom" +msgstr "" + +#. TRANSLATORS: Center +msgid "output-bin.center" +msgstr "" + +#. TRANSLATORS: Face Down +msgid "output-bin.face-down" +msgstr "" + +#. TRANSLATORS: Face Up +msgid "output-bin.face-up" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "output-bin.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "output-bin.left" +msgstr "" + +#. TRANSLATORS: Mailbox 1 +msgid "output-bin.mailbox-1" +msgstr "" + +#. TRANSLATORS: Mailbox 10 +msgid "output-bin.mailbox-10" +msgstr "" + +#. TRANSLATORS: Mailbox 2 +msgid "output-bin.mailbox-2" +msgstr "" + +#. TRANSLATORS: Mailbox 3 +msgid "output-bin.mailbox-3" +msgstr "" + +#. TRANSLATORS: Mailbox 4 +msgid "output-bin.mailbox-4" +msgstr "" + +#. TRANSLATORS: Mailbox 5 +msgid "output-bin.mailbox-5" +msgstr "" + +#. TRANSLATORS: Mailbox 6 +msgid "output-bin.mailbox-6" +msgstr "" + +#. TRANSLATORS: Mailbox 7 +msgid "output-bin.mailbox-7" +msgstr "" + +#. TRANSLATORS: Mailbox 8 +msgid "output-bin.mailbox-8" +msgstr "" + +#. TRANSLATORS: Mailbox 9 +msgid "output-bin.mailbox-9" +msgstr "" + +#. TRANSLATORS: Middle +msgid "output-bin.middle" +msgstr "" + +#. TRANSLATORS: My Mailbox +msgid "output-bin.my-mailbox" +msgstr "" + +#. TRANSLATORS: Rear +msgid "output-bin.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "output-bin.right" +msgstr "" + +#. TRANSLATORS: Side +msgid "output-bin.side" +msgstr "" + +#. TRANSLATORS: Stacker 1 +msgid "output-bin.stacker-1" +msgstr "" + +#. TRANSLATORS: Stacker 10 +msgid "output-bin.stacker-10" +msgstr "" + +#. TRANSLATORS: Stacker 2 +msgid "output-bin.stacker-2" +msgstr "" + +#. TRANSLATORS: Stacker 3 +msgid "output-bin.stacker-3" +msgstr "" + +#. TRANSLATORS: Stacker 4 +msgid "output-bin.stacker-4" +msgstr "" + +#. TRANSLATORS: Stacker 5 +msgid "output-bin.stacker-5" +msgstr "" + +#. TRANSLATORS: Stacker 6 +msgid "output-bin.stacker-6" +msgstr "" + +#. TRANSLATORS: Stacker 7 +msgid "output-bin.stacker-7" +msgstr "" + +#. TRANSLATORS: Stacker 8 +msgid "output-bin.stacker-8" +msgstr "" + +#. TRANSLATORS: Stacker 9 +msgid "output-bin.stacker-9" +msgstr "" + +#. TRANSLATORS: Top +msgid "output-bin.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "output-bin.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "output-bin.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "output-bin.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "output-bin.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "output-bin.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "output-bin.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "output-bin.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "output-bin.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "output-bin.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "output-bin.tray-9" +msgstr "" + +#. TRANSLATORS: Scanned Image Quality +msgid "output-compression-quality-factor" +msgstr "" + +#. TRANSLATORS: Page Delivery +msgid "page-delivery" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-down +msgid "page-delivery.reverse-order-face-down" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-up +msgid "page-delivery.reverse-order-face-up" +msgstr "" + +#. TRANSLATORS: Same Order Face-down +msgid "page-delivery.same-order-face-down" +msgstr "" + +#. TRANSLATORS: Same Order Face-up +msgid "page-delivery.same-order-face-up" +msgstr "" + +#. TRANSLATORS: System Specified +msgid "page-delivery.system-specified" +msgstr "" + +#. TRANSLATORS: Page Order Received +msgid "page-order-received" +msgstr "" + +#. TRANSLATORS: 1 To N +msgid "page-order-received.1-to-n-order" +msgstr "" + +#. TRANSLATORS: N To 1 +msgid "page-order-received.n-to-1-order" +msgstr "" + +#. TRANSLATORS: Page Ranges +msgid "page-ranges" +msgstr "" + +#. TRANSLATORS: Pages +msgid "pages" +msgstr "" + +#. TRANSLATORS: Pages Per Subset +msgid "pages-per-subset" +msgstr "" + +#. TRANSLATORS: Pclm Raster Back Side +msgid "pclm-raster-back-side" +msgstr "" + +#. TRANSLATORS: Flipped +msgid "pclm-raster-back-side.flipped" +msgstr "" + +#. TRANSLATORS: Normal +msgid "pclm-raster-back-side.normal" +msgstr "" + +#. TRANSLATORS: Rotated +msgid "pclm-raster-back-side.rotated" +msgstr "" + +#. TRANSLATORS: Pclm Source Resolution +msgid "pclm-source-resolution" +msgstr "" + +msgid "pending" +msgstr "pendent" + +#. TRANSLATORS: Platform Shape +msgid "platform-shape" +msgstr "" + +#. TRANSLATORS: Round +msgid "platform-shape.ellipse" +msgstr "" + +#. TRANSLATORS: Rectangle +msgid "platform-shape.rectangle" +msgstr "" + +#. TRANSLATORS: Platform Temperature +msgid "platform-temperature" +msgstr "" + +#. TRANSLATORS: Post-dial String +msgid "post-dial-string" +msgstr "" + +#, c-format +msgid "ppdc: Adding include directory \"%s\"." +msgstr "ppdc: s'afegeix el directori inclòs «%s»." + +#, c-format +msgid "ppdc: Adding/updating UI text from %s." +msgstr "ppdc: s'afegeix/actualitza el text de l'UI des de %s." + +#, c-format +msgid "ppdc: Bad boolean value (%s) on line %d of %s." +msgstr "ppdc: valor booleà incorrecte (%s) a la línia %d de %s." + +#, c-format +msgid "ppdc: Bad font attribute: %s" +msgstr "ppdc: l'atribut del tipus de lletra és incorrecte: %s" + +#, c-format +msgid "ppdc: Bad resolution name \"%s\" on line %d of %s." +msgstr "ppdc: el nom de resolució «%s» de la línia %d de %s és incorrecte." + +#, c-format +msgid "ppdc: Bad status keyword %s on line %d of %s." +msgstr "ppdc: la paraula clau d'estat %s de la línia %d de %s és incorrecta." + +#, c-format +msgid "ppdc: Bad variable substitution ($%c) on line %d of %s." +msgstr "" +"ppdc: la variable de substitució ($%c) de la línia %d de %s és incorrecta." + +#, c-format +msgid "ppdc: Choice found on line %d of %s with no Option." +msgstr "ppdc: s'ha trobat una elecció a la línia %d de %s sense cap opció." + +#, c-format +msgid "ppdc: Duplicate #po for locale %s on line %d of %s." +msgstr "ppdc: #po duplicat per l'idioma %s a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected a filter definition on line %d of %s." +msgstr "ppdc: s'esperava una definició de filtre a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected a program name on line %d of %s." +msgstr "ppdc: s'esperava un nom de programa a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected boolean value on line %d of %s." +msgstr "ppdc: s'esperava un valor booleà a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected charset after Font on line %d of %s." +msgstr "" +"ppdc: s'esperava un joc de caràcters després de Font a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected choice code on line %d of %s." +msgstr "ppdc: s'esperava un codi d'elecció a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected choice name/text on line %d of %s." +msgstr "ppdc: s'esperava un nom/text d'elecció a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected color order for ColorModel on line %d of %s." +msgstr "" +"ppdc: s'esperava un ordre de colors per ColorModel a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected colorspace for ColorModel on line %d of %s." +msgstr "" +"ppdc: s'esperava un espai de colors per ColorModel a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected compression for ColorModel on line %d of %s." +msgstr "ppdc: s'esperava una compressió per ColorModel a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected constraints string for UIConstraints on line %d of %s." +msgstr "" +"ppdc: s'esperava una cadena de restriccions per UIConstraints a la línia %d " +"de %s." + +#, c-format +msgid "" +"ppdc: Expected driver type keyword following DriverType on line %d of %s." +msgstr "" +"ppdc: s'esperava una paraula clau de tipus de controlador després de " +"DriverType a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected duplex type after Duplex on line %d of %s." +msgstr "" +"ppdc: s'esperava un tipus de dúplex després de Duplex a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected encoding after Font on line %d of %s." +msgstr "ppdc: s'esperava una codificació després de Font a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected filename after #po %s on line %d of %s." +msgstr "" +"ppdc: s'esperava un nom de fitxer després de #po %s a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected group name/text on line %d of %s." +msgstr "ppdc: s'esperava un nom/text de grup a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected include filename on line %d of %s." +msgstr "ppdc: s'esperava un nom de fitxer d'inclusió a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected integer on line %d of %s." +msgstr "ppdc: s'esperava un enter a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected locale after #po on line %d of %s." +msgstr "ppdc: s'esperava un idioma després de #po a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected name after %s on line %d of %s." +msgstr "ppdc: s'esperava un nom després de %s a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected name after FileName on line %d of %s." +msgstr "ppdc: s'esperava un nom després de FileName a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected name after Font on line %d of %s." +msgstr "ppdc: s'esperava un nom després de Font a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected name after Manufacturer on line %d of %s." +msgstr "ppdc: s'esperava un nom després de Manufacturer a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected name after MediaSize on line %d of %s." +msgstr "ppdc: s'esperava un nom després de MediaSize a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected name after ModelName on line %d of %s." +msgstr "ppdc: s'esperava un nom després de ModelName a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected name after PCFileName on line %d of %s." +msgstr "ppdc: s'esperava un nom després de PCFileName a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected name/text after %s on line %d of %s." +msgstr "ppdc: s'esperava un nom/text després de %s a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected name/text after Installable on line %d of %s." +msgstr "" +"ppdc: s'esperava un nom/text després d'Installable a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected name/text after Resolution on line %d of %s." +msgstr "" +"ppdc: s'esperava un nom/text després de Resolution a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected name/text combination for ColorModel on line %d of %s." +msgstr "" +"ppdc: s'esperava una combinació de nom/text per ColorModel a la línia %d de " +"%s." + +#, c-format +msgid "ppdc: Expected option name/text on line %d of %s." +msgstr "ppdc: s'esperava un nom/text d'opció a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected option section on line %d of %s." +msgstr "ppdc: s'esperava una secció d'opció a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected option type on line %d of %s." +msgstr "ppdc: s'esperava un tipus d'opció a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected override field after Resolution on line %d of %s." +msgstr "" +"ppdc: s'esperava un camp de substitució després de Resolution a la línia %d " +"de %s." + +#, c-format +msgid "ppdc: Expected quoted string on line %d of %s." +msgstr "ppdc: s'esperava una cadena entre cometes dobles a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected real number on line %d of %s." +msgstr "ppdc: s'esperava un número real a la línia %d de %s." + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." +msgstr "" +"ppdc: s'esperava una resolució/tipus de mitjà després de ColorProfile a la " +"línia %d de %s." + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d " +"of %s." +msgstr "" +"ppdc: s'esperava una resolució/tipus de mitjà després de SimpleColorProfile " +"a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected selector after %s on line %d of %s." +msgstr "ppdc: s'esperava un selector després de %s a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected status after Font on line %d of %s." +msgstr "ppdc: s'esperava un estat després de Font a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected string after Copyright on line %d of %s." +msgstr "ppdc: s'esperava una cadena després de Copyright a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected string after Version on line %d of %s." +msgstr "ppdc: s'esperava una cadena després de Version a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected two option names on line %d of %s." +msgstr "ppdc: s'esperava dos noms d'opció a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected value after %s on line %d of %s." +msgstr "ppdc: s'esperava un valor després de %s a la línia %d de %s." + +#, c-format +msgid "ppdc: Expected version after Font on line %d of %s." +msgstr "ppdc: s'esperava una versió després de Font a la línia %d de %s." + +#, c-format +msgid "ppdc: Invalid #include/#po filename \"%s\"." +msgstr "ppdc: el nom de fitxer #include/#po «%s» no és vàlid." + +#, c-format +msgid "ppdc: Invalid cost for filter on line %d of %s." +msgstr "ppdc: el cost del filtre no és vàlid a la línia %d de %s." + +#, c-format +msgid "ppdc: Invalid empty MIME type for filter on line %d of %s." +msgstr "ppdc: el tipus MIME buit no és vàlid pel filtre a la línia %d de %s." + +#, c-format +msgid "ppdc: Invalid empty program name for filter on line %d of %s." +msgstr "" +"ppdc: el nom de programa buit no és vàlid pel filtre a la línia %d de %s." + +#, c-format +msgid "ppdc: Invalid option section \"%s\" on line %d of %s." +msgstr "ppdc: la secció d'opció «%s» no és vàlida a la línia %d de %s." + +#, c-format +msgid "ppdc: Invalid option type \"%s\" on line %d of %s." +msgstr "ppdc: el tipus d'opció «%s» no és vàlid a la línia %d de %s." + +#, c-format +msgid "ppdc: Loading driver information file \"%s\"." +msgstr "ppdc: s'està carregant el fitxer d'informació del controlador «%s»." + +#, c-format +msgid "ppdc: Loading messages for locale \"%s\"." +msgstr "ppdc: s'està carregant l'idioma «%s»." + +#, c-format +msgid "ppdc: Loading messages from \"%s\"." +msgstr "ppdc: s'està carregant els missatges des de «%s»." + +#, c-format +msgid "ppdc: Missing #endif at end of \"%s\"." +msgstr "ppdc: falta un #endif al final de «%s»." + +#, c-format +msgid "ppdc: Missing #if on line %d of %s." +msgstr "ppdc: falta un #if a la línia %d de %s." + +#, c-format +msgid "" +"ppdc: Need a msgid line before any translation strings on line %d of %s." +msgstr "" +"oodc: es necessita un msgid abans de la cadena per traduir a la línia %d de " +"%s." + +#, c-format +msgid "ppdc: No message catalog provided for locale %s." +msgstr "ppdc: no s'ha donat el catàleg de missatges per l'idioma %s." + +#, c-format +msgid "ppdc: Option %s defined in two different groups on line %d of %s." +msgstr "" +"ppdc: l'opció %s està definida a dos grups diferents a la línia %d de %s." + +#, c-format +msgid "ppdc: Option %s redefined with a different type on line %d of %s." +msgstr "" +"ppdc: l'opció %s està redefinida amb un tipus diferent a la línia %d de %s." + +#, c-format +msgid "ppdc: Option constraint must *name on line %d of %s." +msgstr "ppdc: l'opció de restricció ha d'incloure *nom a la línia %d de %s." + +#, c-format +msgid "ppdc: Too many nested #if's on line %d of %s." +msgstr "ppdc: hi ha massa #if imbricats a la línia %d de %s." + +#, c-format +msgid "ppdc: Unable to create PPD file \"%s\" - %s." +msgstr "ppdc: no s'ha pogut crear el fitxer PPD «%s» - %s." + +#, c-format +msgid "ppdc: Unable to create output directory %s: %s" +msgstr "ppdc: no s'ha pogut crear el directori de sortida %s: %s" + +#, c-format +msgid "ppdc: Unable to create output pipes: %s" +msgstr "ppdc: no s'ha pogut crear els conductes de sortida: %s" + +#, c-format +msgid "ppdc: Unable to execute cupstestppd: %s" +msgstr "ppdc: no s'ha pogut executar cupstestppd: %s" + +#, c-format +msgid "ppdc: Unable to find #po file %s on line %d of %s." +msgstr "ppdc: no s'ha pogut trobar el fitxer #po %s a la línia %d de %s." + +#, c-format +msgid "ppdc: Unable to find include file \"%s\" on line %d of %s." +msgstr "" +"ppdc: no s'ha pogut trobar el fitxer d'inclusió «%s» a la línia %d de %s." + +#, c-format +msgid "ppdc: Unable to find localization for \"%s\" - %s" +msgstr "ppdc: no s'ha pogut trobar la localització de «%s» - %s" + +#, c-format +msgid "ppdc: Unable to load localization file \"%s\" - %s" +msgstr "ppdc: no s'ha pogut carregar el fitxer de localització «%s» - %s" + +#, c-format +msgid "ppdc: Unable to open %s: %s" +msgstr "ppdc: no s'ha pogut obrir %s: %s" + +#, c-format +msgid "ppdc: Undefined variable (%s) on line %d of %s." +msgstr "ppdc: la variable (%s) de la línia %d de %s no està definida." + +#, c-format +msgid "ppdc: Unexpected text on line %d of %s." +msgstr "ppdc: hi ha un text inesperat a la línia %d de %s." + +#, c-format +msgid "ppdc: Unknown driver type %s on line %d of %s." +msgstr "ppdc: el tipus de controlador %s de la línia %d de %s no és conegut." + +#, c-format +msgid "ppdc: Unknown duplex type \"%s\" on line %d of %s." +msgstr "ppdc: el tipus de dúplex «%s» de la línia %d de %s no és conegut." + +#, c-format +msgid "ppdc: Unknown media size \"%s\" on line %d of %s." +msgstr "ppdc: la mida del mitjà «%s» de la línia %d de %s no és coneguda." + +#, c-format +msgid "ppdc: Unknown message catalog format for \"%s\"." +msgstr "ppdc: el format del catàleg de missatges de «%s» no és conegut." + +#, c-format +msgid "ppdc: Unknown token \"%s\" seen on line %d of %s." +msgstr "ppdc: el testimoni «%s» de la línia %d de %s no és conegut." + +#, c-format +msgid "" +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." +msgstr "" +"ppdc: els caràcters finals del número real «%s» de la línia %d de %s no són " +"coneguts." + +#, c-format +msgid "ppdc: Unterminated string starting with %c on line %d of %s." +msgstr "" +"ppdc: la cadena que comença per %c de la línia %d de %s no està acabada." + +#, c-format +msgid "ppdc: Warning - overlapping filename \"%s\"." +msgstr "ppdc: avís - se superposa el nom del fitxer «%s»." + +#, c-format +msgid "ppdc: Writing %s." +msgstr "ppdc: s'escriu %s." + +#, c-format +msgid "ppdc: Writing PPD files to directory \"%s\"." +msgstr "ppdc: s'escriuen els fitxers PPD a la carpeta «%s»." + +#, c-format +msgid "ppdmerge: Bad LanguageVersion \"%s\" in %s." +msgstr "ppdmerge: LanguageVersion «%s» incorrecte a %s." + +#, c-format +msgid "ppdmerge: Ignoring PPD file %s." +msgstr "ppdmerge: s'ignora el fitxer PPD %s." + +#, c-format +msgid "ppdmerge: Unable to backup %s to %s - %s" +msgstr "ppdmerge: no s'ha pogut fer la còpia de seguretat %s a %s- %s" + +#. TRANSLATORS: Pre-dial String +msgid "pre-dial-string" +msgstr "" + +#. TRANSLATORS: Number-Up Layout +msgid "presentation-direction-number-up" +msgstr "" + +#. TRANSLATORS: Top-bottom, Right-left +msgid "presentation-direction-number-up.tobottom-toleft" +msgstr "" + +#. TRANSLATORS: Top-bottom, Left-right +msgid "presentation-direction-number-up.tobottom-toright" +msgstr "" + +#. TRANSLATORS: Right-left, Top-bottom +msgid "presentation-direction-number-up.toleft-tobottom" +msgstr "" + +#. TRANSLATORS: Right-left, Bottom-top +msgid "presentation-direction-number-up.toleft-totop" +msgstr "" + +#. TRANSLATORS: Left-right, Top-bottom +msgid "presentation-direction-number-up.toright-tobottom" +msgstr "" + +#. TRANSLATORS: Left-right, Bottom-top +msgid "presentation-direction-number-up.toright-totop" +msgstr "" + +#. TRANSLATORS: Bottom-top, Right-left +msgid "presentation-direction-number-up.totop-toleft" +msgstr "" + +#. TRANSLATORS: Bottom-top, Left-right +msgid "presentation-direction-number-up.totop-toright" +msgstr "" + +#. TRANSLATORS: Print Accuracy +msgid "print-accuracy" +msgstr "" + +#. TRANSLATORS: Print Base +msgid "print-base" +msgstr "" + +#. TRANSLATORS: Print Base Actual +msgid "print-base-actual" +msgstr "" + +#. TRANSLATORS: Brim +msgid "print-base.brim" +msgstr "" + +#. TRANSLATORS: None +msgid "print-base.none" +msgstr "" + +#. TRANSLATORS: Raft +msgid "print-base.raft" +msgstr "" + +#. TRANSLATORS: Skirt +msgid "print-base.skirt" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-base.standard" +msgstr "" + +#. TRANSLATORS: Print Color Mode +msgid "print-color-mode" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-color-mode.auto" +msgstr "" + +#. TRANSLATORS: Auto Monochrome +msgid "print-color-mode.auto-monochrome" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-color-mode.bi-level" +msgstr "" + +#. TRANSLATORS: Color +msgid "print-color-mode.color" +msgstr "" + +#. TRANSLATORS: Highlight +msgid "print-color-mode.highlight" +msgstr "" + +#. TRANSLATORS: Monochrome +msgid "print-color-mode.monochrome" +msgstr "" + +#. TRANSLATORS: Process Text +msgid "print-color-mode.process-bi-level" +msgstr "" + +#. TRANSLATORS: Process Monochrome +msgid "print-color-mode.process-monochrome" +msgstr "" + +#. TRANSLATORS: Print Optimization +msgid "print-content-optimize" +msgstr "" + +#. TRANSLATORS: Print Content Optimize Actual +msgid "print-content-optimize-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-content-optimize.auto" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphic" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphics" +msgstr "" + +#. TRANSLATORS: Photo +msgid "print-content-optimize.photo" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-content-optimize.text" +msgstr "" + +#. TRANSLATORS: Text and Graphics +msgid "print-content-optimize.text-and-graphic" +msgstr "" + +#. TRANSLATORS: Text And Graphics +msgid "print-content-optimize.text-and-graphics" +msgstr "" + +#. TRANSLATORS: Print Objects +msgid "print-objects" +msgstr "" + +#. TRANSLATORS: Print Quality +msgid "print-quality" +msgstr "" + +#. TRANSLATORS: Draft +msgid "print-quality.3" +msgstr "" + +#. TRANSLATORS: Normal +msgid "print-quality.4" +msgstr "" + +#. TRANSLATORS: High +msgid "print-quality.5" +msgstr "" + +#. TRANSLATORS: Print Rendering Intent +msgid "print-rendering-intent" +msgstr "" + +#. TRANSLATORS: Absolute +msgid "print-rendering-intent.absolute" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-rendering-intent.auto" +msgstr "" + +#. TRANSLATORS: Perceptual +msgid "print-rendering-intent.perceptual" +msgstr "" + +#. TRANSLATORS: Relative +msgid "print-rendering-intent.relative" +msgstr "" + +#. TRANSLATORS: Relative w/Black Point Compensation +msgid "print-rendering-intent.relative-bpc" +msgstr "" + +#. TRANSLATORS: Saturation +msgid "print-rendering-intent.saturation" +msgstr "" + +#. TRANSLATORS: Print Scaling +msgid "print-scaling" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-scaling.auto" +msgstr "" + +#. TRANSLATORS: Auto-fit +msgid "print-scaling.auto-fit" +msgstr "" + +#. TRANSLATORS: Fill +msgid "print-scaling.fill" +msgstr "" + +#. TRANSLATORS: Fit +msgid "print-scaling.fit" +msgstr "" + +#. TRANSLATORS: None +msgid "print-scaling.none" +msgstr "" + +#. TRANSLATORS: Print Supports +msgid "print-supports" +msgstr "" + +#. TRANSLATORS: Print Supports Actual +msgid "print-supports-actual" +msgstr "" + +#. TRANSLATORS: With Specified Material +msgid "print-supports.material" +msgstr "" + +#. TRANSLATORS: None +msgid "print-supports.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-supports.standard" +msgstr "" + +#, c-format +msgid "printer %s disabled since %s -" +msgstr "la impressora %s està deshabilitada des de %s -" + +#, c-format +msgid "printer %s is holding new jobs. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s is idle. enabled since %s" +msgstr "la impressora %s està inactiva. Està activada des de %s" + +#, c-format +msgid "printer %s now printing %s-%d. enabled since %s" +msgstr "la impressora %s està imprimint %s-%d. Està habilitada des de %s" + +#, c-format +msgid "printer %s/%s disabled since %s -" +msgstr "la impressora %s/%s està deshabilitada des de %s -" + +#, c-format +msgid "printer %s/%s is idle. enabled since %s" +msgstr "la impressora %s/%s està inactiva. Està activada des de %s" + +#, c-format +msgid "printer %s/%s now printing %s-%d. enabled since %s" +msgstr "la impressora %s/%s està imprimint %s-%d. Està activada des de %s" + +#. TRANSLATORS: Printer Kind +msgid "printer-kind" +msgstr "" + +#. TRANSLATORS: Disc +msgid "printer-kind.disc" +msgstr "" + +#. TRANSLATORS: Document +msgid "printer-kind.document" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "printer-kind.envelope" +msgstr "" + +#. TRANSLATORS: Label +msgid "printer-kind.label" +msgstr "" + +#. TRANSLATORS: Large Format +msgid "printer-kind.large-format" +msgstr "" + +#. TRANSLATORS: Photo +msgid "printer-kind.photo" +msgstr "" + +#. TRANSLATORS: Postcard +msgid "printer-kind.postcard" +msgstr "" + +#. TRANSLATORS: Receipt +msgid "printer-kind.receipt" +msgstr "" + +#. TRANSLATORS: Roll +msgid "printer-kind.roll" +msgstr "" + +#. TRANSLATORS: Message From Operator +msgid "printer-message-from-operator" +msgstr "" + +#. TRANSLATORS: Print Resolution +msgid "printer-resolution" +msgstr "" + +#. TRANSLATORS: Printer State +msgid "printer-state" +msgstr "" + +#. TRANSLATORS: Detailed Printer State +msgid "printer-state-reasons" +msgstr "" + +#. TRANSLATORS: Old Alerts Have Been Removed +msgid "printer-state-reasons.alert-removal-of-binary-change-entry" +msgstr "" + +#. TRANSLATORS: Bander Added +msgid "printer-state-reasons.bander-added" +msgstr "" + +#. TRANSLATORS: Bander Almost Empty +msgid "printer-state-reasons.bander-almost-empty" +msgstr "" + +#. TRANSLATORS: Bander Almost Full +msgid "printer-state-reasons.bander-almost-full" +msgstr "" + +#. TRANSLATORS: Bander At Limit +msgid "printer-state-reasons.bander-at-limit" +msgstr "" + +#. TRANSLATORS: Bander Closed +msgid "printer-state-reasons.bander-closed" +msgstr "" + +#. TRANSLATORS: Bander Configuration Change +msgid "printer-state-reasons.bander-configuration-change" +msgstr "" + +#. TRANSLATORS: Bander Cover Closed +msgid "printer-state-reasons.bander-cover-closed" +msgstr "" + +#. TRANSLATORS: Bander Cover Open +msgid "printer-state-reasons.bander-cover-open" +msgstr "" + +#. TRANSLATORS: Bander Empty +msgid "printer-state-reasons.bander-empty" +msgstr "" + +#. TRANSLATORS: Bander Full +msgid "printer-state-reasons.bander-full" +msgstr "" + +#. TRANSLATORS: Bander Interlock Closed +msgid "printer-state-reasons.bander-interlock-closed" +msgstr "" + +#. TRANSLATORS: Bander Interlock Open +msgid "printer-state-reasons.bander-interlock-open" +msgstr "" + +#. TRANSLATORS: Bander Jam +msgid "printer-state-reasons.bander-jam" +msgstr "" + +#. TRANSLATORS: Bander Life Almost Over +msgid "printer-state-reasons.bander-life-almost-over" +msgstr "" + +#. TRANSLATORS: Bander Life Over +msgid "printer-state-reasons.bander-life-over" +msgstr "" + +#. TRANSLATORS: Bander Memory Exhausted +msgid "printer-state-reasons.bander-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Bander Missing +msgid "printer-state-reasons.bander-missing" +msgstr "" + +#. TRANSLATORS: Bander Motor Failure +msgid "printer-state-reasons.bander-motor-failure" +msgstr "" + +#. TRANSLATORS: Bander Near Limit +msgid "printer-state-reasons.bander-near-limit" +msgstr "" + +#. TRANSLATORS: Bander Offline +msgid "printer-state-reasons.bander-offline" +msgstr "" + +#. TRANSLATORS: Bander Opened +msgid "printer-state-reasons.bander-opened" +msgstr "" + +#. TRANSLATORS: Bander Over Temperature +msgid "printer-state-reasons.bander-over-temperature" +msgstr "" + +#. TRANSLATORS: Bander Power Saver +msgid "printer-state-reasons.bander-power-saver" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Failure +msgid "printer-state-reasons.bander-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Storage +msgid "printer-state-reasons.bander-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Bander Removed +msgid "printer-state-reasons.bander-removed" +msgstr "" + +#. TRANSLATORS: Bander Resource Added +msgid "printer-state-reasons.bander-resource-added" +msgstr "" + +#. TRANSLATORS: Bander Resource Removed +msgid "printer-state-reasons.bander-resource-removed" +msgstr "" + +#. TRANSLATORS: Bander Thermistor Failure +msgid "printer-state-reasons.bander-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Bander Timing Failure +msgid "printer-state-reasons.bander-timing-failure" +msgstr "" + +#. TRANSLATORS: Bander Turned Off +msgid "printer-state-reasons.bander-turned-off" +msgstr "" + +#. TRANSLATORS: Bander Turned On +msgid "printer-state-reasons.bander-turned-on" +msgstr "" + +#. TRANSLATORS: Bander Under Temperature +msgid "printer-state-reasons.bander-under-temperature" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Failure +msgid "printer-state-reasons.bander-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Storage Error +msgid "printer-state-reasons.bander-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Bander Warming Up +msgid "printer-state-reasons.bander-warming-up" +msgstr "" + +#. TRANSLATORS: Binder Added +msgid "printer-state-reasons.binder-added" +msgstr "" + +#. TRANSLATORS: Binder Almost Empty +msgid "printer-state-reasons.binder-almost-empty" +msgstr "" + +#. TRANSLATORS: Binder Almost Full +msgid "printer-state-reasons.binder-almost-full" +msgstr "" + +#. TRANSLATORS: Binder At Limit +msgid "printer-state-reasons.binder-at-limit" +msgstr "" + +#. TRANSLATORS: Binder Closed +msgid "printer-state-reasons.binder-closed" +msgstr "" + +#. TRANSLATORS: Binder Configuration Change +msgid "printer-state-reasons.binder-configuration-change" +msgstr "" + +#. TRANSLATORS: Binder Cover Closed +msgid "printer-state-reasons.binder-cover-closed" +msgstr "" + +#. TRANSLATORS: Binder Cover Open +msgid "printer-state-reasons.binder-cover-open" +msgstr "" + +#. TRANSLATORS: Binder Empty +msgid "printer-state-reasons.binder-empty" +msgstr "" + +#. TRANSLATORS: Binder Full +msgid "printer-state-reasons.binder-full" +msgstr "" + +#. TRANSLATORS: Binder Interlock Closed +msgid "printer-state-reasons.binder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Binder Interlock Open +msgid "printer-state-reasons.binder-interlock-open" +msgstr "" + +#. TRANSLATORS: Binder Jam +msgid "printer-state-reasons.binder-jam" +msgstr "" + +#. TRANSLATORS: Binder Life Almost Over +msgid "printer-state-reasons.binder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Binder Life Over +msgid "printer-state-reasons.binder-life-over" +msgstr "" + +#. TRANSLATORS: Binder Memory Exhausted +msgid "printer-state-reasons.binder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Binder Missing +msgid "printer-state-reasons.binder-missing" +msgstr "" + +#. TRANSLATORS: Binder Motor Failure +msgid "printer-state-reasons.binder-motor-failure" +msgstr "" + +#. TRANSLATORS: Binder Near Limit +msgid "printer-state-reasons.binder-near-limit" +msgstr "" + +#. TRANSLATORS: Binder Offline +msgid "printer-state-reasons.binder-offline" +msgstr "" + +#. TRANSLATORS: Binder Opened +msgid "printer-state-reasons.binder-opened" +msgstr "" + +#. TRANSLATORS: Binder Over Temperature +msgid "printer-state-reasons.binder-over-temperature" +msgstr "" + +#. TRANSLATORS: Binder Power Saver +msgid "printer-state-reasons.binder-power-saver" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Failure +msgid "printer-state-reasons.binder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Storage +msgid "printer-state-reasons.binder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Binder Removed +msgid "printer-state-reasons.binder-removed" +msgstr "" + +#. TRANSLATORS: Binder Resource Added +msgid "printer-state-reasons.binder-resource-added" +msgstr "" + +#. TRANSLATORS: Binder Resource Removed +msgid "printer-state-reasons.binder-resource-removed" +msgstr "" + +#. TRANSLATORS: Binder Thermistor Failure +msgid "printer-state-reasons.binder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Binder Timing Failure +msgid "printer-state-reasons.binder-timing-failure" +msgstr "" + +#. TRANSLATORS: Binder Turned Off +msgid "printer-state-reasons.binder-turned-off" +msgstr "" + +#. TRANSLATORS: Binder Turned On +msgid "printer-state-reasons.binder-turned-on" +msgstr "" + +#. TRANSLATORS: Binder Under Temperature +msgid "printer-state-reasons.binder-under-temperature" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Failure +msgid "printer-state-reasons.binder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Storage Error +msgid "printer-state-reasons.binder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Binder Warming Up +msgid "printer-state-reasons.binder-warming-up" +msgstr "" + +#. TRANSLATORS: Camera Failure +msgid "printer-state-reasons.camera-failure" +msgstr "" + +#. TRANSLATORS: Chamber Cooling +msgid "printer-state-reasons.chamber-cooling" +msgstr "" + +#. TRANSLATORS: Chamber Failure +msgid "printer-state-reasons.chamber-failure" +msgstr "" + +#. TRANSLATORS: Chamber Heating +msgid "printer-state-reasons.chamber-heating" +msgstr "" + +#. TRANSLATORS: Chamber Temperature High +msgid "printer-state-reasons.chamber-temperature-high" +msgstr "" + +#. TRANSLATORS: Chamber Temperature Low +msgid "printer-state-reasons.chamber-temperature-low" +msgstr "" + +#. TRANSLATORS: Cleaner Life Almost Over +msgid "printer-state-reasons.cleaner-life-almost-over" +msgstr "" + +#. TRANSLATORS: Cleaner Life Over +msgid "printer-state-reasons.cleaner-life-over" +msgstr "" + +#. TRANSLATORS: Configuration Change +msgid "printer-state-reasons.configuration-change" +msgstr "" + +#. TRANSLATORS: Connecting To Device +msgid "printer-state-reasons.connecting-to-device" +msgstr "" + +#. TRANSLATORS: Cover Open +msgid "printer-state-reasons.cover-open" +msgstr "" + +#. TRANSLATORS: Deactivated +msgid "printer-state-reasons.deactivated" +msgstr "" + +#. TRANSLATORS: Developer Empty +msgid "printer-state-reasons.developer-empty" +msgstr "" + +#. TRANSLATORS: Developer Low +msgid "printer-state-reasons.developer-low" +msgstr "" + +#. TRANSLATORS: Die Cutter Added +msgid "printer-state-reasons.die-cutter-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Empty +msgid "printer-state-reasons.die-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Full +msgid "printer-state-reasons.die-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Die Cutter At Limit +msgid "printer-state-reasons.die-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Closed +msgid "printer-state-reasons.die-cutter-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Configuration Change +msgid "printer-state-reasons.die-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Closed +msgid "printer-state-reasons.die-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Open +msgid "printer-state-reasons.die-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Empty +msgid "printer-state-reasons.die-cutter-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Full +msgid "printer-state-reasons.die-cutter-full" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Closed +msgid "printer-state-reasons.die-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Open +msgid "printer-state-reasons.die-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Jam +msgid "printer-state-reasons.die-cutter-jam" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Almost Over +msgid "printer-state-reasons.die-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Over +msgid "printer-state-reasons.die-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Memory Exhausted +msgid "printer-state-reasons.die-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Die Cutter Missing +msgid "printer-state-reasons.die-cutter-missing" +msgstr "" + +#. TRANSLATORS: Die Cutter Motor Failure +msgid "printer-state-reasons.die-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Near Limit +msgid "printer-state-reasons.die-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Offline +msgid "printer-state-reasons.die-cutter-offline" +msgstr "" + +#. TRANSLATORS: Die Cutter Opened +msgid "printer-state-reasons.die-cutter-opened" +msgstr "" + +#. TRANSLATORS: Die Cutter Over Temperature +msgid "printer-state-reasons.die-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Power Saver +msgid "printer-state-reasons.die-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Failure +msgid "printer-state-reasons.die-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Storage +msgid "printer-state-reasons.die-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Die Cutter Removed +msgid "printer-state-reasons.die-cutter-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Added +msgid "printer-state-reasons.die-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Removed +msgid "printer-state-reasons.die-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Thermistor Failure +msgid "printer-state-reasons.die-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Timing Failure +msgid "printer-state-reasons.die-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned Off +msgid "printer-state-reasons.die-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned On +msgid "printer-state-reasons.die-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Die Cutter Under Temperature +msgid "printer-state-reasons.die-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Failure +msgid "printer-state-reasons.die-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.die-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Die Cutter Warming Up +msgid "printer-state-reasons.die-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Door Open +msgid "printer-state-reasons.door-open" +msgstr "" + +#. TRANSLATORS: Extruder Cooling +msgid "printer-state-reasons.extruder-cooling" +msgstr "" + +#. TRANSLATORS: Extruder Failure +msgid "printer-state-reasons.extruder-failure" +msgstr "" + +#. TRANSLATORS: Extruder Heating +msgid "printer-state-reasons.extruder-heating" +msgstr "" + +#. TRANSLATORS: Extruder Jam +msgid "printer-state-reasons.extruder-jam" +msgstr "" + +#. TRANSLATORS: Extruder Temperature High +msgid "printer-state-reasons.extruder-temperature-high" +msgstr "" + +#. TRANSLATORS: Extruder Temperature Low +msgid "printer-state-reasons.extruder-temperature-low" +msgstr "" + +#. TRANSLATORS: Fan Failure +msgid "printer-state-reasons.fan-failure" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Almost Over +msgid "printer-state-reasons.fax-modem-life-almost-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Over +msgid "printer-state-reasons.fax-modem-life-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Missing +msgid "printer-state-reasons.fax-modem-missing" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned Off +msgid "printer-state-reasons.fax-modem-turned-off" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned On +msgid "printer-state-reasons.fax-modem-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Added +msgid "printer-state-reasons.folder-added" +msgstr "" + +#. TRANSLATORS: Folder Almost Empty +msgid "printer-state-reasons.folder-almost-empty" +msgstr "" + +#. TRANSLATORS: Folder Almost Full +msgid "printer-state-reasons.folder-almost-full" +msgstr "" + +#. TRANSLATORS: Folder At Limit +msgid "printer-state-reasons.folder-at-limit" +msgstr "" + +#. TRANSLATORS: Folder Closed +msgid "printer-state-reasons.folder-closed" +msgstr "" + +#. TRANSLATORS: Folder Configuration Change +msgid "printer-state-reasons.folder-configuration-change" +msgstr "" + +#. TRANSLATORS: Folder Cover Closed +msgid "printer-state-reasons.folder-cover-closed" +msgstr "" + +#. TRANSLATORS: Folder Cover Open +msgid "printer-state-reasons.folder-cover-open" +msgstr "" + +#. TRANSLATORS: Folder Empty +msgid "printer-state-reasons.folder-empty" +msgstr "" + +#. TRANSLATORS: Folder Full +msgid "printer-state-reasons.folder-full" +msgstr "" + +#. TRANSLATORS: Folder Interlock Closed +msgid "printer-state-reasons.folder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Folder Interlock Open +msgid "printer-state-reasons.folder-interlock-open" +msgstr "" + +#. TRANSLATORS: Folder Jam +msgid "printer-state-reasons.folder-jam" +msgstr "" + +#. TRANSLATORS: Folder Life Almost Over +msgid "printer-state-reasons.folder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Folder Life Over +msgid "printer-state-reasons.folder-life-over" +msgstr "" + +#. TRANSLATORS: Folder Memory Exhausted +msgid "printer-state-reasons.folder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Folder Missing +msgid "printer-state-reasons.folder-missing" +msgstr "" + +#. TRANSLATORS: Folder Motor Failure +msgid "printer-state-reasons.folder-motor-failure" +msgstr "" + +#. TRANSLATORS: Folder Near Limit +msgid "printer-state-reasons.folder-near-limit" +msgstr "" + +#. TRANSLATORS: Folder Offline +msgid "printer-state-reasons.folder-offline" +msgstr "" + +#. TRANSLATORS: Folder Opened +msgid "printer-state-reasons.folder-opened" +msgstr "" + +#. TRANSLATORS: Folder Over Temperature +msgid "printer-state-reasons.folder-over-temperature" +msgstr "" + +#. TRANSLATORS: Folder Power Saver +msgid "printer-state-reasons.folder-power-saver" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Failure +msgid "printer-state-reasons.folder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Storage +msgid "printer-state-reasons.folder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Folder Removed +msgid "printer-state-reasons.folder-removed" +msgstr "" + +#. TRANSLATORS: Folder Resource Added +msgid "printer-state-reasons.folder-resource-added" +msgstr "" + +#. TRANSLATORS: Folder Resource Removed +msgid "printer-state-reasons.folder-resource-removed" +msgstr "" + +#. TRANSLATORS: Folder Thermistor Failure +msgid "printer-state-reasons.folder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Folder Timing Failure +msgid "printer-state-reasons.folder-timing-failure" +msgstr "" + +#. TRANSLATORS: Folder Turned Off +msgid "printer-state-reasons.folder-turned-off" +msgstr "" + +#. TRANSLATORS: Folder Turned On +msgid "printer-state-reasons.folder-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Under Temperature +msgid "printer-state-reasons.folder-under-temperature" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Failure +msgid "printer-state-reasons.folder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Storage Error +msgid "printer-state-reasons.folder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Folder Warming Up +msgid "printer-state-reasons.folder-warming-up" +msgstr "" + +#. TRANSLATORS: Fuser temperature high +msgid "printer-state-reasons.fuser-over-temp" +msgstr "" + +#. TRANSLATORS: Fuser temperature low +msgid "printer-state-reasons.fuser-under-temp" +msgstr "" + +#. TRANSLATORS: Hold New Jobs +msgid "printer-state-reasons.hold-new-jobs" +msgstr "" + +#. TRANSLATORS: Identify Printer +msgid "printer-state-reasons.identify-printer-requested" +msgstr "" + +#. TRANSLATORS: Imprinter Added +msgid "printer-state-reasons.imprinter-added" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Empty +msgid "printer-state-reasons.imprinter-almost-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Full +msgid "printer-state-reasons.imprinter-almost-full" +msgstr "" + +#. TRANSLATORS: Imprinter At Limit +msgid "printer-state-reasons.imprinter-at-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Closed +msgid "printer-state-reasons.imprinter-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Configuration Change +msgid "printer-state-reasons.imprinter-configuration-change" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Closed +msgid "printer-state-reasons.imprinter-cover-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Open +msgid "printer-state-reasons.imprinter-cover-open" +msgstr "" + +#. TRANSLATORS: Imprinter Empty +msgid "printer-state-reasons.imprinter-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Full +msgid "printer-state-reasons.imprinter-full" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Closed +msgid "printer-state-reasons.imprinter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Open +msgid "printer-state-reasons.imprinter-interlock-open" +msgstr "" + +#. TRANSLATORS: Imprinter Jam +msgid "printer-state-reasons.imprinter-jam" +msgstr "" + +#. TRANSLATORS: Imprinter Life Almost Over +msgid "printer-state-reasons.imprinter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Imprinter Life Over +msgid "printer-state-reasons.imprinter-life-over" +msgstr "" + +#. TRANSLATORS: Imprinter Memory Exhausted +msgid "printer-state-reasons.imprinter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Imprinter Missing +msgid "printer-state-reasons.imprinter-missing" +msgstr "" + +#. TRANSLATORS: Imprinter Motor Failure +msgid "printer-state-reasons.imprinter-motor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Near Limit +msgid "printer-state-reasons.imprinter-near-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Offline +msgid "printer-state-reasons.imprinter-offline" +msgstr "" + +#. TRANSLATORS: Imprinter Opened +msgid "printer-state-reasons.imprinter-opened" +msgstr "" + +#. TRANSLATORS: Imprinter Over Temperature +msgid "printer-state-reasons.imprinter-over-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Power Saver +msgid "printer-state-reasons.imprinter-power-saver" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Failure +msgid "printer-state-reasons.imprinter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Storage +msgid "printer-state-reasons.imprinter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Imprinter Removed +msgid "printer-state-reasons.imprinter-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Added +msgid "printer-state-reasons.imprinter-resource-added" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Removed +msgid "printer-state-reasons.imprinter-resource-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Thermistor Failure +msgid "printer-state-reasons.imprinter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Timing Failure +msgid "printer-state-reasons.imprinter-timing-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Turned Off +msgid "printer-state-reasons.imprinter-turned-off" +msgstr "" + +#. TRANSLATORS: Imprinter Turned On +msgid "printer-state-reasons.imprinter-turned-on" +msgstr "" + +#. TRANSLATORS: Imprinter Under Temperature +msgid "printer-state-reasons.imprinter-under-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Failure +msgid "printer-state-reasons.imprinter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Storage Error +msgid "printer-state-reasons.imprinter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Imprinter Warming Up +msgid "printer-state-reasons.imprinter-warming-up" +msgstr "" + +#. TRANSLATORS: Input Cannot Feed Size Selected +msgid "printer-state-reasons.input-cannot-feed-size-selected" +msgstr "" + +#. TRANSLATORS: Input Manual Input Request +msgid "printer-state-reasons.input-manual-input-request" +msgstr "" + +#. TRANSLATORS: Input Media Color Change +msgid "printer-state-reasons.input-media-color-change" +msgstr "" + +#. TRANSLATORS: Input Media Form Parts Change +msgid "printer-state-reasons.input-media-form-parts-change" +msgstr "" + +#. TRANSLATORS: Input Media Size Change +msgid "printer-state-reasons.input-media-size-change" +msgstr "" + +#. TRANSLATORS: Input Media Tray Failure +msgid "printer-state-reasons.input-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Input Media Tray Feed Error +msgid "printer-state-reasons.input-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Input Media Tray Jam +msgid "printer-state-reasons.input-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Input Media Type Change +msgid "printer-state-reasons.input-media-type-change" +msgstr "" + +#. TRANSLATORS: Input Media Weight Change +msgid "printer-state-reasons.input-media-weight-change" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Failure +msgid "printer-state-reasons.input-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Over +msgid "printer-state-reasons.input-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Warn +msgid "printer-state-reasons.input-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Missing +msgid "printer-state-reasons.input-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Elevation Failure +msgid "printer-state-reasons.input-tray-elevation-failure" +msgstr "" + +#. TRANSLATORS: Paper tray is missing +msgid "printer-state-reasons.input-tray-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Position Failure +msgid "printer-state-reasons.input-tray-position-failure" +msgstr "" + +#. TRANSLATORS: Inserter Added +msgid "printer-state-reasons.inserter-added" +msgstr "" + +#. TRANSLATORS: Inserter Almost Empty +msgid "printer-state-reasons.inserter-almost-empty" +msgstr "" + +#. TRANSLATORS: Inserter Almost Full +msgid "printer-state-reasons.inserter-almost-full" +msgstr "" + +#. TRANSLATORS: Inserter At Limit +msgid "printer-state-reasons.inserter-at-limit" +msgstr "" + +#. TRANSLATORS: Inserter Closed +msgid "printer-state-reasons.inserter-closed" +msgstr "" + +#. TRANSLATORS: Inserter Configuration Change +msgid "printer-state-reasons.inserter-configuration-change" +msgstr "" + +#. TRANSLATORS: Inserter Cover Closed +msgid "printer-state-reasons.inserter-cover-closed" +msgstr "" + +#. TRANSLATORS: Inserter Cover Open +msgid "printer-state-reasons.inserter-cover-open" +msgstr "" + +#. TRANSLATORS: Inserter Empty +msgid "printer-state-reasons.inserter-empty" +msgstr "" + +#. TRANSLATORS: Inserter Full +msgid "printer-state-reasons.inserter-full" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Closed +msgid "printer-state-reasons.inserter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Open +msgid "printer-state-reasons.inserter-interlock-open" +msgstr "" + +#. TRANSLATORS: Inserter Jam +msgid "printer-state-reasons.inserter-jam" +msgstr "" + +#. TRANSLATORS: Inserter Life Almost Over +msgid "printer-state-reasons.inserter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Inserter Life Over +msgid "printer-state-reasons.inserter-life-over" +msgstr "" + +#. TRANSLATORS: Inserter Memory Exhausted +msgid "printer-state-reasons.inserter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Inserter Missing +msgid "printer-state-reasons.inserter-missing" +msgstr "" + +#. TRANSLATORS: Inserter Motor Failure +msgid "printer-state-reasons.inserter-motor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Near Limit +msgid "printer-state-reasons.inserter-near-limit" +msgstr "" + +#. TRANSLATORS: Inserter Offline +msgid "printer-state-reasons.inserter-offline" +msgstr "" + +#. TRANSLATORS: Inserter Opened +msgid "printer-state-reasons.inserter-opened" +msgstr "" + +#. TRANSLATORS: Inserter Over Temperature +msgid "printer-state-reasons.inserter-over-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Power Saver +msgid "printer-state-reasons.inserter-power-saver" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Failure +msgid "printer-state-reasons.inserter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Storage +msgid "printer-state-reasons.inserter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Inserter Removed +msgid "printer-state-reasons.inserter-removed" +msgstr "" + +#. TRANSLATORS: Inserter Resource Added +msgid "printer-state-reasons.inserter-resource-added" +msgstr "" + +#. TRANSLATORS: Inserter Resource Removed +msgid "printer-state-reasons.inserter-resource-removed" +msgstr "" + +#. TRANSLATORS: Inserter Thermistor Failure +msgid "printer-state-reasons.inserter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Timing Failure +msgid "printer-state-reasons.inserter-timing-failure" +msgstr "" + +#. TRANSLATORS: Inserter Turned Off +msgid "printer-state-reasons.inserter-turned-off" +msgstr "" + +#. TRANSLATORS: Inserter Turned On +msgid "printer-state-reasons.inserter-turned-on" +msgstr "" + +#. TRANSLATORS: Inserter Under Temperature +msgid "printer-state-reasons.inserter-under-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Failure +msgid "printer-state-reasons.inserter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Storage Error +msgid "printer-state-reasons.inserter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Inserter Warming Up +msgid "printer-state-reasons.inserter-warming-up" +msgstr "" + +#. TRANSLATORS: Interlock Closed +msgid "printer-state-reasons.interlock-closed" +msgstr "" + +#. TRANSLATORS: Interlock Open +msgid "printer-state-reasons.interlock-open" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Added +msgid "printer-state-reasons.interpreter-cartridge-added" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Removed +msgid "printer-state-reasons.interpreter-cartridge-deleted" +msgstr "" + +#. TRANSLATORS: Interpreter Complex Page Encountered +msgid "printer-state-reasons.interpreter-complex-page-encountered" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Decrease +msgid "printer-state-reasons.interpreter-memory-decrease" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Increase +msgid "printer-state-reasons.interpreter-memory-increase" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Added +msgid "printer-state-reasons.interpreter-resource-added" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Deleted +msgid "printer-state-reasons.interpreter-resource-deleted" +msgstr "" + +#. TRANSLATORS: Printer resource unavailable +msgid "printer-state-reasons.interpreter-resource-unavailable" +msgstr "" + +#. TRANSLATORS: Lamp At End of Life +msgid "printer-state-reasons.lamp-at-eol" +msgstr "" + +#. TRANSLATORS: Lamp Failure +msgid "printer-state-reasons.lamp-failure" +msgstr "" + +#. TRANSLATORS: Lamp Near End of Life +msgid "printer-state-reasons.lamp-near-eol" +msgstr "" + +#. TRANSLATORS: Laser At End of Life +msgid "printer-state-reasons.laser-at-eol" +msgstr "" + +#. TRANSLATORS: Laser Failure +msgid "printer-state-reasons.laser-failure" +msgstr "" + +#. TRANSLATORS: Laser Near End of Life +msgid "printer-state-reasons.laser-near-eol" +msgstr "" + +#. TRANSLATORS: Envelope Maker Added +msgid "printer-state-reasons.make-envelope-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Empty +msgid "printer-state-reasons.make-envelope-almost-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Full +msgid "printer-state-reasons.make-envelope-almost-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker At Limit +msgid "printer-state-reasons.make-envelope-at-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Closed +msgid "printer-state-reasons.make-envelope-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Configuration Change +msgid "printer-state-reasons.make-envelope-configuration-change" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Closed +msgid "printer-state-reasons.make-envelope-cover-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Open +msgid "printer-state-reasons.make-envelope-cover-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Empty +msgid "printer-state-reasons.make-envelope-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Full +msgid "printer-state-reasons.make-envelope-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Closed +msgid "printer-state-reasons.make-envelope-interlock-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Open +msgid "printer-state-reasons.make-envelope-interlock-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Jam +msgid "printer-state-reasons.make-envelope-jam" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Almost Over +msgid "printer-state-reasons.make-envelope-life-almost-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Over +msgid "printer-state-reasons.make-envelope-life-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Memory Exhausted +msgid "printer-state-reasons.make-envelope-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Envelope Maker Missing +msgid "printer-state-reasons.make-envelope-missing" +msgstr "" + +#. TRANSLATORS: Envelope Maker Motor Failure +msgid "printer-state-reasons.make-envelope-motor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Near Limit +msgid "printer-state-reasons.make-envelope-near-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Offline +msgid "printer-state-reasons.make-envelope-offline" +msgstr "" + +#. TRANSLATORS: Envelope Maker Opened +msgid "printer-state-reasons.make-envelope-opened" +msgstr "" + +#. TRANSLATORS: Envelope Maker Over Temperature +msgid "printer-state-reasons.make-envelope-over-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Power Saver +msgid "printer-state-reasons.make-envelope-power-saver" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Failure +msgid "printer-state-reasons.make-envelope-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Storage +msgid "printer-state-reasons.make-envelope-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Envelope Maker Removed +msgid "printer-state-reasons.make-envelope-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Added +msgid "printer-state-reasons.make-envelope-resource-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Removed +msgid "printer-state-reasons.make-envelope-resource-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Thermistor Failure +msgid "printer-state-reasons.make-envelope-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Timing Failure +msgid "printer-state-reasons.make-envelope-timing-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned Off +msgid "printer-state-reasons.make-envelope-turned-off" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned On +msgid "printer-state-reasons.make-envelope-turned-on" +msgstr "" + +#. TRANSLATORS: Envelope Maker Under Temperature +msgid "printer-state-reasons.make-envelope-under-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Failure +msgid "printer-state-reasons.make-envelope-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Storage Error +msgid "printer-state-reasons.make-envelope-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Envelope Maker Warming Up +msgid "printer-state-reasons.make-envelope-warming-up" +msgstr "" + +#. TRANSLATORS: Marker Adjusting Print Quality +msgid "printer-state-reasons.marker-adjusting-print-quality" +msgstr "" + +#. TRANSLATORS: Marker Cleaner Missing +msgid "printer-state-reasons.marker-cleaner-missing" +msgstr "" + +#. TRANSLATORS: Marker Developer Almost Empty +msgid "printer-state-reasons.marker-developer-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Empty +msgid "printer-state-reasons.marker-developer-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Missing +msgid "printer-state-reasons.marker-developer-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Missing +msgid "printer-state-reasons.marker-fuser-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Thermistor Failure +msgid "printer-state-reasons.marker-fuser-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Marker Fuser Timing Failure +msgid "printer-state-reasons.marker-fuser-timing-failure" +msgstr "" + +#. TRANSLATORS: Marker Ink Almost Empty +msgid "printer-state-reasons.marker-ink-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Empty +msgid "printer-state-reasons.marker-ink-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Missing +msgid "printer-state-reasons.marker-ink-missing" +msgstr "" + +#. TRANSLATORS: Marker Opc Missing +msgid "printer-state-reasons.marker-opc-missing" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Almost Empty +msgid "printer-state-reasons.marker-print-ribbon-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Empty +msgid "printer-state-reasons.marker-print-ribbon-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Missing +msgid "printer-state-reasons.marker-print-ribbon-missing" +msgstr "" + +#. TRANSLATORS: Marker Supply Almost Empty +msgid "printer-state-reasons.marker-supply-almost-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner empty +msgid "printer-state-reasons.marker-supply-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner low +msgid "printer-state-reasons.marker-supply-low" +msgstr "" + +#. TRANSLATORS: Marker Supply Missing +msgid "printer-state-reasons.marker-supply-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Cartridge Missing +msgid "printer-state-reasons.marker-toner-cartridge-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Missing +msgid "printer-state-reasons.marker-toner-missing" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin almost full +msgid "printer-state-reasons.marker-waste-almost-full" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin full +msgid "printer-state-reasons.marker-waste-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Missing +msgid "printer-state-reasons.marker-waste-ink-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Missing +msgid "printer-state-reasons.marker-waste-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Missing +msgid "printer-state-reasons.marker-waste-toner-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Material Empty +msgid "printer-state-reasons.material-empty" +msgstr "" + +#. TRANSLATORS: Material Low +msgid "printer-state-reasons.material-low" +msgstr "" + +#. TRANSLATORS: Material Needed +msgid "printer-state-reasons.material-needed" +msgstr "" + +#. TRANSLATORS: Media Drying +msgid "printer-state-reasons.media-drying" +msgstr "" + +#. TRANSLATORS: Paper tray is empty +msgid "printer-state-reasons.media-empty" +msgstr "" + +#. TRANSLATORS: Paper jam +msgid "printer-state-reasons.media-jam" +msgstr "" + +#. TRANSLATORS: Paper tray is almost empty +msgid "printer-state-reasons.media-low" +msgstr "" + +#. TRANSLATORS: Load paper +msgid "printer-state-reasons.media-needed" +msgstr "" + +#. TRANSLATORS: Media Path Cannot Do 2-Sided Printing +msgid "printer-state-reasons.media-path-cannot-duplex-media-selected" +msgstr "" + +#. TRANSLATORS: Media Path Failure +msgid "printer-state-reasons.media-path-failure" +msgstr "" + +#. TRANSLATORS: Media Path Input Empty +msgid "printer-state-reasons.media-path-input-empty" +msgstr "" + +#. TRANSLATORS: Media Path Input Feed Error +msgid "printer-state-reasons.media-path-input-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Input Jam +msgid "printer-state-reasons.media-path-input-jam" +msgstr "" + +#. TRANSLATORS: Media Path Input Request +msgid "printer-state-reasons.media-path-input-request" +msgstr "" + +#. TRANSLATORS: Media Path Jam +msgid "printer-state-reasons.media-path-jam" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Almost Full +msgid "printer-state-reasons.media-path-media-tray-almost-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Full +msgid "printer-state-reasons.media-path-media-tray-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Missing +msgid "printer-state-reasons.media-path-media-tray-missing" +msgstr "" + +#. TRANSLATORS: Media Path Output Feed Error +msgid "printer-state-reasons.media-path-output-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Output Full +msgid "printer-state-reasons.media-path-output-full" +msgstr "" + +#. TRANSLATORS: Media Path Output Jam +msgid "printer-state-reasons.media-path-output-jam" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Failure +msgid "printer-state-reasons.media-path-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Over +msgid "printer-state-reasons.media-path-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Warn +msgid "printer-state-reasons.media-path-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Missing +msgid "printer-state-reasons.media-path-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Motor Failure +msgid "printer-state-reasons.motor-failure" +msgstr "" + +#. TRANSLATORS: Printer going offline +msgid "printer-state-reasons.moving-to-paused" +msgstr "" + +#. TRANSLATORS: None +msgid "printer-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Optical Photoconductor Life Over +msgid "printer-state-reasons.opc-life-over" +msgstr "" + +#. TRANSLATORS: OPC almost at end-of-life +msgid "printer-state-reasons.opc-near-eol" +msgstr "" + +#. TRANSLATORS: Check the printer for errors +msgid "printer-state-reasons.other" +msgstr "" + +#. TRANSLATORS: Output bin is almost full +msgid "printer-state-reasons.output-area-almost-full" +msgstr "" + +#. TRANSLATORS: Output bin is full +msgid "printer-state-reasons.output-area-full" +msgstr "" + +#. TRANSLATORS: Output Mailbox Select Failure +msgid "printer-state-reasons.output-mailbox-select-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Failure +msgid "printer-state-reasons.output-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Feed Error +msgid "printer-state-reasons.output-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Output Media Tray Jam +msgid "printer-state-reasons.output-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Output tray is missing +msgid "printer-state-reasons.output-tray-missing" +msgstr "" + +#. TRANSLATORS: Paused +msgid "printer-state-reasons.paused" +msgstr "" + +#. TRANSLATORS: Perforater Added +msgid "printer-state-reasons.perforater-added" +msgstr "" + +#. TRANSLATORS: Perforater Almost Empty +msgid "printer-state-reasons.perforater-almost-empty" +msgstr "" + +#. TRANSLATORS: Perforater Almost Full +msgid "printer-state-reasons.perforater-almost-full" +msgstr "" + +#. TRANSLATORS: Perforater At Limit +msgid "printer-state-reasons.perforater-at-limit" +msgstr "" + +#. TRANSLATORS: Perforater Closed +msgid "printer-state-reasons.perforater-closed" +msgstr "" + +#. TRANSLATORS: Perforater Configuration Change +msgid "printer-state-reasons.perforater-configuration-change" +msgstr "" + +#. TRANSLATORS: Perforater Cover Closed +msgid "printer-state-reasons.perforater-cover-closed" +msgstr "" + +#. TRANSLATORS: Perforater Cover Open +msgid "printer-state-reasons.perforater-cover-open" +msgstr "" + +#. TRANSLATORS: Perforater Empty +msgid "printer-state-reasons.perforater-empty" +msgstr "" + +#. TRANSLATORS: Perforater Full +msgid "printer-state-reasons.perforater-full" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Closed +msgid "printer-state-reasons.perforater-interlock-closed" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Open +msgid "printer-state-reasons.perforater-interlock-open" +msgstr "" + +#. TRANSLATORS: Perforater Jam +msgid "printer-state-reasons.perforater-jam" +msgstr "" + +#. TRANSLATORS: Perforater Life Almost Over +msgid "printer-state-reasons.perforater-life-almost-over" +msgstr "" + +#. TRANSLATORS: Perforater Life Over +msgid "printer-state-reasons.perforater-life-over" +msgstr "" + +#. TRANSLATORS: Perforater Memory Exhausted +msgid "printer-state-reasons.perforater-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Perforater Missing +msgid "printer-state-reasons.perforater-missing" +msgstr "" + +#. TRANSLATORS: Perforater Motor Failure +msgid "printer-state-reasons.perforater-motor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Near Limit +msgid "printer-state-reasons.perforater-near-limit" +msgstr "" + +#. TRANSLATORS: Perforater Offline +msgid "printer-state-reasons.perforater-offline" +msgstr "" + +#. TRANSLATORS: Perforater Opened +msgid "printer-state-reasons.perforater-opened" +msgstr "" + +#. TRANSLATORS: Perforater Over Temperature +msgid "printer-state-reasons.perforater-over-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Power Saver +msgid "printer-state-reasons.perforater-power-saver" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Failure +msgid "printer-state-reasons.perforater-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Storage +msgid "printer-state-reasons.perforater-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Perforater Removed +msgid "printer-state-reasons.perforater-removed" +msgstr "" + +#. TRANSLATORS: Perforater Resource Added +msgid "printer-state-reasons.perforater-resource-added" +msgstr "" + +#. TRANSLATORS: Perforater Resource Removed +msgid "printer-state-reasons.perforater-resource-removed" +msgstr "" + +#. TRANSLATORS: Perforater Thermistor Failure +msgid "printer-state-reasons.perforater-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Timing Failure +msgid "printer-state-reasons.perforater-timing-failure" +msgstr "" + +#. TRANSLATORS: Perforater Turned Off +msgid "printer-state-reasons.perforater-turned-off" +msgstr "" + +#. TRANSLATORS: Perforater Turned On +msgid "printer-state-reasons.perforater-turned-on" +msgstr "" + +#. TRANSLATORS: Perforater Under Temperature +msgid "printer-state-reasons.perforater-under-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Failure +msgid "printer-state-reasons.perforater-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Storage Error +msgid "printer-state-reasons.perforater-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Perforater Warming Up +msgid "printer-state-reasons.perforater-warming-up" +msgstr "" + +#. TRANSLATORS: Platform Cooling +msgid "printer-state-reasons.platform-cooling" +msgstr "" + +#. TRANSLATORS: Platform Failure +msgid "printer-state-reasons.platform-failure" +msgstr "" + +#. TRANSLATORS: Platform Heating +msgid "printer-state-reasons.platform-heating" +msgstr "" + +#. TRANSLATORS: Platform Temperature High +msgid "printer-state-reasons.platform-temperature-high" +msgstr "" + +#. TRANSLATORS: Platform Temperature Low +msgid "printer-state-reasons.platform-temperature-low" +msgstr "" + +#. TRANSLATORS: Power Down +msgid "printer-state-reasons.power-down" +msgstr "" + +#. TRANSLATORS: Power Up +msgid "printer-state-reasons.power-up" +msgstr "" + +#. TRANSLATORS: Printer Reset Manually +msgid "printer-state-reasons.printer-manual-reset" +msgstr "" + +#. TRANSLATORS: Printer Reset Remotely +msgid "printer-state-reasons.printer-nms-reset" +msgstr "" + +#. TRANSLATORS: Printer Ready To Print +msgid "printer-state-reasons.printer-ready-to-print" +msgstr "" + +#. TRANSLATORS: Puncher Added +msgid "printer-state-reasons.puncher-added" +msgstr "" + +#. TRANSLATORS: Puncher Almost Empty +msgid "printer-state-reasons.puncher-almost-empty" +msgstr "" + +#. TRANSLATORS: Puncher Almost Full +msgid "printer-state-reasons.puncher-almost-full" +msgstr "" + +#. TRANSLATORS: Puncher At Limit +msgid "printer-state-reasons.puncher-at-limit" +msgstr "" + +#. TRANSLATORS: Puncher Closed +msgid "printer-state-reasons.puncher-closed" +msgstr "" + +#. TRANSLATORS: Puncher Configuration Change +msgid "printer-state-reasons.puncher-configuration-change" +msgstr "" + +#. TRANSLATORS: Puncher Cover Closed +msgid "printer-state-reasons.puncher-cover-closed" +msgstr "" + +#. TRANSLATORS: Puncher Cover Open +msgid "printer-state-reasons.puncher-cover-open" +msgstr "" + +#. TRANSLATORS: Puncher Empty +msgid "printer-state-reasons.puncher-empty" +msgstr "" + +#. TRANSLATORS: Puncher Full +msgid "printer-state-reasons.puncher-full" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Closed +msgid "printer-state-reasons.puncher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Open +msgid "printer-state-reasons.puncher-interlock-open" +msgstr "" + +#. TRANSLATORS: Puncher Jam +msgid "printer-state-reasons.puncher-jam" +msgstr "" + +#. TRANSLATORS: Puncher Life Almost Over +msgid "printer-state-reasons.puncher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Puncher Life Over +msgid "printer-state-reasons.puncher-life-over" +msgstr "" + +#. TRANSLATORS: Puncher Memory Exhausted +msgid "printer-state-reasons.puncher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Puncher Missing +msgid "printer-state-reasons.puncher-missing" +msgstr "" + +#. TRANSLATORS: Puncher Motor Failure +msgid "printer-state-reasons.puncher-motor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Near Limit +msgid "printer-state-reasons.puncher-near-limit" +msgstr "" + +#. TRANSLATORS: Puncher Offline +msgid "printer-state-reasons.puncher-offline" +msgstr "" + +#. TRANSLATORS: Puncher Opened +msgid "printer-state-reasons.puncher-opened" +msgstr "" + +#. TRANSLATORS: Puncher Over Temperature +msgid "printer-state-reasons.puncher-over-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Power Saver +msgid "printer-state-reasons.puncher-power-saver" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Failure +msgid "printer-state-reasons.puncher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Storage +msgid "printer-state-reasons.puncher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Puncher Removed +msgid "printer-state-reasons.puncher-removed" +msgstr "" + +#. TRANSLATORS: Puncher Resource Added +msgid "printer-state-reasons.puncher-resource-added" +msgstr "" + +#. TRANSLATORS: Puncher Resource Removed +msgid "printer-state-reasons.puncher-resource-removed" +msgstr "" + +#. TRANSLATORS: Puncher Thermistor Failure +msgid "printer-state-reasons.puncher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Timing Failure +msgid "printer-state-reasons.puncher-timing-failure" +msgstr "" + +#. TRANSLATORS: Puncher Turned Off +msgid "printer-state-reasons.puncher-turned-off" +msgstr "" + +#. TRANSLATORS: Puncher Turned On +msgid "printer-state-reasons.puncher-turned-on" +msgstr "" + +#. TRANSLATORS: Puncher Under Temperature +msgid "printer-state-reasons.puncher-under-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Failure +msgid "printer-state-reasons.puncher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Storage Error +msgid "printer-state-reasons.puncher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Puncher Warming Up +msgid "printer-state-reasons.puncher-warming-up" +msgstr "" + +#. TRANSLATORS: Separation Cutter Added +msgid "printer-state-reasons.separation-cutter-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Empty +msgid "printer-state-reasons.separation-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Full +msgid "printer-state-reasons.separation-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter At Limit +msgid "printer-state-reasons.separation-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Closed +msgid "printer-state-reasons.separation-cutter-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Configuration Change +msgid "printer-state-reasons.separation-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Closed +msgid "printer-state-reasons.separation-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Open +msgid "printer-state-reasons.separation-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Empty +msgid "printer-state-reasons.separation-cutter-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Full +msgid "printer-state-reasons.separation-cutter-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Closed +msgid "printer-state-reasons.separation-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Open +msgid "printer-state-reasons.separation-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Jam +msgid "printer-state-reasons.separation-cutter-jam" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Almost Over +msgid "printer-state-reasons.separation-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Over +msgid "printer-state-reasons.separation-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Memory Exhausted +msgid "printer-state-reasons.separation-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Separation Cutter Missing +msgid "printer-state-reasons.separation-cutter-missing" +msgstr "" + +#. TRANSLATORS: Separation Cutter Motor Failure +msgid "printer-state-reasons.separation-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Near Limit +msgid "printer-state-reasons.separation-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Offline +msgid "printer-state-reasons.separation-cutter-offline" +msgstr "" + +#. TRANSLATORS: Separation Cutter Opened +msgid "printer-state-reasons.separation-cutter-opened" +msgstr "" + +#. TRANSLATORS: Separation Cutter Over Temperature +msgid "printer-state-reasons.separation-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Power Saver +msgid "printer-state-reasons.separation-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Failure +msgid "printer-state-reasons.separation-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Storage +msgid "printer-state-reasons.separation-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Separation Cutter Removed +msgid "printer-state-reasons.separation-cutter-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Added +msgid "printer-state-reasons.separation-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Removed +msgid "printer-state-reasons.separation-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Thermistor Failure +msgid "printer-state-reasons.separation-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Timing Failure +msgid "printer-state-reasons.separation-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned Off +msgid "printer-state-reasons.separation-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned On +msgid "printer-state-reasons.separation-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Separation Cutter Under Temperature +msgid "printer-state-reasons.separation-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Failure +msgid "printer-state-reasons.separation-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.separation-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Separation Cutter Warming Up +msgid "printer-state-reasons.separation-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Added +msgid "printer-state-reasons.sheet-rotator-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Empty +msgid "printer-state-reasons.sheet-rotator-almost-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Full +msgid "printer-state-reasons.sheet-rotator-almost-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator At Limit +msgid "printer-state-reasons.sheet-rotator-at-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Closed +msgid "printer-state-reasons.sheet-rotator-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Configuration Change +msgid "printer-state-reasons.sheet-rotator-configuration-change" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Closed +msgid "printer-state-reasons.sheet-rotator-cover-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Open +msgid "printer-state-reasons.sheet-rotator-cover-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Empty +msgid "printer-state-reasons.sheet-rotator-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Full +msgid "printer-state-reasons.sheet-rotator-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Closed +msgid "printer-state-reasons.sheet-rotator-interlock-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Open +msgid "printer-state-reasons.sheet-rotator-interlock-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Jam +msgid "printer-state-reasons.sheet-rotator-jam" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Almost Over +msgid "printer-state-reasons.sheet-rotator-life-almost-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Over +msgid "printer-state-reasons.sheet-rotator-life-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Memory Exhausted +msgid "printer-state-reasons.sheet-rotator-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Missing +msgid "printer-state-reasons.sheet-rotator-missing" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Motor Failure +msgid "printer-state-reasons.sheet-rotator-motor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Near Limit +msgid "printer-state-reasons.sheet-rotator-near-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Offline +msgid "printer-state-reasons.sheet-rotator-offline" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Opened +msgid "printer-state-reasons.sheet-rotator-opened" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Over Temperature +msgid "printer-state-reasons.sheet-rotator-over-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Power Saver +msgid "printer-state-reasons.sheet-rotator-power-saver" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Failure +msgid "printer-state-reasons.sheet-rotator-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Storage +msgid "printer-state-reasons.sheet-rotator-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Removed +msgid "printer-state-reasons.sheet-rotator-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Added +msgid "printer-state-reasons.sheet-rotator-resource-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Removed +msgid "printer-state-reasons.sheet-rotator-resource-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Thermistor Failure +msgid "printer-state-reasons.sheet-rotator-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Timing Failure +msgid "printer-state-reasons.sheet-rotator-timing-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned Off +msgid "printer-state-reasons.sheet-rotator-turned-off" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned On +msgid "printer-state-reasons.sheet-rotator-turned-on" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Under Temperature +msgid "printer-state-reasons.sheet-rotator-under-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Failure +msgid "printer-state-reasons.sheet-rotator-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +msgid "printer-state-reasons.sheet-rotator-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Warming Up +msgid "printer-state-reasons.sheet-rotator-warming-up" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "printer-state-reasons.shutdown" +msgstr "" + +#. TRANSLATORS: Slitter Added +msgid "printer-state-reasons.slitter-added" +msgstr "" + +#. TRANSLATORS: Slitter Almost Empty +msgid "printer-state-reasons.slitter-almost-empty" +msgstr "" + +#. TRANSLATORS: Slitter Almost Full +msgid "printer-state-reasons.slitter-almost-full" +msgstr "" + +#. TRANSLATORS: Slitter At Limit +msgid "printer-state-reasons.slitter-at-limit" +msgstr "" + +#. TRANSLATORS: Slitter Closed +msgid "printer-state-reasons.slitter-closed" +msgstr "" + +#. TRANSLATORS: Slitter Configuration Change +msgid "printer-state-reasons.slitter-configuration-change" +msgstr "" + +#. TRANSLATORS: Slitter Cover Closed +msgid "printer-state-reasons.slitter-cover-closed" +msgstr "" + +#. TRANSLATORS: Slitter Cover Open +msgid "printer-state-reasons.slitter-cover-open" +msgstr "" + +#. TRANSLATORS: Slitter Empty +msgid "printer-state-reasons.slitter-empty" +msgstr "" + +#. TRANSLATORS: Slitter Full +msgid "printer-state-reasons.slitter-full" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Closed +msgid "printer-state-reasons.slitter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Open +msgid "printer-state-reasons.slitter-interlock-open" +msgstr "" + +#. TRANSLATORS: Slitter Jam +msgid "printer-state-reasons.slitter-jam" +msgstr "" + +#. TRANSLATORS: Slitter Life Almost Over +msgid "printer-state-reasons.slitter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Slitter Life Over +msgid "printer-state-reasons.slitter-life-over" +msgstr "" + +#. TRANSLATORS: Slitter Memory Exhausted +msgid "printer-state-reasons.slitter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Slitter Missing +msgid "printer-state-reasons.slitter-missing" +msgstr "" + +#. TRANSLATORS: Slitter Motor Failure +msgid "printer-state-reasons.slitter-motor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Near Limit +msgid "printer-state-reasons.slitter-near-limit" +msgstr "" + +#. TRANSLATORS: Slitter Offline +msgid "printer-state-reasons.slitter-offline" +msgstr "" + +#. TRANSLATORS: Slitter Opened +msgid "printer-state-reasons.slitter-opened" +msgstr "" + +#. TRANSLATORS: Slitter Over Temperature +msgid "printer-state-reasons.slitter-over-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Power Saver +msgid "printer-state-reasons.slitter-power-saver" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Failure +msgid "printer-state-reasons.slitter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Storage +msgid "printer-state-reasons.slitter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Slitter Removed +msgid "printer-state-reasons.slitter-removed" +msgstr "" + +#. TRANSLATORS: Slitter Resource Added +msgid "printer-state-reasons.slitter-resource-added" +msgstr "" + +#. TRANSLATORS: Slitter Resource Removed +msgid "printer-state-reasons.slitter-resource-removed" +msgstr "" + +#. TRANSLATORS: Slitter Thermistor Failure +msgid "printer-state-reasons.slitter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Timing Failure +msgid "printer-state-reasons.slitter-timing-failure" +msgstr "" + +#. TRANSLATORS: Slitter Turned Off +msgid "printer-state-reasons.slitter-turned-off" +msgstr "" + +#. TRANSLATORS: Slitter Turned On +msgid "printer-state-reasons.slitter-turned-on" +msgstr "" + +#. TRANSLATORS: Slitter Under Temperature +msgid "printer-state-reasons.slitter-under-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Failure +msgid "printer-state-reasons.slitter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Storage Error +msgid "printer-state-reasons.slitter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Slitter Warming Up +msgid "printer-state-reasons.slitter-warming-up" +msgstr "" + +#. TRANSLATORS: Spool Area Full +msgid "printer-state-reasons.spool-area-full" +msgstr "" + +#. TRANSLATORS: Stacker Added +msgid "printer-state-reasons.stacker-added" +msgstr "" + +#. TRANSLATORS: Stacker Almost Empty +msgid "printer-state-reasons.stacker-almost-empty" +msgstr "" + +#. TRANSLATORS: Stacker Almost Full +msgid "printer-state-reasons.stacker-almost-full" +msgstr "" + +#. TRANSLATORS: Stacker At Limit +msgid "printer-state-reasons.stacker-at-limit" +msgstr "" + +#. TRANSLATORS: Stacker Closed +msgid "printer-state-reasons.stacker-closed" +msgstr "" + +#. TRANSLATORS: Stacker Configuration Change +msgid "printer-state-reasons.stacker-configuration-change" +msgstr "" + +#. TRANSLATORS: Stacker Cover Closed +msgid "printer-state-reasons.stacker-cover-closed" +msgstr "" + +#. TRANSLATORS: Stacker Cover Open +msgid "printer-state-reasons.stacker-cover-open" +msgstr "" + +#. TRANSLATORS: Stacker Empty +msgid "printer-state-reasons.stacker-empty" +msgstr "" + +#. TRANSLATORS: Stacker Full +msgid "printer-state-reasons.stacker-full" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Closed +msgid "printer-state-reasons.stacker-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Open +msgid "printer-state-reasons.stacker-interlock-open" +msgstr "" + +#. TRANSLATORS: Stacker Jam +msgid "printer-state-reasons.stacker-jam" +msgstr "" + +#. TRANSLATORS: Stacker Life Almost Over +msgid "printer-state-reasons.stacker-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stacker Life Over +msgid "printer-state-reasons.stacker-life-over" +msgstr "" + +#. TRANSLATORS: Stacker Memory Exhausted +msgid "printer-state-reasons.stacker-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stacker Missing +msgid "printer-state-reasons.stacker-missing" +msgstr "" + +#. TRANSLATORS: Stacker Motor Failure +msgid "printer-state-reasons.stacker-motor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Near Limit +msgid "printer-state-reasons.stacker-near-limit" +msgstr "" + +#. TRANSLATORS: Stacker Offline +msgid "printer-state-reasons.stacker-offline" +msgstr "" + +#. TRANSLATORS: Stacker Opened +msgid "printer-state-reasons.stacker-opened" +msgstr "" + +#. TRANSLATORS: Stacker Over Temperature +msgid "printer-state-reasons.stacker-over-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Power Saver +msgid "printer-state-reasons.stacker-power-saver" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Failure +msgid "printer-state-reasons.stacker-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Storage +msgid "printer-state-reasons.stacker-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stacker Removed +msgid "printer-state-reasons.stacker-removed" +msgstr "" + +#. TRANSLATORS: Stacker Resource Added +msgid "printer-state-reasons.stacker-resource-added" +msgstr "" + +#. TRANSLATORS: Stacker Resource Removed +msgid "printer-state-reasons.stacker-resource-removed" +msgstr "" + +#. TRANSLATORS: Stacker Thermistor Failure +msgid "printer-state-reasons.stacker-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Timing Failure +msgid "printer-state-reasons.stacker-timing-failure" +msgstr "" + +#. TRANSLATORS: Stacker Turned Off +msgid "printer-state-reasons.stacker-turned-off" +msgstr "" + +#. TRANSLATORS: Stacker Turned On +msgid "printer-state-reasons.stacker-turned-on" +msgstr "" + +#. TRANSLATORS: Stacker Under Temperature +msgid "printer-state-reasons.stacker-under-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Failure +msgid "printer-state-reasons.stacker-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Storage Error +msgid "printer-state-reasons.stacker-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stacker Warming Up +msgid "printer-state-reasons.stacker-warming-up" +msgstr "" + +#. TRANSLATORS: Stapler Added +msgid "printer-state-reasons.stapler-added" +msgstr "" + +#. TRANSLATORS: Stapler Almost Empty +msgid "printer-state-reasons.stapler-almost-empty" +msgstr "" + +#. TRANSLATORS: Stapler Almost Full +msgid "printer-state-reasons.stapler-almost-full" +msgstr "" + +#. TRANSLATORS: Stapler At Limit +msgid "printer-state-reasons.stapler-at-limit" +msgstr "" + +#. TRANSLATORS: Stapler Closed +msgid "printer-state-reasons.stapler-closed" +msgstr "" + +#. TRANSLATORS: Stapler Configuration Change +msgid "printer-state-reasons.stapler-configuration-change" +msgstr "" + +#. TRANSLATORS: Stapler Cover Closed +msgid "printer-state-reasons.stapler-cover-closed" +msgstr "" + +#. TRANSLATORS: Stapler Cover Open +msgid "printer-state-reasons.stapler-cover-open" +msgstr "" + +#. TRANSLATORS: Stapler Empty +msgid "printer-state-reasons.stapler-empty" +msgstr "" + +#. TRANSLATORS: Stapler Full +msgid "printer-state-reasons.stapler-full" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Closed +msgid "printer-state-reasons.stapler-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Open +msgid "printer-state-reasons.stapler-interlock-open" +msgstr "" + +#. TRANSLATORS: Stapler Jam +msgid "printer-state-reasons.stapler-jam" +msgstr "" + +#. TRANSLATORS: Stapler Life Almost Over +msgid "printer-state-reasons.stapler-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stapler Life Over +msgid "printer-state-reasons.stapler-life-over" +msgstr "" + +#. TRANSLATORS: Stapler Memory Exhausted +msgid "printer-state-reasons.stapler-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stapler Missing +msgid "printer-state-reasons.stapler-missing" +msgstr "" + +#. TRANSLATORS: Stapler Motor Failure +msgid "printer-state-reasons.stapler-motor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Near Limit +msgid "printer-state-reasons.stapler-near-limit" +msgstr "" + +#. TRANSLATORS: Stapler Offline +msgid "printer-state-reasons.stapler-offline" +msgstr "" + +#. TRANSLATORS: Stapler Opened +msgid "printer-state-reasons.stapler-opened" +msgstr "" + +#. TRANSLATORS: Stapler Over Temperature +msgid "printer-state-reasons.stapler-over-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Power Saver +msgid "printer-state-reasons.stapler-power-saver" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Failure +msgid "printer-state-reasons.stapler-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Storage +msgid "printer-state-reasons.stapler-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stapler Removed +msgid "printer-state-reasons.stapler-removed" +msgstr "" + +#. TRANSLATORS: Stapler Resource Added +msgid "printer-state-reasons.stapler-resource-added" +msgstr "" + +#. TRANSLATORS: Stapler Resource Removed +msgid "printer-state-reasons.stapler-resource-removed" +msgstr "" + +#. TRANSLATORS: Stapler Thermistor Failure +msgid "printer-state-reasons.stapler-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Timing Failure +msgid "printer-state-reasons.stapler-timing-failure" +msgstr "" + +#. TRANSLATORS: Stapler Turned Off +msgid "printer-state-reasons.stapler-turned-off" +msgstr "" + +#. TRANSLATORS: Stapler Turned On +msgid "printer-state-reasons.stapler-turned-on" +msgstr "" + +#. TRANSLATORS: Stapler Under Temperature +msgid "printer-state-reasons.stapler-under-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Failure +msgid "printer-state-reasons.stapler-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Storage Error +msgid "printer-state-reasons.stapler-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stapler Warming Up +msgid "printer-state-reasons.stapler-warming-up" +msgstr "" + +#. TRANSLATORS: Stitcher Added +msgid "printer-state-reasons.stitcher-added" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Empty +msgid "printer-state-reasons.stitcher-almost-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Full +msgid "printer-state-reasons.stitcher-almost-full" +msgstr "" + +#. TRANSLATORS: Stitcher At Limit +msgid "printer-state-reasons.stitcher-at-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Closed +msgid "printer-state-reasons.stitcher-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Configuration Change +msgid "printer-state-reasons.stitcher-configuration-change" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Closed +msgid "printer-state-reasons.stitcher-cover-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Open +msgid "printer-state-reasons.stitcher-cover-open" +msgstr "" + +#. TRANSLATORS: Stitcher Empty +msgid "printer-state-reasons.stitcher-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Full +msgid "printer-state-reasons.stitcher-full" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Closed +msgid "printer-state-reasons.stitcher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Open +msgid "printer-state-reasons.stitcher-interlock-open" +msgstr "" + +#. TRANSLATORS: Stitcher Jam +msgid "printer-state-reasons.stitcher-jam" +msgstr "" + +#. TRANSLATORS: Stitcher Life Almost Over +msgid "printer-state-reasons.stitcher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stitcher Life Over +msgid "printer-state-reasons.stitcher-life-over" +msgstr "" + +#. TRANSLATORS: Stitcher Memory Exhausted +msgid "printer-state-reasons.stitcher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stitcher Missing +msgid "printer-state-reasons.stitcher-missing" +msgstr "" + +#. TRANSLATORS: Stitcher Motor Failure +msgid "printer-state-reasons.stitcher-motor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Near Limit +msgid "printer-state-reasons.stitcher-near-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Offline +msgid "printer-state-reasons.stitcher-offline" +msgstr "" + +#. TRANSLATORS: Stitcher Opened +msgid "printer-state-reasons.stitcher-opened" +msgstr "" + +#. TRANSLATORS: Stitcher Over Temperature +msgid "printer-state-reasons.stitcher-over-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Power Saver +msgid "printer-state-reasons.stitcher-power-saver" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Failure +msgid "printer-state-reasons.stitcher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Storage +msgid "printer-state-reasons.stitcher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stitcher Removed +msgid "printer-state-reasons.stitcher-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Added +msgid "printer-state-reasons.stitcher-resource-added" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Removed +msgid "printer-state-reasons.stitcher-resource-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Thermistor Failure +msgid "printer-state-reasons.stitcher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Timing Failure +msgid "printer-state-reasons.stitcher-timing-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Turned Off +msgid "printer-state-reasons.stitcher-turned-off" +msgstr "" + +#. TRANSLATORS: Stitcher Turned On +msgid "printer-state-reasons.stitcher-turned-on" +msgstr "" + +#. TRANSLATORS: Stitcher Under Temperature +msgid "printer-state-reasons.stitcher-under-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Failure +msgid "printer-state-reasons.stitcher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Storage Error +msgid "printer-state-reasons.stitcher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stitcher Warming Up +msgid "printer-state-reasons.stitcher-warming-up" +msgstr "" + +#. TRANSLATORS: Partially stopped +msgid "printer-state-reasons.stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "printer-state-reasons.stopping" +msgstr "" + +#. TRANSLATORS: Subunit Added +msgid "printer-state-reasons.subunit-added" +msgstr "" + +#. TRANSLATORS: Subunit Almost Empty +msgid "printer-state-reasons.subunit-almost-empty" +msgstr "" + +#. TRANSLATORS: Subunit Almost Full +msgid "printer-state-reasons.subunit-almost-full" +msgstr "" + +#. TRANSLATORS: Subunit At Limit +msgid "printer-state-reasons.subunit-at-limit" +msgstr "" + +#. TRANSLATORS: Subunit Closed +msgid "printer-state-reasons.subunit-closed" +msgstr "" + +#. TRANSLATORS: Subunit Cooling Down +msgid "printer-state-reasons.subunit-cooling-down" +msgstr "" + +#. TRANSLATORS: Subunit Empty +msgid "printer-state-reasons.subunit-empty" +msgstr "" + +#. TRANSLATORS: Subunit Full +msgid "printer-state-reasons.subunit-full" +msgstr "" + +#. TRANSLATORS: Subunit Life Almost Over +msgid "printer-state-reasons.subunit-life-almost-over" +msgstr "" + +#. TRANSLATORS: Subunit Life Over +msgid "printer-state-reasons.subunit-life-over" +msgstr "" + +#. TRANSLATORS: Subunit Memory Exhausted +msgid "printer-state-reasons.subunit-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Subunit Missing +msgid "printer-state-reasons.subunit-missing" +msgstr "" + +#. TRANSLATORS: Subunit Motor Failure +msgid "printer-state-reasons.subunit-motor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Near Limit +msgid "printer-state-reasons.subunit-near-limit" +msgstr "" + +#. TRANSLATORS: Subunit Offline +msgid "printer-state-reasons.subunit-offline" +msgstr "" + +#. TRANSLATORS: Subunit Opened +msgid "printer-state-reasons.subunit-opened" +msgstr "" + +#. TRANSLATORS: Subunit Over Temperature +msgid "printer-state-reasons.subunit-over-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Power Saver +msgid "printer-state-reasons.subunit-power-saver" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Failure +msgid "printer-state-reasons.subunit-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Storage +msgid "printer-state-reasons.subunit-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Removed +msgid "printer-state-reasons.subunit-removed" +msgstr "" + +#. TRANSLATORS: Subunit Resource Added +msgid "printer-state-reasons.subunit-resource-added" +msgstr "" + +#. TRANSLATORS: Subunit Resource Removed +msgid "printer-state-reasons.subunit-resource-removed" +msgstr "" + +#. TRANSLATORS: Subunit Thermistor Failure +msgid "printer-state-reasons.subunit-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Timing Failure +msgid "printer-state-reasons.subunit-timing-Failure" +msgstr "" + +#. TRANSLATORS: Subunit Turned Off +msgid "printer-state-reasons.subunit-turned-off" +msgstr "" + +#. TRANSLATORS: Subunit Turned On +msgid "printer-state-reasons.subunit-turned-on" +msgstr "" + +#. TRANSLATORS: Subunit Under Temperature +msgid "printer-state-reasons.subunit-under-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Failure +msgid "printer-state-reasons.subunit-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Storage +msgid "printer-state-reasons.subunit-unrecoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Warming Up +msgid "printer-state-reasons.subunit-warming-up" +msgstr "" + +#. TRANSLATORS: Printer stopped responding +msgid "printer-state-reasons.timed-out" +msgstr "" + +#. TRANSLATORS: Out of toner +msgid "printer-state-reasons.toner-empty" +msgstr "" + +#. TRANSLATORS: Toner low +msgid "printer-state-reasons.toner-low" +msgstr "" + +#. TRANSLATORS: Trimmer Added +msgid "printer-state-reasons.trimmer-added" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Empty +msgid "printer-state-reasons.trimmer-almost-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Full +msgid "printer-state-reasons.trimmer-almost-full" +msgstr "" + +#. TRANSLATORS: Trimmer At Limit +msgid "printer-state-reasons.trimmer-at-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Closed +msgid "printer-state-reasons.trimmer-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Configuration Change +msgid "printer-state-reasons.trimmer-configuration-change" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Closed +msgid "printer-state-reasons.trimmer-cover-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Open +msgid "printer-state-reasons.trimmer-cover-open" +msgstr "" + +#. TRANSLATORS: Trimmer Empty +msgid "printer-state-reasons.trimmer-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Full +msgid "printer-state-reasons.trimmer-full" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Closed +msgid "printer-state-reasons.trimmer-interlock-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Open +msgid "printer-state-reasons.trimmer-interlock-open" +msgstr "" + +#. TRANSLATORS: Trimmer Jam +msgid "printer-state-reasons.trimmer-jam" +msgstr "" + +#. TRANSLATORS: Trimmer Life Almost Over +msgid "printer-state-reasons.trimmer-life-almost-over" +msgstr "" + +#. TRANSLATORS: Trimmer Life Over +msgid "printer-state-reasons.trimmer-life-over" +msgstr "" + +#. TRANSLATORS: Trimmer Memory Exhausted +msgid "printer-state-reasons.trimmer-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Trimmer Missing +msgid "printer-state-reasons.trimmer-missing" +msgstr "" + +#. TRANSLATORS: Trimmer Motor Failure +msgid "printer-state-reasons.trimmer-motor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Near Limit +msgid "printer-state-reasons.trimmer-near-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Offline +msgid "printer-state-reasons.trimmer-offline" +msgstr "" + +#. TRANSLATORS: Trimmer Opened +msgid "printer-state-reasons.trimmer-opened" +msgstr "" + +#. TRANSLATORS: Trimmer Over Temperature +msgid "printer-state-reasons.trimmer-over-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Power Saver +msgid "printer-state-reasons.trimmer-power-saver" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Failure +msgid "printer-state-reasons.trimmer-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Storage +msgid "printer-state-reasons.trimmer-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Trimmer Removed +msgid "printer-state-reasons.trimmer-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Added +msgid "printer-state-reasons.trimmer-resource-added" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Removed +msgid "printer-state-reasons.trimmer-resource-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Thermistor Failure +msgid "printer-state-reasons.trimmer-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Timing Failure +msgid "printer-state-reasons.trimmer-timing-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Turned Off +msgid "printer-state-reasons.trimmer-turned-off" +msgstr "" + +#. TRANSLATORS: Trimmer Turned On +msgid "printer-state-reasons.trimmer-turned-on" +msgstr "" + +#. TRANSLATORS: Trimmer Under Temperature +msgid "printer-state-reasons.trimmer-under-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Failure +msgid "printer-state-reasons.trimmer-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Storage Error +msgid "printer-state-reasons.trimmer-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Trimmer Warming Up +msgid "printer-state-reasons.trimmer-warming-up" +msgstr "" + +#. TRANSLATORS: Unknown +msgid "printer-state-reasons.unknown" +msgstr "" + +#. TRANSLATORS: Wrapper Added +msgid "printer-state-reasons.wrapper-added" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Empty +msgid "printer-state-reasons.wrapper-almost-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Full +msgid "printer-state-reasons.wrapper-almost-full" +msgstr "" + +#. TRANSLATORS: Wrapper At Limit +msgid "printer-state-reasons.wrapper-at-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Closed +msgid "printer-state-reasons.wrapper-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Configuration Change +msgid "printer-state-reasons.wrapper-configuration-change" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Closed +msgid "printer-state-reasons.wrapper-cover-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Open +msgid "printer-state-reasons.wrapper-cover-open" +msgstr "" + +#. TRANSLATORS: Wrapper Empty +msgid "printer-state-reasons.wrapper-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Full +msgid "printer-state-reasons.wrapper-full" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Closed +msgid "printer-state-reasons.wrapper-interlock-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Open +msgid "printer-state-reasons.wrapper-interlock-open" +msgstr "" + +#. TRANSLATORS: Wrapper Jam +msgid "printer-state-reasons.wrapper-jam" +msgstr "" + +#. TRANSLATORS: Wrapper Life Almost Over +msgid "printer-state-reasons.wrapper-life-almost-over" +msgstr "" + +#. TRANSLATORS: Wrapper Life Over +msgid "printer-state-reasons.wrapper-life-over" +msgstr "" + +#. TRANSLATORS: Wrapper Memory Exhausted +msgid "printer-state-reasons.wrapper-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Wrapper Missing +msgid "printer-state-reasons.wrapper-missing" +msgstr "" + +#. TRANSLATORS: Wrapper Motor Failure +msgid "printer-state-reasons.wrapper-motor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Near Limit +msgid "printer-state-reasons.wrapper-near-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Offline +msgid "printer-state-reasons.wrapper-offline" +msgstr "" + +#. TRANSLATORS: Wrapper Opened +msgid "printer-state-reasons.wrapper-opened" +msgstr "" + +#. TRANSLATORS: Wrapper Over Temperature +msgid "printer-state-reasons.wrapper-over-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Power Saver +msgid "printer-state-reasons.wrapper-power-saver" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Failure +msgid "printer-state-reasons.wrapper-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Storage +msgid "printer-state-reasons.wrapper-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Wrapper Removed +msgid "printer-state-reasons.wrapper-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Added +msgid "printer-state-reasons.wrapper-resource-added" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Removed +msgid "printer-state-reasons.wrapper-resource-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Thermistor Failure +msgid "printer-state-reasons.wrapper-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Timing Failure +msgid "printer-state-reasons.wrapper-timing-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Turned Off +msgid "printer-state-reasons.wrapper-turned-off" +msgstr "" + +#. TRANSLATORS: Wrapper Turned On +msgid "printer-state-reasons.wrapper-turned-on" +msgstr "" + +#. TRANSLATORS: Wrapper Under Temperature +msgid "printer-state-reasons.wrapper-under-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Failure +msgid "printer-state-reasons.wrapper-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Storage Error +msgid "printer-state-reasons.wrapper-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Wrapper Warming Up +msgid "printer-state-reasons.wrapper-warming-up" +msgstr "" + +#. TRANSLATORS: Idle +msgid "printer-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "printer-state.4" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "printer-state.5" +msgstr "" + +#. TRANSLATORS: Printer Uptime +msgid "printer-up-time" +msgstr "" + +msgid "processing" +msgstr "s'està processant" + +#. TRANSLATORS: Proof Print +msgid "proof-print" +msgstr "" + +#. TRANSLATORS: Proof Print Copies +msgid "proof-print-copies" +msgstr "" + +#. TRANSLATORS: Punching +msgid "punching" +msgstr "" + +#. TRANSLATORS: Punching Locations +msgid "punching-locations" +msgstr "" + +#. TRANSLATORS: Punching Offset +msgid "punching-offset" +msgstr "" + +#. TRANSLATORS: Punch Edge +msgid "punching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "punching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "punching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "punching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "punching-reference-edge.top" +msgstr "" + +#, c-format +msgid "request id is %s-%d (%d file(s))" +msgstr "l'identificador de la petició és %s-%d (%d fitxer(s))" + +msgid "request-id uses indefinite length" +msgstr "la request-id fa servir una longitud indefinida" + +#. TRANSLATORS: Requested Attributes +msgid "requested-attributes" +msgstr "" + +#. TRANSLATORS: Retry Interval +msgid "retry-interval" +msgstr "" + +#. TRANSLATORS: Retry Timeout +msgid "retry-time-out" +msgstr "" + +#. TRANSLATORS: Save Disposition +msgid "save-disposition" +msgstr "" + +#. TRANSLATORS: None +msgid "save-disposition.none" +msgstr "" + +#. TRANSLATORS: Print and Save +msgid "save-disposition.print-save" +msgstr "" + +#. TRANSLATORS: Save Only +msgid "save-disposition.save-only" +msgstr "" + +#. TRANSLATORS: Save Document Format +msgid "save-document-format" +msgstr "" + +#. TRANSLATORS: Save Info +msgid "save-info" +msgstr "" + +#. TRANSLATORS: Save Location +msgid "save-location" +msgstr "" + +#. TRANSLATORS: Save Name +msgid "save-name" +msgstr "" + +msgid "scheduler is not running" +msgstr "el programador de tasques no s'està executant" + +msgid "scheduler is running" +msgstr "el programador de tasques s'està executant" + +#. TRANSLATORS: Separator Sheets +msgid "separator-sheets" +msgstr "" + +#. TRANSLATORS: Type of Separator Sheets +msgid "separator-sheets-type" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "separator-sheets-type.both-sheets" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "separator-sheets-type.end-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "separator-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Slip Sheets +msgid "separator-sheets-type.slip-sheets" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "separator-sheets-type.start-sheet" +msgstr "" + +#. TRANSLATORS: 2-Sided Printing +msgid "sides" +msgstr "" + +#. TRANSLATORS: Off +msgid "sides.one-sided" +msgstr "" + +#. TRANSLATORS: On (Portrait) +msgid "sides.two-sided-long-edge" +msgstr "" + +#. TRANSLATORS: On (Landscape) +msgid "sides.two-sided-short-edge" +msgstr "" + +#, c-format +msgid "stat of %s failed: %s" +msgstr "stat de %s ha fallat: %s" + +msgid "status\t\tShow status of daemon and queue." +msgstr "status\t\tmostra l'estat del dimoni i la cua." + +#. TRANSLATORS: Status Message +msgid "status-message" +msgstr "" + +#. TRANSLATORS: Staple +msgid "stitching" +msgstr "" + +#. TRANSLATORS: Stitching Angle +msgid "stitching-angle" +msgstr "" + +#. TRANSLATORS: Stitching Locations +msgid "stitching-locations" +msgstr "" + +#. TRANSLATORS: Staple Method +msgid "stitching-method" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "stitching-method.auto" +msgstr "" + +#. TRANSLATORS: Crimp +msgid "stitching-method.crimp" +msgstr "" + +#. TRANSLATORS: Wire +msgid "stitching-method.wire" +msgstr "" + +#. TRANSLATORS: Stitching Offset +msgid "stitching-offset" +msgstr "" + +#. TRANSLATORS: Staple Edge +msgid "stitching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "stitching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "stitching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "stitching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "stitching-reference-edge.top" +msgstr "" + +msgid "stopped" +msgstr "aturat" + +#. TRANSLATORS: Subject +msgid "subject" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Attributes +msgid "subscription-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Subscription Description +msgid "subscription-privacy-attributes.subscription-description" +msgstr "" + +#. TRANSLATORS: Subscription Template +msgid "subscription-privacy-attributes.subscription-template" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Scope +msgid "subscription-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "subscription-privacy-scope.owner" +msgstr "" + +#, c-format +msgid "system default destination: %s" +msgstr "destí per defecte del sistema: %s" + +#, c-format +msgid "system default destination: %s/%s" +msgstr "destí per defecte del sistema: %s/%s" + +#. TRANSLATORS: T33 Subaddress +msgid "t33-subaddress" +msgstr "T33 Subaddress" + +#. TRANSLATORS: To Name +msgid "to-name" +msgstr "" + +#. TRANSLATORS: Transmission Status +msgid "transmission-status" +msgstr "" + +#. TRANSLATORS: Pending +msgid "transmission-status.3" +msgstr "" + +#. TRANSLATORS: Pending Retry +msgid "transmission-status.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "transmission-status.5" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "transmission-status.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "transmission-status.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "transmission-status.9" +msgstr "" + +#. TRANSLATORS: Cut +msgid "trimming" +msgstr "" + +#. TRANSLATORS: Cut Position +msgid "trimming-offset" +msgstr "" + +#. TRANSLATORS: Cut Edge +msgid "trimming-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "trimming-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "trimming-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "trimming-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "trimming-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Type of Cut +msgid "trimming-type" +msgstr "" + +#. TRANSLATORS: Draw Line +msgid "trimming-type.draw-line" +msgstr "" + +#. TRANSLATORS: Full +msgid "trimming-type.full" +msgstr "" + +#. TRANSLATORS: Partial +msgid "trimming-type.partial" +msgstr "" + +#. TRANSLATORS: Perforate +msgid "trimming-type.perforate" +msgstr "" + +#. TRANSLATORS: Score +msgid "trimming-type.score" +msgstr "" + +#. TRANSLATORS: Tab +msgid "trimming-type.tab" +msgstr "" + +#. TRANSLATORS: Cut After +msgid "trimming-when" +msgstr "" + +#. TRANSLATORS: Every Document +msgid "trimming-when.after-documents" +msgstr "" + +#. TRANSLATORS: Job +msgid "trimming-when.after-job" +msgstr "" + +#. TRANSLATORS: Every Set +msgid "trimming-when.after-sets" +msgstr "" + +#. TRANSLATORS: Every Page +msgid "trimming-when.after-sheets" +msgstr "" + +msgid "unknown" +msgstr "desconegut" + +msgid "untitled" +msgstr "sense títol" + +msgid "variable-bindings uses indefinite length" +msgstr "La variable-bindings fa servir una longitud indefinida" + +#. TRANSLATORS: X Accuracy +msgid "x-accuracy" +msgstr "" + +#. TRANSLATORS: X Dimension +msgid "x-dimension" +msgstr "" + +#. TRANSLATORS: X Offset +msgid "x-offset" +msgstr "" + +#. TRANSLATORS: X Origin +msgid "x-origin" +msgstr "" + +#. TRANSLATORS: Y Accuracy +msgid "y-accuracy" +msgstr "" + +#. TRANSLATORS: Y Dimension +msgid "y-dimension" +msgstr "" + +#. TRANSLATORS: Y Offset +msgid "y-offset" +msgstr "" + +#. TRANSLATORS: Y Origin +msgid "y-origin" +msgstr "" + +#. TRANSLATORS: Z Accuracy +msgid "z-accuracy" +msgstr "" + +#. TRANSLATORS: Z Dimension +msgid "z-dimension" +msgstr "" + +#. TRANSLATORS: Z Offset +msgid "z-offset" +msgstr "" + +msgid "{service_domain} Domain name" +msgstr "" + +msgid "{service_hostname} Fully-qualified domain name" +msgstr "" + +msgid "{service_name} Service instance name" +msgstr "" + +msgid "{service_port} Port number" +msgstr "" + +msgid "{service_regtype} DNS-SD registration type" +msgstr "" + +msgid "{service_scheme} URI scheme" +msgstr "" + +msgid "{service_uri} URI" +msgstr "" + +msgid "{txt_*} Value of TXT record key" +msgstr "" + +msgid "{} URI" +msgstr "" + +msgid "~/.cups/lpoptions file names default destination that does not exist." +msgstr "" + +#~ msgid "A Samba password is required to export printer drivers" +#~ msgstr "" +#~ "Necessiteu una contrasenya de Samba per exportar els controladors " +#~ "d'impressora" + +#~ msgid "A Samba username is required to export printer drivers" +#~ msgstr "" +#~ "Necessiteu una nom d'usuari de Samba per exportar els controladors " +#~ "d'impressora" + +#~ msgid "Export Printers to Samba" +#~ msgstr "Exportar les impressores al Samba" + +#~ msgid "cupsctl: Cannot set Listen or Port directly." +#~ msgstr "cupsctl: no es pot establir Listen o Port directament." + +#~ msgid "lpadmin: Unable to open PPD file \"%s\" - %s" +#~ msgstr "lpadmin: no s'ha pogut obrir el fitxer PPD «%s» - %s" diff --git a/locale/cups_cs.po b/locale/cups_cs.po new file mode 100644 index 0000000..bd244a4 --- /dev/null +++ b/locale/cups_cs.po @@ -0,0 +1,14907 @@ +# +# Czech message catalog for CUPS. +# +# Copyright © 2007-2018 by Apple Inc. +# Copyright © 2005-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +msgid "" +msgstr "" +"Project-Id-Version: CUPS 2.3\n" +"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n" +"POT-Creation-Date: 2019-08-23 09:13-0400\n" +"PO-Revision-Date: 2012-09-14 10:26+0100\n" +"Last-Translator: Jan Bartos \n" +"Language-Team: Czech\n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "\t\t(all)" +msgstr "" + +msgid "\t\t(none)" +msgstr "" + +#, c-format +msgid "\t%d entries" +msgstr "" + +#, c-format +msgid "\t%s" +msgstr "" + +msgid "\tAfter fault: continue" +msgstr "" + +#, c-format +msgid "\tAlerts: %s" +msgstr "" + +msgid "\tBanner required" +msgstr "" + +msgid "\tCharset sets:" +msgstr "" + +msgid "\tConnection: direct" +msgstr "" + +msgid "\tConnection: remote" +msgstr "" + +msgid "\tContent types: any" +msgstr "" + +msgid "\tDefault page size:" +msgstr "" + +msgid "\tDefault pitch:" +msgstr "" + +msgid "\tDefault port settings:" +msgstr "" + +#, c-format +msgid "\tDescription: %s" +msgstr "" + +msgid "\tForm mounted:" +msgstr "" + +msgid "\tForms allowed:" +msgstr "" + +#, c-format +msgid "\tInterface: %s.ppd" +msgstr "" + +#, c-format +msgid "\tInterface: %s/ppd/%s.ppd" +msgstr "" + +#, c-format +msgid "\tLocation: %s" +msgstr "" + +msgid "\tOn fault: no alert" +msgstr "" + +msgid "\tPrinter types: unknown" +msgstr "" + +#, c-format +msgid "\tStatus: %s" +msgstr "" + +msgid "\tUsers allowed:" +msgstr "" + +msgid "\tUsers denied:" +msgstr "" + +msgid "\tdaemon present" +msgstr "" + +msgid "\tno entries" +msgstr "" + +#, c-format +msgid "\tprinter is on device '%s' speed -1" +msgstr "" + +msgid "\tprinting is disabled" +msgstr "" + +msgid "\tprinting is enabled" +msgstr "" + +#, c-format +msgid "\tqueued for %s" +msgstr "" + +msgid "\tqueuing is disabled" +msgstr "" + +msgid "\tqueuing is enabled" +msgstr "" + +msgid "\treason unknown" +msgstr "" + +msgid "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" +msgstr "" + +msgid " REF: Page 15, section 3.1." +msgstr "" + +msgid " REF: Page 15, section 3.2." +msgstr "" + +msgid " REF: Page 19, section 3.3." +msgstr "" + +msgid " REF: Page 20, section 3.4." +msgstr "" + +msgid " REF: Page 27, section 3.5." +msgstr "" + +msgid " REF: Page 42, section 5.2." +msgstr "" + +msgid " REF: Pages 16-17, section 3.2." +msgstr "" + +msgid " REF: Pages 42-45, section 5.2." +msgstr "" + +msgid " REF: Pages 45-46, section 5.2." +msgstr "" + +msgid " REF: Pages 48-49, section 5.2." +msgstr "" + +msgid " REF: Pages 52-54, section 5.2." +msgstr "" + +#, c-format +msgid " %-39.39s %.0f bytes" +msgstr "" + +#, c-format +msgid " PASS Default%s" +msgstr "" + +msgid " PASS DefaultImageableArea" +msgstr "" + +msgid " PASS DefaultPaperDimension" +msgstr "" + +msgid " PASS FileVersion" +msgstr "" + +msgid " PASS FormatVersion" +msgstr "" + +msgid " PASS LanguageEncoding" +msgstr "" + +msgid " PASS LanguageVersion" +msgstr "" + +msgid " PASS Manufacturer" +msgstr "" + +msgid " PASS ModelName" +msgstr "" + +msgid " PASS NickName" +msgstr "" + +msgid " PASS PCFileName" +msgstr "" + +msgid " PASS PSVersion" +msgstr "" + +msgid " PASS PageRegion" +msgstr "" + +msgid " PASS PageSize" +msgstr "" + +msgid " PASS Product" +msgstr "" + +msgid " PASS ShortNickName" +msgstr "" + +#, c-format +msgid " WARN %s has no corresponding options." +msgstr "" + +#, c-format +msgid "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." +msgstr "" + +#, c-format +msgid "" +" WARN Duplex option keyword %s may not work as expected and should " +"be named Duplex.\n" +" REF: Page 122, section 5.17" +msgstr "" + +msgid " WARN File contains a mix of CR, LF, and CR LF line endings." +msgstr "" + +msgid "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." +msgstr "" + +#, c-format +msgid " WARN Line %d only contains whitespace." +msgstr "" + +msgid "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." +msgstr "" + +msgid "" +" WARN Non-Windows PPD files should use lines ending with only LF, " +"not CR LF." +msgstr "" + +#, c-format +msgid "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." +msgstr "" + +msgid "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" + +msgid "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" + +msgid "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" + +msgid "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" + +msgid "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" + +#, c-format +msgid "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." +msgstr "" + +#, c-format +msgid " %s %s %s does not exist." +msgstr "" + +#, c-format +msgid " %s %s file \"%s\" has the wrong capitalization." +msgstr "" + +#, c-format +msgid "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" +msgstr "" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." +msgstr "" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s." +msgstr "" + +#, c-format +msgid " %s Bad cupsFilter value \"%s\"." +msgstr "" + +#, c-format +msgid " %s Bad cupsFilter2 value \"%s\"." +msgstr "" + +#, c-format +msgid " %s Bad cupsICCProfile %s." +msgstr "" + +#, c-format +msgid " %s Bad cupsPreFilter value \"%s\"." +msgstr "" + +#, c-format +msgid " %s Bad cupsUIConstraints %s: \"%s\"" +msgstr "" + +#, c-format +msgid " %s Bad language \"%s\"." +msgstr "" + +#, c-format +msgid " %s Bad permissions on %s file \"%s\"." +msgstr "" + +#, c-format +msgid " %s Bad spelling of %s - should be %s." +msgstr "" + +#, c-format +msgid " %s Cannot provide both APScanAppPath and APScanAppBundleID." +msgstr "" + +#, c-format +msgid " %s Default choices conflicting." +msgstr "" + +#, c-format +msgid " %s Empty cupsUIConstraints %s" +msgstr "" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s, choice %s." +msgstr "" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s." +msgstr "" + +#, c-format +msgid " %s Missing %s file \"%s\"." +msgstr "" + +#, c-format +msgid "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." +msgstr "" + +#, c-format +msgid "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." +msgstr "" + +#, c-format +msgid " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" + +#, c-format +msgid " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" +msgstr "" + +#, c-format +msgid " %s Missing cupsUIResolver %s" +msgstr "" + +#, c-format +msgid " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" + +#, c-format +msgid " %s Missing option %s in cupsUIConstraints %s: \"%s\"" +msgstr "" + +#, c-format +msgid " %s No base translation \"%s\" is included in file." +msgstr "" + +#, c-format +msgid "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" +msgstr "" + +#, c-format +msgid " %s Size \"%s\" defined for %s but not for %s." +msgstr "" + +#, c-format +msgid " %s Size \"%s\" has unexpected dimensions (%gx%g)." +msgstr "" + +#, c-format +msgid " %s Size \"%s\" should be \"%s\"." +msgstr "" + +#, c-format +msgid " %s Size \"%s\" should be the Adobe standard name \"%s\"." +msgstr "" + +#, c-format +msgid " %s cupsICCProfile %s hash value collides with %s." +msgstr "" + +#, c-format +msgid " %s cupsUIResolver %s causes a loop." +msgstr "" + +#, c-format +msgid "" +" %s cupsUIResolver %s does not list at least two different options." +msgstr "" + +#, c-format +msgid "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" + +msgid "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." +msgstr "" + +#, c-format +msgid " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." +msgstr "" + +#, c-format +msgid " **FAIL** Bad LanguageVersion %s - must be English." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." +msgstr "" + +msgid "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." +msgstr "" + +msgid "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." +msgstr "" + +msgid "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" +msgstr "" + +#, c-format +msgid " **FAIL** Default option code cannot be interpreted: %s" +msgstr "" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s choice %s contains " +"8-bit characters." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s contains 8-bit " +"characters." +msgstr "" + +#, c-format +msgid " **FAIL** Group names %s and %s differ only by case." +msgstr "" + +#, c-format +msgid " **FAIL** Multiple occurrences of option %s choice name %s." +msgstr "" + +#, c-format +msgid " **FAIL** Option %s choice names %s and %s differ only by case." +msgstr "" + +#, c-format +msgid " **FAIL** Option names %s and %s differ only by case." +msgstr "" + +#, c-format +msgid "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." +msgstr "" + +msgid "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." +msgstr "" + +msgid "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." +msgstr "" + +msgid "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." +msgstr "" + +#, c-format +msgid "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." +msgstr "" + +msgid "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." +msgstr "" + +#, c-format +msgid "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." +msgstr "" + +msgid "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." +msgstr "" + +#, c-format +msgid " **FAIL** Unable to open PPD file - %s on line %d." +msgstr "" + +#, c-format +msgid " %d ERRORS FOUND" +msgstr "" + +msgid " NO ERRORS FOUND" +msgstr "" + +msgid " --cr End lines with CR (Mac OS 9)." +msgstr "" + +msgid " --crlf End lines with CR + LF (Windows)." +msgstr "" + +msgid " --lf End lines with LF (UNIX/Linux/macOS)." +msgstr "" + +msgid " --list-filters List filters that will be used." +msgstr "" + +msgid " -D Remove the input file when finished." +msgstr "" + +msgid " -D name=value Set named variable to value." +msgstr "" + +msgid " -I include-dir Add include directory to search path." +msgstr "" + +msgid " -P filename.ppd Set PPD file." +msgstr "" + +msgid " -U username Specify username." +msgstr "" + +msgid " -c catalog.po Load the specified message catalog." +msgstr "" + +msgid " -c cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid " -d output-dir Specify the output directory." +msgstr "" + +msgid " -d printer Use the named printer." +msgstr "" + +msgid " -e Use every filter from the PPD file." +msgstr "" + +msgid " -i mime/type Set input MIME type (otherwise auto-typed)." +msgstr "" + +msgid "" +" -j job-id[,N] Filter file N from the specified job (default is " +"file 1)." +msgstr "" + +msgid " -l lang[,lang,...] Specify the output language(s) (locale)." +msgstr "" + +msgid " -m Use the ModelName value as the filename." +msgstr "" + +msgid "" +" -m mime/type Set output MIME type (otherwise application/pdf)." +msgstr "" + +msgid " -n copies Set number of copies." +msgstr "" + +msgid "" +" -o filename.drv Set driver information file (otherwise ppdi.drv)." +msgstr "" + +msgid " -o filename.ppd[.gz] Set output file (otherwise stdout)." +msgstr "" + +msgid " -o name=value Set option(s)." +msgstr "" + +msgid " -p filename.ppd Set PPD file." +msgstr "" + +msgid " -t Test PPDs instead of generating them." +msgstr "" + +msgid " -t title Set title." +msgstr "" + +msgid " -u Remove the PPD file when finished." +msgstr "" + +msgid " -v Be verbose." +msgstr "" + +msgid " -z Compress PPD files using GNU zip." +msgstr "" + +msgid " FAIL" +msgstr "" + +msgid " PASS" +msgstr "" + +msgid "! expression Unary NOT of expression" +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section " +"5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section " +"8.1)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 " +"section 5.1.14)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section " +"5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be " +"positive (RFC 8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC " +"8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section " +"8.3)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." +msgstr "" + +msgid "\"requesting-user-name\" attribute in wrong group." +msgstr "" + +msgid "\"requesting-user-name\" attribute with wrong syntax." +msgstr "" + +#, c-format +msgid "%-7s %-7.7s %-7d %-31.31s %.0f bytes" +msgstr "" + +#, c-format +msgid "%d x %d mm" +msgstr "" + +#, c-format +msgid "%g x %g \"" +msgstr "" + +#, c-format +msgid "%s (%s)" +msgstr "" + +#, c-format +msgid "%s (%s, %s)" +msgstr "" + +#, c-format +msgid "%s (Borderless)" +msgstr "" + +#, c-format +msgid "%s (Borderless, %s)" +msgstr "" + +#, c-format +msgid "%s (Borderless, %s, %s)" +msgstr "" + +#, c-format +msgid "%s accepting requests since %s" +msgstr "" + +#, c-format +msgid "%s cannot be changed." +msgstr "%s nelze změnit." + +#, c-format +msgid "%s is not implemented by the CUPS version of lpc." +msgstr "" + +#, c-format +msgid "%s is not ready" +msgstr "" + +#, c-format +msgid "%s is ready" +msgstr "" + +#, c-format +msgid "%s is ready and printing" +msgstr "" + +#, c-format +msgid "%s job-id user title copies options [file]" +msgstr "" + +#, c-format +msgid "%s not accepting requests since %s -" +msgstr "" + +#, c-format +msgid "%s not supported." +msgstr "" + +#, c-format +msgid "%s/%s accepting requests since %s" +msgstr "" + +#, c-format +msgid "%s/%s not accepting requests since %s -" +msgstr "" + +#, c-format +msgid "%s: %-33.33s [job %d localhost]" +msgstr "" + +#. TRANSLATORS: Message is "subject: error" +#, c-format +msgid "%s: %s" +msgstr "" + +#, c-format +msgid "%s: %s failed: %s" +msgstr "" + +#, c-format +msgid "%s: Bad printer URI \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Bad version %s for \"-V\"." +msgstr "" + +#, c-format +msgid "%s: Don't know what to do." +msgstr "" + +#, c-format +msgid "%s: Error - %s" +msgstr "" + +#, c-format +msgid "" +"%s: Error - %s environment variable names non-existent destination \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Error - add '/version=1.1' to server name." +msgstr "" + +#, c-format +msgid "%s: Error - bad job ID." +msgstr "" + +#, c-format +msgid "%s: Error - cannot print files and alter jobs simultaneously." +msgstr "" + +#, c-format +msgid "%s: Error - cannot print from stdin if files or a job ID are provided." +msgstr "" + +#, c-format +msgid "%s: Error - copies must be 1 or more." +msgstr "" + +#, c-format +msgid "%s: Error - expected character set after \"-S\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected content type after \"-T\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected copies after \"-#\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected copies after \"-n\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected destination after \"-P\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected destination after \"-d\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected form after \"-f\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected hold name after \"-H\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected hostname after \"-H\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected hostname after \"-h\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected mode list after \"-y\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected name after \"-%c\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected option=value after \"-o\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected page list after \"-P\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected priority after \"-%c\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected reason text after \"-r\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected title after \"-t\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected username after \"-U\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected username after \"-u\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected value after \"-%c\" option." +msgstr "" + +#, c-format +msgid "" +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" " +"option." +msgstr "" + +#, c-format +msgid "%s: Error - no default destination available." +msgstr "" + +#, c-format +msgid "%s: Error - priority must be between 1 and 100." +msgstr "" + +#, c-format +msgid "%s: Error - scheduler not responding." +msgstr "" + +#, c-format +msgid "%s: Error - too many files - \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Error - unable to access \"%s\" - %s" +msgstr "" + +#, c-format +msgid "%s: Error - unable to queue from stdin - %s." +msgstr "" + +#, c-format +msgid "%s: Error - unknown destination \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Error - unknown destination \"%s/%s\"." +msgstr "" + +#, c-format +msgid "%s: Error - unknown option \"%c\"." +msgstr "" + +#, c-format +msgid "%s: Error - unknown option \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Expected job ID after \"-i\" option." +msgstr "" + +#, c-format +msgid "%s: Invalid destination name in list \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Invalid filter string \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Missing filename for \"-P\"." +msgstr "" + +#, c-format +msgid "%s: Missing timeout for \"-T\"." +msgstr "" + +#, c-format +msgid "%s: Missing version for \"-V\"." +msgstr "" + +#, c-format +msgid "%s: Need job ID (\"-i jobid\") before \"-H restart\"." +msgstr "" + +#, c-format +msgid "%s: No filter to convert from %s/%s to %s/%s." +msgstr "" + +#, c-format +msgid "%s: Operation failed: %s" +msgstr "" + +#, c-format +msgid "%s: Sorry, no encryption support." +msgstr "" + +#, c-format +msgid "%s: Unable to connect to \"%s:%d\": %s" +msgstr "" + +#, c-format +msgid "%s: Unable to connect to server." +msgstr "" + +#, c-format +msgid "%s: Unable to contact server." +msgstr "" + +#, c-format +msgid "%s: Unable to create PPD file: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to determine MIME type of \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unable to open \"%s\": %s" +msgstr "" + +#, c-format +msgid "%s: Unable to open %s: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to open PPD file: %s on line %d." +msgstr "" + +#, c-format +msgid "%s: Unable to query printer: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to read MIME database from \"%s\" or \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unable to resolve \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown argument \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown destination \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown destination MIME type %s/%s." +msgstr "" + +#, c-format +msgid "%s: Unknown option \"%c\"." +msgstr "" + +#, c-format +msgid "%s: Unknown option \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown option \"-%c\"." +msgstr "" + +#, c-format +msgid "%s: Unknown source MIME type %s/%s." +msgstr "" + +#, c-format +msgid "" +"%s: Warning - \"%c\" format modifier not supported - output may not be " +"correct." +msgstr "" + +#, c-format +msgid "%s: Warning - character set option ignored." +msgstr "" + +#, c-format +msgid "%s: Warning - content type option ignored." +msgstr "" + +#, c-format +msgid "%s: Warning - form option ignored." +msgstr "" + +#, c-format +msgid "%s: Warning - mode option ignored." +msgstr "" + +msgid "( expressions ) Group expressions" +msgstr "" + +msgid "- Cancel all jobs" +msgstr "" + +msgid "-# num-copies Specify the number of copies to print" +msgstr "" + +msgid "--[no-]debug-logging Turn debug logging on/off" +msgstr "" + +msgid "--[no-]remote-admin Turn remote administration on/off" +msgstr "" + +msgid "--[no-]remote-any Allow/prevent access from the Internet" +msgstr "" + +msgid "--[no-]share-printers Turn printer sharing on/off" +msgstr "" + +msgid "--[no-]user-cancel-any Allow/prevent users to cancel any job" +msgstr "" + +msgid "" +"--device-id device-id Show models matching the given IEEE 1284 device ID" +msgstr "" + +msgid "--domain regex Match domain to regular expression" +msgstr "" + +msgid "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" +msgstr "" + +msgid "" +"--exec utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "--false Always false" +msgstr "" + +msgid "--help Show program help" +msgstr "" + +msgid "--hold Hold new jobs" +msgstr "" + +msgid "--host regex Match hostname to regular expression" +msgstr "" + +msgid "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" +msgstr "" + +msgid "--ippserver filename Produce ippserver attribute file" +msgstr "" + +msgid "--language locale Show models matching the given locale" +msgstr "" + +msgid "--local True if service is local" +msgstr "" + +msgid "--ls List attributes" +msgstr "" + +msgid "" +"--make-and-model name Show models matching the given make and model name" +msgstr "" + +msgid "--name regex Match service name to regular expression" +msgstr "" + +msgid "--no-web-forms Disable web forms for media and supplies" +msgstr "" + +msgid "--not expression Unary NOT of expression" +msgstr "" + +msgid "--path regex Match resource path to regular expression" +msgstr "" + +msgid "--port number[-number] Match port to number or range" +msgstr "" + +msgid "--print Print URI if true" +msgstr "" + +msgid "--print-name Print service name if true" +msgstr "" + +msgid "" +"--product name Show models matching the given PostScript product" +msgstr "" + +msgid "--quiet Quietly report match via exit code" +msgstr "" + +msgid "--release Release previously held jobs" +msgstr "" + +msgid "--remote True if service is remote" +msgstr "" + +msgid "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" +msgstr "" + +msgid "" +"--timeout seconds Specify the maximum number of seconds to discover " +"devices" +msgstr "" + +msgid "--true Always true" +msgstr "" + +msgid "--txt key True if the TXT record contains the key" +msgstr "" + +msgid "--txt-* regex Match TXT record key to regular expression" +msgstr "" + +msgid "--uri regex Match URI to regular expression" +msgstr "" + +msgid "--version Show program version" +msgstr "" + +msgid "--version Show version" +msgstr "" + +msgid "-1" +msgstr "-1" + +msgid "-10" +msgstr "-10" + +msgid "-100" +msgstr "-100" + +msgid "-105" +msgstr "-105" + +msgid "-11" +msgstr "-11" + +msgid "-110" +msgstr "-110" + +msgid "-115" +msgstr "-115" + +msgid "-12" +msgstr "-12" + +msgid "-120" +msgstr "-120" + +msgid "-13" +msgstr "-13" + +msgid "-14" +msgstr "-14" + +msgid "-15" +msgstr "-15" + +msgid "-2" +msgstr "-2" + +msgid "-2 Set 2-sided printing support (default=1-sided)" +msgstr "" + +msgid "-20" +msgstr "-20" + +msgid "-25" +msgstr "-25" + +msgid "-3" +msgstr "-3" + +msgid "-30" +msgstr "-30" + +msgid "-35" +msgstr "-35" + +msgid "-4" +msgstr "-4" + +msgid "-4 Connect using IPv4" +msgstr "" + +msgid "-40" +msgstr "-40" + +msgid "-45" +msgstr "-45" + +msgid "-5" +msgstr "-5" + +msgid "-50" +msgstr "-50" + +msgid "-55" +msgstr "-55" + +msgid "-6" +msgstr "-6" + +msgid "-6 Connect using IPv6" +msgstr "" + +msgid "-60" +msgstr "-60" + +msgid "-65" +msgstr "-65" + +msgid "-7" +msgstr "-7" + +msgid "-70" +msgstr "-70" + +msgid "-75" +msgstr "-75" + +msgid "-8" +msgstr "-8" + +msgid "-80" +msgstr "-80" + +msgid "-85" +msgstr "-85" + +msgid "-9" +msgstr "-9" + +msgid "-90" +msgstr "-90" + +msgid "-95" +msgstr "-95" + +msgid "-C Send requests using chunking (default)" +msgstr "" + +msgid "-D description Specify the textual description of the printer" +msgstr "" + +msgid "-D device-uri Set the device URI for the printer" +msgstr "" + +msgid "" +"-E Enable and accept jobs on the printer (after -p)" +msgstr "" + +msgid "-E Encrypt the connection to the server" +msgstr "" + +msgid "-E Test with encryption using HTTP Upgrade to TLS" +msgstr "" + +msgid "-F Run in the foreground but detach from console." +msgstr "" + +msgid "-F output-type/subtype Set the output format for the printer" +msgstr "" + +msgid "-H Show the default server and port" +msgstr "" + +msgid "-H HH:MM Hold the job until the specified UTC time" +msgstr "" + +msgid "-H hold Hold the job until released/resumed" +msgstr "" + +msgid "-H immediate Print the job as soon as possible" +msgstr "" + +msgid "-H restart Reprint the job" +msgstr "" + +msgid "-H resume Resume a held job" +msgstr "" + +msgid "-H server[:port] Connect to the named server and port" +msgstr "" + +msgid "-I Ignore errors" +msgstr "" + +msgid "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" +msgstr "" + +msgid "" +"-K keypath Set location of server X.509 certificates and keys." +msgstr "" + +msgid "-L Send requests using content-length" +msgstr "" + +msgid "-L location Specify the textual location of the printer" +msgstr "" + +msgid "-M manufacturer Set manufacturer name (default=Test)" +msgstr "" + +msgid "-P destination Show status for the specified destination" +msgstr "" + +msgid "-P destination Specify the destination" +msgstr "" + +msgid "" +"-P filename.plist Produce XML plist to a file and test report to " +"standard output" +msgstr "" + +msgid "-P filename.ppd Load printer attributes from PPD file" +msgstr "" + +msgid "-P number[-number] Match port to number or range" +msgstr "" + +msgid "-P page-list Specify a list of pages to print" +msgstr "" + +msgid "-R Show the ranking of jobs" +msgstr "" + +msgid "-R name-default Remove the default value for the named option" +msgstr "" + +msgid "-R root-directory Set alternate root" +msgstr "" + +msgid "-S Test with encryption using HTTPS" +msgstr "" + +msgid "-T seconds Set the browse timeout in seconds" +msgstr "" + +msgid "-T seconds Set the receive/send timeout in seconds" +msgstr "" + +msgid "-T title Specify the job title" +msgstr "" + +msgid "-U username Specify the username to use for authentication" +msgstr "" + +msgid "-U username Specify username to use for authentication" +msgstr "" + +msgid "-V version Set default IPP version" +msgstr "" + +msgid "-W completed Show completed jobs" +msgstr "" + +msgid "-W not-completed Show pending jobs" +msgstr "" + +msgid "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes," +"translations}\n" +" Issue warnings instead of errors" +msgstr "" + +msgid "-X Produce XML plist instead of plain text" +msgstr "" + +msgid "-a Cancel all jobs" +msgstr "" + +msgid "-a Show jobs on all destinations" +msgstr "" + +msgid "-a [destination(s)] Show the accepting state of destinations" +msgstr "" + +msgid "-a filename.conf Load printer attributes from conf file" +msgstr "" + +msgid "-c Make a copy of the print file(s)" +msgstr "" + +msgid "-c Produce CSV output" +msgstr "" + +msgid "-c [class(es)] Show classes and their member printers" +msgstr "" + +msgid "-c class Add the named destination to a class" +msgstr "" + +msgid "-c command Set print command" +msgstr "" + +msgid "-c cupsd.conf Set cupsd.conf file to use." +msgstr "" + +msgid "-d Show the default destination" +msgstr "" + +msgid "-d destination Set default destination" +msgstr "" + +msgid "-d destination Set the named destination as the server default" +msgstr "" + +msgid "-d name=value Set named variable to value" +msgstr "" + +msgid "-d regex Match domain to regular expression" +msgstr "" + +msgid "-d spool-directory Set spool directory" +msgstr "" + +msgid "-e Show available destinations on the network" +msgstr "" + +msgid "-f Run in the foreground." +msgstr "" + +msgid "-f filename Set default request filename" +msgstr "" + +msgid "-f type/subtype[,...] Set supported file types" +msgstr "" + +msgid "-h Show this usage message." +msgstr "" + +msgid "-h Validate HTTP response headers" +msgstr "" + +msgid "-h regex Match hostname to regular expression" +msgstr "" + +msgid "-h server[:port] Connect to the named server and port" +msgstr "" + +msgid "-i iconfile.png Set icon file" +msgstr "" + +msgid "-i id Specify an existing job ID to modify" +msgstr "" + +msgid "-i ppd-file Specify a PPD file for the printer" +msgstr "" + +msgid "" +"-i seconds Repeat the last file with the given time interval" +msgstr "" + +msgid "-k Keep job spool files" +msgstr "" + +msgid "-l List attributes" +msgstr "" + +msgid "-l Produce plain text output" +msgstr "" + +msgid "-l Run cupsd on demand." +msgstr "" + +msgid "-l Show supported options and values" +msgstr "" + +msgid "-l Show verbose (long) output" +msgstr "" + +msgid "-l location Set location of printer" +msgstr "" + +msgid "" +"-m Send an email notification when the job completes" +msgstr "" + +msgid "-m Show models" +msgstr "" + +msgid "" +"-m everywhere Specify the printer is compatible with IPP Everywhere" +msgstr "" + +msgid "-m model Set model name (default=Printer)" +msgstr "" + +msgid "" +"-m model Specify a standard model/PPD file for the printer" +msgstr "" + +msgid "-n count Repeat the last file the given number of times" +msgstr "" + +msgid "-n hostname Set hostname for printer" +msgstr "" + +msgid "-n num-copies Specify the number of copies to print" +msgstr "" + +msgid "-n regex Match service name to regular expression" +msgstr "" + +msgid "" +"-o Name=Value Specify the default value for the named PPD option " +msgstr "" + +msgid "-o [destination(s)] Show jobs" +msgstr "" + +msgid "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" +msgstr "" + +msgid "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" +msgstr "" + +msgid "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" +msgstr "" + +msgid "-o job-page-limit=N Specify the page limit for per-user quotas" +msgstr "" + +msgid "-o job-quota-period=N Specify the per-user quota period in seconds" +msgstr "" + +msgid "-o job-sheets=standard Print a banner page with the job" +msgstr "" + +msgid "-o media=size Specify the media size to use" +msgstr "" + +msgid "-o name-default=value Specify the default value for the named option" +msgstr "" + +msgid "-o name[=value] Set default option and value" +msgstr "" + +msgid "" +"-o number-up=N Specify that input pages should be printed N-up (1, " +"2, 4, 6, 9, and 16 are supported)" +msgstr "" + +msgid "-o option[=value] Specify a printer-specific option" +msgstr "" + +msgid "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" +msgstr "" + +msgid "" +"-o print-quality=N Specify the print quality - draft (3), normal (4), " +"or best (5)" +msgstr "" + +msgid "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" +msgstr "" + +msgid "" +"-o printer-is-shared=true\n" +" Share the printer" +msgstr "" + +msgid "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" +msgstr "" + +msgid "-o sides=one-sided Specify 1-sided printing" +msgstr "" + +msgid "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" +msgstr "" + +msgid "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" +msgstr "" + +msgid "-p Print URI if true" +msgstr "" + +msgid "-p [printer(s)] Show the processing state of destinations" +msgstr "" + +msgid "-p destination Specify a destination" +msgstr "" + +msgid "-p destination Specify/add the named destination" +msgstr "" + +msgid "-p port Set port number for printer" +msgstr "" + +msgid "-q Quietly report match via exit code" +msgstr "" + +msgid "-q Run silently" +msgstr "" + +msgid "-q Specify the job should be held for printing" +msgstr "" + +msgid "-q priority Specify the priority from low (1) to high (100)" +msgstr "" + +msgid "-r Remove the file(s) after submission" +msgstr "" + +msgid "-r Show whether the CUPS server is running" +msgstr "" + +msgid "-r True if service is remote" +msgstr "" + +msgid "-r Use 'relaxed' open mode" +msgstr "" + +msgid "-r class Remove the named destination from a class" +msgstr "" + +msgid "-r reason Specify a reason message that others can see" +msgstr "" + +msgid "-r subtype,[subtype] Set DNS-SD service subtype" +msgstr "" + +msgid "-s Be silent" +msgstr "" + +msgid "-s Print service name if true" +msgstr "" + +msgid "-s Show a status summary" +msgstr "" + +msgid "-s cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid "-s speed[,color-speed] Set speed in pages per minute" +msgstr "" + +msgid "-t Produce a test report" +msgstr "" + +msgid "-t Show all status information" +msgstr "" + +msgid "-t Test the configuration file." +msgstr "" + +msgid "-t key True if the TXT record contains the key" +msgstr "" + +msgid "-t title Specify the job title" +msgstr "" + +msgid "" +"-u [user(s)] Show jobs queued by the current or specified users" +msgstr "" + +msgid "-u allow:all Allow all users to print" +msgstr "" + +msgid "" +"-u allow:list Allow the list of users or groups (@name) to print" +msgstr "" + +msgid "" +"-u deny:list Prevent the list of users or groups (@name) to print" +msgstr "" + +msgid "-u owner Specify the owner to use for jobs" +msgstr "" + +msgid "-u regex Match URI to regular expression" +msgstr "" + +msgid "-v Be verbose" +msgstr "" + +msgid "-v Show devices" +msgstr "" + +msgid "-v [printer(s)] Show the devices for each destination" +msgstr "" + +msgid "-v device-uri Specify the device URI for the printer" +msgstr "" + +msgid "-vv Be very verbose" +msgstr "" + +msgid "-x Purge jobs rather than just canceling" +msgstr "" + +msgid "-x destination Remove default options for destination" +msgstr "" + +msgid "-x destination Remove the named destination" +msgstr "" + +msgid "" +"-x utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "/etc/cups/lpoptions file names default destination that does not exist." +msgstr "" + +msgid "0" +msgstr "0" + +msgid "1" +msgstr "1" + +msgid "1 inch/sec." +msgstr "1 palec/sek." + +msgid "1.25x0.25\"" +msgstr "1.25x0.25\"" + +msgid "1.25x2.25\"" +msgstr "1.25x2.25\"" + +msgid "1.5 inch/sec." +msgstr "1.5 palce/sek." + +msgid "1.50x0.25\"" +msgstr "1.50x0.25\"" + +msgid "1.50x0.50\"" +msgstr "1.50x0.50\"" + +msgid "1.50x1.00\"" +msgstr "1.50x1.00\"" + +msgid "1.50x2.00\"" +msgstr "1.50x2.00\"" + +msgid "10" +msgstr "10" + +msgid "10 inches/sec." +msgstr "10 palců/sek." + +msgid "10 x 11" +msgstr "" + +msgid "10 x 13" +msgstr "" + +msgid "10 x 14" +msgstr "" + +msgid "100" +msgstr "100" + +msgid "100 mm/sec." +msgstr "100 mm/sek." + +msgid "105" +msgstr "105" + +msgid "11" +msgstr "11" + +msgid "11 inches/sec." +msgstr "11 palců/sek." + +msgid "110" +msgstr "110" + +msgid "115" +msgstr "115" + +msgid "12" +msgstr "12" + +msgid "12 inches/sec." +msgstr "12 palců/sek." + +msgid "12 x 11" +msgstr "" + +msgid "120" +msgstr "120" + +msgid "120 mm/sec." +msgstr "120 mm/sek." + +msgid "120x60dpi" +msgstr "120x60 dpi" + +msgid "120x72dpi" +msgstr "120x72 dpi" + +msgid "13" +msgstr "13" + +msgid "136dpi" +msgstr "136 dpi" + +msgid "14" +msgstr "14" + +msgid "15" +msgstr "15" + +msgid "15 mm/sec." +msgstr "15 mm/sek." + +msgid "15 x 11" +msgstr "" + +msgid "150 mm/sec." +msgstr "150 mm/sek." + +msgid "150dpi" +msgstr "150 dpi" + +msgid "16" +msgstr "16" + +msgid "17" +msgstr "17" + +msgid "18" +msgstr "18" + +msgid "180dpi" +msgstr "180 dpi" + +msgid "19" +msgstr "19" + +msgid "2" +msgstr "2" + +msgid "2 inches/sec." +msgstr "2 palce/sek." + +msgid "2-Sided Printing" +msgstr "oboustranný tisk" + +msgid "2.00x0.37\"" +msgstr "2.00x0.37\"" + +msgid "2.00x0.50\"" +msgstr "2.00x0.50\"" + +msgid "2.00x1.00\"" +msgstr "2.00x1.00\"" + +msgid "2.00x1.25\"" +msgstr "2.00x1.25\"" + +msgid "2.00x2.00\"" +msgstr "2.00x2.00\"" + +msgid "2.00x3.00\"" +msgstr "2.00x3.00\"" + +msgid "2.00x4.00\"" +msgstr "2.00x4.00\"" + +msgid "2.00x5.50\"" +msgstr "2.00x5.50\"" + +msgid "2.25x0.50\"" +msgstr "2.25x0.50\"" + +msgid "2.25x1.25\"" +msgstr "2.25x1.25\"" + +msgid "2.25x4.00\"" +msgstr "2.25x4.00\"" + +msgid "2.25x5.50\"" +msgstr "2.25x5.50\"" + +msgid "2.38x5.50\"" +msgstr "2.38x5.50\"" + +msgid "2.5 inches/sec." +msgstr "2.5 palce/sek." + +msgid "2.50x1.00\"" +msgstr "2.50x1.00\"" + +msgid "2.50x2.00\"" +msgstr "2.50x2.00\"" + +msgid "2.75x1.25\"" +msgstr "2.75x1.25\"" + +msgid "2.9 x 1\"" +msgstr "2.9 x 1\"" + +msgid "20" +msgstr "20" + +msgid "20 mm/sec." +msgstr "20 mm/sek." + +msgid "200 mm/sec." +msgstr "200 mm/sek." + +msgid "203dpi" +msgstr "203 dpi" + +msgid "21" +msgstr "21" + +msgid "22" +msgstr "22" + +msgid "23" +msgstr "23" + +msgid "24" +msgstr "24" + +msgid "24-Pin Series" +msgstr "24 jehličková" + +msgid "240x72dpi" +msgstr "240x72 dpi" + +msgid "25" +msgstr "25" + +msgid "250 mm/sec." +msgstr "250 mm/sek." + +msgid "26" +msgstr "26" + +msgid "27" +msgstr "27" + +msgid "28" +msgstr "28" + +msgid "29" +msgstr "29" + +msgid "3" +msgstr "3" + +msgid "3 inches/sec." +msgstr "3 palce/sek." + +msgid "3 x 5" +msgstr "" + +msgid "3.00x1.00\"" +msgstr "3.00x1.00\"" + +msgid "3.00x1.25\"" +msgstr "3.00x1.25\"" + +msgid "3.00x2.00\"" +msgstr "3.00x2.00\"" + +msgid "3.00x3.00\"" +msgstr "3.00x3.00\"" + +msgid "3.00x5.00\"" +msgstr "3.00x5.00\"" + +msgid "3.25x2.00\"" +msgstr "3.25x2.00\"" + +msgid "3.25x5.00\"" +msgstr "3.25x5.00\"" + +msgid "3.25x5.50\"" +msgstr "3.25x5.50\"" + +msgid "3.25x5.83\"" +msgstr "3.25x5.83\"" + +msgid "3.25x7.83\"" +msgstr "3.25x7.83\"" + +msgid "3.5 x 5" +msgstr "" + +msgid "3.5\" Disk" +msgstr "3.5\" Disk" + +msgid "3.50x1.00\"" +msgstr "3.50x1.00\"" + +msgid "30" +msgstr "30" + +msgid "30 mm/sec." +msgstr "30 mm/sek." + +msgid "300 mm/sec." +msgstr "300 mm/sek." + +msgid "300dpi" +msgstr "300 dpi" + +msgid "35" +msgstr "35" + +msgid "360dpi" +msgstr "360 dpi" + +msgid "360x180dpi" +msgstr "360x180 dpi" + +msgid "4" +msgstr "4" + +msgid "4 inches/sec." +msgstr "4 palce/sek." + +msgid "4.00x1.00\"" +msgstr "4.00x1.00\"" + +msgid "4.00x13.00\"" +msgstr "4.00x13.00\"" + +msgid "4.00x2.00\"" +msgstr "4.00x2.00\"" + +msgid "4.00x2.50\"" +msgstr "4.00x2.50\"" + +msgid "4.00x3.00\"" +msgstr "4.00x3.00\"" + +msgid "4.00x4.00\"" +msgstr "4.00x4.00\"" + +msgid "4.00x5.00\"" +msgstr "4.00x5.00\"" + +msgid "4.00x6.00\"" +msgstr "4.00x6.00\"" + +msgid "4.00x6.50\"" +msgstr "4.00x6.50\"" + +msgid "40" +msgstr "40" + +msgid "40 mm/sec." +msgstr "40 mm/sek." + +msgid "45" +msgstr "45" + +msgid "5" +msgstr "5" + +msgid "5 inches/sec." +msgstr "5 palců/sek." + +msgid "5 x 7" +msgstr "" + +msgid "50" +msgstr "50" + +msgid "55" +msgstr "55" + +msgid "6" +msgstr "6" + +msgid "6 inches/sec." +msgstr "6 palců/sek." + +msgid "6.00x1.00\"" +msgstr "6.00x1.00\"" + +msgid "6.00x2.00\"" +msgstr "6.00x2.00\"" + +msgid "6.00x3.00\"" +msgstr "6.00x3.00\"" + +msgid "6.00x4.00\"" +msgstr "6.00x4.00\"" + +msgid "6.00x5.00\"" +msgstr "6.00x5.00\"" + +msgid "6.00x6.00\"" +msgstr "6.00x6.00\"" + +msgid "6.00x6.50\"" +msgstr "6.00x6.50\"" + +msgid "60" +msgstr "60" + +msgid "60 mm/sec." +msgstr "60 mm/sek." + +msgid "600dpi" +msgstr "600 dpi" + +msgid "60dpi" +msgstr "60 dpi" + +msgid "60x72dpi" +msgstr "" + +msgid "65" +msgstr "65" + +msgid "7" +msgstr "7" + +msgid "7 inches/sec." +msgstr "7 palců/sek." + +msgid "7 x 9" +msgstr "" + +msgid "70" +msgstr "70" + +msgid "75" +msgstr "75" + +msgid "8" +msgstr "8" + +msgid "8 inches/sec." +msgstr "8 palců/sek." + +msgid "8 x 10" +msgstr "" + +msgid "8.00x1.00\"" +msgstr "8.00x1.00\"" + +msgid "8.00x2.00\"" +msgstr "8.00x2.00\"" + +msgid "8.00x3.00\"" +msgstr "8.00x3.00\"" + +msgid "8.00x4.00\"" +msgstr "8.00x4.00\"" + +msgid "8.00x5.00\"" +msgstr "8.00x5.00\"" + +msgid "8.00x6.00\"" +msgstr "8.00x6.00\"" + +msgid "8.00x6.50\"" +msgstr "8.00x6.50\"" + +msgid "80" +msgstr "80" + +msgid "80 mm/sec." +msgstr "80 mm/sek." + +msgid "85" +msgstr "85" + +msgid "9" +msgstr "9" + +msgid "9 inches/sec." +msgstr "9 palců/sek." + +msgid "9 x 11" +msgstr "" + +msgid "9 x 12" +msgstr "" + +msgid "9-Pin Series" +msgstr "9 jehličková" + +msgid "90" +msgstr "90" + +msgid "95" +msgstr "95" + +msgid "?Invalid help command unknown." +msgstr "" + +#, c-format +msgid "A class named \"%s\" already exists." +msgstr "" + +#, c-format +msgid "A printer named \"%s\" already exists." +msgstr "" + +msgid "A0" +msgstr "A0" + +msgid "A0 Long Edge" +msgstr "" + +msgid "A1" +msgstr "A1" + +msgid "A1 Long Edge" +msgstr "" + +msgid "A10" +msgstr "A10" + +msgid "A2" +msgstr "A2" + +msgid "A2 Long Edge" +msgstr "" + +msgid "A3" +msgstr "A3" + +msgid "A3 Long Edge" +msgstr "" + +msgid "A3 Oversize" +msgstr "" + +msgid "A3 Oversize Long Edge" +msgstr "" + +msgid "A4" +msgstr "A4" + +msgid "A4 Long Edge" +msgstr "" + +msgid "A4 Oversize" +msgstr "" + +msgid "A4 Small" +msgstr "" + +msgid "A5" +msgstr "A5" + +msgid "A5 Long Edge" +msgstr "" + +msgid "A5 Oversize" +msgstr "" + +msgid "A6" +msgstr "A6" + +msgid "A6 Long Edge" +msgstr "" + +msgid "A7" +msgstr "A7" + +msgid "A8" +msgstr "A8" + +msgid "A9" +msgstr "A9" + +msgid "ANSI A" +msgstr "ANSI A" + +msgid "ANSI B" +msgstr "ANSI B" + +msgid "ANSI C" +msgstr "ANSI C" + +msgid "ANSI D" +msgstr "ANSI D" + +msgid "ANSI E" +msgstr "ANSI E" + +msgid "ARCH C" +msgstr "ARCH C" + +msgid "ARCH C Long Edge" +msgstr "" + +msgid "ARCH D" +msgstr "ARCH D" + +msgid "ARCH D Long Edge" +msgstr "" + +msgid "ARCH E" +msgstr "ARCH E" + +msgid "ARCH E Long Edge" +msgstr "" + +msgid "Accept Jobs" +msgstr "Příjem úloh" + +msgid "Accepted" +msgstr "Přijatý" + +msgid "Add Class" +msgstr "Přidat třídu" + +msgid "Add Printer" +msgstr "Přidat tiskárnu" + +msgid "Address" +msgstr "Adresa" + +msgid "Administration" +msgstr "Administrace" + +msgid "Always" +msgstr "Vždy" + +msgid "AppSocket/HP JetDirect" +msgstr "AppSocket/HP JetDirect" + +msgid "Applicator" +msgstr "Aplikátor" + +#, c-format +msgid "Attempt to set %s printer-state to bad value %d." +msgstr "" + +#, c-format +msgid "Attribute \"%s\" is in the wrong group." +msgstr "" + +#, c-format +msgid "Attribute \"%s\" is the wrong value type." +msgstr "" + +#, c-format +msgid "Attribute groups are out of order (%x < %x)." +msgstr "" + +msgid "B0" +msgstr "B0" + +msgid "B1" +msgstr "B1" + +msgid "B10" +msgstr "B10" + +msgid "B2" +msgstr "B2" + +msgid "B3" +msgstr "B3" + +msgid "B4" +msgstr "B4" + +msgid "B5" +msgstr "B5" + +msgid "B5 Oversize" +msgstr "" + +msgid "B6" +msgstr "B6" + +msgid "B7" +msgstr "B7" + +msgid "B8" +msgstr "B8" + +msgid "B9" +msgstr "B9" + +#, c-format +msgid "Bad \"printer-id\" value %d." +msgstr "" + +#, c-format +msgid "Bad '%s' value." +msgstr "" + +#, c-format +msgid "Bad 'document-format' value \"%s\"." +msgstr "" + +msgid "Bad CloseUI/JCLCloseUI" +msgstr "" + +msgid "Bad NULL dests pointer" +msgstr "Neplatný ukazatel NULL" + +msgid "Bad OpenGroup" +msgstr "Chybný OpenGroup" + +msgid "Bad OpenUI/JCLOpenUI" +msgstr "Chybný OpenUI/JCLOpenUI" + +msgid "Bad OrderDependency" +msgstr "Chybný OrderDependency" + +msgid "Bad PPD cache file." +msgstr "" + +msgid "Bad PPD file." +msgstr "" + +msgid "Bad Request" +msgstr "Chybný požadavek" + +msgid "Bad SNMP version number" +msgstr "Chybná verze SNMP" + +msgid "Bad UIConstraints" +msgstr "Chybný UIConstraints" + +msgid "Bad URI." +msgstr "" + +msgid "Bad arguments to function" +msgstr "" + +#, c-format +msgid "Bad copies value %d." +msgstr "Chybný počet kopií %d." + +msgid "Bad custom parameter" +msgstr "Chybný uživatelský parametr" + +#, c-format +msgid "Bad device-uri \"%s\"." +msgstr "" + +#, c-format +msgid "Bad device-uri scheme \"%s\"." +msgstr "" + +#, c-format +msgid "Bad document-format \"%s\"." +msgstr "" + +#, c-format +msgid "Bad document-format-default \"%s\"." +msgstr "" + +msgid "Bad filename buffer" +msgstr "" + +msgid "Bad hostname/address in URI" +msgstr "" + +#, c-format +msgid "Bad job-name value: %s" +msgstr "" + +msgid "Bad job-name value: Wrong type or count." +msgstr "" + +msgid "Bad job-priority value." +msgstr "" + +#, c-format +msgid "Bad job-sheets value \"%s\"." +msgstr "" + +msgid "Bad job-sheets value type." +msgstr "" + +msgid "Bad job-state value." +msgstr "" + +#, c-format +msgid "Bad job-uri \"%s\"." +msgstr "" + +#, c-format +msgid "Bad notify-pull-method \"%s\"." +msgstr "" + +#, c-format +msgid "Bad notify-recipient-uri \"%s\"." +msgstr "" + +#, c-format +msgid "Bad notify-user-data \"%s\"." +msgstr "" + +#, c-format +msgid "Bad number-up value %d." +msgstr "Chybná hodnota %d." + +#, c-format +msgid "Bad page-ranges values %d-%d." +msgstr "Chybný rozsah stránek %d-%d." + +msgid "Bad port number in URI" +msgstr "" + +#, c-format +msgid "Bad port-monitor \"%s\"." +msgstr "" + +#, c-format +msgid "Bad printer-state value %d." +msgstr "" + +msgid "Bad printer-uri." +msgstr "" + +#, c-format +msgid "Bad request ID %d." +msgstr "" + +#, c-format +msgid "Bad request version number %d.%d." +msgstr "" + +msgid "Bad resource in URI" +msgstr "" + +msgid "Bad scheme in URI" +msgstr "" + +msgid "Bad username in URI" +msgstr "" + +msgid "Bad value string" +msgstr "" + +msgid "Bad/empty URI" +msgstr "" + +msgid "Banners" +msgstr "Banery" + +msgid "Bond Paper" +msgstr "Kancelářský papír" + +msgid "Booklet" +msgstr "" + +#, c-format +msgid "Boolean expected for waiteof option \"%s\"." +msgstr "" + +msgid "Buffer overflow detected, aborting." +msgstr "" + +msgid "CMYK" +msgstr "CMYK" + +msgid "CPCL Label Printer" +msgstr "Tiskárna štítků CPCL" + +msgid "Cancel Jobs" +msgstr "" + +msgid "Canceling print job." +msgstr "" + +msgid "Cannot change printer-is-shared for remote queues." +msgstr "" + +msgid "Cannot share a remote Kerberized printer." +msgstr "" + +msgid "Cassette" +msgstr "" + +msgid "Change Settings" +msgstr "Změna nastavení" + +#, c-format +msgid "Character set \"%s\" not supported." +msgstr "" + +msgid "Classes" +msgstr "Třídy" + +msgid "Clean Print Heads" +msgstr "Vyčištění tiskových hlav" + +msgid "Close-Job doesn't support the job-uri attribute." +msgstr "" + +msgid "Color" +msgstr "Barva" + +msgid "Color Mode" +msgstr "Barevný režim" + +msgid "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" +msgstr "" + +msgid "Community name uses indefinite length" +msgstr "\"Community-Name\" má neomezenou délku" + +msgid "Connected to printer." +msgstr "" + +msgid "Connecting to printer." +msgstr "" + +msgid "Continue" +msgstr "Pokračovat" + +msgid "Continuous" +msgstr "Souvislý" + +msgid "Control file sent successfully." +msgstr "" + +msgid "Copying print data." +msgstr "" + +msgid "Created" +msgstr "Vytvořeno" + +msgid "Credentials do not validate against site CA certificate." +msgstr "" + +msgid "Credentials have expired." +msgstr "" + +msgid "Custom" +msgstr "Uživatelský" + +msgid "CustominCutInterval" +msgstr "CustominCutInterval" + +msgid "CustominTearInterval" +msgstr "CustominTearInterval" + +msgid "Cut" +msgstr "Snížit" + +msgid "Cutter" +msgstr "Výstřižek" + +msgid "Dark" +msgstr "Tmavý" + +msgid "Darkness" +msgstr "Tma" + +msgid "Data file sent successfully." +msgstr "" + +msgid "Deep Color" +msgstr "" + +msgid "Deep Gray" +msgstr "" + +msgid "Delete Class" +msgstr "Výmaz třídy" + +msgid "Delete Printer" +msgstr "Výmaz tiskárny" + +msgid "DeskJet Series" +msgstr "Řada DeskJet" + +#, c-format +msgid "Destination \"%s\" is not accepting jobs." +msgstr "Zařízení \"%s\" nepřijímá úlohy." + +msgid "Device CMYK" +msgstr "" + +msgid "Device Gray" +msgstr "" + +msgid "Device RGB" +msgstr "" + +#, c-format +msgid "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" +msgstr "" + +msgid "Direct Thermal Media" +msgstr "Termální médium" + +#, c-format +msgid "Directory \"%s\" contains a relative path." +msgstr "" + +#, c-format +msgid "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "" + +#, c-format +msgid "Directory \"%s\" is a file." +msgstr "" + +#, c-format +msgid "Directory \"%s\" not available: %s" +msgstr "" + +#, c-format +msgid "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "" + +msgid "Disabled" +msgstr "Zakázaný" + +#, c-format +msgid "Document #%d does not exist in job #%d." +msgstr "" + +msgid "Draft" +msgstr "" + +msgid "Duplexer" +msgstr "Duplexní jednotka" + +msgid "Dymo" +msgstr "Dymo" + +msgid "EPL1 Label Printer" +msgstr "Tiskárna štítků EPL1" + +msgid "EPL2 Label Printer" +msgstr "Tiskárna štítků EPL2" + +msgid "Edit Configuration File" +msgstr "Úprava konfiguračního souboru" + +msgid "Encryption is not supported." +msgstr "" + +#. TRANSLATORS: Banner/cover sheet after the print job. +msgid "Ending Banner" +msgstr "Ukončení baneru" + +msgid "English" +msgstr "Čeština" + +msgid "" +"Enter your username and password or the root username and password to access " +"this page. If you are using Kerberos authentication, make sure you have a " +"valid Kerberos ticket." +msgstr "" +"Zadejte své uživatelské jméno a heslo, nebo uživatelské jméno a heslo " +"administrátora pro přístup na tuto stránku. Pokud používáte ověřování " +"Kerberos, ujistěte se, že máte platný ticket Kerberosu." + +msgid "Envelope #10" +msgstr "" + +msgid "Envelope #11" +msgstr "" + +msgid "Envelope #12" +msgstr "" + +msgid "Envelope #14" +msgstr "" + +msgid "Envelope #9" +msgstr "" + +msgid "Envelope B4" +msgstr "" + +msgid "Envelope B5" +msgstr "" + +msgid "Envelope B6" +msgstr "" + +msgid "Envelope C0" +msgstr "" + +msgid "Envelope C1" +msgstr "" + +msgid "Envelope C2" +msgstr "" + +msgid "Envelope C3" +msgstr "" + +msgid "Envelope C4" +msgstr "" + +msgid "Envelope C5" +msgstr "" + +msgid "Envelope C6" +msgstr "" + +msgid "Envelope C65" +msgstr "" + +msgid "Envelope C7" +msgstr "" + +msgid "Envelope Choukei 3" +msgstr "" + +msgid "Envelope Choukei 3 Long Edge" +msgstr "" + +msgid "Envelope Choukei 4" +msgstr "" + +msgid "Envelope Choukei 4 Long Edge" +msgstr "" + +msgid "Envelope DL" +msgstr "" + +msgid "Envelope Feed" +msgstr "Podavač obálek" + +msgid "Envelope Invite" +msgstr "" + +msgid "Envelope Italian" +msgstr "" + +msgid "Envelope Kaku2" +msgstr "" + +msgid "Envelope Kaku2 Long Edge" +msgstr "" + +msgid "Envelope Kaku3" +msgstr "" + +msgid "Envelope Kaku3 Long Edge" +msgstr "" + +msgid "Envelope Monarch" +msgstr "" + +msgid "Envelope PRC1" +msgstr "" + +msgid "Envelope PRC1 Long Edge" +msgstr "" + +msgid "Envelope PRC10" +msgstr "" + +msgid "Envelope PRC10 Long Edge" +msgstr "" + +msgid "Envelope PRC2" +msgstr "" + +msgid "Envelope PRC2 Long Edge" +msgstr "" + +msgid "Envelope PRC3" +msgstr "" + +msgid "Envelope PRC3 Long Edge" +msgstr "" + +msgid "Envelope PRC4" +msgstr "" + +msgid "Envelope PRC4 Long Edge" +msgstr "" + +msgid "Envelope PRC5 Long Edge" +msgstr "" + +msgid "Envelope PRC5PRC5" +msgstr "" + +msgid "Envelope PRC6" +msgstr "" + +msgid "Envelope PRC6 Long Edge" +msgstr "" + +msgid "Envelope PRC7" +msgstr "" + +msgid "Envelope PRC7 Long Edge" +msgstr "" + +msgid "Envelope PRC8" +msgstr "" + +msgid "Envelope PRC8 Long Edge" +msgstr "" + +msgid "Envelope PRC9" +msgstr "" + +msgid "Envelope PRC9 Long Edge" +msgstr "" + +msgid "Envelope Personal" +msgstr "" + +msgid "Envelope You4" +msgstr "" + +msgid "Envelope You4 Long Edge" +msgstr "" + +msgid "Environment Variables:" +msgstr "" + +msgid "Epson" +msgstr "Epson" + +msgid "Error Policy" +msgstr "Chování při chybě" + +msgid "Error reading raster data." +msgstr "" + +msgid "Error sending raster data." +msgstr "" + +msgid "Error: need hostname after \"-h\" option." +msgstr "" + +msgid "European Fanfold" +msgstr "" + +msgid "European Fanfold Legal" +msgstr "" + +msgid "Every 10 Labels" +msgstr "Každých 10 štítků" + +msgid "Every 2 Labels" +msgstr "Každé 2 štítky" + +msgid "Every 3 Labels" +msgstr "Každé 3 štítky" + +msgid "Every 4 Labels" +msgstr "Každé 4 štítky" + +msgid "Every 5 Labels" +msgstr "Každých 5 štítků" + +msgid "Every 6 Labels" +msgstr "Každých 6 štítků" + +msgid "Every 7 Labels" +msgstr "Každých 7 štítků" + +msgid "Every 8 Labels" +msgstr "Každých 8 štítků" + +msgid "Every 9 Labels" +msgstr "Každých 9 štítků" + +msgid "Every Label" +msgstr "Každý štítek" + +msgid "Executive" +msgstr "" + +msgid "Expectation Failed" +msgstr "Očekávané údaje jsou neplatné" + +msgid "Expressions:" +msgstr "" + +msgid "Fast Grayscale" +msgstr "" + +#, c-format +msgid "File \"%s\" contains a relative path." +msgstr "" + +#, c-format +msgid "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "" + +#, c-format +msgid "File \"%s\" is a directory." +msgstr "" + +#, c-format +msgid "File \"%s\" not available: %s" +msgstr "" + +#, c-format +msgid "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "" + +msgid "File Folder" +msgstr "" + +#, c-format +msgid "" +"File device URIs have been disabled. To enable, see the FileDevice directive " +"in \"%s/cups-files.conf\"." +msgstr "" + +#, c-format +msgid "Finished page %d." +msgstr "" + +msgid "Finishing Preset" +msgstr "" + +msgid "Fold" +msgstr "" + +msgid "Folio" +msgstr "Fólie" + +msgid "Forbidden" +msgstr "Zakázaný" + +msgid "Found" +msgstr "" + +msgid "General" +msgstr "Obecný" + +msgid "Generic" +msgstr "Obecný" + +msgid "Get-Response-PDU uses indefinite length" +msgstr "\"Get-Response-PDU\" má neomezenou délku" + +msgid "Glossy Paper" +msgstr "Lesklý papír" + +msgid "Got a printer-uri attribute but no job-id." +msgstr "" + +msgid "Grayscale" +msgstr "Stupně šedi" + +msgid "HP" +msgstr "HP" + +msgid "Hanging Folder" +msgstr "Závěsná složka" + +msgid "Hash buffer too small." +msgstr "" + +msgid "Help file not in index." +msgstr "" + +msgid "High" +msgstr "" + +msgid "IPP 1setOf attribute with incompatible value tags." +msgstr "" + +msgid "IPP attribute has no name." +msgstr "" + +msgid "IPP attribute is not a member of the message." +msgstr "" + +msgid "IPP begCollection value not 0 bytes." +msgstr "" + +msgid "IPP boolean value not 1 byte." +msgstr "" + +msgid "IPP date value not 11 bytes." +msgstr "" + +msgid "IPP endCollection value not 0 bytes." +msgstr "" + +msgid "IPP enum value not 4 bytes." +msgstr "" + +msgid "IPP extension tag larger than 0x7FFFFFFF." +msgstr "" + +msgid "IPP integer value not 4 bytes." +msgstr "" + +msgid "IPP language length overflows value." +msgstr "" + +msgid "IPP language length too large." +msgstr "" + +msgid "IPP member name is not empty." +msgstr "" + +msgid "IPP memberName value is empty." +msgstr "" + +msgid "IPP memberName with no attribute." +msgstr "" + +msgid "IPP name larger than 32767 bytes." +msgstr "" + +msgid "IPP nameWithLanguage value less than minimum 4 bytes." +msgstr "" + +msgid "IPP octetString length too large." +msgstr "" + +msgid "IPP rangeOfInteger value not 8 bytes." +msgstr "" + +msgid "IPP resolution value not 9 bytes." +msgstr "" + +msgid "IPP string length overflows value." +msgstr "" + +msgid "IPP textWithLanguage value less than minimum 4 bytes." +msgstr "" + +msgid "IPP value larger than 32767 bytes." +msgstr "" + +msgid "IPPFIND_SERVICE_DOMAIN Domain name" +msgstr "" + +msgid "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" +msgstr "" + +msgid "IPPFIND_SERVICE_NAME Service instance name" +msgstr "" + +msgid "IPPFIND_SERVICE_PORT Port number" +msgstr "" + +msgid "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" +msgstr "" + +msgid "IPPFIND_SERVICE_SCHEME URI scheme" +msgstr "" + +msgid "IPPFIND_SERVICE_URI URI" +msgstr "" + +msgid "IPPFIND_TXT_* Value of TXT record key" +msgstr "" + +msgid "ISOLatin1" +msgstr "ISOLatin1" + +msgid "Illegal control character" +msgstr "Neplatný řídící znak" + +msgid "Illegal main keyword string" +msgstr "Neplatné hlavní klíčové slovo řetězce" + +msgid "Illegal option keyword string" +msgstr "Neplatná volba klíčového slova řetězce" + +msgid "Illegal translation string" +msgstr "Neplatný překlad řetězce" + +msgid "Illegal whitespace character" +msgstr "Nedovolený prázdný znak" + +msgid "Installable Options" +msgstr "Možnosti instalace" + +msgid "Installed" +msgstr "Instalovaný" + +msgid "IntelliBar Label Printer" +msgstr "Tiskárna štítků \"IntelliBar\"" + +msgid "Intellitech" +msgstr "Intellitech" + +msgid "Internal Server Error" +msgstr "" + +msgid "Internal error" +msgstr "Vniřní chyba" + +msgid "Internet Postage 2-Part" +msgstr "Internet Postage 2-Part" + +msgid "Internet Postage 3-Part" +msgstr "Internet Postage 3-Part" + +msgid "Internet Printing Protocol" +msgstr "Internetový tiskový protokol" + +msgid "Invalid group tag." +msgstr "" + +msgid "Invalid media name arguments." +msgstr "" + +msgid "Invalid media size." +msgstr "" + +msgid "Invalid named IPP attribute in collection." +msgstr "" + +msgid "Invalid ppd-name value." +msgstr "" + +#, c-format +msgid "Invalid printer command \"%s\"." +msgstr "" + +msgid "JCL" +msgstr "JCL" + +msgid "JIS B0" +msgstr "" + +msgid "JIS B1" +msgstr "" + +msgid "JIS B10" +msgstr "" + +msgid "JIS B2" +msgstr "" + +msgid "JIS B3" +msgstr "" + +msgid "JIS B4" +msgstr "" + +msgid "JIS B4 Long Edge" +msgstr "" + +msgid "JIS B5" +msgstr "" + +msgid "JIS B5 Long Edge" +msgstr "" + +msgid "JIS B6" +msgstr "" + +msgid "JIS B6 Long Edge" +msgstr "" + +msgid "JIS B7" +msgstr "" + +msgid "JIS B8" +msgstr "" + +msgid "JIS B9" +msgstr "" + +#, c-format +msgid "Job #%d cannot be restarted - no files." +msgstr "" + +#, c-format +msgid "Job #%d does not exist." +msgstr "" + +#, c-format +msgid "Job #%d is already aborted - can't cancel." +msgstr "Úloha #%d je již zrušena - nelze zrušit." + +#, c-format +msgid "Job #%d is already canceled - can't cancel." +msgstr "Úloha #%d je již zrušena - nelze zrušit." + +#, c-format +msgid "Job #%d is already completed - can't cancel." +msgstr "Úloha #%d je již dokončena - nelze zrušit." + +#, c-format +msgid "Job #%d is finished and cannot be altered." +msgstr "" + +#, c-format +msgid "Job #%d is not complete." +msgstr "" + +#, c-format +msgid "Job #%d is not held for authentication." +msgstr "" + +#, c-format +msgid "Job #%d is not held." +msgstr "" + +msgid "Job Completed" +msgstr "Úloha dokončena" + +msgid "Job Created" +msgstr "Úloha vytvořena" + +msgid "Job Options Changed" +msgstr "Změna parametrů úlohy" + +msgid "Job Stopped" +msgstr "Úloha zastavena" + +msgid "Job is completed and cannot be changed." +msgstr "Úloha je dokončena a nelze ji změnit." + +msgid "Job operation failed" +msgstr "Úloha se nezdařila" + +msgid "Job state cannot be changed." +msgstr "Stav úlohy nelze změnit." + +msgid "Job subscriptions cannot be renewed." +msgstr "" + +msgid "Jobs" +msgstr "Úlohy" + +msgid "LPD/LPR Host or Printer" +msgstr "LPD/LPR hostitel nebo tiskárna" + +msgid "" +"LPDEST environment variable names default destination that does not exist." +msgstr "" + +msgid "Label Printer" +msgstr "Tiskárna štítků" + +msgid "Label Top" +msgstr "Horní štítek" + +#, c-format +msgid "Language \"%s\" not supported." +msgstr "" + +msgid "Large Address" +msgstr "Plná adresa" + +msgid "LaserJet Series PCL 4/5" +msgstr "LaserJet Serie PCL 4/5" + +msgid "Letter Oversize" +msgstr "" + +msgid "Letter Oversize Long Edge" +msgstr "" + +msgid "Light" +msgstr "Světlý" + +msgid "Line longer than the maximum allowed (255 characters)" +msgstr "Řádek je delší než maximální povolená velikost (255 znaků)" + +msgid "List Available Printers" +msgstr "Seznam dostupných tiskáren" + +#, c-format +msgid "Listening on port %d." +msgstr "" + +msgid "Local printer created." +msgstr "" + +msgid "Long-Edge (Portrait)" +msgstr "Delší okraj (na výšku)" + +msgid "Looking for printer." +msgstr "" + +msgid "Manual Feed" +msgstr "Ruční podávání" + +msgid "Media Size" +msgstr "Velikost média" + +msgid "Media Source" +msgstr "Zdroj média" + +msgid "Media Tracking" +msgstr "Sledování média" + +msgid "Media Type" +msgstr "Typ média" + +msgid "Medium" +msgstr "Střední" + +msgid "Memory allocation error" +msgstr "Chyba přidělení paměti" + +msgid "Missing CloseGroup" +msgstr "" + +msgid "Missing CloseUI/JCLCloseUI" +msgstr "" + +msgid "Missing PPD-Adobe-4.x header" +msgstr "Chybějící záhlaví PPD-Adobe-4.x" + +msgid "Missing asterisk in column 1" +msgstr "Chybí hvězdička ve sloupci 1" + +msgid "Missing document-number attribute." +msgstr "" + +msgid "Missing form variable" +msgstr "" + +msgid "Missing last-document attribute in request." +msgstr "" + +msgid "Missing media or media-col." +msgstr "" + +msgid "Missing media-size in media-col." +msgstr "" + +msgid "Missing notify-subscription-ids attribute." +msgstr "" + +msgid "Missing option keyword" +msgstr "" + +msgid "Missing requesting-user-name attribute." +msgstr "" + +#, c-format +msgid "Missing required attribute \"%s\"." +msgstr "" + +msgid "Missing required attributes." +msgstr "" + +msgid "Missing resource in URI" +msgstr "" + +msgid "Missing scheme in URI" +msgstr "" + +msgid "Missing value string" +msgstr "Chybí hodnota řetězce" + +msgid "Missing x-dimension in media-size." +msgstr "" + +msgid "Missing y-dimension in media-size." +msgstr "" + +#, c-format +msgid "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" +msgstr "" + +msgid "Modifiers:" +msgstr "" + +msgid "Modify Class" +msgstr "Úprava třídy" + +msgid "Modify Printer" +msgstr "Úprava tiskárny" + +msgid "Move All Jobs" +msgstr "Přesun všech úloh" + +msgid "Move Job" +msgstr "Přesun úlohy" + +msgid "Moved Permanently" +msgstr "Trvale přesunuto" + +msgid "NULL PPD file pointer" +msgstr "Prázdný ukazatel PPD souboru" + +msgid "Name OID uses indefinite length" +msgstr "Název \"OID\" má neomezenou délku" + +msgid "Nested classes are not allowed." +msgstr "" + +msgid "Never" +msgstr "Nikdy" + +msgid "New credentials are not valid for name." +msgstr "" + +msgid "New credentials are older than stored credentials." +msgstr "" + +msgid "No" +msgstr "Ne" + +msgid "No Content" +msgstr "Žádný obsah" + +msgid "No IPP attributes." +msgstr "" + +msgid "No PPD name" +msgstr "" + +msgid "No VarBind SEQUENCE" +msgstr "Žádná VarBind SEQUENCE" + +msgid "No active connection" +msgstr "Není aktivní spojení" + +msgid "No active connection." +msgstr "" + +#, c-format +msgid "No active jobs on %s." +msgstr "" + +msgid "No attributes in request." +msgstr "" + +msgid "No authentication information provided." +msgstr "" + +msgid "No common name specified." +msgstr "" + +msgid "No community name" +msgstr "Žádný název komunity" + +msgid "No default destination." +msgstr "" + +msgid "No default printer." +msgstr "" + +msgid "No destinations added." +msgstr "Zařízení nepřidáno." + +msgid "No device URI found in argv[0] or in DEVICE_URI environment variable." +msgstr "" + +msgid "No error-index" +msgstr "Žádný \"error-index\"" + +msgid "No error-status" +msgstr "Žádný \"error-status\"" + +msgid "No file in print request." +msgstr "" + +msgid "No modification time" +msgstr "" + +msgid "No name OID" +msgstr "Žádný název OID" + +msgid "No pages were found." +msgstr "" + +msgid "No printer name" +msgstr "" + +msgid "No printer-uri found" +msgstr "" + +msgid "No printer-uri found for class" +msgstr "" + +msgid "No printer-uri in request." +msgstr "" + +msgid "No request URI." +msgstr "" + +msgid "No request protocol version." +msgstr "" + +msgid "No request sent." +msgstr "" + +msgid "No request-id" +msgstr "Žádný ID požadavek" + +msgid "No stored credentials, not valid for name." +msgstr "" + +msgid "No subscription attributes in request." +msgstr "" + +msgid "No subscriptions found." +msgstr "Nenalezeno předplatné." + +msgid "No variable-bindings SEQUENCE" +msgstr "Žádná \"variable-bindings\" SEQUENCE" + +msgid "No version number" +msgstr "Není číslo verze" + +msgid "Non-continuous (Mark sensing)" +msgstr "Není souvislý (Mark Sensing)" + +msgid "Non-continuous (Web sensing)" +msgstr "Není souvislý (Web Sensing)" + +msgid "None" +msgstr "" + +msgid "Normal" +msgstr "Normální" + +msgid "Not Found" +msgstr "Nebyl nalezen" + +msgid "Not Implemented" +msgstr "Nerealizováno" + +msgid "Not Installed" +msgstr "Nenainstalováno" + +msgid "Not Modified" +msgstr "Nezměněno" + +msgid "Not Supported" +msgstr "Nepodporováno" + +msgid "Not allowed to print." +msgstr "Není povoleno tisknout." + +msgid "Note" +msgstr "Poznámka" + +msgid "OK" +msgstr "OK" + +msgid "Off (1-Sided)" +msgstr "Vypnuto (jednostranný)" + +msgid "Oki" +msgstr "Oki" + +msgid "Online Help" +msgstr "Nápověda" + +msgid "Only local users can create a local printer." +msgstr "" + +#, c-format +msgid "Open of %s failed: %s" +msgstr "Otevření %s selhalo: %s" + +msgid "OpenGroup without a CloseGroup first" +msgstr "Opengroup nepředcházelo CloseGroup" + +msgid "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" +msgstr "OpenUI/JCLOpenUI nepředcházelo CloseUI/JCLCloseUI" + +msgid "Operation Policy" +msgstr "Způsob ověření" + +#, c-format +msgid "Option \"%s\" cannot be included via %%%%IncludeFeature." +msgstr "" + +msgid "Options Installed" +msgstr "Instalované možnosti" + +msgid "Options:" +msgstr "" + +msgid "Other Media" +msgstr "" + +msgid "Other Tray" +msgstr "" + +msgid "Out of date PPD cache file." +msgstr "" + +msgid "Out of memory." +msgstr "" + +msgid "Output Mode" +msgstr "Výstupní režim" + +msgid "PCL Laser Printer" +msgstr "PCL laserová tiskárna" + +msgid "PRC16K" +msgstr "PRC16K" + +msgid "PRC16K Long Edge" +msgstr "" + +msgid "PRC32K" +msgstr "PRC32K" + +msgid "PRC32K Long Edge" +msgstr "" + +msgid "PRC32K Oversize" +msgstr "" + +msgid "PRC32K Oversize Long Edge" +msgstr "" + +msgid "" +"PRINTER environment variable names default destination that does not exist." +msgstr "" + +msgid "Packet does not contain a Get-Response-PDU" +msgstr "Packet neobsahuje \"Get-Response-PDU\"" + +msgid "Packet does not start with SEQUENCE" +msgstr "Paket nezačíná SEQUENCÍ" + +msgid "ParamCustominCutInterval" +msgstr "ParamCustominCutInterval" + +msgid "ParamCustominTearInterval" +msgstr "ParamCustominTearInterval" + +#, c-format +msgid "Password for %s on %s? " +msgstr "Heslo pro %s na %s? " + +msgid "Pause Class" +msgstr "Pozastavení třídy" + +msgid "Pause Printer" +msgstr "Pozastavení tiskárny" + +msgid "Peel-Off" +msgstr "Peel-Off" + +msgid "Photo" +msgstr "Fotografie" + +msgid "Photo Labels" +msgstr "Foto-samolepky" + +msgid "Plain Paper" +msgstr "Obyčejný papír" + +msgid "Policies" +msgstr "Pravidla" + +msgid "Port Monitor" +msgstr "Monitorování portu" + +msgid "PostScript Printer" +msgstr "PostScriptová tiskárna" + +msgid "Postcard" +msgstr "Pohlednice" + +msgid "Postcard Double" +msgstr "" + +msgid "Postcard Double Long Edge" +msgstr "" + +msgid "Postcard Long Edge" +msgstr "" + +msgid "Preparing to print." +msgstr "" + +msgid "Print Density" +msgstr "Hustota tisku" + +msgid "Print Job:" +msgstr "Tisk úlohy:" + +msgid "Print Mode" +msgstr "Režim tisku" + +msgid "Print Quality" +msgstr "" + +msgid "Print Rate" +msgstr "Kvalita tisku" + +msgid "Print Self-Test Page" +msgstr "Tisk \"self-test\" stránky" + +msgid "Print Speed" +msgstr "Rychlost tisku" + +msgid "Print Test Page" +msgstr "Tisk zkušební stránky" + +msgid "Print and Cut" +msgstr "Tisk a vyjmout" + +msgid "Print and Tear" +msgstr "Tisk a odtrhnout" + +msgid "Print file sent." +msgstr "" + +msgid "Print job canceled at printer." +msgstr "" + +msgid "Print job too large." +msgstr "" + +msgid "Print job was not accepted." +msgstr "" + +#, c-format +msgid "Printer \"%s\" already exists." +msgstr "" + +msgid "Printer Added" +msgstr "Tiskárna přidána" + +msgid "Printer Default" +msgstr "Výchozí tiskárna" + +msgid "Printer Deleted" +msgstr "Tiskárna vymazána" + +msgid "Printer Modified" +msgstr "Tiskárna upravena" + +msgid "Printer Paused" +msgstr "Tiskárna zastavena" + +msgid "Printer Settings" +msgstr "Nastavení tiskárny" + +msgid "Printer cannot print supplied content." +msgstr "" + +msgid "Printer cannot print with supplied options." +msgstr "" + +msgid "Printer does not support required IPP attributes or document formats." +msgstr "" + +msgid "Printer:" +msgstr "Tiskárna:" + +msgid "Printers" +msgstr "Tiskárny" + +#, c-format +msgid "Printing page %d, %u%% complete." +msgstr "" + +msgid "Punch" +msgstr "" + +msgid "Quarto" +msgstr "Quarto" + +msgid "Quota limit reached." +msgstr "Kvóta byla překročena." + +msgid "Rank Owner Job File(s) Total Size" +msgstr "" + +msgid "Reject Jobs" +msgstr "Odmítnutí úloh" + +#, c-format +msgid "Remote host did not accept control file (%d)." +msgstr "" + +#, c-format +msgid "Remote host did not accept data file (%d)." +msgstr "" + +msgid "Reprint After Error" +msgstr "Opakovat tisk po chybě" + +msgid "Request Entity Too Large" +msgstr "Dotaz Entity je příliš dlouhý" + +msgid "Resolution" +msgstr "Rozlišení" + +msgid "Resume Class" +msgstr "Obnovení třídy" + +msgid "Resume Printer" +msgstr "Obnovení tiskárny" + +msgid "Return Address" +msgstr "Návrat adresy" + +msgid "Rewind" +msgstr "Přetočit" + +msgid "SEQUENCE uses indefinite length" +msgstr "\"SEQUENCE\" má neomezenou délku" + +msgid "SSL/TLS Negotiation Error" +msgstr "" + +msgid "See Other" +msgstr "Viz další" + +msgid "See remote printer." +msgstr "" + +msgid "Self-signed credentials are blocked." +msgstr "" + +msgid "Sending data to printer." +msgstr "" + +msgid "Server Restarted" +msgstr "Restart serveru" + +msgid "Server Security Auditing" +msgstr "Audit bezpečnosti serveru" + +msgid "Server Started" +msgstr "Start serveru" + +msgid "Server Stopped" +msgstr "Zastavení serveru" + +msgid "Server credentials not set." +msgstr "" + +msgid "Service Unavailable" +msgstr "Služba je nedostupná" + +msgid "Set Allowed Users" +msgstr "Nastavení přístupu uživatelů" + +msgid "Set As Server Default" +msgstr "Nastavení jako výchozí na serveru" + +msgid "Set Class Options" +msgstr "Nastavení parametrů třídy" + +msgid "Set Printer Options" +msgstr "Nastavení parametrů tiskárny" + +msgid "Set Publishing" +msgstr "Nastavení vydávání" + +msgid "Shipping Address" +msgstr "Doručovací adresa" + +msgid "Short-Edge (Landscape)" +msgstr "Kratší okraj (na šířku)" + +msgid "Special Paper" +msgstr "Speciální papír" + +#, c-format +msgid "Spooling job, %.0f%% complete." +msgstr "" + +msgid "Standard" +msgstr "Standardní" + +msgid "Staple" +msgstr "" + +#. TRANSLATORS: Banner/cover sheet before the print job. +msgid "Starting Banner" +msgstr "Spuštění baneru" + +#, c-format +msgid "Starting page %d." +msgstr "" + +msgid "Statement" +msgstr "Prohlášení" + +#, c-format +msgid "Subscription #%d does not exist." +msgstr "" + +msgid "Substitutions:" +msgstr "" + +msgid "Super A" +msgstr "Super A" + +msgid "Super B" +msgstr "Super B" + +msgid "Super B/A3" +msgstr "Super B/A3" + +msgid "Switching Protocols" +msgstr "Protokol výměny" + +msgid "Tabloid" +msgstr "Tabloid" + +msgid "Tabloid Oversize" +msgstr "" + +msgid "Tabloid Oversize Long Edge" +msgstr "" + +msgid "Tear" +msgstr "Odtrhnout" + +msgid "Tear-Off" +msgstr "Odtrhnout" + +msgid "Tear-Off Adjust Position" +msgstr "Nastavení pozice odtržení" + +#, c-format +msgid "The \"%s\" attribute is required for print jobs." +msgstr "" + +#, c-format +msgid "The %s attribute cannot be provided with job-ids." +msgstr "" + +#, c-format +msgid "" +"The '%s' Job Status attribute cannot be supplied in a job creation request." +msgstr "" + +#, c-format +msgid "" +"The '%s' operation attribute cannot be supplied in a Create-Job request." +msgstr "" + +#, c-format +msgid "The PPD file \"%s\" could not be found." +msgstr "Soubor PPD \"%s\" nelze nalézt." + +#, c-format +msgid "The PPD file \"%s\" could not be opened: %s" +msgstr "Soubor PPD \"%s\" nelze otevřít: %s" + +msgid "The PPD file could not be opened." +msgstr "" + +msgid "" +"The class name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/), or the pound sign (#)." +msgstr "" +"Název třídy může obsahovat až 127 tisknutelných znaků a nesmí obsahovat " +"mezery, lomítka (/), nebo křížek (#)." + +msgid "" +"The notify-lease-duration attribute cannot be used with job subscriptions." +msgstr "Atribut \"notify-lease-duration\" nelze použít s přihlášenou úlohou." + +#, c-format +msgid "The notify-user-data value is too large (%d > 63 octets)." +msgstr "" + +msgid "The printer configuration is incorrect or the printer no longer exists." +msgstr "" + +msgid "The printer did not respond." +msgstr "" + +msgid "The printer is in use." +msgstr "" + +msgid "The printer is not connected." +msgstr "" + +msgid "The printer is not responding." +msgstr "" + +msgid "The printer is now connected." +msgstr "" + +msgid "The printer is now online." +msgstr "" + +msgid "The printer is offline." +msgstr "" + +msgid "The printer is unreachable at this time." +msgstr "" + +msgid "The printer may not exist or is unavailable at this time." +msgstr "" + +msgid "" +"The printer name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the " +"pound sign (#)." +msgstr "" + +msgid "The printer or class does not exist." +msgstr "" + +msgid "The printer or class is not shared." +msgstr "" + +#, c-format +msgid "The printer-uri \"%s\" contains invalid characters." +msgstr "Tiskárna-URI \"%s\" obsahuje neplatné znaky." + +msgid "The printer-uri attribute is required." +msgstr "" + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." +msgstr "Tiskárna-URI musí být ve tvaru \"ipp://HOSTNAME/classes/CLASSNAME\"." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." +msgstr "" +"Tiskárna-URI musí být ve tvaru \"ipp://HOSTNAME/printers/PRINTERNAME\"." + +msgid "" +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to " +"enable it." +msgstr "" + +#, c-format +msgid "The which-jobs value \"%s\" is not supported." +msgstr "" + +msgid "There are too many subscriptions." +msgstr "Existuje příliš mnoho předplatných." + +msgid "There was an unrecoverable USB error." +msgstr "" + +msgid "Thermal Transfer Media" +msgstr "Termální tisková média" + +msgid "Too many active jobs." +msgstr "Příliš mnoho aktivních úloh." + +#, c-format +msgid "Too many job-sheets values (%d > 2)." +msgstr "" + +#, c-format +msgid "Too many printer-state-reasons values (%d > %d)." +msgstr "" + +msgid "Transparency" +msgstr "Průhlednost" + +msgid "Tray" +msgstr "Podavač" + +msgid "Tray 1" +msgstr "Podavač 1" + +msgid "Tray 2" +msgstr "Podavač 2" + +msgid "Tray 3" +msgstr "Podavač 3" + +msgid "Tray 4" +msgstr "Podavač 4" + +msgid "Trust on first use is disabled." +msgstr "" + +msgid "URI Too Long" +msgstr "URI je příliš dlouhá" + +msgid "URI too large" +msgstr "" + +msgid "US Fanfold" +msgstr "" + +msgid "US Ledger" +msgstr "US Ledger" + +msgid "US Legal" +msgstr "US Legal" + +msgid "US Legal Oversize" +msgstr "" + +msgid "US Letter" +msgstr "US Letter" + +msgid "US Letter Long Edge" +msgstr "" + +msgid "US Letter Oversize" +msgstr "" + +msgid "US Letter Oversize Long Edge" +msgstr "" + +msgid "US Letter Small" +msgstr "" + +msgid "Unable to access cupsd.conf file" +msgstr "Nelze získat přístup k souboru \"cupsd.conf\"" + +msgid "Unable to access help file." +msgstr "" + +msgid "Unable to add class" +msgstr "Nelze přidat třídu" + +msgid "Unable to add document to print job." +msgstr "" + +#, c-format +msgid "Unable to add job for destination \"%s\"." +msgstr "" + +msgid "Unable to add printer" +msgstr "Nelze přidat tiskárnu" + +msgid "Unable to allocate memory for file types." +msgstr "" + +msgid "Unable to allocate memory for page info" +msgstr "" + +msgid "Unable to allocate memory for pages array" +msgstr "" + +msgid "Unable to allocate memory for printer" +msgstr "" + +msgid "Unable to cancel print job." +msgstr "" + +msgid "Unable to change printer" +msgstr "Nelze změnit tiskárnu" + +msgid "Unable to change printer-is-shared attribute" +msgstr "Nelze změnit atribut \"sdílení tiskárny\"" + +msgid "Unable to change server settings" +msgstr "Nelze změnit nastavení serveru" + +#, c-format +msgid "Unable to compile mimeMediaType regular expression: %s." +msgstr "" + +#, c-format +msgid "Unable to compile naturalLanguage regular expression: %s." +msgstr "" + +msgid "Unable to configure printer options." +msgstr "" + +msgid "Unable to connect to host." +msgstr "Nelze se připojit k hostiteli." + +msgid "Unable to contact printer, queuing on next printer in class." +msgstr "" + +#, c-format +msgid "Unable to copy PPD file - %s" +msgstr "" + +msgid "Unable to copy PPD file." +msgstr "" + +msgid "Unable to create credentials from array." +msgstr "" + +msgid "Unable to create printer-uri" +msgstr "" + +msgid "Unable to create printer." +msgstr "" + +msgid "Unable to create server credentials." +msgstr "" + +#, c-format +msgid "Unable to create spool directory \"%s\": %s" +msgstr "" + +msgid "Unable to create temporary file" +msgstr "" + +msgid "Unable to delete class" +msgstr "Nelze vymazat třídu" + +msgid "Unable to delete printer" +msgstr "Nelze vymazat tiskárnu" + +msgid "Unable to do maintenance command" +msgstr "Nelze provést příkaz údržby" + +msgid "Unable to edit cupsd.conf files larger than 1MB" +msgstr "" + +#, c-format +msgid "Unable to establish a secure connection to host (%d)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (certificate chain invalid)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (certificate not yet valid)." +msgstr "" + +msgid "Unable to establish a secure connection to host (expired certificate)." +msgstr "" + +msgid "Unable to establish a secure connection to host (host name mismatch)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (peer dropped connection " +"before responding)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (self-signed certificate)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (untrusted certificate)." +msgstr "" + +msgid "Unable to establish a secure connection to host." +msgstr "" + +#, c-format +msgid "Unable to execute command \"%s\": %s" +msgstr "" + +msgid "Unable to find destination for job" +msgstr "" + +msgid "Unable to find printer." +msgstr "" + +msgid "Unable to find server credentials." +msgstr "" + +msgid "Unable to get backend exit status." +msgstr "" + +msgid "Unable to get class list" +msgstr "Nelze získat seznam tříd" + +msgid "Unable to get class status" +msgstr "Nelze získat stav třídy" + +msgid "Unable to get list of printer drivers" +msgstr "Nelze získat seznam ovladačů tiskárny" + +msgid "Unable to get printer attributes" +msgstr "Nelze získat atributy tiskárny" + +msgid "Unable to get printer list" +msgstr "Nelze získat seznam tiskáren" + +msgid "Unable to get printer status" +msgstr "" + +msgid "Unable to get printer status." +msgstr "Nelze získat stav tiskárny." + +msgid "Unable to load help index." +msgstr "" + +#, c-format +msgid "Unable to locate printer \"%s\"." +msgstr "" + +msgid "Unable to locate printer." +msgstr "" + +msgid "Unable to modify class" +msgstr "Nelze změnit třídu" + +msgid "Unable to modify printer" +msgstr "Nelze změnit tiskárnu" + +msgid "Unable to move job" +msgstr "Nelze přesunout úlohu" + +msgid "Unable to move jobs" +msgstr "Nelze přesunout úlohy" + +msgid "Unable to open PPD file" +msgstr "Nelze otevřít PPD soubor" + +msgid "Unable to open cupsd.conf file:" +msgstr "Nelze otevřít soubor \"cupsd.conf\":" + +msgid "Unable to open device file" +msgstr "" + +#, c-format +msgid "Unable to open document #%d in job #%d." +msgstr "" + +msgid "Unable to open help file." +msgstr "" + +msgid "Unable to open print file" +msgstr "" + +msgid "Unable to open raster file" +msgstr "" + +msgid "Unable to print test page" +msgstr "Nelze vytisknout zkušební stránku" + +msgid "Unable to read print data." +msgstr "" + +#, c-format +msgid "Unable to register \"%s.%s\": %d" +msgstr "" + +msgid "Unable to rename job document file." +msgstr "" + +msgid "Unable to resolve printer-uri." +msgstr "" + +msgid "Unable to see in file" +msgstr "" + +msgid "Unable to send command to printer driver" +msgstr "" + +msgid "Unable to send data to printer." +msgstr "" + +msgid "Unable to set options" +msgstr "Nelze nastavit parametry" + +msgid "Unable to set server default" +msgstr "Nelze nastavit výchozí server" + +msgid "Unable to start backend process." +msgstr "" + +msgid "Unable to upload cupsd.conf file" +msgstr "Nelze nahrát soubor \"cupsd.conf\"" + +msgid "Unable to use legacy USB class driver." +msgstr "" + +msgid "Unable to write print data" +msgstr "" + +#, c-format +msgid "Unable to write uncompressed print data: %s" +msgstr "" + +msgid "Unauthorized" +msgstr "Nepovolený" + +msgid "Units" +msgstr "Jednotky" + +msgid "Unknown" +msgstr "Neznámý" + +#, c-format +msgid "Unknown choice \"%s\" for option \"%s\"." +msgstr "" + +#, c-format +msgid "Unknown directive \"%s\" on line %d of \"%s\" ignored." +msgstr "" + +#, c-format +msgid "Unknown encryption option value: \"%s\"." +msgstr "" + +#, c-format +msgid "Unknown file order: \"%s\"." +msgstr "" + +#, c-format +msgid "Unknown format character: \"%c\"." +msgstr "" + +msgid "Unknown hash algorithm." +msgstr "" + +msgid "Unknown media size name." +msgstr "" + +#, c-format +msgid "Unknown option \"%s\" with value \"%s\"." +msgstr "" + +#, c-format +msgid "Unknown option \"%s\"." +msgstr "" + +#, c-format +msgid "Unknown print mode: \"%s\"." +msgstr "" + +#, c-format +msgid "Unknown printer-error-policy \"%s\"." +msgstr "Neznámá printer-error-policy „%s“." + +#, c-format +msgid "Unknown printer-op-policy \"%s\"." +msgstr "Neznámá printer-op-policy „%s“." + +msgid "Unknown request method." +msgstr "" + +msgid "Unknown request version." +msgstr "" + +msgid "Unknown scheme in URI" +msgstr "" + +msgid "Unknown service name." +msgstr "" + +#, c-format +msgid "Unknown version option value: \"%s\"." +msgstr "" + +#, c-format +msgid "Unsupported 'compression' value \"%s\"." +msgstr "" + +#, c-format +msgid "Unsupported 'document-format' value \"%s\"." +msgstr "" + +msgid "Unsupported 'job-hold-until' value." +msgstr "" + +msgid "Unsupported 'job-name' value." +msgstr "" + +#, c-format +msgid "Unsupported character set \"%s\"." +msgstr "" + +#, c-format +msgid "Unsupported compression \"%s\"." +msgstr "" + +#, c-format +msgid "Unsupported document-format \"%s\"." +msgstr "" + +#, c-format +msgid "Unsupported document-format \"%s/%s\"." +msgstr "" + +#, c-format +msgid "Unsupported format \"%s\"." +msgstr "" + +msgid "Unsupported margins." +msgstr "" + +msgid "Unsupported media value." +msgstr "" + +#, c-format +msgid "Unsupported number-up value %d, using number-up=1." +msgstr "" + +#, c-format +msgid "Unsupported number-up-layout value %s, using number-up-layout=lrtb." +msgstr "" + +#, c-format +msgid "Unsupported page-border value %s, using page-border=none." +msgstr "" + +msgid "Unsupported raster data." +msgstr "" + +msgid "Unsupported value type" +msgstr "Nepodporovaný typ hodnoty" + +msgid "Upgrade Required" +msgstr "Povinné aktualizace" + +#, c-format +msgid "Usage: %s [options] destination(s)" +msgstr "" + +#, c-format +msgid "Usage: %s job-id user title copies options [file]" +msgstr "" + +msgid "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" +msgstr "" + +msgid "Usage: cupsctl [options] [param=value ... paramN=valueN]" +msgstr "" + +msgid "Usage: cupsd [options]" +msgstr "" + +msgid "Usage: cupsfilter [ options ] [ -- ] filename" +msgstr "" + +msgid "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" +msgstr "" + +msgid "Usage: ippeveprinter [options] \"name\"" +msgstr "" + +msgid "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" +msgstr "" + +msgid "Usage: ipptool [options] URI filename [ ... filenameN ]" +msgstr "" + +msgid "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" +msgstr "" + +msgid "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" +msgstr "" + +msgid "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" +msgstr "" + +msgid "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" +msgstr "" + +msgid "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" +msgstr "" + +msgid "Usage: lpq [options] [+interval]" +msgstr "" + +msgid "Usage: lpr [options] [file(s)]" +msgstr "" + +msgid "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" +msgstr "" + +msgid "Usage: lpstat [options]" +msgstr "" + +msgid "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" +msgstr "" + +msgid "Usage: ppdhtml [options] filename.drv >filename.html" +msgstr "" + +msgid "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "" + +msgid "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "" + +msgid "" +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" +msgstr "" + +msgid "Usage: snmp [host-or-ip-address]" +msgstr "" + +#, c-format +msgid "Using spool directory \"%s\"." +msgstr "" + +msgid "Value uses indefinite length" +msgstr "Hodnota má neomezenou délku" + +msgid "VarBind uses indefinite length" +msgstr "VarBind má neomezenou délku" + +msgid "Version uses indefinite length" +msgstr "Version má neomezenou délku" + +msgid "Waiting for job to complete." +msgstr "" + +msgid "Waiting for printer to become available." +msgstr "" + +msgid "Waiting for printer to finish." +msgstr "" + +msgid "Warning: This program will be removed in a future version of CUPS." +msgstr "" + +msgid "Web Interface is Disabled" +msgstr "" + +msgid "Yes" +msgstr "Ano" + +msgid "You cannot access this page." +msgstr "" + +#, c-format +msgid "You must access this page using the URL https://%s:%d%s." +msgstr "Pro přístup k této stránce, použijte adresu URL https://%s:%d%s." + +msgid "Your account does not have the necessary privileges." +msgstr "" + +msgid "ZPL Label Printer" +msgstr "Tiskárna štítků ZPL" + +msgid "Zebra" +msgstr "Zebra" + +msgid "aborted" +msgstr "zrušeno" + +#. TRANSLATORS: Accuracy Units +msgid "accuracy-units" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "accuracy-units.mm" +msgstr "" + +#. TRANSLATORS: Nanometers +msgid "accuracy-units.nm" +msgstr "" + +#. TRANSLATORS: Micrometers +msgid "accuracy-units.um" +msgstr "" + +#. TRANSLATORS: Bale Output +msgid "baling" +msgstr "" + +#. TRANSLATORS: Bale Using +msgid "baling-type" +msgstr "" + +#. TRANSLATORS: Band +msgid "baling-type.band" +msgstr "" + +#. TRANSLATORS: Shrink Wrap +msgid "baling-type.shrink-wrap" +msgstr "" + +#. TRANSLATORS: Wrap +msgid "baling-type.wrap" +msgstr "" + +#. TRANSLATORS: Bale After +msgid "baling-when" +msgstr "" + +#. TRANSLATORS: Job +msgid "baling-when.after-job" +msgstr "" + +#. TRANSLATORS: Sets +msgid "baling-when.after-sets" +msgstr "" + +#. TRANSLATORS: Bind Output +msgid "binding" +msgstr "" + +#. TRANSLATORS: Bind Edge +msgid "binding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "binding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "binding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "binding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "binding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Binder Type +msgid "binding-type" +msgstr "" + +#. TRANSLATORS: Adhesive +msgid "binding-type.adhesive" +msgstr "" + +#. TRANSLATORS: Comb +msgid "binding-type.comb" +msgstr "" + +#. TRANSLATORS: Flat +msgid "binding-type.flat" +msgstr "" + +#. TRANSLATORS: Padding +msgid "binding-type.padding" +msgstr "" + +#. TRANSLATORS: Perfect +msgid "binding-type.perfect" +msgstr "" + +#. TRANSLATORS: Spiral +msgid "binding-type.spiral" +msgstr "" + +#. TRANSLATORS: Tape +msgid "binding-type.tape" +msgstr "" + +#. TRANSLATORS: Velo +msgid "binding-type.velo" +msgstr "" + +msgid "canceled" +msgstr "zrušeno" + +#. TRANSLATORS: Chamber Humidity +msgid "chamber-humidity" +msgstr "" + +#. TRANSLATORS: Chamber Temperature +msgid "chamber-temperature" +msgstr "" + +#. TRANSLATORS: Print Job Cost +msgid "charge-info-message" +msgstr "" + +#. TRANSLATORS: Coat Sheets +msgid "coating" +msgstr "" + +#. TRANSLATORS: Add Coating To +msgid "coating-sides" +msgstr "" + +#. TRANSLATORS: Back +msgid "coating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "coating-sides.both" +msgstr "" + +#. TRANSLATORS: Front +msgid "coating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Coating +msgid "coating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "coating-type.archival" +msgstr "" + +#. TRANSLATORS: Archival Glossy +msgid "coating-type.archival-glossy" +msgstr "" + +#. TRANSLATORS: Archival Matte +msgid "coating-type.archival-matte" +msgstr "" + +#. TRANSLATORS: Archival Semi Gloss +msgid "coating-type.archival-semi-gloss" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "coating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "coating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "coating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "coating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Silicone +msgid "coating-type.silicone" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "coating-type.translucent" +msgstr "" + +msgid "completed" +msgstr "dokončeno" + +#. TRANSLATORS: Print Confirmation Sheet +msgid "confirmation-sheet-print" +msgstr "" + +#. TRANSLATORS: Copies +msgid "copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "cover-front" +msgstr "" + +#. TRANSLATORS: Cover Sheet Info +msgid "cover-sheet-info" +msgstr "" + +#. TRANSLATORS: Date Time +msgid "cover-sheet-info-supported.date-time" +msgstr "" + +#. TRANSLATORS: From Name +msgid "cover-sheet-info-supported.from-name" +msgstr "" + +#. TRANSLATORS: Logo +msgid "cover-sheet-info-supported.logo" +msgstr "" + +#. TRANSLATORS: Message +msgid "cover-sheet-info-supported.message" +msgstr "" + +#. TRANSLATORS: Organization +msgid "cover-sheet-info-supported.organization" +msgstr "" + +#. TRANSLATORS: Subject +msgid "cover-sheet-info-supported.subject" +msgstr "" + +#. TRANSLATORS: To Name +msgid "cover-sheet-info-supported.to-name" +msgstr "" + +#. TRANSLATORS: Printed Cover +msgid "cover-type" +msgstr "" + +#. TRANSLATORS: No Cover +msgid "cover-type.no-cover" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "cover-type.print-back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "cover-type.print-both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "cover-type.print-front" +msgstr "" + +#. TRANSLATORS: None +msgid "cover-type.print-none" +msgstr "" + +#. TRANSLATORS: Cover Output +msgid "covering" +msgstr "" + +#. TRANSLATORS: Add Cover +msgid "covering-name" +msgstr "" + +#. TRANSLATORS: Plain +msgid "covering-name.plain" +msgstr "" + +#. TRANSLATORS: Pre-cut +msgid "covering-name.pre-cut" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "covering-name.pre-printed" +msgstr "" + +msgid "cups-deviced failed to execute." +msgstr "Nepodařilo se spustit \"cups-deviced\"." + +msgid "cups-driverd failed to execute." +msgstr "Nepodařilo se spustit \"cups-driverd\"." + +#, c-format +msgid "cupsctl: Cannot set %s directly." +msgstr "" + +#, c-format +msgid "cupsctl: Unable to connect to server: %s" +msgstr "" + +#, c-format +msgid "cupsctl: Unknown option \"%s\"" +msgstr "" + +#, c-format +msgid "cupsctl: Unknown option \"-%c\"" +msgstr "" + +msgid "cupsd: Expected config filename after \"-c\" option." +msgstr "" + +msgid "cupsd: Expected cups-files.conf filename after \"-s\" option." +msgstr "" + +msgid "cupsd: On-demand support not compiled in, running in normal mode." +msgstr "" + +msgid "cupsd: Relative cups-files.conf filename not allowed." +msgstr "" + +msgid "cupsd: Unable to get current directory." +msgstr "" + +msgid "cupsd: Unable to get path to cups-files.conf file." +msgstr "" + +#, c-format +msgid "cupsd: Unknown argument \"%s\" - aborting." +msgstr "" + +#, c-format +msgid "cupsd: Unknown option \"%c\" - aborting." +msgstr "" + +#, c-format +msgid "cupsfilter: Invalid document number %d." +msgstr "" + +#, c-format +msgid "cupsfilter: Invalid job ID %d." +msgstr "" + +msgid "cupsfilter: Only one filename can be specified." +msgstr "" + +#, c-format +msgid "cupsfilter: Unable to get job file - %s" +msgstr "" + +msgid "cupstestppd: The -q option is incompatible with the -v option." +msgstr "" + +msgid "cupstestppd: The -v option is incompatible with the -q option." +msgstr "" + +#. TRANSLATORS: Detailed Status Message +msgid "detailed-status-message" +msgstr "" + +#, c-format +msgid "device for %s/%s: %s" +msgstr "" + +#, c-format +msgid "device for %s: %s" +msgstr "" + +#. TRANSLATORS: Copies +msgid "document-copies" +msgstr "" + +#. TRANSLATORS: Document Privacy Attributes +msgid "document-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Document Description +msgid "document-privacy-attributes.document-description" +msgstr "" + +#. TRANSLATORS: Document Template +msgid "document-privacy-attributes.document-template" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Document Privacy Scope +msgid "document-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "document-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Document State +msgid "document-state" +msgstr "" + +#. TRANSLATORS: Detailed Document State +msgid "document-state-reasons" +msgstr "" + +#. TRANSLATORS: Aborted By System +msgid "document-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Canceled At Device +msgid "document-state-reasons.canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled By Operator +msgid "document-state-reasons.canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled By User +msgid "document-state-reasons.canceled-by-user" +msgstr "" + +#. TRANSLATORS: Completed Successfully +msgid "document-state-reasons.completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed With Errors +msgid "document-state-reasons.completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed With Warnings +msgid "document-state-reasons.completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Compression Error +msgid "document-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Data Insufficient +msgid "document-state-reasons.data-insufficient" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "document-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "document-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Digital Signature Wait +msgid "document-state-reasons.digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "document-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "document-state-reasons.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "document-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "document-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "document-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "document-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "document-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "document-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "document-state-reasons.incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "document-state-reasons.interpreting" +msgstr "" + +#. TRANSLATORS: None +msgid "document-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "document-state-reasons.outgoing" +msgstr "" + +#. TRANSLATORS: Printing +msgid "document-state-reasons.printing" +msgstr "" + +#. TRANSLATORS: Processing To Stop Point +msgid "document-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Queued +msgid "document-state-reasons.queued" +msgstr "" + +#. TRANSLATORS: Queued For Marker +msgid "document-state-reasons.queued-for-marker" +msgstr "" + +#. TRANSLATORS: Queued In Device +msgid "document-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "document-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "document-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "document-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "document-state-reasons.transforming" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "document-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "document-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "document-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "document-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "document-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "document-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "document-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "document-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "document-state.9" +msgstr "" + +msgid "error-index uses indefinite length" +msgstr "\"error-index\" má neomezenou délku" + +msgid "error-status uses indefinite length" +msgstr "\"error-status\" má neomezenou délku" + +msgid "" +"expression --and expression\n" +" Logical AND" +msgstr "" + +msgid "" +"expression --or expression\n" +" Logical OR" +msgstr "" + +msgid "expression expression Logical AND" +msgstr "" + +#. TRANSLATORS: Feed Orientation +msgid "feed-orientation" +msgstr "" + +#. TRANSLATORS: Long Edge First +msgid "feed-orientation.long-edge-first" +msgstr "" + +#. TRANSLATORS: Short Edge First +msgid "feed-orientation.short-edge-first" +msgstr "" + +#. TRANSLATORS: Fetch Status Code +msgid "fetch-status-code" +msgstr "" + +#. TRANSLATORS: Finishing Template +msgid "finishing-template" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishing-template.bale" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishing-template.bind" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishing-template.bind-bottom" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishing-template.bind-left" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishing-template.bind-right" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishing-template.bind-top" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishing-template.booklet-maker" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishing-template.coat" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishing-template.cover" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishing-template.edge-stitch" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishing-template.edge-stitch-bottom" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishing-template.edge-stitch-left" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishing-template.edge-stitch-right" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishing-template.edge-stitch-top" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishing-template.fold" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishing-template.fold-accordion" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishing-template.fold-double-gate" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishing-template.fold-engineering-z" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishing-template.fold-gate" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishing-template.fold-half" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishing-template.fold-half-z" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishing-template.fold-left-gate" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishing-template.fold-letter" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishing-template.fold-parallel" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishing-template.fold-poster" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishing-template.fold-right-gate" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishing-template.fold-z" +msgstr "" + +#. TRANSLATORS: JDF F10-1 +msgid "finishing-template.jdf-f10-1" +msgstr "" + +#. TRANSLATORS: JDF F10-2 +msgid "finishing-template.jdf-f10-2" +msgstr "" + +#. TRANSLATORS: JDF F10-3 +msgid "finishing-template.jdf-f10-3" +msgstr "" + +#. TRANSLATORS: JDF F12-1 +msgid "finishing-template.jdf-f12-1" +msgstr "" + +#. TRANSLATORS: JDF F12-10 +msgid "finishing-template.jdf-f12-10" +msgstr "" + +#. TRANSLATORS: JDF F12-11 +msgid "finishing-template.jdf-f12-11" +msgstr "" + +#. TRANSLATORS: JDF F12-12 +msgid "finishing-template.jdf-f12-12" +msgstr "" + +#. TRANSLATORS: JDF F12-13 +msgid "finishing-template.jdf-f12-13" +msgstr "" + +#. TRANSLATORS: JDF F12-14 +msgid "finishing-template.jdf-f12-14" +msgstr "" + +#. TRANSLATORS: JDF F12-2 +msgid "finishing-template.jdf-f12-2" +msgstr "" + +#. TRANSLATORS: JDF F12-3 +msgid "finishing-template.jdf-f12-3" +msgstr "" + +#. TRANSLATORS: JDF F12-4 +msgid "finishing-template.jdf-f12-4" +msgstr "" + +#. TRANSLATORS: JDF F12-5 +msgid "finishing-template.jdf-f12-5" +msgstr "" + +#. TRANSLATORS: JDF F12-6 +msgid "finishing-template.jdf-f12-6" +msgstr "" + +#. TRANSLATORS: JDF F12-7 +msgid "finishing-template.jdf-f12-7" +msgstr "" + +#. TRANSLATORS: JDF F12-8 +msgid "finishing-template.jdf-f12-8" +msgstr "" + +#. TRANSLATORS: JDF F12-9 +msgid "finishing-template.jdf-f12-9" +msgstr "" + +#. TRANSLATORS: JDF F14-1 +msgid "finishing-template.jdf-f14-1" +msgstr "" + +#. TRANSLATORS: JDF F16-1 +msgid "finishing-template.jdf-f16-1" +msgstr "" + +#. TRANSLATORS: JDF F16-10 +msgid "finishing-template.jdf-f16-10" +msgstr "" + +#. TRANSLATORS: JDF F16-11 +msgid "finishing-template.jdf-f16-11" +msgstr "" + +#. TRANSLATORS: JDF F16-12 +msgid "finishing-template.jdf-f16-12" +msgstr "" + +#. TRANSLATORS: JDF F16-13 +msgid "finishing-template.jdf-f16-13" +msgstr "" + +#. TRANSLATORS: JDF F16-14 +msgid "finishing-template.jdf-f16-14" +msgstr "" + +#. TRANSLATORS: JDF F16-2 +msgid "finishing-template.jdf-f16-2" +msgstr "" + +#. TRANSLATORS: JDF F16-3 +msgid "finishing-template.jdf-f16-3" +msgstr "" + +#. TRANSLATORS: JDF F16-4 +msgid "finishing-template.jdf-f16-4" +msgstr "" + +#. TRANSLATORS: JDF F16-5 +msgid "finishing-template.jdf-f16-5" +msgstr "" + +#. TRANSLATORS: JDF F16-6 +msgid "finishing-template.jdf-f16-6" +msgstr "" + +#. TRANSLATORS: JDF F16-7 +msgid "finishing-template.jdf-f16-7" +msgstr "" + +#. TRANSLATORS: JDF F16-8 +msgid "finishing-template.jdf-f16-8" +msgstr "" + +#. TRANSLATORS: JDF F16-9 +msgid "finishing-template.jdf-f16-9" +msgstr "" + +#. TRANSLATORS: JDF F18-1 +msgid "finishing-template.jdf-f18-1" +msgstr "" + +#. TRANSLATORS: JDF F18-2 +msgid "finishing-template.jdf-f18-2" +msgstr "" + +#. TRANSLATORS: JDF F18-3 +msgid "finishing-template.jdf-f18-3" +msgstr "" + +#. TRANSLATORS: JDF F18-4 +msgid "finishing-template.jdf-f18-4" +msgstr "" + +#. TRANSLATORS: JDF F18-5 +msgid "finishing-template.jdf-f18-5" +msgstr "" + +#. TRANSLATORS: JDF F18-6 +msgid "finishing-template.jdf-f18-6" +msgstr "" + +#. TRANSLATORS: JDF F18-7 +msgid "finishing-template.jdf-f18-7" +msgstr "" + +#. TRANSLATORS: JDF F18-8 +msgid "finishing-template.jdf-f18-8" +msgstr "" + +#. TRANSLATORS: JDF F18-9 +msgid "finishing-template.jdf-f18-9" +msgstr "" + +#. TRANSLATORS: JDF F2-1 +msgid "finishing-template.jdf-f2-1" +msgstr "" + +#. TRANSLATORS: JDF F20-1 +msgid "finishing-template.jdf-f20-1" +msgstr "" + +#. TRANSLATORS: JDF F20-2 +msgid "finishing-template.jdf-f20-2" +msgstr "" + +#. TRANSLATORS: JDF F24-1 +msgid "finishing-template.jdf-f24-1" +msgstr "" + +#. TRANSLATORS: JDF F24-10 +msgid "finishing-template.jdf-f24-10" +msgstr "" + +#. TRANSLATORS: JDF F24-11 +msgid "finishing-template.jdf-f24-11" +msgstr "" + +#. TRANSLATORS: JDF F24-2 +msgid "finishing-template.jdf-f24-2" +msgstr "" + +#. TRANSLATORS: JDF F24-3 +msgid "finishing-template.jdf-f24-3" +msgstr "" + +#. TRANSLATORS: JDF F24-4 +msgid "finishing-template.jdf-f24-4" +msgstr "" + +#. TRANSLATORS: JDF F24-5 +msgid "finishing-template.jdf-f24-5" +msgstr "" + +#. TRANSLATORS: JDF F24-6 +msgid "finishing-template.jdf-f24-6" +msgstr "" + +#. TRANSLATORS: JDF F24-7 +msgid "finishing-template.jdf-f24-7" +msgstr "" + +#. TRANSLATORS: JDF F24-8 +msgid "finishing-template.jdf-f24-8" +msgstr "" + +#. TRANSLATORS: JDF F24-9 +msgid "finishing-template.jdf-f24-9" +msgstr "" + +#. TRANSLATORS: JDF F28-1 +msgid "finishing-template.jdf-f28-1" +msgstr "" + +#. TRANSLATORS: JDF F32-1 +msgid "finishing-template.jdf-f32-1" +msgstr "" + +#. TRANSLATORS: JDF F32-2 +msgid "finishing-template.jdf-f32-2" +msgstr "" + +#. TRANSLATORS: JDF F32-3 +msgid "finishing-template.jdf-f32-3" +msgstr "" + +#. TRANSLATORS: JDF F32-4 +msgid "finishing-template.jdf-f32-4" +msgstr "" + +#. TRANSLATORS: JDF F32-5 +msgid "finishing-template.jdf-f32-5" +msgstr "" + +#. TRANSLATORS: JDF F32-6 +msgid "finishing-template.jdf-f32-6" +msgstr "" + +#. TRANSLATORS: JDF F32-7 +msgid "finishing-template.jdf-f32-7" +msgstr "" + +#. TRANSLATORS: JDF F32-8 +msgid "finishing-template.jdf-f32-8" +msgstr "" + +#. TRANSLATORS: JDF F32-9 +msgid "finishing-template.jdf-f32-9" +msgstr "" + +#. TRANSLATORS: JDF F36-1 +msgid "finishing-template.jdf-f36-1" +msgstr "" + +#. TRANSLATORS: JDF F36-2 +msgid "finishing-template.jdf-f36-2" +msgstr "" + +#. TRANSLATORS: JDF F4-1 +msgid "finishing-template.jdf-f4-1" +msgstr "" + +#. TRANSLATORS: JDF F4-2 +msgid "finishing-template.jdf-f4-2" +msgstr "" + +#. TRANSLATORS: JDF F40-1 +msgid "finishing-template.jdf-f40-1" +msgstr "" + +#. TRANSLATORS: JDF F48-1 +msgid "finishing-template.jdf-f48-1" +msgstr "" + +#. TRANSLATORS: JDF F48-2 +msgid "finishing-template.jdf-f48-2" +msgstr "" + +#. TRANSLATORS: JDF F6-1 +msgid "finishing-template.jdf-f6-1" +msgstr "" + +#. TRANSLATORS: JDF F6-2 +msgid "finishing-template.jdf-f6-2" +msgstr "" + +#. TRANSLATORS: JDF F6-3 +msgid "finishing-template.jdf-f6-3" +msgstr "" + +#. TRANSLATORS: JDF F6-4 +msgid "finishing-template.jdf-f6-4" +msgstr "" + +#. TRANSLATORS: JDF F6-5 +msgid "finishing-template.jdf-f6-5" +msgstr "" + +#. TRANSLATORS: JDF F6-6 +msgid "finishing-template.jdf-f6-6" +msgstr "" + +#. TRANSLATORS: JDF F6-7 +msgid "finishing-template.jdf-f6-7" +msgstr "" + +#. TRANSLATORS: JDF F6-8 +msgid "finishing-template.jdf-f6-8" +msgstr "" + +#. TRANSLATORS: JDF F64-1 +msgid "finishing-template.jdf-f64-1" +msgstr "" + +#. TRANSLATORS: JDF F64-2 +msgid "finishing-template.jdf-f64-2" +msgstr "" + +#. TRANSLATORS: JDF F8-1 +msgid "finishing-template.jdf-f8-1" +msgstr "" + +#. TRANSLATORS: JDF F8-2 +msgid "finishing-template.jdf-f8-2" +msgstr "" + +#. TRANSLATORS: JDF F8-3 +msgid "finishing-template.jdf-f8-3" +msgstr "" + +#. TRANSLATORS: JDF F8-4 +msgid "finishing-template.jdf-f8-4" +msgstr "" + +#. TRANSLATORS: JDF F8-5 +msgid "finishing-template.jdf-f8-5" +msgstr "" + +#. TRANSLATORS: JDF F8-6 +msgid "finishing-template.jdf-f8-6" +msgstr "" + +#. TRANSLATORS: JDF F8-7 +msgid "finishing-template.jdf-f8-7" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishing-template.jog-offset" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishing-template.laminate" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishing-template.punch" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishing-template.punch-bottom-left" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishing-template.punch-bottom-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishing-template.punch-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishing-template.punch-dual-left" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishing-template.punch-dual-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishing-template.punch-dual-top" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishing-template.punch-multiple-bottom" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishing-template.punch-multiple-left" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishing-template.punch-multiple-right" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishing-template.punch-multiple-top" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishing-template.punch-quad-bottom" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishing-template.punch-quad-left" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishing-template.punch-quad-right" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishing-template.punch-quad-top" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishing-template.punch-top-left" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishing-template.punch-top-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishing-template.punch-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishing-template.punch-triple-left" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishing-template.punch-triple-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishing-template.punch-triple-top" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishing-template.saddle-stitch" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishing-template.staple" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishing-template.staple-bottom-left" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishing-template.staple-bottom-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishing-template.staple-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishing-template.staple-dual-left" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishing-template.staple-dual-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishing-template.staple-dual-top" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishing-template.staple-top-left" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishing-template.staple-top-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishing-template.staple-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishing-template.staple-triple-left" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishing-template.staple-triple-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishing-template.staple-triple-top" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishing-template.trim" +msgstr "" + +#. TRANSLATORS: Trim After Every Set +msgid "finishing-template.trim-after-copies" +msgstr "" + +#. TRANSLATORS: Trim After Every Document +msgid "finishing-template.trim-after-documents" +msgstr "" + +#. TRANSLATORS: Trim After Job +msgid "finishing-template.trim-after-job" +msgstr "" + +#. TRANSLATORS: Trim After Every Page +msgid "finishing-template.trim-after-pages" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings-col" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishings.10" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishings.100" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishings.101" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishings.11" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishings.12" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishings.13" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishings.14" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishings.15" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishings.16" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishings.20" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishings.21" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishings.22" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishings.23" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishings.24" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishings.25" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishings.26" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishings.27" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishings.28" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishings.29" +msgstr "" + +#. TRANSLATORS: None +msgid "finishings.3" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishings.30" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishings.31" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishings.32" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishings.33" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishings.34" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishings.35" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishings.4" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishings.5" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishings.50" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishings.51" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishings.52" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishings.53" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishings.6" +msgstr "" + +#. TRANSLATORS: Trim Pages +msgid "finishings.60" +msgstr "" + +#. TRANSLATORS: Trim Documents +msgid "finishings.61" +msgstr "" + +#. TRANSLATORS: Trim Copies +msgid "finishings.62" +msgstr "" + +#. TRANSLATORS: Trim Job +msgid "finishings.63" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishings.7" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishings.70" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishings.71" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishings.72" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishings.73" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishings.74" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishings.75" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishings.76" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishings.77" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishings.78" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishings.79" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishings.8" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishings.80" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishings.81" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishings.82" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishings.83" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishings.84" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishings.85" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishings.86" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishings.87" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishings.88" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishings.89" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishings.9" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishings.90" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishings.91" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishings.92" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishings.93" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishings.94" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishings.95" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishings.96" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishings.97" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishings.98" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishings.99" +msgstr "" + +#. TRANSLATORS: Fold +msgid "folding" +msgstr "" + +#. TRANSLATORS: Fold Direction +msgid "folding-direction" +msgstr "" + +#. TRANSLATORS: Inward +msgid "folding-direction.inward" +msgstr "" + +#. TRANSLATORS: Outward +msgid "folding-direction.outward" +msgstr "" + +#. TRANSLATORS: Fold Position +msgid "folding-offset" +msgstr "" + +#. TRANSLATORS: Fold Edge +msgid "folding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "folding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "folding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "folding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "folding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Font Name +msgid "font-name-requested" +msgstr "" + +#. TRANSLATORS: Font Size +msgid "font-size-requested" +msgstr "" + +#. TRANSLATORS: Force Front Side +msgid "force-front-side" +msgstr "" + +#. TRANSLATORS: From Name +msgid "from-name" +msgstr "" + +msgid "held" +msgstr "pozastaveno" + +msgid "help\t\tGet help on commands." +msgstr "" + +msgid "idle" +msgstr "čeká" + +#. TRANSLATORS: Imposition Template +msgid "imposition-template" +msgstr "" + +#. TRANSLATORS: None +msgid "imposition-template.none" +msgstr "" + +#. TRANSLATORS: Signature +msgid "imposition-template.signature" +msgstr "" + +#. TRANSLATORS: Insert Page Number +msgid "insert-after-page-number" +msgstr "" + +#. TRANSLATORS: Insert Count +msgid "insert-count" +msgstr "" + +#. TRANSLATORS: Insert Sheet +msgid "insert-sheet" +msgstr "" + +#, c-format +msgid "ippeveprinter: Unable to open \"%s\": %s on line %d." +msgstr "" + +#, c-format +msgid "ippfind: Bad regular expression: %s" +msgstr "" + +msgid "ippfind: Cannot use --and after --or." +msgstr "" + +#, c-format +msgid "ippfind: Expected key name after %s." +msgstr "" + +#, c-format +msgid "ippfind: Expected port range after %s." +msgstr "" + +#, c-format +msgid "ippfind: Expected program after %s." +msgstr "" + +#, c-format +msgid "ippfind: Expected semi-colon after %s." +msgstr "" + +msgid "ippfind: Missing close brace in substitution." +msgstr "" + +msgid "ippfind: Missing close parenthesis." +msgstr "" + +msgid "ippfind: Missing expression before \"--and\"." +msgstr "" + +msgid "ippfind: Missing expression before \"--or\"." +msgstr "" + +#, c-format +msgid "ippfind: Missing key name after %s." +msgstr "" + +#, c-format +msgid "ippfind: Missing name after %s." +msgstr "" + +msgid "ippfind: Missing open parenthesis." +msgstr "" + +#, c-format +msgid "ippfind: Missing program after %s." +msgstr "" + +#, c-format +msgid "ippfind: Missing regular expression after %s." +msgstr "" + +#, c-format +msgid "ippfind: Missing semi-colon after %s." +msgstr "" + +msgid "ippfind: Out of memory." +msgstr "" + +msgid "ippfind: Too many parenthesis." +msgstr "" + +#, c-format +msgid "ippfind: Unable to browse or resolve: %s" +msgstr "" + +#, c-format +msgid "ippfind: Unable to execute \"%s\": %s" +msgstr "" + +#, c-format +msgid "ippfind: Unable to use Bonjour: %s" +msgstr "" + +#, c-format +msgid "ippfind: Unknown variable \"{%s}\"." +msgstr "" + +msgid "" +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", " +"and \"-X\"." +msgstr "" + +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." +msgstr "" + +#, c-format +msgid "ipptool: Bad URI \"%s\"." +msgstr "" + +msgid "ipptool: Invalid seconds for \"-i\"." +msgstr "" + +msgid "ipptool: May only specify a single URI." +msgstr "" + +msgid "ipptool: Missing count for \"-n\"." +msgstr "" + +msgid "ipptool: Missing filename for \"--ippserver\"." +msgstr "" + +msgid "ipptool: Missing filename for \"-f\"." +msgstr "" + +msgid "ipptool: Missing name=value for \"-d\"." +msgstr "" + +msgid "ipptool: Missing seconds for \"-i\"." +msgstr "" + +msgid "ipptool: URI required before test file." +msgstr "" + +#. TRANSLATORS: Job Account ID +msgid "job-account-id" +msgstr "" + +#. TRANSLATORS: Job Account Type +msgid "job-account-type" +msgstr "" + +#. TRANSLATORS: General +msgid "job-account-type.general" +msgstr "" + +#. TRANSLATORS: Group +msgid "job-account-type.group" +msgstr "" + +#. TRANSLATORS: None +msgid "job-account-type.none" +msgstr "" + +#. TRANSLATORS: Job Accounting Output Bin +msgid "job-accounting-output-bin" +msgstr "" + +#. TRANSLATORS: Job Accounting Sheets +msgid "job-accounting-sheets" +msgstr "" + +#. TRANSLATORS: Type of Job Accounting Sheets +msgid "job-accounting-sheets-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-accounting-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-accounting-sheets-type.standard" +msgstr "" + +#. TRANSLATORS: Job Accounting User ID +msgid "job-accounting-user-id" +msgstr "" + +#. TRANSLATORS: Job Cancel After +msgid "job-cancel-after" +msgstr "" + +#. TRANSLATORS: Copies +msgid "job-copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "job-cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "job-cover-front" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-delay-output-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-delay-output-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-delay-output-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-delay-output-until.night" +msgstr "" + +#. TRANSLATORS: No Delay +msgid "job-delay-output-until.no-delay-output" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-delay-output-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-delay-output-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-delay-output-until.weekend" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "job-error-action.abort-job" +msgstr "" + +#. TRANSLATORS: Cancel Job +msgid "job-error-action.cancel-job" +msgstr "" + +#. TRANSLATORS: Continue Job +msgid "job-error-action.continue-job" +msgstr "" + +#. TRANSLATORS: Suspend Job +msgid "job-error-action.suspend-job" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet" +msgstr "" + +#. TRANSLATORS: Type of Error Sheet +msgid "job-error-sheet-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-error-sheet-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-error-sheet-type.standard" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet-when" +msgstr "" + +#. TRANSLATORS: Always +msgid "job-error-sheet-when.always" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-sheet-when.on-error" +msgstr "" + +#. TRANSLATORS: Job Finishings +msgid "job-finishings" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-hold-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-hold-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-hold-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-hold-until.night" +msgstr "" + +#. TRANSLATORS: No Hold +msgid "job-hold-until.no-hold" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-hold-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-hold-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-hold-until.weekend" +msgstr "" + +#. TRANSLATORS: Job Mandatory Attributes +msgid "job-mandatory-attributes" +msgstr "" + +#. TRANSLATORS: Title +msgid "job-name" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages-col" +msgstr "" + +#. TRANSLATORS: Job Phone Number +msgid "job-phone-number" +msgstr "" + +msgid "job-printer-uri attribute missing." +msgstr "" + +#. TRANSLATORS: Job Priority +msgid "job-priority" +msgstr "" + +#. TRANSLATORS: Job Privacy Attributes +msgid "job-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Job Description +msgid "job-privacy-attributes.job-description" +msgstr "" + +#. TRANSLATORS: Job Template +msgid "job-privacy-attributes.job-template" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Job Privacy Scope +msgid "job-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "job-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Job Recipient Name +msgid "job-recipient-name" +msgstr "" + +#. TRANSLATORS: Job Retain Until +msgid "job-retain-until" +msgstr "" + +#. TRANSLATORS: Job Retain Until Interval +msgid "job-retain-until-interval" +msgstr "" + +#. TRANSLATORS: Job Retain Until Time +msgid "job-retain-until-time" +msgstr "" + +#. TRANSLATORS: End Of Day +msgid "job-retain-until.end-of-day" +msgstr "" + +#. TRANSLATORS: End Of Month +msgid "job-retain-until.end-of-month" +msgstr "" + +#. TRANSLATORS: End Of Week +msgid "job-retain-until.end-of-week" +msgstr "" + +#. TRANSLATORS: Indefinite +msgid "job-retain-until.indefinite" +msgstr "" + +#. TRANSLATORS: None +msgid "job-retain-until.none" +msgstr "" + +#. TRANSLATORS: Job Save Disposition +msgid "job-save-disposition" +msgstr "" + +#. TRANSLATORS: Job Sheet Message +msgid "job-sheet-message" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets-col" +msgstr "" + +#. TRANSLATORS: First Page in Document +msgid "job-sheets.first-print-stream-page" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "job-sheets.job-both-sheet" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "job-sheets.job-end-sheet" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "job-sheets.job-start-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "job-sheets.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-sheets.standard" +msgstr "" + +#. TRANSLATORS: Job State +msgid "job-state" +msgstr "" + +#. TRANSLATORS: Job State Message +msgid "job-state-message" +msgstr "" + +#. TRANSLATORS: Detailed Job State +msgid "job-state-reasons" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Account Authorization Failed +msgid "job-state-reasons.account-authorization-failed" +msgstr "" + +#. TRANSLATORS: Account Closed +msgid "job-state-reasons.account-closed" +msgstr "" + +#. TRANSLATORS: Account Info Needed +msgid "job-state-reasons.account-info-needed" +msgstr "" + +#. TRANSLATORS: Account Limit Reached +msgid "job-state-reasons.account-limit-reached" +msgstr "" + +#. TRANSLATORS: Decompression error +msgid "job-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Conflicting Attributes +msgid "job-state-reasons.conflicting-attributes" +msgstr "" + +#. TRANSLATORS: Connected To Destination +msgid "job-state-reasons.connected-to-destination" +msgstr "" + +#. TRANSLATORS: Connecting To Destination +msgid "job-state-reasons.connecting-to-destination" +msgstr "" + +#. TRANSLATORS: Destination Uri Failed +msgid "job-state-reasons.destination-uri-failed" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "job-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "job-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "job-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "job-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "job-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "job-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "job-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "job-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "job-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Canceled at printer +msgid "job-state-reasons.job-canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled by operator +msgid "job-state-reasons.job-canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled by user +msgid "job-state-reasons.job-canceled-by-user" +msgstr "" + +#. TRANSLATORS: +msgid "job-state-reasons.job-completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed with errors +msgid "job-state-reasons.job-completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed with warnings +msgid "job-state-reasons.job-completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Insufficient data +msgid "job-state-reasons.job-data-insufficient" +msgstr "" + +#. TRANSLATORS: Job Delay Output Until Specified +msgid "job-state-reasons.job-delay-output-until-specified" +msgstr "" + +#. TRANSLATORS: Job Digital Signature Wait +msgid "job-state-reasons.job-digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "job-state-reasons.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Held For Review +msgid "job-state-reasons.job-held-for-review" +msgstr "" + +#. TRANSLATORS: Job held +msgid "job-state-reasons.job-hold-until-specified" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "job-state-reasons.job-incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "job-state-reasons.job-interpreting" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "job-state-reasons.job-outgoing" +msgstr "" + +#. TRANSLATORS: Job Password Wait +msgid "job-state-reasons.job-password-wait" +msgstr "" + +#. TRANSLATORS: Job Printed Successfully +msgid "job-state-reasons.job-printed-successfully" +msgstr "" + +#. TRANSLATORS: Job Printed With Errors +msgid "job-state-reasons.job-printed-with-errors" +msgstr "" + +#. TRANSLATORS: Job Printed With Warnings +msgid "job-state-reasons.job-printed-with-warnings" +msgstr "" + +#. TRANSLATORS: Printing +msgid "job-state-reasons.job-printing" +msgstr "" + +#. TRANSLATORS: Preparing to print +msgid "job-state-reasons.job-queued" +msgstr "" + +#. TRANSLATORS: Processing document +msgid "job-state-reasons.job-queued-for-marker" +msgstr "" + +#. TRANSLATORS: Job Release Wait +msgid "job-state-reasons.job-release-wait" +msgstr "" + +#. TRANSLATORS: Restartable +msgid "job-state-reasons.job-restartable" +msgstr "" + +#. TRANSLATORS: Job Resuming +msgid "job-state-reasons.job-resuming" +msgstr "" + +#. TRANSLATORS: Job Saved Successfully +msgid "job-state-reasons.job-saved-successfully" +msgstr "" + +#. TRANSLATORS: Job Saved With Errors +msgid "job-state-reasons.job-saved-with-errors" +msgstr "" + +#. TRANSLATORS: Job Saved With Warnings +msgid "job-state-reasons.job-saved-with-warnings" +msgstr "" + +#. TRANSLATORS: Job Saving +msgid "job-state-reasons.job-saving" +msgstr "" + +#. TRANSLATORS: Job Spooling +msgid "job-state-reasons.job-spooling" +msgstr "" + +#. TRANSLATORS: Job Streaming +msgid "job-state-reasons.job-streaming" +msgstr "" + +#. TRANSLATORS: Suspended +msgid "job-state-reasons.job-suspended" +msgstr "" + +#. TRANSLATORS: Job Suspended By Operator +msgid "job-state-reasons.job-suspended-by-operator" +msgstr "" + +#. TRANSLATORS: Job Suspended By System +msgid "job-state-reasons.job-suspended-by-system" +msgstr "" + +#. TRANSLATORS: Job Suspended By User +msgid "job-state-reasons.job-suspended-by-user" +msgstr "" + +#. TRANSLATORS: Job Suspending +msgid "job-state-reasons.job-suspending" +msgstr "" + +#. TRANSLATORS: Job Transferring +msgid "job-state-reasons.job-transferring" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "job-state-reasons.job-transforming" +msgstr "" + +#. TRANSLATORS: None +msgid "job-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "job-state-reasons.printer-stopped" +msgstr "" + +#. TRANSLATORS: Printer partially stopped +msgid "job-state-reasons.printer-stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Ready +msgid "job-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "job-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "job-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Service offline +msgid "job-state-reasons.service-off-line" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "job-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Unsupported Attributes Or Values +msgid "job-state-reasons.unsupported-attributes-or-values" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "job-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "job-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Waiting For User Action +msgid "job-state-reasons.waiting-for-user-action" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "job-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "job-state.3" +msgstr "" + +#. TRANSLATORS: Held +msgid "job-state.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "job-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "job-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "job-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "job-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "job-state.9" +msgstr "" + +#. TRANSLATORS: Laminate Pages +msgid "laminating" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "laminating-sides" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "laminating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "laminating-sides.both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "laminating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Lamination +msgid "laminating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "laminating-type.archival" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "laminating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "laminating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "laminating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "laminating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "laminating-type.translucent" +msgstr "" + +#. TRANSLATORS: Logo +msgid "logo" +msgstr "" + +msgid "lpadmin: Class name can only contain printable characters." +msgstr "" + +#, c-format +msgid "lpadmin: Expected PPD after \"-%c\" option." +msgstr "" + +msgid "lpadmin: Expected allow/deny:userlist after \"-u\" option." +msgstr "" + +msgid "lpadmin: Expected class after \"-r\" option." +msgstr "" + +msgid "lpadmin: Expected class name after \"-c\" option." +msgstr "" + +msgid "lpadmin: Expected description after \"-D\" option." +msgstr "" + +msgid "lpadmin: Expected device URI after \"-v\" option." +msgstr "" + +msgid "lpadmin: Expected file type(s) after \"-I\" option." +msgstr "" + +msgid "lpadmin: Expected hostname after \"-h\" option." +msgstr "" + +msgid "lpadmin: Expected location after \"-L\" option." +msgstr "" + +msgid "lpadmin: Expected model after \"-m\" option." +msgstr "" + +msgid "lpadmin: Expected name after \"-R\" option." +msgstr "" + +msgid "lpadmin: Expected name=value after \"-o\" option." +msgstr "" + +msgid "lpadmin: Expected printer after \"-p\" option." +msgstr "" + +msgid "lpadmin: Expected printer name after \"-d\" option." +msgstr "" + +msgid "lpadmin: Expected printer or class after \"-x\" option." +msgstr "" + +msgid "lpadmin: No member names were seen." +msgstr "" + +#, c-format +msgid "lpadmin: Printer %s is already a member of class %s." +msgstr "" + +#, c-format +msgid "lpadmin: Printer %s is not a member of class %s." +msgstr "" + +msgid "" +"lpadmin: Printer drivers are deprecated and will stop working in a future " +"version of CUPS." +msgstr "" + +msgid "lpadmin: Printer name can only contain printable characters." +msgstr "" + +msgid "" +"lpadmin: Raw queues are deprecated and will stop working in a future version " +"of CUPS." +msgstr "" + +msgid "lpadmin: Raw queues are no longer supported on macOS." +msgstr "" + +msgid "" +"lpadmin: System V interface scripts are no longer supported for security " +"reasons." +msgstr "" + +msgid "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." +msgstr "" + +#, c-format +msgid "lpadmin: Unable to connect to server: %s" +msgstr "" + +msgid "lpadmin: Unable to create temporary file" +msgstr "" + +msgid "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s" +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s on line %d." +msgstr "" + +msgid "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." +msgstr "" + +msgid "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." +msgstr "" + +#, c-format +msgid "lpadmin: Unknown allow/deny option \"%s\"." +msgstr "" + +#, c-format +msgid "lpadmin: Unknown argument \"%s\"." +msgstr "" + +#, c-format +msgid "lpadmin: Unknown option \"%c\"." +msgstr "" + +msgid "lpadmin: Use the 'everywhere' model for shared printers." +msgstr "" + +msgid "lpadmin: Warning - content type list ignored." +msgstr "" + +msgid "lpc> " +msgstr "lpc> " + +msgid "lpinfo: Expected 1284 device ID string after \"--device-id\"." +msgstr "" + +msgid "lpinfo: Expected language after \"--language\"." +msgstr "" + +msgid "lpinfo: Expected make and model after \"--make-and-model\"." +msgstr "" + +msgid "lpinfo: Expected product string after \"--product\"." +msgstr "" + +msgid "lpinfo: Expected scheme list after \"--exclude-schemes\"." +msgstr "" + +msgid "lpinfo: Expected scheme list after \"--include-schemes\"." +msgstr "" + +msgid "lpinfo: Expected timeout after \"--timeout\"." +msgstr "" + +#, c-format +msgid "lpmove: Unable to connect to server: %s" +msgstr "" + +#, c-format +msgid "lpmove: Unknown argument \"%s\"." +msgstr "" + +msgid "lpoptions: No printers." +msgstr "" + +#, c-format +msgid "lpoptions: Unable to add printer or instance: %s" +msgstr "" + +#, c-format +msgid "lpoptions: Unable to get PPD file for %s: %s" +msgstr "" + +#, c-format +msgid "lpoptions: Unable to open PPD file for %s." +msgstr "" + +msgid "lpoptions: Unknown printer or class." +msgstr "" + +#, c-format +msgid "" +"lpstat: error - %s environment variable names non-existent destination \"%s" +"\"." +msgstr "" + +#. TRANSLATORS: Amount of Material +msgid "material-amount" +msgstr "" + +#. TRANSLATORS: Amount Units +msgid "material-amount-units" +msgstr "" + +#. TRANSLATORS: Grams +msgid "material-amount-units.g" +msgstr "" + +#. TRANSLATORS: Kilograms +msgid "material-amount-units.kg" +msgstr "" + +#. TRANSLATORS: Liters +msgid "material-amount-units.l" +msgstr "" + +#. TRANSLATORS: Meters +msgid "material-amount-units.m" +msgstr "" + +#. TRANSLATORS: Milliliters +msgid "material-amount-units.ml" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "material-amount-units.mm" +msgstr "" + +#. TRANSLATORS: Material Color +msgid "material-color" +msgstr "" + +#. TRANSLATORS: Material Diameter +msgid "material-diameter" +msgstr "" + +#. TRANSLATORS: Material Diameter Tolerance +msgid "material-diameter-tolerance" +msgstr "" + +#. TRANSLATORS: Material Fill Density +msgid "material-fill-density" +msgstr "" + +#. TRANSLATORS: Material Name +msgid "material-name" +msgstr "" + +#. TRANSLATORS: Material Nozzle Diameter +msgid "material-nozzle-diameter" +msgstr "" + +#. TRANSLATORS: Use Material For +msgid "material-purpose" +msgstr "" + +#. TRANSLATORS: Everything +msgid "material-purpose.all" +msgstr "" + +#. TRANSLATORS: Base +msgid "material-purpose.base" +msgstr "" + +#. TRANSLATORS: In-fill +msgid "material-purpose.in-fill" +msgstr "" + +#. TRANSLATORS: Shell +msgid "material-purpose.shell" +msgstr "" + +#. TRANSLATORS: Supports +msgid "material-purpose.support" +msgstr "" + +#. TRANSLATORS: Feed Rate +msgid "material-rate" +msgstr "" + +#. TRANSLATORS: Feed Rate Units +msgid "material-rate-units" +msgstr "" + +#. TRANSLATORS: Milligrams per second +msgid "material-rate-units.mg_second" +msgstr "" + +#. TRANSLATORS: Milliliters per second +msgid "material-rate-units.ml_second" +msgstr "" + +#. TRANSLATORS: Millimeters per second +msgid "material-rate-units.mm_second" +msgstr "" + +#. TRANSLATORS: Material Retraction +msgid "material-retraction" +msgstr "" + +#. TRANSLATORS: Material Shell Thickness +msgid "material-shell-thickness" +msgstr "" + +#. TRANSLATORS: Material Temperature +msgid "material-temperature" +msgstr "" + +#. TRANSLATORS: Material Type +msgid "material-type" +msgstr "" + +#. TRANSLATORS: ABS +msgid "material-type.abs" +msgstr "" + +#. TRANSLATORS: Carbon Fiber ABS +msgid "material-type.abs-carbon-fiber" +msgstr "" + +#. TRANSLATORS: Carbon Nanotube ABS +msgid "material-type.abs-carbon-nanotube" +msgstr "" + +#. TRANSLATORS: Chocolate +msgid "material-type.chocolate" +msgstr "" + +#. TRANSLATORS: Gold +msgid "material-type.gold" +msgstr "" + +#. TRANSLATORS: Nylon +msgid "material-type.nylon" +msgstr "" + +#. TRANSLATORS: Pet +msgid "material-type.pet" +msgstr "" + +#. TRANSLATORS: Photopolymer +msgid "material-type.photopolymer" +msgstr "" + +#. TRANSLATORS: PLA +msgid "material-type.pla" +msgstr "" + +#. TRANSLATORS: Conductive PLA +msgid "material-type.pla-conductive" +msgstr "" + +#. TRANSLATORS: Pla Dissolvable +msgid "material-type.pla-dissolvable" +msgstr "" + +#. TRANSLATORS: Flexible PLA +msgid "material-type.pla-flexible" +msgstr "" + +#. TRANSLATORS: Magnetic PLA +msgid "material-type.pla-magnetic" +msgstr "" + +#. TRANSLATORS: Steel PLA +msgid "material-type.pla-steel" +msgstr "" + +#. TRANSLATORS: Stone PLA +msgid "material-type.pla-stone" +msgstr "" + +#. TRANSLATORS: Wood PLA +msgid "material-type.pla-wood" +msgstr "" + +#. TRANSLATORS: Polycarbonate +msgid "material-type.polycarbonate" +msgstr "" + +#. TRANSLATORS: Dissolvable PVA +msgid "material-type.pva-dissolvable" +msgstr "" + +#. TRANSLATORS: Silver +msgid "material-type.silver" +msgstr "" + +#. TRANSLATORS: Titanium +msgid "material-type.titanium" +msgstr "" + +#. TRANSLATORS: Wax +msgid "material-type.wax" +msgstr "" + +#. TRANSLATORS: Materials +msgid "materials-col" +msgstr "" + +#. TRANSLATORS: Media +msgid "media" +msgstr "" + +#. TRANSLATORS: Back Coating of Media +msgid "media-back-coating" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "media-back-coating.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "media-back-coating.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "media-back-coating.matte" +msgstr "" + +#. TRANSLATORS: None +msgid "media-back-coating.none" +msgstr "" + +#. TRANSLATORS: Satin +msgid "media-back-coating.satin" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "media-back-coating.semi-gloss" +msgstr "" + +#. TRANSLATORS: Media Bottom Margin +msgid "media-bottom-margin" +msgstr "" + +#. TRANSLATORS: Media +msgid "media-col" +msgstr "" + +#. TRANSLATORS: Media Color +msgid "media-color" +msgstr "" + +#. TRANSLATORS: Black +msgid "media-color.black" +msgstr "" + +#. TRANSLATORS: Blue +msgid "media-color.blue" +msgstr "" + +#. TRANSLATORS: Brown +msgid "media-color.brown" +msgstr "" + +#. TRANSLATORS: Buff +msgid "media-color.buff" +msgstr "" + +#. TRANSLATORS: Clear Black +msgid "media-color.clear-black" +msgstr "" + +#. TRANSLATORS: Clear Blue +msgid "media-color.clear-blue" +msgstr "" + +#. TRANSLATORS: Clear Brown +msgid "media-color.clear-brown" +msgstr "" + +#. TRANSLATORS: Clear Buff +msgid "media-color.clear-buff" +msgstr "" + +#. TRANSLATORS: Clear Cyan +msgid "media-color.clear-cyan" +msgstr "" + +#. TRANSLATORS: Clear Gold +msgid "media-color.clear-gold" +msgstr "" + +#. TRANSLATORS: Clear Goldenrod +msgid "media-color.clear-goldenrod" +msgstr "" + +#. TRANSLATORS: Clear Gray +msgid "media-color.clear-gray" +msgstr "" + +#. TRANSLATORS: Clear Green +msgid "media-color.clear-green" +msgstr "" + +#. TRANSLATORS: Clear Ivory +msgid "media-color.clear-ivory" +msgstr "" + +#. TRANSLATORS: Clear Magenta +msgid "media-color.clear-magenta" +msgstr "" + +#. TRANSLATORS: Clear Multi Color +msgid "media-color.clear-multi-color" +msgstr "" + +#. TRANSLATORS: Clear Mustard +msgid "media-color.clear-mustard" +msgstr "" + +#. TRANSLATORS: Clear Orange +msgid "media-color.clear-orange" +msgstr "" + +#. TRANSLATORS: Clear Pink +msgid "media-color.clear-pink" +msgstr "" + +#. TRANSLATORS: Clear Red +msgid "media-color.clear-red" +msgstr "" + +#. TRANSLATORS: Clear Silver +msgid "media-color.clear-silver" +msgstr "" + +#. TRANSLATORS: Clear Turquoise +msgid "media-color.clear-turquoise" +msgstr "" + +#. TRANSLATORS: Clear Violet +msgid "media-color.clear-violet" +msgstr "" + +#. TRANSLATORS: Clear White +msgid "media-color.clear-white" +msgstr "" + +#. TRANSLATORS: Clear Yellow +msgid "media-color.clear-yellow" +msgstr "" + +#. TRANSLATORS: Cyan +msgid "media-color.cyan" +msgstr "" + +#. TRANSLATORS: Dark Blue +msgid "media-color.dark-blue" +msgstr "" + +#. TRANSLATORS: Dark Brown +msgid "media-color.dark-brown" +msgstr "" + +#. TRANSLATORS: Dark Buff +msgid "media-color.dark-buff" +msgstr "" + +#. TRANSLATORS: Dark Cyan +msgid "media-color.dark-cyan" +msgstr "" + +#. TRANSLATORS: Dark Gold +msgid "media-color.dark-gold" +msgstr "" + +#. TRANSLATORS: Dark Goldenrod +msgid "media-color.dark-goldenrod" +msgstr "" + +#. TRANSLATORS: Dark Gray +msgid "media-color.dark-gray" +msgstr "" + +#. TRANSLATORS: Dark Green +msgid "media-color.dark-green" +msgstr "" + +#. TRANSLATORS: Dark Ivory +msgid "media-color.dark-ivory" +msgstr "" + +#. TRANSLATORS: Dark Magenta +msgid "media-color.dark-magenta" +msgstr "" + +#. TRANSLATORS: Dark Mustard +msgid "media-color.dark-mustard" +msgstr "" + +#. TRANSLATORS: Dark Orange +msgid "media-color.dark-orange" +msgstr "" + +#. TRANSLATORS: Dark Pink +msgid "media-color.dark-pink" +msgstr "" + +#. TRANSLATORS: Dark Red +msgid "media-color.dark-red" +msgstr "" + +#. TRANSLATORS: Dark Silver +msgid "media-color.dark-silver" +msgstr "" + +#. TRANSLATORS: Dark Turquoise +msgid "media-color.dark-turquoise" +msgstr "" + +#. TRANSLATORS: Dark Violet +msgid "media-color.dark-violet" +msgstr "" + +#. TRANSLATORS: Dark Yellow +msgid "media-color.dark-yellow" +msgstr "" + +#. TRANSLATORS: Gold +msgid "media-color.gold" +msgstr "" + +#. TRANSLATORS: Goldenrod +msgid "media-color.goldenrod" +msgstr "" + +#. TRANSLATORS: Gray +msgid "media-color.gray" +msgstr "" + +#. TRANSLATORS: Green +msgid "media-color.green" +msgstr "" + +#. TRANSLATORS: Ivory +msgid "media-color.ivory" +msgstr "" + +#. TRANSLATORS: Light Black +msgid "media-color.light-black" +msgstr "" + +#. TRANSLATORS: Light Blue +msgid "media-color.light-blue" +msgstr "" + +#. TRANSLATORS: Light Brown +msgid "media-color.light-brown" +msgstr "" + +#. TRANSLATORS: Light Buff +msgid "media-color.light-buff" +msgstr "" + +#. TRANSLATORS: Light Cyan +msgid "media-color.light-cyan" +msgstr "" + +#. TRANSLATORS: Light Gold +msgid "media-color.light-gold" +msgstr "" + +#. TRANSLATORS: Light Goldenrod +msgid "media-color.light-goldenrod" +msgstr "" + +#. TRANSLATORS: Light Gray +msgid "media-color.light-gray" +msgstr "" + +#. TRANSLATORS: Light Green +msgid "media-color.light-green" +msgstr "" + +#. TRANSLATORS: Light Ivory +msgid "media-color.light-ivory" +msgstr "" + +#. TRANSLATORS: Light Magenta +msgid "media-color.light-magenta" +msgstr "" + +#. TRANSLATORS: Light Mustard +msgid "media-color.light-mustard" +msgstr "" + +#. TRANSLATORS: Light Orange +msgid "media-color.light-orange" +msgstr "" + +#. TRANSLATORS: Light Pink +msgid "media-color.light-pink" +msgstr "" + +#. TRANSLATORS: Light Red +msgid "media-color.light-red" +msgstr "" + +#. TRANSLATORS: Light Silver +msgid "media-color.light-silver" +msgstr "" + +#. TRANSLATORS: Light Turquoise +msgid "media-color.light-turquoise" +msgstr "" + +#. TRANSLATORS: Light Violet +msgid "media-color.light-violet" +msgstr "" + +#. TRANSLATORS: Light Yellow +msgid "media-color.light-yellow" +msgstr "" + +#. TRANSLATORS: Magenta +msgid "media-color.magenta" +msgstr "" + +#. TRANSLATORS: Multi-color +msgid "media-color.multi-color" +msgstr "" + +#. TRANSLATORS: Mustard +msgid "media-color.mustard" +msgstr "" + +#. TRANSLATORS: No Color +msgid "media-color.no-color" +msgstr "" + +#. TRANSLATORS: Orange +msgid "media-color.orange" +msgstr "" + +#. TRANSLATORS: Pink +msgid "media-color.pink" +msgstr "" + +#. TRANSLATORS: Red +msgid "media-color.red" +msgstr "" + +#. TRANSLATORS: Silver +msgid "media-color.silver" +msgstr "" + +#. TRANSLATORS: Turquoise +msgid "media-color.turquoise" +msgstr "" + +#. TRANSLATORS: Violet +msgid "media-color.violet" +msgstr "" + +#. TRANSLATORS: White +msgid "media-color.white" +msgstr "" + +#. TRANSLATORS: Yellow +msgid "media-color.yellow" +msgstr "" + +#. TRANSLATORS: Front Coating of Media +msgid "media-front-coating" +msgstr "" + +#. TRANSLATORS: Media Grain +msgid "media-grain" +msgstr "" + +#. TRANSLATORS: Cross-Feed Direction +msgid "media-grain.x-direction" +msgstr "" + +#. TRANSLATORS: Feed Direction +msgid "media-grain.y-direction" +msgstr "" + +#. TRANSLATORS: Media Hole Count +msgid "media-hole-count" +msgstr "" + +#. TRANSLATORS: Media Info +msgid "media-info" +msgstr "" + +#. TRANSLATORS: Force Media +msgid "media-input-tray-check" +msgstr "" + +#. TRANSLATORS: Media Left Margin +msgid "media-left-margin" +msgstr "" + +#. TRANSLATORS: Pre-printed Media +msgid "media-pre-printed" +msgstr "" + +#. TRANSLATORS: Blank +msgid "media-pre-printed.blank" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-pre-printed.letter-head" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "media-pre-printed.pre-printed" +msgstr "" + +#. TRANSLATORS: Recycled Media +msgid "media-recycled" +msgstr "" + +#. TRANSLATORS: None +msgid "media-recycled.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "media-recycled.standard" +msgstr "" + +#. TRANSLATORS: Media Right Margin +msgid "media-right-margin" +msgstr "" + +#. TRANSLATORS: Media Dimensions +msgid "media-size" +msgstr "" + +#. TRANSLATORS: Media Name +msgid "media-size-name" +msgstr "" + +#. TRANSLATORS: Media Source +msgid "media-source" +msgstr "" + +#. TRANSLATORS: Alternate +msgid "media-source.alternate" +msgstr "" + +#. TRANSLATORS: Alternate Roll +msgid "media-source.alternate-roll" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-source.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "media-source.bottom" +msgstr "" + +#. TRANSLATORS: By-pass Tray +msgid "media-source.by-pass-tray" +msgstr "" + +#. TRANSLATORS: Center +msgid "media-source.center" +msgstr "" + +#. TRANSLATORS: Disc +msgid "media-source.disc" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-source.envelope" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media-source.hagaki" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "media-source.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "media-source.left" +msgstr "" + +#. TRANSLATORS: Main +msgid "media-source.main" +msgstr "" + +#. TRANSLATORS: Main Roll +msgid "media-source.main-roll" +msgstr "" + +#. TRANSLATORS: Manual +msgid "media-source.manual" +msgstr "" + +#. TRANSLATORS: Middle +msgid "media-source.middle" +msgstr "" + +#. TRANSLATORS: Photo +msgid "media-source.photo" +msgstr "" + +#. TRANSLATORS: Rear +msgid "media-source.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "media-source.right" +msgstr "" + +#. TRANSLATORS: Roll 1 +msgid "media-source.roll-1" +msgstr "" + +#. TRANSLATORS: Roll 10 +msgid "media-source.roll-10" +msgstr "" + +#. TRANSLATORS: Roll 2 +msgid "media-source.roll-2" +msgstr "" + +#. TRANSLATORS: Roll 3 +msgid "media-source.roll-3" +msgstr "" + +#. TRANSLATORS: Roll 4 +msgid "media-source.roll-4" +msgstr "" + +#. TRANSLATORS: Roll 5 +msgid "media-source.roll-5" +msgstr "" + +#. TRANSLATORS: Roll 6 +msgid "media-source.roll-6" +msgstr "" + +#. TRANSLATORS: Roll 7 +msgid "media-source.roll-7" +msgstr "" + +#. TRANSLATORS: Roll 8 +msgid "media-source.roll-8" +msgstr "" + +#. TRANSLATORS: Roll 9 +msgid "media-source.roll-9" +msgstr "" + +#. TRANSLATORS: Side +msgid "media-source.side" +msgstr "" + +#. TRANSLATORS: Top +msgid "media-source.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "media-source.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "media-source.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 11 +msgid "media-source.tray-11" +msgstr "" + +#. TRANSLATORS: Tray 12 +msgid "media-source.tray-12" +msgstr "" + +#. TRANSLATORS: Tray 13 +msgid "media-source.tray-13" +msgstr "" + +#. TRANSLATORS: Tray 14 +msgid "media-source.tray-14" +msgstr "" + +#. TRANSLATORS: Tray 15 +msgid "media-source.tray-15" +msgstr "" + +#. TRANSLATORS: Tray 16 +msgid "media-source.tray-16" +msgstr "" + +#. TRANSLATORS: Tray 17 +msgid "media-source.tray-17" +msgstr "" + +#. TRANSLATORS: Tray 18 +msgid "media-source.tray-18" +msgstr "" + +#. TRANSLATORS: Tray 19 +msgid "media-source.tray-19" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "media-source.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 20 +msgid "media-source.tray-20" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "media-source.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "media-source.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "media-source.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "media-source.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "media-source.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "media-source.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "media-source.tray-9" +msgstr "" + +#. TRANSLATORS: Media Thickness +msgid "media-thickness" +msgstr "" + +#. TRANSLATORS: Media Tooth (Texture) +msgid "media-tooth" +msgstr "" + +#. TRANSLATORS: Antique +msgid "media-tooth.antique" +msgstr "" + +#. TRANSLATORS: Extra Smooth +msgid "media-tooth.calendared" +msgstr "" + +#. TRANSLATORS: Coarse +msgid "media-tooth.coarse" +msgstr "" + +#. TRANSLATORS: Fine +msgid "media-tooth.fine" +msgstr "" + +#. TRANSLATORS: Linen +msgid "media-tooth.linen" +msgstr "" + +#. TRANSLATORS: Medium +msgid "media-tooth.medium" +msgstr "" + +#. TRANSLATORS: Smooth +msgid "media-tooth.smooth" +msgstr "" + +#. TRANSLATORS: Stipple +msgid "media-tooth.stipple" +msgstr "" + +#. TRANSLATORS: Rough +msgid "media-tooth.uncalendared" +msgstr "" + +#. TRANSLATORS: Vellum +msgid "media-tooth.vellum" +msgstr "" + +#. TRANSLATORS: Media Top Margin +msgid "media-top-margin" +msgstr "" + +#. TRANSLATORS: Media Type +msgid "media-type" +msgstr "" + +#. TRANSLATORS: Aluminum +msgid "media-type.aluminum" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-type.auto" +msgstr "" + +#. TRANSLATORS: Back Print Film +msgid "media-type.back-print-film" +msgstr "" + +#. TRANSLATORS: Cardboard +msgid "media-type.cardboard" +msgstr "" + +#. TRANSLATORS: Cardstock +msgid "media-type.cardstock" +msgstr "" + +#. TRANSLATORS: CD +msgid "media-type.cd" +msgstr "" + +#. TRANSLATORS: Continuous +msgid "media-type.continuous" +msgstr "" + +#. TRANSLATORS: Continuous Long +msgid "media-type.continuous-long" +msgstr "" + +#. TRANSLATORS: Continuous Short +msgid "media-type.continuous-short" +msgstr "" + +#. TRANSLATORS: Corrugated Board +msgid "media-type.corrugated-board" +msgstr "" + +#. TRANSLATORS: Optical Disc +msgid "media-type.disc" +msgstr "" + +#. TRANSLATORS: Glossy Optical Disc +msgid "media-type.disc-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Optical Disc +msgid "media-type.disc-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Optical Disc +msgid "media-type.disc-matte" +msgstr "" + +#. TRANSLATORS: Satin Optical Disc +msgid "media-type.disc-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Optical Disc +msgid "media-type.disc-semi-gloss" +msgstr "" + +#. TRANSLATORS: Double Wall +msgid "media-type.double-wall" +msgstr "" + +#. TRANSLATORS: Dry Film +msgid "media-type.dry-film" +msgstr "" + +#. TRANSLATORS: DVD +msgid "media-type.dvd" +msgstr "" + +#. TRANSLATORS: Embossing Foil +msgid "media-type.embossing-foil" +msgstr "" + +#. TRANSLATORS: End Board +msgid "media-type.end-board" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-type.envelope" +msgstr "" + +#. TRANSLATORS: Archival Envelope +msgid "media-type.envelope-archival" +msgstr "" + +#. TRANSLATORS: Bond Envelope +msgid "media-type.envelope-bond" +msgstr "" + +#. TRANSLATORS: Coated Envelope +msgid "media-type.envelope-coated" +msgstr "" + +#. TRANSLATORS: Cotton Envelope +msgid "media-type.envelope-cotton" +msgstr "" + +#. TRANSLATORS: Fine Envelope +msgid "media-type.envelope-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Envelope +msgid "media-type.envelope-heavyweight" +msgstr "" + +#. TRANSLATORS: Inkjet Envelope +msgid "media-type.envelope-inkjet" +msgstr "" + +#. TRANSLATORS: Lightweight Envelope +msgid "media-type.envelope-lightweight" +msgstr "" + +#. TRANSLATORS: Plain Envelope +msgid "media-type.envelope-plain" +msgstr "" + +#. TRANSLATORS: Preprinted Envelope +msgid "media-type.envelope-preprinted" +msgstr "" + +#. TRANSLATORS: Windowed Envelope +msgid "media-type.envelope-window" +msgstr "" + +#. TRANSLATORS: Fabric +msgid "media-type.fabric" +msgstr "" + +#. TRANSLATORS: Archival Fabric +msgid "media-type.fabric-archival" +msgstr "" + +#. TRANSLATORS: Glossy Fabric +msgid "media-type.fabric-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Fabric +msgid "media-type.fabric-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Fabric +msgid "media-type.fabric-matte" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Fabric +msgid "media-type.fabric-semi-gloss" +msgstr "" + +#. TRANSLATORS: Waterproof Fabric +msgid "media-type.fabric-waterproof" +msgstr "" + +#. TRANSLATORS: Film +msgid "media-type.film" +msgstr "" + +#. TRANSLATORS: Flexo Base +msgid "media-type.flexo-base" +msgstr "" + +#. TRANSLATORS: Flexo Photo Polymer +msgid "media-type.flexo-photo-polymer" +msgstr "" + +#. TRANSLATORS: Flute +msgid "media-type.flute" +msgstr "" + +#. TRANSLATORS: Foil +msgid "media-type.foil" +msgstr "" + +#. TRANSLATORS: Full Cut Tabs +msgid "media-type.full-cut-tabs" +msgstr "" + +#. TRANSLATORS: Glass +msgid "media-type.glass" +msgstr "" + +#. TRANSLATORS: Glass Colored +msgid "media-type.glass-colored" +msgstr "" + +#. TRANSLATORS: Glass Opaque +msgid "media-type.glass-opaque" +msgstr "" + +#. TRANSLATORS: Glass Surfaced +msgid "media-type.glass-surfaced" +msgstr "" + +#. TRANSLATORS: Glass Textured +msgid "media-type.glass-textured" +msgstr "" + +#. TRANSLATORS: Gravure Cylinder +msgid "media-type.gravure-cylinder" +msgstr "" + +#. TRANSLATORS: Image Setter Paper +msgid "media-type.image-setter-paper" +msgstr "" + +#. TRANSLATORS: Imaging Cylinder +msgid "media-type.imaging-cylinder" +msgstr "" + +#. TRANSLATORS: Labels +msgid "media-type.labels" +msgstr "" + +#. TRANSLATORS: Colored Labels +msgid "media-type.labels-colored" +msgstr "" + +#. TRANSLATORS: Glossy Labels +msgid "media-type.labels-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Labels +msgid "media-type.labels-high-gloss" +msgstr "" + +#. TRANSLATORS: Inkjet Labels +msgid "media-type.labels-inkjet" +msgstr "" + +#. TRANSLATORS: Matte Labels +msgid "media-type.labels-matte" +msgstr "" + +#. TRANSLATORS: Permanent Labels +msgid "media-type.labels-permanent" +msgstr "" + +#. TRANSLATORS: Satin Labels +msgid "media-type.labels-satin" +msgstr "" + +#. TRANSLATORS: Security Labels +msgid "media-type.labels-security" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Labels +msgid "media-type.labels-semi-gloss" +msgstr "" + +#. TRANSLATORS: Laminating Foil +msgid "media-type.laminating-foil" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.letterhead" +msgstr "" + +#. TRANSLATORS: Metal +msgid "media-type.metal" +msgstr "" + +#. TRANSLATORS: Metal Glossy +msgid "media-type.metal-glossy" +msgstr "" + +#. TRANSLATORS: Metal High Gloss +msgid "media-type.metal-high-gloss" +msgstr "" + +#. TRANSLATORS: Metal Matte +msgid "media-type.metal-matte" +msgstr "" + +#. TRANSLATORS: Metal Satin +msgid "media-type.metal-satin" +msgstr "" + +#. TRANSLATORS: Metal Semi Gloss +msgid "media-type.metal-semi-gloss" +msgstr "" + +#. TRANSLATORS: Mounting Tape +msgid "media-type.mounting-tape" +msgstr "" + +#. TRANSLATORS: Multi Layer +msgid "media-type.multi-layer" +msgstr "" + +#. TRANSLATORS: Multi Part Form +msgid "media-type.multi-part-form" +msgstr "" + +#. TRANSLATORS: Other +msgid "media-type.other" +msgstr "" + +#. TRANSLATORS: Paper +msgid "media-type.paper" +msgstr "" + +#. TRANSLATORS: Photo Paper +msgid "media-type.photographic" +msgstr "" + +#. TRANSLATORS: Photographic Archival +msgid "media-type.photographic-archival" +msgstr "" + +#. TRANSLATORS: Photo Film +msgid "media-type.photographic-film" +msgstr "" + +#. TRANSLATORS: Glossy Photo Paper +msgid "media-type.photographic-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Photo Paper +msgid "media-type.photographic-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Photo Paper +msgid "media-type.photographic-matte" +msgstr "" + +#. TRANSLATORS: Satin Photo Paper +msgid "media-type.photographic-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Photo Paper +msgid "media-type.photographic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plastic +msgid "media-type.plastic" +msgstr "" + +#. TRANSLATORS: Plastic Archival +msgid "media-type.plastic-archival" +msgstr "" + +#. TRANSLATORS: Plastic Colored +msgid "media-type.plastic-colored" +msgstr "" + +#. TRANSLATORS: Plastic Glossy +msgid "media-type.plastic-glossy" +msgstr "" + +#. TRANSLATORS: Plastic High Gloss +msgid "media-type.plastic-high-gloss" +msgstr "" + +#. TRANSLATORS: Plastic Matte +msgid "media-type.plastic-matte" +msgstr "" + +#. TRANSLATORS: Plastic Satin +msgid "media-type.plastic-satin" +msgstr "" + +#. TRANSLATORS: Plastic Semi Gloss +msgid "media-type.plastic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plate +msgid "media-type.plate" +msgstr "" + +#. TRANSLATORS: Polyester +msgid "media-type.polyester" +msgstr "" + +#. TRANSLATORS: Pre Cut Tabs +msgid "media-type.pre-cut-tabs" +msgstr "" + +#. TRANSLATORS: Roll +msgid "media-type.roll" +msgstr "" + +#. TRANSLATORS: Screen +msgid "media-type.screen" +msgstr "" + +#. TRANSLATORS: Screen Paged +msgid "media-type.screen-paged" +msgstr "" + +#. TRANSLATORS: Self Adhesive +msgid "media-type.self-adhesive" +msgstr "" + +#. TRANSLATORS: Self Adhesive Film +msgid "media-type.self-adhesive-film" +msgstr "" + +#. TRANSLATORS: Shrink Foil +msgid "media-type.shrink-foil" +msgstr "" + +#. TRANSLATORS: Single Face +msgid "media-type.single-face" +msgstr "" + +#. TRANSLATORS: Single Wall +msgid "media-type.single-wall" +msgstr "" + +#. TRANSLATORS: Sleeve +msgid "media-type.sleeve" +msgstr "" + +#. TRANSLATORS: Stationery +msgid "media-type.stationery" +msgstr "" + +#. TRANSLATORS: Stationery Archival +msgid "media-type.stationery-archival" +msgstr "" + +#. TRANSLATORS: Coated Paper +msgid "media-type.stationery-coated" +msgstr "" + +#. TRANSLATORS: Stationery Cotton +msgid "media-type.stationery-cotton" +msgstr "" + +#. TRANSLATORS: Vellum Paper +msgid "media-type.stationery-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Paper +msgid "media-type.stationery-heavyweight" +msgstr "" + +#. TRANSLATORS: Stationery Heavyweight Coated +msgid "media-type.stationery-heavyweight-coated" +msgstr "" + +#. TRANSLATORS: Stationery Inkjet Paper +msgid "media-type.stationery-inkjet" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.stationery-letterhead" +msgstr "" + +#. TRANSLATORS: Lightweight Paper +msgid "media-type.stationery-lightweight" +msgstr "" + +#. TRANSLATORS: Preprinted Paper +msgid "media-type.stationery-preprinted" +msgstr "" + +#. TRANSLATORS: Punched Paper +msgid "media-type.stationery-prepunched" +msgstr "" + +#. TRANSLATORS: Tab Stock +msgid "media-type.tab-stock" +msgstr "" + +#. TRANSLATORS: Tractor +msgid "media-type.tractor" +msgstr "" + +#. TRANSLATORS: Transfer +msgid "media-type.transfer" +msgstr "" + +#. TRANSLATORS: Transparency +msgid "media-type.transparency" +msgstr "" + +#. TRANSLATORS: Triple Wall +msgid "media-type.triple-wall" +msgstr "" + +#. TRANSLATORS: Wet Film +msgid "media-type.wet-film" +msgstr "" + +#. TRANSLATORS: Media Weight (grams per m²) +msgid "media-weight-metric" +msgstr "" + +#. TRANSLATORS: 28 x 40″ +msgid "media.asme_f_28x40in" +msgstr "" + +#. TRANSLATORS: A4 or US Letter +msgid "media.choice_iso_a4_210x297mm_na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: 2a0 +msgid "media.iso_2a0_1189x1682mm" +msgstr "" + +#. TRANSLATORS: A0 +msgid "media.iso_a0_841x1189mm" +msgstr "" + +#. TRANSLATORS: A0x3 +msgid "media.iso_a0x3_1189x2523mm" +msgstr "" + +#. TRANSLATORS: A10 +msgid "media.iso_a10_26x37mm" +msgstr "" + +#. TRANSLATORS: A1 +msgid "media.iso_a1_594x841mm" +msgstr "" + +#. TRANSLATORS: A1x3 +msgid "media.iso_a1x3_841x1783mm" +msgstr "" + +#. TRANSLATORS: A1x4 +msgid "media.iso_a1x4_841x2378mm" +msgstr "" + +#. TRANSLATORS: A2 +msgid "media.iso_a2_420x594mm" +msgstr "" + +#. TRANSLATORS: A2x3 +msgid "media.iso_a2x3_594x1261mm" +msgstr "" + +#. TRANSLATORS: A2x4 +msgid "media.iso_a2x4_594x1682mm" +msgstr "" + +#. TRANSLATORS: A2x5 +msgid "media.iso_a2x5_594x2102mm" +msgstr "" + +#. TRANSLATORS: A3 (Extra) +msgid "media.iso_a3-extra_322x445mm" +msgstr "" + +#. TRANSLATORS: A3 +msgid "media.iso_a3_297x420mm" +msgstr "" + +#. TRANSLATORS: A3x3 +msgid "media.iso_a3x3_420x891mm" +msgstr "" + +#. TRANSLATORS: A3x4 +msgid "media.iso_a3x4_420x1189mm" +msgstr "" + +#. TRANSLATORS: A3x5 +msgid "media.iso_a3x5_420x1486mm" +msgstr "" + +#. TRANSLATORS: A3x6 +msgid "media.iso_a3x6_420x1783mm" +msgstr "" + +#. TRANSLATORS: A3x7 +msgid "media.iso_a3x7_420x2080mm" +msgstr "" + +#. TRANSLATORS: A4 (Extra) +msgid "media.iso_a4-extra_235.5x322.3mm" +msgstr "" + +#. TRANSLATORS: A4 (Tab) +msgid "media.iso_a4-tab_225x297mm" +msgstr "" + +#. TRANSLATORS: A4 +msgid "media.iso_a4_210x297mm" +msgstr "" + +#. TRANSLATORS: A4x3 +msgid "media.iso_a4x3_297x630mm" +msgstr "" + +#. TRANSLATORS: A4x4 +msgid "media.iso_a4x4_297x841mm" +msgstr "" + +#. TRANSLATORS: A4x5 +msgid "media.iso_a4x5_297x1051mm" +msgstr "" + +#. TRANSLATORS: A4x6 +msgid "media.iso_a4x6_297x1261mm" +msgstr "" + +#. TRANSLATORS: A4x7 +msgid "media.iso_a4x7_297x1471mm" +msgstr "" + +#. TRANSLATORS: A4x8 +msgid "media.iso_a4x8_297x1682mm" +msgstr "" + +#. TRANSLATORS: A4x9 +msgid "media.iso_a4x9_297x1892mm" +msgstr "" + +#. TRANSLATORS: A5 (Extra) +msgid "media.iso_a5-extra_174x235mm" +msgstr "" + +#. TRANSLATORS: A5 +msgid "media.iso_a5_148x210mm" +msgstr "" + +#. TRANSLATORS: A6 +msgid "media.iso_a6_105x148mm" +msgstr "" + +#. TRANSLATORS: A7 +msgid "media.iso_a7_74x105mm" +msgstr "" + +#. TRANSLATORS: A8 +msgid "media.iso_a8_52x74mm" +msgstr "" + +#. TRANSLATORS: A9 +msgid "media.iso_a9_37x52mm" +msgstr "" + +#. TRANSLATORS: B0 +msgid "media.iso_b0_1000x1414mm" +msgstr "" + +#. TRANSLATORS: B10 +msgid "media.iso_b10_31x44mm" +msgstr "" + +#. TRANSLATORS: B1 +msgid "media.iso_b1_707x1000mm" +msgstr "" + +#. TRANSLATORS: B2 +msgid "media.iso_b2_500x707mm" +msgstr "" + +#. TRANSLATORS: B3 +msgid "media.iso_b3_353x500mm" +msgstr "" + +#. TRANSLATORS: B4 +msgid "media.iso_b4_250x353mm" +msgstr "" + +#. TRANSLATORS: B5 (Extra) +msgid "media.iso_b5-extra_201x276mm" +msgstr "" + +#. TRANSLATORS: Envelope B5 +msgid "media.iso_b5_176x250mm" +msgstr "" + +#. TRANSLATORS: B6 +msgid "media.iso_b6_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope B6/C4 +msgid "media.iso_b6c4_125x324mm" +msgstr "" + +#. TRANSLATORS: B7 +msgid "media.iso_b7_88x125mm" +msgstr "" + +#. TRANSLATORS: B8 +msgid "media.iso_b8_62x88mm" +msgstr "" + +#. TRANSLATORS: B9 +msgid "media.iso_b9_44x62mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 0 +msgid "media.iso_c0_917x1297mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 10 +msgid "media.iso_c10_28x40mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 1 +msgid "media.iso_c1_648x917mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 2 +msgid "media.iso_c2_458x648mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 3 +msgid "media.iso_c3_324x458mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 4 +msgid "media.iso_c4_229x324mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 5 +msgid "media.iso_c5_162x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6 +msgid "media.iso_c6_114x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6c5 +msgid "media.iso_c6c5_114x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7 +msgid "media.iso_c7_81x114mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7c6 +msgid "media.iso_c7c6_81x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 8 +msgid "media.iso_c8_57x81mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 9 +msgid "media.iso_c9_40x57mm" +msgstr "" + +#. TRANSLATORS: Envelope DL +msgid "media.iso_dl_110x220mm" +msgstr "" + +#. TRANSLATORS: Id-1 +msgid "media.iso_id-1_53.98x85.6mm" +msgstr "" + +#. TRANSLATORS: Id-3 +msgid "media.iso_id-3_88x125mm" +msgstr "" + +#. TRANSLATORS: ISO RA0 +msgid "media.iso_ra0_860x1220mm" +msgstr "" + +#. TRANSLATORS: ISO RA1 +msgid "media.iso_ra1_610x860mm" +msgstr "" + +#. TRANSLATORS: ISO RA2 +msgid "media.iso_ra2_430x610mm" +msgstr "" + +#. TRANSLATORS: ISO RA3 +msgid "media.iso_ra3_305x430mm" +msgstr "" + +#. TRANSLATORS: ISO RA4 +msgid "media.iso_ra4_215x305mm" +msgstr "" + +#. TRANSLATORS: ISO SRA0 +msgid "media.iso_sra0_900x1280mm" +msgstr "" + +#. TRANSLATORS: ISO SRA1 +msgid "media.iso_sra1_640x900mm" +msgstr "" + +#. TRANSLATORS: ISO SRA2 +msgid "media.iso_sra2_450x640mm" +msgstr "" + +#. TRANSLATORS: ISO SRA3 +msgid "media.iso_sra3_320x450mm" +msgstr "" + +#. TRANSLATORS: ISO SRA4 +msgid "media.iso_sra4_225x320mm" +msgstr "" + +#. TRANSLATORS: JIS B0 +msgid "media.jis_b0_1030x1456mm" +msgstr "" + +#. TRANSLATORS: JIS B10 +msgid "media.jis_b10_32x45mm" +msgstr "" + +#. TRANSLATORS: JIS B1 +msgid "media.jis_b1_728x1030mm" +msgstr "" + +#. TRANSLATORS: JIS B2 +msgid "media.jis_b2_515x728mm" +msgstr "" + +#. TRANSLATORS: JIS B3 +msgid "media.jis_b3_364x515mm" +msgstr "" + +#. TRANSLATORS: JIS B4 +msgid "media.jis_b4_257x364mm" +msgstr "" + +#. TRANSLATORS: JIS B5 +msgid "media.jis_b5_182x257mm" +msgstr "" + +#. TRANSLATORS: JIS B6 +msgid "media.jis_b6_128x182mm" +msgstr "" + +#. TRANSLATORS: JIS B7 +msgid "media.jis_b7_91x128mm" +msgstr "" + +#. TRANSLATORS: JIS B8 +msgid "media.jis_b8_64x91mm" +msgstr "" + +#. TRANSLATORS: JIS B9 +msgid "media.jis_b9_45x64mm" +msgstr "" + +#. TRANSLATORS: JIS Executive +msgid "media.jis_exec_216x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 2 +msgid "media.jpn_chou2_111.1x146mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 3 +msgid "media.jpn_chou3_120x235mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 40 +msgid "media.jpn_chou40_90x225mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 4 +msgid "media.jpn_chou4_90x205mm" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media.jpn_hagaki_100x148mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu +msgid "media.jpn_kahu_240x322.1mm" +msgstr "" + +#. TRANSLATORS: 270 x 382mm +msgid "media.jpn_kaku1_270x382mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu 2 +msgid "media.jpn_kaku2_240x332mm" +msgstr "" + +#. TRANSLATORS: 216 x 277mm +msgid "media.jpn_kaku3_216x277mm" +msgstr "" + +#. TRANSLATORS: 197 x 267mm +msgid "media.jpn_kaku4_197x267mm" +msgstr "" + +#. TRANSLATORS: 190 x 240mm +msgid "media.jpn_kaku5_190x240mm" +msgstr "" + +#. TRANSLATORS: 142 x 205mm +msgid "media.jpn_kaku7_142x205mm" +msgstr "" + +#. TRANSLATORS: 119 x 197mm +msgid "media.jpn_kaku8_119x197mm" +msgstr "" + +#. TRANSLATORS: Oufuku Reply Postcard +msgid "media.jpn_oufuku_148x200mm" +msgstr "" + +#. TRANSLATORS: Envelope You 4 +msgid "media.jpn_you4_105x235mm" +msgstr "" + +#. TRANSLATORS: 10 x 11″ +msgid "media.na_10x11_10x11in" +msgstr "" + +#. TRANSLATORS: 10 x 13″ +msgid "media.na_10x13_10x13in" +msgstr "" + +#. TRANSLATORS: 10 x 14″ +msgid "media.na_10x14_10x14in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.na_10x15_10x15in" +msgstr "" + +#. TRANSLATORS: 11 x 12″ +msgid "media.na_11x12_11x12in" +msgstr "" + +#. TRANSLATORS: 11 x 15″ +msgid "media.na_11x15_11x15in" +msgstr "" + +#. TRANSLATORS: 12 x 19″ +msgid "media.na_12x19_12x19in" +msgstr "" + +#. TRANSLATORS: 5 x 7″ +msgid "media.na_5x7_5x7in" +msgstr "" + +#. TRANSLATORS: 6 x 9″ +msgid "media.na_6x9_6x9in" +msgstr "" + +#. TRANSLATORS: 7 x 9″ +msgid "media.na_7x9_7x9in" +msgstr "" + +#. TRANSLATORS: 9 x 11″ +msgid "media.na_9x11_9x11in" +msgstr "" + +#. TRANSLATORS: Envelope A2 +msgid "media.na_a2_4.375x5.75in" +msgstr "" + +#. TRANSLATORS: 9 x 12″ +msgid "media.na_arch-a_9x12in" +msgstr "" + +#. TRANSLATORS: 12 x 18″ +msgid "media.na_arch-b_12x18in" +msgstr "" + +#. TRANSLATORS: 18 x 24″ +msgid "media.na_arch-c_18x24in" +msgstr "" + +#. TRANSLATORS: 24 x 36″ +msgid "media.na_arch-d_24x36in" +msgstr "" + +#. TRANSLATORS: 26 x 38″ +msgid "media.na_arch-e2_26x38in" +msgstr "" + +#. TRANSLATORS: 27 x 39″ +msgid "media.na_arch-e3_27x39in" +msgstr "" + +#. TRANSLATORS: 36 x 48″ +msgid "media.na_arch-e_36x48in" +msgstr "" + +#. TRANSLATORS: 12 x 19.17″ +msgid "media.na_b-plus_12x19.17in" +msgstr "" + +#. TRANSLATORS: Envelope C5 +msgid "media.na_c5_6.5x9.5in" +msgstr "" + +#. TRANSLATORS: 17 x 22″ +msgid "media.na_c_17x22in" +msgstr "" + +#. TRANSLATORS: 22 x 34″ +msgid "media.na_d_22x34in" +msgstr "" + +#. TRANSLATORS: 34 x 44″ +msgid "media.na_e_34x44in" +msgstr "" + +#. TRANSLATORS: 11 x 14″ +msgid "media.na_edp_11x14in" +msgstr "" + +#. TRANSLATORS: 12 x 14″ +msgid "media.na_eur-edp_12x14in" +msgstr "" + +#. TRANSLATORS: Executive +msgid "media.na_executive_7.25x10.5in" +msgstr "" + +#. TRANSLATORS: 44 x 68″ +msgid "media.na_f_44x68in" +msgstr "" + +#. TRANSLATORS: European Fanfold +msgid "media.na_fanfold-eur_8.5x12in" +msgstr "" + +#. TRANSLATORS: US Fanfold +msgid "media.na_fanfold-us_11x14.875in" +msgstr "" + +#. TRANSLATORS: Foolscap +msgid "media.na_foolscap_8.5x13in" +msgstr "" + +#. TRANSLATORS: 8 x 13″ +msgid "media.na_govt-legal_8x13in" +msgstr "" + +#. TRANSLATORS: 8 x 10″ +msgid "media.na_govt-letter_8x10in" +msgstr "" + +#. TRANSLATORS: 3 x 5″ +msgid "media.na_index-3x5_3x5in" +msgstr "" + +#. TRANSLATORS: 6 x 8″ +msgid "media.na_index-4x6-ext_6x8in" +msgstr "" + +#. TRANSLATORS: 4 x 6″ +msgid "media.na_index-4x6_4x6in" +msgstr "" + +#. TRANSLATORS: 5 x 8″ +msgid "media.na_index-5x8_5x8in" +msgstr "" + +#. TRANSLATORS: Statement +msgid "media.na_invoice_5.5x8.5in" +msgstr "" + +#. TRANSLATORS: 11 x 17″ +msgid "media.na_ledger_11x17in" +msgstr "" + +#. TRANSLATORS: US Legal (Extra) +msgid "media.na_legal-extra_9.5x15in" +msgstr "" + +#. TRANSLATORS: US Legal +msgid "media.na_legal_8.5x14in" +msgstr "" + +#. TRANSLATORS: US Letter (Extra) +msgid "media.na_letter-extra_9.5x12in" +msgstr "" + +#. TRANSLATORS: US Letter (Plus) +msgid "media.na_letter-plus_8.5x12.69in" +msgstr "" + +#. TRANSLATORS: US Letter +msgid "media.na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: Envelope Monarch +msgid "media.na_monarch_3.875x7.5in" +msgstr "" + +#. TRANSLATORS: Envelope #10 +msgid "media.na_number-10_4.125x9.5in" +msgstr "" + +#. TRANSLATORS: Envelope #11 +msgid "media.na_number-11_4.5x10.375in" +msgstr "" + +#. TRANSLATORS: Envelope #12 +msgid "media.na_number-12_4.75x11in" +msgstr "" + +#. TRANSLATORS: Envelope #14 +msgid "media.na_number-14_5x11.5in" +msgstr "" + +#. TRANSLATORS: Envelope #9 +msgid "media.na_number-9_3.875x8.875in" +msgstr "" + +#. TRANSLATORS: 8.5 x 13.4″ +msgid "media.na_oficio_8.5x13.4in" +msgstr "" + +#. TRANSLATORS: Envelope Personal +msgid "media.na_personal_3.625x6.5in" +msgstr "" + +#. TRANSLATORS: Quarto +msgid "media.na_quarto_8.5x10.83in" +msgstr "" + +#. TRANSLATORS: 8.94 x 14″ +msgid "media.na_super-a_8.94x14in" +msgstr "" + +#. TRANSLATORS: 13 x 19″ +msgid "media.na_super-b_13x19in" +msgstr "" + +#. TRANSLATORS: 30 x 42″ +msgid "media.na_wide-format_30x42in" +msgstr "" + +#. TRANSLATORS: 12 x 16″ +msgid "media.oe_12x16_12x16in" +msgstr "" + +#. TRANSLATORS: 14 x 17″ +msgid "media.oe_14x17_14x17in" +msgstr "" + +#. TRANSLATORS: 18 x 22″ +msgid "media.oe_18x22_18x22in" +msgstr "" + +#. TRANSLATORS: 17 x 24″ +msgid "media.oe_a2plus_17x24in" +msgstr "" + +#. TRANSLATORS: 2 x 3.5″ +msgid "media.oe_business-card_2x3.5in" +msgstr "" + +#. TRANSLATORS: 10 x 12″ +msgid "media.oe_photo-10r_10x12in" +msgstr "" + +#. TRANSLATORS: 20 x 24″ +msgid "media.oe_photo-20r_20x24in" +msgstr "" + +#. TRANSLATORS: 3.5 x 5″ +msgid "media.oe_photo-l_3.5x5in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.oe_photo-s10r_10x15in" +msgstr "" + +#. TRANSLATORS: 4 x 4″ +msgid "media.oe_square-photo_4x4in" +msgstr "" + +#. TRANSLATORS: 5 x 5″ +msgid "media.oe_square-photo_5x5in" +msgstr "" + +#. TRANSLATORS: 184 x 260mm +msgid "media.om_16k_184x260mm" +msgstr "" + +#. TRANSLATORS: 195 x 270mm +msgid "media.om_16k_195x270mm" +msgstr "" + +#. TRANSLATORS: 55 x 85mm +msgid "media.om_business-card_55x85mm" +msgstr "" + +#. TRANSLATORS: 55 x 91mm +msgid "media.om_business-card_55x91mm" +msgstr "" + +#. TRANSLATORS: 54 x 86mm +msgid "media.om_card_54x86mm" +msgstr "" + +#. TRANSLATORS: 275 x 395mm +msgid "media.om_dai-pa-kai_275x395mm" +msgstr "" + +#. TRANSLATORS: 89 x 119mm +msgid "media.om_dsc-photo_89x119mm" +msgstr "" + +#. TRANSLATORS: Folio +msgid "media.om_folio-sp_215x315mm" +msgstr "" + +#. TRANSLATORS: Folio (Special) +msgid "media.om_folio_210x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Invitation +msgid "media.om_invite_220x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Italian +msgid "media.om_italian_110x230mm" +msgstr "" + +#. TRANSLATORS: 198 x 275mm +msgid "media.om_juuro-ku-kai_198x275mm" +msgstr "" + +#. TRANSLATORS: 200 x 300 +msgid "media.om_large-photo_200x300" +msgstr "" + +#. TRANSLATORS: 130 x 180mm +msgid "media.om_medium-photo_130x180mm" +msgstr "" + +#. TRANSLATORS: 267 x 389mm +msgid "media.om_pa-kai_267x389mm" +msgstr "" + +#. TRANSLATORS: Envelope Postfix +msgid "media.om_postfix_114x229mm" +msgstr "" + +#. TRANSLATORS: 100 x 150mm +msgid "media.om_small-photo_100x150mm" +msgstr "" + +#. TRANSLATORS: 89 x 89mm +msgid "media.om_square-photo_89x89mm" +msgstr "" + +#. TRANSLATORS: 100 x 200mm +msgid "media.om_wide-photo_100x200mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #10 +msgid "media.prc_10_324x458mm" +msgstr "" + +#. TRANSLATORS: Chinese 16k +msgid "media.prc_16k_146x215mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #1 +msgid "media.prc_1_102x165mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #2 +msgid "media.prc_2_102x176mm" +msgstr "" + +#. TRANSLATORS: Chinese 32k +msgid "media.prc_32k_97x151mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #3 +msgid "media.prc_3_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #4 +msgid "media.prc_4_110x208mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #5 +msgid "media.prc_5_110x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #6 +msgid "media.prc_6_120x320mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #7 +msgid "media.prc_7_160x230mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #8 +msgid "media.prc_8_120x309mm" +msgstr "" + +#. TRANSLATORS: ROC 16k +msgid "media.roc_16k_7.75x10.75in" +msgstr "" + +#. TRANSLATORS: ROC 8k +msgid "media.roc_8k_10.75x15.5in" +msgstr "" + +#, c-format +msgid "members of class %s:" +msgstr "" + +#. TRANSLATORS: Multiple Document Handling +msgid "multiple-document-handling" +msgstr "" + +#. TRANSLATORS: Separate Documents Collated Copies +msgid "multiple-document-handling.separate-documents-collated-copies" +msgstr "" + +#. TRANSLATORS: Separate Documents Uncollated Copies +msgid "multiple-document-handling.separate-documents-uncollated-copies" +msgstr "" + +#. TRANSLATORS: Single Document +msgid "multiple-document-handling.single-document" +msgstr "" + +#. TRANSLATORS: Single Document New Sheet +msgid "multiple-document-handling.single-document-new-sheet" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling +msgid "multiple-object-handling" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling Actual +msgid "multiple-object-handling-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "multiple-object-handling.auto" +msgstr "" + +#. TRANSLATORS: Best Fit +msgid "multiple-object-handling.best-fit" +msgstr "" + +#. TRANSLATORS: Best Quality +msgid "multiple-object-handling.best-quality" +msgstr "" + +#. TRANSLATORS: Best Speed +msgid "multiple-object-handling.best-speed" +msgstr "" + +#. TRANSLATORS: One At A Time +msgid "multiple-object-handling.one-at-a-time" +msgstr "" + +#. TRANSLATORS: On Timeout +msgid "multiple-operation-time-out-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "multiple-operation-time-out-action.abort-job" +msgstr "" + +#. TRANSLATORS: Hold Job +msgid "multiple-operation-time-out-action.hold-job" +msgstr "" + +#. TRANSLATORS: Process Job +msgid "multiple-operation-time-out-action.process-job" +msgstr "" + +msgid "no entries" +msgstr "" + +msgid "no system default destination" +msgstr "" + +#. TRANSLATORS: Noise Removal +msgid "noise-removal" +msgstr "" + +#. TRANSLATORS: Notify Attributes +msgid "notify-attributes" +msgstr "" + +#. TRANSLATORS: Notify Charset +msgid "notify-charset" +msgstr "" + +#. TRANSLATORS: Notify Events +msgid "notify-events" +msgstr "" + +msgid "notify-events not specified." +msgstr "" + +#. TRANSLATORS: Document Completed +msgid "notify-events.document-completed" +msgstr "" + +#. TRANSLATORS: Document Config Changed +msgid "notify-events.document-config-changed" +msgstr "" + +#. TRANSLATORS: Document Created +msgid "notify-events.document-created" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "notify-events.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document State Changed +msgid "notify-events.document-state-changed" +msgstr "" + +#. TRANSLATORS: Document Stopped +msgid "notify-events.document-stopped" +msgstr "" + +#. TRANSLATORS: Job Completed +msgid "notify-events.job-completed" +msgstr "" + +#. TRANSLATORS: Job Config Changed +msgid "notify-events.job-config-changed" +msgstr "" + +#. TRANSLATORS: Job Created +msgid "notify-events.job-created" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "notify-events.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Progress +msgid "notify-events.job-progress" +msgstr "" + +#. TRANSLATORS: Job State Changed +msgid "notify-events.job-state-changed" +msgstr "" + +#. TRANSLATORS: Job Stopped +msgid "notify-events.job-stopped" +msgstr "" + +#. TRANSLATORS: None +msgid "notify-events.none" +msgstr "" + +#. TRANSLATORS: Printer Config Changed +msgid "notify-events.printer-config-changed" +msgstr "" + +#. TRANSLATORS: Printer Finishings Changed +msgid "notify-events.printer-finishings-changed" +msgstr "" + +#. TRANSLATORS: Printer Media Changed +msgid "notify-events.printer-media-changed" +msgstr "" + +#. TRANSLATORS: Printer Queue Order Changed +msgid "notify-events.printer-queue-order-changed" +msgstr "" + +#. TRANSLATORS: Printer Restarted +msgid "notify-events.printer-restarted" +msgstr "" + +#. TRANSLATORS: Printer Shutdown +msgid "notify-events.printer-shutdown" +msgstr "" + +#. TRANSLATORS: Printer State Changed +msgid "notify-events.printer-state-changed" +msgstr "" + +#. TRANSLATORS: Printer Stopped +msgid "notify-events.printer-stopped" +msgstr "" + +#. TRANSLATORS: Notify Get Interval +msgid "notify-get-interval" +msgstr "" + +#. TRANSLATORS: Notify Lease Duration +msgid "notify-lease-duration" +msgstr "" + +#. TRANSLATORS: Notify Natural Language +msgid "notify-natural-language" +msgstr "" + +#. TRANSLATORS: Notify Pull Method +msgid "notify-pull-method" +msgstr "" + +#. TRANSLATORS: Notify Recipient +msgid "notify-recipient-uri" +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" is already used." +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" uses unknown scheme." +msgstr "" + +#. TRANSLATORS: Notify Sequence Numbers +msgid "notify-sequence-numbers" +msgstr "" + +#. TRANSLATORS: Notify Subscription Ids +msgid "notify-subscription-ids" +msgstr "" + +#. TRANSLATORS: Notify Time Interval +msgid "notify-time-interval" +msgstr "" + +#. TRANSLATORS: Notify User Data +msgid "notify-user-data" +msgstr "" + +#. TRANSLATORS: Notify Wait +msgid "notify-wait" +msgstr "" + +#. TRANSLATORS: Number Of Retries +msgid "number-of-retries" +msgstr "" + +#. TRANSLATORS: Number-Up +msgid "number-up" +msgstr "" + +#. TRANSLATORS: Object Offset +msgid "object-offset" +msgstr "" + +#. TRANSLATORS: Object Size +msgid "object-size" +msgstr "" + +#. TRANSLATORS: Organization Name +msgid "organization-name" +msgstr "" + +#. TRANSLATORS: Orientation +msgid "orientation-requested" +msgstr "" + +#. TRANSLATORS: Portrait +msgid "orientation-requested.3" +msgstr "" + +#. TRANSLATORS: Landscape +msgid "orientation-requested.4" +msgstr "" + +#. TRANSLATORS: Reverse Landscape +msgid "orientation-requested.5" +msgstr "" + +#. TRANSLATORS: Reverse Portrait +msgid "orientation-requested.6" +msgstr "" + +#. TRANSLATORS: None +msgid "orientation-requested.7" +msgstr "" + +#. TRANSLATORS: Scanned Image Options +msgid "output-attributes" +msgstr "" + +#. TRANSLATORS: Output Tray +msgid "output-bin" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "output-bin.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "output-bin.bottom" +msgstr "" + +#. TRANSLATORS: Center +msgid "output-bin.center" +msgstr "" + +#. TRANSLATORS: Face Down +msgid "output-bin.face-down" +msgstr "" + +#. TRANSLATORS: Face Up +msgid "output-bin.face-up" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "output-bin.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "output-bin.left" +msgstr "" + +#. TRANSLATORS: Mailbox 1 +msgid "output-bin.mailbox-1" +msgstr "" + +#. TRANSLATORS: Mailbox 10 +msgid "output-bin.mailbox-10" +msgstr "" + +#. TRANSLATORS: Mailbox 2 +msgid "output-bin.mailbox-2" +msgstr "" + +#. TRANSLATORS: Mailbox 3 +msgid "output-bin.mailbox-3" +msgstr "" + +#. TRANSLATORS: Mailbox 4 +msgid "output-bin.mailbox-4" +msgstr "" + +#. TRANSLATORS: Mailbox 5 +msgid "output-bin.mailbox-5" +msgstr "" + +#. TRANSLATORS: Mailbox 6 +msgid "output-bin.mailbox-6" +msgstr "" + +#. TRANSLATORS: Mailbox 7 +msgid "output-bin.mailbox-7" +msgstr "" + +#. TRANSLATORS: Mailbox 8 +msgid "output-bin.mailbox-8" +msgstr "" + +#. TRANSLATORS: Mailbox 9 +msgid "output-bin.mailbox-9" +msgstr "" + +#. TRANSLATORS: Middle +msgid "output-bin.middle" +msgstr "" + +#. TRANSLATORS: My Mailbox +msgid "output-bin.my-mailbox" +msgstr "" + +#. TRANSLATORS: Rear +msgid "output-bin.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "output-bin.right" +msgstr "" + +#. TRANSLATORS: Side +msgid "output-bin.side" +msgstr "" + +#. TRANSLATORS: Stacker 1 +msgid "output-bin.stacker-1" +msgstr "" + +#. TRANSLATORS: Stacker 10 +msgid "output-bin.stacker-10" +msgstr "" + +#. TRANSLATORS: Stacker 2 +msgid "output-bin.stacker-2" +msgstr "" + +#. TRANSLATORS: Stacker 3 +msgid "output-bin.stacker-3" +msgstr "" + +#. TRANSLATORS: Stacker 4 +msgid "output-bin.stacker-4" +msgstr "" + +#. TRANSLATORS: Stacker 5 +msgid "output-bin.stacker-5" +msgstr "" + +#. TRANSLATORS: Stacker 6 +msgid "output-bin.stacker-6" +msgstr "" + +#. TRANSLATORS: Stacker 7 +msgid "output-bin.stacker-7" +msgstr "" + +#. TRANSLATORS: Stacker 8 +msgid "output-bin.stacker-8" +msgstr "" + +#. TRANSLATORS: Stacker 9 +msgid "output-bin.stacker-9" +msgstr "" + +#. TRANSLATORS: Top +msgid "output-bin.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "output-bin.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "output-bin.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "output-bin.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "output-bin.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "output-bin.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "output-bin.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "output-bin.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "output-bin.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "output-bin.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "output-bin.tray-9" +msgstr "" + +#. TRANSLATORS: Scanned Image Quality +msgid "output-compression-quality-factor" +msgstr "" + +#. TRANSLATORS: Page Delivery +msgid "page-delivery" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-down +msgid "page-delivery.reverse-order-face-down" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-up +msgid "page-delivery.reverse-order-face-up" +msgstr "" + +#. TRANSLATORS: Same Order Face-down +msgid "page-delivery.same-order-face-down" +msgstr "" + +#. TRANSLATORS: Same Order Face-up +msgid "page-delivery.same-order-face-up" +msgstr "" + +#. TRANSLATORS: System Specified +msgid "page-delivery.system-specified" +msgstr "" + +#. TRANSLATORS: Page Order Received +msgid "page-order-received" +msgstr "" + +#. TRANSLATORS: 1 To N +msgid "page-order-received.1-to-n-order" +msgstr "" + +#. TRANSLATORS: N To 1 +msgid "page-order-received.n-to-1-order" +msgstr "" + +#. TRANSLATORS: Page Ranges +msgid "page-ranges" +msgstr "" + +#. TRANSLATORS: Pages +msgid "pages" +msgstr "" + +#. TRANSLATORS: Pages Per Subset +msgid "pages-per-subset" +msgstr "" + +#. TRANSLATORS: Pclm Raster Back Side +msgid "pclm-raster-back-side" +msgstr "" + +#. TRANSLATORS: Flipped +msgid "pclm-raster-back-side.flipped" +msgstr "" + +#. TRANSLATORS: Normal +msgid "pclm-raster-back-side.normal" +msgstr "" + +#. TRANSLATORS: Rotated +msgid "pclm-raster-back-side.rotated" +msgstr "" + +#. TRANSLATORS: Pclm Source Resolution +msgid "pclm-source-resolution" +msgstr "" + +msgid "pending" +msgstr "nevyřízený" + +#. TRANSLATORS: Platform Shape +msgid "platform-shape" +msgstr "" + +#. TRANSLATORS: Round +msgid "platform-shape.ellipse" +msgstr "" + +#. TRANSLATORS: Rectangle +msgid "platform-shape.rectangle" +msgstr "" + +#. TRANSLATORS: Platform Temperature +msgid "platform-temperature" +msgstr "" + +#. TRANSLATORS: Post-dial String +msgid "post-dial-string" +msgstr "" + +#, c-format +msgid "ppdc: Adding include directory \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Adding/updating UI text from %s." +msgstr "" + +#, c-format +msgid "ppdc: Bad boolean value (%s) on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Bad font attribute: %s" +msgstr "" + +#, c-format +msgid "ppdc: Bad resolution name \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Bad status keyword %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Bad variable substitution ($%c) on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Choice found on line %d of %s with no Option." +msgstr "" + +#, c-format +msgid "ppdc: Duplicate #po for locale %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected a filter definition on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected a program name on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected boolean value on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected charset after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected choice code on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected choice name/text on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected color order for ColorModel on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected colorspace for ColorModel on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected compression for ColorModel on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected constraints string for UIConstraints on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Expected driver type keyword following DriverType on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected duplex type after Duplex on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected encoding after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected filename after #po %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected group name/text on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected include filename on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected integer on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected locale after #po on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after FileName on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after Manufacturer on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after MediaSize on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after ModelName on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after PCFileName on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name/text after %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name/text after Installable on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name/text after Resolution on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name/text combination for ColorModel on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected option name/text on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected option section on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected option type on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected override field after Resolution on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected quoted string on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected real number on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d " +"of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected selector after %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected status after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected string after Copyright on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected string after Version on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected two option names on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected value after %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected version after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid #include/#po filename \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Invalid cost for filter on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid empty MIME type for filter on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid empty program name for filter on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid option section \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid option type \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Loading driver information file \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Loading messages for locale \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Loading messages from \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Missing #endif at end of \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Missing #if on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Need a msgid line before any translation strings on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: No message catalog provided for locale %s." +msgstr "" + +#, c-format +msgid "ppdc: Option %s defined in two different groups on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Option %s redefined with a different type on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Option constraint must *name on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Too many nested #if's on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unable to create PPD file \"%s\" - %s." +msgstr "" + +#, c-format +msgid "ppdc: Unable to create output directory %s: %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to create output pipes: %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to execute cupstestppd: %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to find #po file %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unable to find include file \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unable to find localization for \"%s\" - %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to load localization file \"%s\" - %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to open %s: %s" +msgstr "" + +#, c-format +msgid "ppdc: Undefined variable (%s) on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unexpected text on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unknown driver type %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unknown duplex type \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unknown media size \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unknown message catalog format for \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Unknown token \"%s\" seen on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unterminated string starting with %c on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Warning - overlapping filename \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Writing %s." +msgstr "" + +#, c-format +msgid "ppdc: Writing PPD files to directory \"%s\"." +msgstr "" + +#, c-format +msgid "ppdmerge: Bad LanguageVersion \"%s\" in %s." +msgstr "" + +#, c-format +msgid "ppdmerge: Ignoring PPD file %s." +msgstr "" + +#, c-format +msgid "ppdmerge: Unable to backup %s to %s - %s" +msgstr "" + +#. TRANSLATORS: Pre-dial String +msgid "pre-dial-string" +msgstr "" + +#. TRANSLATORS: Number-Up Layout +msgid "presentation-direction-number-up" +msgstr "" + +#. TRANSLATORS: Top-bottom, Right-left +msgid "presentation-direction-number-up.tobottom-toleft" +msgstr "" + +#. TRANSLATORS: Top-bottom, Left-right +msgid "presentation-direction-number-up.tobottom-toright" +msgstr "" + +#. TRANSLATORS: Right-left, Top-bottom +msgid "presentation-direction-number-up.toleft-tobottom" +msgstr "" + +#. TRANSLATORS: Right-left, Bottom-top +msgid "presentation-direction-number-up.toleft-totop" +msgstr "" + +#. TRANSLATORS: Left-right, Top-bottom +msgid "presentation-direction-number-up.toright-tobottom" +msgstr "" + +#. TRANSLATORS: Left-right, Bottom-top +msgid "presentation-direction-number-up.toright-totop" +msgstr "" + +#. TRANSLATORS: Bottom-top, Right-left +msgid "presentation-direction-number-up.totop-toleft" +msgstr "" + +#. TRANSLATORS: Bottom-top, Left-right +msgid "presentation-direction-number-up.totop-toright" +msgstr "" + +#. TRANSLATORS: Print Accuracy +msgid "print-accuracy" +msgstr "" + +#. TRANSLATORS: Print Base +msgid "print-base" +msgstr "" + +#. TRANSLATORS: Print Base Actual +msgid "print-base-actual" +msgstr "" + +#. TRANSLATORS: Brim +msgid "print-base.brim" +msgstr "" + +#. TRANSLATORS: None +msgid "print-base.none" +msgstr "" + +#. TRANSLATORS: Raft +msgid "print-base.raft" +msgstr "" + +#. TRANSLATORS: Skirt +msgid "print-base.skirt" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-base.standard" +msgstr "" + +#. TRANSLATORS: Print Color Mode +msgid "print-color-mode" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-color-mode.auto" +msgstr "" + +#. TRANSLATORS: Auto Monochrome +msgid "print-color-mode.auto-monochrome" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-color-mode.bi-level" +msgstr "" + +#. TRANSLATORS: Color +msgid "print-color-mode.color" +msgstr "" + +#. TRANSLATORS: Highlight +msgid "print-color-mode.highlight" +msgstr "" + +#. TRANSLATORS: Monochrome +msgid "print-color-mode.monochrome" +msgstr "" + +#. TRANSLATORS: Process Text +msgid "print-color-mode.process-bi-level" +msgstr "" + +#. TRANSLATORS: Process Monochrome +msgid "print-color-mode.process-monochrome" +msgstr "" + +#. TRANSLATORS: Print Optimization +msgid "print-content-optimize" +msgstr "" + +#. TRANSLATORS: Print Content Optimize Actual +msgid "print-content-optimize-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-content-optimize.auto" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphic" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphics" +msgstr "" + +#. TRANSLATORS: Photo +msgid "print-content-optimize.photo" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-content-optimize.text" +msgstr "" + +#. TRANSLATORS: Text and Graphics +msgid "print-content-optimize.text-and-graphic" +msgstr "" + +#. TRANSLATORS: Text And Graphics +msgid "print-content-optimize.text-and-graphics" +msgstr "" + +#. TRANSLATORS: Print Objects +msgid "print-objects" +msgstr "" + +#. TRANSLATORS: Print Quality +msgid "print-quality" +msgstr "" + +#. TRANSLATORS: Draft +msgid "print-quality.3" +msgstr "" + +#. TRANSLATORS: Normal +msgid "print-quality.4" +msgstr "" + +#. TRANSLATORS: High +msgid "print-quality.5" +msgstr "" + +#. TRANSLATORS: Print Rendering Intent +msgid "print-rendering-intent" +msgstr "" + +#. TRANSLATORS: Absolute +msgid "print-rendering-intent.absolute" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-rendering-intent.auto" +msgstr "" + +#. TRANSLATORS: Perceptual +msgid "print-rendering-intent.perceptual" +msgstr "" + +#. TRANSLATORS: Relative +msgid "print-rendering-intent.relative" +msgstr "" + +#. TRANSLATORS: Relative w/Black Point Compensation +msgid "print-rendering-intent.relative-bpc" +msgstr "" + +#. TRANSLATORS: Saturation +msgid "print-rendering-intent.saturation" +msgstr "" + +#. TRANSLATORS: Print Scaling +msgid "print-scaling" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-scaling.auto" +msgstr "" + +#. TRANSLATORS: Auto-fit +msgid "print-scaling.auto-fit" +msgstr "" + +#. TRANSLATORS: Fill +msgid "print-scaling.fill" +msgstr "" + +#. TRANSLATORS: Fit +msgid "print-scaling.fit" +msgstr "" + +#. TRANSLATORS: None +msgid "print-scaling.none" +msgstr "" + +#. TRANSLATORS: Print Supports +msgid "print-supports" +msgstr "" + +#. TRANSLATORS: Print Supports Actual +msgid "print-supports-actual" +msgstr "" + +#. TRANSLATORS: With Specified Material +msgid "print-supports.material" +msgstr "" + +#. TRANSLATORS: None +msgid "print-supports.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-supports.standard" +msgstr "" + +#, c-format +msgid "printer %s disabled since %s -" +msgstr "" + +#, c-format +msgid "printer %s is holding new jobs. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s is idle. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s now printing %s-%d. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s/%s disabled since %s -" +msgstr "" + +#, c-format +msgid "printer %s/%s is idle. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s/%s now printing %s-%d. enabled since %s" +msgstr "" + +#. TRANSLATORS: Printer Kind +msgid "printer-kind" +msgstr "" + +#. TRANSLATORS: Disc +msgid "printer-kind.disc" +msgstr "" + +#. TRANSLATORS: Document +msgid "printer-kind.document" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "printer-kind.envelope" +msgstr "" + +#. TRANSLATORS: Label +msgid "printer-kind.label" +msgstr "" + +#. TRANSLATORS: Large Format +msgid "printer-kind.large-format" +msgstr "" + +#. TRANSLATORS: Photo +msgid "printer-kind.photo" +msgstr "" + +#. TRANSLATORS: Postcard +msgid "printer-kind.postcard" +msgstr "" + +#. TRANSLATORS: Receipt +msgid "printer-kind.receipt" +msgstr "" + +#. TRANSLATORS: Roll +msgid "printer-kind.roll" +msgstr "" + +#. TRANSLATORS: Message From Operator +msgid "printer-message-from-operator" +msgstr "" + +#. TRANSLATORS: Print Resolution +msgid "printer-resolution" +msgstr "" + +#. TRANSLATORS: Printer State +msgid "printer-state" +msgstr "" + +#. TRANSLATORS: Detailed Printer State +msgid "printer-state-reasons" +msgstr "" + +#. TRANSLATORS: Old Alerts Have Been Removed +msgid "printer-state-reasons.alert-removal-of-binary-change-entry" +msgstr "" + +#. TRANSLATORS: Bander Added +msgid "printer-state-reasons.bander-added" +msgstr "" + +#. TRANSLATORS: Bander Almost Empty +msgid "printer-state-reasons.bander-almost-empty" +msgstr "" + +#. TRANSLATORS: Bander Almost Full +msgid "printer-state-reasons.bander-almost-full" +msgstr "" + +#. TRANSLATORS: Bander At Limit +msgid "printer-state-reasons.bander-at-limit" +msgstr "" + +#. TRANSLATORS: Bander Closed +msgid "printer-state-reasons.bander-closed" +msgstr "" + +#. TRANSLATORS: Bander Configuration Change +msgid "printer-state-reasons.bander-configuration-change" +msgstr "" + +#. TRANSLATORS: Bander Cover Closed +msgid "printer-state-reasons.bander-cover-closed" +msgstr "" + +#. TRANSLATORS: Bander Cover Open +msgid "printer-state-reasons.bander-cover-open" +msgstr "" + +#. TRANSLATORS: Bander Empty +msgid "printer-state-reasons.bander-empty" +msgstr "" + +#. TRANSLATORS: Bander Full +msgid "printer-state-reasons.bander-full" +msgstr "" + +#. TRANSLATORS: Bander Interlock Closed +msgid "printer-state-reasons.bander-interlock-closed" +msgstr "" + +#. TRANSLATORS: Bander Interlock Open +msgid "printer-state-reasons.bander-interlock-open" +msgstr "" + +#. TRANSLATORS: Bander Jam +msgid "printer-state-reasons.bander-jam" +msgstr "" + +#. TRANSLATORS: Bander Life Almost Over +msgid "printer-state-reasons.bander-life-almost-over" +msgstr "" + +#. TRANSLATORS: Bander Life Over +msgid "printer-state-reasons.bander-life-over" +msgstr "" + +#. TRANSLATORS: Bander Memory Exhausted +msgid "printer-state-reasons.bander-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Bander Missing +msgid "printer-state-reasons.bander-missing" +msgstr "" + +#. TRANSLATORS: Bander Motor Failure +msgid "printer-state-reasons.bander-motor-failure" +msgstr "" + +#. TRANSLATORS: Bander Near Limit +msgid "printer-state-reasons.bander-near-limit" +msgstr "" + +#. TRANSLATORS: Bander Offline +msgid "printer-state-reasons.bander-offline" +msgstr "" + +#. TRANSLATORS: Bander Opened +msgid "printer-state-reasons.bander-opened" +msgstr "" + +#. TRANSLATORS: Bander Over Temperature +msgid "printer-state-reasons.bander-over-temperature" +msgstr "" + +#. TRANSLATORS: Bander Power Saver +msgid "printer-state-reasons.bander-power-saver" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Failure +msgid "printer-state-reasons.bander-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Storage +msgid "printer-state-reasons.bander-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Bander Removed +msgid "printer-state-reasons.bander-removed" +msgstr "" + +#. TRANSLATORS: Bander Resource Added +msgid "printer-state-reasons.bander-resource-added" +msgstr "" + +#. TRANSLATORS: Bander Resource Removed +msgid "printer-state-reasons.bander-resource-removed" +msgstr "" + +#. TRANSLATORS: Bander Thermistor Failure +msgid "printer-state-reasons.bander-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Bander Timing Failure +msgid "printer-state-reasons.bander-timing-failure" +msgstr "" + +#. TRANSLATORS: Bander Turned Off +msgid "printer-state-reasons.bander-turned-off" +msgstr "" + +#. TRANSLATORS: Bander Turned On +msgid "printer-state-reasons.bander-turned-on" +msgstr "" + +#. TRANSLATORS: Bander Under Temperature +msgid "printer-state-reasons.bander-under-temperature" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Failure +msgid "printer-state-reasons.bander-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Storage Error +msgid "printer-state-reasons.bander-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Bander Warming Up +msgid "printer-state-reasons.bander-warming-up" +msgstr "" + +#. TRANSLATORS: Binder Added +msgid "printer-state-reasons.binder-added" +msgstr "" + +#. TRANSLATORS: Binder Almost Empty +msgid "printer-state-reasons.binder-almost-empty" +msgstr "" + +#. TRANSLATORS: Binder Almost Full +msgid "printer-state-reasons.binder-almost-full" +msgstr "" + +#. TRANSLATORS: Binder At Limit +msgid "printer-state-reasons.binder-at-limit" +msgstr "" + +#. TRANSLATORS: Binder Closed +msgid "printer-state-reasons.binder-closed" +msgstr "" + +#. TRANSLATORS: Binder Configuration Change +msgid "printer-state-reasons.binder-configuration-change" +msgstr "" + +#. TRANSLATORS: Binder Cover Closed +msgid "printer-state-reasons.binder-cover-closed" +msgstr "" + +#. TRANSLATORS: Binder Cover Open +msgid "printer-state-reasons.binder-cover-open" +msgstr "" + +#. TRANSLATORS: Binder Empty +msgid "printer-state-reasons.binder-empty" +msgstr "" + +#. TRANSLATORS: Binder Full +msgid "printer-state-reasons.binder-full" +msgstr "" + +#. TRANSLATORS: Binder Interlock Closed +msgid "printer-state-reasons.binder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Binder Interlock Open +msgid "printer-state-reasons.binder-interlock-open" +msgstr "" + +#. TRANSLATORS: Binder Jam +msgid "printer-state-reasons.binder-jam" +msgstr "" + +#. TRANSLATORS: Binder Life Almost Over +msgid "printer-state-reasons.binder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Binder Life Over +msgid "printer-state-reasons.binder-life-over" +msgstr "" + +#. TRANSLATORS: Binder Memory Exhausted +msgid "printer-state-reasons.binder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Binder Missing +msgid "printer-state-reasons.binder-missing" +msgstr "" + +#. TRANSLATORS: Binder Motor Failure +msgid "printer-state-reasons.binder-motor-failure" +msgstr "" + +#. TRANSLATORS: Binder Near Limit +msgid "printer-state-reasons.binder-near-limit" +msgstr "" + +#. TRANSLATORS: Binder Offline +msgid "printer-state-reasons.binder-offline" +msgstr "" + +#. TRANSLATORS: Binder Opened +msgid "printer-state-reasons.binder-opened" +msgstr "" + +#. TRANSLATORS: Binder Over Temperature +msgid "printer-state-reasons.binder-over-temperature" +msgstr "" + +#. TRANSLATORS: Binder Power Saver +msgid "printer-state-reasons.binder-power-saver" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Failure +msgid "printer-state-reasons.binder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Storage +msgid "printer-state-reasons.binder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Binder Removed +msgid "printer-state-reasons.binder-removed" +msgstr "" + +#. TRANSLATORS: Binder Resource Added +msgid "printer-state-reasons.binder-resource-added" +msgstr "" + +#. TRANSLATORS: Binder Resource Removed +msgid "printer-state-reasons.binder-resource-removed" +msgstr "" + +#. TRANSLATORS: Binder Thermistor Failure +msgid "printer-state-reasons.binder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Binder Timing Failure +msgid "printer-state-reasons.binder-timing-failure" +msgstr "" + +#. TRANSLATORS: Binder Turned Off +msgid "printer-state-reasons.binder-turned-off" +msgstr "" + +#. TRANSLATORS: Binder Turned On +msgid "printer-state-reasons.binder-turned-on" +msgstr "" + +#. TRANSLATORS: Binder Under Temperature +msgid "printer-state-reasons.binder-under-temperature" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Failure +msgid "printer-state-reasons.binder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Storage Error +msgid "printer-state-reasons.binder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Binder Warming Up +msgid "printer-state-reasons.binder-warming-up" +msgstr "" + +#. TRANSLATORS: Camera Failure +msgid "printer-state-reasons.camera-failure" +msgstr "" + +#. TRANSLATORS: Chamber Cooling +msgid "printer-state-reasons.chamber-cooling" +msgstr "" + +#. TRANSLATORS: Chamber Failure +msgid "printer-state-reasons.chamber-failure" +msgstr "" + +#. TRANSLATORS: Chamber Heating +msgid "printer-state-reasons.chamber-heating" +msgstr "" + +#. TRANSLATORS: Chamber Temperature High +msgid "printer-state-reasons.chamber-temperature-high" +msgstr "" + +#. TRANSLATORS: Chamber Temperature Low +msgid "printer-state-reasons.chamber-temperature-low" +msgstr "" + +#. TRANSLATORS: Cleaner Life Almost Over +msgid "printer-state-reasons.cleaner-life-almost-over" +msgstr "" + +#. TRANSLATORS: Cleaner Life Over +msgid "printer-state-reasons.cleaner-life-over" +msgstr "" + +#. TRANSLATORS: Configuration Change +msgid "printer-state-reasons.configuration-change" +msgstr "" + +#. TRANSLATORS: Connecting To Device +msgid "printer-state-reasons.connecting-to-device" +msgstr "" + +#. TRANSLATORS: Cover Open +msgid "printer-state-reasons.cover-open" +msgstr "" + +#. TRANSLATORS: Deactivated +msgid "printer-state-reasons.deactivated" +msgstr "" + +#. TRANSLATORS: Developer Empty +msgid "printer-state-reasons.developer-empty" +msgstr "" + +#. TRANSLATORS: Developer Low +msgid "printer-state-reasons.developer-low" +msgstr "" + +#. TRANSLATORS: Die Cutter Added +msgid "printer-state-reasons.die-cutter-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Empty +msgid "printer-state-reasons.die-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Full +msgid "printer-state-reasons.die-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Die Cutter At Limit +msgid "printer-state-reasons.die-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Closed +msgid "printer-state-reasons.die-cutter-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Configuration Change +msgid "printer-state-reasons.die-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Closed +msgid "printer-state-reasons.die-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Open +msgid "printer-state-reasons.die-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Empty +msgid "printer-state-reasons.die-cutter-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Full +msgid "printer-state-reasons.die-cutter-full" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Closed +msgid "printer-state-reasons.die-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Open +msgid "printer-state-reasons.die-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Jam +msgid "printer-state-reasons.die-cutter-jam" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Almost Over +msgid "printer-state-reasons.die-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Over +msgid "printer-state-reasons.die-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Memory Exhausted +msgid "printer-state-reasons.die-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Die Cutter Missing +msgid "printer-state-reasons.die-cutter-missing" +msgstr "" + +#. TRANSLATORS: Die Cutter Motor Failure +msgid "printer-state-reasons.die-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Near Limit +msgid "printer-state-reasons.die-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Offline +msgid "printer-state-reasons.die-cutter-offline" +msgstr "" + +#. TRANSLATORS: Die Cutter Opened +msgid "printer-state-reasons.die-cutter-opened" +msgstr "" + +#. TRANSLATORS: Die Cutter Over Temperature +msgid "printer-state-reasons.die-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Power Saver +msgid "printer-state-reasons.die-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Failure +msgid "printer-state-reasons.die-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Storage +msgid "printer-state-reasons.die-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Die Cutter Removed +msgid "printer-state-reasons.die-cutter-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Added +msgid "printer-state-reasons.die-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Removed +msgid "printer-state-reasons.die-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Thermistor Failure +msgid "printer-state-reasons.die-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Timing Failure +msgid "printer-state-reasons.die-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned Off +msgid "printer-state-reasons.die-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned On +msgid "printer-state-reasons.die-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Die Cutter Under Temperature +msgid "printer-state-reasons.die-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Failure +msgid "printer-state-reasons.die-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.die-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Die Cutter Warming Up +msgid "printer-state-reasons.die-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Door Open +msgid "printer-state-reasons.door-open" +msgstr "" + +#. TRANSLATORS: Extruder Cooling +msgid "printer-state-reasons.extruder-cooling" +msgstr "" + +#. TRANSLATORS: Extruder Failure +msgid "printer-state-reasons.extruder-failure" +msgstr "" + +#. TRANSLATORS: Extruder Heating +msgid "printer-state-reasons.extruder-heating" +msgstr "" + +#. TRANSLATORS: Extruder Jam +msgid "printer-state-reasons.extruder-jam" +msgstr "" + +#. TRANSLATORS: Extruder Temperature High +msgid "printer-state-reasons.extruder-temperature-high" +msgstr "" + +#. TRANSLATORS: Extruder Temperature Low +msgid "printer-state-reasons.extruder-temperature-low" +msgstr "" + +#. TRANSLATORS: Fan Failure +msgid "printer-state-reasons.fan-failure" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Almost Over +msgid "printer-state-reasons.fax-modem-life-almost-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Over +msgid "printer-state-reasons.fax-modem-life-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Missing +msgid "printer-state-reasons.fax-modem-missing" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned Off +msgid "printer-state-reasons.fax-modem-turned-off" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned On +msgid "printer-state-reasons.fax-modem-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Added +msgid "printer-state-reasons.folder-added" +msgstr "" + +#. TRANSLATORS: Folder Almost Empty +msgid "printer-state-reasons.folder-almost-empty" +msgstr "" + +#. TRANSLATORS: Folder Almost Full +msgid "printer-state-reasons.folder-almost-full" +msgstr "" + +#. TRANSLATORS: Folder At Limit +msgid "printer-state-reasons.folder-at-limit" +msgstr "" + +#. TRANSLATORS: Folder Closed +msgid "printer-state-reasons.folder-closed" +msgstr "" + +#. TRANSLATORS: Folder Configuration Change +msgid "printer-state-reasons.folder-configuration-change" +msgstr "" + +#. TRANSLATORS: Folder Cover Closed +msgid "printer-state-reasons.folder-cover-closed" +msgstr "" + +#. TRANSLATORS: Folder Cover Open +msgid "printer-state-reasons.folder-cover-open" +msgstr "" + +#. TRANSLATORS: Folder Empty +msgid "printer-state-reasons.folder-empty" +msgstr "" + +#. TRANSLATORS: Folder Full +msgid "printer-state-reasons.folder-full" +msgstr "" + +#. TRANSLATORS: Folder Interlock Closed +msgid "printer-state-reasons.folder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Folder Interlock Open +msgid "printer-state-reasons.folder-interlock-open" +msgstr "" + +#. TRANSLATORS: Folder Jam +msgid "printer-state-reasons.folder-jam" +msgstr "" + +#. TRANSLATORS: Folder Life Almost Over +msgid "printer-state-reasons.folder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Folder Life Over +msgid "printer-state-reasons.folder-life-over" +msgstr "" + +#. TRANSLATORS: Folder Memory Exhausted +msgid "printer-state-reasons.folder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Folder Missing +msgid "printer-state-reasons.folder-missing" +msgstr "" + +#. TRANSLATORS: Folder Motor Failure +msgid "printer-state-reasons.folder-motor-failure" +msgstr "" + +#. TRANSLATORS: Folder Near Limit +msgid "printer-state-reasons.folder-near-limit" +msgstr "" + +#. TRANSLATORS: Folder Offline +msgid "printer-state-reasons.folder-offline" +msgstr "" + +#. TRANSLATORS: Folder Opened +msgid "printer-state-reasons.folder-opened" +msgstr "" + +#. TRANSLATORS: Folder Over Temperature +msgid "printer-state-reasons.folder-over-temperature" +msgstr "" + +#. TRANSLATORS: Folder Power Saver +msgid "printer-state-reasons.folder-power-saver" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Failure +msgid "printer-state-reasons.folder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Storage +msgid "printer-state-reasons.folder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Folder Removed +msgid "printer-state-reasons.folder-removed" +msgstr "" + +#. TRANSLATORS: Folder Resource Added +msgid "printer-state-reasons.folder-resource-added" +msgstr "" + +#. TRANSLATORS: Folder Resource Removed +msgid "printer-state-reasons.folder-resource-removed" +msgstr "" + +#. TRANSLATORS: Folder Thermistor Failure +msgid "printer-state-reasons.folder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Folder Timing Failure +msgid "printer-state-reasons.folder-timing-failure" +msgstr "" + +#. TRANSLATORS: Folder Turned Off +msgid "printer-state-reasons.folder-turned-off" +msgstr "" + +#. TRANSLATORS: Folder Turned On +msgid "printer-state-reasons.folder-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Under Temperature +msgid "printer-state-reasons.folder-under-temperature" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Failure +msgid "printer-state-reasons.folder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Storage Error +msgid "printer-state-reasons.folder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Folder Warming Up +msgid "printer-state-reasons.folder-warming-up" +msgstr "" + +#. TRANSLATORS: Fuser temperature high +msgid "printer-state-reasons.fuser-over-temp" +msgstr "" + +#. TRANSLATORS: Fuser temperature low +msgid "printer-state-reasons.fuser-under-temp" +msgstr "" + +#. TRANSLATORS: Hold New Jobs +msgid "printer-state-reasons.hold-new-jobs" +msgstr "" + +#. TRANSLATORS: Identify Printer +msgid "printer-state-reasons.identify-printer-requested" +msgstr "" + +#. TRANSLATORS: Imprinter Added +msgid "printer-state-reasons.imprinter-added" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Empty +msgid "printer-state-reasons.imprinter-almost-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Full +msgid "printer-state-reasons.imprinter-almost-full" +msgstr "" + +#. TRANSLATORS: Imprinter At Limit +msgid "printer-state-reasons.imprinter-at-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Closed +msgid "printer-state-reasons.imprinter-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Configuration Change +msgid "printer-state-reasons.imprinter-configuration-change" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Closed +msgid "printer-state-reasons.imprinter-cover-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Open +msgid "printer-state-reasons.imprinter-cover-open" +msgstr "" + +#. TRANSLATORS: Imprinter Empty +msgid "printer-state-reasons.imprinter-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Full +msgid "printer-state-reasons.imprinter-full" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Closed +msgid "printer-state-reasons.imprinter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Open +msgid "printer-state-reasons.imprinter-interlock-open" +msgstr "" + +#. TRANSLATORS: Imprinter Jam +msgid "printer-state-reasons.imprinter-jam" +msgstr "" + +#. TRANSLATORS: Imprinter Life Almost Over +msgid "printer-state-reasons.imprinter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Imprinter Life Over +msgid "printer-state-reasons.imprinter-life-over" +msgstr "" + +#. TRANSLATORS: Imprinter Memory Exhausted +msgid "printer-state-reasons.imprinter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Imprinter Missing +msgid "printer-state-reasons.imprinter-missing" +msgstr "" + +#. TRANSLATORS: Imprinter Motor Failure +msgid "printer-state-reasons.imprinter-motor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Near Limit +msgid "printer-state-reasons.imprinter-near-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Offline +msgid "printer-state-reasons.imprinter-offline" +msgstr "" + +#. TRANSLATORS: Imprinter Opened +msgid "printer-state-reasons.imprinter-opened" +msgstr "" + +#. TRANSLATORS: Imprinter Over Temperature +msgid "printer-state-reasons.imprinter-over-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Power Saver +msgid "printer-state-reasons.imprinter-power-saver" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Failure +msgid "printer-state-reasons.imprinter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Storage +msgid "printer-state-reasons.imprinter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Imprinter Removed +msgid "printer-state-reasons.imprinter-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Added +msgid "printer-state-reasons.imprinter-resource-added" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Removed +msgid "printer-state-reasons.imprinter-resource-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Thermistor Failure +msgid "printer-state-reasons.imprinter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Timing Failure +msgid "printer-state-reasons.imprinter-timing-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Turned Off +msgid "printer-state-reasons.imprinter-turned-off" +msgstr "" + +#. TRANSLATORS: Imprinter Turned On +msgid "printer-state-reasons.imprinter-turned-on" +msgstr "" + +#. TRANSLATORS: Imprinter Under Temperature +msgid "printer-state-reasons.imprinter-under-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Failure +msgid "printer-state-reasons.imprinter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Storage Error +msgid "printer-state-reasons.imprinter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Imprinter Warming Up +msgid "printer-state-reasons.imprinter-warming-up" +msgstr "" + +#. TRANSLATORS: Input Cannot Feed Size Selected +msgid "printer-state-reasons.input-cannot-feed-size-selected" +msgstr "" + +#. TRANSLATORS: Input Manual Input Request +msgid "printer-state-reasons.input-manual-input-request" +msgstr "" + +#. TRANSLATORS: Input Media Color Change +msgid "printer-state-reasons.input-media-color-change" +msgstr "" + +#. TRANSLATORS: Input Media Form Parts Change +msgid "printer-state-reasons.input-media-form-parts-change" +msgstr "" + +#. TRANSLATORS: Input Media Size Change +msgid "printer-state-reasons.input-media-size-change" +msgstr "" + +#. TRANSLATORS: Input Media Tray Failure +msgid "printer-state-reasons.input-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Input Media Tray Feed Error +msgid "printer-state-reasons.input-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Input Media Tray Jam +msgid "printer-state-reasons.input-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Input Media Type Change +msgid "printer-state-reasons.input-media-type-change" +msgstr "" + +#. TRANSLATORS: Input Media Weight Change +msgid "printer-state-reasons.input-media-weight-change" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Failure +msgid "printer-state-reasons.input-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Over +msgid "printer-state-reasons.input-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Warn +msgid "printer-state-reasons.input-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Missing +msgid "printer-state-reasons.input-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Elevation Failure +msgid "printer-state-reasons.input-tray-elevation-failure" +msgstr "" + +#. TRANSLATORS: Paper tray is missing +msgid "printer-state-reasons.input-tray-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Position Failure +msgid "printer-state-reasons.input-tray-position-failure" +msgstr "" + +#. TRANSLATORS: Inserter Added +msgid "printer-state-reasons.inserter-added" +msgstr "" + +#. TRANSLATORS: Inserter Almost Empty +msgid "printer-state-reasons.inserter-almost-empty" +msgstr "" + +#. TRANSLATORS: Inserter Almost Full +msgid "printer-state-reasons.inserter-almost-full" +msgstr "" + +#. TRANSLATORS: Inserter At Limit +msgid "printer-state-reasons.inserter-at-limit" +msgstr "" + +#. TRANSLATORS: Inserter Closed +msgid "printer-state-reasons.inserter-closed" +msgstr "" + +#. TRANSLATORS: Inserter Configuration Change +msgid "printer-state-reasons.inserter-configuration-change" +msgstr "" + +#. TRANSLATORS: Inserter Cover Closed +msgid "printer-state-reasons.inserter-cover-closed" +msgstr "" + +#. TRANSLATORS: Inserter Cover Open +msgid "printer-state-reasons.inserter-cover-open" +msgstr "" + +#. TRANSLATORS: Inserter Empty +msgid "printer-state-reasons.inserter-empty" +msgstr "" + +#. TRANSLATORS: Inserter Full +msgid "printer-state-reasons.inserter-full" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Closed +msgid "printer-state-reasons.inserter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Open +msgid "printer-state-reasons.inserter-interlock-open" +msgstr "" + +#. TRANSLATORS: Inserter Jam +msgid "printer-state-reasons.inserter-jam" +msgstr "" + +#. TRANSLATORS: Inserter Life Almost Over +msgid "printer-state-reasons.inserter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Inserter Life Over +msgid "printer-state-reasons.inserter-life-over" +msgstr "" + +#. TRANSLATORS: Inserter Memory Exhausted +msgid "printer-state-reasons.inserter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Inserter Missing +msgid "printer-state-reasons.inserter-missing" +msgstr "" + +#. TRANSLATORS: Inserter Motor Failure +msgid "printer-state-reasons.inserter-motor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Near Limit +msgid "printer-state-reasons.inserter-near-limit" +msgstr "" + +#. TRANSLATORS: Inserter Offline +msgid "printer-state-reasons.inserter-offline" +msgstr "" + +#. TRANSLATORS: Inserter Opened +msgid "printer-state-reasons.inserter-opened" +msgstr "" + +#. TRANSLATORS: Inserter Over Temperature +msgid "printer-state-reasons.inserter-over-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Power Saver +msgid "printer-state-reasons.inserter-power-saver" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Failure +msgid "printer-state-reasons.inserter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Storage +msgid "printer-state-reasons.inserter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Inserter Removed +msgid "printer-state-reasons.inserter-removed" +msgstr "" + +#. TRANSLATORS: Inserter Resource Added +msgid "printer-state-reasons.inserter-resource-added" +msgstr "" + +#. TRANSLATORS: Inserter Resource Removed +msgid "printer-state-reasons.inserter-resource-removed" +msgstr "" + +#. TRANSLATORS: Inserter Thermistor Failure +msgid "printer-state-reasons.inserter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Timing Failure +msgid "printer-state-reasons.inserter-timing-failure" +msgstr "" + +#. TRANSLATORS: Inserter Turned Off +msgid "printer-state-reasons.inserter-turned-off" +msgstr "" + +#. TRANSLATORS: Inserter Turned On +msgid "printer-state-reasons.inserter-turned-on" +msgstr "" + +#. TRANSLATORS: Inserter Under Temperature +msgid "printer-state-reasons.inserter-under-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Failure +msgid "printer-state-reasons.inserter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Storage Error +msgid "printer-state-reasons.inserter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Inserter Warming Up +msgid "printer-state-reasons.inserter-warming-up" +msgstr "" + +#. TRANSLATORS: Interlock Closed +msgid "printer-state-reasons.interlock-closed" +msgstr "" + +#. TRANSLATORS: Interlock Open +msgid "printer-state-reasons.interlock-open" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Added +msgid "printer-state-reasons.interpreter-cartridge-added" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Removed +msgid "printer-state-reasons.interpreter-cartridge-deleted" +msgstr "" + +#. TRANSLATORS: Interpreter Complex Page Encountered +msgid "printer-state-reasons.interpreter-complex-page-encountered" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Decrease +msgid "printer-state-reasons.interpreter-memory-decrease" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Increase +msgid "printer-state-reasons.interpreter-memory-increase" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Added +msgid "printer-state-reasons.interpreter-resource-added" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Deleted +msgid "printer-state-reasons.interpreter-resource-deleted" +msgstr "" + +#. TRANSLATORS: Printer resource unavailable +msgid "printer-state-reasons.interpreter-resource-unavailable" +msgstr "" + +#. TRANSLATORS: Lamp At End of Life +msgid "printer-state-reasons.lamp-at-eol" +msgstr "" + +#. TRANSLATORS: Lamp Failure +msgid "printer-state-reasons.lamp-failure" +msgstr "" + +#. TRANSLATORS: Lamp Near End of Life +msgid "printer-state-reasons.lamp-near-eol" +msgstr "" + +#. TRANSLATORS: Laser At End of Life +msgid "printer-state-reasons.laser-at-eol" +msgstr "" + +#. TRANSLATORS: Laser Failure +msgid "printer-state-reasons.laser-failure" +msgstr "" + +#. TRANSLATORS: Laser Near End of Life +msgid "printer-state-reasons.laser-near-eol" +msgstr "" + +#. TRANSLATORS: Envelope Maker Added +msgid "printer-state-reasons.make-envelope-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Empty +msgid "printer-state-reasons.make-envelope-almost-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Full +msgid "printer-state-reasons.make-envelope-almost-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker At Limit +msgid "printer-state-reasons.make-envelope-at-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Closed +msgid "printer-state-reasons.make-envelope-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Configuration Change +msgid "printer-state-reasons.make-envelope-configuration-change" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Closed +msgid "printer-state-reasons.make-envelope-cover-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Open +msgid "printer-state-reasons.make-envelope-cover-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Empty +msgid "printer-state-reasons.make-envelope-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Full +msgid "printer-state-reasons.make-envelope-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Closed +msgid "printer-state-reasons.make-envelope-interlock-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Open +msgid "printer-state-reasons.make-envelope-interlock-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Jam +msgid "printer-state-reasons.make-envelope-jam" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Almost Over +msgid "printer-state-reasons.make-envelope-life-almost-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Over +msgid "printer-state-reasons.make-envelope-life-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Memory Exhausted +msgid "printer-state-reasons.make-envelope-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Envelope Maker Missing +msgid "printer-state-reasons.make-envelope-missing" +msgstr "" + +#. TRANSLATORS: Envelope Maker Motor Failure +msgid "printer-state-reasons.make-envelope-motor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Near Limit +msgid "printer-state-reasons.make-envelope-near-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Offline +msgid "printer-state-reasons.make-envelope-offline" +msgstr "" + +#. TRANSLATORS: Envelope Maker Opened +msgid "printer-state-reasons.make-envelope-opened" +msgstr "" + +#. TRANSLATORS: Envelope Maker Over Temperature +msgid "printer-state-reasons.make-envelope-over-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Power Saver +msgid "printer-state-reasons.make-envelope-power-saver" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Failure +msgid "printer-state-reasons.make-envelope-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Storage +msgid "printer-state-reasons.make-envelope-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Envelope Maker Removed +msgid "printer-state-reasons.make-envelope-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Added +msgid "printer-state-reasons.make-envelope-resource-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Removed +msgid "printer-state-reasons.make-envelope-resource-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Thermistor Failure +msgid "printer-state-reasons.make-envelope-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Timing Failure +msgid "printer-state-reasons.make-envelope-timing-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned Off +msgid "printer-state-reasons.make-envelope-turned-off" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned On +msgid "printer-state-reasons.make-envelope-turned-on" +msgstr "" + +#. TRANSLATORS: Envelope Maker Under Temperature +msgid "printer-state-reasons.make-envelope-under-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Failure +msgid "printer-state-reasons.make-envelope-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Storage Error +msgid "printer-state-reasons.make-envelope-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Envelope Maker Warming Up +msgid "printer-state-reasons.make-envelope-warming-up" +msgstr "" + +#. TRANSLATORS: Marker Adjusting Print Quality +msgid "printer-state-reasons.marker-adjusting-print-quality" +msgstr "" + +#. TRANSLATORS: Marker Cleaner Missing +msgid "printer-state-reasons.marker-cleaner-missing" +msgstr "" + +#. TRANSLATORS: Marker Developer Almost Empty +msgid "printer-state-reasons.marker-developer-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Empty +msgid "printer-state-reasons.marker-developer-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Missing +msgid "printer-state-reasons.marker-developer-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Missing +msgid "printer-state-reasons.marker-fuser-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Thermistor Failure +msgid "printer-state-reasons.marker-fuser-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Marker Fuser Timing Failure +msgid "printer-state-reasons.marker-fuser-timing-failure" +msgstr "" + +#. TRANSLATORS: Marker Ink Almost Empty +msgid "printer-state-reasons.marker-ink-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Empty +msgid "printer-state-reasons.marker-ink-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Missing +msgid "printer-state-reasons.marker-ink-missing" +msgstr "" + +#. TRANSLATORS: Marker Opc Missing +msgid "printer-state-reasons.marker-opc-missing" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Almost Empty +msgid "printer-state-reasons.marker-print-ribbon-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Empty +msgid "printer-state-reasons.marker-print-ribbon-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Missing +msgid "printer-state-reasons.marker-print-ribbon-missing" +msgstr "" + +#. TRANSLATORS: Marker Supply Almost Empty +msgid "printer-state-reasons.marker-supply-almost-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner empty +msgid "printer-state-reasons.marker-supply-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner low +msgid "printer-state-reasons.marker-supply-low" +msgstr "" + +#. TRANSLATORS: Marker Supply Missing +msgid "printer-state-reasons.marker-supply-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Cartridge Missing +msgid "printer-state-reasons.marker-toner-cartridge-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Missing +msgid "printer-state-reasons.marker-toner-missing" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin almost full +msgid "printer-state-reasons.marker-waste-almost-full" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin full +msgid "printer-state-reasons.marker-waste-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Missing +msgid "printer-state-reasons.marker-waste-ink-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Missing +msgid "printer-state-reasons.marker-waste-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Missing +msgid "printer-state-reasons.marker-waste-toner-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Material Empty +msgid "printer-state-reasons.material-empty" +msgstr "" + +#. TRANSLATORS: Material Low +msgid "printer-state-reasons.material-low" +msgstr "" + +#. TRANSLATORS: Material Needed +msgid "printer-state-reasons.material-needed" +msgstr "" + +#. TRANSLATORS: Media Drying +msgid "printer-state-reasons.media-drying" +msgstr "" + +#. TRANSLATORS: Paper tray is empty +msgid "printer-state-reasons.media-empty" +msgstr "" + +#. TRANSLATORS: Paper jam +msgid "printer-state-reasons.media-jam" +msgstr "" + +#. TRANSLATORS: Paper tray is almost empty +msgid "printer-state-reasons.media-low" +msgstr "" + +#. TRANSLATORS: Load paper +msgid "printer-state-reasons.media-needed" +msgstr "" + +#. TRANSLATORS: Media Path Cannot Do 2-Sided Printing +msgid "printer-state-reasons.media-path-cannot-duplex-media-selected" +msgstr "" + +#. TRANSLATORS: Media Path Failure +msgid "printer-state-reasons.media-path-failure" +msgstr "" + +#. TRANSLATORS: Media Path Input Empty +msgid "printer-state-reasons.media-path-input-empty" +msgstr "" + +#. TRANSLATORS: Media Path Input Feed Error +msgid "printer-state-reasons.media-path-input-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Input Jam +msgid "printer-state-reasons.media-path-input-jam" +msgstr "" + +#. TRANSLATORS: Media Path Input Request +msgid "printer-state-reasons.media-path-input-request" +msgstr "" + +#. TRANSLATORS: Media Path Jam +msgid "printer-state-reasons.media-path-jam" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Almost Full +msgid "printer-state-reasons.media-path-media-tray-almost-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Full +msgid "printer-state-reasons.media-path-media-tray-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Missing +msgid "printer-state-reasons.media-path-media-tray-missing" +msgstr "" + +#. TRANSLATORS: Media Path Output Feed Error +msgid "printer-state-reasons.media-path-output-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Output Full +msgid "printer-state-reasons.media-path-output-full" +msgstr "" + +#. TRANSLATORS: Media Path Output Jam +msgid "printer-state-reasons.media-path-output-jam" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Failure +msgid "printer-state-reasons.media-path-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Over +msgid "printer-state-reasons.media-path-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Warn +msgid "printer-state-reasons.media-path-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Missing +msgid "printer-state-reasons.media-path-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Motor Failure +msgid "printer-state-reasons.motor-failure" +msgstr "" + +#. TRANSLATORS: Printer going offline +msgid "printer-state-reasons.moving-to-paused" +msgstr "" + +#. TRANSLATORS: None +msgid "printer-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Optical Photoconductor Life Over +msgid "printer-state-reasons.opc-life-over" +msgstr "" + +#. TRANSLATORS: OPC almost at end-of-life +msgid "printer-state-reasons.opc-near-eol" +msgstr "" + +#. TRANSLATORS: Check the printer for errors +msgid "printer-state-reasons.other" +msgstr "" + +#. TRANSLATORS: Output bin is almost full +msgid "printer-state-reasons.output-area-almost-full" +msgstr "" + +#. TRANSLATORS: Output bin is full +msgid "printer-state-reasons.output-area-full" +msgstr "" + +#. TRANSLATORS: Output Mailbox Select Failure +msgid "printer-state-reasons.output-mailbox-select-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Failure +msgid "printer-state-reasons.output-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Feed Error +msgid "printer-state-reasons.output-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Output Media Tray Jam +msgid "printer-state-reasons.output-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Output tray is missing +msgid "printer-state-reasons.output-tray-missing" +msgstr "" + +#. TRANSLATORS: Paused +msgid "printer-state-reasons.paused" +msgstr "" + +#. TRANSLATORS: Perforater Added +msgid "printer-state-reasons.perforater-added" +msgstr "" + +#. TRANSLATORS: Perforater Almost Empty +msgid "printer-state-reasons.perforater-almost-empty" +msgstr "" + +#. TRANSLATORS: Perforater Almost Full +msgid "printer-state-reasons.perforater-almost-full" +msgstr "" + +#. TRANSLATORS: Perforater At Limit +msgid "printer-state-reasons.perforater-at-limit" +msgstr "" + +#. TRANSLATORS: Perforater Closed +msgid "printer-state-reasons.perforater-closed" +msgstr "" + +#. TRANSLATORS: Perforater Configuration Change +msgid "printer-state-reasons.perforater-configuration-change" +msgstr "" + +#. TRANSLATORS: Perforater Cover Closed +msgid "printer-state-reasons.perforater-cover-closed" +msgstr "" + +#. TRANSLATORS: Perforater Cover Open +msgid "printer-state-reasons.perforater-cover-open" +msgstr "" + +#. TRANSLATORS: Perforater Empty +msgid "printer-state-reasons.perforater-empty" +msgstr "" + +#. TRANSLATORS: Perforater Full +msgid "printer-state-reasons.perforater-full" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Closed +msgid "printer-state-reasons.perforater-interlock-closed" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Open +msgid "printer-state-reasons.perforater-interlock-open" +msgstr "" + +#. TRANSLATORS: Perforater Jam +msgid "printer-state-reasons.perforater-jam" +msgstr "" + +#. TRANSLATORS: Perforater Life Almost Over +msgid "printer-state-reasons.perforater-life-almost-over" +msgstr "" + +#. TRANSLATORS: Perforater Life Over +msgid "printer-state-reasons.perforater-life-over" +msgstr "" + +#. TRANSLATORS: Perforater Memory Exhausted +msgid "printer-state-reasons.perforater-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Perforater Missing +msgid "printer-state-reasons.perforater-missing" +msgstr "" + +#. TRANSLATORS: Perforater Motor Failure +msgid "printer-state-reasons.perforater-motor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Near Limit +msgid "printer-state-reasons.perforater-near-limit" +msgstr "" + +#. TRANSLATORS: Perforater Offline +msgid "printer-state-reasons.perforater-offline" +msgstr "" + +#. TRANSLATORS: Perforater Opened +msgid "printer-state-reasons.perforater-opened" +msgstr "" + +#. TRANSLATORS: Perforater Over Temperature +msgid "printer-state-reasons.perforater-over-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Power Saver +msgid "printer-state-reasons.perforater-power-saver" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Failure +msgid "printer-state-reasons.perforater-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Storage +msgid "printer-state-reasons.perforater-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Perforater Removed +msgid "printer-state-reasons.perforater-removed" +msgstr "" + +#. TRANSLATORS: Perforater Resource Added +msgid "printer-state-reasons.perforater-resource-added" +msgstr "" + +#. TRANSLATORS: Perforater Resource Removed +msgid "printer-state-reasons.perforater-resource-removed" +msgstr "" + +#. TRANSLATORS: Perforater Thermistor Failure +msgid "printer-state-reasons.perforater-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Timing Failure +msgid "printer-state-reasons.perforater-timing-failure" +msgstr "" + +#. TRANSLATORS: Perforater Turned Off +msgid "printer-state-reasons.perforater-turned-off" +msgstr "" + +#. TRANSLATORS: Perforater Turned On +msgid "printer-state-reasons.perforater-turned-on" +msgstr "" + +#. TRANSLATORS: Perforater Under Temperature +msgid "printer-state-reasons.perforater-under-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Failure +msgid "printer-state-reasons.perforater-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Storage Error +msgid "printer-state-reasons.perforater-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Perforater Warming Up +msgid "printer-state-reasons.perforater-warming-up" +msgstr "" + +#. TRANSLATORS: Platform Cooling +msgid "printer-state-reasons.platform-cooling" +msgstr "" + +#. TRANSLATORS: Platform Failure +msgid "printer-state-reasons.platform-failure" +msgstr "" + +#. TRANSLATORS: Platform Heating +msgid "printer-state-reasons.platform-heating" +msgstr "" + +#. TRANSLATORS: Platform Temperature High +msgid "printer-state-reasons.platform-temperature-high" +msgstr "" + +#. TRANSLATORS: Platform Temperature Low +msgid "printer-state-reasons.platform-temperature-low" +msgstr "" + +#. TRANSLATORS: Power Down +msgid "printer-state-reasons.power-down" +msgstr "" + +#. TRANSLATORS: Power Up +msgid "printer-state-reasons.power-up" +msgstr "" + +#. TRANSLATORS: Printer Reset Manually +msgid "printer-state-reasons.printer-manual-reset" +msgstr "" + +#. TRANSLATORS: Printer Reset Remotely +msgid "printer-state-reasons.printer-nms-reset" +msgstr "" + +#. TRANSLATORS: Printer Ready To Print +msgid "printer-state-reasons.printer-ready-to-print" +msgstr "" + +#. TRANSLATORS: Puncher Added +msgid "printer-state-reasons.puncher-added" +msgstr "" + +#. TRANSLATORS: Puncher Almost Empty +msgid "printer-state-reasons.puncher-almost-empty" +msgstr "" + +#. TRANSLATORS: Puncher Almost Full +msgid "printer-state-reasons.puncher-almost-full" +msgstr "" + +#. TRANSLATORS: Puncher At Limit +msgid "printer-state-reasons.puncher-at-limit" +msgstr "" + +#. TRANSLATORS: Puncher Closed +msgid "printer-state-reasons.puncher-closed" +msgstr "" + +#. TRANSLATORS: Puncher Configuration Change +msgid "printer-state-reasons.puncher-configuration-change" +msgstr "" + +#. TRANSLATORS: Puncher Cover Closed +msgid "printer-state-reasons.puncher-cover-closed" +msgstr "" + +#. TRANSLATORS: Puncher Cover Open +msgid "printer-state-reasons.puncher-cover-open" +msgstr "" + +#. TRANSLATORS: Puncher Empty +msgid "printer-state-reasons.puncher-empty" +msgstr "" + +#. TRANSLATORS: Puncher Full +msgid "printer-state-reasons.puncher-full" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Closed +msgid "printer-state-reasons.puncher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Open +msgid "printer-state-reasons.puncher-interlock-open" +msgstr "" + +#. TRANSLATORS: Puncher Jam +msgid "printer-state-reasons.puncher-jam" +msgstr "" + +#. TRANSLATORS: Puncher Life Almost Over +msgid "printer-state-reasons.puncher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Puncher Life Over +msgid "printer-state-reasons.puncher-life-over" +msgstr "" + +#. TRANSLATORS: Puncher Memory Exhausted +msgid "printer-state-reasons.puncher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Puncher Missing +msgid "printer-state-reasons.puncher-missing" +msgstr "" + +#. TRANSLATORS: Puncher Motor Failure +msgid "printer-state-reasons.puncher-motor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Near Limit +msgid "printer-state-reasons.puncher-near-limit" +msgstr "" + +#. TRANSLATORS: Puncher Offline +msgid "printer-state-reasons.puncher-offline" +msgstr "" + +#. TRANSLATORS: Puncher Opened +msgid "printer-state-reasons.puncher-opened" +msgstr "" + +#. TRANSLATORS: Puncher Over Temperature +msgid "printer-state-reasons.puncher-over-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Power Saver +msgid "printer-state-reasons.puncher-power-saver" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Failure +msgid "printer-state-reasons.puncher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Storage +msgid "printer-state-reasons.puncher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Puncher Removed +msgid "printer-state-reasons.puncher-removed" +msgstr "" + +#. TRANSLATORS: Puncher Resource Added +msgid "printer-state-reasons.puncher-resource-added" +msgstr "" + +#. TRANSLATORS: Puncher Resource Removed +msgid "printer-state-reasons.puncher-resource-removed" +msgstr "" + +#. TRANSLATORS: Puncher Thermistor Failure +msgid "printer-state-reasons.puncher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Timing Failure +msgid "printer-state-reasons.puncher-timing-failure" +msgstr "" + +#. TRANSLATORS: Puncher Turned Off +msgid "printer-state-reasons.puncher-turned-off" +msgstr "" + +#. TRANSLATORS: Puncher Turned On +msgid "printer-state-reasons.puncher-turned-on" +msgstr "" + +#. TRANSLATORS: Puncher Under Temperature +msgid "printer-state-reasons.puncher-under-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Failure +msgid "printer-state-reasons.puncher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Storage Error +msgid "printer-state-reasons.puncher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Puncher Warming Up +msgid "printer-state-reasons.puncher-warming-up" +msgstr "" + +#. TRANSLATORS: Separation Cutter Added +msgid "printer-state-reasons.separation-cutter-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Empty +msgid "printer-state-reasons.separation-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Full +msgid "printer-state-reasons.separation-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter At Limit +msgid "printer-state-reasons.separation-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Closed +msgid "printer-state-reasons.separation-cutter-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Configuration Change +msgid "printer-state-reasons.separation-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Closed +msgid "printer-state-reasons.separation-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Open +msgid "printer-state-reasons.separation-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Empty +msgid "printer-state-reasons.separation-cutter-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Full +msgid "printer-state-reasons.separation-cutter-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Closed +msgid "printer-state-reasons.separation-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Open +msgid "printer-state-reasons.separation-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Jam +msgid "printer-state-reasons.separation-cutter-jam" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Almost Over +msgid "printer-state-reasons.separation-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Over +msgid "printer-state-reasons.separation-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Memory Exhausted +msgid "printer-state-reasons.separation-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Separation Cutter Missing +msgid "printer-state-reasons.separation-cutter-missing" +msgstr "" + +#. TRANSLATORS: Separation Cutter Motor Failure +msgid "printer-state-reasons.separation-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Near Limit +msgid "printer-state-reasons.separation-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Offline +msgid "printer-state-reasons.separation-cutter-offline" +msgstr "" + +#. TRANSLATORS: Separation Cutter Opened +msgid "printer-state-reasons.separation-cutter-opened" +msgstr "" + +#. TRANSLATORS: Separation Cutter Over Temperature +msgid "printer-state-reasons.separation-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Power Saver +msgid "printer-state-reasons.separation-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Failure +msgid "printer-state-reasons.separation-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Storage +msgid "printer-state-reasons.separation-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Separation Cutter Removed +msgid "printer-state-reasons.separation-cutter-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Added +msgid "printer-state-reasons.separation-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Removed +msgid "printer-state-reasons.separation-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Thermistor Failure +msgid "printer-state-reasons.separation-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Timing Failure +msgid "printer-state-reasons.separation-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned Off +msgid "printer-state-reasons.separation-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned On +msgid "printer-state-reasons.separation-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Separation Cutter Under Temperature +msgid "printer-state-reasons.separation-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Failure +msgid "printer-state-reasons.separation-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.separation-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Separation Cutter Warming Up +msgid "printer-state-reasons.separation-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Added +msgid "printer-state-reasons.sheet-rotator-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Empty +msgid "printer-state-reasons.sheet-rotator-almost-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Full +msgid "printer-state-reasons.sheet-rotator-almost-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator At Limit +msgid "printer-state-reasons.sheet-rotator-at-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Closed +msgid "printer-state-reasons.sheet-rotator-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Configuration Change +msgid "printer-state-reasons.sheet-rotator-configuration-change" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Closed +msgid "printer-state-reasons.sheet-rotator-cover-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Open +msgid "printer-state-reasons.sheet-rotator-cover-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Empty +msgid "printer-state-reasons.sheet-rotator-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Full +msgid "printer-state-reasons.sheet-rotator-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Closed +msgid "printer-state-reasons.sheet-rotator-interlock-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Open +msgid "printer-state-reasons.sheet-rotator-interlock-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Jam +msgid "printer-state-reasons.sheet-rotator-jam" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Almost Over +msgid "printer-state-reasons.sheet-rotator-life-almost-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Over +msgid "printer-state-reasons.sheet-rotator-life-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Memory Exhausted +msgid "printer-state-reasons.sheet-rotator-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Missing +msgid "printer-state-reasons.sheet-rotator-missing" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Motor Failure +msgid "printer-state-reasons.sheet-rotator-motor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Near Limit +msgid "printer-state-reasons.sheet-rotator-near-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Offline +msgid "printer-state-reasons.sheet-rotator-offline" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Opened +msgid "printer-state-reasons.sheet-rotator-opened" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Over Temperature +msgid "printer-state-reasons.sheet-rotator-over-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Power Saver +msgid "printer-state-reasons.sheet-rotator-power-saver" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Failure +msgid "printer-state-reasons.sheet-rotator-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Storage +msgid "printer-state-reasons.sheet-rotator-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Removed +msgid "printer-state-reasons.sheet-rotator-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Added +msgid "printer-state-reasons.sheet-rotator-resource-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Removed +msgid "printer-state-reasons.sheet-rotator-resource-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Thermistor Failure +msgid "printer-state-reasons.sheet-rotator-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Timing Failure +msgid "printer-state-reasons.sheet-rotator-timing-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned Off +msgid "printer-state-reasons.sheet-rotator-turned-off" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned On +msgid "printer-state-reasons.sheet-rotator-turned-on" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Under Temperature +msgid "printer-state-reasons.sheet-rotator-under-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Failure +msgid "printer-state-reasons.sheet-rotator-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +msgid "printer-state-reasons.sheet-rotator-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Warming Up +msgid "printer-state-reasons.sheet-rotator-warming-up" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "printer-state-reasons.shutdown" +msgstr "" + +#. TRANSLATORS: Slitter Added +msgid "printer-state-reasons.slitter-added" +msgstr "" + +#. TRANSLATORS: Slitter Almost Empty +msgid "printer-state-reasons.slitter-almost-empty" +msgstr "" + +#. TRANSLATORS: Slitter Almost Full +msgid "printer-state-reasons.slitter-almost-full" +msgstr "" + +#. TRANSLATORS: Slitter At Limit +msgid "printer-state-reasons.slitter-at-limit" +msgstr "" + +#. TRANSLATORS: Slitter Closed +msgid "printer-state-reasons.slitter-closed" +msgstr "" + +#. TRANSLATORS: Slitter Configuration Change +msgid "printer-state-reasons.slitter-configuration-change" +msgstr "" + +#. TRANSLATORS: Slitter Cover Closed +msgid "printer-state-reasons.slitter-cover-closed" +msgstr "" + +#. TRANSLATORS: Slitter Cover Open +msgid "printer-state-reasons.slitter-cover-open" +msgstr "" + +#. TRANSLATORS: Slitter Empty +msgid "printer-state-reasons.slitter-empty" +msgstr "" + +#. TRANSLATORS: Slitter Full +msgid "printer-state-reasons.slitter-full" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Closed +msgid "printer-state-reasons.slitter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Open +msgid "printer-state-reasons.slitter-interlock-open" +msgstr "" + +#. TRANSLATORS: Slitter Jam +msgid "printer-state-reasons.slitter-jam" +msgstr "" + +#. TRANSLATORS: Slitter Life Almost Over +msgid "printer-state-reasons.slitter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Slitter Life Over +msgid "printer-state-reasons.slitter-life-over" +msgstr "" + +#. TRANSLATORS: Slitter Memory Exhausted +msgid "printer-state-reasons.slitter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Slitter Missing +msgid "printer-state-reasons.slitter-missing" +msgstr "" + +#. TRANSLATORS: Slitter Motor Failure +msgid "printer-state-reasons.slitter-motor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Near Limit +msgid "printer-state-reasons.slitter-near-limit" +msgstr "" + +#. TRANSLATORS: Slitter Offline +msgid "printer-state-reasons.slitter-offline" +msgstr "" + +#. TRANSLATORS: Slitter Opened +msgid "printer-state-reasons.slitter-opened" +msgstr "" + +#. TRANSLATORS: Slitter Over Temperature +msgid "printer-state-reasons.slitter-over-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Power Saver +msgid "printer-state-reasons.slitter-power-saver" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Failure +msgid "printer-state-reasons.slitter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Storage +msgid "printer-state-reasons.slitter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Slitter Removed +msgid "printer-state-reasons.slitter-removed" +msgstr "" + +#. TRANSLATORS: Slitter Resource Added +msgid "printer-state-reasons.slitter-resource-added" +msgstr "" + +#. TRANSLATORS: Slitter Resource Removed +msgid "printer-state-reasons.slitter-resource-removed" +msgstr "" + +#. TRANSLATORS: Slitter Thermistor Failure +msgid "printer-state-reasons.slitter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Timing Failure +msgid "printer-state-reasons.slitter-timing-failure" +msgstr "" + +#. TRANSLATORS: Slitter Turned Off +msgid "printer-state-reasons.slitter-turned-off" +msgstr "" + +#. TRANSLATORS: Slitter Turned On +msgid "printer-state-reasons.slitter-turned-on" +msgstr "" + +#. TRANSLATORS: Slitter Under Temperature +msgid "printer-state-reasons.slitter-under-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Failure +msgid "printer-state-reasons.slitter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Storage Error +msgid "printer-state-reasons.slitter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Slitter Warming Up +msgid "printer-state-reasons.slitter-warming-up" +msgstr "" + +#. TRANSLATORS: Spool Area Full +msgid "printer-state-reasons.spool-area-full" +msgstr "" + +#. TRANSLATORS: Stacker Added +msgid "printer-state-reasons.stacker-added" +msgstr "" + +#. TRANSLATORS: Stacker Almost Empty +msgid "printer-state-reasons.stacker-almost-empty" +msgstr "" + +#. TRANSLATORS: Stacker Almost Full +msgid "printer-state-reasons.stacker-almost-full" +msgstr "" + +#. TRANSLATORS: Stacker At Limit +msgid "printer-state-reasons.stacker-at-limit" +msgstr "" + +#. TRANSLATORS: Stacker Closed +msgid "printer-state-reasons.stacker-closed" +msgstr "" + +#. TRANSLATORS: Stacker Configuration Change +msgid "printer-state-reasons.stacker-configuration-change" +msgstr "" + +#. TRANSLATORS: Stacker Cover Closed +msgid "printer-state-reasons.stacker-cover-closed" +msgstr "" + +#. TRANSLATORS: Stacker Cover Open +msgid "printer-state-reasons.stacker-cover-open" +msgstr "" + +#. TRANSLATORS: Stacker Empty +msgid "printer-state-reasons.stacker-empty" +msgstr "" + +#. TRANSLATORS: Stacker Full +msgid "printer-state-reasons.stacker-full" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Closed +msgid "printer-state-reasons.stacker-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Open +msgid "printer-state-reasons.stacker-interlock-open" +msgstr "" + +#. TRANSLATORS: Stacker Jam +msgid "printer-state-reasons.stacker-jam" +msgstr "" + +#. TRANSLATORS: Stacker Life Almost Over +msgid "printer-state-reasons.stacker-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stacker Life Over +msgid "printer-state-reasons.stacker-life-over" +msgstr "" + +#. TRANSLATORS: Stacker Memory Exhausted +msgid "printer-state-reasons.stacker-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stacker Missing +msgid "printer-state-reasons.stacker-missing" +msgstr "" + +#. TRANSLATORS: Stacker Motor Failure +msgid "printer-state-reasons.stacker-motor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Near Limit +msgid "printer-state-reasons.stacker-near-limit" +msgstr "" + +#. TRANSLATORS: Stacker Offline +msgid "printer-state-reasons.stacker-offline" +msgstr "" + +#. TRANSLATORS: Stacker Opened +msgid "printer-state-reasons.stacker-opened" +msgstr "" + +#. TRANSLATORS: Stacker Over Temperature +msgid "printer-state-reasons.stacker-over-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Power Saver +msgid "printer-state-reasons.stacker-power-saver" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Failure +msgid "printer-state-reasons.stacker-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Storage +msgid "printer-state-reasons.stacker-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stacker Removed +msgid "printer-state-reasons.stacker-removed" +msgstr "" + +#. TRANSLATORS: Stacker Resource Added +msgid "printer-state-reasons.stacker-resource-added" +msgstr "" + +#. TRANSLATORS: Stacker Resource Removed +msgid "printer-state-reasons.stacker-resource-removed" +msgstr "" + +#. TRANSLATORS: Stacker Thermistor Failure +msgid "printer-state-reasons.stacker-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Timing Failure +msgid "printer-state-reasons.stacker-timing-failure" +msgstr "" + +#. TRANSLATORS: Stacker Turned Off +msgid "printer-state-reasons.stacker-turned-off" +msgstr "" + +#. TRANSLATORS: Stacker Turned On +msgid "printer-state-reasons.stacker-turned-on" +msgstr "" + +#. TRANSLATORS: Stacker Under Temperature +msgid "printer-state-reasons.stacker-under-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Failure +msgid "printer-state-reasons.stacker-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Storage Error +msgid "printer-state-reasons.stacker-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stacker Warming Up +msgid "printer-state-reasons.stacker-warming-up" +msgstr "" + +#. TRANSLATORS: Stapler Added +msgid "printer-state-reasons.stapler-added" +msgstr "" + +#. TRANSLATORS: Stapler Almost Empty +msgid "printer-state-reasons.stapler-almost-empty" +msgstr "" + +#. TRANSLATORS: Stapler Almost Full +msgid "printer-state-reasons.stapler-almost-full" +msgstr "" + +#. TRANSLATORS: Stapler At Limit +msgid "printer-state-reasons.stapler-at-limit" +msgstr "" + +#. TRANSLATORS: Stapler Closed +msgid "printer-state-reasons.stapler-closed" +msgstr "" + +#. TRANSLATORS: Stapler Configuration Change +msgid "printer-state-reasons.stapler-configuration-change" +msgstr "" + +#. TRANSLATORS: Stapler Cover Closed +msgid "printer-state-reasons.stapler-cover-closed" +msgstr "" + +#. TRANSLATORS: Stapler Cover Open +msgid "printer-state-reasons.stapler-cover-open" +msgstr "" + +#. TRANSLATORS: Stapler Empty +msgid "printer-state-reasons.stapler-empty" +msgstr "" + +#. TRANSLATORS: Stapler Full +msgid "printer-state-reasons.stapler-full" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Closed +msgid "printer-state-reasons.stapler-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Open +msgid "printer-state-reasons.stapler-interlock-open" +msgstr "" + +#. TRANSLATORS: Stapler Jam +msgid "printer-state-reasons.stapler-jam" +msgstr "" + +#. TRANSLATORS: Stapler Life Almost Over +msgid "printer-state-reasons.stapler-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stapler Life Over +msgid "printer-state-reasons.stapler-life-over" +msgstr "" + +#. TRANSLATORS: Stapler Memory Exhausted +msgid "printer-state-reasons.stapler-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stapler Missing +msgid "printer-state-reasons.stapler-missing" +msgstr "" + +#. TRANSLATORS: Stapler Motor Failure +msgid "printer-state-reasons.stapler-motor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Near Limit +msgid "printer-state-reasons.stapler-near-limit" +msgstr "" + +#. TRANSLATORS: Stapler Offline +msgid "printer-state-reasons.stapler-offline" +msgstr "" + +#. TRANSLATORS: Stapler Opened +msgid "printer-state-reasons.stapler-opened" +msgstr "" + +#. TRANSLATORS: Stapler Over Temperature +msgid "printer-state-reasons.stapler-over-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Power Saver +msgid "printer-state-reasons.stapler-power-saver" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Failure +msgid "printer-state-reasons.stapler-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Storage +msgid "printer-state-reasons.stapler-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stapler Removed +msgid "printer-state-reasons.stapler-removed" +msgstr "" + +#. TRANSLATORS: Stapler Resource Added +msgid "printer-state-reasons.stapler-resource-added" +msgstr "" + +#. TRANSLATORS: Stapler Resource Removed +msgid "printer-state-reasons.stapler-resource-removed" +msgstr "" + +#. TRANSLATORS: Stapler Thermistor Failure +msgid "printer-state-reasons.stapler-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Timing Failure +msgid "printer-state-reasons.stapler-timing-failure" +msgstr "" + +#. TRANSLATORS: Stapler Turned Off +msgid "printer-state-reasons.stapler-turned-off" +msgstr "" + +#. TRANSLATORS: Stapler Turned On +msgid "printer-state-reasons.stapler-turned-on" +msgstr "" + +#. TRANSLATORS: Stapler Under Temperature +msgid "printer-state-reasons.stapler-under-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Failure +msgid "printer-state-reasons.stapler-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Storage Error +msgid "printer-state-reasons.stapler-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stapler Warming Up +msgid "printer-state-reasons.stapler-warming-up" +msgstr "" + +#. TRANSLATORS: Stitcher Added +msgid "printer-state-reasons.stitcher-added" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Empty +msgid "printer-state-reasons.stitcher-almost-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Full +msgid "printer-state-reasons.stitcher-almost-full" +msgstr "" + +#. TRANSLATORS: Stitcher At Limit +msgid "printer-state-reasons.stitcher-at-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Closed +msgid "printer-state-reasons.stitcher-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Configuration Change +msgid "printer-state-reasons.stitcher-configuration-change" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Closed +msgid "printer-state-reasons.stitcher-cover-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Open +msgid "printer-state-reasons.stitcher-cover-open" +msgstr "" + +#. TRANSLATORS: Stitcher Empty +msgid "printer-state-reasons.stitcher-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Full +msgid "printer-state-reasons.stitcher-full" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Closed +msgid "printer-state-reasons.stitcher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Open +msgid "printer-state-reasons.stitcher-interlock-open" +msgstr "" + +#. TRANSLATORS: Stitcher Jam +msgid "printer-state-reasons.stitcher-jam" +msgstr "" + +#. TRANSLATORS: Stitcher Life Almost Over +msgid "printer-state-reasons.stitcher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stitcher Life Over +msgid "printer-state-reasons.stitcher-life-over" +msgstr "" + +#. TRANSLATORS: Stitcher Memory Exhausted +msgid "printer-state-reasons.stitcher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stitcher Missing +msgid "printer-state-reasons.stitcher-missing" +msgstr "" + +#. TRANSLATORS: Stitcher Motor Failure +msgid "printer-state-reasons.stitcher-motor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Near Limit +msgid "printer-state-reasons.stitcher-near-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Offline +msgid "printer-state-reasons.stitcher-offline" +msgstr "" + +#. TRANSLATORS: Stitcher Opened +msgid "printer-state-reasons.stitcher-opened" +msgstr "" + +#. TRANSLATORS: Stitcher Over Temperature +msgid "printer-state-reasons.stitcher-over-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Power Saver +msgid "printer-state-reasons.stitcher-power-saver" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Failure +msgid "printer-state-reasons.stitcher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Storage +msgid "printer-state-reasons.stitcher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stitcher Removed +msgid "printer-state-reasons.stitcher-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Added +msgid "printer-state-reasons.stitcher-resource-added" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Removed +msgid "printer-state-reasons.stitcher-resource-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Thermistor Failure +msgid "printer-state-reasons.stitcher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Timing Failure +msgid "printer-state-reasons.stitcher-timing-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Turned Off +msgid "printer-state-reasons.stitcher-turned-off" +msgstr "" + +#. TRANSLATORS: Stitcher Turned On +msgid "printer-state-reasons.stitcher-turned-on" +msgstr "" + +#. TRANSLATORS: Stitcher Under Temperature +msgid "printer-state-reasons.stitcher-under-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Failure +msgid "printer-state-reasons.stitcher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Storage Error +msgid "printer-state-reasons.stitcher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stitcher Warming Up +msgid "printer-state-reasons.stitcher-warming-up" +msgstr "" + +#. TRANSLATORS: Partially stopped +msgid "printer-state-reasons.stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "printer-state-reasons.stopping" +msgstr "" + +#. TRANSLATORS: Subunit Added +msgid "printer-state-reasons.subunit-added" +msgstr "" + +#. TRANSLATORS: Subunit Almost Empty +msgid "printer-state-reasons.subunit-almost-empty" +msgstr "" + +#. TRANSLATORS: Subunit Almost Full +msgid "printer-state-reasons.subunit-almost-full" +msgstr "" + +#. TRANSLATORS: Subunit At Limit +msgid "printer-state-reasons.subunit-at-limit" +msgstr "" + +#. TRANSLATORS: Subunit Closed +msgid "printer-state-reasons.subunit-closed" +msgstr "" + +#. TRANSLATORS: Subunit Cooling Down +msgid "printer-state-reasons.subunit-cooling-down" +msgstr "" + +#. TRANSLATORS: Subunit Empty +msgid "printer-state-reasons.subunit-empty" +msgstr "" + +#. TRANSLATORS: Subunit Full +msgid "printer-state-reasons.subunit-full" +msgstr "" + +#. TRANSLATORS: Subunit Life Almost Over +msgid "printer-state-reasons.subunit-life-almost-over" +msgstr "" + +#. TRANSLATORS: Subunit Life Over +msgid "printer-state-reasons.subunit-life-over" +msgstr "" + +#. TRANSLATORS: Subunit Memory Exhausted +msgid "printer-state-reasons.subunit-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Subunit Missing +msgid "printer-state-reasons.subunit-missing" +msgstr "" + +#. TRANSLATORS: Subunit Motor Failure +msgid "printer-state-reasons.subunit-motor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Near Limit +msgid "printer-state-reasons.subunit-near-limit" +msgstr "" + +#. TRANSLATORS: Subunit Offline +msgid "printer-state-reasons.subunit-offline" +msgstr "" + +#. TRANSLATORS: Subunit Opened +msgid "printer-state-reasons.subunit-opened" +msgstr "" + +#. TRANSLATORS: Subunit Over Temperature +msgid "printer-state-reasons.subunit-over-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Power Saver +msgid "printer-state-reasons.subunit-power-saver" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Failure +msgid "printer-state-reasons.subunit-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Storage +msgid "printer-state-reasons.subunit-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Removed +msgid "printer-state-reasons.subunit-removed" +msgstr "" + +#. TRANSLATORS: Subunit Resource Added +msgid "printer-state-reasons.subunit-resource-added" +msgstr "" + +#. TRANSLATORS: Subunit Resource Removed +msgid "printer-state-reasons.subunit-resource-removed" +msgstr "" + +#. TRANSLATORS: Subunit Thermistor Failure +msgid "printer-state-reasons.subunit-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Timing Failure +msgid "printer-state-reasons.subunit-timing-Failure" +msgstr "" + +#. TRANSLATORS: Subunit Turned Off +msgid "printer-state-reasons.subunit-turned-off" +msgstr "" + +#. TRANSLATORS: Subunit Turned On +msgid "printer-state-reasons.subunit-turned-on" +msgstr "" + +#. TRANSLATORS: Subunit Under Temperature +msgid "printer-state-reasons.subunit-under-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Failure +msgid "printer-state-reasons.subunit-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Storage +msgid "printer-state-reasons.subunit-unrecoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Warming Up +msgid "printer-state-reasons.subunit-warming-up" +msgstr "" + +#. TRANSLATORS: Printer stopped responding +msgid "printer-state-reasons.timed-out" +msgstr "" + +#. TRANSLATORS: Out of toner +msgid "printer-state-reasons.toner-empty" +msgstr "" + +#. TRANSLATORS: Toner low +msgid "printer-state-reasons.toner-low" +msgstr "" + +#. TRANSLATORS: Trimmer Added +msgid "printer-state-reasons.trimmer-added" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Empty +msgid "printer-state-reasons.trimmer-almost-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Full +msgid "printer-state-reasons.trimmer-almost-full" +msgstr "" + +#. TRANSLATORS: Trimmer At Limit +msgid "printer-state-reasons.trimmer-at-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Closed +msgid "printer-state-reasons.trimmer-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Configuration Change +msgid "printer-state-reasons.trimmer-configuration-change" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Closed +msgid "printer-state-reasons.trimmer-cover-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Open +msgid "printer-state-reasons.trimmer-cover-open" +msgstr "" + +#. TRANSLATORS: Trimmer Empty +msgid "printer-state-reasons.trimmer-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Full +msgid "printer-state-reasons.trimmer-full" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Closed +msgid "printer-state-reasons.trimmer-interlock-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Open +msgid "printer-state-reasons.trimmer-interlock-open" +msgstr "" + +#. TRANSLATORS: Trimmer Jam +msgid "printer-state-reasons.trimmer-jam" +msgstr "" + +#. TRANSLATORS: Trimmer Life Almost Over +msgid "printer-state-reasons.trimmer-life-almost-over" +msgstr "" + +#. TRANSLATORS: Trimmer Life Over +msgid "printer-state-reasons.trimmer-life-over" +msgstr "" + +#. TRANSLATORS: Trimmer Memory Exhausted +msgid "printer-state-reasons.trimmer-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Trimmer Missing +msgid "printer-state-reasons.trimmer-missing" +msgstr "" + +#. TRANSLATORS: Trimmer Motor Failure +msgid "printer-state-reasons.trimmer-motor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Near Limit +msgid "printer-state-reasons.trimmer-near-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Offline +msgid "printer-state-reasons.trimmer-offline" +msgstr "" + +#. TRANSLATORS: Trimmer Opened +msgid "printer-state-reasons.trimmer-opened" +msgstr "" + +#. TRANSLATORS: Trimmer Over Temperature +msgid "printer-state-reasons.trimmer-over-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Power Saver +msgid "printer-state-reasons.trimmer-power-saver" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Failure +msgid "printer-state-reasons.trimmer-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Storage +msgid "printer-state-reasons.trimmer-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Trimmer Removed +msgid "printer-state-reasons.trimmer-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Added +msgid "printer-state-reasons.trimmer-resource-added" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Removed +msgid "printer-state-reasons.trimmer-resource-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Thermistor Failure +msgid "printer-state-reasons.trimmer-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Timing Failure +msgid "printer-state-reasons.trimmer-timing-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Turned Off +msgid "printer-state-reasons.trimmer-turned-off" +msgstr "" + +#. TRANSLATORS: Trimmer Turned On +msgid "printer-state-reasons.trimmer-turned-on" +msgstr "" + +#. TRANSLATORS: Trimmer Under Temperature +msgid "printer-state-reasons.trimmer-under-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Failure +msgid "printer-state-reasons.trimmer-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Storage Error +msgid "printer-state-reasons.trimmer-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Trimmer Warming Up +msgid "printer-state-reasons.trimmer-warming-up" +msgstr "" + +#. TRANSLATORS: Unknown +msgid "printer-state-reasons.unknown" +msgstr "" + +#. TRANSLATORS: Wrapper Added +msgid "printer-state-reasons.wrapper-added" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Empty +msgid "printer-state-reasons.wrapper-almost-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Full +msgid "printer-state-reasons.wrapper-almost-full" +msgstr "" + +#. TRANSLATORS: Wrapper At Limit +msgid "printer-state-reasons.wrapper-at-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Closed +msgid "printer-state-reasons.wrapper-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Configuration Change +msgid "printer-state-reasons.wrapper-configuration-change" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Closed +msgid "printer-state-reasons.wrapper-cover-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Open +msgid "printer-state-reasons.wrapper-cover-open" +msgstr "" + +#. TRANSLATORS: Wrapper Empty +msgid "printer-state-reasons.wrapper-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Full +msgid "printer-state-reasons.wrapper-full" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Closed +msgid "printer-state-reasons.wrapper-interlock-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Open +msgid "printer-state-reasons.wrapper-interlock-open" +msgstr "" + +#. TRANSLATORS: Wrapper Jam +msgid "printer-state-reasons.wrapper-jam" +msgstr "" + +#. TRANSLATORS: Wrapper Life Almost Over +msgid "printer-state-reasons.wrapper-life-almost-over" +msgstr "" + +#. TRANSLATORS: Wrapper Life Over +msgid "printer-state-reasons.wrapper-life-over" +msgstr "" + +#. TRANSLATORS: Wrapper Memory Exhausted +msgid "printer-state-reasons.wrapper-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Wrapper Missing +msgid "printer-state-reasons.wrapper-missing" +msgstr "" + +#. TRANSLATORS: Wrapper Motor Failure +msgid "printer-state-reasons.wrapper-motor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Near Limit +msgid "printer-state-reasons.wrapper-near-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Offline +msgid "printer-state-reasons.wrapper-offline" +msgstr "" + +#. TRANSLATORS: Wrapper Opened +msgid "printer-state-reasons.wrapper-opened" +msgstr "" + +#. TRANSLATORS: Wrapper Over Temperature +msgid "printer-state-reasons.wrapper-over-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Power Saver +msgid "printer-state-reasons.wrapper-power-saver" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Failure +msgid "printer-state-reasons.wrapper-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Storage +msgid "printer-state-reasons.wrapper-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Wrapper Removed +msgid "printer-state-reasons.wrapper-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Added +msgid "printer-state-reasons.wrapper-resource-added" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Removed +msgid "printer-state-reasons.wrapper-resource-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Thermistor Failure +msgid "printer-state-reasons.wrapper-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Timing Failure +msgid "printer-state-reasons.wrapper-timing-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Turned Off +msgid "printer-state-reasons.wrapper-turned-off" +msgstr "" + +#. TRANSLATORS: Wrapper Turned On +msgid "printer-state-reasons.wrapper-turned-on" +msgstr "" + +#. TRANSLATORS: Wrapper Under Temperature +msgid "printer-state-reasons.wrapper-under-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Failure +msgid "printer-state-reasons.wrapper-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Storage Error +msgid "printer-state-reasons.wrapper-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Wrapper Warming Up +msgid "printer-state-reasons.wrapper-warming-up" +msgstr "" + +#. TRANSLATORS: Idle +msgid "printer-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "printer-state.4" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "printer-state.5" +msgstr "" + +#. TRANSLATORS: Printer Uptime +msgid "printer-up-time" +msgstr "" + +msgid "processing" +msgstr "zpracování" + +#. TRANSLATORS: Proof Print +msgid "proof-print" +msgstr "" + +#. TRANSLATORS: Proof Print Copies +msgid "proof-print-copies" +msgstr "" + +#. TRANSLATORS: Punching +msgid "punching" +msgstr "" + +#. TRANSLATORS: Punching Locations +msgid "punching-locations" +msgstr "" + +#. TRANSLATORS: Punching Offset +msgid "punching-offset" +msgstr "" + +#. TRANSLATORS: Punch Edge +msgid "punching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "punching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "punching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "punching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "punching-reference-edge.top" +msgstr "" + +#, c-format +msgid "request id is %s-%d (%d file(s))" +msgstr "" + +msgid "request-id uses indefinite length" +msgstr "ID požadavku má neomezenou délku" + +#. TRANSLATORS: Requested Attributes +msgid "requested-attributes" +msgstr "" + +#. TRANSLATORS: Retry Interval +msgid "retry-interval" +msgstr "" + +#. TRANSLATORS: Retry Timeout +msgid "retry-time-out" +msgstr "" + +#. TRANSLATORS: Save Disposition +msgid "save-disposition" +msgstr "" + +#. TRANSLATORS: None +msgid "save-disposition.none" +msgstr "" + +#. TRANSLATORS: Print and Save +msgid "save-disposition.print-save" +msgstr "" + +#. TRANSLATORS: Save Only +msgid "save-disposition.save-only" +msgstr "" + +#. TRANSLATORS: Save Document Format +msgid "save-document-format" +msgstr "" + +#. TRANSLATORS: Save Info +msgid "save-info" +msgstr "" + +#. TRANSLATORS: Save Location +msgid "save-location" +msgstr "" + +#. TRANSLATORS: Save Name +msgid "save-name" +msgstr "" + +msgid "scheduler is not running" +msgstr "" + +msgid "scheduler is running" +msgstr "" + +#. TRANSLATORS: Separator Sheets +msgid "separator-sheets" +msgstr "" + +#. TRANSLATORS: Type of Separator Sheets +msgid "separator-sheets-type" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "separator-sheets-type.both-sheets" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "separator-sheets-type.end-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "separator-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Slip Sheets +msgid "separator-sheets-type.slip-sheets" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "separator-sheets-type.start-sheet" +msgstr "" + +#. TRANSLATORS: 2-Sided Printing +msgid "sides" +msgstr "" + +#. TRANSLATORS: Off +msgid "sides.one-sided" +msgstr "" + +#. TRANSLATORS: On (Portrait) +msgid "sides.two-sided-long-edge" +msgstr "" + +#. TRANSLATORS: On (Landscape) +msgid "sides.two-sided-short-edge" +msgstr "" + +#, c-format +msgid "stat of %s failed: %s" +msgstr "stav %s selhalo: %s" + +msgid "status\t\tShow status of daemon and queue." +msgstr "" + +#. TRANSLATORS: Status Message +msgid "status-message" +msgstr "" + +#. TRANSLATORS: Staple +msgid "stitching" +msgstr "" + +#. TRANSLATORS: Stitching Angle +msgid "stitching-angle" +msgstr "" + +#. TRANSLATORS: Stitching Locations +msgid "stitching-locations" +msgstr "" + +#. TRANSLATORS: Staple Method +msgid "stitching-method" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "stitching-method.auto" +msgstr "" + +#. TRANSLATORS: Crimp +msgid "stitching-method.crimp" +msgstr "" + +#. TRANSLATORS: Wire +msgid "stitching-method.wire" +msgstr "" + +#. TRANSLATORS: Stitching Offset +msgid "stitching-offset" +msgstr "" + +#. TRANSLATORS: Staple Edge +msgid "stitching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "stitching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "stitching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "stitching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "stitching-reference-edge.top" +msgstr "" + +msgid "stopped" +msgstr "zastaveno" + +#. TRANSLATORS: Subject +msgid "subject" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Attributes +msgid "subscription-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Subscription Description +msgid "subscription-privacy-attributes.subscription-description" +msgstr "" + +#. TRANSLATORS: Subscription Template +msgid "subscription-privacy-attributes.subscription-template" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Scope +msgid "subscription-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "subscription-privacy-scope.owner" +msgstr "" + +#, c-format +msgid "system default destination: %s" +msgstr "" + +#, c-format +msgid "system default destination: %s/%s" +msgstr "" + +#. TRANSLATORS: T33 Subaddress +msgid "t33-subaddress" +msgstr "T33 Subaddress" + +#. TRANSLATORS: To Name +msgid "to-name" +msgstr "" + +#. TRANSLATORS: Transmission Status +msgid "transmission-status" +msgstr "" + +#. TRANSLATORS: Pending +msgid "transmission-status.3" +msgstr "" + +#. TRANSLATORS: Pending Retry +msgid "transmission-status.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "transmission-status.5" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "transmission-status.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "transmission-status.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "transmission-status.9" +msgstr "" + +#. TRANSLATORS: Cut +msgid "trimming" +msgstr "" + +#. TRANSLATORS: Cut Position +msgid "trimming-offset" +msgstr "" + +#. TRANSLATORS: Cut Edge +msgid "trimming-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "trimming-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "trimming-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "trimming-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "trimming-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Type of Cut +msgid "trimming-type" +msgstr "" + +#. TRANSLATORS: Draw Line +msgid "trimming-type.draw-line" +msgstr "" + +#. TRANSLATORS: Full +msgid "trimming-type.full" +msgstr "" + +#. TRANSLATORS: Partial +msgid "trimming-type.partial" +msgstr "" + +#. TRANSLATORS: Perforate +msgid "trimming-type.perforate" +msgstr "" + +#. TRANSLATORS: Score +msgid "trimming-type.score" +msgstr "" + +#. TRANSLATORS: Tab +msgid "trimming-type.tab" +msgstr "" + +#. TRANSLATORS: Cut After +msgid "trimming-when" +msgstr "" + +#. TRANSLATORS: Every Document +msgid "trimming-when.after-documents" +msgstr "" + +#. TRANSLATORS: Job +msgid "trimming-when.after-job" +msgstr "" + +#. TRANSLATORS: Every Set +msgid "trimming-when.after-sets" +msgstr "" + +#. TRANSLATORS: Every Page +msgid "trimming-when.after-sheets" +msgstr "" + +msgid "unknown" +msgstr "neznámý" + +msgid "untitled" +msgstr "nepojmenovaný" + +msgid "variable-bindings uses indefinite length" +msgstr "\"variable-bindings\" má neomezenou délku" + +#. TRANSLATORS: X Accuracy +msgid "x-accuracy" +msgstr "" + +#. TRANSLATORS: X Dimension +msgid "x-dimension" +msgstr "" + +#. TRANSLATORS: X Offset +msgid "x-offset" +msgstr "" + +#. TRANSLATORS: X Origin +msgid "x-origin" +msgstr "" + +#. TRANSLATORS: Y Accuracy +msgid "y-accuracy" +msgstr "" + +#. TRANSLATORS: Y Dimension +msgid "y-dimension" +msgstr "" + +#. TRANSLATORS: Y Offset +msgid "y-offset" +msgstr "" + +#. TRANSLATORS: Y Origin +msgid "y-origin" +msgstr "" + +#. TRANSLATORS: Z Accuracy +msgid "z-accuracy" +msgstr "" + +#. TRANSLATORS: Z Dimension +msgid "z-dimension" +msgstr "" + +#. TRANSLATORS: Z Offset +msgid "z-offset" +msgstr "" + +msgid "{service_domain} Domain name" +msgstr "" + +msgid "{service_hostname} Fully-qualified domain name" +msgstr "" + +msgid "{service_name} Service instance name" +msgstr "" + +msgid "{service_port} Port number" +msgstr "" + +msgid "{service_regtype} DNS-SD registration type" +msgstr "" + +msgid "{service_scheme} URI scheme" +msgstr "" + +msgid "{service_uri} URI" +msgstr "" + +msgid "{txt_*} Value of TXT record key" +msgstr "" + +msgid "{} URI" +msgstr "" + +msgid "~/.cups/lpoptions file names default destination that does not exist." +msgstr "" + +#~ msgid "Export Printers to Samba" +#~ msgstr "Export tiskáren do Samby" diff --git a/locale/cups_de.po b/locale/cups_de.po new file mode 100644 index 0000000..0363a3c --- /dev/null +++ b/locale/cups_de.po @@ -0,0 +1,15044 @@ +# +# German message catalog for CUPS. +# +# Copyright © 2007-2018 by Apple Inc. +# Copyright © 2005-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +# Notes for Translators: +# +# The "checkpo" program located in the "locale" source directory can be used +# to verify that your translations do not introduce formatting errors or other +# problems. Run with: +# +# cd locale +# ./checkpo cups_LL.po +# +# where "LL" is your locale. +# +msgid "" +msgstr "" +"Project-Id-Version: CUPS 2.3\n" +"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n" +"POT-Creation-Date: 2019-08-23 09:13-0400\n" +"PO-Revision-Date: 2017-10-25 14:57+0200\n" +"Last-Translator: Joachim Schwender \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "\t\t(all)" +msgstr "\t\t(alle)" + +msgid "\t\t(none)" +msgstr "\t\t(keine)" + +#, c-format +msgid "\t%d entries" +msgstr "\t%d Einträge" + +#, c-format +msgid "\t%s" +msgstr "\t%s" + +msgid "\tAfter fault: continue" +msgstr "\tNach einem Fehler: fortfahren" + +#, c-format +msgid "\tAlerts: %s" +msgstr "\tAlarme: %s" + +msgid "\tBanner required" +msgstr "\tBanner erforderlich" + +msgid "\tCharset sets:" +msgstr "\tZeichensatz Set:" + +msgid "\tConnection: direct" +msgstr "\tVerbindung: direkt" + +msgid "\tConnection: remote" +msgstr "\tVerbindung: über Netz" + +msgid "\tContent types: any" +msgstr "\tInhaltstypen: beliebig" + +msgid "\tDefault page size:" +msgstr "\tVoreingestellte Seitengrösse:" + +msgid "\tDefault pitch:" +msgstr "\tVoreingestellte Neigung:" + +msgid "\tDefault port settings:" +msgstr "\tVoreingestellte Porteinstellungen:" + +#, c-format +msgid "\tDescription: %s" +msgstr "\tBeschreibung: %s" + +msgid "\tForm mounted:" +msgstr "\tGeladenes Formblatt" + +msgid "\tForms allowed:" +msgstr "\tErlaubte Formblätter:" + +#, c-format +msgid "\tInterface: %s.ppd" +msgstr "\tSchnittstelle: %s.ppd" + +#, c-format +msgid "\tInterface: %s/ppd/%s.ppd" +msgstr "\tSchnittstelle: %s/ppp/%s.ppd" + +#, c-format +msgid "\tLocation: %s" +msgstr "\tOrt: %s" + +msgid "\tOn fault: no alert" +msgstr "\tBei Fehlern: kein Alarm" + +msgid "\tPrinter types: unknown" +msgstr "\tDruckertypen: unbekannt" + +#, c-format +msgid "\tStatus: %s" +msgstr "\tStatus: %s" + +msgid "\tUsers allowed:" +msgstr "\tErlaubte Benutzer:" + +msgid "\tUsers denied:" +msgstr "\tGesperrte Benutzer:" + +msgid "\tdaemon present" +msgstr "\tDienst verfügbar" + +msgid "\tno entries" +msgstr "\tKeine Einträge" + +#, c-format +msgid "\tprinter is on device '%s' speed -1" +msgstr "\tDrucker ist am Gerät '%s' Geschwindigkeit -1" + +msgid "\tprinting is disabled" +msgstr "\tDrucken ist abgeschaltet" + +msgid "\tprinting is enabled" +msgstr "\tDrucken ist eingeschaltet" + +#, c-format +msgid "\tqueued for %s" +msgstr "\tin Warteschlange eingereiht für %s" + +msgid "\tqueuing is disabled" +msgstr "\tin Warteschlange einreihen gesperrt" + +msgid "\tqueuing is enabled" +msgstr "\tin Warteschlange einreihen erlaubt" + +msgid "\treason unknown" +msgstr "\tunbekannter Grund" + +msgid "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" +msgstr "" + +msgid " REF: Page 15, section 3.1." +msgstr " REF: Seite 15, Kap. 3.1." + +msgid " REF: Page 15, section 3.2." +msgstr " REF: Seite 15, Kap. 3.2." + +msgid " REF: Page 19, section 3.3." +msgstr " REF: Seite 19, Kap. 3.3." + +msgid " REF: Page 20, section 3.4." +msgstr " REF: Seite 20, Kap. 3.4." + +msgid " REF: Page 27, section 3.5." +msgstr " REF: Seite 27, Kap. 3.5." + +msgid " REF: Page 42, section 5.2." +msgstr " REF: Seite 42, Kap. 5.2." + +msgid " REF: Pages 16-17, section 3.2." +msgstr " REF: Seiten 16-17, Kap. 3.2." + +msgid " REF: Pages 42-45, section 5.2." +msgstr " REF: Seiten 42-45, Kap. 5.2." + +msgid " REF: Pages 45-46, section 5.2." +msgstr " REF: Seiten 45-46, Kap. 5.2." + +msgid " REF: Pages 48-49, section 5.2." +msgstr " REF: Seiten 48-49, Kap. 5.2." + +msgid " REF: Pages 52-54, section 5.2." +msgstr " REF: Seiten 52-52, Kap. 5.2." + +#, c-format +msgid " %-39.39s %.0f bytes" +msgstr "" + +#, c-format +msgid " PASS Default%s" +msgstr "" + +msgid " PASS DefaultImageableArea" +msgstr "" + +msgid " PASS DefaultPaperDimension" +msgstr "" + +msgid " PASS FileVersion" +msgstr "" + +msgid " PASS FormatVersion" +msgstr "" + +msgid " PASS LanguageEncoding" +msgstr "" + +msgid " PASS LanguageVersion" +msgstr "" + +msgid " PASS Manufacturer" +msgstr "" + +msgid " PASS ModelName" +msgstr "" + +msgid " PASS NickName" +msgstr "" + +msgid " PASS PCFileName" +msgstr "" + +msgid " PASS PSVersion" +msgstr "" + +msgid " PASS PageRegion" +msgstr "" + +msgid " PASS PageSize" +msgstr "" + +msgid " PASS Product" +msgstr "" + +msgid " PASS ShortNickName" +msgstr "" + +#, c-format +msgid " WARN %s has no corresponding options." +msgstr " WARN %s hat keine entsprechenden Optionen." + +#, c-format +msgid "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." +msgstr "" +" WARN %s hat mit %s ein gemeinsames Präfix\n" +" REF: Seite 15, Kap. 3.2." + +#, c-format +msgid "" +" WARN Duplex option keyword %s may not work as expected and should " +"be named Duplex.\n" +" REF: Page 122, section 5.17" +msgstr "" + +msgid " WARN File contains a mix of CR, LF, and CR LF line endings." +msgstr " WARN Datei einthält gemischt CR, LF, und CR LF Zeilenenden." + +msgid "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" WARN LanguageEncoding ist erforderlich gem. PPD 4.3 " +"Spezifikation.\n" +" REF: Seiten 56-57, Kap. 5.3." + +#, c-format +msgid " WARN Line %d only contains whitespace." +msgstr " WARN Zeile %d enthält nur Leerzeichen." + +msgid "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." +msgstr "" + +msgid "" +" WARN Non-Windows PPD files should use lines ending with only LF, " +"not CR LF." +msgstr "" +" WARN Nicht-Windows PPD Dateien sollten ausschließlich LF " +"Zeilenenden verwenden, nicht CR LF." + +#, c-format +msgid "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." +msgstr "" +" WARN Veraltete PPD Version %.1f.\n" +" REF: Seite 42, Kap. 5.2." + +msgid "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" + +msgid "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" + +msgid "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" + +msgid "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" + +msgid "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" + +#, c-format +msgid "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." +msgstr "" +" %s \"%s %s\" ist nicht vereinbar mit \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." + +#, c-format +msgid " %s %s %s does not exist." +msgstr " %s %s %s existiert nicht." + +#, c-format +msgid " %s %s file \"%s\" has the wrong capitalization." +msgstr " %s %s Datei \"%s\" hat falsche Großschreibung." + +#, c-format +msgid "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" +msgstr "" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." +msgstr "" +" %s Ungültige UTF-8 »%s« Zeichenkette zur Übersetzung der Option %s, " +"Auswahl %s." + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s." +msgstr "" +" %s Ungültige UTF-8 »%s« Zeichenkette zur Übersetzung der Option %s." + +#, c-format +msgid " %s Bad cupsFilter value \"%s\"." +msgstr " %s Wert für cupsFilter \"%s\"." + +#, c-format +msgid " %s Bad cupsFilter2 value \"%s\"." +msgstr " %s Ungültiger Wert für cupsFilter2 \"%s\"." + +#, c-format +msgid " %s Bad cupsICCProfile %s." +msgstr " %s Ungültiger Wert für cupsICCProfile %s." + +#, c-format +msgid " %s Bad cupsPreFilter value \"%s\"." +msgstr " %s Ungültiger Wert für cupsPreFilter \"%s\"." + +#, c-format +msgid " %s Bad cupsUIConstraints %s: \"%s\"" +msgstr " %s Ungültiger Wert für cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s Bad language \"%s\"." +msgstr " %s Ungültige Sprache \"%s\"." + +#, c-format +msgid " %s Bad permissions on %s file \"%s\"." +msgstr " %s Ungültige Rechte %s Datei \"%s\"." + +#, c-format +msgid " %s Bad spelling of %s - should be %s." +msgstr " %s Ungültige Schreibweise von %s - sollte %s sein." + +#, c-format +msgid " %s Cannot provide both APScanAppPath and APScanAppBundleID." +msgstr "" + +#, c-format +msgid " %s Default choices conflicting." +msgstr " %s Wiedersprüchliche voreingestellte Auswahl." + +#, c-format +msgid " %s Empty cupsUIConstraints %s" +msgstr " %s Leere cupsUIConstraints %s" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s, choice %s." +msgstr " %s Fehlende \"%s\" Übersetzung für Option %s, Auswahl %s." + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s." +msgstr " %s Fehlende \"%s\" Übersetzung für Option %s." + +#, c-format +msgid " %s Missing %s file \"%s\"." +msgstr " %s Fehlende %s Datei »%s«." + +#, c-format +msgid "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." +msgstr "" + +#, c-format +msgid "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." +msgstr "" + +#, c-format +msgid " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" + +#, c-format +msgid " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" +msgstr "" + +#, c-format +msgid " %s Missing cupsUIResolver %s" +msgstr "" + +#, c-format +msgid " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" + +#, c-format +msgid " %s Missing option %s in cupsUIConstraints %s: \"%s\"" +msgstr "" + +#, c-format +msgid " %s No base translation \"%s\" is included in file." +msgstr "" + +#, c-format +msgid "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" +msgstr "" + +#, c-format +msgid " %s Size \"%s\" defined for %s but not for %s." +msgstr "" + +#, c-format +msgid " %s Size \"%s\" has unexpected dimensions (%gx%g)." +msgstr "" + +#, c-format +msgid " %s Size \"%s\" should be \"%s\"." +msgstr "" + +#, c-format +msgid " %s Size \"%s\" should be the Adobe standard name \"%s\"." +msgstr "" + +#, c-format +msgid " %s cupsICCProfile %s hash value collides with %s." +msgstr "" + +#, c-format +msgid " %s cupsUIResolver %s causes a loop." +msgstr " %s cupsUIResolver %s verursacht eine Schleife." + +#, c-format +msgid "" +" %s cupsUIResolver %s does not list at least two different options." +msgstr "" + +#, c-format +msgid "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" + +msgid "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." +msgstr "" + +#, c-format +msgid " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." +msgstr "" + +#, c-format +msgid " **FAIL** Bad LanguageVersion %s - must be English." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." +msgstr "" + +msgid "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." +msgstr "" + +msgid "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." +msgstr "" + +msgid "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" +msgstr "" + +#, c-format +msgid " **FAIL** Default option code cannot be interpreted: %s" +msgstr "" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s choice %s contains " +"8-bit characters." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s contains 8-bit " +"characters." +msgstr "" + +#, c-format +msgid " **FAIL** Group names %s and %s differ only by case." +msgstr "" + +#, c-format +msgid " **FAIL** Multiple occurrences of option %s choice name %s." +msgstr "" + +#, c-format +msgid " **FAIL** Option %s choice names %s and %s differ only by case." +msgstr "" + +#, c-format +msgid " **FAIL** Option names %s and %s differ only by case." +msgstr "" + +#, c-format +msgid "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." +msgstr "" + +msgid "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." +msgstr "" + +msgid "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." +msgstr "" + +msgid "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." +msgstr "" + +#, c-format +msgid "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." +msgstr "" + +msgid "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." +msgstr "" + +#, c-format +msgid "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." +msgstr "" + +msgid "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." +msgstr "" + +#, c-format +msgid " **FAIL** Unable to open PPD file - %s on line %d." +msgstr "" + +#, c-format +msgid " %d ERRORS FOUND" +msgstr " %d FEHLER GEFUNDEN" + +msgid " NO ERRORS FOUND" +msgstr " KEINE FEHLER GEFUNDEN" + +msgid " --cr End lines with CR (Mac OS 9)." +msgstr " --cr Zeilenenden mit CR (Mac OS 9)" + +msgid " --crlf End lines with CR + LF (Windows)." +msgstr " --crlf Zeilenenden mit CR+LF (Windows)" + +msgid " --lf End lines with LF (UNIX/Linux/macOS)." +msgstr " --lf Zeilenenden mit LF (UNIX/Linux/macOS)." + +msgid " --list-filters List filters that will be used." +msgstr " --list-filters Liste die Filter auf die benutzt werden." + +msgid " -D Remove the input file when finished." +msgstr " -D Lösche die Eingabe nach Beenden." + +msgid " -D name=value Set named variable to value." +msgstr " -D Name=Wert Variable »Name« den »Wert« zuordnen." + +msgid " -I include-dir Add include directory to search path." +msgstr "" +" -I Inklus.Verz. Inklusionsverzeichnis dem Suchpfad hinzufügen." + +msgid " -P filename.ppd Set PPD file." +msgstr " -P filename.ppd Lege PPD Datei fest." + +msgid " -U username Specify username." +msgstr " -U username Gebe den Benutzernamen an." + +msgid " -c catalog.po Load the specified message catalog." +msgstr " -c Katalog.po Lade den angegebenen Nachrichtenkatalog." + +msgid " -c cups-files.conf Set cups-files.conf file to use." +msgstr "" +" -c cups-files.conf Setze die zu benutzende Datei cups-files.conf" + +msgid " -d output-dir Specify the output directory." +msgstr " -d AusgabeVerz. Angabe des Ausgabeverzeichnisses." + +msgid " -d printer Use the named printer." +msgstr " -d printer Benutze den genannten Drucker." + +msgid " -e Use every filter from the PPD file." +msgstr " -e Benutzt jeden Filter der PPD Datei." + +msgid " -i mime/type Set input MIME type (otherwise auto-typed)." +msgstr "" +" -i mime/type Legt den MIME-typ der Eingabe fest (sonst " +"selbsterkennend)." + +msgid "" +" -j job-id[,N] Filter file N from the specified job (default is " +"file 1)." +msgstr "" + +msgid " -l lang[,lang,...] Specify the output language(s) (locale)." +msgstr " -l lang[,lang,...] Spezifiziere die Ausgabesprache(n) (locale)." + +msgid " -m Use the ModelName value as the filename." +msgstr " -m Verwende den ModellNamen als Dateinamen." + +msgid "" +" -m mime/type Set output MIME type (otherwise application/pdf)." +msgstr "" +" -m mime/type Legt den MIME-Typ der Ausgabe fest (sonst " +"application/pdf)." + +msgid " -n copies Set number of copies." +msgstr " -n copies Lege die Anzahl der Kopien fest." + +msgid "" +" -o filename.drv Set driver information file (otherwise ppdi.drv)." +msgstr "" +" -o Dateiname.drv Legt die Treiberinformationsdatei fest (sonst ppdi." +"drv)." + +msgid " -o filename.ppd[.gz] Set output file (otherwise stdout)." +msgstr "" +" -o Dateiname.ppd[.gz] Legt den Dateinamen der Ausgabe fest (sonst " +"stdout)." + +msgid " -o name=value Set option(s)." +msgstr " -o Name=Wert Option(en) festlegen." + +msgid " -p filename.ppd Set PPD file." +msgstr " -p filename.ppd PPD-Datei festlegen." + +msgid " -t Test PPDs instead of generating them." +msgstr " -t Teste PPDs anstelle sie zu erzeugen." + +msgid " -t title Set title." +msgstr " -t Titel Legt den Titel fest." + +msgid " -u Remove the PPD file when finished." +msgstr " -u PPD-Datei nach dem Fertigstellen löschen." + +msgid " -v Be verbose." +msgstr " -v Ausführliche Ausgabe." + +msgid " -z Compress PPD files using GNU zip." +msgstr "" +" -z Komprimiere PPD Datei unter Verwendung von GNU zip." + +msgid " FAIL" +msgstr "" + +msgid " PASS" +msgstr "BESTANDEN" + +msgid "! expression Unary NOT of expression" +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." +msgstr "\"%s\": Falscher URI-Wert \"%s\" - %s (RFC 8011 Abschnitt 5.1.6)." + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." +msgstr "" +"\"%s\": Falscher URI-Wert \"%s\" - falsche Länge %d (RFC 8011 Abschnitt " +"5.1.6)." + +#, c-format +msgid "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" +"\"%s\": Falscher Attributname - falsche Länge %d (RFC 8011 Abschnitt 5.1.4)." + +#, c-format +msgid "" +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." +msgstr "" +"\"%s\": Falscher Attributname - ungültiges Zeichen (RFC 8011 Abschnitt " +"5.1.4)." + +#, c-format +msgid "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." +msgstr "" +"\"%s\": Falscher Zeichensatzwert \"%s\" - falsche Zeichen (RFC 8011 " +"Abschnitt 5.1.8)." + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" +"\"%s\": Falscher Schlüsselwortwert \"%s\" - falsche Länge %d (RFC 8011 " +"Abschnitt 5.1.4)." + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section " +"5.1.4)." +msgstr "" +"\"%s\": Falscher Schlüsselwortwert \"%s\" - ungültiges Zeichen (RFC 8011 " +"Abschnitt 5.1.4)." + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." +msgstr "" +"\"%s\": Falscher Namenswert \"%s\" - falsche UTF-8-Sequenz (RFC 8011 " +"Abschnitt 5.1.3)." + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section " +"8.1)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." +msgstr "" +"\"%s\": Falsches Namenswert \"%s\" - falsche Länge %d (RFC 8011 Abschnitt " +"5.1.3)." + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 " +"section 5.1.14)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section " +"5.1.16)." +msgstr "" +"\"%s\": Falscher Auflösungswert %dx%d%s - falscher Einheitenwert (RFC 8011 " +"Abschnitt 5.1.16)." + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be " +"positive (RFC 8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC " +"8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." +msgstr "" +"\"%s\": Falscher Textwert \"%s\" - falsche UTF-8-Sequenz (RFC 8011 Abschnitt " +"5.1.2)." + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section " +"8.3)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." +msgstr "" +"\"%s\": Falscher Textwert \"%s\" - falsche Länge %d (RFC 8011 Abschnitt " +"5.1.2)." + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." +msgstr "" +"\"%s\": Falscher uriScheme-Wert \"%s\" - falsche Zeichen (RFC 8011 Abschnitt " +"5.1.7)." + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." +msgstr "" +"\"%s\": Falscher uriScheme-Wert \"%s\" - falsche Länge %d (RFC 8011 " +"Abschnitt 5.1.7)." + +msgid "\"requesting-user-name\" attribute in wrong group." +msgstr "" + +msgid "\"requesting-user-name\" attribute with wrong syntax." +msgstr "" + +#, c-format +msgid "%-7s %-7.7s %-7d %-31.31s %.0f bytes" +msgstr "%-7s %-7.7s %-7d %-31.31s %.0f Bytes" + +#, c-format +msgid "%d x %d mm" +msgstr "%d x %d mm" + +#, c-format +msgid "%g x %g \"" +msgstr "%g x %g \"" + +#, c-format +msgid "%s (%s)" +msgstr "%s (%s)" + +#, c-format +msgid "%s (%s, %s)" +msgstr "%s (%s, %s)" + +#, c-format +msgid "%s (Borderless)" +msgstr "%s (Randlos)" + +#, c-format +msgid "%s (Borderless, %s)" +msgstr "%s (Randlos, %s)" + +#, c-format +msgid "%s (Borderless, %s, %s)" +msgstr "%s (Randlos, %s, %s)" + +#, c-format +msgid "%s accepting requests since %s" +msgstr "%s akzeptiert Anfragen seit %s" + +#, c-format +msgid "%s cannot be changed." +msgstr "%s kann nicht geändert werden." + +#, c-format +msgid "%s is not implemented by the CUPS version of lpc." +msgstr "%s ist in der CUPS-Version von lpc nicht implementiert." + +#, c-format +msgid "%s is not ready" +msgstr "%s ist nicht bereit" + +#, c-format +msgid "%s is ready" +msgstr "%s ist bereit" + +#, c-format +msgid "%s is ready and printing" +msgstr "%s ist bereit und druckt" + +#, c-format +msgid "%s job-id user title copies options [file]" +msgstr "%s Auftrags-ID Benutzer Titel Kopien Optionen [Datei]" + +#, c-format +msgid "%s not accepting requests since %s -" +msgstr "%s akzeptiert keine Anfragen seit %s -" + +#, c-format +msgid "%s not supported." +msgstr "%s wird nicht unterstützt." + +#, c-format +msgid "%s/%s accepting requests since %s" +msgstr "%s/%s akzeptiert Anfragen seit %s" + +#, c-format +msgid "%s/%s not accepting requests since %s -" +msgstr "%s/%s akzeptiert keine Anfragen seit %s -" + +#, c-format +msgid "%s: %-33.33s [job %d localhost]" +msgstr "%s: %-33.33s [Auftrag %d localhost]" + +#. TRANSLATORS: Message is "subject: error" +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#, c-format +msgid "%s: %s failed: %s" +msgstr "%s: %s fehlgeschlagen: %s" + +#, c-format +msgid "%s: Bad printer URI \"%s\"." +msgstr "%s: Ungültige Drucker-URI \"%s\"." + +#, c-format +msgid "%s: Bad version %s for \"-V\"." +msgstr "%s: Ungültige Version %s für \"-V\"." + +#, c-format +msgid "%s: Don't know what to do." +msgstr "%s: Es ist nicht klar, was zu tun ist." + +#, c-format +msgid "%s: Error - %s" +msgstr "%s: Fehler - %s" + +#, c-format +msgid "" +"%s: Error - %s environment variable names non-existent destination \"%s\"." +msgstr "" +"%s: Fehler - Umgebungsvariable %s benennt nicht existierendes Ziel \"%s\"." + +#, c-format +msgid "%s: Error - add '/version=1.1' to server name." +msgstr "%s: Fehler - füge '/version=1.1' zum Servernamen hinzu." + +#, c-format +msgid "%s: Error - bad job ID." +msgstr "%s: Fehler - ungültige Auftrags-ID." + +#, c-format +msgid "%s: Error - cannot print files and alter jobs simultaneously." +msgstr "" +"%s: Fehler - kann nicht gleichzeitig Dateien drucken und Aufträge ändern." + +#, c-format +msgid "%s: Error - cannot print from stdin if files or a job ID are provided." +msgstr "" +"%s: Fehler - Kann von der Standardeingabe nicht drucken, wenn eine Datei " +"oder Auftrags-ID übergeben werden." + +#, c-format +msgid "%s: Error - copies must be 1 or more." +msgstr "%s: Fehler - Kopien müssen 1 oder mehr sein." + +#, c-format +msgid "%s: Error - expected character set after \"-S\" option." +msgstr "%s: Fehler - Zeichensatz nach der Option \"-S\" erwartet." + +#, c-format +msgid "%s: Error - expected content type after \"-T\" option." +msgstr "%s: Fehler - Inhaltstyp nach der Option \"-T\" erwartet." + +#, c-format +msgid "%s: Error - expected copies after \"-#\" option." +msgstr "%s: Fehler - Kopienanzahl nach der Option \"-#\" erwartet." + +#, c-format +msgid "%s: Error - expected copies after \"-n\" option." +msgstr "%s: Fehler - Kopienzahl nach der Option \"-n\" erwartet." + +#, c-format +msgid "%s: Error - expected destination after \"-P\" option." +msgstr "%s: Fehler - Zielangabe nach der Option \"-P\" erwartet." + +#, c-format +msgid "%s: Error - expected destination after \"-d\" option." +msgstr "%s: Fehler - Zielangabe nach der Option \"-d\" erwartet." + +#, c-format +msgid "%s: Error - expected form after \"-f\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected hold name after \"-H\" option." +msgstr "%s: Fehler - erwarte hold name nach \"-H\" Option." + +#, c-format +msgid "%s: Error - expected hostname after \"-H\" option." +msgstr "%s: Fehler - Hostname nach der Option \"-H\" erwartet." + +#, c-format +msgid "%s: Error - expected hostname after \"-h\" option." +msgstr "%s: Fehler - Hostname nach der Option \"-h\" erwartet." + +#, c-format +msgid "%s: Error - expected mode list after \"-y\" option." +msgstr "%s: Fehler - Modusliste nach der Option \"-y\" erwartet." + +#, c-format +msgid "%s: Error - expected name after \"-%c\" option." +msgstr "%s: Fehler - Name nach der Option \"-%c\" erwartet." + +#, c-format +msgid "%s: Error - expected option=value after \"-o\" option." +msgstr "%s: Fehler - Option=Wert nach der Option \"-o\" erwartet." + +#, c-format +msgid "%s: Error - expected page list after \"-P\" option." +msgstr "%s: Fehler - Seitenliste nach der Option \"-P\" erwartet." + +#, c-format +msgid "%s: Error - expected priority after \"-%c\" option." +msgstr "%s: Fehler - Priorität nach der Option \"-%c\" erwartet." + +#, c-format +msgid "%s: Error - expected reason text after \"-r\" option." +msgstr "%s: Fehler - Grund nach der Option \"-r\" erwartet." + +#, c-format +msgid "%s: Error - expected title after \"-t\" option." +msgstr "%s: Fehler - Titel nach der Option \"-t\" erwartet." + +#, c-format +msgid "%s: Error - expected username after \"-U\" option." +msgstr "%s: Fehler - Benutzername nach der Option \"-U\" erwartet." + +#, c-format +msgid "%s: Error - expected username after \"-u\" option." +msgstr "%s: Fehler - Benutzername nach der Option \"-u\" erwartet." + +#, c-format +msgid "%s: Error - expected value after \"-%c\" option." +msgstr "%s: Fehler - Wert nach der Option \"-%c\" erwartet." + +#, c-format +msgid "" +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" " +"option." +msgstr "" +"%s: Fehler - benötigt \"completed\", \"not-completed\", oder \"all\" nach " +"Option \"-W\"." + +#, c-format +msgid "%s: Error - no default destination available." +msgstr "%s: Fehler - kein voreingestelltes Druckziel verfügbar." + +#, c-format +msgid "%s: Error - priority must be between 1 and 100." +msgstr "%s: Fehler - Priorität muss zwischen 1 und 100 liegen." + +#, c-format +msgid "%s: Error - scheduler not responding." +msgstr "%s: Fehler - Zeitplandienst antwortet nicht." + +#, c-format +msgid "%s: Error - too many files - \"%s\"." +msgstr "%s: Fehler - zu viele Dateien - \"%s\"." + +#, c-format +msgid "%s: Error - unable to access \"%s\" - %s" +msgstr "%s: Fehler - Zugriff auf \"%s\" nicht möglich - %s" + +#, c-format +msgid "%s: Error - unable to queue from stdin - %s." +msgstr "" + +#, c-format +msgid "%s: Error - unknown destination \"%s\"." +msgstr "%s: Fehler - unbekanntes Druckziel \"%s\"." + +#, c-format +msgid "%s: Error - unknown destination \"%s/%s\"." +msgstr "%s: Fehler - unbekanntes Druckziel \"%s/%s\"." + +#, c-format +msgid "%s: Error - unknown option \"%c\"." +msgstr "%s: Fehler - unbekannte Option \"%c\"." + +#, c-format +msgid "%s: Error - unknown option \"%s\"." +msgstr "%s: Fehler - unbekannte Option \"%s\"." + +#, c-format +msgid "%s: Expected job ID after \"-i\" option." +msgstr "%s: Auftrags-ID nach der Option \"-i\" erwartet." + +#, c-format +msgid "%s: Invalid destination name in list \"%s\"." +msgstr "%s: Ungültiger Zielname in Liste \"%s\"." + +#, c-format +msgid "%s: Invalid filter string \"%s\"." +msgstr "%s: Ungültige Filterzeichenkette \"%s\"." + +#, c-format +msgid "%s: Missing filename for \"-P\"." +msgstr "%s: Fehlender Dateiname für \"-P\"." + +#, c-format +msgid "%s: Missing timeout for \"-T\"." +msgstr "%s: Fehlende Zeitüberschreitung für \"-T\"." + +#, c-format +msgid "%s: Missing version for \"-V\"." +msgstr "%s: Fehlende Version für \"-V\"." + +#, c-format +msgid "%s: Need job ID (\"-i jobid\") before \"-H restart\"." +msgstr "%s: Benötigt Auftrags-ID (\"-i jobid\") vor \"-H restart\"." + +#, c-format +msgid "%s: No filter to convert from %s/%s to %s/%s." +msgstr "%s: Kein Filter zum Umwandeln von %s/%s nach %s/%s." + +#, c-format +msgid "%s: Operation failed: %s" +msgstr "%s: Vorgang fehlgeschlagen: %s" + +#, c-format +msgid "%s: Sorry, no encryption support." +msgstr "%s: Entschuldigung, Verschlüsselung wird nicht unterstützt." + +#, c-format +msgid "%s: Unable to connect to \"%s:%d\": %s" +msgstr "%s: Verbindung zu \"%s:%d\": %s nicht möglich" + +#, c-format +msgid "%s: Unable to connect to server." +msgstr "%s: Verbindung zum Server nicht möglich." + +#, c-format +msgid "%s: Unable to contact server." +msgstr "%s: Server kontaktieren nicht möglich." + +#, c-format +msgid "%s: Unable to create PPD file: %s" +msgstr "%s: Erzeugung der PPD Datei nicht möglich: %s" + +#, c-format +msgid "%s: Unable to determine MIME type of \"%s\"." +msgstr "%s: Ermittlung des MIME-Typs von \"%s\" nicht möglich." + +#, c-format +msgid "%s: Unable to open \"%s\": %s" +msgstr "%s: Öffnen von \"%s\": %s nicht möglich" + +#, c-format +msgid "%s: Unable to open %s: %s" +msgstr "%s: Öffnen von %s: %s nicht möglich" + +#, c-format +msgid "%s: Unable to open PPD file: %s on line %d." +msgstr "%s: Öffnen der PPD-Datei: %s in Zeile %d." + +#, c-format +msgid "%s: Unable to query printer: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to read MIME database from \"%s\" or \"%s\"." +msgstr "%s: Lesen der MIME-Datenbank von \"%s\" oder \"%s\" nicht möglich." + +#, c-format +msgid "%s: Unable to resolve \"%s\"." +msgstr "%s: Auflösen von \"%s\" nicht möglich." + +#, c-format +msgid "%s: Unknown argument \"%s\"." +msgstr "%s: Unbekanntes Argument \"%s\"." + +#, c-format +msgid "%s: Unknown destination \"%s\"." +msgstr "%s: Unbekanntes Druckziel \"%s\"." + +#, c-format +msgid "%s: Unknown destination MIME type %s/%s." +msgstr "%s: Unbekannter Ziel-MIME-Typ %s/%s." + +#, c-format +msgid "%s: Unknown option \"%c\"." +msgstr "%s: Unbekannte Option \"%c\"." + +#, c-format +msgid "%s: Unknown option \"%s\"." +msgstr "%s: Unbekannte Option \"%s\"." + +#, c-format +msgid "%s: Unknown option \"-%c\"." +msgstr "%s: Unbekannte Option \"-%c\"." + +#, c-format +msgid "%s: Unknown source MIME type %s/%s." +msgstr "%s: Unbekannter Quell-MIME-Typ %s/%s." + +#, c-format +msgid "" +"%s: Warning - \"%c\" format modifier not supported - output may not be " +"correct." +msgstr "" + +#, c-format +msgid "%s: Warning - character set option ignored." +msgstr "%s: Warnung - Zeichensatzoption ignoriert." + +#, c-format +msgid "%s: Warning - content type option ignored." +msgstr "%s: Warnung - Inhaltstypenoption ignoriert." + +#, c-format +msgid "%s: Warning - form option ignored." +msgstr "" + +#, c-format +msgid "%s: Warning - mode option ignored." +msgstr "%s: Warnung - Modusoption ignoriert." + +msgid "( expressions ) Group expressions" +msgstr "" + +msgid "- Cancel all jobs" +msgstr "" + +msgid "-# num-copies Specify the number of copies to print" +msgstr "" + +msgid "--[no-]debug-logging Turn debug logging on/off" +msgstr "" + +msgid "--[no-]remote-admin Turn remote administration on/off" +msgstr "" + +msgid "--[no-]remote-any Allow/prevent access from the Internet" +msgstr "" + +msgid "--[no-]share-printers Turn printer sharing on/off" +msgstr "" + +msgid "--[no-]user-cancel-any Allow/prevent users to cancel any job" +msgstr "" + +msgid "" +"--device-id device-id Show models matching the given IEEE 1284 device ID" +msgstr "" + +msgid "--domain regex Match domain to regular expression" +msgstr "" + +msgid "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" +msgstr "" + +msgid "" +"--exec utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "--false Always false" +msgstr "" + +msgid "--help Show program help" +msgstr "" + +msgid "--hold Hold new jobs" +msgstr "" + +msgid "--host regex Match hostname to regular expression" +msgstr "" + +msgid "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" +msgstr "" + +msgid "--ippserver filename Produce ippserver attribute file" +msgstr "" + +msgid "--language locale Show models matching the given locale" +msgstr "" + +msgid "--local True if service is local" +msgstr "" + +msgid "--ls List attributes" +msgstr "" + +msgid "" +"--make-and-model name Show models matching the given make and model name" +msgstr "" + +msgid "--name regex Match service name to regular expression" +msgstr "" + +msgid "--no-web-forms Disable web forms for media and supplies" +msgstr "" + +msgid "--not expression Unary NOT of expression" +msgstr "" + +msgid "--path regex Match resource path to regular expression" +msgstr "" + +msgid "--port number[-number] Match port to number or range" +msgstr "" + +msgid "--print Print URI if true" +msgstr "" + +msgid "--print-name Print service name if true" +msgstr "" + +msgid "" +"--product name Show models matching the given PostScript product" +msgstr "" + +msgid "--quiet Quietly report match via exit code" +msgstr "" + +msgid "--release Release previously held jobs" +msgstr "" + +msgid "--remote True if service is remote" +msgstr "" + +msgid "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" +msgstr "" + +msgid "" +"--timeout seconds Specify the maximum number of seconds to discover " +"devices" +msgstr "" + +msgid "--true Always true" +msgstr "" + +msgid "--txt key True if the TXT record contains the key" +msgstr "" + +msgid "--txt-* regex Match TXT record key to regular expression" +msgstr "" + +msgid "--uri regex Match URI to regular expression" +msgstr "" + +msgid "--version Show program version" +msgstr "" + +msgid "--version Show version" +msgstr "" + +msgid "-1" +msgstr "-1" + +msgid "-10" +msgstr "-10" + +msgid "-100" +msgstr "-100" + +msgid "-105" +msgstr "-105" + +msgid "-11" +msgstr "-11" + +msgid "-110" +msgstr "-110" + +msgid "-115" +msgstr "-115" + +msgid "-12" +msgstr "-12" + +msgid "-120" +msgstr "-120" + +msgid "-13" +msgstr "-13" + +msgid "-14" +msgstr "-14" + +msgid "-15" +msgstr "-15" + +msgid "-2" +msgstr "-2" + +msgid "-2 Set 2-sided printing support (default=1-sided)" +msgstr "" + +msgid "-20" +msgstr "-20" + +msgid "-25" +msgstr "-25" + +msgid "-3" +msgstr "-3" + +msgid "-30" +msgstr "-30" + +msgid "-35" +msgstr "-35" + +msgid "-4" +msgstr "-4" + +msgid "-4 Connect using IPv4" +msgstr "" + +msgid "-40" +msgstr "-40" + +msgid "-45" +msgstr "-45" + +msgid "-5" +msgstr "-5" + +msgid "-50" +msgstr "-50" + +msgid "-55" +msgstr "-55" + +msgid "-6" +msgstr "-6" + +msgid "-6 Connect using IPv6" +msgstr "" + +msgid "-60" +msgstr "-60" + +msgid "-65" +msgstr "-65" + +msgid "-7" +msgstr "-7" + +msgid "-70" +msgstr "-70" + +msgid "-75" +msgstr "-75" + +msgid "-8" +msgstr "-8" + +msgid "-80" +msgstr "-80" + +msgid "-85" +msgstr "-85" + +msgid "-9" +msgstr "-9" + +msgid "-90" +msgstr "-90" + +msgid "-95" +msgstr "-95" + +msgid "-C Send requests using chunking (default)" +msgstr "" + +msgid "-D description Specify the textual description of the printer" +msgstr "" + +msgid "-D device-uri Set the device URI for the printer" +msgstr "" + +msgid "" +"-E Enable and accept jobs on the printer (after -p)" +msgstr "" + +msgid "-E Encrypt the connection to the server" +msgstr "" + +msgid "-E Test with encryption using HTTP Upgrade to TLS" +msgstr "" + +msgid "-F Run in the foreground but detach from console." +msgstr "" + +msgid "-F output-type/subtype Set the output format for the printer" +msgstr "" + +msgid "-H Show the default server and port" +msgstr "" + +msgid "-H HH:MM Hold the job until the specified UTC time" +msgstr "" + +msgid "-H hold Hold the job until released/resumed" +msgstr "" + +msgid "-H immediate Print the job as soon as possible" +msgstr "" + +msgid "-H restart Reprint the job" +msgstr "" + +msgid "-H resume Resume a held job" +msgstr "" + +msgid "-H server[:port] Connect to the named server and port" +msgstr "" + +msgid "-I Ignore errors" +msgstr "" + +msgid "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" +msgstr "" + +msgid "" +"-K keypath Set location of server X.509 certificates and keys." +msgstr "" + +msgid "-L Send requests using content-length" +msgstr "" + +msgid "-L location Specify the textual location of the printer" +msgstr "" + +msgid "-M manufacturer Set manufacturer name (default=Test)" +msgstr "" + +msgid "-P destination Show status for the specified destination" +msgstr "" + +msgid "-P destination Specify the destination" +msgstr "" + +msgid "" +"-P filename.plist Produce XML plist to a file and test report to " +"standard output" +msgstr "" + +msgid "-P filename.ppd Load printer attributes from PPD file" +msgstr "" + +msgid "-P number[-number] Match port to number or range" +msgstr "" + +msgid "-P page-list Specify a list of pages to print" +msgstr "" + +msgid "-R Show the ranking of jobs" +msgstr "" + +msgid "-R name-default Remove the default value for the named option" +msgstr "" + +msgid "-R root-directory Set alternate root" +msgstr "" + +msgid "-S Test with encryption using HTTPS" +msgstr "" + +msgid "-T seconds Set the browse timeout in seconds" +msgstr "" + +msgid "-T seconds Set the receive/send timeout in seconds" +msgstr "" + +msgid "-T title Specify the job title" +msgstr "" + +msgid "-U username Specify the username to use for authentication" +msgstr "" + +msgid "-U username Specify username to use for authentication" +msgstr "" + +msgid "-V version Set default IPP version" +msgstr "" + +msgid "-W completed Show completed jobs" +msgstr "" + +msgid "-W not-completed Show pending jobs" +msgstr "" + +msgid "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes," +"translations}\n" +" Issue warnings instead of errors" +msgstr "" + +msgid "-X Produce XML plist instead of plain text" +msgstr "" + +msgid "-a Cancel all jobs" +msgstr "" + +msgid "-a Show jobs on all destinations" +msgstr "" + +msgid "-a [destination(s)] Show the accepting state of destinations" +msgstr "" + +msgid "-a filename.conf Load printer attributes from conf file" +msgstr "" + +msgid "-c Make a copy of the print file(s)" +msgstr "" + +msgid "-c Produce CSV output" +msgstr "" + +msgid "-c [class(es)] Show classes and their member printers" +msgstr "" + +msgid "-c class Add the named destination to a class" +msgstr "" + +msgid "-c command Set print command" +msgstr "" + +msgid "-c cupsd.conf Set cupsd.conf file to use." +msgstr "" + +msgid "-d Show the default destination" +msgstr "" + +msgid "-d destination Set default destination" +msgstr "" + +msgid "-d destination Set the named destination as the server default" +msgstr "" + +msgid "-d name=value Set named variable to value" +msgstr "" + +msgid "-d regex Match domain to regular expression" +msgstr "" + +msgid "-d spool-directory Set spool directory" +msgstr "" + +msgid "-e Show available destinations on the network" +msgstr "" + +msgid "-f Run in the foreground." +msgstr "" + +msgid "-f filename Set default request filename" +msgstr "" + +msgid "-f type/subtype[,...] Set supported file types" +msgstr "" + +msgid "-h Show this usage message." +msgstr "" + +msgid "-h Validate HTTP response headers" +msgstr "" + +msgid "-h regex Match hostname to regular expression" +msgstr "" + +msgid "-h server[:port] Connect to the named server and port" +msgstr "" + +msgid "-i iconfile.png Set icon file" +msgstr "" + +msgid "-i id Specify an existing job ID to modify" +msgstr "" + +msgid "-i ppd-file Specify a PPD file for the printer" +msgstr "" + +msgid "" +"-i seconds Repeat the last file with the given time interval" +msgstr "" + +msgid "-k Keep job spool files" +msgstr "" + +msgid "-l List attributes" +msgstr "" + +msgid "-l Produce plain text output" +msgstr "" + +msgid "-l Run cupsd on demand." +msgstr "" + +msgid "-l Show supported options and values" +msgstr "" + +msgid "-l Show verbose (long) output" +msgstr "" + +msgid "-l location Set location of printer" +msgstr "" + +msgid "" +"-m Send an email notification when the job completes" +msgstr "" + +msgid "-m Show models" +msgstr "" + +msgid "" +"-m everywhere Specify the printer is compatible with IPP Everywhere" +msgstr "" + +msgid "-m model Set model name (default=Printer)" +msgstr "" + +msgid "" +"-m model Specify a standard model/PPD file for the printer" +msgstr "" + +msgid "-n count Repeat the last file the given number of times" +msgstr "" + +msgid "-n hostname Set hostname for printer" +msgstr "" + +msgid "-n num-copies Specify the number of copies to print" +msgstr "" + +msgid "-n regex Match service name to regular expression" +msgstr "" + +msgid "" +"-o Name=Value Specify the default value for the named PPD option " +msgstr "" + +msgid "-o [destination(s)] Show jobs" +msgstr "" + +msgid "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" +msgstr "" + +msgid "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" +msgstr "" + +msgid "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" +msgstr "" + +msgid "-o job-page-limit=N Specify the page limit for per-user quotas" +msgstr "" + +msgid "-o job-quota-period=N Specify the per-user quota period in seconds" +msgstr "" + +msgid "-o job-sheets=standard Print a banner page with the job" +msgstr "" + +msgid "-o media=size Specify the media size to use" +msgstr "" + +msgid "-o name-default=value Specify the default value for the named option" +msgstr "" + +msgid "-o name[=value] Set default option and value" +msgstr "" + +msgid "" +"-o number-up=N Specify that input pages should be printed N-up (1, " +"2, 4, 6, 9, and 16 are supported)" +msgstr "" + +msgid "-o option[=value] Specify a printer-specific option" +msgstr "" + +msgid "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" +msgstr "" + +msgid "" +"-o print-quality=N Specify the print quality - draft (3), normal (4), " +"or best (5)" +msgstr "" + +msgid "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" +msgstr "" + +msgid "" +"-o printer-is-shared=true\n" +" Share the printer" +msgstr "" + +msgid "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" +msgstr "" + +msgid "-o sides=one-sided Specify 1-sided printing" +msgstr "" + +msgid "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" +msgstr "" + +msgid "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" +msgstr "" + +msgid "-p Print URI if true" +msgstr "" + +msgid "-p [printer(s)] Show the processing state of destinations" +msgstr "" + +msgid "-p destination Specify a destination" +msgstr "" + +msgid "-p destination Specify/add the named destination" +msgstr "" + +msgid "-p port Set port number for printer" +msgstr "" + +msgid "-q Quietly report match via exit code" +msgstr "" + +msgid "-q Run silently" +msgstr "" + +msgid "-q Specify the job should be held for printing" +msgstr "" + +msgid "-q priority Specify the priority from low (1) to high (100)" +msgstr "" + +msgid "-r Remove the file(s) after submission" +msgstr "" + +msgid "-r Show whether the CUPS server is running" +msgstr "" + +msgid "-r True if service is remote" +msgstr "" + +msgid "-r Use 'relaxed' open mode" +msgstr "" + +msgid "-r class Remove the named destination from a class" +msgstr "" + +msgid "-r reason Specify a reason message that others can see" +msgstr "" + +msgid "-r subtype,[subtype] Set DNS-SD service subtype" +msgstr "" + +msgid "-s Be silent" +msgstr "" + +msgid "-s Print service name if true" +msgstr "" + +msgid "-s Show a status summary" +msgstr "" + +msgid "-s cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid "-s speed[,color-speed] Set speed in pages per minute" +msgstr "" + +msgid "-t Produce a test report" +msgstr "" + +msgid "-t Show all status information" +msgstr "" + +msgid "-t Test the configuration file." +msgstr "" + +msgid "-t key True if the TXT record contains the key" +msgstr "" + +msgid "-t title Specify the job title" +msgstr "" + +msgid "" +"-u [user(s)] Show jobs queued by the current or specified users" +msgstr "" + +msgid "-u allow:all Allow all users to print" +msgstr "" + +msgid "" +"-u allow:list Allow the list of users or groups (@name) to print" +msgstr "" + +msgid "" +"-u deny:list Prevent the list of users or groups (@name) to print" +msgstr "" + +msgid "-u owner Specify the owner to use for jobs" +msgstr "" + +msgid "-u regex Match URI to regular expression" +msgstr "" + +msgid "-v Be verbose" +msgstr "" + +msgid "-v Show devices" +msgstr "" + +msgid "-v [printer(s)] Show the devices for each destination" +msgstr "" + +msgid "-v device-uri Specify the device URI for the printer" +msgstr "" + +msgid "-vv Be very verbose" +msgstr "" + +msgid "-x Purge jobs rather than just canceling" +msgstr "" + +msgid "-x destination Remove default options for destination" +msgstr "" + +msgid "-x destination Remove the named destination" +msgstr "" + +msgid "" +"-x utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "/etc/cups/lpoptions file names default destination that does not exist." +msgstr "" + +msgid "0" +msgstr "0" + +msgid "1" +msgstr "1" + +msgid "1 inch/sec." +msgstr "1 inch/s" + +# Die Verwendung des x ist nur ersatzweise erlaubt, typografisch korrekt und in UTF-8 auch möglich ist × +# Keine Leerzeichen zwischen Zahl und ×! +# Die Verwendung von " für die Einheit Inch ist nicht zulässig (ISO 80000). +# Die Bezeichnung "Zoll" ist nicht korrekt. +msgid "1.25x0.25\"" +msgstr "1,25×0,25 inch" + +msgid "1.25x2.25\"" +msgstr "1,25 × 2,25 inch" + +msgid "1.5 inch/sec." +msgstr "1,5 inch/s" + +msgid "1.50x0.25\"" +msgstr "1,50 × 0,25 inch" + +msgid "1.50x0.50\"" +msgstr "1,50 × 0,50 inch" + +msgid "1.50x1.00\"" +msgstr "1,50 × 1,00 inch" + +msgid "1.50x2.00\"" +msgstr "1,50 × 2,00 inch" + +msgid "10" +msgstr "10" + +# Die SI Einheit Sekunde wird korrekt nur mit s abgekürzt (ISO 31), (sek ist nicht zulässig) +msgid "10 inches/sec." +msgstr "10 inch/s" + +msgid "10 x 11" +msgstr "10 × 11 inch" + +msgid "10 x 13" +msgstr "10 × 13 inch" + +msgid "10 x 14" +msgstr "10 × 14 inch" + +msgid "100" +msgstr "100" + +msgid "100 mm/sec." +msgstr "100 mm/s" + +msgid "105" +msgstr "105" + +msgid "11" +msgstr "11" + +msgid "11 inches/sec." +msgstr "11 inch/s" + +msgid "110" +msgstr "110" + +msgid "115" +msgstr "115" + +msgid "12" +msgstr "12" + +msgid "12 inches/sec." +msgstr "12 inch/s" + +msgid "12 x 11" +msgstr "12 × 11 inch" + +msgid "120" +msgstr "120" + +msgid "120 mm/sec." +msgstr "120 mm/s" + +msgid "120x60dpi" +msgstr "120 × 60 dpi" + +msgid "120x72dpi" +msgstr "120 × 72 dpi" + +msgid "13" +msgstr "13" + +msgid "136dpi" +msgstr "136 dpi" + +msgid "14" +msgstr "14" + +msgid "15" +msgstr "15" + +msgid "15 mm/sec." +msgstr "15 mm/s" + +msgid "15 x 11" +msgstr "15 x 11" + +msgid "150 mm/sec." +msgstr "150 mm/s" + +msgid "150dpi" +msgstr "150 dpi" + +msgid "16" +msgstr "16" + +msgid "17" +msgstr "17" + +msgid "18" +msgstr "18" + +msgid "180dpi" +msgstr "180 dpi" + +msgid "19" +msgstr "19" + +msgid "2" +msgstr "2" + +msgid "2 inches/sec." +msgstr "2 inch/s" + +msgid "2-Sided Printing" +msgstr "Doppelseitig drucken" + +msgid "2.00x0.37\"" +msgstr "2,00 × 0,37 inch" + +msgid "2.00x0.50\"" +msgstr "2,00 × 0,50 inch" + +msgid "2.00x1.00\"" +msgstr "2,00 × 1,00 inch" + +msgid "2.00x1.25\"" +msgstr "2,00 × 1,25 inch" + +msgid "2.00x2.00\"" +msgstr "2,00 × 2,00 inch" + +msgid "2.00x3.00\"" +msgstr "2,00 × 3,00 inch" + +msgid "2.00x4.00\"" +msgstr "2,00 × 4,00 inch" + +msgid "2.00x5.50\"" +msgstr "2,00 × 5,50 inch" + +msgid "2.25x0.50\"" +msgstr "2,25 × 0,50 inch" + +msgid "2.25x1.25\"" +msgstr "2,25 × 1,25 inch" + +msgid "2.25x4.00\"" +msgstr "2,25 × 4,00 inch" + +msgid "2.25x5.50\"" +msgstr "2,25 × 5,50 inch" + +msgid "2.38x5.50\"" +msgstr "2,38 × 5,50 inch" + +msgid "2.5 inches/sec." +msgstr "2,5 inch/s" + +msgid "2.50x1.00\"" +msgstr "2,50 × 1,00 inch" + +msgid "2.50x2.00\"" +msgstr "2,50 × 2,00 inch" + +msgid "2.75x1.25\"" +msgstr "2,75 × 1,25 inch" + +msgid "2.9 x 1\"" +msgstr "2.9 × 1 inch" + +msgid "20" +msgstr "20" + +msgid "20 mm/sec." +msgstr "20 mm/s" + +msgid "200 mm/sec." +msgstr "200 mm/s" + +msgid "203dpi" +msgstr "203 dpi" + +msgid "21" +msgstr "21" + +msgid "22" +msgstr "22" + +msgid "23" +msgstr "23" + +msgid "24" +msgstr "24" + +msgid "24-Pin Series" +msgstr "24-Pin Serie" + +msgid "240x72dpi" +msgstr "240 × 72 dpi" + +msgid "25" +msgstr "25" + +msgid "250 mm/sec." +msgstr "250 mm/s" + +msgid "26" +msgstr "26" + +msgid "27" +msgstr "27" + +msgid "28" +msgstr "28" + +msgid "29" +msgstr "29" + +msgid "3" +msgstr "3" + +msgid "3 inches/sec." +msgstr "3 inch/s" + +msgid "3 x 5" +msgstr "3 × 5" + +msgid "3.00x1.00\"" +msgstr "3,00 × 1,00 inch" + +msgid "3.00x1.25\"" +msgstr "3,00 × 1,25 inch" + +msgid "3.00x2.00\"" +msgstr "3,00 × 2,00 inch" + +msgid "3.00x3.00\"" +msgstr "3,00 × 3,00 inch" + +msgid "3.00x5.00\"" +msgstr "3,00 × 5,00 inch" + +msgid "3.25x2.00\"" +msgstr "3,25 × 2,00 inch" + +msgid "3.25x5.00\"" +msgstr "3,25 × 5,00 inch" + +msgid "3.25x5.50\"" +msgstr "3,25 × 5,50 inch" + +msgid "3.25x5.83\"" +msgstr "3,25 × 5,83 inch" + +msgid "3.25x7.83\"" +msgstr "3,25 × 7,83 inch" + +msgid "3.5 x 5" +msgstr "3,5 × 5 inch" + +msgid "3.5\" Disk" +msgstr "3,5 inch Disk" + +msgid "3.50x1.00\"" +msgstr "3,50 × 1,00 inch" + +msgid "30" +msgstr "30" + +msgid "30 mm/sec." +msgstr "30 mm/s" + +msgid "300 mm/sec." +msgstr "300 mm/s" + +msgid "300dpi" +msgstr "300 dpi" + +msgid "35" +msgstr "35" + +msgid "360dpi" +msgstr "360 dpi" + +msgid "360x180dpi" +msgstr "360 × 180 dpi" + +msgid "4" +msgstr "4" + +msgid "4 inches/sec." +msgstr "4 inch/s" + +msgid "4.00x1.00\"" +msgstr "4,00 × 1,00 inch" + +msgid "4.00x13.00\"" +msgstr "4,00 × 13,00 inch" + +msgid "4.00x2.00\"" +msgstr "4,00 × 2,00 inch" + +msgid "4.00x2.50\"" +msgstr "4,00 × 2,50 inch" + +msgid "4.00x3.00\"" +msgstr "4,00 × 3,00 inch" + +msgid "4.00x4.00\"" +msgstr "4,00 × 4,00 inch" + +msgid "4.00x5.00\"" +msgstr "4,00 × 5,00 inch" + +msgid "4.00x6.00\"" +msgstr "4,00 × 6,00 inch" + +msgid "4.00x6.50\"" +msgstr "4,00 × 6,50 inch" + +msgid "40" +msgstr "40" + +msgid "40 mm/sec." +msgstr "40 mm/s" + +msgid "45" +msgstr "45" + +msgid "5" +msgstr "5" + +msgid "5 inches/sec." +msgstr "5 inch/s" + +msgid "5 x 7" +msgstr "5 × 7" + +msgid "50" +msgstr "50" + +msgid "55" +msgstr "55" + +msgid "6" +msgstr "6" + +msgid "6 inches/sec." +msgstr "6 inch/s" + +msgid "6.00x1.00\"" +msgstr "6,00 × 1,00 inch" + +msgid "6.00x2.00\"" +msgstr "6,00 × 2,00 inch" + +msgid "6.00x3.00\"" +msgstr "6,00 × 3,00 inch" + +msgid "6.00x4.00\"" +msgstr "6,00 × 4,00 inch" + +msgid "6.00x5.00\"" +msgstr "6,00 × 5,00 inch" + +msgid "6.00x6.00\"" +msgstr "6,00 × 6,00 inch" + +msgid "6.00x6.50\"" +msgstr "6,00 × 6,50 inch" + +msgid "60" +msgstr "60" + +msgid "60 mm/sec." +msgstr "60 mm/s" + +msgid "600dpi" +msgstr "600 dpi" + +msgid "60dpi" +msgstr "60 dpi" + +msgid "60x72dpi" +msgstr "60 × 72 dpi" + +msgid "65" +msgstr "65" + +msgid "7" +msgstr "7" + +msgid "7 inches/sec." +msgstr "7 inch/s" + +msgid "7 x 9" +msgstr "7 × 9" + +msgid "70" +msgstr "70" + +msgid "75" +msgstr "75" + +msgid "8" +msgstr "8" + +msgid "8 inches/sec." +msgstr "8 inch/s" + +msgid "8 x 10" +msgstr "8 × 10 inch" + +msgid "8.00x1.00\"" +msgstr "8,00 × 1,00 inch" + +msgid "8.00x2.00\"" +msgstr "8,00 × 2,00 inch" + +msgid "8.00x3.00\"" +msgstr "8,00 × 3,00 inch" + +msgid "8.00x4.00\"" +msgstr "8,00 × 4,00 inch" + +msgid "8.00x5.00\"" +msgstr "8,00 × 5,00 inch" + +msgid "8.00x6.00\"" +msgstr "8,00 × 6,00 inch" + +msgid "8.00x6.50\"" +msgstr "8,00 × 6,50 inch" + +msgid "80" +msgstr "80" + +msgid "80 mm/sec." +msgstr "80 mm/s" + +msgid "85" +msgstr "85" + +msgid "9" +msgstr "9" + +msgid "9 inches/sec." +msgstr "9 inch/s" + +msgid "9 x 11" +msgstr "9×12" + +msgid "9 x 12" +msgstr "9×12" + +msgid "9-Pin Series" +msgstr "9-Pin Serie" + +msgid "90" +msgstr "90" + +msgid "95" +msgstr "95" + +msgid "?Invalid help command unknown." +msgstr "?Ungültiger Hilfebefehl unbekannt." + +#, c-format +msgid "A class named \"%s\" already exists." +msgstr "Eine Klasse mit dem Namen \"%s\" existiert bereits." + +#, c-format +msgid "A printer named \"%s\" already exists." +msgstr "Ein Drucker mit dem Namen \"%s\" existiert bereits." + +msgid "A0" +msgstr "DIN A0" + +msgid "A0 Long Edge" +msgstr "A0 lange Kante" + +msgid "A1" +msgstr "DIN A1" + +msgid "A1 Long Edge" +msgstr "A1 lange Kante" + +msgid "A10" +msgstr "DIN A10" + +msgid "A2" +msgstr "DIN A2" + +msgid "A2 Long Edge" +msgstr "A2 lange Kante" + +msgid "A3" +msgstr "DIN A3" + +msgid "A3 Long Edge" +msgstr "A3 lange Kante" + +msgid "A3 Oversize" +msgstr "A3 Übergröße" + +msgid "A3 Oversize Long Edge" +msgstr "A3 Übergröße lange Kante" + +msgid "A4" +msgstr "DIN A4" + +msgid "A4 Long Edge" +msgstr "A4 lange Kante" + +msgid "A4 Oversize" +msgstr "A4 Übergröße" + +msgid "A4 Small" +msgstr "A4 klein" + +msgid "A5" +msgstr "DIN A5" + +msgid "A5 Long Edge" +msgstr "A5 lange Kante" + +msgid "A5 Oversize" +msgstr "A5 Übergröße" + +msgid "A6" +msgstr "DIN A6" + +msgid "A6 Long Edge" +msgstr "A6 lange Kante" + +msgid "A7" +msgstr "DIN A7" + +msgid "A8" +msgstr "DIN A8" + +msgid "A9" +msgstr "DIN A9" + +msgid "ANSI A" +msgstr "ANSI A" + +msgid "ANSI B" +msgstr "ANSI B" + +msgid "ANSI C" +msgstr "ANSI C" + +msgid "ANSI D" +msgstr "ANSI D" + +msgid "ANSI E" +msgstr "ANSI E" + +msgid "ARCH C" +msgstr "ARCH C" + +msgid "ARCH C Long Edge" +msgstr "ARCH C lange Kante" + +msgid "ARCH D" +msgstr "ARCH D" + +msgid "ARCH D Long Edge" +msgstr "ARCH D lange Kante" + +msgid "ARCH E" +msgstr "ARCH E" + +msgid "ARCH E Long Edge" +msgstr "ARCH E lange Kante" + +msgid "Accept Jobs" +msgstr "Druckaufträge akzeptieren" + +msgid "Accepted" +msgstr "Akzeptiert" + +msgid "Add Class" +msgstr "Klasse hinzufügen" + +msgid "Add Printer" +msgstr "Drucker hinzufügen" + +msgid "Address" +msgstr "Adresse" + +msgid "Administration" +msgstr "Verwaltung" + +msgid "Always" +msgstr "Immer" + +msgid "AppSocket/HP JetDirect" +msgstr "AppSocket/HP JetDirect" + +msgid "Applicator" +msgstr "Applikator" + +#, c-format +msgid "Attempt to set %s printer-state to bad value %d." +msgstr "Versuch den %s Druckerstatus auf einen ungültigen %d Wert zu setzen." + +#, c-format +msgid "Attribute \"%s\" is in the wrong group." +msgstr "Attribut \"%s\" ist in der falschen Gruppe." + +#, c-format +msgid "Attribute \"%s\" is the wrong value type." +msgstr "Attribut \"%s\" ist der falsche Werttyp." + +#, c-format +msgid "Attribute groups are out of order (%x < %x)." +msgstr "Attributgruppen sind nicht in der Reihenfolge (%x < %x)." + +msgid "B0" +msgstr "DIN B0" + +msgid "B1" +msgstr "DIN B1" + +msgid "B10" +msgstr "DIN B10" + +msgid "B2" +msgstr "DIN B2" + +msgid "B3" +msgstr "DIN B3" + +msgid "B4" +msgstr "DIN B4" + +msgid "B5" +msgstr "DIN B5" + +msgid "B5 Oversize" +msgstr "B5 Übergröße" + +msgid "B6" +msgstr "DIN B6" + +msgid "B7" +msgstr "DIN B7" + +msgid "B8" +msgstr "DIN B8" + +msgid "B9" +msgstr "DIN B9" + +#, c-format +msgid "Bad \"printer-id\" value %d." +msgstr "Falscher \"printer-id\" Wert %d." + +#, c-format +msgid "Bad '%s' value." +msgstr "" + +#, c-format +msgid "Bad 'document-format' value \"%s\"." +msgstr "Fehlerhafter 'document-format' Wert \"%s\"." + +msgid "Bad CloseUI/JCLCloseUI" +msgstr "" + +msgid "Bad NULL dests pointer" +msgstr "Ungültiger NULL-Dests-Zeiger" + +msgid "Bad OpenGroup" +msgstr "Ungültige OpenGroup" + +msgid "Bad OpenUI/JCLOpenUI" +msgstr "Ungültig OpenUI/JCLOpenUI" + +msgid "Bad OrderDependency" +msgstr "Ungültige Abhängigkeit" + +msgid "Bad PPD cache file." +msgstr "Ungültige PPD-Cache-Datei." + +msgid "Bad PPD file." +msgstr "Ungültige PPD-Datei" + +msgid "Bad Request" +msgstr "Ungültige Anfrage" + +msgid "Bad SNMP version number" +msgstr "Ungültige SNMP-Versionsnummer" + +msgid "Bad UIConstraints" +msgstr "Ungültige UIConstraints" + +msgid "Bad URI." +msgstr "" + +msgid "Bad arguments to function" +msgstr "Ungültige Argumente an Funktion" + +#, c-format +msgid "Bad copies value %d." +msgstr "Ungültiger Wert der Kopien %d." + +msgid "Bad custom parameter" +msgstr "Ungültiger angepasster Parameter" + +#, c-format +msgid "Bad device-uri \"%s\"." +msgstr "Ungültige Geräte-URI\"%s\"." + +#, c-format +msgid "Bad device-uri scheme \"%s\"." +msgstr "Ungültiges Geräte-URI-Schema \"%s\"." + +#, c-format +msgid "Bad document-format \"%s\"." +msgstr "Ungültiges Dokumentenformat \"%s\"." + +#, c-format +msgid "Bad document-format-default \"%s\"." +msgstr "Ungültiges voreingestelltes Dokumentenformat \"%s\"." + +msgid "Bad filename buffer" +msgstr "Ungültiger Dateinamenpuffer" + +msgid "Bad hostname/address in URI" +msgstr "Ungültiger Hostname/Adresse in URI" + +#, c-format +msgid "Bad job-name value: %s" +msgstr "Ungültiger Auftragsnamenwert: %s" + +msgid "Bad job-name value: Wrong type or count." +msgstr "Ungültiger Auftragsnamenwert: Falscher Typ oder Anzahl." + +msgid "Bad job-priority value." +msgstr "Ungültiger Auftragsprioritätwert." + +#, c-format +msgid "Bad job-sheets value \"%s\"." +msgstr "Ungültiger Wert für job-sheets \"%s\"." + +msgid "Bad job-sheets value type." +msgstr "Ungültiger Werttyp für job-sheets." + +msgid "Bad job-state value." +msgstr "Ungültiger Auftragsstatuswert." + +#, c-format +msgid "Bad job-uri \"%s\"." +msgstr "Ungültige Auftrags-URI\"%s\"." + +#, c-format +msgid "Bad notify-pull-method \"%s\"." +msgstr "Ungültige notify-pull-method \"%s\"." + +#, c-format +msgid "Bad notify-recipient-uri \"%s\"." +msgstr "Ungültige notify-recipient-uri \"%s\"." + +#, c-format +msgid "Bad notify-user-data \"%s\"." +msgstr "" + +#, c-format +msgid "Bad number-up value %d." +msgstr "Ungültiger number-up-Wert %d." + +#, c-format +msgid "Bad page-ranges values %d-%d." +msgstr "Ungültige Seitenbereichswerte %d-%d." + +msgid "Bad port number in URI" +msgstr "Ungültige Port-Nummer in URI" + +#, c-format +msgid "Bad port-monitor \"%s\"." +msgstr "Ungültiger port-monitor \"%s\"." + +#, c-format +msgid "Bad printer-state value %d." +msgstr "Ungültiger Druckerstatuswert %d." + +msgid "Bad printer-uri." +msgstr "Ungültige Drucker-URI" + +#, c-format +msgid "Bad request ID %d." +msgstr "Ungültige Anfrage-ID %d." + +#, c-format +msgid "Bad request version number %d.%d." +msgstr "Ungültige Versionsnummernanfrage %d.%d." + +msgid "Bad resource in URI" +msgstr "Ungültige Resource in URI" + +msgid "Bad scheme in URI" +msgstr "Ungültiges Scheman in URI" + +msgid "Bad username in URI" +msgstr "Ungültiger Benutzername in URI" + +msgid "Bad value string" +msgstr "Ungültiger Zeichenkette" + +msgid "Bad/empty URI" +msgstr "Ungültige/leere URI" + +msgid "Banners" +msgstr "Banner" + +msgid "Bond Paper" +msgstr "Papier bündeln" + +msgid "Booklet" +msgstr "Broschüre" + +#, c-format +msgid "Boolean expected for waiteof option \"%s\"." +msgstr "Boolesch erwartet für waitof Option \"%s\"." + +msgid "Buffer overflow detected, aborting." +msgstr "Pufferüberlauf festgestellt, Abbruch." + +msgid "CMYK" +msgstr "CMYK" + +msgid "CPCL Label Printer" +msgstr "CPCL Etikettendrucker" + +msgid "Cancel Jobs" +msgstr "Druckaufträge abbrechen" + +msgid "Canceling print job." +msgstr "Auftrag wird abgebrochen." + +msgid "Cannot change printer-is-shared for remote queues." +msgstr "" + +msgid "Cannot share a remote Kerberized printer." +msgstr "Freigabe eines entfernten kerberisierten Druckers nicht möglich" + +msgid "Cassette" +msgstr "Kassette" + +msgid "Change Settings" +msgstr "Einstellungen ändern" + +#, c-format +msgid "Character set \"%s\" not supported." +msgstr "Zeichensatz \"%s\" nicht unterstützt." + +msgid "Classes" +msgstr "Klassen" + +msgid "Clean Print Heads" +msgstr "Saubere Druckköpfe" + +msgid "Close-Job doesn't support the job-uri attribute." +msgstr "Close-Job unterstützt keine job-uri Attribute." + +msgid "Color" +msgstr "Farbe" + +msgid "Color Mode" +msgstr "Farbmodus" + +msgid "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" +msgstr "" +"Befehle können abgekürzt werden. Befehle sind:\n" +"\n" +"exit help quit status ?" + +msgid "Community name uses indefinite length" +msgstr "Community-Name hat unbestimmte Länge" + +msgid "Connected to printer." +msgstr "Verbunden zum Drucker." + +msgid "Connecting to printer." +msgstr "Verbinde zum Drucker." + +msgid "Continue" +msgstr "Weiter" + +msgid "Continuous" +msgstr "Kontinuierlich" + +msgid "Control file sent successfully." +msgstr "Steuerdatei erfolgreich gesendet." + +msgid "Copying print data." +msgstr "Kopiere Druckdaten." + +msgid "Created" +msgstr "Erstellt" + +msgid "Credentials do not validate against site CA certificate." +msgstr "Anmeldedaten validieren nicht gegen das CA Zertifikat der Seite" + +msgid "Credentials have expired." +msgstr "Berechtigung ist abgelaufen" + +msgid "Custom" +msgstr "Eigene" + +msgid "CustominCutInterval" +msgstr "CustominCutInterval" + +msgid "CustominTearInterval" +msgstr "CustominTearInterval" + +msgid "Cut" +msgstr "Abschneiden" + +msgid "Cutter" +msgstr "Abschneider" + +msgid "Dark" +msgstr "Dunkel" + +msgid "Darkness" +msgstr "Dunkelheit" + +msgid "Data file sent successfully." +msgstr "Datendatei erfolgreich gesendet." + +msgid "Deep Color" +msgstr "Tiefe Farbe" + +msgid "Deep Gray" +msgstr "" + +msgid "Delete Class" +msgstr "Klasse löschen" + +msgid "Delete Printer" +msgstr "Drucker löschen" + +msgid "DeskJet Series" +msgstr "DeskJet Serie" + +#, c-format +msgid "Destination \"%s\" is not accepting jobs." +msgstr "Ziel „%s“ akzeptiert keine Druckaufträge." + +msgid "Device CMYK" +msgstr "" + +msgid "Device Gray" +msgstr "" + +msgid "Device RGB" +msgstr "" + +#, c-format +msgid "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" +msgstr "" +"Gerät: URI = %s\n" +" Klasse = %s\n" +" Info = %s\n" +" Hersteller-und-Modell = %s\n" +" Geräte-ID = %s\n" +" Standort = %s" + +msgid "Direct Thermal Media" +msgstr "Direct Thermotransfermedia" + +#, c-format +msgid "Directory \"%s\" contains a relative path." +msgstr "Verzeichnis \"%s\" enthält einen relativen Pfad." + +#, c-format +msgid "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "Verzeichnis \"%s\" hat unsichere Rechte (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "Directory \"%s\" is a file." +msgstr "Verzeichnis \"%s\" ist eine Datei." + +#, c-format +msgid "Directory \"%s\" not available: %s" +msgstr "Verzeichnis \"%s\" nicht vorhanden: %s" + +#, c-format +msgid "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "Verzeichnisrechte \"%s\" OK (0%o/uid=%d/gid=%d)." + +msgid "Disabled" +msgstr "Deaktiviert" + +#, c-format +msgid "Document #%d does not exist in job #%d." +msgstr "Dokument #%d existiert in Auftrag #%d nicht." + +msgid "Draft" +msgstr "Entwurf" + +msgid "Duplexer" +msgstr "Duplexer" + +msgid "Dymo" +msgstr "Dymo" + +msgid "EPL1 Label Printer" +msgstr "EPL1 Etikettendrucker" + +msgid "EPL2 Label Printer" +msgstr "EPL2 Etikettendrucker" + +msgid "Edit Configuration File" +msgstr "Konfigurationsdatei bearbeiten" + +msgid "Encryption is not supported." +msgstr "Verschlüsselung ist nicht unterstüzt." + +#. TRANSLATORS: Banner/cover sheet after the print job. +msgid "Ending Banner" +msgstr "Banner beenden" + +msgid "English" +msgstr "Deutsch" + +msgid "" +"Enter your username and password or the root username and password to access " +"this page. If you are using Kerberos authentication, make sure you have a " +"valid Kerberos ticket." +msgstr "" +"Geben Sie Ihren Benutzernamen und das Passwort oder den root-Benutzernamen " +"und -passwort ein, um auf diese Seite zuzugreifen. Falls Sie die Kerberos-" +"Authentifizierung verwenden, stellen Sie sicher, dass Sie ein gültiges " +"Kerberos-Ticket haben." + +msgid "Envelope #10" +msgstr "US Umschlag 10" + +msgid "Envelope #11" +msgstr "US Umschlag 11" + +msgid "Envelope #12" +msgstr "US Umschlag 12" + +msgid "Envelope #14" +msgstr "US Umschlag 14" + +msgid "Envelope #9" +msgstr "US Umschlag 9" + +msgid "Envelope B4" +msgstr "Umschlag B4" + +msgid "Envelope B5" +msgstr "Umschlag B5" + +msgid "Envelope B6" +msgstr "Umschlag B6" + +msgid "Envelope C0" +msgstr "Umschlag C0" + +msgid "Envelope C1" +msgstr "Umschlag C1" + +msgid "Envelope C2" +msgstr "Umschlag C2" + +msgid "Envelope C3" +msgstr "Umschlag C3" + +msgid "Envelope C4" +msgstr "Umschlag C4" + +msgid "Envelope C5" +msgstr "Umschlag C5" + +msgid "Envelope C6" +msgstr "Umschlag C6" + +msgid "Envelope C65" +msgstr "Umschlag C65" + +msgid "Envelope C7" +msgstr "Umschlag C7" + +msgid "Envelope Choukei 3" +msgstr "Umschlag Choukei 3" + +msgid "Envelope Choukei 3 Long Edge" +msgstr "Umschlag Choukei 3 lange Seite" + +msgid "Envelope Choukei 4" +msgstr "Umschlag Choukei 4" + +msgid "Envelope Choukei 4 Long Edge" +msgstr "Umschlag Choukei 4 lange Seite" + +msgid "Envelope DL" +msgstr "Umschlag DL" + +msgid "Envelope Feed" +msgstr "Umschlagzuführung" + +msgid "Envelope Invite" +msgstr "Umschlag Invite" + +msgid "Envelope Italian" +msgstr "Umschlag italienisch" + +msgid "Envelope Kaku2" +msgstr "Umschlag Kaku2" + +msgid "Envelope Kaku2 Long Edge" +msgstr "Umschlag Kaku2 lange Seite" + +msgid "Envelope Kaku3" +msgstr "Umschlag Kaku3" + +msgid "Envelope Kaku3 Long Edge" +msgstr "Umschlag Kaku3 lange Seite" + +msgid "Envelope Monarch" +msgstr "Umschlag Monarch" + +msgid "Envelope PRC1" +msgstr "Umschlag PRC1" + +msgid "Envelope PRC1 Long Edge" +msgstr "Umschlag PRC1 lange Seite" + +msgid "Envelope PRC10" +msgstr "Umschlag PRC10" + +msgid "Envelope PRC10 Long Edge" +msgstr "Umschlag PRC10 lange Seite" + +msgid "Envelope PRC2" +msgstr "Umschlag PRC2" + +msgid "Envelope PRC2 Long Edge" +msgstr "Umschlag PRC2 lange Seite" + +msgid "Envelope PRC3" +msgstr "Umschlag PRC3" + +msgid "Envelope PRC3 Long Edge" +msgstr "Umschlag PRC3 lange Seite" + +msgid "Envelope PRC4" +msgstr "Umschlag PRC4" + +msgid "Envelope PRC4 Long Edge" +msgstr "Umschlag PRC4 lange Seite" + +msgid "Envelope PRC5 Long Edge" +msgstr "Umschlag PRC5 lange Seite" + +msgid "Envelope PRC5PRC5" +msgstr "Umschlag PRC" + +msgid "Envelope PRC6" +msgstr "Umschlag PRC6" + +msgid "Envelope PRC6 Long Edge" +msgstr "Umschlag PRC6 lange Seite" + +msgid "Envelope PRC7" +msgstr "Umschlag PRC7" + +msgid "Envelope PRC7 Long Edge" +msgstr "Umschlag PRC7 lange Seite" + +msgid "Envelope PRC8" +msgstr "Umschlag PRC8" + +msgid "Envelope PRC8 Long Edge" +msgstr "Umschlag PRC8 lange Seite" + +msgid "Envelope PRC9" +msgstr "Umschlag PRC" + +msgid "Envelope PRC9 Long Edge" +msgstr "Umschlag PRC9 lange Seite" + +msgid "Envelope Personal" +msgstr "Umschlag Personal" + +msgid "Envelope You4" +msgstr "Umschlag You4" + +msgid "Envelope You4 Long Edge" +msgstr "Umschlag You4 lange Seite" + +msgid "Environment Variables:" +msgstr "Umgebungsvariablen:" + +msgid "Epson" +msgstr "Epson" + +msgid "Error Policy" +msgstr "Fehlerbehandlung" + +msgid "Error reading raster data." +msgstr "Fehler beim Lesen der Rasterdaten." + +msgid "Error sending raster data." +msgstr "Fehler beim Senden von Rasterdaten." + +msgid "Error: need hostname after \"-h\" option." +msgstr "Fehler: Hostname ist nach der \"-h\" Option erforderlich." + +msgid "European Fanfold" +msgstr "Europäisches Endlospapier" + +msgid "European Fanfold Legal" +msgstr "Europäisches Endlospapier Legal" + +msgid "Every 10 Labels" +msgstr "Alle 10 Etiketten" + +msgid "Every 2 Labels" +msgstr "Alle 2 Etiketten" + +msgid "Every 3 Labels" +msgstr "Alle 3 Etiketten" + +msgid "Every 4 Labels" +msgstr "Alle 4 Etiketten" + +msgid "Every 5 Labels" +msgstr "Alle 5 Etiketten" + +msgid "Every 6 Labels" +msgstr "Alle 6 Etiketten" + +msgid "Every 7 Labels" +msgstr "Alle 7 Etiketten" + +msgid "Every 8 Labels" +msgstr "Alle 8 Etiketten" + +msgid "Every 9 Labels" +msgstr "Alle 9 Etiketten" + +msgid "Every Label" +msgstr "Bei jedem Etikett" + +msgid "Executive" +msgstr "184×267 (Imp)" + +msgid "Expectation Failed" +msgstr "Erwartete Daten nicht erhalten" + +msgid "Expressions:" +msgstr "Ausdrücke:" + +msgid "Fast Grayscale" +msgstr "Grautöne schnell" + +#, c-format +msgid "File \"%s\" contains a relative path." +msgstr "Datei \"%s\" enthält einen relativen Pfad." + +#, c-format +msgid "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "Datei \"%s\" hat unsichere Rechte (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "File \"%s\" is a directory." +msgstr "Datei \"%s\" ist ein Verzeichnis." + +#, c-format +msgid "File \"%s\" not available: %s" +msgstr "Datei \"%s\" nicht verfügbar: %s" + +#, c-format +msgid "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "Dateirechte \"%s\" OK (0%o/uid=%d/gid=%d)." + +msgid "File Folder" +msgstr "Dateiverzeichnis" + +#, c-format +msgid "" +"File device URIs have been disabled. To enable, see the FileDevice directive " +"in \"%s/cups-files.conf\"." +msgstr "" + +#, c-format +msgid "Finished page %d." +msgstr "Seite %d fertiggestellt." + +msgid "Finishing Preset" +msgstr "Voreinstellungen Endverarbeitung" + +msgid "Fold" +msgstr "Falten" + +msgid "Folio" +msgstr "Folio" + +msgid "Forbidden" +msgstr "Verboten" + +msgid "Found" +msgstr "Gefunden" + +msgid "General" +msgstr "Allgemein" + +msgid "Generic" +msgstr "Allgemein" + +msgid "Get-Response-PDU uses indefinite length" +msgstr "Get-Response-PDU hat unbestimmte Länge" + +msgid "Glossy Paper" +msgstr "Glanzpapier" + +msgid "Got a printer-uri attribute but no job-id." +msgstr "Drucker-URI Attribut empfangen aber keine Auftrags-ID." + +msgid "Grayscale" +msgstr "Graustufen" + +msgid "HP" +msgstr "HP" + +msgid "Hanging Folder" +msgstr "Hängeordner" + +msgid "Hash buffer too small." +msgstr "Hash Puffer zu klein." + +msgid "Help file not in index." +msgstr "Hilfedatei nicht im Index." + +msgid "High" +msgstr "Hoch" + +msgid "IPP 1setOf attribute with incompatible value tags." +msgstr "IPP 1setOf Attribut mit inkompatiblen Werte-Markierung." + +msgid "IPP attribute has no name." +msgstr "IPP-Attribut hat keinen Namen." + +msgid "IPP attribute is not a member of the message." +msgstr "IPP-Attribut ist kein Mitglied der Nachricht." + +msgid "IPP begCollection value not 0 bytes." +msgstr "IPP begCollection Wert nicht 0 Byte." + +msgid "IPP boolean value not 1 byte." +msgstr "IPP boolescher Wert nicht 1 Byte." + +msgid "IPP date value not 11 bytes." +msgstr "IPP-Datenwert nicht 11 Byte." + +msgid "IPP endCollection value not 0 bytes." +msgstr "IPP endCollection Wert nicht 0 Byte." + +msgid "IPP enum value not 4 bytes." +msgstr "IPP enum Wert nicht 4 Byte." + +msgid "IPP extension tag larger than 0x7FFFFFFF." +msgstr "IPP Erweiterung grösser als 0x7FFFFFFF." + +msgid "IPP integer value not 4 bytes." +msgstr "IPP Integer-Wert nicht 4 Bytes." + +msgid "IPP language length overflows value." +msgstr "IPP Sprachlänge übersteigt Wert." + +msgid "IPP language length too large." +msgstr "IPP-Sprachlänge zu groß." + +msgid "IPP member name is not empty." +msgstr "IPP-Mitgliedsname ist nicht leer." + +msgid "IPP memberName value is empty." +msgstr "IPP-Mitgliedsnamenwert ist leer." + +msgid "IPP memberName with no attribute." +msgstr "IPP-Mitgliedsname ohne Attribute." + +msgid "IPP name larger than 32767 bytes." +msgstr "IPP Name länger als 32767 Byte" + +msgid "IPP nameWithLanguage value less than minimum 4 bytes." +msgstr "IPP nameWithLanguage Wert weniger als mindestens 4 Byte." + +msgid "IPP octetString length too large." +msgstr "IPP Oktett-Zeichenkettenlänge zu groß." + +msgid "IPP rangeOfInteger value not 8 bytes." +msgstr "IPP rangeOfInteger Wert nicht 8 Byte." + +msgid "IPP resolution value not 9 bytes." +msgstr "IPP-Auflösungswert nicht 9 Bytes." + +msgid "IPP string length overflows value." +msgstr "IPP Zeichenkettenlänge übersteigt Wert." + +msgid "IPP textWithLanguage value less than minimum 4 bytes." +msgstr "IPP textWithLanguage Wert weniger als mindestens 4 Byte." + +msgid "IPP value larger than 32767 bytes." +msgstr "IPP-Wert länger als 32767 Bytes." + +msgid "IPPFIND_SERVICE_DOMAIN Domain name" +msgstr "" + +msgid "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" +msgstr "" + +msgid "IPPFIND_SERVICE_NAME Service instance name" +msgstr "" + +msgid "IPPFIND_SERVICE_PORT Port number" +msgstr "" + +msgid "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" +msgstr "" + +msgid "IPPFIND_SERVICE_SCHEME URI scheme" +msgstr "" + +msgid "IPPFIND_SERVICE_URI URI" +msgstr "" + +msgid "IPPFIND_TXT_* Value of TXT record key" +msgstr "" + +msgid "ISOLatin1" +msgstr "ISOLatin1" + +msgid "Illegal control character" +msgstr "Ungültiges Steuerzeichen" + +msgid "Illegal main keyword string" +msgstr "Ungültige Haupt-Schlüsselwort-Zeichenkette" + +msgid "Illegal option keyword string" +msgstr "Ungültige Option-Schlüsselwort-Zeichenkette" + +msgid "Illegal translation string" +msgstr "Ungültiger Übersetzungsstring" + +msgid "Illegal whitespace character" +msgstr "Ungültiges Leerzeichen" + +msgid "Installable Options" +msgstr "Installationsoptionen" + +msgid "Installed" +msgstr "Installiert" + +msgid "IntelliBar Label Printer" +msgstr "IntelliBar Etikettendrucker" + +msgid "Intellitech" +msgstr "Intellitech" + +msgid "Internal Server Error" +msgstr "Interner Serverfehler" + +msgid "Internal error" +msgstr "Interner Fehler" + +msgid "Internet Postage 2-Part" +msgstr "Internet Postage 2-teilig" + +msgid "Internet Postage 3-Part" +msgstr "Internet Postage 3-teilig" + +msgid "Internet Printing Protocol" +msgstr "Internet Printing Protocol" + +msgid "Invalid group tag." +msgstr "" + +msgid "Invalid media name arguments." +msgstr "Ungültige Argumente des Mediennamens." + +msgid "Invalid media size." +msgstr "Ungültige Mediengröße." + +msgid "Invalid named IPP attribute in collection." +msgstr "" + +msgid "Invalid ppd-name value." +msgstr "Ungültgier Wert ppd-name" + +#, c-format +msgid "Invalid printer command \"%s\"." +msgstr "Ungültiger Druckbefehl \"%s\"." + +msgid "JCL" +msgstr "JCL" + +msgid "JIS B0" +msgstr "JIS B0" + +msgid "JIS B1" +msgstr "JIS B1" + +msgid "JIS B10" +msgstr "JIS B10" + +msgid "JIS B2" +msgstr "JIS B2" + +msgid "JIS B3" +msgstr "JIS B3" + +msgid "JIS B4" +msgstr "JIS B4" + +msgid "JIS B4 Long Edge" +msgstr "JIS B4 lange Kante" + +msgid "JIS B5" +msgstr "JIS B5" + +msgid "JIS B5 Long Edge" +msgstr "JIS B5 lange Kante" + +msgid "JIS B6" +msgstr "JIS B6" + +msgid "JIS B6 Long Edge" +msgstr "JIS B6 lange Kante" + +msgid "JIS B7" +msgstr "JIS B7" + +msgid "JIS B8" +msgstr "JIS B8" + +msgid "JIS B9" +msgstr "JIS B9" + +#, c-format +msgid "Job #%d cannot be restarted - no files." +msgstr "Auftrag #%d kann nicht wieder gestartet werden - keine Dateien." + +#, c-format +msgid "Job #%d does not exist." +msgstr "Auftrag #%d existiert nicht." + +#, c-format +msgid "Job #%d is already aborted - can't cancel." +msgstr "Auftrag %d wurde bereits abgebrochen – Abbruch nicht möglich." + +#, c-format +msgid "Job #%d is already canceled - can't cancel." +msgstr "Auftrag %d wurde bereits abgebrochen – Abbruch nicht möglich." + +#, c-format +msgid "Job #%d is already completed - can't cancel." +msgstr "Auftrag %d wurde bereits abgeschlossen – Abbruch nicht möglich." + +#, c-format +msgid "Job #%d is finished and cannot be altered." +msgstr "Auftrag #%d ist abgeschlossen und kann nicht mehr geändert werden." + +#, c-format +msgid "Job #%d is not complete." +msgstr "Auftrag #%d ist nicht abgeschlossen." + +#, c-format +msgid "Job #%d is not held for authentication." +msgstr "Auftrag #%d ist nicht zur Authentifizierung angehalten." + +#, c-format +msgid "Job #%d is not held." +msgstr "Auftrag #%d ist nicht angehalten." + +msgid "Job Completed" +msgstr "Auftrag abgeschlossen" + +msgid "Job Created" +msgstr "Auftrag erstellt" + +msgid "Job Options Changed" +msgstr "Auftragsoptionen geändert" + +msgid "Job Stopped" +msgstr "Auftrag gestoppt" + +msgid "Job is completed and cannot be changed." +msgstr "Auftrag ist abgeschlossen und kann nicht geändert werden." + +msgid "Job operation failed" +msgstr "Auftrag fehlgeschlagen:" + +msgid "Job state cannot be changed." +msgstr "Auftragsstatus kann nicht geändert werden." + +msgid "Job subscriptions cannot be renewed." +msgstr "Auftragssubskiptionen können nicht erneuert werden." + +msgid "Jobs" +msgstr "Aufträge" + +msgid "LPD/LPR Host or Printer" +msgstr "LPD/LPR-Host oder -Drucker" + +msgid "" +"LPDEST environment variable names default destination that does not exist." +msgstr "" +"LPDEST-Umgebungsvariable benennt standardmäßig ein Ziel, das nicht existiert." + +msgid "Label Printer" +msgstr "Etikettendrucker" + +msgid "Label Top" +msgstr "Etikett oben" + +#, c-format +msgid "Language \"%s\" not supported." +msgstr "Sprache \"%s\" wird nicht unterstützt." + +msgid "Large Address" +msgstr "Große Adresse" + +msgid "LaserJet Series PCL 4/5" +msgstr "LaserJet Serie PCL 4/5" + +msgid "Letter Oversize" +msgstr "Letter Übergröße" + +msgid "Letter Oversize Long Edge" +msgstr "Letter Übergröße lange Kante" + +msgid "Light" +msgstr "Leicht" + +msgid "Line longer than the maximum allowed (255 characters)" +msgstr "Zeile ist länger als die zulässige Länge von 255 Zeichen" + +msgid "List Available Printers" +msgstr "Verfügbare Drucker anzeigen" + +#, c-format +msgid "Listening on port %d." +msgstr "" + +msgid "Local printer created." +msgstr "Lokalen Drucker erzeugt." + +msgid "Long-Edge (Portrait)" +msgstr "Lange Kante (Hochformat)" + +msgid "Looking for printer." +msgstr "Suche nach Drucker." + +msgid "Manual Feed" +msgstr "Manuelle Papierzufuhr" + +msgid "Media Size" +msgstr "Mediengröße" + +msgid "Media Source" +msgstr "Medienquelle" + +msgid "Media Tracking" +msgstr "Medienführung" + +msgid "Media Type" +msgstr "Medienart" + +msgid "Medium" +msgstr "Medium" + +msgid "Memory allocation error" +msgstr "Fehler bei der Speicherzuteilung" + +msgid "Missing CloseGroup" +msgstr "Fehlendes CloseGroup" + +msgid "Missing CloseUI/JCLCloseUI" +msgstr "" + +msgid "Missing PPD-Adobe-4.x header" +msgstr "PPD-Adobe-4.x Header fehlt" + +msgid "Missing asterisk in column 1" +msgstr "Sternchen in Spalte 1 fehlt" + +msgid "Missing document-number attribute." +msgstr "Fehlendes Attribut zur Dokumentennummer." + +msgid "Missing form variable" +msgstr "Fehlende form Variable" + +msgid "Missing last-document attribute in request." +msgstr "Fehlendes Letzte-Sete Attribut in der Anfrage." + +msgid "Missing media or media-col." +msgstr "" + +msgid "Missing media-size in media-col." +msgstr "" + +msgid "Missing notify-subscription-ids attribute." +msgstr "" + +msgid "Missing option keyword" +msgstr "Fehlende Option Schlüsselwort" + +msgid "Missing requesting-user-name attribute." +msgstr "Fehlendes requesting-user-name Attribut." + +#, c-format +msgid "Missing required attribute \"%s\"." +msgstr "Erforderliches Attribut \"%s\" fehlt." + +msgid "Missing required attributes." +msgstr "Erforderliche Attribute fehlen." + +msgid "Missing resource in URI" +msgstr "Fehlende Ressource in URI" + +msgid "Missing scheme in URI" +msgstr "Fehlendes Schema in URI" + +msgid "Missing value string" +msgstr "Wertezeichenkette fehlt" + +msgid "Missing x-dimension in media-size." +msgstr "Fehlende x-Dimension in Mediengröße" + +msgid "Missing y-dimension in media-size." +msgstr "Fehlende y-Dimension in Mediengröße" + +#, c-format +msgid "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" +msgstr "" +"Modell: Name = %s\n" +" natürliche_Sprache = %s\n" +" Hersteller-und-Modell = %s\n" +" Geräte-ID = %s" + +msgid "Modifiers:" +msgstr "Modifikatoren:" + +msgid "Modify Class" +msgstr "Klasse verändern" + +msgid "Modify Printer" +msgstr "Drucker verändern" + +msgid "Move All Jobs" +msgstr "Alle Aufträge verschieben" + +msgid "Move Job" +msgstr "Auftrag verschieben" + +msgid "Moved Permanently" +msgstr "Dauerhaft verschoben" + +msgid "NULL PPD file pointer" +msgstr "NULL PPD-Dateizeiger" + +msgid "Name OID uses indefinite length" +msgstr "Name-OID hat unbestimmte Länge" + +msgid "Nested classes are not allowed." +msgstr "Geschachtelte Klassen sind nicht erlaubt." + +msgid "Never" +msgstr "Nie" + +msgid "New credentials are not valid for name." +msgstr "Neue Anmeldedaten sind für den Namen ungültig." + +msgid "New credentials are older than stored credentials." +msgstr "Neue Anmeldedaten sind läter als die gespeicherten Anmeldedaten" + +msgid "No" +msgstr "Nein" + +msgid "No Content" +msgstr "Kein Inhalt" + +msgid "No IPP attributes." +msgstr "Keine IPP-Attribute." + +msgid "No PPD name" +msgstr "Kein PPD-Name" + +msgid "No VarBind SEQUENCE" +msgstr "Keine VarBind SEQUENCE" + +msgid "No active connection" +msgstr "Keine aktive Verbindung" + +msgid "No active connection." +msgstr "Keine aktive Verbindung." + +#, c-format +msgid "No active jobs on %s." +msgstr "Keine aktiven Aufträge auf %s." + +msgid "No attributes in request." +msgstr "Keine Attribute in der Anfrage." + +msgid "No authentication information provided." +msgstr "Keine Authentifizierungsinformation bereitgestellt." + +msgid "No common name specified." +msgstr "Keinen gebräuchlichen Namen angegeben." + +msgid "No community name" +msgstr "Kein Community-Name" + +msgid "No default destination." +msgstr "Kein voreingestelltes Ziel." + +msgid "No default printer." +msgstr "Kein voreingestellter Drucker." + +msgid "No destinations added." +msgstr "Keine Druckziele hinzugefügt." + +msgid "No device URI found in argv[0] or in DEVICE_URI environment variable." +msgstr "" +"Keine Geräte-URI in argv[0] oder der Umgebungsvariablen DEVICE_URI gefunden." + +msgid "No error-index" +msgstr "Kein Fehlerindex" + +msgid "No error-status" +msgstr "Kein Fehlerstatus" + +msgid "No file in print request." +msgstr "Keine Druckdatei in der Anfrage." + +msgid "No modification time" +msgstr "Keine Modifikationszeit" + +msgid "No name OID" +msgstr "Kein Name-OID" + +msgid "No pages were found." +msgstr "Keine Seiten gefunden." + +msgid "No printer name" +msgstr "Kein Druckername" + +msgid "No printer-uri found" +msgstr "Keine Drucker-uri gefunden" + +msgid "No printer-uri found for class" +msgstr "Keine Drucker-URI gefunden für die Klasse" + +msgid "No printer-uri in request." +msgstr "" + +msgid "No request URI." +msgstr "Keine Anfrage-URI." + +msgid "No request protocol version." +msgstr "Keine Anfrageprotokollversion." + +msgid "No request sent." +msgstr "Keine Anfrage gesendet." + +msgid "No request-id" +msgstr "Keine Anfrage-ID" + +msgid "No stored credentials, not valid for name." +msgstr "Keine gespeicherten Anmeldedaten, ungültig für Name." + +msgid "No subscription attributes in request." +msgstr "Keine Subskriptions-Attribute in der Anfrage." + +msgid "No subscriptions found." +msgstr "Keine Subskriptionen gefunden." + +msgid "No variable-bindings SEQUENCE" +msgstr "Keine „variable-bindings SEQUENCE“" + +msgid "No version number" +msgstr "Keine Versionsnummer" + +msgid "Non-continuous (Mark sensing)" +msgstr "Nicht fortlaufend (Mark-Sensing)" + +msgid "Non-continuous (Web sensing)" +msgstr "Nicht fortlaufend (Web-Sensing)" + +msgid "None" +msgstr "Keine" + +msgid "Normal" +msgstr "Normal" + +msgid "Not Found" +msgstr "Nicht gefunden" + +msgid "Not Implemented" +msgstr "Nicht implementiert" + +msgid "Not Installed" +msgstr "Nicht installiert" + +msgid "Not Modified" +msgstr "Nicht verändert" + +msgid "Not Supported" +msgstr "Nicht unterstützt" + +msgid "Not allowed to print." +msgstr "Drucken nicht erlaubt." + +msgid "Note" +msgstr "Hinweis" + +msgid "OK" +msgstr "OK" + +msgid "Off (1-Sided)" +msgstr "Aus (Einseitig)" + +msgid "Oki" +msgstr "Oki" + +msgid "Online Help" +msgstr "Online-Hilfe" + +msgid "Only local users can create a local printer." +msgstr "Nur lokale Benutzer können lokale Drucker erzeugen." + +#, c-format +msgid "Open of %s failed: %s" +msgstr "Öffnen von %s ist fehlgeschlagen: %s" + +msgid "OpenGroup without a CloseGroup first" +msgstr "OpenGroup ohne CloseGroup zuerst" + +msgid "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" +msgstr "OpenUI/JCLOpenUI ohne CloseUI/JCLCloseUI zuerst" + +msgid "Operation Policy" +msgstr "Nutzungsrichtlinien" + +#, c-format +msgid "Option \"%s\" cannot be included via %%%%IncludeFeature." +msgstr "Option \"%s\" kann nicht mittels %%%%IncludeFeature einbezogen werden." + +msgid "Options Installed" +msgstr "Installierte Optionen" + +msgid "Options:" +msgstr "Optionen:" + +msgid "Other Media" +msgstr "Andere Medien" + +msgid "Other Tray" +msgstr "Anderes Fach" + +msgid "Out of date PPD cache file." +msgstr "Veraltete PPD-Cache-Datei." + +msgid "Out of memory." +msgstr "Nicht genügend Speicher." + +msgid "Output Mode" +msgstr "Ausgabemodus" + +msgid "PCL Laser Printer" +msgstr "PCL-Laserdrucker" + +msgid "PRC16K" +msgstr "PRC16K" + +msgid "PRC16K Long Edge" +msgstr "PRC16K lange Kante" + +msgid "PRC32K" +msgstr "PRC32K" + +msgid "PRC32K Long Edge" +msgstr "PRC32K lange Kante" + +msgid "PRC32K Oversize" +msgstr "PRCK32K Übergröße" + +msgid "PRC32K Oversize Long Edge" +msgstr "PRCK32K Übergröße lange Kante" + +msgid "" +"PRINTER environment variable names default destination that does not exist." +msgstr "" + +msgid "Packet does not contain a Get-Response-PDU" +msgstr "Paket enthält kein Get-Response-PDU" + +msgid "Packet does not start with SEQUENCE" +msgstr "Paket beginnt nicht mit SEQUENCE" + +msgid "ParamCustominCutInterval" +msgstr "ParamCustominCutInterval" + +msgid "ParamCustominTearInterval" +msgstr "ParamCustominTearInterval" + +#, c-format +msgid "Password for %s on %s? " +msgstr "Passwort für %s auf %s? " + +msgid "Pause Class" +msgstr "Klasse anhalten" + +msgid "Pause Printer" +msgstr "Drucker anhalten" + +msgid "Peel-Off" +msgstr "Aufkleber" + +msgid "Photo" +msgstr "Foto" + +msgid "Photo Labels" +msgstr "Foto-Etiketten" + +msgid "Plain Paper" +msgstr "Standardpapier" + +msgid "Policies" +msgstr "Richtlinien " + +msgid "Port Monitor" +msgstr "Port-Monitor" + +msgid "PostScript Printer" +msgstr "PostScript-Drucker" + +msgid "Postcard" +msgstr "Postkarte" + +msgid "Postcard Double" +msgstr "Doppelpostkarte" + +msgid "Postcard Double Long Edge" +msgstr "Doppelpostkarte lange Seite" + +msgid "Postcard Long Edge" +msgstr "Postkarte lange Seite" + +msgid "Preparing to print." +msgstr "Vorbereitung zum Druck." + +msgid "Print Density" +msgstr "Druckdichte" + +msgid "Print Job:" +msgstr "Druckauftrag:" + +msgid "Print Mode" +msgstr "Druckmodus" + +msgid "Print Quality" +msgstr "Druckqualität" + +msgid "Print Rate" +msgstr "Druckrate" + +msgid "Print Self-Test Page" +msgstr "Selbsttestseite drucken" + +msgid "Print Speed" +msgstr "Druckgeschwindigkeit" + +msgid "Print Test Page" +msgstr "Testseite drucken" + +msgid "Print and Cut" +msgstr "Drucken und abschneiden" + +msgid "Print and Tear" +msgstr "Drucken und abreißen" + +msgid "Print file sent." +msgstr "Druckdatei gesendet." + +msgid "Print job canceled at printer." +msgstr "Druckauftrag wurde am Drucker abgebrochen." + +msgid "Print job too large." +msgstr "Der Druckauftrag ist zu groß." + +msgid "Print job was not accepted." +msgstr "Der Druckauftrag wurde nicht angenommen." + +#, c-format +msgid "Printer \"%s\" already exists." +msgstr "Drucker \"%s\" existiert bereits." + +msgid "Printer Added" +msgstr "Drucker hinzugefügt" + +msgid "Printer Default" +msgstr "Standardeinstellung für Drucker" + +msgid "Printer Deleted" +msgstr "Drucker gelöscht" + +msgid "Printer Modified" +msgstr "Drucker geändert" + +msgid "Printer Paused" +msgstr "Drucker angehalten" + +msgid "Printer Settings" +msgstr "Druckereinstellungen" + +msgid "Printer cannot print supplied content." +msgstr "Drucker kann den Inhalt nicht drucken." + +msgid "Printer cannot print with supplied options." +msgstr "Drucker kann mit den angegebenen Optionen nicht drucken." + +msgid "Printer does not support required IPP attributes or document formats." +msgstr "" + +msgid "Printer:" +msgstr "Drucker:" + +msgid "Printers" +msgstr "Drucker" + +#, c-format +msgid "Printing page %d, %u%% complete." +msgstr "Drucke Seite %d, %u%% fertig." + +msgid "Punch" +msgstr "Locher" + +msgid "Quarto" +msgstr "US Quarto" + +msgid "Quota limit reached." +msgstr "Kontingentgrenze erreicht." + +msgid "Rank Owner Job File(s) Total Size" +msgstr "Rang Besitz. Auftrag Datei(en) Gesamtgröße" + +msgid "Reject Jobs" +msgstr "Druckaufträge ablehnen" + +#, c-format +msgid "Remote host did not accept control file (%d)." +msgstr "Entfernter Host hat die Steuerdatei (%d) nicht akzeptiert." + +#, c-format +msgid "Remote host did not accept data file (%d)." +msgstr "Entfernter Host hat die Datendatei (%d) nicht akzeptiert." + +msgid "Reprint After Error" +msgstr "Druckvorgang nach dem Fehler fortsetzen" + +msgid "Request Entity Too Large" +msgstr "Gesamte Anfrage zu groß" + +msgid "Resolution" +msgstr "Auflösung" + +msgid "Resume Class" +msgstr "Klasse fortsetzen" + +msgid "Resume Printer" +msgstr "Drucken fortsetzen" + +msgid "Return Address" +msgstr "Rückgabeadresse" + +msgid "Rewind" +msgstr "Zurückdrehen" + +msgid "SEQUENCE uses indefinite length" +msgstr "SEQUENCE hat unbestimmte Länge" + +msgid "SSL/TLS Negotiation Error" +msgstr "SSL/TLS Verhandlungsfehler" + +msgid "See Other" +msgstr "Siehe auch" + +msgid "See remote printer." +msgstr "Siehe entfernter Drucker." + +msgid "Self-signed credentials are blocked." +msgstr "Selbstsignierte Anmeldedaten sind blockiert." + +msgid "Sending data to printer." +msgstr "Sende Daten zum Drucker." + +msgid "Server Restarted" +msgstr "Server neu gestartet" + +msgid "Server Security Auditing" +msgstr "Server Security Auditing" + +msgid "Server Started" +msgstr "Server gestartet" + +msgid "Server Stopped" +msgstr "Server ist angehalten" + +msgid "Server credentials not set." +msgstr "Server-Zugangsdaten nicht gesetzt." + +msgid "Service Unavailable" +msgstr "Dienst nicht verfügbar" + +msgid "Set Allowed Users" +msgstr "Zugelassene Benutzer festlegen" + +msgid "Set As Server Default" +msgstr "Als Voreinstellungen für Server festlegen" + +msgid "Set Class Options" +msgstr "Klassenoptionen festlegen" + +msgid "Set Printer Options" +msgstr "Druckeroptionen festlegen" + +msgid "Set Publishing" +msgstr "Veröffentlichung festlegen" + +msgid "Shipping Address" +msgstr "Lieferadresse" + +msgid "Short-Edge (Landscape)" +msgstr "Kurze Kante (Querformat)" + +msgid "Special Paper" +msgstr "Spezialpapier" + +#, c-format +msgid "Spooling job, %.0f%% complete." +msgstr "Auftragszwischenspeicherung %.0f%% abgeschlossen." + +msgid "Standard" +msgstr "Standard" + +msgid "Staple" +msgstr "Heftung" + +#. TRANSLATORS: Banner/cover sheet before the print job. +msgid "Starting Banner" +msgstr "Startbanner" + +#, c-format +msgid "Starting page %d." +msgstr "Beginne Seite %d." + +msgid "Statement" +msgstr "US Statement" + +#, c-format +msgid "Subscription #%d does not exist." +msgstr "Abonnement #%d existiert nicht." + +msgid "Substitutions:" +msgstr "Ersatz:" + +msgid "Super A" +msgstr "Super A" + +msgid "Super B" +msgstr "Super B" + +msgid "Super B/A3" +msgstr "Super B/A3" + +msgid "Switching Protocols" +msgstr "Protokolle wechseln" + +msgid "Tabloid" +msgstr "US Tabloid" + +msgid "Tabloid Oversize" +msgstr "US Tabloid übergroß" + +msgid "Tabloid Oversize Long Edge" +msgstr "US Tabloid übergroß lange Seite" + +msgid "Tear" +msgstr "Abreißen" + +msgid "Tear-Off" +msgstr "Abriss" + +msgid "Tear-Off Adjust Position" +msgstr "Abriss-Justierposition" + +#, c-format +msgid "The \"%s\" attribute is required for print jobs." +msgstr "Das Attribut »%s« ist erforderlich für Druckaufträge." + +#, c-format +msgid "The %s attribute cannot be provided with job-ids." +msgstr "Das %s Attribut kann nicht mit Auftrags-IDs angegeben werden." + +#, c-format +msgid "" +"The '%s' Job Status attribute cannot be supplied in a job creation request." +msgstr "" +"Das Attribut '%s' Auftragsstatus kann in einer Auftragsanfrage nicht " +"angegeben werden." + +#, c-format +msgid "" +"The '%s' operation attribute cannot be supplied in a Create-Job request." +msgstr "" +"Das Vorgangsattribut '%s' kann nicht mit einer Anfrage zur " +"Auftragserstellung angegeben werden." + +#, c-format +msgid "The PPD file \"%s\" could not be found." +msgstr "Die PPD-Datei »%s« konnte nicht gefunden werden." + +#, c-format +msgid "The PPD file \"%s\" could not be opened: %s" +msgstr "Die PPD-Datei »%s« konnte nicht geöffnet werden: %s" + +msgid "The PPD file could not be opened." +msgstr "Die PPD Datei konnte nicht geöffnet werden." + +msgid "" +"The class name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/), or the pound sign (#)." +msgstr "" +"Der Klassenname darf maximal 127 druckbare Zeichen haben und darf keine " +"Leerzeichen, Schrägstriche (/) oder Rautezeichen (#) enthalten." + +msgid "" +"The notify-lease-duration attribute cannot be used with job subscriptions." +msgstr "" +"Das Attribut „notify-lease-duration“ kann nicht mit Druckauftrags-" +"Subskriptionen verwendet werden." + +#, c-format +msgid "The notify-user-data value is too large (%d > 63 octets)." +msgstr "Der WErt für notify-user-data ist zu groß (%d > 63 octets)." + +msgid "The printer configuration is incorrect or the printer no longer exists." +msgstr "" +"Die Druckerkonfiguration ist nicht korrekt oder der Drucker existiert nicht " +"mehr." + +msgid "The printer did not respond." +msgstr "Der Drucker hat nicht geantwortet." + +msgid "The printer is in use." +msgstr "Der Drucker ist beschäftigt." + +msgid "The printer is not connected." +msgstr "Der Drucker ist nicht verbunden." + +msgid "The printer is not responding." +msgstr "Der Drucker antwortet nicht." + +msgid "The printer is now connected." +msgstr "Der Drucker ist jetzt verbunden." + +msgid "The printer is now online." +msgstr "Der Drucker ist jetzt online." + +msgid "The printer is offline." +msgstr "Der Drucker ist offline." + +msgid "The printer is unreachable at this time." +msgstr "Der Drucker ist derzeit nicht erreichbar." + +msgid "The printer may not exist or is unavailable at this time." +msgstr "Der Drucker existiert nicht oder ist zur Zeit nicht verfügbar." + +msgid "" +"The printer name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the " +"pound sign (#)." +msgstr "" + +msgid "The printer or class does not exist." +msgstr "Der Drucker oder die Klasse existiert nicht." + +msgid "The printer or class is not shared." +msgstr "Der Drucker oder die Klasse ist nicht freigegeben." + +#, c-format +msgid "The printer-uri \"%s\" contains invalid characters." +msgstr "Die Drucker-URI »%s« enthält ungültige Zeichen." + +msgid "The printer-uri attribute is required." +msgstr "Das printer-uri Attribut ist erforderlich." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." +msgstr "" +"Die Drucker-URI muss in der folgenden Form vorliegen: ipp://HOSTNAME/classes/" +"CLASSNAME" + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." +msgstr "" +"Die Drucker-URI muss in der folgenden Form vorliegen: ipp://HOSTNAME/" +"printers/PRINTERNAME" + +msgid "" +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to " +"enable it." +msgstr "" +"Die Web-Schnittstelle ist derzeit abgeschaltet. Das Einschalten kann mitdem " +"Befehl »cupsctl WebInterface=yes« erfolgen." + +#, c-format +msgid "The which-jobs value \"%s\" is not supported." +msgstr "Der which-jobs Wert »%s« ist nicht unterstützt." + +msgid "There are too many subscriptions." +msgstr "Es gibt zu viele Subskriptionen." + +msgid "There was an unrecoverable USB error." +msgstr "Ein nicht zu behebender USB Fehler ist aufgetreten." + +msgid "Thermal Transfer Media" +msgstr "Thermotransferpapier" + +msgid "Too many active jobs." +msgstr "Zu viele aktive Druckaufträge." + +#, c-format +msgid "Too many job-sheets values (%d > 2)." +msgstr "Zu viele job-sheets Werte (%d > 2)." + +#, c-format +msgid "Too many printer-state-reasons values (%d > %d)." +msgstr "Zu viele printer-state-reasons Werte (%d > %d)." + +msgid "Transparency" +msgstr "Transparenz" + +msgid "Tray" +msgstr "Fach" + +msgid "Tray 1" +msgstr "Fach 1" + +msgid "Tray 2" +msgstr "Fach 2" + +msgid "Tray 3" +msgstr "Fach 3" + +msgid "Tray 4" +msgstr "Fach 4" + +msgid "Trust on first use is disabled." +msgstr "Vertrauen bei erster Benutzung gesperrt." + +msgid "URI Too Long" +msgstr "URI zu lang" + +msgid "URI too large" +msgstr "URI zu groß" + +msgid "US Fanfold" +msgstr "US Fanfold" + +msgid "US Ledger" +msgstr "US Ledger" + +msgid "US Legal" +msgstr "US Lang" + +msgid "US Legal Oversize" +msgstr "US Legal übergroß" + +msgid "US Letter" +msgstr "US Letter" + +msgid "US Letter Long Edge" +msgstr "US Letter lange Seite" + +msgid "US Letter Oversize" +msgstr "US Letter übergroß" + +msgid "US Letter Oversize Long Edge" +msgstr "US Letter übergroß, lange Seite" + +msgid "US Letter Small" +msgstr "US Letter klein" + +msgid "Unable to access cupsd.conf file" +msgstr "Kein Zugriff auf die Datei cupsd.conf" + +msgid "Unable to access help file." +msgstr "Kein Zugriff auf die Hilfe-Datei." + +msgid "Unable to add class" +msgstr "Klasse konnte nicht hinzugefügt werden:" + +msgid "Unable to add document to print job." +msgstr "Dem Druckauftrag kann kein Dokument hinzugefügt werden." + +#, c-format +msgid "Unable to add job for destination \"%s\"." +msgstr "Dem Ziel »%s« kann kein Auftrag hinzugefügt werden." + +msgid "Unable to add printer" +msgstr "Drucker konnte nicht hinzugefügt werden:" + +msgid "Unable to allocate memory for file types." +msgstr "Speicher für Dateitypen kann nicht belegt werden." + +msgid "Unable to allocate memory for page info" +msgstr "Speicher für Seiteninformation kann nicht belegt werden" + +msgid "Unable to allocate memory for pages array" +msgstr "Speicher für Seitenmatrix kann nicht belegt werden" + +msgid "Unable to allocate memory for printer" +msgstr "" + +msgid "Unable to cancel print job." +msgstr "Druckauftrag kann nicht abgebrochen werden." + +msgid "Unable to change printer" +msgstr "Drucker konnte nicht geändert werden" + +msgid "Unable to change printer-is-shared attribute" +msgstr "Attribut „printer-is-shared“ konnte nicht geändert werden" + +msgid "Unable to change server settings" +msgstr "Servereinstellungen konnten nicht geändert werden :" + +#, c-format +msgid "Unable to compile mimeMediaType regular expression: %s." +msgstr "" +"Der regulären Ausdruck %s für mimeMediaType kann nicht kompiliert werden." + +#, c-format +msgid "Unable to compile naturalLanguage regular expression: %s." +msgstr "" +"Der natualLanguage regulärer Ausdruck kann nicht kompiliert werden: %s." + +msgid "Unable to configure printer options." +msgstr "Druckeroptionen können nicht konfiguriert werden." + +msgid "Unable to connect to host." +msgstr "Verbindungsaufbau zum Host fehlgeschlagen." + +msgid "Unable to contact printer, queuing on next printer in class." +msgstr "" +"Drucker kann nicht kontaktiert werden, stelle in die nächste Warteschlange " +"der Klasse ein" + +#, c-format +msgid "Unable to copy PPD file - %s" +msgstr "PPD Datei %s kann nicht kopiert werden" + +msgid "Unable to copy PPD file." +msgstr "PPD Datei kann nicht kopiert werden" + +msgid "Unable to create credentials from array." +msgstr "Anmeldedaten aus dem Array können nicht erzeugt werden." + +msgid "Unable to create printer-uri" +msgstr "Drucker-URI kann nicht erzeugt werden" + +msgid "Unable to create printer." +msgstr "Drucker kann nicht erzeugt werden." + +msgid "Unable to create server credentials." +msgstr "Die Server-Anmeldedaten können nicht erzeugt werden." + +#, c-format +msgid "Unable to create spool directory \"%s\": %s" +msgstr "" + +msgid "Unable to create temporary file" +msgstr "Temporäre Datei konnte nicht erstellt werden" + +msgid "Unable to delete class" +msgstr "Die Klasse konnte nicht gelöscht werden" + +msgid "Unable to delete printer" +msgstr "Der Drucker konnte nicht gelöscht werden" + +msgid "Unable to do maintenance command" +msgstr "Wartungsbefehl konnte nicht ausgeführt werden" + +msgid "Unable to edit cupsd.conf files larger than 1MB" +msgstr "cupsd.conf Dateien grösser als 1MB können nicht bearbeitet werden" + +#, c-format +msgid "Unable to establish a secure connection to host (%d)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (certificate chain invalid)." +msgstr "Sichere Verbindung zu Host nicht möglich (Zertifikatskette ungültig)." + +msgid "" +"Unable to establish a secure connection to host (certificate not yet valid)." +msgstr "" +"Sichere Verbindung zu Host nicht möglich (Zertifikatskette noch nicht " +"gültig)." + +msgid "Unable to establish a secure connection to host (expired certificate)." +msgstr "Sichere Verbindung zu Host nicht möglich (Zertifikate abgelaufen)." + +msgid "Unable to establish a secure connection to host (host name mismatch)." +msgstr "Sichere Verbindung zu Host nicht möglich (Hostname passt nicht)." + +msgid "" +"Unable to establish a secure connection to host (peer dropped connection " +"before responding)." +msgstr "" +"Sichere Verbindung zu Host nicht möglich (Gegenstelle hat die Verbindung vor " +"einer Antwort beendet)." + +msgid "" +"Unable to establish a secure connection to host (self-signed certificate)." +msgstr "" +"Sichere Verbindung zu Host nicht möglich (Selbstsigniertes Zertifikat)." + +msgid "" +"Unable to establish a secure connection to host (untrusted certificate)." +msgstr "" +"Sichere Verbindung zu Host nicht möglich (Nicht vertrauenswürdiges " +"Zertifikat)." + +msgid "Unable to establish a secure connection to host." +msgstr "Sichere Verbindung zu Host nicht möglich." + +#, c-format +msgid "Unable to execute command \"%s\": %s" +msgstr "" + +msgid "Unable to find destination for job" +msgstr "Das Ziel für den Auftrag kann nicht gefunden werden" + +msgid "Unable to find printer." +msgstr "Der Drucker kann nicht gefunden werden" + +msgid "Unable to find server credentials." +msgstr "Die Server-Zugangsdaten konnten nicht gefunden werden." + +msgid "Unable to get backend exit status." +msgstr "Der Backend-Rückgabewert kann nicht ermittelt werden." + +msgid "Unable to get class list" +msgstr "Klassenliste konnte nicht ermittelt werden:" + +msgid "Unable to get class status" +msgstr "Klassenstatus konnte nicht ermittelt werden:" + +msgid "Unable to get list of printer drivers" +msgstr "Liste der Druckertreiber konnte nicht ermittel werden:" + +msgid "Unable to get printer attributes" +msgstr "Druckerattribute konnten nicht ermittelt werden:" + +msgid "Unable to get printer list" +msgstr "Druckerliste konnte nicht ermittelt werden:" + +msgid "Unable to get printer status" +msgstr "Druckerstatus konnte nicht ermittelt werden" + +msgid "Unable to get printer status." +msgstr "Druckerstatus konnte nicht ermittelt werden:" + +msgid "Unable to load help index." +msgstr "Hilfeindex kann nicht geladen werden." + +#, c-format +msgid "Unable to locate printer \"%s\"." +msgstr "Der Drucker »%s« kann nicht lokalisiert werden" + +msgid "Unable to locate printer." +msgstr "Der Drucker kann nicht lokalisiert werden" + +msgid "Unable to modify class" +msgstr "Klasse konnte nicht verändert werden:" + +msgid "Unable to modify printer" +msgstr "Drucker kann nicht verändert werden:" + +msgid "Unable to move job" +msgstr "Druckauftrag kann nicht bewegt werden" + +msgid "Unable to move jobs" +msgstr "Druckaufträge können nicht bewegt werden" + +msgid "Unable to open PPD file" +msgstr "PPD Datei kann nicht geöffnet werden" + +msgid "Unable to open cupsd.conf file:" +msgstr "Die Datei „cupsd.conf“ kann nicht geöffnet werden:" + +msgid "Unable to open device file" +msgstr "Die Gerätedatei kann nicht geöffnet werden" + +#, c-format +msgid "Unable to open document #%d in job #%d." +msgstr "Das Dokument #%d in Auftrag #%d kann nicht geöffnet werden." + +msgid "Unable to open help file." +msgstr "Die Hilfe-Datei kann nicht geöffnet werden" + +msgid "Unable to open print file" +msgstr "Die Druckdatei kann nicht geöffnet werden" + +msgid "Unable to open raster file" +msgstr "Die Rasterdatei kann nicht geöffnet werden" + +msgid "Unable to print test page" +msgstr "Die Testseite kann nicht gedruckt werden" + +msgid "Unable to read print data." +msgstr "Druckdaten können nicht gelesen werden." + +#, c-format +msgid "Unable to register \"%s.%s\": %d" +msgstr "" + +msgid "Unable to rename job document file." +msgstr "Auftragsdatei kann nicht umbenannt werden." + +msgid "Unable to resolve printer-uri." +msgstr "Drucker-URI kann nicht aufgelöst werden." + +msgid "Unable to see in file" +msgstr "In die Datei kann nicht gesehen werden" + +msgid "Unable to send command to printer driver" +msgstr "Befehl kann nicht zum Drucker gesendet werden" + +msgid "Unable to send data to printer." +msgstr "Kann Daten nicht zum Drucker senden." + +msgid "Unable to set options" +msgstr "Optionen konnten nicht festgelegt werden:" + +msgid "Unable to set server default" +msgstr "Standardeinstellungen für Server konnten nicht festgelegt werden:" + +msgid "Unable to start backend process." +msgstr "Backend-Prozess kann nicht gestartet werden." + +msgid "Unable to upload cupsd.conf file" +msgstr "Die Datei „cupsd.conf“ kann nicht hochgeladen werden:" + +msgid "Unable to use legacy USB class driver." +msgstr "Der alte USB-Klassentreiber kann nicht verwendet werden." + +msgid "Unable to write print data" +msgstr "Kann Druckdaten nicht schreiben" + +#, c-format +msgid "Unable to write uncompressed print data: %s" +msgstr "Unkomprimierte Druckdaten %s können nicht geschrieben werden." + +msgid "Unauthorized" +msgstr "Nicht berechtigt" + +msgid "Units" +msgstr "Einheiten" + +msgid "Unknown" +msgstr "Unbekannt" + +#, c-format +msgid "Unknown choice \"%s\" for option \"%s\"." +msgstr "Unbekannte Auswahl \"%s\" für Option \"%s\"." + +#, c-format +msgid "Unknown directive \"%s\" on line %d of \"%s\" ignored." +msgstr "" + +#, c-format +msgid "Unknown encryption option value: \"%s\"." +msgstr "Unbekannte Verschlüsselungsoption: »%s«." + +#, c-format +msgid "Unknown file order: \"%s\"." +msgstr "Unbekannte Dateireihenfolge: \"%s\"." + +#, c-format +msgid "Unknown format character: \"%c\"." +msgstr "Unbekanntes Formatzeichen: \"%c\"." + +msgid "Unknown hash algorithm." +msgstr "Unbekannter Hashalgorithmus." + +msgid "Unknown media size name." +msgstr "Unbekannter Name der Mediengröße." + +#, c-format +msgid "Unknown option \"%s\" with value \"%s\"." +msgstr "Unbekannte Option \"%s\" mit Wert \"%s\"." + +#, c-format +msgid "Unknown option \"%s\"." +msgstr "Unbekannte Option \"%s\"." + +#, c-format +msgid "Unknown print mode: \"%s\"." +msgstr "Unbekannter Druckmodus: \"%s\"." + +#, c-format +msgid "Unknown printer-error-policy \"%s\"." +msgstr "Unbekannte printer-error-policy \"%s\"." + +#, c-format +msgid "Unknown printer-op-policy \"%s\"." +msgstr "Unbekannte printer-op-policy \"%s\"." + +msgid "Unknown request method." +msgstr "Unbekannte Anfragemethode." + +msgid "Unknown request version." +msgstr "Unbekannte Anfrageversion" + +msgid "Unknown scheme in URI" +msgstr "Unbekanntes Schema in URI" + +msgid "Unknown service name." +msgstr "Unbekannter Dienstname." + +#, c-format +msgid "Unknown version option value: \"%s\"." +msgstr "Unbekannter Versionsoption: \"%s\"." + +#, c-format +msgid "Unsupported 'compression' value \"%s\"." +msgstr "Nicht unterstützter Kompressionswert \"%s\"." + +#, c-format +msgid "Unsupported 'document-format' value \"%s\"." +msgstr "Nicht unterstützter Wert des 'document-format' \"%s\"." + +msgid "Unsupported 'job-hold-until' value." +msgstr "" + +msgid "Unsupported 'job-name' value." +msgstr "Nicht unterstützter 'job-name' Wert." + +#, c-format +msgid "Unsupported character set \"%s\"." +msgstr "Nicht unterstützter Zeichensatz \"%s\"." + +#, c-format +msgid "Unsupported compression \"%s\"." +msgstr "Nicht unterstützte Kompression \"%s\"." + +#, c-format +msgid "Unsupported document-format \"%s\"." +msgstr "Nicht unterstütztes Dokumentenformat \"%s\"." + +#, c-format +msgid "Unsupported document-format \"%s/%s\"." +msgstr "Nicht unterstütztes Dokumentenformat \"%s/%s\"." + +#, c-format +msgid "Unsupported format \"%s\"." +msgstr "Nicht unterstütztes Format \"%s\"." + +msgid "Unsupported margins." +msgstr "Nicht unterstützte Ränder." + +msgid "Unsupported media value." +msgstr "Nicht unterstützter Medienwert." + +#, c-format +msgid "Unsupported number-up value %d, using number-up=1." +msgstr "Nicht unterstützter number-up Wert %d, verwende number-up=1." + +#, c-format +msgid "Unsupported number-up-layout value %s, using number-up-layout=lrtb." +msgstr "" +"Nicht unterstützter number-up-layout Wert %s, verwende number-up-layout=lrtb." + +#, c-format +msgid "Unsupported page-border value %s, using page-border=none." +msgstr "" +"Nicht unterstützter Wert für page-border %s, verwende paqe-border=none." + +msgid "Unsupported raster data." +msgstr "Nicht unterstützte Rasterdaten." + +msgid "Unsupported value type" +msgstr "Wertetyp nicht unterstützt" + +msgid "Upgrade Required" +msgstr "Aktualisierung erforderlich" + +#, c-format +msgid "Usage: %s [options] destination(s)" +msgstr "" + +#, c-format +msgid "Usage: %s job-id user title copies options [file]" +msgstr "Aufruf: %s Auftrags-ID Benutzer Titel Kopien Optionen [Datei]" + +msgid "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" +msgstr "" + +msgid "Usage: cupsctl [options] [param=value ... paramN=valueN]" +msgstr "Aufruf: cupsctl [Optionen] [Parameter=Wert ... ParameterN=WertN]" + +msgid "Usage: cupsd [options]" +msgstr "Aufruf: cupsd [Optionen]" + +msgid "Usage: cupsfilter [ options ] [ -- ] filename" +msgstr "Aufruf: cupsfilter [ Optionen ] [ -- ] Dateiname" + +msgid "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" +msgstr "" + +msgid "Usage: ippeveprinter [options] \"name\"" +msgstr "" + +msgid "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" +msgstr "" + +msgid "Usage: ipptool [options] URI filename [ ... filenameN ]" +msgstr "Aufruf: ipptool [Optionen] URI Dateiname [ ... DateinameN ]" + +msgid "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" +msgstr "" + +msgid "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" +msgstr "" + +msgid "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" +msgstr "" + +msgid "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" +msgstr "" + +msgid "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" +msgstr "" + +msgid "Usage: lpq [options] [+interval]" +msgstr "" + +msgid "Usage: lpr [options] [file(s)]" +msgstr "" + +msgid "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" +msgstr "" + +msgid "Usage: lpstat [options]" +msgstr "" + +msgid "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" +msgstr "Verwendung: ppdc [Optionen] Dateiname.drv [ ... DateinameN.drv ]" + +msgid "Usage: ppdhtml [options] filename.drv >filename.html" +msgstr "Verwendung: ppdhtml [Optionen] Dateiname.ppd Dateiname.html" + +msgid "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "Verwendung: ppdi [Optionen] Dateiname.ppd [ ... DateinameN.ppd ]" + +msgid "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "Verwendung: ppdmerge [Optionen] Dateiname.ppd [ ... DateinameN.ppd ]" + +msgid "" +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" +msgstr "" +"Aufruf: ppdpo [Optionen] -o Dateiname.po Dateiname.drv [ ... DateinameN.drv ]" + +msgid "Usage: snmp [host-or-ip-address]" +msgstr "Verwendung: snmp [Host-oder-IP-Adresse]" + +#, c-format +msgid "Using spool directory \"%s\"." +msgstr "" + +msgid "Value uses indefinite length" +msgstr "Wert hat unbestimmte Länge" + +msgid "VarBind uses indefinite length" +msgstr "VarBind hat unbestimmte Länge" + +msgid "Version uses indefinite length" +msgstr "Version hat unbestimmte Länge" + +msgid "Waiting for job to complete." +msgstr "Warte auf Auftragsabschluss." + +msgid "Waiting for printer to become available." +msgstr "Warte darauf dass der Drucker verfügbar wird." + +msgid "Waiting for printer to finish." +msgstr "Warte auf Abschluss." + +msgid "Warning: This program will be removed in a future version of CUPS." +msgstr "" + +msgid "Web Interface is Disabled" +msgstr "Web-Schnittstelle ist deaktiviert" + +msgid "Yes" +msgstr "Ja" + +msgid "You cannot access this page." +msgstr "" + +#, c-format +msgid "You must access this page using the URL https://%s:%d%s." +msgstr "Auf diese Seite greifen Sie zu über die URL https://%s:%d%s." + +msgid "Your account does not have the necessary privileges." +msgstr "" + +msgid "ZPL Label Printer" +msgstr "ZPL-Etikettendrucker" + +msgid "Zebra" +msgstr "Zebra" + +msgid "aborted" +msgstr "abgebrochen" + +#. TRANSLATORS: Accuracy Units +msgid "accuracy-units" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "accuracy-units.mm" +msgstr "" + +#. TRANSLATORS: Nanometers +msgid "accuracy-units.nm" +msgstr "" + +#. TRANSLATORS: Micrometers +msgid "accuracy-units.um" +msgstr "" + +#. TRANSLATORS: Bale Output +msgid "baling" +msgstr "" + +#. TRANSLATORS: Bale Using +msgid "baling-type" +msgstr "" + +#. TRANSLATORS: Band +msgid "baling-type.band" +msgstr "" + +#. TRANSLATORS: Shrink Wrap +msgid "baling-type.shrink-wrap" +msgstr "" + +#. TRANSLATORS: Wrap +msgid "baling-type.wrap" +msgstr "" + +#. TRANSLATORS: Bale After +msgid "baling-when" +msgstr "" + +#. TRANSLATORS: Job +msgid "baling-when.after-job" +msgstr "" + +#. TRANSLATORS: Sets +msgid "baling-when.after-sets" +msgstr "" + +#. TRANSLATORS: Bind Output +msgid "binding" +msgstr "" + +#. TRANSLATORS: Bind Edge +msgid "binding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "binding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "binding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "binding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "binding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Binder Type +msgid "binding-type" +msgstr "" + +#. TRANSLATORS: Adhesive +msgid "binding-type.adhesive" +msgstr "" + +#. TRANSLATORS: Comb +msgid "binding-type.comb" +msgstr "" + +#. TRANSLATORS: Flat +msgid "binding-type.flat" +msgstr "" + +#. TRANSLATORS: Padding +msgid "binding-type.padding" +msgstr "" + +#. TRANSLATORS: Perfect +msgid "binding-type.perfect" +msgstr "" + +#. TRANSLATORS: Spiral +msgid "binding-type.spiral" +msgstr "" + +#. TRANSLATORS: Tape +msgid "binding-type.tape" +msgstr "" + +#. TRANSLATORS: Velo +msgid "binding-type.velo" +msgstr "" + +msgid "canceled" +msgstr "abgebrochen" + +#. TRANSLATORS: Chamber Humidity +msgid "chamber-humidity" +msgstr "" + +#. TRANSLATORS: Chamber Temperature +msgid "chamber-temperature" +msgstr "" + +#. TRANSLATORS: Print Job Cost +msgid "charge-info-message" +msgstr "" + +#. TRANSLATORS: Coat Sheets +msgid "coating" +msgstr "" + +#. TRANSLATORS: Add Coating To +msgid "coating-sides" +msgstr "" + +#. TRANSLATORS: Back +msgid "coating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "coating-sides.both" +msgstr "" + +#. TRANSLATORS: Front +msgid "coating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Coating +msgid "coating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "coating-type.archival" +msgstr "" + +#. TRANSLATORS: Archival Glossy +msgid "coating-type.archival-glossy" +msgstr "" + +#. TRANSLATORS: Archival Matte +msgid "coating-type.archival-matte" +msgstr "" + +#. TRANSLATORS: Archival Semi Gloss +msgid "coating-type.archival-semi-gloss" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "coating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "coating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "coating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "coating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Silicone +msgid "coating-type.silicone" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "coating-type.translucent" +msgstr "" + +msgid "completed" +msgstr "abgeschlossen" + +#. TRANSLATORS: Print Confirmation Sheet +msgid "confirmation-sheet-print" +msgstr "" + +#. TRANSLATORS: Copies +msgid "copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "cover-front" +msgstr "" + +#. TRANSLATORS: Cover Sheet Info +msgid "cover-sheet-info" +msgstr "" + +#. TRANSLATORS: Date Time +msgid "cover-sheet-info-supported.date-time" +msgstr "" + +#. TRANSLATORS: From Name +msgid "cover-sheet-info-supported.from-name" +msgstr "" + +#. TRANSLATORS: Logo +msgid "cover-sheet-info-supported.logo" +msgstr "" + +#. TRANSLATORS: Message +msgid "cover-sheet-info-supported.message" +msgstr "" + +#. TRANSLATORS: Organization +msgid "cover-sheet-info-supported.organization" +msgstr "" + +#. TRANSLATORS: Subject +msgid "cover-sheet-info-supported.subject" +msgstr "" + +#. TRANSLATORS: To Name +msgid "cover-sheet-info-supported.to-name" +msgstr "" + +#. TRANSLATORS: Printed Cover +msgid "cover-type" +msgstr "" + +#. TRANSLATORS: No Cover +msgid "cover-type.no-cover" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "cover-type.print-back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "cover-type.print-both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "cover-type.print-front" +msgstr "" + +#. TRANSLATORS: None +msgid "cover-type.print-none" +msgstr "" + +#. TRANSLATORS: Cover Output +msgid "covering" +msgstr "" + +#. TRANSLATORS: Add Cover +msgid "covering-name" +msgstr "" + +#. TRANSLATORS: Plain +msgid "covering-name.plain" +msgstr "" + +#. TRANSLATORS: Pre-cut +msgid "covering-name.pre-cut" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "covering-name.pre-printed" +msgstr "" + +msgid "cups-deviced failed to execute." +msgstr "„cups-deviced“ konnte nicht ausgeführt werden." + +msgid "cups-driverd failed to execute." +msgstr "„cups-driverd“ konnte nicht ausgeführt werden." + +#, c-format +msgid "cupsctl: Cannot set %s directly." +msgstr "" + +#, c-format +msgid "cupsctl: Unable to connect to server: %s" +msgstr "cupsctl: Kann nicht mit dem Server %s verbinden" + +#, c-format +msgid "cupsctl: Unknown option \"%s\"" +msgstr "cupsctl: Unbekannte Option »%s«" + +#, c-format +msgid "cupsctl: Unknown option \"-%c\"" +msgstr "cupsctl: Unbekannte Option \"-%c\"" + +msgid "cupsd: Expected config filename after \"-c\" option." +msgstr "cupsd: Konfigurations-Dateiname nach der »-c« Option erwartet." + +msgid "cupsd: Expected cups-files.conf filename after \"-s\" option." +msgstr "cupsd: Dateiname cups-files.conf nach der »-s« Option erwartet." + +msgid "cupsd: On-demand support not compiled in, running in normal mode." +msgstr "" +"cupsd: Start auf Anforderung nicht einkompiliert, starte im normalen Modus." + +msgid "cupsd: Relative cups-files.conf filename not allowed." +msgstr "cupsd: Relativer Dateiname für cups-files.conf nicht zulässig." + +msgid "cupsd: Unable to get current directory." +msgstr "cupsd: Aktuelles Verzeichnis kann nicht ermittelt werden." + +msgid "cupsd: Unable to get path to cups-files.conf file." +msgstr "cupsd: Pfad zur Datei cups-files.conf kann nicht ermittelt werden." + +#, c-format +msgid "cupsd: Unknown argument \"%s\" - aborting." +msgstr "cupsd: Unbekanntes Argument \"%s\" - Abbruch." + +#, c-format +msgid "cupsd: Unknown option \"%c\" - aborting." +msgstr "cupsd: Unbekannte Option \"%c\" - Abbruch." + +#, c-format +msgid "cupsfilter: Invalid document number %d." +msgstr "cupsfilter: ungültige Dokumentennummer %d." + +#, c-format +msgid "cupsfilter: Invalid job ID %d." +msgstr "cupsfilter: ungültige Auftrags-ID %d." + +msgid "cupsfilter: Only one filename can be specified." +msgstr "cupsfilter: Es kann nur ein Dateiname angegeben werden." + +#, c-format +msgid "cupsfilter: Unable to get job file - %s" +msgstr "cupsfilter: Auftragsdatei nicht verfügbar - %s" + +msgid "cupstestppd: The -q option is incompatible with the -v option." +msgstr "cupstestppd: Die -q Option ist nicht vereinbar mit der -v Option." + +msgid "cupstestppd: The -v option is incompatible with the -q option." +msgstr "cupstestppd: Die -v Option ist nicht vereinbar mit der -q Option." + +#. TRANSLATORS: Detailed Status Message +msgid "detailed-status-message" +msgstr "" + +#, c-format +msgid "device for %s/%s: %s" +msgstr "Gerät für %s/%s: %s" + +#, c-format +msgid "device for %s: %s" +msgstr "Gerät für %s: %s" + +#. TRANSLATORS: Copies +msgid "document-copies" +msgstr "" + +#. TRANSLATORS: Document Privacy Attributes +msgid "document-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Document Description +msgid "document-privacy-attributes.document-description" +msgstr "" + +#. TRANSLATORS: Document Template +msgid "document-privacy-attributes.document-template" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Document Privacy Scope +msgid "document-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "document-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Document State +msgid "document-state" +msgstr "" + +#. TRANSLATORS: Detailed Document State +msgid "document-state-reasons" +msgstr "" + +#. TRANSLATORS: Aborted By System +msgid "document-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Canceled At Device +msgid "document-state-reasons.canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled By Operator +msgid "document-state-reasons.canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled By User +msgid "document-state-reasons.canceled-by-user" +msgstr "" + +#. TRANSLATORS: Completed Successfully +msgid "document-state-reasons.completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed With Errors +msgid "document-state-reasons.completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed With Warnings +msgid "document-state-reasons.completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Compression Error +msgid "document-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Data Insufficient +msgid "document-state-reasons.data-insufficient" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "document-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "document-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Digital Signature Wait +msgid "document-state-reasons.digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "document-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "document-state-reasons.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "document-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "document-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "document-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "document-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "document-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "document-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "document-state-reasons.incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "document-state-reasons.interpreting" +msgstr "" + +#. TRANSLATORS: None +msgid "document-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "document-state-reasons.outgoing" +msgstr "" + +#. TRANSLATORS: Printing +msgid "document-state-reasons.printing" +msgstr "" + +#. TRANSLATORS: Processing To Stop Point +msgid "document-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Queued +msgid "document-state-reasons.queued" +msgstr "" + +#. TRANSLATORS: Queued For Marker +msgid "document-state-reasons.queued-for-marker" +msgstr "" + +#. TRANSLATORS: Queued In Device +msgid "document-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "document-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "document-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "document-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "document-state-reasons.transforming" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "document-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "document-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "document-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "document-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "document-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "document-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "document-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "document-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "document-state.9" +msgstr "" + +msgid "error-index uses indefinite length" +msgstr "Fehlerindex hat unbestimmte Länge" + +msgid "error-status uses indefinite length" +msgstr "Fehlerstatus hat unbestimmte Länge" + +msgid "" +"expression --and expression\n" +" Logical AND" +msgstr "" + +msgid "" +"expression --or expression\n" +" Logical OR" +msgstr "" + +msgid "expression expression Logical AND" +msgstr "" + +#. TRANSLATORS: Feed Orientation +msgid "feed-orientation" +msgstr "" + +#. TRANSLATORS: Long Edge First +msgid "feed-orientation.long-edge-first" +msgstr "" + +#. TRANSLATORS: Short Edge First +msgid "feed-orientation.short-edge-first" +msgstr "" + +#. TRANSLATORS: Fetch Status Code +msgid "fetch-status-code" +msgstr "" + +#. TRANSLATORS: Finishing Template +msgid "finishing-template" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishing-template.bale" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishing-template.bind" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishing-template.bind-bottom" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishing-template.bind-left" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishing-template.bind-right" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishing-template.bind-top" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishing-template.booklet-maker" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishing-template.coat" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishing-template.cover" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishing-template.edge-stitch" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishing-template.edge-stitch-bottom" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishing-template.edge-stitch-left" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishing-template.edge-stitch-right" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishing-template.edge-stitch-top" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishing-template.fold" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishing-template.fold-accordion" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishing-template.fold-double-gate" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishing-template.fold-engineering-z" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishing-template.fold-gate" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishing-template.fold-half" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishing-template.fold-half-z" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishing-template.fold-left-gate" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishing-template.fold-letter" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishing-template.fold-parallel" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishing-template.fold-poster" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishing-template.fold-right-gate" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishing-template.fold-z" +msgstr "" + +#. TRANSLATORS: JDF F10-1 +msgid "finishing-template.jdf-f10-1" +msgstr "" + +#. TRANSLATORS: JDF F10-2 +msgid "finishing-template.jdf-f10-2" +msgstr "" + +#. TRANSLATORS: JDF F10-3 +msgid "finishing-template.jdf-f10-3" +msgstr "" + +#. TRANSLATORS: JDF F12-1 +msgid "finishing-template.jdf-f12-1" +msgstr "" + +#. TRANSLATORS: JDF F12-10 +msgid "finishing-template.jdf-f12-10" +msgstr "" + +#. TRANSLATORS: JDF F12-11 +msgid "finishing-template.jdf-f12-11" +msgstr "" + +#. TRANSLATORS: JDF F12-12 +msgid "finishing-template.jdf-f12-12" +msgstr "" + +#. TRANSLATORS: JDF F12-13 +msgid "finishing-template.jdf-f12-13" +msgstr "" + +#. TRANSLATORS: JDF F12-14 +msgid "finishing-template.jdf-f12-14" +msgstr "" + +#. TRANSLATORS: JDF F12-2 +msgid "finishing-template.jdf-f12-2" +msgstr "" + +#. TRANSLATORS: JDF F12-3 +msgid "finishing-template.jdf-f12-3" +msgstr "" + +#. TRANSLATORS: JDF F12-4 +msgid "finishing-template.jdf-f12-4" +msgstr "" + +#. TRANSLATORS: JDF F12-5 +msgid "finishing-template.jdf-f12-5" +msgstr "" + +#. TRANSLATORS: JDF F12-6 +msgid "finishing-template.jdf-f12-6" +msgstr "" + +#. TRANSLATORS: JDF F12-7 +msgid "finishing-template.jdf-f12-7" +msgstr "" + +#. TRANSLATORS: JDF F12-8 +msgid "finishing-template.jdf-f12-8" +msgstr "" + +#. TRANSLATORS: JDF F12-9 +msgid "finishing-template.jdf-f12-9" +msgstr "" + +#. TRANSLATORS: JDF F14-1 +msgid "finishing-template.jdf-f14-1" +msgstr "" + +#. TRANSLATORS: JDF F16-1 +msgid "finishing-template.jdf-f16-1" +msgstr "" + +#. TRANSLATORS: JDF F16-10 +msgid "finishing-template.jdf-f16-10" +msgstr "" + +#. TRANSLATORS: JDF F16-11 +msgid "finishing-template.jdf-f16-11" +msgstr "" + +#. TRANSLATORS: JDF F16-12 +msgid "finishing-template.jdf-f16-12" +msgstr "" + +#. TRANSLATORS: JDF F16-13 +msgid "finishing-template.jdf-f16-13" +msgstr "" + +#. TRANSLATORS: JDF F16-14 +msgid "finishing-template.jdf-f16-14" +msgstr "" + +#. TRANSLATORS: JDF F16-2 +msgid "finishing-template.jdf-f16-2" +msgstr "" + +#. TRANSLATORS: JDF F16-3 +msgid "finishing-template.jdf-f16-3" +msgstr "" + +#. TRANSLATORS: JDF F16-4 +msgid "finishing-template.jdf-f16-4" +msgstr "" + +#. TRANSLATORS: JDF F16-5 +msgid "finishing-template.jdf-f16-5" +msgstr "" + +#. TRANSLATORS: JDF F16-6 +msgid "finishing-template.jdf-f16-6" +msgstr "" + +#. TRANSLATORS: JDF F16-7 +msgid "finishing-template.jdf-f16-7" +msgstr "" + +#. TRANSLATORS: JDF F16-8 +msgid "finishing-template.jdf-f16-8" +msgstr "" + +#. TRANSLATORS: JDF F16-9 +msgid "finishing-template.jdf-f16-9" +msgstr "" + +#. TRANSLATORS: JDF F18-1 +msgid "finishing-template.jdf-f18-1" +msgstr "" + +#. TRANSLATORS: JDF F18-2 +msgid "finishing-template.jdf-f18-2" +msgstr "" + +#. TRANSLATORS: JDF F18-3 +msgid "finishing-template.jdf-f18-3" +msgstr "" + +#. TRANSLATORS: JDF F18-4 +msgid "finishing-template.jdf-f18-4" +msgstr "" + +#. TRANSLATORS: JDF F18-5 +msgid "finishing-template.jdf-f18-5" +msgstr "" + +#. TRANSLATORS: JDF F18-6 +msgid "finishing-template.jdf-f18-6" +msgstr "" + +#. TRANSLATORS: JDF F18-7 +msgid "finishing-template.jdf-f18-7" +msgstr "" + +#. TRANSLATORS: JDF F18-8 +msgid "finishing-template.jdf-f18-8" +msgstr "" + +#. TRANSLATORS: JDF F18-9 +msgid "finishing-template.jdf-f18-9" +msgstr "" + +#. TRANSLATORS: JDF F2-1 +msgid "finishing-template.jdf-f2-1" +msgstr "" + +#. TRANSLATORS: JDF F20-1 +msgid "finishing-template.jdf-f20-1" +msgstr "" + +#. TRANSLATORS: JDF F20-2 +msgid "finishing-template.jdf-f20-2" +msgstr "" + +#. TRANSLATORS: JDF F24-1 +msgid "finishing-template.jdf-f24-1" +msgstr "" + +#. TRANSLATORS: JDF F24-10 +msgid "finishing-template.jdf-f24-10" +msgstr "" + +#. TRANSLATORS: JDF F24-11 +msgid "finishing-template.jdf-f24-11" +msgstr "" + +#. TRANSLATORS: JDF F24-2 +msgid "finishing-template.jdf-f24-2" +msgstr "" + +#. TRANSLATORS: JDF F24-3 +msgid "finishing-template.jdf-f24-3" +msgstr "" + +#. TRANSLATORS: JDF F24-4 +msgid "finishing-template.jdf-f24-4" +msgstr "" + +#. TRANSLATORS: JDF F24-5 +msgid "finishing-template.jdf-f24-5" +msgstr "" + +#. TRANSLATORS: JDF F24-6 +msgid "finishing-template.jdf-f24-6" +msgstr "" + +#. TRANSLATORS: JDF F24-7 +msgid "finishing-template.jdf-f24-7" +msgstr "" + +#. TRANSLATORS: JDF F24-8 +msgid "finishing-template.jdf-f24-8" +msgstr "" + +#. TRANSLATORS: JDF F24-9 +msgid "finishing-template.jdf-f24-9" +msgstr "" + +#. TRANSLATORS: JDF F28-1 +msgid "finishing-template.jdf-f28-1" +msgstr "" + +#. TRANSLATORS: JDF F32-1 +msgid "finishing-template.jdf-f32-1" +msgstr "" + +#. TRANSLATORS: JDF F32-2 +msgid "finishing-template.jdf-f32-2" +msgstr "" + +#. TRANSLATORS: JDF F32-3 +msgid "finishing-template.jdf-f32-3" +msgstr "" + +#. TRANSLATORS: JDF F32-4 +msgid "finishing-template.jdf-f32-4" +msgstr "" + +#. TRANSLATORS: JDF F32-5 +msgid "finishing-template.jdf-f32-5" +msgstr "" + +#. TRANSLATORS: JDF F32-6 +msgid "finishing-template.jdf-f32-6" +msgstr "" + +#. TRANSLATORS: JDF F32-7 +msgid "finishing-template.jdf-f32-7" +msgstr "" + +#. TRANSLATORS: JDF F32-8 +msgid "finishing-template.jdf-f32-8" +msgstr "" + +#. TRANSLATORS: JDF F32-9 +msgid "finishing-template.jdf-f32-9" +msgstr "" + +#. TRANSLATORS: JDF F36-1 +msgid "finishing-template.jdf-f36-1" +msgstr "" + +#. TRANSLATORS: JDF F36-2 +msgid "finishing-template.jdf-f36-2" +msgstr "" + +#. TRANSLATORS: JDF F4-1 +msgid "finishing-template.jdf-f4-1" +msgstr "" + +#. TRANSLATORS: JDF F4-2 +msgid "finishing-template.jdf-f4-2" +msgstr "" + +#. TRANSLATORS: JDF F40-1 +msgid "finishing-template.jdf-f40-1" +msgstr "" + +#. TRANSLATORS: JDF F48-1 +msgid "finishing-template.jdf-f48-1" +msgstr "" + +#. TRANSLATORS: JDF F48-2 +msgid "finishing-template.jdf-f48-2" +msgstr "" + +#. TRANSLATORS: JDF F6-1 +msgid "finishing-template.jdf-f6-1" +msgstr "" + +#. TRANSLATORS: JDF F6-2 +msgid "finishing-template.jdf-f6-2" +msgstr "" + +#. TRANSLATORS: JDF F6-3 +msgid "finishing-template.jdf-f6-3" +msgstr "" + +#. TRANSLATORS: JDF F6-4 +msgid "finishing-template.jdf-f6-4" +msgstr "" + +#. TRANSLATORS: JDF F6-5 +msgid "finishing-template.jdf-f6-5" +msgstr "" + +#. TRANSLATORS: JDF F6-6 +msgid "finishing-template.jdf-f6-6" +msgstr "" + +#. TRANSLATORS: JDF F6-7 +msgid "finishing-template.jdf-f6-7" +msgstr "" + +#. TRANSLATORS: JDF F6-8 +msgid "finishing-template.jdf-f6-8" +msgstr "" + +#. TRANSLATORS: JDF F64-1 +msgid "finishing-template.jdf-f64-1" +msgstr "" + +#. TRANSLATORS: JDF F64-2 +msgid "finishing-template.jdf-f64-2" +msgstr "" + +#. TRANSLATORS: JDF F8-1 +msgid "finishing-template.jdf-f8-1" +msgstr "" + +#. TRANSLATORS: JDF F8-2 +msgid "finishing-template.jdf-f8-2" +msgstr "" + +#. TRANSLATORS: JDF F8-3 +msgid "finishing-template.jdf-f8-3" +msgstr "" + +#. TRANSLATORS: JDF F8-4 +msgid "finishing-template.jdf-f8-4" +msgstr "" + +#. TRANSLATORS: JDF F8-5 +msgid "finishing-template.jdf-f8-5" +msgstr "" + +#. TRANSLATORS: JDF F8-6 +msgid "finishing-template.jdf-f8-6" +msgstr "" + +#. TRANSLATORS: JDF F8-7 +msgid "finishing-template.jdf-f8-7" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishing-template.jog-offset" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishing-template.laminate" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishing-template.punch" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishing-template.punch-bottom-left" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishing-template.punch-bottom-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishing-template.punch-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishing-template.punch-dual-left" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishing-template.punch-dual-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishing-template.punch-dual-top" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishing-template.punch-multiple-bottom" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishing-template.punch-multiple-left" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishing-template.punch-multiple-right" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishing-template.punch-multiple-top" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishing-template.punch-quad-bottom" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishing-template.punch-quad-left" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishing-template.punch-quad-right" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishing-template.punch-quad-top" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishing-template.punch-top-left" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishing-template.punch-top-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishing-template.punch-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishing-template.punch-triple-left" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishing-template.punch-triple-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishing-template.punch-triple-top" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishing-template.saddle-stitch" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishing-template.staple" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishing-template.staple-bottom-left" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishing-template.staple-bottom-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishing-template.staple-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishing-template.staple-dual-left" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishing-template.staple-dual-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishing-template.staple-dual-top" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishing-template.staple-top-left" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishing-template.staple-top-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishing-template.staple-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishing-template.staple-triple-left" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishing-template.staple-triple-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishing-template.staple-triple-top" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishing-template.trim" +msgstr "" + +#. TRANSLATORS: Trim After Every Set +msgid "finishing-template.trim-after-copies" +msgstr "" + +#. TRANSLATORS: Trim After Every Document +msgid "finishing-template.trim-after-documents" +msgstr "" + +#. TRANSLATORS: Trim After Job +msgid "finishing-template.trim-after-job" +msgstr "" + +#. TRANSLATORS: Trim After Every Page +msgid "finishing-template.trim-after-pages" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings-col" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishings.10" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishings.100" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishings.101" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishings.11" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishings.12" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishings.13" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishings.14" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishings.15" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishings.16" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishings.20" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishings.21" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishings.22" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishings.23" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishings.24" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishings.25" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishings.26" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishings.27" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishings.28" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishings.29" +msgstr "" + +#. TRANSLATORS: None +msgid "finishings.3" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishings.30" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishings.31" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishings.32" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishings.33" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishings.34" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishings.35" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishings.4" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishings.5" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishings.50" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishings.51" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishings.52" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishings.53" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishings.6" +msgstr "" + +#. TRANSLATORS: Trim Pages +msgid "finishings.60" +msgstr "" + +#. TRANSLATORS: Trim Documents +msgid "finishings.61" +msgstr "" + +#. TRANSLATORS: Trim Copies +msgid "finishings.62" +msgstr "" + +#. TRANSLATORS: Trim Job +msgid "finishings.63" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishings.7" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishings.70" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishings.71" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishings.72" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishings.73" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishings.74" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishings.75" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishings.76" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishings.77" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishings.78" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishings.79" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishings.8" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishings.80" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishings.81" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishings.82" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishings.83" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishings.84" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishings.85" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishings.86" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishings.87" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishings.88" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishings.89" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishings.9" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishings.90" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishings.91" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishings.92" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishings.93" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishings.94" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishings.95" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishings.96" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishings.97" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishings.98" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishings.99" +msgstr "" + +#. TRANSLATORS: Fold +msgid "folding" +msgstr "" + +#. TRANSLATORS: Fold Direction +msgid "folding-direction" +msgstr "" + +#. TRANSLATORS: Inward +msgid "folding-direction.inward" +msgstr "" + +#. TRANSLATORS: Outward +msgid "folding-direction.outward" +msgstr "" + +#. TRANSLATORS: Fold Position +msgid "folding-offset" +msgstr "" + +#. TRANSLATORS: Fold Edge +msgid "folding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "folding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "folding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "folding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "folding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Font Name +msgid "font-name-requested" +msgstr "" + +#. TRANSLATORS: Font Size +msgid "font-size-requested" +msgstr "" + +#. TRANSLATORS: Force Front Side +msgid "force-front-side" +msgstr "" + +#. TRANSLATORS: From Name +msgid "from-name" +msgstr "" + +msgid "held" +msgstr "gehalten" + +msgid "help\t\tGet help on commands." +msgstr "" + +msgid "idle" +msgstr "inaktiv" + +#. TRANSLATORS: Imposition Template +msgid "imposition-template" +msgstr "" + +#. TRANSLATORS: None +msgid "imposition-template.none" +msgstr "" + +#. TRANSLATORS: Signature +msgid "imposition-template.signature" +msgstr "" + +#. TRANSLATORS: Insert Page Number +msgid "insert-after-page-number" +msgstr "" + +#. TRANSLATORS: Insert Count +msgid "insert-count" +msgstr "" + +#. TRANSLATORS: Insert Sheet +msgid "insert-sheet" +msgstr "" + +#, c-format +msgid "ippeveprinter: Unable to open \"%s\": %s on line %d." +msgstr "" + +#, c-format +msgid "ippfind: Bad regular expression: %s" +msgstr "ippfind: falscher regulärer Ausdruck: %s" + +msgid "ippfind: Cannot use --and after --or." +msgstr "ippfind: --and kann nicht zusammen mit --or benutzt werden." + +#, c-format +msgid "ippfind: Expected key name after %s." +msgstr "ippfind: Erwarte Schlüsselname nach %s." + +#, c-format +msgid "ippfind: Expected port range after %s." +msgstr "ippfind: Erwarte Portbereich nach %s." + +#, c-format +msgid "ippfind: Expected program after %s." +msgstr "ippfind: Erwarte Programm nach %s." + +#, c-format +msgid "ippfind: Expected semi-colon after %s." +msgstr "ippfind: Erwarte Semikolon nach %s." + +msgid "ippfind: Missing close brace in substitution." +msgstr "" + +msgid "ippfind: Missing close parenthesis." +msgstr "ippfind: Fehlende Schlussklammer." + +msgid "ippfind: Missing expression before \"--and\"." +msgstr "ippfind: Fehlender Ausdruck vor \"--and\"." + +msgid "ippfind: Missing expression before \"--or\"." +msgstr "ippfind: Fehlender Ausdruck vor \"--or\"." + +#, c-format +msgid "ippfind: Missing key name after %s." +msgstr "" + +#, c-format +msgid "ippfind: Missing name after %s." +msgstr "" + +msgid "ippfind: Missing open parenthesis." +msgstr "" + +#, c-format +msgid "ippfind: Missing program after %s." +msgstr "" + +#, c-format +msgid "ippfind: Missing regular expression after %s." +msgstr "" + +#, c-format +msgid "ippfind: Missing semi-colon after %s." +msgstr "" + +msgid "ippfind: Out of memory." +msgstr "ippfind: zu wenig Speicher." + +msgid "ippfind: Too many parenthesis." +msgstr "ipp find: zu viele Klammern." + +#, c-format +msgid "ippfind: Unable to browse or resolve: %s" +msgstr "ippfind: Auflösen oder Browsen nicht möglich: %s" + +#, c-format +msgid "ippfind: Unable to execute \"%s\": %s" +msgstr "" + +#, c-format +msgid "ippfind: Unable to use Bonjour: %s" +msgstr "" + +#, c-format +msgid "ippfind: Unknown variable \"{%s}\"." +msgstr "" + +msgid "" +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", " +"and \"-X\"." +msgstr "" + +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." +msgstr "" + +#, c-format +msgid "ipptool: Bad URI \"%s\"." +msgstr "" + +msgid "ipptool: Invalid seconds for \"-i\"." +msgstr "" + +msgid "ipptool: May only specify a single URI." +msgstr "" + +msgid "ipptool: Missing count for \"-n\"." +msgstr "" + +msgid "ipptool: Missing filename for \"--ippserver\"." +msgstr "" + +msgid "ipptool: Missing filename for \"-f\"." +msgstr "" + +msgid "ipptool: Missing name=value for \"-d\"." +msgstr "" + +msgid "ipptool: Missing seconds for \"-i\"." +msgstr "" + +msgid "ipptool: URI required before test file." +msgstr "" + +#. TRANSLATORS: Job Account ID +msgid "job-account-id" +msgstr "" + +#. TRANSLATORS: Job Account Type +msgid "job-account-type" +msgstr "" + +#. TRANSLATORS: General +msgid "job-account-type.general" +msgstr "" + +#. TRANSLATORS: Group +msgid "job-account-type.group" +msgstr "" + +#. TRANSLATORS: None +msgid "job-account-type.none" +msgstr "" + +#. TRANSLATORS: Job Accounting Output Bin +msgid "job-accounting-output-bin" +msgstr "" + +#. TRANSLATORS: Job Accounting Sheets +msgid "job-accounting-sheets" +msgstr "" + +#. TRANSLATORS: Type of Job Accounting Sheets +msgid "job-accounting-sheets-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-accounting-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-accounting-sheets-type.standard" +msgstr "" + +#. TRANSLATORS: Job Accounting User ID +msgid "job-accounting-user-id" +msgstr "" + +#. TRANSLATORS: Job Cancel After +msgid "job-cancel-after" +msgstr "" + +#. TRANSLATORS: Copies +msgid "job-copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "job-cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "job-cover-front" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-delay-output-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-delay-output-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-delay-output-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-delay-output-until.night" +msgstr "" + +#. TRANSLATORS: No Delay +msgid "job-delay-output-until.no-delay-output" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-delay-output-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-delay-output-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-delay-output-until.weekend" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "job-error-action.abort-job" +msgstr "" + +#. TRANSLATORS: Cancel Job +msgid "job-error-action.cancel-job" +msgstr "" + +#. TRANSLATORS: Continue Job +msgid "job-error-action.continue-job" +msgstr "" + +#. TRANSLATORS: Suspend Job +msgid "job-error-action.suspend-job" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet" +msgstr "" + +#. TRANSLATORS: Type of Error Sheet +msgid "job-error-sheet-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-error-sheet-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-error-sheet-type.standard" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet-when" +msgstr "" + +#. TRANSLATORS: Always +msgid "job-error-sheet-when.always" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-sheet-when.on-error" +msgstr "" + +#. TRANSLATORS: Job Finishings +msgid "job-finishings" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-hold-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-hold-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-hold-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-hold-until.night" +msgstr "" + +#. TRANSLATORS: No Hold +msgid "job-hold-until.no-hold" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-hold-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-hold-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-hold-until.weekend" +msgstr "" + +#. TRANSLATORS: Job Mandatory Attributes +msgid "job-mandatory-attributes" +msgstr "" + +#. TRANSLATORS: Title +msgid "job-name" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages-col" +msgstr "" + +#. TRANSLATORS: Job Phone Number +msgid "job-phone-number" +msgstr "" + +msgid "job-printer-uri attribute missing." +msgstr "job-printer-uri Attribut fehlt." + +#. TRANSLATORS: Job Priority +msgid "job-priority" +msgstr "" + +#. TRANSLATORS: Job Privacy Attributes +msgid "job-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Job Description +msgid "job-privacy-attributes.job-description" +msgstr "" + +#. TRANSLATORS: Job Template +msgid "job-privacy-attributes.job-template" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Job Privacy Scope +msgid "job-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "job-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Job Recipient Name +msgid "job-recipient-name" +msgstr "" + +#. TRANSLATORS: Job Retain Until +msgid "job-retain-until" +msgstr "" + +#. TRANSLATORS: Job Retain Until Interval +msgid "job-retain-until-interval" +msgstr "" + +#. TRANSLATORS: Job Retain Until Time +msgid "job-retain-until-time" +msgstr "" + +#. TRANSLATORS: End Of Day +msgid "job-retain-until.end-of-day" +msgstr "" + +#. TRANSLATORS: End Of Month +msgid "job-retain-until.end-of-month" +msgstr "" + +#. TRANSLATORS: End Of Week +msgid "job-retain-until.end-of-week" +msgstr "" + +#. TRANSLATORS: Indefinite +msgid "job-retain-until.indefinite" +msgstr "" + +#. TRANSLATORS: None +msgid "job-retain-until.none" +msgstr "" + +#. TRANSLATORS: Job Save Disposition +msgid "job-save-disposition" +msgstr "" + +#. TRANSLATORS: Job Sheet Message +msgid "job-sheet-message" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets-col" +msgstr "" + +#. TRANSLATORS: First Page in Document +msgid "job-sheets.first-print-stream-page" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "job-sheets.job-both-sheet" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "job-sheets.job-end-sheet" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "job-sheets.job-start-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "job-sheets.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-sheets.standard" +msgstr "" + +#. TRANSLATORS: Job State +msgid "job-state" +msgstr "" + +#. TRANSLATORS: Job State Message +msgid "job-state-message" +msgstr "" + +#. TRANSLATORS: Detailed Job State +msgid "job-state-reasons" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Account Authorization Failed +msgid "job-state-reasons.account-authorization-failed" +msgstr "" + +#. TRANSLATORS: Account Closed +msgid "job-state-reasons.account-closed" +msgstr "" + +#. TRANSLATORS: Account Info Needed +msgid "job-state-reasons.account-info-needed" +msgstr "" + +#. TRANSLATORS: Account Limit Reached +msgid "job-state-reasons.account-limit-reached" +msgstr "" + +#. TRANSLATORS: Decompression error +msgid "job-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Conflicting Attributes +msgid "job-state-reasons.conflicting-attributes" +msgstr "" + +#. TRANSLATORS: Connected To Destination +msgid "job-state-reasons.connected-to-destination" +msgstr "" + +#. TRANSLATORS: Connecting To Destination +msgid "job-state-reasons.connecting-to-destination" +msgstr "" + +#. TRANSLATORS: Destination Uri Failed +msgid "job-state-reasons.destination-uri-failed" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "job-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "job-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "job-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "job-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "job-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "job-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "job-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "job-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "job-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Canceled at printer +msgid "job-state-reasons.job-canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled by operator +msgid "job-state-reasons.job-canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled by user +msgid "job-state-reasons.job-canceled-by-user" +msgstr "" + +#. TRANSLATORS: +msgid "job-state-reasons.job-completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed with errors +msgid "job-state-reasons.job-completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed with warnings +msgid "job-state-reasons.job-completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Insufficient data +msgid "job-state-reasons.job-data-insufficient" +msgstr "" + +#. TRANSLATORS: Job Delay Output Until Specified +msgid "job-state-reasons.job-delay-output-until-specified" +msgstr "" + +#. TRANSLATORS: Job Digital Signature Wait +msgid "job-state-reasons.job-digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "job-state-reasons.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Held For Review +msgid "job-state-reasons.job-held-for-review" +msgstr "" + +#. TRANSLATORS: Job held +msgid "job-state-reasons.job-hold-until-specified" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "job-state-reasons.job-incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "job-state-reasons.job-interpreting" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "job-state-reasons.job-outgoing" +msgstr "" + +#. TRANSLATORS: Job Password Wait +msgid "job-state-reasons.job-password-wait" +msgstr "" + +#. TRANSLATORS: Job Printed Successfully +msgid "job-state-reasons.job-printed-successfully" +msgstr "" + +#. TRANSLATORS: Job Printed With Errors +msgid "job-state-reasons.job-printed-with-errors" +msgstr "" + +#. TRANSLATORS: Job Printed With Warnings +msgid "job-state-reasons.job-printed-with-warnings" +msgstr "" + +#. TRANSLATORS: Printing +msgid "job-state-reasons.job-printing" +msgstr "" + +#. TRANSLATORS: Preparing to print +msgid "job-state-reasons.job-queued" +msgstr "" + +#. TRANSLATORS: Processing document +msgid "job-state-reasons.job-queued-for-marker" +msgstr "" + +#. TRANSLATORS: Job Release Wait +msgid "job-state-reasons.job-release-wait" +msgstr "" + +#. TRANSLATORS: Restartable +msgid "job-state-reasons.job-restartable" +msgstr "" + +#. TRANSLATORS: Job Resuming +msgid "job-state-reasons.job-resuming" +msgstr "" + +#. TRANSLATORS: Job Saved Successfully +msgid "job-state-reasons.job-saved-successfully" +msgstr "" + +#. TRANSLATORS: Job Saved With Errors +msgid "job-state-reasons.job-saved-with-errors" +msgstr "" + +#. TRANSLATORS: Job Saved With Warnings +msgid "job-state-reasons.job-saved-with-warnings" +msgstr "" + +#. TRANSLATORS: Job Saving +msgid "job-state-reasons.job-saving" +msgstr "" + +#. TRANSLATORS: Job Spooling +msgid "job-state-reasons.job-spooling" +msgstr "" + +#. TRANSLATORS: Job Streaming +msgid "job-state-reasons.job-streaming" +msgstr "" + +#. TRANSLATORS: Suspended +msgid "job-state-reasons.job-suspended" +msgstr "" + +#. TRANSLATORS: Job Suspended By Operator +msgid "job-state-reasons.job-suspended-by-operator" +msgstr "" + +#. TRANSLATORS: Job Suspended By System +msgid "job-state-reasons.job-suspended-by-system" +msgstr "" + +#. TRANSLATORS: Job Suspended By User +msgid "job-state-reasons.job-suspended-by-user" +msgstr "" + +#. TRANSLATORS: Job Suspending +msgid "job-state-reasons.job-suspending" +msgstr "" + +#. TRANSLATORS: Job Transferring +msgid "job-state-reasons.job-transferring" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "job-state-reasons.job-transforming" +msgstr "" + +#. TRANSLATORS: None +msgid "job-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "job-state-reasons.printer-stopped" +msgstr "" + +#. TRANSLATORS: Printer partially stopped +msgid "job-state-reasons.printer-stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Ready +msgid "job-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "job-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "job-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Service offline +msgid "job-state-reasons.service-off-line" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "job-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Unsupported Attributes Or Values +msgid "job-state-reasons.unsupported-attributes-or-values" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "job-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "job-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Waiting For User Action +msgid "job-state-reasons.waiting-for-user-action" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "job-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "job-state.3" +msgstr "" + +#. TRANSLATORS: Held +msgid "job-state.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "job-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "job-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "job-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "job-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "job-state.9" +msgstr "" + +#. TRANSLATORS: Laminate Pages +msgid "laminating" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "laminating-sides" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "laminating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "laminating-sides.both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "laminating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Lamination +msgid "laminating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "laminating-type.archival" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "laminating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "laminating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "laminating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "laminating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "laminating-type.translucent" +msgstr "" + +#. TRANSLATORS: Logo +msgid "logo" +msgstr "" + +msgid "lpadmin: Class name can only contain printable characters." +msgstr "lpadmin: Klassenname darf nur druckbare Zeichen enthalten." + +#, c-format +msgid "lpadmin: Expected PPD after \"-%c\" option." +msgstr "lpadmin: Nach der \"-%c\" Option PPD erwartet." + +msgid "lpadmin: Expected allow/deny:userlist after \"-u\" option." +msgstr "" +"lpadmin: Nach der \"-u\" Option wird eine allow/deny:userlist erwartet." + +msgid "lpadmin: Expected class after \"-r\" option." +msgstr "lpadmin: Klasse nach der \"-r\" Option erwartet." + +msgid "lpadmin: Expected class name after \"-c\" option." +msgstr "lpadmin: Klasse nach der \"-c\" Option erwartet." + +msgid "lpadmin: Expected description after \"-D\" option." +msgstr "lpadmin: BEschreibung nach der \"-D\" Option erwartet." + +msgid "lpadmin: Expected device URI after \"-v\" option." +msgstr "lpadmin: Geräte-URI nach der \"-v\" Option erwartet." + +msgid "lpadmin: Expected file type(s) after \"-I\" option." +msgstr "lpadmin: Dateitype nach der \"-I\" Option erwartet." + +msgid "lpadmin: Expected hostname after \"-h\" option." +msgstr "lpadmin: Hostname nach der \"-h\" Option erwartet." + +msgid "lpadmin: Expected location after \"-L\" option." +msgstr "lpadmin: Ort nach der \"-L\" Option erwartet." + +msgid "lpadmin: Expected model after \"-m\" option." +msgstr "lpadmin: Modellangabe nach der \"-m\" Option erwartet." + +msgid "lpadmin: Expected name after \"-R\" option." +msgstr "lpadmin: Name nach der \"-R\" Option erwartet." + +msgid "lpadmin: Expected name=value after \"-o\" option." +msgstr "lpadmin: Name=Wert nach der \"-o\" Option erwartet." + +msgid "lpadmin: Expected printer after \"-p\" option." +msgstr "lpadmin: Drucker nach der \"-p\" Option erwartet." + +msgid "lpadmin: Expected printer name after \"-d\" option." +msgstr "lpadmin: Druckername nach der \"-d\" Option erwartet." + +msgid "lpadmin: Expected printer or class after \"-x\" option." +msgstr "lpadmin: Drucker oder Klasse nach der \"-x\" Option erwartet." + +msgid "lpadmin: No member names were seen." +msgstr "lpadmin: Keine Mitgleidernamen erkennbar." + +#, c-format +msgid "lpadmin: Printer %s is already a member of class %s." +msgstr "lpadmin: Drucker %s ist bereits Mitglied der Klasse %s." + +#, c-format +msgid "lpadmin: Printer %s is not a member of class %s." +msgstr "lpadmin: Drucker %s ist kein Mitglied der Klasse %s." + +msgid "" +"lpadmin: Printer drivers are deprecated and will stop working in a future " +"version of CUPS." +msgstr "" + +msgid "lpadmin: Printer name can only contain printable characters." +msgstr "lpadmin: Druckername darf nur druckbare Zeichen enthalten." + +msgid "" +"lpadmin: Raw queues are deprecated and will stop working in a future version " +"of CUPS." +msgstr "" + +msgid "lpadmin: Raw queues are no longer supported on macOS." +msgstr "" + +msgid "" +"lpadmin: System V interface scripts are no longer supported for security " +"reasons." +msgstr "" + +msgid "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Kann Drucker nicht zur Klasse hinzufügen:\n" +" Der Druckername muss zuerst angegeben werden." + +#, c-format +msgid "lpadmin: Unable to connect to server: %s" +msgstr "lpadmin: Kann nicht mit dem Server %s verbinden." + +msgid "lpadmin: Unable to create temporary file" +msgstr "lpadmin: Temporäre Datei kann nicht angelegt werden" + +msgid "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s" +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s on line %d." +msgstr "lpadmin: Öffnen der PPD \"%s\": %s in Zeile %d nicht möglich." + +msgid "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Entfernen des Drucker aus der Klasse nicht möglich:\n" +" Sie müssen zuerst einen Druckernamen angeben." + +msgid "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Festlegen der Druckeroptionen nicht möglich:\n" +" Sie müssen zuerst einen Druckernamen angeben." + +#, c-format +msgid "lpadmin: Unknown allow/deny option \"%s\"." +msgstr "lpadmin: Unbekannte Erlaubnis/Ablehnungs-Option »%s«." + +#, c-format +msgid "lpadmin: Unknown argument \"%s\"." +msgstr "lpadmin: unbekanntes Argument \"%s\"." + +#, c-format +msgid "lpadmin: Unknown option \"%c\"." +msgstr "lpadmin: Unbekannte Option »%c«." + +msgid "lpadmin: Use the 'everywhere' model for shared printers." +msgstr "" + +msgid "lpadmin: Warning - content type list ignored." +msgstr "lpadmin: Warnung - Inhaltstypliste ignoriert." + +msgid "lpc> " +msgstr "lpc> " + +msgid "lpinfo: Expected 1284 device ID string after \"--device-id\"." +msgstr "" + +msgid "lpinfo: Expected language after \"--language\"." +msgstr "lpinfo: Sprache nach \"--language\" erwartet." + +msgid "lpinfo: Expected make and model after \"--make-and-model\"." +msgstr "" + +msgid "lpinfo: Expected product string after \"--product\"." +msgstr "" + +msgid "lpinfo: Expected scheme list after \"--exclude-schemes\"." +msgstr "" + +msgid "lpinfo: Expected scheme list after \"--include-schemes\"." +msgstr "" + +msgid "lpinfo: Expected timeout after \"--timeout\"." +msgstr "" + +#, c-format +msgid "lpmove: Unable to connect to server: %s" +msgstr "lpmove: Verbindung zum Server »%s« nicht möglich" + +#, c-format +msgid "lpmove: Unknown argument \"%s\"." +msgstr "lpmove: Unbekanntes Argument »%s«." + +msgid "lpoptions: No printers." +msgstr "lpoptions: Keine Drucker." + +#, c-format +msgid "lpoptions: Unable to add printer or instance: %s" +msgstr "lpoptions: Hinzufügen von Drucker oder Instanz nicht möglich: %s" + +#, c-format +msgid "lpoptions: Unable to get PPD file for %s: %s" +msgstr "lpoptions: Keine PPD-Datei für %s: %s verfügbar" + +#, c-format +msgid "lpoptions: Unable to open PPD file for %s." +msgstr "lpoptions: Keine PPD-Datei für %s verfügbar." + +msgid "lpoptions: Unknown printer or class." +msgstr "lpoptions: Unbekannter Drucker oder Klasse." + +#, c-format +msgid "" +"lpstat: error - %s environment variable names non-existent destination \"%s" +"\"." +msgstr "" + +#. TRANSLATORS: Amount of Material +msgid "material-amount" +msgstr "" + +#. TRANSLATORS: Amount Units +msgid "material-amount-units" +msgstr "" + +#. TRANSLATORS: Grams +msgid "material-amount-units.g" +msgstr "" + +#. TRANSLATORS: Kilograms +msgid "material-amount-units.kg" +msgstr "" + +#. TRANSLATORS: Liters +msgid "material-amount-units.l" +msgstr "" + +#. TRANSLATORS: Meters +msgid "material-amount-units.m" +msgstr "" + +#. TRANSLATORS: Milliliters +msgid "material-amount-units.ml" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "material-amount-units.mm" +msgstr "" + +#. TRANSLATORS: Material Color +msgid "material-color" +msgstr "" + +#. TRANSLATORS: Material Diameter +msgid "material-diameter" +msgstr "" + +#. TRANSLATORS: Material Diameter Tolerance +msgid "material-diameter-tolerance" +msgstr "" + +#. TRANSLATORS: Material Fill Density +msgid "material-fill-density" +msgstr "" + +#. TRANSLATORS: Material Name +msgid "material-name" +msgstr "" + +#. TRANSLATORS: Material Nozzle Diameter +msgid "material-nozzle-diameter" +msgstr "" + +#. TRANSLATORS: Use Material For +msgid "material-purpose" +msgstr "" + +#. TRANSLATORS: Everything +msgid "material-purpose.all" +msgstr "" + +#. TRANSLATORS: Base +msgid "material-purpose.base" +msgstr "" + +#. TRANSLATORS: In-fill +msgid "material-purpose.in-fill" +msgstr "" + +#. TRANSLATORS: Shell +msgid "material-purpose.shell" +msgstr "" + +#. TRANSLATORS: Supports +msgid "material-purpose.support" +msgstr "" + +#. TRANSLATORS: Feed Rate +msgid "material-rate" +msgstr "" + +#. TRANSLATORS: Feed Rate Units +msgid "material-rate-units" +msgstr "" + +#. TRANSLATORS: Milligrams per second +msgid "material-rate-units.mg_second" +msgstr "" + +#. TRANSLATORS: Milliliters per second +msgid "material-rate-units.ml_second" +msgstr "" + +#. TRANSLATORS: Millimeters per second +msgid "material-rate-units.mm_second" +msgstr "" + +#. TRANSLATORS: Material Retraction +msgid "material-retraction" +msgstr "" + +#. TRANSLATORS: Material Shell Thickness +msgid "material-shell-thickness" +msgstr "" + +#. TRANSLATORS: Material Temperature +msgid "material-temperature" +msgstr "" + +#. TRANSLATORS: Material Type +msgid "material-type" +msgstr "" + +#. TRANSLATORS: ABS +msgid "material-type.abs" +msgstr "" + +#. TRANSLATORS: Carbon Fiber ABS +msgid "material-type.abs-carbon-fiber" +msgstr "" + +#. TRANSLATORS: Carbon Nanotube ABS +msgid "material-type.abs-carbon-nanotube" +msgstr "" + +#. TRANSLATORS: Chocolate +msgid "material-type.chocolate" +msgstr "" + +#. TRANSLATORS: Gold +msgid "material-type.gold" +msgstr "" + +#. TRANSLATORS: Nylon +msgid "material-type.nylon" +msgstr "" + +#. TRANSLATORS: Pet +msgid "material-type.pet" +msgstr "" + +#. TRANSLATORS: Photopolymer +msgid "material-type.photopolymer" +msgstr "" + +#. TRANSLATORS: PLA +msgid "material-type.pla" +msgstr "" + +#. TRANSLATORS: Conductive PLA +msgid "material-type.pla-conductive" +msgstr "" + +#. TRANSLATORS: Pla Dissolvable +msgid "material-type.pla-dissolvable" +msgstr "" + +#. TRANSLATORS: Flexible PLA +msgid "material-type.pla-flexible" +msgstr "" + +#. TRANSLATORS: Magnetic PLA +msgid "material-type.pla-magnetic" +msgstr "" + +#. TRANSLATORS: Steel PLA +msgid "material-type.pla-steel" +msgstr "" + +#. TRANSLATORS: Stone PLA +msgid "material-type.pla-stone" +msgstr "" + +#. TRANSLATORS: Wood PLA +msgid "material-type.pla-wood" +msgstr "" + +#. TRANSLATORS: Polycarbonate +msgid "material-type.polycarbonate" +msgstr "" + +#. TRANSLATORS: Dissolvable PVA +msgid "material-type.pva-dissolvable" +msgstr "" + +#. TRANSLATORS: Silver +msgid "material-type.silver" +msgstr "" + +#. TRANSLATORS: Titanium +msgid "material-type.titanium" +msgstr "" + +#. TRANSLATORS: Wax +msgid "material-type.wax" +msgstr "" + +#. TRANSLATORS: Materials +msgid "materials-col" +msgstr "" + +#. TRANSLATORS: Media +msgid "media" +msgstr "" + +#. TRANSLATORS: Back Coating of Media +msgid "media-back-coating" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "media-back-coating.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "media-back-coating.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "media-back-coating.matte" +msgstr "" + +#. TRANSLATORS: None +msgid "media-back-coating.none" +msgstr "" + +#. TRANSLATORS: Satin +msgid "media-back-coating.satin" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "media-back-coating.semi-gloss" +msgstr "" + +#. TRANSLATORS: Media Bottom Margin +msgid "media-bottom-margin" +msgstr "" + +#. TRANSLATORS: Media +msgid "media-col" +msgstr "" + +#. TRANSLATORS: Media Color +msgid "media-color" +msgstr "" + +#. TRANSLATORS: Black +msgid "media-color.black" +msgstr "" + +#. TRANSLATORS: Blue +msgid "media-color.blue" +msgstr "" + +#. TRANSLATORS: Brown +msgid "media-color.brown" +msgstr "" + +#. TRANSLATORS: Buff +msgid "media-color.buff" +msgstr "" + +#. TRANSLATORS: Clear Black +msgid "media-color.clear-black" +msgstr "" + +#. TRANSLATORS: Clear Blue +msgid "media-color.clear-blue" +msgstr "" + +#. TRANSLATORS: Clear Brown +msgid "media-color.clear-brown" +msgstr "" + +#. TRANSLATORS: Clear Buff +msgid "media-color.clear-buff" +msgstr "" + +#. TRANSLATORS: Clear Cyan +msgid "media-color.clear-cyan" +msgstr "" + +#. TRANSLATORS: Clear Gold +msgid "media-color.clear-gold" +msgstr "" + +#. TRANSLATORS: Clear Goldenrod +msgid "media-color.clear-goldenrod" +msgstr "" + +#. TRANSLATORS: Clear Gray +msgid "media-color.clear-gray" +msgstr "" + +#. TRANSLATORS: Clear Green +msgid "media-color.clear-green" +msgstr "" + +#. TRANSLATORS: Clear Ivory +msgid "media-color.clear-ivory" +msgstr "" + +#. TRANSLATORS: Clear Magenta +msgid "media-color.clear-magenta" +msgstr "" + +#. TRANSLATORS: Clear Multi Color +msgid "media-color.clear-multi-color" +msgstr "" + +#. TRANSLATORS: Clear Mustard +msgid "media-color.clear-mustard" +msgstr "" + +#. TRANSLATORS: Clear Orange +msgid "media-color.clear-orange" +msgstr "" + +#. TRANSLATORS: Clear Pink +msgid "media-color.clear-pink" +msgstr "" + +#. TRANSLATORS: Clear Red +msgid "media-color.clear-red" +msgstr "" + +#. TRANSLATORS: Clear Silver +msgid "media-color.clear-silver" +msgstr "" + +#. TRANSLATORS: Clear Turquoise +msgid "media-color.clear-turquoise" +msgstr "" + +#. TRANSLATORS: Clear Violet +msgid "media-color.clear-violet" +msgstr "" + +#. TRANSLATORS: Clear White +msgid "media-color.clear-white" +msgstr "" + +#. TRANSLATORS: Clear Yellow +msgid "media-color.clear-yellow" +msgstr "" + +#. TRANSLATORS: Cyan +msgid "media-color.cyan" +msgstr "" + +#. TRANSLATORS: Dark Blue +msgid "media-color.dark-blue" +msgstr "" + +#. TRANSLATORS: Dark Brown +msgid "media-color.dark-brown" +msgstr "" + +#. TRANSLATORS: Dark Buff +msgid "media-color.dark-buff" +msgstr "" + +#. TRANSLATORS: Dark Cyan +msgid "media-color.dark-cyan" +msgstr "" + +#. TRANSLATORS: Dark Gold +msgid "media-color.dark-gold" +msgstr "" + +#. TRANSLATORS: Dark Goldenrod +msgid "media-color.dark-goldenrod" +msgstr "" + +#. TRANSLATORS: Dark Gray +msgid "media-color.dark-gray" +msgstr "" + +#. TRANSLATORS: Dark Green +msgid "media-color.dark-green" +msgstr "" + +#. TRANSLATORS: Dark Ivory +msgid "media-color.dark-ivory" +msgstr "" + +#. TRANSLATORS: Dark Magenta +msgid "media-color.dark-magenta" +msgstr "" + +#. TRANSLATORS: Dark Mustard +msgid "media-color.dark-mustard" +msgstr "" + +#. TRANSLATORS: Dark Orange +msgid "media-color.dark-orange" +msgstr "" + +#. TRANSLATORS: Dark Pink +msgid "media-color.dark-pink" +msgstr "" + +#. TRANSLATORS: Dark Red +msgid "media-color.dark-red" +msgstr "" + +#. TRANSLATORS: Dark Silver +msgid "media-color.dark-silver" +msgstr "" + +#. TRANSLATORS: Dark Turquoise +msgid "media-color.dark-turquoise" +msgstr "" + +#. TRANSLATORS: Dark Violet +msgid "media-color.dark-violet" +msgstr "" + +#. TRANSLATORS: Dark Yellow +msgid "media-color.dark-yellow" +msgstr "" + +#. TRANSLATORS: Gold +msgid "media-color.gold" +msgstr "" + +#. TRANSLATORS: Goldenrod +msgid "media-color.goldenrod" +msgstr "" + +#. TRANSLATORS: Gray +msgid "media-color.gray" +msgstr "" + +#. TRANSLATORS: Green +msgid "media-color.green" +msgstr "" + +#. TRANSLATORS: Ivory +msgid "media-color.ivory" +msgstr "" + +#. TRANSLATORS: Light Black +msgid "media-color.light-black" +msgstr "" + +#. TRANSLATORS: Light Blue +msgid "media-color.light-blue" +msgstr "" + +#. TRANSLATORS: Light Brown +msgid "media-color.light-brown" +msgstr "" + +#. TRANSLATORS: Light Buff +msgid "media-color.light-buff" +msgstr "" + +#. TRANSLATORS: Light Cyan +msgid "media-color.light-cyan" +msgstr "" + +#. TRANSLATORS: Light Gold +msgid "media-color.light-gold" +msgstr "" + +#. TRANSLATORS: Light Goldenrod +msgid "media-color.light-goldenrod" +msgstr "" + +#. TRANSLATORS: Light Gray +msgid "media-color.light-gray" +msgstr "" + +#. TRANSLATORS: Light Green +msgid "media-color.light-green" +msgstr "" + +#. TRANSLATORS: Light Ivory +msgid "media-color.light-ivory" +msgstr "" + +#. TRANSLATORS: Light Magenta +msgid "media-color.light-magenta" +msgstr "" + +#. TRANSLATORS: Light Mustard +msgid "media-color.light-mustard" +msgstr "" + +#. TRANSLATORS: Light Orange +msgid "media-color.light-orange" +msgstr "" + +#. TRANSLATORS: Light Pink +msgid "media-color.light-pink" +msgstr "" + +#. TRANSLATORS: Light Red +msgid "media-color.light-red" +msgstr "" + +#. TRANSLATORS: Light Silver +msgid "media-color.light-silver" +msgstr "" + +#. TRANSLATORS: Light Turquoise +msgid "media-color.light-turquoise" +msgstr "" + +#. TRANSLATORS: Light Violet +msgid "media-color.light-violet" +msgstr "" + +#. TRANSLATORS: Light Yellow +msgid "media-color.light-yellow" +msgstr "" + +#. TRANSLATORS: Magenta +msgid "media-color.magenta" +msgstr "" + +#. TRANSLATORS: Multi-color +msgid "media-color.multi-color" +msgstr "" + +#. TRANSLATORS: Mustard +msgid "media-color.mustard" +msgstr "" + +#. TRANSLATORS: No Color +msgid "media-color.no-color" +msgstr "" + +#. TRANSLATORS: Orange +msgid "media-color.orange" +msgstr "" + +#. TRANSLATORS: Pink +msgid "media-color.pink" +msgstr "" + +#. TRANSLATORS: Red +msgid "media-color.red" +msgstr "" + +#. TRANSLATORS: Silver +msgid "media-color.silver" +msgstr "" + +#. TRANSLATORS: Turquoise +msgid "media-color.turquoise" +msgstr "" + +#. TRANSLATORS: Violet +msgid "media-color.violet" +msgstr "" + +#. TRANSLATORS: White +msgid "media-color.white" +msgstr "" + +#. TRANSLATORS: Yellow +msgid "media-color.yellow" +msgstr "" + +#. TRANSLATORS: Front Coating of Media +msgid "media-front-coating" +msgstr "" + +#. TRANSLATORS: Media Grain +msgid "media-grain" +msgstr "" + +#. TRANSLATORS: Cross-Feed Direction +msgid "media-grain.x-direction" +msgstr "" + +#. TRANSLATORS: Feed Direction +msgid "media-grain.y-direction" +msgstr "" + +#. TRANSLATORS: Media Hole Count +msgid "media-hole-count" +msgstr "" + +#. TRANSLATORS: Media Info +msgid "media-info" +msgstr "" + +#. TRANSLATORS: Force Media +msgid "media-input-tray-check" +msgstr "" + +#. TRANSLATORS: Media Left Margin +msgid "media-left-margin" +msgstr "" + +#. TRANSLATORS: Pre-printed Media +msgid "media-pre-printed" +msgstr "" + +#. TRANSLATORS: Blank +msgid "media-pre-printed.blank" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-pre-printed.letter-head" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "media-pre-printed.pre-printed" +msgstr "" + +#. TRANSLATORS: Recycled Media +msgid "media-recycled" +msgstr "" + +#. TRANSLATORS: None +msgid "media-recycled.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "media-recycled.standard" +msgstr "" + +#. TRANSLATORS: Media Right Margin +msgid "media-right-margin" +msgstr "" + +#. TRANSLATORS: Media Dimensions +msgid "media-size" +msgstr "" + +#. TRANSLATORS: Media Name +msgid "media-size-name" +msgstr "" + +#. TRANSLATORS: Media Source +msgid "media-source" +msgstr "" + +#. TRANSLATORS: Alternate +msgid "media-source.alternate" +msgstr "" + +#. TRANSLATORS: Alternate Roll +msgid "media-source.alternate-roll" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-source.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "media-source.bottom" +msgstr "" + +#. TRANSLATORS: By-pass Tray +msgid "media-source.by-pass-tray" +msgstr "" + +#. TRANSLATORS: Center +msgid "media-source.center" +msgstr "" + +#. TRANSLATORS: Disc +msgid "media-source.disc" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-source.envelope" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media-source.hagaki" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "media-source.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "media-source.left" +msgstr "" + +#. TRANSLATORS: Main +msgid "media-source.main" +msgstr "" + +#. TRANSLATORS: Main Roll +msgid "media-source.main-roll" +msgstr "" + +#. TRANSLATORS: Manual +msgid "media-source.manual" +msgstr "" + +#. TRANSLATORS: Middle +msgid "media-source.middle" +msgstr "" + +#. TRANSLATORS: Photo +msgid "media-source.photo" +msgstr "" + +#. TRANSLATORS: Rear +msgid "media-source.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "media-source.right" +msgstr "" + +#. TRANSLATORS: Roll 1 +msgid "media-source.roll-1" +msgstr "" + +#. TRANSLATORS: Roll 10 +msgid "media-source.roll-10" +msgstr "" + +#. TRANSLATORS: Roll 2 +msgid "media-source.roll-2" +msgstr "" + +#. TRANSLATORS: Roll 3 +msgid "media-source.roll-3" +msgstr "" + +#. TRANSLATORS: Roll 4 +msgid "media-source.roll-4" +msgstr "" + +#. TRANSLATORS: Roll 5 +msgid "media-source.roll-5" +msgstr "" + +#. TRANSLATORS: Roll 6 +msgid "media-source.roll-6" +msgstr "" + +#. TRANSLATORS: Roll 7 +msgid "media-source.roll-7" +msgstr "" + +#. TRANSLATORS: Roll 8 +msgid "media-source.roll-8" +msgstr "" + +#. TRANSLATORS: Roll 9 +msgid "media-source.roll-9" +msgstr "" + +#. TRANSLATORS: Side +msgid "media-source.side" +msgstr "" + +#. TRANSLATORS: Top +msgid "media-source.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "media-source.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "media-source.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 11 +msgid "media-source.tray-11" +msgstr "" + +#. TRANSLATORS: Tray 12 +msgid "media-source.tray-12" +msgstr "" + +#. TRANSLATORS: Tray 13 +msgid "media-source.tray-13" +msgstr "" + +#. TRANSLATORS: Tray 14 +msgid "media-source.tray-14" +msgstr "" + +#. TRANSLATORS: Tray 15 +msgid "media-source.tray-15" +msgstr "" + +#. TRANSLATORS: Tray 16 +msgid "media-source.tray-16" +msgstr "" + +#. TRANSLATORS: Tray 17 +msgid "media-source.tray-17" +msgstr "" + +#. TRANSLATORS: Tray 18 +msgid "media-source.tray-18" +msgstr "" + +#. TRANSLATORS: Tray 19 +msgid "media-source.tray-19" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "media-source.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 20 +msgid "media-source.tray-20" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "media-source.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "media-source.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "media-source.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "media-source.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "media-source.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "media-source.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "media-source.tray-9" +msgstr "" + +#. TRANSLATORS: Media Thickness +msgid "media-thickness" +msgstr "" + +#. TRANSLATORS: Media Tooth (Texture) +msgid "media-tooth" +msgstr "" + +#. TRANSLATORS: Antique +msgid "media-tooth.antique" +msgstr "" + +#. TRANSLATORS: Extra Smooth +msgid "media-tooth.calendared" +msgstr "" + +#. TRANSLATORS: Coarse +msgid "media-tooth.coarse" +msgstr "" + +#. TRANSLATORS: Fine +msgid "media-tooth.fine" +msgstr "" + +#. TRANSLATORS: Linen +msgid "media-tooth.linen" +msgstr "" + +#. TRANSLATORS: Medium +msgid "media-tooth.medium" +msgstr "" + +#. TRANSLATORS: Smooth +msgid "media-tooth.smooth" +msgstr "" + +#. TRANSLATORS: Stipple +msgid "media-tooth.stipple" +msgstr "" + +#. TRANSLATORS: Rough +msgid "media-tooth.uncalendared" +msgstr "" + +#. TRANSLATORS: Vellum +msgid "media-tooth.vellum" +msgstr "" + +#. TRANSLATORS: Media Top Margin +msgid "media-top-margin" +msgstr "" + +#. TRANSLATORS: Media Type +msgid "media-type" +msgstr "" + +#. TRANSLATORS: Aluminum +msgid "media-type.aluminum" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-type.auto" +msgstr "" + +#. TRANSLATORS: Back Print Film +msgid "media-type.back-print-film" +msgstr "" + +#. TRANSLATORS: Cardboard +msgid "media-type.cardboard" +msgstr "" + +#. TRANSLATORS: Cardstock +msgid "media-type.cardstock" +msgstr "" + +#. TRANSLATORS: CD +msgid "media-type.cd" +msgstr "" + +#. TRANSLATORS: Continuous +msgid "media-type.continuous" +msgstr "" + +#. TRANSLATORS: Continuous Long +msgid "media-type.continuous-long" +msgstr "" + +#. TRANSLATORS: Continuous Short +msgid "media-type.continuous-short" +msgstr "" + +#. TRANSLATORS: Corrugated Board +msgid "media-type.corrugated-board" +msgstr "" + +#. TRANSLATORS: Optical Disc +msgid "media-type.disc" +msgstr "" + +#. TRANSLATORS: Glossy Optical Disc +msgid "media-type.disc-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Optical Disc +msgid "media-type.disc-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Optical Disc +msgid "media-type.disc-matte" +msgstr "" + +#. TRANSLATORS: Satin Optical Disc +msgid "media-type.disc-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Optical Disc +msgid "media-type.disc-semi-gloss" +msgstr "" + +#. TRANSLATORS: Double Wall +msgid "media-type.double-wall" +msgstr "" + +#. TRANSLATORS: Dry Film +msgid "media-type.dry-film" +msgstr "" + +#. TRANSLATORS: DVD +msgid "media-type.dvd" +msgstr "" + +#. TRANSLATORS: Embossing Foil +msgid "media-type.embossing-foil" +msgstr "" + +#. TRANSLATORS: End Board +msgid "media-type.end-board" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-type.envelope" +msgstr "" + +#. TRANSLATORS: Archival Envelope +msgid "media-type.envelope-archival" +msgstr "" + +#. TRANSLATORS: Bond Envelope +msgid "media-type.envelope-bond" +msgstr "" + +#. TRANSLATORS: Coated Envelope +msgid "media-type.envelope-coated" +msgstr "" + +#. TRANSLATORS: Cotton Envelope +msgid "media-type.envelope-cotton" +msgstr "" + +#. TRANSLATORS: Fine Envelope +msgid "media-type.envelope-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Envelope +msgid "media-type.envelope-heavyweight" +msgstr "" + +#. TRANSLATORS: Inkjet Envelope +msgid "media-type.envelope-inkjet" +msgstr "" + +#. TRANSLATORS: Lightweight Envelope +msgid "media-type.envelope-lightweight" +msgstr "" + +#. TRANSLATORS: Plain Envelope +msgid "media-type.envelope-plain" +msgstr "" + +#. TRANSLATORS: Preprinted Envelope +msgid "media-type.envelope-preprinted" +msgstr "" + +#. TRANSLATORS: Windowed Envelope +msgid "media-type.envelope-window" +msgstr "" + +#. TRANSLATORS: Fabric +msgid "media-type.fabric" +msgstr "" + +#. TRANSLATORS: Archival Fabric +msgid "media-type.fabric-archival" +msgstr "" + +#. TRANSLATORS: Glossy Fabric +msgid "media-type.fabric-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Fabric +msgid "media-type.fabric-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Fabric +msgid "media-type.fabric-matte" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Fabric +msgid "media-type.fabric-semi-gloss" +msgstr "" + +#. TRANSLATORS: Waterproof Fabric +msgid "media-type.fabric-waterproof" +msgstr "" + +#. TRANSLATORS: Film +msgid "media-type.film" +msgstr "" + +#. TRANSLATORS: Flexo Base +msgid "media-type.flexo-base" +msgstr "" + +#. TRANSLATORS: Flexo Photo Polymer +msgid "media-type.flexo-photo-polymer" +msgstr "" + +#. TRANSLATORS: Flute +msgid "media-type.flute" +msgstr "" + +#. TRANSLATORS: Foil +msgid "media-type.foil" +msgstr "" + +#. TRANSLATORS: Full Cut Tabs +msgid "media-type.full-cut-tabs" +msgstr "" + +#. TRANSLATORS: Glass +msgid "media-type.glass" +msgstr "" + +#. TRANSLATORS: Glass Colored +msgid "media-type.glass-colored" +msgstr "" + +#. TRANSLATORS: Glass Opaque +msgid "media-type.glass-opaque" +msgstr "" + +#. TRANSLATORS: Glass Surfaced +msgid "media-type.glass-surfaced" +msgstr "" + +#. TRANSLATORS: Glass Textured +msgid "media-type.glass-textured" +msgstr "" + +#. TRANSLATORS: Gravure Cylinder +msgid "media-type.gravure-cylinder" +msgstr "" + +#. TRANSLATORS: Image Setter Paper +msgid "media-type.image-setter-paper" +msgstr "" + +#. TRANSLATORS: Imaging Cylinder +msgid "media-type.imaging-cylinder" +msgstr "" + +#. TRANSLATORS: Labels +msgid "media-type.labels" +msgstr "" + +#. TRANSLATORS: Colored Labels +msgid "media-type.labels-colored" +msgstr "" + +#. TRANSLATORS: Glossy Labels +msgid "media-type.labels-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Labels +msgid "media-type.labels-high-gloss" +msgstr "" + +#. TRANSLATORS: Inkjet Labels +msgid "media-type.labels-inkjet" +msgstr "" + +#. TRANSLATORS: Matte Labels +msgid "media-type.labels-matte" +msgstr "" + +#. TRANSLATORS: Permanent Labels +msgid "media-type.labels-permanent" +msgstr "" + +#. TRANSLATORS: Satin Labels +msgid "media-type.labels-satin" +msgstr "" + +#. TRANSLATORS: Security Labels +msgid "media-type.labels-security" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Labels +msgid "media-type.labels-semi-gloss" +msgstr "" + +#. TRANSLATORS: Laminating Foil +msgid "media-type.laminating-foil" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.letterhead" +msgstr "" + +#. TRANSLATORS: Metal +msgid "media-type.metal" +msgstr "" + +#. TRANSLATORS: Metal Glossy +msgid "media-type.metal-glossy" +msgstr "" + +#. TRANSLATORS: Metal High Gloss +msgid "media-type.metal-high-gloss" +msgstr "" + +#. TRANSLATORS: Metal Matte +msgid "media-type.metal-matte" +msgstr "" + +#. TRANSLATORS: Metal Satin +msgid "media-type.metal-satin" +msgstr "" + +#. TRANSLATORS: Metal Semi Gloss +msgid "media-type.metal-semi-gloss" +msgstr "" + +#. TRANSLATORS: Mounting Tape +msgid "media-type.mounting-tape" +msgstr "" + +#. TRANSLATORS: Multi Layer +msgid "media-type.multi-layer" +msgstr "" + +#. TRANSLATORS: Multi Part Form +msgid "media-type.multi-part-form" +msgstr "" + +#. TRANSLATORS: Other +msgid "media-type.other" +msgstr "" + +#. TRANSLATORS: Paper +msgid "media-type.paper" +msgstr "" + +#. TRANSLATORS: Photo Paper +msgid "media-type.photographic" +msgstr "" + +#. TRANSLATORS: Photographic Archival +msgid "media-type.photographic-archival" +msgstr "" + +#. TRANSLATORS: Photo Film +msgid "media-type.photographic-film" +msgstr "" + +#. TRANSLATORS: Glossy Photo Paper +msgid "media-type.photographic-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Photo Paper +msgid "media-type.photographic-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Photo Paper +msgid "media-type.photographic-matte" +msgstr "" + +#. TRANSLATORS: Satin Photo Paper +msgid "media-type.photographic-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Photo Paper +msgid "media-type.photographic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plastic +msgid "media-type.plastic" +msgstr "" + +#. TRANSLATORS: Plastic Archival +msgid "media-type.plastic-archival" +msgstr "" + +#. TRANSLATORS: Plastic Colored +msgid "media-type.plastic-colored" +msgstr "" + +#. TRANSLATORS: Plastic Glossy +msgid "media-type.plastic-glossy" +msgstr "" + +#. TRANSLATORS: Plastic High Gloss +msgid "media-type.plastic-high-gloss" +msgstr "" + +#. TRANSLATORS: Plastic Matte +msgid "media-type.plastic-matte" +msgstr "" + +#. TRANSLATORS: Plastic Satin +msgid "media-type.plastic-satin" +msgstr "" + +#. TRANSLATORS: Plastic Semi Gloss +msgid "media-type.plastic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plate +msgid "media-type.plate" +msgstr "" + +#. TRANSLATORS: Polyester +msgid "media-type.polyester" +msgstr "" + +#. TRANSLATORS: Pre Cut Tabs +msgid "media-type.pre-cut-tabs" +msgstr "" + +#. TRANSLATORS: Roll +msgid "media-type.roll" +msgstr "" + +#. TRANSLATORS: Screen +msgid "media-type.screen" +msgstr "" + +#. TRANSLATORS: Screen Paged +msgid "media-type.screen-paged" +msgstr "" + +#. TRANSLATORS: Self Adhesive +msgid "media-type.self-adhesive" +msgstr "" + +#. TRANSLATORS: Self Adhesive Film +msgid "media-type.self-adhesive-film" +msgstr "" + +#. TRANSLATORS: Shrink Foil +msgid "media-type.shrink-foil" +msgstr "" + +#. TRANSLATORS: Single Face +msgid "media-type.single-face" +msgstr "" + +#. TRANSLATORS: Single Wall +msgid "media-type.single-wall" +msgstr "" + +#. TRANSLATORS: Sleeve +msgid "media-type.sleeve" +msgstr "" + +#. TRANSLATORS: Stationery +msgid "media-type.stationery" +msgstr "" + +#. TRANSLATORS: Stationery Archival +msgid "media-type.stationery-archival" +msgstr "" + +#. TRANSLATORS: Coated Paper +msgid "media-type.stationery-coated" +msgstr "" + +#. TRANSLATORS: Stationery Cotton +msgid "media-type.stationery-cotton" +msgstr "" + +#. TRANSLATORS: Vellum Paper +msgid "media-type.stationery-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Paper +msgid "media-type.stationery-heavyweight" +msgstr "" + +#. TRANSLATORS: Stationery Heavyweight Coated +msgid "media-type.stationery-heavyweight-coated" +msgstr "" + +#. TRANSLATORS: Stationery Inkjet Paper +msgid "media-type.stationery-inkjet" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.stationery-letterhead" +msgstr "" + +#. TRANSLATORS: Lightweight Paper +msgid "media-type.stationery-lightweight" +msgstr "" + +#. TRANSLATORS: Preprinted Paper +msgid "media-type.stationery-preprinted" +msgstr "" + +#. TRANSLATORS: Punched Paper +msgid "media-type.stationery-prepunched" +msgstr "" + +#. TRANSLATORS: Tab Stock +msgid "media-type.tab-stock" +msgstr "" + +#. TRANSLATORS: Tractor +msgid "media-type.tractor" +msgstr "" + +#. TRANSLATORS: Transfer +msgid "media-type.transfer" +msgstr "" + +#. TRANSLATORS: Transparency +msgid "media-type.transparency" +msgstr "" + +#. TRANSLATORS: Triple Wall +msgid "media-type.triple-wall" +msgstr "" + +#. TRANSLATORS: Wet Film +msgid "media-type.wet-film" +msgstr "" + +#. TRANSLATORS: Media Weight (grams per m²) +msgid "media-weight-metric" +msgstr "" + +#. TRANSLATORS: 28 x 40″ +msgid "media.asme_f_28x40in" +msgstr "" + +#. TRANSLATORS: A4 or US Letter +msgid "media.choice_iso_a4_210x297mm_na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: 2a0 +msgid "media.iso_2a0_1189x1682mm" +msgstr "" + +#. TRANSLATORS: A0 +msgid "media.iso_a0_841x1189mm" +msgstr "" + +#. TRANSLATORS: A0x3 +msgid "media.iso_a0x3_1189x2523mm" +msgstr "" + +#. TRANSLATORS: A10 +msgid "media.iso_a10_26x37mm" +msgstr "" + +#. TRANSLATORS: A1 +msgid "media.iso_a1_594x841mm" +msgstr "" + +#. TRANSLATORS: A1x3 +msgid "media.iso_a1x3_841x1783mm" +msgstr "" + +#. TRANSLATORS: A1x4 +msgid "media.iso_a1x4_841x2378mm" +msgstr "" + +#. TRANSLATORS: A2 +msgid "media.iso_a2_420x594mm" +msgstr "" + +#. TRANSLATORS: A2x3 +msgid "media.iso_a2x3_594x1261mm" +msgstr "" + +#. TRANSLATORS: A2x4 +msgid "media.iso_a2x4_594x1682mm" +msgstr "" + +#. TRANSLATORS: A2x5 +msgid "media.iso_a2x5_594x2102mm" +msgstr "" + +#. TRANSLATORS: A3 (Extra) +msgid "media.iso_a3-extra_322x445mm" +msgstr "" + +#. TRANSLATORS: A3 +msgid "media.iso_a3_297x420mm" +msgstr "" + +#. TRANSLATORS: A3x3 +msgid "media.iso_a3x3_420x891mm" +msgstr "" + +#. TRANSLATORS: A3x4 +msgid "media.iso_a3x4_420x1189mm" +msgstr "" + +#. TRANSLATORS: A3x5 +msgid "media.iso_a3x5_420x1486mm" +msgstr "" + +#. TRANSLATORS: A3x6 +msgid "media.iso_a3x6_420x1783mm" +msgstr "" + +#. TRANSLATORS: A3x7 +msgid "media.iso_a3x7_420x2080mm" +msgstr "" + +#. TRANSLATORS: A4 (Extra) +msgid "media.iso_a4-extra_235.5x322.3mm" +msgstr "" + +#. TRANSLATORS: A4 (Tab) +msgid "media.iso_a4-tab_225x297mm" +msgstr "" + +#. TRANSLATORS: A4 +msgid "media.iso_a4_210x297mm" +msgstr "" + +#. TRANSLATORS: A4x3 +msgid "media.iso_a4x3_297x630mm" +msgstr "" + +#. TRANSLATORS: A4x4 +msgid "media.iso_a4x4_297x841mm" +msgstr "" + +#. TRANSLATORS: A4x5 +msgid "media.iso_a4x5_297x1051mm" +msgstr "" + +#. TRANSLATORS: A4x6 +msgid "media.iso_a4x6_297x1261mm" +msgstr "" + +#. TRANSLATORS: A4x7 +msgid "media.iso_a4x7_297x1471mm" +msgstr "" + +#. TRANSLATORS: A4x8 +msgid "media.iso_a4x8_297x1682mm" +msgstr "" + +#. TRANSLATORS: A4x9 +msgid "media.iso_a4x9_297x1892mm" +msgstr "" + +#. TRANSLATORS: A5 (Extra) +msgid "media.iso_a5-extra_174x235mm" +msgstr "" + +#. TRANSLATORS: A5 +msgid "media.iso_a5_148x210mm" +msgstr "" + +#. TRANSLATORS: A6 +msgid "media.iso_a6_105x148mm" +msgstr "" + +#. TRANSLATORS: A7 +msgid "media.iso_a7_74x105mm" +msgstr "" + +#. TRANSLATORS: A8 +msgid "media.iso_a8_52x74mm" +msgstr "" + +#. TRANSLATORS: A9 +msgid "media.iso_a9_37x52mm" +msgstr "" + +#. TRANSLATORS: B0 +msgid "media.iso_b0_1000x1414mm" +msgstr "" + +#. TRANSLATORS: B10 +msgid "media.iso_b10_31x44mm" +msgstr "" + +#. TRANSLATORS: B1 +msgid "media.iso_b1_707x1000mm" +msgstr "" + +#. TRANSLATORS: B2 +msgid "media.iso_b2_500x707mm" +msgstr "" + +#. TRANSLATORS: B3 +msgid "media.iso_b3_353x500mm" +msgstr "" + +#. TRANSLATORS: B4 +msgid "media.iso_b4_250x353mm" +msgstr "" + +#. TRANSLATORS: B5 (Extra) +msgid "media.iso_b5-extra_201x276mm" +msgstr "" + +#. TRANSLATORS: Envelope B5 +msgid "media.iso_b5_176x250mm" +msgstr "" + +#. TRANSLATORS: B6 +msgid "media.iso_b6_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope B6/C4 +msgid "media.iso_b6c4_125x324mm" +msgstr "" + +#. TRANSLATORS: B7 +msgid "media.iso_b7_88x125mm" +msgstr "" + +#. TRANSLATORS: B8 +msgid "media.iso_b8_62x88mm" +msgstr "" + +#. TRANSLATORS: B9 +msgid "media.iso_b9_44x62mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 0 +msgid "media.iso_c0_917x1297mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 10 +msgid "media.iso_c10_28x40mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 1 +msgid "media.iso_c1_648x917mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 2 +msgid "media.iso_c2_458x648mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 3 +msgid "media.iso_c3_324x458mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 4 +msgid "media.iso_c4_229x324mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 5 +msgid "media.iso_c5_162x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6 +msgid "media.iso_c6_114x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6c5 +msgid "media.iso_c6c5_114x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7 +msgid "media.iso_c7_81x114mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7c6 +msgid "media.iso_c7c6_81x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 8 +msgid "media.iso_c8_57x81mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 9 +msgid "media.iso_c9_40x57mm" +msgstr "" + +#. TRANSLATORS: Envelope DL +msgid "media.iso_dl_110x220mm" +msgstr "" + +#. TRANSLATORS: Id-1 +msgid "media.iso_id-1_53.98x85.6mm" +msgstr "" + +#. TRANSLATORS: Id-3 +msgid "media.iso_id-3_88x125mm" +msgstr "" + +#. TRANSLATORS: ISO RA0 +msgid "media.iso_ra0_860x1220mm" +msgstr "" + +#. TRANSLATORS: ISO RA1 +msgid "media.iso_ra1_610x860mm" +msgstr "" + +#. TRANSLATORS: ISO RA2 +msgid "media.iso_ra2_430x610mm" +msgstr "" + +#. TRANSLATORS: ISO RA3 +msgid "media.iso_ra3_305x430mm" +msgstr "" + +#. TRANSLATORS: ISO RA4 +msgid "media.iso_ra4_215x305mm" +msgstr "" + +#. TRANSLATORS: ISO SRA0 +msgid "media.iso_sra0_900x1280mm" +msgstr "" + +#. TRANSLATORS: ISO SRA1 +msgid "media.iso_sra1_640x900mm" +msgstr "" + +#. TRANSLATORS: ISO SRA2 +msgid "media.iso_sra2_450x640mm" +msgstr "" + +#. TRANSLATORS: ISO SRA3 +msgid "media.iso_sra3_320x450mm" +msgstr "" + +#. TRANSLATORS: ISO SRA4 +msgid "media.iso_sra4_225x320mm" +msgstr "" + +#. TRANSLATORS: JIS B0 +msgid "media.jis_b0_1030x1456mm" +msgstr "" + +#. TRANSLATORS: JIS B10 +msgid "media.jis_b10_32x45mm" +msgstr "" + +#. TRANSLATORS: JIS B1 +msgid "media.jis_b1_728x1030mm" +msgstr "" + +#. TRANSLATORS: JIS B2 +msgid "media.jis_b2_515x728mm" +msgstr "" + +#. TRANSLATORS: JIS B3 +msgid "media.jis_b3_364x515mm" +msgstr "" + +#. TRANSLATORS: JIS B4 +msgid "media.jis_b4_257x364mm" +msgstr "" + +#. TRANSLATORS: JIS B5 +msgid "media.jis_b5_182x257mm" +msgstr "" + +#. TRANSLATORS: JIS B6 +msgid "media.jis_b6_128x182mm" +msgstr "" + +#. TRANSLATORS: JIS B7 +msgid "media.jis_b7_91x128mm" +msgstr "" + +#. TRANSLATORS: JIS B8 +msgid "media.jis_b8_64x91mm" +msgstr "" + +#. TRANSLATORS: JIS B9 +msgid "media.jis_b9_45x64mm" +msgstr "" + +#. TRANSLATORS: JIS Executive +msgid "media.jis_exec_216x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 2 +msgid "media.jpn_chou2_111.1x146mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 3 +msgid "media.jpn_chou3_120x235mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 40 +msgid "media.jpn_chou40_90x225mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 4 +msgid "media.jpn_chou4_90x205mm" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media.jpn_hagaki_100x148mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu +msgid "media.jpn_kahu_240x322.1mm" +msgstr "" + +#. TRANSLATORS: 270 x 382mm +msgid "media.jpn_kaku1_270x382mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu 2 +msgid "media.jpn_kaku2_240x332mm" +msgstr "" + +#. TRANSLATORS: 216 x 277mm +msgid "media.jpn_kaku3_216x277mm" +msgstr "" + +#. TRANSLATORS: 197 x 267mm +msgid "media.jpn_kaku4_197x267mm" +msgstr "" + +#. TRANSLATORS: 190 x 240mm +msgid "media.jpn_kaku5_190x240mm" +msgstr "" + +#. TRANSLATORS: 142 x 205mm +msgid "media.jpn_kaku7_142x205mm" +msgstr "" + +#. TRANSLATORS: 119 x 197mm +msgid "media.jpn_kaku8_119x197mm" +msgstr "" + +#. TRANSLATORS: Oufuku Reply Postcard +msgid "media.jpn_oufuku_148x200mm" +msgstr "" + +#. TRANSLATORS: Envelope You 4 +msgid "media.jpn_you4_105x235mm" +msgstr "" + +#. TRANSLATORS: 10 x 11″ +msgid "media.na_10x11_10x11in" +msgstr "" + +#. TRANSLATORS: 10 x 13″ +msgid "media.na_10x13_10x13in" +msgstr "" + +#. TRANSLATORS: 10 x 14″ +msgid "media.na_10x14_10x14in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.na_10x15_10x15in" +msgstr "" + +#. TRANSLATORS: 11 x 12″ +msgid "media.na_11x12_11x12in" +msgstr "" + +#. TRANSLATORS: 11 x 15″ +msgid "media.na_11x15_11x15in" +msgstr "" + +#. TRANSLATORS: 12 x 19″ +msgid "media.na_12x19_12x19in" +msgstr "" + +#. TRANSLATORS: 5 x 7″ +msgid "media.na_5x7_5x7in" +msgstr "" + +#. TRANSLATORS: 6 x 9″ +msgid "media.na_6x9_6x9in" +msgstr "" + +#. TRANSLATORS: 7 x 9″ +msgid "media.na_7x9_7x9in" +msgstr "" + +#. TRANSLATORS: 9 x 11″ +msgid "media.na_9x11_9x11in" +msgstr "" + +#. TRANSLATORS: Envelope A2 +msgid "media.na_a2_4.375x5.75in" +msgstr "" + +#. TRANSLATORS: 9 x 12″ +msgid "media.na_arch-a_9x12in" +msgstr "" + +#. TRANSLATORS: 12 x 18″ +msgid "media.na_arch-b_12x18in" +msgstr "" + +#. TRANSLATORS: 18 x 24″ +msgid "media.na_arch-c_18x24in" +msgstr "" + +#. TRANSLATORS: 24 x 36″ +msgid "media.na_arch-d_24x36in" +msgstr "" + +#. TRANSLATORS: 26 x 38″ +msgid "media.na_arch-e2_26x38in" +msgstr "" + +#. TRANSLATORS: 27 x 39″ +msgid "media.na_arch-e3_27x39in" +msgstr "" + +#. TRANSLATORS: 36 x 48″ +msgid "media.na_arch-e_36x48in" +msgstr "" + +#. TRANSLATORS: 12 x 19.17″ +msgid "media.na_b-plus_12x19.17in" +msgstr "" + +#. TRANSLATORS: Envelope C5 +msgid "media.na_c5_6.5x9.5in" +msgstr "" + +#. TRANSLATORS: 17 x 22″ +msgid "media.na_c_17x22in" +msgstr "" + +#. TRANSLATORS: 22 x 34″ +msgid "media.na_d_22x34in" +msgstr "" + +#. TRANSLATORS: 34 x 44″ +msgid "media.na_e_34x44in" +msgstr "" + +#. TRANSLATORS: 11 x 14″ +msgid "media.na_edp_11x14in" +msgstr "" + +#. TRANSLATORS: 12 x 14″ +msgid "media.na_eur-edp_12x14in" +msgstr "" + +#. TRANSLATORS: Executive +msgid "media.na_executive_7.25x10.5in" +msgstr "" + +#. TRANSLATORS: 44 x 68″ +msgid "media.na_f_44x68in" +msgstr "" + +#. TRANSLATORS: European Fanfold +msgid "media.na_fanfold-eur_8.5x12in" +msgstr "" + +#. TRANSLATORS: US Fanfold +msgid "media.na_fanfold-us_11x14.875in" +msgstr "" + +#. TRANSLATORS: Foolscap +msgid "media.na_foolscap_8.5x13in" +msgstr "" + +#. TRANSLATORS: 8 x 13″ +msgid "media.na_govt-legal_8x13in" +msgstr "" + +#. TRANSLATORS: 8 x 10″ +msgid "media.na_govt-letter_8x10in" +msgstr "" + +#. TRANSLATORS: 3 x 5″ +msgid "media.na_index-3x5_3x5in" +msgstr "" + +#. TRANSLATORS: 6 x 8″ +msgid "media.na_index-4x6-ext_6x8in" +msgstr "" + +#. TRANSLATORS: 4 x 6″ +msgid "media.na_index-4x6_4x6in" +msgstr "" + +#. TRANSLATORS: 5 x 8″ +msgid "media.na_index-5x8_5x8in" +msgstr "" + +#. TRANSLATORS: Statement +msgid "media.na_invoice_5.5x8.5in" +msgstr "" + +#. TRANSLATORS: 11 x 17″ +msgid "media.na_ledger_11x17in" +msgstr "" + +#. TRANSLATORS: US Legal (Extra) +msgid "media.na_legal-extra_9.5x15in" +msgstr "" + +#. TRANSLATORS: US Legal +msgid "media.na_legal_8.5x14in" +msgstr "" + +#. TRANSLATORS: US Letter (Extra) +msgid "media.na_letter-extra_9.5x12in" +msgstr "" + +#. TRANSLATORS: US Letter (Plus) +msgid "media.na_letter-plus_8.5x12.69in" +msgstr "" + +#. TRANSLATORS: US Letter +msgid "media.na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: Envelope Monarch +msgid "media.na_monarch_3.875x7.5in" +msgstr "" + +#. TRANSLATORS: Envelope #10 +msgid "media.na_number-10_4.125x9.5in" +msgstr "" + +#. TRANSLATORS: Envelope #11 +msgid "media.na_number-11_4.5x10.375in" +msgstr "" + +#. TRANSLATORS: Envelope #12 +msgid "media.na_number-12_4.75x11in" +msgstr "" + +#. TRANSLATORS: Envelope #14 +msgid "media.na_number-14_5x11.5in" +msgstr "" + +#. TRANSLATORS: Envelope #9 +msgid "media.na_number-9_3.875x8.875in" +msgstr "" + +#. TRANSLATORS: 8.5 x 13.4″ +msgid "media.na_oficio_8.5x13.4in" +msgstr "" + +#. TRANSLATORS: Envelope Personal +msgid "media.na_personal_3.625x6.5in" +msgstr "" + +#. TRANSLATORS: Quarto +msgid "media.na_quarto_8.5x10.83in" +msgstr "" + +#. TRANSLATORS: 8.94 x 14″ +msgid "media.na_super-a_8.94x14in" +msgstr "" + +#. TRANSLATORS: 13 x 19″ +msgid "media.na_super-b_13x19in" +msgstr "" + +#. TRANSLATORS: 30 x 42″ +msgid "media.na_wide-format_30x42in" +msgstr "" + +#. TRANSLATORS: 12 x 16″ +msgid "media.oe_12x16_12x16in" +msgstr "" + +#. TRANSLATORS: 14 x 17″ +msgid "media.oe_14x17_14x17in" +msgstr "" + +#. TRANSLATORS: 18 x 22″ +msgid "media.oe_18x22_18x22in" +msgstr "" + +#. TRANSLATORS: 17 x 24″ +msgid "media.oe_a2plus_17x24in" +msgstr "" + +#. TRANSLATORS: 2 x 3.5″ +msgid "media.oe_business-card_2x3.5in" +msgstr "" + +#. TRANSLATORS: 10 x 12″ +msgid "media.oe_photo-10r_10x12in" +msgstr "" + +#. TRANSLATORS: 20 x 24″ +msgid "media.oe_photo-20r_20x24in" +msgstr "" + +#. TRANSLATORS: 3.5 x 5″ +msgid "media.oe_photo-l_3.5x5in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.oe_photo-s10r_10x15in" +msgstr "" + +#. TRANSLATORS: 4 x 4″ +msgid "media.oe_square-photo_4x4in" +msgstr "" + +#. TRANSLATORS: 5 x 5″ +msgid "media.oe_square-photo_5x5in" +msgstr "" + +#. TRANSLATORS: 184 x 260mm +msgid "media.om_16k_184x260mm" +msgstr "" + +#. TRANSLATORS: 195 x 270mm +msgid "media.om_16k_195x270mm" +msgstr "" + +#. TRANSLATORS: 55 x 85mm +msgid "media.om_business-card_55x85mm" +msgstr "" + +#. TRANSLATORS: 55 x 91mm +msgid "media.om_business-card_55x91mm" +msgstr "" + +#. TRANSLATORS: 54 x 86mm +msgid "media.om_card_54x86mm" +msgstr "" + +#. TRANSLATORS: 275 x 395mm +msgid "media.om_dai-pa-kai_275x395mm" +msgstr "" + +#. TRANSLATORS: 89 x 119mm +msgid "media.om_dsc-photo_89x119mm" +msgstr "" + +#. TRANSLATORS: Folio +msgid "media.om_folio-sp_215x315mm" +msgstr "" + +#. TRANSLATORS: Folio (Special) +msgid "media.om_folio_210x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Invitation +msgid "media.om_invite_220x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Italian +msgid "media.om_italian_110x230mm" +msgstr "" + +#. TRANSLATORS: 198 x 275mm +msgid "media.om_juuro-ku-kai_198x275mm" +msgstr "" + +#. TRANSLATORS: 200 x 300 +msgid "media.om_large-photo_200x300" +msgstr "" + +#. TRANSLATORS: 130 x 180mm +msgid "media.om_medium-photo_130x180mm" +msgstr "" + +#. TRANSLATORS: 267 x 389mm +msgid "media.om_pa-kai_267x389mm" +msgstr "" + +#. TRANSLATORS: Envelope Postfix +msgid "media.om_postfix_114x229mm" +msgstr "" + +#. TRANSLATORS: 100 x 150mm +msgid "media.om_small-photo_100x150mm" +msgstr "" + +#. TRANSLATORS: 89 x 89mm +msgid "media.om_square-photo_89x89mm" +msgstr "" + +#. TRANSLATORS: 100 x 200mm +msgid "media.om_wide-photo_100x200mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #10 +msgid "media.prc_10_324x458mm" +msgstr "" + +#. TRANSLATORS: Chinese 16k +msgid "media.prc_16k_146x215mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #1 +msgid "media.prc_1_102x165mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #2 +msgid "media.prc_2_102x176mm" +msgstr "" + +#. TRANSLATORS: Chinese 32k +msgid "media.prc_32k_97x151mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #3 +msgid "media.prc_3_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #4 +msgid "media.prc_4_110x208mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #5 +msgid "media.prc_5_110x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #6 +msgid "media.prc_6_120x320mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #7 +msgid "media.prc_7_160x230mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #8 +msgid "media.prc_8_120x309mm" +msgstr "" + +#. TRANSLATORS: ROC 16k +msgid "media.roc_16k_7.75x10.75in" +msgstr "" + +#. TRANSLATORS: ROC 8k +msgid "media.roc_8k_10.75x15.5in" +msgstr "" + +#, c-format +msgid "members of class %s:" +msgstr "Mitglieder der Klasse %s:" + +#. TRANSLATORS: Multiple Document Handling +msgid "multiple-document-handling" +msgstr "" + +#. TRANSLATORS: Separate Documents Collated Copies +msgid "multiple-document-handling.separate-documents-collated-copies" +msgstr "" + +#. TRANSLATORS: Separate Documents Uncollated Copies +msgid "multiple-document-handling.separate-documents-uncollated-copies" +msgstr "" + +#. TRANSLATORS: Single Document +msgid "multiple-document-handling.single-document" +msgstr "" + +#. TRANSLATORS: Single Document New Sheet +msgid "multiple-document-handling.single-document-new-sheet" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling +msgid "multiple-object-handling" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling Actual +msgid "multiple-object-handling-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "multiple-object-handling.auto" +msgstr "" + +#. TRANSLATORS: Best Fit +msgid "multiple-object-handling.best-fit" +msgstr "" + +#. TRANSLATORS: Best Quality +msgid "multiple-object-handling.best-quality" +msgstr "" + +#. TRANSLATORS: Best Speed +msgid "multiple-object-handling.best-speed" +msgstr "" + +#. TRANSLATORS: One At A Time +msgid "multiple-object-handling.one-at-a-time" +msgstr "" + +#. TRANSLATORS: On Timeout +msgid "multiple-operation-time-out-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "multiple-operation-time-out-action.abort-job" +msgstr "" + +#. TRANSLATORS: Hold Job +msgid "multiple-operation-time-out-action.hold-job" +msgstr "" + +#. TRANSLATORS: Process Job +msgid "multiple-operation-time-out-action.process-job" +msgstr "" + +msgid "no entries" +msgstr "Keine Einträge" + +msgid "no system default destination" +msgstr "Keine systemvoreingestellten Ziele" + +#. TRANSLATORS: Noise Removal +msgid "noise-removal" +msgstr "" + +#. TRANSLATORS: Notify Attributes +msgid "notify-attributes" +msgstr "" + +#. TRANSLATORS: Notify Charset +msgid "notify-charset" +msgstr "" + +#. TRANSLATORS: Notify Events +msgid "notify-events" +msgstr "" + +msgid "notify-events not specified." +msgstr "" + +#. TRANSLATORS: Document Completed +msgid "notify-events.document-completed" +msgstr "" + +#. TRANSLATORS: Document Config Changed +msgid "notify-events.document-config-changed" +msgstr "" + +#. TRANSLATORS: Document Created +msgid "notify-events.document-created" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "notify-events.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document State Changed +msgid "notify-events.document-state-changed" +msgstr "" + +#. TRANSLATORS: Document Stopped +msgid "notify-events.document-stopped" +msgstr "" + +#. TRANSLATORS: Job Completed +msgid "notify-events.job-completed" +msgstr "" + +#. TRANSLATORS: Job Config Changed +msgid "notify-events.job-config-changed" +msgstr "" + +#. TRANSLATORS: Job Created +msgid "notify-events.job-created" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "notify-events.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Progress +msgid "notify-events.job-progress" +msgstr "" + +#. TRANSLATORS: Job State Changed +msgid "notify-events.job-state-changed" +msgstr "" + +#. TRANSLATORS: Job Stopped +msgid "notify-events.job-stopped" +msgstr "" + +#. TRANSLATORS: None +msgid "notify-events.none" +msgstr "" + +#. TRANSLATORS: Printer Config Changed +msgid "notify-events.printer-config-changed" +msgstr "" + +#. TRANSLATORS: Printer Finishings Changed +msgid "notify-events.printer-finishings-changed" +msgstr "" + +#. TRANSLATORS: Printer Media Changed +msgid "notify-events.printer-media-changed" +msgstr "" + +#. TRANSLATORS: Printer Queue Order Changed +msgid "notify-events.printer-queue-order-changed" +msgstr "" + +#. TRANSLATORS: Printer Restarted +msgid "notify-events.printer-restarted" +msgstr "" + +#. TRANSLATORS: Printer Shutdown +msgid "notify-events.printer-shutdown" +msgstr "" + +#. TRANSLATORS: Printer State Changed +msgid "notify-events.printer-state-changed" +msgstr "" + +#. TRANSLATORS: Printer Stopped +msgid "notify-events.printer-stopped" +msgstr "" + +#. TRANSLATORS: Notify Get Interval +msgid "notify-get-interval" +msgstr "" + +#. TRANSLATORS: Notify Lease Duration +msgid "notify-lease-duration" +msgstr "" + +#. TRANSLATORS: Notify Natural Language +msgid "notify-natural-language" +msgstr "" + +#. TRANSLATORS: Notify Pull Method +msgid "notify-pull-method" +msgstr "" + +#. TRANSLATORS: Notify Recipient +msgid "notify-recipient-uri" +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" is already used." +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" uses unknown scheme." +msgstr "" + +#. TRANSLATORS: Notify Sequence Numbers +msgid "notify-sequence-numbers" +msgstr "" + +#. TRANSLATORS: Notify Subscription Ids +msgid "notify-subscription-ids" +msgstr "" + +#. TRANSLATORS: Notify Time Interval +msgid "notify-time-interval" +msgstr "" + +#. TRANSLATORS: Notify User Data +msgid "notify-user-data" +msgstr "" + +#. TRANSLATORS: Notify Wait +msgid "notify-wait" +msgstr "" + +#. TRANSLATORS: Number Of Retries +msgid "number-of-retries" +msgstr "" + +#. TRANSLATORS: Number-Up +msgid "number-up" +msgstr "" + +#. TRANSLATORS: Object Offset +msgid "object-offset" +msgstr "" + +#. TRANSLATORS: Object Size +msgid "object-size" +msgstr "" + +#. TRANSLATORS: Organization Name +msgid "organization-name" +msgstr "" + +#. TRANSLATORS: Orientation +msgid "orientation-requested" +msgstr "" + +#. TRANSLATORS: Portrait +msgid "orientation-requested.3" +msgstr "" + +#. TRANSLATORS: Landscape +msgid "orientation-requested.4" +msgstr "" + +#. TRANSLATORS: Reverse Landscape +msgid "orientation-requested.5" +msgstr "" + +#. TRANSLATORS: Reverse Portrait +msgid "orientation-requested.6" +msgstr "" + +#. TRANSLATORS: None +msgid "orientation-requested.7" +msgstr "" + +#. TRANSLATORS: Scanned Image Options +msgid "output-attributes" +msgstr "" + +#. TRANSLATORS: Output Tray +msgid "output-bin" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "output-bin.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "output-bin.bottom" +msgstr "" + +#. TRANSLATORS: Center +msgid "output-bin.center" +msgstr "" + +#. TRANSLATORS: Face Down +msgid "output-bin.face-down" +msgstr "" + +#. TRANSLATORS: Face Up +msgid "output-bin.face-up" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "output-bin.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "output-bin.left" +msgstr "" + +#. TRANSLATORS: Mailbox 1 +msgid "output-bin.mailbox-1" +msgstr "" + +#. TRANSLATORS: Mailbox 10 +msgid "output-bin.mailbox-10" +msgstr "" + +#. TRANSLATORS: Mailbox 2 +msgid "output-bin.mailbox-2" +msgstr "" + +#. TRANSLATORS: Mailbox 3 +msgid "output-bin.mailbox-3" +msgstr "" + +#. TRANSLATORS: Mailbox 4 +msgid "output-bin.mailbox-4" +msgstr "" + +#. TRANSLATORS: Mailbox 5 +msgid "output-bin.mailbox-5" +msgstr "" + +#. TRANSLATORS: Mailbox 6 +msgid "output-bin.mailbox-6" +msgstr "" + +#. TRANSLATORS: Mailbox 7 +msgid "output-bin.mailbox-7" +msgstr "" + +#. TRANSLATORS: Mailbox 8 +msgid "output-bin.mailbox-8" +msgstr "" + +#. TRANSLATORS: Mailbox 9 +msgid "output-bin.mailbox-9" +msgstr "" + +#. TRANSLATORS: Middle +msgid "output-bin.middle" +msgstr "" + +#. TRANSLATORS: My Mailbox +msgid "output-bin.my-mailbox" +msgstr "" + +#. TRANSLATORS: Rear +msgid "output-bin.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "output-bin.right" +msgstr "" + +#. TRANSLATORS: Side +msgid "output-bin.side" +msgstr "" + +#. TRANSLATORS: Stacker 1 +msgid "output-bin.stacker-1" +msgstr "" + +#. TRANSLATORS: Stacker 10 +msgid "output-bin.stacker-10" +msgstr "" + +#. TRANSLATORS: Stacker 2 +msgid "output-bin.stacker-2" +msgstr "" + +#. TRANSLATORS: Stacker 3 +msgid "output-bin.stacker-3" +msgstr "" + +#. TRANSLATORS: Stacker 4 +msgid "output-bin.stacker-4" +msgstr "" + +#. TRANSLATORS: Stacker 5 +msgid "output-bin.stacker-5" +msgstr "" + +#. TRANSLATORS: Stacker 6 +msgid "output-bin.stacker-6" +msgstr "" + +#. TRANSLATORS: Stacker 7 +msgid "output-bin.stacker-7" +msgstr "" + +#. TRANSLATORS: Stacker 8 +msgid "output-bin.stacker-8" +msgstr "" + +#. TRANSLATORS: Stacker 9 +msgid "output-bin.stacker-9" +msgstr "" + +#. TRANSLATORS: Top +msgid "output-bin.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "output-bin.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "output-bin.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "output-bin.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "output-bin.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "output-bin.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "output-bin.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "output-bin.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "output-bin.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "output-bin.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "output-bin.tray-9" +msgstr "" + +#. TRANSLATORS: Scanned Image Quality +msgid "output-compression-quality-factor" +msgstr "" + +#. TRANSLATORS: Page Delivery +msgid "page-delivery" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-down +msgid "page-delivery.reverse-order-face-down" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-up +msgid "page-delivery.reverse-order-face-up" +msgstr "" + +#. TRANSLATORS: Same Order Face-down +msgid "page-delivery.same-order-face-down" +msgstr "" + +#. TRANSLATORS: Same Order Face-up +msgid "page-delivery.same-order-face-up" +msgstr "" + +#. TRANSLATORS: System Specified +msgid "page-delivery.system-specified" +msgstr "" + +#. TRANSLATORS: Page Order Received +msgid "page-order-received" +msgstr "" + +#. TRANSLATORS: 1 To N +msgid "page-order-received.1-to-n-order" +msgstr "" + +#. TRANSLATORS: N To 1 +msgid "page-order-received.n-to-1-order" +msgstr "" + +#. TRANSLATORS: Page Ranges +msgid "page-ranges" +msgstr "" + +#. TRANSLATORS: Pages +msgid "pages" +msgstr "" + +#. TRANSLATORS: Pages Per Subset +msgid "pages-per-subset" +msgstr "" + +#. TRANSLATORS: Pclm Raster Back Side +msgid "pclm-raster-back-side" +msgstr "" + +#. TRANSLATORS: Flipped +msgid "pclm-raster-back-side.flipped" +msgstr "" + +#. TRANSLATORS: Normal +msgid "pclm-raster-back-side.normal" +msgstr "" + +#. TRANSLATORS: Rotated +msgid "pclm-raster-back-side.rotated" +msgstr "" + +#. TRANSLATORS: Pclm Source Resolution +msgid "pclm-source-resolution" +msgstr "" + +msgid "pending" +msgstr "in Verarbeitung" + +#. TRANSLATORS: Platform Shape +msgid "platform-shape" +msgstr "" + +#. TRANSLATORS: Round +msgid "platform-shape.ellipse" +msgstr "" + +#. TRANSLATORS: Rectangle +msgid "platform-shape.rectangle" +msgstr "" + +#. TRANSLATORS: Platform Temperature +msgid "platform-temperature" +msgstr "" + +#. TRANSLATORS: Post-dial String +msgid "post-dial-string" +msgstr "" + +#, c-format +msgid "ppdc: Adding include directory \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Adding/updating UI text from %s." +msgstr "" + +#, c-format +msgid "ppdc: Bad boolean value (%s) on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Bad font attribute: %s" +msgstr "ppdc: Ungültiges Schriftattribut: %s" + +#, c-format +msgid "ppdc: Bad resolution name \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Bad status keyword %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Bad variable substitution ($%c) on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Choice found on line %d of %s with no Option." +msgstr "" + +#, c-format +msgid "ppdc: Duplicate #po for locale %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected a filter definition on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected a program name on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected boolean value on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected charset after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected choice code on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected choice name/text on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected color order for ColorModel on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected colorspace for ColorModel on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected compression for ColorModel on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected constraints string for UIConstraints on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Expected driver type keyword following DriverType on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected duplex type after Duplex on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected encoding after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected filename after #po %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected group name/text on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected include filename on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected integer on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected locale after #po on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after FileName on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after Manufacturer on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after MediaSize on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after ModelName on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after PCFileName on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name/text after %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name/text after Installable on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name/text after Resolution on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name/text combination for ColorModel on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected option name/text on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected option section on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected option type on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected override field after Resolution on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected quoted string on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected real number on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d " +"of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected selector after %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected status after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected string after Copyright on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected string after Version on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected two option names on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected value after %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected version after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid #include/#po filename \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Invalid cost for filter on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid empty MIME type for filter on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid empty program name for filter on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid option section \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid option type \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Loading driver information file \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Loading messages for locale \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Loading messages from \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Missing #endif at end of \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Missing #if on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Need a msgid line before any translation strings on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: No message catalog provided for locale %s." +msgstr "" + +#, c-format +msgid "ppdc: Option %s defined in two different groups on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Option %s redefined with a different type on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Option constraint must *name on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Too many nested #if's on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unable to create PPD file \"%s\" - %s." +msgstr "" + +#, c-format +msgid "ppdc: Unable to create output directory %s: %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to create output pipes: %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to execute cupstestppd: %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to find #po file %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unable to find include file \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unable to find localization for \"%s\" - %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to load localization file \"%s\" - %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to open %s: %s" +msgstr "" + +#, c-format +msgid "ppdc: Undefined variable (%s) on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unexpected text on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unknown driver type %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unknown duplex type \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unknown media size \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unknown message catalog format for \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Unknown token \"%s\" seen on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unterminated string starting with %c on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Warning - overlapping filename \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Writing %s." +msgstr "ppdc: Schreibe: %s." + +#, c-format +msgid "ppdc: Writing PPD files to directory \"%s\"." +msgstr "ppdc: Schreibe PPD-Dateien in Verzeichnis \"%s\"." + +#, c-format +msgid "ppdmerge: Bad LanguageVersion \"%s\" in %s." +msgstr "" + +#, c-format +msgid "ppdmerge: Ignoring PPD file %s." +msgstr "ppdmerge: PPD-Datei %s wird ignoriert." + +#, c-format +msgid "ppdmerge: Unable to backup %s to %s - %s" +msgstr "" + +#. TRANSLATORS: Pre-dial String +msgid "pre-dial-string" +msgstr "" + +#. TRANSLATORS: Number-Up Layout +msgid "presentation-direction-number-up" +msgstr "" + +#. TRANSLATORS: Top-bottom, Right-left +msgid "presentation-direction-number-up.tobottom-toleft" +msgstr "" + +#. TRANSLATORS: Top-bottom, Left-right +msgid "presentation-direction-number-up.tobottom-toright" +msgstr "" + +#. TRANSLATORS: Right-left, Top-bottom +msgid "presentation-direction-number-up.toleft-tobottom" +msgstr "" + +#. TRANSLATORS: Right-left, Bottom-top +msgid "presentation-direction-number-up.toleft-totop" +msgstr "" + +#. TRANSLATORS: Left-right, Top-bottom +msgid "presentation-direction-number-up.toright-tobottom" +msgstr "" + +#. TRANSLATORS: Left-right, Bottom-top +msgid "presentation-direction-number-up.toright-totop" +msgstr "" + +#. TRANSLATORS: Bottom-top, Right-left +msgid "presentation-direction-number-up.totop-toleft" +msgstr "" + +#. TRANSLATORS: Bottom-top, Left-right +msgid "presentation-direction-number-up.totop-toright" +msgstr "" + +#. TRANSLATORS: Print Accuracy +msgid "print-accuracy" +msgstr "" + +#. TRANSLATORS: Print Base +msgid "print-base" +msgstr "" + +#. TRANSLATORS: Print Base Actual +msgid "print-base-actual" +msgstr "" + +#. TRANSLATORS: Brim +msgid "print-base.brim" +msgstr "" + +#. TRANSLATORS: None +msgid "print-base.none" +msgstr "" + +#. TRANSLATORS: Raft +msgid "print-base.raft" +msgstr "" + +#. TRANSLATORS: Skirt +msgid "print-base.skirt" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-base.standard" +msgstr "" + +#. TRANSLATORS: Print Color Mode +msgid "print-color-mode" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-color-mode.auto" +msgstr "" + +#. TRANSLATORS: Auto Monochrome +msgid "print-color-mode.auto-monochrome" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-color-mode.bi-level" +msgstr "" + +#. TRANSLATORS: Color +msgid "print-color-mode.color" +msgstr "" + +#. TRANSLATORS: Highlight +msgid "print-color-mode.highlight" +msgstr "" + +#. TRANSLATORS: Monochrome +msgid "print-color-mode.monochrome" +msgstr "" + +#. TRANSLATORS: Process Text +msgid "print-color-mode.process-bi-level" +msgstr "" + +#. TRANSLATORS: Process Monochrome +msgid "print-color-mode.process-monochrome" +msgstr "" + +#. TRANSLATORS: Print Optimization +msgid "print-content-optimize" +msgstr "" + +#. TRANSLATORS: Print Content Optimize Actual +msgid "print-content-optimize-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-content-optimize.auto" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphic" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphics" +msgstr "" + +#. TRANSLATORS: Photo +msgid "print-content-optimize.photo" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-content-optimize.text" +msgstr "" + +#. TRANSLATORS: Text and Graphics +msgid "print-content-optimize.text-and-graphic" +msgstr "" + +#. TRANSLATORS: Text And Graphics +msgid "print-content-optimize.text-and-graphics" +msgstr "" + +#. TRANSLATORS: Print Objects +msgid "print-objects" +msgstr "" + +#. TRANSLATORS: Print Quality +msgid "print-quality" +msgstr "" + +#. TRANSLATORS: Draft +msgid "print-quality.3" +msgstr "" + +#. TRANSLATORS: Normal +msgid "print-quality.4" +msgstr "" + +#. TRANSLATORS: High +msgid "print-quality.5" +msgstr "" + +#. TRANSLATORS: Print Rendering Intent +msgid "print-rendering-intent" +msgstr "" + +#. TRANSLATORS: Absolute +msgid "print-rendering-intent.absolute" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-rendering-intent.auto" +msgstr "" + +#. TRANSLATORS: Perceptual +msgid "print-rendering-intent.perceptual" +msgstr "" + +#. TRANSLATORS: Relative +msgid "print-rendering-intent.relative" +msgstr "" + +#. TRANSLATORS: Relative w/Black Point Compensation +msgid "print-rendering-intent.relative-bpc" +msgstr "" + +#. TRANSLATORS: Saturation +msgid "print-rendering-intent.saturation" +msgstr "" + +#. TRANSLATORS: Print Scaling +msgid "print-scaling" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-scaling.auto" +msgstr "" + +#. TRANSLATORS: Auto-fit +msgid "print-scaling.auto-fit" +msgstr "" + +#. TRANSLATORS: Fill +msgid "print-scaling.fill" +msgstr "" + +#. TRANSLATORS: Fit +msgid "print-scaling.fit" +msgstr "" + +#. TRANSLATORS: None +msgid "print-scaling.none" +msgstr "" + +#. TRANSLATORS: Print Supports +msgid "print-supports" +msgstr "" + +#. TRANSLATORS: Print Supports Actual +msgid "print-supports-actual" +msgstr "" + +#. TRANSLATORS: With Specified Material +msgid "print-supports.material" +msgstr "" + +#. TRANSLATORS: None +msgid "print-supports.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-supports.standard" +msgstr "" + +#, c-format +msgid "printer %s disabled since %s -" +msgstr "Drucker %s ist deaktiviert seit %s" + +#, c-format +msgid "printer %s is holding new jobs. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s is idle. enabled since %s" +msgstr "Drucker %s ist im Leerlauf. Aktiviert seit %s" + +#, c-format +msgid "printer %s now printing %s-%d. enabled since %s" +msgstr "Drucker %s druckt jetzt %s-%d. Aktiviert seit %s" + +#, c-format +msgid "printer %s/%s disabled since %s -" +msgstr "Drucker %s/%s deaktiviert seit %s" + +#, c-format +msgid "printer %s/%s is idle. enabled since %s" +msgstr "Drucker %s/%s ist im Leerlauf. Aktiviert seit %s" + +#, c-format +msgid "printer %s/%s now printing %s-%d. enabled since %s" +msgstr "Drucker %s/%s druckt jetzt %s-%d. Aktiviert seit %s" + +#. TRANSLATORS: Printer Kind +msgid "printer-kind" +msgstr "" + +#. TRANSLATORS: Disc +msgid "printer-kind.disc" +msgstr "" + +#. TRANSLATORS: Document +msgid "printer-kind.document" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "printer-kind.envelope" +msgstr "" + +#. TRANSLATORS: Label +msgid "printer-kind.label" +msgstr "" + +#. TRANSLATORS: Large Format +msgid "printer-kind.large-format" +msgstr "" + +#. TRANSLATORS: Photo +msgid "printer-kind.photo" +msgstr "" + +#. TRANSLATORS: Postcard +msgid "printer-kind.postcard" +msgstr "" + +#. TRANSLATORS: Receipt +msgid "printer-kind.receipt" +msgstr "" + +#. TRANSLATORS: Roll +msgid "printer-kind.roll" +msgstr "" + +#. TRANSLATORS: Message From Operator +msgid "printer-message-from-operator" +msgstr "" + +#. TRANSLATORS: Print Resolution +msgid "printer-resolution" +msgstr "" + +#. TRANSLATORS: Printer State +msgid "printer-state" +msgstr "" + +#. TRANSLATORS: Detailed Printer State +msgid "printer-state-reasons" +msgstr "" + +#. TRANSLATORS: Old Alerts Have Been Removed +msgid "printer-state-reasons.alert-removal-of-binary-change-entry" +msgstr "" + +#. TRANSLATORS: Bander Added +msgid "printer-state-reasons.bander-added" +msgstr "" + +#. TRANSLATORS: Bander Almost Empty +msgid "printer-state-reasons.bander-almost-empty" +msgstr "" + +#. TRANSLATORS: Bander Almost Full +msgid "printer-state-reasons.bander-almost-full" +msgstr "" + +#. TRANSLATORS: Bander At Limit +msgid "printer-state-reasons.bander-at-limit" +msgstr "" + +#. TRANSLATORS: Bander Closed +msgid "printer-state-reasons.bander-closed" +msgstr "" + +#. TRANSLATORS: Bander Configuration Change +msgid "printer-state-reasons.bander-configuration-change" +msgstr "" + +#. TRANSLATORS: Bander Cover Closed +msgid "printer-state-reasons.bander-cover-closed" +msgstr "" + +#. TRANSLATORS: Bander Cover Open +msgid "printer-state-reasons.bander-cover-open" +msgstr "" + +#. TRANSLATORS: Bander Empty +msgid "printer-state-reasons.bander-empty" +msgstr "" + +#. TRANSLATORS: Bander Full +msgid "printer-state-reasons.bander-full" +msgstr "" + +#. TRANSLATORS: Bander Interlock Closed +msgid "printer-state-reasons.bander-interlock-closed" +msgstr "" + +#. TRANSLATORS: Bander Interlock Open +msgid "printer-state-reasons.bander-interlock-open" +msgstr "" + +#. TRANSLATORS: Bander Jam +msgid "printer-state-reasons.bander-jam" +msgstr "" + +#. TRANSLATORS: Bander Life Almost Over +msgid "printer-state-reasons.bander-life-almost-over" +msgstr "" + +#. TRANSLATORS: Bander Life Over +msgid "printer-state-reasons.bander-life-over" +msgstr "" + +#. TRANSLATORS: Bander Memory Exhausted +msgid "printer-state-reasons.bander-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Bander Missing +msgid "printer-state-reasons.bander-missing" +msgstr "" + +#. TRANSLATORS: Bander Motor Failure +msgid "printer-state-reasons.bander-motor-failure" +msgstr "" + +#. TRANSLATORS: Bander Near Limit +msgid "printer-state-reasons.bander-near-limit" +msgstr "" + +#. TRANSLATORS: Bander Offline +msgid "printer-state-reasons.bander-offline" +msgstr "" + +#. TRANSLATORS: Bander Opened +msgid "printer-state-reasons.bander-opened" +msgstr "" + +#. TRANSLATORS: Bander Over Temperature +msgid "printer-state-reasons.bander-over-temperature" +msgstr "" + +#. TRANSLATORS: Bander Power Saver +msgid "printer-state-reasons.bander-power-saver" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Failure +msgid "printer-state-reasons.bander-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Storage +msgid "printer-state-reasons.bander-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Bander Removed +msgid "printer-state-reasons.bander-removed" +msgstr "" + +#. TRANSLATORS: Bander Resource Added +msgid "printer-state-reasons.bander-resource-added" +msgstr "" + +#. TRANSLATORS: Bander Resource Removed +msgid "printer-state-reasons.bander-resource-removed" +msgstr "" + +#. TRANSLATORS: Bander Thermistor Failure +msgid "printer-state-reasons.bander-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Bander Timing Failure +msgid "printer-state-reasons.bander-timing-failure" +msgstr "" + +#. TRANSLATORS: Bander Turned Off +msgid "printer-state-reasons.bander-turned-off" +msgstr "" + +#. TRANSLATORS: Bander Turned On +msgid "printer-state-reasons.bander-turned-on" +msgstr "" + +#. TRANSLATORS: Bander Under Temperature +msgid "printer-state-reasons.bander-under-temperature" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Failure +msgid "printer-state-reasons.bander-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Storage Error +msgid "printer-state-reasons.bander-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Bander Warming Up +msgid "printer-state-reasons.bander-warming-up" +msgstr "" + +#. TRANSLATORS: Binder Added +msgid "printer-state-reasons.binder-added" +msgstr "" + +#. TRANSLATORS: Binder Almost Empty +msgid "printer-state-reasons.binder-almost-empty" +msgstr "" + +#. TRANSLATORS: Binder Almost Full +msgid "printer-state-reasons.binder-almost-full" +msgstr "" + +#. TRANSLATORS: Binder At Limit +msgid "printer-state-reasons.binder-at-limit" +msgstr "" + +#. TRANSLATORS: Binder Closed +msgid "printer-state-reasons.binder-closed" +msgstr "" + +#. TRANSLATORS: Binder Configuration Change +msgid "printer-state-reasons.binder-configuration-change" +msgstr "" + +#. TRANSLATORS: Binder Cover Closed +msgid "printer-state-reasons.binder-cover-closed" +msgstr "" + +#. TRANSLATORS: Binder Cover Open +msgid "printer-state-reasons.binder-cover-open" +msgstr "" + +#. TRANSLATORS: Binder Empty +msgid "printer-state-reasons.binder-empty" +msgstr "" + +#. TRANSLATORS: Binder Full +msgid "printer-state-reasons.binder-full" +msgstr "" + +#. TRANSLATORS: Binder Interlock Closed +msgid "printer-state-reasons.binder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Binder Interlock Open +msgid "printer-state-reasons.binder-interlock-open" +msgstr "" + +#. TRANSLATORS: Binder Jam +msgid "printer-state-reasons.binder-jam" +msgstr "" + +#. TRANSLATORS: Binder Life Almost Over +msgid "printer-state-reasons.binder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Binder Life Over +msgid "printer-state-reasons.binder-life-over" +msgstr "" + +#. TRANSLATORS: Binder Memory Exhausted +msgid "printer-state-reasons.binder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Binder Missing +msgid "printer-state-reasons.binder-missing" +msgstr "" + +#. TRANSLATORS: Binder Motor Failure +msgid "printer-state-reasons.binder-motor-failure" +msgstr "" + +#. TRANSLATORS: Binder Near Limit +msgid "printer-state-reasons.binder-near-limit" +msgstr "" + +#. TRANSLATORS: Binder Offline +msgid "printer-state-reasons.binder-offline" +msgstr "" + +#. TRANSLATORS: Binder Opened +msgid "printer-state-reasons.binder-opened" +msgstr "" + +#. TRANSLATORS: Binder Over Temperature +msgid "printer-state-reasons.binder-over-temperature" +msgstr "" + +#. TRANSLATORS: Binder Power Saver +msgid "printer-state-reasons.binder-power-saver" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Failure +msgid "printer-state-reasons.binder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Storage +msgid "printer-state-reasons.binder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Binder Removed +msgid "printer-state-reasons.binder-removed" +msgstr "" + +#. TRANSLATORS: Binder Resource Added +msgid "printer-state-reasons.binder-resource-added" +msgstr "" + +#. TRANSLATORS: Binder Resource Removed +msgid "printer-state-reasons.binder-resource-removed" +msgstr "" + +#. TRANSLATORS: Binder Thermistor Failure +msgid "printer-state-reasons.binder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Binder Timing Failure +msgid "printer-state-reasons.binder-timing-failure" +msgstr "" + +#. TRANSLATORS: Binder Turned Off +msgid "printer-state-reasons.binder-turned-off" +msgstr "" + +#. TRANSLATORS: Binder Turned On +msgid "printer-state-reasons.binder-turned-on" +msgstr "" + +#. TRANSLATORS: Binder Under Temperature +msgid "printer-state-reasons.binder-under-temperature" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Failure +msgid "printer-state-reasons.binder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Storage Error +msgid "printer-state-reasons.binder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Binder Warming Up +msgid "printer-state-reasons.binder-warming-up" +msgstr "" + +#. TRANSLATORS: Camera Failure +msgid "printer-state-reasons.camera-failure" +msgstr "" + +#. TRANSLATORS: Chamber Cooling +msgid "printer-state-reasons.chamber-cooling" +msgstr "" + +#. TRANSLATORS: Chamber Failure +msgid "printer-state-reasons.chamber-failure" +msgstr "" + +#. TRANSLATORS: Chamber Heating +msgid "printer-state-reasons.chamber-heating" +msgstr "" + +#. TRANSLATORS: Chamber Temperature High +msgid "printer-state-reasons.chamber-temperature-high" +msgstr "" + +#. TRANSLATORS: Chamber Temperature Low +msgid "printer-state-reasons.chamber-temperature-low" +msgstr "" + +#. TRANSLATORS: Cleaner Life Almost Over +msgid "printer-state-reasons.cleaner-life-almost-over" +msgstr "" + +#. TRANSLATORS: Cleaner Life Over +msgid "printer-state-reasons.cleaner-life-over" +msgstr "" + +#. TRANSLATORS: Configuration Change +msgid "printer-state-reasons.configuration-change" +msgstr "" + +#. TRANSLATORS: Connecting To Device +msgid "printer-state-reasons.connecting-to-device" +msgstr "" + +#. TRANSLATORS: Cover Open +msgid "printer-state-reasons.cover-open" +msgstr "" + +#. TRANSLATORS: Deactivated +msgid "printer-state-reasons.deactivated" +msgstr "" + +#. TRANSLATORS: Developer Empty +msgid "printer-state-reasons.developer-empty" +msgstr "" + +#. TRANSLATORS: Developer Low +msgid "printer-state-reasons.developer-low" +msgstr "" + +#. TRANSLATORS: Die Cutter Added +msgid "printer-state-reasons.die-cutter-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Empty +msgid "printer-state-reasons.die-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Full +msgid "printer-state-reasons.die-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Die Cutter At Limit +msgid "printer-state-reasons.die-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Closed +msgid "printer-state-reasons.die-cutter-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Configuration Change +msgid "printer-state-reasons.die-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Closed +msgid "printer-state-reasons.die-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Open +msgid "printer-state-reasons.die-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Empty +msgid "printer-state-reasons.die-cutter-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Full +msgid "printer-state-reasons.die-cutter-full" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Closed +msgid "printer-state-reasons.die-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Open +msgid "printer-state-reasons.die-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Jam +msgid "printer-state-reasons.die-cutter-jam" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Almost Over +msgid "printer-state-reasons.die-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Over +msgid "printer-state-reasons.die-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Memory Exhausted +msgid "printer-state-reasons.die-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Die Cutter Missing +msgid "printer-state-reasons.die-cutter-missing" +msgstr "" + +#. TRANSLATORS: Die Cutter Motor Failure +msgid "printer-state-reasons.die-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Near Limit +msgid "printer-state-reasons.die-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Offline +msgid "printer-state-reasons.die-cutter-offline" +msgstr "" + +#. TRANSLATORS: Die Cutter Opened +msgid "printer-state-reasons.die-cutter-opened" +msgstr "" + +#. TRANSLATORS: Die Cutter Over Temperature +msgid "printer-state-reasons.die-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Power Saver +msgid "printer-state-reasons.die-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Failure +msgid "printer-state-reasons.die-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Storage +msgid "printer-state-reasons.die-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Die Cutter Removed +msgid "printer-state-reasons.die-cutter-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Added +msgid "printer-state-reasons.die-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Removed +msgid "printer-state-reasons.die-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Thermistor Failure +msgid "printer-state-reasons.die-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Timing Failure +msgid "printer-state-reasons.die-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned Off +msgid "printer-state-reasons.die-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned On +msgid "printer-state-reasons.die-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Die Cutter Under Temperature +msgid "printer-state-reasons.die-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Failure +msgid "printer-state-reasons.die-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.die-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Die Cutter Warming Up +msgid "printer-state-reasons.die-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Door Open +msgid "printer-state-reasons.door-open" +msgstr "" + +#. TRANSLATORS: Extruder Cooling +msgid "printer-state-reasons.extruder-cooling" +msgstr "" + +#. TRANSLATORS: Extruder Failure +msgid "printer-state-reasons.extruder-failure" +msgstr "" + +#. TRANSLATORS: Extruder Heating +msgid "printer-state-reasons.extruder-heating" +msgstr "" + +#. TRANSLATORS: Extruder Jam +msgid "printer-state-reasons.extruder-jam" +msgstr "" + +#. TRANSLATORS: Extruder Temperature High +msgid "printer-state-reasons.extruder-temperature-high" +msgstr "" + +#. TRANSLATORS: Extruder Temperature Low +msgid "printer-state-reasons.extruder-temperature-low" +msgstr "" + +#. TRANSLATORS: Fan Failure +msgid "printer-state-reasons.fan-failure" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Almost Over +msgid "printer-state-reasons.fax-modem-life-almost-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Over +msgid "printer-state-reasons.fax-modem-life-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Missing +msgid "printer-state-reasons.fax-modem-missing" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned Off +msgid "printer-state-reasons.fax-modem-turned-off" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned On +msgid "printer-state-reasons.fax-modem-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Added +msgid "printer-state-reasons.folder-added" +msgstr "" + +#. TRANSLATORS: Folder Almost Empty +msgid "printer-state-reasons.folder-almost-empty" +msgstr "" + +#. TRANSLATORS: Folder Almost Full +msgid "printer-state-reasons.folder-almost-full" +msgstr "" + +#. TRANSLATORS: Folder At Limit +msgid "printer-state-reasons.folder-at-limit" +msgstr "" + +#. TRANSLATORS: Folder Closed +msgid "printer-state-reasons.folder-closed" +msgstr "" + +#. TRANSLATORS: Folder Configuration Change +msgid "printer-state-reasons.folder-configuration-change" +msgstr "" + +#. TRANSLATORS: Folder Cover Closed +msgid "printer-state-reasons.folder-cover-closed" +msgstr "" + +#. TRANSLATORS: Folder Cover Open +msgid "printer-state-reasons.folder-cover-open" +msgstr "" + +#. TRANSLATORS: Folder Empty +msgid "printer-state-reasons.folder-empty" +msgstr "" + +#. TRANSLATORS: Folder Full +msgid "printer-state-reasons.folder-full" +msgstr "" + +#. TRANSLATORS: Folder Interlock Closed +msgid "printer-state-reasons.folder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Folder Interlock Open +msgid "printer-state-reasons.folder-interlock-open" +msgstr "" + +#. TRANSLATORS: Folder Jam +msgid "printer-state-reasons.folder-jam" +msgstr "" + +#. TRANSLATORS: Folder Life Almost Over +msgid "printer-state-reasons.folder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Folder Life Over +msgid "printer-state-reasons.folder-life-over" +msgstr "" + +#. TRANSLATORS: Folder Memory Exhausted +msgid "printer-state-reasons.folder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Folder Missing +msgid "printer-state-reasons.folder-missing" +msgstr "" + +#. TRANSLATORS: Folder Motor Failure +msgid "printer-state-reasons.folder-motor-failure" +msgstr "" + +#. TRANSLATORS: Folder Near Limit +msgid "printer-state-reasons.folder-near-limit" +msgstr "" + +#. TRANSLATORS: Folder Offline +msgid "printer-state-reasons.folder-offline" +msgstr "" + +#. TRANSLATORS: Folder Opened +msgid "printer-state-reasons.folder-opened" +msgstr "" + +#. TRANSLATORS: Folder Over Temperature +msgid "printer-state-reasons.folder-over-temperature" +msgstr "" + +#. TRANSLATORS: Folder Power Saver +msgid "printer-state-reasons.folder-power-saver" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Failure +msgid "printer-state-reasons.folder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Storage +msgid "printer-state-reasons.folder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Folder Removed +msgid "printer-state-reasons.folder-removed" +msgstr "" + +#. TRANSLATORS: Folder Resource Added +msgid "printer-state-reasons.folder-resource-added" +msgstr "" + +#. TRANSLATORS: Folder Resource Removed +msgid "printer-state-reasons.folder-resource-removed" +msgstr "" + +#. TRANSLATORS: Folder Thermistor Failure +msgid "printer-state-reasons.folder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Folder Timing Failure +msgid "printer-state-reasons.folder-timing-failure" +msgstr "" + +#. TRANSLATORS: Folder Turned Off +msgid "printer-state-reasons.folder-turned-off" +msgstr "" + +#. TRANSLATORS: Folder Turned On +msgid "printer-state-reasons.folder-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Under Temperature +msgid "printer-state-reasons.folder-under-temperature" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Failure +msgid "printer-state-reasons.folder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Storage Error +msgid "printer-state-reasons.folder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Folder Warming Up +msgid "printer-state-reasons.folder-warming-up" +msgstr "" + +#. TRANSLATORS: Fuser temperature high +msgid "printer-state-reasons.fuser-over-temp" +msgstr "" + +#. TRANSLATORS: Fuser temperature low +msgid "printer-state-reasons.fuser-under-temp" +msgstr "" + +#. TRANSLATORS: Hold New Jobs +msgid "printer-state-reasons.hold-new-jobs" +msgstr "" + +#. TRANSLATORS: Identify Printer +msgid "printer-state-reasons.identify-printer-requested" +msgstr "" + +#. TRANSLATORS: Imprinter Added +msgid "printer-state-reasons.imprinter-added" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Empty +msgid "printer-state-reasons.imprinter-almost-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Full +msgid "printer-state-reasons.imprinter-almost-full" +msgstr "" + +#. TRANSLATORS: Imprinter At Limit +msgid "printer-state-reasons.imprinter-at-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Closed +msgid "printer-state-reasons.imprinter-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Configuration Change +msgid "printer-state-reasons.imprinter-configuration-change" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Closed +msgid "printer-state-reasons.imprinter-cover-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Open +msgid "printer-state-reasons.imprinter-cover-open" +msgstr "" + +#. TRANSLATORS: Imprinter Empty +msgid "printer-state-reasons.imprinter-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Full +msgid "printer-state-reasons.imprinter-full" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Closed +msgid "printer-state-reasons.imprinter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Open +msgid "printer-state-reasons.imprinter-interlock-open" +msgstr "" + +#. TRANSLATORS: Imprinter Jam +msgid "printer-state-reasons.imprinter-jam" +msgstr "" + +#. TRANSLATORS: Imprinter Life Almost Over +msgid "printer-state-reasons.imprinter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Imprinter Life Over +msgid "printer-state-reasons.imprinter-life-over" +msgstr "" + +#. TRANSLATORS: Imprinter Memory Exhausted +msgid "printer-state-reasons.imprinter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Imprinter Missing +msgid "printer-state-reasons.imprinter-missing" +msgstr "" + +#. TRANSLATORS: Imprinter Motor Failure +msgid "printer-state-reasons.imprinter-motor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Near Limit +msgid "printer-state-reasons.imprinter-near-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Offline +msgid "printer-state-reasons.imprinter-offline" +msgstr "" + +#. TRANSLATORS: Imprinter Opened +msgid "printer-state-reasons.imprinter-opened" +msgstr "" + +#. TRANSLATORS: Imprinter Over Temperature +msgid "printer-state-reasons.imprinter-over-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Power Saver +msgid "printer-state-reasons.imprinter-power-saver" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Failure +msgid "printer-state-reasons.imprinter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Storage +msgid "printer-state-reasons.imprinter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Imprinter Removed +msgid "printer-state-reasons.imprinter-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Added +msgid "printer-state-reasons.imprinter-resource-added" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Removed +msgid "printer-state-reasons.imprinter-resource-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Thermistor Failure +msgid "printer-state-reasons.imprinter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Timing Failure +msgid "printer-state-reasons.imprinter-timing-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Turned Off +msgid "printer-state-reasons.imprinter-turned-off" +msgstr "" + +#. TRANSLATORS: Imprinter Turned On +msgid "printer-state-reasons.imprinter-turned-on" +msgstr "" + +#. TRANSLATORS: Imprinter Under Temperature +msgid "printer-state-reasons.imprinter-under-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Failure +msgid "printer-state-reasons.imprinter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Storage Error +msgid "printer-state-reasons.imprinter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Imprinter Warming Up +msgid "printer-state-reasons.imprinter-warming-up" +msgstr "" + +#. TRANSLATORS: Input Cannot Feed Size Selected +msgid "printer-state-reasons.input-cannot-feed-size-selected" +msgstr "" + +#. TRANSLATORS: Input Manual Input Request +msgid "printer-state-reasons.input-manual-input-request" +msgstr "" + +#. TRANSLATORS: Input Media Color Change +msgid "printer-state-reasons.input-media-color-change" +msgstr "" + +#. TRANSLATORS: Input Media Form Parts Change +msgid "printer-state-reasons.input-media-form-parts-change" +msgstr "" + +#. TRANSLATORS: Input Media Size Change +msgid "printer-state-reasons.input-media-size-change" +msgstr "" + +#. TRANSLATORS: Input Media Tray Failure +msgid "printer-state-reasons.input-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Input Media Tray Feed Error +msgid "printer-state-reasons.input-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Input Media Tray Jam +msgid "printer-state-reasons.input-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Input Media Type Change +msgid "printer-state-reasons.input-media-type-change" +msgstr "" + +#. TRANSLATORS: Input Media Weight Change +msgid "printer-state-reasons.input-media-weight-change" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Failure +msgid "printer-state-reasons.input-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Over +msgid "printer-state-reasons.input-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Warn +msgid "printer-state-reasons.input-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Missing +msgid "printer-state-reasons.input-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Elevation Failure +msgid "printer-state-reasons.input-tray-elevation-failure" +msgstr "" + +#. TRANSLATORS: Paper tray is missing +msgid "printer-state-reasons.input-tray-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Position Failure +msgid "printer-state-reasons.input-tray-position-failure" +msgstr "" + +#. TRANSLATORS: Inserter Added +msgid "printer-state-reasons.inserter-added" +msgstr "" + +#. TRANSLATORS: Inserter Almost Empty +msgid "printer-state-reasons.inserter-almost-empty" +msgstr "" + +#. TRANSLATORS: Inserter Almost Full +msgid "printer-state-reasons.inserter-almost-full" +msgstr "" + +#. TRANSLATORS: Inserter At Limit +msgid "printer-state-reasons.inserter-at-limit" +msgstr "" + +#. TRANSLATORS: Inserter Closed +msgid "printer-state-reasons.inserter-closed" +msgstr "" + +#. TRANSLATORS: Inserter Configuration Change +msgid "printer-state-reasons.inserter-configuration-change" +msgstr "" + +#. TRANSLATORS: Inserter Cover Closed +msgid "printer-state-reasons.inserter-cover-closed" +msgstr "" + +#. TRANSLATORS: Inserter Cover Open +msgid "printer-state-reasons.inserter-cover-open" +msgstr "" + +#. TRANSLATORS: Inserter Empty +msgid "printer-state-reasons.inserter-empty" +msgstr "" + +#. TRANSLATORS: Inserter Full +msgid "printer-state-reasons.inserter-full" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Closed +msgid "printer-state-reasons.inserter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Open +msgid "printer-state-reasons.inserter-interlock-open" +msgstr "" + +#. TRANSLATORS: Inserter Jam +msgid "printer-state-reasons.inserter-jam" +msgstr "" + +#. TRANSLATORS: Inserter Life Almost Over +msgid "printer-state-reasons.inserter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Inserter Life Over +msgid "printer-state-reasons.inserter-life-over" +msgstr "" + +#. TRANSLATORS: Inserter Memory Exhausted +msgid "printer-state-reasons.inserter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Inserter Missing +msgid "printer-state-reasons.inserter-missing" +msgstr "" + +#. TRANSLATORS: Inserter Motor Failure +msgid "printer-state-reasons.inserter-motor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Near Limit +msgid "printer-state-reasons.inserter-near-limit" +msgstr "" + +#. TRANSLATORS: Inserter Offline +msgid "printer-state-reasons.inserter-offline" +msgstr "" + +#. TRANSLATORS: Inserter Opened +msgid "printer-state-reasons.inserter-opened" +msgstr "" + +#. TRANSLATORS: Inserter Over Temperature +msgid "printer-state-reasons.inserter-over-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Power Saver +msgid "printer-state-reasons.inserter-power-saver" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Failure +msgid "printer-state-reasons.inserter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Storage +msgid "printer-state-reasons.inserter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Inserter Removed +msgid "printer-state-reasons.inserter-removed" +msgstr "" + +#. TRANSLATORS: Inserter Resource Added +msgid "printer-state-reasons.inserter-resource-added" +msgstr "" + +#. TRANSLATORS: Inserter Resource Removed +msgid "printer-state-reasons.inserter-resource-removed" +msgstr "" + +#. TRANSLATORS: Inserter Thermistor Failure +msgid "printer-state-reasons.inserter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Timing Failure +msgid "printer-state-reasons.inserter-timing-failure" +msgstr "" + +#. TRANSLATORS: Inserter Turned Off +msgid "printer-state-reasons.inserter-turned-off" +msgstr "" + +#. TRANSLATORS: Inserter Turned On +msgid "printer-state-reasons.inserter-turned-on" +msgstr "" + +#. TRANSLATORS: Inserter Under Temperature +msgid "printer-state-reasons.inserter-under-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Failure +msgid "printer-state-reasons.inserter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Storage Error +msgid "printer-state-reasons.inserter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Inserter Warming Up +msgid "printer-state-reasons.inserter-warming-up" +msgstr "" + +#. TRANSLATORS: Interlock Closed +msgid "printer-state-reasons.interlock-closed" +msgstr "" + +#. TRANSLATORS: Interlock Open +msgid "printer-state-reasons.interlock-open" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Added +msgid "printer-state-reasons.interpreter-cartridge-added" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Removed +msgid "printer-state-reasons.interpreter-cartridge-deleted" +msgstr "" + +#. TRANSLATORS: Interpreter Complex Page Encountered +msgid "printer-state-reasons.interpreter-complex-page-encountered" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Decrease +msgid "printer-state-reasons.interpreter-memory-decrease" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Increase +msgid "printer-state-reasons.interpreter-memory-increase" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Added +msgid "printer-state-reasons.interpreter-resource-added" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Deleted +msgid "printer-state-reasons.interpreter-resource-deleted" +msgstr "" + +#. TRANSLATORS: Printer resource unavailable +msgid "printer-state-reasons.interpreter-resource-unavailable" +msgstr "" + +#. TRANSLATORS: Lamp At End of Life +msgid "printer-state-reasons.lamp-at-eol" +msgstr "" + +#. TRANSLATORS: Lamp Failure +msgid "printer-state-reasons.lamp-failure" +msgstr "" + +#. TRANSLATORS: Lamp Near End of Life +msgid "printer-state-reasons.lamp-near-eol" +msgstr "" + +#. TRANSLATORS: Laser At End of Life +msgid "printer-state-reasons.laser-at-eol" +msgstr "" + +#. TRANSLATORS: Laser Failure +msgid "printer-state-reasons.laser-failure" +msgstr "" + +#. TRANSLATORS: Laser Near End of Life +msgid "printer-state-reasons.laser-near-eol" +msgstr "" + +#. TRANSLATORS: Envelope Maker Added +msgid "printer-state-reasons.make-envelope-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Empty +msgid "printer-state-reasons.make-envelope-almost-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Full +msgid "printer-state-reasons.make-envelope-almost-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker At Limit +msgid "printer-state-reasons.make-envelope-at-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Closed +msgid "printer-state-reasons.make-envelope-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Configuration Change +msgid "printer-state-reasons.make-envelope-configuration-change" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Closed +msgid "printer-state-reasons.make-envelope-cover-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Open +msgid "printer-state-reasons.make-envelope-cover-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Empty +msgid "printer-state-reasons.make-envelope-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Full +msgid "printer-state-reasons.make-envelope-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Closed +msgid "printer-state-reasons.make-envelope-interlock-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Open +msgid "printer-state-reasons.make-envelope-interlock-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Jam +msgid "printer-state-reasons.make-envelope-jam" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Almost Over +msgid "printer-state-reasons.make-envelope-life-almost-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Over +msgid "printer-state-reasons.make-envelope-life-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Memory Exhausted +msgid "printer-state-reasons.make-envelope-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Envelope Maker Missing +msgid "printer-state-reasons.make-envelope-missing" +msgstr "" + +#. TRANSLATORS: Envelope Maker Motor Failure +msgid "printer-state-reasons.make-envelope-motor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Near Limit +msgid "printer-state-reasons.make-envelope-near-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Offline +msgid "printer-state-reasons.make-envelope-offline" +msgstr "" + +#. TRANSLATORS: Envelope Maker Opened +msgid "printer-state-reasons.make-envelope-opened" +msgstr "" + +#. TRANSLATORS: Envelope Maker Over Temperature +msgid "printer-state-reasons.make-envelope-over-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Power Saver +msgid "printer-state-reasons.make-envelope-power-saver" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Failure +msgid "printer-state-reasons.make-envelope-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Storage +msgid "printer-state-reasons.make-envelope-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Envelope Maker Removed +msgid "printer-state-reasons.make-envelope-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Added +msgid "printer-state-reasons.make-envelope-resource-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Removed +msgid "printer-state-reasons.make-envelope-resource-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Thermistor Failure +msgid "printer-state-reasons.make-envelope-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Timing Failure +msgid "printer-state-reasons.make-envelope-timing-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned Off +msgid "printer-state-reasons.make-envelope-turned-off" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned On +msgid "printer-state-reasons.make-envelope-turned-on" +msgstr "" + +#. TRANSLATORS: Envelope Maker Under Temperature +msgid "printer-state-reasons.make-envelope-under-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Failure +msgid "printer-state-reasons.make-envelope-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Storage Error +msgid "printer-state-reasons.make-envelope-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Envelope Maker Warming Up +msgid "printer-state-reasons.make-envelope-warming-up" +msgstr "" + +#. TRANSLATORS: Marker Adjusting Print Quality +msgid "printer-state-reasons.marker-adjusting-print-quality" +msgstr "" + +#. TRANSLATORS: Marker Cleaner Missing +msgid "printer-state-reasons.marker-cleaner-missing" +msgstr "" + +#. TRANSLATORS: Marker Developer Almost Empty +msgid "printer-state-reasons.marker-developer-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Empty +msgid "printer-state-reasons.marker-developer-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Missing +msgid "printer-state-reasons.marker-developer-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Missing +msgid "printer-state-reasons.marker-fuser-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Thermistor Failure +msgid "printer-state-reasons.marker-fuser-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Marker Fuser Timing Failure +msgid "printer-state-reasons.marker-fuser-timing-failure" +msgstr "" + +#. TRANSLATORS: Marker Ink Almost Empty +msgid "printer-state-reasons.marker-ink-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Empty +msgid "printer-state-reasons.marker-ink-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Missing +msgid "printer-state-reasons.marker-ink-missing" +msgstr "" + +#. TRANSLATORS: Marker Opc Missing +msgid "printer-state-reasons.marker-opc-missing" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Almost Empty +msgid "printer-state-reasons.marker-print-ribbon-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Empty +msgid "printer-state-reasons.marker-print-ribbon-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Missing +msgid "printer-state-reasons.marker-print-ribbon-missing" +msgstr "" + +#. TRANSLATORS: Marker Supply Almost Empty +msgid "printer-state-reasons.marker-supply-almost-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner empty +msgid "printer-state-reasons.marker-supply-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner low +msgid "printer-state-reasons.marker-supply-low" +msgstr "" + +#. TRANSLATORS: Marker Supply Missing +msgid "printer-state-reasons.marker-supply-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Cartridge Missing +msgid "printer-state-reasons.marker-toner-cartridge-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Missing +msgid "printer-state-reasons.marker-toner-missing" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin almost full +msgid "printer-state-reasons.marker-waste-almost-full" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin full +msgid "printer-state-reasons.marker-waste-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Missing +msgid "printer-state-reasons.marker-waste-ink-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Missing +msgid "printer-state-reasons.marker-waste-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Missing +msgid "printer-state-reasons.marker-waste-toner-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Material Empty +msgid "printer-state-reasons.material-empty" +msgstr "" + +#. TRANSLATORS: Material Low +msgid "printer-state-reasons.material-low" +msgstr "" + +#. TRANSLATORS: Material Needed +msgid "printer-state-reasons.material-needed" +msgstr "" + +#. TRANSLATORS: Media Drying +msgid "printer-state-reasons.media-drying" +msgstr "" + +#. TRANSLATORS: Paper tray is empty +msgid "printer-state-reasons.media-empty" +msgstr "" + +#. TRANSLATORS: Paper jam +msgid "printer-state-reasons.media-jam" +msgstr "" + +#. TRANSLATORS: Paper tray is almost empty +msgid "printer-state-reasons.media-low" +msgstr "" + +#. TRANSLATORS: Load paper +msgid "printer-state-reasons.media-needed" +msgstr "" + +#. TRANSLATORS: Media Path Cannot Do 2-Sided Printing +msgid "printer-state-reasons.media-path-cannot-duplex-media-selected" +msgstr "" + +#. TRANSLATORS: Media Path Failure +msgid "printer-state-reasons.media-path-failure" +msgstr "" + +#. TRANSLATORS: Media Path Input Empty +msgid "printer-state-reasons.media-path-input-empty" +msgstr "" + +#. TRANSLATORS: Media Path Input Feed Error +msgid "printer-state-reasons.media-path-input-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Input Jam +msgid "printer-state-reasons.media-path-input-jam" +msgstr "" + +#. TRANSLATORS: Media Path Input Request +msgid "printer-state-reasons.media-path-input-request" +msgstr "" + +#. TRANSLATORS: Media Path Jam +msgid "printer-state-reasons.media-path-jam" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Almost Full +msgid "printer-state-reasons.media-path-media-tray-almost-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Full +msgid "printer-state-reasons.media-path-media-tray-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Missing +msgid "printer-state-reasons.media-path-media-tray-missing" +msgstr "" + +#. TRANSLATORS: Media Path Output Feed Error +msgid "printer-state-reasons.media-path-output-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Output Full +msgid "printer-state-reasons.media-path-output-full" +msgstr "" + +#. TRANSLATORS: Media Path Output Jam +msgid "printer-state-reasons.media-path-output-jam" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Failure +msgid "printer-state-reasons.media-path-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Over +msgid "printer-state-reasons.media-path-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Warn +msgid "printer-state-reasons.media-path-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Missing +msgid "printer-state-reasons.media-path-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Motor Failure +msgid "printer-state-reasons.motor-failure" +msgstr "" + +#. TRANSLATORS: Printer going offline +msgid "printer-state-reasons.moving-to-paused" +msgstr "" + +#. TRANSLATORS: None +msgid "printer-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Optical Photoconductor Life Over +msgid "printer-state-reasons.opc-life-over" +msgstr "" + +#. TRANSLATORS: OPC almost at end-of-life +msgid "printer-state-reasons.opc-near-eol" +msgstr "" + +#. TRANSLATORS: Check the printer for errors +msgid "printer-state-reasons.other" +msgstr "" + +#. TRANSLATORS: Output bin is almost full +msgid "printer-state-reasons.output-area-almost-full" +msgstr "" + +#. TRANSLATORS: Output bin is full +msgid "printer-state-reasons.output-area-full" +msgstr "" + +#. TRANSLATORS: Output Mailbox Select Failure +msgid "printer-state-reasons.output-mailbox-select-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Failure +msgid "printer-state-reasons.output-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Feed Error +msgid "printer-state-reasons.output-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Output Media Tray Jam +msgid "printer-state-reasons.output-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Output tray is missing +msgid "printer-state-reasons.output-tray-missing" +msgstr "" + +#. TRANSLATORS: Paused +msgid "printer-state-reasons.paused" +msgstr "" + +#. TRANSLATORS: Perforater Added +msgid "printer-state-reasons.perforater-added" +msgstr "" + +#. TRANSLATORS: Perforater Almost Empty +msgid "printer-state-reasons.perforater-almost-empty" +msgstr "" + +#. TRANSLATORS: Perforater Almost Full +msgid "printer-state-reasons.perforater-almost-full" +msgstr "" + +#. TRANSLATORS: Perforater At Limit +msgid "printer-state-reasons.perforater-at-limit" +msgstr "" + +#. TRANSLATORS: Perforater Closed +msgid "printer-state-reasons.perforater-closed" +msgstr "" + +#. TRANSLATORS: Perforater Configuration Change +msgid "printer-state-reasons.perforater-configuration-change" +msgstr "" + +#. TRANSLATORS: Perforater Cover Closed +msgid "printer-state-reasons.perforater-cover-closed" +msgstr "" + +#. TRANSLATORS: Perforater Cover Open +msgid "printer-state-reasons.perforater-cover-open" +msgstr "" + +#. TRANSLATORS: Perforater Empty +msgid "printer-state-reasons.perforater-empty" +msgstr "" + +#. TRANSLATORS: Perforater Full +msgid "printer-state-reasons.perforater-full" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Closed +msgid "printer-state-reasons.perforater-interlock-closed" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Open +msgid "printer-state-reasons.perforater-interlock-open" +msgstr "" + +#. TRANSLATORS: Perforater Jam +msgid "printer-state-reasons.perforater-jam" +msgstr "" + +#. TRANSLATORS: Perforater Life Almost Over +msgid "printer-state-reasons.perforater-life-almost-over" +msgstr "" + +#. TRANSLATORS: Perforater Life Over +msgid "printer-state-reasons.perforater-life-over" +msgstr "" + +#. TRANSLATORS: Perforater Memory Exhausted +msgid "printer-state-reasons.perforater-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Perforater Missing +msgid "printer-state-reasons.perforater-missing" +msgstr "" + +#. TRANSLATORS: Perforater Motor Failure +msgid "printer-state-reasons.perforater-motor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Near Limit +msgid "printer-state-reasons.perforater-near-limit" +msgstr "" + +#. TRANSLATORS: Perforater Offline +msgid "printer-state-reasons.perforater-offline" +msgstr "" + +#. TRANSLATORS: Perforater Opened +msgid "printer-state-reasons.perforater-opened" +msgstr "" + +#. TRANSLATORS: Perforater Over Temperature +msgid "printer-state-reasons.perforater-over-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Power Saver +msgid "printer-state-reasons.perforater-power-saver" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Failure +msgid "printer-state-reasons.perforater-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Storage +msgid "printer-state-reasons.perforater-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Perforater Removed +msgid "printer-state-reasons.perforater-removed" +msgstr "" + +#. TRANSLATORS: Perforater Resource Added +msgid "printer-state-reasons.perforater-resource-added" +msgstr "" + +#. TRANSLATORS: Perforater Resource Removed +msgid "printer-state-reasons.perforater-resource-removed" +msgstr "" + +#. TRANSLATORS: Perforater Thermistor Failure +msgid "printer-state-reasons.perforater-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Timing Failure +msgid "printer-state-reasons.perforater-timing-failure" +msgstr "" + +#. TRANSLATORS: Perforater Turned Off +msgid "printer-state-reasons.perforater-turned-off" +msgstr "" + +#. TRANSLATORS: Perforater Turned On +msgid "printer-state-reasons.perforater-turned-on" +msgstr "" + +#. TRANSLATORS: Perforater Under Temperature +msgid "printer-state-reasons.perforater-under-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Failure +msgid "printer-state-reasons.perforater-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Storage Error +msgid "printer-state-reasons.perforater-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Perforater Warming Up +msgid "printer-state-reasons.perforater-warming-up" +msgstr "" + +#. TRANSLATORS: Platform Cooling +msgid "printer-state-reasons.platform-cooling" +msgstr "" + +#. TRANSLATORS: Platform Failure +msgid "printer-state-reasons.platform-failure" +msgstr "" + +#. TRANSLATORS: Platform Heating +msgid "printer-state-reasons.platform-heating" +msgstr "" + +#. TRANSLATORS: Platform Temperature High +msgid "printer-state-reasons.platform-temperature-high" +msgstr "" + +#. TRANSLATORS: Platform Temperature Low +msgid "printer-state-reasons.platform-temperature-low" +msgstr "" + +#. TRANSLATORS: Power Down +msgid "printer-state-reasons.power-down" +msgstr "" + +#. TRANSLATORS: Power Up +msgid "printer-state-reasons.power-up" +msgstr "" + +#. TRANSLATORS: Printer Reset Manually +msgid "printer-state-reasons.printer-manual-reset" +msgstr "" + +#. TRANSLATORS: Printer Reset Remotely +msgid "printer-state-reasons.printer-nms-reset" +msgstr "" + +#. TRANSLATORS: Printer Ready To Print +msgid "printer-state-reasons.printer-ready-to-print" +msgstr "" + +#. TRANSLATORS: Puncher Added +msgid "printer-state-reasons.puncher-added" +msgstr "" + +#. TRANSLATORS: Puncher Almost Empty +msgid "printer-state-reasons.puncher-almost-empty" +msgstr "" + +#. TRANSLATORS: Puncher Almost Full +msgid "printer-state-reasons.puncher-almost-full" +msgstr "" + +#. TRANSLATORS: Puncher At Limit +msgid "printer-state-reasons.puncher-at-limit" +msgstr "" + +#. TRANSLATORS: Puncher Closed +msgid "printer-state-reasons.puncher-closed" +msgstr "" + +#. TRANSLATORS: Puncher Configuration Change +msgid "printer-state-reasons.puncher-configuration-change" +msgstr "" + +#. TRANSLATORS: Puncher Cover Closed +msgid "printer-state-reasons.puncher-cover-closed" +msgstr "" + +#. TRANSLATORS: Puncher Cover Open +msgid "printer-state-reasons.puncher-cover-open" +msgstr "" + +#. TRANSLATORS: Puncher Empty +msgid "printer-state-reasons.puncher-empty" +msgstr "" + +#. TRANSLATORS: Puncher Full +msgid "printer-state-reasons.puncher-full" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Closed +msgid "printer-state-reasons.puncher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Open +msgid "printer-state-reasons.puncher-interlock-open" +msgstr "" + +#. TRANSLATORS: Puncher Jam +msgid "printer-state-reasons.puncher-jam" +msgstr "" + +#. TRANSLATORS: Puncher Life Almost Over +msgid "printer-state-reasons.puncher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Puncher Life Over +msgid "printer-state-reasons.puncher-life-over" +msgstr "" + +#. TRANSLATORS: Puncher Memory Exhausted +msgid "printer-state-reasons.puncher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Puncher Missing +msgid "printer-state-reasons.puncher-missing" +msgstr "" + +#. TRANSLATORS: Puncher Motor Failure +msgid "printer-state-reasons.puncher-motor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Near Limit +msgid "printer-state-reasons.puncher-near-limit" +msgstr "" + +#. TRANSLATORS: Puncher Offline +msgid "printer-state-reasons.puncher-offline" +msgstr "" + +#. TRANSLATORS: Puncher Opened +msgid "printer-state-reasons.puncher-opened" +msgstr "" + +#. TRANSLATORS: Puncher Over Temperature +msgid "printer-state-reasons.puncher-over-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Power Saver +msgid "printer-state-reasons.puncher-power-saver" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Failure +msgid "printer-state-reasons.puncher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Storage +msgid "printer-state-reasons.puncher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Puncher Removed +msgid "printer-state-reasons.puncher-removed" +msgstr "" + +#. TRANSLATORS: Puncher Resource Added +msgid "printer-state-reasons.puncher-resource-added" +msgstr "" + +#. TRANSLATORS: Puncher Resource Removed +msgid "printer-state-reasons.puncher-resource-removed" +msgstr "" + +#. TRANSLATORS: Puncher Thermistor Failure +msgid "printer-state-reasons.puncher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Timing Failure +msgid "printer-state-reasons.puncher-timing-failure" +msgstr "" + +#. TRANSLATORS: Puncher Turned Off +msgid "printer-state-reasons.puncher-turned-off" +msgstr "" + +#. TRANSLATORS: Puncher Turned On +msgid "printer-state-reasons.puncher-turned-on" +msgstr "" + +#. TRANSLATORS: Puncher Under Temperature +msgid "printer-state-reasons.puncher-under-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Failure +msgid "printer-state-reasons.puncher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Storage Error +msgid "printer-state-reasons.puncher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Puncher Warming Up +msgid "printer-state-reasons.puncher-warming-up" +msgstr "" + +#. TRANSLATORS: Separation Cutter Added +msgid "printer-state-reasons.separation-cutter-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Empty +msgid "printer-state-reasons.separation-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Full +msgid "printer-state-reasons.separation-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter At Limit +msgid "printer-state-reasons.separation-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Closed +msgid "printer-state-reasons.separation-cutter-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Configuration Change +msgid "printer-state-reasons.separation-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Closed +msgid "printer-state-reasons.separation-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Open +msgid "printer-state-reasons.separation-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Empty +msgid "printer-state-reasons.separation-cutter-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Full +msgid "printer-state-reasons.separation-cutter-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Closed +msgid "printer-state-reasons.separation-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Open +msgid "printer-state-reasons.separation-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Jam +msgid "printer-state-reasons.separation-cutter-jam" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Almost Over +msgid "printer-state-reasons.separation-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Over +msgid "printer-state-reasons.separation-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Memory Exhausted +msgid "printer-state-reasons.separation-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Separation Cutter Missing +msgid "printer-state-reasons.separation-cutter-missing" +msgstr "" + +#. TRANSLATORS: Separation Cutter Motor Failure +msgid "printer-state-reasons.separation-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Near Limit +msgid "printer-state-reasons.separation-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Offline +msgid "printer-state-reasons.separation-cutter-offline" +msgstr "" + +#. TRANSLATORS: Separation Cutter Opened +msgid "printer-state-reasons.separation-cutter-opened" +msgstr "" + +#. TRANSLATORS: Separation Cutter Over Temperature +msgid "printer-state-reasons.separation-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Power Saver +msgid "printer-state-reasons.separation-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Failure +msgid "printer-state-reasons.separation-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Storage +msgid "printer-state-reasons.separation-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Separation Cutter Removed +msgid "printer-state-reasons.separation-cutter-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Added +msgid "printer-state-reasons.separation-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Removed +msgid "printer-state-reasons.separation-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Thermistor Failure +msgid "printer-state-reasons.separation-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Timing Failure +msgid "printer-state-reasons.separation-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned Off +msgid "printer-state-reasons.separation-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned On +msgid "printer-state-reasons.separation-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Separation Cutter Under Temperature +msgid "printer-state-reasons.separation-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Failure +msgid "printer-state-reasons.separation-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.separation-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Separation Cutter Warming Up +msgid "printer-state-reasons.separation-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Added +msgid "printer-state-reasons.sheet-rotator-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Empty +msgid "printer-state-reasons.sheet-rotator-almost-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Full +msgid "printer-state-reasons.sheet-rotator-almost-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator At Limit +msgid "printer-state-reasons.sheet-rotator-at-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Closed +msgid "printer-state-reasons.sheet-rotator-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Configuration Change +msgid "printer-state-reasons.sheet-rotator-configuration-change" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Closed +msgid "printer-state-reasons.sheet-rotator-cover-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Open +msgid "printer-state-reasons.sheet-rotator-cover-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Empty +msgid "printer-state-reasons.sheet-rotator-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Full +msgid "printer-state-reasons.sheet-rotator-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Closed +msgid "printer-state-reasons.sheet-rotator-interlock-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Open +msgid "printer-state-reasons.sheet-rotator-interlock-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Jam +msgid "printer-state-reasons.sheet-rotator-jam" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Almost Over +msgid "printer-state-reasons.sheet-rotator-life-almost-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Over +msgid "printer-state-reasons.sheet-rotator-life-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Memory Exhausted +msgid "printer-state-reasons.sheet-rotator-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Missing +msgid "printer-state-reasons.sheet-rotator-missing" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Motor Failure +msgid "printer-state-reasons.sheet-rotator-motor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Near Limit +msgid "printer-state-reasons.sheet-rotator-near-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Offline +msgid "printer-state-reasons.sheet-rotator-offline" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Opened +msgid "printer-state-reasons.sheet-rotator-opened" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Over Temperature +msgid "printer-state-reasons.sheet-rotator-over-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Power Saver +msgid "printer-state-reasons.sheet-rotator-power-saver" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Failure +msgid "printer-state-reasons.sheet-rotator-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Storage +msgid "printer-state-reasons.sheet-rotator-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Removed +msgid "printer-state-reasons.sheet-rotator-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Added +msgid "printer-state-reasons.sheet-rotator-resource-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Removed +msgid "printer-state-reasons.sheet-rotator-resource-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Thermistor Failure +msgid "printer-state-reasons.sheet-rotator-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Timing Failure +msgid "printer-state-reasons.sheet-rotator-timing-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned Off +msgid "printer-state-reasons.sheet-rotator-turned-off" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned On +msgid "printer-state-reasons.sheet-rotator-turned-on" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Under Temperature +msgid "printer-state-reasons.sheet-rotator-under-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Failure +msgid "printer-state-reasons.sheet-rotator-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +msgid "printer-state-reasons.sheet-rotator-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Warming Up +msgid "printer-state-reasons.sheet-rotator-warming-up" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "printer-state-reasons.shutdown" +msgstr "" + +#. TRANSLATORS: Slitter Added +msgid "printer-state-reasons.slitter-added" +msgstr "" + +#. TRANSLATORS: Slitter Almost Empty +msgid "printer-state-reasons.slitter-almost-empty" +msgstr "" + +#. TRANSLATORS: Slitter Almost Full +msgid "printer-state-reasons.slitter-almost-full" +msgstr "" + +#. TRANSLATORS: Slitter At Limit +msgid "printer-state-reasons.slitter-at-limit" +msgstr "" + +#. TRANSLATORS: Slitter Closed +msgid "printer-state-reasons.slitter-closed" +msgstr "" + +#. TRANSLATORS: Slitter Configuration Change +msgid "printer-state-reasons.slitter-configuration-change" +msgstr "" + +#. TRANSLATORS: Slitter Cover Closed +msgid "printer-state-reasons.slitter-cover-closed" +msgstr "" + +#. TRANSLATORS: Slitter Cover Open +msgid "printer-state-reasons.slitter-cover-open" +msgstr "" + +#. TRANSLATORS: Slitter Empty +msgid "printer-state-reasons.slitter-empty" +msgstr "" + +#. TRANSLATORS: Slitter Full +msgid "printer-state-reasons.slitter-full" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Closed +msgid "printer-state-reasons.slitter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Open +msgid "printer-state-reasons.slitter-interlock-open" +msgstr "" + +#. TRANSLATORS: Slitter Jam +msgid "printer-state-reasons.slitter-jam" +msgstr "" + +#. TRANSLATORS: Slitter Life Almost Over +msgid "printer-state-reasons.slitter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Slitter Life Over +msgid "printer-state-reasons.slitter-life-over" +msgstr "" + +#. TRANSLATORS: Slitter Memory Exhausted +msgid "printer-state-reasons.slitter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Slitter Missing +msgid "printer-state-reasons.slitter-missing" +msgstr "" + +#. TRANSLATORS: Slitter Motor Failure +msgid "printer-state-reasons.slitter-motor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Near Limit +msgid "printer-state-reasons.slitter-near-limit" +msgstr "" + +#. TRANSLATORS: Slitter Offline +msgid "printer-state-reasons.slitter-offline" +msgstr "" + +#. TRANSLATORS: Slitter Opened +msgid "printer-state-reasons.slitter-opened" +msgstr "" + +#. TRANSLATORS: Slitter Over Temperature +msgid "printer-state-reasons.slitter-over-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Power Saver +msgid "printer-state-reasons.slitter-power-saver" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Failure +msgid "printer-state-reasons.slitter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Storage +msgid "printer-state-reasons.slitter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Slitter Removed +msgid "printer-state-reasons.slitter-removed" +msgstr "" + +#. TRANSLATORS: Slitter Resource Added +msgid "printer-state-reasons.slitter-resource-added" +msgstr "" + +#. TRANSLATORS: Slitter Resource Removed +msgid "printer-state-reasons.slitter-resource-removed" +msgstr "" + +#. TRANSLATORS: Slitter Thermistor Failure +msgid "printer-state-reasons.slitter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Timing Failure +msgid "printer-state-reasons.slitter-timing-failure" +msgstr "" + +#. TRANSLATORS: Slitter Turned Off +msgid "printer-state-reasons.slitter-turned-off" +msgstr "" + +#. TRANSLATORS: Slitter Turned On +msgid "printer-state-reasons.slitter-turned-on" +msgstr "" + +#. TRANSLATORS: Slitter Under Temperature +msgid "printer-state-reasons.slitter-under-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Failure +msgid "printer-state-reasons.slitter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Storage Error +msgid "printer-state-reasons.slitter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Slitter Warming Up +msgid "printer-state-reasons.slitter-warming-up" +msgstr "" + +#. TRANSLATORS: Spool Area Full +msgid "printer-state-reasons.spool-area-full" +msgstr "" + +#. TRANSLATORS: Stacker Added +msgid "printer-state-reasons.stacker-added" +msgstr "" + +#. TRANSLATORS: Stacker Almost Empty +msgid "printer-state-reasons.stacker-almost-empty" +msgstr "" + +#. TRANSLATORS: Stacker Almost Full +msgid "printer-state-reasons.stacker-almost-full" +msgstr "" + +#. TRANSLATORS: Stacker At Limit +msgid "printer-state-reasons.stacker-at-limit" +msgstr "" + +#. TRANSLATORS: Stacker Closed +msgid "printer-state-reasons.stacker-closed" +msgstr "" + +#. TRANSLATORS: Stacker Configuration Change +msgid "printer-state-reasons.stacker-configuration-change" +msgstr "" + +#. TRANSLATORS: Stacker Cover Closed +msgid "printer-state-reasons.stacker-cover-closed" +msgstr "" + +#. TRANSLATORS: Stacker Cover Open +msgid "printer-state-reasons.stacker-cover-open" +msgstr "" + +#. TRANSLATORS: Stacker Empty +msgid "printer-state-reasons.stacker-empty" +msgstr "" + +#. TRANSLATORS: Stacker Full +msgid "printer-state-reasons.stacker-full" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Closed +msgid "printer-state-reasons.stacker-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Open +msgid "printer-state-reasons.stacker-interlock-open" +msgstr "" + +#. TRANSLATORS: Stacker Jam +msgid "printer-state-reasons.stacker-jam" +msgstr "" + +#. TRANSLATORS: Stacker Life Almost Over +msgid "printer-state-reasons.stacker-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stacker Life Over +msgid "printer-state-reasons.stacker-life-over" +msgstr "" + +#. TRANSLATORS: Stacker Memory Exhausted +msgid "printer-state-reasons.stacker-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stacker Missing +msgid "printer-state-reasons.stacker-missing" +msgstr "" + +#. TRANSLATORS: Stacker Motor Failure +msgid "printer-state-reasons.stacker-motor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Near Limit +msgid "printer-state-reasons.stacker-near-limit" +msgstr "" + +#. TRANSLATORS: Stacker Offline +msgid "printer-state-reasons.stacker-offline" +msgstr "" + +#. TRANSLATORS: Stacker Opened +msgid "printer-state-reasons.stacker-opened" +msgstr "" + +#. TRANSLATORS: Stacker Over Temperature +msgid "printer-state-reasons.stacker-over-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Power Saver +msgid "printer-state-reasons.stacker-power-saver" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Failure +msgid "printer-state-reasons.stacker-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Storage +msgid "printer-state-reasons.stacker-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stacker Removed +msgid "printer-state-reasons.stacker-removed" +msgstr "" + +#. TRANSLATORS: Stacker Resource Added +msgid "printer-state-reasons.stacker-resource-added" +msgstr "" + +#. TRANSLATORS: Stacker Resource Removed +msgid "printer-state-reasons.stacker-resource-removed" +msgstr "" + +#. TRANSLATORS: Stacker Thermistor Failure +msgid "printer-state-reasons.stacker-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Timing Failure +msgid "printer-state-reasons.stacker-timing-failure" +msgstr "" + +#. TRANSLATORS: Stacker Turned Off +msgid "printer-state-reasons.stacker-turned-off" +msgstr "" + +#. TRANSLATORS: Stacker Turned On +msgid "printer-state-reasons.stacker-turned-on" +msgstr "" + +#. TRANSLATORS: Stacker Under Temperature +msgid "printer-state-reasons.stacker-under-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Failure +msgid "printer-state-reasons.stacker-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Storage Error +msgid "printer-state-reasons.stacker-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stacker Warming Up +msgid "printer-state-reasons.stacker-warming-up" +msgstr "" + +#. TRANSLATORS: Stapler Added +msgid "printer-state-reasons.stapler-added" +msgstr "" + +#. TRANSLATORS: Stapler Almost Empty +msgid "printer-state-reasons.stapler-almost-empty" +msgstr "" + +#. TRANSLATORS: Stapler Almost Full +msgid "printer-state-reasons.stapler-almost-full" +msgstr "" + +#. TRANSLATORS: Stapler At Limit +msgid "printer-state-reasons.stapler-at-limit" +msgstr "" + +#. TRANSLATORS: Stapler Closed +msgid "printer-state-reasons.stapler-closed" +msgstr "" + +#. TRANSLATORS: Stapler Configuration Change +msgid "printer-state-reasons.stapler-configuration-change" +msgstr "" + +#. TRANSLATORS: Stapler Cover Closed +msgid "printer-state-reasons.stapler-cover-closed" +msgstr "" + +#. TRANSLATORS: Stapler Cover Open +msgid "printer-state-reasons.stapler-cover-open" +msgstr "" + +#. TRANSLATORS: Stapler Empty +msgid "printer-state-reasons.stapler-empty" +msgstr "" + +#. TRANSLATORS: Stapler Full +msgid "printer-state-reasons.stapler-full" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Closed +msgid "printer-state-reasons.stapler-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Open +msgid "printer-state-reasons.stapler-interlock-open" +msgstr "" + +#. TRANSLATORS: Stapler Jam +msgid "printer-state-reasons.stapler-jam" +msgstr "" + +#. TRANSLATORS: Stapler Life Almost Over +msgid "printer-state-reasons.stapler-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stapler Life Over +msgid "printer-state-reasons.stapler-life-over" +msgstr "" + +#. TRANSLATORS: Stapler Memory Exhausted +msgid "printer-state-reasons.stapler-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stapler Missing +msgid "printer-state-reasons.stapler-missing" +msgstr "" + +#. TRANSLATORS: Stapler Motor Failure +msgid "printer-state-reasons.stapler-motor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Near Limit +msgid "printer-state-reasons.stapler-near-limit" +msgstr "" + +#. TRANSLATORS: Stapler Offline +msgid "printer-state-reasons.stapler-offline" +msgstr "" + +#. TRANSLATORS: Stapler Opened +msgid "printer-state-reasons.stapler-opened" +msgstr "" + +#. TRANSLATORS: Stapler Over Temperature +msgid "printer-state-reasons.stapler-over-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Power Saver +msgid "printer-state-reasons.stapler-power-saver" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Failure +msgid "printer-state-reasons.stapler-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Storage +msgid "printer-state-reasons.stapler-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stapler Removed +msgid "printer-state-reasons.stapler-removed" +msgstr "" + +#. TRANSLATORS: Stapler Resource Added +msgid "printer-state-reasons.stapler-resource-added" +msgstr "" + +#. TRANSLATORS: Stapler Resource Removed +msgid "printer-state-reasons.stapler-resource-removed" +msgstr "" + +#. TRANSLATORS: Stapler Thermistor Failure +msgid "printer-state-reasons.stapler-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Timing Failure +msgid "printer-state-reasons.stapler-timing-failure" +msgstr "" + +#. TRANSLATORS: Stapler Turned Off +msgid "printer-state-reasons.stapler-turned-off" +msgstr "" + +#. TRANSLATORS: Stapler Turned On +msgid "printer-state-reasons.stapler-turned-on" +msgstr "" + +#. TRANSLATORS: Stapler Under Temperature +msgid "printer-state-reasons.stapler-under-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Failure +msgid "printer-state-reasons.stapler-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Storage Error +msgid "printer-state-reasons.stapler-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stapler Warming Up +msgid "printer-state-reasons.stapler-warming-up" +msgstr "" + +#. TRANSLATORS: Stitcher Added +msgid "printer-state-reasons.stitcher-added" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Empty +msgid "printer-state-reasons.stitcher-almost-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Full +msgid "printer-state-reasons.stitcher-almost-full" +msgstr "" + +#. TRANSLATORS: Stitcher At Limit +msgid "printer-state-reasons.stitcher-at-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Closed +msgid "printer-state-reasons.stitcher-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Configuration Change +msgid "printer-state-reasons.stitcher-configuration-change" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Closed +msgid "printer-state-reasons.stitcher-cover-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Open +msgid "printer-state-reasons.stitcher-cover-open" +msgstr "" + +#. TRANSLATORS: Stitcher Empty +msgid "printer-state-reasons.stitcher-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Full +msgid "printer-state-reasons.stitcher-full" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Closed +msgid "printer-state-reasons.stitcher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Open +msgid "printer-state-reasons.stitcher-interlock-open" +msgstr "" + +#. TRANSLATORS: Stitcher Jam +msgid "printer-state-reasons.stitcher-jam" +msgstr "" + +#. TRANSLATORS: Stitcher Life Almost Over +msgid "printer-state-reasons.stitcher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stitcher Life Over +msgid "printer-state-reasons.stitcher-life-over" +msgstr "" + +#. TRANSLATORS: Stitcher Memory Exhausted +msgid "printer-state-reasons.stitcher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stitcher Missing +msgid "printer-state-reasons.stitcher-missing" +msgstr "" + +#. TRANSLATORS: Stitcher Motor Failure +msgid "printer-state-reasons.stitcher-motor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Near Limit +msgid "printer-state-reasons.stitcher-near-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Offline +msgid "printer-state-reasons.stitcher-offline" +msgstr "" + +#. TRANSLATORS: Stitcher Opened +msgid "printer-state-reasons.stitcher-opened" +msgstr "" + +#. TRANSLATORS: Stitcher Over Temperature +msgid "printer-state-reasons.stitcher-over-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Power Saver +msgid "printer-state-reasons.stitcher-power-saver" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Failure +msgid "printer-state-reasons.stitcher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Storage +msgid "printer-state-reasons.stitcher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stitcher Removed +msgid "printer-state-reasons.stitcher-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Added +msgid "printer-state-reasons.stitcher-resource-added" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Removed +msgid "printer-state-reasons.stitcher-resource-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Thermistor Failure +msgid "printer-state-reasons.stitcher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Timing Failure +msgid "printer-state-reasons.stitcher-timing-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Turned Off +msgid "printer-state-reasons.stitcher-turned-off" +msgstr "" + +#. TRANSLATORS: Stitcher Turned On +msgid "printer-state-reasons.stitcher-turned-on" +msgstr "" + +#. TRANSLATORS: Stitcher Under Temperature +msgid "printer-state-reasons.stitcher-under-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Failure +msgid "printer-state-reasons.stitcher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Storage Error +msgid "printer-state-reasons.stitcher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stitcher Warming Up +msgid "printer-state-reasons.stitcher-warming-up" +msgstr "" + +#. TRANSLATORS: Partially stopped +msgid "printer-state-reasons.stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "printer-state-reasons.stopping" +msgstr "" + +#. TRANSLATORS: Subunit Added +msgid "printer-state-reasons.subunit-added" +msgstr "" + +#. TRANSLATORS: Subunit Almost Empty +msgid "printer-state-reasons.subunit-almost-empty" +msgstr "" + +#. TRANSLATORS: Subunit Almost Full +msgid "printer-state-reasons.subunit-almost-full" +msgstr "" + +#. TRANSLATORS: Subunit At Limit +msgid "printer-state-reasons.subunit-at-limit" +msgstr "" + +#. TRANSLATORS: Subunit Closed +msgid "printer-state-reasons.subunit-closed" +msgstr "" + +#. TRANSLATORS: Subunit Cooling Down +msgid "printer-state-reasons.subunit-cooling-down" +msgstr "" + +#. TRANSLATORS: Subunit Empty +msgid "printer-state-reasons.subunit-empty" +msgstr "" + +#. TRANSLATORS: Subunit Full +msgid "printer-state-reasons.subunit-full" +msgstr "" + +#. TRANSLATORS: Subunit Life Almost Over +msgid "printer-state-reasons.subunit-life-almost-over" +msgstr "" + +#. TRANSLATORS: Subunit Life Over +msgid "printer-state-reasons.subunit-life-over" +msgstr "" + +#. TRANSLATORS: Subunit Memory Exhausted +msgid "printer-state-reasons.subunit-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Subunit Missing +msgid "printer-state-reasons.subunit-missing" +msgstr "" + +#. TRANSLATORS: Subunit Motor Failure +msgid "printer-state-reasons.subunit-motor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Near Limit +msgid "printer-state-reasons.subunit-near-limit" +msgstr "" + +#. TRANSLATORS: Subunit Offline +msgid "printer-state-reasons.subunit-offline" +msgstr "" + +#. TRANSLATORS: Subunit Opened +msgid "printer-state-reasons.subunit-opened" +msgstr "" + +#. TRANSLATORS: Subunit Over Temperature +msgid "printer-state-reasons.subunit-over-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Power Saver +msgid "printer-state-reasons.subunit-power-saver" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Failure +msgid "printer-state-reasons.subunit-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Storage +msgid "printer-state-reasons.subunit-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Removed +msgid "printer-state-reasons.subunit-removed" +msgstr "" + +#. TRANSLATORS: Subunit Resource Added +msgid "printer-state-reasons.subunit-resource-added" +msgstr "" + +#. TRANSLATORS: Subunit Resource Removed +msgid "printer-state-reasons.subunit-resource-removed" +msgstr "" + +#. TRANSLATORS: Subunit Thermistor Failure +msgid "printer-state-reasons.subunit-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Timing Failure +msgid "printer-state-reasons.subunit-timing-Failure" +msgstr "" + +#. TRANSLATORS: Subunit Turned Off +msgid "printer-state-reasons.subunit-turned-off" +msgstr "" + +#. TRANSLATORS: Subunit Turned On +msgid "printer-state-reasons.subunit-turned-on" +msgstr "" + +#. TRANSLATORS: Subunit Under Temperature +msgid "printer-state-reasons.subunit-under-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Failure +msgid "printer-state-reasons.subunit-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Storage +msgid "printer-state-reasons.subunit-unrecoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Warming Up +msgid "printer-state-reasons.subunit-warming-up" +msgstr "" + +#. TRANSLATORS: Printer stopped responding +msgid "printer-state-reasons.timed-out" +msgstr "" + +#. TRANSLATORS: Out of toner +msgid "printer-state-reasons.toner-empty" +msgstr "" + +#. TRANSLATORS: Toner low +msgid "printer-state-reasons.toner-low" +msgstr "" + +#. TRANSLATORS: Trimmer Added +msgid "printer-state-reasons.trimmer-added" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Empty +msgid "printer-state-reasons.trimmer-almost-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Full +msgid "printer-state-reasons.trimmer-almost-full" +msgstr "" + +#. TRANSLATORS: Trimmer At Limit +msgid "printer-state-reasons.trimmer-at-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Closed +msgid "printer-state-reasons.trimmer-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Configuration Change +msgid "printer-state-reasons.trimmer-configuration-change" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Closed +msgid "printer-state-reasons.trimmer-cover-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Open +msgid "printer-state-reasons.trimmer-cover-open" +msgstr "" + +#. TRANSLATORS: Trimmer Empty +msgid "printer-state-reasons.trimmer-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Full +msgid "printer-state-reasons.trimmer-full" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Closed +msgid "printer-state-reasons.trimmer-interlock-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Open +msgid "printer-state-reasons.trimmer-interlock-open" +msgstr "" + +#. TRANSLATORS: Trimmer Jam +msgid "printer-state-reasons.trimmer-jam" +msgstr "" + +#. TRANSLATORS: Trimmer Life Almost Over +msgid "printer-state-reasons.trimmer-life-almost-over" +msgstr "" + +#. TRANSLATORS: Trimmer Life Over +msgid "printer-state-reasons.trimmer-life-over" +msgstr "" + +#. TRANSLATORS: Trimmer Memory Exhausted +msgid "printer-state-reasons.trimmer-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Trimmer Missing +msgid "printer-state-reasons.trimmer-missing" +msgstr "" + +#. TRANSLATORS: Trimmer Motor Failure +msgid "printer-state-reasons.trimmer-motor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Near Limit +msgid "printer-state-reasons.trimmer-near-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Offline +msgid "printer-state-reasons.trimmer-offline" +msgstr "" + +#. TRANSLATORS: Trimmer Opened +msgid "printer-state-reasons.trimmer-opened" +msgstr "" + +#. TRANSLATORS: Trimmer Over Temperature +msgid "printer-state-reasons.trimmer-over-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Power Saver +msgid "printer-state-reasons.trimmer-power-saver" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Failure +msgid "printer-state-reasons.trimmer-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Storage +msgid "printer-state-reasons.trimmer-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Trimmer Removed +msgid "printer-state-reasons.trimmer-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Added +msgid "printer-state-reasons.trimmer-resource-added" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Removed +msgid "printer-state-reasons.trimmer-resource-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Thermistor Failure +msgid "printer-state-reasons.trimmer-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Timing Failure +msgid "printer-state-reasons.trimmer-timing-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Turned Off +msgid "printer-state-reasons.trimmer-turned-off" +msgstr "" + +#. TRANSLATORS: Trimmer Turned On +msgid "printer-state-reasons.trimmer-turned-on" +msgstr "" + +#. TRANSLATORS: Trimmer Under Temperature +msgid "printer-state-reasons.trimmer-under-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Failure +msgid "printer-state-reasons.trimmer-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Storage Error +msgid "printer-state-reasons.trimmer-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Trimmer Warming Up +msgid "printer-state-reasons.trimmer-warming-up" +msgstr "" + +#. TRANSLATORS: Unknown +msgid "printer-state-reasons.unknown" +msgstr "" + +#. TRANSLATORS: Wrapper Added +msgid "printer-state-reasons.wrapper-added" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Empty +msgid "printer-state-reasons.wrapper-almost-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Full +msgid "printer-state-reasons.wrapper-almost-full" +msgstr "" + +#. TRANSLATORS: Wrapper At Limit +msgid "printer-state-reasons.wrapper-at-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Closed +msgid "printer-state-reasons.wrapper-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Configuration Change +msgid "printer-state-reasons.wrapper-configuration-change" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Closed +msgid "printer-state-reasons.wrapper-cover-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Open +msgid "printer-state-reasons.wrapper-cover-open" +msgstr "" + +#. TRANSLATORS: Wrapper Empty +msgid "printer-state-reasons.wrapper-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Full +msgid "printer-state-reasons.wrapper-full" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Closed +msgid "printer-state-reasons.wrapper-interlock-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Open +msgid "printer-state-reasons.wrapper-interlock-open" +msgstr "" + +#. TRANSLATORS: Wrapper Jam +msgid "printer-state-reasons.wrapper-jam" +msgstr "" + +#. TRANSLATORS: Wrapper Life Almost Over +msgid "printer-state-reasons.wrapper-life-almost-over" +msgstr "" + +#. TRANSLATORS: Wrapper Life Over +msgid "printer-state-reasons.wrapper-life-over" +msgstr "" + +#. TRANSLATORS: Wrapper Memory Exhausted +msgid "printer-state-reasons.wrapper-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Wrapper Missing +msgid "printer-state-reasons.wrapper-missing" +msgstr "" + +#. TRANSLATORS: Wrapper Motor Failure +msgid "printer-state-reasons.wrapper-motor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Near Limit +msgid "printer-state-reasons.wrapper-near-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Offline +msgid "printer-state-reasons.wrapper-offline" +msgstr "" + +#. TRANSLATORS: Wrapper Opened +msgid "printer-state-reasons.wrapper-opened" +msgstr "" + +#. TRANSLATORS: Wrapper Over Temperature +msgid "printer-state-reasons.wrapper-over-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Power Saver +msgid "printer-state-reasons.wrapper-power-saver" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Failure +msgid "printer-state-reasons.wrapper-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Storage +msgid "printer-state-reasons.wrapper-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Wrapper Removed +msgid "printer-state-reasons.wrapper-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Added +msgid "printer-state-reasons.wrapper-resource-added" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Removed +msgid "printer-state-reasons.wrapper-resource-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Thermistor Failure +msgid "printer-state-reasons.wrapper-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Timing Failure +msgid "printer-state-reasons.wrapper-timing-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Turned Off +msgid "printer-state-reasons.wrapper-turned-off" +msgstr "" + +#. TRANSLATORS: Wrapper Turned On +msgid "printer-state-reasons.wrapper-turned-on" +msgstr "" + +#. TRANSLATORS: Wrapper Under Temperature +msgid "printer-state-reasons.wrapper-under-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Failure +msgid "printer-state-reasons.wrapper-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Storage Error +msgid "printer-state-reasons.wrapper-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Wrapper Warming Up +msgid "printer-state-reasons.wrapper-warming-up" +msgstr "" + +#. TRANSLATORS: Idle +msgid "printer-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "printer-state.4" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "printer-state.5" +msgstr "" + +#. TRANSLATORS: Printer Uptime +msgid "printer-up-time" +msgstr "" + +msgid "processing" +msgstr "in Verarbeitung" + +#. TRANSLATORS: Proof Print +msgid "proof-print" +msgstr "" + +#. TRANSLATORS: Proof Print Copies +msgid "proof-print-copies" +msgstr "" + +#. TRANSLATORS: Punching +msgid "punching" +msgstr "" + +#. TRANSLATORS: Punching Locations +msgid "punching-locations" +msgstr "" + +#. TRANSLATORS: Punching Offset +msgid "punching-offset" +msgstr "" + +#. TRANSLATORS: Punch Edge +msgid "punching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "punching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "punching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "punching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "punching-reference-edge.top" +msgstr "" + +#, c-format +msgid "request id is %s-%d (%d file(s))" +msgstr "Anfrage-ID ist %s-%d (%d Datei(en))" + +msgid "request-id uses indefinite length" +msgstr "Anfrage-ID hat unbestimmte Länge" + +#. TRANSLATORS: Requested Attributes +msgid "requested-attributes" +msgstr "" + +#. TRANSLATORS: Retry Interval +msgid "retry-interval" +msgstr "" + +#. TRANSLATORS: Retry Timeout +msgid "retry-time-out" +msgstr "" + +#. TRANSLATORS: Save Disposition +msgid "save-disposition" +msgstr "" + +#. TRANSLATORS: None +msgid "save-disposition.none" +msgstr "" + +#. TRANSLATORS: Print and Save +msgid "save-disposition.print-save" +msgstr "" + +#. TRANSLATORS: Save Only +msgid "save-disposition.save-only" +msgstr "" + +#. TRANSLATORS: Save Document Format +msgid "save-document-format" +msgstr "" + +#. TRANSLATORS: Save Info +msgid "save-info" +msgstr "" + +#. TRANSLATORS: Save Location +msgid "save-location" +msgstr "" + +#. TRANSLATORS: Save Name +msgid "save-name" +msgstr "" + +msgid "scheduler is not running" +msgstr "Zeitplandienst läuft nicht" + +msgid "scheduler is running" +msgstr "Zeitplandienst läuft" + +#. TRANSLATORS: Separator Sheets +msgid "separator-sheets" +msgstr "" + +#. TRANSLATORS: Type of Separator Sheets +msgid "separator-sheets-type" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "separator-sheets-type.both-sheets" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "separator-sheets-type.end-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "separator-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Slip Sheets +msgid "separator-sheets-type.slip-sheets" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "separator-sheets-type.start-sheet" +msgstr "" + +#. TRANSLATORS: 2-Sided Printing +msgid "sides" +msgstr "" + +#. TRANSLATORS: Off +msgid "sides.one-sided" +msgstr "" + +#. TRANSLATORS: On (Portrait) +msgid "sides.two-sided-long-edge" +msgstr "" + +#. TRANSLATORS: On (Landscape) +msgid "sides.two-sided-short-edge" +msgstr "" + +#, c-format +msgid "stat of %s failed: %s" +msgstr "Status von %s fehlgeschlagen: %s" + +msgid "status\t\tShow status of daemon and queue." +msgstr "status\t\tStatus von Dienst und Warteschlange anzeigen." + +#. TRANSLATORS: Status Message +msgid "status-message" +msgstr "" + +#. TRANSLATORS: Staple +msgid "stitching" +msgstr "" + +#. TRANSLATORS: Stitching Angle +msgid "stitching-angle" +msgstr "" + +#. TRANSLATORS: Stitching Locations +msgid "stitching-locations" +msgstr "" + +#. TRANSLATORS: Staple Method +msgid "stitching-method" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "stitching-method.auto" +msgstr "" + +#. TRANSLATORS: Crimp +msgid "stitching-method.crimp" +msgstr "" + +#. TRANSLATORS: Wire +msgid "stitching-method.wire" +msgstr "" + +#. TRANSLATORS: Stitching Offset +msgid "stitching-offset" +msgstr "" + +#. TRANSLATORS: Staple Edge +msgid "stitching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "stitching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "stitching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "stitching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "stitching-reference-edge.top" +msgstr "" + +msgid "stopped" +msgstr "angehalten" + +#. TRANSLATORS: Subject +msgid "subject" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Attributes +msgid "subscription-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Subscription Description +msgid "subscription-privacy-attributes.subscription-description" +msgstr "" + +#. TRANSLATORS: Subscription Template +msgid "subscription-privacy-attributes.subscription-template" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Scope +msgid "subscription-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "subscription-privacy-scope.owner" +msgstr "" + +#, c-format +msgid "system default destination: %s" +msgstr "systemvoreingestelltes Ziel: %s" + +#, c-format +msgid "system default destination: %s/%s" +msgstr "systemvoreingestelltes Ziel: %s/%s" + +#. TRANSLATORS: T33 Subaddress +msgid "t33-subaddress" +msgstr "T33 Subaddress" + +#. TRANSLATORS: To Name +msgid "to-name" +msgstr "" + +#. TRANSLATORS: Transmission Status +msgid "transmission-status" +msgstr "" + +#. TRANSLATORS: Pending +msgid "transmission-status.3" +msgstr "" + +#. TRANSLATORS: Pending Retry +msgid "transmission-status.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "transmission-status.5" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "transmission-status.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "transmission-status.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "transmission-status.9" +msgstr "" + +#. TRANSLATORS: Cut +msgid "trimming" +msgstr "" + +#. TRANSLATORS: Cut Position +msgid "trimming-offset" +msgstr "" + +#. TRANSLATORS: Cut Edge +msgid "trimming-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "trimming-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "trimming-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "trimming-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "trimming-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Type of Cut +msgid "trimming-type" +msgstr "" + +#. TRANSLATORS: Draw Line +msgid "trimming-type.draw-line" +msgstr "" + +#. TRANSLATORS: Full +msgid "trimming-type.full" +msgstr "" + +#. TRANSLATORS: Partial +msgid "trimming-type.partial" +msgstr "" + +#. TRANSLATORS: Perforate +msgid "trimming-type.perforate" +msgstr "" + +#. TRANSLATORS: Score +msgid "trimming-type.score" +msgstr "" + +#. TRANSLATORS: Tab +msgid "trimming-type.tab" +msgstr "" + +#. TRANSLATORS: Cut After +msgid "trimming-when" +msgstr "" + +#. TRANSLATORS: Every Document +msgid "trimming-when.after-documents" +msgstr "" + +#. TRANSLATORS: Job +msgid "trimming-when.after-job" +msgstr "" + +#. TRANSLATORS: Every Set +msgid "trimming-when.after-sets" +msgstr "" + +#. TRANSLATORS: Every Page +msgid "trimming-when.after-sheets" +msgstr "" + +msgid "unknown" +msgstr "Unbekannt" + +msgid "untitled" +msgstr "Ohne Titel" + +msgid "variable-bindings uses indefinite length" +msgstr "variable-bindings hat unbestimmte Länge" + +#. TRANSLATORS: X Accuracy +msgid "x-accuracy" +msgstr "" + +#. TRANSLATORS: X Dimension +msgid "x-dimension" +msgstr "" + +#. TRANSLATORS: X Offset +msgid "x-offset" +msgstr "" + +#. TRANSLATORS: X Origin +msgid "x-origin" +msgstr "" + +#. TRANSLATORS: Y Accuracy +msgid "y-accuracy" +msgstr "" + +#. TRANSLATORS: Y Dimension +msgid "y-dimension" +msgstr "" + +#. TRANSLATORS: Y Offset +msgid "y-offset" +msgstr "" + +#. TRANSLATORS: Y Origin +msgid "y-origin" +msgstr "" + +#. TRANSLATORS: Z Accuracy +msgid "z-accuracy" +msgstr "" + +#. TRANSLATORS: Z Dimension +msgid "z-dimension" +msgstr "" + +#. TRANSLATORS: Z Offset +msgid "z-offset" +msgstr "" + +msgid "{service_domain} Domain name" +msgstr "" + +msgid "{service_hostname} Fully-qualified domain name" +msgstr "" + +msgid "{service_name} Service instance name" +msgstr "" + +msgid "{service_port} Port number" +msgstr "" + +msgid "{service_regtype} DNS-SD registration type" +msgstr "" + +msgid "{service_scheme} URI scheme" +msgstr "" + +msgid "{service_uri} URI" +msgstr "" + +msgid "{txt_*} Value of TXT record key" +msgstr "" + +msgid "{} URI" +msgstr "" + +msgid "~/.cups/lpoptions file names default destination that does not exist." +msgstr "" + +#~ msgid "A Samba password is required to export printer drivers" +#~ msgstr "" +#~ "Ein Samba-Passwort ist erforderlich, um Druckertreiber zu exportieren" + +#~ msgid "A Samba username is required to export printer drivers" +#~ msgstr "" +#~ "Ein Samba-Benutzername ist erforderlich, um Druckertreiber zu exportieren" + +#~ msgid "Export Printers to Samba" +#~ msgstr "Drucker zu Samba exportieren" + +#~ msgid "cupsctl: Cannot set Listen or Port directly." +#~ msgstr "cupsctl: Kann nicht direkt auf dem Port hören." + +#~ msgid "lpadmin: Unable to open PPD file \"%s\" - %s" +#~ msgstr "lpadmin: Kann PPD Datei \"%s\" - %s nicht öffnen" diff --git a/locale/cups_en.po b/locale/cups_en.po new file mode 100644 index 0000000..fdb34d6 --- /dev/null +++ b/locale/cups_en.po @@ -0,0 +1,15212 @@ +# +# English message catalog for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 2005-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +# +# Notes for Translators: +# +# The "checkpo" program located in the "locale" source directory can be used +# to verify that your translations do not introduce formatting errors or other +# problems. Run with: +# +# cd locale +# ./checkpo cups_LL.po +# +# where "LL" is your locale. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: CUPS 2.3.0\n" +"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n" +"POT-Creation-Date: 2019-08-23 09:13-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: English\n" +"Language: en\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "\t\t(all)" +msgstr "\t\t(all)" + +msgid "\t\t(none)" +msgstr "\t\t(none)" + +#, c-format +msgid "\t%d entries" +msgstr "\t%d entries" + +#, c-format +msgid "\t%s" +msgstr "\t%s" + +msgid "\tAfter fault: continue" +msgstr "\tAfter fault: continue" + +#, c-format +msgid "\tAlerts: %s" +msgstr "\tAlerts: %s" + +msgid "\tBanner required" +msgstr "\tBanner required" + +msgid "\tCharset sets:" +msgstr "\tCharset sets:" + +msgid "\tConnection: direct" +msgstr "\tConnection: direct" + +msgid "\tConnection: remote" +msgstr "\tConnection: remote" + +msgid "\tContent types: any" +msgstr "\tContent types: any" + +msgid "\tDefault page size:" +msgstr "\tDefault page size:" + +msgid "\tDefault pitch:" +msgstr "\tDefault pitch:" + +msgid "\tDefault port settings:" +msgstr "\tDefault port settings:" + +#, c-format +msgid "\tDescription: %s" +msgstr "\tDescription: %s" + +msgid "\tForm mounted:" +msgstr "\tForm mounted:" + +msgid "\tForms allowed:" +msgstr "\tForms allowed:" + +#, c-format +msgid "\tInterface: %s.ppd" +msgstr "\tInterface: %s.ppd" + +#, c-format +msgid "\tInterface: %s/ppd/%s.ppd" +msgstr "\tInterface: %s/ppd/%s.ppd" + +#, c-format +msgid "\tLocation: %s" +msgstr "\tLocation: %s" + +msgid "\tOn fault: no alert" +msgstr "\tOn fault: no alert" + +msgid "\tPrinter types: unknown" +msgstr "\tPrinter types: unknown" + +#, c-format +msgid "\tStatus: %s" +msgstr "\tStatus: %s" + +msgid "\tUsers allowed:" +msgstr "\tUsers allowed:" + +msgid "\tUsers denied:" +msgstr "\tUsers denied:" + +msgid "\tdaemon present" +msgstr "\tdaemon present" + +msgid "\tno entries" +msgstr "\tno entries" + +#, c-format +msgid "\tprinter is on device '%s' speed -1" +msgstr "\tprinter is on device '%s' speed -1" + +msgid "\tprinting is disabled" +msgstr "\tprinting is disabled" + +msgid "\tprinting is enabled" +msgstr "\tprinting is enabled" + +#, c-format +msgid "\tqueued for %s" +msgstr "\tqueued for %s" + +msgid "\tqueuing is disabled" +msgstr "\tqueuing is disabled" + +msgid "\tqueuing is enabled" +msgstr "\tqueuing is enabled" + +msgid "\treason unknown" +msgstr "\treason unknown" + +msgid "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" +msgstr "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" + +msgid " REF: Page 15, section 3.1." +msgstr " REF: Page 15, section 3.1." + +msgid " REF: Page 15, section 3.2." +msgstr " REF: Page 15, section 3.2." + +msgid " REF: Page 19, section 3.3." +msgstr " REF: Page 19, section 3.3." + +msgid " REF: Page 20, section 3.4." +msgstr " REF: Page 20, section 3.4." + +msgid " REF: Page 27, section 3.5." +msgstr " REF: Page 27, section 3.5." + +msgid " REF: Page 42, section 5.2." +msgstr " REF: Page 42, section 5.2." + +msgid " REF: Pages 16-17, section 3.2." +msgstr " REF: Pages 16-17, section 3.2." + +msgid " REF: Pages 42-45, section 5.2." +msgstr " REF: Pages 42-45, section 5.2." + +msgid " REF: Pages 45-46, section 5.2." +msgstr " REF: Pages 45-46, section 5.2." + +msgid " REF: Pages 48-49, section 5.2." +msgstr " REF: Pages 48-49, section 5.2." + +msgid " REF: Pages 52-54, section 5.2." +msgstr " REF: Pages 52-54, section 5.2." + +#, c-format +msgid " %-39.39s %.0f bytes" +msgstr " %-39.39s %.0f bytes" + +#, c-format +msgid " PASS Default%s" +msgstr " PASS Default%s" + +msgid " PASS DefaultImageableArea" +msgstr " PASS DefaultImageableArea" + +msgid " PASS DefaultPaperDimension" +msgstr " PASS DefaultPaperDimension" + +msgid " PASS FileVersion" +msgstr " PASS FileVersion" + +msgid " PASS FormatVersion" +msgstr " PASS FormatVersion" + +msgid " PASS LanguageEncoding" +msgstr " PASS LanguageEncoding" + +msgid " PASS LanguageVersion" +msgstr " PASS LanguageVersion" + +msgid " PASS Manufacturer" +msgstr " PASS Manufacturer" + +msgid " PASS ModelName" +msgstr " PASS ModelName" + +msgid " PASS NickName" +msgstr " PASS NickName" + +msgid " PASS PCFileName" +msgstr " PASS PCFileName" + +msgid " PASS PSVersion" +msgstr " PASS PSVersion" + +msgid " PASS PageRegion" +msgstr " PASS PageRegion" + +msgid " PASS PageSize" +msgstr " PASS PageSize" + +msgid " PASS Product" +msgstr " PASS Product" + +msgid " PASS ShortNickName" +msgstr " PASS ShortNickName" + +#, c-format +msgid " WARN %s has no corresponding options." +msgstr " WARN %s has no corresponding options." + +#, c-format +msgid "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." +msgstr "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." + +#, c-format +msgid "" +" WARN Duplex option keyword %s may not work as expected and should " +"be named Duplex.\n" +" REF: Page 122, section 5.17" +msgstr "" +" WARN Duplex option keyword %s may not work as expected and should " +"be named Duplex.\n" +" REF: Page 122, section 5.17" + +msgid " WARN File contains a mix of CR, LF, and CR LF line endings." +msgstr " WARN File contains a mix of CR, LF, and CR LF line endings." + +msgid "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." + +#, c-format +msgid " WARN Line %d only contains whitespace." +msgstr " WARN Line %d only contains whitespace." + +msgid "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." + +msgid "" +" WARN Non-Windows PPD files should use lines ending with only LF, " +"not CR LF." +msgstr "" +" WARN Non-Windows PPD files should use lines ending with only LF, " +"not CR LF." + +#, c-format +msgid "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." +msgstr "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." + +msgid "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." + +msgid "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." + +msgid "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." + +msgid "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." + +msgid "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." + +#, c-format +msgid "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." +msgstr "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." + +#, c-format +msgid " %s %s %s does not exist." +msgstr " %s %s %s does not exist." + +#, c-format +msgid " %s %s file \"%s\" has the wrong capitalization." +msgstr " %s %s file \"%s\" has the wrong capitalization." + +#, c-format +msgid "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." +msgstr "" +" %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s." +msgstr " %s Bad UTF-8 \"%s\" translation string for option %s." + +#, c-format +msgid " %s Bad cupsFilter value \"%s\"." +msgstr " %s Bad cupsFilter value \"%s\"." + +#, c-format +msgid " %s Bad cupsFilter2 value \"%s\"." +msgstr " %s Bad cupsFilter2 value \"%s\"." + +#, c-format +msgid " %s Bad cupsICCProfile %s." +msgstr " %s Bad cupsICCProfile %s." + +#, c-format +msgid " %s Bad cupsPreFilter value \"%s\"." +msgstr " %s Bad cupsPreFilter value \"%s\"." + +#, c-format +msgid " %s Bad cupsUIConstraints %s: \"%s\"" +msgstr " %s Bad cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s Bad language \"%s\"." +msgstr " %s Bad language \"%s\"." + +#, c-format +msgid " %s Bad permissions on %s file \"%s\"." +msgstr " %s Bad permissions on %s file \"%s\"." + +#, c-format +msgid " %s Bad spelling of %s - should be %s." +msgstr " %s Bad spelling of %s - should be %s." + +#, c-format +msgid " %s Cannot provide both APScanAppPath and APScanAppBundleID." +msgstr " %s Cannot provide both APScanAppPath and APScanAppBundleID." + +#, c-format +msgid " %s Default choices conflicting." +msgstr " %s Default choices conflicting." + +#, c-format +msgid " %s Empty cupsUIConstraints %s" +msgstr " %s Empty cupsUIConstraints %s" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s, choice %s." +msgstr " %s Missing \"%s\" translation string for option %s, choice %s." + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s." +msgstr " %s Missing \"%s\" translation string for option %s." + +#, c-format +msgid " %s Missing %s file \"%s\"." +msgstr " %s Missing %s file \"%s\"." + +#, c-format +msgid "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." +msgstr "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." + +#, c-format +msgid "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." +msgstr "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." + +#, c-format +msgid " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." +msgstr " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." + +#, c-format +msgid " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" +msgstr " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s Missing cupsUIResolver %s" +msgstr " %s Missing cupsUIResolver %s" + +#, c-format +msgid " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." +msgstr " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." + +#, c-format +msgid " %s Missing option %s in cupsUIConstraints %s: \"%s\"" +msgstr " %s Missing option %s in cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s No base translation \"%s\" is included in file." +msgstr " %s No base translation \"%s\" is included in file." + +#, c-format +msgid "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" + +#, c-format +msgid " %s Size \"%s\" defined for %s but not for %s." +msgstr " %s Size \"%s\" defined for %s but not for %s." + +#, c-format +msgid " %s Size \"%s\" has unexpected dimensions (%gx%g)." +msgstr " %s Size \"%s\" has unexpected dimensions (%gx%g)." + +#, c-format +msgid " %s Size \"%s\" should be \"%s\"." +msgstr " %s Size \"%s\" should be \"%s\"." + +#, c-format +msgid " %s Size \"%s\" should be the Adobe standard name \"%s\"." +msgstr " %s Size \"%s\" should be the Adobe standard name \"%s\"." + +#, c-format +msgid " %s cupsICCProfile %s hash value collides with %s." +msgstr " %s cupsICCProfile %s hash value collides with %s." + +#, c-format +msgid " %s cupsUIResolver %s causes a loop." +msgstr " %s cupsUIResolver %s causes a loop." + +#, c-format +msgid "" +" %s cupsUIResolver %s does not list at least two different options." +msgstr "" +" %s cupsUIResolver %s does not list at least two different options." + +#, c-format +msgid "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" +msgstr "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" + +#, c-format +msgid "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." + +#, c-format +msgid "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." +msgstr "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." + +#, c-format +msgid "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." +msgstr "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." + +#, c-format +msgid "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." + +#, c-format +msgid "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." + +msgid "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." +msgstr "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." + +#, c-format +msgid " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." +msgstr " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." + +#, c-format +msgid " **FAIL** Bad LanguageVersion %s - must be English." +msgstr " **FAIL** Bad LanguageVersion %s - must be English." + +#, c-format +msgid "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." +msgstr "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." + +#, c-format +msgid "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." + +msgid "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." + +msgid "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." +msgstr "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." + +msgid "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." + +#, c-format +msgid "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" +msgstr "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" + +#, c-format +msgid " **FAIL** Default option code cannot be interpreted: %s" +msgstr " **FAIL** Default option code cannot be interpreted: %s" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s choice %s contains " +"8-bit characters." +msgstr "" +" **FAIL** Default translation string for option %s choice %s contains " +"8-bit characters." + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s contains 8-bit " +"characters." +msgstr "" +" **FAIL** Default translation string for option %s contains 8-bit " +"characters." + +#, c-format +msgid " **FAIL** Group names %s and %s differ only by case." +msgstr " **FAIL** Group names %s and %s differ only by case." + +#, c-format +msgid " **FAIL** Multiple occurrences of option %s choice name %s." +msgstr " **FAIL** Multiple occurrences of option %s choice name %s." + +#, c-format +msgid " **FAIL** Option %s choice names %s and %s differ only by case." +msgstr " **FAIL** Option %s choice names %s and %s differ only by case." + +#, c-format +msgid " **FAIL** Option names %s and %s differ only by case." +msgstr " **FAIL** Option names %s and %s differ only by case." + +#, c-format +msgid "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." + +msgid "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." +msgstr "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." + +msgid "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." +msgstr "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." + +msgid "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." + +msgid "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." + +#, c-format +msgid "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." +msgstr "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." + +msgid "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." + +msgid "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." +msgstr "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." + +msgid "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." + +msgid "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." + +msgid "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." +msgstr "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." + +msgid "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." + +msgid "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." + +msgid "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." +msgstr "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." +msgstr "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." +msgstr "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." + +#, c-format +msgid "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." +msgstr "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." + +msgid "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." +msgstr "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." + +msgid "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." +msgstr "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." + +#, c-format +msgid " **FAIL** Unable to open PPD file - %s on line %d." +msgstr " **FAIL** Unable to open PPD file - %s on line %d." + +#, c-format +msgid " %d ERRORS FOUND" +msgstr " %d ERRORS FOUND" + +msgid " NO ERRORS FOUND" +msgstr " NO ERRORS FOUND" + +msgid " --cr End lines with CR (Mac OS 9)." +msgstr " --cr End lines with CR (Mac OS 9)." + +msgid " --crlf End lines with CR + LF (Windows)." +msgstr " --crlf End lines with CR + LF (Windows)." + +msgid " --lf End lines with LF (UNIX/Linux/macOS)." +msgstr " --lf End lines with LF (UNIX/Linux/macOS)." + +msgid " --list-filters List filters that will be used." +msgstr " --list-filters List filters that will be used." + +msgid " -D Remove the input file when finished." +msgstr " -D Remove the input file when finished." + +msgid " -D name=value Set named variable to value." +msgstr " -D name=value Set named variable to value." + +msgid " -I include-dir Add include directory to search path." +msgstr " -I include-dir Add include directory to search path." + +msgid " -P filename.ppd Set PPD file." +msgstr " -P filename.ppd Set PPD file." + +msgid " -U username Specify username." +msgstr " -U username Specify username." + +msgid " -c catalog.po Load the specified message catalog." +msgstr " -c catalog.po Load the specified message catalog." + +msgid " -c cups-files.conf Set cups-files.conf file to use." +msgstr " -c cups-files.conf Set cups-files.conf file to use." + +msgid " -d output-dir Specify the output directory." +msgstr " -d output-dir Specify the output directory." + +msgid " -d printer Use the named printer." +msgstr " -d printer Use the named printer." + +msgid " -e Use every filter from the PPD file." +msgstr " -e Use every filter from the PPD file." + +msgid " -i mime/type Set input MIME type (otherwise auto-typed)." +msgstr " -i mime/type Set input MIME type (otherwise auto-typed)." + +msgid "" +" -j job-id[,N] Filter file N from the specified job (default is " +"file 1)." +msgstr "" +" -j job-id[,N] Filter file N from the specified job (default is " +"file 1)." + +msgid " -l lang[,lang,...] Specify the output language(s) (locale)." +msgstr " -l lang[,lang,...] Specify the output language(s) (locale)." + +msgid " -m Use the ModelName value as the filename." +msgstr " -m Use the ModelName value as the filename." + +msgid "" +" -m mime/type Set output MIME type (otherwise application/pdf)." +msgstr "" +" -m mime/type Set output MIME type (otherwise application/pdf)." + +msgid " -n copies Set number of copies." +msgstr " -n copies Set number of copies." + +msgid "" +" -o filename.drv Set driver information file (otherwise ppdi.drv)." +msgstr "" +" -o filename.drv Set driver information file (otherwise ppdi.drv)." + +msgid " -o filename.ppd[.gz] Set output file (otherwise stdout)." +msgstr " -o filename.ppd[.gz] Set output file (otherwise stdout)." + +msgid " -o name=value Set option(s)." +msgstr " -o name=value Set option(s)." + +msgid " -p filename.ppd Set PPD file." +msgstr " -p filename.ppd Set PPD file." + +msgid " -t Test PPDs instead of generating them." +msgstr " -t Test PPDs instead of generating them." + +msgid " -t title Set title." +msgstr " -t title Set title." + +msgid " -u Remove the PPD file when finished." +msgstr " -u Remove the PPD file when finished." + +msgid " -v Be verbose." +msgstr " -v Be verbose." + +msgid " -z Compress PPD files using GNU zip." +msgstr " -z Compress PPD files using GNU zip." + +msgid " FAIL" +msgstr " FAIL" + +msgid " PASS" +msgstr " PASS" + +msgid "! expression Unary NOT of expression" +msgstr "! expression Unary NOT of expression" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." +msgstr "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." +msgstr "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." + +#, c-format +msgid "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." +msgstr "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." + +#, c-format +msgid "" +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." +msgstr "" +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." + +#, c-format +msgid "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." +msgstr "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." +msgstr "" +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." +msgstr "" +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." + +#, c-format +msgid "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." +msgstr "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." + +#, c-format +msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." +msgstr "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." + +#, c-format +msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." +msgstr "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." + +#, c-format +msgid "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." +msgstr "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." + +#, c-format +msgid "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." +msgstr "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." + +#, c-format +msgid "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." +msgstr "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." + +#, c-format +msgid "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." +msgstr "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." + +#, c-format +msgid "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." +msgstr "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." + +#, c-format +msgid "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." +msgstr "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." + +#, c-format +msgid "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." +msgstr "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section " +"5.1.4)." +msgstr "" +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section " +"5.1.4)." + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section " +"5.1.10)." +msgstr "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section " +"5.1.10)." + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section " +"5.1.10)." +msgstr "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section " +"5.1.10)." + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." +msgstr "" +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section " +"8.1)." +msgstr "" +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section " +"8.1)." + +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." +msgstr "" +"\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section " +"5.1.9)." +msgstr "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section " +"5.1.9)." + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section " +"5.1.9)." +msgstr "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section " +"5.1.9)." + +#, c-format +msgid "" +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." +msgstr "" +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." + +#, c-format +msgid "" +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 " +"section 5.1.14)." +msgstr "" +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 " +"section 5.1.14)." + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section " +"5.1.16)." +msgstr "" +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section " +"5.1.16)." + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be " +"positive (RFC 8011 section 5.1.16)." +msgstr "" +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be " +"positive (RFC 8011 section 5.1.16)." + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC " +"8011 section 5.1.16)." +msgstr "" +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC " +"8011 section 5.1.16)." + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." +msgstr "" +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section " +"8.3)." +msgstr "" +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section " +"8.3)." + +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." +msgstr "" +"\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." +msgstr "" +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." +msgstr "" +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." + +msgid "\"requesting-user-name\" attribute in wrong group." +msgstr "\"requesting-user-name\" attribute in wrong group." + +msgid "\"requesting-user-name\" attribute with wrong syntax." +msgstr "\"requesting-user-name\" attribute with wrong syntax." + +#, c-format +msgid "%-7s %-7.7s %-7d %-31.31s %.0f bytes" +msgstr "%-7s %-7.7s %-7d %-31.31s %.0f bytes" + +#, c-format +msgid "%d x %d mm" +msgstr "%d x %d mm" + +#, c-format +msgid "%g x %g \"" +msgstr "%g x %g \"" + +#, c-format +msgid "%s (%s)" +msgstr "%s (%s)" + +#, c-format +msgid "%s (%s, %s)" +msgstr "%s (%s, %s)" + +#, c-format +msgid "%s (Borderless)" +msgstr "%s (Borderless)" + +#, c-format +msgid "%s (Borderless, %s)" +msgstr "%s (Borderless, %s)" + +#, c-format +msgid "%s (Borderless, %s, %s)" +msgstr "%s (Borderless, %s, %s)" + +#, c-format +msgid "%s accepting requests since %s" +msgstr "%s accepting requests since %s" + +#, c-format +msgid "%s cannot be changed." +msgstr "%s cannot be changed." + +#, c-format +msgid "%s is not implemented by the CUPS version of lpc." +msgstr "%s is not implemented by the CUPS version of lpc." + +#, c-format +msgid "%s is not ready" +msgstr "%s is not ready" + +#, c-format +msgid "%s is ready" +msgstr "%s is ready" + +#, c-format +msgid "%s is ready and printing" +msgstr "%s is ready and printing" + +#, c-format +msgid "%s job-id user title copies options [file]" +msgstr "%s job-id user title copies options [file]" + +#, c-format +msgid "%s not accepting requests since %s -" +msgstr "%s not accepting requests since %s -" + +#, c-format +msgid "%s not supported." +msgstr "%s not supported." + +#, c-format +msgid "%s/%s accepting requests since %s" +msgstr "%s/%s accepting requests since %s" + +#, c-format +msgid "%s/%s not accepting requests since %s -" +msgstr "%s/%s not accepting requests since %s -" + +#, c-format +msgid "%s: %-33.33s [job %d localhost]" +msgstr "%s: %-33.33s [job %d localhost]" + +#. TRANSLATORS: Message is "subject: error" +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#, c-format +msgid "%s: %s failed: %s" +msgstr "%s: %s failed: %s" + +#, c-format +msgid "%s: Bad printer URI \"%s\"." +msgstr "%s: Bad printer URI \"%s\"." + +#, c-format +msgid "%s: Bad version %s for \"-V\"." +msgstr "%s: Bad version %s for \"-V\"." + +#, c-format +msgid "%s: Don't know what to do." +msgstr "%s: Don't know what to do." + +#, c-format +msgid "%s: Error - %s" +msgstr "%s: Error - %s" + +#, c-format +msgid "" +"%s: Error - %s environment variable names non-existent destination \"%s\"." +msgstr "" +"%s: Error - %s environment variable names non-existent destination \"%s\"." + +#, c-format +msgid "%s: Error - add '/version=1.1' to server name." +msgstr "%s: Error - add '/version=1.1' to server name." + +#, c-format +msgid "%s: Error - bad job ID." +msgstr "%s: Error - bad job ID." + +#, c-format +msgid "%s: Error - cannot print files and alter jobs simultaneously." +msgstr "%s: Error - cannot print files and alter jobs simultaneously." + +#, c-format +msgid "%s: Error - cannot print from stdin if files or a job ID are provided." +msgstr "%s: Error - cannot print from stdin if files or a job ID are provided." + +#, c-format +msgid "%s: Error - copies must be 1 or more." +msgstr "%s: Error - copies must be 1 or more." + +#, c-format +msgid "%s: Error - expected character set after \"-S\" option." +msgstr "%s: Error - expected character set after \"-S\" option." + +#, c-format +msgid "%s: Error - expected content type after \"-T\" option." +msgstr "%s: Error - expected content type after \"-T\" option." + +#, c-format +msgid "%s: Error - expected copies after \"-#\" option." +msgstr "%s: Error - expected copies after \"-#\" option." + +#, c-format +msgid "%s: Error - expected copies after \"-n\" option." +msgstr "%s: Error - expected copies after \"-n\" option." + +#, c-format +msgid "%s: Error - expected destination after \"-P\" option." +msgstr "%s: Error - expected destination after \"-P\" option." + +#, c-format +msgid "%s: Error - expected destination after \"-d\" option." +msgstr "%s: Error - expected destination after \"-d\" option." + +#, c-format +msgid "%s: Error - expected form after \"-f\" option." +msgstr "%s: Error - expected form after \"-f\" option." + +#, c-format +msgid "%s: Error - expected hold name after \"-H\" option." +msgstr "%s: Error - expected hold name after \"-H\" option." + +#, c-format +msgid "%s: Error - expected hostname after \"-H\" option." +msgstr "%s: Error - expected hostname after \"-H\" option." + +#, c-format +msgid "%s: Error - expected hostname after \"-h\" option." +msgstr "%s: Error - expected hostname after \"-h\" option." + +#, c-format +msgid "%s: Error - expected mode list after \"-y\" option." +msgstr "%s: Error - expected mode list after \"-y\" option." + +#, c-format +msgid "%s: Error - expected name after \"-%c\" option." +msgstr "%s: Error - expected name after \"-%c\" option." + +#, c-format +msgid "%s: Error - expected option=value after \"-o\" option." +msgstr "%s: Error - expected option=value after \"-o\" option." + +#, c-format +msgid "%s: Error - expected page list after \"-P\" option." +msgstr "%s: Error - expected page list after \"-P\" option." + +#, c-format +msgid "%s: Error - expected priority after \"-%c\" option." +msgstr "%s: Error - expected priority after \"-%c\" option." + +#, c-format +msgid "%s: Error - expected reason text after \"-r\" option." +msgstr "%s: Error - expected reason text after \"-r\" option." + +#, c-format +msgid "%s: Error - expected title after \"-t\" option." +msgstr "%s: Error - expected title after \"-t\" option." + +#, c-format +msgid "%s: Error - expected username after \"-U\" option." +msgstr "%s: Error - expected username after \"-U\" option." + +#, c-format +msgid "%s: Error - expected username after \"-u\" option." +msgstr "%s: Error - expected username after \"-u\" option." + +#, c-format +msgid "%s: Error - expected value after \"-%c\" option." +msgstr "%s: Error - expected value after \"-%c\" option." + +#, c-format +msgid "" +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" " +"option." +msgstr "" +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" " +"option." + +#, c-format +msgid "%s: Error - no default destination available." +msgstr "%s: Error - no default destination available." + +#, c-format +msgid "%s: Error - priority must be between 1 and 100." +msgstr "%s: Error - priority must be between 1 and 100." + +#, c-format +msgid "%s: Error - scheduler not responding." +msgstr "%s: Error - scheduler not responding." + +#, c-format +msgid "%s: Error - too many files - \"%s\"." +msgstr "%s: Error - too many files - \"%s\"." + +#, c-format +msgid "%s: Error - unable to access \"%s\" - %s" +msgstr "%s: Error - unable to access \"%s\" - %s" + +#, c-format +msgid "%s: Error - unable to queue from stdin - %s." +msgstr "%s: Error - unable to queue from stdin - %s." + +#, c-format +msgid "%s: Error - unknown destination \"%s\"." +msgstr "%s: Error - unknown destination \"%s\"." + +#, c-format +msgid "%s: Error - unknown destination \"%s/%s\"." +msgstr "%s: Error - unknown destination \"%s/%s\"." + +#, c-format +msgid "%s: Error - unknown option \"%c\"." +msgstr "%s: Error - unknown option \"%c\"." + +#, c-format +msgid "%s: Error - unknown option \"%s\"." +msgstr "%s: Error - unknown option \"%s\"." + +#, c-format +msgid "%s: Expected job ID after \"-i\" option." +msgstr "%s: Expected job ID after \"-i\" option." + +#, c-format +msgid "%s: Invalid destination name in list \"%s\"." +msgstr "%s: Invalid destination name in list \"%s\"." + +#, c-format +msgid "%s: Invalid filter string \"%s\"." +msgstr "%s: Invalid filter string \"%s\"." + +#, c-format +msgid "%s: Missing filename for \"-P\"." +msgstr "%s: Missing filename for \"-P\"." + +#, c-format +msgid "%s: Missing timeout for \"-T\"." +msgstr "%s: Missing timeout for \"-T\"." + +#, c-format +msgid "%s: Missing version for \"-V\"." +msgstr "%s: Missing version for \"-V\"." + +#, c-format +msgid "%s: Need job ID (\"-i jobid\") before \"-H restart\"." +msgstr "%s: Need job ID (\"-i jobid\") before \"-H restart\"." + +#, c-format +msgid "%s: No filter to convert from %s/%s to %s/%s." +msgstr "%s: No filter to convert from %s/%s to %s/%s." + +#, c-format +msgid "%s: Operation failed: %s" +msgstr "%s: Operation failed: %s" + +#, c-format +msgid "%s: Sorry, no encryption support." +msgstr "%s: Sorry, no encryption support." + +#, c-format +msgid "%s: Unable to connect to \"%s:%d\": %s" +msgstr "%s: Unable to connect to \"%s:%d\": %s" + +#, c-format +msgid "%s: Unable to connect to server." +msgstr "%s: Unable to connect to server." + +#, c-format +msgid "%s: Unable to contact server." +msgstr "%s: Unable to contact server." + +#, c-format +msgid "%s: Unable to create PPD file: %s" +msgstr "%s: Unable to create PPD file: %s" + +#, c-format +msgid "%s: Unable to determine MIME type of \"%s\"." +msgstr "%s: Unable to determine MIME type of \"%s\"." + +#, c-format +msgid "%s: Unable to open \"%s\": %s" +msgstr "%s: Unable to open \"%s\": %s" + +#, c-format +msgid "%s: Unable to open %s: %s" +msgstr "%s: Unable to open %s: %s" + +#, c-format +msgid "%s: Unable to open PPD file: %s on line %d." +msgstr "%s: Unable to open PPD file: %s on line %d." + +#, c-format +msgid "%s: Unable to query printer: %s" +msgstr "%s: Unable to query printer: %s" + +#, c-format +msgid "%s: Unable to read MIME database from \"%s\" or \"%s\"." +msgstr "%s: Unable to read MIME database from \"%s\" or \"%s\"." + +#, c-format +msgid "%s: Unable to resolve \"%s\"." +msgstr "%s: Unable to resolve \"%s\"." + +#, c-format +msgid "%s: Unknown argument \"%s\"." +msgstr "%s: Unknown argument \"%s\"." + +#, c-format +msgid "%s: Unknown destination \"%s\"." +msgstr "%s: Unknown destination \"%s\"." + +#, c-format +msgid "%s: Unknown destination MIME type %s/%s." +msgstr "%s: Unknown destination MIME type %s/%s." + +#, c-format +msgid "%s: Unknown option \"%c\"." +msgstr "%s: Unknown option \"%c\"." + +#, c-format +msgid "%s: Unknown option \"%s\"." +msgstr "%s: Unknown option \"%s\"." + +#, c-format +msgid "%s: Unknown option \"-%c\"." +msgstr "%s: Unknown option \"-%c\"." + +#, c-format +msgid "%s: Unknown source MIME type %s/%s." +msgstr "%s: Unknown source MIME type %s/%s." + +#, c-format +msgid "" +"%s: Warning - \"%c\" format modifier not supported - output may not be " +"correct." +msgstr "" +"%s: Warning - \"%c\" format modifier not supported - output may not be " +"correct." + +#, c-format +msgid "%s: Warning - character set option ignored." +msgstr "%s: Warning - character set option ignored." + +#, c-format +msgid "%s: Warning - content type option ignored." +msgstr "%s: Warning - content type option ignored." + +#, c-format +msgid "%s: Warning - form option ignored." +msgstr "%s: Warning - form option ignored." + +#, c-format +msgid "%s: Warning - mode option ignored." +msgstr "%s: Warning - mode option ignored." + +msgid "( expressions ) Group expressions" +msgstr "( expressions ) Group expressions" + +msgid "- Cancel all jobs" +msgstr "- Cancel all jobs" + +msgid "-# num-copies Specify the number of copies to print" +msgstr "-# num-copies Specify the number of copies to print" + +msgid "--[no-]debug-logging Turn debug logging on/off" +msgstr "--[no-]debug-logging Turn debug logging on/off" + +msgid "--[no-]remote-admin Turn remote administration on/off" +msgstr "--[no-]remote-admin Turn remote administration on/off" + +msgid "--[no-]remote-any Allow/prevent access from the Internet" +msgstr "--[no-]remote-any Allow/prevent access from the Internet" + +msgid "--[no-]share-printers Turn printer sharing on/off" +msgstr "--[no-]share-printers Turn printer sharing on/off" + +msgid "--[no-]user-cancel-any Allow/prevent users to cancel any job" +msgstr "--[no-]user-cancel-any Allow/prevent users to cancel any job" + +msgid "" +"--device-id device-id Show models matching the given IEEE 1284 device ID" +msgstr "" +"--device-id device-id Show models matching the given IEEE 1284 device ID" + +msgid "--domain regex Match domain to regular expression" +msgstr "--domain regex Match domain to regular expression" + +msgid "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" +msgstr "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" + +msgid "" +"--exec utility [argument ...] ;\n" +" Execute program if true" +msgstr "" +"--exec utility [argument ...] ;\n" +" Execute program if true" + +msgid "--false Always false" +msgstr "--false Always false" + +msgid "--help Show program help" +msgstr "--help Show program help" + +msgid "--hold Hold new jobs" +msgstr "--hold Hold new jobs" + +msgid "--host regex Match hostname to regular expression" +msgstr "--host regex Match hostname to regular expression" + +msgid "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" +msgstr "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" + +msgid "--ippserver filename Produce ippserver attribute file" +msgstr "--ippserver filename Produce ippserver attribute file" + +msgid "--language locale Show models matching the given locale" +msgstr "--language locale Show models matching the given locale" + +msgid "--local True if service is local" +msgstr "--local True if service is local" + +msgid "--ls List attributes" +msgstr "--ls List attributes" + +msgid "" +"--make-and-model name Show models matching the given make and model name" +msgstr "" +"--make-and-model name Show models matching the given make and model name" + +msgid "--name regex Match service name to regular expression" +msgstr "--name regex Match service name to regular expression" + +msgid "--no-web-forms Disable web forms for media and supplies" +msgstr "--no-web-forms Disable web forms for media and supplies" + +msgid "--not expression Unary NOT of expression" +msgstr "--not expression Unary NOT of expression" + +msgid "--path regex Match resource path to regular expression" +msgstr "--path regex Match resource path to regular expression" + +msgid "--port number[-number] Match port to number or range" +msgstr "--port number[-number] Match port to number or range" + +msgid "--print Print URI if true" +msgstr "--print Print URI if true" + +msgid "--print-name Print service name if true" +msgstr "--print-name Print service name if true" + +msgid "" +"--product name Show models matching the given PostScript product" +msgstr "" +"--product name Show models matching the given PostScript product" + +msgid "--quiet Quietly report match via exit code" +msgstr "--quiet Quietly report match via exit code" + +msgid "--release Release previously held jobs" +msgstr "--release Release previously held jobs" + +msgid "--remote True if service is remote" +msgstr "--remote True if service is remote" + +msgid "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" +msgstr "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" + +msgid "" +"--timeout seconds Specify the maximum number of seconds to discover " +"devices" +msgstr "" +"--timeout seconds Specify the maximum number of seconds to discover " +"devices" + +msgid "--true Always true" +msgstr "--true Always true" + +msgid "--txt key True if the TXT record contains the key" +msgstr "--txt key True if the TXT record contains the key" + +msgid "--txt-* regex Match TXT record key to regular expression" +msgstr "--txt-* regex Match TXT record key to regular expression" + +msgid "--uri regex Match URI to regular expression" +msgstr "--uri regex Match URI to regular expression" + +msgid "--version Show program version" +msgstr "--version Show program version" + +msgid "--version Show version" +msgstr "--version Show version" + +msgid "-1" +msgstr "-1" + +msgid "-10" +msgstr "-10" + +msgid "-100" +msgstr "-100" + +msgid "-105" +msgstr "-105" + +msgid "-11" +msgstr "-11" + +msgid "-110" +msgstr "-110" + +msgid "-115" +msgstr "-115" + +msgid "-12" +msgstr "-12" + +msgid "-120" +msgstr "-120" + +msgid "-13" +msgstr "-13" + +msgid "-14" +msgstr "-14" + +msgid "-15" +msgstr "-15" + +msgid "-2" +msgstr "-2" + +msgid "-2 Set 2-sided printing support (default=1-sided)" +msgstr "-2 Set 2-sided printing support (default=1-sided)" + +msgid "-20" +msgstr "-20" + +msgid "-25" +msgstr "-25" + +msgid "-3" +msgstr "-3" + +msgid "-30" +msgstr "-30" + +msgid "-35" +msgstr "-35" + +msgid "-4" +msgstr "-4" + +msgid "-4 Connect using IPv4" +msgstr "-4 Connect using IPv4" + +msgid "-40" +msgstr "-40" + +msgid "-45" +msgstr "-45" + +msgid "-5" +msgstr "-5" + +msgid "-50" +msgstr "-50" + +msgid "-55" +msgstr "-55" + +msgid "-6" +msgstr "-6" + +msgid "-6 Connect using IPv6" +msgstr "-6 Connect using IPv6" + +msgid "-60" +msgstr "-60" + +msgid "-65" +msgstr "-65" + +msgid "-7" +msgstr "-7" + +msgid "-70" +msgstr "-70" + +msgid "-75" +msgstr "-75" + +msgid "-8" +msgstr "-8" + +msgid "-80" +msgstr "-80" + +msgid "-85" +msgstr "-85" + +msgid "-9" +msgstr "-9" + +msgid "-90" +msgstr "-90" + +msgid "-95" +msgstr "-95" + +msgid "-C Send requests using chunking (default)" +msgstr "-C Send requests using chunking (default)" + +msgid "-D description Specify the textual description of the printer" +msgstr "-D description Specify the textual description of the printer" + +msgid "-D device-uri Set the device URI for the printer" +msgstr "-D device-uri Set the device URI for the printer" + +msgid "" +"-E Enable and accept jobs on the printer (after -p)" +msgstr "" +"-E Enable and accept jobs on the printer (after -p)" + +msgid "-E Encrypt the connection to the server" +msgstr "-E Encrypt the connection to the server" + +msgid "-E Test with encryption using HTTP Upgrade to TLS" +msgstr "-E Test with encryption using HTTP Upgrade to TLS" + +msgid "-F Run in the foreground but detach from console." +msgstr "-F Run in the foreground but detach from console." + +msgid "-F output-type/subtype Set the output format for the printer" +msgstr "-F output-type/subtype Set the output format for the printer" + +msgid "-H Show the default server and port" +msgstr "-H Show the default server and port" + +msgid "-H HH:MM Hold the job until the specified UTC time" +msgstr "-H HH:MM Hold the job until the specified UTC time" + +msgid "-H hold Hold the job until released/resumed" +msgstr "-H hold Hold the job until released/resumed" + +msgid "-H immediate Print the job as soon as possible" +msgstr "-H immediate Print the job as soon as possible" + +msgid "-H restart Reprint the job" +msgstr "-H restart Reprint the job" + +msgid "-H resume Resume a held job" +msgstr "-H resume Resume a held job" + +msgid "-H server[:port] Connect to the named server and port" +msgstr "-H server[:port] Connect to the named server and port" + +msgid "-I Ignore errors" +msgstr "-I Ignore errors" + +msgid "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" +msgstr "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" + +msgid "" +"-K keypath Set location of server X.509 certificates and keys." +msgstr "" +"-K keypath Set location of server X.509 certificates and keys." + +msgid "-L Send requests using content-length" +msgstr "-L Send requests using content-length" + +msgid "-L location Specify the textual location of the printer" +msgstr "-L location Specify the textual location of the printer" + +msgid "-M manufacturer Set manufacturer name (default=Test)" +msgstr "-M manufacturer Set manufacturer name (default=Test)" + +msgid "-P destination Show status for the specified destination" +msgstr "-P destination Show status for the specified destination" + +msgid "-P destination Specify the destination" +msgstr "-P destination Specify the destination" + +msgid "" +"-P filename.plist Produce XML plist to a file and test report to " +"standard output" +msgstr "" +"-P filename.plist Produce XML plist to a file and test report to " +"standard output" + +msgid "-P filename.ppd Load printer attributes from PPD file" +msgstr "-P filename.ppd Load printer attributes from PPD file" + +msgid "-P number[-number] Match port to number or range" +msgstr "-P number[-number] Match port to number or range" + +msgid "-P page-list Specify a list of pages to print" +msgstr "-P page-list Specify a list of pages to print" + +msgid "-R Show the ranking of jobs" +msgstr "-R Show the ranking of jobs" + +msgid "-R name-default Remove the default value for the named option" +msgstr "-R name-default Remove the default value for the named option" + +msgid "-R root-directory Set alternate root" +msgstr "-R root-directory Set alternate root" + +msgid "-S Test with encryption using HTTPS" +msgstr "-S Test with encryption using HTTPS" + +msgid "-T seconds Set the browse timeout in seconds" +msgstr "-T seconds Set the browse timeout in seconds" + +msgid "-T seconds Set the receive/send timeout in seconds" +msgstr "-T seconds Set the receive/send timeout in seconds" + +msgid "-T title Specify the job title" +msgstr "-T title Specify the job title" + +msgid "-U username Specify the username to use for authentication" +msgstr "-U username Specify the username to use for authentication" + +msgid "-U username Specify username to use for authentication" +msgstr "-U username Specify username to use for authentication" + +msgid "-V version Set default IPP version" +msgstr "-V version Set default IPP version" + +msgid "-W completed Show completed jobs" +msgstr "-W completed Show completed jobs" + +msgid "-W not-completed Show pending jobs" +msgstr "-W not-completed Show pending jobs" + +msgid "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes," +"translations}\n" +" Issue warnings instead of errors" +msgstr "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes," +"translations}\n" +" Issue warnings instead of errors" + +msgid "-X Produce XML plist instead of plain text" +msgstr "-X Produce XML plist instead of plain text" + +msgid "-a Cancel all jobs" +msgstr "-a Cancel all jobs" + +msgid "-a Show jobs on all destinations" +msgstr "-a Show jobs on all destinations" + +msgid "-a [destination(s)] Show the accepting state of destinations" +msgstr "-a [destination(s)] Show the accepting state of destinations" + +msgid "-a filename.conf Load printer attributes from conf file" +msgstr "-a filename.conf Load printer attributes from conf file" + +msgid "-c Make a copy of the print file(s)" +msgstr "-c Make a copy of the print file(s)" + +msgid "-c Produce CSV output" +msgstr "-c Produce CSV output" + +msgid "-c [class(es)] Show classes and their member printers" +msgstr "-c [class(es)] Show classes and their member printers" + +msgid "-c class Add the named destination to a class" +msgstr "-c class Add the named destination to a class" + +msgid "-c command Set print command" +msgstr "-c command Set print command" + +msgid "-c cupsd.conf Set cupsd.conf file to use." +msgstr "-c cupsd.conf Set cupsd.conf file to use." + +msgid "-d Show the default destination" +msgstr "-d Show the default destination" + +msgid "-d destination Set default destination" +msgstr "-d destination Set default destination" + +msgid "-d destination Set the named destination as the server default" +msgstr "" +"-d destination Set the named destination as the server default" + +msgid "-d name=value Set named variable to value" +msgstr "-d name=value Set named variable to value" + +msgid "-d regex Match domain to regular expression" +msgstr "-d regex Match domain to regular expression" + +msgid "-d spool-directory Set spool directory" +msgstr "-d spool-directory Set spool directory" + +msgid "-e Show available destinations on the network" +msgstr "-e Show available destinations on the network" + +msgid "-f Run in the foreground." +msgstr "-f Run in the foreground." + +msgid "-f filename Set default request filename" +msgstr "-f filename Set default request filename" + +msgid "-f type/subtype[,...] Set supported file types" +msgstr "-f type/subtype[,...] Set supported file types" + +msgid "-h Show this usage message." +msgstr "-h Show this usage message." + +msgid "-h Validate HTTP response headers" +msgstr "-h Validate HTTP response headers" + +msgid "-h regex Match hostname to regular expression" +msgstr "-h regex Match hostname to regular expression" + +msgid "-h server[:port] Connect to the named server and port" +msgstr "-h server[:port] Connect to the named server and port" + +msgid "-i iconfile.png Set icon file" +msgstr "-i iconfile.png Set icon file" + +msgid "-i id Specify an existing job ID to modify" +msgstr "-i id Specify an existing job ID to modify" + +msgid "-i ppd-file Specify a PPD file for the printer" +msgstr "-i ppd-file Specify a PPD file for the printer" + +msgid "" +"-i seconds Repeat the last file with the given time interval" +msgstr "" +"-i seconds Repeat the last file with the given time interval" + +msgid "-k Keep job spool files" +msgstr "-k Keep job spool files" + +msgid "-l List attributes" +msgstr "-l List attributes" + +msgid "-l Produce plain text output" +msgstr "-l Produce plain text output" + +msgid "-l Run cupsd on demand." +msgstr "-l Run cupsd on demand." + +msgid "-l Show supported options and values" +msgstr "-l Show supported options and values" + +msgid "-l Show verbose (long) output" +msgstr "-l Show verbose (long) output" + +msgid "-l location Set location of printer" +msgstr "-l location Set location of printer" + +msgid "" +"-m Send an email notification when the job completes" +msgstr "" +"-m Send an email notification when the job completes" + +msgid "-m Show models" +msgstr "-m Show models" + +msgid "" +"-m everywhere Specify the printer is compatible with IPP Everywhere" +msgstr "" +"-m everywhere Specify the printer is compatible with IPP Everywhere" + +msgid "-m model Set model name (default=Printer)" +msgstr "-m model Set model name (default=Printer)" + +msgid "" +"-m model Specify a standard model/PPD file for the printer" +msgstr "" +"-m model Specify a standard model/PPD file for the printer" + +msgid "-n count Repeat the last file the given number of times" +msgstr "-n count Repeat the last file the given number of times" + +msgid "-n hostname Set hostname for printer" +msgstr "-n hostname Set hostname for printer" + +msgid "-n num-copies Specify the number of copies to print" +msgstr "-n num-copies Specify the number of copies to print" + +msgid "-n regex Match service name to regular expression" +msgstr "-n regex Match service name to regular expression" + +msgid "" +"-o Name=Value Specify the default value for the named PPD option " +msgstr "" +"-o Name=Value Specify the default value for the named PPD option " + +msgid "-o [destination(s)] Show jobs" +msgstr "-o [destination(s)] Show jobs" + +msgid "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" +msgstr "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" + +msgid "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" +msgstr "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" + +msgid "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" +msgstr "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" + +msgid "-o job-page-limit=N Specify the page limit for per-user quotas" +msgstr "-o job-page-limit=N Specify the page limit for per-user quotas" + +msgid "-o job-quota-period=N Specify the per-user quota period in seconds" +msgstr "-o job-quota-period=N Specify the per-user quota period in seconds" + +msgid "-o job-sheets=standard Print a banner page with the job" +msgstr "-o job-sheets=standard Print a banner page with the job" + +msgid "-o media=size Specify the media size to use" +msgstr "-o media=size Specify the media size to use" + +msgid "-o name-default=value Specify the default value for the named option" +msgstr "-o name-default=value Specify the default value for the named option" + +msgid "-o name[=value] Set default option and value" +msgstr "-o name[=value] Set default option and value" + +msgid "" +"-o number-up=N Specify that input pages should be printed N-up (1, " +"2, 4, 6, 9, and 16 are supported)" +msgstr "" +"-o number-up=N Specify that input pages should be printed N-up (1, " +"2, 4, 6, 9, and 16 are supported)" + +msgid "-o option[=value] Specify a printer-specific option" +msgstr "-o option[=value] Specify a printer-specific option" + +msgid "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" +msgstr "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" + +msgid "" +"-o print-quality=N Specify the print quality - draft (3), normal (4), " +"or best (5)" +msgstr "" +"-o print-quality=N Specify the print quality - draft (3), normal (4), " +"or best (5)" + +msgid "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" +msgstr "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" + +msgid "" +"-o printer-is-shared=true\n" +" Share the printer" +msgstr "" +"-o printer-is-shared=true\n" +" Share the printer" + +msgid "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" +msgstr "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" + +msgid "-o sides=one-sided Specify 1-sided printing" +msgstr "-o sides=one-sided Specify 1-sided printing" + +msgid "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" +msgstr "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" + +msgid "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" +msgstr "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" + +msgid "-p Print URI if true" +msgstr "-p Print URI if true" + +msgid "-p [printer(s)] Show the processing state of destinations" +msgstr "-p [printer(s)] Show the processing state of destinations" + +msgid "-p destination Specify a destination" +msgstr "-p destination Specify a destination" + +msgid "-p destination Specify/add the named destination" +msgstr "-p destination Specify/add the named destination" + +msgid "-p port Set port number for printer" +msgstr "-p port Set port number for printer" + +msgid "-q Quietly report match via exit code" +msgstr "-q Quietly report match via exit code" + +msgid "-q Run silently" +msgstr "-q Run silently" + +msgid "-q Specify the job should be held for printing" +msgstr "-q Specify the job should be held for printing" + +msgid "-q priority Specify the priority from low (1) to high (100)" +msgstr "" +"-q priority Specify the priority from low (1) to high (100)" + +msgid "-r Remove the file(s) after submission" +msgstr "-r Remove the file(s) after submission" + +msgid "-r Show whether the CUPS server is running" +msgstr "-r Show whether the CUPS server is running" + +msgid "-r True if service is remote" +msgstr "-r True if service is remote" + +msgid "-r Use 'relaxed' open mode" +msgstr "-r Use 'relaxed' open mode" + +msgid "-r class Remove the named destination from a class" +msgstr "-r class Remove the named destination from a class" + +msgid "-r reason Specify a reason message that others can see" +msgstr "-r reason Specify a reason message that others can see" + +msgid "-r subtype,[subtype] Set DNS-SD service subtype" +msgstr "-r subtype,[subtype] Set DNS-SD service subtype" + +msgid "-s Be silent" +msgstr "-s Be silent" + +msgid "-s Print service name if true" +msgstr "-s Print service name if true" + +msgid "-s Show a status summary" +msgstr "-s Show a status summary" + +msgid "-s cups-files.conf Set cups-files.conf file to use." +msgstr "-s cups-files.conf Set cups-files.conf file to use." + +msgid "-s speed[,color-speed] Set speed in pages per minute" +msgstr "-s speed[,color-speed] Set speed in pages per minute" + +msgid "-t Produce a test report" +msgstr "-t Produce a test report" + +msgid "-t Show all status information" +msgstr "-t Show all status information" + +msgid "-t Test the configuration file." +msgstr "-t Test the configuration file." + +msgid "-t key True if the TXT record contains the key" +msgstr "-t key True if the TXT record contains the key" + +msgid "-t title Specify the job title" +msgstr "-t title Specify the job title" + +msgid "" +"-u [user(s)] Show jobs queued by the current or specified users" +msgstr "" +"-u [user(s)] Show jobs queued by the current or specified users" + +msgid "-u allow:all Allow all users to print" +msgstr "-u allow:all Allow all users to print" + +msgid "" +"-u allow:list Allow the list of users or groups (@name) to print" +msgstr "" +"-u allow:list Allow the list of users or groups (@name) to print" + +msgid "" +"-u deny:list Prevent the list of users or groups (@name) to print" +msgstr "" +"-u deny:list Prevent the list of users or groups (@name) to print" + +msgid "-u owner Specify the owner to use for jobs" +msgstr "-u owner Specify the owner to use for jobs" + +msgid "-u regex Match URI to regular expression" +msgstr "-u regex Match URI to regular expression" + +msgid "-v Be verbose" +msgstr "-v Be verbose" + +msgid "-v Show devices" +msgstr "-v Show devices" + +msgid "-v [printer(s)] Show the devices for each destination" +msgstr "-v [printer(s)] Show the devices for each destination" + +msgid "-v device-uri Specify the device URI for the printer" +msgstr "-v device-uri Specify the device URI for the printer" + +msgid "-vv Be very verbose" +msgstr "-vv Be very verbose" + +msgid "-x Purge jobs rather than just canceling" +msgstr "-x Purge jobs rather than just canceling" + +msgid "-x destination Remove default options for destination" +msgstr "-x destination Remove default options for destination" + +msgid "-x destination Remove the named destination" +msgstr "-x destination Remove the named destination" + +msgid "" +"-x utility [argument ...] ;\n" +" Execute program if true" +msgstr "" +"-x utility [argument ...] ;\n" +" Execute program if true" + +msgid "/etc/cups/lpoptions file names default destination that does not exist." +msgstr "" +"/etc/cups/lpoptions file names default destination that does not exist." + +msgid "0" +msgstr "0" + +msgid "1" +msgstr "1" + +msgid "1 inch/sec." +msgstr "1 inch/sec." + +msgid "1.25x0.25\"" +msgstr "1.25x0.25\"" + +msgid "1.25x2.25\"" +msgstr "1.25x2.25\"" + +msgid "1.5 inch/sec." +msgstr "1.5 inch/sec." + +msgid "1.50x0.25\"" +msgstr "1.50x0.25\"" + +msgid "1.50x0.50\"" +msgstr "1.50x0.50\"" + +msgid "1.50x1.00\"" +msgstr "1.50x1.00\"" + +msgid "1.50x2.00\"" +msgstr "1.50x2.00\"" + +msgid "10" +msgstr "10" + +msgid "10 inches/sec." +msgstr "10 inches/sec." + +msgid "10 x 11" +msgstr "10 x 11" + +msgid "10 x 13" +msgstr "10 x 13" + +msgid "10 x 14" +msgstr "10 x 14" + +msgid "100" +msgstr "100" + +msgid "100 mm/sec." +msgstr "100 mm/sec." + +msgid "105" +msgstr "105" + +msgid "11" +msgstr "11" + +msgid "11 inches/sec." +msgstr "11 inches/sec." + +msgid "110" +msgstr "110" + +msgid "115" +msgstr "115" + +msgid "12" +msgstr "12" + +msgid "12 inches/sec." +msgstr "12 inches/sec." + +msgid "12 x 11" +msgstr "12 x 11" + +msgid "120" +msgstr "120" + +msgid "120 mm/sec." +msgstr "120 mm/sec." + +msgid "120x60dpi" +msgstr "120x60dpi" + +msgid "120x72dpi" +msgstr "120x72dpi" + +msgid "13" +msgstr "13" + +msgid "136dpi" +msgstr "136dpi" + +msgid "14" +msgstr "14" + +msgid "15" +msgstr "15" + +msgid "15 mm/sec." +msgstr "15 mm/sec." + +msgid "15 x 11" +msgstr "15 x 11" + +msgid "150 mm/sec." +msgstr "150 mm/sec." + +msgid "150dpi" +msgstr "150dpi" + +msgid "16" +msgstr "16" + +msgid "17" +msgstr "17" + +msgid "18" +msgstr "18" + +msgid "180dpi" +msgstr "180dpi" + +msgid "19" +msgstr "19" + +msgid "2" +msgstr "2" + +msgid "2 inches/sec." +msgstr "2 inches/sec." + +msgid "2-Sided Printing" +msgstr "2-Sided Printing" + +msgid "2.00x0.37\"" +msgstr "2.00x0.37\"" + +msgid "2.00x0.50\"" +msgstr "2.00x0.50\"" + +msgid "2.00x1.00\"" +msgstr "2.00x1.00\"" + +msgid "2.00x1.25\"" +msgstr "2.00x1.25\"" + +msgid "2.00x2.00\"" +msgstr "2.00x2.00\"" + +msgid "2.00x3.00\"" +msgstr "2.00x3.00\"" + +msgid "2.00x4.00\"" +msgstr "2.00x4.00\"" + +msgid "2.00x5.50\"" +msgstr "2.00x5.50\"" + +msgid "2.25x0.50\"" +msgstr "2.25x0.50\"" + +msgid "2.25x1.25\"" +msgstr "2.25x1.25\"" + +msgid "2.25x4.00\"" +msgstr "2.25x4.00\"" + +msgid "2.25x5.50\"" +msgstr "2.25x5.50\"" + +msgid "2.38x5.50\"" +msgstr "2.38x5.50\"" + +msgid "2.5 inches/sec." +msgstr "2.5 inches/sec." + +msgid "2.50x1.00\"" +msgstr "2.50x1.00\"" + +msgid "2.50x2.00\"" +msgstr "2.50x2.00\"" + +msgid "2.75x1.25\"" +msgstr "2.75x1.25\"" + +msgid "2.9 x 1\"" +msgstr "2.9 x 1\"" + +msgid "20" +msgstr "20" + +msgid "20 mm/sec." +msgstr "20 mm/sec." + +msgid "200 mm/sec." +msgstr "200 mm/sec." + +msgid "203dpi" +msgstr "203dpi" + +msgid "21" +msgstr "21" + +msgid "22" +msgstr "22" + +msgid "23" +msgstr "23" + +msgid "24" +msgstr "24" + +msgid "24-Pin Series" +msgstr "24-Pin Series" + +msgid "240x72dpi" +msgstr "240x72dpi" + +msgid "25" +msgstr "25" + +msgid "250 mm/sec." +msgstr "250 mm/sec." + +msgid "26" +msgstr "26" + +msgid "27" +msgstr "27" + +msgid "28" +msgstr "28" + +msgid "29" +msgstr "29" + +msgid "3" +msgstr "3" + +msgid "3 inches/sec." +msgstr "3 inches/sec." + +msgid "3 x 5" +msgstr "3 x 5" + +msgid "3.00x1.00\"" +msgstr "3.00x1.00\"" + +msgid "3.00x1.25\"" +msgstr "3.00x1.25\"" + +msgid "3.00x2.00\"" +msgstr "3.00x2.00\"" + +msgid "3.00x3.00\"" +msgstr "3.00x3.00\"" + +msgid "3.00x5.00\"" +msgstr "3.00x5.00\"" + +msgid "3.25x2.00\"" +msgstr "3.25x2.00\"" + +msgid "3.25x5.00\"" +msgstr "3.25x5.00\"" + +msgid "3.25x5.50\"" +msgstr "3.25x5.50\"" + +msgid "3.25x5.83\"" +msgstr "3.25x5.83\"" + +msgid "3.25x7.83\"" +msgstr "3.25x7.83\"" + +msgid "3.5 x 5" +msgstr "3.5 x 5" + +msgid "3.5\" Disk" +msgstr "3.5\" Disk" + +msgid "3.50x1.00\"" +msgstr "3.50x1.00\"" + +msgid "30" +msgstr "30" + +msgid "30 mm/sec." +msgstr "30 mm/sec." + +msgid "300 mm/sec." +msgstr "300 mm/sec." + +msgid "300dpi" +msgstr "300dpi" + +msgid "35" +msgstr "35" + +msgid "360dpi" +msgstr "360dpi" + +msgid "360x180dpi" +msgstr "360x180dpi" + +msgid "4" +msgstr "4" + +msgid "4 inches/sec." +msgstr "4 inches/sec." + +msgid "4.00x1.00\"" +msgstr "4.00x1.00\"" + +msgid "4.00x13.00\"" +msgstr "4.00x13.00\"" + +msgid "4.00x2.00\"" +msgstr "4.00x2.00\"" + +msgid "4.00x2.50\"" +msgstr "4.00x2.50\"" + +msgid "4.00x3.00\"" +msgstr "4.00x3.00\"" + +msgid "4.00x4.00\"" +msgstr "4.00x4.00\"" + +msgid "4.00x5.00\"" +msgstr "4.00x5.00\"" + +msgid "4.00x6.00\"" +msgstr "4.00x6.00\"" + +msgid "4.00x6.50\"" +msgstr "4.00x6.50\"" + +msgid "40" +msgstr "40" + +msgid "40 mm/sec." +msgstr "40 mm/sec." + +msgid "45" +msgstr "45" + +msgid "5" +msgstr "5" + +msgid "5 inches/sec." +msgstr "5 inches/sec." + +msgid "5 x 7" +msgstr "5 x 7" + +msgid "50" +msgstr "50" + +msgid "55" +msgstr "55" + +msgid "6" +msgstr "6" + +msgid "6 inches/sec." +msgstr "6 inches/sec." + +msgid "6.00x1.00\"" +msgstr "6.00x1.00\"" + +msgid "6.00x2.00\"" +msgstr "6.00x2.00\"" + +msgid "6.00x3.00\"" +msgstr "6.00x3.00\"" + +msgid "6.00x4.00\"" +msgstr "6.00x4.00\"" + +msgid "6.00x5.00\"" +msgstr "6.00x5.00\"" + +msgid "6.00x6.00\"" +msgstr "6.00x6.00\"" + +msgid "6.00x6.50\"" +msgstr "6.00x6.50\"" + +msgid "60" +msgstr "60" + +msgid "60 mm/sec." +msgstr "60 mm/sec." + +msgid "600dpi" +msgstr "600dpi" + +msgid "60dpi" +msgstr "60dpi" + +msgid "60x72dpi" +msgstr "60x72dpi" + +msgid "65" +msgstr "65" + +msgid "7" +msgstr "7" + +msgid "7 inches/sec." +msgstr "7 inches/sec." + +msgid "7 x 9" +msgstr "7 x 9" + +msgid "70" +msgstr "70" + +msgid "75" +msgstr "75" + +msgid "8" +msgstr "8" + +msgid "8 inches/sec." +msgstr "8 inches/sec." + +msgid "8 x 10" +msgstr "8 x 10" + +msgid "8.00x1.00\"" +msgstr "8.00x1.00\"" + +msgid "8.00x2.00\"" +msgstr "8.00x2.00\"" + +msgid "8.00x3.00\"" +msgstr "8.00x3.00\"" + +msgid "8.00x4.00\"" +msgstr "8.00x4.00\"" + +msgid "8.00x5.00\"" +msgstr "8.00x5.00\"" + +msgid "8.00x6.00\"" +msgstr "8.00x6.00\"" + +msgid "8.00x6.50\"" +msgstr "8.00x6.50\"" + +msgid "80" +msgstr "80" + +msgid "80 mm/sec." +msgstr "80 mm/sec." + +msgid "85" +msgstr "85" + +msgid "9" +msgstr "9" + +msgid "9 inches/sec." +msgstr "9 inches/sec." + +msgid "9 x 11" +msgstr "9 x 11" + +msgid "9 x 12" +msgstr "9 x 12" + +msgid "9-Pin Series" +msgstr "9-Pin Series" + +msgid "90" +msgstr "90" + +msgid "95" +msgstr "95" + +msgid "?Invalid help command unknown." +msgstr "?Invalid help command unknown." + +#, c-format +msgid "A class named \"%s\" already exists." +msgstr "A class named \"%s\" already exists." + +#, c-format +msgid "A printer named \"%s\" already exists." +msgstr "A printer named \"%s\" already exists." + +msgid "A0" +msgstr "A0" + +msgid "A0 Long Edge" +msgstr "A0 Long Edge" + +msgid "A1" +msgstr "A1" + +msgid "A1 Long Edge" +msgstr "A1 Long Edge" + +msgid "A10" +msgstr "A10" + +msgid "A2" +msgstr "A2" + +msgid "A2 Long Edge" +msgstr "A2 Long Edge" + +msgid "A3" +msgstr "A3" + +msgid "A3 Long Edge" +msgstr "A3 Long Edge" + +msgid "A3 Oversize" +msgstr "A3 Oversize" + +msgid "A3 Oversize Long Edge" +msgstr "A3 Oversize Long Edge" + +msgid "A4" +msgstr "A4" + +msgid "A4 Long Edge" +msgstr "A4 Long Edge" + +msgid "A4 Oversize" +msgstr "A4 Oversize" + +msgid "A4 Small" +msgstr "A4 Small" + +msgid "A5" +msgstr "A5" + +msgid "A5 Long Edge" +msgstr "A5 Long Edge" + +msgid "A5 Oversize" +msgstr "A5 Oversize" + +msgid "A6" +msgstr "A6" + +msgid "A6 Long Edge" +msgstr "A6 Long Edge" + +msgid "A7" +msgstr "A7" + +msgid "A8" +msgstr "A8" + +msgid "A9" +msgstr "A9" + +msgid "ANSI A" +msgstr "ANSI A" + +msgid "ANSI B" +msgstr "ANSI B" + +msgid "ANSI C" +msgstr "ANSI C" + +msgid "ANSI D" +msgstr "ANSI D" + +msgid "ANSI E" +msgstr "ANSI E" + +msgid "ARCH C" +msgstr "ARCH C" + +msgid "ARCH C Long Edge" +msgstr "ARCH C Long Edge" + +msgid "ARCH D" +msgstr "ARCH D" + +msgid "ARCH D Long Edge" +msgstr "ARCH D Long Edge" + +msgid "ARCH E" +msgstr "ARCH E" + +msgid "ARCH E Long Edge" +msgstr "ARCH E Long Edge" + +msgid "Accept Jobs" +msgstr "Accept Jobs" + +msgid "Accepted" +msgstr "Accepted" + +msgid "Add Class" +msgstr "Add Class" + +msgid "Add Printer" +msgstr "Add Printer" + +msgid "Address" +msgstr "Address" + +msgid "Administration" +msgstr "Administration" + +msgid "Always" +msgstr "Always" + +msgid "AppSocket/HP JetDirect" +msgstr "AppSocket/HP JetDirect" + +msgid "Applicator" +msgstr "Applicator" + +#, c-format +msgid "Attempt to set %s printer-state to bad value %d." +msgstr "Attempt to set %s printer-state to bad value %d." + +#, c-format +msgid "Attribute \"%s\" is in the wrong group." +msgstr "Attribute \"%s\" is in the wrong group." + +#, c-format +msgid "Attribute \"%s\" is the wrong value type." +msgstr "Attribute \"%s\" is the wrong value type." + +#, c-format +msgid "Attribute groups are out of order (%x < %x)." +msgstr "Attribute groups are out of order (%x < %x)." + +msgid "B0" +msgstr "B0" + +msgid "B1" +msgstr "B1" + +msgid "B10" +msgstr "B10" + +msgid "B2" +msgstr "B2" + +msgid "B3" +msgstr "B3" + +msgid "B4" +msgstr "B4" + +msgid "B5" +msgstr "B5" + +msgid "B5 Oversize" +msgstr "B5 Oversize" + +msgid "B6" +msgstr "B6" + +msgid "B7" +msgstr "B7" + +msgid "B8" +msgstr "B8" + +msgid "B9" +msgstr "B9" + +#, c-format +msgid "Bad \"printer-id\" value %d." +msgstr "Bad \"printer-id\" value %d." + +#, c-format +msgid "Bad '%s' value." +msgstr "Bad '%s' value." + +#, c-format +msgid "Bad 'document-format' value \"%s\"." +msgstr "Bad 'document-format' value \"%s\"." + +msgid "Bad CloseUI/JCLCloseUI" +msgstr "Bad CloseUI/JCLCloseUI" + +msgid "Bad NULL dests pointer" +msgstr "Bad NULL dests pointer" + +msgid "Bad OpenGroup" +msgstr "Bad OpenGroup" + +msgid "Bad OpenUI/JCLOpenUI" +msgstr "Bad OpenUI/JCLOpenUI" + +msgid "Bad OrderDependency" +msgstr "Bad OrderDependency" + +msgid "Bad PPD cache file." +msgstr "Bad PPD cache file." + +msgid "Bad PPD file." +msgstr "Bad PPD file." + +msgid "Bad Request" +msgstr "Bad Request" + +msgid "Bad SNMP version number" +msgstr "Bad SNMP version number" + +msgid "Bad UIConstraints" +msgstr "Bad UIConstraints" + +msgid "Bad URI." +msgstr "Bad URI." + +msgid "Bad arguments to function" +msgstr "Bad arguments to function" + +#, c-format +msgid "Bad copies value %d." +msgstr "Bad copies value %d." + +msgid "Bad custom parameter" +msgstr "Bad custom parameter" + +#, c-format +msgid "Bad device-uri \"%s\"." +msgstr "Bad device-uri \"%s\"." + +#, c-format +msgid "Bad device-uri scheme \"%s\"." +msgstr "Bad device-uri scheme \"%s\"." + +#, c-format +msgid "Bad document-format \"%s\"." +msgstr "Bad document-format \"%s\"." + +#, c-format +msgid "Bad document-format-default \"%s\"." +msgstr "Bad document-format-default \"%s\"." + +msgid "Bad filename buffer" +msgstr "Bad filename buffer" + +msgid "Bad hostname/address in URI" +msgstr "Bad hostname/address in URI" + +#, c-format +msgid "Bad job-name value: %s" +msgstr "Bad job-name value: %s" + +msgid "Bad job-name value: Wrong type or count." +msgstr "Bad job-name value: Wrong type or count." + +msgid "Bad job-priority value." +msgstr "Bad job-priority value." + +#, c-format +msgid "Bad job-sheets value \"%s\"." +msgstr "Bad job-sheets value \"%s\"." + +msgid "Bad job-sheets value type." +msgstr "Bad job-sheets value type." + +msgid "Bad job-state value." +msgstr "Bad job-state value." + +#, c-format +msgid "Bad job-uri \"%s\"." +msgstr "Bad job-uri \"%s\"." + +#, c-format +msgid "Bad notify-pull-method \"%s\"." +msgstr "Bad notify-pull-method \"%s\"." + +#, c-format +msgid "Bad notify-recipient-uri \"%s\"." +msgstr "Bad notify-recipient-uri \"%s\"." + +#, c-format +msgid "Bad notify-user-data \"%s\"." +msgstr "Bad notify-user-data \"%s\"." + +#, c-format +msgid "Bad number-up value %d." +msgstr "Bad number-up value %d." + +#, c-format +msgid "Bad page-ranges values %d-%d." +msgstr "Bad page-ranges values %d-%d." + +msgid "Bad port number in URI" +msgstr "Bad port number in URI" + +#, c-format +msgid "Bad port-monitor \"%s\"." +msgstr "Bad port-monitor \"%s\"." + +#, c-format +msgid "Bad printer-state value %d." +msgstr "Bad printer-state value %d." + +msgid "Bad printer-uri." +msgstr "Bad printer-uri." + +#, c-format +msgid "Bad request ID %d." +msgstr "Bad request ID %d." + +#, c-format +msgid "Bad request version number %d.%d." +msgstr "Bad request version number %d.%d." + +msgid "Bad resource in URI" +msgstr "Bad resource in URI" + +msgid "Bad scheme in URI" +msgstr "Bad scheme in URI" + +msgid "Bad username in URI" +msgstr "Bad username in URI" + +msgid "Bad value string" +msgstr "Bad value string" + +msgid "Bad/empty URI" +msgstr "Bad/empty URI" + +msgid "Banners" +msgstr "Banners" + +msgid "Bond Paper" +msgstr "Bond Paper" + +msgid "Booklet" +msgstr "Booklet" + +#, c-format +msgid "Boolean expected for waiteof option \"%s\"." +msgstr "Boolean expected for waiteof option \"%s\"." + +msgid "Buffer overflow detected, aborting." +msgstr "Buffer overflow detected, aborting." + +msgid "CMYK" +msgstr "CMYK" + +msgid "CPCL Label Printer" +msgstr "CPCL Label Printer" + +msgid "Cancel Jobs" +msgstr "Cancel Jobs" + +msgid "Canceling print job." +msgstr "Canceling print job." + +msgid "Cannot change printer-is-shared for remote queues." +msgstr "Cannot change printer-is-shared for remote queues." + +msgid "Cannot share a remote Kerberized printer." +msgstr "Cannot share a remote Kerberized printer." + +msgid "Cassette" +msgstr "Cassette" + +msgid "Change Settings" +msgstr "Change Settings" + +#, c-format +msgid "Character set \"%s\" not supported." +msgstr "Character set \"%s\" not supported." + +msgid "Classes" +msgstr "Classes" + +msgid "Clean Print Heads" +msgstr "Clean Print Heads" + +msgid "Close-Job doesn't support the job-uri attribute." +msgstr "Close-Job doesn't support the job-uri attribute." + +msgid "Color" +msgstr "Color" + +msgid "Color Mode" +msgstr "Color Mode" + +msgid "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" +msgstr "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" + +msgid "Community name uses indefinite length" +msgstr "Community name uses indefinite length" + +msgid "Connected to printer." +msgstr "Connected to printer." + +msgid "Connecting to printer." +msgstr "Connecting to printer." + +msgid "Continue" +msgstr "Continue" + +msgid "Continuous" +msgstr "Continuous" + +msgid "Control file sent successfully." +msgstr "Control file sent successfully." + +msgid "Copying print data." +msgstr "Copying print data." + +msgid "Created" +msgstr "Created" + +msgid "Credentials do not validate against site CA certificate." +msgstr "Credentials do not validate against site CA certificate." + +msgid "Credentials have expired." +msgstr "Credentials have expired." + +msgid "Custom" +msgstr "Custom" + +msgid "CustominCutInterval" +msgstr "CustominCutInterval" + +msgid "CustominTearInterval" +msgstr "CustominTearInterval" + +msgid "Cut" +msgstr "Cut" + +msgid "Cutter" +msgstr "Cutter" + +msgid "Dark" +msgstr "Dark" + +msgid "Darkness" +msgstr "Darkness" + +msgid "Data file sent successfully." +msgstr "Data file sent successfully." + +msgid "Deep Color" +msgstr "Deep Color" + +msgid "Deep Gray" +msgstr "Deep Gray" + +msgid "Delete Class" +msgstr "Delete Class" + +msgid "Delete Printer" +msgstr "Delete Printer" + +msgid "DeskJet Series" +msgstr "DeskJet Series" + +#, c-format +msgid "Destination \"%s\" is not accepting jobs." +msgstr "Destination \"%s\" is not accepting jobs." + +msgid "Device CMYK" +msgstr "Device CMYK" + +msgid "Device Gray" +msgstr "Device Gray" + +msgid "Device RGB" +msgstr "Device RGB" + +#, c-format +msgid "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" +msgstr "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" + +msgid "Direct Thermal Media" +msgstr "Direct Thermal Media" + +#, c-format +msgid "Directory \"%s\" contains a relative path." +msgstr "Directory \"%s\" contains a relative path." + +#, c-format +msgid "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "Directory \"%s\" is a file." +msgstr "Directory \"%s\" is a file." + +#, c-format +msgid "Directory \"%s\" not available: %s" +msgstr "Directory \"%s\" not available: %s" + +#, c-format +msgid "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." + +msgid "Disabled" +msgstr "Disabled" + +#, c-format +msgid "Document #%d does not exist in job #%d." +msgstr "Document #%d does not exist in job #%d." + +msgid "Draft" +msgstr "Draft" + +msgid "Duplexer" +msgstr "Duplexer" + +msgid "Dymo" +msgstr "Dymo" + +msgid "EPL1 Label Printer" +msgstr "EPL1 Label Printer" + +msgid "EPL2 Label Printer" +msgstr "EPL2 Label Printer" + +msgid "Edit Configuration File" +msgstr "Edit Configuration File" + +msgid "Encryption is not supported." +msgstr "Encryption is not supported." + +#. TRANSLATORS: Banner/cover sheet after the print job. +msgid "Ending Banner" +msgstr "Ending Banner" + +msgid "English" +msgstr "English" + +msgid "" +"Enter your username and password or the root username and password to access " +"this page. If you are using Kerberos authentication, make sure you have a " +"valid Kerberos ticket." +msgstr "" +"Enter your username and password or the root username and password to access " +"this page. If you are using Kerberos authentication, make sure you have a " +"valid Kerberos ticket." + +msgid "Envelope #10" +msgstr "Envelope #10" + +msgid "Envelope #11" +msgstr "Envelope #11" + +msgid "Envelope #12" +msgstr "Envelope #12" + +msgid "Envelope #14" +msgstr "Envelope #14" + +msgid "Envelope #9" +msgstr "Envelope #9" + +msgid "Envelope B4" +msgstr "Envelope B4" + +msgid "Envelope B5" +msgstr "Envelope B5" + +msgid "Envelope B6" +msgstr "Envelope B6" + +msgid "Envelope C0" +msgstr "Envelope C0" + +msgid "Envelope C1" +msgstr "Envelope C1" + +msgid "Envelope C2" +msgstr "Envelope C2" + +msgid "Envelope C3" +msgstr "Envelope C3" + +msgid "Envelope C4" +msgstr "Envelope C4" + +msgid "Envelope C5" +msgstr "Envelope C5" + +msgid "Envelope C6" +msgstr "Envelope C6" + +msgid "Envelope C65" +msgstr "Envelope C65" + +msgid "Envelope C7" +msgstr "Envelope C7" + +msgid "Envelope Choukei 3" +msgstr "Envelope Choukei 3" + +msgid "Envelope Choukei 3 Long Edge" +msgstr "Envelope Choukei 3 Long Edge" + +msgid "Envelope Choukei 4" +msgstr "Envelope Choukei 4" + +msgid "Envelope Choukei 4 Long Edge" +msgstr "Envelope Choukei 4 Long Edge" + +msgid "Envelope DL" +msgstr "Envelope DL" + +msgid "Envelope Feed" +msgstr "Envelope Feed" + +msgid "Envelope Invite" +msgstr "Envelope Invite" + +msgid "Envelope Italian" +msgstr "Envelope Italian" + +msgid "Envelope Kaku2" +msgstr "Envelope Kaku2" + +msgid "Envelope Kaku2 Long Edge" +msgstr "Envelope Kaku2 Long Edge" + +msgid "Envelope Kaku3" +msgstr "Envelope Kaku3" + +msgid "Envelope Kaku3 Long Edge" +msgstr "Envelope Kaku3 Long Edge" + +msgid "Envelope Monarch" +msgstr "Envelope Monarch" + +msgid "Envelope PRC1" +msgstr "Envelope PRC1" + +msgid "Envelope PRC1 Long Edge" +msgstr "Envelope PRC1 Long Edge" + +msgid "Envelope PRC10" +msgstr "Envelope PRC10" + +msgid "Envelope PRC10 Long Edge" +msgstr "Envelope PRC10 Long Edge" + +msgid "Envelope PRC2" +msgstr "Envelope PRC2" + +msgid "Envelope PRC2 Long Edge" +msgstr "Envelope PRC2 Long Edge" + +msgid "Envelope PRC3" +msgstr "Envelope PRC3" + +msgid "Envelope PRC3 Long Edge" +msgstr "Envelope PRC3 Long Edge" + +msgid "Envelope PRC4" +msgstr "Envelope PRC4" + +msgid "Envelope PRC4 Long Edge" +msgstr "Envelope PRC4 Long Edge" + +msgid "Envelope PRC5 Long Edge" +msgstr "Envelope PRC5 Long Edge" + +msgid "Envelope PRC5PRC5" +msgstr "Envelope PRC5PRC5" + +msgid "Envelope PRC6" +msgstr "Envelope PRC6" + +msgid "Envelope PRC6 Long Edge" +msgstr "Envelope PRC6 Long Edge" + +msgid "Envelope PRC7" +msgstr "Envelope PRC7" + +msgid "Envelope PRC7 Long Edge" +msgstr "Envelope PRC7 Long Edge" + +msgid "Envelope PRC8" +msgstr "Envelope PRC8" + +msgid "Envelope PRC8 Long Edge" +msgstr "Envelope PRC8 Long Edge" + +msgid "Envelope PRC9" +msgstr "Envelope PRC9" + +msgid "Envelope PRC9 Long Edge" +msgstr "Envelope PRC9 Long Edge" + +msgid "Envelope Personal" +msgstr "Envelope Personal" + +msgid "Envelope You4" +msgstr "Envelope You4" + +msgid "Envelope You4 Long Edge" +msgstr "Envelope You4 Long Edge" + +msgid "Environment Variables:" +msgstr "Environment Variables:" + +msgid "Epson" +msgstr "Epson" + +msgid "Error Policy" +msgstr "Error Policy" + +msgid "Error reading raster data." +msgstr "Error reading raster data." + +msgid "Error sending raster data." +msgstr "Error sending raster data." + +msgid "Error: need hostname after \"-h\" option." +msgstr "Error: need hostname after \"-h\" option." + +msgid "European Fanfold" +msgstr "European Fanfold" + +msgid "European Fanfold Legal" +msgstr "European Fanfold Legal" + +msgid "Every 10 Labels" +msgstr "Every 10 Labels" + +msgid "Every 2 Labels" +msgstr "Every 2 Labels" + +msgid "Every 3 Labels" +msgstr "Every 3 Labels" + +msgid "Every 4 Labels" +msgstr "Every 4 Labels" + +msgid "Every 5 Labels" +msgstr "Every 5 Labels" + +msgid "Every 6 Labels" +msgstr "Every 6 Labels" + +msgid "Every 7 Labels" +msgstr "Every 7 Labels" + +msgid "Every 8 Labels" +msgstr "Every 8 Labels" + +msgid "Every 9 Labels" +msgstr "Every 9 Labels" + +msgid "Every Label" +msgstr "Every Label" + +msgid "Executive" +msgstr "Executive" + +msgid "Expectation Failed" +msgstr "Expectation Failed" + +msgid "Expressions:" +msgstr "Expressions:" + +msgid "Fast Grayscale" +msgstr "Fast Grayscale" + +#, c-format +msgid "File \"%s\" contains a relative path." +msgstr "File \"%s\" contains a relative path." + +#, c-format +msgid "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "File \"%s\" is a directory." +msgstr "File \"%s\" is a directory." + +#, c-format +msgid "File \"%s\" not available: %s" +msgstr "File \"%s\" not available: %s" + +#, c-format +msgid "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." + +msgid "File Folder" +msgstr "File Folder" + +#, c-format +msgid "" +"File device URIs have been disabled. To enable, see the FileDevice directive " +"in \"%s/cups-files.conf\"." +msgstr "" +"File device URIs have been disabled. To enable, see the FileDevice directive " +"in \"%s/cups-files.conf\"." + +#, c-format +msgid "Finished page %d." +msgstr "Finished page %d." + +msgid "Finishing Preset" +msgstr "Finishing Preset" + +msgid "Fold" +msgstr "Fold" + +msgid "Folio" +msgstr "Folio" + +msgid "Forbidden" +msgstr "Forbidden" + +msgid "Found" +msgstr "Found" + +msgid "General" +msgstr "General" + +msgid "Generic" +msgstr "Generic" + +msgid "Get-Response-PDU uses indefinite length" +msgstr "Get-Response-PDU uses indefinite length" + +msgid "Glossy Paper" +msgstr "Glossy Paper" + +msgid "Got a printer-uri attribute but no job-id." +msgstr "Got a printer-uri attribute but no job-id." + +msgid "Grayscale" +msgstr "Grayscale" + +msgid "HP" +msgstr "HP" + +msgid "Hanging Folder" +msgstr "Hanging Folder" + +msgid "Hash buffer too small." +msgstr "Hash buffer too small." + +msgid "Help file not in index." +msgstr "Help file not in index." + +msgid "High" +msgstr "High" + +msgid "IPP 1setOf attribute with incompatible value tags." +msgstr "IPP 1setOf attribute with incompatible value tags." + +msgid "IPP attribute has no name." +msgstr "IPP attribute has no name." + +msgid "IPP attribute is not a member of the message." +msgstr "IPP attribute is not a member of the message." + +msgid "IPP begCollection value not 0 bytes." +msgstr "IPP begCollection value not 0 bytes." + +msgid "IPP boolean value not 1 byte." +msgstr "IPP boolean value not 1 byte." + +msgid "IPP date value not 11 bytes." +msgstr "IPP date value not 11 bytes." + +msgid "IPP endCollection value not 0 bytes." +msgstr "IPP endCollection value not 0 bytes." + +msgid "IPP enum value not 4 bytes." +msgstr "IPP enum value not 4 bytes." + +msgid "IPP extension tag larger than 0x7FFFFFFF." +msgstr "IPP extension tag larger than 0x7FFFFFFF." + +msgid "IPP integer value not 4 bytes." +msgstr "IPP integer value not 4 bytes." + +msgid "IPP language length overflows value." +msgstr "IPP language length overflows value." + +msgid "IPP language length too large." +msgstr "IPP language length too large." + +msgid "IPP member name is not empty." +msgstr "IPP member name is not empty." + +msgid "IPP memberName value is empty." +msgstr "IPP memberName value is empty." + +msgid "IPP memberName with no attribute." +msgstr "IPP memberName with no attribute." + +msgid "IPP name larger than 32767 bytes." +msgstr "IPP name larger than 32767 bytes." + +msgid "IPP nameWithLanguage value less than minimum 4 bytes." +msgstr "IPP nameWithLanguage value less than minimum 4 bytes." + +msgid "IPP octetString length too large." +msgstr "IPP octetString length too large." + +msgid "IPP rangeOfInteger value not 8 bytes." +msgstr "IPP rangeOfInteger value not 8 bytes." + +msgid "IPP resolution value not 9 bytes." +msgstr "IPP resolution value not 9 bytes." + +msgid "IPP string length overflows value." +msgstr "IPP string length overflows value." + +msgid "IPP textWithLanguage value less than minimum 4 bytes." +msgstr "IPP textWithLanguage value less than minimum 4 bytes." + +msgid "IPP value larger than 32767 bytes." +msgstr "IPP value larger than 32767 bytes." + +msgid "IPPFIND_SERVICE_DOMAIN Domain name" +msgstr "IPPFIND_SERVICE_DOMAIN Domain name" + +msgid "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" +msgstr "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" + +msgid "IPPFIND_SERVICE_NAME Service instance name" +msgstr "IPPFIND_SERVICE_NAME Service instance name" + +msgid "IPPFIND_SERVICE_PORT Port number" +msgstr "IPPFIND_SERVICE_PORT Port number" + +msgid "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" +msgstr "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" + +msgid "IPPFIND_SERVICE_SCHEME URI scheme" +msgstr "IPPFIND_SERVICE_SCHEME URI scheme" + +msgid "IPPFIND_SERVICE_URI URI" +msgstr "IPPFIND_SERVICE_URI URI" + +msgid "IPPFIND_TXT_* Value of TXT record key" +msgstr "IPPFIND_TXT_* Value of TXT record key" + +msgid "ISOLatin1" +msgstr "ISOLatin1" + +msgid "Illegal control character" +msgstr "Illegal control character" + +msgid "Illegal main keyword string" +msgstr "Illegal main keyword string" + +msgid "Illegal option keyword string" +msgstr "Illegal option keyword string" + +msgid "Illegal translation string" +msgstr "Illegal translation string" + +msgid "Illegal whitespace character" +msgstr "Illegal whitespace character" + +msgid "Installable Options" +msgstr "Installable Options" + +msgid "Installed" +msgstr "Installed" + +msgid "IntelliBar Label Printer" +msgstr "IntelliBar Label Printer" + +msgid "Intellitech" +msgstr "Intellitech" + +msgid "Internal Server Error" +msgstr "Internal Server Error" + +msgid "Internal error" +msgstr "Internal error" + +msgid "Internet Postage 2-Part" +msgstr "Internet Postage 2-Part" + +msgid "Internet Postage 3-Part" +msgstr "Internet Postage 3-Part" + +msgid "Internet Printing Protocol" +msgstr "Internet Printing Protocol" + +msgid "Invalid group tag." +msgstr "Invalid group tag." + +msgid "Invalid media name arguments." +msgstr "Invalid media name arguments." + +msgid "Invalid media size." +msgstr "Invalid media size." + +msgid "Invalid named IPP attribute in collection." +msgstr "Invalid named IPP attribute in collection." + +msgid "Invalid ppd-name value." +msgstr "Invalid ppd-name value." + +#, c-format +msgid "Invalid printer command \"%s\"." +msgstr "Invalid printer command \"%s\"." + +msgid "JCL" +msgstr "JCL" + +msgid "JIS B0" +msgstr "JIS B0" + +msgid "JIS B1" +msgstr "JIS B1" + +msgid "JIS B10" +msgstr "JIS B10" + +msgid "JIS B2" +msgstr "JIS B2" + +msgid "JIS B3" +msgstr "JIS B3" + +msgid "JIS B4" +msgstr "JIS B4" + +msgid "JIS B4 Long Edge" +msgstr "JIS B4 Long Edge" + +msgid "JIS B5" +msgstr "JIS B5" + +msgid "JIS B5 Long Edge" +msgstr "JIS B5 Long Edge" + +msgid "JIS B6" +msgstr "JIS B6" + +msgid "JIS B6 Long Edge" +msgstr "JIS B6 Long Edge" + +msgid "JIS B7" +msgstr "JIS B7" + +msgid "JIS B8" +msgstr "JIS B8" + +msgid "JIS B9" +msgstr "JIS B9" + +#, c-format +msgid "Job #%d cannot be restarted - no files." +msgstr "Job #%d cannot be restarted - no files." + +#, c-format +msgid "Job #%d does not exist." +msgstr "Job #%d does not exist." + +#, c-format +msgid "Job #%d is already aborted - can't cancel." +msgstr "Job #%d is already aborted - can't cancel." + +#, c-format +msgid "Job #%d is already canceled - can't cancel." +msgstr "Job #%d is already canceled - can't cancel." + +#, c-format +msgid "Job #%d is already completed - can't cancel." +msgstr "Job #%d is already completed - can't cancel." + +#, c-format +msgid "Job #%d is finished and cannot be altered." +msgstr "Job #%d is finished and cannot be altered." + +#, c-format +msgid "Job #%d is not complete." +msgstr "Job #%d is not complete." + +#, c-format +msgid "Job #%d is not held for authentication." +msgstr "Job #%d is not held for authentication." + +#, c-format +msgid "Job #%d is not held." +msgstr "Job #%d is not held." + +msgid "Job Completed" +msgstr "Job Completed" + +msgid "Job Created" +msgstr "Job Created" + +msgid "Job Options Changed" +msgstr "Job Options Changed" + +msgid "Job Stopped" +msgstr "Job Stopped" + +msgid "Job is completed and cannot be changed." +msgstr "Job is completed and cannot be changed." + +msgid "Job operation failed" +msgstr "Job operation failed" + +msgid "Job state cannot be changed." +msgstr "Job state cannot be changed." + +msgid "Job subscriptions cannot be renewed." +msgstr "Job subscriptions cannot be renewed." + +msgid "Jobs" +msgstr "Jobs" + +msgid "LPD/LPR Host or Printer" +msgstr "LPD/LPR Host or Printer" + +msgid "" +"LPDEST environment variable names default destination that does not exist." +msgstr "" +"LPDEST environment variable names default destination that does not exist." + +msgid "Label Printer" +msgstr "Label Printer" + +msgid "Label Top" +msgstr "Label Top" + +#, c-format +msgid "Language \"%s\" not supported." +msgstr "Language \"%s\" not supported." + +msgid "Large Address" +msgstr "Large Address" + +msgid "LaserJet Series PCL 4/5" +msgstr "LaserJet Series PCL 4/5" + +msgid "Letter Oversize" +msgstr "Letter Oversize" + +msgid "Letter Oversize Long Edge" +msgstr "Letter Oversize Long Edge" + +msgid "Light" +msgstr "Light" + +msgid "Line longer than the maximum allowed (255 characters)" +msgstr "Line longer than the maximum allowed (255 characters)" + +msgid "List Available Printers" +msgstr "List Available Printers" + +#, c-format +msgid "Listening on port %d." +msgstr "Listening on port %d." + +msgid "Local printer created." +msgstr "Local printer created." + +msgid "Long-Edge (Portrait)" +msgstr "Long-Edge (Portrait)" + +msgid "Looking for printer." +msgstr "Looking for printer." + +msgid "Manual Feed" +msgstr "Manual Feed" + +msgid "Media Size" +msgstr "Media Size" + +msgid "Media Source" +msgstr "Media Source" + +msgid "Media Tracking" +msgstr "Media Tracking" + +msgid "Media Type" +msgstr "Media Type" + +msgid "Medium" +msgstr "Medium" + +msgid "Memory allocation error" +msgstr "Memory allocation error" + +msgid "Missing CloseGroup" +msgstr "Missing CloseGroup" + +msgid "Missing CloseUI/JCLCloseUI" +msgstr "Missing CloseUI/JCLCloseUI" + +msgid "Missing PPD-Adobe-4.x header" +msgstr "Missing PPD-Adobe-4.x header" + +msgid "Missing asterisk in column 1" +msgstr "Missing asterisk in column 1" + +msgid "Missing document-number attribute." +msgstr "Missing document-number attribute." + +msgid "Missing form variable" +msgstr "Missing form variable" + +msgid "Missing last-document attribute in request." +msgstr "Missing last-document attribute in request." + +msgid "Missing media or media-col." +msgstr "Missing media or media-col." + +msgid "Missing media-size in media-col." +msgstr "Missing media-size in media-col." + +msgid "Missing notify-subscription-ids attribute." +msgstr "Missing notify-subscription-ids attribute." + +msgid "Missing option keyword" +msgstr "Missing option keyword" + +msgid "Missing requesting-user-name attribute." +msgstr "Missing requesting-user-name attribute." + +#, c-format +msgid "Missing required attribute \"%s\"." +msgstr "Missing required attribute \"%s\"." + +msgid "Missing required attributes." +msgstr "Missing required attributes." + +msgid "Missing resource in URI" +msgstr "Missing resource in URI" + +msgid "Missing scheme in URI" +msgstr "Missing scheme in URI" + +msgid "Missing value string" +msgstr "Missing value string" + +msgid "Missing x-dimension in media-size." +msgstr "Missing x-dimension in media-size." + +msgid "Missing y-dimension in media-size." +msgstr "Missing y-dimension in media-size." + +#, c-format +msgid "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" +msgstr "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" + +msgid "Modifiers:" +msgstr "Modifiers:" + +msgid "Modify Class" +msgstr "Modify Class" + +msgid "Modify Printer" +msgstr "Modify Printer" + +msgid "Move All Jobs" +msgstr "Move All Jobs" + +msgid "Move Job" +msgstr "Move Job" + +msgid "Moved Permanently" +msgstr "Moved Permanently" + +msgid "NULL PPD file pointer" +msgstr "NULL PPD file pointer" + +msgid "Name OID uses indefinite length" +msgstr "Name OID uses indefinite length" + +msgid "Nested classes are not allowed." +msgstr "Nested classes are not allowed." + +msgid "Never" +msgstr "Never" + +msgid "New credentials are not valid for name." +msgstr "New credentials are not valid for name." + +msgid "New credentials are older than stored credentials." +msgstr "New credentials are older than stored credentials." + +msgid "No" +msgstr "No" + +msgid "No Content" +msgstr "No Content" + +msgid "No IPP attributes." +msgstr "No IPP attributes." + +msgid "No PPD name" +msgstr "No PPD name" + +msgid "No VarBind SEQUENCE" +msgstr "No VarBind SEQUENCE" + +msgid "No active connection" +msgstr "No active connection" + +msgid "No active connection." +msgstr "No active connection." + +#, c-format +msgid "No active jobs on %s." +msgstr "No active jobs on %s." + +msgid "No attributes in request." +msgstr "No attributes in request." + +msgid "No authentication information provided." +msgstr "No authentication information provided." + +msgid "No common name specified." +msgstr "No common name specified." + +msgid "No community name" +msgstr "No community name" + +msgid "No default destination." +msgstr "No default destination." + +msgid "No default printer." +msgstr "No default printer." + +msgid "No destinations added." +msgstr "No destinations added." + +msgid "No device URI found in argv[0] or in DEVICE_URI environment variable." +msgstr "No device URI found in argv[0] or in DEVICE_URI environment variable." + +msgid "No error-index" +msgstr "No error-index" + +msgid "No error-status" +msgstr "No error-status" + +msgid "No file in print request." +msgstr "No file in print request." + +msgid "No modification time" +msgstr "No modification time" + +msgid "No name OID" +msgstr "No name OID" + +msgid "No pages were found." +msgstr "No pages were found." + +msgid "No printer name" +msgstr "No printer name" + +msgid "No printer-uri found" +msgstr "No printer-uri found" + +msgid "No printer-uri found for class" +msgstr "No printer-uri found for class" + +msgid "No printer-uri in request." +msgstr "No printer-uri in request." + +msgid "No request URI." +msgstr "No request URI." + +msgid "No request protocol version." +msgstr "No request protocol version." + +msgid "No request sent." +msgstr "No request sent." + +msgid "No request-id" +msgstr "No request-id" + +msgid "No stored credentials, not valid for name." +msgstr "No stored credentials, not valid for name." + +msgid "No subscription attributes in request." +msgstr "No subscription attributes in request." + +msgid "No subscriptions found." +msgstr "No subscriptions found." + +msgid "No variable-bindings SEQUENCE" +msgstr "No variable-bindings SEQUENCE" + +msgid "No version number" +msgstr "No version number" + +msgid "Non-continuous (Mark sensing)" +msgstr "Non-continuous (Mark sensing)" + +msgid "Non-continuous (Web sensing)" +msgstr "Non-continuous (Web sensing)" + +msgid "None" +msgstr "None" + +msgid "Normal" +msgstr "Normal" + +msgid "Not Found" +msgstr "Not Found" + +msgid "Not Implemented" +msgstr "Not Implemented" + +msgid "Not Installed" +msgstr "Not Installed" + +msgid "Not Modified" +msgstr "Not Modified" + +msgid "Not Supported" +msgstr "Not Supported" + +msgid "Not allowed to print." +msgstr "Not allowed to print." + +msgid "Note" +msgstr "Note" + +msgid "OK" +msgstr "OK" + +msgid "Off (1-Sided)" +msgstr "Off (1-Sided)" + +msgid "Oki" +msgstr "Oki" + +msgid "Online Help" +msgstr "Online Help" + +msgid "Only local users can create a local printer." +msgstr "Only local users can create a local printer." + +#, c-format +msgid "Open of %s failed: %s" +msgstr "Open of %s failed: %s" + +msgid "OpenGroup without a CloseGroup first" +msgstr "OpenGroup without a CloseGroup first" + +msgid "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" +msgstr "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" + +msgid "Operation Policy" +msgstr "Operation Policy" + +#, c-format +msgid "Option \"%s\" cannot be included via %%%%IncludeFeature." +msgstr "Option \"%s\" cannot be included via %%%%IncludeFeature." + +msgid "Options Installed" +msgstr "Options Installed" + +msgid "Options:" +msgstr "Options:" + +msgid "Other Media" +msgstr "Other Media" + +msgid "Other Tray" +msgstr "Other Tray" + +msgid "Out of date PPD cache file." +msgstr "Out of date PPD cache file." + +msgid "Out of memory." +msgstr "Out of memory." + +msgid "Output Mode" +msgstr "Output Mode" + +msgid "PCL Laser Printer" +msgstr "PCL Laser Printer" + +msgid "PRC16K" +msgstr "PRC16K" + +msgid "PRC16K Long Edge" +msgstr "PRC16K Long Edge" + +msgid "PRC32K" +msgstr "PRC32K" + +msgid "PRC32K Long Edge" +msgstr "PRC32K Long Edge" + +msgid "PRC32K Oversize" +msgstr "PRC32K Oversize" + +msgid "PRC32K Oversize Long Edge" +msgstr "PRC32K Oversize Long Edge" + +msgid "" +"PRINTER environment variable names default destination that does not exist." +msgstr "" +"PRINTER environment variable names default destination that does not exist." + +msgid "Packet does not contain a Get-Response-PDU" +msgstr "Packet does not contain a Get-Response-PDU" + +msgid "Packet does not start with SEQUENCE" +msgstr "Packet does not start with SEQUENCE" + +msgid "ParamCustominCutInterval" +msgstr "ParamCustominCutInterval" + +msgid "ParamCustominTearInterval" +msgstr "ParamCustominTearInterval" + +#, c-format +msgid "Password for %s on %s? " +msgstr "Password for %s on %s? " + +msgid "Pause Class" +msgstr "Pause Class" + +msgid "Pause Printer" +msgstr "Pause Printer" + +msgid "Peel-Off" +msgstr "Peel-Off" + +msgid "Photo" +msgstr "Photo" + +msgid "Photo Labels" +msgstr "Photo Labels" + +msgid "Plain Paper" +msgstr "Plain Paper" + +msgid "Policies" +msgstr "Policies" + +msgid "Port Monitor" +msgstr "Port Monitor" + +msgid "PostScript Printer" +msgstr "PostScript Printer" + +msgid "Postcard" +msgstr "Postcard" + +msgid "Postcard Double" +msgstr "Postcard Double" + +msgid "Postcard Double Long Edge" +msgstr "Postcard Double Long Edge" + +msgid "Postcard Long Edge" +msgstr "Postcard Long Edge" + +msgid "Preparing to print." +msgstr "Preparing to print." + +msgid "Print Density" +msgstr "Print Density" + +msgid "Print Job:" +msgstr "Print Job:" + +msgid "Print Mode" +msgstr "Print Mode" + +msgid "Print Quality" +msgstr "Print Quality" + +msgid "Print Rate" +msgstr "Print Rate" + +msgid "Print Self-Test Page" +msgstr "Print Self-Test Page" + +msgid "Print Speed" +msgstr "Print Speed" + +msgid "Print Test Page" +msgstr "Print Test Page" + +msgid "Print and Cut" +msgstr "Print and Cut" + +msgid "Print and Tear" +msgstr "Print and Tear" + +msgid "Print file sent." +msgstr "Print file sent." + +msgid "Print job canceled at printer." +msgstr "Print job canceled at printer." + +msgid "Print job too large." +msgstr "Print job too large." + +msgid "Print job was not accepted." +msgstr "Print job was not accepted." + +#, c-format +msgid "Printer \"%s\" already exists." +msgstr "Printer \"%s\" already exists." + +msgid "Printer Added" +msgstr "Printer Added" + +msgid "Printer Default" +msgstr "Printer Default" + +msgid "Printer Deleted" +msgstr "Printer Deleted" + +msgid "Printer Modified" +msgstr "Printer Modified" + +msgid "Printer Paused" +msgstr "Printer Paused" + +msgid "Printer Settings" +msgstr "Printer Settings" + +msgid "Printer cannot print supplied content." +msgstr "Printer cannot print supplied content." + +msgid "Printer cannot print with supplied options." +msgstr "Printer cannot print with supplied options." + +msgid "Printer does not support required IPP attributes or document formats." +msgstr "Printer does not support required IPP attributes or document formats." + +msgid "Printer:" +msgstr "Printer:" + +msgid "Printers" +msgstr "Printers" + +#, c-format +msgid "Printing page %d, %u%% complete." +msgstr "Printing page %d, %u%% complete." + +msgid "Punch" +msgstr "Punch" + +msgid "Quarto" +msgstr "Quarto" + +msgid "Quota limit reached." +msgstr "Quota limit reached." + +msgid "Rank Owner Job File(s) Total Size" +msgstr "Rank Owner Job File(s) Total Size" + +msgid "Reject Jobs" +msgstr "Reject Jobs" + +#, c-format +msgid "Remote host did not accept control file (%d)." +msgstr "Remote host did not accept control file (%d)." + +#, c-format +msgid "Remote host did not accept data file (%d)." +msgstr "Remote host did not accept data file (%d)." + +msgid "Reprint After Error" +msgstr "Reprint After Error" + +msgid "Request Entity Too Large" +msgstr "Request Entity Too Large" + +msgid "Resolution" +msgstr "Resolution" + +msgid "Resume Class" +msgstr "Resume Class" + +msgid "Resume Printer" +msgstr "Resume Printer" + +msgid "Return Address" +msgstr "Return Address" + +msgid "Rewind" +msgstr "Rewind" + +msgid "SEQUENCE uses indefinite length" +msgstr "SEQUENCE uses indefinite length" + +msgid "SSL/TLS Negotiation Error" +msgstr "SSL/TLS Negotiation Error" + +msgid "See Other" +msgstr "See Other" + +msgid "See remote printer." +msgstr "See remote printer." + +msgid "Self-signed credentials are blocked." +msgstr "Self-signed credentials are blocked." + +msgid "Sending data to printer." +msgstr "Sending data to printer." + +msgid "Server Restarted" +msgstr "Server Restarted" + +msgid "Server Security Auditing" +msgstr "Server Security Auditing" + +msgid "Server Started" +msgstr "Server Started" + +msgid "Server Stopped" +msgstr "Server Stopped" + +msgid "Server credentials not set." +msgstr "Server credentials not set." + +msgid "Service Unavailable" +msgstr "Service Unavailable" + +msgid "Set Allowed Users" +msgstr "Set Allowed Users" + +msgid "Set As Server Default" +msgstr "Set As Server Default" + +msgid "Set Class Options" +msgstr "Set Class Options" + +msgid "Set Printer Options" +msgstr "Set Printer Options" + +msgid "Set Publishing" +msgstr "Set Publishing" + +msgid "Shipping Address" +msgstr "Shipping Address" + +msgid "Short-Edge (Landscape)" +msgstr "Short-Edge (Landscape)" + +msgid "Special Paper" +msgstr "Special Paper" + +#, c-format +msgid "Spooling job, %.0f%% complete." +msgstr "Spooling job, %.0f%% complete." + +msgid "Standard" +msgstr "Standard" + +msgid "Staple" +msgstr "Staple" + +#. TRANSLATORS: Banner/cover sheet before the print job. +msgid "Starting Banner" +msgstr "Starting Banner" + +#, c-format +msgid "Starting page %d." +msgstr "Starting page %d." + +msgid "Statement" +msgstr "Statement" + +#, c-format +msgid "Subscription #%d does not exist." +msgstr "Subscription #%d does not exist." + +msgid "Substitutions:" +msgstr "Substitutions:" + +msgid "Super A" +msgstr "Super A" + +msgid "Super B" +msgstr "Super B" + +msgid "Super B/A3" +msgstr "Super B/A3" + +msgid "Switching Protocols" +msgstr "Switching Protocols" + +msgid "Tabloid" +msgstr "Tabloid" + +msgid "Tabloid Oversize" +msgstr "Tabloid Oversize" + +msgid "Tabloid Oversize Long Edge" +msgstr "Tabloid Oversize Long Edge" + +msgid "Tear" +msgstr "Tear" + +msgid "Tear-Off" +msgstr "Tear-Off" + +msgid "Tear-Off Adjust Position" +msgstr "Tear-Off Adjust Position" + +#, c-format +msgid "The \"%s\" attribute is required for print jobs." +msgstr "The \"%s\" attribute is required for print jobs." + +#, c-format +msgid "The %s attribute cannot be provided with job-ids." +msgstr "The %s attribute cannot be provided with job-ids." + +#, c-format +msgid "" +"The '%s' Job Status attribute cannot be supplied in a job creation request." +msgstr "" +"The '%s' Job Status attribute cannot be supplied in a job creation request." + +#, c-format +msgid "" +"The '%s' operation attribute cannot be supplied in a Create-Job request." +msgstr "" +"The '%s' operation attribute cannot be supplied in a Create-Job request." + +#, c-format +msgid "The PPD file \"%s\" could not be found." +msgstr "The PPD file \"%s\" could not be found." + +#, c-format +msgid "The PPD file \"%s\" could not be opened: %s" +msgstr "The PPD file \"%s\" could not be opened: %s" + +msgid "The PPD file could not be opened." +msgstr "The PPD file could not be opened." + +msgid "" +"The class name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/), or the pound sign (#)." +msgstr "" +"The class name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/), or the pound sign (#)." + +msgid "" +"The notify-lease-duration attribute cannot be used with job subscriptions." +msgstr "" +"The notify-lease-duration attribute cannot be used with job subscriptions." + +#, c-format +msgid "The notify-user-data value is too large (%d > 63 octets)." +msgstr "The notify-user-data value is too large (%d > 63 octets)." + +msgid "The printer configuration is incorrect or the printer no longer exists." +msgstr "" +"The printer configuration is incorrect or the printer no longer exists." + +msgid "The printer did not respond." +msgstr "The printer did not respond." + +msgid "The printer is in use." +msgstr "The printer is in use." + +msgid "The printer is not connected." +msgstr "The printer is not connected." + +msgid "The printer is not responding." +msgstr "The printer is not responding." + +msgid "The printer is now connected." +msgstr "The printer is now connected." + +msgid "The printer is now online." +msgstr "The printer is now online." + +msgid "The printer is offline." +msgstr "The printer is offline." + +msgid "The printer is unreachable at this time." +msgstr "The printer is unreachable at this time." + +msgid "The printer may not exist or is unavailable at this time." +msgstr "The printer may not exist or is unavailable at this time." + +msgid "" +"The printer name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the " +"pound sign (#)." +msgstr "" +"The printer name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the " +"pound sign (#)." + +msgid "The printer or class does not exist." +msgstr "The printer or class does not exist." + +msgid "The printer or class is not shared." +msgstr "The printer or class is not shared." + +#, c-format +msgid "The printer-uri \"%s\" contains invalid characters." +msgstr "The printer-uri \"%s\" contains invalid characters." + +msgid "The printer-uri attribute is required." +msgstr "The printer-uri attribute is required." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." +msgstr "" +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." +msgstr "" +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." + +msgid "" +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to " +"enable it." +msgstr "" +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to " +"enable it." + +#, c-format +msgid "The which-jobs value \"%s\" is not supported." +msgstr "The which-jobs value \"%s\" is not supported." + +msgid "There are too many subscriptions." +msgstr "There are too many subscriptions." + +msgid "There was an unrecoverable USB error." +msgstr "There was an unrecoverable USB error." + +msgid "Thermal Transfer Media" +msgstr "Thermal Transfer Media" + +msgid "Too many active jobs." +msgstr "Too many active jobs." + +#, c-format +msgid "Too many job-sheets values (%d > 2)." +msgstr "Too many job-sheets values (%d > 2)." + +#, c-format +msgid "Too many printer-state-reasons values (%d > %d)." +msgstr "Too many printer-state-reasons values (%d > %d)." + +msgid "Transparency" +msgstr "Transparency" + +msgid "Tray" +msgstr "Tray" + +msgid "Tray 1" +msgstr "Tray 1" + +msgid "Tray 2" +msgstr "Tray 2" + +msgid "Tray 3" +msgstr "Tray 3" + +msgid "Tray 4" +msgstr "Tray 4" + +msgid "Trust on first use is disabled." +msgstr "Trust on first use is disabled." + +msgid "URI Too Long" +msgstr "URI Too Long" + +msgid "URI too large" +msgstr "URI too large" + +msgid "US Fanfold" +msgstr "US Fanfold" + +msgid "US Ledger" +msgstr "US Ledger" + +msgid "US Legal" +msgstr "US Legal" + +msgid "US Legal Oversize" +msgstr "US Legal Oversize" + +msgid "US Letter" +msgstr "US Letter" + +msgid "US Letter Long Edge" +msgstr "US Letter Long Edge" + +msgid "US Letter Oversize" +msgstr "US Letter Oversize" + +msgid "US Letter Oversize Long Edge" +msgstr "US Letter Oversize Long Edge" + +msgid "US Letter Small" +msgstr "US Letter Small" + +msgid "Unable to access cupsd.conf file" +msgstr "Unable to access cupsd.conf file" + +msgid "Unable to access help file." +msgstr "Unable to access help file." + +msgid "Unable to add class" +msgstr "Unable to add class" + +msgid "Unable to add document to print job." +msgstr "Unable to add document to print job." + +#, c-format +msgid "Unable to add job for destination \"%s\"." +msgstr "Unable to add job for destination \"%s\"." + +msgid "Unable to add printer" +msgstr "Unable to add printer" + +msgid "Unable to allocate memory for file types." +msgstr "Unable to allocate memory for file types." + +msgid "Unable to allocate memory for page info" +msgstr "Unable to allocate memory for page info" + +msgid "Unable to allocate memory for pages array" +msgstr "Unable to allocate memory for pages array" + +msgid "Unable to allocate memory for printer" +msgstr "Unable to allocate memory for printer" + +msgid "Unable to cancel print job." +msgstr "Unable to cancel print job." + +msgid "Unable to change printer" +msgstr "Unable to change printer" + +msgid "Unable to change printer-is-shared attribute" +msgstr "Unable to change printer-is-shared attribute" + +msgid "Unable to change server settings" +msgstr "Unable to change server settings" + +#, c-format +msgid "Unable to compile mimeMediaType regular expression: %s." +msgstr "Unable to compile mimeMediaType regular expression: %s." + +#, c-format +msgid "Unable to compile naturalLanguage regular expression: %s." +msgstr "Unable to compile naturalLanguage regular expression: %s." + +msgid "Unable to configure printer options." +msgstr "Unable to configure printer options." + +msgid "Unable to connect to host." +msgstr "Unable to connect to host." + +msgid "Unable to contact printer, queuing on next printer in class." +msgstr "Unable to contact printer, queuing on next printer in class." + +#, c-format +msgid "Unable to copy PPD file - %s" +msgstr "Unable to copy PPD file - %s" + +msgid "Unable to copy PPD file." +msgstr "Unable to copy PPD file." + +msgid "Unable to create credentials from array." +msgstr "Unable to create credentials from array." + +msgid "Unable to create printer-uri" +msgstr "Unable to create printer-uri" + +msgid "Unable to create printer." +msgstr "Unable to create printer." + +msgid "Unable to create server credentials." +msgstr "Unable to create server credentials." + +#, c-format +msgid "Unable to create spool directory \"%s\": %s" +msgstr "Unable to create spool directory \"%s\": %s" + +msgid "Unable to create temporary file" +msgstr "Unable to create temporary file" + +msgid "Unable to delete class" +msgstr "Unable to delete class" + +msgid "Unable to delete printer" +msgstr "Unable to delete printer" + +msgid "Unable to do maintenance command" +msgstr "Unable to do maintenance command" + +msgid "Unable to edit cupsd.conf files larger than 1MB" +msgstr "Unable to edit cupsd.conf files larger than 1MB" + +#, c-format +msgid "Unable to establish a secure connection to host (%d)." +msgstr "Unable to establish a secure connection to host (%d)." + +msgid "" +"Unable to establish a secure connection to host (certificate chain invalid)." +msgstr "" +"Unable to establish a secure connection to host (certificate chain invalid)." + +msgid "" +"Unable to establish a secure connection to host (certificate not yet valid)." +msgstr "" +"Unable to establish a secure connection to host (certificate not yet valid)." + +msgid "Unable to establish a secure connection to host (expired certificate)." +msgstr "Unable to establish a secure connection to host (expired certificate)." + +msgid "Unable to establish a secure connection to host (host name mismatch)." +msgstr "Unable to establish a secure connection to host (host name mismatch)." + +msgid "" +"Unable to establish a secure connection to host (peer dropped connection " +"before responding)." +msgstr "" +"Unable to establish a secure connection to host (peer dropped connection " +"before responding)." + +msgid "" +"Unable to establish a secure connection to host (self-signed certificate)." +msgstr "" +"Unable to establish a secure connection to host (self-signed certificate)." + +msgid "" +"Unable to establish a secure connection to host (untrusted certificate)." +msgstr "" +"Unable to establish a secure connection to host (untrusted certificate)." + +msgid "Unable to establish a secure connection to host." +msgstr "Unable to establish a secure connection to host." + +#, c-format +msgid "Unable to execute command \"%s\": %s" +msgstr "Unable to execute command \"%s\": %s" + +msgid "Unable to find destination for job" +msgstr "Unable to find destination for job" + +msgid "Unable to find printer." +msgstr "Unable to find printer." + +msgid "Unable to find server credentials." +msgstr "Unable to find server credentials." + +msgid "Unable to get backend exit status." +msgstr "Unable to get backend exit status." + +msgid "Unable to get class list" +msgstr "Unable to get class list" + +msgid "Unable to get class status" +msgstr "Unable to get class status" + +msgid "Unable to get list of printer drivers" +msgstr "Unable to get list of printer drivers" + +msgid "Unable to get printer attributes" +msgstr "Unable to get printer attributes" + +msgid "Unable to get printer list" +msgstr "Unable to get printer list" + +msgid "Unable to get printer status" +msgstr "Unable to get printer status" + +msgid "Unable to get printer status." +msgstr "Unable to get printer status." + +msgid "Unable to load help index." +msgstr "Unable to load help index." + +#, c-format +msgid "Unable to locate printer \"%s\"." +msgstr "Unable to locate printer \"%s\"." + +msgid "Unable to locate printer." +msgstr "Unable to locate printer." + +msgid "Unable to modify class" +msgstr "Unable to modify class" + +msgid "Unable to modify printer" +msgstr "Unable to modify printer" + +msgid "Unable to move job" +msgstr "Unable to move job" + +msgid "Unable to move jobs" +msgstr "Unable to move jobs" + +msgid "Unable to open PPD file" +msgstr "Unable to open PPD file" + +msgid "Unable to open cupsd.conf file:" +msgstr "Unable to open cupsd.conf file:" + +msgid "Unable to open device file" +msgstr "Unable to open device file" + +#, c-format +msgid "Unable to open document #%d in job #%d." +msgstr "Unable to open document #%d in job #%d." + +msgid "Unable to open help file." +msgstr "Unable to open help file." + +msgid "Unable to open print file" +msgstr "Unable to open print file" + +msgid "Unable to open raster file" +msgstr "Unable to open raster file" + +msgid "Unable to print test page" +msgstr "Unable to print test page" + +msgid "Unable to read print data." +msgstr "Unable to read print data." + +#, c-format +msgid "Unable to register \"%s.%s\": %d" +msgstr "Unable to register \"%s.%s\": %d" + +msgid "Unable to rename job document file." +msgstr "Unable to rename job document file." + +msgid "Unable to resolve printer-uri." +msgstr "Unable to resolve printer-uri." + +msgid "Unable to see in file" +msgstr "Unable to see in file" + +msgid "Unable to send command to printer driver" +msgstr "Unable to send command to printer driver" + +msgid "Unable to send data to printer." +msgstr "Unable to send data to printer." + +msgid "Unable to set options" +msgstr "Unable to set options" + +msgid "Unable to set server default" +msgstr "Unable to set server default" + +msgid "Unable to start backend process." +msgstr "Unable to start backend process." + +msgid "Unable to upload cupsd.conf file" +msgstr "Unable to upload cupsd.conf file" + +msgid "Unable to use legacy USB class driver." +msgstr "Unable to use legacy USB class driver." + +msgid "Unable to write print data" +msgstr "Unable to write print data" + +#, c-format +msgid "Unable to write uncompressed print data: %s" +msgstr "Unable to write uncompressed print data: %s" + +msgid "Unauthorized" +msgstr "Unauthorized" + +msgid "Units" +msgstr "Units" + +msgid "Unknown" +msgstr "Unknown" + +#, c-format +msgid "Unknown choice \"%s\" for option \"%s\"." +msgstr "Unknown choice \"%s\" for option \"%s\"." + +#, c-format +msgid "Unknown directive \"%s\" on line %d of \"%s\" ignored." +msgstr "Unknown directive \"%s\" on line %d of \"%s\" ignored." + +#, c-format +msgid "Unknown encryption option value: \"%s\"." +msgstr "Unknown encryption option value: \"%s\"." + +#, c-format +msgid "Unknown file order: \"%s\"." +msgstr "Unknown file order: \"%s\"." + +#, c-format +msgid "Unknown format character: \"%c\"." +msgstr "Unknown format character: \"%c\"." + +msgid "Unknown hash algorithm." +msgstr "Unknown hash algorithm." + +msgid "Unknown media size name." +msgstr "Unknown media size name." + +#, c-format +msgid "Unknown option \"%s\" with value \"%s\"." +msgstr "Unknown option \"%s\" with value \"%s\"." + +#, c-format +msgid "Unknown option \"%s\"." +msgstr "Unknown option \"%s\"." + +#, c-format +msgid "Unknown print mode: \"%s\"." +msgstr "Unknown print mode: \"%s\"." + +#, c-format +msgid "Unknown printer-error-policy \"%s\"." +msgstr "Unknown printer-error-policy \"%s\"." + +#, c-format +msgid "Unknown printer-op-policy \"%s\"." +msgstr "Unknown printer-op-policy \"%s\"." + +msgid "Unknown request method." +msgstr "Unknown request method." + +msgid "Unknown request version." +msgstr "Unknown request version." + +msgid "Unknown scheme in URI" +msgstr "Unknown scheme in URI" + +msgid "Unknown service name." +msgstr "Unknown service name." + +#, c-format +msgid "Unknown version option value: \"%s\"." +msgstr "Unknown version option value: \"%s\"." + +#, c-format +msgid "Unsupported 'compression' value \"%s\"." +msgstr "Unsupported 'compression' value \"%s\"." + +#, c-format +msgid "Unsupported 'document-format' value \"%s\"." +msgstr "Unsupported 'document-format' value \"%s\"." + +msgid "Unsupported 'job-hold-until' value." +msgstr "Unsupported 'job-hold-until' value." + +msgid "Unsupported 'job-name' value." +msgstr "Unsupported 'job-name' value." + +#, c-format +msgid "Unsupported character set \"%s\"." +msgstr "Unsupported character set \"%s\"." + +#, c-format +msgid "Unsupported compression \"%s\"." +msgstr "Unsupported compression \"%s\"." + +#, c-format +msgid "Unsupported document-format \"%s\"." +msgstr "Unsupported document-format \"%s\"." + +#, c-format +msgid "Unsupported document-format \"%s/%s\"." +msgstr "Unsupported document-format \"%s/%s\"." + +#, c-format +msgid "Unsupported format \"%s\"." +msgstr "Unsupported format \"%s\"." + +msgid "Unsupported margins." +msgstr "Unsupported margins." + +msgid "Unsupported media value." +msgstr "Unsupported media value." + +#, c-format +msgid "Unsupported number-up value %d, using number-up=1." +msgstr "Unsupported number-up value %d, using number-up=1." + +#, c-format +msgid "Unsupported number-up-layout value %s, using number-up-layout=lrtb." +msgstr "Unsupported number-up-layout value %s, using number-up-layout=lrtb." + +#, c-format +msgid "Unsupported page-border value %s, using page-border=none." +msgstr "Unsupported page-border value %s, using page-border=none." + +msgid "Unsupported raster data." +msgstr "Unsupported raster data." + +msgid "Unsupported value type" +msgstr "Unsupported value type" + +msgid "Upgrade Required" +msgstr "Upgrade Required" + +#, c-format +msgid "Usage: %s [options] destination(s)" +msgstr "Usage: %s [options] destination(s)" + +#, c-format +msgid "Usage: %s job-id user title copies options [file]" +msgstr "Usage: %s job-id user title copies options [file]" + +msgid "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" +msgstr "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" + +msgid "Usage: cupsctl [options] [param=value ... paramN=valueN]" +msgstr "Usage: cupsctl [options] [param=value ... paramN=valueN]" + +msgid "Usage: cupsd [options]" +msgstr "Usage: cupsd [options]" + +msgid "Usage: cupsfilter [ options ] [ -- ] filename" +msgstr "Usage: cupsfilter [ options ] [ -- ] filename" + +msgid "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" +msgstr "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" + +msgid "Usage: ippeveprinter [options] \"name\"" +msgstr "Usage: ippeveprinter [options] \"name\"" + +msgid "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" +msgstr "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" + +msgid "Usage: ipptool [options] URI filename [ ... filenameN ]" +msgstr "Usage: ipptool [options] URI filename [ ... filenameN ]" + +msgid "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" +msgstr "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" + +msgid "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" +msgstr "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" + +msgid "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" +msgstr "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" + +msgid "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" +msgstr "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" + +msgid "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" +msgstr "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" + +msgid "Usage: lpq [options] [+interval]" +msgstr "Usage: lpq [options] [+interval]" + +msgid "Usage: lpr [options] [file(s)]" +msgstr "Usage: lpr [options] [file(s)]" + +msgid "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" +msgstr "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" + +msgid "Usage: lpstat [options]" +msgstr "Usage: lpstat [options]" + +msgid "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" +msgstr "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" + +msgid "Usage: ppdhtml [options] filename.drv >filename.html" +msgstr "Usage: ppdhtml [options] filename.drv >filename.html" + +msgid "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" + +msgid "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" + +msgid "" +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" +msgstr "" +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" + +msgid "Usage: snmp [host-or-ip-address]" +msgstr "Usage: snmp [host-or-ip-address]" + +#, c-format +msgid "Using spool directory \"%s\"." +msgstr "Using spool directory \"%s\"." + +msgid "Value uses indefinite length" +msgstr "Value uses indefinite length" + +msgid "VarBind uses indefinite length" +msgstr "VarBind uses indefinite length" + +msgid "Version uses indefinite length" +msgstr "Version uses indefinite length" + +msgid "Waiting for job to complete." +msgstr "Waiting for job to complete." + +msgid "Waiting for printer to become available." +msgstr "Waiting for printer to become available." + +msgid "Waiting for printer to finish." +msgstr "Waiting for printer to finish." + +msgid "Warning: This program will be removed in a future version of CUPS." +msgstr "Warning: This program will be removed in a future version of CUPS." + +msgid "Web Interface is Disabled" +msgstr "Web Interface is Disabled" + +msgid "Yes" +msgstr "Yes" + +msgid "You cannot access this page." +msgstr "You cannot access this page." + +#, c-format +msgid "You must access this page using the URL https://%s:%d%s." +msgstr "You must access this page using the URL https://%s:%d%s." + +msgid "Your account does not have the necessary privileges." +msgstr "Your account does not have the necessary privileges." + +msgid "ZPL Label Printer" +msgstr "ZPL Label Printer" + +msgid "Zebra" +msgstr "Zebra" + +msgid "aborted" +msgstr "aborted" + +#. TRANSLATORS: Accuracy Units +msgid "accuracy-units" +msgstr "Accuracy Units" + +#. TRANSLATORS: Millimeters +msgid "accuracy-units.mm" +msgstr "Millimeters" + +#. TRANSLATORS: Nanometers +msgid "accuracy-units.nm" +msgstr "Nanometers" + +#. TRANSLATORS: Micrometers +msgid "accuracy-units.um" +msgstr "Micrometers" + +#. TRANSLATORS: Bale Output +msgid "baling" +msgstr "Bale Output" + +#. TRANSLATORS: Bale Using +msgid "baling-type" +msgstr "Bale Using" + +#. TRANSLATORS: Band +msgid "baling-type.band" +msgstr "Band" + +#. TRANSLATORS: Shrink Wrap +msgid "baling-type.shrink-wrap" +msgstr "Shrink Wrap" + +#. TRANSLATORS: Wrap +msgid "baling-type.wrap" +msgstr "Wrap" + +#. TRANSLATORS: Bale After +msgid "baling-when" +msgstr "Bale After" + +#. TRANSLATORS: Job +msgid "baling-when.after-job" +msgstr "Job" + +#. TRANSLATORS: Sets +msgid "baling-when.after-sets" +msgstr "Sets" + +#. TRANSLATORS: Bind Output +msgid "binding" +msgstr "Bind Output" + +#. TRANSLATORS: Bind Edge +msgid "binding-reference-edge" +msgstr "Bind Edge" + +#. TRANSLATORS: Bottom +msgid "binding-reference-edge.bottom" +msgstr "Bottom" + +#. TRANSLATORS: Left +msgid "binding-reference-edge.left" +msgstr "Left" + +#. TRANSLATORS: Right +msgid "binding-reference-edge.right" +msgstr "Right" + +#. TRANSLATORS: Top +msgid "binding-reference-edge.top" +msgstr "Top" + +#. TRANSLATORS: Binder Type +msgid "binding-type" +msgstr "Binder Type" + +#. TRANSLATORS: Adhesive +msgid "binding-type.adhesive" +msgstr "Adhesive" + +#. TRANSLATORS: Comb +msgid "binding-type.comb" +msgstr "Comb" + +#. TRANSLATORS: Flat +msgid "binding-type.flat" +msgstr "Flat" + +#. TRANSLATORS: Padding +msgid "binding-type.padding" +msgstr "Padding" + +#. TRANSLATORS: Perfect +msgid "binding-type.perfect" +msgstr "Perfect" + +#. TRANSLATORS: Spiral +msgid "binding-type.spiral" +msgstr "Spiral" + +#. TRANSLATORS: Tape +msgid "binding-type.tape" +msgstr "Tape" + +#. TRANSLATORS: Velo +msgid "binding-type.velo" +msgstr "Velo" + +msgid "canceled" +msgstr "canceled" + +#. TRANSLATORS: Chamber Humidity +msgid "chamber-humidity" +msgstr "Chamber Humidity" + +#. TRANSLATORS: Chamber Temperature +msgid "chamber-temperature" +msgstr "Chamber Temperature" + +#. TRANSLATORS: Print Job Cost +msgid "charge-info-message" +msgstr "Print Job Cost" + +#. TRANSLATORS: Coat Sheets +msgid "coating" +msgstr "Coat Sheets" + +#. TRANSLATORS: Add Coating To +msgid "coating-sides" +msgstr "Add Coating To" + +#. TRANSLATORS: Back +msgid "coating-sides.back" +msgstr "Back" + +#. TRANSLATORS: Front and Back +msgid "coating-sides.both" +msgstr "Front and Back" + +#. TRANSLATORS: Front +msgid "coating-sides.front" +msgstr "Front" + +#. TRANSLATORS: Type of Coating +msgid "coating-type" +msgstr "Type of Coating" + +#. TRANSLATORS: Archival +msgid "coating-type.archival" +msgstr "Archival" + +#. TRANSLATORS: Archival Glossy +msgid "coating-type.archival-glossy" +msgstr "Archival Glossy" + +#. TRANSLATORS: Archival Matte +msgid "coating-type.archival-matte" +msgstr "Archival Matte" + +#. TRANSLATORS: Archival Semi Gloss +msgid "coating-type.archival-semi-gloss" +msgstr "Archival Semi Gloss" + +#. TRANSLATORS: Glossy +msgid "coating-type.glossy" +msgstr "Glossy" + +#. TRANSLATORS: High Gloss +msgid "coating-type.high-gloss" +msgstr "High Gloss" + +#. TRANSLATORS: Matte +msgid "coating-type.matte" +msgstr "Matte" + +#. TRANSLATORS: Semi-gloss +msgid "coating-type.semi-gloss" +msgstr "Semi-gloss" + +#. TRANSLATORS: Silicone +msgid "coating-type.silicone" +msgstr "Silicone" + +#. TRANSLATORS: Translucent +msgid "coating-type.translucent" +msgstr "Translucent" + +msgid "completed" +msgstr "completed" + +#. TRANSLATORS: Print Confirmation Sheet +msgid "confirmation-sheet-print" +msgstr "Print Confirmation Sheet" + +#. TRANSLATORS: Copies +msgid "copies" +msgstr "Copies" + +#. TRANSLATORS: Back Cover +msgid "cover-back" +msgstr "Back Cover" + +#. TRANSLATORS: Front Cover +msgid "cover-front" +msgstr "Front Cover" + +#. TRANSLATORS: Cover Sheet Info +msgid "cover-sheet-info" +msgstr "Cover Sheet Info" + +#. TRANSLATORS: Date Time +msgid "cover-sheet-info-supported.date-time" +msgstr "Date Time" + +#. TRANSLATORS: From Name +msgid "cover-sheet-info-supported.from-name" +msgstr "From Name" + +#. TRANSLATORS: Logo +msgid "cover-sheet-info-supported.logo" +msgstr "Logo" + +#. TRANSLATORS: Message +msgid "cover-sheet-info-supported.message" +msgstr "Message" + +#. TRANSLATORS: Organization +msgid "cover-sheet-info-supported.organization" +msgstr "Organization" + +#. TRANSLATORS: Subject +msgid "cover-sheet-info-supported.subject" +msgstr "Subject" + +#. TRANSLATORS: To Name +msgid "cover-sheet-info-supported.to-name" +msgstr "To Name" + +#. TRANSLATORS: Printed Cover +msgid "cover-type" +msgstr "Printed Cover" + +#. TRANSLATORS: No Cover +msgid "cover-type.no-cover" +msgstr "No Cover" + +#. TRANSLATORS: Back Only +msgid "cover-type.print-back" +msgstr "Back Only" + +#. TRANSLATORS: Front and Back +msgid "cover-type.print-both" +msgstr "Front and Back" + +#. TRANSLATORS: Front Only +msgid "cover-type.print-front" +msgstr "Front Only" + +#. TRANSLATORS: None +msgid "cover-type.print-none" +msgstr "None" + +#. TRANSLATORS: Cover Output +msgid "covering" +msgstr "Cover Output" + +#. TRANSLATORS: Add Cover +msgid "covering-name" +msgstr "Add Cover" + +#. TRANSLATORS: Plain +msgid "covering-name.plain" +msgstr "Plain" + +#. TRANSLATORS: Pre-cut +msgid "covering-name.pre-cut" +msgstr "Pre-cut" + +#. TRANSLATORS: Pre-printed +msgid "covering-name.pre-printed" +msgstr "Pre-printed" + +msgid "cups-deviced failed to execute." +msgstr "cups-deviced failed to execute." + +msgid "cups-driverd failed to execute." +msgstr "cups-driverd failed to execute." + +#, c-format +msgid "cupsctl: Cannot set %s directly." +msgstr "cupsctl: Cannot set %s directly." + +#, c-format +msgid "cupsctl: Unable to connect to server: %s" +msgstr "cupsctl: Unable to connect to server: %s" + +#, c-format +msgid "cupsctl: Unknown option \"%s\"" +msgstr "cupsctl: Unknown option \"%s\"" + +#, c-format +msgid "cupsctl: Unknown option \"-%c\"" +msgstr "cupsctl: Unknown option \"-%c\"" + +msgid "cupsd: Expected config filename after \"-c\" option." +msgstr "cupsd: Expected config filename after \"-c\" option." + +msgid "cupsd: Expected cups-files.conf filename after \"-s\" option." +msgstr "cupsd: Expected cups-files.conf filename after \"-s\" option." + +msgid "cupsd: On-demand support not compiled in, running in normal mode." +msgstr "cupsd: On-demand support not compiled in, running in normal mode." + +msgid "cupsd: Relative cups-files.conf filename not allowed." +msgstr "cupsd: Relative cups-files.conf filename not allowed." + +msgid "cupsd: Unable to get current directory." +msgstr "cupsd: Unable to get current directory." + +msgid "cupsd: Unable to get path to cups-files.conf file." +msgstr "cupsd: Unable to get path to cups-files.conf file." + +#, c-format +msgid "cupsd: Unknown argument \"%s\" - aborting." +msgstr "cupsd: Unknown argument \"%s\" - aborting." + +#, c-format +msgid "cupsd: Unknown option \"%c\" - aborting." +msgstr "cupsd: Unknown option \"%c\" - aborting." + +#, c-format +msgid "cupsfilter: Invalid document number %d." +msgstr "cupsfilter: Invalid document number %d." + +#, c-format +msgid "cupsfilter: Invalid job ID %d." +msgstr "cupsfilter: Invalid job ID %d." + +msgid "cupsfilter: Only one filename can be specified." +msgstr "cupsfilter: Only one filename can be specified." + +#, c-format +msgid "cupsfilter: Unable to get job file - %s" +msgstr "cupsfilter: Unable to get job file - %s" + +msgid "cupstestppd: The -q option is incompatible with the -v option." +msgstr "cupstestppd: The -q option is incompatible with the -v option." + +msgid "cupstestppd: The -v option is incompatible with the -q option." +msgstr "cupstestppd: The -v option is incompatible with the -q option." + +#. TRANSLATORS: Detailed Status Message +msgid "detailed-status-message" +msgstr "Detailed Status Message" + +#, c-format +msgid "device for %s/%s: %s" +msgstr "device for %s/%s: %s" + +#, c-format +msgid "device for %s: %s" +msgstr "device for %s: %s" + +#. TRANSLATORS: Copies +msgid "document-copies" +msgstr "Copies" + +#. TRANSLATORS: Document Privacy Attributes +msgid "document-privacy-attributes" +msgstr "Document Privacy Attributes" + +#. TRANSLATORS: All +msgid "document-privacy-attributes.all" +msgstr "All" + +#. TRANSLATORS: Default +msgid "document-privacy-attributes.default" +msgstr "Default" + +#. TRANSLATORS: Document Description +msgid "document-privacy-attributes.document-description" +msgstr "Document Description" + +#. TRANSLATORS: Document Template +msgid "document-privacy-attributes.document-template" +msgstr "Document Template" + +#. TRANSLATORS: None +msgid "document-privacy-attributes.none" +msgstr "None" + +#. TRANSLATORS: Document Privacy Scope +msgid "document-privacy-scope" +msgstr "Document Privacy Scope" + +#. TRANSLATORS: All +msgid "document-privacy-scope.all" +msgstr "All" + +#. TRANSLATORS: Default +msgid "document-privacy-scope.default" +msgstr "Default" + +#. TRANSLATORS: None +msgid "document-privacy-scope.none" +msgstr "None" + +#. TRANSLATORS: Owner +msgid "document-privacy-scope.owner" +msgstr "Owner" + +#. TRANSLATORS: Document State +msgid "document-state" +msgstr "Document State" + +#. TRANSLATORS: Detailed Document State +msgid "document-state-reasons" +msgstr "Detailed Document State" + +#. TRANSLATORS: Aborted By System +msgid "document-state-reasons.aborted-by-system" +msgstr "Aborted By System" + +#. TRANSLATORS: Canceled At Device +msgid "document-state-reasons.canceled-at-device" +msgstr "Canceled At Device" + +#. TRANSLATORS: Canceled By Operator +msgid "document-state-reasons.canceled-by-operator" +msgstr "Canceled By Operator" + +#. TRANSLATORS: Canceled By User +msgid "document-state-reasons.canceled-by-user" +msgstr "Canceled By User" + +#. TRANSLATORS: Completed Successfully +msgid "document-state-reasons.completed-successfully" +msgstr "Completed Successfully" + +#. TRANSLATORS: Completed With Errors +msgid "document-state-reasons.completed-with-errors" +msgstr "Completed With Errors" + +#. TRANSLATORS: Completed With Warnings +msgid "document-state-reasons.completed-with-warnings" +msgstr "Completed With Warnings" + +#. TRANSLATORS: Compression Error +msgid "document-state-reasons.compression-error" +msgstr "Compression Error" + +#. TRANSLATORS: Data Insufficient +msgid "document-state-reasons.data-insufficient" +msgstr "Data Insufficient" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "document-state-reasons.digital-signature-did-not-verify" +msgstr "Digital Signature Did Not Verify" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "document-state-reasons.digital-signature-type-not-supported" +msgstr "Digital Signature Type Not Supported" + +#. TRANSLATORS: Digital Signature Wait +msgid "document-state-reasons.digital-signature-wait" +msgstr "Digital Signature Wait" + +#. TRANSLATORS: Document Access Error +msgid "document-state-reasons.document-access-error" +msgstr "Document Access Error" + +#. TRANSLATORS: Document Fetchable +msgid "document-state-reasons.document-fetchable" +msgstr "Document Fetchable" + +#. TRANSLATORS: Document Format Error +msgid "document-state-reasons.document-format-error" +msgstr "Document Format Error" + +#. TRANSLATORS: Document Password Error +msgid "document-state-reasons.document-password-error" +msgstr "Document Password Error" + +#. TRANSLATORS: Document Permission Error +msgid "document-state-reasons.document-permission-error" +msgstr "Document Permission Error" + +#. TRANSLATORS: Document Security Error +msgid "document-state-reasons.document-security-error" +msgstr "Document Security Error" + +#. TRANSLATORS: Document Unprintable Error +msgid "document-state-reasons.document-unprintable-error" +msgstr "Document Unprintable Error" + +#. TRANSLATORS: Errors Detected +msgid "document-state-reasons.errors-detected" +msgstr "Errors Detected" + +#. TRANSLATORS: Incoming +msgid "document-state-reasons.incoming" +msgstr "Incoming" + +#. TRANSLATORS: Interpreting +msgid "document-state-reasons.interpreting" +msgstr "Interpreting" + +#. TRANSLATORS: None +msgid "document-state-reasons.none" +msgstr "None" + +#. TRANSLATORS: Outgoing +msgid "document-state-reasons.outgoing" +msgstr "Outgoing" + +#. TRANSLATORS: Printing +msgid "document-state-reasons.printing" +msgstr "Printing" + +#. TRANSLATORS: Processing To Stop Point +msgid "document-state-reasons.processing-to-stop-point" +msgstr "Processing To Stop Point" + +#. TRANSLATORS: Queued +msgid "document-state-reasons.queued" +msgstr "Queued" + +#. TRANSLATORS: Queued For Marker +msgid "document-state-reasons.queued-for-marker" +msgstr "Queued For Marker" + +#. TRANSLATORS: Queued In Device +msgid "document-state-reasons.queued-in-device" +msgstr "Queued In Device" + +#. TRANSLATORS: Resources Are Not Ready +msgid "document-state-reasons.resources-are-not-ready" +msgstr "Resources Are Not Ready" + +#. TRANSLATORS: Resources Are Not Supported +msgid "document-state-reasons.resources-are-not-supported" +msgstr "Resources Are Not Supported" + +#. TRANSLATORS: Submission Interrupted +msgid "document-state-reasons.submission-interrupted" +msgstr "Submission Interrupted" + +#. TRANSLATORS: Transforming +msgid "document-state-reasons.transforming" +msgstr "Transforming" + +#. TRANSLATORS: Unsupported Compression +msgid "document-state-reasons.unsupported-compression" +msgstr "Unsupported Compression" + +#. TRANSLATORS: Unsupported Document Format +msgid "document-state-reasons.unsupported-document-format" +msgstr "Unsupported Document Format" + +#. TRANSLATORS: Warnings Detected +msgid "document-state-reasons.warnings-detected" +msgstr "Warnings Detected" + +#. TRANSLATORS: Pending +msgid "document-state.3" +msgstr "Pending" + +#. TRANSLATORS: Processing +msgid "document-state.5" +msgstr "Processing" + +#. TRANSLATORS: Stopped +msgid "document-state.6" +msgstr "Stopped" + +#. TRANSLATORS: Canceled +msgid "document-state.7" +msgstr "Canceled" + +#. TRANSLATORS: Aborted +msgid "document-state.8" +msgstr "Aborted" + +#. TRANSLATORS: Completed +msgid "document-state.9" +msgstr "Completed" + +msgid "error-index uses indefinite length" +msgstr "error-index uses indefinite length" + +msgid "error-status uses indefinite length" +msgstr "error-status uses indefinite length" + +msgid "" +"expression --and expression\n" +" Logical AND" +msgstr "" +"expression --and expression\n" +" Logical AND" + +msgid "" +"expression --or expression\n" +" Logical OR" +msgstr "" +"expression --or expression\n" +" Logical OR" + +msgid "expression expression Logical AND" +msgstr "expression expression Logical AND" + +#. TRANSLATORS: Feed Orientation +msgid "feed-orientation" +msgstr "Feed Orientation" + +#. TRANSLATORS: Long Edge First +msgid "feed-orientation.long-edge-first" +msgstr "Long Edge First" + +#. TRANSLATORS: Short Edge First +msgid "feed-orientation.short-edge-first" +msgstr "Short Edge First" + +#. TRANSLATORS: Fetch Status Code +msgid "fetch-status-code" +msgstr "Fetch Status Code" + +#. TRANSLATORS: Finishing Template +msgid "finishing-template" +msgstr "Finishing Template" + +#. TRANSLATORS: Bale +msgid "finishing-template.bale" +msgstr "Bale" + +#. TRANSLATORS: Bind +msgid "finishing-template.bind" +msgstr "Bind" + +#. TRANSLATORS: Bind Bottom +msgid "finishing-template.bind-bottom" +msgstr "Bind Bottom" + +#. TRANSLATORS: Bind Left +msgid "finishing-template.bind-left" +msgstr "Bind Left" + +#. TRANSLATORS: Bind Right +msgid "finishing-template.bind-right" +msgstr "Bind Right" + +#. TRANSLATORS: Bind Top +msgid "finishing-template.bind-top" +msgstr "Bind Top" + +#. TRANSLATORS: Booklet Maker +msgid "finishing-template.booklet-maker" +msgstr "Booklet Maker" + +#. TRANSLATORS: Coat +msgid "finishing-template.coat" +msgstr "Coat" + +#. TRANSLATORS: Cover +msgid "finishing-template.cover" +msgstr "Cover" + +#. TRANSLATORS: Edge Stitch +msgid "finishing-template.edge-stitch" +msgstr "Edge Stitch" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishing-template.edge-stitch-bottom" +msgstr "Edge Stitch Bottom" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishing-template.edge-stitch-left" +msgstr "Edge Stitch Left" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishing-template.edge-stitch-right" +msgstr "Edge Stitch Right" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishing-template.edge-stitch-top" +msgstr "Edge Stitch Top" + +#. TRANSLATORS: Fold +msgid "finishing-template.fold" +msgstr "Fold" + +#. TRANSLATORS: Accordion Fold +msgid "finishing-template.fold-accordion" +msgstr "Accordion Fold" + +#. TRANSLATORS: Double Gate Fold +msgid "finishing-template.fold-double-gate" +msgstr "Double Gate Fold" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishing-template.fold-engineering-z" +msgstr "Engineering Z Fold" + +#. TRANSLATORS: Gate Fold +msgid "finishing-template.fold-gate" +msgstr "Gate Fold" + +#. TRANSLATORS: Half Fold +msgid "finishing-template.fold-half" +msgstr "Half Fold" + +#. TRANSLATORS: Half Z Fold +msgid "finishing-template.fold-half-z" +msgstr "Half Z Fold" + +#. TRANSLATORS: Left Gate Fold +msgid "finishing-template.fold-left-gate" +msgstr "Left Gate Fold" + +#. TRANSLATORS: Letter Fold +msgid "finishing-template.fold-letter" +msgstr "Letter Fold" + +#. TRANSLATORS: Parallel Fold +msgid "finishing-template.fold-parallel" +msgstr "Parallel Fold" + +#. TRANSLATORS: Poster Fold +msgid "finishing-template.fold-poster" +msgstr "Poster Fold" + +#. TRANSLATORS: Right Gate Fold +msgid "finishing-template.fold-right-gate" +msgstr "Right Gate Fold" + +#. TRANSLATORS: Z Fold +msgid "finishing-template.fold-z" +msgstr "Z Fold" + +#. TRANSLATORS: JDF F10-1 +msgid "finishing-template.jdf-f10-1" +msgstr "JDF F10-1" + +#. TRANSLATORS: JDF F10-2 +msgid "finishing-template.jdf-f10-2" +msgstr "JDF F10-2" + +#. TRANSLATORS: JDF F10-3 +msgid "finishing-template.jdf-f10-3" +msgstr "JDF F10-3" + +#. TRANSLATORS: JDF F12-1 +msgid "finishing-template.jdf-f12-1" +msgstr "JDF F12-1" + +#. TRANSLATORS: JDF F12-10 +msgid "finishing-template.jdf-f12-10" +msgstr "JDF F12-10" + +#. TRANSLATORS: JDF F12-11 +msgid "finishing-template.jdf-f12-11" +msgstr "JDF F12-11" + +#. TRANSLATORS: JDF F12-12 +msgid "finishing-template.jdf-f12-12" +msgstr "JDF F12-12" + +#. TRANSLATORS: JDF F12-13 +msgid "finishing-template.jdf-f12-13" +msgstr "JDF F12-13" + +#. TRANSLATORS: JDF F12-14 +msgid "finishing-template.jdf-f12-14" +msgstr "JDF F12-14" + +#. TRANSLATORS: JDF F12-2 +msgid "finishing-template.jdf-f12-2" +msgstr "JDF F12-2" + +#. TRANSLATORS: JDF F12-3 +msgid "finishing-template.jdf-f12-3" +msgstr "JDF F12-3" + +#. TRANSLATORS: JDF F12-4 +msgid "finishing-template.jdf-f12-4" +msgstr "JDF F12-4" + +#. TRANSLATORS: JDF F12-5 +msgid "finishing-template.jdf-f12-5" +msgstr "JDF F12-5" + +#. TRANSLATORS: JDF F12-6 +msgid "finishing-template.jdf-f12-6" +msgstr "JDF F12-6" + +#. TRANSLATORS: JDF F12-7 +msgid "finishing-template.jdf-f12-7" +msgstr "JDF F12-7" + +#. TRANSLATORS: JDF F12-8 +msgid "finishing-template.jdf-f12-8" +msgstr "JDF F12-8" + +#. TRANSLATORS: JDF F12-9 +msgid "finishing-template.jdf-f12-9" +msgstr "JDF F12-9" + +#. TRANSLATORS: JDF F14-1 +msgid "finishing-template.jdf-f14-1" +msgstr "JDF F14-1" + +#. TRANSLATORS: JDF F16-1 +msgid "finishing-template.jdf-f16-1" +msgstr "JDF F16-1" + +#. TRANSLATORS: JDF F16-10 +msgid "finishing-template.jdf-f16-10" +msgstr "JDF F16-10" + +#. TRANSLATORS: JDF F16-11 +msgid "finishing-template.jdf-f16-11" +msgstr "JDF F16-11" + +#. TRANSLATORS: JDF F16-12 +msgid "finishing-template.jdf-f16-12" +msgstr "JDF F16-12" + +#. TRANSLATORS: JDF F16-13 +msgid "finishing-template.jdf-f16-13" +msgstr "JDF F16-13" + +#. TRANSLATORS: JDF F16-14 +msgid "finishing-template.jdf-f16-14" +msgstr "JDF F16-14" + +#. TRANSLATORS: JDF F16-2 +msgid "finishing-template.jdf-f16-2" +msgstr "JDF F16-2" + +#. TRANSLATORS: JDF F16-3 +msgid "finishing-template.jdf-f16-3" +msgstr "JDF F16-3" + +#. TRANSLATORS: JDF F16-4 +msgid "finishing-template.jdf-f16-4" +msgstr "JDF F16-4" + +#. TRANSLATORS: JDF F16-5 +msgid "finishing-template.jdf-f16-5" +msgstr "JDF F16-5" + +#. TRANSLATORS: JDF F16-6 +msgid "finishing-template.jdf-f16-6" +msgstr "JDF F16-6" + +#. TRANSLATORS: JDF F16-7 +msgid "finishing-template.jdf-f16-7" +msgstr "JDF F16-7" + +#. TRANSLATORS: JDF F16-8 +msgid "finishing-template.jdf-f16-8" +msgstr "JDF F16-8" + +#. TRANSLATORS: JDF F16-9 +msgid "finishing-template.jdf-f16-9" +msgstr "JDF F16-9" + +#. TRANSLATORS: JDF F18-1 +msgid "finishing-template.jdf-f18-1" +msgstr "JDF F18-1" + +#. TRANSLATORS: JDF F18-2 +msgid "finishing-template.jdf-f18-2" +msgstr "JDF F18-2" + +#. TRANSLATORS: JDF F18-3 +msgid "finishing-template.jdf-f18-3" +msgstr "JDF F18-3" + +#. TRANSLATORS: JDF F18-4 +msgid "finishing-template.jdf-f18-4" +msgstr "JDF F18-4" + +#. TRANSLATORS: JDF F18-5 +msgid "finishing-template.jdf-f18-5" +msgstr "JDF F18-5" + +#. TRANSLATORS: JDF F18-6 +msgid "finishing-template.jdf-f18-6" +msgstr "JDF F18-6" + +#. TRANSLATORS: JDF F18-7 +msgid "finishing-template.jdf-f18-7" +msgstr "JDF F18-7" + +#. TRANSLATORS: JDF F18-8 +msgid "finishing-template.jdf-f18-8" +msgstr "JDF F18-8" + +#. TRANSLATORS: JDF F18-9 +msgid "finishing-template.jdf-f18-9" +msgstr "JDF F18-9" + +#. TRANSLATORS: JDF F2-1 +msgid "finishing-template.jdf-f2-1" +msgstr "JDF F2-1" + +#. TRANSLATORS: JDF F20-1 +msgid "finishing-template.jdf-f20-1" +msgstr "JDF F20-1" + +#. TRANSLATORS: JDF F20-2 +msgid "finishing-template.jdf-f20-2" +msgstr "JDF F20-2" + +#. TRANSLATORS: JDF F24-1 +msgid "finishing-template.jdf-f24-1" +msgstr "JDF F24-1" + +#. TRANSLATORS: JDF F24-10 +msgid "finishing-template.jdf-f24-10" +msgstr "JDF F24-10" + +#. TRANSLATORS: JDF F24-11 +msgid "finishing-template.jdf-f24-11" +msgstr "JDF F24-11" + +#. TRANSLATORS: JDF F24-2 +msgid "finishing-template.jdf-f24-2" +msgstr "JDF F24-2" + +#. TRANSLATORS: JDF F24-3 +msgid "finishing-template.jdf-f24-3" +msgstr "JDF F24-3" + +#. TRANSLATORS: JDF F24-4 +msgid "finishing-template.jdf-f24-4" +msgstr "JDF F24-4" + +#. TRANSLATORS: JDF F24-5 +msgid "finishing-template.jdf-f24-5" +msgstr "JDF F24-5" + +#. TRANSLATORS: JDF F24-6 +msgid "finishing-template.jdf-f24-6" +msgstr "JDF F24-6" + +#. TRANSLATORS: JDF F24-7 +msgid "finishing-template.jdf-f24-7" +msgstr "JDF F24-7" + +#. TRANSLATORS: JDF F24-8 +msgid "finishing-template.jdf-f24-8" +msgstr "JDF F24-8" + +#. TRANSLATORS: JDF F24-9 +msgid "finishing-template.jdf-f24-9" +msgstr "JDF F24-9" + +#. TRANSLATORS: JDF F28-1 +msgid "finishing-template.jdf-f28-1" +msgstr "JDF F28-1" + +#. TRANSLATORS: JDF F32-1 +msgid "finishing-template.jdf-f32-1" +msgstr "JDF F32-1" + +#. TRANSLATORS: JDF F32-2 +msgid "finishing-template.jdf-f32-2" +msgstr "JDF F32-2" + +#. TRANSLATORS: JDF F32-3 +msgid "finishing-template.jdf-f32-3" +msgstr "JDF F32-3" + +#. TRANSLATORS: JDF F32-4 +msgid "finishing-template.jdf-f32-4" +msgstr "JDF F32-4" + +#. TRANSLATORS: JDF F32-5 +msgid "finishing-template.jdf-f32-5" +msgstr "JDF F32-5" + +#. TRANSLATORS: JDF F32-6 +msgid "finishing-template.jdf-f32-6" +msgstr "JDF F32-6" + +#. TRANSLATORS: JDF F32-7 +msgid "finishing-template.jdf-f32-7" +msgstr "JDF F32-7" + +#. TRANSLATORS: JDF F32-8 +msgid "finishing-template.jdf-f32-8" +msgstr "JDF F32-8" + +#. TRANSLATORS: JDF F32-9 +msgid "finishing-template.jdf-f32-9" +msgstr "JDF F32-9" + +#. TRANSLATORS: JDF F36-1 +msgid "finishing-template.jdf-f36-1" +msgstr "JDF F36-1" + +#. TRANSLATORS: JDF F36-2 +msgid "finishing-template.jdf-f36-2" +msgstr "JDF F36-2" + +#. TRANSLATORS: JDF F4-1 +msgid "finishing-template.jdf-f4-1" +msgstr "JDF F4-1" + +#. TRANSLATORS: JDF F4-2 +msgid "finishing-template.jdf-f4-2" +msgstr "JDF F4-2" + +#. TRANSLATORS: JDF F40-1 +msgid "finishing-template.jdf-f40-1" +msgstr "JDF F40-1" + +#. TRANSLATORS: JDF F48-1 +msgid "finishing-template.jdf-f48-1" +msgstr "JDF F48-1" + +#. TRANSLATORS: JDF F48-2 +msgid "finishing-template.jdf-f48-2" +msgstr "JDF F48-2" + +#. TRANSLATORS: JDF F6-1 +msgid "finishing-template.jdf-f6-1" +msgstr "JDF F6-1" + +#. TRANSLATORS: JDF F6-2 +msgid "finishing-template.jdf-f6-2" +msgstr "JDF F6-2" + +#. TRANSLATORS: JDF F6-3 +msgid "finishing-template.jdf-f6-3" +msgstr "JDF F6-3" + +#. TRANSLATORS: JDF F6-4 +msgid "finishing-template.jdf-f6-4" +msgstr "JDF F6-4" + +#. TRANSLATORS: JDF F6-5 +msgid "finishing-template.jdf-f6-5" +msgstr "JDF F6-5" + +#. TRANSLATORS: JDF F6-6 +msgid "finishing-template.jdf-f6-6" +msgstr "JDF F6-6" + +#. TRANSLATORS: JDF F6-7 +msgid "finishing-template.jdf-f6-7" +msgstr "JDF F6-7" + +#. TRANSLATORS: JDF F6-8 +msgid "finishing-template.jdf-f6-8" +msgstr "JDF F6-8" + +#. TRANSLATORS: JDF F64-1 +msgid "finishing-template.jdf-f64-1" +msgstr "JDF F64-1" + +#. TRANSLATORS: JDF F64-2 +msgid "finishing-template.jdf-f64-2" +msgstr "JDF F64-2" + +#. TRANSLATORS: JDF F8-1 +msgid "finishing-template.jdf-f8-1" +msgstr "JDF F8-1" + +#. TRANSLATORS: JDF F8-2 +msgid "finishing-template.jdf-f8-2" +msgstr "JDF F8-2" + +#. TRANSLATORS: JDF F8-3 +msgid "finishing-template.jdf-f8-3" +msgstr "JDF F8-3" + +#. TRANSLATORS: JDF F8-4 +msgid "finishing-template.jdf-f8-4" +msgstr "JDF F8-4" + +#. TRANSLATORS: JDF F8-5 +msgid "finishing-template.jdf-f8-5" +msgstr "JDF F8-5" + +#. TRANSLATORS: JDF F8-6 +msgid "finishing-template.jdf-f8-6" +msgstr "JDF F8-6" + +#. TRANSLATORS: JDF F8-7 +msgid "finishing-template.jdf-f8-7" +msgstr "JDF F8-7" + +#. TRANSLATORS: Jog Offset +msgid "finishing-template.jog-offset" +msgstr "Jog Offset" + +#. TRANSLATORS: Laminate +msgid "finishing-template.laminate" +msgstr "Laminate" + +#. TRANSLATORS: Punch +msgid "finishing-template.punch" +msgstr "Punch" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishing-template.punch-bottom-left" +msgstr "Punch Bottom Left" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishing-template.punch-bottom-right" +msgstr "Punch Bottom Right" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishing-template.punch-dual-bottom" +msgstr "2-hole Punch Bottom" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishing-template.punch-dual-left" +msgstr "2-hole Punch Left" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishing-template.punch-dual-right" +msgstr "2-hole Punch Right" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishing-template.punch-dual-top" +msgstr "2-hole Punch Top" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishing-template.punch-multiple-bottom" +msgstr "Multi-hole Punch Bottom" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishing-template.punch-multiple-left" +msgstr "Multi-hole Punch Left" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishing-template.punch-multiple-right" +msgstr "Multi-hole Punch Right" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishing-template.punch-multiple-top" +msgstr "Multi-hole Punch Top" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishing-template.punch-quad-bottom" +msgstr "4-hole Punch Bottom" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishing-template.punch-quad-left" +msgstr "4-hole Punch Left" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishing-template.punch-quad-right" +msgstr "4-hole Punch Right" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishing-template.punch-quad-top" +msgstr "4-hole Punch Top" + +#. TRANSLATORS: Punch Top Left +msgid "finishing-template.punch-top-left" +msgstr "Punch Top Left" + +#. TRANSLATORS: Punch Top Right +msgid "finishing-template.punch-top-right" +msgstr "Punch Top Right" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishing-template.punch-triple-bottom" +msgstr "3-hole Punch Bottom" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishing-template.punch-triple-left" +msgstr "3-hole Punch Left" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishing-template.punch-triple-right" +msgstr "3-hole Punch Right" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishing-template.punch-triple-top" +msgstr "3-hole Punch Top" + +#. TRANSLATORS: Saddle Stitch +msgid "finishing-template.saddle-stitch" +msgstr "Saddle Stitch" + +#. TRANSLATORS: Staple +msgid "finishing-template.staple" +msgstr "Staple" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishing-template.staple-bottom-left" +msgstr "Staple Bottom Left" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishing-template.staple-bottom-right" +msgstr "Staple Bottom Right" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishing-template.staple-dual-bottom" +msgstr "2 Staples on Bottom" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishing-template.staple-dual-left" +msgstr "2 Staples on Left" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishing-template.staple-dual-right" +msgstr "2 Staples on Right" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishing-template.staple-dual-top" +msgstr "2 Staples on Top" + +#. TRANSLATORS: Staple Top Left +msgid "finishing-template.staple-top-left" +msgstr "Staple Top Left" + +#. TRANSLATORS: Staple Top Right +msgid "finishing-template.staple-top-right" +msgstr "Staple Top Right" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishing-template.staple-triple-bottom" +msgstr "3 Staples on Bottom" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishing-template.staple-triple-left" +msgstr "3 Staples on Left" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishing-template.staple-triple-right" +msgstr "3 Staples on Right" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishing-template.staple-triple-top" +msgstr "3 Staples on Top" + +#. TRANSLATORS: Trim +msgid "finishing-template.trim" +msgstr "Trim" + +#. TRANSLATORS: Trim After Every Set +msgid "finishing-template.trim-after-copies" +msgstr "Trim After Every Set" + +#. TRANSLATORS: Trim After Every Document +msgid "finishing-template.trim-after-documents" +msgstr "Trim After Every Document" + +#. TRANSLATORS: Trim After Job +msgid "finishing-template.trim-after-job" +msgstr "Trim After Job" + +#. TRANSLATORS: Trim After Every Page +msgid "finishing-template.trim-after-pages" +msgstr "Trim After Every Page" + +#. TRANSLATORS: Finishings +msgid "finishings" +msgstr "Finishings" + +#. TRANSLATORS: Finishings +msgid "finishings-col" +msgstr "Finishings" + +#. TRANSLATORS: Fold +msgid "finishings.10" +msgstr "Fold" + +#. TRANSLATORS: Z Fold +msgid "finishings.100" +msgstr "Z Fold" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishings.101" +msgstr "Engineering Z Fold" + +#. TRANSLATORS: Trim +msgid "finishings.11" +msgstr "Trim" + +#. TRANSLATORS: Bale +msgid "finishings.12" +msgstr "Bale" + +#. TRANSLATORS: Booklet Maker +msgid "finishings.13" +msgstr "Booklet Maker" + +#. TRANSLATORS: Jog Offset +msgid "finishings.14" +msgstr "Jog Offset" + +#. TRANSLATORS: Coat +msgid "finishings.15" +msgstr "Coat" + +#. TRANSLATORS: Laminate +msgid "finishings.16" +msgstr "Laminate" + +#. TRANSLATORS: Staple Top Left +msgid "finishings.20" +msgstr "Staple Top Left" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishings.21" +msgstr "Staple Bottom Left" + +#. TRANSLATORS: Staple Top Right +msgid "finishings.22" +msgstr "Staple Top Right" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishings.23" +msgstr "Staple Bottom Right" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishings.24" +msgstr "Edge Stitch Left" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishings.25" +msgstr "Edge Stitch Top" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishings.26" +msgstr "Edge Stitch Right" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishings.27" +msgstr "Edge Stitch Bottom" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishings.28" +msgstr "2 Staples on Left" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishings.29" +msgstr "2 Staples on Top" + +#. TRANSLATORS: None +msgid "finishings.3" +msgstr "None" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishings.30" +msgstr "2 Staples on Right" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishings.31" +msgstr "2 Staples on Bottom" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishings.32" +msgstr "3 Staples on Left" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishings.33" +msgstr "3 Staples on Top" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishings.34" +msgstr "3 Staples on Right" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishings.35" +msgstr "3 Staples on Bottom" + +#. TRANSLATORS: Staple +msgid "finishings.4" +msgstr "Staple" + +#. TRANSLATORS: Punch +msgid "finishings.5" +msgstr "Punch" + +#. TRANSLATORS: Bind Left +msgid "finishings.50" +msgstr "Bind Left" + +#. TRANSLATORS: Bind Top +msgid "finishings.51" +msgstr "Bind Top" + +#. TRANSLATORS: Bind Right +msgid "finishings.52" +msgstr "Bind Right" + +#. TRANSLATORS: Bind Bottom +msgid "finishings.53" +msgstr "Bind Bottom" + +#. TRANSLATORS: Cover +msgid "finishings.6" +msgstr "Cover" + +#. TRANSLATORS: Trim Pages +msgid "finishings.60" +msgstr "Trim Pages" + +#. TRANSLATORS: Trim Documents +msgid "finishings.61" +msgstr "Trim Documents" + +#. TRANSLATORS: Trim Copies +msgid "finishings.62" +msgstr "Trim Copies" + +#. TRANSLATORS: Trim Job +msgid "finishings.63" +msgstr "Trim Job" + +#. TRANSLATORS: Bind +msgid "finishings.7" +msgstr "Bind" + +#. TRANSLATORS: Punch Top Left +msgid "finishings.70" +msgstr "Punch Top Left" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishings.71" +msgstr "Punch Bottom Left" + +#. TRANSLATORS: Punch Top Right +msgid "finishings.72" +msgstr "Punch Top Right" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishings.73" +msgstr "Punch Bottom Right" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishings.74" +msgstr "2-hole Punch Left" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishings.75" +msgstr "2-hole Punch Top" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishings.76" +msgstr "2-hole Punch Right" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishings.77" +msgstr "2-hole Punch Bottom" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishings.78" +msgstr "3-hole Punch Left" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishings.79" +msgstr "3-hole Punch Top" + +#. TRANSLATORS: Saddle Stitch +msgid "finishings.8" +msgstr "Saddle Stitch" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishings.80" +msgstr "3-hole Punch Right" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishings.81" +msgstr "3-hole Punch Bottom" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishings.82" +msgstr "4-hole Punch Left" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishings.83" +msgstr "4-hole Punch Top" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishings.84" +msgstr "4-hole Punch Right" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishings.85" +msgstr "4-hole Punch Bottom" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishings.86" +msgstr "Multi-hole Punch Left" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishings.87" +msgstr "Multi-hole Punch Top" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishings.88" +msgstr "Multi-hole Punch Right" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishings.89" +msgstr "Multi-hole Punch Bottom" + +#. TRANSLATORS: Edge Stitch +msgid "finishings.9" +msgstr "Edge Stitch" + +#. TRANSLATORS: Accordion Fold +msgid "finishings.90" +msgstr "Accordion Fold" + +#. TRANSLATORS: Double Gate Fold +msgid "finishings.91" +msgstr "Double Gate Fold" + +#. TRANSLATORS: Gate Fold +msgid "finishings.92" +msgstr "Gate Fold" + +#. TRANSLATORS: Half Fold +msgid "finishings.93" +msgstr "Half Fold" + +#. TRANSLATORS: Half Z Fold +msgid "finishings.94" +msgstr "Half Z Fold" + +#. TRANSLATORS: Left Gate Fold +msgid "finishings.95" +msgstr "Left Gate Fold" + +#. TRANSLATORS: Letter Fold +msgid "finishings.96" +msgstr "Letter Fold" + +#. TRANSLATORS: Parallel Fold +msgid "finishings.97" +msgstr "Parallel Fold" + +#. TRANSLATORS: Poster Fold +msgid "finishings.98" +msgstr "Poster Fold" + +#. TRANSLATORS: Right Gate Fold +msgid "finishings.99" +msgstr "Right Gate Fold" + +#. TRANSLATORS: Fold +msgid "folding" +msgstr "Fold" + +#. TRANSLATORS: Fold Direction +msgid "folding-direction" +msgstr "Fold Direction" + +#. TRANSLATORS: Inward +msgid "folding-direction.inward" +msgstr "Inward" + +#. TRANSLATORS: Outward +msgid "folding-direction.outward" +msgstr "Outward" + +#. TRANSLATORS: Fold Position +msgid "folding-offset" +msgstr "Fold Position" + +#. TRANSLATORS: Fold Edge +msgid "folding-reference-edge" +msgstr "Fold Edge" + +#. TRANSLATORS: Bottom +msgid "folding-reference-edge.bottom" +msgstr "Bottom" + +#. TRANSLATORS: Left +msgid "folding-reference-edge.left" +msgstr "Left" + +#. TRANSLATORS: Right +msgid "folding-reference-edge.right" +msgstr "Right" + +#. TRANSLATORS: Top +msgid "folding-reference-edge.top" +msgstr "Top" + +#. TRANSLATORS: Font Name +msgid "font-name-requested" +msgstr "Font Name" + +#. TRANSLATORS: Font Size +msgid "font-size-requested" +msgstr "Font Size" + +#. TRANSLATORS: Force Front Side +msgid "force-front-side" +msgstr "Force Front Side" + +#. TRANSLATORS: From Name +msgid "from-name" +msgstr "From Name" + +msgid "held" +msgstr "held" + +msgid "help\t\tGet help on commands." +msgstr "help\t\tGet help on commands." + +msgid "idle" +msgstr "idle" + +#. TRANSLATORS: Imposition Template +msgid "imposition-template" +msgstr "Imposition Template" + +#. TRANSLATORS: None +msgid "imposition-template.none" +msgstr "None" + +#. TRANSLATORS: Signature +msgid "imposition-template.signature" +msgstr "Signature" + +#. TRANSLATORS: Insert Page Number +msgid "insert-after-page-number" +msgstr "Insert Page Number" + +#. TRANSLATORS: Insert Count +msgid "insert-count" +msgstr "Insert Count" + +#. TRANSLATORS: Insert Sheet +msgid "insert-sheet" +msgstr "Insert Sheet" + +#, c-format +msgid "ippeveprinter: Unable to open \"%s\": %s on line %d." +msgstr "ippeveprinter: Unable to open \"%s\": %s on line %d." + +#, c-format +msgid "ippfind: Bad regular expression: %s" +msgstr "ippfind: Bad regular expression: %s" + +msgid "ippfind: Cannot use --and after --or." +msgstr "ippfind: Cannot use --and after --or." + +#, c-format +msgid "ippfind: Expected key name after %s." +msgstr "ippfind: Expected key name after %s." + +#, c-format +msgid "ippfind: Expected port range after %s." +msgstr "ippfind: Expected port range after %s." + +#, c-format +msgid "ippfind: Expected program after %s." +msgstr "ippfind: Expected program after %s." + +#, c-format +msgid "ippfind: Expected semi-colon after %s." +msgstr "ippfind: Expected semi-colon after %s." + +msgid "ippfind: Missing close brace in substitution." +msgstr "ippfind: Missing close brace in substitution." + +msgid "ippfind: Missing close parenthesis." +msgstr "ippfind: Missing close parenthesis." + +msgid "ippfind: Missing expression before \"--and\"." +msgstr "ippfind: Missing expression before \"--and\"." + +msgid "ippfind: Missing expression before \"--or\"." +msgstr "ippfind: Missing expression before \"--or\"." + +#, c-format +msgid "ippfind: Missing key name after %s." +msgstr "ippfind: Missing key name after %s." + +#, c-format +msgid "ippfind: Missing name after %s." +msgstr "ippfind: Missing name after %s." + +msgid "ippfind: Missing open parenthesis." +msgstr "ippfind: Missing open parenthesis." + +#, c-format +msgid "ippfind: Missing program after %s." +msgstr "ippfind: Missing program after %s." + +#, c-format +msgid "ippfind: Missing regular expression after %s." +msgstr "ippfind: Missing regular expression after %s." + +#, c-format +msgid "ippfind: Missing semi-colon after %s." +msgstr "ippfind: Missing semi-colon after %s." + +msgid "ippfind: Out of memory." +msgstr "ippfind: Out of memory." + +msgid "ippfind: Too many parenthesis." +msgstr "ippfind: Too many parenthesis." + +#, c-format +msgid "ippfind: Unable to browse or resolve: %s" +msgstr "ippfind: Unable to browse or resolve: %s" + +#, c-format +msgid "ippfind: Unable to execute \"%s\": %s" +msgstr "ippfind: Unable to execute \"%s\": %s" + +#, c-format +msgid "ippfind: Unable to use Bonjour: %s" +msgstr "ippfind: Unable to use Bonjour: %s" + +#, c-format +msgid "ippfind: Unknown variable \"{%s}\"." +msgstr "ippfind: Unknown variable \"{%s}\"." + +msgid "" +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", " +"and \"-X\"." +msgstr "" +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", " +"and \"-X\"." + +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." +msgstr "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." + +#, c-format +msgid "ipptool: Bad URI \"%s\"." +msgstr "ipptool: Bad URI \"%s\"." + +msgid "ipptool: Invalid seconds for \"-i\"." +msgstr "ipptool: Invalid seconds for \"-i\"." + +msgid "ipptool: May only specify a single URI." +msgstr "ipptool: May only specify a single URI." + +msgid "ipptool: Missing count for \"-n\"." +msgstr "ipptool: Missing count for \"-n\"." + +msgid "ipptool: Missing filename for \"--ippserver\"." +msgstr "ipptool: Missing filename for \"--ippserver\"." + +msgid "ipptool: Missing filename for \"-f\"." +msgstr "ipptool: Missing filename for \"-f\"." + +msgid "ipptool: Missing name=value for \"-d\"." +msgstr "ipptool: Missing name=value for \"-d\"." + +msgid "ipptool: Missing seconds for \"-i\"." +msgstr "ipptool: Missing seconds for \"-i\"." + +msgid "ipptool: URI required before test file." +msgstr "ipptool: URI required before test file." + +#. TRANSLATORS: Job Account ID +msgid "job-account-id" +msgstr "Job Account ID" + +#. TRANSLATORS: Job Account Type +msgid "job-account-type" +msgstr "Job Account Type" + +#. TRANSLATORS: General +msgid "job-account-type.general" +msgstr "General" + +#. TRANSLATORS: Group +msgid "job-account-type.group" +msgstr "Group" + +#. TRANSLATORS: None +msgid "job-account-type.none" +msgstr "None" + +#. TRANSLATORS: Job Accounting Output Bin +msgid "job-accounting-output-bin" +msgstr "Job Accounting Output Bin" + +#. TRANSLATORS: Job Accounting Sheets +msgid "job-accounting-sheets" +msgstr "Job Accounting Sheets" + +#. TRANSLATORS: Type of Job Accounting Sheets +msgid "job-accounting-sheets-type" +msgstr "Type of Job Accounting Sheets" + +#. TRANSLATORS: None +msgid "job-accounting-sheets-type.none" +msgstr "None" + +#. TRANSLATORS: Standard +msgid "job-accounting-sheets-type.standard" +msgstr "Standard" + +#. TRANSLATORS: Job Accounting User ID +msgid "job-accounting-user-id" +msgstr "Job Accounting User ID" + +#. TRANSLATORS: Job Cancel After +msgid "job-cancel-after" +msgstr "Cancel job after" + +#. TRANSLATORS: Copies +msgid "job-copies" +msgstr "Copies" + +#. TRANSLATORS: Back Cover +msgid "job-cover-back" +msgstr "Back Cover" + +#. TRANSLATORS: Front Cover +msgid "job-cover-front" +msgstr "Front Cover" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until" +msgstr "Delay Output Until" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until-time" +msgstr "Delay Output Until" + +#. TRANSLATORS: Daytime +msgid "job-delay-output-until.day-time" +msgstr "Daytime" + +#. TRANSLATORS: Evening +msgid "job-delay-output-until.evening" +msgstr "Evening" + +#. TRANSLATORS: Released +msgid "job-delay-output-until.indefinite" +msgstr "Released" + +#. TRANSLATORS: Night +msgid "job-delay-output-until.night" +msgstr "Night" + +#. TRANSLATORS: No Delay +msgid "job-delay-output-until.no-delay-output" +msgstr "No Delay" + +#. TRANSLATORS: Second Shift +msgid "job-delay-output-until.second-shift" +msgstr "Second Shift" + +#. TRANSLATORS: Third Shift +msgid "job-delay-output-until.third-shift" +msgstr "Third Shift" + +#. TRANSLATORS: Weekend +msgid "job-delay-output-until.weekend" +msgstr "Weekend" + +#. TRANSLATORS: On Error +msgid "job-error-action" +msgstr "On Error" + +#. TRANSLATORS: Abort Job +msgid "job-error-action.abort-job" +msgstr "Abort Job" + +#. TRANSLATORS: Cancel Job +msgid "job-error-action.cancel-job" +msgstr "Cancel Job" + +#. TRANSLATORS: Continue Job +msgid "job-error-action.continue-job" +msgstr "Continue Job" + +#. TRANSLATORS: Suspend Job +msgid "job-error-action.suspend-job" +msgstr "Suspend Job" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet" +msgstr "Print Error Sheet" + +#. TRANSLATORS: Type of Error Sheet +msgid "job-error-sheet-type" +msgstr "Type of Error Sheet" + +#. TRANSLATORS: None +msgid "job-error-sheet-type.none" +msgstr "None" + +#. TRANSLATORS: Standard +msgid "job-error-sheet-type.standard" +msgstr "Standard" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet-when" +msgstr "Print Error Sheet" + +#. TRANSLATORS: Always +msgid "job-error-sheet-when.always" +msgstr "Always" + +#. TRANSLATORS: On Error +msgid "job-error-sheet-when.on-error" +msgstr "On Error" + +#. TRANSLATORS: Job Finishings +msgid "job-finishings" +msgstr "Job Finishings" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until" +msgstr "Hold Until" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until-time" +msgstr "Hold Until" + +#. TRANSLATORS: Daytime +msgid "job-hold-until.day-time" +msgstr "Daytime" + +#. TRANSLATORS: Evening +msgid "job-hold-until.evening" +msgstr "Evening" + +#. TRANSLATORS: Released +msgid "job-hold-until.indefinite" +msgstr "Released" + +#. TRANSLATORS: Night +msgid "job-hold-until.night" +msgstr "Night" + +#. TRANSLATORS: No Hold +msgid "job-hold-until.no-hold" +msgstr "No Hold" + +#. TRANSLATORS: Second Shift +msgid "job-hold-until.second-shift" +msgstr "Second Shift" + +#. TRANSLATORS: Third Shift +msgid "job-hold-until.third-shift" +msgstr "Third Shift" + +#. TRANSLATORS: Weekend +msgid "job-hold-until.weekend" +msgstr "Weekend" + +#. TRANSLATORS: Job Mandatory Attributes +msgid "job-mandatory-attributes" +msgstr "Job Mandatory Attributes" + +#. TRANSLATORS: Title +msgid "job-name" +msgstr "Title" + +#. TRANSLATORS: Job Pages +msgid "job-pages" +msgstr "Job Pages" + +#. TRANSLATORS: Job Pages +msgid "job-pages-col" +msgstr "Job Pages" + +#. TRANSLATORS: Job Phone Number +msgid "job-phone-number" +msgstr "Job Phone Number" + +msgid "job-printer-uri attribute missing." +msgstr "job-printer-uri attribute missing." + +#. TRANSLATORS: Job Priority +msgid "job-priority" +msgstr "Job Priority" + +#. TRANSLATORS: Job Privacy Attributes +msgid "job-privacy-attributes" +msgstr "Job Privacy Attributes" + +#. TRANSLATORS: All +msgid "job-privacy-attributes.all" +msgstr "All" + +#. TRANSLATORS: Default +msgid "job-privacy-attributes.default" +msgstr "Default" + +#. TRANSLATORS: Job Description +msgid "job-privacy-attributes.job-description" +msgstr "Job Description" + +#. TRANSLATORS: Job Template +msgid "job-privacy-attributes.job-template" +msgstr "Job Template" + +#. TRANSLATORS: None +msgid "job-privacy-attributes.none" +msgstr "None" + +#. TRANSLATORS: Job Privacy Scope +msgid "job-privacy-scope" +msgstr "Job Privacy Scope" + +#. TRANSLATORS: All +msgid "job-privacy-scope.all" +msgstr "All" + +#. TRANSLATORS: Default +msgid "job-privacy-scope.default" +msgstr "Default" + +#. TRANSLATORS: None +msgid "job-privacy-scope.none" +msgstr "None" + +#. TRANSLATORS: Owner +msgid "job-privacy-scope.owner" +msgstr "Owner" + +#. TRANSLATORS: Job Recipient Name +msgid "job-recipient-name" +msgstr "Job Recipient Name" + +#. TRANSLATORS: Job Retain Until +msgid "job-retain-until" +msgstr "Retain job until" + +#. TRANSLATORS: Job Retain Until Interval +msgid "job-retain-until-interval" +msgstr "Retain job until interval" + +#. TRANSLATORS: Job Retain Until Time +msgid "job-retain-until-time" +msgstr "Retain job until time" + +#. TRANSLATORS: End Of Day +msgid "job-retain-until.end-of-day" +msgstr "End of day" + +#. TRANSLATORS: End Of Month +msgid "job-retain-until.end-of-month" +msgstr "End of month" + +#. TRANSLATORS: End Of Week +msgid "job-retain-until.end-of-week" +msgstr "End of week" + +#. TRANSLATORS: Indefinite +msgid "job-retain-until.indefinite" +msgstr "Indefinitely" + +#. TRANSLATORS: None +msgid "job-retain-until.none" +msgstr "Never" + +#. TRANSLATORS: Job Save Disposition +msgid "job-save-disposition" +msgstr "Job Save Disposition" + +#. TRANSLATORS: Job Sheet Message +msgid "job-sheet-message" +msgstr "Job Sheet Message" + +#. TRANSLATORS: Banner Page +msgid "job-sheets" +msgstr "Banner Page" + +#. TRANSLATORS: Banner Page +msgid "job-sheets-col" +msgstr "Banner Page" + +#. TRANSLATORS: First Page in Document +msgid "job-sheets.first-print-stream-page" +msgstr "First Page in Document" + +#. TRANSLATORS: Start and End Sheets +msgid "job-sheets.job-both-sheet" +msgstr "Start and End Sheets" + +#. TRANSLATORS: End Sheet +msgid "job-sheets.job-end-sheet" +msgstr "End Sheet" + +#. TRANSLATORS: Start Sheet +msgid "job-sheets.job-start-sheet" +msgstr "Start Sheet" + +#. TRANSLATORS: None +msgid "job-sheets.none" +msgstr "None" + +#. TRANSLATORS: Standard +msgid "job-sheets.standard" +msgstr "Standard" + +#. TRANSLATORS: Job State +msgid "job-state" +msgstr "Job State" + +#. TRANSLATORS: Job State Message +msgid "job-state-message" +msgstr "Job State Message" + +#. TRANSLATORS: Detailed Job State +msgid "job-state-reasons" +msgstr "Detailed Job State" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.aborted-by-system" +msgstr "Aborted By System" + +#. TRANSLATORS: Account Authorization Failed +msgid "job-state-reasons.account-authorization-failed" +msgstr "Account Authorization Failed" + +#. TRANSLATORS: Account Closed +msgid "job-state-reasons.account-closed" +msgstr "Account Closed" + +#. TRANSLATORS: Account Info Needed +msgid "job-state-reasons.account-info-needed" +msgstr "Account Info Needed" + +#. TRANSLATORS: Account Limit Reached +msgid "job-state-reasons.account-limit-reached" +msgstr "Account Limit Reached" + +#. TRANSLATORS: Decompression error +msgid "job-state-reasons.compression-error" +msgstr "Compression Error" + +#. TRANSLATORS: Conflicting Attributes +msgid "job-state-reasons.conflicting-attributes" +msgstr "Conflicting Attributes" + +#. TRANSLATORS: Connected To Destination +msgid "job-state-reasons.connected-to-destination" +msgstr "Connected To Destination" + +#. TRANSLATORS: Connecting To Destination +msgid "job-state-reasons.connecting-to-destination" +msgstr "Connecting To Destination" + +#. TRANSLATORS: Destination Uri Failed +msgid "job-state-reasons.destination-uri-failed" +msgstr "Destination Uri Failed" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "job-state-reasons.digital-signature-did-not-verify" +msgstr "Digital Signature Did Not Verify" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "job-state-reasons.digital-signature-type-not-supported" +msgstr "Digital Signature Type Not Supported" + +#. TRANSLATORS: Document Access Error +msgid "job-state-reasons.document-access-error" +msgstr "Document Access Error" + +#. TRANSLATORS: Document Format Error +msgid "job-state-reasons.document-format-error" +msgstr "Document Format Error" + +#. TRANSLATORS: Document Password Error +msgid "job-state-reasons.document-password-error" +msgstr "Document Password Error" + +#. TRANSLATORS: Document Permission Error +msgid "job-state-reasons.document-permission-error" +msgstr "Document Permission Error" + +#. TRANSLATORS: Document Security Error +msgid "job-state-reasons.document-security-error" +msgstr "Document Security Error" + +#. TRANSLATORS: Document Unprintable Error +msgid "job-state-reasons.document-unprintable-error" +msgstr "Document Unprintable Error" + +#. TRANSLATORS: Errors Detected +msgid "job-state-reasons.errors-detected" +msgstr "Errors Detected" + +#. TRANSLATORS: Canceled at printer +msgid "job-state-reasons.job-canceled-at-device" +msgstr "Job Canceled At Device" + +#. TRANSLATORS: Canceled by operator +msgid "job-state-reasons.job-canceled-by-operator" +msgstr "Job Canceled By Operator" + +#. TRANSLATORS: Canceled by user +msgid "job-state-reasons.job-canceled-by-user" +msgstr "Job Canceled By User" + +#. TRANSLATORS: +msgid "job-state-reasons.job-completed-successfully" +msgstr "Job Completed Successfully" + +#. TRANSLATORS: Completed with errors +msgid "job-state-reasons.job-completed-with-errors" +msgstr "Job Completed With Errors" + +#. TRANSLATORS: Completed with warnings +msgid "job-state-reasons.job-completed-with-warnings" +msgstr "Job Completed With Warnings" + +#. TRANSLATORS: Insufficient data +msgid "job-state-reasons.job-data-insufficient" +msgstr "Job Data Insufficient" + +#. TRANSLATORS: Job Delay Output Until Specified +msgid "job-state-reasons.job-delay-output-until-specified" +msgstr "Job Delay Output Until Specified" + +#. TRANSLATORS: Job Digital Signature Wait +msgid "job-state-reasons.job-digital-signature-wait" +msgstr "Job Digital Signature Wait" + +#. TRANSLATORS: Job Fetchable +msgid "job-state-reasons.job-fetchable" +msgstr "Job Fetchable" + +#. TRANSLATORS: Job Held For Review +msgid "job-state-reasons.job-held-for-review" +msgstr "Job Held For Review" + +#. TRANSLATORS: Job held +msgid "job-state-reasons.job-hold-until-specified" +msgstr "Job Hold Until Specified" + +#. TRANSLATORS: Incoming +msgid "job-state-reasons.job-incoming" +msgstr "Job Incoming" + +#. TRANSLATORS: Interpreting +msgid "job-state-reasons.job-interpreting" +msgstr "Job Interpreting" + +#. TRANSLATORS: Outgoing +msgid "job-state-reasons.job-outgoing" +msgstr "Job Outgoing" + +#. TRANSLATORS: Job Password Wait +msgid "job-state-reasons.job-password-wait" +msgstr "Job Password Wait" + +#. TRANSLATORS: Job Printed Successfully +msgid "job-state-reasons.job-printed-successfully" +msgstr "Job Printed Successfully" + +#. TRANSLATORS: Job Printed With Errors +msgid "job-state-reasons.job-printed-with-errors" +msgstr "Job Printed With Errors" + +#. TRANSLATORS: Job Printed With Warnings +msgid "job-state-reasons.job-printed-with-warnings" +msgstr "Job Printed With Warnings" + +#. TRANSLATORS: Printing +msgid "job-state-reasons.job-printing" +msgstr "Job Printing" + +#. TRANSLATORS: Preparing to print +msgid "job-state-reasons.job-queued" +msgstr "Job Queued" + +#. TRANSLATORS: Processing document +msgid "job-state-reasons.job-queued-for-marker" +msgstr "Job Queued For Marker" + +#. TRANSLATORS: Job Release Wait +msgid "job-state-reasons.job-release-wait" +msgstr "Job Release Wait" + +#. TRANSLATORS: Restartable +msgid "job-state-reasons.job-restartable" +msgstr "Job Restartable" + +#. TRANSLATORS: Job Resuming +msgid "job-state-reasons.job-resuming" +msgstr "Job Resuming" + +#. TRANSLATORS: Job Saved Successfully +msgid "job-state-reasons.job-saved-successfully" +msgstr "Job Saved Successfully" + +#. TRANSLATORS: Job Saved With Errors +msgid "job-state-reasons.job-saved-with-errors" +msgstr "Job Saved With Errors" + +#. TRANSLATORS: Job Saved With Warnings +msgid "job-state-reasons.job-saved-with-warnings" +msgstr "Job Saved With Warnings" + +#. TRANSLATORS: Job Saving +msgid "job-state-reasons.job-saving" +msgstr "Job Saving" + +#. TRANSLATORS: Job Spooling +msgid "job-state-reasons.job-spooling" +msgstr "Job Spooling" + +#. TRANSLATORS: Job Streaming +msgid "job-state-reasons.job-streaming" +msgstr "Job Streaming" + +#. TRANSLATORS: Suspended +msgid "job-state-reasons.job-suspended" +msgstr "Job Suspended" + +#. TRANSLATORS: Job Suspended By Operator +msgid "job-state-reasons.job-suspended-by-operator" +msgstr "Job Suspended By Operator" + +#. TRANSLATORS: Job Suspended By System +msgid "job-state-reasons.job-suspended-by-system" +msgstr "Job Suspended By System" + +#. TRANSLATORS: Job Suspended By User +msgid "job-state-reasons.job-suspended-by-user" +msgstr "Job Suspended By User" + +#. TRANSLATORS: Job Suspending +msgid "job-state-reasons.job-suspending" +msgstr "Job Suspending" + +#. TRANSLATORS: Job Transferring +msgid "job-state-reasons.job-transferring" +msgstr "Job Transferring" + +#. TRANSLATORS: Transforming +msgid "job-state-reasons.job-transforming" +msgstr "Job Transforming" + +#. TRANSLATORS: None +msgid "job-state-reasons.none" +msgstr "None" + +#. TRANSLATORS: Printer offline +msgid "job-state-reasons.printer-stopped" +msgstr "Printer Stopped" + +#. TRANSLATORS: Printer partially stopped +msgid "job-state-reasons.printer-stopped-partly" +msgstr "Printer Stopped Partly" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.processing-to-stop-point" +msgstr "Processing To Stop Point" + +#. TRANSLATORS: Ready +msgid "job-state-reasons.queued-in-device" +msgstr "Queued In Device" + +#. TRANSLATORS: Resources Are Not Ready +msgid "job-state-reasons.resources-are-not-ready" +msgstr "Resources Are Not Ready" + +#. TRANSLATORS: Resources Are Not Supported +msgid "job-state-reasons.resources-are-not-supported" +msgstr "Resources Are Not Supported" + +#. TRANSLATORS: Service offline +msgid "job-state-reasons.service-off-line" +msgstr "Service Off Line" + +#. TRANSLATORS: Submission Interrupted +msgid "job-state-reasons.submission-interrupted" +msgstr "Submission Interrupted" + +#. TRANSLATORS: Unsupported Attributes Or Values +msgid "job-state-reasons.unsupported-attributes-or-values" +msgstr "Unsupported Attributes Or Values" + +#. TRANSLATORS: Unsupported Compression +msgid "job-state-reasons.unsupported-compression" +msgstr "Unsupported Compression" + +#. TRANSLATORS: Unsupported Document Format +msgid "job-state-reasons.unsupported-document-format" +msgstr "Unsupported Document Format" + +#. TRANSLATORS: Waiting For User Action +msgid "job-state-reasons.waiting-for-user-action" +msgstr "Waiting For User Action" + +#. TRANSLATORS: Warnings Detected +msgid "job-state-reasons.warnings-detected" +msgstr "Warnings Detected" + +#. TRANSLATORS: Pending +msgid "job-state.3" +msgstr "Pending" + +#. TRANSLATORS: Held +msgid "job-state.4" +msgstr "Held" + +#. TRANSLATORS: Processing +msgid "job-state.5" +msgstr "Processing" + +#. TRANSLATORS: Stopped +msgid "job-state.6" +msgstr "Stopped" + +#. TRANSLATORS: Canceled +msgid "job-state.7" +msgstr "Canceled" + +#. TRANSLATORS: Aborted +msgid "job-state.8" +msgstr "Aborted" + +#. TRANSLATORS: Completed +msgid "job-state.9" +msgstr "Completed" + +#. TRANSLATORS: Laminate Pages +msgid "laminating" +msgstr "Laminate Pages" + +#. TRANSLATORS: Laminate +msgid "laminating-sides" +msgstr "Laminate" + +#. TRANSLATORS: Back Only +msgid "laminating-sides.back" +msgstr "Back Only" + +#. TRANSLATORS: Front and Back +msgid "laminating-sides.both" +msgstr "Front and Back" + +#. TRANSLATORS: Front Only +msgid "laminating-sides.front" +msgstr "Front Only" + +#. TRANSLATORS: Type of Lamination +msgid "laminating-type" +msgstr "Type of Lamination" + +#. TRANSLATORS: Archival +msgid "laminating-type.archival" +msgstr "Archival" + +#. TRANSLATORS: Glossy +msgid "laminating-type.glossy" +msgstr "Glossy" + +#. TRANSLATORS: High Gloss +msgid "laminating-type.high-gloss" +msgstr "High Gloss" + +#. TRANSLATORS: Matte +msgid "laminating-type.matte" +msgstr "Matte" + +#. TRANSLATORS: Semi-gloss +msgid "laminating-type.semi-gloss" +msgstr "Semi-gloss" + +#. TRANSLATORS: Translucent +msgid "laminating-type.translucent" +msgstr "Translucent" + +#. TRANSLATORS: Logo +msgid "logo" +msgstr "Logo" + +msgid "lpadmin: Class name can only contain printable characters." +msgstr "lpadmin: Class name can only contain printable characters." + +#, c-format +msgid "lpadmin: Expected PPD after \"-%c\" option." +msgstr "lpadmin: Expected PPD after \"-%c\" option." + +msgid "lpadmin: Expected allow/deny:userlist after \"-u\" option." +msgstr "lpadmin: Expected allow/deny:userlist after \"-u\" option." + +msgid "lpadmin: Expected class after \"-r\" option." +msgstr "lpadmin: Expected class after \"-r\" option." + +msgid "lpadmin: Expected class name after \"-c\" option." +msgstr "lpadmin: Expected class name after \"-c\" option." + +msgid "lpadmin: Expected description after \"-D\" option." +msgstr "lpadmin: Expected description after \"-D\" option." + +msgid "lpadmin: Expected device URI after \"-v\" option." +msgstr "lpadmin: Expected device URI after \"-v\" option." + +msgid "lpadmin: Expected file type(s) after \"-I\" option." +msgstr "lpadmin: Expected file type(s) after \"-I\" option." + +msgid "lpadmin: Expected hostname after \"-h\" option." +msgstr "lpadmin: Expected hostname after \"-h\" option." + +msgid "lpadmin: Expected location after \"-L\" option." +msgstr "lpadmin: Expected location after \"-L\" option." + +msgid "lpadmin: Expected model after \"-m\" option." +msgstr "lpadmin: Expected model after \"-m\" option." + +msgid "lpadmin: Expected name after \"-R\" option." +msgstr "lpadmin: Expected name after \"-R\" option." + +msgid "lpadmin: Expected name=value after \"-o\" option." +msgstr "lpadmin: Expected name=value after \"-o\" option." + +msgid "lpadmin: Expected printer after \"-p\" option." +msgstr "lpadmin: Expected printer after \"-p\" option." + +msgid "lpadmin: Expected printer name after \"-d\" option." +msgstr "lpadmin: Expected printer name after \"-d\" option." + +msgid "lpadmin: Expected printer or class after \"-x\" option." +msgstr "lpadmin: Expected printer or class after \"-x\" option." + +msgid "lpadmin: No member names were seen." +msgstr "lpadmin: No member names were seen." + +#, c-format +msgid "lpadmin: Printer %s is already a member of class %s." +msgstr "lpadmin: Printer %s is already a member of class %s." + +#, c-format +msgid "lpadmin: Printer %s is not a member of class %s." +msgstr "lpadmin: Printer %s is not a member of class %s." + +msgid "" +"lpadmin: Printer drivers are deprecated and will stop working in a future " +"version of CUPS." +msgstr "" +"lpadmin: Printer drivers are deprecated and will stop working in a future " +"version of CUPS." + +msgid "lpadmin: Printer name can only contain printable characters." +msgstr "lpadmin: Printer name can only contain printable characters." + +msgid "" +"lpadmin: Raw queues are deprecated and will stop working in a future version " +"of CUPS." +msgstr "" +"lpadmin: Raw queues are deprecated and will stop working in a future version " +"of CUPS." + +msgid "lpadmin: Raw queues are no longer supported on macOS." +msgstr "lpadmin: Raw queues are no longer supported on macOS." + +msgid "" +"lpadmin: System V interface scripts are no longer supported for security " +"reasons." +msgstr "" +"lpadmin: System V interface scripts are no longer supported for security " +"reasons." + +msgid "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." + +#, c-format +msgid "lpadmin: Unable to connect to server: %s" +msgstr "lpadmin: Unable to connect to server: %s" + +msgid "lpadmin: Unable to create temporary file" +msgstr "lpadmin: Unable to create temporary file" + +msgid "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s" +msgstr "lpadmin: Unable to open PPD \"%s\": %s" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s on line %d." +msgstr "lpadmin: Unable to open PPD \"%s\": %s on line %d." + +msgid "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." + +msgid "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." + +#, c-format +msgid "lpadmin: Unknown allow/deny option \"%s\"." +msgstr "lpadmin: Unknown allow/deny option \"%s\"." + +#, c-format +msgid "lpadmin: Unknown argument \"%s\"." +msgstr "lpadmin: Unknown argument \"%s\"." + +#, c-format +msgid "lpadmin: Unknown option \"%c\"." +msgstr "lpadmin: Unknown option \"%c\"." + +msgid "lpadmin: Use the 'everywhere' model for shared printers." +msgstr "lpadmin: Use the 'everywhere' model for shared printers." + +msgid "lpadmin: Warning - content type list ignored." +msgstr "lpadmin: Warning - content type list ignored." + +msgid "lpc> " +msgstr "lpc> " + +msgid "lpinfo: Expected 1284 device ID string after \"--device-id\"." +msgstr "lpinfo: Expected 1284 device ID string after \"--device-id\"." + +msgid "lpinfo: Expected language after \"--language\"." +msgstr "lpinfo: Expected language after \"--language\"." + +msgid "lpinfo: Expected make and model after \"--make-and-model\"." +msgstr "lpinfo: Expected make and model after \"--make-and-model\"." + +msgid "lpinfo: Expected product string after \"--product\"." +msgstr "lpinfo: Expected product string after \"--product\"." + +msgid "lpinfo: Expected scheme list after \"--exclude-schemes\"." +msgstr "lpinfo: Expected scheme list after \"--exclude-schemes\"." + +msgid "lpinfo: Expected scheme list after \"--include-schemes\"." +msgstr "lpinfo: Expected scheme list after \"--include-schemes\"." + +msgid "lpinfo: Expected timeout after \"--timeout\"." +msgstr "lpinfo: Expected timeout after \"--timeout\"." + +#, c-format +msgid "lpmove: Unable to connect to server: %s" +msgstr "lpmove: Unable to connect to server: %s" + +#, c-format +msgid "lpmove: Unknown argument \"%s\"." +msgstr "lpmove: Unknown argument \"%s\"." + +msgid "lpoptions: No printers." +msgstr "lpoptions: No printers." + +#, c-format +msgid "lpoptions: Unable to add printer or instance: %s" +msgstr "lpoptions: Unable to add printer or instance: %s" + +#, c-format +msgid "lpoptions: Unable to get PPD file for %s: %s" +msgstr "lpoptions: Unable to get PPD file for %s: %s" + +#, c-format +msgid "lpoptions: Unable to open PPD file for %s." +msgstr "lpoptions: Unable to open PPD file for %s." + +msgid "lpoptions: Unknown printer or class." +msgstr "lpoptions: Unknown printer or class." + +#, c-format +msgid "" +"lpstat: error - %s environment variable names non-existent destination \"%s" +"\"." +msgstr "" +"lpstat: error - %s environment variable names non-existent destination \"%s" +"\"." + +#. TRANSLATORS: Amount of Material +msgid "material-amount" +msgstr "Amount of Material" + +#. TRANSLATORS: Amount Units +msgid "material-amount-units" +msgstr "Amount Units" + +#. TRANSLATORS: Grams +msgid "material-amount-units.g" +msgstr "Grams" + +#. TRANSLATORS: Kilograms +msgid "material-amount-units.kg" +msgstr "Kilograms" + +#. TRANSLATORS: Liters +msgid "material-amount-units.l" +msgstr "Liters" + +#. TRANSLATORS: Meters +msgid "material-amount-units.m" +msgstr "Meters" + +#. TRANSLATORS: Milliliters +msgid "material-amount-units.ml" +msgstr "Milliliters" + +#. TRANSLATORS: Millimeters +msgid "material-amount-units.mm" +msgstr "Millimeters" + +#. TRANSLATORS: Material Color +msgid "material-color" +msgstr "Material Color" + +#. TRANSLATORS: Material Diameter +msgid "material-diameter" +msgstr "Material Diameter" + +#. TRANSLATORS: Material Diameter Tolerance +msgid "material-diameter-tolerance" +msgstr "Material Diameter Tolerance" + +#. TRANSLATORS: Material Fill Density +msgid "material-fill-density" +msgstr "Material Fill Density" + +#. TRANSLATORS: Material Name +msgid "material-name" +msgstr "Material Name" + +#. TRANSLATORS: Material Nozzle Diameter +msgid "material-nozzle-diameter" +msgstr "Material Nozzle Diameter" + +#. TRANSLATORS: Use Material For +msgid "material-purpose" +msgstr "Use Material For" + +#. TRANSLATORS: Everything +msgid "material-purpose.all" +msgstr "Everything" + +#. TRANSLATORS: Base +msgid "material-purpose.base" +msgstr "Base" + +#. TRANSLATORS: In-fill +msgid "material-purpose.in-fill" +msgstr "In-fill" + +#. TRANSLATORS: Shell +msgid "material-purpose.shell" +msgstr "Shell" + +#. TRANSLATORS: Supports +msgid "material-purpose.support" +msgstr "Supports" + +#. TRANSLATORS: Feed Rate +msgid "material-rate" +msgstr "Feed Rate" + +#. TRANSLATORS: Feed Rate Units +msgid "material-rate-units" +msgstr "Feed Rate Units" + +#. TRANSLATORS: Milligrams per second +msgid "material-rate-units.mg_second" +msgstr "Milligrams per second" + +#. TRANSLATORS: Milliliters per second +msgid "material-rate-units.ml_second" +msgstr "Milliliters per second" + +#. TRANSLATORS: Millimeters per second +msgid "material-rate-units.mm_second" +msgstr "Millimeters per second" + +#. TRANSLATORS: Material Retraction +msgid "material-retraction" +msgstr "Material Retraction" + +#. TRANSLATORS: Material Shell Thickness +msgid "material-shell-thickness" +msgstr "Material Shell Thickness" + +#. TRANSLATORS: Material Temperature +msgid "material-temperature" +msgstr "Material Temperature" + +#. TRANSLATORS: Material Type +msgid "material-type" +msgstr "Material Type" + +#. TRANSLATORS: ABS +msgid "material-type.abs" +msgstr "ABS" + +#. TRANSLATORS: Carbon Fiber ABS +msgid "material-type.abs-carbon-fiber" +msgstr "Carbon Fiber ABS" + +#. TRANSLATORS: Carbon Nanotube ABS +msgid "material-type.abs-carbon-nanotube" +msgstr "Carbon Nanotube ABS" + +#. TRANSLATORS: Chocolate +msgid "material-type.chocolate" +msgstr "Chocolate" + +#. TRANSLATORS: Gold +msgid "material-type.gold" +msgstr "Gold" + +#. TRANSLATORS: Nylon +msgid "material-type.nylon" +msgstr "Nylon" + +#. TRANSLATORS: Pet +msgid "material-type.pet" +msgstr "Pet" + +#. TRANSLATORS: Photopolymer +msgid "material-type.photopolymer" +msgstr "Photopolymer" + +#. TRANSLATORS: PLA +msgid "material-type.pla" +msgstr "PLA" + +#. TRANSLATORS: Conductive PLA +msgid "material-type.pla-conductive" +msgstr "Conductive PLA" + +#. TRANSLATORS: Pla Dissolvable +msgid "material-type.pla-dissolvable" +msgstr "Pla Dissolvable" + +#. TRANSLATORS: Flexible PLA +msgid "material-type.pla-flexible" +msgstr "Flexible PLA" + +#. TRANSLATORS: Magnetic PLA +msgid "material-type.pla-magnetic" +msgstr "Magnetic PLA" + +#. TRANSLATORS: Steel PLA +msgid "material-type.pla-steel" +msgstr "Steel PLA" + +#. TRANSLATORS: Stone PLA +msgid "material-type.pla-stone" +msgstr "Stone PLA" + +#. TRANSLATORS: Wood PLA +msgid "material-type.pla-wood" +msgstr "Wood PLA" + +#. TRANSLATORS: Polycarbonate +msgid "material-type.polycarbonate" +msgstr "Polycarbonate" + +#. TRANSLATORS: Dissolvable PVA +msgid "material-type.pva-dissolvable" +msgstr "Dissolvable PVA" + +#. TRANSLATORS: Silver +msgid "material-type.silver" +msgstr "Silver" + +#. TRANSLATORS: Titanium +msgid "material-type.titanium" +msgstr "Titanium" + +#. TRANSLATORS: Wax +msgid "material-type.wax" +msgstr "Wax" + +#. TRANSLATORS: Materials +msgid "materials-col" +msgstr "Materials" + +#. TRANSLATORS: Media +msgid "media" +msgstr "Media" + +#. TRANSLATORS: Back Coating of Media +msgid "media-back-coating" +msgstr "Back Coating of Media" + +#. TRANSLATORS: Glossy +msgid "media-back-coating.glossy" +msgstr "Glossy" + +#. TRANSLATORS: High Gloss +msgid "media-back-coating.high-gloss" +msgstr "High Gloss" + +#. TRANSLATORS: Matte +msgid "media-back-coating.matte" +msgstr "Matte" + +#. TRANSLATORS: None +msgid "media-back-coating.none" +msgstr "None" + +#. TRANSLATORS: Satin +msgid "media-back-coating.satin" +msgstr "Satin" + +#. TRANSLATORS: Semi-gloss +msgid "media-back-coating.semi-gloss" +msgstr "Semi-gloss" + +#. TRANSLATORS: Media Bottom Margin +msgid "media-bottom-margin" +msgstr "Media Bottom Margin" + +#. TRANSLATORS: Media +msgid "media-col" +msgstr "Media" + +#. TRANSLATORS: Media Color +msgid "media-color" +msgstr "Media Color" + +#. TRANSLATORS: Black +msgid "media-color.black" +msgstr "Black" + +#. TRANSLATORS: Blue +msgid "media-color.blue" +msgstr "Blue" + +#. TRANSLATORS: Brown +msgid "media-color.brown" +msgstr "Brown" + +#. TRANSLATORS: Buff +msgid "media-color.buff" +msgstr "Buff" + +#. TRANSLATORS: Clear Black +msgid "media-color.clear-black" +msgstr "Clear Black" + +#. TRANSLATORS: Clear Blue +msgid "media-color.clear-blue" +msgstr "Clear Blue" + +#. TRANSLATORS: Clear Brown +msgid "media-color.clear-brown" +msgstr "Clear Brown" + +#. TRANSLATORS: Clear Buff +msgid "media-color.clear-buff" +msgstr "Clear Buff" + +#. TRANSLATORS: Clear Cyan +msgid "media-color.clear-cyan" +msgstr "Clear Cyan" + +#. TRANSLATORS: Clear Gold +msgid "media-color.clear-gold" +msgstr "Clear Gold" + +#. TRANSLATORS: Clear Goldenrod +msgid "media-color.clear-goldenrod" +msgstr "Clear Goldenrod" + +#. TRANSLATORS: Clear Gray +msgid "media-color.clear-gray" +msgstr "Clear Gray" + +#. TRANSLATORS: Clear Green +msgid "media-color.clear-green" +msgstr "Clear Green" + +#. TRANSLATORS: Clear Ivory +msgid "media-color.clear-ivory" +msgstr "Clear Ivory" + +#. TRANSLATORS: Clear Magenta +msgid "media-color.clear-magenta" +msgstr "Clear Magenta" + +#. TRANSLATORS: Clear Multi Color +msgid "media-color.clear-multi-color" +msgstr "Clear Multi Color" + +#. TRANSLATORS: Clear Mustard +msgid "media-color.clear-mustard" +msgstr "Clear Mustard" + +#. TRANSLATORS: Clear Orange +msgid "media-color.clear-orange" +msgstr "Clear Orange" + +#. TRANSLATORS: Clear Pink +msgid "media-color.clear-pink" +msgstr "Clear Pink" + +#. TRANSLATORS: Clear Red +msgid "media-color.clear-red" +msgstr "Clear Red" + +#. TRANSLATORS: Clear Silver +msgid "media-color.clear-silver" +msgstr "Clear Silver" + +#. TRANSLATORS: Clear Turquoise +msgid "media-color.clear-turquoise" +msgstr "Clear Turquoise" + +#. TRANSLATORS: Clear Violet +msgid "media-color.clear-violet" +msgstr "Clear Violet" + +#. TRANSLATORS: Clear White +msgid "media-color.clear-white" +msgstr "Clear White" + +#. TRANSLATORS: Clear Yellow +msgid "media-color.clear-yellow" +msgstr "Clear Yellow" + +#. TRANSLATORS: Cyan +msgid "media-color.cyan" +msgstr "Cyan" + +#. TRANSLATORS: Dark Blue +msgid "media-color.dark-blue" +msgstr "Dark Blue" + +#. TRANSLATORS: Dark Brown +msgid "media-color.dark-brown" +msgstr "Dark Brown" + +#. TRANSLATORS: Dark Buff +msgid "media-color.dark-buff" +msgstr "Dark Buff" + +#. TRANSLATORS: Dark Cyan +msgid "media-color.dark-cyan" +msgstr "Dark Cyan" + +#. TRANSLATORS: Dark Gold +msgid "media-color.dark-gold" +msgstr "Dark Gold" + +#. TRANSLATORS: Dark Goldenrod +msgid "media-color.dark-goldenrod" +msgstr "Dark Goldenrod" + +#. TRANSLATORS: Dark Gray +msgid "media-color.dark-gray" +msgstr "Dark Gray" + +#. TRANSLATORS: Dark Green +msgid "media-color.dark-green" +msgstr "Dark Green" + +#. TRANSLATORS: Dark Ivory +msgid "media-color.dark-ivory" +msgstr "Dark Ivory" + +#. TRANSLATORS: Dark Magenta +msgid "media-color.dark-magenta" +msgstr "Dark Magenta" + +#. TRANSLATORS: Dark Mustard +msgid "media-color.dark-mustard" +msgstr "Dark Mustard" + +#. TRANSLATORS: Dark Orange +msgid "media-color.dark-orange" +msgstr "Dark Orange" + +#. TRANSLATORS: Dark Pink +msgid "media-color.dark-pink" +msgstr "Dark Pink" + +#. TRANSLATORS: Dark Red +msgid "media-color.dark-red" +msgstr "Dark Red" + +#. TRANSLATORS: Dark Silver +msgid "media-color.dark-silver" +msgstr "Dark Silver" + +#. TRANSLATORS: Dark Turquoise +msgid "media-color.dark-turquoise" +msgstr "Dark Turquoise" + +#. TRANSLATORS: Dark Violet +msgid "media-color.dark-violet" +msgstr "Dark Violet" + +#. TRANSLATORS: Dark Yellow +msgid "media-color.dark-yellow" +msgstr "Dark Yellow" + +#. TRANSLATORS: Gold +msgid "media-color.gold" +msgstr "Gold" + +#. TRANSLATORS: Goldenrod +msgid "media-color.goldenrod" +msgstr "Goldenrod" + +#. TRANSLATORS: Gray +msgid "media-color.gray" +msgstr "Gray" + +#. TRANSLATORS: Green +msgid "media-color.green" +msgstr "Green" + +#. TRANSLATORS: Ivory +msgid "media-color.ivory" +msgstr "Ivory" + +#. TRANSLATORS: Light Black +msgid "media-color.light-black" +msgstr "Light Black" + +#. TRANSLATORS: Light Blue +msgid "media-color.light-blue" +msgstr "Light Blue" + +#. TRANSLATORS: Light Brown +msgid "media-color.light-brown" +msgstr "Light Brown" + +#. TRANSLATORS: Light Buff +msgid "media-color.light-buff" +msgstr "Light Buff" + +#. TRANSLATORS: Light Cyan +msgid "media-color.light-cyan" +msgstr "Light Cyan" + +#. TRANSLATORS: Light Gold +msgid "media-color.light-gold" +msgstr "Light Gold" + +#. TRANSLATORS: Light Goldenrod +msgid "media-color.light-goldenrod" +msgstr "Light Goldenrod" + +#. TRANSLATORS: Light Gray +msgid "media-color.light-gray" +msgstr "Light Gray" + +#. TRANSLATORS: Light Green +msgid "media-color.light-green" +msgstr "Light Green" + +#. TRANSLATORS: Light Ivory +msgid "media-color.light-ivory" +msgstr "Light Ivory" + +#. TRANSLATORS: Light Magenta +msgid "media-color.light-magenta" +msgstr "Light Magenta" + +#. TRANSLATORS: Light Mustard +msgid "media-color.light-mustard" +msgstr "Light Mustard" + +#. TRANSLATORS: Light Orange +msgid "media-color.light-orange" +msgstr "Light Orange" + +#. TRANSLATORS: Light Pink +msgid "media-color.light-pink" +msgstr "Light Pink" + +#. TRANSLATORS: Light Red +msgid "media-color.light-red" +msgstr "Light Red" + +#. TRANSLATORS: Light Silver +msgid "media-color.light-silver" +msgstr "Light Silver" + +#. TRANSLATORS: Light Turquoise +msgid "media-color.light-turquoise" +msgstr "Light Turquoise" + +#. TRANSLATORS: Light Violet +msgid "media-color.light-violet" +msgstr "Light Violet" + +#. TRANSLATORS: Light Yellow +msgid "media-color.light-yellow" +msgstr "Light Yellow" + +#. TRANSLATORS: Magenta +msgid "media-color.magenta" +msgstr "Magenta" + +#. TRANSLATORS: Multi-color +msgid "media-color.multi-color" +msgstr "Multi-color" + +#. TRANSLATORS: Mustard +msgid "media-color.mustard" +msgstr "Mustard" + +#. TRANSLATORS: No Color +msgid "media-color.no-color" +msgstr "No Color" + +#. TRANSLATORS: Orange +msgid "media-color.orange" +msgstr "Orange" + +#. TRANSLATORS: Pink +msgid "media-color.pink" +msgstr "Pink" + +#. TRANSLATORS: Red +msgid "media-color.red" +msgstr "Red" + +#. TRANSLATORS: Silver +msgid "media-color.silver" +msgstr "Silver" + +#. TRANSLATORS: Turquoise +msgid "media-color.turquoise" +msgstr "Turquoise" + +#. TRANSLATORS: Violet +msgid "media-color.violet" +msgstr "Violet" + +#. TRANSLATORS: White +msgid "media-color.white" +msgstr "White" + +#. TRANSLATORS: Yellow +msgid "media-color.yellow" +msgstr "Yellow" + +#. TRANSLATORS: Front Coating of Media +msgid "media-front-coating" +msgstr "Front Coating of Media" + +#. TRANSLATORS: Media Grain +msgid "media-grain" +msgstr "Media Grain" + +#. TRANSLATORS: Cross-Feed Direction +msgid "media-grain.x-direction" +msgstr "Cross-Feed Direction" + +#. TRANSLATORS: Feed Direction +msgid "media-grain.y-direction" +msgstr "Feed Direction" + +#. TRANSLATORS: Media Hole Count +msgid "media-hole-count" +msgstr "Media Hole Count" + +#. TRANSLATORS: Media Info +msgid "media-info" +msgstr "Media Info" + +#. TRANSLATORS: Force Media +msgid "media-input-tray-check" +msgstr "Force Media" + +#. TRANSLATORS: Media Left Margin +msgid "media-left-margin" +msgstr "Media Left Margin" + +#. TRANSLATORS: Pre-printed Media +msgid "media-pre-printed" +msgstr "Pre-printed Media" + +#. TRANSLATORS: Blank +msgid "media-pre-printed.blank" +msgstr "Blank" + +#. TRANSLATORS: Letterhead +msgid "media-pre-printed.letter-head" +msgstr "Letterhead" + +#. TRANSLATORS: Pre-printed +msgid "media-pre-printed.pre-printed" +msgstr "Pre-printed" + +#. TRANSLATORS: Recycled Media +msgid "media-recycled" +msgstr "Recycled Media" + +#. TRANSLATORS: None +msgid "media-recycled.none" +msgstr "None" + +#. TRANSLATORS: Standard +msgid "media-recycled.standard" +msgstr "Standard" + +#. TRANSLATORS: Media Right Margin +msgid "media-right-margin" +msgstr "Media Right Margin" + +#. TRANSLATORS: Media Dimensions +msgid "media-size" +msgstr "Media Dimensions" + +#. TRANSLATORS: Media Name +msgid "media-size-name" +msgstr "Media Name" + +#. TRANSLATORS: Media Source +msgid "media-source" +msgstr "Media Source" + +#. TRANSLATORS: Alternate +msgid "media-source.alternate" +msgstr "Alternate" + +#. TRANSLATORS: Alternate Roll +msgid "media-source.alternate-roll" +msgstr "Alternate Roll" + +#. TRANSLATORS: Automatic +msgid "media-source.auto" +msgstr "Automatic" + +#. TRANSLATORS: Bottom +msgid "media-source.bottom" +msgstr "Bottom" + +#. TRANSLATORS: By-pass Tray +msgid "media-source.by-pass-tray" +msgstr "By-pass Tray" + +#. TRANSLATORS: Center +msgid "media-source.center" +msgstr "Center" + +#. TRANSLATORS: Disc +msgid "media-source.disc" +msgstr "Disc" + +#. TRANSLATORS: Envelope +msgid "media-source.envelope" +msgstr "Envelope" + +#. TRANSLATORS: Hagaki +msgid "media-source.hagaki" +msgstr "Hagaki" + +#. TRANSLATORS: Large Capacity +msgid "media-source.large-capacity" +msgstr "Large Capacity" + +#. TRANSLATORS: Left +msgid "media-source.left" +msgstr "Left" + +#. TRANSLATORS: Main +msgid "media-source.main" +msgstr "Main" + +#. TRANSLATORS: Main Roll +msgid "media-source.main-roll" +msgstr "Main Roll" + +#. TRANSLATORS: Manual +msgid "media-source.manual" +msgstr "Manual" + +#. TRANSLATORS: Middle +msgid "media-source.middle" +msgstr "Middle" + +#. TRANSLATORS: Photo +msgid "media-source.photo" +msgstr "Photo" + +#. TRANSLATORS: Rear +msgid "media-source.rear" +msgstr "Rear" + +#. TRANSLATORS: Right +msgid "media-source.right" +msgstr "Right" + +#. TRANSLATORS: Roll 1 +msgid "media-source.roll-1" +msgstr "Roll 1" + +#. TRANSLATORS: Roll 10 +msgid "media-source.roll-10" +msgstr "Roll 10" + +#. TRANSLATORS: Roll 2 +msgid "media-source.roll-2" +msgstr "Roll 2" + +#. TRANSLATORS: Roll 3 +msgid "media-source.roll-3" +msgstr "Roll 3" + +#. TRANSLATORS: Roll 4 +msgid "media-source.roll-4" +msgstr "Roll 4" + +#. TRANSLATORS: Roll 5 +msgid "media-source.roll-5" +msgstr "Roll 5" + +#. TRANSLATORS: Roll 6 +msgid "media-source.roll-6" +msgstr "Roll 6" + +#. TRANSLATORS: Roll 7 +msgid "media-source.roll-7" +msgstr "Roll 7" + +#. TRANSLATORS: Roll 8 +msgid "media-source.roll-8" +msgstr "Roll 8" + +#. TRANSLATORS: Roll 9 +msgid "media-source.roll-9" +msgstr "Roll 9" + +#. TRANSLATORS: Side +msgid "media-source.side" +msgstr "Side" + +#. TRANSLATORS: Top +msgid "media-source.top" +msgstr "Top" + +#. TRANSLATORS: Tray 1 +msgid "media-source.tray-1" +msgstr "Tray 1" + +#. TRANSLATORS: Tray 10 +msgid "media-source.tray-10" +msgstr "Tray 10" + +#. TRANSLATORS: Tray 11 +msgid "media-source.tray-11" +msgstr "Tray 11" + +#. TRANSLATORS: Tray 12 +msgid "media-source.tray-12" +msgstr "Tray 12" + +#. TRANSLATORS: Tray 13 +msgid "media-source.tray-13" +msgstr "Tray 13" + +#. TRANSLATORS: Tray 14 +msgid "media-source.tray-14" +msgstr "Tray 14" + +#. TRANSLATORS: Tray 15 +msgid "media-source.tray-15" +msgstr "Tray 15" + +#. TRANSLATORS: Tray 16 +msgid "media-source.tray-16" +msgstr "Tray 16" + +#. TRANSLATORS: Tray 17 +msgid "media-source.tray-17" +msgstr "Tray 17" + +#. TRANSLATORS: Tray 18 +msgid "media-source.tray-18" +msgstr "Tray 18" + +#. TRANSLATORS: Tray 19 +msgid "media-source.tray-19" +msgstr "Tray 19" + +#. TRANSLATORS: Tray 2 +msgid "media-source.tray-2" +msgstr "Tray 2" + +#. TRANSLATORS: Tray 20 +msgid "media-source.tray-20" +msgstr "Tray 20" + +#. TRANSLATORS: Tray 3 +msgid "media-source.tray-3" +msgstr "Tray 3" + +#. TRANSLATORS: Tray 4 +msgid "media-source.tray-4" +msgstr "Tray 4" + +#. TRANSLATORS: Tray 5 +msgid "media-source.tray-5" +msgstr "Tray 5" + +#. TRANSLATORS: Tray 6 +msgid "media-source.tray-6" +msgstr "Tray 6" + +#. TRANSLATORS: Tray 7 +msgid "media-source.tray-7" +msgstr "Tray 7" + +#. TRANSLATORS: Tray 8 +msgid "media-source.tray-8" +msgstr "Tray 8" + +#. TRANSLATORS: Tray 9 +msgid "media-source.tray-9" +msgstr "Tray 9" + +#. TRANSLATORS: Media Thickness +msgid "media-thickness" +msgstr "Media Thickness" + +#. TRANSLATORS: Media Tooth (Texture) +msgid "media-tooth" +msgstr "Media Tooth (Texture)" + +#. TRANSLATORS: Antique +msgid "media-tooth.antique" +msgstr "Antique" + +#. TRANSLATORS: Extra Smooth +msgid "media-tooth.calendared" +msgstr "Extra Smooth" + +#. TRANSLATORS: Coarse +msgid "media-tooth.coarse" +msgstr "Coarse" + +#. TRANSLATORS: Fine +msgid "media-tooth.fine" +msgstr "Fine" + +#. TRANSLATORS: Linen +msgid "media-tooth.linen" +msgstr "Linen" + +#. TRANSLATORS: Medium +msgid "media-tooth.medium" +msgstr "Medium" + +#. TRANSLATORS: Smooth +msgid "media-tooth.smooth" +msgstr "Smooth" + +#. TRANSLATORS: Stipple +msgid "media-tooth.stipple" +msgstr "Stipple" + +#. TRANSLATORS: Rough +msgid "media-tooth.uncalendared" +msgstr "Rough" + +#. TRANSLATORS: Vellum +msgid "media-tooth.vellum" +msgstr "Vellum" + +#. TRANSLATORS: Media Top Margin +msgid "media-top-margin" +msgstr "Media Top Margin" + +#. TRANSLATORS: Media Type +msgid "media-type" +msgstr "Media Type" + +#. TRANSLATORS: Aluminum +msgid "media-type.aluminum" +msgstr "Aluminum" + +#. TRANSLATORS: Automatic +msgid "media-type.auto" +msgstr "Automatic" + +#. TRANSLATORS: Back Print Film +msgid "media-type.back-print-film" +msgstr "Back Print Film" + +#. TRANSLATORS: Cardboard +msgid "media-type.cardboard" +msgstr "Cardboard" + +#. TRANSLATORS: Cardstock +msgid "media-type.cardstock" +msgstr "Cardstock" + +#. TRANSLATORS: CD +msgid "media-type.cd" +msgstr "CD" + +#. TRANSLATORS: Continuous +msgid "media-type.continuous" +msgstr "Continuous" + +#. TRANSLATORS: Continuous Long +msgid "media-type.continuous-long" +msgstr "Continuous Long" + +#. TRANSLATORS: Continuous Short +msgid "media-type.continuous-short" +msgstr "Continuous Short" + +#. TRANSLATORS: Corrugated Board +msgid "media-type.corrugated-board" +msgstr "Corrugated Board" + +#. TRANSLATORS: Optical Disc +msgid "media-type.disc" +msgstr "Optical Disc" + +#. TRANSLATORS: Glossy Optical Disc +msgid "media-type.disc-glossy" +msgstr "Glossy Optical Disc" + +#. TRANSLATORS: High Gloss Optical Disc +msgid "media-type.disc-high-gloss" +msgstr "High Gloss Optical Disc" + +#. TRANSLATORS: Matte Optical Disc +msgid "media-type.disc-matte" +msgstr "Matte Optical Disc" + +#. TRANSLATORS: Satin Optical Disc +msgid "media-type.disc-satin" +msgstr "Satin Optical Disc" + +#. TRANSLATORS: Semi-Gloss Optical Disc +msgid "media-type.disc-semi-gloss" +msgstr "Semi-Gloss Optical Disc" + +#. TRANSLATORS: Double Wall +msgid "media-type.double-wall" +msgstr "Double Wall" + +#. TRANSLATORS: Dry Film +msgid "media-type.dry-film" +msgstr "Dry Film" + +#. TRANSLATORS: DVD +msgid "media-type.dvd" +msgstr "DVD" + +#. TRANSLATORS: Embossing Foil +msgid "media-type.embossing-foil" +msgstr "Embossing Foil" + +#. TRANSLATORS: End Board +msgid "media-type.end-board" +msgstr "End Board" + +#. TRANSLATORS: Envelope +msgid "media-type.envelope" +msgstr "Envelope" + +#. TRANSLATORS: Archival Envelope +msgid "media-type.envelope-archival" +msgstr "Archival Envelope" + +#. TRANSLATORS: Bond Envelope +msgid "media-type.envelope-bond" +msgstr "Bond Envelope" + +#. TRANSLATORS: Coated Envelope +msgid "media-type.envelope-coated" +msgstr "Coated Envelope" + +#. TRANSLATORS: Cotton Envelope +msgid "media-type.envelope-cotton" +msgstr "Cotton Envelope" + +#. TRANSLATORS: Fine Envelope +msgid "media-type.envelope-fine" +msgstr "Fine Envelope" + +#. TRANSLATORS: Heavyweight Envelope +msgid "media-type.envelope-heavyweight" +msgstr "Heavyweight Envelope" + +#. TRANSLATORS: Inkjet Envelope +msgid "media-type.envelope-inkjet" +msgstr "Inkjet Envelope" + +#. TRANSLATORS: Lightweight Envelope +msgid "media-type.envelope-lightweight" +msgstr "Lightweight Envelope" + +#. TRANSLATORS: Plain Envelope +msgid "media-type.envelope-plain" +msgstr "Plain Envelope" + +#. TRANSLATORS: Preprinted Envelope +msgid "media-type.envelope-preprinted" +msgstr "Preprinted Envelope" + +#. TRANSLATORS: Windowed Envelope +msgid "media-type.envelope-window" +msgstr "Windowed Envelope" + +#. TRANSLATORS: Fabric +msgid "media-type.fabric" +msgstr "Fabric" + +#. TRANSLATORS: Archival Fabric +msgid "media-type.fabric-archival" +msgstr "Archival Fabric" + +#. TRANSLATORS: Glossy Fabric +msgid "media-type.fabric-glossy" +msgstr "Glossy Fabric" + +#. TRANSLATORS: High Gloss Fabric +msgid "media-type.fabric-high-gloss" +msgstr "High Gloss Fabric" + +#. TRANSLATORS: Matte Fabric +msgid "media-type.fabric-matte" +msgstr "Matte Fabric" + +#. TRANSLATORS: Semi-Gloss Fabric +msgid "media-type.fabric-semi-gloss" +msgstr "Semi-Gloss Fabric" + +#. TRANSLATORS: Waterproof Fabric +msgid "media-type.fabric-waterproof" +msgstr "Waterproof Fabric" + +#. TRANSLATORS: Film +msgid "media-type.film" +msgstr "Film" + +#. TRANSLATORS: Flexo Base +msgid "media-type.flexo-base" +msgstr "Flexo Base" + +#. TRANSLATORS: Flexo Photo Polymer +msgid "media-type.flexo-photo-polymer" +msgstr "Flexo Photo Polymer" + +#. TRANSLATORS: Flute +msgid "media-type.flute" +msgstr "Flute" + +#. TRANSLATORS: Foil +msgid "media-type.foil" +msgstr "Foil" + +#. TRANSLATORS: Full Cut Tabs +msgid "media-type.full-cut-tabs" +msgstr "Full Cut Tabs" + +#. TRANSLATORS: Glass +msgid "media-type.glass" +msgstr "Glass" + +#. TRANSLATORS: Glass Colored +msgid "media-type.glass-colored" +msgstr "Glass Colored" + +#. TRANSLATORS: Glass Opaque +msgid "media-type.glass-opaque" +msgstr "Glass Opaque" + +#. TRANSLATORS: Glass Surfaced +msgid "media-type.glass-surfaced" +msgstr "Glass Surfaced" + +#. TRANSLATORS: Glass Textured +msgid "media-type.glass-textured" +msgstr "Glass Textured" + +#. TRANSLATORS: Gravure Cylinder +msgid "media-type.gravure-cylinder" +msgstr "Gravure Cylinder" + +#. TRANSLATORS: Image Setter Paper +msgid "media-type.image-setter-paper" +msgstr "Image Setter Paper" + +#. TRANSLATORS: Imaging Cylinder +msgid "media-type.imaging-cylinder" +msgstr "Imaging Cylinder" + +#. TRANSLATORS: Labels +msgid "media-type.labels" +msgstr "Labels" + +#. TRANSLATORS: Colored Labels +msgid "media-type.labels-colored" +msgstr "Colored Labels" + +#. TRANSLATORS: Glossy Labels +msgid "media-type.labels-glossy" +msgstr "Glossy Labels" + +#. TRANSLATORS: High Gloss Labels +msgid "media-type.labels-high-gloss" +msgstr "High Gloss Labels" + +#. TRANSLATORS: Inkjet Labels +msgid "media-type.labels-inkjet" +msgstr "Inkjet Labels" + +#. TRANSLATORS: Matte Labels +msgid "media-type.labels-matte" +msgstr "Matte Labels" + +#. TRANSLATORS: Permanent Labels +msgid "media-type.labels-permanent" +msgstr "Permanent Labels" + +#. TRANSLATORS: Satin Labels +msgid "media-type.labels-satin" +msgstr "Satin Labels" + +#. TRANSLATORS: Security Labels +msgid "media-type.labels-security" +msgstr "Security Labels" + +#. TRANSLATORS: Semi-Gloss Labels +msgid "media-type.labels-semi-gloss" +msgstr "Semi-Gloss Labels" + +#. TRANSLATORS: Laminating Foil +msgid "media-type.laminating-foil" +msgstr "Laminating Foil" + +#. TRANSLATORS: Letterhead +msgid "media-type.letterhead" +msgstr "Letterhead" + +#. TRANSLATORS: Metal +msgid "media-type.metal" +msgstr "Metal" + +#. TRANSLATORS: Metal Glossy +msgid "media-type.metal-glossy" +msgstr "Metal Glossy" + +#. TRANSLATORS: Metal High Gloss +msgid "media-type.metal-high-gloss" +msgstr "Metal High Gloss" + +#. TRANSLATORS: Metal Matte +msgid "media-type.metal-matte" +msgstr "Metal Matte" + +#. TRANSLATORS: Metal Satin +msgid "media-type.metal-satin" +msgstr "Metal Satin" + +#. TRANSLATORS: Metal Semi Gloss +msgid "media-type.metal-semi-gloss" +msgstr "Metal Semi Gloss" + +#. TRANSLATORS: Mounting Tape +msgid "media-type.mounting-tape" +msgstr "Mounting Tape" + +#. TRANSLATORS: Multi Layer +msgid "media-type.multi-layer" +msgstr "Multi Layer" + +#. TRANSLATORS: Multi Part Form +msgid "media-type.multi-part-form" +msgstr "Multi Part Form" + +#. TRANSLATORS: Other +msgid "media-type.other" +msgstr "Other" + +#. TRANSLATORS: Paper +msgid "media-type.paper" +msgstr "Paper" + +#. TRANSLATORS: Photo Paper +msgid "media-type.photographic" +msgstr "Photo Paper" + +#. TRANSLATORS: Photographic Archival +msgid "media-type.photographic-archival" +msgstr "Photographic Archival" + +#. TRANSLATORS: Photo Film +msgid "media-type.photographic-film" +msgstr "Photo Film" + +#. TRANSLATORS: Glossy Photo Paper +msgid "media-type.photographic-glossy" +msgstr "Glossy Photo Paper" + +#. TRANSLATORS: High Gloss Photo Paper +msgid "media-type.photographic-high-gloss" +msgstr "High Gloss Photo Paper" + +#. TRANSLATORS: Matte Photo Paper +msgid "media-type.photographic-matte" +msgstr "Matte Photo Paper" + +#. TRANSLATORS: Satin Photo Paper +msgid "media-type.photographic-satin" +msgstr "Satin Photo Paper" + +#. TRANSLATORS: Semi-Gloss Photo Paper +msgid "media-type.photographic-semi-gloss" +msgstr "Semi-Gloss Photo Paper" + +#. TRANSLATORS: Plastic +msgid "media-type.plastic" +msgstr "Plastic" + +#. TRANSLATORS: Plastic Archival +msgid "media-type.plastic-archival" +msgstr "Plastic Archival" + +#. TRANSLATORS: Plastic Colored +msgid "media-type.plastic-colored" +msgstr "Plastic Colored" + +#. TRANSLATORS: Plastic Glossy +msgid "media-type.plastic-glossy" +msgstr "Plastic Glossy" + +#. TRANSLATORS: Plastic High Gloss +msgid "media-type.plastic-high-gloss" +msgstr "Plastic High Gloss" + +#. TRANSLATORS: Plastic Matte +msgid "media-type.plastic-matte" +msgstr "Plastic Matte" + +#. TRANSLATORS: Plastic Satin +msgid "media-type.plastic-satin" +msgstr "Plastic Satin" + +#. TRANSLATORS: Plastic Semi Gloss +msgid "media-type.plastic-semi-gloss" +msgstr "Plastic Semi Gloss" + +#. TRANSLATORS: Plate +msgid "media-type.plate" +msgstr "Plate" + +#. TRANSLATORS: Polyester +msgid "media-type.polyester" +msgstr "Polyester" + +#. TRANSLATORS: Pre Cut Tabs +msgid "media-type.pre-cut-tabs" +msgstr "Pre Cut Tabs" + +#. TRANSLATORS: Roll +msgid "media-type.roll" +msgstr "Roll" + +#. TRANSLATORS: Screen +msgid "media-type.screen" +msgstr "Screen" + +#. TRANSLATORS: Screen Paged +msgid "media-type.screen-paged" +msgstr "Screen Paged" + +#. TRANSLATORS: Self Adhesive +msgid "media-type.self-adhesive" +msgstr "Self Adhesive" + +#. TRANSLATORS: Self Adhesive Film +msgid "media-type.self-adhesive-film" +msgstr "Self Adhesive Film" + +#. TRANSLATORS: Shrink Foil +msgid "media-type.shrink-foil" +msgstr "Shrink Foil" + +#. TRANSLATORS: Single Face +msgid "media-type.single-face" +msgstr "Single Face" + +#. TRANSLATORS: Single Wall +msgid "media-type.single-wall" +msgstr "Single Wall" + +#. TRANSLATORS: Sleeve +msgid "media-type.sleeve" +msgstr "Sleeve" + +#. TRANSLATORS: Stationery +msgid "media-type.stationery" +msgstr "Stationery" + +#. TRANSLATORS: Stationery Archival +msgid "media-type.stationery-archival" +msgstr "Stationery Archival" + +#. TRANSLATORS: Coated Paper +msgid "media-type.stationery-coated" +msgstr "Coated Paper" + +#. TRANSLATORS: Stationery Cotton +msgid "media-type.stationery-cotton" +msgstr "Stationery Cotton" + +#. TRANSLATORS: Vellum Paper +msgid "media-type.stationery-fine" +msgstr "Vellum Paper" + +#. TRANSLATORS: Heavyweight Paper +msgid "media-type.stationery-heavyweight" +msgstr "Heavyweight Paper" + +#. TRANSLATORS: Stationery Heavyweight Coated +msgid "media-type.stationery-heavyweight-coated" +msgstr "Stationery Heavyweight Coated" + +#. TRANSLATORS: Stationery Inkjet Paper +msgid "media-type.stationery-inkjet" +msgstr "Stationery Inkjet Paper" + +#. TRANSLATORS: Letterhead +msgid "media-type.stationery-letterhead" +msgstr "Letterhead" + +#. TRANSLATORS: Lightweight Paper +msgid "media-type.stationery-lightweight" +msgstr "Lightweight Paper" + +#. TRANSLATORS: Preprinted Paper +msgid "media-type.stationery-preprinted" +msgstr "Preprinted Paper" + +#. TRANSLATORS: Punched Paper +msgid "media-type.stationery-prepunched" +msgstr "Punched Paper" + +#. TRANSLATORS: Tab Stock +msgid "media-type.tab-stock" +msgstr "Tab Stock" + +#. TRANSLATORS: Tractor +msgid "media-type.tractor" +msgstr "Tractor" + +#. TRANSLATORS: Transfer +msgid "media-type.transfer" +msgstr "Transfer" + +#. TRANSLATORS: Transparency +msgid "media-type.transparency" +msgstr "Transparency" + +#. TRANSLATORS: Triple Wall +msgid "media-type.triple-wall" +msgstr "Triple Wall" + +#. TRANSLATORS: Wet Film +msgid "media-type.wet-film" +msgstr "Wet Film" + +#. TRANSLATORS: Media Weight (grams per m²) +msgid "media-weight-metric" +msgstr "Media Weight (grams per m²)" + +#. TRANSLATORS: 28 x 40″ +msgid "media.asme_f_28x40in" +msgstr "28 x 40″" + +#. TRANSLATORS: A4 or US Letter +msgid "media.choice_iso_a4_210x297mm_na_letter_8.5x11in" +msgstr "A4 or US Letter" + +#. TRANSLATORS: 2a0 +msgid "media.iso_2a0_1189x1682mm" +msgstr "2a0" + +#. TRANSLATORS: A0 +msgid "media.iso_a0_841x1189mm" +msgstr "A0" + +#. TRANSLATORS: A0x3 +msgid "media.iso_a0x3_1189x2523mm" +msgstr "A0x3" + +#. TRANSLATORS: A10 +msgid "media.iso_a10_26x37mm" +msgstr "A10" + +#. TRANSLATORS: A1 +msgid "media.iso_a1_594x841mm" +msgstr "A1" + +#. TRANSLATORS: A1x3 +msgid "media.iso_a1x3_841x1783mm" +msgstr "A1x3" + +#. TRANSLATORS: A1x4 +msgid "media.iso_a1x4_841x2378mm" +msgstr "A1x4" + +#. TRANSLATORS: A2 +msgid "media.iso_a2_420x594mm" +msgstr "A2" + +#. TRANSLATORS: A2x3 +msgid "media.iso_a2x3_594x1261mm" +msgstr "A2x3" + +#. TRANSLATORS: A2x4 +msgid "media.iso_a2x4_594x1682mm" +msgstr "A2x4" + +#. TRANSLATORS: A2x5 +msgid "media.iso_a2x5_594x2102mm" +msgstr "A2x5" + +#. TRANSLATORS: A3 (Extra) +msgid "media.iso_a3-extra_322x445mm" +msgstr "A3 (Extra)" + +#. TRANSLATORS: A3 +msgid "media.iso_a3_297x420mm" +msgstr "A3" + +#. TRANSLATORS: A3x3 +msgid "media.iso_a3x3_420x891mm" +msgstr "A3x3" + +#. TRANSLATORS: A3x4 +msgid "media.iso_a3x4_420x1189mm" +msgstr "A3x4" + +#. TRANSLATORS: A3x5 +msgid "media.iso_a3x5_420x1486mm" +msgstr "A3x5" + +#. TRANSLATORS: A3x6 +msgid "media.iso_a3x6_420x1783mm" +msgstr "A3x6" + +#. TRANSLATORS: A3x7 +msgid "media.iso_a3x7_420x2080mm" +msgstr "A3x7" + +#. TRANSLATORS: A4 (Extra) +msgid "media.iso_a4-extra_235.5x322.3mm" +msgstr "A4 (Extra)" + +#. TRANSLATORS: A4 (Tab) +msgid "media.iso_a4-tab_225x297mm" +msgstr "A4 (Tab)" + +#. TRANSLATORS: A4 +msgid "media.iso_a4_210x297mm" +msgstr "A4" + +#. TRANSLATORS: A4x3 +msgid "media.iso_a4x3_297x630mm" +msgstr "A4x3" + +#. TRANSLATORS: A4x4 +msgid "media.iso_a4x4_297x841mm" +msgstr "A4x4" + +#. TRANSLATORS: A4x5 +msgid "media.iso_a4x5_297x1051mm" +msgstr "A4x5" + +#. TRANSLATORS: A4x6 +msgid "media.iso_a4x6_297x1261mm" +msgstr "A4x6" + +#. TRANSLATORS: A4x7 +msgid "media.iso_a4x7_297x1471mm" +msgstr "A4x7" + +#. TRANSLATORS: A4x8 +msgid "media.iso_a4x8_297x1682mm" +msgstr "A4x8" + +#. TRANSLATORS: A4x9 +msgid "media.iso_a4x9_297x1892mm" +msgstr "A4x9" + +#. TRANSLATORS: A5 (Extra) +msgid "media.iso_a5-extra_174x235mm" +msgstr "A5 (Extra)" + +#. TRANSLATORS: A5 +msgid "media.iso_a5_148x210mm" +msgstr "A5" + +#. TRANSLATORS: A6 +msgid "media.iso_a6_105x148mm" +msgstr "A6" + +#. TRANSLATORS: A7 +msgid "media.iso_a7_74x105mm" +msgstr "A7" + +#. TRANSLATORS: A8 +msgid "media.iso_a8_52x74mm" +msgstr "A8" + +#. TRANSLATORS: A9 +msgid "media.iso_a9_37x52mm" +msgstr "A9" + +#. TRANSLATORS: B0 +msgid "media.iso_b0_1000x1414mm" +msgstr "B0" + +#. TRANSLATORS: B10 +msgid "media.iso_b10_31x44mm" +msgstr "B10" + +#. TRANSLATORS: B1 +msgid "media.iso_b1_707x1000mm" +msgstr "B1" + +#. TRANSLATORS: B2 +msgid "media.iso_b2_500x707mm" +msgstr "B2" + +#. TRANSLATORS: B3 +msgid "media.iso_b3_353x500mm" +msgstr "B3" + +#. TRANSLATORS: B4 +msgid "media.iso_b4_250x353mm" +msgstr "B4" + +#. TRANSLATORS: B5 (Extra) +msgid "media.iso_b5-extra_201x276mm" +msgstr "B5 (Extra)" + +#. TRANSLATORS: Envelope B5 +msgid "media.iso_b5_176x250mm" +msgstr "Envelope B5" + +#. TRANSLATORS: B6 +msgid "media.iso_b6_125x176mm" +msgstr "B6" + +#. TRANSLATORS: Envelope B6/C4 +msgid "media.iso_b6c4_125x324mm" +msgstr "Envelope B6/C4" + +#. TRANSLATORS: B7 +msgid "media.iso_b7_88x125mm" +msgstr "B7" + +#. TRANSLATORS: B8 +msgid "media.iso_b8_62x88mm" +msgstr "B8" + +#. TRANSLATORS: B9 +msgid "media.iso_b9_44x62mm" +msgstr "B9" + +#. TRANSLATORS: CEnvelope 0 +msgid "media.iso_c0_917x1297mm" +msgstr "CEnvelope 0" + +#. TRANSLATORS: CEnvelope 10 +msgid "media.iso_c10_28x40mm" +msgstr "CEnvelope 10" + +#. TRANSLATORS: CEnvelope 1 +msgid "media.iso_c1_648x917mm" +msgstr "CEnvelope 1" + +#. TRANSLATORS: CEnvelope 2 +msgid "media.iso_c2_458x648mm" +msgstr "CEnvelope 2" + +#. TRANSLATORS: CEnvelope 3 +msgid "media.iso_c3_324x458mm" +msgstr "CEnvelope 3" + +#. TRANSLATORS: CEnvelope 4 +msgid "media.iso_c4_229x324mm" +msgstr "CEnvelope 4" + +#. TRANSLATORS: CEnvelope 5 +msgid "media.iso_c5_162x229mm" +msgstr "CEnvelope 5" + +#. TRANSLATORS: CEnvelope 6 +msgid "media.iso_c6_114x162mm" +msgstr "CEnvelope 6" + +#. TRANSLATORS: CEnvelope 6c5 +msgid "media.iso_c6c5_114x229mm" +msgstr "CEnvelope 6c5" + +#. TRANSLATORS: CEnvelope 7 +msgid "media.iso_c7_81x114mm" +msgstr "CEnvelope 7" + +#. TRANSLATORS: CEnvelope 7c6 +msgid "media.iso_c7c6_81x162mm" +msgstr "CEnvelope 7c6" + +#. TRANSLATORS: CEnvelope 8 +msgid "media.iso_c8_57x81mm" +msgstr "CEnvelope 8" + +#. TRANSLATORS: CEnvelope 9 +msgid "media.iso_c9_40x57mm" +msgstr "CEnvelope 9" + +#. TRANSLATORS: Envelope DL +msgid "media.iso_dl_110x220mm" +msgstr "Envelope DL" + +#. TRANSLATORS: Id-1 +msgid "media.iso_id-1_53.98x85.6mm" +msgstr "Id-1" + +#. TRANSLATORS: Id-3 +msgid "media.iso_id-3_88x125mm" +msgstr "Id-3" + +#. TRANSLATORS: ISO RA0 +msgid "media.iso_ra0_860x1220mm" +msgstr "ISO RA0" + +#. TRANSLATORS: ISO RA1 +msgid "media.iso_ra1_610x860mm" +msgstr "ISO RA1" + +#. TRANSLATORS: ISO RA2 +msgid "media.iso_ra2_430x610mm" +msgstr "ISO RA2" + +#. TRANSLATORS: ISO RA3 +msgid "media.iso_ra3_305x430mm" +msgstr "ISO RA3" + +#. TRANSLATORS: ISO RA4 +msgid "media.iso_ra4_215x305mm" +msgstr "ISO RA4" + +#. TRANSLATORS: ISO SRA0 +msgid "media.iso_sra0_900x1280mm" +msgstr "ISO SRA0" + +#. TRANSLATORS: ISO SRA1 +msgid "media.iso_sra1_640x900mm" +msgstr "ISO SRA1" + +#. TRANSLATORS: ISO SRA2 +msgid "media.iso_sra2_450x640mm" +msgstr "ISO SRA2" + +#. TRANSLATORS: ISO SRA3 +msgid "media.iso_sra3_320x450mm" +msgstr "ISO SRA3" + +#. TRANSLATORS: ISO SRA4 +msgid "media.iso_sra4_225x320mm" +msgstr "ISO SRA4" + +#. TRANSLATORS: JIS B0 +msgid "media.jis_b0_1030x1456mm" +msgstr "JIS B0" + +#. TRANSLATORS: JIS B10 +msgid "media.jis_b10_32x45mm" +msgstr "JIS B10" + +#. TRANSLATORS: JIS B1 +msgid "media.jis_b1_728x1030mm" +msgstr "JIS B1" + +#. TRANSLATORS: JIS B2 +msgid "media.jis_b2_515x728mm" +msgstr "JIS B2" + +#. TRANSLATORS: JIS B3 +msgid "media.jis_b3_364x515mm" +msgstr "JIS B3" + +#. TRANSLATORS: JIS B4 +msgid "media.jis_b4_257x364mm" +msgstr "JIS B4" + +#. TRANSLATORS: JIS B5 +msgid "media.jis_b5_182x257mm" +msgstr "JIS B5" + +#. TRANSLATORS: JIS B6 +msgid "media.jis_b6_128x182mm" +msgstr "JIS B6" + +#. TRANSLATORS: JIS B7 +msgid "media.jis_b7_91x128mm" +msgstr "JIS B7" + +#. TRANSLATORS: JIS B8 +msgid "media.jis_b8_64x91mm" +msgstr "JIS B8" + +#. TRANSLATORS: JIS B9 +msgid "media.jis_b9_45x64mm" +msgstr "JIS B9" + +#. TRANSLATORS: JIS Executive +msgid "media.jis_exec_216x330mm" +msgstr "JIS Executive" + +#. TRANSLATORS: Envelope Chou 2 +msgid "media.jpn_chou2_111.1x146mm" +msgstr "Envelope Chou 2" + +#. TRANSLATORS: Envelope Chou 3 +msgid "media.jpn_chou3_120x235mm" +msgstr "Envelope Chou 3" + +#. TRANSLATORS: Envelope Chou 40 +msgid "media.jpn_chou40_90x225mm" +msgstr "Envelope Chou 40" + +#. TRANSLATORS: Envelope Chou 4 +msgid "media.jpn_chou4_90x205mm" +msgstr "Envelope Chou 4" + +#. TRANSLATORS: Hagaki +msgid "media.jpn_hagaki_100x148mm" +msgstr "Hagaki" + +#. TRANSLATORS: Envelope Kahu +msgid "media.jpn_kahu_240x322.1mm" +msgstr "Envelope Kahu" + +#. TRANSLATORS: 270 x 382mm +msgid "media.jpn_kaku1_270x382mm" +msgstr "270 x 382mm" + +#. TRANSLATORS: Envelope Kahu 2 +msgid "media.jpn_kaku2_240x332mm" +msgstr "Envelope Kahu 2" + +#. TRANSLATORS: 216 x 277mm +msgid "media.jpn_kaku3_216x277mm" +msgstr "216 x 277mm" + +#. TRANSLATORS: 197 x 267mm +msgid "media.jpn_kaku4_197x267mm" +msgstr "197 x 267mm" + +#. TRANSLATORS: 190 x 240mm +msgid "media.jpn_kaku5_190x240mm" +msgstr "190 x 240mm" + +#. TRANSLATORS: 142 x 205mm +msgid "media.jpn_kaku7_142x205mm" +msgstr "142 x 205mm" + +#. TRANSLATORS: 119 x 197mm +msgid "media.jpn_kaku8_119x197mm" +msgstr "119 x 197mm" + +#. TRANSLATORS: Oufuku Reply Postcard +msgid "media.jpn_oufuku_148x200mm" +msgstr "Oufuku Reply Postcard" + +#. TRANSLATORS: Envelope You 4 +msgid "media.jpn_you4_105x235mm" +msgstr "Envelope You 4" + +#. TRANSLATORS: 10 x 11″ +msgid "media.na_10x11_10x11in" +msgstr "10 x 11″" + +#. TRANSLATORS: 10 x 13″ +msgid "media.na_10x13_10x13in" +msgstr "10 x 13″" + +#. TRANSLATORS: 10 x 14″ +msgid "media.na_10x14_10x14in" +msgstr "10 x 14″" + +#. TRANSLATORS: 10 x 15″ +msgid "media.na_10x15_10x15in" +msgstr "10 x 15″" + +#. TRANSLATORS: 11 x 12″ +msgid "media.na_11x12_11x12in" +msgstr "11 x 12″" + +#. TRANSLATORS: 11 x 15″ +msgid "media.na_11x15_11x15in" +msgstr "11 x 15″" + +#. TRANSLATORS: 12 x 19″ +msgid "media.na_12x19_12x19in" +msgstr "12 x 19″" + +#. TRANSLATORS: 5 x 7″ +msgid "media.na_5x7_5x7in" +msgstr "5 x 7″" + +#. TRANSLATORS: 6 x 9″ +msgid "media.na_6x9_6x9in" +msgstr "6 x 9″" + +#. TRANSLATORS: 7 x 9″ +msgid "media.na_7x9_7x9in" +msgstr "7 x 9″" + +#. TRANSLATORS: 9 x 11″ +msgid "media.na_9x11_9x11in" +msgstr "9 x 11″" + +#. TRANSLATORS: Envelope A2 +msgid "media.na_a2_4.375x5.75in" +msgstr "Envelope A2" + +#. TRANSLATORS: 9 x 12″ +msgid "media.na_arch-a_9x12in" +msgstr "9 x 12″" + +#. TRANSLATORS: 12 x 18″ +msgid "media.na_arch-b_12x18in" +msgstr "12 x 18″" + +#. TRANSLATORS: 18 x 24″ +msgid "media.na_arch-c_18x24in" +msgstr "18 x 24″" + +#. TRANSLATORS: 24 x 36″ +msgid "media.na_arch-d_24x36in" +msgstr "24 x 36″" + +#. TRANSLATORS: 26 x 38″ +msgid "media.na_arch-e2_26x38in" +msgstr "26 x 38″" + +#. TRANSLATORS: 27 x 39″ +msgid "media.na_arch-e3_27x39in" +msgstr "27 x 39″" + +#. TRANSLATORS: 36 x 48″ +msgid "media.na_arch-e_36x48in" +msgstr "36 x 48″" + +#. TRANSLATORS: 12 x 19.17″ +msgid "media.na_b-plus_12x19.17in" +msgstr "12 x 19.17″" + +#. TRANSLATORS: Envelope C5 +msgid "media.na_c5_6.5x9.5in" +msgstr "Envelope C5" + +#. TRANSLATORS: 17 x 22″ +msgid "media.na_c_17x22in" +msgstr "17 x 22″" + +#. TRANSLATORS: 22 x 34″ +msgid "media.na_d_22x34in" +msgstr "22 x 34″" + +#. TRANSLATORS: 34 x 44″ +msgid "media.na_e_34x44in" +msgstr "34 x 44″" + +#. TRANSLATORS: 11 x 14″ +msgid "media.na_edp_11x14in" +msgstr "11 x 14″" + +#. TRANSLATORS: 12 x 14″ +msgid "media.na_eur-edp_12x14in" +msgstr "12 x 14″" + +#. TRANSLATORS: Executive +msgid "media.na_executive_7.25x10.5in" +msgstr "Executive" + +#. TRANSLATORS: 44 x 68″ +msgid "media.na_f_44x68in" +msgstr "44 x 68″" + +#. TRANSLATORS: European Fanfold +msgid "media.na_fanfold-eur_8.5x12in" +msgstr "European Fanfold" + +#. TRANSLATORS: US Fanfold +msgid "media.na_fanfold-us_11x14.875in" +msgstr "US Fanfold" + +#. TRANSLATORS: Foolscap +msgid "media.na_foolscap_8.5x13in" +msgstr "Foolscap" + +#. TRANSLATORS: 8 x 13″ +msgid "media.na_govt-legal_8x13in" +msgstr "8 x 13″" + +#. TRANSLATORS: 8 x 10″ +msgid "media.na_govt-letter_8x10in" +msgstr "8 x 10″" + +#. TRANSLATORS: 3 x 5″ +msgid "media.na_index-3x5_3x5in" +msgstr "3 x 5″" + +#. TRANSLATORS: 6 x 8″ +msgid "media.na_index-4x6-ext_6x8in" +msgstr "6 x 8″" + +#. TRANSLATORS: 4 x 6″ +msgid "media.na_index-4x6_4x6in" +msgstr "4 x 6″" + +#. TRANSLATORS: 5 x 8″ +msgid "media.na_index-5x8_5x8in" +msgstr "5 x 8″" + +#. TRANSLATORS: Statement +msgid "media.na_invoice_5.5x8.5in" +msgstr "Statement" + +#. TRANSLATORS: 11 x 17″ +msgid "media.na_ledger_11x17in" +msgstr "11 x 17″" + +#. TRANSLATORS: US Legal (Extra) +msgid "media.na_legal-extra_9.5x15in" +msgstr "US Legal (Extra)" + +#. TRANSLATORS: US Legal +msgid "media.na_legal_8.5x14in" +msgstr "US Legal" + +#. TRANSLATORS: US Letter (Extra) +msgid "media.na_letter-extra_9.5x12in" +msgstr "US Letter (Extra)" + +#. TRANSLATORS: US Letter (Plus) +msgid "media.na_letter-plus_8.5x12.69in" +msgstr "US Letter (Plus)" + +#. TRANSLATORS: US Letter +msgid "media.na_letter_8.5x11in" +msgstr "US Letter" + +#. TRANSLATORS: Envelope Monarch +msgid "media.na_monarch_3.875x7.5in" +msgstr "Envelope Monarch" + +#. TRANSLATORS: Envelope #10 +msgid "media.na_number-10_4.125x9.5in" +msgstr "Envelope #10" + +#. TRANSLATORS: Envelope #11 +msgid "media.na_number-11_4.5x10.375in" +msgstr "Envelope #11" + +#. TRANSLATORS: Envelope #12 +msgid "media.na_number-12_4.75x11in" +msgstr "Envelope #12" + +#. TRANSLATORS: Envelope #14 +msgid "media.na_number-14_5x11.5in" +msgstr "Envelope #14" + +#. TRANSLATORS: Envelope #9 +msgid "media.na_number-9_3.875x8.875in" +msgstr "Envelope #9" + +#. TRANSLATORS: 8.5 x 13.4″ +msgid "media.na_oficio_8.5x13.4in" +msgstr "8.5 x 13.4″" + +#. TRANSLATORS: Envelope Personal +msgid "media.na_personal_3.625x6.5in" +msgstr "Envelope Personal" + +#. TRANSLATORS: Quarto +msgid "media.na_quarto_8.5x10.83in" +msgstr "Quarto" + +#. TRANSLATORS: 8.94 x 14″ +msgid "media.na_super-a_8.94x14in" +msgstr "8.94 x 14″" + +#. TRANSLATORS: 13 x 19″ +msgid "media.na_super-b_13x19in" +msgstr "13 x 19″" + +#. TRANSLATORS: 30 x 42″ +msgid "media.na_wide-format_30x42in" +msgstr "30 x 42″" + +#. TRANSLATORS: 12 x 16″ +msgid "media.oe_12x16_12x16in" +msgstr "12 x 16″" + +#. TRANSLATORS: 14 x 17″ +msgid "media.oe_14x17_14x17in" +msgstr "14 x 17″" + +#. TRANSLATORS: 18 x 22″ +msgid "media.oe_18x22_18x22in" +msgstr "18 x 22″" + +#. TRANSLATORS: 17 x 24″ +msgid "media.oe_a2plus_17x24in" +msgstr "17 x 24″" + +#. TRANSLATORS: 2 x 3.5″ +msgid "media.oe_business-card_2x3.5in" +msgstr "2 x 3.5″" + +#. TRANSLATORS: 10 x 12″ +msgid "media.oe_photo-10r_10x12in" +msgstr "10 x 12″" + +#. TRANSLATORS: 20 x 24″ +msgid "media.oe_photo-20r_20x24in" +msgstr "20 x 24″" + +#. TRANSLATORS: 3.5 x 5″ +msgid "media.oe_photo-l_3.5x5in" +msgstr "3.5 x 5″" + +#. TRANSLATORS: 10 x 15″ +msgid "media.oe_photo-s10r_10x15in" +msgstr "10 x 15″" + +#. TRANSLATORS: 4 x 4″ +msgid "media.oe_square-photo_4x4in" +msgstr "4 x 4″" + +#. TRANSLATORS: 5 x 5″ +msgid "media.oe_square-photo_5x5in" +msgstr "5 x 5″" + +#. TRANSLATORS: 184 x 260mm +msgid "media.om_16k_184x260mm" +msgstr "184 x 260mm" + +#. TRANSLATORS: 195 x 270mm +msgid "media.om_16k_195x270mm" +msgstr "195 x 270mm" + +#. TRANSLATORS: 55 x 85mm +msgid "media.om_business-card_55x85mm" +msgstr "55 x 85mm" + +#. TRANSLATORS: 55 x 91mm +msgid "media.om_business-card_55x91mm" +msgstr "55 x 91mm" + +#. TRANSLATORS: 54 x 86mm +msgid "media.om_card_54x86mm" +msgstr "54 x 86mm" + +#. TRANSLATORS: 275 x 395mm +msgid "media.om_dai-pa-kai_275x395mm" +msgstr "275 x 395mm" + +#. TRANSLATORS: 89 x 119mm +msgid "media.om_dsc-photo_89x119mm" +msgstr "89 x 119mm" + +#. TRANSLATORS: Folio +msgid "media.om_folio-sp_215x315mm" +msgstr "Folio" + +#. TRANSLATORS: Folio (Special) +msgid "media.om_folio_210x330mm" +msgstr "Folio (Special)" + +#. TRANSLATORS: Envelope Invitation +msgid "media.om_invite_220x220mm" +msgstr "Envelope Invitation" + +#. TRANSLATORS: Envelope Italian +msgid "media.om_italian_110x230mm" +msgstr "Envelope Italian" + +#. TRANSLATORS: 198 x 275mm +msgid "media.om_juuro-ku-kai_198x275mm" +msgstr "198 x 275mm" + +#. TRANSLATORS: 200 x 300 +msgid "media.om_large-photo_200x300" +msgstr "200 x 300" + +#. TRANSLATORS: 130 x 180mm +msgid "media.om_medium-photo_130x180mm" +msgstr "130 x 180mm" + +#. TRANSLATORS: 267 x 389mm +msgid "media.om_pa-kai_267x389mm" +msgstr "267 x 389mm" + +#. TRANSLATORS: Envelope Postfix +msgid "media.om_postfix_114x229mm" +msgstr "Envelope Postfix" + +#. TRANSLATORS: 100 x 150mm +msgid "media.om_small-photo_100x150mm" +msgstr "100 x 150mm" + +#. TRANSLATORS: 89 x 89mm +msgid "media.om_square-photo_89x89mm" +msgstr "89 x 89mm" + +#. TRANSLATORS: 100 x 200mm +msgid "media.om_wide-photo_100x200mm" +msgstr "100 x 200mm" + +#. TRANSLATORS: Envelope Chinese #10 +msgid "media.prc_10_324x458mm" +msgstr "Envelope Chinese #10" + +#. TRANSLATORS: Chinese 16k +msgid "media.prc_16k_146x215mm" +msgstr "Chinese 16k" + +#. TRANSLATORS: Envelope Chinese #1 +msgid "media.prc_1_102x165mm" +msgstr "Envelope Chinese #1" + +#. TRANSLATORS: Envelope Chinese #2 +msgid "media.prc_2_102x176mm" +msgstr "Envelope Chinese #2" + +#. TRANSLATORS: Chinese 32k +msgid "media.prc_32k_97x151mm" +msgstr "Chinese 32k" + +#. TRANSLATORS: Envelope Chinese #3 +msgid "media.prc_3_125x176mm" +msgstr "Envelope Chinese #3" + +#. TRANSLATORS: Envelope Chinese #4 +msgid "media.prc_4_110x208mm" +msgstr "Envelope Chinese #4" + +#. TRANSLATORS: Envelope Chinese #5 +msgid "media.prc_5_110x220mm" +msgstr "Envelope Chinese #5" + +#. TRANSLATORS: Envelope Chinese #6 +msgid "media.prc_6_120x320mm" +msgstr "Envelope Chinese #6" + +#. TRANSLATORS: Envelope Chinese #7 +msgid "media.prc_7_160x230mm" +msgstr "Envelope Chinese #7" + +#. TRANSLATORS: Envelope Chinese #8 +msgid "media.prc_8_120x309mm" +msgstr "Envelope Chinese #8" + +#. TRANSLATORS: ROC 16k +msgid "media.roc_16k_7.75x10.75in" +msgstr "ROC 16k" + +#. TRANSLATORS: ROC 8k +msgid "media.roc_8k_10.75x15.5in" +msgstr "ROC 8k" + +#, c-format +msgid "members of class %s:" +msgstr "members of class %s:" + +#. TRANSLATORS: Multiple Document Handling +msgid "multiple-document-handling" +msgstr "Multiple Document Handling" + +#. TRANSLATORS: Separate Documents Collated Copies +msgid "multiple-document-handling.separate-documents-collated-copies" +msgstr "Separate Documents Collated Copies" + +#. TRANSLATORS: Separate Documents Uncollated Copies +msgid "multiple-document-handling.separate-documents-uncollated-copies" +msgstr "Separate Documents Uncollated Copies" + +#. TRANSLATORS: Single Document +msgid "multiple-document-handling.single-document" +msgstr "Single Document" + +#. TRANSLATORS: Single Document New Sheet +msgid "multiple-document-handling.single-document-new-sheet" +msgstr "Single Document New Sheet" + +#. TRANSLATORS: Multiple Object Handling +msgid "multiple-object-handling" +msgstr "Multiple Object Handling" + +#. TRANSLATORS: Multiple Object Handling Actual +msgid "multiple-object-handling-actual" +msgstr "Multiple Object Handling Actual" + +#. TRANSLATORS: Automatic +msgid "multiple-object-handling.auto" +msgstr "Automatic" + +#. TRANSLATORS: Best Fit +msgid "multiple-object-handling.best-fit" +msgstr "Best Fit" + +#. TRANSLATORS: Best Quality +msgid "multiple-object-handling.best-quality" +msgstr "Best Quality" + +#. TRANSLATORS: Best Speed +msgid "multiple-object-handling.best-speed" +msgstr "Best Speed" + +#. TRANSLATORS: One At A Time +msgid "multiple-object-handling.one-at-a-time" +msgstr "One At A Time" + +#. TRANSLATORS: On Timeout +msgid "multiple-operation-time-out-action" +msgstr "On Timeout" + +#. TRANSLATORS: Abort Job +msgid "multiple-operation-time-out-action.abort-job" +msgstr "Abort Job" + +#. TRANSLATORS: Hold Job +msgid "multiple-operation-time-out-action.hold-job" +msgstr "Hold Job" + +#. TRANSLATORS: Process Job +msgid "multiple-operation-time-out-action.process-job" +msgstr "Process Job" + +msgid "no entries" +msgstr "no entries" + +msgid "no system default destination" +msgstr "no system default destination" + +#. TRANSLATORS: Noise Removal +msgid "noise-removal" +msgstr "Noise Removal" + +#. TRANSLATORS: Notify Attributes +msgid "notify-attributes" +msgstr "Notify Attributes" + +#. TRANSLATORS: Notify Charset +msgid "notify-charset" +msgstr "Notify Charset" + +#. TRANSLATORS: Notify Events +msgid "notify-events" +msgstr "Notify Events" + +msgid "notify-events not specified." +msgstr "notify-events not specified." + +#. TRANSLATORS: Document Completed +msgid "notify-events.document-completed" +msgstr "Document Completed" + +#. TRANSLATORS: Document Config Changed +msgid "notify-events.document-config-changed" +msgstr "Document Config Changed" + +#. TRANSLATORS: Document Created +msgid "notify-events.document-created" +msgstr "Document Created" + +#. TRANSLATORS: Document Fetchable +msgid "notify-events.document-fetchable" +msgstr "Document Fetchable" + +#. TRANSLATORS: Document State Changed +msgid "notify-events.document-state-changed" +msgstr "Document State Changed" + +#. TRANSLATORS: Document Stopped +msgid "notify-events.document-stopped" +msgstr "Document Stopped" + +#. TRANSLATORS: Job Completed +msgid "notify-events.job-completed" +msgstr "Job Completed" + +#. TRANSLATORS: Job Config Changed +msgid "notify-events.job-config-changed" +msgstr "Job Config Changed" + +#. TRANSLATORS: Job Created +msgid "notify-events.job-created" +msgstr "Job Created" + +#. TRANSLATORS: Job Fetchable +msgid "notify-events.job-fetchable" +msgstr "Job Fetchable" + +#. TRANSLATORS: Job Progress +msgid "notify-events.job-progress" +msgstr "Job Progress" + +#. TRANSLATORS: Job State Changed +msgid "notify-events.job-state-changed" +msgstr "Job State Changed" + +#. TRANSLATORS: Job Stopped +msgid "notify-events.job-stopped" +msgstr "Job Stopped" + +#. TRANSLATORS: None +msgid "notify-events.none" +msgstr "None" + +#. TRANSLATORS: Printer Config Changed +msgid "notify-events.printer-config-changed" +msgstr "Printer Config Changed" + +#. TRANSLATORS: Printer Finishings Changed +msgid "notify-events.printer-finishings-changed" +msgstr "Printer Finishings Changed" + +#. TRANSLATORS: Printer Media Changed +msgid "notify-events.printer-media-changed" +msgstr "Printer Media Changed" + +#. TRANSLATORS: Printer Queue Order Changed +msgid "notify-events.printer-queue-order-changed" +msgstr "Printer Queue Order Changed" + +#. TRANSLATORS: Printer Restarted +msgid "notify-events.printer-restarted" +msgstr "Printer Restarted" + +#. TRANSLATORS: Printer Shutdown +msgid "notify-events.printer-shutdown" +msgstr "Printer Shutdown" + +#. TRANSLATORS: Printer State Changed +msgid "notify-events.printer-state-changed" +msgstr "Printer State Changed" + +#. TRANSLATORS: Printer Stopped +msgid "notify-events.printer-stopped" +msgstr "Printer Stopped" + +#. TRANSLATORS: Notify Get Interval +msgid "notify-get-interval" +msgstr "Notify Get Interval" + +#. TRANSLATORS: Notify Lease Duration +msgid "notify-lease-duration" +msgstr "Notify Lease Duration" + +#. TRANSLATORS: Notify Natural Language +msgid "notify-natural-language" +msgstr "Notify Natural Language" + +#. TRANSLATORS: Notify Pull Method +msgid "notify-pull-method" +msgstr "Notify Pull Method" + +#. TRANSLATORS: Notify Recipient +msgid "notify-recipient-uri" +msgstr "Notify Recipient" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" is already used." +msgstr "notify-recipient-uri URI \"%s\" is already used." + +#, c-format +msgid "notify-recipient-uri URI \"%s\" uses unknown scheme." +msgstr "notify-recipient-uri URI \"%s\" uses unknown scheme." + +#. TRANSLATORS: Notify Sequence Numbers +msgid "notify-sequence-numbers" +msgstr "Notify Sequence Numbers" + +#. TRANSLATORS: Notify Subscription Ids +msgid "notify-subscription-ids" +msgstr "Notify Subscription Ids" + +#. TRANSLATORS: Notify Time Interval +msgid "notify-time-interval" +msgstr "Notify Time Interval" + +#. TRANSLATORS: Notify User Data +msgid "notify-user-data" +msgstr "Notify User Data" + +#. TRANSLATORS: Notify Wait +msgid "notify-wait" +msgstr "Notify Wait" + +#. TRANSLATORS: Number Of Retries +msgid "number-of-retries" +msgstr "Number Of Retries" + +#. TRANSLATORS: Number-Up +msgid "number-up" +msgstr "Number-Up" + +#. TRANSLATORS: Object Offset +msgid "object-offset" +msgstr "Object Offset" + +#. TRANSLATORS: Object Size +msgid "object-size" +msgstr "Object Size" + +#. TRANSLATORS: Organization Name +msgid "organization-name" +msgstr "Organization Name" + +#. TRANSLATORS: Orientation +msgid "orientation-requested" +msgstr "Orientation" + +#. TRANSLATORS: Portrait +msgid "orientation-requested.3" +msgstr "Portrait" + +#. TRANSLATORS: Landscape +msgid "orientation-requested.4" +msgstr "Landscape" + +#. TRANSLATORS: Reverse Landscape +msgid "orientation-requested.5" +msgstr "Reverse Landscape" + +#. TRANSLATORS: Reverse Portrait +msgid "orientation-requested.6" +msgstr "Reverse Portrait" + +#. TRANSLATORS: None +msgid "orientation-requested.7" +msgstr "None" + +#. TRANSLATORS: Scanned Image Options +msgid "output-attributes" +msgstr "Scanned Image Options" + +#. TRANSLATORS: Output Tray +msgid "output-bin" +msgstr "Output Tray" + +#. TRANSLATORS: Automatic +msgid "output-bin.auto" +msgstr "Automatic" + +#. TRANSLATORS: Bottom +msgid "output-bin.bottom" +msgstr "Bottom" + +#. TRANSLATORS: Center +msgid "output-bin.center" +msgstr "Center" + +#. TRANSLATORS: Face Down +msgid "output-bin.face-down" +msgstr "Face Down" + +#. TRANSLATORS: Face Up +msgid "output-bin.face-up" +msgstr "Face Up" + +#. TRANSLATORS: Large Capacity +msgid "output-bin.large-capacity" +msgstr "Large Capacity" + +#. TRANSLATORS: Left +msgid "output-bin.left" +msgstr "Left" + +#. TRANSLATORS: Mailbox 1 +msgid "output-bin.mailbox-1" +msgstr "Mailbox 1" + +#. TRANSLATORS: Mailbox 10 +msgid "output-bin.mailbox-10" +msgstr "Mailbox 10" + +#. TRANSLATORS: Mailbox 2 +msgid "output-bin.mailbox-2" +msgstr "Mailbox 2" + +#. TRANSLATORS: Mailbox 3 +msgid "output-bin.mailbox-3" +msgstr "Mailbox 3" + +#. TRANSLATORS: Mailbox 4 +msgid "output-bin.mailbox-4" +msgstr "Mailbox 4" + +#. TRANSLATORS: Mailbox 5 +msgid "output-bin.mailbox-5" +msgstr "Mailbox 5" + +#. TRANSLATORS: Mailbox 6 +msgid "output-bin.mailbox-6" +msgstr "Mailbox 6" + +#. TRANSLATORS: Mailbox 7 +msgid "output-bin.mailbox-7" +msgstr "Mailbox 7" + +#. TRANSLATORS: Mailbox 8 +msgid "output-bin.mailbox-8" +msgstr "Mailbox 8" + +#. TRANSLATORS: Mailbox 9 +msgid "output-bin.mailbox-9" +msgstr "Mailbox 9" + +#. TRANSLATORS: Middle +msgid "output-bin.middle" +msgstr "Middle" + +#. TRANSLATORS: My Mailbox +msgid "output-bin.my-mailbox" +msgstr "My Mailbox" + +#. TRANSLATORS: Rear +msgid "output-bin.rear" +msgstr "Rear" + +#. TRANSLATORS: Right +msgid "output-bin.right" +msgstr "Right" + +#. TRANSLATORS: Side +msgid "output-bin.side" +msgstr "Side" + +#. TRANSLATORS: Stacker 1 +msgid "output-bin.stacker-1" +msgstr "Stacker 1" + +#. TRANSLATORS: Stacker 10 +msgid "output-bin.stacker-10" +msgstr "Stacker 10" + +#. TRANSLATORS: Stacker 2 +msgid "output-bin.stacker-2" +msgstr "Stacker 2" + +#. TRANSLATORS: Stacker 3 +msgid "output-bin.stacker-3" +msgstr "Stacker 3" + +#. TRANSLATORS: Stacker 4 +msgid "output-bin.stacker-4" +msgstr "Stacker 4" + +#. TRANSLATORS: Stacker 5 +msgid "output-bin.stacker-5" +msgstr "Stacker 5" + +#. TRANSLATORS: Stacker 6 +msgid "output-bin.stacker-6" +msgstr "Stacker 6" + +#. TRANSLATORS: Stacker 7 +msgid "output-bin.stacker-7" +msgstr "Stacker 7" + +#. TRANSLATORS: Stacker 8 +msgid "output-bin.stacker-8" +msgstr "Stacker 8" + +#. TRANSLATORS: Stacker 9 +msgid "output-bin.stacker-9" +msgstr "Stacker 9" + +#. TRANSLATORS: Top +msgid "output-bin.top" +msgstr "Top" + +#. TRANSLATORS: Tray 1 +msgid "output-bin.tray-1" +msgstr "Tray 1" + +#. TRANSLATORS: Tray 10 +msgid "output-bin.tray-10" +msgstr "Tray 10" + +#. TRANSLATORS: Tray 2 +msgid "output-bin.tray-2" +msgstr "Tray 2" + +#. TRANSLATORS: Tray 3 +msgid "output-bin.tray-3" +msgstr "Tray 3" + +#. TRANSLATORS: Tray 4 +msgid "output-bin.tray-4" +msgstr "Tray 4" + +#. TRANSLATORS: Tray 5 +msgid "output-bin.tray-5" +msgstr "Tray 5" + +#. TRANSLATORS: Tray 6 +msgid "output-bin.tray-6" +msgstr "Tray 6" + +#. TRANSLATORS: Tray 7 +msgid "output-bin.tray-7" +msgstr "Tray 7" + +#. TRANSLATORS: Tray 8 +msgid "output-bin.tray-8" +msgstr "Tray 8" + +#. TRANSLATORS: Tray 9 +msgid "output-bin.tray-9" +msgstr "Tray 9" + +#. TRANSLATORS: Scanned Image Quality +msgid "output-compression-quality-factor" +msgstr "Scanned Image Quality" + +#. TRANSLATORS: Page Delivery +msgid "page-delivery" +msgstr "Page Delivery" + +#. TRANSLATORS: Reverse Order Face-down +msgid "page-delivery.reverse-order-face-down" +msgstr "Reverse Order Face-down" + +#. TRANSLATORS: Reverse Order Face-up +msgid "page-delivery.reverse-order-face-up" +msgstr "Reverse Order Face-up" + +#. TRANSLATORS: Same Order Face-down +msgid "page-delivery.same-order-face-down" +msgstr "Same Order Face-down" + +#. TRANSLATORS: Same Order Face-up +msgid "page-delivery.same-order-face-up" +msgstr "Same Order Face-up" + +#. TRANSLATORS: System Specified +msgid "page-delivery.system-specified" +msgstr "System Specified" + +#. TRANSLATORS: Page Order Received +msgid "page-order-received" +msgstr "Page Order Received" + +#. TRANSLATORS: 1 To N +msgid "page-order-received.1-to-n-order" +msgstr "1 To N" + +#. TRANSLATORS: N To 1 +msgid "page-order-received.n-to-1-order" +msgstr "N To 1" + +#. TRANSLATORS: Page Ranges +msgid "page-ranges" +msgstr "Page Ranges" + +#. TRANSLATORS: Pages +msgid "pages" +msgstr "Pages" + +#. TRANSLATORS: Pages Per Subset +msgid "pages-per-subset" +msgstr "Pages Per Subset" + +#. TRANSLATORS: Pclm Raster Back Side +msgid "pclm-raster-back-side" +msgstr "Pclm Raster Back Side" + +#. TRANSLATORS: Flipped +msgid "pclm-raster-back-side.flipped" +msgstr "Flipped" + +#. TRANSLATORS: Normal +msgid "pclm-raster-back-side.normal" +msgstr "Normal" + +#. TRANSLATORS: Rotated +msgid "pclm-raster-back-side.rotated" +msgstr "Rotated" + +#. TRANSLATORS: Pclm Source Resolution +msgid "pclm-source-resolution" +msgstr "Pclm Source Resolution" + +msgid "pending" +msgstr "pending" + +#. TRANSLATORS: Platform Shape +msgid "platform-shape" +msgstr "Platform Shape" + +#. TRANSLATORS: Round +msgid "platform-shape.ellipse" +msgstr "Round" + +#. TRANSLATORS: Rectangle +msgid "platform-shape.rectangle" +msgstr "Rectangle" + +#. TRANSLATORS: Platform Temperature +msgid "platform-temperature" +msgstr "Platform Temperature" + +#. TRANSLATORS: Post-dial String +msgid "post-dial-string" +msgstr "Post-dial String" + +#, c-format +msgid "ppdc: Adding include directory \"%s\"." +msgstr "ppdc: Adding include directory \"%s\"." + +#, c-format +msgid "ppdc: Adding/updating UI text from %s." +msgstr "ppdc: Adding/updating UI text from %s." + +#, c-format +msgid "ppdc: Bad boolean value (%s) on line %d of %s." +msgstr "ppdc: Bad boolean value (%s) on line %d of %s." + +#, c-format +msgid "ppdc: Bad font attribute: %s" +msgstr "ppdc: Bad font attribute: %s" + +#, c-format +msgid "ppdc: Bad resolution name \"%s\" on line %d of %s." +msgstr "ppdc: Bad resolution name \"%s\" on line %d of %s." + +#, c-format +msgid "ppdc: Bad status keyword %s on line %d of %s." +msgstr "ppdc: Bad status keyword %s on line %d of %s." + +#, c-format +msgid "ppdc: Bad variable substitution ($%c) on line %d of %s." +msgstr "ppdc: Bad variable substitution ($%c) on line %d of %s." + +#, c-format +msgid "ppdc: Choice found on line %d of %s with no Option." +msgstr "ppdc: Choice found on line %d of %s with no Option." + +#, c-format +msgid "ppdc: Duplicate #po for locale %s on line %d of %s." +msgstr "ppdc: Duplicate #po for locale %s on line %d of %s." + +#, c-format +msgid "ppdc: Expected a filter definition on line %d of %s." +msgstr "ppdc: Expected a filter definition on line %d of %s." + +#, c-format +msgid "ppdc: Expected a program name on line %d of %s." +msgstr "ppdc: Expected a program name on line %d of %s." + +#, c-format +msgid "ppdc: Expected boolean value on line %d of %s." +msgstr "ppdc: Expected boolean value on line %d of %s." + +#, c-format +msgid "ppdc: Expected charset after Font on line %d of %s." +msgstr "ppdc: Expected charset after Font on line %d of %s." + +#, c-format +msgid "ppdc: Expected choice code on line %d of %s." +msgstr "ppdc: Expected choice code on line %d of %s." + +#, c-format +msgid "ppdc: Expected choice name/text on line %d of %s." +msgstr "ppdc: Expected choice name/text on line %d of %s." + +#, c-format +msgid "ppdc: Expected color order for ColorModel on line %d of %s." +msgstr "ppdc: Expected color order for ColorModel on line %d of %s." + +#, c-format +msgid "ppdc: Expected colorspace for ColorModel on line %d of %s." +msgstr "ppdc: Expected colorspace for ColorModel on line %d of %s." + +#, c-format +msgid "ppdc: Expected compression for ColorModel on line %d of %s." +msgstr "ppdc: Expected compression for ColorModel on line %d of %s." + +#, c-format +msgid "ppdc: Expected constraints string for UIConstraints on line %d of %s." +msgstr "ppdc: Expected constraints string for UIConstraints on line %d of %s." + +#, c-format +msgid "" +"ppdc: Expected driver type keyword following DriverType on line %d of %s." +msgstr "" +"ppdc: Expected driver type keyword following DriverType on line %d of %s." + +#, c-format +msgid "ppdc: Expected duplex type after Duplex on line %d of %s." +msgstr "ppdc: Expected duplex type after Duplex on line %d of %s." + +#, c-format +msgid "ppdc: Expected encoding after Font on line %d of %s." +msgstr "ppdc: Expected encoding after Font on line %d of %s." + +#, c-format +msgid "ppdc: Expected filename after #po %s on line %d of %s." +msgstr "ppdc: Expected filename after #po %s on line %d of %s." + +#, c-format +msgid "ppdc: Expected group name/text on line %d of %s." +msgstr "ppdc: Expected group name/text on line %d of %s." + +#, c-format +msgid "ppdc: Expected include filename on line %d of %s." +msgstr "ppdc: Expected include filename on line %d of %s." + +#, c-format +msgid "ppdc: Expected integer on line %d of %s." +msgstr "ppdc: Expected integer on line %d of %s." + +#, c-format +msgid "ppdc: Expected locale after #po on line %d of %s." +msgstr "ppdc: Expected locale after #po on line %d of %s." + +#, c-format +msgid "ppdc: Expected name after %s on line %d of %s." +msgstr "ppdc: Expected name after %s on line %d of %s." + +#, c-format +msgid "ppdc: Expected name after FileName on line %d of %s." +msgstr "ppdc: Expected name after FileName on line %d of %s." + +#, c-format +msgid "ppdc: Expected name after Font on line %d of %s." +msgstr "ppdc: Expected name after Font on line %d of %s." + +#, c-format +msgid "ppdc: Expected name after Manufacturer on line %d of %s." +msgstr "ppdc: Expected name after Manufacturer on line %d of %s." + +#, c-format +msgid "ppdc: Expected name after MediaSize on line %d of %s." +msgstr "ppdc: Expected name after MediaSize on line %d of %s." + +#, c-format +msgid "ppdc: Expected name after ModelName on line %d of %s." +msgstr "ppdc: Expected name after ModelName on line %d of %s." + +#, c-format +msgid "ppdc: Expected name after PCFileName on line %d of %s." +msgstr "ppdc: Expected name after PCFileName on line %d of %s." + +#, c-format +msgid "ppdc: Expected name/text after %s on line %d of %s." +msgstr "ppdc: Expected name/text after %s on line %d of %s." + +#, c-format +msgid "ppdc: Expected name/text after Installable on line %d of %s." +msgstr "ppdc: Expected name/text after Installable on line %d of %s." + +#, c-format +msgid "ppdc: Expected name/text after Resolution on line %d of %s." +msgstr "ppdc: Expected name/text after Resolution on line %d of %s." + +#, c-format +msgid "ppdc: Expected name/text combination for ColorModel on line %d of %s." +msgstr "ppdc: Expected name/text combination for ColorModel on line %d of %s." + +#, c-format +msgid "ppdc: Expected option name/text on line %d of %s." +msgstr "ppdc: Expected option name/text on line %d of %s." + +#, c-format +msgid "ppdc: Expected option section on line %d of %s." +msgstr "ppdc: Expected option section on line %d of %s." + +#, c-format +msgid "ppdc: Expected option type on line %d of %s." +msgstr "ppdc: Expected option type on line %d of %s." + +#, c-format +msgid "ppdc: Expected override field after Resolution on line %d of %s." +msgstr "ppdc: Expected override field after Resolution on line %d of %s." + +#, c-format +msgid "ppdc: Expected quoted string on line %d of %s." +msgstr "ppdc: Expected quoted string on line %d of %s." + +#, c-format +msgid "ppdc: Expected real number on line %d of %s." +msgstr "ppdc: Expected real number on line %d of %s." + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." +msgstr "" +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d " +"of %s." +msgstr "" +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d " +"of %s." + +#, c-format +msgid "ppdc: Expected selector after %s on line %d of %s." +msgstr "ppdc: Expected selector after %s on line %d of %s." + +#, c-format +msgid "ppdc: Expected status after Font on line %d of %s." +msgstr "ppdc: Expected status after Font on line %d of %s." + +#, c-format +msgid "ppdc: Expected string after Copyright on line %d of %s." +msgstr "ppdc: Expected string after Copyright on line %d of %s." + +#, c-format +msgid "ppdc: Expected string after Version on line %d of %s." +msgstr "ppdc: Expected string after Version on line %d of %s." + +#, c-format +msgid "ppdc: Expected two option names on line %d of %s." +msgstr "ppdc: Expected two option names on line %d of %s." + +#, c-format +msgid "ppdc: Expected value after %s on line %d of %s." +msgstr "ppdc: Expected value after %s on line %d of %s." + +#, c-format +msgid "ppdc: Expected version after Font on line %d of %s." +msgstr "ppdc: Expected version after Font on line %d of %s." + +#, c-format +msgid "ppdc: Invalid #include/#po filename \"%s\"." +msgstr "ppdc: Invalid #include/#po filename \"%s\"." + +#, c-format +msgid "ppdc: Invalid cost for filter on line %d of %s." +msgstr "ppdc: Invalid cost for filter on line %d of %s." + +#, c-format +msgid "ppdc: Invalid empty MIME type for filter on line %d of %s." +msgstr "ppdc: Invalid empty MIME type for filter on line %d of %s." + +#, c-format +msgid "ppdc: Invalid empty program name for filter on line %d of %s." +msgstr "ppdc: Invalid empty program name for filter on line %d of %s." + +#, c-format +msgid "ppdc: Invalid option section \"%s\" on line %d of %s." +msgstr "ppdc: Invalid option section \"%s\" on line %d of %s." + +#, c-format +msgid "ppdc: Invalid option type \"%s\" on line %d of %s." +msgstr "ppdc: Invalid option type \"%s\" on line %d of %s." + +#, c-format +msgid "ppdc: Loading driver information file \"%s\"." +msgstr "ppdc: Loading driver information file \"%s\"." + +#, c-format +msgid "ppdc: Loading messages for locale \"%s\"." +msgstr "ppdc: Loading messages for locale \"%s\"." + +#, c-format +msgid "ppdc: Loading messages from \"%s\"." +msgstr "ppdc: Loading messages from \"%s\"." + +#, c-format +msgid "ppdc: Missing #endif at end of \"%s\"." +msgstr "ppdc: Missing #endif at end of \"%s\"." + +#, c-format +msgid "ppdc: Missing #if on line %d of %s." +msgstr "ppdc: Missing #if on line %d of %s." + +#, c-format +msgid "" +"ppdc: Need a msgid line before any translation strings on line %d of %s." +msgstr "" +"ppdc: Need a msgid line before any translation strings on line %d of %s." + +#, c-format +msgid "ppdc: No message catalog provided for locale %s." +msgstr "ppdc: No message catalog provided for locale %s." + +#, c-format +msgid "ppdc: Option %s defined in two different groups on line %d of %s." +msgstr "ppdc: Option %s defined in two different groups on line %d of %s." + +#, c-format +msgid "ppdc: Option %s redefined with a different type on line %d of %s." +msgstr "ppdc: Option %s redefined with a different type on line %d of %s." + +#, c-format +msgid "ppdc: Option constraint must *name on line %d of %s." +msgstr "ppdc: Option constraint must *name on line %d of %s." + +#, c-format +msgid "ppdc: Too many nested #if's on line %d of %s." +msgstr "ppdc: Too many nested #if's on line %d of %s." + +#, c-format +msgid "ppdc: Unable to create PPD file \"%s\" - %s." +msgstr "ppdc: Unable to create PPD file \"%s\" - %s." + +#, c-format +msgid "ppdc: Unable to create output directory %s: %s" +msgstr "ppdc: Unable to create output directory %s: %s" + +#, c-format +msgid "ppdc: Unable to create output pipes: %s" +msgstr "ppdc: Unable to create output pipes: %s" + +#, c-format +msgid "ppdc: Unable to execute cupstestppd: %s" +msgstr "ppdc: Unable to execute cupstestppd: %s" + +#, c-format +msgid "ppdc: Unable to find #po file %s on line %d of %s." +msgstr "ppdc: Unable to find #po file %s on line %d of %s." + +#, c-format +msgid "ppdc: Unable to find include file \"%s\" on line %d of %s." +msgstr "ppdc: Unable to find include file \"%s\" on line %d of %s." + +#, c-format +msgid "ppdc: Unable to find localization for \"%s\" - %s" +msgstr "ppdc: Unable to find localization for \"%s\" - %s" + +#, c-format +msgid "ppdc: Unable to load localization file \"%s\" - %s" +msgstr "ppdc: Unable to load localization file \"%s\" - %s" + +#, c-format +msgid "ppdc: Unable to open %s: %s" +msgstr "ppdc: Unable to open %s: %s" + +#, c-format +msgid "ppdc: Undefined variable (%s) on line %d of %s." +msgstr "ppdc: Undefined variable (%s) on line %d of %s." + +#, c-format +msgid "ppdc: Unexpected text on line %d of %s." +msgstr "ppdc: Unexpected text on line %d of %s." + +#, c-format +msgid "ppdc: Unknown driver type %s on line %d of %s." +msgstr "ppdc: Unknown driver type %s on line %d of %s." + +#, c-format +msgid "ppdc: Unknown duplex type \"%s\" on line %d of %s." +msgstr "ppdc: Unknown duplex type \"%s\" on line %d of %s." + +#, c-format +msgid "ppdc: Unknown media size \"%s\" on line %d of %s." +msgstr "ppdc: Unknown media size \"%s\" on line %d of %s." + +#, c-format +msgid "ppdc: Unknown message catalog format for \"%s\"." +msgstr "ppdc: Unknown message catalog format for \"%s\"." + +#, c-format +msgid "ppdc: Unknown token \"%s\" seen on line %d of %s." +msgstr "ppdc: Unknown token \"%s\" seen on line %d of %s." + +#, c-format +msgid "" +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." +msgstr "" +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." + +#, c-format +msgid "ppdc: Unterminated string starting with %c on line %d of %s." +msgstr "ppdc: Unterminated string starting with %c on line %d of %s." + +#, c-format +msgid "ppdc: Warning - overlapping filename \"%s\"." +msgstr "ppdc: Warning - overlapping filename \"%s\"." + +#, c-format +msgid "ppdc: Writing %s." +msgstr "ppdc: Writing %s." + +#, c-format +msgid "ppdc: Writing PPD files to directory \"%s\"." +msgstr "ppdc: Writing PPD files to directory \"%s\"." + +#, c-format +msgid "ppdmerge: Bad LanguageVersion \"%s\" in %s." +msgstr "ppdmerge: Bad LanguageVersion \"%s\" in %s." + +#, c-format +msgid "ppdmerge: Ignoring PPD file %s." +msgstr "ppdmerge: Ignoring PPD file %s." + +#, c-format +msgid "ppdmerge: Unable to backup %s to %s - %s" +msgstr "ppdmerge: Unable to backup %s to %s - %s" + +#. TRANSLATORS: Pre-dial String +msgid "pre-dial-string" +msgstr "Pre-dial String" + +#. TRANSLATORS: Number-Up Layout +msgid "presentation-direction-number-up" +msgstr "Number-Up Layout" + +#. TRANSLATORS: Top-bottom, Right-left +msgid "presentation-direction-number-up.tobottom-toleft" +msgstr "Top-bottom, Right-left" + +#. TRANSLATORS: Top-bottom, Left-right +msgid "presentation-direction-number-up.tobottom-toright" +msgstr "Top-bottom, Left-right" + +#. TRANSLATORS: Right-left, Top-bottom +msgid "presentation-direction-number-up.toleft-tobottom" +msgstr "Right-left, Top-bottom" + +#. TRANSLATORS: Right-left, Bottom-top +msgid "presentation-direction-number-up.toleft-totop" +msgstr "Right-left, Bottom-top" + +#. TRANSLATORS: Left-right, Top-bottom +msgid "presentation-direction-number-up.toright-tobottom" +msgstr "Left-right, Top-bottom" + +#. TRANSLATORS: Left-right, Bottom-top +msgid "presentation-direction-number-up.toright-totop" +msgstr "Left-right, Bottom-top" + +#. TRANSLATORS: Bottom-top, Right-left +msgid "presentation-direction-number-up.totop-toleft" +msgstr "Bottom-top, Right-left" + +#. TRANSLATORS: Bottom-top, Left-right +msgid "presentation-direction-number-up.totop-toright" +msgstr "Bottom-top, Left-right" + +#. TRANSLATORS: Print Accuracy +msgid "print-accuracy" +msgstr "Print Accuracy" + +#. TRANSLATORS: Print Base +msgid "print-base" +msgstr "Print Base" + +#. TRANSLATORS: Print Base Actual +msgid "print-base-actual" +msgstr "Print Base Actual" + +#. TRANSLATORS: Brim +msgid "print-base.brim" +msgstr "Brim" + +#. TRANSLATORS: None +msgid "print-base.none" +msgstr "None" + +#. TRANSLATORS: Raft +msgid "print-base.raft" +msgstr "Raft" + +#. TRANSLATORS: Skirt +msgid "print-base.skirt" +msgstr "Skirt" + +#. TRANSLATORS: Standard +msgid "print-base.standard" +msgstr "Standard" + +#. TRANSLATORS: Print Color Mode +msgid "print-color-mode" +msgstr "Print Color Mode" + +#. TRANSLATORS: Automatic +msgid "print-color-mode.auto" +msgstr "Automatic" + +#. TRANSLATORS: Auto Monochrome +msgid "print-color-mode.auto-monochrome" +msgstr "Auto Monochrome" + +#. TRANSLATORS: Text +msgid "print-color-mode.bi-level" +msgstr "Text" + +#. TRANSLATORS: Color +msgid "print-color-mode.color" +msgstr "Color" + +#. TRANSLATORS: Highlight +msgid "print-color-mode.highlight" +msgstr "Highlight" + +#. TRANSLATORS: Monochrome +msgid "print-color-mode.monochrome" +msgstr "Monochrome" + +#. TRANSLATORS: Process Text +msgid "print-color-mode.process-bi-level" +msgstr "Process Text" + +#. TRANSLATORS: Process Monochrome +msgid "print-color-mode.process-monochrome" +msgstr "Process Monochrome" + +#. TRANSLATORS: Print Optimization +msgid "print-content-optimize" +msgstr "Print Optimization" + +#. TRANSLATORS: Print Content Optimize Actual +msgid "print-content-optimize-actual" +msgstr "Print Optimization" + +#. TRANSLATORS: Automatic +msgid "print-content-optimize.auto" +msgstr "Automatic" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphic" +msgstr "Graphics" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphics" +msgstr "Graphics" + +#. TRANSLATORS: Photo +msgid "print-content-optimize.photo" +msgstr "Photo" + +#. TRANSLATORS: Text +msgid "print-content-optimize.text" +msgstr "Text" + +#. TRANSLATORS: Text and Graphics +msgid "print-content-optimize.text-and-graphic" +msgstr "Text and Graphics" + +#. TRANSLATORS: Text And Graphics +msgid "print-content-optimize.text-and-graphics" +msgstr "Text and Graphics" + +#. TRANSLATORS: Print Objects +msgid "print-objects" +msgstr "Print Objects" + +#. TRANSLATORS: Print Quality +msgid "print-quality" +msgstr "Print Quality" + +#. TRANSLATORS: Draft +msgid "print-quality.3" +msgstr "Draft" + +#. TRANSLATORS: Normal +msgid "print-quality.4" +msgstr "Normal" + +#. TRANSLATORS: High +msgid "print-quality.5" +msgstr "High" + +#. TRANSLATORS: Print Rendering Intent +msgid "print-rendering-intent" +msgstr "Print Rendering Intent" + +#. TRANSLATORS: Absolute +msgid "print-rendering-intent.absolute" +msgstr "Absolute" + +#. TRANSLATORS: Automatic +msgid "print-rendering-intent.auto" +msgstr "Automatic" + +#. TRANSLATORS: Perceptual +msgid "print-rendering-intent.perceptual" +msgstr "Perceptual" + +#. TRANSLATORS: Relative +msgid "print-rendering-intent.relative" +msgstr "Relative" + +#. TRANSLATORS: Relative w/Black Point Compensation +msgid "print-rendering-intent.relative-bpc" +msgstr "Relative w/Black Point Compensation" + +#. TRANSLATORS: Saturation +msgid "print-rendering-intent.saturation" +msgstr "Saturation" + +#. TRANSLATORS: Print Scaling +msgid "print-scaling" +msgstr "Print Scaling" + +#. TRANSLATORS: Automatic +msgid "print-scaling.auto" +msgstr "Automatic" + +#. TRANSLATORS: Auto-fit +msgid "print-scaling.auto-fit" +msgstr "Auto-fit" + +#. TRANSLATORS: Fill +msgid "print-scaling.fill" +msgstr "Fill" + +#. TRANSLATORS: Fit +msgid "print-scaling.fit" +msgstr "Fit" + +#. TRANSLATORS: None +msgid "print-scaling.none" +msgstr "None" + +#. TRANSLATORS: Print Supports +msgid "print-supports" +msgstr "Print Supports" + +#. TRANSLATORS: Print Supports Actual +msgid "print-supports-actual" +msgstr "Print Supports Actual" + +#. TRANSLATORS: With Specified Material +msgid "print-supports.material" +msgstr "With Specified Material" + +#. TRANSLATORS: None +msgid "print-supports.none" +msgstr "None" + +#. TRANSLATORS: Standard +msgid "print-supports.standard" +msgstr "Standard" + +#, c-format +msgid "printer %s disabled since %s -" +msgstr "printer %s disabled since %s -" + +#, c-format +msgid "printer %s is holding new jobs. enabled since %s" +msgstr "printer %s is holding new jobs. enabled since %s" + +#, c-format +msgid "printer %s is idle. enabled since %s" +msgstr "printer %s is idle. enabled since %s" + +#, c-format +msgid "printer %s now printing %s-%d. enabled since %s" +msgstr "printer %s now printing %s-%d. enabled since %s" + +#, c-format +msgid "printer %s/%s disabled since %s -" +msgstr "printer %s/%s disabled since %s -" + +#, c-format +msgid "printer %s/%s is idle. enabled since %s" +msgstr "printer %s/%s is idle. enabled since %s" + +#, c-format +msgid "printer %s/%s now printing %s-%d. enabled since %s" +msgstr "printer %s/%s now printing %s-%d. enabled since %s" + +#. TRANSLATORS: Printer Kind +msgid "printer-kind" +msgstr "Printer Kind" + +#. TRANSLATORS: Disc +msgid "printer-kind.disc" +msgstr "Disc" + +#. TRANSLATORS: Document +msgid "printer-kind.document" +msgstr "Document" + +#. TRANSLATORS: Envelope +msgid "printer-kind.envelope" +msgstr "Envelope" + +#. TRANSLATORS: Label +msgid "printer-kind.label" +msgstr "Label" + +#. TRANSLATORS: Large Format +msgid "printer-kind.large-format" +msgstr "Large format" + +#. TRANSLATORS: Photo +msgid "printer-kind.photo" +msgstr "Photo" + +#. TRANSLATORS: Postcard +msgid "printer-kind.postcard" +msgstr "Postcard" + +#. TRANSLATORS: Receipt +msgid "printer-kind.receipt" +msgstr "Receipt" + +#. TRANSLATORS: Roll +msgid "printer-kind.roll" +msgstr "Roll" + +#. TRANSLATORS: Message From Operator +msgid "printer-message-from-operator" +msgstr "Message From Operator" + +#. TRANSLATORS: Print Resolution +msgid "printer-resolution" +msgstr "Print Resolution" + +#. TRANSLATORS: Printer State +msgid "printer-state" +msgstr "Printer State" + +#. TRANSLATORS: Detailed Printer State +msgid "printer-state-reasons" +msgstr "Detailed Printer State" + +#. TRANSLATORS: Old Alerts Have Been Removed +msgid "printer-state-reasons.alert-removal-of-binary-change-entry" +msgstr "Old Alerts Have Been Removed" + +#. TRANSLATORS: Bander Added +msgid "printer-state-reasons.bander-added" +msgstr "Bander Added" + +#. TRANSLATORS: Bander Almost Empty +msgid "printer-state-reasons.bander-almost-empty" +msgstr "Bander Almost Empty" + +#. TRANSLATORS: Bander Almost Full +msgid "printer-state-reasons.bander-almost-full" +msgstr "Bander Almost Full" + +#. TRANSLATORS: Bander At Limit +msgid "printer-state-reasons.bander-at-limit" +msgstr "Bander At Limit" + +#. TRANSLATORS: Bander Closed +msgid "printer-state-reasons.bander-closed" +msgstr "Bander Closed" + +#. TRANSLATORS: Bander Configuration Change +msgid "printer-state-reasons.bander-configuration-change" +msgstr "Bander Configuration Change" + +#. TRANSLATORS: Bander Cover Closed +msgid "printer-state-reasons.bander-cover-closed" +msgstr "Bander Cover Closed" + +#. TRANSLATORS: Bander Cover Open +msgid "printer-state-reasons.bander-cover-open" +msgstr "Bander Cover Open" + +#. TRANSLATORS: Bander Empty +msgid "printer-state-reasons.bander-empty" +msgstr "Bander Empty" + +#. TRANSLATORS: Bander Full +msgid "printer-state-reasons.bander-full" +msgstr "Bander Full" + +#. TRANSLATORS: Bander Interlock Closed +msgid "printer-state-reasons.bander-interlock-closed" +msgstr "Bander Interlock Closed" + +#. TRANSLATORS: Bander Interlock Open +msgid "printer-state-reasons.bander-interlock-open" +msgstr "Bander Interlock Open" + +#. TRANSLATORS: Bander Jam +msgid "printer-state-reasons.bander-jam" +msgstr "Bander Jam" + +#. TRANSLATORS: Bander Life Almost Over +msgid "printer-state-reasons.bander-life-almost-over" +msgstr "Bander Life Almost Over" + +#. TRANSLATORS: Bander Life Over +msgid "printer-state-reasons.bander-life-over" +msgstr "Bander Life Over" + +#. TRANSLATORS: Bander Memory Exhausted +msgid "printer-state-reasons.bander-memory-exhausted" +msgstr "Bander Memory Exhausted" + +#. TRANSLATORS: Bander Missing +msgid "printer-state-reasons.bander-missing" +msgstr "Bander Missing" + +#. TRANSLATORS: Bander Motor Failure +msgid "printer-state-reasons.bander-motor-failure" +msgstr "Bander Motor Failure" + +#. TRANSLATORS: Bander Near Limit +msgid "printer-state-reasons.bander-near-limit" +msgstr "Bander Near Limit" + +#. TRANSLATORS: Bander Offline +msgid "printer-state-reasons.bander-offline" +msgstr "Bander Offline" + +#. TRANSLATORS: Bander Opened +msgid "printer-state-reasons.bander-opened" +msgstr "Bander Opened" + +#. TRANSLATORS: Bander Over Temperature +msgid "printer-state-reasons.bander-over-temperature" +msgstr "Bander Over Temperature" + +#. TRANSLATORS: Bander Power Saver +msgid "printer-state-reasons.bander-power-saver" +msgstr "Bander Power Saver" + +#. TRANSLATORS: Bander Recoverable Failure +msgid "printer-state-reasons.bander-recoverable-failure" +msgstr "Bander Recoverable Failure" + +#. TRANSLATORS: Bander Recoverable Storage +msgid "printer-state-reasons.bander-recoverable-storage" +msgstr "Bander Recoverable Storage" + +#. TRANSLATORS: Bander Removed +msgid "printer-state-reasons.bander-removed" +msgstr "Bander Removed" + +#. TRANSLATORS: Bander Resource Added +msgid "printer-state-reasons.bander-resource-added" +msgstr "Bander Resource Added" + +#. TRANSLATORS: Bander Resource Removed +msgid "printer-state-reasons.bander-resource-removed" +msgstr "Bander Resource Removed" + +#. TRANSLATORS: Bander Thermistor Failure +msgid "printer-state-reasons.bander-thermistor-failure" +msgstr "Bander Thermistor Failure" + +#. TRANSLATORS: Bander Timing Failure +msgid "printer-state-reasons.bander-timing-failure" +msgstr "Bander Timing Failure" + +#. TRANSLATORS: Bander Turned Off +msgid "printer-state-reasons.bander-turned-off" +msgstr "Bander Turned Off" + +#. TRANSLATORS: Bander Turned On +msgid "printer-state-reasons.bander-turned-on" +msgstr "Bander Turned On" + +#. TRANSLATORS: Bander Under Temperature +msgid "printer-state-reasons.bander-under-temperature" +msgstr "Bander Under Temperature" + +#. TRANSLATORS: Bander Unrecoverable Failure +msgid "printer-state-reasons.bander-unrecoverable-failure" +msgstr "Bander Unrecoverable Failure" + +#. TRANSLATORS: Bander Unrecoverable Storage Error +msgid "printer-state-reasons.bander-unrecoverable-storage-error" +msgstr "Bander Unrecoverable Storage Error" + +#. TRANSLATORS: Bander Warming Up +msgid "printer-state-reasons.bander-warming-up" +msgstr "Bander Warming Up" + +#. TRANSLATORS: Binder Added +msgid "printer-state-reasons.binder-added" +msgstr "Binder Added" + +#. TRANSLATORS: Binder Almost Empty +msgid "printer-state-reasons.binder-almost-empty" +msgstr "Binder Almost Empty" + +#. TRANSLATORS: Binder Almost Full +msgid "printer-state-reasons.binder-almost-full" +msgstr "Binder Almost Full" + +#. TRANSLATORS: Binder At Limit +msgid "printer-state-reasons.binder-at-limit" +msgstr "Binder At Limit" + +#. TRANSLATORS: Binder Closed +msgid "printer-state-reasons.binder-closed" +msgstr "Binder Closed" + +#. TRANSLATORS: Binder Configuration Change +msgid "printer-state-reasons.binder-configuration-change" +msgstr "Binder Configuration Change" + +#. TRANSLATORS: Binder Cover Closed +msgid "printer-state-reasons.binder-cover-closed" +msgstr "Binder Cover Closed" + +#. TRANSLATORS: Binder Cover Open +msgid "printer-state-reasons.binder-cover-open" +msgstr "Binder Cover Open" + +#. TRANSLATORS: Binder Empty +msgid "printer-state-reasons.binder-empty" +msgstr "Binder Empty" + +#. TRANSLATORS: Binder Full +msgid "printer-state-reasons.binder-full" +msgstr "Binder Full" + +#. TRANSLATORS: Binder Interlock Closed +msgid "printer-state-reasons.binder-interlock-closed" +msgstr "Binder Interlock Closed" + +#. TRANSLATORS: Binder Interlock Open +msgid "printer-state-reasons.binder-interlock-open" +msgstr "Binder Interlock Open" + +#. TRANSLATORS: Binder Jam +msgid "printer-state-reasons.binder-jam" +msgstr "Binder Jam" + +#. TRANSLATORS: Binder Life Almost Over +msgid "printer-state-reasons.binder-life-almost-over" +msgstr "Binder Life Almost Over" + +#. TRANSLATORS: Binder Life Over +msgid "printer-state-reasons.binder-life-over" +msgstr "Binder Life Over" + +#. TRANSLATORS: Binder Memory Exhausted +msgid "printer-state-reasons.binder-memory-exhausted" +msgstr "Binder Memory Exhausted" + +#. TRANSLATORS: Binder Missing +msgid "printer-state-reasons.binder-missing" +msgstr "Binder Missing" + +#. TRANSLATORS: Binder Motor Failure +msgid "printer-state-reasons.binder-motor-failure" +msgstr "Binder Motor Failure" + +#. TRANSLATORS: Binder Near Limit +msgid "printer-state-reasons.binder-near-limit" +msgstr "Binder Near Limit" + +#. TRANSLATORS: Binder Offline +msgid "printer-state-reasons.binder-offline" +msgstr "Binder Offline" + +#. TRANSLATORS: Binder Opened +msgid "printer-state-reasons.binder-opened" +msgstr "Binder Opened" + +#. TRANSLATORS: Binder Over Temperature +msgid "printer-state-reasons.binder-over-temperature" +msgstr "Binder Over Temperature" + +#. TRANSLATORS: Binder Power Saver +msgid "printer-state-reasons.binder-power-saver" +msgstr "Binder Power Saver" + +#. TRANSLATORS: Binder Recoverable Failure +msgid "printer-state-reasons.binder-recoverable-failure" +msgstr "Binder Recoverable Failure" + +#. TRANSLATORS: Binder Recoverable Storage +msgid "printer-state-reasons.binder-recoverable-storage" +msgstr "Binder Recoverable Storage" + +#. TRANSLATORS: Binder Removed +msgid "printer-state-reasons.binder-removed" +msgstr "Binder Removed" + +#. TRANSLATORS: Binder Resource Added +msgid "printer-state-reasons.binder-resource-added" +msgstr "Binder Resource Added" + +#. TRANSLATORS: Binder Resource Removed +msgid "printer-state-reasons.binder-resource-removed" +msgstr "Binder Resource Removed" + +#. TRANSLATORS: Binder Thermistor Failure +msgid "printer-state-reasons.binder-thermistor-failure" +msgstr "Binder Thermistor Failure" + +#. TRANSLATORS: Binder Timing Failure +msgid "printer-state-reasons.binder-timing-failure" +msgstr "Binder Timing Failure" + +#. TRANSLATORS: Binder Turned Off +msgid "printer-state-reasons.binder-turned-off" +msgstr "Binder Turned Off" + +#. TRANSLATORS: Binder Turned On +msgid "printer-state-reasons.binder-turned-on" +msgstr "Binder Turned On" + +#. TRANSLATORS: Binder Under Temperature +msgid "printer-state-reasons.binder-under-temperature" +msgstr "Binder Under Temperature" + +#. TRANSLATORS: Binder Unrecoverable Failure +msgid "printer-state-reasons.binder-unrecoverable-failure" +msgstr "Binder Unrecoverable Failure" + +#. TRANSLATORS: Binder Unrecoverable Storage Error +msgid "printer-state-reasons.binder-unrecoverable-storage-error" +msgstr "Binder Unrecoverable Storage Error" + +#. TRANSLATORS: Binder Warming Up +msgid "printer-state-reasons.binder-warming-up" +msgstr "Binder Warming Up" + +#. TRANSLATORS: Camera Failure +msgid "printer-state-reasons.camera-failure" +msgstr "Camera Failure" + +#. TRANSLATORS: Chamber Cooling +msgid "printer-state-reasons.chamber-cooling" +msgstr "Chamber Cooling" + +#. TRANSLATORS: Chamber Failure +msgid "printer-state-reasons.chamber-failure" +msgstr "Chamber Failure" + +#. TRANSLATORS: Chamber Heating +msgid "printer-state-reasons.chamber-heating" +msgstr "Chamber Heating" + +#. TRANSLATORS: Chamber Temperature High +msgid "printer-state-reasons.chamber-temperature-high" +msgstr "Chamber Temperature High" + +#. TRANSLATORS: Chamber Temperature Low +msgid "printer-state-reasons.chamber-temperature-low" +msgstr "Chamber Temperature Low" + +#. TRANSLATORS: Cleaner Life Almost Over +msgid "printer-state-reasons.cleaner-life-almost-over" +msgstr "Cleaner Life Almost Over" + +#. TRANSLATORS: Cleaner Life Over +msgid "printer-state-reasons.cleaner-life-over" +msgstr "Cleaner Life Over" + +#. TRANSLATORS: Configuration Change +msgid "printer-state-reasons.configuration-change" +msgstr "Configuration Change" + +#. TRANSLATORS: Connecting To Device +msgid "printer-state-reasons.connecting-to-device" +msgstr "Connecting To Device" + +#. TRANSLATORS: Cover Open +msgid "printer-state-reasons.cover-open" +msgstr "Cover Open" + +#. TRANSLATORS: Deactivated +msgid "printer-state-reasons.deactivated" +msgstr "Deactivated" + +#. TRANSLATORS: Developer Empty +msgid "printer-state-reasons.developer-empty" +msgstr "Developer Empty" + +#. TRANSLATORS: Developer Low +msgid "printer-state-reasons.developer-low" +msgstr "Developer Low" + +#. TRANSLATORS: Die Cutter Added +msgid "printer-state-reasons.die-cutter-added" +msgstr "Die Cutter Added" + +#. TRANSLATORS: Die Cutter Almost Empty +msgid "printer-state-reasons.die-cutter-almost-empty" +msgstr "Die Cutter Almost Empty" + +#. TRANSLATORS: Die Cutter Almost Full +msgid "printer-state-reasons.die-cutter-almost-full" +msgstr "Die Cutter Almost Full" + +#. TRANSLATORS: Die Cutter At Limit +msgid "printer-state-reasons.die-cutter-at-limit" +msgstr "Die Cutter At Limit" + +#. TRANSLATORS: Die Cutter Closed +msgid "printer-state-reasons.die-cutter-closed" +msgstr "Die Cutter Closed" + +#. TRANSLATORS: Die Cutter Configuration Change +msgid "printer-state-reasons.die-cutter-configuration-change" +msgstr "Die Cutter Configuration Change" + +#. TRANSLATORS: Die Cutter Cover Closed +msgid "printer-state-reasons.die-cutter-cover-closed" +msgstr "Die Cutter Cover Closed" + +#. TRANSLATORS: Die Cutter Cover Open +msgid "printer-state-reasons.die-cutter-cover-open" +msgstr "Die Cutter Cover Open" + +#. TRANSLATORS: Die Cutter Empty +msgid "printer-state-reasons.die-cutter-empty" +msgstr "Die Cutter Empty" + +#. TRANSLATORS: Die Cutter Full +msgid "printer-state-reasons.die-cutter-full" +msgstr "Die Cutter Full" + +#. TRANSLATORS: Die Cutter Interlock Closed +msgid "printer-state-reasons.die-cutter-interlock-closed" +msgstr "Die Cutter Interlock Closed" + +#. TRANSLATORS: Die Cutter Interlock Open +msgid "printer-state-reasons.die-cutter-interlock-open" +msgstr "Die Cutter Interlock Open" + +#. TRANSLATORS: Die Cutter Jam +msgid "printer-state-reasons.die-cutter-jam" +msgstr "Die Cutter Jam" + +#. TRANSLATORS: Die Cutter Life Almost Over +msgid "printer-state-reasons.die-cutter-life-almost-over" +msgstr "Die Cutter Life Almost Over" + +#. TRANSLATORS: Die Cutter Life Over +msgid "printer-state-reasons.die-cutter-life-over" +msgstr "Die Cutter Life Over" + +#. TRANSLATORS: Die Cutter Memory Exhausted +msgid "printer-state-reasons.die-cutter-memory-exhausted" +msgstr "Die Cutter Memory Exhausted" + +#. TRANSLATORS: Die Cutter Missing +msgid "printer-state-reasons.die-cutter-missing" +msgstr "Die Cutter Missing" + +#. TRANSLATORS: Die Cutter Motor Failure +msgid "printer-state-reasons.die-cutter-motor-failure" +msgstr "Die Cutter Motor Failure" + +#. TRANSLATORS: Die Cutter Near Limit +msgid "printer-state-reasons.die-cutter-near-limit" +msgstr "Die Cutter Near Limit" + +#. TRANSLATORS: Die Cutter Offline +msgid "printer-state-reasons.die-cutter-offline" +msgstr "Die Cutter Offline" + +#. TRANSLATORS: Die Cutter Opened +msgid "printer-state-reasons.die-cutter-opened" +msgstr "Die Cutter Opened" + +#. TRANSLATORS: Die Cutter Over Temperature +msgid "printer-state-reasons.die-cutter-over-temperature" +msgstr "Die Cutter Over Temperature" + +#. TRANSLATORS: Die Cutter Power Saver +msgid "printer-state-reasons.die-cutter-power-saver" +msgstr "Die Cutter Power Saver" + +#. TRANSLATORS: Die Cutter Recoverable Failure +msgid "printer-state-reasons.die-cutter-recoverable-failure" +msgstr "Die Cutter Recoverable Failure" + +#. TRANSLATORS: Die Cutter Recoverable Storage +msgid "printer-state-reasons.die-cutter-recoverable-storage" +msgstr "Die Cutter Recoverable Storage" + +#. TRANSLATORS: Die Cutter Removed +msgid "printer-state-reasons.die-cutter-removed" +msgstr "Die Cutter Removed" + +#. TRANSLATORS: Die Cutter Resource Added +msgid "printer-state-reasons.die-cutter-resource-added" +msgstr "Die Cutter Resource Added" + +#. TRANSLATORS: Die Cutter Resource Removed +msgid "printer-state-reasons.die-cutter-resource-removed" +msgstr "Die Cutter Resource Removed" + +#. TRANSLATORS: Die Cutter Thermistor Failure +msgid "printer-state-reasons.die-cutter-thermistor-failure" +msgstr "Die Cutter Thermistor Failure" + +#. TRANSLATORS: Die Cutter Timing Failure +msgid "printer-state-reasons.die-cutter-timing-failure" +msgstr "Die Cutter Timing Failure" + +#. TRANSLATORS: Die Cutter Turned Off +msgid "printer-state-reasons.die-cutter-turned-off" +msgstr "Die Cutter Turned Off" + +#. TRANSLATORS: Die Cutter Turned On +msgid "printer-state-reasons.die-cutter-turned-on" +msgstr "Die Cutter Turned On" + +#. TRANSLATORS: Die Cutter Under Temperature +msgid "printer-state-reasons.die-cutter-under-temperature" +msgstr "Die Cutter Under Temperature" + +#. TRANSLATORS: Die Cutter Unrecoverable Failure +msgid "printer-state-reasons.die-cutter-unrecoverable-failure" +msgstr "Die Cutter Unrecoverable Failure" + +#. TRANSLATORS: Die Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.die-cutter-unrecoverable-storage-error" +msgstr "Die Cutter Unrecoverable Storage Error" + +#. TRANSLATORS: Die Cutter Warming Up +msgid "printer-state-reasons.die-cutter-warming-up" +msgstr "Die Cutter Warming Up" + +#. TRANSLATORS: Door Open +msgid "printer-state-reasons.door-open" +msgstr "Door Open" + +#. TRANSLATORS: Extruder Cooling +msgid "printer-state-reasons.extruder-cooling" +msgstr "Extruder Cooling" + +#. TRANSLATORS: Extruder Failure +msgid "printer-state-reasons.extruder-failure" +msgstr "Extruder Failure" + +#. TRANSLATORS: Extruder Heating +msgid "printer-state-reasons.extruder-heating" +msgstr "Extruder Heating" + +#. TRANSLATORS: Extruder Jam +msgid "printer-state-reasons.extruder-jam" +msgstr "Extruder Jam" + +#. TRANSLATORS: Extruder Temperature High +msgid "printer-state-reasons.extruder-temperature-high" +msgstr "Extruder Temperature High" + +#. TRANSLATORS: Extruder Temperature Low +msgid "printer-state-reasons.extruder-temperature-low" +msgstr "Extruder Temperature Low" + +#. TRANSLATORS: Fan Failure +msgid "printer-state-reasons.fan-failure" +msgstr "Fan Failure" + +#. TRANSLATORS: Fax Modem Life Almost Over +msgid "printer-state-reasons.fax-modem-life-almost-over" +msgstr "Fax Modem Life Almost Over" + +#. TRANSLATORS: Fax Modem Life Over +msgid "printer-state-reasons.fax-modem-life-over" +msgstr "Fax Modem Life Over" + +#. TRANSLATORS: Fax Modem Missing +msgid "printer-state-reasons.fax-modem-missing" +msgstr "Fax Modem Missing" + +#. TRANSLATORS: Fax Modem Turned Off +msgid "printer-state-reasons.fax-modem-turned-off" +msgstr "Fax Modem Turned Off" + +#. TRANSLATORS: Fax Modem Turned On +msgid "printer-state-reasons.fax-modem-turned-on" +msgstr "Fax Modem Turned On" + +#. TRANSLATORS: Folder Added +msgid "printer-state-reasons.folder-added" +msgstr "Folder Added" + +#. TRANSLATORS: Folder Almost Empty +msgid "printer-state-reasons.folder-almost-empty" +msgstr "Folder Almost Empty" + +#. TRANSLATORS: Folder Almost Full +msgid "printer-state-reasons.folder-almost-full" +msgstr "Folder Almost Full" + +#. TRANSLATORS: Folder At Limit +msgid "printer-state-reasons.folder-at-limit" +msgstr "Folder At Limit" + +#. TRANSLATORS: Folder Closed +msgid "printer-state-reasons.folder-closed" +msgstr "Folder Closed" + +#. TRANSLATORS: Folder Configuration Change +msgid "printer-state-reasons.folder-configuration-change" +msgstr "Folder Configuration Change" + +#. TRANSLATORS: Folder Cover Closed +msgid "printer-state-reasons.folder-cover-closed" +msgstr "Folder Cover Closed" + +#. TRANSLATORS: Folder Cover Open +msgid "printer-state-reasons.folder-cover-open" +msgstr "Folder Cover Open" + +#. TRANSLATORS: Folder Empty +msgid "printer-state-reasons.folder-empty" +msgstr "Folder Empty" + +#. TRANSLATORS: Folder Full +msgid "printer-state-reasons.folder-full" +msgstr "Folder Full" + +#. TRANSLATORS: Folder Interlock Closed +msgid "printer-state-reasons.folder-interlock-closed" +msgstr "Folder Interlock Closed" + +#. TRANSLATORS: Folder Interlock Open +msgid "printer-state-reasons.folder-interlock-open" +msgstr "Folder Interlock Open" + +#. TRANSLATORS: Folder Jam +msgid "printer-state-reasons.folder-jam" +msgstr "Folder Jam" + +#. TRANSLATORS: Folder Life Almost Over +msgid "printer-state-reasons.folder-life-almost-over" +msgstr "Folder Life Almost Over" + +#. TRANSLATORS: Folder Life Over +msgid "printer-state-reasons.folder-life-over" +msgstr "Folder Life Over" + +#. TRANSLATORS: Folder Memory Exhausted +msgid "printer-state-reasons.folder-memory-exhausted" +msgstr "Folder Memory Exhausted" + +#. TRANSLATORS: Folder Missing +msgid "printer-state-reasons.folder-missing" +msgstr "Folder Missing" + +#. TRANSLATORS: Folder Motor Failure +msgid "printer-state-reasons.folder-motor-failure" +msgstr "Folder Motor Failure" + +#. TRANSLATORS: Folder Near Limit +msgid "printer-state-reasons.folder-near-limit" +msgstr "Folder Near Limit" + +#. TRANSLATORS: Folder Offline +msgid "printer-state-reasons.folder-offline" +msgstr "Folder Offline" + +#. TRANSLATORS: Folder Opened +msgid "printer-state-reasons.folder-opened" +msgstr "Folder Opened" + +#. TRANSLATORS: Folder Over Temperature +msgid "printer-state-reasons.folder-over-temperature" +msgstr "Folder Over Temperature" + +#. TRANSLATORS: Folder Power Saver +msgid "printer-state-reasons.folder-power-saver" +msgstr "Folder Power Saver" + +#. TRANSLATORS: Folder Recoverable Failure +msgid "printer-state-reasons.folder-recoverable-failure" +msgstr "Folder Recoverable Failure" + +#. TRANSLATORS: Folder Recoverable Storage +msgid "printer-state-reasons.folder-recoverable-storage" +msgstr "Folder Recoverable Storage" + +#. TRANSLATORS: Folder Removed +msgid "printer-state-reasons.folder-removed" +msgstr "Folder Removed" + +#. TRANSLATORS: Folder Resource Added +msgid "printer-state-reasons.folder-resource-added" +msgstr "Folder Resource Added" + +#. TRANSLATORS: Folder Resource Removed +msgid "printer-state-reasons.folder-resource-removed" +msgstr "Folder Resource Removed" + +#. TRANSLATORS: Folder Thermistor Failure +msgid "printer-state-reasons.folder-thermistor-failure" +msgstr "Folder Thermistor Failure" + +#. TRANSLATORS: Folder Timing Failure +msgid "printer-state-reasons.folder-timing-failure" +msgstr "Folder Timing Failure" + +#. TRANSLATORS: Folder Turned Off +msgid "printer-state-reasons.folder-turned-off" +msgstr "Folder Turned Off" + +#. TRANSLATORS: Folder Turned On +msgid "printer-state-reasons.folder-turned-on" +msgstr "Folder Turned On" + +#. TRANSLATORS: Folder Under Temperature +msgid "printer-state-reasons.folder-under-temperature" +msgstr "Folder Under Temperature" + +#. TRANSLATORS: Folder Unrecoverable Failure +msgid "printer-state-reasons.folder-unrecoverable-failure" +msgstr "Folder Unrecoverable Failure" + +#. TRANSLATORS: Folder Unrecoverable Storage Error +msgid "printer-state-reasons.folder-unrecoverable-storage-error" +msgstr "Folder Unrecoverable Storage Error" + +#. TRANSLATORS: Folder Warming Up +msgid "printer-state-reasons.folder-warming-up" +msgstr "Folder Warming Up" + +#. TRANSLATORS: Fuser temperature high +msgid "printer-state-reasons.fuser-over-temp" +msgstr "Fuser Over Temp" + +#. TRANSLATORS: Fuser temperature low +msgid "printer-state-reasons.fuser-under-temp" +msgstr "Fuser Under Temp" + +#. TRANSLATORS: Hold New Jobs +msgid "printer-state-reasons.hold-new-jobs" +msgstr "Hold New Jobs" + +#. TRANSLATORS: Identify Printer +msgid "printer-state-reasons.identify-printer-requested" +msgstr "Identify Printer" + +#. TRANSLATORS: Imprinter Added +msgid "printer-state-reasons.imprinter-added" +msgstr "Imprinter Added" + +#. TRANSLATORS: Imprinter Almost Empty +msgid "printer-state-reasons.imprinter-almost-empty" +msgstr "Imprinter Almost Empty" + +#. TRANSLATORS: Imprinter Almost Full +msgid "printer-state-reasons.imprinter-almost-full" +msgstr "Imprinter Almost Full" + +#. TRANSLATORS: Imprinter At Limit +msgid "printer-state-reasons.imprinter-at-limit" +msgstr "Imprinter At Limit" + +#. TRANSLATORS: Imprinter Closed +msgid "printer-state-reasons.imprinter-closed" +msgstr "Imprinter Closed" + +#. TRANSLATORS: Imprinter Configuration Change +msgid "printer-state-reasons.imprinter-configuration-change" +msgstr "Imprinter Configuration Change" + +#. TRANSLATORS: Imprinter Cover Closed +msgid "printer-state-reasons.imprinter-cover-closed" +msgstr "Imprinter Cover Closed" + +#. TRANSLATORS: Imprinter Cover Open +msgid "printer-state-reasons.imprinter-cover-open" +msgstr "Imprinter Cover Open" + +#. TRANSLATORS: Imprinter Empty +msgid "printer-state-reasons.imprinter-empty" +msgstr "Imprinter Empty" + +#. TRANSLATORS: Imprinter Full +msgid "printer-state-reasons.imprinter-full" +msgstr "Imprinter Full" + +#. TRANSLATORS: Imprinter Interlock Closed +msgid "printer-state-reasons.imprinter-interlock-closed" +msgstr "Imprinter Interlock Closed" + +#. TRANSLATORS: Imprinter Interlock Open +msgid "printer-state-reasons.imprinter-interlock-open" +msgstr "Imprinter Interlock Open" + +#. TRANSLATORS: Imprinter Jam +msgid "printer-state-reasons.imprinter-jam" +msgstr "Imprinter Jam" + +#. TRANSLATORS: Imprinter Life Almost Over +msgid "printer-state-reasons.imprinter-life-almost-over" +msgstr "Imprinter Life Almost Over" + +#. TRANSLATORS: Imprinter Life Over +msgid "printer-state-reasons.imprinter-life-over" +msgstr "Imprinter Life Over" + +#. TRANSLATORS: Imprinter Memory Exhausted +msgid "printer-state-reasons.imprinter-memory-exhausted" +msgstr "Imprinter Memory Exhausted" + +#. TRANSLATORS: Imprinter Missing +msgid "printer-state-reasons.imprinter-missing" +msgstr "Imprinter Missing" + +#. TRANSLATORS: Imprinter Motor Failure +msgid "printer-state-reasons.imprinter-motor-failure" +msgstr "Imprinter Motor Failure" + +#. TRANSLATORS: Imprinter Near Limit +msgid "printer-state-reasons.imprinter-near-limit" +msgstr "Imprinter Near Limit" + +#. TRANSLATORS: Imprinter Offline +msgid "printer-state-reasons.imprinter-offline" +msgstr "Imprinter Offline" + +#. TRANSLATORS: Imprinter Opened +msgid "printer-state-reasons.imprinter-opened" +msgstr "Imprinter Opened" + +#. TRANSLATORS: Imprinter Over Temperature +msgid "printer-state-reasons.imprinter-over-temperature" +msgstr "Imprinter Over Temperature" + +#. TRANSLATORS: Imprinter Power Saver +msgid "printer-state-reasons.imprinter-power-saver" +msgstr "Imprinter Power Saver" + +#. TRANSLATORS: Imprinter Recoverable Failure +msgid "printer-state-reasons.imprinter-recoverable-failure" +msgstr "Imprinter Recoverable Failure" + +#. TRANSLATORS: Imprinter Recoverable Storage +msgid "printer-state-reasons.imprinter-recoverable-storage" +msgstr "Imprinter Recoverable Storage" + +#. TRANSLATORS: Imprinter Removed +msgid "printer-state-reasons.imprinter-removed" +msgstr "Imprinter Removed" + +#. TRANSLATORS: Imprinter Resource Added +msgid "printer-state-reasons.imprinter-resource-added" +msgstr "Imprinter Resource Added" + +#. TRANSLATORS: Imprinter Resource Removed +msgid "printer-state-reasons.imprinter-resource-removed" +msgstr "Imprinter Resource Removed" + +#. TRANSLATORS: Imprinter Thermistor Failure +msgid "printer-state-reasons.imprinter-thermistor-failure" +msgstr "Imprinter Thermistor Failure" + +#. TRANSLATORS: Imprinter Timing Failure +msgid "printer-state-reasons.imprinter-timing-failure" +msgstr "Imprinter Timing Failure" + +#. TRANSLATORS: Imprinter Turned Off +msgid "printer-state-reasons.imprinter-turned-off" +msgstr "Imprinter Turned Off" + +#. TRANSLATORS: Imprinter Turned On +msgid "printer-state-reasons.imprinter-turned-on" +msgstr "Imprinter Turned On" + +#. TRANSLATORS: Imprinter Under Temperature +msgid "printer-state-reasons.imprinter-under-temperature" +msgstr "Imprinter Under Temperature" + +#. TRANSLATORS: Imprinter Unrecoverable Failure +msgid "printer-state-reasons.imprinter-unrecoverable-failure" +msgstr "Imprinter Unrecoverable Failure" + +#. TRANSLATORS: Imprinter Unrecoverable Storage Error +msgid "printer-state-reasons.imprinter-unrecoverable-storage-error" +msgstr "Imprinter Unrecoverable Storage Error" + +#. TRANSLATORS: Imprinter Warming Up +msgid "printer-state-reasons.imprinter-warming-up" +msgstr "Imprinter Warming Up" + +#. TRANSLATORS: Input Cannot Feed Size Selected +msgid "printer-state-reasons.input-cannot-feed-size-selected" +msgstr "Input Cannot Feed Size Selected" + +#. TRANSLATORS: Input Manual Input Request +msgid "printer-state-reasons.input-manual-input-request" +msgstr "Input Manual Input Request" + +#. TRANSLATORS: Input Media Color Change +msgid "printer-state-reasons.input-media-color-change" +msgstr "Input Media Color Change" + +#. TRANSLATORS: Input Media Form Parts Change +msgid "printer-state-reasons.input-media-form-parts-change" +msgstr "Input Media Form Parts Change" + +#. TRANSLATORS: Input Media Size Change +msgid "printer-state-reasons.input-media-size-change" +msgstr "Input Media Size Change" + +#. TRANSLATORS: Input Media Tray Failure +msgid "printer-state-reasons.input-media-tray-failure" +msgstr "Input Media Tray Failure" + +#. TRANSLATORS: Input Media Tray Feed Error +msgid "printer-state-reasons.input-media-tray-feed-error" +msgstr "Input Media Tray Feed Error" + +#. TRANSLATORS: Input Media Tray Jam +msgid "printer-state-reasons.input-media-tray-jam" +msgstr "Input Media Tray Jam" + +#. TRANSLATORS: Input Media Type Change +msgid "printer-state-reasons.input-media-type-change" +msgstr "Input Media Type Change" + +#. TRANSLATORS: Input Media Weight Change +msgid "printer-state-reasons.input-media-weight-change" +msgstr "Input Media Weight Change" + +#. TRANSLATORS: Input Pick Roller Failure +msgid "printer-state-reasons.input-pick-roller-failure" +msgstr "Input Pick Roller Failure" + +#. TRANSLATORS: Input Pick Roller Life Over +msgid "printer-state-reasons.input-pick-roller-life-over" +msgstr "Input Pick Roller Life Over" + +#. TRANSLATORS: Input Pick Roller Life Warn +msgid "printer-state-reasons.input-pick-roller-life-warn" +msgstr "Input Pick Roller Life Warn" + +#. TRANSLATORS: Input Pick Roller Missing +msgid "printer-state-reasons.input-pick-roller-missing" +msgstr "Input Pick Roller Missing" + +#. TRANSLATORS: Input Tray Elevation Failure +msgid "printer-state-reasons.input-tray-elevation-failure" +msgstr "Input Tray Elevation Failure" + +#. TRANSLATORS: Paper tray is missing +msgid "printer-state-reasons.input-tray-missing" +msgstr "Input Tray Missing" + +#. TRANSLATORS: Input Tray Position Failure +msgid "printer-state-reasons.input-tray-position-failure" +msgstr "Input Tray Position Failure" + +#. TRANSLATORS: Inserter Added +msgid "printer-state-reasons.inserter-added" +msgstr "Inserter Added" + +#. TRANSLATORS: Inserter Almost Empty +msgid "printer-state-reasons.inserter-almost-empty" +msgstr "Inserter Almost Empty" + +#. TRANSLATORS: Inserter Almost Full +msgid "printer-state-reasons.inserter-almost-full" +msgstr "Inserter Almost Full" + +#. TRANSLATORS: Inserter At Limit +msgid "printer-state-reasons.inserter-at-limit" +msgstr "Inserter At Limit" + +#. TRANSLATORS: Inserter Closed +msgid "printer-state-reasons.inserter-closed" +msgstr "Inserter Closed" + +#. TRANSLATORS: Inserter Configuration Change +msgid "printer-state-reasons.inserter-configuration-change" +msgstr "Inserter Configuration Change" + +#. TRANSLATORS: Inserter Cover Closed +msgid "printer-state-reasons.inserter-cover-closed" +msgstr "Inserter Cover Closed" + +#. TRANSLATORS: Inserter Cover Open +msgid "printer-state-reasons.inserter-cover-open" +msgstr "Inserter Cover Open" + +#. TRANSLATORS: Inserter Empty +msgid "printer-state-reasons.inserter-empty" +msgstr "Inserter Empty" + +#. TRANSLATORS: Inserter Full +msgid "printer-state-reasons.inserter-full" +msgstr "Inserter Full" + +#. TRANSLATORS: Inserter Interlock Closed +msgid "printer-state-reasons.inserter-interlock-closed" +msgstr "Inserter Interlock Closed" + +#. TRANSLATORS: Inserter Interlock Open +msgid "printer-state-reasons.inserter-interlock-open" +msgstr "Inserter Interlock Open" + +#. TRANSLATORS: Inserter Jam +msgid "printer-state-reasons.inserter-jam" +msgstr "Inserter Jam" + +#. TRANSLATORS: Inserter Life Almost Over +msgid "printer-state-reasons.inserter-life-almost-over" +msgstr "Inserter Life Almost Over" + +#. TRANSLATORS: Inserter Life Over +msgid "printer-state-reasons.inserter-life-over" +msgstr "Inserter Life Over" + +#. TRANSLATORS: Inserter Memory Exhausted +msgid "printer-state-reasons.inserter-memory-exhausted" +msgstr "Inserter Memory Exhausted" + +#. TRANSLATORS: Inserter Missing +msgid "printer-state-reasons.inserter-missing" +msgstr "Inserter Missing" + +#. TRANSLATORS: Inserter Motor Failure +msgid "printer-state-reasons.inserter-motor-failure" +msgstr "Inserter Motor Failure" + +#. TRANSLATORS: Inserter Near Limit +msgid "printer-state-reasons.inserter-near-limit" +msgstr "Inserter Near Limit" + +#. TRANSLATORS: Inserter Offline +msgid "printer-state-reasons.inserter-offline" +msgstr "Inserter Offline" + +#. TRANSLATORS: Inserter Opened +msgid "printer-state-reasons.inserter-opened" +msgstr "Inserter Opened" + +#. TRANSLATORS: Inserter Over Temperature +msgid "printer-state-reasons.inserter-over-temperature" +msgstr "Inserter Over Temperature" + +#. TRANSLATORS: Inserter Power Saver +msgid "printer-state-reasons.inserter-power-saver" +msgstr "Inserter Power Saver" + +#. TRANSLATORS: Inserter Recoverable Failure +msgid "printer-state-reasons.inserter-recoverable-failure" +msgstr "Inserter Recoverable Failure" + +#. TRANSLATORS: Inserter Recoverable Storage +msgid "printer-state-reasons.inserter-recoverable-storage" +msgstr "Inserter Recoverable Storage" + +#. TRANSLATORS: Inserter Removed +msgid "printer-state-reasons.inserter-removed" +msgstr "Inserter Removed" + +#. TRANSLATORS: Inserter Resource Added +msgid "printer-state-reasons.inserter-resource-added" +msgstr "Inserter Resource Added" + +#. TRANSLATORS: Inserter Resource Removed +msgid "printer-state-reasons.inserter-resource-removed" +msgstr "Inserter Resource Removed" + +#. TRANSLATORS: Inserter Thermistor Failure +msgid "printer-state-reasons.inserter-thermistor-failure" +msgstr "Inserter Thermistor Failure" + +#. TRANSLATORS: Inserter Timing Failure +msgid "printer-state-reasons.inserter-timing-failure" +msgstr "Inserter Timing Failure" + +#. TRANSLATORS: Inserter Turned Off +msgid "printer-state-reasons.inserter-turned-off" +msgstr "Inserter Turned Off" + +#. TRANSLATORS: Inserter Turned On +msgid "printer-state-reasons.inserter-turned-on" +msgstr "Inserter Turned On" + +#. TRANSLATORS: Inserter Under Temperature +msgid "printer-state-reasons.inserter-under-temperature" +msgstr "Inserter Under Temperature" + +#. TRANSLATORS: Inserter Unrecoverable Failure +msgid "printer-state-reasons.inserter-unrecoverable-failure" +msgstr "Inserter Unrecoverable Failure" + +#. TRANSLATORS: Inserter Unrecoverable Storage Error +msgid "printer-state-reasons.inserter-unrecoverable-storage-error" +msgstr "Inserter Unrecoverable Storage Error" + +#. TRANSLATORS: Inserter Warming Up +msgid "printer-state-reasons.inserter-warming-up" +msgstr "Inserter Warming Up" + +#. TRANSLATORS: Interlock Closed +msgid "printer-state-reasons.interlock-closed" +msgstr "Interlock Closed" + +#. TRANSLATORS: Interlock Open +msgid "printer-state-reasons.interlock-open" +msgstr "Interlock Open" + +#. TRANSLATORS: Interpreter Cartridge Added +msgid "printer-state-reasons.interpreter-cartridge-added" +msgstr "Interpreter Cartridge Added" + +#. TRANSLATORS: Interpreter Cartridge Removed +msgid "printer-state-reasons.interpreter-cartridge-deleted" +msgstr "Interpreter Cartridge Removed" + +#. TRANSLATORS: Interpreter Complex Page Encountered +msgid "printer-state-reasons.interpreter-complex-page-encountered" +msgstr "Interpreter Complex Page Encountered" + +#. TRANSLATORS: Interpreter Memory Decrease +msgid "printer-state-reasons.interpreter-memory-decrease" +msgstr "Interpreter Memory Decrease" + +#. TRANSLATORS: Interpreter Memory Increase +msgid "printer-state-reasons.interpreter-memory-increase" +msgstr "Interpreter Memory Increase" + +#. TRANSLATORS: Interpreter Resource Added +msgid "printer-state-reasons.interpreter-resource-added" +msgstr "Interpreter Resource Added" + +#. TRANSLATORS: Interpreter Resource Deleted +msgid "printer-state-reasons.interpreter-resource-deleted" +msgstr "Interpreter Resource Deleted" + +#. TRANSLATORS: Printer resource unavailable +msgid "printer-state-reasons.interpreter-resource-unavailable" +msgstr "Interpreter Resource Unavailable" + +#. TRANSLATORS: Lamp At End of Life +msgid "printer-state-reasons.lamp-at-eol" +msgstr "Lamp At End of Life" + +#. TRANSLATORS: Lamp Failure +msgid "printer-state-reasons.lamp-failure" +msgstr "Lamp Failure" + +#. TRANSLATORS: Lamp Near End of Life +msgid "printer-state-reasons.lamp-near-eol" +msgstr "Lamp Near End of Life" + +#. TRANSLATORS: Laser At End of Life +msgid "printer-state-reasons.laser-at-eol" +msgstr "Laser At End of Life" + +#. TRANSLATORS: Laser Failure +msgid "printer-state-reasons.laser-failure" +msgstr "Laser Failure" + +#. TRANSLATORS: Laser Near End of Life +msgid "printer-state-reasons.laser-near-eol" +msgstr "Laser Near End of Life" + +#. TRANSLATORS: Envelope Maker Added +msgid "printer-state-reasons.make-envelope-added" +msgstr "Envelope Maker Added" + +#. TRANSLATORS: Envelope Maker Almost Empty +msgid "printer-state-reasons.make-envelope-almost-empty" +msgstr "Envelope Maker Almost Empty" + +#. TRANSLATORS: Envelope Maker Almost Full +msgid "printer-state-reasons.make-envelope-almost-full" +msgstr "Envelope Maker Almost Full" + +#. TRANSLATORS: Envelope Maker At Limit +msgid "printer-state-reasons.make-envelope-at-limit" +msgstr "Envelope Maker At Limit" + +#. TRANSLATORS: Envelope Maker Closed +msgid "printer-state-reasons.make-envelope-closed" +msgstr "Envelope Maker Closed" + +#. TRANSLATORS: Envelope Maker Configuration Change +msgid "printer-state-reasons.make-envelope-configuration-change" +msgstr "Envelope Maker Configuration Change" + +#. TRANSLATORS: Envelope Maker Cover Closed +msgid "printer-state-reasons.make-envelope-cover-closed" +msgstr "Envelope Maker Cover Closed" + +#. TRANSLATORS: Envelope Maker Cover Open +msgid "printer-state-reasons.make-envelope-cover-open" +msgstr "Envelope Maker Cover Open" + +#. TRANSLATORS: Envelope Maker Empty +msgid "printer-state-reasons.make-envelope-empty" +msgstr "Envelope Maker Empty" + +#. TRANSLATORS: Envelope Maker Full +msgid "printer-state-reasons.make-envelope-full" +msgstr "Envelope Maker Full" + +#. TRANSLATORS: Envelope Maker Interlock Closed +msgid "printer-state-reasons.make-envelope-interlock-closed" +msgstr "Envelope Maker Interlock Closed" + +#. TRANSLATORS: Envelope Maker Interlock Open +msgid "printer-state-reasons.make-envelope-interlock-open" +msgstr "Envelope Maker Interlock Open" + +#. TRANSLATORS: Envelope Maker Jam +msgid "printer-state-reasons.make-envelope-jam" +msgstr "Envelope Maker Jam" + +#. TRANSLATORS: Envelope Maker Life Almost Over +msgid "printer-state-reasons.make-envelope-life-almost-over" +msgstr "Envelope Maker Life Almost Over" + +#. TRANSLATORS: Envelope Maker Life Over +msgid "printer-state-reasons.make-envelope-life-over" +msgstr "Envelope Maker Life Over" + +#. TRANSLATORS: Envelope Maker Memory Exhausted +msgid "printer-state-reasons.make-envelope-memory-exhausted" +msgstr "Envelope Maker Memory Exhausted" + +#. TRANSLATORS: Envelope Maker Missing +msgid "printer-state-reasons.make-envelope-missing" +msgstr "Envelope Maker Missing" + +#. TRANSLATORS: Envelope Maker Motor Failure +msgid "printer-state-reasons.make-envelope-motor-failure" +msgstr "Envelope Maker Motor Failure" + +#. TRANSLATORS: Envelope Maker Near Limit +msgid "printer-state-reasons.make-envelope-near-limit" +msgstr "Envelope Maker Near Limit" + +#. TRANSLATORS: Envelope Maker Offline +msgid "printer-state-reasons.make-envelope-offline" +msgstr "Envelope Maker Offline" + +#. TRANSLATORS: Envelope Maker Opened +msgid "printer-state-reasons.make-envelope-opened" +msgstr "Envelope Maker Opened" + +#. TRANSLATORS: Envelope Maker Over Temperature +msgid "printer-state-reasons.make-envelope-over-temperature" +msgstr "Envelope Maker Over Temperature" + +#. TRANSLATORS: Envelope Maker Power Saver +msgid "printer-state-reasons.make-envelope-power-saver" +msgstr "Envelope Maker Power Saver" + +#. TRANSLATORS: Envelope Maker Recoverable Failure +msgid "printer-state-reasons.make-envelope-recoverable-failure" +msgstr "Envelope Maker Recoverable Failure" + +#. TRANSLATORS: Envelope Maker Recoverable Storage +msgid "printer-state-reasons.make-envelope-recoverable-storage" +msgstr "Envelope Maker Recoverable Storage" + +#. TRANSLATORS: Envelope Maker Removed +msgid "printer-state-reasons.make-envelope-removed" +msgstr "Envelope Maker Removed" + +#. TRANSLATORS: Envelope Maker Resource Added +msgid "printer-state-reasons.make-envelope-resource-added" +msgstr "Envelope Maker Resource Added" + +#. TRANSLATORS: Envelope Maker Resource Removed +msgid "printer-state-reasons.make-envelope-resource-removed" +msgstr "Envelope Maker Resource Removed" + +#. TRANSLATORS: Envelope Maker Thermistor Failure +msgid "printer-state-reasons.make-envelope-thermistor-failure" +msgstr "Envelope Maker Thermistor Failure" + +#. TRANSLATORS: Envelope Maker Timing Failure +msgid "printer-state-reasons.make-envelope-timing-failure" +msgstr "Envelope Maker Timing Failure" + +#. TRANSLATORS: Envelope Maker Turned Off +msgid "printer-state-reasons.make-envelope-turned-off" +msgstr "Envelope Maker Turned Off" + +#. TRANSLATORS: Envelope Maker Turned On +msgid "printer-state-reasons.make-envelope-turned-on" +msgstr "Envelope Maker Turned On" + +#. TRANSLATORS: Envelope Maker Under Temperature +msgid "printer-state-reasons.make-envelope-under-temperature" +msgstr "Envelope Maker Under Temperature" + +#. TRANSLATORS: Envelope Maker Unrecoverable Failure +msgid "printer-state-reasons.make-envelope-unrecoverable-failure" +msgstr "Envelope Maker Unrecoverable Failure" + +#. TRANSLATORS: Envelope Maker Unrecoverable Storage Error +msgid "printer-state-reasons.make-envelope-unrecoverable-storage-error" +msgstr "Envelope Maker Unrecoverable Storage Error" + +#. TRANSLATORS: Envelope Maker Warming Up +msgid "printer-state-reasons.make-envelope-warming-up" +msgstr "Envelope Maker Warming Up" + +#. TRANSLATORS: Marker Adjusting Print Quality +msgid "printer-state-reasons.marker-adjusting-print-quality" +msgstr "Marker Adjusting Print Quality" + +#. TRANSLATORS: Marker Cleaner Missing +msgid "printer-state-reasons.marker-cleaner-missing" +msgstr "Marker Cleaner Missing" + +#. TRANSLATORS: Marker Developer Almost Empty +msgid "printer-state-reasons.marker-developer-almost-empty" +msgstr "Marker Developer Almost Empty" + +#. TRANSLATORS: Marker Developer Empty +msgid "printer-state-reasons.marker-developer-empty" +msgstr "Marker Developer Empty" + +#. TRANSLATORS: Marker Developer Missing +msgid "printer-state-reasons.marker-developer-missing" +msgstr "Marker Developer Missing" + +#. TRANSLATORS: Marker Fuser Missing +msgid "printer-state-reasons.marker-fuser-missing" +msgstr "Marker Fuser Missing" + +#. TRANSLATORS: Marker Fuser Thermistor Failure +msgid "printer-state-reasons.marker-fuser-thermistor-failure" +msgstr "Marker Fuser Thermistor Failure" + +#. TRANSLATORS: Marker Fuser Timing Failure +msgid "printer-state-reasons.marker-fuser-timing-failure" +msgstr "Marker Fuser Timing Failure" + +#. TRANSLATORS: Marker Ink Almost Empty +msgid "printer-state-reasons.marker-ink-almost-empty" +msgstr "Low ink" + +#. TRANSLATORS: Marker Ink Empty +msgid "printer-state-reasons.marker-ink-empty" +msgstr "Ink empty" + +#. TRANSLATORS: Marker Ink Missing +msgid "printer-state-reasons.marker-ink-missing" +msgstr "Ink missing" + +#. TRANSLATORS: Marker Opc Missing +msgid "printer-state-reasons.marker-opc-missing" +msgstr "OPC missing" + +#. TRANSLATORS: Print ribbon Almost Empty +msgid "printer-state-reasons.marker-print-ribbon-almost-empty" +msgstr "Print ribbon Almost Empty" + +#. TRANSLATORS: Print ribbon Empty +msgid "printer-state-reasons.marker-print-ribbon-empty" +msgstr "Print ribbon Empty" + +#. TRANSLATORS: Print ribbon Missing +msgid "printer-state-reasons.marker-print-ribbon-missing" +msgstr "Print ribbon missing" + +#. TRANSLATORS: Marker Supply Almost Empty +msgid "printer-state-reasons.marker-supply-almost-empty" +msgstr "Ink/toner almost empty" + +#. TRANSLATORS: Ink/toner empty +msgid "printer-state-reasons.marker-supply-empty" +msgstr "Ink/toner empty" + +#. TRANSLATORS: Ink/toner low +msgid "printer-state-reasons.marker-supply-low" +msgstr "Ink/toner low" + +#. TRANSLATORS: Marker Supply Missing +msgid "printer-state-reasons.marker-supply-missing" +msgstr "Ink/toner missing" + +#. TRANSLATORS: Marker Toner Cartridge Missing +msgid "printer-state-reasons.marker-toner-cartridge-missing" +msgstr "Toner cartridge missing" + +#. TRANSLATORS: Marker Toner Missing +msgid "printer-state-reasons.marker-toner-missing" +msgstr "Toner missing" + +#. TRANSLATORS: Ink/toner waste bin almost full +msgid "printer-state-reasons.marker-waste-almost-full" +msgstr "Ink/toner waste bin almost full" + +#. TRANSLATORS: Ink/toner waste bin full +msgid "printer-state-reasons.marker-waste-full" +msgstr "Ink/toner waste bin full" + +#. TRANSLATORS: Marker Waste Ink Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-almost-full" +msgstr "Marker Waste Ink Receptacle Almost Full" + +#. TRANSLATORS: Marker Waste Ink Receptacle Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-full" +msgstr "Marker Waste Ink Receptacle Full" + +#. TRANSLATORS: Marker Waste Ink Receptacle Missing +msgid "printer-state-reasons.marker-waste-ink-receptacle-missing" +msgstr "Marker Waste Ink Receptacle Missing" + +#. TRANSLATORS: Marker Waste Missing +msgid "printer-state-reasons.marker-waste-missing" +msgstr "Ink/toner waste bin missing" + +#. TRANSLATORS: Marker Waste Toner Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-almost-full" +msgstr "Marker Waste Toner Receptacle Almost Full" + +#. TRANSLATORS: Marker Waste Toner Receptacle Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-full" +msgstr "Marker Waste Toner Receptacle Full" + +#. TRANSLATORS: Marker Waste Toner Receptacle Missing +msgid "printer-state-reasons.marker-waste-toner-receptacle-missing" +msgstr "Marker Waste Toner Receptacle Missing" + +#. TRANSLATORS: Material Empty +msgid "printer-state-reasons.material-empty" +msgstr "Material Empty" + +#. TRANSLATORS: Material Low +msgid "printer-state-reasons.material-low" +msgstr "Material Low" + +#. TRANSLATORS: Material Needed +msgid "printer-state-reasons.material-needed" +msgstr "Material Needed" + +#. TRANSLATORS: Media Drying +msgid "printer-state-reasons.media-drying" +msgstr "Media Drying" + +#. TRANSLATORS: Paper tray is empty +msgid "printer-state-reasons.media-empty" +msgstr "Media Empty" + +#. TRANSLATORS: Paper jam +msgid "printer-state-reasons.media-jam" +msgstr "Media Jam" + +#. TRANSLATORS: Paper tray is almost empty +msgid "printer-state-reasons.media-low" +msgstr "Paper tray is almost empty" + +#. TRANSLATORS: Load paper +msgid "printer-state-reasons.media-needed" +msgstr "Load paper" + +#. TRANSLATORS: Media Path Cannot Do 2-Sided Printing +msgid "printer-state-reasons.media-path-cannot-duplex-media-selected" +msgstr "Media Path Cannot Do 2-Sided Printing" + +#. TRANSLATORS: Media Path Failure +msgid "printer-state-reasons.media-path-failure" +msgstr "Media Path Failure" + +#. TRANSLATORS: Media Path Input Empty +msgid "printer-state-reasons.media-path-input-empty" +msgstr "Media Path Input Empty" + +#. TRANSLATORS: Media Path Input Feed Error +msgid "printer-state-reasons.media-path-input-feed-error" +msgstr "Media Path Input Feed Error" + +#. TRANSLATORS: Media Path Input Jam +msgid "printer-state-reasons.media-path-input-jam" +msgstr "Media Path Input Jam" + +#. TRANSLATORS: Media Path Input Request +msgid "printer-state-reasons.media-path-input-request" +msgstr "Media Path Input Request" + +#. TRANSLATORS: Media Path Jam +msgid "printer-state-reasons.media-path-jam" +msgstr "Media Path Jam" + +#. TRANSLATORS: Media Path Media Tray Almost Full +msgid "printer-state-reasons.media-path-media-tray-almost-full" +msgstr "Media Path Media Tray Almost Full" + +#. TRANSLATORS: Media Path Media Tray Full +msgid "printer-state-reasons.media-path-media-tray-full" +msgstr "Media Path Media Tray Full" + +#. TRANSLATORS: Media Path Media Tray Missing +msgid "printer-state-reasons.media-path-media-tray-missing" +msgstr "Media Path Media Tray Missing" + +#. TRANSLATORS: Media Path Output Feed Error +msgid "printer-state-reasons.media-path-output-feed-error" +msgstr "Media Path Output Feed Error" + +#. TRANSLATORS: Media Path Output Full +msgid "printer-state-reasons.media-path-output-full" +msgstr "Media Path Output Full" + +#. TRANSLATORS: Media Path Output Jam +msgid "printer-state-reasons.media-path-output-jam" +msgstr "Media Path Output Jam" + +#. TRANSLATORS: Media Path Pick Roller Failure +msgid "printer-state-reasons.media-path-pick-roller-failure" +msgstr "Media Path Pick Roller Failure" + +#. TRANSLATORS: Media Path Pick Roller Life Over +msgid "printer-state-reasons.media-path-pick-roller-life-over" +msgstr "Media Path Pick Roller Life Over" + +#. TRANSLATORS: Media Path Pick Roller Life Warn +msgid "printer-state-reasons.media-path-pick-roller-life-warn" +msgstr "Media Path Pick Roller Life Warn" + +#. TRANSLATORS: Media Path Pick Roller Missing +msgid "printer-state-reasons.media-path-pick-roller-missing" +msgstr "Media Path Pick Roller Missing" + +#. TRANSLATORS: Motor Failure +msgid "printer-state-reasons.motor-failure" +msgstr "Motor Failure" + +#. TRANSLATORS: Printer going offline +msgid "printer-state-reasons.moving-to-paused" +msgstr "Moving To Paused" + +#. TRANSLATORS: None +msgid "printer-state-reasons.none" +msgstr "None" + +#. TRANSLATORS: Optical Photoconductor Life Over +msgid "printer-state-reasons.opc-life-over" +msgstr "Optical Photoconductor Life Over" + +#. TRANSLATORS: OPC almost at end-of-life +msgid "printer-state-reasons.opc-near-eol" +msgstr "Optical Photoconductor Near End-of-life" + +#. TRANSLATORS: Check the printer for errors +msgid "printer-state-reasons.other" +msgstr "Other" + +#. TRANSLATORS: Output bin is almost full +msgid "printer-state-reasons.output-area-almost-full" +msgstr "Output Area Almost Full" + +#. TRANSLATORS: Output bin is full +msgid "printer-state-reasons.output-area-full" +msgstr "Output Area Full" + +#. TRANSLATORS: Output Mailbox Select Failure +msgid "printer-state-reasons.output-mailbox-select-failure" +msgstr "Output Mailbox Select Failure" + +#. TRANSLATORS: Output Media Tray Failure +msgid "printer-state-reasons.output-media-tray-failure" +msgstr "Output Media Tray Failure" + +#. TRANSLATORS: Output Media Tray Feed Error +msgid "printer-state-reasons.output-media-tray-feed-error" +msgstr "Output Media Tray Feed Error" + +#. TRANSLATORS: Output Media Tray Jam +msgid "printer-state-reasons.output-media-tray-jam" +msgstr "Output Media Tray Jam" + +#. TRANSLATORS: Output tray is missing +msgid "printer-state-reasons.output-tray-missing" +msgstr "Output Tray Missing" + +#. TRANSLATORS: Paused +msgid "printer-state-reasons.paused" +msgstr "Paused" + +#. TRANSLATORS: Perforater Added +msgid "printer-state-reasons.perforater-added" +msgstr "Perforater Added" + +#. TRANSLATORS: Perforater Almost Empty +msgid "printer-state-reasons.perforater-almost-empty" +msgstr "Perforater Almost Empty" + +#. TRANSLATORS: Perforater Almost Full +msgid "printer-state-reasons.perforater-almost-full" +msgstr "Perforater Almost Full" + +#. TRANSLATORS: Perforater At Limit +msgid "printer-state-reasons.perforater-at-limit" +msgstr "Perforater At Limit" + +#. TRANSLATORS: Perforater Closed +msgid "printer-state-reasons.perforater-closed" +msgstr "Perforater Closed" + +#. TRANSLATORS: Perforater Configuration Change +msgid "printer-state-reasons.perforater-configuration-change" +msgstr "Perforater Configuration Change" + +#. TRANSLATORS: Perforater Cover Closed +msgid "printer-state-reasons.perforater-cover-closed" +msgstr "Perforater Cover Closed" + +#. TRANSLATORS: Perforater Cover Open +msgid "printer-state-reasons.perforater-cover-open" +msgstr "Perforater Cover Open" + +#. TRANSLATORS: Perforater Empty +msgid "printer-state-reasons.perforater-empty" +msgstr "Perforater Empty" + +#. TRANSLATORS: Perforater Full +msgid "printer-state-reasons.perforater-full" +msgstr "Perforater Full" + +#. TRANSLATORS: Perforater Interlock Closed +msgid "printer-state-reasons.perforater-interlock-closed" +msgstr "Perforater Interlock Closed" + +#. TRANSLATORS: Perforater Interlock Open +msgid "printer-state-reasons.perforater-interlock-open" +msgstr "Perforater Interlock Open" + +#. TRANSLATORS: Perforater Jam +msgid "printer-state-reasons.perforater-jam" +msgstr "Perforater Jam" + +#. TRANSLATORS: Perforater Life Almost Over +msgid "printer-state-reasons.perforater-life-almost-over" +msgstr "Perforater Life Almost Over" + +#. TRANSLATORS: Perforater Life Over +msgid "printer-state-reasons.perforater-life-over" +msgstr "Perforater Life Over" + +#. TRANSLATORS: Perforater Memory Exhausted +msgid "printer-state-reasons.perforater-memory-exhausted" +msgstr "Perforater Memory Exhausted" + +#. TRANSLATORS: Perforater Missing +msgid "printer-state-reasons.perforater-missing" +msgstr "Perforater Missing" + +#. TRANSLATORS: Perforater Motor Failure +msgid "printer-state-reasons.perforater-motor-failure" +msgstr "Perforater Motor Failure" + +#. TRANSLATORS: Perforater Near Limit +msgid "printer-state-reasons.perforater-near-limit" +msgstr "Perforater Near Limit" + +#. TRANSLATORS: Perforater Offline +msgid "printer-state-reasons.perforater-offline" +msgstr "Perforater Offline" + +#. TRANSLATORS: Perforater Opened +msgid "printer-state-reasons.perforater-opened" +msgstr "Perforater Opened" + +#. TRANSLATORS: Perforater Over Temperature +msgid "printer-state-reasons.perforater-over-temperature" +msgstr "Perforater Over Temperature" + +#. TRANSLATORS: Perforater Power Saver +msgid "printer-state-reasons.perforater-power-saver" +msgstr "Perforater Power Saver" + +#. TRANSLATORS: Perforater Recoverable Failure +msgid "printer-state-reasons.perforater-recoverable-failure" +msgstr "Perforater Recoverable Failure" + +#. TRANSLATORS: Perforater Recoverable Storage +msgid "printer-state-reasons.perforater-recoverable-storage" +msgstr "Perforater Recoverable Storage" + +#. TRANSLATORS: Perforater Removed +msgid "printer-state-reasons.perforater-removed" +msgstr "Perforater Removed" + +#. TRANSLATORS: Perforater Resource Added +msgid "printer-state-reasons.perforater-resource-added" +msgstr "Perforater Resource Added" + +#. TRANSLATORS: Perforater Resource Removed +msgid "printer-state-reasons.perforater-resource-removed" +msgstr "Perforater Resource Removed" + +#. TRANSLATORS: Perforater Thermistor Failure +msgid "printer-state-reasons.perforater-thermistor-failure" +msgstr "Perforater Thermistor Failure" + +#. TRANSLATORS: Perforater Timing Failure +msgid "printer-state-reasons.perforater-timing-failure" +msgstr "Perforater Timing Failure" + +#. TRANSLATORS: Perforater Turned Off +msgid "printer-state-reasons.perforater-turned-off" +msgstr "Perforater Turned Off" + +#. TRANSLATORS: Perforater Turned On +msgid "printer-state-reasons.perforater-turned-on" +msgstr "Perforater Turned On" + +#. TRANSLATORS: Perforater Under Temperature +msgid "printer-state-reasons.perforater-under-temperature" +msgstr "Perforater Under Temperature" + +#. TRANSLATORS: Perforater Unrecoverable Failure +msgid "printer-state-reasons.perforater-unrecoverable-failure" +msgstr "Perforater Unrecoverable Failure" + +#. TRANSLATORS: Perforater Unrecoverable Storage Error +msgid "printer-state-reasons.perforater-unrecoverable-storage-error" +msgstr "Perforater Unrecoverable Storage Error" + +#. TRANSLATORS: Perforater Warming Up +msgid "printer-state-reasons.perforater-warming-up" +msgstr "Perforater Warming Up" + +#. TRANSLATORS: Platform Cooling +msgid "printer-state-reasons.platform-cooling" +msgstr "Platform Cooling" + +#. TRANSLATORS: Platform Failure +msgid "printer-state-reasons.platform-failure" +msgstr "Platform Failure" + +#. TRANSLATORS: Platform Heating +msgid "printer-state-reasons.platform-heating" +msgstr "Platform Heating" + +#. TRANSLATORS: Platform Temperature High +msgid "printer-state-reasons.platform-temperature-high" +msgstr "Platform Temperature High" + +#. TRANSLATORS: Platform Temperature Low +msgid "printer-state-reasons.platform-temperature-low" +msgstr "Platform Temperature Low" + +#. TRANSLATORS: Power Down +msgid "printer-state-reasons.power-down" +msgstr "Power Down" + +#. TRANSLATORS: Power Up +msgid "printer-state-reasons.power-up" +msgstr "Power Up" + +#. TRANSLATORS: Printer Reset Manually +msgid "printer-state-reasons.printer-manual-reset" +msgstr "Printer Reset Manually" + +#. TRANSLATORS: Printer Reset Remotely +msgid "printer-state-reasons.printer-nms-reset" +msgstr "Printer Reset Remotely" + +#. TRANSLATORS: Printer Ready To Print +msgid "printer-state-reasons.printer-ready-to-print" +msgstr "Printer Ready To Print" + +#. TRANSLATORS: Puncher Added +msgid "printer-state-reasons.puncher-added" +msgstr "Puncher Added" + +#. TRANSLATORS: Puncher Almost Empty +msgid "printer-state-reasons.puncher-almost-empty" +msgstr "Puncher Almost Empty" + +#. TRANSLATORS: Puncher Almost Full +msgid "printer-state-reasons.puncher-almost-full" +msgstr "Puncher Almost Full" + +#. TRANSLATORS: Puncher At Limit +msgid "printer-state-reasons.puncher-at-limit" +msgstr "Puncher At Limit" + +#. TRANSLATORS: Puncher Closed +msgid "printer-state-reasons.puncher-closed" +msgstr "Puncher Closed" + +#. TRANSLATORS: Puncher Configuration Change +msgid "printer-state-reasons.puncher-configuration-change" +msgstr "Puncher Configuration Change" + +#. TRANSLATORS: Puncher Cover Closed +msgid "printer-state-reasons.puncher-cover-closed" +msgstr "Puncher Cover Closed" + +#. TRANSLATORS: Puncher Cover Open +msgid "printer-state-reasons.puncher-cover-open" +msgstr "Puncher Cover Open" + +#. TRANSLATORS: Puncher Empty +msgid "printer-state-reasons.puncher-empty" +msgstr "Puncher Empty" + +#. TRANSLATORS: Puncher Full +msgid "printer-state-reasons.puncher-full" +msgstr "Puncher Full" + +#. TRANSLATORS: Puncher Interlock Closed +msgid "printer-state-reasons.puncher-interlock-closed" +msgstr "Puncher Interlock Closed" + +#. TRANSLATORS: Puncher Interlock Open +msgid "printer-state-reasons.puncher-interlock-open" +msgstr "Puncher Interlock Open" + +#. TRANSLATORS: Puncher Jam +msgid "printer-state-reasons.puncher-jam" +msgstr "Puncher Jam" + +#. TRANSLATORS: Puncher Life Almost Over +msgid "printer-state-reasons.puncher-life-almost-over" +msgstr "Puncher Life Almost Over" + +#. TRANSLATORS: Puncher Life Over +msgid "printer-state-reasons.puncher-life-over" +msgstr "Puncher Life Over" + +#. TRANSLATORS: Puncher Memory Exhausted +msgid "printer-state-reasons.puncher-memory-exhausted" +msgstr "Puncher Memory Exhausted" + +#. TRANSLATORS: Puncher Missing +msgid "printer-state-reasons.puncher-missing" +msgstr "Puncher Missing" + +#. TRANSLATORS: Puncher Motor Failure +msgid "printer-state-reasons.puncher-motor-failure" +msgstr "Puncher Motor Failure" + +#. TRANSLATORS: Puncher Near Limit +msgid "printer-state-reasons.puncher-near-limit" +msgstr "Puncher Near Limit" + +#. TRANSLATORS: Puncher Offline +msgid "printer-state-reasons.puncher-offline" +msgstr "Puncher Offline" + +#. TRANSLATORS: Puncher Opened +msgid "printer-state-reasons.puncher-opened" +msgstr "Puncher Opened" + +#. TRANSLATORS: Puncher Over Temperature +msgid "printer-state-reasons.puncher-over-temperature" +msgstr "Puncher Over Temperature" + +#. TRANSLATORS: Puncher Power Saver +msgid "printer-state-reasons.puncher-power-saver" +msgstr "Puncher Power Saver" + +#. TRANSLATORS: Puncher Recoverable Failure +msgid "printer-state-reasons.puncher-recoverable-failure" +msgstr "Puncher Recoverable Failure" + +#. TRANSLATORS: Puncher Recoverable Storage +msgid "printer-state-reasons.puncher-recoverable-storage" +msgstr "Puncher Recoverable Storage" + +#. TRANSLATORS: Puncher Removed +msgid "printer-state-reasons.puncher-removed" +msgstr "Puncher Removed" + +#. TRANSLATORS: Puncher Resource Added +msgid "printer-state-reasons.puncher-resource-added" +msgstr "Puncher Resource Added" + +#. TRANSLATORS: Puncher Resource Removed +msgid "printer-state-reasons.puncher-resource-removed" +msgstr "Puncher Resource Removed" + +#. TRANSLATORS: Puncher Thermistor Failure +msgid "printer-state-reasons.puncher-thermistor-failure" +msgstr "Puncher Thermistor Failure" + +#. TRANSLATORS: Puncher Timing Failure +msgid "printer-state-reasons.puncher-timing-failure" +msgstr "Puncher Timing Failure" + +#. TRANSLATORS: Puncher Turned Off +msgid "printer-state-reasons.puncher-turned-off" +msgstr "Puncher Turned Off" + +#. TRANSLATORS: Puncher Turned On +msgid "printer-state-reasons.puncher-turned-on" +msgstr "Puncher Turned On" + +#. TRANSLATORS: Puncher Under Temperature +msgid "printer-state-reasons.puncher-under-temperature" +msgstr "Puncher Under Temperature" + +#. TRANSLATORS: Puncher Unrecoverable Failure +msgid "printer-state-reasons.puncher-unrecoverable-failure" +msgstr "Puncher Unrecoverable Failure" + +#. TRANSLATORS: Puncher Unrecoverable Storage Error +msgid "printer-state-reasons.puncher-unrecoverable-storage-error" +msgstr "Puncher Unrecoverable Storage Error" + +#. TRANSLATORS: Puncher Warming Up +msgid "printer-state-reasons.puncher-warming-up" +msgstr "Puncher Warming Up" + +#. TRANSLATORS: Separation Cutter Added +msgid "printer-state-reasons.separation-cutter-added" +msgstr "Separation Cutter Added" + +#. TRANSLATORS: Separation Cutter Almost Empty +msgid "printer-state-reasons.separation-cutter-almost-empty" +msgstr "Separation Cutter Almost Empty" + +#. TRANSLATORS: Separation Cutter Almost Full +msgid "printer-state-reasons.separation-cutter-almost-full" +msgstr "Separation Cutter Almost Full" + +#. TRANSLATORS: Separation Cutter At Limit +msgid "printer-state-reasons.separation-cutter-at-limit" +msgstr "Separation Cutter At Limit" + +#. TRANSLATORS: Separation Cutter Closed +msgid "printer-state-reasons.separation-cutter-closed" +msgstr "Separation Cutter Closed" + +#. TRANSLATORS: Separation Cutter Configuration Change +msgid "printer-state-reasons.separation-cutter-configuration-change" +msgstr "Separation Cutter Configuration Change" + +#. TRANSLATORS: Separation Cutter Cover Closed +msgid "printer-state-reasons.separation-cutter-cover-closed" +msgstr "Separation Cutter Cover Closed" + +#. TRANSLATORS: Separation Cutter Cover Open +msgid "printer-state-reasons.separation-cutter-cover-open" +msgstr "Separation Cutter Cover Open" + +#. TRANSLATORS: Separation Cutter Empty +msgid "printer-state-reasons.separation-cutter-empty" +msgstr "Separation Cutter Empty" + +#. TRANSLATORS: Separation Cutter Full +msgid "printer-state-reasons.separation-cutter-full" +msgstr "Separation Cutter Full" + +#. TRANSLATORS: Separation Cutter Interlock Closed +msgid "printer-state-reasons.separation-cutter-interlock-closed" +msgstr "Separation Cutter Interlock Closed" + +#. TRANSLATORS: Separation Cutter Interlock Open +msgid "printer-state-reasons.separation-cutter-interlock-open" +msgstr "Separation Cutter Interlock Open" + +#. TRANSLATORS: Separation Cutter Jam +msgid "printer-state-reasons.separation-cutter-jam" +msgstr "Separation Cutter Jam" + +#. TRANSLATORS: Separation Cutter Life Almost Over +msgid "printer-state-reasons.separation-cutter-life-almost-over" +msgstr "Separation Cutter Life Almost Over" + +#. TRANSLATORS: Separation Cutter Life Over +msgid "printer-state-reasons.separation-cutter-life-over" +msgstr "Separation Cutter Life Over" + +#. TRANSLATORS: Separation Cutter Memory Exhausted +msgid "printer-state-reasons.separation-cutter-memory-exhausted" +msgstr "Separation Cutter Memory Exhausted" + +#. TRANSLATORS: Separation Cutter Missing +msgid "printer-state-reasons.separation-cutter-missing" +msgstr "Separation Cutter Missing" + +#. TRANSLATORS: Separation Cutter Motor Failure +msgid "printer-state-reasons.separation-cutter-motor-failure" +msgstr "Separation Cutter Motor Failure" + +#. TRANSLATORS: Separation Cutter Near Limit +msgid "printer-state-reasons.separation-cutter-near-limit" +msgstr "Separation Cutter Near Limit" + +#. TRANSLATORS: Separation Cutter Offline +msgid "printer-state-reasons.separation-cutter-offline" +msgstr "Separation Cutter Offline" + +#. TRANSLATORS: Separation Cutter Opened +msgid "printer-state-reasons.separation-cutter-opened" +msgstr "Separation Cutter Opened" + +#. TRANSLATORS: Separation Cutter Over Temperature +msgid "printer-state-reasons.separation-cutter-over-temperature" +msgstr "Separation Cutter Over Temperature" + +#. TRANSLATORS: Separation Cutter Power Saver +msgid "printer-state-reasons.separation-cutter-power-saver" +msgstr "Separation Cutter Power Saver" + +#. TRANSLATORS: Separation Cutter Recoverable Failure +msgid "printer-state-reasons.separation-cutter-recoverable-failure" +msgstr "Separation Cutter Recoverable Failure" + +#. TRANSLATORS: Separation Cutter Recoverable Storage +msgid "printer-state-reasons.separation-cutter-recoverable-storage" +msgstr "Separation Cutter Recoverable Storage" + +#. TRANSLATORS: Separation Cutter Removed +msgid "printer-state-reasons.separation-cutter-removed" +msgstr "Separation Cutter Removed" + +#. TRANSLATORS: Separation Cutter Resource Added +msgid "printer-state-reasons.separation-cutter-resource-added" +msgstr "Separation Cutter Resource Added" + +#. TRANSLATORS: Separation Cutter Resource Removed +msgid "printer-state-reasons.separation-cutter-resource-removed" +msgstr "Separation Cutter Resource Removed" + +#. TRANSLATORS: Separation Cutter Thermistor Failure +msgid "printer-state-reasons.separation-cutter-thermistor-failure" +msgstr "Separation Cutter Thermistor Failure" + +#. TRANSLATORS: Separation Cutter Timing Failure +msgid "printer-state-reasons.separation-cutter-timing-failure" +msgstr "Separation Cutter Timing Failure" + +#. TRANSLATORS: Separation Cutter Turned Off +msgid "printer-state-reasons.separation-cutter-turned-off" +msgstr "Separation Cutter Turned Off" + +#. TRANSLATORS: Separation Cutter Turned On +msgid "printer-state-reasons.separation-cutter-turned-on" +msgstr "Separation Cutter Turned On" + +#. TRANSLATORS: Separation Cutter Under Temperature +msgid "printer-state-reasons.separation-cutter-under-temperature" +msgstr "Separation Cutter Under Temperature" + +#. TRANSLATORS: Separation Cutter Unrecoverable Failure +msgid "printer-state-reasons.separation-cutter-unrecoverable-failure" +msgstr "Separation Cutter Unrecoverable Failure" + +#. TRANSLATORS: Separation Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.separation-cutter-unrecoverable-storage-error" +msgstr "Separation Cutter Unrecoverable Storage Error" + +#. TRANSLATORS: Separation Cutter Warming Up +msgid "printer-state-reasons.separation-cutter-warming-up" +msgstr "Separation Cutter Warming Up" + +#. TRANSLATORS: Sheet Rotator Added +msgid "printer-state-reasons.sheet-rotator-added" +msgstr "Sheet Rotator Added" + +#. TRANSLATORS: Sheet Rotator Almost Empty +msgid "printer-state-reasons.sheet-rotator-almost-empty" +msgstr "Sheet Rotator Almost Empty" + +#. TRANSLATORS: Sheet Rotator Almost Full +msgid "printer-state-reasons.sheet-rotator-almost-full" +msgstr "Sheet Rotator Almost Full" + +#. TRANSLATORS: Sheet Rotator At Limit +msgid "printer-state-reasons.sheet-rotator-at-limit" +msgstr "Sheet Rotator At Limit" + +#. TRANSLATORS: Sheet Rotator Closed +msgid "printer-state-reasons.sheet-rotator-closed" +msgstr "Sheet Rotator Closed" + +#. TRANSLATORS: Sheet Rotator Configuration Change +msgid "printer-state-reasons.sheet-rotator-configuration-change" +msgstr "Sheet Rotator Configuration Change" + +#. TRANSLATORS: Sheet Rotator Cover Closed +msgid "printer-state-reasons.sheet-rotator-cover-closed" +msgstr "Sheet Rotator Cover Closed" + +#. TRANSLATORS: Sheet Rotator Cover Open +msgid "printer-state-reasons.sheet-rotator-cover-open" +msgstr "Sheet Rotator Cover Open" + +#. TRANSLATORS: Sheet Rotator Empty +msgid "printer-state-reasons.sheet-rotator-empty" +msgstr "Sheet Rotator Empty" + +#. TRANSLATORS: Sheet Rotator Full +msgid "printer-state-reasons.sheet-rotator-full" +msgstr "Sheet Rotator Full" + +#. TRANSLATORS: Sheet Rotator Interlock Closed +msgid "printer-state-reasons.sheet-rotator-interlock-closed" +msgstr "Sheet Rotator Interlock Closed" + +#. TRANSLATORS: Sheet Rotator Interlock Open +msgid "printer-state-reasons.sheet-rotator-interlock-open" +msgstr "Sheet Rotator Interlock Open" + +#. TRANSLATORS: Sheet Rotator Jam +msgid "printer-state-reasons.sheet-rotator-jam" +msgstr "Sheet Rotator Jam" + +#. TRANSLATORS: Sheet Rotator Life Almost Over +msgid "printer-state-reasons.sheet-rotator-life-almost-over" +msgstr "Sheet Rotator Life Almost Over" + +#. TRANSLATORS: Sheet Rotator Life Over +msgid "printer-state-reasons.sheet-rotator-life-over" +msgstr "Sheet Rotator Life Over" + +#. TRANSLATORS: Sheet Rotator Memory Exhausted +msgid "printer-state-reasons.sheet-rotator-memory-exhausted" +msgstr "Sheet Rotator Memory Exhausted" + +#. TRANSLATORS: Sheet Rotator Missing +msgid "printer-state-reasons.sheet-rotator-missing" +msgstr "Sheet Rotator Missing" + +#. TRANSLATORS: Sheet Rotator Motor Failure +msgid "printer-state-reasons.sheet-rotator-motor-failure" +msgstr "Sheet Rotator Motor Failure" + +#. TRANSLATORS: Sheet Rotator Near Limit +msgid "printer-state-reasons.sheet-rotator-near-limit" +msgstr "Sheet Rotator Near Limit" + +#. TRANSLATORS: Sheet Rotator Offline +msgid "printer-state-reasons.sheet-rotator-offline" +msgstr "Sheet Rotator Offline" + +#. TRANSLATORS: Sheet Rotator Opened +msgid "printer-state-reasons.sheet-rotator-opened" +msgstr "Sheet Rotator Opened" + +#. TRANSLATORS: Sheet Rotator Over Temperature +msgid "printer-state-reasons.sheet-rotator-over-temperature" +msgstr "Sheet Rotator Over Temperature" + +#. TRANSLATORS: Sheet Rotator Power Saver +msgid "printer-state-reasons.sheet-rotator-power-saver" +msgstr "Sheet Rotator Power Saver" + +#. TRANSLATORS: Sheet Rotator Recoverable Failure +msgid "printer-state-reasons.sheet-rotator-recoverable-failure" +msgstr "Sheet Rotator Recoverable Failure" + +#. TRANSLATORS: Sheet Rotator Recoverable Storage +msgid "printer-state-reasons.sheet-rotator-recoverable-storage" +msgstr "Sheet Rotator Recoverable Storage" + +#. TRANSLATORS: Sheet Rotator Removed +msgid "printer-state-reasons.sheet-rotator-removed" +msgstr "Sheet Rotator Removed" + +#. TRANSLATORS: Sheet Rotator Resource Added +msgid "printer-state-reasons.sheet-rotator-resource-added" +msgstr "Sheet Rotator Resource Added" + +#. TRANSLATORS: Sheet Rotator Resource Removed +msgid "printer-state-reasons.sheet-rotator-resource-removed" +msgstr "Sheet Rotator Resource Removed" + +#. TRANSLATORS: Sheet Rotator Thermistor Failure +msgid "printer-state-reasons.sheet-rotator-thermistor-failure" +msgstr "Sheet Rotator Thermistor Failure" + +#. TRANSLATORS: Sheet Rotator Timing Failure +msgid "printer-state-reasons.sheet-rotator-timing-failure" +msgstr "Sheet Rotator Timing Failure" + +#. TRANSLATORS: Sheet Rotator Turned Off +msgid "printer-state-reasons.sheet-rotator-turned-off" +msgstr "Sheet Rotator Turned Off" + +#. TRANSLATORS: Sheet Rotator Turned On +msgid "printer-state-reasons.sheet-rotator-turned-on" +msgstr "Sheet Rotator Turned On" + +#. TRANSLATORS: Sheet Rotator Under Temperature +msgid "printer-state-reasons.sheet-rotator-under-temperature" +msgstr "Sheet Rotator Under Temperature" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Failure +msgid "printer-state-reasons.sheet-rotator-unrecoverable-failure" +msgstr "Sheet Rotator Unrecoverable Failure" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +msgid "printer-state-reasons.sheet-rotator-unrecoverable-storage-error" +msgstr "Sheet Rotator Unrecoverable Storage Error" + +#. TRANSLATORS: Sheet Rotator Warming Up +msgid "printer-state-reasons.sheet-rotator-warming-up" +msgstr "Sheet Rotator Warming Up" + +#. TRANSLATORS: Printer offline +msgid "printer-state-reasons.shutdown" +msgstr "Shutdown" + +#. TRANSLATORS: Slitter Added +msgid "printer-state-reasons.slitter-added" +msgstr "Slitter Added" + +#. TRANSLATORS: Slitter Almost Empty +msgid "printer-state-reasons.slitter-almost-empty" +msgstr "Slitter Almost Empty" + +#. TRANSLATORS: Slitter Almost Full +msgid "printer-state-reasons.slitter-almost-full" +msgstr "Slitter Almost Full" + +#. TRANSLATORS: Slitter At Limit +msgid "printer-state-reasons.slitter-at-limit" +msgstr "Slitter At Limit" + +#. TRANSLATORS: Slitter Closed +msgid "printer-state-reasons.slitter-closed" +msgstr "Slitter Closed" + +#. TRANSLATORS: Slitter Configuration Change +msgid "printer-state-reasons.slitter-configuration-change" +msgstr "Slitter Configuration Change" + +#. TRANSLATORS: Slitter Cover Closed +msgid "printer-state-reasons.slitter-cover-closed" +msgstr "Slitter Cover Closed" + +#. TRANSLATORS: Slitter Cover Open +msgid "printer-state-reasons.slitter-cover-open" +msgstr "Slitter Cover Open" + +#. TRANSLATORS: Slitter Empty +msgid "printer-state-reasons.slitter-empty" +msgstr "Slitter Empty" + +#. TRANSLATORS: Slitter Full +msgid "printer-state-reasons.slitter-full" +msgstr "Slitter Full" + +#. TRANSLATORS: Slitter Interlock Closed +msgid "printer-state-reasons.slitter-interlock-closed" +msgstr "Slitter Interlock Closed" + +#. TRANSLATORS: Slitter Interlock Open +msgid "printer-state-reasons.slitter-interlock-open" +msgstr "Slitter Interlock Open" + +#. TRANSLATORS: Slitter Jam +msgid "printer-state-reasons.slitter-jam" +msgstr "Slitter Jam" + +#. TRANSLATORS: Slitter Life Almost Over +msgid "printer-state-reasons.slitter-life-almost-over" +msgstr "Slitter Life Almost Over" + +#. TRANSLATORS: Slitter Life Over +msgid "printer-state-reasons.slitter-life-over" +msgstr "Slitter Life Over" + +#. TRANSLATORS: Slitter Memory Exhausted +msgid "printer-state-reasons.slitter-memory-exhausted" +msgstr "Slitter Memory Exhausted" + +#. TRANSLATORS: Slitter Missing +msgid "printer-state-reasons.slitter-missing" +msgstr "Slitter Missing" + +#. TRANSLATORS: Slitter Motor Failure +msgid "printer-state-reasons.slitter-motor-failure" +msgstr "Slitter Motor Failure" + +#. TRANSLATORS: Slitter Near Limit +msgid "printer-state-reasons.slitter-near-limit" +msgstr "Slitter Near Limit" + +#. TRANSLATORS: Slitter Offline +msgid "printer-state-reasons.slitter-offline" +msgstr "Slitter Offline" + +#. TRANSLATORS: Slitter Opened +msgid "printer-state-reasons.slitter-opened" +msgstr "Slitter Opened" + +#. TRANSLATORS: Slitter Over Temperature +msgid "printer-state-reasons.slitter-over-temperature" +msgstr "Slitter Over Temperature" + +#. TRANSLATORS: Slitter Power Saver +msgid "printer-state-reasons.slitter-power-saver" +msgstr "Slitter Power Saver" + +#. TRANSLATORS: Slitter Recoverable Failure +msgid "printer-state-reasons.slitter-recoverable-failure" +msgstr "Slitter Recoverable Failure" + +#. TRANSLATORS: Slitter Recoverable Storage +msgid "printer-state-reasons.slitter-recoverable-storage" +msgstr "Slitter Recoverable Storage" + +#. TRANSLATORS: Slitter Removed +msgid "printer-state-reasons.slitter-removed" +msgstr "Slitter Removed" + +#. TRANSLATORS: Slitter Resource Added +msgid "printer-state-reasons.slitter-resource-added" +msgstr "Slitter Resource Added" + +#. TRANSLATORS: Slitter Resource Removed +msgid "printer-state-reasons.slitter-resource-removed" +msgstr "Slitter Resource Removed" + +#. TRANSLATORS: Slitter Thermistor Failure +msgid "printer-state-reasons.slitter-thermistor-failure" +msgstr "Slitter Thermistor Failure" + +#. TRANSLATORS: Slitter Timing Failure +msgid "printer-state-reasons.slitter-timing-failure" +msgstr "Slitter Timing Failure" + +#. TRANSLATORS: Slitter Turned Off +msgid "printer-state-reasons.slitter-turned-off" +msgstr "Slitter Turned Off" + +#. TRANSLATORS: Slitter Turned On +msgid "printer-state-reasons.slitter-turned-on" +msgstr "Slitter Turned On" + +#. TRANSLATORS: Slitter Under Temperature +msgid "printer-state-reasons.slitter-under-temperature" +msgstr "Slitter Under Temperature" + +#. TRANSLATORS: Slitter Unrecoverable Failure +msgid "printer-state-reasons.slitter-unrecoverable-failure" +msgstr "Slitter Unrecoverable Failure" + +#. TRANSLATORS: Slitter Unrecoverable Storage Error +msgid "printer-state-reasons.slitter-unrecoverable-storage-error" +msgstr "Slitter Unrecoverable Storage Error" + +#. TRANSLATORS: Slitter Warming Up +msgid "printer-state-reasons.slitter-warming-up" +msgstr "Slitter Warming Up" + +#. TRANSLATORS: Spool Area Full +msgid "printer-state-reasons.spool-area-full" +msgstr "Spool Area Full" + +#. TRANSLATORS: Stacker Added +msgid "printer-state-reasons.stacker-added" +msgstr "Stacker Added" + +#. TRANSLATORS: Stacker Almost Empty +msgid "printer-state-reasons.stacker-almost-empty" +msgstr "Stacker Almost Empty" + +#. TRANSLATORS: Stacker Almost Full +msgid "printer-state-reasons.stacker-almost-full" +msgstr "Stacker Almost Full" + +#. TRANSLATORS: Stacker At Limit +msgid "printer-state-reasons.stacker-at-limit" +msgstr "Stacker At Limit" + +#. TRANSLATORS: Stacker Closed +msgid "printer-state-reasons.stacker-closed" +msgstr "Stacker Closed" + +#. TRANSLATORS: Stacker Configuration Change +msgid "printer-state-reasons.stacker-configuration-change" +msgstr "Stacker Configuration Change" + +#. TRANSLATORS: Stacker Cover Closed +msgid "printer-state-reasons.stacker-cover-closed" +msgstr "Stacker Cover Closed" + +#. TRANSLATORS: Stacker Cover Open +msgid "printer-state-reasons.stacker-cover-open" +msgstr "Stacker Cover Open" + +#. TRANSLATORS: Stacker Empty +msgid "printer-state-reasons.stacker-empty" +msgstr "Stacker Empty" + +#. TRANSLATORS: Stacker Full +msgid "printer-state-reasons.stacker-full" +msgstr "Stacker Full" + +#. TRANSLATORS: Stacker Interlock Closed +msgid "printer-state-reasons.stacker-interlock-closed" +msgstr "Stacker Interlock Closed" + +#. TRANSLATORS: Stacker Interlock Open +msgid "printer-state-reasons.stacker-interlock-open" +msgstr "Stacker Interlock Open" + +#. TRANSLATORS: Stacker Jam +msgid "printer-state-reasons.stacker-jam" +msgstr "Stacker Jam" + +#. TRANSLATORS: Stacker Life Almost Over +msgid "printer-state-reasons.stacker-life-almost-over" +msgstr "Stacker Life Almost Over" + +#. TRANSLATORS: Stacker Life Over +msgid "printer-state-reasons.stacker-life-over" +msgstr "Stacker Life Over" + +#. TRANSLATORS: Stacker Memory Exhausted +msgid "printer-state-reasons.stacker-memory-exhausted" +msgstr "Stacker Memory Exhausted" + +#. TRANSLATORS: Stacker Missing +msgid "printer-state-reasons.stacker-missing" +msgstr "Stacker Missing" + +#. TRANSLATORS: Stacker Motor Failure +msgid "printer-state-reasons.stacker-motor-failure" +msgstr "Stacker Motor Failure" + +#. TRANSLATORS: Stacker Near Limit +msgid "printer-state-reasons.stacker-near-limit" +msgstr "Stacker Near Limit" + +#. TRANSLATORS: Stacker Offline +msgid "printer-state-reasons.stacker-offline" +msgstr "Stacker Offline" + +#. TRANSLATORS: Stacker Opened +msgid "printer-state-reasons.stacker-opened" +msgstr "Stacker Opened" + +#. TRANSLATORS: Stacker Over Temperature +msgid "printer-state-reasons.stacker-over-temperature" +msgstr "Stacker Over Temperature" + +#. TRANSLATORS: Stacker Power Saver +msgid "printer-state-reasons.stacker-power-saver" +msgstr "Stacker Power Saver" + +#. TRANSLATORS: Stacker Recoverable Failure +msgid "printer-state-reasons.stacker-recoverable-failure" +msgstr "Stacker Recoverable Failure" + +#. TRANSLATORS: Stacker Recoverable Storage +msgid "printer-state-reasons.stacker-recoverable-storage" +msgstr "Stacker Recoverable Storage" + +#. TRANSLATORS: Stacker Removed +msgid "printer-state-reasons.stacker-removed" +msgstr "Stacker Removed" + +#. TRANSLATORS: Stacker Resource Added +msgid "printer-state-reasons.stacker-resource-added" +msgstr "Stacker Resource Added" + +#. TRANSLATORS: Stacker Resource Removed +msgid "printer-state-reasons.stacker-resource-removed" +msgstr "Stacker Resource Removed" + +#. TRANSLATORS: Stacker Thermistor Failure +msgid "printer-state-reasons.stacker-thermistor-failure" +msgstr "Stacker Thermistor Failure" + +#. TRANSLATORS: Stacker Timing Failure +msgid "printer-state-reasons.stacker-timing-failure" +msgstr "Stacker Timing Failure" + +#. TRANSLATORS: Stacker Turned Off +msgid "printer-state-reasons.stacker-turned-off" +msgstr "Stacker Turned Off" + +#. TRANSLATORS: Stacker Turned On +msgid "printer-state-reasons.stacker-turned-on" +msgstr "Stacker Turned On" + +#. TRANSLATORS: Stacker Under Temperature +msgid "printer-state-reasons.stacker-under-temperature" +msgstr "Stacker Under Temperature" + +#. TRANSLATORS: Stacker Unrecoverable Failure +msgid "printer-state-reasons.stacker-unrecoverable-failure" +msgstr "Stacker Unrecoverable Failure" + +#. TRANSLATORS: Stacker Unrecoverable Storage Error +msgid "printer-state-reasons.stacker-unrecoverable-storage-error" +msgstr "Stacker Unrecoverable Storage Error" + +#. TRANSLATORS: Stacker Warming Up +msgid "printer-state-reasons.stacker-warming-up" +msgstr "Stacker Warming Up" + +#. TRANSLATORS: Stapler Added +msgid "printer-state-reasons.stapler-added" +msgstr "Stapler Added" + +#. TRANSLATORS: Stapler Almost Empty +msgid "printer-state-reasons.stapler-almost-empty" +msgstr "Stapler Almost Empty" + +#. TRANSLATORS: Stapler Almost Full +msgid "printer-state-reasons.stapler-almost-full" +msgstr "Stapler Almost Full" + +#. TRANSLATORS: Stapler At Limit +msgid "printer-state-reasons.stapler-at-limit" +msgstr "Stapler At Limit" + +#. TRANSLATORS: Stapler Closed +msgid "printer-state-reasons.stapler-closed" +msgstr "Stapler Closed" + +#. TRANSLATORS: Stapler Configuration Change +msgid "printer-state-reasons.stapler-configuration-change" +msgstr "Stapler Configuration Change" + +#. TRANSLATORS: Stapler Cover Closed +msgid "printer-state-reasons.stapler-cover-closed" +msgstr "Stapler Cover Closed" + +#. TRANSLATORS: Stapler Cover Open +msgid "printer-state-reasons.stapler-cover-open" +msgstr "Stapler Cover Open" + +#. TRANSLATORS: Stapler Empty +msgid "printer-state-reasons.stapler-empty" +msgstr "Stapler Empty" + +#. TRANSLATORS: Stapler Full +msgid "printer-state-reasons.stapler-full" +msgstr "Stapler Full" + +#. TRANSLATORS: Stapler Interlock Closed +msgid "printer-state-reasons.stapler-interlock-closed" +msgstr "Stapler Interlock Closed" + +#. TRANSLATORS: Stapler Interlock Open +msgid "printer-state-reasons.stapler-interlock-open" +msgstr "Stapler Interlock Open" + +#. TRANSLATORS: Stapler Jam +msgid "printer-state-reasons.stapler-jam" +msgstr "Stapler Jam" + +#. TRANSLATORS: Stapler Life Almost Over +msgid "printer-state-reasons.stapler-life-almost-over" +msgstr "Stapler Life Almost Over" + +#. TRANSLATORS: Stapler Life Over +msgid "printer-state-reasons.stapler-life-over" +msgstr "Stapler Life Over" + +#. TRANSLATORS: Stapler Memory Exhausted +msgid "printer-state-reasons.stapler-memory-exhausted" +msgstr "Stapler Memory Exhausted" + +#. TRANSLATORS: Stapler Missing +msgid "printer-state-reasons.stapler-missing" +msgstr "Stapler Missing" + +#. TRANSLATORS: Stapler Motor Failure +msgid "printer-state-reasons.stapler-motor-failure" +msgstr "Stapler Motor Failure" + +#. TRANSLATORS: Stapler Near Limit +msgid "printer-state-reasons.stapler-near-limit" +msgstr "Stapler Near Limit" + +#. TRANSLATORS: Stapler Offline +msgid "printer-state-reasons.stapler-offline" +msgstr "Stapler Offline" + +#. TRANSLATORS: Stapler Opened +msgid "printer-state-reasons.stapler-opened" +msgstr "Stapler Opened" + +#. TRANSLATORS: Stapler Over Temperature +msgid "printer-state-reasons.stapler-over-temperature" +msgstr "Stapler Over Temperature" + +#. TRANSLATORS: Stapler Power Saver +msgid "printer-state-reasons.stapler-power-saver" +msgstr "Stapler Power Saver" + +#. TRANSLATORS: Stapler Recoverable Failure +msgid "printer-state-reasons.stapler-recoverable-failure" +msgstr "Stapler Recoverable Failure" + +#. TRANSLATORS: Stapler Recoverable Storage +msgid "printer-state-reasons.stapler-recoverable-storage" +msgstr "Stapler Recoverable Storage" + +#. TRANSLATORS: Stapler Removed +msgid "printer-state-reasons.stapler-removed" +msgstr "Stapler Removed" + +#. TRANSLATORS: Stapler Resource Added +msgid "printer-state-reasons.stapler-resource-added" +msgstr "Stapler Resource Added" + +#. TRANSLATORS: Stapler Resource Removed +msgid "printer-state-reasons.stapler-resource-removed" +msgstr "Stapler Resource Removed" + +#. TRANSLATORS: Stapler Thermistor Failure +msgid "printer-state-reasons.stapler-thermistor-failure" +msgstr "Stapler Thermistor Failure" + +#. TRANSLATORS: Stapler Timing Failure +msgid "printer-state-reasons.stapler-timing-failure" +msgstr "Stapler Timing Failure" + +#. TRANSLATORS: Stapler Turned Off +msgid "printer-state-reasons.stapler-turned-off" +msgstr "Stapler Turned Off" + +#. TRANSLATORS: Stapler Turned On +msgid "printer-state-reasons.stapler-turned-on" +msgstr "Stapler Turned On" + +#. TRANSLATORS: Stapler Under Temperature +msgid "printer-state-reasons.stapler-under-temperature" +msgstr "Stapler Under Temperature" + +#. TRANSLATORS: Stapler Unrecoverable Failure +msgid "printer-state-reasons.stapler-unrecoverable-failure" +msgstr "Stapler Unrecoverable Failure" + +#. TRANSLATORS: Stapler Unrecoverable Storage Error +msgid "printer-state-reasons.stapler-unrecoverable-storage-error" +msgstr "Stapler Unrecoverable Storage Error" + +#. TRANSLATORS: Stapler Warming Up +msgid "printer-state-reasons.stapler-warming-up" +msgstr "Stapler Warming Up" + +#. TRANSLATORS: Stitcher Added +msgid "printer-state-reasons.stitcher-added" +msgstr "Stitcher Added" + +#. TRANSLATORS: Stitcher Almost Empty +msgid "printer-state-reasons.stitcher-almost-empty" +msgstr "Stitcher Almost Empty" + +#. TRANSLATORS: Stitcher Almost Full +msgid "printer-state-reasons.stitcher-almost-full" +msgstr "Stitcher Almost Full" + +#. TRANSLATORS: Stitcher At Limit +msgid "printer-state-reasons.stitcher-at-limit" +msgstr "Stitcher At Limit" + +#. TRANSLATORS: Stitcher Closed +msgid "printer-state-reasons.stitcher-closed" +msgstr "Stitcher Closed" + +#. TRANSLATORS: Stitcher Configuration Change +msgid "printer-state-reasons.stitcher-configuration-change" +msgstr "Stitcher Configuration Change" + +#. TRANSLATORS: Stitcher Cover Closed +msgid "printer-state-reasons.stitcher-cover-closed" +msgstr "Stitcher Cover Closed" + +#. TRANSLATORS: Stitcher Cover Open +msgid "printer-state-reasons.stitcher-cover-open" +msgstr "Stitcher Cover Open" + +#. TRANSLATORS: Stitcher Empty +msgid "printer-state-reasons.stitcher-empty" +msgstr "Stitcher Empty" + +#. TRANSLATORS: Stitcher Full +msgid "printer-state-reasons.stitcher-full" +msgstr "Stitcher Full" + +#. TRANSLATORS: Stitcher Interlock Closed +msgid "printer-state-reasons.stitcher-interlock-closed" +msgstr "Stitcher Interlock Closed" + +#. TRANSLATORS: Stitcher Interlock Open +msgid "printer-state-reasons.stitcher-interlock-open" +msgstr "Stitcher Interlock Open" + +#. TRANSLATORS: Stitcher Jam +msgid "printer-state-reasons.stitcher-jam" +msgstr "Stitcher Jam" + +#. TRANSLATORS: Stitcher Life Almost Over +msgid "printer-state-reasons.stitcher-life-almost-over" +msgstr "Stitcher Life Almost Over" + +#. TRANSLATORS: Stitcher Life Over +msgid "printer-state-reasons.stitcher-life-over" +msgstr "Stitcher Life Over" + +#. TRANSLATORS: Stitcher Memory Exhausted +msgid "printer-state-reasons.stitcher-memory-exhausted" +msgstr "Stitcher Memory Exhausted" + +#. TRANSLATORS: Stitcher Missing +msgid "printer-state-reasons.stitcher-missing" +msgstr "Stitcher Missing" + +#. TRANSLATORS: Stitcher Motor Failure +msgid "printer-state-reasons.stitcher-motor-failure" +msgstr "Stitcher Motor Failure" + +#. TRANSLATORS: Stitcher Near Limit +msgid "printer-state-reasons.stitcher-near-limit" +msgstr "Stitcher Near Limit" + +#. TRANSLATORS: Stitcher Offline +msgid "printer-state-reasons.stitcher-offline" +msgstr "Stitcher Offline" + +#. TRANSLATORS: Stitcher Opened +msgid "printer-state-reasons.stitcher-opened" +msgstr "Stitcher Opened" + +#. TRANSLATORS: Stitcher Over Temperature +msgid "printer-state-reasons.stitcher-over-temperature" +msgstr "Stitcher Over Temperature" + +#. TRANSLATORS: Stitcher Power Saver +msgid "printer-state-reasons.stitcher-power-saver" +msgstr "Stitcher Power Saver" + +#. TRANSLATORS: Stitcher Recoverable Failure +msgid "printer-state-reasons.stitcher-recoverable-failure" +msgstr "Stitcher Recoverable Failure" + +#. TRANSLATORS: Stitcher Recoverable Storage +msgid "printer-state-reasons.stitcher-recoverable-storage" +msgstr "Stitcher Recoverable Storage" + +#. TRANSLATORS: Stitcher Removed +msgid "printer-state-reasons.stitcher-removed" +msgstr "Stitcher Removed" + +#. TRANSLATORS: Stitcher Resource Added +msgid "printer-state-reasons.stitcher-resource-added" +msgstr "Stitcher Resource Added" + +#. TRANSLATORS: Stitcher Resource Removed +msgid "printer-state-reasons.stitcher-resource-removed" +msgstr "Stitcher Resource Removed" + +#. TRANSLATORS: Stitcher Thermistor Failure +msgid "printer-state-reasons.stitcher-thermistor-failure" +msgstr "Stitcher Thermistor Failure" + +#. TRANSLATORS: Stitcher Timing Failure +msgid "printer-state-reasons.stitcher-timing-failure" +msgstr "Stitcher Timing Failure" + +#. TRANSLATORS: Stitcher Turned Off +msgid "printer-state-reasons.stitcher-turned-off" +msgstr "Stitcher Turned Off" + +#. TRANSLATORS: Stitcher Turned On +msgid "printer-state-reasons.stitcher-turned-on" +msgstr "Stitcher Turned On" + +#. TRANSLATORS: Stitcher Under Temperature +msgid "printer-state-reasons.stitcher-under-temperature" +msgstr "Stitcher Under Temperature" + +#. TRANSLATORS: Stitcher Unrecoverable Failure +msgid "printer-state-reasons.stitcher-unrecoverable-failure" +msgstr "Stitcher Unrecoverable Failure" + +#. TRANSLATORS: Stitcher Unrecoverable Storage Error +msgid "printer-state-reasons.stitcher-unrecoverable-storage-error" +msgstr "Stitcher Unrecoverable Storage Error" + +#. TRANSLATORS: Stitcher Warming Up +msgid "printer-state-reasons.stitcher-warming-up" +msgstr "Stitcher Warming Up" + +#. TRANSLATORS: Partially stopped +msgid "printer-state-reasons.stopped-partly" +msgstr "Stopped Partly" + +#. TRANSLATORS: Stopping +msgid "printer-state-reasons.stopping" +msgstr "Stopping" + +#. TRANSLATORS: Subunit Added +msgid "printer-state-reasons.subunit-added" +msgstr "Subunit Added" + +#. TRANSLATORS: Subunit Almost Empty +msgid "printer-state-reasons.subunit-almost-empty" +msgstr "Subunit Almost Empty" + +#. TRANSLATORS: Subunit Almost Full +msgid "printer-state-reasons.subunit-almost-full" +msgstr "Subunit Almost Full" + +#. TRANSLATORS: Subunit At Limit +msgid "printer-state-reasons.subunit-at-limit" +msgstr "Subunit At Limit" + +#. TRANSLATORS: Subunit Closed +msgid "printer-state-reasons.subunit-closed" +msgstr "Subunit Closed" + +#. TRANSLATORS: Subunit Cooling Down +msgid "printer-state-reasons.subunit-cooling-down" +msgstr "Subunit Cooling Down" + +#. TRANSLATORS: Subunit Empty +msgid "printer-state-reasons.subunit-empty" +msgstr "Subunit Empty" + +#. TRANSLATORS: Subunit Full +msgid "printer-state-reasons.subunit-full" +msgstr "Subunit Full" + +#. TRANSLATORS: Subunit Life Almost Over +msgid "printer-state-reasons.subunit-life-almost-over" +msgstr "Subunit Life Almost Over" + +#. TRANSLATORS: Subunit Life Over +msgid "printer-state-reasons.subunit-life-over" +msgstr "Subunit Life Over" + +#. TRANSLATORS: Subunit Memory Exhausted +msgid "printer-state-reasons.subunit-memory-exhausted" +msgstr "Subunit Memory Exhausted" + +#. TRANSLATORS: Subunit Missing +msgid "printer-state-reasons.subunit-missing" +msgstr "Subunit Missing" + +#. TRANSLATORS: Subunit Motor Failure +msgid "printer-state-reasons.subunit-motor-failure" +msgstr "Subunit Motor Failure" + +#. TRANSLATORS: Subunit Near Limit +msgid "printer-state-reasons.subunit-near-limit" +msgstr "Subunit Near Limit" + +#. TRANSLATORS: Subunit Offline +msgid "printer-state-reasons.subunit-offline" +msgstr "Subunit Offline" + +#. TRANSLATORS: Subunit Opened +msgid "printer-state-reasons.subunit-opened" +msgstr "Subunit Opened" + +#. TRANSLATORS: Subunit Over Temperature +msgid "printer-state-reasons.subunit-over-temperature" +msgstr "Subunit Over Temperature" + +#. TRANSLATORS: Subunit Power Saver +msgid "printer-state-reasons.subunit-power-saver" +msgstr "Subunit Power Saver" + +#. TRANSLATORS: Subunit Recoverable Failure +msgid "printer-state-reasons.subunit-recoverable-failure" +msgstr "Subunit Recoverable Failure" + +#. TRANSLATORS: Subunit Recoverable Storage +msgid "printer-state-reasons.subunit-recoverable-storage" +msgstr "Subunit Recoverable Storage" + +#. TRANSLATORS: Subunit Removed +msgid "printer-state-reasons.subunit-removed" +msgstr "Subunit Removed" + +#. TRANSLATORS: Subunit Resource Added +msgid "printer-state-reasons.subunit-resource-added" +msgstr "Subunit Resource Added" + +#. TRANSLATORS: Subunit Resource Removed +msgid "printer-state-reasons.subunit-resource-removed" +msgstr "Subunit Resource Removed" + +#. TRANSLATORS: Subunit Thermistor Failure +msgid "printer-state-reasons.subunit-thermistor-failure" +msgstr "Subunit Thermistor Failure" + +#. TRANSLATORS: Subunit Timing Failure +msgid "printer-state-reasons.subunit-timing-Failure" +msgstr "Subunit Timing Failure" + +#. TRANSLATORS: Subunit Turned Off +msgid "printer-state-reasons.subunit-turned-off" +msgstr "Subunit Turned Off" + +#. TRANSLATORS: Subunit Turned On +msgid "printer-state-reasons.subunit-turned-on" +msgstr "Subunit Turned On" + +#. TRANSLATORS: Subunit Under Temperature +msgid "printer-state-reasons.subunit-under-temperature" +msgstr "Subunit Under Temperature" + +#. TRANSLATORS: Subunit Unrecoverable Failure +msgid "printer-state-reasons.subunit-unrecoverable-failure" +msgstr "Subunit Unrecoverable Failure" + +#. TRANSLATORS: Subunit Unrecoverable Storage +msgid "printer-state-reasons.subunit-unrecoverable-storage" +msgstr "Subunit Unrecoverable Storage" + +#. TRANSLATORS: Subunit Warming Up +msgid "printer-state-reasons.subunit-warming-up" +msgstr "Subunit Warming Up" + +#. TRANSLATORS: Printer stopped responding +msgid "printer-state-reasons.timed-out" +msgstr "Timed Out" + +#. TRANSLATORS: Out of toner +msgid "printer-state-reasons.toner-empty" +msgstr "Toner Empty" + +#. TRANSLATORS: Toner low +msgid "printer-state-reasons.toner-low" +msgstr "Toner Low" + +#. TRANSLATORS: Trimmer Added +msgid "printer-state-reasons.trimmer-added" +msgstr "Trimmer Added" + +#. TRANSLATORS: Trimmer Almost Empty +msgid "printer-state-reasons.trimmer-almost-empty" +msgstr "Trimmer Almost Empty" + +#. TRANSLATORS: Trimmer Almost Full +msgid "printer-state-reasons.trimmer-almost-full" +msgstr "Trimmer Almost Full" + +#. TRANSLATORS: Trimmer At Limit +msgid "printer-state-reasons.trimmer-at-limit" +msgstr "Trimmer At Limit" + +#. TRANSLATORS: Trimmer Closed +msgid "printer-state-reasons.trimmer-closed" +msgstr "Trimmer Closed" + +#. TRANSLATORS: Trimmer Configuration Change +msgid "printer-state-reasons.trimmer-configuration-change" +msgstr "Trimmer Configuration Change" + +#. TRANSLATORS: Trimmer Cover Closed +msgid "printer-state-reasons.trimmer-cover-closed" +msgstr "Trimmer Cover Closed" + +#. TRANSLATORS: Trimmer Cover Open +msgid "printer-state-reasons.trimmer-cover-open" +msgstr "Trimmer Cover Open" + +#. TRANSLATORS: Trimmer Empty +msgid "printer-state-reasons.trimmer-empty" +msgstr "Trimmer Empty" + +#. TRANSLATORS: Trimmer Full +msgid "printer-state-reasons.trimmer-full" +msgstr "Trimmer Full" + +#. TRANSLATORS: Trimmer Interlock Closed +msgid "printer-state-reasons.trimmer-interlock-closed" +msgstr "Trimmer Interlock Closed" + +#. TRANSLATORS: Trimmer Interlock Open +msgid "printer-state-reasons.trimmer-interlock-open" +msgstr "Trimmer Interlock Open" + +#. TRANSLATORS: Trimmer Jam +msgid "printer-state-reasons.trimmer-jam" +msgstr "Trimmer Jam" + +#. TRANSLATORS: Trimmer Life Almost Over +msgid "printer-state-reasons.trimmer-life-almost-over" +msgstr "Trimmer Life Almost Over" + +#. TRANSLATORS: Trimmer Life Over +msgid "printer-state-reasons.trimmer-life-over" +msgstr "Trimmer Life Over" + +#. TRANSLATORS: Trimmer Memory Exhausted +msgid "printer-state-reasons.trimmer-memory-exhausted" +msgstr "Trimmer Memory Exhausted" + +#. TRANSLATORS: Trimmer Missing +msgid "printer-state-reasons.trimmer-missing" +msgstr "Trimmer Missing" + +#. TRANSLATORS: Trimmer Motor Failure +msgid "printer-state-reasons.trimmer-motor-failure" +msgstr "Trimmer Motor Failure" + +#. TRANSLATORS: Trimmer Near Limit +msgid "printer-state-reasons.trimmer-near-limit" +msgstr "Trimmer Near Limit" + +#. TRANSLATORS: Trimmer Offline +msgid "printer-state-reasons.trimmer-offline" +msgstr "Trimmer Offline" + +#. TRANSLATORS: Trimmer Opened +msgid "printer-state-reasons.trimmer-opened" +msgstr "Trimmer Opened" + +#. TRANSLATORS: Trimmer Over Temperature +msgid "printer-state-reasons.trimmer-over-temperature" +msgstr "Trimmer Over Temperature" + +#. TRANSLATORS: Trimmer Power Saver +msgid "printer-state-reasons.trimmer-power-saver" +msgstr "Trimmer Power Saver" + +#. TRANSLATORS: Trimmer Recoverable Failure +msgid "printer-state-reasons.trimmer-recoverable-failure" +msgstr "Trimmer Recoverable Failure" + +#. TRANSLATORS: Trimmer Recoverable Storage +msgid "printer-state-reasons.trimmer-recoverable-storage" +msgstr "Trimmer Recoverable Storage" + +#. TRANSLATORS: Trimmer Removed +msgid "printer-state-reasons.trimmer-removed" +msgstr "Trimmer Removed" + +#. TRANSLATORS: Trimmer Resource Added +msgid "printer-state-reasons.trimmer-resource-added" +msgstr "Trimmer Resource Added" + +#. TRANSLATORS: Trimmer Resource Removed +msgid "printer-state-reasons.trimmer-resource-removed" +msgstr "Trimmer Resource Removed" + +#. TRANSLATORS: Trimmer Thermistor Failure +msgid "printer-state-reasons.trimmer-thermistor-failure" +msgstr "Trimmer Thermistor Failure" + +#. TRANSLATORS: Trimmer Timing Failure +msgid "printer-state-reasons.trimmer-timing-failure" +msgstr "Trimmer Timing Failure" + +#. TRANSLATORS: Trimmer Turned Off +msgid "printer-state-reasons.trimmer-turned-off" +msgstr "Trimmer Turned Off" + +#. TRANSLATORS: Trimmer Turned On +msgid "printer-state-reasons.trimmer-turned-on" +msgstr "Trimmer Turned On" + +#. TRANSLATORS: Trimmer Under Temperature +msgid "printer-state-reasons.trimmer-under-temperature" +msgstr "Trimmer Under Temperature" + +#. TRANSLATORS: Trimmer Unrecoverable Failure +msgid "printer-state-reasons.trimmer-unrecoverable-failure" +msgstr "Trimmer Unrecoverable Failure" + +#. TRANSLATORS: Trimmer Unrecoverable Storage Error +msgid "printer-state-reasons.trimmer-unrecoverable-storage-error" +msgstr "Trimmer Unrecoverable Storage Error" + +#. TRANSLATORS: Trimmer Warming Up +msgid "printer-state-reasons.trimmer-warming-up" +msgstr "Trimmer Warming Up" + +#. TRANSLATORS: Unknown +msgid "printer-state-reasons.unknown" +msgstr "Unknown" + +#. TRANSLATORS: Wrapper Added +msgid "printer-state-reasons.wrapper-added" +msgstr "Wrapper Added" + +#. TRANSLATORS: Wrapper Almost Empty +msgid "printer-state-reasons.wrapper-almost-empty" +msgstr "Wrapper Almost Empty" + +#. TRANSLATORS: Wrapper Almost Full +msgid "printer-state-reasons.wrapper-almost-full" +msgstr "Wrapper Almost Full" + +#. TRANSLATORS: Wrapper At Limit +msgid "printer-state-reasons.wrapper-at-limit" +msgstr "Wrapper At Limit" + +#. TRANSLATORS: Wrapper Closed +msgid "printer-state-reasons.wrapper-closed" +msgstr "Wrapper Closed" + +#. TRANSLATORS: Wrapper Configuration Change +msgid "printer-state-reasons.wrapper-configuration-change" +msgstr "Wrapper Configuration Change" + +#. TRANSLATORS: Wrapper Cover Closed +msgid "printer-state-reasons.wrapper-cover-closed" +msgstr "Wrapper Cover Closed" + +#. TRANSLATORS: Wrapper Cover Open +msgid "printer-state-reasons.wrapper-cover-open" +msgstr "Wrapper Cover Open" + +#. TRANSLATORS: Wrapper Empty +msgid "printer-state-reasons.wrapper-empty" +msgstr "Wrapper Empty" + +#. TRANSLATORS: Wrapper Full +msgid "printer-state-reasons.wrapper-full" +msgstr "Wrapper Full" + +#. TRANSLATORS: Wrapper Interlock Closed +msgid "printer-state-reasons.wrapper-interlock-closed" +msgstr "Wrapper Interlock Closed" + +#. TRANSLATORS: Wrapper Interlock Open +msgid "printer-state-reasons.wrapper-interlock-open" +msgstr "Wrapper Interlock Open" + +#. TRANSLATORS: Wrapper Jam +msgid "printer-state-reasons.wrapper-jam" +msgstr "Wrapper Jam" + +#. TRANSLATORS: Wrapper Life Almost Over +msgid "printer-state-reasons.wrapper-life-almost-over" +msgstr "Wrapper Life Almost Over" + +#. TRANSLATORS: Wrapper Life Over +msgid "printer-state-reasons.wrapper-life-over" +msgstr "Wrapper Life Over" + +#. TRANSLATORS: Wrapper Memory Exhausted +msgid "printer-state-reasons.wrapper-memory-exhausted" +msgstr "Wrapper Memory Exhausted" + +#. TRANSLATORS: Wrapper Missing +msgid "printer-state-reasons.wrapper-missing" +msgstr "Wrapper Missing" + +#. TRANSLATORS: Wrapper Motor Failure +msgid "printer-state-reasons.wrapper-motor-failure" +msgstr "Wrapper Motor Failure" + +#. TRANSLATORS: Wrapper Near Limit +msgid "printer-state-reasons.wrapper-near-limit" +msgstr "Wrapper Near Limit" + +#. TRANSLATORS: Wrapper Offline +msgid "printer-state-reasons.wrapper-offline" +msgstr "Wrapper Offline" + +#. TRANSLATORS: Wrapper Opened +msgid "printer-state-reasons.wrapper-opened" +msgstr "Wrapper Opened" + +#. TRANSLATORS: Wrapper Over Temperature +msgid "printer-state-reasons.wrapper-over-temperature" +msgstr "Wrapper Over Temperature" + +#. TRANSLATORS: Wrapper Power Saver +msgid "printer-state-reasons.wrapper-power-saver" +msgstr "Wrapper Power Saver" + +#. TRANSLATORS: Wrapper Recoverable Failure +msgid "printer-state-reasons.wrapper-recoverable-failure" +msgstr "Wrapper Recoverable Failure" + +#. TRANSLATORS: Wrapper Recoverable Storage +msgid "printer-state-reasons.wrapper-recoverable-storage" +msgstr "Wrapper Recoverable Storage" + +#. TRANSLATORS: Wrapper Removed +msgid "printer-state-reasons.wrapper-removed" +msgstr "Wrapper Removed" + +#. TRANSLATORS: Wrapper Resource Added +msgid "printer-state-reasons.wrapper-resource-added" +msgstr "Wrapper Resource Added" + +#. TRANSLATORS: Wrapper Resource Removed +msgid "printer-state-reasons.wrapper-resource-removed" +msgstr "Wrapper Resource Removed" + +#. TRANSLATORS: Wrapper Thermistor Failure +msgid "printer-state-reasons.wrapper-thermistor-failure" +msgstr "Wrapper Thermistor Failure" + +#. TRANSLATORS: Wrapper Timing Failure +msgid "printer-state-reasons.wrapper-timing-failure" +msgstr "Wrapper Timing Failure" + +#. TRANSLATORS: Wrapper Turned Off +msgid "printer-state-reasons.wrapper-turned-off" +msgstr "Wrapper Turned Off" + +#. TRANSLATORS: Wrapper Turned On +msgid "printer-state-reasons.wrapper-turned-on" +msgstr "Wrapper Turned On" + +#. TRANSLATORS: Wrapper Under Temperature +msgid "printer-state-reasons.wrapper-under-temperature" +msgstr "Wrapper Under Temperature" + +#. TRANSLATORS: Wrapper Unrecoverable Failure +msgid "printer-state-reasons.wrapper-unrecoverable-failure" +msgstr "Wrapper Unrecoverable Failure" + +#. TRANSLATORS: Wrapper Unrecoverable Storage Error +msgid "printer-state-reasons.wrapper-unrecoverable-storage-error" +msgstr "Wrapper Unrecoverable Storage Error" + +#. TRANSLATORS: Wrapper Warming Up +msgid "printer-state-reasons.wrapper-warming-up" +msgstr "Wrapper Warming Up" + +#. TRANSLATORS: Idle +msgid "printer-state.3" +msgstr "Idle" + +#. TRANSLATORS: Processing +msgid "printer-state.4" +msgstr "Processing" + +#. TRANSLATORS: Stopped +msgid "printer-state.5" +msgstr "Stopped" + +#. TRANSLATORS: Printer Uptime +msgid "printer-up-time" +msgstr "Printer Uptime" + +msgid "processing" +msgstr "processing" + +#. TRANSLATORS: Proof Print +msgid "proof-print" +msgstr "Proof Print" + +#. TRANSLATORS: Proof Print Copies +msgid "proof-print-copies" +msgstr "Proof Print Copies" + +#. TRANSLATORS: Punching +msgid "punching" +msgstr "Punching" + +#. TRANSLATORS: Punching Locations +msgid "punching-locations" +msgstr "Punching Locations" + +#. TRANSLATORS: Punching Offset +msgid "punching-offset" +msgstr "Punching Offset" + +#. TRANSLATORS: Punch Edge +msgid "punching-reference-edge" +msgstr "Punch Edge" + +#. TRANSLATORS: Bottom +msgid "punching-reference-edge.bottom" +msgstr "Bottom" + +#. TRANSLATORS: Left +msgid "punching-reference-edge.left" +msgstr "Left" + +#. TRANSLATORS: Right +msgid "punching-reference-edge.right" +msgstr "Right" + +#. TRANSLATORS: Top +msgid "punching-reference-edge.top" +msgstr "Top" + +#, c-format +msgid "request id is %s-%d (%d file(s))" +msgstr "request id is %s-%d (%d file(s))" + +msgid "request-id uses indefinite length" +msgstr "request-id uses indefinite length" + +#. TRANSLATORS: Requested Attributes +msgid "requested-attributes" +msgstr "Requested Attributes" + +#. TRANSLATORS: Retry Interval +msgid "retry-interval" +msgstr "Retry Interval" + +#. TRANSLATORS: Retry Timeout +msgid "retry-time-out" +msgstr "Retry Timeout" + +#. TRANSLATORS: Save Disposition +msgid "save-disposition" +msgstr "Save Disposition" + +#. TRANSLATORS: None +msgid "save-disposition.none" +msgstr "None" + +#. TRANSLATORS: Print and Save +msgid "save-disposition.print-save" +msgstr "Print and Save" + +#. TRANSLATORS: Save Only +msgid "save-disposition.save-only" +msgstr "Save Only" + +#. TRANSLATORS: Save Document Format +msgid "save-document-format" +msgstr "Save Document Format" + +#. TRANSLATORS: Save Info +msgid "save-info" +msgstr "Save Info" + +#. TRANSLATORS: Save Location +msgid "save-location" +msgstr "Save Location" + +#. TRANSLATORS: Save Name +msgid "save-name" +msgstr "Save Name" + +msgid "scheduler is not running" +msgstr "scheduler is not running" + +msgid "scheduler is running" +msgstr "scheduler is running" + +#. TRANSLATORS: Separator Sheets +msgid "separator-sheets" +msgstr "Separator Sheets" + +#. TRANSLATORS: Type of Separator Sheets +msgid "separator-sheets-type" +msgstr "Type of Separator Sheets" + +#. TRANSLATORS: Start and End Sheets +msgid "separator-sheets-type.both-sheets" +msgstr "Start and End Sheets" + +#. TRANSLATORS: End Sheet +msgid "separator-sheets-type.end-sheet" +msgstr "End Sheet" + +#. TRANSLATORS: None +msgid "separator-sheets-type.none" +msgstr "None" + +#. TRANSLATORS: Slip Sheets +msgid "separator-sheets-type.slip-sheets" +msgstr "Slip Sheets" + +#. TRANSLATORS: Start Sheet +msgid "separator-sheets-type.start-sheet" +msgstr "Start Sheet" + +#. TRANSLATORS: 2-Sided Printing +msgid "sides" +msgstr "2-Sided Printing" + +#. TRANSLATORS: Off +msgid "sides.one-sided" +msgstr "Off" + +#. TRANSLATORS: On (Portrait) +msgid "sides.two-sided-long-edge" +msgstr "On (Portrait)" + +#. TRANSLATORS: On (Landscape) +msgid "sides.two-sided-short-edge" +msgstr "On (Landscape)" + +#, c-format +msgid "stat of %s failed: %s" +msgstr "stat of %s failed: %s" + +msgid "status\t\tShow status of daemon and queue." +msgstr "status\t\tShow status of daemon and queue." + +#. TRANSLATORS: Status Message +msgid "status-message" +msgstr "Status Message" + +#. TRANSLATORS: Staple +msgid "stitching" +msgstr "Staple" + +#. TRANSLATORS: Stitching Angle +msgid "stitching-angle" +msgstr "Stitching Angle" + +#. TRANSLATORS: Stitching Locations +msgid "stitching-locations" +msgstr "Stitching Locations" + +#. TRANSLATORS: Staple Method +msgid "stitching-method" +msgstr "Staple Method" + +#. TRANSLATORS: Automatic +msgid "stitching-method.auto" +msgstr "Automatic" + +#. TRANSLATORS: Crimp +msgid "stitching-method.crimp" +msgstr "Crimp" + +#. TRANSLATORS: Wire +msgid "stitching-method.wire" +msgstr "Wire" + +#. TRANSLATORS: Stitching Offset +msgid "stitching-offset" +msgstr "Stitching Offset" + +#. TRANSLATORS: Staple Edge +msgid "stitching-reference-edge" +msgstr "Staple Edge" + +#. TRANSLATORS: Bottom +msgid "stitching-reference-edge.bottom" +msgstr "Bottom" + +#. TRANSLATORS: Left +msgid "stitching-reference-edge.left" +msgstr "Left" + +#. TRANSLATORS: Right +msgid "stitching-reference-edge.right" +msgstr "Right" + +#. TRANSLATORS: Top +msgid "stitching-reference-edge.top" +msgstr "Top" + +msgid "stopped" +msgstr "stopped" + +#. TRANSLATORS: Subject +msgid "subject" +msgstr "Subject" + +#. TRANSLATORS: Subscription Privacy Attributes +msgid "subscription-privacy-attributes" +msgstr "Subscription Privacy Attributes" + +#. TRANSLATORS: All +msgid "subscription-privacy-attributes.all" +msgstr "All" + +#. TRANSLATORS: Default +msgid "subscription-privacy-attributes.default" +msgstr "Default" + +#. TRANSLATORS: None +msgid "subscription-privacy-attributes.none" +msgstr "None" + +#. TRANSLATORS: Subscription Description +msgid "subscription-privacy-attributes.subscription-description" +msgstr "Subscription Description" + +#. TRANSLATORS: Subscription Template +msgid "subscription-privacy-attributes.subscription-template" +msgstr "Subscription Template" + +#. TRANSLATORS: Subscription Privacy Scope +msgid "subscription-privacy-scope" +msgstr "Subscription Privacy Scope" + +#. TRANSLATORS: All +msgid "subscription-privacy-scope.all" +msgstr "All" + +#. TRANSLATORS: Default +msgid "subscription-privacy-scope.default" +msgstr "Default" + +#. TRANSLATORS: None +msgid "subscription-privacy-scope.none" +msgstr "None" + +#. TRANSLATORS: Owner +msgid "subscription-privacy-scope.owner" +msgstr "Owner" + +#, c-format +msgid "system default destination: %s" +msgstr "system default destination: %s" + +#, c-format +msgid "system default destination: %s/%s" +msgstr "system default destination: %s/%s" + +#. TRANSLATORS: T33 Subaddress +msgid "t33-subaddress" +msgstr "T33 Subaddress" + +#. TRANSLATORS: To Name +msgid "to-name" +msgstr "To Name" + +#. TRANSLATORS: Transmission Status +msgid "transmission-status" +msgstr "Transmission Status" + +#. TRANSLATORS: Pending +msgid "transmission-status.3" +msgstr "Pending" + +#. TRANSLATORS: Pending Retry +msgid "transmission-status.4" +msgstr "Pending Retry" + +#. TRANSLATORS: Processing +msgid "transmission-status.5" +msgstr "Processing" + +#. TRANSLATORS: Canceled +msgid "transmission-status.7" +msgstr "Canceled" + +#. TRANSLATORS: Aborted +msgid "transmission-status.8" +msgstr "Aborted" + +#. TRANSLATORS: Completed +msgid "transmission-status.9" +msgstr "Completed" + +#. TRANSLATORS: Cut +msgid "trimming" +msgstr "Cut" + +#. TRANSLATORS: Cut Position +msgid "trimming-offset" +msgstr "Cut Position" + +#. TRANSLATORS: Cut Edge +msgid "trimming-reference-edge" +msgstr "Cut Edge" + +#. TRANSLATORS: Bottom +msgid "trimming-reference-edge.bottom" +msgstr "Bottom" + +#. TRANSLATORS: Left +msgid "trimming-reference-edge.left" +msgstr "Left" + +#. TRANSLATORS: Right +msgid "trimming-reference-edge.right" +msgstr "Right" + +#. TRANSLATORS: Top +msgid "trimming-reference-edge.top" +msgstr "Top" + +#. TRANSLATORS: Type of Cut +msgid "trimming-type" +msgstr "Type of Cut" + +#. TRANSLATORS: Draw Line +msgid "trimming-type.draw-line" +msgstr "Draw Line" + +#. TRANSLATORS: Full +msgid "trimming-type.full" +msgstr "Full" + +#. TRANSLATORS: Partial +msgid "trimming-type.partial" +msgstr "Partial" + +#. TRANSLATORS: Perforate +msgid "trimming-type.perforate" +msgstr "Perforate" + +#. TRANSLATORS: Score +msgid "trimming-type.score" +msgstr "Score" + +#. TRANSLATORS: Tab +msgid "trimming-type.tab" +msgstr "Tab" + +#. TRANSLATORS: Cut After +msgid "trimming-when" +msgstr "Cut After" + +#. TRANSLATORS: Every Document +msgid "trimming-when.after-documents" +msgstr "Every Document" + +#. TRANSLATORS: Job +msgid "trimming-when.after-job" +msgstr "Job" + +#. TRANSLATORS: Every Set +msgid "trimming-when.after-sets" +msgstr "Every Set" + +#. TRANSLATORS: Every Page +msgid "trimming-when.after-sheets" +msgstr "Every Page" + +msgid "unknown" +msgstr "unknown" + +msgid "untitled" +msgstr "untitled" + +msgid "variable-bindings uses indefinite length" +msgstr "variable-bindings uses indefinite length" + +#. TRANSLATORS: X Accuracy +msgid "x-accuracy" +msgstr "X Accuracy" + +#. TRANSLATORS: X Dimension +msgid "x-dimension" +msgstr "X Dimension" + +#. TRANSLATORS: X Offset +msgid "x-offset" +msgstr "X Offset" + +#. TRANSLATORS: X Origin +msgid "x-origin" +msgstr "X Origin" + +#. TRANSLATORS: Y Accuracy +msgid "y-accuracy" +msgstr "Y Accuracy" + +#. TRANSLATORS: Y Dimension +msgid "y-dimension" +msgstr "Y Dimension" + +#. TRANSLATORS: Y Offset +msgid "y-offset" +msgstr "Y Offset" + +#. TRANSLATORS: Y Origin +msgid "y-origin" +msgstr "Y Origin" + +#. TRANSLATORS: Z Accuracy +msgid "z-accuracy" +msgstr "Z Accuracy" + +#. TRANSLATORS: Z Dimension +msgid "z-dimension" +msgstr "Z Dimension" + +#. TRANSLATORS: Z Offset +msgid "z-offset" +msgstr "Z Offset" + +msgid "{service_domain} Domain name" +msgstr "{service_domain} Domain name" + +msgid "{service_hostname} Fully-qualified domain name" +msgstr "{service_hostname} Fully-qualified domain name" + +msgid "{service_name} Service instance name" +msgstr "{service_name} Service instance name" + +msgid "{service_port} Port number" +msgstr "{service_port} Port number" + +msgid "{service_regtype} DNS-SD registration type" +msgstr "{service_regtype} DNS-SD registration type" + +msgid "{service_scheme} URI scheme" +msgstr "{service_scheme} URI scheme" + +msgid "{service_uri} URI" +msgstr "{service_uri} URI" + +msgid "{txt_*} Value of TXT record key" +msgstr "{txt_*} Value of TXT record key" + +msgid "{} URI" +msgstr "{} URI" + +msgid "~/.cups/lpoptions file names default destination that does not exist." +msgstr "~/.cups/lpoptions file names default destination that does not exist." diff --git a/locale/cups_es.po b/locale/cups_es.po new file mode 100644 index 0000000..6bf4831 --- /dev/null +++ b/locale/cups_es.po @@ -0,0 +1,15182 @@ +# +# Spanish message catalog for CUPS. +# +# Copyright © 2007-2018 by Apple Inc. +# Copyright © 2005-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +msgid "" +msgstr "" +"Project-Id-Version: CUPS 2.3\n" +"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n" +"POT-Creation-Date: 2019-08-23 09:13-0400\n" +"PO-Revision-Date: 2016-06-26 21:17+0100\n" +"Last-Translator: Juan Pablo González Riopedre \n" +"Language-Team: Spanish\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" + +msgid "\t\t(all)" +msgstr "\t\t(todos)" + +msgid "\t\t(none)" +msgstr "\t\t(ninguno)" + +#, c-format +msgid "\t%d entries" +msgstr "\t%d entradas" + +#, c-format +msgid "\t%s" +msgstr "\t%s" + +msgid "\tAfter fault: continue" +msgstr "\tTras fallo: continuar" + +#, c-format +msgid "\tAlerts: %s" +msgstr "\tAlertas: %s" + +msgid "\tBanner required" +msgstr "\tSe necesita un rótulo" + +msgid "\tCharset sets:" +msgstr "\tJuegos de caracteres:" + +msgid "\tConnection: direct" +msgstr "\tConexión: directa" + +msgid "\tConnection: remote" +msgstr "\tConexión: remota" + +msgid "\tContent types: any" +msgstr "\tTipos de contenido: cualesquiera" + +msgid "\tDefault page size:" +msgstr "\tTamaño de página predeterminado:" + +msgid "\tDefault pitch:" +msgstr "\tPaso predeterminado:" + +msgid "\tDefault port settings:" +msgstr "\tAjustes del puerto predeterminados:" + +#, c-format +msgid "\tDescription: %s" +msgstr "\tDescripción: %s" + +msgid "\tForm mounted:" +msgstr "\tFormulario montado:" + +msgid "\tForms allowed:" +msgstr "\tFormularios permitidos:" + +#, c-format +msgid "\tInterface: %s.ppd" +msgstr "\tInterfaz: %s.ppd" + +#, c-format +msgid "\tInterface: %s/ppd/%s.ppd" +msgstr "\tInterfaz: %s/ppd/%s.ppd" + +#, c-format +msgid "\tLocation: %s" +msgstr "\tUbicación: %s" + +msgid "\tOn fault: no alert" +msgstr "\tEn fallo: no alertar" + +msgid "\tPrinter types: unknown" +msgstr "\tTipos de impresora: desconocidos" + +#, c-format +msgid "\tStatus: %s" +msgstr "\tEstado: %s" + +msgid "\tUsers allowed:" +msgstr "\tUsuarios permitidos:" + +msgid "\tUsers denied:" +msgstr "\tUsuarios denegados:" + +msgid "\tdaemon present" +msgstr "\tdemonio presente" + +msgid "\tno entries" +msgstr "\tno hay entradas" + +#, c-format +msgid "\tprinter is on device '%s' speed -1" +msgstr "\tla impresora está conectada a '%s' velocidad -1" + +msgid "\tprinting is disabled" +msgstr "\tla impresión está desactivada" + +msgid "\tprinting is enabled" +msgstr "\tla impresión está activada" + +#, c-format +msgid "\tqueued for %s" +msgstr "\ten cola para %s" + +msgid "\tqueuing is disabled" +msgstr "\tla cola está desactivada" + +msgid "\tqueuing is enabled" +msgstr "\tla cola está activada" + +msgid "\treason unknown" +msgstr "\trazón desconocida" + +msgid "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" +msgstr "" +"\n" +" RESULTADOS DETALLADOS DE LA PRUEBA DE CONFORMIDAD" + +msgid " REF: Page 15, section 3.1." +msgstr " REF: Página 15, sección 3.1." + +msgid " REF: Page 15, section 3.2." +msgstr " REF: Página 15, sección 3.2." + +msgid " REF: Page 19, section 3.3." +msgstr " REF: Página 19, sección 3.3." + +msgid " REF: Page 20, section 3.4." +msgstr " REF: Página 20, sección 3.4." + +msgid " REF: Page 27, section 3.5." +msgstr " REF: Página 27, sección 3.5." + +msgid " REF: Page 42, section 5.2." +msgstr " REF: Página 42, sección 5.2." + +msgid " REF: Pages 16-17, section 3.2." +msgstr " REF: Páginas 16-17, sección 3.2." + +msgid " REF: Pages 42-45, section 5.2." +msgstr " REF: Páginas 42-45, sección 5.2." + +msgid " REF: Pages 45-46, section 5.2." +msgstr " REF: Páginas 45-46, sección 5.2." + +msgid " REF: Pages 48-49, section 5.2." +msgstr " REF: Páginas 48-49, sección 5.2." + +msgid " REF: Pages 52-54, section 5.2." +msgstr " REF: Páginas 52-54, sección 5.2." + +#, c-format +msgid " %-39.39s %.0f bytes" +msgstr " %-39.39s %.0f bytes" + +#, c-format +msgid " PASS Default%s" +msgstr " PASA Default%s" + +msgid " PASS DefaultImageableArea" +msgstr " PASA DefaultImageableArea" + +msgid " PASS DefaultPaperDimension" +msgstr " PASA DefaultPaperDimension" + +msgid " PASS FileVersion" +msgstr " PASA FileVersion" + +msgid " PASS FormatVersion" +msgstr " PASA FormatVersion" + +msgid " PASS LanguageEncoding" +msgstr " PASA LanguageEncoding" + +msgid " PASS LanguageVersion" +msgstr " PASA LanguageVersion" + +msgid " PASS Manufacturer" +msgstr " PASA Manufacturer" + +msgid " PASS ModelName" +msgstr " PASA ModelName" + +msgid " PASS NickName" +msgstr " PASA NickName" + +msgid " PASS PCFileName" +msgstr " PASA PCFileName" + +msgid " PASS PSVersion" +msgstr " PASA PSVersion" + +msgid " PASS PageRegion" +msgstr " PASA PageRegion" + +msgid " PASS PageSize" +msgstr " PASA PageSize" + +msgid " PASS Product" +msgstr " PASA Product" + +msgid " PASS ShortNickName" +msgstr " PASA ShortNickName" + +#, c-format +msgid " WARN %s has no corresponding options." +msgstr " ADVERTENCIA %s tiene opciones que no corresponden." + +#, c-format +msgid "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." +msgstr "" +" ADVERTENCIA %s comparte un prefijo común con %s\n" +" REF: Página 15, sección 3.2." + +#, c-format +msgid "" +" WARN Duplex option keyword %s may not work as expected and should " +"be named Duplex.\n" +" REF: Page 122, section 5.17" +msgstr "" +" ADVERTENCIA La clave de opción Duplex %s puede que no funcione " +"como se espera y debería llamarse Duplex.\n" +" REF: Página 122, sección 5.17." + +msgid " WARN File contains a mix of CR, LF, and CR LF line endings." +msgstr "" +" ADVERTENCIA El archivo contiene una mezcla de líneas acabadas en " +"CR, LF y CR LF." + +msgid "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" ADVERTENCIA Se necesita LanguageEncoding por especificación de " +"PPD 4.3.\n" +" REF: Páginas 56-57, sección 5.3." + +#, c-format +msgid " WARN Line %d only contains whitespace." +msgstr " ADVERTENCIA La línea %d solo contiene espacios en blanco." + +msgid "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" ADVERTENCIA Se necesita fabricante por especificación de PPD " +"4.3.\n" +" REF: Páginas 58-59, sección 5.3." + +msgid "" +" WARN Non-Windows PPD files should use lines ending with only LF, " +"not CR LF." +msgstr "" +" ADVERTENCIA Los archivos PPD que no sean de Windows deben tener " +"líneas que acaben sólo en LF, no en CR LF." + +#, c-format +msgid "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." +msgstr "" +" ADVERTENCIA Versión de PPD %.1f anticuada.\n" +" REF: Página 42, sección 5.2." + +msgid "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" ADVERTENCIA PCFileName es mas largo que 8.3 violando la " +"especificación PPD.\n" +" REF: Páginas 61-62, sección 5.3." + +msgid "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" ADVERTENCIA PCFileName debe contener un único nombre de archivo.\n" +" REF: Páginas 61-62, sección 5.3." + +msgid "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" ADVERTENCIA Los protocolos contienen PJL pero no se especifican " +"los atributos JCL.\n" +" REF: Páginas 78-79, sección 5.7." + +msgid "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" ADVERTENCIA Los protocolos contienen a ambos, PJL y BCP; se " +"esperaba TBCP.\n" +" REF: Páginas 78-79, sección 5.7." + +msgid "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" ADVERTENCIA Se necesita ShortNickName por especificación de PPD " +"4.3.\n" +" REF: Páginas 64-65, sección 5.3." + +#, c-format +msgid "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." +msgstr "" +" %s \"%s %s\" está en conflicto con \"%s %s\"\n" +" (restricción=\"%s %s %s %s\")." + +#, c-format +msgid " %s %s %s does not exist." +msgstr " %s %s %s no existe." + +#, c-format +msgid " %s %s file \"%s\" has the wrong capitalization." +msgstr " %s %s archivo \"%s\" tiene las mayúsculas equivocadas." + +#, c-format +msgid "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s Incorrecto %s preferencia %s.\n" +" REF: Página 122, sección 5.17." + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." +msgstr "" +" %s Cadena de traducción UTF-8 \"%s\" incorrecta para opción %s, " +"preferencia %s." + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s." +msgstr " %s Cadena de traducción UTF-8 \"%s\" incorrecta para opción %s." + +#, c-format +msgid " %s Bad cupsFilter value \"%s\"." +msgstr " %s Valor cupsFilter \"%s\" incorrecto." + +#, c-format +msgid " %s Bad cupsFilter2 value \"%s\"." +msgstr " %s Valor cupsFilter2 \"%s\" incorrecto." + +#, c-format +msgid " %s Bad cupsICCProfile %s." +msgstr " %s cupsICCProfile %s incorrecto." + +#, c-format +msgid " %s Bad cupsPreFilter value \"%s\"." +msgstr " %s Valor cupsPreFilter \"%s\" incorrecto." + +#, c-format +msgid " %s Bad cupsUIConstraints %s: \"%s\"" +msgstr " %s cupsUIConstraints %s: \"%s\" incorrecto" + +#, c-format +msgid " %s Bad language \"%s\"." +msgstr " %s Idioma incorrecto \"%s\"." + +#, c-format +msgid " %s Bad permissions on %s file \"%s\"." +msgstr " %s Permisos incorrectos en el archivo %s \"%s\"." + +#, c-format +msgid " %s Bad spelling of %s - should be %s." +msgstr " %s %s mal escrito - debería ser %s." + +#, c-format +msgid " %s Cannot provide both APScanAppPath and APScanAppBundleID." +msgstr " %s No puede proporcionar APScanAppPath y APScanAppBundleID." + +#, c-format +msgid " %s Default choices conflicting." +msgstr " %s Las preferencias predeterminadas están en conflicto." + +#, c-format +msgid " %s Empty cupsUIConstraints %s" +msgstr " %s cupsUIConstraints vacío %s" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s, choice %s." +msgstr "" +" %s Falta cadena de traducción \"%s\" para opción %s, preferencia %s." + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s." +msgstr " %s Falta cadena de traducción \"%s\" para opción %s." + +#, c-format +msgid " %s Missing %s file \"%s\"." +msgstr " %s Falta archivo %s \"%s\"." + +#, c-format +msgid "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." +msgstr "" +" %s Falta la opción NECESARIA PageRegion.\n" +" REF: Página 100, sección 5.14." + +#, c-format +msgid "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." +msgstr "" +" %s Falta la opción NECESARIA PageSize.\n" +" REF: Página 99, sección 5.14." + +#, c-format +msgid " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" +" %s Falta la preferencia *%s %s en UIConstraint \"*%s %s *%s %s\"." + +#, c-format +msgid " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" +msgstr " %s Falta la preferencia *%s %s en cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s Missing cupsUIResolver %s" +msgstr " %s Falta cupsUIResolver %s" + +#, c-format +msgid " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." +msgstr " %s Falta la opción %s en UIConstraints \"*%s %s *%s %s\"." + +#, c-format +msgid " %s Missing option %s in cupsUIConstraints %s: \"%s\"" +msgstr " %s Falta la opción %s en cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s No base translation \"%s\" is included in file." +msgstr " %s No hay traducción base \"%s\" incluida en el archivo." + +#, c-format +msgid "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s NECESARIO %s no define la preferencia None.\n" +" REF: Página 122, sección 5.17." + +#, c-format +msgid " %s Size \"%s\" defined for %s but not for %s." +msgstr " %s Tamaño \"%s\" definido para %s pero no para %s." + +#, c-format +msgid " %s Size \"%s\" has unexpected dimensions (%gx%g)." +msgstr " %s El tamaño \"%s\" tiene dimensiones inesperadas (%gx%g)." + +#, c-format +msgid " %s Size \"%s\" should be \"%s\"." +msgstr " %s Tamaño \"%s\" debería ser \"%s\"." + +#, c-format +msgid " %s Size \"%s\" should be the Adobe standard name \"%s\"." +msgstr "" +" %s Tamaño \"%s\" debería ser el nombre estandar de Adobe \"%s\"." + +#, c-format +msgid " %s cupsICCProfile %s hash value collides with %s." +msgstr " %s Valor hash de cupsICCProfile %s colisiona con %s." + +#, c-format +msgid " %s cupsUIResolver %s causes a loop." +msgstr " %s cupsUIResolver %s genera un bucle." + +#, c-format +msgid "" +" %s cupsUIResolver %s does not list at least two different options." +msgstr " %s cupsUIResolver %s no lista al menos dos opciones diferentes." + +#, c-format +msgid "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" +msgstr "" +" **FALLO** %s debería ser 1284DeviceID.\n" +" REF: Página 72, sección 5.5." + +#, c-format +msgid "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **FALLO** Default%s %s incorrecto\n" +" REF: Página 40, sección 4.5." + +#, c-format +msgid "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." +msgstr "" +" **FALLO** DefaultImageableArea %s incorrecto\n" +" REF: Página 102, sección 5.15." + +#, c-format +msgid "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." +msgstr "" +" **FALLO** DefaultPaperDimension %s incorrecto\n" +" REF: Página 103, sección 5.15." + +#, c-format +msgid "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FALLO** FileVersion \"%s\" incorrecto\n" +" REF: Página 56, sección 5.3." + +#, c-format +msgid "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FALLO** FormatVersion \"%s\" incorrecto\n" +" REF: Página 56, sección 5.3." + +msgid "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." +msgstr "" +" **FALLO** Atributo JobPatchFile en archivo, incorrecto\n" +" REF: Página 24, sección 3.4." + +#, c-format +msgid " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." +msgstr "" +" **FALLO** LanguageEncoding %s incorrecto: debería ser ISOLatin1." + +#, c-format +msgid " **FAIL** Bad LanguageVersion %s - must be English." +msgstr "" +" **FALLO** LanguageVersion %s incorrecto: debería ser English (Inglés)." + +#, c-format +msgid "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." +msgstr "" +" **FALLO** Fabricante incorrecto (debería ser \"%s\")\n" +" REF: Página 211, tabla D.1." + +#, c-format +msgid "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **FALLO** ModelName incorrecto - \"%c\" no permitido en la cadena.\n" +" REF: Páginas 59-60, sección 5.3." + +msgid "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **FALLO** PSVersion incorrecto - no es \"(string) int\".\n" +" REF: Páginas 62-64, sección 5.3." + +msgid "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." +msgstr "" +" **FALLO** Product incorrecto - no es \"(string)\".\n" +" REF: Página 62, sección 5.3." + +msgid "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" **FALLO** ShortNickName incorrecto - mayor de 31 caracteres.\n" +" REF: Páginas 64-65, sección 5.3." + +#, c-format +msgid "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" +msgstr "" +" **FALLO** Opción incorrecta %s preferencia %s\n" +" REF: Página 84, sección 5.9." + +#, c-format +msgid " **FAIL** Default option code cannot be interpreted: %s" +msgstr "" +" **FALLO** El código de opción predeterminado no puede ser " +"interpretado: %s" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s choice %s contains " +"8-bit characters." +msgstr "" +" **FALLO** Cadena de traducción predeterminada para opción %s " +"preferencia %s contiene caracteres de 8-bits." + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s contains 8-bit " +"characters." +msgstr "" +" **FALLO** Cadena de traducción predeterminada para opción %s contiene " +"caracteres de 8-bits." + +#, c-format +msgid " **FAIL** Group names %s and %s differ only by case." +msgstr "" +" **FALLO** Nombres de grupo %s y %s se diferencian sólo en la " +"capitalización." + +#, c-format +msgid " **FAIL** Multiple occurrences of option %s choice name %s." +msgstr "" +" **FALLO** Múltiples apariciones de opción %s nombre de preferencia %s." + +#, c-format +msgid " **FAIL** Option %s choice names %s and %s differ only by case." +msgstr "" +" **FALLO** Opción %s nombres de preferencia %s y %s se diferencian " +"sólo en la capitalización." + +#, c-format +msgid " **FAIL** Option names %s and %s differ only by case." +msgstr "" +" **FALLO** Nombres de opción %s y %s se diferencian sólo en la " +"capitalización." + +#, c-format +msgid "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **FALLO** NECESARIO Default%s\n" +" REF: Página 40, sección 4.5." + +msgid "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." +msgstr "" +" **FALLO** NECESARIO DefaultImageableArea\n" +" REF: Página 102, sección 5.15." + +msgid "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." +msgstr "" +" **FALLO** NECESARIO DefaultPaperDimension\n" +" REF: Página 103, sección 5.15." + +msgid "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FALLO** NECESARIO FileVersion\n" +" REF: Página 56, sección 5.3." + +msgid "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FALLO** NECESARIO FormatVersion\n" +" REF: Página 56, sección 5.3." + +#, c-format +msgid "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." +msgstr "" +" **FALLO** NECESARIO ImageableArea para PageSize %s\n" +" REF: Página 41, sección 5.\n" +" REF: Página 102, sección 5.15." + +msgid "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" **FALLO** NECESARIO LanguageEncoding\n" +" REF: Páginas 56-57, sección 5.3." + +msgid "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." +msgstr "" +" **FALLO** NECESARIO LanguageVersion\n" +" REF: Páginas 57-58, sección 5.3." + +msgid "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" **FALLO** NECESARIO Manufacturer\n" +" REF: Páginas 58-59, sección 5.3." + +msgid "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **FALLO** NECESARIO ModelName\n" +" REF: Páginas 59-60, sección 5.3." + +msgid "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." +msgstr "" +" **FALLO** NECESARIO NickName\n" +" REF: Página 60, sección 5.3." + +msgid "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" **FALLO** NECESARIO PCFileName\n" +" REF: Páginas 61-62, sección 5.3." + +msgid "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **FALLO** NECESARIO PSVersion\n" +" REF: Páginas 62-64, sección 5.3." + +msgid "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." +msgstr "" +" **FALLO** NECESARIO PageRegion\n" +" REF: Página 100, sección 5.14." + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." +msgstr "" +" **FALLO** NECESARIO PageSize\n" +" REF: Página 41, sección 5.\n" +" REF: Página 99, sección 5.14." + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." +msgstr "" +" **FALLO** NECESARIO PageSize\n" +" REF: Páginas 99-100, sección 5.14." + +#, c-format +msgid "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." +msgstr "" +" **FALLO** NECESARIO PaperDimension para PageSize %s\n" +" REF: Página 41, sección 5.\n" +" REF: Página 103, sección 5.15." + +msgid "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." +msgstr "" +" **FALLO** NECESARIO Product\n" +" REF: Página 62, sección 5.3." + +msgid "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." +msgstr "" +" **FALLO** NECESARIO ShortNickName\n" +" REF: Páginas 64-65, sección 5.3." + +#, c-format +msgid " **FAIL** Unable to open PPD file - %s on line %d." +msgstr "" +" **FALLO** No se ha podido abrir el archivo PPD - %s en la línea %d." + +#, c-format +msgid " %d ERRORS FOUND" +msgstr " %d ERRORES ENCONTRADOS" + +msgid " NO ERRORS FOUND" +msgstr " NO SE HAN ENCONTRADO ERRORES" + +msgid " --cr End lines with CR (Mac OS 9)." +msgstr " --cr Finalizar líneas con CR (Mac OS 9)." + +msgid " --crlf End lines with CR + LF (Windows)." +msgstr " --crlf Finalizar líneas con CR + LF (Windows)." + +msgid " --lf End lines with LF (UNIX/Linux/macOS)." +msgstr " --lf Finalizar líneas con LF (UNIX/Linux/macOS)." + +msgid " --list-filters List filters that will be used." +msgstr " --list-filters Listar los filtros a usar." + +msgid " -D Remove the input file when finished." +msgstr " -D Eliminar el archivo de entrada al terminar." + +msgid " -D name=value Set named variable to value." +msgstr " -D nombre=valor Establece la variable nombre al valor." + +msgid " -I include-dir Add include directory to search path." +msgstr "" +" -I include-dir Añade directorio include a la ruta de búsqueda." + +msgid " -P filename.ppd Set PPD file." +msgstr " -P nombre_archivo.ppd Establece archivo PPD." + +msgid " -U username Specify username." +msgstr " -U nombre_usuario Especifica el nombre de usuario." + +msgid " -c catalog.po Load the specified message catalog." +msgstr " -c catálogo.po Carga el catálogo de mensajes especificado." + +msgid " -c cups-files.conf Set cups-files.conf file to use." +msgstr " -c cups-files.conf Establece el archivo cups-files.conf a usar." + +msgid " -d output-dir Specify the output directory." +msgstr " -d dir-salida Especifica el directorio de salida." + +msgid " -d printer Use the named printer." +msgstr " -d impresora Usa la impresora especificada." + +msgid " -e Use every filter from the PPD file." +msgstr " -e Usa cada filtro desde el archivo PPD." + +msgid " -i mime/type Set input MIME type (otherwise auto-typed)." +msgstr "" +" -i tipo/mime Establece el tipo MIME de entrada (si no, auto-" +"typed)." + +msgid "" +" -j job-id[,N] Filter file N from the specified job (default is " +"file 1)." +msgstr "" +" -j id-trabajo[,N] Filtra el archivo N desde el trabajo especificado " +"(predeterminado archivo 1)." + +msgid " -l lang[,lang,...] Specify the output language(s) (locale)." +msgstr "" +" -l idioma[,idioma,...] Especifica los idiomas de salida (código regional)." + +msgid " -m Use the ModelName value as the filename." +msgstr "" +" -m Usa el valor ModelName como nombre de archivo." + +msgid "" +" -m mime/type Set output MIME type (otherwise application/pdf)." +msgstr "" +" -m tipo/mime Establece el tipo MIME de salida (si no, " +"application/pdf)." + +msgid " -n copies Set number of copies." +msgstr " -n copias Establece el número de copias." + +msgid "" +" -o filename.drv Set driver information file (otherwise ppdi.drv)." +msgstr "" +" -o nombre_archivo.drv Establece el archivo de información del " +"controlador (si no, ppdi.drv)." + +msgid " -o filename.ppd[.gz] Set output file (otherwise stdout)." +msgstr "" +" -o nombre_archivo.ppd[.gz] Establece el archivo de salida (si no, stdout)." + +msgid " -o name=value Set option(s)." +msgstr " -o nombre=valor Establece opciones." + +msgid " -p filename.ppd Set PPD file." +msgstr " -p nombre_archivo.ppd Establece archivo PPD." + +msgid " -t Test PPDs instead of generating them." +msgstr " -t Prueba los PPDs en vez de generarlos." + +msgid " -t title Set title." +msgstr " -t título Establece título." + +msgid " -u Remove the PPD file when finished." +msgstr " -u Borra el archivo PPD tras terminar." + +msgid " -v Be verbose." +msgstr " -v Ser detallado." + +msgid " -z Compress PPD files using GNU zip." +msgstr " -z Comprimir archivos PPD usando GNU zip." + +msgid " FAIL" +msgstr " FALLO" + +msgid " PASS" +msgstr " PASA" + +msgid "! expression Unary NOT of expression" +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section " +"5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section " +"8.1)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 " +"section 5.1.14)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section " +"5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be " +"positive (RFC 8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC " +"8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section " +"8.3)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." +msgstr "" + +msgid "\"requesting-user-name\" attribute in wrong group." +msgstr "" + +msgid "\"requesting-user-name\" attribute with wrong syntax." +msgstr "" + +#, c-format +msgid "%-7s %-7.7s %-7d %-31.31s %.0f bytes" +msgstr "%-7s %-7.7s %-7d %-31.31s %.0f bytes" + +#, c-format +msgid "%d x %d mm" +msgstr "%d x %d mm" + +#, c-format +msgid "%g x %g \"" +msgstr "" + +#, c-format +msgid "%s (%s)" +msgstr "%s (%s)" + +#, c-format +msgid "%s (%s, %s)" +msgstr "%s (%s, %s)" + +#, c-format +msgid "%s (Borderless)" +msgstr "%s (Sin bordes)" + +#, c-format +msgid "%s (Borderless, %s)" +msgstr "%s (Sin bordes, %s)" + +#, c-format +msgid "%s (Borderless, %s, %s)" +msgstr "%s (Sin bordes, %s, %s)" + +#, c-format +msgid "%s accepting requests since %s" +msgstr "%s aceptando peticiones desde %s" + +#, c-format +msgid "%s cannot be changed." +msgstr "%s no puede ser cambiado." + +#, c-format +msgid "%s is not implemented by the CUPS version of lpc." +msgstr "%s no está implementado en la versión de CUPS de lpc." + +#, c-format +msgid "%s is not ready" +msgstr "%s no está preparada" + +#, c-format +msgid "%s is ready" +msgstr "%s está preparada" + +#, c-format +msgid "%s is ready and printing" +msgstr "%s está preparada e imprimiendo" + +#, c-format +msgid "%s job-id user title copies options [file]" +msgstr "%s job-id usuario título copias opciones [archivo]" + +#, c-format +msgid "%s not accepting requests since %s -" +msgstr "%s no acepta peticiones desde %s -" + +#, c-format +msgid "%s not supported." +msgstr "%s no está implementado." + +#, c-format +msgid "%s/%s accepting requests since %s" +msgstr "%s/%s aceptando peticiones desde %s" + +#, c-format +msgid "%s/%s not accepting requests since %s -" +msgstr "%s/%s no acepta peticiones desde %s -" + +#, c-format +msgid "%s: %-33.33s [job %d localhost]" +msgstr "%s: %-33.33s [trabajo %d localhost]" + +#. TRANSLATORS: Message is "subject: error" +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#, c-format +msgid "%s: %s failed: %s" +msgstr "%s: %s ha fallado: %s" + +#, c-format +msgid "%s: Bad printer URI \"%s\"." +msgstr "%s: URI de impresora \"%s\" no válida." + +#, c-format +msgid "%s: Bad version %s for \"-V\"." +msgstr "%s: Versión %s incorrecta para \"-V\"." + +#, c-format +msgid "%s: Don't know what to do." +msgstr "%s: No sé que hay que hacer." + +#, c-format +msgid "%s: Error - %s" +msgstr "" + +#, c-format +msgid "" +"%s: Error - %s environment variable names non-existent destination \"%s\"." +msgstr "" +"%s: Error - %s nombres de variables de entorno no existen en destino \"%s\"." + +#, c-format +msgid "%s: Error - add '/version=1.1' to server name." +msgstr "%s: Error - añada '/version=1.1' al nombre del servidor." + +#, c-format +msgid "%s: Error - bad job ID." +msgstr "%s: Error - ID de trabajo incorrecta." + +#, c-format +msgid "%s: Error - cannot print files and alter jobs simultaneously." +msgstr "" +"%s: Error - no se pueden imprimir archivos y alterar trabajos al mismo " +"tiempo." + +#, c-format +msgid "%s: Error - cannot print from stdin if files or a job ID are provided." +msgstr "" +"%s: Error - no se puede imprimir desde stdin si se proporcionan archivos o " +"una ID de trabajo." + +#, c-format +msgid "%s: Error - copies must be 1 or more." +msgstr "%s: Error - número de copias debe ser 1 o más." + +#, c-format +msgid "%s: Error - expected character set after \"-S\" option." +msgstr "%s: Error - se esperaba un juego de caracteres tras la opción \"-S\"." + +#, c-format +msgid "%s: Error - expected content type after \"-T\" option." +msgstr "%s: Error - se esperaba un tipo de contenido tras la opción \"-T\"." + +#, c-format +msgid "%s: Error - expected copies after \"-#\" option." +msgstr "%s: Error - se esperaba número de copias tras la opción \"-#\"." + +#, c-format +msgid "%s: Error - expected copies after \"-n\" option." +msgstr "%s: Error - se esperaba número de copias tras la opción \"-n\"." + +#, c-format +msgid "%s: Error - expected destination after \"-P\" option." +msgstr "%s: Error - se esperaba un destino tras la opción \"-P\"." + +#, c-format +msgid "%s: Error - expected destination after \"-d\" option." +msgstr "%s: Error - se esperaba un destino tras la opción \"-d\"." + +#, c-format +msgid "%s: Error - expected form after \"-f\" option." +msgstr "%s: Error - se esperaba un formulario tras la opción \"-f\"." + +#, c-format +msgid "%s: Error - expected hold name after \"-H\" option." +msgstr "%s: Error - se esperaba un nombre de retención tras la opción \"-H\"." + +#, c-format +msgid "%s: Error - expected hostname after \"-H\" option." +msgstr "%s: Error - se esperaba un nombre de equipo tras la opción \"-H\"." + +#, c-format +msgid "%s: Error - expected hostname after \"-h\" option." +msgstr "%s: Error - se esperaba un nombre de equipo tras la opción \"-h\"." + +#, c-format +msgid "%s: Error - expected mode list after \"-y\" option." +msgstr "%s: Error - se esperaba una lista de modos tras la opción \"-y\"." + +#, c-format +msgid "%s: Error - expected name after \"-%c\" option." +msgstr "%s: Error - se esperaba un nombre tras la opción \"-%c\"." + +#, c-format +msgid "%s: Error - expected option=value after \"-o\" option." +msgstr "%s: Error - se esperaba opción=valor tras la opción \"-o\"." + +#, c-format +msgid "%s: Error - expected page list after \"-P\" option." +msgstr "%s: Error - se esperaba una lista de páginas tras la opción \"-P\"." + +#, c-format +msgid "%s: Error - expected priority after \"-%c\" option." +msgstr "%s: Error - se esperaba un valor de prioridad tras la opción \"-%c\"." + +#, c-format +msgid "%s: Error - expected reason text after \"-r\" option." +msgstr "%s: Error - se esperaba un texto con una razón tras la opción \"-r\"." + +#, c-format +msgid "%s: Error - expected title after \"-t\" option." +msgstr "%s: Error - se esperaba un título tras la opción \"-t\"." + +#, c-format +msgid "%s: Error - expected username after \"-U\" option." +msgstr "%s: Error - se esperaba un nombre de usuario tras la opción \"-U\"." + +#, c-format +msgid "%s: Error - expected username after \"-u\" option." +msgstr "%s: Error - se esperaba un nombre de usuario tras la opción \"-u\"." + +#, c-format +msgid "%s: Error - expected value after \"-%c\" option." +msgstr "%s: Error - se esperaba un valor tras la opción \"-%c\"." + +#, c-format +msgid "" +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" " +"option." +msgstr "" +"%s: Error - se necesita \"completed\", \"not completed\", o \"all\" tras la " +"opción \"-W\"." + +#, c-format +msgid "%s: Error - no default destination available." +msgstr "%s: Error - destino predeterminado no disponible." + +#, c-format +msgid "%s: Error - priority must be between 1 and 100." +msgstr "%s: Error - la prioridad debe estar entre 1 y 100." + +#, c-format +msgid "%s: Error - scheduler not responding." +msgstr "%s: Error - el programa planificador de tareas no responde." + +#, c-format +msgid "%s: Error - too many files - \"%s\"." +msgstr "%s: Error - demasiados archivos - \"%s\"." + +#, c-format +msgid "%s: Error - unable to access \"%s\" - %s" +msgstr "%s: Error - no se ha podido acceder a \"%s\" - %s" + +#, c-format +msgid "%s: Error - unable to queue from stdin - %s." +msgstr "%s: Error - no se ha podido poner en cola desde stdin - %s." + +#, c-format +msgid "%s: Error - unknown destination \"%s\"." +msgstr "%s: Error - destino \"%s\" desconocido." + +#, c-format +msgid "%s: Error - unknown destination \"%s/%s\"." +msgstr "%s: Error - destino \"%s/%s\" desconocido." + +#, c-format +msgid "%s: Error - unknown option \"%c\"." +msgstr "%s: Error - opción \"%c\" desconocida." + +#, c-format +msgid "%s: Error - unknown option \"%s\"." +msgstr "%s: Error - opción \"%s\" desconocida." + +#, c-format +msgid "%s: Expected job ID after \"-i\" option." +msgstr "%s: Se esperaba una ID de trabajo tras la opción \"-i\"." + +#, c-format +msgid "%s: Invalid destination name in list \"%s\"." +msgstr "%s: Nombre de destino no válido en la lista \"%s\"." + +#, c-format +msgid "%s: Invalid filter string \"%s\"." +msgstr "%s: Cadena de filtro \"%s\" no válida." + +#, c-format +msgid "%s: Missing filename for \"-P\"." +msgstr "%s: Falta el nombre del archivo para \"-P\"." + +#, c-format +msgid "%s: Missing timeout for \"-T\"." +msgstr "%s: Falta el tiempo de espera para \"-T\"." + +#, c-format +msgid "%s: Missing version for \"-V\"." +msgstr "%s: Falta la versión para \"-V\"." + +#, c-format +msgid "%s: Need job ID (\"-i jobid\") before \"-H restart\"." +msgstr "" +"%s: Se necesita un ID de trabajo (\"-i id_trabajo\") antes de \"-H restart\"." + +#, c-format +msgid "%s: No filter to convert from %s/%s to %s/%s." +msgstr "%s: No hay ningún filtro para convertir de %s/%s a %s/%s." + +#, c-format +msgid "%s: Operation failed: %s" +msgstr "%s: La operación ha fallado: %s" + +#, c-format +msgid "%s: Sorry, no encryption support." +msgstr "%s: Lo siento, no está implementado el cifrado." + +#, c-format +msgid "%s: Unable to connect to \"%s:%d\": %s" +msgstr "%s: No se ha podido conectar a \"%s:%d\": %s" + +#, c-format +msgid "%s: Unable to connect to server." +msgstr "%s: No se ha podido conectar al servidor." + +#, c-format +msgid "%s: Unable to contact server." +msgstr "%s: No se ha podido contactar con el servidor." + +#, c-format +msgid "%s: Unable to create PPD file: %s" +msgstr "%s: No se ha podido crear el archivo PPD: %s" + +#, c-format +msgid "%s: Unable to determine MIME type of \"%s\"." +msgstr "%s: No se ha podido determinar el tipo MIME de \"%s\"." + +#, c-format +msgid "%s: Unable to open \"%s\": %s" +msgstr "%s: No se pudo abrir \"%s\": %s" + +#, c-format +msgid "%s: Unable to open %s: %s" +msgstr "%s: No se pudo abrir %s: %s" + +#, c-format +msgid "%s: Unable to open PPD file: %s on line %d." +msgstr "%s: No se ha podido abrir el archivo PPD: %s en la línea %d." + +#, c-format +msgid "%s: Unable to query printer: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to read MIME database from \"%s\" or \"%s\"." +msgstr "%s: No se pudo leer base de datos MIME desde \"%s\" o \"%s\"." + +#, c-format +msgid "%s: Unable to resolve \"%s\"." +msgstr "%s: No se ha podido resolver \"%s\"." + +#, c-format +msgid "%s: Unknown argument \"%s\"." +msgstr "%s: Argumento \"%s\" desconocido." + +#, c-format +msgid "%s: Unknown destination \"%s\"." +msgstr "%s: Destino \"%s\" desconocido." + +#, c-format +msgid "%s: Unknown destination MIME type %s/%s." +msgstr "%s: Tipo MIME de destino %s/%s desconocido." + +#, c-format +msgid "%s: Unknown option \"%c\"." +msgstr "%s: Opción \"%c\" desconocida." + +#, c-format +msgid "%s: Unknown option \"%s\"." +msgstr "%s: Opción \"%s\" desconocida." + +#, c-format +msgid "%s: Unknown option \"-%c\"." +msgstr "%s: Opción \"-%c\" desconocida." + +#, c-format +msgid "%s: Unknown source MIME type %s/%s." +msgstr "%s: Tipo MIME de origen %s/%s desconocido." + +#, c-format +msgid "" +"%s: Warning - \"%c\" format modifier not supported - output may not be " +"correct." +msgstr "" +"%s: Advertencia - no se admite el uso del modificador de formato \"%c\" - la " +"salida puede no ser correcta." + +#, c-format +msgid "%s: Warning - character set option ignored." +msgstr "%s: Advertencia - opción de juego de caracteres no tenida en cuenta." + +#, c-format +msgid "%s: Warning - content type option ignored." +msgstr "%s: Advertencia - opción de tipo de contenido no tenida en cuenta." + +#, c-format +msgid "%s: Warning - form option ignored." +msgstr "%s: Advertencia - opción de formulario no tenida en cuenta." + +#, c-format +msgid "%s: Warning - mode option ignored." +msgstr "%s: Advertencia - opción de modo no tenida en cuenta." + +msgid "( expressions ) Group expressions" +msgstr "" + +msgid "- Cancel all jobs" +msgstr "" + +msgid "-# num-copies Specify the number of copies to print" +msgstr "" + +msgid "--[no-]debug-logging Turn debug logging on/off" +msgstr "" + +msgid "--[no-]remote-admin Turn remote administration on/off" +msgstr "" + +msgid "--[no-]remote-any Allow/prevent access from the Internet" +msgstr "" + +msgid "--[no-]share-printers Turn printer sharing on/off" +msgstr "" + +msgid "--[no-]user-cancel-any Allow/prevent users to cancel any job" +msgstr "" + +msgid "" +"--device-id device-id Show models matching the given IEEE 1284 device ID" +msgstr "" + +msgid "--domain regex Match domain to regular expression" +msgstr "" + +msgid "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" +msgstr "" + +msgid "" +"--exec utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "--false Always false" +msgstr "" + +msgid "--help Show program help" +msgstr "" + +msgid "--hold Hold new jobs" +msgstr "" + +msgid "--host regex Match hostname to regular expression" +msgstr "" + +msgid "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" +msgstr "" + +msgid "--ippserver filename Produce ippserver attribute file" +msgstr "" + +msgid "--language locale Show models matching the given locale" +msgstr "" + +msgid "--local True if service is local" +msgstr "" + +msgid "--ls List attributes" +msgstr "" + +msgid "" +"--make-and-model name Show models matching the given make and model name" +msgstr "" + +msgid "--name regex Match service name to regular expression" +msgstr "" + +msgid "--no-web-forms Disable web forms for media and supplies" +msgstr "" + +msgid "--not expression Unary NOT of expression" +msgstr "" + +msgid "--path regex Match resource path to regular expression" +msgstr "" + +msgid "--port number[-number] Match port to number or range" +msgstr "" + +msgid "--print Print URI if true" +msgstr "" + +msgid "--print-name Print service name if true" +msgstr "" + +msgid "" +"--product name Show models matching the given PostScript product" +msgstr "" + +msgid "--quiet Quietly report match via exit code" +msgstr "" + +msgid "--release Release previously held jobs" +msgstr "" + +msgid "--remote True if service is remote" +msgstr "" + +msgid "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" +msgstr "" + +msgid "" +"--timeout seconds Specify the maximum number of seconds to discover " +"devices" +msgstr "" + +msgid "--true Always true" +msgstr "" + +msgid "--txt key True if the TXT record contains the key" +msgstr "" + +msgid "--txt-* regex Match TXT record key to regular expression" +msgstr "" + +msgid "--uri regex Match URI to regular expression" +msgstr "" + +msgid "--version Show program version" +msgstr "" + +msgid "--version Show version" +msgstr "" + +msgid "-1" +msgstr "-1" + +msgid "-10" +msgstr "-10" + +msgid "-100" +msgstr "-100" + +msgid "-105" +msgstr "-105" + +msgid "-11" +msgstr "-11" + +msgid "-110" +msgstr "-110" + +msgid "-115" +msgstr "-115" + +msgid "-12" +msgstr "-12" + +msgid "-120" +msgstr "-120" + +msgid "-13" +msgstr "-13" + +msgid "-14" +msgstr "-14" + +msgid "-15" +msgstr "-15" + +msgid "-2" +msgstr "-2" + +msgid "-2 Set 2-sided printing support (default=1-sided)" +msgstr "" + +msgid "-20" +msgstr "-20" + +msgid "-25" +msgstr "-25" + +msgid "-3" +msgstr "-3" + +msgid "-30" +msgstr "-30" + +msgid "-35" +msgstr "-35" + +msgid "-4" +msgstr "-4" + +msgid "-4 Connect using IPv4" +msgstr "" + +msgid "-40" +msgstr "-40" + +msgid "-45" +msgstr "-45" + +msgid "-5" +msgstr "-5" + +msgid "-50" +msgstr "-50" + +msgid "-55" +msgstr "-55" + +msgid "-6" +msgstr "-6" + +msgid "-6 Connect using IPv6" +msgstr "" + +msgid "-60" +msgstr "-60" + +msgid "-65" +msgstr "-65" + +msgid "-7" +msgstr "-7" + +msgid "-70" +msgstr "-70" + +msgid "-75" +msgstr "-75" + +msgid "-8" +msgstr "-8" + +msgid "-80" +msgstr "-80" + +msgid "-85" +msgstr "-85" + +msgid "-9" +msgstr "-9" + +msgid "-90" +msgstr "-90" + +msgid "-95" +msgstr "-95" + +msgid "-C Send requests using chunking (default)" +msgstr "" + +msgid "-D description Specify the textual description of the printer" +msgstr "" + +msgid "-D device-uri Set the device URI for the printer" +msgstr "" + +msgid "" +"-E Enable and accept jobs on the printer (after -p)" +msgstr "" + +msgid "-E Encrypt the connection to the server" +msgstr "" + +msgid "-E Test with encryption using HTTP Upgrade to TLS" +msgstr "" + +msgid "-F Run in the foreground but detach from console." +msgstr "" + +msgid "-F output-type/subtype Set the output format for the printer" +msgstr "" + +msgid "-H Show the default server and port" +msgstr "" + +msgid "-H HH:MM Hold the job until the specified UTC time" +msgstr "" + +msgid "-H hold Hold the job until released/resumed" +msgstr "" + +msgid "-H immediate Print the job as soon as possible" +msgstr "" + +msgid "-H restart Reprint the job" +msgstr "" + +msgid "-H resume Resume a held job" +msgstr "" + +msgid "-H server[:port] Connect to the named server and port" +msgstr "" + +msgid "-I Ignore errors" +msgstr "" + +msgid "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" +msgstr "" + +msgid "" +"-K keypath Set location of server X.509 certificates and keys." +msgstr "" + +msgid "-L Send requests using content-length" +msgstr "" + +msgid "-L location Specify the textual location of the printer" +msgstr "" + +msgid "-M manufacturer Set manufacturer name (default=Test)" +msgstr "" + +msgid "-P destination Show status for the specified destination" +msgstr "" + +msgid "-P destination Specify the destination" +msgstr "" + +msgid "" +"-P filename.plist Produce XML plist to a file and test report to " +"standard output" +msgstr "" + +msgid "-P filename.ppd Load printer attributes from PPD file" +msgstr "" + +msgid "-P number[-number] Match port to number or range" +msgstr "" + +msgid "-P page-list Specify a list of pages to print" +msgstr "" + +msgid "-R Show the ranking of jobs" +msgstr "" + +msgid "-R name-default Remove the default value for the named option" +msgstr "" + +msgid "-R root-directory Set alternate root" +msgstr "" + +msgid "-S Test with encryption using HTTPS" +msgstr "" + +msgid "-T seconds Set the browse timeout in seconds" +msgstr "" + +msgid "-T seconds Set the receive/send timeout in seconds" +msgstr "" + +msgid "-T title Specify the job title" +msgstr "" + +msgid "-U username Specify the username to use for authentication" +msgstr "" + +msgid "-U username Specify username to use for authentication" +msgstr "" + +msgid "-V version Set default IPP version" +msgstr "" + +msgid "-W completed Show completed jobs" +msgstr "" + +msgid "-W not-completed Show pending jobs" +msgstr "" + +msgid "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes," +"translations}\n" +" Issue warnings instead of errors" +msgstr "" + +msgid "-X Produce XML plist instead of plain text" +msgstr "" + +msgid "-a Cancel all jobs" +msgstr "" + +msgid "-a Show jobs on all destinations" +msgstr "" + +msgid "-a [destination(s)] Show the accepting state of destinations" +msgstr "" + +msgid "-a filename.conf Load printer attributes from conf file" +msgstr "" + +msgid "-c Make a copy of the print file(s)" +msgstr "" + +msgid "-c Produce CSV output" +msgstr "" + +msgid "-c [class(es)] Show classes and their member printers" +msgstr "" + +msgid "-c class Add the named destination to a class" +msgstr "" + +msgid "-c command Set print command" +msgstr "" + +msgid "-c cupsd.conf Set cupsd.conf file to use." +msgstr "" + +msgid "-d Show the default destination" +msgstr "" + +msgid "-d destination Set default destination" +msgstr "" + +msgid "-d destination Set the named destination as the server default" +msgstr "" + +msgid "-d name=value Set named variable to value" +msgstr "" + +msgid "-d regex Match domain to regular expression" +msgstr "" + +msgid "-d spool-directory Set spool directory" +msgstr "" + +msgid "-e Show available destinations on the network" +msgstr "" + +msgid "-f Run in the foreground." +msgstr "" + +msgid "-f filename Set default request filename" +msgstr "" + +msgid "-f type/subtype[,...] Set supported file types" +msgstr "" + +msgid "-h Show this usage message." +msgstr "" + +msgid "-h Validate HTTP response headers" +msgstr "" + +msgid "-h regex Match hostname to regular expression" +msgstr "" + +msgid "-h server[:port] Connect to the named server and port" +msgstr "" + +msgid "-i iconfile.png Set icon file" +msgstr "" + +msgid "-i id Specify an existing job ID to modify" +msgstr "" + +msgid "-i ppd-file Specify a PPD file for the printer" +msgstr "" + +msgid "" +"-i seconds Repeat the last file with the given time interval" +msgstr "" + +msgid "-k Keep job spool files" +msgstr "" + +msgid "-l List attributes" +msgstr "" + +msgid "-l Produce plain text output" +msgstr "" + +msgid "-l Run cupsd on demand." +msgstr "" + +msgid "-l Show supported options and values" +msgstr "" + +msgid "-l Show verbose (long) output" +msgstr "" + +msgid "-l location Set location of printer" +msgstr "" + +msgid "" +"-m Send an email notification when the job completes" +msgstr "" + +msgid "-m Show models" +msgstr "" + +msgid "" +"-m everywhere Specify the printer is compatible with IPP Everywhere" +msgstr "" + +msgid "-m model Set model name (default=Printer)" +msgstr "" + +msgid "" +"-m model Specify a standard model/PPD file for the printer" +msgstr "" + +msgid "-n count Repeat the last file the given number of times" +msgstr "" + +msgid "-n hostname Set hostname for printer" +msgstr "" + +msgid "-n num-copies Specify the number of copies to print" +msgstr "" + +msgid "-n regex Match service name to regular expression" +msgstr "" + +msgid "" +"-o Name=Value Specify the default value for the named PPD option " +msgstr "" + +msgid "-o [destination(s)] Show jobs" +msgstr "" + +msgid "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" +msgstr "" + +msgid "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" +msgstr "" + +msgid "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" +msgstr "" + +msgid "-o job-page-limit=N Specify the page limit for per-user quotas" +msgstr "" + +msgid "-o job-quota-period=N Specify the per-user quota period in seconds" +msgstr "" + +msgid "-o job-sheets=standard Print a banner page with the job" +msgstr "" + +msgid "-o media=size Specify the media size to use" +msgstr "" + +msgid "-o name-default=value Specify the default value for the named option" +msgstr "" + +msgid "-o name[=value] Set default option and value" +msgstr "" + +msgid "" +"-o number-up=N Specify that input pages should be printed N-up (1, " +"2, 4, 6, 9, and 16 are supported)" +msgstr "" + +msgid "-o option[=value] Specify a printer-specific option" +msgstr "" + +msgid "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" +msgstr "" + +msgid "" +"-o print-quality=N Specify the print quality - draft (3), normal (4), " +"or best (5)" +msgstr "" + +msgid "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" +msgstr "" + +msgid "" +"-o printer-is-shared=true\n" +" Share the printer" +msgstr "" + +msgid "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" +msgstr "" + +msgid "-o sides=one-sided Specify 1-sided printing" +msgstr "" + +msgid "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" +msgstr "" + +msgid "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" +msgstr "" + +msgid "-p Print URI if true" +msgstr "" + +msgid "-p [printer(s)] Show the processing state of destinations" +msgstr "" + +msgid "-p destination Specify a destination" +msgstr "" + +msgid "-p destination Specify/add the named destination" +msgstr "" + +msgid "-p port Set port number for printer" +msgstr "" + +msgid "-q Quietly report match via exit code" +msgstr "" + +msgid "-q Run silently" +msgstr "" + +msgid "-q Specify the job should be held for printing" +msgstr "" + +msgid "-q priority Specify the priority from low (1) to high (100)" +msgstr "" + +msgid "-r Remove the file(s) after submission" +msgstr "" + +msgid "-r Show whether the CUPS server is running" +msgstr "" + +msgid "-r True if service is remote" +msgstr "" + +msgid "-r Use 'relaxed' open mode" +msgstr "" + +msgid "-r class Remove the named destination from a class" +msgstr "" + +msgid "-r reason Specify a reason message that others can see" +msgstr "" + +msgid "-r subtype,[subtype] Set DNS-SD service subtype" +msgstr "" + +msgid "-s Be silent" +msgstr "" + +msgid "-s Print service name if true" +msgstr "" + +msgid "-s Show a status summary" +msgstr "" + +msgid "-s cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid "-s speed[,color-speed] Set speed in pages per minute" +msgstr "" + +msgid "-t Produce a test report" +msgstr "" + +msgid "-t Show all status information" +msgstr "" + +msgid "-t Test the configuration file." +msgstr "" + +msgid "-t key True if the TXT record contains the key" +msgstr "" + +msgid "-t title Specify the job title" +msgstr "" + +msgid "" +"-u [user(s)] Show jobs queued by the current or specified users" +msgstr "" + +msgid "-u allow:all Allow all users to print" +msgstr "" + +msgid "" +"-u allow:list Allow the list of users or groups (@name) to print" +msgstr "" + +msgid "" +"-u deny:list Prevent the list of users or groups (@name) to print" +msgstr "" + +msgid "-u owner Specify the owner to use for jobs" +msgstr "" + +msgid "-u regex Match URI to regular expression" +msgstr "" + +msgid "-v Be verbose" +msgstr "" + +msgid "-v Show devices" +msgstr "" + +msgid "-v [printer(s)] Show the devices for each destination" +msgstr "" + +msgid "-v device-uri Specify the device URI for the printer" +msgstr "" + +msgid "-vv Be very verbose" +msgstr "" + +msgid "-x Purge jobs rather than just canceling" +msgstr "" + +msgid "-x destination Remove default options for destination" +msgstr "" + +msgid "-x destination Remove the named destination" +msgstr "" + +msgid "" +"-x utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "/etc/cups/lpoptions file names default destination that does not exist." +msgstr "" + +msgid "0" +msgstr "0" + +msgid "1" +msgstr "1" + +msgid "1 inch/sec." +msgstr "1 pulg./seg" + +msgid "1.25x0.25\"" +msgstr "1.25x0.25 pulg." + +msgid "1.25x2.25\"" +msgstr "1.25x2.25 pulg." + +msgid "1.5 inch/sec." +msgstr "1.5 pulg./seg" + +msgid "1.50x0.25\"" +msgstr "1.50x0.25 pulg." + +msgid "1.50x0.50\"" +msgstr "1.50x0.50 pulg." + +msgid "1.50x1.00\"" +msgstr "1.50x1.00 pulg." + +msgid "1.50x2.00\"" +msgstr "1.50x2.00 pulg." + +msgid "10" +msgstr "10" + +msgid "10 inches/sec." +msgstr "10 pulg./seg" + +msgid "10 x 11" +msgstr "10 x 11" + +msgid "10 x 13" +msgstr "10 x 13" + +msgid "10 x 14" +msgstr "10 x 14" + +msgid "100" +msgstr "100" + +msgid "100 mm/sec." +msgstr "100 mm/seg" + +msgid "105" +msgstr "105" + +msgid "11" +msgstr "11" + +msgid "11 inches/sec." +msgstr "11 pulg./seg" + +msgid "110" +msgstr "110" + +msgid "115" +msgstr "115" + +msgid "12" +msgstr "12" + +msgid "12 inches/sec." +msgstr "12 pulg./seg" + +msgid "12 x 11" +msgstr "12 x 11" + +msgid "120" +msgstr "120" + +msgid "120 mm/sec." +msgstr "120 mm/seg" + +msgid "120x60dpi" +msgstr "120x60ppp" + +msgid "120x72dpi" +msgstr "120x72ppp" + +msgid "13" +msgstr "13" + +msgid "136dpi" +msgstr "136ppp" + +msgid "14" +msgstr "14" + +msgid "15" +msgstr "15" + +msgid "15 mm/sec." +msgstr "15 mm/seg" + +msgid "15 x 11" +msgstr "15 x 11" + +msgid "150 mm/sec." +msgstr "150 mm/seg" + +msgid "150dpi" +msgstr "150ppp" + +msgid "16" +msgstr "16" + +msgid "17" +msgstr "17" + +msgid "18" +msgstr "18" + +msgid "180dpi" +msgstr "180ppp" + +msgid "19" +msgstr "19" + +msgid "2" +msgstr "2" + +msgid "2 inches/sec." +msgstr "2 pulg./seg" + +msgid "2-Sided Printing" +msgstr "Dúplex" + +msgid "2.00x0.37\"" +msgstr "2.00x0.37 pulg." + +msgid "2.00x0.50\"" +msgstr "2.00x0.50 pulg." + +msgid "2.00x1.00\"" +msgstr "2.00x1.00 pulg." + +msgid "2.00x1.25\"" +msgstr "2.00x1.25 pulg." + +msgid "2.00x2.00\"" +msgstr "2.00x2.00 pulg." + +msgid "2.00x3.00\"" +msgstr "2.00x3.00 pulg." + +msgid "2.00x4.00\"" +msgstr "2.00x4.00 pulg." + +msgid "2.00x5.50\"" +msgstr "2.00x5.50 pulg." + +msgid "2.25x0.50\"" +msgstr "2.25x0.50 pulg." + +msgid "2.25x1.25\"" +msgstr "2.25x1.25 pulg." + +msgid "2.25x4.00\"" +msgstr "2.25x4.00 pulg." + +msgid "2.25x5.50\"" +msgstr "2.25x5.50 pulg." + +msgid "2.38x5.50\"" +msgstr "2.38x5.50 pulg." + +msgid "2.5 inches/sec." +msgstr "2.5 pulg./seg" + +msgid "2.50x1.00\"" +msgstr "2.50x1.00 pulg." + +msgid "2.50x2.00\"" +msgstr "2.50x2.00 pulg." + +msgid "2.75x1.25\"" +msgstr "2.75x1.25 pulg." + +msgid "2.9 x 1\"" +msgstr "2.9 x 1 pulg." + +msgid "20" +msgstr "20" + +msgid "20 mm/sec." +msgstr "20 mm/seg" + +msgid "200 mm/sec." +msgstr "200 mm/seg" + +msgid "203dpi" +msgstr "203ppp" + +msgid "21" +msgstr "21" + +msgid "22" +msgstr "22" + +msgid "23" +msgstr "23" + +msgid "24" +msgstr "24" + +msgid "24-Pin Series" +msgstr "24-Pin Series" + +msgid "240x72dpi" +msgstr "240x72ppp" + +msgid "25" +msgstr "25" + +msgid "250 mm/sec." +msgstr "250 mm/seg" + +msgid "26" +msgstr "26" + +msgid "27" +msgstr "27" + +msgid "28" +msgstr "28" + +msgid "29" +msgstr "29" + +msgid "3" +msgstr "3" + +msgid "3 inches/sec." +msgstr "3 pulg./seg" + +msgid "3 x 5" +msgstr "3 x 5" + +msgid "3.00x1.00\"" +msgstr "3.00x1.00 pulg." + +msgid "3.00x1.25\"" +msgstr "3.00x1.25 pulg." + +msgid "3.00x2.00\"" +msgstr "3.00x2.00 pulg." + +msgid "3.00x3.00\"" +msgstr "3.00x3.00 pulg." + +msgid "3.00x5.00\"" +msgstr "3.00x5.00 pulg." + +msgid "3.25x2.00\"" +msgstr "3.25x2.00 pulg." + +msgid "3.25x5.00\"" +msgstr "3.25x5.00 pulg." + +msgid "3.25x5.50\"" +msgstr "3.25x5.50 pulg." + +msgid "3.25x5.83\"" +msgstr "3.25x5.83 pulg." + +msgid "3.25x7.83\"" +msgstr "3.25x7.83 pulg." + +msgid "3.5 x 5" +msgstr "3.5 x 5" + +msgid "3.5\" Disk" +msgstr "Disco de 3.5 pulg." + +msgid "3.50x1.00\"" +msgstr "3.50x1.00 pulg." + +msgid "30" +msgstr "30" + +msgid "30 mm/sec." +msgstr "30 mm/seg" + +msgid "300 mm/sec." +msgstr "300 mm/seg" + +msgid "300dpi" +msgstr "300ppp" + +msgid "35" +msgstr "35" + +msgid "360dpi" +msgstr "360ppp" + +msgid "360x180dpi" +msgstr "360x180ppp" + +msgid "4" +msgstr "4" + +msgid "4 inches/sec." +msgstr "4 pulg./seg" + +msgid "4.00x1.00\"" +msgstr "4.00x1.00 pulg." + +msgid "4.00x13.00\"" +msgstr "4.00x13.00 pulg." + +msgid "4.00x2.00\"" +msgstr "4.00x2.00 pulg." + +msgid "4.00x2.50\"" +msgstr "4.00x2.50 pulg." + +msgid "4.00x3.00\"" +msgstr "4.00x3.00 pulg." + +msgid "4.00x4.00\"" +msgstr "4.00x4.00 pulg." + +msgid "4.00x5.00\"" +msgstr "4.00x5.00 pulg." + +msgid "4.00x6.00\"" +msgstr "4.00x6.00 pulg." + +msgid "4.00x6.50\"" +msgstr "4.00x6.50 pulg." + +msgid "40" +msgstr "40" + +msgid "40 mm/sec." +msgstr "40 mm/seg" + +msgid "45" +msgstr "45" + +msgid "5" +msgstr "5" + +msgid "5 inches/sec." +msgstr "5 pulg./seg" + +msgid "5 x 7" +msgstr "5 x 7" + +msgid "50" +msgstr "50" + +msgid "55" +msgstr "55" + +msgid "6" +msgstr "6" + +msgid "6 inches/sec." +msgstr "6 pulg./seg" + +msgid "6.00x1.00\"" +msgstr "6.00x1.00 pulg." + +msgid "6.00x2.00\"" +msgstr "6.00x2.00 pulg." + +msgid "6.00x3.00\"" +msgstr "6.00x3.00 pulg." + +msgid "6.00x4.00\"" +msgstr "6.00x4.00 pulg." + +msgid "6.00x5.00\"" +msgstr "6.00x5.00 pulg." + +msgid "6.00x6.00\"" +msgstr "6.00x6.00 pulg." + +msgid "6.00x6.50\"" +msgstr "6.00x6.50 pulg." + +msgid "60" +msgstr "60" + +msgid "60 mm/sec." +msgstr "60 mm/seg" + +msgid "600dpi" +msgstr "600ppp" + +msgid "60dpi" +msgstr "60ppp" + +msgid "60x72dpi" +msgstr "60x72ppp" + +msgid "65" +msgstr "65" + +msgid "7" +msgstr "7" + +msgid "7 inches/sec." +msgstr "7 pulg./seg" + +msgid "7 x 9" +msgstr "7 x 9" + +msgid "70" +msgstr "70" + +msgid "75" +msgstr "75" + +msgid "8" +msgstr "8" + +msgid "8 inches/sec." +msgstr "8 pulg./seg" + +msgid "8 x 10" +msgstr "8 x 10" + +msgid "8.00x1.00\"" +msgstr "8.00x1.00 pulg." + +msgid "8.00x2.00\"" +msgstr "8.00x2.00 pulg." + +msgid "8.00x3.00\"" +msgstr "8.00x3.00 pulg." + +msgid "8.00x4.00\"" +msgstr "8.00x4.00 pulg." + +msgid "8.00x5.00\"" +msgstr "8.00x5.00 pulg." + +msgid "8.00x6.00\"" +msgstr "8.00x6.00 pulg." + +msgid "8.00x6.50\"" +msgstr "8.00x6.50 pulg." + +msgid "80" +msgstr "80" + +msgid "80 mm/sec." +msgstr "80 mm/seg" + +msgid "85" +msgstr "85" + +msgid "9" +msgstr "9" + +msgid "9 inches/sec." +msgstr "9 pulg./seg" + +msgid "9 x 11" +msgstr "9 x 11" + +msgid "9 x 12" +msgstr "9 x 12" + +msgid "9-Pin Series" +msgstr "9-Pin Series" + +msgid "90" +msgstr "90" + +msgid "95" +msgstr "95" + +msgid "?Invalid help command unknown." +msgstr "?Comando de ayuda no válido desconocido." + +#, c-format +msgid "A class named \"%s\" already exists." +msgstr "Ya existe una clase llamada \"%s\"." + +#, c-format +msgid "A printer named \"%s\" already exists." +msgstr "Ya existe una impresora llamada \"%s\"." + +msgid "A0" +msgstr "A0" + +msgid "A0 Long Edge" +msgstr "A0 lado largo" + +msgid "A1" +msgstr "A1" + +msgid "A1 Long Edge" +msgstr "A1 lado largo" + +msgid "A10" +msgstr "A10" + +msgid "A2" +msgstr "A2" + +msgid "A2 Long Edge" +msgstr "A2 lado largo" + +msgid "A3" +msgstr "A3" + +msgid "A3 Long Edge" +msgstr "A3 lado largo" + +msgid "A3 Oversize" +msgstr "A3 Extragrande" + +msgid "A3 Oversize Long Edge" +msgstr "A3 Extragrande lado largo" + +msgid "A4" +msgstr "A4" + +msgid "A4 Long Edge" +msgstr "A4 lado largo" + +msgid "A4 Oversize" +msgstr "A4 Extragrande" + +msgid "A4 Small" +msgstr "A4 Pequeño" + +msgid "A5" +msgstr "A5" + +msgid "A5 Long Edge" +msgstr "A5 lado largo" + +msgid "A5 Oversize" +msgstr "A5 Extragrande" + +msgid "A6" +msgstr "A6" + +msgid "A6 Long Edge" +msgstr "A6 lado largo" + +msgid "A7" +msgstr "A7" + +msgid "A8" +msgstr "A8" + +msgid "A9" +msgstr "A9" + +msgid "ANSI A" +msgstr "ANSI A" + +msgid "ANSI B" +msgstr "ANSI B" + +msgid "ANSI C" +msgstr "ANSI C" + +msgid "ANSI D" +msgstr "ANSI D" + +msgid "ANSI E" +msgstr "ANSI E" + +msgid "ARCH C" +msgstr "ARCH C" + +msgid "ARCH C Long Edge" +msgstr "ARCH C lado largo" + +msgid "ARCH D" +msgstr "ARCH D" + +msgid "ARCH D Long Edge" +msgstr "ARCH D lado largo" + +msgid "ARCH E" +msgstr "ARCH E" + +msgid "ARCH E Long Edge" +msgstr "ARCH E lado largo" + +msgid "Accept Jobs" +msgstr "Aceptar trabajos" + +msgid "Accepted" +msgstr "Aceptado" + +msgid "Add Class" +msgstr "Añadir clase" + +msgid "Add Printer" +msgstr "Añadir impresora" + +msgid "Address" +msgstr "Dirección" + +msgid "Administration" +msgstr "Administración" + +msgid "Always" +msgstr "Siempre" + +msgid "AppSocket/HP JetDirect" +msgstr "AppSocket/HP JetDirect" + +msgid "Applicator" +msgstr "Aplicador" + +#, c-format +msgid "Attempt to set %s printer-state to bad value %d." +msgstr "" +"Se ha intentado cambiar el valor printer-state de %s a un valor incorrecto " +"%d." + +#, c-format +msgid "Attribute \"%s\" is in the wrong group." +msgstr "El atributo \"%s\" está en el grupo equivocado." + +#, c-format +msgid "Attribute \"%s\" is the wrong value type." +msgstr "El atributo \"%s\" es el tipo de valor equivocado." + +#, c-format +msgid "Attribute groups are out of order (%x < %x)." +msgstr "Los grupos de atributos están desordenados (%x < %x)." + +msgid "B0" +msgstr "B0" + +msgid "B1" +msgstr "B1" + +msgid "B10" +msgstr "B10" + +msgid "B2" +msgstr "B2" + +msgid "B3" +msgstr "B3" + +msgid "B4" +msgstr "B4" + +msgid "B5" +msgstr "B5" + +msgid "B5 Oversize" +msgstr "A5 Extragrande" + +msgid "B6" +msgstr "B6" + +msgid "B7" +msgstr "B7" + +msgid "B8" +msgstr "B8" + +msgid "B9" +msgstr "B9" + +#, c-format +msgid "Bad \"printer-id\" value %d." +msgstr "" + +#, c-format +msgid "Bad '%s' value." +msgstr "" + +#, c-format +msgid "Bad 'document-format' value \"%s\"." +msgstr "Valor 'document-format' \"%s\" incorrecto." + +msgid "Bad CloseUI/JCLCloseUI" +msgstr "" + +msgid "Bad NULL dests pointer" +msgstr "Puntero destino NULLincorrecto" + +msgid "Bad OpenGroup" +msgstr "OpenGroup incorrecto" + +msgid "Bad OpenUI/JCLOpenUI" +msgstr "OpenUI/JCLOpenUI incorrecto" + +msgid "Bad OrderDependency" +msgstr "OrderDependency incorrecto" + +msgid "Bad PPD cache file." +msgstr "Archivo de caché PPD incorrecto." + +msgid "Bad PPD file." +msgstr "Archivo PPD incorrecto." + +msgid "Bad Request" +msgstr "Petición incorrecta" + +msgid "Bad SNMP version number" +msgstr "Número de versión SNMP incorrecto" + +msgid "Bad UIConstraints" +msgstr "UIConstraints incorrecto" + +msgid "Bad URI." +msgstr "" + +msgid "Bad arguments to function" +msgstr "Argumentos de la función incorrectos" + +#, c-format +msgid "Bad copies value %d." +msgstr "Valor de copias %d incorrecto." + +msgid "Bad custom parameter" +msgstr "Parámetro a medida incorrecto" + +#, c-format +msgid "Bad device-uri \"%s\"." +msgstr "device-uri \"%s\" incorrecto." + +#, c-format +msgid "Bad device-uri scheme \"%s\"." +msgstr "Esquema device-uri \"%s\" incorrecto." + +#, c-format +msgid "Bad document-format \"%s\"." +msgstr "document-format \"%s\" incorrecto." + +#, c-format +msgid "Bad document-format-default \"%s\"." +msgstr "document-format-default \"%s\" incorrecto." + +msgid "Bad filename buffer" +msgstr "Nombre de archivo del búfer incorrecto" + +msgid "Bad hostname/address in URI" +msgstr "Nombre de equipo/dirección incorrecto en la URI" + +#, c-format +msgid "Bad job-name value: %s" +msgstr "Valor job-name incorrecto: %s" + +msgid "Bad job-name value: Wrong type or count." +msgstr "Valor job-name incorrecto: tipo o contador equivocado." + +msgid "Bad job-priority value." +msgstr "Valor job-priority incorrecto." + +#, c-format +msgid "Bad job-sheets value \"%s\"." +msgstr "Valor de job-sheets \"%s\" incorrecto." + +msgid "Bad job-sheets value type." +msgstr "Tipo de valor de job-sheets incorrecto." + +msgid "Bad job-state value." +msgstr "Valor job-state incorrecto." + +#, c-format +msgid "Bad job-uri \"%s\"." +msgstr "job-uri \"%s\" incorrecto." + +#, c-format +msgid "Bad notify-pull-method \"%s\"." +msgstr "notify-pull-method \"%s\" incorrecto." + +#, c-format +msgid "Bad notify-recipient-uri \"%s\"." +msgstr "notify-recipient-uri \"%s\" incorrecto." + +#, c-format +msgid "Bad notify-user-data \"%s\"." +msgstr "" + +#, c-format +msgid "Bad number-up value %d." +msgstr "Valor number-up (páginas por hoja) %d incorrecto." + +#, c-format +msgid "Bad page-ranges values %d-%d." +msgstr "Valores de page-ranges %d-%d incorrectos." + +msgid "Bad port number in URI" +msgstr "Número de puerto incorrecto en URI" + +#, c-format +msgid "Bad port-monitor \"%s\"." +msgstr "port-monitor \"%s\" incorrecto." + +#, c-format +msgid "Bad printer-state value %d." +msgstr "Valor printer-state %d incorrecto." + +msgid "Bad printer-uri." +msgstr "printer-uri incorrecto." + +#, c-format +msgid "Bad request ID %d." +msgstr "Petición incorrecta de ID %d." + +#, c-format +msgid "Bad request version number %d.%d." +msgstr "Petición incorrecta de número de versión %d.%d." + +msgid "Bad resource in URI" +msgstr "Recurso incorrecto en URI" + +msgid "Bad scheme in URI" +msgstr "Esquema incorrecto en URI" + +msgid "Bad username in URI" +msgstr "Nombre de usuario incorrecto en URI" + +msgid "Bad value string" +msgstr "Cadena de valores incorrecta" + +msgid "Bad/empty URI" +msgstr "URI incorrecta/vacía" + +msgid "Banners" +msgstr "Rótulos" + +msgid "Bond Paper" +msgstr "Papel de cartas" + +msgid "Booklet" +msgstr "" + +#, c-format +msgid "Boolean expected for waiteof option \"%s\"." +msgstr "Se esperaba un valor lógico para la opción waiteof \"%s\"." + +msgid "Buffer overflow detected, aborting." +msgstr "Se ha detectado un desbordamiento de buffer, cancelando." + +msgid "CMYK" +msgstr "CMYK" + +msgid "CPCL Label Printer" +msgstr "Impresora de etiquetas CPCL" + +msgid "Cancel Jobs" +msgstr "Cancelar trabajos" + +msgid "Canceling print job." +msgstr "Cancelando trabajo de impresión." + +msgid "Cannot change printer-is-shared for remote queues." +msgstr "No se ha podido cambiar printer-is-shared para colas remotas" + +msgid "Cannot share a remote Kerberized printer." +msgstr "No se puede compartir una impresora remota Kerberizada." + +msgid "Cassette" +msgstr "Casete" + +msgid "Change Settings" +msgstr "Cambiar configuración" + +#, c-format +msgid "Character set \"%s\" not supported." +msgstr "No se admite el juego de caracteres \"%s\"." + +msgid "Classes" +msgstr "Clases" + +msgid "Clean Print Heads" +msgstr "Limpiar cabezales de impresión" + +msgid "Close-Job doesn't support the job-uri attribute." +msgstr "Close-Job no admite el atributo job-uri." + +msgid "Color" +msgstr "Color" + +msgid "Color Mode" +msgstr "Modo de color" + +msgid "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" +msgstr "" +"Los comandos se pueden abreviar. Los comandos son:exit help quit " +"status ?" + +msgid "Community name uses indefinite length" +msgstr "Nombre de comunidad usa una longitud indefinida" + +msgid "Connected to printer." +msgstr "Conectado a la impresora." + +msgid "Connecting to printer." +msgstr "Conectando a la impresora." + +msgid "Continue" +msgstr "Continuar" + +msgid "Continuous" +msgstr "Continuo" + +msgid "Control file sent successfully." +msgstr "Archivo de control enviado correctamente." + +msgid "Copying print data." +msgstr "Copiando datos de impresión." + +msgid "Created" +msgstr "Creado" + +msgid "Credentials do not validate against site CA certificate." +msgstr "" + +msgid "Credentials have expired." +msgstr "" + +msgid "Custom" +msgstr "A medida" + +msgid "CustominCutInterval" +msgstr "CustominCutInterval" + +msgid "CustominTearInterval" +msgstr "CustominTearInterval" + +msgid "Cut" +msgstr "Cortar" + +msgid "Cutter" +msgstr "Cortadora" + +msgid "Dark" +msgstr "Oscuro" + +msgid "Darkness" +msgstr "Oscuridad" + +msgid "Data file sent successfully." +msgstr "Archivo de datos enviado correctamente." + +msgid "Deep Color" +msgstr "" + +msgid "Deep Gray" +msgstr "" + +msgid "Delete Class" +msgstr "Borrar clase" + +msgid "Delete Printer" +msgstr "Borrar impresora" + +msgid "DeskJet Series" +msgstr "DeskJet Series" + +#, c-format +msgid "Destination \"%s\" is not accepting jobs." +msgstr "El destino %s no acepta trabajos." + +msgid "Device CMYK" +msgstr "" + +msgid "Device Gray" +msgstr "" + +msgid "Device RGB" +msgstr "" + +#, c-format +msgid "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" +msgstr "" +"Dispositivo: uri = %s\n" +" clase = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" ubicación: %s" + +msgid "Direct Thermal Media" +msgstr "Soporte térmico directo" + +#, c-format +msgid "Directory \"%s\" contains a relative path." +msgstr "El directorio \"%s\" contiene una ruta relativa." + +#, c-format +msgid "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "El directorio \"%s\" tiene permisos no seguros (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "Directory \"%s\" is a file." +msgstr "El directorio \"%s\" es un archivo." + +#, c-format +msgid "Directory \"%s\" not available: %s" +msgstr "Directorio \"%s\" no disponible: %s" + +#, c-format +msgid "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "Permisos del directorio \"%s\" OK (0%o/uid=%d/gid=%d)." + +msgid "Disabled" +msgstr "Deshabilitado" + +#, c-format +msgid "Document #%d does not exist in job #%d." +msgstr "El documento #%d no existe en el trabajo #%d." + +msgid "Draft" +msgstr "Borrador" + +msgid "Duplexer" +msgstr "Unidad de impresión dúplex" + +msgid "Dymo" +msgstr "Dymo" + +msgid "EPL1 Label Printer" +msgstr "Impresora de etiquetas EPL1" + +msgid "EPL2 Label Printer" +msgstr "Impresora de etiquetas EPL2" + +msgid "Edit Configuration File" +msgstr "Editar archivo de configuración" + +msgid "Encryption is not supported." +msgstr "El cifrado no está implementado." + +#. TRANSLATORS: Banner/cover sheet after the print job. +msgid "Ending Banner" +msgstr "Rótulo final" + +msgid "English" +msgstr "Spanish" + +msgid "" +"Enter your username and password or the root username and password to access " +"this page. If you are using Kerberos authentication, make sure you have a " +"valid Kerberos ticket." +msgstr "" +"Introduzca su nombre de usuario y contraseña o el nombre de usuario y " +"contraseña de root para poder acceder a esta página. Si está usando " +"autentificación Kerberos, asegúrese de que tiene un ticket Kerberos válido." + +msgid "Envelope #10" +msgstr "Sobre #10" + +msgid "Envelope #11" +msgstr "Sobre #11" + +msgid "Envelope #12" +msgstr "Sobre #12" + +msgid "Envelope #14" +msgstr "Sobre #14" + +msgid "Envelope #9" +msgstr "Sobre #9" + +msgid "Envelope B4" +msgstr "Sobre B4" + +msgid "Envelope B5" +msgstr "Sobre B5" + +msgid "Envelope B6" +msgstr "Sobre B6" + +msgid "Envelope C0" +msgstr "Sobre C0" + +msgid "Envelope C1" +msgstr "Sobre C1" + +msgid "Envelope C2" +msgstr "Sobre C2" + +msgid "Envelope C3" +msgstr "Sobre C3" + +msgid "Envelope C4" +msgstr "Sobre C4" + +msgid "Envelope C5" +msgstr "Sobre C5" + +msgid "Envelope C6" +msgstr "Sobre C6" + +msgid "Envelope C65" +msgstr "Sobre C65" + +msgid "Envelope C7" +msgstr "Sobre C7" + +msgid "Envelope Choukei 3" +msgstr "Sobre Choukei 3" + +msgid "Envelope Choukei 3 Long Edge" +msgstr "Sobre Choukei 3 lado largo" + +msgid "Envelope Choukei 4" +msgstr "Sobre Choukei 4" + +msgid "Envelope Choukei 4 Long Edge" +msgstr "Sobre Choukei 4 lado largo" + +msgid "Envelope DL" +msgstr "Sobre DL" + +msgid "Envelope Feed" +msgstr "Alimentador de sobre" + +msgid "Envelope Invite" +msgstr "Sobre Invitación" + +msgid "Envelope Italian" +msgstr "Sobre Italiano" + +msgid "Envelope Kaku2" +msgstr "Sobre Kaku2" + +msgid "Envelope Kaku2 Long Edge" +msgstr "Sobre Kaku2 lado largo" + +msgid "Envelope Kaku3" +msgstr "Sobre Kaku3" + +msgid "Envelope Kaku3 Long Edge" +msgstr "Sobre Kaku3 lado largo" + +msgid "Envelope Monarch" +msgstr "Sobre Monarch" + +msgid "Envelope PRC1" +msgstr "Sobre PRC1" + +msgid "Envelope PRC1 Long Edge" +msgstr "Sobre PRC1 lado largo" + +msgid "Envelope PRC10" +msgstr "Sobre PRC10" + +msgid "Envelope PRC10 Long Edge" +msgstr "Sobre PRC10 lado largo" + +msgid "Envelope PRC2" +msgstr "Sobre PRC2" + +msgid "Envelope PRC2 Long Edge" +msgstr "Sobre PRC2 lado largo" + +msgid "Envelope PRC3" +msgstr "Sobre PRC3" + +msgid "Envelope PRC3 Long Edge" +msgstr "Sobre PRC3 lado largo" + +msgid "Envelope PRC4" +msgstr "Sobre PRC4" + +msgid "Envelope PRC4 Long Edge" +msgstr "Sobre PRC4 lado largo" + +msgid "Envelope PRC5 Long Edge" +msgstr "Sobre PRC5 lado largo" + +msgid "Envelope PRC5PRC5" +msgstr "Sobre PRC5PRC5" + +msgid "Envelope PRC6" +msgstr "Sobre PRC6" + +msgid "Envelope PRC6 Long Edge" +msgstr "Sobre PRC6 lado largo" + +msgid "Envelope PRC7" +msgstr "Sobre PRC7" + +msgid "Envelope PRC7 Long Edge" +msgstr "Sobre PRC7 lado largo" + +msgid "Envelope PRC8" +msgstr "Sobre PRC8" + +msgid "Envelope PRC8 Long Edge" +msgstr "Sobre PRC8 lado largo" + +msgid "Envelope PRC9" +msgstr "Sobre PRC9" + +msgid "Envelope PRC9 Long Edge" +msgstr "Sobre PRC9 lado largo" + +msgid "Envelope Personal" +msgstr "Sobre Personal" + +msgid "Envelope You4" +msgstr "Sobre You4" + +msgid "Envelope You4 Long Edge" +msgstr "Sobre You4 lado largo" + +msgid "Environment Variables:" +msgstr "Variables de entorno:" + +msgid "Epson" +msgstr "Epson" + +msgid "Error Policy" +msgstr "Directiva de error" + +msgid "Error reading raster data." +msgstr "Error leyendo trama de datos (raster)." + +msgid "Error sending raster data." +msgstr "Error enviando trama de datos (raster)." + +msgid "Error: need hostname after \"-h\" option." +msgstr "Error: se necesita un nombre de equipo tras la opción \"-h\"." + +msgid "European Fanfold" +msgstr "" + +msgid "European Fanfold Legal" +msgstr "" + +msgid "Every 10 Labels" +msgstr "Cada 10 etiquetas" + +msgid "Every 2 Labels" +msgstr "Cada 2 etiquetas" + +msgid "Every 3 Labels" +msgstr "Cada 3 etiquetas" + +msgid "Every 4 Labels" +msgstr "Cada 4 etiquetas" + +msgid "Every 5 Labels" +msgstr "Cada 5 etiquetas" + +msgid "Every 6 Labels" +msgstr "Cada 6 etiquetas" + +msgid "Every 7 Labels" +msgstr "Cada 7 etiquetas" + +msgid "Every 8 Labels" +msgstr "Cada 8 etiquetas" + +msgid "Every 9 Labels" +msgstr "Cada 9 etiquetas" + +msgid "Every Label" +msgstr "Cada etiqueta" + +msgid "Executive" +msgstr "Ejecutivo" + +msgid "Expectation Failed" +msgstr "Lo que se esperaba, falló." + +msgid "Expressions:" +msgstr "Expresiones:" + +msgid "Fast Grayscale" +msgstr "Escala de grises rápida" + +#, c-format +msgid "File \"%s\" contains a relative path." +msgstr "El archivo \"%s\" contiene una ruta relativa." + +#, c-format +msgid "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "El archivo \"%s\" tiene permisos no seguros (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "File \"%s\" is a directory." +msgstr "El archivo \"%s\" es un directorio." + +#, c-format +msgid "File \"%s\" not available: %s" +msgstr "Archivo \"%s\" no disponible: %s" + +#, c-format +msgid "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "Permisos del archivo \"%s\" OK (0%o/uid=%d/gid=%d)." + +msgid "File Folder" +msgstr "Carpeta de archivo" + +#, c-format +msgid "" +"File device URIs have been disabled. To enable, see the FileDevice directive " +"in \"%s/cups-files.conf\"." +msgstr "" +"Los URIs del dispositivo de archivo han sido deshabilitados. Para " +"habilitarlos, vea la directiva FileDevice en \"%s/cups-files.conf\"." + +#, c-format +msgid "Finished page %d." +msgstr "Acabada la página %d." + +msgid "Finishing Preset" +msgstr "" + +msgid "Fold" +msgstr "Plegado" + +msgid "Folio" +msgstr "Folio" + +msgid "Forbidden" +msgstr "Prohibido" + +msgid "Found" +msgstr "" + +msgid "General" +msgstr "General" + +msgid "Generic" +msgstr "Genérico" + +msgid "Get-Response-PDU uses indefinite length" +msgstr "Get-Response-PDU usa una longitud indefinida" + +msgid "Glossy Paper" +msgstr "Papel brillante" + +msgid "Got a printer-uri attribute but no job-id." +msgstr "Se ha obtenido el atributo printer-uri pero no el job-id." + +msgid "Grayscale" +msgstr "Escale de grises" + +msgid "HP" +msgstr "HP" + +msgid "Hanging Folder" +msgstr "Carpeta colgante" + +msgid "Hash buffer too small." +msgstr "Memoria temporal hash demasiado pequeña." + +msgid "Help file not in index." +msgstr "El archivo de ayuda no está en el índice." + +msgid "High" +msgstr "Alta" + +msgid "IPP 1setOf attribute with incompatible value tags." +msgstr "Atributo IPP 1setOf con etiquetas de valor incompatibles." + +msgid "IPP attribute has no name." +msgstr "Atributo IPP sin nombre." + +msgid "IPP attribute is not a member of the message." +msgstr "El atributo IPP no es un miembro del mensaje." + +msgid "IPP begCollection value not 0 bytes." +msgstr "IPP el valor begCollection no es de 0 bytes." + +msgid "IPP boolean value not 1 byte." +msgstr "IPP el valor lógico no es de 1 byte." + +msgid "IPP date value not 11 bytes." +msgstr "IPP el valor de fecha no es de 11 bytes." + +msgid "IPP endCollection value not 0 bytes." +msgstr "IPP el valor endCollection no es de 0 bytes." + +msgid "IPP enum value not 4 bytes." +msgstr "IPP el valor enum no es de 4 bytes." + +msgid "IPP extension tag larger than 0x7FFFFFFF." +msgstr "IPP etiqueta de extensión mayor de 0x7FFFFFFF." + +msgid "IPP integer value not 4 bytes." +msgstr "IPP el valor entero no es de 4 bytes." + +msgid "IPP language length overflows value." +msgstr "IPP la longitud del idioma sobrepasa el valor." + +msgid "IPP language length too large." +msgstr "Longitud de idioma IPP demasiado larga." + +msgid "IPP member name is not empty." +msgstr "IPP el nombre del miembro no está vacío." + +msgid "IPP memberName value is empty." +msgstr "IPP el valor memberName está vacío." + +msgid "IPP memberName with no attribute." +msgstr "IPP memberName sin atributo." + +msgid "IPP name larger than 32767 bytes." +msgstr "IPP nombre mayor de 32767 bytes." + +msgid "IPP nameWithLanguage value less than minimum 4 bytes." +msgstr "IPP el valor nameWithLanguage menor del mínimo de 4 bytes." + +msgid "IPP octetString length too large." +msgstr "Longitud de IPP octetString demasiado larga." + +msgid "IPP rangeOfInteger value not 8 bytes." +msgstr "IPP el valor rangeOfInteger no es de 8 bytes." + +msgid "IPP resolution value not 9 bytes." +msgstr "IPP el valor de la resolución no es de 9 bytes." + +msgid "IPP string length overflows value." +msgstr "IPP la longitud de la cadena sobrepasa el valor." + +msgid "IPP textWithLanguage value less than minimum 4 bytes." +msgstr "IPP el valor textWithLanguage menor del mínimo de 4 bytes." + +msgid "IPP value larger than 32767 bytes." +msgstr "IPP valor mayor de 32767 bytes." + +msgid "IPPFIND_SERVICE_DOMAIN Domain name" +msgstr "" + +msgid "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" +msgstr "" + +msgid "IPPFIND_SERVICE_NAME Service instance name" +msgstr "" + +msgid "IPPFIND_SERVICE_PORT Port number" +msgstr "" + +msgid "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" +msgstr "" + +msgid "IPPFIND_SERVICE_SCHEME URI scheme" +msgstr "" + +msgid "IPPFIND_SERVICE_URI URI" +msgstr "" + +msgid "IPPFIND_TXT_* Value of TXT record key" +msgstr "" + +msgid "ISOLatin1" +msgstr "ISOLatin1" + +msgid "Illegal control character" +msgstr "Carácter de control ilegal" + +msgid "Illegal main keyword string" +msgstr "Cadena de clave principal ilegal" + +msgid "Illegal option keyword string" +msgstr "Cadena de clave de opción ilegal" + +msgid "Illegal translation string" +msgstr "Cadena de traducción ilegal" + +msgid "Illegal whitespace character" +msgstr "Carácter de espacio en blanco ilegal" + +msgid "Installable Options" +msgstr "Opciones instalables" + +msgid "Installed" +msgstr "Instalada" + +msgid "IntelliBar Label Printer" +msgstr "Impresora de etiquetas IntelliBar" + +msgid "Intellitech" +msgstr "Intellitech" + +msgid "Internal Server Error" +msgstr "Error interno del servidor" + +msgid "Internal error" +msgstr "Error interno" + +msgid "Internet Postage 2-Part" +msgstr "Correo por Internet Parte-2" + +msgid "Internet Postage 3-Part" +msgstr "Correo por Internet Parte-3" + +msgid "Internet Printing Protocol" +msgstr "Protocolo de Impresión de Internet IPP" + +msgid "Invalid group tag." +msgstr "" + +msgid "Invalid media name arguments." +msgstr "Argumentos del nombre del papel no válidos." + +msgid "Invalid media size." +msgstr "Tamaño de papel no válido." + +msgid "Invalid named IPP attribute in collection." +msgstr "" + +msgid "Invalid ppd-name value." +msgstr "Valor ppd-name' no válido." + +#, c-format +msgid "Invalid printer command \"%s\"." +msgstr "Comando de impresora \"%s\" no válido." + +msgid "JCL" +msgstr "JCL" + +msgid "JIS B0" +msgstr "JIS B0" + +msgid "JIS B1" +msgstr "JIS B1" + +msgid "JIS B10" +msgstr "JIS B10" + +msgid "JIS B2" +msgstr "JIS B2" + +msgid "JIS B3" +msgstr "JIS B3" + +msgid "JIS B4" +msgstr "JIS B4" + +msgid "JIS B4 Long Edge" +msgstr "JIS B4 lado largo" + +msgid "JIS B5" +msgstr "JIS B5" + +msgid "JIS B5 Long Edge" +msgstr "JIS B5 lado largo" + +msgid "JIS B6" +msgstr "JIS B6" + +msgid "JIS B6 Long Edge" +msgstr "JIS B6 lado largo" + +msgid "JIS B7" +msgstr "JIS B7" + +msgid "JIS B8" +msgstr "JIS B8" + +msgid "JIS B9" +msgstr "JIS B9" + +#, c-format +msgid "Job #%d cannot be restarted - no files." +msgstr "El trabajo #%d no puede ser reiniciado - no hay archivos." + +#, c-format +msgid "Job #%d does not exist." +msgstr "El trabajo #%d no existe." + +#, c-format +msgid "Job #%d is already aborted - can't cancel." +msgstr "El trabajo #%d ya está anulado - no se puede cancelar." + +#, c-format +msgid "Job #%d is already canceled - can't cancel." +msgstr "El trabajo #%d ya está cancelado - no se puede cancelar." + +#, c-format +msgid "Job #%d is already completed - can't cancel." +msgstr "El trabajo #%d ya ha sido completado - no se puede cancelar." + +#, c-format +msgid "Job #%d is finished and cannot be altered." +msgstr "El trabajo #%d ha terminado y no puede ser modificado." + +#, c-format +msgid "Job #%d is not complete." +msgstr "El trabajo #%d no ha sido completado." + +#, c-format +msgid "Job #%d is not held for authentication." +msgstr "El trabajo #%d no está retenido para autentificación." + +#, c-format +msgid "Job #%d is not held." +msgstr "El trabajo #%d no está retenido." + +msgid "Job Completed" +msgstr "Trabajo completado" + +msgid "Job Created" +msgstr "Trabajo creado" + +msgid "Job Options Changed" +msgstr "Opciones de trabajo cambiadas" + +msgid "Job Stopped" +msgstr "Trabajo detenido" + +msgid "Job is completed and cannot be changed." +msgstr "El trabajo está terminado y no puede ser cambiado." + +msgid "Job operation failed" +msgstr "La operación del trabajo ha fallado" + +msgid "Job state cannot be changed." +msgstr "No se puede cambiar el estado del trabajo." + +msgid "Job subscriptions cannot be renewed." +msgstr "Las suscripciones de trabajos no han podido ser renovadas." + +msgid "Jobs" +msgstr "Trabajos" + +msgid "LPD/LPR Host or Printer" +msgstr "Equipo o impresora LPD/LPR" + +msgid "" +"LPDEST environment variable names default destination that does not exist." +msgstr "" + +msgid "Label Printer" +msgstr "Impresora de etiquetas" + +msgid "Label Top" +msgstr "Parte superior de la etiqueta" + +#, c-format +msgid "Language \"%s\" not supported." +msgstr "No se admite el uso del idioma \"%s\"." + +msgid "Large Address" +msgstr "Dirección grande" + +msgid "LaserJet Series PCL 4/5" +msgstr "LaserJet Series PCL 4/5" + +msgid "Letter Oversize" +msgstr "Carta Extragrande" + +msgid "Letter Oversize Long Edge" +msgstr "Carta Extragrande lado largo" + +msgid "Light" +msgstr "Ligero" + +msgid "Line longer than the maximum allowed (255 characters)" +msgstr "Línea más larga que el máximo permitido (255 caracteres)" + +msgid "List Available Printers" +msgstr "Listar impresoras disponibles" + +#, c-format +msgid "Listening on port %d." +msgstr "" + +msgid "Local printer created." +msgstr "Impresora creada localmente." + +msgid "Long-Edge (Portrait)" +msgstr "Lado largo (retrato)" + +msgid "Looking for printer." +msgstr "" + +msgid "Manual Feed" +msgstr "Alimentación manual" + +msgid "Media Size" +msgstr "Tamaño de papel" + +msgid "Media Source" +msgstr "Fuente del papel" + +msgid "Media Tracking" +msgstr "Seguimiento del medio" + +msgid "Media Type" +msgstr "Tipo de papel" + +msgid "Medium" +msgstr "Media" + +msgid "Memory allocation error" +msgstr "Error de reserva de memoria" + +msgid "Missing CloseGroup" +msgstr "Falta CloseGroup" + +msgid "Missing CloseUI/JCLCloseUI" +msgstr "" + +msgid "Missing PPD-Adobe-4.x header" +msgstr "Falta cabecera PPD-Adobe-4.x" + +msgid "Missing asterisk in column 1" +msgstr "Falta un asterisco en la columna 1" + +msgid "Missing document-number attribute." +msgstr "Falta el atributo document-number." + +msgid "Missing form variable" +msgstr "Falta una variable de formulario" + +msgid "Missing last-document attribute in request." +msgstr "Falta el atributo last-document en la petición." + +msgid "Missing media or media-col." +msgstr "Falta media o media-col." + +msgid "Missing media-size in media-col." +msgstr "Falta media-size en media-col." + +msgid "Missing notify-subscription-ids attribute." +msgstr "Falta el atributo notify-subscription-ids." + +msgid "Missing option keyword" +msgstr "Falta cadena de clave de opción" + +msgid "Missing requesting-user-name attribute." +msgstr "Falta el atributo requesting-user-name." + +#, c-format +msgid "Missing required attribute \"%s\"." +msgstr "Falta atributo necesario \"%s\"." + +msgid "Missing required attributes." +msgstr "Faltan atributos necesarios." + +msgid "Missing resource in URI" +msgstr "Falta recurso en URI" + +msgid "Missing scheme in URI" +msgstr "Falta esquema en URI" + +msgid "Missing value string" +msgstr "Falta cadena de valores" + +msgid "Missing x-dimension in media-size." +msgstr "Falta x-dimension en media-size." + +msgid "Missing y-dimension in media-size." +msgstr "Falta y-dimension en media-size." + +#, c-format +msgid "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" +msgstr "" +"Modelo: nombre = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" + +msgid "Modifiers:" +msgstr "Modificadores:" + +msgid "Modify Class" +msgstr "Modificar clase" + +msgid "Modify Printer" +msgstr "Modificar impresora" + +msgid "Move All Jobs" +msgstr "Mover todos los trabajos" + +msgid "Move Job" +msgstr "Mover trabajo" + +msgid "Moved Permanently" +msgstr "Movido permanentemente" + +msgid "NULL PPD file pointer" +msgstr "Puntero de archivo PPD NULO" + +msgid "Name OID uses indefinite length" +msgstr "Nombre OID usa una longitud indefinida" + +msgid "Nested classes are not allowed." +msgstr "No se permiten clases anidadas." + +msgid "Never" +msgstr "Nunca" + +msgid "New credentials are not valid for name." +msgstr "" + +msgid "New credentials are older than stored credentials." +msgstr "" + +msgid "No" +msgstr "No" + +msgid "No Content" +msgstr "No hay contenido" + +msgid "No IPP attributes." +msgstr "" + +msgid "No PPD name" +msgstr "No hay nombre de PPD" + +msgid "No VarBind SEQUENCE" +msgstr "No hay Varbind SEQUENCE" + +msgid "No active connection" +msgstr "No hay conexión activa" + +msgid "No active connection." +msgstr "No hay conexión activa." + +#, c-format +msgid "No active jobs on %s." +msgstr "No hay trabajos activos en %s." + +msgid "No attributes in request." +msgstr "No hay atributos en la solicitud." + +msgid "No authentication information provided." +msgstr "No se ha proporcionado información de autentificación." + +msgid "No common name specified." +msgstr "" + +msgid "No community name" +msgstr "No hay nombre de comunidad" + +msgid "No default destination." +msgstr "" + +msgid "No default printer." +msgstr "No hay impresora predeterminada." + +msgid "No destinations added." +msgstr "No se han añadido destinos." + +msgid "No device URI found in argv[0] or in DEVICE_URI environment variable." +msgstr "" +"No se ha encontrado el URI del dispositivo en argv[0] o en la variable de " +"entorno DEVICE_URI." + +msgid "No error-index" +msgstr "No hay error-index" + +msgid "No error-status" +msgstr "No hay error-status" + +msgid "No file in print request." +msgstr "No hay ningún archivo en la solicitud de impresión." + +msgid "No modification time" +msgstr "No hay tiempo de modificación" + +msgid "No name OID" +msgstr "No hay nombre OID" + +msgid "No pages were found." +msgstr "No se han encontrado páginas." + +msgid "No printer name" +msgstr "No hay nombre de impresora" + +msgid "No printer-uri found" +msgstr "No se encontró printer-uri" + +msgid "No printer-uri found for class" +msgstr "No se encontró printer-uri para la clase" + +msgid "No printer-uri in request." +msgstr "No hay printer-uri en la solicitud." + +msgid "No request URI." +msgstr "No se ha solicitado URI." + +msgid "No request protocol version." +msgstr "No se ha solicitado versión del protocolo." + +msgid "No request sent." +msgstr "No se ha enviado solicitud." + +msgid "No request-id" +msgstr "No hay request-id" + +msgid "No stored credentials, not valid for name." +msgstr "" + +msgid "No subscription attributes in request." +msgstr "No hay atributos de subscripción en la solicitud." + +msgid "No subscriptions found." +msgstr "No se han encontrado subscripciones." + +msgid "No variable-bindings SEQUENCE" +msgstr "No hay variable-bindings SEQUENCE" + +msgid "No version number" +msgstr "No hay número de versión" + +msgid "Non-continuous (Mark sensing)" +msgstr "No continuo (sensible a señal)" + +msgid "Non-continuous (Web sensing)" +msgstr "No continuo (sensible a web)" + +msgid "None" +msgstr "" + +msgid "Normal" +msgstr "Normal" + +msgid "Not Found" +msgstr "No encontrado" + +msgid "Not Implemented" +msgstr "No implementado" + +msgid "Not Installed" +msgstr "No instalado" + +msgid "Not Modified" +msgstr "No modificado" + +msgid "Not Supported" +msgstr "No implementado" + +msgid "Not allowed to print." +msgstr "No se permite imprimir." + +msgid "Note" +msgstr "Nota" + +msgid "OK" +msgstr "OK" + +msgid "Off (1-Sided)" +msgstr "Desactivado (1 cara)" + +msgid "Oki" +msgstr "Oki" + +msgid "Online Help" +msgstr "Ayuda en línea" + +msgid "Only local users can create a local printer." +msgstr "Sólo usuarios locales pueden crear una impresora local." + +#, c-format +msgid "Open of %s failed: %s" +msgstr "La apertura de %s ha fallado: %s" + +msgid "OpenGroup without a CloseGroup first" +msgstr "OpenGroup sin un CloseGroup previo" + +msgid "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" +msgstr "OpenUI/JCLOpenUI sin un CloseUI/JCLCloseUI previo" + +msgid "Operation Policy" +msgstr "Directiva de operación" + +#, c-format +msgid "Option \"%s\" cannot be included via %%%%IncludeFeature." +msgstr "La opción \"%s\" no puede incluirse via %%%%IncludeFeature." + +msgid "Options Installed" +msgstr "Opciones instaladas" + +msgid "Options:" +msgstr "Opciones:" + +msgid "Other Media" +msgstr "" + +msgid "Other Tray" +msgstr "" + +msgid "Out of date PPD cache file." +msgstr "Archivo de caché PPD obsoleto." + +msgid "Out of memory." +msgstr "Sin memoria." + +msgid "Output Mode" +msgstr "Modo de salida" + +msgid "PCL Laser Printer" +msgstr "Impresora Laser PCL" + +msgid "PRC16K" +msgstr "PRC16K" + +msgid "PRC16K Long Edge" +msgstr "PRC16K lado largo" + +msgid "PRC32K" +msgstr "PRC32K" + +msgid "PRC32K Long Edge" +msgstr "PRC32K lado largo" + +msgid "PRC32K Oversize" +msgstr "PRC32K Extragrande" + +msgid "PRC32K Oversize Long Edge" +msgstr "PRC32K Extragrande lado largo" + +msgid "" +"PRINTER environment variable names default destination that does not exist." +msgstr "" + +msgid "Packet does not contain a Get-Response-PDU" +msgstr "El paquete no contiene un Get-Response-PDU" + +msgid "Packet does not start with SEQUENCE" +msgstr "El paquete no empieza por SEQUENCE" + +msgid "ParamCustominCutInterval" +msgstr "ParamCustominCutInterval" + +msgid "ParamCustominTearInterval" +msgstr "ParamCustominTearInterval" + +#, c-format +msgid "Password for %s on %s? " +msgstr "¿Contraseña de %s en %s? " + +msgid "Pause Class" +msgstr "Pausar clase" + +msgid "Pause Printer" +msgstr "Pausar impresora" + +msgid "Peel-Off" +msgstr "Despegar" + +msgid "Photo" +msgstr "Foto" + +msgid "Photo Labels" +msgstr "Foto pequeña" + +msgid "Plain Paper" +msgstr "Papel normal" + +msgid "Policies" +msgstr "Reglas" + +msgid "Port Monitor" +msgstr "Monitor de puerto" + +msgid "PostScript Printer" +msgstr "Impresora PostScript" + +msgid "Postcard" +msgstr "Postal" + +msgid "Postcard Double" +msgstr "Postal doble" + +msgid "Postcard Double Long Edge" +msgstr "Postal doble lado largo" + +msgid "Postcard Long Edge" +msgstr "Postal lado largo" + +msgid "Preparing to print." +msgstr "Preparando la impresión." + +msgid "Print Density" +msgstr "Densidad de impresión" + +msgid "Print Job:" +msgstr "Imprimir trabajo:" + +msgid "Print Mode" +msgstr "Modo de impresión" + +msgid "Print Quality" +msgstr "Calidad de impresión" + +msgid "Print Rate" +msgstr "Tasa de impresión" + +msgid "Print Self-Test Page" +msgstr "Imprimir página de auto-prueba" + +msgid "Print Speed" +msgstr "Velocidad de impresión" + +msgid "Print Test Page" +msgstr "Imprimir página de prueba" + +msgid "Print and Cut" +msgstr "Imprimir y cortar" + +msgid "Print and Tear" +msgstr "Imprimir y romper" + +msgid "Print file sent." +msgstr "Archivo de impresión enviado." + +msgid "Print job canceled at printer." +msgstr "Trabajo de impresión cancelado en la impresora." + +msgid "Print job too large." +msgstr "Trabajo de impresión demasiado grande." + +msgid "Print job was not accepted." +msgstr "No se acepta el trabajo de impresión." + +#, c-format +msgid "Printer \"%s\" already exists." +msgstr "Ya existe la impresora \"%s\"." + +msgid "Printer Added" +msgstr "Impresora añadida" + +msgid "Printer Default" +msgstr "Predeterminado de la impresora" + +msgid "Printer Deleted" +msgstr "Impresora borrada" + +msgid "Printer Modified" +msgstr "Impresora modificada" + +msgid "Printer Paused" +msgstr "Impresora en pausa" + +msgid "Printer Settings" +msgstr "Configuración de la impresora" + +msgid "Printer cannot print supplied content." +msgstr "La impresora no puede imprimir el contenido suministrado." + +msgid "Printer cannot print with supplied options." +msgstr "La impresora no puede imprimir con las opciones suministradas." + +msgid "Printer does not support required IPP attributes or document formats." +msgstr "" + +msgid "Printer:" +msgstr "Impresora:" + +msgid "Printers" +msgstr "Impresoras" + +#, c-format +msgid "Printing page %d, %u%% complete." +msgstr "Imprimiendo página %d, %u%% completado." + +msgid "Punch" +msgstr "Perforadora" + +msgid "Quarto" +msgstr "Libro en cuarto" + +msgid "Quota limit reached." +msgstr "Se ha alcanzado el límite de cuota." + +msgid "Rank Owner Job File(s) Total Size" +msgstr "Rango Propiet. Trabajo Archivo(s) Tamaño total" + +msgid "Reject Jobs" +msgstr "Rechazar trabajos" + +#, c-format +msgid "Remote host did not accept control file (%d)." +msgstr "El equipo remoto no ha aceptado el archivo de control (%d)." + +#, c-format +msgid "Remote host did not accept data file (%d)." +msgstr "El equipo remoto no ha aceptado el archivo de datos (%d)." + +msgid "Reprint After Error" +msgstr "Volver a imprimir tras un error" + +msgid "Request Entity Too Large" +msgstr "La entidad requerida es demasiado larga" + +msgid "Resolution" +msgstr "Resolución" + +msgid "Resume Class" +msgstr "Reanudar clase" + +msgid "Resume Printer" +msgstr "Reanudar impresora" + +msgid "Return Address" +msgstr "Remite" + +msgid "Rewind" +msgstr "Rebobinar" + +msgid "SEQUENCE uses indefinite length" +msgstr "SEQUENCE usa una longitud indefinida" + +msgid "SSL/TLS Negotiation Error" +msgstr "Error en negociación SSL/TLS" + +msgid "See Other" +msgstr "Ver otros" + +msgid "See remote printer." +msgstr "Ver impresora remota." + +msgid "Self-signed credentials are blocked." +msgstr "" + +msgid "Sending data to printer." +msgstr "Enviando datos a la impresora." + +msgid "Server Restarted" +msgstr "Servidor reiniciado" + +msgid "Server Security Auditing" +msgstr "Auditoría de seguridad del servidor" + +msgid "Server Started" +msgstr "Servidor iniciado" + +msgid "Server Stopped" +msgstr "Servidor parado" + +msgid "Server credentials not set." +msgstr "Credenciales del servidor no establecidas." + +msgid "Service Unavailable" +msgstr "Servicio no disponible" + +msgid "Set Allowed Users" +msgstr "Establecer usuarios permitidos" + +msgid "Set As Server Default" +msgstr "Establecer como predeterminada del servidor" + +msgid "Set Class Options" +msgstr "Cambiar opciones clase" + +msgid "Set Printer Options" +msgstr "Cambiar opciones impresora" + +msgid "Set Publishing" +msgstr "Hacer pública" + +msgid "Shipping Address" +msgstr "Dirección de envío" + +msgid "Short-Edge (Landscape)" +msgstr "Lado corto (apaisado)" + +msgid "Special Paper" +msgstr "Papel especial" + +#, c-format +msgid "Spooling job, %.0f%% complete." +msgstr "Guardando trabajo en cola, %.0f%% completado." + +msgid "Standard" +msgstr "Estándar" + +msgid "Staple" +msgstr "Grapa" + +#. TRANSLATORS: Banner/cover sheet before the print job. +msgid "Starting Banner" +msgstr "Rótulo inicial" + +#, c-format +msgid "Starting page %d." +msgstr "Iniciando página %d." + +msgid "Statement" +msgstr "Declaración" + +#, c-format +msgid "Subscription #%d does not exist." +msgstr "Subscripción #%d no existe." + +msgid "Substitutions:" +msgstr "Substituciones:" + +msgid "Super A" +msgstr "Super A" + +msgid "Super B" +msgstr "Super B (13 x 19 pulg.)" + +msgid "Super B/A3" +msgstr "Super B/A3" + +msgid "Switching Protocols" +msgstr "Protocolos de conexión" + +msgid "Tabloid" +msgstr "Tabloide" + +msgid "Tabloid Oversize" +msgstr "Tabloide extragrande" + +msgid "Tabloid Oversize Long Edge" +msgstr "Tabloide extragrande lado largo" + +msgid "Tear" +msgstr "Pestaña" + +msgid "Tear-Off" +msgstr "Pestaña desprendible" + +msgid "Tear-Off Adjust Position" +msgstr "Ajuste de posición de la pestaña desprendible" + +#, c-format +msgid "The \"%s\" attribute is required for print jobs." +msgstr "Se necesita el atributo \"%s\" para los trabajos de impresión." + +#, c-format +msgid "The %s attribute cannot be provided with job-ids." +msgstr "El atributo %s no puede ser usado con jobs-ids." + +#, c-format +msgid "" +"The '%s' Job Status attribute cannot be supplied in a job creation request." +msgstr "" +"El atributo de estado de trabajo '%s' no puede ser suministrado en una " +"solicitud de creación de trabajo." + +#, c-format +msgid "" +"The '%s' operation attribute cannot be supplied in a Create-Job request." +msgstr "" +"El atributo de operación '%s' no puede ser suministrado en una petición " +"Create-Job." + +#, c-format +msgid "The PPD file \"%s\" could not be found." +msgstr "No se ha podido encontrar el archivo PPD \"%s\"." + +#, c-format +msgid "The PPD file \"%s\" could not be opened: %s" +msgstr "No se ha podido abrir el archivo PPD \"%s\": %s" + +msgid "The PPD file could not be opened." +msgstr "No se ha podido abrir el archivo PPD." + +msgid "" +"The class name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/), or the pound sign (#)." +msgstr "" +"El nombre de la clase sólo puede contener hasta 127 caracteres imprimibles y " +"no puede contener espacios, barras (/), o la almohadilla (#)." + +msgid "" +"The notify-lease-duration attribute cannot be used with job subscriptions." +msgstr "" +"El atributo notify-lease-duration no puede ser usado con subscripciones de " +"trabajos." + +#, c-format +msgid "The notify-user-data value is too large (%d > 63 octets)." +msgstr "El valor notify-user-data es demasiado grande (%d > 63 octetos)." + +msgid "The printer configuration is incorrect or the printer no longer exists." +msgstr "" +"La configuración de la impresora es incorrecta o la impresora ya no existe." + +msgid "The printer did not respond." +msgstr "La impresora no respondió." + +msgid "The printer is in use." +msgstr "La impresora está en uso." + +msgid "The printer is not connected." +msgstr "La impresora no está conectada." + +msgid "The printer is not responding." +msgstr "La impresora no responde." + +msgid "The printer is now connected." +msgstr "La impresora está ahora conectada." + +msgid "The printer is now online." +msgstr "La impresora está ahora en línea." + +msgid "The printer is offline." +msgstr "La impresora está fuera de línea." + +msgid "The printer is unreachable at this time." +msgstr "La impresora es inalcanzable en este momento." + +msgid "The printer may not exist or is unavailable at this time." +msgstr "La impresora puede no existir o no estar disponible en este momento." + +msgid "" +"The printer name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the " +"pound sign (#)." +msgstr "" + +msgid "The printer or class does not exist." +msgstr "La impresora o clase no existe." + +msgid "The printer or class is not shared." +msgstr "La impresora o clase no está compartida." + +#, c-format +msgid "The printer-uri \"%s\" contains invalid characters." +msgstr "El printer-uri \"%s\" contiene caracteres no válidos." + +msgid "The printer-uri attribute is required." +msgstr "Se necesita el atributo printer-uri." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." +msgstr "" +"El printer-uri debe ser de la forma \"ipp://NOMBRE_EQUIPO/classes/" +"NOMBRE_CLASE\"." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." +msgstr "" +"El printer-uri debe ser de la forma \"ipp://NOMBRE_EQUIPO/printers/" +"NOMBRE_IMPRESORA\"." + +msgid "" +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to " +"enable it." +msgstr "" +"La interfaz web está desactivada en este momento. Ejecute \"cupsctl " +"WebInterface=yes\" para activarla." + +#, c-format +msgid "The which-jobs value \"%s\" is not supported." +msgstr "No se admite el uso del valor which-jobs \"%s\"." + +msgid "There are too many subscriptions." +msgstr "Hay demasiadas subscripciones." + +msgid "There was an unrecoverable USB error." +msgstr "Ha habido un error USB irrecuperable." + +msgid "Thermal Transfer Media" +msgstr "Soporte de transferencia térmica" + +msgid "Too many active jobs." +msgstr "Demasiados trabajos activos." + +#, c-format +msgid "Too many job-sheets values (%d > 2)." +msgstr "Demasiados valores de job-sheets (%d > 2)." + +#, c-format +msgid "Too many printer-state-reasons values (%d > %d)." +msgstr "Demasiados valores printer-state-reasons (%d > %d)." + +msgid "Transparency" +msgstr "Transparencia" + +msgid "Tray" +msgstr "Bandeja" + +msgid "Tray 1" +msgstr "Bandeja 1" + +msgid "Tray 2" +msgstr "Bandeja 2" + +msgid "Tray 3" +msgstr "Bandeja 3" + +msgid "Tray 4" +msgstr "Bandeja 4" + +msgid "Trust on first use is disabled." +msgstr "" + +msgid "URI Too Long" +msgstr "URI demasiado largo" + +msgid "URI too large" +msgstr "URI demasiado grande" + +msgid "US Fanfold" +msgstr "" + +msgid "US Ledger" +msgstr "Libro Mayor, 17 x 11 pulg." + +msgid "US Legal" +msgstr "Legal EE.UU." + +msgid "US Legal Oversize" +msgstr "Legal EE.UU. Extragrande" + +msgid "US Letter" +msgstr "Carta EE.UU." + +msgid "US Letter Long Edge" +msgstr "Carta EE.UU. lado largo" + +msgid "US Letter Oversize" +msgstr "Carta EE.UU. Extragrande" + +msgid "US Letter Oversize Long Edge" +msgstr "Carta EE.UU. Extragrande lado largo" + +msgid "US Letter Small" +msgstr "Carta EE.UU. Pequeña" + +msgid "Unable to access cupsd.conf file" +msgstr "No se ha podido acceder al archivo cupsd.conf" + +msgid "Unable to access help file." +msgstr "No se ha podido acceder al archivo de ayuda." + +msgid "Unable to add class" +msgstr "No se ha podido añadir la clase" + +msgid "Unable to add document to print job." +msgstr "No se ha podido añadir el documento al trabajo de impresión." + +#, c-format +msgid "Unable to add job for destination \"%s\"." +msgstr "No se ha podido añadir el trabajo para el destino \"%s\"." + +msgid "Unable to add printer" +msgstr "No se ha podido añadir la impresora" + +msgid "Unable to allocate memory for file types." +msgstr "No se ha podido reservar memoria para tipos de archivo." + +msgid "Unable to allocate memory for page info" +msgstr "No se ha podido reservar memoria para la información de página." + +msgid "Unable to allocate memory for pages array" +msgstr "No se ha podido reservar memoria para la secuencia de páginas" + +msgid "Unable to allocate memory for printer" +msgstr "" + +msgid "Unable to cancel print job." +msgstr "No se ha podido cancelar el trabajo de impresión." + +msgid "Unable to change printer" +msgstr "No se ha podido cambiar la impresora" + +msgid "Unable to change printer-is-shared attribute" +msgstr "No se ha podido cambiar el atributo printer-is-shared" + +msgid "Unable to change server settings" +msgstr "No se ha podido cambiar la configuración del servidor" + +#, c-format +msgid "Unable to compile mimeMediaType regular expression: %s." +msgstr "No se ha podido compilar la expresión regular mimeMediaType: %s." + +#, c-format +msgid "Unable to compile naturalLanguage regular expression: %s." +msgstr "No se ha podido compilar la expresión regular naturalLanguage: %s." + +msgid "Unable to configure printer options." +msgstr "No se han podido configurar las opciones de impresión." + +msgid "Unable to connect to host." +msgstr "No se ha podido conectar al equipo." + +msgid "Unable to contact printer, queuing on next printer in class." +msgstr "" +"No se ha podido contactar con la impresora; poniendo en cola en la siguiente " +"impresora de la clase." + +#, c-format +msgid "Unable to copy PPD file - %s" +msgstr "No se ha podido copiar el archivo PPD - %s" + +msgid "Unable to copy PPD file." +msgstr "No se ha podido copiar el archivo PPD." + +msgid "Unable to create credentials from array." +msgstr "" + +msgid "Unable to create printer-uri" +msgstr "No se ha podido crear printer-uri" + +msgid "Unable to create printer." +msgstr "No se ha podido crear la impresora." + +msgid "Unable to create server credentials." +msgstr "No se han podido crear las credenciales del servidor." + +#, c-format +msgid "Unable to create spool directory \"%s\": %s" +msgstr "" + +msgid "Unable to create temporary file" +msgstr "No se ha podido crear el archivo temporal" + +msgid "Unable to delete class" +msgstr "No se ha podido borrar la clase" + +msgid "Unable to delete printer" +msgstr "No se ha podido borrar la impresora" + +msgid "Unable to do maintenance command" +msgstr "No se ha podido realizar el comando de mantenimiento" + +msgid "Unable to edit cupsd.conf files larger than 1MB" +msgstr "No se pueden editar archivos cupsd.conf mayores de 1MB" + +#, c-format +msgid "Unable to establish a secure connection to host (%d)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (certificate chain invalid)." +msgstr "" +"No se ha podido establecer una conexión segura con el equipo (cadena " +"certificado incorrecta)." + +msgid "" +"Unable to establish a secure connection to host (certificate not yet valid)." +msgstr "" +"No se ha podido establecer una conexión segura con el equipo (el certificado " +"aún no es válido)." + +msgid "Unable to establish a secure connection to host (expired certificate)." +msgstr "" +"No se ha podido establecer una conexión segura con el equipo (certificado " +"caducado)." + +msgid "Unable to establish a secure connection to host (host name mismatch)." +msgstr "" +"No se ha podido establecer una conexión segura con el equipo (el nombre de " +"equipo no coincide)." + +msgid "" +"Unable to establish a secure connection to host (peer dropped connection " +"before responding)." +msgstr "" +"No se ha podido establecer una conexión segura con el equipo (el par cortó " +"la conexión antes de responder)." + +msgid "" +"Unable to establish a secure connection to host (self-signed certificate)." +msgstr "" +"No se ha podido establecer una conexión segura con el equipo (certificado " +"auto-firmado)." + +msgid "" +"Unable to establish a secure connection to host (untrusted certificate)." +msgstr "" +"No se ha podido establecer una conexión segura con el equipo (certificado no " +"seguro)." + +msgid "Unable to establish a secure connection to host." +msgstr "No se ha podido establecer una conexión segura al equipo." + +#, c-format +msgid "Unable to execute command \"%s\": %s" +msgstr "" + +msgid "Unable to find destination for job" +msgstr "No se ha podido encontrar destino para el trabajo" + +msgid "Unable to find printer." +msgstr "No se ha podido encontrar la impresora." + +msgid "Unable to find server credentials." +msgstr "No se han podido encontrar las credenciales del servidor." + +msgid "Unable to get backend exit status." +msgstr "No se ha podido obtener el estado de salida del programa backend." + +msgid "Unable to get class list" +msgstr "No se ha podido obtener la lista de clases" + +msgid "Unable to get class status" +msgstr "No se ha podido obtener el estado de la clase" + +msgid "Unable to get list of printer drivers" +msgstr "No se ha podido obtener la lista de controladores de impresora" + +msgid "Unable to get printer attributes" +msgstr "No se han podido obtener los atributos de la impresora" + +msgid "Unable to get printer list" +msgstr "No se ha podido obtener la lista de impresoras" + +msgid "Unable to get printer status" +msgstr "No se ha podido obtener el estado de la impresora" + +msgid "Unable to get printer status." +msgstr "No se ha podido obtener el estado de la impresora." + +msgid "Unable to load help index." +msgstr "No se ha podido cargar el índice de ayuda." + +#, c-format +msgid "Unable to locate printer \"%s\"." +msgstr "No se ha podido localizar la impresora \"%s\"." + +msgid "Unable to locate printer." +msgstr "No se ha podido localizar la impresora." + +msgid "Unable to modify class" +msgstr "No se ha podido modificar la clase" + +msgid "Unable to modify printer" +msgstr "No se ha podido modificar la impresora" + +msgid "Unable to move job" +msgstr "No se ha podido mover el trabajo" + +msgid "Unable to move jobs" +msgstr "No se han podido mover los trabajos" + +msgid "Unable to open PPD file" +msgstr "No se ha podido abrir el archivo PPD" + +msgid "Unable to open cupsd.conf file:" +msgstr "No se ha podido abrir el archivo cupsd.conf:" + +msgid "Unable to open device file" +msgstr "No se ha podido abrir el archivo de dispositivo" + +#, c-format +msgid "Unable to open document #%d in job #%d." +msgstr "No se ha podido abrir el documento #%d del trabajo #%d." + +msgid "Unable to open help file." +msgstr "No se ha podido abrir el archivo de ayuda." + +msgid "Unable to open print file" +msgstr "No se ha podido abrir el archivo de impresión" + +msgid "Unable to open raster file" +msgstr "No se ha podido abrir el archivo de trama de datos (raster)" + +msgid "Unable to print test page" +msgstr "No se ha podido imprimir la página de prueba" + +msgid "Unable to read print data." +msgstr "No se han podido leer los datos de impresión." + +#, c-format +msgid "Unable to register \"%s.%s\": %d" +msgstr "" + +msgid "Unable to rename job document file." +msgstr "No se ha podido renombrar el archivo del documento de trabajo." + +msgid "Unable to resolve printer-uri." +msgstr "No se ha podido resolver printer-uri." + +msgid "Unable to see in file" +msgstr "No se ha podido mirar en el archivo" + +msgid "Unable to send command to printer driver" +msgstr "No se ha podido enviar un comando al controlador de la impresora" + +msgid "Unable to send data to printer." +msgstr "No se han podido enviar datos a la impresora." + +msgid "Unable to set options" +msgstr "No se han podido cambiar las opciones" + +msgid "Unable to set server default" +msgstr "No se ha podido establecer el servidor predeterminado" + +msgid "Unable to start backend process." +msgstr "No se ha podido iniciar el proceso backend." + +msgid "Unable to upload cupsd.conf file" +msgstr "No se ha podido enviar el archivo cupsd.conf" + +msgid "Unable to use legacy USB class driver." +msgstr "" +"No se ha podido usar el controlador de dispositivo de clase USB obsoleto." + +msgid "Unable to write print data" +msgstr "No se han podido escribir los datos de impresión" + +#, c-format +msgid "Unable to write uncompressed print data: %s" +msgstr "No se han podido escribir los datos de impresión sin comprimir: %s" + +msgid "Unauthorized" +msgstr "No autorizado" + +msgid "Units" +msgstr "Unidades" + +msgid "Unknown" +msgstr "Desconocido" + +#, c-format +msgid "Unknown choice \"%s\" for option \"%s\"." +msgstr "Preferencia \"%s\" desconocida para la opción \"%s\"." + +#, c-format +msgid "Unknown directive \"%s\" on line %d of \"%s\" ignored." +msgstr "" + +#, c-format +msgid "Unknown encryption option value: \"%s\"." +msgstr "Valor de opción de cifrado \"%s\" desconocida." + +#, c-format +msgid "Unknown file order: \"%s\"." +msgstr "Orden de archivos \"%s\" desconocido." + +#, c-format +msgid "Unknown format character: \"%c\"." +msgstr "Carácter de formato \"%c\" desconocido." + +msgid "Unknown hash algorithm." +msgstr "Algoritmo de hash desconocido." + +msgid "Unknown media size name." +msgstr "Nombre de tamaño de papel desconocido." + +#, c-format +msgid "Unknown option \"%s\" with value \"%s\"." +msgstr "Opción \"%s\" con valor \"%s\" desconocida." + +#, c-format +msgid "Unknown option \"%s\"." +msgstr "Opción \"%s\" desconocida." + +#, c-format +msgid "Unknown print mode: \"%s\"." +msgstr "Modo de impresión \"%s\" desconocido." + +#, c-format +msgid "Unknown printer-error-policy \"%s\"." +msgstr "printer-error-policy \"%s\" incorrecto." + +#, c-format +msgid "Unknown printer-op-policy \"%s\"." +msgstr "printer-op-policy \"%s\" incorrecto." + +msgid "Unknown request method." +msgstr "Método de solicitud desconocido." + +msgid "Unknown request version." +msgstr "Versión de solicitud desconocida." + +msgid "Unknown scheme in URI" +msgstr "Esquema en URI desconocido" + +msgid "Unknown service name." +msgstr "Nombre de servicio desconocido." + +#, c-format +msgid "Unknown version option value: \"%s\"." +msgstr "Valor de opción de versión \"%s\" desconocida." + +#, c-format +msgid "Unsupported 'compression' value \"%s\"." +msgstr "Valor 'compression' \"%s\" no implementado." + +#, c-format +msgid "Unsupported 'document-format' value \"%s\"." +msgstr "Valor 'document-format' \"%s\" no implementado." + +msgid "Unsupported 'job-hold-until' value." +msgstr "" + +msgid "Unsupported 'job-name' value." +msgstr "Valor 'job-name' no implementado." + +#, c-format +msgid "Unsupported character set \"%s\"." +msgstr "Juego de caracteres \"%s\" no implementado." + +#, c-format +msgid "Unsupported compression \"%s\"." +msgstr "Compresión \"%s\" no implementada." + +#, c-format +msgid "Unsupported document-format \"%s\"." +msgstr "document-format \"%s\" no implementado." + +#, c-format +msgid "Unsupported document-format \"%s/%s\"." +msgstr "document-format \"%s/%s\" no implementado." + +#, c-format +msgid "Unsupported format \"%s\"." +msgstr "Formato \"%s\" no implementado." + +msgid "Unsupported margins." +msgstr "Márgenes no implementados." + +msgid "Unsupported media value." +msgstr "Valor del medio no implementado." + +#, c-format +msgid "Unsupported number-up value %d, using number-up=1." +msgstr "" +"Valor de number-up (páginas por hoja) %d no implementado; usando number-up=1." + +#, c-format +msgid "Unsupported number-up-layout value %s, using number-up-layout=lrtb." +msgstr "" +"Valor de number-up-layout (disposición de páginas por hoja) %s no " +"implementado; usando number-up-layout=lrtb." + +#, c-format +msgid "Unsupported page-border value %s, using page-border=none." +msgstr "" +"Valor de page-border (borde de página) %s no implementado; usando page-" +"border=none (ninguno)." + +msgid "Unsupported raster data." +msgstr "Trama de datos no implementados." + +msgid "Unsupported value type" +msgstr "Tipo de valor no implementado" + +msgid "Upgrade Required" +msgstr "Se requiere actualización" + +#, c-format +msgid "Usage: %s [options] destination(s)" +msgstr "" + +#, c-format +msgid "Usage: %s job-id user title copies options [file]" +msgstr "Uso: %s job-id usuario título copias opciones [archivo]" + +msgid "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" +msgstr "" + +msgid "Usage: cupsctl [options] [param=value ... paramN=valueN]" +msgstr "Uso: cupsctl [opciones] [param=valor ... paramN=valorN]" + +msgid "Usage: cupsd [options]" +msgstr "Uso: cupsd [opciones]" + +msgid "Usage: cupsfilter [ options ] [ -- ] filename" +msgstr "Uso: cupsfilter [ opciones ] [ -- ] nombre_archivo" + +msgid "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" +msgstr "" + +msgid "Usage: ippeveprinter [options] \"name\"" +msgstr "" + +msgid "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" +msgstr "" +"Uso: ippfind [opciones] regtipo[,subtipo][.dominio.] ... [expresión]\n" +" ippfind [opciones] nombre[.regtipo[.dominio.]] ... [expresión]\n" +" ippfind --help\n" +" ippfind --version" + +msgid "Usage: ipptool [options] URI filename [ ... filenameN ]" +msgstr "Uso: ipptool [opciones] URI nombre_archivo [ ... nombre_archivoN ]" + +msgid "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" +msgstr "" + +msgid "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" +msgstr "" + +msgid "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" +msgstr "" + +msgid "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" +msgstr "" + +msgid "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" +msgstr "" + +msgid "Usage: lpq [options] [+interval]" +msgstr "" + +msgid "Usage: lpr [options] [file(s)]" +msgstr "" + +msgid "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" +msgstr "" + +msgid "Usage: lpstat [options]" +msgstr "" + +msgid "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" +msgstr "Uso: ppdc [opciones] nombre_archivo.drv [ ... nombre_archivoN.drv ]" + +msgid "Usage: ppdhtml [options] filename.drv >filename.html" +msgstr "Uso: ppdhtml [opciones] nombre_archivo.drv >nombre_archivo.html" + +msgid "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "Uso: ppdi [opciones] nombre_archivo.ppd [ ... nombre_archivoN.ppd ]" + +msgid "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "" +"Uso: ppdmerge [opciones] nombre_archivo.ppd [ ... nombre_archivoN.ppd ]" + +msgid "" +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" +msgstr "" +"Uso: ppdpo [opciones] -o nombre_archivo.po nombre_archivo.drv [ ... " +"nombre_archivoN.drv ]" + +msgid "Usage: snmp [host-or-ip-address]" +msgstr "Uso: snmp [equipo-o-dirección-ip]" + +#, c-format +msgid "Using spool directory \"%s\"." +msgstr "" + +msgid "Value uses indefinite length" +msgstr "Valor usa una longitud indefinida" + +msgid "VarBind uses indefinite length" +msgstr "VarBind usa una longitud indefinida" + +msgid "Version uses indefinite length" +msgstr "Versión usa una longitud indefinida" + +msgid "Waiting for job to complete." +msgstr "Esperando a que finalice el trabajo." + +msgid "Waiting for printer to become available." +msgstr "Esperando a que la impresora esté disponible." + +msgid "Waiting for printer to finish." +msgstr "Esperando a que finalice la impresora." + +msgid "Warning: This program will be removed in a future version of CUPS." +msgstr "" + +msgid "Web Interface is Disabled" +msgstr "La interfaz web está desactivada." + +msgid "Yes" +msgstr "Si" + +msgid "You cannot access this page." +msgstr "" + +#, c-format +msgid "You must access this page using the URL https://%s:%d%s." +msgstr "Debe acceder a esta página usando el URL https://%s:%d%s." + +msgid "Your account does not have the necessary privileges." +msgstr "" + +msgid "ZPL Label Printer" +msgstr "Impresora de etiquetas ZPL" + +msgid "Zebra" +msgstr "Zebra" + +msgid "aborted" +msgstr "cancelado" + +#. TRANSLATORS: Accuracy Units +msgid "accuracy-units" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "accuracy-units.mm" +msgstr "" + +#. TRANSLATORS: Nanometers +msgid "accuracy-units.nm" +msgstr "" + +#. TRANSLATORS: Micrometers +msgid "accuracy-units.um" +msgstr "" + +#. TRANSLATORS: Bale Output +msgid "baling" +msgstr "" + +#. TRANSLATORS: Bale Using +msgid "baling-type" +msgstr "" + +#. TRANSLATORS: Band +msgid "baling-type.band" +msgstr "" + +#. TRANSLATORS: Shrink Wrap +msgid "baling-type.shrink-wrap" +msgstr "" + +#. TRANSLATORS: Wrap +msgid "baling-type.wrap" +msgstr "" + +#. TRANSLATORS: Bale After +msgid "baling-when" +msgstr "" + +#. TRANSLATORS: Job +msgid "baling-when.after-job" +msgstr "" + +#. TRANSLATORS: Sets +msgid "baling-when.after-sets" +msgstr "" + +#. TRANSLATORS: Bind Output +msgid "binding" +msgstr "" + +#. TRANSLATORS: Bind Edge +msgid "binding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "binding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "binding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "binding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "binding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Binder Type +msgid "binding-type" +msgstr "" + +#. TRANSLATORS: Adhesive +msgid "binding-type.adhesive" +msgstr "" + +#. TRANSLATORS: Comb +msgid "binding-type.comb" +msgstr "" + +#. TRANSLATORS: Flat +msgid "binding-type.flat" +msgstr "" + +#. TRANSLATORS: Padding +msgid "binding-type.padding" +msgstr "" + +#. TRANSLATORS: Perfect +msgid "binding-type.perfect" +msgstr "" + +#. TRANSLATORS: Spiral +msgid "binding-type.spiral" +msgstr "" + +#. TRANSLATORS: Tape +msgid "binding-type.tape" +msgstr "" + +#. TRANSLATORS: Velo +msgid "binding-type.velo" +msgstr "" + +msgid "canceled" +msgstr "cancelado" + +#. TRANSLATORS: Chamber Humidity +msgid "chamber-humidity" +msgstr "" + +#. TRANSLATORS: Chamber Temperature +msgid "chamber-temperature" +msgstr "" + +#. TRANSLATORS: Print Job Cost +msgid "charge-info-message" +msgstr "" + +#. TRANSLATORS: Coat Sheets +msgid "coating" +msgstr "" + +#. TRANSLATORS: Add Coating To +msgid "coating-sides" +msgstr "" + +#. TRANSLATORS: Back +msgid "coating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "coating-sides.both" +msgstr "" + +#. TRANSLATORS: Front +msgid "coating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Coating +msgid "coating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "coating-type.archival" +msgstr "" + +#. TRANSLATORS: Archival Glossy +msgid "coating-type.archival-glossy" +msgstr "" + +#. TRANSLATORS: Archival Matte +msgid "coating-type.archival-matte" +msgstr "" + +#. TRANSLATORS: Archival Semi Gloss +msgid "coating-type.archival-semi-gloss" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "coating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "coating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "coating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "coating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Silicone +msgid "coating-type.silicone" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "coating-type.translucent" +msgstr "" + +msgid "completed" +msgstr "completado" + +#. TRANSLATORS: Print Confirmation Sheet +msgid "confirmation-sheet-print" +msgstr "" + +#. TRANSLATORS: Copies +msgid "copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "cover-front" +msgstr "" + +#. TRANSLATORS: Cover Sheet Info +msgid "cover-sheet-info" +msgstr "" + +#. TRANSLATORS: Date Time +msgid "cover-sheet-info-supported.date-time" +msgstr "" + +#. TRANSLATORS: From Name +msgid "cover-sheet-info-supported.from-name" +msgstr "" + +#. TRANSLATORS: Logo +msgid "cover-sheet-info-supported.logo" +msgstr "" + +#. TRANSLATORS: Message +msgid "cover-sheet-info-supported.message" +msgstr "" + +#. TRANSLATORS: Organization +msgid "cover-sheet-info-supported.organization" +msgstr "" + +#. TRANSLATORS: Subject +msgid "cover-sheet-info-supported.subject" +msgstr "" + +#. TRANSLATORS: To Name +msgid "cover-sheet-info-supported.to-name" +msgstr "" + +#. TRANSLATORS: Printed Cover +msgid "cover-type" +msgstr "" + +#. TRANSLATORS: No Cover +msgid "cover-type.no-cover" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "cover-type.print-back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "cover-type.print-both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "cover-type.print-front" +msgstr "" + +#. TRANSLATORS: None +msgid "cover-type.print-none" +msgstr "" + +#. TRANSLATORS: Cover Output +msgid "covering" +msgstr "" + +#. TRANSLATORS: Add Cover +msgid "covering-name" +msgstr "" + +#. TRANSLATORS: Plain +msgid "covering-name.plain" +msgstr "" + +#. TRANSLATORS: Pre-cut +msgid "covering-name.pre-cut" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "covering-name.pre-printed" +msgstr "" + +msgid "cups-deviced failed to execute." +msgstr "Ha fallado al ejecutarse cups-deviced." + +msgid "cups-driverd failed to execute." +msgstr "Ha fallado al ejecutarse cups-driverd." + +#, c-format +msgid "cupsctl: Cannot set %s directly." +msgstr "" + +#, c-format +msgid "cupsctl: Unable to connect to server: %s" +msgstr "cupsctl: No se ha podido conectar al servidor: %s" + +#, c-format +msgid "cupsctl: Unknown option \"%s\"" +msgstr "cupsctl: Opción \"%s\" desconocida" + +#, c-format +msgid "cupsctl: Unknown option \"-%c\"" +msgstr "cupsctl: Opción \"-%c\" desconocida" + +msgid "cupsd: Expected config filename after \"-c\" option." +msgstr "" +"cupsd: Se esperaba un nombre de archivo de configuración tras la opción \"-c" +"\"." + +msgid "cupsd: Expected cups-files.conf filename after \"-s\" option." +msgstr "" +"cupsd: Se esperaba el nombre de archivo cups-files.conf tras la opción \"-s" +"\"." + +msgid "cupsd: On-demand support not compiled in, running in normal mode." +msgstr "" +"cupsd: El uso bajo-demanda no está compilado. Funcionando en modo normal." + +msgid "cupsd: Relative cups-files.conf filename not allowed." +msgstr "cupsd: No se permite nombre de archivo cups-files.conf relativo." + +msgid "cupsd: Unable to get current directory." +msgstr "cupsd: No se ha podido obtener el directorio actual." + +msgid "cupsd: Unable to get path to cups-files.conf file." +msgstr "cupsd: No se ha podido obtener la ruta al archivo cups-files.conf." + +#, c-format +msgid "cupsd: Unknown argument \"%s\" - aborting." +msgstr "cupsd: Argumento \"%s\" desconocido - cancelando." + +#, c-format +msgid "cupsd: Unknown option \"%c\" - aborting." +msgstr "cupsd: Opción \"%c\" desconocida - cancelando." + +#, c-format +msgid "cupsfilter: Invalid document number %d." +msgstr "cupsfilter: Número de documento %d no válido." + +#, c-format +msgid "cupsfilter: Invalid job ID %d." +msgstr "cupsfilter: ID de trabajo %d no válida." + +msgid "cupsfilter: Only one filename can be specified." +msgstr "cupsfilter: Solo se puede especificar un nombre de archivo." + +#, c-format +msgid "cupsfilter: Unable to get job file - %s" +msgstr "cupsfilter: No se ha podido obtener el archivo del trabajo - %s" + +msgid "cupstestppd: The -q option is incompatible with the -v option." +msgstr "cupstestppd: La opción -q es incompatible con la opción -v." + +msgid "cupstestppd: The -v option is incompatible with the -q option." +msgstr "cupstestppd: La opción -v es incompatible con la opción -q." + +#. TRANSLATORS: Detailed Status Message +msgid "detailed-status-message" +msgstr "" + +#, c-format +msgid "device for %s/%s: %s" +msgstr "dispositivo para %s/%s: %s" + +#, c-format +msgid "device for %s: %s" +msgstr "dispositivo para %s: %s" + +#. TRANSLATORS: Copies +msgid "document-copies" +msgstr "" + +#. TRANSLATORS: Document Privacy Attributes +msgid "document-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Document Description +msgid "document-privacy-attributes.document-description" +msgstr "" + +#. TRANSLATORS: Document Template +msgid "document-privacy-attributes.document-template" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Document Privacy Scope +msgid "document-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "document-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Document State +msgid "document-state" +msgstr "" + +#. TRANSLATORS: Detailed Document State +msgid "document-state-reasons" +msgstr "" + +#. TRANSLATORS: Aborted By System +msgid "document-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Canceled At Device +msgid "document-state-reasons.canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled By Operator +msgid "document-state-reasons.canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled By User +msgid "document-state-reasons.canceled-by-user" +msgstr "" + +#. TRANSLATORS: Completed Successfully +msgid "document-state-reasons.completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed With Errors +msgid "document-state-reasons.completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed With Warnings +msgid "document-state-reasons.completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Compression Error +msgid "document-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Data Insufficient +msgid "document-state-reasons.data-insufficient" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "document-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "document-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Digital Signature Wait +msgid "document-state-reasons.digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "document-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "document-state-reasons.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "document-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "document-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "document-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "document-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "document-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "document-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "document-state-reasons.incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "document-state-reasons.interpreting" +msgstr "" + +#. TRANSLATORS: None +msgid "document-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "document-state-reasons.outgoing" +msgstr "" + +#. TRANSLATORS: Printing +msgid "document-state-reasons.printing" +msgstr "" + +#. TRANSLATORS: Processing To Stop Point +msgid "document-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Queued +msgid "document-state-reasons.queued" +msgstr "" + +#. TRANSLATORS: Queued For Marker +msgid "document-state-reasons.queued-for-marker" +msgstr "" + +#. TRANSLATORS: Queued In Device +msgid "document-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "document-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "document-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "document-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "document-state-reasons.transforming" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "document-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "document-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "document-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "document-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "document-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "document-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "document-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "document-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "document-state.9" +msgstr "" + +msgid "error-index uses indefinite length" +msgstr "error-index usa una longitud indefinida" + +msgid "error-status uses indefinite length" +msgstr "error-status usa una longitud indefinida" + +msgid "" +"expression --and expression\n" +" Logical AND" +msgstr "" + +msgid "" +"expression --or expression\n" +" Logical OR" +msgstr "" + +msgid "expression expression Logical AND" +msgstr "" + +#. TRANSLATORS: Feed Orientation +msgid "feed-orientation" +msgstr "" + +#. TRANSLATORS: Long Edge First +msgid "feed-orientation.long-edge-first" +msgstr "" + +#. TRANSLATORS: Short Edge First +msgid "feed-orientation.short-edge-first" +msgstr "" + +#. TRANSLATORS: Fetch Status Code +msgid "fetch-status-code" +msgstr "" + +#. TRANSLATORS: Finishing Template +msgid "finishing-template" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishing-template.bale" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishing-template.bind" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishing-template.bind-bottom" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishing-template.bind-left" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishing-template.bind-right" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishing-template.bind-top" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishing-template.booklet-maker" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishing-template.coat" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishing-template.cover" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishing-template.edge-stitch" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishing-template.edge-stitch-bottom" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishing-template.edge-stitch-left" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishing-template.edge-stitch-right" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishing-template.edge-stitch-top" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishing-template.fold" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishing-template.fold-accordion" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishing-template.fold-double-gate" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishing-template.fold-engineering-z" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishing-template.fold-gate" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishing-template.fold-half" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishing-template.fold-half-z" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishing-template.fold-left-gate" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishing-template.fold-letter" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishing-template.fold-parallel" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishing-template.fold-poster" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishing-template.fold-right-gate" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishing-template.fold-z" +msgstr "" + +#. TRANSLATORS: JDF F10-1 +msgid "finishing-template.jdf-f10-1" +msgstr "" + +#. TRANSLATORS: JDF F10-2 +msgid "finishing-template.jdf-f10-2" +msgstr "" + +#. TRANSLATORS: JDF F10-3 +msgid "finishing-template.jdf-f10-3" +msgstr "" + +#. TRANSLATORS: JDF F12-1 +msgid "finishing-template.jdf-f12-1" +msgstr "" + +#. TRANSLATORS: JDF F12-10 +msgid "finishing-template.jdf-f12-10" +msgstr "" + +#. TRANSLATORS: JDF F12-11 +msgid "finishing-template.jdf-f12-11" +msgstr "" + +#. TRANSLATORS: JDF F12-12 +msgid "finishing-template.jdf-f12-12" +msgstr "" + +#. TRANSLATORS: JDF F12-13 +msgid "finishing-template.jdf-f12-13" +msgstr "" + +#. TRANSLATORS: JDF F12-14 +msgid "finishing-template.jdf-f12-14" +msgstr "" + +#. TRANSLATORS: JDF F12-2 +msgid "finishing-template.jdf-f12-2" +msgstr "" + +#. TRANSLATORS: JDF F12-3 +msgid "finishing-template.jdf-f12-3" +msgstr "" + +#. TRANSLATORS: JDF F12-4 +msgid "finishing-template.jdf-f12-4" +msgstr "" + +#. TRANSLATORS: JDF F12-5 +msgid "finishing-template.jdf-f12-5" +msgstr "" + +#. TRANSLATORS: JDF F12-6 +msgid "finishing-template.jdf-f12-6" +msgstr "" + +#. TRANSLATORS: JDF F12-7 +msgid "finishing-template.jdf-f12-7" +msgstr "" + +#. TRANSLATORS: JDF F12-8 +msgid "finishing-template.jdf-f12-8" +msgstr "" + +#. TRANSLATORS: JDF F12-9 +msgid "finishing-template.jdf-f12-9" +msgstr "" + +#. TRANSLATORS: JDF F14-1 +msgid "finishing-template.jdf-f14-1" +msgstr "" + +#. TRANSLATORS: JDF F16-1 +msgid "finishing-template.jdf-f16-1" +msgstr "" + +#. TRANSLATORS: JDF F16-10 +msgid "finishing-template.jdf-f16-10" +msgstr "" + +#. TRANSLATORS: JDF F16-11 +msgid "finishing-template.jdf-f16-11" +msgstr "" + +#. TRANSLATORS: JDF F16-12 +msgid "finishing-template.jdf-f16-12" +msgstr "" + +#. TRANSLATORS: JDF F16-13 +msgid "finishing-template.jdf-f16-13" +msgstr "" + +#. TRANSLATORS: JDF F16-14 +msgid "finishing-template.jdf-f16-14" +msgstr "" + +#. TRANSLATORS: JDF F16-2 +msgid "finishing-template.jdf-f16-2" +msgstr "" + +#. TRANSLATORS: JDF F16-3 +msgid "finishing-template.jdf-f16-3" +msgstr "" + +#. TRANSLATORS: JDF F16-4 +msgid "finishing-template.jdf-f16-4" +msgstr "" + +#. TRANSLATORS: JDF F16-5 +msgid "finishing-template.jdf-f16-5" +msgstr "" + +#. TRANSLATORS: JDF F16-6 +msgid "finishing-template.jdf-f16-6" +msgstr "" + +#. TRANSLATORS: JDF F16-7 +msgid "finishing-template.jdf-f16-7" +msgstr "" + +#. TRANSLATORS: JDF F16-8 +msgid "finishing-template.jdf-f16-8" +msgstr "" + +#. TRANSLATORS: JDF F16-9 +msgid "finishing-template.jdf-f16-9" +msgstr "" + +#. TRANSLATORS: JDF F18-1 +msgid "finishing-template.jdf-f18-1" +msgstr "" + +#. TRANSLATORS: JDF F18-2 +msgid "finishing-template.jdf-f18-2" +msgstr "" + +#. TRANSLATORS: JDF F18-3 +msgid "finishing-template.jdf-f18-3" +msgstr "" + +#. TRANSLATORS: JDF F18-4 +msgid "finishing-template.jdf-f18-4" +msgstr "" + +#. TRANSLATORS: JDF F18-5 +msgid "finishing-template.jdf-f18-5" +msgstr "" + +#. TRANSLATORS: JDF F18-6 +msgid "finishing-template.jdf-f18-6" +msgstr "" + +#. TRANSLATORS: JDF F18-7 +msgid "finishing-template.jdf-f18-7" +msgstr "" + +#. TRANSLATORS: JDF F18-8 +msgid "finishing-template.jdf-f18-8" +msgstr "" + +#. TRANSLATORS: JDF F18-9 +msgid "finishing-template.jdf-f18-9" +msgstr "" + +#. TRANSLATORS: JDF F2-1 +msgid "finishing-template.jdf-f2-1" +msgstr "" + +#. TRANSLATORS: JDF F20-1 +msgid "finishing-template.jdf-f20-1" +msgstr "" + +#. TRANSLATORS: JDF F20-2 +msgid "finishing-template.jdf-f20-2" +msgstr "" + +#. TRANSLATORS: JDF F24-1 +msgid "finishing-template.jdf-f24-1" +msgstr "" + +#. TRANSLATORS: JDF F24-10 +msgid "finishing-template.jdf-f24-10" +msgstr "" + +#. TRANSLATORS: JDF F24-11 +msgid "finishing-template.jdf-f24-11" +msgstr "" + +#. TRANSLATORS: JDF F24-2 +msgid "finishing-template.jdf-f24-2" +msgstr "" + +#. TRANSLATORS: JDF F24-3 +msgid "finishing-template.jdf-f24-3" +msgstr "" + +#. TRANSLATORS: JDF F24-4 +msgid "finishing-template.jdf-f24-4" +msgstr "" + +#. TRANSLATORS: JDF F24-5 +msgid "finishing-template.jdf-f24-5" +msgstr "" + +#. TRANSLATORS: JDF F24-6 +msgid "finishing-template.jdf-f24-6" +msgstr "" + +#. TRANSLATORS: JDF F24-7 +msgid "finishing-template.jdf-f24-7" +msgstr "" + +#. TRANSLATORS: JDF F24-8 +msgid "finishing-template.jdf-f24-8" +msgstr "" + +#. TRANSLATORS: JDF F24-9 +msgid "finishing-template.jdf-f24-9" +msgstr "" + +#. TRANSLATORS: JDF F28-1 +msgid "finishing-template.jdf-f28-1" +msgstr "" + +#. TRANSLATORS: JDF F32-1 +msgid "finishing-template.jdf-f32-1" +msgstr "" + +#. TRANSLATORS: JDF F32-2 +msgid "finishing-template.jdf-f32-2" +msgstr "" + +#. TRANSLATORS: JDF F32-3 +msgid "finishing-template.jdf-f32-3" +msgstr "" + +#. TRANSLATORS: JDF F32-4 +msgid "finishing-template.jdf-f32-4" +msgstr "" + +#. TRANSLATORS: JDF F32-5 +msgid "finishing-template.jdf-f32-5" +msgstr "" + +#. TRANSLATORS: JDF F32-6 +msgid "finishing-template.jdf-f32-6" +msgstr "" + +#. TRANSLATORS: JDF F32-7 +msgid "finishing-template.jdf-f32-7" +msgstr "" + +#. TRANSLATORS: JDF F32-8 +msgid "finishing-template.jdf-f32-8" +msgstr "" + +#. TRANSLATORS: JDF F32-9 +msgid "finishing-template.jdf-f32-9" +msgstr "" + +#. TRANSLATORS: JDF F36-1 +msgid "finishing-template.jdf-f36-1" +msgstr "" + +#. TRANSLATORS: JDF F36-2 +msgid "finishing-template.jdf-f36-2" +msgstr "" + +#. TRANSLATORS: JDF F4-1 +msgid "finishing-template.jdf-f4-1" +msgstr "" + +#. TRANSLATORS: JDF F4-2 +msgid "finishing-template.jdf-f4-2" +msgstr "" + +#. TRANSLATORS: JDF F40-1 +msgid "finishing-template.jdf-f40-1" +msgstr "" + +#. TRANSLATORS: JDF F48-1 +msgid "finishing-template.jdf-f48-1" +msgstr "" + +#. TRANSLATORS: JDF F48-2 +msgid "finishing-template.jdf-f48-2" +msgstr "" + +#. TRANSLATORS: JDF F6-1 +msgid "finishing-template.jdf-f6-1" +msgstr "" + +#. TRANSLATORS: JDF F6-2 +msgid "finishing-template.jdf-f6-2" +msgstr "" + +#. TRANSLATORS: JDF F6-3 +msgid "finishing-template.jdf-f6-3" +msgstr "" + +#. TRANSLATORS: JDF F6-4 +msgid "finishing-template.jdf-f6-4" +msgstr "" + +#. TRANSLATORS: JDF F6-5 +msgid "finishing-template.jdf-f6-5" +msgstr "" + +#. TRANSLATORS: JDF F6-6 +msgid "finishing-template.jdf-f6-6" +msgstr "" + +#. TRANSLATORS: JDF F6-7 +msgid "finishing-template.jdf-f6-7" +msgstr "" + +#. TRANSLATORS: JDF F6-8 +msgid "finishing-template.jdf-f6-8" +msgstr "" + +#. TRANSLATORS: JDF F64-1 +msgid "finishing-template.jdf-f64-1" +msgstr "" + +#. TRANSLATORS: JDF F64-2 +msgid "finishing-template.jdf-f64-2" +msgstr "" + +#. TRANSLATORS: JDF F8-1 +msgid "finishing-template.jdf-f8-1" +msgstr "" + +#. TRANSLATORS: JDF F8-2 +msgid "finishing-template.jdf-f8-2" +msgstr "" + +#. TRANSLATORS: JDF F8-3 +msgid "finishing-template.jdf-f8-3" +msgstr "" + +#. TRANSLATORS: JDF F8-4 +msgid "finishing-template.jdf-f8-4" +msgstr "" + +#. TRANSLATORS: JDF F8-5 +msgid "finishing-template.jdf-f8-5" +msgstr "" + +#. TRANSLATORS: JDF F8-6 +msgid "finishing-template.jdf-f8-6" +msgstr "" + +#. TRANSLATORS: JDF F8-7 +msgid "finishing-template.jdf-f8-7" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishing-template.jog-offset" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishing-template.laminate" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishing-template.punch" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishing-template.punch-bottom-left" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishing-template.punch-bottom-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishing-template.punch-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishing-template.punch-dual-left" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishing-template.punch-dual-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishing-template.punch-dual-top" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishing-template.punch-multiple-bottom" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishing-template.punch-multiple-left" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishing-template.punch-multiple-right" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishing-template.punch-multiple-top" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishing-template.punch-quad-bottom" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishing-template.punch-quad-left" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishing-template.punch-quad-right" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishing-template.punch-quad-top" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishing-template.punch-top-left" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishing-template.punch-top-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishing-template.punch-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishing-template.punch-triple-left" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishing-template.punch-triple-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishing-template.punch-triple-top" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishing-template.saddle-stitch" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishing-template.staple" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishing-template.staple-bottom-left" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishing-template.staple-bottom-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishing-template.staple-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishing-template.staple-dual-left" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishing-template.staple-dual-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishing-template.staple-dual-top" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishing-template.staple-top-left" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishing-template.staple-top-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishing-template.staple-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishing-template.staple-triple-left" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishing-template.staple-triple-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishing-template.staple-triple-top" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishing-template.trim" +msgstr "" + +#. TRANSLATORS: Trim After Every Set +msgid "finishing-template.trim-after-copies" +msgstr "" + +#. TRANSLATORS: Trim After Every Document +msgid "finishing-template.trim-after-documents" +msgstr "" + +#. TRANSLATORS: Trim After Job +msgid "finishing-template.trim-after-job" +msgstr "" + +#. TRANSLATORS: Trim After Every Page +msgid "finishing-template.trim-after-pages" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings-col" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishings.10" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishings.100" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishings.101" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishings.11" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishings.12" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishings.13" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishings.14" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishings.15" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishings.16" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishings.20" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishings.21" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishings.22" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishings.23" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishings.24" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishings.25" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishings.26" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishings.27" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishings.28" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishings.29" +msgstr "" + +#. TRANSLATORS: None +msgid "finishings.3" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishings.30" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishings.31" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishings.32" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishings.33" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishings.34" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishings.35" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishings.4" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishings.5" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishings.50" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishings.51" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishings.52" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishings.53" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishings.6" +msgstr "" + +#. TRANSLATORS: Trim Pages +msgid "finishings.60" +msgstr "" + +#. TRANSLATORS: Trim Documents +msgid "finishings.61" +msgstr "" + +#. TRANSLATORS: Trim Copies +msgid "finishings.62" +msgstr "" + +#. TRANSLATORS: Trim Job +msgid "finishings.63" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishings.7" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishings.70" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishings.71" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishings.72" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishings.73" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishings.74" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishings.75" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishings.76" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishings.77" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishings.78" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishings.79" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishings.8" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishings.80" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishings.81" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishings.82" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishings.83" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishings.84" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishings.85" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishings.86" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishings.87" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishings.88" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishings.89" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishings.9" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishings.90" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishings.91" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishings.92" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishings.93" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishings.94" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishings.95" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishings.96" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishings.97" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishings.98" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishings.99" +msgstr "" + +#. TRANSLATORS: Fold +msgid "folding" +msgstr "" + +#. TRANSLATORS: Fold Direction +msgid "folding-direction" +msgstr "" + +#. TRANSLATORS: Inward +msgid "folding-direction.inward" +msgstr "" + +#. TRANSLATORS: Outward +msgid "folding-direction.outward" +msgstr "" + +#. TRANSLATORS: Fold Position +msgid "folding-offset" +msgstr "" + +#. TRANSLATORS: Fold Edge +msgid "folding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "folding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "folding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "folding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "folding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Font Name +msgid "font-name-requested" +msgstr "" + +#. TRANSLATORS: Font Size +msgid "font-size-requested" +msgstr "" + +#. TRANSLATORS: Force Front Side +msgid "force-front-side" +msgstr "" + +#. TRANSLATORS: From Name +msgid "from-name" +msgstr "" + +msgid "held" +msgstr "retenido" + +msgid "help\t\tGet help on commands." +msgstr "help\t\tProporciona ayuda sobre los comandos." + +msgid "idle" +msgstr "inactiva" + +#. TRANSLATORS: Imposition Template +msgid "imposition-template" +msgstr "" + +#. TRANSLATORS: None +msgid "imposition-template.none" +msgstr "" + +#. TRANSLATORS: Signature +msgid "imposition-template.signature" +msgstr "" + +#. TRANSLATORS: Insert Page Number +msgid "insert-after-page-number" +msgstr "" + +#. TRANSLATORS: Insert Count +msgid "insert-count" +msgstr "" + +#. TRANSLATORS: Insert Sheet +msgid "insert-sheet" +msgstr "" + +#, c-format +msgid "ippeveprinter: Unable to open \"%s\": %s on line %d." +msgstr "" + +#, c-format +msgid "ippfind: Bad regular expression: %s" +msgstr "ippfind: Expresión regular incorrecta: %s" + +msgid "ippfind: Cannot use --and after --or." +msgstr "ippfind: No se puede usar --and tras --or." + +#, c-format +msgid "ippfind: Expected key name after %s." +msgstr "ippfind: Se esperaba un nombre de clave tras %s." + +#, c-format +msgid "ippfind: Expected port range after %s." +msgstr "ippfind: Se esperaba un intervalo de puertos tras %s." + +#, c-format +msgid "ippfind: Expected program after %s." +msgstr "ippfind: Se esperaba un programa tras %s." + +#, c-format +msgid "ippfind: Expected semi-colon after %s." +msgstr "ippfind: Se esperaba un punto y coma tras %s." + +msgid "ippfind: Missing close brace in substitution." +msgstr "ippfind: Falta la llave de cierre en la substitución." + +msgid "ippfind: Missing close parenthesis." +msgstr "ippfind: Falta el paréntesis de cierre." + +msgid "ippfind: Missing expression before \"--and\"." +msgstr "ippfind: Falta una expresión antes de \"--and\"." + +msgid "ippfind: Missing expression before \"--or\"." +msgstr "ippfind: Falta una expresión antes de \"--or\"." + +#, c-format +msgid "ippfind: Missing key name after %s." +msgstr "ippfind: Falta un nombre de clave tras %s." + +#, c-format +msgid "ippfind: Missing name after %s." +msgstr "" + +msgid "ippfind: Missing open parenthesis." +msgstr "ippfind: Falta el paréntesis de apertura." + +#, c-format +msgid "ippfind: Missing program after %s." +msgstr "ippfind: Falta un programa tras %s." + +#, c-format +msgid "ippfind: Missing regular expression after %s." +msgstr "ippfind: Falta una expresión regular tras %s." + +#, c-format +msgid "ippfind: Missing semi-colon after %s." +msgstr "ippfind: Falta un punto y coma tras %s." + +msgid "ippfind: Out of memory." +msgstr "ippfind: Sin memoria." + +msgid "ippfind: Too many parenthesis." +msgstr "ippfind: Demasiados paréntesis." + +#, c-format +msgid "ippfind: Unable to browse or resolve: %s" +msgstr "ippfind: No se ha podido examinar o resolver: %s" + +#, c-format +msgid "ippfind: Unable to execute \"%s\": %s" +msgstr "ippfind: No se ha podido ejecutar \"%s\": %s" + +#, c-format +msgid "ippfind: Unable to use Bonjour: %s" +msgstr "ippfind: No se ha podido usar Bonjour: %s" + +#, c-format +msgid "ippfind: Unknown variable \"{%s}\"." +msgstr "ippfind: Variable desconocida \"{%s}\"." + +msgid "" +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", " +"and \"-X\"." +msgstr "" + +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." +msgstr "ipptool: \"-i\" y \"-n\" no son compatibles con \"-P\" y \"-X\"." + +#, c-format +msgid "ipptool: Bad URI \"%s\"." +msgstr "" + +msgid "ipptool: Invalid seconds for \"-i\"." +msgstr "ipptool: Número de segundos no válido para \"-i\"." + +msgid "ipptool: May only specify a single URI." +msgstr "ipptool: Sólo se puede especificar un URI." + +msgid "ipptool: Missing count for \"-n\"." +msgstr "ipptool: Falta el contador para \"-n\"." + +msgid "ipptool: Missing filename for \"--ippserver\"." +msgstr "" + +msgid "ipptool: Missing filename for \"-f\"." +msgstr "ipptool: Falta el nombre del archivo para \"-f\"." + +msgid "ipptool: Missing name=value for \"-d\"." +msgstr "ipptool: Falta un nombre=valor para \"-d\"." + +msgid "ipptool: Missing seconds for \"-i\"." +msgstr "ipptool: Falta el número de segundos para \"-i\"." + +msgid "ipptool: URI required before test file." +msgstr "ipptool: Se requiere un URI antes del archivo de prueba." + +#. TRANSLATORS: Job Account ID +msgid "job-account-id" +msgstr "" + +#. TRANSLATORS: Job Account Type +msgid "job-account-type" +msgstr "" + +#. TRANSLATORS: General +msgid "job-account-type.general" +msgstr "" + +#. TRANSLATORS: Group +msgid "job-account-type.group" +msgstr "" + +#. TRANSLATORS: None +msgid "job-account-type.none" +msgstr "" + +#. TRANSLATORS: Job Accounting Output Bin +msgid "job-accounting-output-bin" +msgstr "" + +#. TRANSLATORS: Job Accounting Sheets +msgid "job-accounting-sheets" +msgstr "" + +#. TRANSLATORS: Type of Job Accounting Sheets +msgid "job-accounting-sheets-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-accounting-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-accounting-sheets-type.standard" +msgstr "" + +#. TRANSLATORS: Job Accounting User ID +msgid "job-accounting-user-id" +msgstr "" + +#. TRANSLATORS: Job Cancel After +msgid "job-cancel-after" +msgstr "" + +#. TRANSLATORS: Copies +msgid "job-copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "job-cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "job-cover-front" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-delay-output-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-delay-output-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-delay-output-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-delay-output-until.night" +msgstr "" + +#. TRANSLATORS: No Delay +msgid "job-delay-output-until.no-delay-output" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-delay-output-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-delay-output-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-delay-output-until.weekend" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "job-error-action.abort-job" +msgstr "" + +#. TRANSLATORS: Cancel Job +msgid "job-error-action.cancel-job" +msgstr "" + +#. TRANSLATORS: Continue Job +msgid "job-error-action.continue-job" +msgstr "" + +#. TRANSLATORS: Suspend Job +msgid "job-error-action.suspend-job" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet" +msgstr "" + +#. TRANSLATORS: Type of Error Sheet +msgid "job-error-sheet-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-error-sheet-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-error-sheet-type.standard" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet-when" +msgstr "" + +#. TRANSLATORS: Always +msgid "job-error-sheet-when.always" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-sheet-when.on-error" +msgstr "" + +#. TRANSLATORS: Job Finishings +msgid "job-finishings" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-hold-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-hold-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-hold-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-hold-until.night" +msgstr "" + +#. TRANSLATORS: No Hold +msgid "job-hold-until.no-hold" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-hold-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-hold-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-hold-until.weekend" +msgstr "" + +#. TRANSLATORS: Job Mandatory Attributes +msgid "job-mandatory-attributes" +msgstr "" + +#. TRANSLATORS: Title +msgid "job-name" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages-col" +msgstr "" + +#. TRANSLATORS: Job Phone Number +msgid "job-phone-number" +msgstr "" + +msgid "job-printer-uri attribute missing." +msgstr "Falta el atributo job-printer-uri." + +#. TRANSLATORS: Job Priority +msgid "job-priority" +msgstr "" + +#. TRANSLATORS: Job Privacy Attributes +msgid "job-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Job Description +msgid "job-privacy-attributes.job-description" +msgstr "" + +#. TRANSLATORS: Job Template +msgid "job-privacy-attributes.job-template" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Job Privacy Scope +msgid "job-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "job-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Job Recipient Name +msgid "job-recipient-name" +msgstr "" + +#. TRANSLATORS: Job Retain Until +msgid "job-retain-until" +msgstr "" + +#. TRANSLATORS: Job Retain Until Interval +msgid "job-retain-until-interval" +msgstr "" + +#. TRANSLATORS: Job Retain Until Time +msgid "job-retain-until-time" +msgstr "" + +#. TRANSLATORS: End Of Day +msgid "job-retain-until.end-of-day" +msgstr "" + +#. TRANSLATORS: End Of Month +msgid "job-retain-until.end-of-month" +msgstr "" + +#. TRANSLATORS: End Of Week +msgid "job-retain-until.end-of-week" +msgstr "" + +#. TRANSLATORS: Indefinite +msgid "job-retain-until.indefinite" +msgstr "" + +#. TRANSLATORS: None +msgid "job-retain-until.none" +msgstr "" + +#. TRANSLATORS: Job Save Disposition +msgid "job-save-disposition" +msgstr "" + +#. TRANSLATORS: Job Sheet Message +msgid "job-sheet-message" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets-col" +msgstr "" + +#. TRANSLATORS: First Page in Document +msgid "job-sheets.first-print-stream-page" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "job-sheets.job-both-sheet" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "job-sheets.job-end-sheet" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "job-sheets.job-start-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "job-sheets.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-sheets.standard" +msgstr "" + +#. TRANSLATORS: Job State +msgid "job-state" +msgstr "" + +#. TRANSLATORS: Job State Message +msgid "job-state-message" +msgstr "" + +#. TRANSLATORS: Detailed Job State +msgid "job-state-reasons" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Account Authorization Failed +msgid "job-state-reasons.account-authorization-failed" +msgstr "" + +#. TRANSLATORS: Account Closed +msgid "job-state-reasons.account-closed" +msgstr "" + +#. TRANSLATORS: Account Info Needed +msgid "job-state-reasons.account-info-needed" +msgstr "" + +#. TRANSLATORS: Account Limit Reached +msgid "job-state-reasons.account-limit-reached" +msgstr "" + +#. TRANSLATORS: Decompression error +msgid "job-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Conflicting Attributes +msgid "job-state-reasons.conflicting-attributes" +msgstr "" + +#. TRANSLATORS: Connected To Destination +msgid "job-state-reasons.connected-to-destination" +msgstr "" + +#. TRANSLATORS: Connecting To Destination +msgid "job-state-reasons.connecting-to-destination" +msgstr "" + +#. TRANSLATORS: Destination Uri Failed +msgid "job-state-reasons.destination-uri-failed" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "job-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "job-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "job-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "job-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "job-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "job-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "job-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "job-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "job-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Canceled at printer +msgid "job-state-reasons.job-canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled by operator +msgid "job-state-reasons.job-canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled by user +msgid "job-state-reasons.job-canceled-by-user" +msgstr "" + +#. TRANSLATORS: +msgid "job-state-reasons.job-completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed with errors +msgid "job-state-reasons.job-completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed with warnings +msgid "job-state-reasons.job-completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Insufficient data +msgid "job-state-reasons.job-data-insufficient" +msgstr "" + +#. TRANSLATORS: Job Delay Output Until Specified +msgid "job-state-reasons.job-delay-output-until-specified" +msgstr "" + +#. TRANSLATORS: Job Digital Signature Wait +msgid "job-state-reasons.job-digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "job-state-reasons.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Held For Review +msgid "job-state-reasons.job-held-for-review" +msgstr "" + +#. TRANSLATORS: Job held +msgid "job-state-reasons.job-hold-until-specified" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "job-state-reasons.job-incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "job-state-reasons.job-interpreting" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "job-state-reasons.job-outgoing" +msgstr "" + +#. TRANSLATORS: Job Password Wait +msgid "job-state-reasons.job-password-wait" +msgstr "" + +#. TRANSLATORS: Job Printed Successfully +msgid "job-state-reasons.job-printed-successfully" +msgstr "" + +#. TRANSLATORS: Job Printed With Errors +msgid "job-state-reasons.job-printed-with-errors" +msgstr "" + +#. TRANSLATORS: Job Printed With Warnings +msgid "job-state-reasons.job-printed-with-warnings" +msgstr "" + +#. TRANSLATORS: Printing +msgid "job-state-reasons.job-printing" +msgstr "" + +#. TRANSLATORS: Preparing to print +msgid "job-state-reasons.job-queued" +msgstr "" + +#. TRANSLATORS: Processing document +msgid "job-state-reasons.job-queued-for-marker" +msgstr "" + +#. TRANSLATORS: Job Release Wait +msgid "job-state-reasons.job-release-wait" +msgstr "" + +#. TRANSLATORS: Restartable +msgid "job-state-reasons.job-restartable" +msgstr "" + +#. TRANSLATORS: Job Resuming +msgid "job-state-reasons.job-resuming" +msgstr "" + +#. TRANSLATORS: Job Saved Successfully +msgid "job-state-reasons.job-saved-successfully" +msgstr "" + +#. TRANSLATORS: Job Saved With Errors +msgid "job-state-reasons.job-saved-with-errors" +msgstr "" + +#. TRANSLATORS: Job Saved With Warnings +msgid "job-state-reasons.job-saved-with-warnings" +msgstr "" + +#. TRANSLATORS: Job Saving +msgid "job-state-reasons.job-saving" +msgstr "" + +#. TRANSLATORS: Job Spooling +msgid "job-state-reasons.job-spooling" +msgstr "" + +#. TRANSLATORS: Job Streaming +msgid "job-state-reasons.job-streaming" +msgstr "" + +#. TRANSLATORS: Suspended +msgid "job-state-reasons.job-suspended" +msgstr "" + +#. TRANSLATORS: Job Suspended By Operator +msgid "job-state-reasons.job-suspended-by-operator" +msgstr "" + +#. TRANSLATORS: Job Suspended By System +msgid "job-state-reasons.job-suspended-by-system" +msgstr "" + +#. TRANSLATORS: Job Suspended By User +msgid "job-state-reasons.job-suspended-by-user" +msgstr "" + +#. TRANSLATORS: Job Suspending +msgid "job-state-reasons.job-suspending" +msgstr "" + +#. TRANSLATORS: Job Transferring +msgid "job-state-reasons.job-transferring" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "job-state-reasons.job-transforming" +msgstr "" + +#. TRANSLATORS: None +msgid "job-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "job-state-reasons.printer-stopped" +msgstr "" + +#. TRANSLATORS: Printer partially stopped +msgid "job-state-reasons.printer-stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Ready +msgid "job-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "job-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "job-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Service offline +msgid "job-state-reasons.service-off-line" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "job-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Unsupported Attributes Or Values +msgid "job-state-reasons.unsupported-attributes-or-values" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "job-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "job-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Waiting For User Action +msgid "job-state-reasons.waiting-for-user-action" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "job-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "job-state.3" +msgstr "" + +#. TRANSLATORS: Held +msgid "job-state.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "job-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "job-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "job-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "job-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "job-state.9" +msgstr "" + +#. TRANSLATORS: Laminate Pages +msgid "laminating" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "laminating-sides" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "laminating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "laminating-sides.both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "laminating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Lamination +msgid "laminating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "laminating-type.archival" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "laminating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "laminating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "laminating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "laminating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "laminating-type.translucent" +msgstr "" + +#. TRANSLATORS: Logo +msgid "logo" +msgstr "" + +msgid "lpadmin: Class name can only contain printable characters." +msgstr "" +"lpadmin: El nombre de la clase sólo puede contener caracteres imprimibles." + +#, c-format +msgid "lpadmin: Expected PPD after \"-%c\" option." +msgstr "lpadmin: Se esperaba un PPD tras la opción \"-%c\"." + +msgid "lpadmin: Expected allow/deny:userlist after \"-u\" option." +msgstr "lpadmin: Se esperaba allow/deny:lista_usuarios tras la opción \"-u\"." + +msgid "lpadmin: Expected class after \"-r\" option." +msgstr "lpadmin: Se esperaba una clase tras la opción \"-r\"." + +msgid "lpadmin: Expected class name after \"-c\" option." +msgstr "lpadmin: Se esperaba un nombre de clase tras la opción \"-c\"." + +msgid "lpadmin: Expected description after \"-D\" option." +msgstr "lpadmin: Se esperaba una descripción tras la opción \"-D\"." + +msgid "lpadmin: Expected device URI after \"-v\" option." +msgstr "lpadmin: Se esperaba un URI de dispositivo tras la opción \"-v\"." + +msgid "lpadmin: Expected file type(s) after \"-I\" option." +msgstr "lpadmin: Se esperaba(n) tipo(s) de archivo(s) tras la opción \"-l\"." + +msgid "lpadmin: Expected hostname after \"-h\" option." +msgstr "lpadmin: Se esperaba un nombre de equipo tras la opción \"-h\"." + +msgid "lpadmin: Expected location after \"-L\" option." +msgstr "lpadmin: Se esperaba una ubicación tras la opción \"-L\"." + +msgid "lpadmin: Expected model after \"-m\" option." +msgstr "lpadmin: Se esperaba un modelo tras la opción \"-m\"." + +msgid "lpadmin: Expected name after \"-R\" option." +msgstr "lpadmin: Se esperaba un nombre tras la opción \"-R\"." + +msgid "lpadmin: Expected name=value after \"-o\" option." +msgstr "lpadmin: Se esperaba un nombre=valor tras la opción \"-o\"." + +msgid "lpadmin: Expected printer after \"-p\" option." +msgstr "lpadmin: Se esperaba una impresora tras la opción \"-p\"." + +msgid "lpadmin: Expected printer name after \"-d\" option." +msgstr "lpadmin: Se esperaba un nombre de impresora tras la opción \"-d\"." + +msgid "lpadmin: Expected printer or class after \"-x\" option." +msgstr "lpadmin: Se esperaba una impresora o clase tras la opción \"-x\"." + +msgid "lpadmin: No member names were seen." +msgstr "lpadmin: No se han visto nombres de miembros." + +#, c-format +msgid "lpadmin: Printer %s is already a member of class %s." +msgstr "lpadmin: La impresora %s ya es miembro de la clase %s." + +#, c-format +msgid "lpadmin: Printer %s is not a member of class %s." +msgstr "lpadmin: La impresora %s no es miembro de la clase %s." + +msgid "" +"lpadmin: Printer drivers are deprecated and will stop working in a future " +"version of CUPS." +msgstr "" + +msgid "lpadmin: Printer name can only contain printable characters." +msgstr "" +"lpadmin: El nombre de la impresora sólo puede contener caracteres " +"imprimibles." + +msgid "" +"lpadmin: Raw queues are deprecated and will stop working in a future version " +"of CUPS." +msgstr "" + +msgid "lpadmin: Raw queues are no longer supported on macOS." +msgstr "" + +msgid "" +"lpadmin: System V interface scripts are no longer supported for security " +"reasons." +msgstr "" + +msgid "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: No se ha podido añadir una impresora a la clase:\n" +" Debe especificar un nombre de impresora primero." + +#, c-format +msgid "lpadmin: Unable to connect to server: %s" +msgstr "lpadmin: No se ha podido conectar al servidor: %s" + +msgid "lpadmin: Unable to create temporary file" +msgstr "lpadmin: No se ha podido crear el archivo temporal" + +msgid "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: No se ha podido borrar la opción:\n" +" Debe especificar un nombre de impresora primero." + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s" +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s on line %d." +msgstr "" +"lpadmin: No se ha podido abrir el archivo PPD: \"%s\": %s en la línea %d." + +msgid "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: No se ha podido quitar una impresora de la clase:\n" +" Debe especificar un nombre de impresora primero." + +msgid "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: No se han podido establecer las opciones de la impresora:\n" +" Debe especificar un nombre de impresora primero." + +#, c-format +msgid "lpadmin: Unknown allow/deny option \"%s\"." +msgstr "lpadmin: Opción allow/deny desconocida \"%s\"." + +#, c-format +msgid "lpadmin: Unknown argument \"%s\"." +msgstr "lpadmin: Argumento \"%s\" desconocido." + +#, c-format +msgid "lpadmin: Unknown option \"%c\"." +msgstr "lpadmin: Opción \"%c\" desconocida." + +msgid "lpadmin: Use the 'everywhere' model for shared printers." +msgstr "" + +msgid "lpadmin: Warning - content type list ignored." +msgstr "lpadmin: Advertencia - lista de tipo de contenido no tenida en cuenta." + +msgid "lpc> " +msgstr "lpc> " + +msgid "lpinfo: Expected 1284 device ID string after \"--device-id\"." +msgstr "" +"lpinfo: Se esperaba una cadena ID de dispositivo 1284 tras \"--device-id\"." + +msgid "lpinfo: Expected language after \"--language\"." +msgstr "lpinfo: Se esperaba un idioma tras \"--language\"." + +msgid "lpinfo: Expected make and model after \"--make-and-model\"." +msgstr "lpinfo: Se esperaba marca y modelo tras \"--make-and-model\"." + +msgid "lpinfo: Expected product string after \"--product\"." +msgstr "lpinfo: Se esperaba una cadena de producto tras \"--product\"." + +msgid "lpinfo: Expected scheme list after \"--exclude-schemes\"." +msgstr "lpinfo: Se esperaba una lista de esquemas tras \"--exclude-schemes\"." + +msgid "lpinfo: Expected scheme list after \"--include-schemes\"." +msgstr "lpinfo: Se esperaba una lista de esquemas tras \"--include-schemes\"." + +msgid "lpinfo: Expected timeout after \"--timeout\"." +msgstr "lpinfo: Se esperaba un tiempo de espera tras \"--timeout\"." + +#, c-format +msgid "lpmove: Unable to connect to server: %s" +msgstr "lpmove: No se ha podido conectar al servidor: %s" + +#, c-format +msgid "lpmove: Unknown argument \"%s\"." +msgstr "lpmove: Argumento \"%s\" desconocido." + +msgid "lpoptions: No printers." +msgstr "lpoptions: No hay impresoras." + +#, c-format +msgid "lpoptions: Unable to add printer or instance: %s" +msgstr "lpoptions: No se ha podido añadir la impresora o la instancia: %s" + +#, c-format +msgid "lpoptions: Unable to get PPD file for %s: %s" +msgstr "lpoptions: No se ha podido obtener el archivo PPD para %s: %s" + +#, c-format +msgid "lpoptions: Unable to open PPD file for %s." +msgstr "lpoptions: No se ha podido abrir el archivo PPD para %s." + +msgid "lpoptions: Unknown printer or class." +msgstr "lpoptions: Impresora o clase desconocida." + +#, c-format +msgid "" +"lpstat: error - %s environment variable names non-existent destination \"%s" +"\"." +msgstr "" +"lpstat: error - Los nombre de variable de entorno %s no existen en el " +"destino \"%s\"." + +#. TRANSLATORS: Amount of Material +msgid "material-amount" +msgstr "" + +#. TRANSLATORS: Amount Units +msgid "material-amount-units" +msgstr "" + +#. TRANSLATORS: Grams +msgid "material-amount-units.g" +msgstr "" + +#. TRANSLATORS: Kilograms +msgid "material-amount-units.kg" +msgstr "" + +#. TRANSLATORS: Liters +msgid "material-amount-units.l" +msgstr "" + +#. TRANSLATORS: Meters +msgid "material-amount-units.m" +msgstr "" + +#. TRANSLATORS: Milliliters +msgid "material-amount-units.ml" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "material-amount-units.mm" +msgstr "" + +#. TRANSLATORS: Material Color +msgid "material-color" +msgstr "" + +#. TRANSLATORS: Material Diameter +msgid "material-diameter" +msgstr "" + +#. TRANSLATORS: Material Diameter Tolerance +msgid "material-diameter-tolerance" +msgstr "" + +#. TRANSLATORS: Material Fill Density +msgid "material-fill-density" +msgstr "" + +#. TRANSLATORS: Material Name +msgid "material-name" +msgstr "" + +#. TRANSLATORS: Material Nozzle Diameter +msgid "material-nozzle-diameter" +msgstr "" + +#. TRANSLATORS: Use Material For +msgid "material-purpose" +msgstr "" + +#. TRANSLATORS: Everything +msgid "material-purpose.all" +msgstr "" + +#. TRANSLATORS: Base +msgid "material-purpose.base" +msgstr "" + +#. TRANSLATORS: In-fill +msgid "material-purpose.in-fill" +msgstr "" + +#. TRANSLATORS: Shell +msgid "material-purpose.shell" +msgstr "" + +#. TRANSLATORS: Supports +msgid "material-purpose.support" +msgstr "" + +#. TRANSLATORS: Feed Rate +msgid "material-rate" +msgstr "" + +#. TRANSLATORS: Feed Rate Units +msgid "material-rate-units" +msgstr "" + +#. TRANSLATORS: Milligrams per second +msgid "material-rate-units.mg_second" +msgstr "" + +#. TRANSLATORS: Milliliters per second +msgid "material-rate-units.ml_second" +msgstr "" + +#. TRANSLATORS: Millimeters per second +msgid "material-rate-units.mm_second" +msgstr "" + +#. TRANSLATORS: Material Retraction +msgid "material-retraction" +msgstr "" + +#. TRANSLATORS: Material Shell Thickness +msgid "material-shell-thickness" +msgstr "" + +#. TRANSLATORS: Material Temperature +msgid "material-temperature" +msgstr "" + +#. TRANSLATORS: Material Type +msgid "material-type" +msgstr "" + +#. TRANSLATORS: ABS +msgid "material-type.abs" +msgstr "" + +#. TRANSLATORS: Carbon Fiber ABS +msgid "material-type.abs-carbon-fiber" +msgstr "" + +#. TRANSLATORS: Carbon Nanotube ABS +msgid "material-type.abs-carbon-nanotube" +msgstr "" + +#. TRANSLATORS: Chocolate +msgid "material-type.chocolate" +msgstr "" + +#. TRANSLATORS: Gold +msgid "material-type.gold" +msgstr "" + +#. TRANSLATORS: Nylon +msgid "material-type.nylon" +msgstr "" + +#. TRANSLATORS: Pet +msgid "material-type.pet" +msgstr "" + +#. TRANSLATORS: Photopolymer +msgid "material-type.photopolymer" +msgstr "" + +#. TRANSLATORS: PLA +msgid "material-type.pla" +msgstr "" + +#. TRANSLATORS: Conductive PLA +msgid "material-type.pla-conductive" +msgstr "" + +#. TRANSLATORS: Pla Dissolvable +msgid "material-type.pla-dissolvable" +msgstr "" + +#. TRANSLATORS: Flexible PLA +msgid "material-type.pla-flexible" +msgstr "" + +#. TRANSLATORS: Magnetic PLA +msgid "material-type.pla-magnetic" +msgstr "" + +#. TRANSLATORS: Steel PLA +msgid "material-type.pla-steel" +msgstr "" + +#. TRANSLATORS: Stone PLA +msgid "material-type.pla-stone" +msgstr "" + +#. TRANSLATORS: Wood PLA +msgid "material-type.pla-wood" +msgstr "" + +#. TRANSLATORS: Polycarbonate +msgid "material-type.polycarbonate" +msgstr "" + +#. TRANSLATORS: Dissolvable PVA +msgid "material-type.pva-dissolvable" +msgstr "" + +#. TRANSLATORS: Silver +msgid "material-type.silver" +msgstr "" + +#. TRANSLATORS: Titanium +msgid "material-type.titanium" +msgstr "" + +#. TRANSLATORS: Wax +msgid "material-type.wax" +msgstr "" + +#. TRANSLATORS: Materials +msgid "materials-col" +msgstr "" + +#. TRANSLATORS: Media +msgid "media" +msgstr "" + +#. TRANSLATORS: Back Coating of Media +msgid "media-back-coating" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "media-back-coating.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "media-back-coating.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "media-back-coating.matte" +msgstr "" + +#. TRANSLATORS: None +msgid "media-back-coating.none" +msgstr "" + +#. TRANSLATORS: Satin +msgid "media-back-coating.satin" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "media-back-coating.semi-gloss" +msgstr "" + +#. TRANSLATORS: Media Bottom Margin +msgid "media-bottom-margin" +msgstr "" + +#. TRANSLATORS: Media +msgid "media-col" +msgstr "" + +#. TRANSLATORS: Media Color +msgid "media-color" +msgstr "" + +#. TRANSLATORS: Black +msgid "media-color.black" +msgstr "" + +#. TRANSLATORS: Blue +msgid "media-color.blue" +msgstr "" + +#. TRANSLATORS: Brown +msgid "media-color.brown" +msgstr "" + +#. TRANSLATORS: Buff +msgid "media-color.buff" +msgstr "" + +#. TRANSLATORS: Clear Black +msgid "media-color.clear-black" +msgstr "" + +#. TRANSLATORS: Clear Blue +msgid "media-color.clear-blue" +msgstr "" + +#. TRANSLATORS: Clear Brown +msgid "media-color.clear-brown" +msgstr "" + +#. TRANSLATORS: Clear Buff +msgid "media-color.clear-buff" +msgstr "" + +#. TRANSLATORS: Clear Cyan +msgid "media-color.clear-cyan" +msgstr "" + +#. TRANSLATORS: Clear Gold +msgid "media-color.clear-gold" +msgstr "" + +#. TRANSLATORS: Clear Goldenrod +msgid "media-color.clear-goldenrod" +msgstr "" + +#. TRANSLATORS: Clear Gray +msgid "media-color.clear-gray" +msgstr "" + +#. TRANSLATORS: Clear Green +msgid "media-color.clear-green" +msgstr "" + +#. TRANSLATORS: Clear Ivory +msgid "media-color.clear-ivory" +msgstr "" + +#. TRANSLATORS: Clear Magenta +msgid "media-color.clear-magenta" +msgstr "" + +#. TRANSLATORS: Clear Multi Color +msgid "media-color.clear-multi-color" +msgstr "" + +#. TRANSLATORS: Clear Mustard +msgid "media-color.clear-mustard" +msgstr "" + +#. TRANSLATORS: Clear Orange +msgid "media-color.clear-orange" +msgstr "" + +#. TRANSLATORS: Clear Pink +msgid "media-color.clear-pink" +msgstr "" + +#. TRANSLATORS: Clear Red +msgid "media-color.clear-red" +msgstr "" + +#. TRANSLATORS: Clear Silver +msgid "media-color.clear-silver" +msgstr "" + +#. TRANSLATORS: Clear Turquoise +msgid "media-color.clear-turquoise" +msgstr "" + +#. TRANSLATORS: Clear Violet +msgid "media-color.clear-violet" +msgstr "" + +#. TRANSLATORS: Clear White +msgid "media-color.clear-white" +msgstr "" + +#. TRANSLATORS: Clear Yellow +msgid "media-color.clear-yellow" +msgstr "" + +#. TRANSLATORS: Cyan +msgid "media-color.cyan" +msgstr "" + +#. TRANSLATORS: Dark Blue +msgid "media-color.dark-blue" +msgstr "" + +#. TRANSLATORS: Dark Brown +msgid "media-color.dark-brown" +msgstr "" + +#. TRANSLATORS: Dark Buff +msgid "media-color.dark-buff" +msgstr "" + +#. TRANSLATORS: Dark Cyan +msgid "media-color.dark-cyan" +msgstr "" + +#. TRANSLATORS: Dark Gold +msgid "media-color.dark-gold" +msgstr "" + +#. TRANSLATORS: Dark Goldenrod +msgid "media-color.dark-goldenrod" +msgstr "" + +#. TRANSLATORS: Dark Gray +msgid "media-color.dark-gray" +msgstr "" + +#. TRANSLATORS: Dark Green +msgid "media-color.dark-green" +msgstr "" + +#. TRANSLATORS: Dark Ivory +msgid "media-color.dark-ivory" +msgstr "" + +#. TRANSLATORS: Dark Magenta +msgid "media-color.dark-magenta" +msgstr "" + +#. TRANSLATORS: Dark Mustard +msgid "media-color.dark-mustard" +msgstr "" + +#. TRANSLATORS: Dark Orange +msgid "media-color.dark-orange" +msgstr "" + +#. TRANSLATORS: Dark Pink +msgid "media-color.dark-pink" +msgstr "" + +#. TRANSLATORS: Dark Red +msgid "media-color.dark-red" +msgstr "" + +#. TRANSLATORS: Dark Silver +msgid "media-color.dark-silver" +msgstr "" + +#. TRANSLATORS: Dark Turquoise +msgid "media-color.dark-turquoise" +msgstr "" + +#. TRANSLATORS: Dark Violet +msgid "media-color.dark-violet" +msgstr "" + +#. TRANSLATORS: Dark Yellow +msgid "media-color.dark-yellow" +msgstr "" + +#. TRANSLATORS: Gold +msgid "media-color.gold" +msgstr "" + +#. TRANSLATORS: Goldenrod +msgid "media-color.goldenrod" +msgstr "" + +#. TRANSLATORS: Gray +msgid "media-color.gray" +msgstr "" + +#. TRANSLATORS: Green +msgid "media-color.green" +msgstr "" + +#. TRANSLATORS: Ivory +msgid "media-color.ivory" +msgstr "" + +#. TRANSLATORS: Light Black +msgid "media-color.light-black" +msgstr "" + +#. TRANSLATORS: Light Blue +msgid "media-color.light-blue" +msgstr "" + +#. TRANSLATORS: Light Brown +msgid "media-color.light-brown" +msgstr "" + +#. TRANSLATORS: Light Buff +msgid "media-color.light-buff" +msgstr "" + +#. TRANSLATORS: Light Cyan +msgid "media-color.light-cyan" +msgstr "" + +#. TRANSLATORS: Light Gold +msgid "media-color.light-gold" +msgstr "" + +#. TRANSLATORS: Light Goldenrod +msgid "media-color.light-goldenrod" +msgstr "" + +#. TRANSLATORS: Light Gray +msgid "media-color.light-gray" +msgstr "" + +#. TRANSLATORS: Light Green +msgid "media-color.light-green" +msgstr "" + +#. TRANSLATORS: Light Ivory +msgid "media-color.light-ivory" +msgstr "" + +#. TRANSLATORS: Light Magenta +msgid "media-color.light-magenta" +msgstr "" + +#. TRANSLATORS: Light Mustard +msgid "media-color.light-mustard" +msgstr "" + +#. TRANSLATORS: Light Orange +msgid "media-color.light-orange" +msgstr "" + +#. TRANSLATORS: Light Pink +msgid "media-color.light-pink" +msgstr "" + +#. TRANSLATORS: Light Red +msgid "media-color.light-red" +msgstr "" + +#. TRANSLATORS: Light Silver +msgid "media-color.light-silver" +msgstr "" + +#. TRANSLATORS: Light Turquoise +msgid "media-color.light-turquoise" +msgstr "" + +#. TRANSLATORS: Light Violet +msgid "media-color.light-violet" +msgstr "" + +#. TRANSLATORS: Light Yellow +msgid "media-color.light-yellow" +msgstr "" + +#. TRANSLATORS: Magenta +msgid "media-color.magenta" +msgstr "" + +#. TRANSLATORS: Multi-color +msgid "media-color.multi-color" +msgstr "" + +#. TRANSLATORS: Mustard +msgid "media-color.mustard" +msgstr "" + +#. TRANSLATORS: No Color +msgid "media-color.no-color" +msgstr "" + +#. TRANSLATORS: Orange +msgid "media-color.orange" +msgstr "" + +#. TRANSLATORS: Pink +msgid "media-color.pink" +msgstr "" + +#. TRANSLATORS: Red +msgid "media-color.red" +msgstr "" + +#. TRANSLATORS: Silver +msgid "media-color.silver" +msgstr "" + +#. TRANSLATORS: Turquoise +msgid "media-color.turquoise" +msgstr "" + +#. TRANSLATORS: Violet +msgid "media-color.violet" +msgstr "" + +#. TRANSLATORS: White +msgid "media-color.white" +msgstr "" + +#. TRANSLATORS: Yellow +msgid "media-color.yellow" +msgstr "" + +#. TRANSLATORS: Front Coating of Media +msgid "media-front-coating" +msgstr "" + +#. TRANSLATORS: Media Grain +msgid "media-grain" +msgstr "" + +#. TRANSLATORS: Cross-Feed Direction +msgid "media-grain.x-direction" +msgstr "" + +#. TRANSLATORS: Feed Direction +msgid "media-grain.y-direction" +msgstr "" + +#. TRANSLATORS: Media Hole Count +msgid "media-hole-count" +msgstr "" + +#. TRANSLATORS: Media Info +msgid "media-info" +msgstr "" + +#. TRANSLATORS: Force Media +msgid "media-input-tray-check" +msgstr "" + +#. TRANSLATORS: Media Left Margin +msgid "media-left-margin" +msgstr "" + +#. TRANSLATORS: Pre-printed Media +msgid "media-pre-printed" +msgstr "" + +#. TRANSLATORS: Blank +msgid "media-pre-printed.blank" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-pre-printed.letter-head" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "media-pre-printed.pre-printed" +msgstr "" + +#. TRANSLATORS: Recycled Media +msgid "media-recycled" +msgstr "" + +#. TRANSLATORS: None +msgid "media-recycled.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "media-recycled.standard" +msgstr "" + +#. TRANSLATORS: Media Right Margin +msgid "media-right-margin" +msgstr "" + +#. TRANSLATORS: Media Dimensions +msgid "media-size" +msgstr "" + +#. TRANSLATORS: Media Name +msgid "media-size-name" +msgstr "" + +#. TRANSLATORS: Media Source +msgid "media-source" +msgstr "" + +#. TRANSLATORS: Alternate +msgid "media-source.alternate" +msgstr "" + +#. TRANSLATORS: Alternate Roll +msgid "media-source.alternate-roll" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-source.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "media-source.bottom" +msgstr "" + +#. TRANSLATORS: By-pass Tray +msgid "media-source.by-pass-tray" +msgstr "" + +#. TRANSLATORS: Center +msgid "media-source.center" +msgstr "" + +#. TRANSLATORS: Disc +msgid "media-source.disc" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-source.envelope" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media-source.hagaki" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "media-source.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "media-source.left" +msgstr "" + +#. TRANSLATORS: Main +msgid "media-source.main" +msgstr "" + +#. TRANSLATORS: Main Roll +msgid "media-source.main-roll" +msgstr "" + +#. TRANSLATORS: Manual +msgid "media-source.manual" +msgstr "" + +#. TRANSLATORS: Middle +msgid "media-source.middle" +msgstr "" + +#. TRANSLATORS: Photo +msgid "media-source.photo" +msgstr "" + +#. TRANSLATORS: Rear +msgid "media-source.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "media-source.right" +msgstr "" + +#. TRANSLATORS: Roll 1 +msgid "media-source.roll-1" +msgstr "" + +#. TRANSLATORS: Roll 10 +msgid "media-source.roll-10" +msgstr "" + +#. TRANSLATORS: Roll 2 +msgid "media-source.roll-2" +msgstr "" + +#. TRANSLATORS: Roll 3 +msgid "media-source.roll-3" +msgstr "" + +#. TRANSLATORS: Roll 4 +msgid "media-source.roll-4" +msgstr "" + +#. TRANSLATORS: Roll 5 +msgid "media-source.roll-5" +msgstr "" + +#. TRANSLATORS: Roll 6 +msgid "media-source.roll-6" +msgstr "" + +#. TRANSLATORS: Roll 7 +msgid "media-source.roll-7" +msgstr "" + +#. TRANSLATORS: Roll 8 +msgid "media-source.roll-8" +msgstr "" + +#. TRANSLATORS: Roll 9 +msgid "media-source.roll-9" +msgstr "" + +#. TRANSLATORS: Side +msgid "media-source.side" +msgstr "" + +#. TRANSLATORS: Top +msgid "media-source.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "media-source.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "media-source.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 11 +msgid "media-source.tray-11" +msgstr "" + +#. TRANSLATORS: Tray 12 +msgid "media-source.tray-12" +msgstr "" + +#. TRANSLATORS: Tray 13 +msgid "media-source.tray-13" +msgstr "" + +#. TRANSLATORS: Tray 14 +msgid "media-source.tray-14" +msgstr "" + +#. TRANSLATORS: Tray 15 +msgid "media-source.tray-15" +msgstr "" + +#. TRANSLATORS: Tray 16 +msgid "media-source.tray-16" +msgstr "" + +#. TRANSLATORS: Tray 17 +msgid "media-source.tray-17" +msgstr "" + +#. TRANSLATORS: Tray 18 +msgid "media-source.tray-18" +msgstr "" + +#. TRANSLATORS: Tray 19 +msgid "media-source.tray-19" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "media-source.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 20 +msgid "media-source.tray-20" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "media-source.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "media-source.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "media-source.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "media-source.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "media-source.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "media-source.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "media-source.tray-9" +msgstr "" + +#. TRANSLATORS: Media Thickness +msgid "media-thickness" +msgstr "" + +#. TRANSLATORS: Media Tooth (Texture) +msgid "media-tooth" +msgstr "" + +#. TRANSLATORS: Antique +msgid "media-tooth.antique" +msgstr "" + +#. TRANSLATORS: Extra Smooth +msgid "media-tooth.calendared" +msgstr "" + +#. TRANSLATORS: Coarse +msgid "media-tooth.coarse" +msgstr "" + +#. TRANSLATORS: Fine +msgid "media-tooth.fine" +msgstr "" + +#. TRANSLATORS: Linen +msgid "media-tooth.linen" +msgstr "" + +#. TRANSLATORS: Medium +msgid "media-tooth.medium" +msgstr "" + +#. TRANSLATORS: Smooth +msgid "media-tooth.smooth" +msgstr "" + +#. TRANSLATORS: Stipple +msgid "media-tooth.stipple" +msgstr "" + +#. TRANSLATORS: Rough +msgid "media-tooth.uncalendared" +msgstr "" + +#. TRANSLATORS: Vellum +msgid "media-tooth.vellum" +msgstr "" + +#. TRANSLATORS: Media Top Margin +msgid "media-top-margin" +msgstr "" + +#. TRANSLATORS: Media Type +msgid "media-type" +msgstr "" + +#. TRANSLATORS: Aluminum +msgid "media-type.aluminum" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-type.auto" +msgstr "" + +#. TRANSLATORS: Back Print Film +msgid "media-type.back-print-film" +msgstr "" + +#. TRANSLATORS: Cardboard +msgid "media-type.cardboard" +msgstr "" + +#. TRANSLATORS: Cardstock +msgid "media-type.cardstock" +msgstr "" + +#. TRANSLATORS: CD +msgid "media-type.cd" +msgstr "" + +#. TRANSLATORS: Continuous +msgid "media-type.continuous" +msgstr "" + +#. TRANSLATORS: Continuous Long +msgid "media-type.continuous-long" +msgstr "" + +#. TRANSLATORS: Continuous Short +msgid "media-type.continuous-short" +msgstr "" + +#. TRANSLATORS: Corrugated Board +msgid "media-type.corrugated-board" +msgstr "" + +#. TRANSLATORS: Optical Disc +msgid "media-type.disc" +msgstr "" + +#. TRANSLATORS: Glossy Optical Disc +msgid "media-type.disc-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Optical Disc +msgid "media-type.disc-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Optical Disc +msgid "media-type.disc-matte" +msgstr "" + +#. TRANSLATORS: Satin Optical Disc +msgid "media-type.disc-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Optical Disc +msgid "media-type.disc-semi-gloss" +msgstr "" + +#. TRANSLATORS: Double Wall +msgid "media-type.double-wall" +msgstr "" + +#. TRANSLATORS: Dry Film +msgid "media-type.dry-film" +msgstr "" + +#. TRANSLATORS: DVD +msgid "media-type.dvd" +msgstr "" + +#. TRANSLATORS: Embossing Foil +msgid "media-type.embossing-foil" +msgstr "" + +#. TRANSLATORS: End Board +msgid "media-type.end-board" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-type.envelope" +msgstr "" + +#. TRANSLATORS: Archival Envelope +msgid "media-type.envelope-archival" +msgstr "" + +#. TRANSLATORS: Bond Envelope +msgid "media-type.envelope-bond" +msgstr "" + +#. TRANSLATORS: Coated Envelope +msgid "media-type.envelope-coated" +msgstr "" + +#. TRANSLATORS: Cotton Envelope +msgid "media-type.envelope-cotton" +msgstr "" + +#. TRANSLATORS: Fine Envelope +msgid "media-type.envelope-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Envelope +msgid "media-type.envelope-heavyweight" +msgstr "" + +#. TRANSLATORS: Inkjet Envelope +msgid "media-type.envelope-inkjet" +msgstr "" + +#. TRANSLATORS: Lightweight Envelope +msgid "media-type.envelope-lightweight" +msgstr "" + +#. TRANSLATORS: Plain Envelope +msgid "media-type.envelope-plain" +msgstr "" + +#. TRANSLATORS: Preprinted Envelope +msgid "media-type.envelope-preprinted" +msgstr "" + +#. TRANSLATORS: Windowed Envelope +msgid "media-type.envelope-window" +msgstr "" + +#. TRANSLATORS: Fabric +msgid "media-type.fabric" +msgstr "" + +#. TRANSLATORS: Archival Fabric +msgid "media-type.fabric-archival" +msgstr "" + +#. TRANSLATORS: Glossy Fabric +msgid "media-type.fabric-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Fabric +msgid "media-type.fabric-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Fabric +msgid "media-type.fabric-matte" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Fabric +msgid "media-type.fabric-semi-gloss" +msgstr "" + +#. TRANSLATORS: Waterproof Fabric +msgid "media-type.fabric-waterproof" +msgstr "" + +#. TRANSLATORS: Film +msgid "media-type.film" +msgstr "" + +#. TRANSLATORS: Flexo Base +msgid "media-type.flexo-base" +msgstr "" + +#. TRANSLATORS: Flexo Photo Polymer +msgid "media-type.flexo-photo-polymer" +msgstr "" + +#. TRANSLATORS: Flute +msgid "media-type.flute" +msgstr "" + +#. TRANSLATORS: Foil +msgid "media-type.foil" +msgstr "" + +#. TRANSLATORS: Full Cut Tabs +msgid "media-type.full-cut-tabs" +msgstr "" + +#. TRANSLATORS: Glass +msgid "media-type.glass" +msgstr "" + +#. TRANSLATORS: Glass Colored +msgid "media-type.glass-colored" +msgstr "" + +#. TRANSLATORS: Glass Opaque +msgid "media-type.glass-opaque" +msgstr "" + +#. TRANSLATORS: Glass Surfaced +msgid "media-type.glass-surfaced" +msgstr "" + +#. TRANSLATORS: Glass Textured +msgid "media-type.glass-textured" +msgstr "" + +#. TRANSLATORS: Gravure Cylinder +msgid "media-type.gravure-cylinder" +msgstr "" + +#. TRANSLATORS: Image Setter Paper +msgid "media-type.image-setter-paper" +msgstr "" + +#. TRANSLATORS: Imaging Cylinder +msgid "media-type.imaging-cylinder" +msgstr "" + +#. TRANSLATORS: Labels +msgid "media-type.labels" +msgstr "" + +#. TRANSLATORS: Colored Labels +msgid "media-type.labels-colored" +msgstr "" + +#. TRANSLATORS: Glossy Labels +msgid "media-type.labels-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Labels +msgid "media-type.labels-high-gloss" +msgstr "" + +#. TRANSLATORS: Inkjet Labels +msgid "media-type.labels-inkjet" +msgstr "" + +#. TRANSLATORS: Matte Labels +msgid "media-type.labels-matte" +msgstr "" + +#. TRANSLATORS: Permanent Labels +msgid "media-type.labels-permanent" +msgstr "" + +#. TRANSLATORS: Satin Labels +msgid "media-type.labels-satin" +msgstr "" + +#. TRANSLATORS: Security Labels +msgid "media-type.labels-security" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Labels +msgid "media-type.labels-semi-gloss" +msgstr "" + +#. TRANSLATORS: Laminating Foil +msgid "media-type.laminating-foil" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.letterhead" +msgstr "" + +#. TRANSLATORS: Metal +msgid "media-type.metal" +msgstr "" + +#. TRANSLATORS: Metal Glossy +msgid "media-type.metal-glossy" +msgstr "" + +#. TRANSLATORS: Metal High Gloss +msgid "media-type.metal-high-gloss" +msgstr "" + +#. TRANSLATORS: Metal Matte +msgid "media-type.metal-matte" +msgstr "" + +#. TRANSLATORS: Metal Satin +msgid "media-type.metal-satin" +msgstr "" + +#. TRANSLATORS: Metal Semi Gloss +msgid "media-type.metal-semi-gloss" +msgstr "" + +#. TRANSLATORS: Mounting Tape +msgid "media-type.mounting-tape" +msgstr "" + +#. TRANSLATORS: Multi Layer +msgid "media-type.multi-layer" +msgstr "" + +#. TRANSLATORS: Multi Part Form +msgid "media-type.multi-part-form" +msgstr "" + +#. TRANSLATORS: Other +msgid "media-type.other" +msgstr "" + +#. TRANSLATORS: Paper +msgid "media-type.paper" +msgstr "" + +#. TRANSLATORS: Photo Paper +msgid "media-type.photographic" +msgstr "" + +#. TRANSLATORS: Photographic Archival +msgid "media-type.photographic-archival" +msgstr "" + +#. TRANSLATORS: Photo Film +msgid "media-type.photographic-film" +msgstr "" + +#. TRANSLATORS: Glossy Photo Paper +msgid "media-type.photographic-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Photo Paper +msgid "media-type.photographic-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Photo Paper +msgid "media-type.photographic-matte" +msgstr "" + +#. TRANSLATORS: Satin Photo Paper +msgid "media-type.photographic-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Photo Paper +msgid "media-type.photographic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plastic +msgid "media-type.plastic" +msgstr "" + +#. TRANSLATORS: Plastic Archival +msgid "media-type.plastic-archival" +msgstr "" + +#. TRANSLATORS: Plastic Colored +msgid "media-type.plastic-colored" +msgstr "" + +#. TRANSLATORS: Plastic Glossy +msgid "media-type.plastic-glossy" +msgstr "" + +#. TRANSLATORS: Plastic High Gloss +msgid "media-type.plastic-high-gloss" +msgstr "" + +#. TRANSLATORS: Plastic Matte +msgid "media-type.plastic-matte" +msgstr "" + +#. TRANSLATORS: Plastic Satin +msgid "media-type.plastic-satin" +msgstr "" + +#. TRANSLATORS: Plastic Semi Gloss +msgid "media-type.plastic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plate +msgid "media-type.plate" +msgstr "" + +#. TRANSLATORS: Polyester +msgid "media-type.polyester" +msgstr "" + +#. TRANSLATORS: Pre Cut Tabs +msgid "media-type.pre-cut-tabs" +msgstr "" + +#. TRANSLATORS: Roll +msgid "media-type.roll" +msgstr "" + +#. TRANSLATORS: Screen +msgid "media-type.screen" +msgstr "" + +#. TRANSLATORS: Screen Paged +msgid "media-type.screen-paged" +msgstr "" + +#. TRANSLATORS: Self Adhesive +msgid "media-type.self-adhesive" +msgstr "" + +#. TRANSLATORS: Self Adhesive Film +msgid "media-type.self-adhesive-film" +msgstr "" + +#. TRANSLATORS: Shrink Foil +msgid "media-type.shrink-foil" +msgstr "" + +#. TRANSLATORS: Single Face +msgid "media-type.single-face" +msgstr "" + +#. TRANSLATORS: Single Wall +msgid "media-type.single-wall" +msgstr "" + +#. TRANSLATORS: Sleeve +msgid "media-type.sleeve" +msgstr "" + +#. TRANSLATORS: Stationery +msgid "media-type.stationery" +msgstr "" + +#. TRANSLATORS: Stationery Archival +msgid "media-type.stationery-archival" +msgstr "" + +#. TRANSLATORS: Coated Paper +msgid "media-type.stationery-coated" +msgstr "" + +#. TRANSLATORS: Stationery Cotton +msgid "media-type.stationery-cotton" +msgstr "" + +#. TRANSLATORS: Vellum Paper +msgid "media-type.stationery-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Paper +msgid "media-type.stationery-heavyweight" +msgstr "" + +#. TRANSLATORS: Stationery Heavyweight Coated +msgid "media-type.stationery-heavyweight-coated" +msgstr "" + +#. TRANSLATORS: Stationery Inkjet Paper +msgid "media-type.stationery-inkjet" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.stationery-letterhead" +msgstr "" + +#. TRANSLATORS: Lightweight Paper +msgid "media-type.stationery-lightweight" +msgstr "" + +#. TRANSLATORS: Preprinted Paper +msgid "media-type.stationery-preprinted" +msgstr "" + +#. TRANSLATORS: Punched Paper +msgid "media-type.stationery-prepunched" +msgstr "" + +#. TRANSLATORS: Tab Stock +msgid "media-type.tab-stock" +msgstr "" + +#. TRANSLATORS: Tractor +msgid "media-type.tractor" +msgstr "" + +#. TRANSLATORS: Transfer +msgid "media-type.transfer" +msgstr "" + +#. TRANSLATORS: Transparency +msgid "media-type.transparency" +msgstr "" + +#. TRANSLATORS: Triple Wall +msgid "media-type.triple-wall" +msgstr "" + +#. TRANSLATORS: Wet Film +msgid "media-type.wet-film" +msgstr "" + +#. TRANSLATORS: Media Weight (grams per m²) +msgid "media-weight-metric" +msgstr "" + +#. TRANSLATORS: 28 x 40″ +msgid "media.asme_f_28x40in" +msgstr "" + +#. TRANSLATORS: A4 or US Letter +msgid "media.choice_iso_a4_210x297mm_na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: 2a0 +msgid "media.iso_2a0_1189x1682mm" +msgstr "" + +#. TRANSLATORS: A0 +msgid "media.iso_a0_841x1189mm" +msgstr "" + +#. TRANSLATORS: A0x3 +msgid "media.iso_a0x3_1189x2523mm" +msgstr "" + +#. TRANSLATORS: A10 +msgid "media.iso_a10_26x37mm" +msgstr "" + +#. TRANSLATORS: A1 +msgid "media.iso_a1_594x841mm" +msgstr "" + +#. TRANSLATORS: A1x3 +msgid "media.iso_a1x3_841x1783mm" +msgstr "" + +#. TRANSLATORS: A1x4 +msgid "media.iso_a1x4_841x2378mm" +msgstr "" + +#. TRANSLATORS: A2 +msgid "media.iso_a2_420x594mm" +msgstr "" + +#. TRANSLATORS: A2x3 +msgid "media.iso_a2x3_594x1261mm" +msgstr "" + +#. TRANSLATORS: A2x4 +msgid "media.iso_a2x4_594x1682mm" +msgstr "" + +#. TRANSLATORS: A2x5 +msgid "media.iso_a2x5_594x2102mm" +msgstr "" + +#. TRANSLATORS: A3 (Extra) +msgid "media.iso_a3-extra_322x445mm" +msgstr "" + +#. TRANSLATORS: A3 +msgid "media.iso_a3_297x420mm" +msgstr "" + +#. TRANSLATORS: A3x3 +msgid "media.iso_a3x3_420x891mm" +msgstr "" + +#. TRANSLATORS: A3x4 +msgid "media.iso_a3x4_420x1189mm" +msgstr "" + +#. TRANSLATORS: A3x5 +msgid "media.iso_a3x5_420x1486mm" +msgstr "" + +#. TRANSLATORS: A3x6 +msgid "media.iso_a3x6_420x1783mm" +msgstr "" + +#. TRANSLATORS: A3x7 +msgid "media.iso_a3x7_420x2080mm" +msgstr "" + +#. TRANSLATORS: A4 (Extra) +msgid "media.iso_a4-extra_235.5x322.3mm" +msgstr "" + +#. TRANSLATORS: A4 (Tab) +msgid "media.iso_a4-tab_225x297mm" +msgstr "" + +#. TRANSLATORS: A4 +msgid "media.iso_a4_210x297mm" +msgstr "" + +#. TRANSLATORS: A4x3 +msgid "media.iso_a4x3_297x630mm" +msgstr "" + +#. TRANSLATORS: A4x4 +msgid "media.iso_a4x4_297x841mm" +msgstr "" + +#. TRANSLATORS: A4x5 +msgid "media.iso_a4x5_297x1051mm" +msgstr "" + +#. TRANSLATORS: A4x6 +msgid "media.iso_a4x6_297x1261mm" +msgstr "" + +#. TRANSLATORS: A4x7 +msgid "media.iso_a4x7_297x1471mm" +msgstr "" + +#. TRANSLATORS: A4x8 +msgid "media.iso_a4x8_297x1682mm" +msgstr "" + +#. TRANSLATORS: A4x9 +msgid "media.iso_a4x9_297x1892mm" +msgstr "" + +#. TRANSLATORS: A5 (Extra) +msgid "media.iso_a5-extra_174x235mm" +msgstr "" + +#. TRANSLATORS: A5 +msgid "media.iso_a5_148x210mm" +msgstr "" + +#. TRANSLATORS: A6 +msgid "media.iso_a6_105x148mm" +msgstr "" + +#. TRANSLATORS: A7 +msgid "media.iso_a7_74x105mm" +msgstr "" + +#. TRANSLATORS: A8 +msgid "media.iso_a8_52x74mm" +msgstr "" + +#. TRANSLATORS: A9 +msgid "media.iso_a9_37x52mm" +msgstr "" + +#. TRANSLATORS: B0 +msgid "media.iso_b0_1000x1414mm" +msgstr "" + +#. TRANSLATORS: B10 +msgid "media.iso_b10_31x44mm" +msgstr "" + +#. TRANSLATORS: B1 +msgid "media.iso_b1_707x1000mm" +msgstr "" + +#. TRANSLATORS: B2 +msgid "media.iso_b2_500x707mm" +msgstr "" + +#. TRANSLATORS: B3 +msgid "media.iso_b3_353x500mm" +msgstr "" + +#. TRANSLATORS: B4 +msgid "media.iso_b4_250x353mm" +msgstr "" + +#. TRANSLATORS: B5 (Extra) +msgid "media.iso_b5-extra_201x276mm" +msgstr "" + +#. TRANSLATORS: Envelope B5 +msgid "media.iso_b5_176x250mm" +msgstr "" + +#. TRANSLATORS: B6 +msgid "media.iso_b6_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope B6/C4 +msgid "media.iso_b6c4_125x324mm" +msgstr "" + +#. TRANSLATORS: B7 +msgid "media.iso_b7_88x125mm" +msgstr "" + +#. TRANSLATORS: B8 +msgid "media.iso_b8_62x88mm" +msgstr "" + +#. TRANSLATORS: B9 +msgid "media.iso_b9_44x62mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 0 +msgid "media.iso_c0_917x1297mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 10 +msgid "media.iso_c10_28x40mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 1 +msgid "media.iso_c1_648x917mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 2 +msgid "media.iso_c2_458x648mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 3 +msgid "media.iso_c3_324x458mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 4 +msgid "media.iso_c4_229x324mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 5 +msgid "media.iso_c5_162x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6 +msgid "media.iso_c6_114x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6c5 +msgid "media.iso_c6c5_114x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7 +msgid "media.iso_c7_81x114mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7c6 +msgid "media.iso_c7c6_81x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 8 +msgid "media.iso_c8_57x81mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 9 +msgid "media.iso_c9_40x57mm" +msgstr "" + +#. TRANSLATORS: Envelope DL +msgid "media.iso_dl_110x220mm" +msgstr "" + +#. TRANSLATORS: Id-1 +msgid "media.iso_id-1_53.98x85.6mm" +msgstr "" + +#. TRANSLATORS: Id-3 +msgid "media.iso_id-3_88x125mm" +msgstr "" + +#. TRANSLATORS: ISO RA0 +msgid "media.iso_ra0_860x1220mm" +msgstr "" + +#. TRANSLATORS: ISO RA1 +msgid "media.iso_ra1_610x860mm" +msgstr "" + +#. TRANSLATORS: ISO RA2 +msgid "media.iso_ra2_430x610mm" +msgstr "" + +#. TRANSLATORS: ISO RA3 +msgid "media.iso_ra3_305x430mm" +msgstr "" + +#. TRANSLATORS: ISO RA4 +msgid "media.iso_ra4_215x305mm" +msgstr "" + +#. TRANSLATORS: ISO SRA0 +msgid "media.iso_sra0_900x1280mm" +msgstr "" + +#. TRANSLATORS: ISO SRA1 +msgid "media.iso_sra1_640x900mm" +msgstr "" + +#. TRANSLATORS: ISO SRA2 +msgid "media.iso_sra2_450x640mm" +msgstr "" + +#. TRANSLATORS: ISO SRA3 +msgid "media.iso_sra3_320x450mm" +msgstr "" + +#. TRANSLATORS: ISO SRA4 +msgid "media.iso_sra4_225x320mm" +msgstr "" + +#. TRANSLATORS: JIS B0 +msgid "media.jis_b0_1030x1456mm" +msgstr "" + +#. TRANSLATORS: JIS B10 +msgid "media.jis_b10_32x45mm" +msgstr "" + +#. TRANSLATORS: JIS B1 +msgid "media.jis_b1_728x1030mm" +msgstr "" + +#. TRANSLATORS: JIS B2 +msgid "media.jis_b2_515x728mm" +msgstr "" + +#. TRANSLATORS: JIS B3 +msgid "media.jis_b3_364x515mm" +msgstr "" + +#. TRANSLATORS: JIS B4 +msgid "media.jis_b4_257x364mm" +msgstr "" + +#. TRANSLATORS: JIS B5 +msgid "media.jis_b5_182x257mm" +msgstr "" + +#. TRANSLATORS: JIS B6 +msgid "media.jis_b6_128x182mm" +msgstr "" + +#. TRANSLATORS: JIS B7 +msgid "media.jis_b7_91x128mm" +msgstr "" + +#. TRANSLATORS: JIS B8 +msgid "media.jis_b8_64x91mm" +msgstr "" + +#. TRANSLATORS: JIS B9 +msgid "media.jis_b9_45x64mm" +msgstr "" + +#. TRANSLATORS: JIS Executive +msgid "media.jis_exec_216x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 2 +msgid "media.jpn_chou2_111.1x146mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 3 +msgid "media.jpn_chou3_120x235mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 40 +msgid "media.jpn_chou40_90x225mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 4 +msgid "media.jpn_chou4_90x205mm" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media.jpn_hagaki_100x148mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu +msgid "media.jpn_kahu_240x322.1mm" +msgstr "" + +#. TRANSLATORS: 270 x 382mm +msgid "media.jpn_kaku1_270x382mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu 2 +msgid "media.jpn_kaku2_240x332mm" +msgstr "" + +#. TRANSLATORS: 216 x 277mm +msgid "media.jpn_kaku3_216x277mm" +msgstr "" + +#. TRANSLATORS: 197 x 267mm +msgid "media.jpn_kaku4_197x267mm" +msgstr "" + +#. TRANSLATORS: 190 x 240mm +msgid "media.jpn_kaku5_190x240mm" +msgstr "" + +#. TRANSLATORS: 142 x 205mm +msgid "media.jpn_kaku7_142x205mm" +msgstr "" + +#. TRANSLATORS: 119 x 197mm +msgid "media.jpn_kaku8_119x197mm" +msgstr "" + +#. TRANSLATORS: Oufuku Reply Postcard +msgid "media.jpn_oufuku_148x200mm" +msgstr "" + +#. TRANSLATORS: Envelope You 4 +msgid "media.jpn_you4_105x235mm" +msgstr "" + +#. TRANSLATORS: 10 x 11″ +msgid "media.na_10x11_10x11in" +msgstr "" + +#. TRANSLATORS: 10 x 13″ +msgid "media.na_10x13_10x13in" +msgstr "" + +#. TRANSLATORS: 10 x 14″ +msgid "media.na_10x14_10x14in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.na_10x15_10x15in" +msgstr "" + +#. TRANSLATORS: 11 x 12″ +msgid "media.na_11x12_11x12in" +msgstr "" + +#. TRANSLATORS: 11 x 15″ +msgid "media.na_11x15_11x15in" +msgstr "" + +#. TRANSLATORS: 12 x 19″ +msgid "media.na_12x19_12x19in" +msgstr "" + +#. TRANSLATORS: 5 x 7″ +msgid "media.na_5x7_5x7in" +msgstr "" + +#. TRANSLATORS: 6 x 9″ +msgid "media.na_6x9_6x9in" +msgstr "" + +#. TRANSLATORS: 7 x 9″ +msgid "media.na_7x9_7x9in" +msgstr "" + +#. TRANSLATORS: 9 x 11″ +msgid "media.na_9x11_9x11in" +msgstr "" + +#. TRANSLATORS: Envelope A2 +msgid "media.na_a2_4.375x5.75in" +msgstr "" + +#. TRANSLATORS: 9 x 12″ +msgid "media.na_arch-a_9x12in" +msgstr "" + +#. TRANSLATORS: 12 x 18″ +msgid "media.na_arch-b_12x18in" +msgstr "" + +#. TRANSLATORS: 18 x 24″ +msgid "media.na_arch-c_18x24in" +msgstr "" + +#. TRANSLATORS: 24 x 36″ +msgid "media.na_arch-d_24x36in" +msgstr "" + +#. TRANSLATORS: 26 x 38″ +msgid "media.na_arch-e2_26x38in" +msgstr "" + +#. TRANSLATORS: 27 x 39″ +msgid "media.na_arch-e3_27x39in" +msgstr "" + +#. TRANSLATORS: 36 x 48″ +msgid "media.na_arch-e_36x48in" +msgstr "" + +#. TRANSLATORS: 12 x 19.17″ +msgid "media.na_b-plus_12x19.17in" +msgstr "" + +#. TRANSLATORS: Envelope C5 +msgid "media.na_c5_6.5x9.5in" +msgstr "" + +#. TRANSLATORS: 17 x 22″ +msgid "media.na_c_17x22in" +msgstr "" + +#. TRANSLATORS: 22 x 34″ +msgid "media.na_d_22x34in" +msgstr "" + +#. TRANSLATORS: 34 x 44″ +msgid "media.na_e_34x44in" +msgstr "" + +#. TRANSLATORS: 11 x 14″ +msgid "media.na_edp_11x14in" +msgstr "" + +#. TRANSLATORS: 12 x 14″ +msgid "media.na_eur-edp_12x14in" +msgstr "" + +#. TRANSLATORS: Executive +msgid "media.na_executive_7.25x10.5in" +msgstr "" + +#. TRANSLATORS: 44 x 68″ +msgid "media.na_f_44x68in" +msgstr "" + +#. TRANSLATORS: European Fanfold +msgid "media.na_fanfold-eur_8.5x12in" +msgstr "" + +#. TRANSLATORS: US Fanfold +msgid "media.na_fanfold-us_11x14.875in" +msgstr "" + +#. TRANSLATORS: Foolscap +msgid "media.na_foolscap_8.5x13in" +msgstr "" + +#. TRANSLATORS: 8 x 13″ +msgid "media.na_govt-legal_8x13in" +msgstr "" + +#. TRANSLATORS: 8 x 10″ +msgid "media.na_govt-letter_8x10in" +msgstr "" + +#. TRANSLATORS: 3 x 5″ +msgid "media.na_index-3x5_3x5in" +msgstr "" + +#. TRANSLATORS: 6 x 8″ +msgid "media.na_index-4x6-ext_6x8in" +msgstr "" + +#. TRANSLATORS: 4 x 6″ +msgid "media.na_index-4x6_4x6in" +msgstr "" + +#. TRANSLATORS: 5 x 8″ +msgid "media.na_index-5x8_5x8in" +msgstr "" + +#. TRANSLATORS: Statement +msgid "media.na_invoice_5.5x8.5in" +msgstr "" + +#. TRANSLATORS: 11 x 17″ +msgid "media.na_ledger_11x17in" +msgstr "" + +#. TRANSLATORS: US Legal (Extra) +msgid "media.na_legal-extra_9.5x15in" +msgstr "" + +#. TRANSLATORS: US Legal +msgid "media.na_legal_8.5x14in" +msgstr "" + +#. TRANSLATORS: US Letter (Extra) +msgid "media.na_letter-extra_9.5x12in" +msgstr "" + +#. TRANSLATORS: US Letter (Plus) +msgid "media.na_letter-plus_8.5x12.69in" +msgstr "" + +#. TRANSLATORS: US Letter +msgid "media.na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: Envelope Monarch +msgid "media.na_monarch_3.875x7.5in" +msgstr "" + +#. TRANSLATORS: Envelope #10 +msgid "media.na_number-10_4.125x9.5in" +msgstr "" + +#. TRANSLATORS: Envelope #11 +msgid "media.na_number-11_4.5x10.375in" +msgstr "" + +#. TRANSLATORS: Envelope #12 +msgid "media.na_number-12_4.75x11in" +msgstr "" + +#. TRANSLATORS: Envelope #14 +msgid "media.na_number-14_5x11.5in" +msgstr "" + +#. TRANSLATORS: Envelope #9 +msgid "media.na_number-9_3.875x8.875in" +msgstr "" + +#. TRANSLATORS: 8.5 x 13.4″ +msgid "media.na_oficio_8.5x13.4in" +msgstr "" + +#. TRANSLATORS: Envelope Personal +msgid "media.na_personal_3.625x6.5in" +msgstr "" + +#. TRANSLATORS: Quarto +msgid "media.na_quarto_8.5x10.83in" +msgstr "" + +#. TRANSLATORS: 8.94 x 14″ +msgid "media.na_super-a_8.94x14in" +msgstr "" + +#. TRANSLATORS: 13 x 19″ +msgid "media.na_super-b_13x19in" +msgstr "" + +#. TRANSLATORS: 30 x 42″ +msgid "media.na_wide-format_30x42in" +msgstr "" + +#. TRANSLATORS: 12 x 16″ +msgid "media.oe_12x16_12x16in" +msgstr "" + +#. TRANSLATORS: 14 x 17″ +msgid "media.oe_14x17_14x17in" +msgstr "" + +#. TRANSLATORS: 18 x 22″ +msgid "media.oe_18x22_18x22in" +msgstr "" + +#. TRANSLATORS: 17 x 24″ +msgid "media.oe_a2plus_17x24in" +msgstr "" + +#. TRANSLATORS: 2 x 3.5″ +msgid "media.oe_business-card_2x3.5in" +msgstr "" + +#. TRANSLATORS: 10 x 12″ +msgid "media.oe_photo-10r_10x12in" +msgstr "" + +#. TRANSLATORS: 20 x 24″ +msgid "media.oe_photo-20r_20x24in" +msgstr "" + +#. TRANSLATORS: 3.5 x 5″ +msgid "media.oe_photo-l_3.5x5in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.oe_photo-s10r_10x15in" +msgstr "" + +#. TRANSLATORS: 4 x 4″ +msgid "media.oe_square-photo_4x4in" +msgstr "" + +#. TRANSLATORS: 5 x 5″ +msgid "media.oe_square-photo_5x5in" +msgstr "" + +#. TRANSLATORS: 184 x 260mm +msgid "media.om_16k_184x260mm" +msgstr "" + +#. TRANSLATORS: 195 x 270mm +msgid "media.om_16k_195x270mm" +msgstr "" + +#. TRANSLATORS: 55 x 85mm +msgid "media.om_business-card_55x85mm" +msgstr "" + +#. TRANSLATORS: 55 x 91mm +msgid "media.om_business-card_55x91mm" +msgstr "" + +#. TRANSLATORS: 54 x 86mm +msgid "media.om_card_54x86mm" +msgstr "" + +#. TRANSLATORS: 275 x 395mm +msgid "media.om_dai-pa-kai_275x395mm" +msgstr "" + +#. TRANSLATORS: 89 x 119mm +msgid "media.om_dsc-photo_89x119mm" +msgstr "" + +#. TRANSLATORS: Folio +msgid "media.om_folio-sp_215x315mm" +msgstr "" + +#. TRANSLATORS: Folio (Special) +msgid "media.om_folio_210x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Invitation +msgid "media.om_invite_220x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Italian +msgid "media.om_italian_110x230mm" +msgstr "" + +#. TRANSLATORS: 198 x 275mm +msgid "media.om_juuro-ku-kai_198x275mm" +msgstr "" + +#. TRANSLATORS: 200 x 300 +msgid "media.om_large-photo_200x300" +msgstr "" + +#. TRANSLATORS: 130 x 180mm +msgid "media.om_medium-photo_130x180mm" +msgstr "" + +#. TRANSLATORS: 267 x 389mm +msgid "media.om_pa-kai_267x389mm" +msgstr "" + +#. TRANSLATORS: Envelope Postfix +msgid "media.om_postfix_114x229mm" +msgstr "" + +#. TRANSLATORS: 100 x 150mm +msgid "media.om_small-photo_100x150mm" +msgstr "" + +#. TRANSLATORS: 89 x 89mm +msgid "media.om_square-photo_89x89mm" +msgstr "" + +#. TRANSLATORS: 100 x 200mm +msgid "media.om_wide-photo_100x200mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #10 +msgid "media.prc_10_324x458mm" +msgstr "" + +#. TRANSLATORS: Chinese 16k +msgid "media.prc_16k_146x215mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #1 +msgid "media.prc_1_102x165mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #2 +msgid "media.prc_2_102x176mm" +msgstr "" + +#. TRANSLATORS: Chinese 32k +msgid "media.prc_32k_97x151mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #3 +msgid "media.prc_3_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #4 +msgid "media.prc_4_110x208mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #5 +msgid "media.prc_5_110x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #6 +msgid "media.prc_6_120x320mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #7 +msgid "media.prc_7_160x230mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #8 +msgid "media.prc_8_120x309mm" +msgstr "" + +#. TRANSLATORS: ROC 16k +msgid "media.roc_16k_7.75x10.75in" +msgstr "" + +#. TRANSLATORS: ROC 8k +msgid "media.roc_8k_10.75x15.5in" +msgstr "" + +#, c-format +msgid "members of class %s:" +msgstr "miembros de la clase %s:" + +#. TRANSLATORS: Multiple Document Handling +msgid "multiple-document-handling" +msgstr "" + +#. TRANSLATORS: Separate Documents Collated Copies +msgid "multiple-document-handling.separate-documents-collated-copies" +msgstr "" + +#. TRANSLATORS: Separate Documents Uncollated Copies +msgid "multiple-document-handling.separate-documents-uncollated-copies" +msgstr "" + +#. TRANSLATORS: Single Document +msgid "multiple-document-handling.single-document" +msgstr "" + +#. TRANSLATORS: Single Document New Sheet +msgid "multiple-document-handling.single-document-new-sheet" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling +msgid "multiple-object-handling" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling Actual +msgid "multiple-object-handling-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "multiple-object-handling.auto" +msgstr "" + +#. TRANSLATORS: Best Fit +msgid "multiple-object-handling.best-fit" +msgstr "" + +#. TRANSLATORS: Best Quality +msgid "multiple-object-handling.best-quality" +msgstr "" + +#. TRANSLATORS: Best Speed +msgid "multiple-object-handling.best-speed" +msgstr "" + +#. TRANSLATORS: One At A Time +msgid "multiple-object-handling.one-at-a-time" +msgstr "" + +#. TRANSLATORS: On Timeout +msgid "multiple-operation-time-out-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "multiple-operation-time-out-action.abort-job" +msgstr "" + +#. TRANSLATORS: Hold Job +msgid "multiple-operation-time-out-action.hold-job" +msgstr "" + +#. TRANSLATORS: Process Job +msgid "multiple-operation-time-out-action.process-job" +msgstr "" + +msgid "no entries" +msgstr "no hay entradas" + +msgid "no system default destination" +msgstr "no hay un destino predeterminado del sistema" + +#. TRANSLATORS: Noise Removal +msgid "noise-removal" +msgstr "" + +#. TRANSLATORS: Notify Attributes +msgid "notify-attributes" +msgstr "" + +#. TRANSLATORS: Notify Charset +msgid "notify-charset" +msgstr "" + +#. TRANSLATORS: Notify Events +msgid "notify-events" +msgstr "" + +msgid "notify-events not specified." +msgstr "notify-events no especificado." + +#. TRANSLATORS: Document Completed +msgid "notify-events.document-completed" +msgstr "" + +#. TRANSLATORS: Document Config Changed +msgid "notify-events.document-config-changed" +msgstr "" + +#. TRANSLATORS: Document Created +msgid "notify-events.document-created" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "notify-events.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document State Changed +msgid "notify-events.document-state-changed" +msgstr "" + +#. TRANSLATORS: Document Stopped +msgid "notify-events.document-stopped" +msgstr "" + +#. TRANSLATORS: Job Completed +msgid "notify-events.job-completed" +msgstr "" + +#. TRANSLATORS: Job Config Changed +msgid "notify-events.job-config-changed" +msgstr "" + +#. TRANSLATORS: Job Created +msgid "notify-events.job-created" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "notify-events.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Progress +msgid "notify-events.job-progress" +msgstr "" + +#. TRANSLATORS: Job State Changed +msgid "notify-events.job-state-changed" +msgstr "" + +#. TRANSLATORS: Job Stopped +msgid "notify-events.job-stopped" +msgstr "" + +#. TRANSLATORS: None +msgid "notify-events.none" +msgstr "" + +#. TRANSLATORS: Printer Config Changed +msgid "notify-events.printer-config-changed" +msgstr "" + +#. TRANSLATORS: Printer Finishings Changed +msgid "notify-events.printer-finishings-changed" +msgstr "" + +#. TRANSLATORS: Printer Media Changed +msgid "notify-events.printer-media-changed" +msgstr "" + +#. TRANSLATORS: Printer Queue Order Changed +msgid "notify-events.printer-queue-order-changed" +msgstr "" + +#. TRANSLATORS: Printer Restarted +msgid "notify-events.printer-restarted" +msgstr "" + +#. TRANSLATORS: Printer Shutdown +msgid "notify-events.printer-shutdown" +msgstr "" + +#. TRANSLATORS: Printer State Changed +msgid "notify-events.printer-state-changed" +msgstr "" + +#. TRANSLATORS: Printer Stopped +msgid "notify-events.printer-stopped" +msgstr "" + +#. TRANSLATORS: Notify Get Interval +msgid "notify-get-interval" +msgstr "" + +#. TRANSLATORS: Notify Lease Duration +msgid "notify-lease-duration" +msgstr "" + +#. TRANSLATORS: Notify Natural Language +msgid "notify-natural-language" +msgstr "" + +#. TRANSLATORS: Notify Pull Method +msgid "notify-pull-method" +msgstr "" + +#. TRANSLATORS: Notify Recipient +msgid "notify-recipient-uri" +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" is already used." +msgstr "El URI notify-recipient-uri \"%s\" ya está usado." + +#, c-format +msgid "notify-recipient-uri URI \"%s\" uses unknown scheme." +msgstr "El URI notify-recipient-uri \"%s\" usa un esquema desconocido." + +#. TRANSLATORS: Notify Sequence Numbers +msgid "notify-sequence-numbers" +msgstr "" + +#. TRANSLATORS: Notify Subscription Ids +msgid "notify-subscription-ids" +msgstr "" + +#. TRANSLATORS: Notify Time Interval +msgid "notify-time-interval" +msgstr "" + +#. TRANSLATORS: Notify User Data +msgid "notify-user-data" +msgstr "" + +#. TRANSLATORS: Notify Wait +msgid "notify-wait" +msgstr "" + +#. TRANSLATORS: Number Of Retries +msgid "number-of-retries" +msgstr "" + +#. TRANSLATORS: Number-Up +msgid "number-up" +msgstr "" + +#. TRANSLATORS: Object Offset +msgid "object-offset" +msgstr "" + +#. TRANSLATORS: Object Size +msgid "object-size" +msgstr "" + +#. TRANSLATORS: Organization Name +msgid "organization-name" +msgstr "" + +#. TRANSLATORS: Orientation +msgid "orientation-requested" +msgstr "" + +#. TRANSLATORS: Portrait +msgid "orientation-requested.3" +msgstr "" + +#. TRANSLATORS: Landscape +msgid "orientation-requested.4" +msgstr "" + +#. TRANSLATORS: Reverse Landscape +msgid "orientation-requested.5" +msgstr "" + +#. TRANSLATORS: Reverse Portrait +msgid "orientation-requested.6" +msgstr "" + +#. TRANSLATORS: None +msgid "orientation-requested.7" +msgstr "" + +#. TRANSLATORS: Scanned Image Options +msgid "output-attributes" +msgstr "" + +#. TRANSLATORS: Output Tray +msgid "output-bin" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "output-bin.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "output-bin.bottom" +msgstr "" + +#. TRANSLATORS: Center +msgid "output-bin.center" +msgstr "" + +#. TRANSLATORS: Face Down +msgid "output-bin.face-down" +msgstr "" + +#. TRANSLATORS: Face Up +msgid "output-bin.face-up" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "output-bin.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "output-bin.left" +msgstr "" + +#. TRANSLATORS: Mailbox 1 +msgid "output-bin.mailbox-1" +msgstr "" + +#. TRANSLATORS: Mailbox 10 +msgid "output-bin.mailbox-10" +msgstr "" + +#. TRANSLATORS: Mailbox 2 +msgid "output-bin.mailbox-2" +msgstr "" + +#. TRANSLATORS: Mailbox 3 +msgid "output-bin.mailbox-3" +msgstr "" + +#. TRANSLATORS: Mailbox 4 +msgid "output-bin.mailbox-4" +msgstr "" + +#. TRANSLATORS: Mailbox 5 +msgid "output-bin.mailbox-5" +msgstr "" + +#. TRANSLATORS: Mailbox 6 +msgid "output-bin.mailbox-6" +msgstr "" + +#. TRANSLATORS: Mailbox 7 +msgid "output-bin.mailbox-7" +msgstr "" + +#. TRANSLATORS: Mailbox 8 +msgid "output-bin.mailbox-8" +msgstr "" + +#. TRANSLATORS: Mailbox 9 +msgid "output-bin.mailbox-9" +msgstr "" + +#. TRANSLATORS: Middle +msgid "output-bin.middle" +msgstr "" + +#. TRANSLATORS: My Mailbox +msgid "output-bin.my-mailbox" +msgstr "" + +#. TRANSLATORS: Rear +msgid "output-bin.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "output-bin.right" +msgstr "" + +#. TRANSLATORS: Side +msgid "output-bin.side" +msgstr "" + +#. TRANSLATORS: Stacker 1 +msgid "output-bin.stacker-1" +msgstr "" + +#. TRANSLATORS: Stacker 10 +msgid "output-bin.stacker-10" +msgstr "" + +#. TRANSLATORS: Stacker 2 +msgid "output-bin.stacker-2" +msgstr "" + +#. TRANSLATORS: Stacker 3 +msgid "output-bin.stacker-3" +msgstr "" + +#. TRANSLATORS: Stacker 4 +msgid "output-bin.stacker-4" +msgstr "" + +#. TRANSLATORS: Stacker 5 +msgid "output-bin.stacker-5" +msgstr "" + +#. TRANSLATORS: Stacker 6 +msgid "output-bin.stacker-6" +msgstr "" + +#. TRANSLATORS: Stacker 7 +msgid "output-bin.stacker-7" +msgstr "" + +#. TRANSLATORS: Stacker 8 +msgid "output-bin.stacker-8" +msgstr "" + +#. TRANSLATORS: Stacker 9 +msgid "output-bin.stacker-9" +msgstr "" + +#. TRANSLATORS: Top +msgid "output-bin.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "output-bin.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "output-bin.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "output-bin.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "output-bin.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "output-bin.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "output-bin.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "output-bin.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "output-bin.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "output-bin.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "output-bin.tray-9" +msgstr "" + +#. TRANSLATORS: Scanned Image Quality +msgid "output-compression-quality-factor" +msgstr "" + +#. TRANSLATORS: Page Delivery +msgid "page-delivery" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-down +msgid "page-delivery.reverse-order-face-down" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-up +msgid "page-delivery.reverse-order-face-up" +msgstr "" + +#. TRANSLATORS: Same Order Face-down +msgid "page-delivery.same-order-face-down" +msgstr "" + +#. TRANSLATORS: Same Order Face-up +msgid "page-delivery.same-order-face-up" +msgstr "" + +#. TRANSLATORS: System Specified +msgid "page-delivery.system-specified" +msgstr "" + +#. TRANSLATORS: Page Order Received +msgid "page-order-received" +msgstr "" + +#. TRANSLATORS: 1 To N +msgid "page-order-received.1-to-n-order" +msgstr "" + +#. TRANSLATORS: N To 1 +msgid "page-order-received.n-to-1-order" +msgstr "" + +#. TRANSLATORS: Page Ranges +msgid "page-ranges" +msgstr "" + +#. TRANSLATORS: Pages +msgid "pages" +msgstr "" + +#. TRANSLATORS: Pages Per Subset +msgid "pages-per-subset" +msgstr "" + +#. TRANSLATORS: Pclm Raster Back Side +msgid "pclm-raster-back-side" +msgstr "" + +#. TRANSLATORS: Flipped +msgid "pclm-raster-back-side.flipped" +msgstr "" + +#. TRANSLATORS: Normal +msgid "pclm-raster-back-side.normal" +msgstr "" + +#. TRANSLATORS: Rotated +msgid "pclm-raster-back-side.rotated" +msgstr "" + +#. TRANSLATORS: Pclm Source Resolution +msgid "pclm-source-resolution" +msgstr "" + +msgid "pending" +msgstr "pendiente" + +#. TRANSLATORS: Platform Shape +msgid "platform-shape" +msgstr "" + +#. TRANSLATORS: Round +msgid "platform-shape.ellipse" +msgstr "" + +#. TRANSLATORS: Rectangle +msgid "platform-shape.rectangle" +msgstr "" + +#. TRANSLATORS: Platform Temperature +msgid "platform-temperature" +msgstr "" + +#. TRANSLATORS: Post-dial String +msgid "post-dial-string" +msgstr "" + +#, c-format +msgid "ppdc: Adding include directory \"%s\"." +msgstr "ppdc: Añadiendo directorio include \"%s\"." + +#, c-format +msgid "ppdc: Adding/updating UI text from %s." +msgstr "ppdc: Añadiendo/actualizando texto UI desde %s." + +#, c-format +msgid "ppdc: Bad boolean value (%s) on line %d of %s." +msgstr "ppdc: Valor lógico (%s) incorrecto en línea %d de %s." + +#, c-format +msgid "ppdc: Bad font attribute: %s" +msgstr "ppdc: Atributo de fuente incorrecto: %s" + +#, c-format +msgid "ppdc: Bad resolution name \"%s\" on line %d of %s." +msgstr "ppdc: Resolución de nombre \"%s\" incorrecta en línea %d de %s." + +#, c-format +msgid "ppdc: Bad status keyword %s on line %d of %s." +msgstr "ppdc: Clave de estado %s incorrecta en línea %d de %s." + +#, c-format +msgid "ppdc: Bad variable substitution ($%c) on line %d of %s." +msgstr "ppdc: Sustitución de variable ($%c) errónea en la línea %d de %s." + +#, c-format +msgid "ppdc: Choice found on line %d of %s with no Option." +msgstr "ppdc: Selección encontrada en línea %d de %s sin opciones." + +#, c-format +msgid "ppdc: Duplicate #po for locale %s on line %d of %s." +msgstr "ppdc: #po duplicado para código regional %s en línea %d de %s." + +#, c-format +msgid "ppdc: Expected a filter definition on line %d of %s." +msgstr "ppdc: Se esperaba una definición de filtro en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected a program name on line %d of %s." +msgstr "ppdc: Se esperaba un nombre de programa en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected boolean value on line %d of %s." +msgstr "ppdc: Se esperaba un valor lógico en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected charset after Font on line %d of %s." +msgstr "" +"ppdc: Se esperaba un juego de caracteres tras Font en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected choice code on line %d of %s." +msgstr "ppdc: Se esperaba un código apropiado en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected choice name/text on line %d of %s." +msgstr "ppdc: Se esperaba un nombre/texto apropiado en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected color order for ColorModel on line %d of %s." +msgstr "" +"ppdc: Se esperaba un orden de color para ColorModel en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected colorspace for ColorModel on line %d of %s." +msgstr "ppdc: Se esperaba colorspace para ColorModel en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected compression for ColorModel on line %d of %s." +msgstr "ppdc: Se esperaba compresión para ColorModel en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected constraints string for UIConstraints on line %d of %s." +msgstr "" +"ppdc: Se esperaba una cadena de restricciones para UIConstraints en la línea " +"%d de %s." + +#, c-format +msgid "" +"ppdc: Expected driver type keyword following DriverType on line %d of %s." +msgstr "" +"ppdc: Se esperaba una clave de tipo de controlador tras DriverType en la " +"línea %d de %s." + +#, c-format +msgid "ppdc: Expected duplex type after Duplex on line %d of %s." +msgstr "ppdc: Se esperaba un tipo dúplex tras Duplex en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected encoding after Font on line %d of %s." +msgstr "ppdc: Se esperaba una codificación tras Font en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected filename after #po %s on line %d of %s." +msgstr "" +"ppdc: Se esperaba un nombre de archivo tras #po %s en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected group name/text on line %d of %s." +msgstr "ppdc: Se esperaba un nombre/texto de grupo en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected include filename on line %d of %s." +msgstr "ppdc: Se esperaba un nombre de archivo include en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected integer on line %d of %s." +msgstr "ppdc: Se esperaba un número entero en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected locale after #po on line %d of %s." +msgstr "ppdc: Se esperaba un código regional tras #po en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected name after %s on line %d of %s." +msgstr "ppdc: Se esperaba un nombre tras %s en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected name after FileName on line %d of %s." +msgstr "ppdc: Se esperaba un nombre tras FileName en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected name after Font on line %d of %s." +msgstr "ppdc: Se esperaba un nombre tras Font en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected name after Manufacturer on line %d of %s." +msgstr "ppdc: Se esperaba un nombre tras Manufacturer en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected name after MediaSize on line %d of %s." +msgstr "ppdc: Se esperaba un nombre tras MediaSize en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected name after ModelName on line %d of %s." +msgstr "ppdc: Se esperaba un nombre tras ModelName en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected name after PCFileName on line %d of %s." +msgstr "ppdc: Se esperaba un nombre tras PCFileName en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected name/text after %s on line %d of %s." +msgstr "ppdc: Se esperaba un nombre/texto tras %s en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected name/text after Installable on line %d of %s." +msgstr "" +"ppdc: Se esperaba un nombre/texto tras Installable en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected name/text after Resolution on line %d of %s." +msgstr "" +"ppdc: Se esperaba un nombre/texto tras Resolution en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected name/text combination for ColorModel on line %d of %s." +msgstr "" +"ppdc: Se esperaba una combinación nombre/texto para ColorModel en la línea " +"%d de %s." + +#, c-format +msgid "ppdc: Expected option name/text on line %d of %s." +msgstr "ppdc: Se esperaba una opción de nombre/texto en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected option section on line %d of %s." +msgstr "ppdc: Se esperaba una sección de opciones en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected option type on line %d of %s." +msgstr "ppdc: Se esperaba un tipo de opción en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected override field after Resolution on line %d of %s." +msgstr "" +"ppdc: Se esperaba un campo de anulación tras Resolution en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected quoted string on line %d of %s." +msgstr "ppdc: Se esperaba una cadena entrecomillada en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected real number on line %d of %s." +msgstr "ppdc: Se esperaba un número real en la línea %d de %s." + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." +msgstr "" +"ppdc: Se esperaba resolución/tipo de soporte tras ColorProfile en la línea " +"%d de %s." + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d " +"of %s." +msgstr "" +"ppdc: Se esperaba resolución/tipo de soporte tras SimpleColorProfile en la " +"línea %d de %s." + +#, c-format +msgid "ppdc: Expected selector after %s on line %d of %s." +msgstr "ppdc: Se esperaba un selector tras %s en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected status after Font on line %d of %s." +msgstr "ppdc: Se esperaba un estado tras Font en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected string after Copyright on line %d of %s." +msgstr "ppdc: Se esperaba una cadena tras Copyright en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected string after Version on line %d of %s." +msgstr "ppdc: Se esperaba una cadena tras Version en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected two option names on line %d of %s." +msgstr "ppdc: Se esperaban dos nombres de opciones en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected value after %s on line %d of %s." +msgstr "ppdc: Se esperaba un valor tras %s en la línea %d de %s." + +#, c-format +msgid "ppdc: Expected version after Font on line %d of %s." +msgstr "ppdc: Se esperaba una versión tras Font en la línea %d de %s." + +#, c-format +msgid "ppdc: Invalid #include/#po filename \"%s\"." +msgstr "ppdc: Nombre de archivo #include/#po incorrecto \"%s\"." + +#, c-format +msgid "ppdc: Invalid cost for filter on line %d of %s." +msgstr "ppdc: Coste incorrecto para el filtro en la línea %d de %s." + +#, c-format +msgid "ppdc: Invalid empty MIME type for filter on line %d of %s." +msgstr "ppdc: Tipo MIME vacío incorrecto para el filtro en la línea %d de %s." + +#, c-format +msgid "ppdc: Invalid empty program name for filter on line %d of %s." +msgstr "" +"ppdc: Nombre de programa vacío incorrecto para el filtro en la línea %d de " +"%s." + +#, c-format +msgid "ppdc: Invalid option section \"%s\" on line %d of %s." +msgstr "ppdc: Sección de opción incorrecta \"%s\" en la línea %d de %s." + +#, c-format +msgid "ppdc: Invalid option type \"%s\" on line %d of %s." +msgstr "ppdc: Tipo de opción incorrecta \"%s\" en la línea %d de %s." + +#, c-format +msgid "ppdc: Loading driver information file \"%s\"." +msgstr "ppdc: Cargando archivo de información de controlador \"%s\"." + +#, c-format +msgid "ppdc: Loading messages for locale \"%s\"." +msgstr "ppdc: Cargando mensajes del idioma \"%s\"." + +#, c-format +msgid "ppdc: Loading messages from \"%s\"." +msgstr "ppdc: Cargando mensajes desde \"%s\"." + +#, c-format +msgid "ppdc: Missing #endif at end of \"%s\"." +msgstr "ppdc: Falta un #endif al final de \"%s\"." + +#, c-format +msgid "ppdc: Missing #if on line %d of %s." +msgstr "ppdc: Falta un #if en la línea %d de %s." + +#, c-format +msgid "" +"ppdc: Need a msgid line before any translation strings on line %d of %s." +msgstr "" +"ppdc: Se necesita una línea msgid antes de cualquier cadena de traducción en " +"línea %d de %s." + +#, c-format +msgid "ppdc: No message catalog provided for locale %s." +msgstr "ppdc: No se ha proporcionado catálogo de mensajes para el idioma %s." + +#, c-format +msgid "ppdc: Option %s defined in two different groups on line %d of %s." +msgstr "" +"ppdc: Opción %s definida en dos diferentes grupos en la línea %d de %s." + +#, c-format +msgid "ppdc: Option %s redefined with a different type on line %d of %s." +msgstr "ppdc: Opción %s redefinida con un tipo diferente en la línea %d de %s." + +#, c-format +msgid "ppdc: Option constraint must *name on line %d of %s." +msgstr "ppdc: Opción de restricción debe *name en línea %d de %s." + +#, c-format +msgid "ppdc: Too many nested #if's on line %d of %s." +msgstr "ppdc: Demasiados #if anidados en la línea %d de %s." + +#, c-format +msgid "ppdc: Unable to create PPD file \"%s\" - %s." +msgstr "ppdc: No se ha podido crear el archivo PPD \"%s\" - %s." + +#, c-format +msgid "ppdc: Unable to create output directory %s: %s" +msgstr "ppdc: No se ha podido crear el directorio de salida %s: %s" + +#, c-format +msgid "ppdc: Unable to create output pipes: %s" +msgstr "ppdc: No se han podido crear canales (pipes) de salida: %s" + +#, c-format +msgid "ppdc: Unable to execute cupstestppd: %s" +msgstr "ppdc: No se ha podido ejecutar cupstestppd: %s" + +#, c-format +msgid "ppdc: Unable to find #po file %s on line %d of %s." +msgstr "" +"ppdc: No se ha podido encontrar el archivo #po %s en la línea %d de %s." + +#, c-format +msgid "ppdc: Unable to find include file \"%s\" on line %d of %s." +msgstr "" +"ppdc: No se ha podido encontrar el archivo include \"%s\" en la línea %d de " +"%s." + +#, c-format +msgid "ppdc: Unable to find localization for \"%s\" - %s" +msgstr "ppdc: No se ha podido encontrar localización para \"%s\" - %s" + +#, c-format +msgid "ppdc: Unable to load localization file \"%s\" - %s" +msgstr "ppdc: No se ha podido cargar el archivo de localización \"%s\" - %s" + +#, c-format +msgid "ppdc: Unable to open %s: %s" +msgstr "ppdc: No se pudo abrir %s: %s" + +#, c-format +msgid "ppdc: Undefined variable (%s) on line %d of %s." +msgstr "ppdc: Variable no definida (%s) en la línea %d de %s." + +#, c-format +msgid "ppdc: Unexpected text on line %d of %s." +msgstr "ppdc: Texto inesperado en la línea %d del %s." + +#, c-format +msgid "ppdc: Unknown driver type %s on line %d of %s." +msgstr "ppdc: Tipo de controlador desconocido %s en la línea %d de %s." + +#, c-format +msgid "ppdc: Unknown duplex type \"%s\" on line %d of %s." +msgstr "ppdc: Tipo dúplex desconocido \"%s\" en la línea %d de %s." + +#, c-format +msgid "ppdc: Unknown media size \"%s\" on line %d of %s." +msgstr "ppdc: Tamaño de papel desconocido \"%s\" en la línea %d de %s." + +#, c-format +msgid "ppdc: Unknown message catalog format for \"%s\"." +msgstr "ppdc: Formato del catálogo de mensajes para \"%s\" desconocido." + +#, c-format +msgid "ppdc: Unknown token \"%s\" seen on line %d of %s." +msgstr "ppdc: Elemento desconocido \"%s\" visto en la línea %d de %s." + +#, c-format +msgid "" +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." +msgstr "" +"ppdc: Caracteres finales desconocidos en el número real \"%s\" en la línea " +"%d de %s." + +#, c-format +msgid "ppdc: Unterminated string starting with %c on line %d of %s." +msgstr "ppdc: Cadena que comienza por %c sin terminar en la línea %d de %s." + +#, c-format +msgid "ppdc: Warning - overlapping filename \"%s\"." +msgstr "ppdc: Advertencia - nombre de archivo superpuesto \"%s\"." + +#, c-format +msgid "ppdc: Writing %s." +msgstr "ppdc: Escribiendo %s." + +#, c-format +msgid "ppdc: Writing PPD files to directory \"%s\"." +msgstr "ppdc: Escribiendo archivos PPD al directorio \"%s\"." + +#, c-format +msgid "ppdmerge: Bad LanguageVersion \"%s\" in %s." +msgstr "ppdmerge: LanguageVersion \"%s\" incorrecto en %s." + +#, c-format +msgid "ppdmerge: Ignoring PPD file %s." +msgstr "ppdmerge: Ignorando archivo PPD %s." + +#, c-format +msgid "ppdmerge: Unable to backup %s to %s - %s" +msgstr "ppdmerge: No se ha podido hacer copia de respaldo de %s a %s - %s" + +#. TRANSLATORS: Pre-dial String +msgid "pre-dial-string" +msgstr "" + +#. TRANSLATORS: Number-Up Layout +msgid "presentation-direction-number-up" +msgstr "" + +#. TRANSLATORS: Top-bottom, Right-left +msgid "presentation-direction-number-up.tobottom-toleft" +msgstr "" + +#. TRANSLATORS: Top-bottom, Left-right +msgid "presentation-direction-number-up.tobottom-toright" +msgstr "" + +#. TRANSLATORS: Right-left, Top-bottom +msgid "presentation-direction-number-up.toleft-tobottom" +msgstr "" + +#. TRANSLATORS: Right-left, Bottom-top +msgid "presentation-direction-number-up.toleft-totop" +msgstr "" + +#. TRANSLATORS: Left-right, Top-bottom +msgid "presentation-direction-number-up.toright-tobottom" +msgstr "" + +#. TRANSLATORS: Left-right, Bottom-top +msgid "presentation-direction-number-up.toright-totop" +msgstr "" + +#. TRANSLATORS: Bottom-top, Right-left +msgid "presentation-direction-number-up.totop-toleft" +msgstr "" + +#. TRANSLATORS: Bottom-top, Left-right +msgid "presentation-direction-number-up.totop-toright" +msgstr "" + +#. TRANSLATORS: Print Accuracy +msgid "print-accuracy" +msgstr "" + +#. TRANSLATORS: Print Base +msgid "print-base" +msgstr "" + +#. TRANSLATORS: Print Base Actual +msgid "print-base-actual" +msgstr "" + +#. TRANSLATORS: Brim +msgid "print-base.brim" +msgstr "" + +#. TRANSLATORS: None +msgid "print-base.none" +msgstr "" + +#. TRANSLATORS: Raft +msgid "print-base.raft" +msgstr "" + +#. TRANSLATORS: Skirt +msgid "print-base.skirt" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-base.standard" +msgstr "" + +#. TRANSLATORS: Print Color Mode +msgid "print-color-mode" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-color-mode.auto" +msgstr "" + +#. TRANSLATORS: Auto Monochrome +msgid "print-color-mode.auto-monochrome" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-color-mode.bi-level" +msgstr "" + +#. TRANSLATORS: Color +msgid "print-color-mode.color" +msgstr "" + +#. TRANSLATORS: Highlight +msgid "print-color-mode.highlight" +msgstr "" + +#. TRANSLATORS: Monochrome +msgid "print-color-mode.monochrome" +msgstr "" + +#. TRANSLATORS: Process Text +msgid "print-color-mode.process-bi-level" +msgstr "" + +#. TRANSLATORS: Process Monochrome +msgid "print-color-mode.process-monochrome" +msgstr "" + +#. TRANSLATORS: Print Optimization +msgid "print-content-optimize" +msgstr "" + +#. TRANSLATORS: Print Content Optimize Actual +msgid "print-content-optimize-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-content-optimize.auto" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphic" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphics" +msgstr "" + +#. TRANSLATORS: Photo +msgid "print-content-optimize.photo" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-content-optimize.text" +msgstr "" + +#. TRANSLATORS: Text and Graphics +msgid "print-content-optimize.text-and-graphic" +msgstr "" + +#. TRANSLATORS: Text And Graphics +msgid "print-content-optimize.text-and-graphics" +msgstr "" + +#. TRANSLATORS: Print Objects +msgid "print-objects" +msgstr "" + +#. TRANSLATORS: Print Quality +msgid "print-quality" +msgstr "" + +#. TRANSLATORS: Draft +msgid "print-quality.3" +msgstr "" + +#. TRANSLATORS: Normal +msgid "print-quality.4" +msgstr "" + +#. TRANSLATORS: High +msgid "print-quality.5" +msgstr "" + +#. TRANSLATORS: Print Rendering Intent +msgid "print-rendering-intent" +msgstr "" + +#. TRANSLATORS: Absolute +msgid "print-rendering-intent.absolute" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-rendering-intent.auto" +msgstr "" + +#. TRANSLATORS: Perceptual +msgid "print-rendering-intent.perceptual" +msgstr "" + +#. TRANSLATORS: Relative +msgid "print-rendering-intent.relative" +msgstr "" + +#. TRANSLATORS: Relative w/Black Point Compensation +msgid "print-rendering-intent.relative-bpc" +msgstr "" + +#. TRANSLATORS: Saturation +msgid "print-rendering-intent.saturation" +msgstr "" + +#. TRANSLATORS: Print Scaling +msgid "print-scaling" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-scaling.auto" +msgstr "" + +#. TRANSLATORS: Auto-fit +msgid "print-scaling.auto-fit" +msgstr "" + +#. TRANSLATORS: Fill +msgid "print-scaling.fill" +msgstr "" + +#. TRANSLATORS: Fit +msgid "print-scaling.fit" +msgstr "" + +#. TRANSLATORS: None +msgid "print-scaling.none" +msgstr "" + +#. TRANSLATORS: Print Supports +msgid "print-supports" +msgstr "" + +#. TRANSLATORS: Print Supports Actual +msgid "print-supports-actual" +msgstr "" + +#. TRANSLATORS: With Specified Material +msgid "print-supports.material" +msgstr "" + +#. TRANSLATORS: None +msgid "print-supports.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-supports.standard" +msgstr "" + +#, c-format +msgid "printer %s disabled since %s -" +msgstr "la impresora %s está deshabilitada desde %s -" + +#, c-format +msgid "printer %s is holding new jobs. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s is idle. enabled since %s" +msgstr "la impresora %s está inactiva. activada desde %s" + +#, c-format +msgid "printer %s now printing %s-%d. enabled since %s" +msgstr "la impresora %s está ahora imprimiendo %s-%d. activada desde %s" + +#, c-format +msgid "printer %s/%s disabled since %s -" +msgstr "la impresora %s/%s está desactivada desde %s -" + +#, c-format +msgid "printer %s/%s is idle. enabled since %s" +msgstr "la impresora %s/%s está inactiva. activada desde %s" + +#, c-format +msgid "printer %s/%s now printing %s-%d. enabled since %s" +msgstr "la impresora %s/%s está ahora imprimiendo %s-%d. activada desde %s" + +#. TRANSLATORS: Printer Kind +msgid "printer-kind" +msgstr "" + +#. TRANSLATORS: Disc +msgid "printer-kind.disc" +msgstr "" + +#. TRANSLATORS: Document +msgid "printer-kind.document" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "printer-kind.envelope" +msgstr "" + +#. TRANSLATORS: Label +msgid "printer-kind.label" +msgstr "" + +#. TRANSLATORS: Large Format +msgid "printer-kind.large-format" +msgstr "" + +#. TRANSLATORS: Photo +msgid "printer-kind.photo" +msgstr "" + +#. TRANSLATORS: Postcard +msgid "printer-kind.postcard" +msgstr "" + +#. TRANSLATORS: Receipt +msgid "printer-kind.receipt" +msgstr "" + +#. TRANSLATORS: Roll +msgid "printer-kind.roll" +msgstr "" + +#. TRANSLATORS: Message From Operator +msgid "printer-message-from-operator" +msgstr "" + +#. TRANSLATORS: Print Resolution +msgid "printer-resolution" +msgstr "" + +#. TRANSLATORS: Printer State +msgid "printer-state" +msgstr "" + +#. TRANSLATORS: Detailed Printer State +msgid "printer-state-reasons" +msgstr "" + +#. TRANSLATORS: Old Alerts Have Been Removed +msgid "printer-state-reasons.alert-removal-of-binary-change-entry" +msgstr "" + +#. TRANSLATORS: Bander Added +msgid "printer-state-reasons.bander-added" +msgstr "" + +#. TRANSLATORS: Bander Almost Empty +msgid "printer-state-reasons.bander-almost-empty" +msgstr "" + +#. TRANSLATORS: Bander Almost Full +msgid "printer-state-reasons.bander-almost-full" +msgstr "" + +#. TRANSLATORS: Bander At Limit +msgid "printer-state-reasons.bander-at-limit" +msgstr "" + +#. TRANSLATORS: Bander Closed +msgid "printer-state-reasons.bander-closed" +msgstr "" + +#. TRANSLATORS: Bander Configuration Change +msgid "printer-state-reasons.bander-configuration-change" +msgstr "" + +#. TRANSLATORS: Bander Cover Closed +msgid "printer-state-reasons.bander-cover-closed" +msgstr "" + +#. TRANSLATORS: Bander Cover Open +msgid "printer-state-reasons.bander-cover-open" +msgstr "" + +#. TRANSLATORS: Bander Empty +msgid "printer-state-reasons.bander-empty" +msgstr "" + +#. TRANSLATORS: Bander Full +msgid "printer-state-reasons.bander-full" +msgstr "" + +#. TRANSLATORS: Bander Interlock Closed +msgid "printer-state-reasons.bander-interlock-closed" +msgstr "" + +#. TRANSLATORS: Bander Interlock Open +msgid "printer-state-reasons.bander-interlock-open" +msgstr "" + +#. TRANSLATORS: Bander Jam +msgid "printer-state-reasons.bander-jam" +msgstr "" + +#. TRANSLATORS: Bander Life Almost Over +msgid "printer-state-reasons.bander-life-almost-over" +msgstr "" + +#. TRANSLATORS: Bander Life Over +msgid "printer-state-reasons.bander-life-over" +msgstr "" + +#. TRANSLATORS: Bander Memory Exhausted +msgid "printer-state-reasons.bander-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Bander Missing +msgid "printer-state-reasons.bander-missing" +msgstr "" + +#. TRANSLATORS: Bander Motor Failure +msgid "printer-state-reasons.bander-motor-failure" +msgstr "" + +#. TRANSLATORS: Bander Near Limit +msgid "printer-state-reasons.bander-near-limit" +msgstr "" + +#. TRANSLATORS: Bander Offline +msgid "printer-state-reasons.bander-offline" +msgstr "" + +#. TRANSLATORS: Bander Opened +msgid "printer-state-reasons.bander-opened" +msgstr "" + +#. TRANSLATORS: Bander Over Temperature +msgid "printer-state-reasons.bander-over-temperature" +msgstr "" + +#. TRANSLATORS: Bander Power Saver +msgid "printer-state-reasons.bander-power-saver" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Failure +msgid "printer-state-reasons.bander-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Storage +msgid "printer-state-reasons.bander-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Bander Removed +msgid "printer-state-reasons.bander-removed" +msgstr "" + +#. TRANSLATORS: Bander Resource Added +msgid "printer-state-reasons.bander-resource-added" +msgstr "" + +#. TRANSLATORS: Bander Resource Removed +msgid "printer-state-reasons.bander-resource-removed" +msgstr "" + +#. TRANSLATORS: Bander Thermistor Failure +msgid "printer-state-reasons.bander-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Bander Timing Failure +msgid "printer-state-reasons.bander-timing-failure" +msgstr "" + +#. TRANSLATORS: Bander Turned Off +msgid "printer-state-reasons.bander-turned-off" +msgstr "" + +#. TRANSLATORS: Bander Turned On +msgid "printer-state-reasons.bander-turned-on" +msgstr "" + +#. TRANSLATORS: Bander Under Temperature +msgid "printer-state-reasons.bander-under-temperature" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Failure +msgid "printer-state-reasons.bander-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Storage Error +msgid "printer-state-reasons.bander-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Bander Warming Up +msgid "printer-state-reasons.bander-warming-up" +msgstr "" + +#. TRANSLATORS: Binder Added +msgid "printer-state-reasons.binder-added" +msgstr "" + +#. TRANSLATORS: Binder Almost Empty +msgid "printer-state-reasons.binder-almost-empty" +msgstr "" + +#. TRANSLATORS: Binder Almost Full +msgid "printer-state-reasons.binder-almost-full" +msgstr "" + +#. TRANSLATORS: Binder At Limit +msgid "printer-state-reasons.binder-at-limit" +msgstr "" + +#. TRANSLATORS: Binder Closed +msgid "printer-state-reasons.binder-closed" +msgstr "" + +#. TRANSLATORS: Binder Configuration Change +msgid "printer-state-reasons.binder-configuration-change" +msgstr "" + +#. TRANSLATORS: Binder Cover Closed +msgid "printer-state-reasons.binder-cover-closed" +msgstr "" + +#. TRANSLATORS: Binder Cover Open +msgid "printer-state-reasons.binder-cover-open" +msgstr "" + +#. TRANSLATORS: Binder Empty +msgid "printer-state-reasons.binder-empty" +msgstr "" + +#. TRANSLATORS: Binder Full +msgid "printer-state-reasons.binder-full" +msgstr "" + +#. TRANSLATORS: Binder Interlock Closed +msgid "printer-state-reasons.binder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Binder Interlock Open +msgid "printer-state-reasons.binder-interlock-open" +msgstr "" + +#. TRANSLATORS: Binder Jam +msgid "printer-state-reasons.binder-jam" +msgstr "" + +#. TRANSLATORS: Binder Life Almost Over +msgid "printer-state-reasons.binder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Binder Life Over +msgid "printer-state-reasons.binder-life-over" +msgstr "" + +#. TRANSLATORS: Binder Memory Exhausted +msgid "printer-state-reasons.binder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Binder Missing +msgid "printer-state-reasons.binder-missing" +msgstr "" + +#. TRANSLATORS: Binder Motor Failure +msgid "printer-state-reasons.binder-motor-failure" +msgstr "" + +#. TRANSLATORS: Binder Near Limit +msgid "printer-state-reasons.binder-near-limit" +msgstr "" + +#. TRANSLATORS: Binder Offline +msgid "printer-state-reasons.binder-offline" +msgstr "" + +#. TRANSLATORS: Binder Opened +msgid "printer-state-reasons.binder-opened" +msgstr "" + +#. TRANSLATORS: Binder Over Temperature +msgid "printer-state-reasons.binder-over-temperature" +msgstr "" + +#. TRANSLATORS: Binder Power Saver +msgid "printer-state-reasons.binder-power-saver" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Failure +msgid "printer-state-reasons.binder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Storage +msgid "printer-state-reasons.binder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Binder Removed +msgid "printer-state-reasons.binder-removed" +msgstr "" + +#. TRANSLATORS: Binder Resource Added +msgid "printer-state-reasons.binder-resource-added" +msgstr "" + +#. TRANSLATORS: Binder Resource Removed +msgid "printer-state-reasons.binder-resource-removed" +msgstr "" + +#. TRANSLATORS: Binder Thermistor Failure +msgid "printer-state-reasons.binder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Binder Timing Failure +msgid "printer-state-reasons.binder-timing-failure" +msgstr "" + +#. TRANSLATORS: Binder Turned Off +msgid "printer-state-reasons.binder-turned-off" +msgstr "" + +#. TRANSLATORS: Binder Turned On +msgid "printer-state-reasons.binder-turned-on" +msgstr "" + +#. TRANSLATORS: Binder Under Temperature +msgid "printer-state-reasons.binder-under-temperature" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Failure +msgid "printer-state-reasons.binder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Storage Error +msgid "printer-state-reasons.binder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Binder Warming Up +msgid "printer-state-reasons.binder-warming-up" +msgstr "" + +#. TRANSLATORS: Camera Failure +msgid "printer-state-reasons.camera-failure" +msgstr "" + +#. TRANSLATORS: Chamber Cooling +msgid "printer-state-reasons.chamber-cooling" +msgstr "" + +#. TRANSLATORS: Chamber Failure +msgid "printer-state-reasons.chamber-failure" +msgstr "" + +#. TRANSLATORS: Chamber Heating +msgid "printer-state-reasons.chamber-heating" +msgstr "" + +#. TRANSLATORS: Chamber Temperature High +msgid "printer-state-reasons.chamber-temperature-high" +msgstr "" + +#. TRANSLATORS: Chamber Temperature Low +msgid "printer-state-reasons.chamber-temperature-low" +msgstr "" + +#. TRANSLATORS: Cleaner Life Almost Over +msgid "printer-state-reasons.cleaner-life-almost-over" +msgstr "" + +#. TRANSLATORS: Cleaner Life Over +msgid "printer-state-reasons.cleaner-life-over" +msgstr "" + +#. TRANSLATORS: Configuration Change +msgid "printer-state-reasons.configuration-change" +msgstr "" + +#. TRANSLATORS: Connecting To Device +msgid "printer-state-reasons.connecting-to-device" +msgstr "" + +#. TRANSLATORS: Cover Open +msgid "printer-state-reasons.cover-open" +msgstr "" + +#. TRANSLATORS: Deactivated +msgid "printer-state-reasons.deactivated" +msgstr "" + +#. TRANSLATORS: Developer Empty +msgid "printer-state-reasons.developer-empty" +msgstr "" + +#. TRANSLATORS: Developer Low +msgid "printer-state-reasons.developer-low" +msgstr "" + +#. TRANSLATORS: Die Cutter Added +msgid "printer-state-reasons.die-cutter-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Empty +msgid "printer-state-reasons.die-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Full +msgid "printer-state-reasons.die-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Die Cutter At Limit +msgid "printer-state-reasons.die-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Closed +msgid "printer-state-reasons.die-cutter-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Configuration Change +msgid "printer-state-reasons.die-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Closed +msgid "printer-state-reasons.die-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Open +msgid "printer-state-reasons.die-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Empty +msgid "printer-state-reasons.die-cutter-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Full +msgid "printer-state-reasons.die-cutter-full" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Closed +msgid "printer-state-reasons.die-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Open +msgid "printer-state-reasons.die-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Jam +msgid "printer-state-reasons.die-cutter-jam" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Almost Over +msgid "printer-state-reasons.die-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Over +msgid "printer-state-reasons.die-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Memory Exhausted +msgid "printer-state-reasons.die-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Die Cutter Missing +msgid "printer-state-reasons.die-cutter-missing" +msgstr "" + +#. TRANSLATORS: Die Cutter Motor Failure +msgid "printer-state-reasons.die-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Near Limit +msgid "printer-state-reasons.die-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Offline +msgid "printer-state-reasons.die-cutter-offline" +msgstr "" + +#. TRANSLATORS: Die Cutter Opened +msgid "printer-state-reasons.die-cutter-opened" +msgstr "" + +#. TRANSLATORS: Die Cutter Over Temperature +msgid "printer-state-reasons.die-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Power Saver +msgid "printer-state-reasons.die-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Failure +msgid "printer-state-reasons.die-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Storage +msgid "printer-state-reasons.die-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Die Cutter Removed +msgid "printer-state-reasons.die-cutter-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Added +msgid "printer-state-reasons.die-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Removed +msgid "printer-state-reasons.die-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Thermistor Failure +msgid "printer-state-reasons.die-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Timing Failure +msgid "printer-state-reasons.die-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned Off +msgid "printer-state-reasons.die-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned On +msgid "printer-state-reasons.die-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Die Cutter Under Temperature +msgid "printer-state-reasons.die-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Failure +msgid "printer-state-reasons.die-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.die-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Die Cutter Warming Up +msgid "printer-state-reasons.die-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Door Open +msgid "printer-state-reasons.door-open" +msgstr "" + +#. TRANSLATORS: Extruder Cooling +msgid "printer-state-reasons.extruder-cooling" +msgstr "" + +#. TRANSLATORS: Extruder Failure +msgid "printer-state-reasons.extruder-failure" +msgstr "" + +#. TRANSLATORS: Extruder Heating +msgid "printer-state-reasons.extruder-heating" +msgstr "" + +#. TRANSLATORS: Extruder Jam +msgid "printer-state-reasons.extruder-jam" +msgstr "" + +#. TRANSLATORS: Extruder Temperature High +msgid "printer-state-reasons.extruder-temperature-high" +msgstr "" + +#. TRANSLATORS: Extruder Temperature Low +msgid "printer-state-reasons.extruder-temperature-low" +msgstr "" + +#. TRANSLATORS: Fan Failure +msgid "printer-state-reasons.fan-failure" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Almost Over +msgid "printer-state-reasons.fax-modem-life-almost-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Over +msgid "printer-state-reasons.fax-modem-life-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Missing +msgid "printer-state-reasons.fax-modem-missing" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned Off +msgid "printer-state-reasons.fax-modem-turned-off" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned On +msgid "printer-state-reasons.fax-modem-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Added +msgid "printer-state-reasons.folder-added" +msgstr "" + +#. TRANSLATORS: Folder Almost Empty +msgid "printer-state-reasons.folder-almost-empty" +msgstr "" + +#. TRANSLATORS: Folder Almost Full +msgid "printer-state-reasons.folder-almost-full" +msgstr "" + +#. TRANSLATORS: Folder At Limit +msgid "printer-state-reasons.folder-at-limit" +msgstr "" + +#. TRANSLATORS: Folder Closed +msgid "printer-state-reasons.folder-closed" +msgstr "" + +#. TRANSLATORS: Folder Configuration Change +msgid "printer-state-reasons.folder-configuration-change" +msgstr "" + +#. TRANSLATORS: Folder Cover Closed +msgid "printer-state-reasons.folder-cover-closed" +msgstr "" + +#. TRANSLATORS: Folder Cover Open +msgid "printer-state-reasons.folder-cover-open" +msgstr "" + +#. TRANSLATORS: Folder Empty +msgid "printer-state-reasons.folder-empty" +msgstr "" + +#. TRANSLATORS: Folder Full +msgid "printer-state-reasons.folder-full" +msgstr "" + +#. TRANSLATORS: Folder Interlock Closed +msgid "printer-state-reasons.folder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Folder Interlock Open +msgid "printer-state-reasons.folder-interlock-open" +msgstr "" + +#. TRANSLATORS: Folder Jam +msgid "printer-state-reasons.folder-jam" +msgstr "" + +#. TRANSLATORS: Folder Life Almost Over +msgid "printer-state-reasons.folder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Folder Life Over +msgid "printer-state-reasons.folder-life-over" +msgstr "" + +#. TRANSLATORS: Folder Memory Exhausted +msgid "printer-state-reasons.folder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Folder Missing +msgid "printer-state-reasons.folder-missing" +msgstr "" + +#. TRANSLATORS: Folder Motor Failure +msgid "printer-state-reasons.folder-motor-failure" +msgstr "" + +#. TRANSLATORS: Folder Near Limit +msgid "printer-state-reasons.folder-near-limit" +msgstr "" + +#. TRANSLATORS: Folder Offline +msgid "printer-state-reasons.folder-offline" +msgstr "" + +#. TRANSLATORS: Folder Opened +msgid "printer-state-reasons.folder-opened" +msgstr "" + +#. TRANSLATORS: Folder Over Temperature +msgid "printer-state-reasons.folder-over-temperature" +msgstr "" + +#. TRANSLATORS: Folder Power Saver +msgid "printer-state-reasons.folder-power-saver" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Failure +msgid "printer-state-reasons.folder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Storage +msgid "printer-state-reasons.folder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Folder Removed +msgid "printer-state-reasons.folder-removed" +msgstr "" + +#. TRANSLATORS: Folder Resource Added +msgid "printer-state-reasons.folder-resource-added" +msgstr "" + +#. TRANSLATORS: Folder Resource Removed +msgid "printer-state-reasons.folder-resource-removed" +msgstr "" + +#. TRANSLATORS: Folder Thermistor Failure +msgid "printer-state-reasons.folder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Folder Timing Failure +msgid "printer-state-reasons.folder-timing-failure" +msgstr "" + +#. TRANSLATORS: Folder Turned Off +msgid "printer-state-reasons.folder-turned-off" +msgstr "" + +#. TRANSLATORS: Folder Turned On +msgid "printer-state-reasons.folder-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Under Temperature +msgid "printer-state-reasons.folder-under-temperature" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Failure +msgid "printer-state-reasons.folder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Storage Error +msgid "printer-state-reasons.folder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Folder Warming Up +msgid "printer-state-reasons.folder-warming-up" +msgstr "" + +#. TRANSLATORS: Fuser temperature high +msgid "printer-state-reasons.fuser-over-temp" +msgstr "" + +#. TRANSLATORS: Fuser temperature low +msgid "printer-state-reasons.fuser-under-temp" +msgstr "" + +#. TRANSLATORS: Hold New Jobs +msgid "printer-state-reasons.hold-new-jobs" +msgstr "" + +#. TRANSLATORS: Identify Printer +msgid "printer-state-reasons.identify-printer-requested" +msgstr "" + +#. TRANSLATORS: Imprinter Added +msgid "printer-state-reasons.imprinter-added" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Empty +msgid "printer-state-reasons.imprinter-almost-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Full +msgid "printer-state-reasons.imprinter-almost-full" +msgstr "" + +#. TRANSLATORS: Imprinter At Limit +msgid "printer-state-reasons.imprinter-at-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Closed +msgid "printer-state-reasons.imprinter-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Configuration Change +msgid "printer-state-reasons.imprinter-configuration-change" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Closed +msgid "printer-state-reasons.imprinter-cover-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Open +msgid "printer-state-reasons.imprinter-cover-open" +msgstr "" + +#. TRANSLATORS: Imprinter Empty +msgid "printer-state-reasons.imprinter-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Full +msgid "printer-state-reasons.imprinter-full" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Closed +msgid "printer-state-reasons.imprinter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Open +msgid "printer-state-reasons.imprinter-interlock-open" +msgstr "" + +#. TRANSLATORS: Imprinter Jam +msgid "printer-state-reasons.imprinter-jam" +msgstr "" + +#. TRANSLATORS: Imprinter Life Almost Over +msgid "printer-state-reasons.imprinter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Imprinter Life Over +msgid "printer-state-reasons.imprinter-life-over" +msgstr "" + +#. TRANSLATORS: Imprinter Memory Exhausted +msgid "printer-state-reasons.imprinter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Imprinter Missing +msgid "printer-state-reasons.imprinter-missing" +msgstr "" + +#. TRANSLATORS: Imprinter Motor Failure +msgid "printer-state-reasons.imprinter-motor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Near Limit +msgid "printer-state-reasons.imprinter-near-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Offline +msgid "printer-state-reasons.imprinter-offline" +msgstr "" + +#. TRANSLATORS: Imprinter Opened +msgid "printer-state-reasons.imprinter-opened" +msgstr "" + +#. TRANSLATORS: Imprinter Over Temperature +msgid "printer-state-reasons.imprinter-over-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Power Saver +msgid "printer-state-reasons.imprinter-power-saver" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Failure +msgid "printer-state-reasons.imprinter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Storage +msgid "printer-state-reasons.imprinter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Imprinter Removed +msgid "printer-state-reasons.imprinter-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Added +msgid "printer-state-reasons.imprinter-resource-added" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Removed +msgid "printer-state-reasons.imprinter-resource-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Thermistor Failure +msgid "printer-state-reasons.imprinter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Timing Failure +msgid "printer-state-reasons.imprinter-timing-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Turned Off +msgid "printer-state-reasons.imprinter-turned-off" +msgstr "" + +#. TRANSLATORS: Imprinter Turned On +msgid "printer-state-reasons.imprinter-turned-on" +msgstr "" + +#. TRANSLATORS: Imprinter Under Temperature +msgid "printer-state-reasons.imprinter-under-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Failure +msgid "printer-state-reasons.imprinter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Storage Error +msgid "printer-state-reasons.imprinter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Imprinter Warming Up +msgid "printer-state-reasons.imprinter-warming-up" +msgstr "" + +#. TRANSLATORS: Input Cannot Feed Size Selected +msgid "printer-state-reasons.input-cannot-feed-size-selected" +msgstr "" + +#. TRANSLATORS: Input Manual Input Request +msgid "printer-state-reasons.input-manual-input-request" +msgstr "" + +#. TRANSLATORS: Input Media Color Change +msgid "printer-state-reasons.input-media-color-change" +msgstr "" + +#. TRANSLATORS: Input Media Form Parts Change +msgid "printer-state-reasons.input-media-form-parts-change" +msgstr "" + +#. TRANSLATORS: Input Media Size Change +msgid "printer-state-reasons.input-media-size-change" +msgstr "" + +#. TRANSLATORS: Input Media Tray Failure +msgid "printer-state-reasons.input-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Input Media Tray Feed Error +msgid "printer-state-reasons.input-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Input Media Tray Jam +msgid "printer-state-reasons.input-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Input Media Type Change +msgid "printer-state-reasons.input-media-type-change" +msgstr "" + +#. TRANSLATORS: Input Media Weight Change +msgid "printer-state-reasons.input-media-weight-change" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Failure +msgid "printer-state-reasons.input-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Over +msgid "printer-state-reasons.input-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Warn +msgid "printer-state-reasons.input-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Missing +msgid "printer-state-reasons.input-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Elevation Failure +msgid "printer-state-reasons.input-tray-elevation-failure" +msgstr "" + +#. TRANSLATORS: Paper tray is missing +msgid "printer-state-reasons.input-tray-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Position Failure +msgid "printer-state-reasons.input-tray-position-failure" +msgstr "" + +#. TRANSLATORS: Inserter Added +msgid "printer-state-reasons.inserter-added" +msgstr "" + +#. TRANSLATORS: Inserter Almost Empty +msgid "printer-state-reasons.inserter-almost-empty" +msgstr "" + +#. TRANSLATORS: Inserter Almost Full +msgid "printer-state-reasons.inserter-almost-full" +msgstr "" + +#. TRANSLATORS: Inserter At Limit +msgid "printer-state-reasons.inserter-at-limit" +msgstr "" + +#. TRANSLATORS: Inserter Closed +msgid "printer-state-reasons.inserter-closed" +msgstr "" + +#. TRANSLATORS: Inserter Configuration Change +msgid "printer-state-reasons.inserter-configuration-change" +msgstr "" + +#. TRANSLATORS: Inserter Cover Closed +msgid "printer-state-reasons.inserter-cover-closed" +msgstr "" + +#. TRANSLATORS: Inserter Cover Open +msgid "printer-state-reasons.inserter-cover-open" +msgstr "" + +#. TRANSLATORS: Inserter Empty +msgid "printer-state-reasons.inserter-empty" +msgstr "" + +#. TRANSLATORS: Inserter Full +msgid "printer-state-reasons.inserter-full" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Closed +msgid "printer-state-reasons.inserter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Open +msgid "printer-state-reasons.inserter-interlock-open" +msgstr "" + +#. TRANSLATORS: Inserter Jam +msgid "printer-state-reasons.inserter-jam" +msgstr "" + +#. TRANSLATORS: Inserter Life Almost Over +msgid "printer-state-reasons.inserter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Inserter Life Over +msgid "printer-state-reasons.inserter-life-over" +msgstr "" + +#. TRANSLATORS: Inserter Memory Exhausted +msgid "printer-state-reasons.inserter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Inserter Missing +msgid "printer-state-reasons.inserter-missing" +msgstr "" + +#. TRANSLATORS: Inserter Motor Failure +msgid "printer-state-reasons.inserter-motor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Near Limit +msgid "printer-state-reasons.inserter-near-limit" +msgstr "" + +#. TRANSLATORS: Inserter Offline +msgid "printer-state-reasons.inserter-offline" +msgstr "" + +#. TRANSLATORS: Inserter Opened +msgid "printer-state-reasons.inserter-opened" +msgstr "" + +#. TRANSLATORS: Inserter Over Temperature +msgid "printer-state-reasons.inserter-over-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Power Saver +msgid "printer-state-reasons.inserter-power-saver" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Failure +msgid "printer-state-reasons.inserter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Storage +msgid "printer-state-reasons.inserter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Inserter Removed +msgid "printer-state-reasons.inserter-removed" +msgstr "" + +#. TRANSLATORS: Inserter Resource Added +msgid "printer-state-reasons.inserter-resource-added" +msgstr "" + +#. TRANSLATORS: Inserter Resource Removed +msgid "printer-state-reasons.inserter-resource-removed" +msgstr "" + +#. TRANSLATORS: Inserter Thermistor Failure +msgid "printer-state-reasons.inserter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Timing Failure +msgid "printer-state-reasons.inserter-timing-failure" +msgstr "" + +#. TRANSLATORS: Inserter Turned Off +msgid "printer-state-reasons.inserter-turned-off" +msgstr "" + +#. TRANSLATORS: Inserter Turned On +msgid "printer-state-reasons.inserter-turned-on" +msgstr "" + +#. TRANSLATORS: Inserter Under Temperature +msgid "printer-state-reasons.inserter-under-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Failure +msgid "printer-state-reasons.inserter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Storage Error +msgid "printer-state-reasons.inserter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Inserter Warming Up +msgid "printer-state-reasons.inserter-warming-up" +msgstr "" + +#. TRANSLATORS: Interlock Closed +msgid "printer-state-reasons.interlock-closed" +msgstr "" + +#. TRANSLATORS: Interlock Open +msgid "printer-state-reasons.interlock-open" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Added +msgid "printer-state-reasons.interpreter-cartridge-added" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Removed +msgid "printer-state-reasons.interpreter-cartridge-deleted" +msgstr "" + +#. TRANSLATORS: Interpreter Complex Page Encountered +msgid "printer-state-reasons.interpreter-complex-page-encountered" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Decrease +msgid "printer-state-reasons.interpreter-memory-decrease" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Increase +msgid "printer-state-reasons.interpreter-memory-increase" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Added +msgid "printer-state-reasons.interpreter-resource-added" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Deleted +msgid "printer-state-reasons.interpreter-resource-deleted" +msgstr "" + +#. TRANSLATORS: Printer resource unavailable +msgid "printer-state-reasons.interpreter-resource-unavailable" +msgstr "" + +#. TRANSLATORS: Lamp At End of Life +msgid "printer-state-reasons.lamp-at-eol" +msgstr "" + +#. TRANSLATORS: Lamp Failure +msgid "printer-state-reasons.lamp-failure" +msgstr "" + +#. TRANSLATORS: Lamp Near End of Life +msgid "printer-state-reasons.lamp-near-eol" +msgstr "" + +#. TRANSLATORS: Laser At End of Life +msgid "printer-state-reasons.laser-at-eol" +msgstr "" + +#. TRANSLATORS: Laser Failure +msgid "printer-state-reasons.laser-failure" +msgstr "" + +#. TRANSLATORS: Laser Near End of Life +msgid "printer-state-reasons.laser-near-eol" +msgstr "" + +#. TRANSLATORS: Envelope Maker Added +msgid "printer-state-reasons.make-envelope-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Empty +msgid "printer-state-reasons.make-envelope-almost-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Full +msgid "printer-state-reasons.make-envelope-almost-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker At Limit +msgid "printer-state-reasons.make-envelope-at-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Closed +msgid "printer-state-reasons.make-envelope-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Configuration Change +msgid "printer-state-reasons.make-envelope-configuration-change" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Closed +msgid "printer-state-reasons.make-envelope-cover-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Open +msgid "printer-state-reasons.make-envelope-cover-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Empty +msgid "printer-state-reasons.make-envelope-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Full +msgid "printer-state-reasons.make-envelope-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Closed +msgid "printer-state-reasons.make-envelope-interlock-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Open +msgid "printer-state-reasons.make-envelope-interlock-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Jam +msgid "printer-state-reasons.make-envelope-jam" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Almost Over +msgid "printer-state-reasons.make-envelope-life-almost-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Over +msgid "printer-state-reasons.make-envelope-life-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Memory Exhausted +msgid "printer-state-reasons.make-envelope-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Envelope Maker Missing +msgid "printer-state-reasons.make-envelope-missing" +msgstr "" + +#. TRANSLATORS: Envelope Maker Motor Failure +msgid "printer-state-reasons.make-envelope-motor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Near Limit +msgid "printer-state-reasons.make-envelope-near-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Offline +msgid "printer-state-reasons.make-envelope-offline" +msgstr "" + +#. TRANSLATORS: Envelope Maker Opened +msgid "printer-state-reasons.make-envelope-opened" +msgstr "" + +#. TRANSLATORS: Envelope Maker Over Temperature +msgid "printer-state-reasons.make-envelope-over-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Power Saver +msgid "printer-state-reasons.make-envelope-power-saver" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Failure +msgid "printer-state-reasons.make-envelope-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Storage +msgid "printer-state-reasons.make-envelope-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Envelope Maker Removed +msgid "printer-state-reasons.make-envelope-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Added +msgid "printer-state-reasons.make-envelope-resource-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Removed +msgid "printer-state-reasons.make-envelope-resource-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Thermistor Failure +msgid "printer-state-reasons.make-envelope-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Timing Failure +msgid "printer-state-reasons.make-envelope-timing-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned Off +msgid "printer-state-reasons.make-envelope-turned-off" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned On +msgid "printer-state-reasons.make-envelope-turned-on" +msgstr "" + +#. TRANSLATORS: Envelope Maker Under Temperature +msgid "printer-state-reasons.make-envelope-under-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Failure +msgid "printer-state-reasons.make-envelope-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Storage Error +msgid "printer-state-reasons.make-envelope-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Envelope Maker Warming Up +msgid "printer-state-reasons.make-envelope-warming-up" +msgstr "" + +#. TRANSLATORS: Marker Adjusting Print Quality +msgid "printer-state-reasons.marker-adjusting-print-quality" +msgstr "" + +#. TRANSLATORS: Marker Cleaner Missing +msgid "printer-state-reasons.marker-cleaner-missing" +msgstr "" + +#. TRANSLATORS: Marker Developer Almost Empty +msgid "printer-state-reasons.marker-developer-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Empty +msgid "printer-state-reasons.marker-developer-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Missing +msgid "printer-state-reasons.marker-developer-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Missing +msgid "printer-state-reasons.marker-fuser-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Thermistor Failure +msgid "printer-state-reasons.marker-fuser-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Marker Fuser Timing Failure +msgid "printer-state-reasons.marker-fuser-timing-failure" +msgstr "" + +#. TRANSLATORS: Marker Ink Almost Empty +msgid "printer-state-reasons.marker-ink-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Empty +msgid "printer-state-reasons.marker-ink-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Missing +msgid "printer-state-reasons.marker-ink-missing" +msgstr "" + +#. TRANSLATORS: Marker Opc Missing +msgid "printer-state-reasons.marker-opc-missing" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Almost Empty +msgid "printer-state-reasons.marker-print-ribbon-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Empty +msgid "printer-state-reasons.marker-print-ribbon-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Missing +msgid "printer-state-reasons.marker-print-ribbon-missing" +msgstr "" + +#. TRANSLATORS: Marker Supply Almost Empty +msgid "printer-state-reasons.marker-supply-almost-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner empty +msgid "printer-state-reasons.marker-supply-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner low +msgid "printer-state-reasons.marker-supply-low" +msgstr "" + +#. TRANSLATORS: Marker Supply Missing +msgid "printer-state-reasons.marker-supply-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Cartridge Missing +msgid "printer-state-reasons.marker-toner-cartridge-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Missing +msgid "printer-state-reasons.marker-toner-missing" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin almost full +msgid "printer-state-reasons.marker-waste-almost-full" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin full +msgid "printer-state-reasons.marker-waste-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Missing +msgid "printer-state-reasons.marker-waste-ink-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Missing +msgid "printer-state-reasons.marker-waste-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Missing +msgid "printer-state-reasons.marker-waste-toner-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Material Empty +msgid "printer-state-reasons.material-empty" +msgstr "" + +#. TRANSLATORS: Material Low +msgid "printer-state-reasons.material-low" +msgstr "" + +#. TRANSLATORS: Material Needed +msgid "printer-state-reasons.material-needed" +msgstr "" + +#. TRANSLATORS: Media Drying +msgid "printer-state-reasons.media-drying" +msgstr "" + +#. TRANSLATORS: Paper tray is empty +msgid "printer-state-reasons.media-empty" +msgstr "" + +#. TRANSLATORS: Paper jam +msgid "printer-state-reasons.media-jam" +msgstr "" + +#. TRANSLATORS: Paper tray is almost empty +msgid "printer-state-reasons.media-low" +msgstr "" + +#. TRANSLATORS: Load paper +msgid "printer-state-reasons.media-needed" +msgstr "" + +#. TRANSLATORS: Media Path Cannot Do 2-Sided Printing +msgid "printer-state-reasons.media-path-cannot-duplex-media-selected" +msgstr "" + +#. TRANSLATORS: Media Path Failure +msgid "printer-state-reasons.media-path-failure" +msgstr "" + +#. TRANSLATORS: Media Path Input Empty +msgid "printer-state-reasons.media-path-input-empty" +msgstr "" + +#. TRANSLATORS: Media Path Input Feed Error +msgid "printer-state-reasons.media-path-input-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Input Jam +msgid "printer-state-reasons.media-path-input-jam" +msgstr "" + +#. TRANSLATORS: Media Path Input Request +msgid "printer-state-reasons.media-path-input-request" +msgstr "" + +#. TRANSLATORS: Media Path Jam +msgid "printer-state-reasons.media-path-jam" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Almost Full +msgid "printer-state-reasons.media-path-media-tray-almost-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Full +msgid "printer-state-reasons.media-path-media-tray-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Missing +msgid "printer-state-reasons.media-path-media-tray-missing" +msgstr "" + +#. TRANSLATORS: Media Path Output Feed Error +msgid "printer-state-reasons.media-path-output-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Output Full +msgid "printer-state-reasons.media-path-output-full" +msgstr "" + +#. TRANSLATORS: Media Path Output Jam +msgid "printer-state-reasons.media-path-output-jam" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Failure +msgid "printer-state-reasons.media-path-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Over +msgid "printer-state-reasons.media-path-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Warn +msgid "printer-state-reasons.media-path-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Missing +msgid "printer-state-reasons.media-path-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Motor Failure +msgid "printer-state-reasons.motor-failure" +msgstr "" + +#. TRANSLATORS: Printer going offline +msgid "printer-state-reasons.moving-to-paused" +msgstr "" + +#. TRANSLATORS: None +msgid "printer-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Optical Photoconductor Life Over +msgid "printer-state-reasons.opc-life-over" +msgstr "" + +#. TRANSLATORS: OPC almost at end-of-life +msgid "printer-state-reasons.opc-near-eol" +msgstr "" + +#. TRANSLATORS: Check the printer for errors +msgid "printer-state-reasons.other" +msgstr "" + +#. TRANSLATORS: Output bin is almost full +msgid "printer-state-reasons.output-area-almost-full" +msgstr "" + +#. TRANSLATORS: Output bin is full +msgid "printer-state-reasons.output-area-full" +msgstr "" + +#. TRANSLATORS: Output Mailbox Select Failure +msgid "printer-state-reasons.output-mailbox-select-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Failure +msgid "printer-state-reasons.output-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Feed Error +msgid "printer-state-reasons.output-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Output Media Tray Jam +msgid "printer-state-reasons.output-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Output tray is missing +msgid "printer-state-reasons.output-tray-missing" +msgstr "" + +#. TRANSLATORS: Paused +msgid "printer-state-reasons.paused" +msgstr "" + +#. TRANSLATORS: Perforater Added +msgid "printer-state-reasons.perforater-added" +msgstr "" + +#. TRANSLATORS: Perforater Almost Empty +msgid "printer-state-reasons.perforater-almost-empty" +msgstr "" + +#. TRANSLATORS: Perforater Almost Full +msgid "printer-state-reasons.perforater-almost-full" +msgstr "" + +#. TRANSLATORS: Perforater At Limit +msgid "printer-state-reasons.perforater-at-limit" +msgstr "" + +#. TRANSLATORS: Perforater Closed +msgid "printer-state-reasons.perforater-closed" +msgstr "" + +#. TRANSLATORS: Perforater Configuration Change +msgid "printer-state-reasons.perforater-configuration-change" +msgstr "" + +#. TRANSLATORS: Perforater Cover Closed +msgid "printer-state-reasons.perforater-cover-closed" +msgstr "" + +#. TRANSLATORS: Perforater Cover Open +msgid "printer-state-reasons.perforater-cover-open" +msgstr "" + +#. TRANSLATORS: Perforater Empty +msgid "printer-state-reasons.perforater-empty" +msgstr "" + +#. TRANSLATORS: Perforater Full +msgid "printer-state-reasons.perforater-full" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Closed +msgid "printer-state-reasons.perforater-interlock-closed" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Open +msgid "printer-state-reasons.perforater-interlock-open" +msgstr "" + +#. TRANSLATORS: Perforater Jam +msgid "printer-state-reasons.perforater-jam" +msgstr "" + +#. TRANSLATORS: Perforater Life Almost Over +msgid "printer-state-reasons.perforater-life-almost-over" +msgstr "" + +#. TRANSLATORS: Perforater Life Over +msgid "printer-state-reasons.perforater-life-over" +msgstr "" + +#. TRANSLATORS: Perforater Memory Exhausted +msgid "printer-state-reasons.perforater-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Perforater Missing +msgid "printer-state-reasons.perforater-missing" +msgstr "" + +#. TRANSLATORS: Perforater Motor Failure +msgid "printer-state-reasons.perforater-motor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Near Limit +msgid "printer-state-reasons.perforater-near-limit" +msgstr "" + +#. TRANSLATORS: Perforater Offline +msgid "printer-state-reasons.perforater-offline" +msgstr "" + +#. TRANSLATORS: Perforater Opened +msgid "printer-state-reasons.perforater-opened" +msgstr "" + +#. TRANSLATORS: Perforater Over Temperature +msgid "printer-state-reasons.perforater-over-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Power Saver +msgid "printer-state-reasons.perforater-power-saver" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Failure +msgid "printer-state-reasons.perforater-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Storage +msgid "printer-state-reasons.perforater-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Perforater Removed +msgid "printer-state-reasons.perforater-removed" +msgstr "" + +#. TRANSLATORS: Perforater Resource Added +msgid "printer-state-reasons.perforater-resource-added" +msgstr "" + +#. TRANSLATORS: Perforater Resource Removed +msgid "printer-state-reasons.perforater-resource-removed" +msgstr "" + +#. TRANSLATORS: Perforater Thermistor Failure +msgid "printer-state-reasons.perforater-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Timing Failure +msgid "printer-state-reasons.perforater-timing-failure" +msgstr "" + +#. TRANSLATORS: Perforater Turned Off +msgid "printer-state-reasons.perforater-turned-off" +msgstr "" + +#. TRANSLATORS: Perforater Turned On +msgid "printer-state-reasons.perforater-turned-on" +msgstr "" + +#. TRANSLATORS: Perforater Under Temperature +msgid "printer-state-reasons.perforater-under-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Failure +msgid "printer-state-reasons.perforater-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Storage Error +msgid "printer-state-reasons.perforater-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Perforater Warming Up +msgid "printer-state-reasons.perforater-warming-up" +msgstr "" + +#. TRANSLATORS: Platform Cooling +msgid "printer-state-reasons.platform-cooling" +msgstr "" + +#. TRANSLATORS: Platform Failure +msgid "printer-state-reasons.platform-failure" +msgstr "" + +#. TRANSLATORS: Platform Heating +msgid "printer-state-reasons.platform-heating" +msgstr "" + +#. TRANSLATORS: Platform Temperature High +msgid "printer-state-reasons.platform-temperature-high" +msgstr "" + +#. TRANSLATORS: Platform Temperature Low +msgid "printer-state-reasons.platform-temperature-low" +msgstr "" + +#. TRANSLATORS: Power Down +msgid "printer-state-reasons.power-down" +msgstr "" + +#. TRANSLATORS: Power Up +msgid "printer-state-reasons.power-up" +msgstr "" + +#. TRANSLATORS: Printer Reset Manually +msgid "printer-state-reasons.printer-manual-reset" +msgstr "" + +#. TRANSLATORS: Printer Reset Remotely +msgid "printer-state-reasons.printer-nms-reset" +msgstr "" + +#. TRANSLATORS: Printer Ready To Print +msgid "printer-state-reasons.printer-ready-to-print" +msgstr "" + +#. TRANSLATORS: Puncher Added +msgid "printer-state-reasons.puncher-added" +msgstr "" + +#. TRANSLATORS: Puncher Almost Empty +msgid "printer-state-reasons.puncher-almost-empty" +msgstr "" + +#. TRANSLATORS: Puncher Almost Full +msgid "printer-state-reasons.puncher-almost-full" +msgstr "" + +#. TRANSLATORS: Puncher At Limit +msgid "printer-state-reasons.puncher-at-limit" +msgstr "" + +#. TRANSLATORS: Puncher Closed +msgid "printer-state-reasons.puncher-closed" +msgstr "" + +#. TRANSLATORS: Puncher Configuration Change +msgid "printer-state-reasons.puncher-configuration-change" +msgstr "" + +#. TRANSLATORS: Puncher Cover Closed +msgid "printer-state-reasons.puncher-cover-closed" +msgstr "" + +#. TRANSLATORS: Puncher Cover Open +msgid "printer-state-reasons.puncher-cover-open" +msgstr "" + +#. TRANSLATORS: Puncher Empty +msgid "printer-state-reasons.puncher-empty" +msgstr "" + +#. TRANSLATORS: Puncher Full +msgid "printer-state-reasons.puncher-full" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Closed +msgid "printer-state-reasons.puncher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Open +msgid "printer-state-reasons.puncher-interlock-open" +msgstr "" + +#. TRANSLATORS: Puncher Jam +msgid "printer-state-reasons.puncher-jam" +msgstr "" + +#. TRANSLATORS: Puncher Life Almost Over +msgid "printer-state-reasons.puncher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Puncher Life Over +msgid "printer-state-reasons.puncher-life-over" +msgstr "" + +#. TRANSLATORS: Puncher Memory Exhausted +msgid "printer-state-reasons.puncher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Puncher Missing +msgid "printer-state-reasons.puncher-missing" +msgstr "" + +#. TRANSLATORS: Puncher Motor Failure +msgid "printer-state-reasons.puncher-motor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Near Limit +msgid "printer-state-reasons.puncher-near-limit" +msgstr "" + +#. TRANSLATORS: Puncher Offline +msgid "printer-state-reasons.puncher-offline" +msgstr "" + +#. TRANSLATORS: Puncher Opened +msgid "printer-state-reasons.puncher-opened" +msgstr "" + +#. TRANSLATORS: Puncher Over Temperature +msgid "printer-state-reasons.puncher-over-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Power Saver +msgid "printer-state-reasons.puncher-power-saver" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Failure +msgid "printer-state-reasons.puncher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Storage +msgid "printer-state-reasons.puncher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Puncher Removed +msgid "printer-state-reasons.puncher-removed" +msgstr "" + +#. TRANSLATORS: Puncher Resource Added +msgid "printer-state-reasons.puncher-resource-added" +msgstr "" + +#. TRANSLATORS: Puncher Resource Removed +msgid "printer-state-reasons.puncher-resource-removed" +msgstr "" + +#. TRANSLATORS: Puncher Thermistor Failure +msgid "printer-state-reasons.puncher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Timing Failure +msgid "printer-state-reasons.puncher-timing-failure" +msgstr "" + +#. TRANSLATORS: Puncher Turned Off +msgid "printer-state-reasons.puncher-turned-off" +msgstr "" + +#. TRANSLATORS: Puncher Turned On +msgid "printer-state-reasons.puncher-turned-on" +msgstr "" + +#. TRANSLATORS: Puncher Under Temperature +msgid "printer-state-reasons.puncher-under-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Failure +msgid "printer-state-reasons.puncher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Storage Error +msgid "printer-state-reasons.puncher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Puncher Warming Up +msgid "printer-state-reasons.puncher-warming-up" +msgstr "" + +#. TRANSLATORS: Separation Cutter Added +msgid "printer-state-reasons.separation-cutter-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Empty +msgid "printer-state-reasons.separation-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Full +msgid "printer-state-reasons.separation-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter At Limit +msgid "printer-state-reasons.separation-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Closed +msgid "printer-state-reasons.separation-cutter-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Configuration Change +msgid "printer-state-reasons.separation-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Closed +msgid "printer-state-reasons.separation-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Open +msgid "printer-state-reasons.separation-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Empty +msgid "printer-state-reasons.separation-cutter-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Full +msgid "printer-state-reasons.separation-cutter-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Closed +msgid "printer-state-reasons.separation-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Open +msgid "printer-state-reasons.separation-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Jam +msgid "printer-state-reasons.separation-cutter-jam" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Almost Over +msgid "printer-state-reasons.separation-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Over +msgid "printer-state-reasons.separation-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Memory Exhausted +msgid "printer-state-reasons.separation-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Separation Cutter Missing +msgid "printer-state-reasons.separation-cutter-missing" +msgstr "" + +#. TRANSLATORS: Separation Cutter Motor Failure +msgid "printer-state-reasons.separation-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Near Limit +msgid "printer-state-reasons.separation-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Offline +msgid "printer-state-reasons.separation-cutter-offline" +msgstr "" + +#. TRANSLATORS: Separation Cutter Opened +msgid "printer-state-reasons.separation-cutter-opened" +msgstr "" + +#. TRANSLATORS: Separation Cutter Over Temperature +msgid "printer-state-reasons.separation-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Power Saver +msgid "printer-state-reasons.separation-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Failure +msgid "printer-state-reasons.separation-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Storage +msgid "printer-state-reasons.separation-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Separation Cutter Removed +msgid "printer-state-reasons.separation-cutter-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Added +msgid "printer-state-reasons.separation-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Removed +msgid "printer-state-reasons.separation-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Thermistor Failure +msgid "printer-state-reasons.separation-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Timing Failure +msgid "printer-state-reasons.separation-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned Off +msgid "printer-state-reasons.separation-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned On +msgid "printer-state-reasons.separation-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Separation Cutter Under Temperature +msgid "printer-state-reasons.separation-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Failure +msgid "printer-state-reasons.separation-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.separation-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Separation Cutter Warming Up +msgid "printer-state-reasons.separation-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Added +msgid "printer-state-reasons.sheet-rotator-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Empty +msgid "printer-state-reasons.sheet-rotator-almost-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Full +msgid "printer-state-reasons.sheet-rotator-almost-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator At Limit +msgid "printer-state-reasons.sheet-rotator-at-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Closed +msgid "printer-state-reasons.sheet-rotator-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Configuration Change +msgid "printer-state-reasons.sheet-rotator-configuration-change" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Closed +msgid "printer-state-reasons.sheet-rotator-cover-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Open +msgid "printer-state-reasons.sheet-rotator-cover-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Empty +msgid "printer-state-reasons.sheet-rotator-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Full +msgid "printer-state-reasons.sheet-rotator-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Closed +msgid "printer-state-reasons.sheet-rotator-interlock-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Open +msgid "printer-state-reasons.sheet-rotator-interlock-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Jam +msgid "printer-state-reasons.sheet-rotator-jam" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Almost Over +msgid "printer-state-reasons.sheet-rotator-life-almost-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Over +msgid "printer-state-reasons.sheet-rotator-life-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Memory Exhausted +msgid "printer-state-reasons.sheet-rotator-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Missing +msgid "printer-state-reasons.sheet-rotator-missing" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Motor Failure +msgid "printer-state-reasons.sheet-rotator-motor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Near Limit +msgid "printer-state-reasons.sheet-rotator-near-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Offline +msgid "printer-state-reasons.sheet-rotator-offline" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Opened +msgid "printer-state-reasons.sheet-rotator-opened" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Over Temperature +msgid "printer-state-reasons.sheet-rotator-over-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Power Saver +msgid "printer-state-reasons.sheet-rotator-power-saver" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Failure +msgid "printer-state-reasons.sheet-rotator-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Storage +msgid "printer-state-reasons.sheet-rotator-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Removed +msgid "printer-state-reasons.sheet-rotator-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Added +msgid "printer-state-reasons.sheet-rotator-resource-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Removed +msgid "printer-state-reasons.sheet-rotator-resource-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Thermistor Failure +msgid "printer-state-reasons.sheet-rotator-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Timing Failure +msgid "printer-state-reasons.sheet-rotator-timing-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned Off +msgid "printer-state-reasons.sheet-rotator-turned-off" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned On +msgid "printer-state-reasons.sheet-rotator-turned-on" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Under Temperature +msgid "printer-state-reasons.sheet-rotator-under-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Failure +msgid "printer-state-reasons.sheet-rotator-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +msgid "printer-state-reasons.sheet-rotator-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Warming Up +msgid "printer-state-reasons.sheet-rotator-warming-up" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "printer-state-reasons.shutdown" +msgstr "" + +#. TRANSLATORS: Slitter Added +msgid "printer-state-reasons.slitter-added" +msgstr "" + +#. TRANSLATORS: Slitter Almost Empty +msgid "printer-state-reasons.slitter-almost-empty" +msgstr "" + +#. TRANSLATORS: Slitter Almost Full +msgid "printer-state-reasons.slitter-almost-full" +msgstr "" + +#. TRANSLATORS: Slitter At Limit +msgid "printer-state-reasons.slitter-at-limit" +msgstr "" + +#. TRANSLATORS: Slitter Closed +msgid "printer-state-reasons.slitter-closed" +msgstr "" + +#. TRANSLATORS: Slitter Configuration Change +msgid "printer-state-reasons.slitter-configuration-change" +msgstr "" + +#. TRANSLATORS: Slitter Cover Closed +msgid "printer-state-reasons.slitter-cover-closed" +msgstr "" + +#. TRANSLATORS: Slitter Cover Open +msgid "printer-state-reasons.slitter-cover-open" +msgstr "" + +#. TRANSLATORS: Slitter Empty +msgid "printer-state-reasons.slitter-empty" +msgstr "" + +#. TRANSLATORS: Slitter Full +msgid "printer-state-reasons.slitter-full" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Closed +msgid "printer-state-reasons.slitter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Open +msgid "printer-state-reasons.slitter-interlock-open" +msgstr "" + +#. TRANSLATORS: Slitter Jam +msgid "printer-state-reasons.slitter-jam" +msgstr "" + +#. TRANSLATORS: Slitter Life Almost Over +msgid "printer-state-reasons.slitter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Slitter Life Over +msgid "printer-state-reasons.slitter-life-over" +msgstr "" + +#. TRANSLATORS: Slitter Memory Exhausted +msgid "printer-state-reasons.slitter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Slitter Missing +msgid "printer-state-reasons.slitter-missing" +msgstr "" + +#. TRANSLATORS: Slitter Motor Failure +msgid "printer-state-reasons.slitter-motor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Near Limit +msgid "printer-state-reasons.slitter-near-limit" +msgstr "" + +#. TRANSLATORS: Slitter Offline +msgid "printer-state-reasons.slitter-offline" +msgstr "" + +#. TRANSLATORS: Slitter Opened +msgid "printer-state-reasons.slitter-opened" +msgstr "" + +#. TRANSLATORS: Slitter Over Temperature +msgid "printer-state-reasons.slitter-over-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Power Saver +msgid "printer-state-reasons.slitter-power-saver" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Failure +msgid "printer-state-reasons.slitter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Storage +msgid "printer-state-reasons.slitter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Slitter Removed +msgid "printer-state-reasons.slitter-removed" +msgstr "" + +#. TRANSLATORS: Slitter Resource Added +msgid "printer-state-reasons.slitter-resource-added" +msgstr "" + +#. TRANSLATORS: Slitter Resource Removed +msgid "printer-state-reasons.slitter-resource-removed" +msgstr "" + +#. TRANSLATORS: Slitter Thermistor Failure +msgid "printer-state-reasons.slitter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Timing Failure +msgid "printer-state-reasons.slitter-timing-failure" +msgstr "" + +#. TRANSLATORS: Slitter Turned Off +msgid "printer-state-reasons.slitter-turned-off" +msgstr "" + +#. TRANSLATORS: Slitter Turned On +msgid "printer-state-reasons.slitter-turned-on" +msgstr "" + +#. TRANSLATORS: Slitter Under Temperature +msgid "printer-state-reasons.slitter-under-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Failure +msgid "printer-state-reasons.slitter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Storage Error +msgid "printer-state-reasons.slitter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Slitter Warming Up +msgid "printer-state-reasons.slitter-warming-up" +msgstr "" + +#. TRANSLATORS: Spool Area Full +msgid "printer-state-reasons.spool-area-full" +msgstr "" + +#. TRANSLATORS: Stacker Added +msgid "printer-state-reasons.stacker-added" +msgstr "" + +#. TRANSLATORS: Stacker Almost Empty +msgid "printer-state-reasons.stacker-almost-empty" +msgstr "" + +#. TRANSLATORS: Stacker Almost Full +msgid "printer-state-reasons.stacker-almost-full" +msgstr "" + +#. TRANSLATORS: Stacker At Limit +msgid "printer-state-reasons.stacker-at-limit" +msgstr "" + +#. TRANSLATORS: Stacker Closed +msgid "printer-state-reasons.stacker-closed" +msgstr "" + +#. TRANSLATORS: Stacker Configuration Change +msgid "printer-state-reasons.stacker-configuration-change" +msgstr "" + +#. TRANSLATORS: Stacker Cover Closed +msgid "printer-state-reasons.stacker-cover-closed" +msgstr "" + +#. TRANSLATORS: Stacker Cover Open +msgid "printer-state-reasons.stacker-cover-open" +msgstr "" + +#. TRANSLATORS: Stacker Empty +msgid "printer-state-reasons.stacker-empty" +msgstr "" + +#. TRANSLATORS: Stacker Full +msgid "printer-state-reasons.stacker-full" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Closed +msgid "printer-state-reasons.stacker-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Open +msgid "printer-state-reasons.stacker-interlock-open" +msgstr "" + +#. TRANSLATORS: Stacker Jam +msgid "printer-state-reasons.stacker-jam" +msgstr "" + +#. TRANSLATORS: Stacker Life Almost Over +msgid "printer-state-reasons.stacker-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stacker Life Over +msgid "printer-state-reasons.stacker-life-over" +msgstr "" + +#. TRANSLATORS: Stacker Memory Exhausted +msgid "printer-state-reasons.stacker-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stacker Missing +msgid "printer-state-reasons.stacker-missing" +msgstr "" + +#. TRANSLATORS: Stacker Motor Failure +msgid "printer-state-reasons.stacker-motor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Near Limit +msgid "printer-state-reasons.stacker-near-limit" +msgstr "" + +#. TRANSLATORS: Stacker Offline +msgid "printer-state-reasons.stacker-offline" +msgstr "" + +#. TRANSLATORS: Stacker Opened +msgid "printer-state-reasons.stacker-opened" +msgstr "" + +#. TRANSLATORS: Stacker Over Temperature +msgid "printer-state-reasons.stacker-over-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Power Saver +msgid "printer-state-reasons.stacker-power-saver" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Failure +msgid "printer-state-reasons.stacker-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Storage +msgid "printer-state-reasons.stacker-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stacker Removed +msgid "printer-state-reasons.stacker-removed" +msgstr "" + +#. TRANSLATORS: Stacker Resource Added +msgid "printer-state-reasons.stacker-resource-added" +msgstr "" + +#. TRANSLATORS: Stacker Resource Removed +msgid "printer-state-reasons.stacker-resource-removed" +msgstr "" + +#. TRANSLATORS: Stacker Thermistor Failure +msgid "printer-state-reasons.stacker-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Timing Failure +msgid "printer-state-reasons.stacker-timing-failure" +msgstr "" + +#. TRANSLATORS: Stacker Turned Off +msgid "printer-state-reasons.stacker-turned-off" +msgstr "" + +#. TRANSLATORS: Stacker Turned On +msgid "printer-state-reasons.stacker-turned-on" +msgstr "" + +#. TRANSLATORS: Stacker Under Temperature +msgid "printer-state-reasons.stacker-under-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Failure +msgid "printer-state-reasons.stacker-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Storage Error +msgid "printer-state-reasons.stacker-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stacker Warming Up +msgid "printer-state-reasons.stacker-warming-up" +msgstr "" + +#. TRANSLATORS: Stapler Added +msgid "printer-state-reasons.stapler-added" +msgstr "" + +#. TRANSLATORS: Stapler Almost Empty +msgid "printer-state-reasons.stapler-almost-empty" +msgstr "" + +#. TRANSLATORS: Stapler Almost Full +msgid "printer-state-reasons.stapler-almost-full" +msgstr "" + +#. TRANSLATORS: Stapler At Limit +msgid "printer-state-reasons.stapler-at-limit" +msgstr "" + +#. TRANSLATORS: Stapler Closed +msgid "printer-state-reasons.stapler-closed" +msgstr "" + +#. TRANSLATORS: Stapler Configuration Change +msgid "printer-state-reasons.stapler-configuration-change" +msgstr "" + +#. TRANSLATORS: Stapler Cover Closed +msgid "printer-state-reasons.stapler-cover-closed" +msgstr "" + +#. TRANSLATORS: Stapler Cover Open +msgid "printer-state-reasons.stapler-cover-open" +msgstr "" + +#. TRANSLATORS: Stapler Empty +msgid "printer-state-reasons.stapler-empty" +msgstr "" + +#. TRANSLATORS: Stapler Full +msgid "printer-state-reasons.stapler-full" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Closed +msgid "printer-state-reasons.stapler-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Open +msgid "printer-state-reasons.stapler-interlock-open" +msgstr "" + +#. TRANSLATORS: Stapler Jam +msgid "printer-state-reasons.stapler-jam" +msgstr "" + +#. TRANSLATORS: Stapler Life Almost Over +msgid "printer-state-reasons.stapler-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stapler Life Over +msgid "printer-state-reasons.stapler-life-over" +msgstr "" + +#. TRANSLATORS: Stapler Memory Exhausted +msgid "printer-state-reasons.stapler-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stapler Missing +msgid "printer-state-reasons.stapler-missing" +msgstr "" + +#. TRANSLATORS: Stapler Motor Failure +msgid "printer-state-reasons.stapler-motor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Near Limit +msgid "printer-state-reasons.stapler-near-limit" +msgstr "" + +#. TRANSLATORS: Stapler Offline +msgid "printer-state-reasons.stapler-offline" +msgstr "" + +#. TRANSLATORS: Stapler Opened +msgid "printer-state-reasons.stapler-opened" +msgstr "" + +#. TRANSLATORS: Stapler Over Temperature +msgid "printer-state-reasons.stapler-over-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Power Saver +msgid "printer-state-reasons.stapler-power-saver" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Failure +msgid "printer-state-reasons.stapler-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Storage +msgid "printer-state-reasons.stapler-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stapler Removed +msgid "printer-state-reasons.stapler-removed" +msgstr "" + +#. TRANSLATORS: Stapler Resource Added +msgid "printer-state-reasons.stapler-resource-added" +msgstr "" + +#. TRANSLATORS: Stapler Resource Removed +msgid "printer-state-reasons.stapler-resource-removed" +msgstr "" + +#. TRANSLATORS: Stapler Thermistor Failure +msgid "printer-state-reasons.stapler-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Timing Failure +msgid "printer-state-reasons.stapler-timing-failure" +msgstr "" + +#. TRANSLATORS: Stapler Turned Off +msgid "printer-state-reasons.stapler-turned-off" +msgstr "" + +#. TRANSLATORS: Stapler Turned On +msgid "printer-state-reasons.stapler-turned-on" +msgstr "" + +#. TRANSLATORS: Stapler Under Temperature +msgid "printer-state-reasons.stapler-under-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Failure +msgid "printer-state-reasons.stapler-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Storage Error +msgid "printer-state-reasons.stapler-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stapler Warming Up +msgid "printer-state-reasons.stapler-warming-up" +msgstr "" + +#. TRANSLATORS: Stitcher Added +msgid "printer-state-reasons.stitcher-added" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Empty +msgid "printer-state-reasons.stitcher-almost-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Full +msgid "printer-state-reasons.stitcher-almost-full" +msgstr "" + +#. TRANSLATORS: Stitcher At Limit +msgid "printer-state-reasons.stitcher-at-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Closed +msgid "printer-state-reasons.stitcher-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Configuration Change +msgid "printer-state-reasons.stitcher-configuration-change" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Closed +msgid "printer-state-reasons.stitcher-cover-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Open +msgid "printer-state-reasons.stitcher-cover-open" +msgstr "" + +#. TRANSLATORS: Stitcher Empty +msgid "printer-state-reasons.stitcher-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Full +msgid "printer-state-reasons.stitcher-full" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Closed +msgid "printer-state-reasons.stitcher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Open +msgid "printer-state-reasons.stitcher-interlock-open" +msgstr "" + +#. TRANSLATORS: Stitcher Jam +msgid "printer-state-reasons.stitcher-jam" +msgstr "" + +#. TRANSLATORS: Stitcher Life Almost Over +msgid "printer-state-reasons.stitcher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stitcher Life Over +msgid "printer-state-reasons.stitcher-life-over" +msgstr "" + +#. TRANSLATORS: Stitcher Memory Exhausted +msgid "printer-state-reasons.stitcher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stitcher Missing +msgid "printer-state-reasons.stitcher-missing" +msgstr "" + +#. TRANSLATORS: Stitcher Motor Failure +msgid "printer-state-reasons.stitcher-motor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Near Limit +msgid "printer-state-reasons.stitcher-near-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Offline +msgid "printer-state-reasons.stitcher-offline" +msgstr "" + +#. TRANSLATORS: Stitcher Opened +msgid "printer-state-reasons.stitcher-opened" +msgstr "" + +#. TRANSLATORS: Stitcher Over Temperature +msgid "printer-state-reasons.stitcher-over-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Power Saver +msgid "printer-state-reasons.stitcher-power-saver" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Failure +msgid "printer-state-reasons.stitcher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Storage +msgid "printer-state-reasons.stitcher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stitcher Removed +msgid "printer-state-reasons.stitcher-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Added +msgid "printer-state-reasons.stitcher-resource-added" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Removed +msgid "printer-state-reasons.stitcher-resource-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Thermistor Failure +msgid "printer-state-reasons.stitcher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Timing Failure +msgid "printer-state-reasons.stitcher-timing-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Turned Off +msgid "printer-state-reasons.stitcher-turned-off" +msgstr "" + +#. TRANSLATORS: Stitcher Turned On +msgid "printer-state-reasons.stitcher-turned-on" +msgstr "" + +#. TRANSLATORS: Stitcher Under Temperature +msgid "printer-state-reasons.stitcher-under-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Failure +msgid "printer-state-reasons.stitcher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Storage Error +msgid "printer-state-reasons.stitcher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stitcher Warming Up +msgid "printer-state-reasons.stitcher-warming-up" +msgstr "" + +#. TRANSLATORS: Partially stopped +msgid "printer-state-reasons.stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "printer-state-reasons.stopping" +msgstr "" + +#. TRANSLATORS: Subunit Added +msgid "printer-state-reasons.subunit-added" +msgstr "" + +#. TRANSLATORS: Subunit Almost Empty +msgid "printer-state-reasons.subunit-almost-empty" +msgstr "" + +#. TRANSLATORS: Subunit Almost Full +msgid "printer-state-reasons.subunit-almost-full" +msgstr "" + +#. TRANSLATORS: Subunit At Limit +msgid "printer-state-reasons.subunit-at-limit" +msgstr "" + +#. TRANSLATORS: Subunit Closed +msgid "printer-state-reasons.subunit-closed" +msgstr "" + +#. TRANSLATORS: Subunit Cooling Down +msgid "printer-state-reasons.subunit-cooling-down" +msgstr "" + +#. TRANSLATORS: Subunit Empty +msgid "printer-state-reasons.subunit-empty" +msgstr "" + +#. TRANSLATORS: Subunit Full +msgid "printer-state-reasons.subunit-full" +msgstr "" + +#. TRANSLATORS: Subunit Life Almost Over +msgid "printer-state-reasons.subunit-life-almost-over" +msgstr "" + +#. TRANSLATORS: Subunit Life Over +msgid "printer-state-reasons.subunit-life-over" +msgstr "" + +#. TRANSLATORS: Subunit Memory Exhausted +msgid "printer-state-reasons.subunit-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Subunit Missing +msgid "printer-state-reasons.subunit-missing" +msgstr "" + +#. TRANSLATORS: Subunit Motor Failure +msgid "printer-state-reasons.subunit-motor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Near Limit +msgid "printer-state-reasons.subunit-near-limit" +msgstr "" + +#. TRANSLATORS: Subunit Offline +msgid "printer-state-reasons.subunit-offline" +msgstr "" + +#. TRANSLATORS: Subunit Opened +msgid "printer-state-reasons.subunit-opened" +msgstr "" + +#. TRANSLATORS: Subunit Over Temperature +msgid "printer-state-reasons.subunit-over-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Power Saver +msgid "printer-state-reasons.subunit-power-saver" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Failure +msgid "printer-state-reasons.subunit-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Storage +msgid "printer-state-reasons.subunit-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Removed +msgid "printer-state-reasons.subunit-removed" +msgstr "" + +#. TRANSLATORS: Subunit Resource Added +msgid "printer-state-reasons.subunit-resource-added" +msgstr "" + +#. TRANSLATORS: Subunit Resource Removed +msgid "printer-state-reasons.subunit-resource-removed" +msgstr "" + +#. TRANSLATORS: Subunit Thermistor Failure +msgid "printer-state-reasons.subunit-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Timing Failure +msgid "printer-state-reasons.subunit-timing-Failure" +msgstr "" + +#. TRANSLATORS: Subunit Turned Off +msgid "printer-state-reasons.subunit-turned-off" +msgstr "" + +#. TRANSLATORS: Subunit Turned On +msgid "printer-state-reasons.subunit-turned-on" +msgstr "" + +#. TRANSLATORS: Subunit Under Temperature +msgid "printer-state-reasons.subunit-under-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Failure +msgid "printer-state-reasons.subunit-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Storage +msgid "printer-state-reasons.subunit-unrecoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Warming Up +msgid "printer-state-reasons.subunit-warming-up" +msgstr "" + +#. TRANSLATORS: Printer stopped responding +msgid "printer-state-reasons.timed-out" +msgstr "" + +#. TRANSLATORS: Out of toner +msgid "printer-state-reasons.toner-empty" +msgstr "" + +#. TRANSLATORS: Toner low +msgid "printer-state-reasons.toner-low" +msgstr "" + +#. TRANSLATORS: Trimmer Added +msgid "printer-state-reasons.trimmer-added" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Empty +msgid "printer-state-reasons.trimmer-almost-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Full +msgid "printer-state-reasons.trimmer-almost-full" +msgstr "" + +#. TRANSLATORS: Trimmer At Limit +msgid "printer-state-reasons.trimmer-at-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Closed +msgid "printer-state-reasons.trimmer-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Configuration Change +msgid "printer-state-reasons.trimmer-configuration-change" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Closed +msgid "printer-state-reasons.trimmer-cover-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Open +msgid "printer-state-reasons.trimmer-cover-open" +msgstr "" + +#. TRANSLATORS: Trimmer Empty +msgid "printer-state-reasons.trimmer-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Full +msgid "printer-state-reasons.trimmer-full" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Closed +msgid "printer-state-reasons.trimmer-interlock-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Open +msgid "printer-state-reasons.trimmer-interlock-open" +msgstr "" + +#. TRANSLATORS: Trimmer Jam +msgid "printer-state-reasons.trimmer-jam" +msgstr "" + +#. TRANSLATORS: Trimmer Life Almost Over +msgid "printer-state-reasons.trimmer-life-almost-over" +msgstr "" + +#. TRANSLATORS: Trimmer Life Over +msgid "printer-state-reasons.trimmer-life-over" +msgstr "" + +#. TRANSLATORS: Trimmer Memory Exhausted +msgid "printer-state-reasons.trimmer-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Trimmer Missing +msgid "printer-state-reasons.trimmer-missing" +msgstr "" + +#. TRANSLATORS: Trimmer Motor Failure +msgid "printer-state-reasons.trimmer-motor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Near Limit +msgid "printer-state-reasons.trimmer-near-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Offline +msgid "printer-state-reasons.trimmer-offline" +msgstr "" + +#. TRANSLATORS: Trimmer Opened +msgid "printer-state-reasons.trimmer-opened" +msgstr "" + +#. TRANSLATORS: Trimmer Over Temperature +msgid "printer-state-reasons.trimmer-over-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Power Saver +msgid "printer-state-reasons.trimmer-power-saver" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Failure +msgid "printer-state-reasons.trimmer-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Storage +msgid "printer-state-reasons.trimmer-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Trimmer Removed +msgid "printer-state-reasons.trimmer-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Added +msgid "printer-state-reasons.trimmer-resource-added" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Removed +msgid "printer-state-reasons.trimmer-resource-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Thermistor Failure +msgid "printer-state-reasons.trimmer-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Timing Failure +msgid "printer-state-reasons.trimmer-timing-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Turned Off +msgid "printer-state-reasons.trimmer-turned-off" +msgstr "" + +#. TRANSLATORS: Trimmer Turned On +msgid "printer-state-reasons.trimmer-turned-on" +msgstr "" + +#. TRANSLATORS: Trimmer Under Temperature +msgid "printer-state-reasons.trimmer-under-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Failure +msgid "printer-state-reasons.trimmer-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Storage Error +msgid "printer-state-reasons.trimmer-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Trimmer Warming Up +msgid "printer-state-reasons.trimmer-warming-up" +msgstr "" + +#. TRANSLATORS: Unknown +msgid "printer-state-reasons.unknown" +msgstr "" + +#. TRANSLATORS: Wrapper Added +msgid "printer-state-reasons.wrapper-added" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Empty +msgid "printer-state-reasons.wrapper-almost-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Full +msgid "printer-state-reasons.wrapper-almost-full" +msgstr "" + +#. TRANSLATORS: Wrapper At Limit +msgid "printer-state-reasons.wrapper-at-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Closed +msgid "printer-state-reasons.wrapper-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Configuration Change +msgid "printer-state-reasons.wrapper-configuration-change" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Closed +msgid "printer-state-reasons.wrapper-cover-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Open +msgid "printer-state-reasons.wrapper-cover-open" +msgstr "" + +#. TRANSLATORS: Wrapper Empty +msgid "printer-state-reasons.wrapper-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Full +msgid "printer-state-reasons.wrapper-full" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Closed +msgid "printer-state-reasons.wrapper-interlock-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Open +msgid "printer-state-reasons.wrapper-interlock-open" +msgstr "" + +#. TRANSLATORS: Wrapper Jam +msgid "printer-state-reasons.wrapper-jam" +msgstr "" + +#. TRANSLATORS: Wrapper Life Almost Over +msgid "printer-state-reasons.wrapper-life-almost-over" +msgstr "" + +#. TRANSLATORS: Wrapper Life Over +msgid "printer-state-reasons.wrapper-life-over" +msgstr "" + +#. TRANSLATORS: Wrapper Memory Exhausted +msgid "printer-state-reasons.wrapper-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Wrapper Missing +msgid "printer-state-reasons.wrapper-missing" +msgstr "" + +#. TRANSLATORS: Wrapper Motor Failure +msgid "printer-state-reasons.wrapper-motor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Near Limit +msgid "printer-state-reasons.wrapper-near-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Offline +msgid "printer-state-reasons.wrapper-offline" +msgstr "" + +#. TRANSLATORS: Wrapper Opened +msgid "printer-state-reasons.wrapper-opened" +msgstr "" + +#. TRANSLATORS: Wrapper Over Temperature +msgid "printer-state-reasons.wrapper-over-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Power Saver +msgid "printer-state-reasons.wrapper-power-saver" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Failure +msgid "printer-state-reasons.wrapper-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Storage +msgid "printer-state-reasons.wrapper-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Wrapper Removed +msgid "printer-state-reasons.wrapper-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Added +msgid "printer-state-reasons.wrapper-resource-added" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Removed +msgid "printer-state-reasons.wrapper-resource-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Thermistor Failure +msgid "printer-state-reasons.wrapper-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Timing Failure +msgid "printer-state-reasons.wrapper-timing-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Turned Off +msgid "printer-state-reasons.wrapper-turned-off" +msgstr "" + +#. TRANSLATORS: Wrapper Turned On +msgid "printer-state-reasons.wrapper-turned-on" +msgstr "" + +#. TRANSLATORS: Wrapper Under Temperature +msgid "printer-state-reasons.wrapper-under-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Failure +msgid "printer-state-reasons.wrapper-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Storage Error +msgid "printer-state-reasons.wrapper-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Wrapper Warming Up +msgid "printer-state-reasons.wrapper-warming-up" +msgstr "" + +#. TRANSLATORS: Idle +msgid "printer-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "printer-state.4" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "printer-state.5" +msgstr "" + +#. TRANSLATORS: Printer Uptime +msgid "printer-up-time" +msgstr "" + +msgid "processing" +msgstr "en proceso" + +#. TRANSLATORS: Proof Print +msgid "proof-print" +msgstr "" + +#. TRANSLATORS: Proof Print Copies +msgid "proof-print-copies" +msgstr "" + +#. TRANSLATORS: Punching +msgid "punching" +msgstr "" + +#. TRANSLATORS: Punching Locations +msgid "punching-locations" +msgstr "" + +#. TRANSLATORS: Punching Offset +msgid "punching-offset" +msgstr "" + +#. TRANSLATORS: Punch Edge +msgid "punching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "punching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "punching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "punching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "punching-reference-edge.top" +msgstr "" + +#, c-format +msgid "request id is %s-%d (%d file(s))" +msgstr "la id solicitada es %s-%d (%d archivo(s))" + +msgid "request-id uses indefinite length" +msgstr "request-id usa una longitud indefinida" + +#. TRANSLATORS: Requested Attributes +msgid "requested-attributes" +msgstr "" + +#. TRANSLATORS: Retry Interval +msgid "retry-interval" +msgstr "" + +#. TRANSLATORS: Retry Timeout +msgid "retry-time-out" +msgstr "" + +#. TRANSLATORS: Save Disposition +msgid "save-disposition" +msgstr "" + +#. TRANSLATORS: None +msgid "save-disposition.none" +msgstr "" + +#. TRANSLATORS: Print and Save +msgid "save-disposition.print-save" +msgstr "" + +#. TRANSLATORS: Save Only +msgid "save-disposition.save-only" +msgstr "" + +#. TRANSLATORS: Save Document Format +msgid "save-document-format" +msgstr "" + +#. TRANSLATORS: Save Info +msgid "save-info" +msgstr "" + +#. TRANSLATORS: Save Location +msgid "save-location" +msgstr "" + +#. TRANSLATORS: Save Name +msgid "save-name" +msgstr "" + +msgid "scheduler is not running" +msgstr "el planificador de tareas no se está ejecutando" + +msgid "scheduler is running" +msgstr "el planificador de tareas se está ejecutando" + +#. TRANSLATORS: Separator Sheets +msgid "separator-sheets" +msgstr "" + +#. TRANSLATORS: Type of Separator Sheets +msgid "separator-sheets-type" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "separator-sheets-type.both-sheets" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "separator-sheets-type.end-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "separator-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Slip Sheets +msgid "separator-sheets-type.slip-sheets" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "separator-sheets-type.start-sheet" +msgstr "" + +#. TRANSLATORS: 2-Sided Printing +msgid "sides" +msgstr "" + +#. TRANSLATORS: Off +msgid "sides.one-sided" +msgstr "" + +#. TRANSLATORS: On (Portrait) +msgid "sides.two-sided-long-edge" +msgstr "" + +#. TRANSLATORS: On (Landscape) +msgid "sides.two-sided-short-edge" +msgstr "" + +#, c-format +msgid "stat of %s failed: %s" +msgstr "estado de %s ha fallado: %s" + +msgid "status\t\tShow status of daemon and queue." +msgstr "status\t\tMuestra el estado del demonio (daemon) y la cola." + +#. TRANSLATORS: Status Message +msgid "status-message" +msgstr "" + +#. TRANSLATORS: Staple +msgid "stitching" +msgstr "" + +#. TRANSLATORS: Stitching Angle +msgid "stitching-angle" +msgstr "" + +#. TRANSLATORS: Stitching Locations +msgid "stitching-locations" +msgstr "" + +#. TRANSLATORS: Staple Method +msgid "stitching-method" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "stitching-method.auto" +msgstr "" + +#. TRANSLATORS: Crimp +msgid "stitching-method.crimp" +msgstr "" + +#. TRANSLATORS: Wire +msgid "stitching-method.wire" +msgstr "" + +#. TRANSLATORS: Stitching Offset +msgid "stitching-offset" +msgstr "" + +#. TRANSLATORS: Staple Edge +msgid "stitching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "stitching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "stitching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "stitching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "stitching-reference-edge.top" +msgstr "" + +msgid "stopped" +msgstr "parada" + +#. TRANSLATORS: Subject +msgid "subject" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Attributes +msgid "subscription-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Subscription Description +msgid "subscription-privacy-attributes.subscription-description" +msgstr "" + +#. TRANSLATORS: Subscription Template +msgid "subscription-privacy-attributes.subscription-template" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Scope +msgid "subscription-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "subscription-privacy-scope.owner" +msgstr "" + +#, c-format +msgid "system default destination: %s" +msgstr "destino predeterminado del sistema: %s" + +#, c-format +msgid "system default destination: %s/%s" +msgstr "destino predeterminado del sistema: %s/%s" + +#. TRANSLATORS: T33 Subaddress +msgid "t33-subaddress" +msgstr "T33 Subaddress" + +#. TRANSLATORS: To Name +msgid "to-name" +msgstr "" + +#. TRANSLATORS: Transmission Status +msgid "transmission-status" +msgstr "" + +#. TRANSLATORS: Pending +msgid "transmission-status.3" +msgstr "" + +#. TRANSLATORS: Pending Retry +msgid "transmission-status.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "transmission-status.5" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "transmission-status.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "transmission-status.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "transmission-status.9" +msgstr "" + +#. TRANSLATORS: Cut +msgid "trimming" +msgstr "" + +#. TRANSLATORS: Cut Position +msgid "trimming-offset" +msgstr "" + +#. TRANSLATORS: Cut Edge +msgid "trimming-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "trimming-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "trimming-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "trimming-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "trimming-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Type of Cut +msgid "trimming-type" +msgstr "" + +#. TRANSLATORS: Draw Line +msgid "trimming-type.draw-line" +msgstr "" + +#. TRANSLATORS: Full +msgid "trimming-type.full" +msgstr "" + +#. TRANSLATORS: Partial +msgid "trimming-type.partial" +msgstr "" + +#. TRANSLATORS: Perforate +msgid "trimming-type.perforate" +msgstr "" + +#. TRANSLATORS: Score +msgid "trimming-type.score" +msgstr "" + +#. TRANSLATORS: Tab +msgid "trimming-type.tab" +msgstr "" + +#. TRANSLATORS: Cut After +msgid "trimming-when" +msgstr "" + +#. TRANSLATORS: Every Document +msgid "trimming-when.after-documents" +msgstr "" + +#. TRANSLATORS: Job +msgid "trimming-when.after-job" +msgstr "" + +#. TRANSLATORS: Every Set +msgid "trimming-when.after-sets" +msgstr "" + +#. TRANSLATORS: Every Page +msgid "trimming-when.after-sheets" +msgstr "" + +msgid "unknown" +msgstr "desconocido" + +msgid "untitled" +msgstr "sin título" + +msgid "variable-bindings uses indefinite length" +msgstr "variable-bindings usa una longitud indefinida" + +#. TRANSLATORS: X Accuracy +msgid "x-accuracy" +msgstr "" + +#. TRANSLATORS: X Dimension +msgid "x-dimension" +msgstr "" + +#. TRANSLATORS: X Offset +msgid "x-offset" +msgstr "" + +#. TRANSLATORS: X Origin +msgid "x-origin" +msgstr "" + +#. TRANSLATORS: Y Accuracy +msgid "y-accuracy" +msgstr "" + +#. TRANSLATORS: Y Dimension +msgid "y-dimension" +msgstr "" + +#. TRANSLATORS: Y Offset +msgid "y-offset" +msgstr "" + +#. TRANSLATORS: Y Origin +msgid "y-origin" +msgstr "" + +#. TRANSLATORS: Z Accuracy +msgid "z-accuracy" +msgstr "" + +#. TRANSLATORS: Z Dimension +msgid "z-dimension" +msgstr "" + +#. TRANSLATORS: Z Offset +msgid "z-offset" +msgstr "" + +msgid "{service_domain} Domain name" +msgstr "" + +msgid "{service_hostname} Fully-qualified domain name" +msgstr "" + +msgid "{service_name} Service instance name" +msgstr "" + +msgid "{service_port} Port number" +msgstr "" + +msgid "{service_regtype} DNS-SD registration type" +msgstr "" + +msgid "{service_scheme} URI scheme" +msgstr "" + +msgid "{service_uri} URI" +msgstr "" + +msgid "{txt_*} Value of TXT record key" +msgstr "" + +msgid "{} URI" +msgstr "" + +msgid "~/.cups/lpoptions file names default destination that does not exist." +msgstr "" + +#~ msgid "A Samba password is required to export printer drivers" +#~ msgstr "" +#~ "Se requiere una contraseña Samba para exportar los controladores de " +#~ "impresora" + +#~ msgid "A Samba username is required to export printer drivers" +#~ msgstr "" +#~ "Se requiere un nombre de usuario Samba para exportar los controladores de " +#~ "impresora" + +#~ msgid "Export Printers to Samba" +#~ msgstr "Exportar impresoras a Samba" + +#~ msgid "cupsctl: Cannot set Listen or Port directly." +#~ msgstr "cupsctl: No se puede establecer Listen o Port directamente." + +#~ msgid "lpadmin: Unable to open PPD file \"%s\" - %s" +#~ msgstr "lpadmin: No se ha podido abrir el archivo PPD \"%s\" - %s" diff --git a/locale/cups_fr.po b/locale/cups_fr.po new file mode 100644 index 0000000..f965def --- /dev/null +++ b/locale/cups_fr.po @@ -0,0 +1,14925 @@ +# +# French message catalog for CUPS. +# +# Copyright © 2007-2018 by Apple Inc. +# Copyright © 2005-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +msgid "" +msgstr "" +"Project-Id-Version: CUPS 2.3\n" +"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n" +"POT-Creation-Date: 2019-08-23 09:13-0400\n" +"PO-Revision-Date: 2012-12-12 11:12+0100\n" +"Last-Translator: Stéphane Blondon \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "\t\t(all)" +msgstr "\t\t(tous)" + +msgid "\t\t(none)" +msgstr "\t\t(aucun)" + +#, c-format +msgid "\t%d entries" +msgstr "" + +#, c-format +msgid "\t%s" +msgstr "" + +msgid "\tAfter fault: continue" +msgstr "" + +#, c-format +msgid "\tAlerts: %s" +msgstr "" + +msgid "\tBanner required" +msgstr "" + +msgid "\tCharset sets:" +msgstr "" + +msgid "\tConnection: direct" +msgstr "" + +msgid "\tConnection: remote" +msgstr "" + +msgid "\tContent types: any" +msgstr "" + +msgid "\tDefault page size:" +msgstr "" + +msgid "\tDefault pitch:" +msgstr "" + +msgid "\tDefault port settings:" +msgstr "" + +#, c-format +msgid "\tDescription: %s" +msgstr "" + +msgid "\tForm mounted:" +msgstr "" + +msgid "\tForms allowed:" +msgstr "" + +#, c-format +msgid "\tInterface: %s.ppd" +msgstr "" + +#, c-format +msgid "\tInterface: %s/ppd/%s.ppd" +msgstr "" + +#, c-format +msgid "\tLocation: %s" +msgstr "" + +msgid "\tOn fault: no alert" +msgstr "" + +msgid "\tPrinter types: unknown" +msgstr "" + +#, c-format +msgid "\tStatus: %s" +msgstr "" + +msgid "\tUsers allowed:" +msgstr "" + +msgid "\tUsers denied:" +msgstr "" + +msgid "\tdaemon present" +msgstr "" + +msgid "\tno entries" +msgstr "" + +#, c-format +msgid "\tprinter is on device '%s' speed -1" +msgstr "\timprimante sur le matériel « %s »', vitesse -1" + +msgid "\tprinting is disabled" +msgstr "\tImpression désactivée" + +msgid "\tprinting is enabled" +msgstr "\tImpression activée" + +#, c-format +msgid "\tqueued for %s" +msgstr "\tfile d'attente pour %s" + +msgid "\tqueuing is disabled" +msgstr "\tfile désactivée" + +msgid "\tqueuing is enabled" +msgstr "\tfile activée" + +msgid "\treason unknown" +msgstr "\tcause inconnue" + +msgid "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" +msgstr "" + +msgid " REF: Page 15, section 3.1." +msgstr " REF: Page 15, section 3.1." + +msgid " REF: Page 15, section 3.2." +msgstr " REF: Page 15, section 3.2." + +msgid " REF: Page 19, section 3.3." +msgstr " REF: Page 19, section 3.3." + +msgid " REF: Page 20, section 3.4." +msgstr " REF: Page 20, section 3.4." + +msgid " REF: Page 27, section 3.5." +msgstr " REF: Page 27, section 3.5." + +msgid " REF: Page 42, section 5.2." +msgstr " REF: Page 42, section 5.2." + +msgid " REF: Pages 16-17, section 3.2." +msgstr " REF: Pages 16-17, section 3.2." + +msgid " REF: Pages 42-45, section 5.2." +msgstr " REF: Pages 42-45, section 5.2." + +msgid " REF: Pages 45-46, section 5.2." +msgstr " REF: Pages 45-46, section 5.2." + +msgid " REF: Pages 48-49, section 5.2." +msgstr " REF: Pages 48-49, section 5.2." + +msgid " REF: Pages 52-54, section 5.2." +msgstr " REF: Pages 52-54, section 5.2." + +#, c-format +msgid " %-39.39s %.0f bytes" +msgstr " %-39.39s %.0f octets" + +#, c-format +msgid " PASS Default%s" +msgstr "" + +msgid " PASS DefaultImageableArea" +msgstr "" + +msgid " PASS DefaultPaperDimension" +msgstr "" + +msgid " PASS FileVersion" +msgstr "" + +msgid " PASS FormatVersion" +msgstr "" + +msgid " PASS LanguageEncoding" +msgstr "" + +msgid " PASS LanguageVersion" +msgstr "" + +msgid " PASS Manufacturer" +msgstr "" + +msgid " PASS ModelName" +msgstr "" + +msgid " PASS NickName" +msgstr "" + +msgid " PASS PCFileName" +msgstr "" + +msgid " PASS PSVersion" +msgstr "" + +msgid " PASS PageRegion" +msgstr "" + +msgid " PASS PageSize" +msgstr "" + +msgid " PASS Product" +msgstr "" + +msgid " PASS ShortNickName" +msgstr "" + +#, c-format +msgid " WARN %s has no corresponding options." +msgstr "" + +#, c-format +msgid "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." +msgstr "" + +#, c-format +msgid "" +" WARN Duplex option keyword %s may not work as expected and should " +"be named Duplex.\n" +" REF: Page 122, section 5.17" +msgstr "" + +msgid " WARN File contains a mix of CR, LF, and CR LF line endings." +msgstr "" + +msgid "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." +msgstr "" + +#, c-format +msgid " WARN Line %d only contains whitespace." +msgstr "" + +msgid "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." +msgstr "" + +msgid "" +" WARN Non-Windows PPD files should use lines ending with only LF, " +"not CR LF." +msgstr "" + +#, c-format +msgid "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." +msgstr "" + +msgid "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" + +msgid "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" + +msgid "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" + +msgid "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" + +msgid "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" + +#, c-format +msgid "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." +msgstr "" + +#, c-format +msgid " %s %s %s does not exist." +msgstr " %s %s %s n'existe pas." + +#, c-format +msgid " %s %s file \"%s\" has the wrong capitalization." +msgstr "" + +#, c-format +msgid "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" +msgstr "" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." +msgstr "" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s." +msgstr "" + +#, c-format +msgid " %s Bad cupsFilter value \"%s\"." +msgstr "" + +#, c-format +msgid " %s Bad cupsFilter2 value \"%s\"." +msgstr "" + +#, c-format +msgid " %s Bad cupsICCProfile %s." +msgstr "" + +#, c-format +msgid " %s Bad cupsPreFilter value \"%s\"." +msgstr "" + +#, c-format +msgid " %s Bad cupsUIConstraints %s: \"%s\"" +msgstr "" + +#, c-format +msgid " %s Bad language \"%s\"." +msgstr "" + +#, c-format +msgid " %s Bad permissions on %s file \"%s\"." +msgstr "" + +#, c-format +msgid " %s Bad spelling of %s - should be %s." +msgstr "" + +#, c-format +msgid " %s Cannot provide both APScanAppPath and APScanAppBundleID." +msgstr "" + +#, c-format +msgid " %s Default choices conflicting." +msgstr "" + +#, c-format +msgid " %s Empty cupsUIConstraints %s" +msgstr "" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s, choice %s." +msgstr "" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s." +msgstr "" + +#, c-format +msgid " %s Missing %s file \"%s\"." +msgstr "" + +#, c-format +msgid "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." +msgstr "" + +#, c-format +msgid "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." +msgstr "" + +#, c-format +msgid " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" + +#, c-format +msgid " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" +msgstr "" + +#, c-format +msgid " %s Missing cupsUIResolver %s" +msgstr "" + +#, c-format +msgid " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" + +#, c-format +msgid " %s Missing option %s in cupsUIConstraints %s: \"%s\"" +msgstr "" + +#, c-format +msgid " %s No base translation \"%s\" is included in file." +msgstr "" + +#, c-format +msgid "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" +msgstr "" + +#, c-format +msgid " %s Size \"%s\" defined for %s but not for %s." +msgstr "" + +#, c-format +msgid " %s Size \"%s\" has unexpected dimensions (%gx%g)." +msgstr "" + +#, c-format +msgid " %s Size \"%s\" should be \"%s\"." +msgstr "" + +#, c-format +msgid " %s Size \"%s\" should be the Adobe standard name \"%s\"." +msgstr "" + +#, c-format +msgid " %s cupsICCProfile %s hash value collides with %s." +msgstr "" + +#, c-format +msgid " %s cupsUIResolver %s causes a loop." +msgstr "" + +#, c-format +msgid "" +" %s cupsUIResolver %s does not list at least two different options." +msgstr "" + +#, c-format +msgid "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" + +msgid "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." +msgstr "" + +#, c-format +msgid " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." +msgstr "" + +#, c-format +msgid " **FAIL** Bad LanguageVersion %s - must be English." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." +msgstr "" + +msgid "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." +msgstr "" + +msgid "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." +msgstr "" + +msgid "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" +msgstr "" + +#, c-format +msgid " **FAIL** Default option code cannot be interpreted: %s" +msgstr "" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s choice %s contains " +"8-bit characters." +msgstr "" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s contains 8-bit " +"characters." +msgstr "" + +#, c-format +msgid " **FAIL** Group names %s and %s differ only by case." +msgstr "" + +#, c-format +msgid " **FAIL** Multiple occurrences of option %s choice name %s." +msgstr "" + +#, c-format +msgid " **FAIL** Option %s choice names %s and %s differ only by case." +msgstr "" + +#, c-format +msgid " **FAIL** Option names %s and %s differ only by case." +msgstr "" + +#, c-format +msgid "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." +msgstr "" + +msgid "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." +msgstr "" + +msgid "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." +msgstr "" + +msgid "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." +msgstr "" + +#, c-format +msgid "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." +msgstr "" + +msgid "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." +msgstr "" + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." +msgstr "" + +#, c-format +msgid "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." +msgstr "" + +msgid "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." +msgstr "" + +msgid "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." +msgstr "" + +#, c-format +msgid " **FAIL** Unable to open PPD file - %s on line %d." +msgstr "" + +#, c-format +msgid " %d ERRORS FOUND" +msgstr " %d ERREURS TROUVÉES" + +msgid " NO ERRORS FOUND" +msgstr "" + +msgid " --cr End lines with CR (Mac OS 9)." +msgstr " --cr Fin de ligne avec CR (Mac OS 9)." + +msgid " --crlf End lines with CR + LF (Windows)." +msgstr " --crlf Fin de ligne avec CR + LF (Windows)." + +msgid " --lf End lines with LF (UNIX/Linux/macOS)." +msgstr " --lf Fin de ligne avec LF (UNIX/Linux/macOS)." + +msgid " --list-filters List filters that will be used." +msgstr " --list-filters Filtres de liste utilisables." + +msgid " -D Remove the input file when finished." +msgstr "" +" -D Suppression du fichier d'entrée une fois terminé." + +msgid " -D name=value Set named variable to value." +msgstr " -D nom=valeur Affecter la variable nom à cette valeur." + +msgid " -I include-dir Add include directory to search path." +msgstr "" +" -I rep-inclus Ajouter le répertoire au chemin des recherches." + +msgid " -P filename.ppd Set PPD file." +msgstr " -P fichier.ppd Choisir un fichier PPD." + +msgid " -U username Specify username." +msgstr " -U nom Indiquer le nom d'utilisateur." + +msgid " -c catalog.po Load the specified message catalog." +msgstr " -c catalogue.po Charger le catalogue de messages." + +msgid " -c cups-files.conf Set cups-files.conf file to use." +msgstr " -c fichier-cups.conf Utiliser le fichier fichier-cups.conf." + +msgid " -d output-dir Specify the output directory." +msgstr " -d répertoire-sortie Indiquer le répertoire de sortie." + +msgid " -d printer Use the named printer." +msgstr " -d imprimante Utiliser l'imprimante nommée." + +msgid " -e Use every filter from the PPD file." +msgstr " -e Utiliser tous les filtres du fichier PPD." + +msgid " -i mime/type Set input MIME type (otherwise auto-typed)." +msgstr "" +" -i mime/type Affecter le type MIME d'entrée (sinon type " +"automatique)" + +msgid "" +" -j job-id[,N] Filter file N from the specified job (default is " +"file 1)." +msgstr "" +" -j job-id[,N] Filtrer le fichier N de la tâche indiquée (par " +"défaut, c'est le fichier 1)." + +msgid " -l lang[,lang,...] Specify the output language(s) (locale)." +msgstr "" +" -l lang[,lang,...] Indiquer la(les) langue(s) de sortie (locale)." + +msgid " -m Use the ModelName value as the filename." +msgstr "" + +msgid "" +" -m mime/type Set output MIME type (otherwise application/pdf)." +msgstr "" + +msgid " -n copies Set number of copies." +msgstr " -n copies Choisir le nombre de copies." + +msgid "" +" -o filename.drv Set driver information file (otherwise ppdi.drv)." +msgstr "" +" -o fichier.drv Affecter le fichier d'infos du pilote (sinon ppdi." +"drv)." + +msgid " -o filename.ppd[.gz] Set output file (otherwise stdout)." +msgstr "" +" -o fichier.ppd[.gz] Affecter le fichier de sortie (sinon sortie " +"standard)." + +msgid " -o name=value Set option(s)." +msgstr " -o nom=valeur Affecter des option(s)." + +msgid " -p filename.ppd Set PPD file." +msgstr " -p nomFichier.ppd Affecter le fichier PPD." + +msgid " -t Test PPDs instead of generating them." +msgstr " -t Tester les PPDs plutôt que les produire." + +msgid " -t title Set title." +msgstr " -t title Affecter le titre." + +msgid " -u Remove the PPD file when finished." +msgstr " -u Supprimer le fichier PPD, une fois terminé." + +msgid " -v Be verbose." +msgstr " -v Verbeux." + +msgid " -z Compress PPD files using GNU zip." +msgstr " -z Compresser les fichiers PPD avec GNU zip." + +msgid " FAIL" +msgstr " ÉCHEC" + +msgid " PASS" +msgstr "" + +msgid "! expression Unary NOT of expression" +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section " +"5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section " +"8.1)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 " +"section 5.1.14)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section " +"5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be " +"positive (RFC 8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC " +"8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section " +"8.3)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." +msgstr "" + +msgid "\"requesting-user-name\" attribute in wrong group." +msgstr "" + +msgid "\"requesting-user-name\" attribute with wrong syntax." +msgstr "" + +#, c-format +msgid "%-7s %-7.7s %-7d %-31.31s %.0f bytes" +msgstr "%-7s %-7.7s %-7d %-31.31s %.0f octets" + +#, c-format +msgid "%d x %d mm" +msgstr "" + +#, c-format +msgid "%g x %g \"" +msgstr "" + +#, c-format +msgid "%s (%s)" +msgstr "" + +#, c-format +msgid "%s (%s, %s)" +msgstr "" + +#, c-format +msgid "%s (Borderless)" +msgstr "%s (Sans bordure)" + +#, c-format +msgid "%s (Borderless, %s)" +msgstr "%s (Sans bordure, %s)" + +#, c-format +msgid "%s (Borderless, %s, %s)" +msgstr "%s (Sans bordure, %s, %s)" + +#, c-format +msgid "%s accepting requests since %s" +msgstr "%s accepte des requêtes depuis %s" + +#, c-format +msgid "%s cannot be changed." +msgstr "Impossible de modifier « %s »" + +#, c-format +msgid "%s is not implemented by the CUPS version of lpc." +msgstr "%s n'est pas disponible dans la version CUPS de lpc." + +#, c-format +msgid "%s is not ready" +msgstr "%s n'est pas prêt" + +#, c-format +msgid "%s is ready" +msgstr "%s est prêt" + +#, c-format +msgid "%s is ready and printing" +msgstr "%s est prêt et en cours d'impression" + +#, c-format +msgid "%s job-id user title copies options [file]" +msgstr "" + +#, c-format +msgid "%s not accepting requests since %s -" +msgstr "%s n'accepte plus de requêtes depuis %s" + +#, c-format +msgid "%s not supported." +msgstr "%s n'est pas géré." + +#, c-format +msgid "%s/%s accepting requests since %s" +msgstr "%s/%s accepte des requêtes depuis %s" + +#, c-format +msgid "%s/%s not accepting requests since %s -" +msgstr "%s/%s n'accepte plus de requêtes depuis %s" + +#, c-format +msgid "%s: %-33.33s [job %d localhost]" +msgstr "" + +#. TRANSLATORS: Message is "subject: error" +#, c-format +msgid "%s: %s" +msgstr "%s : %s" + +#, c-format +msgid "%s: %s failed: %s" +msgstr "%s : %s échec : %s" + +#, c-format +msgid "%s: Bad printer URI \"%s\"." +msgstr "%s : mauvaise URI de l'imprimante « %s »." + +#, c-format +msgid "%s: Bad version %s for \"-V\"." +msgstr "%s : Mauvaise version %s for « -V »." + +#, c-format +msgid "%s: Don't know what to do." +msgstr "%s : ne sait pas quoi faire." + +#, c-format +msgid "%s: Error - %s" +msgstr "" + +#, c-format +msgid "" +"%s: Error - %s environment variable names non-existent destination \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Error - add '/version=1.1' to server name." +msgstr "%s : erreur - ajouter « /version=1.1 » au nom du serveur." + +#, c-format +msgid "%s: Error - bad job ID." +msgstr "%s : erreur - mauvais ID de tâche" + +#, c-format +msgid "%s: Error - cannot print files and alter jobs simultaneously." +msgstr "" + +#, c-format +msgid "%s: Error - cannot print from stdin if files or a job ID are provided." +msgstr "" + +#, c-format +msgid "%s: Error - copies must be 1 or more." +msgstr "%s : erreur - les copies doivent être supérieures ou égales à 1." + +#, c-format +msgid "%s: Error - expected character set after \"-S\" option." +msgstr "%s : erreur - jeu de caractères attendu après l'option « -S »." + +#, c-format +msgid "%s: Error - expected content type after \"-T\" option." +msgstr "%s : erreur - type de contenu attendu après l'option « -T »" + +#, c-format +msgid "%s: Error - expected copies after \"-#\" option." +msgstr "%s : erreur - copies attendues après l'option « -# »." + +#, c-format +msgid "%s: Error - expected copies after \"-n\" option." +msgstr "%s : erreur - copies attendues après l'option « -n »." + +#, c-format +msgid "%s: Error - expected destination after \"-P\" option." +msgstr "%s : erreur - destination attendue après l'option « -P »." + +#, c-format +msgid "%s: Error - expected destination after \"-d\" option." +msgstr "%s : erreur - destination attendue après l'option « -d »." + +#, c-format +msgid "%s: Error - expected form after \"-f\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected hold name after \"-H\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected hostname after \"-H\" option." +msgstr "%s : erreur - nom d'hôte attendu après l'option « -H »." + +#, c-format +msgid "%s: Error - expected hostname after \"-h\" option." +msgstr "%s : erreur - nom d'hôte attendu après l'option « -h »." + +#, c-format +msgid "%s: Error - expected mode list after \"-y\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected name after \"-%c\" option." +msgstr "%s : erreur - nom attendu après l'option « -%c »." + +#, c-format +msgid "%s: Error - expected option=value after \"-o\" option." +msgstr "%s : erreur - option=valeur attendu après l'option « -o »." + +#, c-format +msgid "%s: Error - expected page list after \"-P\" option." +msgstr "%s : erreur - liste de page attendue après l'option « -P »." + +#, c-format +msgid "%s: Error - expected priority after \"-%c\" option." +msgstr "%s : erreur - priorité attendue après l'option « -%c »." + +#, c-format +msgid "%s: Error - expected reason text after \"-r\" option." +msgstr "" + +#, c-format +msgid "%s: Error - expected title after \"-t\" option." +msgstr "%s : erreur - titre attendu après l'option « -t »." + +#, c-format +msgid "%s: Error - expected username after \"-U\" option." +msgstr "%s : erreur - nom d'utilisateur attendu après l'option « -U »." + +#, c-format +msgid "%s: Error - expected username after \"-u\" option." +msgstr "%s : erreur - nom d'utilisateur attendu après l'option « -u »." + +#, c-format +msgid "%s: Error - expected value after \"-%c\" option." +msgstr "%s : erreur - valeur attendue après l'option « -%c »." + +#, c-format +msgid "" +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" " +"option." +msgstr "" + +#, c-format +msgid "%s: Error - no default destination available." +msgstr "%s : erreur - aucune destination par défaut disponible." + +#, c-format +msgid "%s: Error - priority must be between 1 and 100." +msgstr "%s : erreur - la priorité doit être comprise entre 1 et 100." + +#, c-format +msgid "%s: Error - scheduler not responding." +msgstr "%s : erreur - l'ordonnanceur ne répond pas." + +#, c-format +msgid "%s: Error - too many files - \"%s\"." +msgstr "%s : erreur - trop de fichiers - « %s »." + +#, c-format +msgid "%s: Error - unable to access \"%s\" - %s" +msgstr "%s : erreur - impossible d'accéder à « %s » - « %s »" + +#, c-format +msgid "%s: Error - unable to queue from stdin - %s." +msgstr "" + +#, c-format +msgid "%s: Error - unknown destination \"%s\"." +msgstr "%s : erreur - destination inconnue - « %s »." + +#, c-format +msgid "%s: Error - unknown destination \"%s/%s\"." +msgstr "%s : erreur - destination inconnue - « %s/%s »." + +#, c-format +msgid "%s: Error - unknown option \"%c\"." +msgstr "%s : erreur - option inconnue - « %c »." + +#, c-format +msgid "%s: Error - unknown option \"%s\"." +msgstr "%s : erreur - option inconnue - « %s »." + +#, c-format +msgid "%s: Expected job ID after \"-i\" option." +msgstr "" + +#, c-format +msgid "%s: Invalid destination name in list \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Invalid filter string \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Missing filename for \"-P\"." +msgstr "%s : nom de fichier manquant pour « -P »." + +#, c-format +msgid "%s: Missing timeout for \"-T\"." +msgstr "%s : délai d'expiration manquant pour « -T »." + +#, c-format +msgid "%s: Missing version for \"-V\"." +msgstr "%s : version manquante pour « -V »." + +#, c-format +msgid "%s: Need job ID (\"-i jobid\") before \"-H restart\"." +msgstr "" + +#, c-format +msgid "%s: No filter to convert from %s/%s to %s/%s." +msgstr "%s : aucun filtre pour convertir %s/%s en %s/%s." + +#, c-format +msgid "%s: Operation failed: %s" +msgstr "%s : échec de l'opération : %s" + +#, c-format +msgid "%s: Sorry, no encryption support." +msgstr "%s : désolé, chiffrement indisponible." + +#, c-format +msgid "%s: Unable to connect to \"%s:%d\": %s" +msgstr "%s : impossible de se connecter à « %s/%d » : %s" + +#, c-format +msgid "%s: Unable to connect to server." +msgstr "%s : impossible de se connecter au serveur." + +#, c-format +msgid "%s: Unable to contact server." +msgstr "%s : impossible de contacter au serveur." + +#, c-format +msgid "%s: Unable to create PPD file: %s" +msgstr "%s : impossible de créer le fichier PPD : %s" + +#, c-format +msgid "%s: Unable to determine MIME type of \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unable to open \"%s\": %s" +msgstr "%s : impossible d'ouvrir « %s » : %s" + +#, c-format +msgid "%s: Unable to open %s: %s" +msgstr "%s : impossible d'ouvrir %s : %s" + +#, c-format +msgid "%s: Unable to open PPD file: %s on line %d." +msgstr "%s : impossible d'ouvrir le fichier PPD : %s sur la ligne %d." + +#, c-format +msgid "%s: Unable to query printer: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to read MIME database from \"%s\" or \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unable to resolve \"%s\"." +msgstr "%s : impossible de résoudre « %s »." + +#, c-format +msgid "%s: Unknown argument \"%s\"." +msgstr "%s : paramètre inconnu « %s »." + +#, c-format +msgid "%s: Unknown destination \"%s\"." +msgstr "%s : destination inconnue « %s »." + +#, c-format +msgid "%s: Unknown destination MIME type %s/%s." +msgstr "" + +#, c-format +msgid "%s: Unknown option \"%c\"." +msgstr "%s : option inconnue « %c »." + +#, c-format +msgid "%s: Unknown option \"%s\"." +msgstr "%s : option inconnue « %s »." + +#, c-format +msgid "%s: Unknown option \"-%c\"." +msgstr "%s : option inconnue « -%c »." + +#, c-format +msgid "%s: Unknown source MIME type %s/%s." +msgstr "" + +#, c-format +msgid "" +"%s: Warning - \"%c\" format modifier not supported - output may not be " +"correct." +msgstr "" + +#, c-format +msgid "%s: Warning - character set option ignored." +msgstr "" + +#, c-format +msgid "%s: Warning - content type option ignored." +msgstr "" + +#, c-format +msgid "%s: Warning - form option ignored." +msgstr "" + +#, c-format +msgid "%s: Warning - mode option ignored." +msgstr "" + +msgid "( expressions ) Group expressions" +msgstr "" + +msgid "- Cancel all jobs" +msgstr "" + +msgid "-# num-copies Specify the number of copies to print" +msgstr "" + +msgid "--[no-]debug-logging Turn debug logging on/off" +msgstr "" + +msgid "--[no-]remote-admin Turn remote administration on/off" +msgstr "" + +msgid "--[no-]remote-any Allow/prevent access from the Internet" +msgstr "" + +msgid "--[no-]share-printers Turn printer sharing on/off" +msgstr "" + +msgid "--[no-]user-cancel-any Allow/prevent users to cancel any job" +msgstr "" + +msgid "" +"--device-id device-id Show models matching the given IEEE 1284 device ID" +msgstr "" + +msgid "--domain regex Match domain to regular expression" +msgstr "" + +msgid "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" +msgstr "" + +msgid "" +"--exec utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "--false Always false" +msgstr "" + +msgid "--help Show program help" +msgstr "" + +msgid "--hold Hold new jobs" +msgstr "" + +msgid "--host regex Match hostname to regular expression" +msgstr "" + +msgid "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" +msgstr "" + +msgid "--ippserver filename Produce ippserver attribute file" +msgstr "" + +msgid "--language locale Show models matching the given locale" +msgstr "" + +msgid "--local True if service is local" +msgstr "" + +msgid "--ls List attributes" +msgstr "" + +msgid "" +"--make-and-model name Show models matching the given make and model name" +msgstr "" + +msgid "--name regex Match service name to regular expression" +msgstr "" + +msgid "--no-web-forms Disable web forms for media and supplies" +msgstr "" + +msgid "--not expression Unary NOT of expression" +msgstr "" + +msgid "--path regex Match resource path to regular expression" +msgstr "" + +msgid "--port number[-number] Match port to number or range" +msgstr "" + +msgid "--print Print URI if true" +msgstr "" + +msgid "--print-name Print service name if true" +msgstr "" + +msgid "" +"--product name Show models matching the given PostScript product" +msgstr "" + +msgid "--quiet Quietly report match via exit code" +msgstr "" + +msgid "--release Release previously held jobs" +msgstr "" + +msgid "--remote True if service is remote" +msgstr "" + +msgid "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" +msgstr "" + +msgid "" +"--timeout seconds Specify the maximum number of seconds to discover " +"devices" +msgstr "" + +msgid "--true Always true" +msgstr "" + +msgid "--txt key True if the TXT record contains the key" +msgstr "" + +msgid "--txt-* regex Match TXT record key to regular expression" +msgstr "" + +msgid "--uri regex Match URI to regular expression" +msgstr "" + +msgid "--version Show program version" +msgstr "" + +msgid "--version Show version" +msgstr "" + +msgid "-1" +msgstr "-1" + +msgid "-10" +msgstr "-10" + +msgid "-100" +msgstr "-100" + +msgid "-105" +msgstr "-105" + +msgid "-11" +msgstr "-11" + +msgid "-110" +msgstr "-110" + +msgid "-115" +msgstr "-115" + +msgid "-12" +msgstr "-12" + +msgid "-120" +msgstr "-120" + +msgid "-13" +msgstr "-13" + +msgid "-14" +msgstr "-14" + +msgid "-15" +msgstr "-15" + +msgid "-2" +msgstr "-2" + +msgid "-2 Set 2-sided printing support (default=1-sided)" +msgstr "" + +msgid "-20" +msgstr "-20" + +msgid "-25" +msgstr "-25" + +msgid "-3" +msgstr "-3" + +msgid "-30" +msgstr "-30" + +msgid "-35" +msgstr "-35" + +msgid "-4" +msgstr "-4" + +msgid "-4 Connect using IPv4" +msgstr "" + +msgid "-40" +msgstr "-40" + +msgid "-45" +msgstr "-45" + +msgid "-5" +msgstr "-5" + +msgid "-50" +msgstr "-50" + +msgid "-55" +msgstr "-55" + +msgid "-6" +msgstr "-6" + +msgid "-6 Connect using IPv6" +msgstr "" + +msgid "-60" +msgstr "-60" + +msgid "-65" +msgstr "-65" + +msgid "-7" +msgstr "-7" + +msgid "-70" +msgstr "-70" + +msgid "-75" +msgstr "-75" + +msgid "-8" +msgstr "-8" + +msgid "-80" +msgstr "-80" + +msgid "-85" +msgstr "-85" + +msgid "-9" +msgstr "-9" + +msgid "-90" +msgstr "-90" + +msgid "-95" +msgstr "-95" + +msgid "-C Send requests using chunking (default)" +msgstr "" + +msgid "-D description Specify the textual description of the printer" +msgstr "" + +msgid "-D device-uri Set the device URI for the printer" +msgstr "" + +msgid "" +"-E Enable and accept jobs on the printer (after -p)" +msgstr "" + +msgid "-E Encrypt the connection to the server" +msgstr "" + +msgid "-E Test with encryption using HTTP Upgrade to TLS" +msgstr "" + +msgid "-F Run in the foreground but detach from console." +msgstr "" + +msgid "-F output-type/subtype Set the output format for the printer" +msgstr "" + +msgid "-H Show the default server and port" +msgstr "" + +msgid "-H HH:MM Hold the job until the specified UTC time" +msgstr "" + +msgid "-H hold Hold the job until released/resumed" +msgstr "" + +msgid "-H immediate Print the job as soon as possible" +msgstr "" + +msgid "-H restart Reprint the job" +msgstr "" + +msgid "-H resume Resume a held job" +msgstr "" + +msgid "-H server[:port] Connect to the named server and port" +msgstr "" + +msgid "-I Ignore errors" +msgstr "" + +msgid "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" +msgstr "" + +msgid "" +"-K keypath Set location of server X.509 certificates and keys." +msgstr "" + +msgid "-L Send requests using content-length" +msgstr "" + +msgid "-L location Specify the textual location of the printer" +msgstr "" + +msgid "-M manufacturer Set manufacturer name (default=Test)" +msgstr "" + +msgid "-P destination Show status for the specified destination" +msgstr "" + +msgid "-P destination Specify the destination" +msgstr "" + +msgid "" +"-P filename.plist Produce XML plist to a file and test report to " +"standard output" +msgstr "" + +msgid "-P filename.ppd Load printer attributes from PPD file" +msgstr "" + +msgid "-P number[-number] Match port to number or range" +msgstr "" + +msgid "-P page-list Specify a list of pages to print" +msgstr "" + +msgid "-R Show the ranking of jobs" +msgstr "" + +msgid "-R name-default Remove the default value for the named option" +msgstr "" + +msgid "-R root-directory Set alternate root" +msgstr "" + +msgid "-S Test with encryption using HTTPS" +msgstr "" + +msgid "-T seconds Set the browse timeout in seconds" +msgstr "" + +msgid "-T seconds Set the receive/send timeout in seconds" +msgstr "" + +msgid "-T title Specify the job title" +msgstr "" + +msgid "-U username Specify the username to use for authentication" +msgstr "" + +msgid "-U username Specify username to use for authentication" +msgstr "" + +msgid "-V version Set default IPP version" +msgstr "" + +msgid "-W completed Show completed jobs" +msgstr "" + +msgid "-W not-completed Show pending jobs" +msgstr "" + +msgid "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes," +"translations}\n" +" Issue warnings instead of errors" +msgstr "" + +msgid "-X Produce XML plist instead of plain text" +msgstr "" + +msgid "-a Cancel all jobs" +msgstr "" + +msgid "-a Show jobs on all destinations" +msgstr "" + +msgid "-a [destination(s)] Show the accepting state of destinations" +msgstr "" + +msgid "-a filename.conf Load printer attributes from conf file" +msgstr "" + +msgid "-c Make a copy of the print file(s)" +msgstr "" + +msgid "-c Produce CSV output" +msgstr "" + +msgid "-c [class(es)] Show classes and their member printers" +msgstr "" + +msgid "-c class Add the named destination to a class" +msgstr "" + +msgid "-c command Set print command" +msgstr "" + +msgid "-c cupsd.conf Set cupsd.conf file to use." +msgstr "" + +msgid "-d Show the default destination" +msgstr "" + +msgid "-d destination Set default destination" +msgstr "" + +msgid "-d destination Set the named destination as the server default" +msgstr "" + +msgid "-d name=value Set named variable to value" +msgstr "" + +msgid "-d regex Match domain to regular expression" +msgstr "" + +msgid "-d spool-directory Set spool directory" +msgstr "" + +msgid "-e Show available destinations on the network" +msgstr "" + +msgid "-f Run in the foreground." +msgstr "" + +msgid "-f filename Set default request filename" +msgstr "" + +msgid "-f type/subtype[,...] Set supported file types" +msgstr "" + +msgid "-h Show this usage message." +msgstr "" + +msgid "-h Validate HTTP response headers" +msgstr "" + +msgid "-h regex Match hostname to regular expression" +msgstr "" + +msgid "-h server[:port] Connect to the named server and port" +msgstr "" + +msgid "-i iconfile.png Set icon file" +msgstr "" + +msgid "-i id Specify an existing job ID to modify" +msgstr "" + +msgid "-i ppd-file Specify a PPD file for the printer" +msgstr "" + +msgid "" +"-i seconds Repeat the last file with the given time interval" +msgstr "" + +msgid "-k Keep job spool files" +msgstr "" + +msgid "-l List attributes" +msgstr "" + +msgid "-l Produce plain text output" +msgstr "" + +msgid "-l Run cupsd on demand." +msgstr "" + +msgid "-l Show supported options and values" +msgstr "" + +msgid "-l Show verbose (long) output" +msgstr "" + +msgid "-l location Set location of printer" +msgstr "" + +msgid "" +"-m Send an email notification when the job completes" +msgstr "" + +msgid "-m Show models" +msgstr "" + +msgid "" +"-m everywhere Specify the printer is compatible with IPP Everywhere" +msgstr "" + +msgid "-m model Set model name (default=Printer)" +msgstr "" + +msgid "" +"-m model Specify a standard model/PPD file for the printer" +msgstr "" + +msgid "-n count Repeat the last file the given number of times" +msgstr "" + +msgid "-n hostname Set hostname for printer" +msgstr "" + +msgid "-n num-copies Specify the number of copies to print" +msgstr "" + +msgid "-n regex Match service name to regular expression" +msgstr "" + +msgid "" +"-o Name=Value Specify the default value for the named PPD option " +msgstr "" + +msgid "-o [destination(s)] Show jobs" +msgstr "" + +msgid "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" +msgstr "" + +msgid "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" +msgstr "" + +msgid "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" +msgstr "" + +msgid "-o job-page-limit=N Specify the page limit for per-user quotas" +msgstr "" + +msgid "-o job-quota-period=N Specify the per-user quota period in seconds" +msgstr "" + +msgid "-o job-sheets=standard Print a banner page with the job" +msgstr "" + +msgid "-o media=size Specify the media size to use" +msgstr "" + +msgid "-o name-default=value Specify the default value for the named option" +msgstr "" + +msgid "-o name[=value] Set default option and value" +msgstr "" + +msgid "" +"-o number-up=N Specify that input pages should be printed N-up (1, " +"2, 4, 6, 9, and 16 are supported)" +msgstr "" + +msgid "-o option[=value] Specify a printer-specific option" +msgstr "" + +msgid "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" +msgstr "" + +msgid "" +"-o print-quality=N Specify the print quality - draft (3), normal (4), " +"or best (5)" +msgstr "" + +msgid "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" +msgstr "" + +msgid "" +"-o printer-is-shared=true\n" +" Share the printer" +msgstr "" + +msgid "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" +msgstr "" + +msgid "-o sides=one-sided Specify 1-sided printing" +msgstr "" + +msgid "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" +msgstr "" + +msgid "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" +msgstr "" + +msgid "-p Print URI if true" +msgstr "" + +msgid "-p [printer(s)] Show the processing state of destinations" +msgstr "" + +msgid "-p destination Specify a destination" +msgstr "" + +msgid "-p destination Specify/add the named destination" +msgstr "" + +msgid "-p port Set port number for printer" +msgstr "" + +msgid "-q Quietly report match via exit code" +msgstr "" + +msgid "-q Run silently" +msgstr "" + +msgid "-q Specify the job should be held for printing" +msgstr "" + +msgid "-q priority Specify the priority from low (1) to high (100)" +msgstr "" + +msgid "-r Remove the file(s) after submission" +msgstr "" + +msgid "-r Show whether the CUPS server is running" +msgstr "" + +msgid "-r True if service is remote" +msgstr "" + +msgid "-r Use 'relaxed' open mode" +msgstr "" + +msgid "-r class Remove the named destination from a class" +msgstr "" + +msgid "-r reason Specify a reason message that others can see" +msgstr "" + +msgid "-r subtype,[subtype] Set DNS-SD service subtype" +msgstr "" + +msgid "-s Be silent" +msgstr "" + +msgid "-s Print service name if true" +msgstr "" + +msgid "-s Show a status summary" +msgstr "" + +msgid "-s cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid "-s speed[,color-speed] Set speed in pages per minute" +msgstr "" + +msgid "-t Produce a test report" +msgstr "" + +msgid "-t Show all status information" +msgstr "" + +msgid "-t Test the configuration file." +msgstr "" + +msgid "-t key True if the TXT record contains the key" +msgstr "" + +msgid "-t title Specify the job title" +msgstr "" + +msgid "" +"-u [user(s)] Show jobs queued by the current or specified users" +msgstr "" + +msgid "-u allow:all Allow all users to print" +msgstr "" + +msgid "" +"-u allow:list Allow the list of users or groups (@name) to print" +msgstr "" + +msgid "" +"-u deny:list Prevent the list of users or groups (@name) to print" +msgstr "" + +msgid "-u owner Specify the owner to use for jobs" +msgstr "" + +msgid "-u regex Match URI to regular expression" +msgstr "" + +msgid "-v Be verbose" +msgstr "" + +msgid "-v Show devices" +msgstr "" + +msgid "-v [printer(s)] Show the devices for each destination" +msgstr "" + +msgid "-v device-uri Specify the device URI for the printer" +msgstr "" + +msgid "-vv Be very verbose" +msgstr "" + +msgid "-x Purge jobs rather than just canceling" +msgstr "" + +msgid "-x destination Remove default options for destination" +msgstr "" + +msgid "-x destination Remove the named destination" +msgstr "" + +msgid "" +"-x utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "/etc/cups/lpoptions file names default destination that does not exist." +msgstr "" + +msgid "0" +msgstr "0" + +msgid "1" +msgstr "1" + +msgid "1 inch/sec." +msgstr "1 po/s" + +msgid "1.25x0.25\"" +msgstr "1,25 x 0,25\"" + +msgid "1.25x2.25\"" +msgstr "1,25 x 2,25\"" + +msgid "1.5 inch/sec." +msgstr "1,5 po/s" + +msgid "1.50x0.25\"" +msgstr "1,50 x 0,25\"" + +msgid "1.50x0.50\"" +msgstr "1,50 x 0,50\"" + +msgid "1.50x1.00\"" +msgstr "1,50 x 1,00\"" + +msgid "1.50x2.00\"" +msgstr "1,50 x 2,00\"" + +msgid "10" +msgstr "10" + +msgid "10 inches/sec." +msgstr "10 po/s" + +msgid "10 x 11" +msgstr "" + +msgid "10 x 13" +msgstr "" + +msgid "10 x 14" +msgstr "" + +msgid "100" +msgstr "100" + +msgid "100 mm/sec." +msgstr "100 mm/s" + +msgid "105" +msgstr "105" + +msgid "11" +msgstr "11" + +msgid "11 inches/sec." +msgstr "11 po/s" + +msgid "110" +msgstr "110" + +msgid "115" +msgstr "115" + +msgid "12" +msgstr "12" + +msgid "12 inches/sec." +msgstr "12 po/s" + +msgid "12 x 11" +msgstr "" + +msgid "120" +msgstr "120" + +msgid "120 mm/sec." +msgstr "120 mm/s" + +msgid "120x60dpi" +msgstr "120 x 60 ppp" + +msgid "120x72dpi" +msgstr "120 x 72 ppp" + +msgid "13" +msgstr "13" + +msgid "136dpi" +msgstr "136 ppp" + +msgid "14" +msgstr "14" + +msgid "15" +msgstr "15" + +msgid "15 mm/sec." +msgstr "15 mm/s" + +msgid "15 x 11" +msgstr "" + +msgid "150 mm/sec." +msgstr "150 mm/s" + +msgid "150dpi" +msgstr "150 ppp" + +msgid "16" +msgstr "16" + +msgid "17" +msgstr "17" + +msgid "18" +msgstr "18" + +msgid "180dpi" +msgstr "180 ppp" + +msgid "19" +msgstr "19" + +msgid "2" +msgstr "2" + +msgid "2 inches/sec." +msgstr "2 po/s" + +msgid "2-Sided Printing" +msgstr "Impression recto-verso" + +msgid "2.00x0.37\"" +msgstr "2,00 x 0,37\"" + +msgid "2.00x0.50\"" +msgstr "2,00 x 0,50\"" + +msgid "2.00x1.00\"" +msgstr "2,00 x 1,00\"" + +msgid "2.00x1.25\"" +msgstr "2,00 x 1,25\"" + +msgid "2.00x2.00\"" +msgstr "2,00 x 2,00\"" + +msgid "2.00x3.00\"" +msgstr "2,00 x 3,00\"" + +msgid "2.00x4.00\"" +msgstr "2,00 x 4,00\"" + +msgid "2.00x5.50\"" +msgstr "2,00 x 5,50\"" + +msgid "2.25x0.50\"" +msgstr "2,25 x 0,50\"" + +msgid "2.25x1.25\"" +msgstr "2,25 x 1,25\"" + +msgid "2.25x4.00\"" +msgstr "2,25 x 4,00\"" + +msgid "2.25x5.50\"" +msgstr "2,25 x 5,50\"" + +msgid "2.38x5.50\"" +msgstr "2,38 x 5,50\"" + +msgid "2.5 inches/sec." +msgstr "2,5 po/s" + +msgid "2.50x1.00\"" +msgstr "2,50 x 1,00\"" + +msgid "2.50x2.00\"" +msgstr "2,50 x 2,00\"" + +msgid "2.75x1.25\"" +msgstr "2,75 x 1,25\"" + +msgid "2.9 x 1\"" +msgstr "2.9 x 1\"" + +msgid "20" +msgstr "20" + +msgid "20 mm/sec." +msgstr "20 mm/s" + +msgid "200 mm/sec." +msgstr "200 mm/s" + +msgid "203dpi" +msgstr "203 ppp" + +msgid "21" +msgstr "21" + +msgid "22" +msgstr "22" + +msgid "23" +msgstr "23" + +msgid "24" +msgstr "24" + +msgid "24-Pin Series" +msgstr "Série 24 broches" + +msgid "240x72dpi" +msgstr "240 x 72 ppp" + +msgid "25" +msgstr "25" + +msgid "250 mm/sec." +msgstr "250 mm/s" + +msgid "26" +msgstr "26" + +msgid "27" +msgstr "27" + +msgid "28" +msgstr "28" + +msgid "29" +msgstr "29" + +msgid "3" +msgstr "3" + +msgid "3 inches/sec." +msgstr "3 po/s" + +msgid "3 x 5" +msgstr "" + +msgid "3.00x1.00\"" +msgstr "3,00 x 1,00\"" + +msgid "3.00x1.25\"" +msgstr "3,00 x 1,25\"" + +msgid "3.00x2.00\"" +msgstr "3,00 x 2,00\"" + +msgid "3.00x3.00\"" +msgstr "3,00 x 3,00\"" + +msgid "3.00x5.00\"" +msgstr "3,00 x 5,00\"" + +msgid "3.25x2.00\"" +msgstr "3,25 x 2,00\"" + +msgid "3.25x5.00\"" +msgstr "3,25 x 5,00\"" + +msgid "3.25x5.50\"" +msgstr "3,25 x 5,50\"" + +msgid "3.25x5.83\"" +msgstr "3,25 x 5,83\"" + +msgid "3.25x7.83\"" +msgstr "3,25 x 7,83\"" + +msgid "3.5 x 5" +msgstr "" + +msgid "3.5\" Disk" +msgstr "Disque 3,5\"" + +msgid "3.50x1.00\"" +msgstr "3,50 x 1,00\"" + +msgid "30" +msgstr "30" + +msgid "30 mm/sec." +msgstr "30 mm/s" + +msgid "300 mm/sec." +msgstr "300 mm/s" + +msgid "300dpi" +msgstr "300 ppp" + +msgid "35" +msgstr "35" + +msgid "360dpi" +msgstr "360 ppp" + +msgid "360x180dpi" +msgstr "360 x 180 ppp" + +msgid "4" +msgstr "4" + +msgid "4 inches/sec." +msgstr "4 po/s" + +msgid "4.00x1.00\"" +msgstr "4,00 x 1,00\"" + +msgid "4.00x13.00\"" +msgstr "4,00 x 13,00\"" + +msgid "4.00x2.00\"" +msgstr "4,00 x 2,00\"" + +msgid "4.00x2.50\"" +msgstr "4,00 x 2,50\"" + +msgid "4.00x3.00\"" +msgstr "4,00 x 3,00\"" + +msgid "4.00x4.00\"" +msgstr "4,00 x 4,00\"" + +msgid "4.00x5.00\"" +msgstr "4,00 x 5,00\"" + +msgid "4.00x6.00\"" +msgstr "4,00 x 6,00\"" + +msgid "4.00x6.50\"" +msgstr "4,00 x 6,50\"" + +msgid "40" +msgstr "40" + +msgid "40 mm/sec." +msgstr "40 mm/s" + +msgid "45" +msgstr "45" + +msgid "5" +msgstr "5" + +msgid "5 inches/sec." +msgstr "5 po/s" + +msgid "5 x 7" +msgstr "" + +msgid "50" +msgstr "50" + +msgid "55" +msgstr "55" + +msgid "6" +msgstr "6" + +msgid "6 inches/sec." +msgstr "6 po/s" + +msgid "6.00x1.00\"" +msgstr "6,00 x 1,00\"" + +msgid "6.00x2.00\"" +msgstr "6,00 x 2,00\"" + +msgid "6.00x3.00\"" +msgstr "6,00 x 3,00\"" + +msgid "6.00x4.00\"" +msgstr "6,00 x 4,00\"" + +msgid "6.00x5.00\"" +msgstr "6,00 x 5,00\"" + +msgid "6.00x6.00\"" +msgstr "6,00 x 6,00\"" + +msgid "6.00x6.50\"" +msgstr "6,00 x 6,50\"" + +msgid "60" +msgstr "60" + +msgid "60 mm/sec." +msgstr "60 mm/s" + +msgid "600dpi" +msgstr "600 ppp" + +msgid "60dpi" +msgstr "60 ppp" + +msgid "60x72dpi" +msgstr "" + +msgid "65" +msgstr "65" + +msgid "7" +msgstr "7" + +msgid "7 inches/sec." +msgstr "7 po/s" + +msgid "7 x 9" +msgstr "" + +msgid "70" +msgstr "70" + +msgid "75" +msgstr "75" + +msgid "8" +msgstr "8" + +msgid "8 inches/sec." +msgstr "8 po/s" + +msgid "8 x 10" +msgstr "" + +msgid "8.00x1.00\"" +msgstr "8,00 x 1,00\"" + +msgid "8.00x2.00\"" +msgstr "8,00 x 2,00\"" + +msgid "8.00x3.00\"" +msgstr "8,00 x 3,00\"" + +msgid "8.00x4.00\"" +msgstr "8,00 x 4,00\"" + +msgid "8.00x5.00\"" +msgstr "8,00 x 5,00\"" + +msgid "8.00x6.00\"" +msgstr "8,00 x 6,00\"" + +msgid "8.00x6.50\"" +msgstr "8,00 x 6,50\"" + +msgid "80" +msgstr "80" + +msgid "80 mm/sec." +msgstr "80 mm/s" + +msgid "85" +msgstr "85" + +msgid "9" +msgstr "9" + +msgid "9 inches/sec." +msgstr "9 po/s" + +msgid "9 x 11" +msgstr "" + +msgid "9 x 12" +msgstr "" + +msgid "9-Pin Series" +msgstr "Série 9 broches" + +msgid "90" +msgstr "90" + +msgid "95" +msgstr "95" + +msgid "?Invalid help command unknown." +msgstr "" + +#, c-format +msgid "A class named \"%s\" already exists." +msgstr "" + +#, c-format +msgid "A printer named \"%s\" already exists." +msgstr "Une imprimante nommée « %s » existe déjà." + +msgid "A0" +msgstr "A0" + +msgid "A0 Long Edge" +msgstr "A0 Bord long" + +msgid "A1" +msgstr "A1" + +msgid "A1 Long Edge" +msgstr "A1 Bord long" + +msgid "A10" +msgstr "A10" + +msgid "A2" +msgstr "A2" + +msgid "A2 Long Edge" +msgstr "A2 Bord long" + +msgid "A3" +msgstr "A3" + +msgid "A3 Long Edge" +msgstr "A3 Bord long" + +msgid "A3 Oversize" +msgstr "" + +msgid "A3 Oversize Long Edge" +msgstr "" + +msgid "A4" +msgstr "A4" + +msgid "A4 Long Edge" +msgstr "A4 Bord long" + +msgid "A4 Oversize" +msgstr "" + +msgid "A4 Small" +msgstr "" + +msgid "A5" +msgstr "A5" + +msgid "A5 Long Edge" +msgstr "A5 Bord long" + +msgid "A5 Oversize" +msgstr "" + +msgid "A6" +msgstr "A6" + +msgid "A6 Long Edge" +msgstr "A6 Bord long" + +msgid "A7" +msgstr "A7" + +msgid "A8" +msgstr "A8" + +msgid "A9" +msgstr "A9" + +msgid "ANSI A" +msgstr "ANSI A" + +msgid "ANSI B" +msgstr "ANSI B" + +msgid "ANSI C" +msgstr "ANSI C" + +msgid "ANSI D" +msgstr "ANSI D" + +msgid "ANSI E" +msgstr "ANSI E" + +msgid "ARCH C" +msgstr "ARCH C" + +msgid "ARCH C Long Edge" +msgstr "ARCH C Bord long" + +msgid "ARCH D" +msgstr "ARCH D" + +msgid "ARCH D Long Edge" +msgstr "ARCH D Bord long" + +msgid "ARCH E" +msgstr "ARCH E" + +msgid "ARCH E Long Edge" +msgstr "ARCH E Bord long" + +msgid "Accept Jobs" +msgstr "Accepter les tâches" + +msgid "Accepted" +msgstr "Accepté" + +msgid "Add Class" +msgstr "Ajouter une classe" + +msgid "Add Printer" +msgstr "Ajouter une imprimante" + +msgid "Address" +msgstr "Adresse" + +msgid "Administration" +msgstr "Administration" + +msgid "Always" +msgstr "Toujours" + +msgid "AppSocket/HP JetDirect" +msgstr "AppSocket/HP JetDirect" + +msgid "Applicator" +msgstr "Applicator" + +#, c-format +msgid "Attempt to set %s printer-state to bad value %d." +msgstr "" + +#, c-format +msgid "Attribute \"%s\" is in the wrong group." +msgstr "" + +#, c-format +msgid "Attribute \"%s\" is the wrong value type." +msgstr "" + +#, c-format +msgid "Attribute groups are out of order (%x < %x)." +msgstr "" + +msgid "B0" +msgstr "B0" + +msgid "B1" +msgstr "B1" + +msgid "B10" +msgstr "B10" + +msgid "B2" +msgstr "B2" + +msgid "B3" +msgstr "B3" + +msgid "B4" +msgstr "B4" + +msgid "B5" +msgstr "B5" + +msgid "B5 Oversize" +msgstr "" + +msgid "B6" +msgstr "B6" + +msgid "B7" +msgstr "B7" + +msgid "B8" +msgstr "B8" + +msgid "B9" +msgstr "B9" + +#, c-format +msgid "Bad \"printer-id\" value %d." +msgstr "" + +#, c-format +msgid "Bad '%s' value." +msgstr "" + +#, c-format +msgid "Bad 'document-format' value \"%s\"." +msgstr "" + +msgid "Bad CloseUI/JCLCloseUI" +msgstr "" + +msgid "Bad NULL dests pointer" +msgstr "Pointeur de dests NULL incorrect" + +msgid "Bad OpenGroup" +msgstr "OpenGroup erroné" + +msgid "Bad OpenUI/JCLOpenUI" +msgstr "OpenUI/JCLOpenUI erroné" + +msgid "Bad OrderDependency" +msgstr "OrderDependency erroné" + +msgid "Bad PPD cache file." +msgstr "" + +msgid "Bad PPD file." +msgstr "Fichier PPD incorrect." + +msgid "Bad Request" +msgstr "Requête incorrecte." + +msgid "Bad SNMP version number" +msgstr "Numéro de version SNMP incorrect" + +msgid "Bad UIConstraints" +msgstr "" + +msgid "Bad URI." +msgstr "" + +msgid "Bad arguments to function" +msgstr "Paramètres de la fonction incorrects" + +#, c-format +msgid "Bad copies value %d." +msgstr "Valeur « %d » incorrecte pour copies." + +msgid "Bad custom parameter" +msgstr "Paramètre personnalisé incorrect" + +#, c-format +msgid "Bad device-uri \"%s\"." +msgstr "" + +#, c-format +msgid "Bad device-uri scheme \"%s\"." +msgstr "" + +#, c-format +msgid "Bad document-format \"%s\"." +msgstr "" + +#, c-format +msgid "Bad document-format-default \"%s\"." +msgstr "" + +msgid "Bad filename buffer" +msgstr "" + +msgid "Bad hostname/address in URI" +msgstr "" + +#, c-format +msgid "Bad job-name value: %s" +msgstr "" + +msgid "Bad job-name value: Wrong type or count." +msgstr "" + +msgid "Bad job-priority value." +msgstr "" + +#, c-format +msgid "Bad job-sheets value \"%s\"." +msgstr "" + +msgid "Bad job-sheets value type." +msgstr "" + +msgid "Bad job-state value." +msgstr "" + +#, c-format +msgid "Bad job-uri \"%s\"." +msgstr "" + +#, c-format +msgid "Bad notify-pull-method \"%s\"." +msgstr "" + +#, c-format +msgid "Bad notify-recipient-uri \"%s\"." +msgstr "" + +#, c-format +msgid "Bad notify-user-data \"%s\"." +msgstr "" + +#, c-format +msgid "Bad number-up value %d." +msgstr "Valeur de number-up %d incorrecte." + +#, c-format +msgid "Bad page-ranges values %d-%d." +msgstr "Intervalle de pages erroné : %d-%d." + +msgid "Bad port number in URI" +msgstr "Numéro de port incorrect dans l'URI" + +#, c-format +msgid "Bad port-monitor \"%s\"." +msgstr "" + +#, c-format +msgid "Bad printer-state value %d." +msgstr "" + +msgid "Bad printer-uri." +msgstr "" + +#, c-format +msgid "Bad request ID %d." +msgstr "" + +#, c-format +msgid "Bad request version number %d.%d." +msgstr "" + +msgid "Bad resource in URI" +msgstr "" + +msgid "Bad scheme in URI" +msgstr "" + +msgid "Bad username in URI" +msgstr "" + +msgid "Bad value string" +msgstr "" + +msgid "Bad/empty URI" +msgstr "" + +msgid "Banners" +msgstr "Bannières" + +msgid "Bond Paper" +msgstr "Papier pour titres" + +msgid "Booklet" +msgstr "" + +#, c-format +msgid "Boolean expected for waiteof option \"%s\"." +msgstr "" + +msgid "Buffer overflow detected, aborting." +msgstr "" + +msgid "CMYK" +msgstr "CMJN" + +msgid "CPCL Label Printer" +msgstr "Imprimante pour étiquettes CPCL" + +msgid "Cancel Jobs" +msgstr "Annuler les tâches" + +msgid "Canceling print job." +msgstr "Annulation de la tâche d'impression." + +msgid "Cannot change printer-is-shared for remote queues." +msgstr "" + +msgid "Cannot share a remote Kerberized printer." +msgstr "" + +msgid "Cassette" +msgstr "" + +msgid "Change Settings" +msgstr "Modifier les paramètres" + +#, c-format +msgid "Character set \"%s\" not supported." +msgstr "Le jeu de caractères \"%s\" n'est pas disponible." + +msgid "Classes" +msgstr "Classes" + +msgid "Clean Print Heads" +msgstr "Nettoyer les têtes d’impression" + +msgid "Close-Job doesn't support the job-uri attribute." +msgstr "" + +msgid "Color" +msgstr "Couleur" + +msgid "Color Mode" +msgstr "Mode de couleur" + +msgid "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" +msgstr "" + +msgid "Community name uses indefinite length" +msgstr "Le nom de la communauté s’avère être de longueur indéfinie" + +msgid "Connected to printer." +msgstr "Connecté à l'imprimante." + +msgid "Connecting to printer." +msgstr "Connexion à l'imprimante en cours." + +msgid "Continue" +msgstr "Continuer" + +msgid "Continuous" +msgstr "Continu" + +msgid "Control file sent successfully." +msgstr "" + +msgid "Copying print data." +msgstr "" + +msgid "Created" +msgstr "Créé" + +msgid "Credentials do not validate against site CA certificate." +msgstr "" + +msgid "Credentials have expired." +msgstr "" + +msgid "Custom" +msgstr "Personnalisation" + +msgid "CustominCutInterval" +msgstr "CustominCutInterval" + +msgid "CustominTearInterval" +msgstr "CustominTearInterval" + +msgid "Cut" +msgstr "Couper" + +msgid "Cutter" +msgstr "Cutter" + +msgid "Dark" +msgstr "Foncé" + +msgid "Darkness" +msgstr "Tons foncés" + +msgid "Data file sent successfully." +msgstr "" + +msgid "Deep Color" +msgstr "" + +msgid "Deep Gray" +msgstr "" + +msgid "Delete Class" +msgstr "Supprimer la classe" + +msgid "Delete Printer" +msgstr "Supprimer l’imprimante" + +msgid "DeskJet Series" +msgstr "Série DeskJet" + +#, c-format +msgid "Destination \"%s\" is not accepting jobs." +msgstr "La destination « %s » n’accepte pas de tâche." + +msgid "Device CMYK" +msgstr "" + +msgid "Device Gray" +msgstr "" + +msgid "Device RGB" +msgstr "" + +#, c-format +msgid "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" +msgstr "" + +msgid "Direct Thermal Media" +msgstr "Papier pour impression thermique directe" + +#, c-format +msgid "Directory \"%s\" contains a relative path." +msgstr "Le répertoire « %s » contient un chemin relatif." + +#, c-format +msgid "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "" +"Les permissions du répertoire « %s » sont trop souples (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "Directory \"%s\" is a file." +msgstr "Le répertoire « %s » est un fichier." + +#, c-format +msgid "Directory \"%s\" not available: %s" +msgstr "Le répertoire « %s » n'est pas disponible : %s" + +#, c-format +msgid "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "" +"Les permissions du répertoire « %s » sont correctes (0%o/uid=%d/gid=%d)." + +msgid "Disabled" +msgstr "Désactivé" + +#, c-format +msgid "Document #%d does not exist in job #%d." +msgstr "" + +msgid "Draft" +msgstr "Brouillon" + +msgid "Duplexer" +msgstr "Duplexeur" + +msgid "Dymo" +msgstr "Dymo" + +msgid "EPL1 Label Printer" +msgstr "Imprimante pour étiquettes EPL1" + +msgid "EPL2 Label Printer" +msgstr "Imprimante pour étiquettes EPL2" + +msgid "Edit Configuration File" +msgstr "Modifier le fichier de configuration" + +msgid "Encryption is not supported." +msgstr "Chiffrement indisponible." + +#. TRANSLATORS: Banner/cover sheet after the print job. +msgid "Ending Banner" +msgstr "Fin de la bannière" + +msgid "English" +msgstr "French" + +msgid "" +"Enter your username and password or the root username and password to access " +"this page. If you are using Kerberos authentication, make sure you have a " +"valid Kerberos ticket." +msgstr "" +"Entrez votre nom et mot de passe ou ceux de root pour accéder à cette page. " +"Si vous utilisez une authentifiation Kerberos, vérifiez que vous disposez " +"d'un ticket Kerberos valide." + +msgid "Envelope #10" +msgstr "" + +msgid "Envelope #11" +msgstr "" + +msgid "Envelope #12" +msgstr "" + +msgid "Envelope #14" +msgstr "" + +msgid "Envelope #9" +msgstr "" + +msgid "Envelope B4" +msgstr "" + +msgid "Envelope B5" +msgstr "" + +msgid "Envelope B6" +msgstr "" + +msgid "Envelope C0" +msgstr "" + +msgid "Envelope C1" +msgstr "" + +msgid "Envelope C2" +msgstr "" + +msgid "Envelope C3" +msgstr "" + +msgid "Envelope C4" +msgstr "" + +msgid "Envelope C5" +msgstr "" + +msgid "Envelope C6" +msgstr "" + +msgid "Envelope C65" +msgstr "" + +msgid "Envelope C7" +msgstr "" + +msgid "Envelope Choukei 3" +msgstr "" + +msgid "Envelope Choukei 3 Long Edge" +msgstr "" + +msgid "Envelope Choukei 4" +msgstr "" + +msgid "Envelope Choukei 4 Long Edge" +msgstr "" + +msgid "Envelope DL" +msgstr "" + +msgid "Envelope Feed" +msgstr "Alimentation au format enveloppe" + +msgid "Envelope Invite" +msgstr "" + +msgid "Envelope Italian" +msgstr "Enveloppe italienne" + +msgid "Envelope Kaku2" +msgstr "" + +msgid "Envelope Kaku2 Long Edge" +msgstr "" + +msgid "Envelope Kaku3" +msgstr "" + +msgid "Envelope Kaku3 Long Edge" +msgstr "" + +msgid "Envelope Monarch" +msgstr "" + +msgid "Envelope PRC1" +msgstr "" + +msgid "Envelope PRC1 Long Edge" +msgstr "" + +msgid "Envelope PRC10" +msgstr "" + +msgid "Envelope PRC10 Long Edge" +msgstr "" + +msgid "Envelope PRC2" +msgstr "" + +msgid "Envelope PRC2 Long Edge" +msgstr "" + +msgid "Envelope PRC3" +msgstr "" + +msgid "Envelope PRC3 Long Edge" +msgstr "" + +msgid "Envelope PRC4" +msgstr "" + +msgid "Envelope PRC4 Long Edge" +msgstr "" + +msgid "Envelope PRC5 Long Edge" +msgstr "" + +msgid "Envelope PRC5PRC5" +msgstr "" + +msgid "Envelope PRC6" +msgstr "" + +msgid "Envelope PRC6 Long Edge" +msgstr "" + +msgid "Envelope PRC7" +msgstr "" + +msgid "Envelope PRC7 Long Edge" +msgstr "" + +msgid "Envelope PRC8" +msgstr "" + +msgid "Envelope PRC8 Long Edge" +msgstr "" + +msgid "Envelope PRC9" +msgstr "" + +msgid "Envelope PRC9 Long Edge" +msgstr "" + +msgid "Envelope Personal" +msgstr "" + +msgid "Envelope You4" +msgstr "" + +msgid "Envelope You4 Long Edge" +msgstr "" + +msgid "Environment Variables:" +msgstr "Variables d'environnement :" + +msgid "Epson" +msgstr "Epson" + +msgid "Error Policy" +msgstr "Règles d’erreur" + +msgid "Error reading raster data." +msgstr "" + +msgid "Error sending raster data." +msgstr "" + +msgid "Error: need hostname after \"-h\" option." +msgstr "" + +msgid "European Fanfold" +msgstr "" + +msgid "European Fanfold Legal" +msgstr "" + +msgid "Every 10 Labels" +msgstr "Toutes les 10 étiquettes" + +msgid "Every 2 Labels" +msgstr "Toutes les 2 étiquettes" + +msgid "Every 3 Labels" +msgstr "Toutes les 3 étiquettes" + +msgid "Every 4 Labels" +msgstr "Toutes les 4 étiquettes" + +msgid "Every 5 Labels" +msgstr "Toutes les 5 étiquettes" + +msgid "Every 6 Labels" +msgstr "Toutes les 6 étiquettes" + +msgid "Every 7 Labels" +msgstr "Toutes les 7 étiquettes" + +msgid "Every 8 Labels" +msgstr "Toutes les 8 étiquettes" + +msgid "Every 9 Labels" +msgstr "Toutes les 9 étiquettes" + +msgid "Every Label" +msgstr "Chaque étiquette" + +msgid "Executive" +msgstr "" + +msgid "Expectation Failed" +msgstr "Échec de la condition de valeur attendue" + +msgid "Expressions:" +msgstr "Expressions :" + +msgid "Fast Grayscale" +msgstr "Niveaux de gris rapide" + +#, c-format +msgid "File \"%s\" contains a relative path." +msgstr "" + +#, c-format +msgid "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "" + +#, c-format +msgid "File \"%s\" is a directory." +msgstr "" + +#, c-format +msgid "File \"%s\" not available: %s" +msgstr "" + +#, c-format +msgid "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "" + +msgid "File Folder" +msgstr "" + +#, c-format +msgid "" +"File device URIs have been disabled. To enable, see the FileDevice directive " +"in \"%s/cups-files.conf\"." +msgstr "" + +#, c-format +msgid "Finished page %d." +msgstr "" + +msgid "Finishing Preset" +msgstr "" + +msgid "Fold" +msgstr "" + +msgid "Folio" +msgstr "Folio" + +msgid "Forbidden" +msgstr "Interdit" + +msgid "Found" +msgstr "" + +msgid "General" +msgstr "Général" + +msgid "Generic" +msgstr "Générique" + +msgid "Get-Response-PDU uses indefinite length" +msgstr "Get-Response-PDU s’avère être de longueur indéfinie" + +msgid "Glossy Paper" +msgstr "Papier brillant" + +msgid "Got a printer-uri attribute but no job-id." +msgstr "" + +msgid "Grayscale" +msgstr "Niveaux de gris" + +msgid "HP" +msgstr "HP" + +msgid "Hanging Folder" +msgstr "Dossier suspendu" + +msgid "Hash buffer too small." +msgstr "" + +msgid "Help file not in index." +msgstr "" + +msgid "High" +msgstr "" + +msgid "IPP 1setOf attribute with incompatible value tags." +msgstr "" + +msgid "IPP attribute has no name." +msgstr "" + +msgid "IPP attribute is not a member of the message." +msgstr "" + +msgid "IPP begCollection value not 0 bytes." +msgstr "" + +msgid "IPP boolean value not 1 byte." +msgstr "" + +msgid "IPP date value not 11 bytes." +msgstr "" + +msgid "IPP endCollection value not 0 bytes." +msgstr "" + +msgid "IPP enum value not 4 bytes." +msgstr "" + +msgid "IPP extension tag larger than 0x7FFFFFFF." +msgstr "" + +msgid "IPP integer value not 4 bytes." +msgstr "" + +msgid "IPP language length overflows value." +msgstr "" + +msgid "IPP language length too large." +msgstr "" + +msgid "IPP member name is not empty." +msgstr "" + +msgid "IPP memberName value is empty." +msgstr "" + +msgid "IPP memberName with no attribute." +msgstr "" + +msgid "IPP name larger than 32767 bytes." +msgstr "" + +msgid "IPP nameWithLanguage value less than minimum 4 bytes." +msgstr "" + +msgid "IPP octetString length too large." +msgstr "" + +msgid "IPP rangeOfInteger value not 8 bytes." +msgstr "" + +msgid "IPP resolution value not 9 bytes." +msgstr "" + +msgid "IPP string length overflows value." +msgstr "" + +msgid "IPP textWithLanguage value less than minimum 4 bytes." +msgstr "" + +msgid "IPP value larger than 32767 bytes." +msgstr "" + +msgid "IPPFIND_SERVICE_DOMAIN Domain name" +msgstr "" + +msgid "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" +msgstr "" + +msgid "IPPFIND_SERVICE_NAME Service instance name" +msgstr "" + +msgid "IPPFIND_SERVICE_PORT Port number" +msgstr "" + +msgid "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" +msgstr "" + +msgid "IPPFIND_SERVICE_SCHEME URI scheme" +msgstr "" + +msgid "IPPFIND_SERVICE_URI URI" +msgstr "" + +msgid "IPPFIND_TXT_* Value of TXT record key" +msgstr "" + +msgid "ISOLatin1" +msgstr "utf-8" + +msgid "Illegal control character" +msgstr "Caractère de contrôle interdit" + +msgid "Illegal main keyword string" +msgstr "Mot-clé essentiel interdit" + +msgid "Illegal option keyword string" +msgstr "Mot-clé d’option interdit" + +msgid "Illegal translation string" +msgstr "Traduction interdite" + +msgid "Illegal whitespace character" +msgstr "Caractère « espace blanc » interdit" + +msgid "Installable Options" +msgstr "Options installables" + +msgid "Installed" +msgstr "Installée" + +msgid "IntelliBar Label Printer" +msgstr "Imprimante pour étiquettes IntelliBar" + +msgid "Intellitech" +msgstr "Intellitech" + +msgid "Internal Server Error" +msgstr "Erreur interne du serveur" + +msgid "Internal error" +msgstr "Erreur interne" + +msgid "Internet Postage 2-Part" +msgstr "Affranchissement Internet en 2 parties" + +msgid "Internet Postage 3-Part" +msgstr "Affranchissement Internet en 3 parties" + +msgid "Internet Printing Protocol" +msgstr "Internet Printing Protocol" + +msgid "Invalid group tag." +msgstr "" + +msgid "Invalid media name arguments." +msgstr "" + +msgid "Invalid media size." +msgstr "" + +msgid "Invalid named IPP attribute in collection." +msgstr "" + +msgid "Invalid ppd-name value." +msgstr "" + +#, c-format +msgid "Invalid printer command \"%s\"." +msgstr "" + +msgid "JCL" +msgstr "JCL ( Langage de contrôle de tâche )" + +msgid "JIS B0" +msgstr "" + +msgid "JIS B1" +msgstr "" + +msgid "JIS B10" +msgstr "" + +msgid "JIS B2" +msgstr "" + +msgid "JIS B3" +msgstr "" + +msgid "JIS B4" +msgstr "" + +msgid "JIS B4 Long Edge" +msgstr "" + +msgid "JIS B5" +msgstr "" + +msgid "JIS B5 Long Edge" +msgstr "" + +msgid "JIS B6" +msgstr "" + +msgid "JIS B6 Long Edge" +msgstr "" + +msgid "JIS B7" +msgstr "" + +msgid "JIS B8" +msgstr "" + +msgid "JIS B9" +msgstr "" + +#, c-format +msgid "Job #%d cannot be restarted - no files." +msgstr "" + +#, c-format +msgid "Job #%d does not exist." +msgstr "La tâche n°%d n'existe pas." + +#, c-format +msgid "Job #%d is already aborted - can't cancel." +msgstr "La tâche n°%d est déjà abandonnée - impossible de l’annuler." + +#, c-format +msgid "Job #%d is already canceled - can't cancel." +msgstr "La tâche n°%d est déjà annulée - impossible de l’annuler." + +#, c-format +msgid "Job #%d is already completed - can't cancel." +msgstr "La tâche n°%d est déjà terminée - impossible de l’annuler." + +#, c-format +msgid "Job #%d is finished and cannot be altered." +msgstr "La tâche n°%d est terminée et ne peut être modifiée." + +#, c-format +msgid "Job #%d is not complete." +msgstr "La tâche n°%d n'est pas terminée." + +#, c-format +msgid "Job #%d is not held for authentication." +msgstr "" + +#, c-format +msgid "Job #%d is not held." +msgstr "" + +msgid "Job Completed" +msgstr "terminée" + +msgid "Job Created" +msgstr "Tâche créée" + +msgid "Job Options Changed" +msgstr "Options de la tâche modifiées" + +msgid "Job Stopped" +msgstr "arrêtée" + +msgid "Job is completed and cannot be changed." +msgstr "La tâche est terminée et ne peut être modifiée." + +msgid "Job operation failed" +msgstr "L’opération sur la tâche a échoué :" + +msgid "Job state cannot be changed." +msgstr "L’état de la tâche ne peut pas être modifié." + +msgid "Job subscriptions cannot be renewed." +msgstr "" + +msgid "Jobs" +msgstr "Tâches" + +msgid "LPD/LPR Host or Printer" +msgstr "Hôte ou imprimante LPD/LPR" + +msgid "" +"LPDEST environment variable names default destination that does not exist." +msgstr "" + +msgid "Label Printer" +msgstr "Imprimante pour étiquettes" + +msgid "Label Top" +msgstr "Étiquette supérieure" + +#, c-format +msgid "Language \"%s\" not supported." +msgstr "" + +msgid "Large Address" +msgstr "Adresse étendue" + +msgid "LaserJet Series PCL 4/5" +msgstr "LaserJet série PCL 4/5" + +msgid "Letter Oversize" +msgstr "" + +msgid "Letter Oversize Long Edge" +msgstr "" + +msgid "Light" +msgstr "Clair" + +msgid "Line longer than the maximum allowed (255 characters)" +msgstr "Ligne dépassant la longueur maximale autorisée (255 caractères)" + +msgid "List Available Printers" +msgstr "" + +#, c-format +msgid "Listening on port %d." +msgstr "" + +msgid "Local printer created." +msgstr "" + +msgid "Long-Edge (Portrait)" +msgstr "Bord le plus long (Portrait)" + +msgid "Looking for printer." +msgstr "Recherche d'imprimante en cours." + +msgid "Manual Feed" +msgstr "" + +msgid "Media Size" +msgstr "Taille du papier" + +msgid "Media Source" +msgstr "Source du papier" + +msgid "Media Tracking" +msgstr "Crénage du papier" + +msgid "Media Type" +msgstr "Type de papier" + +msgid "Medium" +msgstr "Moyen" + +msgid "Memory allocation error" +msgstr "Erreur d’allocation de mémoire" + +msgid "Missing CloseGroup" +msgstr "" + +msgid "Missing CloseUI/JCLCloseUI" +msgstr "" + +msgid "Missing PPD-Adobe-4.x header" +msgstr "Entête PPD-Adobe-4.x manquant" + +msgid "Missing asterisk in column 1" +msgstr "Astérisque manquant à la colonne 1" + +msgid "Missing document-number attribute." +msgstr "" + +msgid "Missing form variable" +msgstr "" + +msgid "Missing last-document attribute in request." +msgstr "" + +msgid "Missing media or media-col." +msgstr "" + +msgid "Missing media-size in media-col." +msgstr "" + +msgid "Missing notify-subscription-ids attribute." +msgstr "" + +msgid "Missing option keyword" +msgstr "" + +msgid "Missing requesting-user-name attribute." +msgstr "" + +#, c-format +msgid "Missing required attribute \"%s\"." +msgstr "" + +msgid "Missing required attributes." +msgstr "" + +msgid "Missing resource in URI" +msgstr "" + +msgid "Missing scheme in URI" +msgstr "" + +msgid "Missing value string" +msgstr "Chaîne de valeur manquante" + +msgid "Missing x-dimension in media-size." +msgstr "" + +msgid "Missing y-dimension in media-size." +msgstr "" + +#, c-format +msgid "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" +msgstr "" + +msgid "Modifiers:" +msgstr "" + +msgid "Modify Class" +msgstr "Modifier la classe" + +msgid "Modify Printer" +msgstr "Modifier l’imprimante" + +msgid "Move All Jobs" +msgstr "Transférer toutes les tâches" + +msgid "Move Job" +msgstr "Transférer la tâche" + +msgid "Moved Permanently" +msgstr "Transférées de façon permanente" + +msgid "NULL PPD file pointer" +msgstr "Pointeur de fichier PPD NULL." + +msgid "Name OID uses indefinite length" +msgstr "L’OID du nom s’avère être de longueur indéfinie" + +msgid "Nested classes are not allowed." +msgstr "" + +msgid "Never" +msgstr "Jamais" + +msgid "New credentials are not valid for name." +msgstr "" + +msgid "New credentials are older than stored credentials." +msgstr "" + +msgid "No" +msgstr "Non" + +msgid "No Content" +msgstr "Aucun contenu" + +msgid "No IPP attributes." +msgstr "" + +msgid "No PPD name" +msgstr "" + +msgid "No VarBind SEQUENCE" +msgstr "Aucune SEQUENCE VarBind" + +msgid "No active connection" +msgstr "Aucune connexion active" + +msgid "No active connection." +msgstr "Aucune connexion active." + +#, c-format +msgid "No active jobs on %s." +msgstr "Aucune tâche active sur %s." + +msgid "No attributes in request." +msgstr "" + +msgid "No authentication information provided." +msgstr "" + +msgid "No common name specified." +msgstr "" + +msgid "No community name" +msgstr "Aucun nom de communauté" + +msgid "No default destination." +msgstr "" + +msgid "No default printer." +msgstr "Aucune imprimante par défaut." + +msgid "No destinations added." +msgstr "Aucune destination ajoutée." + +msgid "No device URI found in argv[0] or in DEVICE_URI environment variable." +msgstr "" + +msgid "No error-index" +msgstr "Paramètre error-index absent" + +msgid "No error-status" +msgstr "" + +msgid "No file in print request." +msgstr "" + +msgid "No modification time" +msgstr "" + +msgid "No name OID" +msgstr "Aucun OID de nom" + +msgid "No pages were found." +msgstr "" + +msgid "No printer name" +msgstr "" + +msgid "No printer-uri found" +msgstr "" + +msgid "No printer-uri found for class" +msgstr "" + +msgid "No printer-uri in request." +msgstr "" + +msgid "No request URI." +msgstr "" + +msgid "No request protocol version." +msgstr "" + +msgid "No request sent." +msgstr "" + +msgid "No request-id" +msgstr "Paramètre request-id absent" + +msgid "No stored credentials, not valid for name." +msgstr "" + +msgid "No subscription attributes in request." +msgstr "" + +msgid "No subscriptions found." +msgstr "Aucun abonnement trouvé." + +msgid "No variable-bindings SEQUENCE" +msgstr "Aucune SEQUENCE variable-bindings" + +msgid "No version number" +msgstr "Aucun numéro de version" + +msgid "Non-continuous (Mark sensing)" +msgstr "Non continu (détection de marque)" + +msgid "Non-continuous (Web sensing)" +msgstr "Non continu (détection Web)" + +msgid "None" +msgstr "Aucun" + +msgid "Normal" +msgstr "Normal" + +msgid "Not Found" +msgstr "Introuvable" + +msgid "Not Implemented" +msgstr "Non implémentée" + +msgid "Not Installed" +msgstr "Non installée" + +msgid "Not Modified" +msgstr "Non modifiée" + +msgid "Not Supported" +msgstr "Non prise en charge" + +msgid "Not allowed to print." +msgstr "Impression interdite" + +msgid "Note" +msgstr "Remarque" + +msgid "OK" +msgstr "OK" + +msgid "Off (1-Sided)" +msgstr "Désactivé (recto)" + +msgid "Oki" +msgstr "Oki" + +msgid "Online Help" +msgstr "Aide en ligne" + +msgid "Only local users can create a local printer." +msgstr "Seuls les utilisateurs locaux peuvent créer des imprimantes locales." + +#, c-format +msgid "Open of %s failed: %s" +msgstr "L’ouverture de %s a échoué : %s" + +msgid "OpenGroup without a CloseGroup first" +msgstr "OpenGroup sans CloseGroup préalable" + +msgid "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" +msgstr "OpenUI/JCLOpenUI sans CloseUI/JCLCloseUI préalable" + +msgid "Operation Policy" +msgstr "Règles de fonctionnement" + +#, c-format +msgid "Option \"%s\" cannot be included via %%%%IncludeFeature." +msgstr "" + +msgid "Options Installed" +msgstr "Options installées" + +msgid "Options:" +msgstr "Options" + +msgid "Other Media" +msgstr "" + +msgid "Other Tray" +msgstr "" + +msgid "Out of date PPD cache file." +msgstr "" + +msgid "Out of memory." +msgstr "" + +msgid "Output Mode" +msgstr "Mode de sortie" + +msgid "PCL Laser Printer" +msgstr "Imprimante laser PCL" + +msgid "PRC16K" +msgstr "PRC16K" + +msgid "PRC16K Long Edge" +msgstr "" + +msgid "PRC32K" +msgstr "PRC32K" + +msgid "PRC32K Long Edge" +msgstr "" + +msgid "PRC32K Oversize" +msgstr "" + +msgid "PRC32K Oversize Long Edge" +msgstr "" + +msgid "" +"PRINTER environment variable names default destination that does not exist." +msgstr "" + +msgid "Packet does not contain a Get-Response-PDU" +msgstr "Le paquet ne contient aucun paramètre Get-Response-PDU" + +msgid "Packet does not start with SEQUENCE" +msgstr "Le paquet ne commence pas par SEQUENCE" + +msgid "ParamCustominCutInterval" +msgstr "ParamCustominCutInterval" + +msgid "ParamCustominTearInterval" +msgstr "ParamCustominTearInterval" + +#, c-format +msgid "Password for %s on %s? " +msgstr "Mot de passe pour %s sur %s ? " + +msgid "Pause Class" +msgstr "Suspendre la classe" + +msgid "Pause Printer" +msgstr "Suspendre l’imprimante" + +msgid "Peel-Off" +msgstr "Décoller" + +msgid "Photo" +msgstr "Photo" + +msgid "Photo Labels" +msgstr "Étiquettes photo" + +msgid "Plain Paper" +msgstr "" + +msgid "Policies" +msgstr "Règles" + +msgid "Port Monitor" +msgstr "Moniteur de port" + +msgid "PostScript Printer" +msgstr "Imprimante PostScript" + +msgid "Postcard" +msgstr "Carte postale" + +msgid "Postcard Double" +msgstr "" + +msgid "Postcard Double Long Edge" +msgstr "" + +msgid "Postcard Long Edge" +msgstr "" + +msgid "Preparing to print." +msgstr "" + +msgid "Print Density" +msgstr "Densité d’impression" + +msgid "Print Job:" +msgstr "Tâche d’impression :" + +msgid "Print Mode" +msgstr "Mode d’impression" + +msgid "Print Quality" +msgstr "Qualité d'impression" + +msgid "Print Rate" +msgstr "Taux d’impression" + +msgid "Print Self-Test Page" +msgstr "Imprimer une page d’autotest" + +msgid "Print Speed" +msgstr "Vitesse d’impression" + +msgid "Print Test Page" +msgstr "Imprimer la page de test" + +msgid "Print and Cut" +msgstr "Impression à découper" + +msgid "Print and Tear" +msgstr "Impression à détacher" + +msgid "Print file sent." +msgstr "" + +msgid "Print job canceled at printer." +msgstr "" + +msgid "Print job too large." +msgstr "" + +msgid "Print job was not accepted." +msgstr "" + +#, c-format +msgid "Printer \"%s\" already exists." +msgstr "" + +msgid "Printer Added" +msgstr "ajoutée" + +msgid "Printer Default" +msgstr "par défaut" + +msgid "Printer Deleted" +msgstr "supprimée" + +msgid "Printer Modified" +msgstr "modifiée" + +msgid "Printer Paused" +msgstr "en pause" + +msgid "Printer Settings" +msgstr "Réglages de l’imprimante" + +msgid "Printer cannot print supplied content." +msgstr "" + +msgid "Printer cannot print with supplied options." +msgstr "" + +msgid "Printer does not support required IPP attributes or document formats." +msgstr "" + +msgid "Printer:" +msgstr "Imprimante :" + +msgid "Printers" +msgstr "" + +#, c-format +msgid "Printing page %d, %u%% complete." +msgstr "" + +msgid "Punch" +msgstr "" + +msgid "Quarto" +msgstr "Quarto" + +msgid "Quota limit reached." +msgstr "" + +msgid "Rank Owner Job File(s) Total Size" +msgstr "" + +msgid "Reject Jobs" +msgstr "Refuser les tâches" + +#, c-format +msgid "Remote host did not accept control file (%d)." +msgstr "" + +#, c-format +msgid "Remote host did not accept data file (%d)." +msgstr "" + +msgid "Reprint After Error" +msgstr "Réimprimer après erreur" + +msgid "Request Entity Too Large" +msgstr "Entité de requête trop volumineuse" + +msgid "Resolution" +msgstr "Résolution" + +msgid "Resume Class" +msgstr "Relancer la classe" + +msgid "Resume Printer" +msgstr "Relancer l’imprimante" + +msgid "Return Address" +msgstr "Renvoyer l’adresse" + +msgid "Rewind" +msgstr "Rembobiner" + +msgid "SEQUENCE uses indefinite length" +msgstr "SEQUENCE s’avère être de longueur indéfinie" + +msgid "SSL/TLS Negotiation Error" +msgstr "Erreur de négotiation SSL/TLS" + +msgid "See Other" +msgstr "Autres" + +msgid "See remote printer." +msgstr "" + +msgid "Self-signed credentials are blocked." +msgstr "" + +msgid "Sending data to printer." +msgstr "" + +msgid "Server Restarted" +msgstr "Le serveur a redémarré" + +msgid "Server Security Auditing" +msgstr "Vérification de la sécurité du serveur" + +msgid "Server Started" +msgstr "Le serveur a démarré" + +msgid "Server Stopped" +msgstr "Le serveur s’est arrêté" + +msgid "Server credentials not set." +msgstr "" + +msgid "Service Unavailable" +msgstr "Service indisponible" + +msgid "Set Allowed Users" +msgstr "Définir les autorisations" + +msgid "Set As Server Default" +msgstr "Définir comme valeur par défaut pour le serveur" + +msgid "Set Class Options" +msgstr "Définir les options de classe" + +msgid "Set Printer Options" +msgstr "Définir les options de l’imprimante" + +msgid "Set Publishing" +msgstr "Définir la publication" + +msgid "Shipping Address" +msgstr "Adresse de livraison" + +msgid "Short-Edge (Landscape)" +msgstr "Bord le plus court (paysage)" + +msgid "Special Paper" +msgstr "Papier spécial" + +#, c-format +msgid "Spooling job, %.0f%% complete." +msgstr "" + +msgid "Standard" +msgstr "Standard" + +msgid "Staple" +msgstr "" + +#. TRANSLATORS: Banner/cover sheet before the print job. +msgid "Starting Banner" +msgstr "Début de la bannière" + +#, c-format +msgid "Starting page %d." +msgstr "" + +msgid "Statement" +msgstr "Déclaration" + +#, c-format +msgid "Subscription #%d does not exist." +msgstr "" + +msgid "Substitutions:" +msgstr "" + +msgid "Super A" +msgstr "" + +msgid "Super B" +msgstr "Super B" + +msgid "Super B/A3" +msgstr "Super B/A3" + +msgid "Switching Protocols" +msgstr "Permuter les protocoles" + +msgid "Tabloid" +msgstr "Tabloïd" + +msgid "Tabloid Oversize" +msgstr "" + +msgid "Tabloid Oversize Long Edge" +msgstr "" + +msgid "Tear" +msgstr "Détacher" + +msgid "Tear-Off" +msgstr "Détacher" + +msgid "Tear-Off Adjust Position" +msgstr "Position d’ajustement du détachement" + +#, c-format +msgid "The \"%s\" attribute is required for print jobs." +msgstr "" + +#, c-format +msgid "The %s attribute cannot be provided with job-ids." +msgstr "" + +#, c-format +msgid "" +"The '%s' Job Status attribute cannot be supplied in a job creation request." +msgstr "" + +#, c-format +msgid "" +"The '%s' operation attribute cannot be supplied in a Create-Job request." +msgstr "" + +#, c-format +msgid "The PPD file \"%s\" could not be found." +msgstr "Le fichier PPD « %s » n’a pu être trouvé." + +#, c-format +msgid "The PPD file \"%s\" could not be opened: %s" +msgstr "Le fichier PPD « %s » n’a pu être ouvert : %s" + +msgid "The PPD file could not be opened." +msgstr "Le fichier PPD n’a pu être ouvert." + +msgid "" +"The class name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/), or the pound sign (#)." +msgstr "" +"Le nom de classe doit comporter au plus 127 caractères, tous imprimables, " +"sans espace, « / » et « # »." + +msgid "" +"The notify-lease-duration attribute cannot be used with job subscriptions." +msgstr "" +"L’attribut « notify-lease-duration » ne peut pas être utilisé dans un " +"abonnement de tâche." + +#, c-format +msgid "The notify-user-data value is too large (%d > 63 octets)." +msgstr "" + +msgid "The printer configuration is incorrect or the printer no longer exists." +msgstr "" + +msgid "The printer did not respond." +msgstr "" + +msgid "The printer is in use." +msgstr "" + +msgid "The printer is not connected." +msgstr "" + +msgid "The printer is not responding." +msgstr "" + +msgid "The printer is now connected." +msgstr "" + +msgid "The printer is now online." +msgstr "" + +msgid "The printer is offline." +msgstr "" + +msgid "The printer is unreachable at this time." +msgstr "" + +msgid "The printer may not exist or is unavailable at this time." +msgstr "" + +msgid "" +"The printer name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the " +"pound sign (#)." +msgstr "" + +msgid "The printer or class does not exist." +msgstr "" + +msgid "The printer or class is not shared." +msgstr "" + +#, c-format +msgid "The printer-uri \"%s\" contains invalid characters." +msgstr "Le paramètre printer-uri « %s » contient des caractères non valides." + +msgid "The printer-uri attribute is required." +msgstr "" + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." +msgstr "" +"L’attribut « printer-uri » doit se présenter sous la forme « ipp://HOSTNAME/" +"classes/CLASSNAME »." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." +msgstr "" +"L’attribut « printer-uri » doit se présenter sous la forme « ipp://HOSTNAME/" +"printers/PRINTERNAME »." + +msgid "" +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to " +"enable it." +msgstr "" + +#, c-format +msgid "The which-jobs value \"%s\" is not supported." +msgstr "" + +msgid "There are too many subscriptions." +msgstr "Les abonnements sont trop nombreux." + +msgid "There was an unrecoverable USB error." +msgstr "" + +msgid "Thermal Transfer Media" +msgstr "Papier pour transfert thermique" + +msgid "Too many active jobs." +msgstr "Trop de tâches en cours." + +#, c-format +msgid "Too many job-sheets values (%d > 2)." +msgstr "" + +#, c-format +msgid "Too many printer-state-reasons values (%d > %d)." +msgstr "" + +msgid "Transparency" +msgstr "Transparence" + +msgid "Tray" +msgstr "Bac" + +msgid "Tray 1" +msgstr "Bac 1" + +msgid "Tray 2" +msgstr "Bac 2" + +msgid "Tray 3" +msgstr "Bac 3" + +msgid "Tray 4" +msgstr "Bac 4" + +msgid "Trust on first use is disabled." +msgstr "" + +msgid "URI Too Long" +msgstr "URI trop long" + +msgid "URI too large" +msgstr "" + +msgid "US Fanfold" +msgstr "" + +msgid "US Ledger" +msgstr "US Ledger" + +msgid "US Legal" +msgstr "US Légal" + +msgid "US Legal Oversize" +msgstr "" + +msgid "US Letter" +msgstr "US Lettre" + +msgid "US Letter Long Edge" +msgstr "US Lettre Bord long" + +msgid "US Letter Oversize" +msgstr "" + +msgid "US Letter Oversize Long Edge" +msgstr "" + +msgid "US Letter Small" +msgstr "" + +msgid "Unable to access cupsd.conf file" +msgstr "Impossible d’accéder au fichier cupsd.conf :" + +msgid "Unable to access help file." +msgstr "Impossible d’accéder au fichier d’aide :" + +msgid "Unable to add class" +msgstr "Impossible d’ajouter la classe :" + +msgid "Unable to add document to print job." +msgstr "Impossible d’ajouter le document pour imprimer la tâche :" + +#, c-format +msgid "Unable to add job for destination \"%s\"." +msgstr "Impossible d’ajouter la tâche à la destination \"%s\"." + +msgid "Unable to add printer" +msgstr "Impossible d’ajouter l’imprimante :" + +msgid "Unable to allocate memory for file types." +msgstr "" + +msgid "Unable to allocate memory for page info" +msgstr "" + +msgid "Unable to allocate memory for pages array" +msgstr "" + +msgid "Unable to allocate memory for printer" +msgstr "" + +msgid "Unable to cancel print job." +msgstr "Impossible d’annuler la tâche d'impression." + +msgid "Unable to change printer" +msgstr "Impossible de changer d'imprimante" + +msgid "Unable to change printer-is-shared attribute" +msgstr "Impossible de modifier l’attribut « printer-is-shared » :" + +msgid "Unable to change server settings" +msgstr "Impossible de modifier les réglages du serveur :" + +#, c-format +msgid "Unable to compile mimeMediaType regular expression: %s." +msgstr "" + +#, c-format +msgid "Unable to compile naturalLanguage regular expression: %s." +msgstr "" + +msgid "Unable to configure printer options." +msgstr "Impossible de configurer les options de l'imprimante." + +msgid "Unable to connect to host." +msgstr "Connexion à l’hôte impossible." + +msgid "Unable to contact printer, queuing on next printer in class." +msgstr "" + +#, c-format +msgid "Unable to copy PPD file - %s" +msgstr "" + +msgid "Unable to copy PPD file." +msgstr "" + +msgid "Unable to create credentials from array." +msgstr "" + +msgid "Unable to create printer-uri" +msgstr "" + +msgid "Unable to create printer." +msgstr "" + +msgid "Unable to create server credentials." +msgstr "" + +#, c-format +msgid "Unable to create spool directory \"%s\": %s" +msgstr "" + +msgid "Unable to create temporary file" +msgstr "Impossible de créer le fichier temporaire :" + +msgid "Unable to delete class" +msgstr "Impossible de supprimer la classe :" + +msgid "Unable to delete printer" +msgstr "Impossible de supprimer l’imprimante :" + +msgid "Unable to do maintenance command" +msgstr "Impossible de lancer la commande de maintenance :" + +msgid "Unable to edit cupsd.conf files larger than 1MB" +msgstr "" + +#, c-format +msgid "Unable to establish a secure connection to host (%d)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (certificate chain invalid)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (certificate not yet valid)." +msgstr "" + +msgid "Unable to establish a secure connection to host (expired certificate)." +msgstr "" + +msgid "Unable to establish a secure connection to host (host name mismatch)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (peer dropped connection " +"before responding)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (self-signed certificate)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (untrusted certificate)." +msgstr "" + +msgid "Unable to establish a secure connection to host." +msgstr "" + +#, c-format +msgid "Unable to execute command \"%s\": %s" +msgstr "" + +msgid "Unable to find destination for job" +msgstr "" + +msgid "Unable to find printer." +msgstr "" + +msgid "Unable to find server credentials." +msgstr "" + +msgid "Unable to get backend exit status." +msgstr "" + +msgid "Unable to get class list" +msgstr "Impossible d’obtenir la liste des classes :" + +msgid "Unable to get class status" +msgstr "Impossible d’obtenir l’état de la classe :" + +msgid "Unable to get list of printer drivers" +msgstr "Impossible d’obtenir la liste des pilotes d’impression :" + +msgid "Unable to get printer attributes" +msgstr "Impossible de récupérer les attributs de l’imprimante :" + +msgid "Unable to get printer list" +msgstr "Impossible d’obtenir la liste des imprimantes :" + +msgid "Unable to get printer status" +msgstr "Impossible d’obtenir l’état de l’imprimante" + +msgid "Unable to get printer status." +msgstr "Impossible d’obtenir l’état de l’imprimante." + +msgid "Unable to load help index." +msgstr "" + +#, c-format +msgid "Unable to locate printer \"%s\"." +msgstr "" + +msgid "Unable to locate printer." +msgstr "" + +msgid "Unable to modify class" +msgstr "Impossible de modifier la classe :" + +msgid "Unable to modify printer" +msgstr "Impossible de modifier l’imprimante :" + +msgid "Unable to move job" +msgstr "Impossible de transférer la tâche." + +msgid "Unable to move jobs" +msgstr "Impossible de transférer les tâches." + +msgid "Unable to open PPD file" +msgstr "" + +msgid "Unable to open cupsd.conf file:" +msgstr "Impossible d’ouvrir le fichier cupsd.conf :" + +msgid "Unable to open device file" +msgstr "" + +#, c-format +msgid "Unable to open document #%d in job #%d." +msgstr "" + +msgid "Unable to open help file." +msgstr "" + +msgid "Unable to open print file" +msgstr "" + +msgid "Unable to open raster file" +msgstr "" + +msgid "Unable to print test page" +msgstr "Impossible d’imprimer la page de test :" + +msgid "Unable to read print data." +msgstr "" + +#, c-format +msgid "Unable to register \"%s.%s\": %d" +msgstr "" + +msgid "Unable to rename job document file." +msgstr "" + +msgid "Unable to resolve printer-uri." +msgstr "" + +msgid "Unable to see in file" +msgstr "" + +msgid "Unable to send command to printer driver" +msgstr "" + +msgid "Unable to send data to printer." +msgstr "" + +msgid "Unable to set options" +msgstr "Impossible de définir les options :" + +msgid "Unable to set server default" +msgstr "Impossible de définir la valeur par défaut pour le serveur :" + +msgid "Unable to start backend process." +msgstr "" + +msgid "Unable to upload cupsd.conf file" +msgstr "Impossible de transmettre le fichier cupsd.conf :" + +msgid "Unable to use legacy USB class driver." +msgstr "" + +msgid "Unable to write print data" +msgstr "" + +#, c-format +msgid "Unable to write uncompressed print data: %s" +msgstr "" + +msgid "Unauthorized" +msgstr "Non autorisé" + +msgid "Units" +msgstr "Unités" + +msgid "Unknown" +msgstr "Inconnu" + +#, c-format +msgid "Unknown choice \"%s\" for option \"%s\"." +msgstr "" + +#, c-format +msgid "Unknown directive \"%s\" on line %d of \"%s\" ignored." +msgstr "" + +#, c-format +msgid "Unknown encryption option value: \"%s\"." +msgstr "" + +#, c-format +msgid "Unknown file order: \"%s\"." +msgstr "" + +#, c-format +msgid "Unknown format character: \"%c\"." +msgstr "" + +msgid "Unknown hash algorithm." +msgstr "" + +msgid "Unknown media size name." +msgstr "" + +#, c-format +msgid "Unknown option \"%s\" with value \"%s\"." +msgstr "" + +#, c-format +msgid "Unknown option \"%s\"." +msgstr "" + +#, c-format +msgid "Unknown print mode: \"%s\"." +msgstr "" + +#, c-format +msgid "Unknown printer-error-policy \"%s\"." +msgstr "Paramètre printer-error-policy « %s » inconnu." + +#, c-format +msgid "Unknown printer-op-policy \"%s\"." +msgstr "Paramètre printer-op-policy « %s » inconnu." + +msgid "Unknown request method." +msgstr "" + +msgid "Unknown request version." +msgstr "" + +msgid "Unknown scheme in URI" +msgstr "" + +msgid "Unknown service name." +msgstr "" + +#, c-format +msgid "Unknown version option value: \"%s\"." +msgstr "" + +#, c-format +msgid "Unsupported 'compression' value \"%s\"." +msgstr "" + +#, c-format +msgid "Unsupported 'document-format' value \"%s\"." +msgstr "" + +msgid "Unsupported 'job-hold-until' value." +msgstr "" + +msgid "Unsupported 'job-name' value." +msgstr "" + +#, c-format +msgid "Unsupported character set \"%s\"." +msgstr "" + +#, c-format +msgid "Unsupported compression \"%s\"." +msgstr "" + +#, c-format +msgid "Unsupported document-format \"%s\"." +msgstr "" + +#, c-format +msgid "Unsupported document-format \"%s/%s\"." +msgstr "" + +#, c-format +msgid "Unsupported format \"%s\"." +msgstr "" + +msgid "Unsupported margins." +msgstr "" + +msgid "Unsupported media value." +msgstr "" + +#, c-format +msgid "Unsupported number-up value %d, using number-up=1." +msgstr "" + +#, c-format +msgid "Unsupported number-up-layout value %s, using number-up-layout=lrtb." +msgstr "" + +#, c-format +msgid "Unsupported page-border value %s, using page-border=none." +msgstr "" + +msgid "Unsupported raster data." +msgstr "" + +msgid "Unsupported value type" +msgstr "Type de valeur non pris en charge" + +msgid "Upgrade Required" +msgstr "Mise à niveau obligatoire" + +#, c-format +msgid "Usage: %s [options] destination(s)" +msgstr "" + +#, c-format +msgid "Usage: %s job-id user title copies options [file]" +msgstr "" + +msgid "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" +msgstr "" + +msgid "Usage: cupsctl [options] [param=value ... paramN=valueN]" +msgstr "" + +msgid "Usage: cupsd [options]" +msgstr "" + +msgid "Usage: cupsfilter [ options ] [ -- ] filename" +msgstr "" + +msgid "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" +msgstr "" + +msgid "Usage: ippeveprinter [options] \"name\"" +msgstr "" + +msgid "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" +msgstr "" + +msgid "Usage: ipptool [options] URI filename [ ... filenameN ]" +msgstr "" + +msgid "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" +msgstr "" + +msgid "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" +msgstr "" + +msgid "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" +msgstr "" + +msgid "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" +msgstr "" + +msgid "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" +msgstr "" + +msgid "Usage: lpq [options] [+interval]" +msgstr "" + +msgid "Usage: lpr [options] [file(s)]" +msgstr "" + +msgid "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" +msgstr "" + +msgid "Usage: lpstat [options]" +msgstr "" + +msgid "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" +msgstr "" + +msgid "Usage: ppdhtml [options] filename.drv >filename.html" +msgstr "" + +msgid "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "" + +msgid "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "" + +msgid "" +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" +msgstr "" + +msgid "Usage: snmp [host-or-ip-address]" +msgstr "" + +#, c-format +msgid "Using spool directory \"%s\"." +msgstr "" + +msgid "Value uses indefinite length" +msgstr "La valeur s’avère être de longueur indéfinie" + +msgid "VarBind uses indefinite length" +msgstr "VarBind s’avère être de longueur indéfinie" + +msgid "Version uses indefinite length" +msgstr "La version s’avère être de longueur indéfinie" + +msgid "Waiting for job to complete." +msgstr "" + +msgid "Waiting for printer to become available." +msgstr "" + +msgid "Waiting for printer to finish." +msgstr "" + +msgid "Warning: This program will be removed in a future version of CUPS." +msgstr "" + +msgid "Web Interface is Disabled" +msgstr "" + +msgid "Yes" +msgstr "Oui" + +msgid "You cannot access this page." +msgstr "" + +#, c-format +msgid "You must access this page using the URL https://%s:%d%s." +msgstr "Vous devez accéder à cette page par l’URL https://%s:%d%s." + +msgid "Your account does not have the necessary privileges." +msgstr "" + +msgid "ZPL Label Printer" +msgstr "Imprimante pour étiquettes ZPL" + +msgid "Zebra" +msgstr "Zebra" + +msgid "aborted" +msgstr "abandonnée" + +#. TRANSLATORS: Accuracy Units +msgid "accuracy-units" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "accuracy-units.mm" +msgstr "" + +#. TRANSLATORS: Nanometers +msgid "accuracy-units.nm" +msgstr "" + +#. TRANSLATORS: Micrometers +msgid "accuracy-units.um" +msgstr "" + +#. TRANSLATORS: Bale Output +msgid "baling" +msgstr "" + +#. TRANSLATORS: Bale Using +msgid "baling-type" +msgstr "" + +#. TRANSLATORS: Band +msgid "baling-type.band" +msgstr "" + +#. TRANSLATORS: Shrink Wrap +msgid "baling-type.shrink-wrap" +msgstr "" + +#. TRANSLATORS: Wrap +msgid "baling-type.wrap" +msgstr "" + +#. TRANSLATORS: Bale After +msgid "baling-when" +msgstr "" + +#. TRANSLATORS: Job +msgid "baling-when.after-job" +msgstr "" + +#. TRANSLATORS: Sets +msgid "baling-when.after-sets" +msgstr "" + +#. TRANSLATORS: Bind Output +msgid "binding" +msgstr "" + +#. TRANSLATORS: Bind Edge +msgid "binding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "binding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "binding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "binding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "binding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Binder Type +msgid "binding-type" +msgstr "" + +#. TRANSLATORS: Adhesive +msgid "binding-type.adhesive" +msgstr "" + +#. TRANSLATORS: Comb +msgid "binding-type.comb" +msgstr "" + +#. TRANSLATORS: Flat +msgid "binding-type.flat" +msgstr "" + +#. TRANSLATORS: Padding +msgid "binding-type.padding" +msgstr "" + +#. TRANSLATORS: Perfect +msgid "binding-type.perfect" +msgstr "" + +#. TRANSLATORS: Spiral +msgid "binding-type.spiral" +msgstr "" + +#. TRANSLATORS: Tape +msgid "binding-type.tape" +msgstr "" + +#. TRANSLATORS: Velo +msgid "binding-type.velo" +msgstr "" + +msgid "canceled" +msgstr "annulée" + +#. TRANSLATORS: Chamber Humidity +msgid "chamber-humidity" +msgstr "" + +#. TRANSLATORS: Chamber Temperature +msgid "chamber-temperature" +msgstr "" + +#. TRANSLATORS: Print Job Cost +msgid "charge-info-message" +msgstr "" + +#. TRANSLATORS: Coat Sheets +msgid "coating" +msgstr "" + +#. TRANSLATORS: Add Coating To +msgid "coating-sides" +msgstr "" + +#. TRANSLATORS: Back +msgid "coating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "coating-sides.both" +msgstr "" + +#. TRANSLATORS: Front +msgid "coating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Coating +msgid "coating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "coating-type.archival" +msgstr "" + +#. TRANSLATORS: Archival Glossy +msgid "coating-type.archival-glossy" +msgstr "" + +#. TRANSLATORS: Archival Matte +msgid "coating-type.archival-matte" +msgstr "" + +#. TRANSLATORS: Archival Semi Gloss +msgid "coating-type.archival-semi-gloss" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "coating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "coating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "coating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "coating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Silicone +msgid "coating-type.silicone" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "coating-type.translucent" +msgstr "" + +msgid "completed" +msgstr "terminée" + +#. TRANSLATORS: Print Confirmation Sheet +msgid "confirmation-sheet-print" +msgstr "" + +#. TRANSLATORS: Copies +msgid "copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "cover-front" +msgstr "" + +#. TRANSLATORS: Cover Sheet Info +msgid "cover-sheet-info" +msgstr "" + +#. TRANSLATORS: Date Time +msgid "cover-sheet-info-supported.date-time" +msgstr "" + +#. TRANSLATORS: From Name +msgid "cover-sheet-info-supported.from-name" +msgstr "" + +#. TRANSLATORS: Logo +msgid "cover-sheet-info-supported.logo" +msgstr "" + +#. TRANSLATORS: Message +msgid "cover-sheet-info-supported.message" +msgstr "" + +#. TRANSLATORS: Organization +msgid "cover-sheet-info-supported.organization" +msgstr "" + +#. TRANSLATORS: Subject +msgid "cover-sheet-info-supported.subject" +msgstr "" + +#. TRANSLATORS: To Name +msgid "cover-sheet-info-supported.to-name" +msgstr "" + +#. TRANSLATORS: Printed Cover +msgid "cover-type" +msgstr "" + +#. TRANSLATORS: No Cover +msgid "cover-type.no-cover" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "cover-type.print-back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "cover-type.print-both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "cover-type.print-front" +msgstr "" + +#. TRANSLATORS: None +msgid "cover-type.print-none" +msgstr "" + +#. TRANSLATORS: Cover Output +msgid "covering" +msgstr "" + +#. TRANSLATORS: Add Cover +msgid "covering-name" +msgstr "" + +#. TRANSLATORS: Plain +msgid "covering-name.plain" +msgstr "" + +#. TRANSLATORS: Pre-cut +msgid "covering-name.pre-cut" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "covering-name.pre-printed" +msgstr "" + +msgid "cups-deviced failed to execute." +msgstr "L’exécution de « cups-deviced » a échoué." + +msgid "cups-driverd failed to execute." +msgstr "L’exécution de « cups-driverd » a échoué." + +#, c-format +msgid "cupsctl: Cannot set %s directly." +msgstr "" + +#, c-format +msgid "cupsctl: Unable to connect to server: %s" +msgstr "" + +#, c-format +msgid "cupsctl: Unknown option \"%s\"" +msgstr "" + +#, c-format +msgid "cupsctl: Unknown option \"-%c\"" +msgstr "" + +msgid "cupsd: Expected config filename after \"-c\" option." +msgstr "" + +msgid "cupsd: Expected cups-files.conf filename after \"-s\" option." +msgstr "" + +msgid "cupsd: On-demand support not compiled in, running in normal mode." +msgstr "" + +msgid "cupsd: Relative cups-files.conf filename not allowed." +msgstr "" + +msgid "cupsd: Unable to get current directory." +msgstr "" + +msgid "cupsd: Unable to get path to cups-files.conf file." +msgstr "" + +#, c-format +msgid "cupsd: Unknown argument \"%s\" - aborting." +msgstr "" + +#, c-format +msgid "cupsd: Unknown option \"%c\" - aborting." +msgstr "" + +#, c-format +msgid "cupsfilter: Invalid document number %d." +msgstr "" + +#, c-format +msgid "cupsfilter: Invalid job ID %d." +msgstr "" + +msgid "cupsfilter: Only one filename can be specified." +msgstr "" + +#, c-format +msgid "cupsfilter: Unable to get job file - %s" +msgstr "" + +msgid "cupstestppd: The -q option is incompatible with the -v option." +msgstr "" + +msgid "cupstestppd: The -v option is incompatible with the -q option." +msgstr "" + +#. TRANSLATORS: Detailed Status Message +msgid "detailed-status-message" +msgstr "" + +#, c-format +msgid "device for %s/%s: %s" +msgstr "matériel pour %s/%s : %s" + +#, c-format +msgid "device for %s: %s" +msgstr "matériel pour %s : %s" + +#. TRANSLATORS: Copies +msgid "document-copies" +msgstr "" + +#. TRANSLATORS: Document Privacy Attributes +msgid "document-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Document Description +msgid "document-privacy-attributes.document-description" +msgstr "" + +#. TRANSLATORS: Document Template +msgid "document-privacy-attributes.document-template" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Document Privacy Scope +msgid "document-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "document-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Document State +msgid "document-state" +msgstr "" + +#. TRANSLATORS: Detailed Document State +msgid "document-state-reasons" +msgstr "" + +#. TRANSLATORS: Aborted By System +msgid "document-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Canceled At Device +msgid "document-state-reasons.canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled By Operator +msgid "document-state-reasons.canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled By User +msgid "document-state-reasons.canceled-by-user" +msgstr "" + +#. TRANSLATORS: Completed Successfully +msgid "document-state-reasons.completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed With Errors +msgid "document-state-reasons.completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed With Warnings +msgid "document-state-reasons.completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Compression Error +msgid "document-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Data Insufficient +msgid "document-state-reasons.data-insufficient" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "document-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "document-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Digital Signature Wait +msgid "document-state-reasons.digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "document-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "document-state-reasons.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "document-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "document-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "document-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "document-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "document-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "document-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "document-state-reasons.incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "document-state-reasons.interpreting" +msgstr "" + +#. TRANSLATORS: None +msgid "document-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "document-state-reasons.outgoing" +msgstr "" + +#. TRANSLATORS: Printing +msgid "document-state-reasons.printing" +msgstr "" + +#. TRANSLATORS: Processing To Stop Point +msgid "document-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Queued +msgid "document-state-reasons.queued" +msgstr "" + +#. TRANSLATORS: Queued For Marker +msgid "document-state-reasons.queued-for-marker" +msgstr "" + +#. TRANSLATORS: Queued In Device +msgid "document-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "document-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "document-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "document-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "document-state-reasons.transforming" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "document-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "document-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "document-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "document-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "document-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "document-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "document-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "document-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "document-state.9" +msgstr "" + +msgid "error-index uses indefinite length" +msgstr "Le paramètre error-index s’avère être de longueur indéfinie" + +msgid "error-status uses indefinite length" +msgstr "Le paramètre error-status s’avère être de longueur indéfinie" + +msgid "" +"expression --and expression\n" +" Logical AND" +msgstr "" + +msgid "" +"expression --or expression\n" +" Logical OR" +msgstr "" + +msgid "expression expression Logical AND" +msgstr "" + +#. TRANSLATORS: Feed Orientation +msgid "feed-orientation" +msgstr "" + +#. TRANSLATORS: Long Edge First +msgid "feed-orientation.long-edge-first" +msgstr "" + +#. TRANSLATORS: Short Edge First +msgid "feed-orientation.short-edge-first" +msgstr "" + +#. TRANSLATORS: Fetch Status Code +msgid "fetch-status-code" +msgstr "" + +#. TRANSLATORS: Finishing Template +msgid "finishing-template" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishing-template.bale" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishing-template.bind" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishing-template.bind-bottom" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishing-template.bind-left" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishing-template.bind-right" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishing-template.bind-top" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishing-template.booklet-maker" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishing-template.coat" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishing-template.cover" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishing-template.edge-stitch" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishing-template.edge-stitch-bottom" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishing-template.edge-stitch-left" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishing-template.edge-stitch-right" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishing-template.edge-stitch-top" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishing-template.fold" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishing-template.fold-accordion" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishing-template.fold-double-gate" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishing-template.fold-engineering-z" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishing-template.fold-gate" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishing-template.fold-half" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishing-template.fold-half-z" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishing-template.fold-left-gate" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishing-template.fold-letter" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishing-template.fold-parallel" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishing-template.fold-poster" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishing-template.fold-right-gate" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishing-template.fold-z" +msgstr "" + +#. TRANSLATORS: JDF F10-1 +msgid "finishing-template.jdf-f10-1" +msgstr "" + +#. TRANSLATORS: JDF F10-2 +msgid "finishing-template.jdf-f10-2" +msgstr "" + +#. TRANSLATORS: JDF F10-3 +msgid "finishing-template.jdf-f10-3" +msgstr "" + +#. TRANSLATORS: JDF F12-1 +msgid "finishing-template.jdf-f12-1" +msgstr "" + +#. TRANSLATORS: JDF F12-10 +msgid "finishing-template.jdf-f12-10" +msgstr "" + +#. TRANSLATORS: JDF F12-11 +msgid "finishing-template.jdf-f12-11" +msgstr "" + +#. TRANSLATORS: JDF F12-12 +msgid "finishing-template.jdf-f12-12" +msgstr "" + +#. TRANSLATORS: JDF F12-13 +msgid "finishing-template.jdf-f12-13" +msgstr "" + +#. TRANSLATORS: JDF F12-14 +msgid "finishing-template.jdf-f12-14" +msgstr "" + +#. TRANSLATORS: JDF F12-2 +msgid "finishing-template.jdf-f12-2" +msgstr "" + +#. TRANSLATORS: JDF F12-3 +msgid "finishing-template.jdf-f12-3" +msgstr "" + +#. TRANSLATORS: JDF F12-4 +msgid "finishing-template.jdf-f12-4" +msgstr "" + +#. TRANSLATORS: JDF F12-5 +msgid "finishing-template.jdf-f12-5" +msgstr "" + +#. TRANSLATORS: JDF F12-6 +msgid "finishing-template.jdf-f12-6" +msgstr "" + +#. TRANSLATORS: JDF F12-7 +msgid "finishing-template.jdf-f12-7" +msgstr "" + +#. TRANSLATORS: JDF F12-8 +msgid "finishing-template.jdf-f12-8" +msgstr "" + +#. TRANSLATORS: JDF F12-9 +msgid "finishing-template.jdf-f12-9" +msgstr "" + +#. TRANSLATORS: JDF F14-1 +msgid "finishing-template.jdf-f14-1" +msgstr "" + +#. TRANSLATORS: JDF F16-1 +msgid "finishing-template.jdf-f16-1" +msgstr "" + +#. TRANSLATORS: JDF F16-10 +msgid "finishing-template.jdf-f16-10" +msgstr "" + +#. TRANSLATORS: JDF F16-11 +msgid "finishing-template.jdf-f16-11" +msgstr "" + +#. TRANSLATORS: JDF F16-12 +msgid "finishing-template.jdf-f16-12" +msgstr "" + +#. TRANSLATORS: JDF F16-13 +msgid "finishing-template.jdf-f16-13" +msgstr "" + +#. TRANSLATORS: JDF F16-14 +msgid "finishing-template.jdf-f16-14" +msgstr "" + +#. TRANSLATORS: JDF F16-2 +msgid "finishing-template.jdf-f16-2" +msgstr "" + +#. TRANSLATORS: JDF F16-3 +msgid "finishing-template.jdf-f16-3" +msgstr "" + +#. TRANSLATORS: JDF F16-4 +msgid "finishing-template.jdf-f16-4" +msgstr "" + +#. TRANSLATORS: JDF F16-5 +msgid "finishing-template.jdf-f16-5" +msgstr "" + +#. TRANSLATORS: JDF F16-6 +msgid "finishing-template.jdf-f16-6" +msgstr "" + +#. TRANSLATORS: JDF F16-7 +msgid "finishing-template.jdf-f16-7" +msgstr "" + +#. TRANSLATORS: JDF F16-8 +msgid "finishing-template.jdf-f16-8" +msgstr "" + +#. TRANSLATORS: JDF F16-9 +msgid "finishing-template.jdf-f16-9" +msgstr "" + +#. TRANSLATORS: JDF F18-1 +msgid "finishing-template.jdf-f18-1" +msgstr "" + +#. TRANSLATORS: JDF F18-2 +msgid "finishing-template.jdf-f18-2" +msgstr "" + +#. TRANSLATORS: JDF F18-3 +msgid "finishing-template.jdf-f18-3" +msgstr "" + +#. TRANSLATORS: JDF F18-4 +msgid "finishing-template.jdf-f18-4" +msgstr "" + +#. TRANSLATORS: JDF F18-5 +msgid "finishing-template.jdf-f18-5" +msgstr "" + +#. TRANSLATORS: JDF F18-6 +msgid "finishing-template.jdf-f18-6" +msgstr "" + +#. TRANSLATORS: JDF F18-7 +msgid "finishing-template.jdf-f18-7" +msgstr "" + +#. TRANSLATORS: JDF F18-8 +msgid "finishing-template.jdf-f18-8" +msgstr "" + +#. TRANSLATORS: JDF F18-9 +msgid "finishing-template.jdf-f18-9" +msgstr "" + +#. TRANSLATORS: JDF F2-1 +msgid "finishing-template.jdf-f2-1" +msgstr "" + +#. TRANSLATORS: JDF F20-1 +msgid "finishing-template.jdf-f20-1" +msgstr "" + +#. TRANSLATORS: JDF F20-2 +msgid "finishing-template.jdf-f20-2" +msgstr "" + +#. TRANSLATORS: JDF F24-1 +msgid "finishing-template.jdf-f24-1" +msgstr "" + +#. TRANSLATORS: JDF F24-10 +msgid "finishing-template.jdf-f24-10" +msgstr "" + +#. TRANSLATORS: JDF F24-11 +msgid "finishing-template.jdf-f24-11" +msgstr "" + +#. TRANSLATORS: JDF F24-2 +msgid "finishing-template.jdf-f24-2" +msgstr "" + +#. TRANSLATORS: JDF F24-3 +msgid "finishing-template.jdf-f24-3" +msgstr "" + +#. TRANSLATORS: JDF F24-4 +msgid "finishing-template.jdf-f24-4" +msgstr "" + +#. TRANSLATORS: JDF F24-5 +msgid "finishing-template.jdf-f24-5" +msgstr "" + +#. TRANSLATORS: JDF F24-6 +msgid "finishing-template.jdf-f24-6" +msgstr "" + +#. TRANSLATORS: JDF F24-7 +msgid "finishing-template.jdf-f24-7" +msgstr "" + +#. TRANSLATORS: JDF F24-8 +msgid "finishing-template.jdf-f24-8" +msgstr "" + +#. TRANSLATORS: JDF F24-9 +msgid "finishing-template.jdf-f24-9" +msgstr "" + +#. TRANSLATORS: JDF F28-1 +msgid "finishing-template.jdf-f28-1" +msgstr "" + +#. TRANSLATORS: JDF F32-1 +msgid "finishing-template.jdf-f32-1" +msgstr "" + +#. TRANSLATORS: JDF F32-2 +msgid "finishing-template.jdf-f32-2" +msgstr "" + +#. TRANSLATORS: JDF F32-3 +msgid "finishing-template.jdf-f32-3" +msgstr "" + +#. TRANSLATORS: JDF F32-4 +msgid "finishing-template.jdf-f32-4" +msgstr "" + +#. TRANSLATORS: JDF F32-5 +msgid "finishing-template.jdf-f32-5" +msgstr "" + +#. TRANSLATORS: JDF F32-6 +msgid "finishing-template.jdf-f32-6" +msgstr "" + +#. TRANSLATORS: JDF F32-7 +msgid "finishing-template.jdf-f32-7" +msgstr "" + +#. TRANSLATORS: JDF F32-8 +msgid "finishing-template.jdf-f32-8" +msgstr "" + +#. TRANSLATORS: JDF F32-9 +msgid "finishing-template.jdf-f32-9" +msgstr "" + +#. TRANSLATORS: JDF F36-1 +msgid "finishing-template.jdf-f36-1" +msgstr "" + +#. TRANSLATORS: JDF F36-2 +msgid "finishing-template.jdf-f36-2" +msgstr "" + +#. TRANSLATORS: JDF F4-1 +msgid "finishing-template.jdf-f4-1" +msgstr "" + +#. TRANSLATORS: JDF F4-2 +msgid "finishing-template.jdf-f4-2" +msgstr "" + +#. TRANSLATORS: JDF F40-1 +msgid "finishing-template.jdf-f40-1" +msgstr "" + +#. TRANSLATORS: JDF F48-1 +msgid "finishing-template.jdf-f48-1" +msgstr "" + +#. TRANSLATORS: JDF F48-2 +msgid "finishing-template.jdf-f48-2" +msgstr "" + +#. TRANSLATORS: JDF F6-1 +msgid "finishing-template.jdf-f6-1" +msgstr "" + +#. TRANSLATORS: JDF F6-2 +msgid "finishing-template.jdf-f6-2" +msgstr "" + +#. TRANSLATORS: JDF F6-3 +msgid "finishing-template.jdf-f6-3" +msgstr "" + +#. TRANSLATORS: JDF F6-4 +msgid "finishing-template.jdf-f6-4" +msgstr "" + +#. TRANSLATORS: JDF F6-5 +msgid "finishing-template.jdf-f6-5" +msgstr "" + +#. TRANSLATORS: JDF F6-6 +msgid "finishing-template.jdf-f6-6" +msgstr "" + +#. TRANSLATORS: JDF F6-7 +msgid "finishing-template.jdf-f6-7" +msgstr "" + +#. TRANSLATORS: JDF F6-8 +msgid "finishing-template.jdf-f6-8" +msgstr "" + +#. TRANSLATORS: JDF F64-1 +msgid "finishing-template.jdf-f64-1" +msgstr "" + +#. TRANSLATORS: JDF F64-2 +msgid "finishing-template.jdf-f64-2" +msgstr "" + +#. TRANSLATORS: JDF F8-1 +msgid "finishing-template.jdf-f8-1" +msgstr "" + +#. TRANSLATORS: JDF F8-2 +msgid "finishing-template.jdf-f8-2" +msgstr "" + +#. TRANSLATORS: JDF F8-3 +msgid "finishing-template.jdf-f8-3" +msgstr "" + +#. TRANSLATORS: JDF F8-4 +msgid "finishing-template.jdf-f8-4" +msgstr "" + +#. TRANSLATORS: JDF F8-5 +msgid "finishing-template.jdf-f8-5" +msgstr "" + +#. TRANSLATORS: JDF F8-6 +msgid "finishing-template.jdf-f8-6" +msgstr "" + +#. TRANSLATORS: JDF F8-7 +msgid "finishing-template.jdf-f8-7" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishing-template.jog-offset" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishing-template.laminate" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishing-template.punch" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishing-template.punch-bottom-left" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishing-template.punch-bottom-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishing-template.punch-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishing-template.punch-dual-left" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishing-template.punch-dual-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishing-template.punch-dual-top" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishing-template.punch-multiple-bottom" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishing-template.punch-multiple-left" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishing-template.punch-multiple-right" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishing-template.punch-multiple-top" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishing-template.punch-quad-bottom" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishing-template.punch-quad-left" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishing-template.punch-quad-right" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishing-template.punch-quad-top" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishing-template.punch-top-left" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishing-template.punch-top-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishing-template.punch-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishing-template.punch-triple-left" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishing-template.punch-triple-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishing-template.punch-triple-top" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishing-template.saddle-stitch" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishing-template.staple" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishing-template.staple-bottom-left" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishing-template.staple-bottom-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishing-template.staple-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishing-template.staple-dual-left" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishing-template.staple-dual-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishing-template.staple-dual-top" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishing-template.staple-top-left" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishing-template.staple-top-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishing-template.staple-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishing-template.staple-triple-left" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishing-template.staple-triple-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishing-template.staple-triple-top" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishing-template.trim" +msgstr "" + +#. TRANSLATORS: Trim After Every Set +msgid "finishing-template.trim-after-copies" +msgstr "" + +#. TRANSLATORS: Trim After Every Document +msgid "finishing-template.trim-after-documents" +msgstr "" + +#. TRANSLATORS: Trim After Job +msgid "finishing-template.trim-after-job" +msgstr "" + +#. TRANSLATORS: Trim After Every Page +msgid "finishing-template.trim-after-pages" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings-col" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishings.10" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishings.100" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishings.101" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishings.11" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishings.12" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishings.13" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishings.14" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishings.15" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishings.16" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishings.20" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishings.21" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishings.22" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishings.23" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishings.24" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishings.25" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishings.26" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishings.27" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishings.28" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishings.29" +msgstr "" + +#. TRANSLATORS: None +msgid "finishings.3" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishings.30" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishings.31" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishings.32" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishings.33" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishings.34" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishings.35" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishings.4" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishings.5" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishings.50" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishings.51" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishings.52" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishings.53" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishings.6" +msgstr "" + +#. TRANSLATORS: Trim Pages +msgid "finishings.60" +msgstr "" + +#. TRANSLATORS: Trim Documents +msgid "finishings.61" +msgstr "" + +#. TRANSLATORS: Trim Copies +msgid "finishings.62" +msgstr "" + +#. TRANSLATORS: Trim Job +msgid "finishings.63" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishings.7" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishings.70" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishings.71" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishings.72" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishings.73" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishings.74" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishings.75" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishings.76" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishings.77" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishings.78" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishings.79" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishings.8" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishings.80" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishings.81" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishings.82" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishings.83" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishings.84" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishings.85" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishings.86" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishings.87" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishings.88" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishings.89" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishings.9" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishings.90" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishings.91" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishings.92" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishings.93" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishings.94" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishings.95" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishings.96" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishings.97" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishings.98" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishings.99" +msgstr "" + +#. TRANSLATORS: Fold +msgid "folding" +msgstr "" + +#. TRANSLATORS: Fold Direction +msgid "folding-direction" +msgstr "" + +#. TRANSLATORS: Inward +msgid "folding-direction.inward" +msgstr "" + +#. TRANSLATORS: Outward +msgid "folding-direction.outward" +msgstr "" + +#. TRANSLATORS: Fold Position +msgid "folding-offset" +msgstr "" + +#. TRANSLATORS: Fold Edge +msgid "folding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "folding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "folding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "folding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "folding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Font Name +msgid "font-name-requested" +msgstr "" + +#. TRANSLATORS: Font Size +msgid "font-size-requested" +msgstr "" + +#. TRANSLATORS: Force Front Side +msgid "force-front-side" +msgstr "" + +#. TRANSLATORS: From Name +msgid "from-name" +msgstr "" + +msgid "held" +msgstr "retenue" + +msgid "help\t\tGet help on commands." +msgstr "" + +msgid "idle" +msgstr "inactive" + +#. TRANSLATORS: Imposition Template +msgid "imposition-template" +msgstr "" + +#. TRANSLATORS: None +msgid "imposition-template.none" +msgstr "" + +#. TRANSLATORS: Signature +msgid "imposition-template.signature" +msgstr "" + +#. TRANSLATORS: Insert Page Number +msgid "insert-after-page-number" +msgstr "" + +#. TRANSLATORS: Insert Count +msgid "insert-count" +msgstr "" + +#. TRANSLATORS: Insert Sheet +msgid "insert-sheet" +msgstr "" + +#, c-format +msgid "ippeveprinter: Unable to open \"%s\": %s on line %d." +msgstr "" + +#, c-format +msgid "ippfind: Bad regular expression: %s" +msgstr "" + +msgid "ippfind: Cannot use --and after --or." +msgstr "" + +#, c-format +msgid "ippfind: Expected key name after %s." +msgstr "" + +#, c-format +msgid "ippfind: Expected port range after %s." +msgstr "" + +#, c-format +msgid "ippfind: Expected program after %s." +msgstr "" + +#, c-format +msgid "ippfind: Expected semi-colon after %s." +msgstr "" + +msgid "ippfind: Missing close brace in substitution." +msgstr "" + +msgid "ippfind: Missing close parenthesis." +msgstr "" + +msgid "ippfind: Missing expression before \"--and\"." +msgstr "" + +msgid "ippfind: Missing expression before \"--or\"." +msgstr "" + +#, c-format +msgid "ippfind: Missing key name after %s." +msgstr "" + +#, c-format +msgid "ippfind: Missing name after %s." +msgstr "" + +msgid "ippfind: Missing open parenthesis." +msgstr "" + +#, c-format +msgid "ippfind: Missing program after %s." +msgstr "" + +#, c-format +msgid "ippfind: Missing regular expression after %s." +msgstr "" + +#, c-format +msgid "ippfind: Missing semi-colon after %s." +msgstr "" + +msgid "ippfind: Out of memory." +msgstr "" + +msgid "ippfind: Too many parenthesis." +msgstr "" + +#, c-format +msgid "ippfind: Unable to browse or resolve: %s" +msgstr "" + +#, c-format +msgid "ippfind: Unable to execute \"%s\": %s" +msgstr "" + +#, c-format +msgid "ippfind: Unable to use Bonjour: %s" +msgstr "" + +#, c-format +msgid "ippfind: Unknown variable \"{%s}\"." +msgstr "" + +msgid "" +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", " +"and \"-X\"." +msgstr "" + +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." +msgstr "" + +#, c-format +msgid "ipptool: Bad URI \"%s\"." +msgstr "" + +msgid "ipptool: Invalid seconds for \"-i\"." +msgstr "" + +msgid "ipptool: May only specify a single URI." +msgstr "" + +msgid "ipptool: Missing count for \"-n\"." +msgstr "" + +msgid "ipptool: Missing filename for \"--ippserver\"." +msgstr "" + +msgid "ipptool: Missing filename for \"-f\"." +msgstr "" + +msgid "ipptool: Missing name=value for \"-d\"." +msgstr "" + +msgid "ipptool: Missing seconds for \"-i\"." +msgstr "" + +msgid "ipptool: URI required before test file." +msgstr "" + +#. TRANSLATORS: Job Account ID +msgid "job-account-id" +msgstr "" + +#. TRANSLATORS: Job Account Type +msgid "job-account-type" +msgstr "" + +#. TRANSLATORS: General +msgid "job-account-type.general" +msgstr "" + +#. TRANSLATORS: Group +msgid "job-account-type.group" +msgstr "" + +#. TRANSLATORS: None +msgid "job-account-type.none" +msgstr "" + +#. TRANSLATORS: Job Accounting Output Bin +msgid "job-accounting-output-bin" +msgstr "" + +#. TRANSLATORS: Job Accounting Sheets +msgid "job-accounting-sheets" +msgstr "" + +#. TRANSLATORS: Type of Job Accounting Sheets +msgid "job-accounting-sheets-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-accounting-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-accounting-sheets-type.standard" +msgstr "" + +#. TRANSLATORS: Job Accounting User ID +msgid "job-accounting-user-id" +msgstr "" + +#. TRANSLATORS: Job Cancel After +msgid "job-cancel-after" +msgstr "" + +#. TRANSLATORS: Copies +msgid "job-copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "job-cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "job-cover-front" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-delay-output-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-delay-output-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-delay-output-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-delay-output-until.night" +msgstr "" + +#. TRANSLATORS: No Delay +msgid "job-delay-output-until.no-delay-output" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-delay-output-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-delay-output-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-delay-output-until.weekend" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "job-error-action.abort-job" +msgstr "" + +#. TRANSLATORS: Cancel Job +msgid "job-error-action.cancel-job" +msgstr "" + +#. TRANSLATORS: Continue Job +msgid "job-error-action.continue-job" +msgstr "" + +#. TRANSLATORS: Suspend Job +msgid "job-error-action.suspend-job" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet" +msgstr "" + +#. TRANSLATORS: Type of Error Sheet +msgid "job-error-sheet-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-error-sheet-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-error-sheet-type.standard" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet-when" +msgstr "" + +#. TRANSLATORS: Always +msgid "job-error-sheet-when.always" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-sheet-when.on-error" +msgstr "" + +#. TRANSLATORS: Job Finishings +msgid "job-finishings" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-hold-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-hold-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-hold-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-hold-until.night" +msgstr "" + +#. TRANSLATORS: No Hold +msgid "job-hold-until.no-hold" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-hold-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-hold-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-hold-until.weekend" +msgstr "" + +#. TRANSLATORS: Job Mandatory Attributes +msgid "job-mandatory-attributes" +msgstr "" + +#. TRANSLATORS: Title +msgid "job-name" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages-col" +msgstr "" + +#. TRANSLATORS: Job Phone Number +msgid "job-phone-number" +msgstr "" + +msgid "job-printer-uri attribute missing." +msgstr "" + +#. TRANSLATORS: Job Priority +msgid "job-priority" +msgstr "" + +#. TRANSLATORS: Job Privacy Attributes +msgid "job-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Job Description +msgid "job-privacy-attributes.job-description" +msgstr "" + +#. TRANSLATORS: Job Template +msgid "job-privacy-attributes.job-template" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Job Privacy Scope +msgid "job-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "job-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Job Recipient Name +msgid "job-recipient-name" +msgstr "" + +#. TRANSLATORS: Job Retain Until +msgid "job-retain-until" +msgstr "" + +#. TRANSLATORS: Job Retain Until Interval +msgid "job-retain-until-interval" +msgstr "" + +#. TRANSLATORS: Job Retain Until Time +msgid "job-retain-until-time" +msgstr "" + +#. TRANSLATORS: End Of Day +msgid "job-retain-until.end-of-day" +msgstr "" + +#. TRANSLATORS: End Of Month +msgid "job-retain-until.end-of-month" +msgstr "" + +#. TRANSLATORS: End Of Week +msgid "job-retain-until.end-of-week" +msgstr "" + +#. TRANSLATORS: Indefinite +msgid "job-retain-until.indefinite" +msgstr "" + +#. TRANSLATORS: None +msgid "job-retain-until.none" +msgstr "" + +#. TRANSLATORS: Job Save Disposition +msgid "job-save-disposition" +msgstr "" + +#. TRANSLATORS: Job Sheet Message +msgid "job-sheet-message" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets-col" +msgstr "" + +#. TRANSLATORS: First Page in Document +msgid "job-sheets.first-print-stream-page" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "job-sheets.job-both-sheet" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "job-sheets.job-end-sheet" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "job-sheets.job-start-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "job-sheets.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-sheets.standard" +msgstr "" + +#. TRANSLATORS: Job State +msgid "job-state" +msgstr "" + +#. TRANSLATORS: Job State Message +msgid "job-state-message" +msgstr "" + +#. TRANSLATORS: Detailed Job State +msgid "job-state-reasons" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Account Authorization Failed +msgid "job-state-reasons.account-authorization-failed" +msgstr "" + +#. TRANSLATORS: Account Closed +msgid "job-state-reasons.account-closed" +msgstr "" + +#. TRANSLATORS: Account Info Needed +msgid "job-state-reasons.account-info-needed" +msgstr "" + +#. TRANSLATORS: Account Limit Reached +msgid "job-state-reasons.account-limit-reached" +msgstr "" + +#. TRANSLATORS: Decompression error +msgid "job-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Conflicting Attributes +msgid "job-state-reasons.conflicting-attributes" +msgstr "" + +#. TRANSLATORS: Connected To Destination +msgid "job-state-reasons.connected-to-destination" +msgstr "" + +#. TRANSLATORS: Connecting To Destination +msgid "job-state-reasons.connecting-to-destination" +msgstr "" + +#. TRANSLATORS: Destination Uri Failed +msgid "job-state-reasons.destination-uri-failed" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "job-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "job-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "job-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "job-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "job-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "job-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "job-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "job-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "job-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Canceled at printer +msgid "job-state-reasons.job-canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled by operator +msgid "job-state-reasons.job-canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled by user +msgid "job-state-reasons.job-canceled-by-user" +msgstr "" + +#. TRANSLATORS: +msgid "job-state-reasons.job-completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed with errors +msgid "job-state-reasons.job-completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed with warnings +msgid "job-state-reasons.job-completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Insufficient data +msgid "job-state-reasons.job-data-insufficient" +msgstr "" + +#. TRANSLATORS: Job Delay Output Until Specified +msgid "job-state-reasons.job-delay-output-until-specified" +msgstr "" + +#. TRANSLATORS: Job Digital Signature Wait +msgid "job-state-reasons.job-digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "job-state-reasons.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Held For Review +msgid "job-state-reasons.job-held-for-review" +msgstr "" + +#. TRANSLATORS: Job held +msgid "job-state-reasons.job-hold-until-specified" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "job-state-reasons.job-incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "job-state-reasons.job-interpreting" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "job-state-reasons.job-outgoing" +msgstr "" + +#. TRANSLATORS: Job Password Wait +msgid "job-state-reasons.job-password-wait" +msgstr "" + +#. TRANSLATORS: Job Printed Successfully +msgid "job-state-reasons.job-printed-successfully" +msgstr "" + +#. TRANSLATORS: Job Printed With Errors +msgid "job-state-reasons.job-printed-with-errors" +msgstr "" + +#. TRANSLATORS: Job Printed With Warnings +msgid "job-state-reasons.job-printed-with-warnings" +msgstr "" + +#. TRANSLATORS: Printing +msgid "job-state-reasons.job-printing" +msgstr "" + +#. TRANSLATORS: Preparing to print +msgid "job-state-reasons.job-queued" +msgstr "" + +#. TRANSLATORS: Processing document +msgid "job-state-reasons.job-queued-for-marker" +msgstr "" + +#. TRANSLATORS: Job Release Wait +msgid "job-state-reasons.job-release-wait" +msgstr "" + +#. TRANSLATORS: Restartable +msgid "job-state-reasons.job-restartable" +msgstr "" + +#. TRANSLATORS: Job Resuming +msgid "job-state-reasons.job-resuming" +msgstr "" + +#. TRANSLATORS: Job Saved Successfully +msgid "job-state-reasons.job-saved-successfully" +msgstr "" + +#. TRANSLATORS: Job Saved With Errors +msgid "job-state-reasons.job-saved-with-errors" +msgstr "" + +#. TRANSLATORS: Job Saved With Warnings +msgid "job-state-reasons.job-saved-with-warnings" +msgstr "" + +#. TRANSLATORS: Job Saving +msgid "job-state-reasons.job-saving" +msgstr "" + +#. TRANSLATORS: Job Spooling +msgid "job-state-reasons.job-spooling" +msgstr "" + +#. TRANSLATORS: Job Streaming +msgid "job-state-reasons.job-streaming" +msgstr "" + +#. TRANSLATORS: Suspended +msgid "job-state-reasons.job-suspended" +msgstr "" + +#. TRANSLATORS: Job Suspended By Operator +msgid "job-state-reasons.job-suspended-by-operator" +msgstr "" + +#. TRANSLATORS: Job Suspended By System +msgid "job-state-reasons.job-suspended-by-system" +msgstr "" + +#. TRANSLATORS: Job Suspended By User +msgid "job-state-reasons.job-suspended-by-user" +msgstr "" + +#. TRANSLATORS: Job Suspending +msgid "job-state-reasons.job-suspending" +msgstr "" + +#. TRANSLATORS: Job Transferring +msgid "job-state-reasons.job-transferring" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "job-state-reasons.job-transforming" +msgstr "" + +#. TRANSLATORS: None +msgid "job-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "job-state-reasons.printer-stopped" +msgstr "" + +#. TRANSLATORS: Printer partially stopped +msgid "job-state-reasons.printer-stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Ready +msgid "job-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "job-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "job-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Service offline +msgid "job-state-reasons.service-off-line" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "job-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Unsupported Attributes Or Values +msgid "job-state-reasons.unsupported-attributes-or-values" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "job-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "job-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Waiting For User Action +msgid "job-state-reasons.waiting-for-user-action" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "job-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "job-state.3" +msgstr "" + +#. TRANSLATORS: Held +msgid "job-state.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "job-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "job-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "job-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "job-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "job-state.9" +msgstr "" + +#. TRANSLATORS: Laminate Pages +msgid "laminating" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "laminating-sides" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "laminating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "laminating-sides.both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "laminating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Lamination +msgid "laminating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "laminating-type.archival" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "laminating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "laminating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "laminating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "laminating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "laminating-type.translucent" +msgstr "" + +#. TRANSLATORS: Logo +msgid "logo" +msgstr "" + +msgid "lpadmin: Class name can only contain printable characters." +msgstr "" + +#, c-format +msgid "lpadmin: Expected PPD after \"-%c\" option." +msgstr "" + +msgid "lpadmin: Expected allow/deny:userlist after \"-u\" option." +msgstr "" + +msgid "lpadmin: Expected class after \"-r\" option." +msgstr "" + +msgid "lpadmin: Expected class name after \"-c\" option." +msgstr "" + +msgid "lpadmin: Expected description after \"-D\" option." +msgstr "" + +msgid "lpadmin: Expected device URI after \"-v\" option." +msgstr "" + +msgid "lpadmin: Expected file type(s) after \"-I\" option." +msgstr "" + +msgid "lpadmin: Expected hostname after \"-h\" option." +msgstr "" + +msgid "lpadmin: Expected location after \"-L\" option." +msgstr "" + +msgid "lpadmin: Expected model after \"-m\" option." +msgstr "" + +msgid "lpadmin: Expected name after \"-R\" option." +msgstr "" + +msgid "lpadmin: Expected name=value after \"-o\" option." +msgstr "" + +msgid "lpadmin: Expected printer after \"-p\" option." +msgstr "" + +msgid "lpadmin: Expected printer name after \"-d\" option." +msgstr "" + +msgid "lpadmin: Expected printer or class after \"-x\" option." +msgstr "" + +msgid "lpadmin: No member names were seen." +msgstr "" + +#, c-format +msgid "lpadmin: Printer %s is already a member of class %s." +msgstr "" + +#, c-format +msgid "lpadmin: Printer %s is not a member of class %s." +msgstr "" + +msgid "" +"lpadmin: Printer drivers are deprecated and will stop working in a future " +"version of CUPS." +msgstr "" + +msgid "lpadmin: Printer name can only contain printable characters." +msgstr "" + +msgid "" +"lpadmin: Raw queues are deprecated and will stop working in a future version " +"of CUPS." +msgstr "" + +msgid "lpadmin: Raw queues are no longer supported on macOS." +msgstr "" + +msgid "" +"lpadmin: System V interface scripts are no longer supported for security " +"reasons." +msgstr "" + +msgid "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." +msgstr "" + +#, c-format +msgid "lpadmin: Unable to connect to server: %s" +msgstr "" + +msgid "lpadmin: Unable to create temporary file" +msgstr "" + +msgid "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s" +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s on line %d." +msgstr "" + +msgid "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." +msgstr "" + +msgid "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." +msgstr "" + +#, c-format +msgid "lpadmin: Unknown allow/deny option \"%s\"." +msgstr "" + +#, c-format +msgid "lpadmin: Unknown argument \"%s\"." +msgstr "" + +#, c-format +msgid "lpadmin: Unknown option \"%c\"." +msgstr "" + +msgid "lpadmin: Use the 'everywhere' model for shared printers." +msgstr "" + +msgid "lpadmin: Warning - content type list ignored." +msgstr "" + +msgid "lpc> " +msgstr "lpc> " + +msgid "lpinfo: Expected 1284 device ID string after \"--device-id\"." +msgstr "" + +msgid "lpinfo: Expected language after \"--language\"." +msgstr "" + +msgid "lpinfo: Expected make and model after \"--make-and-model\"." +msgstr "" + +msgid "lpinfo: Expected product string after \"--product\"." +msgstr "" + +msgid "lpinfo: Expected scheme list after \"--exclude-schemes\"." +msgstr "" + +msgid "lpinfo: Expected scheme list after \"--include-schemes\"." +msgstr "" + +msgid "lpinfo: Expected timeout after \"--timeout\"." +msgstr "" + +#, c-format +msgid "lpmove: Unable to connect to server: %s" +msgstr "" + +#, c-format +msgid "lpmove: Unknown argument \"%s\"." +msgstr "" + +msgid "lpoptions: No printers." +msgstr "" + +#, c-format +msgid "lpoptions: Unable to add printer or instance: %s" +msgstr "" + +#, c-format +msgid "lpoptions: Unable to get PPD file for %s: %s" +msgstr "" + +#, c-format +msgid "lpoptions: Unable to open PPD file for %s." +msgstr "" + +msgid "lpoptions: Unknown printer or class." +msgstr "" + +#, c-format +msgid "" +"lpstat: error - %s environment variable names non-existent destination \"%s" +"\"." +msgstr "" + +#. TRANSLATORS: Amount of Material +msgid "material-amount" +msgstr "" + +#. TRANSLATORS: Amount Units +msgid "material-amount-units" +msgstr "" + +#. TRANSLATORS: Grams +msgid "material-amount-units.g" +msgstr "" + +#. TRANSLATORS: Kilograms +msgid "material-amount-units.kg" +msgstr "" + +#. TRANSLATORS: Liters +msgid "material-amount-units.l" +msgstr "" + +#. TRANSLATORS: Meters +msgid "material-amount-units.m" +msgstr "" + +#. TRANSLATORS: Milliliters +msgid "material-amount-units.ml" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "material-amount-units.mm" +msgstr "" + +#. TRANSLATORS: Material Color +msgid "material-color" +msgstr "" + +#. TRANSLATORS: Material Diameter +msgid "material-diameter" +msgstr "" + +#. TRANSLATORS: Material Diameter Tolerance +msgid "material-diameter-tolerance" +msgstr "" + +#. TRANSLATORS: Material Fill Density +msgid "material-fill-density" +msgstr "" + +#. TRANSLATORS: Material Name +msgid "material-name" +msgstr "" + +#. TRANSLATORS: Material Nozzle Diameter +msgid "material-nozzle-diameter" +msgstr "" + +#. TRANSLATORS: Use Material For +msgid "material-purpose" +msgstr "" + +#. TRANSLATORS: Everything +msgid "material-purpose.all" +msgstr "" + +#. TRANSLATORS: Base +msgid "material-purpose.base" +msgstr "" + +#. TRANSLATORS: In-fill +msgid "material-purpose.in-fill" +msgstr "" + +#. TRANSLATORS: Shell +msgid "material-purpose.shell" +msgstr "" + +#. TRANSLATORS: Supports +msgid "material-purpose.support" +msgstr "" + +#. TRANSLATORS: Feed Rate +msgid "material-rate" +msgstr "" + +#. TRANSLATORS: Feed Rate Units +msgid "material-rate-units" +msgstr "" + +#. TRANSLATORS: Milligrams per second +msgid "material-rate-units.mg_second" +msgstr "" + +#. TRANSLATORS: Milliliters per second +msgid "material-rate-units.ml_second" +msgstr "" + +#. TRANSLATORS: Millimeters per second +msgid "material-rate-units.mm_second" +msgstr "" + +#. TRANSLATORS: Material Retraction +msgid "material-retraction" +msgstr "" + +#. TRANSLATORS: Material Shell Thickness +msgid "material-shell-thickness" +msgstr "" + +#. TRANSLATORS: Material Temperature +msgid "material-temperature" +msgstr "" + +#. TRANSLATORS: Material Type +msgid "material-type" +msgstr "" + +#. TRANSLATORS: ABS +msgid "material-type.abs" +msgstr "" + +#. TRANSLATORS: Carbon Fiber ABS +msgid "material-type.abs-carbon-fiber" +msgstr "" + +#. TRANSLATORS: Carbon Nanotube ABS +msgid "material-type.abs-carbon-nanotube" +msgstr "" + +#. TRANSLATORS: Chocolate +msgid "material-type.chocolate" +msgstr "" + +#. TRANSLATORS: Gold +msgid "material-type.gold" +msgstr "" + +#. TRANSLATORS: Nylon +msgid "material-type.nylon" +msgstr "" + +#. TRANSLATORS: Pet +msgid "material-type.pet" +msgstr "" + +#. TRANSLATORS: Photopolymer +msgid "material-type.photopolymer" +msgstr "" + +#. TRANSLATORS: PLA +msgid "material-type.pla" +msgstr "" + +#. TRANSLATORS: Conductive PLA +msgid "material-type.pla-conductive" +msgstr "" + +#. TRANSLATORS: Pla Dissolvable +msgid "material-type.pla-dissolvable" +msgstr "" + +#. TRANSLATORS: Flexible PLA +msgid "material-type.pla-flexible" +msgstr "" + +#. TRANSLATORS: Magnetic PLA +msgid "material-type.pla-magnetic" +msgstr "" + +#. TRANSLATORS: Steel PLA +msgid "material-type.pla-steel" +msgstr "" + +#. TRANSLATORS: Stone PLA +msgid "material-type.pla-stone" +msgstr "" + +#. TRANSLATORS: Wood PLA +msgid "material-type.pla-wood" +msgstr "" + +#. TRANSLATORS: Polycarbonate +msgid "material-type.polycarbonate" +msgstr "" + +#. TRANSLATORS: Dissolvable PVA +msgid "material-type.pva-dissolvable" +msgstr "" + +#. TRANSLATORS: Silver +msgid "material-type.silver" +msgstr "" + +#. TRANSLATORS: Titanium +msgid "material-type.titanium" +msgstr "" + +#. TRANSLATORS: Wax +msgid "material-type.wax" +msgstr "" + +#. TRANSLATORS: Materials +msgid "materials-col" +msgstr "" + +#. TRANSLATORS: Media +msgid "media" +msgstr "" + +#. TRANSLATORS: Back Coating of Media +msgid "media-back-coating" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "media-back-coating.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "media-back-coating.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "media-back-coating.matte" +msgstr "" + +#. TRANSLATORS: None +msgid "media-back-coating.none" +msgstr "" + +#. TRANSLATORS: Satin +msgid "media-back-coating.satin" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "media-back-coating.semi-gloss" +msgstr "" + +#. TRANSLATORS: Media Bottom Margin +msgid "media-bottom-margin" +msgstr "" + +#. TRANSLATORS: Media +msgid "media-col" +msgstr "" + +#. TRANSLATORS: Media Color +msgid "media-color" +msgstr "" + +#. TRANSLATORS: Black +msgid "media-color.black" +msgstr "" + +#. TRANSLATORS: Blue +msgid "media-color.blue" +msgstr "" + +#. TRANSLATORS: Brown +msgid "media-color.brown" +msgstr "" + +#. TRANSLATORS: Buff +msgid "media-color.buff" +msgstr "" + +#. TRANSLATORS: Clear Black +msgid "media-color.clear-black" +msgstr "" + +#. TRANSLATORS: Clear Blue +msgid "media-color.clear-blue" +msgstr "" + +#. TRANSLATORS: Clear Brown +msgid "media-color.clear-brown" +msgstr "" + +#. TRANSLATORS: Clear Buff +msgid "media-color.clear-buff" +msgstr "" + +#. TRANSLATORS: Clear Cyan +msgid "media-color.clear-cyan" +msgstr "" + +#. TRANSLATORS: Clear Gold +msgid "media-color.clear-gold" +msgstr "" + +#. TRANSLATORS: Clear Goldenrod +msgid "media-color.clear-goldenrod" +msgstr "" + +#. TRANSLATORS: Clear Gray +msgid "media-color.clear-gray" +msgstr "" + +#. TRANSLATORS: Clear Green +msgid "media-color.clear-green" +msgstr "" + +#. TRANSLATORS: Clear Ivory +msgid "media-color.clear-ivory" +msgstr "" + +#. TRANSLATORS: Clear Magenta +msgid "media-color.clear-magenta" +msgstr "" + +#. TRANSLATORS: Clear Multi Color +msgid "media-color.clear-multi-color" +msgstr "" + +#. TRANSLATORS: Clear Mustard +msgid "media-color.clear-mustard" +msgstr "" + +#. TRANSLATORS: Clear Orange +msgid "media-color.clear-orange" +msgstr "" + +#. TRANSLATORS: Clear Pink +msgid "media-color.clear-pink" +msgstr "" + +#. TRANSLATORS: Clear Red +msgid "media-color.clear-red" +msgstr "" + +#. TRANSLATORS: Clear Silver +msgid "media-color.clear-silver" +msgstr "" + +#. TRANSLATORS: Clear Turquoise +msgid "media-color.clear-turquoise" +msgstr "" + +#. TRANSLATORS: Clear Violet +msgid "media-color.clear-violet" +msgstr "" + +#. TRANSLATORS: Clear White +msgid "media-color.clear-white" +msgstr "" + +#. TRANSLATORS: Clear Yellow +msgid "media-color.clear-yellow" +msgstr "" + +#. TRANSLATORS: Cyan +msgid "media-color.cyan" +msgstr "" + +#. TRANSLATORS: Dark Blue +msgid "media-color.dark-blue" +msgstr "" + +#. TRANSLATORS: Dark Brown +msgid "media-color.dark-brown" +msgstr "" + +#. TRANSLATORS: Dark Buff +msgid "media-color.dark-buff" +msgstr "" + +#. TRANSLATORS: Dark Cyan +msgid "media-color.dark-cyan" +msgstr "" + +#. TRANSLATORS: Dark Gold +msgid "media-color.dark-gold" +msgstr "" + +#. TRANSLATORS: Dark Goldenrod +msgid "media-color.dark-goldenrod" +msgstr "" + +#. TRANSLATORS: Dark Gray +msgid "media-color.dark-gray" +msgstr "" + +#. TRANSLATORS: Dark Green +msgid "media-color.dark-green" +msgstr "" + +#. TRANSLATORS: Dark Ivory +msgid "media-color.dark-ivory" +msgstr "" + +#. TRANSLATORS: Dark Magenta +msgid "media-color.dark-magenta" +msgstr "" + +#. TRANSLATORS: Dark Mustard +msgid "media-color.dark-mustard" +msgstr "" + +#. TRANSLATORS: Dark Orange +msgid "media-color.dark-orange" +msgstr "" + +#. TRANSLATORS: Dark Pink +msgid "media-color.dark-pink" +msgstr "" + +#. TRANSLATORS: Dark Red +msgid "media-color.dark-red" +msgstr "" + +#. TRANSLATORS: Dark Silver +msgid "media-color.dark-silver" +msgstr "" + +#. TRANSLATORS: Dark Turquoise +msgid "media-color.dark-turquoise" +msgstr "" + +#. TRANSLATORS: Dark Violet +msgid "media-color.dark-violet" +msgstr "" + +#. TRANSLATORS: Dark Yellow +msgid "media-color.dark-yellow" +msgstr "" + +#. TRANSLATORS: Gold +msgid "media-color.gold" +msgstr "" + +#. TRANSLATORS: Goldenrod +msgid "media-color.goldenrod" +msgstr "" + +#. TRANSLATORS: Gray +msgid "media-color.gray" +msgstr "" + +#. TRANSLATORS: Green +msgid "media-color.green" +msgstr "" + +#. TRANSLATORS: Ivory +msgid "media-color.ivory" +msgstr "" + +#. TRANSLATORS: Light Black +msgid "media-color.light-black" +msgstr "" + +#. TRANSLATORS: Light Blue +msgid "media-color.light-blue" +msgstr "" + +#. TRANSLATORS: Light Brown +msgid "media-color.light-brown" +msgstr "" + +#. TRANSLATORS: Light Buff +msgid "media-color.light-buff" +msgstr "" + +#. TRANSLATORS: Light Cyan +msgid "media-color.light-cyan" +msgstr "" + +#. TRANSLATORS: Light Gold +msgid "media-color.light-gold" +msgstr "" + +#. TRANSLATORS: Light Goldenrod +msgid "media-color.light-goldenrod" +msgstr "" + +#. TRANSLATORS: Light Gray +msgid "media-color.light-gray" +msgstr "" + +#. TRANSLATORS: Light Green +msgid "media-color.light-green" +msgstr "" + +#. TRANSLATORS: Light Ivory +msgid "media-color.light-ivory" +msgstr "" + +#. TRANSLATORS: Light Magenta +msgid "media-color.light-magenta" +msgstr "" + +#. TRANSLATORS: Light Mustard +msgid "media-color.light-mustard" +msgstr "" + +#. TRANSLATORS: Light Orange +msgid "media-color.light-orange" +msgstr "" + +#. TRANSLATORS: Light Pink +msgid "media-color.light-pink" +msgstr "" + +#. TRANSLATORS: Light Red +msgid "media-color.light-red" +msgstr "" + +#. TRANSLATORS: Light Silver +msgid "media-color.light-silver" +msgstr "" + +#. TRANSLATORS: Light Turquoise +msgid "media-color.light-turquoise" +msgstr "" + +#. TRANSLATORS: Light Violet +msgid "media-color.light-violet" +msgstr "" + +#. TRANSLATORS: Light Yellow +msgid "media-color.light-yellow" +msgstr "" + +#. TRANSLATORS: Magenta +msgid "media-color.magenta" +msgstr "" + +#. TRANSLATORS: Multi-color +msgid "media-color.multi-color" +msgstr "" + +#. TRANSLATORS: Mustard +msgid "media-color.mustard" +msgstr "" + +#. TRANSLATORS: No Color +msgid "media-color.no-color" +msgstr "" + +#. TRANSLATORS: Orange +msgid "media-color.orange" +msgstr "" + +#. TRANSLATORS: Pink +msgid "media-color.pink" +msgstr "" + +#. TRANSLATORS: Red +msgid "media-color.red" +msgstr "" + +#. TRANSLATORS: Silver +msgid "media-color.silver" +msgstr "" + +#. TRANSLATORS: Turquoise +msgid "media-color.turquoise" +msgstr "" + +#. TRANSLATORS: Violet +msgid "media-color.violet" +msgstr "" + +#. TRANSLATORS: White +msgid "media-color.white" +msgstr "" + +#. TRANSLATORS: Yellow +msgid "media-color.yellow" +msgstr "" + +#. TRANSLATORS: Front Coating of Media +msgid "media-front-coating" +msgstr "" + +#. TRANSLATORS: Media Grain +msgid "media-grain" +msgstr "" + +#. TRANSLATORS: Cross-Feed Direction +msgid "media-grain.x-direction" +msgstr "" + +#. TRANSLATORS: Feed Direction +msgid "media-grain.y-direction" +msgstr "" + +#. TRANSLATORS: Media Hole Count +msgid "media-hole-count" +msgstr "" + +#. TRANSLATORS: Media Info +msgid "media-info" +msgstr "" + +#. TRANSLATORS: Force Media +msgid "media-input-tray-check" +msgstr "" + +#. TRANSLATORS: Media Left Margin +msgid "media-left-margin" +msgstr "" + +#. TRANSLATORS: Pre-printed Media +msgid "media-pre-printed" +msgstr "" + +#. TRANSLATORS: Blank +msgid "media-pre-printed.blank" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-pre-printed.letter-head" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "media-pre-printed.pre-printed" +msgstr "" + +#. TRANSLATORS: Recycled Media +msgid "media-recycled" +msgstr "" + +#. TRANSLATORS: None +msgid "media-recycled.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "media-recycled.standard" +msgstr "" + +#. TRANSLATORS: Media Right Margin +msgid "media-right-margin" +msgstr "" + +#. TRANSLATORS: Media Dimensions +msgid "media-size" +msgstr "" + +#. TRANSLATORS: Media Name +msgid "media-size-name" +msgstr "" + +#. TRANSLATORS: Media Source +msgid "media-source" +msgstr "" + +#. TRANSLATORS: Alternate +msgid "media-source.alternate" +msgstr "" + +#. TRANSLATORS: Alternate Roll +msgid "media-source.alternate-roll" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-source.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "media-source.bottom" +msgstr "" + +#. TRANSLATORS: By-pass Tray +msgid "media-source.by-pass-tray" +msgstr "" + +#. TRANSLATORS: Center +msgid "media-source.center" +msgstr "" + +#. TRANSLATORS: Disc +msgid "media-source.disc" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-source.envelope" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media-source.hagaki" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "media-source.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "media-source.left" +msgstr "" + +#. TRANSLATORS: Main +msgid "media-source.main" +msgstr "" + +#. TRANSLATORS: Main Roll +msgid "media-source.main-roll" +msgstr "" + +#. TRANSLATORS: Manual +msgid "media-source.manual" +msgstr "" + +#. TRANSLATORS: Middle +msgid "media-source.middle" +msgstr "" + +#. TRANSLATORS: Photo +msgid "media-source.photo" +msgstr "" + +#. TRANSLATORS: Rear +msgid "media-source.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "media-source.right" +msgstr "" + +#. TRANSLATORS: Roll 1 +msgid "media-source.roll-1" +msgstr "" + +#. TRANSLATORS: Roll 10 +msgid "media-source.roll-10" +msgstr "" + +#. TRANSLATORS: Roll 2 +msgid "media-source.roll-2" +msgstr "" + +#. TRANSLATORS: Roll 3 +msgid "media-source.roll-3" +msgstr "" + +#. TRANSLATORS: Roll 4 +msgid "media-source.roll-4" +msgstr "" + +#. TRANSLATORS: Roll 5 +msgid "media-source.roll-5" +msgstr "" + +#. TRANSLATORS: Roll 6 +msgid "media-source.roll-6" +msgstr "" + +#. TRANSLATORS: Roll 7 +msgid "media-source.roll-7" +msgstr "" + +#. TRANSLATORS: Roll 8 +msgid "media-source.roll-8" +msgstr "" + +#. TRANSLATORS: Roll 9 +msgid "media-source.roll-9" +msgstr "" + +#. TRANSLATORS: Side +msgid "media-source.side" +msgstr "" + +#. TRANSLATORS: Top +msgid "media-source.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "media-source.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "media-source.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 11 +msgid "media-source.tray-11" +msgstr "" + +#. TRANSLATORS: Tray 12 +msgid "media-source.tray-12" +msgstr "" + +#. TRANSLATORS: Tray 13 +msgid "media-source.tray-13" +msgstr "" + +#. TRANSLATORS: Tray 14 +msgid "media-source.tray-14" +msgstr "" + +#. TRANSLATORS: Tray 15 +msgid "media-source.tray-15" +msgstr "" + +#. TRANSLATORS: Tray 16 +msgid "media-source.tray-16" +msgstr "" + +#. TRANSLATORS: Tray 17 +msgid "media-source.tray-17" +msgstr "" + +#. TRANSLATORS: Tray 18 +msgid "media-source.tray-18" +msgstr "" + +#. TRANSLATORS: Tray 19 +msgid "media-source.tray-19" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "media-source.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 20 +msgid "media-source.tray-20" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "media-source.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "media-source.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "media-source.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "media-source.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "media-source.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "media-source.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "media-source.tray-9" +msgstr "" + +#. TRANSLATORS: Media Thickness +msgid "media-thickness" +msgstr "" + +#. TRANSLATORS: Media Tooth (Texture) +msgid "media-tooth" +msgstr "" + +#. TRANSLATORS: Antique +msgid "media-tooth.antique" +msgstr "" + +#. TRANSLATORS: Extra Smooth +msgid "media-tooth.calendared" +msgstr "" + +#. TRANSLATORS: Coarse +msgid "media-tooth.coarse" +msgstr "" + +#. TRANSLATORS: Fine +msgid "media-tooth.fine" +msgstr "" + +#. TRANSLATORS: Linen +msgid "media-tooth.linen" +msgstr "" + +#. TRANSLATORS: Medium +msgid "media-tooth.medium" +msgstr "" + +#. TRANSLATORS: Smooth +msgid "media-tooth.smooth" +msgstr "" + +#. TRANSLATORS: Stipple +msgid "media-tooth.stipple" +msgstr "" + +#. TRANSLATORS: Rough +msgid "media-tooth.uncalendared" +msgstr "" + +#. TRANSLATORS: Vellum +msgid "media-tooth.vellum" +msgstr "" + +#. TRANSLATORS: Media Top Margin +msgid "media-top-margin" +msgstr "" + +#. TRANSLATORS: Media Type +msgid "media-type" +msgstr "" + +#. TRANSLATORS: Aluminum +msgid "media-type.aluminum" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-type.auto" +msgstr "" + +#. TRANSLATORS: Back Print Film +msgid "media-type.back-print-film" +msgstr "" + +#. TRANSLATORS: Cardboard +msgid "media-type.cardboard" +msgstr "" + +#. TRANSLATORS: Cardstock +msgid "media-type.cardstock" +msgstr "" + +#. TRANSLATORS: CD +msgid "media-type.cd" +msgstr "" + +#. TRANSLATORS: Continuous +msgid "media-type.continuous" +msgstr "" + +#. TRANSLATORS: Continuous Long +msgid "media-type.continuous-long" +msgstr "" + +#. TRANSLATORS: Continuous Short +msgid "media-type.continuous-short" +msgstr "" + +#. TRANSLATORS: Corrugated Board +msgid "media-type.corrugated-board" +msgstr "" + +#. TRANSLATORS: Optical Disc +msgid "media-type.disc" +msgstr "" + +#. TRANSLATORS: Glossy Optical Disc +msgid "media-type.disc-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Optical Disc +msgid "media-type.disc-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Optical Disc +msgid "media-type.disc-matte" +msgstr "" + +#. TRANSLATORS: Satin Optical Disc +msgid "media-type.disc-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Optical Disc +msgid "media-type.disc-semi-gloss" +msgstr "" + +#. TRANSLATORS: Double Wall +msgid "media-type.double-wall" +msgstr "" + +#. TRANSLATORS: Dry Film +msgid "media-type.dry-film" +msgstr "" + +#. TRANSLATORS: DVD +msgid "media-type.dvd" +msgstr "" + +#. TRANSLATORS: Embossing Foil +msgid "media-type.embossing-foil" +msgstr "" + +#. TRANSLATORS: End Board +msgid "media-type.end-board" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-type.envelope" +msgstr "" + +#. TRANSLATORS: Archival Envelope +msgid "media-type.envelope-archival" +msgstr "" + +#. TRANSLATORS: Bond Envelope +msgid "media-type.envelope-bond" +msgstr "" + +#. TRANSLATORS: Coated Envelope +msgid "media-type.envelope-coated" +msgstr "" + +#. TRANSLATORS: Cotton Envelope +msgid "media-type.envelope-cotton" +msgstr "" + +#. TRANSLATORS: Fine Envelope +msgid "media-type.envelope-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Envelope +msgid "media-type.envelope-heavyweight" +msgstr "" + +#. TRANSLATORS: Inkjet Envelope +msgid "media-type.envelope-inkjet" +msgstr "" + +#. TRANSLATORS: Lightweight Envelope +msgid "media-type.envelope-lightweight" +msgstr "" + +#. TRANSLATORS: Plain Envelope +msgid "media-type.envelope-plain" +msgstr "" + +#. TRANSLATORS: Preprinted Envelope +msgid "media-type.envelope-preprinted" +msgstr "" + +#. TRANSLATORS: Windowed Envelope +msgid "media-type.envelope-window" +msgstr "" + +#. TRANSLATORS: Fabric +msgid "media-type.fabric" +msgstr "" + +#. TRANSLATORS: Archival Fabric +msgid "media-type.fabric-archival" +msgstr "" + +#. TRANSLATORS: Glossy Fabric +msgid "media-type.fabric-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Fabric +msgid "media-type.fabric-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Fabric +msgid "media-type.fabric-matte" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Fabric +msgid "media-type.fabric-semi-gloss" +msgstr "" + +#. TRANSLATORS: Waterproof Fabric +msgid "media-type.fabric-waterproof" +msgstr "" + +#. TRANSLATORS: Film +msgid "media-type.film" +msgstr "" + +#. TRANSLATORS: Flexo Base +msgid "media-type.flexo-base" +msgstr "" + +#. TRANSLATORS: Flexo Photo Polymer +msgid "media-type.flexo-photo-polymer" +msgstr "" + +#. TRANSLATORS: Flute +msgid "media-type.flute" +msgstr "" + +#. TRANSLATORS: Foil +msgid "media-type.foil" +msgstr "" + +#. TRANSLATORS: Full Cut Tabs +msgid "media-type.full-cut-tabs" +msgstr "" + +#. TRANSLATORS: Glass +msgid "media-type.glass" +msgstr "" + +#. TRANSLATORS: Glass Colored +msgid "media-type.glass-colored" +msgstr "" + +#. TRANSLATORS: Glass Opaque +msgid "media-type.glass-opaque" +msgstr "" + +#. TRANSLATORS: Glass Surfaced +msgid "media-type.glass-surfaced" +msgstr "" + +#. TRANSLATORS: Glass Textured +msgid "media-type.glass-textured" +msgstr "" + +#. TRANSLATORS: Gravure Cylinder +msgid "media-type.gravure-cylinder" +msgstr "" + +#. TRANSLATORS: Image Setter Paper +msgid "media-type.image-setter-paper" +msgstr "" + +#. TRANSLATORS: Imaging Cylinder +msgid "media-type.imaging-cylinder" +msgstr "" + +#. TRANSLATORS: Labels +msgid "media-type.labels" +msgstr "" + +#. TRANSLATORS: Colored Labels +msgid "media-type.labels-colored" +msgstr "" + +#. TRANSLATORS: Glossy Labels +msgid "media-type.labels-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Labels +msgid "media-type.labels-high-gloss" +msgstr "" + +#. TRANSLATORS: Inkjet Labels +msgid "media-type.labels-inkjet" +msgstr "" + +#. TRANSLATORS: Matte Labels +msgid "media-type.labels-matte" +msgstr "" + +#. TRANSLATORS: Permanent Labels +msgid "media-type.labels-permanent" +msgstr "" + +#. TRANSLATORS: Satin Labels +msgid "media-type.labels-satin" +msgstr "" + +#. TRANSLATORS: Security Labels +msgid "media-type.labels-security" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Labels +msgid "media-type.labels-semi-gloss" +msgstr "" + +#. TRANSLATORS: Laminating Foil +msgid "media-type.laminating-foil" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.letterhead" +msgstr "" + +#. TRANSLATORS: Metal +msgid "media-type.metal" +msgstr "" + +#. TRANSLATORS: Metal Glossy +msgid "media-type.metal-glossy" +msgstr "" + +#. TRANSLATORS: Metal High Gloss +msgid "media-type.metal-high-gloss" +msgstr "" + +#. TRANSLATORS: Metal Matte +msgid "media-type.metal-matte" +msgstr "" + +#. TRANSLATORS: Metal Satin +msgid "media-type.metal-satin" +msgstr "" + +#. TRANSLATORS: Metal Semi Gloss +msgid "media-type.metal-semi-gloss" +msgstr "" + +#. TRANSLATORS: Mounting Tape +msgid "media-type.mounting-tape" +msgstr "" + +#. TRANSLATORS: Multi Layer +msgid "media-type.multi-layer" +msgstr "" + +#. TRANSLATORS: Multi Part Form +msgid "media-type.multi-part-form" +msgstr "" + +#. TRANSLATORS: Other +msgid "media-type.other" +msgstr "" + +#. TRANSLATORS: Paper +msgid "media-type.paper" +msgstr "" + +#. TRANSLATORS: Photo Paper +msgid "media-type.photographic" +msgstr "" + +#. TRANSLATORS: Photographic Archival +msgid "media-type.photographic-archival" +msgstr "" + +#. TRANSLATORS: Photo Film +msgid "media-type.photographic-film" +msgstr "" + +#. TRANSLATORS: Glossy Photo Paper +msgid "media-type.photographic-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Photo Paper +msgid "media-type.photographic-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Photo Paper +msgid "media-type.photographic-matte" +msgstr "" + +#. TRANSLATORS: Satin Photo Paper +msgid "media-type.photographic-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Photo Paper +msgid "media-type.photographic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plastic +msgid "media-type.plastic" +msgstr "" + +#. TRANSLATORS: Plastic Archival +msgid "media-type.plastic-archival" +msgstr "" + +#. TRANSLATORS: Plastic Colored +msgid "media-type.plastic-colored" +msgstr "" + +#. TRANSLATORS: Plastic Glossy +msgid "media-type.plastic-glossy" +msgstr "" + +#. TRANSLATORS: Plastic High Gloss +msgid "media-type.plastic-high-gloss" +msgstr "" + +#. TRANSLATORS: Plastic Matte +msgid "media-type.plastic-matte" +msgstr "" + +#. TRANSLATORS: Plastic Satin +msgid "media-type.plastic-satin" +msgstr "" + +#. TRANSLATORS: Plastic Semi Gloss +msgid "media-type.plastic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plate +msgid "media-type.plate" +msgstr "" + +#. TRANSLATORS: Polyester +msgid "media-type.polyester" +msgstr "" + +#. TRANSLATORS: Pre Cut Tabs +msgid "media-type.pre-cut-tabs" +msgstr "" + +#. TRANSLATORS: Roll +msgid "media-type.roll" +msgstr "" + +#. TRANSLATORS: Screen +msgid "media-type.screen" +msgstr "" + +#. TRANSLATORS: Screen Paged +msgid "media-type.screen-paged" +msgstr "" + +#. TRANSLATORS: Self Adhesive +msgid "media-type.self-adhesive" +msgstr "" + +#. TRANSLATORS: Self Adhesive Film +msgid "media-type.self-adhesive-film" +msgstr "" + +#. TRANSLATORS: Shrink Foil +msgid "media-type.shrink-foil" +msgstr "" + +#. TRANSLATORS: Single Face +msgid "media-type.single-face" +msgstr "" + +#. TRANSLATORS: Single Wall +msgid "media-type.single-wall" +msgstr "" + +#. TRANSLATORS: Sleeve +msgid "media-type.sleeve" +msgstr "" + +#. TRANSLATORS: Stationery +msgid "media-type.stationery" +msgstr "" + +#. TRANSLATORS: Stationery Archival +msgid "media-type.stationery-archival" +msgstr "" + +#. TRANSLATORS: Coated Paper +msgid "media-type.stationery-coated" +msgstr "" + +#. TRANSLATORS: Stationery Cotton +msgid "media-type.stationery-cotton" +msgstr "" + +#. TRANSLATORS: Vellum Paper +msgid "media-type.stationery-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Paper +msgid "media-type.stationery-heavyweight" +msgstr "" + +#. TRANSLATORS: Stationery Heavyweight Coated +msgid "media-type.stationery-heavyweight-coated" +msgstr "" + +#. TRANSLATORS: Stationery Inkjet Paper +msgid "media-type.stationery-inkjet" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.stationery-letterhead" +msgstr "" + +#. TRANSLATORS: Lightweight Paper +msgid "media-type.stationery-lightweight" +msgstr "" + +#. TRANSLATORS: Preprinted Paper +msgid "media-type.stationery-preprinted" +msgstr "" + +#. TRANSLATORS: Punched Paper +msgid "media-type.stationery-prepunched" +msgstr "" + +#. TRANSLATORS: Tab Stock +msgid "media-type.tab-stock" +msgstr "" + +#. TRANSLATORS: Tractor +msgid "media-type.tractor" +msgstr "" + +#. TRANSLATORS: Transfer +msgid "media-type.transfer" +msgstr "" + +#. TRANSLATORS: Transparency +msgid "media-type.transparency" +msgstr "" + +#. TRANSLATORS: Triple Wall +msgid "media-type.triple-wall" +msgstr "" + +#. TRANSLATORS: Wet Film +msgid "media-type.wet-film" +msgstr "" + +#. TRANSLATORS: Media Weight (grams per m²) +msgid "media-weight-metric" +msgstr "" + +#. TRANSLATORS: 28 x 40″ +msgid "media.asme_f_28x40in" +msgstr "" + +#. TRANSLATORS: A4 or US Letter +msgid "media.choice_iso_a4_210x297mm_na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: 2a0 +msgid "media.iso_2a0_1189x1682mm" +msgstr "" + +#. TRANSLATORS: A0 +msgid "media.iso_a0_841x1189mm" +msgstr "" + +#. TRANSLATORS: A0x3 +msgid "media.iso_a0x3_1189x2523mm" +msgstr "" + +#. TRANSLATORS: A10 +msgid "media.iso_a10_26x37mm" +msgstr "" + +#. TRANSLATORS: A1 +msgid "media.iso_a1_594x841mm" +msgstr "" + +#. TRANSLATORS: A1x3 +msgid "media.iso_a1x3_841x1783mm" +msgstr "" + +#. TRANSLATORS: A1x4 +msgid "media.iso_a1x4_841x2378mm" +msgstr "" + +#. TRANSLATORS: A2 +msgid "media.iso_a2_420x594mm" +msgstr "" + +#. TRANSLATORS: A2x3 +msgid "media.iso_a2x3_594x1261mm" +msgstr "" + +#. TRANSLATORS: A2x4 +msgid "media.iso_a2x4_594x1682mm" +msgstr "" + +#. TRANSLATORS: A2x5 +msgid "media.iso_a2x5_594x2102mm" +msgstr "" + +#. TRANSLATORS: A3 (Extra) +msgid "media.iso_a3-extra_322x445mm" +msgstr "" + +#. TRANSLATORS: A3 +msgid "media.iso_a3_297x420mm" +msgstr "" + +#. TRANSLATORS: A3x3 +msgid "media.iso_a3x3_420x891mm" +msgstr "" + +#. TRANSLATORS: A3x4 +msgid "media.iso_a3x4_420x1189mm" +msgstr "" + +#. TRANSLATORS: A3x5 +msgid "media.iso_a3x5_420x1486mm" +msgstr "" + +#. TRANSLATORS: A3x6 +msgid "media.iso_a3x6_420x1783mm" +msgstr "" + +#. TRANSLATORS: A3x7 +msgid "media.iso_a3x7_420x2080mm" +msgstr "" + +#. TRANSLATORS: A4 (Extra) +msgid "media.iso_a4-extra_235.5x322.3mm" +msgstr "" + +#. TRANSLATORS: A4 (Tab) +msgid "media.iso_a4-tab_225x297mm" +msgstr "" + +#. TRANSLATORS: A4 +msgid "media.iso_a4_210x297mm" +msgstr "" + +#. TRANSLATORS: A4x3 +msgid "media.iso_a4x3_297x630mm" +msgstr "" + +#. TRANSLATORS: A4x4 +msgid "media.iso_a4x4_297x841mm" +msgstr "" + +#. TRANSLATORS: A4x5 +msgid "media.iso_a4x5_297x1051mm" +msgstr "" + +#. TRANSLATORS: A4x6 +msgid "media.iso_a4x6_297x1261mm" +msgstr "" + +#. TRANSLATORS: A4x7 +msgid "media.iso_a4x7_297x1471mm" +msgstr "" + +#. TRANSLATORS: A4x8 +msgid "media.iso_a4x8_297x1682mm" +msgstr "" + +#. TRANSLATORS: A4x9 +msgid "media.iso_a4x9_297x1892mm" +msgstr "" + +#. TRANSLATORS: A5 (Extra) +msgid "media.iso_a5-extra_174x235mm" +msgstr "" + +#. TRANSLATORS: A5 +msgid "media.iso_a5_148x210mm" +msgstr "" + +#. TRANSLATORS: A6 +msgid "media.iso_a6_105x148mm" +msgstr "" + +#. TRANSLATORS: A7 +msgid "media.iso_a7_74x105mm" +msgstr "" + +#. TRANSLATORS: A8 +msgid "media.iso_a8_52x74mm" +msgstr "" + +#. TRANSLATORS: A9 +msgid "media.iso_a9_37x52mm" +msgstr "" + +#. TRANSLATORS: B0 +msgid "media.iso_b0_1000x1414mm" +msgstr "" + +#. TRANSLATORS: B10 +msgid "media.iso_b10_31x44mm" +msgstr "" + +#. TRANSLATORS: B1 +msgid "media.iso_b1_707x1000mm" +msgstr "" + +#. TRANSLATORS: B2 +msgid "media.iso_b2_500x707mm" +msgstr "" + +#. TRANSLATORS: B3 +msgid "media.iso_b3_353x500mm" +msgstr "" + +#. TRANSLATORS: B4 +msgid "media.iso_b4_250x353mm" +msgstr "" + +#. TRANSLATORS: B5 (Extra) +msgid "media.iso_b5-extra_201x276mm" +msgstr "" + +#. TRANSLATORS: Envelope B5 +msgid "media.iso_b5_176x250mm" +msgstr "" + +#. TRANSLATORS: B6 +msgid "media.iso_b6_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope B6/C4 +msgid "media.iso_b6c4_125x324mm" +msgstr "" + +#. TRANSLATORS: B7 +msgid "media.iso_b7_88x125mm" +msgstr "" + +#. TRANSLATORS: B8 +msgid "media.iso_b8_62x88mm" +msgstr "" + +#. TRANSLATORS: B9 +msgid "media.iso_b9_44x62mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 0 +msgid "media.iso_c0_917x1297mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 10 +msgid "media.iso_c10_28x40mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 1 +msgid "media.iso_c1_648x917mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 2 +msgid "media.iso_c2_458x648mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 3 +msgid "media.iso_c3_324x458mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 4 +msgid "media.iso_c4_229x324mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 5 +msgid "media.iso_c5_162x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6 +msgid "media.iso_c6_114x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6c5 +msgid "media.iso_c6c5_114x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7 +msgid "media.iso_c7_81x114mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7c6 +msgid "media.iso_c7c6_81x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 8 +msgid "media.iso_c8_57x81mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 9 +msgid "media.iso_c9_40x57mm" +msgstr "" + +#. TRANSLATORS: Envelope DL +msgid "media.iso_dl_110x220mm" +msgstr "" + +#. TRANSLATORS: Id-1 +msgid "media.iso_id-1_53.98x85.6mm" +msgstr "" + +#. TRANSLATORS: Id-3 +msgid "media.iso_id-3_88x125mm" +msgstr "" + +#. TRANSLATORS: ISO RA0 +msgid "media.iso_ra0_860x1220mm" +msgstr "" + +#. TRANSLATORS: ISO RA1 +msgid "media.iso_ra1_610x860mm" +msgstr "" + +#. TRANSLATORS: ISO RA2 +msgid "media.iso_ra2_430x610mm" +msgstr "" + +#. TRANSLATORS: ISO RA3 +msgid "media.iso_ra3_305x430mm" +msgstr "" + +#. TRANSLATORS: ISO RA4 +msgid "media.iso_ra4_215x305mm" +msgstr "" + +#. TRANSLATORS: ISO SRA0 +msgid "media.iso_sra0_900x1280mm" +msgstr "" + +#. TRANSLATORS: ISO SRA1 +msgid "media.iso_sra1_640x900mm" +msgstr "" + +#. TRANSLATORS: ISO SRA2 +msgid "media.iso_sra2_450x640mm" +msgstr "" + +#. TRANSLATORS: ISO SRA3 +msgid "media.iso_sra3_320x450mm" +msgstr "" + +#. TRANSLATORS: ISO SRA4 +msgid "media.iso_sra4_225x320mm" +msgstr "" + +#. TRANSLATORS: JIS B0 +msgid "media.jis_b0_1030x1456mm" +msgstr "" + +#. TRANSLATORS: JIS B10 +msgid "media.jis_b10_32x45mm" +msgstr "" + +#. TRANSLATORS: JIS B1 +msgid "media.jis_b1_728x1030mm" +msgstr "" + +#. TRANSLATORS: JIS B2 +msgid "media.jis_b2_515x728mm" +msgstr "" + +#. TRANSLATORS: JIS B3 +msgid "media.jis_b3_364x515mm" +msgstr "" + +#. TRANSLATORS: JIS B4 +msgid "media.jis_b4_257x364mm" +msgstr "" + +#. TRANSLATORS: JIS B5 +msgid "media.jis_b5_182x257mm" +msgstr "" + +#. TRANSLATORS: JIS B6 +msgid "media.jis_b6_128x182mm" +msgstr "" + +#. TRANSLATORS: JIS B7 +msgid "media.jis_b7_91x128mm" +msgstr "" + +#. TRANSLATORS: JIS B8 +msgid "media.jis_b8_64x91mm" +msgstr "" + +#. TRANSLATORS: JIS B9 +msgid "media.jis_b9_45x64mm" +msgstr "" + +#. TRANSLATORS: JIS Executive +msgid "media.jis_exec_216x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 2 +msgid "media.jpn_chou2_111.1x146mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 3 +msgid "media.jpn_chou3_120x235mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 40 +msgid "media.jpn_chou40_90x225mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 4 +msgid "media.jpn_chou4_90x205mm" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media.jpn_hagaki_100x148mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu +msgid "media.jpn_kahu_240x322.1mm" +msgstr "" + +#. TRANSLATORS: 270 x 382mm +msgid "media.jpn_kaku1_270x382mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu 2 +msgid "media.jpn_kaku2_240x332mm" +msgstr "" + +#. TRANSLATORS: 216 x 277mm +msgid "media.jpn_kaku3_216x277mm" +msgstr "" + +#. TRANSLATORS: 197 x 267mm +msgid "media.jpn_kaku4_197x267mm" +msgstr "" + +#. TRANSLATORS: 190 x 240mm +msgid "media.jpn_kaku5_190x240mm" +msgstr "" + +#. TRANSLATORS: 142 x 205mm +msgid "media.jpn_kaku7_142x205mm" +msgstr "" + +#. TRANSLATORS: 119 x 197mm +msgid "media.jpn_kaku8_119x197mm" +msgstr "" + +#. TRANSLATORS: Oufuku Reply Postcard +msgid "media.jpn_oufuku_148x200mm" +msgstr "" + +#. TRANSLATORS: Envelope You 4 +msgid "media.jpn_you4_105x235mm" +msgstr "" + +#. TRANSLATORS: 10 x 11″ +msgid "media.na_10x11_10x11in" +msgstr "" + +#. TRANSLATORS: 10 x 13″ +msgid "media.na_10x13_10x13in" +msgstr "" + +#. TRANSLATORS: 10 x 14″ +msgid "media.na_10x14_10x14in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.na_10x15_10x15in" +msgstr "" + +#. TRANSLATORS: 11 x 12″ +msgid "media.na_11x12_11x12in" +msgstr "" + +#. TRANSLATORS: 11 x 15″ +msgid "media.na_11x15_11x15in" +msgstr "" + +#. TRANSLATORS: 12 x 19″ +msgid "media.na_12x19_12x19in" +msgstr "" + +#. TRANSLATORS: 5 x 7″ +msgid "media.na_5x7_5x7in" +msgstr "" + +#. TRANSLATORS: 6 x 9″ +msgid "media.na_6x9_6x9in" +msgstr "" + +#. TRANSLATORS: 7 x 9″ +msgid "media.na_7x9_7x9in" +msgstr "" + +#. TRANSLATORS: 9 x 11″ +msgid "media.na_9x11_9x11in" +msgstr "" + +#. TRANSLATORS: Envelope A2 +msgid "media.na_a2_4.375x5.75in" +msgstr "" + +#. TRANSLATORS: 9 x 12″ +msgid "media.na_arch-a_9x12in" +msgstr "" + +#. TRANSLATORS: 12 x 18″ +msgid "media.na_arch-b_12x18in" +msgstr "" + +#. TRANSLATORS: 18 x 24″ +msgid "media.na_arch-c_18x24in" +msgstr "" + +#. TRANSLATORS: 24 x 36″ +msgid "media.na_arch-d_24x36in" +msgstr "" + +#. TRANSLATORS: 26 x 38″ +msgid "media.na_arch-e2_26x38in" +msgstr "" + +#. TRANSLATORS: 27 x 39″ +msgid "media.na_arch-e3_27x39in" +msgstr "" + +#. TRANSLATORS: 36 x 48″ +msgid "media.na_arch-e_36x48in" +msgstr "" + +#. TRANSLATORS: 12 x 19.17″ +msgid "media.na_b-plus_12x19.17in" +msgstr "" + +#. TRANSLATORS: Envelope C5 +msgid "media.na_c5_6.5x9.5in" +msgstr "" + +#. TRANSLATORS: 17 x 22″ +msgid "media.na_c_17x22in" +msgstr "" + +#. TRANSLATORS: 22 x 34″ +msgid "media.na_d_22x34in" +msgstr "" + +#. TRANSLATORS: 34 x 44″ +msgid "media.na_e_34x44in" +msgstr "" + +#. TRANSLATORS: 11 x 14″ +msgid "media.na_edp_11x14in" +msgstr "" + +#. TRANSLATORS: 12 x 14″ +msgid "media.na_eur-edp_12x14in" +msgstr "" + +#. TRANSLATORS: Executive +msgid "media.na_executive_7.25x10.5in" +msgstr "" + +#. TRANSLATORS: 44 x 68″ +msgid "media.na_f_44x68in" +msgstr "" + +#. TRANSLATORS: European Fanfold +msgid "media.na_fanfold-eur_8.5x12in" +msgstr "" + +#. TRANSLATORS: US Fanfold +msgid "media.na_fanfold-us_11x14.875in" +msgstr "" + +#. TRANSLATORS: Foolscap +msgid "media.na_foolscap_8.5x13in" +msgstr "" + +#. TRANSLATORS: 8 x 13″ +msgid "media.na_govt-legal_8x13in" +msgstr "" + +#. TRANSLATORS: 8 x 10″ +msgid "media.na_govt-letter_8x10in" +msgstr "" + +#. TRANSLATORS: 3 x 5″ +msgid "media.na_index-3x5_3x5in" +msgstr "" + +#. TRANSLATORS: 6 x 8″ +msgid "media.na_index-4x6-ext_6x8in" +msgstr "" + +#. TRANSLATORS: 4 x 6″ +msgid "media.na_index-4x6_4x6in" +msgstr "" + +#. TRANSLATORS: 5 x 8″ +msgid "media.na_index-5x8_5x8in" +msgstr "" + +#. TRANSLATORS: Statement +msgid "media.na_invoice_5.5x8.5in" +msgstr "" + +#. TRANSLATORS: 11 x 17″ +msgid "media.na_ledger_11x17in" +msgstr "" + +#. TRANSLATORS: US Legal (Extra) +msgid "media.na_legal-extra_9.5x15in" +msgstr "" + +#. TRANSLATORS: US Legal +msgid "media.na_legal_8.5x14in" +msgstr "" + +#. TRANSLATORS: US Letter (Extra) +msgid "media.na_letter-extra_9.5x12in" +msgstr "" + +#. TRANSLATORS: US Letter (Plus) +msgid "media.na_letter-plus_8.5x12.69in" +msgstr "" + +#. TRANSLATORS: US Letter +msgid "media.na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: Envelope Monarch +msgid "media.na_monarch_3.875x7.5in" +msgstr "" + +#. TRANSLATORS: Envelope #10 +msgid "media.na_number-10_4.125x9.5in" +msgstr "" + +#. TRANSLATORS: Envelope #11 +msgid "media.na_number-11_4.5x10.375in" +msgstr "" + +#. TRANSLATORS: Envelope #12 +msgid "media.na_number-12_4.75x11in" +msgstr "" + +#. TRANSLATORS: Envelope #14 +msgid "media.na_number-14_5x11.5in" +msgstr "" + +#. TRANSLATORS: Envelope #9 +msgid "media.na_number-9_3.875x8.875in" +msgstr "" + +#. TRANSLATORS: 8.5 x 13.4″ +msgid "media.na_oficio_8.5x13.4in" +msgstr "" + +#. TRANSLATORS: Envelope Personal +msgid "media.na_personal_3.625x6.5in" +msgstr "" + +#. TRANSLATORS: Quarto +msgid "media.na_quarto_8.5x10.83in" +msgstr "" + +#. TRANSLATORS: 8.94 x 14″ +msgid "media.na_super-a_8.94x14in" +msgstr "" + +#. TRANSLATORS: 13 x 19″ +msgid "media.na_super-b_13x19in" +msgstr "" + +#. TRANSLATORS: 30 x 42″ +msgid "media.na_wide-format_30x42in" +msgstr "" + +#. TRANSLATORS: 12 x 16″ +msgid "media.oe_12x16_12x16in" +msgstr "" + +#. TRANSLATORS: 14 x 17″ +msgid "media.oe_14x17_14x17in" +msgstr "" + +#. TRANSLATORS: 18 x 22″ +msgid "media.oe_18x22_18x22in" +msgstr "" + +#. TRANSLATORS: 17 x 24″ +msgid "media.oe_a2plus_17x24in" +msgstr "" + +#. TRANSLATORS: 2 x 3.5″ +msgid "media.oe_business-card_2x3.5in" +msgstr "" + +#. TRANSLATORS: 10 x 12″ +msgid "media.oe_photo-10r_10x12in" +msgstr "" + +#. TRANSLATORS: 20 x 24″ +msgid "media.oe_photo-20r_20x24in" +msgstr "" + +#. TRANSLATORS: 3.5 x 5″ +msgid "media.oe_photo-l_3.5x5in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.oe_photo-s10r_10x15in" +msgstr "" + +#. TRANSLATORS: 4 x 4″ +msgid "media.oe_square-photo_4x4in" +msgstr "" + +#. TRANSLATORS: 5 x 5″ +msgid "media.oe_square-photo_5x5in" +msgstr "" + +#. TRANSLATORS: 184 x 260mm +msgid "media.om_16k_184x260mm" +msgstr "" + +#. TRANSLATORS: 195 x 270mm +msgid "media.om_16k_195x270mm" +msgstr "" + +#. TRANSLATORS: 55 x 85mm +msgid "media.om_business-card_55x85mm" +msgstr "" + +#. TRANSLATORS: 55 x 91mm +msgid "media.om_business-card_55x91mm" +msgstr "" + +#. TRANSLATORS: 54 x 86mm +msgid "media.om_card_54x86mm" +msgstr "" + +#. TRANSLATORS: 275 x 395mm +msgid "media.om_dai-pa-kai_275x395mm" +msgstr "" + +#. TRANSLATORS: 89 x 119mm +msgid "media.om_dsc-photo_89x119mm" +msgstr "" + +#. TRANSLATORS: Folio +msgid "media.om_folio-sp_215x315mm" +msgstr "" + +#. TRANSLATORS: Folio (Special) +msgid "media.om_folio_210x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Invitation +msgid "media.om_invite_220x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Italian +msgid "media.om_italian_110x230mm" +msgstr "" + +#. TRANSLATORS: 198 x 275mm +msgid "media.om_juuro-ku-kai_198x275mm" +msgstr "" + +#. TRANSLATORS: 200 x 300 +msgid "media.om_large-photo_200x300" +msgstr "" + +#. TRANSLATORS: 130 x 180mm +msgid "media.om_medium-photo_130x180mm" +msgstr "" + +#. TRANSLATORS: 267 x 389mm +msgid "media.om_pa-kai_267x389mm" +msgstr "" + +#. TRANSLATORS: Envelope Postfix +msgid "media.om_postfix_114x229mm" +msgstr "" + +#. TRANSLATORS: 100 x 150mm +msgid "media.om_small-photo_100x150mm" +msgstr "" + +#. TRANSLATORS: 89 x 89mm +msgid "media.om_square-photo_89x89mm" +msgstr "" + +#. TRANSLATORS: 100 x 200mm +msgid "media.om_wide-photo_100x200mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #10 +msgid "media.prc_10_324x458mm" +msgstr "" + +#. TRANSLATORS: Chinese 16k +msgid "media.prc_16k_146x215mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #1 +msgid "media.prc_1_102x165mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #2 +msgid "media.prc_2_102x176mm" +msgstr "" + +#. TRANSLATORS: Chinese 32k +msgid "media.prc_32k_97x151mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #3 +msgid "media.prc_3_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #4 +msgid "media.prc_4_110x208mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #5 +msgid "media.prc_5_110x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #6 +msgid "media.prc_6_120x320mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #7 +msgid "media.prc_7_160x230mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #8 +msgid "media.prc_8_120x309mm" +msgstr "" + +#. TRANSLATORS: ROC 16k +msgid "media.roc_16k_7.75x10.75in" +msgstr "" + +#. TRANSLATORS: ROC 8k +msgid "media.roc_8k_10.75x15.5in" +msgstr "" + +#, c-format +msgid "members of class %s:" +msgstr "" + +#. TRANSLATORS: Multiple Document Handling +msgid "multiple-document-handling" +msgstr "" + +#. TRANSLATORS: Separate Documents Collated Copies +msgid "multiple-document-handling.separate-documents-collated-copies" +msgstr "" + +#. TRANSLATORS: Separate Documents Uncollated Copies +msgid "multiple-document-handling.separate-documents-uncollated-copies" +msgstr "" + +#. TRANSLATORS: Single Document +msgid "multiple-document-handling.single-document" +msgstr "" + +#. TRANSLATORS: Single Document New Sheet +msgid "multiple-document-handling.single-document-new-sheet" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling +msgid "multiple-object-handling" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling Actual +msgid "multiple-object-handling-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "multiple-object-handling.auto" +msgstr "" + +#. TRANSLATORS: Best Fit +msgid "multiple-object-handling.best-fit" +msgstr "" + +#. TRANSLATORS: Best Quality +msgid "multiple-object-handling.best-quality" +msgstr "" + +#. TRANSLATORS: Best Speed +msgid "multiple-object-handling.best-speed" +msgstr "" + +#. TRANSLATORS: One At A Time +msgid "multiple-object-handling.one-at-a-time" +msgstr "" + +#. TRANSLATORS: On Timeout +msgid "multiple-operation-time-out-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "multiple-operation-time-out-action.abort-job" +msgstr "" + +#. TRANSLATORS: Hold Job +msgid "multiple-operation-time-out-action.hold-job" +msgstr "" + +#. TRANSLATORS: Process Job +msgid "multiple-operation-time-out-action.process-job" +msgstr "" + +msgid "no entries" +msgstr "" + +msgid "no system default destination" +msgstr "" + +#. TRANSLATORS: Noise Removal +msgid "noise-removal" +msgstr "" + +#. TRANSLATORS: Notify Attributes +msgid "notify-attributes" +msgstr "" + +#. TRANSLATORS: Notify Charset +msgid "notify-charset" +msgstr "" + +#. TRANSLATORS: Notify Events +msgid "notify-events" +msgstr "" + +msgid "notify-events not specified." +msgstr "" + +#. TRANSLATORS: Document Completed +msgid "notify-events.document-completed" +msgstr "" + +#. TRANSLATORS: Document Config Changed +msgid "notify-events.document-config-changed" +msgstr "" + +#. TRANSLATORS: Document Created +msgid "notify-events.document-created" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "notify-events.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document State Changed +msgid "notify-events.document-state-changed" +msgstr "" + +#. TRANSLATORS: Document Stopped +msgid "notify-events.document-stopped" +msgstr "" + +#. TRANSLATORS: Job Completed +msgid "notify-events.job-completed" +msgstr "" + +#. TRANSLATORS: Job Config Changed +msgid "notify-events.job-config-changed" +msgstr "" + +#. TRANSLATORS: Job Created +msgid "notify-events.job-created" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "notify-events.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Progress +msgid "notify-events.job-progress" +msgstr "" + +#. TRANSLATORS: Job State Changed +msgid "notify-events.job-state-changed" +msgstr "" + +#. TRANSLATORS: Job Stopped +msgid "notify-events.job-stopped" +msgstr "" + +#. TRANSLATORS: None +msgid "notify-events.none" +msgstr "" + +#. TRANSLATORS: Printer Config Changed +msgid "notify-events.printer-config-changed" +msgstr "" + +#. TRANSLATORS: Printer Finishings Changed +msgid "notify-events.printer-finishings-changed" +msgstr "" + +#. TRANSLATORS: Printer Media Changed +msgid "notify-events.printer-media-changed" +msgstr "" + +#. TRANSLATORS: Printer Queue Order Changed +msgid "notify-events.printer-queue-order-changed" +msgstr "" + +#. TRANSLATORS: Printer Restarted +msgid "notify-events.printer-restarted" +msgstr "" + +#. TRANSLATORS: Printer Shutdown +msgid "notify-events.printer-shutdown" +msgstr "" + +#. TRANSLATORS: Printer State Changed +msgid "notify-events.printer-state-changed" +msgstr "" + +#. TRANSLATORS: Printer Stopped +msgid "notify-events.printer-stopped" +msgstr "" + +#. TRANSLATORS: Notify Get Interval +msgid "notify-get-interval" +msgstr "" + +#. TRANSLATORS: Notify Lease Duration +msgid "notify-lease-duration" +msgstr "" + +#. TRANSLATORS: Notify Natural Language +msgid "notify-natural-language" +msgstr "" + +#. TRANSLATORS: Notify Pull Method +msgid "notify-pull-method" +msgstr "" + +#. TRANSLATORS: Notify Recipient +msgid "notify-recipient-uri" +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" is already used." +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" uses unknown scheme." +msgstr "" + +#. TRANSLATORS: Notify Sequence Numbers +msgid "notify-sequence-numbers" +msgstr "" + +#. TRANSLATORS: Notify Subscription Ids +msgid "notify-subscription-ids" +msgstr "" + +#. TRANSLATORS: Notify Time Interval +msgid "notify-time-interval" +msgstr "" + +#. TRANSLATORS: Notify User Data +msgid "notify-user-data" +msgstr "" + +#. TRANSLATORS: Notify Wait +msgid "notify-wait" +msgstr "" + +#. TRANSLATORS: Number Of Retries +msgid "number-of-retries" +msgstr "" + +#. TRANSLATORS: Number-Up +msgid "number-up" +msgstr "" + +#. TRANSLATORS: Object Offset +msgid "object-offset" +msgstr "" + +#. TRANSLATORS: Object Size +msgid "object-size" +msgstr "" + +#. TRANSLATORS: Organization Name +msgid "organization-name" +msgstr "" + +#. TRANSLATORS: Orientation +msgid "orientation-requested" +msgstr "" + +#. TRANSLATORS: Portrait +msgid "orientation-requested.3" +msgstr "" + +#. TRANSLATORS: Landscape +msgid "orientation-requested.4" +msgstr "" + +#. TRANSLATORS: Reverse Landscape +msgid "orientation-requested.5" +msgstr "" + +#. TRANSLATORS: Reverse Portrait +msgid "orientation-requested.6" +msgstr "" + +#. TRANSLATORS: None +msgid "orientation-requested.7" +msgstr "" + +#. TRANSLATORS: Scanned Image Options +msgid "output-attributes" +msgstr "" + +#. TRANSLATORS: Output Tray +msgid "output-bin" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "output-bin.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "output-bin.bottom" +msgstr "" + +#. TRANSLATORS: Center +msgid "output-bin.center" +msgstr "" + +#. TRANSLATORS: Face Down +msgid "output-bin.face-down" +msgstr "" + +#. TRANSLATORS: Face Up +msgid "output-bin.face-up" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "output-bin.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "output-bin.left" +msgstr "" + +#. TRANSLATORS: Mailbox 1 +msgid "output-bin.mailbox-1" +msgstr "" + +#. TRANSLATORS: Mailbox 10 +msgid "output-bin.mailbox-10" +msgstr "" + +#. TRANSLATORS: Mailbox 2 +msgid "output-bin.mailbox-2" +msgstr "" + +#. TRANSLATORS: Mailbox 3 +msgid "output-bin.mailbox-3" +msgstr "" + +#. TRANSLATORS: Mailbox 4 +msgid "output-bin.mailbox-4" +msgstr "" + +#. TRANSLATORS: Mailbox 5 +msgid "output-bin.mailbox-5" +msgstr "" + +#. TRANSLATORS: Mailbox 6 +msgid "output-bin.mailbox-6" +msgstr "" + +#. TRANSLATORS: Mailbox 7 +msgid "output-bin.mailbox-7" +msgstr "" + +#. TRANSLATORS: Mailbox 8 +msgid "output-bin.mailbox-8" +msgstr "" + +#. TRANSLATORS: Mailbox 9 +msgid "output-bin.mailbox-9" +msgstr "" + +#. TRANSLATORS: Middle +msgid "output-bin.middle" +msgstr "" + +#. TRANSLATORS: My Mailbox +msgid "output-bin.my-mailbox" +msgstr "" + +#. TRANSLATORS: Rear +msgid "output-bin.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "output-bin.right" +msgstr "" + +#. TRANSLATORS: Side +msgid "output-bin.side" +msgstr "" + +#. TRANSLATORS: Stacker 1 +msgid "output-bin.stacker-1" +msgstr "" + +#. TRANSLATORS: Stacker 10 +msgid "output-bin.stacker-10" +msgstr "" + +#. TRANSLATORS: Stacker 2 +msgid "output-bin.stacker-2" +msgstr "" + +#. TRANSLATORS: Stacker 3 +msgid "output-bin.stacker-3" +msgstr "" + +#. TRANSLATORS: Stacker 4 +msgid "output-bin.stacker-4" +msgstr "" + +#. TRANSLATORS: Stacker 5 +msgid "output-bin.stacker-5" +msgstr "" + +#. TRANSLATORS: Stacker 6 +msgid "output-bin.stacker-6" +msgstr "" + +#. TRANSLATORS: Stacker 7 +msgid "output-bin.stacker-7" +msgstr "" + +#. TRANSLATORS: Stacker 8 +msgid "output-bin.stacker-8" +msgstr "" + +#. TRANSLATORS: Stacker 9 +msgid "output-bin.stacker-9" +msgstr "" + +#. TRANSLATORS: Top +msgid "output-bin.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "output-bin.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "output-bin.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "output-bin.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "output-bin.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "output-bin.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "output-bin.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "output-bin.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "output-bin.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "output-bin.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "output-bin.tray-9" +msgstr "" + +#. TRANSLATORS: Scanned Image Quality +msgid "output-compression-quality-factor" +msgstr "" + +#. TRANSLATORS: Page Delivery +msgid "page-delivery" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-down +msgid "page-delivery.reverse-order-face-down" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-up +msgid "page-delivery.reverse-order-face-up" +msgstr "" + +#. TRANSLATORS: Same Order Face-down +msgid "page-delivery.same-order-face-down" +msgstr "" + +#. TRANSLATORS: Same Order Face-up +msgid "page-delivery.same-order-face-up" +msgstr "" + +#. TRANSLATORS: System Specified +msgid "page-delivery.system-specified" +msgstr "" + +#. TRANSLATORS: Page Order Received +msgid "page-order-received" +msgstr "" + +#. TRANSLATORS: 1 To N +msgid "page-order-received.1-to-n-order" +msgstr "" + +#. TRANSLATORS: N To 1 +msgid "page-order-received.n-to-1-order" +msgstr "" + +#. TRANSLATORS: Page Ranges +msgid "page-ranges" +msgstr "" + +#. TRANSLATORS: Pages +msgid "pages" +msgstr "" + +#. TRANSLATORS: Pages Per Subset +msgid "pages-per-subset" +msgstr "" + +#. TRANSLATORS: Pclm Raster Back Side +msgid "pclm-raster-back-side" +msgstr "" + +#. TRANSLATORS: Flipped +msgid "pclm-raster-back-side.flipped" +msgstr "" + +#. TRANSLATORS: Normal +msgid "pclm-raster-back-side.normal" +msgstr "" + +#. TRANSLATORS: Rotated +msgid "pclm-raster-back-side.rotated" +msgstr "" + +#. TRANSLATORS: Pclm Source Resolution +msgid "pclm-source-resolution" +msgstr "" + +msgid "pending" +msgstr "en attente" + +#. TRANSLATORS: Platform Shape +msgid "platform-shape" +msgstr "" + +#. TRANSLATORS: Round +msgid "platform-shape.ellipse" +msgstr "" + +#. TRANSLATORS: Rectangle +msgid "platform-shape.rectangle" +msgstr "" + +#. TRANSLATORS: Platform Temperature +msgid "platform-temperature" +msgstr "" + +#. TRANSLATORS: Post-dial String +msgid "post-dial-string" +msgstr "" + +#, c-format +msgid "ppdc: Adding include directory \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Adding/updating UI text from %s." +msgstr "" + +#, c-format +msgid "ppdc: Bad boolean value (%s) on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Bad font attribute: %s" +msgstr "" + +#, c-format +msgid "ppdc: Bad resolution name \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Bad status keyword %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Bad variable substitution ($%c) on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Choice found on line %d of %s with no Option." +msgstr "" + +#, c-format +msgid "ppdc: Duplicate #po for locale %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected a filter definition on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected a program name on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected boolean value on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected charset after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected choice code on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected choice name/text on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected color order for ColorModel on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected colorspace for ColorModel on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected compression for ColorModel on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected constraints string for UIConstraints on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Expected driver type keyword following DriverType on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected duplex type after Duplex on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected encoding after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected filename after #po %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected group name/text on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected include filename on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected integer on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected locale after #po on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after FileName on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after Manufacturer on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after MediaSize on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after ModelName on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name after PCFileName on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name/text after %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name/text after Installable on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name/text after Resolution on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected name/text combination for ColorModel on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected option name/text on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected option section on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected option type on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected override field after Resolution on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected quoted string on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected real number on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d " +"of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected selector after %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected status after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected string after Copyright on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected string after Version on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected two option names on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected value after %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Expected version after Font on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid #include/#po filename \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Invalid cost for filter on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid empty MIME type for filter on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid empty program name for filter on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid option section \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Invalid option type \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Loading driver information file \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Loading messages for locale \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Loading messages from \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Missing #endif at end of \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Missing #if on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Need a msgid line before any translation strings on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: No message catalog provided for locale %s." +msgstr "" + +#, c-format +msgid "ppdc: Option %s defined in two different groups on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Option %s redefined with a different type on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Option constraint must *name on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Too many nested #if's on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unable to create PPD file \"%s\" - %s." +msgstr "" + +#, c-format +msgid "ppdc: Unable to create output directory %s: %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to create output pipes: %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to execute cupstestppd: %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to find #po file %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unable to find include file \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unable to find localization for \"%s\" - %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to load localization file \"%s\" - %s" +msgstr "" + +#, c-format +msgid "ppdc: Unable to open %s: %s" +msgstr "" + +#, c-format +msgid "ppdc: Undefined variable (%s) on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unexpected text on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unknown driver type %s on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unknown duplex type \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unknown media size \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unknown message catalog format for \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Unknown token \"%s\" seen on line %d of %s." +msgstr "" + +#, c-format +msgid "" +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Unterminated string starting with %c on line %d of %s." +msgstr "" + +#, c-format +msgid "ppdc: Warning - overlapping filename \"%s\"." +msgstr "" + +#, c-format +msgid "ppdc: Writing %s." +msgstr "" + +#, c-format +msgid "ppdc: Writing PPD files to directory \"%s\"." +msgstr "" + +#, c-format +msgid "ppdmerge: Bad LanguageVersion \"%s\" in %s." +msgstr "" + +#, c-format +msgid "ppdmerge: Ignoring PPD file %s." +msgstr "" + +#, c-format +msgid "ppdmerge: Unable to backup %s to %s - %s" +msgstr "" + +#. TRANSLATORS: Pre-dial String +msgid "pre-dial-string" +msgstr "" + +#. TRANSLATORS: Number-Up Layout +msgid "presentation-direction-number-up" +msgstr "" + +#. TRANSLATORS: Top-bottom, Right-left +msgid "presentation-direction-number-up.tobottom-toleft" +msgstr "" + +#. TRANSLATORS: Top-bottom, Left-right +msgid "presentation-direction-number-up.tobottom-toright" +msgstr "" + +#. TRANSLATORS: Right-left, Top-bottom +msgid "presentation-direction-number-up.toleft-tobottom" +msgstr "" + +#. TRANSLATORS: Right-left, Bottom-top +msgid "presentation-direction-number-up.toleft-totop" +msgstr "" + +#. TRANSLATORS: Left-right, Top-bottom +msgid "presentation-direction-number-up.toright-tobottom" +msgstr "" + +#. TRANSLATORS: Left-right, Bottom-top +msgid "presentation-direction-number-up.toright-totop" +msgstr "" + +#. TRANSLATORS: Bottom-top, Right-left +msgid "presentation-direction-number-up.totop-toleft" +msgstr "" + +#. TRANSLATORS: Bottom-top, Left-right +msgid "presentation-direction-number-up.totop-toright" +msgstr "" + +#. TRANSLATORS: Print Accuracy +msgid "print-accuracy" +msgstr "" + +#. TRANSLATORS: Print Base +msgid "print-base" +msgstr "" + +#. TRANSLATORS: Print Base Actual +msgid "print-base-actual" +msgstr "" + +#. TRANSLATORS: Brim +msgid "print-base.brim" +msgstr "" + +#. TRANSLATORS: None +msgid "print-base.none" +msgstr "" + +#. TRANSLATORS: Raft +msgid "print-base.raft" +msgstr "" + +#. TRANSLATORS: Skirt +msgid "print-base.skirt" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-base.standard" +msgstr "" + +#. TRANSLATORS: Print Color Mode +msgid "print-color-mode" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-color-mode.auto" +msgstr "" + +#. TRANSLATORS: Auto Monochrome +msgid "print-color-mode.auto-monochrome" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-color-mode.bi-level" +msgstr "" + +#. TRANSLATORS: Color +msgid "print-color-mode.color" +msgstr "" + +#. TRANSLATORS: Highlight +msgid "print-color-mode.highlight" +msgstr "" + +#. TRANSLATORS: Monochrome +msgid "print-color-mode.monochrome" +msgstr "" + +#. TRANSLATORS: Process Text +msgid "print-color-mode.process-bi-level" +msgstr "" + +#. TRANSLATORS: Process Monochrome +msgid "print-color-mode.process-monochrome" +msgstr "" + +#. TRANSLATORS: Print Optimization +msgid "print-content-optimize" +msgstr "" + +#. TRANSLATORS: Print Content Optimize Actual +msgid "print-content-optimize-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-content-optimize.auto" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphic" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphics" +msgstr "" + +#. TRANSLATORS: Photo +msgid "print-content-optimize.photo" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-content-optimize.text" +msgstr "" + +#. TRANSLATORS: Text and Graphics +msgid "print-content-optimize.text-and-graphic" +msgstr "" + +#. TRANSLATORS: Text And Graphics +msgid "print-content-optimize.text-and-graphics" +msgstr "" + +#. TRANSLATORS: Print Objects +msgid "print-objects" +msgstr "" + +#. TRANSLATORS: Print Quality +msgid "print-quality" +msgstr "" + +#. TRANSLATORS: Draft +msgid "print-quality.3" +msgstr "" + +#. TRANSLATORS: Normal +msgid "print-quality.4" +msgstr "" + +#. TRANSLATORS: High +msgid "print-quality.5" +msgstr "" + +#. TRANSLATORS: Print Rendering Intent +msgid "print-rendering-intent" +msgstr "" + +#. TRANSLATORS: Absolute +msgid "print-rendering-intent.absolute" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-rendering-intent.auto" +msgstr "" + +#. TRANSLATORS: Perceptual +msgid "print-rendering-intent.perceptual" +msgstr "" + +#. TRANSLATORS: Relative +msgid "print-rendering-intent.relative" +msgstr "" + +#. TRANSLATORS: Relative w/Black Point Compensation +msgid "print-rendering-intent.relative-bpc" +msgstr "" + +#. TRANSLATORS: Saturation +msgid "print-rendering-intent.saturation" +msgstr "" + +#. TRANSLATORS: Print Scaling +msgid "print-scaling" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-scaling.auto" +msgstr "" + +#. TRANSLATORS: Auto-fit +msgid "print-scaling.auto-fit" +msgstr "" + +#. TRANSLATORS: Fill +msgid "print-scaling.fill" +msgstr "" + +#. TRANSLATORS: Fit +msgid "print-scaling.fit" +msgstr "" + +#. TRANSLATORS: None +msgid "print-scaling.none" +msgstr "" + +#. TRANSLATORS: Print Supports +msgid "print-supports" +msgstr "" + +#. TRANSLATORS: Print Supports Actual +msgid "print-supports-actual" +msgstr "" + +#. TRANSLATORS: With Specified Material +msgid "print-supports.material" +msgstr "" + +#. TRANSLATORS: None +msgid "print-supports.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-supports.standard" +msgstr "" + +#, c-format +msgid "printer %s disabled since %s -" +msgstr "" + +#, c-format +msgid "printer %s is holding new jobs. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s is idle. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s now printing %s-%d. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s/%s disabled since %s -" +msgstr "" + +#, c-format +msgid "printer %s/%s is idle. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s/%s now printing %s-%d. enabled since %s" +msgstr "" + +#. TRANSLATORS: Printer Kind +msgid "printer-kind" +msgstr "" + +#. TRANSLATORS: Disc +msgid "printer-kind.disc" +msgstr "" + +#. TRANSLATORS: Document +msgid "printer-kind.document" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "printer-kind.envelope" +msgstr "" + +#. TRANSLATORS: Label +msgid "printer-kind.label" +msgstr "" + +#. TRANSLATORS: Large Format +msgid "printer-kind.large-format" +msgstr "" + +#. TRANSLATORS: Photo +msgid "printer-kind.photo" +msgstr "" + +#. TRANSLATORS: Postcard +msgid "printer-kind.postcard" +msgstr "" + +#. TRANSLATORS: Receipt +msgid "printer-kind.receipt" +msgstr "" + +#. TRANSLATORS: Roll +msgid "printer-kind.roll" +msgstr "" + +#. TRANSLATORS: Message From Operator +msgid "printer-message-from-operator" +msgstr "" + +#. TRANSLATORS: Print Resolution +msgid "printer-resolution" +msgstr "" + +#. TRANSLATORS: Printer State +msgid "printer-state" +msgstr "" + +#. TRANSLATORS: Detailed Printer State +msgid "printer-state-reasons" +msgstr "" + +#. TRANSLATORS: Old Alerts Have Been Removed +msgid "printer-state-reasons.alert-removal-of-binary-change-entry" +msgstr "" + +#. TRANSLATORS: Bander Added +msgid "printer-state-reasons.bander-added" +msgstr "" + +#. TRANSLATORS: Bander Almost Empty +msgid "printer-state-reasons.bander-almost-empty" +msgstr "" + +#. TRANSLATORS: Bander Almost Full +msgid "printer-state-reasons.bander-almost-full" +msgstr "" + +#. TRANSLATORS: Bander At Limit +msgid "printer-state-reasons.bander-at-limit" +msgstr "" + +#. TRANSLATORS: Bander Closed +msgid "printer-state-reasons.bander-closed" +msgstr "" + +#. TRANSLATORS: Bander Configuration Change +msgid "printer-state-reasons.bander-configuration-change" +msgstr "" + +#. TRANSLATORS: Bander Cover Closed +msgid "printer-state-reasons.bander-cover-closed" +msgstr "" + +#. TRANSLATORS: Bander Cover Open +msgid "printer-state-reasons.bander-cover-open" +msgstr "" + +#. TRANSLATORS: Bander Empty +msgid "printer-state-reasons.bander-empty" +msgstr "" + +#. TRANSLATORS: Bander Full +msgid "printer-state-reasons.bander-full" +msgstr "" + +#. TRANSLATORS: Bander Interlock Closed +msgid "printer-state-reasons.bander-interlock-closed" +msgstr "" + +#. TRANSLATORS: Bander Interlock Open +msgid "printer-state-reasons.bander-interlock-open" +msgstr "" + +#. TRANSLATORS: Bander Jam +msgid "printer-state-reasons.bander-jam" +msgstr "" + +#. TRANSLATORS: Bander Life Almost Over +msgid "printer-state-reasons.bander-life-almost-over" +msgstr "" + +#. TRANSLATORS: Bander Life Over +msgid "printer-state-reasons.bander-life-over" +msgstr "" + +#. TRANSLATORS: Bander Memory Exhausted +msgid "printer-state-reasons.bander-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Bander Missing +msgid "printer-state-reasons.bander-missing" +msgstr "" + +#. TRANSLATORS: Bander Motor Failure +msgid "printer-state-reasons.bander-motor-failure" +msgstr "" + +#. TRANSLATORS: Bander Near Limit +msgid "printer-state-reasons.bander-near-limit" +msgstr "" + +#. TRANSLATORS: Bander Offline +msgid "printer-state-reasons.bander-offline" +msgstr "" + +#. TRANSLATORS: Bander Opened +msgid "printer-state-reasons.bander-opened" +msgstr "" + +#. TRANSLATORS: Bander Over Temperature +msgid "printer-state-reasons.bander-over-temperature" +msgstr "" + +#. TRANSLATORS: Bander Power Saver +msgid "printer-state-reasons.bander-power-saver" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Failure +msgid "printer-state-reasons.bander-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Storage +msgid "printer-state-reasons.bander-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Bander Removed +msgid "printer-state-reasons.bander-removed" +msgstr "" + +#. TRANSLATORS: Bander Resource Added +msgid "printer-state-reasons.bander-resource-added" +msgstr "" + +#. TRANSLATORS: Bander Resource Removed +msgid "printer-state-reasons.bander-resource-removed" +msgstr "" + +#. TRANSLATORS: Bander Thermistor Failure +msgid "printer-state-reasons.bander-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Bander Timing Failure +msgid "printer-state-reasons.bander-timing-failure" +msgstr "" + +#. TRANSLATORS: Bander Turned Off +msgid "printer-state-reasons.bander-turned-off" +msgstr "" + +#. TRANSLATORS: Bander Turned On +msgid "printer-state-reasons.bander-turned-on" +msgstr "" + +#. TRANSLATORS: Bander Under Temperature +msgid "printer-state-reasons.bander-under-temperature" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Failure +msgid "printer-state-reasons.bander-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Storage Error +msgid "printer-state-reasons.bander-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Bander Warming Up +msgid "printer-state-reasons.bander-warming-up" +msgstr "" + +#. TRANSLATORS: Binder Added +msgid "printer-state-reasons.binder-added" +msgstr "" + +#. TRANSLATORS: Binder Almost Empty +msgid "printer-state-reasons.binder-almost-empty" +msgstr "" + +#. TRANSLATORS: Binder Almost Full +msgid "printer-state-reasons.binder-almost-full" +msgstr "" + +#. TRANSLATORS: Binder At Limit +msgid "printer-state-reasons.binder-at-limit" +msgstr "" + +#. TRANSLATORS: Binder Closed +msgid "printer-state-reasons.binder-closed" +msgstr "" + +#. TRANSLATORS: Binder Configuration Change +msgid "printer-state-reasons.binder-configuration-change" +msgstr "" + +#. TRANSLATORS: Binder Cover Closed +msgid "printer-state-reasons.binder-cover-closed" +msgstr "" + +#. TRANSLATORS: Binder Cover Open +msgid "printer-state-reasons.binder-cover-open" +msgstr "" + +#. TRANSLATORS: Binder Empty +msgid "printer-state-reasons.binder-empty" +msgstr "" + +#. TRANSLATORS: Binder Full +msgid "printer-state-reasons.binder-full" +msgstr "" + +#. TRANSLATORS: Binder Interlock Closed +msgid "printer-state-reasons.binder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Binder Interlock Open +msgid "printer-state-reasons.binder-interlock-open" +msgstr "" + +#. TRANSLATORS: Binder Jam +msgid "printer-state-reasons.binder-jam" +msgstr "" + +#. TRANSLATORS: Binder Life Almost Over +msgid "printer-state-reasons.binder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Binder Life Over +msgid "printer-state-reasons.binder-life-over" +msgstr "" + +#. TRANSLATORS: Binder Memory Exhausted +msgid "printer-state-reasons.binder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Binder Missing +msgid "printer-state-reasons.binder-missing" +msgstr "" + +#. TRANSLATORS: Binder Motor Failure +msgid "printer-state-reasons.binder-motor-failure" +msgstr "" + +#. TRANSLATORS: Binder Near Limit +msgid "printer-state-reasons.binder-near-limit" +msgstr "" + +#. TRANSLATORS: Binder Offline +msgid "printer-state-reasons.binder-offline" +msgstr "" + +#. TRANSLATORS: Binder Opened +msgid "printer-state-reasons.binder-opened" +msgstr "" + +#. TRANSLATORS: Binder Over Temperature +msgid "printer-state-reasons.binder-over-temperature" +msgstr "" + +#. TRANSLATORS: Binder Power Saver +msgid "printer-state-reasons.binder-power-saver" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Failure +msgid "printer-state-reasons.binder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Storage +msgid "printer-state-reasons.binder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Binder Removed +msgid "printer-state-reasons.binder-removed" +msgstr "" + +#. TRANSLATORS: Binder Resource Added +msgid "printer-state-reasons.binder-resource-added" +msgstr "" + +#. TRANSLATORS: Binder Resource Removed +msgid "printer-state-reasons.binder-resource-removed" +msgstr "" + +#. TRANSLATORS: Binder Thermistor Failure +msgid "printer-state-reasons.binder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Binder Timing Failure +msgid "printer-state-reasons.binder-timing-failure" +msgstr "" + +#. TRANSLATORS: Binder Turned Off +msgid "printer-state-reasons.binder-turned-off" +msgstr "" + +#. TRANSLATORS: Binder Turned On +msgid "printer-state-reasons.binder-turned-on" +msgstr "" + +#. TRANSLATORS: Binder Under Temperature +msgid "printer-state-reasons.binder-under-temperature" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Failure +msgid "printer-state-reasons.binder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Storage Error +msgid "printer-state-reasons.binder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Binder Warming Up +msgid "printer-state-reasons.binder-warming-up" +msgstr "" + +#. TRANSLATORS: Camera Failure +msgid "printer-state-reasons.camera-failure" +msgstr "" + +#. TRANSLATORS: Chamber Cooling +msgid "printer-state-reasons.chamber-cooling" +msgstr "" + +#. TRANSLATORS: Chamber Failure +msgid "printer-state-reasons.chamber-failure" +msgstr "" + +#. TRANSLATORS: Chamber Heating +msgid "printer-state-reasons.chamber-heating" +msgstr "" + +#. TRANSLATORS: Chamber Temperature High +msgid "printer-state-reasons.chamber-temperature-high" +msgstr "" + +#. TRANSLATORS: Chamber Temperature Low +msgid "printer-state-reasons.chamber-temperature-low" +msgstr "" + +#. TRANSLATORS: Cleaner Life Almost Over +msgid "printer-state-reasons.cleaner-life-almost-over" +msgstr "" + +#. TRANSLATORS: Cleaner Life Over +msgid "printer-state-reasons.cleaner-life-over" +msgstr "" + +#. TRANSLATORS: Configuration Change +msgid "printer-state-reasons.configuration-change" +msgstr "" + +#. TRANSLATORS: Connecting To Device +msgid "printer-state-reasons.connecting-to-device" +msgstr "" + +#. TRANSLATORS: Cover Open +msgid "printer-state-reasons.cover-open" +msgstr "" + +#. TRANSLATORS: Deactivated +msgid "printer-state-reasons.deactivated" +msgstr "" + +#. TRANSLATORS: Developer Empty +msgid "printer-state-reasons.developer-empty" +msgstr "" + +#. TRANSLATORS: Developer Low +msgid "printer-state-reasons.developer-low" +msgstr "" + +#. TRANSLATORS: Die Cutter Added +msgid "printer-state-reasons.die-cutter-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Empty +msgid "printer-state-reasons.die-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Full +msgid "printer-state-reasons.die-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Die Cutter At Limit +msgid "printer-state-reasons.die-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Closed +msgid "printer-state-reasons.die-cutter-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Configuration Change +msgid "printer-state-reasons.die-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Closed +msgid "printer-state-reasons.die-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Open +msgid "printer-state-reasons.die-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Empty +msgid "printer-state-reasons.die-cutter-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Full +msgid "printer-state-reasons.die-cutter-full" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Closed +msgid "printer-state-reasons.die-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Open +msgid "printer-state-reasons.die-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Jam +msgid "printer-state-reasons.die-cutter-jam" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Almost Over +msgid "printer-state-reasons.die-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Over +msgid "printer-state-reasons.die-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Memory Exhausted +msgid "printer-state-reasons.die-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Die Cutter Missing +msgid "printer-state-reasons.die-cutter-missing" +msgstr "" + +#. TRANSLATORS: Die Cutter Motor Failure +msgid "printer-state-reasons.die-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Near Limit +msgid "printer-state-reasons.die-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Offline +msgid "printer-state-reasons.die-cutter-offline" +msgstr "" + +#. TRANSLATORS: Die Cutter Opened +msgid "printer-state-reasons.die-cutter-opened" +msgstr "" + +#. TRANSLATORS: Die Cutter Over Temperature +msgid "printer-state-reasons.die-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Power Saver +msgid "printer-state-reasons.die-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Failure +msgid "printer-state-reasons.die-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Storage +msgid "printer-state-reasons.die-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Die Cutter Removed +msgid "printer-state-reasons.die-cutter-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Added +msgid "printer-state-reasons.die-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Removed +msgid "printer-state-reasons.die-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Thermistor Failure +msgid "printer-state-reasons.die-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Timing Failure +msgid "printer-state-reasons.die-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned Off +msgid "printer-state-reasons.die-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned On +msgid "printer-state-reasons.die-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Die Cutter Under Temperature +msgid "printer-state-reasons.die-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Failure +msgid "printer-state-reasons.die-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.die-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Die Cutter Warming Up +msgid "printer-state-reasons.die-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Door Open +msgid "printer-state-reasons.door-open" +msgstr "" + +#. TRANSLATORS: Extruder Cooling +msgid "printer-state-reasons.extruder-cooling" +msgstr "" + +#. TRANSLATORS: Extruder Failure +msgid "printer-state-reasons.extruder-failure" +msgstr "" + +#. TRANSLATORS: Extruder Heating +msgid "printer-state-reasons.extruder-heating" +msgstr "" + +#. TRANSLATORS: Extruder Jam +msgid "printer-state-reasons.extruder-jam" +msgstr "" + +#. TRANSLATORS: Extruder Temperature High +msgid "printer-state-reasons.extruder-temperature-high" +msgstr "" + +#. TRANSLATORS: Extruder Temperature Low +msgid "printer-state-reasons.extruder-temperature-low" +msgstr "" + +#. TRANSLATORS: Fan Failure +msgid "printer-state-reasons.fan-failure" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Almost Over +msgid "printer-state-reasons.fax-modem-life-almost-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Over +msgid "printer-state-reasons.fax-modem-life-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Missing +msgid "printer-state-reasons.fax-modem-missing" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned Off +msgid "printer-state-reasons.fax-modem-turned-off" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned On +msgid "printer-state-reasons.fax-modem-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Added +msgid "printer-state-reasons.folder-added" +msgstr "" + +#. TRANSLATORS: Folder Almost Empty +msgid "printer-state-reasons.folder-almost-empty" +msgstr "" + +#. TRANSLATORS: Folder Almost Full +msgid "printer-state-reasons.folder-almost-full" +msgstr "" + +#. TRANSLATORS: Folder At Limit +msgid "printer-state-reasons.folder-at-limit" +msgstr "" + +#. TRANSLATORS: Folder Closed +msgid "printer-state-reasons.folder-closed" +msgstr "" + +#. TRANSLATORS: Folder Configuration Change +msgid "printer-state-reasons.folder-configuration-change" +msgstr "" + +#. TRANSLATORS: Folder Cover Closed +msgid "printer-state-reasons.folder-cover-closed" +msgstr "" + +#. TRANSLATORS: Folder Cover Open +msgid "printer-state-reasons.folder-cover-open" +msgstr "" + +#. TRANSLATORS: Folder Empty +msgid "printer-state-reasons.folder-empty" +msgstr "" + +#. TRANSLATORS: Folder Full +msgid "printer-state-reasons.folder-full" +msgstr "" + +#. TRANSLATORS: Folder Interlock Closed +msgid "printer-state-reasons.folder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Folder Interlock Open +msgid "printer-state-reasons.folder-interlock-open" +msgstr "" + +#. TRANSLATORS: Folder Jam +msgid "printer-state-reasons.folder-jam" +msgstr "" + +#. TRANSLATORS: Folder Life Almost Over +msgid "printer-state-reasons.folder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Folder Life Over +msgid "printer-state-reasons.folder-life-over" +msgstr "" + +#. TRANSLATORS: Folder Memory Exhausted +msgid "printer-state-reasons.folder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Folder Missing +msgid "printer-state-reasons.folder-missing" +msgstr "" + +#. TRANSLATORS: Folder Motor Failure +msgid "printer-state-reasons.folder-motor-failure" +msgstr "" + +#. TRANSLATORS: Folder Near Limit +msgid "printer-state-reasons.folder-near-limit" +msgstr "" + +#. TRANSLATORS: Folder Offline +msgid "printer-state-reasons.folder-offline" +msgstr "" + +#. TRANSLATORS: Folder Opened +msgid "printer-state-reasons.folder-opened" +msgstr "" + +#. TRANSLATORS: Folder Over Temperature +msgid "printer-state-reasons.folder-over-temperature" +msgstr "" + +#. TRANSLATORS: Folder Power Saver +msgid "printer-state-reasons.folder-power-saver" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Failure +msgid "printer-state-reasons.folder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Storage +msgid "printer-state-reasons.folder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Folder Removed +msgid "printer-state-reasons.folder-removed" +msgstr "" + +#. TRANSLATORS: Folder Resource Added +msgid "printer-state-reasons.folder-resource-added" +msgstr "" + +#. TRANSLATORS: Folder Resource Removed +msgid "printer-state-reasons.folder-resource-removed" +msgstr "" + +#. TRANSLATORS: Folder Thermistor Failure +msgid "printer-state-reasons.folder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Folder Timing Failure +msgid "printer-state-reasons.folder-timing-failure" +msgstr "" + +#. TRANSLATORS: Folder Turned Off +msgid "printer-state-reasons.folder-turned-off" +msgstr "" + +#. TRANSLATORS: Folder Turned On +msgid "printer-state-reasons.folder-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Under Temperature +msgid "printer-state-reasons.folder-under-temperature" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Failure +msgid "printer-state-reasons.folder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Storage Error +msgid "printer-state-reasons.folder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Folder Warming Up +msgid "printer-state-reasons.folder-warming-up" +msgstr "" + +#. TRANSLATORS: Fuser temperature high +msgid "printer-state-reasons.fuser-over-temp" +msgstr "" + +#. TRANSLATORS: Fuser temperature low +msgid "printer-state-reasons.fuser-under-temp" +msgstr "" + +#. TRANSLATORS: Hold New Jobs +msgid "printer-state-reasons.hold-new-jobs" +msgstr "" + +#. TRANSLATORS: Identify Printer +msgid "printer-state-reasons.identify-printer-requested" +msgstr "" + +#. TRANSLATORS: Imprinter Added +msgid "printer-state-reasons.imprinter-added" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Empty +msgid "printer-state-reasons.imprinter-almost-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Full +msgid "printer-state-reasons.imprinter-almost-full" +msgstr "" + +#. TRANSLATORS: Imprinter At Limit +msgid "printer-state-reasons.imprinter-at-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Closed +msgid "printer-state-reasons.imprinter-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Configuration Change +msgid "printer-state-reasons.imprinter-configuration-change" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Closed +msgid "printer-state-reasons.imprinter-cover-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Open +msgid "printer-state-reasons.imprinter-cover-open" +msgstr "" + +#. TRANSLATORS: Imprinter Empty +msgid "printer-state-reasons.imprinter-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Full +msgid "printer-state-reasons.imprinter-full" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Closed +msgid "printer-state-reasons.imprinter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Open +msgid "printer-state-reasons.imprinter-interlock-open" +msgstr "" + +#. TRANSLATORS: Imprinter Jam +msgid "printer-state-reasons.imprinter-jam" +msgstr "" + +#. TRANSLATORS: Imprinter Life Almost Over +msgid "printer-state-reasons.imprinter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Imprinter Life Over +msgid "printer-state-reasons.imprinter-life-over" +msgstr "" + +#. TRANSLATORS: Imprinter Memory Exhausted +msgid "printer-state-reasons.imprinter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Imprinter Missing +msgid "printer-state-reasons.imprinter-missing" +msgstr "" + +#. TRANSLATORS: Imprinter Motor Failure +msgid "printer-state-reasons.imprinter-motor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Near Limit +msgid "printer-state-reasons.imprinter-near-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Offline +msgid "printer-state-reasons.imprinter-offline" +msgstr "" + +#. TRANSLATORS: Imprinter Opened +msgid "printer-state-reasons.imprinter-opened" +msgstr "" + +#. TRANSLATORS: Imprinter Over Temperature +msgid "printer-state-reasons.imprinter-over-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Power Saver +msgid "printer-state-reasons.imprinter-power-saver" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Failure +msgid "printer-state-reasons.imprinter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Storage +msgid "printer-state-reasons.imprinter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Imprinter Removed +msgid "printer-state-reasons.imprinter-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Added +msgid "printer-state-reasons.imprinter-resource-added" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Removed +msgid "printer-state-reasons.imprinter-resource-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Thermistor Failure +msgid "printer-state-reasons.imprinter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Timing Failure +msgid "printer-state-reasons.imprinter-timing-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Turned Off +msgid "printer-state-reasons.imprinter-turned-off" +msgstr "" + +#. TRANSLATORS: Imprinter Turned On +msgid "printer-state-reasons.imprinter-turned-on" +msgstr "" + +#. TRANSLATORS: Imprinter Under Temperature +msgid "printer-state-reasons.imprinter-under-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Failure +msgid "printer-state-reasons.imprinter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Storage Error +msgid "printer-state-reasons.imprinter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Imprinter Warming Up +msgid "printer-state-reasons.imprinter-warming-up" +msgstr "" + +#. TRANSLATORS: Input Cannot Feed Size Selected +msgid "printer-state-reasons.input-cannot-feed-size-selected" +msgstr "" + +#. TRANSLATORS: Input Manual Input Request +msgid "printer-state-reasons.input-manual-input-request" +msgstr "" + +#. TRANSLATORS: Input Media Color Change +msgid "printer-state-reasons.input-media-color-change" +msgstr "" + +#. TRANSLATORS: Input Media Form Parts Change +msgid "printer-state-reasons.input-media-form-parts-change" +msgstr "" + +#. TRANSLATORS: Input Media Size Change +msgid "printer-state-reasons.input-media-size-change" +msgstr "" + +#. TRANSLATORS: Input Media Tray Failure +msgid "printer-state-reasons.input-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Input Media Tray Feed Error +msgid "printer-state-reasons.input-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Input Media Tray Jam +msgid "printer-state-reasons.input-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Input Media Type Change +msgid "printer-state-reasons.input-media-type-change" +msgstr "" + +#. TRANSLATORS: Input Media Weight Change +msgid "printer-state-reasons.input-media-weight-change" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Failure +msgid "printer-state-reasons.input-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Over +msgid "printer-state-reasons.input-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Warn +msgid "printer-state-reasons.input-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Missing +msgid "printer-state-reasons.input-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Elevation Failure +msgid "printer-state-reasons.input-tray-elevation-failure" +msgstr "" + +#. TRANSLATORS: Paper tray is missing +msgid "printer-state-reasons.input-tray-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Position Failure +msgid "printer-state-reasons.input-tray-position-failure" +msgstr "" + +#. TRANSLATORS: Inserter Added +msgid "printer-state-reasons.inserter-added" +msgstr "" + +#. TRANSLATORS: Inserter Almost Empty +msgid "printer-state-reasons.inserter-almost-empty" +msgstr "" + +#. TRANSLATORS: Inserter Almost Full +msgid "printer-state-reasons.inserter-almost-full" +msgstr "" + +#. TRANSLATORS: Inserter At Limit +msgid "printer-state-reasons.inserter-at-limit" +msgstr "" + +#. TRANSLATORS: Inserter Closed +msgid "printer-state-reasons.inserter-closed" +msgstr "" + +#. TRANSLATORS: Inserter Configuration Change +msgid "printer-state-reasons.inserter-configuration-change" +msgstr "" + +#. TRANSLATORS: Inserter Cover Closed +msgid "printer-state-reasons.inserter-cover-closed" +msgstr "" + +#. TRANSLATORS: Inserter Cover Open +msgid "printer-state-reasons.inserter-cover-open" +msgstr "" + +#. TRANSLATORS: Inserter Empty +msgid "printer-state-reasons.inserter-empty" +msgstr "" + +#. TRANSLATORS: Inserter Full +msgid "printer-state-reasons.inserter-full" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Closed +msgid "printer-state-reasons.inserter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Open +msgid "printer-state-reasons.inserter-interlock-open" +msgstr "" + +#. TRANSLATORS: Inserter Jam +msgid "printer-state-reasons.inserter-jam" +msgstr "" + +#. TRANSLATORS: Inserter Life Almost Over +msgid "printer-state-reasons.inserter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Inserter Life Over +msgid "printer-state-reasons.inserter-life-over" +msgstr "" + +#. TRANSLATORS: Inserter Memory Exhausted +msgid "printer-state-reasons.inserter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Inserter Missing +msgid "printer-state-reasons.inserter-missing" +msgstr "" + +#. TRANSLATORS: Inserter Motor Failure +msgid "printer-state-reasons.inserter-motor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Near Limit +msgid "printer-state-reasons.inserter-near-limit" +msgstr "" + +#. TRANSLATORS: Inserter Offline +msgid "printer-state-reasons.inserter-offline" +msgstr "" + +#. TRANSLATORS: Inserter Opened +msgid "printer-state-reasons.inserter-opened" +msgstr "" + +#. TRANSLATORS: Inserter Over Temperature +msgid "printer-state-reasons.inserter-over-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Power Saver +msgid "printer-state-reasons.inserter-power-saver" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Failure +msgid "printer-state-reasons.inserter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Storage +msgid "printer-state-reasons.inserter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Inserter Removed +msgid "printer-state-reasons.inserter-removed" +msgstr "" + +#. TRANSLATORS: Inserter Resource Added +msgid "printer-state-reasons.inserter-resource-added" +msgstr "" + +#. TRANSLATORS: Inserter Resource Removed +msgid "printer-state-reasons.inserter-resource-removed" +msgstr "" + +#. TRANSLATORS: Inserter Thermistor Failure +msgid "printer-state-reasons.inserter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Timing Failure +msgid "printer-state-reasons.inserter-timing-failure" +msgstr "" + +#. TRANSLATORS: Inserter Turned Off +msgid "printer-state-reasons.inserter-turned-off" +msgstr "" + +#. TRANSLATORS: Inserter Turned On +msgid "printer-state-reasons.inserter-turned-on" +msgstr "" + +#. TRANSLATORS: Inserter Under Temperature +msgid "printer-state-reasons.inserter-under-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Failure +msgid "printer-state-reasons.inserter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Storage Error +msgid "printer-state-reasons.inserter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Inserter Warming Up +msgid "printer-state-reasons.inserter-warming-up" +msgstr "" + +#. TRANSLATORS: Interlock Closed +msgid "printer-state-reasons.interlock-closed" +msgstr "" + +#. TRANSLATORS: Interlock Open +msgid "printer-state-reasons.interlock-open" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Added +msgid "printer-state-reasons.interpreter-cartridge-added" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Removed +msgid "printer-state-reasons.interpreter-cartridge-deleted" +msgstr "" + +#. TRANSLATORS: Interpreter Complex Page Encountered +msgid "printer-state-reasons.interpreter-complex-page-encountered" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Decrease +msgid "printer-state-reasons.interpreter-memory-decrease" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Increase +msgid "printer-state-reasons.interpreter-memory-increase" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Added +msgid "printer-state-reasons.interpreter-resource-added" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Deleted +msgid "printer-state-reasons.interpreter-resource-deleted" +msgstr "" + +#. TRANSLATORS: Printer resource unavailable +msgid "printer-state-reasons.interpreter-resource-unavailable" +msgstr "" + +#. TRANSLATORS: Lamp At End of Life +msgid "printer-state-reasons.lamp-at-eol" +msgstr "" + +#. TRANSLATORS: Lamp Failure +msgid "printer-state-reasons.lamp-failure" +msgstr "" + +#. TRANSLATORS: Lamp Near End of Life +msgid "printer-state-reasons.lamp-near-eol" +msgstr "" + +#. TRANSLATORS: Laser At End of Life +msgid "printer-state-reasons.laser-at-eol" +msgstr "" + +#. TRANSLATORS: Laser Failure +msgid "printer-state-reasons.laser-failure" +msgstr "" + +#. TRANSLATORS: Laser Near End of Life +msgid "printer-state-reasons.laser-near-eol" +msgstr "" + +#. TRANSLATORS: Envelope Maker Added +msgid "printer-state-reasons.make-envelope-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Empty +msgid "printer-state-reasons.make-envelope-almost-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Full +msgid "printer-state-reasons.make-envelope-almost-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker At Limit +msgid "printer-state-reasons.make-envelope-at-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Closed +msgid "printer-state-reasons.make-envelope-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Configuration Change +msgid "printer-state-reasons.make-envelope-configuration-change" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Closed +msgid "printer-state-reasons.make-envelope-cover-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Open +msgid "printer-state-reasons.make-envelope-cover-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Empty +msgid "printer-state-reasons.make-envelope-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Full +msgid "printer-state-reasons.make-envelope-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Closed +msgid "printer-state-reasons.make-envelope-interlock-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Open +msgid "printer-state-reasons.make-envelope-interlock-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Jam +msgid "printer-state-reasons.make-envelope-jam" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Almost Over +msgid "printer-state-reasons.make-envelope-life-almost-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Over +msgid "printer-state-reasons.make-envelope-life-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Memory Exhausted +msgid "printer-state-reasons.make-envelope-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Envelope Maker Missing +msgid "printer-state-reasons.make-envelope-missing" +msgstr "" + +#. TRANSLATORS: Envelope Maker Motor Failure +msgid "printer-state-reasons.make-envelope-motor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Near Limit +msgid "printer-state-reasons.make-envelope-near-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Offline +msgid "printer-state-reasons.make-envelope-offline" +msgstr "" + +#. TRANSLATORS: Envelope Maker Opened +msgid "printer-state-reasons.make-envelope-opened" +msgstr "" + +#. TRANSLATORS: Envelope Maker Over Temperature +msgid "printer-state-reasons.make-envelope-over-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Power Saver +msgid "printer-state-reasons.make-envelope-power-saver" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Failure +msgid "printer-state-reasons.make-envelope-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Storage +msgid "printer-state-reasons.make-envelope-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Envelope Maker Removed +msgid "printer-state-reasons.make-envelope-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Added +msgid "printer-state-reasons.make-envelope-resource-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Removed +msgid "printer-state-reasons.make-envelope-resource-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Thermistor Failure +msgid "printer-state-reasons.make-envelope-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Timing Failure +msgid "printer-state-reasons.make-envelope-timing-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned Off +msgid "printer-state-reasons.make-envelope-turned-off" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned On +msgid "printer-state-reasons.make-envelope-turned-on" +msgstr "" + +#. TRANSLATORS: Envelope Maker Under Temperature +msgid "printer-state-reasons.make-envelope-under-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Failure +msgid "printer-state-reasons.make-envelope-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Storage Error +msgid "printer-state-reasons.make-envelope-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Envelope Maker Warming Up +msgid "printer-state-reasons.make-envelope-warming-up" +msgstr "" + +#. TRANSLATORS: Marker Adjusting Print Quality +msgid "printer-state-reasons.marker-adjusting-print-quality" +msgstr "" + +#. TRANSLATORS: Marker Cleaner Missing +msgid "printer-state-reasons.marker-cleaner-missing" +msgstr "" + +#. TRANSLATORS: Marker Developer Almost Empty +msgid "printer-state-reasons.marker-developer-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Empty +msgid "printer-state-reasons.marker-developer-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Missing +msgid "printer-state-reasons.marker-developer-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Missing +msgid "printer-state-reasons.marker-fuser-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Thermistor Failure +msgid "printer-state-reasons.marker-fuser-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Marker Fuser Timing Failure +msgid "printer-state-reasons.marker-fuser-timing-failure" +msgstr "" + +#. TRANSLATORS: Marker Ink Almost Empty +msgid "printer-state-reasons.marker-ink-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Empty +msgid "printer-state-reasons.marker-ink-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Missing +msgid "printer-state-reasons.marker-ink-missing" +msgstr "" + +#. TRANSLATORS: Marker Opc Missing +msgid "printer-state-reasons.marker-opc-missing" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Almost Empty +msgid "printer-state-reasons.marker-print-ribbon-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Empty +msgid "printer-state-reasons.marker-print-ribbon-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Missing +msgid "printer-state-reasons.marker-print-ribbon-missing" +msgstr "" + +#. TRANSLATORS: Marker Supply Almost Empty +msgid "printer-state-reasons.marker-supply-almost-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner empty +msgid "printer-state-reasons.marker-supply-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner low +msgid "printer-state-reasons.marker-supply-low" +msgstr "" + +#. TRANSLATORS: Marker Supply Missing +msgid "printer-state-reasons.marker-supply-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Cartridge Missing +msgid "printer-state-reasons.marker-toner-cartridge-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Missing +msgid "printer-state-reasons.marker-toner-missing" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin almost full +msgid "printer-state-reasons.marker-waste-almost-full" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin full +msgid "printer-state-reasons.marker-waste-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Missing +msgid "printer-state-reasons.marker-waste-ink-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Missing +msgid "printer-state-reasons.marker-waste-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Missing +msgid "printer-state-reasons.marker-waste-toner-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Material Empty +msgid "printer-state-reasons.material-empty" +msgstr "" + +#. TRANSLATORS: Material Low +msgid "printer-state-reasons.material-low" +msgstr "" + +#. TRANSLATORS: Material Needed +msgid "printer-state-reasons.material-needed" +msgstr "" + +#. TRANSLATORS: Media Drying +msgid "printer-state-reasons.media-drying" +msgstr "" + +#. TRANSLATORS: Paper tray is empty +msgid "printer-state-reasons.media-empty" +msgstr "" + +#. TRANSLATORS: Paper jam +msgid "printer-state-reasons.media-jam" +msgstr "" + +#. TRANSLATORS: Paper tray is almost empty +msgid "printer-state-reasons.media-low" +msgstr "" + +#. TRANSLATORS: Load paper +msgid "printer-state-reasons.media-needed" +msgstr "" + +#. TRANSLATORS: Media Path Cannot Do 2-Sided Printing +msgid "printer-state-reasons.media-path-cannot-duplex-media-selected" +msgstr "" + +#. TRANSLATORS: Media Path Failure +msgid "printer-state-reasons.media-path-failure" +msgstr "" + +#. TRANSLATORS: Media Path Input Empty +msgid "printer-state-reasons.media-path-input-empty" +msgstr "" + +#. TRANSLATORS: Media Path Input Feed Error +msgid "printer-state-reasons.media-path-input-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Input Jam +msgid "printer-state-reasons.media-path-input-jam" +msgstr "" + +#. TRANSLATORS: Media Path Input Request +msgid "printer-state-reasons.media-path-input-request" +msgstr "" + +#. TRANSLATORS: Media Path Jam +msgid "printer-state-reasons.media-path-jam" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Almost Full +msgid "printer-state-reasons.media-path-media-tray-almost-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Full +msgid "printer-state-reasons.media-path-media-tray-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Missing +msgid "printer-state-reasons.media-path-media-tray-missing" +msgstr "" + +#. TRANSLATORS: Media Path Output Feed Error +msgid "printer-state-reasons.media-path-output-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Output Full +msgid "printer-state-reasons.media-path-output-full" +msgstr "" + +#. TRANSLATORS: Media Path Output Jam +msgid "printer-state-reasons.media-path-output-jam" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Failure +msgid "printer-state-reasons.media-path-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Over +msgid "printer-state-reasons.media-path-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Warn +msgid "printer-state-reasons.media-path-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Missing +msgid "printer-state-reasons.media-path-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Motor Failure +msgid "printer-state-reasons.motor-failure" +msgstr "" + +#. TRANSLATORS: Printer going offline +msgid "printer-state-reasons.moving-to-paused" +msgstr "" + +#. TRANSLATORS: None +msgid "printer-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Optical Photoconductor Life Over +msgid "printer-state-reasons.opc-life-over" +msgstr "" + +#. TRANSLATORS: OPC almost at end-of-life +msgid "printer-state-reasons.opc-near-eol" +msgstr "" + +#. TRANSLATORS: Check the printer for errors +msgid "printer-state-reasons.other" +msgstr "" + +#. TRANSLATORS: Output bin is almost full +msgid "printer-state-reasons.output-area-almost-full" +msgstr "" + +#. TRANSLATORS: Output bin is full +msgid "printer-state-reasons.output-area-full" +msgstr "" + +#. TRANSLATORS: Output Mailbox Select Failure +msgid "printer-state-reasons.output-mailbox-select-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Failure +msgid "printer-state-reasons.output-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Feed Error +msgid "printer-state-reasons.output-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Output Media Tray Jam +msgid "printer-state-reasons.output-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Output tray is missing +msgid "printer-state-reasons.output-tray-missing" +msgstr "" + +#. TRANSLATORS: Paused +msgid "printer-state-reasons.paused" +msgstr "" + +#. TRANSLATORS: Perforater Added +msgid "printer-state-reasons.perforater-added" +msgstr "" + +#. TRANSLATORS: Perforater Almost Empty +msgid "printer-state-reasons.perforater-almost-empty" +msgstr "" + +#. TRANSLATORS: Perforater Almost Full +msgid "printer-state-reasons.perforater-almost-full" +msgstr "" + +#. TRANSLATORS: Perforater At Limit +msgid "printer-state-reasons.perforater-at-limit" +msgstr "" + +#. TRANSLATORS: Perforater Closed +msgid "printer-state-reasons.perforater-closed" +msgstr "" + +#. TRANSLATORS: Perforater Configuration Change +msgid "printer-state-reasons.perforater-configuration-change" +msgstr "" + +#. TRANSLATORS: Perforater Cover Closed +msgid "printer-state-reasons.perforater-cover-closed" +msgstr "" + +#. TRANSLATORS: Perforater Cover Open +msgid "printer-state-reasons.perforater-cover-open" +msgstr "" + +#. TRANSLATORS: Perforater Empty +msgid "printer-state-reasons.perforater-empty" +msgstr "" + +#. TRANSLATORS: Perforater Full +msgid "printer-state-reasons.perforater-full" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Closed +msgid "printer-state-reasons.perforater-interlock-closed" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Open +msgid "printer-state-reasons.perforater-interlock-open" +msgstr "" + +#. TRANSLATORS: Perforater Jam +msgid "printer-state-reasons.perforater-jam" +msgstr "" + +#. TRANSLATORS: Perforater Life Almost Over +msgid "printer-state-reasons.perforater-life-almost-over" +msgstr "" + +#. TRANSLATORS: Perforater Life Over +msgid "printer-state-reasons.perforater-life-over" +msgstr "" + +#. TRANSLATORS: Perforater Memory Exhausted +msgid "printer-state-reasons.perforater-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Perforater Missing +msgid "printer-state-reasons.perforater-missing" +msgstr "" + +#. TRANSLATORS: Perforater Motor Failure +msgid "printer-state-reasons.perforater-motor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Near Limit +msgid "printer-state-reasons.perforater-near-limit" +msgstr "" + +#. TRANSLATORS: Perforater Offline +msgid "printer-state-reasons.perforater-offline" +msgstr "" + +#. TRANSLATORS: Perforater Opened +msgid "printer-state-reasons.perforater-opened" +msgstr "" + +#. TRANSLATORS: Perforater Over Temperature +msgid "printer-state-reasons.perforater-over-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Power Saver +msgid "printer-state-reasons.perforater-power-saver" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Failure +msgid "printer-state-reasons.perforater-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Storage +msgid "printer-state-reasons.perforater-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Perforater Removed +msgid "printer-state-reasons.perforater-removed" +msgstr "" + +#. TRANSLATORS: Perforater Resource Added +msgid "printer-state-reasons.perforater-resource-added" +msgstr "" + +#. TRANSLATORS: Perforater Resource Removed +msgid "printer-state-reasons.perforater-resource-removed" +msgstr "" + +#. TRANSLATORS: Perforater Thermistor Failure +msgid "printer-state-reasons.perforater-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Timing Failure +msgid "printer-state-reasons.perforater-timing-failure" +msgstr "" + +#. TRANSLATORS: Perforater Turned Off +msgid "printer-state-reasons.perforater-turned-off" +msgstr "" + +#. TRANSLATORS: Perforater Turned On +msgid "printer-state-reasons.perforater-turned-on" +msgstr "" + +#. TRANSLATORS: Perforater Under Temperature +msgid "printer-state-reasons.perforater-under-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Failure +msgid "printer-state-reasons.perforater-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Storage Error +msgid "printer-state-reasons.perforater-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Perforater Warming Up +msgid "printer-state-reasons.perforater-warming-up" +msgstr "" + +#. TRANSLATORS: Platform Cooling +msgid "printer-state-reasons.platform-cooling" +msgstr "" + +#. TRANSLATORS: Platform Failure +msgid "printer-state-reasons.platform-failure" +msgstr "" + +#. TRANSLATORS: Platform Heating +msgid "printer-state-reasons.platform-heating" +msgstr "" + +#. TRANSLATORS: Platform Temperature High +msgid "printer-state-reasons.platform-temperature-high" +msgstr "" + +#. TRANSLATORS: Platform Temperature Low +msgid "printer-state-reasons.platform-temperature-low" +msgstr "" + +#. TRANSLATORS: Power Down +msgid "printer-state-reasons.power-down" +msgstr "" + +#. TRANSLATORS: Power Up +msgid "printer-state-reasons.power-up" +msgstr "" + +#. TRANSLATORS: Printer Reset Manually +msgid "printer-state-reasons.printer-manual-reset" +msgstr "" + +#. TRANSLATORS: Printer Reset Remotely +msgid "printer-state-reasons.printer-nms-reset" +msgstr "" + +#. TRANSLATORS: Printer Ready To Print +msgid "printer-state-reasons.printer-ready-to-print" +msgstr "" + +#. TRANSLATORS: Puncher Added +msgid "printer-state-reasons.puncher-added" +msgstr "" + +#. TRANSLATORS: Puncher Almost Empty +msgid "printer-state-reasons.puncher-almost-empty" +msgstr "" + +#. TRANSLATORS: Puncher Almost Full +msgid "printer-state-reasons.puncher-almost-full" +msgstr "" + +#. TRANSLATORS: Puncher At Limit +msgid "printer-state-reasons.puncher-at-limit" +msgstr "" + +#. TRANSLATORS: Puncher Closed +msgid "printer-state-reasons.puncher-closed" +msgstr "" + +#. TRANSLATORS: Puncher Configuration Change +msgid "printer-state-reasons.puncher-configuration-change" +msgstr "" + +#. TRANSLATORS: Puncher Cover Closed +msgid "printer-state-reasons.puncher-cover-closed" +msgstr "" + +#. TRANSLATORS: Puncher Cover Open +msgid "printer-state-reasons.puncher-cover-open" +msgstr "" + +#. TRANSLATORS: Puncher Empty +msgid "printer-state-reasons.puncher-empty" +msgstr "" + +#. TRANSLATORS: Puncher Full +msgid "printer-state-reasons.puncher-full" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Closed +msgid "printer-state-reasons.puncher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Open +msgid "printer-state-reasons.puncher-interlock-open" +msgstr "" + +#. TRANSLATORS: Puncher Jam +msgid "printer-state-reasons.puncher-jam" +msgstr "" + +#. TRANSLATORS: Puncher Life Almost Over +msgid "printer-state-reasons.puncher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Puncher Life Over +msgid "printer-state-reasons.puncher-life-over" +msgstr "" + +#. TRANSLATORS: Puncher Memory Exhausted +msgid "printer-state-reasons.puncher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Puncher Missing +msgid "printer-state-reasons.puncher-missing" +msgstr "" + +#. TRANSLATORS: Puncher Motor Failure +msgid "printer-state-reasons.puncher-motor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Near Limit +msgid "printer-state-reasons.puncher-near-limit" +msgstr "" + +#. TRANSLATORS: Puncher Offline +msgid "printer-state-reasons.puncher-offline" +msgstr "" + +#. TRANSLATORS: Puncher Opened +msgid "printer-state-reasons.puncher-opened" +msgstr "" + +#. TRANSLATORS: Puncher Over Temperature +msgid "printer-state-reasons.puncher-over-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Power Saver +msgid "printer-state-reasons.puncher-power-saver" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Failure +msgid "printer-state-reasons.puncher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Storage +msgid "printer-state-reasons.puncher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Puncher Removed +msgid "printer-state-reasons.puncher-removed" +msgstr "" + +#. TRANSLATORS: Puncher Resource Added +msgid "printer-state-reasons.puncher-resource-added" +msgstr "" + +#. TRANSLATORS: Puncher Resource Removed +msgid "printer-state-reasons.puncher-resource-removed" +msgstr "" + +#. TRANSLATORS: Puncher Thermistor Failure +msgid "printer-state-reasons.puncher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Timing Failure +msgid "printer-state-reasons.puncher-timing-failure" +msgstr "" + +#. TRANSLATORS: Puncher Turned Off +msgid "printer-state-reasons.puncher-turned-off" +msgstr "" + +#. TRANSLATORS: Puncher Turned On +msgid "printer-state-reasons.puncher-turned-on" +msgstr "" + +#. TRANSLATORS: Puncher Under Temperature +msgid "printer-state-reasons.puncher-under-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Failure +msgid "printer-state-reasons.puncher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Storage Error +msgid "printer-state-reasons.puncher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Puncher Warming Up +msgid "printer-state-reasons.puncher-warming-up" +msgstr "" + +#. TRANSLATORS: Separation Cutter Added +msgid "printer-state-reasons.separation-cutter-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Empty +msgid "printer-state-reasons.separation-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Full +msgid "printer-state-reasons.separation-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter At Limit +msgid "printer-state-reasons.separation-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Closed +msgid "printer-state-reasons.separation-cutter-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Configuration Change +msgid "printer-state-reasons.separation-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Closed +msgid "printer-state-reasons.separation-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Open +msgid "printer-state-reasons.separation-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Empty +msgid "printer-state-reasons.separation-cutter-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Full +msgid "printer-state-reasons.separation-cutter-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Closed +msgid "printer-state-reasons.separation-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Open +msgid "printer-state-reasons.separation-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Jam +msgid "printer-state-reasons.separation-cutter-jam" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Almost Over +msgid "printer-state-reasons.separation-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Over +msgid "printer-state-reasons.separation-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Memory Exhausted +msgid "printer-state-reasons.separation-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Separation Cutter Missing +msgid "printer-state-reasons.separation-cutter-missing" +msgstr "" + +#. TRANSLATORS: Separation Cutter Motor Failure +msgid "printer-state-reasons.separation-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Near Limit +msgid "printer-state-reasons.separation-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Offline +msgid "printer-state-reasons.separation-cutter-offline" +msgstr "" + +#. TRANSLATORS: Separation Cutter Opened +msgid "printer-state-reasons.separation-cutter-opened" +msgstr "" + +#. TRANSLATORS: Separation Cutter Over Temperature +msgid "printer-state-reasons.separation-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Power Saver +msgid "printer-state-reasons.separation-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Failure +msgid "printer-state-reasons.separation-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Storage +msgid "printer-state-reasons.separation-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Separation Cutter Removed +msgid "printer-state-reasons.separation-cutter-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Added +msgid "printer-state-reasons.separation-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Removed +msgid "printer-state-reasons.separation-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Thermistor Failure +msgid "printer-state-reasons.separation-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Timing Failure +msgid "printer-state-reasons.separation-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned Off +msgid "printer-state-reasons.separation-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned On +msgid "printer-state-reasons.separation-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Separation Cutter Under Temperature +msgid "printer-state-reasons.separation-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Failure +msgid "printer-state-reasons.separation-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.separation-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Separation Cutter Warming Up +msgid "printer-state-reasons.separation-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Added +msgid "printer-state-reasons.sheet-rotator-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Empty +msgid "printer-state-reasons.sheet-rotator-almost-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Full +msgid "printer-state-reasons.sheet-rotator-almost-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator At Limit +msgid "printer-state-reasons.sheet-rotator-at-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Closed +msgid "printer-state-reasons.sheet-rotator-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Configuration Change +msgid "printer-state-reasons.sheet-rotator-configuration-change" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Closed +msgid "printer-state-reasons.sheet-rotator-cover-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Open +msgid "printer-state-reasons.sheet-rotator-cover-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Empty +msgid "printer-state-reasons.sheet-rotator-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Full +msgid "printer-state-reasons.sheet-rotator-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Closed +msgid "printer-state-reasons.sheet-rotator-interlock-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Open +msgid "printer-state-reasons.sheet-rotator-interlock-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Jam +msgid "printer-state-reasons.sheet-rotator-jam" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Almost Over +msgid "printer-state-reasons.sheet-rotator-life-almost-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Over +msgid "printer-state-reasons.sheet-rotator-life-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Memory Exhausted +msgid "printer-state-reasons.sheet-rotator-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Missing +msgid "printer-state-reasons.sheet-rotator-missing" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Motor Failure +msgid "printer-state-reasons.sheet-rotator-motor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Near Limit +msgid "printer-state-reasons.sheet-rotator-near-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Offline +msgid "printer-state-reasons.sheet-rotator-offline" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Opened +msgid "printer-state-reasons.sheet-rotator-opened" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Over Temperature +msgid "printer-state-reasons.sheet-rotator-over-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Power Saver +msgid "printer-state-reasons.sheet-rotator-power-saver" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Failure +msgid "printer-state-reasons.sheet-rotator-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Storage +msgid "printer-state-reasons.sheet-rotator-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Removed +msgid "printer-state-reasons.sheet-rotator-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Added +msgid "printer-state-reasons.sheet-rotator-resource-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Removed +msgid "printer-state-reasons.sheet-rotator-resource-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Thermistor Failure +msgid "printer-state-reasons.sheet-rotator-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Timing Failure +msgid "printer-state-reasons.sheet-rotator-timing-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned Off +msgid "printer-state-reasons.sheet-rotator-turned-off" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned On +msgid "printer-state-reasons.sheet-rotator-turned-on" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Under Temperature +msgid "printer-state-reasons.sheet-rotator-under-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Failure +msgid "printer-state-reasons.sheet-rotator-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +msgid "printer-state-reasons.sheet-rotator-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Warming Up +msgid "printer-state-reasons.sheet-rotator-warming-up" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "printer-state-reasons.shutdown" +msgstr "" + +#. TRANSLATORS: Slitter Added +msgid "printer-state-reasons.slitter-added" +msgstr "" + +#. TRANSLATORS: Slitter Almost Empty +msgid "printer-state-reasons.slitter-almost-empty" +msgstr "" + +#. TRANSLATORS: Slitter Almost Full +msgid "printer-state-reasons.slitter-almost-full" +msgstr "" + +#. TRANSLATORS: Slitter At Limit +msgid "printer-state-reasons.slitter-at-limit" +msgstr "" + +#. TRANSLATORS: Slitter Closed +msgid "printer-state-reasons.slitter-closed" +msgstr "" + +#. TRANSLATORS: Slitter Configuration Change +msgid "printer-state-reasons.slitter-configuration-change" +msgstr "" + +#. TRANSLATORS: Slitter Cover Closed +msgid "printer-state-reasons.slitter-cover-closed" +msgstr "" + +#. TRANSLATORS: Slitter Cover Open +msgid "printer-state-reasons.slitter-cover-open" +msgstr "" + +#. TRANSLATORS: Slitter Empty +msgid "printer-state-reasons.slitter-empty" +msgstr "" + +#. TRANSLATORS: Slitter Full +msgid "printer-state-reasons.slitter-full" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Closed +msgid "printer-state-reasons.slitter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Open +msgid "printer-state-reasons.slitter-interlock-open" +msgstr "" + +#. TRANSLATORS: Slitter Jam +msgid "printer-state-reasons.slitter-jam" +msgstr "" + +#. TRANSLATORS: Slitter Life Almost Over +msgid "printer-state-reasons.slitter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Slitter Life Over +msgid "printer-state-reasons.slitter-life-over" +msgstr "" + +#. TRANSLATORS: Slitter Memory Exhausted +msgid "printer-state-reasons.slitter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Slitter Missing +msgid "printer-state-reasons.slitter-missing" +msgstr "" + +#. TRANSLATORS: Slitter Motor Failure +msgid "printer-state-reasons.slitter-motor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Near Limit +msgid "printer-state-reasons.slitter-near-limit" +msgstr "" + +#. TRANSLATORS: Slitter Offline +msgid "printer-state-reasons.slitter-offline" +msgstr "" + +#. TRANSLATORS: Slitter Opened +msgid "printer-state-reasons.slitter-opened" +msgstr "" + +#. TRANSLATORS: Slitter Over Temperature +msgid "printer-state-reasons.slitter-over-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Power Saver +msgid "printer-state-reasons.slitter-power-saver" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Failure +msgid "printer-state-reasons.slitter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Storage +msgid "printer-state-reasons.slitter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Slitter Removed +msgid "printer-state-reasons.slitter-removed" +msgstr "" + +#. TRANSLATORS: Slitter Resource Added +msgid "printer-state-reasons.slitter-resource-added" +msgstr "" + +#. TRANSLATORS: Slitter Resource Removed +msgid "printer-state-reasons.slitter-resource-removed" +msgstr "" + +#. TRANSLATORS: Slitter Thermistor Failure +msgid "printer-state-reasons.slitter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Timing Failure +msgid "printer-state-reasons.slitter-timing-failure" +msgstr "" + +#. TRANSLATORS: Slitter Turned Off +msgid "printer-state-reasons.slitter-turned-off" +msgstr "" + +#. TRANSLATORS: Slitter Turned On +msgid "printer-state-reasons.slitter-turned-on" +msgstr "" + +#. TRANSLATORS: Slitter Under Temperature +msgid "printer-state-reasons.slitter-under-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Failure +msgid "printer-state-reasons.slitter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Storage Error +msgid "printer-state-reasons.slitter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Slitter Warming Up +msgid "printer-state-reasons.slitter-warming-up" +msgstr "" + +#. TRANSLATORS: Spool Area Full +msgid "printer-state-reasons.spool-area-full" +msgstr "" + +#. TRANSLATORS: Stacker Added +msgid "printer-state-reasons.stacker-added" +msgstr "" + +#. TRANSLATORS: Stacker Almost Empty +msgid "printer-state-reasons.stacker-almost-empty" +msgstr "" + +#. TRANSLATORS: Stacker Almost Full +msgid "printer-state-reasons.stacker-almost-full" +msgstr "" + +#. TRANSLATORS: Stacker At Limit +msgid "printer-state-reasons.stacker-at-limit" +msgstr "" + +#. TRANSLATORS: Stacker Closed +msgid "printer-state-reasons.stacker-closed" +msgstr "" + +#. TRANSLATORS: Stacker Configuration Change +msgid "printer-state-reasons.stacker-configuration-change" +msgstr "" + +#. TRANSLATORS: Stacker Cover Closed +msgid "printer-state-reasons.stacker-cover-closed" +msgstr "" + +#. TRANSLATORS: Stacker Cover Open +msgid "printer-state-reasons.stacker-cover-open" +msgstr "" + +#. TRANSLATORS: Stacker Empty +msgid "printer-state-reasons.stacker-empty" +msgstr "" + +#. TRANSLATORS: Stacker Full +msgid "printer-state-reasons.stacker-full" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Closed +msgid "printer-state-reasons.stacker-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Open +msgid "printer-state-reasons.stacker-interlock-open" +msgstr "" + +#. TRANSLATORS: Stacker Jam +msgid "printer-state-reasons.stacker-jam" +msgstr "" + +#. TRANSLATORS: Stacker Life Almost Over +msgid "printer-state-reasons.stacker-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stacker Life Over +msgid "printer-state-reasons.stacker-life-over" +msgstr "" + +#. TRANSLATORS: Stacker Memory Exhausted +msgid "printer-state-reasons.stacker-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stacker Missing +msgid "printer-state-reasons.stacker-missing" +msgstr "" + +#. TRANSLATORS: Stacker Motor Failure +msgid "printer-state-reasons.stacker-motor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Near Limit +msgid "printer-state-reasons.stacker-near-limit" +msgstr "" + +#. TRANSLATORS: Stacker Offline +msgid "printer-state-reasons.stacker-offline" +msgstr "" + +#. TRANSLATORS: Stacker Opened +msgid "printer-state-reasons.stacker-opened" +msgstr "" + +#. TRANSLATORS: Stacker Over Temperature +msgid "printer-state-reasons.stacker-over-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Power Saver +msgid "printer-state-reasons.stacker-power-saver" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Failure +msgid "printer-state-reasons.stacker-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Storage +msgid "printer-state-reasons.stacker-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stacker Removed +msgid "printer-state-reasons.stacker-removed" +msgstr "" + +#. TRANSLATORS: Stacker Resource Added +msgid "printer-state-reasons.stacker-resource-added" +msgstr "" + +#. TRANSLATORS: Stacker Resource Removed +msgid "printer-state-reasons.stacker-resource-removed" +msgstr "" + +#. TRANSLATORS: Stacker Thermistor Failure +msgid "printer-state-reasons.stacker-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Timing Failure +msgid "printer-state-reasons.stacker-timing-failure" +msgstr "" + +#. TRANSLATORS: Stacker Turned Off +msgid "printer-state-reasons.stacker-turned-off" +msgstr "" + +#. TRANSLATORS: Stacker Turned On +msgid "printer-state-reasons.stacker-turned-on" +msgstr "" + +#. TRANSLATORS: Stacker Under Temperature +msgid "printer-state-reasons.stacker-under-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Failure +msgid "printer-state-reasons.stacker-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Storage Error +msgid "printer-state-reasons.stacker-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stacker Warming Up +msgid "printer-state-reasons.stacker-warming-up" +msgstr "" + +#. TRANSLATORS: Stapler Added +msgid "printer-state-reasons.stapler-added" +msgstr "" + +#. TRANSLATORS: Stapler Almost Empty +msgid "printer-state-reasons.stapler-almost-empty" +msgstr "" + +#. TRANSLATORS: Stapler Almost Full +msgid "printer-state-reasons.stapler-almost-full" +msgstr "" + +#. TRANSLATORS: Stapler At Limit +msgid "printer-state-reasons.stapler-at-limit" +msgstr "" + +#. TRANSLATORS: Stapler Closed +msgid "printer-state-reasons.stapler-closed" +msgstr "" + +#. TRANSLATORS: Stapler Configuration Change +msgid "printer-state-reasons.stapler-configuration-change" +msgstr "" + +#. TRANSLATORS: Stapler Cover Closed +msgid "printer-state-reasons.stapler-cover-closed" +msgstr "" + +#. TRANSLATORS: Stapler Cover Open +msgid "printer-state-reasons.stapler-cover-open" +msgstr "" + +#. TRANSLATORS: Stapler Empty +msgid "printer-state-reasons.stapler-empty" +msgstr "" + +#. TRANSLATORS: Stapler Full +msgid "printer-state-reasons.stapler-full" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Closed +msgid "printer-state-reasons.stapler-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Open +msgid "printer-state-reasons.stapler-interlock-open" +msgstr "" + +#. TRANSLATORS: Stapler Jam +msgid "printer-state-reasons.stapler-jam" +msgstr "" + +#. TRANSLATORS: Stapler Life Almost Over +msgid "printer-state-reasons.stapler-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stapler Life Over +msgid "printer-state-reasons.stapler-life-over" +msgstr "" + +#. TRANSLATORS: Stapler Memory Exhausted +msgid "printer-state-reasons.stapler-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stapler Missing +msgid "printer-state-reasons.stapler-missing" +msgstr "" + +#. TRANSLATORS: Stapler Motor Failure +msgid "printer-state-reasons.stapler-motor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Near Limit +msgid "printer-state-reasons.stapler-near-limit" +msgstr "" + +#. TRANSLATORS: Stapler Offline +msgid "printer-state-reasons.stapler-offline" +msgstr "" + +#. TRANSLATORS: Stapler Opened +msgid "printer-state-reasons.stapler-opened" +msgstr "" + +#. TRANSLATORS: Stapler Over Temperature +msgid "printer-state-reasons.stapler-over-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Power Saver +msgid "printer-state-reasons.stapler-power-saver" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Failure +msgid "printer-state-reasons.stapler-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Storage +msgid "printer-state-reasons.stapler-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stapler Removed +msgid "printer-state-reasons.stapler-removed" +msgstr "" + +#. TRANSLATORS: Stapler Resource Added +msgid "printer-state-reasons.stapler-resource-added" +msgstr "" + +#. TRANSLATORS: Stapler Resource Removed +msgid "printer-state-reasons.stapler-resource-removed" +msgstr "" + +#. TRANSLATORS: Stapler Thermistor Failure +msgid "printer-state-reasons.stapler-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Timing Failure +msgid "printer-state-reasons.stapler-timing-failure" +msgstr "" + +#. TRANSLATORS: Stapler Turned Off +msgid "printer-state-reasons.stapler-turned-off" +msgstr "" + +#. TRANSLATORS: Stapler Turned On +msgid "printer-state-reasons.stapler-turned-on" +msgstr "" + +#. TRANSLATORS: Stapler Under Temperature +msgid "printer-state-reasons.stapler-under-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Failure +msgid "printer-state-reasons.stapler-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Storage Error +msgid "printer-state-reasons.stapler-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stapler Warming Up +msgid "printer-state-reasons.stapler-warming-up" +msgstr "" + +#. TRANSLATORS: Stitcher Added +msgid "printer-state-reasons.stitcher-added" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Empty +msgid "printer-state-reasons.stitcher-almost-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Full +msgid "printer-state-reasons.stitcher-almost-full" +msgstr "" + +#. TRANSLATORS: Stitcher At Limit +msgid "printer-state-reasons.stitcher-at-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Closed +msgid "printer-state-reasons.stitcher-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Configuration Change +msgid "printer-state-reasons.stitcher-configuration-change" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Closed +msgid "printer-state-reasons.stitcher-cover-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Open +msgid "printer-state-reasons.stitcher-cover-open" +msgstr "" + +#. TRANSLATORS: Stitcher Empty +msgid "printer-state-reasons.stitcher-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Full +msgid "printer-state-reasons.stitcher-full" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Closed +msgid "printer-state-reasons.stitcher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Open +msgid "printer-state-reasons.stitcher-interlock-open" +msgstr "" + +#. TRANSLATORS: Stitcher Jam +msgid "printer-state-reasons.stitcher-jam" +msgstr "" + +#. TRANSLATORS: Stitcher Life Almost Over +msgid "printer-state-reasons.stitcher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stitcher Life Over +msgid "printer-state-reasons.stitcher-life-over" +msgstr "" + +#. TRANSLATORS: Stitcher Memory Exhausted +msgid "printer-state-reasons.stitcher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stitcher Missing +msgid "printer-state-reasons.stitcher-missing" +msgstr "" + +#. TRANSLATORS: Stitcher Motor Failure +msgid "printer-state-reasons.stitcher-motor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Near Limit +msgid "printer-state-reasons.stitcher-near-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Offline +msgid "printer-state-reasons.stitcher-offline" +msgstr "" + +#. TRANSLATORS: Stitcher Opened +msgid "printer-state-reasons.stitcher-opened" +msgstr "" + +#. TRANSLATORS: Stitcher Over Temperature +msgid "printer-state-reasons.stitcher-over-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Power Saver +msgid "printer-state-reasons.stitcher-power-saver" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Failure +msgid "printer-state-reasons.stitcher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Storage +msgid "printer-state-reasons.stitcher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stitcher Removed +msgid "printer-state-reasons.stitcher-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Added +msgid "printer-state-reasons.stitcher-resource-added" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Removed +msgid "printer-state-reasons.stitcher-resource-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Thermistor Failure +msgid "printer-state-reasons.stitcher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Timing Failure +msgid "printer-state-reasons.stitcher-timing-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Turned Off +msgid "printer-state-reasons.stitcher-turned-off" +msgstr "" + +#. TRANSLATORS: Stitcher Turned On +msgid "printer-state-reasons.stitcher-turned-on" +msgstr "" + +#. TRANSLATORS: Stitcher Under Temperature +msgid "printer-state-reasons.stitcher-under-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Failure +msgid "printer-state-reasons.stitcher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Storage Error +msgid "printer-state-reasons.stitcher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stitcher Warming Up +msgid "printer-state-reasons.stitcher-warming-up" +msgstr "" + +#. TRANSLATORS: Partially stopped +msgid "printer-state-reasons.stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "printer-state-reasons.stopping" +msgstr "" + +#. TRANSLATORS: Subunit Added +msgid "printer-state-reasons.subunit-added" +msgstr "" + +#. TRANSLATORS: Subunit Almost Empty +msgid "printer-state-reasons.subunit-almost-empty" +msgstr "" + +#. TRANSLATORS: Subunit Almost Full +msgid "printer-state-reasons.subunit-almost-full" +msgstr "" + +#. TRANSLATORS: Subunit At Limit +msgid "printer-state-reasons.subunit-at-limit" +msgstr "" + +#. TRANSLATORS: Subunit Closed +msgid "printer-state-reasons.subunit-closed" +msgstr "" + +#. TRANSLATORS: Subunit Cooling Down +msgid "printer-state-reasons.subunit-cooling-down" +msgstr "" + +#. TRANSLATORS: Subunit Empty +msgid "printer-state-reasons.subunit-empty" +msgstr "" + +#. TRANSLATORS: Subunit Full +msgid "printer-state-reasons.subunit-full" +msgstr "" + +#. TRANSLATORS: Subunit Life Almost Over +msgid "printer-state-reasons.subunit-life-almost-over" +msgstr "" + +#. TRANSLATORS: Subunit Life Over +msgid "printer-state-reasons.subunit-life-over" +msgstr "" + +#. TRANSLATORS: Subunit Memory Exhausted +msgid "printer-state-reasons.subunit-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Subunit Missing +msgid "printer-state-reasons.subunit-missing" +msgstr "" + +#. TRANSLATORS: Subunit Motor Failure +msgid "printer-state-reasons.subunit-motor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Near Limit +msgid "printer-state-reasons.subunit-near-limit" +msgstr "" + +#. TRANSLATORS: Subunit Offline +msgid "printer-state-reasons.subunit-offline" +msgstr "" + +#. TRANSLATORS: Subunit Opened +msgid "printer-state-reasons.subunit-opened" +msgstr "" + +#. TRANSLATORS: Subunit Over Temperature +msgid "printer-state-reasons.subunit-over-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Power Saver +msgid "printer-state-reasons.subunit-power-saver" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Failure +msgid "printer-state-reasons.subunit-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Storage +msgid "printer-state-reasons.subunit-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Removed +msgid "printer-state-reasons.subunit-removed" +msgstr "" + +#. TRANSLATORS: Subunit Resource Added +msgid "printer-state-reasons.subunit-resource-added" +msgstr "" + +#. TRANSLATORS: Subunit Resource Removed +msgid "printer-state-reasons.subunit-resource-removed" +msgstr "" + +#. TRANSLATORS: Subunit Thermistor Failure +msgid "printer-state-reasons.subunit-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Timing Failure +msgid "printer-state-reasons.subunit-timing-Failure" +msgstr "" + +#. TRANSLATORS: Subunit Turned Off +msgid "printer-state-reasons.subunit-turned-off" +msgstr "" + +#. TRANSLATORS: Subunit Turned On +msgid "printer-state-reasons.subunit-turned-on" +msgstr "" + +#. TRANSLATORS: Subunit Under Temperature +msgid "printer-state-reasons.subunit-under-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Failure +msgid "printer-state-reasons.subunit-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Storage +msgid "printer-state-reasons.subunit-unrecoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Warming Up +msgid "printer-state-reasons.subunit-warming-up" +msgstr "" + +#. TRANSLATORS: Printer stopped responding +msgid "printer-state-reasons.timed-out" +msgstr "" + +#. TRANSLATORS: Out of toner +msgid "printer-state-reasons.toner-empty" +msgstr "" + +#. TRANSLATORS: Toner low +msgid "printer-state-reasons.toner-low" +msgstr "" + +#. TRANSLATORS: Trimmer Added +msgid "printer-state-reasons.trimmer-added" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Empty +msgid "printer-state-reasons.trimmer-almost-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Full +msgid "printer-state-reasons.trimmer-almost-full" +msgstr "" + +#. TRANSLATORS: Trimmer At Limit +msgid "printer-state-reasons.trimmer-at-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Closed +msgid "printer-state-reasons.trimmer-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Configuration Change +msgid "printer-state-reasons.trimmer-configuration-change" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Closed +msgid "printer-state-reasons.trimmer-cover-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Open +msgid "printer-state-reasons.trimmer-cover-open" +msgstr "" + +#. TRANSLATORS: Trimmer Empty +msgid "printer-state-reasons.trimmer-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Full +msgid "printer-state-reasons.trimmer-full" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Closed +msgid "printer-state-reasons.trimmer-interlock-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Open +msgid "printer-state-reasons.trimmer-interlock-open" +msgstr "" + +#. TRANSLATORS: Trimmer Jam +msgid "printer-state-reasons.trimmer-jam" +msgstr "" + +#. TRANSLATORS: Trimmer Life Almost Over +msgid "printer-state-reasons.trimmer-life-almost-over" +msgstr "" + +#. TRANSLATORS: Trimmer Life Over +msgid "printer-state-reasons.trimmer-life-over" +msgstr "" + +#. TRANSLATORS: Trimmer Memory Exhausted +msgid "printer-state-reasons.trimmer-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Trimmer Missing +msgid "printer-state-reasons.trimmer-missing" +msgstr "" + +#. TRANSLATORS: Trimmer Motor Failure +msgid "printer-state-reasons.trimmer-motor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Near Limit +msgid "printer-state-reasons.trimmer-near-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Offline +msgid "printer-state-reasons.trimmer-offline" +msgstr "" + +#. TRANSLATORS: Trimmer Opened +msgid "printer-state-reasons.trimmer-opened" +msgstr "" + +#. TRANSLATORS: Trimmer Over Temperature +msgid "printer-state-reasons.trimmer-over-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Power Saver +msgid "printer-state-reasons.trimmer-power-saver" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Failure +msgid "printer-state-reasons.trimmer-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Storage +msgid "printer-state-reasons.trimmer-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Trimmer Removed +msgid "printer-state-reasons.trimmer-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Added +msgid "printer-state-reasons.trimmer-resource-added" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Removed +msgid "printer-state-reasons.trimmer-resource-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Thermistor Failure +msgid "printer-state-reasons.trimmer-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Timing Failure +msgid "printer-state-reasons.trimmer-timing-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Turned Off +msgid "printer-state-reasons.trimmer-turned-off" +msgstr "" + +#. TRANSLATORS: Trimmer Turned On +msgid "printer-state-reasons.trimmer-turned-on" +msgstr "" + +#. TRANSLATORS: Trimmer Under Temperature +msgid "printer-state-reasons.trimmer-under-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Failure +msgid "printer-state-reasons.trimmer-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Storage Error +msgid "printer-state-reasons.trimmer-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Trimmer Warming Up +msgid "printer-state-reasons.trimmer-warming-up" +msgstr "" + +#. TRANSLATORS: Unknown +msgid "printer-state-reasons.unknown" +msgstr "" + +#. TRANSLATORS: Wrapper Added +msgid "printer-state-reasons.wrapper-added" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Empty +msgid "printer-state-reasons.wrapper-almost-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Full +msgid "printer-state-reasons.wrapper-almost-full" +msgstr "" + +#. TRANSLATORS: Wrapper At Limit +msgid "printer-state-reasons.wrapper-at-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Closed +msgid "printer-state-reasons.wrapper-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Configuration Change +msgid "printer-state-reasons.wrapper-configuration-change" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Closed +msgid "printer-state-reasons.wrapper-cover-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Open +msgid "printer-state-reasons.wrapper-cover-open" +msgstr "" + +#. TRANSLATORS: Wrapper Empty +msgid "printer-state-reasons.wrapper-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Full +msgid "printer-state-reasons.wrapper-full" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Closed +msgid "printer-state-reasons.wrapper-interlock-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Open +msgid "printer-state-reasons.wrapper-interlock-open" +msgstr "" + +#. TRANSLATORS: Wrapper Jam +msgid "printer-state-reasons.wrapper-jam" +msgstr "" + +#. TRANSLATORS: Wrapper Life Almost Over +msgid "printer-state-reasons.wrapper-life-almost-over" +msgstr "" + +#. TRANSLATORS: Wrapper Life Over +msgid "printer-state-reasons.wrapper-life-over" +msgstr "" + +#. TRANSLATORS: Wrapper Memory Exhausted +msgid "printer-state-reasons.wrapper-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Wrapper Missing +msgid "printer-state-reasons.wrapper-missing" +msgstr "" + +#. TRANSLATORS: Wrapper Motor Failure +msgid "printer-state-reasons.wrapper-motor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Near Limit +msgid "printer-state-reasons.wrapper-near-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Offline +msgid "printer-state-reasons.wrapper-offline" +msgstr "" + +#. TRANSLATORS: Wrapper Opened +msgid "printer-state-reasons.wrapper-opened" +msgstr "" + +#. TRANSLATORS: Wrapper Over Temperature +msgid "printer-state-reasons.wrapper-over-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Power Saver +msgid "printer-state-reasons.wrapper-power-saver" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Failure +msgid "printer-state-reasons.wrapper-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Storage +msgid "printer-state-reasons.wrapper-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Wrapper Removed +msgid "printer-state-reasons.wrapper-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Added +msgid "printer-state-reasons.wrapper-resource-added" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Removed +msgid "printer-state-reasons.wrapper-resource-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Thermistor Failure +msgid "printer-state-reasons.wrapper-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Timing Failure +msgid "printer-state-reasons.wrapper-timing-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Turned Off +msgid "printer-state-reasons.wrapper-turned-off" +msgstr "" + +#. TRANSLATORS: Wrapper Turned On +msgid "printer-state-reasons.wrapper-turned-on" +msgstr "" + +#. TRANSLATORS: Wrapper Under Temperature +msgid "printer-state-reasons.wrapper-under-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Failure +msgid "printer-state-reasons.wrapper-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Storage Error +msgid "printer-state-reasons.wrapper-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Wrapper Warming Up +msgid "printer-state-reasons.wrapper-warming-up" +msgstr "" + +#. TRANSLATORS: Idle +msgid "printer-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "printer-state.4" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "printer-state.5" +msgstr "" + +#. TRANSLATORS: Printer Uptime +msgid "printer-up-time" +msgstr "" + +msgid "processing" +msgstr "en cours" + +#. TRANSLATORS: Proof Print +msgid "proof-print" +msgstr "" + +#. TRANSLATORS: Proof Print Copies +msgid "proof-print-copies" +msgstr "" + +#. TRANSLATORS: Punching +msgid "punching" +msgstr "" + +#. TRANSLATORS: Punching Locations +msgid "punching-locations" +msgstr "" + +#. TRANSLATORS: Punching Offset +msgid "punching-offset" +msgstr "" + +#. TRANSLATORS: Punch Edge +msgid "punching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "punching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "punching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "punching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "punching-reference-edge.top" +msgstr "" + +#, c-format +msgid "request id is %s-%d (%d file(s))" +msgstr "" + +msgid "request-id uses indefinite length" +msgstr "Le paramètre request-id s’avère être de longueur indéfinie" + +#. TRANSLATORS: Requested Attributes +msgid "requested-attributes" +msgstr "" + +#. TRANSLATORS: Retry Interval +msgid "retry-interval" +msgstr "" + +#. TRANSLATORS: Retry Timeout +msgid "retry-time-out" +msgstr "" + +#. TRANSLATORS: Save Disposition +msgid "save-disposition" +msgstr "" + +#. TRANSLATORS: None +msgid "save-disposition.none" +msgstr "" + +#. TRANSLATORS: Print and Save +msgid "save-disposition.print-save" +msgstr "" + +#. TRANSLATORS: Save Only +msgid "save-disposition.save-only" +msgstr "" + +#. TRANSLATORS: Save Document Format +msgid "save-document-format" +msgstr "" + +#. TRANSLATORS: Save Info +msgid "save-info" +msgstr "" + +#. TRANSLATORS: Save Location +msgid "save-location" +msgstr "" + +#. TRANSLATORS: Save Name +msgid "save-name" +msgstr "" + +msgid "scheduler is not running" +msgstr "" + +msgid "scheduler is running" +msgstr "" + +#. TRANSLATORS: Separator Sheets +msgid "separator-sheets" +msgstr "" + +#. TRANSLATORS: Type of Separator Sheets +msgid "separator-sheets-type" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "separator-sheets-type.both-sheets" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "separator-sheets-type.end-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "separator-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Slip Sheets +msgid "separator-sheets-type.slip-sheets" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "separator-sheets-type.start-sheet" +msgstr "" + +#. TRANSLATORS: 2-Sided Printing +msgid "sides" +msgstr "" + +#. TRANSLATORS: Off +msgid "sides.one-sided" +msgstr "" + +#. TRANSLATORS: On (Portrait) +msgid "sides.two-sided-long-edge" +msgstr "" + +#. TRANSLATORS: On (Landscape) +msgid "sides.two-sided-short-edge" +msgstr "" + +#, c-format +msgid "stat of %s failed: %s" +msgstr "stat sur %s a échoué : %s" + +msgid "status\t\tShow status of daemon and queue." +msgstr "" + +#. TRANSLATORS: Status Message +msgid "status-message" +msgstr "" + +#. TRANSLATORS: Staple +msgid "stitching" +msgstr "" + +#. TRANSLATORS: Stitching Angle +msgid "stitching-angle" +msgstr "" + +#. TRANSLATORS: Stitching Locations +msgid "stitching-locations" +msgstr "" + +#. TRANSLATORS: Staple Method +msgid "stitching-method" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "stitching-method.auto" +msgstr "" + +#. TRANSLATORS: Crimp +msgid "stitching-method.crimp" +msgstr "" + +#. TRANSLATORS: Wire +msgid "stitching-method.wire" +msgstr "" + +#. TRANSLATORS: Stitching Offset +msgid "stitching-offset" +msgstr "" + +#. TRANSLATORS: Staple Edge +msgid "stitching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "stitching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "stitching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "stitching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "stitching-reference-edge.top" +msgstr "" + +msgid "stopped" +msgstr "arrêtée" + +#. TRANSLATORS: Subject +msgid "subject" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Attributes +msgid "subscription-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Subscription Description +msgid "subscription-privacy-attributes.subscription-description" +msgstr "" + +#. TRANSLATORS: Subscription Template +msgid "subscription-privacy-attributes.subscription-template" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Scope +msgid "subscription-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "subscription-privacy-scope.owner" +msgstr "" + +#, c-format +msgid "system default destination: %s" +msgstr "" + +#, c-format +msgid "system default destination: %s/%s" +msgstr "" + +#. TRANSLATORS: T33 Subaddress +msgid "t33-subaddress" +msgstr "T33 Subaddress" + +#. TRANSLATORS: To Name +msgid "to-name" +msgstr "" + +#. TRANSLATORS: Transmission Status +msgid "transmission-status" +msgstr "" + +#. TRANSLATORS: Pending +msgid "transmission-status.3" +msgstr "" + +#. TRANSLATORS: Pending Retry +msgid "transmission-status.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "transmission-status.5" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "transmission-status.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "transmission-status.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "transmission-status.9" +msgstr "" + +#. TRANSLATORS: Cut +msgid "trimming" +msgstr "" + +#. TRANSLATORS: Cut Position +msgid "trimming-offset" +msgstr "" + +#. TRANSLATORS: Cut Edge +msgid "trimming-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "trimming-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "trimming-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "trimming-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "trimming-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Type of Cut +msgid "trimming-type" +msgstr "" + +#. TRANSLATORS: Draw Line +msgid "trimming-type.draw-line" +msgstr "" + +#. TRANSLATORS: Full +msgid "trimming-type.full" +msgstr "" + +#. TRANSLATORS: Partial +msgid "trimming-type.partial" +msgstr "" + +#. TRANSLATORS: Perforate +msgid "trimming-type.perforate" +msgstr "" + +#. TRANSLATORS: Score +msgid "trimming-type.score" +msgstr "" + +#. TRANSLATORS: Tab +msgid "trimming-type.tab" +msgstr "" + +#. TRANSLATORS: Cut After +msgid "trimming-when" +msgstr "" + +#. TRANSLATORS: Every Document +msgid "trimming-when.after-documents" +msgstr "" + +#. TRANSLATORS: Job +msgid "trimming-when.after-job" +msgstr "" + +#. TRANSLATORS: Every Set +msgid "trimming-when.after-sets" +msgstr "" + +#. TRANSLATORS: Every Page +msgid "trimming-when.after-sheets" +msgstr "" + +msgid "unknown" +msgstr "inconnu" + +msgid "untitled" +msgstr "sans titre" + +msgid "variable-bindings uses indefinite length" +msgstr "" + +#. TRANSLATORS: X Accuracy +msgid "x-accuracy" +msgstr "" + +#. TRANSLATORS: X Dimension +msgid "x-dimension" +msgstr "" + +#. TRANSLATORS: X Offset +msgid "x-offset" +msgstr "" + +#. TRANSLATORS: X Origin +msgid "x-origin" +msgstr "" + +#. TRANSLATORS: Y Accuracy +msgid "y-accuracy" +msgstr "" + +#. TRANSLATORS: Y Dimension +msgid "y-dimension" +msgstr "" + +#. TRANSLATORS: Y Offset +msgid "y-offset" +msgstr "" + +#. TRANSLATORS: Y Origin +msgid "y-origin" +msgstr "" + +#. TRANSLATORS: Z Accuracy +msgid "z-accuracy" +msgstr "" + +#. TRANSLATORS: Z Dimension +msgid "z-dimension" +msgstr "" + +#. TRANSLATORS: Z Offset +msgid "z-offset" +msgstr "" + +msgid "{service_domain} Domain name" +msgstr "" + +msgid "{service_hostname} Fully-qualified domain name" +msgstr "" + +msgid "{service_name} Service instance name" +msgstr "" + +msgid "{service_port} Port number" +msgstr "" + +msgid "{service_regtype} DNS-SD registration type" +msgstr "" + +msgid "{service_scheme} URI scheme" +msgstr "" + +msgid "{service_uri} URI" +msgstr "" + +msgid "{txt_*} Value of TXT record key" +msgstr "" + +msgid "{} URI" +msgstr "" + +msgid "~/.cups/lpoptions file names default destination that does not exist." +msgstr "" + +#~ msgid "Export Printers to Samba" +#~ msgstr "Exporter les imprimantes vers SAMBA" diff --git a/locale/cups_it.po b/locale/cups_it.po new file mode 100644 index 0000000..ff5e45f --- /dev/null +++ b/locale/cups_it.po @@ -0,0 +1,15161 @@ +# +# Italian message catalog for CUPS. +# +# Copyright © 2007-2018 by Apple Inc. +# Copyright © 2005-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +# Giovanni Scafora , 2013. +msgid "" +msgstr "" +"Project-Id-Version: CUPS 2.3\n" +"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n" +"POT-Creation-Date: 2019-08-23 09:13-0400\n" +"PO-Revision-Date: 2013-07-14 12:00+0200\n" +"Last-Translator: Giovanni Scafora \n" +"Language-Team: Italian - Arch Linux Italian Team \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "\t\t(all)" +msgstr "\t\t(tutti)" + +msgid "\t\t(none)" +msgstr "\t\t(nessuno)" + +#, c-format +msgid "\t%d entries" +msgstr "\t%d voci" + +#, c-format +msgid "\t%s" +msgstr "\t%s" + +msgid "\tAfter fault: continue" +msgstr "\tDopo un errore: continua" + +#, c-format +msgid "\tAlerts: %s" +msgstr "\tAvvisi: %s" + +msgid "\tBanner required" +msgstr "\tBanner richiesto" + +msgid "\tCharset sets:" +msgstr "\tSet di caratteri:" + +msgid "\tConnection: direct" +msgstr "\tConnessione: diretta" + +msgid "\tConnection: remote" +msgstr "\tConnessione: remota" + +msgid "\tContent types: any" +msgstr "\tTipi di contenuto: qualsiasi" + +msgid "\tDefault page size:" +msgstr "\tDimensione predefinite della pagina:" + +msgid "\tDefault pitch:" +msgstr "\tTono predefinito:" + +msgid "\tDefault port settings:" +msgstr "\tImpostazioni predefinite della porta:" + +#, c-format +msgid "\tDescription: %s" +msgstr "\tDescrizione: %s" + +msgid "\tForm mounted:" +msgstr "\tModulo installato:" + +msgid "\tForms allowed:" +msgstr "\tModuli consentiti:" + +#, c-format +msgid "\tInterface: %s.ppd" +msgstr "\tInterfaccia: %s.ppd" + +#, c-format +msgid "\tInterface: %s/ppd/%s.ppd" +msgstr "\tInterfaccia: %s/ppd/%s.ppd" + +#, c-format +msgid "\tLocation: %s" +msgstr "\tPosizione: %s" + +msgid "\tOn fault: no alert" +msgstr "\tIn caso di errore: nessun avviso" + +msgid "\tPrinter types: unknown" +msgstr "\tTipi di stampanti: sconosciuto" + +#, c-format +msgid "\tStatus: %s" +msgstr "\tStato: %s" + +msgid "\tUsers allowed:" +msgstr "\tUtenti autorizzati:" + +msgid "\tUsers denied:" +msgstr "\tUtenti non autorizzati:" + +msgid "\tdaemon present" +msgstr "\tdemone presente" + +msgid "\tno entries" +msgstr "\tnessuna voce" + +#, c-format +msgid "\tprinter is on device '%s' speed -1" +msgstr "\tla stampante è sul dispositivo '%s' velocità -1" + +msgid "\tprinting is disabled" +msgstr "\tla stampa è disabilitata" + +msgid "\tprinting is enabled" +msgstr "\tla stampa è abilitata" + +#, c-format +msgid "\tqueued for %s" +msgstr "\tin coda per %s" + +msgid "\tqueuing is disabled" +msgstr "\tla coda è disabilitata" + +msgid "\tqueuing is enabled" +msgstr "\tla coda è abilitata" + +msgid "\treason unknown" +msgstr "\tmotivo sconosciuto" + +msgid "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" +msgstr "" +"\n" +" RISULTATI DETTAGLIATI DEL TEST DI CONFORMITÀ" + +msgid " REF: Page 15, section 3.1." +msgstr " RIF: pagina 15, sezione 3.1." + +msgid " REF: Page 15, section 3.2." +msgstr " RIF: pagina 15, sezione 3.2." + +msgid " REF: Page 19, section 3.3." +msgstr " RIF: pagina 19, sezione 3.3." + +msgid " REF: Page 20, section 3.4." +msgstr " RIF: pagina 20, sezione 3.4." + +msgid " REF: Page 27, section 3.5." +msgstr " RIF: pagina 27, sezione 3.5." + +msgid " REF: Page 42, section 5.2." +msgstr " RIF: pagina 42, sezione 5.2." + +msgid " REF: Pages 16-17, section 3.2." +msgstr " RIF: pagine 16-17, sezione 3.2." + +msgid " REF: Pages 42-45, section 5.2." +msgstr " RIF: pagine 42-45, sezione 5.2." + +msgid " REF: Pages 45-46, section 5.2." +msgstr " RIF: pagine 45-46, sezione 5.2." + +msgid " REF: Pages 48-49, section 5.2." +msgstr " RIF: pagine 48-49, sezione 5.2." + +msgid " REF: Pages 52-54, section 5.2." +msgstr " RIF: pagine 52-54, sezione 5.2." + +#, c-format +msgid " %-39.39s %.0f bytes" +msgstr " %-39.39s %.0f byte" + +#, c-format +msgid " PASS Default%s" +msgstr " PASS Default%s" + +msgid " PASS DefaultImageableArea" +msgstr " PASS DefaultImageableArea" + +msgid " PASS DefaultPaperDimension" +msgstr " PASS DefaultPaperDimension" + +msgid " PASS FileVersion" +msgstr " PASS FileVersion" + +msgid " PASS FormatVersion" +msgstr " PASS FormatVersion" + +msgid " PASS LanguageEncoding" +msgstr " PASS LanguageEncoding" + +msgid " PASS LanguageVersion" +msgstr " PASS LanguageVersion" + +msgid " PASS Manufacturer" +msgstr " PASS Manufacturer" + +msgid " PASS ModelName" +msgstr " PASS ModelName" + +msgid " PASS NickName" +msgstr " PASS NickName" + +msgid " PASS PCFileName" +msgstr " PASS PCFileName" + +msgid " PASS PSVersion" +msgstr " PASS PSVersion" + +msgid " PASS PageRegion" +msgstr " PASS PageRegion" + +msgid " PASS PageSize" +msgstr " PASS PageSize" + +msgid " PASS Product" +msgstr " PASS Product" + +msgid " PASS ShortNickName" +msgstr " PASS ShortNickName" + +#, c-format +msgid " WARN %s has no corresponding options." +msgstr " WARN %s non ha opzioni corrispondenti." + +#, c-format +msgid "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." +msgstr "" +" WARN %s condivide un prefisso comune con %s\n" +" RIF: pagina 15, sezione 3.2." + +#, c-format +msgid "" +" WARN Duplex option keyword %s may not work as expected and should " +"be named Duplex.\n" +" REF: Page 122, section 5.17" +msgstr "" +" WARN La parola chiave dell'opzione duplex %s potrebbe non " +"funzionare come previsto e dovrebbe essere chiamata Duplex.\n" +" RIF: pagina 122, sezione 5.17" + +msgid " WARN File contains a mix of CR, LF, and CR LF line endings." +msgstr "" +" WARN Il file contiene un insieme di righe che terminano con CR, " +"LF e CR LF." + +msgid "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" WARN LanguageEncoding è richiesto dalle specifiche PPD 4.3.\n" +" RIF: pagine 56-57, sezione 5.3." + +#, c-format +msgid " WARN Line %d only contains whitespace." +msgstr " WARN La riga %d contiene solo spazi." + +msgid "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" WARN Manufacturer è richiesto dalle specifiche PPD 4.3.\n" +" RIF: pagine 58-59, sezione 5.3." + +msgid "" +" WARN Non-Windows PPD files should use lines ending with only LF, " +"not CR LF." +msgstr "" +" WARN I file PPD per sistemi diversi da Windows dovrebbero " +"utilizzare solo righe terminanti con LF e non con CR LF." + +#, c-format +msgid "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." +msgstr "" +" WARN Versione obsoleta di PPD %.1f.\n" +" RIF: pagina 42, sezione 5.2." + +msgid "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" WARN PCFileName più lungo di 8.3 vìola le specifiche PPD.\n" +" RIF: pagine 61-62, sezione 5.3." + +msgid "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" WARN PCFileName dovrebbe contenere un nome del file unico.\n" +" RIF: pagine 61-62, sezione 5.3." + +msgid "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" WARN Il protocollo contiene PJL ma gli attributi di JCL non sono " +"impostati.\n" +" RIF: pagine 78-79, sezione 5.7." + +msgid "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" WARN Il protocollo contiene entrambi PJL e BCP; è previsto TBCP.\n" +" RIF: pagine 78-79, sezione 5.7." + +msgid "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" WARN ShortNickName richiesto dalle specifiche di PPD 4.3.\n" +" RIF: pagine 64-65, sezione 5.3." + +#, c-format +msgid "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." +msgstr "" +" %s \"%s %s\" confligge con \"%s %s\"\n" +" (vincolo=\"%s %s %s %s\")." + +#, c-format +msgid " %s %s %s does not exist." +msgstr " %s %s %s non esiste." + +#, c-format +msgid " %s %s file \"%s\" has the wrong capitalization." +msgstr " %s %s file \"%s\" ha la capitalizzazione sbagliata." + +#, c-format +msgid "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s errata %s scelta %s.\n" +" RIF: pagina 122, sezione 5.17" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." +msgstr "" +" %s UTF-8 non è valido \"%s\" la string di traduzione dell'opzione %s, " +"scelta %s." + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s." +msgstr "" +" %s UTF-8 non è valido \"%s\" la stringa di traduzione dell'opzione %s." + +#, c-format +msgid " %s Bad cupsFilter value \"%s\"." +msgstr " %s valore di cupsFilter non è valido \"%s\"." + +#, c-format +msgid " %s Bad cupsFilter2 value \"%s\"." +msgstr " %s il valore di cupsFilter2 non è valido \"%s\"." + +#, c-format +msgid " %s Bad cupsICCProfile %s." +msgstr " %s il valore di cupsICCProfile non è valido %s." + +#, c-format +msgid " %s Bad cupsPreFilter value \"%s\"." +msgstr " %s il valore di cupsPreFilter non è valido \"%s\"." + +#, c-format +msgid " %s Bad cupsUIConstraints %s: \"%s\"" +msgstr " %s il valore di cupsUIConstraints non è valido %s: \"%s\"" + +#, c-format +msgid " %s Bad language \"%s\"." +msgstr " %s la lingua non è valida \"%s\"." + +#, c-format +msgid " %s Bad permissions on %s file \"%s\"." +msgstr " %s permessi errati sul file %s \"%s\"." + +#, c-format +msgid " %s Bad spelling of %s - should be %s." +msgstr " %s ortografia errata di %s - dovrebbe essere %s." + +#, c-format +msgid " %s Cannot provide both APScanAppPath and APScanAppBundleID." +msgstr "" +" %s non è possibile passare entrambi APScanAppPath e APScanAppBundleID." + +#, c-format +msgid " %s Default choices conflicting." +msgstr " %s le scelte predefinite confliggono." + +#, c-format +msgid " %s Empty cupsUIConstraints %s" +msgstr " %s cupsUIConstraints è vuota %s" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s, choice %s." +msgstr "" +" %s manca \"%s\" la stringa di traduzione dell'opzione %s, scelta %s." + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s." +msgstr " %s manca \"%s\" la stringa di traduzione dell'opzione %s." + +#, c-format +msgid " %s Missing %s file \"%s\"." +msgstr " %s manca il file %s \"%s\"." + +#, c-format +msgid "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." +msgstr "" +" %s manca l'opzione RICHIESTA PageRegion.\n" +" RIF: pagina 100, sezione 5.14." + +#, c-format +msgid "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." +msgstr "" +" %s manca l'opzione RICHIESTA PageSize.\n" +" RIF: pagina 99, sezione 5.14." + +#, c-format +msgid " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." +msgstr " %s manca la scelta *%s %s in UIConstraints \"*%s %s *%s %s\"." + +#, c-format +msgid " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" +msgstr " %s manca la scelta *%s %s in cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s Missing cupsUIResolver %s" +msgstr " %s manca cupsUIResolver %s" + +#, c-format +msgid " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." +msgstr " %s manca l'opzione %s in UIConstraints \"*%s %s *%s %s\"." + +#, c-format +msgid " %s Missing option %s in cupsUIConstraints %s: \"%s\"" +msgstr " %s manca l'opzione %s in cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s No base translation \"%s\" is included in file." +msgstr " %s Nessuna traduzione base \"%s\" è inclusa nel file." + +#, c-format +msgid "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s RICHIESTA %s non definisce la scelta None.\n" +" RIF: pagina 122, sezione 5.17" + +#, c-format +msgid " %s Size \"%s\" defined for %s but not for %s." +msgstr " %s dimensione \"%s\" definita per %s ma non per %s." + +#, c-format +msgid " %s Size \"%s\" has unexpected dimensions (%gx%g)." +msgstr "" +" %s dimensione \"%s\" presenta delle dimensioni inaspettate (%gx%g)." + +#, c-format +msgid " %s Size \"%s\" should be \"%s\"." +msgstr " %s dimensione \"%s\" dovrebbe essere \"%s\"." + +#, c-format +msgid " %s Size \"%s\" should be the Adobe standard name \"%s\"." +msgstr "" +" %s dimensione \"%s\" dovrebbe essere il nome standard di Adobe \"%s\"." + +#, c-format +msgid " %s cupsICCProfile %s hash value collides with %s." +msgstr " %s cupsICCProfile %s il valore dell'hash collide con %s." + +#, c-format +msgid " %s cupsUIResolver %s causes a loop." +msgstr " %s cupsUIResolver %s causa un loop." + +#, c-format +msgid "" +" %s cupsUIResolver %s does not list at least two different options." +msgstr " %s cupsUIResolver %s non elenca almeno due opzioni differenti." + +#, c-format +msgid "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" +msgstr "" +" **FAIL** %s deve essere 1284DeviceID\n" +" RIF: pagina 72, sezione 5.5" + +#, c-format +msgid "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **FAIL** Valore predefinito errato%s %s\n" +" RIF: pagina 40, sezione 4.5." + +#, c-format +msgid "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." +msgstr "" +" **FAIL** DefaultImageableArea non è valido %s\n" +" RIF: pagina 102, sezione 5.15." + +#, c-format +msgid "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." +msgstr "" +" **FAIL** DefaultPaperDimension non è valido %s\n" +" RIF: pagina 103, sezione 5.15." + +#, c-format +msgid "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FAIL** FileVersion non è valido \"%s\"\n" +" RIF: pagina 56, sezione 5.3." + +#, c-format +msgid "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FAIL** FormatVersion non è valido \"%s\"\n" +" RIF: pagina 56, sezione 5.3." + +msgid "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." +msgstr "" +" **FAIL** l'attributo di JobPatchFile nel file non è valido\n" +" RIF: pagina 24, sezione 3.4." + +#, c-format +msgid " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." +msgstr "" +" **FAIL** LanguageEncoding non è valido %s - deve essere ISOLatin1." + +#, c-format +msgid " **FAIL** Bad LanguageVersion %s - must be English." +msgstr " **FAIL** LanguageVersion non è valido %s - deve essere Inglese." + +#, c-format +msgid "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." +msgstr "" +" **FAIL** Manufacturer non è valido (dovrebbe essere \"%s\")\n" +" RIF: pagina 211, tabella D.1." + +#, c-format +msgid "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **FAIL** ModelName non è valido - \"%c\" non consentito nella " +"stringa.\n" +" RIF: pagine 59-60, sezione 5.3." + +msgid "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **FAIL** PSVersion non è valido - non è una \"(stringa) intera\".\n" +" RIF: pagine 62-64, sezione 5.3." + +msgid "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." +msgstr "" +" **FAIL** Product non è valido - non è una \"(stringa)\".\n" +" RIF: pagina 62, sezione 5.3." + +msgid "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" **FAIL** ShortNickName non è valido - più lungo di 31 caratteri.\n" +" RIF: pagine 64-65, sezione 5.3." + +#, c-format +msgid "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" +msgstr "" +" **FAIL** L'opzione %s non è valida scelta %s\n" +" RIF: pagina 84, sezione 5.9" + +#, c-format +msgid " **FAIL** Default option code cannot be interpreted: %s" +msgstr "" +" **FAIL** Il codice dell'opzione predefinita non può essere " +"interpretato: %s" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s choice %s contains " +"8-bit characters." +msgstr "" +" **FAIL** La stringa di traduzione predefinita dell'opzione %s scelta " +"%s contiene caratteri a 8-bit." + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s contains 8-bit " +"characters." +msgstr "" +" **FAIL** La stringa di traduzione predefinita dell'opzione %s " +"contiene caratteri a 8-bit." + +#, c-format +msgid " **FAIL** Group names %s and %s differ only by case." +msgstr " **FAIL** I nomi dei gruppi %s e %s differiscono solo per caso." + +#, c-format +msgid " **FAIL** Multiple occurrences of option %s choice name %s." +msgstr "" +" **FAIL** Occorrenze multiple dell'opzione %s nome della scelta %s." + +#, c-format +msgid " **FAIL** Option %s choice names %s and %s differ only by case." +msgstr "" +" **FAIL** I nomi delle scelte %s e %s dell'opzione %s differiscono " +"solo per caso." + +#, c-format +msgid " **FAIL** Option names %s and %s differ only by case." +msgstr "" +" **FAIL** I nomi delle opzioni %s e %s differiscono solo per caso." + +#, c-format +msgid "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **FAIL** RICHIESTA predefinita%s\n" +" RIF: pagina 40, sezione 4.5." + +msgid "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." +msgstr "" +" **FAIL** RICHIESTA DefaultImageableArea\n" +" RIF: pagina 102, sezione 5.15." + +msgid "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." +msgstr "" +" **FAIL** RICHIESTA DefaultPaperDimension\n" +" RIF: pagina 103, sezione 5.15." + +msgid "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FAIL** RICHIESTA FileVersion\n" +" RIF: pagina 56, sezione 5.3." + +msgid "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FAIL** RICHIESTA FormatVersion\n" +" RIF: pagina 56, sezione 5.3." + +#, c-format +msgid "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." +msgstr "" +" **FAIL** RICHIESTA ImageableArea per PageSize %s\n" +" RIF: pagina 41, sezione 5.\n" +" RIF: pagina 102, sezione 5.15." + +msgid "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" **FAIL** RICHIESTA LanguageEncoding\n" +" RIF: pagina 56-57, sezione 5.3." + +msgid "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." +msgstr "" +" **FAIL** RICHIESTA LanguageVersion\n" +" RIF: pagine 57-58, sezione 5.3." + +msgid "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" **FAIL** RICHIESTA Manufacturer\n" +" RIF: pagine 58-59, sezione 5.3." + +msgid "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **FAIL** RICHIESTA ModelName\n" +" RIF: pagine 59-60, sezione 5.3." + +msgid "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." +msgstr "" +" **FAIL** RICHIESTA NickName\n" +" RIF: pagina 60, sezione 5.3." + +msgid "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" **FAIL** RICHIESTA PCFileName\n" +" RIF: pagine 61-62, sezione 5.3." + +msgid "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **FAIL** RICHIESTA PSVersion\n" +" RIF: pagine 62-64, sezione 5.3." + +msgid "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." +msgstr "" +" **FAIL** RICHIESTA PageRegion\n" +" RIF: pagina 100, sezione 5.14." + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." +msgstr "" +" **FAIL** RICHIESTA PageSize\n" +" RIF: pagina 41, sezione 5.\n" +" RIF: pagina 99, sezione 5.14." + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." +msgstr "" +" **FAIL** RICHIESTA PageSize\n" +" RIF: pagine 99-100, sezione 5.14." + +#, c-format +msgid "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." +msgstr "" +" **FAIL** RICHIESTA PaperDimension per PageSize %s\n" +" RIF: pagina 41, sezione 5.\n" +" RIF: pagina 103, sezione 5.15." + +msgid "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." +msgstr "" +" **FAIL** RICHIESTA Product\n" +" RIF: pagina 62, sezione 5.3." + +msgid "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." +msgstr "" +" **FAIL** RICHIESTA ShortNickName\n" +" RIF: pagina 64-65, sezione 5.3." + +#, c-format +msgid " **FAIL** Unable to open PPD file - %s on line %d." +msgstr " **FAIL** Non è possibile aprire il file PPD - %s alla riga %d." + +#, c-format +msgid " %d ERRORS FOUND" +msgstr " %d SONO STATI TROVATI DEGLI ERRORI" + +msgid " NO ERRORS FOUND" +msgstr " NON SONO STATI TROVATI ERRORI" + +msgid " --cr End lines with CR (Mac OS 9)." +msgstr " --cr Termina righe con CR (Mac OS 9)." + +msgid " --crlf End lines with CR + LF (Windows)." +msgstr " --crlf Termina righe con CR + LF (Windows)." + +msgid " --lf End lines with LF (UNIX/Linux/macOS)." +msgstr "" + +msgid " --list-filters List filters that will be used." +msgstr "" + +msgid " -D Remove the input file when finished." +msgstr "" +" -D Rimuovi il file di input una volta terminato." + +msgid " -D name=value Set named variable to value." +msgstr " -D name=value Imposta la variabile chiamata al valore." + +msgid " -I include-dir Add include directory to search path." +msgstr "" +" -I include-dir Aggiunge la directory include al percorso della " +"ricerca." + +msgid " -P filename.ppd Set PPD file." +msgstr " -P filename.ppd Imposta il file PPD." + +msgid " -U username Specify username." +msgstr " -U username Specifica l'username." + +msgid " -c catalog.po Load the specified message catalog." +msgstr "" +" -c catalog.po Carica il catalogo del messaggio specificato." + +msgid " -c cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid " -d output-dir Specify the output directory." +msgstr " -d output-dir Specifica la directory di output." + +msgid " -d printer Use the named printer." +msgstr " -d printer Utilizza la stampante specificata." + +msgid " -e Use every filter from the PPD file." +msgstr " -e Utilizza tutti i filtri dal file PPD." + +msgid " -i mime/type Set input MIME type (otherwise auto-typed)." +msgstr "" +" -i mime/type Imposta il tipo di MIME di input (altrimenti auto-" +"typed)." + +msgid "" +" -j job-id[,N] Filter file N from the specified job (default is " +"file 1)." +msgstr "" +" -j job-id[,N] File del filtro N dal processo specificato (quello " +"predefinito è il file 1)." + +msgid " -l lang[,lang,...] Specify the output language(s) (locale)." +msgstr " -l lang[,lang,...] Specifica la lingua(e) (locale) di output." + +msgid " -m Use the ModelName value as the filename." +msgstr " -m Utilizza il valore di ModelName come file." + +msgid "" +" -m mime/type Set output MIME type (otherwise application/pdf)." +msgstr "" +" -m mime/type Imposta il tipo di MIME di output (altrimenti " +"application/pdf)." + +msgid " -n copies Set number of copies." +msgstr " -n copies Imposta il numero di copie." + +msgid "" +" -o filename.drv Set driver information file (otherwise ppdi.drv)." +msgstr " -o filename.drv Imposta un driver (altrimenti ppdi.drv)." + +msgid " -o filename.ppd[.gz] Set output file (otherwise stdout)." +msgstr "" +" -o filename.ppd[.gz] Imposta il file di output (altrimenti stdout)." + +msgid " -o name=value Set option(s)." +msgstr " -o nome=valore Imposta opzione(i)." + +msgid " -p filename.ppd Set PPD file." +msgstr " -p filename.ppd Imposta il file PPD." + +msgid " -t Test PPDs instead of generating them." +msgstr " -t Prova i PPD invece di generarli." + +msgid " -t title Set title." +msgstr " -t title Imposta il titolo." + +msgid " -u Remove the PPD file when finished." +msgstr " -u Rimuove il file PPD una volta terminato." + +msgid " -v Be verbose." +msgstr " -v Fornisce maggiori dettagli." + +msgid " -z Compress PPD files using GNU zip." +msgstr "" +" -z Il file PPD compresso sta utilizzando GNU zip." + +msgid " FAIL" +msgstr " OPERAZIONE NON RIUSCITA CORRETTAMENTE" + +msgid " PASS" +msgstr " OPERAZIONE RIUSCITA CON SUCCESSO" + +msgid "! expression Unary NOT of expression" +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section " +"5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section " +"8.1)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 " +"section 5.1.14)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section " +"5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be " +"positive (RFC 8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC " +"8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section " +"8.3)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." +msgstr "" + +msgid "\"requesting-user-name\" attribute in wrong group." +msgstr "" + +msgid "\"requesting-user-name\" attribute with wrong syntax." +msgstr "" + +#, c-format +msgid "%-7s %-7.7s %-7d %-31.31s %.0f bytes" +msgstr "%-7s %-7.7s %-7d %-31.31s %.0f byte" + +#, c-format +msgid "%d x %d mm" +msgstr "" + +#, c-format +msgid "%g x %g \"" +msgstr "" + +#, c-format +msgid "%s (%s)" +msgstr "" + +#, c-format +msgid "%s (%s, %s)" +msgstr "" + +#, c-format +msgid "%s (Borderless)" +msgstr "" + +#, c-format +msgid "%s (Borderless, %s)" +msgstr "" + +#, c-format +msgid "%s (Borderless, %s, %s)" +msgstr "" + +#, c-format +msgid "%s accepting requests since %s" +msgstr "%s sta accettando richieste da %s" + +#, c-format +msgid "%s cannot be changed." +msgstr "%s non può essere modificato" + +#, c-format +msgid "%s is not implemented by the CUPS version of lpc." +msgstr "%s non è implementato dalla versione di CUPS di lpc." + +#, c-format +msgid "%s is not ready" +msgstr "%s non è pronta" + +#, c-format +msgid "%s is ready" +msgstr "%s è pronta" + +#, c-format +msgid "%s is ready and printing" +msgstr "%s è pronta e sta stampando" + +#, c-format +msgid "%s job-id user title copies options [file]" +msgstr "%s job-id titolo dell'utente opzioni delle copie [file]" + +#, c-format +msgid "%s not accepting requests since %s -" +msgstr "%s non sta accettando richieste da %s -" + +#, c-format +msgid "%s not supported." +msgstr "%s non è supportato." + +#, c-format +msgid "%s/%s accepting requests since %s" +msgstr "%s/%s sta accettando richieste da %s" + +#, c-format +msgid "%s/%s not accepting requests since %s -" +msgstr "%s/%s non sta accettando richieste da %s -" + +#, c-format +msgid "%s: %-33.33s [job %d localhost]" +msgstr "%s: %-33.33s [processo %d localhost]" + +#. TRANSLATORS: Message is "subject: error" +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#, c-format +msgid "%s: %s failed: %s" +msgstr "%s: %s non riuscito correttamente: %s" + +#, c-format +msgid "%s: Bad printer URI \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Bad version %s for \"-V\"." +msgstr "%s: la versione %s non è valida per \"-V\"." + +#, c-format +msgid "%s: Don't know what to do." +msgstr "%s: non so cosa fare." + +#, c-format +msgid "%s: Error - %s" +msgstr "" + +#, c-format +msgid "" +"%s: Error - %s environment variable names non-existent destination \"%s\"." +msgstr "" +"%s: errore - %s destinazione inesistente dei nomi delle variabili di " +"ambiente \"%s\"." + +#, c-format +msgid "%s: Error - add '/version=1.1' to server name." +msgstr "%s: errore - aggiungere '/version=1.1' al nome del server." + +#, c-format +msgid "%s: Error - bad job ID." +msgstr "%s: errore - l'ID del processo non è valido." + +#, c-format +msgid "%s: Error - cannot print files and alter jobs simultaneously." +msgstr "" +"%s: errore - non è possibile stampare file e alterare le stampe " +"simultaneamente." + +#, c-format +msgid "%s: Error - cannot print from stdin if files or a job ID are provided." +msgstr "" +"%s: errore - non è possibile stampare da stdin se non si fornisce un file o " +"un ID del processo." + +#, c-format +msgid "%s: Error - copies must be 1 or more." +msgstr "" + +#, c-format +msgid "%s: Error - expected character set after \"-S\" option." +msgstr "%s: errore - è previsto un set di caratteri dopo l'opzione \"-S\"." + +#, c-format +msgid "%s: Error - expected content type after \"-T\" option." +msgstr "%s: errore - è previsto il tipo di contenuto dopo l'opzione \"-T\"." + +#, c-format +msgid "%s: Error - expected copies after \"-#\" option." +msgstr "%s: errore - sono previste delle copie dopo l'opzione \"-#\"." + +#, c-format +msgid "%s: Error - expected copies after \"-n\" option." +msgstr "%s: errore - sono previste delle copie dopo l'opzione \"-n\"." + +#, c-format +msgid "%s: Error - expected destination after \"-P\" option." +msgstr "%s: errore - è prevista una destinazione dopo l'opzione \"-P\"." + +#, c-format +msgid "%s: Error - expected destination after \"-d\" option." +msgstr "%s: errore - è prevista una destinazione dopo l'opzione \"-d\"." + +#, c-format +msgid "%s: Error - expected form after \"-f\" option." +msgstr "%s: errore - è previsto un modulo dopo l'opzione \"-f\"." + +#, c-format +msgid "%s: Error - expected hold name after \"-H\" option." +msgstr "%s: errore - è previsto un nome dopo l'opzione \"-H\"." + +#, c-format +msgid "%s: Error - expected hostname after \"-H\" option." +msgstr "%s: errore - è previsto un hostname dopo l'opzione \"-H\"." + +#, c-format +msgid "%s: Error - expected hostname after \"-h\" option." +msgstr "%s: errore - è previsto un hostname dopo l'opzione \"-h\"." + +#, c-format +msgid "%s: Error - expected mode list after \"-y\" option." +msgstr "" +"%s: errore - è prevista una lista di modalità di attesa dopo l'opzione \"-y" +"\"." + +#, c-format +msgid "%s: Error - expected name after \"-%c\" option." +msgstr "%s: errore - è previsto un nome dopo l'opzione \"-%c\"." + +#, c-format +msgid "%s: Error - expected option=value after \"-o\" option." +msgstr "%s: errore - è previsto un opzione=valore dopo l'opzione \"-o\"." + +#, c-format +msgid "%s: Error - expected page list after \"-P\" option." +msgstr "%s: errore - è previsto un elenco di pagine dopo l'opzione \"-P\"." + +#, c-format +msgid "%s: Error - expected priority after \"-%c\" option." +msgstr "%s: errore - è prevista una priorità dopo l'opzione \"-%c\"." + +#, c-format +msgid "%s: Error - expected reason text after \"-r\" option." +msgstr "%s: errore - è previsto un testo del motivo dopo l'opzione \"-r\"." + +#, c-format +msgid "%s: Error - expected title after \"-t\" option." +msgstr "%s: errore - è previsto un titolo dopo l'opzione \"-t\"." + +#, c-format +msgid "%s: Error - expected username after \"-U\" option." +msgstr "%s: errore - è previsto un username dopo l'opzione \"-U\"." + +#, c-format +msgid "%s: Error - expected username after \"-u\" option." +msgstr "%s: errore - è previsto un username dopo l'opzione \"-u\"." + +#, c-format +msgid "%s: Error - expected value after \"-%c\" option." +msgstr "%s: errore - è previsto un valore dopo l'opzione \"-%c\"." + +#, c-format +msgid "" +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" " +"option." +msgstr "" +"%s: errore - deve seguire \"completed\", \"non-completed\" oppure \"all\" " +"dopo l'opzione \"-W\"." + +#, c-format +msgid "%s: Error - no default destination available." +msgstr "%s: errore - nessuna destinazione predefinita disponibile." + +#, c-format +msgid "%s: Error - priority must be between 1 and 100." +msgstr "%s: errore- la priorità deve essere compresa tra 1 e 100." + +#, c-format +msgid "%s: Error - scheduler not responding." +msgstr "%s: errore - lo scheduler non sta rispondendo." + +#, c-format +msgid "%s: Error - too many files - \"%s\"." +msgstr "%s: errore - troppi file - \"%s\"." + +#, c-format +msgid "%s: Error - unable to access \"%s\" - %s" +msgstr "%s: errore - non è possibile accedere a \"%s\" - %s" + +#, c-format +msgid "%s: Error - unable to queue from stdin - %s." +msgstr "%s: errore - non è possibile mettere in coda da stdin - %s." + +#, c-format +msgid "%s: Error - unknown destination \"%s\"." +msgstr "%s: errore - destinazione sconosciuta \"%s\"." + +#, c-format +msgid "%s: Error - unknown destination \"%s/%s\"." +msgstr "%s: errore - destinazione sconosciuta \"%s/%s\"." + +#, c-format +msgid "%s: Error - unknown option \"%c\"." +msgstr "%s: errore - opzione sconosciuta \"%c\"." + +#, c-format +msgid "%s: Error - unknown option \"%s\"." +msgstr "%s: errore - opzione sconosciuta \"%s\"." + +#, c-format +msgid "%s: Expected job ID after \"-i\" option." +msgstr "%s: è previsto un ID del processo dopo l'opzione \"-i\"." + +#, c-format +msgid "%s: Invalid destination name in list \"%s\"." +msgstr "%s: il nome della destinazione non è valido nella lista \"%s\"." + +#, c-format +msgid "%s: Invalid filter string \"%s\"." +msgstr "%s: la stringa del filtro non è valida \"%s\"." + +#, c-format +msgid "%s: Missing filename for \"-P\"." +msgstr "" + +#, c-format +msgid "%s: Missing timeout for \"-T\"." +msgstr "%s: manca il timeout di \"-T\"." + +#, c-format +msgid "%s: Missing version for \"-V\"." +msgstr "%s: manca la versione di \"-V\"." + +#, c-format +msgid "%s: Need job ID (\"-i jobid\") before \"-H restart\"." +msgstr "" +"%s: è necessario un ID del processo (\"-i jobid\") prima di \"-H restart\"." + +#, c-format +msgid "%s: No filter to convert from %s/%s to %s/%s." +msgstr "%s: nessun filtro per convertire da %s/%s a %s/%s." + +#, c-format +msgid "%s: Operation failed: %s" +msgstr "%s: operazione non riuscita correttamente: %s" + +#, c-format +msgid "%s: Sorry, no encryption support." +msgstr "%s: spiacenti, nessun supporto per la crittografia." + +#, c-format +msgid "%s: Unable to connect to \"%s:%d\": %s" +msgstr "" + +#, c-format +msgid "%s: Unable to connect to server." +msgstr "%s: non è possibile connettersi al server." + +#, c-format +msgid "%s: Unable to contact server." +msgstr "%s: non è possibile contattare il server." + +#, c-format +msgid "%s: Unable to create PPD file: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to determine MIME type of \"%s\"." +msgstr "%s: non è possibile determinare il tipo di MIME di \"%s\"." + +#, c-format +msgid "%s: Unable to open \"%s\": %s" +msgstr "" + +#, c-format +msgid "%s: Unable to open %s: %s" +msgstr "%s: non è possibile aprire %s: %s" + +#, c-format +msgid "%s: Unable to open PPD file: %s on line %d." +msgstr "%s: non è possibile aprire il file PPD: %s alla riga %d." + +#, c-format +msgid "%s: Unable to query printer: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to read MIME database from \"%s\" or \"%s\"." +msgstr "" +"%s: non è possibile leggere il database del MIME da \"%s\" oppure da \"%s\"." + +#, c-format +msgid "%s: Unable to resolve \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown argument \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown destination \"%s\"." +msgstr "%s: destinazione sconosciuta \"%s\"." + +#, c-format +msgid "%s: Unknown destination MIME type %s/%s." +msgstr "%s: destinazione sconosciuta del tipo di MIME %s/%s." + +#, c-format +msgid "%s: Unknown option \"%c\"." +msgstr "%s: opzione sconosciuta \"%c\"." + +#, c-format +msgid "%s: Unknown option \"%s\"." +msgstr "%s: opzione sconosciuta \"%s\"." + +#, c-format +msgid "%s: Unknown option \"-%c\"." +msgstr "%s: opzione sconosciuta \"-%c\"." + +#, c-format +msgid "%s: Unknown source MIME type %s/%s." +msgstr "%s: sorgente sconosciuto del tipo di MIME %s/%s." + +#, c-format +msgid "" +"%s: Warning - \"%c\" format modifier not supported - output may not be " +"correct." +msgstr "" +"%s: attenzione - \"%c\" il formato del modificatore non è supportato - " +"l'output potrebbe non essere corretto." + +#, c-format +msgid "%s: Warning - character set option ignored." +msgstr "%s: attenzione - l'opzione del set dei caratteri è stata ignorata." + +#, c-format +msgid "%s: Warning - content type option ignored." +msgstr "%s: attenzione - l'opzione del tipo di contenuto è stata ignorata." + +#, c-format +msgid "%s: Warning - form option ignored." +msgstr "%s: attenzione - l'opzione del modulo è stata ignorata." + +#, c-format +msgid "%s: Warning - mode option ignored." +msgstr "%s: attenzione - l'opzione modalità è stata ignorata." + +msgid "( expressions ) Group expressions" +msgstr "" + +msgid "- Cancel all jobs" +msgstr "" + +msgid "-# num-copies Specify the number of copies to print" +msgstr "" + +msgid "--[no-]debug-logging Turn debug logging on/off" +msgstr "" + +msgid "--[no-]remote-admin Turn remote administration on/off" +msgstr "" + +msgid "--[no-]remote-any Allow/prevent access from the Internet" +msgstr "" + +msgid "--[no-]share-printers Turn printer sharing on/off" +msgstr "" + +msgid "--[no-]user-cancel-any Allow/prevent users to cancel any job" +msgstr "" + +msgid "" +"--device-id device-id Show models matching the given IEEE 1284 device ID" +msgstr "" + +msgid "--domain regex Match domain to regular expression" +msgstr "" + +msgid "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" +msgstr "" + +msgid "" +"--exec utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "--false Always false" +msgstr "" + +msgid "--help Show program help" +msgstr "" + +msgid "--hold Hold new jobs" +msgstr "" + +msgid "--host regex Match hostname to regular expression" +msgstr "" + +msgid "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" +msgstr "" + +msgid "--ippserver filename Produce ippserver attribute file" +msgstr "" + +msgid "--language locale Show models matching the given locale" +msgstr "" + +msgid "--local True if service is local" +msgstr "" + +msgid "--ls List attributes" +msgstr "" + +msgid "" +"--make-and-model name Show models matching the given make and model name" +msgstr "" + +msgid "--name regex Match service name to regular expression" +msgstr "" + +msgid "--no-web-forms Disable web forms for media and supplies" +msgstr "" + +msgid "--not expression Unary NOT of expression" +msgstr "" + +msgid "--path regex Match resource path to regular expression" +msgstr "" + +msgid "--port number[-number] Match port to number or range" +msgstr "" + +msgid "--print Print URI if true" +msgstr "" + +msgid "--print-name Print service name if true" +msgstr "" + +msgid "" +"--product name Show models matching the given PostScript product" +msgstr "" + +msgid "--quiet Quietly report match via exit code" +msgstr "" + +msgid "--release Release previously held jobs" +msgstr "" + +msgid "--remote True if service is remote" +msgstr "" + +msgid "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" +msgstr "" + +msgid "" +"--timeout seconds Specify the maximum number of seconds to discover " +"devices" +msgstr "" + +msgid "--true Always true" +msgstr "" + +msgid "--txt key True if the TXT record contains the key" +msgstr "" + +msgid "--txt-* regex Match TXT record key to regular expression" +msgstr "" + +msgid "--uri regex Match URI to regular expression" +msgstr "" + +msgid "--version Show program version" +msgstr "" + +msgid "--version Show version" +msgstr "" + +msgid "-1" +msgstr "-1" + +msgid "-10" +msgstr "-10" + +msgid "-100" +msgstr "-100" + +msgid "-105" +msgstr "-105" + +msgid "-11" +msgstr "-11" + +msgid "-110" +msgstr "-110" + +msgid "-115" +msgstr "-115" + +msgid "-12" +msgstr "-12" + +msgid "-120" +msgstr "-120" + +msgid "-13" +msgstr "-13" + +msgid "-14" +msgstr "-14" + +msgid "-15" +msgstr "-15" + +msgid "-2" +msgstr "-2" + +msgid "-2 Set 2-sided printing support (default=1-sided)" +msgstr "" + +msgid "-20" +msgstr "-20" + +msgid "-25" +msgstr "-25" + +msgid "-3" +msgstr "-3" + +msgid "-30" +msgstr "-30" + +msgid "-35" +msgstr "-35" + +msgid "-4" +msgstr "-4" + +msgid "-4 Connect using IPv4" +msgstr "" + +msgid "-40" +msgstr "-40" + +msgid "-45" +msgstr "-45" + +msgid "-5" +msgstr "-5" + +msgid "-50" +msgstr "-50" + +msgid "-55" +msgstr "-55" + +msgid "-6" +msgstr "-6" + +msgid "-6 Connect using IPv6" +msgstr "" + +msgid "-60" +msgstr "-60" + +msgid "-65" +msgstr "-65" + +msgid "-7" +msgstr "-7" + +msgid "-70" +msgstr "-70" + +msgid "-75" +msgstr "-75" + +msgid "-8" +msgstr "-8" + +msgid "-80" +msgstr "-80" + +msgid "-85" +msgstr "-85" + +msgid "-9" +msgstr "-9" + +msgid "-90" +msgstr "-90" + +msgid "-95" +msgstr "-95" + +msgid "-C Send requests using chunking (default)" +msgstr "" + +msgid "-D description Specify the textual description of the printer" +msgstr "" + +msgid "-D device-uri Set the device URI for the printer" +msgstr "" + +msgid "" +"-E Enable and accept jobs on the printer (after -p)" +msgstr "" + +msgid "-E Encrypt the connection to the server" +msgstr "" + +msgid "-E Test with encryption using HTTP Upgrade to TLS" +msgstr "" + +msgid "-F Run in the foreground but detach from console." +msgstr "" + +msgid "-F output-type/subtype Set the output format for the printer" +msgstr "" + +msgid "-H Show the default server and port" +msgstr "" + +msgid "-H HH:MM Hold the job until the specified UTC time" +msgstr "" + +msgid "-H hold Hold the job until released/resumed" +msgstr "" + +msgid "-H immediate Print the job as soon as possible" +msgstr "" + +msgid "-H restart Reprint the job" +msgstr "" + +msgid "-H resume Resume a held job" +msgstr "" + +msgid "-H server[:port] Connect to the named server and port" +msgstr "" + +msgid "-I Ignore errors" +msgstr "" + +msgid "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" +msgstr "" + +msgid "" +"-K keypath Set location of server X.509 certificates and keys." +msgstr "" + +msgid "-L Send requests using content-length" +msgstr "" + +msgid "-L location Specify the textual location of the printer" +msgstr "" + +msgid "-M manufacturer Set manufacturer name (default=Test)" +msgstr "" + +msgid "-P destination Show status for the specified destination" +msgstr "" + +msgid "-P destination Specify the destination" +msgstr "" + +msgid "" +"-P filename.plist Produce XML plist to a file and test report to " +"standard output" +msgstr "" + +msgid "-P filename.ppd Load printer attributes from PPD file" +msgstr "" + +msgid "-P number[-number] Match port to number or range" +msgstr "" + +msgid "-P page-list Specify a list of pages to print" +msgstr "" + +msgid "-R Show the ranking of jobs" +msgstr "" + +msgid "-R name-default Remove the default value for the named option" +msgstr "" + +msgid "-R root-directory Set alternate root" +msgstr "" + +msgid "-S Test with encryption using HTTPS" +msgstr "" + +msgid "-T seconds Set the browse timeout in seconds" +msgstr "" + +msgid "-T seconds Set the receive/send timeout in seconds" +msgstr "" + +msgid "-T title Specify the job title" +msgstr "" + +msgid "-U username Specify the username to use for authentication" +msgstr "" + +msgid "-U username Specify username to use for authentication" +msgstr "" + +msgid "-V version Set default IPP version" +msgstr "" + +msgid "-W completed Show completed jobs" +msgstr "" + +msgid "-W not-completed Show pending jobs" +msgstr "" + +msgid "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes," +"translations}\n" +" Issue warnings instead of errors" +msgstr "" + +msgid "-X Produce XML plist instead of plain text" +msgstr "" + +msgid "-a Cancel all jobs" +msgstr "" + +msgid "-a Show jobs on all destinations" +msgstr "" + +msgid "-a [destination(s)] Show the accepting state of destinations" +msgstr "" + +msgid "-a filename.conf Load printer attributes from conf file" +msgstr "" + +msgid "-c Make a copy of the print file(s)" +msgstr "" + +msgid "-c Produce CSV output" +msgstr "" + +msgid "-c [class(es)] Show classes and their member printers" +msgstr "" + +msgid "-c class Add the named destination to a class" +msgstr "" + +msgid "-c command Set print command" +msgstr "" + +msgid "-c cupsd.conf Set cupsd.conf file to use." +msgstr "" + +msgid "-d Show the default destination" +msgstr "" + +msgid "-d destination Set default destination" +msgstr "" + +msgid "-d destination Set the named destination as the server default" +msgstr "" + +msgid "-d name=value Set named variable to value" +msgstr "" + +msgid "-d regex Match domain to regular expression" +msgstr "" + +msgid "-d spool-directory Set spool directory" +msgstr "" + +msgid "-e Show available destinations on the network" +msgstr "" + +msgid "-f Run in the foreground." +msgstr "" + +msgid "-f filename Set default request filename" +msgstr "" + +msgid "-f type/subtype[,...] Set supported file types" +msgstr "" + +msgid "-h Show this usage message." +msgstr "" + +msgid "-h Validate HTTP response headers" +msgstr "" + +msgid "-h regex Match hostname to regular expression" +msgstr "" + +msgid "-h server[:port] Connect to the named server and port" +msgstr "" + +msgid "-i iconfile.png Set icon file" +msgstr "" + +msgid "-i id Specify an existing job ID to modify" +msgstr "" + +msgid "-i ppd-file Specify a PPD file for the printer" +msgstr "" + +msgid "" +"-i seconds Repeat the last file with the given time interval" +msgstr "" + +msgid "-k Keep job spool files" +msgstr "" + +msgid "-l List attributes" +msgstr "" + +msgid "-l Produce plain text output" +msgstr "" + +msgid "-l Run cupsd on demand." +msgstr "" + +msgid "-l Show supported options and values" +msgstr "" + +msgid "-l Show verbose (long) output" +msgstr "" + +msgid "-l location Set location of printer" +msgstr "" + +msgid "" +"-m Send an email notification when the job completes" +msgstr "" + +msgid "-m Show models" +msgstr "" + +msgid "" +"-m everywhere Specify the printer is compatible with IPP Everywhere" +msgstr "" + +msgid "-m model Set model name (default=Printer)" +msgstr "" + +msgid "" +"-m model Specify a standard model/PPD file for the printer" +msgstr "" + +msgid "-n count Repeat the last file the given number of times" +msgstr "" + +msgid "-n hostname Set hostname for printer" +msgstr "" + +msgid "-n num-copies Specify the number of copies to print" +msgstr "" + +msgid "-n regex Match service name to regular expression" +msgstr "" + +msgid "" +"-o Name=Value Specify the default value for the named PPD option " +msgstr "" + +msgid "-o [destination(s)] Show jobs" +msgstr "" + +msgid "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" +msgstr "" + +msgid "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" +msgstr "" + +msgid "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" +msgstr "" + +msgid "-o job-page-limit=N Specify the page limit for per-user quotas" +msgstr "" + +msgid "-o job-quota-period=N Specify the per-user quota period in seconds" +msgstr "" + +msgid "-o job-sheets=standard Print a banner page with the job" +msgstr "" + +msgid "-o media=size Specify the media size to use" +msgstr "" + +msgid "-o name-default=value Specify the default value for the named option" +msgstr "" + +msgid "-o name[=value] Set default option and value" +msgstr "" + +msgid "" +"-o number-up=N Specify that input pages should be printed N-up (1, " +"2, 4, 6, 9, and 16 are supported)" +msgstr "" + +msgid "-o option[=value] Specify a printer-specific option" +msgstr "" + +msgid "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" +msgstr "" + +msgid "" +"-o print-quality=N Specify the print quality - draft (3), normal (4), " +"or best (5)" +msgstr "" + +msgid "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" +msgstr "" + +msgid "" +"-o printer-is-shared=true\n" +" Share the printer" +msgstr "" + +msgid "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" +msgstr "" + +msgid "-o sides=one-sided Specify 1-sided printing" +msgstr "" + +msgid "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" +msgstr "" + +msgid "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" +msgstr "" + +msgid "-p Print URI if true" +msgstr "" + +msgid "-p [printer(s)] Show the processing state of destinations" +msgstr "" + +msgid "-p destination Specify a destination" +msgstr "" + +msgid "-p destination Specify/add the named destination" +msgstr "" + +msgid "-p port Set port number for printer" +msgstr "" + +msgid "-q Quietly report match via exit code" +msgstr "" + +msgid "-q Run silently" +msgstr "" + +msgid "-q Specify the job should be held for printing" +msgstr "" + +msgid "-q priority Specify the priority from low (1) to high (100)" +msgstr "" + +msgid "-r Remove the file(s) after submission" +msgstr "" + +msgid "-r Show whether the CUPS server is running" +msgstr "" + +msgid "-r True if service is remote" +msgstr "" + +msgid "-r Use 'relaxed' open mode" +msgstr "" + +msgid "-r class Remove the named destination from a class" +msgstr "" + +msgid "-r reason Specify a reason message that others can see" +msgstr "" + +msgid "-r subtype,[subtype] Set DNS-SD service subtype" +msgstr "" + +msgid "-s Be silent" +msgstr "" + +msgid "-s Print service name if true" +msgstr "" + +msgid "-s Show a status summary" +msgstr "" + +msgid "-s cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid "-s speed[,color-speed] Set speed in pages per minute" +msgstr "" + +msgid "-t Produce a test report" +msgstr "" + +msgid "-t Show all status information" +msgstr "" + +msgid "-t Test the configuration file." +msgstr "" + +msgid "-t key True if the TXT record contains the key" +msgstr "" + +msgid "-t title Specify the job title" +msgstr "" + +msgid "" +"-u [user(s)] Show jobs queued by the current or specified users" +msgstr "" + +msgid "-u allow:all Allow all users to print" +msgstr "" + +msgid "" +"-u allow:list Allow the list of users or groups (@name) to print" +msgstr "" + +msgid "" +"-u deny:list Prevent the list of users or groups (@name) to print" +msgstr "" + +msgid "-u owner Specify the owner to use for jobs" +msgstr "" + +msgid "-u regex Match URI to regular expression" +msgstr "" + +msgid "-v Be verbose" +msgstr "" + +msgid "-v Show devices" +msgstr "" + +msgid "-v [printer(s)] Show the devices for each destination" +msgstr "" + +msgid "-v device-uri Specify the device URI for the printer" +msgstr "" + +msgid "-vv Be very verbose" +msgstr "" + +msgid "-x Purge jobs rather than just canceling" +msgstr "" + +msgid "-x destination Remove default options for destination" +msgstr "" + +msgid "-x destination Remove the named destination" +msgstr "" + +msgid "" +"-x utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "/etc/cups/lpoptions file names default destination that does not exist." +msgstr "" + +msgid "0" +msgstr "0" + +msgid "1" +msgstr "1" + +msgid "1 inch/sec." +msgstr "1 inch/sec." + +msgid "1.25x0.25\"" +msgstr "1.25x0.25\"" + +msgid "1.25x2.25\"" +msgstr "1.25x2.25\"" + +msgid "1.5 inch/sec." +msgstr "1.5 inch/sec." + +msgid "1.50x0.25\"" +msgstr "1.50x0.25\"" + +msgid "1.50x0.50\"" +msgstr "1.50x0.50\"" + +msgid "1.50x1.00\"" +msgstr "1.50x1.00\"" + +msgid "1.50x2.00\"" +msgstr "1.50x2.00\"" + +msgid "10" +msgstr "10" + +msgid "10 inches/sec." +msgstr "10 inches/sec." + +msgid "10 x 11" +msgstr "10 x 11" + +msgid "10 x 13" +msgstr "10 x 13" + +msgid "10 x 14" +msgstr "10 x 14" + +msgid "100" +msgstr "100" + +msgid "100 mm/sec." +msgstr "100 mm/sec." + +msgid "105" +msgstr "105" + +msgid "11" +msgstr "11" + +msgid "11 inches/sec." +msgstr "11 inches/sec." + +msgid "110" +msgstr "110" + +msgid "115" +msgstr "115" + +msgid "12" +msgstr "12" + +msgid "12 inches/sec." +msgstr "12 inches/sec." + +msgid "12 x 11" +msgstr "12 x 11" + +msgid "120" +msgstr "120" + +msgid "120 mm/sec." +msgstr "120 mm/sec." + +msgid "120x60dpi" +msgstr "120x60dpi" + +msgid "120x72dpi" +msgstr "120x72dpi" + +msgid "13" +msgstr "13" + +msgid "136dpi" +msgstr "136dpi" + +msgid "14" +msgstr "14" + +msgid "15" +msgstr "15" + +msgid "15 mm/sec." +msgstr "15 mm/sec." + +msgid "15 x 11" +msgstr "15 x 11" + +msgid "150 mm/sec." +msgstr "150 mm/sec." + +msgid "150dpi" +msgstr "150dpi" + +msgid "16" +msgstr "16" + +msgid "17" +msgstr "17" + +msgid "18" +msgstr "18" + +msgid "180dpi" +msgstr "180dpi" + +msgid "19" +msgstr "19" + +msgid "2" +msgstr "2" + +msgid "2 inches/sec." +msgstr "2 inches/sec." + +msgid "2-Sided Printing" +msgstr "2-Sided Printing" + +msgid "2.00x0.37\"" +msgstr "2.00x0.37\"" + +msgid "2.00x0.50\"" +msgstr "2.00x0.50\"" + +msgid "2.00x1.00\"" +msgstr "2.00x1.00\"" + +msgid "2.00x1.25\"" +msgstr "2.00x1.25\"" + +msgid "2.00x2.00\"" +msgstr "2.00x2.00\"" + +msgid "2.00x3.00\"" +msgstr "2.00x3.00\"" + +msgid "2.00x4.00\"" +msgstr "2.00x4.00\"" + +msgid "2.00x5.50\"" +msgstr "2.00x5.50\"" + +msgid "2.25x0.50\"" +msgstr "2.25x0.50\"" + +msgid "2.25x1.25\"" +msgstr "2.25x1.25\"" + +msgid "2.25x4.00\"" +msgstr "2.25x4.00\"" + +msgid "2.25x5.50\"" +msgstr "2.25x5.50\"" + +msgid "2.38x5.50\"" +msgstr "2.38x5.50\"" + +msgid "2.5 inches/sec." +msgstr "2.5 inches/sec." + +msgid "2.50x1.00\"" +msgstr "2.50x1.00\"" + +msgid "2.50x2.00\"" +msgstr "2.50x2.00\"" + +msgid "2.75x1.25\"" +msgstr "2.75x1.25\"" + +msgid "2.9 x 1\"" +msgstr "2.9 x 1\"" + +msgid "20" +msgstr "20" + +msgid "20 mm/sec." +msgstr "20 mm/sec." + +msgid "200 mm/sec." +msgstr "200 mm/sec." + +msgid "203dpi" +msgstr "203dpi" + +msgid "21" +msgstr "21" + +msgid "22" +msgstr "22" + +msgid "23" +msgstr "23" + +msgid "24" +msgstr "24" + +msgid "24-Pin Series" +msgstr "24-Pin Series" + +msgid "240x72dpi" +msgstr "240x72dpi" + +msgid "25" +msgstr "25" + +msgid "250 mm/sec." +msgstr "250 mm/sec." + +msgid "26" +msgstr "26" + +msgid "27" +msgstr "27" + +msgid "28" +msgstr "28" + +msgid "29" +msgstr "29" + +msgid "3" +msgstr "3" + +msgid "3 inches/sec." +msgstr "3 inches/sec." + +msgid "3 x 5" +msgstr "3 x 5" + +msgid "3.00x1.00\"" +msgstr "3.00x1.00\"" + +msgid "3.00x1.25\"" +msgstr "3.00x1.25\"" + +msgid "3.00x2.00\"" +msgstr "3.00x2.00\"" + +msgid "3.00x3.00\"" +msgstr "3.00x3.00\"" + +msgid "3.00x5.00\"" +msgstr "3.00x5.00\"" + +msgid "3.25x2.00\"" +msgstr "3.25x2.00\"" + +msgid "3.25x5.00\"" +msgstr "3.25x5.00\"" + +msgid "3.25x5.50\"" +msgstr "3.25x5.50\"" + +msgid "3.25x5.83\"" +msgstr "3.25x5.83\"" + +msgid "3.25x7.83\"" +msgstr "3.25x7.83\"" + +msgid "3.5 x 5" +msgstr "3.5 x 5" + +msgid "3.5\" Disk" +msgstr "3.5\" Disk" + +msgid "3.50x1.00\"" +msgstr "3.50x1.00\"" + +msgid "30" +msgstr "30" + +msgid "30 mm/sec." +msgstr "30 mm/sec." + +msgid "300 mm/sec." +msgstr "300 mm/sec." + +msgid "300dpi" +msgstr "300dpi" + +msgid "35" +msgstr "35" + +msgid "360dpi" +msgstr "360dpi" + +msgid "360x180dpi" +msgstr "360x180dpi" + +msgid "4" +msgstr "4" + +msgid "4 inches/sec." +msgstr "4 inches/sec." + +msgid "4.00x1.00\"" +msgstr "4.00x1.00\"" + +msgid "4.00x13.00\"" +msgstr "4.00x13.00\"" + +msgid "4.00x2.00\"" +msgstr "4.00x2.00\"" + +msgid "4.00x2.50\"" +msgstr "4.00x2.50\"" + +msgid "4.00x3.00\"" +msgstr "4.00x3.00\"" + +msgid "4.00x4.00\"" +msgstr "4.00x4.00\"" + +msgid "4.00x5.00\"" +msgstr "4.00x5.00\"" + +msgid "4.00x6.00\"" +msgstr "4.00x6.00\"" + +msgid "4.00x6.50\"" +msgstr "4.00x6.50\"" + +msgid "40" +msgstr "40" + +msgid "40 mm/sec." +msgstr "40 mm/sec." + +msgid "45" +msgstr "45" + +msgid "5" +msgstr "5" + +msgid "5 inches/sec." +msgstr "5 inches/sec." + +msgid "5 x 7" +msgstr "5 x 7" + +msgid "50" +msgstr "50" + +msgid "55" +msgstr "55" + +msgid "6" +msgstr "6" + +msgid "6 inches/sec." +msgstr "6 inches/sec." + +msgid "6.00x1.00\"" +msgstr "6.00x1.00\"" + +msgid "6.00x2.00\"" +msgstr "6.00x2.00\"" + +msgid "6.00x3.00\"" +msgstr "6.00x3.00\"" + +msgid "6.00x4.00\"" +msgstr "6.00x4.00\"" + +msgid "6.00x5.00\"" +msgstr "6.00x5.00\"" + +msgid "6.00x6.00\"" +msgstr "6.00x6.00\"" + +msgid "6.00x6.50\"" +msgstr "6.00x6.50\"" + +msgid "60" +msgstr "60" + +msgid "60 mm/sec." +msgstr "60 mm/sec." + +msgid "600dpi" +msgstr "600dpi" + +msgid "60dpi" +msgstr "60dpi" + +msgid "60x72dpi" +msgstr "60x72dpi" + +msgid "65" +msgstr "65" + +msgid "7" +msgstr "7" + +msgid "7 inches/sec." +msgstr "7 inches/sec." + +msgid "7 x 9" +msgstr "7 x 9" + +msgid "70" +msgstr "70" + +msgid "75" +msgstr "75" + +msgid "8" +msgstr "8" + +msgid "8 inches/sec." +msgstr "8 inches/sec." + +msgid "8 x 10" +msgstr "8 x 10" + +msgid "8.00x1.00\"" +msgstr "8.00x1.00\"" + +msgid "8.00x2.00\"" +msgstr "8.00x2.00\"" + +msgid "8.00x3.00\"" +msgstr "8.00x3.00\"" + +msgid "8.00x4.00\"" +msgstr "8.00x4.00\"" + +msgid "8.00x5.00\"" +msgstr "8.00x5.00\"" + +msgid "8.00x6.00\"" +msgstr "8.00x6.00\"" + +msgid "8.00x6.50\"" +msgstr "8.00x6.50\"" + +msgid "80" +msgstr "80" + +msgid "80 mm/sec." +msgstr "80 mm/sec." + +msgid "85" +msgstr "85" + +msgid "9" +msgstr "9" + +msgid "9 inches/sec." +msgstr "9 inches/sec." + +msgid "9 x 11" +msgstr "9 x 11" + +msgid "9 x 12" +msgstr "9 x 12" + +msgid "9-Pin Series" +msgstr "9-Pin Series" + +msgid "90" +msgstr "90" + +msgid "95" +msgstr "95" + +msgid "?Invalid help command unknown." +msgstr "?Aiuto non valido comando sconosciuto." + +#, c-format +msgid "A class named \"%s\" already exists." +msgstr "Una classe denominata \"%s\" già esiste." + +#, c-format +msgid "A printer named \"%s\" already exists." +msgstr "Una stampante denominata \"%s\" già esiste." + +msgid "A0" +msgstr "A0" + +msgid "A0 Long Edge" +msgstr "A0 Long Edge" + +msgid "A1" +msgstr "A1" + +msgid "A1 Long Edge" +msgstr "A1 Long Edge" + +msgid "A10" +msgstr "A10" + +msgid "A2" +msgstr "A2" + +msgid "A2 Long Edge" +msgstr "A2 Long Edge" + +msgid "A3" +msgstr "A3" + +msgid "A3 Long Edge" +msgstr "A3 Long Edge" + +msgid "A3 Oversize" +msgstr "A3 Oversize" + +msgid "A3 Oversize Long Edge" +msgstr "A3 Oversize Long Edge" + +msgid "A4" +msgstr "A4" + +msgid "A4 Long Edge" +msgstr "A4 Long Edge" + +msgid "A4 Oversize" +msgstr "A4 Oversize" + +msgid "A4 Small" +msgstr "A4 Small" + +msgid "A5" +msgstr "A5" + +msgid "A5 Long Edge" +msgstr "A5 Long Edge" + +msgid "A5 Oversize" +msgstr "A5 Oversize" + +msgid "A6" +msgstr "A6" + +msgid "A6 Long Edge" +msgstr "A6 Long Edge" + +msgid "A7" +msgstr "A7" + +msgid "A8" +msgstr "A8" + +msgid "A9" +msgstr "A9" + +msgid "ANSI A" +msgstr "ANSI A" + +msgid "ANSI B" +msgstr "ANSI B" + +msgid "ANSI C" +msgstr "ANSI C" + +msgid "ANSI D" +msgstr "ANSI D" + +msgid "ANSI E" +msgstr "ANSI E" + +msgid "ARCH C" +msgstr "ARCH C" + +msgid "ARCH C Long Edge" +msgstr "ARCH C Long Edge" + +msgid "ARCH D" +msgstr "ARCH D" + +msgid "ARCH D Long Edge" +msgstr "ARCH D Long Edge" + +msgid "ARCH E" +msgstr "ARCH E" + +msgid "ARCH E Long Edge" +msgstr "ARCH E Long Edge" + +msgid "Accept Jobs" +msgstr "Accetta le stampe" + +msgid "Accepted" +msgstr "Accettato" + +msgid "Add Class" +msgstr "Aggiungi una classe" + +msgid "Add Printer" +msgstr "Aggiungi una stampante" + +msgid "Address" +msgstr "Indirizzo" + +msgid "Administration" +msgstr "Amministrazione" + +msgid "Always" +msgstr "Sempre" + +msgid "AppSocket/HP JetDirect" +msgstr "AppSocket/HP JetDirect" + +msgid "Applicator" +msgstr "Applicatore" + +#, c-format +msgid "Attempt to set %s printer-state to bad value %d." +msgstr "Tentativo di impostare %s printer-state al valore non valido %d." + +#, c-format +msgid "Attribute \"%s\" is in the wrong group." +msgstr "" + +#, c-format +msgid "Attribute \"%s\" is the wrong value type." +msgstr "" + +#, c-format +msgid "Attribute groups are out of order (%x < %x)." +msgstr "I gruppi degli attributi sono fuori uso (%x < %x)." + +msgid "B0" +msgstr "B0" + +msgid "B1" +msgstr "B1" + +msgid "B10" +msgstr "B10" + +msgid "B2" +msgstr "B2" + +msgid "B3" +msgstr "B3" + +msgid "B4" +msgstr "B4" + +msgid "B5" +msgstr "B5" + +msgid "B5 Oversize" +msgstr "B5 Oversize" + +msgid "B6" +msgstr "B6" + +msgid "B7" +msgstr "B7" + +msgid "B8" +msgstr "B8" + +msgid "B9" +msgstr "B9" + +#, c-format +msgid "Bad \"printer-id\" value %d." +msgstr "" + +#, c-format +msgid "Bad '%s' value." +msgstr "" + +#, c-format +msgid "Bad 'document-format' value \"%s\"." +msgstr "Il valore di 'document-format' non è valido \"%s\"." + +msgid "Bad CloseUI/JCLCloseUI" +msgstr "" + +msgid "Bad NULL dests pointer" +msgstr "Le destinazioni del puntatore NULL non sono valide" + +msgid "Bad OpenGroup" +msgstr "OpenGroup non è valido" + +msgid "Bad OpenUI/JCLOpenUI" +msgstr "OpenUI/JCLOpenUI non è valido" + +msgid "Bad OrderDependency" +msgstr "OrderDependency non è valido" + +msgid "Bad PPD cache file." +msgstr "Il file della cache del PPD non è valido." + +msgid "Bad PPD file." +msgstr "" + +msgid "Bad Request" +msgstr "La richiesta non è valida" + +msgid "Bad SNMP version number" +msgstr "Il numero di versione di SNMP non è valido" + +msgid "Bad UIConstraints" +msgstr "UIConstraints non è valido" + +msgid "Bad URI." +msgstr "" + +msgid "Bad arguments to function" +msgstr "" + +#, c-format +msgid "Bad copies value %d." +msgstr "Il valore %d delle copie non è valido." + +msgid "Bad custom parameter" +msgstr "Il parametro personalizzato non è valido" + +#, c-format +msgid "Bad device-uri \"%s\"." +msgstr "Il device-uri \"%s\" non è valido." + +#, c-format +msgid "Bad device-uri scheme \"%s\"." +msgstr "Lo schema del device-uri \"%s\" non è valido." + +#, c-format +msgid "Bad document-format \"%s\"." +msgstr "Il document-format \"%s\" non è valido." + +#, c-format +msgid "Bad document-format-default \"%s\"." +msgstr "Il document-format-default \"%s\" non è valido." + +msgid "Bad filename buffer" +msgstr "Il buffer del file non è valido" + +msgid "Bad hostname/address in URI" +msgstr "" + +#, c-format +msgid "Bad job-name value: %s" +msgstr "Il valore di job-name non è valido: %s" + +msgid "Bad job-name value: Wrong type or count." +msgstr "Il valore di job-name non è valido: tipo o conteggio errato." + +msgid "Bad job-priority value." +msgstr "Il valore di job-priority non è valido." + +#, c-format +msgid "Bad job-sheets value \"%s\"." +msgstr "Il valore di job-sheets \"%s\" non è valido." + +msgid "Bad job-sheets value type." +msgstr "Il tipo di valore di job-sheets non è valido." + +msgid "Bad job-state value." +msgstr "Il valore di job-state non è valido." + +#, c-format +msgid "Bad job-uri \"%s\"." +msgstr "Il valore di job-uri \"%s\" non è valido." + +#, c-format +msgid "Bad notify-pull-method \"%s\"." +msgstr "Il valore di notify-pull-method \"%s\" non è valido." + +#, c-format +msgid "Bad notify-recipient-uri \"%s\"." +msgstr "Il valore di notify-recipient-uri \"%s\" non è valido." + +#, c-format +msgid "Bad notify-user-data \"%s\"." +msgstr "" + +#, c-format +msgid "Bad number-up value %d." +msgstr "Il valore di number-up %d non è valido." + +#, c-format +msgid "Bad page-ranges values %d-%d." +msgstr "Il valore di page-ranges %d-%d non è valido." + +msgid "Bad port number in URI" +msgstr "" + +#, c-format +msgid "Bad port-monitor \"%s\"." +msgstr "Il valore di port-monitor \"%s\" non è valido." + +#, c-format +msgid "Bad printer-state value %d." +msgstr "Il valore di printer-state %d non è valido." + +msgid "Bad printer-uri." +msgstr "" + +#, c-format +msgid "Bad request ID %d." +msgstr "L'ID della richiesta %d non è valido." + +#, c-format +msgid "Bad request version number %d.%d." +msgstr "Il numero della versione richiesta %d.%d non è valido." + +msgid "Bad resource in URI" +msgstr "" + +msgid "Bad scheme in URI" +msgstr "" + +msgid "Bad username in URI" +msgstr "" + +msgid "Bad value string" +msgstr "La stringa ha un valore che non è valido" + +msgid "Bad/empty URI" +msgstr "" + +msgid "Banners" +msgstr "Banner" + +msgid "Bond Paper" +msgstr "Carta per scrivere" + +msgid "Booklet" +msgstr "" + +#, c-format +msgid "Boolean expected for waiteof option \"%s\"." +msgstr "È previsto un valore booleano per l'opzione waiteof \"%s\"." + +msgid "Buffer overflow detected, aborting." +msgstr "È stato individuato un buffer overflow, operazione annullata." + +msgid "CMYK" +msgstr "CMYK" + +msgid "CPCL Label Printer" +msgstr "CPCL Label Printer" + +msgid "Cancel Jobs" +msgstr "" + +msgid "Canceling print job." +msgstr "Eliminazione del processo di stampa in corso." + +msgid "Cannot change printer-is-shared for remote queues." +msgstr "" + +msgid "Cannot share a remote Kerberized printer." +msgstr "Non è possibile condividere una stampante remota kerberizzata." + +msgid "Cassette" +msgstr "Caricatore" + +msgid "Change Settings" +msgstr "Modifica le impostazioni" + +#, c-format +msgid "Character set \"%s\" not supported." +msgstr "Il set di caratteri \"%s\" non è supportato." + +msgid "Classes" +msgstr "Classi" + +msgid "Clean Print Heads" +msgstr "Pulisci le testine della stampante" + +msgid "Close-Job doesn't support the job-uri attribute." +msgstr "Close-Job non supporta l'attributo job-uri." + +msgid "Color" +msgstr "Colore" + +msgid "Color Mode" +msgstr "Modalità colore" + +msgid "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" +msgstr "" +"I comandi possono essere abbreviati. I comandi sono:\n" +"\n" +"exit help quit status ?" + +msgid "Community name uses indefinite length" +msgstr "Il nome della comunità utilizza una lunghezza indefinita" + +msgid "Connected to printer." +msgstr "Connesso alla stampante." + +msgid "Connecting to printer." +msgstr "Connessione alla stampante in corso." + +msgid "Continue" +msgstr "Continua" + +msgid "Continuous" +msgstr "Continuo" + +msgid "Control file sent successfully." +msgstr "Il file del controllo è stato inviato con successo." + +msgid "Copying print data." +msgstr "Copia dei dati di stampa in corso." + +msgid "Created" +msgstr "Creato" + +msgid "Credentials do not validate against site CA certificate." +msgstr "" + +msgid "Credentials have expired." +msgstr "" + +msgid "Custom" +msgstr "Personalizzato" + +msgid "CustominCutInterval" +msgstr "CustominCutInterval" + +msgid "CustominTearInterval" +msgstr "CustominTearInterval" + +msgid "Cut" +msgstr "Taglia" + +msgid "Cutter" +msgstr "Taglierino" + +msgid "Dark" +msgstr "Scuro" + +msgid "Darkness" +msgstr "Oscurità" + +msgid "Data file sent successfully." +msgstr "I dati sono stati inviati con successo." + +msgid "Deep Color" +msgstr "" + +msgid "Deep Gray" +msgstr "" + +msgid "Delete Class" +msgstr "Elimina la classe" + +msgid "Delete Printer" +msgstr "Elimina la stampante" + +msgid "DeskJet Series" +msgstr "DeskJet Series" + +#, c-format +msgid "Destination \"%s\" is not accepting jobs." +msgstr "La destinazione \"%s\" non sta accettando le stampe." + +msgid "Device CMYK" +msgstr "" + +msgid "Device Gray" +msgstr "" + +msgid "Device RGB" +msgstr "" + +#, c-format +msgid "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" +msgstr "" +"Dispositivo: uri = %s\n" +" classe = %s\n" +" info = %s\n" +" marca-e-modello = %s\n" +" device-id = %s\n" +" posizione = %s" + +msgid "Direct Thermal Media" +msgstr "Direct Thermal Media" + +#, c-format +msgid "Directory \"%s\" contains a relative path." +msgstr "La directory \"%s\" contiene un path relativo." + +#, c-format +msgid "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "" +"La directory \"%s\" presenta dei permessi non sicuri (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "Directory \"%s\" is a file." +msgstr "La directory \"%s\" è un file." + +#, c-format +msgid "Directory \"%s\" not available: %s" +msgstr "La directory \"%s\" non è disponibile: %s" + +#, c-format +msgid "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "Directory \"%s\" permessi OK (0%o/uid=%d/gid=%d)." + +msgid "Disabled" +msgstr "Disabilitato" + +#, c-format +msgid "Document #%d does not exist in job #%d." +msgstr "Il documento #%d non esiste nel processo #%d." + +msgid "Draft" +msgstr "" + +msgid "Duplexer" +msgstr "Duplexer" + +msgid "Dymo" +msgstr "Dymo" + +msgid "EPL1 Label Printer" +msgstr "EPL1 Label Printer" + +msgid "EPL2 Label Printer" +msgstr "EPL2 Label Printer" + +msgid "Edit Configuration File" +msgstr "Edita il file di configurazione" + +msgid "Encryption is not supported." +msgstr "" + +#. TRANSLATORS: Banner/cover sheet after the print job. +msgid "Ending Banner" +msgstr "Termine del banner" + +msgid "English" +msgstr "Inglese" + +msgid "" +"Enter your username and password or the root username and password to access " +"this page. If you are using Kerberos authentication, make sure you have a " +"valid Kerberos ticket." +msgstr "" +"Digitare la username e la password oppure l'username di root e la password " +"per accedere a questa pagina. Se si utilizza l'autenticazione Kerberos, " +"assicurarsi di disporre di un ticket di Kerberos valido." + +msgid "Envelope #10" +msgstr "" + +msgid "Envelope #11" +msgstr "Envelope #11" + +msgid "Envelope #12" +msgstr "Envelope #12" + +msgid "Envelope #14" +msgstr "Envelope #14" + +msgid "Envelope #9" +msgstr "Envelope #9" + +msgid "Envelope B4" +msgstr "Envelope B4" + +msgid "Envelope B5" +msgstr "Envelope B5" + +msgid "Envelope B6" +msgstr "Envelope B6" + +msgid "Envelope C0" +msgstr "Envelope C0" + +msgid "Envelope C1" +msgstr "Envelope C1" + +msgid "Envelope C2" +msgstr "Envelope C2" + +msgid "Envelope C3" +msgstr "Envelope C3" + +msgid "Envelope C4" +msgstr "Envelope C4" + +msgid "Envelope C5" +msgstr "Envelope C5" + +msgid "Envelope C6" +msgstr "Envelope C6" + +msgid "Envelope C65" +msgstr "Envelope C65" + +msgid "Envelope C7" +msgstr "Envelope C7" + +msgid "Envelope Choukei 3" +msgstr "Envelope Choukei 3" + +msgid "Envelope Choukei 3 Long Edge" +msgstr "Envelope Choukei 3 Long Edge" + +msgid "Envelope Choukei 4" +msgstr "Envelope Choukei 4" + +msgid "Envelope Choukei 4 Long Edge" +msgstr "Envelope Choukei 4 Long Edge" + +msgid "Envelope DL" +msgstr "Envelope DL" + +msgid "Envelope Feed" +msgstr "Envelope Feed" + +msgid "Envelope Invite" +msgstr "Envelope Invite" + +msgid "Envelope Italian" +msgstr "Envelope Italian" + +msgid "Envelope Kaku2" +msgstr "Envelope Kaku2" + +msgid "Envelope Kaku2 Long Edge" +msgstr "Envelope Kaku2 Long Edge" + +msgid "Envelope Kaku3" +msgstr "Envelope Kaku3" + +msgid "Envelope Kaku3 Long Edge" +msgstr "Envelope Kaku3 Long Edge" + +msgid "Envelope Monarch" +msgstr "Envelope Monarch" + +msgid "Envelope PRC1" +msgstr "" + +msgid "Envelope PRC1 Long Edge" +msgstr "Envelope PRC1 Long Edge" + +msgid "Envelope PRC10" +msgstr "Envelope PRC10" + +msgid "Envelope PRC10 Long Edge" +msgstr "Envelope PRC10 Long Edge" + +msgid "Envelope PRC2" +msgstr "Envelope PRC2" + +msgid "Envelope PRC2 Long Edge" +msgstr "Envelope PRC2 Long Edge" + +msgid "Envelope PRC3" +msgstr "Envelope PRC3" + +msgid "Envelope PRC3 Long Edge" +msgstr "Envelope PRC3 Long Edge" + +msgid "Envelope PRC4" +msgstr "Envelope PRC4" + +msgid "Envelope PRC4 Long Edge" +msgstr "Envelope PRC4 Long Edge" + +msgid "Envelope PRC5 Long Edge" +msgstr "Envelope PRC5 Long Edge" + +msgid "Envelope PRC5PRC5" +msgstr "Envelope PRC5PRC5" + +msgid "Envelope PRC6" +msgstr "Envelope PRC6" + +msgid "Envelope PRC6 Long Edge" +msgstr "Envelope PRC6 Long Edge" + +msgid "Envelope PRC7" +msgstr "Envelope PRC7" + +msgid "Envelope PRC7 Long Edge" +msgstr "Envelope PRC7 Long Edge" + +msgid "Envelope PRC8" +msgstr "Envelope PRC8" + +msgid "Envelope PRC8 Long Edge" +msgstr "Envelope PRC8 Long Edge" + +msgid "Envelope PRC9" +msgstr "Envelope PRC9" + +msgid "Envelope PRC9 Long Edge" +msgstr "Envelope PRC9 Long Edge" + +msgid "Envelope Personal" +msgstr "Envelope Personal" + +msgid "Envelope You4" +msgstr "Envelope You4" + +msgid "Envelope You4 Long Edge" +msgstr "Envelope You4 Long Edge" + +msgid "Environment Variables:" +msgstr "Variabili d'ambiente:" + +msgid "Epson" +msgstr "Epson" + +msgid "Error Policy" +msgstr "Policy dell'errore" + +msgid "Error reading raster data." +msgstr "" + +msgid "Error sending raster data." +msgstr "Si è verificato un errore durante l'invio dei dati raster." + +msgid "Error: need hostname after \"-h\" option." +msgstr "Errore: è necessario l'hostname dopo l'opzione \"-h\"." + +msgid "European Fanfold" +msgstr "" + +msgid "European Fanfold Legal" +msgstr "" + +msgid "Every 10 Labels" +msgstr "Ogni 10 etichette" + +msgid "Every 2 Labels" +msgstr "Ogni 2 etichette" + +msgid "Every 3 Labels" +msgstr "Ogni 3 etichette" + +msgid "Every 4 Labels" +msgstr "Ogni 4 etichette" + +msgid "Every 5 Labels" +msgstr "Ogni 5 etichette" + +msgid "Every 6 Labels" +msgstr "Ogni 6 etichette" + +msgid "Every 7 Labels" +msgstr "Ogni 7 etichette" + +msgid "Every 8 Labels" +msgstr "Ogni 8 etichette" + +msgid "Every 9 Labels" +msgstr "Ogni 9 etichette" + +msgid "Every Label" +msgstr "Ogni etichetta" + +msgid "Executive" +msgstr "Esecutivo" + +msgid "Expectation Failed" +msgstr "Aspettativa non riuscita" + +msgid "Expressions:" +msgstr "Espressioni:" + +msgid "Fast Grayscale" +msgstr "" + +#, c-format +msgid "File \"%s\" contains a relative path." +msgstr "Il file \"%s\" contiene un path relativo." + +#, c-format +msgid "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "il file \"%s\" presenta dei permessi non sicuri (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "File \"%s\" is a directory." +msgstr "Il file \"%s\" è una directory." + +#, c-format +msgid "File \"%s\" not available: %s" +msgstr "Il file \"%s\" non è disponibile: %s" + +#, c-format +msgid "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "File \"%s\" permessi OK (0%o/uid=%d/gid=%d)." + +msgid "File Folder" +msgstr "" + +#, c-format +msgid "" +"File device URIs have been disabled. To enable, see the FileDevice directive " +"in \"%s/cups-files.conf\"." +msgstr "" +"I file del dispositivo URI sono stati disabilitati. Per abilitare, vedere la " +"direttiva FileDevice in \"%s/cups-files.conf\"." + +#, c-format +msgid "Finished page %d." +msgstr "Finito pagina %d." + +msgid "Finishing Preset" +msgstr "" + +msgid "Fold" +msgstr "" + +msgid "Folio" +msgstr "Foglio" + +msgid "Forbidden" +msgstr "Vietato" + +msgid "Found" +msgstr "" + +msgid "General" +msgstr "Generale" + +msgid "Generic" +msgstr "Generico" + +msgid "Get-Response-PDU uses indefinite length" +msgstr "Get-Response-PDU utilizza una lunghezza indefinita" + +msgid "Glossy Paper" +msgstr "Carta lucida" + +msgid "Got a printer-uri attribute but no job-id." +msgstr "Esiste un attributo printer-uri ma nessun job-id." + +msgid "Grayscale" +msgstr "Scala di grigi" + +msgid "HP" +msgstr "HP" + +msgid "Hanging Folder" +msgstr "Directory appesa" + +msgid "Hash buffer too small." +msgstr "" + +msgid "Help file not in index." +msgstr "Il file di aiuto non è nell'indice." + +msgid "High" +msgstr "" + +msgid "IPP 1setOf attribute with incompatible value tags." +msgstr "L'attributo IPP 1setOf con tag di valore incompatibile." + +msgid "IPP attribute has no name." +msgstr "L'attributo dell'IPP non ha nessun nome." + +msgid "IPP attribute is not a member of the message." +msgstr "L'attributo IPP non è un membro del messaggio." + +msgid "IPP begCollection value not 0 bytes." +msgstr "Il valore di IPP begCollection non è di 0 byte." + +msgid "IPP boolean value not 1 byte." +msgstr "Il valore booleano di IPP non è di 1 byte." + +msgid "IPP date value not 11 bytes." +msgstr "Il valore IPP date non è di 11 byte." + +msgid "IPP endCollection value not 0 bytes." +msgstr "Il valore di IPP endCollection non è di 0 byte." + +msgid "IPP enum value not 4 bytes." +msgstr "Il valore di IPP enum non è di 4 byte." + +msgid "IPP extension tag larger than 0x7FFFFFFF." +msgstr "Il tag dell'estensione di IPP è maggiore di 0x7FFFFFFF." + +msgid "IPP integer value not 4 bytes." +msgstr "Il valore intero di IPP non è di 4 byte." + +msgid "IPP language length overflows value." +msgstr "Valore di overflow della lunghezza della lingua di IPP." + +msgid "IPP language length too large." +msgstr "La lunghezza della lingua di IPP è troppo grande." + +msgid "IPP member name is not empty." +msgstr "Il nome del membro IPP non è vuoto." + +msgid "IPP memberName value is empty." +msgstr "Il valore di IPP memberName è vuoto." + +msgid "IPP memberName with no attribute." +msgstr "IPP memberName con nessun attributo." + +msgid "IPP name larger than 32767 bytes." +msgstr "Il nome dell'IPP è più grande di 32767 byte." + +msgid "IPP nameWithLanguage value less than minimum 4 bytes." +msgstr "Il valore di IPP nameWithLanguage è inferiore al minimo di 4 byte." + +msgid "IPP octetString length too large." +msgstr "La lunghezza di IPP octetString è troppo grande." + +msgid "IPP rangeOfInteger value not 8 bytes." +msgstr "Il valore di IPP rangeOfInteger non è di 8 byte." + +msgid "IPP resolution value not 9 bytes." +msgstr "Il valore di IPP resolution non è di 9 byte." + +msgid "IPP string length overflows value." +msgstr "Valore di overflow della lunghezza della stringa di IPP." + +msgid "IPP textWithLanguage value less than minimum 4 bytes." +msgstr "Il valore di textWithLanguage dell'IPP è inferiore a 4 byte." + +msgid "IPP value larger than 32767 bytes." +msgstr "Il valore di IPP è più grande di 32767 byte." + +msgid "IPPFIND_SERVICE_DOMAIN Domain name" +msgstr "" + +msgid "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" +msgstr "" + +msgid "IPPFIND_SERVICE_NAME Service instance name" +msgstr "" + +msgid "IPPFIND_SERVICE_PORT Port number" +msgstr "" + +msgid "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" +msgstr "" + +msgid "IPPFIND_SERVICE_SCHEME URI scheme" +msgstr "" + +msgid "IPPFIND_SERVICE_URI URI" +msgstr "" + +msgid "IPPFIND_TXT_* Value of TXT record key" +msgstr "" + +msgid "ISOLatin1" +msgstr "ISOLatin1" + +msgid "Illegal control character" +msgstr "Il carattere di controllo è illegale" + +msgid "Illegal main keyword string" +msgstr "La stringa della parola chiave principale è illegale" + +msgid "Illegal option keyword string" +msgstr "La stringa della parola chiave dell'opzione è illegale" + +msgid "Illegal translation string" +msgstr "La stringa della traduzione è illegale" + +msgid "Illegal whitespace character" +msgstr "Il carattere spazio è illegale" + +msgid "Installable Options" +msgstr "Opzioni installabili" + +msgid "Installed" +msgstr "Installato" + +msgid "IntelliBar Label Printer" +msgstr "IntelliBar Label Printer" + +msgid "Intellitech" +msgstr "Intellitech" + +msgid "Internal Server Error" +msgstr "Errore interno del server" + +msgid "Internal error" +msgstr "Errore interno" + +msgid "Internet Postage 2-Part" +msgstr "Internet Postage 2-Part" + +msgid "Internet Postage 3-Part" +msgstr "Internet Postage 3-Part" + +msgid "Internet Printing Protocol" +msgstr "Internet Printing Protocol" + +msgid "Invalid group tag." +msgstr "" + +msgid "Invalid media name arguments." +msgstr "Gli argomenti del nome del supporto non sono validi." + +msgid "Invalid media size." +msgstr "La dimensione del supporto non è valida." + +msgid "Invalid named IPP attribute in collection." +msgstr "" + +msgid "Invalid ppd-name value." +msgstr "" + +#, c-format +msgid "Invalid printer command \"%s\"." +msgstr "Il comando della stampante non è valido \"%s\"." + +msgid "JCL" +msgstr "JCL" + +msgid "JIS B0" +msgstr "JIS B0" + +msgid "JIS B1" +msgstr "JIS B1" + +msgid "JIS B10" +msgstr "JIS B10" + +msgid "JIS B2" +msgstr "JIS B2" + +msgid "JIS B3" +msgstr "JIS B3" + +msgid "JIS B4" +msgstr "JIS B4" + +msgid "JIS B4 Long Edge" +msgstr "JIS B4 Long Edge" + +msgid "JIS B5" +msgstr "JIS B5" + +msgid "JIS B5 Long Edge" +msgstr "JIS B5 Long Edge" + +msgid "JIS B6" +msgstr "JIS B6" + +msgid "JIS B6 Long Edge" +msgstr "JIS B6 Long Edge" + +msgid "JIS B7" +msgstr "JIS B7" + +msgid "JIS B8" +msgstr "JIS B8" + +msgid "JIS B9" +msgstr "JIS B9" + +#, c-format +msgid "Job #%d cannot be restarted - no files." +msgstr "Il processo #%d non può essere riavviato, nessun file." + +#, c-format +msgid "Job #%d does not exist." +msgstr "Il processo #%d non esiste." + +#, c-format +msgid "Job #%d is already aborted - can't cancel." +msgstr "Il processo #%d è già stato interrotto - non è possibile eliminarlo." + +#, c-format +msgid "Job #%d is already canceled - can't cancel." +msgstr "Il processo #%d è già stato eliminato, impossibile eliminarlo." + +#, c-format +msgid "Job #%d is already completed - can't cancel." +msgstr "Il processo #%d è già completato, non è possibile eliminarlo." + +#, c-format +msgid "Job #%d is finished and cannot be altered." +msgstr "Il processo #%d è terminato e non può essere alterato." + +#, c-format +msgid "Job #%d is not complete." +msgstr "Il processo #%d non è stato completato." + +#, c-format +msgid "Job #%d is not held for authentication." +msgstr "Il processo #%d non è stato eseguito per l'autenticazione." + +#, c-format +msgid "Job #%d is not held." +msgstr "Il processo #%d non è stato eseguito." + +msgid "Job Completed" +msgstr "Il processo è stato completato" + +msgid "Job Created" +msgstr "Il processo è stato creato" + +msgid "Job Options Changed" +msgstr "Le opzioni del processo sono state modificate" + +msgid "Job Stopped" +msgstr "Il processo è stato fermato" + +msgid "Job is completed and cannot be changed." +msgstr "Il processo è stato completato e non può essere modificato." + +msgid "Job operation failed" +msgstr "L'operazione del processo non è andata a buon fine" + +msgid "Job state cannot be changed." +msgstr "Lo stato del processo non può essere modificato." + +msgid "Job subscriptions cannot be renewed." +msgstr "Le sottoscrizioni del processo non possono essere rinnovate." + +msgid "Jobs" +msgstr "Stampe" + +msgid "LPD/LPR Host or Printer" +msgstr "LPD/LPR Host o stampante" + +msgid "" +"LPDEST environment variable names default destination that does not exist." +msgstr "" + +msgid "Label Printer" +msgstr "Label Printer" + +msgid "Label Top" +msgstr "Label Top" + +#, c-format +msgid "Language \"%s\" not supported." +msgstr "La lingua \"%s\" non è supportata." + +msgid "Large Address" +msgstr "Large Address" + +msgid "LaserJet Series PCL 4/5" +msgstr "LaserJet Series PCL 4/5" + +msgid "Letter Oversize" +msgstr "Letter Oversize" + +msgid "Letter Oversize Long Edge" +msgstr "Letter Oversize Long Edge" + +msgid "Light" +msgstr "Luce" + +msgid "Line longer than the maximum allowed (255 characters)" +msgstr "Linea più lunga di quella massima consentita (255 caratteri)" + +msgid "List Available Printers" +msgstr "Elenco delle stampanti disponibili" + +#, c-format +msgid "Listening on port %d." +msgstr "" + +msgid "Local printer created." +msgstr "" + +msgid "Long-Edge (Portrait)" +msgstr "Long-Edge (Portrait)" + +msgid "Looking for printer." +msgstr "Cerca una stampante." + +msgid "Manual Feed" +msgstr "Alimentazione manuale" + +msgid "Media Size" +msgstr "Dimensione del supporto" + +msgid "Media Source" +msgstr "Sorgente multimediale" + +msgid "Media Tracking" +msgstr "Monitoraggio del supporto" + +msgid "Media Type" +msgstr "Tipo di supporto" + +msgid "Medium" +msgstr "Supporto" + +msgid "Memory allocation error" +msgstr "Errore di allocazione della memoria" + +msgid "Missing CloseGroup" +msgstr "Manca CloseGroup" + +msgid "Missing CloseUI/JCLCloseUI" +msgstr "" + +msgid "Missing PPD-Adobe-4.x header" +msgstr "Manca la libreria di PPD-Adobe-4.x" + +msgid "Missing asterisk in column 1" +msgstr "Manca l'asterisco nella colonna 1" + +msgid "Missing document-number attribute." +msgstr "Manca l'attributo di document-number." + +msgid "Missing form variable" +msgstr "Manca la variabile del modulo" + +msgid "Missing last-document attribute in request." +msgstr "Manca l'attributo last-document nella richiesta." + +msgid "Missing media or media-col." +msgstr "Manca media o media-col." + +msgid "Missing media-size in media-col." +msgstr "Manca media-size in media-col." + +msgid "Missing notify-subscription-ids attribute." +msgstr "Manca l'attributo notify-subscription-ids." + +msgid "Missing option keyword" +msgstr "Manca la parola chiave dell'opzione" + +msgid "Missing requesting-user-name attribute." +msgstr "Manca l'attributo di requesting-user-name." + +#, c-format +msgid "Missing required attribute \"%s\"." +msgstr "" + +msgid "Missing required attributes." +msgstr "Mancano gli attributi richiesti." + +msgid "Missing resource in URI" +msgstr "" + +msgid "Missing scheme in URI" +msgstr "" + +msgid "Missing value string" +msgstr "Manca la stringa del valore" + +msgid "Missing x-dimension in media-size." +msgstr "Manca x-dimension in media-size." + +msgid "Missing y-dimension in media-size." +msgstr "Manca y-dimension in media-size." + +#, c-format +msgid "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" +msgstr "" +"Modello: nome = %s\n" +" lingua_naturale = %s\n" +" marca-e-modello = %s\n" +" device-id = %s" + +msgid "Modifiers:" +msgstr "Modificatori:" + +msgid "Modify Class" +msgstr "Modifica la classe" + +msgid "Modify Printer" +msgstr "Modifica la stampante" + +msgid "Move All Jobs" +msgstr "Sposta tutti le stampe" + +msgid "Move Job" +msgstr "Sposta il processo" + +msgid "Moved Permanently" +msgstr "Spostato in modo permanente" + +msgid "NULL PPD file pointer" +msgstr "Puntatore del file PPD NULL" + +msgid "Name OID uses indefinite length" +msgstr "Il nome OID utilizza una lunghezza indefinita" + +msgid "Nested classes are not allowed." +msgstr "Le classi nidificate non sono consentite." + +msgid "Never" +msgstr "Mai" + +msgid "New credentials are not valid for name." +msgstr "" + +msgid "New credentials are older than stored credentials." +msgstr "" + +msgid "No" +msgstr "No" + +msgid "No Content" +msgstr "Nessun contenuto" + +msgid "No IPP attributes." +msgstr "" + +msgid "No PPD name" +msgstr "Nessun nome del PPD" + +msgid "No VarBind SEQUENCE" +msgstr "Nessuna SEQUENZA di VarBind" + +msgid "No active connection" +msgstr "Nessuna connessione attiva" + +msgid "No active connection." +msgstr "" + +#, c-format +msgid "No active jobs on %s." +msgstr "Nessun processo attivo su %s." + +msgid "No attributes in request." +msgstr "Nessun attributo nella richiesta." + +msgid "No authentication information provided." +msgstr "Nessuna informazione di autenticazione fornita." + +msgid "No common name specified." +msgstr "" + +msgid "No community name" +msgstr "Nessun nome della comunità" + +msgid "No default destination." +msgstr "" + +msgid "No default printer." +msgstr "Nessuna stampante predefinita." + +msgid "No destinations added." +msgstr "Nessuna destinazione aggiunta." + +msgid "No device URI found in argv[0] or in DEVICE_URI environment variable." +msgstr "" +"Non è stato trovato nessun dispositivo URI in argv[0] o nella variabile di " +"ambiente DEVICE_URI." + +msgid "No error-index" +msgstr "Nessin error-index" + +msgid "No error-status" +msgstr "Nessun error-status" + +msgid "No file in print request." +msgstr "Nessun file nella richiesta di stampa." + +msgid "No modification time" +msgstr "Nessun orario di modifica" + +msgid "No name OID" +msgstr "Nessun nome OID" + +msgid "No pages were found." +msgstr "Nessuna pagina è stata trovata." + +msgid "No printer name" +msgstr "Nessun nome della stampante" + +msgid "No printer-uri found" +msgstr "Non è stato trovato printer-uri" + +msgid "No printer-uri found for class" +msgstr "Non è stato trovato printer-uri per la classe" + +msgid "No printer-uri in request." +msgstr "Nessun printer-uri nella richiesta." + +msgid "No request URI." +msgstr "" + +msgid "No request protocol version." +msgstr "" + +msgid "No request sent." +msgstr "" + +msgid "No request-id" +msgstr "Nessun request-id" + +msgid "No stored credentials, not valid for name." +msgstr "" + +msgid "No subscription attributes in request." +msgstr "Nessun attributo della sottoscrizione nella richiesta." + +msgid "No subscriptions found." +msgstr "Non è stata trovata nessuna sottoscrizione." + +msgid "No variable-bindings SEQUENCE" +msgstr "Nessuna SEQUENZA di variable-bindings" + +msgid "No version number" +msgstr "Nessun numero di versione" + +msgid "Non-continuous (Mark sensing)" +msgstr "Non-continuous (Mark sensing)" + +msgid "Non-continuous (Web sensing)" +msgstr "Non-continuous (Web sensing)" + +msgid "None" +msgstr "" + +msgid "Normal" +msgstr "Normale" + +msgid "Not Found" +msgstr "Non trovato" + +msgid "Not Implemented" +msgstr "Non implementato" + +msgid "Not Installed" +msgstr "Non installato" + +msgid "Not Modified" +msgstr "Non modificato" + +msgid "Not Supported" +msgstr "Non supportato" + +msgid "Not allowed to print." +msgstr "Non autorizzato a stampare." + +msgid "Note" +msgstr "Nota" + +msgid "OK" +msgstr "OK" + +msgid "Off (1-Sided)" +msgstr "Off (1-Sided)" + +msgid "Oki" +msgstr "Oki" + +msgid "Online Help" +msgstr "Guida in linea" + +msgid "Only local users can create a local printer." +msgstr "" + +#, c-format +msgid "Open of %s failed: %s" +msgstr "L'apertura di %s non è andata a buon fine: %s" + +msgid "OpenGroup without a CloseGroup first" +msgstr "OpenGroup senza prima un CloseGroup" + +msgid "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" +msgstr "OpenUI/JCLOpenUI senza prima un CloseUI/JCLCloseUI" + +msgid "Operation Policy" +msgstr "Policy dell'operazione" + +#, c-format +msgid "Option \"%s\" cannot be included via %%%%IncludeFeature." +msgstr "L'opzione \"%s\" non può essere inclusa tramite %%%%IncludeFeature." + +msgid "Options Installed" +msgstr "Opzioni installate" + +msgid "Options:" +msgstr "Opzioni:" + +msgid "Other Media" +msgstr "" + +msgid "Other Tray" +msgstr "" + +msgid "Out of date PPD cache file." +msgstr "Il file della cache del PPD non è aggiornato." + +msgid "Out of memory." +msgstr "Memoria insufficiente." + +msgid "Output Mode" +msgstr "Modalità di output" + +msgid "PCL Laser Printer" +msgstr "Stampante laser PCL" + +msgid "PRC16K" +msgstr "PRC16K" + +msgid "PRC16K Long Edge" +msgstr "PRC16K Long Edge" + +msgid "PRC32K" +msgstr "PRC32K" + +msgid "PRC32K Long Edge" +msgstr "PRC32K Long Edge" + +msgid "PRC32K Oversize" +msgstr "PRC32K Oversize" + +msgid "PRC32K Oversize Long Edge" +msgstr "PRC32K Oversize Long Edge" + +msgid "" +"PRINTER environment variable names default destination that does not exist." +msgstr "" + +msgid "Packet does not contain a Get-Response-PDU" +msgstr "Il pacchetto non contiene un Get-Response-PDU" + +msgid "Packet does not start with SEQUENCE" +msgstr "Il pacchetto non inizia con SEQUENZA" + +msgid "ParamCustominCutInterval" +msgstr "ParamCustominCutInterval" + +msgid "ParamCustominTearInterval" +msgstr "ParamCustominTearInterval" + +#, c-format +msgid "Password for %s on %s? " +msgstr "Password di %s su %s? " + +msgid "Pause Class" +msgstr "Metti in pausa la classe" + +msgid "Pause Printer" +msgstr "Metti in pausa la stampante" + +msgid "Peel-Off" +msgstr "Peel-Off" + +msgid "Photo" +msgstr "Foto" + +msgid "Photo Labels" +msgstr "Etichette delle foto" + +msgid "Plain Paper" +msgstr "Carta comune" + +msgid "Policies" +msgstr "Policy" + +msgid "Port Monitor" +msgstr "Controllo della porta" + +msgid "PostScript Printer" +msgstr "Stampante PostScript" + +msgid "Postcard" +msgstr "Postcard" + +msgid "Postcard Double" +msgstr "" + +msgid "Postcard Double Long Edge" +msgstr "Postcard Double Long Edge" + +msgid "Postcard Long Edge" +msgstr "Postcard Long Edge" + +msgid "Preparing to print." +msgstr "Preparazione per la stampa." + +msgid "Print Density" +msgstr "Densità di stampa" + +msgid "Print Job:" +msgstr "Processo di stampa:" + +msgid "Print Mode" +msgstr "Modalità di stampa" + +msgid "Print Quality" +msgstr "" + +msgid "Print Rate" +msgstr "Velocità di stampa" + +msgid "Print Self-Test Page" +msgstr "Stampa la pagina Self-Test" + +msgid "Print Speed" +msgstr "Velocità di stampa" + +msgid "Print Test Page" +msgstr "Stampa pagina di prova" + +msgid "Print and Cut" +msgstr "Stampa e taglia" + +msgid "Print and Tear" +msgstr "Stampa e strappa" + +msgid "Print file sent." +msgstr "Il file di stampa è stato inviato." + +msgid "Print job canceled at printer." +msgstr "Il processo di stampa è stato annullato." + +msgid "Print job too large." +msgstr "Il processo di stampa è troppo grande." + +msgid "Print job was not accepted." +msgstr "Il processo di stampa non è stato accettato." + +#, c-format +msgid "Printer \"%s\" already exists." +msgstr "" + +msgid "Printer Added" +msgstr "La stampante è stata aggiunta" + +msgid "Printer Default" +msgstr "Stampante predefinita" + +msgid "Printer Deleted" +msgstr "La stampante è stata eliminata" + +msgid "Printer Modified" +msgstr "La stampante è stata modificata" + +msgid "Printer Paused" +msgstr "La stampante è stata messa in pausa" + +msgid "Printer Settings" +msgstr "Impostazioni della stampante" + +msgid "Printer cannot print supplied content." +msgstr "La stampante non può stampare il contenuto fornito." + +msgid "Printer cannot print with supplied options." +msgstr "La stampante non può stampare con le opzioni fornite." + +msgid "Printer does not support required IPP attributes or document formats." +msgstr "" + +msgid "Printer:" +msgstr "Stampante:" + +msgid "Printers" +msgstr "Stampanti" + +#, c-format +msgid "Printing page %d, %u%% complete." +msgstr "" + +msgid "Punch" +msgstr "" + +msgid "Quarto" +msgstr "Quarto" + +msgid "Quota limit reached." +msgstr "Il limite della quota è stato raggiunto." + +msgid "Rank Owner Job File(s) Total Size" +msgstr "Rank Owner Job File(s) Total Size" + +msgid "Reject Jobs" +msgstr "Stampe rifiutate" + +#, c-format +msgid "Remote host did not accept control file (%d)." +msgstr "L'host remosto non ha accettato il controllo (%d)." + +#, c-format +msgid "Remote host did not accept data file (%d)." +msgstr "L'host remoto non ha accettato i dati (%d)." + +msgid "Reprint After Error" +msgstr "Ristampa dopo un errore" + +msgid "Request Entity Too Large" +msgstr "Entità della richiesta troppo grande" + +msgid "Resolution" +msgstr "Risoluzione" + +msgid "Resume Class" +msgstr "Riprendi la classe" + +msgid "Resume Printer" +msgstr "Riprendi la stampante" + +msgid "Return Address" +msgstr "Ritorna l'indirizzo" + +msgid "Rewind" +msgstr "Ricarica" + +msgid "SEQUENCE uses indefinite length" +msgstr "SEQUENZA utilizza una lunghezza indefinita" + +msgid "SSL/TLS Negotiation Error" +msgstr "Errore di negoziazione SSL/TLS" + +msgid "See Other" +msgstr "Vedi altro" + +msgid "See remote printer." +msgstr "" + +msgid "Self-signed credentials are blocked." +msgstr "" + +msgid "Sending data to printer." +msgstr "Invio dei dati alla stampante." + +msgid "Server Restarted" +msgstr "Il server è stato riavviato" + +msgid "Server Security Auditing" +msgstr "Revisione della sicurezza del server" + +msgid "Server Started" +msgstr "Il server è stato avviato" + +msgid "Server Stopped" +msgstr "Il server è stato fermato" + +msgid "Server credentials not set." +msgstr "" + +msgid "Service Unavailable" +msgstr "Servizio non disponibile" + +msgid "Set Allowed Users" +msgstr "Imposta gli utenti autorizzati" + +msgid "Set As Server Default" +msgstr "Imposta come server predefinito" + +msgid "Set Class Options" +msgstr "Imposta le opzioni della classe" + +msgid "Set Printer Options" +msgstr "Imposta le opzioni della stampante" + +msgid "Set Publishing" +msgstr "Imposta la pubblicazione" + +msgid "Shipping Address" +msgstr "Indirizzo di spedizione" + +msgid "Short-Edge (Landscape)" +msgstr "Short-Edge (Landscape)" + +msgid "Special Paper" +msgstr "Carta speciale" + +#, c-format +msgid "Spooling job, %.0f%% complete." +msgstr "Processo di spooling, %.0f%% completato." + +msgid "Standard" +msgstr "Standard" + +msgid "Staple" +msgstr "" + +#. TRANSLATORS: Banner/cover sheet before the print job. +msgid "Starting Banner" +msgstr "Inizio del banner" + +#, c-format +msgid "Starting page %d." +msgstr "Pagina iniziale %d." + +msgid "Statement" +msgstr "Rapporto" + +#, c-format +msgid "Subscription #%d does not exist." +msgstr "La sottoscrizione #%d non esiste." + +msgid "Substitutions:" +msgstr "Sottoscrizioni:" + +msgid "Super A" +msgstr "Super A" + +msgid "Super B" +msgstr "Super B" + +msgid "Super B/A3" +msgstr "Super B/A3" + +msgid "Switching Protocols" +msgstr "Protocolli di commutazione" + +msgid "Tabloid" +msgstr "Tabloid" + +msgid "Tabloid Oversize" +msgstr "Tabloid Oversize" + +msgid "Tabloid Oversize Long Edge" +msgstr "Tabloid Oversize Long Edge" + +msgid "Tear" +msgstr "Tear" + +msgid "Tear-Off" +msgstr "Tear-Off" + +msgid "Tear-Off Adjust Position" +msgstr "Tear-Off Adjust Position" + +#, c-format +msgid "The \"%s\" attribute is required for print jobs." +msgstr "L'attributo \"%s\" è richiesto per i processi di stampa." + +#, c-format +msgid "The %s attribute cannot be provided with job-ids." +msgstr "L'attributo %s non può essere fornito con job-ids." + +#, c-format +msgid "" +"The '%s' Job Status attribute cannot be supplied in a job creation request." +msgstr "" + +#, c-format +msgid "" +"The '%s' operation attribute cannot be supplied in a Create-Job request." +msgstr "" +"L'attributo dell'operazione '%s' non può essere fornito in una richiesta " +"Create-Job." + +#, c-format +msgid "The PPD file \"%s\" could not be found." +msgstr "Il file PPD \"%s\" non è stato trovato." + +#, c-format +msgid "The PPD file \"%s\" could not be opened: %s" +msgstr "Non è possibile aprire il file PPD \"%s\": %s" + +msgid "The PPD file could not be opened." +msgstr "Il file PPD non può essere aperto." + +msgid "" +"The class name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/), or the pound sign (#)." +msgstr "" +"Il nome della classe può contenere fino a 127 caratteri stampabili e non può " +"contenere spazi, barre (/) o cancelletto (#)." + +msgid "" +"The notify-lease-duration attribute cannot be used with job subscriptions." +msgstr "" +"L'attributo notify-lease-duration non può essere utilizzato con le " +"sottoscrizioni del processo." + +#, c-format +msgid "The notify-user-data value is too large (%d > 63 octets)." +msgstr "Il valore di notify-user-data è troppo grande (%d > 63 ottetti)." + +msgid "The printer configuration is incorrect or the printer no longer exists." +msgstr "" +"La configurazione della stampante è errata oppure la stampante non esiste " +"più." + +msgid "The printer did not respond." +msgstr "La stampante non ha risposto." + +msgid "The printer is in use." +msgstr "La stampante è in uso." + +msgid "The printer is not connected." +msgstr "La stampante non è connessa." + +msgid "The printer is not responding." +msgstr "La stampante non risponde." + +msgid "The printer is now connected." +msgstr "Adesso la stampante è connessa." + +msgid "The printer is now online." +msgstr "Adesso la stampante è online." + +msgid "The printer is offline." +msgstr "La stampante è offline." + +msgid "The printer is unreachable at this time." +msgstr "In questo momento la stampante non è raggiungibile." + +msgid "The printer may not exist or is unavailable at this time." +msgstr "" +"La stampante potrebbe non esistere oppure non è disponibile in questo " +"momento." + +msgid "" +"The printer name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the " +"pound sign (#)." +msgstr "" + +msgid "The printer or class does not exist." +msgstr "Non esiste la stampante o la classe." + +msgid "The printer or class is not shared." +msgstr "La stampante o la classe non è condivisa." + +#, c-format +msgid "The printer-uri \"%s\" contains invalid characters." +msgstr "Il printer-uri \"%s\" contiene caratteri non validi." + +msgid "The printer-uri attribute is required." +msgstr "L'attributo printer-uri è richiesto." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." +msgstr "" +"Il printer-uri deve essere del formato \"ipp://HOSTNAME/classes/CLASSNAME\"." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." +msgstr "" +"Il printer-uri deve essere del formato \"ipp://HOSTNAME/printers/PRINTERNAME" +"\"." + +msgid "" +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to " +"enable it." +msgstr "" +"L'interfaccia web è attualmente disabilitata. Avviare \"cupsctl " +"WebInterface=yes\" per abilitarla." + +#, c-format +msgid "The which-jobs value \"%s\" is not supported." +msgstr "Il valore which-jobs \"%s\" non è supportato." + +msgid "There are too many subscriptions." +msgstr "Ci sono troppe sottoscrizioni." + +msgid "There was an unrecoverable USB error." +msgstr "Si è verificato un errore irreversibile sulla porta USB." + +msgid "Thermal Transfer Media" +msgstr "Trasferimento termico" + +msgid "Too many active jobs." +msgstr "Troppe stampe attive." + +#, c-format +msgid "Too many job-sheets values (%d > 2)." +msgstr "Troppi valori di job-sheets (%d > 2)." + +#, c-format +msgid "Too many printer-state-reasons values (%d > %d)." +msgstr "Troppi valori di printer-state-reasons (%d > %d)." + +msgid "Transparency" +msgstr "Trasparenza" + +msgid "Tray" +msgstr "Vassoio" + +msgid "Tray 1" +msgstr "Vassoio 1" + +msgid "Tray 2" +msgstr "Vassoio 2" + +msgid "Tray 3" +msgstr "Vassoio 3" + +msgid "Tray 4" +msgstr "Vassoio 4" + +msgid "Trust on first use is disabled." +msgstr "" + +msgid "URI Too Long" +msgstr "L'URI è troppo lungo" + +msgid "URI too large" +msgstr "" + +msgid "US Fanfold" +msgstr "" + +msgid "US Ledger" +msgstr "US Ledger" + +msgid "US Legal" +msgstr "US Legal" + +msgid "US Legal Oversize" +msgstr "US Legal Oversize" + +msgid "US Letter" +msgstr "US Letter" + +msgid "US Letter Long Edge" +msgstr "US Letter Long Edge" + +msgid "US Letter Oversize" +msgstr "US Letter Oversize" + +msgid "US Letter Oversize Long Edge" +msgstr "US Letter Oversize Long Edge" + +msgid "US Letter Small" +msgstr "US Letter Small" + +msgid "Unable to access cupsd.conf file" +msgstr "Non è possibile accedere al file cupsd.conf" + +msgid "Unable to access help file." +msgstr "Non è possibile accedere al file help." + +msgid "Unable to add class" +msgstr "Non è possibile aggiungere la classe" + +msgid "Unable to add document to print job." +msgstr "Non è possibile aggiungere il documento al processo di stampa." + +#, c-format +msgid "Unable to add job for destination \"%s\"." +msgstr "Non è possibile aggiungere il processo alla destinazione \"%s\"." + +msgid "Unable to add printer" +msgstr "Non è possibile aggiungere la stampante" + +msgid "Unable to allocate memory for file types." +msgstr "Non è possibile allocare la memoria per i tipi di file." + +msgid "Unable to allocate memory for page info" +msgstr "Non è possibile allocare la memoria per le info della pagina" + +msgid "Unable to allocate memory for pages array" +msgstr "Non è possibile allocare memoria per array di pagine" + +msgid "Unable to allocate memory for printer" +msgstr "" + +msgid "Unable to cancel print job." +msgstr "Non è possibile eliminare il processo di stampa." + +msgid "Unable to change printer" +msgstr "Non è possibile modificare la stampante" + +msgid "Unable to change printer-is-shared attribute" +msgstr "Non è possibile modificare l'attributo printer-is-shared" + +msgid "Unable to change server settings" +msgstr "Non è possibile modificare le impostazioni del server" + +#, c-format +msgid "Unable to compile mimeMediaType regular expression: %s." +msgstr "Non è possibile compilare l'espressione regolare mimeMediaType: %s." + +#, c-format +msgid "Unable to compile naturalLanguage regular expression: %s." +msgstr "Non è possibile compilare l'espressione regolare naturalLanguage: %s." + +msgid "Unable to configure printer options." +msgstr "Non è possibile configurare le opzioni della stampante." + +msgid "Unable to connect to host." +msgstr "Non è possibile connettersi all'host." + +msgid "Unable to contact printer, queuing on next printer in class." +msgstr "" +"Non è possibile contattare la stampante, in coda nella classe della " +"stampante successiva." + +#, c-format +msgid "Unable to copy PPD file - %s" +msgstr "Non è possibile copiare il file PPD - %s" + +msgid "Unable to copy PPD file." +msgstr "Non è possibile copiare il file PPD." + +msgid "Unable to create credentials from array." +msgstr "" + +msgid "Unable to create printer-uri" +msgstr "Non è possibile creare il printer-uri" + +msgid "Unable to create printer." +msgstr "" + +msgid "Unable to create server credentials." +msgstr "" + +#, c-format +msgid "Unable to create spool directory \"%s\": %s" +msgstr "" + +msgid "Unable to create temporary file" +msgstr "Non è possibile creare un file temporaneo" + +msgid "Unable to delete class" +msgstr "Non è possibile eliminare la classe" + +msgid "Unable to delete printer" +msgstr "Non è possibile eliminare la stampante" + +msgid "Unable to do maintenance command" +msgstr "Non è possibile avviare il comando della manutenzione" + +msgid "Unable to edit cupsd.conf files larger than 1MB" +msgstr "Non è possibile editare i file cupsd.conf più grandi di 1MB" + +#, c-format +msgid "Unable to establish a secure connection to host (%d)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (certificate chain invalid)." +msgstr "" +"Non è possibile stabilire una connessione sicura all'host (catena di " +"certificati non validi)." + +msgid "" +"Unable to establish a secure connection to host (certificate not yet valid)." +msgstr "" +"Non è possibile stabilire una connessione sicura all'host (il certificato " +"non è ancora valido)." + +msgid "Unable to establish a secure connection to host (expired certificate)." +msgstr "" +"Non è possibile stabilire una connessione sicura all'host (il certificato è " +"scaduto)." + +msgid "Unable to establish a secure connection to host (host name mismatch)." +msgstr "" +"Non è possibile stabilire una connessione sicura all'host (il nome dell'host " +"non corrisponde)." + +msgid "" +"Unable to establish a secure connection to host (peer dropped connection " +"before responding)." +msgstr "" +"Non è possibile stabilire una connessione sicura all'host (peer ha chiuso la " +"connessione prima di rispondere)." + +msgid "" +"Unable to establish a secure connection to host (self-signed certificate)." +msgstr "" +"Non è possibile stabilire una connessione sicura all'host (certificato " +"autofirmato)." + +msgid "" +"Unable to establish a secure connection to host (untrusted certificate)." +msgstr "" +"Non è possibile stabilire una connessione sicura all'host (certificato non " +"verificato)." + +msgid "Unable to establish a secure connection to host." +msgstr "Non è possibile stabilire una connessione sicura all'host." + +#, c-format +msgid "Unable to execute command \"%s\": %s" +msgstr "" + +msgid "Unable to find destination for job" +msgstr "Non è possibile trovare la destinazione del processo" + +msgid "Unable to find printer." +msgstr "Non è possibile trovare la stampante." + +msgid "Unable to find server credentials." +msgstr "" + +msgid "Unable to get backend exit status." +msgstr "Non è possibile ottenere lo stato del backend." + +msgid "Unable to get class list" +msgstr "Non è possibile ottenere la lista della classe" + +msgid "Unable to get class status" +msgstr "Non è possibile ottenere lo stato della classe" + +msgid "Unable to get list of printer drivers" +msgstr "Non è possibile ottenere i driver della stampante" + +msgid "Unable to get printer attributes" +msgstr "Non è possibile ottenere gli attributi della stampante" + +msgid "Unable to get printer list" +msgstr "Non è possibile ottenere la lista della stampante" + +msgid "Unable to get printer status" +msgstr "Non è possibile ottenere lo stato della stampante" + +msgid "Unable to get printer status." +msgstr "Non è possibile ottenere lo stato della stampante" + +msgid "Unable to load help index." +msgstr "Non è possibile caricare l'indice dell'aiuto." + +#, c-format +msgid "Unable to locate printer \"%s\"." +msgstr "Non è possibile localizzare la stampante \"%s\"." + +msgid "Unable to locate printer." +msgstr "Non è possibile localizzare la stampante." + +msgid "Unable to modify class" +msgstr "Non è possibile modificare la classe" + +msgid "Unable to modify printer" +msgstr "Non è possibile modificare la stampante" + +msgid "Unable to move job" +msgstr "Non è possibile spostare il processo" + +msgid "Unable to move jobs" +msgstr "Non è possibile spostare le stampe" + +msgid "Unable to open PPD file" +msgstr "Non è possibile aprire il file PPD" + +msgid "Unable to open cupsd.conf file:" +msgstr "Non è possibile aprire il file cupsd.conf:" + +msgid "Unable to open device file" +msgstr "Non è possibile aprire il file del dispositivo:" + +#, c-format +msgid "Unable to open document #%d in job #%d." +msgstr "Non è possibile aprire il documento #%d nel processo #%d." + +msgid "Unable to open help file." +msgstr "Non è possibile aprire il file dell'aiuto." + +msgid "Unable to open print file" +msgstr "Non è possibile aprire il file della stampa" + +msgid "Unable to open raster file" +msgstr "non è possibile aprire il file del raster" + +msgid "Unable to print test page" +msgstr "Non è possibile stampare la pagina di prova" + +msgid "Unable to read print data." +msgstr "Non è possibile leggere i dati della stampa." + +#, c-format +msgid "Unable to register \"%s.%s\": %d" +msgstr "" + +msgid "Unable to rename job document file." +msgstr "" + +msgid "Unable to resolve printer-uri." +msgstr "" + +msgid "Unable to see in file" +msgstr "Non è possibile vedere nel file" + +msgid "Unable to send command to printer driver" +msgstr "Non è possibile inviare il comando al driver della stampante" + +msgid "Unable to send data to printer." +msgstr "Non è possibile inviare i dati alla stampante." + +msgid "Unable to set options" +msgstr "Non è possibile impostare le opzioni" + +msgid "Unable to set server default" +msgstr "Non è possibile impostare il server predefinito" + +msgid "Unable to start backend process." +msgstr "Non è possibile avviare il processo del backend." + +msgid "Unable to upload cupsd.conf file" +msgstr "Non è possibile caricare il file cupsd.conf" + +msgid "Unable to use legacy USB class driver." +msgstr "Non è possibile utilizzare il driver legacy della classe USB. " + +msgid "Unable to write print data" +msgstr "Non è possibile scrivere i dati della stampa" + +#, c-format +msgid "Unable to write uncompressed print data: %s" +msgstr "Non è possibile scrivere i dati della stampa non compressi: %s" + +msgid "Unauthorized" +msgstr "Non autorizzato" + +msgid "Units" +msgstr "Unità" + +msgid "Unknown" +msgstr "Sconosciuto" + +#, c-format +msgid "Unknown choice \"%s\" for option \"%s\"." +msgstr "Scelta sconosciuta \"%s\" dell'opzione \"%s\"." + +#, c-format +msgid "Unknown directive \"%s\" on line %d of \"%s\" ignored." +msgstr "" + +#, c-format +msgid "Unknown encryption option value: \"%s\"." +msgstr "Valore sconosciuto dell'opzione di crittografia: \"%s\"." + +#, c-format +msgid "Unknown file order: \"%s\"." +msgstr "ordine del file sconosciuto: \"%s\"." + +#, c-format +msgid "Unknown format character: \"%c\"." +msgstr "Formato del carattere sconosciuto: \"%c\"." + +msgid "Unknown hash algorithm." +msgstr "" + +msgid "Unknown media size name." +msgstr "Nome del formato del supporto sconosciuto." + +#, c-format +msgid "Unknown option \"%s\" with value \"%s\"." +msgstr "Opzione sconosciuta \"%s\" con il valore \"%s\"." + +#, c-format +msgid "Unknown option \"%s\"." +msgstr "Opzione sconosciuta \"%s\"." + +#, c-format +msgid "Unknown print mode: \"%s\"." +msgstr "Modalità di stampa sconosciuta: \"%s\"." + +#, c-format +msgid "Unknown printer-error-policy \"%s\"." +msgstr "printer-error-policy sconosciuta \"%s\"." + +#, c-format +msgid "Unknown printer-op-policy \"%s\"." +msgstr "printer-op-policy sconosciuta \"%s\"." + +msgid "Unknown request method." +msgstr "" + +msgid "Unknown request version." +msgstr "" + +msgid "Unknown scheme in URI" +msgstr "" + +msgid "Unknown service name." +msgstr "Nome del servizio sconosciuto." + +#, c-format +msgid "Unknown version option value: \"%s\"." +msgstr "Valore sconosciuto dell'opzione versione: \"%s\"." + +#, c-format +msgid "Unsupported 'compression' value \"%s\"." +msgstr "Valore di 'compressione' non supportato \"%s\"." + +#, c-format +msgid "Unsupported 'document-format' value \"%s\"." +msgstr "Valore di 'document-format' non supportato \"%s\"." + +msgid "Unsupported 'job-hold-until' value." +msgstr "" + +msgid "Unsupported 'job-name' value." +msgstr "Valore di 'job-name' non supportato." + +#, c-format +msgid "Unsupported character set \"%s\"." +msgstr "Il set dei caratteri \"%s\" non è supportato." + +#, c-format +msgid "Unsupported compression \"%s\"." +msgstr "Compressione non supportata \"%s\"." + +#, c-format +msgid "Unsupported document-format \"%s\"." +msgstr "Il formato del documento \"%s\" non è supportato." + +#, c-format +msgid "Unsupported document-format \"%s/%s\"." +msgstr "Il formato del documento \"%s/%s\" non è supportato." + +#, c-format +msgid "Unsupported format \"%s\"." +msgstr "Il formato \"%s\" non è supportato." + +msgid "Unsupported margins." +msgstr "Margini non supportati." + +msgid "Unsupported media value." +msgstr "Il valore del supporto non è supportato." + +#, c-format +msgid "Unsupported number-up value %d, using number-up=1." +msgstr "Il valore %d di number-up non è supportato, usare number-up=1." + +#, c-format +msgid "Unsupported number-up-layout value %s, using number-up-layout=lrtb." +msgstr "" +"Il valore %s di number-up-layout non è supportato, usare number-up-" +"layout=1rtb." + +#, c-format +msgid "Unsupported page-border value %s, using page-border=none." +msgstr "Il valore %s di page-border non è supportato, usare page-border=none." + +msgid "Unsupported raster data." +msgstr "I dati del raster non sono supportati." + +msgid "Unsupported value type" +msgstr "Tipo di valore non supportato" + +msgid "Upgrade Required" +msgstr "È richiesto l'aggiornamento" + +#, c-format +msgid "Usage: %s [options] destination(s)" +msgstr "" + +#, c-format +msgid "Usage: %s job-id user title copies options [file]" +msgstr "Uso: %s job-id utente titolo copie opzioni [file]" + +msgid "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" +msgstr "" + +msgid "Usage: cupsctl [options] [param=value ... paramN=valueN]" +msgstr "Uso: cupsctl [opzioni] [param=valore ... paramN=valoreN]" + +msgid "Usage: cupsd [options]" +msgstr "Uso: cupsd [opzioni]" + +msgid "Usage: cupsfilter [ options ] [ -- ] filename" +msgstr "" + +msgid "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" +msgstr "" + +msgid "Usage: ippeveprinter [options] \"name\"" +msgstr "" + +msgid "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" +msgstr "" +"Uso: ippfind [opzioni] regtype[,subtype][.dominio.] ... [espressione]\n" +" ippfind [opzioni] nome[.regtype[.dominio.]] ... [espressione]\n" +" ippfind --help\n" +" ippfind --version" + +msgid "Usage: ipptool [options] URI filename [ ... filenameN ]" +msgstr "Uso: ipptool [opzioni] URI file [ ... fileN ]" + +msgid "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" +msgstr "" + +msgid "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" +msgstr "" + +msgid "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" +msgstr "" + +msgid "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" +msgstr "" + +msgid "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" +msgstr "" + +msgid "Usage: lpq [options] [+interval]" +msgstr "" + +msgid "Usage: lpr [options] [file(s)]" +msgstr "" + +msgid "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" +msgstr "" + +msgid "Usage: lpstat [options]" +msgstr "" + +msgid "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" +msgstr "Uso: ppdc [opzioni] file.drv [ ... fileN.drv ]" + +msgid "Usage: ppdhtml [options] filename.drv >filename.html" +msgstr "Uso: ppdhtml [opzioni] file.drv >file.html" + +msgid "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "Uso: ppdi [opzioni] file.ppd [ ... fileN.ppd ]" + +msgid "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "Uso: ppdmerge [opzioni] file.ppd [ ... fileN.ppd ]" + +msgid "" +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" +msgstr "Uso: ppdpo [opzioni] -o file.po file.drv [ ... fileN.drv ]" + +msgid "Usage: snmp [host-or-ip-address]" +msgstr "Uso: snmp [host-o-indirizzo-ip]" + +#, c-format +msgid "Using spool directory \"%s\"." +msgstr "" + +msgid "Value uses indefinite length" +msgstr "Il valore utilizza una lunghezza indefinita" + +msgid "VarBind uses indefinite length" +msgstr "VarBind utilizza una lunghezza indefinita" + +msgid "Version uses indefinite length" +msgstr "Version utilizza una lunghezza indefinita" + +msgid "Waiting for job to complete." +msgstr "In attesa di lavoro da completare." + +msgid "Waiting for printer to become available." +msgstr "In attesa che la stampante ritorni disponibile." + +msgid "Waiting for printer to finish." +msgstr "In attesa che la stampante finisca." + +msgid "Warning: This program will be removed in a future version of CUPS." +msgstr "" + +msgid "Web Interface is Disabled" +msgstr "L'interfaccia web è stata disabilitata" + +msgid "Yes" +msgstr "Sì" + +msgid "You cannot access this page." +msgstr "" + +#, c-format +msgid "You must access this page using the URL https://%s:%d%s." +msgstr "Bisogna accedere a questa pagina, usando l'URL https://%s:%d%s." + +msgid "Your account does not have the necessary privileges." +msgstr "" + +msgid "ZPL Label Printer" +msgstr "ZPL Label Printer" + +msgid "Zebra" +msgstr "Zebra" + +msgid "aborted" +msgstr "interrotto" + +#. TRANSLATORS: Accuracy Units +msgid "accuracy-units" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "accuracy-units.mm" +msgstr "" + +#. TRANSLATORS: Nanometers +msgid "accuracy-units.nm" +msgstr "" + +#. TRANSLATORS: Micrometers +msgid "accuracy-units.um" +msgstr "" + +#. TRANSLATORS: Bale Output +msgid "baling" +msgstr "" + +#. TRANSLATORS: Bale Using +msgid "baling-type" +msgstr "" + +#. TRANSLATORS: Band +msgid "baling-type.band" +msgstr "" + +#. TRANSLATORS: Shrink Wrap +msgid "baling-type.shrink-wrap" +msgstr "" + +#. TRANSLATORS: Wrap +msgid "baling-type.wrap" +msgstr "" + +#. TRANSLATORS: Bale After +msgid "baling-when" +msgstr "" + +#. TRANSLATORS: Job +msgid "baling-when.after-job" +msgstr "" + +#. TRANSLATORS: Sets +msgid "baling-when.after-sets" +msgstr "" + +#. TRANSLATORS: Bind Output +msgid "binding" +msgstr "" + +#. TRANSLATORS: Bind Edge +msgid "binding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "binding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "binding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "binding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "binding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Binder Type +msgid "binding-type" +msgstr "" + +#. TRANSLATORS: Adhesive +msgid "binding-type.adhesive" +msgstr "" + +#. TRANSLATORS: Comb +msgid "binding-type.comb" +msgstr "" + +#. TRANSLATORS: Flat +msgid "binding-type.flat" +msgstr "" + +#. TRANSLATORS: Padding +msgid "binding-type.padding" +msgstr "" + +#. TRANSLATORS: Perfect +msgid "binding-type.perfect" +msgstr "" + +#. TRANSLATORS: Spiral +msgid "binding-type.spiral" +msgstr "" + +#. TRANSLATORS: Tape +msgid "binding-type.tape" +msgstr "" + +#. TRANSLATORS: Velo +msgid "binding-type.velo" +msgstr "" + +msgid "canceled" +msgstr "eliminato" + +#. TRANSLATORS: Chamber Humidity +msgid "chamber-humidity" +msgstr "" + +#. TRANSLATORS: Chamber Temperature +msgid "chamber-temperature" +msgstr "" + +#. TRANSLATORS: Print Job Cost +msgid "charge-info-message" +msgstr "" + +#. TRANSLATORS: Coat Sheets +msgid "coating" +msgstr "" + +#. TRANSLATORS: Add Coating To +msgid "coating-sides" +msgstr "" + +#. TRANSLATORS: Back +msgid "coating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "coating-sides.both" +msgstr "" + +#. TRANSLATORS: Front +msgid "coating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Coating +msgid "coating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "coating-type.archival" +msgstr "" + +#. TRANSLATORS: Archival Glossy +msgid "coating-type.archival-glossy" +msgstr "" + +#. TRANSLATORS: Archival Matte +msgid "coating-type.archival-matte" +msgstr "" + +#. TRANSLATORS: Archival Semi Gloss +msgid "coating-type.archival-semi-gloss" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "coating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "coating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "coating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "coating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Silicone +msgid "coating-type.silicone" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "coating-type.translucent" +msgstr "" + +msgid "completed" +msgstr "completato" + +#. TRANSLATORS: Print Confirmation Sheet +msgid "confirmation-sheet-print" +msgstr "" + +#. TRANSLATORS: Copies +msgid "copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "cover-front" +msgstr "" + +#. TRANSLATORS: Cover Sheet Info +msgid "cover-sheet-info" +msgstr "" + +#. TRANSLATORS: Date Time +msgid "cover-sheet-info-supported.date-time" +msgstr "" + +#. TRANSLATORS: From Name +msgid "cover-sheet-info-supported.from-name" +msgstr "" + +#. TRANSLATORS: Logo +msgid "cover-sheet-info-supported.logo" +msgstr "" + +#. TRANSLATORS: Message +msgid "cover-sheet-info-supported.message" +msgstr "" + +#. TRANSLATORS: Organization +msgid "cover-sheet-info-supported.organization" +msgstr "" + +#. TRANSLATORS: Subject +msgid "cover-sheet-info-supported.subject" +msgstr "" + +#. TRANSLATORS: To Name +msgid "cover-sheet-info-supported.to-name" +msgstr "" + +#. TRANSLATORS: Printed Cover +msgid "cover-type" +msgstr "" + +#. TRANSLATORS: No Cover +msgid "cover-type.no-cover" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "cover-type.print-back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "cover-type.print-both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "cover-type.print-front" +msgstr "" + +#. TRANSLATORS: None +msgid "cover-type.print-none" +msgstr "" + +#. TRANSLATORS: Cover Output +msgid "covering" +msgstr "" + +#. TRANSLATORS: Add Cover +msgid "covering-name" +msgstr "" + +#. TRANSLATORS: Plain +msgid "covering-name.plain" +msgstr "" + +#. TRANSLATORS: Pre-cut +msgid "covering-name.pre-cut" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "covering-name.pre-printed" +msgstr "" + +msgid "cups-deviced failed to execute." +msgstr "cups-deviced ha smesso di funzionare." + +msgid "cups-driverd failed to execute." +msgstr "cups-driverd ha smesso di funzionare." + +#, c-format +msgid "cupsctl: Cannot set %s directly." +msgstr "" + +#, c-format +msgid "cupsctl: Unable to connect to server: %s" +msgstr "cupsctl: non è possibile connettersi al server: %s" + +#, c-format +msgid "cupsctl: Unknown option \"%s\"" +msgstr "cupsctl: opzione sconosciuta \"%s\"" + +#, c-format +msgid "cupsctl: Unknown option \"-%c\"" +msgstr "cupsctl: opzione sconosciuta \"-%c\"" + +msgid "cupsd: Expected config filename after \"-c\" option." +msgstr "cupsd: dopo l'opzione \"-c\" è previsto il file di configurazione." + +msgid "cupsd: Expected cups-files.conf filename after \"-s\" option." +msgstr "cupsd: dopo l'opzione \"-s\" è previsto il file cups-files.conf." + +msgid "cupsd: On-demand support not compiled in, running in normal mode." +msgstr "" + +msgid "cupsd: Relative cups-files.conf filename not allowed." +msgstr "cupsd: non è consentito il file relativo cups-files.conf." + +msgid "cupsd: Unable to get current directory." +msgstr "cupsd: non è possibile ottenere la directory corrente." + +msgid "cupsd: Unable to get path to cups-files.conf file." +msgstr "cupsd: non è possibile ottenere il path del file cups-files.conf." + +#, c-format +msgid "cupsd: Unknown argument \"%s\" - aborting." +msgstr "cupsd: argomento sconosciuto \"%s\" - operazione interrotta." + +#, c-format +msgid "cupsd: Unknown option \"%c\" - aborting." +msgstr "cupsd: opzione sconosciuta \"%c\" - operazione interrotta." + +#, c-format +msgid "cupsfilter: Invalid document number %d." +msgstr "cupsfilter: il numero del documento non è valido %d." + +#, c-format +msgid "cupsfilter: Invalid job ID %d." +msgstr "cupsfilter: l'ID del processo non è valido %d." + +msgid "cupsfilter: Only one filename can be specified." +msgstr "cupsfilter: può essere specificato solo un nome del file." + +#, c-format +msgid "cupsfilter: Unable to get job file - %s" +msgstr "cupsfilter: non è possibile ottenere il file del processo - %s" + +msgid "cupstestppd: The -q option is incompatible with the -v option." +msgstr "cupstestppd: l'opzione -q non è compatibile con l'opzione -v." + +msgid "cupstestppd: The -v option is incompatible with the -q option." +msgstr "cupstestppd: l'opzione -v è incompatibile con l'opzione -q." + +#. TRANSLATORS: Detailed Status Message +msgid "detailed-status-message" +msgstr "" + +#, c-format +msgid "device for %s/%s: %s" +msgstr "dispositivo per %s/%s: %s" + +#, c-format +msgid "device for %s: %s" +msgstr "dispositivo per %s: %s" + +#. TRANSLATORS: Copies +msgid "document-copies" +msgstr "" + +#. TRANSLATORS: Document Privacy Attributes +msgid "document-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Document Description +msgid "document-privacy-attributes.document-description" +msgstr "" + +#. TRANSLATORS: Document Template +msgid "document-privacy-attributes.document-template" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Document Privacy Scope +msgid "document-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "document-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Document State +msgid "document-state" +msgstr "" + +#. TRANSLATORS: Detailed Document State +msgid "document-state-reasons" +msgstr "" + +#. TRANSLATORS: Aborted By System +msgid "document-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Canceled At Device +msgid "document-state-reasons.canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled By Operator +msgid "document-state-reasons.canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled By User +msgid "document-state-reasons.canceled-by-user" +msgstr "" + +#. TRANSLATORS: Completed Successfully +msgid "document-state-reasons.completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed With Errors +msgid "document-state-reasons.completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed With Warnings +msgid "document-state-reasons.completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Compression Error +msgid "document-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Data Insufficient +msgid "document-state-reasons.data-insufficient" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "document-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "document-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Digital Signature Wait +msgid "document-state-reasons.digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "document-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "document-state-reasons.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "document-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "document-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "document-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "document-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "document-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "document-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "document-state-reasons.incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "document-state-reasons.interpreting" +msgstr "" + +#. TRANSLATORS: None +msgid "document-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "document-state-reasons.outgoing" +msgstr "" + +#. TRANSLATORS: Printing +msgid "document-state-reasons.printing" +msgstr "" + +#. TRANSLATORS: Processing To Stop Point +msgid "document-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Queued +msgid "document-state-reasons.queued" +msgstr "" + +#. TRANSLATORS: Queued For Marker +msgid "document-state-reasons.queued-for-marker" +msgstr "" + +#. TRANSLATORS: Queued In Device +msgid "document-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "document-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "document-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "document-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "document-state-reasons.transforming" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "document-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "document-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "document-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "document-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "document-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "document-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "document-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "document-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "document-state.9" +msgstr "" + +msgid "error-index uses indefinite length" +msgstr "error-index utilizza una lunghezza indefinita" + +msgid "error-status uses indefinite length" +msgstr "error-status utilizza una lunghezza indefinita" + +msgid "" +"expression --and expression\n" +" Logical AND" +msgstr "" + +msgid "" +"expression --or expression\n" +" Logical OR" +msgstr "" + +msgid "expression expression Logical AND" +msgstr "" + +#. TRANSLATORS: Feed Orientation +msgid "feed-orientation" +msgstr "" + +#. TRANSLATORS: Long Edge First +msgid "feed-orientation.long-edge-first" +msgstr "" + +#. TRANSLATORS: Short Edge First +msgid "feed-orientation.short-edge-first" +msgstr "" + +#. TRANSLATORS: Fetch Status Code +msgid "fetch-status-code" +msgstr "" + +#. TRANSLATORS: Finishing Template +msgid "finishing-template" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishing-template.bale" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishing-template.bind" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishing-template.bind-bottom" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishing-template.bind-left" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishing-template.bind-right" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishing-template.bind-top" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishing-template.booklet-maker" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishing-template.coat" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishing-template.cover" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishing-template.edge-stitch" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishing-template.edge-stitch-bottom" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishing-template.edge-stitch-left" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishing-template.edge-stitch-right" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishing-template.edge-stitch-top" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishing-template.fold" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishing-template.fold-accordion" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishing-template.fold-double-gate" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishing-template.fold-engineering-z" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishing-template.fold-gate" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishing-template.fold-half" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishing-template.fold-half-z" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishing-template.fold-left-gate" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishing-template.fold-letter" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishing-template.fold-parallel" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishing-template.fold-poster" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishing-template.fold-right-gate" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishing-template.fold-z" +msgstr "" + +#. TRANSLATORS: JDF F10-1 +msgid "finishing-template.jdf-f10-1" +msgstr "" + +#. TRANSLATORS: JDF F10-2 +msgid "finishing-template.jdf-f10-2" +msgstr "" + +#. TRANSLATORS: JDF F10-3 +msgid "finishing-template.jdf-f10-3" +msgstr "" + +#. TRANSLATORS: JDF F12-1 +msgid "finishing-template.jdf-f12-1" +msgstr "" + +#. TRANSLATORS: JDF F12-10 +msgid "finishing-template.jdf-f12-10" +msgstr "" + +#. TRANSLATORS: JDF F12-11 +msgid "finishing-template.jdf-f12-11" +msgstr "" + +#. TRANSLATORS: JDF F12-12 +msgid "finishing-template.jdf-f12-12" +msgstr "" + +#. TRANSLATORS: JDF F12-13 +msgid "finishing-template.jdf-f12-13" +msgstr "" + +#. TRANSLATORS: JDF F12-14 +msgid "finishing-template.jdf-f12-14" +msgstr "" + +#. TRANSLATORS: JDF F12-2 +msgid "finishing-template.jdf-f12-2" +msgstr "" + +#. TRANSLATORS: JDF F12-3 +msgid "finishing-template.jdf-f12-3" +msgstr "" + +#. TRANSLATORS: JDF F12-4 +msgid "finishing-template.jdf-f12-4" +msgstr "" + +#. TRANSLATORS: JDF F12-5 +msgid "finishing-template.jdf-f12-5" +msgstr "" + +#. TRANSLATORS: JDF F12-6 +msgid "finishing-template.jdf-f12-6" +msgstr "" + +#. TRANSLATORS: JDF F12-7 +msgid "finishing-template.jdf-f12-7" +msgstr "" + +#. TRANSLATORS: JDF F12-8 +msgid "finishing-template.jdf-f12-8" +msgstr "" + +#. TRANSLATORS: JDF F12-9 +msgid "finishing-template.jdf-f12-9" +msgstr "" + +#. TRANSLATORS: JDF F14-1 +msgid "finishing-template.jdf-f14-1" +msgstr "" + +#. TRANSLATORS: JDF F16-1 +msgid "finishing-template.jdf-f16-1" +msgstr "" + +#. TRANSLATORS: JDF F16-10 +msgid "finishing-template.jdf-f16-10" +msgstr "" + +#. TRANSLATORS: JDF F16-11 +msgid "finishing-template.jdf-f16-11" +msgstr "" + +#. TRANSLATORS: JDF F16-12 +msgid "finishing-template.jdf-f16-12" +msgstr "" + +#. TRANSLATORS: JDF F16-13 +msgid "finishing-template.jdf-f16-13" +msgstr "" + +#. TRANSLATORS: JDF F16-14 +msgid "finishing-template.jdf-f16-14" +msgstr "" + +#. TRANSLATORS: JDF F16-2 +msgid "finishing-template.jdf-f16-2" +msgstr "" + +#. TRANSLATORS: JDF F16-3 +msgid "finishing-template.jdf-f16-3" +msgstr "" + +#. TRANSLATORS: JDF F16-4 +msgid "finishing-template.jdf-f16-4" +msgstr "" + +#. TRANSLATORS: JDF F16-5 +msgid "finishing-template.jdf-f16-5" +msgstr "" + +#. TRANSLATORS: JDF F16-6 +msgid "finishing-template.jdf-f16-6" +msgstr "" + +#. TRANSLATORS: JDF F16-7 +msgid "finishing-template.jdf-f16-7" +msgstr "" + +#. TRANSLATORS: JDF F16-8 +msgid "finishing-template.jdf-f16-8" +msgstr "" + +#. TRANSLATORS: JDF F16-9 +msgid "finishing-template.jdf-f16-9" +msgstr "" + +#. TRANSLATORS: JDF F18-1 +msgid "finishing-template.jdf-f18-1" +msgstr "" + +#. TRANSLATORS: JDF F18-2 +msgid "finishing-template.jdf-f18-2" +msgstr "" + +#. TRANSLATORS: JDF F18-3 +msgid "finishing-template.jdf-f18-3" +msgstr "" + +#. TRANSLATORS: JDF F18-4 +msgid "finishing-template.jdf-f18-4" +msgstr "" + +#. TRANSLATORS: JDF F18-5 +msgid "finishing-template.jdf-f18-5" +msgstr "" + +#. TRANSLATORS: JDF F18-6 +msgid "finishing-template.jdf-f18-6" +msgstr "" + +#. TRANSLATORS: JDF F18-7 +msgid "finishing-template.jdf-f18-7" +msgstr "" + +#. TRANSLATORS: JDF F18-8 +msgid "finishing-template.jdf-f18-8" +msgstr "" + +#. TRANSLATORS: JDF F18-9 +msgid "finishing-template.jdf-f18-9" +msgstr "" + +#. TRANSLATORS: JDF F2-1 +msgid "finishing-template.jdf-f2-1" +msgstr "" + +#. TRANSLATORS: JDF F20-1 +msgid "finishing-template.jdf-f20-1" +msgstr "" + +#. TRANSLATORS: JDF F20-2 +msgid "finishing-template.jdf-f20-2" +msgstr "" + +#. TRANSLATORS: JDF F24-1 +msgid "finishing-template.jdf-f24-1" +msgstr "" + +#. TRANSLATORS: JDF F24-10 +msgid "finishing-template.jdf-f24-10" +msgstr "" + +#. TRANSLATORS: JDF F24-11 +msgid "finishing-template.jdf-f24-11" +msgstr "" + +#. TRANSLATORS: JDF F24-2 +msgid "finishing-template.jdf-f24-2" +msgstr "" + +#. TRANSLATORS: JDF F24-3 +msgid "finishing-template.jdf-f24-3" +msgstr "" + +#. TRANSLATORS: JDF F24-4 +msgid "finishing-template.jdf-f24-4" +msgstr "" + +#. TRANSLATORS: JDF F24-5 +msgid "finishing-template.jdf-f24-5" +msgstr "" + +#. TRANSLATORS: JDF F24-6 +msgid "finishing-template.jdf-f24-6" +msgstr "" + +#. TRANSLATORS: JDF F24-7 +msgid "finishing-template.jdf-f24-7" +msgstr "" + +#. TRANSLATORS: JDF F24-8 +msgid "finishing-template.jdf-f24-8" +msgstr "" + +#. TRANSLATORS: JDF F24-9 +msgid "finishing-template.jdf-f24-9" +msgstr "" + +#. TRANSLATORS: JDF F28-1 +msgid "finishing-template.jdf-f28-1" +msgstr "" + +#. TRANSLATORS: JDF F32-1 +msgid "finishing-template.jdf-f32-1" +msgstr "" + +#. TRANSLATORS: JDF F32-2 +msgid "finishing-template.jdf-f32-2" +msgstr "" + +#. TRANSLATORS: JDF F32-3 +msgid "finishing-template.jdf-f32-3" +msgstr "" + +#. TRANSLATORS: JDF F32-4 +msgid "finishing-template.jdf-f32-4" +msgstr "" + +#. TRANSLATORS: JDF F32-5 +msgid "finishing-template.jdf-f32-5" +msgstr "" + +#. TRANSLATORS: JDF F32-6 +msgid "finishing-template.jdf-f32-6" +msgstr "" + +#. TRANSLATORS: JDF F32-7 +msgid "finishing-template.jdf-f32-7" +msgstr "" + +#. TRANSLATORS: JDF F32-8 +msgid "finishing-template.jdf-f32-8" +msgstr "" + +#. TRANSLATORS: JDF F32-9 +msgid "finishing-template.jdf-f32-9" +msgstr "" + +#. TRANSLATORS: JDF F36-1 +msgid "finishing-template.jdf-f36-1" +msgstr "" + +#. TRANSLATORS: JDF F36-2 +msgid "finishing-template.jdf-f36-2" +msgstr "" + +#. TRANSLATORS: JDF F4-1 +msgid "finishing-template.jdf-f4-1" +msgstr "" + +#. TRANSLATORS: JDF F4-2 +msgid "finishing-template.jdf-f4-2" +msgstr "" + +#. TRANSLATORS: JDF F40-1 +msgid "finishing-template.jdf-f40-1" +msgstr "" + +#. TRANSLATORS: JDF F48-1 +msgid "finishing-template.jdf-f48-1" +msgstr "" + +#. TRANSLATORS: JDF F48-2 +msgid "finishing-template.jdf-f48-2" +msgstr "" + +#. TRANSLATORS: JDF F6-1 +msgid "finishing-template.jdf-f6-1" +msgstr "" + +#. TRANSLATORS: JDF F6-2 +msgid "finishing-template.jdf-f6-2" +msgstr "" + +#. TRANSLATORS: JDF F6-3 +msgid "finishing-template.jdf-f6-3" +msgstr "" + +#. TRANSLATORS: JDF F6-4 +msgid "finishing-template.jdf-f6-4" +msgstr "" + +#. TRANSLATORS: JDF F6-5 +msgid "finishing-template.jdf-f6-5" +msgstr "" + +#. TRANSLATORS: JDF F6-6 +msgid "finishing-template.jdf-f6-6" +msgstr "" + +#. TRANSLATORS: JDF F6-7 +msgid "finishing-template.jdf-f6-7" +msgstr "" + +#. TRANSLATORS: JDF F6-8 +msgid "finishing-template.jdf-f6-8" +msgstr "" + +#. TRANSLATORS: JDF F64-1 +msgid "finishing-template.jdf-f64-1" +msgstr "" + +#. TRANSLATORS: JDF F64-2 +msgid "finishing-template.jdf-f64-2" +msgstr "" + +#. TRANSLATORS: JDF F8-1 +msgid "finishing-template.jdf-f8-1" +msgstr "" + +#. TRANSLATORS: JDF F8-2 +msgid "finishing-template.jdf-f8-2" +msgstr "" + +#. TRANSLATORS: JDF F8-3 +msgid "finishing-template.jdf-f8-3" +msgstr "" + +#. TRANSLATORS: JDF F8-4 +msgid "finishing-template.jdf-f8-4" +msgstr "" + +#. TRANSLATORS: JDF F8-5 +msgid "finishing-template.jdf-f8-5" +msgstr "" + +#. TRANSLATORS: JDF F8-6 +msgid "finishing-template.jdf-f8-6" +msgstr "" + +#. TRANSLATORS: JDF F8-7 +msgid "finishing-template.jdf-f8-7" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishing-template.jog-offset" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishing-template.laminate" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishing-template.punch" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishing-template.punch-bottom-left" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishing-template.punch-bottom-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishing-template.punch-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishing-template.punch-dual-left" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishing-template.punch-dual-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishing-template.punch-dual-top" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishing-template.punch-multiple-bottom" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishing-template.punch-multiple-left" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishing-template.punch-multiple-right" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishing-template.punch-multiple-top" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishing-template.punch-quad-bottom" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishing-template.punch-quad-left" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishing-template.punch-quad-right" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishing-template.punch-quad-top" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishing-template.punch-top-left" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishing-template.punch-top-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishing-template.punch-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishing-template.punch-triple-left" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishing-template.punch-triple-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishing-template.punch-triple-top" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishing-template.saddle-stitch" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishing-template.staple" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishing-template.staple-bottom-left" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishing-template.staple-bottom-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishing-template.staple-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishing-template.staple-dual-left" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishing-template.staple-dual-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishing-template.staple-dual-top" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishing-template.staple-top-left" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishing-template.staple-top-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishing-template.staple-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishing-template.staple-triple-left" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishing-template.staple-triple-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishing-template.staple-triple-top" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishing-template.trim" +msgstr "" + +#. TRANSLATORS: Trim After Every Set +msgid "finishing-template.trim-after-copies" +msgstr "" + +#. TRANSLATORS: Trim After Every Document +msgid "finishing-template.trim-after-documents" +msgstr "" + +#. TRANSLATORS: Trim After Job +msgid "finishing-template.trim-after-job" +msgstr "" + +#. TRANSLATORS: Trim After Every Page +msgid "finishing-template.trim-after-pages" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings-col" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishings.10" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishings.100" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishings.101" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishings.11" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishings.12" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishings.13" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishings.14" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishings.15" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishings.16" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishings.20" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishings.21" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishings.22" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishings.23" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishings.24" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishings.25" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishings.26" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishings.27" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishings.28" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishings.29" +msgstr "" + +#. TRANSLATORS: None +msgid "finishings.3" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishings.30" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishings.31" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishings.32" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishings.33" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishings.34" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishings.35" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishings.4" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishings.5" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishings.50" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishings.51" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishings.52" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishings.53" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishings.6" +msgstr "" + +#. TRANSLATORS: Trim Pages +msgid "finishings.60" +msgstr "" + +#. TRANSLATORS: Trim Documents +msgid "finishings.61" +msgstr "" + +#. TRANSLATORS: Trim Copies +msgid "finishings.62" +msgstr "" + +#. TRANSLATORS: Trim Job +msgid "finishings.63" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishings.7" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishings.70" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishings.71" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishings.72" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishings.73" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishings.74" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishings.75" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishings.76" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishings.77" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishings.78" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishings.79" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishings.8" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishings.80" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishings.81" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishings.82" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishings.83" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishings.84" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishings.85" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishings.86" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishings.87" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishings.88" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishings.89" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishings.9" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishings.90" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishings.91" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishings.92" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishings.93" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishings.94" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishings.95" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishings.96" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishings.97" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishings.98" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishings.99" +msgstr "" + +#. TRANSLATORS: Fold +msgid "folding" +msgstr "" + +#. TRANSLATORS: Fold Direction +msgid "folding-direction" +msgstr "" + +#. TRANSLATORS: Inward +msgid "folding-direction.inward" +msgstr "" + +#. TRANSLATORS: Outward +msgid "folding-direction.outward" +msgstr "" + +#. TRANSLATORS: Fold Position +msgid "folding-offset" +msgstr "" + +#. TRANSLATORS: Fold Edge +msgid "folding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "folding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "folding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "folding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "folding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Font Name +msgid "font-name-requested" +msgstr "" + +#. TRANSLATORS: Font Size +msgid "font-size-requested" +msgstr "" + +#. TRANSLATORS: Force Front Side +msgid "force-front-side" +msgstr "" + +#. TRANSLATORS: From Name +msgid "from-name" +msgstr "" + +msgid "held" +msgstr "svolto" + +msgid "help\t\tGet help on commands." +msgstr "help\t\tOttenere un aiuto per i comandi." + +msgid "idle" +msgstr "inattiva" + +#. TRANSLATORS: Imposition Template +msgid "imposition-template" +msgstr "" + +#. TRANSLATORS: None +msgid "imposition-template.none" +msgstr "" + +#. TRANSLATORS: Signature +msgid "imposition-template.signature" +msgstr "" + +#. TRANSLATORS: Insert Page Number +msgid "insert-after-page-number" +msgstr "" + +#. TRANSLATORS: Insert Count +msgid "insert-count" +msgstr "" + +#. TRANSLATORS: Insert Sheet +msgid "insert-sheet" +msgstr "" + +#, c-format +msgid "ippeveprinter: Unable to open \"%s\": %s on line %d." +msgstr "" + +#, c-format +msgid "ippfind: Bad regular expression: %s" +msgstr "ippfind: l'espressione regolare non è valida: %s" + +msgid "ippfind: Cannot use --and after --or." +msgstr "ippfind: non è possibile usare --and dopo --or." + +#, c-format +msgid "ippfind: Expected key name after %s." +msgstr "ippfind: è previsto il nome della chiave dopo %s." + +#, c-format +msgid "ippfind: Expected port range after %s." +msgstr "ippfind: è previsto un intervallo di porte dopo %s." + +#, c-format +msgid "ippfind: Expected program after %s." +msgstr "ippfind: è previsto un programma dopo %s." + +#, c-format +msgid "ippfind: Expected semi-colon after %s." +msgstr "ippfind: è previsto un punto e virgola dopo %s. " + +msgid "ippfind: Missing close brace in substitution." +msgstr "ippfind: manca parentesi graffa di chiusura in sostituzione." + +msgid "ippfind: Missing close parenthesis." +msgstr "ippfind: mancano le parentesi chiuse." + +msgid "ippfind: Missing expression before \"--and\"." +msgstr "ippfind: manca l'espressione prima di \"--and\"." + +msgid "ippfind: Missing expression before \"--or\"." +msgstr "ippfind: manca l'espressione prima di \"--or\"." + +#, c-format +msgid "ippfind: Missing key name after %s." +msgstr "ippfind: manca il nome della chiave dopo %s." + +#, c-format +msgid "ippfind: Missing name after %s." +msgstr "" + +msgid "ippfind: Missing open parenthesis." +msgstr "ippfind: mancano le parentesi aperte." + +#, c-format +msgid "ippfind: Missing program after %s." +msgstr "ippfind: manca il programma dopo %s." + +#, c-format +msgid "ippfind: Missing regular expression after %s." +msgstr "ippfind: manca l'espressione regolare dopo %s." + +#, c-format +msgid "ippfind: Missing semi-colon after %s." +msgstr "ippfind: manca il punto e virgola dopo %s." + +msgid "ippfind: Out of memory." +msgstr "ippfind: memoria insufficiente." + +msgid "ippfind: Too many parenthesis." +msgstr "ippfind: troppe parentesi." + +#, c-format +msgid "ippfind: Unable to browse or resolve: %s" +msgstr "ippfind: non è possibile visualizzare oppure risolvere: %s" + +#, c-format +msgid "ippfind: Unable to execute \"%s\": %s" +msgstr "ippfind: non è possibile eseguire \"%s\": %s" + +#, c-format +msgid "ippfind: Unable to use Bonjour: %s" +msgstr "ippfind: non è possibile utilizzare Bonjour: %s" + +#, c-format +msgid "ippfind: Unknown variable \"{%s}\"." +msgstr "ippfind: variabile sconosciuta \"{%s}\"." + +msgid "" +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", " +"and \"-X\"." +msgstr "" + +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." +msgstr "" + +#, c-format +msgid "ipptool: Bad URI \"%s\"." +msgstr "" + +msgid "ipptool: Invalid seconds for \"-i\"." +msgstr "ipptool: secondi non validi per \"-i\"." + +msgid "ipptool: May only specify a single URI." +msgstr "ipptool: può specificare solo un singolo URI." + +msgid "ipptool: Missing count for \"-n\"." +msgstr "ipptool: conteggio mancante per \"-n\"." + +msgid "ipptool: Missing filename for \"--ippserver\"." +msgstr "" + +msgid "ipptool: Missing filename for \"-f\"." +msgstr "ipptool: manca il file per \"-f\"." + +msgid "ipptool: Missing name=value for \"-d\"." +msgstr "ipptool: manca nome=valore per \"-d\"." + +msgid "ipptool: Missing seconds for \"-i\"." +msgstr "ipptool: mancano i secondi per \"-i\"." + +msgid "ipptool: URI required before test file." +msgstr "ipptool: l'URI è richiesto prima del file di testo." + +#. TRANSLATORS: Job Account ID +msgid "job-account-id" +msgstr "" + +#. TRANSLATORS: Job Account Type +msgid "job-account-type" +msgstr "" + +#. TRANSLATORS: General +msgid "job-account-type.general" +msgstr "" + +#. TRANSLATORS: Group +msgid "job-account-type.group" +msgstr "" + +#. TRANSLATORS: None +msgid "job-account-type.none" +msgstr "" + +#. TRANSLATORS: Job Accounting Output Bin +msgid "job-accounting-output-bin" +msgstr "" + +#. TRANSLATORS: Job Accounting Sheets +msgid "job-accounting-sheets" +msgstr "" + +#. TRANSLATORS: Type of Job Accounting Sheets +msgid "job-accounting-sheets-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-accounting-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-accounting-sheets-type.standard" +msgstr "" + +#. TRANSLATORS: Job Accounting User ID +msgid "job-accounting-user-id" +msgstr "" + +#. TRANSLATORS: Job Cancel After +msgid "job-cancel-after" +msgstr "" + +#. TRANSLATORS: Copies +msgid "job-copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "job-cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "job-cover-front" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-delay-output-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-delay-output-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-delay-output-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-delay-output-until.night" +msgstr "" + +#. TRANSLATORS: No Delay +msgid "job-delay-output-until.no-delay-output" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-delay-output-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-delay-output-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-delay-output-until.weekend" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "job-error-action.abort-job" +msgstr "" + +#. TRANSLATORS: Cancel Job +msgid "job-error-action.cancel-job" +msgstr "" + +#. TRANSLATORS: Continue Job +msgid "job-error-action.continue-job" +msgstr "" + +#. TRANSLATORS: Suspend Job +msgid "job-error-action.suspend-job" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet" +msgstr "" + +#. TRANSLATORS: Type of Error Sheet +msgid "job-error-sheet-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-error-sheet-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-error-sheet-type.standard" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet-when" +msgstr "" + +#. TRANSLATORS: Always +msgid "job-error-sheet-when.always" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-sheet-when.on-error" +msgstr "" + +#. TRANSLATORS: Job Finishings +msgid "job-finishings" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-hold-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-hold-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-hold-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-hold-until.night" +msgstr "" + +#. TRANSLATORS: No Hold +msgid "job-hold-until.no-hold" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-hold-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-hold-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-hold-until.weekend" +msgstr "" + +#. TRANSLATORS: Job Mandatory Attributes +msgid "job-mandatory-attributes" +msgstr "" + +#. TRANSLATORS: Title +msgid "job-name" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages-col" +msgstr "" + +#. TRANSLATORS: Job Phone Number +msgid "job-phone-number" +msgstr "" + +msgid "job-printer-uri attribute missing." +msgstr "manca l'attributo di job-printer-uri." + +#. TRANSLATORS: Job Priority +msgid "job-priority" +msgstr "" + +#. TRANSLATORS: Job Privacy Attributes +msgid "job-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Job Description +msgid "job-privacy-attributes.job-description" +msgstr "" + +#. TRANSLATORS: Job Template +msgid "job-privacy-attributes.job-template" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Job Privacy Scope +msgid "job-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "job-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Job Recipient Name +msgid "job-recipient-name" +msgstr "" + +#. TRANSLATORS: Job Retain Until +msgid "job-retain-until" +msgstr "" + +#. TRANSLATORS: Job Retain Until Interval +msgid "job-retain-until-interval" +msgstr "" + +#. TRANSLATORS: Job Retain Until Time +msgid "job-retain-until-time" +msgstr "" + +#. TRANSLATORS: End Of Day +msgid "job-retain-until.end-of-day" +msgstr "" + +#. TRANSLATORS: End Of Month +msgid "job-retain-until.end-of-month" +msgstr "" + +#. TRANSLATORS: End Of Week +msgid "job-retain-until.end-of-week" +msgstr "" + +#. TRANSLATORS: Indefinite +msgid "job-retain-until.indefinite" +msgstr "" + +#. TRANSLATORS: None +msgid "job-retain-until.none" +msgstr "" + +#. TRANSLATORS: Job Save Disposition +msgid "job-save-disposition" +msgstr "" + +#. TRANSLATORS: Job Sheet Message +msgid "job-sheet-message" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets-col" +msgstr "" + +#. TRANSLATORS: First Page in Document +msgid "job-sheets.first-print-stream-page" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "job-sheets.job-both-sheet" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "job-sheets.job-end-sheet" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "job-sheets.job-start-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "job-sheets.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-sheets.standard" +msgstr "" + +#. TRANSLATORS: Job State +msgid "job-state" +msgstr "" + +#. TRANSLATORS: Job State Message +msgid "job-state-message" +msgstr "" + +#. TRANSLATORS: Detailed Job State +msgid "job-state-reasons" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Account Authorization Failed +msgid "job-state-reasons.account-authorization-failed" +msgstr "" + +#. TRANSLATORS: Account Closed +msgid "job-state-reasons.account-closed" +msgstr "" + +#. TRANSLATORS: Account Info Needed +msgid "job-state-reasons.account-info-needed" +msgstr "" + +#. TRANSLATORS: Account Limit Reached +msgid "job-state-reasons.account-limit-reached" +msgstr "" + +#. TRANSLATORS: Decompression error +msgid "job-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Conflicting Attributes +msgid "job-state-reasons.conflicting-attributes" +msgstr "" + +#. TRANSLATORS: Connected To Destination +msgid "job-state-reasons.connected-to-destination" +msgstr "" + +#. TRANSLATORS: Connecting To Destination +msgid "job-state-reasons.connecting-to-destination" +msgstr "" + +#. TRANSLATORS: Destination Uri Failed +msgid "job-state-reasons.destination-uri-failed" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "job-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "job-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "job-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "job-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "job-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "job-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "job-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "job-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "job-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Canceled at printer +msgid "job-state-reasons.job-canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled by operator +msgid "job-state-reasons.job-canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled by user +msgid "job-state-reasons.job-canceled-by-user" +msgstr "" + +#. TRANSLATORS: +msgid "job-state-reasons.job-completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed with errors +msgid "job-state-reasons.job-completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed with warnings +msgid "job-state-reasons.job-completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Insufficient data +msgid "job-state-reasons.job-data-insufficient" +msgstr "" + +#. TRANSLATORS: Job Delay Output Until Specified +msgid "job-state-reasons.job-delay-output-until-specified" +msgstr "" + +#. TRANSLATORS: Job Digital Signature Wait +msgid "job-state-reasons.job-digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "job-state-reasons.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Held For Review +msgid "job-state-reasons.job-held-for-review" +msgstr "" + +#. TRANSLATORS: Job held +msgid "job-state-reasons.job-hold-until-specified" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "job-state-reasons.job-incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "job-state-reasons.job-interpreting" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "job-state-reasons.job-outgoing" +msgstr "" + +#. TRANSLATORS: Job Password Wait +msgid "job-state-reasons.job-password-wait" +msgstr "" + +#. TRANSLATORS: Job Printed Successfully +msgid "job-state-reasons.job-printed-successfully" +msgstr "" + +#. TRANSLATORS: Job Printed With Errors +msgid "job-state-reasons.job-printed-with-errors" +msgstr "" + +#. TRANSLATORS: Job Printed With Warnings +msgid "job-state-reasons.job-printed-with-warnings" +msgstr "" + +#. TRANSLATORS: Printing +msgid "job-state-reasons.job-printing" +msgstr "" + +#. TRANSLATORS: Preparing to print +msgid "job-state-reasons.job-queued" +msgstr "" + +#. TRANSLATORS: Processing document +msgid "job-state-reasons.job-queued-for-marker" +msgstr "" + +#. TRANSLATORS: Job Release Wait +msgid "job-state-reasons.job-release-wait" +msgstr "" + +#. TRANSLATORS: Restartable +msgid "job-state-reasons.job-restartable" +msgstr "" + +#. TRANSLATORS: Job Resuming +msgid "job-state-reasons.job-resuming" +msgstr "" + +#. TRANSLATORS: Job Saved Successfully +msgid "job-state-reasons.job-saved-successfully" +msgstr "" + +#. TRANSLATORS: Job Saved With Errors +msgid "job-state-reasons.job-saved-with-errors" +msgstr "" + +#. TRANSLATORS: Job Saved With Warnings +msgid "job-state-reasons.job-saved-with-warnings" +msgstr "" + +#. TRANSLATORS: Job Saving +msgid "job-state-reasons.job-saving" +msgstr "" + +#. TRANSLATORS: Job Spooling +msgid "job-state-reasons.job-spooling" +msgstr "" + +#. TRANSLATORS: Job Streaming +msgid "job-state-reasons.job-streaming" +msgstr "" + +#. TRANSLATORS: Suspended +msgid "job-state-reasons.job-suspended" +msgstr "" + +#. TRANSLATORS: Job Suspended By Operator +msgid "job-state-reasons.job-suspended-by-operator" +msgstr "" + +#. TRANSLATORS: Job Suspended By System +msgid "job-state-reasons.job-suspended-by-system" +msgstr "" + +#. TRANSLATORS: Job Suspended By User +msgid "job-state-reasons.job-suspended-by-user" +msgstr "" + +#. TRANSLATORS: Job Suspending +msgid "job-state-reasons.job-suspending" +msgstr "" + +#. TRANSLATORS: Job Transferring +msgid "job-state-reasons.job-transferring" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "job-state-reasons.job-transforming" +msgstr "" + +#. TRANSLATORS: None +msgid "job-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "job-state-reasons.printer-stopped" +msgstr "" + +#. TRANSLATORS: Printer partially stopped +msgid "job-state-reasons.printer-stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Ready +msgid "job-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "job-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "job-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Service offline +msgid "job-state-reasons.service-off-line" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "job-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Unsupported Attributes Or Values +msgid "job-state-reasons.unsupported-attributes-or-values" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "job-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "job-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Waiting For User Action +msgid "job-state-reasons.waiting-for-user-action" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "job-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "job-state.3" +msgstr "" + +#. TRANSLATORS: Held +msgid "job-state.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "job-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "job-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "job-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "job-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "job-state.9" +msgstr "" + +#. TRANSLATORS: Laminate Pages +msgid "laminating" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "laminating-sides" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "laminating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "laminating-sides.both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "laminating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Lamination +msgid "laminating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "laminating-type.archival" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "laminating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "laminating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "laminating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "laminating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "laminating-type.translucent" +msgstr "" + +#. TRANSLATORS: Logo +msgid "logo" +msgstr "" + +msgid "lpadmin: Class name can only contain printable characters." +msgstr "lpadmin: il nome della classe può contenere solo caratteri stampabili." + +#, c-format +msgid "lpadmin: Expected PPD after \"-%c\" option." +msgstr "" + +msgid "lpadmin: Expected allow/deny:userlist after \"-u\" option." +msgstr "lpadmin: è previsto allow/deny:listautente dopo l'opzione \"-u\"." + +msgid "lpadmin: Expected class after \"-r\" option." +msgstr "lpadmin: è prevista la classe dopo l'opzione \"-r\"." + +msgid "lpadmin: Expected class name after \"-c\" option." +msgstr "lpadmin: è previsto il nome della classe dopo l'opzione \"-c\"." + +msgid "lpadmin: Expected description after \"-D\" option." +msgstr "lpadmin: è prevista la descrizione dopo l'opzione \"-D\"." + +msgid "lpadmin: Expected device URI after \"-v\" option." +msgstr "lpadmin: è previsto l'URI del dispositivo dopo l'opzione \"-v\"." + +msgid "lpadmin: Expected file type(s) after \"-I\" option." +msgstr "lpadmin: è previsto il tipo del(i) file dopo l'opzione \"-I\"." + +msgid "lpadmin: Expected hostname after \"-h\" option." +msgstr "lpadmin: è previsto l'hostname dopo l'opzione \"-h\"." + +msgid "lpadmin: Expected location after \"-L\" option." +msgstr "lpadmin: è prevista la posizione dopo l'opzione \"-L\"." + +msgid "lpadmin: Expected model after \"-m\" option." +msgstr "lpadmin: è previsto il modello dopo l'opzione \"-m\"." + +msgid "lpadmin: Expected name after \"-R\" option." +msgstr "lpadmin: è previsto il nome dopo l'opzione \"-R\"." + +msgid "lpadmin: Expected name=value after \"-o\" option." +msgstr "lpadmin: è previsto nome=valore dopo l'opzione \"-o\"." + +msgid "lpadmin: Expected printer after \"-p\" option." +msgstr "lpadmin: è prevista la stampante dopo l'opzione \"-p\"." + +msgid "lpadmin: Expected printer name after \"-d\" option." +msgstr "lpadmin: è previsto il nome della stampante dopo l'opzione \"-d\"." + +msgid "lpadmin: Expected printer or class after \"-x\" option." +msgstr "lpadmin: è prevista la stampante o la classe dopo l'opzione \"-x\"." + +msgid "lpadmin: No member names were seen." +msgstr "lpadmin: nessun nome dei membri è stato visto." + +#, c-format +msgid "lpadmin: Printer %s is already a member of class %s." +msgstr "lpadmin: la stampante %s è già un membro della classe %s." + +#, c-format +msgid "lpadmin: Printer %s is not a member of class %s." +msgstr "lpadmin: la stampante %s non è un membro della classe %s." + +msgid "" +"lpadmin: Printer drivers are deprecated and will stop working in a future " +"version of CUPS." +msgstr "" + +msgid "lpadmin: Printer name can only contain printable characters." +msgstr "" +"lpadmin: il nome della stampante può contenere solo caratteri stampabili." + +msgid "" +"lpadmin: Raw queues are deprecated and will stop working in a future version " +"of CUPS." +msgstr "" + +msgid "lpadmin: Raw queues are no longer supported on macOS." +msgstr "" + +msgid "" +"lpadmin: System V interface scripts are no longer supported for security " +"reasons." +msgstr "" + +msgid "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: non è possibile aggiungere una stampante alla classe:\n" +" Bisogna specificare prima un nome per la stampante." + +#, c-format +msgid "lpadmin: Unable to connect to server: %s" +msgstr "lpadmin: non è possibile connettersi al server: %s" + +msgid "lpadmin: Unable to create temporary file" +msgstr "lpadmin: non è possibile creare il file temporaneo" + +msgid "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: non è possibile eliminare l'opzione:\n" +" Bisogna specificare prima un nome per la stampante." + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s" +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s on line %d." +msgstr "" + +msgid "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: non è possibile rimuovere una stampante dalla classe:\n" +" Bisogna specificare prima un nome per la stampante." + +msgid "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: non è possibile impostare le opzioni della stampante:\n" +" Bisogna specificare prima un nome per la stampante." + +#, c-format +msgid "lpadmin: Unknown allow/deny option \"%s\"." +msgstr "lpadmin: opzione sconosciuta allow/deny \"%s\"." + +#, c-format +msgid "lpadmin: Unknown argument \"%s\"." +msgstr "lpadmin: argomento sconosciuto \"%s\"." + +#, c-format +msgid "lpadmin: Unknown option \"%c\"." +msgstr "lpadmin: opzione sconosciuta \"%c\"." + +msgid "lpadmin: Use the 'everywhere' model for shared printers." +msgstr "" + +msgid "lpadmin: Warning - content type list ignored." +msgstr "lpadmin: attenzione - contenuto nell'elenco tipo ignorato." + +msgid "lpc> " +msgstr "lpc> " + +msgid "lpinfo: Expected 1284 device ID string after \"--device-id\"." +msgstr "" +"lpinfo: è prevista la stringa ID del dispositivo 1284 dopo \"--device-id\"." + +msgid "lpinfo: Expected language after \"--language\"." +msgstr "lpinfo: è prevista la lingua dopo \"--language\"." + +msgid "lpinfo: Expected make and model after \"--make-and-model\"." +msgstr "lpinfo: è prevista marca e modello dopo \"--make-and-model\"." + +msgid "lpinfo: Expected product string after \"--product\"." +msgstr "lpinfo: è prevista la stringa del prodotto dopo \"--product\"." + +msgid "lpinfo: Expected scheme list after \"--exclude-schemes\"." +msgstr "lpinfo: è prevista la lista dello schema dopo \"--exclude-schemes\"." + +msgid "lpinfo: Expected scheme list after \"--include-schemes\"." +msgstr "lpinfo: è prevista la lista dello schema dopo \"--include-schemes\"." + +msgid "lpinfo: Expected timeout after \"--timeout\"." +msgstr "lpinfo: è previsto un timeout dopo \"--timeout\"." + +#, c-format +msgid "lpmove: Unable to connect to server: %s" +msgstr "lpmove: non è possibile connettersi al server: %s" + +#, c-format +msgid "lpmove: Unknown argument \"%s\"." +msgstr "lpmove: argomento sconosciuto \"%s\"." + +msgid "lpoptions: No printers." +msgstr "lpoptions: nessuna stampante." + +#, c-format +msgid "lpoptions: Unable to add printer or instance: %s" +msgstr "lpoptions: non è possibile aggiungere la stampante o l'istanza: %s" + +#, c-format +msgid "lpoptions: Unable to get PPD file for %s: %s" +msgstr "lpoptions: non è possibile ottenere il file PPD per %s: %s" + +#, c-format +msgid "lpoptions: Unable to open PPD file for %s." +msgstr "lpoptions: non è possibile aprire il file PPD per %s." + +msgid "lpoptions: Unknown printer or class." +msgstr "lpoptions: stampante o classe sconosciuta." + +#, c-format +msgid "" +"lpstat: error - %s environment variable names non-existent destination \"%s" +"\"." +msgstr "" +"lpstat: errore - destinazione inesistente \"%s\" dei nomi delle variabili di " +"ambiente %s." + +#. TRANSLATORS: Amount of Material +msgid "material-amount" +msgstr "" + +#. TRANSLATORS: Amount Units +msgid "material-amount-units" +msgstr "" + +#. TRANSLATORS: Grams +msgid "material-amount-units.g" +msgstr "" + +#. TRANSLATORS: Kilograms +msgid "material-amount-units.kg" +msgstr "" + +#. TRANSLATORS: Liters +msgid "material-amount-units.l" +msgstr "" + +#. TRANSLATORS: Meters +msgid "material-amount-units.m" +msgstr "" + +#. TRANSLATORS: Milliliters +msgid "material-amount-units.ml" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "material-amount-units.mm" +msgstr "" + +#. TRANSLATORS: Material Color +msgid "material-color" +msgstr "" + +#. TRANSLATORS: Material Diameter +msgid "material-diameter" +msgstr "" + +#. TRANSLATORS: Material Diameter Tolerance +msgid "material-diameter-tolerance" +msgstr "" + +#. TRANSLATORS: Material Fill Density +msgid "material-fill-density" +msgstr "" + +#. TRANSLATORS: Material Name +msgid "material-name" +msgstr "" + +#. TRANSLATORS: Material Nozzle Diameter +msgid "material-nozzle-diameter" +msgstr "" + +#. TRANSLATORS: Use Material For +msgid "material-purpose" +msgstr "" + +#. TRANSLATORS: Everything +msgid "material-purpose.all" +msgstr "" + +#. TRANSLATORS: Base +msgid "material-purpose.base" +msgstr "" + +#. TRANSLATORS: In-fill +msgid "material-purpose.in-fill" +msgstr "" + +#. TRANSLATORS: Shell +msgid "material-purpose.shell" +msgstr "" + +#. TRANSLATORS: Supports +msgid "material-purpose.support" +msgstr "" + +#. TRANSLATORS: Feed Rate +msgid "material-rate" +msgstr "" + +#. TRANSLATORS: Feed Rate Units +msgid "material-rate-units" +msgstr "" + +#. TRANSLATORS: Milligrams per second +msgid "material-rate-units.mg_second" +msgstr "" + +#. TRANSLATORS: Milliliters per second +msgid "material-rate-units.ml_second" +msgstr "" + +#. TRANSLATORS: Millimeters per second +msgid "material-rate-units.mm_second" +msgstr "" + +#. TRANSLATORS: Material Retraction +msgid "material-retraction" +msgstr "" + +#. TRANSLATORS: Material Shell Thickness +msgid "material-shell-thickness" +msgstr "" + +#. TRANSLATORS: Material Temperature +msgid "material-temperature" +msgstr "" + +#. TRANSLATORS: Material Type +msgid "material-type" +msgstr "" + +#. TRANSLATORS: ABS +msgid "material-type.abs" +msgstr "" + +#. TRANSLATORS: Carbon Fiber ABS +msgid "material-type.abs-carbon-fiber" +msgstr "" + +#. TRANSLATORS: Carbon Nanotube ABS +msgid "material-type.abs-carbon-nanotube" +msgstr "" + +#. TRANSLATORS: Chocolate +msgid "material-type.chocolate" +msgstr "" + +#. TRANSLATORS: Gold +msgid "material-type.gold" +msgstr "" + +#. TRANSLATORS: Nylon +msgid "material-type.nylon" +msgstr "" + +#. TRANSLATORS: Pet +msgid "material-type.pet" +msgstr "" + +#. TRANSLATORS: Photopolymer +msgid "material-type.photopolymer" +msgstr "" + +#. TRANSLATORS: PLA +msgid "material-type.pla" +msgstr "" + +#. TRANSLATORS: Conductive PLA +msgid "material-type.pla-conductive" +msgstr "" + +#. TRANSLATORS: Pla Dissolvable +msgid "material-type.pla-dissolvable" +msgstr "" + +#. TRANSLATORS: Flexible PLA +msgid "material-type.pla-flexible" +msgstr "" + +#. TRANSLATORS: Magnetic PLA +msgid "material-type.pla-magnetic" +msgstr "" + +#. TRANSLATORS: Steel PLA +msgid "material-type.pla-steel" +msgstr "" + +#. TRANSLATORS: Stone PLA +msgid "material-type.pla-stone" +msgstr "" + +#. TRANSLATORS: Wood PLA +msgid "material-type.pla-wood" +msgstr "" + +#. TRANSLATORS: Polycarbonate +msgid "material-type.polycarbonate" +msgstr "" + +#. TRANSLATORS: Dissolvable PVA +msgid "material-type.pva-dissolvable" +msgstr "" + +#. TRANSLATORS: Silver +msgid "material-type.silver" +msgstr "" + +#. TRANSLATORS: Titanium +msgid "material-type.titanium" +msgstr "" + +#. TRANSLATORS: Wax +msgid "material-type.wax" +msgstr "" + +#. TRANSLATORS: Materials +msgid "materials-col" +msgstr "" + +#. TRANSLATORS: Media +msgid "media" +msgstr "" + +#. TRANSLATORS: Back Coating of Media +msgid "media-back-coating" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "media-back-coating.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "media-back-coating.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "media-back-coating.matte" +msgstr "" + +#. TRANSLATORS: None +msgid "media-back-coating.none" +msgstr "" + +#. TRANSLATORS: Satin +msgid "media-back-coating.satin" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "media-back-coating.semi-gloss" +msgstr "" + +#. TRANSLATORS: Media Bottom Margin +msgid "media-bottom-margin" +msgstr "" + +#. TRANSLATORS: Media +msgid "media-col" +msgstr "" + +#. TRANSLATORS: Media Color +msgid "media-color" +msgstr "" + +#. TRANSLATORS: Black +msgid "media-color.black" +msgstr "" + +#. TRANSLATORS: Blue +msgid "media-color.blue" +msgstr "" + +#. TRANSLATORS: Brown +msgid "media-color.brown" +msgstr "" + +#. TRANSLATORS: Buff +msgid "media-color.buff" +msgstr "" + +#. TRANSLATORS: Clear Black +msgid "media-color.clear-black" +msgstr "" + +#. TRANSLATORS: Clear Blue +msgid "media-color.clear-blue" +msgstr "" + +#. TRANSLATORS: Clear Brown +msgid "media-color.clear-brown" +msgstr "" + +#. TRANSLATORS: Clear Buff +msgid "media-color.clear-buff" +msgstr "" + +#. TRANSLATORS: Clear Cyan +msgid "media-color.clear-cyan" +msgstr "" + +#. TRANSLATORS: Clear Gold +msgid "media-color.clear-gold" +msgstr "" + +#. TRANSLATORS: Clear Goldenrod +msgid "media-color.clear-goldenrod" +msgstr "" + +#. TRANSLATORS: Clear Gray +msgid "media-color.clear-gray" +msgstr "" + +#. TRANSLATORS: Clear Green +msgid "media-color.clear-green" +msgstr "" + +#. TRANSLATORS: Clear Ivory +msgid "media-color.clear-ivory" +msgstr "" + +#. TRANSLATORS: Clear Magenta +msgid "media-color.clear-magenta" +msgstr "" + +#. TRANSLATORS: Clear Multi Color +msgid "media-color.clear-multi-color" +msgstr "" + +#. TRANSLATORS: Clear Mustard +msgid "media-color.clear-mustard" +msgstr "" + +#. TRANSLATORS: Clear Orange +msgid "media-color.clear-orange" +msgstr "" + +#. TRANSLATORS: Clear Pink +msgid "media-color.clear-pink" +msgstr "" + +#. TRANSLATORS: Clear Red +msgid "media-color.clear-red" +msgstr "" + +#. TRANSLATORS: Clear Silver +msgid "media-color.clear-silver" +msgstr "" + +#. TRANSLATORS: Clear Turquoise +msgid "media-color.clear-turquoise" +msgstr "" + +#. TRANSLATORS: Clear Violet +msgid "media-color.clear-violet" +msgstr "" + +#. TRANSLATORS: Clear White +msgid "media-color.clear-white" +msgstr "" + +#. TRANSLATORS: Clear Yellow +msgid "media-color.clear-yellow" +msgstr "" + +#. TRANSLATORS: Cyan +msgid "media-color.cyan" +msgstr "" + +#. TRANSLATORS: Dark Blue +msgid "media-color.dark-blue" +msgstr "" + +#. TRANSLATORS: Dark Brown +msgid "media-color.dark-brown" +msgstr "" + +#. TRANSLATORS: Dark Buff +msgid "media-color.dark-buff" +msgstr "" + +#. TRANSLATORS: Dark Cyan +msgid "media-color.dark-cyan" +msgstr "" + +#. TRANSLATORS: Dark Gold +msgid "media-color.dark-gold" +msgstr "" + +#. TRANSLATORS: Dark Goldenrod +msgid "media-color.dark-goldenrod" +msgstr "" + +#. TRANSLATORS: Dark Gray +msgid "media-color.dark-gray" +msgstr "" + +#. TRANSLATORS: Dark Green +msgid "media-color.dark-green" +msgstr "" + +#. TRANSLATORS: Dark Ivory +msgid "media-color.dark-ivory" +msgstr "" + +#. TRANSLATORS: Dark Magenta +msgid "media-color.dark-magenta" +msgstr "" + +#. TRANSLATORS: Dark Mustard +msgid "media-color.dark-mustard" +msgstr "" + +#. TRANSLATORS: Dark Orange +msgid "media-color.dark-orange" +msgstr "" + +#. TRANSLATORS: Dark Pink +msgid "media-color.dark-pink" +msgstr "" + +#. TRANSLATORS: Dark Red +msgid "media-color.dark-red" +msgstr "" + +#. TRANSLATORS: Dark Silver +msgid "media-color.dark-silver" +msgstr "" + +#. TRANSLATORS: Dark Turquoise +msgid "media-color.dark-turquoise" +msgstr "" + +#. TRANSLATORS: Dark Violet +msgid "media-color.dark-violet" +msgstr "" + +#. TRANSLATORS: Dark Yellow +msgid "media-color.dark-yellow" +msgstr "" + +#. TRANSLATORS: Gold +msgid "media-color.gold" +msgstr "" + +#. TRANSLATORS: Goldenrod +msgid "media-color.goldenrod" +msgstr "" + +#. TRANSLATORS: Gray +msgid "media-color.gray" +msgstr "" + +#. TRANSLATORS: Green +msgid "media-color.green" +msgstr "" + +#. TRANSLATORS: Ivory +msgid "media-color.ivory" +msgstr "" + +#. TRANSLATORS: Light Black +msgid "media-color.light-black" +msgstr "" + +#. TRANSLATORS: Light Blue +msgid "media-color.light-blue" +msgstr "" + +#. TRANSLATORS: Light Brown +msgid "media-color.light-brown" +msgstr "" + +#. TRANSLATORS: Light Buff +msgid "media-color.light-buff" +msgstr "" + +#. TRANSLATORS: Light Cyan +msgid "media-color.light-cyan" +msgstr "" + +#. TRANSLATORS: Light Gold +msgid "media-color.light-gold" +msgstr "" + +#. TRANSLATORS: Light Goldenrod +msgid "media-color.light-goldenrod" +msgstr "" + +#. TRANSLATORS: Light Gray +msgid "media-color.light-gray" +msgstr "" + +#. TRANSLATORS: Light Green +msgid "media-color.light-green" +msgstr "" + +#. TRANSLATORS: Light Ivory +msgid "media-color.light-ivory" +msgstr "" + +#. TRANSLATORS: Light Magenta +msgid "media-color.light-magenta" +msgstr "" + +#. TRANSLATORS: Light Mustard +msgid "media-color.light-mustard" +msgstr "" + +#. TRANSLATORS: Light Orange +msgid "media-color.light-orange" +msgstr "" + +#. TRANSLATORS: Light Pink +msgid "media-color.light-pink" +msgstr "" + +#. TRANSLATORS: Light Red +msgid "media-color.light-red" +msgstr "" + +#. TRANSLATORS: Light Silver +msgid "media-color.light-silver" +msgstr "" + +#. TRANSLATORS: Light Turquoise +msgid "media-color.light-turquoise" +msgstr "" + +#. TRANSLATORS: Light Violet +msgid "media-color.light-violet" +msgstr "" + +#. TRANSLATORS: Light Yellow +msgid "media-color.light-yellow" +msgstr "" + +#. TRANSLATORS: Magenta +msgid "media-color.magenta" +msgstr "" + +#. TRANSLATORS: Multi-color +msgid "media-color.multi-color" +msgstr "" + +#. TRANSLATORS: Mustard +msgid "media-color.mustard" +msgstr "" + +#. TRANSLATORS: No Color +msgid "media-color.no-color" +msgstr "" + +#. TRANSLATORS: Orange +msgid "media-color.orange" +msgstr "" + +#. TRANSLATORS: Pink +msgid "media-color.pink" +msgstr "" + +#. TRANSLATORS: Red +msgid "media-color.red" +msgstr "" + +#. TRANSLATORS: Silver +msgid "media-color.silver" +msgstr "" + +#. TRANSLATORS: Turquoise +msgid "media-color.turquoise" +msgstr "" + +#. TRANSLATORS: Violet +msgid "media-color.violet" +msgstr "" + +#. TRANSLATORS: White +msgid "media-color.white" +msgstr "" + +#. TRANSLATORS: Yellow +msgid "media-color.yellow" +msgstr "" + +#. TRANSLATORS: Front Coating of Media +msgid "media-front-coating" +msgstr "" + +#. TRANSLATORS: Media Grain +msgid "media-grain" +msgstr "" + +#. TRANSLATORS: Cross-Feed Direction +msgid "media-grain.x-direction" +msgstr "" + +#. TRANSLATORS: Feed Direction +msgid "media-grain.y-direction" +msgstr "" + +#. TRANSLATORS: Media Hole Count +msgid "media-hole-count" +msgstr "" + +#. TRANSLATORS: Media Info +msgid "media-info" +msgstr "" + +#. TRANSLATORS: Force Media +msgid "media-input-tray-check" +msgstr "" + +#. TRANSLATORS: Media Left Margin +msgid "media-left-margin" +msgstr "" + +#. TRANSLATORS: Pre-printed Media +msgid "media-pre-printed" +msgstr "" + +#. TRANSLATORS: Blank +msgid "media-pre-printed.blank" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-pre-printed.letter-head" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "media-pre-printed.pre-printed" +msgstr "" + +#. TRANSLATORS: Recycled Media +msgid "media-recycled" +msgstr "" + +#. TRANSLATORS: None +msgid "media-recycled.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "media-recycled.standard" +msgstr "" + +#. TRANSLATORS: Media Right Margin +msgid "media-right-margin" +msgstr "" + +#. TRANSLATORS: Media Dimensions +msgid "media-size" +msgstr "" + +#. TRANSLATORS: Media Name +msgid "media-size-name" +msgstr "" + +#. TRANSLATORS: Media Source +msgid "media-source" +msgstr "" + +#. TRANSLATORS: Alternate +msgid "media-source.alternate" +msgstr "" + +#. TRANSLATORS: Alternate Roll +msgid "media-source.alternate-roll" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-source.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "media-source.bottom" +msgstr "" + +#. TRANSLATORS: By-pass Tray +msgid "media-source.by-pass-tray" +msgstr "" + +#. TRANSLATORS: Center +msgid "media-source.center" +msgstr "" + +#. TRANSLATORS: Disc +msgid "media-source.disc" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-source.envelope" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media-source.hagaki" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "media-source.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "media-source.left" +msgstr "" + +#. TRANSLATORS: Main +msgid "media-source.main" +msgstr "" + +#. TRANSLATORS: Main Roll +msgid "media-source.main-roll" +msgstr "" + +#. TRANSLATORS: Manual +msgid "media-source.manual" +msgstr "" + +#. TRANSLATORS: Middle +msgid "media-source.middle" +msgstr "" + +#. TRANSLATORS: Photo +msgid "media-source.photo" +msgstr "" + +#. TRANSLATORS: Rear +msgid "media-source.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "media-source.right" +msgstr "" + +#. TRANSLATORS: Roll 1 +msgid "media-source.roll-1" +msgstr "" + +#. TRANSLATORS: Roll 10 +msgid "media-source.roll-10" +msgstr "" + +#. TRANSLATORS: Roll 2 +msgid "media-source.roll-2" +msgstr "" + +#. TRANSLATORS: Roll 3 +msgid "media-source.roll-3" +msgstr "" + +#. TRANSLATORS: Roll 4 +msgid "media-source.roll-4" +msgstr "" + +#. TRANSLATORS: Roll 5 +msgid "media-source.roll-5" +msgstr "" + +#. TRANSLATORS: Roll 6 +msgid "media-source.roll-6" +msgstr "" + +#. TRANSLATORS: Roll 7 +msgid "media-source.roll-7" +msgstr "" + +#. TRANSLATORS: Roll 8 +msgid "media-source.roll-8" +msgstr "" + +#. TRANSLATORS: Roll 9 +msgid "media-source.roll-9" +msgstr "" + +#. TRANSLATORS: Side +msgid "media-source.side" +msgstr "" + +#. TRANSLATORS: Top +msgid "media-source.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "media-source.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "media-source.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 11 +msgid "media-source.tray-11" +msgstr "" + +#. TRANSLATORS: Tray 12 +msgid "media-source.tray-12" +msgstr "" + +#. TRANSLATORS: Tray 13 +msgid "media-source.tray-13" +msgstr "" + +#. TRANSLATORS: Tray 14 +msgid "media-source.tray-14" +msgstr "" + +#. TRANSLATORS: Tray 15 +msgid "media-source.tray-15" +msgstr "" + +#. TRANSLATORS: Tray 16 +msgid "media-source.tray-16" +msgstr "" + +#. TRANSLATORS: Tray 17 +msgid "media-source.tray-17" +msgstr "" + +#. TRANSLATORS: Tray 18 +msgid "media-source.tray-18" +msgstr "" + +#. TRANSLATORS: Tray 19 +msgid "media-source.tray-19" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "media-source.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 20 +msgid "media-source.tray-20" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "media-source.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "media-source.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "media-source.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "media-source.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "media-source.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "media-source.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "media-source.tray-9" +msgstr "" + +#. TRANSLATORS: Media Thickness +msgid "media-thickness" +msgstr "" + +#. TRANSLATORS: Media Tooth (Texture) +msgid "media-tooth" +msgstr "" + +#. TRANSLATORS: Antique +msgid "media-tooth.antique" +msgstr "" + +#. TRANSLATORS: Extra Smooth +msgid "media-tooth.calendared" +msgstr "" + +#. TRANSLATORS: Coarse +msgid "media-tooth.coarse" +msgstr "" + +#. TRANSLATORS: Fine +msgid "media-tooth.fine" +msgstr "" + +#. TRANSLATORS: Linen +msgid "media-tooth.linen" +msgstr "" + +#. TRANSLATORS: Medium +msgid "media-tooth.medium" +msgstr "" + +#. TRANSLATORS: Smooth +msgid "media-tooth.smooth" +msgstr "" + +#. TRANSLATORS: Stipple +msgid "media-tooth.stipple" +msgstr "" + +#. TRANSLATORS: Rough +msgid "media-tooth.uncalendared" +msgstr "" + +#. TRANSLATORS: Vellum +msgid "media-tooth.vellum" +msgstr "" + +#. TRANSLATORS: Media Top Margin +msgid "media-top-margin" +msgstr "" + +#. TRANSLATORS: Media Type +msgid "media-type" +msgstr "" + +#. TRANSLATORS: Aluminum +msgid "media-type.aluminum" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-type.auto" +msgstr "" + +#. TRANSLATORS: Back Print Film +msgid "media-type.back-print-film" +msgstr "" + +#. TRANSLATORS: Cardboard +msgid "media-type.cardboard" +msgstr "" + +#. TRANSLATORS: Cardstock +msgid "media-type.cardstock" +msgstr "" + +#. TRANSLATORS: CD +msgid "media-type.cd" +msgstr "" + +#. TRANSLATORS: Continuous +msgid "media-type.continuous" +msgstr "" + +#. TRANSLATORS: Continuous Long +msgid "media-type.continuous-long" +msgstr "" + +#. TRANSLATORS: Continuous Short +msgid "media-type.continuous-short" +msgstr "" + +#. TRANSLATORS: Corrugated Board +msgid "media-type.corrugated-board" +msgstr "" + +#. TRANSLATORS: Optical Disc +msgid "media-type.disc" +msgstr "" + +#. TRANSLATORS: Glossy Optical Disc +msgid "media-type.disc-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Optical Disc +msgid "media-type.disc-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Optical Disc +msgid "media-type.disc-matte" +msgstr "" + +#. TRANSLATORS: Satin Optical Disc +msgid "media-type.disc-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Optical Disc +msgid "media-type.disc-semi-gloss" +msgstr "" + +#. TRANSLATORS: Double Wall +msgid "media-type.double-wall" +msgstr "" + +#. TRANSLATORS: Dry Film +msgid "media-type.dry-film" +msgstr "" + +#. TRANSLATORS: DVD +msgid "media-type.dvd" +msgstr "" + +#. TRANSLATORS: Embossing Foil +msgid "media-type.embossing-foil" +msgstr "" + +#. TRANSLATORS: End Board +msgid "media-type.end-board" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-type.envelope" +msgstr "" + +#. TRANSLATORS: Archival Envelope +msgid "media-type.envelope-archival" +msgstr "" + +#. TRANSLATORS: Bond Envelope +msgid "media-type.envelope-bond" +msgstr "" + +#. TRANSLATORS: Coated Envelope +msgid "media-type.envelope-coated" +msgstr "" + +#. TRANSLATORS: Cotton Envelope +msgid "media-type.envelope-cotton" +msgstr "" + +#. TRANSLATORS: Fine Envelope +msgid "media-type.envelope-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Envelope +msgid "media-type.envelope-heavyweight" +msgstr "" + +#. TRANSLATORS: Inkjet Envelope +msgid "media-type.envelope-inkjet" +msgstr "" + +#. TRANSLATORS: Lightweight Envelope +msgid "media-type.envelope-lightweight" +msgstr "" + +#. TRANSLATORS: Plain Envelope +msgid "media-type.envelope-plain" +msgstr "" + +#. TRANSLATORS: Preprinted Envelope +msgid "media-type.envelope-preprinted" +msgstr "" + +#. TRANSLATORS: Windowed Envelope +msgid "media-type.envelope-window" +msgstr "" + +#. TRANSLATORS: Fabric +msgid "media-type.fabric" +msgstr "" + +#. TRANSLATORS: Archival Fabric +msgid "media-type.fabric-archival" +msgstr "" + +#. TRANSLATORS: Glossy Fabric +msgid "media-type.fabric-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Fabric +msgid "media-type.fabric-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Fabric +msgid "media-type.fabric-matte" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Fabric +msgid "media-type.fabric-semi-gloss" +msgstr "" + +#. TRANSLATORS: Waterproof Fabric +msgid "media-type.fabric-waterproof" +msgstr "" + +#. TRANSLATORS: Film +msgid "media-type.film" +msgstr "" + +#. TRANSLATORS: Flexo Base +msgid "media-type.flexo-base" +msgstr "" + +#. TRANSLATORS: Flexo Photo Polymer +msgid "media-type.flexo-photo-polymer" +msgstr "" + +#. TRANSLATORS: Flute +msgid "media-type.flute" +msgstr "" + +#. TRANSLATORS: Foil +msgid "media-type.foil" +msgstr "" + +#. TRANSLATORS: Full Cut Tabs +msgid "media-type.full-cut-tabs" +msgstr "" + +#. TRANSLATORS: Glass +msgid "media-type.glass" +msgstr "" + +#. TRANSLATORS: Glass Colored +msgid "media-type.glass-colored" +msgstr "" + +#. TRANSLATORS: Glass Opaque +msgid "media-type.glass-opaque" +msgstr "" + +#. TRANSLATORS: Glass Surfaced +msgid "media-type.glass-surfaced" +msgstr "" + +#. TRANSLATORS: Glass Textured +msgid "media-type.glass-textured" +msgstr "" + +#. TRANSLATORS: Gravure Cylinder +msgid "media-type.gravure-cylinder" +msgstr "" + +#. TRANSLATORS: Image Setter Paper +msgid "media-type.image-setter-paper" +msgstr "" + +#. TRANSLATORS: Imaging Cylinder +msgid "media-type.imaging-cylinder" +msgstr "" + +#. TRANSLATORS: Labels +msgid "media-type.labels" +msgstr "" + +#. TRANSLATORS: Colored Labels +msgid "media-type.labels-colored" +msgstr "" + +#. TRANSLATORS: Glossy Labels +msgid "media-type.labels-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Labels +msgid "media-type.labels-high-gloss" +msgstr "" + +#. TRANSLATORS: Inkjet Labels +msgid "media-type.labels-inkjet" +msgstr "" + +#. TRANSLATORS: Matte Labels +msgid "media-type.labels-matte" +msgstr "" + +#. TRANSLATORS: Permanent Labels +msgid "media-type.labels-permanent" +msgstr "" + +#. TRANSLATORS: Satin Labels +msgid "media-type.labels-satin" +msgstr "" + +#. TRANSLATORS: Security Labels +msgid "media-type.labels-security" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Labels +msgid "media-type.labels-semi-gloss" +msgstr "" + +#. TRANSLATORS: Laminating Foil +msgid "media-type.laminating-foil" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.letterhead" +msgstr "" + +#. TRANSLATORS: Metal +msgid "media-type.metal" +msgstr "" + +#. TRANSLATORS: Metal Glossy +msgid "media-type.metal-glossy" +msgstr "" + +#. TRANSLATORS: Metal High Gloss +msgid "media-type.metal-high-gloss" +msgstr "" + +#. TRANSLATORS: Metal Matte +msgid "media-type.metal-matte" +msgstr "" + +#. TRANSLATORS: Metal Satin +msgid "media-type.metal-satin" +msgstr "" + +#. TRANSLATORS: Metal Semi Gloss +msgid "media-type.metal-semi-gloss" +msgstr "" + +#. TRANSLATORS: Mounting Tape +msgid "media-type.mounting-tape" +msgstr "" + +#. TRANSLATORS: Multi Layer +msgid "media-type.multi-layer" +msgstr "" + +#. TRANSLATORS: Multi Part Form +msgid "media-type.multi-part-form" +msgstr "" + +#. TRANSLATORS: Other +msgid "media-type.other" +msgstr "" + +#. TRANSLATORS: Paper +msgid "media-type.paper" +msgstr "" + +#. TRANSLATORS: Photo Paper +msgid "media-type.photographic" +msgstr "" + +#. TRANSLATORS: Photographic Archival +msgid "media-type.photographic-archival" +msgstr "" + +#. TRANSLATORS: Photo Film +msgid "media-type.photographic-film" +msgstr "" + +#. TRANSLATORS: Glossy Photo Paper +msgid "media-type.photographic-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Photo Paper +msgid "media-type.photographic-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Photo Paper +msgid "media-type.photographic-matte" +msgstr "" + +#. TRANSLATORS: Satin Photo Paper +msgid "media-type.photographic-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Photo Paper +msgid "media-type.photographic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plastic +msgid "media-type.plastic" +msgstr "" + +#. TRANSLATORS: Plastic Archival +msgid "media-type.plastic-archival" +msgstr "" + +#. TRANSLATORS: Plastic Colored +msgid "media-type.plastic-colored" +msgstr "" + +#. TRANSLATORS: Plastic Glossy +msgid "media-type.plastic-glossy" +msgstr "" + +#. TRANSLATORS: Plastic High Gloss +msgid "media-type.plastic-high-gloss" +msgstr "" + +#. TRANSLATORS: Plastic Matte +msgid "media-type.plastic-matte" +msgstr "" + +#. TRANSLATORS: Plastic Satin +msgid "media-type.plastic-satin" +msgstr "" + +#. TRANSLATORS: Plastic Semi Gloss +msgid "media-type.plastic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plate +msgid "media-type.plate" +msgstr "" + +#. TRANSLATORS: Polyester +msgid "media-type.polyester" +msgstr "" + +#. TRANSLATORS: Pre Cut Tabs +msgid "media-type.pre-cut-tabs" +msgstr "" + +#. TRANSLATORS: Roll +msgid "media-type.roll" +msgstr "" + +#. TRANSLATORS: Screen +msgid "media-type.screen" +msgstr "" + +#. TRANSLATORS: Screen Paged +msgid "media-type.screen-paged" +msgstr "" + +#. TRANSLATORS: Self Adhesive +msgid "media-type.self-adhesive" +msgstr "" + +#. TRANSLATORS: Self Adhesive Film +msgid "media-type.self-adhesive-film" +msgstr "" + +#. TRANSLATORS: Shrink Foil +msgid "media-type.shrink-foil" +msgstr "" + +#. TRANSLATORS: Single Face +msgid "media-type.single-face" +msgstr "" + +#. TRANSLATORS: Single Wall +msgid "media-type.single-wall" +msgstr "" + +#. TRANSLATORS: Sleeve +msgid "media-type.sleeve" +msgstr "" + +#. TRANSLATORS: Stationery +msgid "media-type.stationery" +msgstr "" + +#. TRANSLATORS: Stationery Archival +msgid "media-type.stationery-archival" +msgstr "" + +#. TRANSLATORS: Coated Paper +msgid "media-type.stationery-coated" +msgstr "" + +#. TRANSLATORS: Stationery Cotton +msgid "media-type.stationery-cotton" +msgstr "" + +#. TRANSLATORS: Vellum Paper +msgid "media-type.stationery-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Paper +msgid "media-type.stationery-heavyweight" +msgstr "" + +#. TRANSLATORS: Stationery Heavyweight Coated +msgid "media-type.stationery-heavyweight-coated" +msgstr "" + +#. TRANSLATORS: Stationery Inkjet Paper +msgid "media-type.stationery-inkjet" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.stationery-letterhead" +msgstr "" + +#. TRANSLATORS: Lightweight Paper +msgid "media-type.stationery-lightweight" +msgstr "" + +#. TRANSLATORS: Preprinted Paper +msgid "media-type.stationery-preprinted" +msgstr "" + +#. TRANSLATORS: Punched Paper +msgid "media-type.stationery-prepunched" +msgstr "" + +#. TRANSLATORS: Tab Stock +msgid "media-type.tab-stock" +msgstr "" + +#. TRANSLATORS: Tractor +msgid "media-type.tractor" +msgstr "" + +#. TRANSLATORS: Transfer +msgid "media-type.transfer" +msgstr "" + +#. TRANSLATORS: Transparency +msgid "media-type.transparency" +msgstr "" + +#. TRANSLATORS: Triple Wall +msgid "media-type.triple-wall" +msgstr "" + +#. TRANSLATORS: Wet Film +msgid "media-type.wet-film" +msgstr "" + +#. TRANSLATORS: Media Weight (grams per m²) +msgid "media-weight-metric" +msgstr "" + +#. TRANSLATORS: 28 x 40″ +msgid "media.asme_f_28x40in" +msgstr "" + +#. TRANSLATORS: A4 or US Letter +msgid "media.choice_iso_a4_210x297mm_na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: 2a0 +msgid "media.iso_2a0_1189x1682mm" +msgstr "" + +#. TRANSLATORS: A0 +msgid "media.iso_a0_841x1189mm" +msgstr "" + +#. TRANSLATORS: A0x3 +msgid "media.iso_a0x3_1189x2523mm" +msgstr "" + +#. TRANSLATORS: A10 +msgid "media.iso_a10_26x37mm" +msgstr "" + +#. TRANSLATORS: A1 +msgid "media.iso_a1_594x841mm" +msgstr "" + +#. TRANSLATORS: A1x3 +msgid "media.iso_a1x3_841x1783mm" +msgstr "" + +#. TRANSLATORS: A1x4 +msgid "media.iso_a1x4_841x2378mm" +msgstr "" + +#. TRANSLATORS: A2 +msgid "media.iso_a2_420x594mm" +msgstr "" + +#. TRANSLATORS: A2x3 +msgid "media.iso_a2x3_594x1261mm" +msgstr "" + +#. TRANSLATORS: A2x4 +msgid "media.iso_a2x4_594x1682mm" +msgstr "" + +#. TRANSLATORS: A2x5 +msgid "media.iso_a2x5_594x2102mm" +msgstr "" + +#. TRANSLATORS: A3 (Extra) +msgid "media.iso_a3-extra_322x445mm" +msgstr "" + +#. TRANSLATORS: A3 +msgid "media.iso_a3_297x420mm" +msgstr "" + +#. TRANSLATORS: A3x3 +msgid "media.iso_a3x3_420x891mm" +msgstr "" + +#. TRANSLATORS: A3x4 +msgid "media.iso_a3x4_420x1189mm" +msgstr "" + +#. TRANSLATORS: A3x5 +msgid "media.iso_a3x5_420x1486mm" +msgstr "" + +#. TRANSLATORS: A3x6 +msgid "media.iso_a3x6_420x1783mm" +msgstr "" + +#. TRANSLATORS: A3x7 +msgid "media.iso_a3x7_420x2080mm" +msgstr "" + +#. TRANSLATORS: A4 (Extra) +msgid "media.iso_a4-extra_235.5x322.3mm" +msgstr "" + +#. TRANSLATORS: A4 (Tab) +msgid "media.iso_a4-tab_225x297mm" +msgstr "" + +#. TRANSLATORS: A4 +msgid "media.iso_a4_210x297mm" +msgstr "" + +#. TRANSLATORS: A4x3 +msgid "media.iso_a4x3_297x630mm" +msgstr "" + +#. TRANSLATORS: A4x4 +msgid "media.iso_a4x4_297x841mm" +msgstr "" + +#. TRANSLATORS: A4x5 +msgid "media.iso_a4x5_297x1051mm" +msgstr "" + +#. TRANSLATORS: A4x6 +msgid "media.iso_a4x6_297x1261mm" +msgstr "" + +#. TRANSLATORS: A4x7 +msgid "media.iso_a4x7_297x1471mm" +msgstr "" + +#. TRANSLATORS: A4x8 +msgid "media.iso_a4x8_297x1682mm" +msgstr "" + +#. TRANSLATORS: A4x9 +msgid "media.iso_a4x9_297x1892mm" +msgstr "" + +#. TRANSLATORS: A5 (Extra) +msgid "media.iso_a5-extra_174x235mm" +msgstr "" + +#. TRANSLATORS: A5 +msgid "media.iso_a5_148x210mm" +msgstr "" + +#. TRANSLATORS: A6 +msgid "media.iso_a6_105x148mm" +msgstr "" + +#. TRANSLATORS: A7 +msgid "media.iso_a7_74x105mm" +msgstr "" + +#. TRANSLATORS: A8 +msgid "media.iso_a8_52x74mm" +msgstr "" + +#. TRANSLATORS: A9 +msgid "media.iso_a9_37x52mm" +msgstr "" + +#. TRANSLATORS: B0 +msgid "media.iso_b0_1000x1414mm" +msgstr "" + +#. TRANSLATORS: B10 +msgid "media.iso_b10_31x44mm" +msgstr "" + +#. TRANSLATORS: B1 +msgid "media.iso_b1_707x1000mm" +msgstr "" + +#. TRANSLATORS: B2 +msgid "media.iso_b2_500x707mm" +msgstr "" + +#. TRANSLATORS: B3 +msgid "media.iso_b3_353x500mm" +msgstr "" + +#. TRANSLATORS: B4 +msgid "media.iso_b4_250x353mm" +msgstr "" + +#. TRANSLATORS: B5 (Extra) +msgid "media.iso_b5-extra_201x276mm" +msgstr "" + +#. TRANSLATORS: Envelope B5 +msgid "media.iso_b5_176x250mm" +msgstr "" + +#. TRANSLATORS: B6 +msgid "media.iso_b6_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope B6/C4 +msgid "media.iso_b6c4_125x324mm" +msgstr "" + +#. TRANSLATORS: B7 +msgid "media.iso_b7_88x125mm" +msgstr "" + +#. TRANSLATORS: B8 +msgid "media.iso_b8_62x88mm" +msgstr "" + +#. TRANSLATORS: B9 +msgid "media.iso_b9_44x62mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 0 +msgid "media.iso_c0_917x1297mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 10 +msgid "media.iso_c10_28x40mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 1 +msgid "media.iso_c1_648x917mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 2 +msgid "media.iso_c2_458x648mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 3 +msgid "media.iso_c3_324x458mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 4 +msgid "media.iso_c4_229x324mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 5 +msgid "media.iso_c5_162x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6 +msgid "media.iso_c6_114x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6c5 +msgid "media.iso_c6c5_114x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7 +msgid "media.iso_c7_81x114mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7c6 +msgid "media.iso_c7c6_81x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 8 +msgid "media.iso_c8_57x81mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 9 +msgid "media.iso_c9_40x57mm" +msgstr "" + +#. TRANSLATORS: Envelope DL +msgid "media.iso_dl_110x220mm" +msgstr "" + +#. TRANSLATORS: Id-1 +msgid "media.iso_id-1_53.98x85.6mm" +msgstr "" + +#. TRANSLATORS: Id-3 +msgid "media.iso_id-3_88x125mm" +msgstr "" + +#. TRANSLATORS: ISO RA0 +msgid "media.iso_ra0_860x1220mm" +msgstr "" + +#. TRANSLATORS: ISO RA1 +msgid "media.iso_ra1_610x860mm" +msgstr "" + +#. TRANSLATORS: ISO RA2 +msgid "media.iso_ra2_430x610mm" +msgstr "" + +#. TRANSLATORS: ISO RA3 +msgid "media.iso_ra3_305x430mm" +msgstr "" + +#. TRANSLATORS: ISO RA4 +msgid "media.iso_ra4_215x305mm" +msgstr "" + +#. TRANSLATORS: ISO SRA0 +msgid "media.iso_sra0_900x1280mm" +msgstr "" + +#. TRANSLATORS: ISO SRA1 +msgid "media.iso_sra1_640x900mm" +msgstr "" + +#. TRANSLATORS: ISO SRA2 +msgid "media.iso_sra2_450x640mm" +msgstr "" + +#. TRANSLATORS: ISO SRA3 +msgid "media.iso_sra3_320x450mm" +msgstr "" + +#. TRANSLATORS: ISO SRA4 +msgid "media.iso_sra4_225x320mm" +msgstr "" + +#. TRANSLATORS: JIS B0 +msgid "media.jis_b0_1030x1456mm" +msgstr "" + +#. TRANSLATORS: JIS B10 +msgid "media.jis_b10_32x45mm" +msgstr "" + +#. TRANSLATORS: JIS B1 +msgid "media.jis_b1_728x1030mm" +msgstr "" + +#. TRANSLATORS: JIS B2 +msgid "media.jis_b2_515x728mm" +msgstr "" + +#. TRANSLATORS: JIS B3 +msgid "media.jis_b3_364x515mm" +msgstr "" + +#. TRANSLATORS: JIS B4 +msgid "media.jis_b4_257x364mm" +msgstr "" + +#. TRANSLATORS: JIS B5 +msgid "media.jis_b5_182x257mm" +msgstr "" + +#. TRANSLATORS: JIS B6 +msgid "media.jis_b6_128x182mm" +msgstr "" + +#. TRANSLATORS: JIS B7 +msgid "media.jis_b7_91x128mm" +msgstr "" + +#. TRANSLATORS: JIS B8 +msgid "media.jis_b8_64x91mm" +msgstr "" + +#. TRANSLATORS: JIS B9 +msgid "media.jis_b9_45x64mm" +msgstr "" + +#. TRANSLATORS: JIS Executive +msgid "media.jis_exec_216x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 2 +msgid "media.jpn_chou2_111.1x146mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 3 +msgid "media.jpn_chou3_120x235mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 40 +msgid "media.jpn_chou40_90x225mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 4 +msgid "media.jpn_chou4_90x205mm" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media.jpn_hagaki_100x148mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu +msgid "media.jpn_kahu_240x322.1mm" +msgstr "" + +#. TRANSLATORS: 270 x 382mm +msgid "media.jpn_kaku1_270x382mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu 2 +msgid "media.jpn_kaku2_240x332mm" +msgstr "" + +#. TRANSLATORS: 216 x 277mm +msgid "media.jpn_kaku3_216x277mm" +msgstr "" + +#. TRANSLATORS: 197 x 267mm +msgid "media.jpn_kaku4_197x267mm" +msgstr "" + +#. TRANSLATORS: 190 x 240mm +msgid "media.jpn_kaku5_190x240mm" +msgstr "" + +#. TRANSLATORS: 142 x 205mm +msgid "media.jpn_kaku7_142x205mm" +msgstr "" + +#. TRANSLATORS: 119 x 197mm +msgid "media.jpn_kaku8_119x197mm" +msgstr "" + +#. TRANSLATORS: Oufuku Reply Postcard +msgid "media.jpn_oufuku_148x200mm" +msgstr "" + +#. TRANSLATORS: Envelope You 4 +msgid "media.jpn_you4_105x235mm" +msgstr "" + +#. TRANSLATORS: 10 x 11″ +msgid "media.na_10x11_10x11in" +msgstr "" + +#. TRANSLATORS: 10 x 13″ +msgid "media.na_10x13_10x13in" +msgstr "" + +#. TRANSLATORS: 10 x 14″ +msgid "media.na_10x14_10x14in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.na_10x15_10x15in" +msgstr "" + +#. TRANSLATORS: 11 x 12″ +msgid "media.na_11x12_11x12in" +msgstr "" + +#. TRANSLATORS: 11 x 15″ +msgid "media.na_11x15_11x15in" +msgstr "" + +#. TRANSLATORS: 12 x 19″ +msgid "media.na_12x19_12x19in" +msgstr "" + +#. TRANSLATORS: 5 x 7″ +msgid "media.na_5x7_5x7in" +msgstr "" + +#. TRANSLATORS: 6 x 9″ +msgid "media.na_6x9_6x9in" +msgstr "" + +#. TRANSLATORS: 7 x 9″ +msgid "media.na_7x9_7x9in" +msgstr "" + +#. TRANSLATORS: 9 x 11″ +msgid "media.na_9x11_9x11in" +msgstr "" + +#. TRANSLATORS: Envelope A2 +msgid "media.na_a2_4.375x5.75in" +msgstr "" + +#. TRANSLATORS: 9 x 12″ +msgid "media.na_arch-a_9x12in" +msgstr "" + +#. TRANSLATORS: 12 x 18″ +msgid "media.na_arch-b_12x18in" +msgstr "" + +#. TRANSLATORS: 18 x 24″ +msgid "media.na_arch-c_18x24in" +msgstr "" + +#. TRANSLATORS: 24 x 36″ +msgid "media.na_arch-d_24x36in" +msgstr "" + +#. TRANSLATORS: 26 x 38″ +msgid "media.na_arch-e2_26x38in" +msgstr "" + +#. TRANSLATORS: 27 x 39″ +msgid "media.na_arch-e3_27x39in" +msgstr "" + +#. TRANSLATORS: 36 x 48″ +msgid "media.na_arch-e_36x48in" +msgstr "" + +#. TRANSLATORS: 12 x 19.17″ +msgid "media.na_b-plus_12x19.17in" +msgstr "" + +#. TRANSLATORS: Envelope C5 +msgid "media.na_c5_6.5x9.5in" +msgstr "" + +#. TRANSLATORS: 17 x 22″ +msgid "media.na_c_17x22in" +msgstr "" + +#. TRANSLATORS: 22 x 34″ +msgid "media.na_d_22x34in" +msgstr "" + +#. TRANSLATORS: 34 x 44″ +msgid "media.na_e_34x44in" +msgstr "" + +#. TRANSLATORS: 11 x 14″ +msgid "media.na_edp_11x14in" +msgstr "" + +#. TRANSLATORS: 12 x 14″ +msgid "media.na_eur-edp_12x14in" +msgstr "" + +#. TRANSLATORS: Executive +msgid "media.na_executive_7.25x10.5in" +msgstr "" + +#. TRANSLATORS: 44 x 68″ +msgid "media.na_f_44x68in" +msgstr "" + +#. TRANSLATORS: European Fanfold +msgid "media.na_fanfold-eur_8.5x12in" +msgstr "" + +#. TRANSLATORS: US Fanfold +msgid "media.na_fanfold-us_11x14.875in" +msgstr "" + +#. TRANSLATORS: Foolscap +msgid "media.na_foolscap_8.5x13in" +msgstr "" + +#. TRANSLATORS: 8 x 13″ +msgid "media.na_govt-legal_8x13in" +msgstr "" + +#. TRANSLATORS: 8 x 10″ +msgid "media.na_govt-letter_8x10in" +msgstr "" + +#. TRANSLATORS: 3 x 5″ +msgid "media.na_index-3x5_3x5in" +msgstr "" + +#. TRANSLATORS: 6 x 8″ +msgid "media.na_index-4x6-ext_6x8in" +msgstr "" + +#. TRANSLATORS: 4 x 6″ +msgid "media.na_index-4x6_4x6in" +msgstr "" + +#. TRANSLATORS: 5 x 8″ +msgid "media.na_index-5x8_5x8in" +msgstr "" + +#. TRANSLATORS: Statement +msgid "media.na_invoice_5.5x8.5in" +msgstr "" + +#. TRANSLATORS: 11 x 17″ +msgid "media.na_ledger_11x17in" +msgstr "" + +#. TRANSLATORS: US Legal (Extra) +msgid "media.na_legal-extra_9.5x15in" +msgstr "" + +#. TRANSLATORS: US Legal +msgid "media.na_legal_8.5x14in" +msgstr "" + +#. TRANSLATORS: US Letter (Extra) +msgid "media.na_letter-extra_9.5x12in" +msgstr "" + +#. TRANSLATORS: US Letter (Plus) +msgid "media.na_letter-plus_8.5x12.69in" +msgstr "" + +#. TRANSLATORS: US Letter +msgid "media.na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: Envelope Monarch +msgid "media.na_monarch_3.875x7.5in" +msgstr "" + +#. TRANSLATORS: Envelope #10 +msgid "media.na_number-10_4.125x9.5in" +msgstr "" + +#. TRANSLATORS: Envelope #11 +msgid "media.na_number-11_4.5x10.375in" +msgstr "" + +#. TRANSLATORS: Envelope #12 +msgid "media.na_number-12_4.75x11in" +msgstr "" + +#. TRANSLATORS: Envelope #14 +msgid "media.na_number-14_5x11.5in" +msgstr "" + +#. TRANSLATORS: Envelope #9 +msgid "media.na_number-9_3.875x8.875in" +msgstr "" + +#. TRANSLATORS: 8.5 x 13.4″ +msgid "media.na_oficio_8.5x13.4in" +msgstr "" + +#. TRANSLATORS: Envelope Personal +msgid "media.na_personal_3.625x6.5in" +msgstr "" + +#. TRANSLATORS: Quarto +msgid "media.na_quarto_8.5x10.83in" +msgstr "" + +#. TRANSLATORS: 8.94 x 14″ +msgid "media.na_super-a_8.94x14in" +msgstr "" + +#. TRANSLATORS: 13 x 19″ +msgid "media.na_super-b_13x19in" +msgstr "" + +#. TRANSLATORS: 30 x 42″ +msgid "media.na_wide-format_30x42in" +msgstr "" + +#. TRANSLATORS: 12 x 16″ +msgid "media.oe_12x16_12x16in" +msgstr "" + +#. TRANSLATORS: 14 x 17″ +msgid "media.oe_14x17_14x17in" +msgstr "" + +#. TRANSLATORS: 18 x 22″ +msgid "media.oe_18x22_18x22in" +msgstr "" + +#. TRANSLATORS: 17 x 24″ +msgid "media.oe_a2plus_17x24in" +msgstr "" + +#. TRANSLATORS: 2 x 3.5″ +msgid "media.oe_business-card_2x3.5in" +msgstr "" + +#. TRANSLATORS: 10 x 12″ +msgid "media.oe_photo-10r_10x12in" +msgstr "" + +#. TRANSLATORS: 20 x 24″ +msgid "media.oe_photo-20r_20x24in" +msgstr "" + +#. TRANSLATORS: 3.5 x 5″ +msgid "media.oe_photo-l_3.5x5in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.oe_photo-s10r_10x15in" +msgstr "" + +#. TRANSLATORS: 4 x 4″ +msgid "media.oe_square-photo_4x4in" +msgstr "" + +#. TRANSLATORS: 5 x 5″ +msgid "media.oe_square-photo_5x5in" +msgstr "" + +#. TRANSLATORS: 184 x 260mm +msgid "media.om_16k_184x260mm" +msgstr "" + +#. TRANSLATORS: 195 x 270mm +msgid "media.om_16k_195x270mm" +msgstr "" + +#. TRANSLATORS: 55 x 85mm +msgid "media.om_business-card_55x85mm" +msgstr "" + +#. TRANSLATORS: 55 x 91mm +msgid "media.om_business-card_55x91mm" +msgstr "" + +#. TRANSLATORS: 54 x 86mm +msgid "media.om_card_54x86mm" +msgstr "" + +#. TRANSLATORS: 275 x 395mm +msgid "media.om_dai-pa-kai_275x395mm" +msgstr "" + +#. TRANSLATORS: 89 x 119mm +msgid "media.om_dsc-photo_89x119mm" +msgstr "" + +#. TRANSLATORS: Folio +msgid "media.om_folio-sp_215x315mm" +msgstr "" + +#. TRANSLATORS: Folio (Special) +msgid "media.om_folio_210x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Invitation +msgid "media.om_invite_220x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Italian +msgid "media.om_italian_110x230mm" +msgstr "" + +#. TRANSLATORS: 198 x 275mm +msgid "media.om_juuro-ku-kai_198x275mm" +msgstr "" + +#. TRANSLATORS: 200 x 300 +msgid "media.om_large-photo_200x300" +msgstr "" + +#. TRANSLATORS: 130 x 180mm +msgid "media.om_medium-photo_130x180mm" +msgstr "" + +#. TRANSLATORS: 267 x 389mm +msgid "media.om_pa-kai_267x389mm" +msgstr "" + +#. TRANSLATORS: Envelope Postfix +msgid "media.om_postfix_114x229mm" +msgstr "" + +#. TRANSLATORS: 100 x 150mm +msgid "media.om_small-photo_100x150mm" +msgstr "" + +#. TRANSLATORS: 89 x 89mm +msgid "media.om_square-photo_89x89mm" +msgstr "" + +#. TRANSLATORS: 100 x 200mm +msgid "media.om_wide-photo_100x200mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #10 +msgid "media.prc_10_324x458mm" +msgstr "" + +#. TRANSLATORS: Chinese 16k +msgid "media.prc_16k_146x215mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #1 +msgid "media.prc_1_102x165mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #2 +msgid "media.prc_2_102x176mm" +msgstr "" + +#. TRANSLATORS: Chinese 32k +msgid "media.prc_32k_97x151mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #3 +msgid "media.prc_3_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #4 +msgid "media.prc_4_110x208mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #5 +msgid "media.prc_5_110x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #6 +msgid "media.prc_6_120x320mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #7 +msgid "media.prc_7_160x230mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #8 +msgid "media.prc_8_120x309mm" +msgstr "" + +#. TRANSLATORS: ROC 16k +msgid "media.roc_16k_7.75x10.75in" +msgstr "" + +#. TRANSLATORS: ROC 8k +msgid "media.roc_8k_10.75x15.5in" +msgstr "" + +#, c-format +msgid "members of class %s:" +msgstr "membri della classe %s:" + +#. TRANSLATORS: Multiple Document Handling +msgid "multiple-document-handling" +msgstr "" + +#. TRANSLATORS: Separate Documents Collated Copies +msgid "multiple-document-handling.separate-documents-collated-copies" +msgstr "" + +#. TRANSLATORS: Separate Documents Uncollated Copies +msgid "multiple-document-handling.separate-documents-uncollated-copies" +msgstr "" + +#. TRANSLATORS: Single Document +msgid "multiple-document-handling.single-document" +msgstr "" + +#. TRANSLATORS: Single Document New Sheet +msgid "multiple-document-handling.single-document-new-sheet" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling +msgid "multiple-object-handling" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling Actual +msgid "multiple-object-handling-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "multiple-object-handling.auto" +msgstr "" + +#. TRANSLATORS: Best Fit +msgid "multiple-object-handling.best-fit" +msgstr "" + +#. TRANSLATORS: Best Quality +msgid "multiple-object-handling.best-quality" +msgstr "" + +#. TRANSLATORS: Best Speed +msgid "multiple-object-handling.best-speed" +msgstr "" + +#. TRANSLATORS: One At A Time +msgid "multiple-object-handling.one-at-a-time" +msgstr "" + +#. TRANSLATORS: On Timeout +msgid "multiple-operation-time-out-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "multiple-operation-time-out-action.abort-job" +msgstr "" + +#. TRANSLATORS: Hold Job +msgid "multiple-operation-time-out-action.hold-job" +msgstr "" + +#. TRANSLATORS: Process Job +msgid "multiple-operation-time-out-action.process-job" +msgstr "" + +msgid "no entries" +msgstr "nessuna voce" + +msgid "no system default destination" +msgstr "nessuna destinazione predefinita di sistema" + +#. TRANSLATORS: Noise Removal +msgid "noise-removal" +msgstr "" + +#. TRANSLATORS: Notify Attributes +msgid "notify-attributes" +msgstr "" + +#. TRANSLATORS: Notify Charset +msgid "notify-charset" +msgstr "" + +#. TRANSLATORS: Notify Events +msgid "notify-events" +msgstr "" + +msgid "notify-events not specified." +msgstr "notify-events non è stato specificato." + +#. TRANSLATORS: Document Completed +msgid "notify-events.document-completed" +msgstr "" + +#. TRANSLATORS: Document Config Changed +msgid "notify-events.document-config-changed" +msgstr "" + +#. TRANSLATORS: Document Created +msgid "notify-events.document-created" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "notify-events.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document State Changed +msgid "notify-events.document-state-changed" +msgstr "" + +#. TRANSLATORS: Document Stopped +msgid "notify-events.document-stopped" +msgstr "" + +#. TRANSLATORS: Job Completed +msgid "notify-events.job-completed" +msgstr "" + +#. TRANSLATORS: Job Config Changed +msgid "notify-events.job-config-changed" +msgstr "" + +#. TRANSLATORS: Job Created +msgid "notify-events.job-created" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "notify-events.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Progress +msgid "notify-events.job-progress" +msgstr "" + +#. TRANSLATORS: Job State Changed +msgid "notify-events.job-state-changed" +msgstr "" + +#. TRANSLATORS: Job Stopped +msgid "notify-events.job-stopped" +msgstr "" + +#. TRANSLATORS: None +msgid "notify-events.none" +msgstr "" + +#. TRANSLATORS: Printer Config Changed +msgid "notify-events.printer-config-changed" +msgstr "" + +#. TRANSLATORS: Printer Finishings Changed +msgid "notify-events.printer-finishings-changed" +msgstr "" + +#. TRANSLATORS: Printer Media Changed +msgid "notify-events.printer-media-changed" +msgstr "" + +#. TRANSLATORS: Printer Queue Order Changed +msgid "notify-events.printer-queue-order-changed" +msgstr "" + +#. TRANSLATORS: Printer Restarted +msgid "notify-events.printer-restarted" +msgstr "" + +#. TRANSLATORS: Printer Shutdown +msgid "notify-events.printer-shutdown" +msgstr "" + +#. TRANSLATORS: Printer State Changed +msgid "notify-events.printer-state-changed" +msgstr "" + +#. TRANSLATORS: Printer Stopped +msgid "notify-events.printer-stopped" +msgstr "" + +#. TRANSLATORS: Notify Get Interval +msgid "notify-get-interval" +msgstr "" + +#. TRANSLATORS: Notify Lease Duration +msgid "notify-lease-duration" +msgstr "" + +#. TRANSLATORS: Notify Natural Language +msgid "notify-natural-language" +msgstr "" + +#. TRANSLATORS: Notify Pull Method +msgid "notify-pull-method" +msgstr "" + +#. TRANSLATORS: Notify Recipient +msgid "notify-recipient-uri" +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" is already used." +msgstr "notify-recipient-uri URI \"%s\" è già stato utilizzato." + +#, c-format +msgid "notify-recipient-uri URI \"%s\" uses unknown scheme." +msgstr "notify-recipient-uri URI \"%s\" utilizza uno schema sconosciuto." + +#. TRANSLATORS: Notify Sequence Numbers +msgid "notify-sequence-numbers" +msgstr "" + +#. TRANSLATORS: Notify Subscription Ids +msgid "notify-subscription-ids" +msgstr "" + +#. TRANSLATORS: Notify Time Interval +msgid "notify-time-interval" +msgstr "" + +#. TRANSLATORS: Notify User Data +msgid "notify-user-data" +msgstr "" + +#. TRANSLATORS: Notify Wait +msgid "notify-wait" +msgstr "" + +#. TRANSLATORS: Number Of Retries +msgid "number-of-retries" +msgstr "" + +#. TRANSLATORS: Number-Up +msgid "number-up" +msgstr "" + +#. TRANSLATORS: Object Offset +msgid "object-offset" +msgstr "" + +#. TRANSLATORS: Object Size +msgid "object-size" +msgstr "" + +#. TRANSLATORS: Organization Name +msgid "organization-name" +msgstr "" + +#. TRANSLATORS: Orientation +msgid "orientation-requested" +msgstr "" + +#. TRANSLATORS: Portrait +msgid "orientation-requested.3" +msgstr "" + +#. TRANSLATORS: Landscape +msgid "orientation-requested.4" +msgstr "" + +#. TRANSLATORS: Reverse Landscape +msgid "orientation-requested.5" +msgstr "" + +#. TRANSLATORS: Reverse Portrait +msgid "orientation-requested.6" +msgstr "" + +#. TRANSLATORS: None +msgid "orientation-requested.7" +msgstr "" + +#. TRANSLATORS: Scanned Image Options +msgid "output-attributes" +msgstr "" + +#. TRANSLATORS: Output Tray +msgid "output-bin" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "output-bin.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "output-bin.bottom" +msgstr "" + +#. TRANSLATORS: Center +msgid "output-bin.center" +msgstr "" + +#. TRANSLATORS: Face Down +msgid "output-bin.face-down" +msgstr "" + +#. TRANSLATORS: Face Up +msgid "output-bin.face-up" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "output-bin.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "output-bin.left" +msgstr "" + +#. TRANSLATORS: Mailbox 1 +msgid "output-bin.mailbox-1" +msgstr "" + +#. TRANSLATORS: Mailbox 10 +msgid "output-bin.mailbox-10" +msgstr "" + +#. TRANSLATORS: Mailbox 2 +msgid "output-bin.mailbox-2" +msgstr "" + +#. TRANSLATORS: Mailbox 3 +msgid "output-bin.mailbox-3" +msgstr "" + +#. TRANSLATORS: Mailbox 4 +msgid "output-bin.mailbox-4" +msgstr "" + +#. TRANSLATORS: Mailbox 5 +msgid "output-bin.mailbox-5" +msgstr "" + +#. TRANSLATORS: Mailbox 6 +msgid "output-bin.mailbox-6" +msgstr "" + +#. TRANSLATORS: Mailbox 7 +msgid "output-bin.mailbox-7" +msgstr "" + +#. TRANSLATORS: Mailbox 8 +msgid "output-bin.mailbox-8" +msgstr "" + +#. TRANSLATORS: Mailbox 9 +msgid "output-bin.mailbox-9" +msgstr "" + +#. TRANSLATORS: Middle +msgid "output-bin.middle" +msgstr "" + +#. TRANSLATORS: My Mailbox +msgid "output-bin.my-mailbox" +msgstr "" + +#. TRANSLATORS: Rear +msgid "output-bin.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "output-bin.right" +msgstr "" + +#. TRANSLATORS: Side +msgid "output-bin.side" +msgstr "" + +#. TRANSLATORS: Stacker 1 +msgid "output-bin.stacker-1" +msgstr "" + +#. TRANSLATORS: Stacker 10 +msgid "output-bin.stacker-10" +msgstr "" + +#. TRANSLATORS: Stacker 2 +msgid "output-bin.stacker-2" +msgstr "" + +#. TRANSLATORS: Stacker 3 +msgid "output-bin.stacker-3" +msgstr "" + +#. TRANSLATORS: Stacker 4 +msgid "output-bin.stacker-4" +msgstr "" + +#. TRANSLATORS: Stacker 5 +msgid "output-bin.stacker-5" +msgstr "" + +#. TRANSLATORS: Stacker 6 +msgid "output-bin.stacker-6" +msgstr "" + +#. TRANSLATORS: Stacker 7 +msgid "output-bin.stacker-7" +msgstr "" + +#. TRANSLATORS: Stacker 8 +msgid "output-bin.stacker-8" +msgstr "" + +#. TRANSLATORS: Stacker 9 +msgid "output-bin.stacker-9" +msgstr "" + +#. TRANSLATORS: Top +msgid "output-bin.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "output-bin.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "output-bin.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "output-bin.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "output-bin.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "output-bin.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "output-bin.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "output-bin.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "output-bin.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "output-bin.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "output-bin.tray-9" +msgstr "" + +#. TRANSLATORS: Scanned Image Quality +msgid "output-compression-quality-factor" +msgstr "" + +#. TRANSLATORS: Page Delivery +msgid "page-delivery" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-down +msgid "page-delivery.reverse-order-face-down" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-up +msgid "page-delivery.reverse-order-face-up" +msgstr "" + +#. TRANSLATORS: Same Order Face-down +msgid "page-delivery.same-order-face-down" +msgstr "" + +#. TRANSLATORS: Same Order Face-up +msgid "page-delivery.same-order-face-up" +msgstr "" + +#. TRANSLATORS: System Specified +msgid "page-delivery.system-specified" +msgstr "" + +#. TRANSLATORS: Page Order Received +msgid "page-order-received" +msgstr "" + +#. TRANSLATORS: 1 To N +msgid "page-order-received.1-to-n-order" +msgstr "" + +#. TRANSLATORS: N To 1 +msgid "page-order-received.n-to-1-order" +msgstr "" + +#. TRANSLATORS: Page Ranges +msgid "page-ranges" +msgstr "" + +#. TRANSLATORS: Pages +msgid "pages" +msgstr "" + +#. TRANSLATORS: Pages Per Subset +msgid "pages-per-subset" +msgstr "" + +#. TRANSLATORS: Pclm Raster Back Side +msgid "pclm-raster-back-side" +msgstr "" + +#. TRANSLATORS: Flipped +msgid "pclm-raster-back-side.flipped" +msgstr "" + +#. TRANSLATORS: Normal +msgid "pclm-raster-back-side.normal" +msgstr "" + +#. TRANSLATORS: Rotated +msgid "pclm-raster-back-side.rotated" +msgstr "" + +#. TRANSLATORS: Pclm Source Resolution +msgid "pclm-source-resolution" +msgstr "" + +msgid "pending" +msgstr "in attesa" + +#. TRANSLATORS: Platform Shape +msgid "platform-shape" +msgstr "" + +#. TRANSLATORS: Round +msgid "platform-shape.ellipse" +msgstr "" + +#. TRANSLATORS: Rectangle +msgid "platform-shape.rectangle" +msgstr "" + +#. TRANSLATORS: Platform Temperature +msgid "platform-temperature" +msgstr "" + +#. TRANSLATORS: Post-dial String +msgid "post-dial-string" +msgstr "" + +#, c-format +msgid "ppdc: Adding include directory \"%s\"." +msgstr "ppdc: aggiunta della directory \"%s\"." + +#, c-format +msgid "ppdc: Adding/updating UI text from %s." +msgstr "ppdc: aggiunto/aggiornato il testo della UI da %s." + +#, c-format +msgid "ppdc: Bad boolean value (%s) on line %d of %s." +msgstr "ppdc: il valore booleano non è valido (%s) alla riga %d di %s." + +#, c-format +msgid "ppdc: Bad font attribute: %s" +msgstr "ppdc: l'attributo del carattere non è valido: %s" + +#, c-format +msgid "ppdc: Bad resolution name \"%s\" on line %d of %s." +msgstr "" +"ppdc: il nome della risoluzione non è valido \"%s\" alla riga %d di %s." + +#, c-format +msgid "ppdc: Bad status keyword %s on line %d of %s." +msgstr "ppdc: lo stato della parola chiave non è valido %s alla riga %d di %s." + +#, c-format +msgid "ppdc: Bad variable substitution ($%c) on line %d of %s." +msgstr "" +"ppdc: la sostituzione della variabile ($%c) non è valida alla riga %d di %s." + +#, c-format +msgid "ppdc: Choice found on line %d of %s with no Option." +msgstr "ppdc: trovata scelta senza opzione alla riga %d di %s." + +#, c-format +msgid "ppdc: Duplicate #po for locale %s on line %d of %s." +msgstr "ppdc: #po duplicato per il locale %s alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected a filter definition on line %d of %s." +msgstr "ppdc: è prevista una definizione del filtro alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected a program name on line %d of %s." +msgstr "ppdc: è previsto il nome del programma alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected boolean value on line %d of %s." +msgstr "ppdc: è previsto un valore booleano alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected charset after Font on line %d of %s." +msgstr "ppdc: è previsto un set di caratteri dopo Font alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected choice code on line %d of %s." +msgstr "ppdc: è previsto un codice di scelta alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected choice name/text on line %d of %s." +msgstr "ppdc: è previsto un nome/testo di scelta alla riga %d di %s. " + +#, c-format +msgid "ppdc: Expected color order for ColorModel on line %d of %s." +msgstr "ppdc: è previsto un colore per ColorModel alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected colorspace for ColorModel on line %d of %s." +msgstr "" +"ppdc: è previsto uno spazio di colore per ColorModel alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected compression for ColorModel on line %d of %s." +msgstr "ppdc: è prevista una compressione per ColorModel alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected constraints string for UIConstraints on line %d of %s." +msgstr "" +"ppdc: è prevista una stringa di vincoli per UIConstraints alla riga %d di %s." + +#, c-format +msgid "" +"ppdc: Expected driver type keyword following DriverType on line %d of %s." +msgstr "" +"ppdc: è previsto un driver della parola chiave tipo che segue DriverType " +"alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected duplex type after Duplex on line %d of %s." +msgstr "ppdc: è previsto il tipo duplex dopo Duplex alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected encoding after Font on line %d of %s." +msgstr "ppdc: è prevista una codifica dopo Font alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected filename after #po %s on line %d of %s." +msgstr "ppdc: è previsto un file dopo #po %s alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected group name/text on line %d of %s." +msgstr "ppdc: è previsto un nome/testo del gruppo alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected include filename on line %d of %s." +msgstr "ppdc: è previsto un file da includere alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected integer on line %d of %s." +msgstr "ppdc: è previsto un intero alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected locale after #po on line %d of %s." +msgstr "ppdc: è previsto un locale dopo #po alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected name after %s on line %d of %s." +msgstr "ppdc: è previsto un nome dopo %s alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected name after FileName on line %d of %s." +msgstr "ppdc: è previsto un nome dopo FileName alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected name after Font on line %d of %s." +msgstr "ppdc: è previsto un nome dopo Font alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected name after Manufacturer on line %d of %s." +msgstr "ppdc: è previsto un nome dopo Manufacturer alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected name after MediaSize on line %d of %s." +msgstr "ppdc: è previsto un nome dopo MediaSize alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected name after ModelName on line %d of %s." +msgstr "ppdc: è previsto un nome dopo ModelName alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected name after PCFileName on line %d of %s." +msgstr "ppdc: è previsto un nome dopo PCFileName alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected name/text after %s on line %d of %s." +msgstr "ppdc: è previsto un nome/testo dopo %s alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected name/text after Installable on line %d of %s." +msgstr "ppdc: è previsto un nome/testo dopo Installable alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected name/text after Resolution on line %d of %s." +msgstr "ppdc: è previsto un nome/testo dopo Resolution alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected name/text combination for ColorModel on line %d of %s." +msgstr "" +"ppdc: è prevista una combinazione nome/testo per ColorModel alla riga %d di " +"%s." + +#, c-format +msgid "ppdc: Expected option name/text on line %d of %s." +msgstr "ppdc: è prevista l'opzione nome/testo alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected option section on line %d of %s." +msgstr "ppdc: è prevista la sezione dell'opzione alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected option type on line %d of %s." +msgstr "ppdc: è previsto il tipo di opzione alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected override field after Resolution on line %d of %s." +msgstr "" +"ppdc: è previsto sovrascrivere il campo dopo Resolution alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected quoted string on line %d of %s." +msgstr "ppdc: è prevista una stringa tra virgolette alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected real number on line %d of %s." +msgstr "ppdc: è previsto un numero reale alla riga %d di %s." + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." +msgstr "" +"ppdc: è previsto risoluzione/mediatype dopo ColorProfile alla riga %d di %s." + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d " +"of %s." +msgstr "" +"ppdc: è previsto risoluzione/mediatype dopo SimpleColorProfile alla riga %d " +"di %s." + +#, c-format +msgid "ppdc: Expected selector after %s on line %d of %s." +msgstr "ppdc: è previsto un selettore %s alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected status after Font on line %d of %s." +msgstr "ppdc: è previsto uno stato dopo Font alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected string after Copyright on line %d of %s." +msgstr "ppdc: è prevista una stringa dopo Copyright alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected string after Version on line %d of %s." +msgstr "ppdc: è prevista una stringa dopo Version alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected two option names on line %d of %s." +msgstr "ppdc: sono previsti due nomi di opzioni alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected value after %s on line %d of %s." +msgstr "ppdc: è previsto un valore dopo %s alla riga %d di %s." + +#, c-format +msgid "ppdc: Expected version after Font on line %d of %s." +msgstr "ppdc: è prevista una versione dopo Font alla riga %d di %s." + +#, c-format +msgid "ppdc: Invalid #include/#po filename \"%s\"." +msgstr "ppdc: il file #include/#po non è valido \"%s\"." + +#, c-format +msgid "ppdc: Invalid cost for filter on line %d of %s." +msgstr "ppdc: il costo non è valido per il filtro alla riga %d di %s." + +#, c-format +msgid "ppdc: Invalid empty MIME type for filter on line %d of %s." +msgstr "" +"ppdc: il tipo di MIME vuoto non è valido per il filtro alla riga %d di %s." + +#, c-format +msgid "ppdc: Invalid empty program name for filter on line %d of %s." +msgstr "" +"ppdc: il nome del programma vuoto non è valido per il filtro alla riga %d di " +"%s." + +#, c-format +msgid "ppdc: Invalid option section \"%s\" on line %d of %s." +msgstr "ppdc: la sezione dell'opzione \"%s\" non è valida alla riga %d di %s." + +#, c-format +msgid "ppdc: Invalid option type \"%s\" on line %d of %s." +msgstr "ppdc: il tipo di opzione \"%s\" non è valido alla riga %d di %s." + +#, c-format +msgid "ppdc: Loading driver information file \"%s\"." +msgstr "ppdc: caricamento in corso delle informazioni del driver \"%s\"." + +#, c-format +msgid "ppdc: Loading messages for locale \"%s\"." +msgstr "ppdc: caricamento in corso dei messaggi per locale \"%s\"." + +#, c-format +msgid "ppdc: Loading messages from \"%s\"." +msgstr "ppdc: caricamento in corso da \"%s\"." + +#, c-format +msgid "ppdc: Missing #endif at end of \"%s\"." +msgstr "ppdc. manca #endif alla fine di \"%s\"." + +#, c-format +msgid "ppdc: Missing #if on line %d of %s." +msgstr "ppdc: manca #if alla riga %d di %s." + +#, c-format +msgid "" +"ppdc: Need a msgid line before any translation strings on line %d of %s." +msgstr "" +"ppdc: è necessaria la riga msgid prima di ogni stringa di traduzione alla " +"riga %d di %s." + +#, c-format +msgid "ppdc: No message catalog provided for locale %s." +msgstr "ppdc: Nessun catalogo dei messaggi fornito per locale %s." + +#, c-format +msgid "ppdc: Option %s defined in two different groups on line %d of %s." +msgstr "" +"ppdc: l'opzione %s è stata definita in due differenti gruppi alla riga %d di " +"%s." + +#, c-format +msgid "ppdc: Option %s redefined with a different type on line %d of %s." +msgstr "" +"ppdc: l'opzione %s è stata ridefinita con un tipo differente alla riga %d di " +"%s." + +#, c-format +msgid "ppdc: Option constraint must *name on line %d of %s." +msgstr "ppdc: il vincolo dell'opzione deve *citare alla riga %d di %s." + +#, c-format +msgid "ppdc: Too many nested #if's on line %d of %s." +msgstr "ppdc: troppi #if sono nidificati alla riga %d di %s." + +#, c-format +msgid "ppdc: Unable to create PPD file \"%s\" - %s." +msgstr "ppdc: non è possibile creare il file PPD \"%s\" - %s." + +#, c-format +msgid "ppdc: Unable to create output directory %s: %s" +msgstr "ppdc: non è possibile creare la directory di output %s: %s" + +#, c-format +msgid "ppdc: Unable to create output pipes: %s" +msgstr "ppdc: non è possibile creare la pipe di output: %s" + +#, c-format +msgid "ppdc: Unable to execute cupstestppd: %s" +msgstr "ppdc: non è possibile eseguire cupstestppd: %s" + +#, c-format +msgid "ppdc: Unable to find #po file %s on line %d of %s." +msgstr "ppdc: non è possibile trovare il file #po %s alla riga %d di %s." + +#, c-format +msgid "ppdc: Unable to find include file \"%s\" on line %d of %s." +msgstr "" +"ppdc: non è possibile trovare il file di include \"%s\" alla riga %d di %s." + +#, c-format +msgid "ppdc: Unable to find localization for \"%s\" - %s" +msgstr "ppdc: non è possibile trovare la localizzazione di \"%s\" - %s" + +#, c-format +msgid "ppdc: Unable to load localization file \"%s\" - %s" +msgstr "" +"ppdc: non è possibile caricare il file della localizzazione \"%s\" - %s" + +#, c-format +msgid "ppdc: Unable to open %s: %s" +msgstr "ppdc: non è possibile aprire %s: %s" + +#, c-format +msgid "ppdc: Undefined variable (%s) on line %d of %s." +msgstr "ppdc: variabile non definita (%s) alla riga %d di %s." + +#, c-format +msgid "ppdc: Unexpected text on line %d of %s." +msgstr "ppdc: testo non previsto alla riga %d di %s." + +#, c-format +msgid "ppdc: Unknown driver type %s on line %d of %s." +msgstr "ppdc: tipo di driver sconosciuto %s alla riga %d di %s." + +#, c-format +msgid "ppdc: Unknown duplex type \"%s\" on line %d of %s." +msgstr "ppdc: tipo duplex sconosciuto \"%s\" alla riga %d di %s." + +#, c-format +msgid "ppdc: Unknown media size \"%s\" on line %d of %s." +msgstr "ppdc: dimensione sconosciuta del supporto \"%s\" alla riga %d di %s." + +#, c-format +msgid "ppdc: Unknown message catalog format for \"%s\"." +msgstr "ppdc: formato dei cataloghi sconosciuto per \"%s\"." + +#, c-format +msgid "ppdc: Unknown token \"%s\" seen on line %d of %s." +msgstr "ppdc: c'è un token sconosciuto \"%s\" alla riga %d di %s." + +#, c-format +msgid "" +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." +msgstr "" +"ppdc: caratteri finali sconosciuti in un numero reale \"%s\" alla riga %d di " +"%s." + +#, c-format +msgid "ppdc: Unterminated string starting with %c on line %d of %s." +msgstr "ppdc: stringa senza terminazione che inizia per %c alla riga %d di %s." + +#, c-format +msgid "ppdc: Warning - overlapping filename \"%s\"." +msgstr "ppdc: attenzione - sovrapposizione del file \"%s\"." + +#, c-format +msgid "ppdc: Writing %s." +msgstr "ppdc: scrittura in corso di %s." + +#, c-format +msgid "ppdc: Writing PPD files to directory \"%s\"." +msgstr "ppdc: scrittura in corso dei file PPD nella directory \"%s\"." + +#, c-format +msgid "ppdmerge: Bad LanguageVersion \"%s\" in %s." +msgstr "ppdmerge: LanguageVersion non è valido \"%s\" in %s." + +#, c-format +msgid "ppdmerge: Ignoring PPD file %s." +msgstr "ppdmerge: il file PPD %s è stato ignorato." + +#, c-format +msgid "ppdmerge: Unable to backup %s to %s - %s" +msgstr "ppdmerge: non è possibile salvare %s in %s - %s" + +#. TRANSLATORS: Pre-dial String +msgid "pre-dial-string" +msgstr "" + +#. TRANSLATORS: Number-Up Layout +msgid "presentation-direction-number-up" +msgstr "" + +#. TRANSLATORS: Top-bottom, Right-left +msgid "presentation-direction-number-up.tobottom-toleft" +msgstr "" + +#. TRANSLATORS: Top-bottom, Left-right +msgid "presentation-direction-number-up.tobottom-toright" +msgstr "" + +#. TRANSLATORS: Right-left, Top-bottom +msgid "presentation-direction-number-up.toleft-tobottom" +msgstr "" + +#. TRANSLATORS: Right-left, Bottom-top +msgid "presentation-direction-number-up.toleft-totop" +msgstr "" + +#. TRANSLATORS: Left-right, Top-bottom +msgid "presentation-direction-number-up.toright-tobottom" +msgstr "" + +#. TRANSLATORS: Left-right, Bottom-top +msgid "presentation-direction-number-up.toright-totop" +msgstr "" + +#. TRANSLATORS: Bottom-top, Right-left +msgid "presentation-direction-number-up.totop-toleft" +msgstr "" + +#. TRANSLATORS: Bottom-top, Left-right +msgid "presentation-direction-number-up.totop-toright" +msgstr "" + +#. TRANSLATORS: Print Accuracy +msgid "print-accuracy" +msgstr "" + +#. TRANSLATORS: Print Base +msgid "print-base" +msgstr "" + +#. TRANSLATORS: Print Base Actual +msgid "print-base-actual" +msgstr "" + +#. TRANSLATORS: Brim +msgid "print-base.brim" +msgstr "" + +#. TRANSLATORS: None +msgid "print-base.none" +msgstr "" + +#. TRANSLATORS: Raft +msgid "print-base.raft" +msgstr "" + +#. TRANSLATORS: Skirt +msgid "print-base.skirt" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-base.standard" +msgstr "" + +#. TRANSLATORS: Print Color Mode +msgid "print-color-mode" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-color-mode.auto" +msgstr "" + +#. TRANSLATORS: Auto Monochrome +msgid "print-color-mode.auto-monochrome" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-color-mode.bi-level" +msgstr "" + +#. TRANSLATORS: Color +msgid "print-color-mode.color" +msgstr "" + +#. TRANSLATORS: Highlight +msgid "print-color-mode.highlight" +msgstr "" + +#. TRANSLATORS: Monochrome +msgid "print-color-mode.monochrome" +msgstr "" + +#. TRANSLATORS: Process Text +msgid "print-color-mode.process-bi-level" +msgstr "" + +#. TRANSLATORS: Process Monochrome +msgid "print-color-mode.process-monochrome" +msgstr "" + +#. TRANSLATORS: Print Optimization +msgid "print-content-optimize" +msgstr "" + +#. TRANSLATORS: Print Content Optimize Actual +msgid "print-content-optimize-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-content-optimize.auto" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphic" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphics" +msgstr "" + +#. TRANSLATORS: Photo +msgid "print-content-optimize.photo" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-content-optimize.text" +msgstr "" + +#. TRANSLATORS: Text and Graphics +msgid "print-content-optimize.text-and-graphic" +msgstr "" + +#. TRANSLATORS: Text And Graphics +msgid "print-content-optimize.text-and-graphics" +msgstr "" + +#. TRANSLATORS: Print Objects +msgid "print-objects" +msgstr "" + +#. TRANSLATORS: Print Quality +msgid "print-quality" +msgstr "" + +#. TRANSLATORS: Draft +msgid "print-quality.3" +msgstr "" + +#. TRANSLATORS: Normal +msgid "print-quality.4" +msgstr "" + +#. TRANSLATORS: High +msgid "print-quality.5" +msgstr "" + +#. TRANSLATORS: Print Rendering Intent +msgid "print-rendering-intent" +msgstr "" + +#. TRANSLATORS: Absolute +msgid "print-rendering-intent.absolute" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-rendering-intent.auto" +msgstr "" + +#. TRANSLATORS: Perceptual +msgid "print-rendering-intent.perceptual" +msgstr "" + +#. TRANSLATORS: Relative +msgid "print-rendering-intent.relative" +msgstr "" + +#. TRANSLATORS: Relative w/Black Point Compensation +msgid "print-rendering-intent.relative-bpc" +msgstr "" + +#. TRANSLATORS: Saturation +msgid "print-rendering-intent.saturation" +msgstr "" + +#. TRANSLATORS: Print Scaling +msgid "print-scaling" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-scaling.auto" +msgstr "" + +#. TRANSLATORS: Auto-fit +msgid "print-scaling.auto-fit" +msgstr "" + +#. TRANSLATORS: Fill +msgid "print-scaling.fill" +msgstr "" + +#. TRANSLATORS: Fit +msgid "print-scaling.fit" +msgstr "" + +#. TRANSLATORS: None +msgid "print-scaling.none" +msgstr "" + +#. TRANSLATORS: Print Supports +msgid "print-supports" +msgstr "" + +#. TRANSLATORS: Print Supports Actual +msgid "print-supports-actual" +msgstr "" + +#. TRANSLATORS: With Specified Material +msgid "print-supports.material" +msgstr "" + +#. TRANSLATORS: None +msgid "print-supports.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-supports.standard" +msgstr "" + +#, c-format +msgid "printer %s disabled since %s -" +msgstr "la stampante %s è stata disabilitata da %s" + +#, c-format +msgid "printer %s is holding new jobs. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s is idle. enabled since %s" +msgstr "la stampante %s è inattiva. è stata abilitata da %s" + +#, c-format +msgid "printer %s now printing %s-%d. enabled since %s" +msgstr "la stampante %s sta stampando %s-%d. è stata abilitata da %s" + +#, c-format +msgid "printer %s/%s disabled since %s -" +msgstr "la stampante %s/%s è stata disabilitata da %s -" + +#, c-format +msgid "printer %s/%s is idle. enabled since %s" +msgstr "la stampante %s/%s è inattiva. è stata abilitata da %s" + +#, c-format +msgid "printer %s/%s now printing %s-%d. enabled since %s" +msgstr "la stampante %s/%s sta stampando %s-%d. è stata abilitata da %s" + +#. TRANSLATORS: Printer Kind +msgid "printer-kind" +msgstr "" + +#. TRANSLATORS: Disc +msgid "printer-kind.disc" +msgstr "" + +#. TRANSLATORS: Document +msgid "printer-kind.document" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "printer-kind.envelope" +msgstr "" + +#. TRANSLATORS: Label +msgid "printer-kind.label" +msgstr "" + +#. TRANSLATORS: Large Format +msgid "printer-kind.large-format" +msgstr "" + +#. TRANSLATORS: Photo +msgid "printer-kind.photo" +msgstr "" + +#. TRANSLATORS: Postcard +msgid "printer-kind.postcard" +msgstr "" + +#. TRANSLATORS: Receipt +msgid "printer-kind.receipt" +msgstr "" + +#. TRANSLATORS: Roll +msgid "printer-kind.roll" +msgstr "" + +#. TRANSLATORS: Message From Operator +msgid "printer-message-from-operator" +msgstr "" + +#. TRANSLATORS: Print Resolution +msgid "printer-resolution" +msgstr "" + +#. TRANSLATORS: Printer State +msgid "printer-state" +msgstr "" + +#. TRANSLATORS: Detailed Printer State +msgid "printer-state-reasons" +msgstr "" + +#. TRANSLATORS: Old Alerts Have Been Removed +msgid "printer-state-reasons.alert-removal-of-binary-change-entry" +msgstr "" + +#. TRANSLATORS: Bander Added +msgid "printer-state-reasons.bander-added" +msgstr "" + +#. TRANSLATORS: Bander Almost Empty +msgid "printer-state-reasons.bander-almost-empty" +msgstr "" + +#. TRANSLATORS: Bander Almost Full +msgid "printer-state-reasons.bander-almost-full" +msgstr "" + +#. TRANSLATORS: Bander At Limit +msgid "printer-state-reasons.bander-at-limit" +msgstr "" + +#. TRANSLATORS: Bander Closed +msgid "printer-state-reasons.bander-closed" +msgstr "" + +#. TRANSLATORS: Bander Configuration Change +msgid "printer-state-reasons.bander-configuration-change" +msgstr "" + +#. TRANSLATORS: Bander Cover Closed +msgid "printer-state-reasons.bander-cover-closed" +msgstr "" + +#. TRANSLATORS: Bander Cover Open +msgid "printer-state-reasons.bander-cover-open" +msgstr "" + +#. TRANSLATORS: Bander Empty +msgid "printer-state-reasons.bander-empty" +msgstr "" + +#. TRANSLATORS: Bander Full +msgid "printer-state-reasons.bander-full" +msgstr "" + +#. TRANSLATORS: Bander Interlock Closed +msgid "printer-state-reasons.bander-interlock-closed" +msgstr "" + +#. TRANSLATORS: Bander Interlock Open +msgid "printer-state-reasons.bander-interlock-open" +msgstr "" + +#. TRANSLATORS: Bander Jam +msgid "printer-state-reasons.bander-jam" +msgstr "" + +#. TRANSLATORS: Bander Life Almost Over +msgid "printer-state-reasons.bander-life-almost-over" +msgstr "" + +#. TRANSLATORS: Bander Life Over +msgid "printer-state-reasons.bander-life-over" +msgstr "" + +#. TRANSLATORS: Bander Memory Exhausted +msgid "printer-state-reasons.bander-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Bander Missing +msgid "printer-state-reasons.bander-missing" +msgstr "" + +#. TRANSLATORS: Bander Motor Failure +msgid "printer-state-reasons.bander-motor-failure" +msgstr "" + +#. TRANSLATORS: Bander Near Limit +msgid "printer-state-reasons.bander-near-limit" +msgstr "" + +#. TRANSLATORS: Bander Offline +msgid "printer-state-reasons.bander-offline" +msgstr "" + +#. TRANSLATORS: Bander Opened +msgid "printer-state-reasons.bander-opened" +msgstr "" + +#. TRANSLATORS: Bander Over Temperature +msgid "printer-state-reasons.bander-over-temperature" +msgstr "" + +#. TRANSLATORS: Bander Power Saver +msgid "printer-state-reasons.bander-power-saver" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Failure +msgid "printer-state-reasons.bander-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Storage +msgid "printer-state-reasons.bander-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Bander Removed +msgid "printer-state-reasons.bander-removed" +msgstr "" + +#. TRANSLATORS: Bander Resource Added +msgid "printer-state-reasons.bander-resource-added" +msgstr "" + +#. TRANSLATORS: Bander Resource Removed +msgid "printer-state-reasons.bander-resource-removed" +msgstr "" + +#. TRANSLATORS: Bander Thermistor Failure +msgid "printer-state-reasons.bander-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Bander Timing Failure +msgid "printer-state-reasons.bander-timing-failure" +msgstr "" + +#. TRANSLATORS: Bander Turned Off +msgid "printer-state-reasons.bander-turned-off" +msgstr "" + +#. TRANSLATORS: Bander Turned On +msgid "printer-state-reasons.bander-turned-on" +msgstr "" + +#. TRANSLATORS: Bander Under Temperature +msgid "printer-state-reasons.bander-under-temperature" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Failure +msgid "printer-state-reasons.bander-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Storage Error +msgid "printer-state-reasons.bander-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Bander Warming Up +msgid "printer-state-reasons.bander-warming-up" +msgstr "" + +#. TRANSLATORS: Binder Added +msgid "printer-state-reasons.binder-added" +msgstr "" + +#. TRANSLATORS: Binder Almost Empty +msgid "printer-state-reasons.binder-almost-empty" +msgstr "" + +#. TRANSLATORS: Binder Almost Full +msgid "printer-state-reasons.binder-almost-full" +msgstr "" + +#. TRANSLATORS: Binder At Limit +msgid "printer-state-reasons.binder-at-limit" +msgstr "" + +#. TRANSLATORS: Binder Closed +msgid "printer-state-reasons.binder-closed" +msgstr "" + +#. TRANSLATORS: Binder Configuration Change +msgid "printer-state-reasons.binder-configuration-change" +msgstr "" + +#. TRANSLATORS: Binder Cover Closed +msgid "printer-state-reasons.binder-cover-closed" +msgstr "" + +#. TRANSLATORS: Binder Cover Open +msgid "printer-state-reasons.binder-cover-open" +msgstr "" + +#. TRANSLATORS: Binder Empty +msgid "printer-state-reasons.binder-empty" +msgstr "" + +#. TRANSLATORS: Binder Full +msgid "printer-state-reasons.binder-full" +msgstr "" + +#. TRANSLATORS: Binder Interlock Closed +msgid "printer-state-reasons.binder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Binder Interlock Open +msgid "printer-state-reasons.binder-interlock-open" +msgstr "" + +#. TRANSLATORS: Binder Jam +msgid "printer-state-reasons.binder-jam" +msgstr "" + +#. TRANSLATORS: Binder Life Almost Over +msgid "printer-state-reasons.binder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Binder Life Over +msgid "printer-state-reasons.binder-life-over" +msgstr "" + +#. TRANSLATORS: Binder Memory Exhausted +msgid "printer-state-reasons.binder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Binder Missing +msgid "printer-state-reasons.binder-missing" +msgstr "" + +#. TRANSLATORS: Binder Motor Failure +msgid "printer-state-reasons.binder-motor-failure" +msgstr "" + +#. TRANSLATORS: Binder Near Limit +msgid "printer-state-reasons.binder-near-limit" +msgstr "" + +#. TRANSLATORS: Binder Offline +msgid "printer-state-reasons.binder-offline" +msgstr "" + +#. TRANSLATORS: Binder Opened +msgid "printer-state-reasons.binder-opened" +msgstr "" + +#. TRANSLATORS: Binder Over Temperature +msgid "printer-state-reasons.binder-over-temperature" +msgstr "" + +#. TRANSLATORS: Binder Power Saver +msgid "printer-state-reasons.binder-power-saver" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Failure +msgid "printer-state-reasons.binder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Storage +msgid "printer-state-reasons.binder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Binder Removed +msgid "printer-state-reasons.binder-removed" +msgstr "" + +#. TRANSLATORS: Binder Resource Added +msgid "printer-state-reasons.binder-resource-added" +msgstr "" + +#. TRANSLATORS: Binder Resource Removed +msgid "printer-state-reasons.binder-resource-removed" +msgstr "" + +#. TRANSLATORS: Binder Thermistor Failure +msgid "printer-state-reasons.binder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Binder Timing Failure +msgid "printer-state-reasons.binder-timing-failure" +msgstr "" + +#. TRANSLATORS: Binder Turned Off +msgid "printer-state-reasons.binder-turned-off" +msgstr "" + +#. TRANSLATORS: Binder Turned On +msgid "printer-state-reasons.binder-turned-on" +msgstr "" + +#. TRANSLATORS: Binder Under Temperature +msgid "printer-state-reasons.binder-under-temperature" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Failure +msgid "printer-state-reasons.binder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Storage Error +msgid "printer-state-reasons.binder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Binder Warming Up +msgid "printer-state-reasons.binder-warming-up" +msgstr "" + +#. TRANSLATORS: Camera Failure +msgid "printer-state-reasons.camera-failure" +msgstr "" + +#. TRANSLATORS: Chamber Cooling +msgid "printer-state-reasons.chamber-cooling" +msgstr "" + +#. TRANSLATORS: Chamber Failure +msgid "printer-state-reasons.chamber-failure" +msgstr "" + +#. TRANSLATORS: Chamber Heating +msgid "printer-state-reasons.chamber-heating" +msgstr "" + +#. TRANSLATORS: Chamber Temperature High +msgid "printer-state-reasons.chamber-temperature-high" +msgstr "" + +#. TRANSLATORS: Chamber Temperature Low +msgid "printer-state-reasons.chamber-temperature-low" +msgstr "" + +#. TRANSLATORS: Cleaner Life Almost Over +msgid "printer-state-reasons.cleaner-life-almost-over" +msgstr "" + +#. TRANSLATORS: Cleaner Life Over +msgid "printer-state-reasons.cleaner-life-over" +msgstr "" + +#. TRANSLATORS: Configuration Change +msgid "printer-state-reasons.configuration-change" +msgstr "" + +#. TRANSLATORS: Connecting To Device +msgid "printer-state-reasons.connecting-to-device" +msgstr "" + +#. TRANSLATORS: Cover Open +msgid "printer-state-reasons.cover-open" +msgstr "" + +#. TRANSLATORS: Deactivated +msgid "printer-state-reasons.deactivated" +msgstr "" + +#. TRANSLATORS: Developer Empty +msgid "printer-state-reasons.developer-empty" +msgstr "" + +#. TRANSLATORS: Developer Low +msgid "printer-state-reasons.developer-low" +msgstr "" + +#. TRANSLATORS: Die Cutter Added +msgid "printer-state-reasons.die-cutter-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Empty +msgid "printer-state-reasons.die-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Full +msgid "printer-state-reasons.die-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Die Cutter At Limit +msgid "printer-state-reasons.die-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Closed +msgid "printer-state-reasons.die-cutter-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Configuration Change +msgid "printer-state-reasons.die-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Closed +msgid "printer-state-reasons.die-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Open +msgid "printer-state-reasons.die-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Empty +msgid "printer-state-reasons.die-cutter-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Full +msgid "printer-state-reasons.die-cutter-full" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Closed +msgid "printer-state-reasons.die-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Open +msgid "printer-state-reasons.die-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Jam +msgid "printer-state-reasons.die-cutter-jam" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Almost Over +msgid "printer-state-reasons.die-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Over +msgid "printer-state-reasons.die-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Memory Exhausted +msgid "printer-state-reasons.die-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Die Cutter Missing +msgid "printer-state-reasons.die-cutter-missing" +msgstr "" + +#. TRANSLATORS: Die Cutter Motor Failure +msgid "printer-state-reasons.die-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Near Limit +msgid "printer-state-reasons.die-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Offline +msgid "printer-state-reasons.die-cutter-offline" +msgstr "" + +#. TRANSLATORS: Die Cutter Opened +msgid "printer-state-reasons.die-cutter-opened" +msgstr "" + +#. TRANSLATORS: Die Cutter Over Temperature +msgid "printer-state-reasons.die-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Power Saver +msgid "printer-state-reasons.die-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Failure +msgid "printer-state-reasons.die-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Storage +msgid "printer-state-reasons.die-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Die Cutter Removed +msgid "printer-state-reasons.die-cutter-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Added +msgid "printer-state-reasons.die-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Removed +msgid "printer-state-reasons.die-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Thermistor Failure +msgid "printer-state-reasons.die-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Timing Failure +msgid "printer-state-reasons.die-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned Off +msgid "printer-state-reasons.die-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned On +msgid "printer-state-reasons.die-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Die Cutter Under Temperature +msgid "printer-state-reasons.die-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Failure +msgid "printer-state-reasons.die-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.die-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Die Cutter Warming Up +msgid "printer-state-reasons.die-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Door Open +msgid "printer-state-reasons.door-open" +msgstr "" + +#. TRANSLATORS: Extruder Cooling +msgid "printer-state-reasons.extruder-cooling" +msgstr "" + +#. TRANSLATORS: Extruder Failure +msgid "printer-state-reasons.extruder-failure" +msgstr "" + +#. TRANSLATORS: Extruder Heating +msgid "printer-state-reasons.extruder-heating" +msgstr "" + +#. TRANSLATORS: Extruder Jam +msgid "printer-state-reasons.extruder-jam" +msgstr "" + +#. TRANSLATORS: Extruder Temperature High +msgid "printer-state-reasons.extruder-temperature-high" +msgstr "" + +#. TRANSLATORS: Extruder Temperature Low +msgid "printer-state-reasons.extruder-temperature-low" +msgstr "" + +#. TRANSLATORS: Fan Failure +msgid "printer-state-reasons.fan-failure" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Almost Over +msgid "printer-state-reasons.fax-modem-life-almost-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Over +msgid "printer-state-reasons.fax-modem-life-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Missing +msgid "printer-state-reasons.fax-modem-missing" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned Off +msgid "printer-state-reasons.fax-modem-turned-off" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned On +msgid "printer-state-reasons.fax-modem-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Added +msgid "printer-state-reasons.folder-added" +msgstr "" + +#. TRANSLATORS: Folder Almost Empty +msgid "printer-state-reasons.folder-almost-empty" +msgstr "" + +#. TRANSLATORS: Folder Almost Full +msgid "printer-state-reasons.folder-almost-full" +msgstr "" + +#. TRANSLATORS: Folder At Limit +msgid "printer-state-reasons.folder-at-limit" +msgstr "" + +#. TRANSLATORS: Folder Closed +msgid "printer-state-reasons.folder-closed" +msgstr "" + +#. TRANSLATORS: Folder Configuration Change +msgid "printer-state-reasons.folder-configuration-change" +msgstr "" + +#. TRANSLATORS: Folder Cover Closed +msgid "printer-state-reasons.folder-cover-closed" +msgstr "" + +#. TRANSLATORS: Folder Cover Open +msgid "printer-state-reasons.folder-cover-open" +msgstr "" + +#. TRANSLATORS: Folder Empty +msgid "printer-state-reasons.folder-empty" +msgstr "" + +#. TRANSLATORS: Folder Full +msgid "printer-state-reasons.folder-full" +msgstr "" + +#. TRANSLATORS: Folder Interlock Closed +msgid "printer-state-reasons.folder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Folder Interlock Open +msgid "printer-state-reasons.folder-interlock-open" +msgstr "" + +#. TRANSLATORS: Folder Jam +msgid "printer-state-reasons.folder-jam" +msgstr "" + +#. TRANSLATORS: Folder Life Almost Over +msgid "printer-state-reasons.folder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Folder Life Over +msgid "printer-state-reasons.folder-life-over" +msgstr "" + +#. TRANSLATORS: Folder Memory Exhausted +msgid "printer-state-reasons.folder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Folder Missing +msgid "printer-state-reasons.folder-missing" +msgstr "" + +#. TRANSLATORS: Folder Motor Failure +msgid "printer-state-reasons.folder-motor-failure" +msgstr "" + +#. TRANSLATORS: Folder Near Limit +msgid "printer-state-reasons.folder-near-limit" +msgstr "" + +#. TRANSLATORS: Folder Offline +msgid "printer-state-reasons.folder-offline" +msgstr "" + +#. TRANSLATORS: Folder Opened +msgid "printer-state-reasons.folder-opened" +msgstr "" + +#. TRANSLATORS: Folder Over Temperature +msgid "printer-state-reasons.folder-over-temperature" +msgstr "" + +#. TRANSLATORS: Folder Power Saver +msgid "printer-state-reasons.folder-power-saver" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Failure +msgid "printer-state-reasons.folder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Storage +msgid "printer-state-reasons.folder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Folder Removed +msgid "printer-state-reasons.folder-removed" +msgstr "" + +#. TRANSLATORS: Folder Resource Added +msgid "printer-state-reasons.folder-resource-added" +msgstr "" + +#. TRANSLATORS: Folder Resource Removed +msgid "printer-state-reasons.folder-resource-removed" +msgstr "" + +#. TRANSLATORS: Folder Thermistor Failure +msgid "printer-state-reasons.folder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Folder Timing Failure +msgid "printer-state-reasons.folder-timing-failure" +msgstr "" + +#. TRANSLATORS: Folder Turned Off +msgid "printer-state-reasons.folder-turned-off" +msgstr "" + +#. TRANSLATORS: Folder Turned On +msgid "printer-state-reasons.folder-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Under Temperature +msgid "printer-state-reasons.folder-under-temperature" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Failure +msgid "printer-state-reasons.folder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Storage Error +msgid "printer-state-reasons.folder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Folder Warming Up +msgid "printer-state-reasons.folder-warming-up" +msgstr "" + +#. TRANSLATORS: Fuser temperature high +msgid "printer-state-reasons.fuser-over-temp" +msgstr "" + +#. TRANSLATORS: Fuser temperature low +msgid "printer-state-reasons.fuser-under-temp" +msgstr "" + +#. TRANSLATORS: Hold New Jobs +msgid "printer-state-reasons.hold-new-jobs" +msgstr "" + +#. TRANSLATORS: Identify Printer +msgid "printer-state-reasons.identify-printer-requested" +msgstr "" + +#. TRANSLATORS: Imprinter Added +msgid "printer-state-reasons.imprinter-added" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Empty +msgid "printer-state-reasons.imprinter-almost-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Full +msgid "printer-state-reasons.imprinter-almost-full" +msgstr "" + +#. TRANSLATORS: Imprinter At Limit +msgid "printer-state-reasons.imprinter-at-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Closed +msgid "printer-state-reasons.imprinter-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Configuration Change +msgid "printer-state-reasons.imprinter-configuration-change" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Closed +msgid "printer-state-reasons.imprinter-cover-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Open +msgid "printer-state-reasons.imprinter-cover-open" +msgstr "" + +#. TRANSLATORS: Imprinter Empty +msgid "printer-state-reasons.imprinter-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Full +msgid "printer-state-reasons.imprinter-full" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Closed +msgid "printer-state-reasons.imprinter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Open +msgid "printer-state-reasons.imprinter-interlock-open" +msgstr "" + +#. TRANSLATORS: Imprinter Jam +msgid "printer-state-reasons.imprinter-jam" +msgstr "" + +#. TRANSLATORS: Imprinter Life Almost Over +msgid "printer-state-reasons.imprinter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Imprinter Life Over +msgid "printer-state-reasons.imprinter-life-over" +msgstr "" + +#. TRANSLATORS: Imprinter Memory Exhausted +msgid "printer-state-reasons.imprinter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Imprinter Missing +msgid "printer-state-reasons.imprinter-missing" +msgstr "" + +#. TRANSLATORS: Imprinter Motor Failure +msgid "printer-state-reasons.imprinter-motor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Near Limit +msgid "printer-state-reasons.imprinter-near-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Offline +msgid "printer-state-reasons.imprinter-offline" +msgstr "" + +#. TRANSLATORS: Imprinter Opened +msgid "printer-state-reasons.imprinter-opened" +msgstr "" + +#. TRANSLATORS: Imprinter Over Temperature +msgid "printer-state-reasons.imprinter-over-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Power Saver +msgid "printer-state-reasons.imprinter-power-saver" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Failure +msgid "printer-state-reasons.imprinter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Storage +msgid "printer-state-reasons.imprinter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Imprinter Removed +msgid "printer-state-reasons.imprinter-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Added +msgid "printer-state-reasons.imprinter-resource-added" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Removed +msgid "printer-state-reasons.imprinter-resource-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Thermistor Failure +msgid "printer-state-reasons.imprinter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Timing Failure +msgid "printer-state-reasons.imprinter-timing-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Turned Off +msgid "printer-state-reasons.imprinter-turned-off" +msgstr "" + +#. TRANSLATORS: Imprinter Turned On +msgid "printer-state-reasons.imprinter-turned-on" +msgstr "" + +#. TRANSLATORS: Imprinter Under Temperature +msgid "printer-state-reasons.imprinter-under-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Failure +msgid "printer-state-reasons.imprinter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Storage Error +msgid "printer-state-reasons.imprinter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Imprinter Warming Up +msgid "printer-state-reasons.imprinter-warming-up" +msgstr "" + +#. TRANSLATORS: Input Cannot Feed Size Selected +msgid "printer-state-reasons.input-cannot-feed-size-selected" +msgstr "" + +#. TRANSLATORS: Input Manual Input Request +msgid "printer-state-reasons.input-manual-input-request" +msgstr "" + +#. TRANSLATORS: Input Media Color Change +msgid "printer-state-reasons.input-media-color-change" +msgstr "" + +#. TRANSLATORS: Input Media Form Parts Change +msgid "printer-state-reasons.input-media-form-parts-change" +msgstr "" + +#. TRANSLATORS: Input Media Size Change +msgid "printer-state-reasons.input-media-size-change" +msgstr "" + +#. TRANSLATORS: Input Media Tray Failure +msgid "printer-state-reasons.input-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Input Media Tray Feed Error +msgid "printer-state-reasons.input-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Input Media Tray Jam +msgid "printer-state-reasons.input-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Input Media Type Change +msgid "printer-state-reasons.input-media-type-change" +msgstr "" + +#. TRANSLATORS: Input Media Weight Change +msgid "printer-state-reasons.input-media-weight-change" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Failure +msgid "printer-state-reasons.input-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Over +msgid "printer-state-reasons.input-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Warn +msgid "printer-state-reasons.input-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Missing +msgid "printer-state-reasons.input-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Elevation Failure +msgid "printer-state-reasons.input-tray-elevation-failure" +msgstr "" + +#. TRANSLATORS: Paper tray is missing +msgid "printer-state-reasons.input-tray-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Position Failure +msgid "printer-state-reasons.input-tray-position-failure" +msgstr "" + +#. TRANSLATORS: Inserter Added +msgid "printer-state-reasons.inserter-added" +msgstr "" + +#. TRANSLATORS: Inserter Almost Empty +msgid "printer-state-reasons.inserter-almost-empty" +msgstr "" + +#. TRANSLATORS: Inserter Almost Full +msgid "printer-state-reasons.inserter-almost-full" +msgstr "" + +#. TRANSLATORS: Inserter At Limit +msgid "printer-state-reasons.inserter-at-limit" +msgstr "" + +#. TRANSLATORS: Inserter Closed +msgid "printer-state-reasons.inserter-closed" +msgstr "" + +#. TRANSLATORS: Inserter Configuration Change +msgid "printer-state-reasons.inserter-configuration-change" +msgstr "" + +#. TRANSLATORS: Inserter Cover Closed +msgid "printer-state-reasons.inserter-cover-closed" +msgstr "" + +#. TRANSLATORS: Inserter Cover Open +msgid "printer-state-reasons.inserter-cover-open" +msgstr "" + +#. TRANSLATORS: Inserter Empty +msgid "printer-state-reasons.inserter-empty" +msgstr "" + +#. TRANSLATORS: Inserter Full +msgid "printer-state-reasons.inserter-full" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Closed +msgid "printer-state-reasons.inserter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Open +msgid "printer-state-reasons.inserter-interlock-open" +msgstr "" + +#. TRANSLATORS: Inserter Jam +msgid "printer-state-reasons.inserter-jam" +msgstr "" + +#. TRANSLATORS: Inserter Life Almost Over +msgid "printer-state-reasons.inserter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Inserter Life Over +msgid "printer-state-reasons.inserter-life-over" +msgstr "" + +#. TRANSLATORS: Inserter Memory Exhausted +msgid "printer-state-reasons.inserter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Inserter Missing +msgid "printer-state-reasons.inserter-missing" +msgstr "" + +#. TRANSLATORS: Inserter Motor Failure +msgid "printer-state-reasons.inserter-motor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Near Limit +msgid "printer-state-reasons.inserter-near-limit" +msgstr "" + +#. TRANSLATORS: Inserter Offline +msgid "printer-state-reasons.inserter-offline" +msgstr "" + +#. TRANSLATORS: Inserter Opened +msgid "printer-state-reasons.inserter-opened" +msgstr "" + +#. TRANSLATORS: Inserter Over Temperature +msgid "printer-state-reasons.inserter-over-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Power Saver +msgid "printer-state-reasons.inserter-power-saver" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Failure +msgid "printer-state-reasons.inserter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Storage +msgid "printer-state-reasons.inserter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Inserter Removed +msgid "printer-state-reasons.inserter-removed" +msgstr "" + +#. TRANSLATORS: Inserter Resource Added +msgid "printer-state-reasons.inserter-resource-added" +msgstr "" + +#. TRANSLATORS: Inserter Resource Removed +msgid "printer-state-reasons.inserter-resource-removed" +msgstr "" + +#. TRANSLATORS: Inserter Thermistor Failure +msgid "printer-state-reasons.inserter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Timing Failure +msgid "printer-state-reasons.inserter-timing-failure" +msgstr "" + +#. TRANSLATORS: Inserter Turned Off +msgid "printer-state-reasons.inserter-turned-off" +msgstr "" + +#. TRANSLATORS: Inserter Turned On +msgid "printer-state-reasons.inserter-turned-on" +msgstr "" + +#. TRANSLATORS: Inserter Under Temperature +msgid "printer-state-reasons.inserter-under-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Failure +msgid "printer-state-reasons.inserter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Storage Error +msgid "printer-state-reasons.inserter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Inserter Warming Up +msgid "printer-state-reasons.inserter-warming-up" +msgstr "" + +#. TRANSLATORS: Interlock Closed +msgid "printer-state-reasons.interlock-closed" +msgstr "" + +#. TRANSLATORS: Interlock Open +msgid "printer-state-reasons.interlock-open" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Added +msgid "printer-state-reasons.interpreter-cartridge-added" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Removed +msgid "printer-state-reasons.interpreter-cartridge-deleted" +msgstr "" + +#. TRANSLATORS: Interpreter Complex Page Encountered +msgid "printer-state-reasons.interpreter-complex-page-encountered" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Decrease +msgid "printer-state-reasons.interpreter-memory-decrease" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Increase +msgid "printer-state-reasons.interpreter-memory-increase" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Added +msgid "printer-state-reasons.interpreter-resource-added" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Deleted +msgid "printer-state-reasons.interpreter-resource-deleted" +msgstr "" + +#. TRANSLATORS: Printer resource unavailable +msgid "printer-state-reasons.interpreter-resource-unavailable" +msgstr "" + +#. TRANSLATORS: Lamp At End of Life +msgid "printer-state-reasons.lamp-at-eol" +msgstr "" + +#. TRANSLATORS: Lamp Failure +msgid "printer-state-reasons.lamp-failure" +msgstr "" + +#. TRANSLATORS: Lamp Near End of Life +msgid "printer-state-reasons.lamp-near-eol" +msgstr "" + +#. TRANSLATORS: Laser At End of Life +msgid "printer-state-reasons.laser-at-eol" +msgstr "" + +#. TRANSLATORS: Laser Failure +msgid "printer-state-reasons.laser-failure" +msgstr "" + +#. TRANSLATORS: Laser Near End of Life +msgid "printer-state-reasons.laser-near-eol" +msgstr "" + +#. TRANSLATORS: Envelope Maker Added +msgid "printer-state-reasons.make-envelope-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Empty +msgid "printer-state-reasons.make-envelope-almost-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Full +msgid "printer-state-reasons.make-envelope-almost-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker At Limit +msgid "printer-state-reasons.make-envelope-at-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Closed +msgid "printer-state-reasons.make-envelope-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Configuration Change +msgid "printer-state-reasons.make-envelope-configuration-change" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Closed +msgid "printer-state-reasons.make-envelope-cover-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Open +msgid "printer-state-reasons.make-envelope-cover-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Empty +msgid "printer-state-reasons.make-envelope-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Full +msgid "printer-state-reasons.make-envelope-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Closed +msgid "printer-state-reasons.make-envelope-interlock-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Open +msgid "printer-state-reasons.make-envelope-interlock-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Jam +msgid "printer-state-reasons.make-envelope-jam" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Almost Over +msgid "printer-state-reasons.make-envelope-life-almost-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Over +msgid "printer-state-reasons.make-envelope-life-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Memory Exhausted +msgid "printer-state-reasons.make-envelope-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Envelope Maker Missing +msgid "printer-state-reasons.make-envelope-missing" +msgstr "" + +#. TRANSLATORS: Envelope Maker Motor Failure +msgid "printer-state-reasons.make-envelope-motor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Near Limit +msgid "printer-state-reasons.make-envelope-near-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Offline +msgid "printer-state-reasons.make-envelope-offline" +msgstr "" + +#. TRANSLATORS: Envelope Maker Opened +msgid "printer-state-reasons.make-envelope-opened" +msgstr "" + +#. TRANSLATORS: Envelope Maker Over Temperature +msgid "printer-state-reasons.make-envelope-over-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Power Saver +msgid "printer-state-reasons.make-envelope-power-saver" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Failure +msgid "printer-state-reasons.make-envelope-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Storage +msgid "printer-state-reasons.make-envelope-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Envelope Maker Removed +msgid "printer-state-reasons.make-envelope-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Added +msgid "printer-state-reasons.make-envelope-resource-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Removed +msgid "printer-state-reasons.make-envelope-resource-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Thermistor Failure +msgid "printer-state-reasons.make-envelope-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Timing Failure +msgid "printer-state-reasons.make-envelope-timing-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned Off +msgid "printer-state-reasons.make-envelope-turned-off" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned On +msgid "printer-state-reasons.make-envelope-turned-on" +msgstr "" + +#. TRANSLATORS: Envelope Maker Under Temperature +msgid "printer-state-reasons.make-envelope-under-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Failure +msgid "printer-state-reasons.make-envelope-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Storage Error +msgid "printer-state-reasons.make-envelope-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Envelope Maker Warming Up +msgid "printer-state-reasons.make-envelope-warming-up" +msgstr "" + +#. TRANSLATORS: Marker Adjusting Print Quality +msgid "printer-state-reasons.marker-adjusting-print-quality" +msgstr "" + +#. TRANSLATORS: Marker Cleaner Missing +msgid "printer-state-reasons.marker-cleaner-missing" +msgstr "" + +#. TRANSLATORS: Marker Developer Almost Empty +msgid "printer-state-reasons.marker-developer-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Empty +msgid "printer-state-reasons.marker-developer-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Missing +msgid "printer-state-reasons.marker-developer-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Missing +msgid "printer-state-reasons.marker-fuser-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Thermistor Failure +msgid "printer-state-reasons.marker-fuser-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Marker Fuser Timing Failure +msgid "printer-state-reasons.marker-fuser-timing-failure" +msgstr "" + +#. TRANSLATORS: Marker Ink Almost Empty +msgid "printer-state-reasons.marker-ink-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Empty +msgid "printer-state-reasons.marker-ink-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Missing +msgid "printer-state-reasons.marker-ink-missing" +msgstr "" + +#. TRANSLATORS: Marker Opc Missing +msgid "printer-state-reasons.marker-opc-missing" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Almost Empty +msgid "printer-state-reasons.marker-print-ribbon-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Empty +msgid "printer-state-reasons.marker-print-ribbon-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Missing +msgid "printer-state-reasons.marker-print-ribbon-missing" +msgstr "" + +#. TRANSLATORS: Marker Supply Almost Empty +msgid "printer-state-reasons.marker-supply-almost-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner empty +msgid "printer-state-reasons.marker-supply-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner low +msgid "printer-state-reasons.marker-supply-low" +msgstr "" + +#. TRANSLATORS: Marker Supply Missing +msgid "printer-state-reasons.marker-supply-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Cartridge Missing +msgid "printer-state-reasons.marker-toner-cartridge-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Missing +msgid "printer-state-reasons.marker-toner-missing" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin almost full +msgid "printer-state-reasons.marker-waste-almost-full" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin full +msgid "printer-state-reasons.marker-waste-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Missing +msgid "printer-state-reasons.marker-waste-ink-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Missing +msgid "printer-state-reasons.marker-waste-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Missing +msgid "printer-state-reasons.marker-waste-toner-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Material Empty +msgid "printer-state-reasons.material-empty" +msgstr "" + +#. TRANSLATORS: Material Low +msgid "printer-state-reasons.material-low" +msgstr "" + +#. TRANSLATORS: Material Needed +msgid "printer-state-reasons.material-needed" +msgstr "" + +#. TRANSLATORS: Media Drying +msgid "printer-state-reasons.media-drying" +msgstr "" + +#. TRANSLATORS: Paper tray is empty +msgid "printer-state-reasons.media-empty" +msgstr "" + +#. TRANSLATORS: Paper jam +msgid "printer-state-reasons.media-jam" +msgstr "" + +#. TRANSLATORS: Paper tray is almost empty +msgid "printer-state-reasons.media-low" +msgstr "" + +#. TRANSLATORS: Load paper +msgid "printer-state-reasons.media-needed" +msgstr "" + +#. TRANSLATORS: Media Path Cannot Do 2-Sided Printing +msgid "printer-state-reasons.media-path-cannot-duplex-media-selected" +msgstr "" + +#. TRANSLATORS: Media Path Failure +msgid "printer-state-reasons.media-path-failure" +msgstr "" + +#. TRANSLATORS: Media Path Input Empty +msgid "printer-state-reasons.media-path-input-empty" +msgstr "" + +#. TRANSLATORS: Media Path Input Feed Error +msgid "printer-state-reasons.media-path-input-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Input Jam +msgid "printer-state-reasons.media-path-input-jam" +msgstr "" + +#. TRANSLATORS: Media Path Input Request +msgid "printer-state-reasons.media-path-input-request" +msgstr "" + +#. TRANSLATORS: Media Path Jam +msgid "printer-state-reasons.media-path-jam" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Almost Full +msgid "printer-state-reasons.media-path-media-tray-almost-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Full +msgid "printer-state-reasons.media-path-media-tray-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Missing +msgid "printer-state-reasons.media-path-media-tray-missing" +msgstr "" + +#. TRANSLATORS: Media Path Output Feed Error +msgid "printer-state-reasons.media-path-output-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Output Full +msgid "printer-state-reasons.media-path-output-full" +msgstr "" + +#. TRANSLATORS: Media Path Output Jam +msgid "printer-state-reasons.media-path-output-jam" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Failure +msgid "printer-state-reasons.media-path-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Over +msgid "printer-state-reasons.media-path-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Warn +msgid "printer-state-reasons.media-path-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Missing +msgid "printer-state-reasons.media-path-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Motor Failure +msgid "printer-state-reasons.motor-failure" +msgstr "" + +#. TRANSLATORS: Printer going offline +msgid "printer-state-reasons.moving-to-paused" +msgstr "" + +#. TRANSLATORS: None +msgid "printer-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Optical Photoconductor Life Over +msgid "printer-state-reasons.opc-life-over" +msgstr "" + +#. TRANSLATORS: OPC almost at end-of-life +msgid "printer-state-reasons.opc-near-eol" +msgstr "" + +#. TRANSLATORS: Check the printer for errors +msgid "printer-state-reasons.other" +msgstr "" + +#. TRANSLATORS: Output bin is almost full +msgid "printer-state-reasons.output-area-almost-full" +msgstr "" + +#. TRANSLATORS: Output bin is full +msgid "printer-state-reasons.output-area-full" +msgstr "" + +#. TRANSLATORS: Output Mailbox Select Failure +msgid "printer-state-reasons.output-mailbox-select-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Failure +msgid "printer-state-reasons.output-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Feed Error +msgid "printer-state-reasons.output-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Output Media Tray Jam +msgid "printer-state-reasons.output-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Output tray is missing +msgid "printer-state-reasons.output-tray-missing" +msgstr "" + +#. TRANSLATORS: Paused +msgid "printer-state-reasons.paused" +msgstr "" + +#. TRANSLATORS: Perforater Added +msgid "printer-state-reasons.perforater-added" +msgstr "" + +#. TRANSLATORS: Perforater Almost Empty +msgid "printer-state-reasons.perforater-almost-empty" +msgstr "" + +#. TRANSLATORS: Perforater Almost Full +msgid "printer-state-reasons.perforater-almost-full" +msgstr "" + +#. TRANSLATORS: Perforater At Limit +msgid "printer-state-reasons.perforater-at-limit" +msgstr "" + +#. TRANSLATORS: Perforater Closed +msgid "printer-state-reasons.perforater-closed" +msgstr "" + +#. TRANSLATORS: Perforater Configuration Change +msgid "printer-state-reasons.perforater-configuration-change" +msgstr "" + +#. TRANSLATORS: Perforater Cover Closed +msgid "printer-state-reasons.perforater-cover-closed" +msgstr "" + +#. TRANSLATORS: Perforater Cover Open +msgid "printer-state-reasons.perforater-cover-open" +msgstr "" + +#. TRANSLATORS: Perforater Empty +msgid "printer-state-reasons.perforater-empty" +msgstr "" + +#. TRANSLATORS: Perforater Full +msgid "printer-state-reasons.perforater-full" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Closed +msgid "printer-state-reasons.perforater-interlock-closed" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Open +msgid "printer-state-reasons.perforater-interlock-open" +msgstr "" + +#. TRANSLATORS: Perforater Jam +msgid "printer-state-reasons.perforater-jam" +msgstr "" + +#. TRANSLATORS: Perforater Life Almost Over +msgid "printer-state-reasons.perforater-life-almost-over" +msgstr "" + +#. TRANSLATORS: Perforater Life Over +msgid "printer-state-reasons.perforater-life-over" +msgstr "" + +#. TRANSLATORS: Perforater Memory Exhausted +msgid "printer-state-reasons.perforater-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Perforater Missing +msgid "printer-state-reasons.perforater-missing" +msgstr "" + +#. TRANSLATORS: Perforater Motor Failure +msgid "printer-state-reasons.perforater-motor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Near Limit +msgid "printer-state-reasons.perforater-near-limit" +msgstr "" + +#. TRANSLATORS: Perforater Offline +msgid "printer-state-reasons.perforater-offline" +msgstr "" + +#. TRANSLATORS: Perforater Opened +msgid "printer-state-reasons.perforater-opened" +msgstr "" + +#. TRANSLATORS: Perforater Over Temperature +msgid "printer-state-reasons.perforater-over-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Power Saver +msgid "printer-state-reasons.perforater-power-saver" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Failure +msgid "printer-state-reasons.perforater-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Storage +msgid "printer-state-reasons.perforater-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Perforater Removed +msgid "printer-state-reasons.perforater-removed" +msgstr "" + +#. TRANSLATORS: Perforater Resource Added +msgid "printer-state-reasons.perforater-resource-added" +msgstr "" + +#. TRANSLATORS: Perforater Resource Removed +msgid "printer-state-reasons.perforater-resource-removed" +msgstr "" + +#. TRANSLATORS: Perforater Thermistor Failure +msgid "printer-state-reasons.perforater-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Timing Failure +msgid "printer-state-reasons.perforater-timing-failure" +msgstr "" + +#. TRANSLATORS: Perforater Turned Off +msgid "printer-state-reasons.perforater-turned-off" +msgstr "" + +#. TRANSLATORS: Perforater Turned On +msgid "printer-state-reasons.perforater-turned-on" +msgstr "" + +#. TRANSLATORS: Perforater Under Temperature +msgid "printer-state-reasons.perforater-under-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Failure +msgid "printer-state-reasons.perforater-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Storage Error +msgid "printer-state-reasons.perforater-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Perforater Warming Up +msgid "printer-state-reasons.perforater-warming-up" +msgstr "" + +#. TRANSLATORS: Platform Cooling +msgid "printer-state-reasons.platform-cooling" +msgstr "" + +#. TRANSLATORS: Platform Failure +msgid "printer-state-reasons.platform-failure" +msgstr "" + +#. TRANSLATORS: Platform Heating +msgid "printer-state-reasons.platform-heating" +msgstr "" + +#. TRANSLATORS: Platform Temperature High +msgid "printer-state-reasons.platform-temperature-high" +msgstr "" + +#. TRANSLATORS: Platform Temperature Low +msgid "printer-state-reasons.platform-temperature-low" +msgstr "" + +#. TRANSLATORS: Power Down +msgid "printer-state-reasons.power-down" +msgstr "" + +#. TRANSLATORS: Power Up +msgid "printer-state-reasons.power-up" +msgstr "" + +#. TRANSLATORS: Printer Reset Manually +msgid "printer-state-reasons.printer-manual-reset" +msgstr "" + +#. TRANSLATORS: Printer Reset Remotely +msgid "printer-state-reasons.printer-nms-reset" +msgstr "" + +#. TRANSLATORS: Printer Ready To Print +msgid "printer-state-reasons.printer-ready-to-print" +msgstr "" + +#. TRANSLATORS: Puncher Added +msgid "printer-state-reasons.puncher-added" +msgstr "" + +#. TRANSLATORS: Puncher Almost Empty +msgid "printer-state-reasons.puncher-almost-empty" +msgstr "" + +#. TRANSLATORS: Puncher Almost Full +msgid "printer-state-reasons.puncher-almost-full" +msgstr "" + +#. TRANSLATORS: Puncher At Limit +msgid "printer-state-reasons.puncher-at-limit" +msgstr "" + +#. TRANSLATORS: Puncher Closed +msgid "printer-state-reasons.puncher-closed" +msgstr "" + +#. TRANSLATORS: Puncher Configuration Change +msgid "printer-state-reasons.puncher-configuration-change" +msgstr "" + +#. TRANSLATORS: Puncher Cover Closed +msgid "printer-state-reasons.puncher-cover-closed" +msgstr "" + +#. TRANSLATORS: Puncher Cover Open +msgid "printer-state-reasons.puncher-cover-open" +msgstr "" + +#. TRANSLATORS: Puncher Empty +msgid "printer-state-reasons.puncher-empty" +msgstr "" + +#. TRANSLATORS: Puncher Full +msgid "printer-state-reasons.puncher-full" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Closed +msgid "printer-state-reasons.puncher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Open +msgid "printer-state-reasons.puncher-interlock-open" +msgstr "" + +#. TRANSLATORS: Puncher Jam +msgid "printer-state-reasons.puncher-jam" +msgstr "" + +#. TRANSLATORS: Puncher Life Almost Over +msgid "printer-state-reasons.puncher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Puncher Life Over +msgid "printer-state-reasons.puncher-life-over" +msgstr "" + +#. TRANSLATORS: Puncher Memory Exhausted +msgid "printer-state-reasons.puncher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Puncher Missing +msgid "printer-state-reasons.puncher-missing" +msgstr "" + +#. TRANSLATORS: Puncher Motor Failure +msgid "printer-state-reasons.puncher-motor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Near Limit +msgid "printer-state-reasons.puncher-near-limit" +msgstr "" + +#. TRANSLATORS: Puncher Offline +msgid "printer-state-reasons.puncher-offline" +msgstr "" + +#. TRANSLATORS: Puncher Opened +msgid "printer-state-reasons.puncher-opened" +msgstr "" + +#. TRANSLATORS: Puncher Over Temperature +msgid "printer-state-reasons.puncher-over-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Power Saver +msgid "printer-state-reasons.puncher-power-saver" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Failure +msgid "printer-state-reasons.puncher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Storage +msgid "printer-state-reasons.puncher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Puncher Removed +msgid "printer-state-reasons.puncher-removed" +msgstr "" + +#. TRANSLATORS: Puncher Resource Added +msgid "printer-state-reasons.puncher-resource-added" +msgstr "" + +#. TRANSLATORS: Puncher Resource Removed +msgid "printer-state-reasons.puncher-resource-removed" +msgstr "" + +#. TRANSLATORS: Puncher Thermistor Failure +msgid "printer-state-reasons.puncher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Timing Failure +msgid "printer-state-reasons.puncher-timing-failure" +msgstr "" + +#. TRANSLATORS: Puncher Turned Off +msgid "printer-state-reasons.puncher-turned-off" +msgstr "" + +#. TRANSLATORS: Puncher Turned On +msgid "printer-state-reasons.puncher-turned-on" +msgstr "" + +#. TRANSLATORS: Puncher Under Temperature +msgid "printer-state-reasons.puncher-under-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Failure +msgid "printer-state-reasons.puncher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Storage Error +msgid "printer-state-reasons.puncher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Puncher Warming Up +msgid "printer-state-reasons.puncher-warming-up" +msgstr "" + +#. TRANSLATORS: Separation Cutter Added +msgid "printer-state-reasons.separation-cutter-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Empty +msgid "printer-state-reasons.separation-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Full +msgid "printer-state-reasons.separation-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter At Limit +msgid "printer-state-reasons.separation-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Closed +msgid "printer-state-reasons.separation-cutter-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Configuration Change +msgid "printer-state-reasons.separation-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Closed +msgid "printer-state-reasons.separation-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Open +msgid "printer-state-reasons.separation-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Empty +msgid "printer-state-reasons.separation-cutter-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Full +msgid "printer-state-reasons.separation-cutter-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Closed +msgid "printer-state-reasons.separation-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Open +msgid "printer-state-reasons.separation-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Jam +msgid "printer-state-reasons.separation-cutter-jam" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Almost Over +msgid "printer-state-reasons.separation-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Over +msgid "printer-state-reasons.separation-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Memory Exhausted +msgid "printer-state-reasons.separation-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Separation Cutter Missing +msgid "printer-state-reasons.separation-cutter-missing" +msgstr "" + +#. TRANSLATORS: Separation Cutter Motor Failure +msgid "printer-state-reasons.separation-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Near Limit +msgid "printer-state-reasons.separation-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Offline +msgid "printer-state-reasons.separation-cutter-offline" +msgstr "" + +#. TRANSLATORS: Separation Cutter Opened +msgid "printer-state-reasons.separation-cutter-opened" +msgstr "" + +#. TRANSLATORS: Separation Cutter Over Temperature +msgid "printer-state-reasons.separation-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Power Saver +msgid "printer-state-reasons.separation-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Failure +msgid "printer-state-reasons.separation-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Storage +msgid "printer-state-reasons.separation-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Separation Cutter Removed +msgid "printer-state-reasons.separation-cutter-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Added +msgid "printer-state-reasons.separation-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Removed +msgid "printer-state-reasons.separation-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Thermistor Failure +msgid "printer-state-reasons.separation-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Timing Failure +msgid "printer-state-reasons.separation-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned Off +msgid "printer-state-reasons.separation-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned On +msgid "printer-state-reasons.separation-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Separation Cutter Under Temperature +msgid "printer-state-reasons.separation-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Failure +msgid "printer-state-reasons.separation-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.separation-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Separation Cutter Warming Up +msgid "printer-state-reasons.separation-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Added +msgid "printer-state-reasons.sheet-rotator-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Empty +msgid "printer-state-reasons.sheet-rotator-almost-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Full +msgid "printer-state-reasons.sheet-rotator-almost-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator At Limit +msgid "printer-state-reasons.sheet-rotator-at-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Closed +msgid "printer-state-reasons.sheet-rotator-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Configuration Change +msgid "printer-state-reasons.sheet-rotator-configuration-change" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Closed +msgid "printer-state-reasons.sheet-rotator-cover-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Open +msgid "printer-state-reasons.sheet-rotator-cover-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Empty +msgid "printer-state-reasons.sheet-rotator-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Full +msgid "printer-state-reasons.sheet-rotator-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Closed +msgid "printer-state-reasons.sheet-rotator-interlock-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Open +msgid "printer-state-reasons.sheet-rotator-interlock-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Jam +msgid "printer-state-reasons.sheet-rotator-jam" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Almost Over +msgid "printer-state-reasons.sheet-rotator-life-almost-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Over +msgid "printer-state-reasons.sheet-rotator-life-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Memory Exhausted +msgid "printer-state-reasons.sheet-rotator-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Missing +msgid "printer-state-reasons.sheet-rotator-missing" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Motor Failure +msgid "printer-state-reasons.sheet-rotator-motor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Near Limit +msgid "printer-state-reasons.sheet-rotator-near-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Offline +msgid "printer-state-reasons.sheet-rotator-offline" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Opened +msgid "printer-state-reasons.sheet-rotator-opened" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Over Temperature +msgid "printer-state-reasons.sheet-rotator-over-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Power Saver +msgid "printer-state-reasons.sheet-rotator-power-saver" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Failure +msgid "printer-state-reasons.sheet-rotator-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Storage +msgid "printer-state-reasons.sheet-rotator-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Removed +msgid "printer-state-reasons.sheet-rotator-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Added +msgid "printer-state-reasons.sheet-rotator-resource-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Removed +msgid "printer-state-reasons.sheet-rotator-resource-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Thermistor Failure +msgid "printer-state-reasons.sheet-rotator-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Timing Failure +msgid "printer-state-reasons.sheet-rotator-timing-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned Off +msgid "printer-state-reasons.sheet-rotator-turned-off" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned On +msgid "printer-state-reasons.sheet-rotator-turned-on" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Under Temperature +msgid "printer-state-reasons.sheet-rotator-under-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Failure +msgid "printer-state-reasons.sheet-rotator-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +msgid "printer-state-reasons.sheet-rotator-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Warming Up +msgid "printer-state-reasons.sheet-rotator-warming-up" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "printer-state-reasons.shutdown" +msgstr "" + +#. TRANSLATORS: Slitter Added +msgid "printer-state-reasons.slitter-added" +msgstr "" + +#. TRANSLATORS: Slitter Almost Empty +msgid "printer-state-reasons.slitter-almost-empty" +msgstr "" + +#. TRANSLATORS: Slitter Almost Full +msgid "printer-state-reasons.slitter-almost-full" +msgstr "" + +#. TRANSLATORS: Slitter At Limit +msgid "printer-state-reasons.slitter-at-limit" +msgstr "" + +#. TRANSLATORS: Slitter Closed +msgid "printer-state-reasons.slitter-closed" +msgstr "" + +#. TRANSLATORS: Slitter Configuration Change +msgid "printer-state-reasons.slitter-configuration-change" +msgstr "" + +#. TRANSLATORS: Slitter Cover Closed +msgid "printer-state-reasons.slitter-cover-closed" +msgstr "" + +#. TRANSLATORS: Slitter Cover Open +msgid "printer-state-reasons.slitter-cover-open" +msgstr "" + +#. TRANSLATORS: Slitter Empty +msgid "printer-state-reasons.slitter-empty" +msgstr "" + +#. TRANSLATORS: Slitter Full +msgid "printer-state-reasons.slitter-full" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Closed +msgid "printer-state-reasons.slitter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Open +msgid "printer-state-reasons.slitter-interlock-open" +msgstr "" + +#. TRANSLATORS: Slitter Jam +msgid "printer-state-reasons.slitter-jam" +msgstr "" + +#. TRANSLATORS: Slitter Life Almost Over +msgid "printer-state-reasons.slitter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Slitter Life Over +msgid "printer-state-reasons.slitter-life-over" +msgstr "" + +#. TRANSLATORS: Slitter Memory Exhausted +msgid "printer-state-reasons.slitter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Slitter Missing +msgid "printer-state-reasons.slitter-missing" +msgstr "" + +#. TRANSLATORS: Slitter Motor Failure +msgid "printer-state-reasons.slitter-motor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Near Limit +msgid "printer-state-reasons.slitter-near-limit" +msgstr "" + +#. TRANSLATORS: Slitter Offline +msgid "printer-state-reasons.slitter-offline" +msgstr "" + +#. TRANSLATORS: Slitter Opened +msgid "printer-state-reasons.slitter-opened" +msgstr "" + +#. TRANSLATORS: Slitter Over Temperature +msgid "printer-state-reasons.slitter-over-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Power Saver +msgid "printer-state-reasons.slitter-power-saver" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Failure +msgid "printer-state-reasons.slitter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Storage +msgid "printer-state-reasons.slitter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Slitter Removed +msgid "printer-state-reasons.slitter-removed" +msgstr "" + +#. TRANSLATORS: Slitter Resource Added +msgid "printer-state-reasons.slitter-resource-added" +msgstr "" + +#. TRANSLATORS: Slitter Resource Removed +msgid "printer-state-reasons.slitter-resource-removed" +msgstr "" + +#. TRANSLATORS: Slitter Thermistor Failure +msgid "printer-state-reasons.slitter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Timing Failure +msgid "printer-state-reasons.slitter-timing-failure" +msgstr "" + +#. TRANSLATORS: Slitter Turned Off +msgid "printer-state-reasons.slitter-turned-off" +msgstr "" + +#. TRANSLATORS: Slitter Turned On +msgid "printer-state-reasons.slitter-turned-on" +msgstr "" + +#. TRANSLATORS: Slitter Under Temperature +msgid "printer-state-reasons.slitter-under-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Failure +msgid "printer-state-reasons.slitter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Storage Error +msgid "printer-state-reasons.slitter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Slitter Warming Up +msgid "printer-state-reasons.slitter-warming-up" +msgstr "" + +#. TRANSLATORS: Spool Area Full +msgid "printer-state-reasons.spool-area-full" +msgstr "" + +#. TRANSLATORS: Stacker Added +msgid "printer-state-reasons.stacker-added" +msgstr "" + +#. TRANSLATORS: Stacker Almost Empty +msgid "printer-state-reasons.stacker-almost-empty" +msgstr "" + +#. TRANSLATORS: Stacker Almost Full +msgid "printer-state-reasons.stacker-almost-full" +msgstr "" + +#. TRANSLATORS: Stacker At Limit +msgid "printer-state-reasons.stacker-at-limit" +msgstr "" + +#. TRANSLATORS: Stacker Closed +msgid "printer-state-reasons.stacker-closed" +msgstr "" + +#. TRANSLATORS: Stacker Configuration Change +msgid "printer-state-reasons.stacker-configuration-change" +msgstr "" + +#. TRANSLATORS: Stacker Cover Closed +msgid "printer-state-reasons.stacker-cover-closed" +msgstr "" + +#. TRANSLATORS: Stacker Cover Open +msgid "printer-state-reasons.stacker-cover-open" +msgstr "" + +#. TRANSLATORS: Stacker Empty +msgid "printer-state-reasons.stacker-empty" +msgstr "" + +#. TRANSLATORS: Stacker Full +msgid "printer-state-reasons.stacker-full" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Closed +msgid "printer-state-reasons.stacker-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Open +msgid "printer-state-reasons.stacker-interlock-open" +msgstr "" + +#. TRANSLATORS: Stacker Jam +msgid "printer-state-reasons.stacker-jam" +msgstr "" + +#. TRANSLATORS: Stacker Life Almost Over +msgid "printer-state-reasons.stacker-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stacker Life Over +msgid "printer-state-reasons.stacker-life-over" +msgstr "" + +#. TRANSLATORS: Stacker Memory Exhausted +msgid "printer-state-reasons.stacker-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stacker Missing +msgid "printer-state-reasons.stacker-missing" +msgstr "" + +#. TRANSLATORS: Stacker Motor Failure +msgid "printer-state-reasons.stacker-motor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Near Limit +msgid "printer-state-reasons.stacker-near-limit" +msgstr "" + +#. TRANSLATORS: Stacker Offline +msgid "printer-state-reasons.stacker-offline" +msgstr "" + +#. TRANSLATORS: Stacker Opened +msgid "printer-state-reasons.stacker-opened" +msgstr "" + +#. TRANSLATORS: Stacker Over Temperature +msgid "printer-state-reasons.stacker-over-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Power Saver +msgid "printer-state-reasons.stacker-power-saver" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Failure +msgid "printer-state-reasons.stacker-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Storage +msgid "printer-state-reasons.stacker-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stacker Removed +msgid "printer-state-reasons.stacker-removed" +msgstr "" + +#. TRANSLATORS: Stacker Resource Added +msgid "printer-state-reasons.stacker-resource-added" +msgstr "" + +#. TRANSLATORS: Stacker Resource Removed +msgid "printer-state-reasons.stacker-resource-removed" +msgstr "" + +#. TRANSLATORS: Stacker Thermistor Failure +msgid "printer-state-reasons.stacker-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Timing Failure +msgid "printer-state-reasons.stacker-timing-failure" +msgstr "" + +#. TRANSLATORS: Stacker Turned Off +msgid "printer-state-reasons.stacker-turned-off" +msgstr "" + +#. TRANSLATORS: Stacker Turned On +msgid "printer-state-reasons.stacker-turned-on" +msgstr "" + +#. TRANSLATORS: Stacker Under Temperature +msgid "printer-state-reasons.stacker-under-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Failure +msgid "printer-state-reasons.stacker-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Storage Error +msgid "printer-state-reasons.stacker-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stacker Warming Up +msgid "printer-state-reasons.stacker-warming-up" +msgstr "" + +#. TRANSLATORS: Stapler Added +msgid "printer-state-reasons.stapler-added" +msgstr "" + +#. TRANSLATORS: Stapler Almost Empty +msgid "printer-state-reasons.stapler-almost-empty" +msgstr "" + +#. TRANSLATORS: Stapler Almost Full +msgid "printer-state-reasons.stapler-almost-full" +msgstr "" + +#. TRANSLATORS: Stapler At Limit +msgid "printer-state-reasons.stapler-at-limit" +msgstr "" + +#. TRANSLATORS: Stapler Closed +msgid "printer-state-reasons.stapler-closed" +msgstr "" + +#. TRANSLATORS: Stapler Configuration Change +msgid "printer-state-reasons.stapler-configuration-change" +msgstr "" + +#. TRANSLATORS: Stapler Cover Closed +msgid "printer-state-reasons.stapler-cover-closed" +msgstr "" + +#. TRANSLATORS: Stapler Cover Open +msgid "printer-state-reasons.stapler-cover-open" +msgstr "" + +#. TRANSLATORS: Stapler Empty +msgid "printer-state-reasons.stapler-empty" +msgstr "" + +#. TRANSLATORS: Stapler Full +msgid "printer-state-reasons.stapler-full" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Closed +msgid "printer-state-reasons.stapler-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Open +msgid "printer-state-reasons.stapler-interlock-open" +msgstr "" + +#. TRANSLATORS: Stapler Jam +msgid "printer-state-reasons.stapler-jam" +msgstr "" + +#. TRANSLATORS: Stapler Life Almost Over +msgid "printer-state-reasons.stapler-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stapler Life Over +msgid "printer-state-reasons.stapler-life-over" +msgstr "" + +#. TRANSLATORS: Stapler Memory Exhausted +msgid "printer-state-reasons.stapler-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stapler Missing +msgid "printer-state-reasons.stapler-missing" +msgstr "" + +#. TRANSLATORS: Stapler Motor Failure +msgid "printer-state-reasons.stapler-motor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Near Limit +msgid "printer-state-reasons.stapler-near-limit" +msgstr "" + +#. TRANSLATORS: Stapler Offline +msgid "printer-state-reasons.stapler-offline" +msgstr "" + +#. TRANSLATORS: Stapler Opened +msgid "printer-state-reasons.stapler-opened" +msgstr "" + +#. TRANSLATORS: Stapler Over Temperature +msgid "printer-state-reasons.stapler-over-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Power Saver +msgid "printer-state-reasons.stapler-power-saver" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Failure +msgid "printer-state-reasons.stapler-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Storage +msgid "printer-state-reasons.stapler-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stapler Removed +msgid "printer-state-reasons.stapler-removed" +msgstr "" + +#. TRANSLATORS: Stapler Resource Added +msgid "printer-state-reasons.stapler-resource-added" +msgstr "" + +#. TRANSLATORS: Stapler Resource Removed +msgid "printer-state-reasons.stapler-resource-removed" +msgstr "" + +#. TRANSLATORS: Stapler Thermistor Failure +msgid "printer-state-reasons.stapler-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Timing Failure +msgid "printer-state-reasons.stapler-timing-failure" +msgstr "" + +#. TRANSLATORS: Stapler Turned Off +msgid "printer-state-reasons.stapler-turned-off" +msgstr "" + +#. TRANSLATORS: Stapler Turned On +msgid "printer-state-reasons.stapler-turned-on" +msgstr "" + +#. TRANSLATORS: Stapler Under Temperature +msgid "printer-state-reasons.stapler-under-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Failure +msgid "printer-state-reasons.stapler-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Storage Error +msgid "printer-state-reasons.stapler-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stapler Warming Up +msgid "printer-state-reasons.stapler-warming-up" +msgstr "" + +#. TRANSLATORS: Stitcher Added +msgid "printer-state-reasons.stitcher-added" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Empty +msgid "printer-state-reasons.stitcher-almost-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Full +msgid "printer-state-reasons.stitcher-almost-full" +msgstr "" + +#. TRANSLATORS: Stitcher At Limit +msgid "printer-state-reasons.stitcher-at-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Closed +msgid "printer-state-reasons.stitcher-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Configuration Change +msgid "printer-state-reasons.stitcher-configuration-change" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Closed +msgid "printer-state-reasons.stitcher-cover-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Open +msgid "printer-state-reasons.stitcher-cover-open" +msgstr "" + +#. TRANSLATORS: Stitcher Empty +msgid "printer-state-reasons.stitcher-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Full +msgid "printer-state-reasons.stitcher-full" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Closed +msgid "printer-state-reasons.stitcher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Open +msgid "printer-state-reasons.stitcher-interlock-open" +msgstr "" + +#. TRANSLATORS: Stitcher Jam +msgid "printer-state-reasons.stitcher-jam" +msgstr "" + +#. TRANSLATORS: Stitcher Life Almost Over +msgid "printer-state-reasons.stitcher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stitcher Life Over +msgid "printer-state-reasons.stitcher-life-over" +msgstr "" + +#. TRANSLATORS: Stitcher Memory Exhausted +msgid "printer-state-reasons.stitcher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stitcher Missing +msgid "printer-state-reasons.stitcher-missing" +msgstr "" + +#. TRANSLATORS: Stitcher Motor Failure +msgid "printer-state-reasons.stitcher-motor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Near Limit +msgid "printer-state-reasons.stitcher-near-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Offline +msgid "printer-state-reasons.stitcher-offline" +msgstr "" + +#. TRANSLATORS: Stitcher Opened +msgid "printer-state-reasons.stitcher-opened" +msgstr "" + +#. TRANSLATORS: Stitcher Over Temperature +msgid "printer-state-reasons.stitcher-over-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Power Saver +msgid "printer-state-reasons.stitcher-power-saver" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Failure +msgid "printer-state-reasons.stitcher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Storage +msgid "printer-state-reasons.stitcher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stitcher Removed +msgid "printer-state-reasons.stitcher-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Added +msgid "printer-state-reasons.stitcher-resource-added" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Removed +msgid "printer-state-reasons.stitcher-resource-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Thermistor Failure +msgid "printer-state-reasons.stitcher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Timing Failure +msgid "printer-state-reasons.stitcher-timing-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Turned Off +msgid "printer-state-reasons.stitcher-turned-off" +msgstr "" + +#. TRANSLATORS: Stitcher Turned On +msgid "printer-state-reasons.stitcher-turned-on" +msgstr "" + +#. TRANSLATORS: Stitcher Under Temperature +msgid "printer-state-reasons.stitcher-under-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Failure +msgid "printer-state-reasons.stitcher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Storage Error +msgid "printer-state-reasons.stitcher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stitcher Warming Up +msgid "printer-state-reasons.stitcher-warming-up" +msgstr "" + +#. TRANSLATORS: Partially stopped +msgid "printer-state-reasons.stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "printer-state-reasons.stopping" +msgstr "" + +#. TRANSLATORS: Subunit Added +msgid "printer-state-reasons.subunit-added" +msgstr "" + +#. TRANSLATORS: Subunit Almost Empty +msgid "printer-state-reasons.subunit-almost-empty" +msgstr "" + +#. TRANSLATORS: Subunit Almost Full +msgid "printer-state-reasons.subunit-almost-full" +msgstr "" + +#. TRANSLATORS: Subunit At Limit +msgid "printer-state-reasons.subunit-at-limit" +msgstr "" + +#. TRANSLATORS: Subunit Closed +msgid "printer-state-reasons.subunit-closed" +msgstr "" + +#. TRANSLATORS: Subunit Cooling Down +msgid "printer-state-reasons.subunit-cooling-down" +msgstr "" + +#. TRANSLATORS: Subunit Empty +msgid "printer-state-reasons.subunit-empty" +msgstr "" + +#. TRANSLATORS: Subunit Full +msgid "printer-state-reasons.subunit-full" +msgstr "" + +#. TRANSLATORS: Subunit Life Almost Over +msgid "printer-state-reasons.subunit-life-almost-over" +msgstr "" + +#. TRANSLATORS: Subunit Life Over +msgid "printer-state-reasons.subunit-life-over" +msgstr "" + +#. TRANSLATORS: Subunit Memory Exhausted +msgid "printer-state-reasons.subunit-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Subunit Missing +msgid "printer-state-reasons.subunit-missing" +msgstr "" + +#. TRANSLATORS: Subunit Motor Failure +msgid "printer-state-reasons.subunit-motor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Near Limit +msgid "printer-state-reasons.subunit-near-limit" +msgstr "" + +#. TRANSLATORS: Subunit Offline +msgid "printer-state-reasons.subunit-offline" +msgstr "" + +#. TRANSLATORS: Subunit Opened +msgid "printer-state-reasons.subunit-opened" +msgstr "" + +#. TRANSLATORS: Subunit Over Temperature +msgid "printer-state-reasons.subunit-over-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Power Saver +msgid "printer-state-reasons.subunit-power-saver" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Failure +msgid "printer-state-reasons.subunit-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Storage +msgid "printer-state-reasons.subunit-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Removed +msgid "printer-state-reasons.subunit-removed" +msgstr "" + +#. TRANSLATORS: Subunit Resource Added +msgid "printer-state-reasons.subunit-resource-added" +msgstr "" + +#. TRANSLATORS: Subunit Resource Removed +msgid "printer-state-reasons.subunit-resource-removed" +msgstr "" + +#. TRANSLATORS: Subunit Thermistor Failure +msgid "printer-state-reasons.subunit-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Timing Failure +msgid "printer-state-reasons.subunit-timing-Failure" +msgstr "" + +#. TRANSLATORS: Subunit Turned Off +msgid "printer-state-reasons.subunit-turned-off" +msgstr "" + +#. TRANSLATORS: Subunit Turned On +msgid "printer-state-reasons.subunit-turned-on" +msgstr "" + +#. TRANSLATORS: Subunit Under Temperature +msgid "printer-state-reasons.subunit-under-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Failure +msgid "printer-state-reasons.subunit-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Storage +msgid "printer-state-reasons.subunit-unrecoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Warming Up +msgid "printer-state-reasons.subunit-warming-up" +msgstr "" + +#. TRANSLATORS: Printer stopped responding +msgid "printer-state-reasons.timed-out" +msgstr "" + +#. TRANSLATORS: Out of toner +msgid "printer-state-reasons.toner-empty" +msgstr "" + +#. TRANSLATORS: Toner low +msgid "printer-state-reasons.toner-low" +msgstr "" + +#. TRANSLATORS: Trimmer Added +msgid "printer-state-reasons.trimmer-added" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Empty +msgid "printer-state-reasons.trimmer-almost-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Full +msgid "printer-state-reasons.trimmer-almost-full" +msgstr "" + +#. TRANSLATORS: Trimmer At Limit +msgid "printer-state-reasons.trimmer-at-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Closed +msgid "printer-state-reasons.trimmer-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Configuration Change +msgid "printer-state-reasons.trimmer-configuration-change" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Closed +msgid "printer-state-reasons.trimmer-cover-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Open +msgid "printer-state-reasons.trimmer-cover-open" +msgstr "" + +#. TRANSLATORS: Trimmer Empty +msgid "printer-state-reasons.trimmer-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Full +msgid "printer-state-reasons.trimmer-full" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Closed +msgid "printer-state-reasons.trimmer-interlock-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Open +msgid "printer-state-reasons.trimmer-interlock-open" +msgstr "" + +#. TRANSLATORS: Trimmer Jam +msgid "printer-state-reasons.trimmer-jam" +msgstr "" + +#. TRANSLATORS: Trimmer Life Almost Over +msgid "printer-state-reasons.trimmer-life-almost-over" +msgstr "" + +#. TRANSLATORS: Trimmer Life Over +msgid "printer-state-reasons.trimmer-life-over" +msgstr "" + +#. TRANSLATORS: Trimmer Memory Exhausted +msgid "printer-state-reasons.trimmer-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Trimmer Missing +msgid "printer-state-reasons.trimmer-missing" +msgstr "" + +#. TRANSLATORS: Trimmer Motor Failure +msgid "printer-state-reasons.trimmer-motor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Near Limit +msgid "printer-state-reasons.trimmer-near-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Offline +msgid "printer-state-reasons.trimmer-offline" +msgstr "" + +#. TRANSLATORS: Trimmer Opened +msgid "printer-state-reasons.trimmer-opened" +msgstr "" + +#. TRANSLATORS: Trimmer Over Temperature +msgid "printer-state-reasons.trimmer-over-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Power Saver +msgid "printer-state-reasons.trimmer-power-saver" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Failure +msgid "printer-state-reasons.trimmer-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Storage +msgid "printer-state-reasons.trimmer-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Trimmer Removed +msgid "printer-state-reasons.trimmer-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Added +msgid "printer-state-reasons.trimmer-resource-added" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Removed +msgid "printer-state-reasons.trimmer-resource-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Thermistor Failure +msgid "printer-state-reasons.trimmer-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Timing Failure +msgid "printer-state-reasons.trimmer-timing-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Turned Off +msgid "printer-state-reasons.trimmer-turned-off" +msgstr "" + +#. TRANSLATORS: Trimmer Turned On +msgid "printer-state-reasons.trimmer-turned-on" +msgstr "" + +#. TRANSLATORS: Trimmer Under Temperature +msgid "printer-state-reasons.trimmer-under-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Failure +msgid "printer-state-reasons.trimmer-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Storage Error +msgid "printer-state-reasons.trimmer-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Trimmer Warming Up +msgid "printer-state-reasons.trimmer-warming-up" +msgstr "" + +#. TRANSLATORS: Unknown +msgid "printer-state-reasons.unknown" +msgstr "" + +#. TRANSLATORS: Wrapper Added +msgid "printer-state-reasons.wrapper-added" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Empty +msgid "printer-state-reasons.wrapper-almost-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Full +msgid "printer-state-reasons.wrapper-almost-full" +msgstr "" + +#. TRANSLATORS: Wrapper At Limit +msgid "printer-state-reasons.wrapper-at-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Closed +msgid "printer-state-reasons.wrapper-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Configuration Change +msgid "printer-state-reasons.wrapper-configuration-change" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Closed +msgid "printer-state-reasons.wrapper-cover-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Open +msgid "printer-state-reasons.wrapper-cover-open" +msgstr "" + +#. TRANSLATORS: Wrapper Empty +msgid "printer-state-reasons.wrapper-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Full +msgid "printer-state-reasons.wrapper-full" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Closed +msgid "printer-state-reasons.wrapper-interlock-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Open +msgid "printer-state-reasons.wrapper-interlock-open" +msgstr "" + +#. TRANSLATORS: Wrapper Jam +msgid "printer-state-reasons.wrapper-jam" +msgstr "" + +#. TRANSLATORS: Wrapper Life Almost Over +msgid "printer-state-reasons.wrapper-life-almost-over" +msgstr "" + +#. TRANSLATORS: Wrapper Life Over +msgid "printer-state-reasons.wrapper-life-over" +msgstr "" + +#. TRANSLATORS: Wrapper Memory Exhausted +msgid "printer-state-reasons.wrapper-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Wrapper Missing +msgid "printer-state-reasons.wrapper-missing" +msgstr "" + +#. TRANSLATORS: Wrapper Motor Failure +msgid "printer-state-reasons.wrapper-motor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Near Limit +msgid "printer-state-reasons.wrapper-near-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Offline +msgid "printer-state-reasons.wrapper-offline" +msgstr "" + +#. TRANSLATORS: Wrapper Opened +msgid "printer-state-reasons.wrapper-opened" +msgstr "" + +#. TRANSLATORS: Wrapper Over Temperature +msgid "printer-state-reasons.wrapper-over-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Power Saver +msgid "printer-state-reasons.wrapper-power-saver" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Failure +msgid "printer-state-reasons.wrapper-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Storage +msgid "printer-state-reasons.wrapper-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Wrapper Removed +msgid "printer-state-reasons.wrapper-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Added +msgid "printer-state-reasons.wrapper-resource-added" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Removed +msgid "printer-state-reasons.wrapper-resource-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Thermistor Failure +msgid "printer-state-reasons.wrapper-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Timing Failure +msgid "printer-state-reasons.wrapper-timing-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Turned Off +msgid "printer-state-reasons.wrapper-turned-off" +msgstr "" + +#. TRANSLATORS: Wrapper Turned On +msgid "printer-state-reasons.wrapper-turned-on" +msgstr "" + +#. TRANSLATORS: Wrapper Under Temperature +msgid "printer-state-reasons.wrapper-under-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Failure +msgid "printer-state-reasons.wrapper-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Storage Error +msgid "printer-state-reasons.wrapper-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Wrapper Warming Up +msgid "printer-state-reasons.wrapper-warming-up" +msgstr "" + +#. TRANSLATORS: Idle +msgid "printer-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "printer-state.4" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "printer-state.5" +msgstr "" + +#. TRANSLATORS: Printer Uptime +msgid "printer-up-time" +msgstr "" + +msgid "processing" +msgstr "elaborazione in corso" + +#. TRANSLATORS: Proof Print +msgid "proof-print" +msgstr "" + +#. TRANSLATORS: Proof Print Copies +msgid "proof-print-copies" +msgstr "" + +#. TRANSLATORS: Punching +msgid "punching" +msgstr "" + +#. TRANSLATORS: Punching Locations +msgid "punching-locations" +msgstr "" + +#. TRANSLATORS: Punching Offset +msgid "punching-offset" +msgstr "" + +#. TRANSLATORS: Punch Edge +msgid "punching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "punching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "punching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "punching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "punching-reference-edge.top" +msgstr "" + +#, c-format +msgid "request id is %s-%d (%d file(s))" +msgstr "request id è %s-%d (%d file(s))" + +msgid "request-id uses indefinite length" +msgstr "request-id utilizza una lunghezza indefinita" + +#. TRANSLATORS: Requested Attributes +msgid "requested-attributes" +msgstr "" + +#. TRANSLATORS: Retry Interval +msgid "retry-interval" +msgstr "" + +#. TRANSLATORS: Retry Timeout +msgid "retry-time-out" +msgstr "" + +#. TRANSLATORS: Save Disposition +msgid "save-disposition" +msgstr "" + +#. TRANSLATORS: None +msgid "save-disposition.none" +msgstr "" + +#. TRANSLATORS: Print and Save +msgid "save-disposition.print-save" +msgstr "" + +#. TRANSLATORS: Save Only +msgid "save-disposition.save-only" +msgstr "" + +#. TRANSLATORS: Save Document Format +msgid "save-document-format" +msgstr "" + +#. TRANSLATORS: Save Info +msgid "save-info" +msgstr "" + +#. TRANSLATORS: Save Location +msgid "save-location" +msgstr "" + +#. TRANSLATORS: Save Name +msgid "save-name" +msgstr "" + +msgid "scheduler is not running" +msgstr "lo scheduler non è in funzione" + +msgid "scheduler is running" +msgstr "lo scheduler è in funzione" + +#. TRANSLATORS: Separator Sheets +msgid "separator-sheets" +msgstr "" + +#. TRANSLATORS: Type of Separator Sheets +msgid "separator-sheets-type" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "separator-sheets-type.both-sheets" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "separator-sheets-type.end-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "separator-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Slip Sheets +msgid "separator-sheets-type.slip-sheets" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "separator-sheets-type.start-sheet" +msgstr "" + +#. TRANSLATORS: 2-Sided Printing +msgid "sides" +msgstr "" + +#. TRANSLATORS: Off +msgid "sides.one-sided" +msgstr "" + +#. TRANSLATORS: On (Portrait) +msgid "sides.two-sided-long-edge" +msgstr "" + +#. TRANSLATORS: On (Landscape) +msgid "sides.two-sided-short-edge" +msgstr "" + +#, c-format +msgid "stat of %s failed: %s" +msgstr "stat di %s non riuscito: %s" + +msgid "status\t\tShow status of daemon and queue." +msgstr "stato\t\tMostra lo stato del demone e della coda." + +#. TRANSLATORS: Status Message +msgid "status-message" +msgstr "" + +#. TRANSLATORS: Staple +msgid "stitching" +msgstr "" + +#. TRANSLATORS: Stitching Angle +msgid "stitching-angle" +msgstr "" + +#. TRANSLATORS: Stitching Locations +msgid "stitching-locations" +msgstr "" + +#. TRANSLATORS: Staple Method +msgid "stitching-method" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "stitching-method.auto" +msgstr "" + +#. TRANSLATORS: Crimp +msgid "stitching-method.crimp" +msgstr "" + +#. TRANSLATORS: Wire +msgid "stitching-method.wire" +msgstr "" + +#. TRANSLATORS: Stitching Offset +msgid "stitching-offset" +msgstr "" + +#. TRANSLATORS: Staple Edge +msgid "stitching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "stitching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "stitching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "stitching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "stitching-reference-edge.top" +msgstr "" + +msgid "stopped" +msgstr "fermato" + +#. TRANSLATORS: Subject +msgid "subject" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Attributes +msgid "subscription-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Subscription Description +msgid "subscription-privacy-attributes.subscription-description" +msgstr "" + +#. TRANSLATORS: Subscription Template +msgid "subscription-privacy-attributes.subscription-template" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Scope +msgid "subscription-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "subscription-privacy-scope.owner" +msgstr "" + +#, c-format +msgid "system default destination: %s" +msgstr "destinazione predefinita del sistema: %s" + +#, c-format +msgid "system default destination: %s/%s" +msgstr "destinazione predefinita del sistema: %s/%s" + +#. TRANSLATORS: T33 Subaddress +msgid "t33-subaddress" +msgstr "T33 Subaddress" + +#. TRANSLATORS: To Name +msgid "to-name" +msgstr "" + +#. TRANSLATORS: Transmission Status +msgid "transmission-status" +msgstr "" + +#. TRANSLATORS: Pending +msgid "transmission-status.3" +msgstr "" + +#. TRANSLATORS: Pending Retry +msgid "transmission-status.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "transmission-status.5" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "transmission-status.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "transmission-status.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "transmission-status.9" +msgstr "" + +#. TRANSLATORS: Cut +msgid "trimming" +msgstr "" + +#. TRANSLATORS: Cut Position +msgid "trimming-offset" +msgstr "" + +#. TRANSLATORS: Cut Edge +msgid "trimming-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "trimming-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "trimming-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "trimming-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "trimming-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Type of Cut +msgid "trimming-type" +msgstr "" + +#. TRANSLATORS: Draw Line +msgid "trimming-type.draw-line" +msgstr "" + +#. TRANSLATORS: Full +msgid "trimming-type.full" +msgstr "" + +#. TRANSLATORS: Partial +msgid "trimming-type.partial" +msgstr "" + +#. TRANSLATORS: Perforate +msgid "trimming-type.perforate" +msgstr "" + +#. TRANSLATORS: Score +msgid "trimming-type.score" +msgstr "" + +#. TRANSLATORS: Tab +msgid "trimming-type.tab" +msgstr "" + +#. TRANSLATORS: Cut After +msgid "trimming-when" +msgstr "" + +#. TRANSLATORS: Every Document +msgid "trimming-when.after-documents" +msgstr "" + +#. TRANSLATORS: Job +msgid "trimming-when.after-job" +msgstr "" + +#. TRANSLATORS: Every Set +msgid "trimming-when.after-sets" +msgstr "" + +#. TRANSLATORS: Every Page +msgid "trimming-when.after-sheets" +msgstr "" + +msgid "unknown" +msgstr "sconosciuto" + +msgid "untitled" +msgstr "senza titolo" + +msgid "variable-bindings uses indefinite length" +msgstr "variable-bindings utilizza una lunghezza indefinita" + +#. TRANSLATORS: X Accuracy +msgid "x-accuracy" +msgstr "" + +#. TRANSLATORS: X Dimension +msgid "x-dimension" +msgstr "" + +#. TRANSLATORS: X Offset +msgid "x-offset" +msgstr "" + +#. TRANSLATORS: X Origin +msgid "x-origin" +msgstr "" + +#. TRANSLATORS: Y Accuracy +msgid "y-accuracy" +msgstr "" + +#. TRANSLATORS: Y Dimension +msgid "y-dimension" +msgstr "" + +#. TRANSLATORS: Y Offset +msgid "y-offset" +msgstr "" + +#. TRANSLATORS: Y Origin +msgid "y-origin" +msgstr "" + +#. TRANSLATORS: Z Accuracy +msgid "z-accuracy" +msgstr "" + +#. TRANSLATORS: Z Dimension +msgid "z-dimension" +msgstr "" + +#. TRANSLATORS: Z Offset +msgid "z-offset" +msgstr "" + +msgid "{service_domain} Domain name" +msgstr "" + +msgid "{service_hostname} Fully-qualified domain name" +msgstr "" + +msgid "{service_name} Service instance name" +msgstr "" + +msgid "{service_port} Port number" +msgstr "" + +msgid "{service_regtype} DNS-SD registration type" +msgstr "" + +msgid "{service_scheme} URI scheme" +msgstr "" + +msgid "{service_uri} URI" +msgstr "" + +msgid "{txt_*} Value of TXT record key" +msgstr "" + +msgid "{} URI" +msgstr "" + +msgid "~/.cups/lpoptions file names default destination that does not exist." +msgstr "" + +#~ msgid "A Samba password is required to export printer drivers" +#~ msgstr "" +#~ "Per esportare i driver della stampante è richiesta una password di Samba." + +#~ msgid "A Samba username is required to export printer drivers" +#~ msgstr "" +#~ "Per esportare i driver della stampante è richiesto un username di Samba" + +#~ msgid "Export Printers to Samba" +#~ msgstr "Esporta le stampanti per Samba" + +#~ msgid "cupsctl: Cannot set Listen or Port directly." +#~ msgstr "cupsctl: non è possibile impostare direttamente Listen o Port." + +#~ msgid "lpadmin: Unable to open PPD file \"%s\" - %s" +#~ msgstr "lpadmin: non è possibile aprile il file PPD \"%s\" - %s" diff --git a/locale/cups_ja.po b/locale/cups_ja.po new file mode 100644 index 0000000..b47e7f1 --- /dev/null +++ b/locale/cups_ja.po @@ -0,0 +1,15179 @@ +# +# Japanese message catalog for CUPS. +# +# Copyright © 2007-2018 by Apple Inc. +# Copyright © 2005-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +msgid "" +msgstr "" +"Project-Id-Version: CUPS 2.3\n" +"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n" +"POT-Creation-Date: 2019-08-23 09:13-0400\n" +"PO-Revision-Date: 2014-11-15 19:27+0900\n" +"Last-Translator: OPFC TRANSCUPS \n" +"Language-Team: Japanese - OPFC TRANSCUPS \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "\t\t(all)" +msgstr "\t\t(すべて)" + +msgid "\t\t(none)" +msgstr "\t\t(なし)" + +#, c-format +msgid "\t%d entries" +msgstr "\t%d エントリー" + +#, c-format +msgid "\t%s" +msgstr "\t%s" + +msgid "\tAfter fault: continue" +msgstr "\t失敗後: 継続" + +#, c-format +msgid "\tAlerts: %s" +msgstr "\t警告: %s" + +msgid "\tBanner required" +msgstr "\tバナーが必要" + +msgid "\tCharset sets:" +msgstr "\t文字セット:" + +msgid "\tConnection: direct" +msgstr "\t接続: 直結" + +msgid "\tConnection: remote" +msgstr "\t接続: リモート" + +msgid "\tContent types: any" +msgstr "\tコンテンツの種類: すべて" + +msgid "\tDefault page size:" +msgstr "\tデフォルト用紙サイズ:" + +msgid "\tDefault pitch:" +msgstr "\tデフォルトピッチ:" + +msgid "\tDefault port settings:" +msgstr "\tデフォルトポート設定:" + +#, c-format +msgid "\tDescription: %s" +msgstr "\t説明: %s" + +msgid "\tForm mounted:" +msgstr "\t設定されたフォーム:" + +msgid "\tForms allowed:" +msgstr "\t許可されているフォーム:" + +#, c-format +msgid "\tInterface: %s.ppd" +msgstr "\tインターフェイス: %s.ppd" + +#, c-format +msgid "\tInterface: %s/ppd/%s.ppd" +msgstr "\tインターフェイス: %s/ppd/%s.ppd" + +#, c-format +msgid "\tLocation: %s" +msgstr "\t場所: %s" + +msgid "\tOn fault: no alert" +msgstr "\t失敗時: 警告なし" + +msgid "\tPrinter types: unknown" +msgstr "\tプリンターの種類: 不明" + +#, c-format +msgid "\tStatus: %s" +msgstr "\tステータス: %s" + +msgid "\tUsers allowed:" +msgstr "\t許可されているユーザー:" + +msgid "\tUsers denied:" +msgstr "\t禁止されているユーザー:" + +msgid "\tdaemon present" +msgstr "\tデーモンは提供されています" + +msgid "\tno entries" +msgstr "\tエントリーがありません" + +#, c-format +msgid "\tprinter is on device '%s' speed -1" +msgstr "\tデバイス '%s' 上のプリンター 速度 -1" + +msgid "\tprinting is disabled" +msgstr "\t印刷は無効です" + +msgid "\tprinting is enabled" +msgstr "\t印刷は有効です" + +#, c-format +msgid "\tqueued for %s" +msgstr "\t%s にキューしました" + +msgid "\tqueuing is disabled" +msgstr "\tキューは無効です" + +msgid "\tqueuing is enabled" +msgstr "\tキューは有効です" + +msgid "\treason unknown" +msgstr "\t未知の理由" + +msgid "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" +msgstr "" +"\n" +" 適合テスト結果詳細" + +msgid " REF: Page 15, section 3.1." +msgstr " 参照: 15 ページ、セクション 3.1。" + +msgid " REF: Page 15, section 3.2." +msgstr " 参照: 15 ページ、セクション 3.2。" + +msgid " REF: Page 19, section 3.3." +msgstr " 参照: 19 ページ、セクション 3.3。" + +msgid " REF: Page 20, section 3.4." +msgstr " 参照: 20 ページ、セクション 3.4。" + +msgid " REF: Page 27, section 3.5." +msgstr " 参照: 27 ページ、セクション 3.5。" + +msgid " REF: Page 42, section 5.2." +msgstr " 参照: 42 ページ、セクション 5.2。" + +msgid " REF: Pages 16-17, section 3.2." +msgstr " 参照: 16-17 ページ、セクション 3.2。" + +msgid " REF: Pages 42-45, section 5.2." +msgstr " 参照: 42-45 ページ、セクション 5.2。" + +msgid " REF: Pages 45-46, section 5.2." +msgstr " 参照: 45-46 ページ、セクション 5.2。" + +msgid " REF: Pages 48-49, section 5.2." +msgstr " 参照: 48-49 ページ、セクション 5.2。" + +msgid " REF: Pages 52-54, section 5.2." +msgstr " 参照: 52-54 ページ、セクション 5.2。" + +#, c-format +msgid " %-39.39s %.0f bytes" +msgstr " %-39.39s %.0f バイト" + +#, c-format +msgid " PASS Default%s" +msgstr " 合格 Default%s" + +msgid " PASS DefaultImageableArea" +msgstr " 合格 DefaultImageableArea" + +msgid " PASS DefaultPaperDimension" +msgstr " 合格 DefaultPaperDimension" + +msgid " PASS FileVersion" +msgstr " 合格 FileVersion" + +msgid " PASS FormatVersion" +msgstr " 合格 FormatVersion" + +msgid " PASS LanguageEncoding" +msgstr " 合格 LanguageEncoding" + +msgid " PASS LanguageVersion" +msgstr " 合格 LanguageVersion" + +msgid " PASS Manufacturer" +msgstr " 合格 Manufacturer" + +msgid " PASS ModelName" +msgstr " 合格 ModelName" + +msgid " PASS NickName" +msgstr " 合格 NickName" + +msgid " PASS PCFileName" +msgstr " 合格 PCFileName" + +msgid " PASS PSVersion" +msgstr " 合格 PSVersion" + +msgid " PASS PageRegion" +msgstr " 合格 PageRegion" + +msgid " PASS PageSize" +msgstr " 合格 PageSize" + +msgid " PASS Product" +msgstr " 合格 Product" + +msgid " PASS ShortNickName" +msgstr " 合格 ShortNickName" + +#, c-format +msgid " WARN %s has no corresponding options." +msgstr " 警告 %s は相当するオプションがありません。" + +#, c-format +msgid "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." +msgstr "" +" 警告 %s は %s と一般プレフィックスを共有します。\n" +" 参照: 15 ページ、セクション 3.2。" + +#, c-format +msgid "" +" WARN Duplex option keyword %s may not work as expected and should " +"be named Duplex.\n" +" REF: Page 122, section 5.17" +msgstr "" +" 警告 Duplex オプションキーワード %s は期待通りに動作しないかもしれ" +"ません。また、Duplex という名前であるべきです。 参照: 122 ペー" +"ジ、セクション 5.17" + +msgid " WARN File contains a mix of CR, LF, and CR LF line endings." +msgstr "" +" 警告 ファイルが CR、LF、CR LF の行末を混在して含んでいます。" + +msgid "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" 警告 LanguageEncoding は PPD 4.3 仕様で必須です。\n" +" 参照: 56-57 ページ、セクション 5.3。" + +#, c-format +msgid " WARN Line %d only contains whitespace." +msgstr " 警告 %d 行が空白だけです。" + +msgid "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" 警告 Manufacturer は PPD 4.3 仕様で必須です。\n" +" 参照: 58-59 ページ、セクション 5.3。" + +msgid "" +" WARN Non-Windows PPD files should use lines ending with only LF, " +"not CR LF." +msgstr "" +" 警告 非 Windows PPD ファイルは、CR LF でなく LF のみを行末に使うべ" +"きです。" + +#, c-format +msgid "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." +msgstr "" +" 警告 PPD バージョン %.1f は現在使われていません。\n" +" 参照: 42 ページ、セクション 5.2。" + +msgid "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" 警告 8.3 文字より長い PCFileName は PPD 仕様違反です。\n" +" 参照: 61-62 ページ、セクション 5.3。" + +msgid "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" 警告 PCFileName はユニークなファイル名でなければなりません。\n" +" 参照: 61-62 ページ、セクション 5.3。" + +msgid "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" 警告 プロトコルが PJL を含んでいますが JCL 属性が設定されていませ" +"ん。\n" +" 参照: 78-79 ページ、セクション 5.7。" + +msgid "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" 警告 プロトコルが PJL と BCP の両方を含んでいます; TBCP を想定しま" +"す。\n" +" 参照: 78-79 ページ、セクション 5.7。" + +msgid "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" 警告 ShortNickName は PPD 4.3 仕様で必須です。\n" +" 参照: 64-65 ページ、セクション 5.3。" + +#, c-format +msgid "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." +msgstr "" +" %s \"%s %s\" は \"%s %s\" と競合します\n" +" (禁則=\"%s %s %s %s\")。" + +#, c-format +msgid " %s %s %s does not exist." +msgstr " %s %s %s が存在しません。" + +#, c-format +msgid " %s %s file \"%s\" has the wrong capitalization." +msgstr "" +" %s %s ファイル \"%s\" は不正な大文字で始まるワードを含んでいます。" + +#, c-format +msgid "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s 不正な %s が %s を選んでいます。\n" +" 参照: 122 ページ、セクション 5.17" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." +msgstr "" +" %s 不正な UTF-8 \"%s\" 翻訳文字列 (オプション %s 、選択 %s) です。" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s." +msgstr " %s 不正な UTF-8 \"%s\" 翻訳文字列 (オプション %s 用) です。" + +#, c-format +msgid " %s Bad cupsFilter value \"%s\"." +msgstr " %s 不正な値が cupsFilter に設定されています。 \"%s\"" + +#, c-format +msgid " %s Bad cupsFilter2 value \"%s\"." +msgstr " %s 不正な値が cupsFilter2 に設定されています。 \"%s\"" + +#, c-format +msgid " %s Bad cupsICCProfile %s." +msgstr " %s 不正な cupsICCProfile %s です。" + +#, c-format +msgid " %s Bad cupsPreFilter value \"%s\"." +msgstr " %s 不正な値が cupsPreFilter に設定されています。 \"%s\"" + +#, c-format +msgid " %s Bad cupsUIConstraints %s: \"%s\"" +msgstr " %s 不正な cupsUIConstraints %s: \"%s\" です。" + +#, c-format +msgid " %s Bad language \"%s\"." +msgstr " %s 無効な言語 \"%s\" です。" + +#, c-format +msgid " %s Bad permissions on %s file \"%s\"." +msgstr " %s 不正なパーミッション %s です (ファイル \"%s\")。" + +#, c-format +msgid " %s Bad spelling of %s - should be %s." +msgstr " %s %s の不正な綴りです - %s であるべきです。" + +#, c-format +msgid " %s Cannot provide both APScanAppPath and APScanAppBundleID." +msgstr " %s APScanAppPath と APScanAppBundleID は同時に指定できません。" + +#, c-format +msgid " %s Default choices conflicting." +msgstr " %s デフォルトの選択肢が競合しています。" + +#, c-format +msgid " %s Empty cupsUIConstraints %s" +msgstr " %s 空の cupsUIConstraints %s です。" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s, choice %s." +msgstr "" +" %s \"%s\" 翻訳文字列 (オプション %s 、選択 %s) が見つかりません。" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s." +msgstr " %s \"%s\" 翻訳文字列 (オプション %s 用) が見つかりません。" + +#, c-format +msgid " %s Missing %s file \"%s\"." +msgstr " %s %s が見つかりません (ファイル \"%s\")。" + +#, c-format +msgid "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." +msgstr "" +" %s 必須の PageRegion オプションが見つかりません。\n" +" 参照: 100 ページ、セクション 5.14。" + +#, c-format +msgid "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." +msgstr "" +" %s 必須の PageSize オプションが見つかりません。\n" +" 参照: 99 ページ、セクション 5.14。" + +#, c-format +msgid " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" +" %s  選択 *%s %s が UIConstraints \"*%s %s *%s %s\" 内に見つかりませ" +"ん。" + +#, c-format +msgid " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" +msgstr "" +" %s 選択 *%s %s が cupsUIConstraints %s: \"%s\" 内に見つかりません。" + +#, c-format +msgid " %s Missing cupsUIResolver %s" +msgstr " %s cupsUIResolver ファイル %s が見つかりません。" + +#, c-format +msgid " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" +" %s オプション %s がUIConstraints \"*%s %s *%s %s\" に見つかりません。" + +#, c-format +msgid " %s Missing option %s in cupsUIConstraints %s: \"%s\"" +msgstr "" +" %s オプション %s がcupsUIConstraints %s に見つかりません: \"%s\"" + +#, c-format +msgid " %s No base translation \"%s\" is included in file." +msgstr " %s ファイルにベース翻訳文字列 \"%s\" がありません。" + +#, c-format +msgid "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s 必須の %s が選択肢 None を定義していません。\n" +" 参照: 122 ページ、セクション 5.17。" + +#, c-format +msgid " %s Size \"%s\" defined for %s but not for %s." +msgstr "" +" %s サイズ \"%s\" は %s 向けに定義されていますが、%s にはありません。" + +#, c-format +msgid " %s Size \"%s\" has unexpected dimensions (%gx%g)." +msgstr " %s サイズ \"%s\" は規定外の寸法 (%gx%g) を持っています。" + +#, c-format +msgid " %s Size \"%s\" should be \"%s\"." +msgstr " %s サイズ \"%s\" は \"%s\" であるべきです。" + +#, c-format +msgid " %s Size \"%s\" should be the Adobe standard name \"%s\"." +msgstr " %s サイズ \"%s\" は Adobe 標準名称 \"%s\" であるべきです。" + +#, c-format +msgid " %s cupsICCProfile %s hash value collides with %s." +msgstr " %s cupsICCProfileのハッシュ値 %s が %s と一致しません。" + +#, c-format +msgid " %s cupsUIResolver %s causes a loop." +msgstr " %s cupsUIResolverの %s がループしています。" + +#, c-format +msgid "" +" %s cupsUIResolver %s does not list at least two different options." +msgstr "" +" %s cupsUIResolver %s は最低でも 2 つの異なったオプションを持っていなけ" +"ればなりません。" + +#, c-format +msgid "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" +msgstr "" +" **失敗** %s は 1284DeviceID でなければなりません。\n" +" 参照: 72 ページ、セクション 5.5" + +#, c-format +msgid "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **失敗** 不正な Default%s %s\n" +" 参照: 40 ページ、セクション 4.5。" + +#, c-format +msgid "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." +msgstr "" +" **失敗** %s は不正な DefaultImageableArea です。\n" +" 参照: 102 ページ、セクション 5.15。" + +#, c-format +msgid "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." +msgstr "" +" **失敗** %s は不正な DefaultPaperDimension です。\n" +" 参照: 103 ページ、セクション 5.15。" + +#, c-format +msgid "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **失敗** 不正なFileVersion \"%s\"\n" +" 参照: 56 ページ、セクション 5.3。" + +#, c-format +msgid "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **失敗** FormatVersion が違います \"%s\"\n" +" 参照: 56 ページ、セクション 5.3。" + +msgid "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." +msgstr "" +" **失敗** ファイルに不正な JobPatchFile 属性があります\n" +" 参照: 24 ページ、セクション 3.4。" + +#, c-format +msgid " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." +msgstr "" +" **失敗** 無効な LanguageEncoding %s - ISOLatin1 でなければなりません。" + +#, c-format +msgid " **FAIL** Bad LanguageVersion %s - must be English." +msgstr "" +" **失敗** 無効な LanguageVersion %s - English でなければなりません。" + +#, c-format +msgid "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." +msgstr "" +" **失敗** 不正な Manufacturer (\"%s\" でなければなりません)\n" +" 参照: 211 ページ、表 D.1。" + +#, c-format +msgid "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **失敗** 不正な ModelName - 文字列に \"%c\" は許可されていません。\n" +" 参照: 59-60 ページ、セクション 5.3。" + +msgid "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **失敗** 不正な PSVersion - \"(文字列) 整数\" ではありません。\n" +" 参照: 62-64 ページ、セクション 5.3。" + +msgid "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." +msgstr "" +" **失敗** 不正な Product - \"(文字列)\" ではありません。\n" +" 参照: 62 ページ、セクション 5.3。" + +msgid "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" **失敗** 不正な ShortNickName - 31 文字を超えています。\n" +" 参照: 64-65 ページ、セクション 5.3。" + +#, c-format +msgid "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" +msgstr "" +" **失敗** 不正な %s が %s を選んでいます。\n" +" 参照: 84 ページ、セクション 5.9" + +#, c-format +msgid " **FAIL** Default option code cannot be interpreted: %s" +msgstr " **失敗** デフォルトのオプションコードが解釈できません: %s" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s choice %s contains " +"8-bit characters." +msgstr "" +" **失敗** オプション %s、選択肢 %s のデフォルトの翻訳文字列が 8 ビット" +"文字を含んでいます。" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s contains 8-bit " +"characters." +msgstr "" +" **失敗** オプション %s のデフォルトの翻訳文字列が 8 ビット文字を含んで" +"います。" + +#, c-format +msgid " **FAIL** Group names %s and %s differ only by case." +msgstr " **失敗** グループ名 %s と %s は大文字/小文字が違うだけです。" + +#, c-format +msgid " **FAIL** Multiple occurrences of option %s choice name %s." +msgstr " **失敗** %s で複数のオプション %s が選択されています。" + +#, c-format +msgid " **FAIL** Option %s choice names %s and %s differ only by case." +msgstr "" +" **失敗** %s が選択した %s と %s は大文字/小文字のみが違うだけです。" + +#, c-format +msgid " **FAIL** Option names %s and %s differ only by case." +msgstr " **失敗** オプション名 %s と %s は大文字/小文字が違うだけです。" + +#, c-format +msgid "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **失敗** Default%s は必須\n" +" 参照: 40 ページ、セクション 4.5。" + +msgid "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." +msgstr "" +" **失敗** DefaultImageableArea は必須\n" +" 参照: 102 ページ、セクション 5.15。" + +msgid "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." +msgstr "" +" **失敗** DefaultPaperDimension は必須\n" +" 参照: 103 ページ、セクション 5.15。" + +msgid "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **失敗** FileVersion は必須\n" +" 参照: 56 ページ、セクション 5.3。" + +msgid "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **失敗** FormatVersion は必須\n" +" 参照: 56 ページ、セクション 5.3。" + +#, c-format +msgid "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." +msgstr "" +" **失敗** PageSize %s に ImageableArea は必須\n" +" 参照: 41 ページ、セクション 5。\n" +" 参照: 102 ページ、セクション 5.15。" + +msgid "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" **失敗** LanguageEncoding は必須\n" +" 参照: 56-57 ページ、セクション 5.3。" + +msgid "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." +msgstr "" +" **失敗** LanguageVersion は必須\n" +" 参照: 57-58 ページ、セクション 5.3。" + +msgid "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" **失敗** Manufacturer は必須\n" +" 参照: 58-59 ページ、セクション 5.3。" + +msgid "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **失敗** ModelName は必須\n" +" 参照: 59-60 ページ、セクション 5.3。" + +msgid "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." +msgstr "" +" **失敗** NickName は必須\n" +" 参照: 60 ページ、セクション 5.3。" + +msgid "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" **失敗** PCFileName は必須\n" +" 参照: 61-62 ページ、セクション 5.3。" + +msgid "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **失敗** PSVersion は必須\n" +" 参照: 62-64 ページ、セクション 5.3。" + +msgid "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." +msgstr "" +" **失敗** PageRegion は必須\n" +" 参照: 100 ページ、セクション 5.14。" + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." +msgstr "" +" **失敗** PageSize は必須\n" +" 参照: 41 ページ、セクション 5。\n" +" 参照: 99 ページ、セクション 5.14。" + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." +msgstr "" +" **失敗** PageSize は必須\n" +" 参照: 99-100 ページ、セクション 5.14。" + +#, c-format +msgid "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." +msgstr "" +" **失敗** PageSize %s に PaperDimension は必須\n" +" 参照: 41 ページ、セクション 5。\n" +" 参照: 103 ページ、セクション 5.15。" + +msgid "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." +msgstr "" +" **失敗** Product は必須\n" +" 参照: 62 ページ、セクション 5.3。" + +msgid "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." +msgstr "" +" **失敗** ShortNickName は必須\n" +" 参照: 64-65 ページ、セクション 5.3。" + +#, c-format +msgid " **FAIL** Unable to open PPD file - %s on line %d." +msgstr "" +" 失敗\n" +" **失敗** PPD ファイルを開けません - %s (%d 行)。" + +#, c-format +msgid " %d ERRORS FOUND" +msgstr " %d 個のエラーが見つかりました" + +msgid " NO ERRORS FOUND" +msgstr " エラーは見つかりませんでした" + +msgid " --cr End lines with CR (Mac OS 9)." +msgstr " --cr 行末を CR とする (Mac OS 9)。" + +msgid " --crlf End lines with CR + LF (Windows)." +msgstr " --crlf 行末を CR + LF とする (Windows)。" + +msgid " --lf End lines with LF (UNIX/Linux/macOS)." +msgstr "" + +msgid " --list-filters List filters that will be used." +msgstr " --list-filters 使用されるフィルターのリストを表示する。" + +msgid " -D Remove the input file when finished." +msgstr " -D 終了したときに入力ファイルを削除する。" + +msgid " -D name=value Set named variable to value." +msgstr "" +" -D name=value name で指定された変数に値 value をセットする。" + +msgid " -I include-dir Add include directory to search path." +msgstr "" +" -I include-dir インクルードディレクトリーを検索パスに含める。" + +msgid " -P filename.ppd Set PPD file." +msgstr " -P filename.ppd PPD ファイルを指定する。" + +msgid " -U username Specify username." +msgstr " -U username ユーザー名を指定する。" + +msgid " -c catalog.po Load the specified message catalog." +msgstr " -c catalog.po 指定したメッセージカタログをロードする。" + +msgid " -c cups-files.conf Set cups-files.conf file to use." +msgstr " -c cups-files.conf cups-files.conf を利用するよう設定する。" + +msgid " -d output-dir Specify the output directory." +msgstr " -d output-dir 出力先ディレクトリーを指定する。" + +msgid " -d printer Use the named printer." +msgstr " -d printer 指定されたプリンターを利用する。" + +msgid " -e Use every filter from the PPD file." +msgstr "" +" -e PPD ファイルからすべてのフィルターを使用する。" + +msgid " -i mime/type Set input MIME type (otherwise auto-typed)." +msgstr "" +" -i mime/type 入力の MIME タイプを指定する (指定がなければ自動タ" +"イプ)。" + +msgid "" +" -j job-id[,N] Filter file N from the specified job (default is " +"file 1)." +msgstr "" +" -j job-id[,N] フィルターファイル N を指定されたジョブから使用す" +"る (デフォルトは ファイル 1)。" + +msgid " -l lang[,lang,...] Specify the output language(s) (locale)." +msgstr " -l lang[,lang,...] 出力言語を指定する。(複数可能)" + +msgid " -m Use the ModelName value as the filename." +msgstr " -m ModelName の値をファイル名として使用する。" + +msgid "" +" -m mime/type Set output MIME type (otherwise application/pdf)." +msgstr "" +" -m mime/type 出力の MIME タイプを指定する (指定がなければ " +"application/pdf)。" + +msgid " -n copies Set number of copies." +msgstr " -n copies 部数を指定する。" + +msgid "" +" -o filename.drv Set driver information file (otherwise ppdi.drv)." +msgstr "" +" -o filename.drv ドライバー情報ファイルを指定する (指定がなければ " +"ppdi.drv)。" + +msgid " -o filename.ppd[.gz] Set output file (otherwise stdout)." +msgstr "" +" -o filename.ppd[.gz] 出力ファイルを指定する (指定がなければ標準出力)。" + +msgid " -o name=value Set option(s)." +msgstr " -o name=value オプションを指定する。" + +msgid " -p filename.ppd Set PPD file." +msgstr " -p filename.ppd PPD ファイルを指定する。" + +msgid " -t Test PPDs instead of generating them." +msgstr " -t PPD を出力しないでテストする。" + +msgid " -t title Set title." +msgstr " -t title タイトルを指定する。" + +msgid " -u Remove the PPD file when finished." +msgstr " -u 終了したときに PPD ファイルを削除する。" + +msgid " -v Be verbose." +msgstr " -v 冗長出力を行う。" + +msgid " -z Compress PPD files using GNU zip." +msgstr " -z PPD ファイルを GNU zip を使って圧縮する。" + +msgid " FAIL" +msgstr " 失敗" + +msgid " PASS" +msgstr " 合格" + +msgid "! expression Unary NOT of expression" +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section " +"5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section " +"8.1)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 " +"section 5.1.14)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section " +"5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be " +"positive (RFC 8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC " +"8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section " +"8.3)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." +msgstr "" + +msgid "\"requesting-user-name\" attribute in wrong group." +msgstr "" + +msgid "\"requesting-user-name\" attribute with wrong syntax." +msgstr "" + +#, c-format +msgid "%-7s %-7.7s %-7d %-31.31s %.0f bytes" +msgstr "%-7s %-7.7s %-7d %-31.31s %.0f バイト" + +#, c-format +msgid "%d x %d mm" +msgstr "%d x %d mm" + +#, c-format +msgid "%g x %g \"" +msgstr "" + +#, c-format +msgid "%s (%s)" +msgstr "%s (%s)" + +#, c-format +msgid "%s (%s, %s)" +msgstr "%s (%s, %s)" + +#, c-format +msgid "%s (Borderless)" +msgstr "%s (ふちなし)" + +#, c-format +msgid "%s (Borderless, %s)" +msgstr "%s (ふちなし, %s)" + +#, c-format +msgid "%s (Borderless, %s, %s)" +msgstr "%s (ふちなし, %s, %s)" + +#, c-format +msgid "%s accepting requests since %s" +msgstr "%s は %s からリクエストを受け付けています" + +#, c-format +msgid "%s cannot be changed." +msgstr "%s は変更できません。" + +#, c-format +msgid "%s is not implemented by the CUPS version of lpc." +msgstr "%s は lpc の CUPS バージョンでは実装されていません。" + +#, c-format +msgid "%s is not ready" +msgstr "%s は準備ができていません" + +#, c-format +msgid "%s is ready" +msgstr "%s は準備ができています" + +#, c-format +msgid "%s is ready and printing" +msgstr "%s は準備ができており印刷しています" + +#, c-format +msgid "%s job-id user title copies options [file]" +msgstr "%s ジョブID ユーザー タイトル コピー数 オプション [ファイル]" + +#, c-format +msgid "%s not accepting requests since %s -" +msgstr "%s は %s からリクエストを受け付けていません -" + +#, c-format +msgid "%s not supported." +msgstr "%s はサポートされていません。" + +#, c-format +msgid "%s/%s accepting requests since %s" +msgstr "%s/%s は %s からリクエストを受け付けています" + +#, c-format +msgid "%s/%s not accepting requests since %s -" +msgstr "%s/%s は %s からリクエストを受け付けていません - " + +#, c-format +msgid "%s: %-33.33s [job %d localhost]" +msgstr "%s:%-33.33s [ジョブ %d localhost]" + +#. TRANSLATORS: Message is "subject: error" +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#, c-format +msgid "%s: %s failed: %s" +msgstr "%s: %s に失敗しました: %s" + +#, c-format +msgid "%s: Bad printer URI \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Bad version %s for \"-V\"." +msgstr "%s: -V オプションにおいて %s は不正なバージョンです。" + +#, c-format +msgid "%s: Don't know what to do." +msgstr "%s: 何が起きているか不明です。" + +#, c-format +msgid "%s: Error - %s" +msgstr "" + +#, c-format +msgid "" +"%s: Error - %s environment variable names non-existent destination \"%s\"." +msgstr "%s: エラー - 環境変数 %s が存在しない宛先 \"%s\" を指しています。" + +#, c-format +msgid "%s: Error - add '/version=1.1' to server name." +msgstr "%s: エラー - '/version=1.1' をサーバー名に付与してください。" + +#, c-format +msgid "%s: Error - bad job ID." +msgstr "%s: エラー - 不正なジョブ ID です。" + +#, c-format +msgid "%s: Error - cannot print files and alter jobs simultaneously." +msgstr "" +"%s: エラー - ファイルを印刷できず、ジョブを同時に変えることができません。" + +#, c-format +msgid "%s: Error - cannot print from stdin if files or a job ID are provided." +msgstr "" +"%s: エラー - ファイルまたはジョブ ID が提供されている場合、標準入力から印刷で" +"きません。 " + +#, c-format +msgid "%s: Error - copies must be 1 or more." +msgstr "" + +#, c-format +msgid "%s: Error - expected character set after \"-S\" option." +msgstr "%s: エラー - \"-S\" オプションのあとには文字セットが必要です。" + +#, c-format +msgid "%s: Error - expected content type after \"-T\" option." +msgstr "%s: エラー - \"-T\" オプションのあとにはコンテンツタイプが必要です。" + +#, c-format +msgid "%s: Error - expected copies after \"-#\" option." +msgstr "%s: エラー - \"-#\" オプションのあとにはコピー数が必要です。" + +#, c-format +msgid "%s: Error - expected copies after \"-n\" option." +msgstr "%s: エラー - \"-n\" オプションのあとにはコピー数が必要です。" + +#, c-format +msgid "%s: Error - expected destination after \"-P\" option." +msgstr "%s: エラー - \"-P\" オプションのあとには宛先が必要です。" + +#, c-format +msgid "%s: Error - expected destination after \"-d\" option." +msgstr "%s: エラー - \"-d\" オプションのあとにはプリンター名が必要です。" + +#, c-format +msgid "%s: Error - expected form after \"-f\" option." +msgstr "%s: エラー - \"-f\" オプションのあとには用紙名が必要です。" + +#, c-format +msgid "%s: Error - expected hold name after \"-H\" option." +msgstr "%s: エラー - \"-H\" オプションのあとにはホールド名が必要です。" + +#, c-format +msgid "%s: Error - expected hostname after \"-H\" option." +msgstr "%s: エラー - \"-H\" オプションのあとにはホスト名が必要です。" + +#, c-format +msgid "%s: Error - expected hostname after \"-h\" option." +msgstr "%s: エラー - \"-h\" オプションのあとにはホスト名が必要です。" + +#, c-format +msgid "%s: Error - expected mode list after \"-y\" option." +msgstr "%s: エラー - \"-y\" オプションのあとにはモードリストが必要です。" + +#, c-format +msgid "%s: Error - expected name after \"-%c\" option." +msgstr "%s: エラー - \"-%c\" オプションのあとには名前が必要です。" + +#, c-format +msgid "%s: Error - expected option=value after \"-o\" option." +msgstr "%s: エラー - \"-o\" オプションのあとには オプション=値 が必要です。" + +#, c-format +msgid "%s: Error - expected page list after \"-P\" option." +msgstr "%s: エラー - \"-P\" オプションのあとにはページリストが必要です。" + +#, c-format +msgid "%s: Error - expected priority after \"-%c\" option." +msgstr "%s: エラー - \"-%c\" オプションのあとには優先度が必要です。" + +#, c-format +msgid "%s: Error - expected reason text after \"-r\" option." +msgstr "%s: エラー - \"-r\" のあとには理由のテキストが必要です。" + +#, c-format +msgid "%s: Error - expected title after \"-t\" option." +msgstr "%s: エラー - \"-t\" オプションのあとにはタイトルが必要です。" + +#, c-format +msgid "%s: Error - expected username after \"-U\" option." +msgstr "%s: エラー - \"-U\" オプションのあとにはユーザー名が必要です。" + +#, c-format +msgid "%s: Error - expected username after \"-u\" option." +msgstr "%s: エラー - \"-u\" オプションのあとにはユーザー名が必要です。" + +#, c-format +msgid "%s: Error - expected value after \"-%c\" option." +msgstr "%s: エラー - \"-%c\" オプションのあとには値が必要です。" + +#, c-format +msgid "" +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" " +"option." +msgstr "" +"%s: エラー - \"-W\" オプションのあとには、\"completed\"、\"not-completed" +"\"、\"all\" のいずれかが必要です。" + +#, c-format +msgid "%s: Error - no default destination available." +msgstr "%s: エラー - 利用可能なデフォルトの宛先がありません。" + +#, c-format +msgid "%s: Error - priority must be between 1 and 100." +msgstr "%s: エラー - 優先度は 1 から 100 の間である必要があります。" + +#, c-format +msgid "%s: Error - scheduler not responding." +msgstr "%s: エラー - スケジューラーが応答していません。" + +#, c-format +msgid "%s: Error - too many files - \"%s\"." +msgstr "%s: エラー - ファイルが多すぎます - \"%s\"" + +#, c-format +msgid "%s: Error - unable to access \"%s\" - %s" +msgstr "%s: エラー - \"%s\" にアクセスできません - %s" + +#, c-format +msgid "%s: Error - unable to queue from stdin - %s." +msgstr "%s: エラー - 標準入力からキューにデータを入力できません。 - %s" + +#, c-format +msgid "%s: Error - unknown destination \"%s\"." +msgstr "%s: エラー - \"%s\" は未知の宛先です。" + +#, c-format +msgid "%s: Error - unknown destination \"%s/%s\"." +msgstr "%s: エラー - \"%s/%s\" は未知の宛先です。" + +#, c-format +msgid "%s: Error - unknown option \"%c\"." +msgstr "%s: エラー - '%c' は未知のオプションです。" + +#, c-format +msgid "%s: Error - unknown option \"%s\"." +msgstr "%s: エラー - '%s' は未知のオプションです。" + +#, c-format +msgid "%s: Expected job ID after \"-i\" option." +msgstr "%s: '-i' オプションのあとにはジョブ ID が必要です。" + +#, c-format +msgid "%s: Invalid destination name in list \"%s\"." +msgstr "%s: リスト \"%s\" に無効な宛先名があります。" + +#, c-format +msgid "%s: Invalid filter string \"%s\"." +msgstr "%s: 無効なフィルター文字列です \"%s\"" + +#, c-format +msgid "%s: Missing filename for \"-P\"." +msgstr "%s: \"-P\" にファイル名がありません。" + +#, c-format +msgid "%s: Missing timeout for \"-T\"." +msgstr "%s: \"-T\" オプションにタイムアウトが設定されていません。" + +#, c-format +msgid "%s: Missing version for \"-V\"." +msgstr "%s: \"-V\" オプションにバージョンの指定がありません。" + +#, c-format +msgid "%s: Need job ID (\"-i jobid\") before \"-H restart\"." +msgstr "%s: '-H restart' の前にはジョブ ID ('-i ジョブID') が必要です。" + +#, c-format +msgid "%s: No filter to convert from %s/%s to %s/%s." +msgstr "%s: %s/%s から %s/%s に変換するフィルターがありません。" + +#, c-format +msgid "%s: Operation failed: %s" +msgstr "%s: 操作に失敗しました: %s" + +#, c-format +msgid "%s: Sorry, no encryption support." +msgstr "%s: 残念ながら、暗号化サポートはコンパイル時に組み込まれていません。" + +#, c-format +msgid "%s: Unable to connect to \"%s:%d\": %s" +msgstr "" + +#, c-format +msgid "%s: Unable to connect to server." +msgstr "%s: サーバーに接続できません" + +#, c-format +msgid "%s: Unable to contact server." +msgstr "%s: サーバーに連絡できません。" + +#, c-format +msgid "%s: Unable to create PPD file: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to determine MIME type of \"%s\"." +msgstr "%s: \"%s\" の MIME タイプを判別できません。" + +#, c-format +msgid "%s: Unable to open \"%s\": %s" +msgstr "%s: \"%s\" を開けません: %s" + +#, c-format +msgid "%s: Unable to open %s: %s" +msgstr "%s: %s を開けません: %s" + +#, c-format +msgid "%s: Unable to open PPD file: %s on line %d." +msgstr "%s: PPD ファイルを開けません: %s の %d 行目" + +#, c-format +msgid "%s: Unable to query printer: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to read MIME database from \"%s\" or \"%s\"." +msgstr "" +"%s: \"%s\" または \"%s\" から MIME データベースを読み取ることができません。" + +#, c-format +msgid "%s: Unable to resolve \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown argument \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown destination \"%s\"." +msgstr "%s: \"%s\" は未知の宛先です。" + +#, c-format +msgid "%s: Unknown destination MIME type %s/%s." +msgstr "%s: %s/%s は未知の宛先 MIME タイプです。" + +#, c-format +msgid "%s: Unknown option \"%c\"." +msgstr "%s: '%c' は未知のオプションです。" + +#, c-format +msgid "%s: Unknown option \"%s\"." +msgstr "%s: \"%s\" は未知のオプションです。" + +#, c-format +msgid "%s: Unknown option \"-%c\"." +msgstr "%s: \"-%c\" は未知のオプションです。" + +#, c-format +msgid "%s: Unknown source MIME type %s/%s." +msgstr "%s: %s/%s は未知のソース MIME タイプです。" + +#, c-format +msgid "" +"%s: Warning - \"%c\" format modifier not supported - output may not be " +"correct." +msgstr "" +"%s: 警告 - '%c' 形式修飾子はサポートされていません - 出力は正しくないものにな" +"るかもしれません。" + +#, c-format +msgid "%s: Warning - character set option ignored." +msgstr "%s: 警告 - 文字セットオプションは無視されます。" + +#, c-format +msgid "%s: Warning - content type option ignored." +msgstr "%s: 警告 - コンテンツタイプオプションは無視されます。" + +#, c-format +msgid "%s: Warning - form option ignored." +msgstr "%s: 警告 - 用紙オプションは無視されます。" + +#, c-format +msgid "%s: Warning - mode option ignored." +msgstr "%s: 警告 - モードオプションは無視されます。" + +msgid "( expressions ) Group expressions" +msgstr "" + +msgid "- Cancel all jobs" +msgstr "" + +msgid "-# num-copies Specify the number of copies to print" +msgstr "" + +msgid "--[no-]debug-logging Turn debug logging on/off" +msgstr "" + +msgid "--[no-]remote-admin Turn remote administration on/off" +msgstr "" + +msgid "--[no-]remote-any Allow/prevent access from the Internet" +msgstr "" + +msgid "--[no-]share-printers Turn printer sharing on/off" +msgstr "" + +msgid "--[no-]user-cancel-any Allow/prevent users to cancel any job" +msgstr "" + +msgid "" +"--device-id device-id Show models matching the given IEEE 1284 device ID" +msgstr "" + +msgid "--domain regex Match domain to regular expression" +msgstr "" + +msgid "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" +msgstr "" + +msgid "" +"--exec utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "--false Always false" +msgstr "" + +msgid "--help Show program help" +msgstr "" + +msgid "--hold Hold new jobs" +msgstr "" + +msgid "--host regex Match hostname to regular expression" +msgstr "" + +msgid "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" +msgstr "" + +msgid "--ippserver filename Produce ippserver attribute file" +msgstr "" + +msgid "--language locale Show models matching the given locale" +msgstr "" + +msgid "--local True if service is local" +msgstr "" + +msgid "--ls List attributes" +msgstr "" + +msgid "" +"--make-and-model name Show models matching the given make and model name" +msgstr "" + +msgid "--name regex Match service name to regular expression" +msgstr "" + +msgid "--no-web-forms Disable web forms for media and supplies" +msgstr "" + +msgid "--not expression Unary NOT of expression" +msgstr "" + +msgid "--path regex Match resource path to regular expression" +msgstr "" + +msgid "--port number[-number] Match port to number or range" +msgstr "" + +msgid "--print Print URI if true" +msgstr "" + +msgid "--print-name Print service name if true" +msgstr "" + +msgid "" +"--product name Show models matching the given PostScript product" +msgstr "" + +msgid "--quiet Quietly report match via exit code" +msgstr "" + +msgid "--release Release previously held jobs" +msgstr "" + +msgid "--remote True if service is remote" +msgstr "" + +msgid "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" +msgstr "" + +msgid "" +"--timeout seconds Specify the maximum number of seconds to discover " +"devices" +msgstr "" + +msgid "--true Always true" +msgstr "" + +msgid "--txt key True if the TXT record contains the key" +msgstr "" + +msgid "--txt-* regex Match TXT record key to regular expression" +msgstr "" + +msgid "--uri regex Match URI to regular expression" +msgstr "" + +msgid "--version Show program version" +msgstr "" + +msgid "--version Show version" +msgstr "" + +msgid "-1" +msgstr "-1" + +msgid "-10" +msgstr "-10" + +msgid "-100" +msgstr "-100" + +msgid "-105" +msgstr "-105" + +msgid "-11" +msgstr "-11" + +msgid "-110" +msgstr "-110" + +msgid "-115" +msgstr "-115" + +msgid "-12" +msgstr "-12" + +msgid "-120" +msgstr "-120" + +msgid "-13" +msgstr "-13" + +msgid "-14" +msgstr "-14" + +msgid "-15" +msgstr "-15" + +msgid "-2" +msgstr "-2" + +msgid "-2 Set 2-sided printing support (default=1-sided)" +msgstr "" + +msgid "-20" +msgstr "-20" + +msgid "-25" +msgstr "-25" + +msgid "-3" +msgstr "-3" + +msgid "-30" +msgstr "-30" + +msgid "-35" +msgstr "-35" + +msgid "-4" +msgstr "-4" + +msgid "-4 Connect using IPv4" +msgstr "" + +msgid "-40" +msgstr "-40" + +msgid "-45" +msgstr "-45" + +msgid "-5" +msgstr "-5" + +msgid "-50" +msgstr "-50" + +msgid "-55" +msgstr "-55" + +msgid "-6" +msgstr "-6" + +msgid "-6 Connect using IPv6" +msgstr "" + +msgid "-60" +msgstr "-60" + +msgid "-65" +msgstr "-65" + +msgid "-7" +msgstr "-7" + +msgid "-70" +msgstr "-70" + +msgid "-75" +msgstr "-75" + +msgid "-8" +msgstr "-8" + +msgid "-80" +msgstr "-80" + +msgid "-85" +msgstr "-85" + +msgid "-9" +msgstr "-9" + +msgid "-90" +msgstr "-90" + +msgid "-95" +msgstr "-95" + +msgid "-C Send requests using chunking (default)" +msgstr "" + +msgid "-D description Specify the textual description of the printer" +msgstr "" + +msgid "-D device-uri Set the device URI for the printer" +msgstr "" + +msgid "" +"-E Enable and accept jobs on the printer (after -p)" +msgstr "" + +msgid "-E Encrypt the connection to the server" +msgstr "" + +msgid "-E Test with encryption using HTTP Upgrade to TLS" +msgstr "" + +msgid "-F Run in the foreground but detach from console." +msgstr "" + +msgid "-F output-type/subtype Set the output format for the printer" +msgstr "" + +msgid "-H Show the default server and port" +msgstr "" + +msgid "-H HH:MM Hold the job until the specified UTC time" +msgstr "" + +msgid "-H hold Hold the job until released/resumed" +msgstr "" + +msgid "-H immediate Print the job as soon as possible" +msgstr "" + +msgid "-H restart Reprint the job" +msgstr "" + +msgid "-H resume Resume a held job" +msgstr "" + +msgid "-H server[:port] Connect to the named server and port" +msgstr "" + +msgid "-I Ignore errors" +msgstr "" + +msgid "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" +msgstr "" + +msgid "" +"-K keypath Set location of server X.509 certificates and keys." +msgstr "" + +msgid "-L Send requests using content-length" +msgstr "" + +msgid "-L location Specify the textual location of the printer" +msgstr "" + +msgid "-M manufacturer Set manufacturer name (default=Test)" +msgstr "" + +msgid "-P destination Show status for the specified destination" +msgstr "" + +msgid "-P destination Specify the destination" +msgstr "" + +msgid "" +"-P filename.plist Produce XML plist to a file and test report to " +"standard output" +msgstr "" + +msgid "-P filename.ppd Load printer attributes from PPD file" +msgstr "" + +msgid "-P number[-number] Match port to number or range" +msgstr "" + +msgid "-P page-list Specify a list of pages to print" +msgstr "" + +msgid "-R Show the ranking of jobs" +msgstr "" + +msgid "-R name-default Remove the default value for the named option" +msgstr "" + +msgid "-R root-directory Set alternate root" +msgstr "" + +msgid "-S Test with encryption using HTTPS" +msgstr "" + +msgid "-T seconds Set the browse timeout in seconds" +msgstr "" + +msgid "-T seconds Set the receive/send timeout in seconds" +msgstr "" + +msgid "-T title Specify the job title" +msgstr "" + +msgid "-U username Specify the username to use for authentication" +msgstr "" + +msgid "-U username Specify username to use for authentication" +msgstr "" + +msgid "-V version Set default IPP version" +msgstr "" + +msgid "-W completed Show completed jobs" +msgstr "" + +msgid "-W not-completed Show pending jobs" +msgstr "" + +msgid "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes," +"translations}\n" +" Issue warnings instead of errors" +msgstr "" + +msgid "-X Produce XML plist instead of plain text" +msgstr "" + +msgid "-a Cancel all jobs" +msgstr "" + +msgid "-a Show jobs on all destinations" +msgstr "" + +msgid "-a [destination(s)] Show the accepting state of destinations" +msgstr "" + +msgid "-a filename.conf Load printer attributes from conf file" +msgstr "" + +msgid "-c Make a copy of the print file(s)" +msgstr "" + +msgid "-c Produce CSV output" +msgstr "" + +msgid "-c [class(es)] Show classes and their member printers" +msgstr "" + +msgid "-c class Add the named destination to a class" +msgstr "" + +msgid "-c command Set print command" +msgstr "" + +msgid "-c cupsd.conf Set cupsd.conf file to use." +msgstr "" + +msgid "-d Show the default destination" +msgstr "" + +msgid "-d destination Set default destination" +msgstr "" + +msgid "-d destination Set the named destination as the server default" +msgstr "" + +msgid "-d name=value Set named variable to value" +msgstr "" + +msgid "-d regex Match domain to regular expression" +msgstr "" + +msgid "-d spool-directory Set spool directory" +msgstr "" + +msgid "-e Show available destinations on the network" +msgstr "" + +msgid "-f Run in the foreground." +msgstr "" + +msgid "-f filename Set default request filename" +msgstr "" + +msgid "-f type/subtype[,...] Set supported file types" +msgstr "" + +msgid "-h Show this usage message." +msgstr "" + +msgid "-h Validate HTTP response headers" +msgstr "" + +msgid "-h regex Match hostname to regular expression" +msgstr "" + +msgid "-h server[:port] Connect to the named server and port" +msgstr "" + +msgid "-i iconfile.png Set icon file" +msgstr "" + +msgid "-i id Specify an existing job ID to modify" +msgstr "" + +msgid "-i ppd-file Specify a PPD file for the printer" +msgstr "" + +msgid "" +"-i seconds Repeat the last file with the given time interval" +msgstr "" + +msgid "-k Keep job spool files" +msgstr "" + +msgid "-l List attributes" +msgstr "" + +msgid "-l Produce plain text output" +msgstr "" + +msgid "-l Run cupsd on demand." +msgstr "" + +msgid "-l Show supported options and values" +msgstr "" + +msgid "-l Show verbose (long) output" +msgstr "" + +msgid "-l location Set location of printer" +msgstr "" + +msgid "" +"-m Send an email notification when the job completes" +msgstr "" + +msgid "-m Show models" +msgstr "" + +msgid "" +"-m everywhere Specify the printer is compatible with IPP Everywhere" +msgstr "" + +msgid "-m model Set model name (default=Printer)" +msgstr "" + +msgid "" +"-m model Specify a standard model/PPD file for the printer" +msgstr "" + +msgid "-n count Repeat the last file the given number of times" +msgstr "" + +msgid "-n hostname Set hostname for printer" +msgstr "" + +msgid "-n num-copies Specify the number of copies to print" +msgstr "" + +msgid "-n regex Match service name to regular expression" +msgstr "" + +msgid "" +"-o Name=Value Specify the default value for the named PPD option " +msgstr "" + +msgid "-o [destination(s)] Show jobs" +msgstr "" + +msgid "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" +msgstr "" + +msgid "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" +msgstr "" + +msgid "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" +msgstr "" + +msgid "-o job-page-limit=N Specify the page limit for per-user quotas" +msgstr "" + +msgid "-o job-quota-period=N Specify the per-user quota period in seconds" +msgstr "" + +msgid "-o job-sheets=standard Print a banner page with the job" +msgstr "" + +msgid "-o media=size Specify the media size to use" +msgstr "" + +msgid "-o name-default=value Specify the default value for the named option" +msgstr "" + +msgid "-o name[=value] Set default option and value" +msgstr "" + +msgid "" +"-o number-up=N Specify that input pages should be printed N-up (1, " +"2, 4, 6, 9, and 16 are supported)" +msgstr "" + +msgid "-o option[=value] Specify a printer-specific option" +msgstr "" + +msgid "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" +msgstr "" + +msgid "" +"-o print-quality=N Specify the print quality - draft (3), normal (4), " +"or best (5)" +msgstr "" + +msgid "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" +msgstr "" + +msgid "" +"-o printer-is-shared=true\n" +" Share the printer" +msgstr "" + +msgid "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" +msgstr "" + +msgid "-o sides=one-sided Specify 1-sided printing" +msgstr "" + +msgid "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" +msgstr "" + +msgid "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" +msgstr "" + +msgid "-p Print URI if true" +msgstr "" + +msgid "-p [printer(s)] Show the processing state of destinations" +msgstr "" + +msgid "-p destination Specify a destination" +msgstr "" + +msgid "-p destination Specify/add the named destination" +msgstr "" + +msgid "-p port Set port number for printer" +msgstr "" + +msgid "-q Quietly report match via exit code" +msgstr "" + +msgid "-q Run silently" +msgstr "" + +msgid "-q Specify the job should be held for printing" +msgstr "" + +msgid "-q priority Specify the priority from low (1) to high (100)" +msgstr "" + +msgid "-r Remove the file(s) after submission" +msgstr "" + +msgid "-r Show whether the CUPS server is running" +msgstr "" + +msgid "-r True if service is remote" +msgstr "" + +msgid "-r Use 'relaxed' open mode" +msgstr "" + +msgid "-r class Remove the named destination from a class" +msgstr "" + +msgid "-r reason Specify a reason message that others can see" +msgstr "" + +msgid "-r subtype,[subtype] Set DNS-SD service subtype" +msgstr "" + +msgid "-s Be silent" +msgstr "" + +msgid "-s Print service name if true" +msgstr "" + +msgid "-s Show a status summary" +msgstr "" + +msgid "-s cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid "-s speed[,color-speed] Set speed in pages per minute" +msgstr "" + +msgid "-t Produce a test report" +msgstr "" + +msgid "-t Show all status information" +msgstr "" + +msgid "-t Test the configuration file." +msgstr "" + +msgid "-t key True if the TXT record contains the key" +msgstr "" + +msgid "-t title Specify the job title" +msgstr "" + +msgid "" +"-u [user(s)] Show jobs queued by the current or specified users" +msgstr "" + +msgid "-u allow:all Allow all users to print" +msgstr "" + +msgid "" +"-u allow:list Allow the list of users or groups (@name) to print" +msgstr "" + +msgid "" +"-u deny:list Prevent the list of users or groups (@name) to print" +msgstr "" + +msgid "-u owner Specify the owner to use for jobs" +msgstr "" + +msgid "-u regex Match URI to regular expression" +msgstr "" + +msgid "-v Be verbose" +msgstr "" + +msgid "-v Show devices" +msgstr "" + +msgid "-v [printer(s)] Show the devices for each destination" +msgstr "" + +msgid "-v device-uri Specify the device URI for the printer" +msgstr "" + +msgid "-vv Be very verbose" +msgstr "" + +msgid "-x Purge jobs rather than just canceling" +msgstr "" + +msgid "-x destination Remove default options for destination" +msgstr "" + +msgid "-x destination Remove the named destination" +msgstr "" + +msgid "" +"-x utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "/etc/cups/lpoptions file names default destination that does not exist." +msgstr "" + +msgid "0" +msgstr "0" + +msgid "1" +msgstr "1" + +msgid "1 inch/sec." +msgstr "1 インチ/秒" + +msgid "1.25x0.25\"" +msgstr "1.25x0.25 インチ" + +msgid "1.25x2.25\"" +msgstr "1.25x2.25 インチ" + +msgid "1.5 inch/sec." +msgstr "1.5 インチ/秒" + +msgid "1.50x0.25\"" +msgstr "1.50x0.25 インチ" + +msgid "1.50x0.50\"" +msgstr "1.50x0.50 インチ" + +msgid "1.50x1.00\"" +msgstr "1.50x1.00 インチ" + +msgid "1.50x2.00\"" +msgstr "1.50x2.00 インチ" + +msgid "10" +msgstr "10" + +msgid "10 inches/sec." +msgstr "10 インチ/秒" + +msgid "10 x 11" +msgstr "10 x 11 インチ" + +msgid "10 x 13" +msgstr "10 x 13 インチ" + +msgid "10 x 14" +msgstr "10 x 14 インチ" + +msgid "100" +msgstr "100" + +msgid "100 mm/sec." +msgstr "100 ミリメートル/秒" + +msgid "105" +msgstr "105" + +msgid "11" +msgstr "11" + +msgid "11 inches/sec." +msgstr "11 インチ/秒" + +msgid "110" +msgstr "110" + +msgid "115" +msgstr "115" + +msgid "12" +msgstr "12" + +msgid "12 inches/sec." +msgstr "12 インチ/秒" + +msgid "12 x 11" +msgstr "12 x 11 インチ" + +msgid "120" +msgstr "120" + +msgid "120 mm/sec." +msgstr "120 ミリメートル/秒" + +msgid "120x60dpi" +msgstr "120x60dpi" + +msgid "120x72dpi" +msgstr "120x72dpi" + +msgid "13" +msgstr "13" + +msgid "136dpi" +msgstr "136dpi" + +msgid "14" +msgstr "14" + +msgid "15" +msgstr "15" + +msgid "15 mm/sec." +msgstr "15 ミリメートル/秒" + +msgid "15 x 11" +msgstr "15 x 11 インチ" + +msgid "150 mm/sec." +msgstr "150 ミリメートル/秒" + +msgid "150dpi" +msgstr "150dpi" + +msgid "16" +msgstr "16" + +msgid "17" +msgstr "17" + +msgid "18" +msgstr "18" + +msgid "180dpi" +msgstr "180dpi" + +msgid "19" +msgstr "19" + +msgid "2" +msgstr "2" + +msgid "2 inches/sec." +msgstr "2 インチ/秒" + +msgid "2-Sided Printing" +msgstr "両面印刷" + +msgid "2.00x0.37\"" +msgstr "2.00x0.37 インチ" + +msgid "2.00x0.50\"" +msgstr "2.00x0.50 インチ" + +msgid "2.00x1.00\"" +msgstr "2.00x1.00 インチ" + +msgid "2.00x1.25\"" +msgstr "2.00x1.25 インチ" + +msgid "2.00x2.00\"" +msgstr "2.00x2.00 インチ" + +msgid "2.00x3.00\"" +msgstr "2.00x3.00 インチ" + +msgid "2.00x4.00\"" +msgstr "2.00x4.00 インチ" + +msgid "2.00x5.50\"" +msgstr "2.00x5.50 インチ" + +msgid "2.25x0.50\"" +msgstr "2.25x0.50 インチ" + +msgid "2.25x1.25\"" +msgstr "2.25x1.25 インチ" + +msgid "2.25x4.00\"" +msgstr "2.25x4.00 インチ" + +msgid "2.25x5.50\"" +msgstr "2.25x5.50 インチ" + +msgid "2.38x5.50\"" +msgstr "2.38x5.50 インチ" + +msgid "2.5 inches/sec." +msgstr "2.5 インチ/秒" + +msgid "2.50x1.00\"" +msgstr "2.50x1.00 インチ" + +msgid "2.50x2.00\"" +msgstr "2.50x2.00 インチ" + +msgid "2.75x1.25\"" +msgstr "2.75x1.25 インチ" + +msgid "2.9 x 1\"" +msgstr "2.9 x 1 インチ" + +msgid "20" +msgstr "20" + +msgid "20 mm/sec." +msgstr "20 ミリメートル/秒" + +msgid "200 mm/sec." +msgstr "200 ミリメートル/秒" + +msgid "203dpi" +msgstr "203dpi" + +msgid "21" +msgstr "21" + +msgid "22" +msgstr "22" + +msgid "23" +msgstr "23" + +msgid "24" +msgstr "24" + +msgid "24-Pin Series" +msgstr "24 ピンシリーズ" + +msgid "240x72dpi" +msgstr "240x72dpi" + +msgid "25" +msgstr "25" + +msgid "250 mm/sec." +msgstr "250 ミリメートル/秒" + +msgid "26" +msgstr "26" + +msgid "27" +msgstr "27" + +msgid "28" +msgstr "28" + +msgid "29" +msgstr "29" + +msgid "3" +msgstr "3" + +msgid "3 inches/sec." +msgstr "3 インチ/秒" + +msgid "3 x 5" +msgstr "3 x 5" + +msgid "3.00x1.00\"" +msgstr "3.00x1.00 インチ" + +msgid "3.00x1.25\"" +msgstr "3.00x1.25 インチ" + +msgid "3.00x2.00\"" +msgstr "3.00x2.00 インチ" + +msgid "3.00x3.00\"" +msgstr "3.00x3.00インチ" + +msgid "3.00x5.00\"" +msgstr "3.00x5.00 インチ" + +msgid "3.25x2.00\"" +msgstr "3.25x2.00 インチ" + +msgid "3.25x5.00\"" +msgstr "3.25x5.00 インチ" + +msgid "3.25x5.50\"" +msgstr "3.25x5.50 インチ" + +msgid "3.25x5.83\"" +msgstr "3.25x5.83 インチ" + +msgid "3.25x7.83\"" +msgstr "3.25x7.83 インチ" + +msgid "3.5 x 5" +msgstr "3.5 x 5" + +msgid "3.5\" Disk" +msgstr "3.5 インチディスク" + +msgid "3.50x1.00\"" +msgstr "3.50x1.00 インチ" + +msgid "30" +msgstr "30" + +msgid "30 mm/sec." +msgstr "30 ミリメートル/秒" + +msgid "300 mm/sec." +msgstr "300 ミリメートル/秒" + +msgid "300dpi" +msgstr "300dpi" + +msgid "35" +msgstr "35" + +msgid "360dpi" +msgstr "360dpi" + +msgid "360x180dpi" +msgstr "360x180dpi" + +msgid "4" +msgstr "4" + +msgid "4 inches/sec." +msgstr "4 インチ/秒" + +msgid "4.00x1.00\"" +msgstr "4.00x1.00 インチ" + +msgid "4.00x13.00\"" +msgstr "4.00x13.00 インチ" + +msgid "4.00x2.00\"" +msgstr "4.00x2.00 インチ" + +msgid "4.00x2.50\"" +msgstr "4.00x2.50 インチ" + +msgid "4.00x3.00\"" +msgstr "4.00x3.00 インチ" + +msgid "4.00x4.00\"" +msgstr "4.00x4.00 インチ" + +msgid "4.00x5.00\"" +msgstr "4.00x5.00 インチ" + +msgid "4.00x6.00\"" +msgstr "4.00x6.00 インチ" + +msgid "4.00x6.50\"" +msgstr "4.00x6.50 インチ" + +msgid "40" +msgstr "40" + +msgid "40 mm/sec." +msgstr "40 ミリメートル/秒" + +msgid "45" +msgstr "45" + +msgid "5" +msgstr "5" + +msgid "5 inches/sec." +msgstr "5 インチ/秒" + +msgid "5 x 7" +msgstr "5 x 7 インチ" + +msgid "50" +msgstr "50" + +msgid "55" +msgstr "55" + +msgid "6" +msgstr "6" + +msgid "6 inches/sec." +msgstr "6 インチ/秒" + +msgid "6.00x1.00\"" +msgstr "6.00x1.00 インチ" + +msgid "6.00x2.00\"" +msgstr "6.00x2.00 インチ" + +msgid "6.00x3.00\"" +msgstr "6.00x3.00 インチ" + +msgid "6.00x4.00\"" +msgstr "6.00x4.00 インチ" + +msgid "6.00x5.00\"" +msgstr "6.00x5.00 インチ" + +msgid "6.00x6.00\"" +msgstr "6.00x6.00 インチ" + +msgid "6.00x6.50\"" +msgstr "6.00x6.50 インチ" + +msgid "60" +msgstr "60" + +msgid "60 mm/sec." +msgstr "60 ミリメートル/秒" + +msgid "600dpi" +msgstr "600dpi" + +msgid "60dpi" +msgstr "60dpi" + +msgid "60x72dpi" +msgstr "60x72dpi" + +msgid "65" +msgstr "65" + +msgid "7" +msgstr "7" + +msgid "7 inches/sec." +msgstr "7 インチ/秒" + +msgid "7 x 9" +msgstr "7 x 9 インチ" + +msgid "70" +msgstr "70" + +msgid "75" +msgstr "75" + +msgid "8" +msgstr "8" + +msgid "8 inches/sec." +msgstr "8 インチ/秒" + +msgid "8 x 10" +msgstr "8 x 10 インチ" + +msgid "8.00x1.00\"" +msgstr "8.00x1.00 インチ" + +msgid "8.00x2.00\"" +msgstr "8.00x2.00 インチ" + +msgid "8.00x3.00\"" +msgstr "8.00x3.00 インチ" + +msgid "8.00x4.00\"" +msgstr "8.00x4.00 インチ" + +msgid "8.00x5.00\"" +msgstr "8.00x5.00 インチ" + +msgid "8.00x6.00\"" +msgstr "8.00x6.00 インチ" + +msgid "8.00x6.50\"" +msgstr "8.00x6.50 インチ" + +msgid "80" +msgstr "80" + +msgid "80 mm/sec." +msgstr "80 ミリメートル/秒" + +msgid "85" +msgstr "85" + +msgid "9" +msgstr "9" + +msgid "9 inches/sec." +msgstr "9 インチ/秒" + +msgid "9 x 11" +msgstr "9 x 11 インチ" + +msgid "9 x 12" +msgstr "9 x 12 インチ" + +msgid "9-Pin Series" +msgstr "9 ピンシリーズ" + +msgid "90" +msgstr "90" + +msgid "95" +msgstr "95" + +msgid "?Invalid help command unknown." +msgstr "?無効なヘルプコマンドです" + +#, c-format +msgid "A class named \"%s\" already exists." +msgstr "\"%s\" という名前のクラスはすでに存在します。" + +#, c-format +msgid "A printer named \"%s\" already exists." +msgstr "\"%s\" という名前のプリンターはすでに存在します。" + +msgid "A0" +msgstr "A0" + +msgid "A0 Long Edge" +msgstr "A0 長辺送り" + +msgid "A1" +msgstr "A1" + +msgid "A1 Long Edge" +msgstr "A1 長辺送り" + +msgid "A10" +msgstr "A10" + +msgid "A2" +msgstr "A2" + +msgid "A2 Long Edge" +msgstr "A2 長辺送り" + +msgid "A3" +msgstr "A3" + +msgid "A3 Long Edge" +msgstr "A3 長辺送り" + +msgid "A3 Oversize" +msgstr "A3 (特大)" + +msgid "A3 Oversize Long Edge" +msgstr "A3 (特大) 長辺送り" + +msgid "A4" +msgstr "A4" + +msgid "A4 Long Edge" +msgstr "A4 長辺送り" + +msgid "A4 Oversize" +msgstr "A4 (特大)" + +msgid "A4 Small" +msgstr "A4 (小)" + +msgid "A5" +msgstr "A5" + +msgid "A5 Long Edge" +msgstr "A5 長辺送り" + +msgid "A5 Oversize" +msgstr "A5 (特大)" + +msgid "A6" +msgstr "A6" + +msgid "A6 Long Edge" +msgstr "A6 長辺送り" + +msgid "A7" +msgstr "A7" + +msgid "A8" +msgstr "A8" + +msgid "A9" +msgstr "A9" + +msgid "ANSI A" +msgstr "ANSI A" + +msgid "ANSI B" +msgstr "ANSI B" + +msgid "ANSI C" +msgstr "ANSI C" + +msgid "ANSI D" +msgstr "ANSI D" + +msgid "ANSI E" +msgstr "ANSI E" + +msgid "ARCH C" +msgstr "ARCH C" + +msgid "ARCH C Long Edge" +msgstr "ARCH C 長辺送り" + +msgid "ARCH D" +msgstr "ARCH D" + +msgid "ARCH D Long Edge" +msgstr "ARCH D 長辺送り" + +msgid "ARCH E" +msgstr "ARCH E" + +msgid "ARCH E Long Edge" +msgstr "ARCH E 長辺送り" + +msgid "Accept Jobs" +msgstr "ジョブの受け付け" + +msgid "Accepted" +msgstr "受け付けました" + +msgid "Add Class" +msgstr "クラスの追加" + +msgid "Add Printer" +msgstr "プリンターの追加" + +msgid "Address" +msgstr "アドレス" + +msgid "Administration" +msgstr "管理" + +msgid "Always" +msgstr "常に有効" + +msgid "AppSocket/HP JetDirect" +msgstr "AppSocket/HP JetDirect" + +msgid "Applicator" +msgstr "アプリケーター" + +#, c-format +msgid "Attempt to set %s printer-state to bad value %d." +msgstr "%s printer-state に 不正な値 %d を設定しようとしています。" + +#, c-format +msgid "Attribute \"%s\" is in the wrong group." +msgstr "" + +#, c-format +msgid "Attribute \"%s\" is the wrong value type." +msgstr "" + +#, c-format +msgid "Attribute groups are out of order (%x < %x)." +msgstr "属性グループは範囲外です (%x < %x)。" + +msgid "B0" +msgstr "B0" + +msgid "B1" +msgstr "B1" + +msgid "B10" +msgstr "B10" + +msgid "B2" +msgstr "B2" + +msgid "B3" +msgstr "B3" + +msgid "B4" +msgstr "B4" + +msgid "B5" +msgstr "B5" + +msgid "B5 Oversize" +msgstr "B5 (特大)" + +msgid "B6" +msgstr "B6" + +msgid "B7" +msgstr "B7" + +msgid "B8" +msgstr "B8" + +msgid "B9" +msgstr "B9" + +#, c-format +msgid "Bad \"printer-id\" value %d." +msgstr "" + +#, c-format +msgid "Bad '%s' value." +msgstr "" + +#, c-format +msgid "Bad 'document-format' value \"%s\"." +msgstr "誤った 'document-format' の値です \"%s\"。" + +msgid "Bad CloseUI/JCLCloseUI" +msgstr "" + +msgid "Bad NULL dests pointer" +msgstr "不正な NULL 送信先ポインター" + +msgid "Bad OpenGroup" +msgstr "不正な OpenGroup" + +msgid "Bad OpenUI/JCLOpenUI" +msgstr "不正な OpenUI/JCLOpenUI" + +msgid "Bad OrderDependency" +msgstr "不正な OrderDependency" + +msgid "Bad PPD cache file." +msgstr "不正な PPD キャッシュファイルです。" + +msgid "Bad PPD file." +msgstr "" + +msgid "Bad Request" +msgstr "不正なリクエスト" + +msgid "Bad SNMP version number" +msgstr "不正な SNMP バージョン番号" + +msgid "Bad UIConstraints" +msgstr "不正な UIConstraints" + +msgid "Bad URI." +msgstr "" + +msgid "Bad arguments to function" +msgstr "関数の引数が不正" + +#, c-format +msgid "Bad copies value %d." +msgstr "%d は不正なコピー値です。" + +msgid "Bad custom parameter" +msgstr "不正なカスタムパラメーター" + +#, c-format +msgid "Bad device-uri \"%s\"." +msgstr "\"%s\" は無効な device-uri です。" + +#, c-format +msgid "Bad device-uri scheme \"%s\"." +msgstr "\"%s\" は無効な device-uri スキーマです。" + +#, c-format +msgid "Bad document-format \"%s\"." +msgstr "\"%s\" は不正な document-format です。" + +#, c-format +msgid "Bad document-format-default \"%s\"." +msgstr "\"%s\" は不正な document-format-default です。" + +msgid "Bad filename buffer" +msgstr "不正なファイル名バッファーです。" + +msgid "Bad hostname/address in URI" +msgstr "URI のホスト名/アドレスが不正" + +#, c-format +msgid "Bad job-name value: %s" +msgstr "誤った job-name 値: %s" + +msgid "Bad job-name value: Wrong type or count." +msgstr "誤った job-name 値: 型かカウントが誤っています。" + +msgid "Bad job-priority value." +msgstr "不正な job-priority 値です。" + +#, c-format +msgid "Bad job-sheets value \"%s\"." +msgstr "\"%s\" は不正な job-sheets 値です。" + +msgid "Bad job-sheets value type." +msgstr "不正な job-sheets 値タイプ です。" + +msgid "Bad job-state value." +msgstr "不正な job-state 値です。" + +#, c-format +msgid "Bad job-uri \"%s\"." +msgstr "\"%s\" は無効な job-uri 属性です。" + +#, c-format +msgid "Bad notify-pull-method \"%s\"." +msgstr "\"%s\" は無効な notify-pull-method です。" + +#, c-format +msgid "Bad notify-recipient-uri \"%s\"." +msgstr "URI \"%s\" は不正な notify-recipient-uri です。" + +#, c-format +msgid "Bad notify-user-data \"%s\"." +msgstr "" + +#, c-format +msgid "Bad number-up value %d." +msgstr "%d は不正な number-up 値です。" + +#, c-format +msgid "Bad page-ranges values %d-%d." +msgstr "%d-%d は不正な page-ranges 値です。" + +msgid "Bad port number in URI" +msgstr "URI のポート番号が不正" + +#, c-format +msgid "Bad port-monitor \"%s\"." +msgstr "\"%s\" は無効な port-monitor です。" + +#, c-format +msgid "Bad printer-state value %d." +msgstr "%d は無効な printer-state 値です。" + +msgid "Bad printer-uri." +msgstr "printer-uri が不正です。" + +#, c-format +msgid "Bad request ID %d." +msgstr "%d は無効なリクエストIDです。" + +#, c-format +msgid "Bad request version number %d.%d." +msgstr "バージョン番号 %d.%d は無効なリクエストです。" + +msgid "Bad resource in URI" +msgstr "URI のリソースが不正" + +msgid "Bad scheme in URI" +msgstr "URI のスキームが不正" + +msgid "Bad username in URI" +msgstr "URI のユーザー名が不正" + +msgid "Bad value string" +msgstr "値文字列がありません" + +msgid "Bad/empty URI" +msgstr "URI が不正か空" + +msgid "Banners" +msgstr "バナー" + +msgid "Bond Paper" +msgstr "ボンド紙" + +msgid "Booklet" +msgstr "" + +#, c-format +msgid "Boolean expected for waiteof option \"%s\"." +msgstr "論理値は、waiteof オプション \"%s\" であるべきです" + +msgid "Buffer overflow detected, aborting." +msgstr "オーバーフローが検出され、中断しました。" + +msgid "CMYK" +msgstr "CMYK" + +msgid "CPCL Label Printer" +msgstr "CPCL ラベルプリンター" + +msgid "Cancel Jobs" +msgstr "ジョブをキャンセル" + +msgid "Canceling print job." +msgstr "プリントジョブをキャンセルしています。" + +msgid "Cannot change printer-is-shared for remote queues." +msgstr "" + +msgid "Cannot share a remote Kerberized printer." +msgstr "リモートの Kerberos 認証のプリンターを共有できません。" + +msgid "Cassette" +msgstr "カセット" + +msgid "Change Settings" +msgstr "設定の変更" + +#, c-format +msgid "Character set \"%s\" not supported." +msgstr "文字セット \"%s\" はサポートされていません。" + +msgid "Classes" +msgstr "クラス" + +msgid "Clean Print Heads" +msgstr "プリントヘッドクリーニング" + +msgid "Close-Job doesn't support the job-uri attribute." +msgstr "Close-Job は job-uri 属性をサポートしていません。" + +msgid "Color" +msgstr "カラー" + +msgid "Color Mode" +msgstr "カラーモード" + +msgid "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" +msgstr "" +"コマンドは短縮できます。 コマンド:\n" +"\n" +"exit help quit status ?" + +msgid "Community name uses indefinite length" +msgstr "コミュニティ名の長さが不定" + +msgid "Connected to printer." +msgstr "プリンターに接続しました。" + +msgid "Connecting to printer." +msgstr "プリンターに接続中。" + +msgid "Continue" +msgstr "継続" + +msgid "Continuous" +msgstr "連続" + +msgid "Control file sent successfully." +msgstr "コントロールファイルが正常に送信されました。" + +msgid "Copying print data." +msgstr "印刷データをコピーしています。" + +msgid "Created" +msgstr "ジョブ作成" + +msgid "Credentials do not validate against site CA certificate." +msgstr "" + +msgid "Credentials have expired." +msgstr "" + +msgid "Custom" +msgstr "カスタム" + +msgid "CustominCutInterval" +msgstr "CustominCutInterval" + +msgid "CustominTearInterval" +msgstr "CustominTearInterval" + +msgid "Cut" +msgstr "カット" + +msgid "Cutter" +msgstr "カッター" + +msgid "Dark" +msgstr "濃い" + +msgid "Darkness" +msgstr "濃さ" + +msgid "Data file sent successfully." +msgstr "データファイルが正常に送信されました。" + +msgid "Deep Color" +msgstr "" + +msgid "Deep Gray" +msgstr "" + +msgid "Delete Class" +msgstr "クラスの削除" + +msgid "Delete Printer" +msgstr "プリンターの削除" + +msgid "DeskJet Series" +msgstr "DeskJet シリーズ" + +#, c-format +msgid "Destination \"%s\" is not accepting jobs." +msgstr "宛先 \"%s\" はジョブを受け付けていません。" + +msgid "Device CMYK" +msgstr "" + +msgid "Device Gray" +msgstr "" + +msgid "Device RGB" +msgstr "" + +#, c-format +msgid "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" +msgstr "" +"デバイス: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" + +msgid "Direct Thermal Media" +msgstr "感熱紙" + +#, c-format +msgid "Directory \"%s\" contains a relative path." +msgstr "ディレクトリー \"%s\" は相対パスを含んでいます。" + +#, c-format +msgid "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "" +"ディレクトリー \"%s\" は安全でないパーミッションが与えられています (0%o/uid=" +"%d/gid=%d)。" + +#, c-format +msgid "Directory \"%s\" is a file." +msgstr "ディレクトリー \"%s\" はファイルです。" + +#, c-format +msgid "Directory \"%s\" not available: %s" +msgstr "ディレクトリー \"%s\" は利用できません: %s" + +#, c-format +msgid "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "" +"ディレクトリー \"%s\" のパーミッションは問題ありません (0%o/uid=%d/gid=%d)。" + +msgid "Disabled" +msgstr "無効" + +#, c-format +msgid "Document #%d does not exist in job #%d." +msgstr "ドキュメント #%d がジョブ #%d に見つかりません。" + +msgid "Draft" +msgstr "" + +msgid "Duplexer" +msgstr "両面オプション" + +msgid "Dymo" +msgstr "Dymo" + +msgid "EPL1 Label Printer" +msgstr "EPL1 ラベルプリンター" + +msgid "EPL2 Label Printer" +msgstr "EPL2 ラベルプリンター" + +msgid "Edit Configuration File" +msgstr "設定ファイルの編集" + +msgid "Encryption is not supported." +msgstr "暗号化はサポートされていません。" + +#. TRANSLATORS: Banner/cover sheet after the print job. +msgid "Ending Banner" +msgstr "終了バナー" + +msgid "English" +msgstr "English" + +msgid "" +"Enter your username and password or the root username and password to access " +"this page. If you are using Kerberos authentication, make sure you have a " +"valid Kerberos ticket." +msgstr "" +"このページにアクセスするために、あなたのユーザー名とパスワード、あるいは " +"root のユーザー名とパスワードを入力してください。Kerberos 認証を使用している" +"場合、有効な Kerberos チケットがあることを確認してください。" + +msgid "Envelope #10" +msgstr "" + +msgid "Envelope #11" +msgstr "封筒 #11" + +msgid "Envelope #12" +msgstr "封筒 #12" + +msgid "Envelope #14" +msgstr "封筒 #14" + +msgid "Envelope #9" +msgstr "封筒 #9" + +msgid "Envelope B4" +msgstr "封筒 B4" + +msgid "Envelope B5" +msgstr "封筒 B5" + +msgid "Envelope B6" +msgstr "封筒 B6" + +msgid "Envelope C0" +msgstr "封筒 C0" + +msgid "Envelope C1" +msgstr "封筒 C1" + +msgid "Envelope C2" +msgstr "封筒 C2" + +msgid "Envelope C3" +msgstr "封筒 C3" + +msgid "Envelope C4" +msgstr "封筒 C4" + +msgid "Envelope C5" +msgstr "封筒 C5" + +msgid "Envelope C6" +msgstr "封筒 C6" + +msgid "Envelope C65" +msgstr "封筒 C65" + +msgid "Envelope C7" +msgstr "封筒 C7" + +msgid "Envelope Choukei 3" +msgstr "封筒 長形3号" + +msgid "Envelope Choukei 3 Long Edge" +msgstr "封筒 長形3号 長辺送り" + +msgid "Envelope Choukei 4" +msgstr "封筒 長形4号" + +msgid "Envelope Choukei 4 Long Edge" +msgstr "封筒 長形4号 長辺送り" + +msgid "Envelope DL" +msgstr "封筒 DL" + +msgid "Envelope Feed" +msgstr "封筒フィード" + +msgid "Envelope Invite" +msgstr "招待状封筒" + +msgid "Envelope Italian" +msgstr "イタリア封筒" + +msgid "Envelope Kaku2" +msgstr "封筒 角2" + +msgid "Envelope Kaku2 Long Edge" +msgstr "封筒 角2 長辺送り" + +msgid "Envelope Kaku3" +msgstr "封筒 角3" + +msgid "Envelope Kaku3 Long Edge" +msgstr "封筒 角3 長辺送り" + +msgid "Envelope Monarch" +msgstr "封筒 Monarch" + +msgid "Envelope PRC1" +msgstr "" + +msgid "Envelope PRC1 Long Edge" +msgstr "封筒 PRC1 長辺送り" + +msgid "Envelope PRC10" +msgstr "封筒 PRC10" + +msgid "Envelope PRC10 Long Edge" +msgstr "封筒 PRC10 長辺送り" + +msgid "Envelope PRC2" +msgstr "封筒 PRC2" + +msgid "Envelope PRC2 Long Edge" +msgstr "封筒 PRC2 長辺送り" + +msgid "Envelope PRC3" +msgstr "封筒 PRC3" + +msgid "Envelope PRC3 Long Edge" +msgstr "封筒 PRC3 長辺送り" + +msgid "Envelope PRC4" +msgstr "封筒 PRC4" + +msgid "Envelope PRC4 Long Edge" +msgstr "封筒 PRC4 長辺送り" + +msgid "Envelope PRC5 Long Edge" +msgstr "封筒 PRC5 長辺送り" + +msgid "Envelope PRC5PRC5" +msgstr "封筒 PRC5" + +msgid "Envelope PRC6" +msgstr "封筒 PRC6" + +msgid "Envelope PRC6 Long Edge" +msgstr "封筒 PRC6 長辺送り" + +msgid "Envelope PRC7" +msgstr "封筒 PRC7" + +msgid "Envelope PRC7 Long Edge" +msgstr "封筒 PRC7 長辺送り" + +msgid "Envelope PRC8" +msgstr "封筒 PRC8" + +msgid "Envelope PRC8 Long Edge" +msgstr "封筒 PRC8 長辺送り" + +msgid "Envelope PRC9" +msgstr "封筒 PRC9" + +msgid "Envelope PRC9 Long Edge" +msgstr "封筒 PRC9 長辺送り" + +msgid "Envelope Personal" +msgstr "パーソナル封筒" + +msgid "Envelope You4" +msgstr "封筒 洋形4号" + +msgid "Envelope You4 Long Edge" +msgstr "封筒 洋形4号 長辺送り" + +msgid "Environment Variables:" +msgstr "環境変数:" + +msgid "Epson" +msgstr "Epson" + +msgid "Error Policy" +msgstr "エラーポリシー" + +msgid "Error reading raster data." +msgstr "" + +msgid "Error sending raster data." +msgstr "ラスターデータの送信でエラーが起きました。" + +msgid "Error: need hostname after \"-h\" option." +msgstr "Error: '-h' オプションのあとにはホスト名が必要です。" + +msgid "European Fanfold" +msgstr "" + +msgid "European Fanfold Legal" +msgstr "" + +msgid "Every 10 Labels" +msgstr "10 ラベルごと" + +msgid "Every 2 Labels" +msgstr "2 ラベルごと" + +msgid "Every 3 Labels" +msgstr "3 ラベルごと" + +msgid "Every 4 Labels" +msgstr "4 ラベルごと" + +msgid "Every 5 Labels" +msgstr "5 ラベルごと" + +msgid "Every 6 Labels" +msgstr "6 ラベルごと" + +msgid "Every 7 Labels" +msgstr "7 ラベルごと" + +msgid "Every 8 Labels" +msgstr "8 ラベルごと" + +msgid "Every 9 Labels" +msgstr "9 ラベルごと" + +msgid "Every Label" +msgstr "すべてのラベル" + +msgid "Executive" +msgstr "エグゼクティブ" + +msgid "Expectation Failed" +msgstr "予測に失敗しました" + +msgid "Expressions:" +msgstr "式:" + +msgid "Fast Grayscale" +msgstr "" + +#, c-format +msgid "File \"%s\" contains a relative path." +msgstr "ファイル \"%s\" は相対パスを含んでいます。" + +#, c-format +msgid "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "" +"ファイル \"%s\" は安全でないパーミッションが与えられています (0%o/uid=%d/gid=" +"%d)。" + +#, c-format +msgid "File \"%s\" is a directory." +msgstr "ファイル \"%s\" はディレクトリーです。" + +#, c-format +msgid "File \"%s\" not available: %s" +msgstr "ファイル \"%s\" は利用できません: %s" + +#, c-format +msgid "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "ファイル \"%s\" のパーミッションは問題ありません (0%o/uid=%d/gid=%d)。" + +msgid "File Folder" +msgstr "" + +#, c-format +msgid "" +"File device URIs have been disabled. To enable, see the FileDevice directive " +"in \"%s/cups-files.conf\"." +msgstr "" +"ファイルデバイス URI は無効になっています。有効にするには、\"%s/cups-files." +"conf\" の FileDevice ディレクティブを参照してください。" + +#, c-format +msgid "Finished page %d." +msgstr "ページ %d を終了。" + +msgid "Finishing Preset" +msgstr "" + +msgid "Fold" +msgstr "" + +msgid "Folio" +msgstr "フォリオ" + +msgid "Forbidden" +msgstr "Forbidden" + +msgid "Found" +msgstr "" + +msgid "General" +msgstr "一般" + +msgid "Generic" +msgstr "汎用" + +msgid "Get-Response-PDU uses indefinite length" +msgstr "Get-Response-PDU は不確定の長さを使用しています" + +msgid "Glossy Paper" +msgstr "光沢紙" + +msgid "Got a printer-uri attribute but no job-id." +msgstr "printer-uri 属性を取得しましたが、job-id を取得できませんでした。" + +msgid "Grayscale" +msgstr "グレースケール" + +msgid "HP" +msgstr "HP" + +msgid "Hanging Folder" +msgstr "Hanging Folder" + +msgid "Hash buffer too small." +msgstr "" + +msgid "Help file not in index." +msgstr "ヘルプファイルが索引に含まれていません。" + +msgid "High" +msgstr "" + +msgid "IPP 1setOf attribute with incompatible value tags." +msgstr "IPP の 1setOf 属性が value タグと互換性がありません。" + +msgid "IPP attribute has no name." +msgstr "IPP の属性に名前がありません。" + +msgid "IPP attribute is not a member of the message." +msgstr "IPP の属性がメッセージのメンバーではありません。" + +msgid "IPP begCollection value not 0 bytes." +msgstr "IPP の begCollection は想定された 0 バイトになっていません。" + +msgid "IPP boolean value not 1 byte." +msgstr "IPP の真偽値が想定された 1 バイトになっていません。" + +msgid "IPP date value not 11 bytes." +msgstr "IPP の date 値は想定された 11 バイトになっていません。" + +msgid "IPP endCollection value not 0 bytes." +msgstr "IPP の endCollection は想定された 0 バイトになっていません。" + +msgid "IPP enum value not 4 bytes." +msgstr "IPP の enum 値は想定された 4 バイトになっていません。" + +msgid "IPP extension tag larger than 0x7FFFFFFF." +msgstr "IPP の拡張タグが 0x7FFFFFFF より大きいです。" + +msgid "IPP integer value not 4 bytes." +msgstr "IPP の整数値は想定された 4 バイトになっていません。" + +msgid "IPP language length overflows value." +msgstr "IPP の language length の値がオーバーフローしています。" + +msgid "IPP language length too large." +msgstr "IPP の language の長さが長すぎます。" + +msgid "IPP member name is not empty." +msgstr "IPP のメンバー名が空ではありません。" + +msgid "IPP memberName value is empty." +msgstr "IPP の memberName の値が空です。" + +msgid "IPP memberName with no attribute." +msgstr "IPP の memberName に属性がありません。" + +msgid "IPP name larger than 32767 bytes." +msgstr "IPP 名が 32767 バイトより大きいです。" + +msgid "IPP nameWithLanguage value less than minimum 4 bytes." +msgstr "IPP の nameWithLanguage が最小値 4 バイト未満です。" + +msgid "IPP octetString length too large." +msgstr "IPP の octetString の長さが大きすぎます。" + +msgid "IPP rangeOfInteger value not 8 bytes." +msgstr "IPP の rangeOfInteger は想定された 8 バイトになっていません。" + +msgid "IPP resolution value not 9 bytes." +msgstr "IPP の resolution は想定された 9 バイトになっていません。" + +msgid "IPP string length overflows value." +msgstr "IPP の文字列長の値がオーバーフローしています。" + +msgid "IPP textWithLanguage value less than minimum 4 bytes." +msgstr "IPP の textWithLanguage の値が最小値 4 バイト未満です。" + +msgid "IPP value larger than 32767 bytes." +msgstr "IPP の値が 32767 バイト以上です。" + +msgid "IPPFIND_SERVICE_DOMAIN Domain name" +msgstr "" + +msgid "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" +msgstr "" + +msgid "IPPFIND_SERVICE_NAME Service instance name" +msgstr "" + +msgid "IPPFIND_SERVICE_PORT Port number" +msgstr "" + +msgid "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" +msgstr "" + +msgid "IPPFIND_SERVICE_SCHEME URI scheme" +msgstr "" + +msgid "IPPFIND_SERVICE_URI URI" +msgstr "" + +msgid "IPPFIND_TXT_* Value of TXT record key" +msgstr "" + +msgid "ISOLatin1" +msgstr "ISOLatin1" + +msgid "Illegal control character" +msgstr "不正な制御文字" + +msgid "Illegal main keyword string" +msgstr "不正なメインキーワード文字列" + +msgid "Illegal option keyword string" +msgstr "不正なオプションキーワード文字列" + +msgid "Illegal translation string" +msgstr "不正な翻訳文字列" + +msgid "Illegal whitespace character" +msgstr "不正な空白文字" + +msgid "Installable Options" +msgstr "インストール可能オプション" + +msgid "Installed" +msgstr "インストールされています" + +msgid "IntelliBar Label Printer" +msgstr "IntelliBar ラベルプリンター" + +msgid "Intellitech" +msgstr "Intellitech" + +msgid "Internal Server Error" +msgstr "サーバー内部エラー" + +msgid "Internal error" +msgstr "内部エラー" + +msgid "Internet Postage 2-Part" +msgstr "Internet Postage 2-Part" + +msgid "Internet Postage 3-Part" +msgstr "Internet Postage 3-Part" + +msgid "Internet Printing Protocol" +msgstr "インターネット印刷プロトコル" + +msgid "Invalid group tag." +msgstr "" + +msgid "Invalid media name arguments." +msgstr "無効なメディア名引数です。" + +msgid "Invalid media size." +msgstr "無効なメディアサイズです。" + +msgid "Invalid named IPP attribute in collection." +msgstr "" + +msgid "Invalid ppd-name value." +msgstr "" + +#, c-format +msgid "Invalid printer command \"%s\"." +msgstr "無効なプリンターコマンドです。 \"%s\"" + +msgid "JCL" +msgstr "JCL" + +msgid "JIS B0" +msgstr "JIS B0" + +msgid "JIS B1" +msgstr "JIS B1" + +msgid "JIS B10" +msgstr "JIS B10" + +msgid "JIS B2" +msgstr "JIS B2" + +msgid "JIS B3" +msgstr "JIS B3" + +msgid "JIS B4" +msgstr "JIS B4" + +msgid "JIS B4 Long Edge" +msgstr "JIS B4 長辺送り" + +msgid "JIS B5" +msgstr "JIS B5" + +msgid "JIS B5 Long Edge" +msgstr "JIS B5 長辺送り" + +msgid "JIS B6" +msgstr "JIS B6" + +msgid "JIS B6 Long Edge" +msgstr "JIS B6 長辺送り" + +msgid "JIS B7" +msgstr "JIS B7" + +msgid "JIS B8" +msgstr "JIS B8" + +msgid "JIS B9" +msgstr "JIS B9" + +#, c-format +msgid "Job #%d cannot be restarted - no files." +msgstr "ジョブ番号 %d を再開できません - ファイルが見つかりません。" + +#, c-format +msgid "Job #%d does not exist." +msgstr "ジョブ番号 %d は存在しません。" + +#, c-format +msgid "Job #%d is already aborted - can't cancel." +msgstr "ジョブ番号 %d はすでに中断されています - キャンセルできません。" + +#, c-format +msgid "Job #%d is already canceled - can't cancel." +msgstr "ジョブ番号 %d はすでにキャンセルされています - キャンセルできません。" + +#, c-format +msgid "Job #%d is already completed - can't cancel." +msgstr "ジョブ番号 %d はすでに完了しています - キャンセルできません。" + +#, c-format +msgid "Job #%d is finished and cannot be altered." +msgstr "ジョブ番号 %d はすでに終了し、変更できません。" + +#, c-format +msgid "Job #%d is not complete." +msgstr "ジョブ番号 %d は完了していません。" + +#, c-format +msgid "Job #%d is not held for authentication." +msgstr "ジョブ番号 %d は認証のために保留されていません。" + +#, c-format +msgid "Job #%d is not held." +msgstr "ジョブ番号 %d は保留されていません。" + +msgid "Job Completed" +msgstr "ジョブ完了" + +msgid "Job Created" +msgstr "ジョブ作成" + +msgid "Job Options Changed" +msgstr "ジョブオプション変更" + +msgid "Job Stopped" +msgstr "ジョブ中止" + +msgid "Job is completed and cannot be changed." +msgstr "ジョブは完了し変更できません。" + +msgid "Job operation failed" +msgstr "ジョブ操作失敗" + +msgid "Job state cannot be changed." +msgstr "ジョブの状態を変更できません。" + +msgid "Job subscriptions cannot be renewed." +msgstr "ジョブサブスクリプションを更新できません。" + +msgid "Jobs" +msgstr "ジョブ" + +msgid "LPD/LPR Host or Printer" +msgstr "LPD/LPR ホストまたはプリンター" + +msgid "" +"LPDEST environment variable names default destination that does not exist." +msgstr "" + +msgid "Label Printer" +msgstr "ラベルプリンター" + +msgid "Label Top" +msgstr "ラベルトップ" + +#, c-format +msgid "Language \"%s\" not supported." +msgstr "言語 \"%s\" はサポートされていません。" + +msgid "Large Address" +msgstr "ラージアドレス" + +msgid "LaserJet Series PCL 4/5" +msgstr "LaserJet Series PCL 4/5" + +msgid "Letter Oversize" +msgstr "US レター (特大)" + +msgid "Letter Oversize Long Edge" +msgstr "US レター (特大) 長辺送り" + +msgid "Light" +msgstr "薄い" + +msgid "Line longer than the maximum allowed (255 characters)" +msgstr "1 行が最大値 (255 文字) を超えています" + +msgid "List Available Printers" +msgstr "使用可能なプリンター一覧" + +#, c-format +msgid "Listening on port %d." +msgstr "" + +msgid "Local printer created." +msgstr "" + +msgid "Long-Edge (Portrait)" +msgstr "長辺給紙 (縦向き)" + +msgid "Looking for printer." +msgstr "プリンターを探しています。" + +msgid "Manual Feed" +msgstr "手差し" + +msgid "Media Size" +msgstr "用紙サイズ" + +msgid "Media Source" +msgstr "給紙" + +msgid "Media Tracking" +msgstr "用紙の経路" + +msgid "Media Type" +msgstr "用紙種類" + +msgid "Medium" +msgstr "紙質" + +msgid "Memory allocation error" +msgstr "メモリー割り当てエラー" + +msgid "Missing CloseGroup" +msgstr "CloseGroup がありません" + +msgid "Missing CloseUI/JCLCloseUI" +msgstr "" + +msgid "Missing PPD-Adobe-4.x header" +msgstr "PPD-Adobe-4.x ヘッダーがありません" + +msgid "Missing asterisk in column 1" +msgstr "1 列目にアスタリスクがありません" + +msgid "Missing document-number attribute." +msgstr "document-number 属性がありません。" + +msgid "Missing form variable" +msgstr "form 変数がありません。" + +msgid "Missing last-document attribute in request." +msgstr "リクエストに last-document 属性がありません。" + +msgid "Missing media or media-col." +msgstr "media または media-col がありません。" + +msgid "Missing media-size in media-col." +msgstr "media-col に media-size がありません。" + +msgid "Missing notify-subscription-ids attribute." +msgstr "notify-subscription-ids 属性がありません。" + +msgid "Missing option keyword" +msgstr "オプションキーワードがありません" + +msgid "Missing requesting-user-name attribute." +msgstr "requesting-user-name 属性が設定されていません。" + +#, c-format +msgid "Missing required attribute \"%s\"." +msgstr "" + +msgid "Missing required attributes." +msgstr "必須の属性が設定されていません。" + +msgid "Missing resource in URI" +msgstr "URI のリソースがない" + +msgid "Missing scheme in URI" +msgstr "URI のスキームがない" + +msgid "Missing value string" +msgstr "値文字列がありません" + +msgid "Missing x-dimension in media-size." +msgstr "media-size に x-dimension がありません。" + +msgid "Missing y-dimension in media-size." +msgstr "media-size に y-dimension がありません。" + +#, c-format +msgid "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" +msgstr "" +"モデル: 名前 = %s\n" +" 言語 = %s\n" +" プリンタードライバー = %s\n" +" デバイス ID = %s" + +msgid "Modifiers:" +msgstr "修飾子:" + +msgid "Modify Class" +msgstr "クラスの変更" + +msgid "Modify Printer" +msgstr "プリンターの変更" + +msgid "Move All Jobs" +msgstr "すべてのジョブの移動" + +msgid "Move Job" +msgstr "ジョブの移動" + +msgid "Moved Permanently" +msgstr "別の場所へ移動しました" + +msgid "NULL PPD file pointer" +msgstr "PPD ファイルポインターが NULL です" + +msgid "Name OID uses indefinite length" +msgstr "OID 名は限定的な長さを使用します" + +msgid "Nested classes are not allowed." +msgstr "入れ子になったクラスは許可されていません。" + +msgid "Never" +msgstr "Never" + +msgid "New credentials are not valid for name." +msgstr "" + +msgid "New credentials are older than stored credentials." +msgstr "" + +msgid "No" +msgstr "いいえ" + +msgid "No Content" +msgstr "中身がありません" + +msgid "No IPP attributes." +msgstr "" + +msgid "No PPD name" +msgstr "PPD の名前がありません" + +msgid "No VarBind SEQUENCE" +msgstr "VarBind SEQUENCE がありません" + +msgid "No active connection" +msgstr "アクティブな接続はありません" + +msgid "No active connection." +msgstr "アクティブな接続はありません。" + +#, c-format +msgid "No active jobs on %s." +msgstr "%s にはアクティブなジョブはありません。" + +msgid "No attributes in request." +msgstr "リクエストに属性がありません。" + +msgid "No authentication information provided." +msgstr "認証情報が提供されていません。" + +msgid "No common name specified." +msgstr "" + +msgid "No community name" +msgstr "コミュニティ名がありません" + +msgid "No default destination." +msgstr "" + +msgid "No default printer." +msgstr "デフォルトのプリンターはありません。" + +msgid "No destinations added." +msgstr "追加された宛先はありません。" + +msgid "No device URI found in argv[0] or in DEVICE_URI environment variable." +msgstr "argv[0] または 環境変数 DEVICE_URI にデバイス URI が見つかりません。" + +msgid "No error-index" +msgstr "エラーインデックスがありません" + +msgid "No error-status" +msgstr "エラーステータスがありません" + +msgid "No file in print request." +msgstr "印刷リクエストにファイルがありません。" + +msgid "No modification time" +msgstr "変更時刻がありません" + +msgid "No name OID" +msgstr "OID 名がありません" + +msgid "No pages were found." +msgstr " ページが見つかりません。" + +msgid "No printer name" +msgstr "プリンター名がありません" + +msgid "No printer-uri found" +msgstr "プリンター URI が見つかりません" + +msgid "No printer-uri found for class" +msgstr "クラスのプリンター URI が見つかりません" + +msgid "No printer-uri in request." +msgstr "プリンター URI のリクエストがありません。" + +msgid "No request URI." +msgstr "リクエスト URI がありません。" + +msgid "No request protocol version." +msgstr "リクエストプロトコルバージョンがありません。" + +msgid "No request sent." +msgstr "リクエストが送られませんでした。" + +msgid "No request-id" +msgstr "リクエストID がありません" + +msgid "No stored credentials, not valid for name." +msgstr "" + +msgid "No subscription attributes in request." +msgstr "リクエストにサブスクリプション属性がありません。" + +msgid "No subscriptions found." +msgstr "サブスクリプションが見つかりません。" + +msgid "No variable-bindings SEQUENCE" +msgstr "variable-bindings SEQUENCE がありません" + +msgid "No version number" +msgstr "バージョン名がありません" + +msgid "Non-continuous (Mark sensing)" +msgstr "非連続です (Mark sensing)" + +msgid "Non-continuous (Web sensing)" +msgstr "非連続です (Web sensing)" + +msgid "None" +msgstr "" + +msgid "Normal" +msgstr "標準" + +msgid "Not Found" +msgstr "見つかりません" + +msgid "Not Implemented" +msgstr "実装されていません" + +msgid "Not Installed" +msgstr "インストールされていません" + +msgid "Not Modified" +msgstr "変更されていません" + +msgid "Not Supported" +msgstr "サポートされていません" + +msgid "Not allowed to print." +msgstr "印刷が許可されていません。" + +msgid "Note" +msgstr "注意" + +msgid "OK" +msgstr "OK" + +msgid "Off (1-Sided)" +msgstr "Off (片面)" + +msgid "Oki" +msgstr "Oki" + +msgid "Online Help" +msgstr "オンラインヘルプ" + +msgid "Only local users can create a local printer." +msgstr "" + +#, c-format +msgid "Open of %s failed: %s" +msgstr "%s のオープンに失敗しました: %s" + +msgid "OpenGroup without a CloseGroup first" +msgstr "OpenGroup の前にまず CloseGroup が必要です" + +msgid "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" +msgstr "OpenUI/JCLOpenUI の前にまず CloseUI/JCLCloseUI が必要です" + +msgid "Operation Policy" +msgstr "操作ポリシー" + +#, c-format +msgid "Option \"%s\" cannot be included via %%%%IncludeFeature." +msgstr "オプション \"%s\" は %%%%IncludeFeature 経由で含めることはできません。" + +msgid "Options Installed" +msgstr "インストールされたオプション" + +msgid "Options:" +msgstr "オプション:" + +msgid "Other Media" +msgstr "" + +msgid "Other Tray" +msgstr "" + +msgid "Out of date PPD cache file." +msgstr "PPD キャッシュファイルが古すぎます。" + +msgid "Out of memory." +msgstr "メモリーが足りません。" + +msgid "Output Mode" +msgstr "出力モード" + +msgid "PCL Laser Printer" +msgstr "PCL レーザープリンター" + +msgid "PRC16K" +msgstr "PRC16K" + +msgid "PRC16K Long Edge" +msgstr "PRC16K 長辺送り" + +msgid "PRC32K" +msgstr "PRC32K" + +msgid "PRC32K Long Edge" +msgstr "PRC32K 長辺送り" + +msgid "PRC32K Oversize" +msgstr "PRC32K (特大)" + +msgid "PRC32K Oversize Long Edge" +msgstr "PRC32K (特大) 長辺送り" + +msgid "" +"PRINTER environment variable names default destination that does not exist." +msgstr "" + +msgid "Packet does not contain a Get-Response-PDU" +msgstr "パケットが Get-Response-PDU を含んでいません" + +msgid "Packet does not start with SEQUENCE" +msgstr "パケットが SEQUENCE から始まりません" + +msgid "ParamCustominCutInterval" +msgstr "ParamCustominCutInterval" + +msgid "ParamCustominTearInterval" +msgstr "ParamCustominTearInterval" + +#, c-format +msgid "Password for %s on %s? " +msgstr "%s のパスワード (%s 上)? " + +msgid "Pause Class" +msgstr "クラスの休止" + +msgid "Pause Printer" +msgstr "プリンターの休止" + +msgid "Peel-Off" +msgstr "Peel-Off" + +msgid "Photo" +msgstr "写真" + +msgid "Photo Labels" +msgstr "写真ラベル" + +msgid "Plain Paper" +msgstr "普通紙" + +msgid "Policies" +msgstr "ポリシー" + +msgid "Port Monitor" +msgstr "ポートモニター" + +msgid "PostScript Printer" +msgstr "PostScript プリンター" + +msgid "Postcard" +msgstr "ハガキ" + +msgid "Postcard Double" +msgstr "" + +msgid "Postcard Double Long Edge" +msgstr "往復ハガキ 長辺送り" + +msgid "Postcard Long Edge" +msgstr "ハガキ 長辺送り" + +msgid "Preparing to print." +msgstr "印刷準備中です。" + +msgid "Print Density" +msgstr "印刷密度" + +msgid "Print Job:" +msgstr "ジョブの印刷:" + +msgid "Print Mode" +msgstr "印刷モード" + +msgid "Print Quality" +msgstr "" + +msgid "Print Rate" +msgstr "印刷レート" + +msgid "Print Self-Test Page" +msgstr "自己テストページの印刷" + +msgid "Print Speed" +msgstr "印刷速度" + +msgid "Print Test Page" +msgstr "テストページの印刷" + +msgid "Print and Cut" +msgstr "プリントしてカット" + +msgid "Print and Tear" +msgstr "プリントして切り取る" + +msgid "Print file sent." +msgstr "プリントファイルが送られました。" + +msgid "Print job canceled at printer." +msgstr "印刷ジョブはプリンターでキャンセルされました。" + +msgid "Print job too large." +msgstr "印刷ジョブが大きすぎます。" + +msgid "Print job was not accepted." +msgstr "印刷ジョブが受け付けられませんでした。" + +#, c-format +msgid "Printer \"%s\" already exists." +msgstr "" + +msgid "Printer Added" +msgstr "追加されたプリンター" + +msgid "Printer Default" +msgstr "デフォルトのプリンター" + +msgid "Printer Deleted" +msgstr "削除されたプリンター" + +msgid "Printer Modified" +msgstr "変更されたプリンター" + +msgid "Printer Paused" +msgstr "プリンターの休止" + +msgid "Printer Settings" +msgstr "プリンター設定" + +msgid "Printer cannot print supplied content." +msgstr "プリンターは受信した内容を印刷できませんでした。" + +msgid "Printer cannot print with supplied options." +msgstr "指定されたオプションではプリンターは印刷できません。" + +msgid "Printer does not support required IPP attributes or document formats." +msgstr "" + +msgid "Printer:" +msgstr "プリンター:" + +msgid "Printers" +msgstr "プリンター" + +#, c-format +msgid "Printing page %d, %u%% complete." +msgstr "ページ %d, %u%% の印刷が完了しました。" + +msgid "Punch" +msgstr "" + +msgid "Quarto" +msgstr "Quarto" + +msgid "Quota limit reached." +msgstr "クォータの制限に達しました。" + +msgid "Rank Owner Job File(s) Total Size" +msgstr "ランク 所有者 ジョブ ファイル 合計サイズ" + +msgid "Reject Jobs" +msgstr "ジョブの拒否" + +#, c-format +msgid "Remote host did not accept control file (%d)." +msgstr "リモートホストがコントロールファイルを受け付けませんでした (%d)。" + +#, c-format +msgid "Remote host did not accept data file (%d)." +msgstr "リモートホストがデータファイルを受け付けませんでした (%d)。" + +msgid "Reprint After Error" +msgstr "エラー後の再印刷" + +msgid "Request Entity Too Large" +msgstr "要求するエンティティが大きすぎます" + +msgid "Resolution" +msgstr "解像度" + +msgid "Resume Class" +msgstr "クラスを再開する" + +msgid "Resume Printer" +msgstr "プリンターを再開する" + +msgid "Return Address" +msgstr "返信用ラベル" + +msgid "Rewind" +msgstr "巻き取り" + +msgid "SEQUENCE uses indefinite length" +msgstr "SEQUENCE は不定長を使用しています" + +msgid "SSL/TLS Negotiation Error" +msgstr "SSL/TLS のネゴシエーションエラー" + +msgid "See Other" +msgstr "残りを見てください" + +msgid "See remote printer." +msgstr "" + +msgid "Self-signed credentials are blocked." +msgstr "" + +msgid "Sending data to printer." +msgstr "データをプリンターに送信しています。" + +msgid "Server Restarted" +msgstr "再起動されたサーバー" + +msgid "Server Security Auditing" +msgstr "サーバーのセキュリティー監査" + +msgid "Server Started" +msgstr "開始されたサーバー" + +msgid "Server Stopped" +msgstr "停止されたサーバー" + +msgid "Server credentials not set." +msgstr "サーバー証明書が設定されていません。" + +msgid "Service Unavailable" +msgstr "利用できないサービス" + +msgid "Set Allowed Users" +msgstr "許可するユーザーの設定" + +msgid "Set As Server Default" +msgstr "サーバーのデフォルトに設定" + +msgid "Set Class Options" +msgstr "クラスオプションの設定" + +msgid "Set Printer Options" +msgstr "プリンターオプションの設定" + +msgid "Set Publishing" +msgstr "公開の設定" + +msgid "Shipping Address" +msgstr "発送先ラベル" + +msgid "Short-Edge (Landscape)" +msgstr "短辺 (横原稿)" + +msgid "Special Paper" +msgstr "特殊紙" + +#, c-format +msgid "Spooling job, %.0f%% complete." +msgstr "ジョブをスプール中、%.0f%% 完了しました。" + +msgid "Standard" +msgstr "標準" + +msgid "Staple" +msgstr "" + +#. TRANSLATORS: Banner/cover sheet before the print job. +msgid "Starting Banner" +msgstr "開始バナー" + +#, c-format +msgid "Starting page %d." +msgstr "ページ %d を開始しています。" + +msgid "Statement" +msgstr "記述" + +#, c-format +msgid "Subscription #%d does not exist." +msgstr "サブスクリプション番号 %d は存在しません。" + +msgid "Substitutions:" +msgstr "置換:" + +msgid "Super A" +msgstr "スーパー A" + +msgid "Super B" +msgstr "スーパー B" + +msgid "Super B/A3" +msgstr "スーパー B/A3" + +msgid "Switching Protocols" +msgstr "プロトコルの変更" + +msgid "Tabloid" +msgstr "タブロイド" + +msgid "Tabloid Oversize" +msgstr "タブロイド (特大)" + +msgid "Tabloid Oversize Long Edge" +msgstr "タブロイド (特大) 長辺送り" + +msgid "Tear" +msgstr "Tear" + +msgid "Tear-Off" +msgstr "Tear-Off" + +msgid "Tear-Off Adjust Position" +msgstr "Tear-Off 位置調節" + +#, c-format +msgid "The \"%s\" attribute is required for print jobs." +msgstr "印刷ジョブに \"%s\" 属性が必要です。" + +#, c-format +msgid "The %s attribute cannot be provided with job-ids." +msgstr "%s 属性は、ジョブ ID と一緒に使うことはできません。" + +#, c-format +msgid "" +"The '%s' Job Status attribute cannot be supplied in a job creation request." +msgstr "" + +#, c-format +msgid "" +"The '%s' operation attribute cannot be supplied in a Create-Job request." +msgstr "%s 操作属性は、Create-Job リクエストの中で使うことはできません。" + +#, c-format +msgid "The PPD file \"%s\" could not be found." +msgstr "PPD ファイル \"%s\" が見つかりません。" + +#, c-format +msgid "The PPD file \"%s\" could not be opened: %s" +msgstr "PPD ファイル \"%s\" を開けませんでした: %s" + +msgid "The PPD file could not be opened." +msgstr "PPD ファイルを開けませんでした。" + +msgid "" +"The class name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/), or the pound sign (#)." +msgstr "" +"クラス名は 127 文字以内の表示可能文字からなり、空白、スラッシュ (/)、ハッ" +"シュ (#) を含んではなりません。" + +msgid "" +"The notify-lease-duration attribute cannot be used with job subscriptions." +msgstr "" +"notify-lease-duration 属性は、ジョブサブスクリプションと一緒に使うことはでき" +"ません。" + +#, c-format +msgid "The notify-user-data value is too large (%d > 63 octets)." +msgstr "notify-user-data 値が大きすぎます (%d > 63 オクテット)。" + +msgid "The printer configuration is incorrect or the printer no longer exists." +msgstr "プリンターの設定が正しくないかプリンターはすでに存在しません。" + +msgid "The printer did not respond." +msgstr "プリンターが応答しません。" + +msgid "The printer is in use." +msgstr "プリンターは使用中です。" + +msgid "The printer is not connected." +msgstr "プリンターは接続されていません。" + +msgid "The printer is not responding." +msgstr "プリンターが応答していません。" + +msgid "The printer is now connected." +msgstr "プリンターが接続されました。" + +msgid "The printer is now online." +msgstr "プリンターは現在オンラインです。" + +msgid "The printer is offline." +msgstr "プリンターはオフラインです。" + +msgid "The printer is unreachable at this time." +msgstr "プリンターには現在到達できません。" + +msgid "The printer may not exist or is unavailable at this time." +msgstr "プリンターは現在存在しないか、使用できないようです。" + +msgid "" +"The printer name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the " +"pound sign (#)." +msgstr "" + +msgid "The printer or class does not exist." +msgstr "プリンターまたはクラスは存在しません。" + +msgid "The printer or class is not shared." +msgstr "プリンターまたはクラスは共有できません。" + +#, c-format +msgid "The printer-uri \"%s\" contains invalid characters." +msgstr "printer-uri \"%s\" には、無効な文字が含まれています。" + +msgid "The printer-uri attribute is required." +msgstr "printer-uri 属性は必須です。" + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." +msgstr "" +"printer-uri は、\"ipp://ホスト名/classes/クラス名\" 形式でなければなりませ" +"ん。" + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." +msgstr "" +"printer-uri は \"ipp://ホスト名/printers/プリンター名\" 形式でなければなりま" +"せん。" + +msgid "" +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to " +"enable it." +msgstr "" +"Web インターフェイスが現在無効になっています。有効にするには \"cupsctl " +"WebInterface=yes\" を実行してください。" + +#, c-format +msgid "The which-jobs value \"%s\" is not supported." +msgstr "which-jobs の値 \"%s\" はサポートされていません。" + +msgid "There are too many subscriptions." +msgstr "サブスクリプションが多すぎます。" + +msgid "There was an unrecoverable USB error." +msgstr "回復不可能な USB のエラーが発生しています。" + +msgid "Thermal Transfer Media" +msgstr "熱転写メディア" + +msgid "Too many active jobs." +msgstr "アクティブなジョブが多すぎます。" + +#, c-format +msgid "Too many job-sheets values (%d > 2)." +msgstr "job-sheets 値が多すぎます (%d > 2)。" + +#, c-format +msgid "Too many printer-state-reasons values (%d > %d)." +msgstr "printer-state-reasons 値が多すぎます (%d > %d)。" + +msgid "Transparency" +msgstr "OHP シート" + +msgid "Tray" +msgstr "トレイ" + +msgid "Tray 1" +msgstr "トレイ 1" + +msgid "Tray 2" +msgstr "トレイ 2" + +msgid "Tray 3" +msgstr "トレイ 3" + +msgid "Tray 4" +msgstr "トレイ 4" + +msgid "Trust on first use is disabled." +msgstr "" + +msgid "URI Too Long" +msgstr "URI が長すぎます" + +msgid "URI too large" +msgstr "URI が長すぎる" + +msgid "US Fanfold" +msgstr "" + +msgid "US Ledger" +msgstr "US レジャー" + +msgid "US Legal" +msgstr "US リーガル" + +msgid "US Legal Oversize" +msgstr "US リーガル (特大)" + +msgid "US Letter" +msgstr "US レター" + +msgid "US Letter Long Edge" +msgstr "US レター 長辺送り" + +msgid "US Letter Oversize" +msgstr "US レター (特大)" + +msgid "US Letter Oversize Long Edge" +msgstr "US レター (特大) 長辺送り" + +msgid "US Letter Small" +msgstr "US レター (小)" + +msgid "Unable to access cupsd.conf file" +msgstr "cupsd.conf ファイルにアクセスできません" + +msgid "Unable to access help file." +msgstr "ヘルプファイルにアクセスできません。" + +msgid "Unable to add class" +msgstr "クラスを追加できません" + +msgid "Unable to add document to print job." +msgstr "ドキュメントを印刷ジョブに追加できません。" + +#, c-format +msgid "Unable to add job for destination \"%s\"." +msgstr "宛先 \"%s\"にジョブを追加できません。" + +msgid "Unable to add printer" +msgstr "プリンターを追加できません" + +msgid "Unable to allocate memory for file types." +msgstr "ファイルタイプ用にメモリーを割り当てられません。" + +msgid "Unable to allocate memory for page info" +msgstr "ページ情報のメモリー割り当てができません" + +msgid "Unable to allocate memory for pages array" +msgstr "ページアレイのメモリー割り当てができません" + +msgid "Unable to allocate memory for printer" +msgstr "" + +msgid "Unable to cancel print job." +msgstr "プリンターを変更できません。" + +msgid "Unable to change printer" +msgstr "プリンターを変更できません" + +msgid "Unable to change printer-is-shared attribute" +msgstr "printer-is-shared 属性を変更することができません" + +msgid "Unable to change server settings" +msgstr "サーバーの設定を変更できません" + +#, c-format +msgid "Unable to compile mimeMediaType regular expression: %s." +msgstr "mimeMediaType の正規表現を解釈できませんでした: %s。" + +#, c-format +msgid "Unable to compile naturalLanguage regular expression: %s." +msgstr "naturalLanguage の正規表現を解釈できませんでした: %s。" + +msgid "Unable to configure printer options." +msgstr "プリンターオプションを設定できません。" + +msgid "Unable to connect to host." +msgstr "ホストに接続できません。" + +msgid "Unable to contact printer, queuing on next printer in class." +msgstr "プリンターと交信できません。クラス内の次のプリンターにキューします。" + +#, c-format +msgid "Unable to copy PPD file - %s" +msgstr "PPD ファイルをコピーできません - %s" + +msgid "Unable to copy PPD file." +msgstr "PPD ファイルをコピーできません。" + +msgid "Unable to create credentials from array." +msgstr "" + +msgid "Unable to create printer-uri" +msgstr "printer-uri を作成できません" + +msgid "Unable to create printer." +msgstr "" + +msgid "Unable to create server credentials." +msgstr "サーバー証明書を作成できません。" + +#, c-format +msgid "Unable to create spool directory \"%s\": %s" +msgstr "" + +msgid "Unable to create temporary file" +msgstr "テンポラリーファイルを作成できません" + +msgid "Unable to delete class" +msgstr "クラスを削除できません" + +msgid "Unable to delete printer" +msgstr "プリンターを削除できません" + +msgid "Unable to do maintenance command" +msgstr "メンテナンスコマンドを実行できません" + +msgid "Unable to edit cupsd.conf files larger than 1MB" +msgstr "1MB 以上の cupsd.conf ファイルは編集できません" + +#, c-format +msgid "Unable to establish a secure connection to host (%d)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (certificate chain invalid)." +msgstr "ホストへの安全な接続が確立できません (認証パスが無効です)。" + +msgid "" +"Unable to establish a secure connection to host (certificate not yet valid)." +msgstr "ホストへの安全な接続が確立できません (認証がまだ有効ではありません)。" + +msgid "Unable to establish a secure connection to host (expired certificate)." +msgstr "ホストへの安全な接続が確立できません (認証が期限切れです)。" + +msgid "Unable to establish a secure connection to host (host name mismatch)." +msgstr "ホストへの安全な接続が確立できません (ホスト名が一致しません)。" + +msgid "" +"Unable to establish a secure connection to host (peer dropped connection " +"before responding)." +msgstr "" +"ホストへの安全な接続が確立できません (応答がある前に接続が切断されました)。" + +msgid "" +"Unable to establish a secure connection to host (self-signed certificate)." +msgstr "ホストへの安全な接続が確立できません (自己署名証明書です)。" + +msgid "" +"Unable to establish a secure connection to host (untrusted certificate)." +msgstr "ホストへの安全な接続が確立できません (信用できない証明書です)。" + +msgid "Unable to establish a secure connection to host." +msgstr "ホストへの安全な接続を確立できません。" + +#, c-format +msgid "Unable to execute command \"%s\": %s" +msgstr "" + +msgid "Unable to find destination for job" +msgstr "ジョブの宛先が見つかりません" + +msgid "Unable to find printer." +msgstr "プリンターが見つかりません。" + +msgid "Unable to find server credentials." +msgstr "サーバー証明書を見つけられません。" + +msgid "Unable to get backend exit status." +msgstr "バックエンドの終了ステータスを取得できません。" + +msgid "Unable to get class list" +msgstr "クラスリストを取得できません" + +msgid "Unable to get class status" +msgstr "クラスの状態を取得できません。" + +msgid "Unable to get list of printer drivers" +msgstr "プリンタードライバーのリストを取得できません" + +msgid "Unable to get printer attributes" +msgstr "プリンター属性を取得できません" + +msgid "Unable to get printer list" +msgstr "プリンターリストを取得できません" + +msgid "Unable to get printer status" +msgstr "プリンターの状態を取得できません" + +msgid "Unable to get printer status." +msgstr "プリンターの状態を取得できません。" + +msgid "Unable to load help index." +msgstr "ヘルプの索引を読み込めません。" + +#, c-format +msgid "Unable to locate printer \"%s\"." +msgstr "プリンター \"%s\" が見つかりません。" + +msgid "Unable to locate printer." +msgstr "プリンターが見つかりません。" + +msgid "Unable to modify class" +msgstr "クラスを変更できません" + +msgid "Unable to modify printer" +msgstr "プリンターを変更できません" + +msgid "Unable to move job" +msgstr "ジョブを移動できません" + +msgid "Unable to move jobs" +msgstr "複数のジョブを移動できません" + +msgid "Unable to open PPD file" +msgstr "PPD ファイルを読み込むことができません" + +msgid "Unable to open cupsd.conf file:" +msgstr "cupsd.conf ファイルを開けません:" + +msgid "Unable to open device file" +msgstr "デバイスファイルを開けません" + +#, c-format +msgid "Unable to open document #%d in job #%d." +msgstr "ドキュメント %d (ジョブ %d) を開けません。" + +msgid "Unable to open help file." +msgstr "ヘルプファイルを読み込むことができません。" + +msgid "Unable to open print file" +msgstr "印刷ファイルを開けません" + +msgid "Unable to open raster file" +msgstr "ラスターファイルを開けません" + +msgid "Unable to print test page" +msgstr "テストページを印刷できません" + +msgid "Unable to read print data." +msgstr "プリントデータを読み込めません。" + +#, c-format +msgid "Unable to register \"%s.%s\": %d" +msgstr "" + +msgid "Unable to rename job document file." +msgstr "" + +msgid "Unable to resolve printer-uri." +msgstr "printer-uri を解決できません。" + +msgid "Unable to see in file" +msgstr "ファイルを読み込むことができません" + +msgid "Unable to send command to printer driver" +msgstr "プリンタードライバーにコマンドを送信できません" + +msgid "Unable to send data to printer." +msgstr "プリンターにデータを送信することができません。" + +msgid "Unable to set options" +msgstr "オプションを設定できません" + +msgid "Unable to set server default" +msgstr "サーバーをデフォルトに設定できません" + +msgid "Unable to start backend process." +msgstr "バックエンドのプロセスを起動できません。" + +msgid "Unable to upload cupsd.conf file" +msgstr "cupsd.conf ファイルをアップロードできません" + +msgid "Unable to use legacy USB class driver." +msgstr "古いタイプの USB クラスドライバーは使用できません。" + +msgid "Unable to write print data" +msgstr "プリントデータを書き込めません" + +#, c-format +msgid "Unable to write uncompressed print data: %s" +msgstr "非圧縮のプリントデータを書き込めません: %s" + +msgid "Unauthorized" +msgstr "未許可" + +msgid "Units" +msgstr "ユニット" + +msgid "Unknown" +msgstr "未知" + +#, c-format +msgid "Unknown choice \"%s\" for option \"%s\"." +msgstr "\"%s\" (オプション \"%s\" 用) は未知の設定です。" + +#, c-format +msgid "Unknown directive \"%s\" on line %d of \"%s\" ignored." +msgstr "" + +#, c-format +msgid "Unknown encryption option value: \"%s\"." +msgstr "\"%s\" は未知の暗号オプション値です。" + +#, c-format +msgid "Unknown file order: \"%s\"." +msgstr "\"%s\" は未知のファイルオーダーです。" + +#, c-format +msgid "Unknown format character: \"%c\"." +msgstr "\"%c\" は未知の書式文字です。" + +msgid "Unknown hash algorithm." +msgstr "" + +msgid "Unknown media size name." +msgstr "未知のメディアサイズ名称です。" + +#, c-format +msgid "Unknown option \"%s\" with value \"%s\"." +msgstr "\"%s\" (値 \"%s\") は未知のオプションです。" + +#, c-format +msgid "Unknown option \"%s\"." +msgstr "\"%s\" は未知のオプションです。" + +#, c-format +msgid "Unknown print mode: \"%s\"." +msgstr "\"%s\" は未知のプリントモードです。" + +#, c-format +msgid "Unknown printer-error-policy \"%s\"." +msgstr "\"%s\" は未知の printer-error-policy です。" + +#, c-format +msgid "Unknown printer-op-policy \"%s\"." +msgstr "\"%s\" は未知の printer-op-policy です。" + +msgid "Unknown request method." +msgstr "未知のリクエスト方法です。" + +msgid "Unknown request version." +msgstr "未知のリクエストバージョンです。" + +msgid "Unknown scheme in URI" +msgstr "URI に未知のスキーマがあります" + +msgid "Unknown service name." +msgstr "未知のサービス名です。" + +#, c-format +msgid "Unknown version option value: \"%s\"." +msgstr "\"%s\" は未知のバージョンオプション値です。" + +#, c-format +msgid "Unsupported 'compression' value \"%s\"." +msgstr "\"%s\" はサポートされていない 'compression' の値です。" + +#, c-format +msgid "Unsupported 'document-format' value \"%s\"." +msgstr "\"%s\" はサポートされていない 'document-format' の値です。" + +msgid "Unsupported 'job-hold-until' value." +msgstr "" + +msgid "Unsupported 'job-name' value." +msgstr "サポートされていない 'job-name' の値です。" + +#, c-format +msgid "Unsupported character set \"%s\"." +msgstr "\"%s\" はサポートされていない文字セットです。" + +#, c-format +msgid "Unsupported compression \"%s\"." +msgstr "\"%s\" はサポートされていない圧縮形式です。" + +#, c-format +msgid "Unsupported document-format \"%s\"." +msgstr "\"%s\" はサポートされていない文書形式です。" + +#, c-format +msgid "Unsupported document-format \"%s/%s\"." +msgstr "\"%s/%s\" はサポートされていない文書形式です。" + +#, c-format +msgid "Unsupported format \"%s\"." +msgstr "\"%s\" はサポートされていない形式です。" + +msgid "Unsupported margins." +msgstr "サポートされていないマージンです。" + +msgid "Unsupported media value." +msgstr "サポートされていないメディアの値です。" + +#, c-format +msgid "Unsupported number-up value %d, using number-up=1." +msgstr "%d はサポートされていない number-up 値です。number-up=1 を使用します。" + +#, c-format +msgid "Unsupported number-up-layout value %s, using number-up-layout=lrtb." +msgstr "" +"%s はサポートされていない number-up-layout 値です。number-up-layout=lrtb を使" +"用します。" + +#, c-format +msgid "Unsupported page-border value %s, using page-border=none." +msgstr "" +"%s はサポートされていない page-border 値です。page-border=none を使用します。" + +msgid "Unsupported raster data." +msgstr "サポートされていないラスターデータです。" + +msgid "Unsupported value type" +msgstr "サポートされていない型の値です" + +msgid "Upgrade Required" +msgstr "アップグレードが必要です" + +#, c-format +msgid "Usage: %s [options] destination(s)" +msgstr "" + +#, c-format +msgid "Usage: %s job-id user title copies options [file]" +msgstr "使い方: %s ジョブID ユーザー タイトル コピー数 オプション [ファイル]" + +msgid "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" +msgstr "" + +msgid "Usage: cupsctl [options] [param=value ... paramN=valueN]" +msgstr "Usage: cupsctl [オプション] [パラメータ=値 ... パラメータN=値N]" + +msgid "Usage: cupsd [options]" +msgstr "使い方: cupsd [オプション]" + +msgid "Usage: cupsfilter [ options ] [ -- ] filename" +msgstr "使い方: cupsfilter [ オプション ] [ -- ] ファイル名" + +msgid "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" +msgstr "" + +msgid "Usage: ippeveprinter [options] \"name\"" +msgstr "" + +msgid "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" +msgstr "" +"使い方: ippfind [オプション] 登録タイプ[,サブタイプ][.ドメイン.] ... [式]\n" +" ippfind [オプション] 名前[.登録タイプ[.ドメイン.]] ... [式]\n" +" ippfind --help\n" +" ippfind --version" + +msgid "Usage: ipptool [options] URI filename [ ... filenameN ]" +msgstr "使い方: ipptool [オプション] URI ファイル名 [ ... ファイル名N ]" + +msgid "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" +msgstr "" + +msgid "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" +msgstr "" + +msgid "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" +msgstr "" + +msgid "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" +msgstr "" + +msgid "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" +msgstr "" + +msgid "Usage: lpq [options] [+interval]" +msgstr "" + +msgid "Usage: lpr [options] [file(s)]" +msgstr "" + +msgid "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" +msgstr "" + +msgid "Usage: lpstat [options]" +msgstr "" + +msgid "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" +msgstr "使い方: ppdc [オプション] ファイル名.drv [ ... ファイル名N.drv ]" + +msgid "Usage: ppdhtml [options] filename.drv >filename.html" +msgstr "使い方: ppdhtml [オプション] ファイル名.drv >ファイル名.html" + +msgid "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "使い方: ppdi [オプション] ファイル名.ppd [ ... ファイル名N.ppd ]" + +msgid "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "使い方: ppdmerge [オプション] ファイル名.ppd [ ... ファイル名N.ppd ]" + +msgid "" +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" +msgstr "" +"使い方: ppdpo [オプション] -o ファイル名.po ファイル名.drv [ ... ファイル名N." +"drv ]" + +msgid "Usage: snmp [host-or-ip-address]" +msgstr "使い方: snmp [ホスト名またはIPアドレス]" + +#, c-format +msgid "Using spool directory \"%s\"." +msgstr "" + +msgid "Value uses indefinite length" +msgstr "値は不定長です" + +msgid "VarBind uses indefinite length" +msgstr "VarBind は不定長です" + +msgid "Version uses indefinite length" +msgstr "Version は不定長です" + +msgid "Waiting for job to complete." +msgstr "ジョブが完了するのを待っています。" + +msgid "Waiting for printer to become available." +msgstr "プリンターが使用可能になるのを待っています。" + +msgid "Waiting for printer to finish." +msgstr "プリンターが終了するのを待っています。" + +msgid "Warning: This program will be removed in a future version of CUPS." +msgstr "" + +msgid "Web Interface is Disabled" +msgstr "Web インターフェイスが無効になっています" + +msgid "Yes" +msgstr "はい" + +msgid "You cannot access this page." +msgstr "" + +#, c-format +msgid "You must access this page using the URL https://%s:%d%s." +msgstr "" +"このページには URL https://%s:%d%s を使ってアクセスする必要があります。" + +msgid "Your account does not have the necessary privileges." +msgstr "" + +msgid "ZPL Label Printer" +msgstr "ZPL ラベルプリンター" + +msgid "Zebra" +msgstr "ゼブラ" + +msgid "aborted" +msgstr "停止" + +#. TRANSLATORS: Accuracy Units +msgid "accuracy-units" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "accuracy-units.mm" +msgstr "" + +#. TRANSLATORS: Nanometers +msgid "accuracy-units.nm" +msgstr "" + +#. TRANSLATORS: Micrometers +msgid "accuracy-units.um" +msgstr "" + +#. TRANSLATORS: Bale Output +msgid "baling" +msgstr "" + +#. TRANSLATORS: Bale Using +msgid "baling-type" +msgstr "" + +#. TRANSLATORS: Band +msgid "baling-type.band" +msgstr "" + +#. TRANSLATORS: Shrink Wrap +msgid "baling-type.shrink-wrap" +msgstr "" + +#. TRANSLATORS: Wrap +msgid "baling-type.wrap" +msgstr "" + +#. TRANSLATORS: Bale After +msgid "baling-when" +msgstr "" + +#. TRANSLATORS: Job +msgid "baling-when.after-job" +msgstr "" + +#. TRANSLATORS: Sets +msgid "baling-when.after-sets" +msgstr "" + +#. TRANSLATORS: Bind Output +msgid "binding" +msgstr "" + +#. TRANSLATORS: Bind Edge +msgid "binding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "binding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "binding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "binding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "binding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Binder Type +msgid "binding-type" +msgstr "" + +#. TRANSLATORS: Adhesive +msgid "binding-type.adhesive" +msgstr "" + +#. TRANSLATORS: Comb +msgid "binding-type.comb" +msgstr "" + +#. TRANSLATORS: Flat +msgid "binding-type.flat" +msgstr "" + +#. TRANSLATORS: Padding +msgid "binding-type.padding" +msgstr "" + +#. TRANSLATORS: Perfect +msgid "binding-type.perfect" +msgstr "" + +#. TRANSLATORS: Spiral +msgid "binding-type.spiral" +msgstr "" + +#. TRANSLATORS: Tape +msgid "binding-type.tape" +msgstr "" + +#. TRANSLATORS: Velo +msgid "binding-type.velo" +msgstr "" + +msgid "canceled" +msgstr "キャンセル" + +#. TRANSLATORS: Chamber Humidity +msgid "chamber-humidity" +msgstr "" + +#. TRANSLATORS: Chamber Temperature +msgid "chamber-temperature" +msgstr "" + +#. TRANSLATORS: Print Job Cost +msgid "charge-info-message" +msgstr "" + +#. TRANSLATORS: Coat Sheets +msgid "coating" +msgstr "" + +#. TRANSLATORS: Add Coating To +msgid "coating-sides" +msgstr "" + +#. TRANSLATORS: Back +msgid "coating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "coating-sides.both" +msgstr "" + +#. TRANSLATORS: Front +msgid "coating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Coating +msgid "coating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "coating-type.archival" +msgstr "" + +#. TRANSLATORS: Archival Glossy +msgid "coating-type.archival-glossy" +msgstr "" + +#. TRANSLATORS: Archival Matte +msgid "coating-type.archival-matte" +msgstr "" + +#. TRANSLATORS: Archival Semi Gloss +msgid "coating-type.archival-semi-gloss" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "coating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "coating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "coating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "coating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Silicone +msgid "coating-type.silicone" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "coating-type.translucent" +msgstr "" + +msgid "completed" +msgstr "完了" + +#. TRANSLATORS: Print Confirmation Sheet +msgid "confirmation-sheet-print" +msgstr "" + +#. TRANSLATORS: Copies +msgid "copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "cover-front" +msgstr "" + +#. TRANSLATORS: Cover Sheet Info +msgid "cover-sheet-info" +msgstr "" + +#. TRANSLATORS: Date Time +msgid "cover-sheet-info-supported.date-time" +msgstr "" + +#. TRANSLATORS: From Name +msgid "cover-sheet-info-supported.from-name" +msgstr "" + +#. TRANSLATORS: Logo +msgid "cover-sheet-info-supported.logo" +msgstr "" + +#. TRANSLATORS: Message +msgid "cover-sheet-info-supported.message" +msgstr "" + +#. TRANSLATORS: Organization +msgid "cover-sheet-info-supported.organization" +msgstr "" + +#. TRANSLATORS: Subject +msgid "cover-sheet-info-supported.subject" +msgstr "" + +#. TRANSLATORS: To Name +msgid "cover-sheet-info-supported.to-name" +msgstr "" + +#. TRANSLATORS: Printed Cover +msgid "cover-type" +msgstr "" + +#. TRANSLATORS: No Cover +msgid "cover-type.no-cover" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "cover-type.print-back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "cover-type.print-both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "cover-type.print-front" +msgstr "" + +#. TRANSLATORS: None +msgid "cover-type.print-none" +msgstr "" + +#. TRANSLATORS: Cover Output +msgid "covering" +msgstr "" + +#. TRANSLATORS: Add Cover +msgid "covering-name" +msgstr "" + +#. TRANSLATORS: Plain +msgid "covering-name.plain" +msgstr "" + +#. TRANSLATORS: Pre-cut +msgid "covering-name.pre-cut" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "covering-name.pre-printed" +msgstr "" + +msgid "cups-deviced failed to execute." +msgstr "cups-deviced の実行に失敗しました。" + +msgid "cups-driverd failed to execute." +msgstr "cups-driverd の実行に失敗しました。" + +#, c-format +msgid "cupsctl: Cannot set %s directly." +msgstr "" + +#, c-format +msgid "cupsctl: Unable to connect to server: %s" +msgstr "cupsctl: サーバーに接続できません: %s" + +#, c-format +msgid "cupsctl: Unknown option \"%s\"" +msgstr "cupsctl: \"%s\" は未知のオプションです。" + +#, c-format +msgid "cupsctl: Unknown option \"-%c\"" +msgstr "cupsctl: \"-%c\"は未知のオプションです。" + +msgid "cupsd: Expected config filename after \"-c\" option." +msgstr "cupsd: \"-c\" オプションのあとには設定ファイル名が必要です。" + +msgid "cupsd: Expected cups-files.conf filename after \"-s\" option." +msgstr "" +"cupsd: cups-files.conf ファイル名は \"-s\" オプションの後ろにあるべきです。" + +msgid "cupsd: On-demand support not compiled in, running in normal mode." +msgstr "" +"cupsd: オンデマンドサポート有効でコンパイルされていません、標準モードで動作し" +"ます。" + +msgid "cupsd: Relative cups-files.conf filename not allowed." +msgstr "cupsd: 相対パスでの cups-files.conf の指定はできません。" + +msgid "cupsd: Unable to get current directory." +msgstr "cupsd: カレントディレクトリーを取得できません。" + +msgid "cupsd: Unable to get path to cups-files.conf file." +msgstr "cupsd: cups-files.conf ファイルへのパスが取得できません。" + +#, c-format +msgid "cupsd: Unknown argument \"%s\" - aborting." +msgstr "cupsd: \"%s\" は未知の引数です - 停止します。" + +#, c-format +msgid "cupsd: Unknown option \"%c\" - aborting." +msgstr "cupsd: \"%c\" は未知のオプションです - 停止します。" + +#, c-format +msgid "cupsfilter: Invalid document number %d." +msgstr "cupsfilter: 不正な文書番号 %d です。" + +#, c-format +msgid "cupsfilter: Invalid job ID %d." +msgstr "cupsfilter: 不正なジョブID %d です。" + +msgid "cupsfilter: Only one filename can be specified." +msgstr "cupsfilter: 1 つのファイル名のみを指定できます。" + +#, c-format +msgid "cupsfilter: Unable to get job file - %s" +msgstr "cupsfilter: ジョブ・ファイルを取得できません - %s" + +msgid "cupstestppd: The -q option is incompatible with the -v option." +msgstr "cupstestppd: -q オプションは -v オプションと両立できません。" + +msgid "cupstestppd: The -v option is incompatible with the -q option." +msgstr "cupstestppd: -v オプションは -q オプションと両立できません。" + +#. TRANSLATORS: Detailed Status Message +msgid "detailed-status-message" +msgstr "" + +#, c-format +msgid "device for %s/%s: %s" +msgstr "%s/%s のデバイス: %s" + +#, c-format +msgid "device for %s: %s" +msgstr "%s のデバイス: %s" + +#. TRANSLATORS: Copies +msgid "document-copies" +msgstr "" + +#. TRANSLATORS: Document Privacy Attributes +msgid "document-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Document Description +msgid "document-privacy-attributes.document-description" +msgstr "" + +#. TRANSLATORS: Document Template +msgid "document-privacy-attributes.document-template" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Document Privacy Scope +msgid "document-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "document-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Document State +msgid "document-state" +msgstr "" + +#. TRANSLATORS: Detailed Document State +msgid "document-state-reasons" +msgstr "" + +#. TRANSLATORS: Aborted By System +msgid "document-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Canceled At Device +msgid "document-state-reasons.canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled By Operator +msgid "document-state-reasons.canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled By User +msgid "document-state-reasons.canceled-by-user" +msgstr "" + +#. TRANSLATORS: Completed Successfully +msgid "document-state-reasons.completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed With Errors +msgid "document-state-reasons.completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed With Warnings +msgid "document-state-reasons.completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Compression Error +msgid "document-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Data Insufficient +msgid "document-state-reasons.data-insufficient" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "document-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "document-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Digital Signature Wait +msgid "document-state-reasons.digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "document-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "document-state-reasons.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "document-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "document-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "document-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "document-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "document-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "document-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "document-state-reasons.incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "document-state-reasons.interpreting" +msgstr "" + +#. TRANSLATORS: None +msgid "document-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "document-state-reasons.outgoing" +msgstr "" + +#. TRANSLATORS: Printing +msgid "document-state-reasons.printing" +msgstr "" + +#. TRANSLATORS: Processing To Stop Point +msgid "document-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Queued +msgid "document-state-reasons.queued" +msgstr "" + +#. TRANSLATORS: Queued For Marker +msgid "document-state-reasons.queued-for-marker" +msgstr "" + +#. TRANSLATORS: Queued In Device +msgid "document-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "document-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "document-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "document-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "document-state-reasons.transforming" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "document-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "document-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "document-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "document-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "document-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "document-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "document-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "document-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "document-state.9" +msgstr "" + +msgid "error-index uses indefinite length" +msgstr "error-index は不定長です" + +msgid "error-status uses indefinite length" +msgstr "error-status は不定長です" + +msgid "" +"expression --and expression\n" +" Logical AND" +msgstr "" + +msgid "" +"expression --or expression\n" +" Logical OR" +msgstr "" + +msgid "expression expression Logical AND" +msgstr "" + +#. TRANSLATORS: Feed Orientation +msgid "feed-orientation" +msgstr "" + +#. TRANSLATORS: Long Edge First +msgid "feed-orientation.long-edge-first" +msgstr "" + +#. TRANSLATORS: Short Edge First +msgid "feed-orientation.short-edge-first" +msgstr "" + +#. TRANSLATORS: Fetch Status Code +msgid "fetch-status-code" +msgstr "" + +#. TRANSLATORS: Finishing Template +msgid "finishing-template" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishing-template.bale" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishing-template.bind" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishing-template.bind-bottom" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishing-template.bind-left" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishing-template.bind-right" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishing-template.bind-top" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishing-template.booklet-maker" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishing-template.coat" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishing-template.cover" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishing-template.edge-stitch" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishing-template.edge-stitch-bottom" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishing-template.edge-stitch-left" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishing-template.edge-stitch-right" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishing-template.edge-stitch-top" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishing-template.fold" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishing-template.fold-accordion" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishing-template.fold-double-gate" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishing-template.fold-engineering-z" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishing-template.fold-gate" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishing-template.fold-half" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishing-template.fold-half-z" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishing-template.fold-left-gate" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishing-template.fold-letter" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishing-template.fold-parallel" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishing-template.fold-poster" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishing-template.fold-right-gate" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishing-template.fold-z" +msgstr "" + +#. TRANSLATORS: JDF F10-1 +msgid "finishing-template.jdf-f10-1" +msgstr "" + +#. TRANSLATORS: JDF F10-2 +msgid "finishing-template.jdf-f10-2" +msgstr "" + +#. TRANSLATORS: JDF F10-3 +msgid "finishing-template.jdf-f10-3" +msgstr "" + +#. TRANSLATORS: JDF F12-1 +msgid "finishing-template.jdf-f12-1" +msgstr "" + +#. TRANSLATORS: JDF F12-10 +msgid "finishing-template.jdf-f12-10" +msgstr "" + +#. TRANSLATORS: JDF F12-11 +msgid "finishing-template.jdf-f12-11" +msgstr "" + +#. TRANSLATORS: JDF F12-12 +msgid "finishing-template.jdf-f12-12" +msgstr "" + +#. TRANSLATORS: JDF F12-13 +msgid "finishing-template.jdf-f12-13" +msgstr "" + +#. TRANSLATORS: JDF F12-14 +msgid "finishing-template.jdf-f12-14" +msgstr "" + +#. TRANSLATORS: JDF F12-2 +msgid "finishing-template.jdf-f12-2" +msgstr "" + +#. TRANSLATORS: JDF F12-3 +msgid "finishing-template.jdf-f12-3" +msgstr "" + +#. TRANSLATORS: JDF F12-4 +msgid "finishing-template.jdf-f12-4" +msgstr "" + +#. TRANSLATORS: JDF F12-5 +msgid "finishing-template.jdf-f12-5" +msgstr "" + +#. TRANSLATORS: JDF F12-6 +msgid "finishing-template.jdf-f12-6" +msgstr "" + +#. TRANSLATORS: JDF F12-7 +msgid "finishing-template.jdf-f12-7" +msgstr "" + +#. TRANSLATORS: JDF F12-8 +msgid "finishing-template.jdf-f12-8" +msgstr "" + +#. TRANSLATORS: JDF F12-9 +msgid "finishing-template.jdf-f12-9" +msgstr "" + +#. TRANSLATORS: JDF F14-1 +msgid "finishing-template.jdf-f14-1" +msgstr "" + +#. TRANSLATORS: JDF F16-1 +msgid "finishing-template.jdf-f16-1" +msgstr "" + +#. TRANSLATORS: JDF F16-10 +msgid "finishing-template.jdf-f16-10" +msgstr "" + +#. TRANSLATORS: JDF F16-11 +msgid "finishing-template.jdf-f16-11" +msgstr "" + +#. TRANSLATORS: JDF F16-12 +msgid "finishing-template.jdf-f16-12" +msgstr "" + +#. TRANSLATORS: JDF F16-13 +msgid "finishing-template.jdf-f16-13" +msgstr "" + +#. TRANSLATORS: JDF F16-14 +msgid "finishing-template.jdf-f16-14" +msgstr "" + +#. TRANSLATORS: JDF F16-2 +msgid "finishing-template.jdf-f16-2" +msgstr "" + +#. TRANSLATORS: JDF F16-3 +msgid "finishing-template.jdf-f16-3" +msgstr "" + +#. TRANSLATORS: JDF F16-4 +msgid "finishing-template.jdf-f16-4" +msgstr "" + +#. TRANSLATORS: JDF F16-5 +msgid "finishing-template.jdf-f16-5" +msgstr "" + +#. TRANSLATORS: JDF F16-6 +msgid "finishing-template.jdf-f16-6" +msgstr "" + +#. TRANSLATORS: JDF F16-7 +msgid "finishing-template.jdf-f16-7" +msgstr "" + +#. TRANSLATORS: JDF F16-8 +msgid "finishing-template.jdf-f16-8" +msgstr "" + +#. TRANSLATORS: JDF F16-9 +msgid "finishing-template.jdf-f16-9" +msgstr "" + +#. TRANSLATORS: JDF F18-1 +msgid "finishing-template.jdf-f18-1" +msgstr "" + +#. TRANSLATORS: JDF F18-2 +msgid "finishing-template.jdf-f18-2" +msgstr "" + +#. TRANSLATORS: JDF F18-3 +msgid "finishing-template.jdf-f18-3" +msgstr "" + +#. TRANSLATORS: JDF F18-4 +msgid "finishing-template.jdf-f18-4" +msgstr "" + +#. TRANSLATORS: JDF F18-5 +msgid "finishing-template.jdf-f18-5" +msgstr "" + +#. TRANSLATORS: JDF F18-6 +msgid "finishing-template.jdf-f18-6" +msgstr "" + +#. TRANSLATORS: JDF F18-7 +msgid "finishing-template.jdf-f18-7" +msgstr "" + +#. TRANSLATORS: JDF F18-8 +msgid "finishing-template.jdf-f18-8" +msgstr "" + +#. TRANSLATORS: JDF F18-9 +msgid "finishing-template.jdf-f18-9" +msgstr "" + +#. TRANSLATORS: JDF F2-1 +msgid "finishing-template.jdf-f2-1" +msgstr "" + +#. TRANSLATORS: JDF F20-1 +msgid "finishing-template.jdf-f20-1" +msgstr "" + +#. TRANSLATORS: JDF F20-2 +msgid "finishing-template.jdf-f20-2" +msgstr "" + +#. TRANSLATORS: JDF F24-1 +msgid "finishing-template.jdf-f24-1" +msgstr "" + +#. TRANSLATORS: JDF F24-10 +msgid "finishing-template.jdf-f24-10" +msgstr "" + +#. TRANSLATORS: JDF F24-11 +msgid "finishing-template.jdf-f24-11" +msgstr "" + +#. TRANSLATORS: JDF F24-2 +msgid "finishing-template.jdf-f24-2" +msgstr "" + +#. TRANSLATORS: JDF F24-3 +msgid "finishing-template.jdf-f24-3" +msgstr "" + +#. TRANSLATORS: JDF F24-4 +msgid "finishing-template.jdf-f24-4" +msgstr "" + +#. TRANSLATORS: JDF F24-5 +msgid "finishing-template.jdf-f24-5" +msgstr "" + +#. TRANSLATORS: JDF F24-6 +msgid "finishing-template.jdf-f24-6" +msgstr "" + +#. TRANSLATORS: JDF F24-7 +msgid "finishing-template.jdf-f24-7" +msgstr "" + +#. TRANSLATORS: JDF F24-8 +msgid "finishing-template.jdf-f24-8" +msgstr "" + +#. TRANSLATORS: JDF F24-9 +msgid "finishing-template.jdf-f24-9" +msgstr "" + +#. TRANSLATORS: JDF F28-1 +msgid "finishing-template.jdf-f28-1" +msgstr "" + +#. TRANSLATORS: JDF F32-1 +msgid "finishing-template.jdf-f32-1" +msgstr "" + +#. TRANSLATORS: JDF F32-2 +msgid "finishing-template.jdf-f32-2" +msgstr "" + +#. TRANSLATORS: JDF F32-3 +msgid "finishing-template.jdf-f32-3" +msgstr "" + +#. TRANSLATORS: JDF F32-4 +msgid "finishing-template.jdf-f32-4" +msgstr "" + +#. TRANSLATORS: JDF F32-5 +msgid "finishing-template.jdf-f32-5" +msgstr "" + +#. TRANSLATORS: JDF F32-6 +msgid "finishing-template.jdf-f32-6" +msgstr "" + +#. TRANSLATORS: JDF F32-7 +msgid "finishing-template.jdf-f32-7" +msgstr "" + +#. TRANSLATORS: JDF F32-8 +msgid "finishing-template.jdf-f32-8" +msgstr "" + +#. TRANSLATORS: JDF F32-9 +msgid "finishing-template.jdf-f32-9" +msgstr "" + +#. TRANSLATORS: JDF F36-1 +msgid "finishing-template.jdf-f36-1" +msgstr "" + +#. TRANSLATORS: JDF F36-2 +msgid "finishing-template.jdf-f36-2" +msgstr "" + +#. TRANSLATORS: JDF F4-1 +msgid "finishing-template.jdf-f4-1" +msgstr "" + +#. TRANSLATORS: JDF F4-2 +msgid "finishing-template.jdf-f4-2" +msgstr "" + +#. TRANSLATORS: JDF F40-1 +msgid "finishing-template.jdf-f40-1" +msgstr "" + +#. TRANSLATORS: JDF F48-1 +msgid "finishing-template.jdf-f48-1" +msgstr "" + +#. TRANSLATORS: JDF F48-2 +msgid "finishing-template.jdf-f48-2" +msgstr "" + +#. TRANSLATORS: JDF F6-1 +msgid "finishing-template.jdf-f6-1" +msgstr "" + +#. TRANSLATORS: JDF F6-2 +msgid "finishing-template.jdf-f6-2" +msgstr "" + +#. TRANSLATORS: JDF F6-3 +msgid "finishing-template.jdf-f6-3" +msgstr "" + +#. TRANSLATORS: JDF F6-4 +msgid "finishing-template.jdf-f6-4" +msgstr "" + +#. TRANSLATORS: JDF F6-5 +msgid "finishing-template.jdf-f6-5" +msgstr "" + +#. TRANSLATORS: JDF F6-6 +msgid "finishing-template.jdf-f6-6" +msgstr "" + +#. TRANSLATORS: JDF F6-7 +msgid "finishing-template.jdf-f6-7" +msgstr "" + +#. TRANSLATORS: JDF F6-8 +msgid "finishing-template.jdf-f6-8" +msgstr "" + +#. TRANSLATORS: JDF F64-1 +msgid "finishing-template.jdf-f64-1" +msgstr "" + +#. TRANSLATORS: JDF F64-2 +msgid "finishing-template.jdf-f64-2" +msgstr "" + +#. TRANSLATORS: JDF F8-1 +msgid "finishing-template.jdf-f8-1" +msgstr "" + +#. TRANSLATORS: JDF F8-2 +msgid "finishing-template.jdf-f8-2" +msgstr "" + +#. TRANSLATORS: JDF F8-3 +msgid "finishing-template.jdf-f8-3" +msgstr "" + +#. TRANSLATORS: JDF F8-4 +msgid "finishing-template.jdf-f8-4" +msgstr "" + +#. TRANSLATORS: JDF F8-5 +msgid "finishing-template.jdf-f8-5" +msgstr "" + +#. TRANSLATORS: JDF F8-6 +msgid "finishing-template.jdf-f8-6" +msgstr "" + +#. TRANSLATORS: JDF F8-7 +msgid "finishing-template.jdf-f8-7" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishing-template.jog-offset" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishing-template.laminate" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishing-template.punch" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishing-template.punch-bottom-left" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishing-template.punch-bottom-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishing-template.punch-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishing-template.punch-dual-left" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishing-template.punch-dual-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishing-template.punch-dual-top" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishing-template.punch-multiple-bottom" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishing-template.punch-multiple-left" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishing-template.punch-multiple-right" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishing-template.punch-multiple-top" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishing-template.punch-quad-bottom" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishing-template.punch-quad-left" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishing-template.punch-quad-right" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishing-template.punch-quad-top" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishing-template.punch-top-left" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishing-template.punch-top-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishing-template.punch-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishing-template.punch-triple-left" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishing-template.punch-triple-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishing-template.punch-triple-top" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishing-template.saddle-stitch" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishing-template.staple" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishing-template.staple-bottom-left" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishing-template.staple-bottom-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishing-template.staple-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishing-template.staple-dual-left" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishing-template.staple-dual-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishing-template.staple-dual-top" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishing-template.staple-top-left" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishing-template.staple-top-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishing-template.staple-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishing-template.staple-triple-left" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishing-template.staple-triple-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishing-template.staple-triple-top" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishing-template.trim" +msgstr "" + +#. TRANSLATORS: Trim After Every Set +msgid "finishing-template.trim-after-copies" +msgstr "" + +#. TRANSLATORS: Trim After Every Document +msgid "finishing-template.trim-after-documents" +msgstr "" + +#. TRANSLATORS: Trim After Job +msgid "finishing-template.trim-after-job" +msgstr "" + +#. TRANSLATORS: Trim After Every Page +msgid "finishing-template.trim-after-pages" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings-col" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishings.10" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishings.100" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishings.101" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishings.11" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishings.12" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishings.13" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishings.14" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishings.15" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishings.16" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishings.20" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishings.21" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishings.22" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishings.23" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishings.24" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishings.25" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishings.26" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishings.27" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishings.28" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishings.29" +msgstr "" + +#. TRANSLATORS: None +msgid "finishings.3" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishings.30" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishings.31" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishings.32" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishings.33" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishings.34" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishings.35" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishings.4" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishings.5" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishings.50" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishings.51" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishings.52" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishings.53" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishings.6" +msgstr "" + +#. TRANSLATORS: Trim Pages +msgid "finishings.60" +msgstr "" + +#. TRANSLATORS: Trim Documents +msgid "finishings.61" +msgstr "" + +#. TRANSLATORS: Trim Copies +msgid "finishings.62" +msgstr "" + +#. TRANSLATORS: Trim Job +msgid "finishings.63" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishings.7" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishings.70" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishings.71" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishings.72" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishings.73" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishings.74" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishings.75" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishings.76" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishings.77" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishings.78" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishings.79" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishings.8" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishings.80" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishings.81" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishings.82" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishings.83" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishings.84" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishings.85" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishings.86" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishings.87" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishings.88" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishings.89" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishings.9" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishings.90" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishings.91" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishings.92" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishings.93" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishings.94" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishings.95" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishings.96" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishings.97" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishings.98" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishings.99" +msgstr "" + +#. TRANSLATORS: Fold +msgid "folding" +msgstr "" + +#. TRANSLATORS: Fold Direction +msgid "folding-direction" +msgstr "" + +#. TRANSLATORS: Inward +msgid "folding-direction.inward" +msgstr "" + +#. TRANSLATORS: Outward +msgid "folding-direction.outward" +msgstr "" + +#. TRANSLATORS: Fold Position +msgid "folding-offset" +msgstr "" + +#. TRANSLATORS: Fold Edge +msgid "folding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "folding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "folding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "folding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "folding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Font Name +msgid "font-name-requested" +msgstr "" + +#. TRANSLATORS: Font Size +msgid "font-size-requested" +msgstr "" + +#. TRANSLATORS: Force Front Side +msgid "force-front-side" +msgstr "" + +#. TRANSLATORS: From Name +msgid "from-name" +msgstr "" + +msgid "held" +msgstr "保留" + +msgid "help\t\tGet help on commands." +msgstr "help\t\tコマンドのヘルプを取得。" + +msgid "idle" +msgstr "待機中" + +#. TRANSLATORS: Imposition Template +msgid "imposition-template" +msgstr "" + +#. TRANSLATORS: None +msgid "imposition-template.none" +msgstr "" + +#. TRANSLATORS: Signature +msgid "imposition-template.signature" +msgstr "" + +#. TRANSLATORS: Insert Page Number +msgid "insert-after-page-number" +msgstr "" + +#. TRANSLATORS: Insert Count +msgid "insert-count" +msgstr "" + +#. TRANSLATORS: Insert Sheet +msgid "insert-sheet" +msgstr "" + +#, c-format +msgid "ippeveprinter: Unable to open \"%s\": %s on line %d." +msgstr "" + +#, c-format +msgid "ippfind: Bad regular expression: %s" +msgstr "ippfind: 不正な正規表現です: %s" + +msgid "ippfind: Cannot use --and after --or." +msgstr "ippfind: --and は --or のあとに指定することはできません。" + +#, c-format +msgid "ippfind: Expected key name after %s." +msgstr "ippfind: %s のあとにはキー名が必要です。" + +#, c-format +msgid "ippfind: Expected port range after %s." +msgstr "ippfind: %s のあとにはポート範囲が必要です。" + +#, c-format +msgid "ippfind: Expected program after %s." +msgstr "ippfind: %s のあとにはプログラム名が必要です。" + +#, c-format +msgid "ippfind: Expected semi-colon after %s." +msgstr "ippfind: %s のあとにはセミコロンが必要です。" + +msgid "ippfind: Missing close brace in substitution." +msgstr "ippfind: 置換文字列の閉じカッコがありません。" + +msgid "ippfind: Missing close parenthesis." +msgstr "ippfind: 閉じカッコが不足しています。" + +msgid "ippfind: Missing expression before \"--and\"." +msgstr "ippfind: \"--and\" の前には式が必要です。" + +msgid "ippfind: Missing expression before \"--or\"." +msgstr "ippfind: \"--or\" の前には式が必要です。" + +#, c-format +msgid "ippfind: Missing key name after %s." +msgstr "ippfind: %s のあとにはキー名が必要です。" + +#, c-format +msgid "ippfind: Missing name after %s." +msgstr "" + +msgid "ippfind: Missing open parenthesis." +msgstr "ippfind: 開きカッコが足りません。" + +#, c-format +msgid "ippfind: Missing program after %s." +msgstr "ippfind: %s のあとにはプログラム名が必要です。" + +#, c-format +msgid "ippfind: Missing regular expression after %s." +msgstr "ippfind: %s のあとには正規表現が必要です。" + +#, c-format +msgid "ippfind: Missing semi-colon after %s." +msgstr "ippfind: %s のあとにはセミコロンが必要です。" + +msgid "ippfind: Out of memory." +msgstr "ippfind: メモリ不足です。" + +msgid "ippfind: Too many parenthesis." +msgstr "ippfind: カッコが多すぎます。" + +#, c-format +msgid "ippfind: Unable to browse or resolve: %s" +msgstr "ippfind: %s をブラウズできないか名前解決できません。" + +#, c-format +msgid "ippfind: Unable to execute \"%s\": %s" +msgstr "ippfind: \"%s\" を実行できません: %s" + +#, c-format +msgid "ippfind: Unable to use Bonjour: %s" +msgstr "ippfind: Bonjour を利用できません: %s" + +#, c-format +msgid "ippfind: Unknown variable \"{%s}\"." +msgstr "ippfind: \"{%s}\" は不明な変数です。" + +msgid "" +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", " +"and \"-X\"." +msgstr "" + +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." +msgstr "" +"ipptool: \"-i\" および \"-n\" は \"-P\"、\"-X\" と一緒に指定できません。" + +#, c-format +msgid "ipptool: Bad URI \"%s\"." +msgstr "" + +msgid "ipptool: Invalid seconds for \"-i\"." +msgstr "ipptool: \"-i\" に不正な秒数が指定されました。" + +msgid "ipptool: May only specify a single URI." +msgstr "ipptool: URI は 1 つだけ指定できます。" + +msgid "ipptool: Missing count for \"-n\"." +msgstr "ipptool: \"-n\" に回数の指定がありません。" + +msgid "ipptool: Missing filename for \"--ippserver\"." +msgstr "" + +msgid "ipptool: Missing filename for \"-f\"." +msgstr "ipptool: \"-f\" にファイル名の指定がありません。" + +msgid "ipptool: Missing name=value for \"-d\"." +msgstr "ipptool: \"-d\" に 名前=値 の指定がありません。" + +msgid "ipptool: Missing seconds for \"-i\"." +msgstr "ipptool: \"-i\" に秒数の指定がありません。" + +msgid "ipptool: URI required before test file." +msgstr "ipptool: テストファイルの前に URI の指定が必要です。" + +#. TRANSLATORS: Job Account ID +msgid "job-account-id" +msgstr "" + +#. TRANSLATORS: Job Account Type +msgid "job-account-type" +msgstr "" + +#. TRANSLATORS: General +msgid "job-account-type.general" +msgstr "" + +#. TRANSLATORS: Group +msgid "job-account-type.group" +msgstr "" + +#. TRANSLATORS: None +msgid "job-account-type.none" +msgstr "" + +#. TRANSLATORS: Job Accounting Output Bin +msgid "job-accounting-output-bin" +msgstr "" + +#. TRANSLATORS: Job Accounting Sheets +msgid "job-accounting-sheets" +msgstr "" + +#. TRANSLATORS: Type of Job Accounting Sheets +msgid "job-accounting-sheets-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-accounting-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-accounting-sheets-type.standard" +msgstr "" + +#. TRANSLATORS: Job Accounting User ID +msgid "job-accounting-user-id" +msgstr "" + +#. TRANSLATORS: Job Cancel After +msgid "job-cancel-after" +msgstr "" + +#. TRANSLATORS: Copies +msgid "job-copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "job-cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "job-cover-front" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-delay-output-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-delay-output-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-delay-output-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-delay-output-until.night" +msgstr "" + +#. TRANSLATORS: No Delay +msgid "job-delay-output-until.no-delay-output" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-delay-output-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-delay-output-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-delay-output-until.weekend" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "job-error-action.abort-job" +msgstr "" + +#. TRANSLATORS: Cancel Job +msgid "job-error-action.cancel-job" +msgstr "" + +#. TRANSLATORS: Continue Job +msgid "job-error-action.continue-job" +msgstr "" + +#. TRANSLATORS: Suspend Job +msgid "job-error-action.suspend-job" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet" +msgstr "" + +#. TRANSLATORS: Type of Error Sheet +msgid "job-error-sheet-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-error-sheet-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-error-sheet-type.standard" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet-when" +msgstr "" + +#. TRANSLATORS: Always +msgid "job-error-sheet-when.always" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-sheet-when.on-error" +msgstr "" + +#. TRANSLATORS: Job Finishings +msgid "job-finishings" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-hold-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-hold-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-hold-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-hold-until.night" +msgstr "" + +#. TRANSLATORS: No Hold +msgid "job-hold-until.no-hold" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-hold-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-hold-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-hold-until.weekend" +msgstr "" + +#. TRANSLATORS: Job Mandatory Attributes +msgid "job-mandatory-attributes" +msgstr "" + +#. TRANSLATORS: Title +msgid "job-name" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages-col" +msgstr "" + +#. TRANSLATORS: Job Phone Number +msgid "job-phone-number" +msgstr "" + +msgid "job-printer-uri attribute missing." +msgstr "job-printer-uri 属性がありません。" + +#. TRANSLATORS: Job Priority +msgid "job-priority" +msgstr "" + +#. TRANSLATORS: Job Privacy Attributes +msgid "job-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Job Description +msgid "job-privacy-attributes.job-description" +msgstr "" + +#. TRANSLATORS: Job Template +msgid "job-privacy-attributes.job-template" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Job Privacy Scope +msgid "job-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "job-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Job Recipient Name +msgid "job-recipient-name" +msgstr "" + +#. TRANSLATORS: Job Retain Until +msgid "job-retain-until" +msgstr "" + +#. TRANSLATORS: Job Retain Until Interval +msgid "job-retain-until-interval" +msgstr "" + +#. TRANSLATORS: Job Retain Until Time +msgid "job-retain-until-time" +msgstr "" + +#. TRANSLATORS: End Of Day +msgid "job-retain-until.end-of-day" +msgstr "" + +#. TRANSLATORS: End Of Month +msgid "job-retain-until.end-of-month" +msgstr "" + +#. TRANSLATORS: End Of Week +msgid "job-retain-until.end-of-week" +msgstr "" + +#. TRANSLATORS: Indefinite +msgid "job-retain-until.indefinite" +msgstr "" + +#. TRANSLATORS: None +msgid "job-retain-until.none" +msgstr "" + +#. TRANSLATORS: Job Save Disposition +msgid "job-save-disposition" +msgstr "" + +#. TRANSLATORS: Job Sheet Message +msgid "job-sheet-message" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets-col" +msgstr "" + +#. TRANSLATORS: First Page in Document +msgid "job-sheets.first-print-stream-page" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "job-sheets.job-both-sheet" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "job-sheets.job-end-sheet" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "job-sheets.job-start-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "job-sheets.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-sheets.standard" +msgstr "" + +#. TRANSLATORS: Job State +msgid "job-state" +msgstr "" + +#. TRANSLATORS: Job State Message +msgid "job-state-message" +msgstr "" + +#. TRANSLATORS: Detailed Job State +msgid "job-state-reasons" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Account Authorization Failed +msgid "job-state-reasons.account-authorization-failed" +msgstr "" + +#. TRANSLATORS: Account Closed +msgid "job-state-reasons.account-closed" +msgstr "" + +#. TRANSLATORS: Account Info Needed +msgid "job-state-reasons.account-info-needed" +msgstr "" + +#. TRANSLATORS: Account Limit Reached +msgid "job-state-reasons.account-limit-reached" +msgstr "" + +#. TRANSLATORS: Decompression error +msgid "job-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Conflicting Attributes +msgid "job-state-reasons.conflicting-attributes" +msgstr "" + +#. TRANSLATORS: Connected To Destination +msgid "job-state-reasons.connected-to-destination" +msgstr "" + +#. TRANSLATORS: Connecting To Destination +msgid "job-state-reasons.connecting-to-destination" +msgstr "" + +#. TRANSLATORS: Destination Uri Failed +msgid "job-state-reasons.destination-uri-failed" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "job-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "job-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "job-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "job-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "job-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "job-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "job-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "job-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "job-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Canceled at printer +msgid "job-state-reasons.job-canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled by operator +msgid "job-state-reasons.job-canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled by user +msgid "job-state-reasons.job-canceled-by-user" +msgstr "" + +#. TRANSLATORS: +msgid "job-state-reasons.job-completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed with errors +msgid "job-state-reasons.job-completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed with warnings +msgid "job-state-reasons.job-completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Insufficient data +msgid "job-state-reasons.job-data-insufficient" +msgstr "" + +#. TRANSLATORS: Job Delay Output Until Specified +msgid "job-state-reasons.job-delay-output-until-specified" +msgstr "" + +#. TRANSLATORS: Job Digital Signature Wait +msgid "job-state-reasons.job-digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "job-state-reasons.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Held For Review +msgid "job-state-reasons.job-held-for-review" +msgstr "" + +#. TRANSLATORS: Job held +msgid "job-state-reasons.job-hold-until-specified" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "job-state-reasons.job-incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "job-state-reasons.job-interpreting" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "job-state-reasons.job-outgoing" +msgstr "" + +#. TRANSLATORS: Job Password Wait +msgid "job-state-reasons.job-password-wait" +msgstr "" + +#. TRANSLATORS: Job Printed Successfully +msgid "job-state-reasons.job-printed-successfully" +msgstr "" + +#. TRANSLATORS: Job Printed With Errors +msgid "job-state-reasons.job-printed-with-errors" +msgstr "" + +#. TRANSLATORS: Job Printed With Warnings +msgid "job-state-reasons.job-printed-with-warnings" +msgstr "" + +#. TRANSLATORS: Printing +msgid "job-state-reasons.job-printing" +msgstr "" + +#. TRANSLATORS: Preparing to print +msgid "job-state-reasons.job-queued" +msgstr "" + +#. TRANSLATORS: Processing document +msgid "job-state-reasons.job-queued-for-marker" +msgstr "" + +#. TRANSLATORS: Job Release Wait +msgid "job-state-reasons.job-release-wait" +msgstr "" + +#. TRANSLATORS: Restartable +msgid "job-state-reasons.job-restartable" +msgstr "" + +#. TRANSLATORS: Job Resuming +msgid "job-state-reasons.job-resuming" +msgstr "" + +#. TRANSLATORS: Job Saved Successfully +msgid "job-state-reasons.job-saved-successfully" +msgstr "" + +#. TRANSLATORS: Job Saved With Errors +msgid "job-state-reasons.job-saved-with-errors" +msgstr "" + +#. TRANSLATORS: Job Saved With Warnings +msgid "job-state-reasons.job-saved-with-warnings" +msgstr "" + +#. TRANSLATORS: Job Saving +msgid "job-state-reasons.job-saving" +msgstr "" + +#. TRANSLATORS: Job Spooling +msgid "job-state-reasons.job-spooling" +msgstr "" + +#. TRANSLATORS: Job Streaming +msgid "job-state-reasons.job-streaming" +msgstr "" + +#. TRANSLATORS: Suspended +msgid "job-state-reasons.job-suspended" +msgstr "" + +#. TRANSLATORS: Job Suspended By Operator +msgid "job-state-reasons.job-suspended-by-operator" +msgstr "" + +#. TRANSLATORS: Job Suspended By System +msgid "job-state-reasons.job-suspended-by-system" +msgstr "" + +#. TRANSLATORS: Job Suspended By User +msgid "job-state-reasons.job-suspended-by-user" +msgstr "" + +#. TRANSLATORS: Job Suspending +msgid "job-state-reasons.job-suspending" +msgstr "" + +#. TRANSLATORS: Job Transferring +msgid "job-state-reasons.job-transferring" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "job-state-reasons.job-transforming" +msgstr "" + +#. TRANSLATORS: None +msgid "job-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "job-state-reasons.printer-stopped" +msgstr "" + +#. TRANSLATORS: Printer partially stopped +msgid "job-state-reasons.printer-stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Ready +msgid "job-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "job-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "job-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Service offline +msgid "job-state-reasons.service-off-line" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "job-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Unsupported Attributes Or Values +msgid "job-state-reasons.unsupported-attributes-or-values" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "job-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "job-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Waiting For User Action +msgid "job-state-reasons.waiting-for-user-action" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "job-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "job-state.3" +msgstr "" + +#. TRANSLATORS: Held +msgid "job-state.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "job-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "job-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "job-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "job-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "job-state.9" +msgstr "" + +#. TRANSLATORS: Laminate Pages +msgid "laminating" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "laminating-sides" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "laminating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "laminating-sides.both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "laminating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Lamination +msgid "laminating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "laminating-type.archival" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "laminating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "laminating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "laminating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "laminating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "laminating-type.translucent" +msgstr "" + +#. TRANSLATORS: Logo +msgid "logo" +msgstr "" + +msgid "lpadmin: Class name can only contain printable characters." +msgstr "lpadmin: クラス名は表示可能文字のみで構成されなければなりません。" + +#, c-format +msgid "lpadmin: Expected PPD after \"-%c\" option." +msgstr "" + +msgid "lpadmin: Expected allow/deny:userlist after \"-u\" option." +msgstr "" +"lpadmin: \"-u\" オプションのあとには allow/deny:ユーザーリスト が必要です。" + +msgid "lpadmin: Expected class after \"-r\" option." +msgstr "lpadmin: \"-r\" オプションのあとにはクラス名が必要です。" + +msgid "lpadmin: Expected class name after \"-c\" option." +msgstr "lpadmin: \"-c\" オプションのあとにはクラス名が必要です。" + +msgid "lpadmin: Expected description after \"-D\" option." +msgstr "lpadmin: \"-D\" オプションのあとには説明が必要です。" + +msgid "lpadmin: Expected device URI after \"-v\" option." +msgstr "lpadmin: \"-v\" オプションのあとにはデバイス URI が必要です。" + +msgid "lpadmin: Expected file type(s) after \"-I\" option." +msgstr "lpadmin: \"-I\" オプションのあとにはファイル形式が必要です。" + +msgid "lpadmin: Expected hostname after \"-h\" option." +msgstr "lpadmin: \"-h\" オプションのあとにはホスト名が必要です。" + +msgid "lpadmin: Expected location after \"-L\" option." +msgstr "lpadmin: \"-L\" オプションのあとには場所が必要です。" + +msgid "lpadmin: Expected model after \"-m\" option." +msgstr "lpadmin: \"-m\" オプションのあとにはモデル名が必要です。" + +msgid "lpadmin: Expected name after \"-R\" option." +msgstr "lpadmin: \"-R\" オプションのあとには名前が必要です。" + +msgid "lpadmin: Expected name=value after \"-o\" option." +msgstr "lpadmin: \"-o\" オプションのあとには 変数名=値 が必要です。" + +msgid "lpadmin: Expected printer after \"-p\" option." +msgstr "lpadmin: \"-p\" オプションのあとにはプリンター名が必要です。" + +msgid "lpadmin: Expected printer name after \"-d\" option." +msgstr "lpadmin: \"-d\" オプションのあとにはプリンター名が必要です。" + +msgid "lpadmin: Expected printer or class after \"-x\" option." +msgstr "" +"lpadmin: \"-x\" オプションのあとにはプリンター名またはクラス名が必要です。" + +msgid "lpadmin: No member names were seen." +msgstr "lpadmin: メンバー名が見当たりません。" + +#, c-format +msgid "lpadmin: Printer %s is already a member of class %s." +msgstr "lpadmin: プリンター %s はすでにクラス %s のメンバーです。" + +#, c-format +msgid "lpadmin: Printer %s is not a member of class %s." +msgstr "lpadmin: プリンター %s はクラス %s のメンバーではありません。" + +msgid "" +"lpadmin: Printer drivers are deprecated and will stop working in a future " +"version of CUPS." +msgstr "" + +msgid "lpadmin: Printer name can only contain printable characters." +msgstr "lpadmin: プリンター名には表示可能文字だけが使用できます。" + +msgid "" +"lpadmin: Raw queues are deprecated and will stop working in a future version " +"of CUPS." +msgstr "" + +msgid "lpadmin: Raw queues are no longer supported on macOS." +msgstr "" + +msgid "" +"lpadmin: System V interface scripts are no longer supported for security " +"reasons." +msgstr "" + +msgid "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: クラスにプリンターを追加できません:\n" +" 先にプリンター名を指定する必要があります。" + +#, c-format +msgid "lpadmin: Unable to connect to server: %s" +msgstr "lpadmin: サーバーに接続できません: %s" + +msgid "lpadmin: Unable to create temporary file" +msgstr "lpadmin: テンポラリーファイルを作成できません" + +msgid "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: プリンター・オプションを削除できません:\n" +" 先にプリンター名を指定する必要があります。" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s" +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s on line %d." +msgstr "" + +msgid "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: クラスからプリンターを削除できません:\n" +" 先にプリンター名を指定する必要があります。" + +msgid "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: プリンター・オプションを設定できません:\n" +" 先にプリンター名を指定する必要があります。" + +#, c-format +msgid "lpadmin: Unknown allow/deny option \"%s\"." +msgstr "lpadmin:\"%s\" は未知の allow/deny オプションです。" + +#, c-format +msgid "lpadmin: Unknown argument \"%s\"." +msgstr "lpadmin: \"%s\" は未知の引数です。" + +#, c-format +msgid "lpadmin: Unknown option \"%c\"." +msgstr "lpadmin: \"%c\" は未知のオプションです。" + +msgid "lpadmin: Use the 'everywhere' model for shared printers." +msgstr "" + +msgid "lpadmin: Warning - content type list ignored." +msgstr "lpadmin: 警告 - コンテンツタイプリストは無視されます。" + +msgid "lpc> " +msgstr "lpc> " + +msgid "lpinfo: Expected 1284 device ID string after \"--device-id\"." +msgstr "" +"lpinfo: \"--device-id\" のあとには、1284 デバイス ID を指定する必要がありま" +"す。" + +msgid "lpinfo: Expected language after \"--language\"." +msgstr "lpinfo: \"--language\" のあとには、言語を指定する必要があります。" + +msgid "lpinfo: Expected make and model after \"--make-and-model\"." +msgstr "" +"lpinfo: \"--make-and-model\" のあとには、メーカーとモデルを指定する必要があり" +"ます。" + +msgid "lpinfo: Expected product string after \"--product\"." +msgstr "lpinfo: \"--product\" のあとには、製品名を指定する必要があります。" + +msgid "lpinfo: Expected scheme list after \"--exclude-schemes\"." +msgstr "" +"lpinfo: \"--exclude-schemes\" のあとには、スキーマ・リストを指定する必要があ" +"ります。" + +msgid "lpinfo: Expected scheme list after \"--include-schemes\"." +msgstr "" +"lpinfo: \"--include-schemes\" のあとには、スキーマ・リストを指定する必要があ" +"ります。" + +msgid "lpinfo: Expected timeout after \"--timeout\"." +msgstr "" +"lpinfo: \"--timeout\" のあとには、タイムアウト値を指定する必要があります。" + +#, c-format +msgid "lpmove: Unable to connect to server: %s" +msgstr "lpmove: サーバーに接続できません: %s" + +#, c-format +msgid "lpmove: Unknown argument \"%s\"." +msgstr "lpmove: 未知の引数 \"%s\"。" + +msgid "lpoptions: No printers." +msgstr "lpoptions: プリンターがありません。" + +#, c-format +msgid "lpoptions: Unable to add printer or instance: %s" +msgstr "lpoptions: プリンターまたはインスタンスを追加できません: %s" + +#, c-format +msgid "lpoptions: Unable to get PPD file for %s: %s" +msgstr "lpoptions: %s の PPD ファイルを取得できません: %s" + +#, c-format +msgid "lpoptions: Unable to open PPD file for %s." +msgstr "lpoptions: %s の PPD ファイルを開けません。" + +msgid "lpoptions: Unknown printer or class." +msgstr "lpoptions: 未知のプリンターまたはクラスです。" + +#, c-format +msgid "" +"lpstat: error - %s environment variable names non-existent destination \"%s" +"\"." +msgstr "" +"lpstat: エラー - 環境変数 %s が、存在しない宛先 \"%s\" を指しています。" + +#. TRANSLATORS: Amount of Material +msgid "material-amount" +msgstr "" + +#. TRANSLATORS: Amount Units +msgid "material-amount-units" +msgstr "" + +#. TRANSLATORS: Grams +msgid "material-amount-units.g" +msgstr "" + +#. TRANSLATORS: Kilograms +msgid "material-amount-units.kg" +msgstr "" + +#. TRANSLATORS: Liters +msgid "material-amount-units.l" +msgstr "" + +#. TRANSLATORS: Meters +msgid "material-amount-units.m" +msgstr "" + +#. TRANSLATORS: Milliliters +msgid "material-amount-units.ml" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "material-amount-units.mm" +msgstr "" + +#. TRANSLATORS: Material Color +msgid "material-color" +msgstr "" + +#. TRANSLATORS: Material Diameter +msgid "material-diameter" +msgstr "" + +#. TRANSLATORS: Material Diameter Tolerance +msgid "material-diameter-tolerance" +msgstr "" + +#. TRANSLATORS: Material Fill Density +msgid "material-fill-density" +msgstr "" + +#. TRANSLATORS: Material Name +msgid "material-name" +msgstr "" + +#. TRANSLATORS: Material Nozzle Diameter +msgid "material-nozzle-diameter" +msgstr "" + +#. TRANSLATORS: Use Material For +msgid "material-purpose" +msgstr "" + +#. TRANSLATORS: Everything +msgid "material-purpose.all" +msgstr "" + +#. TRANSLATORS: Base +msgid "material-purpose.base" +msgstr "" + +#. TRANSLATORS: In-fill +msgid "material-purpose.in-fill" +msgstr "" + +#. TRANSLATORS: Shell +msgid "material-purpose.shell" +msgstr "" + +#. TRANSLATORS: Supports +msgid "material-purpose.support" +msgstr "" + +#. TRANSLATORS: Feed Rate +msgid "material-rate" +msgstr "" + +#. TRANSLATORS: Feed Rate Units +msgid "material-rate-units" +msgstr "" + +#. TRANSLATORS: Milligrams per second +msgid "material-rate-units.mg_second" +msgstr "" + +#. TRANSLATORS: Milliliters per second +msgid "material-rate-units.ml_second" +msgstr "" + +#. TRANSLATORS: Millimeters per second +msgid "material-rate-units.mm_second" +msgstr "" + +#. TRANSLATORS: Material Retraction +msgid "material-retraction" +msgstr "" + +#. TRANSLATORS: Material Shell Thickness +msgid "material-shell-thickness" +msgstr "" + +#. TRANSLATORS: Material Temperature +msgid "material-temperature" +msgstr "" + +#. TRANSLATORS: Material Type +msgid "material-type" +msgstr "" + +#. TRANSLATORS: ABS +msgid "material-type.abs" +msgstr "" + +#. TRANSLATORS: Carbon Fiber ABS +msgid "material-type.abs-carbon-fiber" +msgstr "" + +#. TRANSLATORS: Carbon Nanotube ABS +msgid "material-type.abs-carbon-nanotube" +msgstr "" + +#. TRANSLATORS: Chocolate +msgid "material-type.chocolate" +msgstr "" + +#. TRANSLATORS: Gold +msgid "material-type.gold" +msgstr "" + +#. TRANSLATORS: Nylon +msgid "material-type.nylon" +msgstr "" + +#. TRANSLATORS: Pet +msgid "material-type.pet" +msgstr "" + +#. TRANSLATORS: Photopolymer +msgid "material-type.photopolymer" +msgstr "" + +#. TRANSLATORS: PLA +msgid "material-type.pla" +msgstr "" + +#. TRANSLATORS: Conductive PLA +msgid "material-type.pla-conductive" +msgstr "" + +#. TRANSLATORS: Pla Dissolvable +msgid "material-type.pla-dissolvable" +msgstr "" + +#. TRANSLATORS: Flexible PLA +msgid "material-type.pla-flexible" +msgstr "" + +#. TRANSLATORS: Magnetic PLA +msgid "material-type.pla-magnetic" +msgstr "" + +#. TRANSLATORS: Steel PLA +msgid "material-type.pla-steel" +msgstr "" + +#. TRANSLATORS: Stone PLA +msgid "material-type.pla-stone" +msgstr "" + +#. TRANSLATORS: Wood PLA +msgid "material-type.pla-wood" +msgstr "" + +#. TRANSLATORS: Polycarbonate +msgid "material-type.polycarbonate" +msgstr "" + +#. TRANSLATORS: Dissolvable PVA +msgid "material-type.pva-dissolvable" +msgstr "" + +#. TRANSLATORS: Silver +msgid "material-type.silver" +msgstr "" + +#. TRANSLATORS: Titanium +msgid "material-type.titanium" +msgstr "" + +#. TRANSLATORS: Wax +msgid "material-type.wax" +msgstr "" + +#. TRANSLATORS: Materials +msgid "materials-col" +msgstr "" + +#. TRANSLATORS: Media +msgid "media" +msgstr "" + +#. TRANSLATORS: Back Coating of Media +msgid "media-back-coating" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "media-back-coating.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "media-back-coating.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "media-back-coating.matte" +msgstr "" + +#. TRANSLATORS: None +msgid "media-back-coating.none" +msgstr "" + +#. TRANSLATORS: Satin +msgid "media-back-coating.satin" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "media-back-coating.semi-gloss" +msgstr "" + +#. TRANSLATORS: Media Bottom Margin +msgid "media-bottom-margin" +msgstr "" + +#. TRANSLATORS: Media +msgid "media-col" +msgstr "" + +#. TRANSLATORS: Media Color +msgid "media-color" +msgstr "" + +#. TRANSLATORS: Black +msgid "media-color.black" +msgstr "" + +#. TRANSLATORS: Blue +msgid "media-color.blue" +msgstr "" + +#. TRANSLATORS: Brown +msgid "media-color.brown" +msgstr "" + +#. TRANSLATORS: Buff +msgid "media-color.buff" +msgstr "" + +#. TRANSLATORS: Clear Black +msgid "media-color.clear-black" +msgstr "" + +#. TRANSLATORS: Clear Blue +msgid "media-color.clear-blue" +msgstr "" + +#. TRANSLATORS: Clear Brown +msgid "media-color.clear-brown" +msgstr "" + +#. TRANSLATORS: Clear Buff +msgid "media-color.clear-buff" +msgstr "" + +#. TRANSLATORS: Clear Cyan +msgid "media-color.clear-cyan" +msgstr "" + +#. TRANSLATORS: Clear Gold +msgid "media-color.clear-gold" +msgstr "" + +#. TRANSLATORS: Clear Goldenrod +msgid "media-color.clear-goldenrod" +msgstr "" + +#. TRANSLATORS: Clear Gray +msgid "media-color.clear-gray" +msgstr "" + +#. TRANSLATORS: Clear Green +msgid "media-color.clear-green" +msgstr "" + +#. TRANSLATORS: Clear Ivory +msgid "media-color.clear-ivory" +msgstr "" + +#. TRANSLATORS: Clear Magenta +msgid "media-color.clear-magenta" +msgstr "" + +#. TRANSLATORS: Clear Multi Color +msgid "media-color.clear-multi-color" +msgstr "" + +#. TRANSLATORS: Clear Mustard +msgid "media-color.clear-mustard" +msgstr "" + +#. TRANSLATORS: Clear Orange +msgid "media-color.clear-orange" +msgstr "" + +#. TRANSLATORS: Clear Pink +msgid "media-color.clear-pink" +msgstr "" + +#. TRANSLATORS: Clear Red +msgid "media-color.clear-red" +msgstr "" + +#. TRANSLATORS: Clear Silver +msgid "media-color.clear-silver" +msgstr "" + +#. TRANSLATORS: Clear Turquoise +msgid "media-color.clear-turquoise" +msgstr "" + +#. TRANSLATORS: Clear Violet +msgid "media-color.clear-violet" +msgstr "" + +#. TRANSLATORS: Clear White +msgid "media-color.clear-white" +msgstr "" + +#. TRANSLATORS: Clear Yellow +msgid "media-color.clear-yellow" +msgstr "" + +#. TRANSLATORS: Cyan +msgid "media-color.cyan" +msgstr "" + +#. TRANSLATORS: Dark Blue +msgid "media-color.dark-blue" +msgstr "" + +#. TRANSLATORS: Dark Brown +msgid "media-color.dark-brown" +msgstr "" + +#. TRANSLATORS: Dark Buff +msgid "media-color.dark-buff" +msgstr "" + +#. TRANSLATORS: Dark Cyan +msgid "media-color.dark-cyan" +msgstr "" + +#. TRANSLATORS: Dark Gold +msgid "media-color.dark-gold" +msgstr "" + +#. TRANSLATORS: Dark Goldenrod +msgid "media-color.dark-goldenrod" +msgstr "" + +#. TRANSLATORS: Dark Gray +msgid "media-color.dark-gray" +msgstr "" + +#. TRANSLATORS: Dark Green +msgid "media-color.dark-green" +msgstr "" + +#. TRANSLATORS: Dark Ivory +msgid "media-color.dark-ivory" +msgstr "" + +#. TRANSLATORS: Dark Magenta +msgid "media-color.dark-magenta" +msgstr "" + +#. TRANSLATORS: Dark Mustard +msgid "media-color.dark-mustard" +msgstr "" + +#. TRANSLATORS: Dark Orange +msgid "media-color.dark-orange" +msgstr "" + +#. TRANSLATORS: Dark Pink +msgid "media-color.dark-pink" +msgstr "" + +#. TRANSLATORS: Dark Red +msgid "media-color.dark-red" +msgstr "" + +#. TRANSLATORS: Dark Silver +msgid "media-color.dark-silver" +msgstr "" + +#. TRANSLATORS: Dark Turquoise +msgid "media-color.dark-turquoise" +msgstr "" + +#. TRANSLATORS: Dark Violet +msgid "media-color.dark-violet" +msgstr "" + +#. TRANSLATORS: Dark Yellow +msgid "media-color.dark-yellow" +msgstr "" + +#. TRANSLATORS: Gold +msgid "media-color.gold" +msgstr "" + +#. TRANSLATORS: Goldenrod +msgid "media-color.goldenrod" +msgstr "" + +#. TRANSLATORS: Gray +msgid "media-color.gray" +msgstr "" + +#. TRANSLATORS: Green +msgid "media-color.green" +msgstr "" + +#. TRANSLATORS: Ivory +msgid "media-color.ivory" +msgstr "" + +#. TRANSLATORS: Light Black +msgid "media-color.light-black" +msgstr "" + +#. TRANSLATORS: Light Blue +msgid "media-color.light-blue" +msgstr "" + +#. TRANSLATORS: Light Brown +msgid "media-color.light-brown" +msgstr "" + +#. TRANSLATORS: Light Buff +msgid "media-color.light-buff" +msgstr "" + +#. TRANSLATORS: Light Cyan +msgid "media-color.light-cyan" +msgstr "" + +#. TRANSLATORS: Light Gold +msgid "media-color.light-gold" +msgstr "" + +#. TRANSLATORS: Light Goldenrod +msgid "media-color.light-goldenrod" +msgstr "" + +#. TRANSLATORS: Light Gray +msgid "media-color.light-gray" +msgstr "" + +#. TRANSLATORS: Light Green +msgid "media-color.light-green" +msgstr "" + +#. TRANSLATORS: Light Ivory +msgid "media-color.light-ivory" +msgstr "" + +#. TRANSLATORS: Light Magenta +msgid "media-color.light-magenta" +msgstr "" + +#. TRANSLATORS: Light Mustard +msgid "media-color.light-mustard" +msgstr "" + +#. TRANSLATORS: Light Orange +msgid "media-color.light-orange" +msgstr "" + +#. TRANSLATORS: Light Pink +msgid "media-color.light-pink" +msgstr "" + +#. TRANSLATORS: Light Red +msgid "media-color.light-red" +msgstr "" + +#. TRANSLATORS: Light Silver +msgid "media-color.light-silver" +msgstr "" + +#. TRANSLATORS: Light Turquoise +msgid "media-color.light-turquoise" +msgstr "" + +#. TRANSLATORS: Light Violet +msgid "media-color.light-violet" +msgstr "" + +#. TRANSLATORS: Light Yellow +msgid "media-color.light-yellow" +msgstr "" + +#. TRANSLATORS: Magenta +msgid "media-color.magenta" +msgstr "" + +#. TRANSLATORS: Multi-color +msgid "media-color.multi-color" +msgstr "" + +#. TRANSLATORS: Mustard +msgid "media-color.mustard" +msgstr "" + +#. TRANSLATORS: No Color +msgid "media-color.no-color" +msgstr "" + +#. TRANSLATORS: Orange +msgid "media-color.orange" +msgstr "" + +#. TRANSLATORS: Pink +msgid "media-color.pink" +msgstr "" + +#. TRANSLATORS: Red +msgid "media-color.red" +msgstr "" + +#. TRANSLATORS: Silver +msgid "media-color.silver" +msgstr "" + +#. TRANSLATORS: Turquoise +msgid "media-color.turquoise" +msgstr "" + +#. TRANSLATORS: Violet +msgid "media-color.violet" +msgstr "" + +#. TRANSLATORS: White +msgid "media-color.white" +msgstr "" + +#. TRANSLATORS: Yellow +msgid "media-color.yellow" +msgstr "" + +#. TRANSLATORS: Front Coating of Media +msgid "media-front-coating" +msgstr "" + +#. TRANSLATORS: Media Grain +msgid "media-grain" +msgstr "" + +#. TRANSLATORS: Cross-Feed Direction +msgid "media-grain.x-direction" +msgstr "" + +#. TRANSLATORS: Feed Direction +msgid "media-grain.y-direction" +msgstr "" + +#. TRANSLATORS: Media Hole Count +msgid "media-hole-count" +msgstr "" + +#. TRANSLATORS: Media Info +msgid "media-info" +msgstr "" + +#. TRANSLATORS: Force Media +msgid "media-input-tray-check" +msgstr "" + +#. TRANSLATORS: Media Left Margin +msgid "media-left-margin" +msgstr "" + +#. TRANSLATORS: Pre-printed Media +msgid "media-pre-printed" +msgstr "" + +#. TRANSLATORS: Blank +msgid "media-pre-printed.blank" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-pre-printed.letter-head" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "media-pre-printed.pre-printed" +msgstr "" + +#. TRANSLATORS: Recycled Media +msgid "media-recycled" +msgstr "" + +#. TRANSLATORS: None +msgid "media-recycled.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "media-recycled.standard" +msgstr "" + +#. TRANSLATORS: Media Right Margin +msgid "media-right-margin" +msgstr "" + +#. TRANSLATORS: Media Dimensions +msgid "media-size" +msgstr "" + +#. TRANSLATORS: Media Name +msgid "media-size-name" +msgstr "" + +#. TRANSLATORS: Media Source +msgid "media-source" +msgstr "" + +#. TRANSLATORS: Alternate +msgid "media-source.alternate" +msgstr "" + +#. TRANSLATORS: Alternate Roll +msgid "media-source.alternate-roll" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-source.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "media-source.bottom" +msgstr "" + +#. TRANSLATORS: By-pass Tray +msgid "media-source.by-pass-tray" +msgstr "" + +#. TRANSLATORS: Center +msgid "media-source.center" +msgstr "" + +#. TRANSLATORS: Disc +msgid "media-source.disc" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-source.envelope" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media-source.hagaki" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "media-source.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "media-source.left" +msgstr "" + +#. TRANSLATORS: Main +msgid "media-source.main" +msgstr "" + +#. TRANSLATORS: Main Roll +msgid "media-source.main-roll" +msgstr "" + +#. TRANSLATORS: Manual +msgid "media-source.manual" +msgstr "" + +#. TRANSLATORS: Middle +msgid "media-source.middle" +msgstr "" + +#. TRANSLATORS: Photo +msgid "media-source.photo" +msgstr "" + +#. TRANSLATORS: Rear +msgid "media-source.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "media-source.right" +msgstr "" + +#. TRANSLATORS: Roll 1 +msgid "media-source.roll-1" +msgstr "" + +#. TRANSLATORS: Roll 10 +msgid "media-source.roll-10" +msgstr "" + +#. TRANSLATORS: Roll 2 +msgid "media-source.roll-2" +msgstr "" + +#. TRANSLATORS: Roll 3 +msgid "media-source.roll-3" +msgstr "" + +#. TRANSLATORS: Roll 4 +msgid "media-source.roll-4" +msgstr "" + +#. TRANSLATORS: Roll 5 +msgid "media-source.roll-5" +msgstr "" + +#. TRANSLATORS: Roll 6 +msgid "media-source.roll-6" +msgstr "" + +#. TRANSLATORS: Roll 7 +msgid "media-source.roll-7" +msgstr "" + +#. TRANSLATORS: Roll 8 +msgid "media-source.roll-8" +msgstr "" + +#. TRANSLATORS: Roll 9 +msgid "media-source.roll-9" +msgstr "" + +#. TRANSLATORS: Side +msgid "media-source.side" +msgstr "" + +#. TRANSLATORS: Top +msgid "media-source.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "media-source.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "media-source.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 11 +msgid "media-source.tray-11" +msgstr "" + +#. TRANSLATORS: Tray 12 +msgid "media-source.tray-12" +msgstr "" + +#. TRANSLATORS: Tray 13 +msgid "media-source.tray-13" +msgstr "" + +#. TRANSLATORS: Tray 14 +msgid "media-source.tray-14" +msgstr "" + +#. TRANSLATORS: Tray 15 +msgid "media-source.tray-15" +msgstr "" + +#. TRANSLATORS: Tray 16 +msgid "media-source.tray-16" +msgstr "" + +#. TRANSLATORS: Tray 17 +msgid "media-source.tray-17" +msgstr "" + +#. TRANSLATORS: Tray 18 +msgid "media-source.tray-18" +msgstr "" + +#. TRANSLATORS: Tray 19 +msgid "media-source.tray-19" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "media-source.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 20 +msgid "media-source.tray-20" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "media-source.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "media-source.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "media-source.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "media-source.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "media-source.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "media-source.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "media-source.tray-9" +msgstr "" + +#. TRANSLATORS: Media Thickness +msgid "media-thickness" +msgstr "" + +#. TRANSLATORS: Media Tooth (Texture) +msgid "media-tooth" +msgstr "" + +#. TRANSLATORS: Antique +msgid "media-tooth.antique" +msgstr "" + +#. TRANSLATORS: Extra Smooth +msgid "media-tooth.calendared" +msgstr "" + +#. TRANSLATORS: Coarse +msgid "media-tooth.coarse" +msgstr "" + +#. TRANSLATORS: Fine +msgid "media-tooth.fine" +msgstr "" + +#. TRANSLATORS: Linen +msgid "media-tooth.linen" +msgstr "" + +#. TRANSLATORS: Medium +msgid "media-tooth.medium" +msgstr "" + +#. TRANSLATORS: Smooth +msgid "media-tooth.smooth" +msgstr "" + +#. TRANSLATORS: Stipple +msgid "media-tooth.stipple" +msgstr "" + +#. TRANSLATORS: Rough +msgid "media-tooth.uncalendared" +msgstr "" + +#. TRANSLATORS: Vellum +msgid "media-tooth.vellum" +msgstr "" + +#. TRANSLATORS: Media Top Margin +msgid "media-top-margin" +msgstr "" + +#. TRANSLATORS: Media Type +msgid "media-type" +msgstr "" + +#. TRANSLATORS: Aluminum +msgid "media-type.aluminum" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-type.auto" +msgstr "" + +#. TRANSLATORS: Back Print Film +msgid "media-type.back-print-film" +msgstr "" + +#. TRANSLATORS: Cardboard +msgid "media-type.cardboard" +msgstr "" + +#. TRANSLATORS: Cardstock +msgid "media-type.cardstock" +msgstr "" + +#. TRANSLATORS: CD +msgid "media-type.cd" +msgstr "" + +#. TRANSLATORS: Continuous +msgid "media-type.continuous" +msgstr "" + +#. TRANSLATORS: Continuous Long +msgid "media-type.continuous-long" +msgstr "" + +#. TRANSLATORS: Continuous Short +msgid "media-type.continuous-short" +msgstr "" + +#. TRANSLATORS: Corrugated Board +msgid "media-type.corrugated-board" +msgstr "" + +#. TRANSLATORS: Optical Disc +msgid "media-type.disc" +msgstr "" + +#. TRANSLATORS: Glossy Optical Disc +msgid "media-type.disc-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Optical Disc +msgid "media-type.disc-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Optical Disc +msgid "media-type.disc-matte" +msgstr "" + +#. TRANSLATORS: Satin Optical Disc +msgid "media-type.disc-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Optical Disc +msgid "media-type.disc-semi-gloss" +msgstr "" + +#. TRANSLATORS: Double Wall +msgid "media-type.double-wall" +msgstr "" + +#. TRANSLATORS: Dry Film +msgid "media-type.dry-film" +msgstr "" + +#. TRANSLATORS: DVD +msgid "media-type.dvd" +msgstr "" + +#. TRANSLATORS: Embossing Foil +msgid "media-type.embossing-foil" +msgstr "" + +#. TRANSLATORS: End Board +msgid "media-type.end-board" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-type.envelope" +msgstr "" + +#. TRANSLATORS: Archival Envelope +msgid "media-type.envelope-archival" +msgstr "" + +#. TRANSLATORS: Bond Envelope +msgid "media-type.envelope-bond" +msgstr "" + +#. TRANSLATORS: Coated Envelope +msgid "media-type.envelope-coated" +msgstr "" + +#. TRANSLATORS: Cotton Envelope +msgid "media-type.envelope-cotton" +msgstr "" + +#. TRANSLATORS: Fine Envelope +msgid "media-type.envelope-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Envelope +msgid "media-type.envelope-heavyweight" +msgstr "" + +#. TRANSLATORS: Inkjet Envelope +msgid "media-type.envelope-inkjet" +msgstr "" + +#. TRANSLATORS: Lightweight Envelope +msgid "media-type.envelope-lightweight" +msgstr "" + +#. TRANSLATORS: Plain Envelope +msgid "media-type.envelope-plain" +msgstr "" + +#. TRANSLATORS: Preprinted Envelope +msgid "media-type.envelope-preprinted" +msgstr "" + +#. TRANSLATORS: Windowed Envelope +msgid "media-type.envelope-window" +msgstr "" + +#. TRANSLATORS: Fabric +msgid "media-type.fabric" +msgstr "" + +#. TRANSLATORS: Archival Fabric +msgid "media-type.fabric-archival" +msgstr "" + +#. TRANSLATORS: Glossy Fabric +msgid "media-type.fabric-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Fabric +msgid "media-type.fabric-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Fabric +msgid "media-type.fabric-matte" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Fabric +msgid "media-type.fabric-semi-gloss" +msgstr "" + +#. TRANSLATORS: Waterproof Fabric +msgid "media-type.fabric-waterproof" +msgstr "" + +#. TRANSLATORS: Film +msgid "media-type.film" +msgstr "" + +#. TRANSLATORS: Flexo Base +msgid "media-type.flexo-base" +msgstr "" + +#. TRANSLATORS: Flexo Photo Polymer +msgid "media-type.flexo-photo-polymer" +msgstr "" + +#. TRANSLATORS: Flute +msgid "media-type.flute" +msgstr "" + +#. TRANSLATORS: Foil +msgid "media-type.foil" +msgstr "" + +#. TRANSLATORS: Full Cut Tabs +msgid "media-type.full-cut-tabs" +msgstr "" + +#. TRANSLATORS: Glass +msgid "media-type.glass" +msgstr "" + +#. TRANSLATORS: Glass Colored +msgid "media-type.glass-colored" +msgstr "" + +#. TRANSLATORS: Glass Opaque +msgid "media-type.glass-opaque" +msgstr "" + +#. TRANSLATORS: Glass Surfaced +msgid "media-type.glass-surfaced" +msgstr "" + +#. TRANSLATORS: Glass Textured +msgid "media-type.glass-textured" +msgstr "" + +#. TRANSLATORS: Gravure Cylinder +msgid "media-type.gravure-cylinder" +msgstr "" + +#. TRANSLATORS: Image Setter Paper +msgid "media-type.image-setter-paper" +msgstr "" + +#. TRANSLATORS: Imaging Cylinder +msgid "media-type.imaging-cylinder" +msgstr "" + +#. TRANSLATORS: Labels +msgid "media-type.labels" +msgstr "" + +#. TRANSLATORS: Colored Labels +msgid "media-type.labels-colored" +msgstr "" + +#. TRANSLATORS: Glossy Labels +msgid "media-type.labels-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Labels +msgid "media-type.labels-high-gloss" +msgstr "" + +#. TRANSLATORS: Inkjet Labels +msgid "media-type.labels-inkjet" +msgstr "" + +#. TRANSLATORS: Matte Labels +msgid "media-type.labels-matte" +msgstr "" + +#. TRANSLATORS: Permanent Labels +msgid "media-type.labels-permanent" +msgstr "" + +#. TRANSLATORS: Satin Labels +msgid "media-type.labels-satin" +msgstr "" + +#. TRANSLATORS: Security Labels +msgid "media-type.labels-security" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Labels +msgid "media-type.labels-semi-gloss" +msgstr "" + +#. TRANSLATORS: Laminating Foil +msgid "media-type.laminating-foil" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.letterhead" +msgstr "" + +#. TRANSLATORS: Metal +msgid "media-type.metal" +msgstr "" + +#. TRANSLATORS: Metal Glossy +msgid "media-type.metal-glossy" +msgstr "" + +#. TRANSLATORS: Metal High Gloss +msgid "media-type.metal-high-gloss" +msgstr "" + +#. TRANSLATORS: Metal Matte +msgid "media-type.metal-matte" +msgstr "" + +#. TRANSLATORS: Metal Satin +msgid "media-type.metal-satin" +msgstr "" + +#. TRANSLATORS: Metal Semi Gloss +msgid "media-type.metal-semi-gloss" +msgstr "" + +#. TRANSLATORS: Mounting Tape +msgid "media-type.mounting-tape" +msgstr "" + +#. TRANSLATORS: Multi Layer +msgid "media-type.multi-layer" +msgstr "" + +#. TRANSLATORS: Multi Part Form +msgid "media-type.multi-part-form" +msgstr "" + +#. TRANSLATORS: Other +msgid "media-type.other" +msgstr "" + +#. TRANSLATORS: Paper +msgid "media-type.paper" +msgstr "" + +#. TRANSLATORS: Photo Paper +msgid "media-type.photographic" +msgstr "" + +#. TRANSLATORS: Photographic Archival +msgid "media-type.photographic-archival" +msgstr "" + +#. TRANSLATORS: Photo Film +msgid "media-type.photographic-film" +msgstr "" + +#. TRANSLATORS: Glossy Photo Paper +msgid "media-type.photographic-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Photo Paper +msgid "media-type.photographic-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Photo Paper +msgid "media-type.photographic-matte" +msgstr "" + +#. TRANSLATORS: Satin Photo Paper +msgid "media-type.photographic-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Photo Paper +msgid "media-type.photographic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plastic +msgid "media-type.plastic" +msgstr "" + +#. TRANSLATORS: Plastic Archival +msgid "media-type.plastic-archival" +msgstr "" + +#. TRANSLATORS: Plastic Colored +msgid "media-type.plastic-colored" +msgstr "" + +#. TRANSLATORS: Plastic Glossy +msgid "media-type.plastic-glossy" +msgstr "" + +#. TRANSLATORS: Plastic High Gloss +msgid "media-type.plastic-high-gloss" +msgstr "" + +#. TRANSLATORS: Plastic Matte +msgid "media-type.plastic-matte" +msgstr "" + +#. TRANSLATORS: Plastic Satin +msgid "media-type.plastic-satin" +msgstr "" + +#. TRANSLATORS: Plastic Semi Gloss +msgid "media-type.plastic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plate +msgid "media-type.plate" +msgstr "" + +#. TRANSLATORS: Polyester +msgid "media-type.polyester" +msgstr "" + +#. TRANSLATORS: Pre Cut Tabs +msgid "media-type.pre-cut-tabs" +msgstr "" + +#. TRANSLATORS: Roll +msgid "media-type.roll" +msgstr "" + +#. TRANSLATORS: Screen +msgid "media-type.screen" +msgstr "" + +#. TRANSLATORS: Screen Paged +msgid "media-type.screen-paged" +msgstr "" + +#. TRANSLATORS: Self Adhesive +msgid "media-type.self-adhesive" +msgstr "" + +#. TRANSLATORS: Self Adhesive Film +msgid "media-type.self-adhesive-film" +msgstr "" + +#. TRANSLATORS: Shrink Foil +msgid "media-type.shrink-foil" +msgstr "" + +#. TRANSLATORS: Single Face +msgid "media-type.single-face" +msgstr "" + +#. TRANSLATORS: Single Wall +msgid "media-type.single-wall" +msgstr "" + +#. TRANSLATORS: Sleeve +msgid "media-type.sleeve" +msgstr "" + +#. TRANSLATORS: Stationery +msgid "media-type.stationery" +msgstr "" + +#. TRANSLATORS: Stationery Archival +msgid "media-type.stationery-archival" +msgstr "" + +#. TRANSLATORS: Coated Paper +msgid "media-type.stationery-coated" +msgstr "" + +#. TRANSLATORS: Stationery Cotton +msgid "media-type.stationery-cotton" +msgstr "" + +#. TRANSLATORS: Vellum Paper +msgid "media-type.stationery-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Paper +msgid "media-type.stationery-heavyweight" +msgstr "" + +#. TRANSLATORS: Stationery Heavyweight Coated +msgid "media-type.stationery-heavyweight-coated" +msgstr "" + +#. TRANSLATORS: Stationery Inkjet Paper +msgid "media-type.stationery-inkjet" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.stationery-letterhead" +msgstr "" + +#. TRANSLATORS: Lightweight Paper +msgid "media-type.stationery-lightweight" +msgstr "" + +#. TRANSLATORS: Preprinted Paper +msgid "media-type.stationery-preprinted" +msgstr "" + +#. TRANSLATORS: Punched Paper +msgid "media-type.stationery-prepunched" +msgstr "" + +#. TRANSLATORS: Tab Stock +msgid "media-type.tab-stock" +msgstr "" + +#. TRANSLATORS: Tractor +msgid "media-type.tractor" +msgstr "" + +#. TRANSLATORS: Transfer +msgid "media-type.transfer" +msgstr "" + +#. TRANSLATORS: Transparency +msgid "media-type.transparency" +msgstr "" + +#. TRANSLATORS: Triple Wall +msgid "media-type.triple-wall" +msgstr "" + +#. TRANSLATORS: Wet Film +msgid "media-type.wet-film" +msgstr "" + +#. TRANSLATORS: Media Weight (grams per m²) +msgid "media-weight-metric" +msgstr "" + +#. TRANSLATORS: 28 x 40″ +msgid "media.asme_f_28x40in" +msgstr "" + +#. TRANSLATORS: A4 or US Letter +msgid "media.choice_iso_a4_210x297mm_na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: 2a0 +msgid "media.iso_2a0_1189x1682mm" +msgstr "" + +#. TRANSLATORS: A0 +msgid "media.iso_a0_841x1189mm" +msgstr "" + +#. TRANSLATORS: A0x3 +msgid "media.iso_a0x3_1189x2523mm" +msgstr "" + +#. TRANSLATORS: A10 +msgid "media.iso_a10_26x37mm" +msgstr "" + +#. TRANSLATORS: A1 +msgid "media.iso_a1_594x841mm" +msgstr "" + +#. TRANSLATORS: A1x3 +msgid "media.iso_a1x3_841x1783mm" +msgstr "" + +#. TRANSLATORS: A1x4 +msgid "media.iso_a1x4_841x2378mm" +msgstr "" + +#. TRANSLATORS: A2 +msgid "media.iso_a2_420x594mm" +msgstr "" + +#. TRANSLATORS: A2x3 +msgid "media.iso_a2x3_594x1261mm" +msgstr "" + +#. TRANSLATORS: A2x4 +msgid "media.iso_a2x4_594x1682mm" +msgstr "" + +#. TRANSLATORS: A2x5 +msgid "media.iso_a2x5_594x2102mm" +msgstr "" + +#. TRANSLATORS: A3 (Extra) +msgid "media.iso_a3-extra_322x445mm" +msgstr "" + +#. TRANSLATORS: A3 +msgid "media.iso_a3_297x420mm" +msgstr "" + +#. TRANSLATORS: A3x3 +msgid "media.iso_a3x3_420x891mm" +msgstr "" + +#. TRANSLATORS: A3x4 +msgid "media.iso_a3x4_420x1189mm" +msgstr "" + +#. TRANSLATORS: A3x5 +msgid "media.iso_a3x5_420x1486mm" +msgstr "" + +#. TRANSLATORS: A3x6 +msgid "media.iso_a3x6_420x1783mm" +msgstr "" + +#. TRANSLATORS: A3x7 +msgid "media.iso_a3x7_420x2080mm" +msgstr "" + +#. TRANSLATORS: A4 (Extra) +msgid "media.iso_a4-extra_235.5x322.3mm" +msgstr "" + +#. TRANSLATORS: A4 (Tab) +msgid "media.iso_a4-tab_225x297mm" +msgstr "" + +#. TRANSLATORS: A4 +msgid "media.iso_a4_210x297mm" +msgstr "" + +#. TRANSLATORS: A4x3 +msgid "media.iso_a4x3_297x630mm" +msgstr "" + +#. TRANSLATORS: A4x4 +msgid "media.iso_a4x4_297x841mm" +msgstr "" + +#. TRANSLATORS: A4x5 +msgid "media.iso_a4x5_297x1051mm" +msgstr "" + +#. TRANSLATORS: A4x6 +msgid "media.iso_a4x6_297x1261mm" +msgstr "" + +#. TRANSLATORS: A4x7 +msgid "media.iso_a4x7_297x1471mm" +msgstr "" + +#. TRANSLATORS: A4x8 +msgid "media.iso_a4x8_297x1682mm" +msgstr "" + +#. TRANSLATORS: A4x9 +msgid "media.iso_a4x9_297x1892mm" +msgstr "" + +#. TRANSLATORS: A5 (Extra) +msgid "media.iso_a5-extra_174x235mm" +msgstr "" + +#. TRANSLATORS: A5 +msgid "media.iso_a5_148x210mm" +msgstr "" + +#. TRANSLATORS: A6 +msgid "media.iso_a6_105x148mm" +msgstr "" + +#. TRANSLATORS: A7 +msgid "media.iso_a7_74x105mm" +msgstr "" + +#. TRANSLATORS: A8 +msgid "media.iso_a8_52x74mm" +msgstr "" + +#. TRANSLATORS: A9 +msgid "media.iso_a9_37x52mm" +msgstr "" + +#. TRANSLATORS: B0 +msgid "media.iso_b0_1000x1414mm" +msgstr "" + +#. TRANSLATORS: B10 +msgid "media.iso_b10_31x44mm" +msgstr "" + +#. TRANSLATORS: B1 +msgid "media.iso_b1_707x1000mm" +msgstr "" + +#. TRANSLATORS: B2 +msgid "media.iso_b2_500x707mm" +msgstr "" + +#. TRANSLATORS: B3 +msgid "media.iso_b3_353x500mm" +msgstr "" + +#. TRANSLATORS: B4 +msgid "media.iso_b4_250x353mm" +msgstr "" + +#. TRANSLATORS: B5 (Extra) +msgid "media.iso_b5-extra_201x276mm" +msgstr "" + +#. TRANSLATORS: Envelope B5 +msgid "media.iso_b5_176x250mm" +msgstr "" + +#. TRANSLATORS: B6 +msgid "media.iso_b6_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope B6/C4 +msgid "media.iso_b6c4_125x324mm" +msgstr "" + +#. TRANSLATORS: B7 +msgid "media.iso_b7_88x125mm" +msgstr "" + +#. TRANSLATORS: B8 +msgid "media.iso_b8_62x88mm" +msgstr "" + +#. TRANSLATORS: B9 +msgid "media.iso_b9_44x62mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 0 +msgid "media.iso_c0_917x1297mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 10 +msgid "media.iso_c10_28x40mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 1 +msgid "media.iso_c1_648x917mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 2 +msgid "media.iso_c2_458x648mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 3 +msgid "media.iso_c3_324x458mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 4 +msgid "media.iso_c4_229x324mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 5 +msgid "media.iso_c5_162x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6 +msgid "media.iso_c6_114x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6c5 +msgid "media.iso_c6c5_114x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7 +msgid "media.iso_c7_81x114mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7c6 +msgid "media.iso_c7c6_81x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 8 +msgid "media.iso_c8_57x81mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 9 +msgid "media.iso_c9_40x57mm" +msgstr "" + +#. TRANSLATORS: Envelope DL +msgid "media.iso_dl_110x220mm" +msgstr "" + +#. TRANSLATORS: Id-1 +msgid "media.iso_id-1_53.98x85.6mm" +msgstr "" + +#. TRANSLATORS: Id-3 +msgid "media.iso_id-3_88x125mm" +msgstr "" + +#. TRANSLATORS: ISO RA0 +msgid "media.iso_ra0_860x1220mm" +msgstr "" + +#. TRANSLATORS: ISO RA1 +msgid "media.iso_ra1_610x860mm" +msgstr "" + +#. TRANSLATORS: ISO RA2 +msgid "media.iso_ra2_430x610mm" +msgstr "" + +#. TRANSLATORS: ISO RA3 +msgid "media.iso_ra3_305x430mm" +msgstr "" + +#. TRANSLATORS: ISO RA4 +msgid "media.iso_ra4_215x305mm" +msgstr "" + +#. TRANSLATORS: ISO SRA0 +msgid "media.iso_sra0_900x1280mm" +msgstr "" + +#. TRANSLATORS: ISO SRA1 +msgid "media.iso_sra1_640x900mm" +msgstr "" + +#. TRANSLATORS: ISO SRA2 +msgid "media.iso_sra2_450x640mm" +msgstr "" + +#. TRANSLATORS: ISO SRA3 +msgid "media.iso_sra3_320x450mm" +msgstr "" + +#. TRANSLATORS: ISO SRA4 +msgid "media.iso_sra4_225x320mm" +msgstr "" + +#. TRANSLATORS: JIS B0 +msgid "media.jis_b0_1030x1456mm" +msgstr "" + +#. TRANSLATORS: JIS B10 +msgid "media.jis_b10_32x45mm" +msgstr "" + +#. TRANSLATORS: JIS B1 +msgid "media.jis_b1_728x1030mm" +msgstr "" + +#. TRANSLATORS: JIS B2 +msgid "media.jis_b2_515x728mm" +msgstr "" + +#. TRANSLATORS: JIS B3 +msgid "media.jis_b3_364x515mm" +msgstr "" + +#. TRANSLATORS: JIS B4 +msgid "media.jis_b4_257x364mm" +msgstr "" + +#. TRANSLATORS: JIS B5 +msgid "media.jis_b5_182x257mm" +msgstr "" + +#. TRANSLATORS: JIS B6 +msgid "media.jis_b6_128x182mm" +msgstr "" + +#. TRANSLATORS: JIS B7 +msgid "media.jis_b7_91x128mm" +msgstr "" + +#. TRANSLATORS: JIS B8 +msgid "media.jis_b8_64x91mm" +msgstr "" + +#. TRANSLATORS: JIS B9 +msgid "media.jis_b9_45x64mm" +msgstr "" + +#. TRANSLATORS: JIS Executive +msgid "media.jis_exec_216x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 2 +msgid "media.jpn_chou2_111.1x146mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 3 +msgid "media.jpn_chou3_120x235mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 40 +msgid "media.jpn_chou40_90x225mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 4 +msgid "media.jpn_chou4_90x205mm" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media.jpn_hagaki_100x148mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu +msgid "media.jpn_kahu_240x322.1mm" +msgstr "" + +#. TRANSLATORS: 270 x 382mm +msgid "media.jpn_kaku1_270x382mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu 2 +msgid "media.jpn_kaku2_240x332mm" +msgstr "" + +#. TRANSLATORS: 216 x 277mm +msgid "media.jpn_kaku3_216x277mm" +msgstr "" + +#. TRANSLATORS: 197 x 267mm +msgid "media.jpn_kaku4_197x267mm" +msgstr "" + +#. TRANSLATORS: 190 x 240mm +msgid "media.jpn_kaku5_190x240mm" +msgstr "" + +#. TRANSLATORS: 142 x 205mm +msgid "media.jpn_kaku7_142x205mm" +msgstr "" + +#. TRANSLATORS: 119 x 197mm +msgid "media.jpn_kaku8_119x197mm" +msgstr "" + +#. TRANSLATORS: Oufuku Reply Postcard +msgid "media.jpn_oufuku_148x200mm" +msgstr "" + +#. TRANSLATORS: Envelope You 4 +msgid "media.jpn_you4_105x235mm" +msgstr "" + +#. TRANSLATORS: 10 x 11″ +msgid "media.na_10x11_10x11in" +msgstr "" + +#. TRANSLATORS: 10 x 13″ +msgid "media.na_10x13_10x13in" +msgstr "" + +#. TRANSLATORS: 10 x 14″ +msgid "media.na_10x14_10x14in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.na_10x15_10x15in" +msgstr "" + +#. TRANSLATORS: 11 x 12″ +msgid "media.na_11x12_11x12in" +msgstr "" + +#. TRANSLATORS: 11 x 15″ +msgid "media.na_11x15_11x15in" +msgstr "" + +#. TRANSLATORS: 12 x 19″ +msgid "media.na_12x19_12x19in" +msgstr "" + +#. TRANSLATORS: 5 x 7″ +msgid "media.na_5x7_5x7in" +msgstr "" + +#. TRANSLATORS: 6 x 9″ +msgid "media.na_6x9_6x9in" +msgstr "" + +#. TRANSLATORS: 7 x 9″ +msgid "media.na_7x9_7x9in" +msgstr "" + +#. TRANSLATORS: 9 x 11″ +msgid "media.na_9x11_9x11in" +msgstr "" + +#. TRANSLATORS: Envelope A2 +msgid "media.na_a2_4.375x5.75in" +msgstr "" + +#. TRANSLATORS: 9 x 12″ +msgid "media.na_arch-a_9x12in" +msgstr "" + +#. TRANSLATORS: 12 x 18″ +msgid "media.na_arch-b_12x18in" +msgstr "" + +#. TRANSLATORS: 18 x 24″ +msgid "media.na_arch-c_18x24in" +msgstr "" + +#. TRANSLATORS: 24 x 36″ +msgid "media.na_arch-d_24x36in" +msgstr "" + +#. TRANSLATORS: 26 x 38″ +msgid "media.na_arch-e2_26x38in" +msgstr "" + +#. TRANSLATORS: 27 x 39″ +msgid "media.na_arch-e3_27x39in" +msgstr "" + +#. TRANSLATORS: 36 x 48″ +msgid "media.na_arch-e_36x48in" +msgstr "" + +#. TRANSLATORS: 12 x 19.17″ +msgid "media.na_b-plus_12x19.17in" +msgstr "" + +#. TRANSLATORS: Envelope C5 +msgid "media.na_c5_6.5x9.5in" +msgstr "" + +#. TRANSLATORS: 17 x 22″ +msgid "media.na_c_17x22in" +msgstr "" + +#. TRANSLATORS: 22 x 34″ +msgid "media.na_d_22x34in" +msgstr "" + +#. TRANSLATORS: 34 x 44″ +msgid "media.na_e_34x44in" +msgstr "" + +#. TRANSLATORS: 11 x 14″ +msgid "media.na_edp_11x14in" +msgstr "" + +#. TRANSLATORS: 12 x 14″ +msgid "media.na_eur-edp_12x14in" +msgstr "" + +#. TRANSLATORS: Executive +msgid "media.na_executive_7.25x10.5in" +msgstr "" + +#. TRANSLATORS: 44 x 68″ +msgid "media.na_f_44x68in" +msgstr "" + +#. TRANSLATORS: European Fanfold +msgid "media.na_fanfold-eur_8.5x12in" +msgstr "" + +#. TRANSLATORS: US Fanfold +msgid "media.na_fanfold-us_11x14.875in" +msgstr "" + +#. TRANSLATORS: Foolscap +msgid "media.na_foolscap_8.5x13in" +msgstr "" + +#. TRANSLATORS: 8 x 13″ +msgid "media.na_govt-legal_8x13in" +msgstr "" + +#. TRANSLATORS: 8 x 10″ +msgid "media.na_govt-letter_8x10in" +msgstr "" + +#. TRANSLATORS: 3 x 5″ +msgid "media.na_index-3x5_3x5in" +msgstr "" + +#. TRANSLATORS: 6 x 8″ +msgid "media.na_index-4x6-ext_6x8in" +msgstr "" + +#. TRANSLATORS: 4 x 6″ +msgid "media.na_index-4x6_4x6in" +msgstr "" + +#. TRANSLATORS: 5 x 8″ +msgid "media.na_index-5x8_5x8in" +msgstr "" + +#. TRANSLATORS: Statement +msgid "media.na_invoice_5.5x8.5in" +msgstr "" + +#. TRANSLATORS: 11 x 17″ +msgid "media.na_ledger_11x17in" +msgstr "" + +#. TRANSLATORS: US Legal (Extra) +msgid "media.na_legal-extra_9.5x15in" +msgstr "" + +#. TRANSLATORS: US Legal +msgid "media.na_legal_8.5x14in" +msgstr "" + +#. TRANSLATORS: US Letter (Extra) +msgid "media.na_letter-extra_9.5x12in" +msgstr "" + +#. TRANSLATORS: US Letter (Plus) +msgid "media.na_letter-plus_8.5x12.69in" +msgstr "" + +#. TRANSLATORS: US Letter +msgid "media.na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: Envelope Monarch +msgid "media.na_monarch_3.875x7.5in" +msgstr "" + +#. TRANSLATORS: Envelope #10 +msgid "media.na_number-10_4.125x9.5in" +msgstr "" + +#. TRANSLATORS: Envelope #11 +msgid "media.na_number-11_4.5x10.375in" +msgstr "" + +#. TRANSLATORS: Envelope #12 +msgid "media.na_number-12_4.75x11in" +msgstr "" + +#. TRANSLATORS: Envelope #14 +msgid "media.na_number-14_5x11.5in" +msgstr "" + +#. TRANSLATORS: Envelope #9 +msgid "media.na_number-9_3.875x8.875in" +msgstr "" + +#. TRANSLATORS: 8.5 x 13.4″ +msgid "media.na_oficio_8.5x13.4in" +msgstr "" + +#. TRANSLATORS: Envelope Personal +msgid "media.na_personal_3.625x6.5in" +msgstr "" + +#. TRANSLATORS: Quarto +msgid "media.na_quarto_8.5x10.83in" +msgstr "" + +#. TRANSLATORS: 8.94 x 14″ +msgid "media.na_super-a_8.94x14in" +msgstr "" + +#. TRANSLATORS: 13 x 19″ +msgid "media.na_super-b_13x19in" +msgstr "" + +#. TRANSLATORS: 30 x 42″ +msgid "media.na_wide-format_30x42in" +msgstr "" + +#. TRANSLATORS: 12 x 16″ +msgid "media.oe_12x16_12x16in" +msgstr "" + +#. TRANSLATORS: 14 x 17″ +msgid "media.oe_14x17_14x17in" +msgstr "" + +#. TRANSLATORS: 18 x 22″ +msgid "media.oe_18x22_18x22in" +msgstr "" + +#. TRANSLATORS: 17 x 24″ +msgid "media.oe_a2plus_17x24in" +msgstr "" + +#. TRANSLATORS: 2 x 3.5″ +msgid "media.oe_business-card_2x3.5in" +msgstr "" + +#. TRANSLATORS: 10 x 12″ +msgid "media.oe_photo-10r_10x12in" +msgstr "" + +#. TRANSLATORS: 20 x 24″ +msgid "media.oe_photo-20r_20x24in" +msgstr "" + +#. TRANSLATORS: 3.5 x 5″ +msgid "media.oe_photo-l_3.5x5in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.oe_photo-s10r_10x15in" +msgstr "" + +#. TRANSLATORS: 4 x 4″ +msgid "media.oe_square-photo_4x4in" +msgstr "" + +#. TRANSLATORS: 5 x 5″ +msgid "media.oe_square-photo_5x5in" +msgstr "" + +#. TRANSLATORS: 184 x 260mm +msgid "media.om_16k_184x260mm" +msgstr "" + +#. TRANSLATORS: 195 x 270mm +msgid "media.om_16k_195x270mm" +msgstr "" + +#. TRANSLATORS: 55 x 85mm +msgid "media.om_business-card_55x85mm" +msgstr "" + +#. TRANSLATORS: 55 x 91mm +msgid "media.om_business-card_55x91mm" +msgstr "" + +#. TRANSLATORS: 54 x 86mm +msgid "media.om_card_54x86mm" +msgstr "" + +#. TRANSLATORS: 275 x 395mm +msgid "media.om_dai-pa-kai_275x395mm" +msgstr "" + +#. TRANSLATORS: 89 x 119mm +msgid "media.om_dsc-photo_89x119mm" +msgstr "" + +#. TRANSLATORS: Folio +msgid "media.om_folio-sp_215x315mm" +msgstr "" + +#. TRANSLATORS: Folio (Special) +msgid "media.om_folio_210x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Invitation +msgid "media.om_invite_220x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Italian +msgid "media.om_italian_110x230mm" +msgstr "" + +#. TRANSLATORS: 198 x 275mm +msgid "media.om_juuro-ku-kai_198x275mm" +msgstr "" + +#. TRANSLATORS: 200 x 300 +msgid "media.om_large-photo_200x300" +msgstr "" + +#. TRANSLATORS: 130 x 180mm +msgid "media.om_medium-photo_130x180mm" +msgstr "" + +#. TRANSLATORS: 267 x 389mm +msgid "media.om_pa-kai_267x389mm" +msgstr "" + +#. TRANSLATORS: Envelope Postfix +msgid "media.om_postfix_114x229mm" +msgstr "" + +#. TRANSLATORS: 100 x 150mm +msgid "media.om_small-photo_100x150mm" +msgstr "" + +#. TRANSLATORS: 89 x 89mm +msgid "media.om_square-photo_89x89mm" +msgstr "" + +#. TRANSLATORS: 100 x 200mm +msgid "media.om_wide-photo_100x200mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #10 +msgid "media.prc_10_324x458mm" +msgstr "" + +#. TRANSLATORS: Chinese 16k +msgid "media.prc_16k_146x215mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #1 +msgid "media.prc_1_102x165mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #2 +msgid "media.prc_2_102x176mm" +msgstr "" + +#. TRANSLATORS: Chinese 32k +msgid "media.prc_32k_97x151mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #3 +msgid "media.prc_3_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #4 +msgid "media.prc_4_110x208mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #5 +msgid "media.prc_5_110x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #6 +msgid "media.prc_6_120x320mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #7 +msgid "media.prc_7_160x230mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #8 +msgid "media.prc_8_120x309mm" +msgstr "" + +#. TRANSLATORS: ROC 16k +msgid "media.roc_16k_7.75x10.75in" +msgstr "" + +#. TRANSLATORS: ROC 8k +msgid "media.roc_8k_10.75x15.5in" +msgstr "" + +#, c-format +msgid "members of class %s:" +msgstr "クラス %s のメンバー:" + +#. TRANSLATORS: Multiple Document Handling +msgid "multiple-document-handling" +msgstr "" + +#. TRANSLATORS: Separate Documents Collated Copies +msgid "multiple-document-handling.separate-documents-collated-copies" +msgstr "" + +#. TRANSLATORS: Separate Documents Uncollated Copies +msgid "multiple-document-handling.separate-documents-uncollated-copies" +msgstr "" + +#. TRANSLATORS: Single Document +msgid "multiple-document-handling.single-document" +msgstr "" + +#. TRANSLATORS: Single Document New Sheet +msgid "multiple-document-handling.single-document-new-sheet" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling +msgid "multiple-object-handling" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling Actual +msgid "multiple-object-handling-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "multiple-object-handling.auto" +msgstr "" + +#. TRANSLATORS: Best Fit +msgid "multiple-object-handling.best-fit" +msgstr "" + +#. TRANSLATORS: Best Quality +msgid "multiple-object-handling.best-quality" +msgstr "" + +#. TRANSLATORS: Best Speed +msgid "multiple-object-handling.best-speed" +msgstr "" + +#. TRANSLATORS: One At A Time +msgid "multiple-object-handling.one-at-a-time" +msgstr "" + +#. TRANSLATORS: On Timeout +msgid "multiple-operation-time-out-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "multiple-operation-time-out-action.abort-job" +msgstr "" + +#. TRANSLATORS: Hold Job +msgid "multiple-operation-time-out-action.hold-job" +msgstr "" + +#. TRANSLATORS: Process Job +msgid "multiple-operation-time-out-action.process-job" +msgstr "" + +msgid "no entries" +msgstr "エントリーがありません" + +msgid "no system default destination" +msgstr "システムのデフォルトの宛先がありません" + +#. TRANSLATORS: Noise Removal +msgid "noise-removal" +msgstr "" + +#. TRANSLATORS: Notify Attributes +msgid "notify-attributes" +msgstr "" + +#. TRANSLATORS: Notify Charset +msgid "notify-charset" +msgstr "" + +#. TRANSLATORS: Notify Events +msgid "notify-events" +msgstr "" + +msgid "notify-events not specified." +msgstr "notify-events が指定されていません。" + +#. TRANSLATORS: Document Completed +msgid "notify-events.document-completed" +msgstr "" + +#. TRANSLATORS: Document Config Changed +msgid "notify-events.document-config-changed" +msgstr "" + +#. TRANSLATORS: Document Created +msgid "notify-events.document-created" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "notify-events.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document State Changed +msgid "notify-events.document-state-changed" +msgstr "" + +#. TRANSLATORS: Document Stopped +msgid "notify-events.document-stopped" +msgstr "" + +#. TRANSLATORS: Job Completed +msgid "notify-events.job-completed" +msgstr "" + +#. TRANSLATORS: Job Config Changed +msgid "notify-events.job-config-changed" +msgstr "" + +#. TRANSLATORS: Job Created +msgid "notify-events.job-created" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "notify-events.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Progress +msgid "notify-events.job-progress" +msgstr "" + +#. TRANSLATORS: Job State Changed +msgid "notify-events.job-state-changed" +msgstr "" + +#. TRANSLATORS: Job Stopped +msgid "notify-events.job-stopped" +msgstr "" + +#. TRANSLATORS: None +msgid "notify-events.none" +msgstr "" + +#. TRANSLATORS: Printer Config Changed +msgid "notify-events.printer-config-changed" +msgstr "" + +#. TRANSLATORS: Printer Finishings Changed +msgid "notify-events.printer-finishings-changed" +msgstr "" + +#. TRANSLATORS: Printer Media Changed +msgid "notify-events.printer-media-changed" +msgstr "" + +#. TRANSLATORS: Printer Queue Order Changed +msgid "notify-events.printer-queue-order-changed" +msgstr "" + +#. TRANSLATORS: Printer Restarted +msgid "notify-events.printer-restarted" +msgstr "" + +#. TRANSLATORS: Printer Shutdown +msgid "notify-events.printer-shutdown" +msgstr "" + +#. TRANSLATORS: Printer State Changed +msgid "notify-events.printer-state-changed" +msgstr "" + +#. TRANSLATORS: Printer Stopped +msgid "notify-events.printer-stopped" +msgstr "" + +#. TRANSLATORS: Notify Get Interval +msgid "notify-get-interval" +msgstr "" + +#. TRANSLATORS: Notify Lease Duration +msgid "notify-lease-duration" +msgstr "" + +#. TRANSLATORS: Notify Natural Language +msgid "notify-natural-language" +msgstr "" + +#. TRANSLATORS: Notify Pull Method +msgid "notify-pull-method" +msgstr "" + +#. TRANSLATORS: Notify Recipient +msgid "notify-recipient-uri" +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" is already used." +msgstr "notify-recipient-uri URI \"%s\" はすでに使われています。" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" uses unknown scheme." +msgstr "notify-recipient-uri URI \"%s\" には未知のスキームが使われています。" + +#. TRANSLATORS: Notify Sequence Numbers +msgid "notify-sequence-numbers" +msgstr "" + +#. TRANSLATORS: Notify Subscription Ids +msgid "notify-subscription-ids" +msgstr "" + +#. TRANSLATORS: Notify Time Interval +msgid "notify-time-interval" +msgstr "" + +#. TRANSLATORS: Notify User Data +msgid "notify-user-data" +msgstr "" + +#. TRANSLATORS: Notify Wait +msgid "notify-wait" +msgstr "" + +#. TRANSLATORS: Number Of Retries +msgid "number-of-retries" +msgstr "" + +#. TRANSLATORS: Number-Up +msgid "number-up" +msgstr "" + +#. TRANSLATORS: Object Offset +msgid "object-offset" +msgstr "" + +#. TRANSLATORS: Object Size +msgid "object-size" +msgstr "" + +#. TRANSLATORS: Organization Name +msgid "organization-name" +msgstr "" + +#. TRANSLATORS: Orientation +msgid "orientation-requested" +msgstr "" + +#. TRANSLATORS: Portrait +msgid "orientation-requested.3" +msgstr "" + +#. TRANSLATORS: Landscape +msgid "orientation-requested.4" +msgstr "" + +#. TRANSLATORS: Reverse Landscape +msgid "orientation-requested.5" +msgstr "" + +#. TRANSLATORS: Reverse Portrait +msgid "orientation-requested.6" +msgstr "" + +#. TRANSLATORS: None +msgid "orientation-requested.7" +msgstr "" + +#. TRANSLATORS: Scanned Image Options +msgid "output-attributes" +msgstr "" + +#. TRANSLATORS: Output Tray +msgid "output-bin" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "output-bin.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "output-bin.bottom" +msgstr "" + +#. TRANSLATORS: Center +msgid "output-bin.center" +msgstr "" + +#. TRANSLATORS: Face Down +msgid "output-bin.face-down" +msgstr "" + +#. TRANSLATORS: Face Up +msgid "output-bin.face-up" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "output-bin.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "output-bin.left" +msgstr "" + +#. TRANSLATORS: Mailbox 1 +msgid "output-bin.mailbox-1" +msgstr "" + +#. TRANSLATORS: Mailbox 10 +msgid "output-bin.mailbox-10" +msgstr "" + +#. TRANSLATORS: Mailbox 2 +msgid "output-bin.mailbox-2" +msgstr "" + +#. TRANSLATORS: Mailbox 3 +msgid "output-bin.mailbox-3" +msgstr "" + +#. TRANSLATORS: Mailbox 4 +msgid "output-bin.mailbox-4" +msgstr "" + +#. TRANSLATORS: Mailbox 5 +msgid "output-bin.mailbox-5" +msgstr "" + +#. TRANSLATORS: Mailbox 6 +msgid "output-bin.mailbox-6" +msgstr "" + +#. TRANSLATORS: Mailbox 7 +msgid "output-bin.mailbox-7" +msgstr "" + +#. TRANSLATORS: Mailbox 8 +msgid "output-bin.mailbox-8" +msgstr "" + +#. TRANSLATORS: Mailbox 9 +msgid "output-bin.mailbox-9" +msgstr "" + +#. TRANSLATORS: Middle +msgid "output-bin.middle" +msgstr "" + +#. TRANSLATORS: My Mailbox +msgid "output-bin.my-mailbox" +msgstr "" + +#. TRANSLATORS: Rear +msgid "output-bin.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "output-bin.right" +msgstr "" + +#. TRANSLATORS: Side +msgid "output-bin.side" +msgstr "" + +#. TRANSLATORS: Stacker 1 +msgid "output-bin.stacker-1" +msgstr "" + +#. TRANSLATORS: Stacker 10 +msgid "output-bin.stacker-10" +msgstr "" + +#. TRANSLATORS: Stacker 2 +msgid "output-bin.stacker-2" +msgstr "" + +#. TRANSLATORS: Stacker 3 +msgid "output-bin.stacker-3" +msgstr "" + +#. TRANSLATORS: Stacker 4 +msgid "output-bin.stacker-4" +msgstr "" + +#. TRANSLATORS: Stacker 5 +msgid "output-bin.stacker-5" +msgstr "" + +#. TRANSLATORS: Stacker 6 +msgid "output-bin.stacker-6" +msgstr "" + +#. TRANSLATORS: Stacker 7 +msgid "output-bin.stacker-7" +msgstr "" + +#. TRANSLATORS: Stacker 8 +msgid "output-bin.stacker-8" +msgstr "" + +#. TRANSLATORS: Stacker 9 +msgid "output-bin.stacker-9" +msgstr "" + +#. TRANSLATORS: Top +msgid "output-bin.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "output-bin.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "output-bin.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "output-bin.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "output-bin.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "output-bin.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "output-bin.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "output-bin.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "output-bin.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "output-bin.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "output-bin.tray-9" +msgstr "" + +#. TRANSLATORS: Scanned Image Quality +msgid "output-compression-quality-factor" +msgstr "" + +#. TRANSLATORS: Page Delivery +msgid "page-delivery" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-down +msgid "page-delivery.reverse-order-face-down" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-up +msgid "page-delivery.reverse-order-face-up" +msgstr "" + +#. TRANSLATORS: Same Order Face-down +msgid "page-delivery.same-order-face-down" +msgstr "" + +#. TRANSLATORS: Same Order Face-up +msgid "page-delivery.same-order-face-up" +msgstr "" + +#. TRANSLATORS: System Specified +msgid "page-delivery.system-specified" +msgstr "" + +#. TRANSLATORS: Page Order Received +msgid "page-order-received" +msgstr "" + +#. TRANSLATORS: 1 To N +msgid "page-order-received.1-to-n-order" +msgstr "" + +#. TRANSLATORS: N To 1 +msgid "page-order-received.n-to-1-order" +msgstr "" + +#. TRANSLATORS: Page Ranges +msgid "page-ranges" +msgstr "" + +#. TRANSLATORS: Pages +msgid "pages" +msgstr "" + +#. TRANSLATORS: Pages Per Subset +msgid "pages-per-subset" +msgstr "" + +#. TRANSLATORS: Pclm Raster Back Side +msgid "pclm-raster-back-side" +msgstr "" + +#. TRANSLATORS: Flipped +msgid "pclm-raster-back-side.flipped" +msgstr "" + +#. TRANSLATORS: Normal +msgid "pclm-raster-back-side.normal" +msgstr "" + +#. TRANSLATORS: Rotated +msgid "pclm-raster-back-side.rotated" +msgstr "" + +#. TRANSLATORS: Pclm Source Resolution +msgid "pclm-source-resolution" +msgstr "" + +msgid "pending" +msgstr "プリンター待ち" + +#. TRANSLATORS: Platform Shape +msgid "platform-shape" +msgstr "" + +#. TRANSLATORS: Round +msgid "platform-shape.ellipse" +msgstr "" + +#. TRANSLATORS: Rectangle +msgid "platform-shape.rectangle" +msgstr "" + +#. TRANSLATORS: Platform Temperature +msgid "platform-temperature" +msgstr "" + +#. TRANSLATORS: Post-dial String +msgid "post-dial-string" +msgstr "" + +#, c-format +msgid "ppdc: Adding include directory \"%s\"." +msgstr "ppdc: ディレクトリー \"%s\" を追加しています。" + +#, c-format +msgid "ppdc: Adding/updating UI text from %s." +msgstr "ppdc: %s から UI テキストを追加または更新しています。" + +#, c-format +msgid "ppdc: Bad boolean value (%s) on line %d of %s." +msgstr "ppdc: 不正な boolean 値 (%s) があります。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Bad font attribute: %s" +msgstr "不正なフォント属性: %s" + +#, c-format +msgid "ppdc: Bad resolution name \"%s\" on line %d of %s." +msgstr "ppdc: 不正な resolution 名 \"%s\" があります。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Bad status keyword %s on line %d of %s." +msgstr "ppdc: 不正な status キーワード %s があります。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Bad variable substitution ($%c) on line %d of %s." +msgstr "ppdc: 不正な数値置換 ($%c) があります。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Choice found on line %d of %s with no Option." +msgstr "" +"ppdc: %d 行目、ファイル名 %s で、Option がないのに Choice が見つかりました。" + +#, c-format +msgid "ppdc: Duplicate #po for locale %s on line %d of %s." +msgstr "" +"ppdc: locale %s に対して #po が二重に定義されています。%d 行目、ファイル名 " +"%s。" + +#, c-format +msgid "ppdc: Expected a filter definition on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s においてフィルター定義が必要です。" + +#, c-format +msgid "ppdc: Expected a program name on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s においてプログラム名が必要です。" + +#, c-format +msgid "ppdc: Expected boolean value on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において boolean 値が必要です。" + +#, c-format +msgid "ppdc: Expected charset after Font on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において Font のあとに charset が必要です。" + +#, c-format +msgid "ppdc: Expected choice code on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において choice code が必要です。" + +#, c-format +msgid "ppdc: Expected choice name/text on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において choice name/text が必要です。" + +#, c-format +msgid "ppdc: Expected color order for ColorModel on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において ColorModel に対する color order が必要" +"です。" + +#, c-format +msgid "ppdc: Expected colorspace for ColorModel on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において ColorModel に対する colorspace が必要で" +"す。" + +#, c-format +msgid "ppdc: Expected compression for ColorModel on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において ColorModel に対する compression が必要" +"です。" + +#, c-format +msgid "ppdc: Expected constraints string for UIConstraints on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において UIConstraints に対する constraint が必" +"要です。" + +#, c-format +msgid "" +"ppdc: Expected driver type keyword following DriverType on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において DriverType のあとに driver type " +"keyword が必要です。" + +#, c-format +msgid "ppdc: Expected duplex type after Duplex on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において Duplex のあとに type が必要です。" + +#, c-format +msgid "ppdc: Expected encoding after Font on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において Font のあとに encoding が必要です。" + +#, c-format +msgid "ppdc: Expected filename after #po %s on line %d of %s." +msgstr "ppdc: #po %s のあとにファイル名が必要です (%d 行目, ファイル %s)。" + +#, c-format +msgid "ppdc: Expected group name/text on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において group name/text が必要です。" + +#, c-format +msgid "ppdc: Expected include filename on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において include ファイル名 が必要です。" + +#, c-format +msgid "ppdc: Expected integer on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において整数指定が必要です。" + +#, c-format +msgid "ppdc: Expected locale after #po on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において #po のあとに locale が必要です。" + +#, c-format +msgid "ppdc: Expected name after %s on line %d of %s." +msgstr "ppdc: %s のあとに name が必要です。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Expected name after FileName on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において FileName のあとに name が必要です。" + +#, c-format +msgid "ppdc: Expected name after Font on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において Font のあとに name が必要です。" + +#, c-format +msgid "ppdc: Expected name after Manufacturer on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において Manufacturer のあとに name が必要です。" + +#, c-format +msgid "ppdc: Expected name after MediaSize on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において MediaSize のあとに name が必要です。" + +#, c-format +msgid "ppdc: Expected name after ModelName on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において ModelName のあとに name が必要です。" + +#, c-format +msgid "ppdc: Expected name after PCFileName on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において PCFileName のあとに name が必要です。" + +#, c-format +msgid "ppdc: Expected name/text after %s on line %d of %s." +msgstr "ppdc: %s のあとに name/text が必要です。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Expected name/text after Installable on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において Installable のあとに name/text が必要で" +"す。" + +#, c-format +msgid "ppdc: Expected name/text after Resolution on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において Resolution のあとに name/text が必要で" +"す。" + +#, c-format +msgid "ppdc: Expected name/text combination for ColorModel on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において ColorModel に対する name/text が必要で" +"す。" + +#, c-format +msgid "ppdc: Expected option name/text on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において option name/text が必要です。" + +#, c-format +msgid "ppdc: Expected option section on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において option section が必要です。" + +#, c-format +msgid "ppdc: Expected option type on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において option type が必要です。" + +#, c-format +msgid "ppdc: Expected override field after Resolution on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において Resolution のあとに override field が必" +"要です。" + +#, c-format +msgid "ppdc: Expected quoted string on line %d of %s." +msgstr "%d 行: %s には引用符で囲まれた文字列が必要です。" + +#, c-format +msgid "ppdc: Expected real number on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において実数が必要です。" + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において ColorProfile に続いて resolution/" +"mediatype が必要です。" + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d " +"of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において SimpleColorProfile に続いて resolution/" +"mediatype が必要です。" + +#, c-format +msgid "ppdc: Expected selector after %s on line %d of %s." +msgstr "ppdc: %s のあとに selector が必要です。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Expected status after Font on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において Font のあとに status が必要です。" + +#, c-format +msgid "ppdc: Expected string after Copyright on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において Copyright のあとに文字列が必要です。" + +#, c-format +msgid "ppdc: Expected string after Version on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において Version のあとに文字列が必要です。" + +#, c-format +msgid "ppdc: Expected two option names on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において 2 つのオプション名が必要です。" + +#, c-format +msgid "ppdc: Expected value after %s on line %d of %s." +msgstr "ppdc: %s のあとに value が必要です。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Expected version after Font on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において Font のあとに version が必要です。" + +#, c-format +msgid "ppdc: Invalid #include/#po filename \"%s\"." +msgstr "ppdc: 無効な #include/#po ファイル名です \"%s\"。" + +#, c-format +msgid "ppdc: Invalid cost for filter on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s においてフィルターに対する無効な cost がありま" +"す。" + +#, c-format +msgid "ppdc: Invalid empty MIME type for filter on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s においてフィルターに対する無効な空の MIME タイプ" +"があります。" + +#, c-format +msgid "ppdc: Invalid empty program name for filter on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s においてフィルターに対するプログラム名が空であり" +"無効です。" + +#, c-format +msgid "ppdc: Invalid option section \"%s\" on line %d of %s." +msgstr "" +"ppdc: 無効な option section があります \"%s\"。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Invalid option type \"%s\" on line %d of %s." +msgstr "ppdc: 無効な option type があります \"%s\"。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Loading driver information file \"%s\"." +msgstr "ppdc: ドライバー情報ファイル \"%s\" を読み込んでいます。" + +#, c-format +msgid "ppdc: Loading messages for locale \"%s\"." +msgstr "ppdc: ロケール \"%s\" のメッセージを読み込んでいます。" + +#, c-format +msgid "ppdc: Loading messages from \"%s\"." +msgstr "ppdc: \"%s\" からメッセージを読み込んでいます。" + +#, c-format +msgid "ppdc: Missing #endif at end of \"%s\"." +msgstr "ppdc: \"%s\" の最後に #endif が見つかりません。" + +#, c-format +msgid "ppdc: Missing #if on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において #if が見つかりません。" + +#, c-format +msgid "" +"ppdc: Need a msgid line before any translation strings on line %d of %s." +msgstr "%d 行: %s の翻訳文字列の前に msgid 行が必要です。" + +#, c-format +msgid "ppdc: No message catalog provided for locale %s." +msgstr "ppdc: ロケール %s に対するメッセージカタログが見つかりません。" + +#, c-format +msgid "ppdc: Option %s defined in two different groups on line %d of %s." +msgstr "" +"ppdc: オプション %s が行 %d、ファイル %s の 2 つの異なるグループで定義されて" +"います。" + +#, c-format +msgid "ppdc: Option %s redefined with a different type on line %d of %s." +msgstr "" +"ppdc: オプション %s は異なる型で再定義されています。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Option constraint must *name on line %d of %s." +msgstr "" +"ppdc: %d 行目、ファイル名 %s において Option constraint は *name で指定しなけ" +"ればなりません。" + +#, c-format +msgid "ppdc: Too many nested #if's on line %d of %s." +msgstr "ppdc: %d 行目、ファイル名 %s において #if のネストが多すぎます。" + +#, c-format +msgid "ppdc: Unable to create PPD file \"%s\" - %s." +msgstr "ppdc: PPD ファイル \"%s\" を作成できません - %s。" + +#, c-format +msgid "ppdc: Unable to create output directory %s: %s" +msgstr "ppdc: 出力ディレクトリー \"%s\" を作成できません - %s" + +#, c-format +msgid "ppdc: Unable to create output pipes: %s" +msgstr "ppdc: 出力パイプを作成できません: %s" + +#, c-format +msgid "ppdc: Unable to execute cupstestppd: %s" +msgstr "ppdc: cupstestppd を実行できません: %s" + +#, c-format +msgid "ppdc: Unable to find #po file %s on line %d of %s." +msgstr "ppdc: #po ファイル %s が見つかりません。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Unable to find include file \"%s\" on line %d of %s." +msgstr "" +"ppdc: インクルードファイル %s が見つかりません。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Unable to find localization for \"%s\" - %s" +msgstr "ppdc: \"%s\" に対する地域化情報が見つかりません - %s" + +#, c-format +msgid "ppdc: Unable to load localization file \"%s\" - %s" +msgstr "ppdc: \"%s\" に対するローカライズファイルを読み込めません - %s" + +#, c-format +msgid "ppdc: Unable to open %s: %s" +msgstr "ppdc: %s を開けません: %s" + +#, c-format +msgid "ppdc: Undefined variable (%s) on line %d of %s." +msgstr "ppdc: 変数 (%s) は未定義です。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Unexpected text on line %d of %s." +msgstr "%d 行: %s は予期せぬテキストです。" + +#, c-format +msgid "ppdc: Unknown driver type %s on line %d of %s." +msgstr "ppdc: %s は未知のドライバータイプです。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Unknown duplex type \"%s\" on line %d of %s." +msgstr "ppdc: \"%s\" は未知の両面タイプです。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Unknown media size \"%s\" on line %d of %s." +msgstr "ppdc: \"%s\" は未知の用紙サイズです。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Unknown message catalog format for \"%s\"." +msgstr "\"%s\" は未知のメッセージカタログの書式です。" + +#, c-format +msgid "ppdc: Unknown token \"%s\" seen on line %d of %s." +msgstr "ppdc: 未知のトークン \"%s\" があります。%d 行目、ファイル名 %s。" + +#, c-format +msgid "" +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." +msgstr "ppdc: 実数 \"%s\" に未知の終了文字があります。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Unterminated string starting with %c on line %d of %s." +msgstr "" +"ppdc: %c で始まる文字に対して終端文字がありません。%d 行目、ファイル名 %s。" + +#, c-format +msgid "ppdc: Warning - overlapping filename \"%s\"." +msgstr "ppdc: 警告 - ファイル名 \"%s\" が重複しています。" + +#, c-format +msgid "ppdc: Writing %s." +msgstr "ppdc: %s を書き込んでいます。" + +#, c-format +msgid "ppdc: Writing PPD files to directory \"%s\"." +msgstr "ppdc: ディレクトリー \"%s\" に PPD ファイルを書き込んでいます。" + +#, c-format +msgid "ppdmerge: Bad LanguageVersion \"%s\" in %s." +msgstr "ppdmerge: 不正な LanguageVersion \"%s\" が %s にあります。" + +#, c-format +msgid "ppdmerge: Ignoring PPD file %s." +msgstr "ppdmerge: PPD ファイル %s を無視します。" + +#, c-format +msgid "ppdmerge: Unable to backup %s to %s - %s" +msgstr "ppdmerge: %s を %s にバックアップできません - %s" + +#. TRANSLATORS: Pre-dial String +msgid "pre-dial-string" +msgstr "" + +#. TRANSLATORS: Number-Up Layout +msgid "presentation-direction-number-up" +msgstr "" + +#. TRANSLATORS: Top-bottom, Right-left +msgid "presentation-direction-number-up.tobottom-toleft" +msgstr "" + +#. TRANSLATORS: Top-bottom, Left-right +msgid "presentation-direction-number-up.tobottom-toright" +msgstr "" + +#. TRANSLATORS: Right-left, Top-bottom +msgid "presentation-direction-number-up.toleft-tobottom" +msgstr "" + +#. TRANSLATORS: Right-left, Bottom-top +msgid "presentation-direction-number-up.toleft-totop" +msgstr "" + +#. TRANSLATORS: Left-right, Top-bottom +msgid "presentation-direction-number-up.toright-tobottom" +msgstr "" + +#. TRANSLATORS: Left-right, Bottom-top +msgid "presentation-direction-number-up.toright-totop" +msgstr "" + +#. TRANSLATORS: Bottom-top, Right-left +msgid "presentation-direction-number-up.totop-toleft" +msgstr "" + +#. TRANSLATORS: Bottom-top, Left-right +msgid "presentation-direction-number-up.totop-toright" +msgstr "" + +#. TRANSLATORS: Print Accuracy +msgid "print-accuracy" +msgstr "" + +#. TRANSLATORS: Print Base +msgid "print-base" +msgstr "" + +#. TRANSLATORS: Print Base Actual +msgid "print-base-actual" +msgstr "" + +#. TRANSLATORS: Brim +msgid "print-base.brim" +msgstr "" + +#. TRANSLATORS: None +msgid "print-base.none" +msgstr "" + +#. TRANSLATORS: Raft +msgid "print-base.raft" +msgstr "" + +#. TRANSLATORS: Skirt +msgid "print-base.skirt" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-base.standard" +msgstr "" + +#. TRANSLATORS: Print Color Mode +msgid "print-color-mode" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-color-mode.auto" +msgstr "" + +#. TRANSLATORS: Auto Monochrome +msgid "print-color-mode.auto-monochrome" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-color-mode.bi-level" +msgstr "" + +#. TRANSLATORS: Color +msgid "print-color-mode.color" +msgstr "" + +#. TRANSLATORS: Highlight +msgid "print-color-mode.highlight" +msgstr "" + +#. TRANSLATORS: Monochrome +msgid "print-color-mode.monochrome" +msgstr "" + +#. TRANSLATORS: Process Text +msgid "print-color-mode.process-bi-level" +msgstr "" + +#. TRANSLATORS: Process Monochrome +msgid "print-color-mode.process-monochrome" +msgstr "" + +#. TRANSLATORS: Print Optimization +msgid "print-content-optimize" +msgstr "" + +#. TRANSLATORS: Print Content Optimize Actual +msgid "print-content-optimize-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-content-optimize.auto" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphic" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphics" +msgstr "" + +#. TRANSLATORS: Photo +msgid "print-content-optimize.photo" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-content-optimize.text" +msgstr "" + +#. TRANSLATORS: Text and Graphics +msgid "print-content-optimize.text-and-graphic" +msgstr "" + +#. TRANSLATORS: Text And Graphics +msgid "print-content-optimize.text-and-graphics" +msgstr "" + +#. TRANSLATORS: Print Objects +msgid "print-objects" +msgstr "" + +#. TRANSLATORS: Print Quality +msgid "print-quality" +msgstr "" + +#. TRANSLATORS: Draft +msgid "print-quality.3" +msgstr "" + +#. TRANSLATORS: Normal +msgid "print-quality.4" +msgstr "" + +#. TRANSLATORS: High +msgid "print-quality.5" +msgstr "" + +#. TRANSLATORS: Print Rendering Intent +msgid "print-rendering-intent" +msgstr "" + +#. TRANSLATORS: Absolute +msgid "print-rendering-intent.absolute" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-rendering-intent.auto" +msgstr "" + +#. TRANSLATORS: Perceptual +msgid "print-rendering-intent.perceptual" +msgstr "" + +#. TRANSLATORS: Relative +msgid "print-rendering-intent.relative" +msgstr "" + +#. TRANSLATORS: Relative w/Black Point Compensation +msgid "print-rendering-intent.relative-bpc" +msgstr "" + +#. TRANSLATORS: Saturation +msgid "print-rendering-intent.saturation" +msgstr "" + +#. TRANSLATORS: Print Scaling +msgid "print-scaling" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-scaling.auto" +msgstr "" + +#. TRANSLATORS: Auto-fit +msgid "print-scaling.auto-fit" +msgstr "" + +#. TRANSLATORS: Fill +msgid "print-scaling.fill" +msgstr "" + +#. TRANSLATORS: Fit +msgid "print-scaling.fit" +msgstr "" + +#. TRANSLATORS: None +msgid "print-scaling.none" +msgstr "" + +#. TRANSLATORS: Print Supports +msgid "print-supports" +msgstr "" + +#. TRANSLATORS: Print Supports Actual +msgid "print-supports-actual" +msgstr "" + +#. TRANSLATORS: With Specified Material +msgid "print-supports.material" +msgstr "" + +#. TRANSLATORS: None +msgid "print-supports.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-supports.standard" +msgstr "" + +#, c-format +msgid "printer %s disabled since %s -" +msgstr "プリンター %s は %s から無効です -" + +#, c-format +msgid "printer %s is holding new jobs. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s is idle. enabled since %s" +msgstr "プリンター %s は待機中です。%s 以来有効です" + +#, c-format +msgid "printer %s now printing %s-%d. enabled since %s" +msgstr "プリンター %s は %s-%d を印刷しています。%s 以来有効です" + +#, c-format +msgid "printer %s/%s disabled since %s -" +msgstr "プリンター %s/%s は %s から無効です -" + +#, c-format +msgid "printer %s/%s is idle. enabled since %s" +msgstr "プリンター %s/%s は待機中です。%s 以来有効です" + +#, c-format +msgid "printer %s/%s now printing %s-%d. enabled since %s" +msgstr "プリンター %s/%s は現在 %s-%d を印刷中です。%s 以来有効です" + +#. TRANSLATORS: Printer Kind +msgid "printer-kind" +msgstr "" + +#. TRANSLATORS: Disc +msgid "printer-kind.disc" +msgstr "" + +#. TRANSLATORS: Document +msgid "printer-kind.document" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "printer-kind.envelope" +msgstr "" + +#. TRANSLATORS: Label +msgid "printer-kind.label" +msgstr "" + +#. TRANSLATORS: Large Format +msgid "printer-kind.large-format" +msgstr "" + +#. TRANSLATORS: Photo +msgid "printer-kind.photo" +msgstr "" + +#. TRANSLATORS: Postcard +msgid "printer-kind.postcard" +msgstr "" + +#. TRANSLATORS: Receipt +msgid "printer-kind.receipt" +msgstr "" + +#. TRANSLATORS: Roll +msgid "printer-kind.roll" +msgstr "" + +#. TRANSLATORS: Message From Operator +msgid "printer-message-from-operator" +msgstr "" + +#. TRANSLATORS: Print Resolution +msgid "printer-resolution" +msgstr "" + +#. TRANSLATORS: Printer State +msgid "printer-state" +msgstr "" + +#. TRANSLATORS: Detailed Printer State +msgid "printer-state-reasons" +msgstr "" + +#. TRANSLATORS: Old Alerts Have Been Removed +msgid "printer-state-reasons.alert-removal-of-binary-change-entry" +msgstr "" + +#. TRANSLATORS: Bander Added +msgid "printer-state-reasons.bander-added" +msgstr "" + +#. TRANSLATORS: Bander Almost Empty +msgid "printer-state-reasons.bander-almost-empty" +msgstr "" + +#. TRANSLATORS: Bander Almost Full +msgid "printer-state-reasons.bander-almost-full" +msgstr "" + +#. TRANSLATORS: Bander At Limit +msgid "printer-state-reasons.bander-at-limit" +msgstr "" + +#. TRANSLATORS: Bander Closed +msgid "printer-state-reasons.bander-closed" +msgstr "" + +#. TRANSLATORS: Bander Configuration Change +msgid "printer-state-reasons.bander-configuration-change" +msgstr "" + +#. TRANSLATORS: Bander Cover Closed +msgid "printer-state-reasons.bander-cover-closed" +msgstr "" + +#. TRANSLATORS: Bander Cover Open +msgid "printer-state-reasons.bander-cover-open" +msgstr "" + +#. TRANSLATORS: Bander Empty +msgid "printer-state-reasons.bander-empty" +msgstr "" + +#. TRANSLATORS: Bander Full +msgid "printer-state-reasons.bander-full" +msgstr "" + +#. TRANSLATORS: Bander Interlock Closed +msgid "printer-state-reasons.bander-interlock-closed" +msgstr "" + +#. TRANSLATORS: Bander Interlock Open +msgid "printer-state-reasons.bander-interlock-open" +msgstr "" + +#. TRANSLATORS: Bander Jam +msgid "printer-state-reasons.bander-jam" +msgstr "" + +#. TRANSLATORS: Bander Life Almost Over +msgid "printer-state-reasons.bander-life-almost-over" +msgstr "" + +#. TRANSLATORS: Bander Life Over +msgid "printer-state-reasons.bander-life-over" +msgstr "" + +#. TRANSLATORS: Bander Memory Exhausted +msgid "printer-state-reasons.bander-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Bander Missing +msgid "printer-state-reasons.bander-missing" +msgstr "" + +#. TRANSLATORS: Bander Motor Failure +msgid "printer-state-reasons.bander-motor-failure" +msgstr "" + +#. TRANSLATORS: Bander Near Limit +msgid "printer-state-reasons.bander-near-limit" +msgstr "" + +#. TRANSLATORS: Bander Offline +msgid "printer-state-reasons.bander-offline" +msgstr "" + +#. TRANSLATORS: Bander Opened +msgid "printer-state-reasons.bander-opened" +msgstr "" + +#. TRANSLATORS: Bander Over Temperature +msgid "printer-state-reasons.bander-over-temperature" +msgstr "" + +#. TRANSLATORS: Bander Power Saver +msgid "printer-state-reasons.bander-power-saver" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Failure +msgid "printer-state-reasons.bander-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Storage +msgid "printer-state-reasons.bander-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Bander Removed +msgid "printer-state-reasons.bander-removed" +msgstr "" + +#. TRANSLATORS: Bander Resource Added +msgid "printer-state-reasons.bander-resource-added" +msgstr "" + +#. TRANSLATORS: Bander Resource Removed +msgid "printer-state-reasons.bander-resource-removed" +msgstr "" + +#. TRANSLATORS: Bander Thermistor Failure +msgid "printer-state-reasons.bander-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Bander Timing Failure +msgid "printer-state-reasons.bander-timing-failure" +msgstr "" + +#. TRANSLATORS: Bander Turned Off +msgid "printer-state-reasons.bander-turned-off" +msgstr "" + +#. TRANSLATORS: Bander Turned On +msgid "printer-state-reasons.bander-turned-on" +msgstr "" + +#. TRANSLATORS: Bander Under Temperature +msgid "printer-state-reasons.bander-under-temperature" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Failure +msgid "printer-state-reasons.bander-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Storage Error +msgid "printer-state-reasons.bander-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Bander Warming Up +msgid "printer-state-reasons.bander-warming-up" +msgstr "" + +#. TRANSLATORS: Binder Added +msgid "printer-state-reasons.binder-added" +msgstr "" + +#. TRANSLATORS: Binder Almost Empty +msgid "printer-state-reasons.binder-almost-empty" +msgstr "" + +#. TRANSLATORS: Binder Almost Full +msgid "printer-state-reasons.binder-almost-full" +msgstr "" + +#. TRANSLATORS: Binder At Limit +msgid "printer-state-reasons.binder-at-limit" +msgstr "" + +#. TRANSLATORS: Binder Closed +msgid "printer-state-reasons.binder-closed" +msgstr "" + +#. TRANSLATORS: Binder Configuration Change +msgid "printer-state-reasons.binder-configuration-change" +msgstr "" + +#. TRANSLATORS: Binder Cover Closed +msgid "printer-state-reasons.binder-cover-closed" +msgstr "" + +#. TRANSLATORS: Binder Cover Open +msgid "printer-state-reasons.binder-cover-open" +msgstr "" + +#. TRANSLATORS: Binder Empty +msgid "printer-state-reasons.binder-empty" +msgstr "" + +#. TRANSLATORS: Binder Full +msgid "printer-state-reasons.binder-full" +msgstr "" + +#. TRANSLATORS: Binder Interlock Closed +msgid "printer-state-reasons.binder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Binder Interlock Open +msgid "printer-state-reasons.binder-interlock-open" +msgstr "" + +#. TRANSLATORS: Binder Jam +msgid "printer-state-reasons.binder-jam" +msgstr "" + +#. TRANSLATORS: Binder Life Almost Over +msgid "printer-state-reasons.binder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Binder Life Over +msgid "printer-state-reasons.binder-life-over" +msgstr "" + +#. TRANSLATORS: Binder Memory Exhausted +msgid "printer-state-reasons.binder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Binder Missing +msgid "printer-state-reasons.binder-missing" +msgstr "" + +#. TRANSLATORS: Binder Motor Failure +msgid "printer-state-reasons.binder-motor-failure" +msgstr "" + +#. TRANSLATORS: Binder Near Limit +msgid "printer-state-reasons.binder-near-limit" +msgstr "" + +#. TRANSLATORS: Binder Offline +msgid "printer-state-reasons.binder-offline" +msgstr "" + +#. TRANSLATORS: Binder Opened +msgid "printer-state-reasons.binder-opened" +msgstr "" + +#. TRANSLATORS: Binder Over Temperature +msgid "printer-state-reasons.binder-over-temperature" +msgstr "" + +#. TRANSLATORS: Binder Power Saver +msgid "printer-state-reasons.binder-power-saver" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Failure +msgid "printer-state-reasons.binder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Storage +msgid "printer-state-reasons.binder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Binder Removed +msgid "printer-state-reasons.binder-removed" +msgstr "" + +#. TRANSLATORS: Binder Resource Added +msgid "printer-state-reasons.binder-resource-added" +msgstr "" + +#. TRANSLATORS: Binder Resource Removed +msgid "printer-state-reasons.binder-resource-removed" +msgstr "" + +#. TRANSLATORS: Binder Thermistor Failure +msgid "printer-state-reasons.binder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Binder Timing Failure +msgid "printer-state-reasons.binder-timing-failure" +msgstr "" + +#. TRANSLATORS: Binder Turned Off +msgid "printer-state-reasons.binder-turned-off" +msgstr "" + +#. TRANSLATORS: Binder Turned On +msgid "printer-state-reasons.binder-turned-on" +msgstr "" + +#. TRANSLATORS: Binder Under Temperature +msgid "printer-state-reasons.binder-under-temperature" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Failure +msgid "printer-state-reasons.binder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Storage Error +msgid "printer-state-reasons.binder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Binder Warming Up +msgid "printer-state-reasons.binder-warming-up" +msgstr "" + +#. TRANSLATORS: Camera Failure +msgid "printer-state-reasons.camera-failure" +msgstr "" + +#. TRANSLATORS: Chamber Cooling +msgid "printer-state-reasons.chamber-cooling" +msgstr "" + +#. TRANSLATORS: Chamber Failure +msgid "printer-state-reasons.chamber-failure" +msgstr "" + +#. TRANSLATORS: Chamber Heating +msgid "printer-state-reasons.chamber-heating" +msgstr "" + +#. TRANSLATORS: Chamber Temperature High +msgid "printer-state-reasons.chamber-temperature-high" +msgstr "" + +#. TRANSLATORS: Chamber Temperature Low +msgid "printer-state-reasons.chamber-temperature-low" +msgstr "" + +#. TRANSLATORS: Cleaner Life Almost Over +msgid "printer-state-reasons.cleaner-life-almost-over" +msgstr "" + +#. TRANSLATORS: Cleaner Life Over +msgid "printer-state-reasons.cleaner-life-over" +msgstr "" + +#. TRANSLATORS: Configuration Change +msgid "printer-state-reasons.configuration-change" +msgstr "" + +#. TRANSLATORS: Connecting To Device +msgid "printer-state-reasons.connecting-to-device" +msgstr "" + +#. TRANSLATORS: Cover Open +msgid "printer-state-reasons.cover-open" +msgstr "" + +#. TRANSLATORS: Deactivated +msgid "printer-state-reasons.deactivated" +msgstr "" + +#. TRANSLATORS: Developer Empty +msgid "printer-state-reasons.developer-empty" +msgstr "" + +#. TRANSLATORS: Developer Low +msgid "printer-state-reasons.developer-low" +msgstr "" + +#. TRANSLATORS: Die Cutter Added +msgid "printer-state-reasons.die-cutter-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Empty +msgid "printer-state-reasons.die-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Full +msgid "printer-state-reasons.die-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Die Cutter At Limit +msgid "printer-state-reasons.die-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Closed +msgid "printer-state-reasons.die-cutter-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Configuration Change +msgid "printer-state-reasons.die-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Closed +msgid "printer-state-reasons.die-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Open +msgid "printer-state-reasons.die-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Empty +msgid "printer-state-reasons.die-cutter-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Full +msgid "printer-state-reasons.die-cutter-full" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Closed +msgid "printer-state-reasons.die-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Open +msgid "printer-state-reasons.die-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Jam +msgid "printer-state-reasons.die-cutter-jam" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Almost Over +msgid "printer-state-reasons.die-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Over +msgid "printer-state-reasons.die-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Memory Exhausted +msgid "printer-state-reasons.die-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Die Cutter Missing +msgid "printer-state-reasons.die-cutter-missing" +msgstr "" + +#. TRANSLATORS: Die Cutter Motor Failure +msgid "printer-state-reasons.die-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Near Limit +msgid "printer-state-reasons.die-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Offline +msgid "printer-state-reasons.die-cutter-offline" +msgstr "" + +#. TRANSLATORS: Die Cutter Opened +msgid "printer-state-reasons.die-cutter-opened" +msgstr "" + +#. TRANSLATORS: Die Cutter Over Temperature +msgid "printer-state-reasons.die-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Power Saver +msgid "printer-state-reasons.die-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Failure +msgid "printer-state-reasons.die-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Storage +msgid "printer-state-reasons.die-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Die Cutter Removed +msgid "printer-state-reasons.die-cutter-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Added +msgid "printer-state-reasons.die-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Removed +msgid "printer-state-reasons.die-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Thermistor Failure +msgid "printer-state-reasons.die-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Timing Failure +msgid "printer-state-reasons.die-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned Off +msgid "printer-state-reasons.die-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned On +msgid "printer-state-reasons.die-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Die Cutter Under Temperature +msgid "printer-state-reasons.die-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Failure +msgid "printer-state-reasons.die-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.die-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Die Cutter Warming Up +msgid "printer-state-reasons.die-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Door Open +msgid "printer-state-reasons.door-open" +msgstr "" + +#. TRANSLATORS: Extruder Cooling +msgid "printer-state-reasons.extruder-cooling" +msgstr "" + +#. TRANSLATORS: Extruder Failure +msgid "printer-state-reasons.extruder-failure" +msgstr "" + +#. TRANSLATORS: Extruder Heating +msgid "printer-state-reasons.extruder-heating" +msgstr "" + +#. TRANSLATORS: Extruder Jam +msgid "printer-state-reasons.extruder-jam" +msgstr "" + +#. TRANSLATORS: Extruder Temperature High +msgid "printer-state-reasons.extruder-temperature-high" +msgstr "" + +#. TRANSLATORS: Extruder Temperature Low +msgid "printer-state-reasons.extruder-temperature-low" +msgstr "" + +#. TRANSLATORS: Fan Failure +msgid "printer-state-reasons.fan-failure" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Almost Over +msgid "printer-state-reasons.fax-modem-life-almost-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Over +msgid "printer-state-reasons.fax-modem-life-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Missing +msgid "printer-state-reasons.fax-modem-missing" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned Off +msgid "printer-state-reasons.fax-modem-turned-off" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned On +msgid "printer-state-reasons.fax-modem-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Added +msgid "printer-state-reasons.folder-added" +msgstr "" + +#. TRANSLATORS: Folder Almost Empty +msgid "printer-state-reasons.folder-almost-empty" +msgstr "" + +#. TRANSLATORS: Folder Almost Full +msgid "printer-state-reasons.folder-almost-full" +msgstr "" + +#. TRANSLATORS: Folder At Limit +msgid "printer-state-reasons.folder-at-limit" +msgstr "" + +#. TRANSLATORS: Folder Closed +msgid "printer-state-reasons.folder-closed" +msgstr "" + +#. TRANSLATORS: Folder Configuration Change +msgid "printer-state-reasons.folder-configuration-change" +msgstr "" + +#. TRANSLATORS: Folder Cover Closed +msgid "printer-state-reasons.folder-cover-closed" +msgstr "" + +#. TRANSLATORS: Folder Cover Open +msgid "printer-state-reasons.folder-cover-open" +msgstr "" + +#. TRANSLATORS: Folder Empty +msgid "printer-state-reasons.folder-empty" +msgstr "" + +#. TRANSLATORS: Folder Full +msgid "printer-state-reasons.folder-full" +msgstr "" + +#. TRANSLATORS: Folder Interlock Closed +msgid "printer-state-reasons.folder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Folder Interlock Open +msgid "printer-state-reasons.folder-interlock-open" +msgstr "" + +#. TRANSLATORS: Folder Jam +msgid "printer-state-reasons.folder-jam" +msgstr "" + +#. TRANSLATORS: Folder Life Almost Over +msgid "printer-state-reasons.folder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Folder Life Over +msgid "printer-state-reasons.folder-life-over" +msgstr "" + +#. TRANSLATORS: Folder Memory Exhausted +msgid "printer-state-reasons.folder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Folder Missing +msgid "printer-state-reasons.folder-missing" +msgstr "" + +#. TRANSLATORS: Folder Motor Failure +msgid "printer-state-reasons.folder-motor-failure" +msgstr "" + +#. TRANSLATORS: Folder Near Limit +msgid "printer-state-reasons.folder-near-limit" +msgstr "" + +#. TRANSLATORS: Folder Offline +msgid "printer-state-reasons.folder-offline" +msgstr "" + +#. TRANSLATORS: Folder Opened +msgid "printer-state-reasons.folder-opened" +msgstr "" + +#. TRANSLATORS: Folder Over Temperature +msgid "printer-state-reasons.folder-over-temperature" +msgstr "" + +#. TRANSLATORS: Folder Power Saver +msgid "printer-state-reasons.folder-power-saver" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Failure +msgid "printer-state-reasons.folder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Storage +msgid "printer-state-reasons.folder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Folder Removed +msgid "printer-state-reasons.folder-removed" +msgstr "" + +#. TRANSLATORS: Folder Resource Added +msgid "printer-state-reasons.folder-resource-added" +msgstr "" + +#. TRANSLATORS: Folder Resource Removed +msgid "printer-state-reasons.folder-resource-removed" +msgstr "" + +#. TRANSLATORS: Folder Thermistor Failure +msgid "printer-state-reasons.folder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Folder Timing Failure +msgid "printer-state-reasons.folder-timing-failure" +msgstr "" + +#. TRANSLATORS: Folder Turned Off +msgid "printer-state-reasons.folder-turned-off" +msgstr "" + +#. TRANSLATORS: Folder Turned On +msgid "printer-state-reasons.folder-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Under Temperature +msgid "printer-state-reasons.folder-under-temperature" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Failure +msgid "printer-state-reasons.folder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Storage Error +msgid "printer-state-reasons.folder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Folder Warming Up +msgid "printer-state-reasons.folder-warming-up" +msgstr "" + +#. TRANSLATORS: Fuser temperature high +msgid "printer-state-reasons.fuser-over-temp" +msgstr "" + +#. TRANSLATORS: Fuser temperature low +msgid "printer-state-reasons.fuser-under-temp" +msgstr "" + +#. TRANSLATORS: Hold New Jobs +msgid "printer-state-reasons.hold-new-jobs" +msgstr "" + +#. TRANSLATORS: Identify Printer +msgid "printer-state-reasons.identify-printer-requested" +msgstr "" + +#. TRANSLATORS: Imprinter Added +msgid "printer-state-reasons.imprinter-added" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Empty +msgid "printer-state-reasons.imprinter-almost-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Full +msgid "printer-state-reasons.imprinter-almost-full" +msgstr "" + +#. TRANSLATORS: Imprinter At Limit +msgid "printer-state-reasons.imprinter-at-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Closed +msgid "printer-state-reasons.imprinter-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Configuration Change +msgid "printer-state-reasons.imprinter-configuration-change" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Closed +msgid "printer-state-reasons.imprinter-cover-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Open +msgid "printer-state-reasons.imprinter-cover-open" +msgstr "" + +#. TRANSLATORS: Imprinter Empty +msgid "printer-state-reasons.imprinter-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Full +msgid "printer-state-reasons.imprinter-full" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Closed +msgid "printer-state-reasons.imprinter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Open +msgid "printer-state-reasons.imprinter-interlock-open" +msgstr "" + +#. TRANSLATORS: Imprinter Jam +msgid "printer-state-reasons.imprinter-jam" +msgstr "" + +#. TRANSLATORS: Imprinter Life Almost Over +msgid "printer-state-reasons.imprinter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Imprinter Life Over +msgid "printer-state-reasons.imprinter-life-over" +msgstr "" + +#. TRANSLATORS: Imprinter Memory Exhausted +msgid "printer-state-reasons.imprinter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Imprinter Missing +msgid "printer-state-reasons.imprinter-missing" +msgstr "" + +#. TRANSLATORS: Imprinter Motor Failure +msgid "printer-state-reasons.imprinter-motor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Near Limit +msgid "printer-state-reasons.imprinter-near-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Offline +msgid "printer-state-reasons.imprinter-offline" +msgstr "" + +#. TRANSLATORS: Imprinter Opened +msgid "printer-state-reasons.imprinter-opened" +msgstr "" + +#. TRANSLATORS: Imprinter Over Temperature +msgid "printer-state-reasons.imprinter-over-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Power Saver +msgid "printer-state-reasons.imprinter-power-saver" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Failure +msgid "printer-state-reasons.imprinter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Storage +msgid "printer-state-reasons.imprinter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Imprinter Removed +msgid "printer-state-reasons.imprinter-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Added +msgid "printer-state-reasons.imprinter-resource-added" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Removed +msgid "printer-state-reasons.imprinter-resource-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Thermistor Failure +msgid "printer-state-reasons.imprinter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Timing Failure +msgid "printer-state-reasons.imprinter-timing-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Turned Off +msgid "printer-state-reasons.imprinter-turned-off" +msgstr "" + +#. TRANSLATORS: Imprinter Turned On +msgid "printer-state-reasons.imprinter-turned-on" +msgstr "" + +#. TRANSLATORS: Imprinter Under Temperature +msgid "printer-state-reasons.imprinter-under-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Failure +msgid "printer-state-reasons.imprinter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Storage Error +msgid "printer-state-reasons.imprinter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Imprinter Warming Up +msgid "printer-state-reasons.imprinter-warming-up" +msgstr "" + +#. TRANSLATORS: Input Cannot Feed Size Selected +msgid "printer-state-reasons.input-cannot-feed-size-selected" +msgstr "" + +#. TRANSLATORS: Input Manual Input Request +msgid "printer-state-reasons.input-manual-input-request" +msgstr "" + +#. TRANSLATORS: Input Media Color Change +msgid "printer-state-reasons.input-media-color-change" +msgstr "" + +#. TRANSLATORS: Input Media Form Parts Change +msgid "printer-state-reasons.input-media-form-parts-change" +msgstr "" + +#. TRANSLATORS: Input Media Size Change +msgid "printer-state-reasons.input-media-size-change" +msgstr "" + +#. TRANSLATORS: Input Media Tray Failure +msgid "printer-state-reasons.input-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Input Media Tray Feed Error +msgid "printer-state-reasons.input-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Input Media Tray Jam +msgid "printer-state-reasons.input-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Input Media Type Change +msgid "printer-state-reasons.input-media-type-change" +msgstr "" + +#. TRANSLATORS: Input Media Weight Change +msgid "printer-state-reasons.input-media-weight-change" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Failure +msgid "printer-state-reasons.input-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Over +msgid "printer-state-reasons.input-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Warn +msgid "printer-state-reasons.input-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Missing +msgid "printer-state-reasons.input-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Elevation Failure +msgid "printer-state-reasons.input-tray-elevation-failure" +msgstr "" + +#. TRANSLATORS: Paper tray is missing +msgid "printer-state-reasons.input-tray-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Position Failure +msgid "printer-state-reasons.input-tray-position-failure" +msgstr "" + +#. TRANSLATORS: Inserter Added +msgid "printer-state-reasons.inserter-added" +msgstr "" + +#. TRANSLATORS: Inserter Almost Empty +msgid "printer-state-reasons.inserter-almost-empty" +msgstr "" + +#. TRANSLATORS: Inserter Almost Full +msgid "printer-state-reasons.inserter-almost-full" +msgstr "" + +#. TRANSLATORS: Inserter At Limit +msgid "printer-state-reasons.inserter-at-limit" +msgstr "" + +#. TRANSLATORS: Inserter Closed +msgid "printer-state-reasons.inserter-closed" +msgstr "" + +#. TRANSLATORS: Inserter Configuration Change +msgid "printer-state-reasons.inserter-configuration-change" +msgstr "" + +#. TRANSLATORS: Inserter Cover Closed +msgid "printer-state-reasons.inserter-cover-closed" +msgstr "" + +#. TRANSLATORS: Inserter Cover Open +msgid "printer-state-reasons.inserter-cover-open" +msgstr "" + +#. TRANSLATORS: Inserter Empty +msgid "printer-state-reasons.inserter-empty" +msgstr "" + +#. TRANSLATORS: Inserter Full +msgid "printer-state-reasons.inserter-full" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Closed +msgid "printer-state-reasons.inserter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Open +msgid "printer-state-reasons.inserter-interlock-open" +msgstr "" + +#. TRANSLATORS: Inserter Jam +msgid "printer-state-reasons.inserter-jam" +msgstr "" + +#. TRANSLATORS: Inserter Life Almost Over +msgid "printer-state-reasons.inserter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Inserter Life Over +msgid "printer-state-reasons.inserter-life-over" +msgstr "" + +#. TRANSLATORS: Inserter Memory Exhausted +msgid "printer-state-reasons.inserter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Inserter Missing +msgid "printer-state-reasons.inserter-missing" +msgstr "" + +#. TRANSLATORS: Inserter Motor Failure +msgid "printer-state-reasons.inserter-motor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Near Limit +msgid "printer-state-reasons.inserter-near-limit" +msgstr "" + +#. TRANSLATORS: Inserter Offline +msgid "printer-state-reasons.inserter-offline" +msgstr "" + +#. TRANSLATORS: Inserter Opened +msgid "printer-state-reasons.inserter-opened" +msgstr "" + +#. TRANSLATORS: Inserter Over Temperature +msgid "printer-state-reasons.inserter-over-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Power Saver +msgid "printer-state-reasons.inserter-power-saver" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Failure +msgid "printer-state-reasons.inserter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Storage +msgid "printer-state-reasons.inserter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Inserter Removed +msgid "printer-state-reasons.inserter-removed" +msgstr "" + +#. TRANSLATORS: Inserter Resource Added +msgid "printer-state-reasons.inserter-resource-added" +msgstr "" + +#. TRANSLATORS: Inserter Resource Removed +msgid "printer-state-reasons.inserter-resource-removed" +msgstr "" + +#. TRANSLATORS: Inserter Thermistor Failure +msgid "printer-state-reasons.inserter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Timing Failure +msgid "printer-state-reasons.inserter-timing-failure" +msgstr "" + +#. TRANSLATORS: Inserter Turned Off +msgid "printer-state-reasons.inserter-turned-off" +msgstr "" + +#. TRANSLATORS: Inserter Turned On +msgid "printer-state-reasons.inserter-turned-on" +msgstr "" + +#. TRANSLATORS: Inserter Under Temperature +msgid "printer-state-reasons.inserter-under-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Failure +msgid "printer-state-reasons.inserter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Storage Error +msgid "printer-state-reasons.inserter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Inserter Warming Up +msgid "printer-state-reasons.inserter-warming-up" +msgstr "" + +#. TRANSLATORS: Interlock Closed +msgid "printer-state-reasons.interlock-closed" +msgstr "" + +#. TRANSLATORS: Interlock Open +msgid "printer-state-reasons.interlock-open" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Added +msgid "printer-state-reasons.interpreter-cartridge-added" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Removed +msgid "printer-state-reasons.interpreter-cartridge-deleted" +msgstr "" + +#. TRANSLATORS: Interpreter Complex Page Encountered +msgid "printer-state-reasons.interpreter-complex-page-encountered" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Decrease +msgid "printer-state-reasons.interpreter-memory-decrease" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Increase +msgid "printer-state-reasons.interpreter-memory-increase" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Added +msgid "printer-state-reasons.interpreter-resource-added" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Deleted +msgid "printer-state-reasons.interpreter-resource-deleted" +msgstr "" + +#. TRANSLATORS: Printer resource unavailable +msgid "printer-state-reasons.interpreter-resource-unavailable" +msgstr "" + +#. TRANSLATORS: Lamp At End of Life +msgid "printer-state-reasons.lamp-at-eol" +msgstr "" + +#. TRANSLATORS: Lamp Failure +msgid "printer-state-reasons.lamp-failure" +msgstr "" + +#. TRANSLATORS: Lamp Near End of Life +msgid "printer-state-reasons.lamp-near-eol" +msgstr "" + +#. TRANSLATORS: Laser At End of Life +msgid "printer-state-reasons.laser-at-eol" +msgstr "" + +#. TRANSLATORS: Laser Failure +msgid "printer-state-reasons.laser-failure" +msgstr "" + +#. TRANSLATORS: Laser Near End of Life +msgid "printer-state-reasons.laser-near-eol" +msgstr "" + +#. TRANSLATORS: Envelope Maker Added +msgid "printer-state-reasons.make-envelope-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Empty +msgid "printer-state-reasons.make-envelope-almost-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Full +msgid "printer-state-reasons.make-envelope-almost-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker At Limit +msgid "printer-state-reasons.make-envelope-at-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Closed +msgid "printer-state-reasons.make-envelope-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Configuration Change +msgid "printer-state-reasons.make-envelope-configuration-change" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Closed +msgid "printer-state-reasons.make-envelope-cover-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Open +msgid "printer-state-reasons.make-envelope-cover-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Empty +msgid "printer-state-reasons.make-envelope-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Full +msgid "printer-state-reasons.make-envelope-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Closed +msgid "printer-state-reasons.make-envelope-interlock-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Open +msgid "printer-state-reasons.make-envelope-interlock-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Jam +msgid "printer-state-reasons.make-envelope-jam" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Almost Over +msgid "printer-state-reasons.make-envelope-life-almost-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Over +msgid "printer-state-reasons.make-envelope-life-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Memory Exhausted +msgid "printer-state-reasons.make-envelope-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Envelope Maker Missing +msgid "printer-state-reasons.make-envelope-missing" +msgstr "" + +#. TRANSLATORS: Envelope Maker Motor Failure +msgid "printer-state-reasons.make-envelope-motor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Near Limit +msgid "printer-state-reasons.make-envelope-near-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Offline +msgid "printer-state-reasons.make-envelope-offline" +msgstr "" + +#. TRANSLATORS: Envelope Maker Opened +msgid "printer-state-reasons.make-envelope-opened" +msgstr "" + +#. TRANSLATORS: Envelope Maker Over Temperature +msgid "printer-state-reasons.make-envelope-over-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Power Saver +msgid "printer-state-reasons.make-envelope-power-saver" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Failure +msgid "printer-state-reasons.make-envelope-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Storage +msgid "printer-state-reasons.make-envelope-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Envelope Maker Removed +msgid "printer-state-reasons.make-envelope-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Added +msgid "printer-state-reasons.make-envelope-resource-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Removed +msgid "printer-state-reasons.make-envelope-resource-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Thermistor Failure +msgid "printer-state-reasons.make-envelope-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Timing Failure +msgid "printer-state-reasons.make-envelope-timing-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned Off +msgid "printer-state-reasons.make-envelope-turned-off" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned On +msgid "printer-state-reasons.make-envelope-turned-on" +msgstr "" + +#. TRANSLATORS: Envelope Maker Under Temperature +msgid "printer-state-reasons.make-envelope-under-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Failure +msgid "printer-state-reasons.make-envelope-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Storage Error +msgid "printer-state-reasons.make-envelope-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Envelope Maker Warming Up +msgid "printer-state-reasons.make-envelope-warming-up" +msgstr "" + +#. TRANSLATORS: Marker Adjusting Print Quality +msgid "printer-state-reasons.marker-adjusting-print-quality" +msgstr "" + +#. TRANSLATORS: Marker Cleaner Missing +msgid "printer-state-reasons.marker-cleaner-missing" +msgstr "" + +#. TRANSLATORS: Marker Developer Almost Empty +msgid "printer-state-reasons.marker-developer-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Empty +msgid "printer-state-reasons.marker-developer-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Missing +msgid "printer-state-reasons.marker-developer-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Missing +msgid "printer-state-reasons.marker-fuser-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Thermistor Failure +msgid "printer-state-reasons.marker-fuser-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Marker Fuser Timing Failure +msgid "printer-state-reasons.marker-fuser-timing-failure" +msgstr "" + +#. TRANSLATORS: Marker Ink Almost Empty +msgid "printer-state-reasons.marker-ink-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Empty +msgid "printer-state-reasons.marker-ink-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Missing +msgid "printer-state-reasons.marker-ink-missing" +msgstr "" + +#. TRANSLATORS: Marker Opc Missing +msgid "printer-state-reasons.marker-opc-missing" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Almost Empty +msgid "printer-state-reasons.marker-print-ribbon-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Empty +msgid "printer-state-reasons.marker-print-ribbon-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Missing +msgid "printer-state-reasons.marker-print-ribbon-missing" +msgstr "" + +#. TRANSLATORS: Marker Supply Almost Empty +msgid "printer-state-reasons.marker-supply-almost-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner empty +msgid "printer-state-reasons.marker-supply-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner low +msgid "printer-state-reasons.marker-supply-low" +msgstr "" + +#. TRANSLATORS: Marker Supply Missing +msgid "printer-state-reasons.marker-supply-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Cartridge Missing +msgid "printer-state-reasons.marker-toner-cartridge-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Missing +msgid "printer-state-reasons.marker-toner-missing" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin almost full +msgid "printer-state-reasons.marker-waste-almost-full" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin full +msgid "printer-state-reasons.marker-waste-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Missing +msgid "printer-state-reasons.marker-waste-ink-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Missing +msgid "printer-state-reasons.marker-waste-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Missing +msgid "printer-state-reasons.marker-waste-toner-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Material Empty +msgid "printer-state-reasons.material-empty" +msgstr "" + +#. TRANSLATORS: Material Low +msgid "printer-state-reasons.material-low" +msgstr "" + +#. TRANSLATORS: Material Needed +msgid "printer-state-reasons.material-needed" +msgstr "" + +#. TRANSLATORS: Media Drying +msgid "printer-state-reasons.media-drying" +msgstr "" + +#. TRANSLATORS: Paper tray is empty +msgid "printer-state-reasons.media-empty" +msgstr "" + +#. TRANSLATORS: Paper jam +msgid "printer-state-reasons.media-jam" +msgstr "" + +#. TRANSLATORS: Paper tray is almost empty +msgid "printer-state-reasons.media-low" +msgstr "" + +#. TRANSLATORS: Load paper +msgid "printer-state-reasons.media-needed" +msgstr "" + +#. TRANSLATORS: Media Path Cannot Do 2-Sided Printing +msgid "printer-state-reasons.media-path-cannot-duplex-media-selected" +msgstr "" + +#. TRANSLATORS: Media Path Failure +msgid "printer-state-reasons.media-path-failure" +msgstr "" + +#. TRANSLATORS: Media Path Input Empty +msgid "printer-state-reasons.media-path-input-empty" +msgstr "" + +#. TRANSLATORS: Media Path Input Feed Error +msgid "printer-state-reasons.media-path-input-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Input Jam +msgid "printer-state-reasons.media-path-input-jam" +msgstr "" + +#. TRANSLATORS: Media Path Input Request +msgid "printer-state-reasons.media-path-input-request" +msgstr "" + +#. TRANSLATORS: Media Path Jam +msgid "printer-state-reasons.media-path-jam" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Almost Full +msgid "printer-state-reasons.media-path-media-tray-almost-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Full +msgid "printer-state-reasons.media-path-media-tray-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Missing +msgid "printer-state-reasons.media-path-media-tray-missing" +msgstr "" + +#. TRANSLATORS: Media Path Output Feed Error +msgid "printer-state-reasons.media-path-output-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Output Full +msgid "printer-state-reasons.media-path-output-full" +msgstr "" + +#. TRANSLATORS: Media Path Output Jam +msgid "printer-state-reasons.media-path-output-jam" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Failure +msgid "printer-state-reasons.media-path-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Over +msgid "printer-state-reasons.media-path-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Warn +msgid "printer-state-reasons.media-path-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Missing +msgid "printer-state-reasons.media-path-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Motor Failure +msgid "printer-state-reasons.motor-failure" +msgstr "" + +#. TRANSLATORS: Printer going offline +msgid "printer-state-reasons.moving-to-paused" +msgstr "" + +#. TRANSLATORS: None +msgid "printer-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Optical Photoconductor Life Over +msgid "printer-state-reasons.opc-life-over" +msgstr "" + +#. TRANSLATORS: OPC almost at end-of-life +msgid "printer-state-reasons.opc-near-eol" +msgstr "" + +#. TRANSLATORS: Check the printer for errors +msgid "printer-state-reasons.other" +msgstr "" + +#. TRANSLATORS: Output bin is almost full +msgid "printer-state-reasons.output-area-almost-full" +msgstr "" + +#. TRANSLATORS: Output bin is full +msgid "printer-state-reasons.output-area-full" +msgstr "" + +#. TRANSLATORS: Output Mailbox Select Failure +msgid "printer-state-reasons.output-mailbox-select-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Failure +msgid "printer-state-reasons.output-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Feed Error +msgid "printer-state-reasons.output-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Output Media Tray Jam +msgid "printer-state-reasons.output-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Output tray is missing +msgid "printer-state-reasons.output-tray-missing" +msgstr "" + +#. TRANSLATORS: Paused +msgid "printer-state-reasons.paused" +msgstr "" + +#. TRANSLATORS: Perforater Added +msgid "printer-state-reasons.perforater-added" +msgstr "" + +#. TRANSLATORS: Perforater Almost Empty +msgid "printer-state-reasons.perforater-almost-empty" +msgstr "" + +#. TRANSLATORS: Perforater Almost Full +msgid "printer-state-reasons.perforater-almost-full" +msgstr "" + +#. TRANSLATORS: Perforater At Limit +msgid "printer-state-reasons.perforater-at-limit" +msgstr "" + +#. TRANSLATORS: Perforater Closed +msgid "printer-state-reasons.perforater-closed" +msgstr "" + +#. TRANSLATORS: Perforater Configuration Change +msgid "printer-state-reasons.perforater-configuration-change" +msgstr "" + +#. TRANSLATORS: Perforater Cover Closed +msgid "printer-state-reasons.perforater-cover-closed" +msgstr "" + +#. TRANSLATORS: Perforater Cover Open +msgid "printer-state-reasons.perforater-cover-open" +msgstr "" + +#. TRANSLATORS: Perforater Empty +msgid "printer-state-reasons.perforater-empty" +msgstr "" + +#. TRANSLATORS: Perforater Full +msgid "printer-state-reasons.perforater-full" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Closed +msgid "printer-state-reasons.perforater-interlock-closed" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Open +msgid "printer-state-reasons.perforater-interlock-open" +msgstr "" + +#. TRANSLATORS: Perforater Jam +msgid "printer-state-reasons.perforater-jam" +msgstr "" + +#. TRANSLATORS: Perforater Life Almost Over +msgid "printer-state-reasons.perforater-life-almost-over" +msgstr "" + +#. TRANSLATORS: Perforater Life Over +msgid "printer-state-reasons.perforater-life-over" +msgstr "" + +#. TRANSLATORS: Perforater Memory Exhausted +msgid "printer-state-reasons.perforater-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Perforater Missing +msgid "printer-state-reasons.perforater-missing" +msgstr "" + +#. TRANSLATORS: Perforater Motor Failure +msgid "printer-state-reasons.perforater-motor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Near Limit +msgid "printer-state-reasons.perforater-near-limit" +msgstr "" + +#. TRANSLATORS: Perforater Offline +msgid "printer-state-reasons.perforater-offline" +msgstr "" + +#. TRANSLATORS: Perforater Opened +msgid "printer-state-reasons.perforater-opened" +msgstr "" + +#. TRANSLATORS: Perforater Over Temperature +msgid "printer-state-reasons.perforater-over-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Power Saver +msgid "printer-state-reasons.perforater-power-saver" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Failure +msgid "printer-state-reasons.perforater-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Storage +msgid "printer-state-reasons.perforater-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Perforater Removed +msgid "printer-state-reasons.perforater-removed" +msgstr "" + +#. TRANSLATORS: Perforater Resource Added +msgid "printer-state-reasons.perforater-resource-added" +msgstr "" + +#. TRANSLATORS: Perforater Resource Removed +msgid "printer-state-reasons.perforater-resource-removed" +msgstr "" + +#. TRANSLATORS: Perforater Thermistor Failure +msgid "printer-state-reasons.perforater-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Timing Failure +msgid "printer-state-reasons.perforater-timing-failure" +msgstr "" + +#. TRANSLATORS: Perforater Turned Off +msgid "printer-state-reasons.perforater-turned-off" +msgstr "" + +#. TRANSLATORS: Perforater Turned On +msgid "printer-state-reasons.perforater-turned-on" +msgstr "" + +#. TRANSLATORS: Perforater Under Temperature +msgid "printer-state-reasons.perforater-under-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Failure +msgid "printer-state-reasons.perforater-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Storage Error +msgid "printer-state-reasons.perforater-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Perforater Warming Up +msgid "printer-state-reasons.perforater-warming-up" +msgstr "" + +#. TRANSLATORS: Platform Cooling +msgid "printer-state-reasons.platform-cooling" +msgstr "" + +#. TRANSLATORS: Platform Failure +msgid "printer-state-reasons.platform-failure" +msgstr "" + +#. TRANSLATORS: Platform Heating +msgid "printer-state-reasons.platform-heating" +msgstr "" + +#. TRANSLATORS: Platform Temperature High +msgid "printer-state-reasons.platform-temperature-high" +msgstr "" + +#. TRANSLATORS: Platform Temperature Low +msgid "printer-state-reasons.platform-temperature-low" +msgstr "" + +#. TRANSLATORS: Power Down +msgid "printer-state-reasons.power-down" +msgstr "" + +#. TRANSLATORS: Power Up +msgid "printer-state-reasons.power-up" +msgstr "" + +#. TRANSLATORS: Printer Reset Manually +msgid "printer-state-reasons.printer-manual-reset" +msgstr "" + +#. TRANSLATORS: Printer Reset Remotely +msgid "printer-state-reasons.printer-nms-reset" +msgstr "" + +#. TRANSLATORS: Printer Ready To Print +msgid "printer-state-reasons.printer-ready-to-print" +msgstr "" + +#. TRANSLATORS: Puncher Added +msgid "printer-state-reasons.puncher-added" +msgstr "" + +#. TRANSLATORS: Puncher Almost Empty +msgid "printer-state-reasons.puncher-almost-empty" +msgstr "" + +#. TRANSLATORS: Puncher Almost Full +msgid "printer-state-reasons.puncher-almost-full" +msgstr "" + +#. TRANSLATORS: Puncher At Limit +msgid "printer-state-reasons.puncher-at-limit" +msgstr "" + +#. TRANSLATORS: Puncher Closed +msgid "printer-state-reasons.puncher-closed" +msgstr "" + +#. TRANSLATORS: Puncher Configuration Change +msgid "printer-state-reasons.puncher-configuration-change" +msgstr "" + +#. TRANSLATORS: Puncher Cover Closed +msgid "printer-state-reasons.puncher-cover-closed" +msgstr "" + +#. TRANSLATORS: Puncher Cover Open +msgid "printer-state-reasons.puncher-cover-open" +msgstr "" + +#. TRANSLATORS: Puncher Empty +msgid "printer-state-reasons.puncher-empty" +msgstr "" + +#. TRANSLATORS: Puncher Full +msgid "printer-state-reasons.puncher-full" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Closed +msgid "printer-state-reasons.puncher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Open +msgid "printer-state-reasons.puncher-interlock-open" +msgstr "" + +#. TRANSLATORS: Puncher Jam +msgid "printer-state-reasons.puncher-jam" +msgstr "" + +#. TRANSLATORS: Puncher Life Almost Over +msgid "printer-state-reasons.puncher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Puncher Life Over +msgid "printer-state-reasons.puncher-life-over" +msgstr "" + +#. TRANSLATORS: Puncher Memory Exhausted +msgid "printer-state-reasons.puncher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Puncher Missing +msgid "printer-state-reasons.puncher-missing" +msgstr "" + +#. TRANSLATORS: Puncher Motor Failure +msgid "printer-state-reasons.puncher-motor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Near Limit +msgid "printer-state-reasons.puncher-near-limit" +msgstr "" + +#. TRANSLATORS: Puncher Offline +msgid "printer-state-reasons.puncher-offline" +msgstr "" + +#. TRANSLATORS: Puncher Opened +msgid "printer-state-reasons.puncher-opened" +msgstr "" + +#. TRANSLATORS: Puncher Over Temperature +msgid "printer-state-reasons.puncher-over-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Power Saver +msgid "printer-state-reasons.puncher-power-saver" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Failure +msgid "printer-state-reasons.puncher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Storage +msgid "printer-state-reasons.puncher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Puncher Removed +msgid "printer-state-reasons.puncher-removed" +msgstr "" + +#. TRANSLATORS: Puncher Resource Added +msgid "printer-state-reasons.puncher-resource-added" +msgstr "" + +#. TRANSLATORS: Puncher Resource Removed +msgid "printer-state-reasons.puncher-resource-removed" +msgstr "" + +#. TRANSLATORS: Puncher Thermistor Failure +msgid "printer-state-reasons.puncher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Timing Failure +msgid "printer-state-reasons.puncher-timing-failure" +msgstr "" + +#. TRANSLATORS: Puncher Turned Off +msgid "printer-state-reasons.puncher-turned-off" +msgstr "" + +#. TRANSLATORS: Puncher Turned On +msgid "printer-state-reasons.puncher-turned-on" +msgstr "" + +#. TRANSLATORS: Puncher Under Temperature +msgid "printer-state-reasons.puncher-under-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Failure +msgid "printer-state-reasons.puncher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Storage Error +msgid "printer-state-reasons.puncher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Puncher Warming Up +msgid "printer-state-reasons.puncher-warming-up" +msgstr "" + +#. TRANSLATORS: Separation Cutter Added +msgid "printer-state-reasons.separation-cutter-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Empty +msgid "printer-state-reasons.separation-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Full +msgid "printer-state-reasons.separation-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter At Limit +msgid "printer-state-reasons.separation-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Closed +msgid "printer-state-reasons.separation-cutter-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Configuration Change +msgid "printer-state-reasons.separation-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Closed +msgid "printer-state-reasons.separation-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Open +msgid "printer-state-reasons.separation-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Empty +msgid "printer-state-reasons.separation-cutter-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Full +msgid "printer-state-reasons.separation-cutter-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Closed +msgid "printer-state-reasons.separation-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Open +msgid "printer-state-reasons.separation-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Jam +msgid "printer-state-reasons.separation-cutter-jam" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Almost Over +msgid "printer-state-reasons.separation-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Over +msgid "printer-state-reasons.separation-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Memory Exhausted +msgid "printer-state-reasons.separation-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Separation Cutter Missing +msgid "printer-state-reasons.separation-cutter-missing" +msgstr "" + +#. TRANSLATORS: Separation Cutter Motor Failure +msgid "printer-state-reasons.separation-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Near Limit +msgid "printer-state-reasons.separation-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Offline +msgid "printer-state-reasons.separation-cutter-offline" +msgstr "" + +#. TRANSLATORS: Separation Cutter Opened +msgid "printer-state-reasons.separation-cutter-opened" +msgstr "" + +#. TRANSLATORS: Separation Cutter Over Temperature +msgid "printer-state-reasons.separation-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Power Saver +msgid "printer-state-reasons.separation-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Failure +msgid "printer-state-reasons.separation-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Storage +msgid "printer-state-reasons.separation-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Separation Cutter Removed +msgid "printer-state-reasons.separation-cutter-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Added +msgid "printer-state-reasons.separation-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Removed +msgid "printer-state-reasons.separation-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Thermistor Failure +msgid "printer-state-reasons.separation-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Timing Failure +msgid "printer-state-reasons.separation-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned Off +msgid "printer-state-reasons.separation-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned On +msgid "printer-state-reasons.separation-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Separation Cutter Under Temperature +msgid "printer-state-reasons.separation-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Failure +msgid "printer-state-reasons.separation-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.separation-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Separation Cutter Warming Up +msgid "printer-state-reasons.separation-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Added +msgid "printer-state-reasons.sheet-rotator-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Empty +msgid "printer-state-reasons.sheet-rotator-almost-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Full +msgid "printer-state-reasons.sheet-rotator-almost-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator At Limit +msgid "printer-state-reasons.sheet-rotator-at-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Closed +msgid "printer-state-reasons.sheet-rotator-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Configuration Change +msgid "printer-state-reasons.sheet-rotator-configuration-change" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Closed +msgid "printer-state-reasons.sheet-rotator-cover-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Open +msgid "printer-state-reasons.sheet-rotator-cover-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Empty +msgid "printer-state-reasons.sheet-rotator-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Full +msgid "printer-state-reasons.sheet-rotator-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Closed +msgid "printer-state-reasons.sheet-rotator-interlock-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Open +msgid "printer-state-reasons.sheet-rotator-interlock-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Jam +msgid "printer-state-reasons.sheet-rotator-jam" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Almost Over +msgid "printer-state-reasons.sheet-rotator-life-almost-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Over +msgid "printer-state-reasons.sheet-rotator-life-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Memory Exhausted +msgid "printer-state-reasons.sheet-rotator-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Missing +msgid "printer-state-reasons.sheet-rotator-missing" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Motor Failure +msgid "printer-state-reasons.sheet-rotator-motor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Near Limit +msgid "printer-state-reasons.sheet-rotator-near-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Offline +msgid "printer-state-reasons.sheet-rotator-offline" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Opened +msgid "printer-state-reasons.sheet-rotator-opened" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Over Temperature +msgid "printer-state-reasons.sheet-rotator-over-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Power Saver +msgid "printer-state-reasons.sheet-rotator-power-saver" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Failure +msgid "printer-state-reasons.sheet-rotator-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Storage +msgid "printer-state-reasons.sheet-rotator-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Removed +msgid "printer-state-reasons.sheet-rotator-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Added +msgid "printer-state-reasons.sheet-rotator-resource-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Removed +msgid "printer-state-reasons.sheet-rotator-resource-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Thermistor Failure +msgid "printer-state-reasons.sheet-rotator-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Timing Failure +msgid "printer-state-reasons.sheet-rotator-timing-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned Off +msgid "printer-state-reasons.sheet-rotator-turned-off" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned On +msgid "printer-state-reasons.sheet-rotator-turned-on" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Under Temperature +msgid "printer-state-reasons.sheet-rotator-under-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Failure +msgid "printer-state-reasons.sheet-rotator-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +msgid "printer-state-reasons.sheet-rotator-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Warming Up +msgid "printer-state-reasons.sheet-rotator-warming-up" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "printer-state-reasons.shutdown" +msgstr "" + +#. TRANSLATORS: Slitter Added +msgid "printer-state-reasons.slitter-added" +msgstr "" + +#. TRANSLATORS: Slitter Almost Empty +msgid "printer-state-reasons.slitter-almost-empty" +msgstr "" + +#. TRANSLATORS: Slitter Almost Full +msgid "printer-state-reasons.slitter-almost-full" +msgstr "" + +#. TRANSLATORS: Slitter At Limit +msgid "printer-state-reasons.slitter-at-limit" +msgstr "" + +#. TRANSLATORS: Slitter Closed +msgid "printer-state-reasons.slitter-closed" +msgstr "" + +#. TRANSLATORS: Slitter Configuration Change +msgid "printer-state-reasons.slitter-configuration-change" +msgstr "" + +#. TRANSLATORS: Slitter Cover Closed +msgid "printer-state-reasons.slitter-cover-closed" +msgstr "" + +#. TRANSLATORS: Slitter Cover Open +msgid "printer-state-reasons.slitter-cover-open" +msgstr "" + +#. TRANSLATORS: Slitter Empty +msgid "printer-state-reasons.slitter-empty" +msgstr "" + +#. TRANSLATORS: Slitter Full +msgid "printer-state-reasons.slitter-full" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Closed +msgid "printer-state-reasons.slitter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Open +msgid "printer-state-reasons.slitter-interlock-open" +msgstr "" + +#. TRANSLATORS: Slitter Jam +msgid "printer-state-reasons.slitter-jam" +msgstr "" + +#. TRANSLATORS: Slitter Life Almost Over +msgid "printer-state-reasons.slitter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Slitter Life Over +msgid "printer-state-reasons.slitter-life-over" +msgstr "" + +#. TRANSLATORS: Slitter Memory Exhausted +msgid "printer-state-reasons.slitter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Slitter Missing +msgid "printer-state-reasons.slitter-missing" +msgstr "" + +#. TRANSLATORS: Slitter Motor Failure +msgid "printer-state-reasons.slitter-motor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Near Limit +msgid "printer-state-reasons.slitter-near-limit" +msgstr "" + +#. TRANSLATORS: Slitter Offline +msgid "printer-state-reasons.slitter-offline" +msgstr "" + +#. TRANSLATORS: Slitter Opened +msgid "printer-state-reasons.slitter-opened" +msgstr "" + +#. TRANSLATORS: Slitter Over Temperature +msgid "printer-state-reasons.slitter-over-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Power Saver +msgid "printer-state-reasons.slitter-power-saver" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Failure +msgid "printer-state-reasons.slitter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Storage +msgid "printer-state-reasons.slitter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Slitter Removed +msgid "printer-state-reasons.slitter-removed" +msgstr "" + +#. TRANSLATORS: Slitter Resource Added +msgid "printer-state-reasons.slitter-resource-added" +msgstr "" + +#. TRANSLATORS: Slitter Resource Removed +msgid "printer-state-reasons.slitter-resource-removed" +msgstr "" + +#. TRANSLATORS: Slitter Thermistor Failure +msgid "printer-state-reasons.slitter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Timing Failure +msgid "printer-state-reasons.slitter-timing-failure" +msgstr "" + +#. TRANSLATORS: Slitter Turned Off +msgid "printer-state-reasons.slitter-turned-off" +msgstr "" + +#. TRANSLATORS: Slitter Turned On +msgid "printer-state-reasons.slitter-turned-on" +msgstr "" + +#. TRANSLATORS: Slitter Under Temperature +msgid "printer-state-reasons.slitter-under-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Failure +msgid "printer-state-reasons.slitter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Storage Error +msgid "printer-state-reasons.slitter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Slitter Warming Up +msgid "printer-state-reasons.slitter-warming-up" +msgstr "" + +#. TRANSLATORS: Spool Area Full +msgid "printer-state-reasons.spool-area-full" +msgstr "" + +#. TRANSLATORS: Stacker Added +msgid "printer-state-reasons.stacker-added" +msgstr "" + +#. TRANSLATORS: Stacker Almost Empty +msgid "printer-state-reasons.stacker-almost-empty" +msgstr "" + +#. TRANSLATORS: Stacker Almost Full +msgid "printer-state-reasons.stacker-almost-full" +msgstr "" + +#. TRANSLATORS: Stacker At Limit +msgid "printer-state-reasons.stacker-at-limit" +msgstr "" + +#. TRANSLATORS: Stacker Closed +msgid "printer-state-reasons.stacker-closed" +msgstr "" + +#. TRANSLATORS: Stacker Configuration Change +msgid "printer-state-reasons.stacker-configuration-change" +msgstr "" + +#. TRANSLATORS: Stacker Cover Closed +msgid "printer-state-reasons.stacker-cover-closed" +msgstr "" + +#. TRANSLATORS: Stacker Cover Open +msgid "printer-state-reasons.stacker-cover-open" +msgstr "" + +#. TRANSLATORS: Stacker Empty +msgid "printer-state-reasons.stacker-empty" +msgstr "" + +#. TRANSLATORS: Stacker Full +msgid "printer-state-reasons.stacker-full" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Closed +msgid "printer-state-reasons.stacker-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Open +msgid "printer-state-reasons.stacker-interlock-open" +msgstr "" + +#. TRANSLATORS: Stacker Jam +msgid "printer-state-reasons.stacker-jam" +msgstr "" + +#. TRANSLATORS: Stacker Life Almost Over +msgid "printer-state-reasons.stacker-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stacker Life Over +msgid "printer-state-reasons.stacker-life-over" +msgstr "" + +#. TRANSLATORS: Stacker Memory Exhausted +msgid "printer-state-reasons.stacker-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stacker Missing +msgid "printer-state-reasons.stacker-missing" +msgstr "" + +#. TRANSLATORS: Stacker Motor Failure +msgid "printer-state-reasons.stacker-motor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Near Limit +msgid "printer-state-reasons.stacker-near-limit" +msgstr "" + +#. TRANSLATORS: Stacker Offline +msgid "printer-state-reasons.stacker-offline" +msgstr "" + +#. TRANSLATORS: Stacker Opened +msgid "printer-state-reasons.stacker-opened" +msgstr "" + +#. TRANSLATORS: Stacker Over Temperature +msgid "printer-state-reasons.stacker-over-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Power Saver +msgid "printer-state-reasons.stacker-power-saver" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Failure +msgid "printer-state-reasons.stacker-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Storage +msgid "printer-state-reasons.stacker-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stacker Removed +msgid "printer-state-reasons.stacker-removed" +msgstr "" + +#. TRANSLATORS: Stacker Resource Added +msgid "printer-state-reasons.stacker-resource-added" +msgstr "" + +#. TRANSLATORS: Stacker Resource Removed +msgid "printer-state-reasons.stacker-resource-removed" +msgstr "" + +#. TRANSLATORS: Stacker Thermistor Failure +msgid "printer-state-reasons.stacker-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Timing Failure +msgid "printer-state-reasons.stacker-timing-failure" +msgstr "" + +#. TRANSLATORS: Stacker Turned Off +msgid "printer-state-reasons.stacker-turned-off" +msgstr "" + +#. TRANSLATORS: Stacker Turned On +msgid "printer-state-reasons.stacker-turned-on" +msgstr "" + +#. TRANSLATORS: Stacker Under Temperature +msgid "printer-state-reasons.stacker-under-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Failure +msgid "printer-state-reasons.stacker-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Storage Error +msgid "printer-state-reasons.stacker-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stacker Warming Up +msgid "printer-state-reasons.stacker-warming-up" +msgstr "" + +#. TRANSLATORS: Stapler Added +msgid "printer-state-reasons.stapler-added" +msgstr "" + +#. TRANSLATORS: Stapler Almost Empty +msgid "printer-state-reasons.stapler-almost-empty" +msgstr "" + +#. TRANSLATORS: Stapler Almost Full +msgid "printer-state-reasons.stapler-almost-full" +msgstr "" + +#. TRANSLATORS: Stapler At Limit +msgid "printer-state-reasons.stapler-at-limit" +msgstr "" + +#. TRANSLATORS: Stapler Closed +msgid "printer-state-reasons.stapler-closed" +msgstr "" + +#. TRANSLATORS: Stapler Configuration Change +msgid "printer-state-reasons.stapler-configuration-change" +msgstr "" + +#. TRANSLATORS: Stapler Cover Closed +msgid "printer-state-reasons.stapler-cover-closed" +msgstr "" + +#. TRANSLATORS: Stapler Cover Open +msgid "printer-state-reasons.stapler-cover-open" +msgstr "" + +#. TRANSLATORS: Stapler Empty +msgid "printer-state-reasons.stapler-empty" +msgstr "" + +#. TRANSLATORS: Stapler Full +msgid "printer-state-reasons.stapler-full" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Closed +msgid "printer-state-reasons.stapler-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Open +msgid "printer-state-reasons.stapler-interlock-open" +msgstr "" + +#. TRANSLATORS: Stapler Jam +msgid "printer-state-reasons.stapler-jam" +msgstr "" + +#. TRANSLATORS: Stapler Life Almost Over +msgid "printer-state-reasons.stapler-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stapler Life Over +msgid "printer-state-reasons.stapler-life-over" +msgstr "" + +#. TRANSLATORS: Stapler Memory Exhausted +msgid "printer-state-reasons.stapler-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stapler Missing +msgid "printer-state-reasons.stapler-missing" +msgstr "" + +#. TRANSLATORS: Stapler Motor Failure +msgid "printer-state-reasons.stapler-motor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Near Limit +msgid "printer-state-reasons.stapler-near-limit" +msgstr "" + +#. TRANSLATORS: Stapler Offline +msgid "printer-state-reasons.stapler-offline" +msgstr "" + +#. TRANSLATORS: Stapler Opened +msgid "printer-state-reasons.stapler-opened" +msgstr "" + +#. TRANSLATORS: Stapler Over Temperature +msgid "printer-state-reasons.stapler-over-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Power Saver +msgid "printer-state-reasons.stapler-power-saver" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Failure +msgid "printer-state-reasons.stapler-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Storage +msgid "printer-state-reasons.stapler-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stapler Removed +msgid "printer-state-reasons.stapler-removed" +msgstr "" + +#. TRANSLATORS: Stapler Resource Added +msgid "printer-state-reasons.stapler-resource-added" +msgstr "" + +#. TRANSLATORS: Stapler Resource Removed +msgid "printer-state-reasons.stapler-resource-removed" +msgstr "" + +#. TRANSLATORS: Stapler Thermistor Failure +msgid "printer-state-reasons.stapler-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Timing Failure +msgid "printer-state-reasons.stapler-timing-failure" +msgstr "" + +#. TRANSLATORS: Stapler Turned Off +msgid "printer-state-reasons.stapler-turned-off" +msgstr "" + +#. TRANSLATORS: Stapler Turned On +msgid "printer-state-reasons.stapler-turned-on" +msgstr "" + +#. TRANSLATORS: Stapler Under Temperature +msgid "printer-state-reasons.stapler-under-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Failure +msgid "printer-state-reasons.stapler-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Storage Error +msgid "printer-state-reasons.stapler-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stapler Warming Up +msgid "printer-state-reasons.stapler-warming-up" +msgstr "" + +#. TRANSLATORS: Stitcher Added +msgid "printer-state-reasons.stitcher-added" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Empty +msgid "printer-state-reasons.stitcher-almost-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Full +msgid "printer-state-reasons.stitcher-almost-full" +msgstr "" + +#. TRANSLATORS: Stitcher At Limit +msgid "printer-state-reasons.stitcher-at-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Closed +msgid "printer-state-reasons.stitcher-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Configuration Change +msgid "printer-state-reasons.stitcher-configuration-change" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Closed +msgid "printer-state-reasons.stitcher-cover-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Open +msgid "printer-state-reasons.stitcher-cover-open" +msgstr "" + +#. TRANSLATORS: Stitcher Empty +msgid "printer-state-reasons.stitcher-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Full +msgid "printer-state-reasons.stitcher-full" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Closed +msgid "printer-state-reasons.stitcher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Open +msgid "printer-state-reasons.stitcher-interlock-open" +msgstr "" + +#. TRANSLATORS: Stitcher Jam +msgid "printer-state-reasons.stitcher-jam" +msgstr "" + +#. TRANSLATORS: Stitcher Life Almost Over +msgid "printer-state-reasons.stitcher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stitcher Life Over +msgid "printer-state-reasons.stitcher-life-over" +msgstr "" + +#. TRANSLATORS: Stitcher Memory Exhausted +msgid "printer-state-reasons.stitcher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stitcher Missing +msgid "printer-state-reasons.stitcher-missing" +msgstr "" + +#. TRANSLATORS: Stitcher Motor Failure +msgid "printer-state-reasons.stitcher-motor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Near Limit +msgid "printer-state-reasons.stitcher-near-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Offline +msgid "printer-state-reasons.stitcher-offline" +msgstr "" + +#. TRANSLATORS: Stitcher Opened +msgid "printer-state-reasons.stitcher-opened" +msgstr "" + +#. TRANSLATORS: Stitcher Over Temperature +msgid "printer-state-reasons.stitcher-over-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Power Saver +msgid "printer-state-reasons.stitcher-power-saver" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Failure +msgid "printer-state-reasons.stitcher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Storage +msgid "printer-state-reasons.stitcher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stitcher Removed +msgid "printer-state-reasons.stitcher-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Added +msgid "printer-state-reasons.stitcher-resource-added" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Removed +msgid "printer-state-reasons.stitcher-resource-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Thermistor Failure +msgid "printer-state-reasons.stitcher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Timing Failure +msgid "printer-state-reasons.stitcher-timing-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Turned Off +msgid "printer-state-reasons.stitcher-turned-off" +msgstr "" + +#. TRANSLATORS: Stitcher Turned On +msgid "printer-state-reasons.stitcher-turned-on" +msgstr "" + +#. TRANSLATORS: Stitcher Under Temperature +msgid "printer-state-reasons.stitcher-under-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Failure +msgid "printer-state-reasons.stitcher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Storage Error +msgid "printer-state-reasons.stitcher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stitcher Warming Up +msgid "printer-state-reasons.stitcher-warming-up" +msgstr "" + +#. TRANSLATORS: Partially stopped +msgid "printer-state-reasons.stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "printer-state-reasons.stopping" +msgstr "" + +#. TRANSLATORS: Subunit Added +msgid "printer-state-reasons.subunit-added" +msgstr "" + +#. TRANSLATORS: Subunit Almost Empty +msgid "printer-state-reasons.subunit-almost-empty" +msgstr "" + +#. TRANSLATORS: Subunit Almost Full +msgid "printer-state-reasons.subunit-almost-full" +msgstr "" + +#. TRANSLATORS: Subunit At Limit +msgid "printer-state-reasons.subunit-at-limit" +msgstr "" + +#. TRANSLATORS: Subunit Closed +msgid "printer-state-reasons.subunit-closed" +msgstr "" + +#. TRANSLATORS: Subunit Cooling Down +msgid "printer-state-reasons.subunit-cooling-down" +msgstr "" + +#. TRANSLATORS: Subunit Empty +msgid "printer-state-reasons.subunit-empty" +msgstr "" + +#. TRANSLATORS: Subunit Full +msgid "printer-state-reasons.subunit-full" +msgstr "" + +#. TRANSLATORS: Subunit Life Almost Over +msgid "printer-state-reasons.subunit-life-almost-over" +msgstr "" + +#. TRANSLATORS: Subunit Life Over +msgid "printer-state-reasons.subunit-life-over" +msgstr "" + +#. TRANSLATORS: Subunit Memory Exhausted +msgid "printer-state-reasons.subunit-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Subunit Missing +msgid "printer-state-reasons.subunit-missing" +msgstr "" + +#. TRANSLATORS: Subunit Motor Failure +msgid "printer-state-reasons.subunit-motor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Near Limit +msgid "printer-state-reasons.subunit-near-limit" +msgstr "" + +#. TRANSLATORS: Subunit Offline +msgid "printer-state-reasons.subunit-offline" +msgstr "" + +#. TRANSLATORS: Subunit Opened +msgid "printer-state-reasons.subunit-opened" +msgstr "" + +#. TRANSLATORS: Subunit Over Temperature +msgid "printer-state-reasons.subunit-over-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Power Saver +msgid "printer-state-reasons.subunit-power-saver" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Failure +msgid "printer-state-reasons.subunit-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Storage +msgid "printer-state-reasons.subunit-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Removed +msgid "printer-state-reasons.subunit-removed" +msgstr "" + +#. TRANSLATORS: Subunit Resource Added +msgid "printer-state-reasons.subunit-resource-added" +msgstr "" + +#. TRANSLATORS: Subunit Resource Removed +msgid "printer-state-reasons.subunit-resource-removed" +msgstr "" + +#. TRANSLATORS: Subunit Thermistor Failure +msgid "printer-state-reasons.subunit-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Timing Failure +msgid "printer-state-reasons.subunit-timing-Failure" +msgstr "" + +#. TRANSLATORS: Subunit Turned Off +msgid "printer-state-reasons.subunit-turned-off" +msgstr "" + +#. TRANSLATORS: Subunit Turned On +msgid "printer-state-reasons.subunit-turned-on" +msgstr "" + +#. TRANSLATORS: Subunit Under Temperature +msgid "printer-state-reasons.subunit-under-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Failure +msgid "printer-state-reasons.subunit-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Storage +msgid "printer-state-reasons.subunit-unrecoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Warming Up +msgid "printer-state-reasons.subunit-warming-up" +msgstr "" + +#. TRANSLATORS: Printer stopped responding +msgid "printer-state-reasons.timed-out" +msgstr "" + +#. TRANSLATORS: Out of toner +msgid "printer-state-reasons.toner-empty" +msgstr "" + +#. TRANSLATORS: Toner low +msgid "printer-state-reasons.toner-low" +msgstr "" + +#. TRANSLATORS: Trimmer Added +msgid "printer-state-reasons.trimmer-added" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Empty +msgid "printer-state-reasons.trimmer-almost-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Full +msgid "printer-state-reasons.trimmer-almost-full" +msgstr "" + +#. TRANSLATORS: Trimmer At Limit +msgid "printer-state-reasons.trimmer-at-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Closed +msgid "printer-state-reasons.trimmer-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Configuration Change +msgid "printer-state-reasons.trimmer-configuration-change" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Closed +msgid "printer-state-reasons.trimmer-cover-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Open +msgid "printer-state-reasons.trimmer-cover-open" +msgstr "" + +#. TRANSLATORS: Trimmer Empty +msgid "printer-state-reasons.trimmer-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Full +msgid "printer-state-reasons.trimmer-full" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Closed +msgid "printer-state-reasons.trimmer-interlock-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Open +msgid "printer-state-reasons.trimmer-interlock-open" +msgstr "" + +#. TRANSLATORS: Trimmer Jam +msgid "printer-state-reasons.trimmer-jam" +msgstr "" + +#. TRANSLATORS: Trimmer Life Almost Over +msgid "printer-state-reasons.trimmer-life-almost-over" +msgstr "" + +#. TRANSLATORS: Trimmer Life Over +msgid "printer-state-reasons.trimmer-life-over" +msgstr "" + +#. TRANSLATORS: Trimmer Memory Exhausted +msgid "printer-state-reasons.trimmer-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Trimmer Missing +msgid "printer-state-reasons.trimmer-missing" +msgstr "" + +#. TRANSLATORS: Trimmer Motor Failure +msgid "printer-state-reasons.trimmer-motor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Near Limit +msgid "printer-state-reasons.trimmer-near-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Offline +msgid "printer-state-reasons.trimmer-offline" +msgstr "" + +#. TRANSLATORS: Trimmer Opened +msgid "printer-state-reasons.trimmer-opened" +msgstr "" + +#. TRANSLATORS: Trimmer Over Temperature +msgid "printer-state-reasons.trimmer-over-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Power Saver +msgid "printer-state-reasons.trimmer-power-saver" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Failure +msgid "printer-state-reasons.trimmer-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Storage +msgid "printer-state-reasons.trimmer-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Trimmer Removed +msgid "printer-state-reasons.trimmer-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Added +msgid "printer-state-reasons.trimmer-resource-added" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Removed +msgid "printer-state-reasons.trimmer-resource-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Thermistor Failure +msgid "printer-state-reasons.trimmer-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Timing Failure +msgid "printer-state-reasons.trimmer-timing-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Turned Off +msgid "printer-state-reasons.trimmer-turned-off" +msgstr "" + +#. TRANSLATORS: Trimmer Turned On +msgid "printer-state-reasons.trimmer-turned-on" +msgstr "" + +#. TRANSLATORS: Trimmer Under Temperature +msgid "printer-state-reasons.trimmer-under-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Failure +msgid "printer-state-reasons.trimmer-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Storage Error +msgid "printer-state-reasons.trimmer-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Trimmer Warming Up +msgid "printer-state-reasons.trimmer-warming-up" +msgstr "" + +#. TRANSLATORS: Unknown +msgid "printer-state-reasons.unknown" +msgstr "" + +#. TRANSLATORS: Wrapper Added +msgid "printer-state-reasons.wrapper-added" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Empty +msgid "printer-state-reasons.wrapper-almost-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Full +msgid "printer-state-reasons.wrapper-almost-full" +msgstr "" + +#. TRANSLATORS: Wrapper At Limit +msgid "printer-state-reasons.wrapper-at-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Closed +msgid "printer-state-reasons.wrapper-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Configuration Change +msgid "printer-state-reasons.wrapper-configuration-change" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Closed +msgid "printer-state-reasons.wrapper-cover-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Open +msgid "printer-state-reasons.wrapper-cover-open" +msgstr "" + +#. TRANSLATORS: Wrapper Empty +msgid "printer-state-reasons.wrapper-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Full +msgid "printer-state-reasons.wrapper-full" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Closed +msgid "printer-state-reasons.wrapper-interlock-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Open +msgid "printer-state-reasons.wrapper-interlock-open" +msgstr "" + +#. TRANSLATORS: Wrapper Jam +msgid "printer-state-reasons.wrapper-jam" +msgstr "" + +#. TRANSLATORS: Wrapper Life Almost Over +msgid "printer-state-reasons.wrapper-life-almost-over" +msgstr "" + +#. TRANSLATORS: Wrapper Life Over +msgid "printer-state-reasons.wrapper-life-over" +msgstr "" + +#. TRANSLATORS: Wrapper Memory Exhausted +msgid "printer-state-reasons.wrapper-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Wrapper Missing +msgid "printer-state-reasons.wrapper-missing" +msgstr "" + +#. TRANSLATORS: Wrapper Motor Failure +msgid "printer-state-reasons.wrapper-motor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Near Limit +msgid "printer-state-reasons.wrapper-near-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Offline +msgid "printer-state-reasons.wrapper-offline" +msgstr "" + +#. TRANSLATORS: Wrapper Opened +msgid "printer-state-reasons.wrapper-opened" +msgstr "" + +#. TRANSLATORS: Wrapper Over Temperature +msgid "printer-state-reasons.wrapper-over-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Power Saver +msgid "printer-state-reasons.wrapper-power-saver" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Failure +msgid "printer-state-reasons.wrapper-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Storage +msgid "printer-state-reasons.wrapper-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Wrapper Removed +msgid "printer-state-reasons.wrapper-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Added +msgid "printer-state-reasons.wrapper-resource-added" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Removed +msgid "printer-state-reasons.wrapper-resource-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Thermistor Failure +msgid "printer-state-reasons.wrapper-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Timing Failure +msgid "printer-state-reasons.wrapper-timing-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Turned Off +msgid "printer-state-reasons.wrapper-turned-off" +msgstr "" + +#. TRANSLATORS: Wrapper Turned On +msgid "printer-state-reasons.wrapper-turned-on" +msgstr "" + +#. TRANSLATORS: Wrapper Under Temperature +msgid "printer-state-reasons.wrapper-under-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Failure +msgid "printer-state-reasons.wrapper-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Storage Error +msgid "printer-state-reasons.wrapper-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Wrapper Warming Up +msgid "printer-state-reasons.wrapper-warming-up" +msgstr "" + +#. TRANSLATORS: Idle +msgid "printer-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "printer-state.4" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "printer-state.5" +msgstr "" + +#. TRANSLATORS: Printer Uptime +msgid "printer-up-time" +msgstr "" + +msgid "processing" +msgstr "処理中" + +#. TRANSLATORS: Proof Print +msgid "proof-print" +msgstr "" + +#. TRANSLATORS: Proof Print Copies +msgid "proof-print-copies" +msgstr "" + +#. TRANSLATORS: Punching +msgid "punching" +msgstr "" + +#. TRANSLATORS: Punching Locations +msgid "punching-locations" +msgstr "" + +#. TRANSLATORS: Punching Offset +msgid "punching-offset" +msgstr "" + +#. TRANSLATORS: Punch Edge +msgid "punching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "punching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "punching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "punching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "punching-reference-edge.top" +msgstr "" + +#, c-format +msgid "request id is %s-%d (%d file(s))" +msgstr "リクエスト ID は %s-%d です (%d 個のファイル)" + +msgid "request-id uses indefinite length" +msgstr "リクエスト ID の長さが不定" + +#. TRANSLATORS: Requested Attributes +msgid "requested-attributes" +msgstr "" + +#. TRANSLATORS: Retry Interval +msgid "retry-interval" +msgstr "" + +#. TRANSLATORS: Retry Timeout +msgid "retry-time-out" +msgstr "" + +#. TRANSLATORS: Save Disposition +msgid "save-disposition" +msgstr "" + +#. TRANSLATORS: None +msgid "save-disposition.none" +msgstr "" + +#. TRANSLATORS: Print and Save +msgid "save-disposition.print-save" +msgstr "" + +#. TRANSLATORS: Save Only +msgid "save-disposition.save-only" +msgstr "" + +#. TRANSLATORS: Save Document Format +msgid "save-document-format" +msgstr "" + +#. TRANSLATORS: Save Info +msgid "save-info" +msgstr "" + +#. TRANSLATORS: Save Location +msgid "save-location" +msgstr "" + +#. TRANSLATORS: Save Name +msgid "save-name" +msgstr "" + +msgid "scheduler is not running" +msgstr "スケジューラーは動作していません" + +msgid "scheduler is running" +msgstr "スケジューラーは動作中です" + +#. TRANSLATORS: Separator Sheets +msgid "separator-sheets" +msgstr "" + +#. TRANSLATORS: Type of Separator Sheets +msgid "separator-sheets-type" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "separator-sheets-type.both-sheets" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "separator-sheets-type.end-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "separator-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Slip Sheets +msgid "separator-sheets-type.slip-sheets" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "separator-sheets-type.start-sheet" +msgstr "" + +#. TRANSLATORS: 2-Sided Printing +msgid "sides" +msgstr "" + +#. TRANSLATORS: Off +msgid "sides.one-sided" +msgstr "" + +#. TRANSLATORS: On (Portrait) +msgid "sides.two-sided-long-edge" +msgstr "" + +#. TRANSLATORS: On (Landscape) +msgid "sides.two-sided-short-edge" +msgstr "" + +#, c-format +msgid "stat of %s failed: %s" +msgstr "%s の状態取得に失敗しました: %s" + +msgid "status\t\tShow status of daemon and queue." +msgstr "status\t\tデーモンとキューの状態を表示。" + +#. TRANSLATORS: Status Message +msgid "status-message" +msgstr "" + +#. TRANSLATORS: Staple +msgid "stitching" +msgstr "" + +#. TRANSLATORS: Stitching Angle +msgid "stitching-angle" +msgstr "" + +#. TRANSLATORS: Stitching Locations +msgid "stitching-locations" +msgstr "" + +#. TRANSLATORS: Staple Method +msgid "stitching-method" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "stitching-method.auto" +msgstr "" + +#. TRANSLATORS: Crimp +msgid "stitching-method.crimp" +msgstr "" + +#. TRANSLATORS: Wire +msgid "stitching-method.wire" +msgstr "" + +#. TRANSLATORS: Stitching Offset +msgid "stitching-offset" +msgstr "" + +#. TRANSLATORS: Staple Edge +msgid "stitching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "stitching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "stitching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "stitching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "stitching-reference-edge.top" +msgstr "" + +msgid "stopped" +msgstr "停止" + +#. TRANSLATORS: Subject +msgid "subject" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Attributes +msgid "subscription-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Subscription Description +msgid "subscription-privacy-attributes.subscription-description" +msgstr "" + +#. TRANSLATORS: Subscription Template +msgid "subscription-privacy-attributes.subscription-template" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Scope +msgid "subscription-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "subscription-privacy-scope.owner" +msgstr "" + +#, c-format +msgid "system default destination: %s" +msgstr "システムのデフォルトの宛先: %s" + +#, c-format +msgid "system default destination: %s/%s" +msgstr "システムのデフォルトの宛先: %s/%s" + +#. TRANSLATORS: T33 Subaddress +msgid "t33-subaddress" +msgstr "T33 Subaddress" + +#. TRANSLATORS: To Name +msgid "to-name" +msgstr "" + +#. TRANSLATORS: Transmission Status +msgid "transmission-status" +msgstr "" + +#. TRANSLATORS: Pending +msgid "transmission-status.3" +msgstr "" + +#. TRANSLATORS: Pending Retry +msgid "transmission-status.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "transmission-status.5" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "transmission-status.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "transmission-status.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "transmission-status.9" +msgstr "" + +#. TRANSLATORS: Cut +msgid "trimming" +msgstr "" + +#. TRANSLATORS: Cut Position +msgid "trimming-offset" +msgstr "" + +#. TRANSLATORS: Cut Edge +msgid "trimming-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "trimming-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "trimming-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "trimming-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "trimming-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Type of Cut +msgid "trimming-type" +msgstr "" + +#. TRANSLATORS: Draw Line +msgid "trimming-type.draw-line" +msgstr "" + +#. TRANSLATORS: Full +msgid "trimming-type.full" +msgstr "" + +#. TRANSLATORS: Partial +msgid "trimming-type.partial" +msgstr "" + +#. TRANSLATORS: Perforate +msgid "trimming-type.perforate" +msgstr "" + +#. TRANSLATORS: Score +msgid "trimming-type.score" +msgstr "" + +#. TRANSLATORS: Tab +msgid "trimming-type.tab" +msgstr "" + +#. TRANSLATORS: Cut After +msgid "trimming-when" +msgstr "" + +#. TRANSLATORS: Every Document +msgid "trimming-when.after-documents" +msgstr "" + +#. TRANSLATORS: Job +msgid "trimming-when.after-job" +msgstr "" + +#. TRANSLATORS: Every Set +msgid "trimming-when.after-sets" +msgstr "" + +#. TRANSLATORS: Every Page +msgid "trimming-when.after-sheets" +msgstr "" + +msgid "unknown" +msgstr "未知" + +msgid "untitled" +msgstr "タイトルなし" + +msgid "variable-bindings uses indefinite length" +msgstr "variable-bindings の長さが不定" + +#. TRANSLATORS: X Accuracy +msgid "x-accuracy" +msgstr "" + +#. TRANSLATORS: X Dimension +msgid "x-dimension" +msgstr "" + +#. TRANSLATORS: X Offset +msgid "x-offset" +msgstr "" + +#. TRANSLATORS: X Origin +msgid "x-origin" +msgstr "" + +#. TRANSLATORS: Y Accuracy +msgid "y-accuracy" +msgstr "" + +#. TRANSLATORS: Y Dimension +msgid "y-dimension" +msgstr "" + +#. TRANSLATORS: Y Offset +msgid "y-offset" +msgstr "" + +#. TRANSLATORS: Y Origin +msgid "y-origin" +msgstr "" + +#. TRANSLATORS: Z Accuracy +msgid "z-accuracy" +msgstr "" + +#. TRANSLATORS: Z Dimension +msgid "z-dimension" +msgstr "" + +#. TRANSLATORS: Z Offset +msgid "z-offset" +msgstr "" + +msgid "{service_domain} Domain name" +msgstr "" + +msgid "{service_hostname} Fully-qualified domain name" +msgstr "" + +msgid "{service_name} Service instance name" +msgstr "" + +msgid "{service_port} Port number" +msgstr "" + +msgid "{service_regtype} DNS-SD registration type" +msgstr "" + +msgid "{service_scheme} URI scheme" +msgstr "" + +msgid "{service_uri} URI" +msgstr "" + +msgid "{txt_*} Value of TXT record key" +msgstr "" + +msgid "{} URI" +msgstr "" + +msgid "~/.cups/lpoptions file names default destination that does not exist." +msgstr "" + +#~ msgid "A Samba password is required to export printer drivers" +#~ msgstr "" +#~ "プリンタードライバーをエクスポートするには Samba のパスワードが必要です。" + +#~ msgid "A Samba username is required to export printer drivers" +#~ msgstr "" +#~ "プリンタードライバーをエクスポートするには、Samba のユーザー名が必要です。" + +#~ msgid "Export Printers to Samba" +#~ msgstr "Samba へプリンターをエクスポート" + +#~ msgid "cupsctl: Cannot set Listen or Port directly." +#~ msgstr "cupsctl: Listen あるいは Port を直接設定できません。" + +#~ msgid "lpadmin: Unable to open PPD file \"%s\" - %s" +#~ msgstr "lpadmin: PPD ファイル \"%s\" を開けません - %s" diff --git a/locale/cups_pt_BR.po b/locale/cups_pt_BR.po new file mode 100644 index 0000000..e5fd768 --- /dev/null +++ b/locale/cups_pt_BR.po @@ -0,0 +1,15158 @@ +# +# Brazilian Portuguese message catalog for CUPS. +# +# Copyright © 2007-2018 by Apple Inc. +# Copyright © 2005-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +# CUPS Glossary/Terminologies en->pt_BR +# +# character set = conjunto de caracteres +# find = encontrar +# get = obter +# locate = localizar +# not supported = Sem suporte a +# open = abrir +# status = estado +# unable = não foi possível +# +msgid "" +msgstr "" +"Project-Id-Version: CUPS 2.3\n" +"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n" +"POT-Creation-Date: 2019-08-23 09:13-0400\n" +"PO-Revision-Date: 2016-01-31 16:45-0200\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.6\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +msgid "\t\t(all)" +msgstr "\t\t(todos)" + +msgid "\t\t(none)" +msgstr "\t\t(nenhum)" + +#, c-format +msgid "\t%d entries" +msgstr "\t%d registros" + +#, c-format +msgid "\t%s" +msgstr "\t%s" + +msgid "\tAfter fault: continue" +msgstr "\tApós a falha: continuar" + +#, c-format +msgid "\tAlerts: %s" +msgstr "\tAlertas: %s" + +msgid "\tBanner required" +msgstr "\tBanner é necessário" + +msgid "\tCharset sets:" +msgstr "\tDefinições de conjunto de caracteres:" + +msgid "\tConnection: direct" +msgstr "\tConexão: direta" + +msgid "\tConnection: remote" +msgstr "\tConexão: remota" + +msgid "\tContent types: any" +msgstr "\tTipos de conteúdos: qualquer" + +msgid "\tDefault page size:" +msgstr "\tTamanho de página padrão:" + +msgid "\tDefault pitch:" +msgstr "\tPitch padrão:" + +msgid "\tDefault port settings:" +msgstr "\tConfiguração de porta padrão:" + +#, c-format +msgid "\tDescription: %s" +msgstr "\tDescrição: %s" + +msgid "\tForm mounted:" +msgstr "\tFormulário montado:" + +msgid "\tForms allowed:" +msgstr "\tFormulários permitidos:" + +#, c-format +msgid "\tInterface: %s.ppd" +msgstr "\tInterface: %s.ppd" + +#, c-format +msgid "\tInterface: %s/ppd/%s.ppd" +msgstr "\tInterface: %s/ppd/%s.ppd" + +#, c-format +msgid "\tLocation: %s" +msgstr "\tLocalização: %s" + +msgid "\tOn fault: no alert" +msgstr "\tCaso de falha: nenhum alerta" + +msgid "\tPrinter types: unknown" +msgstr "\tTipos de impressoras: desconhecido" + +#, c-format +msgid "\tStatus: %s" +msgstr "\tEstado: %s" + +msgid "\tUsers allowed:" +msgstr "\tUsuários permitidos:" + +msgid "\tUsers denied:" +msgstr "\tUsuários proibidos:" + +msgid "\tdaemon present" +msgstr "\tdaemon presente" + +msgid "\tno entries" +msgstr "\tnenhum registro" + +#, c-format +msgid "\tprinter is on device '%s' speed -1" +msgstr "\timpressora está na velocidade -1 do dispositivo \"%s\"" + +msgid "\tprinting is disabled" +msgstr "\timpressão está desabilitada" + +msgid "\tprinting is enabled" +msgstr "\timpressão está habilitada" + +#, c-format +msgid "\tqueued for %s" +msgstr "\tna fila de %s" + +msgid "\tqueuing is disabled" +msgstr "\tenfileiramento está desabilitado" + +msgid "\tqueuing is enabled" +msgstr "\tenfileiramento está habilitado" + +msgid "\treason unknown" +msgstr "\tmotivo desconhecido" + +msgid "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" +msgstr "" +"\n" +" RESULTADOS DETALHADOS DE TESTE DE CONFORMIDADE" + +msgid " REF: Page 15, section 3.1." +msgstr " REF: Página 15, seção 3.1." + +msgid " REF: Page 15, section 3.2." +msgstr " REF: Página 15, seção 3.2." + +msgid " REF: Page 19, section 3.3." +msgstr " REF: Página 19, seção 3.3." + +msgid " REF: Page 20, section 3.4." +msgstr " REF: Página 20, seção 3.4." + +msgid " REF: Page 27, section 3.5." +msgstr " REF: Página 27, seção 3.5." + +msgid " REF: Page 42, section 5.2." +msgstr " REF: Página 42, seção 5.2." + +msgid " REF: Pages 16-17, section 3.2." +msgstr " REF: Página 16-17, seção 3.2." + +msgid " REF: Pages 42-45, section 5.2." +msgstr " REF: Página 42-45, seção 5.2." + +msgid " REF: Pages 45-46, section 5.2." +msgstr " REF: Página 45-46, seção 5.2." + +msgid " REF: Pages 48-49, section 5.2." +msgstr " REF: Página 48-49, seção 5.2." + +msgid " REF: Pages 52-54, section 5.2." +msgstr " REF: Página 52-54, seção 5.2." + +#, c-format +msgid " %-39.39s %.0f bytes" +msgstr " %-39.39s %.0f bytes" + +#, c-format +msgid " PASS Default%s" +msgstr " PASSOU Default%s" + +msgid " PASS DefaultImageableArea" +msgstr " PASSOU DefaultImageableArea" + +msgid " PASS DefaultPaperDimension" +msgstr " PASSOU DefaultPaperDimension" + +msgid " PASS FileVersion" +msgstr " PASSOU FileVersion" + +msgid " PASS FormatVersion" +msgstr " PASSOU FormatVersion" + +msgid " PASS LanguageEncoding" +msgstr " PASSOU LanguageEncoding" + +msgid " PASS LanguageVersion" +msgstr " PASSOU LanguageVersion" + +msgid " PASS Manufacturer" +msgstr " PASSOU Manufacturer" + +msgid " PASS ModelName" +msgstr " PASSOU ModelName" + +msgid " PASS NickName" +msgstr " PASSOU NickName" + +msgid " PASS PCFileName" +msgstr " PASSOU PCFileName" + +msgid " PASS PSVersion" +msgstr " PASSOU PSVersion" + +msgid " PASS PageRegion" +msgstr " PASSOU PageRegion" + +msgid " PASS PageSize" +msgstr " PASSOU PageSize" + +msgid " PASS Product" +msgstr " PASSOU Product" + +msgid " PASS ShortNickName" +msgstr " PASSOU ShortNickName" + +#, c-format +msgid " WARN %s has no corresponding options." +msgstr " AVISO %s não possui opções correspondentes." + +#, c-format +msgid "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." +msgstr "" +" AVISO %s compartilha um prefixo comum com %s\n" +" REF: Página 15, seção 3.2." + +#, c-format +msgid "" +" WARN Duplex option keyword %s may not work as expected and should " +"be named Duplex.\n" +" REF: Page 122, section 5.17" +msgstr "" +" AVISO A opção Duplex de palavra-chave %s pode não funcionar como " +"esperado e deve ser renomeada para Duplex.\n" +" REF: Página 122, seção 5.17" + +msgid " WARN File contains a mix of CR, LF, and CR LF line endings." +msgstr "" +" AVISO Arquivo contém fim das linhas com uma mistura de CR, LF e CR " +"LF." + +msgid "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" AVISO LanguageEncoding é necessário pela especificação PPD 4.3.\n" +" REF: Páginas 56-57, seção 5.3." + +#, c-format +msgid " WARN Line %d only contains whitespace." +msgstr " AVISO Linha %d contém somente espaço em branco." + +msgid "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" AVISO Fabricante é necessário pela especificação PPD 4.3.\n" +" REF: Páginas 58-59, seção 5.3." + +msgid "" +" WARN Non-Windows PPD files should use lines ending with only LF, " +"not CR LF." +msgstr "" +" AVISO Arquivos PPD de sistemas não-Windows deveriam usar fim de " +"linhas somente com LR, e não CR LF." + +#, c-format +msgid "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." +msgstr "" +" AVISO PPD versão %.1f está obsoleto.\n" +" REF: Página 42, seção 5.2." + +msgid "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" AVISO PCFileName maior que 8.3 em violação com especificação PPD.\n" +" REF: Páginas 61-62, seção 5.3." + +msgid "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" AVISO PCFileName deveria conter um nome de arquivo único.\n" +" REF: Páginas 61-62, seção 5.3." + +msgid "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" AVISO Protocolos contêm PJL, mas atributos de JCL não estão " +"definidos.\n" +" REF: Páginas 78-79, seção 5.7." + +msgid "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" AVISO Protocolos contêm ambos PJL e BCP; esperava-se TBCP.\n" +" REF: Páginas 78-79, seção 5.7." + +msgid "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" AVISO ShortNickName é necessário pela especificação PPD 4.3.\n" +" REF: Páginas 64-65, seção 5.3." + +#, c-format +msgid "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." +msgstr "" +" %s \"%s %s\" conflita com \"%s %s\"\n" +" (restrição=\"%s %s %s %s\")." + +#, c-format +msgid " %s %s %s does not exist." +msgstr " %s %s %s não existe." + +#, c-format +msgid " %s %s file \"%s\" has the wrong capitalization." +msgstr " %s Arquivo de %s \"%s\" possui letra maiúscula incorreta." + +#, c-format +msgid "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s Escolha %s inválida para %s.\n" +" REF: Página 122, seção 5.17" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." +msgstr "" +" %s Má string de tradução de \"%s\" em UTF-8 para a opção %s, escolha " +"%s." + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s." +msgstr " %s Má string de tradução de \"%s\" em UTF-8 para a opção %s." + +#, c-format +msgid " %s Bad cupsFilter value \"%s\"." +msgstr " %s Valor \"%s\" inválido para cupsFilter." + +#, c-format +msgid " %s Bad cupsFilter2 value \"%s\"." +msgstr " %s Valor \"%s\" inválido para cupsFilter2." + +#, c-format +msgid " %s Bad cupsICCProfile %s." +msgstr " %s cupsICCProfile %s inválido." + +#, c-format +msgid " %s Bad cupsPreFilter value \"%s\"." +msgstr " %s Valor \"%s\" inválido para cupsPreFilter." + +#, c-format +msgid " %s Bad cupsUIConstraints %s: \"%s\"" +msgstr " %s cupsUIConstraints %s inválido: \"%s\"" + +#, c-format +msgid " %s Bad language \"%s\"." +msgstr " %s Idioma \"%s\" inválido." + +#, c-format +msgid " %s Bad permissions on %s file \"%s\"." +msgstr " %s Permissões inválidas no arquivo %s \"%s\"." + +#, c-format +msgid " %s Bad spelling of %s - should be %s." +msgstr " %s Pronúncia incorreta de %s - deveria ser %s." + +#, c-format +msgid " %s Cannot provide both APScanAppPath and APScanAppBundleID." +msgstr "" +" %s Não é possível fornecer ambos APScanAppPath e APScanAppBundleID." + +#, c-format +msgid " %s Default choices conflicting." +msgstr " %s Escolhas padrão conflitando." + +#, c-format +msgid " %s Empty cupsUIConstraints %s" +msgstr " %s cupsUIConstraints %s vazia" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s, choice %s." +msgstr "" +" %s Faltando string de tradução de \"%s\" para a opção %s, escolha %s." + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s." +msgstr " %s Faltando string de tradução de \"%s\" para a opção %s." + +#, c-format +msgid " %s Missing %s file \"%s\"." +msgstr " %s Faltando %s arquivo \"%s\"." + +#, c-format +msgid "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." +msgstr "" +" %s Faltando opção NECESSÁRIA PageRegion.\n" +" REF: Página 100, seção 5.14." + +#, c-format +msgid "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." +msgstr "" +" %s Faltando opção NECESSÁRIA PageSize.\n" +" REF: Página 99, seção 5.14." + +#, c-format +msgid " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" +" %s Faltando escolha de *%s %s em UIConstraints \"*%s %s *%s %s\"." + +#, c-format +msgid " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" +msgstr " %s Faltando escolha *%s %s em cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s Missing cupsUIResolver %s" +msgstr " %s Faltando cupsUIResolver %s" + +#, c-format +msgid " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." +msgstr " %s Faltando a opção %s em UIConstraints \"*%s %s *%s %s\"." + +#, c-format +msgid " %s Missing option %s in cupsUIConstraints %s: \"%s\"" +msgstr " %s Faltando a opção %s em cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s No base translation \"%s\" is included in file." +msgstr " %s Nenhuma tradução base de \"%s\" está inclusa no arquivo." + +#, c-format +msgid "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s %s NECESSÁRIO não define a escolha None.\n" +" REF: Página 122, seção 5.17" + +#, c-format +msgid " %s Size \"%s\" defined for %s but not for %s." +msgstr " %s Tamanho \"%s\" definido para %s, mas não para %s." + +#, c-format +msgid " %s Size \"%s\" has unexpected dimensions (%gx%g)." +msgstr " %s Tamanho \"%s\" tem dimensões inesperadas (%gx%g)." + +#, c-format +msgid " %s Size \"%s\" should be \"%s\"." +msgstr " %s Tamanho \"%s\" deveria ser \"%s\"." + +#, c-format +msgid " %s Size \"%s\" should be the Adobe standard name \"%s\"." +msgstr "" +" %s Tamanho \"%s\" deveria ser no padrão do Adobo chamado \"%s\"." + +#, c-format +msgid " %s cupsICCProfile %s hash value collides with %s." +msgstr " %s Valor de hash de cupsICCProfile %s colide com %s." + +#, c-format +msgid " %s cupsUIResolver %s causes a loop." +msgstr " %s cupsUIResolver %s causa um loop." + +#, c-format +msgid "" +" %s cupsUIResolver %s does not list at least two different options." +msgstr "" +" %s cupsUIResolver %s não lista pelo menos duas opções diferentes." + +#, c-format +msgid "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" +msgstr "" +" **FALHA** %s deve ser 1284DeviceID\n" +" REF: Página 72, seção 5.5" + +#, c-format +msgid "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **FALHA** Default%s inválido %s\n" +" REF: Página 40, seção 4.5." + +#, c-format +msgid "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." +msgstr "" +" **FALHA** DefaultImageableArea inválido %s\n" +" REF: Página 102, seção 5.15." + +#, c-format +msgid "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." +msgstr "" +" **FALHA** DefaultPaperDimension inválido %s\n" +" REF: Página 103, seção 5.15." + +#, c-format +msgid "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FALHA** FileVersion inválido \"%s\"\n" +" REF: Página 56, seção 5.3." + +#, c-format +msgid "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FALHA** FormatVersion inválido \"%s\"\n" +" REF: Página 56, seção 5.3." + +msgid "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." +msgstr "" +" **FALHA** Atributo inválido de JobPatchFile no arquivo\n" +" REF: Página 24, seção 3.4." + +#, c-format +msgid " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." +msgstr " **FALHA** LanguageEncoding inválido %s - tem que ser ISOLatin1." + +#, c-format +msgid " **FAIL** Bad LanguageVersion %s - must be English." +msgstr " **FALHA** LanguageVersion inválido %s - deve ser Inglês." + +#, c-format +msgid "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." +msgstr "" +" **FALHA** Manufacturer inválido (deveria ser \"%s\")\n" +" REF: Página 211, tabela D.1." + +#, c-format +msgid "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **FALHA** ModelName inválido - \"%c\" não permitido na string.\n" +" REF: Páginas 59-60, seção 5.3." + +msgid "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **FALHA** PSVersion inválida - não \"(string) int\".\n" +" REF: Páginas 62-64, seção 5.3." + +msgid "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." +msgstr "" +" **FALHA** Product inválido - não \"(string)\".\n" +" REF: Página 62, seção 5.3." + +msgid "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" **FALHA** ShortNickName inválido - maior do que 31 caracteres.\n" +" REF: Páginas 64-65, seção 5.3." + +#, c-format +msgid "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" +msgstr "" +" **FALHA** Opção inválido %s escolha %s\n" +" REF: Página 84, seção 5.9" + +#, c-format +msgid " **FAIL** Default option code cannot be interpreted: %s" +msgstr " **FALHA** Código de opção padrão não pode ser interpretado: %s" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s choice %s contains " +"8-bit characters." +msgstr "" +" **FALHA** String de tradução padrão para opção %s escolha %s contém " +"caracteres de 8-bit." + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s contains 8-bit " +"characters." +msgstr "" +" **FALHA** String de tradução padrão para opção %s contém caracteres de " +"8-bit." + +#, c-format +msgid " **FAIL** Group names %s and %s differ only by case." +msgstr "" +" **FALHA** Nomes dos grupos %s e %s se diferem somente por maiúsculo/" +"minúsculo." + +#, c-format +msgid " **FAIL** Multiple occurrences of option %s choice name %s." +msgstr " **FALHA** Múltiplas ocorrências da opção %s escolha de nome %s." + +#, c-format +msgid " **FAIL** Option %s choice names %s and %s differ only by case." +msgstr "" +" **FALHA** Opção %s escolha de nomes %s e %s se diferem somente por " +"maiúsculo/minúsculo." + +#, c-format +msgid " **FAIL** Option names %s and %s differ only by case." +msgstr "" +" **FALHA** Os nomes de opção %s e %s se diferem somente por maiúsculo/" +"minúsculo." + +#, c-format +msgid "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **FALHA** NECESSÁRIO Default%s\n" +" REF: Página 40, seção 4.5." + +msgid "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." +msgstr "" +" **FALHA** NECESSÁRIO DefaultImageableArea\n" +" REF: Página 102, seção 5.15." + +msgid "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." +msgstr "" +" **FALHA** NECESSÁRIO DefaultPaperDimension\n" +" REF: Página 103, seção 5.15." + +msgid "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FALHA** NECESSÁRIO FileVersion\n" +" REF: Página 56, seção 5.3." + +msgid "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **FALHA** NECESSÁRIO FormatVersion\n" +" REF: Página 56, seção 5.3." + +#, c-format +msgid "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." +msgstr "" +" **FALHA** NECESSÁRIO ImageableArea para PageSize %s\n" +" REF: Página 41, seção 5.\n" +" REF: Página 102, seção 5.15." + +msgid "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" **FALHA** NECESSÁRIO LanguageEncoding\n" +" REF: Páginas 56-57, seção 5.3." + +msgid "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." +msgstr "" +" **FALHA** NECESSÁRIO LanguageVersion\n" +" REF: Páginas 57-58, seção 5.3." + +msgid "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" **FALHA** NECESSÁRIO Manufacturer\n" +" REF: Páginas 58-59, seção 5.3." + +msgid "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **FALHA** NECESSÁRIO ModelName\n" +" REF: Páginas 59-60, seção 5.3." + +msgid "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." +msgstr "" +" **FALHA** NECESSÁRIO NickName\n" +" REF: Página 60, seção 5.3." + +msgid "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" **FALHA** NECESSÁRIO PCFileName\n" +" REF: Páginas 61-62, seção 5.3." + +msgid "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **FALHA** NECESSÁRIO PSVersion\n" +" REF: Páginas 62-64, seção 5.3." + +msgid "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." +msgstr "" +" **FALHA** NECESSÁRIO PageRegion\n" +" REF: Página 100, seção 5.14." + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." +msgstr "" +" **FALHA** NECESSÁRIO PageSize\n" +" REF: Página 41, seção 5.\n" +" REF: Página 99, seção 5.14." + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." +msgstr "" +" **FALHA** NECESSÁRIO PageSize\n" +" REF: Páginas 99-100, seção 5.14." + +#, c-format +msgid "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." +msgstr "" +" **FALHA** NECESSÁRIO PaperDimension para PageSize %s\n" +" REF: Página 41, seção 5.\n" +" REF: Página 103, seção 5.15." + +msgid "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." +msgstr "" +" **FALHA** NECESSÁRIO Product\n" +" REF: Página 62, seção 5.3." + +msgid "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." +msgstr "" +" **FALHA** NECESSÁRIO ShortNickName\n" +" REF: Página 64-65, seção 5.3." + +#, c-format +msgid " **FAIL** Unable to open PPD file - %s on line %d." +msgstr " **FALHA** Não foi possível abrir o arquivo PPD - %s na linha %d." + +#, c-format +msgid " %d ERRORS FOUND" +msgstr " %d ERROS ENCONTRADOS" + +msgid " NO ERRORS FOUND" +msgstr " NENHUM ERRO ENCONTRADO" + +msgid " --cr End lines with CR (Mac OS 9)." +msgstr " --cr Fim de linhas com CR (Mac OS 9)." + +msgid " --crlf End lines with CR + LF (Windows)." +msgstr " --crlf Fim de linhas com CR + LF (Windows)." + +msgid " --lf End lines with LF (UNIX/Linux/macOS)." +msgstr "" + +msgid " --list-filters List filters that will be used." +msgstr " --list-filters Lista filtros que serão usados." + +msgid " -D Remove the input file when finished." +msgstr " -D Remove o arquivo de entrada ao finalizar." + +msgid " -D name=value Set named variable to value." +msgstr " -D nome=valor Define a variável \"nome\" com \"valor\"." + +msgid " -I include-dir Add include directory to search path." +msgstr "" +" -I dir-include Adiciona diretório de include ao caminho de " +"pesquisa." + +msgid " -P filename.ppd Set PPD file." +msgstr " -P arquivo.ppd Define arquivo PPD." + +msgid " -U username Specify username." +msgstr " -U usuário Especifica nome do usuário." + +msgid " -c catalog.po Load the specified message catalog." +msgstr "" +" -c catálogo.po Carrega o catálogo de mensagens especificado." + +msgid " -c cups-files.conf Set cups-files.conf file to use." +msgstr "" +" -c cups-files.conf Define o arquivo cups-files.conf para ser usado." + +msgid " -d output-dir Specify the output directory." +msgstr " -d dir-saída Especifica o diretório de saída." + +msgid " -d printer Use the named printer." +msgstr " -d impressora Usa a impressora informada." + +msgid " -e Use every filter from the PPD file." +msgstr " -e Usa todos os filtros do arquivo PPD." + +msgid " -i mime/type Set input MIME type (otherwise auto-typed)." +msgstr "" +" -i tipo-mime Define o tipo MIME de entrada (caso " +"contrário, tipo automático)." + +msgid "" +" -j job-id[,N] Filter file N from the specified job (default is " +"file 1)." +msgstr "" +" -j job-id[,N] Filtra o arquivo N do trabalho especificado " +"(o padrão é o arquivo 1)." + +msgid " -l lang[,lang,...] Specify the output language(s) (locale)." +msgstr " -l idioma[,idioma,...] Especifica o(s) idioma(s) de saída (locale)." + +msgid " -m Use the ModelName value as the filename." +msgstr "" +" -m Usa o valor de ModelName como o nome de arquivo." + +msgid "" +" -m mime/type Set output MIME type (otherwise application/pdf)." +msgstr "" +" -m tipo-mime Define o tipo MIME de saída (caso " +"contrário, aplicação/pdf)." + +msgid " -n copies Set number of copies." +msgstr " -n cópias Define número de cópias." + +msgid "" +" -o filename.drv Set driver information file (otherwise ppdi.drv)." +msgstr "" +" -o arquivo.drv Define o arquivo de informações do " +"driver (caso contrário, ppdi.drv)." + +msgid " -o filename.ppd[.gz] Set output file (otherwise stdout)." +msgstr "" +" -o arquivo.ppd[.gz] Define arquivo de saída (caso contrário, stdout)." + +msgid " -o name=value Set option(s)." +msgstr " -o nome=valor Define opção/opções." + +msgid " -p filename.ppd Set PPD file." +msgstr " -p arquivo.ppd Define arquivo PPD." + +msgid " -t Test PPDs instead of generating them." +msgstr " -t Testa PPDs ao invés de criá-los." + +msgid " -t title Set title." +msgstr " -t título Define um título." + +msgid " -u Remove the PPD file when finished." +msgstr " -u Remove o arquivo PPD ao final." + +msgid " -v Be verbose." +msgstr " -v Modo detalhado." + +msgid " -z Compress PPD files using GNU zip." +msgstr " -z Compacta arquivos PPD usando GNU zip." + +msgid " FAIL" +msgstr " FALHA" + +msgid " PASS" +msgstr " PASSOU" + +msgid "! expression Unary NOT of expression" +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section " +"5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section " +"8.1)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 " +"section 5.1.14)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section " +"5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be " +"positive (RFC 8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC " +"8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section " +"8.3)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." +msgstr "" + +msgid "\"requesting-user-name\" attribute in wrong group." +msgstr "" + +msgid "\"requesting-user-name\" attribute with wrong syntax." +msgstr "" + +#, c-format +msgid "%-7s %-7.7s %-7d %-31.31s %.0f bytes" +msgstr "%-7s %-7.7s %-7d %-31.31s %.0f bytes" + +#, c-format +msgid "%d x %d mm" +msgstr "%d x %d mm" + +#, c-format +msgid "%g x %g \"" +msgstr "" + +#, c-format +msgid "%s (%s)" +msgstr "%s (%s)" + +#, c-format +msgid "%s (%s, %s)" +msgstr "%s (%s, %s)" + +#, c-format +msgid "%s (Borderless)" +msgstr "%s (Sem borda)" + +#, c-format +msgid "%s (Borderless, %s)" +msgstr "%s (Sem borda, %s)" + +#, c-format +msgid "%s (Borderless, %s, %s)" +msgstr "%s (Sem borda, %s, %s)" + +#, c-format +msgid "%s accepting requests since %s" +msgstr "%s está aceitando requisições desde %s" + +#, c-format +msgid "%s cannot be changed." +msgstr "%s não pode ser alterada." + +#, c-format +msgid "%s is not implemented by the CUPS version of lpc." +msgstr "%s não está implementada pela versão CUPS do lpc." + +#, c-format +msgid "%s is not ready" +msgstr "%s não está pronta" + +#, c-format +msgid "%s is ready" +msgstr "%s está pronta" + +#, c-format +msgid "%s is ready and printing" +msgstr "%s está pronta e imprimindo" + +#, c-format +msgid "%s job-id user title copies options [file]" +msgstr "%s job-id usuário título cópia opções [arquivo]" + +#, c-format +msgid "%s not accepting requests since %s -" +msgstr "%s não está aceitando requisições desde %s -" + +#, c-format +msgid "%s not supported." +msgstr "não há suporte a %s." + +#, c-format +msgid "%s/%s accepting requests since %s" +msgstr "%s/%s está aceitando requisições desde %s" + +#, c-format +msgid "%s/%s not accepting requests since %s -" +msgstr "%s/%s não está aceitando requisições desde %s -" + +#, c-format +msgid "%s: %-33.33s [job %d localhost]" +msgstr "%s: %-33.33s [trabalho %d localhost]" + +#. TRANSLATORS: Message is "subject: error" +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#, c-format +msgid "%s: %s failed: %s" +msgstr "%s: %s falhou: %s" + +#, c-format +msgid "%s: Bad printer URI \"%s\"." +msgstr "%s: URI de impressora inválida \"%s\"." + +#, c-format +msgid "%s: Bad version %s for \"-V\"." +msgstr "%s: Versão inválida %s para \"-V\"." + +#, c-format +msgid "%s: Don't know what to do." +msgstr "%s: Não sei o que fazer." + +#, c-format +msgid "%s: Error - %s" +msgstr "" + +#, c-format +msgid "" +"%s: Error - %s environment variable names non-existent destination \"%s\"." +msgstr "" +"%s: Erro - A variável de ambiente %s contém destino inexistente \"%s\"." + +#, c-format +msgid "%s: Error - add '/version=1.1' to server name." +msgstr "%s: Erro - adicione '/version=1.1' ao nome do servidor." + +#, c-format +msgid "%s: Error - bad job ID." +msgstr "%s: Erro - ID de trabalho inválido." + +#, c-format +msgid "%s: Error - cannot print files and alter jobs simultaneously." +msgstr "" +"%s: Erro - não é possível imprimir arquivos e alterar trabalhos " +"simultaneamente." + +#, c-format +msgid "%s: Error - cannot print from stdin if files or a job ID are provided." +msgstr "" +"%s: Erro - não é possível imprimir de stdin se os arquivos ou um ID de " +"trabalho forem fornecidos." + +#, c-format +msgid "%s: Error - copies must be 1 or more." +msgstr "" + +#, c-format +msgid "%s: Error - expected character set after \"-S\" option." +msgstr "%s: Erro - esperava uma codificação de caracteres após a opção \"-S\"." + +#, c-format +msgid "%s: Error - expected content type after \"-T\" option." +msgstr "%s: Erro - esperava um tipo de conteúdo após a opção \"-T\"." + +#, c-format +msgid "%s: Error - expected copies after \"-#\" option." +msgstr "%s: Erro - esperava cópias após a opção \"-#\"." + +#, c-format +msgid "%s: Error - expected copies after \"-n\" option." +msgstr "%s: Erro - esperava cópias após a opção \"-n\"." + +#, c-format +msgid "%s: Error - expected destination after \"-P\" option." +msgstr "%s: Erro - esperava um destino após a opção \"-P\"." + +#, c-format +msgid "%s: Error - expected destination after \"-d\" option." +msgstr "%s: Erro - esperava um destino após a opção \"-d\"." + +#, c-format +msgid "%s: Error - expected form after \"-f\" option." +msgstr "%s: Erro - esperava um formulário após a opção \"-f\"." + +#, c-format +msgid "%s: Error - expected hold name after \"-H\" option." +msgstr "%s: Erro - esperava um nome para segurar após a opção \"-H\"." + +#, c-format +msgid "%s: Error - expected hostname after \"-H\" option." +msgstr "%s: Erro - esperava o nome da máquina após a opção \"-H\"." + +#, c-format +msgid "%s: Error - expected hostname after \"-h\" option." +msgstr "%s: Erro - esperava o nome da máquina após a opção \"-h\"." + +#, c-format +msgid "%s: Error - expected mode list after \"-y\" option." +msgstr "%s: Erro - esperava uma lista de modos após a opção \"-y\"." + +#, c-format +msgid "%s: Error - expected name after \"-%c\" option." +msgstr "%s: Erro - esperava um nome após a opção \"-%c\"." + +#, c-format +msgid "%s: Error - expected option=value after \"-o\" option." +msgstr "%s: Erro - esperava opção=valor após a opção \"-o\"." + +#, c-format +msgid "%s: Error - expected page list after \"-P\" option." +msgstr "%s: Erro - esperava uma lista de página após a opção \"-P\"." + +#, c-format +msgid "%s: Error - expected priority after \"-%c\" option." +msgstr "%s: Erro - esperava uma prioridade após a opção \"-%c\"." + +#, c-format +msgid "%s: Error - expected reason text after \"-r\" option." +msgstr "%s: Erro - esperava um texto com motivo após a opção \"-r\"." + +#, c-format +msgid "%s: Error - expected title after \"-t\" option." +msgstr "%s: Erro - esperava um título após a opção \"-t\"." + +#, c-format +msgid "%s: Error - expected username after \"-U\" option." +msgstr "%s: Erro - esperava um nome de usuário após a opção \"-U\"." + +#, c-format +msgid "%s: Error - expected username after \"-u\" option." +msgstr "%s: Erro - esperava um nome de usuário após a opção \"-u\"." + +#, c-format +msgid "%s: Error - expected value after \"-%c\" option." +msgstr "%s: Erro - esperava um valor após a opção \"-%c\"." + +#, c-format +msgid "" +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" " +"option." +msgstr "" +"%s: Erro - precisa de \"completed\", \"not-completed\" ou \"all\" após a " +"opção \"-W\"." + +#, c-format +msgid "%s: Error - no default destination available." +msgstr "%s: Erro - nenhum destino padrão disponível." + +#, c-format +msgid "%s: Error - priority must be between 1 and 100." +msgstr "%s: Erro - prioridade deve estar entre 1 e 100." + +#, c-format +msgid "%s: Error - scheduler not responding." +msgstr "%s: Erro - agendador não está respondendo." + +#, c-format +msgid "%s: Error - too many files - \"%s\"." +msgstr "%s: Erro - arquivos demais - \"%s\"." + +#, c-format +msgid "%s: Error - unable to access \"%s\" - %s" +msgstr "%s: Erro - não foi possível acessar \"%s\" - %s" + +#, c-format +msgid "%s: Error - unable to queue from stdin - %s." +msgstr "%s: Erro - não foi possível enfilerar de stdin - %s." + +#, c-format +msgid "%s: Error - unknown destination \"%s\"." +msgstr "%s: Erro - destino desconhecido \"%s\"." + +#, c-format +msgid "%s: Error - unknown destination \"%s/%s\"." +msgstr "%s: Erro - destino desconhecido \"%s/%s\"." + +#, c-format +msgid "%s: Error - unknown option \"%c\"." +msgstr "%s: Erro - opção desconhecida \"%c\"." + +#, c-format +msgid "%s: Error - unknown option \"%s\"." +msgstr "%s: Erro - opção desconhecida \"%s\"." + +#, c-format +msgid "%s: Expected job ID after \"-i\" option." +msgstr "%s: Esperava ID do trabalho após a \"-i\"." + +#, c-format +msgid "%s: Invalid destination name in list \"%s\"." +msgstr "%s: Nome de destino inválido na lista \"%s\"." + +#, c-format +msgid "%s: Invalid filter string \"%s\"." +msgstr "%s: String de filtro inválida \"%s\"." + +#, c-format +msgid "%s: Missing filename for \"-P\"." +msgstr "%s: Faltando nome de arquivo para \"-P\"." + +#, c-format +msgid "%s: Missing timeout for \"-T\"." +msgstr "%s: Faltando tempo de espera para \"-T\"." + +#, c-format +msgid "%s: Missing version for \"-V\"." +msgstr "%s: Faltando versão para \"-V\"." + +#, c-format +msgid "%s: Need job ID (\"-i jobid\") before \"-H restart\"." +msgstr "%s: Precisa de ID de trabalho (\"-i jobid\") antes de \"-H restart\"." + +#, c-format +msgid "%s: No filter to convert from %s/%s to %s/%s." +msgstr "%s: Nenhum filtro para converter de %s/%s para %s/%s." + +#, c-format +msgid "%s: Operation failed: %s" +msgstr "%s: Operação falhou: %s" + +#, c-format +msgid "%s: Sorry, no encryption support." +msgstr "%s: Desculpa, não há suporte a criptografia." + +#, c-format +msgid "%s: Unable to connect to \"%s:%d\": %s" +msgstr "%s: Não foi possível conectar a \"%s:%d\": %s" + +#, c-format +msgid "%s: Unable to connect to server." +msgstr "%s: Não foi possível conectar ao servidor." + +#, c-format +msgid "%s: Unable to contact server." +msgstr "%s: Não foi possível contactar o servidor." + +#, c-format +msgid "%s: Unable to create PPD file: %s" +msgstr "%s: Não foi possível criar o arquivo PDD: %s" + +#, c-format +msgid "%s: Unable to determine MIME type of \"%s\"." +msgstr "%s: Não foi possível determinar o tipo MIME de \"%s\"." + +#, c-format +msgid "%s: Unable to open \"%s\": %s" +msgstr "%s: Não foi possível abrir \"%s\": %s" + +#, c-format +msgid "%s: Unable to open %s: %s" +msgstr "%s: Não foi possível abrir %s: %s" + +#, c-format +msgid "%s: Unable to open PPD file: %s on line %d." +msgstr "%s: Não foi possível abrir o arquivo PPD: %s na linha %d." + +#, c-format +msgid "%s: Unable to query printer: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to read MIME database from \"%s\" or \"%s\"." +msgstr "%s: Não foi possível ler o banco de dados MIME de \"%s\" ou \"%s\"." + +#, c-format +msgid "%s: Unable to resolve \"%s\"." +msgstr "%s: Não foi possível resolver \"%s\"." + +#, c-format +msgid "%s: Unknown argument \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown destination \"%s\"." +msgstr "%s: Destino desconhecido \"%s\"." + +#, c-format +msgid "%s: Unknown destination MIME type %s/%s." +msgstr "%s: Tipo de MIME de destino desconhecido %s/%s." + +#, c-format +msgid "%s: Unknown option \"%c\"." +msgstr "%s: Opção desconhecida \"%c\"." + +#, c-format +msgid "%s: Unknown option \"%s\"." +msgstr "%s: Opção desconhecida \"%s\"." + +#, c-format +msgid "%s: Unknown option \"-%c\"." +msgstr "%s: Opção desconhecida \"-%c\"." + +#, c-format +msgid "%s: Unknown source MIME type %s/%s." +msgstr "%s: Tipo MIME de origem desconhecida %s/%s." + +#, c-format +msgid "" +"%s: Warning - \"%c\" format modifier not supported - output may not be " +"correct." +msgstr "" +"%s: Aviso - não há suporte ao modificador de formato \"%c\" - a saída pode " +"não ficar correta." + +#, c-format +msgid "%s: Warning - character set option ignored." +msgstr "%s: Aviso - opção de conjunto de caracteres ignorada." + +#, c-format +msgid "%s: Warning - content type option ignored." +msgstr "%s: Aviso - opção de tipo de conteúdo ignorada." + +#, c-format +msgid "%s: Warning - form option ignored." +msgstr "%s: Aviso - opção de formulário ignorada." + +#, c-format +msgid "%s: Warning - mode option ignored." +msgstr "%s: Aviso - opção modo ignorada." + +msgid "( expressions ) Group expressions" +msgstr "" + +msgid "- Cancel all jobs" +msgstr "" + +msgid "-# num-copies Specify the number of copies to print" +msgstr "" + +msgid "--[no-]debug-logging Turn debug logging on/off" +msgstr "" + +msgid "--[no-]remote-admin Turn remote administration on/off" +msgstr "" + +msgid "--[no-]remote-any Allow/prevent access from the Internet" +msgstr "" + +msgid "--[no-]share-printers Turn printer sharing on/off" +msgstr "" + +msgid "--[no-]user-cancel-any Allow/prevent users to cancel any job" +msgstr "" + +msgid "" +"--device-id device-id Show models matching the given IEEE 1284 device ID" +msgstr "" + +msgid "--domain regex Match domain to regular expression" +msgstr "" + +msgid "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" +msgstr "" + +msgid "" +"--exec utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "--false Always false" +msgstr "" + +msgid "--help Show program help" +msgstr "" + +msgid "--hold Hold new jobs" +msgstr "" + +msgid "--host regex Match hostname to regular expression" +msgstr "" + +msgid "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" +msgstr "" + +msgid "--ippserver filename Produce ippserver attribute file" +msgstr "" + +msgid "--language locale Show models matching the given locale" +msgstr "" + +msgid "--local True if service is local" +msgstr "" + +msgid "--ls List attributes" +msgstr "" + +msgid "" +"--make-and-model name Show models matching the given make and model name" +msgstr "" + +msgid "--name regex Match service name to regular expression" +msgstr "" + +msgid "--no-web-forms Disable web forms for media and supplies" +msgstr "" + +msgid "--not expression Unary NOT of expression" +msgstr "" + +msgid "--path regex Match resource path to regular expression" +msgstr "" + +msgid "--port number[-number] Match port to number or range" +msgstr "" + +msgid "--print Print URI if true" +msgstr "" + +msgid "--print-name Print service name if true" +msgstr "" + +msgid "" +"--product name Show models matching the given PostScript product" +msgstr "" + +msgid "--quiet Quietly report match via exit code" +msgstr "" + +msgid "--release Release previously held jobs" +msgstr "" + +msgid "--remote True if service is remote" +msgstr "" + +msgid "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" +msgstr "" + +msgid "" +"--timeout seconds Specify the maximum number of seconds to discover " +"devices" +msgstr "" + +msgid "--true Always true" +msgstr "" + +msgid "--txt key True if the TXT record contains the key" +msgstr "" + +msgid "--txt-* regex Match TXT record key to regular expression" +msgstr "" + +msgid "--uri regex Match URI to regular expression" +msgstr "" + +msgid "--version Show program version" +msgstr "" + +msgid "--version Show version" +msgstr "" + +msgid "-1" +msgstr "-1" + +msgid "-10" +msgstr "-10" + +msgid "-100" +msgstr "-100" + +msgid "-105" +msgstr "-105" + +msgid "-11" +msgstr "-11" + +msgid "-110" +msgstr "-110" + +msgid "-115" +msgstr "-115" + +msgid "-12" +msgstr "-12" + +msgid "-120" +msgstr "-120" + +msgid "-13" +msgstr "-13" + +msgid "-14" +msgstr "-14" + +msgid "-15" +msgstr "-15" + +msgid "-2" +msgstr "-2" + +msgid "-2 Set 2-sided printing support (default=1-sided)" +msgstr "" + +msgid "-20" +msgstr "-20" + +msgid "-25" +msgstr "-25" + +msgid "-3" +msgstr "-3" + +msgid "-30" +msgstr "-30" + +msgid "-35" +msgstr "-35" + +msgid "-4" +msgstr "-4" + +msgid "-4 Connect using IPv4" +msgstr "" + +msgid "-40" +msgstr "-40" + +msgid "-45" +msgstr "-45" + +msgid "-5" +msgstr "-5" + +msgid "-50" +msgstr "-50" + +msgid "-55" +msgstr "-55" + +msgid "-6" +msgstr "-6" + +msgid "-6 Connect using IPv6" +msgstr "" + +msgid "-60" +msgstr "-60" + +msgid "-65" +msgstr "-65" + +msgid "-7" +msgstr "-7" + +msgid "-70" +msgstr "-70" + +msgid "-75" +msgstr "-75" + +msgid "-8" +msgstr "-8" + +msgid "-80" +msgstr "-80" + +msgid "-85" +msgstr "-85" + +msgid "-9" +msgstr "-9" + +msgid "-90" +msgstr "-90" + +msgid "-95" +msgstr "-95" + +msgid "-C Send requests using chunking (default)" +msgstr "" + +msgid "-D description Specify the textual description of the printer" +msgstr "" + +msgid "-D device-uri Set the device URI for the printer" +msgstr "" + +msgid "" +"-E Enable and accept jobs on the printer (after -p)" +msgstr "" + +msgid "-E Encrypt the connection to the server" +msgstr "" + +msgid "-E Test with encryption using HTTP Upgrade to TLS" +msgstr "" + +msgid "-F Run in the foreground but detach from console." +msgstr "" + +msgid "-F output-type/subtype Set the output format for the printer" +msgstr "" + +msgid "-H Show the default server and port" +msgstr "" + +msgid "-H HH:MM Hold the job until the specified UTC time" +msgstr "" + +msgid "-H hold Hold the job until released/resumed" +msgstr "" + +msgid "-H immediate Print the job as soon as possible" +msgstr "" + +msgid "-H restart Reprint the job" +msgstr "" + +msgid "-H resume Resume a held job" +msgstr "" + +msgid "-H server[:port] Connect to the named server and port" +msgstr "" + +msgid "-I Ignore errors" +msgstr "" + +msgid "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" +msgstr "" + +msgid "" +"-K keypath Set location of server X.509 certificates and keys." +msgstr "" + +msgid "-L Send requests using content-length" +msgstr "" + +msgid "-L location Specify the textual location of the printer" +msgstr "" + +msgid "-M manufacturer Set manufacturer name (default=Test)" +msgstr "" + +msgid "-P destination Show status for the specified destination" +msgstr "" + +msgid "-P destination Specify the destination" +msgstr "" + +msgid "" +"-P filename.plist Produce XML plist to a file and test report to " +"standard output" +msgstr "" + +msgid "-P filename.ppd Load printer attributes from PPD file" +msgstr "" + +msgid "-P number[-number] Match port to number or range" +msgstr "" + +msgid "-P page-list Specify a list of pages to print" +msgstr "" + +msgid "-R Show the ranking of jobs" +msgstr "" + +msgid "-R name-default Remove the default value for the named option" +msgstr "" + +msgid "-R root-directory Set alternate root" +msgstr "" + +msgid "-S Test with encryption using HTTPS" +msgstr "" + +msgid "-T seconds Set the browse timeout in seconds" +msgstr "" + +msgid "-T seconds Set the receive/send timeout in seconds" +msgstr "" + +msgid "-T title Specify the job title" +msgstr "" + +msgid "-U username Specify the username to use for authentication" +msgstr "" + +msgid "-U username Specify username to use for authentication" +msgstr "" + +msgid "-V version Set default IPP version" +msgstr "" + +msgid "-W completed Show completed jobs" +msgstr "" + +msgid "-W not-completed Show pending jobs" +msgstr "" + +msgid "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes," +"translations}\n" +" Issue warnings instead of errors" +msgstr "" + +msgid "-X Produce XML plist instead of plain text" +msgstr "" + +msgid "-a Cancel all jobs" +msgstr "" + +msgid "-a Show jobs on all destinations" +msgstr "" + +msgid "-a [destination(s)] Show the accepting state of destinations" +msgstr "" + +msgid "-a filename.conf Load printer attributes from conf file" +msgstr "" + +msgid "-c Make a copy of the print file(s)" +msgstr "" + +msgid "-c Produce CSV output" +msgstr "" + +msgid "-c [class(es)] Show classes and their member printers" +msgstr "" + +msgid "-c class Add the named destination to a class" +msgstr "" + +msgid "-c command Set print command" +msgstr "" + +msgid "-c cupsd.conf Set cupsd.conf file to use." +msgstr "" + +msgid "-d Show the default destination" +msgstr "" + +msgid "-d destination Set default destination" +msgstr "" + +msgid "-d destination Set the named destination as the server default" +msgstr "" + +msgid "-d name=value Set named variable to value" +msgstr "" + +msgid "-d regex Match domain to regular expression" +msgstr "" + +msgid "-d spool-directory Set spool directory" +msgstr "" + +msgid "-e Show available destinations on the network" +msgstr "" + +msgid "-f Run in the foreground." +msgstr "" + +msgid "-f filename Set default request filename" +msgstr "" + +msgid "-f type/subtype[,...] Set supported file types" +msgstr "" + +msgid "-h Show this usage message." +msgstr "" + +msgid "-h Validate HTTP response headers" +msgstr "" + +msgid "-h regex Match hostname to regular expression" +msgstr "" + +msgid "-h server[:port] Connect to the named server and port" +msgstr "" + +msgid "-i iconfile.png Set icon file" +msgstr "" + +msgid "-i id Specify an existing job ID to modify" +msgstr "" + +msgid "-i ppd-file Specify a PPD file for the printer" +msgstr "" + +msgid "" +"-i seconds Repeat the last file with the given time interval" +msgstr "" + +msgid "-k Keep job spool files" +msgstr "" + +msgid "-l List attributes" +msgstr "" + +msgid "-l Produce plain text output" +msgstr "" + +msgid "-l Run cupsd on demand." +msgstr "" + +msgid "-l Show supported options and values" +msgstr "" + +msgid "-l Show verbose (long) output" +msgstr "" + +msgid "-l location Set location of printer" +msgstr "" + +msgid "" +"-m Send an email notification when the job completes" +msgstr "" + +msgid "-m Show models" +msgstr "" + +msgid "" +"-m everywhere Specify the printer is compatible with IPP Everywhere" +msgstr "" + +msgid "-m model Set model name (default=Printer)" +msgstr "" + +msgid "" +"-m model Specify a standard model/PPD file for the printer" +msgstr "" + +msgid "-n count Repeat the last file the given number of times" +msgstr "" + +msgid "-n hostname Set hostname for printer" +msgstr "" + +msgid "-n num-copies Specify the number of copies to print" +msgstr "" + +msgid "-n regex Match service name to regular expression" +msgstr "" + +msgid "" +"-o Name=Value Specify the default value for the named PPD option " +msgstr "" + +msgid "-o [destination(s)] Show jobs" +msgstr "" + +msgid "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" +msgstr "" + +msgid "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" +msgstr "" + +msgid "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" +msgstr "" + +msgid "-o job-page-limit=N Specify the page limit for per-user quotas" +msgstr "" + +msgid "-o job-quota-period=N Specify the per-user quota period in seconds" +msgstr "" + +msgid "-o job-sheets=standard Print a banner page with the job" +msgstr "" + +msgid "-o media=size Specify the media size to use" +msgstr "" + +msgid "-o name-default=value Specify the default value for the named option" +msgstr "" + +msgid "-o name[=value] Set default option and value" +msgstr "" + +msgid "" +"-o number-up=N Specify that input pages should be printed N-up (1, " +"2, 4, 6, 9, and 16 are supported)" +msgstr "" + +msgid "-o option[=value] Specify a printer-specific option" +msgstr "" + +msgid "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" +msgstr "" + +msgid "" +"-o print-quality=N Specify the print quality - draft (3), normal (4), " +"or best (5)" +msgstr "" + +msgid "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" +msgstr "" + +msgid "" +"-o printer-is-shared=true\n" +" Share the printer" +msgstr "" + +msgid "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" +msgstr "" + +msgid "-o sides=one-sided Specify 1-sided printing" +msgstr "" + +msgid "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" +msgstr "" + +msgid "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" +msgstr "" + +msgid "-p Print URI if true" +msgstr "" + +msgid "-p [printer(s)] Show the processing state of destinations" +msgstr "" + +msgid "-p destination Specify a destination" +msgstr "" + +msgid "-p destination Specify/add the named destination" +msgstr "" + +msgid "-p port Set port number for printer" +msgstr "" + +msgid "-q Quietly report match via exit code" +msgstr "" + +msgid "-q Run silently" +msgstr "" + +msgid "-q Specify the job should be held for printing" +msgstr "" + +msgid "-q priority Specify the priority from low (1) to high (100)" +msgstr "" + +msgid "-r Remove the file(s) after submission" +msgstr "" + +msgid "-r Show whether the CUPS server is running" +msgstr "" + +msgid "-r True if service is remote" +msgstr "" + +msgid "-r Use 'relaxed' open mode" +msgstr "" + +msgid "-r class Remove the named destination from a class" +msgstr "" + +msgid "-r reason Specify a reason message that others can see" +msgstr "" + +msgid "-r subtype,[subtype] Set DNS-SD service subtype" +msgstr "" + +msgid "-s Be silent" +msgstr "" + +msgid "-s Print service name if true" +msgstr "" + +msgid "-s Show a status summary" +msgstr "" + +msgid "-s cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid "-s speed[,color-speed] Set speed in pages per minute" +msgstr "" + +msgid "-t Produce a test report" +msgstr "" + +msgid "-t Show all status information" +msgstr "" + +msgid "-t Test the configuration file." +msgstr "" + +msgid "-t key True if the TXT record contains the key" +msgstr "" + +msgid "-t title Specify the job title" +msgstr "" + +msgid "" +"-u [user(s)] Show jobs queued by the current or specified users" +msgstr "" + +msgid "-u allow:all Allow all users to print" +msgstr "" + +msgid "" +"-u allow:list Allow the list of users or groups (@name) to print" +msgstr "" + +msgid "" +"-u deny:list Prevent the list of users or groups (@name) to print" +msgstr "" + +msgid "-u owner Specify the owner to use for jobs" +msgstr "" + +msgid "-u regex Match URI to regular expression" +msgstr "" + +msgid "-v Be verbose" +msgstr "" + +msgid "-v Show devices" +msgstr "" + +msgid "-v [printer(s)] Show the devices for each destination" +msgstr "" + +msgid "-v device-uri Specify the device URI for the printer" +msgstr "" + +msgid "-vv Be very verbose" +msgstr "" + +msgid "-x Purge jobs rather than just canceling" +msgstr "" + +msgid "-x destination Remove default options for destination" +msgstr "" + +msgid "-x destination Remove the named destination" +msgstr "" + +msgid "" +"-x utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "/etc/cups/lpoptions file names default destination that does not exist." +msgstr "" + +msgid "0" +msgstr "0" + +msgid "1" +msgstr "1" + +msgid "1 inch/sec." +msgstr "1 pol/seg." + +msgid "1.25x0.25\"" +msgstr "1.25x0.25\"" + +msgid "1.25x2.25\"" +msgstr "1.25x2.25\"" + +msgid "1.5 inch/sec." +msgstr "1.5 pol/seg." + +msgid "1.50x0.25\"" +msgstr "1.50x0.25\"" + +msgid "1.50x0.50\"" +msgstr "1.50x0.50\"" + +msgid "1.50x1.00\"" +msgstr "1.50x1.00\"" + +msgid "1.50x2.00\"" +msgstr "1.50x2.00\"" + +msgid "10" +msgstr "10" + +msgid "10 inches/sec." +msgstr "10 pol/seg." + +msgid "10 x 11" +msgstr "10 x 11" + +msgid "10 x 13" +msgstr "10 x 13" + +msgid "10 x 14" +msgstr "10 x 14" + +msgid "100" +msgstr "100" + +msgid "100 mm/sec." +msgstr "100 mm/s" + +msgid "105" +msgstr "105" + +msgid "11" +msgstr "11" + +msgid "11 inches/sec." +msgstr "11 pol/s" + +msgid "110" +msgstr "110" + +msgid "115" +msgstr "115" + +msgid "12" +msgstr "12" + +msgid "12 inches/sec." +msgstr "12 pol/s" + +msgid "12 x 11" +msgstr "12 x 11" + +msgid "120" +msgstr "120" + +msgid "120 mm/sec." +msgstr "120 mm/s" + +msgid "120x60dpi" +msgstr "120x60dpi" + +msgid "120x72dpi" +msgstr "120x72dpi" + +msgid "13" +msgstr "13" + +msgid "136dpi" +msgstr "136dpi" + +msgid "14" +msgstr "14" + +msgid "15" +msgstr "15" + +msgid "15 mm/sec." +msgstr "15 mm/s" + +msgid "15 x 11" +msgstr "15 x 11" + +msgid "150 mm/sec." +msgstr "150 mm/s" + +msgid "150dpi" +msgstr "150dpi" + +msgid "16" +msgstr "16" + +msgid "17" +msgstr "17" + +msgid "18" +msgstr "18" + +msgid "180dpi" +msgstr "180dpi" + +msgid "19" +msgstr "19" + +msgid "2" +msgstr "2" + +msgid "2 inches/sec." +msgstr "2 pol/s" + +msgid "2-Sided Printing" +msgstr "Frente e Verso" + +msgid "2.00x0.37\"" +msgstr "2.00x0.37\"" + +msgid "2.00x0.50\"" +msgstr "2.00x0.50\"" + +msgid "2.00x1.00\"" +msgstr "2.00x1.00\"" + +msgid "2.00x1.25\"" +msgstr "2.00x1.25\"" + +msgid "2.00x2.00\"" +msgstr "2.00x2.00\"" + +msgid "2.00x3.00\"" +msgstr "2.00x3.00\"" + +msgid "2.00x4.00\"" +msgstr "2.00x4.00\"" + +msgid "2.00x5.50\"" +msgstr "2.00x5.50\"" + +msgid "2.25x0.50\"" +msgstr "2.25x0.50\"" + +msgid "2.25x1.25\"" +msgstr "2.25x1.25\"" + +msgid "2.25x4.00\"" +msgstr "2.25x4.00\"" + +msgid "2.25x5.50\"" +msgstr "2.25x5.50\"" + +msgid "2.38x5.50\"" +msgstr "2.38x5.50\"" + +msgid "2.5 inches/sec." +msgstr "2.5 pol/s" + +msgid "2.50x1.00\"" +msgstr "2.50x1.00\"" + +msgid "2.50x2.00\"" +msgstr "2.50x2.00\"" + +msgid "2.75x1.25\"" +msgstr "2.75x1.25\"" + +msgid "2.9 x 1\"" +msgstr "2.9 x 1\"" + +msgid "20" +msgstr "20" + +msgid "20 mm/sec." +msgstr "20 mm/s" + +msgid "200 mm/sec." +msgstr "200 mm/s" + +msgid "203dpi" +msgstr "203dpi" + +msgid "21" +msgstr "21" + +msgid "22" +msgstr "22" + +msgid "23" +msgstr "23" + +msgid "24" +msgstr "24" + +msgid "24-Pin Series" +msgstr "Séries de 24 agulhas" + +msgid "240x72dpi" +msgstr "240x72dpi" + +msgid "25" +msgstr "25" + +msgid "250 mm/sec." +msgstr "250 mm/s" + +msgid "26" +msgstr "26" + +msgid "27" +msgstr "27" + +msgid "28" +msgstr "28" + +msgid "29" +msgstr "29" + +msgid "3" +msgstr "3" + +msgid "3 inches/sec." +msgstr "3 pol/s" + +msgid "3 x 5" +msgstr "3 x 5" + +msgid "3.00x1.00\"" +msgstr "3.00x1.00\"" + +msgid "3.00x1.25\"" +msgstr "3.00x1.25\"" + +msgid "3.00x2.00\"" +msgstr "3.00x2.00\"" + +msgid "3.00x3.00\"" +msgstr "3.00x3.00\"" + +msgid "3.00x5.00\"" +msgstr "3.00x5.00\"" + +msgid "3.25x2.00\"" +msgstr "3.25x2.00\"" + +msgid "3.25x5.00\"" +msgstr "3.25x5.00\"" + +msgid "3.25x5.50\"" +msgstr "3.25x5.50\"" + +msgid "3.25x5.83\"" +msgstr "3.25x5.83\"" + +msgid "3.25x7.83\"" +msgstr "3.25x7.83\"" + +msgid "3.5 x 5" +msgstr "3.5 x 5" + +msgid "3.5\" Disk" +msgstr "Disco de 3.5\"" + +msgid "3.50x1.00\"" +msgstr "3.50x1.00\"" + +msgid "30" +msgstr "30" + +msgid "30 mm/sec." +msgstr "30 mm/s" + +msgid "300 mm/sec." +msgstr "300 mm/s" + +msgid "300dpi" +msgstr "300dpi" + +msgid "35" +msgstr "35" + +msgid "360dpi" +msgstr "360dpi" + +msgid "360x180dpi" +msgstr "360x180dpi" + +msgid "4" +msgstr "4" + +msgid "4 inches/sec." +msgstr "4 pol/s" + +msgid "4.00x1.00\"" +msgstr "4.00x1.00\"" + +msgid "4.00x13.00\"" +msgstr "4.00x13.00\"" + +msgid "4.00x2.00\"" +msgstr "4.00x2.00\"" + +msgid "4.00x2.50\"" +msgstr "4.00x2.50\"" + +msgid "4.00x3.00\"" +msgstr "4.00x3.00\"" + +msgid "4.00x4.00\"" +msgstr "4.00x4.00\"" + +msgid "4.00x5.00\"" +msgstr "4.00x5.00\"" + +msgid "4.00x6.00\"" +msgstr "4.00x6.00\"" + +msgid "4.00x6.50\"" +msgstr "4.00x6.50\"" + +msgid "40" +msgstr "40" + +msgid "40 mm/sec." +msgstr "40 mm/s" + +msgid "45" +msgstr "45" + +msgid "5" +msgstr "5" + +msgid "5 inches/sec." +msgstr "5 pol/s" + +msgid "5 x 7" +msgstr "5 x 7" + +msgid "50" +msgstr "50" + +msgid "55" +msgstr "55" + +msgid "6" +msgstr "6" + +msgid "6 inches/sec." +msgstr "6 pol/s" + +msgid "6.00x1.00\"" +msgstr "6.00x1.00\"" + +msgid "6.00x2.00\"" +msgstr "6.00x2.00\"" + +msgid "6.00x3.00\"" +msgstr "6.00x3.00\"" + +msgid "6.00x4.00\"" +msgstr "6.00x4.00\"" + +msgid "6.00x5.00\"" +msgstr "6.00x5.00\"" + +msgid "6.00x6.00\"" +msgstr "6.00x6.00\"" + +msgid "6.00x6.50\"" +msgstr "6.00x6.50\"" + +msgid "60" +msgstr "60" + +msgid "60 mm/sec." +msgstr "60 mm/s" + +msgid "600dpi" +msgstr "600dpi" + +msgid "60dpi" +msgstr "60dpi" + +msgid "60x72dpi" +msgstr "60x72dpi" + +msgid "65" +msgstr "65" + +msgid "7" +msgstr "7" + +msgid "7 inches/sec." +msgstr "7 pol/s" + +msgid "7 x 9" +msgstr "7 x 9" + +msgid "70" +msgstr "70" + +msgid "75" +msgstr "75" + +msgid "8" +msgstr "8" + +msgid "8 inches/sec." +msgstr "8 pol/s" + +msgid "8 x 10" +msgstr "8 x 10" + +msgid "8.00x1.00\"" +msgstr "8.00x1.00\"" + +msgid "8.00x2.00\"" +msgstr "8.00x2.00\"" + +msgid "8.00x3.00\"" +msgstr "8.00x3.00\"" + +msgid "8.00x4.00\"" +msgstr "8.00x4.00\"" + +msgid "8.00x5.00\"" +msgstr "8.00x5.00\"" + +msgid "8.00x6.00\"" +msgstr "8.00x6.00\"" + +msgid "8.00x6.50\"" +msgstr "8.00x6.50\"" + +msgid "80" +msgstr "80" + +msgid "80 mm/sec." +msgstr "80 mm/s" + +msgid "85" +msgstr "85" + +msgid "9" +msgstr "9" + +msgid "9 inches/sec." +msgstr "9 pol/s" + +msgid "9 x 11" +msgstr "9 x 11" + +msgid "9 x 12" +msgstr "9 x 12" + +msgid "9-Pin Series" +msgstr "Série de 9 agulhas" + +msgid "90" +msgstr "90" + +msgid "95" +msgstr "95" + +msgid "?Invalid help command unknown." +msgstr "?Comando de ajuda inválido desconhecido." + +#, c-format +msgid "A class named \"%s\" already exists." +msgstr "Uma classe chamada \"%s\" já existe." + +#, c-format +msgid "A printer named \"%s\" already exists." +msgstr "Uma impressora chamada \"%s\" já existe." + +msgid "A0" +msgstr "A0" + +msgid "A0 Long Edge" +msgstr "A0 borda maior" + +msgid "A1" +msgstr "A1" + +msgid "A1 Long Edge" +msgstr "A1 borda maior" + +msgid "A10" +msgstr "A10" + +msgid "A2" +msgstr "A2" + +msgid "A2 Long Edge" +msgstr "A2 borda maior" + +msgid "A3" +msgstr "A3" + +msgid "A3 Long Edge" +msgstr "A3 borda maior" + +msgid "A3 Oversize" +msgstr "A3 grande" + +msgid "A3 Oversize Long Edge" +msgstr "A3 borda muito maior" + +msgid "A4" +msgstr "A4" + +msgid "A4 Long Edge" +msgstr "A4 borda maior" + +msgid "A4 Oversize" +msgstr "A4 grande" + +msgid "A4 Small" +msgstr "A4 pequeno" + +msgid "A5" +msgstr "A5" + +msgid "A5 Long Edge" +msgstr "A5 borda maior" + +msgid "A5 Oversize" +msgstr "A5 grande" + +msgid "A6" +msgstr "A6" + +msgid "A6 Long Edge" +msgstr "A6 borda maior" + +msgid "A7" +msgstr "A7" + +msgid "A8" +msgstr "A8" + +msgid "A9" +msgstr "A9" + +msgid "ANSI A" +msgstr "ANSI A" + +msgid "ANSI B" +msgstr "ANSI B" + +msgid "ANSI C" +msgstr "ANSI C" + +msgid "ANSI D" +msgstr "ANSI D" + +msgid "ANSI E" +msgstr "ANSI E" + +msgid "ARCH C" +msgstr "ARCH C" + +msgid "ARCH C Long Edge" +msgstr "ARCH C borda maior" + +msgid "ARCH D" +msgstr "ARCH D" + +msgid "ARCH D Long Edge" +msgstr "ARCH D borda maior" + +msgid "ARCH E" +msgstr "ARCH E" + +msgid "ARCH E Long Edge" +msgstr "ARCH E borda maior" + +msgid "Accept Jobs" +msgstr "Aceitando trabalhos" + +msgid "Accepted" +msgstr "Aceitou" + +msgid "Add Class" +msgstr "Adicionar classe" + +msgid "Add Printer" +msgstr "Adicionar impressora" + +msgid "Address" +msgstr "Endereço" + +msgid "Administration" +msgstr "Administração" + +msgid "Always" +msgstr "Sempre" + +msgid "AppSocket/HP JetDirect" +msgstr "AppSocket/HP JetDirect" + +msgid "Applicator" +msgstr "Aplicador" + +#, c-format +msgid "Attempt to set %s printer-state to bad value %d." +msgstr "" +"Tentativa de definir o estado da impressora %s para o valor inválido %d." + +#, c-format +msgid "Attribute \"%s\" is in the wrong group." +msgstr "" + +#, c-format +msgid "Attribute \"%s\" is the wrong value type." +msgstr "" + +#, c-format +msgid "Attribute groups are out of order (%x < %x)." +msgstr "Grupos de atributos estão fora de ordem (%x < %x)." + +msgid "B0" +msgstr "B0" + +msgid "B1" +msgstr "B1" + +msgid "B10" +msgstr "B10" + +msgid "B2" +msgstr "B2" + +msgid "B3" +msgstr "B3" + +msgid "B4" +msgstr "B4" + +msgid "B5" +msgstr "B5" + +msgid "B5 Oversize" +msgstr "B5 grande" + +msgid "B6" +msgstr "B6" + +msgid "B7" +msgstr "B7" + +msgid "B8" +msgstr "B8" + +msgid "B9" +msgstr "B9" + +#, c-format +msgid "Bad \"printer-id\" value %d." +msgstr "" + +#, c-format +msgid "Bad '%s' value." +msgstr "" + +#, c-format +msgid "Bad 'document-format' value \"%s\"." +msgstr "Valor de \"document-format\" inválido \"%s\"." + +msgid "Bad CloseUI/JCLCloseUI" +msgstr "" + +msgid "Bad NULL dests pointer" +msgstr "Ponteiro de destinatário NULO inválido" + +msgid "Bad OpenGroup" +msgstr "OpenGroup inválido" + +msgid "Bad OpenUI/JCLOpenUI" +msgstr "OpenUI/JCLOpenUI inválido" + +msgid "Bad OrderDependency" +msgstr "OrderDependency inválido" + +msgid "Bad PPD cache file." +msgstr "Arquivo de cache de PPD inválido." + +msgid "Bad PPD file." +msgstr "" + +msgid "Bad Request" +msgstr "Requisição inválida" + +msgid "Bad SNMP version number" +msgstr "Número de versão SNMP inválido" + +msgid "Bad UIConstraints" +msgstr "UIConstraints inválido" + +msgid "Bad URI." +msgstr "" + +msgid "Bad arguments to function" +msgstr "Argumentos inválidos para função" + +#, c-format +msgid "Bad copies value %d." +msgstr "Valor de cópias inválido %d." + +msgid "Bad custom parameter" +msgstr "Parâmetro personalizado inválido" + +#, c-format +msgid "Bad device-uri \"%s\"." +msgstr "device-uri inválido \"%s\"." + +#, c-format +msgid "Bad device-uri scheme \"%s\"." +msgstr "Esquema device-uri inválido \"%s\"." + +#, c-format +msgid "Bad document-format \"%s\"." +msgstr "document-format inválido \"%s\"." + +#, c-format +msgid "Bad document-format-default \"%s\"." +msgstr "document-format-default inválido \"%s\"." + +msgid "Bad filename buffer" +msgstr "Buffer de nome de arquivo inválido" + +msgid "Bad hostname/address in URI" +msgstr "Nome de máquina/Endereço inválidos na URI" + +#, c-format +msgid "Bad job-name value: %s" +msgstr "Valor de job-name inválido: %s" + +msgid "Bad job-name value: Wrong type or count." +msgstr "Valor de job-name inválido: Quantidade ou tipo inválido." + +msgid "Bad job-priority value." +msgstr "Valor job-priority inválido." + +#, c-format +msgid "Bad job-sheets value \"%s\"." +msgstr "Valor de job-sheets inválido \"%s\"." + +msgid "Bad job-sheets value type." +msgstr "Tipo de valor de job-sheets inválido." + +msgid "Bad job-state value." +msgstr "Valor de job-state inválido." + +#, c-format +msgid "Bad job-uri \"%s\"." +msgstr "job-uri inválido \"%s\"." + +#, c-format +msgid "Bad notify-pull-method \"%s\"." +msgstr "notify-pull-method inválido \"%s\"." + +#, c-format +msgid "Bad notify-recipient-uri \"%s\"." +msgstr "notify-recipient-uri inválido \"%s\"." + +#, c-format +msgid "Bad notify-user-data \"%s\"." +msgstr "" + +#, c-format +msgid "Bad number-up value %d." +msgstr "Valor de number-up inválido %d." + +#, c-format +msgid "Bad page-ranges values %d-%d." +msgstr "Valor de page-ranges inválido %d-%d." + +msgid "Bad port number in URI" +msgstr "Número de porta inválida" + +#, c-format +msgid "Bad port-monitor \"%s\"." +msgstr "port-monitor inválido \"%s\"." + +#, c-format +msgid "Bad printer-state value %d." +msgstr "Valor de printer-state inválido %d." + +msgid "Bad printer-uri." +msgstr "printer-uri inválido." + +#, c-format +msgid "Bad request ID %d." +msgstr "ID da requisição inválido %d." + +#, c-format +msgid "Bad request version number %d.%d." +msgstr "Número da versão de requisição inválido %d.%d." + +msgid "Bad resource in URI" +msgstr "Recurso inválido na URI" + +msgid "Bad scheme in URI" +msgstr "Esquema inválido na URI" + +msgid "Bad username in URI" +msgstr "Usuário inválido na URI" + +msgid "Bad value string" +msgstr "String de valor inválido" + +msgid "Bad/empty URI" +msgstr "URI vazia/inválida" + +msgid "Banners" +msgstr "Banners" + +msgid "Bond Paper" +msgstr "Papel autocolante" + +msgid "Booklet" +msgstr "" + +#, c-format +msgid "Boolean expected for waiteof option \"%s\"." +msgstr "Esperava booleano para opção waiteof \"%s\"." + +msgid "Buffer overflow detected, aborting." +msgstr "Estouro de pilha do buffer detectado, abortando." + +msgid "CMYK" +msgstr "CMYK" + +msgid "CPCL Label Printer" +msgstr "Impressora de etiqueta CPCL" + +msgid "Cancel Jobs" +msgstr "Cancelar trabalhos" + +msgid "Canceling print job." +msgstr "Cancelando trabalho de impressão." + +msgid "Cannot change printer-is-shared for remote queues." +msgstr "" + +msgid "Cannot share a remote Kerberized printer." +msgstr "Não foi possível compartilhar uma impressora remota via Kerberos." + +msgid "Cassette" +msgstr "Cassette" + +msgid "Change Settings" +msgstr "Alterar configurações" + +#, c-format +msgid "Character set \"%s\" not supported." +msgstr "Não há suporte ao conjunto de caracteres \"%s\"." + +msgid "Classes" +msgstr "Classes" + +msgid "Clean Print Heads" +msgstr "Limpar cabeça de impressão" + +msgid "Close-Job doesn't support the job-uri attribute." +msgstr "Close-Job não suporta o atributo job-uri." + +msgid "Color" +msgstr "Cor" + +msgid "Color Mode" +msgstr "Modo colorido" + +msgid "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" +msgstr "" +"Comandos podem ser abreviados. Os comandos são:\n" +"\n" +"exit help quit status ?" + +msgid "Community name uses indefinite length" +msgstr "Nome da comunidade usa comprimento indefinido" + +msgid "Connected to printer." +msgstr "Conectado à impressora." + +msgid "Connecting to printer." +msgstr "Conectando à impressora." + +msgid "Continue" +msgstr "Continuar" + +msgid "Continuous" +msgstr "Contínuo" + +msgid "Control file sent successfully." +msgstr "Arquivo de controle enviado com sucesso." + +msgid "Copying print data." +msgstr "Copiando dados de impressão." + +msgid "Created" +msgstr "Criada" + +msgid "Credentials do not validate against site CA certificate." +msgstr "" + +msgid "Credentials have expired." +msgstr "" + +msgid "Custom" +msgstr "Personalizar" + +msgid "CustominCutInterval" +msgstr "CustominCutInterval" + +msgid "CustominTearInterval" +msgstr "CustominTearInterval" + +msgid "Cut" +msgstr "Cortar" + +msgid "Cutter" +msgstr "Cortador" + +msgid "Dark" +msgstr "Escuro" + +msgid "Darkness" +msgstr "Escuridão" + +msgid "Data file sent successfully." +msgstr "Arquivo de dados enviado com sucesso." + +msgid "Deep Color" +msgstr "" + +msgid "Deep Gray" +msgstr "" + +msgid "Delete Class" +msgstr "Excluir classe" + +msgid "Delete Printer" +msgstr "Excluir impressora" + +msgid "DeskJet Series" +msgstr "DeskJet Séries" + +#, c-format +msgid "Destination \"%s\" is not accepting jobs." +msgstr "Destino \"%s\" não está aceitando trabalhos." + +msgid "Device CMYK" +msgstr "" + +msgid "Device Gray" +msgstr "" + +msgid "Device RGB" +msgstr "" + +#, c-format +msgid "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" +msgstr "" +"Dispositivo: uri = %s\n" +" classe = %s\n" +" info = %s\n" +" marca-e-modelo = %s\n" +" dispo-id = %s\n" +" localização = %s" + +msgid "Direct Thermal Media" +msgstr "Mídia Térmica Direta" + +#, c-format +msgid "Directory \"%s\" contains a relative path." +msgstr "Diretório \"%s\" contém um caminho relativo." + +#, c-format +msgid "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "Diretório \"%s\" contém permissões inseguras (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "Directory \"%s\" is a file." +msgstr "Diretório \"%s\" é um arquivo." + +#, c-format +msgid "Directory \"%s\" not available: %s" +msgstr "Diretório \"%s\" não está disponível: %s" + +#, c-format +msgid "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "Permissões do diretório \"%s\" estão OK (0%o/uid=%d/gid=%d)." + +msgid "Disabled" +msgstr "Desabilitado" + +#, c-format +msgid "Document #%d does not exist in job #%d." +msgstr "Documento #%d não existe no trabalho #%d." + +msgid "Draft" +msgstr "" + +msgid "Duplexer" +msgstr "Duplexador" + +msgid "Dymo" +msgstr "Dymo" + +msgid "EPL1 Label Printer" +msgstr "Impressora de etiqueta EPL1" + +msgid "EPL2 Label Printer" +msgstr "Impressora de etiqueta EPL2" + +msgid "Edit Configuration File" +msgstr "Editar arquivo de configuração" + +msgid "Encryption is not supported." +msgstr "Não há suporte a criptografia." + +#. TRANSLATORS: Banner/cover sheet after the print job. +msgid "Ending Banner" +msgstr "Banner ao final" + +msgid "English" +msgstr "Inglês" + +msgid "" +"Enter your username and password or the root username and password to access " +"this page. If you are using Kerberos authentication, make sure you have a " +"valid Kerberos ticket." +msgstr "" +"Digite seu nome de usuário e senha, ou do usuário root, para acessar esta " +"página. Se você estiver usando autenticação Kerberos, certifique-se de que " +"você tem um ticket Kerberos válido." + +msgid "Envelope #10" +msgstr "" + +msgid "Envelope #11" +msgstr "Envelope #11" + +msgid "Envelope #12" +msgstr "Envelope #12" + +msgid "Envelope #14" +msgstr "Envelope #14" + +msgid "Envelope #9" +msgstr "Envelope #9" + +msgid "Envelope B4" +msgstr "Envelope B4" + +msgid "Envelope B5" +msgstr "Envelope B5" + +msgid "Envelope B6" +msgstr "Envelope B6" + +msgid "Envelope C0" +msgstr "Envelope C0" + +msgid "Envelope C1" +msgstr "Envelope C1" + +msgid "Envelope C2" +msgstr "Envelope C2" + +msgid "Envelope C3" +msgstr "Envelope C3" + +msgid "Envelope C4" +msgstr "Envelope C4" + +msgid "Envelope C5" +msgstr "Envelope C5" + +msgid "Envelope C6" +msgstr "Envelope C6" + +msgid "Envelope C65" +msgstr "Envelope C65" + +msgid "Envelope C7" +msgstr "Envelope C7" + +msgid "Envelope Choukei 3" +msgstr "Envelope Choukei 3" + +msgid "Envelope Choukei 3 Long Edge" +msgstr "Envelope Choukei 3 borda maior" + +msgid "Envelope Choukei 4" +msgstr "Envelope Choukei 4" + +msgid "Envelope Choukei 4 Long Edge" +msgstr "Envelope Choukei 4 borda maior" + +msgid "Envelope DL" +msgstr "Envelope DL" + +msgid "Envelope Feed" +msgstr "Alimentação de Envelope" + +msgid "Envelope Invite" +msgstr "Envelope Convite" + +msgid "Envelope Italian" +msgstr "Envelope Italiano" + +msgid "Envelope Kaku2" +msgstr "Envelope Kaku2" + +msgid "Envelope Kaku2 Long Edge" +msgstr "Envelope Kaku2 borda maior" + +msgid "Envelope Kaku3" +msgstr "Envelope Kaku3" + +msgid "Envelope Kaku3 Long Edge" +msgstr "Envelope Kaku3 borda maior" + +msgid "Envelope Monarch" +msgstr "Envelope Monarch" + +msgid "Envelope PRC1" +msgstr "" + +msgid "Envelope PRC1 Long Edge" +msgstr "Envelope PRC1 borda maior" + +msgid "Envelope PRC10" +msgstr "Envelope PRC10" + +msgid "Envelope PRC10 Long Edge" +msgstr "Envelope PRC10 borda maior" + +msgid "Envelope PRC2" +msgstr "Envelope PRC2" + +msgid "Envelope PRC2 Long Edge" +msgstr "Envelope PRC2 borda maior" + +msgid "Envelope PRC3" +msgstr "Envelope PRC3" + +msgid "Envelope PRC3 Long Edge" +msgstr "Envelope PRC3 borda maior" + +msgid "Envelope PRC4" +msgstr "Envelope PRC4" + +msgid "Envelope PRC4 Long Edge" +msgstr "Envelope PRC4 borda maior" + +msgid "Envelope PRC5 Long Edge" +msgstr "Envelope PRC5 borda maior" + +msgid "Envelope PRC5PRC5" +msgstr "Envelope PRC5" + +msgid "Envelope PRC6" +msgstr "Envelope PRC6" + +msgid "Envelope PRC6 Long Edge" +msgstr "Envelope PRC6 borda maior" + +msgid "Envelope PRC7" +msgstr "Envelope PRC7" + +msgid "Envelope PRC7 Long Edge" +msgstr "Envelope PRC7 borda maior" + +msgid "Envelope PRC8" +msgstr "Envelope PRC8" + +msgid "Envelope PRC8 Long Edge" +msgstr "Envelope PRC8 borda maior" + +msgid "Envelope PRC9" +msgstr "Envelope PRC9" + +msgid "Envelope PRC9 Long Edge" +msgstr "Envelope PRC9 borda maior" + +msgid "Envelope Personal" +msgstr "Envelope Pessoal" + +msgid "Envelope You4" +msgstr "Envelope You4" + +msgid "Envelope You4 Long Edge" +msgstr "Envelope You4 borda maior" + +msgid "Environment Variables:" +msgstr "Variáveis de ambiente:" + +msgid "Epson" +msgstr "Epson" + +msgid "Error Policy" +msgstr "Política de erro" + +msgid "Error reading raster data." +msgstr "Erro ao ler dados de rasterização." + +msgid "Error sending raster data." +msgstr "Erro ao enviar dados de rasterização." + +msgid "Error: need hostname after \"-h\" option." +msgstr "Erro: precisa de nome da máquina após a opção \"-h\"." + +msgid "European Fanfold" +msgstr "" + +msgid "European Fanfold Legal" +msgstr "" + +msgid "Every 10 Labels" +msgstr "A cada 10 etiquetas" + +msgid "Every 2 Labels" +msgstr "A cada 2 etiquetas" + +msgid "Every 3 Labels" +msgstr "A cada 3 etiquetas" + +msgid "Every 4 Labels" +msgstr "A cada 4 etiquetas" + +msgid "Every 5 Labels" +msgstr "A cada 5 etiquetas" + +msgid "Every 6 Labels" +msgstr "A cada 6 etiquetas" + +msgid "Every 7 Labels" +msgstr "A cada 7 etiquetas" + +msgid "Every 8 Labels" +msgstr "A cada 8 etiquetas" + +msgid "Every 9 Labels" +msgstr "A cada 9 etiquetas" + +msgid "Every Label" +msgstr "A cada etiqueta" + +msgid "Executive" +msgstr "Executivo" + +msgid "Expectation Failed" +msgstr "Falhou a expectativa" + +msgid "Expressions:" +msgstr "Expressões:" + +msgid "Fast Grayscale" +msgstr "" + +#, c-format +msgid "File \"%s\" contains a relative path." +msgstr "Arquivo \"%s\" contém um caminho relativo." + +#, c-format +msgid "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "Arquivo \"%s\" tem permissões inseguras (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "File \"%s\" is a directory." +msgstr "Arquivo \"%s\" é um diretório." + +#, c-format +msgid "File \"%s\" not available: %s" +msgstr "Arquivo \"%s\" não está disponível: %s" + +#, c-format +msgid "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "Permissões do arquivo \"%s\" estão OK (0%o/uid=%d/gid=%d)." + +msgid "File Folder" +msgstr "" + +#, c-format +msgid "" +"File device URIs have been disabled. To enable, see the FileDevice directive " +"in \"%s/cups-files.conf\"." +msgstr "" +"URIs de arquivos de dispositivo foram desabilitadas. Para habilitar, veja a " +"diretiva FileDevice em \"%s/cups-files.conf\"." + +#, c-format +msgid "Finished page %d." +msgstr "Terminou página %d." + +msgid "Finishing Preset" +msgstr "" + +msgid "Fold" +msgstr "" + +msgid "Folio" +msgstr "Fólio" + +msgid "Forbidden" +msgstr "Proibido" + +msgid "Found" +msgstr "" + +msgid "General" +msgstr "Geral" + +msgid "Generic" +msgstr "Genérico" + +msgid "Get-Response-PDU uses indefinite length" +msgstr "Get-Response-PDU usa comprimento indefinido" + +msgid "Glossy Paper" +msgstr "Papel brilhante" + +msgid "Got a printer-uri attribute but no job-id." +msgstr "Atributo printer-ui obtido, mas nenhum job-id." + +msgid "Grayscale" +msgstr "Escalas de cinza" + +msgid "HP" +msgstr "HP" + +msgid "Hanging Folder" +msgstr "Pasta suspensa" + +msgid "Hash buffer too small." +msgstr "" + +msgid "Help file not in index." +msgstr "Arquivo de ajuda não está no índice." + +msgid "High" +msgstr "" + +msgid "IPP 1setOf attribute with incompatible value tags." +msgstr "Atributo 1setOf de IPP com tags de valor incompatível." + +msgid "IPP attribute has no name." +msgstr "Atributo de IPP não tem nome." + +msgid "IPP attribute is not a member of the message." +msgstr "Atributo de IPP não é um membro da mensagem." + +msgid "IPP begCollection value not 0 bytes." +msgstr "Valor begCollection de IPP não contém 0 bytes." + +msgid "IPP boolean value not 1 byte." +msgstr "Valor booleano de IPP não contém 1 byte." + +msgid "IPP date value not 11 bytes." +msgstr "Valor de data de IPP não contém 11 bytes." + +msgid "IPP endCollection value not 0 bytes." +msgstr "Valor endCollection IPP não contém 0 bytes." + +msgid "IPP enum value not 4 bytes." +msgstr "Valor enum de IPP não contém 4 bytes." + +msgid "IPP extension tag larger than 0x7FFFFFFF." +msgstr "Tag de extensão de IPP maior do que 0x7FFFFFFF." + +msgid "IPP integer value not 4 bytes." +msgstr "Valor inteiro de IPP não contém 4 bytes." + +msgid "IPP language length overflows value." +msgstr "Comprimento do idioma de IPP excede o valor." + +msgid "IPP language length too large." +msgstr "Comprimento do idioma de IPP muito grande." + +msgid "IPP member name is not empty." +msgstr "Nome de membro de IPP não está vazio." + +msgid "IPP memberName value is empty." +msgstr "Valor de memberName de IPP está vazio." + +msgid "IPP memberName with no attribute." +msgstr "memberName de IPP sem atributo algum." + +msgid "IPP name larger than 32767 bytes." +msgstr "Nome de IPP maior do que 32767 bytes." + +msgid "IPP nameWithLanguage value less than minimum 4 bytes." +msgstr "Valor de nameWithLanguage de IPP menor do que o mínimo de 4 bytes." + +msgid "IPP octetString length too large." +msgstr "Comprimento de octetString de IPP muito grande." + +msgid "IPP rangeOfInteger value not 8 bytes." +msgstr "Valor de rangeOfInteger de IPP não contém 8 bytes." + +msgid "IPP resolution value not 9 bytes." +msgstr "Valor de resolução de IPP não contém 9 bytes." + +msgid "IPP string length overflows value." +msgstr "Comprimento da string de IPP excede o valor." + +msgid "IPP textWithLanguage value less than minimum 4 bytes." +msgstr "Valor de textWithLanguage de IPP menor do que o mínimo de 4 bytes." + +msgid "IPP value larger than 32767 bytes." +msgstr "Valor de IPP maior do que 32767 bytes." + +msgid "IPPFIND_SERVICE_DOMAIN Domain name" +msgstr "" + +msgid "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" +msgstr "" + +msgid "IPPFIND_SERVICE_NAME Service instance name" +msgstr "" + +msgid "IPPFIND_SERVICE_PORT Port number" +msgstr "" + +msgid "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" +msgstr "" + +msgid "IPPFIND_SERVICE_SCHEME URI scheme" +msgstr "" + +msgid "IPPFIND_SERVICE_URI URI" +msgstr "" + +msgid "IPPFIND_TXT_* Value of TXT record key" +msgstr "" + +msgid "ISOLatin1" +msgstr "ISOLatin1" + +msgid "Illegal control character" +msgstr "Caractere de controle é ilegal" + +msgid "Illegal main keyword string" +msgstr "String ilegal de palavra-chave principal" + +msgid "Illegal option keyword string" +msgstr "String ilegal de palavra-chave de opção" + +msgid "Illegal translation string" +msgstr "String ilegal de tradução" + +msgid "Illegal whitespace character" +msgstr "Caractere ilegal de espaço em branco" + +msgid "Installable Options" +msgstr "Opções instaláveis" + +msgid "Installed" +msgstr "Instalada" + +msgid "IntelliBar Label Printer" +msgstr "Impressora de etiqueta IntelliBar" + +msgid "Intellitech" +msgstr "Intellitech" + +msgid "Internal Server Error" +msgstr "Erro interno de servidor" + +msgid "Internal error" +msgstr "Erro interno" + +msgid "Internet Postage 2-Part" +msgstr "Internet Postage Parte-2" + +msgid "Internet Postage 3-Part" +msgstr "Internet Postage Parte-3" + +msgid "Internet Printing Protocol" +msgstr "Protocolo de Impressão para Internet" + +msgid "Invalid group tag." +msgstr "" + +msgid "Invalid media name arguments." +msgstr "Argumentos de nome de mídia inválidos." + +msgid "Invalid media size." +msgstr "Tamanho de mídia inválido." + +msgid "Invalid named IPP attribute in collection." +msgstr "" + +msgid "Invalid ppd-name value." +msgstr "" + +#, c-format +msgid "Invalid printer command \"%s\"." +msgstr "Comando de impressora \"%s\" inválido." + +msgid "JCL" +msgstr "JCL" + +msgid "JIS B0" +msgstr "JIS B0" + +msgid "JIS B1" +msgstr "JIS B1" + +msgid "JIS B10" +msgstr "JIS B10" + +msgid "JIS B2" +msgstr "JIS B2" + +msgid "JIS B3" +msgstr "JIS B3" + +msgid "JIS B4" +msgstr "JIS B4" + +msgid "JIS B4 Long Edge" +msgstr "JIS B4 borda maior" + +msgid "JIS B5" +msgstr "JIS B5" + +msgid "JIS B5 Long Edge" +msgstr "JIS B5 borda maior" + +msgid "JIS B6" +msgstr "JIS B6" + +msgid "JIS B6 Long Edge" +msgstr "JIS B6 borda maior" + +msgid "JIS B7" +msgstr "JIS B7" + +msgid "JIS B8" +msgstr "JIS B8" + +msgid "JIS B9" +msgstr "JIS B9" + +#, c-format +msgid "Job #%d cannot be restarted - no files." +msgstr "O trabalho #%d não pode ser reiniciado - nenhum arquivo." + +#, c-format +msgid "Job #%d does not exist." +msgstr "Trabalho #%d não existe." + +#, c-format +msgid "Job #%d is already aborted - can't cancel." +msgstr "Trabalho #%d já foi abortado - não é possível cancelar." + +#, c-format +msgid "Job #%d is already canceled - can't cancel." +msgstr "Trabalho #%d já foi cancelado - não é possível cancelar." + +#, c-format +msgid "Job #%d is already completed - can't cancel." +msgstr "Trabalho #%d já concluiu - não é possível cancelar." + +#, c-format +msgid "Job #%d is finished and cannot be altered." +msgstr "Trabalho #%d já finalizou e não pode ser alterado." + +#, c-format +msgid "Job #%d is not complete." +msgstr "Trabalho #%d não concluiu." + +#, c-format +msgid "Job #%d is not held for authentication." +msgstr "Trabalho #%d não está agarrado para autenticação." + +#, c-format +msgid "Job #%d is not held." +msgstr "Trabalho #%d não está agarrado." + +msgid "Job Completed" +msgstr "Trabalho concluiu" + +msgid "Job Created" +msgstr "Trabalho criado" + +msgid "Job Options Changed" +msgstr "Opções do trabalho alteradas" + +msgid "Job Stopped" +msgstr "Trabalho parou" + +msgid "Job is completed and cannot be changed." +msgstr "Trabalho está concluído e não pode ser alterado." + +msgid "Job operation failed" +msgstr "Operação do trabalho falhou" + +msgid "Job state cannot be changed." +msgstr "Estado do trabalho não pode ser alterado." + +msgid "Job subscriptions cannot be renewed." +msgstr "Inscrições de trabalho não podem ser renovadas." + +msgid "Jobs" +msgstr "Trabalhos" + +msgid "LPD/LPR Host or Printer" +msgstr "Impressora ou máquina LPD/LPR" + +msgid "" +"LPDEST environment variable names default destination that does not exist." +msgstr "" + +msgid "Label Printer" +msgstr "Impressora de etiqueta" + +msgid "Label Top" +msgstr "Parte superior da etiqueta" + +#, c-format +msgid "Language \"%s\" not supported." +msgstr "Não há suporte ao idioma \"%s\"." + +msgid "Large Address" +msgstr "Endereço grande" + +msgid "LaserJet Series PCL 4/5" +msgstr "LaserJet Series PCL 4/5" + +msgid "Letter Oversize" +msgstr "Carta grande" + +msgid "Letter Oversize Long Edge" +msgstr "Carta borda muito maior" + +msgid "Light" +msgstr "Leve" + +msgid "Line longer than the maximum allowed (255 characters)" +msgstr "Linha maior do que o máximo permitido (255 caracteres)" + +msgid "List Available Printers" +msgstr "Lista de impressoras disponíveis" + +#, c-format +msgid "Listening on port %d." +msgstr "" + +msgid "Local printer created." +msgstr "" + +msgid "Long-Edge (Portrait)" +msgstr "Borda maior (retrato)" + +msgid "Looking for printer." +msgstr "Procurando impressoras." + +msgid "Manual Feed" +msgstr "Alimentação manual" + +msgid "Media Size" +msgstr "Tamanho de mídia" + +msgid "Media Source" +msgstr "Fonte de mídia" + +msgid "Media Tracking" +msgstr "Rastreamento de mídia" + +msgid "Media Type" +msgstr "Tipo de mídia" + +msgid "Medium" +msgstr "Médio" + +msgid "Memory allocation error" +msgstr "Erro de alocação de memória" + +msgid "Missing CloseGroup" +msgstr "Faltando CloseGroup" + +msgid "Missing CloseUI/JCLCloseUI" +msgstr "" + +msgid "Missing PPD-Adobe-4.x header" +msgstr "Faltando cabeçalho PPD-Adobe-4.x" + +msgid "Missing asterisk in column 1" +msgstr "Faltando asterisco na coluna 1" + +msgid "Missing document-number attribute." +msgstr "Faltando atributo document-number." + +msgid "Missing form variable" +msgstr "Faltando variável de formulário" + +msgid "Missing last-document attribute in request." +msgstr "Faltando atributo last-document na requisição." + +msgid "Missing media or media-col." +msgstr "Faltando media ou media-col." + +msgid "Missing media-size in media-col." +msgstr "Faltando media-size em media-col." + +msgid "Missing notify-subscription-ids attribute." +msgstr "Faltando atributo notify-subscription-ids." + +msgid "Missing option keyword" +msgstr "Faltando palavra-chave de opção" + +msgid "Missing requesting-user-name attribute." +msgstr "Faltando atributo requesting-user-name." + +#, c-format +msgid "Missing required attribute \"%s\"." +msgstr "" + +msgid "Missing required attributes." +msgstr "Faltando atributos necessários." + +msgid "Missing resource in URI" +msgstr "Faltando rescurso na URI" + +msgid "Missing scheme in URI" +msgstr "Faltando esquema na URI" + +msgid "Missing value string" +msgstr "Faltando string de valor" + +msgid "Missing x-dimension in media-size." +msgstr "Faltando dimensão-x em media-size." + +msgid "Missing y-dimension in media-size." +msgstr "Faltando dimensão-y em media-size." + +#, c-format +msgid "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" +msgstr "" +"Modelo: nome = %s\n" +" idioma_natural = %s\n" +" marca-e-modelo = %s\n" +" id-dispositivo = %s" + +msgid "Modifiers:" +msgstr "Modificadores:" + +msgid "Modify Class" +msgstr "Modificar classe" + +msgid "Modify Printer" +msgstr "Modificar impressora" + +msgid "Move All Jobs" +msgstr "Mover todos trabalhos" + +msgid "Move Job" +msgstr "Mover trabalho" + +msgid "Moved Permanently" +msgstr "Mover permanentemente" + +msgid "NULL PPD file pointer" +msgstr "Ponteiro NULO para arquivo PPD" + +msgid "Name OID uses indefinite length" +msgstr "OID de nome usa comprimento indefinido" + +msgid "Nested classes are not allowed." +msgstr "Classes aninhadas não são permitidas." + +msgid "Never" +msgstr "Nunca" + +msgid "New credentials are not valid for name." +msgstr "" + +msgid "New credentials are older than stored credentials." +msgstr "" + +msgid "No" +msgstr "Não" + +msgid "No Content" +msgstr "Nenhum conteúdo" + +msgid "No IPP attributes." +msgstr "" + +msgid "No PPD name" +msgstr "Nenhum nome PPD" + +msgid "No VarBind SEQUENCE" +msgstr "Nenhuma SEQUENCE de VarBind" + +msgid "No active connection" +msgstr "Nenhuma conexão ativa" + +msgid "No active connection." +msgstr "Nenhuma conexão ativa." + +#, c-format +msgid "No active jobs on %s." +msgstr "Nenhum trabalho ativo em %s" + +msgid "No attributes in request." +msgstr "Nenhum atributo na requisição." + +msgid "No authentication information provided." +msgstr "Nenhuma informação de autenticação foi fornecida." + +msgid "No common name specified." +msgstr "" + +msgid "No community name" +msgstr "Nenhum nome de comunidade" + +msgid "No default destination." +msgstr "" + +msgid "No default printer." +msgstr "Nenhuma impressora padrão." + +msgid "No destinations added." +msgstr "Nenhuma destinação foi adicionada." + +msgid "No device URI found in argv[0] or in DEVICE_URI environment variable." +msgstr "" +"Nenhum URI de dispositivo encontrado em argv[0] ou na variável de ambiente " +"DEVICE_URI." + +msgid "No error-index" +msgstr "Nenhum error-index" + +msgid "No error-status" +msgstr "Nenhum error-status" + +msgid "No file in print request." +msgstr "Nenhum arquivo na requisição de impressão." + +msgid "No modification time" +msgstr "Nenhum horário de modificação" + +msgid "No name OID" +msgstr "Nenhum OID de nome" + +msgid "No pages were found." +msgstr "Nenhuma página foi encontrada." + +msgid "No printer name" +msgstr "Nenhum nome de impressora" + +msgid "No printer-uri found" +msgstr "Nenhum printer-uri foi encontrado" + +msgid "No printer-uri found for class" +msgstr "Nenhum printer-uri foi encontrado para classe" + +msgid "No printer-uri in request." +msgstr "Nenhum printer-uri na requisição." + +msgid "No request URI." +msgstr "Nenhuma URI de requisição." + +msgid "No request protocol version." +msgstr "Nenhuma versão de protocolo de requisição." + +msgid "No request sent." +msgstr "Nenhuma requisição enviada." + +msgid "No request-id" +msgstr "Nenhum request-id" + +msgid "No stored credentials, not valid for name." +msgstr "" + +msgid "No subscription attributes in request." +msgstr "Nenhum atributo de inscrição na requisição." + +msgid "No subscriptions found." +msgstr "Nenhuma inscrição encontrada." + +msgid "No variable-bindings SEQUENCE" +msgstr "Nenhum SEQUENCE em variable-bindings" + +msgid "No version number" +msgstr "Nenhum número de versão" + +msgid "Non-continuous (Mark sensing)" +msgstr "Não-contíguo (Mark sensing)" + +msgid "Non-continuous (Web sensing)" +msgstr "Não-contíguo (Web sensing)" + +msgid "None" +msgstr "" + +msgid "Normal" +msgstr "Normal" + +msgid "Not Found" +msgstr "Não encontrado" + +msgid "Not Implemented" +msgstr "Não implementado" + +msgid "Not Installed" +msgstr "Não instalado" + +msgid "Not Modified" +msgstr "Não modificado" + +msgid "Not Supported" +msgstr "Não há suporte" + +msgid "Not allowed to print." +msgstr "Sem permissão para imprimir." + +msgid "Note" +msgstr "Nota" + +msgid "OK" +msgstr "OK" + +msgid "Off (1-Sided)" +msgstr "Off (1 lado)" + +msgid "Oki" +msgstr "Oki" + +msgid "Online Help" +msgstr "Ajuda online" + +msgid "Only local users can create a local printer." +msgstr "" + +#, c-format +msgid "Open of %s failed: %s" +msgstr "Abertura de %s falhou: %s" + +msgid "OpenGroup without a CloseGroup first" +msgstr "OpenGroup sem um CloseGroup primeiro" + +msgid "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" +msgstr "OpenUI/JCLOpenUI sem um CloseUI/JCLCloseUI primeiro" + +msgid "Operation Policy" +msgstr "Política de operação" + +#, c-format +msgid "Option \"%s\" cannot be included via %%%%IncludeFeature." +msgstr "Opção \"%s\" não pode ser incluída via %%%%IncludeFeature." + +msgid "Options Installed" +msgstr "Opções instaladas" + +msgid "Options:" +msgstr "Opções:" + +msgid "Other Media" +msgstr "" + +msgid "Other Tray" +msgstr "" + +msgid "Out of date PPD cache file." +msgstr "Cache de arquivo PPD está desatualizado." + +msgid "Out of memory." +msgstr "Memória insuficiente." + +msgid "Output Mode" +msgstr "Mode de saída" + +msgid "PCL Laser Printer" +msgstr "Impressora Laser PCL" + +msgid "PRC16K" +msgstr "PRC16K" + +msgid "PRC16K Long Edge" +msgstr "PRC16K borda maior" + +msgid "PRC32K" +msgstr "PRC32K" + +msgid "PRC32K Long Edge" +msgstr "PRC32K borda maior" + +msgid "PRC32K Oversize" +msgstr "PRC32K grande" + +msgid "PRC32K Oversize Long Edge" +msgstr "PRC32K borda muito maior" + +msgid "" +"PRINTER environment variable names default destination that does not exist." +msgstr "" + +msgid "Packet does not contain a Get-Response-PDU" +msgstr "Pacote não contém um Get-Response-PDU" + +msgid "Packet does not start with SEQUENCE" +msgstr "Pacote não inicia com SEQUENCE" + +msgid "ParamCustominCutInterval" +msgstr "ParamCustominCutInterval" + +msgid "ParamCustominTearInterval" +msgstr "ParamCustominTearInterval" + +#, c-format +msgid "Password for %s on %s? " +msgstr "Senha para %s em %s? " + +msgid "Pause Class" +msgstr "Pausar classe" + +msgid "Pause Printer" +msgstr "Pausar impressora" + +# peel-off seria descolar etiqueta do papel? +msgid "Peel-Off" +msgstr "Descolar" + +msgid "Photo" +msgstr "Foto" + +msgid "Photo Labels" +msgstr "Foto pequena" + +msgid "Plain Paper" +msgstr "Papel normal" + +msgid "Policies" +msgstr "Políticas" + +msgid "Port Monitor" +msgstr "Monitor de porta" + +msgid "PostScript Printer" +msgstr "Impressora PostScript" + +msgid "Postcard" +msgstr "Postal" + +msgid "Postcard Double" +msgstr "" + +msgid "Postcard Double Long Edge" +msgstr "Postal duplo borda maior" + +msgid "Postcard Long Edge" +msgstr "Postal borda maior" + +msgid "Preparing to print." +msgstr "Preparando para imprimir." + +msgid "Print Density" +msgstr "Densidade de impressão" + +msgid "Print Job:" +msgstr "Trabalho de impressão:" + +msgid "Print Mode" +msgstr "Modo de impressão" + +msgid "Print Quality" +msgstr "" + +msgid "Print Rate" +msgstr "Taxa de impressão" + +msgid "Print Self-Test Page" +msgstr "Imprimir página de auto-teste" + +msgid "Print Speed" +msgstr "Velocidade de impressão" + +msgid "Print Test Page" +msgstr "Imprimir página de teste" + +msgid "Print and Cut" +msgstr "Imprimir e cortar" + +msgid "Print and Tear" +msgstr "Imprimir e rasgar" + +msgid "Print file sent." +msgstr "Arquivo de impressão enviado." + +msgid "Print job canceled at printer." +msgstr "Trabalho de impressão cancelado na impressora." + +msgid "Print job too large." +msgstr "Trabalho de impressão muito grande." + +msgid "Print job was not accepted." +msgstr "Trabalho de impressão não foi aceito." + +#, c-format +msgid "Printer \"%s\" already exists." +msgstr "" + +msgid "Printer Added" +msgstr "Impressora adicionada" + +msgid "Printer Default" +msgstr "Impressora padrão" + +msgid "Printer Deleted" +msgstr "Impressora excluída" + +msgid "Printer Modified" +msgstr "Impressora modificada" + +msgid "Printer Paused" +msgstr "Impressora pausada" + +msgid "Printer Settings" +msgstr "Configurações de impressora" + +msgid "Printer cannot print supplied content." +msgstr "Impressora não consegue imprimir o conteúdo fornecido." + +msgid "Printer cannot print with supplied options." +msgstr "Impressora não consegue imprimir os opções fornecidas." + +msgid "Printer does not support required IPP attributes or document formats." +msgstr "" + +msgid "Printer:" +msgstr "Impressora:" + +msgid "Printers" +msgstr "Impressoras" + +#, c-format +msgid "Printing page %d, %u%% complete." +msgstr "Imprimindo página %d, %u%% concluído." + +msgid "Punch" +msgstr "" + +msgid "Quarto" +msgstr "Quarto" + +msgid "Quota limit reached." +msgstr "Limite de quota alcançado." + +msgid "Rank Owner Job File(s) Total Size" +msgstr "Ordem Dono Trab Arquivo(s) Tamanho total" + +msgid "Reject Jobs" +msgstr "Rejeitar trabalhos" + +#, c-format +msgid "Remote host did not accept control file (%d)." +msgstr "Máquina remota não aceitou arquivo de controle (%d)." + +#, c-format +msgid "Remote host did not accept data file (%d)." +msgstr "Máquina remota não aceitou arquivo de dados (%d)." + +msgid "Reprint After Error" +msgstr "Erro após reimpressão" + +msgid "Request Entity Too Large" +msgstr "Entidade de requisição muito grande" + +msgid "Resolution" +msgstr "Resolução" + +msgid "Resume Class" +msgstr "Resumir classe" + +msgid "Resume Printer" +msgstr "Resumir impressora" + +msgid "Return Address" +msgstr "Retornar endereço" + +msgid "Rewind" +msgstr "Rebobinar" + +msgid "SEQUENCE uses indefinite length" +msgstr "SEQUENCE usa comprimento indefinido" + +msgid "SSL/TLS Negotiation Error" +msgstr "Erro de negociação SSL/TLS" + +msgid "See Other" +msgstr "Veja outro" + +msgid "See remote printer." +msgstr "" + +msgid "Self-signed credentials are blocked." +msgstr "" + +msgid "Sending data to printer." +msgstr "Enviando dados à impressora." + +msgid "Server Restarted" +msgstr "Servidor reiniciado" + +msgid "Server Security Auditing" +msgstr "Auditoria de segurança de servidor" + +msgid "Server Started" +msgstr "Servidor iniciou" + +msgid "Server Stopped" +msgstr "Servidor parou" + +msgid "Server credentials not set." +msgstr "Credenciais no servidor não definidas." + +msgid "Service Unavailable" +msgstr "Serviço indisponível" + +msgid "Set Allowed Users" +msgstr "Definir usuários permitidos" + +msgid "Set As Server Default" +msgstr "Definir como servidor padrão" + +msgid "Set Class Options" +msgstr "Definir opções de classe" + +msgid "Set Printer Options" +msgstr "Definir opções de impressora" + +msgid "Set Publishing" +msgstr "Definir publicação" + +msgid "Shipping Address" +msgstr "Endereço de entrega" + +msgid "Short-Edge (Landscape)" +msgstr "Borda menor (paisagem)" + +msgid "Special Paper" +msgstr "Papel especial" + +#, c-format +msgid "Spooling job, %.0f%% complete." +msgstr "Trabalho de impressão, %.0f%% completo." + +msgid "Standard" +msgstr "Padrão" + +msgid "Staple" +msgstr "" + +#. TRANSLATORS: Banner/cover sheet before the print job. +msgid "Starting Banner" +msgstr "Iniciando banner" + +#, c-format +msgid "Starting page %d." +msgstr "Iniciando página %d." + +msgid "Statement" +msgstr "Declaração" + +#, c-format +msgid "Subscription #%d does not exist." +msgstr "Inscrição #%d não existe." + +msgid "Substitutions:" +msgstr "Substituições:" + +msgid "Super A" +msgstr "Super A" + +msgid "Super B" +msgstr "Super B" + +msgid "Super B/A3" +msgstr "Super B/A3" + +msgid "Switching Protocols" +msgstr "Alternando protocolos" + +msgid "Tabloid" +msgstr "Tabloide" + +msgid "Tabloid Oversize" +msgstr "Tabloide grande" + +msgid "Tabloid Oversize Long Edge" +msgstr "Tabloide borda muito maior" + +msgid "Tear" +msgstr "Destacar" + +msgid "Tear-Off" +msgstr "Destacar" + +msgid "Tear-Off Adjust Position" +msgstr "Ajuste da posição de destaque" + +#, c-format +msgid "The \"%s\" attribute is required for print jobs." +msgstr "O atributo \"%s\" é necessário para imprimir os trabalhos." + +#, c-format +msgid "The %s attribute cannot be provided with job-ids." +msgstr "O atributo %s não pode ser fornecido com job-ids." + +#, c-format +msgid "" +"The '%s' Job Status attribute cannot be supplied in a job creation request." +msgstr "" +"O atributo de estado de trabalho '%s' não pode ser fornecido em uma " +"requisição de criação de trabalho." + +#, c-format +msgid "" +"The '%s' operation attribute cannot be supplied in a Create-Job request." +msgstr "" +"O atributo de operação '%s' não pode ser fornecido em uma requisição de " +"criação de trabalho." + +#, c-format +msgid "The PPD file \"%s\" could not be found." +msgstr "O arquivo PPD \"%s\" não pôde ser encontrado." + +#, c-format +msgid "The PPD file \"%s\" could not be opened: %s" +msgstr "O arquivo PPD \"%s\" não pôde ser aberto: %s" + +msgid "The PPD file could not be opened." +msgstr "O arquivo PPD não pôde ser aberto." + +msgid "" +"The class name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/), or the pound sign (#)." +msgstr "" +"O nome da classe pode conter somente até 127 caracteres imprimíveis e não " +"pode conter espaços, barras (/), ou sinal de tralha (#)." + +msgid "" +"The notify-lease-duration attribute cannot be used with job subscriptions." +msgstr "" +"O atributo notify-lease-duration não pode ser usado para inscrições de " +"trabalhos." + +#, c-format +msgid "The notify-user-data value is too large (%d > 63 octets)." +msgstr "O valor de notify-user-data está muito grande (%d > 63 octetos)." + +msgid "The printer configuration is incorrect or the printer no longer exists." +msgstr "" +"A configuração da impressora está incorreta ou a impressora não existe mais." + +msgid "The printer did not respond." +msgstr "A impressora não respondeu." + +msgid "The printer is in use." +msgstr "A impressora está em uso." + +msgid "The printer is not connected." +msgstr "A impressora não está conectada." + +msgid "The printer is not responding." +msgstr "A impressora não está respondendo." + +msgid "The printer is now connected." +msgstr "A impressora está agora conectada." + +msgid "The printer is now online." +msgstr "A impressora está agora online." + +msgid "The printer is offline." +msgstr "A impressora está offline." + +msgid "The printer is unreachable at this time." +msgstr "A impressora está inacessível neste momento." + +msgid "The printer may not exist or is unavailable at this time." +msgstr "A impressora pode não existir ou está indisponível neste momento." + +msgid "" +"The printer name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the " +"pound sign (#)." +msgstr "" + +msgid "The printer or class does not exist." +msgstr "A impressora ou classe não existe." + +msgid "The printer or class is not shared." +msgstr "A impressora ou classe não está compartilhada." + +#, c-format +msgid "The printer-uri \"%s\" contains invalid characters." +msgstr "O printer-uri \"%s\" contém caracteres inválidos." + +msgid "The printer-uri attribute is required." +msgstr "O atributo printer-uri é necessário." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." +msgstr "" +"O printer-uri deve estar no formato \"ipp://MAQUINA/classes/NOMECLASSE\"." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." +msgstr "" +"O printer-uri deve estar no formato \"ipp://MAQUINA/printers/NOMEIMPRESSORA" +"\"." + +msgid "" +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to " +"enable it." +msgstr "" +"A interface web está desabilitada no momento. Execute \"cupsctl " +"WebInterface=yes\" para habilitá-la." + +#, c-format +msgid "The which-jobs value \"%s\" is not supported." +msgstr "Não há suporte ao valor de which-jobs \"%s\"." + +msgid "There are too many subscriptions." +msgstr "Há inscrições demais." + +msgid "There was an unrecoverable USB error." +msgstr "Ocorreu um erro de USB irrecuperável." + +msgid "Thermal Transfer Media" +msgstr "Mídia de transferência térmica" + +msgid "Too many active jobs." +msgstr "Há trabalhos demais ativos." + +#, c-format +msgid "Too many job-sheets values (%d > 2)." +msgstr "Há valores de job-sheets demais (%d > 2)." + +#, c-format +msgid "Too many printer-state-reasons values (%d > %d)." +msgstr "Há valores de printer-state-reasons demais (%d >%d)." + +msgid "Transparency" +msgstr "Transparência" + +msgid "Tray" +msgstr "Bandeja" + +msgid "Tray 1" +msgstr "Bandeja 1" + +msgid "Tray 2" +msgstr "Bandeja 2" + +msgid "Tray 3" +msgstr "Bandeja 3" + +msgid "Tray 4" +msgstr "Bandeja 4" + +msgid "Trust on first use is disabled." +msgstr "" + +msgid "URI Too Long" +msgstr "URI muito longa" + +msgid "URI too large" +msgstr "URI muito grande" + +msgid "US Fanfold" +msgstr "" + +msgid "US Ledger" +msgstr "US Ledger" + +msgid "US Legal" +msgstr "US Legal" + +msgid "US Legal Oversize" +msgstr "US Legal grande" + +msgid "US Letter" +msgstr "US Letter" + +msgid "US Letter Long Edge" +msgstr "US Letter borda maior" + +msgid "US Letter Oversize" +msgstr "US Letter grande" + +msgid "US Letter Oversize Long Edge" +msgstr "US Letter borda muito maior" + +msgid "US Letter Small" +msgstr "US Letter pequena" + +msgid "Unable to access cupsd.conf file" +msgstr "Não foi possível acessar o arquivo cupsd.conf" + +msgid "Unable to access help file." +msgstr "Não foi possível acessar o arquivo de ajuda." + +msgid "Unable to add class" +msgstr "Não foi possível adicionar classe" + +msgid "Unable to add document to print job." +msgstr "Não foi possível adicionar o documento ao trabalho de impressão." + +#, c-format +msgid "Unable to add job for destination \"%s\"." +msgstr "Não foi possível adicionar trabalho para destino \"%s\"." + +msgid "Unable to add printer" +msgstr "Não foi possível adicionar impressora" + +msgid "Unable to allocate memory for file types." +msgstr "Não foi possível alocar memória para os tipos de arquivos." + +msgid "Unable to allocate memory for page info" +msgstr "Não foi possível alocar memória para informação de página" + +msgid "Unable to allocate memory for pages array" +msgstr "Não foi possível alocar memória para vetor de páginas" + +msgid "Unable to allocate memory for printer" +msgstr "" + +msgid "Unable to cancel print job." +msgstr "Não foi possível cancelar trabalho de impressão." + +msgid "Unable to change printer" +msgstr "Não foi possível alterar a impressora" + +msgid "Unable to change printer-is-shared attribute" +msgstr "Não foi possível alterar o atributo printer-is-shared" + +msgid "Unable to change server settings" +msgstr "Não foi possível alterar as configurações do servidor" + +#, c-format +msgid "Unable to compile mimeMediaType regular expression: %s." +msgstr "Não foi possível compilar a expressão regular de mimeMediaType: %s." + +#, c-format +msgid "Unable to compile naturalLanguage regular expression: %s." +msgstr "Não foi possível compilar a expressão regular de naturalLanguage: %s." + +msgid "Unable to configure printer options." +msgstr "Não foi possível configurar opções de impressora." + +msgid "Unable to connect to host." +msgstr "Não foi possível conectar à máquina." + +msgid "Unable to contact printer, queuing on next printer in class." +msgstr "" +"Não foi possível contactar a impressora, enfileirando na próxima impressora " +"na classe." + +#, c-format +msgid "Unable to copy PPD file - %s" +msgstr "Não foi possível copiar arquivo PPD - %s" + +msgid "Unable to copy PPD file." +msgstr "Não foi possível copiar arquivo PPD." + +msgid "Unable to create credentials from array." +msgstr "" + +msgid "Unable to create printer-uri" +msgstr "Não foi possível criar uri de impressora" + +msgid "Unable to create printer." +msgstr "" + +msgid "Unable to create server credentials." +msgstr "Não foi possível criar credenciais no servidor." + +#, c-format +msgid "Unable to create spool directory \"%s\": %s" +msgstr "" + +msgid "Unable to create temporary file" +msgstr "Não foi possível criar arquivo temporário" + +msgid "Unable to delete class" +msgstr "Não foi possível excluir classe" + +msgid "Unable to delete printer" +msgstr "Não foi possível excluir impressora" + +msgid "Unable to do maintenance command" +msgstr "Não foi possível executar comando de manutenção" + +msgid "Unable to edit cupsd.conf files larger than 1MB" +msgstr "Não foi possível editar arquivos de cupsd.conf maiores que 1MB" + +#, c-format +msgid "Unable to establish a secure connection to host (%d)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (certificate chain invalid)." +msgstr "" +"Não foi possível estabelecer uma conexão segura com a máquina (cadeia de " +"certificação inválida)." + +msgid "" +"Unable to establish a secure connection to host (certificate not yet valid)." +msgstr "" +"Não foi possível estabelecer uma conexão segura com a máquina (certificado " +"inválido no momento)." + +msgid "Unable to establish a secure connection to host (expired certificate)." +msgstr "" +"Não foi possível estabelecer uma conexão segura com a máquina (certificado " +"expirou)." + +msgid "Unable to establish a secure connection to host (host name mismatch)." +msgstr "" +"Não foi possível estabelecer uma conexão segura com a máquina (nome da " +"máquina incorreto)." + +msgid "" +"Unable to establish a secure connection to host (peer dropped connection " +"before responding)." +msgstr "" +"Não foi possível estabelecer uma conexão segura com a máquina (terminou a " +"conexão sem a resposta)." + +msgid "" +"Unable to establish a secure connection to host (self-signed certificate)." +msgstr "" +"Não foi possível estabelecer uma conexão segura com a máquina (certificado " +"auto-assinado)." + +msgid "" +"Unable to establish a secure connection to host (untrusted certificate)." +msgstr "" +"Não foi possível estabelecer uma conexão segura com a máquina (certificado " +"não confiado)." + +msgid "Unable to establish a secure connection to host." +msgstr "Não foi possível estabelecer uma conexão segura com a máquina." + +#, c-format +msgid "Unable to execute command \"%s\": %s" +msgstr "" + +msgid "Unable to find destination for job" +msgstr "Não foi possível encontrar o destino do trabalho" + +msgid "Unable to find printer." +msgstr "Não foi possível encontrar a impressora." + +msgid "Unable to find server credentials." +msgstr "Não foi possível encontrar credenciais no servidor." + +msgid "Unable to get backend exit status." +msgstr "Não foi possível obter o estado de saída do backend." + +msgid "Unable to get class list" +msgstr "Não foi possível obter lista de classes" + +msgid "Unable to get class status" +msgstr "Não foi possível obter o estado da classe" + +msgid "Unable to get list of printer drivers" +msgstr "Não foi possível obter lista de drivers de impressoras" + +msgid "Unable to get printer attributes" +msgstr "Não foi possível obter atributos da impressora" + +msgid "Unable to get printer list" +msgstr "Não foi possível obter lista de impressoras" + +msgid "Unable to get printer status" +msgstr "Não foi possível obter estado da impressora" + +msgid "Unable to get printer status." +msgstr "Não foi possível obter o estado da impressora." + +msgid "Unable to load help index." +msgstr "Não foi possível carregar índice de ajuda." + +#, c-format +msgid "Unable to locate printer \"%s\"." +msgstr "Não foi possível localizar a impressora \"%s\"." + +msgid "Unable to locate printer." +msgstr "Não foi possível localizar a impressora." + +msgid "Unable to modify class" +msgstr "Não foi possível modificar classe" + +msgid "Unable to modify printer" +msgstr "Não foi possível modificar impressora" + +msgid "Unable to move job" +msgstr "Não foi possível mover trabalho" + +msgid "Unable to move jobs" +msgstr "Não foi possível mover trabalhos" + +msgid "Unable to open PPD file" +msgstr "Não foi possível abrir arquivo PPD" + +msgid "Unable to open cupsd.conf file:" +msgstr "Não foi possível abrir arquivo cupsd.conf:" + +msgid "Unable to open device file" +msgstr "Não foi possível abrir arquivo dispositivo" + +#, c-format +msgid "Unable to open document #%d in job #%d." +msgstr "Não foi possível abrir documento #%d no trabalho #%d." + +msgid "Unable to open help file." +msgstr "Não foi possível abrir arquivo de ajuda." + +msgid "Unable to open print file" +msgstr "Não foi possível abrir arquivo de impressão" + +msgid "Unable to open raster file" +msgstr "Não foi possível arquivo de rasterização" + +msgid "Unable to print test page" +msgstr "Não foi possível imprimir página teste" + +msgid "Unable to read print data." +msgstr "Não foi possível ler dados de impressão." + +#, c-format +msgid "Unable to register \"%s.%s\": %d" +msgstr "" + +msgid "Unable to rename job document file." +msgstr "Não foi possível renomear o arquivo de documento do trabalho." + +msgid "Unable to resolve printer-uri." +msgstr "Não foi possível resolver printer-ui." + +msgid "Unable to see in file" +msgstr "Não foi possível ler o arquivo" + +msgid "Unable to send command to printer driver" +msgstr "Não foi possível enviar comando ao driver da impressora" + +msgid "Unable to send data to printer." +msgstr "Não foi possível enviar dados à impressora." + +msgid "Unable to set options" +msgstr "Não foi possível definir opções" + +msgid "Unable to set server default" +msgstr "Não foi possível definir servidor padrão" + +msgid "Unable to start backend process." +msgstr "Não foi possível iniciar processo de backend." + +msgid "Unable to upload cupsd.conf file" +msgstr "Não foi possível atualizar o arquivo cupsd.conf" + +msgid "Unable to use legacy USB class driver." +msgstr "Não foi possível usar driver de classe USB legado." + +msgid "Unable to write print data" +msgstr "Não foi possível escrever dados de impressão" + +#, c-format +msgid "Unable to write uncompressed print data: %s" +msgstr "Não foi possível escrever dados descompactados de impressão: %s" + +msgid "Unauthorized" +msgstr "Não autorizado" + +msgid "Units" +msgstr "Unidades" + +msgid "Unknown" +msgstr "Desconhecido" + +#, c-format +msgid "Unknown choice \"%s\" for option \"%s\"." +msgstr "Escolha desconhecida \"%s\" para opção \"%s\"." + +#, c-format +msgid "Unknown directive \"%s\" on line %d of \"%s\" ignored." +msgstr "" + +#, c-format +msgid "Unknown encryption option value: \"%s\"." +msgstr "Valor da opção de criptografia desconhecido: \"%s\"." + +#, c-format +msgid "Unknown file order: \"%s\"." +msgstr "Ordem de arquivo desconhecida: \"%s\"." + +#, c-format +msgid "Unknown format character: \"%c\"." +msgstr "Caractere de formato desconhecido: \"%c\"." + +msgid "Unknown hash algorithm." +msgstr "" + +msgid "Unknown media size name." +msgstr "Nome de tamanho de mídia desconhecido." + +#, c-format +msgid "Unknown option \"%s\" with value \"%s\"." +msgstr "Opção \"%s\" desconhecida com valor \"%s\"." + +#, c-format +msgid "Unknown option \"%s\"." +msgstr "Opção \"%s\" desconhecida." + +#, c-format +msgid "Unknown print mode: \"%s\"." +msgstr "Modo de impressão desconhecido: \"%s\"." + +#, c-format +msgid "Unknown printer-error-policy \"%s\"." +msgstr "printer-error-policy \"%s\" desconhecido." + +#, c-format +msgid "Unknown printer-op-policy \"%s\"." +msgstr "printer-op-policy \"%s\" desconhecido." + +msgid "Unknown request method." +msgstr "Método de requisição desconhecido." + +msgid "Unknown request version." +msgstr "Versão de requisição desconhecida." + +msgid "Unknown scheme in URI" +msgstr "Esquema desconhecido na URI" + +msgid "Unknown service name." +msgstr "Nome de serviço desconhecido." + +#, c-format +msgid "Unknown version option value: \"%s\"." +msgstr "Valor de opção de versão desconhecido: \"%s\"." + +#, c-format +msgid "Unsupported 'compression' value \"%s\"." +msgstr "Não suporte a \"compression\" com valor \"%s\"." + +#, c-format +msgid "Unsupported 'document-format' value \"%s\"." +msgstr "Não há suporte a \"document-format\" com valor \"%s\"." + +msgid "Unsupported 'job-hold-until' value." +msgstr "" + +msgid "Unsupported 'job-name' value." +msgstr "Não há suporte ao valor de \"job-name\"." + +#, c-format +msgid "Unsupported character set \"%s\"." +msgstr "Não há suporte ao conjunto de caracteres \"%s\"." + +#, c-format +msgid "Unsupported compression \"%s\"." +msgstr "Não há suporte à compressão \"%s\"." + +#, c-format +msgid "Unsupported document-format \"%s\"." +msgstr "Não há suporte ao document-format \"%s\"." + +#, c-format +msgid "Unsupported document-format \"%s/%s\"." +msgstr "Não há suporte ao document-format \"%s/%s\"." + +#, c-format +msgid "Unsupported format \"%s\"." +msgstr "Não há suporte ao formato \"%s\"." + +msgid "Unsupported margins." +msgstr "Não há suporte a margens." + +msgid "Unsupported media value." +msgstr "Não há suporte ao valor de mídia." + +#, c-format +msgid "Unsupported number-up value %d, using number-up=1." +msgstr "Não há suporte ao valor de number-up %d; usando number-up=1." + +#, c-format +msgid "Unsupported number-up-layout value %s, using number-up-layout=lrtb." +msgstr "" +"Não há suporte ao valor de number-up-layout %s; usando number-up-layout=lrtb." + +#, c-format +msgid "Unsupported page-border value %s, using page-border=none." +msgstr "Não há suporte ao valor de page-border %s; usando page-border=none." + +msgid "Unsupported raster data." +msgstr "Não há suporte a dados de rasterização." + +msgid "Unsupported value type" +msgstr "Não há suporte ao tipo de valor" + +msgid "Upgrade Required" +msgstr "Atualização necessária" + +#, c-format +msgid "Usage: %s [options] destination(s)" +msgstr "" + +#, c-format +msgid "Usage: %s job-id user title copies options [file]" +msgstr "Uso: %s job-id usuário título cópias opções [arquivo]" + +msgid "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" +msgstr "" + +msgid "Usage: cupsctl [options] [param=value ... paramN=valueN]" +msgstr "Uso: cupsctl [opções] [param=valor ... paramN=valorN]" + +msgid "Usage: cupsd [options]" +msgstr "Uso: cupsd [opções]" + +msgid "Usage: cupsfilter [ options ] [ -- ] filename" +msgstr "Uso: cupsfilter [ opções ] [ -- ] arquivo" + +msgid "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" +msgstr "" + +msgid "Usage: ippeveprinter [options] \"name\"" +msgstr "" + +msgid "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" +msgstr "" +"Uso: ippfind [opções] tiporeg[,tiposub][.domínio.] ... [expressões]\n" +" ippfind [opções] nome[.tiporeg[.domínio.]] ... [expressões]\n" +" ippfind --help\n" +" ippfind --version" + +msgid "Usage: ipptool [options] URI filename [ ... filenameN ]" +msgstr "Uso: ipptool [opções] URI arquivo [ ... arquivoN ]" + +msgid "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" +msgstr "" + +msgid "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" +msgstr "" + +msgid "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" +msgstr "" + +msgid "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" +msgstr "" + +msgid "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" +msgstr "" + +msgid "Usage: lpq [options] [+interval]" +msgstr "" + +msgid "Usage: lpr [options] [file(s)]" +msgstr "" + +msgid "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" +msgstr "" + +msgid "Usage: lpstat [options]" +msgstr "" + +msgid "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" +msgstr "Uso: ppdc [opções] arquivo.drv [ ... arquivoN.drv ]" + +msgid "Usage: ppdhtml [options] filename.drv >filename.html" +msgstr "Uso: ppdhtml [opções] arquivo.drv >arquivo.html" + +msgid "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "Uso: ppdi [opções] arquivo.ppd [ ... arquivoN.ppd ]" + +msgid "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "Uso: ppdmerge [opções] arquivo.ppd [ ... arquivoN.ppd ]" + +msgid "" +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" +msgstr "Uso: ppdpo [opções] -o arquivo.po arquivo.drv [ ... arquivoN.drv ]" + +msgid "Usage: snmp [host-or-ip-address]" +msgstr "Uso: snmp [máquina-ou-endereço-ip]" + +#, c-format +msgid "Using spool directory \"%s\"." +msgstr "" + +msgid "Value uses indefinite length" +msgstr "Valor usa comprimento indefinido" + +msgid "VarBind uses indefinite length" +msgstr "VarBind usa comprimento indefinido" + +msgid "Version uses indefinite length" +msgstr "Version usa comprimento indefinido" + +msgid "Waiting for job to complete." +msgstr "Esperando o trabalho completar." + +msgid "Waiting for printer to become available." +msgstr "Esperando a impressora ficar disponível." + +msgid "Waiting for printer to finish." +msgstr "Esperando a impressora finalizar." + +msgid "Warning: This program will be removed in a future version of CUPS." +msgstr "" + +msgid "Web Interface is Disabled" +msgstr "Interface web está desabilitada" + +msgid "Yes" +msgstr "Sim" + +msgid "You cannot access this page." +msgstr "" + +#, c-format +msgid "You must access this page using the URL https://%s:%d%s." +msgstr "Você tem que acessar esta página usando a URL https://%s:%d%s." + +msgid "Your account does not have the necessary privileges." +msgstr "" + +msgid "ZPL Label Printer" +msgstr "Impressora de etiqueta ZPL" + +msgid "Zebra" +msgstr "Zebra" + +msgid "aborted" +msgstr "abortado" + +#. TRANSLATORS: Accuracy Units +msgid "accuracy-units" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "accuracy-units.mm" +msgstr "" + +#. TRANSLATORS: Nanometers +msgid "accuracy-units.nm" +msgstr "" + +#. TRANSLATORS: Micrometers +msgid "accuracy-units.um" +msgstr "" + +#. TRANSLATORS: Bale Output +msgid "baling" +msgstr "" + +#. TRANSLATORS: Bale Using +msgid "baling-type" +msgstr "" + +#. TRANSLATORS: Band +msgid "baling-type.band" +msgstr "" + +#. TRANSLATORS: Shrink Wrap +msgid "baling-type.shrink-wrap" +msgstr "" + +#. TRANSLATORS: Wrap +msgid "baling-type.wrap" +msgstr "" + +#. TRANSLATORS: Bale After +msgid "baling-when" +msgstr "" + +#. TRANSLATORS: Job +msgid "baling-when.after-job" +msgstr "" + +#. TRANSLATORS: Sets +msgid "baling-when.after-sets" +msgstr "" + +#. TRANSLATORS: Bind Output +msgid "binding" +msgstr "" + +#. TRANSLATORS: Bind Edge +msgid "binding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "binding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "binding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "binding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "binding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Binder Type +msgid "binding-type" +msgstr "" + +#. TRANSLATORS: Adhesive +msgid "binding-type.adhesive" +msgstr "" + +#. TRANSLATORS: Comb +msgid "binding-type.comb" +msgstr "" + +#. TRANSLATORS: Flat +msgid "binding-type.flat" +msgstr "" + +#. TRANSLATORS: Padding +msgid "binding-type.padding" +msgstr "" + +#. TRANSLATORS: Perfect +msgid "binding-type.perfect" +msgstr "" + +#. TRANSLATORS: Spiral +msgid "binding-type.spiral" +msgstr "" + +#. TRANSLATORS: Tape +msgid "binding-type.tape" +msgstr "" + +#. TRANSLATORS: Velo +msgid "binding-type.velo" +msgstr "" + +msgid "canceled" +msgstr "cancelado" + +#. TRANSLATORS: Chamber Humidity +msgid "chamber-humidity" +msgstr "" + +#. TRANSLATORS: Chamber Temperature +msgid "chamber-temperature" +msgstr "" + +#. TRANSLATORS: Print Job Cost +msgid "charge-info-message" +msgstr "" + +#. TRANSLATORS: Coat Sheets +msgid "coating" +msgstr "" + +#. TRANSLATORS: Add Coating To +msgid "coating-sides" +msgstr "" + +#. TRANSLATORS: Back +msgid "coating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "coating-sides.both" +msgstr "" + +#. TRANSLATORS: Front +msgid "coating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Coating +msgid "coating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "coating-type.archival" +msgstr "" + +#. TRANSLATORS: Archival Glossy +msgid "coating-type.archival-glossy" +msgstr "" + +#. TRANSLATORS: Archival Matte +msgid "coating-type.archival-matte" +msgstr "" + +#. TRANSLATORS: Archival Semi Gloss +msgid "coating-type.archival-semi-gloss" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "coating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "coating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "coating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "coating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Silicone +msgid "coating-type.silicone" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "coating-type.translucent" +msgstr "" + +msgid "completed" +msgstr "completou" + +#. TRANSLATORS: Print Confirmation Sheet +msgid "confirmation-sheet-print" +msgstr "" + +#. TRANSLATORS: Copies +msgid "copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "cover-front" +msgstr "" + +#. TRANSLATORS: Cover Sheet Info +msgid "cover-sheet-info" +msgstr "" + +#. TRANSLATORS: Date Time +msgid "cover-sheet-info-supported.date-time" +msgstr "" + +#. TRANSLATORS: From Name +msgid "cover-sheet-info-supported.from-name" +msgstr "" + +#. TRANSLATORS: Logo +msgid "cover-sheet-info-supported.logo" +msgstr "" + +#. TRANSLATORS: Message +msgid "cover-sheet-info-supported.message" +msgstr "" + +#. TRANSLATORS: Organization +msgid "cover-sheet-info-supported.organization" +msgstr "" + +#. TRANSLATORS: Subject +msgid "cover-sheet-info-supported.subject" +msgstr "" + +#. TRANSLATORS: To Name +msgid "cover-sheet-info-supported.to-name" +msgstr "" + +#. TRANSLATORS: Printed Cover +msgid "cover-type" +msgstr "" + +#. TRANSLATORS: No Cover +msgid "cover-type.no-cover" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "cover-type.print-back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "cover-type.print-both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "cover-type.print-front" +msgstr "" + +#. TRANSLATORS: None +msgid "cover-type.print-none" +msgstr "" + +#. TRANSLATORS: Cover Output +msgid "covering" +msgstr "" + +#. TRANSLATORS: Add Cover +msgid "covering-name" +msgstr "" + +#. TRANSLATORS: Plain +msgid "covering-name.plain" +msgstr "" + +#. TRANSLATORS: Pre-cut +msgid "covering-name.pre-cut" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "covering-name.pre-printed" +msgstr "" + +msgid "cups-deviced failed to execute." +msgstr "cups-deviced falhou na execução." + +msgid "cups-driverd failed to execute." +msgstr "cups-driverd falhou na execução." + +#, c-format +msgid "cupsctl: Cannot set %s directly." +msgstr "" + +#, c-format +msgid "cupsctl: Unable to connect to server: %s" +msgstr "cupsctl: Não foi possível conectar o servidor: %s" + +#, c-format +msgid "cupsctl: Unknown option \"%s\"" +msgstr "cupsctl: Opção desconhecida \"%s\"" + +#, c-format +msgid "cupsctl: Unknown option \"-%c\"" +msgstr "cupsctl: Opção desconhecida \"-%c\"" + +msgid "cupsd: Expected config filename after \"-c\" option." +msgstr "cupsd: Esperava nome de arquivo de configuração após a opção \"-c\"." + +msgid "cupsd: Expected cups-files.conf filename after \"-s\" option." +msgstr "" +"cupsd: Esperava nome de arquivo de cups-files.conf após a opção \"-s\"." + +msgid "cupsd: On-demand support not compiled in, running in normal mode." +msgstr "" +"cupsd: Suporte à funcionalidade sob demanda não compilado, executando em " +"modo normal." + +msgid "cupsd: Relative cups-files.conf filename not allowed." +msgstr "cupsd: Nome de arquivo relativo para cups-files.conf não é permitido." + +msgid "cupsd: Unable to get current directory." +msgstr "cupsd: Não é possível obter diretório atual." + +msgid "cupsd: Unable to get path to cups-files.conf file." +msgstr "" +"cupsd: Não foi possível obter o caminho para o arquivo cups-files.conf." + +#, c-format +msgid "cupsd: Unknown argument \"%s\" - aborting." +msgstr "cupsd: Argumento desconhecido \"%s\" - abortando." + +#, c-format +msgid "cupsd: Unknown option \"%c\" - aborting." +msgstr "cupsd: Opção desconhecida \"%c\" - abortando." + +#, c-format +msgid "cupsfilter: Invalid document number %d." +msgstr "cupsfilter: Número de documento inválido %d." + +#, c-format +msgid "cupsfilter: Invalid job ID %d." +msgstr "cupsfilter: ID de trabalho inválido %d." + +msgid "cupsfilter: Only one filename can be specified." +msgstr "cupsfilter: Somente um nome de arquivo pode ser especificado." + +#, c-format +msgid "cupsfilter: Unable to get job file - %s" +msgstr "cupsfilter: Não é possível obter o arquivo do trabalho - %s" + +msgid "cupstestppd: The -q option is incompatible with the -v option." +msgstr "cupstestppd: A opção -q é incompatível com a opção -v." + +msgid "cupstestppd: The -v option is incompatible with the -q option." +msgstr "cupstestppd: A opção -v é incompatível com a opção -q." + +#. TRANSLATORS: Detailed Status Message +msgid "detailed-status-message" +msgstr "" + +#, c-format +msgid "device for %s/%s: %s" +msgstr "dispositivo de %s/%s: %s" + +#, c-format +msgid "device for %s: %s" +msgstr "dispositivo de %s: %s" + +#. TRANSLATORS: Copies +msgid "document-copies" +msgstr "" + +#. TRANSLATORS: Document Privacy Attributes +msgid "document-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Document Description +msgid "document-privacy-attributes.document-description" +msgstr "" + +#. TRANSLATORS: Document Template +msgid "document-privacy-attributes.document-template" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Document Privacy Scope +msgid "document-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "document-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Document State +msgid "document-state" +msgstr "" + +#. TRANSLATORS: Detailed Document State +msgid "document-state-reasons" +msgstr "" + +#. TRANSLATORS: Aborted By System +msgid "document-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Canceled At Device +msgid "document-state-reasons.canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled By Operator +msgid "document-state-reasons.canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled By User +msgid "document-state-reasons.canceled-by-user" +msgstr "" + +#. TRANSLATORS: Completed Successfully +msgid "document-state-reasons.completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed With Errors +msgid "document-state-reasons.completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed With Warnings +msgid "document-state-reasons.completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Compression Error +msgid "document-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Data Insufficient +msgid "document-state-reasons.data-insufficient" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "document-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "document-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Digital Signature Wait +msgid "document-state-reasons.digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "document-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "document-state-reasons.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "document-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "document-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "document-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "document-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "document-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "document-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "document-state-reasons.incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "document-state-reasons.interpreting" +msgstr "" + +#. TRANSLATORS: None +msgid "document-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "document-state-reasons.outgoing" +msgstr "" + +#. TRANSLATORS: Printing +msgid "document-state-reasons.printing" +msgstr "" + +#. TRANSLATORS: Processing To Stop Point +msgid "document-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Queued +msgid "document-state-reasons.queued" +msgstr "" + +#. TRANSLATORS: Queued For Marker +msgid "document-state-reasons.queued-for-marker" +msgstr "" + +#. TRANSLATORS: Queued In Device +msgid "document-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "document-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "document-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "document-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "document-state-reasons.transforming" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "document-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "document-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "document-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "document-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "document-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "document-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "document-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "document-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "document-state.9" +msgstr "" + +msgid "error-index uses indefinite length" +msgstr "error-index usa comprimento indefinido" + +msgid "error-status uses indefinite length" +msgstr "error-status usa comprimento indefinido" + +msgid "" +"expression --and expression\n" +" Logical AND" +msgstr "" + +msgid "" +"expression --or expression\n" +" Logical OR" +msgstr "" + +msgid "expression expression Logical AND" +msgstr "" + +#. TRANSLATORS: Feed Orientation +msgid "feed-orientation" +msgstr "" + +#. TRANSLATORS: Long Edge First +msgid "feed-orientation.long-edge-first" +msgstr "" + +#. TRANSLATORS: Short Edge First +msgid "feed-orientation.short-edge-first" +msgstr "" + +#. TRANSLATORS: Fetch Status Code +msgid "fetch-status-code" +msgstr "" + +#. TRANSLATORS: Finishing Template +msgid "finishing-template" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishing-template.bale" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishing-template.bind" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishing-template.bind-bottom" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishing-template.bind-left" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishing-template.bind-right" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishing-template.bind-top" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishing-template.booklet-maker" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishing-template.coat" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishing-template.cover" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishing-template.edge-stitch" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishing-template.edge-stitch-bottom" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishing-template.edge-stitch-left" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishing-template.edge-stitch-right" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishing-template.edge-stitch-top" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishing-template.fold" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishing-template.fold-accordion" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishing-template.fold-double-gate" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishing-template.fold-engineering-z" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishing-template.fold-gate" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishing-template.fold-half" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishing-template.fold-half-z" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishing-template.fold-left-gate" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishing-template.fold-letter" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishing-template.fold-parallel" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishing-template.fold-poster" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishing-template.fold-right-gate" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishing-template.fold-z" +msgstr "" + +#. TRANSLATORS: JDF F10-1 +msgid "finishing-template.jdf-f10-1" +msgstr "" + +#. TRANSLATORS: JDF F10-2 +msgid "finishing-template.jdf-f10-2" +msgstr "" + +#. TRANSLATORS: JDF F10-3 +msgid "finishing-template.jdf-f10-3" +msgstr "" + +#. TRANSLATORS: JDF F12-1 +msgid "finishing-template.jdf-f12-1" +msgstr "" + +#. TRANSLATORS: JDF F12-10 +msgid "finishing-template.jdf-f12-10" +msgstr "" + +#. TRANSLATORS: JDF F12-11 +msgid "finishing-template.jdf-f12-11" +msgstr "" + +#. TRANSLATORS: JDF F12-12 +msgid "finishing-template.jdf-f12-12" +msgstr "" + +#. TRANSLATORS: JDF F12-13 +msgid "finishing-template.jdf-f12-13" +msgstr "" + +#. TRANSLATORS: JDF F12-14 +msgid "finishing-template.jdf-f12-14" +msgstr "" + +#. TRANSLATORS: JDF F12-2 +msgid "finishing-template.jdf-f12-2" +msgstr "" + +#. TRANSLATORS: JDF F12-3 +msgid "finishing-template.jdf-f12-3" +msgstr "" + +#. TRANSLATORS: JDF F12-4 +msgid "finishing-template.jdf-f12-4" +msgstr "" + +#. TRANSLATORS: JDF F12-5 +msgid "finishing-template.jdf-f12-5" +msgstr "" + +#. TRANSLATORS: JDF F12-6 +msgid "finishing-template.jdf-f12-6" +msgstr "" + +#. TRANSLATORS: JDF F12-7 +msgid "finishing-template.jdf-f12-7" +msgstr "" + +#. TRANSLATORS: JDF F12-8 +msgid "finishing-template.jdf-f12-8" +msgstr "" + +#. TRANSLATORS: JDF F12-9 +msgid "finishing-template.jdf-f12-9" +msgstr "" + +#. TRANSLATORS: JDF F14-1 +msgid "finishing-template.jdf-f14-1" +msgstr "" + +#. TRANSLATORS: JDF F16-1 +msgid "finishing-template.jdf-f16-1" +msgstr "" + +#. TRANSLATORS: JDF F16-10 +msgid "finishing-template.jdf-f16-10" +msgstr "" + +#. TRANSLATORS: JDF F16-11 +msgid "finishing-template.jdf-f16-11" +msgstr "" + +#. TRANSLATORS: JDF F16-12 +msgid "finishing-template.jdf-f16-12" +msgstr "" + +#. TRANSLATORS: JDF F16-13 +msgid "finishing-template.jdf-f16-13" +msgstr "" + +#. TRANSLATORS: JDF F16-14 +msgid "finishing-template.jdf-f16-14" +msgstr "" + +#. TRANSLATORS: JDF F16-2 +msgid "finishing-template.jdf-f16-2" +msgstr "" + +#. TRANSLATORS: JDF F16-3 +msgid "finishing-template.jdf-f16-3" +msgstr "" + +#. TRANSLATORS: JDF F16-4 +msgid "finishing-template.jdf-f16-4" +msgstr "" + +#. TRANSLATORS: JDF F16-5 +msgid "finishing-template.jdf-f16-5" +msgstr "" + +#. TRANSLATORS: JDF F16-6 +msgid "finishing-template.jdf-f16-6" +msgstr "" + +#. TRANSLATORS: JDF F16-7 +msgid "finishing-template.jdf-f16-7" +msgstr "" + +#. TRANSLATORS: JDF F16-8 +msgid "finishing-template.jdf-f16-8" +msgstr "" + +#. TRANSLATORS: JDF F16-9 +msgid "finishing-template.jdf-f16-9" +msgstr "" + +#. TRANSLATORS: JDF F18-1 +msgid "finishing-template.jdf-f18-1" +msgstr "" + +#. TRANSLATORS: JDF F18-2 +msgid "finishing-template.jdf-f18-2" +msgstr "" + +#. TRANSLATORS: JDF F18-3 +msgid "finishing-template.jdf-f18-3" +msgstr "" + +#. TRANSLATORS: JDF F18-4 +msgid "finishing-template.jdf-f18-4" +msgstr "" + +#. TRANSLATORS: JDF F18-5 +msgid "finishing-template.jdf-f18-5" +msgstr "" + +#. TRANSLATORS: JDF F18-6 +msgid "finishing-template.jdf-f18-6" +msgstr "" + +#. TRANSLATORS: JDF F18-7 +msgid "finishing-template.jdf-f18-7" +msgstr "" + +#. TRANSLATORS: JDF F18-8 +msgid "finishing-template.jdf-f18-8" +msgstr "" + +#. TRANSLATORS: JDF F18-9 +msgid "finishing-template.jdf-f18-9" +msgstr "" + +#. TRANSLATORS: JDF F2-1 +msgid "finishing-template.jdf-f2-1" +msgstr "" + +#. TRANSLATORS: JDF F20-1 +msgid "finishing-template.jdf-f20-1" +msgstr "" + +#. TRANSLATORS: JDF F20-2 +msgid "finishing-template.jdf-f20-2" +msgstr "" + +#. TRANSLATORS: JDF F24-1 +msgid "finishing-template.jdf-f24-1" +msgstr "" + +#. TRANSLATORS: JDF F24-10 +msgid "finishing-template.jdf-f24-10" +msgstr "" + +#. TRANSLATORS: JDF F24-11 +msgid "finishing-template.jdf-f24-11" +msgstr "" + +#. TRANSLATORS: JDF F24-2 +msgid "finishing-template.jdf-f24-2" +msgstr "" + +#. TRANSLATORS: JDF F24-3 +msgid "finishing-template.jdf-f24-3" +msgstr "" + +#. TRANSLATORS: JDF F24-4 +msgid "finishing-template.jdf-f24-4" +msgstr "" + +#. TRANSLATORS: JDF F24-5 +msgid "finishing-template.jdf-f24-5" +msgstr "" + +#. TRANSLATORS: JDF F24-6 +msgid "finishing-template.jdf-f24-6" +msgstr "" + +#. TRANSLATORS: JDF F24-7 +msgid "finishing-template.jdf-f24-7" +msgstr "" + +#. TRANSLATORS: JDF F24-8 +msgid "finishing-template.jdf-f24-8" +msgstr "" + +#. TRANSLATORS: JDF F24-9 +msgid "finishing-template.jdf-f24-9" +msgstr "" + +#. TRANSLATORS: JDF F28-1 +msgid "finishing-template.jdf-f28-1" +msgstr "" + +#. TRANSLATORS: JDF F32-1 +msgid "finishing-template.jdf-f32-1" +msgstr "" + +#. TRANSLATORS: JDF F32-2 +msgid "finishing-template.jdf-f32-2" +msgstr "" + +#. TRANSLATORS: JDF F32-3 +msgid "finishing-template.jdf-f32-3" +msgstr "" + +#. TRANSLATORS: JDF F32-4 +msgid "finishing-template.jdf-f32-4" +msgstr "" + +#. TRANSLATORS: JDF F32-5 +msgid "finishing-template.jdf-f32-5" +msgstr "" + +#. TRANSLATORS: JDF F32-6 +msgid "finishing-template.jdf-f32-6" +msgstr "" + +#. TRANSLATORS: JDF F32-7 +msgid "finishing-template.jdf-f32-7" +msgstr "" + +#. TRANSLATORS: JDF F32-8 +msgid "finishing-template.jdf-f32-8" +msgstr "" + +#. TRANSLATORS: JDF F32-9 +msgid "finishing-template.jdf-f32-9" +msgstr "" + +#. TRANSLATORS: JDF F36-1 +msgid "finishing-template.jdf-f36-1" +msgstr "" + +#. TRANSLATORS: JDF F36-2 +msgid "finishing-template.jdf-f36-2" +msgstr "" + +#. TRANSLATORS: JDF F4-1 +msgid "finishing-template.jdf-f4-1" +msgstr "" + +#. TRANSLATORS: JDF F4-2 +msgid "finishing-template.jdf-f4-2" +msgstr "" + +#. TRANSLATORS: JDF F40-1 +msgid "finishing-template.jdf-f40-1" +msgstr "" + +#. TRANSLATORS: JDF F48-1 +msgid "finishing-template.jdf-f48-1" +msgstr "" + +#. TRANSLATORS: JDF F48-2 +msgid "finishing-template.jdf-f48-2" +msgstr "" + +#. TRANSLATORS: JDF F6-1 +msgid "finishing-template.jdf-f6-1" +msgstr "" + +#. TRANSLATORS: JDF F6-2 +msgid "finishing-template.jdf-f6-2" +msgstr "" + +#. TRANSLATORS: JDF F6-3 +msgid "finishing-template.jdf-f6-3" +msgstr "" + +#. TRANSLATORS: JDF F6-4 +msgid "finishing-template.jdf-f6-4" +msgstr "" + +#. TRANSLATORS: JDF F6-5 +msgid "finishing-template.jdf-f6-5" +msgstr "" + +#. TRANSLATORS: JDF F6-6 +msgid "finishing-template.jdf-f6-6" +msgstr "" + +#. TRANSLATORS: JDF F6-7 +msgid "finishing-template.jdf-f6-7" +msgstr "" + +#. TRANSLATORS: JDF F6-8 +msgid "finishing-template.jdf-f6-8" +msgstr "" + +#. TRANSLATORS: JDF F64-1 +msgid "finishing-template.jdf-f64-1" +msgstr "" + +#. TRANSLATORS: JDF F64-2 +msgid "finishing-template.jdf-f64-2" +msgstr "" + +#. TRANSLATORS: JDF F8-1 +msgid "finishing-template.jdf-f8-1" +msgstr "" + +#. TRANSLATORS: JDF F8-2 +msgid "finishing-template.jdf-f8-2" +msgstr "" + +#. TRANSLATORS: JDF F8-3 +msgid "finishing-template.jdf-f8-3" +msgstr "" + +#. TRANSLATORS: JDF F8-4 +msgid "finishing-template.jdf-f8-4" +msgstr "" + +#. TRANSLATORS: JDF F8-5 +msgid "finishing-template.jdf-f8-5" +msgstr "" + +#. TRANSLATORS: JDF F8-6 +msgid "finishing-template.jdf-f8-6" +msgstr "" + +#. TRANSLATORS: JDF F8-7 +msgid "finishing-template.jdf-f8-7" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishing-template.jog-offset" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishing-template.laminate" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishing-template.punch" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishing-template.punch-bottom-left" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishing-template.punch-bottom-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishing-template.punch-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishing-template.punch-dual-left" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishing-template.punch-dual-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishing-template.punch-dual-top" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishing-template.punch-multiple-bottom" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishing-template.punch-multiple-left" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishing-template.punch-multiple-right" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishing-template.punch-multiple-top" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishing-template.punch-quad-bottom" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishing-template.punch-quad-left" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishing-template.punch-quad-right" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishing-template.punch-quad-top" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishing-template.punch-top-left" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishing-template.punch-top-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishing-template.punch-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishing-template.punch-triple-left" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishing-template.punch-triple-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishing-template.punch-triple-top" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishing-template.saddle-stitch" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishing-template.staple" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishing-template.staple-bottom-left" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishing-template.staple-bottom-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishing-template.staple-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishing-template.staple-dual-left" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishing-template.staple-dual-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishing-template.staple-dual-top" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishing-template.staple-top-left" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishing-template.staple-top-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishing-template.staple-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishing-template.staple-triple-left" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishing-template.staple-triple-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishing-template.staple-triple-top" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishing-template.trim" +msgstr "" + +#. TRANSLATORS: Trim After Every Set +msgid "finishing-template.trim-after-copies" +msgstr "" + +#. TRANSLATORS: Trim After Every Document +msgid "finishing-template.trim-after-documents" +msgstr "" + +#. TRANSLATORS: Trim After Job +msgid "finishing-template.trim-after-job" +msgstr "" + +#. TRANSLATORS: Trim After Every Page +msgid "finishing-template.trim-after-pages" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings-col" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishings.10" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishings.100" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishings.101" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishings.11" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishings.12" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishings.13" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishings.14" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishings.15" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishings.16" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishings.20" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishings.21" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishings.22" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishings.23" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishings.24" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishings.25" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishings.26" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishings.27" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishings.28" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishings.29" +msgstr "" + +#. TRANSLATORS: None +msgid "finishings.3" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishings.30" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishings.31" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishings.32" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishings.33" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishings.34" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishings.35" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishings.4" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishings.5" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishings.50" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishings.51" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishings.52" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishings.53" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishings.6" +msgstr "" + +#. TRANSLATORS: Trim Pages +msgid "finishings.60" +msgstr "" + +#. TRANSLATORS: Trim Documents +msgid "finishings.61" +msgstr "" + +#. TRANSLATORS: Trim Copies +msgid "finishings.62" +msgstr "" + +#. TRANSLATORS: Trim Job +msgid "finishings.63" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishings.7" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishings.70" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishings.71" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishings.72" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishings.73" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishings.74" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishings.75" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishings.76" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishings.77" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishings.78" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishings.79" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishings.8" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishings.80" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishings.81" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishings.82" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishings.83" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishings.84" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishings.85" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishings.86" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishings.87" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishings.88" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishings.89" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishings.9" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishings.90" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishings.91" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishings.92" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishings.93" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishings.94" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishings.95" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishings.96" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishings.97" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishings.98" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishings.99" +msgstr "" + +#. TRANSLATORS: Fold +msgid "folding" +msgstr "" + +#. TRANSLATORS: Fold Direction +msgid "folding-direction" +msgstr "" + +#. TRANSLATORS: Inward +msgid "folding-direction.inward" +msgstr "" + +#. TRANSLATORS: Outward +msgid "folding-direction.outward" +msgstr "" + +#. TRANSLATORS: Fold Position +msgid "folding-offset" +msgstr "" + +#. TRANSLATORS: Fold Edge +msgid "folding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "folding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "folding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "folding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "folding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Font Name +msgid "font-name-requested" +msgstr "" + +#. TRANSLATORS: Font Size +msgid "font-size-requested" +msgstr "" + +#. TRANSLATORS: Force Front Side +msgid "force-front-side" +msgstr "" + +#. TRANSLATORS: From Name +msgid "from-name" +msgstr "" + +msgid "held" +msgstr "retido" + +msgid "help\t\tGet help on commands." +msgstr "help\t\tObtém ajuda sobre os comandos." + +msgid "idle" +msgstr "inativo" + +#. TRANSLATORS: Imposition Template +msgid "imposition-template" +msgstr "" + +#. TRANSLATORS: None +msgid "imposition-template.none" +msgstr "" + +#. TRANSLATORS: Signature +msgid "imposition-template.signature" +msgstr "" + +#. TRANSLATORS: Insert Page Number +msgid "insert-after-page-number" +msgstr "" + +#. TRANSLATORS: Insert Count +msgid "insert-count" +msgstr "" + +#. TRANSLATORS: Insert Sheet +msgid "insert-sheet" +msgstr "" + +#, c-format +msgid "ippeveprinter: Unable to open \"%s\": %s on line %d." +msgstr "" + +#, c-format +msgid "ippfind: Bad regular expression: %s" +msgstr "ippfind: Expressão regular inválida: %s" + +msgid "ippfind: Cannot use --and after --or." +msgstr "ippfind: Não é possível usar --and após --or." + +#, c-format +msgid "ippfind: Expected key name after %s." +msgstr "ippfind: Esperava nome da chave após %s." + +#, c-format +msgid "ippfind: Expected port range after %s." +msgstr "ippfind: Esperava faixa de portas após %s." + +#, c-format +msgid "ippfind: Expected program after %s." +msgstr "ippfind: Esperava o programa após %s." + +#, c-format +msgid "ippfind: Expected semi-colon after %s." +msgstr "ippfind: Esperava ponto-e-vírgula após %s." + +msgid "ippfind: Missing close brace in substitution." +msgstr "ippfind: Faltando chave de fechamento na substituição." + +msgid "ippfind: Missing close parenthesis." +msgstr "ippfind: Faltando parênteses de fechamento." + +msgid "ippfind: Missing expression before \"--and\"." +msgstr "ippfind: Faltando expressão antes de \"--and\"." + +msgid "ippfind: Missing expression before \"--or\"." +msgstr "ippfind: Faltando expressão antes de \"--or\"." + +#, c-format +msgid "ippfind: Missing key name after %s." +msgstr "ippfind: Faltando nome da chave após %s." + +#, c-format +msgid "ippfind: Missing name after %s." +msgstr "" + +msgid "ippfind: Missing open parenthesis." +msgstr "ippfind: Faltando parênteses de abertura." + +#, c-format +msgid "ippfind: Missing program after %s." +msgstr "ippfind: Faltando programa após %s." + +#, c-format +msgid "ippfind: Missing regular expression after %s." +msgstr "ippfind: Faltando expressão regular após %s." + +#, c-format +msgid "ippfind: Missing semi-colon after %s." +msgstr "ippfind: Faltando dois-pontos após %s." + +msgid "ippfind: Out of memory." +msgstr "ippfind: Memória insuficiente." + +msgid "ippfind: Too many parenthesis." +msgstr "ippfind: Número excessivo de parênteses." + +#, c-format +msgid "ippfind: Unable to browse or resolve: %s" +msgstr "ippfind: Não foi possível navegar ou resolver: %s" + +#, c-format +msgid "ippfind: Unable to execute \"%s\": %s" +msgstr "ippfind: Não foi possível executar \"%s\": %s" + +#, c-format +msgid "ippfind: Unable to use Bonjour: %s" +msgstr "ippfind: Não foi possível usar Bonjour: %s" + +#, c-format +msgid "ippfind: Unknown variable \"{%s}\"." +msgstr "ippfind: Argumento desconhecido \"{%s}\"." + +msgid "" +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", " +"and \"-X\"." +msgstr "" + +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." +msgstr "ipptool: \"-i\" e \"-n\" são incompatíveis com \"-P\" e \"-X\"." + +#, c-format +msgid "ipptool: Bad URI \"%s\"." +msgstr "" + +msgid "ipptool: Invalid seconds for \"-i\"." +msgstr "ipptool: Segundos inválidos para \"-i\"." + +msgid "ipptool: May only specify a single URI." +msgstr "ipptool: Só é possível especificar uma única URI." + +msgid "ipptool: Missing count for \"-n\"." +msgstr "ipptool: Contagem faltando para \"-n\"." + +msgid "ipptool: Missing filename for \"--ippserver\"." +msgstr "" + +msgid "ipptool: Missing filename for \"-f\"." +msgstr "ipptool: Faltando nome de arquivo para \"-f\"." + +msgid "ipptool: Missing name=value for \"-d\"." +msgstr "ipptool: Faltando nome=valor para\"-d\"." + +msgid "ipptool: Missing seconds for \"-i\"." +msgstr "ipptool: Faltando segundos para \"-i\"." + +msgid "ipptool: URI required before test file." +msgstr "ipptool: URI necessária antes do arquivo de teste." + +#. TRANSLATORS: Job Account ID +msgid "job-account-id" +msgstr "" + +#. TRANSLATORS: Job Account Type +msgid "job-account-type" +msgstr "" + +#. TRANSLATORS: General +msgid "job-account-type.general" +msgstr "" + +#. TRANSLATORS: Group +msgid "job-account-type.group" +msgstr "" + +#. TRANSLATORS: None +msgid "job-account-type.none" +msgstr "" + +#. TRANSLATORS: Job Accounting Output Bin +msgid "job-accounting-output-bin" +msgstr "" + +#. TRANSLATORS: Job Accounting Sheets +msgid "job-accounting-sheets" +msgstr "" + +#. TRANSLATORS: Type of Job Accounting Sheets +msgid "job-accounting-sheets-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-accounting-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-accounting-sheets-type.standard" +msgstr "" + +#. TRANSLATORS: Job Accounting User ID +msgid "job-accounting-user-id" +msgstr "" + +#. TRANSLATORS: Job Cancel After +msgid "job-cancel-after" +msgstr "" + +#. TRANSLATORS: Copies +msgid "job-copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "job-cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "job-cover-front" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-delay-output-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-delay-output-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-delay-output-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-delay-output-until.night" +msgstr "" + +#. TRANSLATORS: No Delay +msgid "job-delay-output-until.no-delay-output" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-delay-output-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-delay-output-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-delay-output-until.weekend" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "job-error-action.abort-job" +msgstr "" + +#. TRANSLATORS: Cancel Job +msgid "job-error-action.cancel-job" +msgstr "" + +#. TRANSLATORS: Continue Job +msgid "job-error-action.continue-job" +msgstr "" + +#. TRANSLATORS: Suspend Job +msgid "job-error-action.suspend-job" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet" +msgstr "" + +#. TRANSLATORS: Type of Error Sheet +msgid "job-error-sheet-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-error-sheet-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-error-sheet-type.standard" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet-when" +msgstr "" + +#. TRANSLATORS: Always +msgid "job-error-sheet-when.always" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-sheet-when.on-error" +msgstr "" + +#. TRANSLATORS: Job Finishings +msgid "job-finishings" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-hold-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-hold-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-hold-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-hold-until.night" +msgstr "" + +#. TRANSLATORS: No Hold +msgid "job-hold-until.no-hold" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-hold-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-hold-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-hold-until.weekend" +msgstr "" + +#. TRANSLATORS: Job Mandatory Attributes +msgid "job-mandatory-attributes" +msgstr "" + +#. TRANSLATORS: Title +msgid "job-name" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages-col" +msgstr "" + +#. TRANSLATORS: Job Phone Number +msgid "job-phone-number" +msgstr "" + +msgid "job-printer-uri attribute missing." +msgstr "Faltando atributo de job-printer-uri." + +#. TRANSLATORS: Job Priority +msgid "job-priority" +msgstr "" + +#. TRANSLATORS: Job Privacy Attributes +msgid "job-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Job Description +msgid "job-privacy-attributes.job-description" +msgstr "" + +#. TRANSLATORS: Job Template +msgid "job-privacy-attributes.job-template" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Job Privacy Scope +msgid "job-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "job-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Job Recipient Name +msgid "job-recipient-name" +msgstr "" + +#. TRANSLATORS: Job Retain Until +msgid "job-retain-until" +msgstr "" + +#. TRANSLATORS: Job Retain Until Interval +msgid "job-retain-until-interval" +msgstr "" + +#. TRANSLATORS: Job Retain Until Time +msgid "job-retain-until-time" +msgstr "" + +#. TRANSLATORS: End Of Day +msgid "job-retain-until.end-of-day" +msgstr "" + +#. TRANSLATORS: End Of Month +msgid "job-retain-until.end-of-month" +msgstr "" + +#. TRANSLATORS: End Of Week +msgid "job-retain-until.end-of-week" +msgstr "" + +#. TRANSLATORS: Indefinite +msgid "job-retain-until.indefinite" +msgstr "" + +#. TRANSLATORS: None +msgid "job-retain-until.none" +msgstr "" + +#. TRANSLATORS: Job Save Disposition +msgid "job-save-disposition" +msgstr "" + +#. TRANSLATORS: Job Sheet Message +msgid "job-sheet-message" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets-col" +msgstr "" + +#. TRANSLATORS: First Page in Document +msgid "job-sheets.first-print-stream-page" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "job-sheets.job-both-sheet" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "job-sheets.job-end-sheet" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "job-sheets.job-start-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "job-sheets.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-sheets.standard" +msgstr "" + +#. TRANSLATORS: Job State +msgid "job-state" +msgstr "" + +#. TRANSLATORS: Job State Message +msgid "job-state-message" +msgstr "" + +#. TRANSLATORS: Detailed Job State +msgid "job-state-reasons" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Account Authorization Failed +msgid "job-state-reasons.account-authorization-failed" +msgstr "" + +#. TRANSLATORS: Account Closed +msgid "job-state-reasons.account-closed" +msgstr "" + +#. TRANSLATORS: Account Info Needed +msgid "job-state-reasons.account-info-needed" +msgstr "" + +#. TRANSLATORS: Account Limit Reached +msgid "job-state-reasons.account-limit-reached" +msgstr "" + +#. TRANSLATORS: Decompression error +msgid "job-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Conflicting Attributes +msgid "job-state-reasons.conflicting-attributes" +msgstr "" + +#. TRANSLATORS: Connected To Destination +msgid "job-state-reasons.connected-to-destination" +msgstr "" + +#. TRANSLATORS: Connecting To Destination +msgid "job-state-reasons.connecting-to-destination" +msgstr "" + +#. TRANSLATORS: Destination Uri Failed +msgid "job-state-reasons.destination-uri-failed" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "job-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "job-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "job-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "job-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "job-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "job-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "job-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "job-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "job-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Canceled at printer +msgid "job-state-reasons.job-canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled by operator +msgid "job-state-reasons.job-canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled by user +msgid "job-state-reasons.job-canceled-by-user" +msgstr "" + +#. TRANSLATORS: +msgid "job-state-reasons.job-completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed with errors +msgid "job-state-reasons.job-completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed with warnings +msgid "job-state-reasons.job-completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Insufficient data +msgid "job-state-reasons.job-data-insufficient" +msgstr "" + +#. TRANSLATORS: Job Delay Output Until Specified +msgid "job-state-reasons.job-delay-output-until-specified" +msgstr "" + +#. TRANSLATORS: Job Digital Signature Wait +msgid "job-state-reasons.job-digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "job-state-reasons.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Held For Review +msgid "job-state-reasons.job-held-for-review" +msgstr "" + +#. TRANSLATORS: Job held +msgid "job-state-reasons.job-hold-until-specified" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "job-state-reasons.job-incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "job-state-reasons.job-interpreting" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "job-state-reasons.job-outgoing" +msgstr "" + +#. TRANSLATORS: Job Password Wait +msgid "job-state-reasons.job-password-wait" +msgstr "" + +#. TRANSLATORS: Job Printed Successfully +msgid "job-state-reasons.job-printed-successfully" +msgstr "" + +#. TRANSLATORS: Job Printed With Errors +msgid "job-state-reasons.job-printed-with-errors" +msgstr "" + +#. TRANSLATORS: Job Printed With Warnings +msgid "job-state-reasons.job-printed-with-warnings" +msgstr "" + +#. TRANSLATORS: Printing +msgid "job-state-reasons.job-printing" +msgstr "" + +#. TRANSLATORS: Preparing to print +msgid "job-state-reasons.job-queued" +msgstr "" + +#. TRANSLATORS: Processing document +msgid "job-state-reasons.job-queued-for-marker" +msgstr "" + +#. TRANSLATORS: Job Release Wait +msgid "job-state-reasons.job-release-wait" +msgstr "" + +#. TRANSLATORS: Restartable +msgid "job-state-reasons.job-restartable" +msgstr "" + +#. TRANSLATORS: Job Resuming +msgid "job-state-reasons.job-resuming" +msgstr "" + +#. TRANSLATORS: Job Saved Successfully +msgid "job-state-reasons.job-saved-successfully" +msgstr "" + +#. TRANSLATORS: Job Saved With Errors +msgid "job-state-reasons.job-saved-with-errors" +msgstr "" + +#. TRANSLATORS: Job Saved With Warnings +msgid "job-state-reasons.job-saved-with-warnings" +msgstr "" + +#. TRANSLATORS: Job Saving +msgid "job-state-reasons.job-saving" +msgstr "" + +#. TRANSLATORS: Job Spooling +msgid "job-state-reasons.job-spooling" +msgstr "" + +#. TRANSLATORS: Job Streaming +msgid "job-state-reasons.job-streaming" +msgstr "" + +#. TRANSLATORS: Suspended +msgid "job-state-reasons.job-suspended" +msgstr "" + +#. TRANSLATORS: Job Suspended By Operator +msgid "job-state-reasons.job-suspended-by-operator" +msgstr "" + +#. TRANSLATORS: Job Suspended By System +msgid "job-state-reasons.job-suspended-by-system" +msgstr "" + +#. TRANSLATORS: Job Suspended By User +msgid "job-state-reasons.job-suspended-by-user" +msgstr "" + +#. TRANSLATORS: Job Suspending +msgid "job-state-reasons.job-suspending" +msgstr "" + +#. TRANSLATORS: Job Transferring +msgid "job-state-reasons.job-transferring" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "job-state-reasons.job-transforming" +msgstr "" + +#. TRANSLATORS: None +msgid "job-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "job-state-reasons.printer-stopped" +msgstr "" + +#. TRANSLATORS: Printer partially stopped +msgid "job-state-reasons.printer-stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Ready +msgid "job-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "job-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "job-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Service offline +msgid "job-state-reasons.service-off-line" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "job-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Unsupported Attributes Or Values +msgid "job-state-reasons.unsupported-attributes-or-values" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "job-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "job-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Waiting For User Action +msgid "job-state-reasons.waiting-for-user-action" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "job-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "job-state.3" +msgstr "" + +#. TRANSLATORS: Held +msgid "job-state.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "job-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "job-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "job-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "job-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "job-state.9" +msgstr "" + +#. TRANSLATORS: Laminate Pages +msgid "laminating" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "laminating-sides" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "laminating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "laminating-sides.both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "laminating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Lamination +msgid "laminating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "laminating-type.archival" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "laminating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "laminating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "laminating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "laminating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "laminating-type.translucent" +msgstr "" + +#. TRANSLATORS: Logo +msgid "logo" +msgstr "" + +msgid "lpadmin: Class name can only contain printable characters." +msgstr "lpadmin: Nome da classe só pode conter caracteres imprimíveis." + +#, c-format +msgid "lpadmin: Expected PPD after \"-%c\" option." +msgstr "" + +msgid "lpadmin: Expected allow/deny:userlist after \"-u\" option." +msgstr "" +"lpadmin: Esperava permitir/negar lista de usuários após a opção \"-u\"." + +msgid "lpadmin: Expected class after \"-r\" option." +msgstr "lpadmin: Esperava a classe após a opção \"-r\"." + +msgid "lpadmin: Expected class name after \"-c\" option." +msgstr "lpadmin: Esperava nome de classe após a opção \"-c\"." + +msgid "lpadmin: Expected description after \"-D\" option." +msgstr "lpadmin: Esperava descrição após a opção \"-D\"." + +msgid "lpadmin: Expected device URI after \"-v\" option." +msgstr "lpadmin: Esperava URI de dispositivo após a opção \"-v\"." + +msgid "lpadmin: Expected file type(s) after \"-I\" option." +msgstr "lpadmin: Esperava tipo(s) de arquivo(s) após a opção \"-I\"." + +msgid "lpadmin: Expected hostname after \"-h\" option." +msgstr "lpadmin: Esperava nome do máquina após a opção \"-h\"." + +msgid "lpadmin: Expected location after \"-L\" option." +msgstr "lpadmin: Esperava localização após a opção \"-L\"." + +msgid "lpadmin: Expected model after \"-m\" option." +msgstr "lpadmin: Esperava modelo após a opção \"-m\"." + +msgid "lpadmin: Expected name after \"-R\" option." +msgstr "lpadmin: Esperava nome após a opção \"-R\"." + +msgid "lpadmin: Expected name=value after \"-o\" option." +msgstr "lpadmin: Esperava nome=valor após a opção \"-o\"." + +msgid "lpadmin: Expected printer after \"-p\" option." +msgstr "lpadmin: Esperava impressora após a opção \"-p\"." + +msgid "lpadmin: Expected printer name after \"-d\" option." +msgstr "lpadmin: Esperava nome da impressora após a opção \"-d\"." + +msgid "lpadmin: Expected printer or class after \"-x\" option." +msgstr "lpadmin: Esperava impressora ou classe após a opção \"-x\"." + +msgid "lpadmin: No member names were seen." +msgstr "lpadmin: Nenhum nome de membros foi encontrado." + +#, c-format +msgid "lpadmin: Printer %s is already a member of class %s." +msgstr "lpadmin: Impressora %s já é um membro da classe %s." + +#, c-format +msgid "lpadmin: Printer %s is not a member of class %s." +msgstr "lpadmin: Impressora %s não é membro da classe %s." + +msgid "" +"lpadmin: Printer drivers are deprecated and will stop working in a future " +"version of CUPS." +msgstr "" + +msgid "lpadmin: Printer name can only contain printable characters." +msgstr "lpadmin: Nome da impressora só pode conter caracteres imprimíveis." + +msgid "" +"lpadmin: Raw queues are deprecated and will stop working in a future version " +"of CUPS." +msgstr "" + +msgid "lpadmin: Raw queues are no longer supported on macOS." +msgstr "" + +msgid "" +"lpadmin: System V interface scripts are no longer supported for security " +"reasons." +msgstr "" + +msgid "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Não é possível adicionar impressora à classe\n" +" Você deve primeiro especificar o nome da impressora." + +#, c-format +msgid "lpadmin: Unable to connect to server: %s" +msgstr "lpadmin: Não foi possível conectar ao servidor: %s" + +msgid "lpadmin: Unable to create temporary file" +msgstr "lpadmin: Não foi possível criar arquivo temporário" + +msgid "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Não foi possível excluir opção:\n" +" Você deve primeiro especificar o nome da impressora." + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s" +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s on line %d." +msgstr "lpadmin: Não foi possível abrir PPD \"%s\": %s na linha %d." + +msgid "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Não foi possível excluir impressora da classe:\n" +" Você deve primeiro especificar o nome da impressora." + +msgid "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Não foi possível definir as opções da impressora:\n" +" Você deve primeiro especificar o nome da impressora." + +#, c-format +msgid "lpadmin: Unknown allow/deny option \"%s\"." +msgstr "lpadmin: Opção de permitir/negar desconhecida \"%s\"." + +#, c-format +msgid "lpadmin: Unknown argument \"%s\"." +msgstr "lpadmin: Argumento desconhecido \"%s\"." + +#, c-format +msgid "lpadmin: Unknown option \"%c\"." +msgstr "lpadmin: Opção desconhecida \"%c\"." + +msgid "lpadmin: Use the 'everywhere' model for shared printers." +msgstr "" + +msgid "lpadmin: Warning - content type list ignored." +msgstr "lpadmin: Aviso - lista de tipos de conteúdos ignorada." + +msgid "lpc> " +msgstr "lpc> " + +msgid "lpinfo: Expected 1284 device ID string after \"--device-id\"." +msgstr "" +"lpinfo: Esperava string de ID de dispositivo 1284 após \"--device-id\"." + +msgid "lpinfo: Expected language after \"--language\"." +msgstr "lpinfo: Esperava idioma após \"--language\"." + +msgid "lpinfo: Expected make and model after \"--make-and-model\"." +msgstr "lpinfo: Esperava marca e modelo após \"--make-and-model\"." + +msgid "lpinfo: Expected product string after \"--product\"." +msgstr "lpinfo: Esperava string de produto após \"--product\"." + +msgid "lpinfo: Expected scheme list after \"--exclude-schemes\"." +msgstr "lpinfo: Esperava lista de esquemas após \"--exclude-schemes\"." + +msgid "lpinfo: Expected scheme list after \"--include-schemes\"." +msgstr "lpinfo: Esperava lista de esquemas após \"--include-schemes\"." + +msgid "lpinfo: Expected timeout after \"--timeout\"." +msgstr "lpinfo: Esperava tempo de espera após \"--timeout\"." + +#, c-format +msgid "lpmove: Unable to connect to server: %s" +msgstr "lpmove: Não foi possível conectar ao servidor: %s" + +#, c-format +msgid "lpmove: Unknown argument \"%s\"." +msgstr "lpmove: Argumento desconhecido \"%s\"." + +msgid "lpoptions: No printers." +msgstr "lpoptions: Nenhuma impressora." + +#, c-format +msgid "lpoptions: Unable to add printer or instance: %s" +msgstr "lpoptions: Não foi possível adicionar impressora ou instância: %s" + +#, c-format +msgid "lpoptions: Unable to get PPD file for %s: %s" +msgstr "lpoptions: Não foi possível obter o arquivo PPD para %s: %s" + +#, c-format +msgid "lpoptions: Unable to open PPD file for %s." +msgstr "lpoptions: Não foi possível abrir o arquivo PPD para %s." + +msgid "lpoptions: Unknown printer or class." +msgstr "lpoptions: Impressora ou classe desconhecida." + +#, c-format +msgid "" +"lpstat: error - %s environment variable names non-existent destination \"%s" +"\"." +msgstr "" +"lpstat: Erro - variável de ambiente %s contém destino inexistente \"%s\"." + +#. TRANSLATORS: Amount of Material +msgid "material-amount" +msgstr "" + +#. TRANSLATORS: Amount Units +msgid "material-amount-units" +msgstr "" + +#. TRANSLATORS: Grams +msgid "material-amount-units.g" +msgstr "" + +#. TRANSLATORS: Kilograms +msgid "material-amount-units.kg" +msgstr "" + +#. TRANSLATORS: Liters +msgid "material-amount-units.l" +msgstr "" + +#. TRANSLATORS: Meters +msgid "material-amount-units.m" +msgstr "" + +#. TRANSLATORS: Milliliters +msgid "material-amount-units.ml" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "material-amount-units.mm" +msgstr "" + +#. TRANSLATORS: Material Color +msgid "material-color" +msgstr "" + +#. TRANSLATORS: Material Diameter +msgid "material-diameter" +msgstr "" + +#. TRANSLATORS: Material Diameter Tolerance +msgid "material-diameter-tolerance" +msgstr "" + +#. TRANSLATORS: Material Fill Density +msgid "material-fill-density" +msgstr "" + +#. TRANSLATORS: Material Name +msgid "material-name" +msgstr "" + +#. TRANSLATORS: Material Nozzle Diameter +msgid "material-nozzle-diameter" +msgstr "" + +#. TRANSLATORS: Use Material For +msgid "material-purpose" +msgstr "" + +#. TRANSLATORS: Everything +msgid "material-purpose.all" +msgstr "" + +#. TRANSLATORS: Base +msgid "material-purpose.base" +msgstr "" + +#. TRANSLATORS: In-fill +msgid "material-purpose.in-fill" +msgstr "" + +#. TRANSLATORS: Shell +msgid "material-purpose.shell" +msgstr "" + +#. TRANSLATORS: Supports +msgid "material-purpose.support" +msgstr "" + +#. TRANSLATORS: Feed Rate +msgid "material-rate" +msgstr "" + +#. TRANSLATORS: Feed Rate Units +msgid "material-rate-units" +msgstr "" + +#. TRANSLATORS: Milligrams per second +msgid "material-rate-units.mg_second" +msgstr "" + +#. TRANSLATORS: Milliliters per second +msgid "material-rate-units.ml_second" +msgstr "" + +#. TRANSLATORS: Millimeters per second +msgid "material-rate-units.mm_second" +msgstr "" + +#. TRANSLATORS: Material Retraction +msgid "material-retraction" +msgstr "" + +#. TRANSLATORS: Material Shell Thickness +msgid "material-shell-thickness" +msgstr "" + +#. TRANSLATORS: Material Temperature +msgid "material-temperature" +msgstr "" + +#. TRANSLATORS: Material Type +msgid "material-type" +msgstr "" + +#. TRANSLATORS: ABS +msgid "material-type.abs" +msgstr "" + +#. TRANSLATORS: Carbon Fiber ABS +msgid "material-type.abs-carbon-fiber" +msgstr "" + +#. TRANSLATORS: Carbon Nanotube ABS +msgid "material-type.abs-carbon-nanotube" +msgstr "" + +#. TRANSLATORS: Chocolate +msgid "material-type.chocolate" +msgstr "" + +#. TRANSLATORS: Gold +msgid "material-type.gold" +msgstr "" + +#. TRANSLATORS: Nylon +msgid "material-type.nylon" +msgstr "" + +#. TRANSLATORS: Pet +msgid "material-type.pet" +msgstr "" + +#. TRANSLATORS: Photopolymer +msgid "material-type.photopolymer" +msgstr "" + +#. TRANSLATORS: PLA +msgid "material-type.pla" +msgstr "" + +#. TRANSLATORS: Conductive PLA +msgid "material-type.pla-conductive" +msgstr "" + +#. TRANSLATORS: Pla Dissolvable +msgid "material-type.pla-dissolvable" +msgstr "" + +#. TRANSLATORS: Flexible PLA +msgid "material-type.pla-flexible" +msgstr "" + +#. TRANSLATORS: Magnetic PLA +msgid "material-type.pla-magnetic" +msgstr "" + +#. TRANSLATORS: Steel PLA +msgid "material-type.pla-steel" +msgstr "" + +#. TRANSLATORS: Stone PLA +msgid "material-type.pla-stone" +msgstr "" + +#. TRANSLATORS: Wood PLA +msgid "material-type.pla-wood" +msgstr "" + +#. TRANSLATORS: Polycarbonate +msgid "material-type.polycarbonate" +msgstr "" + +#. TRANSLATORS: Dissolvable PVA +msgid "material-type.pva-dissolvable" +msgstr "" + +#. TRANSLATORS: Silver +msgid "material-type.silver" +msgstr "" + +#. TRANSLATORS: Titanium +msgid "material-type.titanium" +msgstr "" + +#. TRANSLATORS: Wax +msgid "material-type.wax" +msgstr "" + +#. TRANSLATORS: Materials +msgid "materials-col" +msgstr "" + +#. TRANSLATORS: Media +msgid "media" +msgstr "" + +#. TRANSLATORS: Back Coating of Media +msgid "media-back-coating" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "media-back-coating.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "media-back-coating.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "media-back-coating.matte" +msgstr "" + +#. TRANSLATORS: None +msgid "media-back-coating.none" +msgstr "" + +#. TRANSLATORS: Satin +msgid "media-back-coating.satin" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "media-back-coating.semi-gloss" +msgstr "" + +#. TRANSLATORS: Media Bottom Margin +msgid "media-bottom-margin" +msgstr "" + +#. TRANSLATORS: Media +msgid "media-col" +msgstr "" + +#. TRANSLATORS: Media Color +msgid "media-color" +msgstr "" + +#. TRANSLATORS: Black +msgid "media-color.black" +msgstr "" + +#. TRANSLATORS: Blue +msgid "media-color.blue" +msgstr "" + +#. TRANSLATORS: Brown +msgid "media-color.brown" +msgstr "" + +#. TRANSLATORS: Buff +msgid "media-color.buff" +msgstr "" + +#. TRANSLATORS: Clear Black +msgid "media-color.clear-black" +msgstr "" + +#. TRANSLATORS: Clear Blue +msgid "media-color.clear-blue" +msgstr "" + +#. TRANSLATORS: Clear Brown +msgid "media-color.clear-brown" +msgstr "" + +#. TRANSLATORS: Clear Buff +msgid "media-color.clear-buff" +msgstr "" + +#. TRANSLATORS: Clear Cyan +msgid "media-color.clear-cyan" +msgstr "" + +#. TRANSLATORS: Clear Gold +msgid "media-color.clear-gold" +msgstr "" + +#. TRANSLATORS: Clear Goldenrod +msgid "media-color.clear-goldenrod" +msgstr "" + +#. TRANSLATORS: Clear Gray +msgid "media-color.clear-gray" +msgstr "" + +#. TRANSLATORS: Clear Green +msgid "media-color.clear-green" +msgstr "" + +#. TRANSLATORS: Clear Ivory +msgid "media-color.clear-ivory" +msgstr "" + +#. TRANSLATORS: Clear Magenta +msgid "media-color.clear-magenta" +msgstr "" + +#. TRANSLATORS: Clear Multi Color +msgid "media-color.clear-multi-color" +msgstr "" + +#. TRANSLATORS: Clear Mustard +msgid "media-color.clear-mustard" +msgstr "" + +#. TRANSLATORS: Clear Orange +msgid "media-color.clear-orange" +msgstr "" + +#. TRANSLATORS: Clear Pink +msgid "media-color.clear-pink" +msgstr "" + +#. TRANSLATORS: Clear Red +msgid "media-color.clear-red" +msgstr "" + +#. TRANSLATORS: Clear Silver +msgid "media-color.clear-silver" +msgstr "" + +#. TRANSLATORS: Clear Turquoise +msgid "media-color.clear-turquoise" +msgstr "" + +#. TRANSLATORS: Clear Violet +msgid "media-color.clear-violet" +msgstr "" + +#. TRANSLATORS: Clear White +msgid "media-color.clear-white" +msgstr "" + +#. TRANSLATORS: Clear Yellow +msgid "media-color.clear-yellow" +msgstr "" + +#. TRANSLATORS: Cyan +msgid "media-color.cyan" +msgstr "" + +#. TRANSLATORS: Dark Blue +msgid "media-color.dark-blue" +msgstr "" + +#. TRANSLATORS: Dark Brown +msgid "media-color.dark-brown" +msgstr "" + +#. TRANSLATORS: Dark Buff +msgid "media-color.dark-buff" +msgstr "" + +#. TRANSLATORS: Dark Cyan +msgid "media-color.dark-cyan" +msgstr "" + +#. TRANSLATORS: Dark Gold +msgid "media-color.dark-gold" +msgstr "" + +#. TRANSLATORS: Dark Goldenrod +msgid "media-color.dark-goldenrod" +msgstr "" + +#. TRANSLATORS: Dark Gray +msgid "media-color.dark-gray" +msgstr "" + +#. TRANSLATORS: Dark Green +msgid "media-color.dark-green" +msgstr "" + +#. TRANSLATORS: Dark Ivory +msgid "media-color.dark-ivory" +msgstr "" + +#. TRANSLATORS: Dark Magenta +msgid "media-color.dark-magenta" +msgstr "" + +#. TRANSLATORS: Dark Mustard +msgid "media-color.dark-mustard" +msgstr "" + +#. TRANSLATORS: Dark Orange +msgid "media-color.dark-orange" +msgstr "" + +#. TRANSLATORS: Dark Pink +msgid "media-color.dark-pink" +msgstr "" + +#. TRANSLATORS: Dark Red +msgid "media-color.dark-red" +msgstr "" + +#. TRANSLATORS: Dark Silver +msgid "media-color.dark-silver" +msgstr "" + +#. TRANSLATORS: Dark Turquoise +msgid "media-color.dark-turquoise" +msgstr "" + +#. TRANSLATORS: Dark Violet +msgid "media-color.dark-violet" +msgstr "" + +#. TRANSLATORS: Dark Yellow +msgid "media-color.dark-yellow" +msgstr "" + +#. TRANSLATORS: Gold +msgid "media-color.gold" +msgstr "" + +#. TRANSLATORS: Goldenrod +msgid "media-color.goldenrod" +msgstr "" + +#. TRANSLATORS: Gray +msgid "media-color.gray" +msgstr "" + +#. TRANSLATORS: Green +msgid "media-color.green" +msgstr "" + +#. TRANSLATORS: Ivory +msgid "media-color.ivory" +msgstr "" + +#. TRANSLATORS: Light Black +msgid "media-color.light-black" +msgstr "" + +#. TRANSLATORS: Light Blue +msgid "media-color.light-blue" +msgstr "" + +#. TRANSLATORS: Light Brown +msgid "media-color.light-brown" +msgstr "" + +#. TRANSLATORS: Light Buff +msgid "media-color.light-buff" +msgstr "" + +#. TRANSLATORS: Light Cyan +msgid "media-color.light-cyan" +msgstr "" + +#. TRANSLATORS: Light Gold +msgid "media-color.light-gold" +msgstr "" + +#. TRANSLATORS: Light Goldenrod +msgid "media-color.light-goldenrod" +msgstr "" + +#. TRANSLATORS: Light Gray +msgid "media-color.light-gray" +msgstr "" + +#. TRANSLATORS: Light Green +msgid "media-color.light-green" +msgstr "" + +#. TRANSLATORS: Light Ivory +msgid "media-color.light-ivory" +msgstr "" + +#. TRANSLATORS: Light Magenta +msgid "media-color.light-magenta" +msgstr "" + +#. TRANSLATORS: Light Mustard +msgid "media-color.light-mustard" +msgstr "" + +#. TRANSLATORS: Light Orange +msgid "media-color.light-orange" +msgstr "" + +#. TRANSLATORS: Light Pink +msgid "media-color.light-pink" +msgstr "" + +#. TRANSLATORS: Light Red +msgid "media-color.light-red" +msgstr "" + +#. TRANSLATORS: Light Silver +msgid "media-color.light-silver" +msgstr "" + +#. TRANSLATORS: Light Turquoise +msgid "media-color.light-turquoise" +msgstr "" + +#. TRANSLATORS: Light Violet +msgid "media-color.light-violet" +msgstr "" + +#. TRANSLATORS: Light Yellow +msgid "media-color.light-yellow" +msgstr "" + +#. TRANSLATORS: Magenta +msgid "media-color.magenta" +msgstr "" + +#. TRANSLATORS: Multi-color +msgid "media-color.multi-color" +msgstr "" + +#. TRANSLATORS: Mustard +msgid "media-color.mustard" +msgstr "" + +#. TRANSLATORS: No Color +msgid "media-color.no-color" +msgstr "" + +#. TRANSLATORS: Orange +msgid "media-color.orange" +msgstr "" + +#. TRANSLATORS: Pink +msgid "media-color.pink" +msgstr "" + +#. TRANSLATORS: Red +msgid "media-color.red" +msgstr "" + +#. TRANSLATORS: Silver +msgid "media-color.silver" +msgstr "" + +#. TRANSLATORS: Turquoise +msgid "media-color.turquoise" +msgstr "" + +#. TRANSLATORS: Violet +msgid "media-color.violet" +msgstr "" + +#. TRANSLATORS: White +msgid "media-color.white" +msgstr "" + +#. TRANSLATORS: Yellow +msgid "media-color.yellow" +msgstr "" + +#. TRANSLATORS: Front Coating of Media +msgid "media-front-coating" +msgstr "" + +#. TRANSLATORS: Media Grain +msgid "media-grain" +msgstr "" + +#. TRANSLATORS: Cross-Feed Direction +msgid "media-grain.x-direction" +msgstr "" + +#. TRANSLATORS: Feed Direction +msgid "media-grain.y-direction" +msgstr "" + +#. TRANSLATORS: Media Hole Count +msgid "media-hole-count" +msgstr "" + +#. TRANSLATORS: Media Info +msgid "media-info" +msgstr "" + +#. TRANSLATORS: Force Media +msgid "media-input-tray-check" +msgstr "" + +#. TRANSLATORS: Media Left Margin +msgid "media-left-margin" +msgstr "" + +#. TRANSLATORS: Pre-printed Media +msgid "media-pre-printed" +msgstr "" + +#. TRANSLATORS: Blank +msgid "media-pre-printed.blank" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-pre-printed.letter-head" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "media-pre-printed.pre-printed" +msgstr "" + +#. TRANSLATORS: Recycled Media +msgid "media-recycled" +msgstr "" + +#. TRANSLATORS: None +msgid "media-recycled.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "media-recycled.standard" +msgstr "" + +#. TRANSLATORS: Media Right Margin +msgid "media-right-margin" +msgstr "" + +#. TRANSLATORS: Media Dimensions +msgid "media-size" +msgstr "" + +#. TRANSLATORS: Media Name +msgid "media-size-name" +msgstr "" + +#. TRANSLATORS: Media Source +msgid "media-source" +msgstr "" + +#. TRANSLATORS: Alternate +msgid "media-source.alternate" +msgstr "" + +#. TRANSLATORS: Alternate Roll +msgid "media-source.alternate-roll" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-source.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "media-source.bottom" +msgstr "" + +#. TRANSLATORS: By-pass Tray +msgid "media-source.by-pass-tray" +msgstr "" + +#. TRANSLATORS: Center +msgid "media-source.center" +msgstr "" + +#. TRANSLATORS: Disc +msgid "media-source.disc" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-source.envelope" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media-source.hagaki" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "media-source.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "media-source.left" +msgstr "" + +#. TRANSLATORS: Main +msgid "media-source.main" +msgstr "" + +#. TRANSLATORS: Main Roll +msgid "media-source.main-roll" +msgstr "" + +#. TRANSLATORS: Manual +msgid "media-source.manual" +msgstr "" + +#. TRANSLATORS: Middle +msgid "media-source.middle" +msgstr "" + +#. TRANSLATORS: Photo +msgid "media-source.photo" +msgstr "" + +#. TRANSLATORS: Rear +msgid "media-source.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "media-source.right" +msgstr "" + +#. TRANSLATORS: Roll 1 +msgid "media-source.roll-1" +msgstr "" + +#. TRANSLATORS: Roll 10 +msgid "media-source.roll-10" +msgstr "" + +#. TRANSLATORS: Roll 2 +msgid "media-source.roll-2" +msgstr "" + +#. TRANSLATORS: Roll 3 +msgid "media-source.roll-3" +msgstr "" + +#. TRANSLATORS: Roll 4 +msgid "media-source.roll-4" +msgstr "" + +#. TRANSLATORS: Roll 5 +msgid "media-source.roll-5" +msgstr "" + +#. TRANSLATORS: Roll 6 +msgid "media-source.roll-6" +msgstr "" + +#. TRANSLATORS: Roll 7 +msgid "media-source.roll-7" +msgstr "" + +#. TRANSLATORS: Roll 8 +msgid "media-source.roll-8" +msgstr "" + +#. TRANSLATORS: Roll 9 +msgid "media-source.roll-9" +msgstr "" + +#. TRANSLATORS: Side +msgid "media-source.side" +msgstr "" + +#. TRANSLATORS: Top +msgid "media-source.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "media-source.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "media-source.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 11 +msgid "media-source.tray-11" +msgstr "" + +#. TRANSLATORS: Tray 12 +msgid "media-source.tray-12" +msgstr "" + +#. TRANSLATORS: Tray 13 +msgid "media-source.tray-13" +msgstr "" + +#. TRANSLATORS: Tray 14 +msgid "media-source.tray-14" +msgstr "" + +#. TRANSLATORS: Tray 15 +msgid "media-source.tray-15" +msgstr "" + +#. TRANSLATORS: Tray 16 +msgid "media-source.tray-16" +msgstr "" + +#. TRANSLATORS: Tray 17 +msgid "media-source.tray-17" +msgstr "" + +#. TRANSLATORS: Tray 18 +msgid "media-source.tray-18" +msgstr "" + +#. TRANSLATORS: Tray 19 +msgid "media-source.tray-19" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "media-source.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 20 +msgid "media-source.tray-20" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "media-source.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "media-source.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "media-source.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "media-source.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "media-source.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "media-source.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "media-source.tray-9" +msgstr "" + +#. TRANSLATORS: Media Thickness +msgid "media-thickness" +msgstr "" + +#. TRANSLATORS: Media Tooth (Texture) +msgid "media-tooth" +msgstr "" + +#. TRANSLATORS: Antique +msgid "media-tooth.antique" +msgstr "" + +#. TRANSLATORS: Extra Smooth +msgid "media-tooth.calendared" +msgstr "" + +#. TRANSLATORS: Coarse +msgid "media-tooth.coarse" +msgstr "" + +#. TRANSLATORS: Fine +msgid "media-tooth.fine" +msgstr "" + +#. TRANSLATORS: Linen +msgid "media-tooth.linen" +msgstr "" + +#. TRANSLATORS: Medium +msgid "media-tooth.medium" +msgstr "" + +#. TRANSLATORS: Smooth +msgid "media-tooth.smooth" +msgstr "" + +#. TRANSLATORS: Stipple +msgid "media-tooth.stipple" +msgstr "" + +#. TRANSLATORS: Rough +msgid "media-tooth.uncalendared" +msgstr "" + +#. TRANSLATORS: Vellum +msgid "media-tooth.vellum" +msgstr "" + +#. TRANSLATORS: Media Top Margin +msgid "media-top-margin" +msgstr "" + +#. TRANSLATORS: Media Type +msgid "media-type" +msgstr "" + +#. TRANSLATORS: Aluminum +msgid "media-type.aluminum" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-type.auto" +msgstr "" + +#. TRANSLATORS: Back Print Film +msgid "media-type.back-print-film" +msgstr "" + +#. TRANSLATORS: Cardboard +msgid "media-type.cardboard" +msgstr "" + +#. TRANSLATORS: Cardstock +msgid "media-type.cardstock" +msgstr "" + +#. TRANSLATORS: CD +msgid "media-type.cd" +msgstr "" + +#. TRANSLATORS: Continuous +msgid "media-type.continuous" +msgstr "" + +#. TRANSLATORS: Continuous Long +msgid "media-type.continuous-long" +msgstr "" + +#. TRANSLATORS: Continuous Short +msgid "media-type.continuous-short" +msgstr "" + +#. TRANSLATORS: Corrugated Board +msgid "media-type.corrugated-board" +msgstr "" + +#. TRANSLATORS: Optical Disc +msgid "media-type.disc" +msgstr "" + +#. TRANSLATORS: Glossy Optical Disc +msgid "media-type.disc-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Optical Disc +msgid "media-type.disc-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Optical Disc +msgid "media-type.disc-matte" +msgstr "" + +#. TRANSLATORS: Satin Optical Disc +msgid "media-type.disc-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Optical Disc +msgid "media-type.disc-semi-gloss" +msgstr "" + +#. TRANSLATORS: Double Wall +msgid "media-type.double-wall" +msgstr "" + +#. TRANSLATORS: Dry Film +msgid "media-type.dry-film" +msgstr "" + +#. TRANSLATORS: DVD +msgid "media-type.dvd" +msgstr "" + +#. TRANSLATORS: Embossing Foil +msgid "media-type.embossing-foil" +msgstr "" + +#. TRANSLATORS: End Board +msgid "media-type.end-board" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-type.envelope" +msgstr "" + +#. TRANSLATORS: Archival Envelope +msgid "media-type.envelope-archival" +msgstr "" + +#. TRANSLATORS: Bond Envelope +msgid "media-type.envelope-bond" +msgstr "" + +#. TRANSLATORS: Coated Envelope +msgid "media-type.envelope-coated" +msgstr "" + +#. TRANSLATORS: Cotton Envelope +msgid "media-type.envelope-cotton" +msgstr "" + +#. TRANSLATORS: Fine Envelope +msgid "media-type.envelope-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Envelope +msgid "media-type.envelope-heavyweight" +msgstr "" + +#. TRANSLATORS: Inkjet Envelope +msgid "media-type.envelope-inkjet" +msgstr "" + +#. TRANSLATORS: Lightweight Envelope +msgid "media-type.envelope-lightweight" +msgstr "" + +#. TRANSLATORS: Plain Envelope +msgid "media-type.envelope-plain" +msgstr "" + +#. TRANSLATORS: Preprinted Envelope +msgid "media-type.envelope-preprinted" +msgstr "" + +#. TRANSLATORS: Windowed Envelope +msgid "media-type.envelope-window" +msgstr "" + +#. TRANSLATORS: Fabric +msgid "media-type.fabric" +msgstr "" + +#. TRANSLATORS: Archival Fabric +msgid "media-type.fabric-archival" +msgstr "" + +#. TRANSLATORS: Glossy Fabric +msgid "media-type.fabric-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Fabric +msgid "media-type.fabric-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Fabric +msgid "media-type.fabric-matte" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Fabric +msgid "media-type.fabric-semi-gloss" +msgstr "" + +#. TRANSLATORS: Waterproof Fabric +msgid "media-type.fabric-waterproof" +msgstr "" + +#. TRANSLATORS: Film +msgid "media-type.film" +msgstr "" + +#. TRANSLATORS: Flexo Base +msgid "media-type.flexo-base" +msgstr "" + +#. TRANSLATORS: Flexo Photo Polymer +msgid "media-type.flexo-photo-polymer" +msgstr "" + +#. TRANSLATORS: Flute +msgid "media-type.flute" +msgstr "" + +#. TRANSLATORS: Foil +msgid "media-type.foil" +msgstr "" + +#. TRANSLATORS: Full Cut Tabs +msgid "media-type.full-cut-tabs" +msgstr "" + +#. TRANSLATORS: Glass +msgid "media-type.glass" +msgstr "" + +#. TRANSLATORS: Glass Colored +msgid "media-type.glass-colored" +msgstr "" + +#. TRANSLATORS: Glass Opaque +msgid "media-type.glass-opaque" +msgstr "" + +#. TRANSLATORS: Glass Surfaced +msgid "media-type.glass-surfaced" +msgstr "" + +#. TRANSLATORS: Glass Textured +msgid "media-type.glass-textured" +msgstr "" + +#. TRANSLATORS: Gravure Cylinder +msgid "media-type.gravure-cylinder" +msgstr "" + +#. TRANSLATORS: Image Setter Paper +msgid "media-type.image-setter-paper" +msgstr "" + +#. TRANSLATORS: Imaging Cylinder +msgid "media-type.imaging-cylinder" +msgstr "" + +#. TRANSLATORS: Labels +msgid "media-type.labels" +msgstr "" + +#. TRANSLATORS: Colored Labels +msgid "media-type.labels-colored" +msgstr "" + +#. TRANSLATORS: Glossy Labels +msgid "media-type.labels-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Labels +msgid "media-type.labels-high-gloss" +msgstr "" + +#. TRANSLATORS: Inkjet Labels +msgid "media-type.labels-inkjet" +msgstr "" + +#. TRANSLATORS: Matte Labels +msgid "media-type.labels-matte" +msgstr "" + +#. TRANSLATORS: Permanent Labels +msgid "media-type.labels-permanent" +msgstr "" + +#. TRANSLATORS: Satin Labels +msgid "media-type.labels-satin" +msgstr "" + +#. TRANSLATORS: Security Labels +msgid "media-type.labels-security" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Labels +msgid "media-type.labels-semi-gloss" +msgstr "" + +#. TRANSLATORS: Laminating Foil +msgid "media-type.laminating-foil" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.letterhead" +msgstr "" + +#. TRANSLATORS: Metal +msgid "media-type.metal" +msgstr "" + +#. TRANSLATORS: Metal Glossy +msgid "media-type.metal-glossy" +msgstr "" + +#. TRANSLATORS: Metal High Gloss +msgid "media-type.metal-high-gloss" +msgstr "" + +#. TRANSLATORS: Metal Matte +msgid "media-type.metal-matte" +msgstr "" + +#. TRANSLATORS: Metal Satin +msgid "media-type.metal-satin" +msgstr "" + +#. TRANSLATORS: Metal Semi Gloss +msgid "media-type.metal-semi-gloss" +msgstr "" + +#. TRANSLATORS: Mounting Tape +msgid "media-type.mounting-tape" +msgstr "" + +#. TRANSLATORS: Multi Layer +msgid "media-type.multi-layer" +msgstr "" + +#. TRANSLATORS: Multi Part Form +msgid "media-type.multi-part-form" +msgstr "" + +#. TRANSLATORS: Other +msgid "media-type.other" +msgstr "" + +#. TRANSLATORS: Paper +msgid "media-type.paper" +msgstr "" + +#. TRANSLATORS: Photo Paper +msgid "media-type.photographic" +msgstr "" + +#. TRANSLATORS: Photographic Archival +msgid "media-type.photographic-archival" +msgstr "" + +#. TRANSLATORS: Photo Film +msgid "media-type.photographic-film" +msgstr "" + +#. TRANSLATORS: Glossy Photo Paper +msgid "media-type.photographic-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Photo Paper +msgid "media-type.photographic-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Photo Paper +msgid "media-type.photographic-matte" +msgstr "" + +#. TRANSLATORS: Satin Photo Paper +msgid "media-type.photographic-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Photo Paper +msgid "media-type.photographic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plastic +msgid "media-type.plastic" +msgstr "" + +#. TRANSLATORS: Plastic Archival +msgid "media-type.plastic-archival" +msgstr "" + +#. TRANSLATORS: Plastic Colored +msgid "media-type.plastic-colored" +msgstr "" + +#. TRANSLATORS: Plastic Glossy +msgid "media-type.plastic-glossy" +msgstr "" + +#. TRANSLATORS: Plastic High Gloss +msgid "media-type.plastic-high-gloss" +msgstr "" + +#. TRANSLATORS: Plastic Matte +msgid "media-type.plastic-matte" +msgstr "" + +#. TRANSLATORS: Plastic Satin +msgid "media-type.plastic-satin" +msgstr "" + +#. TRANSLATORS: Plastic Semi Gloss +msgid "media-type.plastic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plate +msgid "media-type.plate" +msgstr "" + +#. TRANSLATORS: Polyester +msgid "media-type.polyester" +msgstr "" + +#. TRANSLATORS: Pre Cut Tabs +msgid "media-type.pre-cut-tabs" +msgstr "" + +#. TRANSLATORS: Roll +msgid "media-type.roll" +msgstr "" + +#. TRANSLATORS: Screen +msgid "media-type.screen" +msgstr "" + +#. TRANSLATORS: Screen Paged +msgid "media-type.screen-paged" +msgstr "" + +#. TRANSLATORS: Self Adhesive +msgid "media-type.self-adhesive" +msgstr "" + +#. TRANSLATORS: Self Adhesive Film +msgid "media-type.self-adhesive-film" +msgstr "" + +#. TRANSLATORS: Shrink Foil +msgid "media-type.shrink-foil" +msgstr "" + +#. TRANSLATORS: Single Face +msgid "media-type.single-face" +msgstr "" + +#. TRANSLATORS: Single Wall +msgid "media-type.single-wall" +msgstr "" + +#. TRANSLATORS: Sleeve +msgid "media-type.sleeve" +msgstr "" + +#. TRANSLATORS: Stationery +msgid "media-type.stationery" +msgstr "" + +#. TRANSLATORS: Stationery Archival +msgid "media-type.stationery-archival" +msgstr "" + +#. TRANSLATORS: Coated Paper +msgid "media-type.stationery-coated" +msgstr "" + +#. TRANSLATORS: Stationery Cotton +msgid "media-type.stationery-cotton" +msgstr "" + +#. TRANSLATORS: Vellum Paper +msgid "media-type.stationery-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Paper +msgid "media-type.stationery-heavyweight" +msgstr "" + +#. TRANSLATORS: Stationery Heavyweight Coated +msgid "media-type.stationery-heavyweight-coated" +msgstr "" + +#. TRANSLATORS: Stationery Inkjet Paper +msgid "media-type.stationery-inkjet" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.stationery-letterhead" +msgstr "" + +#. TRANSLATORS: Lightweight Paper +msgid "media-type.stationery-lightweight" +msgstr "" + +#. TRANSLATORS: Preprinted Paper +msgid "media-type.stationery-preprinted" +msgstr "" + +#. TRANSLATORS: Punched Paper +msgid "media-type.stationery-prepunched" +msgstr "" + +#. TRANSLATORS: Tab Stock +msgid "media-type.tab-stock" +msgstr "" + +#. TRANSLATORS: Tractor +msgid "media-type.tractor" +msgstr "" + +#. TRANSLATORS: Transfer +msgid "media-type.transfer" +msgstr "" + +#. TRANSLATORS: Transparency +msgid "media-type.transparency" +msgstr "" + +#. TRANSLATORS: Triple Wall +msgid "media-type.triple-wall" +msgstr "" + +#. TRANSLATORS: Wet Film +msgid "media-type.wet-film" +msgstr "" + +#. TRANSLATORS: Media Weight (grams per m²) +msgid "media-weight-metric" +msgstr "" + +#. TRANSLATORS: 28 x 40″ +msgid "media.asme_f_28x40in" +msgstr "" + +#. TRANSLATORS: A4 or US Letter +msgid "media.choice_iso_a4_210x297mm_na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: 2a0 +msgid "media.iso_2a0_1189x1682mm" +msgstr "" + +#. TRANSLATORS: A0 +msgid "media.iso_a0_841x1189mm" +msgstr "" + +#. TRANSLATORS: A0x3 +msgid "media.iso_a0x3_1189x2523mm" +msgstr "" + +#. TRANSLATORS: A10 +msgid "media.iso_a10_26x37mm" +msgstr "" + +#. TRANSLATORS: A1 +msgid "media.iso_a1_594x841mm" +msgstr "" + +#. TRANSLATORS: A1x3 +msgid "media.iso_a1x3_841x1783mm" +msgstr "" + +#. TRANSLATORS: A1x4 +msgid "media.iso_a1x4_841x2378mm" +msgstr "" + +#. TRANSLATORS: A2 +msgid "media.iso_a2_420x594mm" +msgstr "" + +#. TRANSLATORS: A2x3 +msgid "media.iso_a2x3_594x1261mm" +msgstr "" + +#. TRANSLATORS: A2x4 +msgid "media.iso_a2x4_594x1682mm" +msgstr "" + +#. TRANSLATORS: A2x5 +msgid "media.iso_a2x5_594x2102mm" +msgstr "" + +#. TRANSLATORS: A3 (Extra) +msgid "media.iso_a3-extra_322x445mm" +msgstr "" + +#. TRANSLATORS: A3 +msgid "media.iso_a3_297x420mm" +msgstr "" + +#. TRANSLATORS: A3x3 +msgid "media.iso_a3x3_420x891mm" +msgstr "" + +#. TRANSLATORS: A3x4 +msgid "media.iso_a3x4_420x1189mm" +msgstr "" + +#. TRANSLATORS: A3x5 +msgid "media.iso_a3x5_420x1486mm" +msgstr "" + +#. TRANSLATORS: A3x6 +msgid "media.iso_a3x6_420x1783mm" +msgstr "" + +#. TRANSLATORS: A3x7 +msgid "media.iso_a3x7_420x2080mm" +msgstr "" + +#. TRANSLATORS: A4 (Extra) +msgid "media.iso_a4-extra_235.5x322.3mm" +msgstr "" + +#. TRANSLATORS: A4 (Tab) +msgid "media.iso_a4-tab_225x297mm" +msgstr "" + +#. TRANSLATORS: A4 +msgid "media.iso_a4_210x297mm" +msgstr "" + +#. TRANSLATORS: A4x3 +msgid "media.iso_a4x3_297x630mm" +msgstr "" + +#. TRANSLATORS: A4x4 +msgid "media.iso_a4x4_297x841mm" +msgstr "" + +#. TRANSLATORS: A4x5 +msgid "media.iso_a4x5_297x1051mm" +msgstr "" + +#. TRANSLATORS: A4x6 +msgid "media.iso_a4x6_297x1261mm" +msgstr "" + +#. TRANSLATORS: A4x7 +msgid "media.iso_a4x7_297x1471mm" +msgstr "" + +#. TRANSLATORS: A4x8 +msgid "media.iso_a4x8_297x1682mm" +msgstr "" + +#. TRANSLATORS: A4x9 +msgid "media.iso_a4x9_297x1892mm" +msgstr "" + +#. TRANSLATORS: A5 (Extra) +msgid "media.iso_a5-extra_174x235mm" +msgstr "" + +#. TRANSLATORS: A5 +msgid "media.iso_a5_148x210mm" +msgstr "" + +#. TRANSLATORS: A6 +msgid "media.iso_a6_105x148mm" +msgstr "" + +#. TRANSLATORS: A7 +msgid "media.iso_a7_74x105mm" +msgstr "" + +#. TRANSLATORS: A8 +msgid "media.iso_a8_52x74mm" +msgstr "" + +#. TRANSLATORS: A9 +msgid "media.iso_a9_37x52mm" +msgstr "" + +#. TRANSLATORS: B0 +msgid "media.iso_b0_1000x1414mm" +msgstr "" + +#. TRANSLATORS: B10 +msgid "media.iso_b10_31x44mm" +msgstr "" + +#. TRANSLATORS: B1 +msgid "media.iso_b1_707x1000mm" +msgstr "" + +#. TRANSLATORS: B2 +msgid "media.iso_b2_500x707mm" +msgstr "" + +#. TRANSLATORS: B3 +msgid "media.iso_b3_353x500mm" +msgstr "" + +#. TRANSLATORS: B4 +msgid "media.iso_b4_250x353mm" +msgstr "" + +#. TRANSLATORS: B5 (Extra) +msgid "media.iso_b5-extra_201x276mm" +msgstr "" + +#. TRANSLATORS: Envelope B5 +msgid "media.iso_b5_176x250mm" +msgstr "" + +#. TRANSLATORS: B6 +msgid "media.iso_b6_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope B6/C4 +msgid "media.iso_b6c4_125x324mm" +msgstr "" + +#. TRANSLATORS: B7 +msgid "media.iso_b7_88x125mm" +msgstr "" + +#. TRANSLATORS: B8 +msgid "media.iso_b8_62x88mm" +msgstr "" + +#. TRANSLATORS: B9 +msgid "media.iso_b9_44x62mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 0 +msgid "media.iso_c0_917x1297mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 10 +msgid "media.iso_c10_28x40mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 1 +msgid "media.iso_c1_648x917mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 2 +msgid "media.iso_c2_458x648mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 3 +msgid "media.iso_c3_324x458mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 4 +msgid "media.iso_c4_229x324mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 5 +msgid "media.iso_c5_162x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6 +msgid "media.iso_c6_114x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6c5 +msgid "media.iso_c6c5_114x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7 +msgid "media.iso_c7_81x114mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7c6 +msgid "media.iso_c7c6_81x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 8 +msgid "media.iso_c8_57x81mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 9 +msgid "media.iso_c9_40x57mm" +msgstr "" + +#. TRANSLATORS: Envelope DL +msgid "media.iso_dl_110x220mm" +msgstr "" + +#. TRANSLATORS: Id-1 +msgid "media.iso_id-1_53.98x85.6mm" +msgstr "" + +#. TRANSLATORS: Id-3 +msgid "media.iso_id-3_88x125mm" +msgstr "" + +#. TRANSLATORS: ISO RA0 +msgid "media.iso_ra0_860x1220mm" +msgstr "" + +#. TRANSLATORS: ISO RA1 +msgid "media.iso_ra1_610x860mm" +msgstr "" + +#. TRANSLATORS: ISO RA2 +msgid "media.iso_ra2_430x610mm" +msgstr "" + +#. TRANSLATORS: ISO RA3 +msgid "media.iso_ra3_305x430mm" +msgstr "" + +#. TRANSLATORS: ISO RA4 +msgid "media.iso_ra4_215x305mm" +msgstr "" + +#. TRANSLATORS: ISO SRA0 +msgid "media.iso_sra0_900x1280mm" +msgstr "" + +#. TRANSLATORS: ISO SRA1 +msgid "media.iso_sra1_640x900mm" +msgstr "" + +#. TRANSLATORS: ISO SRA2 +msgid "media.iso_sra2_450x640mm" +msgstr "" + +#. TRANSLATORS: ISO SRA3 +msgid "media.iso_sra3_320x450mm" +msgstr "" + +#. TRANSLATORS: ISO SRA4 +msgid "media.iso_sra4_225x320mm" +msgstr "" + +#. TRANSLATORS: JIS B0 +msgid "media.jis_b0_1030x1456mm" +msgstr "" + +#. TRANSLATORS: JIS B10 +msgid "media.jis_b10_32x45mm" +msgstr "" + +#. TRANSLATORS: JIS B1 +msgid "media.jis_b1_728x1030mm" +msgstr "" + +#. TRANSLATORS: JIS B2 +msgid "media.jis_b2_515x728mm" +msgstr "" + +#. TRANSLATORS: JIS B3 +msgid "media.jis_b3_364x515mm" +msgstr "" + +#. TRANSLATORS: JIS B4 +msgid "media.jis_b4_257x364mm" +msgstr "" + +#. TRANSLATORS: JIS B5 +msgid "media.jis_b5_182x257mm" +msgstr "" + +#. TRANSLATORS: JIS B6 +msgid "media.jis_b6_128x182mm" +msgstr "" + +#. TRANSLATORS: JIS B7 +msgid "media.jis_b7_91x128mm" +msgstr "" + +#. TRANSLATORS: JIS B8 +msgid "media.jis_b8_64x91mm" +msgstr "" + +#. TRANSLATORS: JIS B9 +msgid "media.jis_b9_45x64mm" +msgstr "" + +#. TRANSLATORS: JIS Executive +msgid "media.jis_exec_216x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 2 +msgid "media.jpn_chou2_111.1x146mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 3 +msgid "media.jpn_chou3_120x235mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 40 +msgid "media.jpn_chou40_90x225mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 4 +msgid "media.jpn_chou4_90x205mm" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media.jpn_hagaki_100x148mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu +msgid "media.jpn_kahu_240x322.1mm" +msgstr "" + +#. TRANSLATORS: 270 x 382mm +msgid "media.jpn_kaku1_270x382mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu 2 +msgid "media.jpn_kaku2_240x332mm" +msgstr "" + +#. TRANSLATORS: 216 x 277mm +msgid "media.jpn_kaku3_216x277mm" +msgstr "" + +#. TRANSLATORS: 197 x 267mm +msgid "media.jpn_kaku4_197x267mm" +msgstr "" + +#. TRANSLATORS: 190 x 240mm +msgid "media.jpn_kaku5_190x240mm" +msgstr "" + +#. TRANSLATORS: 142 x 205mm +msgid "media.jpn_kaku7_142x205mm" +msgstr "" + +#. TRANSLATORS: 119 x 197mm +msgid "media.jpn_kaku8_119x197mm" +msgstr "" + +#. TRANSLATORS: Oufuku Reply Postcard +msgid "media.jpn_oufuku_148x200mm" +msgstr "" + +#. TRANSLATORS: Envelope You 4 +msgid "media.jpn_you4_105x235mm" +msgstr "" + +#. TRANSLATORS: 10 x 11″ +msgid "media.na_10x11_10x11in" +msgstr "" + +#. TRANSLATORS: 10 x 13″ +msgid "media.na_10x13_10x13in" +msgstr "" + +#. TRANSLATORS: 10 x 14″ +msgid "media.na_10x14_10x14in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.na_10x15_10x15in" +msgstr "" + +#. TRANSLATORS: 11 x 12″ +msgid "media.na_11x12_11x12in" +msgstr "" + +#. TRANSLATORS: 11 x 15″ +msgid "media.na_11x15_11x15in" +msgstr "" + +#. TRANSLATORS: 12 x 19″ +msgid "media.na_12x19_12x19in" +msgstr "" + +#. TRANSLATORS: 5 x 7″ +msgid "media.na_5x7_5x7in" +msgstr "" + +#. TRANSLATORS: 6 x 9″ +msgid "media.na_6x9_6x9in" +msgstr "" + +#. TRANSLATORS: 7 x 9″ +msgid "media.na_7x9_7x9in" +msgstr "" + +#. TRANSLATORS: 9 x 11″ +msgid "media.na_9x11_9x11in" +msgstr "" + +#. TRANSLATORS: Envelope A2 +msgid "media.na_a2_4.375x5.75in" +msgstr "" + +#. TRANSLATORS: 9 x 12″ +msgid "media.na_arch-a_9x12in" +msgstr "" + +#. TRANSLATORS: 12 x 18″ +msgid "media.na_arch-b_12x18in" +msgstr "" + +#. TRANSLATORS: 18 x 24″ +msgid "media.na_arch-c_18x24in" +msgstr "" + +#. TRANSLATORS: 24 x 36″ +msgid "media.na_arch-d_24x36in" +msgstr "" + +#. TRANSLATORS: 26 x 38″ +msgid "media.na_arch-e2_26x38in" +msgstr "" + +#. TRANSLATORS: 27 x 39″ +msgid "media.na_arch-e3_27x39in" +msgstr "" + +#. TRANSLATORS: 36 x 48″ +msgid "media.na_arch-e_36x48in" +msgstr "" + +#. TRANSLATORS: 12 x 19.17″ +msgid "media.na_b-plus_12x19.17in" +msgstr "" + +#. TRANSLATORS: Envelope C5 +msgid "media.na_c5_6.5x9.5in" +msgstr "" + +#. TRANSLATORS: 17 x 22″ +msgid "media.na_c_17x22in" +msgstr "" + +#. TRANSLATORS: 22 x 34″ +msgid "media.na_d_22x34in" +msgstr "" + +#. TRANSLATORS: 34 x 44″ +msgid "media.na_e_34x44in" +msgstr "" + +#. TRANSLATORS: 11 x 14″ +msgid "media.na_edp_11x14in" +msgstr "" + +#. TRANSLATORS: 12 x 14″ +msgid "media.na_eur-edp_12x14in" +msgstr "" + +#. TRANSLATORS: Executive +msgid "media.na_executive_7.25x10.5in" +msgstr "" + +#. TRANSLATORS: 44 x 68″ +msgid "media.na_f_44x68in" +msgstr "" + +#. TRANSLATORS: European Fanfold +msgid "media.na_fanfold-eur_8.5x12in" +msgstr "" + +#. TRANSLATORS: US Fanfold +msgid "media.na_fanfold-us_11x14.875in" +msgstr "" + +#. TRANSLATORS: Foolscap +msgid "media.na_foolscap_8.5x13in" +msgstr "" + +#. TRANSLATORS: 8 x 13″ +msgid "media.na_govt-legal_8x13in" +msgstr "" + +#. TRANSLATORS: 8 x 10″ +msgid "media.na_govt-letter_8x10in" +msgstr "" + +#. TRANSLATORS: 3 x 5″ +msgid "media.na_index-3x5_3x5in" +msgstr "" + +#. TRANSLATORS: 6 x 8″ +msgid "media.na_index-4x6-ext_6x8in" +msgstr "" + +#. TRANSLATORS: 4 x 6″ +msgid "media.na_index-4x6_4x6in" +msgstr "" + +#. TRANSLATORS: 5 x 8″ +msgid "media.na_index-5x8_5x8in" +msgstr "" + +#. TRANSLATORS: Statement +msgid "media.na_invoice_5.5x8.5in" +msgstr "" + +#. TRANSLATORS: 11 x 17″ +msgid "media.na_ledger_11x17in" +msgstr "" + +#. TRANSLATORS: US Legal (Extra) +msgid "media.na_legal-extra_9.5x15in" +msgstr "" + +#. TRANSLATORS: US Legal +msgid "media.na_legal_8.5x14in" +msgstr "" + +#. TRANSLATORS: US Letter (Extra) +msgid "media.na_letter-extra_9.5x12in" +msgstr "" + +#. TRANSLATORS: US Letter (Plus) +msgid "media.na_letter-plus_8.5x12.69in" +msgstr "" + +#. TRANSLATORS: US Letter +msgid "media.na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: Envelope Monarch +msgid "media.na_monarch_3.875x7.5in" +msgstr "" + +#. TRANSLATORS: Envelope #10 +msgid "media.na_number-10_4.125x9.5in" +msgstr "" + +#. TRANSLATORS: Envelope #11 +msgid "media.na_number-11_4.5x10.375in" +msgstr "" + +#. TRANSLATORS: Envelope #12 +msgid "media.na_number-12_4.75x11in" +msgstr "" + +#. TRANSLATORS: Envelope #14 +msgid "media.na_number-14_5x11.5in" +msgstr "" + +#. TRANSLATORS: Envelope #9 +msgid "media.na_number-9_3.875x8.875in" +msgstr "" + +#. TRANSLATORS: 8.5 x 13.4″ +msgid "media.na_oficio_8.5x13.4in" +msgstr "" + +#. TRANSLATORS: Envelope Personal +msgid "media.na_personal_3.625x6.5in" +msgstr "" + +#. TRANSLATORS: Quarto +msgid "media.na_quarto_8.5x10.83in" +msgstr "" + +#. TRANSLATORS: 8.94 x 14″ +msgid "media.na_super-a_8.94x14in" +msgstr "" + +#. TRANSLATORS: 13 x 19″ +msgid "media.na_super-b_13x19in" +msgstr "" + +#. TRANSLATORS: 30 x 42″ +msgid "media.na_wide-format_30x42in" +msgstr "" + +#. TRANSLATORS: 12 x 16″ +msgid "media.oe_12x16_12x16in" +msgstr "" + +#. TRANSLATORS: 14 x 17″ +msgid "media.oe_14x17_14x17in" +msgstr "" + +#. TRANSLATORS: 18 x 22″ +msgid "media.oe_18x22_18x22in" +msgstr "" + +#. TRANSLATORS: 17 x 24″ +msgid "media.oe_a2plus_17x24in" +msgstr "" + +#. TRANSLATORS: 2 x 3.5″ +msgid "media.oe_business-card_2x3.5in" +msgstr "" + +#. TRANSLATORS: 10 x 12″ +msgid "media.oe_photo-10r_10x12in" +msgstr "" + +#. TRANSLATORS: 20 x 24″ +msgid "media.oe_photo-20r_20x24in" +msgstr "" + +#. TRANSLATORS: 3.5 x 5″ +msgid "media.oe_photo-l_3.5x5in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.oe_photo-s10r_10x15in" +msgstr "" + +#. TRANSLATORS: 4 x 4″ +msgid "media.oe_square-photo_4x4in" +msgstr "" + +#. TRANSLATORS: 5 x 5″ +msgid "media.oe_square-photo_5x5in" +msgstr "" + +#. TRANSLATORS: 184 x 260mm +msgid "media.om_16k_184x260mm" +msgstr "" + +#. TRANSLATORS: 195 x 270mm +msgid "media.om_16k_195x270mm" +msgstr "" + +#. TRANSLATORS: 55 x 85mm +msgid "media.om_business-card_55x85mm" +msgstr "" + +#. TRANSLATORS: 55 x 91mm +msgid "media.om_business-card_55x91mm" +msgstr "" + +#. TRANSLATORS: 54 x 86mm +msgid "media.om_card_54x86mm" +msgstr "" + +#. TRANSLATORS: 275 x 395mm +msgid "media.om_dai-pa-kai_275x395mm" +msgstr "" + +#. TRANSLATORS: 89 x 119mm +msgid "media.om_dsc-photo_89x119mm" +msgstr "" + +#. TRANSLATORS: Folio +msgid "media.om_folio-sp_215x315mm" +msgstr "" + +#. TRANSLATORS: Folio (Special) +msgid "media.om_folio_210x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Invitation +msgid "media.om_invite_220x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Italian +msgid "media.om_italian_110x230mm" +msgstr "" + +#. TRANSLATORS: 198 x 275mm +msgid "media.om_juuro-ku-kai_198x275mm" +msgstr "" + +#. TRANSLATORS: 200 x 300 +msgid "media.om_large-photo_200x300" +msgstr "" + +#. TRANSLATORS: 130 x 180mm +msgid "media.om_medium-photo_130x180mm" +msgstr "" + +#. TRANSLATORS: 267 x 389mm +msgid "media.om_pa-kai_267x389mm" +msgstr "" + +#. TRANSLATORS: Envelope Postfix +msgid "media.om_postfix_114x229mm" +msgstr "" + +#. TRANSLATORS: 100 x 150mm +msgid "media.om_small-photo_100x150mm" +msgstr "" + +#. TRANSLATORS: 89 x 89mm +msgid "media.om_square-photo_89x89mm" +msgstr "" + +#. TRANSLATORS: 100 x 200mm +msgid "media.om_wide-photo_100x200mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #10 +msgid "media.prc_10_324x458mm" +msgstr "" + +#. TRANSLATORS: Chinese 16k +msgid "media.prc_16k_146x215mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #1 +msgid "media.prc_1_102x165mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #2 +msgid "media.prc_2_102x176mm" +msgstr "" + +#. TRANSLATORS: Chinese 32k +msgid "media.prc_32k_97x151mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #3 +msgid "media.prc_3_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #4 +msgid "media.prc_4_110x208mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #5 +msgid "media.prc_5_110x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #6 +msgid "media.prc_6_120x320mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #7 +msgid "media.prc_7_160x230mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #8 +msgid "media.prc_8_120x309mm" +msgstr "" + +#. TRANSLATORS: ROC 16k +msgid "media.roc_16k_7.75x10.75in" +msgstr "" + +#. TRANSLATORS: ROC 8k +msgid "media.roc_8k_10.75x15.5in" +msgstr "" + +#, c-format +msgid "members of class %s:" +msgstr "membros da classe %s:" + +#. TRANSLATORS: Multiple Document Handling +msgid "multiple-document-handling" +msgstr "" + +#. TRANSLATORS: Separate Documents Collated Copies +msgid "multiple-document-handling.separate-documents-collated-copies" +msgstr "" + +#. TRANSLATORS: Separate Documents Uncollated Copies +msgid "multiple-document-handling.separate-documents-uncollated-copies" +msgstr "" + +#. TRANSLATORS: Single Document +msgid "multiple-document-handling.single-document" +msgstr "" + +#. TRANSLATORS: Single Document New Sheet +msgid "multiple-document-handling.single-document-new-sheet" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling +msgid "multiple-object-handling" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling Actual +msgid "multiple-object-handling-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "multiple-object-handling.auto" +msgstr "" + +#. TRANSLATORS: Best Fit +msgid "multiple-object-handling.best-fit" +msgstr "" + +#. TRANSLATORS: Best Quality +msgid "multiple-object-handling.best-quality" +msgstr "" + +#. TRANSLATORS: Best Speed +msgid "multiple-object-handling.best-speed" +msgstr "" + +#. TRANSLATORS: One At A Time +msgid "multiple-object-handling.one-at-a-time" +msgstr "" + +#. TRANSLATORS: On Timeout +msgid "multiple-operation-time-out-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "multiple-operation-time-out-action.abort-job" +msgstr "" + +#. TRANSLATORS: Hold Job +msgid "multiple-operation-time-out-action.hold-job" +msgstr "" + +#. TRANSLATORS: Process Job +msgid "multiple-operation-time-out-action.process-job" +msgstr "" + +msgid "no entries" +msgstr "nenhum registro" + +msgid "no system default destination" +msgstr "nenhum destino padrão de sistema" + +#. TRANSLATORS: Noise Removal +msgid "noise-removal" +msgstr "" + +#. TRANSLATORS: Notify Attributes +msgid "notify-attributes" +msgstr "" + +#. TRANSLATORS: Notify Charset +msgid "notify-charset" +msgstr "" + +#. TRANSLATORS: Notify Events +msgid "notify-events" +msgstr "" + +msgid "notify-events not specified." +msgstr "notify-events não especificado." + +#. TRANSLATORS: Document Completed +msgid "notify-events.document-completed" +msgstr "" + +#. TRANSLATORS: Document Config Changed +msgid "notify-events.document-config-changed" +msgstr "" + +#. TRANSLATORS: Document Created +msgid "notify-events.document-created" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "notify-events.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document State Changed +msgid "notify-events.document-state-changed" +msgstr "" + +#. TRANSLATORS: Document Stopped +msgid "notify-events.document-stopped" +msgstr "" + +#. TRANSLATORS: Job Completed +msgid "notify-events.job-completed" +msgstr "" + +#. TRANSLATORS: Job Config Changed +msgid "notify-events.job-config-changed" +msgstr "" + +#. TRANSLATORS: Job Created +msgid "notify-events.job-created" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "notify-events.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Progress +msgid "notify-events.job-progress" +msgstr "" + +#. TRANSLATORS: Job State Changed +msgid "notify-events.job-state-changed" +msgstr "" + +#. TRANSLATORS: Job Stopped +msgid "notify-events.job-stopped" +msgstr "" + +#. TRANSLATORS: None +msgid "notify-events.none" +msgstr "" + +#. TRANSLATORS: Printer Config Changed +msgid "notify-events.printer-config-changed" +msgstr "" + +#. TRANSLATORS: Printer Finishings Changed +msgid "notify-events.printer-finishings-changed" +msgstr "" + +#. TRANSLATORS: Printer Media Changed +msgid "notify-events.printer-media-changed" +msgstr "" + +#. TRANSLATORS: Printer Queue Order Changed +msgid "notify-events.printer-queue-order-changed" +msgstr "" + +#. TRANSLATORS: Printer Restarted +msgid "notify-events.printer-restarted" +msgstr "" + +#. TRANSLATORS: Printer Shutdown +msgid "notify-events.printer-shutdown" +msgstr "" + +#. TRANSLATORS: Printer State Changed +msgid "notify-events.printer-state-changed" +msgstr "" + +#. TRANSLATORS: Printer Stopped +msgid "notify-events.printer-stopped" +msgstr "" + +#. TRANSLATORS: Notify Get Interval +msgid "notify-get-interval" +msgstr "" + +#. TRANSLATORS: Notify Lease Duration +msgid "notify-lease-duration" +msgstr "" + +#. TRANSLATORS: Notify Natural Language +msgid "notify-natural-language" +msgstr "" + +#. TRANSLATORS: Notify Pull Method +msgid "notify-pull-method" +msgstr "" + +#. TRANSLATORS: Notify Recipient +msgid "notify-recipient-uri" +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" is already used." +msgstr "URI de notify-recipient-uri \"%s\" já está sendo usada." + +#, c-format +msgid "notify-recipient-uri URI \"%s\" uses unknown scheme." +msgstr "URI de notify-recipient-uri \"%s\" usa um esquema desconhecido." + +#. TRANSLATORS: Notify Sequence Numbers +msgid "notify-sequence-numbers" +msgstr "" + +#. TRANSLATORS: Notify Subscription Ids +msgid "notify-subscription-ids" +msgstr "" + +#. TRANSLATORS: Notify Time Interval +msgid "notify-time-interval" +msgstr "" + +#. TRANSLATORS: Notify User Data +msgid "notify-user-data" +msgstr "" + +#. TRANSLATORS: Notify Wait +msgid "notify-wait" +msgstr "" + +#. TRANSLATORS: Number Of Retries +msgid "number-of-retries" +msgstr "" + +#. TRANSLATORS: Number-Up +msgid "number-up" +msgstr "" + +#. TRANSLATORS: Object Offset +msgid "object-offset" +msgstr "" + +#. TRANSLATORS: Object Size +msgid "object-size" +msgstr "" + +#. TRANSLATORS: Organization Name +msgid "organization-name" +msgstr "" + +#. TRANSLATORS: Orientation +msgid "orientation-requested" +msgstr "" + +#. TRANSLATORS: Portrait +msgid "orientation-requested.3" +msgstr "" + +#. TRANSLATORS: Landscape +msgid "orientation-requested.4" +msgstr "" + +#. TRANSLATORS: Reverse Landscape +msgid "orientation-requested.5" +msgstr "" + +#. TRANSLATORS: Reverse Portrait +msgid "orientation-requested.6" +msgstr "" + +#. TRANSLATORS: None +msgid "orientation-requested.7" +msgstr "" + +#. TRANSLATORS: Scanned Image Options +msgid "output-attributes" +msgstr "" + +#. TRANSLATORS: Output Tray +msgid "output-bin" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "output-bin.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "output-bin.bottom" +msgstr "" + +#. TRANSLATORS: Center +msgid "output-bin.center" +msgstr "" + +#. TRANSLATORS: Face Down +msgid "output-bin.face-down" +msgstr "" + +#. TRANSLATORS: Face Up +msgid "output-bin.face-up" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "output-bin.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "output-bin.left" +msgstr "" + +#. TRANSLATORS: Mailbox 1 +msgid "output-bin.mailbox-1" +msgstr "" + +#. TRANSLATORS: Mailbox 10 +msgid "output-bin.mailbox-10" +msgstr "" + +#. TRANSLATORS: Mailbox 2 +msgid "output-bin.mailbox-2" +msgstr "" + +#. TRANSLATORS: Mailbox 3 +msgid "output-bin.mailbox-3" +msgstr "" + +#. TRANSLATORS: Mailbox 4 +msgid "output-bin.mailbox-4" +msgstr "" + +#. TRANSLATORS: Mailbox 5 +msgid "output-bin.mailbox-5" +msgstr "" + +#. TRANSLATORS: Mailbox 6 +msgid "output-bin.mailbox-6" +msgstr "" + +#. TRANSLATORS: Mailbox 7 +msgid "output-bin.mailbox-7" +msgstr "" + +#. TRANSLATORS: Mailbox 8 +msgid "output-bin.mailbox-8" +msgstr "" + +#. TRANSLATORS: Mailbox 9 +msgid "output-bin.mailbox-9" +msgstr "" + +#. TRANSLATORS: Middle +msgid "output-bin.middle" +msgstr "" + +#. TRANSLATORS: My Mailbox +msgid "output-bin.my-mailbox" +msgstr "" + +#. TRANSLATORS: Rear +msgid "output-bin.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "output-bin.right" +msgstr "" + +#. TRANSLATORS: Side +msgid "output-bin.side" +msgstr "" + +#. TRANSLATORS: Stacker 1 +msgid "output-bin.stacker-1" +msgstr "" + +#. TRANSLATORS: Stacker 10 +msgid "output-bin.stacker-10" +msgstr "" + +#. TRANSLATORS: Stacker 2 +msgid "output-bin.stacker-2" +msgstr "" + +#. TRANSLATORS: Stacker 3 +msgid "output-bin.stacker-3" +msgstr "" + +#. TRANSLATORS: Stacker 4 +msgid "output-bin.stacker-4" +msgstr "" + +#. TRANSLATORS: Stacker 5 +msgid "output-bin.stacker-5" +msgstr "" + +#. TRANSLATORS: Stacker 6 +msgid "output-bin.stacker-6" +msgstr "" + +#. TRANSLATORS: Stacker 7 +msgid "output-bin.stacker-7" +msgstr "" + +#. TRANSLATORS: Stacker 8 +msgid "output-bin.stacker-8" +msgstr "" + +#. TRANSLATORS: Stacker 9 +msgid "output-bin.stacker-9" +msgstr "" + +#. TRANSLATORS: Top +msgid "output-bin.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "output-bin.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "output-bin.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "output-bin.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "output-bin.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "output-bin.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "output-bin.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "output-bin.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "output-bin.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "output-bin.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "output-bin.tray-9" +msgstr "" + +#. TRANSLATORS: Scanned Image Quality +msgid "output-compression-quality-factor" +msgstr "" + +#. TRANSLATORS: Page Delivery +msgid "page-delivery" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-down +msgid "page-delivery.reverse-order-face-down" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-up +msgid "page-delivery.reverse-order-face-up" +msgstr "" + +#. TRANSLATORS: Same Order Face-down +msgid "page-delivery.same-order-face-down" +msgstr "" + +#. TRANSLATORS: Same Order Face-up +msgid "page-delivery.same-order-face-up" +msgstr "" + +#. TRANSLATORS: System Specified +msgid "page-delivery.system-specified" +msgstr "" + +#. TRANSLATORS: Page Order Received +msgid "page-order-received" +msgstr "" + +#. TRANSLATORS: 1 To N +msgid "page-order-received.1-to-n-order" +msgstr "" + +#. TRANSLATORS: N To 1 +msgid "page-order-received.n-to-1-order" +msgstr "" + +#. TRANSLATORS: Page Ranges +msgid "page-ranges" +msgstr "" + +#. TRANSLATORS: Pages +msgid "pages" +msgstr "" + +#. TRANSLATORS: Pages Per Subset +msgid "pages-per-subset" +msgstr "" + +#. TRANSLATORS: Pclm Raster Back Side +msgid "pclm-raster-back-side" +msgstr "" + +#. TRANSLATORS: Flipped +msgid "pclm-raster-back-side.flipped" +msgstr "" + +#. TRANSLATORS: Normal +msgid "pclm-raster-back-side.normal" +msgstr "" + +#. TRANSLATORS: Rotated +msgid "pclm-raster-back-side.rotated" +msgstr "" + +#. TRANSLATORS: Pclm Source Resolution +msgid "pclm-source-resolution" +msgstr "" + +msgid "pending" +msgstr "pendente" + +#. TRANSLATORS: Platform Shape +msgid "platform-shape" +msgstr "" + +#. TRANSLATORS: Round +msgid "platform-shape.ellipse" +msgstr "" + +#. TRANSLATORS: Rectangle +msgid "platform-shape.rectangle" +msgstr "" + +#. TRANSLATORS: Platform Temperature +msgid "platform-temperature" +msgstr "" + +#. TRANSLATORS: Post-dial String +msgid "post-dial-string" +msgstr "" + +#, c-format +msgid "ppdc: Adding include directory \"%s\"." +msgstr "ppdc: Adicionando diretório de include \"%s\"." + +#, c-format +msgid "ppdc: Adding/updating UI text from %s." +msgstr "ppdc: Adicionando/atualizando texto de UI de %s." + +#, c-format +msgid "ppdc: Bad boolean value (%s) on line %d of %s." +msgstr "ppdc: Valor booleano inválido (%s) na linha %d de %s." + +#, c-format +msgid "ppdc: Bad font attribute: %s" +msgstr "ppdc: Atributo de fonte inválido: %s" + +#, c-format +msgid "ppdc: Bad resolution name \"%s\" on line %d of %s." +msgstr "ppdc: Nome de resolução inválido \"%s\" na linha %d de %s." + +#, c-format +msgid "ppdc: Bad status keyword %s on line %d of %s." +msgstr "ppdc: palavra-chave de estado inválida %s na linha %d de %s." + +#, c-format +msgid "ppdc: Bad variable substitution ($%c) on line %d of %s." +msgstr "ppdc: Substituição de variável inválida ($%c) na linha %d de %s." + +#, c-format +msgid "ppdc: Choice found on line %d of %s with no Option." +msgstr "ppdc: Escolha encontrada na linha %d de %s com nenhuma opção." + +#, c-format +msgid "ppdc: Duplicate #po for locale %s on line %d of %s." +msgstr "ppdc: Duplicata de #po para o local %s na linha %d de %s." + +#, c-format +msgid "ppdc: Expected a filter definition on line %d of %s." +msgstr "ppdc: Esperava a definição de um filtro na linha %d de %s." + +#, c-format +msgid "ppdc: Expected a program name on line %d of %s." +msgstr "ppdc: Esperava o nome de um programa na linha %d de %s." + +#, c-format +msgid "ppdc: Expected boolean value on line %d of %s." +msgstr "ppdc: Esperava um valor booleano na linha %d de %s." + +#, c-format +msgid "ppdc: Expected charset after Font on line %d of %s." +msgstr "ppdc: Esperava conjunto de caracteres após Font na linha %d de %s." + +#, c-format +msgid "ppdc: Expected choice code on line %d of %s." +msgstr "ppdc: Esperava código de escolha na linha %d de %s." + +#, c-format +msgid "ppdc: Expected choice name/text on line %d of %s." +msgstr "ppdc: Esperava texto/nome de escolha na linha %d de %s." + +#, c-format +msgid "ppdc: Expected color order for ColorModel on line %d of %s." +msgstr "ppdc: Esperava ordem de cores para ColorModel na linha %d de %s." + +#, c-format +msgid "ppdc: Expected colorspace for ColorModel on line %d of %s." +msgstr "ppdc: Esperava espaço de cores para ColorModel na linha %d de %s." + +#, c-format +msgid "ppdc: Expected compression for ColorModel on line %d of %s." +msgstr "ppdc: Esperava compressão para ColorModel na linha %d de %s." + +#, c-format +msgid "ppdc: Expected constraints string for UIConstraints on line %d of %s." +msgstr "" +"ppdc: Esperava string de restrições para UIConstraints na linha %d de %s." + +#, c-format +msgid "" +"ppdc: Expected driver type keyword following DriverType on line %d of %s." +msgstr "" +"ppdc: Esperava palavra-chave de tipo de driver seguindo DriverType na linha " +"%d de %s." + +#, c-format +msgid "ppdc: Expected duplex type after Duplex on line %d of %s." +msgstr "ppdc: Esperava tipo Duplex após Duplex na linha %d de %s." + +#, c-format +msgid "ppdc: Expected encoding after Font on line %d of %s." +msgstr "ppdc: Esperava codificação após Font na linha %d de %s." + +#, c-format +msgid "ppdc: Expected filename after #po %s on line %d of %s." +msgstr "ppdc: Esperava nome de arquivo após #po %s na linha %d de %s." + +#, c-format +msgid "ppdc: Expected group name/text on line %d of %s." +msgstr "ppdc: Esperava text/nome de grupo na linha %d de %s." + +#, c-format +msgid "ppdc: Expected include filename on line %d of %s." +msgstr "ppdc: Esperava inclusão de nome de arquivo na linha %d de %s." + +#, c-format +msgid "ppdc: Expected integer on line %d of %s." +msgstr "ppdc: Esperava número inteiro na linha %d de %s." + +#, c-format +msgid "ppdc: Expected locale after #po on line %d of %s." +msgstr "ppdc: Esperava local após #po na linha %d de %s." + +#, c-format +msgid "ppdc: Expected name after %s on line %d of %s." +msgstr "ppdc: Esperava nome após %s na linha %d de %s." + +#, c-format +msgid "ppdc: Expected name after FileName on line %d of %s." +msgstr "ppdc: Esperava nome após FileName na linha %d de %s." + +#, c-format +msgid "ppdc: Expected name after Font on line %d of %s." +msgstr "ppdc: Esperava nome após Font na linha %d de %s." + +#, c-format +msgid "ppdc: Expected name after Manufacturer on line %d of %s." +msgstr "ppdc: Esperava nome após Manufacturer na linha %d de %s." + +#, c-format +msgid "ppdc: Expected name after MediaSize on line %d of %s." +msgstr "ppdc: Esperava nome após MediaSize na linha %d de %s." + +#, c-format +msgid "ppdc: Expected name after ModelName on line %d of %s." +msgstr "ppdc: Esperava nome após ModelName na linha %d de %s." + +#, c-format +msgid "ppdc: Expected name after PCFileName on line %d of %s." +msgstr "ppdc: Esperava nome após PCFileName na linha %d de %s." + +#, c-format +msgid "ppdc: Expected name/text after %s on line %d of %s." +msgstr "ppdc: Esperava nome/texto após %s na linha %d de %s." + +#, c-format +msgid "ppdc: Expected name/text after Installable on line %d of %s." +msgstr "ppdc: Esperava nome/texto após Installable na linha %d de %s." + +#, c-format +msgid "ppdc: Expected name/text after Resolution on line %d of %s." +msgstr "ppdc: Esperava nome/texto após Resolution na linha %d de %s." + +#, c-format +msgid "ppdc: Expected name/text combination for ColorModel on line %d of %s." +msgstr "" +"ppdc: Esperava combinação de nome/texto para ColorModel na linha %d de %s." + +#, c-format +msgid "ppdc: Expected option name/text on line %d of %s." +msgstr "ppdc: Esperava opção de nome/texto na linha %d de %s." + +#, c-format +msgid "ppdc: Expected option section on line %d of %s." +msgstr "ppdc: Esperava opção de seção na linha %d de %s." + +#, c-format +msgid "ppdc: Expected option type on line %d of %s." +msgstr "ppdc: Esperava tipo da opção na linha %d de %s." + +#, c-format +msgid "ppdc: Expected override field after Resolution on line %d of %s." +msgstr "" +"ppdc: Esperava um campo de substituição após Resolution na linha %d de %s." + +#, c-format +msgid "ppdc: Expected quoted string on line %d of %s." +msgstr "ppdc: Esperava string em aspas na linha %d de %s." + +#, c-format +msgid "ppdc: Expected real number on line %d of %s." +msgstr "ppdc: Esperava número real na linha %d de %s." + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." +msgstr "" +"ppdc: Esperava resolução/tipo de mídia seguindo ColorProfile na linha %d de " +"%s." + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d " +"of %s." +msgstr "" +"ppdc: Esperava resolução/tipo de mídia seguindo SimpleColorProfile na linha " +"%d de %s." + +#, c-format +msgid "ppdc: Expected selector after %s on line %d of %s." +msgstr "ppdc: Esperava seletor após %s na linha %d de %s." + +#, c-format +msgid "ppdc: Expected status after Font on line %d of %s." +msgstr "ppdc: Esperava estado após Font na linha %d de %s." + +#, c-format +msgid "ppdc: Expected string after Copyright on line %d of %s." +msgstr "ppdc: Esperava string após Copyright na linha %d de %s." + +#, c-format +msgid "ppdc: Expected string after Version on line %d of %s." +msgstr "ppdc: Esperava string após Version na linha %d de %s." + +#, c-format +msgid "ppdc: Expected two option names on line %d of %s." +msgstr "ppdc: Esperava nomes de duas opções na linha %d de %s." + +#, c-format +msgid "ppdc: Expected value after %s on line %d of %s." +msgstr "ppdc: Esperava valor após %s na linha %d de %s." + +#, c-format +msgid "ppdc: Expected version after Font on line %d of %s." +msgstr "ppdc: Esperava versão após Font na linha %d de %s." + +#, c-format +msgid "ppdc: Invalid #include/#po filename \"%s\"." +msgstr "ppdc: Nome de arquivo \"%s\" de #include/#po inválido." + +#, c-format +msgid "ppdc: Invalid cost for filter on line %d of %s." +msgstr "ppdc: Custo inválido para filtro na linha %d de %s." + +#, c-format +msgid "ppdc: Invalid empty MIME type for filter on line %d of %s." +msgstr "ppdc: Tipo MIME vazio inválido para filtro na linha %d de %s." + +#, c-format +msgid "ppdc: Invalid empty program name for filter on line %d of %s." +msgstr "ppdc: Nome de programa vazio inválido na linha %d de %s." + +#, c-format +msgid "ppdc: Invalid option section \"%s\" on line %d of %s." +msgstr "ppdc: Seção \"%s\" inválida de opção na linha %d de %s." + +#, c-format +msgid "ppdc: Invalid option type \"%s\" on line %d of %s." +msgstr "ppdc: Tipo \"%s\" inválido de opção na linha %d de %s." + +#, c-format +msgid "ppdc: Loading driver information file \"%s\"." +msgstr "ppdc: Carregando arquivo \"%s\" de informações de driver." + +#, c-format +msgid "ppdc: Loading messages for locale \"%s\"." +msgstr "ppdc: Carregando mensagens para locale \"%s\"." + +#, c-format +msgid "ppdc: Loading messages from \"%s\"." +msgstr "ppdc: Carregando mensagens de \"%s\"." + +#, c-format +msgid "ppdc: Missing #endif at end of \"%s\"." +msgstr "ppdc: Faltando #endif ao final de \"%s\"." + +#, c-format +msgid "ppdc: Missing #if on line %d of %s." +msgstr "ppdc: Faltando #if na linha %d de %s." + +#, c-format +msgid "" +"ppdc: Need a msgid line before any translation strings on line %d of %s." +msgstr "" +"ppdc: Precisa de uma linha de msgid antes de qualquer string de tradução na " +"linha %d de %s." + +#, c-format +msgid "ppdc: No message catalog provided for locale %s." +msgstr "ppdc: Nenhum catálogo de mensagens fornecido para o locale %s." + +#, c-format +msgid "ppdc: Option %s defined in two different groups on line %d of %s." +msgstr "ppdc: Opção %s definida em dois grupos diferentes na linha %d de %s." + +#, c-format +msgid "ppdc: Option %s redefined with a different type on line %d of %s." +msgstr "ppdc: Opção %s redefinida com um tipo diferente na linha %d de %s." + +#, c-format +msgid "ppdc: Option constraint must *name on line %d of %s." +msgstr "ppdc: Restrição da opção deve *name na linha %d de %s." + +#, c-format +msgid "ppdc: Too many nested #if's on line %d of %s." +msgstr "ppdc: Muitos #if aninhados demais na linha %d de %s." + +#, c-format +msgid "ppdc: Unable to create PPD file \"%s\" - %s." +msgstr "ppdc: Não foi possível criar o arquivo PPD \"%s\" - %s." + +#, c-format +msgid "ppdc: Unable to create output directory %s: %s" +msgstr "ppdc: Não foi possível criar diretório de saída %s: %s" + +#, c-format +msgid "ppdc: Unable to create output pipes: %s" +msgstr "ppdc: Não foi possível criar redirecionamento de saída: %s" + +#, c-format +msgid "ppdc: Unable to execute cupstestppd: %s" +msgstr "ppdc: Não foi possível executar cupstestppd: %s" + +#, c-format +msgid "ppdc: Unable to find #po file %s on line %d of %s." +msgstr "ppdc: Não foi possível encontrar arquivo #po %s na linha %d de %s." + +#, c-format +msgid "ppdc: Unable to find include file \"%s\" on line %d of %s." +msgstr "" +"ppdc: Não foi possível encontrar o arquivo include \"%s\" na linha %d de %s." + +#, c-format +msgid "ppdc: Unable to find localization for \"%s\" - %s" +msgstr "ppdc: Não foi possível encontrar localização para \"%s\" - %s" + +#, c-format +msgid "ppdc: Unable to load localization file \"%s\" - %s" +msgstr "ppdc: Não foi possível carregar arquivo de localização \"%s\" - %s" + +#, c-format +msgid "ppdc: Unable to open %s: %s" +msgstr "ppdc: Não foi possível abrir %s: %s" + +#, c-format +msgid "ppdc: Undefined variable (%s) on line %d of %s." +msgstr "ppdc: Variável indefinida (%s) na linha %d de %s." + +#, c-format +msgid "ppdc: Unexpected text on line %d of %s." +msgstr "ppdc: Texto inesperado na linha %d de %s." + +#, c-format +msgid "ppdc: Unknown driver type %s on line %d of %s." +msgstr "ppdc: Tipo de driver %s desconhecido na linha %d de %s." + +#, c-format +msgid "ppdc: Unknown duplex type \"%s\" on line %d of %s." +msgstr "ppdc: Tipo de duplex desconhecido \"%s\" na linha %d de %s." + +#, c-format +msgid "ppdc: Unknown media size \"%s\" on line %d of %s." +msgstr "ppdc: Tamanho de mídia desconhecido \"%s\" na linha %d de %s." + +#, c-format +msgid "ppdc: Unknown message catalog format for \"%s\"." +msgstr "ppdc: Formato de catálogo de mensagens desconhecido para \"%s\"." + +#, c-format +msgid "ppdc: Unknown token \"%s\" seen on line %d of %s." +msgstr "ppdc: Token desconhecido \"%s\" visto na linha %d de %s." + +#, c-format +msgid "" +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." +msgstr "" +"ppdc: Caractere final desconhecido em número real \"%s\" na linha %d de %s." + +#, c-format +msgid "ppdc: Unterminated string starting with %c on line %d of %s." +msgstr "ppdc: Início de string não terminada com %c na linha %d de %s." + +#, c-format +msgid "ppdc: Warning - overlapping filename \"%s\"." +msgstr "ppdc: Aviso - nome de arquivo em sobreposição \"%s\"." + +#, c-format +msgid "ppdc: Writing %s." +msgstr "ppdc: Gravando %s." + +#, c-format +msgid "ppdc: Writing PPD files to directory \"%s\"." +msgstr "ppdc: Gravando arquivos PPD para a pasta \"%s\"." + +#, c-format +msgid "ppdmerge: Bad LanguageVersion \"%s\" in %s." +msgstr "ppdmerge: LanguageVersion incorreto \"%s\" em %s." + +#, c-format +msgid "ppdmerge: Ignoring PPD file %s." +msgstr "ppdmerge: Ignorando o arquivo PPD %s." + +#, c-format +msgid "ppdmerge: Unable to backup %s to %s - %s" +msgstr "ppdmerge: Não é possível fazer backup de %s para %s - %s" + +#. TRANSLATORS: Pre-dial String +msgid "pre-dial-string" +msgstr "" + +#. TRANSLATORS: Number-Up Layout +msgid "presentation-direction-number-up" +msgstr "" + +#. TRANSLATORS: Top-bottom, Right-left +msgid "presentation-direction-number-up.tobottom-toleft" +msgstr "" + +#. TRANSLATORS: Top-bottom, Left-right +msgid "presentation-direction-number-up.tobottom-toright" +msgstr "" + +#. TRANSLATORS: Right-left, Top-bottom +msgid "presentation-direction-number-up.toleft-tobottom" +msgstr "" + +#. TRANSLATORS: Right-left, Bottom-top +msgid "presentation-direction-number-up.toleft-totop" +msgstr "" + +#. TRANSLATORS: Left-right, Top-bottom +msgid "presentation-direction-number-up.toright-tobottom" +msgstr "" + +#. TRANSLATORS: Left-right, Bottom-top +msgid "presentation-direction-number-up.toright-totop" +msgstr "" + +#. TRANSLATORS: Bottom-top, Right-left +msgid "presentation-direction-number-up.totop-toleft" +msgstr "" + +#. TRANSLATORS: Bottom-top, Left-right +msgid "presentation-direction-number-up.totop-toright" +msgstr "" + +#. TRANSLATORS: Print Accuracy +msgid "print-accuracy" +msgstr "" + +#. TRANSLATORS: Print Base +msgid "print-base" +msgstr "" + +#. TRANSLATORS: Print Base Actual +msgid "print-base-actual" +msgstr "" + +#. TRANSLATORS: Brim +msgid "print-base.brim" +msgstr "" + +#. TRANSLATORS: None +msgid "print-base.none" +msgstr "" + +#. TRANSLATORS: Raft +msgid "print-base.raft" +msgstr "" + +#. TRANSLATORS: Skirt +msgid "print-base.skirt" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-base.standard" +msgstr "" + +#. TRANSLATORS: Print Color Mode +msgid "print-color-mode" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-color-mode.auto" +msgstr "" + +#. TRANSLATORS: Auto Monochrome +msgid "print-color-mode.auto-monochrome" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-color-mode.bi-level" +msgstr "" + +#. TRANSLATORS: Color +msgid "print-color-mode.color" +msgstr "" + +#. TRANSLATORS: Highlight +msgid "print-color-mode.highlight" +msgstr "" + +#. TRANSLATORS: Monochrome +msgid "print-color-mode.monochrome" +msgstr "" + +#. TRANSLATORS: Process Text +msgid "print-color-mode.process-bi-level" +msgstr "" + +#. TRANSLATORS: Process Monochrome +msgid "print-color-mode.process-monochrome" +msgstr "" + +#. TRANSLATORS: Print Optimization +msgid "print-content-optimize" +msgstr "" + +#. TRANSLATORS: Print Content Optimize Actual +msgid "print-content-optimize-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-content-optimize.auto" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphic" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphics" +msgstr "" + +#. TRANSLATORS: Photo +msgid "print-content-optimize.photo" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-content-optimize.text" +msgstr "" + +#. TRANSLATORS: Text and Graphics +msgid "print-content-optimize.text-and-graphic" +msgstr "" + +#. TRANSLATORS: Text And Graphics +msgid "print-content-optimize.text-and-graphics" +msgstr "" + +#. TRANSLATORS: Print Objects +msgid "print-objects" +msgstr "" + +#. TRANSLATORS: Print Quality +msgid "print-quality" +msgstr "" + +#. TRANSLATORS: Draft +msgid "print-quality.3" +msgstr "" + +#. TRANSLATORS: Normal +msgid "print-quality.4" +msgstr "" + +#. TRANSLATORS: High +msgid "print-quality.5" +msgstr "" + +#. TRANSLATORS: Print Rendering Intent +msgid "print-rendering-intent" +msgstr "" + +#. TRANSLATORS: Absolute +msgid "print-rendering-intent.absolute" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-rendering-intent.auto" +msgstr "" + +#. TRANSLATORS: Perceptual +msgid "print-rendering-intent.perceptual" +msgstr "" + +#. TRANSLATORS: Relative +msgid "print-rendering-intent.relative" +msgstr "" + +#. TRANSLATORS: Relative w/Black Point Compensation +msgid "print-rendering-intent.relative-bpc" +msgstr "" + +#. TRANSLATORS: Saturation +msgid "print-rendering-intent.saturation" +msgstr "" + +#. TRANSLATORS: Print Scaling +msgid "print-scaling" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-scaling.auto" +msgstr "" + +#. TRANSLATORS: Auto-fit +msgid "print-scaling.auto-fit" +msgstr "" + +#. TRANSLATORS: Fill +msgid "print-scaling.fill" +msgstr "" + +#. TRANSLATORS: Fit +msgid "print-scaling.fit" +msgstr "" + +#. TRANSLATORS: None +msgid "print-scaling.none" +msgstr "" + +#. TRANSLATORS: Print Supports +msgid "print-supports" +msgstr "" + +#. TRANSLATORS: Print Supports Actual +msgid "print-supports-actual" +msgstr "" + +#. TRANSLATORS: With Specified Material +msgid "print-supports.material" +msgstr "" + +#. TRANSLATORS: None +msgid "print-supports.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-supports.standard" +msgstr "" + +#, c-format +msgid "printer %s disabled since %s -" +msgstr "impressora %s desabilitada desde %s -" + +#, c-format +msgid "printer %s is holding new jobs. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s is idle. enabled since %s" +msgstr "impressora %s está inativa; habilitada desde %s" + +#, c-format +msgid "printer %s now printing %s-%d. enabled since %s" +msgstr "impressora %s está imprimindo %s-%d; habilitada desde %s" + +#, c-format +msgid "printer %s/%s disabled since %s -" +msgstr "impressora %s/%s desabilitada desde %s -" + +#, c-format +msgid "printer %s/%s is idle. enabled since %s" +msgstr "impressora %s/%s está inativa; habilitada desde %s" + +#, c-format +msgid "printer %s/%s now printing %s-%d. enabled since %s" +msgstr "impressora %s/%s está imprimindo %s-%d; habilitada desde %s" + +#. TRANSLATORS: Printer Kind +msgid "printer-kind" +msgstr "" + +#. TRANSLATORS: Disc +msgid "printer-kind.disc" +msgstr "" + +#. TRANSLATORS: Document +msgid "printer-kind.document" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "printer-kind.envelope" +msgstr "" + +#. TRANSLATORS: Label +msgid "printer-kind.label" +msgstr "" + +#. TRANSLATORS: Large Format +msgid "printer-kind.large-format" +msgstr "" + +#. TRANSLATORS: Photo +msgid "printer-kind.photo" +msgstr "" + +#. TRANSLATORS: Postcard +msgid "printer-kind.postcard" +msgstr "" + +#. TRANSLATORS: Receipt +msgid "printer-kind.receipt" +msgstr "" + +#. TRANSLATORS: Roll +msgid "printer-kind.roll" +msgstr "" + +#. TRANSLATORS: Message From Operator +msgid "printer-message-from-operator" +msgstr "" + +#. TRANSLATORS: Print Resolution +msgid "printer-resolution" +msgstr "" + +#. TRANSLATORS: Printer State +msgid "printer-state" +msgstr "" + +#. TRANSLATORS: Detailed Printer State +msgid "printer-state-reasons" +msgstr "" + +#. TRANSLATORS: Old Alerts Have Been Removed +msgid "printer-state-reasons.alert-removal-of-binary-change-entry" +msgstr "" + +#. TRANSLATORS: Bander Added +msgid "printer-state-reasons.bander-added" +msgstr "" + +#. TRANSLATORS: Bander Almost Empty +msgid "printer-state-reasons.bander-almost-empty" +msgstr "" + +#. TRANSLATORS: Bander Almost Full +msgid "printer-state-reasons.bander-almost-full" +msgstr "" + +#. TRANSLATORS: Bander At Limit +msgid "printer-state-reasons.bander-at-limit" +msgstr "" + +#. TRANSLATORS: Bander Closed +msgid "printer-state-reasons.bander-closed" +msgstr "" + +#. TRANSLATORS: Bander Configuration Change +msgid "printer-state-reasons.bander-configuration-change" +msgstr "" + +#. TRANSLATORS: Bander Cover Closed +msgid "printer-state-reasons.bander-cover-closed" +msgstr "" + +#. TRANSLATORS: Bander Cover Open +msgid "printer-state-reasons.bander-cover-open" +msgstr "" + +#. TRANSLATORS: Bander Empty +msgid "printer-state-reasons.bander-empty" +msgstr "" + +#. TRANSLATORS: Bander Full +msgid "printer-state-reasons.bander-full" +msgstr "" + +#. TRANSLATORS: Bander Interlock Closed +msgid "printer-state-reasons.bander-interlock-closed" +msgstr "" + +#. TRANSLATORS: Bander Interlock Open +msgid "printer-state-reasons.bander-interlock-open" +msgstr "" + +#. TRANSLATORS: Bander Jam +msgid "printer-state-reasons.bander-jam" +msgstr "" + +#. TRANSLATORS: Bander Life Almost Over +msgid "printer-state-reasons.bander-life-almost-over" +msgstr "" + +#. TRANSLATORS: Bander Life Over +msgid "printer-state-reasons.bander-life-over" +msgstr "" + +#. TRANSLATORS: Bander Memory Exhausted +msgid "printer-state-reasons.bander-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Bander Missing +msgid "printer-state-reasons.bander-missing" +msgstr "" + +#. TRANSLATORS: Bander Motor Failure +msgid "printer-state-reasons.bander-motor-failure" +msgstr "" + +#. TRANSLATORS: Bander Near Limit +msgid "printer-state-reasons.bander-near-limit" +msgstr "" + +#. TRANSLATORS: Bander Offline +msgid "printer-state-reasons.bander-offline" +msgstr "" + +#. TRANSLATORS: Bander Opened +msgid "printer-state-reasons.bander-opened" +msgstr "" + +#. TRANSLATORS: Bander Over Temperature +msgid "printer-state-reasons.bander-over-temperature" +msgstr "" + +#. TRANSLATORS: Bander Power Saver +msgid "printer-state-reasons.bander-power-saver" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Failure +msgid "printer-state-reasons.bander-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Storage +msgid "printer-state-reasons.bander-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Bander Removed +msgid "printer-state-reasons.bander-removed" +msgstr "" + +#. TRANSLATORS: Bander Resource Added +msgid "printer-state-reasons.bander-resource-added" +msgstr "" + +#. TRANSLATORS: Bander Resource Removed +msgid "printer-state-reasons.bander-resource-removed" +msgstr "" + +#. TRANSLATORS: Bander Thermistor Failure +msgid "printer-state-reasons.bander-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Bander Timing Failure +msgid "printer-state-reasons.bander-timing-failure" +msgstr "" + +#. TRANSLATORS: Bander Turned Off +msgid "printer-state-reasons.bander-turned-off" +msgstr "" + +#. TRANSLATORS: Bander Turned On +msgid "printer-state-reasons.bander-turned-on" +msgstr "" + +#. TRANSLATORS: Bander Under Temperature +msgid "printer-state-reasons.bander-under-temperature" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Failure +msgid "printer-state-reasons.bander-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Storage Error +msgid "printer-state-reasons.bander-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Bander Warming Up +msgid "printer-state-reasons.bander-warming-up" +msgstr "" + +#. TRANSLATORS: Binder Added +msgid "printer-state-reasons.binder-added" +msgstr "" + +#. TRANSLATORS: Binder Almost Empty +msgid "printer-state-reasons.binder-almost-empty" +msgstr "" + +#. TRANSLATORS: Binder Almost Full +msgid "printer-state-reasons.binder-almost-full" +msgstr "" + +#. TRANSLATORS: Binder At Limit +msgid "printer-state-reasons.binder-at-limit" +msgstr "" + +#. TRANSLATORS: Binder Closed +msgid "printer-state-reasons.binder-closed" +msgstr "" + +#. TRANSLATORS: Binder Configuration Change +msgid "printer-state-reasons.binder-configuration-change" +msgstr "" + +#. TRANSLATORS: Binder Cover Closed +msgid "printer-state-reasons.binder-cover-closed" +msgstr "" + +#. TRANSLATORS: Binder Cover Open +msgid "printer-state-reasons.binder-cover-open" +msgstr "" + +#. TRANSLATORS: Binder Empty +msgid "printer-state-reasons.binder-empty" +msgstr "" + +#. TRANSLATORS: Binder Full +msgid "printer-state-reasons.binder-full" +msgstr "" + +#. TRANSLATORS: Binder Interlock Closed +msgid "printer-state-reasons.binder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Binder Interlock Open +msgid "printer-state-reasons.binder-interlock-open" +msgstr "" + +#. TRANSLATORS: Binder Jam +msgid "printer-state-reasons.binder-jam" +msgstr "" + +#. TRANSLATORS: Binder Life Almost Over +msgid "printer-state-reasons.binder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Binder Life Over +msgid "printer-state-reasons.binder-life-over" +msgstr "" + +#. TRANSLATORS: Binder Memory Exhausted +msgid "printer-state-reasons.binder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Binder Missing +msgid "printer-state-reasons.binder-missing" +msgstr "" + +#. TRANSLATORS: Binder Motor Failure +msgid "printer-state-reasons.binder-motor-failure" +msgstr "" + +#. TRANSLATORS: Binder Near Limit +msgid "printer-state-reasons.binder-near-limit" +msgstr "" + +#. TRANSLATORS: Binder Offline +msgid "printer-state-reasons.binder-offline" +msgstr "" + +#. TRANSLATORS: Binder Opened +msgid "printer-state-reasons.binder-opened" +msgstr "" + +#. TRANSLATORS: Binder Over Temperature +msgid "printer-state-reasons.binder-over-temperature" +msgstr "" + +#. TRANSLATORS: Binder Power Saver +msgid "printer-state-reasons.binder-power-saver" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Failure +msgid "printer-state-reasons.binder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Storage +msgid "printer-state-reasons.binder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Binder Removed +msgid "printer-state-reasons.binder-removed" +msgstr "" + +#. TRANSLATORS: Binder Resource Added +msgid "printer-state-reasons.binder-resource-added" +msgstr "" + +#. TRANSLATORS: Binder Resource Removed +msgid "printer-state-reasons.binder-resource-removed" +msgstr "" + +#. TRANSLATORS: Binder Thermistor Failure +msgid "printer-state-reasons.binder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Binder Timing Failure +msgid "printer-state-reasons.binder-timing-failure" +msgstr "" + +#. TRANSLATORS: Binder Turned Off +msgid "printer-state-reasons.binder-turned-off" +msgstr "" + +#. TRANSLATORS: Binder Turned On +msgid "printer-state-reasons.binder-turned-on" +msgstr "" + +#. TRANSLATORS: Binder Under Temperature +msgid "printer-state-reasons.binder-under-temperature" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Failure +msgid "printer-state-reasons.binder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Storage Error +msgid "printer-state-reasons.binder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Binder Warming Up +msgid "printer-state-reasons.binder-warming-up" +msgstr "" + +#. TRANSLATORS: Camera Failure +msgid "printer-state-reasons.camera-failure" +msgstr "" + +#. TRANSLATORS: Chamber Cooling +msgid "printer-state-reasons.chamber-cooling" +msgstr "" + +#. TRANSLATORS: Chamber Failure +msgid "printer-state-reasons.chamber-failure" +msgstr "" + +#. TRANSLATORS: Chamber Heating +msgid "printer-state-reasons.chamber-heating" +msgstr "" + +#. TRANSLATORS: Chamber Temperature High +msgid "printer-state-reasons.chamber-temperature-high" +msgstr "" + +#. TRANSLATORS: Chamber Temperature Low +msgid "printer-state-reasons.chamber-temperature-low" +msgstr "" + +#. TRANSLATORS: Cleaner Life Almost Over +msgid "printer-state-reasons.cleaner-life-almost-over" +msgstr "" + +#. TRANSLATORS: Cleaner Life Over +msgid "printer-state-reasons.cleaner-life-over" +msgstr "" + +#. TRANSLATORS: Configuration Change +msgid "printer-state-reasons.configuration-change" +msgstr "" + +#. TRANSLATORS: Connecting To Device +msgid "printer-state-reasons.connecting-to-device" +msgstr "" + +#. TRANSLATORS: Cover Open +msgid "printer-state-reasons.cover-open" +msgstr "" + +#. TRANSLATORS: Deactivated +msgid "printer-state-reasons.deactivated" +msgstr "" + +#. TRANSLATORS: Developer Empty +msgid "printer-state-reasons.developer-empty" +msgstr "" + +#. TRANSLATORS: Developer Low +msgid "printer-state-reasons.developer-low" +msgstr "" + +#. TRANSLATORS: Die Cutter Added +msgid "printer-state-reasons.die-cutter-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Empty +msgid "printer-state-reasons.die-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Full +msgid "printer-state-reasons.die-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Die Cutter At Limit +msgid "printer-state-reasons.die-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Closed +msgid "printer-state-reasons.die-cutter-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Configuration Change +msgid "printer-state-reasons.die-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Closed +msgid "printer-state-reasons.die-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Open +msgid "printer-state-reasons.die-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Empty +msgid "printer-state-reasons.die-cutter-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Full +msgid "printer-state-reasons.die-cutter-full" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Closed +msgid "printer-state-reasons.die-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Open +msgid "printer-state-reasons.die-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Jam +msgid "printer-state-reasons.die-cutter-jam" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Almost Over +msgid "printer-state-reasons.die-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Over +msgid "printer-state-reasons.die-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Memory Exhausted +msgid "printer-state-reasons.die-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Die Cutter Missing +msgid "printer-state-reasons.die-cutter-missing" +msgstr "" + +#. TRANSLATORS: Die Cutter Motor Failure +msgid "printer-state-reasons.die-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Near Limit +msgid "printer-state-reasons.die-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Offline +msgid "printer-state-reasons.die-cutter-offline" +msgstr "" + +#. TRANSLATORS: Die Cutter Opened +msgid "printer-state-reasons.die-cutter-opened" +msgstr "" + +#. TRANSLATORS: Die Cutter Over Temperature +msgid "printer-state-reasons.die-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Power Saver +msgid "printer-state-reasons.die-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Failure +msgid "printer-state-reasons.die-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Storage +msgid "printer-state-reasons.die-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Die Cutter Removed +msgid "printer-state-reasons.die-cutter-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Added +msgid "printer-state-reasons.die-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Removed +msgid "printer-state-reasons.die-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Thermistor Failure +msgid "printer-state-reasons.die-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Timing Failure +msgid "printer-state-reasons.die-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned Off +msgid "printer-state-reasons.die-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned On +msgid "printer-state-reasons.die-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Die Cutter Under Temperature +msgid "printer-state-reasons.die-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Failure +msgid "printer-state-reasons.die-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.die-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Die Cutter Warming Up +msgid "printer-state-reasons.die-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Door Open +msgid "printer-state-reasons.door-open" +msgstr "" + +#. TRANSLATORS: Extruder Cooling +msgid "printer-state-reasons.extruder-cooling" +msgstr "" + +#. TRANSLATORS: Extruder Failure +msgid "printer-state-reasons.extruder-failure" +msgstr "" + +#. TRANSLATORS: Extruder Heating +msgid "printer-state-reasons.extruder-heating" +msgstr "" + +#. TRANSLATORS: Extruder Jam +msgid "printer-state-reasons.extruder-jam" +msgstr "" + +#. TRANSLATORS: Extruder Temperature High +msgid "printer-state-reasons.extruder-temperature-high" +msgstr "" + +#. TRANSLATORS: Extruder Temperature Low +msgid "printer-state-reasons.extruder-temperature-low" +msgstr "" + +#. TRANSLATORS: Fan Failure +msgid "printer-state-reasons.fan-failure" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Almost Over +msgid "printer-state-reasons.fax-modem-life-almost-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Over +msgid "printer-state-reasons.fax-modem-life-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Missing +msgid "printer-state-reasons.fax-modem-missing" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned Off +msgid "printer-state-reasons.fax-modem-turned-off" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned On +msgid "printer-state-reasons.fax-modem-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Added +msgid "printer-state-reasons.folder-added" +msgstr "" + +#. TRANSLATORS: Folder Almost Empty +msgid "printer-state-reasons.folder-almost-empty" +msgstr "" + +#. TRANSLATORS: Folder Almost Full +msgid "printer-state-reasons.folder-almost-full" +msgstr "" + +#. TRANSLATORS: Folder At Limit +msgid "printer-state-reasons.folder-at-limit" +msgstr "" + +#. TRANSLATORS: Folder Closed +msgid "printer-state-reasons.folder-closed" +msgstr "" + +#. TRANSLATORS: Folder Configuration Change +msgid "printer-state-reasons.folder-configuration-change" +msgstr "" + +#. TRANSLATORS: Folder Cover Closed +msgid "printer-state-reasons.folder-cover-closed" +msgstr "" + +#. TRANSLATORS: Folder Cover Open +msgid "printer-state-reasons.folder-cover-open" +msgstr "" + +#. TRANSLATORS: Folder Empty +msgid "printer-state-reasons.folder-empty" +msgstr "" + +#. TRANSLATORS: Folder Full +msgid "printer-state-reasons.folder-full" +msgstr "" + +#. TRANSLATORS: Folder Interlock Closed +msgid "printer-state-reasons.folder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Folder Interlock Open +msgid "printer-state-reasons.folder-interlock-open" +msgstr "" + +#. TRANSLATORS: Folder Jam +msgid "printer-state-reasons.folder-jam" +msgstr "" + +#. TRANSLATORS: Folder Life Almost Over +msgid "printer-state-reasons.folder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Folder Life Over +msgid "printer-state-reasons.folder-life-over" +msgstr "" + +#. TRANSLATORS: Folder Memory Exhausted +msgid "printer-state-reasons.folder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Folder Missing +msgid "printer-state-reasons.folder-missing" +msgstr "" + +#. TRANSLATORS: Folder Motor Failure +msgid "printer-state-reasons.folder-motor-failure" +msgstr "" + +#. TRANSLATORS: Folder Near Limit +msgid "printer-state-reasons.folder-near-limit" +msgstr "" + +#. TRANSLATORS: Folder Offline +msgid "printer-state-reasons.folder-offline" +msgstr "" + +#. TRANSLATORS: Folder Opened +msgid "printer-state-reasons.folder-opened" +msgstr "" + +#. TRANSLATORS: Folder Over Temperature +msgid "printer-state-reasons.folder-over-temperature" +msgstr "" + +#. TRANSLATORS: Folder Power Saver +msgid "printer-state-reasons.folder-power-saver" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Failure +msgid "printer-state-reasons.folder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Storage +msgid "printer-state-reasons.folder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Folder Removed +msgid "printer-state-reasons.folder-removed" +msgstr "" + +#. TRANSLATORS: Folder Resource Added +msgid "printer-state-reasons.folder-resource-added" +msgstr "" + +#. TRANSLATORS: Folder Resource Removed +msgid "printer-state-reasons.folder-resource-removed" +msgstr "" + +#. TRANSLATORS: Folder Thermistor Failure +msgid "printer-state-reasons.folder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Folder Timing Failure +msgid "printer-state-reasons.folder-timing-failure" +msgstr "" + +#. TRANSLATORS: Folder Turned Off +msgid "printer-state-reasons.folder-turned-off" +msgstr "" + +#. TRANSLATORS: Folder Turned On +msgid "printer-state-reasons.folder-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Under Temperature +msgid "printer-state-reasons.folder-under-temperature" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Failure +msgid "printer-state-reasons.folder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Storage Error +msgid "printer-state-reasons.folder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Folder Warming Up +msgid "printer-state-reasons.folder-warming-up" +msgstr "" + +#. TRANSLATORS: Fuser temperature high +msgid "printer-state-reasons.fuser-over-temp" +msgstr "" + +#. TRANSLATORS: Fuser temperature low +msgid "printer-state-reasons.fuser-under-temp" +msgstr "" + +#. TRANSLATORS: Hold New Jobs +msgid "printer-state-reasons.hold-new-jobs" +msgstr "" + +#. TRANSLATORS: Identify Printer +msgid "printer-state-reasons.identify-printer-requested" +msgstr "" + +#. TRANSLATORS: Imprinter Added +msgid "printer-state-reasons.imprinter-added" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Empty +msgid "printer-state-reasons.imprinter-almost-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Full +msgid "printer-state-reasons.imprinter-almost-full" +msgstr "" + +#. TRANSLATORS: Imprinter At Limit +msgid "printer-state-reasons.imprinter-at-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Closed +msgid "printer-state-reasons.imprinter-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Configuration Change +msgid "printer-state-reasons.imprinter-configuration-change" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Closed +msgid "printer-state-reasons.imprinter-cover-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Open +msgid "printer-state-reasons.imprinter-cover-open" +msgstr "" + +#. TRANSLATORS: Imprinter Empty +msgid "printer-state-reasons.imprinter-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Full +msgid "printer-state-reasons.imprinter-full" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Closed +msgid "printer-state-reasons.imprinter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Open +msgid "printer-state-reasons.imprinter-interlock-open" +msgstr "" + +#. TRANSLATORS: Imprinter Jam +msgid "printer-state-reasons.imprinter-jam" +msgstr "" + +#. TRANSLATORS: Imprinter Life Almost Over +msgid "printer-state-reasons.imprinter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Imprinter Life Over +msgid "printer-state-reasons.imprinter-life-over" +msgstr "" + +#. TRANSLATORS: Imprinter Memory Exhausted +msgid "printer-state-reasons.imprinter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Imprinter Missing +msgid "printer-state-reasons.imprinter-missing" +msgstr "" + +#. TRANSLATORS: Imprinter Motor Failure +msgid "printer-state-reasons.imprinter-motor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Near Limit +msgid "printer-state-reasons.imprinter-near-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Offline +msgid "printer-state-reasons.imprinter-offline" +msgstr "" + +#. TRANSLATORS: Imprinter Opened +msgid "printer-state-reasons.imprinter-opened" +msgstr "" + +#. TRANSLATORS: Imprinter Over Temperature +msgid "printer-state-reasons.imprinter-over-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Power Saver +msgid "printer-state-reasons.imprinter-power-saver" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Failure +msgid "printer-state-reasons.imprinter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Storage +msgid "printer-state-reasons.imprinter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Imprinter Removed +msgid "printer-state-reasons.imprinter-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Added +msgid "printer-state-reasons.imprinter-resource-added" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Removed +msgid "printer-state-reasons.imprinter-resource-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Thermistor Failure +msgid "printer-state-reasons.imprinter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Timing Failure +msgid "printer-state-reasons.imprinter-timing-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Turned Off +msgid "printer-state-reasons.imprinter-turned-off" +msgstr "" + +#. TRANSLATORS: Imprinter Turned On +msgid "printer-state-reasons.imprinter-turned-on" +msgstr "" + +#. TRANSLATORS: Imprinter Under Temperature +msgid "printer-state-reasons.imprinter-under-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Failure +msgid "printer-state-reasons.imprinter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Storage Error +msgid "printer-state-reasons.imprinter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Imprinter Warming Up +msgid "printer-state-reasons.imprinter-warming-up" +msgstr "" + +#. TRANSLATORS: Input Cannot Feed Size Selected +msgid "printer-state-reasons.input-cannot-feed-size-selected" +msgstr "" + +#. TRANSLATORS: Input Manual Input Request +msgid "printer-state-reasons.input-manual-input-request" +msgstr "" + +#. TRANSLATORS: Input Media Color Change +msgid "printer-state-reasons.input-media-color-change" +msgstr "" + +#. TRANSLATORS: Input Media Form Parts Change +msgid "printer-state-reasons.input-media-form-parts-change" +msgstr "" + +#. TRANSLATORS: Input Media Size Change +msgid "printer-state-reasons.input-media-size-change" +msgstr "" + +#. TRANSLATORS: Input Media Tray Failure +msgid "printer-state-reasons.input-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Input Media Tray Feed Error +msgid "printer-state-reasons.input-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Input Media Tray Jam +msgid "printer-state-reasons.input-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Input Media Type Change +msgid "printer-state-reasons.input-media-type-change" +msgstr "" + +#. TRANSLATORS: Input Media Weight Change +msgid "printer-state-reasons.input-media-weight-change" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Failure +msgid "printer-state-reasons.input-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Over +msgid "printer-state-reasons.input-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Warn +msgid "printer-state-reasons.input-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Missing +msgid "printer-state-reasons.input-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Elevation Failure +msgid "printer-state-reasons.input-tray-elevation-failure" +msgstr "" + +#. TRANSLATORS: Paper tray is missing +msgid "printer-state-reasons.input-tray-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Position Failure +msgid "printer-state-reasons.input-tray-position-failure" +msgstr "" + +#. TRANSLATORS: Inserter Added +msgid "printer-state-reasons.inserter-added" +msgstr "" + +#. TRANSLATORS: Inserter Almost Empty +msgid "printer-state-reasons.inserter-almost-empty" +msgstr "" + +#. TRANSLATORS: Inserter Almost Full +msgid "printer-state-reasons.inserter-almost-full" +msgstr "" + +#. TRANSLATORS: Inserter At Limit +msgid "printer-state-reasons.inserter-at-limit" +msgstr "" + +#. TRANSLATORS: Inserter Closed +msgid "printer-state-reasons.inserter-closed" +msgstr "" + +#. TRANSLATORS: Inserter Configuration Change +msgid "printer-state-reasons.inserter-configuration-change" +msgstr "" + +#. TRANSLATORS: Inserter Cover Closed +msgid "printer-state-reasons.inserter-cover-closed" +msgstr "" + +#. TRANSLATORS: Inserter Cover Open +msgid "printer-state-reasons.inserter-cover-open" +msgstr "" + +#. TRANSLATORS: Inserter Empty +msgid "printer-state-reasons.inserter-empty" +msgstr "" + +#. TRANSLATORS: Inserter Full +msgid "printer-state-reasons.inserter-full" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Closed +msgid "printer-state-reasons.inserter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Open +msgid "printer-state-reasons.inserter-interlock-open" +msgstr "" + +#. TRANSLATORS: Inserter Jam +msgid "printer-state-reasons.inserter-jam" +msgstr "" + +#. TRANSLATORS: Inserter Life Almost Over +msgid "printer-state-reasons.inserter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Inserter Life Over +msgid "printer-state-reasons.inserter-life-over" +msgstr "" + +#. TRANSLATORS: Inserter Memory Exhausted +msgid "printer-state-reasons.inserter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Inserter Missing +msgid "printer-state-reasons.inserter-missing" +msgstr "" + +#. TRANSLATORS: Inserter Motor Failure +msgid "printer-state-reasons.inserter-motor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Near Limit +msgid "printer-state-reasons.inserter-near-limit" +msgstr "" + +#. TRANSLATORS: Inserter Offline +msgid "printer-state-reasons.inserter-offline" +msgstr "" + +#. TRANSLATORS: Inserter Opened +msgid "printer-state-reasons.inserter-opened" +msgstr "" + +#. TRANSLATORS: Inserter Over Temperature +msgid "printer-state-reasons.inserter-over-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Power Saver +msgid "printer-state-reasons.inserter-power-saver" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Failure +msgid "printer-state-reasons.inserter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Storage +msgid "printer-state-reasons.inserter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Inserter Removed +msgid "printer-state-reasons.inserter-removed" +msgstr "" + +#. TRANSLATORS: Inserter Resource Added +msgid "printer-state-reasons.inserter-resource-added" +msgstr "" + +#. TRANSLATORS: Inserter Resource Removed +msgid "printer-state-reasons.inserter-resource-removed" +msgstr "" + +#. TRANSLATORS: Inserter Thermistor Failure +msgid "printer-state-reasons.inserter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Timing Failure +msgid "printer-state-reasons.inserter-timing-failure" +msgstr "" + +#. TRANSLATORS: Inserter Turned Off +msgid "printer-state-reasons.inserter-turned-off" +msgstr "" + +#. TRANSLATORS: Inserter Turned On +msgid "printer-state-reasons.inserter-turned-on" +msgstr "" + +#. TRANSLATORS: Inserter Under Temperature +msgid "printer-state-reasons.inserter-under-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Failure +msgid "printer-state-reasons.inserter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Storage Error +msgid "printer-state-reasons.inserter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Inserter Warming Up +msgid "printer-state-reasons.inserter-warming-up" +msgstr "" + +#. TRANSLATORS: Interlock Closed +msgid "printer-state-reasons.interlock-closed" +msgstr "" + +#. TRANSLATORS: Interlock Open +msgid "printer-state-reasons.interlock-open" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Added +msgid "printer-state-reasons.interpreter-cartridge-added" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Removed +msgid "printer-state-reasons.interpreter-cartridge-deleted" +msgstr "" + +#. TRANSLATORS: Interpreter Complex Page Encountered +msgid "printer-state-reasons.interpreter-complex-page-encountered" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Decrease +msgid "printer-state-reasons.interpreter-memory-decrease" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Increase +msgid "printer-state-reasons.interpreter-memory-increase" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Added +msgid "printer-state-reasons.interpreter-resource-added" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Deleted +msgid "printer-state-reasons.interpreter-resource-deleted" +msgstr "" + +#. TRANSLATORS: Printer resource unavailable +msgid "printer-state-reasons.interpreter-resource-unavailable" +msgstr "" + +#. TRANSLATORS: Lamp At End of Life +msgid "printer-state-reasons.lamp-at-eol" +msgstr "" + +#. TRANSLATORS: Lamp Failure +msgid "printer-state-reasons.lamp-failure" +msgstr "" + +#. TRANSLATORS: Lamp Near End of Life +msgid "printer-state-reasons.lamp-near-eol" +msgstr "" + +#. TRANSLATORS: Laser At End of Life +msgid "printer-state-reasons.laser-at-eol" +msgstr "" + +#. TRANSLATORS: Laser Failure +msgid "printer-state-reasons.laser-failure" +msgstr "" + +#. TRANSLATORS: Laser Near End of Life +msgid "printer-state-reasons.laser-near-eol" +msgstr "" + +#. TRANSLATORS: Envelope Maker Added +msgid "printer-state-reasons.make-envelope-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Empty +msgid "printer-state-reasons.make-envelope-almost-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Full +msgid "printer-state-reasons.make-envelope-almost-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker At Limit +msgid "printer-state-reasons.make-envelope-at-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Closed +msgid "printer-state-reasons.make-envelope-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Configuration Change +msgid "printer-state-reasons.make-envelope-configuration-change" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Closed +msgid "printer-state-reasons.make-envelope-cover-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Open +msgid "printer-state-reasons.make-envelope-cover-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Empty +msgid "printer-state-reasons.make-envelope-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Full +msgid "printer-state-reasons.make-envelope-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Closed +msgid "printer-state-reasons.make-envelope-interlock-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Open +msgid "printer-state-reasons.make-envelope-interlock-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Jam +msgid "printer-state-reasons.make-envelope-jam" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Almost Over +msgid "printer-state-reasons.make-envelope-life-almost-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Over +msgid "printer-state-reasons.make-envelope-life-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Memory Exhausted +msgid "printer-state-reasons.make-envelope-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Envelope Maker Missing +msgid "printer-state-reasons.make-envelope-missing" +msgstr "" + +#. TRANSLATORS: Envelope Maker Motor Failure +msgid "printer-state-reasons.make-envelope-motor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Near Limit +msgid "printer-state-reasons.make-envelope-near-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Offline +msgid "printer-state-reasons.make-envelope-offline" +msgstr "" + +#. TRANSLATORS: Envelope Maker Opened +msgid "printer-state-reasons.make-envelope-opened" +msgstr "" + +#. TRANSLATORS: Envelope Maker Over Temperature +msgid "printer-state-reasons.make-envelope-over-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Power Saver +msgid "printer-state-reasons.make-envelope-power-saver" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Failure +msgid "printer-state-reasons.make-envelope-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Storage +msgid "printer-state-reasons.make-envelope-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Envelope Maker Removed +msgid "printer-state-reasons.make-envelope-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Added +msgid "printer-state-reasons.make-envelope-resource-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Removed +msgid "printer-state-reasons.make-envelope-resource-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Thermistor Failure +msgid "printer-state-reasons.make-envelope-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Timing Failure +msgid "printer-state-reasons.make-envelope-timing-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned Off +msgid "printer-state-reasons.make-envelope-turned-off" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned On +msgid "printer-state-reasons.make-envelope-turned-on" +msgstr "" + +#. TRANSLATORS: Envelope Maker Under Temperature +msgid "printer-state-reasons.make-envelope-under-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Failure +msgid "printer-state-reasons.make-envelope-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Storage Error +msgid "printer-state-reasons.make-envelope-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Envelope Maker Warming Up +msgid "printer-state-reasons.make-envelope-warming-up" +msgstr "" + +#. TRANSLATORS: Marker Adjusting Print Quality +msgid "printer-state-reasons.marker-adjusting-print-quality" +msgstr "" + +#. TRANSLATORS: Marker Cleaner Missing +msgid "printer-state-reasons.marker-cleaner-missing" +msgstr "" + +#. TRANSLATORS: Marker Developer Almost Empty +msgid "printer-state-reasons.marker-developer-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Empty +msgid "printer-state-reasons.marker-developer-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Missing +msgid "printer-state-reasons.marker-developer-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Missing +msgid "printer-state-reasons.marker-fuser-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Thermistor Failure +msgid "printer-state-reasons.marker-fuser-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Marker Fuser Timing Failure +msgid "printer-state-reasons.marker-fuser-timing-failure" +msgstr "" + +#. TRANSLATORS: Marker Ink Almost Empty +msgid "printer-state-reasons.marker-ink-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Empty +msgid "printer-state-reasons.marker-ink-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Missing +msgid "printer-state-reasons.marker-ink-missing" +msgstr "" + +#. TRANSLATORS: Marker Opc Missing +msgid "printer-state-reasons.marker-opc-missing" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Almost Empty +msgid "printer-state-reasons.marker-print-ribbon-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Empty +msgid "printer-state-reasons.marker-print-ribbon-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Missing +msgid "printer-state-reasons.marker-print-ribbon-missing" +msgstr "" + +#. TRANSLATORS: Marker Supply Almost Empty +msgid "printer-state-reasons.marker-supply-almost-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner empty +msgid "printer-state-reasons.marker-supply-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner low +msgid "printer-state-reasons.marker-supply-low" +msgstr "" + +#. TRANSLATORS: Marker Supply Missing +msgid "printer-state-reasons.marker-supply-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Cartridge Missing +msgid "printer-state-reasons.marker-toner-cartridge-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Missing +msgid "printer-state-reasons.marker-toner-missing" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin almost full +msgid "printer-state-reasons.marker-waste-almost-full" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin full +msgid "printer-state-reasons.marker-waste-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Missing +msgid "printer-state-reasons.marker-waste-ink-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Missing +msgid "printer-state-reasons.marker-waste-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Missing +msgid "printer-state-reasons.marker-waste-toner-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Material Empty +msgid "printer-state-reasons.material-empty" +msgstr "" + +#. TRANSLATORS: Material Low +msgid "printer-state-reasons.material-low" +msgstr "" + +#. TRANSLATORS: Material Needed +msgid "printer-state-reasons.material-needed" +msgstr "" + +#. TRANSLATORS: Media Drying +msgid "printer-state-reasons.media-drying" +msgstr "" + +#. TRANSLATORS: Paper tray is empty +msgid "printer-state-reasons.media-empty" +msgstr "" + +#. TRANSLATORS: Paper jam +msgid "printer-state-reasons.media-jam" +msgstr "" + +#. TRANSLATORS: Paper tray is almost empty +msgid "printer-state-reasons.media-low" +msgstr "" + +#. TRANSLATORS: Load paper +msgid "printer-state-reasons.media-needed" +msgstr "" + +#. TRANSLATORS: Media Path Cannot Do 2-Sided Printing +msgid "printer-state-reasons.media-path-cannot-duplex-media-selected" +msgstr "" + +#. TRANSLATORS: Media Path Failure +msgid "printer-state-reasons.media-path-failure" +msgstr "" + +#. TRANSLATORS: Media Path Input Empty +msgid "printer-state-reasons.media-path-input-empty" +msgstr "" + +#. TRANSLATORS: Media Path Input Feed Error +msgid "printer-state-reasons.media-path-input-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Input Jam +msgid "printer-state-reasons.media-path-input-jam" +msgstr "" + +#. TRANSLATORS: Media Path Input Request +msgid "printer-state-reasons.media-path-input-request" +msgstr "" + +#. TRANSLATORS: Media Path Jam +msgid "printer-state-reasons.media-path-jam" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Almost Full +msgid "printer-state-reasons.media-path-media-tray-almost-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Full +msgid "printer-state-reasons.media-path-media-tray-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Missing +msgid "printer-state-reasons.media-path-media-tray-missing" +msgstr "" + +#. TRANSLATORS: Media Path Output Feed Error +msgid "printer-state-reasons.media-path-output-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Output Full +msgid "printer-state-reasons.media-path-output-full" +msgstr "" + +#. TRANSLATORS: Media Path Output Jam +msgid "printer-state-reasons.media-path-output-jam" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Failure +msgid "printer-state-reasons.media-path-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Over +msgid "printer-state-reasons.media-path-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Warn +msgid "printer-state-reasons.media-path-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Missing +msgid "printer-state-reasons.media-path-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Motor Failure +msgid "printer-state-reasons.motor-failure" +msgstr "" + +#. TRANSLATORS: Printer going offline +msgid "printer-state-reasons.moving-to-paused" +msgstr "" + +#. TRANSLATORS: None +msgid "printer-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Optical Photoconductor Life Over +msgid "printer-state-reasons.opc-life-over" +msgstr "" + +#. TRANSLATORS: OPC almost at end-of-life +msgid "printer-state-reasons.opc-near-eol" +msgstr "" + +#. TRANSLATORS: Check the printer for errors +msgid "printer-state-reasons.other" +msgstr "" + +#. TRANSLATORS: Output bin is almost full +msgid "printer-state-reasons.output-area-almost-full" +msgstr "" + +#. TRANSLATORS: Output bin is full +msgid "printer-state-reasons.output-area-full" +msgstr "" + +#. TRANSLATORS: Output Mailbox Select Failure +msgid "printer-state-reasons.output-mailbox-select-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Failure +msgid "printer-state-reasons.output-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Feed Error +msgid "printer-state-reasons.output-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Output Media Tray Jam +msgid "printer-state-reasons.output-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Output tray is missing +msgid "printer-state-reasons.output-tray-missing" +msgstr "" + +#. TRANSLATORS: Paused +msgid "printer-state-reasons.paused" +msgstr "" + +#. TRANSLATORS: Perforater Added +msgid "printer-state-reasons.perforater-added" +msgstr "" + +#. TRANSLATORS: Perforater Almost Empty +msgid "printer-state-reasons.perforater-almost-empty" +msgstr "" + +#. TRANSLATORS: Perforater Almost Full +msgid "printer-state-reasons.perforater-almost-full" +msgstr "" + +#. TRANSLATORS: Perforater At Limit +msgid "printer-state-reasons.perforater-at-limit" +msgstr "" + +#. TRANSLATORS: Perforater Closed +msgid "printer-state-reasons.perforater-closed" +msgstr "" + +#. TRANSLATORS: Perforater Configuration Change +msgid "printer-state-reasons.perforater-configuration-change" +msgstr "" + +#. TRANSLATORS: Perforater Cover Closed +msgid "printer-state-reasons.perforater-cover-closed" +msgstr "" + +#. TRANSLATORS: Perforater Cover Open +msgid "printer-state-reasons.perforater-cover-open" +msgstr "" + +#. TRANSLATORS: Perforater Empty +msgid "printer-state-reasons.perforater-empty" +msgstr "" + +#. TRANSLATORS: Perforater Full +msgid "printer-state-reasons.perforater-full" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Closed +msgid "printer-state-reasons.perforater-interlock-closed" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Open +msgid "printer-state-reasons.perforater-interlock-open" +msgstr "" + +#. TRANSLATORS: Perforater Jam +msgid "printer-state-reasons.perforater-jam" +msgstr "" + +#. TRANSLATORS: Perforater Life Almost Over +msgid "printer-state-reasons.perforater-life-almost-over" +msgstr "" + +#. TRANSLATORS: Perforater Life Over +msgid "printer-state-reasons.perforater-life-over" +msgstr "" + +#. TRANSLATORS: Perforater Memory Exhausted +msgid "printer-state-reasons.perforater-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Perforater Missing +msgid "printer-state-reasons.perforater-missing" +msgstr "" + +#. TRANSLATORS: Perforater Motor Failure +msgid "printer-state-reasons.perforater-motor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Near Limit +msgid "printer-state-reasons.perforater-near-limit" +msgstr "" + +#. TRANSLATORS: Perforater Offline +msgid "printer-state-reasons.perforater-offline" +msgstr "" + +#. TRANSLATORS: Perforater Opened +msgid "printer-state-reasons.perforater-opened" +msgstr "" + +#. TRANSLATORS: Perforater Over Temperature +msgid "printer-state-reasons.perforater-over-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Power Saver +msgid "printer-state-reasons.perforater-power-saver" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Failure +msgid "printer-state-reasons.perforater-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Storage +msgid "printer-state-reasons.perforater-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Perforater Removed +msgid "printer-state-reasons.perforater-removed" +msgstr "" + +#. TRANSLATORS: Perforater Resource Added +msgid "printer-state-reasons.perforater-resource-added" +msgstr "" + +#. TRANSLATORS: Perforater Resource Removed +msgid "printer-state-reasons.perforater-resource-removed" +msgstr "" + +#. TRANSLATORS: Perforater Thermistor Failure +msgid "printer-state-reasons.perforater-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Timing Failure +msgid "printer-state-reasons.perforater-timing-failure" +msgstr "" + +#. TRANSLATORS: Perforater Turned Off +msgid "printer-state-reasons.perforater-turned-off" +msgstr "" + +#. TRANSLATORS: Perforater Turned On +msgid "printer-state-reasons.perforater-turned-on" +msgstr "" + +#. TRANSLATORS: Perforater Under Temperature +msgid "printer-state-reasons.perforater-under-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Failure +msgid "printer-state-reasons.perforater-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Storage Error +msgid "printer-state-reasons.perforater-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Perforater Warming Up +msgid "printer-state-reasons.perforater-warming-up" +msgstr "" + +#. TRANSLATORS: Platform Cooling +msgid "printer-state-reasons.platform-cooling" +msgstr "" + +#. TRANSLATORS: Platform Failure +msgid "printer-state-reasons.platform-failure" +msgstr "" + +#. TRANSLATORS: Platform Heating +msgid "printer-state-reasons.platform-heating" +msgstr "" + +#. TRANSLATORS: Platform Temperature High +msgid "printer-state-reasons.platform-temperature-high" +msgstr "" + +#. TRANSLATORS: Platform Temperature Low +msgid "printer-state-reasons.platform-temperature-low" +msgstr "" + +#. TRANSLATORS: Power Down +msgid "printer-state-reasons.power-down" +msgstr "" + +#. TRANSLATORS: Power Up +msgid "printer-state-reasons.power-up" +msgstr "" + +#. TRANSLATORS: Printer Reset Manually +msgid "printer-state-reasons.printer-manual-reset" +msgstr "" + +#. TRANSLATORS: Printer Reset Remotely +msgid "printer-state-reasons.printer-nms-reset" +msgstr "" + +#. TRANSLATORS: Printer Ready To Print +msgid "printer-state-reasons.printer-ready-to-print" +msgstr "" + +#. TRANSLATORS: Puncher Added +msgid "printer-state-reasons.puncher-added" +msgstr "" + +#. TRANSLATORS: Puncher Almost Empty +msgid "printer-state-reasons.puncher-almost-empty" +msgstr "" + +#. TRANSLATORS: Puncher Almost Full +msgid "printer-state-reasons.puncher-almost-full" +msgstr "" + +#. TRANSLATORS: Puncher At Limit +msgid "printer-state-reasons.puncher-at-limit" +msgstr "" + +#. TRANSLATORS: Puncher Closed +msgid "printer-state-reasons.puncher-closed" +msgstr "" + +#. TRANSLATORS: Puncher Configuration Change +msgid "printer-state-reasons.puncher-configuration-change" +msgstr "" + +#. TRANSLATORS: Puncher Cover Closed +msgid "printer-state-reasons.puncher-cover-closed" +msgstr "" + +#. TRANSLATORS: Puncher Cover Open +msgid "printer-state-reasons.puncher-cover-open" +msgstr "" + +#. TRANSLATORS: Puncher Empty +msgid "printer-state-reasons.puncher-empty" +msgstr "" + +#. TRANSLATORS: Puncher Full +msgid "printer-state-reasons.puncher-full" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Closed +msgid "printer-state-reasons.puncher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Open +msgid "printer-state-reasons.puncher-interlock-open" +msgstr "" + +#. TRANSLATORS: Puncher Jam +msgid "printer-state-reasons.puncher-jam" +msgstr "" + +#. TRANSLATORS: Puncher Life Almost Over +msgid "printer-state-reasons.puncher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Puncher Life Over +msgid "printer-state-reasons.puncher-life-over" +msgstr "" + +#. TRANSLATORS: Puncher Memory Exhausted +msgid "printer-state-reasons.puncher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Puncher Missing +msgid "printer-state-reasons.puncher-missing" +msgstr "" + +#. TRANSLATORS: Puncher Motor Failure +msgid "printer-state-reasons.puncher-motor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Near Limit +msgid "printer-state-reasons.puncher-near-limit" +msgstr "" + +#. TRANSLATORS: Puncher Offline +msgid "printer-state-reasons.puncher-offline" +msgstr "" + +#. TRANSLATORS: Puncher Opened +msgid "printer-state-reasons.puncher-opened" +msgstr "" + +#. TRANSLATORS: Puncher Over Temperature +msgid "printer-state-reasons.puncher-over-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Power Saver +msgid "printer-state-reasons.puncher-power-saver" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Failure +msgid "printer-state-reasons.puncher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Storage +msgid "printer-state-reasons.puncher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Puncher Removed +msgid "printer-state-reasons.puncher-removed" +msgstr "" + +#. TRANSLATORS: Puncher Resource Added +msgid "printer-state-reasons.puncher-resource-added" +msgstr "" + +#. TRANSLATORS: Puncher Resource Removed +msgid "printer-state-reasons.puncher-resource-removed" +msgstr "" + +#. TRANSLATORS: Puncher Thermistor Failure +msgid "printer-state-reasons.puncher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Timing Failure +msgid "printer-state-reasons.puncher-timing-failure" +msgstr "" + +#. TRANSLATORS: Puncher Turned Off +msgid "printer-state-reasons.puncher-turned-off" +msgstr "" + +#. TRANSLATORS: Puncher Turned On +msgid "printer-state-reasons.puncher-turned-on" +msgstr "" + +#. TRANSLATORS: Puncher Under Temperature +msgid "printer-state-reasons.puncher-under-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Failure +msgid "printer-state-reasons.puncher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Storage Error +msgid "printer-state-reasons.puncher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Puncher Warming Up +msgid "printer-state-reasons.puncher-warming-up" +msgstr "" + +#. TRANSLATORS: Separation Cutter Added +msgid "printer-state-reasons.separation-cutter-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Empty +msgid "printer-state-reasons.separation-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Full +msgid "printer-state-reasons.separation-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter At Limit +msgid "printer-state-reasons.separation-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Closed +msgid "printer-state-reasons.separation-cutter-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Configuration Change +msgid "printer-state-reasons.separation-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Closed +msgid "printer-state-reasons.separation-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Open +msgid "printer-state-reasons.separation-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Empty +msgid "printer-state-reasons.separation-cutter-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Full +msgid "printer-state-reasons.separation-cutter-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Closed +msgid "printer-state-reasons.separation-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Open +msgid "printer-state-reasons.separation-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Jam +msgid "printer-state-reasons.separation-cutter-jam" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Almost Over +msgid "printer-state-reasons.separation-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Over +msgid "printer-state-reasons.separation-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Memory Exhausted +msgid "printer-state-reasons.separation-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Separation Cutter Missing +msgid "printer-state-reasons.separation-cutter-missing" +msgstr "" + +#. TRANSLATORS: Separation Cutter Motor Failure +msgid "printer-state-reasons.separation-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Near Limit +msgid "printer-state-reasons.separation-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Offline +msgid "printer-state-reasons.separation-cutter-offline" +msgstr "" + +#. TRANSLATORS: Separation Cutter Opened +msgid "printer-state-reasons.separation-cutter-opened" +msgstr "" + +#. TRANSLATORS: Separation Cutter Over Temperature +msgid "printer-state-reasons.separation-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Power Saver +msgid "printer-state-reasons.separation-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Failure +msgid "printer-state-reasons.separation-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Storage +msgid "printer-state-reasons.separation-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Separation Cutter Removed +msgid "printer-state-reasons.separation-cutter-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Added +msgid "printer-state-reasons.separation-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Removed +msgid "printer-state-reasons.separation-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Thermistor Failure +msgid "printer-state-reasons.separation-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Timing Failure +msgid "printer-state-reasons.separation-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned Off +msgid "printer-state-reasons.separation-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned On +msgid "printer-state-reasons.separation-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Separation Cutter Under Temperature +msgid "printer-state-reasons.separation-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Failure +msgid "printer-state-reasons.separation-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.separation-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Separation Cutter Warming Up +msgid "printer-state-reasons.separation-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Added +msgid "printer-state-reasons.sheet-rotator-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Empty +msgid "printer-state-reasons.sheet-rotator-almost-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Full +msgid "printer-state-reasons.sheet-rotator-almost-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator At Limit +msgid "printer-state-reasons.sheet-rotator-at-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Closed +msgid "printer-state-reasons.sheet-rotator-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Configuration Change +msgid "printer-state-reasons.sheet-rotator-configuration-change" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Closed +msgid "printer-state-reasons.sheet-rotator-cover-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Open +msgid "printer-state-reasons.sheet-rotator-cover-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Empty +msgid "printer-state-reasons.sheet-rotator-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Full +msgid "printer-state-reasons.sheet-rotator-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Closed +msgid "printer-state-reasons.sheet-rotator-interlock-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Open +msgid "printer-state-reasons.sheet-rotator-interlock-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Jam +msgid "printer-state-reasons.sheet-rotator-jam" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Almost Over +msgid "printer-state-reasons.sheet-rotator-life-almost-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Over +msgid "printer-state-reasons.sheet-rotator-life-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Memory Exhausted +msgid "printer-state-reasons.sheet-rotator-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Missing +msgid "printer-state-reasons.sheet-rotator-missing" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Motor Failure +msgid "printer-state-reasons.sheet-rotator-motor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Near Limit +msgid "printer-state-reasons.sheet-rotator-near-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Offline +msgid "printer-state-reasons.sheet-rotator-offline" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Opened +msgid "printer-state-reasons.sheet-rotator-opened" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Over Temperature +msgid "printer-state-reasons.sheet-rotator-over-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Power Saver +msgid "printer-state-reasons.sheet-rotator-power-saver" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Failure +msgid "printer-state-reasons.sheet-rotator-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Storage +msgid "printer-state-reasons.sheet-rotator-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Removed +msgid "printer-state-reasons.sheet-rotator-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Added +msgid "printer-state-reasons.sheet-rotator-resource-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Removed +msgid "printer-state-reasons.sheet-rotator-resource-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Thermistor Failure +msgid "printer-state-reasons.sheet-rotator-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Timing Failure +msgid "printer-state-reasons.sheet-rotator-timing-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned Off +msgid "printer-state-reasons.sheet-rotator-turned-off" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned On +msgid "printer-state-reasons.sheet-rotator-turned-on" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Under Temperature +msgid "printer-state-reasons.sheet-rotator-under-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Failure +msgid "printer-state-reasons.sheet-rotator-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +msgid "printer-state-reasons.sheet-rotator-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Warming Up +msgid "printer-state-reasons.sheet-rotator-warming-up" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "printer-state-reasons.shutdown" +msgstr "" + +#. TRANSLATORS: Slitter Added +msgid "printer-state-reasons.slitter-added" +msgstr "" + +#. TRANSLATORS: Slitter Almost Empty +msgid "printer-state-reasons.slitter-almost-empty" +msgstr "" + +#. TRANSLATORS: Slitter Almost Full +msgid "printer-state-reasons.slitter-almost-full" +msgstr "" + +#. TRANSLATORS: Slitter At Limit +msgid "printer-state-reasons.slitter-at-limit" +msgstr "" + +#. TRANSLATORS: Slitter Closed +msgid "printer-state-reasons.slitter-closed" +msgstr "" + +#. TRANSLATORS: Slitter Configuration Change +msgid "printer-state-reasons.slitter-configuration-change" +msgstr "" + +#. TRANSLATORS: Slitter Cover Closed +msgid "printer-state-reasons.slitter-cover-closed" +msgstr "" + +#. TRANSLATORS: Slitter Cover Open +msgid "printer-state-reasons.slitter-cover-open" +msgstr "" + +#. TRANSLATORS: Slitter Empty +msgid "printer-state-reasons.slitter-empty" +msgstr "" + +#. TRANSLATORS: Slitter Full +msgid "printer-state-reasons.slitter-full" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Closed +msgid "printer-state-reasons.slitter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Open +msgid "printer-state-reasons.slitter-interlock-open" +msgstr "" + +#. TRANSLATORS: Slitter Jam +msgid "printer-state-reasons.slitter-jam" +msgstr "" + +#. TRANSLATORS: Slitter Life Almost Over +msgid "printer-state-reasons.slitter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Slitter Life Over +msgid "printer-state-reasons.slitter-life-over" +msgstr "" + +#. TRANSLATORS: Slitter Memory Exhausted +msgid "printer-state-reasons.slitter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Slitter Missing +msgid "printer-state-reasons.slitter-missing" +msgstr "" + +#. TRANSLATORS: Slitter Motor Failure +msgid "printer-state-reasons.slitter-motor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Near Limit +msgid "printer-state-reasons.slitter-near-limit" +msgstr "" + +#. TRANSLATORS: Slitter Offline +msgid "printer-state-reasons.slitter-offline" +msgstr "" + +#. TRANSLATORS: Slitter Opened +msgid "printer-state-reasons.slitter-opened" +msgstr "" + +#. TRANSLATORS: Slitter Over Temperature +msgid "printer-state-reasons.slitter-over-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Power Saver +msgid "printer-state-reasons.slitter-power-saver" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Failure +msgid "printer-state-reasons.slitter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Storage +msgid "printer-state-reasons.slitter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Slitter Removed +msgid "printer-state-reasons.slitter-removed" +msgstr "" + +#. TRANSLATORS: Slitter Resource Added +msgid "printer-state-reasons.slitter-resource-added" +msgstr "" + +#. TRANSLATORS: Slitter Resource Removed +msgid "printer-state-reasons.slitter-resource-removed" +msgstr "" + +#. TRANSLATORS: Slitter Thermistor Failure +msgid "printer-state-reasons.slitter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Timing Failure +msgid "printer-state-reasons.slitter-timing-failure" +msgstr "" + +#. TRANSLATORS: Slitter Turned Off +msgid "printer-state-reasons.slitter-turned-off" +msgstr "" + +#. TRANSLATORS: Slitter Turned On +msgid "printer-state-reasons.slitter-turned-on" +msgstr "" + +#. TRANSLATORS: Slitter Under Temperature +msgid "printer-state-reasons.slitter-under-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Failure +msgid "printer-state-reasons.slitter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Storage Error +msgid "printer-state-reasons.slitter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Slitter Warming Up +msgid "printer-state-reasons.slitter-warming-up" +msgstr "" + +#. TRANSLATORS: Spool Area Full +msgid "printer-state-reasons.spool-area-full" +msgstr "" + +#. TRANSLATORS: Stacker Added +msgid "printer-state-reasons.stacker-added" +msgstr "" + +#. TRANSLATORS: Stacker Almost Empty +msgid "printer-state-reasons.stacker-almost-empty" +msgstr "" + +#. TRANSLATORS: Stacker Almost Full +msgid "printer-state-reasons.stacker-almost-full" +msgstr "" + +#. TRANSLATORS: Stacker At Limit +msgid "printer-state-reasons.stacker-at-limit" +msgstr "" + +#. TRANSLATORS: Stacker Closed +msgid "printer-state-reasons.stacker-closed" +msgstr "" + +#. TRANSLATORS: Stacker Configuration Change +msgid "printer-state-reasons.stacker-configuration-change" +msgstr "" + +#. TRANSLATORS: Stacker Cover Closed +msgid "printer-state-reasons.stacker-cover-closed" +msgstr "" + +#. TRANSLATORS: Stacker Cover Open +msgid "printer-state-reasons.stacker-cover-open" +msgstr "" + +#. TRANSLATORS: Stacker Empty +msgid "printer-state-reasons.stacker-empty" +msgstr "" + +#. TRANSLATORS: Stacker Full +msgid "printer-state-reasons.stacker-full" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Closed +msgid "printer-state-reasons.stacker-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Open +msgid "printer-state-reasons.stacker-interlock-open" +msgstr "" + +#. TRANSLATORS: Stacker Jam +msgid "printer-state-reasons.stacker-jam" +msgstr "" + +#. TRANSLATORS: Stacker Life Almost Over +msgid "printer-state-reasons.stacker-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stacker Life Over +msgid "printer-state-reasons.stacker-life-over" +msgstr "" + +#. TRANSLATORS: Stacker Memory Exhausted +msgid "printer-state-reasons.stacker-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stacker Missing +msgid "printer-state-reasons.stacker-missing" +msgstr "" + +#. TRANSLATORS: Stacker Motor Failure +msgid "printer-state-reasons.stacker-motor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Near Limit +msgid "printer-state-reasons.stacker-near-limit" +msgstr "" + +#. TRANSLATORS: Stacker Offline +msgid "printer-state-reasons.stacker-offline" +msgstr "" + +#. TRANSLATORS: Stacker Opened +msgid "printer-state-reasons.stacker-opened" +msgstr "" + +#. TRANSLATORS: Stacker Over Temperature +msgid "printer-state-reasons.stacker-over-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Power Saver +msgid "printer-state-reasons.stacker-power-saver" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Failure +msgid "printer-state-reasons.stacker-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Storage +msgid "printer-state-reasons.stacker-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stacker Removed +msgid "printer-state-reasons.stacker-removed" +msgstr "" + +#. TRANSLATORS: Stacker Resource Added +msgid "printer-state-reasons.stacker-resource-added" +msgstr "" + +#. TRANSLATORS: Stacker Resource Removed +msgid "printer-state-reasons.stacker-resource-removed" +msgstr "" + +#. TRANSLATORS: Stacker Thermistor Failure +msgid "printer-state-reasons.stacker-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Timing Failure +msgid "printer-state-reasons.stacker-timing-failure" +msgstr "" + +#. TRANSLATORS: Stacker Turned Off +msgid "printer-state-reasons.stacker-turned-off" +msgstr "" + +#. TRANSLATORS: Stacker Turned On +msgid "printer-state-reasons.stacker-turned-on" +msgstr "" + +#. TRANSLATORS: Stacker Under Temperature +msgid "printer-state-reasons.stacker-under-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Failure +msgid "printer-state-reasons.stacker-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Storage Error +msgid "printer-state-reasons.stacker-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stacker Warming Up +msgid "printer-state-reasons.stacker-warming-up" +msgstr "" + +#. TRANSLATORS: Stapler Added +msgid "printer-state-reasons.stapler-added" +msgstr "" + +#. TRANSLATORS: Stapler Almost Empty +msgid "printer-state-reasons.stapler-almost-empty" +msgstr "" + +#. TRANSLATORS: Stapler Almost Full +msgid "printer-state-reasons.stapler-almost-full" +msgstr "" + +#. TRANSLATORS: Stapler At Limit +msgid "printer-state-reasons.stapler-at-limit" +msgstr "" + +#. TRANSLATORS: Stapler Closed +msgid "printer-state-reasons.stapler-closed" +msgstr "" + +#. TRANSLATORS: Stapler Configuration Change +msgid "printer-state-reasons.stapler-configuration-change" +msgstr "" + +#. TRANSLATORS: Stapler Cover Closed +msgid "printer-state-reasons.stapler-cover-closed" +msgstr "" + +#. TRANSLATORS: Stapler Cover Open +msgid "printer-state-reasons.stapler-cover-open" +msgstr "" + +#. TRANSLATORS: Stapler Empty +msgid "printer-state-reasons.stapler-empty" +msgstr "" + +#. TRANSLATORS: Stapler Full +msgid "printer-state-reasons.stapler-full" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Closed +msgid "printer-state-reasons.stapler-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Open +msgid "printer-state-reasons.stapler-interlock-open" +msgstr "" + +#. TRANSLATORS: Stapler Jam +msgid "printer-state-reasons.stapler-jam" +msgstr "" + +#. TRANSLATORS: Stapler Life Almost Over +msgid "printer-state-reasons.stapler-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stapler Life Over +msgid "printer-state-reasons.stapler-life-over" +msgstr "" + +#. TRANSLATORS: Stapler Memory Exhausted +msgid "printer-state-reasons.stapler-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stapler Missing +msgid "printer-state-reasons.stapler-missing" +msgstr "" + +#. TRANSLATORS: Stapler Motor Failure +msgid "printer-state-reasons.stapler-motor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Near Limit +msgid "printer-state-reasons.stapler-near-limit" +msgstr "" + +#. TRANSLATORS: Stapler Offline +msgid "printer-state-reasons.stapler-offline" +msgstr "" + +#. TRANSLATORS: Stapler Opened +msgid "printer-state-reasons.stapler-opened" +msgstr "" + +#. TRANSLATORS: Stapler Over Temperature +msgid "printer-state-reasons.stapler-over-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Power Saver +msgid "printer-state-reasons.stapler-power-saver" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Failure +msgid "printer-state-reasons.stapler-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Storage +msgid "printer-state-reasons.stapler-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stapler Removed +msgid "printer-state-reasons.stapler-removed" +msgstr "" + +#. TRANSLATORS: Stapler Resource Added +msgid "printer-state-reasons.stapler-resource-added" +msgstr "" + +#. TRANSLATORS: Stapler Resource Removed +msgid "printer-state-reasons.stapler-resource-removed" +msgstr "" + +#. TRANSLATORS: Stapler Thermistor Failure +msgid "printer-state-reasons.stapler-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Timing Failure +msgid "printer-state-reasons.stapler-timing-failure" +msgstr "" + +#. TRANSLATORS: Stapler Turned Off +msgid "printer-state-reasons.stapler-turned-off" +msgstr "" + +#. TRANSLATORS: Stapler Turned On +msgid "printer-state-reasons.stapler-turned-on" +msgstr "" + +#. TRANSLATORS: Stapler Under Temperature +msgid "printer-state-reasons.stapler-under-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Failure +msgid "printer-state-reasons.stapler-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Storage Error +msgid "printer-state-reasons.stapler-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stapler Warming Up +msgid "printer-state-reasons.stapler-warming-up" +msgstr "" + +#. TRANSLATORS: Stitcher Added +msgid "printer-state-reasons.stitcher-added" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Empty +msgid "printer-state-reasons.stitcher-almost-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Full +msgid "printer-state-reasons.stitcher-almost-full" +msgstr "" + +#. TRANSLATORS: Stitcher At Limit +msgid "printer-state-reasons.stitcher-at-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Closed +msgid "printer-state-reasons.stitcher-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Configuration Change +msgid "printer-state-reasons.stitcher-configuration-change" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Closed +msgid "printer-state-reasons.stitcher-cover-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Open +msgid "printer-state-reasons.stitcher-cover-open" +msgstr "" + +#. TRANSLATORS: Stitcher Empty +msgid "printer-state-reasons.stitcher-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Full +msgid "printer-state-reasons.stitcher-full" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Closed +msgid "printer-state-reasons.stitcher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Open +msgid "printer-state-reasons.stitcher-interlock-open" +msgstr "" + +#. TRANSLATORS: Stitcher Jam +msgid "printer-state-reasons.stitcher-jam" +msgstr "" + +#. TRANSLATORS: Stitcher Life Almost Over +msgid "printer-state-reasons.stitcher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stitcher Life Over +msgid "printer-state-reasons.stitcher-life-over" +msgstr "" + +#. TRANSLATORS: Stitcher Memory Exhausted +msgid "printer-state-reasons.stitcher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stitcher Missing +msgid "printer-state-reasons.stitcher-missing" +msgstr "" + +#. TRANSLATORS: Stitcher Motor Failure +msgid "printer-state-reasons.stitcher-motor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Near Limit +msgid "printer-state-reasons.stitcher-near-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Offline +msgid "printer-state-reasons.stitcher-offline" +msgstr "" + +#. TRANSLATORS: Stitcher Opened +msgid "printer-state-reasons.stitcher-opened" +msgstr "" + +#. TRANSLATORS: Stitcher Over Temperature +msgid "printer-state-reasons.stitcher-over-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Power Saver +msgid "printer-state-reasons.stitcher-power-saver" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Failure +msgid "printer-state-reasons.stitcher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Storage +msgid "printer-state-reasons.stitcher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stitcher Removed +msgid "printer-state-reasons.stitcher-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Added +msgid "printer-state-reasons.stitcher-resource-added" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Removed +msgid "printer-state-reasons.stitcher-resource-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Thermistor Failure +msgid "printer-state-reasons.stitcher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Timing Failure +msgid "printer-state-reasons.stitcher-timing-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Turned Off +msgid "printer-state-reasons.stitcher-turned-off" +msgstr "" + +#. TRANSLATORS: Stitcher Turned On +msgid "printer-state-reasons.stitcher-turned-on" +msgstr "" + +#. TRANSLATORS: Stitcher Under Temperature +msgid "printer-state-reasons.stitcher-under-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Failure +msgid "printer-state-reasons.stitcher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Storage Error +msgid "printer-state-reasons.stitcher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stitcher Warming Up +msgid "printer-state-reasons.stitcher-warming-up" +msgstr "" + +#. TRANSLATORS: Partially stopped +msgid "printer-state-reasons.stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "printer-state-reasons.stopping" +msgstr "" + +#. TRANSLATORS: Subunit Added +msgid "printer-state-reasons.subunit-added" +msgstr "" + +#. TRANSLATORS: Subunit Almost Empty +msgid "printer-state-reasons.subunit-almost-empty" +msgstr "" + +#. TRANSLATORS: Subunit Almost Full +msgid "printer-state-reasons.subunit-almost-full" +msgstr "" + +#. TRANSLATORS: Subunit At Limit +msgid "printer-state-reasons.subunit-at-limit" +msgstr "" + +#. TRANSLATORS: Subunit Closed +msgid "printer-state-reasons.subunit-closed" +msgstr "" + +#. TRANSLATORS: Subunit Cooling Down +msgid "printer-state-reasons.subunit-cooling-down" +msgstr "" + +#. TRANSLATORS: Subunit Empty +msgid "printer-state-reasons.subunit-empty" +msgstr "" + +#. TRANSLATORS: Subunit Full +msgid "printer-state-reasons.subunit-full" +msgstr "" + +#. TRANSLATORS: Subunit Life Almost Over +msgid "printer-state-reasons.subunit-life-almost-over" +msgstr "" + +#. TRANSLATORS: Subunit Life Over +msgid "printer-state-reasons.subunit-life-over" +msgstr "" + +#. TRANSLATORS: Subunit Memory Exhausted +msgid "printer-state-reasons.subunit-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Subunit Missing +msgid "printer-state-reasons.subunit-missing" +msgstr "" + +#. TRANSLATORS: Subunit Motor Failure +msgid "printer-state-reasons.subunit-motor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Near Limit +msgid "printer-state-reasons.subunit-near-limit" +msgstr "" + +#. TRANSLATORS: Subunit Offline +msgid "printer-state-reasons.subunit-offline" +msgstr "" + +#. TRANSLATORS: Subunit Opened +msgid "printer-state-reasons.subunit-opened" +msgstr "" + +#. TRANSLATORS: Subunit Over Temperature +msgid "printer-state-reasons.subunit-over-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Power Saver +msgid "printer-state-reasons.subunit-power-saver" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Failure +msgid "printer-state-reasons.subunit-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Storage +msgid "printer-state-reasons.subunit-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Removed +msgid "printer-state-reasons.subunit-removed" +msgstr "" + +#. TRANSLATORS: Subunit Resource Added +msgid "printer-state-reasons.subunit-resource-added" +msgstr "" + +#. TRANSLATORS: Subunit Resource Removed +msgid "printer-state-reasons.subunit-resource-removed" +msgstr "" + +#. TRANSLATORS: Subunit Thermistor Failure +msgid "printer-state-reasons.subunit-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Timing Failure +msgid "printer-state-reasons.subunit-timing-Failure" +msgstr "" + +#. TRANSLATORS: Subunit Turned Off +msgid "printer-state-reasons.subunit-turned-off" +msgstr "" + +#. TRANSLATORS: Subunit Turned On +msgid "printer-state-reasons.subunit-turned-on" +msgstr "" + +#. TRANSLATORS: Subunit Under Temperature +msgid "printer-state-reasons.subunit-under-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Failure +msgid "printer-state-reasons.subunit-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Storage +msgid "printer-state-reasons.subunit-unrecoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Warming Up +msgid "printer-state-reasons.subunit-warming-up" +msgstr "" + +#. TRANSLATORS: Printer stopped responding +msgid "printer-state-reasons.timed-out" +msgstr "" + +#. TRANSLATORS: Out of toner +msgid "printer-state-reasons.toner-empty" +msgstr "" + +#. TRANSLATORS: Toner low +msgid "printer-state-reasons.toner-low" +msgstr "" + +#. TRANSLATORS: Trimmer Added +msgid "printer-state-reasons.trimmer-added" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Empty +msgid "printer-state-reasons.trimmer-almost-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Full +msgid "printer-state-reasons.trimmer-almost-full" +msgstr "" + +#. TRANSLATORS: Trimmer At Limit +msgid "printer-state-reasons.trimmer-at-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Closed +msgid "printer-state-reasons.trimmer-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Configuration Change +msgid "printer-state-reasons.trimmer-configuration-change" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Closed +msgid "printer-state-reasons.trimmer-cover-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Open +msgid "printer-state-reasons.trimmer-cover-open" +msgstr "" + +#. TRANSLATORS: Trimmer Empty +msgid "printer-state-reasons.trimmer-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Full +msgid "printer-state-reasons.trimmer-full" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Closed +msgid "printer-state-reasons.trimmer-interlock-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Open +msgid "printer-state-reasons.trimmer-interlock-open" +msgstr "" + +#. TRANSLATORS: Trimmer Jam +msgid "printer-state-reasons.trimmer-jam" +msgstr "" + +#. TRANSLATORS: Trimmer Life Almost Over +msgid "printer-state-reasons.trimmer-life-almost-over" +msgstr "" + +#. TRANSLATORS: Trimmer Life Over +msgid "printer-state-reasons.trimmer-life-over" +msgstr "" + +#. TRANSLATORS: Trimmer Memory Exhausted +msgid "printer-state-reasons.trimmer-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Trimmer Missing +msgid "printer-state-reasons.trimmer-missing" +msgstr "" + +#. TRANSLATORS: Trimmer Motor Failure +msgid "printer-state-reasons.trimmer-motor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Near Limit +msgid "printer-state-reasons.trimmer-near-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Offline +msgid "printer-state-reasons.trimmer-offline" +msgstr "" + +#. TRANSLATORS: Trimmer Opened +msgid "printer-state-reasons.trimmer-opened" +msgstr "" + +#. TRANSLATORS: Trimmer Over Temperature +msgid "printer-state-reasons.trimmer-over-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Power Saver +msgid "printer-state-reasons.trimmer-power-saver" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Failure +msgid "printer-state-reasons.trimmer-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Storage +msgid "printer-state-reasons.trimmer-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Trimmer Removed +msgid "printer-state-reasons.trimmer-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Added +msgid "printer-state-reasons.trimmer-resource-added" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Removed +msgid "printer-state-reasons.trimmer-resource-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Thermistor Failure +msgid "printer-state-reasons.trimmer-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Timing Failure +msgid "printer-state-reasons.trimmer-timing-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Turned Off +msgid "printer-state-reasons.trimmer-turned-off" +msgstr "" + +#. TRANSLATORS: Trimmer Turned On +msgid "printer-state-reasons.trimmer-turned-on" +msgstr "" + +#. TRANSLATORS: Trimmer Under Temperature +msgid "printer-state-reasons.trimmer-under-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Failure +msgid "printer-state-reasons.trimmer-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Storage Error +msgid "printer-state-reasons.trimmer-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Trimmer Warming Up +msgid "printer-state-reasons.trimmer-warming-up" +msgstr "" + +#. TRANSLATORS: Unknown +msgid "printer-state-reasons.unknown" +msgstr "" + +#. TRANSLATORS: Wrapper Added +msgid "printer-state-reasons.wrapper-added" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Empty +msgid "printer-state-reasons.wrapper-almost-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Full +msgid "printer-state-reasons.wrapper-almost-full" +msgstr "" + +#. TRANSLATORS: Wrapper At Limit +msgid "printer-state-reasons.wrapper-at-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Closed +msgid "printer-state-reasons.wrapper-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Configuration Change +msgid "printer-state-reasons.wrapper-configuration-change" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Closed +msgid "printer-state-reasons.wrapper-cover-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Open +msgid "printer-state-reasons.wrapper-cover-open" +msgstr "" + +#. TRANSLATORS: Wrapper Empty +msgid "printer-state-reasons.wrapper-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Full +msgid "printer-state-reasons.wrapper-full" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Closed +msgid "printer-state-reasons.wrapper-interlock-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Open +msgid "printer-state-reasons.wrapper-interlock-open" +msgstr "" + +#. TRANSLATORS: Wrapper Jam +msgid "printer-state-reasons.wrapper-jam" +msgstr "" + +#. TRANSLATORS: Wrapper Life Almost Over +msgid "printer-state-reasons.wrapper-life-almost-over" +msgstr "" + +#. TRANSLATORS: Wrapper Life Over +msgid "printer-state-reasons.wrapper-life-over" +msgstr "" + +#. TRANSLATORS: Wrapper Memory Exhausted +msgid "printer-state-reasons.wrapper-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Wrapper Missing +msgid "printer-state-reasons.wrapper-missing" +msgstr "" + +#. TRANSLATORS: Wrapper Motor Failure +msgid "printer-state-reasons.wrapper-motor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Near Limit +msgid "printer-state-reasons.wrapper-near-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Offline +msgid "printer-state-reasons.wrapper-offline" +msgstr "" + +#. TRANSLATORS: Wrapper Opened +msgid "printer-state-reasons.wrapper-opened" +msgstr "" + +#. TRANSLATORS: Wrapper Over Temperature +msgid "printer-state-reasons.wrapper-over-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Power Saver +msgid "printer-state-reasons.wrapper-power-saver" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Failure +msgid "printer-state-reasons.wrapper-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Storage +msgid "printer-state-reasons.wrapper-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Wrapper Removed +msgid "printer-state-reasons.wrapper-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Added +msgid "printer-state-reasons.wrapper-resource-added" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Removed +msgid "printer-state-reasons.wrapper-resource-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Thermistor Failure +msgid "printer-state-reasons.wrapper-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Timing Failure +msgid "printer-state-reasons.wrapper-timing-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Turned Off +msgid "printer-state-reasons.wrapper-turned-off" +msgstr "" + +#. TRANSLATORS: Wrapper Turned On +msgid "printer-state-reasons.wrapper-turned-on" +msgstr "" + +#. TRANSLATORS: Wrapper Under Temperature +msgid "printer-state-reasons.wrapper-under-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Failure +msgid "printer-state-reasons.wrapper-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Storage Error +msgid "printer-state-reasons.wrapper-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Wrapper Warming Up +msgid "printer-state-reasons.wrapper-warming-up" +msgstr "" + +#. TRANSLATORS: Idle +msgid "printer-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "printer-state.4" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "printer-state.5" +msgstr "" + +#. TRANSLATORS: Printer Uptime +msgid "printer-up-time" +msgstr "" + +msgid "processing" +msgstr "processando" + +#. TRANSLATORS: Proof Print +msgid "proof-print" +msgstr "" + +#. TRANSLATORS: Proof Print Copies +msgid "proof-print-copies" +msgstr "" + +#. TRANSLATORS: Punching +msgid "punching" +msgstr "" + +#. TRANSLATORS: Punching Locations +msgid "punching-locations" +msgstr "" + +#. TRANSLATORS: Punching Offset +msgid "punching-offset" +msgstr "" + +#. TRANSLATORS: Punch Edge +msgid "punching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "punching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "punching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "punching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "punching-reference-edge.top" +msgstr "" + +#, c-format +msgid "request id is %s-%d (%d file(s))" +msgstr "id de requisição é %s-%d (%d arquivo(s))" + +msgid "request-id uses indefinite length" +msgstr "request-id usa comprimento indefinido" + +#. TRANSLATORS: Requested Attributes +msgid "requested-attributes" +msgstr "" + +#. TRANSLATORS: Retry Interval +msgid "retry-interval" +msgstr "" + +#. TRANSLATORS: Retry Timeout +msgid "retry-time-out" +msgstr "" + +#. TRANSLATORS: Save Disposition +msgid "save-disposition" +msgstr "" + +#. TRANSLATORS: None +msgid "save-disposition.none" +msgstr "" + +#. TRANSLATORS: Print and Save +msgid "save-disposition.print-save" +msgstr "" + +#. TRANSLATORS: Save Only +msgid "save-disposition.save-only" +msgstr "" + +#. TRANSLATORS: Save Document Format +msgid "save-document-format" +msgstr "" + +#. TRANSLATORS: Save Info +msgid "save-info" +msgstr "" + +#. TRANSLATORS: Save Location +msgid "save-location" +msgstr "" + +#. TRANSLATORS: Save Name +msgid "save-name" +msgstr "" + +msgid "scheduler is not running" +msgstr "Agendador não está em execução" + +msgid "scheduler is running" +msgstr "Agendador está em execução" + +#. TRANSLATORS: Separator Sheets +msgid "separator-sheets" +msgstr "" + +#. TRANSLATORS: Type of Separator Sheets +msgid "separator-sheets-type" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "separator-sheets-type.both-sheets" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "separator-sheets-type.end-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "separator-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Slip Sheets +msgid "separator-sheets-type.slip-sheets" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "separator-sheets-type.start-sheet" +msgstr "" + +#. TRANSLATORS: 2-Sided Printing +msgid "sides" +msgstr "" + +#. TRANSLATORS: Off +msgid "sides.one-sided" +msgstr "" + +#. TRANSLATORS: On (Portrait) +msgid "sides.two-sided-long-edge" +msgstr "" + +#. TRANSLATORS: On (Landscape) +msgid "sides.two-sided-short-edge" +msgstr "" + +#, c-format +msgid "stat of %s failed: %s" +msgstr "falhou o estado de %s: %s" + +msgid "status\t\tShow status of daemon and queue." +msgstr "status\t\tMostra estado do daemon e da fila." + +#. TRANSLATORS: Status Message +msgid "status-message" +msgstr "" + +#. TRANSLATORS: Staple +msgid "stitching" +msgstr "" + +#. TRANSLATORS: Stitching Angle +msgid "stitching-angle" +msgstr "" + +#. TRANSLATORS: Stitching Locations +msgid "stitching-locations" +msgstr "" + +#. TRANSLATORS: Staple Method +msgid "stitching-method" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "stitching-method.auto" +msgstr "" + +#. TRANSLATORS: Crimp +msgid "stitching-method.crimp" +msgstr "" + +#. TRANSLATORS: Wire +msgid "stitching-method.wire" +msgstr "" + +#. TRANSLATORS: Stitching Offset +msgid "stitching-offset" +msgstr "" + +#. TRANSLATORS: Staple Edge +msgid "stitching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "stitching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "stitching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "stitching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "stitching-reference-edge.top" +msgstr "" + +msgid "stopped" +msgstr "parou" + +#. TRANSLATORS: Subject +msgid "subject" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Attributes +msgid "subscription-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Subscription Description +msgid "subscription-privacy-attributes.subscription-description" +msgstr "" + +#. TRANSLATORS: Subscription Template +msgid "subscription-privacy-attributes.subscription-template" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Scope +msgid "subscription-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "subscription-privacy-scope.owner" +msgstr "" + +#, c-format +msgid "system default destination: %s" +msgstr "destino padrão do sistema: %s" + +#, c-format +msgid "system default destination: %s/%s" +msgstr "destino padrão do sistema: %s/%s" + +#. TRANSLATORS: T33 Subaddress +msgid "t33-subaddress" +msgstr "T33 Subaddress" + +#. TRANSLATORS: To Name +msgid "to-name" +msgstr "" + +#. TRANSLATORS: Transmission Status +msgid "transmission-status" +msgstr "" + +#. TRANSLATORS: Pending +msgid "transmission-status.3" +msgstr "" + +#. TRANSLATORS: Pending Retry +msgid "transmission-status.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "transmission-status.5" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "transmission-status.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "transmission-status.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "transmission-status.9" +msgstr "" + +#. TRANSLATORS: Cut +msgid "trimming" +msgstr "" + +#. TRANSLATORS: Cut Position +msgid "trimming-offset" +msgstr "" + +#. TRANSLATORS: Cut Edge +msgid "trimming-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "trimming-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "trimming-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "trimming-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "trimming-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Type of Cut +msgid "trimming-type" +msgstr "" + +#. TRANSLATORS: Draw Line +msgid "trimming-type.draw-line" +msgstr "" + +#. TRANSLATORS: Full +msgid "trimming-type.full" +msgstr "" + +#. TRANSLATORS: Partial +msgid "trimming-type.partial" +msgstr "" + +#. TRANSLATORS: Perforate +msgid "trimming-type.perforate" +msgstr "" + +#. TRANSLATORS: Score +msgid "trimming-type.score" +msgstr "" + +#. TRANSLATORS: Tab +msgid "trimming-type.tab" +msgstr "" + +#. TRANSLATORS: Cut After +msgid "trimming-when" +msgstr "" + +#. TRANSLATORS: Every Document +msgid "trimming-when.after-documents" +msgstr "" + +#. TRANSLATORS: Job +msgid "trimming-when.after-job" +msgstr "" + +#. TRANSLATORS: Every Set +msgid "trimming-when.after-sets" +msgstr "" + +#. TRANSLATORS: Every Page +msgid "trimming-when.after-sheets" +msgstr "" + +msgid "unknown" +msgstr "desconhecido" + +msgid "untitled" +msgstr "sem título" + +msgid "variable-bindings uses indefinite length" +msgstr "variable-bindings usa comprimento indefinido" + +#. TRANSLATORS: X Accuracy +msgid "x-accuracy" +msgstr "" + +#. TRANSLATORS: X Dimension +msgid "x-dimension" +msgstr "" + +#. TRANSLATORS: X Offset +msgid "x-offset" +msgstr "" + +#. TRANSLATORS: X Origin +msgid "x-origin" +msgstr "" + +#. TRANSLATORS: Y Accuracy +msgid "y-accuracy" +msgstr "" + +#. TRANSLATORS: Y Dimension +msgid "y-dimension" +msgstr "" + +#. TRANSLATORS: Y Offset +msgid "y-offset" +msgstr "" + +#. TRANSLATORS: Y Origin +msgid "y-origin" +msgstr "" + +#. TRANSLATORS: Z Accuracy +msgid "z-accuracy" +msgstr "" + +#. TRANSLATORS: Z Dimension +msgid "z-dimension" +msgstr "" + +#. TRANSLATORS: Z Offset +msgid "z-offset" +msgstr "" + +msgid "{service_domain} Domain name" +msgstr "" + +msgid "{service_hostname} Fully-qualified domain name" +msgstr "" + +msgid "{service_name} Service instance name" +msgstr "" + +msgid "{service_port} Port number" +msgstr "" + +msgid "{service_regtype} DNS-SD registration type" +msgstr "" + +msgid "{service_scheme} URI scheme" +msgstr "" + +msgid "{service_uri} URI" +msgstr "" + +msgid "{txt_*} Value of TXT record key" +msgstr "" + +msgid "{} URI" +msgstr "" + +msgid "~/.cups/lpoptions file names default destination that does not exist." +msgstr "" + +#~ msgid "A Samba password is required to export printer drivers" +#~ msgstr "Uma senha do Samba é necessária para exportar drivers de impressora" + +#~ msgid "A Samba username is required to export printer drivers" +#~ msgstr "" +#~ "Um nome de usuário do Samba é necessário para exportar drivers de " +#~ "impressora" + +#~ msgid "Export Printers to Samba" +#~ msgstr "Exportar impressoras para o Samba" + +#~ msgid "cupsctl: Cannot set Listen or Port directly." +#~ msgstr "cupsctl: Não foi possível definir diretamente Porta ou Listen." + +#~ msgid "lpadmin: Unable to open PPD file \"%s\" - %s" +#~ msgstr "lpadmin: Não foi possível abrir o arquivo PPD \"%s\" - %s" diff --git a/locale/cups_ru.po b/locale/cups_ru.po new file mode 100644 index 0000000..dc078f6 --- /dev/null +++ b/locale/cups_ru.po @@ -0,0 +1,15108 @@ +msgid "" +msgstr "" +"Project-Id-Version: CUPS 2.0\n" +"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n" +"POT-Creation-Date: 2019-08-23 09:13-0400\n" +"PO-Revision-Date: 2015-01-28 12:00-0800\n" +"Last-Translator: Aleksandr Proklov\n" +"Language-Team: Russian - PuppyRus Linux Team\n" +"Language: Russian\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "\t\t(all)" +msgstr "\t\t(все)" + +msgid "\t\t(none)" +msgstr "\t\t(нет)" + +#, c-format +msgid "\t%d entries" +msgstr "\tзаписей: %d" + +#, c-format +msgid "\t%s" +msgstr "\t%s" + +msgid "\tAfter fault: continue" +msgstr "\tПосле ошибки: продолжить" + +#, c-format +msgid "\tAlerts: %s" +msgstr "\tПредупреждения: %s" + +msgid "\tBanner required" +msgstr "\tТребуется баннер" + +msgid "\tCharset sets:" +msgstr "\tНабор символов устанавливает:" + +msgid "\tConnection: direct" +msgstr "\tПодключение: прямое" + +msgid "\tConnection: remote" +msgstr "\tПодключение: удаленное" + +msgid "\tContent types: any" +msgstr "\tТип содержимого: любой" + +msgid "\tDefault page size:" +msgstr "\tРазмер страницы по умолчанию:" + +msgid "\tDefault pitch:" +msgstr "\tВысота по умолчанию:" + +msgid "\tDefault port settings:" +msgstr "\tНастройки порта по умолчанию:" + +#, c-format +msgid "\tDescription: %s" +msgstr "\tОписание: %s" + +msgid "\tForm mounted:" +msgstr "\tФорма подключения:" + +msgid "\tForms allowed:" +msgstr "\tРазрешенные формы:" + +#, c-format +msgid "\tInterface: %s.ppd" +msgstr "\tИнтерфейс: %s.ppd" + +#, c-format +msgid "\tInterface: %s/ppd/%s.ppd" +msgstr "\tИнтерфейс: %s/ppd/%s.ppd" + +#, c-format +msgid "\tLocation: %s" +msgstr "\tРасположение: %s" + +msgid "\tOn fault: no alert" +msgstr "\tПри ошибке: не выводить предупреждение" + +msgid "\tPrinter types: unknown" +msgstr "\tТип принтера: неизвестен" + +#, c-format +msgid "\tStatus: %s" +msgstr "\tСтатус: %s" + +msgid "\tUsers allowed:" +msgstr "\tРазрешенные пользователи:" + +msgid "\tUsers denied:" +msgstr "\tЗапрещенные пользователи:" + +msgid "\tdaemon present" +msgstr "\tдемон присутствует" + +msgid "\tno entries" +msgstr "\tнет записей" + +#, c-format +msgid "\tprinter is on device '%s' speed -1" +msgstr "\tпринтер на скорости -1 устройства «%s»" + +msgid "\tprinting is disabled" +msgstr "\tпечать отключена" + +msgid "\tprinting is enabled" +msgstr "\tпечать включена" + +#, c-format +msgid "\tqueued for %s" +msgstr "\tочередь для %s" + +msgid "\tqueuing is disabled" +msgstr "\tочередь отключена" + +msgid "\tqueuing is enabled" +msgstr "\tочередь включена" + +msgid "\treason unknown" +msgstr "\tпричина неизвестна" + +msgid "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" +msgstr "" +"\n" +" ПОДРОБНЫЕ РЕЗУЛЬТАТЫ ТЕСТА СООТВЕТСТВИЯ" + +msgid " REF: Page 15, section 3.1." +msgstr " REF: Стр. 15, раздел 3.1." + +msgid " REF: Page 15, section 3.2." +msgstr " REF: Стр. 15, раздел 3.2." + +msgid " REF: Page 19, section 3.3." +msgstr " REF: Стр. 19, раздел 3.3." + +msgid " REF: Page 20, section 3.4." +msgstr " REF: Стр. 20, раздел 3.4." + +msgid " REF: Page 27, section 3.5." +msgstr " REF: Стр. 27, раздел 3.5." + +msgid " REF: Page 42, section 5.2." +msgstr " REF: Стр. 42, раздел 5.2." + +msgid " REF: Pages 16-17, section 3.2." +msgstr " REF: Стр. 16-17, раздел 3.2." + +msgid " REF: Pages 42-45, section 5.2." +msgstr " REF: Стр. 42-45, раздел 5.2." + +msgid " REF: Pages 45-46, section 5.2." +msgstr " REF: Стр. 45-46, раздел 5.2." + +msgid " REF: Pages 48-49, section 5.2." +msgstr " REF: Стр. 48-49, раздел 5.2." + +msgid " REF: Pages 52-54, section 5.2." +msgstr " REF: Стр. 52-54, раздел 5.2." + +#, c-format +msgid " %-39.39s %.0f bytes" +msgstr " %-39.39s %.0f байт" + +#, c-format +msgid " PASS Default%s" +msgstr " PASS Default%s" + +msgid " PASS DefaultImageableArea" +msgstr " PASS DefaultImageableArea" + +msgid " PASS DefaultPaperDimension" +msgstr " PASS DefaultPaperDimension" + +msgid " PASS FileVersion" +msgstr " PASS FileVersion" + +msgid " PASS FormatVersion" +msgstr " PASS FormatVersion" + +msgid " PASS LanguageEncoding" +msgstr " PASS LanguageEncoding" + +msgid " PASS LanguageVersion" +msgstr " PASS LanguageVersion" + +msgid " PASS Manufacturer" +msgstr " PASS Manufacturer" + +msgid " PASS ModelName" +msgstr " PASS ModelName" + +msgid " PASS NickName" +msgstr " PASS NickName" + +msgid " PASS PCFileName" +msgstr " PASS PCFileName" + +msgid " PASS PSVersion" +msgstr " PASS PSVersion" + +msgid " PASS PageRegion" +msgstr " PASS PageRegion" + +msgid " PASS PageSize" +msgstr " PASS PageSize" + +msgid " PASS Product" +msgstr " PASS Product" + +msgid " PASS ShortNickName" +msgstr " PASS ShortNickName" + +#, c-format +msgid " WARN %s has no corresponding options." +msgstr "\tWARN\t%s не содержит соответствующих параметров." + +#, c-format +msgid "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." +msgstr "" +"\tWARN\t%s использует общий префикс совместно с %s\n" +" REF: Стр. 15, раздел 3.2." + +#, c-format +msgid "" +" WARN Duplex option keyword %s may not work as expected and should " +"be named Duplex.\n" +" REF: Page 122, section 5.17" +msgstr "" +"\tWARN\tКлючевое слово параметра дуплекса %s может привести к некорректным " +"результатам. Используйте имя 'Duplex'\n" +" REF: Стр. 122, раздел 5.17" + +msgid " WARN File contains a mix of CR, LF, and CR LF line endings." +msgstr "\tWARN\tФайл содержит комбинацию окончаний строки CR, LF, CR LF" + +msgid "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +"\tWARN\tLanguageEncoding требуется спецификацией PPD 4.3.\n" +" REF: Стр. 56-57, раздел 5.3." + +#, c-format +msgid " WARN Line %d only contains whitespace." +msgstr "\tWARN\tСтрока %d содержит только пробелы." + +msgid "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +"\tWARN\tManufacturer требуется спецификацией PPD 4.3.\n" +" REF: Стр. 58-59, раздел 5.3." + +msgid "" +" WARN Non-Windows PPD files should use lines ending with only LF, " +"not CR LF." +msgstr "" +"\tWARN\tPPD-файлы не из Windows должны использовать строки только с " +"окончанием LF, а не с CR LF" + +#, c-format +msgid "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." +msgstr "" +"\tWARN\tУстаревшая версия PPD %.1f.\n" +" REF: Стр. 42, раздел 5.2." + +msgid "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +"\tWARN\tPCFileName длиннее чем 8.3 нарушает спецификацию PPD.\n" +" REF: Стр. 61-62, раздел 5.3." + +msgid "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +"\tWARN\tPCFilename должен содержать уникальное название\n" +" REF: Стр. 61-62, раздел 5.3." + +msgid "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +"\tWARN\tProtocols содержит PJL, но атрибуты JCL не настроены.\n" +" REF: Стр. 78-79, раздел 5.7." + +msgid "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +"\tWARN\tProtocols содержит PJL и BCP; ожидается TBCP.\n" +" REF: Стр. 78-79, раздел 5.7." + +msgid "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +"\tWARN\tShortNickName требуется спецификацией PPD 4.3.\n" +" REF: Стр. 64-65, раздел 5.3." + +#, c-format +msgid "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." +msgstr "" +"\t%s \"%s %s\" конфликтует с \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." + +#, c-format +msgid " %s %s %s does not exist." +msgstr "\t%s %s %s не существует." + +#, c-format +msgid " %s %s file \"%s\" has the wrong capitalization." +msgstr "\t%s %s файл \"%s\" имеет неверный регистр." + +#, c-format +msgid "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" +msgstr "" +"\t%s Неверный %s выбор %s.\n" +" REF: Стр. 122, раздел 5.17" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." +msgstr "\t%s Неверный перевод UTF-8 \"%s\" для параметра %s, выбора %s" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s." +msgstr "\t%s Неверный перевод UTF-8 \"%s\" для параметра %s" + +#, c-format +msgid " %s Bad cupsFilter value \"%s\"." +msgstr "\t%s Неверное значение cupsFilter \"%s\"." + +#, c-format +msgid " %s Bad cupsFilter2 value \"%s\"." +msgstr "\t%s Неверное значение cupsFilter2 \"%s\"." + +#, c-format +msgid " %s Bad cupsICCProfile %s." +msgstr "\t%s Неверный cupsICCProfile %s." + +#, c-format +msgid " %s Bad cupsPreFilter value \"%s\"." +msgstr "\t%s Неверное значение cupsPreFilter \"%s\"." + +#, c-format +msgid " %s Bad cupsUIConstraints %s: \"%s\"" +msgstr "\t%s Неверное значение cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s Bad language \"%s\"." +msgstr "\t%s Неверный язык \"%s\"." + +#, c-format +msgid " %s Bad permissions on %s file \"%s\"." +msgstr "\t%s Неверные права %s для файла \"%s\"." + +#, c-format +msgid " %s Bad spelling of %s - should be %s." +msgstr " %s Ошибки в %s - должно быть %s." + +#, c-format +msgid " %s Cannot provide both APScanAppPath and APScanAppBundleID." +msgstr "\t%s Невозможно предоставить APScanAppPath и APScanAppBundleID вместе." + +#, c-format +msgid " %s Default choices conflicting." +msgstr "\t%s\tЗначения, используемые по умолчанию, конфликтуют." + +#, c-format +msgid " %s Empty cupsUIConstraints %s" +msgstr " %s Пустой cupsUIConstraints %s" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s, choice %s." +msgstr "\t%s Перевод \"%s\" отсутствует для параметра %s, выбора %s" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s." +msgstr "" + +#, c-format +msgid " %s Missing %s file \"%s\"." +msgstr "\t%s отсутствует %s файл \"%s\"." + +#, c-format +msgid "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." +msgstr "" +"\t%s Обязательный параметр PageRegion отсутствует.\n" +"\t\t REF: Стр. 100, раздел 5.14." + +#, c-format +msgid "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." +msgstr "" +"\t%s Обязательный параметр PageSize отсутствует.\n" +" REF: Стр. 99, раздел 5.14." + +#, c-format +msgid " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." +msgstr " %s Выбор *%s %s отсутствует в UIConstraints \"*%s %s *%s %s\"." + +#, c-format +msgid " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" +msgstr " %s Выбор *%s %s отсутствует в cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s Missing cupsUIResolver %s" +msgstr "\t%s cupsUIResolver отсутствует %s" + +#, c-format +msgid " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "\t%s Отсутствует параметр %s у UIConstraints \"*%s %s *%s %s\"." + +#, c-format +msgid " %s Missing option %s in cupsUIConstraints %s: \"%s\"" +msgstr "\t%s Отсутствует параметр %s у cupsUIConstraints %s: \"%s\"" + +#, c-format +msgid " %s No base translation \"%s\" is included in file." +msgstr "\t%s Основной перевод \"%s\" не включен в файл." + +#, c-format +msgid "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" +msgstr "" +"\t ТРЕБУЕТСЯ %s: %s не определяет выбор \"Нет\".\n" +" REF: Стр. 122, раздел 5.17" + +#, c-format +msgid " %s Size \"%s\" defined for %s but not for %s." +msgstr "\t%s Размер \"%s\" определен для %s, но не определен для %s." + +#, c-format +msgid " %s Size \"%s\" has unexpected dimensions (%gx%g)." +msgstr "\t%s Размер \"%s\" имеет неверное значение (%gx%g)." + +#, c-format +msgid " %s Size \"%s\" should be \"%s\"." +msgstr "\t%s Размер \"%s\" должен быть \"%s\"." + +#, c-format +msgid " %s Size \"%s\" should be the Adobe standard name \"%s\"." +msgstr "\t%s Размер \"%s\" должен быть в формате Adobe standard name \"%s\"." + +#, c-format +msgid " %s cupsICCProfile %s hash value collides with %s." +msgstr "\tХеш-значение %s cupsICCProfile %s конфликтует с %s." + +#, c-format +msgid " %s cupsUIResolver %s causes a loop." +msgstr "\t%s cupsUIResolver %s создает цикл." + +#, c-format +msgid "" +" %s cupsUIResolver %s does not list at least two different options." +msgstr "\t%s В cupsUIResolver %s не перечислено как минимум два параметра." + +#, c-format +msgid "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" +msgstr "" +"\t**FAIL** %s должно соответствовать 1284DeviceID\n" +" REF: Стр. 72, раздел 5.5" + +#, c-format +msgid "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." +msgstr "" +"\t**FAIL** Неверный Default%s %s\n" +" REF: Стр. 40, раздел 4.5." + +#, c-format +msgid "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." +msgstr "" +"\t**FAIL** Неверный DefaultImageableArea %s\n" +" REF: Стр. 102, раздел 5.15." + +#, c-format +msgid "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." +msgstr "" +"\t**FAIL** Неверный DefaultPaperDimension %s\n" +" REF: Стр. 103, раздел 5.15." + +#, c-format +msgid "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +"\t**FAIL** Неверный FileVersion \"%s\"\n" +" REF: Стр. 56, раздел 5.3." + +#, c-format +msgid "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +"\t**FAIL** Неверный FormatVersion \"%s\"\n" +" REF: Стр. 56, раздел 5.3." + +msgid "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." +msgstr "" +"\t**FAIL** Неверный JobPatchFile атрибут в файле\n" +" REF: Стр. 24, раздел 3.4." + +#, c-format +msgid " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." +msgstr "\t**FAIL** Неверный LanguageEncoding %s - должен быть ISOLatin1." + +#, c-format +msgid " **FAIL** Bad LanguageVersion %s - must be English." +msgstr "\t**FAIL** Неверный LanguageVersion %s - должен быть английский." + +#, c-format +msgid "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." +msgstr "" +"\t**FAIL** Неверный Manufacturer (должен быть \"%s\")\n" +" REF: Стр. 211, таблица D.1." + +#, c-format +msgid "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +"\t**FAIL** Неверное ModelName – \"%c\" не разрешено в строке.\n" +" REF: Стр. 59-60, раздел 5.3." + +msgid "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +"\t**FAIL** Неверная PSVersion – не «(string) int».\n" +" REF: Стр. 62-64, раздел 5.3." + +msgid "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." +msgstr "" +"\t**FAIL** Неверный Product – не \"(string)\".\n" +" REF: Стр. 62, раздел 5.3." + +msgid "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +"\t**FAIL** Неверный ShortNickName – длиннее чем 31 симв.\n" +" REF: Стр. 64-65, раздел 5.3." + +#, c-format +msgid "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" +msgstr "" +"\t**FAIL** Неверный параметр %s выбор %s\n" +" REF: Стр. 84, раздел 5.9" + +#, c-format +msgid " **FAIL** Default option code cannot be interpreted: %s" +msgstr "\t**FAIL** Не удается опознать код параметра по умолчанию: %s" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s choice %s contains " +"8-bit characters." +msgstr "" +"\t**FAIL** Стандартный перевод для параметра %s выбора %s содержит 8-битовые " +"символы." + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s contains 8-bit " +"characters." +msgstr "" +"\t**FAIL** Стандартный перевод для параметра %s содержит 8-битовые символы." + +#, c-format +msgid " **FAIL** Group names %s and %s differ only by case." +msgstr "\t**FAIL** Имена групп %s и %s отличаются только регистром символов." + +#, c-format +msgid " **FAIL** Multiple occurrences of option %s choice name %s." +msgstr "\t**FAIL** Для выбора параметра %s имя %s встречается несколько раз." + +#, c-format +msgid " **FAIL** Option %s choice names %s and %s differ only by case." +msgstr "" +"\t**FAIL** Параметр %s с именами %s и %s отличается только регистром " +"символов." + +#, c-format +msgid " **FAIL** Option names %s and %s differ only by case." +msgstr "" +"\t**FAIL** Названия параметров %s и %s отличаются только регистром символов." + +#, c-format +msgid "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ Default%s\n" +" REF: Стр. 40, раздел 4.5." + +msgid "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ DefaultImageableArea\n" +" REF: Стр. 102, раздел 5.15." + +msgid "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ DefaultPaperDimension\n" +" REF: Стр. 103, раздел 5.15." + +msgid "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ FileVersion\n" +" REF: Стр. 56, раздел 5.3." + +msgid "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ FormatVersion\n" +" REF: Стр. 56, раздел 5.3." + +#, c-format +msgid "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ ImageableArea для PageSize %s\n" +" REF: Стр. 41, раздел 5.\n" +" REF: Стр. 102, раздел 5.15." + +msgid "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ LanguageEncoding\n" +" REF: Стр. 56-57, раздел 5.3." + +msgid "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ LanguageVersion\n" +" REF: Стр. 57-58, раздел 5.3." + +msgid "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ Manufacturer\n" +" REF: Стр. 58-59, раздел 5.3." + +msgid "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ ModelName\n" +" REF: Стр. 59-60, раздел 5.3." + +msgid "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ NickName\n" +" REF: Стр. 60, раздел 5.3." + +msgid "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ PCFileName\n" +" REF: Стр. 61-62, раздел 5.3." + +msgid "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ PSVersion\n" +" REF: Стр. 62-64, раздел 5.3." + +msgid "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ PageRegion\n" +" REF: Стр. 100, раздел 5.14." + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ PageSize\n" +" REF: Стр. 41, раздел 5.\n" +" REF: Стр. 99, раздел 5.14." + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ PageSize\n" +" REF: Стр. 99-100, раздел 5.14." + +#, c-format +msgid "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ PaperDimension для PageSize %s\n" +" REF: Стр. 41, раздел 5.\n" +" REF: Стр. 103, раздел 5.15." + +msgid "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ Product\n" +" REF: Стр. 62, раздел 5.3." + +msgid "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." +msgstr "" +"\t**FAIL** ТРЕБУЕТСЯ ShortNickName\n" +" REF: Стр. 64-65, раздел 5.3." + +#, c-format +msgid " **FAIL** Unable to open PPD file - %s on line %d." +msgstr "\t**FAIL** Не удается открыть PPD-файл – %s в строке %d." + +#, c-format +msgid " %d ERRORS FOUND" +msgstr " ОБНАРУЖЕНО ОШИБОК: %d" + +msgid " NO ERRORS FOUND" +msgstr " ОШИБОК НЕ ОБНАРУЖЕНО" + +msgid " --cr End lines with CR (Mac OS 9)." +msgstr " --cr Строки заканчиваются на CR (Mac OS 9)." + +msgid " --crlf End lines with CR + LF (Windows)." +msgstr " --crlf Строки заканчиваются на CR + LF (Windows)." + +msgid " --lf End lines with LF (UNIX/Linux/macOS)." +msgstr "" + +msgid " --list-filters List filters that will be used." +msgstr "" +" --list-filters Список фильтров которые должны использоваться." + +msgid " -D Remove the input file when finished." +msgstr " -D Удалить входной файл после завершения." + +msgid " -D name=value Set named variable to value." +msgstr " -D name=value Определение переменной." + +msgid " -I include-dir Add include directory to search path." +msgstr " -I include-dir Добавить каталог include в путь поиска." + +msgid " -P filename.ppd Set PPD file." +msgstr " -P filename.ppd Задать PPD-файл." + +msgid " -U username Specify username." +msgstr " -U username Указание имени пользователя." + +msgid " -c catalog.po Load the specified message catalog." +msgstr " -c catalog.po Загружается указанный каталог сообщений." + +msgid " -c cups-files.conf Set cups-files.conf file to use." +msgstr " -c cups-files.conf Использовать заданный cups-files.conf" + +msgid " -d output-dir Specify the output directory." +msgstr " -d output-dir Задать выходной каталог." + +msgid " -d printer Use the named printer." +msgstr " -d printer Использовать заданный принтер." + +msgid " -e Use every filter from the PPD file." +msgstr " -e Использовать каждый фильтр из PPD-файла." + +msgid " -i mime/type Set input MIME type (otherwise auto-typed)." +msgstr "" +" -i mime/type Указать MIME-тип данных на входе (иначе " +"автоопред.)." + +msgid "" +" -j job-id[,N] Filter file N from the specified job (default is " +"file 1)." +msgstr "" +" -j job-id[,N] Из указанного задания выбирается файл N (по " +"умолчанию файл 1)." + +msgid " -l lang[,lang,...] Specify the output language(s) (locale)." +msgstr " -l lang[,lang,...] Задать выходной язык(и) (locale)." + +msgid " -m Use the ModelName value as the filename." +msgstr "" +" -m В качестве имени файла используется ModelName." + +msgid "" +" -m mime/type Set output MIME type (otherwise application/pdf)." +msgstr "" +" -m mime/type Указать MIME-тип данных на выходе (иначе " +"application/pdf)." + +msgid " -n copies Set number of copies." +msgstr " -n copies Указать количество копий." + +msgid "" +" -o filename.drv Set driver information file (otherwise ppdi.drv)." +msgstr "" +" -o filename.drv Указать файл с информацией о драйвере (иначе ppdi." +"drv)." + +msgid " -o filename.ppd[.gz] Set output file (otherwise stdout)." +msgstr " -o filename.ppd[.gz] Задать выходной файл (иначе stdout)." + +msgid " -o name=value Set option(s)." +msgstr " -o name=value Задать параметры." + +msgid " -p filename.ppd Set PPD file." +msgstr " -p filename.ppd Задать PPD-файл." + +msgid " -t Test PPDs instead of generating them." +msgstr " -t Тест PPDs вместо его создания." + +msgid " -t title Set title." +msgstr " -t title Задать заголовок." + +msgid " -u Remove the PPD file when finished." +msgstr " -u Удалить PPD-файл после завершения." + +msgid " -v Be verbose." +msgstr " -v Подробный вывод лога." + +msgid " -z Compress PPD files using GNU zip." +msgstr " -z Сжимать PPD-файл используя GNU zip." + +msgid " FAIL" +msgstr " FAIL" + +msgid " PASS" +msgstr " PASS" + +msgid "! expression Unary NOT of expression" +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section " +"5.1.4)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section " +"5.1.10)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section " +"8.1)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section " +"5.1.9)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 " +"section 5.1.14)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section " +"5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be " +"positive (RFC 8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC " +"8011 section 5.1.16)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section " +"8.3)." +msgstr "" + +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." +msgstr "" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." +msgstr "" + +msgid "\"requesting-user-name\" attribute in wrong group." +msgstr "" + +msgid "\"requesting-user-name\" attribute with wrong syntax." +msgstr "" + +#, c-format +msgid "%-7s %-7.7s %-7d %-31.31s %.0f bytes" +msgstr "%-7s %-7.7s %-7d %-31.31s %.0f байт" + +#, c-format +msgid "%d x %d mm" +msgstr "%d x %d мм" + +#, c-format +msgid "%g x %g \"" +msgstr "" + +#, c-format +msgid "%s (%s)" +msgstr "%s (%s)" + +#, c-format +msgid "%s (%s, %s)" +msgstr "%s (%s, %s)" + +#, c-format +msgid "%s (Borderless)" +msgstr "%s (без полей)" + +#, c-format +msgid "%s (Borderless, %s)" +msgstr "%s (без полей, %s)" + +#, c-format +msgid "%s (Borderless, %s, %s)" +msgstr "%s (без полей, %s, %s)" + +#, c-format +msgid "%s accepting requests since %s" +msgstr "%s принимает запросы с момента %s" + +#, c-format +msgid "%s cannot be changed." +msgstr "%s не может быть изменен." + +#, c-format +msgid "%s is not implemented by the CUPS version of lpc." +msgstr "%s не выполнено версией CUPS для lpc." + +#, c-format +msgid "%s is not ready" +msgstr "%s не готов" + +#, c-format +msgid "%s is ready" +msgstr "%s готов" + +#, c-format +msgid "%s is ready and printing" +msgstr "%s готов и печатает" + +#, c-format +msgid "%s job-id user title copies options [file]" +msgstr "%s задание пользователь название копий параметры [файл]" + +#, c-format +msgid "%s not accepting requests since %s -" +msgstr "%s не принимает запросы с момента %s -" + +#, c-format +msgid "%s not supported." +msgstr "%s не поддерживается." + +#, c-format +msgid "%s/%s accepting requests since %s" +msgstr "%s/%s принимает запросы с момента %s" + +#, c-format +msgid "%s/%s not accepting requests since %s -" +msgstr "%s/%s не принимает запросы с момента %s -" + +#, c-format +msgid "%s: %-33.33s [job %d localhost]" +msgstr "%s: %-33.33s [задание %d localhost]" + +#. TRANSLATORS: Message is "subject: error" +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#, c-format +msgid "%s: %s failed: %s" +msgstr "%s: ошибка %s: %s" + +#, c-format +msgid "%s: Bad printer URI \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Bad version %s for \"-V\"." +msgstr "%s: Неверная версия %s для \"-V\"." + +#, c-format +msgid "%s: Don't know what to do." +msgstr "%s: Дальнейшие действия неизвестны." + +#, c-format +msgid "%s: Error - %s" +msgstr "" + +#, c-format +msgid "" +"%s: Error - %s environment variable names non-existent destination \"%s\"." +msgstr "" +"%s: Ошибка - %s переменная окружения указывает на несуществующее назначение " +"\"%s\"." + +#, c-format +msgid "%s: Error - add '/version=1.1' to server name." +msgstr "%s: Ошибка - добавьте '/version=1.1' к имени сервера." + +#, c-format +msgid "%s: Error - bad job ID." +msgstr "%s: Ошибка - неверный ID задания." + +#, c-format +msgid "%s: Error - cannot print files and alter jobs simultaneously." +msgstr "" +"%s: Ошибка - невозможно печатать файлы и редактировать задания одновременно." + +#, c-format +msgid "%s: Error - cannot print from stdin if files or a job ID are provided." +msgstr "" +"%s: Ошибка - не удается печать из stdin, если предоставлены файлы или ID " +"задания." + +#, c-format +msgid "%s: Error - copies must be 1 or more." +msgstr "" + +#, c-format +msgid "%s: Error - expected character set after \"-S\" option." +msgstr "%s: Ошибка - после параметра \"-S\" должен идти набор символов." + +#, c-format +msgid "%s: Error - expected content type after \"-T\" option." +msgstr "" +"%s: Ошибка - после параметра \"-T\" должен быть указан тип содержимого." + +#, c-format +msgid "%s: Error - expected copies after \"-#\" option." +msgstr "" +"%s: Ошибка - после параметра \"-#\" должно быть указано количество копий." + +#, c-format +msgid "%s: Error - expected copies after \"-n\" option." +msgstr "" +"%s: Ошибка - после параметра \"-n\" должно быть указано количество копий." + +#, c-format +msgid "%s: Error - expected destination after \"-P\" option." +msgstr "%s: Ошибка - после параметра \"-P\" должно быть указано назначение." + +#, c-format +msgid "%s: Error - expected destination after \"-d\" option." +msgstr "%s: Ошибка - после параметра \"-d\" должно быть указано назначение." + +#, c-format +msgid "%s: Error - expected form after \"-f\" option." +msgstr "%s: Ошибка - после параметра \"-f\" должна быть указана форма." + +#, c-format +msgid "%s: Error - expected hold name after \"-H\" option." +msgstr "%s: Ошибка - после параметра \"-H\" должно быть указано имя хоста." + +#, c-format +msgid "%s: Error - expected hostname after \"-H\" option." +msgstr "%s: Ошибка - после параметра \"-H\" должно быть указано имя хоста." + +#, c-format +msgid "%s: Error - expected hostname after \"-h\" option." +msgstr "%s: Ошибка - после параметра \"-h\" должно быть указано имя хоста." + +#, c-format +msgid "%s: Error - expected mode list after \"-y\" option." +msgstr "%s: Ошибка - после параметра \"-y\" должен быть указан список режимов." + +#, c-format +msgid "%s: Error - expected name after \"-%c\" option." +msgstr "%s: Ошибка - после параметра \"-%c\" должно быть указано имя." + +#, c-format +msgid "%s: Error - expected option=value after \"-o\" option." +msgstr "" +"%s: Ошибка - после параметра '-o' должна быть указана строка вида " +"option=value" + +#, c-format +msgid "%s: Error - expected page list after \"-P\" option." +msgstr "%s: Ошибка – после параметра \"-P\" должен идти список страниц." + +#, c-format +msgid "%s: Error - expected priority after \"-%c\" option." +msgstr "%s: Ошибка - после параметра \"-%c\" должен быть указан приоритет." + +#, c-format +msgid "%s: Error - expected reason text after \"-r\" option." +msgstr "%s: Ошибка - после параметра \"-r\" должен идти текст причины." + +#, c-format +msgid "%s: Error - expected title after \"-t\" option." +msgstr "%s: Ошибка - после параметра \"-t\" должен быть указан заголовок." + +#, c-format +msgid "%s: Error - expected username after \"-U\" option." +msgstr "" +"%s: Ошибка - после параметра \"-U\" должно быть указано имя пользователя." + +#, c-format +msgid "%s: Error - expected username after \"-u\" option." +msgstr "" +"%s: Ошибка - после параметра \"-u\" должно быть указано имя пользователя." + +#, c-format +msgid "%s: Error - expected value after \"-%c\" option." +msgstr "%s: Ошибка - после параметра \"-%c\" должно быть указано значение." + +#, c-format +msgid "" +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" " +"option." +msgstr "" +"%s: Ошибка - требуется \"завершено\",\"не завершено\" или \"все\" после " +"параметра \"-W\" " + +#, c-format +msgid "%s: Error - no default destination available." +msgstr "%s: Ошибка – нет доступного назначения по умолчанию." + +#, c-format +msgid "%s: Error - priority must be between 1 and 100." +msgstr "%s: Ошибка – приоритет должен быть от 1 до 100." + +#, c-format +msgid "%s: Error - scheduler not responding." +msgstr "%s: Ошибка - планировщик не отвечает." + +#, c-format +msgid "%s: Error - too many files - \"%s\"." +msgstr "%s: Ошибка – слишком много файлов – \"%s\"." + +#, c-format +msgid "%s: Error - unable to access \"%s\" - %s" +msgstr "%s: Ошибка – не удается получить доступ к \"%s\" – %s" + +#, c-format +msgid "%s: Error - unable to queue from stdin - %s." +msgstr "%s: Ошибка – не удается поставить в очередь из stdin - %s." + +#, c-format +msgid "%s: Error - unknown destination \"%s\"." +msgstr "%s: Ошибка - неизвестное назначение \"%s\"." + +#, c-format +msgid "%s: Error - unknown destination \"%s/%s\"." +msgstr "%s: ошибка - неизвестное назначение \"%s/%s\"." + +#, c-format +msgid "%s: Error - unknown option \"%c\"." +msgstr "%s: Ошибка - неизвестный параметр \"%c\"." + +#, c-format +msgid "%s: Error - unknown option \"%s\"." +msgstr "%s: Ошибка - неизвестный параметр \"%s\"." + +#, c-format +msgid "%s: Expected job ID after \"-i\" option." +msgstr "%s: После параметра \"-i\" должен быть указан ID задания." + +#, c-format +msgid "%s: Invalid destination name in list \"%s\"." +msgstr "%s: Недопустимое имя назначения в списке \"%s\"." + +#, c-format +msgid "%s: Invalid filter string \"%s\"." +msgstr "%s: Неверная строка фильтра \"%s\"." + +#, c-format +msgid "%s: Missing filename for \"-P\"." +msgstr "%s: Пропущено имя файла для \"-P\"." + +#, c-format +msgid "%s: Missing timeout for \"-T\"." +msgstr "%s: Пропущен таймаут для \"-T\"." + +#, c-format +msgid "%s: Missing version for \"-V\"." +msgstr "%s: Пропущена версия для \"-V\"." + +#, c-format +msgid "%s: Need job ID (\"-i jobid\") before \"-H restart\"." +msgstr "%s: Необходимо указать ID задания (\"-i jobid\") перед \"-H restart\"." + +#, c-format +msgid "%s: No filter to convert from %s/%s to %s/%s." +msgstr "" +"%s: Отсутствует фильтр, необходимый для преобразования из %s/%s в %s/%s." + +#, c-format +msgid "%s: Operation failed: %s" +msgstr "%s: Операция не удалась: %s" + +#, c-format +msgid "%s: Sorry, no encryption support." +msgstr "%s: Нет поддержки шифрования." + +#, c-format +msgid "%s: Unable to connect to \"%s:%d\": %s" +msgstr "" + +#, c-format +msgid "%s: Unable to connect to server." +msgstr "%s: Не удается подключиться к серверу." + +#, c-format +msgid "%s: Unable to contact server." +msgstr "%s: Не удается установить связь с сервером." + +#, c-format +msgid "%s: Unable to create PPD file: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to determine MIME type of \"%s\"." +msgstr "%s: Не удается определить тип MIME \"%s\"." + +#, c-format +msgid "%s: Unable to open \"%s\": %s" +msgstr "%s: Не удается открыть \"%s\": %s" + +#, c-format +msgid "%s: Unable to open %s: %s" +msgstr "%s: Не удается открыть %s: %s" + +#, c-format +msgid "%s: Unable to open PPD file: %s on line %d." +msgstr "%s: Не удается открыть PPD-файл: %s в строке %d." + +#, c-format +msgid "%s: Unable to query printer: %s" +msgstr "" + +#, c-format +msgid "%s: Unable to read MIME database from \"%s\" or \"%s\"." +msgstr "%s: Не удается прочитать базу данных MIME из \"%s\" или \"%s\"." + +#, c-format +msgid "%s: Unable to resolve \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown argument \"%s\"." +msgstr "" + +#, c-format +msgid "%s: Unknown destination \"%s\"." +msgstr "%s: Неизвестное назначение \"%s\"." + +#, c-format +msgid "%s: Unknown destination MIME type %s/%s." +msgstr "%s: Неизвестный MIME-тип назначения %s/%s." + +#, c-format +msgid "%s: Unknown option \"%c\"." +msgstr "%s: Неизвестный параметр \"%c\"." + +#, c-format +msgid "%s: Unknown option \"%s\"." +msgstr "%s: Неизвестный параметр \"%s\"." + +#, c-format +msgid "%s: Unknown option \"-%c\"." +msgstr "%s: Неизвестный параметр \"-%c\"." + +#, c-format +msgid "%s: Unknown source MIME type %s/%s." +msgstr "%s: Неизвестный MIME-тип источника %s/%s." + +#, c-format +msgid "" +"%s: Warning - \"%c\" format modifier not supported - output may not be " +"correct." +msgstr "" +"%s: Внимание - модификатор формата \"%c\" не поддерживается - вывод может " +"быть неправильным." + +#, c-format +msgid "%s: Warning - character set option ignored." +msgstr "%s: Внимание - параметр набора символов пропущен." + +#, c-format +msgid "%s: Warning - content type option ignored." +msgstr "%s: Внимание - параметр типа содержимого пропущен." + +#, c-format +msgid "%s: Warning - form option ignored." +msgstr "%s: Внимание - параметр формы пропущен." + +#, c-format +msgid "%s: Warning - mode option ignored." +msgstr "%s: Внимание - параметр режима пропущен." + +msgid "( expressions ) Group expressions" +msgstr "" + +msgid "- Cancel all jobs" +msgstr "" + +msgid "-# num-copies Specify the number of copies to print" +msgstr "" + +msgid "--[no-]debug-logging Turn debug logging on/off" +msgstr "" + +msgid "--[no-]remote-admin Turn remote administration on/off" +msgstr "" + +msgid "--[no-]remote-any Allow/prevent access from the Internet" +msgstr "" + +msgid "--[no-]share-printers Turn printer sharing on/off" +msgstr "" + +msgid "--[no-]user-cancel-any Allow/prevent users to cancel any job" +msgstr "" + +msgid "" +"--device-id device-id Show models matching the given IEEE 1284 device ID" +msgstr "" + +msgid "--domain regex Match domain to regular expression" +msgstr "" + +msgid "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" +msgstr "" + +msgid "" +"--exec utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "--false Always false" +msgstr "" + +msgid "--help Show program help" +msgstr "" + +msgid "--hold Hold new jobs" +msgstr "" + +msgid "--host regex Match hostname to regular expression" +msgstr "" + +msgid "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" +msgstr "" + +msgid "--ippserver filename Produce ippserver attribute file" +msgstr "" + +msgid "--language locale Show models matching the given locale" +msgstr "" + +msgid "--local True if service is local" +msgstr "" + +msgid "--ls List attributes" +msgstr "" + +msgid "" +"--make-and-model name Show models matching the given make and model name" +msgstr "" + +msgid "--name regex Match service name to regular expression" +msgstr "" + +msgid "--no-web-forms Disable web forms for media and supplies" +msgstr "" + +msgid "--not expression Unary NOT of expression" +msgstr "" + +msgid "--path regex Match resource path to regular expression" +msgstr "" + +msgid "--port number[-number] Match port to number or range" +msgstr "" + +msgid "--print Print URI if true" +msgstr "" + +msgid "--print-name Print service name if true" +msgstr "" + +msgid "" +"--product name Show models matching the given PostScript product" +msgstr "" + +msgid "--quiet Quietly report match via exit code" +msgstr "" + +msgid "--release Release previously held jobs" +msgstr "" + +msgid "--remote True if service is remote" +msgstr "" + +msgid "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" +msgstr "" + +msgid "" +"--timeout seconds Specify the maximum number of seconds to discover " +"devices" +msgstr "" + +msgid "--true Always true" +msgstr "" + +msgid "--txt key True if the TXT record contains the key" +msgstr "" + +msgid "--txt-* regex Match TXT record key to regular expression" +msgstr "" + +msgid "--uri regex Match URI to regular expression" +msgstr "" + +msgid "--version Show program version" +msgstr "" + +msgid "--version Show version" +msgstr "" + +msgid "-1" +msgstr "-1" + +msgid "-10" +msgstr "-10" + +msgid "-100" +msgstr "-100" + +msgid "-105" +msgstr "-105" + +msgid "-11" +msgstr "-11" + +msgid "-110" +msgstr "-110" + +msgid "-115" +msgstr "-115" + +msgid "-12" +msgstr "-12" + +msgid "-120" +msgstr "-120" + +msgid "-13" +msgstr "-13" + +msgid "-14" +msgstr "-14" + +msgid "-15" +msgstr "-15" + +msgid "-2" +msgstr "-2" + +msgid "-2 Set 2-sided printing support (default=1-sided)" +msgstr "" + +msgid "-20" +msgstr "-20" + +msgid "-25" +msgstr "-25" + +msgid "-3" +msgstr "-3" + +msgid "-30" +msgstr "-30" + +msgid "-35" +msgstr "-35" + +msgid "-4" +msgstr "-4" + +msgid "-4 Connect using IPv4" +msgstr "" + +msgid "-40" +msgstr "-40" + +msgid "-45" +msgstr "-45" + +msgid "-5" +msgstr "-5" + +msgid "-50" +msgstr "-50" + +msgid "-55" +msgstr "-55" + +msgid "-6" +msgstr "-6" + +msgid "-6 Connect using IPv6" +msgstr "" + +msgid "-60" +msgstr "-60" + +msgid "-65" +msgstr "-65" + +msgid "-7" +msgstr "-7" + +msgid "-70" +msgstr "-70" + +msgid "-75" +msgstr "-75" + +msgid "-8" +msgstr "-8" + +msgid "-80" +msgstr "-80" + +msgid "-85" +msgstr "-85" + +msgid "-9" +msgstr "-9" + +msgid "-90" +msgstr "-90" + +msgid "-95" +msgstr "-95" + +msgid "-C Send requests using chunking (default)" +msgstr "" + +msgid "-D description Specify the textual description of the printer" +msgstr "" + +msgid "-D device-uri Set the device URI for the printer" +msgstr "" + +msgid "" +"-E Enable and accept jobs on the printer (after -p)" +msgstr "" + +msgid "-E Encrypt the connection to the server" +msgstr "" + +msgid "-E Test with encryption using HTTP Upgrade to TLS" +msgstr "" + +msgid "-F Run in the foreground but detach from console." +msgstr "" + +msgid "-F output-type/subtype Set the output format for the printer" +msgstr "" + +msgid "-H Show the default server and port" +msgstr "" + +msgid "-H HH:MM Hold the job until the specified UTC time" +msgstr "" + +msgid "-H hold Hold the job until released/resumed" +msgstr "" + +msgid "-H immediate Print the job as soon as possible" +msgstr "" + +msgid "-H restart Reprint the job" +msgstr "" + +msgid "-H resume Resume a held job" +msgstr "" + +msgid "-H server[:port] Connect to the named server and port" +msgstr "" + +msgid "-I Ignore errors" +msgstr "" + +msgid "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" +msgstr "" + +msgid "" +"-K keypath Set location of server X.509 certificates and keys." +msgstr "" + +msgid "-L Send requests using content-length" +msgstr "" + +msgid "-L location Specify the textual location of the printer" +msgstr "" + +msgid "-M manufacturer Set manufacturer name (default=Test)" +msgstr "" + +msgid "-P destination Show status for the specified destination" +msgstr "" + +msgid "-P destination Specify the destination" +msgstr "" + +msgid "" +"-P filename.plist Produce XML plist to a file and test report to " +"standard output" +msgstr "" + +msgid "-P filename.ppd Load printer attributes from PPD file" +msgstr "" + +msgid "-P number[-number] Match port to number or range" +msgstr "" + +msgid "-P page-list Specify a list of pages to print" +msgstr "" + +msgid "-R Show the ranking of jobs" +msgstr "" + +msgid "-R name-default Remove the default value for the named option" +msgstr "" + +msgid "-R root-directory Set alternate root" +msgstr "" + +msgid "-S Test with encryption using HTTPS" +msgstr "" + +msgid "-T seconds Set the browse timeout in seconds" +msgstr "" + +msgid "-T seconds Set the receive/send timeout in seconds" +msgstr "" + +msgid "-T title Specify the job title" +msgstr "" + +msgid "-U username Specify the username to use for authentication" +msgstr "" + +msgid "-U username Specify username to use for authentication" +msgstr "" + +msgid "-V version Set default IPP version" +msgstr "" + +msgid "-W completed Show completed jobs" +msgstr "" + +msgid "-W not-completed Show pending jobs" +msgstr "" + +msgid "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes," +"translations}\n" +" Issue warnings instead of errors" +msgstr "" + +msgid "-X Produce XML plist instead of plain text" +msgstr "" + +msgid "-a Cancel all jobs" +msgstr "" + +msgid "-a Show jobs on all destinations" +msgstr "" + +msgid "-a [destination(s)] Show the accepting state of destinations" +msgstr "" + +msgid "-a filename.conf Load printer attributes from conf file" +msgstr "" + +msgid "-c Make a copy of the print file(s)" +msgstr "" + +msgid "-c Produce CSV output" +msgstr "" + +msgid "-c [class(es)] Show classes and their member printers" +msgstr "" + +msgid "-c class Add the named destination to a class" +msgstr "" + +msgid "-c command Set print command" +msgstr "" + +msgid "-c cupsd.conf Set cupsd.conf file to use." +msgstr "" + +msgid "-d Show the default destination" +msgstr "" + +msgid "-d destination Set default destination" +msgstr "" + +msgid "-d destination Set the named destination as the server default" +msgstr "" + +msgid "-d name=value Set named variable to value" +msgstr "" + +msgid "-d regex Match domain to regular expression" +msgstr "" + +msgid "-d spool-directory Set spool directory" +msgstr "" + +msgid "-e Show available destinations on the network" +msgstr "" + +msgid "-f Run in the foreground." +msgstr "" + +msgid "-f filename Set default request filename" +msgstr "" + +msgid "-f type/subtype[,...] Set supported file types" +msgstr "" + +msgid "-h Show this usage message." +msgstr "" + +msgid "-h Validate HTTP response headers" +msgstr "" + +msgid "-h regex Match hostname to regular expression" +msgstr "" + +msgid "-h server[:port] Connect to the named server and port" +msgstr "" + +msgid "-i iconfile.png Set icon file" +msgstr "" + +msgid "-i id Specify an existing job ID to modify" +msgstr "" + +msgid "-i ppd-file Specify a PPD file for the printer" +msgstr "" + +msgid "" +"-i seconds Repeat the last file with the given time interval" +msgstr "" + +msgid "-k Keep job spool files" +msgstr "" + +msgid "-l List attributes" +msgstr "" + +msgid "-l Produce plain text output" +msgstr "" + +msgid "-l Run cupsd on demand." +msgstr "" + +msgid "-l Show supported options and values" +msgstr "" + +msgid "-l Show verbose (long) output" +msgstr "" + +msgid "-l location Set location of printer" +msgstr "" + +msgid "" +"-m Send an email notification when the job completes" +msgstr "" + +msgid "-m Show models" +msgstr "" + +msgid "" +"-m everywhere Specify the printer is compatible with IPP Everywhere" +msgstr "" + +msgid "-m model Set model name (default=Printer)" +msgstr "" + +msgid "" +"-m model Specify a standard model/PPD file for the printer" +msgstr "" + +msgid "-n count Repeat the last file the given number of times" +msgstr "" + +msgid "-n hostname Set hostname for printer" +msgstr "" + +msgid "-n num-copies Specify the number of copies to print" +msgstr "" + +msgid "-n regex Match service name to regular expression" +msgstr "" + +msgid "" +"-o Name=Value Specify the default value for the named PPD option " +msgstr "" + +msgid "-o [destination(s)] Show jobs" +msgstr "" + +msgid "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" +msgstr "" + +msgid "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" +msgstr "" + +msgid "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" +msgstr "" + +msgid "-o job-page-limit=N Specify the page limit for per-user quotas" +msgstr "" + +msgid "-o job-quota-period=N Specify the per-user quota period in seconds" +msgstr "" + +msgid "-o job-sheets=standard Print a banner page with the job" +msgstr "" + +msgid "-o media=size Specify the media size to use" +msgstr "" + +msgid "-o name-default=value Specify the default value for the named option" +msgstr "" + +msgid "-o name[=value] Set default option and value" +msgstr "" + +msgid "" +"-o number-up=N Specify that input pages should be printed N-up (1, " +"2, 4, 6, 9, and 16 are supported)" +msgstr "" + +msgid "-o option[=value] Specify a printer-specific option" +msgstr "" + +msgid "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" +msgstr "" + +msgid "" +"-o print-quality=N Specify the print quality - draft (3), normal (4), " +"or best (5)" +msgstr "" + +msgid "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" +msgstr "" + +msgid "" +"-o printer-is-shared=true\n" +" Share the printer" +msgstr "" + +msgid "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" +msgstr "" + +msgid "-o sides=one-sided Specify 1-sided printing" +msgstr "" + +msgid "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" +msgstr "" + +msgid "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" +msgstr "" + +msgid "-p Print URI if true" +msgstr "" + +msgid "-p [printer(s)] Show the processing state of destinations" +msgstr "" + +msgid "-p destination Specify a destination" +msgstr "" + +msgid "-p destination Specify/add the named destination" +msgstr "" + +msgid "-p port Set port number for printer" +msgstr "" + +msgid "-q Quietly report match via exit code" +msgstr "" + +msgid "-q Run silently" +msgstr "" + +msgid "-q Specify the job should be held for printing" +msgstr "" + +msgid "-q priority Specify the priority from low (1) to high (100)" +msgstr "" + +msgid "-r Remove the file(s) after submission" +msgstr "" + +msgid "-r Show whether the CUPS server is running" +msgstr "" + +msgid "-r True if service is remote" +msgstr "" + +msgid "-r Use 'relaxed' open mode" +msgstr "" + +msgid "-r class Remove the named destination from a class" +msgstr "" + +msgid "-r reason Specify a reason message that others can see" +msgstr "" + +msgid "-r subtype,[subtype] Set DNS-SD service subtype" +msgstr "" + +msgid "-s Be silent" +msgstr "" + +msgid "-s Print service name if true" +msgstr "" + +msgid "-s Show a status summary" +msgstr "" + +msgid "-s cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid "-s speed[,color-speed] Set speed in pages per minute" +msgstr "" + +msgid "-t Produce a test report" +msgstr "" + +msgid "-t Show all status information" +msgstr "" + +msgid "-t Test the configuration file." +msgstr "" + +msgid "-t key True if the TXT record contains the key" +msgstr "" + +msgid "-t title Specify the job title" +msgstr "" + +msgid "" +"-u [user(s)] Show jobs queued by the current or specified users" +msgstr "" + +msgid "-u allow:all Allow all users to print" +msgstr "" + +msgid "" +"-u allow:list Allow the list of users or groups (@name) to print" +msgstr "" + +msgid "" +"-u deny:list Prevent the list of users or groups (@name) to print" +msgstr "" + +msgid "-u owner Specify the owner to use for jobs" +msgstr "" + +msgid "-u regex Match URI to regular expression" +msgstr "" + +msgid "-v Be verbose" +msgstr "" + +msgid "-v Show devices" +msgstr "" + +msgid "-v [printer(s)] Show the devices for each destination" +msgstr "" + +msgid "-v device-uri Specify the device URI for the printer" +msgstr "" + +msgid "-vv Be very verbose" +msgstr "" + +msgid "-x Purge jobs rather than just canceling" +msgstr "" + +msgid "-x destination Remove default options for destination" +msgstr "" + +msgid "-x destination Remove the named destination" +msgstr "" + +msgid "" +"-x utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "/etc/cups/lpoptions file names default destination that does not exist." +msgstr "" + +msgid "0" +msgstr "0" + +msgid "1" +msgstr "1" + +msgid "1 inch/sec." +msgstr "1 дюйм/с" + +msgid "1.25x0.25\"" +msgstr "1,25x0,25\"" + +msgid "1.25x2.25\"" +msgstr "1,25x2,25\"" + +msgid "1.5 inch/sec." +msgstr "1,5 дюйма/с" + +msgid "1.50x0.25\"" +msgstr "1,50x0,25\"" + +msgid "1.50x0.50\"" +msgstr "1,50x0,50\"" + +msgid "1.50x1.00\"" +msgstr "1,50x1,00\"" + +msgid "1.50x2.00\"" +msgstr "1,50x2,00\"" + +msgid "10" +msgstr "10" + +msgid "10 inches/sec." +msgstr "10 дюймов/с" + +msgid "10 x 11" +msgstr "" + +msgid "10 x 13" +msgstr "" + +msgid "10 x 14" +msgstr "" + +msgid "100" +msgstr "100" + +msgid "100 mm/sec." +msgstr "100 мм/с" + +msgid "105" +msgstr "105" + +msgid "11" +msgstr "11" + +msgid "11 inches/sec." +msgstr "11 дюймов/с" + +msgid "110" +msgstr "110" + +msgid "115" +msgstr "115" + +msgid "12" +msgstr "12" + +msgid "12 inches/sec." +msgstr "12 дюймов/с" + +msgid "12 x 11" +msgstr "" + +msgid "120" +msgstr "120" + +msgid "120 mm/sec." +msgstr "120 мм/с" + +msgid "120x60dpi" +msgstr "120x60dpi" + +msgid "120x72dpi" +msgstr "120x72dpi" + +msgid "13" +msgstr "13" + +msgid "136dpi" +msgstr "136dpi" + +msgid "14" +msgstr "14" + +msgid "15" +msgstr "15" + +msgid "15 mm/sec." +msgstr "15 мм/с" + +msgid "15 x 11" +msgstr "" + +msgid "150 mm/sec." +msgstr "150 мм/с" + +msgid "150dpi" +msgstr "150dpi" + +msgid "16" +msgstr "16" + +msgid "17" +msgstr "17" + +msgid "18" +msgstr "18" + +msgid "180dpi" +msgstr "180dpi" + +msgid "19" +msgstr "19" + +msgid "2" +msgstr "2" + +msgid "2 inches/sec." +msgstr "2 дюйма/с" + +msgid "2-Sided Printing" +msgstr "двусторонняя печать" + +msgid "2.00x0.37\"" +msgstr "2,00x0,37\"" + +msgid "2.00x0.50\"" +msgstr "2,00x0,50\"" + +msgid "2.00x1.00\"" +msgstr "2,00x1,00\"" + +msgid "2.00x1.25\"" +msgstr "2,00x1,25\"" + +msgid "2.00x2.00\"" +msgstr "2,00x2,00\"" + +msgid "2.00x3.00\"" +msgstr "2,00x3,00\"" + +msgid "2.00x4.00\"" +msgstr "2,00x4,00\"" + +msgid "2.00x5.50\"" +msgstr "2,00x5,50\"" + +msgid "2.25x0.50\"" +msgstr "2,25x0,50\"" + +msgid "2.25x1.25\"" +msgstr "2,25x1,25\"" + +msgid "2.25x4.00\"" +msgstr "2,25x4,00\"" + +msgid "2.25x5.50\"" +msgstr "2,25x5,50\"" + +msgid "2.38x5.50\"" +msgstr "2,38x5,50\"" + +msgid "2.5 inches/sec." +msgstr "2,5 дюйма/с" + +msgid "2.50x1.00\"" +msgstr "2,50x1,00\"" + +msgid "2.50x2.00\"" +msgstr "2,50x2,00\"" + +msgid "2.75x1.25\"" +msgstr "2,75x1,25\"" + +msgid "2.9 x 1\"" +msgstr "2,9 x 1\"" + +msgid "20" +msgstr "20" + +msgid "20 mm/sec." +msgstr "20 мм/с" + +msgid "200 mm/sec." +msgstr "200 мм/с" + +msgid "203dpi" +msgstr "203dpi" + +msgid "21" +msgstr "21" + +msgid "22" +msgstr "22" + +msgid "23" +msgstr "23" + +msgid "24" +msgstr "24" + +msgid "24-Pin Series" +msgstr "Тип 24-Pin" + +msgid "240x72dpi" +msgstr "240x72dpi" + +msgid "25" +msgstr "25" + +msgid "250 mm/sec." +msgstr "250 мм/с" + +msgid "26" +msgstr "26" + +msgid "27" +msgstr "27" + +msgid "28" +msgstr "28" + +msgid "29" +msgstr "29" + +msgid "3" +msgstr "3" + +msgid "3 inches/sec." +msgstr "3 дюйма/с" + +msgid "3 x 5" +msgstr "" + +msgid "3.00x1.00\"" +msgstr "3,00x1,00\"" + +msgid "3.00x1.25\"" +msgstr "3,00x1,25\"" + +msgid "3.00x2.00\"" +msgstr "3,00x2,00\"" + +msgid "3.00x3.00\"" +msgstr "3,00x3,00\"" + +msgid "3.00x5.00\"" +msgstr "3,00x5,00\"" + +msgid "3.25x2.00\"" +msgstr "3,25x2,00\"" + +msgid "3.25x5.00\"" +msgstr "3,25x5,00\"" + +msgid "3.25x5.50\"" +msgstr "3,25x5,50\"" + +msgid "3.25x5.83\"" +msgstr "3,25x5,83\"" + +msgid "3.25x7.83\"" +msgstr "3,25x7,83\"" + +msgid "3.5 x 5" +msgstr "" + +msgid "3.5\" Disk" +msgstr "Диск 3.5\"" + +msgid "3.50x1.00\"" +msgstr "3,50x1,00\"" + +msgid "30" +msgstr "30" + +msgid "30 mm/sec." +msgstr "30 мм/с" + +msgid "300 mm/sec." +msgstr "300 мм/с" + +msgid "300dpi" +msgstr "300dpi" + +msgid "35" +msgstr "35" + +msgid "360dpi" +msgstr "360dpi" + +msgid "360x180dpi" +msgstr "360x180dpi" + +msgid "4" +msgstr "4" + +msgid "4 inches/sec." +msgstr "4 дюйма/с" + +msgid "4.00x1.00\"" +msgstr "4,00x1,00\"" + +msgid "4.00x13.00\"" +msgstr "4,00x13,00\"" + +msgid "4.00x2.00\"" +msgstr "4,00x2,00\"" + +msgid "4.00x2.50\"" +msgstr "4,00x2,50\"" + +msgid "4.00x3.00\"" +msgstr "4,00x3,00\"" + +msgid "4.00x4.00\"" +msgstr "4,00x4,00\"" + +msgid "4.00x5.00\"" +msgstr "4,00x5,00\"" + +msgid "4.00x6.00\"" +msgstr "4,00x6,00\"" + +msgid "4.00x6.50\"" +msgstr "4,00x6,50\"" + +msgid "40" +msgstr "40" + +msgid "40 mm/sec." +msgstr "40 мм/с" + +msgid "45" +msgstr "45" + +msgid "5" +msgstr "5" + +msgid "5 inches/sec." +msgstr "5 дюймов/с" + +msgid "5 x 7" +msgstr "" + +msgid "50" +msgstr "50" + +msgid "55" +msgstr "55" + +msgid "6" +msgstr "6" + +msgid "6 inches/sec." +msgstr "6 дюймов/с" + +msgid "6.00x1.00\"" +msgstr "6,00x1,00\"" + +msgid "6.00x2.00\"" +msgstr "6,00x2,00\"" + +msgid "6.00x3.00\"" +msgstr "6,00x3,00\"" + +msgid "6.00x4.00\"" +msgstr "6,00x4,00\"" + +msgid "6.00x5.00\"" +msgstr "6,00x5,00\"" + +msgid "6.00x6.00\"" +msgstr "6,00x6,00\"" + +msgid "6.00x6.50\"" +msgstr "6,00x6,50\"" + +msgid "60" +msgstr "60" + +msgid "60 mm/sec." +msgstr "60 мм/с" + +msgid "600dpi" +msgstr "600dpi" + +msgid "60dpi" +msgstr "60dpi" + +msgid "60x72dpi" +msgstr "" + +msgid "65" +msgstr "65" + +msgid "7" +msgstr "7" + +msgid "7 inches/sec." +msgstr "7 дюймов/с" + +msgid "7 x 9" +msgstr "" + +msgid "70" +msgstr "70" + +msgid "75" +msgstr "75" + +msgid "8" +msgstr "8" + +msgid "8 inches/sec." +msgstr "8 дюймов/с" + +msgid "8 x 10" +msgstr "" + +msgid "8.00x1.00\"" +msgstr "8,00x1,00\"" + +msgid "8.00x2.00\"" +msgstr "8,00x2,00\"" + +msgid "8.00x3.00\"" +msgstr "8,00x3,00\"" + +msgid "8.00x4.00\"" +msgstr "8,00x4,00\"" + +msgid "8.00x5.00\"" +msgstr "8,00x5,00\"" + +msgid "8.00x6.00\"" +msgstr "8,00x6,00\"" + +msgid "8.00x6.50\"" +msgstr "8,00x6,50\"" + +msgid "80" +msgstr "80" + +msgid "80 mm/sec." +msgstr "80 мм/с" + +msgid "85" +msgstr "85" + +msgid "9" +msgstr "9" + +msgid "9 inches/sec." +msgstr "9 дюймов/с" + +msgid "9 x 11" +msgstr "" + +msgid "9 x 12" +msgstr "" + +msgid "9-Pin Series" +msgstr "Тип 9-Pin" + +msgid "90" +msgstr "90" + +msgid "95" +msgstr "95" + +msgid "?Invalid help command unknown." +msgstr "" + +#, c-format +msgid "A class named \"%s\" already exists." +msgstr "Группа с именем \"%s\" уже существует." + +#, c-format +msgid "A printer named \"%s\" already exists." +msgstr "Принтер с именем \"%s\" уже существует." + +msgid "A0" +msgstr "A0" + +msgid "A0 Long Edge" +msgstr "" + +msgid "A1" +msgstr "A1" + +msgid "A1 Long Edge" +msgstr "" + +msgid "A10" +msgstr "A10" + +msgid "A2" +msgstr "A2" + +msgid "A2 Long Edge" +msgstr "" + +msgid "A3" +msgstr "A3" + +msgid "A3 Long Edge" +msgstr "" + +msgid "A3 Oversize" +msgstr "" + +msgid "A3 Oversize Long Edge" +msgstr "" + +msgid "A4" +msgstr "A4" + +msgid "A4 Long Edge" +msgstr "" + +msgid "A4 Oversize" +msgstr "" + +msgid "A4 Small" +msgstr "" + +msgid "A5" +msgstr "A5" + +msgid "A5 Long Edge" +msgstr "" + +msgid "A5 Oversize" +msgstr "" + +msgid "A6" +msgstr "A6" + +msgid "A6 Long Edge" +msgstr "" + +msgid "A7" +msgstr "A7" + +msgid "A8" +msgstr "A8" + +msgid "A9" +msgstr "A9" + +msgid "ANSI A" +msgstr "ANSI A" + +msgid "ANSI B" +msgstr "ANSI B" + +msgid "ANSI C" +msgstr "ANSI C" + +msgid "ANSI D" +msgstr "ANSI D" + +msgid "ANSI E" +msgstr "ANSI E" + +msgid "ARCH C" +msgstr "ARCH C" + +msgid "ARCH C Long Edge" +msgstr "" + +msgid "ARCH D" +msgstr "ARCH D" + +msgid "ARCH D Long Edge" +msgstr "" + +msgid "ARCH E" +msgstr "ARCH E" + +msgid "ARCH E Long Edge" +msgstr "" + +msgid "Accept Jobs" +msgstr "Принять задания" + +msgid "Accepted" +msgstr "Принято" + +msgid "Add Class" +msgstr "Добавить группу" + +msgid "Add Printer" +msgstr "Добавить принтер" + +msgid "Address" +msgstr "Адрес" + +msgid "Administration" +msgstr "Администрирование" + +msgid "Always" +msgstr "Всегда" + +msgid "AppSocket/HP JetDirect" +msgstr "AppSocket/HP JetDirect" + +msgid "Applicator" +msgstr "Исполнительное устройство" + +#, c-format +msgid "Attempt to set %s printer-state to bad value %d." +msgstr "Попытка установить %s printer-state на неверное значение %d" + +#, c-format +msgid "Attribute \"%s\" is in the wrong group." +msgstr "" + +#, c-format +msgid "Attribute \"%s\" is the wrong value type." +msgstr "" + +#, c-format +msgid "Attribute groups are out of order (%x < %x)." +msgstr "Атрибут группы не в диапазоне (%x < %x)" + +msgid "B0" +msgstr "B0" + +msgid "B1" +msgstr "B1" + +msgid "B10" +msgstr "B10" + +msgid "B2" +msgstr "B2" + +msgid "B3" +msgstr "B3" + +msgid "B4" +msgstr "B4" + +msgid "B5" +msgstr "B5" + +msgid "B5 Oversize" +msgstr "" + +msgid "B6" +msgstr "B6" + +msgid "B7" +msgstr "B7" + +msgid "B8" +msgstr "B8" + +msgid "B9" +msgstr "B9" + +#, c-format +msgid "Bad \"printer-id\" value %d." +msgstr "" + +#, c-format +msgid "Bad '%s' value." +msgstr "" + +#, c-format +msgid "Bad 'document-format' value \"%s\"." +msgstr "" + +msgid "Bad CloseUI/JCLCloseUI" +msgstr "" + +msgid "Bad NULL dests pointer" +msgstr "Неверный указатель NULL dests" + +msgid "Bad OpenGroup" +msgstr "Неверное значение OpenGroup" + +msgid "Bad OpenUI/JCLOpenUI" +msgstr "Неверное значение OpenUI/JCLOpenUI" + +msgid "Bad OrderDependency" +msgstr "Неверное значение OrderDependency" + +msgid "Bad PPD cache file." +msgstr "" + +msgid "Bad PPD file." +msgstr "" + +msgid "Bad Request" +msgstr "Неверный запрос" + +msgid "Bad SNMP version number" +msgstr "Неверный номер версии SNMP" + +msgid "Bad UIConstraints" +msgstr "Неверное значение UIConstraints" + +msgid "Bad URI." +msgstr "" + +msgid "Bad arguments to function" +msgstr "Неверные аргументы для функции" + +#, c-format +msgid "Bad copies value %d." +msgstr "Неверное значение количества копий %d." + +msgid "Bad custom parameter" +msgstr "Неверный индивидуальный параметр" + +#, c-format +msgid "Bad device-uri \"%s\"." +msgstr "Неверное значение device-uri \"%s\"." + +#, c-format +msgid "Bad device-uri scheme \"%s\"." +msgstr "Неверная схема device-uri \"%s\"." + +#, c-format +msgid "Bad document-format \"%s\"." +msgstr "Неверное значение document-format \"%s\"." + +#, c-format +msgid "Bad document-format-default \"%s\"." +msgstr "Неверное значение document-format-default \"%s\"." + +msgid "Bad filename buffer" +msgstr "Ошибка в буфере filename" + +msgid "Bad hostname/address in URI" +msgstr "Неверный hostname/address в URI" + +#, c-format +msgid "Bad job-name value: %s" +msgstr "Неверное значение job-name: %s" + +msgid "Bad job-name value: Wrong type or count." +msgstr "Неверное значение job-name: Wrong type or count." + +msgid "Bad job-priority value." +msgstr "Неверное значение job-priority." + +#, c-format +msgid "Bad job-sheets value \"%s\"." +msgstr "Неверное значение job-sheets \"%s\"." + +msgid "Bad job-sheets value type." +msgstr "Неверный тип значения job-sheets." + +msgid "Bad job-state value." +msgstr "Неверное значение job-state." + +#, c-format +msgid "Bad job-uri \"%s\"." +msgstr "Неверный job-uri \"%s\"." + +#, c-format +msgid "Bad notify-pull-method \"%s\"." +msgstr "Неверное значение notify-pull-method \"%s\"." + +#, c-format +msgid "Bad notify-recipient-uri \"%s\"." +msgstr "Неверный notify-recipient-uri \"%s\"." + +#, c-format +msgid "Bad notify-user-data \"%s\"." +msgstr "" + +#, c-format +msgid "Bad number-up value %d." +msgstr "Неверное значение number-up %d." + +#, c-format +msgid "Bad page-ranges values %d-%d." +msgstr "Неверные значения page-ranges %d-%d." + +msgid "Bad port number in URI" +msgstr "Неверный номер порта в URI" + +#, c-format +msgid "Bad port-monitor \"%s\"." +msgstr "Неверное значение port-monitor \"%s\"." + +#, c-format +msgid "Bad printer-state value %d." +msgstr "Неверное значение printer-state %d." + +msgid "Bad printer-uri." +msgstr "Неверное значение printer-uri" + +#, c-format +msgid "Bad request ID %d." +msgstr "Неверный ID запроса %d." + +#, c-format +msgid "Bad request version number %d.%d." +msgstr "Неверный номер версии запроса %d.%d." + +msgid "Bad resource in URI" +msgstr "" + +msgid "Bad scheme in URI" +msgstr "" + +msgid "Bad username in URI" +msgstr "Неверное имя пользователя в URI" + +msgid "Bad value string" +msgstr "Неверная строка значений" + +msgid "Bad/empty URI" +msgstr "Неверный или пустой URI" + +msgid "Banners" +msgstr "Баннеры" + +msgid "Bond Paper" +msgstr "Документная бумага" + +msgid "Booklet" +msgstr "" + +#, c-format +msgid "Boolean expected for waiteof option \"%s\"." +msgstr "Параметр waiteof \"%s\" должен иметь двоичное значение" + +msgid "Buffer overflow detected, aborting." +msgstr "Обнаружено переполнение буфера, прерывание." + +msgid "CMYK" +msgstr "CMYK" + +msgid "CPCL Label Printer" +msgstr "Принтер для печати этикеток CPCL" + +msgid "Cancel Jobs" +msgstr "Отменить задания" + +msgid "Canceling print job." +msgstr "Отмена задания печати." + +msgid "Cannot change printer-is-shared for remote queues." +msgstr "" + +msgid "Cannot share a remote Kerberized printer." +msgstr "" + +msgid "Cassette" +msgstr "Лоток" + +msgid "Change Settings" +msgstr "Изменить настройки" + +#, c-format +msgid "Character set \"%s\" not supported." +msgstr "Набор символов \"%s\" не поддерживается." + +msgid "Classes" +msgstr "Группы" + +msgid "Clean Print Heads" +msgstr "Очистить головки принтера" + +msgid "Close-Job doesn't support the job-uri attribute." +msgstr "Close-Job не подерживает атрибут job-uri" + +msgid "Color" +msgstr "Цвет" + +msgid "Color Mode" +msgstr "Цветной режим" + +msgid "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" +msgstr "" +"Команды могут быть сокращены. Команды:\n" +"\n" +"exit help quit status ?" + +msgid "Community name uses indefinite length" +msgstr "Для имени сообщества длина не установлена" + +msgid "Connected to printer." +msgstr "Подключен к принтеру." + +msgid "Connecting to printer." +msgstr "Подключение к принтеру" + +msgid "Continue" +msgstr "Продолжить" + +msgid "Continuous" +msgstr "Непрерывно" + +msgid "Control file sent successfully." +msgstr "Контрольный файл успешно отправлен." + +msgid "Copying print data." +msgstr "Копирование данных печати." + +msgid "Created" +msgstr "Создано" + +msgid "Credentials do not validate against site CA certificate." +msgstr "" + +msgid "Credentials have expired." +msgstr "" + +msgid "Custom" +msgstr "Индивидуальный" + +msgid "CustominCutInterval" +msgstr "CustominCutInterval" + +msgid "CustominTearInterval" +msgstr "CustominTearInterval" + +msgid "Cut" +msgstr "Обрезать" + +msgid "Cutter" +msgstr "Резак" + +msgid "Dark" +msgstr "Темный" + +msgid "Darkness" +msgstr "Затемненность" + +msgid "Data file sent successfully." +msgstr "Файл данных успешно отправлен." + +msgid "Deep Color" +msgstr "" + +msgid "Deep Gray" +msgstr "" + +msgid "Delete Class" +msgstr "Удалить группу" + +msgid "Delete Printer" +msgstr "Удалить принтер" + +msgid "DeskJet Series" +msgstr "Серия DeskJet" + +#, c-format +msgid "Destination \"%s\" is not accepting jobs." +msgstr "Назначение «%s» не принимает задания." + +msgid "Device CMYK" +msgstr "" + +msgid "Device Gray" +msgstr "" + +msgid "Device RGB" +msgstr "" + +#, c-format +msgid "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" +msgstr "" + +msgid "Direct Thermal Media" +msgstr "Носитель для термопечати" + +#, c-format +msgid "Directory \"%s\" contains a relative path." +msgstr "Каталог \"%s\" содержит относительный путь." + +#, c-format +msgid "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "Каталог \"%s\" имеет небезопасные права доступа (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "Directory \"%s\" is a file." +msgstr "Каталог \"%s\" это файл." + +#, c-format +msgid "Directory \"%s\" not available: %s" +msgstr "Каталог \"%s\" недоступен: %s" + +#, c-format +msgid "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "Каталог \"%s\" доступ OK (0%o/uid=%d/gid=%d)." + +msgid "Disabled" +msgstr "Отключено" + +#, c-format +msgid "Document #%d does not exist in job #%d." +msgstr "Документ #%d не существует в задании #%d." + +msgid "Draft" +msgstr "" + +msgid "Duplexer" +msgstr "Дуплексер" + +msgid "Dymo" +msgstr "Dymo" + +msgid "EPL1 Label Printer" +msgstr "Принтер для печати этикеток EPL1" + +msgid "EPL2 Label Printer" +msgstr "Принтер для печати этикеток EPL2" + +msgid "Edit Configuration File" +msgstr "Редактировать файл конфигурации" + +msgid "Encryption is not supported." +msgstr "Шифрование не поддерживается." + +#. TRANSLATORS: Banner/cover sheet after the print job. +msgid "Ending Banner" +msgstr "Конечный баннер" + +msgid "English" +msgstr "Russian" + +msgid "" +"Enter your username and password or the root username and password to access " +"this page. If you are using Kerberos authentication, make sure you have a " +"valid Kerberos ticket." +msgstr "" +"Введите свое имя пользователя и пароль или данные учетной записи root, чтобы " +"получить доступ к этой странице. Если используется проверка подлинности " +"Kerberos, необходимо также иметь действительный билет Kerberos." + +msgid "Envelope #10" +msgstr "" + +msgid "Envelope #11" +msgstr "" + +msgid "Envelope #12" +msgstr "" + +msgid "Envelope #14" +msgstr "" + +msgid "Envelope #9" +msgstr "" + +msgid "Envelope B4" +msgstr "" + +msgid "Envelope B5" +msgstr "" + +msgid "Envelope B6" +msgstr "" + +msgid "Envelope C0" +msgstr "" + +msgid "Envelope C1" +msgstr "" + +msgid "Envelope C2" +msgstr "" + +msgid "Envelope C3" +msgstr "" + +msgid "Envelope C4" +msgstr "" + +msgid "Envelope C5" +msgstr "" + +msgid "Envelope C6" +msgstr "" + +msgid "Envelope C65" +msgstr "" + +msgid "Envelope C7" +msgstr "" + +msgid "Envelope Choukei 3" +msgstr "" + +msgid "Envelope Choukei 3 Long Edge" +msgstr "" + +msgid "Envelope Choukei 4" +msgstr "" + +msgid "Envelope Choukei 4 Long Edge" +msgstr "" + +msgid "Envelope DL" +msgstr "" + +msgid "Envelope Feed" +msgstr "Подача конвертов" + +msgid "Envelope Invite" +msgstr "" + +msgid "Envelope Italian" +msgstr "" + +msgid "Envelope Kaku2" +msgstr "" + +msgid "Envelope Kaku2 Long Edge" +msgstr "" + +msgid "Envelope Kaku3" +msgstr "" + +msgid "Envelope Kaku3 Long Edge" +msgstr "" + +msgid "Envelope Monarch" +msgstr "" + +msgid "Envelope PRC1" +msgstr "" + +msgid "Envelope PRC1 Long Edge" +msgstr "" + +msgid "Envelope PRC10" +msgstr "" + +msgid "Envelope PRC10 Long Edge" +msgstr "" + +msgid "Envelope PRC2" +msgstr "" + +msgid "Envelope PRC2 Long Edge" +msgstr "" + +msgid "Envelope PRC3" +msgstr "" + +msgid "Envelope PRC3 Long Edge" +msgstr "" + +msgid "Envelope PRC4" +msgstr "" + +msgid "Envelope PRC4 Long Edge" +msgstr "" + +msgid "Envelope PRC5 Long Edge" +msgstr "" + +msgid "Envelope PRC5PRC5" +msgstr "" + +msgid "Envelope PRC6" +msgstr "" + +msgid "Envelope PRC6 Long Edge" +msgstr "" + +msgid "Envelope PRC7" +msgstr "" + +msgid "Envelope PRC7 Long Edge" +msgstr "" + +msgid "Envelope PRC8" +msgstr "" + +msgid "Envelope PRC8 Long Edge" +msgstr "" + +msgid "Envelope PRC9" +msgstr "" + +msgid "Envelope PRC9 Long Edge" +msgstr "" + +msgid "Envelope Personal" +msgstr "" + +msgid "Envelope You4" +msgstr "" + +msgid "Envelope You4 Long Edge" +msgstr "" + +msgid "Environment Variables:" +msgstr "" + +msgid "Epson" +msgstr "Epson" + +msgid "Error Policy" +msgstr "Политика ошибок" + +msgid "Error reading raster data." +msgstr "" + +msgid "Error sending raster data." +msgstr "Ошибка отправки данных растра." + +msgid "Error: need hostname after \"-h\" option." +msgstr "ERROR: Требуется имя хоста после параметра \"-h\"" + +msgid "European Fanfold" +msgstr "" + +msgid "European Fanfold Legal" +msgstr "" + +msgid "Every 10 Labels" +msgstr "Каждые 10 этикеток" + +msgid "Every 2 Labels" +msgstr "Каждые 2 этикетки" + +msgid "Every 3 Labels" +msgstr "Каждые 3 этикетки" + +msgid "Every 4 Labels" +msgstr "Каждые 4 этикетки" + +msgid "Every 5 Labels" +msgstr "Каждые 5 этикеток" + +msgid "Every 6 Labels" +msgstr "Каждые 6 этикеток" + +msgid "Every 7 Labels" +msgstr "Каждые 7 этикеток" + +msgid "Every 8 Labels" +msgstr "Каждые 8 этикеток" + +msgid "Every 9 Labels" +msgstr "Каждые 9 этикеток" + +msgid "Every Label" +msgstr "Каждая этикетка" + +msgid "Executive" +msgstr "Executive" + +msgid "Expectation Failed" +msgstr "Сбой ожидания" + +msgid "Expressions:" +msgstr "Выражение:" + +msgid "Fast Grayscale" +msgstr "" + +#, c-format +msgid "File \"%s\" contains a relative path." +msgstr "Файл \"%s\" содержит относительный путь." + +#, c-format +msgid "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "Файл \"%s\" имеет небезопасные права доступа (0%o/uid=%d/gid=%d)." + +#, c-format +msgid "File \"%s\" is a directory." +msgstr "Файл \"%s\" является каталогом." + +#, c-format +msgid "File \"%s\" not available: %s" +msgstr "Файл \"%s\" недоступен: %s" + +#, c-format +msgid "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "Файл \"%s\" права доступа OK (0%o/uid=%d/gid=%d)." + +msgid "File Folder" +msgstr "" + +#, c-format +msgid "" +"File device URIs have been disabled. To enable, see the FileDevice directive " +"in \"%s/cups-files.conf\"." +msgstr "" +"URI-адреса файлового устройства отключены! Чтобы включить их, используйте " +"параметр FileDevice в \"%s/cups-files.conf\"." + +#, c-format +msgid "Finished page %d." +msgstr "Последняя страница %d." + +msgid "Finishing Preset" +msgstr "" + +msgid "Fold" +msgstr "" + +msgid "Folio" +msgstr "Фолио" + +msgid "Forbidden" +msgstr "Запрещено" + +msgid "Found" +msgstr "" + +msgid "General" +msgstr "Основные" + +msgid "Generic" +msgstr "Общее" + +msgid "Get-Response-PDU uses indefinite length" +msgstr "Для Get-Response-PDU длина не установлена" + +msgid "Glossy Paper" +msgstr "Глянцевая бумага" + +msgid "Got a printer-uri attribute but no job-id." +msgstr "Получен атрибут printer-uri, но не job-id" + +msgid "Grayscale" +msgstr "Оттенки серого" + +msgid "HP" +msgstr "HP" + +msgid "Hanging Folder" +msgstr "Папка подвесного хранения" + +msgid "Hash buffer too small." +msgstr "" + +msgid "Help file not in index." +msgstr "Файл справки не проиндексирован." + +msgid "High" +msgstr "" + +msgid "IPP 1setOf attribute with incompatible value tags." +msgstr "IPP атрибут 1setOf с недопустимым значением." + +msgid "IPP attribute has no name." +msgstr "IPP атрибут не имеет имени." + +msgid "IPP attribute is not a member of the message." +msgstr "IPP атрибут не входит в состав сообщения." + +msgid "IPP begCollection value not 0 bytes." +msgstr "IPP значение begCollection не 0 байт." + +msgid "IPP boolean value not 1 byte." +msgstr "IPP двоичное значение не 1 байт." + +msgid "IPP date value not 11 bytes." +msgstr "IPP длина даты не 11 байтов." + +msgid "IPP endCollection value not 0 bytes." +msgstr "IPP значение endCollection не 0 байт." + +msgid "IPP enum value not 4 bytes." +msgstr "IPP значение enum не 4 байта." + +msgid "IPP extension tag larger than 0x7FFFFFFF." +msgstr "IPP extension tag больше чем 0x7FFFFFFF." + +msgid "IPP integer value not 4 bytes." +msgstr "IPP тип integer не 4 байта" + +msgid "IPP language length overflows value." +msgstr "IPP переполнение значения language length" + +msgid "IPP language length too large." +msgstr "IPP language length слишком длинное." + +msgid "IPP member name is not empty." +msgstr "IPP member name не пустое." + +msgid "IPP memberName value is empty." +msgstr "IPP memberName пустое значение." + +msgid "IPP memberName with no attribute." +msgstr "IPP memberName без атрибута." + +msgid "IPP name larger than 32767 bytes." +msgstr "IPP имя больше чем 32767 байт." + +msgid "IPP nameWithLanguage value less than minimum 4 bytes." +msgstr "IPP значение nameWithLanguage меньше минимума 4 байт." + +msgid "IPP octetString length too large." +msgstr "IPP octetString слишком длинное." + +msgid "IPP rangeOfInteger value not 8 bytes." +msgstr "IPP rangeOfInteger значение не 8 байт." + +msgid "IPP resolution value not 9 bytes." +msgstr "IPP resolution значение не 9 байт." + +msgid "IPP string length overflows value." +msgstr "IPP переполнение значения string length." + +msgid "IPP textWithLanguage value less than minimum 4 bytes." +msgstr "IPP textWithLanguage меньше минимума 4 байт." + +msgid "IPP value larger than 32767 bytes." +msgstr "IPP значение больше чем 32767 байт." + +msgid "IPPFIND_SERVICE_DOMAIN Domain name" +msgstr "" + +msgid "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" +msgstr "" + +msgid "IPPFIND_SERVICE_NAME Service instance name" +msgstr "" + +msgid "IPPFIND_SERVICE_PORT Port number" +msgstr "" + +msgid "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" +msgstr "" + +msgid "IPPFIND_SERVICE_SCHEME URI scheme" +msgstr "" + +msgid "IPPFIND_SERVICE_URI URI" +msgstr "" + +msgid "IPPFIND_TXT_* Value of TXT record key" +msgstr "" + +msgid "ISOLatin1" +msgstr "UTF-8" + +msgid "Illegal control character" +msgstr "Недействительный контрольный символ" + +msgid "Illegal main keyword string" +msgstr "Недействительная основная строка ключевых слов" + +msgid "Illegal option keyword string" +msgstr "Недействительная строка ключевых слов параметра" + +msgid "Illegal translation string" +msgstr "Недействительный перевод" + +msgid "Illegal whitespace character" +msgstr "Недействительный символ пробела" + +msgid "Installable Options" +msgstr "Параметры, разрешенные к установке" + +msgid "Installed" +msgstr "Установлено" + +msgid "IntelliBar Label Printer" +msgstr "Принтер для печати этикеток IntelliBar" + +msgid "Intellitech" +msgstr "Intellitech" + +msgid "Internal Server Error" +msgstr "Внутренняя Ошибка сервера" + +msgid "Internal error" +msgstr "Внутренняя ошибка" + +msgid "Internet Postage 2-Part" +msgstr "Наклейки Internet Postage 2-Part" + +msgid "Internet Postage 3-Part" +msgstr "Наклейки Internet Postage 3-Part" + +msgid "Internet Printing Protocol" +msgstr "Протокол интернет-печати" + +msgid "Invalid group tag." +msgstr "" + +msgid "Invalid media name arguments." +msgstr "Неверные аргументы имени бумаги." + +msgid "Invalid media size." +msgstr "Неверный размер бумаги." + +msgid "Invalid named IPP attribute in collection." +msgstr "" + +msgid "Invalid ppd-name value." +msgstr "" + +#, c-format +msgid "Invalid printer command \"%s\"." +msgstr "Неверная команда принтера \"%s\"." + +msgid "JCL" +msgstr "JCL" + +msgid "JIS B0" +msgstr "" + +msgid "JIS B1" +msgstr "" + +msgid "JIS B10" +msgstr "" + +msgid "JIS B2" +msgstr "" + +msgid "JIS B3" +msgstr "" + +msgid "JIS B4" +msgstr "" + +msgid "JIS B4 Long Edge" +msgstr "" + +msgid "JIS B5" +msgstr "" + +msgid "JIS B5 Long Edge" +msgstr "" + +msgid "JIS B6" +msgstr "" + +msgid "JIS B6 Long Edge" +msgstr "" + +msgid "JIS B7" +msgstr "" + +msgid "JIS B8" +msgstr "" + +msgid "JIS B9" +msgstr "" + +#, c-format +msgid "Job #%d cannot be restarted - no files." +msgstr "Задание #%d не может быть перезапущено - отсутствуют файлы." + +#, c-format +msgid "Job #%d does not exist." +msgstr "Задание #%d не существует." + +#, c-format +msgid "Job #%d is already aborted - can't cancel." +msgstr "Задание #%d уже прервано – не удается отменить." + +#, c-format +msgid "Job #%d is already canceled - can't cancel." +msgstr "Задание #%d уже отменено – не удается отменить." + +#, c-format +msgid "Job #%d is already completed - can't cancel." +msgstr "Задание #%d уже завершено – не удается отменить." + +#, c-format +msgid "Job #%d is finished and cannot be altered." +msgstr "Задание #%d завершено и не может быть изменено." + +#, c-format +msgid "Job #%d is not complete." +msgstr "Задание #%d не завершено." + +#, c-format +msgid "Job #%d is not held for authentication." +msgstr "Задание #%d не задержано для идентификации." + +#, c-format +msgid "Job #%d is not held." +msgstr "Задание #%d не задержано." + +msgid "Job Completed" +msgstr "Задание завершено" + +msgid "Job Created" +msgstr "Задание создано" + +msgid "Job Options Changed" +msgstr "Параметры задания изменены" + +msgid "Job Stopped" +msgstr "Задание остановлено" + +msgid "Job is completed and cannot be changed." +msgstr "Задание завершено и не может быть изменено." + +msgid "Job operation failed" +msgstr "Сбой операции задания." + +msgid "Job state cannot be changed." +msgstr "Состояние задания не может быть изменено." + +msgid "Job subscriptions cannot be renewed." +msgstr "Подписки на задание не могут быть обновлены." + +msgid "Jobs" +msgstr "Задания" + +msgid "LPD/LPR Host or Printer" +msgstr "Хост или принтер LPD/LPR" + +msgid "" +"LPDEST environment variable names default destination that does not exist." +msgstr "" + +msgid "Label Printer" +msgstr "Принтер для печати этикеток" + +msgid "Label Top" +msgstr "Верхний край этикетки" + +#, c-format +msgid "Language \"%s\" not supported." +msgstr "Язык \"%s\" не поддерживается." + +msgid "Large Address" +msgstr "Полный адрес" + +msgid "LaserJet Series PCL 4/5" +msgstr "Серия LaserJet, PCL 4/5" + +msgid "Letter Oversize" +msgstr "" + +msgid "Letter Oversize Long Edge" +msgstr "" + +msgid "Light" +msgstr "Светлый" + +msgid "Line longer than the maximum allowed (255 characters)" +msgstr "Строка длиннее разрешенного предела (255 символов)" + +msgid "List Available Printers" +msgstr "Список доступных принтеров" + +#, c-format +msgid "Listening on port %d." +msgstr "" + +msgid "Local printer created." +msgstr "" + +msgid "Long-Edge (Portrait)" +msgstr "По длинной стороне (книжная)" + +msgid "Looking for printer." +msgstr "Поиск принтера." + +msgid "Manual Feed" +msgstr "Ручная подача" + +msgid "Media Size" +msgstr "Размер бумаги" + +msgid "Media Source" +msgstr "Источник бумаги" + +msgid "Media Tracking" +msgstr "Контроль подачи бумаги" + +msgid "Media Type" +msgstr "Тип бумаги" + +msgid "Medium" +msgstr "Средний" + +msgid "Memory allocation error" +msgstr "Ошибка выделения памяти" + +msgid "Missing CloseGroup" +msgstr "Пропущен CloseGroup" + +msgid "Missing CloseUI/JCLCloseUI" +msgstr "" + +msgid "Missing PPD-Adobe-4.x header" +msgstr "Отсутствует заголовок PPD-Adobe-4.x" + +msgid "Missing asterisk in column 1" +msgstr "Отсутствует звездочка в колонке 1" + +msgid "Missing document-number attribute." +msgstr "Отсутствует атрибут document-number" + +msgid "Missing form variable" +msgstr "Отсутствует переменная формы" + +msgid "Missing last-document attribute in request." +msgstr "Отсутствует атрибут last-document в запросе." + +msgid "Missing media or media-col." +msgstr "Отсутствует media или media-col." + +msgid "Missing media-size in media-col." +msgstr "Отсутствует media-size в media-col." + +msgid "Missing notify-subscription-ids attribute." +msgstr "Отсутствует атрибут notify-subscription-ids" + +msgid "Missing option keyword" +msgstr "Отсутствует ключевое слово параметра" + +msgid "Missing requesting-user-name attribute." +msgstr "Отсутствует атрибут requesting-user-name." + +#, c-format +msgid "Missing required attribute \"%s\"." +msgstr "" + +msgid "Missing required attributes." +msgstr "Отсутствуют обязательные атрибуты." + +msgid "Missing resource in URI" +msgstr "Отсутствует resource в URI" + +msgid "Missing scheme in URI" +msgstr "Отсутствует scheme в URI" + +msgid "Missing value string" +msgstr "Отсутствует строка значения" + +msgid "Missing x-dimension in media-size." +msgstr "Отсутствует x-dimension в media-size." + +msgid "Missing y-dimension in media-size." +msgstr "Отсутствует y-dimension в media-size." + +#, c-format +msgid "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" +msgstr "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" + +msgid "Modifiers:" +msgstr "Управление:" + +msgid "Modify Class" +msgstr "Изменить группу" + +msgid "Modify Printer" +msgstr "Изменить принтер" + +msgid "Move All Jobs" +msgstr "Переместить все задания" + +msgid "Move Job" +msgstr "Переместить задание" + +msgid "Moved Permanently" +msgstr "Перемещено окончательно" + +msgid "NULL PPD file pointer" +msgstr "Указатель PPD-файла установлен на NULL" + +msgid "Name OID uses indefinite length" +msgstr "Для имени OID длина не установлена" + +msgid "Nested classes are not allowed." +msgstr "Вложенные группы не допускаются." + +msgid "Never" +msgstr "Никогда" + +msgid "New credentials are not valid for name." +msgstr "" + +msgid "New credentials are older than stored credentials." +msgstr "" + +msgid "No" +msgstr "Нет" + +msgid "No Content" +msgstr "Нет содержимого" + +msgid "No IPP attributes." +msgstr "" + +msgid "No PPD name" +msgstr "Нет имени PPD" + +msgid "No VarBind SEQUENCE" +msgstr "Нет последовательности VarBind" + +msgid "No active connection" +msgstr "Нет рабочего подключения" + +msgid "No active connection." +msgstr "Нет рабочего подключения." + +#, c-format +msgid "No active jobs on %s." +msgstr "Нет активных заданий на %s" + +msgid "No attributes in request." +msgstr "Нет атрибутов в запросе." + +msgid "No authentication information provided." +msgstr "Нет информации для проверки подлинности." + +msgid "No common name specified." +msgstr "" + +msgid "No community name" +msgstr "Нет имени сообщества" + +msgid "No default destination." +msgstr "" + +msgid "No default printer." +msgstr "Нет принтера по умолчанию." + +msgid "No destinations added." +msgstr "Нет добавленных назначений." + +msgid "No device URI found in argv[0] or in DEVICE_URI environment variable." +msgstr "" +"Не обнаружено URI устройства в argv[0] или в переменной окружения DEVICE_URI" + +msgid "No error-index" +msgstr "Нет значения error-index" + +msgid "No error-status" +msgstr "Нет значения error-status" + +msgid "No file in print request." +msgstr "Нет файла в запросе на печать." + +msgid "No modification time" +msgstr "Не указано время изменения" + +msgid "No name OID" +msgstr "Нет имени OID" + +msgid "No pages were found." +msgstr "Страницы не были найдены." + +msgid "No printer name" +msgstr "Нет имени принтера" + +msgid "No printer-uri found" +msgstr "Не указан адрес printer-uri" + +msgid "No printer-uri found for class" +msgstr "Не указан адрес printer-uri для группы" + +msgid "No printer-uri in request." +msgstr "Нет адреса printer-uri в запросе." + +msgid "No request URI." +msgstr "Нет запроса URI." + +msgid "No request protocol version." +msgstr "Нет запроса версии протокола." + +msgid "No request sent." +msgstr "Не отправлен запрос." + +msgid "No request-id" +msgstr "Нет идентификатора request-id" + +msgid "No stored credentials, not valid for name." +msgstr "" + +msgid "No subscription attributes in request." +msgstr "Нет атрибутов подписки в запросе." + +msgid "No subscriptions found." +msgstr "Подписки не найдены." + +msgid "No variable-bindings SEQUENCE" +msgstr "Нет последовательности variable-bindings" + +msgid "No version number" +msgstr "Нет номера версии" + +msgid "Non-continuous (Mark sensing)" +msgstr "С прерыванием (Mark sensing)" + +msgid "Non-continuous (Web sensing)" +msgstr "С прерыванием (Web sensing)" + +msgid "None" +msgstr "" + +msgid "Normal" +msgstr "Нормальный" + +msgid "Not Found" +msgstr "Не найден" + +msgid "Not Implemented" +msgstr "Не реализовано" + +msgid "Not Installed" +msgstr "Не установлено" + +msgid "Not Modified" +msgstr "Не изменено" + +msgid "Not Supported" +msgstr "Не поддерживается" + +msgid "Not allowed to print." +msgstr "Не разрешено печатать." + +msgid "Note" +msgstr "Примечание" + +msgid "OK" +msgstr "ОК" + +msgid "Off (1-Sided)" +msgstr "Выкл. (1-сторонняя печать)" + +msgid "Oki" +msgstr "Oki" + +msgid "Online Help" +msgstr "Интернет справка" + +msgid "Only local users can create a local printer." +msgstr "" + +#, c-format +msgid "Open of %s failed: %s" +msgstr "Не удалось открыть %s: %s" + +msgid "OpenGroup without a CloseGroup first" +msgstr "OpenGroup без предыдущего CloseGroup" + +msgid "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" +msgstr "OpenUI/JCLOpenUI без предыдущего CloseUI/JCLCloseUI" + +msgid "Operation Policy" +msgstr "Политика операций" + +#, c-format +msgid "Option \"%s\" cannot be included via %%%%IncludeFeature." +msgstr "Параметр \"%s\" не может быть добавлен через %%%%IncludeFeature." + +msgid "Options Installed" +msgstr "Доп.устройства" + +msgid "Options:" +msgstr "Параметры:" + +msgid "Other Media" +msgstr "" + +msgid "Other Tray" +msgstr "" + +msgid "Out of date PPD cache file." +msgstr "Устаревший файл кеша PPD" + +msgid "Out of memory." +msgstr "Недостаточно памяти." + +msgid "Output Mode" +msgstr "Режим вывода" + +msgid "PCL Laser Printer" +msgstr "Лазерный принтер PCL" + +msgid "PRC16K" +msgstr "PRC16K" + +msgid "PRC16K Long Edge" +msgstr "" + +msgid "PRC32K" +msgstr "PRC32K" + +msgid "PRC32K Long Edge" +msgstr "" + +msgid "PRC32K Oversize" +msgstr "" + +msgid "PRC32K Oversize Long Edge" +msgstr "" + +msgid "" +"PRINTER environment variable names default destination that does not exist." +msgstr "" + +msgid "Packet does not contain a Get-Response-PDU" +msgstr "В пакете нет Get-Response-PDU" + +msgid "Packet does not start with SEQUENCE" +msgstr "Нет индикатора SEQUENCE в начале пакета" + +msgid "ParamCustominCutInterval" +msgstr "ParamCustominCutInterval" + +msgid "ParamCustominTearInterval" +msgstr "ParamCustominTearInterval" + +#, c-format +msgid "Password for %s on %s? " +msgstr "Пароль для %s на %s? " + +msgid "Pause Class" +msgstr "Приостановить группу" + +msgid "Pause Printer" +msgstr "Приостановить принтер" + +msgid "Peel-Off" +msgstr "Съемный слой" + +msgid "Photo" +msgstr "Фото" + +msgid "Photo Labels" +msgstr "Фотоэтикетки" + +msgid "Plain Paper" +msgstr "Обычная бумага" + +msgid "Policies" +msgstr "Политики" + +msgid "Port Monitor" +msgstr "Мониторинг порта" + +msgid "PostScript Printer" +msgstr "Принтер PostScript" + +msgid "Postcard" +msgstr "Открытка" + +msgid "Postcard Double" +msgstr "" + +msgid "Postcard Double Long Edge" +msgstr "Открытка двойная Long Edge" + +msgid "Postcard Long Edge" +msgstr "Открытка Long Edge" + +msgid "Preparing to print." +msgstr "Подготовка к печати." + +msgid "Print Density" +msgstr "Плотность печати" + +msgid "Print Job:" +msgstr "Задание печати:" + +msgid "Print Mode" +msgstr "Режим печати" + +msgid "Print Quality" +msgstr "" + +msgid "Print Rate" +msgstr "Скорость печати" + +msgid "Print Self-Test Page" +msgstr "Напечатать пробную страницу" + +msgid "Print Speed" +msgstr "Скорость печати" + +msgid "Print Test Page" +msgstr "Напечатать пробную страницу" + +msgid "Print and Cut" +msgstr "Напечатать и обрезать" + +msgid "Print and Tear" +msgstr "Напечатать и оборвать" + +msgid "Print file sent." +msgstr "Файл печати отправлен." + +msgid "Print job canceled at printer." +msgstr "Задание отменено на принтере." + +msgid "Print job too large." +msgstr "Задание слишком большое." + +msgid "Print job was not accepted." +msgstr "Задание не принято." + +#, c-format +msgid "Printer \"%s\" already exists." +msgstr "" + +msgid "Printer Added" +msgstr "Принтер добавлен" + +msgid "Printer Default" +msgstr "Принтер выбран по умолчанию" + +msgid "Printer Deleted" +msgstr "Принтер удален" + +msgid "Printer Modified" +msgstr "Принтер изменен" + +msgid "Printer Paused" +msgstr "Принтер приостановлен" + +msgid "Printer Settings" +msgstr "Параметры принтера" + +msgid "Printer cannot print supplied content." +msgstr "Принтер не может распечатать содержимое." + +msgid "Printer cannot print with supplied options." +msgstr "Принтер не может печатать с данными параметрами." + +msgid "Printer does not support required IPP attributes or document formats." +msgstr "" + +msgid "Printer:" +msgstr "Принтер:" + +msgid "Printers" +msgstr "Принтеры" + +#, c-format +msgid "Printing page %d, %u%% complete." +msgstr "Печать страницы %d, %u%% завершена." + +msgid "Punch" +msgstr "" + +msgid "Quarto" +msgstr "Кватро" + +msgid "Quota limit reached." +msgstr "Предел квоты достигнут." + +msgid "Rank Owner Job File(s) Total Size" +msgstr "" +"Ранг Владелец Задание Файл(ы) Общий размер" + +msgid "Reject Jobs" +msgstr "Отклонить задания" + +#, c-format +msgid "Remote host did not accept control file (%d)." +msgstr "Удаленный хост не принял контрольный файл (%d)." + +#, c-format +msgid "Remote host did not accept data file (%d)." +msgstr "Удаленный хост не принял файл данных (%d)." + +msgid "Reprint After Error" +msgstr "Повторить печать после ошибки" + +msgid "Request Entity Too Large" +msgstr "Слишком большое содержимое запроса" + +msgid "Resolution" +msgstr "Разрешение" + +msgid "Resume Class" +msgstr "Возобновить работу группы" + +msgid "Resume Printer" +msgstr "Возобновить работу принтера" + +msgid "Return Address" +msgstr "Обратный адрес" + +msgid "Rewind" +msgstr "Вернуться в начало" + +msgid "SEQUENCE uses indefinite length" +msgstr "Для SEQUENCE длина не установлена" + +msgid "SSL/TLS Negotiation Error" +msgstr "SSL/TLS Negotiation Error" + +msgid "See Other" +msgstr "Посмотреть другие" + +msgid "See remote printer." +msgstr "" + +msgid "Self-signed credentials are blocked." +msgstr "" + +msgid "Sending data to printer." +msgstr "Отправка данных на принтер." + +msgid "Server Restarted" +msgstr "Сервер перезагружен" + +msgid "Server Security Auditing" +msgstr "Проверка безопасности сервера" + +msgid "Server Started" +msgstr "Сервер загружен" + +msgid "Server Stopped" +msgstr "Сервер остановлен" + +msgid "Server credentials not set." +msgstr "Учетные данные сервера не заданы." + +msgid "Service Unavailable" +msgstr "Служба недоступна" + +msgid "Set Allowed Users" +msgstr "Указать допущенных пользователей" + +msgid "Set As Server Default" +msgstr "Использовать данный сервер по умолчанию" + +msgid "Set Class Options" +msgstr "Настроить параметры группы" + +msgid "Set Printer Options" +msgstr "Настроить параметры принтера" + +msgid "Set Publishing" +msgstr "Настроить публикацию" + +msgid "Shipping Address" +msgstr "Адрес доставки" + +msgid "Short-Edge (Landscape)" +msgstr "По короткой стороне (альбомная)" + +msgid "Special Paper" +msgstr "Особая бумага" + +#, c-format +msgid "Spooling job, %.0f%% complete." +msgstr "Постановка в очередь, %.0f%% завершено." + +msgid "Standard" +msgstr "Стандартный" + +msgid "Staple" +msgstr "" + +#. TRANSLATORS: Banner/cover sheet before the print job. +msgid "Starting Banner" +msgstr "Стартовый баннер" + +#, c-format +msgid "Starting page %d." +msgstr "Главная страница %d." + +msgid "Statement" +msgstr "Оператор" + +#, c-format +msgid "Subscription #%d does not exist." +msgstr "Подписка #%d не существует." + +msgid "Substitutions:" +msgstr "Замещения:" + +msgid "Super A" +msgstr "Super A" + +msgid "Super B" +msgstr "Super B" + +msgid "Super B/A3" +msgstr "Super B/A3" + +msgid "Switching Protocols" +msgstr "Протоколы переключения" + +msgid "Tabloid" +msgstr "Tabloid" + +msgid "Tabloid Oversize" +msgstr "" + +msgid "Tabloid Oversize Long Edge" +msgstr "" + +msgid "Tear" +msgstr "Оборвать" + +msgid "Tear-Off" +msgstr "Место отрыва" + +msgid "Tear-Off Adjust Position" +msgstr "Откорректировать положение места отрыва" + +#, c-format +msgid "The \"%s\" attribute is required for print jobs." +msgstr "Атрибут \"%s\" требуется для печати задания." + +#, c-format +msgid "The %s attribute cannot be provided with job-ids." +msgstr "Атрибут %s не может быть использован с job-ids." + +#, c-format +msgid "" +"The '%s' Job Status attribute cannot be supplied in a job creation request." +msgstr "" + +#, c-format +msgid "" +"The '%s' operation attribute cannot be supplied in a Create-Job request." +msgstr "Атрибут '%s' не может быть подставлен в запрос Create-Job" + +#, c-format +msgid "The PPD file \"%s\" could not be found." +msgstr "Не удается найти PPD-файл \"%s\"." + +#, c-format +msgid "The PPD file \"%s\" could not be opened: %s" +msgstr "Не удалось открыть PPD-файл \"%s\": %s" + +msgid "The PPD file could not be opened." +msgstr "Не удалось открыть PPD-файл." + +msgid "" +"The class name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/), or the pound sign (#)." +msgstr "" +"Имя группы может содержать максимально 127 печатных символов и не может " +"содержать пробелы, дроби (/) или знак \"решетки\" (#)." + +msgid "" +"The notify-lease-duration attribute cannot be used with job subscriptions." +msgstr "" +"Атрибут notify-lease-duration не может использоваться с подписками на " +"задание." + +#, c-format +msgid "The notify-user-data value is too large (%d > 63 octets)." +msgstr "Значение notify-user-data слишком большое(%d > 63 октета)" + +msgid "The printer configuration is incorrect or the printer no longer exists." +msgstr "Неправильная конфигурация принтера, или принтер больше не доступен." + +msgid "The printer did not respond." +msgstr "Принтер не отвечает." + +msgid "The printer is in use." +msgstr "Принтер используется." + +msgid "The printer is not connected." +msgstr "Принтер не подключен." + +msgid "The printer is not responding." +msgstr "Принтер не отвечает." + +msgid "The printer is now connected." +msgstr "Принтер подключен." + +msgid "The printer is now online." +msgstr "Принтер подключен." + +msgid "The printer is offline." +msgstr "Принтер выключен." + +msgid "The printer is unreachable at this time." +msgstr "В настоящее время принтер недоступен." + +msgid "The printer may not exist or is unavailable at this time." +msgstr "Возможно принтер недоступен в настоящее время." + +msgid "" +"The printer name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the " +"pound sign (#)." +msgstr "" + +msgid "The printer or class does not exist." +msgstr "Принтер или группа не существует." + +msgid "The printer or class is not shared." +msgstr "Принтер или группа без совместного доступа." + +#, c-format +msgid "The printer-uri \"%s\" contains invalid characters." +msgstr "printer-uri \"%s\" содержит недопустимые символы." + +msgid "The printer-uri attribute is required." +msgstr "Для printer-uri требуется атрибут." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." +msgstr "printer-uri должен иметь форму «ipp://HOSTNAME/classes/CLASSNAME»." + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." +msgstr "printer-uri должен иметь форму «ipp://HOSTNAME/printers/PRINTERNAME»." + +msgid "" +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to " +"enable it." +msgstr "" +"Web интерфейс сейчас отключен. Выполните \"cupsctl WebInterface=yes\" для " +"включения." + +#, c-format +msgid "The which-jobs value \"%s\" is not supported." +msgstr "Значение \"%s\" для which-jobs не поддерживается." + +msgid "There are too many subscriptions." +msgstr "Слишком много подписок." + +msgid "There was an unrecoverable USB error." +msgstr "Обнаружена ошибка USB." + +msgid "Thermal Transfer Media" +msgstr "Носитель для печати методом термопереноса" + +msgid "Too many active jobs." +msgstr "Слишком много активных заданий." + +#, c-format +msgid "Too many job-sheets values (%d > 2)." +msgstr "Слишком много значений job-sheets (%d>2)" + +#, c-format +msgid "Too many printer-state-reasons values (%d > %d)." +msgstr "Слишком много значений printer-state-reasons (%d > %d)" + +msgid "Transparency" +msgstr "Прозрачность" + +msgid "Tray" +msgstr "Лоток" + +msgid "Tray 1" +msgstr "Лоток 1" + +msgid "Tray 2" +msgstr "Лоток 2" + +msgid "Tray 3" +msgstr "Лоток 3" + +msgid "Tray 4" +msgstr "Лоток 4" + +msgid "Trust on first use is disabled." +msgstr "" + +msgid "URI Too Long" +msgstr "Слишком длинный адрес URI" + +msgid "URI too large" +msgstr "Слишком большой адрес URI" + +msgid "US Fanfold" +msgstr "" + +msgid "US Ledger" +msgstr "US Ledger" + +msgid "US Legal" +msgstr "US Legal" + +msgid "US Legal Oversize" +msgstr "" + +msgid "US Letter" +msgstr "US Letter" + +msgid "US Letter Long Edge" +msgstr "" + +msgid "US Letter Oversize" +msgstr "" + +msgid "US Letter Oversize Long Edge" +msgstr "" + +msgid "US Letter Small" +msgstr "" + +msgid "Unable to access cupsd.conf file" +msgstr "Не удается получить доступ к файлу \"cupsd.conf\"" + +msgid "Unable to access help file." +msgstr "Не удается получить доступ к файлу помощи." + +msgid "Unable to add class" +msgstr "Не удается добавить группу" + +msgid "Unable to add document to print job." +msgstr "Не удается добавить документ в задание печати." + +#, c-format +msgid "Unable to add job for destination \"%s\"." +msgstr "Не удается добавить задание для назначения \"%s\"" + +msgid "Unable to add printer" +msgstr "Не удается добавить принтер" + +msgid "Unable to allocate memory for file types." +msgstr "Не удается выделить память для типов файлов." + +msgid "Unable to allocate memory for page info" +msgstr "Не удается выделить память для страницы информации" + +msgid "Unable to allocate memory for pages array" +msgstr "Не удается выделить память для страниц" + +msgid "Unable to allocate memory for printer" +msgstr "" + +msgid "Unable to cancel print job." +msgstr "Не удается отменить задание печати." + +msgid "Unable to change printer" +msgstr "Не удается изменить принтер" + +msgid "Unable to change printer-is-shared attribute" +msgstr "Не удается изменить атрибут printer-is-shared" + +msgid "Unable to change server settings" +msgstr "Не удается изменить настройки сервера" + +#, c-format +msgid "Unable to compile mimeMediaType regular expression: %s." +msgstr "Не удается компилировать mimeMediaType регулярное выражение: %s." + +#, c-format +msgid "Unable to compile naturalLanguage regular expression: %s." +msgstr "Не удается компилировать naturalLanguage регулярное выражение: %s." + +msgid "Unable to configure printer options." +msgstr "Не удается настроить параметры принтера." + +msgid "Unable to connect to host." +msgstr "Не удается подключиться к хосту." + +msgid "Unable to contact printer, queuing on next printer in class." +msgstr "" +"Не удается установить связь с принтером, постановка в очередь на следующем " +"принтере в группе." + +#, c-format +msgid "Unable to copy PPD file - %s" +msgstr "Не удается копировать PPD-файл - %s" + +msgid "Unable to copy PPD file." +msgstr "Не удается копировать PPD-файл." + +msgid "Unable to create credentials from array." +msgstr "" + +msgid "Unable to create printer-uri" +msgstr "Не удается создать printer-uri" + +msgid "Unable to create printer." +msgstr "" + +msgid "Unable to create server credentials." +msgstr "Не удается создать учетные данные сервера." + +#, c-format +msgid "Unable to create spool directory \"%s\": %s" +msgstr "" + +msgid "Unable to create temporary file" +msgstr "Не удается создать временный файл" + +msgid "Unable to delete class" +msgstr "Не удается удалить группу" + +msgid "Unable to delete printer" +msgstr "Не удается удалить принтер" + +msgid "Unable to do maintenance command" +msgstr "Не удается выполнить команду обслуживания" + +msgid "Unable to edit cupsd.conf files larger than 1MB" +msgstr "Невозможно редактировать файлы cupsd.conf больше 1 МБ" + +#, c-format +msgid "Unable to establish a secure connection to host (%d)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (certificate chain invalid)." +msgstr "" +"Не удается установить защищенное соединение (неправильная цепочка " +"сертификатов)." + +msgid "" +"Unable to establish a secure connection to host (certificate not yet valid)." +msgstr "" +"Не удается установить защищенное соединение (недействительный сертификат)." + +msgid "Unable to establish a secure connection to host (expired certificate)." +msgstr "Не удается установить защищенное соединение (сертификат просрочен)." + +msgid "Unable to establish a secure connection to host (host name mismatch)." +msgstr "" +"Не удается установить защищенное соединение (несовпадение имени хоста)." + +msgid "" +"Unable to establish a secure connection to host (peer dropped connection " +"before responding)." +msgstr "" +"Не удается установить защищенное соединение (соединение разорвано удаленной " +"стороной.)" + +msgid "" +"Unable to establish a secure connection to host (self-signed certificate)." +msgstr "" +"Не удается установить защищенное соединение (самоподписанный сертификат)." + +msgid "" +"Unable to establish a secure connection to host (untrusted certificate)." +msgstr "Не удается установить защищенное соединение (ненадежный сертификат)." + +msgid "Unable to establish a secure connection to host." +msgstr "Не удается установить защищенное соединение." + +#, c-format +msgid "Unable to execute command \"%s\": %s" +msgstr "" + +msgid "Unable to find destination for job" +msgstr "Не удается найти назначение для задания" + +msgid "Unable to find printer." +msgstr "Не удается найти принтер." + +msgid "Unable to find server credentials." +msgstr "Не удается найти учетные данные сервера." + +msgid "Unable to get backend exit status." +msgstr "Не удается получить код завершения от backend." + +msgid "Unable to get class list" +msgstr "Не удается получить список групп" + +msgid "Unable to get class status" +msgstr "Не удается получить статус групп" + +msgid "Unable to get list of printer drivers" +msgstr "Не удается получить список драйверов принтера" + +msgid "Unable to get printer attributes" +msgstr "Не удается получить атрибуты принтера" + +msgid "Unable to get printer list" +msgstr "Не удается получить список принтеров" + +msgid "Unable to get printer status" +msgstr "Не удается получить статус принтера" + +msgid "Unable to get printer status." +msgstr "Не удается получить статус принтера." + +msgid "Unable to load help index." +msgstr "Не удается загрузить содержание справки." + +#, c-format +msgid "Unable to locate printer \"%s\"." +msgstr "Принтер \"%s\" не найден" + +msgid "Unable to locate printer." +msgstr "Принтер не найден" + +msgid "Unable to modify class" +msgstr "Не удается изменить группу" + +msgid "Unable to modify printer" +msgstr "Не удается изменить принтер" + +msgid "Unable to move job" +msgstr "Не удается переместить задание" + +msgid "Unable to move jobs" +msgstr "Не удается переместить задания" + +msgid "Unable to open PPD file" +msgstr "Не удается открыть PPD-файл" + +msgid "Unable to open cupsd.conf file:" +msgstr "Не удается открыть файл cupsd.conf:" + +msgid "Unable to open device file" +msgstr "Не удается открыть файл устройства" + +#, c-format +msgid "Unable to open document #%d in job #%d." +msgstr "Не удается открыть документ #%d в задании #%d." + +msgid "Unable to open help file." +msgstr "Не удается открыть файл справки." + +msgid "Unable to open print file" +msgstr "Не удается открыть файл печати" + +msgid "Unable to open raster file" +msgstr "Не удается открыть растровый файл" + +msgid "Unable to print test page" +msgstr "Не удается напечатать пробную страницу" + +msgid "Unable to read print data." +msgstr "Не удается считать данные печати." + +#, c-format +msgid "Unable to register \"%s.%s\": %d" +msgstr "" + +msgid "Unable to rename job document file." +msgstr "" + +msgid "Unable to resolve printer-uri." +msgstr "Не удается определить printer-uri" + +msgid "Unable to see in file" +msgstr "Не удается увидеть в файле" + +msgid "Unable to send command to printer driver" +msgstr "Не удается отправить команду драйверу принтера" + +msgid "Unable to send data to printer." +msgstr "Не удается отправить данные на принтер." + +msgid "Unable to set options" +msgstr "Не удается настроить параметры" + +msgid "Unable to set server default" +msgstr "Не удается назначить сервер используемым по умолчанию" + +msgid "Unable to start backend process." +msgstr "Не удается запустить фоновый процесс" + +msgid "Unable to upload cupsd.conf file" +msgstr "Не удается загрузить файл cupsd.conf" + +msgid "Unable to use legacy USB class driver." +msgstr "Не удается использовать устаревший драйвер USB." + +msgid "Unable to write print data" +msgstr "Не удается записать данные печати" + +#, c-format +msgid "Unable to write uncompressed print data: %s" +msgstr "Не удается записать несжатые данные печати: %s" + +msgid "Unauthorized" +msgstr "В доступе отказано" + +msgid "Units" +msgstr "Единицы" + +msgid "Unknown" +msgstr "Неизвестный" + +#, c-format +msgid "Unknown choice \"%s\" for option \"%s\"." +msgstr "Неизвестный выбор \"%s\" для параметра \"%s\"." + +#, c-format +msgid "Unknown directive \"%s\" on line %d of \"%s\" ignored." +msgstr "" + +#, c-format +msgid "Unknown encryption option value: \"%s\"." +msgstr "Неизвестное значение \"%s\" параметра шифрования." + +#, c-format +msgid "Unknown file order: \"%s\"." +msgstr "Неизвестный порядок файлов \"%s\"." + +#, c-format +msgid "Unknown format character: \"%c\"." +msgstr "Символ неизвестного формата \"%c\"." + +msgid "Unknown hash algorithm." +msgstr "" + +msgid "Unknown media size name." +msgstr "Неизвестное имя размера бумаги." + +#, c-format +msgid "Unknown option \"%s\" with value \"%s\"." +msgstr "Неизвестный параметр \"%s\" со значением \"%s\"." + +#, c-format +msgid "Unknown option \"%s\"." +msgstr "Неизвестный параметр \"%s\"." + +#, c-format +msgid "Unknown print mode: \"%s\"." +msgstr "Неизвестный режим печати: \"%s\"." + +#, c-format +msgid "Unknown printer-error-policy \"%s\"." +msgstr "Неизвестная политика printer-error-policy \"%s\"." + +#, c-format +msgid "Unknown printer-op-policy \"%s\"." +msgstr "Неизвестная политика printer-op-policy \"%s\"." + +msgid "Unknown request method." +msgstr "Неизвестный метод запроса." + +msgid "Unknown request version." +msgstr "Неизвестный запрос версии." + +msgid "Unknown scheme in URI" +msgstr "Неизвестный scheme в URI" + +msgid "Unknown service name." +msgstr "Неизвестное имя сервиса." + +#, c-format +msgid "Unknown version option value: \"%s\"." +msgstr "Неизвестное значение параметра версии \"%s\"." + +#, c-format +msgid "Unsupported 'compression' value \"%s\"." +msgstr "Неподдерживаемое значение 'compression' \"%s\"." + +#, c-format +msgid "Unsupported 'document-format' value \"%s\"." +msgstr "Неподдерживаемое значение'document-format' \"%s\"." + +msgid "Unsupported 'job-hold-until' value." +msgstr "" + +msgid "Unsupported 'job-name' value." +msgstr "Неподдерживаемое значение 'job-name'." + +#, c-format +msgid "Unsupported character set \"%s\"." +msgstr "Неподдерживаемый набор символов \"%s\"." + +#, c-format +msgid "Unsupported compression \"%s\"." +msgstr "Неподдерживаемое сжатие \"%s\"." + +#, c-format +msgid "Unsupported document-format \"%s\"." +msgstr "Неподдерживаемый document-format \"%s\"." + +#, c-format +msgid "Unsupported document-format \"%s/%s\"." +msgstr "Неподдерживаемый document-format \"%s/%s\"." + +#, c-format +msgid "Unsupported format \"%s\"." +msgstr "Неподдерживаемый формат \"%s\"." + +msgid "Unsupported margins." +msgstr "Неподдерживаемые поля." + +msgid "Unsupported media value." +msgstr "Неподдерживаемое значение бумаги." + +#, c-format +msgid "Unsupported number-up value %d, using number-up=1." +msgstr "" +"Неподдерживаемое значение number-up %d, используется значение number-up=1." + +#, c-format +msgid "Unsupported number-up-layout value %s, using number-up-layout=lrtb." +msgstr "" +"Неподдерживаемое значение number-up-layout %s, используется значение number-" +"up-layout=lrtb." + +#, c-format +msgid "Unsupported page-border value %s, using page-border=none." +msgstr "" +"Неподдерживаемое значение page-border %s, используется значение page-" +"border=none." + +msgid "Unsupported raster data." +msgstr "Неподдерживаемые данные растра." + +msgid "Unsupported value type" +msgstr "Неподдерживаемый тип значения" + +msgid "Upgrade Required" +msgstr "Требуется обновление" + +#, c-format +msgid "Usage: %s [options] destination(s)" +msgstr "" + +#, c-format +msgid "Usage: %s job-id user title copies options [file]" +msgstr "" + +msgid "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" +msgstr "" + +msgid "Usage: cupsctl [options] [param=value ... paramN=valueN]" +msgstr "" + +msgid "Usage: cupsd [options]" +msgstr "" + +msgid "Usage: cupsfilter [ options ] [ -- ] filename" +msgstr "" + +msgid "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" +msgstr "" + +msgid "Usage: ippeveprinter [options] \"name\"" +msgstr "" + +msgid "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" +msgstr "" +"Использование:\n" +" ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" + +msgid "Usage: ipptool [options] URI filename [ ... filenameN ]" +msgstr "" + +msgid "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" +msgstr "" + +msgid "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" +msgstr "" + +msgid "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" +msgstr "" + +msgid "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" +msgstr "" + +msgid "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" +msgstr "" + +msgid "Usage: lpq [options] [+interval]" +msgstr "" + +msgid "Usage: lpr [options] [file(s)]" +msgstr "" + +msgid "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" +msgstr "" + +msgid "Usage: lpstat [options]" +msgstr "" + +msgid "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" +msgstr "" + +msgid "Usage: ppdhtml [options] filename.drv >filename.html" +msgstr "" + +msgid "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "" + +msgid "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "" + +msgid "" +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" +msgstr "" + +msgid "Usage: snmp [host-or-ip-address]" +msgstr "" + +#, c-format +msgid "Using spool directory \"%s\"." +msgstr "" + +msgid "Value uses indefinite length" +msgstr "Для значения длина не установлена" + +msgid "VarBind uses indefinite length" +msgstr "Для VarBind длина не установлена" + +msgid "Version uses indefinite length" +msgstr "Для Version длина не установлена" + +msgid "Waiting for job to complete." +msgstr "Ожидание выполнения задания." + +msgid "Waiting for printer to become available." +msgstr "Ожидание доступа к принтеру." + +msgid "Waiting for printer to finish." +msgstr "Ожидание окончания работы принтера." + +msgid "Warning: This program will be removed in a future version of CUPS." +msgstr "" + +msgid "Web Interface is Disabled" +msgstr "Web интерфейс отключен" + +msgid "Yes" +msgstr "Да" + +msgid "You cannot access this page." +msgstr "" + +#, c-format +msgid "You must access this page using the URL https://%s:%d%s." +msgstr "" +"Вы должны получить доступ к этой странице с помощью URL https://%s:%d%s" + +msgid "Your account does not have the necessary privileges." +msgstr "" + +msgid "ZPL Label Printer" +msgstr "Принтер для печати этикеток ZPL" + +msgid "Zebra" +msgstr "Zebra" + +msgid "aborted" +msgstr "прервано" + +#. TRANSLATORS: Accuracy Units +msgid "accuracy-units" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "accuracy-units.mm" +msgstr "" + +#. TRANSLATORS: Nanometers +msgid "accuracy-units.nm" +msgstr "" + +#. TRANSLATORS: Micrometers +msgid "accuracy-units.um" +msgstr "" + +#. TRANSLATORS: Bale Output +msgid "baling" +msgstr "" + +#. TRANSLATORS: Bale Using +msgid "baling-type" +msgstr "" + +#. TRANSLATORS: Band +msgid "baling-type.band" +msgstr "" + +#. TRANSLATORS: Shrink Wrap +msgid "baling-type.shrink-wrap" +msgstr "" + +#. TRANSLATORS: Wrap +msgid "baling-type.wrap" +msgstr "" + +#. TRANSLATORS: Bale After +msgid "baling-when" +msgstr "" + +#. TRANSLATORS: Job +msgid "baling-when.after-job" +msgstr "" + +#. TRANSLATORS: Sets +msgid "baling-when.after-sets" +msgstr "" + +#. TRANSLATORS: Bind Output +msgid "binding" +msgstr "" + +#. TRANSLATORS: Bind Edge +msgid "binding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "binding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "binding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "binding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "binding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Binder Type +msgid "binding-type" +msgstr "" + +#. TRANSLATORS: Adhesive +msgid "binding-type.adhesive" +msgstr "" + +#. TRANSLATORS: Comb +msgid "binding-type.comb" +msgstr "" + +#. TRANSLATORS: Flat +msgid "binding-type.flat" +msgstr "" + +#. TRANSLATORS: Padding +msgid "binding-type.padding" +msgstr "" + +#. TRANSLATORS: Perfect +msgid "binding-type.perfect" +msgstr "" + +#. TRANSLATORS: Spiral +msgid "binding-type.spiral" +msgstr "" + +#. TRANSLATORS: Tape +msgid "binding-type.tape" +msgstr "" + +#. TRANSLATORS: Velo +msgid "binding-type.velo" +msgstr "" + +msgid "canceled" +msgstr "отменено" + +#. TRANSLATORS: Chamber Humidity +msgid "chamber-humidity" +msgstr "" + +#. TRANSLATORS: Chamber Temperature +msgid "chamber-temperature" +msgstr "" + +#. TRANSLATORS: Print Job Cost +msgid "charge-info-message" +msgstr "" + +#. TRANSLATORS: Coat Sheets +msgid "coating" +msgstr "" + +#. TRANSLATORS: Add Coating To +msgid "coating-sides" +msgstr "" + +#. TRANSLATORS: Back +msgid "coating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "coating-sides.both" +msgstr "" + +#. TRANSLATORS: Front +msgid "coating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Coating +msgid "coating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "coating-type.archival" +msgstr "" + +#. TRANSLATORS: Archival Glossy +msgid "coating-type.archival-glossy" +msgstr "" + +#. TRANSLATORS: Archival Matte +msgid "coating-type.archival-matte" +msgstr "" + +#. TRANSLATORS: Archival Semi Gloss +msgid "coating-type.archival-semi-gloss" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "coating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "coating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "coating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "coating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Silicone +msgid "coating-type.silicone" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "coating-type.translucent" +msgstr "" + +msgid "completed" +msgstr "завершено" + +#. TRANSLATORS: Print Confirmation Sheet +msgid "confirmation-sheet-print" +msgstr "" + +#. TRANSLATORS: Copies +msgid "copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "cover-front" +msgstr "" + +#. TRANSLATORS: Cover Sheet Info +msgid "cover-sheet-info" +msgstr "" + +#. TRANSLATORS: Date Time +msgid "cover-sheet-info-supported.date-time" +msgstr "" + +#. TRANSLATORS: From Name +msgid "cover-sheet-info-supported.from-name" +msgstr "" + +#. TRANSLATORS: Logo +msgid "cover-sheet-info-supported.logo" +msgstr "" + +#. TRANSLATORS: Message +msgid "cover-sheet-info-supported.message" +msgstr "" + +#. TRANSLATORS: Organization +msgid "cover-sheet-info-supported.organization" +msgstr "" + +#. TRANSLATORS: Subject +msgid "cover-sheet-info-supported.subject" +msgstr "" + +#. TRANSLATORS: To Name +msgid "cover-sheet-info-supported.to-name" +msgstr "" + +#. TRANSLATORS: Printed Cover +msgid "cover-type" +msgstr "" + +#. TRANSLATORS: No Cover +msgid "cover-type.no-cover" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "cover-type.print-back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "cover-type.print-both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "cover-type.print-front" +msgstr "" + +#. TRANSLATORS: None +msgid "cover-type.print-none" +msgstr "" + +#. TRANSLATORS: Cover Output +msgid "covering" +msgstr "" + +#. TRANSLATORS: Add Cover +msgid "covering-name" +msgstr "" + +#. TRANSLATORS: Plain +msgid "covering-name.plain" +msgstr "" + +#. TRANSLATORS: Pre-cut +msgid "covering-name.pre-cut" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "covering-name.pre-printed" +msgstr "" + +msgid "cups-deviced failed to execute." +msgstr "Не удалось выполнить cups-deviced." + +msgid "cups-driverd failed to execute." +msgstr "Не удалось выполнить cups-driverd." + +#, c-format +msgid "cupsctl: Cannot set %s directly." +msgstr "" + +#, c-format +msgid "cupsctl: Unable to connect to server: %s" +msgstr "cupsctl: Не удается подключиться к серверу: %s" + +#, c-format +msgid "cupsctl: Unknown option \"%s\"" +msgstr "cupsctl: Неизвестный параметр \"%s\"" + +#, c-format +msgid "cupsctl: Unknown option \"-%c\"" +msgstr "cupsctl: Неизвестный параметр \"-%c\"" + +msgid "cupsd: Expected config filename after \"-c\" option." +msgstr "cupsd: Пропущено имя файла конфигурации после параметра \"-с\"" + +msgid "cupsd: Expected cups-files.conf filename after \"-s\" option." +msgstr "cupsd: Пропущено имя файла cups-files.conf после параметра \"-s\"" + +msgid "cupsd: On-demand support not compiled in, running in normal mode." +msgstr "" +"cupsd: Поддержка запуска \"по запросу\" не включена, запуск в нормальном " +"режиме." + +msgid "cupsd: Relative cups-files.conf filename not allowed." +msgstr "" + +msgid "cupsd: Unable to get current directory." +msgstr "cupsd: Не удается определить текущий каталог" + +msgid "cupsd: Unable to get path to cups-files.conf file." +msgstr "cupsd: Не удается определить путь до cups-files.conf" + +#, c-format +msgid "cupsd: Unknown argument \"%s\" - aborting." +msgstr "cupsd: Неизвестный аргумент \"%s\" - прерывание." + +#, c-format +msgid "cupsd: Unknown option \"%c\" - aborting." +msgstr "cupsd: Неизвестный параметр \"%c\" - прерывание." + +#, c-format +msgid "cupsfilter: Invalid document number %d." +msgstr "cupsfilter: Недопустимый номер документа %d." + +#, c-format +msgid "cupsfilter: Invalid job ID %d." +msgstr "cupsfilter: Недопустимый ID задания %d." + +msgid "cupsfilter: Only one filename can be specified." +msgstr "cupsfilter: Может быть указано только одно имя файла." + +#, c-format +msgid "cupsfilter: Unable to get job file - %s" +msgstr "cupsfilter: Не удается получить файл задания - %s" + +msgid "cupstestppd: The -q option is incompatible with the -v option." +msgstr "cupstestppd: Параметр -q несовместим с параметром -v" + +msgid "cupstestppd: The -v option is incompatible with the -q option." +msgstr "cupstestppd: Параметр -v несовместим с параметром -q" + +#. TRANSLATORS: Detailed Status Message +msgid "detailed-status-message" +msgstr "" + +#, c-format +msgid "device for %s/%s: %s" +msgstr "устройство для %s/%s: %s" + +#, c-format +msgid "device for %s: %s" +msgstr "устройство для %s: %s" + +#. TRANSLATORS: Copies +msgid "document-copies" +msgstr "" + +#. TRANSLATORS: Document Privacy Attributes +msgid "document-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Document Description +msgid "document-privacy-attributes.document-description" +msgstr "" + +#. TRANSLATORS: Document Template +msgid "document-privacy-attributes.document-template" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Document Privacy Scope +msgid "document-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "document-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Document State +msgid "document-state" +msgstr "" + +#. TRANSLATORS: Detailed Document State +msgid "document-state-reasons" +msgstr "" + +#. TRANSLATORS: Aborted By System +msgid "document-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Canceled At Device +msgid "document-state-reasons.canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled By Operator +msgid "document-state-reasons.canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled By User +msgid "document-state-reasons.canceled-by-user" +msgstr "" + +#. TRANSLATORS: Completed Successfully +msgid "document-state-reasons.completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed With Errors +msgid "document-state-reasons.completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed With Warnings +msgid "document-state-reasons.completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Compression Error +msgid "document-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Data Insufficient +msgid "document-state-reasons.data-insufficient" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "document-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "document-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Digital Signature Wait +msgid "document-state-reasons.digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "document-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "document-state-reasons.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "document-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "document-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "document-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "document-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "document-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "document-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "document-state-reasons.incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "document-state-reasons.interpreting" +msgstr "" + +#. TRANSLATORS: None +msgid "document-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "document-state-reasons.outgoing" +msgstr "" + +#. TRANSLATORS: Printing +msgid "document-state-reasons.printing" +msgstr "" + +#. TRANSLATORS: Processing To Stop Point +msgid "document-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Queued +msgid "document-state-reasons.queued" +msgstr "" + +#. TRANSLATORS: Queued For Marker +msgid "document-state-reasons.queued-for-marker" +msgstr "" + +#. TRANSLATORS: Queued In Device +msgid "document-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "document-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "document-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "document-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "document-state-reasons.transforming" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "document-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "document-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "document-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "document-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "document-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "document-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "document-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "document-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "document-state.9" +msgstr "" + +msgid "error-index uses indefinite length" +msgstr "Для error-index длина не установлена" + +msgid "error-status uses indefinite length" +msgstr "Для error-status длина не установлена" + +msgid "" +"expression --and expression\n" +" Logical AND" +msgstr "" + +msgid "" +"expression --or expression\n" +" Logical OR" +msgstr "" + +msgid "expression expression Logical AND" +msgstr "" + +#. TRANSLATORS: Feed Orientation +msgid "feed-orientation" +msgstr "" + +#. TRANSLATORS: Long Edge First +msgid "feed-orientation.long-edge-first" +msgstr "" + +#. TRANSLATORS: Short Edge First +msgid "feed-orientation.short-edge-first" +msgstr "" + +#. TRANSLATORS: Fetch Status Code +msgid "fetch-status-code" +msgstr "" + +#. TRANSLATORS: Finishing Template +msgid "finishing-template" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishing-template.bale" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishing-template.bind" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishing-template.bind-bottom" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishing-template.bind-left" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishing-template.bind-right" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishing-template.bind-top" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishing-template.booklet-maker" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishing-template.coat" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishing-template.cover" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishing-template.edge-stitch" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishing-template.edge-stitch-bottom" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishing-template.edge-stitch-left" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishing-template.edge-stitch-right" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishing-template.edge-stitch-top" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishing-template.fold" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishing-template.fold-accordion" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishing-template.fold-double-gate" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishing-template.fold-engineering-z" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishing-template.fold-gate" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishing-template.fold-half" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishing-template.fold-half-z" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishing-template.fold-left-gate" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishing-template.fold-letter" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishing-template.fold-parallel" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishing-template.fold-poster" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishing-template.fold-right-gate" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishing-template.fold-z" +msgstr "" + +#. TRANSLATORS: JDF F10-1 +msgid "finishing-template.jdf-f10-1" +msgstr "" + +#. TRANSLATORS: JDF F10-2 +msgid "finishing-template.jdf-f10-2" +msgstr "" + +#. TRANSLATORS: JDF F10-3 +msgid "finishing-template.jdf-f10-3" +msgstr "" + +#. TRANSLATORS: JDF F12-1 +msgid "finishing-template.jdf-f12-1" +msgstr "" + +#. TRANSLATORS: JDF F12-10 +msgid "finishing-template.jdf-f12-10" +msgstr "" + +#. TRANSLATORS: JDF F12-11 +msgid "finishing-template.jdf-f12-11" +msgstr "" + +#. TRANSLATORS: JDF F12-12 +msgid "finishing-template.jdf-f12-12" +msgstr "" + +#. TRANSLATORS: JDF F12-13 +msgid "finishing-template.jdf-f12-13" +msgstr "" + +#. TRANSLATORS: JDF F12-14 +msgid "finishing-template.jdf-f12-14" +msgstr "" + +#. TRANSLATORS: JDF F12-2 +msgid "finishing-template.jdf-f12-2" +msgstr "" + +#. TRANSLATORS: JDF F12-3 +msgid "finishing-template.jdf-f12-3" +msgstr "" + +#. TRANSLATORS: JDF F12-4 +msgid "finishing-template.jdf-f12-4" +msgstr "" + +#. TRANSLATORS: JDF F12-5 +msgid "finishing-template.jdf-f12-5" +msgstr "" + +#. TRANSLATORS: JDF F12-6 +msgid "finishing-template.jdf-f12-6" +msgstr "" + +#. TRANSLATORS: JDF F12-7 +msgid "finishing-template.jdf-f12-7" +msgstr "" + +#. TRANSLATORS: JDF F12-8 +msgid "finishing-template.jdf-f12-8" +msgstr "" + +#. TRANSLATORS: JDF F12-9 +msgid "finishing-template.jdf-f12-9" +msgstr "" + +#. TRANSLATORS: JDF F14-1 +msgid "finishing-template.jdf-f14-1" +msgstr "" + +#. TRANSLATORS: JDF F16-1 +msgid "finishing-template.jdf-f16-1" +msgstr "" + +#. TRANSLATORS: JDF F16-10 +msgid "finishing-template.jdf-f16-10" +msgstr "" + +#. TRANSLATORS: JDF F16-11 +msgid "finishing-template.jdf-f16-11" +msgstr "" + +#. TRANSLATORS: JDF F16-12 +msgid "finishing-template.jdf-f16-12" +msgstr "" + +#. TRANSLATORS: JDF F16-13 +msgid "finishing-template.jdf-f16-13" +msgstr "" + +#. TRANSLATORS: JDF F16-14 +msgid "finishing-template.jdf-f16-14" +msgstr "" + +#. TRANSLATORS: JDF F16-2 +msgid "finishing-template.jdf-f16-2" +msgstr "" + +#. TRANSLATORS: JDF F16-3 +msgid "finishing-template.jdf-f16-3" +msgstr "" + +#. TRANSLATORS: JDF F16-4 +msgid "finishing-template.jdf-f16-4" +msgstr "" + +#. TRANSLATORS: JDF F16-5 +msgid "finishing-template.jdf-f16-5" +msgstr "" + +#. TRANSLATORS: JDF F16-6 +msgid "finishing-template.jdf-f16-6" +msgstr "" + +#. TRANSLATORS: JDF F16-7 +msgid "finishing-template.jdf-f16-7" +msgstr "" + +#. TRANSLATORS: JDF F16-8 +msgid "finishing-template.jdf-f16-8" +msgstr "" + +#. TRANSLATORS: JDF F16-9 +msgid "finishing-template.jdf-f16-9" +msgstr "" + +#. TRANSLATORS: JDF F18-1 +msgid "finishing-template.jdf-f18-1" +msgstr "" + +#. TRANSLATORS: JDF F18-2 +msgid "finishing-template.jdf-f18-2" +msgstr "" + +#. TRANSLATORS: JDF F18-3 +msgid "finishing-template.jdf-f18-3" +msgstr "" + +#. TRANSLATORS: JDF F18-4 +msgid "finishing-template.jdf-f18-4" +msgstr "" + +#. TRANSLATORS: JDF F18-5 +msgid "finishing-template.jdf-f18-5" +msgstr "" + +#. TRANSLATORS: JDF F18-6 +msgid "finishing-template.jdf-f18-6" +msgstr "" + +#. TRANSLATORS: JDF F18-7 +msgid "finishing-template.jdf-f18-7" +msgstr "" + +#. TRANSLATORS: JDF F18-8 +msgid "finishing-template.jdf-f18-8" +msgstr "" + +#. TRANSLATORS: JDF F18-9 +msgid "finishing-template.jdf-f18-9" +msgstr "" + +#. TRANSLATORS: JDF F2-1 +msgid "finishing-template.jdf-f2-1" +msgstr "" + +#. TRANSLATORS: JDF F20-1 +msgid "finishing-template.jdf-f20-1" +msgstr "" + +#. TRANSLATORS: JDF F20-2 +msgid "finishing-template.jdf-f20-2" +msgstr "" + +#. TRANSLATORS: JDF F24-1 +msgid "finishing-template.jdf-f24-1" +msgstr "" + +#. TRANSLATORS: JDF F24-10 +msgid "finishing-template.jdf-f24-10" +msgstr "" + +#. TRANSLATORS: JDF F24-11 +msgid "finishing-template.jdf-f24-11" +msgstr "" + +#. TRANSLATORS: JDF F24-2 +msgid "finishing-template.jdf-f24-2" +msgstr "" + +#. TRANSLATORS: JDF F24-3 +msgid "finishing-template.jdf-f24-3" +msgstr "" + +#. TRANSLATORS: JDF F24-4 +msgid "finishing-template.jdf-f24-4" +msgstr "" + +#. TRANSLATORS: JDF F24-5 +msgid "finishing-template.jdf-f24-5" +msgstr "" + +#. TRANSLATORS: JDF F24-6 +msgid "finishing-template.jdf-f24-6" +msgstr "" + +#. TRANSLATORS: JDF F24-7 +msgid "finishing-template.jdf-f24-7" +msgstr "" + +#. TRANSLATORS: JDF F24-8 +msgid "finishing-template.jdf-f24-8" +msgstr "" + +#. TRANSLATORS: JDF F24-9 +msgid "finishing-template.jdf-f24-9" +msgstr "" + +#. TRANSLATORS: JDF F28-1 +msgid "finishing-template.jdf-f28-1" +msgstr "" + +#. TRANSLATORS: JDF F32-1 +msgid "finishing-template.jdf-f32-1" +msgstr "" + +#. TRANSLATORS: JDF F32-2 +msgid "finishing-template.jdf-f32-2" +msgstr "" + +#. TRANSLATORS: JDF F32-3 +msgid "finishing-template.jdf-f32-3" +msgstr "" + +#. TRANSLATORS: JDF F32-4 +msgid "finishing-template.jdf-f32-4" +msgstr "" + +#. TRANSLATORS: JDF F32-5 +msgid "finishing-template.jdf-f32-5" +msgstr "" + +#. TRANSLATORS: JDF F32-6 +msgid "finishing-template.jdf-f32-6" +msgstr "" + +#. TRANSLATORS: JDF F32-7 +msgid "finishing-template.jdf-f32-7" +msgstr "" + +#. TRANSLATORS: JDF F32-8 +msgid "finishing-template.jdf-f32-8" +msgstr "" + +#. TRANSLATORS: JDF F32-9 +msgid "finishing-template.jdf-f32-9" +msgstr "" + +#. TRANSLATORS: JDF F36-1 +msgid "finishing-template.jdf-f36-1" +msgstr "" + +#. TRANSLATORS: JDF F36-2 +msgid "finishing-template.jdf-f36-2" +msgstr "" + +#. TRANSLATORS: JDF F4-1 +msgid "finishing-template.jdf-f4-1" +msgstr "" + +#. TRANSLATORS: JDF F4-2 +msgid "finishing-template.jdf-f4-2" +msgstr "" + +#. TRANSLATORS: JDF F40-1 +msgid "finishing-template.jdf-f40-1" +msgstr "" + +#. TRANSLATORS: JDF F48-1 +msgid "finishing-template.jdf-f48-1" +msgstr "" + +#. TRANSLATORS: JDF F48-2 +msgid "finishing-template.jdf-f48-2" +msgstr "" + +#. TRANSLATORS: JDF F6-1 +msgid "finishing-template.jdf-f6-1" +msgstr "" + +#. TRANSLATORS: JDF F6-2 +msgid "finishing-template.jdf-f6-2" +msgstr "" + +#. TRANSLATORS: JDF F6-3 +msgid "finishing-template.jdf-f6-3" +msgstr "" + +#. TRANSLATORS: JDF F6-4 +msgid "finishing-template.jdf-f6-4" +msgstr "" + +#. TRANSLATORS: JDF F6-5 +msgid "finishing-template.jdf-f6-5" +msgstr "" + +#. TRANSLATORS: JDF F6-6 +msgid "finishing-template.jdf-f6-6" +msgstr "" + +#. TRANSLATORS: JDF F6-7 +msgid "finishing-template.jdf-f6-7" +msgstr "" + +#. TRANSLATORS: JDF F6-8 +msgid "finishing-template.jdf-f6-8" +msgstr "" + +#. TRANSLATORS: JDF F64-1 +msgid "finishing-template.jdf-f64-1" +msgstr "" + +#. TRANSLATORS: JDF F64-2 +msgid "finishing-template.jdf-f64-2" +msgstr "" + +#. TRANSLATORS: JDF F8-1 +msgid "finishing-template.jdf-f8-1" +msgstr "" + +#. TRANSLATORS: JDF F8-2 +msgid "finishing-template.jdf-f8-2" +msgstr "" + +#. TRANSLATORS: JDF F8-3 +msgid "finishing-template.jdf-f8-3" +msgstr "" + +#. TRANSLATORS: JDF F8-4 +msgid "finishing-template.jdf-f8-4" +msgstr "" + +#. TRANSLATORS: JDF F8-5 +msgid "finishing-template.jdf-f8-5" +msgstr "" + +#. TRANSLATORS: JDF F8-6 +msgid "finishing-template.jdf-f8-6" +msgstr "" + +#. TRANSLATORS: JDF F8-7 +msgid "finishing-template.jdf-f8-7" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishing-template.jog-offset" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishing-template.laminate" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishing-template.punch" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishing-template.punch-bottom-left" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishing-template.punch-bottom-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishing-template.punch-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishing-template.punch-dual-left" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishing-template.punch-dual-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishing-template.punch-dual-top" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishing-template.punch-multiple-bottom" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishing-template.punch-multiple-left" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishing-template.punch-multiple-right" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishing-template.punch-multiple-top" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishing-template.punch-quad-bottom" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishing-template.punch-quad-left" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishing-template.punch-quad-right" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishing-template.punch-quad-top" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishing-template.punch-top-left" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishing-template.punch-top-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishing-template.punch-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishing-template.punch-triple-left" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishing-template.punch-triple-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishing-template.punch-triple-top" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishing-template.saddle-stitch" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishing-template.staple" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishing-template.staple-bottom-left" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishing-template.staple-bottom-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishing-template.staple-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishing-template.staple-dual-left" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishing-template.staple-dual-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishing-template.staple-dual-top" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishing-template.staple-top-left" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishing-template.staple-top-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishing-template.staple-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishing-template.staple-triple-left" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishing-template.staple-triple-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishing-template.staple-triple-top" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishing-template.trim" +msgstr "" + +#. TRANSLATORS: Trim After Every Set +msgid "finishing-template.trim-after-copies" +msgstr "" + +#. TRANSLATORS: Trim After Every Document +msgid "finishing-template.trim-after-documents" +msgstr "" + +#. TRANSLATORS: Trim After Job +msgid "finishing-template.trim-after-job" +msgstr "" + +#. TRANSLATORS: Trim After Every Page +msgid "finishing-template.trim-after-pages" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings-col" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishings.10" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishings.100" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishings.101" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishings.11" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishings.12" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishings.13" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishings.14" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishings.15" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishings.16" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishings.20" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishings.21" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishings.22" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishings.23" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishings.24" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishings.25" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishings.26" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishings.27" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishings.28" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishings.29" +msgstr "" + +#. TRANSLATORS: None +msgid "finishings.3" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishings.30" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishings.31" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishings.32" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishings.33" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishings.34" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishings.35" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishings.4" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishings.5" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishings.50" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishings.51" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishings.52" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishings.53" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishings.6" +msgstr "" + +#. TRANSLATORS: Trim Pages +msgid "finishings.60" +msgstr "" + +#. TRANSLATORS: Trim Documents +msgid "finishings.61" +msgstr "" + +#. TRANSLATORS: Trim Copies +msgid "finishings.62" +msgstr "" + +#. TRANSLATORS: Trim Job +msgid "finishings.63" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishings.7" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishings.70" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishings.71" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishings.72" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishings.73" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishings.74" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishings.75" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishings.76" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishings.77" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishings.78" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishings.79" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishings.8" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishings.80" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishings.81" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishings.82" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishings.83" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishings.84" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishings.85" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishings.86" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishings.87" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishings.88" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishings.89" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishings.9" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishings.90" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishings.91" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishings.92" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishings.93" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishings.94" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishings.95" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishings.96" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishings.97" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishings.98" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishings.99" +msgstr "" + +#. TRANSLATORS: Fold +msgid "folding" +msgstr "" + +#. TRANSLATORS: Fold Direction +msgid "folding-direction" +msgstr "" + +#. TRANSLATORS: Inward +msgid "folding-direction.inward" +msgstr "" + +#. TRANSLATORS: Outward +msgid "folding-direction.outward" +msgstr "" + +#. TRANSLATORS: Fold Position +msgid "folding-offset" +msgstr "" + +#. TRANSLATORS: Fold Edge +msgid "folding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "folding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "folding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "folding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "folding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Font Name +msgid "font-name-requested" +msgstr "" + +#. TRANSLATORS: Font Size +msgid "font-size-requested" +msgstr "" + +#. TRANSLATORS: Force Front Side +msgid "force-front-side" +msgstr "" + +#. TRANSLATORS: From Name +msgid "from-name" +msgstr "" + +msgid "held" +msgstr "задержано" + +msgid "help\t\tGet help on commands." +msgstr "help\t\tПолучить справку по командам." + +msgid "idle" +msgstr "свободен" + +#. TRANSLATORS: Imposition Template +msgid "imposition-template" +msgstr "" + +#. TRANSLATORS: None +msgid "imposition-template.none" +msgstr "" + +#. TRANSLATORS: Signature +msgid "imposition-template.signature" +msgstr "" + +#. TRANSLATORS: Insert Page Number +msgid "insert-after-page-number" +msgstr "" + +#. TRANSLATORS: Insert Count +msgid "insert-count" +msgstr "" + +#. TRANSLATORS: Insert Sheet +msgid "insert-sheet" +msgstr "" + +#, c-format +msgid "ippeveprinter: Unable to open \"%s\": %s on line %d." +msgstr "" + +#, c-format +msgid "ippfind: Bad regular expression: %s" +msgstr "ippfind: неправильное регулярное выражение: %s" + +msgid "ippfind: Cannot use --and after --or." +msgstr "ippfind: не используйте --and после --or." + +#, c-format +msgid "ippfind: Expected key name after %s." +msgstr "ippfind: Ожидается key name после %s." + +#, c-format +msgid "ippfind: Expected port range after %s." +msgstr "ippfind: Ожидается port range после %s." + +#, c-format +msgid "ippfind: Expected program after %s." +msgstr "ippfind: Ожидается program после %s." + +#, c-format +msgid "ippfind: Expected semi-colon after %s." +msgstr "ippfind: Ожидается semi-colon после %s." + +msgid "ippfind: Missing close brace in substitution." +msgstr "ippfind: Отсутствует закрывающая фигурная скобка в замене." + +msgid "ippfind: Missing close parenthesis." +msgstr "ippfind: Отсутствует закрывающая скобка." + +msgid "ippfind: Missing expression before \"--and\"." +msgstr "ippfind: Отсутствует выражение перед \"--and\"." + +msgid "ippfind: Missing expression before \"--or\"." +msgstr "ippfind: Отсутствует выражение перед \"--or\"." + +#, c-format +msgid "ippfind: Missing key name after %s." +msgstr "ippfind: Отсутствует key name после %s." + +#, c-format +msgid "ippfind: Missing name after %s." +msgstr "" + +msgid "ippfind: Missing open parenthesis." +msgstr "ippfind: Отсутствует открывающая скобка." + +#, c-format +msgid "ippfind: Missing program after %s." +msgstr "ippfind: Отсутствует program после %s." + +#, c-format +msgid "ippfind: Missing regular expression after %s." +msgstr "ippfind: Отсутствует регулярное выражение после %s." + +#, c-format +msgid "ippfind: Missing semi-colon after %s." +msgstr "ippfind: Отсутствует semi-colon после %s." + +msgid "ippfind: Out of memory." +msgstr "ippfind: Недостаточно памяти." + +msgid "ippfind: Too many parenthesis." +msgstr "ippfind: Слишком много скобок." + +#, c-format +msgid "ippfind: Unable to browse or resolve: %s" +msgstr "ippfind: Не удается просмотреть или определить: %s" + +#, c-format +msgid "ippfind: Unable to execute \"%s\": %s" +msgstr "ippfind: Не удается выполнить \"%s\": %s" + +#, c-format +msgid "ippfind: Unable to use Bonjour: %s" +msgstr "ippfind: Не удается использовать Bonjour: %s" + +#, c-format +msgid "ippfind: Unknown variable \"{%s}\"." +msgstr "ippfind: Неизвестная переменная \"{%s}\"." + +msgid "" +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", " +"and \"-X\"." +msgstr "" + +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." +msgstr "ipptool: Параметры \"-i\" и \"-n\" несовместимы с \"-P\" и \"-X\"." + +#, c-format +msgid "ipptool: Bad URI \"%s\"." +msgstr "" + +msgid "ipptool: Invalid seconds for \"-i\"." +msgstr "ipptool: Неправильные секунды для \"-i\"." + +msgid "ipptool: May only specify a single URI." +msgstr "ipptool: Может быть определен лишь один URI." + +msgid "ipptool: Missing count for \"-n\"." +msgstr "ipptool: Отсутствует count для \"-n\"." + +msgid "ipptool: Missing filename for \"--ippserver\"." +msgstr "" + +msgid "ipptool: Missing filename for \"-f\"." +msgstr "ipptool: Отсутствует имя файла для \"-f\"." + +msgid "ipptool: Missing name=value for \"-d\"." +msgstr "ipptool: Отсутствует name=value для \"-d\"." + +msgid "ipptool: Missing seconds for \"-i\"." +msgstr "ipptool: Отсутствуют секунды для \"-i\"." + +msgid "ipptool: URI required before test file." +msgstr "ipptool: Необходим URI перед указанием тест-файла." + +#. TRANSLATORS: Job Account ID +msgid "job-account-id" +msgstr "" + +#. TRANSLATORS: Job Account Type +msgid "job-account-type" +msgstr "" + +#. TRANSLATORS: General +msgid "job-account-type.general" +msgstr "" + +#. TRANSLATORS: Group +msgid "job-account-type.group" +msgstr "" + +#. TRANSLATORS: None +msgid "job-account-type.none" +msgstr "" + +#. TRANSLATORS: Job Accounting Output Bin +msgid "job-accounting-output-bin" +msgstr "" + +#. TRANSLATORS: Job Accounting Sheets +msgid "job-accounting-sheets" +msgstr "" + +#. TRANSLATORS: Type of Job Accounting Sheets +msgid "job-accounting-sheets-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-accounting-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-accounting-sheets-type.standard" +msgstr "" + +#. TRANSLATORS: Job Accounting User ID +msgid "job-accounting-user-id" +msgstr "" + +#. TRANSLATORS: Job Cancel After +msgid "job-cancel-after" +msgstr "" + +#. TRANSLATORS: Copies +msgid "job-copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "job-cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "job-cover-front" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-delay-output-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-delay-output-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-delay-output-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-delay-output-until.night" +msgstr "" + +#. TRANSLATORS: No Delay +msgid "job-delay-output-until.no-delay-output" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-delay-output-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-delay-output-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-delay-output-until.weekend" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "job-error-action.abort-job" +msgstr "" + +#. TRANSLATORS: Cancel Job +msgid "job-error-action.cancel-job" +msgstr "" + +#. TRANSLATORS: Continue Job +msgid "job-error-action.continue-job" +msgstr "" + +#. TRANSLATORS: Suspend Job +msgid "job-error-action.suspend-job" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet" +msgstr "" + +#. TRANSLATORS: Type of Error Sheet +msgid "job-error-sheet-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-error-sheet-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-error-sheet-type.standard" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet-when" +msgstr "" + +#. TRANSLATORS: Always +msgid "job-error-sheet-when.always" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-sheet-when.on-error" +msgstr "" + +#. TRANSLATORS: Job Finishings +msgid "job-finishings" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-hold-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-hold-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-hold-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-hold-until.night" +msgstr "" + +#. TRANSLATORS: No Hold +msgid "job-hold-until.no-hold" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-hold-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-hold-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-hold-until.weekend" +msgstr "" + +#. TRANSLATORS: Job Mandatory Attributes +msgid "job-mandatory-attributes" +msgstr "" + +#. TRANSLATORS: Title +msgid "job-name" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages-col" +msgstr "" + +#. TRANSLATORS: Job Phone Number +msgid "job-phone-number" +msgstr "" + +msgid "job-printer-uri attribute missing." +msgstr "Атрибут job-printer-uri отсутствует." + +#. TRANSLATORS: Job Priority +msgid "job-priority" +msgstr "" + +#. TRANSLATORS: Job Privacy Attributes +msgid "job-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Job Description +msgid "job-privacy-attributes.job-description" +msgstr "" + +#. TRANSLATORS: Job Template +msgid "job-privacy-attributes.job-template" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Job Privacy Scope +msgid "job-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "job-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Job Recipient Name +msgid "job-recipient-name" +msgstr "" + +#. TRANSLATORS: Job Retain Until +msgid "job-retain-until" +msgstr "" + +#. TRANSLATORS: Job Retain Until Interval +msgid "job-retain-until-interval" +msgstr "" + +#. TRANSLATORS: Job Retain Until Time +msgid "job-retain-until-time" +msgstr "" + +#. TRANSLATORS: End Of Day +msgid "job-retain-until.end-of-day" +msgstr "" + +#. TRANSLATORS: End Of Month +msgid "job-retain-until.end-of-month" +msgstr "" + +#. TRANSLATORS: End Of Week +msgid "job-retain-until.end-of-week" +msgstr "" + +#. TRANSLATORS: Indefinite +msgid "job-retain-until.indefinite" +msgstr "" + +#. TRANSLATORS: None +msgid "job-retain-until.none" +msgstr "" + +#. TRANSLATORS: Job Save Disposition +msgid "job-save-disposition" +msgstr "" + +#. TRANSLATORS: Job Sheet Message +msgid "job-sheet-message" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets-col" +msgstr "" + +#. TRANSLATORS: First Page in Document +msgid "job-sheets.first-print-stream-page" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "job-sheets.job-both-sheet" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "job-sheets.job-end-sheet" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "job-sheets.job-start-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "job-sheets.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-sheets.standard" +msgstr "" + +#. TRANSLATORS: Job State +msgid "job-state" +msgstr "" + +#. TRANSLATORS: Job State Message +msgid "job-state-message" +msgstr "" + +#. TRANSLATORS: Detailed Job State +msgid "job-state-reasons" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Account Authorization Failed +msgid "job-state-reasons.account-authorization-failed" +msgstr "" + +#. TRANSLATORS: Account Closed +msgid "job-state-reasons.account-closed" +msgstr "" + +#. TRANSLATORS: Account Info Needed +msgid "job-state-reasons.account-info-needed" +msgstr "" + +#. TRANSLATORS: Account Limit Reached +msgid "job-state-reasons.account-limit-reached" +msgstr "" + +#. TRANSLATORS: Decompression error +msgid "job-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Conflicting Attributes +msgid "job-state-reasons.conflicting-attributes" +msgstr "" + +#. TRANSLATORS: Connected To Destination +msgid "job-state-reasons.connected-to-destination" +msgstr "" + +#. TRANSLATORS: Connecting To Destination +msgid "job-state-reasons.connecting-to-destination" +msgstr "" + +#. TRANSLATORS: Destination Uri Failed +msgid "job-state-reasons.destination-uri-failed" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "job-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "job-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "job-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "job-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "job-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "job-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "job-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "job-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "job-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Canceled at printer +msgid "job-state-reasons.job-canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled by operator +msgid "job-state-reasons.job-canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled by user +msgid "job-state-reasons.job-canceled-by-user" +msgstr "" + +#. TRANSLATORS: +msgid "job-state-reasons.job-completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed with errors +msgid "job-state-reasons.job-completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed with warnings +msgid "job-state-reasons.job-completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Insufficient data +msgid "job-state-reasons.job-data-insufficient" +msgstr "" + +#. TRANSLATORS: Job Delay Output Until Specified +msgid "job-state-reasons.job-delay-output-until-specified" +msgstr "" + +#. TRANSLATORS: Job Digital Signature Wait +msgid "job-state-reasons.job-digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "job-state-reasons.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Held For Review +msgid "job-state-reasons.job-held-for-review" +msgstr "" + +#. TRANSLATORS: Job held +msgid "job-state-reasons.job-hold-until-specified" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "job-state-reasons.job-incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "job-state-reasons.job-interpreting" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "job-state-reasons.job-outgoing" +msgstr "" + +#. TRANSLATORS: Job Password Wait +msgid "job-state-reasons.job-password-wait" +msgstr "" + +#. TRANSLATORS: Job Printed Successfully +msgid "job-state-reasons.job-printed-successfully" +msgstr "" + +#. TRANSLATORS: Job Printed With Errors +msgid "job-state-reasons.job-printed-with-errors" +msgstr "" + +#. TRANSLATORS: Job Printed With Warnings +msgid "job-state-reasons.job-printed-with-warnings" +msgstr "" + +#. TRANSLATORS: Printing +msgid "job-state-reasons.job-printing" +msgstr "" + +#. TRANSLATORS: Preparing to print +msgid "job-state-reasons.job-queued" +msgstr "" + +#. TRANSLATORS: Processing document +msgid "job-state-reasons.job-queued-for-marker" +msgstr "" + +#. TRANSLATORS: Job Release Wait +msgid "job-state-reasons.job-release-wait" +msgstr "" + +#. TRANSLATORS: Restartable +msgid "job-state-reasons.job-restartable" +msgstr "" + +#. TRANSLATORS: Job Resuming +msgid "job-state-reasons.job-resuming" +msgstr "" + +#. TRANSLATORS: Job Saved Successfully +msgid "job-state-reasons.job-saved-successfully" +msgstr "" + +#. TRANSLATORS: Job Saved With Errors +msgid "job-state-reasons.job-saved-with-errors" +msgstr "" + +#. TRANSLATORS: Job Saved With Warnings +msgid "job-state-reasons.job-saved-with-warnings" +msgstr "" + +#. TRANSLATORS: Job Saving +msgid "job-state-reasons.job-saving" +msgstr "" + +#. TRANSLATORS: Job Spooling +msgid "job-state-reasons.job-spooling" +msgstr "" + +#. TRANSLATORS: Job Streaming +msgid "job-state-reasons.job-streaming" +msgstr "" + +#. TRANSLATORS: Suspended +msgid "job-state-reasons.job-suspended" +msgstr "" + +#. TRANSLATORS: Job Suspended By Operator +msgid "job-state-reasons.job-suspended-by-operator" +msgstr "" + +#. TRANSLATORS: Job Suspended By System +msgid "job-state-reasons.job-suspended-by-system" +msgstr "" + +#. TRANSLATORS: Job Suspended By User +msgid "job-state-reasons.job-suspended-by-user" +msgstr "" + +#. TRANSLATORS: Job Suspending +msgid "job-state-reasons.job-suspending" +msgstr "" + +#. TRANSLATORS: Job Transferring +msgid "job-state-reasons.job-transferring" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "job-state-reasons.job-transforming" +msgstr "" + +#. TRANSLATORS: None +msgid "job-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "job-state-reasons.printer-stopped" +msgstr "" + +#. TRANSLATORS: Printer partially stopped +msgid "job-state-reasons.printer-stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Ready +msgid "job-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "job-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "job-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Service offline +msgid "job-state-reasons.service-off-line" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "job-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Unsupported Attributes Or Values +msgid "job-state-reasons.unsupported-attributes-or-values" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "job-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "job-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Waiting For User Action +msgid "job-state-reasons.waiting-for-user-action" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "job-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "job-state.3" +msgstr "" + +#. TRANSLATORS: Held +msgid "job-state.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "job-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "job-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "job-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "job-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "job-state.9" +msgstr "" + +#. TRANSLATORS: Laminate Pages +msgid "laminating" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "laminating-sides" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "laminating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "laminating-sides.both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "laminating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Lamination +msgid "laminating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "laminating-type.archival" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "laminating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "laminating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "laminating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "laminating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "laminating-type.translucent" +msgstr "" + +#. TRANSLATORS: Logo +msgid "logo" +msgstr "" + +msgid "lpadmin: Class name can only contain printable characters." +msgstr "lpadmin: Имя группы может содержать только печатаемые символы." + +#, c-format +msgid "lpadmin: Expected PPD after \"-%c\" option." +msgstr "" + +msgid "lpadmin: Expected allow/deny:userlist after \"-u\" option." +msgstr "lpadmin: После параметра '-u' должен быть указан allow/deny:userlist." + +msgid "lpadmin: Expected class after \"-r\" option." +msgstr "lpadmin: После параметра \"-r\" должно быть указано имя группы." + +msgid "lpadmin: Expected class name after \"-c\" option." +msgstr "lpadmin: После параметра \"-c\" должно быть указано имя группы." + +msgid "lpadmin: Expected description after \"-D\" option." +msgstr "lpadmin: После параметра \"-D\" должно быть указано описание." + +msgid "lpadmin: Expected device URI after \"-v\" option." +msgstr "lpadmin: После параметра \"-v\" должен быть указан URI" + +msgid "lpadmin: Expected file type(s) after \"-I\" option." +msgstr "После параметра \"-I\" должен(-ны) быть указан(-ы) тип(-ы) файла(-ов)." + +msgid "lpadmin: Expected hostname after \"-h\" option." +msgstr "lpadmin: После параметра \"-h\" должно быть указано имя хоста." + +msgid "lpadmin: Expected location after \"-L\" option." +msgstr "lpadmin: После параметра \"-L\" должно быть указано местоположение." + +msgid "lpadmin: Expected model after \"-m\" option." +msgstr "lpadmin: После параметра \"-m\" должна быть указана модель." + +msgid "lpadmin: Expected name after \"-R\" option." +msgstr "lpadmin: После параметра \"-R\" должно быть указано имя." + +msgid "lpadmin: Expected name=value after \"-o\" option." +msgstr "lpadmin: После параметра \"-o\" должно быть указано name=value" + +msgid "lpadmin: Expected printer after \"-p\" option." +msgstr "lpadmin: После параметра \"-p\" должен быть указан принтер." + +msgid "lpadmin: Expected printer name after \"-d\" option." +msgstr "lpadmin: После параметра \"-d\" должно быть указано имя принтера." + +msgid "lpadmin: Expected printer or class after \"-x\" option." +msgstr "lpadmin: После параметра \"-x\" должен быть указан принтер или группа." + +msgid "lpadmin: No member names were seen." +msgstr "lpadmin: Имена пользователей не были найдены." + +#, c-format +msgid "lpadmin: Printer %s is already a member of class %s." +msgstr "lpadmin: Принтер %s уже находится в группе %s." + +#, c-format +msgid "lpadmin: Printer %s is not a member of class %s." +msgstr "lpadmin: Принтер %s не находится в группе %s." + +msgid "" +"lpadmin: Printer drivers are deprecated and will stop working in a future " +"version of CUPS." +msgstr "" + +msgid "lpadmin: Printer name can only contain printable characters." +msgstr "lpadmin: Имя принтера может содержать только печатаемые символы." + +msgid "" +"lpadmin: Raw queues are deprecated and will stop working in a future version " +"of CUPS." +msgstr "" + +msgid "lpadmin: Raw queues are no longer supported on macOS." +msgstr "" + +msgid "" +"lpadmin: System V interface scripts are no longer supported for security " +"reasons." +msgstr "" + +msgid "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Не удается добавить принтер в группу:\n" +"\t Необходимо сначала указать имя принтера." + +#, c-format +msgid "lpadmin: Unable to connect to server: %s" +msgstr "lpadmin: Не удается подключиться к серверу: %s" + +msgid "lpadmin: Unable to create temporary file" +msgstr "lpadmin: Не удается создать временный файл" + +msgid "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Не удается удалить параметр:\n" +"\t Необходимо сначала указать имя принтера." + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s" +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s on line %d." +msgstr "" + +msgid "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Не удается удалить принтер из группы:\n" +"\t Необходимо сначала указать имя принтера." + +msgid "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin: Не удается настроить параметры принтера:\n" +"\t Необходимо сначала указать имя принтера." + +#, c-format +msgid "lpadmin: Unknown allow/deny option \"%s\"." +msgstr "lpadmin: Неизвестный параметр allow/deny \"%s\"." + +#, c-format +msgid "lpadmin: Unknown argument \"%s\"." +msgstr "lpadmin: Неизвестный аргумент \"%s\"." + +#, c-format +msgid "lpadmin: Unknown option \"%c\"." +msgstr "lpadmin: Неизвестный параметр \"%c\"." + +msgid "lpadmin: Use the 'everywhere' model for shared printers." +msgstr "" + +msgid "lpadmin: Warning - content type list ignored." +msgstr "lpadmin: Внимание - список типов содержимого пропущен." + +msgid "lpc> " +msgstr "lpc> " + +msgid "lpinfo: Expected 1284 device ID string after \"--device-id\"." +msgstr "lpinfo: После \"--device-id\" должна идти строка ID устройства 1284" + +msgid "lpinfo: Expected language after \"--language\"." +msgstr "lpinfo: После \"--language\" необходимо указать язык." + +msgid "lpinfo: Expected make and model after \"--make-and-model\"." +msgstr "lpinfo: После \"--make-and-model\" должна быть указана марка и модель." + +msgid "lpinfo: Expected product string after \"--product\"." +msgstr "lpinfo: После \"--product\" должна идти строка продукта." + +msgid "lpinfo: Expected scheme list after \"--exclude-schemes\"." +msgstr "lpinfo: После \"--exclude-schemes\" должен идти список схем." + +msgid "lpinfo: Expected scheme list after \"--include-schemes\"." +msgstr "lpinfo: После \"--include-schemes\" должен идти список схем." + +msgid "lpinfo: Expected timeout after \"--timeout\"." +msgstr "lpinfo: После \"--timeout\" должно быть указано время ожидания" + +#, c-format +msgid "lpmove: Unable to connect to server: %s" +msgstr "lpmove: Не удается подключиться к серверу: %s" + +#, c-format +msgid "lpmove: Unknown argument \"%s\"." +msgstr "lpmove: Неизвестный аргумент \"%s\"." + +msgid "lpoptions: No printers." +msgstr "lpoptions: Нет принтеров." + +#, c-format +msgid "lpoptions: Unable to add printer or instance: %s" +msgstr "lpoptions: Не удается добавить принтер или представителя класса: %s" + +#, c-format +msgid "lpoptions: Unable to get PPD file for %s: %s" +msgstr "lpoptions: Не удается получить PPD-файл для %s: %s" + +#, c-format +msgid "lpoptions: Unable to open PPD file for %s." +msgstr "lpoptions: Не удается открыть PPD файл для %s" + +msgid "lpoptions: Unknown printer or class." +msgstr "lpoptions: Неизвестный принтер или группа" + +#, c-format +msgid "" +"lpstat: error - %s environment variable names non-existent destination \"%s" +"\"." +msgstr "" +"lpstat: ошибка - %s переменная окружения указывает несуществующее " +"назначение \"%s\"" + +#. TRANSLATORS: Amount of Material +msgid "material-amount" +msgstr "" + +#. TRANSLATORS: Amount Units +msgid "material-amount-units" +msgstr "" + +#. TRANSLATORS: Grams +msgid "material-amount-units.g" +msgstr "" + +#. TRANSLATORS: Kilograms +msgid "material-amount-units.kg" +msgstr "" + +#. TRANSLATORS: Liters +msgid "material-amount-units.l" +msgstr "" + +#. TRANSLATORS: Meters +msgid "material-amount-units.m" +msgstr "" + +#. TRANSLATORS: Milliliters +msgid "material-amount-units.ml" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "material-amount-units.mm" +msgstr "" + +#. TRANSLATORS: Material Color +msgid "material-color" +msgstr "" + +#. TRANSLATORS: Material Diameter +msgid "material-diameter" +msgstr "" + +#. TRANSLATORS: Material Diameter Tolerance +msgid "material-diameter-tolerance" +msgstr "" + +#. TRANSLATORS: Material Fill Density +msgid "material-fill-density" +msgstr "" + +#. TRANSLATORS: Material Name +msgid "material-name" +msgstr "" + +#. TRANSLATORS: Material Nozzle Diameter +msgid "material-nozzle-diameter" +msgstr "" + +#. TRANSLATORS: Use Material For +msgid "material-purpose" +msgstr "" + +#. TRANSLATORS: Everything +msgid "material-purpose.all" +msgstr "" + +#. TRANSLATORS: Base +msgid "material-purpose.base" +msgstr "" + +#. TRANSLATORS: In-fill +msgid "material-purpose.in-fill" +msgstr "" + +#. TRANSLATORS: Shell +msgid "material-purpose.shell" +msgstr "" + +#. TRANSLATORS: Supports +msgid "material-purpose.support" +msgstr "" + +#. TRANSLATORS: Feed Rate +msgid "material-rate" +msgstr "" + +#. TRANSLATORS: Feed Rate Units +msgid "material-rate-units" +msgstr "" + +#. TRANSLATORS: Milligrams per second +msgid "material-rate-units.mg_second" +msgstr "" + +#. TRANSLATORS: Milliliters per second +msgid "material-rate-units.ml_second" +msgstr "" + +#. TRANSLATORS: Millimeters per second +msgid "material-rate-units.mm_second" +msgstr "" + +#. TRANSLATORS: Material Retraction +msgid "material-retraction" +msgstr "" + +#. TRANSLATORS: Material Shell Thickness +msgid "material-shell-thickness" +msgstr "" + +#. TRANSLATORS: Material Temperature +msgid "material-temperature" +msgstr "" + +#. TRANSLATORS: Material Type +msgid "material-type" +msgstr "" + +#. TRANSLATORS: ABS +msgid "material-type.abs" +msgstr "" + +#. TRANSLATORS: Carbon Fiber ABS +msgid "material-type.abs-carbon-fiber" +msgstr "" + +#. TRANSLATORS: Carbon Nanotube ABS +msgid "material-type.abs-carbon-nanotube" +msgstr "" + +#. TRANSLATORS: Chocolate +msgid "material-type.chocolate" +msgstr "" + +#. TRANSLATORS: Gold +msgid "material-type.gold" +msgstr "" + +#. TRANSLATORS: Nylon +msgid "material-type.nylon" +msgstr "" + +#. TRANSLATORS: Pet +msgid "material-type.pet" +msgstr "" + +#. TRANSLATORS: Photopolymer +msgid "material-type.photopolymer" +msgstr "" + +#. TRANSLATORS: PLA +msgid "material-type.pla" +msgstr "" + +#. TRANSLATORS: Conductive PLA +msgid "material-type.pla-conductive" +msgstr "" + +#. TRANSLATORS: Pla Dissolvable +msgid "material-type.pla-dissolvable" +msgstr "" + +#. TRANSLATORS: Flexible PLA +msgid "material-type.pla-flexible" +msgstr "" + +#. TRANSLATORS: Magnetic PLA +msgid "material-type.pla-magnetic" +msgstr "" + +#. TRANSLATORS: Steel PLA +msgid "material-type.pla-steel" +msgstr "" + +#. TRANSLATORS: Stone PLA +msgid "material-type.pla-stone" +msgstr "" + +#. TRANSLATORS: Wood PLA +msgid "material-type.pla-wood" +msgstr "" + +#. TRANSLATORS: Polycarbonate +msgid "material-type.polycarbonate" +msgstr "" + +#. TRANSLATORS: Dissolvable PVA +msgid "material-type.pva-dissolvable" +msgstr "" + +#. TRANSLATORS: Silver +msgid "material-type.silver" +msgstr "" + +#. TRANSLATORS: Titanium +msgid "material-type.titanium" +msgstr "" + +#. TRANSLATORS: Wax +msgid "material-type.wax" +msgstr "" + +#. TRANSLATORS: Materials +msgid "materials-col" +msgstr "" + +#. TRANSLATORS: Media +msgid "media" +msgstr "" + +#. TRANSLATORS: Back Coating of Media +msgid "media-back-coating" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "media-back-coating.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "media-back-coating.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "media-back-coating.matte" +msgstr "" + +#. TRANSLATORS: None +msgid "media-back-coating.none" +msgstr "" + +#. TRANSLATORS: Satin +msgid "media-back-coating.satin" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "media-back-coating.semi-gloss" +msgstr "" + +#. TRANSLATORS: Media Bottom Margin +msgid "media-bottom-margin" +msgstr "" + +#. TRANSLATORS: Media +msgid "media-col" +msgstr "" + +#. TRANSLATORS: Media Color +msgid "media-color" +msgstr "" + +#. TRANSLATORS: Black +msgid "media-color.black" +msgstr "" + +#. TRANSLATORS: Blue +msgid "media-color.blue" +msgstr "" + +#. TRANSLATORS: Brown +msgid "media-color.brown" +msgstr "" + +#. TRANSLATORS: Buff +msgid "media-color.buff" +msgstr "" + +#. TRANSLATORS: Clear Black +msgid "media-color.clear-black" +msgstr "" + +#. TRANSLATORS: Clear Blue +msgid "media-color.clear-blue" +msgstr "" + +#. TRANSLATORS: Clear Brown +msgid "media-color.clear-brown" +msgstr "" + +#. TRANSLATORS: Clear Buff +msgid "media-color.clear-buff" +msgstr "" + +#. TRANSLATORS: Clear Cyan +msgid "media-color.clear-cyan" +msgstr "" + +#. TRANSLATORS: Clear Gold +msgid "media-color.clear-gold" +msgstr "" + +#. TRANSLATORS: Clear Goldenrod +msgid "media-color.clear-goldenrod" +msgstr "" + +#. TRANSLATORS: Clear Gray +msgid "media-color.clear-gray" +msgstr "" + +#. TRANSLATORS: Clear Green +msgid "media-color.clear-green" +msgstr "" + +#. TRANSLATORS: Clear Ivory +msgid "media-color.clear-ivory" +msgstr "" + +#. TRANSLATORS: Clear Magenta +msgid "media-color.clear-magenta" +msgstr "" + +#. TRANSLATORS: Clear Multi Color +msgid "media-color.clear-multi-color" +msgstr "" + +#. TRANSLATORS: Clear Mustard +msgid "media-color.clear-mustard" +msgstr "" + +#. TRANSLATORS: Clear Orange +msgid "media-color.clear-orange" +msgstr "" + +#. TRANSLATORS: Clear Pink +msgid "media-color.clear-pink" +msgstr "" + +#. TRANSLATORS: Clear Red +msgid "media-color.clear-red" +msgstr "" + +#. TRANSLATORS: Clear Silver +msgid "media-color.clear-silver" +msgstr "" + +#. TRANSLATORS: Clear Turquoise +msgid "media-color.clear-turquoise" +msgstr "" + +#. TRANSLATORS: Clear Violet +msgid "media-color.clear-violet" +msgstr "" + +#. TRANSLATORS: Clear White +msgid "media-color.clear-white" +msgstr "" + +#. TRANSLATORS: Clear Yellow +msgid "media-color.clear-yellow" +msgstr "" + +#. TRANSLATORS: Cyan +msgid "media-color.cyan" +msgstr "" + +#. TRANSLATORS: Dark Blue +msgid "media-color.dark-blue" +msgstr "" + +#. TRANSLATORS: Dark Brown +msgid "media-color.dark-brown" +msgstr "" + +#. TRANSLATORS: Dark Buff +msgid "media-color.dark-buff" +msgstr "" + +#. TRANSLATORS: Dark Cyan +msgid "media-color.dark-cyan" +msgstr "" + +#. TRANSLATORS: Dark Gold +msgid "media-color.dark-gold" +msgstr "" + +#. TRANSLATORS: Dark Goldenrod +msgid "media-color.dark-goldenrod" +msgstr "" + +#. TRANSLATORS: Dark Gray +msgid "media-color.dark-gray" +msgstr "" + +#. TRANSLATORS: Dark Green +msgid "media-color.dark-green" +msgstr "" + +#. TRANSLATORS: Dark Ivory +msgid "media-color.dark-ivory" +msgstr "" + +#. TRANSLATORS: Dark Magenta +msgid "media-color.dark-magenta" +msgstr "" + +#. TRANSLATORS: Dark Mustard +msgid "media-color.dark-mustard" +msgstr "" + +#. TRANSLATORS: Dark Orange +msgid "media-color.dark-orange" +msgstr "" + +#. TRANSLATORS: Dark Pink +msgid "media-color.dark-pink" +msgstr "" + +#. TRANSLATORS: Dark Red +msgid "media-color.dark-red" +msgstr "" + +#. TRANSLATORS: Dark Silver +msgid "media-color.dark-silver" +msgstr "" + +#. TRANSLATORS: Dark Turquoise +msgid "media-color.dark-turquoise" +msgstr "" + +#. TRANSLATORS: Dark Violet +msgid "media-color.dark-violet" +msgstr "" + +#. TRANSLATORS: Dark Yellow +msgid "media-color.dark-yellow" +msgstr "" + +#. TRANSLATORS: Gold +msgid "media-color.gold" +msgstr "" + +#. TRANSLATORS: Goldenrod +msgid "media-color.goldenrod" +msgstr "" + +#. TRANSLATORS: Gray +msgid "media-color.gray" +msgstr "" + +#. TRANSLATORS: Green +msgid "media-color.green" +msgstr "" + +#. TRANSLATORS: Ivory +msgid "media-color.ivory" +msgstr "" + +#. TRANSLATORS: Light Black +msgid "media-color.light-black" +msgstr "" + +#. TRANSLATORS: Light Blue +msgid "media-color.light-blue" +msgstr "" + +#. TRANSLATORS: Light Brown +msgid "media-color.light-brown" +msgstr "" + +#. TRANSLATORS: Light Buff +msgid "media-color.light-buff" +msgstr "" + +#. TRANSLATORS: Light Cyan +msgid "media-color.light-cyan" +msgstr "" + +#. TRANSLATORS: Light Gold +msgid "media-color.light-gold" +msgstr "" + +#. TRANSLATORS: Light Goldenrod +msgid "media-color.light-goldenrod" +msgstr "" + +#. TRANSLATORS: Light Gray +msgid "media-color.light-gray" +msgstr "" + +#. TRANSLATORS: Light Green +msgid "media-color.light-green" +msgstr "" + +#. TRANSLATORS: Light Ivory +msgid "media-color.light-ivory" +msgstr "" + +#. TRANSLATORS: Light Magenta +msgid "media-color.light-magenta" +msgstr "" + +#. TRANSLATORS: Light Mustard +msgid "media-color.light-mustard" +msgstr "" + +#. TRANSLATORS: Light Orange +msgid "media-color.light-orange" +msgstr "" + +#. TRANSLATORS: Light Pink +msgid "media-color.light-pink" +msgstr "" + +#. TRANSLATORS: Light Red +msgid "media-color.light-red" +msgstr "" + +#. TRANSLATORS: Light Silver +msgid "media-color.light-silver" +msgstr "" + +#. TRANSLATORS: Light Turquoise +msgid "media-color.light-turquoise" +msgstr "" + +#. TRANSLATORS: Light Violet +msgid "media-color.light-violet" +msgstr "" + +#. TRANSLATORS: Light Yellow +msgid "media-color.light-yellow" +msgstr "" + +#. TRANSLATORS: Magenta +msgid "media-color.magenta" +msgstr "" + +#. TRANSLATORS: Multi-color +msgid "media-color.multi-color" +msgstr "" + +#. TRANSLATORS: Mustard +msgid "media-color.mustard" +msgstr "" + +#. TRANSLATORS: No Color +msgid "media-color.no-color" +msgstr "" + +#. TRANSLATORS: Orange +msgid "media-color.orange" +msgstr "" + +#. TRANSLATORS: Pink +msgid "media-color.pink" +msgstr "" + +#. TRANSLATORS: Red +msgid "media-color.red" +msgstr "" + +#. TRANSLATORS: Silver +msgid "media-color.silver" +msgstr "" + +#. TRANSLATORS: Turquoise +msgid "media-color.turquoise" +msgstr "" + +#. TRANSLATORS: Violet +msgid "media-color.violet" +msgstr "" + +#. TRANSLATORS: White +msgid "media-color.white" +msgstr "" + +#. TRANSLATORS: Yellow +msgid "media-color.yellow" +msgstr "" + +#. TRANSLATORS: Front Coating of Media +msgid "media-front-coating" +msgstr "" + +#. TRANSLATORS: Media Grain +msgid "media-grain" +msgstr "" + +#. TRANSLATORS: Cross-Feed Direction +msgid "media-grain.x-direction" +msgstr "" + +#. TRANSLATORS: Feed Direction +msgid "media-grain.y-direction" +msgstr "" + +#. TRANSLATORS: Media Hole Count +msgid "media-hole-count" +msgstr "" + +#. TRANSLATORS: Media Info +msgid "media-info" +msgstr "" + +#. TRANSLATORS: Force Media +msgid "media-input-tray-check" +msgstr "" + +#. TRANSLATORS: Media Left Margin +msgid "media-left-margin" +msgstr "" + +#. TRANSLATORS: Pre-printed Media +msgid "media-pre-printed" +msgstr "" + +#. TRANSLATORS: Blank +msgid "media-pre-printed.blank" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-pre-printed.letter-head" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "media-pre-printed.pre-printed" +msgstr "" + +#. TRANSLATORS: Recycled Media +msgid "media-recycled" +msgstr "" + +#. TRANSLATORS: None +msgid "media-recycled.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "media-recycled.standard" +msgstr "" + +#. TRANSLATORS: Media Right Margin +msgid "media-right-margin" +msgstr "" + +#. TRANSLATORS: Media Dimensions +msgid "media-size" +msgstr "" + +#. TRANSLATORS: Media Name +msgid "media-size-name" +msgstr "" + +#. TRANSLATORS: Media Source +msgid "media-source" +msgstr "" + +#. TRANSLATORS: Alternate +msgid "media-source.alternate" +msgstr "" + +#. TRANSLATORS: Alternate Roll +msgid "media-source.alternate-roll" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-source.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "media-source.bottom" +msgstr "" + +#. TRANSLATORS: By-pass Tray +msgid "media-source.by-pass-tray" +msgstr "" + +#. TRANSLATORS: Center +msgid "media-source.center" +msgstr "" + +#. TRANSLATORS: Disc +msgid "media-source.disc" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-source.envelope" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media-source.hagaki" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "media-source.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "media-source.left" +msgstr "" + +#. TRANSLATORS: Main +msgid "media-source.main" +msgstr "" + +#. TRANSLATORS: Main Roll +msgid "media-source.main-roll" +msgstr "" + +#. TRANSLATORS: Manual +msgid "media-source.manual" +msgstr "" + +#. TRANSLATORS: Middle +msgid "media-source.middle" +msgstr "" + +#. TRANSLATORS: Photo +msgid "media-source.photo" +msgstr "" + +#. TRANSLATORS: Rear +msgid "media-source.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "media-source.right" +msgstr "" + +#. TRANSLATORS: Roll 1 +msgid "media-source.roll-1" +msgstr "" + +#. TRANSLATORS: Roll 10 +msgid "media-source.roll-10" +msgstr "" + +#. TRANSLATORS: Roll 2 +msgid "media-source.roll-2" +msgstr "" + +#. TRANSLATORS: Roll 3 +msgid "media-source.roll-3" +msgstr "" + +#. TRANSLATORS: Roll 4 +msgid "media-source.roll-4" +msgstr "" + +#. TRANSLATORS: Roll 5 +msgid "media-source.roll-5" +msgstr "" + +#. TRANSLATORS: Roll 6 +msgid "media-source.roll-6" +msgstr "" + +#. TRANSLATORS: Roll 7 +msgid "media-source.roll-7" +msgstr "" + +#. TRANSLATORS: Roll 8 +msgid "media-source.roll-8" +msgstr "" + +#. TRANSLATORS: Roll 9 +msgid "media-source.roll-9" +msgstr "" + +#. TRANSLATORS: Side +msgid "media-source.side" +msgstr "" + +#. TRANSLATORS: Top +msgid "media-source.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "media-source.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "media-source.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 11 +msgid "media-source.tray-11" +msgstr "" + +#. TRANSLATORS: Tray 12 +msgid "media-source.tray-12" +msgstr "" + +#. TRANSLATORS: Tray 13 +msgid "media-source.tray-13" +msgstr "" + +#. TRANSLATORS: Tray 14 +msgid "media-source.tray-14" +msgstr "" + +#. TRANSLATORS: Tray 15 +msgid "media-source.tray-15" +msgstr "" + +#. TRANSLATORS: Tray 16 +msgid "media-source.tray-16" +msgstr "" + +#. TRANSLATORS: Tray 17 +msgid "media-source.tray-17" +msgstr "" + +#. TRANSLATORS: Tray 18 +msgid "media-source.tray-18" +msgstr "" + +#. TRANSLATORS: Tray 19 +msgid "media-source.tray-19" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "media-source.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 20 +msgid "media-source.tray-20" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "media-source.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "media-source.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "media-source.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "media-source.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "media-source.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "media-source.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "media-source.tray-9" +msgstr "" + +#. TRANSLATORS: Media Thickness +msgid "media-thickness" +msgstr "" + +#. TRANSLATORS: Media Tooth (Texture) +msgid "media-tooth" +msgstr "" + +#. TRANSLATORS: Antique +msgid "media-tooth.antique" +msgstr "" + +#. TRANSLATORS: Extra Smooth +msgid "media-tooth.calendared" +msgstr "" + +#. TRANSLATORS: Coarse +msgid "media-tooth.coarse" +msgstr "" + +#. TRANSLATORS: Fine +msgid "media-tooth.fine" +msgstr "" + +#. TRANSLATORS: Linen +msgid "media-tooth.linen" +msgstr "" + +#. TRANSLATORS: Medium +msgid "media-tooth.medium" +msgstr "" + +#. TRANSLATORS: Smooth +msgid "media-tooth.smooth" +msgstr "" + +#. TRANSLATORS: Stipple +msgid "media-tooth.stipple" +msgstr "" + +#. TRANSLATORS: Rough +msgid "media-tooth.uncalendared" +msgstr "" + +#. TRANSLATORS: Vellum +msgid "media-tooth.vellum" +msgstr "" + +#. TRANSLATORS: Media Top Margin +msgid "media-top-margin" +msgstr "" + +#. TRANSLATORS: Media Type +msgid "media-type" +msgstr "" + +#. TRANSLATORS: Aluminum +msgid "media-type.aluminum" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-type.auto" +msgstr "" + +#. TRANSLATORS: Back Print Film +msgid "media-type.back-print-film" +msgstr "" + +#. TRANSLATORS: Cardboard +msgid "media-type.cardboard" +msgstr "" + +#. TRANSLATORS: Cardstock +msgid "media-type.cardstock" +msgstr "" + +#. TRANSLATORS: CD +msgid "media-type.cd" +msgstr "" + +#. TRANSLATORS: Continuous +msgid "media-type.continuous" +msgstr "" + +#. TRANSLATORS: Continuous Long +msgid "media-type.continuous-long" +msgstr "" + +#. TRANSLATORS: Continuous Short +msgid "media-type.continuous-short" +msgstr "" + +#. TRANSLATORS: Corrugated Board +msgid "media-type.corrugated-board" +msgstr "" + +#. TRANSLATORS: Optical Disc +msgid "media-type.disc" +msgstr "" + +#. TRANSLATORS: Glossy Optical Disc +msgid "media-type.disc-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Optical Disc +msgid "media-type.disc-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Optical Disc +msgid "media-type.disc-matte" +msgstr "" + +#. TRANSLATORS: Satin Optical Disc +msgid "media-type.disc-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Optical Disc +msgid "media-type.disc-semi-gloss" +msgstr "" + +#. TRANSLATORS: Double Wall +msgid "media-type.double-wall" +msgstr "" + +#. TRANSLATORS: Dry Film +msgid "media-type.dry-film" +msgstr "" + +#. TRANSLATORS: DVD +msgid "media-type.dvd" +msgstr "" + +#. TRANSLATORS: Embossing Foil +msgid "media-type.embossing-foil" +msgstr "" + +#. TRANSLATORS: End Board +msgid "media-type.end-board" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-type.envelope" +msgstr "" + +#. TRANSLATORS: Archival Envelope +msgid "media-type.envelope-archival" +msgstr "" + +#. TRANSLATORS: Bond Envelope +msgid "media-type.envelope-bond" +msgstr "" + +#. TRANSLATORS: Coated Envelope +msgid "media-type.envelope-coated" +msgstr "" + +#. TRANSLATORS: Cotton Envelope +msgid "media-type.envelope-cotton" +msgstr "" + +#. TRANSLATORS: Fine Envelope +msgid "media-type.envelope-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Envelope +msgid "media-type.envelope-heavyweight" +msgstr "" + +#. TRANSLATORS: Inkjet Envelope +msgid "media-type.envelope-inkjet" +msgstr "" + +#. TRANSLATORS: Lightweight Envelope +msgid "media-type.envelope-lightweight" +msgstr "" + +#. TRANSLATORS: Plain Envelope +msgid "media-type.envelope-plain" +msgstr "" + +#. TRANSLATORS: Preprinted Envelope +msgid "media-type.envelope-preprinted" +msgstr "" + +#. TRANSLATORS: Windowed Envelope +msgid "media-type.envelope-window" +msgstr "" + +#. TRANSLATORS: Fabric +msgid "media-type.fabric" +msgstr "" + +#. TRANSLATORS: Archival Fabric +msgid "media-type.fabric-archival" +msgstr "" + +#. TRANSLATORS: Glossy Fabric +msgid "media-type.fabric-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Fabric +msgid "media-type.fabric-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Fabric +msgid "media-type.fabric-matte" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Fabric +msgid "media-type.fabric-semi-gloss" +msgstr "" + +#. TRANSLATORS: Waterproof Fabric +msgid "media-type.fabric-waterproof" +msgstr "" + +#. TRANSLATORS: Film +msgid "media-type.film" +msgstr "" + +#. TRANSLATORS: Flexo Base +msgid "media-type.flexo-base" +msgstr "" + +#. TRANSLATORS: Flexo Photo Polymer +msgid "media-type.flexo-photo-polymer" +msgstr "" + +#. TRANSLATORS: Flute +msgid "media-type.flute" +msgstr "" + +#. TRANSLATORS: Foil +msgid "media-type.foil" +msgstr "" + +#. TRANSLATORS: Full Cut Tabs +msgid "media-type.full-cut-tabs" +msgstr "" + +#. TRANSLATORS: Glass +msgid "media-type.glass" +msgstr "" + +#. TRANSLATORS: Glass Colored +msgid "media-type.glass-colored" +msgstr "" + +#. TRANSLATORS: Glass Opaque +msgid "media-type.glass-opaque" +msgstr "" + +#. TRANSLATORS: Glass Surfaced +msgid "media-type.glass-surfaced" +msgstr "" + +#. TRANSLATORS: Glass Textured +msgid "media-type.glass-textured" +msgstr "" + +#. TRANSLATORS: Gravure Cylinder +msgid "media-type.gravure-cylinder" +msgstr "" + +#. TRANSLATORS: Image Setter Paper +msgid "media-type.image-setter-paper" +msgstr "" + +#. TRANSLATORS: Imaging Cylinder +msgid "media-type.imaging-cylinder" +msgstr "" + +#. TRANSLATORS: Labels +msgid "media-type.labels" +msgstr "" + +#. TRANSLATORS: Colored Labels +msgid "media-type.labels-colored" +msgstr "" + +#. TRANSLATORS: Glossy Labels +msgid "media-type.labels-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Labels +msgid "media-type.labels-high-gloss" +msgstr "" + +#. TRANSLATORS: Inkjet Labels +msgid "media-type.labels-inkjet" +msgstr "" + +#. TRANSLATORS: Matte Labels +msgid "media-type.labels-matte" +msgstr "" + +#. TRANSLATORS: Permanent Labels +msgid "media-type.labels-permanent" +msgstr "" + +#. TRANSLATORS: Satin Labels +msgid "media-type.labels-satin" +msgstr "" + +#. TRANSLATORS: Security Labels +msgid "media-type.labels-security" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Labels +msgid "media-type.labels-semi-gloss" +msgstr "" + +#. TRANSLATORS: Laminating Foil +msgid "media-type.laminating-foil" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.letterhead" +msgstr "" + +#. TRANSLATORS: Metal +msgid "media-type.metal" +msgstr "" + +#. TRANSLATORS: Metal Glossy +msgid "media-type.metal-glossy" +msgstr "" + +#. TRANSLATORS: Metal High Gloss +msgid "media-type.metal-high-gloss" +msgstr "" + +#. TRANSLATORS: Metal Matte +msgid "media-type.metal-matte" +msgstr "" + +#. TRANSLATORS: Metal Satin +msgid "media-type.metal-satin" +msgstr "" + +#. TRANSLATORS: Metal Semi Gloss +msgid "media-type.metal-semi-gloss" +msgstr "" + +#. TRANSLATORS: Mounting Tape +msgid "media-type.mounting-tape" +msgstr "" + +#. TRANSLATORS: Multi Layer +msgid "media-type.multi-layer" +msgstr "" + +#. TRANSLATORS: Multi Part Form +msgid "media-type.multi-part-form" +msgstr "" + +#. TRANSLATORS: Other +msgid "media-type.other" +msgstr "" + +#. TRANSLATORS: Paper +msgid "media-type.paper" +msgstr "" + +#. TRANSLATORS: Photo Paper +msgid "media-type.photographic" +msgstr "" + +#. TRANSLATORS: Photographic Archival +msgid "media-type.photographic-archival" +msgstr "" + +#. TRANSLATORS: Photo Film +msgid "media-type.photographic-film" +msgstr "" + +#. TRANSLATORS: Glossy Photo Paper +msgid "media-type.photographic-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Photo Paper +msgid "media-type.photographic-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Photo Paper +msgid "media-type.photographic-matte" +msgstr "" + +#. TRANSLATORS: Satin Photo Paper +msgid "media-type.photographic-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Photo Paper +msgid "media-type.photographic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plastic +msgid "media-type.plastic" +msgstr "" + +#. TRANSLATORS: Plastic Archival +msgid "media-type.plastic-archival" +msgstr "" + +#. TRANSLATORS: Plastic Colored +msgid "media-type.plastic-colored" +msgstr "" + +#. TRANSLATORS: Plastic Glossy +msgid "media-type.plastic-glossy" +msgstr "" + +#. TRANSLATORS: Plastic High Gloss +msgid "media-type.plastic-high-gloss" +msgstr "" + +#. TRANSLATORS: Plastic Matte +msgid "media-type.plastic-matte" +msgstr "" + +#. TRANSLATORS: Plastic Satin +msgid "media-type.plastic-satin" +msgstr "" + +#. TRANSLATORS: Plastic Semi Gloss +msgid "media-type.plastic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plate +msgid "media-type.plate" +msgstr "" + +#. TRANSLATORS: Polyester +msgid "media-type.polyester" +msgstr "" + +#. TRANSLATORS: Pre Cut Tabs +msgid "media-type.pre-cut-tabs" +msgstr "" + +#. TRANSLATORS: Roll +msgid "media-type.roll" +msgstr "" + +#. TRANSLATORS: Screen +msgid "media-type.screen" +msgstr "" + +#. TRANSLATORS: Screen Paged +msgid "media-type.screen-paged" +msgstr "" + +#. TRANSLATORS: Self Adhesive +msgid "media-type.self-adhesive" +msgstr "" + +#. TRANSLATORS: Self Adhesive Film +msgid "media-type.self-adhesive-film" +msgstr "" + +#. TRANSLATORS: Shrink Foil +msgid "media-type.shrink-foil" +msgstr "" + +#. TRANSLATORS: Single Face +msgid "media-type.single-face" +msgstr "" + +#. TRANSLATORS: Single Wall +msgid "media-type.single-wall" +msgstr "" + +#. TRANSLATORS: Sleeve +msgid "media-type.sleeve" +msgstr "" + +#. TRANSLATORS: Stationery +msgid "media-type.stationery" +msgstr "" + +#. TRANSLATORS: Stationery Archival +msgid "media-type.stationery-archival" +msgstr "" + +#. TRANSLATORS: Coated Paper +msgid "media-type.stationery-coated" +msgstr "" + +#. TRANSLATORS: Stationery Cotton +msgid "media-type.stationery-cotton" +msgstr "" + +#. TRANSLATORS: Vellum Paper +msgid "media-type.stationery-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Paper +msgid "media-type.stationery-heavyweight" +msgstr "" + +#. TRANSLATORS: Stationery Heavyweight Coated +msgid "media-type.stationery-heavyweight-coated" +msgstr "" + +#. TRANSLATORS: Stationery Inkjet Paper +msgid "media-type.stationery-inkjet" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.stationery-letterhead" +msgstr "" + +#. TRANSLATORS: Lightweight Paper +msgid "media-type.stationery-lightweight" +msgstr "" + +#. TRANSLATORS: Preprinted Paper +msgid "media-type.stationery-preprinted" +msgstr "" + +#. TRANSLATORS: Punched Paper +msgid "media-type.stationery-prepunched" +msgstr "" + +#. TRANSLATORS: Tab Stock +msgid "media-type.tab-stock" +msgstr "" + +#. TRANSLATORS: Tractor +msgid "media-type.tractor" +msgstr "" + +#. TRANSLATORS: Transfer +msgid "media-type.transfer" +msgstr "" + +#. TRANSLATORS: Transparency +msgid "media-type.transparency" +msgstr "" + +#. TRANSLATORS: Triple Wall +msgid "media-type.triple-wall" +msgstr "" + +#. TRANSLATORS: Wet Film +msgid "media-type.wet-film" +msgstr "" + +#. TRANSLATORS: Media Weight (grams per m²) +msgid "media-weight-metric" +msgstr "" + +#. TRANSLATORS: 28 x 40″ +msgid "media.asme_f_28x40in" +msgstr "" + +#. TRANSLATORS: A4 or US Letter +msgid "media.choice_iso_a4_210x297mm_na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: 2a0 +msgid "media.iso_2a0_1189x1682mm" +msgstr "" + +#. TRANSLATORS: A0 +msgid "media.iso_a0_841x1189mm" +msgstr "" + +#. TRANSLATORS: A0x3 +msgid "media.iso_a0x3_1189x2523mm" +msgstr "" + +#. TRANSLATORS: A10 +msgid "media.iso_a10_26x37mm" +msgstr "" + +#. TRANSLATORS: A1 +msgid "media.iso_a1_594x841mm" +msgstr "" + +#. TRANSLATORS: A1x3 +msgid "media.iso_a1x3_841x1783mm" +msgstr "" + +#. TRANSLATORS: A1x4 +msgid "media.iso_a1x4_841x2378mm" +msgstr "" + +#. TRANSLATORS: A2 +msgid "media.iso_a2_420x594mm" +msgstr "" + +#. TRANSLATORS: A2x3 +msgid "media.iso_a2x3_594x1261mm" +msgstr "" + +#. TRANSLATORS: A2x4 +msgid "media.iso_a2x4_594x1682mm" +msgstr "" + +#. TRANSLATORS: A2x5 +msgid "media.iso_a2x5_594x2102mm" +msgstr "" + +#. TRANSLATORS: A3 (Extra) +msgid "media.iso_a3-extra_322x445mm" +msgstr "" + +#. TRANSLATORS: A3 +msgid "media.iso_a3_297x420mm" +msgstr "" + +#. TRANSLATORS: A3x3 +msgid "media.iso_a3x3_420x891mm" +msgstr "" + +#. TRANSLATORS: A3x4 +msgid "media.iso_a3x4_420x1189mm" +msgstr "" + +#. TRANSLATORS: A3x5 +msgid "media.iso_a3x5_420x1486mm" +msgstr "" + +#. TRANSLATORS: A3x6 +msgid "media.iso_a3x6_420x1783mm" +msgstr "" + +#. TRANSLATORS: A3x7 +msgid "media.iso_a3x7_420x2080mm" +msgstr "" + +#. TRANSLATORS: A4 (Extra) +msgid "media.iso_a4-extra_235.5x322.3mm" +msgstr "" + +#. TRANSLATORS: A4 (Tab) +msgid "media.iso_a4-tab_225x297mm" +msgstr "" + +#. TRANSLATORS: A4 +msgid "media.iso_a4_210x297mm" +msgstr "" + +#. TRANSLATORS: A4x3 +msgid "media.iso_a4x3_297x630mm" +msgstr "" + +#. TRANSLATORS: A4x4 +msgid "media.iso_a4x4_297x841mm" +msgstr "" + +#. TRANSLATORS: A4x5 +msgid "media.iso_a4x5_297x1051mm" +msgstr "" + +#. TRANSLATORS: A4x6 +msgid "media.iso_a4x6_297x1261mm" +msgstr "" + +#. TRANSLATORS: A4x7 +msgid "media.iso_a4x7_297x1471mm" +msgstr "" + +#. TRANSLATORS: A4x8 +msgid "media.iso_a4x8_297x1682mm" +msgstr "" + +#. TRANSLATORS: A4x9 +msgid "media.iso_a4x9_297x1892mm" +msgstr "" + +#. TRANSLATORS: A5 (Extra) +msgid "media.iso_a5-extra_174x235mm" +msgstr "" + +#. TRANSLATORS: A5 +msgid "media.iso_a5_148x210mm" +msgstr "" + +#. TRANSLATORS: A6 +msgid "media.iso_a6_105x148mm" +msgstr "" + +#. TRANSLATORS: A7 +msgid "media.iso_a7_74x105mm" +msgstr "" + +#. TRANSLATORS: A8 +msgid "media.iso_a8_52x74mm" +msgstr "" + +#. TRANSLATORS: A9 +msgid "media.iso_a9_37x52mm" +msgstr "" + +#. TRANSLATORS: B0 +msgid "media.iso_b0_1000x1414mm" +msgstr "" + +#. TRANSLATORS: B10 +msgid "media.iso_b10_31x44mm" +msgstr "" + +#. TRANSLATORS: B1 +msgid "media.iso_b1_707x1000mm" +msgstr "" + +#. TRANSLATORS: B2 +msgid "media.iso_b2_500x707mm" +msgstr "" + +#. TRANSLATORS: B3 +msgid "media.iso_b3_353x500mm" +msgstr "" + +#. TRANSLATORS: B4 +msgid "media.iso_b4_250x353mm" +msgstr "" + +#. TRANSLATORS: B5 (Extra) +msgid "media.iso_b5-extra_201x276mm" +msgstr "" + +#. TRANSLATORS: Envelope B5 +msgid "media.iso_b5_176x250mm" +msgstr "" + +#. TRANSLATORS: B6 +msgid "media.iso_b6_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope B6/C4 +msgid "media.iso_b6c4_125x324mm" +msgstr "" + +#. TRANSLATORS: B7 +msgid "media.iso_b7_88x125mm" +msgstr "" + +#. TRANSLATORS: B8 +msgid "media.iso_b8_62x88mm" +msgstr "" + +#. TRANSLATORS: B9 +msgid "media.iso_b9_44x62mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 0 +msgid "media.iso_c0_917x1297mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 10 +msgid "media.iso_c10_28x40mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 1 +msgid "media.iso_c1_648x917mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 2 +msgid "media.iso_c2_458x648mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 3 +msgid "media.iso_c3_324x458mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 4 +msgid "media.iso_c4_229x324mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 5 +msgid "media.iso_c5_162x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6 +msgid "media.iso_c6_114x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6c5 +msgid "media.iso_c6c5_114x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7 +msgid "media.iso_c7_81x114mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7c6 +msgid "media.iso_c7c6_81x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 8 +msgid "media.iso_c8_57x81mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 9 +msgid "media.iso_c9_40x57mm" +msgstr "" + +#. TRANSLATORS: Envelope DL +msgid "media.iso_dl_110x220mm" +msgstr "" + +#. TRANSLATORS: Id-1 +msgid "media.iso_id-1_53.98x85.6mm" +msgstr "" + +#. TRANSLATORS: Id-3 +msgid "media.iso_id-3_88x125mm" +msgstr "" + +#. TRANSLATORS: ISO RA0 +msgid "media.iso_ra0_860x1220mm" +msgstr "" + +#. TRANSLATORS: ISO RA1 +msgid "media.iso_ra1_610x860mm" +msgstr "" + +#. TRANSLATORS: ISO RA2 +msgid "media.iso_ra2_430x610mm" +msgstr "" + +#. TRANSLATORS: ISO RA3 +msgid "media.iso_ra3_305x430mm" +msgstr "" + +#. TRANSLATORS: ISO RA4 +msgid "media.iso_ra4_215x305mm" +msgstr "" + +#. TRANSLATORS: ISO SRA0 +msgid "media.iso_sra0_900x1280mm" +msgstr "" + +#. TRANSLATORS: ISO SRA1 +msgid "media.iso_sra1_640x900mm" +msgstr "" + +#. TRANSLATORS: ISO SRA2 +msgid "media.iso_sra2_450x640mm" +msgstr "" + +#. TRANSLATORS: ISO SRA3 +msgid "media.iso_sra3_320x450mm" +msgstr "" + +#. TRANSLATORS: ISO SRA4 +msgid "media.iso_sra4_225x320mm" +msgstr "" + +#. TRANSLATORS: JIS B0 +msgid "media.jis_b0_1030x1456mm" +msgstr "" + +#. TRANSLATORS: JIS B10 +msgid "media.jis_b10_32x45mm" +msgstr "" + +#. TRANSLATORS: JIS B1 +msgid "media.jis_b1_728x1030mm" +msgstr "" + +#. TRANSLATORS: JIS B2 +msgid "media.jis_b2_515x728mm" +msgstr "" + +#. TRANSLATORS: JIS B3 +msgid "media.jis_b3_364x515mm" +msgstr "" + +#. TRANSLATORS: JIS B4 +msgid "media.jis_b4_257x364mm" +msgstr "" + +#. TRANSLATORS: JIS B5 +msgid "media.jis_b5_182x257mm" +msgstr "" + +#. TRANSLATORS: JIS B6 +msgid "media.jis_b6_128x182mm" +msgstr "" + +#. TRANSLATORS: JIS B7 +msgid "media.jis_b7_91x128mm" +msgstr "" + +#. TRANSLATORS: JIS B8 +msgid "media.jis_b8_64x91mm" +msgstr "" + +#. TRANSLATORS: JIS B9 +msgid "media.jis_b9_45x64mm" +msgstr "" + +#. TRANSLATORS: JIS Executive +msgid "media.jis_exec_216x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 2 +msgid "media.jpn_chou2_111.1x146mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 3 +msgid "media.jpn_chou3_120x235mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 40 +msgid "media.jpn_chou40_90x225mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 4 +msgid "media.jpn_chou4_90x205mm" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media.jpn_hagaki_100x148mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu +msgid "media.jpn_kahu_240x322.1mm" +msgstr "" + +#. TRANSLATORS: 270 x 382mm +msgid "media.jpn_kaku1_270x382mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu 2 +msgid "media.jpn_kaku2_240x332mm" +msgstr "" + +#. TRANSLATORS: 216 x 277mm +msgid "media.jpn_kaku3_216x277mm" +msgstr "" + +#. TRANSLATORS: 197 x 267mm +msgid "media.jpn_kaku4_197x267mm" +msgstr "" + +#. TRANSLATORS: 190 x 240mm +msgid "media.jpn_kaku5_190x240mm" +msgstr "" + +#. TRANSLATORS: 142 x 205mm +msgid "media.jpn_kaku7_142x205mm" +msgstr "" + +#. TRANSLATORS: 119 x 197mm +msgid "media.jpn_kaku8_119x197mm" +msgstr "" + +#. TRANSLATORS: Oufuku Reply Postcard +msgid "media.jpn_oufuku_148x200mm" +msgstr "" + +#. TRANSLATORS: Envelope You 4 +msgid "media.jpn_you4_105x235mm" +msgstr "" + +#. TRANSLATORS: 10 x 11″ +msgid "media.na_10x11_10x11in" +msgstr "" + +#. TRANSLATORS: 10 x 13″ +msgid "media.na_10x13_10x13in" +msgstr "" + +#. TRANSLATORS: 10 x 14″ +msgid "media.na_10x14_10x14in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.na_10x15_10x15in" +msgstr "" + +#. TRANSLATORS: 11 x 12″ +msgid "media.na_11x12_11x12in" +msgstr "" + +#. TRANSLATORS: 11 x 15″ +msgid "media.na_11x15_11x15in" +msgstr "" + +#. TRANSLATORS: 12 x 19″ +msgid "media.na_12x19_12x19in" +msgstr "" + +#. TRANSLATORS: 5 x 7″ +msgid "media.na_5x7_5x7in" +msgstr "" + +#. TRANSLATORS: 6 x 9″ +msgid "media.na_6x9_6x9in" +msgstr "" + +#. TRANSLATORS: 7 x 9″ +msgid "media.na_7x9_7x9in" +msgstr "" + +#. TRANSLATORS: 9 x 11″ +msgid "media.na_9x11_9x11in" +msgstr "" + +#. TRANSLATORS: Envelope A2 +msgid "media.na_a2_4.375x5.75in" +msgstr "" + +#. TRANSLATORS: 9 x 12″ +msgid "media.na_arch-a_9x12in" +msgstr "" + +#. TRANSLATORS: 12 x 18″ +msgid "media.na_arch-b_12x18in" +msgstr "" + +#. TRANSLATORS: 18 x 24″ +msgid "media.na_arch-c_18x24in" +msgstr "" + +#. TRANSLATORS: 24 x 36″ +msgid "media.na_arch-d_24x36in" +msgstr "" + +#. TRANSLATORS: 26 x 38″ +msgid "media.na_arch-e2_26x38in" +msgstr "" + +#. TRANSLATORS: 27 x 39″ +msgid "media.na_arch-e3_27x39in" +msgstr "" + +#. TRANSLATORS: 36 x 48″ +msgid "media.na_arch-e_36x48in" +msgstr "" + +#. TRANSLATORS: 12 x 19.17″ +msgid "media.na_b-plus_12x19.17in" +msgstr "" + +#. TRANSLATORS: Envelope C5 +msgid "media.na_c5_6.5x9.5in" +msgstr "" + +#. TRANSLATORS: 17 x 22″ +msgid "media.na_c_17x22in" +msgstr "" + +#. TRANSLATORS: 22 x 34″ +msgid "media.na_d_22x34in" +msgstr "" + +#. TRANSLATORS: 34 x 44″ +msgid "media.na_e_34x44in" +msgstr "" + +#. TRANSLATORS: 11 x 14″ +msgid "media.na_edp_11x14in" +msgstr "" + +#. TRANSLATORS: 12 x 14″ +msgid "media.na_eur-edp_12x14in" +msgstr "" + +#. TRANSLATORS: Executive +msgid "media.na_executive_7.25x10.5in" +msgstr "" + +#. TRANSLATORS: 44 x 68″ +msgid "media.na_f_44x68in" +msgstr "" + +#. TRANSLATORS: European Fanfold +msgid "media.na_fanfold-eur_8.5x12in" +msgstr "" + +#. TRANSLATORS: US Fanfold +msgid "media.na_fanfold-us_11x14.875in" +msgstr "" + +#. TRANSLATORS: Foolscap +msgid "media.na_foolscap_8.5x13in" +msgstr "" + +#. TRANSLATORS: 8 x 13″ +msgid "media.na_govt-legal_8x13in" +msgstr "" + +#. TRANSLATORS: 8 x 10″ +msgid "media.na_govt-letter_8x10in" +msgstr "" + +#. TRANSLATORS: 3 x 5″ +msgid "media.na_index-3x5_3x5in" +msgstr "" + +#. TRANSLATORS: 6 x 8″ +msgid "media.na_index-4x6-ext_6x8in" +msgstr "" + +#. TRANSLATORS: 4 x 6″ +msgid "media.na_index-4x6_4x6in" +msgstr "" + +#. TRANSLATORS: 5 x 8″ +msgid "media.na_index-5x8_5x8in" +msgstr "" + +#. TRANSLATORS: Statement +msgid "media.na_invoice_5.5x8.5in" +msgstr "" + +#. TRANSLATORS: 11 x 17″ +msgid "media.na_ledger_11x17in" +msgstr "" + +#. TRANSLATORS: US Legal (Extra) +msgid "media.na_legal-extra_9.5x15in" +msgstr "" + +#. TRANSLATORS: US Legal +msgid "media.na_legal_8.5x14in" +msgstr "" + +#. TRANSLATORS: US Letter (Extra) +msgid "media.na_letter-extra_9.5x12in" +msgstr "" + +#. TRANSLATORS: US Letter (Plus) +msgid "media.na_letter-plus_8.5x12.69in" +msgstr "" + +#. TRANSLATORS: US Letter +msgid "media.na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: Envelope Monarch +msgid "media.na_monarch_3.875x7.5in" +msgstr "" + +#. TRANSLATORS: Envelope #10 +msgid "media.na_number-10_4.125x9.5in" +msgstr "" + +#. TRANSLATORS: Envelope #11 +msgid "media.na_number-11_4.5x10.375in" +msgstr "" + +#. TRANSLATORS: Envelope #12 +msgid "media.na_number-12_4.75x11in" +msgstr "" + +#. TRANSLATORS: Envelope #14 +msgid "media.na_number-14_5x11.5in" +msgstr "" + +#. TRANSLATORS: Envelope #9 +msgid "media.na_number-9_3.875x8.875in" +msgstr "" + +#. TRANSLATORS: 8.5 x 13.4″ +msgid "media.na_oficio_8.5x13.4in" +msgstr "" + +#. TRANSLATORS: Envelope Personal +msgid "media.na_personal_3.625x6.5in" +msgstr "" + +#. TRANSLATORS: Quarto +msgid "media.na_quarto_8.5x10.83in" +msgstr "" + +#. TRANSLATORS: 8.94 x 14″ +msgid "media.na_super-a_8.94x14in" +msgstr "" + +#. TRANSLATORS: 13 x 19″ +msgid "media.na_super-b_13x19in" +msgstr "" + +#. TRANSLATORS: 30 x 42″ +msgid "media.na_wide-format_30x42in" +msgstr "" + +#. TRANSLATORS: 12 x 16″ +msgid "media.oe_12x16_12x16in" +msgstr "" + +#. TRANSLATORS: 14 x 17″ +msgid "media.oe_14x17_14x17in" +msgstr "" + +#. TRANSLATORS: 18 x 22″ +msgid "media.oe_18x22_18x22in" +msgstr "" + +#. TRANSLATORS: 17 x 24″ +msgid "media.oe_a2plus_17x24in" +msgstr "" + +#. TRANSLATORS: 2 x 3.5″ +msgid "media.oe_business-card_2x3.5in" +msgstr "" + +#. TRANSLATORS: 10 x 12″ +msgid "media.oe_photo-10r_10x12in" +msgstr "" + +#. TRANSLATORS: 20 x 24″ +msgid "media.oe_photo-20r_20x24in" +msgstr "" + +#. TRANSLATORS: 3.5 x 5″ +msgid "media.oe_photo-l_3.5x5in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.oe_photo-s10r_10x15in" +msgstr "" + +#. TRANSLATORS: 4 x 4″ +msgid "media.oe_square-photo_4x4in" +msgstr "" + +#. TRANSLATORS: 5 x 5″ +msgid "media.oe_square-photo_5x5in" +msgstr "" + +#. TRANSLATORS: 184 x 260mm +msgid "media.om_16k_184x260mm" +msgstr "" + +#. TRANSLATORS: 195 x 270mm +msgid "media.om_16k_195x270mm" +msgstr "" + +#. TRANSLATORS: 55 x 85mm +msgid "media.om_business-card_55x85mm" +msgstr "" + +#. TRANSLATORS: 55 x 91mm +msgid "media.om_business-card_55x91mm" +msgstr "" + +#. TRANSLATORS: 54 x 86mm +msgid "media.om_card_54x86mm" +msgstr "" + +#. TRANSLATORS: 275 x 395mm +msgid "media.om_dai-pa-kai_275x395mm" +msgstr "" + +#. TRANSLATORS: 89 x 119mm +msgid "media.om_dsc-photo_89x119mm" +msgstr "" + +#. TRANSLATORS: Folio +msgid "media.om_folio-sp_215x315mm" +msgstr "" + +#. TRANSLATORS: Folio (Special) +msgid "media.om_folio_210x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Invitation +msgid "media.om_invite_220x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Italian +msgid "media.om_italian_110x230mm" +msgstr "" + +#. TRANSLATORS: 198 x 275mm +msgid "media.om_juuro-ku-kai_198x275mm" +msgstr "" + +#. TRANSLATORS: 200 x 300 +msgid "media.om_large-photo_200x300" +msgstr "" + +#. TRANSLATORS: 130 x 180mm +msgid "media.om_medium-photo_130x180mm" +msgstr "" + +#. TRANSLATORS: 267 x 389mm +msgid "media.om_pa-kai_267x389mm" +msgstr "" + +#. TRANSLATORS: Envelope Postfix +msgid "media.om_postfix_114x229mm" +msgstr "" + +#. TRANSLATORS: 100 x 150mm +msgid "media.om_small-photo_100x150mm" +msgstr "" + +#. TRANSLATORS: 89 x 89mm +msgid "media.om_square-photo_89x89mm" +msgstr "" + +#. TRANSLATORS: 100 x 200mm +msgid "media.om_wide-photo_100x200mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #10 +msgid "media.prc_10_324x458mm" +msgstr "" + +#. TRANSLATORS: Chinese 16k +msgid "media.prc_16k_146x215mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #1 +msgid "media.prc_1_102x165mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #2 +msgid "media.prc_2_102x176mm" +msgstr "" + +#. TRANSLATORS: Chinese 32k +msgid "media.prc_32k_97x151mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #3 +msgid "media.prc_3_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #4 +msgid "media.prc_4_110x208mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #5 +msgid "media.prc_5_110x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #6 +msgid "media.prc_6_120x320mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #7 +msgid "media.prc_7_160x230mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #8 +msgid "media.prc_8_120x309mm" +msgstr "" + +#. TRANSLATORS: ROC 16k +msgid "media.roc_16k_7.75x10.75in" +msgstr "" + +#. TRANSLATORS: ROC 8k +msgid "media.roc_8k_10.75x15.5in" +msgstr "" + +#, c-format +msgid "members of class %s:" +msgstr "члены группы %s:" + +#. TRANSLATORS: Multiple Document Handling +msgid "multiple-document-handling" +msgstr "" + +#. TRANSLATORS: Separate Documents Collated Copies +msgid "multiple-document-handling.separate-documents-collated-copies" +msgstr "" + +#. TRANSLATORS: Separate Documents Uncollated Copies +msgid "multiple-document-handling.separate-documents-uncollated-copies" +msgstr "" + +#. TRANSLATORS: Single Document +msgid "multiple-document-handling.single-document" +msgstr "" + +#. TRANSLATORS: Single Document New Sheet +msgid "multiple-document-handling.single-document-new-sheet" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling +msgid "multiple-object-handling" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling Actual +msgid "multiple-object-handling-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "multiple-object-handling.auto" +msgstr "" + +#. TRANSLATORS: Best Fit +msgid "multiple-object-handling.best-fit" +msgstr "" + +#. TRANSLATORS: Best Quality +msgid "multiple-object-handling.best-quality" +msgstr "" + +#. TRANSLATORS: Best Speed +msgid "multiple-object-handling.best-speed" +msgstr "" + +#. TRANSLATORS: One At A Time +msgid "multiple-object-handling.one-at-a-time" +msgstr "" + +#. TRANSLATORS: On Timeout +msgid "multiple-operation-time-out-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "multiple-operation-time-out-action.abort-job" +msgstr "" + +#. TRANSLATORS: Hold Job +msgid "multiple-operation-time-out-action.hold-job" +msgstr "" + +#. TRANSLATORS: Process Job +msgid "multiple-operation-time-out-action.process-job" +msgstr "" + +msgid "no entries" +msgstr "нет записей" + +msgid "no system default destination" +msgstr "Нет назначение системы по умолчанию" + +#. TRANSLATORS: Noise Removal +msgid "noise-removal" +msgstr "" + +#. TRANSLATORS: Notify Attributes +msgid "notify-attributes" +msgstr "" + +#. TRANSLATORS: Notify Charset +msgid "notify-charset" +msgstr "" + +#. TRANSLATORS: Notify Events +msgid "notify-events" +msgstr "" + +msgid "notify-events not specified." +msgstr "notify-events не указаны." + +#. TRANSLATORS: Document Completed +msgid "notify-events.document-completed" +msgstr "" + +#. TRANSLATORS: Document Config Changed +msgid "notify-events.document-config-changed" +msgstr "" + +#. TRANSLATORS: Document Created +msgid "notify-events.document-created" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "notify-events.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document State Changed +msgid "notify-events.document-state-changed" +msgstr "" + +#. TRANSLATORS: Document Stopped +msgid "notify-events.document-stopped" +msgstr "" + +#. TRANSLATORS: Job Completed +msgid "notify-events.job-completed" +msgstr "" + +#. TRANSLATORS: Job Config Changed +msgid "notify-events.job-config-changed" +msgstr "" + +#. TRANSLATORS: Job Created +msgid "notify-events.job-created" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "notify-events.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Progress +msgid "notify-events.job-progress" +msgstr "" + +#. TRANSLATORS: Job State Changed +msgid "notify-events.job-state-changed" +msgstr "" + +#. TRANSLATORS: Job Stopped +msgid "notify-events.job-stopped" +msgstr "" + +#. TRANSLATORS: None +msgid "notify-events.none" +msgstr "" + +#. TRANSLATORS: Printer Config Changed +msgid "notify-events.printer-config-changed" +msgstr "" + +#. TRANSLATORS: Printer Finishings Changed +msgid "notify-events.printer-finishings-changed" +msgstr "" + +#. TRANSLATORS: Printer Media Changed +msgid "notify-events.printer-media-changed" +msgstr "" + +#. TRANSLATORS: Printer Queue Order Changed +msgid "notify-events.printer-queue-order-changed" +msgstr "" + +#. TRANSLATORS: Printer Restarted +msgid "notify-events.printer-restarted" +msgstr "" + +#. TRANSLATORS: Printer Shutdown +msgid "notify-events.printer-shutdown" +msgstr "" + +#. TRANSLATORS: Printer State Changed +msgid "notify-events.printer-state-changed" +msgstr "" + +#. TRANSLATORS: Printer Stopped +msgid "notify-events.printer-stopped" +msgstr "" + +#. TRANSLATORS: Notify Get Interval +msgid "notify-get-interval" +msgstr "" + +#. TRANSLATORS: Notify Lease Duration +msgid "notify-lease-duration" +msgstr "" + +#. TRANSLATORS: Notify Natural Language +msgid "notify-natural-language" +msgstr "" + +#. TRANSLATORS: Notify Pull Method +msgid "notify-pull-method" +msgstr "" + +#. TRANSLATORS: Notify Recipient +msgid "notify-recipient-uri" +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" is already used." +msgstr "notify-recipient-uri URI \"%s\" уже используется." + +#, c-format +msgid "notify-recipient-uri URI \"%s\" uses unknown scheme." +msgstr "notify-recipient-uri URI \"%s\" использует неизвестную схему." + +#. TRANSLATORS: Notify Sequence Numbers +msgid "notify-sequence-numbers" +msgstr "" + +#. TRANSLATORS: Notify Subscription Ids +msgid "notify-subscription-ids" +msgstr "" + +#. TRANSLATORS: Notify Time Interval +msgid "notify-time-interval" +msgstr "" + +#. TRANSLATORS: Notify User Data +msgid "notify-user-data" +msgstr "" + +#. TRANSLATORS: Notify Wait +msgid "notify-wait" +msgstr "" + +#. TRANSLATORS: Number Of Retries +msgid "number-of-retries" +msgstr "" + +#. TRANSLATORS: Number-Up +msgid "number-up" +msgstr "" + +#. TRANSLATORS: Object Offset +msgid "object-offset" +msgstr "" + +#. TRANSLATORS: Object Size +msgid "object-size" +msgstr "" + +#. TRANSLATORS: Organization Name +msgid "organization-name" +msgstr "" + +#. TRANSLATORS: Orientation +msgid "orientation-requested" +msgstr "" + +#. TRANSLATORS: Portrait +msgid "orientation-requested.3" +msgstr "" + +#. TRANSLATORS: Landscape +msgid "orientation-requested.4" +msgstr "" + +#. TRANSLATORS: Reverse Landscape +msgid "orientation-requested.5" +msgstr "" + +#. TRANSLATORS: Reverse Portrait +msgid "orientation-requested.6" +msgstr "" + +#. TRANSLATORS: None +msgid "orientation-requested.7" +msgstr "" + +#. TRANSLATORS: Scanned Image Options +msgid "output-attributes" +msgstr "" + +#. TRANSLATORS: Output Tray +msgid "output-bin" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "output-bin.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "output-bin.bottom" +msgstr "" + +#. TRANSLATORS: Center +msgid "output-bin.center" +msgstr "" + +#. TRANSLATORS: Face Down +msgid "output-bin.face-down" +msgstr "" + +#. TRANSLATORS: Face Up +msgid "output-bin.face-up" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "output-bin.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "output-bin.left" +msgstr "" + +#. TRANSLATORS: Mailbox 1 +msgid "output-bin.mailbox-1" +msgstr "" + +#. TRANSLATORS: Mailbox 10 +msgid "output-bin.mailbox-10" +msgstr "" + +#. TRANSLATORS: Mailbox 2 +msgid "output-bin.mailbox-2" +msgstr "" + +#. TRANSLATORS: Mailbox 3 +msgid "output-bin.mailbox-3" +msgstr "" + +#. TRANSLATORS: Mailbox 4 +msgid "output-bin.mailbox-4" +msgstr "" + +#. TRANSLATORS: Mailbox 5 +msgid "output-bin.mailbox-5" +msgstr "" + +#. TRANSLATORS: Mailbox 6 +msgid "output-bin.mailbox-6" +msgstr "" + +#. TRANSLATORS: Mailbox 7 +msgid "output-bin.mailbox-7" +msgstr "" + +#. TRANSLATORS: Mailbox 8 +msgid "output-bin.mailbox-8" +msgstr "" + +#. TRANSLATORS: Mailbox 9 +msgid "output-bin.mailbox-9" +msgstr "" + +#. TRANSLATORS: Middle +msgid "output-bin.middle" +msgstr "" + +#. TRANSLATORS: My Mailbox +msgid "output-bin.my-mailbox" +msgstr "" + +#. TRANSLATORS: Rear +msgid "output-bin.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "output-bin.right" +msgstr "" + +#. TRANSLATORS: Side +msgid "output-bin.side" +msgstr "" + +#. TRANSLATORS: Stacker 1 +msgid "output-bin.stacker-1" +msgstr "" + +#. TRANSLATORS: Stacker 10 +msgid "output-bin.stacker-10" +msgstr "" + +#. TRANSLATORS: Stacker 2 +msgid "output-bin.stacker-2" +msgstr "" + +#. TRANSLATORS: Stacker 3 +msgid "output-bin.stacker-3" +msgstr "" + +#. TRANSLATORS: Stacker 4 +msgid "output-bin.stacker-4" +msgstr "" + +#. TRANSLATORS: Stacker 5 +msgid "output-bin.stacker-5" +msgstr "" + +#. TRANSLATORS: Stacker 6 +msgid "output-bin.stacker-6" +msgstr "" + +#. TRANSLATORS: Stacker 7 +msgid "output-bin.stacker-7" +msgstr "" + +#. TRANSLATORS: Stacker 8 +msgid "output-bin.stacker-8" +msgstr "" + +#. TRANSLATORS: Stacker 9 +msgid "output-bin.stacker-9" +msgstr "" + +#. TRANSLATORS: Top +msgid "output-bin.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "output-bin.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "output-bin.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "output-bin.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "output-bin.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "output-bin.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "output-bin.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "output-bin.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "output-bin.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "output-bin.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "output-bin.tray-9" +msgstr "" + +#. TRANSLATORS: Scanned Image Quality +msgid "output-compression-quality-factor" +msgstr "" + +#. TRANSLATORS: Page Delivery +msgid "page-delivery" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-down +msgid "page-delivery.reverse-order-face-down" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-up +msgid "page-delivery.reverse-order-face-up" +msgstr "" + +#. TRANSLATORS: Same Order Face-down +msgid "page-delivery.same-order-face-down" +msgstr "" + +#. TRANSLATORS: Same Order Face-up +msgid "page-delivery.same-order-face-up" +msgstr "" + +#. TRANSLATORS: System Specified +msgid "page-delivery.system-specified" +msgstr "" + +#. TRANSLATORS: Page Order Received +msgid "page-order-received" +msgstr "" + +#. TRANSLATORS: 1 To N +msgid "page-order-received.1-to-n-order" +msgstr "" + +#. TRANSLATORS: N To 1 +msgid "page-order-received.n-to-1-order" +msgstr "" + +#. TRANSLATORS: Page Ranges +msgid "page-ranges" +msgstr "" + +#. TRANSLATORS: Pages +msgid "pages" +msgstr "" + +#. TRANSLATORS: Pages Per Subset +msgid "pages-per-subset" +msgstr "" + +#. TRANSLATORS: Pclm Raster Back Side +msgid "pclm-raster-back-side" +msgstr "" + +#. TRANSLATORS: Flipped +msgid "pclm-raster-back-side.flipped" +msgstr "" + +#. TRANSLATORS: Normal +msgid "pclm-raster-back-side.normal" +msgstr "" + +#. TRANSLATORS: Rotated +msgid "pclm-raster-back-side.rotated" +msgstr "" + +#. TRANSLATORS: Pclm Source Resolution +msgid "pclm-source-resolution" +msgstr "" + +msgid "pending" +msgstr "задержка" + +#. TRANSLATORS: Platform Shape +msgid "platform-shape" +msgstr "" + +#. TRANSLATORS: Round +msgid "platform-shape.ellipse" +msgstr "" + +#. TRANSLATORS: Rectangle +msgid "platform-shape.rectangle" +msgstr "" + +#. TRANSLATORS: Platform Temperature +msgid "platform-temperature" +msgstr "" + +#. TRANSLATORS: Post-dial String +msgid "post-dial-string" +msgstr "" + +#, c-format +msgid "ppdc: Adding include directory \"%s\"." +msgstr "ppdc: Добавление каталога \"%s\"." + +#, c-format +msgid "ppdc: Adding/updating UI text from %s." +msgstr "ppdc: Добавление/обновление текста интерфейса из %s." + +#, c-format +msgid "ppdc: Bad boolean value (%s) on line %d of %s." +msgstr "ppdc: Недопустимое двоичное значение (%s) в строке %d из %s." + +#, c-format +msgid "ppdc: Bad font attribute: %s" +msgstr "ppdc: Недопустимый атрибут шрифта: %s" + +#, c-format +msgid "ppdc: Bad resolution name \"%s\" on line %d of %s." +msgstr "ppdc: Недопустимое имя разрешения \"%s\" в строке %d из %s." + +#, c-format +msgid "ppdc: Bad status keyword %s on line %d of %s." +msgstr "ppdc: Недопустимое ключевое слово статуса %s в строке %d из %s." + +#, c-format +msgid "ppdc: Bad variable substitution ($%c) on line %d of %s." +msgstr "ppdc: Недопустимая замена переменной ($%c) в строке %d из %s." + +#, c-format +msgid "ppdc: Choice found on line %d of %s with no Option." +msgstr "" +"ppdc: В строке %d из %s обнаружено значение, не привязанное к параметру" + +#, c-format +msgid "ppdc: Duplicate #po for locale %s on line %d of %s." +msgstr "ppdc: Дубликат #po для региона %s в строке %d из %s" + +#, c-format +msgid "ppdc: Expected a filter definition on line %d of %s." +msgstr "ppdc: В строке %d из %s должно быть определение фильтра." + +#, c-format +msgid "ppdc: Expected a program name on line %d of %s." +msgstr "ppdc: В строке %d из %s должно быть имя программы." + +#, c-format +msgid "ppdc: Expected boolean value on line %d of %s." +msgstr "ppdc: В строке %d из %s должно быть двоичное значение." + +#, c-format +msgid "ppdc: Expected charset after Font on line %d of %s." +msgstr "ppdc: После Font в строке %d из %s должен быть набор символов." + +#, c-format +msgid "ppdc: Expected choice code on line %d of %s." +msgstr "ppdc: В строке %d из %s должно быть код выбора." + +#, c-format +msgid "ppdc: Expected choice name/text on line %d of %s." +msgstr "ppdc: В строке %d из %s должно быть имя/текст выбора." + +#, c-format +msgid "ppdc: Expected color order for ColorModel on line %d of %s." +msgstr "" +"ppdc: После ColorModel в строке %d из %s должна быть указана цветовая схема." + +#, c-format +msgid "ppdc: Expected colorspace for ColorModel on line %d of %s." +msgstr "ppdc: Для ColorModel в строке %d из %s должно быть указано colorspace." + +#, c-format +msgid "ppdc: Expected compression for ColorModel on line %d of %s." +msgstr "ppdc: Для ColorModel в строке %d из %s должно быть указано сжатие." + +#, c-format +msgid "ppdc: Expected constraints string for UIConstraints on line %d of %s." +msgstr "" +"ppdc: Для UIConstraints в строке %d из %s должна быть указана строка " +"ограничений." + +#, c-format +msgid "" +"ppdc: Expected driver type keyword following DriverType on line %d of %s." +msgstr "" +"ppdc: После DriverType в строке %d из %s должно быть указано ключевое слово " +"типа драйвера." + +#, c-format +msgid "ppdc: Expected duplex type after Duplex on line %d of %s." +msgstr "ppdc: После Duplex в строке %d из %s должен быть указан тип дуплекса." + +#, c-format +msgid "ppdc: Expected encoding after Font on line %d of %s." +msgstr "ppdc: После Font в строке %d из %s должна быть указана кодировка." + +#, c-format +msgid "ppdc: Expected filename after #po %s on line %d of %s." +msgstr "После #po %s в строке %d из %s должно быть указано имя файла." + +#, c-format +msgid "ppdc: Expected group name/text on line %d of %s." +msgstr "ppdc: В строке %d из %s должно быть указанно имя группы/текст." + +#, c-format +msgid "ppdc: Expected include filename on line %d of %s." +msgstr "ppdc: В строке %d из %s должно быть указано имя файла." + +#, c-format +msgid "ppdc: Expected integer on line %d of %s." +msgstr "ppdc: В строке %d из %s должно быть целое число." + +#, c-format +msgid "ppdc: Expected locale after #po on line %d of %s." +msgstr "ppdc: После #po в строке %d из %s должен быть указан регион." + +#, c-format +msgid "ppdc: Expected name after %s on line %d of %s." +msgstr "ppdc: После %s в строке %d из %s должно быть указано имя." + +#, c-format +msgid "ppdc: Expected name after FileName on line %d of %s." +msgstr "ppdc: После FileName в строке %d из %s должно быть указано имя." + +#, c-format +msgid "ppdc: Expected name after Font on line %d of %s." +msgstr "ppdc: После Font в строке %d из %s должно быть указано имя." + +#, c-format +msgid "ppdc: Expected name after Manufacturer on line %d of %s." +msgstr "ppdc: После Manufacturer в строке %d из %s должно быть указано имя." + +#, c-format +msgid "ppdc: Expected name after MediaSize on line %d of %s." +msgstr "ppdc: После MediaSize в строке %d из %s должно быть указано имя." + +#, c-format +msgid "ppdc: Expected name after ModelName on line %d of %s." +msgstr "ppdc: После ModelName в строке %d из %s должно быть указано имя." + +#, c-format +msgid "ppdc: Expected name after PCFileName on line %d of %s." +msgstr "ppdc: После PCFileName в строке %d из %s должно быть указано имя." + +#, c-format +msgid "ppdc: Expected name/text after %s on line %d of %s." +msgstr "ppdc: После %s в строке %d из %s должно быть указано имя/текст." + +#, c-format +msgid "ppdc: Expected name/text after Installable on line %d of %s." +msgstr "" +"ppdc: После Installable в строке %d из %s должно быть указано имя/текст." + +#, c-format +msgid "ppdc: Expected name/text after Resolution on line %d of %s." +msgstr "" +"ppdc: После Resolution в строке %d из %s должно быть указано имя/текст." + +#, c-format +msgid "ppdc: Expected name/text combination for ColorModel on line %d of %s." +msgstr "" +"ppdc: После ColorModel в строке %d из %s должно быть указано имя/текст." + +#, c-format +msgid "ppdc: Expected option name/text on line %d of %s." +msgstr "ppdc: В строке %d из %s должно быть указано имя параметра/текст." + +#, c-format +msgid "ppdc: Expected option section on line %d of %s." +msgstr "ppdc: В строке %d из %s должен быть указан раздел параметров." + +#, c-format +msgid "ppdc: Expected option type on line %d of %s." +msgstr "ppdc: В строке %d из %s должен быть указан тип параметра." + +#, c-format +msgid "ppdc: Expected override field after Resolution on line %d of %s." +msgstr "" +"ppdc: После Resolution в строке %d из %s должно быть поле переопределения." + +#, c-format +msgid "ppdc: Expected quoted string on line %d of %s." +msgstr "ppdc: В строке %d из %s должна быть запись в кавычках." + +#, c-format +msgid "ppdc: Expected real number on line %d of %s." +msgstr "ppdc: В строке %d из %s должно быть действительное число." + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." +msgstr "" +"ppdc: После ColorProfile в строке %d из %s должно быть указано разрешение/" +"тип носителя." + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d " +"of %s." +msgstr "" +"ppdc: После SimpleColorProfile в строке %d из %s должно быть указано " +"разрешение/тип носителя." + +#, c-format +msgid "ppdc: Expected selector after %s on line %d of %s." +msgstr "ppdc: После %s в строке %d из %s должен быть selector." + +#, c-format +msgid "ppdc: Expected status after Font on line %d of %s." +msgstr "ppdc: После Font в строке %d из %s должен быть указан статус." + +#, c-format +msgid "ppdc: Expected string after Copyright on line %d of %s." +msgstr "ppdc: В строке %d из %s пропущено значение параметра Copyright." + +#, c-format +msgid "ppdc: Expected string after Version on line %d of %s." +msgstr "ppdc: В строке %d из %s пропущено значение параметра Version." + +#, c-format +msgid "ppdc: Expected two option names on line %d of %s." +msgstr "ppdc: В строке %d из %s должны быть два имени параметра." + +#, c-format +msgid "ppdc: Expected value after %s on line %d of %s." +msgstr "ppdc: После %s в строке %d из %s должно быть значение." + +#, c-format +msgid "ppdc: Expected version after Font on line %d of %s." +msgstr "ppdc: После Font в строке %d из %s должна быть указана версия." + +#, c-format +msgid "ppdc: Invalid #include/#po filename \"%s\"." +msgstr "ppdc: Неверное имя файла #include/#po \"%s\"." + +#, c-format +msgid "ppdc: Invalid cost for filter on line %d of %s." +msgstr "ppdc: Затраты на фильтр в строке %d из %s указаны неверно." + +#, c-format +msgid "ppdc: Invalid empty MIME type for filter on line %d of %s." +msgstr "ppdc: Недопустимый пустой MIME-тип для фильтра в строке %d из %s." + +#, c-format +msgid "ppdc: Invalid empty program name for filter on line %d of %s." +msgstr "ppdc: Недопустимое пустое имя программы для фильтра в строке %d из %s." + +#, c-format +msgid "ppdc: Invalid option section \"%s\" on line %d of %s." +msgstr "ppdc: Неверный раздел параметров \"%s\" в строке %d из %s." + +#, c-format +msgid "ppdc: Invalid option type \"%s\" on line %d of %s." +msgstr "ppdc: Неверный тип параметра \"%s\" в строке %d из %s." + +#, c-format +msgid "ppdc: Loading driver information file \"%s\"." +msgstr "ppdc: Загружается файл с информацией о драйвере \"%s\"." + +#, c-format +msgid "ppdc: Loading messages for locale \"%s\"." +msgstr "ppdc: Загружаю сообщения для региона \"%s\"." + +#, c-format +msgid "ppdc: Loading messages from \"%s\"." +msgstr "ppdc: Загружаю сообщения из \"%s\"." + +#, c-format +msgid "ppdc: Missing #endif at end of \"%s\"." +msgstr "ppdc: Отсутствует #endif в конце \"%s\"." + +#, c-format +msgid "ppdc: Missing #if on line %d of %s." +msgstr "ppdc: Отсутствует #if в строке %d из %s." + +#, c-format +msgid "" +"ppdc: Need a msgid line before any translation strings on line %d of %s." +msgstr "ppdc: Требуется строка msgid перед строкой перевода в строке %d из %s" + +#, c-format +msgid "ppdc: No message catalog provided for locale %s." +msgstr "ppdc: Не указан каталог сообщений для региона %s." + +#, c-format +msgid "ppdc: Option %s defined in two different groups on line %d of %s." +msgstr "ppdc: Параметр %s определен в двух разных группах в строке %d из %s." + +#, c-format +msgid "ppdc: Option %s redefined with a different type on line %d of %s." +msgstr "ppdc: Для параметра %s определен другой тип в строке %d из %s." + +#, c-format +msgid "ppdc: Option constraint must *name on line %d of %s." +msgstr "" +"ppdc: Для ограничения параметра должно быть указано *name в строке %d из %s." + +#, c-format +msgid "ppdc: Too many nested #if's on line %d of %s." +msgstr "ppdc: Слишком много вложенных операторов #if в строке %d из %s." + +#, c-format +msgid "ppdc: Unable to create PPD file \"%s\" - %s." +msgstr "ppdc: Не удается создать PPD-файл \"%s\" - %s." + +#, c-format +msgid "ppdc: Unable to create output directory %s: %s" +msgstr "ppdc: Не удается создать каталог для выходных данных %s: %s" + +#, c-format +msgid "ppdc: Unable to create output pipes: %s" +msgstr "ppdc: Не удается создать конвейеры для выходных данных: %s" + +#, c-format +msgid "ppdc: Unable to execute cupstestppd: %s" +msgstr "ppdc: Не удается выполнить cupstestppd: %s" + +#, c-format +msgid "ppdc: Unable to find #po file %s on line %d of %s." +msgstr "ppdc: Не удается найти файл #po %s в строке %d из %s." + +#, c-format +msgid "ppdc: Unable to find include file \"%s\" on line %d of %s." +msgstr "ppdc: Не удается найти файл \"%s\" в строке %d из %s." + +#, c-format +msgid "ppdc: Unable to find localization for \"%s\" - %s" +msgstr "ppdc: Не удается найти перевод для \"%s\" - %s" + +#, c-format +msgid "ppdc: Unable to load localization file \"%s\" - %s" +msgstr "ppdc: Не удается загрузить файл перевода \"%s\" - %s" + +#, c-format +msgid "ppdc: Unable to open %s: %s" +msgstr "ppdc: Не удается открыть %s: %s" + +#, c-format +msgid "ppdc: Undefined variable (%s) on line %d of %s." +msgstr "ppdc: Не определена переменная (%s) в строке %d из %s." + +#, c-format +msgid "ppdc: Unexpected text on line %d of %s." +msgstr "ppdc: Неизвестный текст в %2$s строки %1$d" + +#, c-format +msgid "ppdc: Unknown driver type %s on line %d of %s." +msgstr "ppdc: Неизвестный тип драйвера %s в строке %d из %s." + +#, c-format +msgid "ppdc: Unknown duplex type \"%s\" on line %d of %s." +msgstr "ppdc: Неизвестный тип дуплекса \"%s\" в строке %d из %s." + +#, c-format +msgid "ppdc: Unknown media size \"%s\" on line %d of %s." +msgstr "ppdc: Неизвестный размер бумаги \"%s\" в строке %d из %s." + +#, c-format +msgid "ppdc: Unknown message catalog format for \"%s\"." +msgstr "ppdc: Неизвестный формат каталога сообщений для \"%s\"" + +#, c-format +msgid "ppdc: Unknown token \"%s\" seen on line %d of %s." +msgstr "ppdc: Неизвестный маркер \"%s\" в строке %d из %s." + +#, c-format +msgid "" +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." +msgstr "" +"ppdc: Неизвестные конечные символы в вещественном числе \"%s\" в строке %d " +"из %s." + +#, c-format +msgid "ppdc: Unterminated string starting with %c on line %d of %s." +msgstr "ppdc: Не завершена строка, начинающаяся с %c в строке %d из %s." + +#, c-format +msgid "ppdc: Warning - overlapping filename \"%s\"." +msgstr "ppdc: Внимание - дублирующееся имя \"%s\"." + +#, c-format +msgid "ppdc: Writing %s." +msgstr "ppdc: Записывается %s." + +#, c-format +msgid "ppdc: Writing PPD files to directory \"%s\"." +msgstr "ppdc: Записываются PPD-файлы в каталог \"%s\"." + +#, c-format +msgid "ppdmerge: Bad LanguageVersion \"%s\" in %s." +msgstr "ppdmerge: Неверное значение LanguageVersion \"%s\" в %s." + +#, c-format +msgid "ppdmerge: Ignoring PPD file %s." +msgstr "ppdmerge: Пропускается PPD-файл %s." + +#, c-format +msgid "ppdmerge: Unable to backup %s to %s - %s" +msgstr "ppdmerge: Не удается создать резервную копию %s на %s- %s" + +#. TRANSLATORS: Pre-dial String +msgid "pre-dial-string" +msgstr "" + +#. TRANSLATORS: Number-Up Layout +msgid "presentation-direction-number-up" +msgstr "" + +#. TRANSLATORS: Top-bottom, Right-left +msgid "presentation-direction-number-up.tobottom-toleft" +msgstr "" + +#. TRANSLATORS: Top-bottom, Left-right +msgid "presentation-direction-number-up.tobottom-toright" +msgstr "" + +#. TRANSLATORS: Right-left, Top-bottom +msgid "presentation-direction-number-up.toleft-tobottom" +msgstr "" + +#. TRANSLATORS: Right-left, Bottom-top +msgid "presentation-direction-number-up.toleft-totop" +msgstr "" + +#. TRANSLATORS: Left-right, Top-bottom +msgid "presentation-direction-number-up.toright-tobottom" +msgstr "" + +#. TRANSLATORS: Left-right, Bottom-top +msgid "presentation-direction-number-up.toright-totop" +msgstr "" + +#. TRANSLATORS: Bottom-top, Right-left +msgid "presentation-direction-number-up.totop-toleft" +msgstr "" + +#. TRANSLATORS: Bottom-top, Left-right +msgid "presentation-direction-number-up.totop-toright" +msgstr "" + +#. TRANSLATORS: Print Accuracy +msgid "print-accuracy" +msgstr "" + +#. TRANSLATORS: Print Base +msgid "print-base" +msgstr "" + +#. TRANSLATORS: Print Base Actual +msgid "print-base-actual" +msgstr "" + +#. TRANSLATORS: Brim +msgid "print-base.brim" +msgstr "" + +#. TRANSLATORS: None +msgid "print-base.none" +msgstr "" + +#. TRANSLATORS: Raft +msgid "print-base.raft" +msgstr "" + +#. TRANSLATORS: Skirt +msgid "print-base.skirt" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-base.standard" +msgstr "" + +#. TRANSLATORS: Print Color Mode +msgid "print-color-mode" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-color-mode.auto" +msgstr "" + +#. TRANSLATORS: Auto Monochrome +msgid "print-color-mode.auto-monochrome" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-color-mode.bi-level" +msgstr "" + +#. TRANSLATORS: Color +msgid "print-color-mode.color" +msgstr "" + +#. TRANSLATORS: Highlight +msgid "print-color-mode.highlight" +msgstr "" + +#. TRANSLATORS: Monochrome +msgid "print-color-mode.monochrome" +msgstr "" + +#. TRANSLATORS: Process Text +msgid "print-color-mode.process-bi-level" +msgstr "" + +#. TRANSLATORS: Process Monochrome +msgid "print-color-mode.process-monochrome" +msgstr "" + +#. TRANSLATORS: Print Optimization +msgid "print-content-optimize" +msgstr "" + +#. TRANSLATORS: Print Content Optimize Actual +msgid "print-content-optimize-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-content-optimize.auto" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphic" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphics" +msgstr "" + +#. TRANSLATORS: Photo +msgid "print-content-optimize.photo" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-content-optimize.text" +msgstr "" + +#. TRANSLATORS: Text and Graphics +msgid "print-content-optimize.text-and-graphic" +msgstr "" + +#. TRANSLATORS: Text And Graphics +msgid "print-content-optimize.text-and-graphics" +msgstr "" + +#. TRANSLATORS: Print Objects +msgid "print-objects" +msgstr "" + +#. TRANSLATORS: Print Quality +msgid "print-quality" +msgstr "" + +#. TRANSLATORS: Draft +msgid "print-quality.3" +msgstr "" + +#. TRANSLATORS: Normal +msgid "print-quality.4" +msgstr "" + +#. TRANSLATORS: High +msgid "print-quality.5" +msgstr "" + +#. TRANSLATORS: Print Rendering Intent +msgid "print-rendering-intent" +msgstr "" + +#. TRANSLATORS: Absolute +msgid "print-rendering-intent.absolute" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-rendering-intent.auto" +msgstr "" + +#. TRANSLATORS: Perceptual +msgid "print-rendering-intent.perceptual" +msgstr "" + +#. TRANSLATORS: Relative +msgid "print-rendering-intent.relative" +msgstr "" + +#. TRANSLATORS: Relative w/Black Point Compensation +msgid "print-rendering-intent.relative-bpc" +msgstr "" + +#. TRANSLATORS: Saturation +msgid "print-rendering-intent.saturation" +msgstr "" + +#. TRANSLATORS: Print Scaling +msgid "print-scaling" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-scaling.auto" +msgstr "" + +#. TRANSLATORS: Auto-fit +msgid "print-scaling.auto-fit" +msgstr "" + +#. TRANSLATORS: Fill +msgid "print-scaling.fill" +msgstr "" + +#. TRANSLATORS: Fit +msgid "print-scaling.fit" +msgstr "" + +#. TRANSLATORS: None +msgid "print-scaling.none" +msgstr "" + +#. TRANSLATORS: Print Supports +msgid "print-supports" +msgstr "" + +#. TRANSLATORS: Print Supports Actual +msgid "print-supports-actual" +msgstr "" + +#. TRANSLATORS: With Specified Material +msgid "print-supports.material" +msgstr "" + +#. TRANSLATORS: None +msgid "print-supports.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-supports.standard" +msgstr "" + +#, c-format +msgid "printer %s disabled since %s -" +msgstr "принтер %s отключен с момента %s -" + +#, c-format +msgid "printer %s is holding new jobs. enabled since %s" +msgstr "" + +#, c-format +msgid "printer %s is idle. enabled since %s" +msgstr "принтер %s свободен. Включен с момента %s" + +#, c-format +msgid "printer %s now printing %s-%d. enabled since %s" +msgstr "принтер %s сейчас печатает %s-%d. Включен с момента %s" + +#, c-format +msgid "printer %s/%s disabled since %s -" +msgstr "принтер %s/%s отключен с момента %s -" + +#, c-format +msgid "printer %s/%s is idle. enabled since %s" +msgstr "принтер %s/%s свободен. Включен с момента %s" + +#, c-format +msgid "printer %s/%s now printing %s-%d. enabled since %s" +msgstr "принтер %s/%s сейчас печатает %s-%d. Включен с момента %s" + +#. TRANSLATORS: Printer Kind +msgid "printer-kind" +msgstr "" + +#. TRANSLATORS: Disc +msgid "printer-kind.disc" +msgstr "" + +#. TRANSLATORS: Document +msgid "printer-kind.document" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "printer-kind.envelope" +msgstr "" + +#. TRANSLATORS: Label +msgid "printer-kind.label" +msgstr "" + +#. TRANSLATORS: Large Format +msgid "printer-kind.large-format" +msgstr "" + +#. TRANSLATORS: Photo +msgid "printer-kind.photo" +msgstr "" + +#. TRANSLATORS: Postcard +msgid "printer-kind.postcard" +msgstr "" + +#. TRANSLATORS: Receipt +msgid "printer-kind.receipt" +msgstr "" + +#. TRANSLATORS: Roll +msgid "printer-kind.roll" +msgstr "" + +#. TRANSLATORS: Message From Operator +msgid "printer-message-from-operator" +msgstr "" + +#. TRANSLATORS: Print Resolution +msgid "printer-resolution" +msgstr "" + +#. TRANSLATORS: Printer State +msgid "printer-state" +msgstr "" + +#. TRANSLATORS: Detailed Printer State +msgid "printer-state-reasons" +msgstr "" + +#. TRANSLATORS: Old Alerts Have Been Removed +msgid "printer-state-reasons.alert-removal-of-binary-change-entry" +msgstr "" + +#. TRANSLATORS: Bander Added +msgid "printer-state-reasons.bander-added" +msgstr "" + +#. TRANSLATORS: Bander Almost Empty +msgid "printer-state-reasons.bander-almost-empty" +msgstr "" + +#. TRANSLATORS: Bander Almost Full +msgid "printer-state-reasons.bander-almost-full" +msgstr "" + +#. TRANSLATORS: Bander At Limit +msgid "printer-state-reasons.bander-at-limit" +msgstr "" + +#. TRANSLATORS: Bander Closed +msgid "printer-state-reasons.bander-closed" +msgstr "" + +#. TRANSLATORS: Bander Configuration Change +msgid "printer-state-reasons.bander-configuration-change" +msgstr "" + +#. TRANSLATORS: Bander Cover Closed +msgid "printer-state-reasons.bander-cover-closed" +msgstr "" + +#. TRANSLATORS: Bander Cover Open +msgid "printer-state-reasons.bander-cover-open" +msgstr "" + +#. TRANSLATORS: Bander Empty +msgid "printer-state-reasons.bander-empty" +msgstr "" + +#. TRANSLATORS: Bander Full +msgid "printer-state-reasons.bander-full" +msgstr "" + +#. TRANSLATORS: Bander Interlock Closed +msgid "printer-state-reasons.bander-interlock-closed" +msgstr "" + +#. TRANSLATORS: Bander Interlock Open +msgid "printer-state-reasons.bander-interlock-open" +msgstr "" + +#. TRANSLATORS: Bander Jam +msgid "printer-state-reasons.bander-jam" +msgstr "" + +#. TRANSLATORS: Bander Life Almost Over +msgid "printer-state-reasons.bander-life-almost-over" +msgstr "" + +#. TRANSLATORS: Bander Life Over +msgid "printer-state-reasons.bander-life-over" +msgstr "" + +#. TRANSLATORS: Bander Memory Exhausted +msgid "printer-state-reasons.bander-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Bander Missing +msgid "printer-state-reasons.bander-missing" +msgstr "" + +#. TRANSLATORS: Bander Motor Failure +msgid "printer-state-reasons.bander-motor-failure" +msgstr "" + +#. TRANSLATORS: Bander Near Limit +msgid "printer-state-reasons.bander-near-limit" +msgstr "" + +#. TRANSLATORS: Bander Offline +msgid "printer-state-reasons.bander-offline" +msgstr "" + +#. TRANSLATORS: Bander Opened +msgid "printer-state-reasons.bander-opened" +msgstr "" + +#. TRANSLATORS: Bander Over Temperature +msgid "printer-state-reasons.bander-over-temperature" +msgstr "" + +#. TRANSLATORS: Bander Power Saver +msgid "printer-state-reasons.bander-power-saver" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Failure +msgid "printer-state-reasons.bander-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Storage +msgid "printer-state-reasons.bander-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Bander Removed +msgid "printer-state-reasons.bander-removed" +msgstr "" + +#. TRANSLATORS: Bander Resource Added +msgid "printer-state-reasons.bander-resource-added" +msgstr "" + +#. TRANSLATORS: Bander Resource Removed +msgid "printer-state-reasons.bander-resource-removed" +msgstr "" + +#. TRANSLATORS: Bander Thermistor Failure +msgid "printer-state-reasons.bander-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Bander Timing Failure +msgid "printer-state-reasons.bander-timing-failure" +msgstr "" + +#. TRANSLATORS: Bander Turned Off +msgid "printer-state-reasons.bander-turned-off" +msgstr "" + +#. TRANSLATORS: Bander Turned On +msgid "printer-state-reasons.bander-turned-on" +msgstr "" + +#. TRANSLATORS: Bander Under Temperature +msgid "printer-state-reasons.bander-under-temperature" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Failure +msgid "printer-state-reasons.bander-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Storage Error +msgid "printer-state-reasons.bander-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Bander Warming Up +msgid "printer-state-reasons.bander-warming-up" +msgstr "" + +#. TRANSLATORS: Binder Added +msgid "printer-state-reasons.binder-added" +msgstr "" + +#. TRANSLATORS: Binder Almost Empty +msgid "printer-state-reasons.binder-almost-empty" +msgstr "" + +#. TRANSLATORS: Binder Almost Full +msgid "printer-state-reasons.binder-almost-full" +msgstr "" + +#. TRANSLATORS: Binder At Limit +msgid "printer-state-reasons.binder-at-limit" +msgstr "" + +#. TRANSLATORS: Binder Closed +msgid "printer-state-reasons.binder-closed" +msgstr "" + +#. TRANSLATORS: Binder Configuration Change +msgid "printer-state-reasons.binder-configuration-change" +msgstr "" + +#. TRANSLATORS: Binder Cover Closed +msgid "printer-state-reasons.binder-cover-closed" +msgstr "" + +#. TRANSLATORS: Binder Cover Open +msgid "printer-state-reasons.binder-cover-open" +msgstr "" + +#. TRANSLATORS: Binder Empty +msgid "printer-state-reasons.binder-empty" +msgstr "" + +#. TRANSLATORS: Binder Full +msgid "printer-state-reasons.binder-full" +msgstr "" + +#. TRANSLATORS: Binder Interlock Closed +msgid "printer-state-reasons.binder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Binder Interlock Open +msgid "printer-state-reasons.binder-interlock-open" +msgstr "" + +#. TRANSLATORS: Binder Jam +msgid "printer-state-reasons.binder-jam" +msgstr "" + +#. TRANSLATORS: Binder Life Almost Over +msgid "printer-state-reasons.binder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Binder Life Over +msgid "printer-state-reasons.binder-life-over" +msgstr "" + +#. TRANSLATORS: Binder Memory Exhausted +msgid "printer-state-reasons.binder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Binder Missing +msgid "printer-state-reasons.binder-missing" +msgstr "" + +#. TRANSLATORS: Binder Motor Failure +msgid "printer-state-reasons.binder-motor-failure" +msgstr "" + +#. TRANSLATORS: Binder Near Limit +msgid "printer-state-reasons.binder-near-limit" +msgstr "" + +#. TRANSLATORS: Binder Offline +msgid "printer-state-reasons.binder-offline" +msgstr "" + +#. TRANSLATORS: Binder Opened +msgid "printer-state-reasons.binder-opened" +msgstr "" + +#. TRANSLATORS: Binder Over Temperature +msgid "printer-state-reasons.binder-over-temperature" +msgstr "" + +#. TRANSLATORS: Binder Power Saver +msgid "printer-state-reasons.binder-power-saver" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Failure +msgid "printer-state-reasons.binder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Storage +msgid "printer-state-reasons.binder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Binder Removed +msgid "printer-state-reasons.binder-removed" +msgstr "" + +#. TRANSLATORS: Binder Resource Added +msgid "printer-state-reasons.binder-resource-added" +msgstr "" + +#. TRANSLATORS: Binder Resource Removed +msgid "printer-state-reasons.binder-resource-removed" +msgstr "" + +#. TRANSLATORS: Binder Thermistor Failure +msgid "printer-state-reasons.binder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Binder Timing Failure +msgid "printer-state-reasons.binder-timing-failure" +msgstr "" + +#. TRANSLATORS: Binder Turned Off +msgid "printer-state-reasons.binder-turned-off" +msgstr "" + +#. TRANSLATORS: Binder Turned On +msgid "printer-state-reasons.binder-turned-on" +msgstr "" + +#. TRANSLATORS: Binder Under Temperature +msgid "printer-state-reasons.binder-under-temperature" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Failure +msgid "printer-state-reasons.binder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Storage Error +msgid "printer-state-reasons.binder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Binder Warming Up +msgid "printer-state-reasons.binder-warming-up" +msgstr "" + +#. TRANSLATORS: Camera Failure +msgid "printer-state-reasons.camera-failure" +msgstr "" + +#. TRANSLATORS: Chamber Cooling +msgid "printer-state-reasons.chamber-cooling" +msgstr "" + +#. TRANSLATORS: Chamber Failure +msgid "printer-state-reasons.chamber-failure" +msgstr "" + +#. TRANSLATORS: Chamber Heating +msgid "printer-state-reasons.chamber-heating" +msgstr "" + +#. TRANSLATORS: Chamber Temperature High +msgid "printer-state-reasons.chamber-temperature-high" +msgstr "" + +#. TRANSLATORS: Chamber Temperature Low +msgid "printer-state-reasons.chamber-temperature-low" +msgstr "" + +#. TRANSLATORS: Cleaner Life Almost Over +msgid "printer-state-reasons.cleaner-life-almost-over" +msgstr "" + +#. TRANSLATORS: Cleaner Life Over +msgid "printer-state-reasons.cleaner-life-over" +msgstr "" + +#. TRANSLATORS: Configuration Change +msgid "printer-state-reasons.configuration-change" +msgstr "" + +#. TRANSLATORS: Connecting To Device +msgid "printer-state-reasons.connecting-to-device" +msgstr "" + +#. TRANSLATORS: Cover Open +msgid "printer-state-reasons.cover-open" +msgstr "" + +#. TRANSLATORS: Deactivated +msgid "printer-state-reasons.deactivated" +msgstr "" + +#. TRANSLATORS: Developer Empty +msgid "printer-state-reasons.developer-empty" +msgstr "" + +#. TRANSLATORS: Developer Low +msgid "printer-state-reasons.developer-low" +msgstr "" + +#. TRANSLATORS: Die Cutter Added +msgid "printer-state-reasons.die-cutter-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Empty +msgid "printer-state-reasons.die-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Full +msgid "printer-state-reasons.die-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Die Cutter At Limit +msgid "printer-state-reasons.die-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Closed +msgid "printer-state-reasons.die-cutter-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Configuration Change +msgid "printer-state-reasons.die-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Closed +msgid "printer-state-reasons.die-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Open +msgid "printer-state-reasons.die-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Empty +msgid "printer-state-reasons.die-cutter-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Full +msgid "printer-state-reasons.die-cutter-full" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Closed +msgid "printer-state-reasons.die-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Open +msgid "printer-state-reasons.die-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Jam +msgid "printer-state-reasons.die-cutter-jam" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Almost Over +msgid "printer-state-reasons.die-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Over +msgid "printer-state-reasons.die-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Memory Exhausted +msgid "printer-state-reasons.die-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Die Cutter Missing +msgid "printer-state-reasons.die-cutter-missing" +msgstr "" + +#. TRANSLATORS: Die Cutter Motor Failure +msgid "printer-state-reasons.die-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Near Limit +msgid "printer-state-reasons.die-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Offline +msgid "printer-state-reasons.die-cutter-offline" +msgstr "" + +#. TRANSLATORS: Die Cutter Opened +msgid "printer-state-reasons.die-cutter-opened" +msgstr "" + +#. TRANSLATORS: Die Cutter Over Temperature +msgid "printer-state-reasons.die-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Power Saver +msgid "printer-state-reasons.die-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Failure +msgid "printer-state-reasons.die-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Storage +msgid "printer-state-reasons.die-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Die Cutter Removed +msgid "printer-state-reasons.die-cutter-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Added +msgid "printer-state-reasons.die-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Removed +msgid "printer-state-reasons.die-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Thermistor Failure +msgid "printer-state-reasons.die-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Timing Failure +msgid "printer-state-reasons.die-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned Off +msgid "printer-state-reasons.die-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned On +msgid "printer-state-reasons.die-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Die Cutter Under Temperature +msgid "printer-state-reasons.die-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Failure +msgid "printer-state-reasons.die-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.die-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Die Cutter Warming Up +msgid "printer-state-reasons.die-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Door Open +msgid "printer-state-reasons.door-open" +msgstr "" + +#. TRANSLATORS: Extruder Cooling +msgid "printer-state-reasons.extruder-cooling" +msgstr "" + +#. TRANSLATORS: Extruder Failure +msgid "printer-state-reasons.extruder-failure" +msgstr "" + +#. TRANSLATORS: Extruder Heating +msgid "printer-state-reasons.extruder-heating" +msgstr "" + +#. TRANSLATORS: Extruder Jam +msgid "printer-state-reasons.extruder-jam" +msgstr "" + +#. TRANSLATORS: Extruder Temperature High +msgid "printer-state-reasons.extruder-temperature-high" +msgstr "" + +#. TRANSLATORS: Extruder Temperature Low +msgid "printer-state-reasons.extruder-temperature-low" +msgstr "" + +#. TRANSLATORS: Fan Failure +msgid "printer-state-reasons.fan-failure" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Almost Over +msgid "printer-state-reasons.fax-modem-life-almost-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Over +msgid "printer-state-reasons.fax-modem-life-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Missing +msgid "printer-state-reasons.fax-modem-missing" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned Off +msgid "printer-state-reasons.fax-modem-turned-off" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned On +msgid "printer-state-reasons.fax-modem-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Added +msgid "printer-state-reasons.folder-added" +msgstr "" + +#. TRANSLATORS: Folder Almost Empty +msgid "printer-state-reasons.folder-almost-empty" +msgstr "" + +#. TRANSLATORS: Folder Almost Full +msgid "printer-state-reasons.folder-almost-full" +msgstr "" + +#. TRANSLATORS: Folder At Limit +msgid "printer-state-reasons.folder-at-limit" +msgstr "" + +#. TRANSLATORS: Folder Closed +msgid "printer-state-reasons.folder-closed" +msgstr "" + +#. TRANSLATORS: Folder Configuration Change +msgid "printer-state-reasons.folder-configuration-change" +msgstr "" + +#. TRANSLATORS: Folder Cover Closed +msgid "printer-state-reasons.folder-cover-closed" +msgstr "" + +#. TRANSLATORS: Folder Cover Open +msgid "printer-state-reasons.folder-cover-open" +msgstr "" + +#. TRANSLATORS: Folder Empty +msgid "printer-state-reasons.folder-empty" +msgstr "" + +#. TRANSLATORS: Folder Full +msgid "printer-state-reasons.folder-full" +msgstr "" + +#. TRANSLATORS: Folder Interlock Closed +msgid "printer-state-reasons.folder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Folder Interlock Open +msgid "printer-state-reasons.folder-interlock-open" +msgstr "" + +#. TRANSLATORS: Folder Jam +msgid "printer-state-reasons.folder-jam" +msgstr "" + +#. TRANSLATORS: Folder Life Almost Over +msgid "printer-state-reasons.folder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Folder Life Over +msgid "printer-state-reasons.folder-life-over" +msgstr "" + +#. TRANSLATORS: Folder Memory Exhausted +msgid "printer-state-reasons.folder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Folder Missing +msgid "printer-state-reasons.folder-missing" +msgstr "" + +#. TRANSLATORS: Folder Motor Failure +msgid "printer-state-reasons.folder-motor-failure" +msgstr "" + +#. TRANSLATORS: Folder Near Limit +msgid "printer-state-reasons.folder-near-limit" +msgstr "" + +#. TRANSLATORS: Folder Offline +msgid "printer-state-reasons.folder-offline" +msgstr "" + +#. TRANSLATORS: Folder Opened +msgid "printer-state-reasons.folder-opened" +msgstr "" + +#. TRANSLATORS: Folder Over Temperature +msgid "printer-state-reasons.folder-over-temperature" +msgstr "" + +#. TRANSLATORS: Folder Power Saver +msgid "printer-state-reasons.folder-power-saver" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Failure +msgid "printer-state-reasons.folder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Storage +msgid "printer-state-reasons.folder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Folder Removed +msgid "printer-state-reasons.folder-removed" +msgstr "" + +#. TRANSLATORS: Folder Resource Added +msgid "printer-state-reasons.folder-resource-added" +msgstr "" + +#. TRANSLATORS: Folder Resource Removed +msgid "printer-state-reasons.folder-resource-removed" +msgstr "" + +#. TRANSLATORS: Folder Thermistor Failure +msgid "printer-state-reasons.folder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Folder Timing Failure +msgid "printer-state-reasons.folder-timing-failure" +msgstr "" + +#. TRANSLATORS: Folder Turned Off +msgid "printer-state-reasons.folder-turned-off" +msgstr "" + +#. TRANSLATORS: Folder Turned On +msgid "printer-state-reasons.folder-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Under Temperature +msgid "printer-state-reasons.folder-under-temperature" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Failure +msgid "printer-state-reasons.folder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Storage Error +msgid "printer-state-reasons.folder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Folder Warming Up +msgid "printer-state-reasons.folder-warming-up" +msgstr "" + +#. TRANSLATORS: Fuser temperature high +msgid "printer-state-reasons.fuser-over-temp" +msgstr "" + +#. TRANSLATORS: Fuser temperature low +msgid "printer-state-reasons.fuser-under-temp" +msgstr "" + +#. TRANSLATORS: Hold New Jobs +msgid "printer-state-reasons.hold-new-jobs" +msgstr "" + +#. TRANSLATORS: Identify Printer +msgid "printer-state-reasons.identify-printer-requested" +msgstr "" + +#. TRANSLATORS: Imprinter Added +msgid "printer-state-reasons.imprinter-added" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Empty +msgid "printer-state-reasons.imprinter-almost-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Full +msgid "printer-state-reasons.imprinter-almost-full" +msgstr "" + +#. TRANSLATORS: Imprinter At Limit +msgid "printer-state-reasons.imprinter-at-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Closed +msgid "printer-state-reasons.imprinter-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Configuration Change +msgid "printer-state-reasons.imprinter-configuration-change" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Closed +msgid "printer-state-reasons.imprinter-cover-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Open +msgid "printer-state-reasons.imprinter-cover-open" +msgstr "" + +#. TRANSLATORS: Imprinter Empty +msgid "printer-state-reasons.imprinter-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Full +msgid "printer-state-reasons.imprinter-full" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Closed +msgid "printer-state-reasons.imprinter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Open +msgid "printer-state-reasons.imprinter-interlock-open" +msgstr "" + +#. TRANSLATORS: Imprinter Jam +msgid "printer-state-reasons.imprinter-jam" +msgstr "" + +#. TRANSLATORS: Imprinter Life Almost Over +msgid "printer-state-reasons.imprinter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Imprinter Life Over +msgid "printer-state-reasons.imprinter-life-over" +msgstr "" + +#. TRANSLATORS: Imprinter Memory Exhausted +msgid "printer-state-reasons.imprinter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Imprinter Missing +msgid "printer-state-reasons.imprinter-missing" +msgstr "" + +#. TRANSLATORS: Imprinter Motor Failure +msgid "printer-state-reasons.imprinter-motor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Near Limit +msgid "printer-state-reasons.imprinter-near-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Offline +msgid "printer-state-reasons.imprinter-offline" +msgstr "" + +#. TRANSLATORS: Imprinter Opened +msgid "printer-state-reasons.imprinter-opened" +msgstr "" + +#. TRANSLATORS: Imprinter Over Temperature +msgid "printer-state-reasons.imprinter-over-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Power Saver +msgid "printer-state-reasons.imprinter-power-saver" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Failure +msgid "printer-state-reasons.imprinter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Storage +msgid "printer-state-reasons.imprinter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Imprinter Removed +msgid "printer-state-reasons.imprinter-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Added +msgid "printer-state-reasons.imprinter-resource-added" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Removed +msgid "printer-state-reasons.imprinter-resource-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Thermistor Failure +msgid "printer-state-reasons.imprinter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Timing Failure +msgid "printer-state-reasons.imprinter-timing-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Turned Off +msgid "printer-state-reasons.imprinter-turned-off" +msgstr "" + +#. TRANSLATORS: Imprinter Turned On +msgid "printer-state-reasons.imprinter-turned-on" +msgstr "" + +#. TRANSLATORS: Imprinter Under Temperature +msgid "printer-state-reasons.imprinter-under-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Failure +msgid "printer-state-reasons.imprinter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Storage Error +msgid "printer-state-reasons.imprinter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Imprinter Warming Up +msgid "printer-state-reasons.imprinter-warming-up" +msgstr "" + +#. TRANSLATORS: Input Cannot Feed Size Selected +msgid "printer-state-reasons.input-cannot-feed-size-selected" +msgstr "" + +#. TRANSLATORS: Input Manual Input Request +msgid "printer-state-reasons.input-manual-input-request" +msgstr "" + +#. TRANSLATORS: Input Media Color Change +msgid "printer-state-reasons.input-media-color-change" +msgstr "" + +#. TRANSLATORS: Input Media Form Parts Change +msgid "printer-state-reasons.input-media-form-parts-change" +msgstr "" + +#. TRANSLATORS: Input Media Size Change +msgid "printer-state-reasons.input-media-size-change" +msgstr "" + +#. TRANSLATORS: Input Media Tray Failure +msgid "printer-state-reasons.input-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Input Media Tray Feed Error +msgid "printer-state-reasons.input-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Input Media Tray Jam +msgid "printer-state-reasons.input-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Input Media Type Change +msgid "printer-state-reasons.input-media-type-change" +msgstr "" + +#. TRANSLATORS: Input Media Weight Change +msgid "printer-state-reasons.input-media-weight-change" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Failure +msgid "printer-state-reasons.input-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Over +msgid "printer-state-reasons.input-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Warn +msgid "printer-state-reasons.input-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Missing +msgid "printer-state-reasons.input-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Elevation Failure +msgid "printer-state-reasons.input-tray-elevation-failure" +msgstr "" + +#. TRANSLATORS: Paper tray is missing +msgid "printer-state-reasons.input-tray-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Position Failure +msgid "printer-state-reasons.input-tray-position-failure" +msgstr "" + +#. TRANSLATORS: Inserter Added +msgid "printer-state-reasons.inserter-added" +msgstr "" + +#. TRANSLATORS: Inserter Almost Empty +msgid "printer-state-reasons.inserter-almost-empty" +msgstr "" + +#. TRANSLATORS: Inserter Almost Full +msgid "printer-state-reasons.inserter-almost-full" +msgstr "" + +#. TRANSLATORS: Inserter At Limit +msgid "printer-state-reasons.inserter-at-limit" +msgstr "" + +#. TRANSLATORS: Inserter Closed +msgid "printer-state-reasons.inserter-closed" +msgstr "" + +#. TRANSLATORS: Inserter Configuration Change +msgid "printer-state-reasons.inserter-configuration-change" +msgstr "" + +#. TRANSLATORS: Inserter Cover Closed +msgid "printer-state-reasons.inserter-cover-closed" +msgstr "" + +#. TRANSLATORS: Inserter Cover Open +msgid "printer-state-reasons.inserter-cover-open" +msgstr "" + +#. TRANSLATORS: Inserter Empty +msgid "printer-state-reasons.inserter-empty" +msgstr "" + +#. TRANSLATORS: Inserter Full +msgid "printer-state-reasons.inserter-full" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Closed +msgid "printer-state-reasons.inserter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Open +msgid "printer-state-reasons.inserter-interlock-open" +msgstr "" + +#. TRANSLATORS: Inserter Jam +msgid "printer-state-reasons.inserter-jam" +msgstr "" + +#. TRANSLATORS: Inserter Life Almost Over +msgid "printer-state-reasons.inserter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Inserter Life Over +msgid "printer-state-reasons.inserter-life-over" +msgstr "" + +#. TRANSLATORS: Inserter Memory Exhausted +msgid "printer-state-reasons.inserter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Inserter Missing +msgid "printer-state-reasons.inserter-missing" +msgstr "" + +#. TRANSLATORS: Inserter Motor Failure +msgid "printer-state-reasons.inserter-motor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Near Limit +msgid "printer-state-reasons.inserter-near-limit" +msgstr "" + +#. TRANSLATORS: Inserter Offline +msgid "printer-state-reasons.inserter-offline" +msgstr "" + +#. TRANSLATORS: Inserter Opened +msgid "printer-state-reasons.inserter-opened" +msgstr "" + +#. TRANSLATORS: Inserter Over Temperature +msgid "printer-state-reasons.inserter-over-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Power Saver +msgid "printer-state-reasons.inserter-power-saver" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Failure +msgid "printer-state-reasons.inserter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Storage +msgid "printer-state-reasons.inserter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Inserter Removed +msgid "printer-state-reasons.inserter-removed" +msgstr "" + +#. TRANSLATORS: Inserter Resource Added +msgid "printer-state-reasons.inserter-resource-added" +msgstr "" + +#. TRANSLATORS: Inserter Resource Removed +msgid "printer-state-reasons.inserter-resource-removed" +msgstr "" + +#. TRANSLATORS: Inserter Thermistor Failure +msgid "printer-state-reasons.inserter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Timing Failure +msgid "printer-state-reasons.inserter-timing-failure" +msgstr "" + +#. TRANSLATORS: Inserter Turned Off +msgid "printer-state-reasons.inserter-turned-off" +msgstr "" + +#. TRANSLATORS: Inserter Turned On +msgid "printer-state-reasons.inserter-turned-on" +msgstr "" + +#. TRANSLATORS: Inserter Under Temperature +msgid "printer-state-reasons.inserter-under-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Failure +msgid "printer-state-reasons.inserter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Storage Error +msgid "printer-state-reasons.inserter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Inserter Warming Up +msgid "printer-state-reasons.inserter-warming-up" +msgstr "" + +#. TRANSLATORS: Interlock Closed +msgid "printer-state-reasons.interlock-closed" +msgstr "" + +#. TRANSLATORS: Interlock Open +msgid "printer-state-reasons.interlock-open" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Added +msgid "printer-state-reasons.interpreter-cartridge-added" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Removed +msgid "printer-state-reasons.interpreter-cartridge-deleted" +msgstr "" + +#. TRANSLATORS: Interpreter Complex Page Encountered +msgid "printer-state-reasons.interpreter-complex-page-encountered" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Decrease +msgid "printer-state-reasons.interpreter-memory-decrease" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Increase +msgid "printer-state-reasons.interpreter-memory-increase" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Added +msgid "printer-state-reasons.interpreter-resource-added" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Deleted +msgid "printer-state-reasons.interpreter-resource-deleted" +msgstr "" + +#. TRANSLATORS: Printer resource unavailable +msgid "printer-state-reasons.interpreter-resource-unavailable" +msgstr "" + +#. TRANSLATORS: Lamp At End of Life +msgid "printer-state-reasons.lamp-at-eol" +msgstr "" + +#. TRANSLATORS: Lamp Failure +msgid "printer-state-reasons.lamp-failure" +msgstr "" + +#. TRANSLATORS: Lamp Near End of Life +msgid "printer-state-reasons.lamp-near-eol" +msgstr "" + +#. TRANSLATORS: Laser At End of Life +msgid "printer-state-reasons.laser-at-eol" +msgstr "" + +#. TRANSLATORS: Laser Failure +msgid "printer-state-reasons.laser-failure" +msgstr "" + +#. TRANSLATORS: Laser Near End of Life +msgid "printer-state-reasons.laser-near-eol" +msgstr "" + +#. TRANSLATORS: Envelope Maker Added +msgid "printer-state-reasons.make-envelope-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Empty +msgid "printer-state-reasons.make-envelope-almost-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Full +msgid "printer-state-reasons.make-envelope-almost-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker At Limit +msgid "printer-state-reasons.make-envelope-at-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Closed +msgid "printer-state-reasons.make-envelope-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Configuration Change +msgid "printer-state-reasons.make-envelope-configuration-change" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Closed +msgid "printer-state-reasons.make-envelope-cover-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Open +msgid "printer-state-reasons.make-envelope-cover-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Empty +msgid "printer-state-reasons.make-envelope-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Full +msgid "printer-state-reasons.make-envelope-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Closed +msgid "printer-state-reasons.make-envelope-interlock-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Open +msgid "printer-state-reasons.make-envelope-interlock-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Jam +msgid "printer-state-reasons.make-envelope-jam" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Almost Over +msgid "printer-state-reasons.make-envelope-life-almost-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Over +msgid "printer-state-reasons.make-envelope-life-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Memory Exhausted +msgid "printer-state-reasons.make-envelope-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Envelope Maker Missing +msgid "printer-state-reasons.make-envelope-missing" +msgstr "" + +#. TRANSLATORS: Envelope Maker Motor Failure +msgid "printer-state-reasons.make-envelope-motor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Near Limit +msgid "printer-state-reasons.make-envelope-near-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Offline +msgid "printer-state-reasons.make-envelope-offline" +msgstr "" + +#. TRANSLATORS: Envelope Maker Opened +msgid "printer-state-reasons.make-envelope-opened" +msgstr "" + +#. TRANSLATORS: Envelope Maker Over Temperature +msgid "printer-state-reasons.make-envelope-over-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Power Saver +msgid "printer-state-reasons.make-envelope-power-saver" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Failure +msgid "printer-state-reasons.make-envelope-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Storage +msgid "printer-state-reasons.make-envelope-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Envelope Maker Removed +msgid "printer-state-reasons.make-envelope-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Added +msgid "printer-state-reasons.make-envelope-resource-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Removed +msgid "printer-state-reasons.make-envelope-resource-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Thermistor Failure +msgid "printer-state-reasons.make-envelope-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Timing Failure +msgid "printer-state-reasons.make-envelope-timing-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned Off +msgid "printer-state-reasons.make-envelope-turned-off" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned On +msgid "printer-state-reasons.make-envelope-turned-on" +msgstr "" + +#. TRANSLATORS: Envelope Maker Under Temperature +msgid "printer-state-reasons.make-envelope-under-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Failure +msgid "printer-state-reasons.make-envelope-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Storage Error +msgid "printer-state-reasons.make-envelope-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Envelope Maker Warming Up +msgid "printer-state-reasons.make-envelope-warming-up" +msgstr "" + +#. TRANSLATORS: Marker Adjusting Print Quality +msgid "printer-state-reasons.marker-adjusting-print-quality" +msgstr "" + +#. TRANSLATORS: Marker Cleaner Missing +msgid "printer-state-reasons.marker-cleaner-missing" +msgstr "" + +#. TRANSLATORS: Marker Developer Almost Empty +msgid "printer-state-reasons.marker-developer-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Empty +msgid "printer-state-reasons.marker-developer-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Missing +msgid "printer-state-reasons.marker-developer-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Missing +msgid "printer-state-reasons.marker-fuser-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Thermistor Failure +msgid "printer-state-reasons.marker-fuser-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Marker Fuser Timing Failure +msgid "printer-state-reasons.marker-fuser-timing-failure" +msgstr "" + +#. TRANSLATORS: Marker Ink Almost Empty +msgid "printer-state-reasons.marker-ink-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Empty +msgid "printer-state-reasons.marker-ink-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Missing +msgid "printer-state-reasons.marker-ink-missing" +msgstr "" + +#. TRANSLATORS: Marker Opc Missing +msgid "printer-state-reasons.marker-opc-missing" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Almost Empty +msgid "printer-state-reasons.marker-print-ribbon-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Empty +msgid "printer-state-reasons.marker-print-ribbon-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Missing +msgid "printer-state-reasons.marker-print-ribbon-missing" +msgstr "" + +#. TRANSLATORS: Marker Supply Almost Empty +msgid "printer-state-reasons.marker-supply-almost-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner empty +msgid "printer-state-reasons.marker-supply-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner low +msgid "printer-state-reasons.marker-supply-low" +msgstr "" + +#. TRANSLATORS: Marker Supply Missing +msgid "printer-state-reasons.marker-supply-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Cartridge Missing +msgid "printer-state-reasons.marker-toner-cartridge-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Missing +msgid "printer-state-reasons.marker-toner-missing" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin almost full +msgid "printer-state-reasons.marker-waste-almost-full" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin full +msgid "printer-state-reasons.marker-waste-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Missing +msgid "printer-state-reasons.marker-waste-ink-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Missing +msgid "printer-state-reasons.marker-waste-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Missing +msgid "printer-state-reasons.marker-waste-toner-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Material Empty +msgid "printer-state-reasons.material-empty" +msgstr "" + +#. TRANSLATORS: Material Low +msgid "printer-state-reasons.material-low" +msgstr "" + +#. TRANSLATORS: Material Needed +msgid "printer-state-reasons.material-needed" +msgstr "" + +#. TRANSLATORS: Media Drying +msgid "printer-state-reasons.media-drying" +msgstr "" + +#. TRANSLATORS: Paper tray is empty +msgid "printer-state-reasons.media-empty" +msgstr "" + +#. TRANSLATORS: Paper jam +msgid "printer-state-reasons.media-jam" +msgstr "" + +#. TRANSLATORS: Paper tray is almost empty +msgid "printer-state-reasons.media-low" +msgstr "" + +#. TRANSLATORS: Load paper +msgid "printer-state-reasons.media-needed" +msgstr "" + +#. TRANSLATORS: Media Path Cannot Do 2-Sided Printing +msgid "printer-state-reasons.media-path-cannot-duplex-media-selected" +msgstr "" + +#. TRANSLATORS: Media Path Failure +msgid "printer-state-reasons.media-path-failure" +msgstr "" + +#. TRANSLATORS: Media Path Input Empty +msgid "printer-state-reasons.media-path-input-empty" +msgstr "" + +#. TRANSLATORS: Media Path Input Feed Error +msgid "printer-state-reasons.media-path-input-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Input Jam +msgid "printer-state-reasons.media-path-input-jam" +msgstr "" + +#. TRANSLATORS: Media Path Input Request +msgid "printer-state-reasons.media-path-input-request" +msgstr "" + +#. TRANSLATORS: Media Path Jam +msgid "printer-state-reasons.media-path-jam" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Almost Full +msgid "printer-state-reasons.media-path-media-tray-almost-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Full +msgid "printer-state-reasons.media-path-media-tray-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Missing +msgid "printer-state-reasons.media-path-media-tray-missing" +msgstr "" + +#. TRANSLATORS: Media Path Output Feed Error +msgid "printer-state-reasons.media-path-output-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Output Full +msgid "printer-state-reasons.media-path-output-full" +msgstr "" + +#. TRANSLATORS: Media Path Output Jam +msgid "printer-state-reasons.media-path-output-jam" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Failure +msgid "printer-state-reasons.media-path-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Over +msgid "printer-state-reasons.media-path-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Warn +msgid "printer-state-reasons.media-path-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Missing +msgid "printer-state-reasons.media-path-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Motor Failure +msgid "printer-state-reasons.motor-failure" +msgstr "" + +#. TRANSLATORS: Printer going offline +msgid "printer-state-reasons.moving-to-paused" +msgstr "" + +#. TRANSLATORS: None +msgid "printer-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Optical Photoconductor Life Over +msgid "printer-state-reasons.opc-life-over" +msgstr "" + +#. TRANSLATORS: OPC almost at end-of-life +msgid "printer-state-reasons.opc-near-eol" +msgstr "" + +#. TRANSLATORS: Check the printer for errors +msgid "printer-state-reasons.other" +msgstr "" + +#. TRANSLATORS: Output bin is almost full +msgid "printer-state-reasons.output-area-almost-full" +msgstr "" + +#. TRANSLATORS: Output bin is full +msgid "printer-state-reasons.output-area-full" +msgstr "" + +#. TRANSLATORS: Output Mailbox Select Failure +msgid "printer-state-reasons.output-mailbox-select-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Failure +msgid "printer-state-reasons.output-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Feed Error +msgid "printer-state-reasons.output-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Output Media Tray Jam +msgid "printer-state-reasons.output-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Output tray is missing +msgid "printer-state-reasons.output-tray-missing" +msgstr "" + +#. TRANSLATORS: Paused +msgid "printer-state-reasons.paused" +msgstr "" + +#. TRANSLATORS: Perforater Added +msgid "printer-state-reasons.perforater-added" +msgstr "" + +#. TRANSLATORS: Perforater Almost Empty +msgid "printer-state-reasons.perforater-almost-empty" +msgstr "" + +#. TRANSLATORS: Perforater Almost Full +msgid "printer-state-reasons.perforater-almost-full" +msgstr "" + +#. TRANSLATORS: Perforater At Limit +msgid "printer-state-reasons.perforater-at-limit" +msgstr "" + +#. TRANSLATORS: Perforater Closed +msgid "printer-state-reasons.perforater-closed" +msgstr "" + +#. TRANSLATORS: Perforater Configuration Change +msgid "printer-state-reasons.perforater-configuration-change" +msgstr "" + +#. TRANSLATORS: Perforater Cover Closed +msgid "printer-state-reasons.perforater-cover-closed" +msgstr "" + +#. TRANSLATORS: Perforater Cover Open +msgid "printer-state-reasons.perforater-cover-open" +msgstr "" + +#. TRANSLATORS: Perforater Empty +msgid "printer-state-reasons.perforater-empty" +msgstr "" + +#. TRANSLATORS: Perforater Full +msgid "printer-state-reasons.perforater-full" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Closed +msgid "printer-state-reasons.perforater-interlock-closed" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Open +msgid "printer-state-reasons.perforater-interlock-open" +msgstr "" + +#. TRANSLATORS: Perforater Jam +msgid "printer-state-reasons.perforater-jam" +msgstr "" + +#. TRANSLATORS: Perforater Life Almost Over +msgid "printer-state-reasons.perforater-life-almost-over" +msgstr "" + +#. TRANSLATORS: Perforater Life Over +msgid "printer-state-reasons.perforater-life-over" +msgstr "" + +#. TRANSLATORS: Perforater Memory Exhausted +msgid "printer-state-reasons.perforater-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Perforater Missing +msgid "printer-state-reasons.perforater-missing" +msgstr "" + +#. TRANSLATORS: Perforater Motor Failure +msgid "printer-state-reasons.perforater-motor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Near Limit +msgid "printer-state-reasons.perforater-near-limit" +msgstr "" + +#. TRANSLATORS: Perforater Offline +msgid "printer-state-reasons.perforater-offline" +msgstr "" + +#. TRANSLATORS: Perforater Opened +msgid "printer-state-reasons.perforater-opened" +msgstr "" + +#. TRANSLATORS: Perforater Over Temperature +msgid "printer-state-reasons.perforater-over-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Power Saver +msgid "printer-state-reasons.perforater-power-saver" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Failure +msgid "printer-state-reasons.perforater-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Storage +msgid "printer-state-reasons.perforater-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Perforater Removed +msgid "printer-state-reasons.perforater-removed" +msgstr "" + +#. TRANSLATORS: Perforater Resource Added +msgid "printer-state-reasons.perforater-resource-added" +msgstr "" + +#. TRANSLATORS: Perforater Resource Removed +msgid "printer-state-reasons.perforater-resource-removed" +msgstr "" + +#. TRANSLATORS: Perforater Thermistor Failure +msgid "printer-state-reasons.perforater-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Timing Failure +msgid "printer-state-reasons.perforater-timing-failure" +msgstr "" + +#. TRANSLATORS: Perforater Turned Off +msgid "printer-state-reasons.perforater-turned-off" +msgstr "" + +#. TRANSLATORS: Perforater Turned On +msgid "printer-state-reasons.perforater-turned-on" +msgstr "" + +#. TRANSLATORS: Perforater Under Temperature +msgid "printer-state-reasons.perforater-under-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Failure +msgid "printer-state-reasons.perforater-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Storage Error +msgid "printer-state-reasons.perforater-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Perforater Warming Up +msgid "printer-state-reasons.perforater-warming-up" +msgstr "" + +#. TRANSLATORS: Platform Cooling +msgid "printer-state-reasons.platform-cooling" +msgstr "" + +#. TRANSLATORS: Platform Failure +msgid "printer-state-reasons.platform-failure" +msgstr "" + +#. TRANSLATORS: Platform Heating +msgid "printer-state-reasons.platform-heating" +msgstr "" + +#. TRANSLATORS: Platform Temperature High +msgid "printer-state-reasons.platform-temperature-high" +msgstr "" + +#. TRANSLATORS: Platform Temperature Low +msgid "printer-state-reasons.platform-temperature-low" +msgstr "" + +#. TRANSLATORS: Power Down +msgid "printer-state-reasons.power-down" +msgstr "" + +#. TRANSLATORS: Power Up +msgid "printer-state-reasons.power-up" +msgstr "" + +#. TRANSLATORS: Printer Reset Manually +msgid "printer-state-reasons.printer-manual-reset" +msgstr "" + +#. TRANSLATORS: Printer Reset Remotely +msgid "printer-state-reasons.printer-nms-reset" +msgstr "" + +#. TRANSLATORS: Printer Ready To Print +msgid "printer-state-reasons.printer-ready-to-print" +msgstr "" + +#. TRANSLATORS: Puncher Added +msgid "printer-state-reasons.puncher-added" +msgstr "" + +#. TRANSLATORS: Puncher Almost Empty +msgid "printer-state-reasons.puncher-almost-empty" +msgstr "" + +#. TRANSLATORS: Puncher Almost Full +msgid "printer-state-reasons.puncher-almost-full" +msgstr "" + +#. TRANSLATORS: Puncher At Limit +msgid "printer-state-reasons.puncher-at-limit" +msgstr "" + +#. TRANSLATORS: Puncher Closed +msgid "printer-state-reasons.puncher-closed" +msgstr "" + +#. TRANSLATORS: Puncher Configuration Change +msgid "printer-state-reasons.puncher-configuration-change" +msgstr "" + +#. TRANSLATORS: Puncher Cover Closed +msgid "printer-state-reasons.puncher-cover-closed" +msgstr "" + +#. TRANSLATORS: Puncher Cover Open +msgid "printer-state-reasons.puncher-cover-open" +msgstr "" + +#. TRANSLATORS: Puncher Empty +msgid "printer-state-reasons.puncher-empty" +msgstr "" + +#. TRANSLATORS: Puncher Full +msgid "printer-state-reasons.puncher-full" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Closed +msgid "printer-state-reasons.puncher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Open +msgid "printer-state-reasons.puncher-interlock-open" +msgstr "" + +#. TRANSLATORS: Puncher Jam +msgid "printer-state-reasons.puncher-jam" +msgstr "" + +#. TRANSLATORS: Puncher Life Almost Over +msgid "printer-state-reasons.puncher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Puncher Life Over +msgid "printer-state-reasons.puncher-life-over" +msgstr "" + +#. TRANSLATORS: Puncher Memory Exhausted +msgid "printer-state-reasons.puncher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Puncher Missing +msgid "printer-state-reasons.puncher-missing" +msgstr "" + +#. TRANSLATORS: Puncher Motor Failure +msgid "printer-state-reasons.puncher-motor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Near Limit +msgid "printer-state-reasons.puncher-near-limit" +msgstr "" + +#. TRANSLATORS: Puncher Offline +msgid "printer-state-reasons.puncher-offline" +msgstr "" + +#. TRANSLATORS: Puncher Opened +msgid "printer-state-reasons.puncher-opened" +msgstr "" + +#. TRANSLATORS: Puncher Over Temperature +msgid "printer-state-reasons.puncher-over-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Power Saver +msgid "printer-state-reasons.puncher-power-saver" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Failure +msgid "printer-state-reasons.puncher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Storage +msgid "printer-state-reasons.puncher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Puncher Removed +msgid "printer-state-reasons.puncher-removed" +msgstr "" + +#. TRANSLATORS: Puncher Resource Added +msgid "printer-state-reasons.puncher-resource-added" +msgstr "" + +#. TRANSLATORS: Puncher Resource Removed +msgid "printer-state-reasons.puncher-resource-removed" +msgstr "" + +#. TRANSLATORS: Puncher Thermistor Failure +msgid "printer-state-reasons.puncher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Timing Failure +msgid "printer-state-reasons.puncher-timing-failure" +msgstr "" + +#. TRANSLATORS: Puncher Turned Off +msgid "printer-state-reasons.puncher-turned-off" +msgstr "" + +#. TRANSLATORS: Puncher Turned On +msgid "printer-state-reasons.puncher-turned-on" +msgstr "" + +#. TRANSLATORS: Puncher Under Temperature +msgid "printer-state-reasons.puncher-under-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Failure +msgid "printer-state-reasons.puncher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Storage Error +msgid "printer-state-reasons.puncher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Puncher Warming Up +msgid "printer-state-reasons.puncher-warming-up" +msgstr "" + +#. TRANSLATORS: Separation Cutter Added +msgid "printer-state-reasons.separation-cutter-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Empty +msgid "printer-state-reasons.separation-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Full +msgid "printer-state-reasons.separation-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter At Limit +msgid "printer-state-reasons.separation-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Closed +msgid "printer-state-reasons.separation-cutter-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Configuration Change +msgid "printer-state-reasons.separation-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Closed +msgid "printer-state-reasons.separation-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Open +msgid "printer-state-reasons.separation-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Empty +msgid "printer-state-reasons.separation-cutter-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Full +msgid "printer-state-reasons.separation-cutter-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Closed +msgid "printer-state-reasons.separation-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Open +msgid "printer-state-reasons.separation-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Jam +msgid "printer-state-reasons.separation-cutter-jam" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Almost Over +msgid "printer-state-reasons.separation-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Over +msgid "printer-state-reasons.separation-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Memory Exhausted +msgid "printer-state-reasons.separation-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Separation Cutter Missing +msgid "printer-state-reasons.separation-cutter-missing" +msgstr "" + +#. TRANSLATORS: Separation Cutter Motor Failure +msgid "printer-state-reasons.separation-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Near Limit +msgid "printer-state-reasons.separation-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Offline +msgid "printer-state-reasons.separation-cutter-offline" +msgstr "" + +#. TRANSLATORS: Separation Cutter Opened +msgid "printer-state-reasons.separation-cutter-opened" +msgstr "" + +#. TRANSLATORS: Separation Cutter Over Temperature +msgid "printer-state-reasons.separation-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Power Saver +msgid "printer-state-reasons.separation-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Failure +msgid "printer-state-reasons.separation-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Storage +msgid "printer-state-reasons.separation-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Separation Cutter Removed +msgid "printer-state-reasons.separation-cutter-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Added +msgid "printer-state-reasons.separation-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Removed +msgid "printer-state-reasons.separation-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Thermistor Failure +msgid "printer-state-reasons.separation-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Timing Failure +msgid "printer-state-reasons.separation-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned Off +msgid "printer-state-reasons.separation-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned On +msgid "printer-state-reasons.separation-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Separation Cutter Under Temperature +msgid "printer-state-reasons.separation-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Failure +msgid "printer-state-reasons.separation-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.separation-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Separation Cutter Warming Up +msgid "printer-state-reasons.separation-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Added +msgid "printer-state-reasons.sheet-rotator-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Empty +msgid "printer-state-reasons.sheet-rotator-almost-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Full +msgid "printer-state-reasons.sheet-rotator-almost-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator At Limit +msgid "printer-state-reasons.sheet-rotator-at-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Closed +msgid "printer-state-reasons.sheet-rotator-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Configuration Change +msgid "printer-state-reasons.sheet-rotator-configuration-change" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Closed +msgid "printer-state-reasons.sheet-rotator-cover-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Open +msgid "printer-state-reasons.sheet-rotator-cover-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Empty +msgid "printer-state-reasons.sheet-rotator-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Full +msgid "printer-state-reasons.sheet-rotator-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Closed +msgid "printer-state-reasons.sheet-rotator-interlock-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Open +msgid "printer-state-reasons.sheet-rotator-interlock-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Jam +msgid "printer-state-reasons.sheet-rotator-jam" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Almost Over +msgid "printer-state-reasons.sheet-rotator-life-almost-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Over +msgid "printer-state-reasons.sheet-rotator-life-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Memory Exhausted +msgid "printer-state-reasons.sheet-rotator-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Missing +msgid "printer-state-reasons.sheet-rotator-missing" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Motor Failure +msgid "printer-state-reasons.sheet-rotator-motor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Near Limit +msgid "printer-state-reasons.sheet-rotator-near-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Offline +msgid "printer-state-reasons.sheet-rotator-offline" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Opened +msgid "printer-state-reasons.sheet-rotator-opened" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Over Temperature +msgid "printer-state-reasons.sheet-rotator-over-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Power Saver +msgid "printer-state-reasons.sheet-rotator-power-saver" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Failure +msgid "printer-state-reasons.sheet-rotator-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Storage +msgid "printer-state-reasons.sheet-rotator-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Removed +msgid "printer-state-reasons.sheet-rotator-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Added +msgid "printer-state-reasons.sheet-rotator-resource-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Removed +msgid "printer-state-reasons.sheet-rotator-resource-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Thermistor Failure +msgid "printer-state-reasons.sheet-rotator-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Timing Failure +msgid "printer-state-reasons.sheet-rotator-timing-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned Off +msgid "printer-state-reasons.sheet-rotator-turned-off" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned On +msgid "printer-state-reasons.sheet-rotator-turned-on" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Under Temperature +msgid "printer-state-reasons.sheet-rotator-under-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Failure +msgid "printer-state-reasons.sheet-rotator-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +msgid "printer-state-reasons.sheet-rotator-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Warming Up +msgid "printer-state-reasons.sheet-rotator-warming-up" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "printer-state-reasons.shutdown" +msgstr "" + +#. TRANSLATORS: Slitter Added +msgid "printer-state-reasons.slitter-added" +msgstr "" + +#. TRANSLATORS: Slitter Almost Empty +msgid "printer-state-reasons.slitter-almost-empty" +msgstr "" + +#. TRANSLATORS: Slitter Almost Full +msgid "printer-state-reasons.slitter-almost-full" +msgstr "" + +#. TRANSLATORS: Slitter At Limit +msgid "printer-state-reasons.slitter-at-limit" +msgstr "" + +#. TRANSLATORS: Slitter Closed +msgid "printer-state-reasons.slitter-closed" +msgstr "" + +#. TRANSLATORS: Slitter Configuration Change +msgid "printer-state-reasons.slitter-configuration-change" +msgstr "" + +#. TRANSLATORS: Slitter Cover Closed +msgid "printer-state-reasons.slitter-cover-closed" +msgstr "" + +#. TRANSLATORS: Slitter Cover Open +msgid "printer-state-reasons.slitter-cover-open" +msgstr "" + +#. TRANSLATORS: Slitter Empty +msgid "printer-state-reasons.slitter-empty" +msgstr "" + +#. TRANSLATORS: Slitter Full +msgid "printer-state-reasons.slitter-full" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Closed +msgid "printer-state-reasons.slitter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Open +msgid "printer-state-reasons.slitter-interlock-open" +msgstr "" + +#. TRANSLATORS: Slitter Jam +msgid "printer-state-reasons.slitter-jam" +msgstr "" + +#. TRANSLATORS: Slitter Life Almost Over +msgid "printer-state-reasons.slitter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Slitter Life Over +msgid "printer-state-reasons.slitter-life-over" +msgstr "" + +#. TRANSLATORS: Slitter Memory Exhausted +msgid "printer-state-reasons.slitter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Slitter Missing +msgid "printer-state-reasons.slitter-missing" +msgstr "" + +#. TRANSLATORS: Slitter Motor Failure +msgid "printer-state-reasons.slitter-motor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Near Limit +msgid "printer-state-reasons.slitter-near-limit" +msgstr "" + +#. TRANSLATORS: Slitter Offline +msgid "printer-state-reasons.slitter-offline" +msgstr "" + +#. TRANSLATORS: Slitter Opened +msgid "printer-state-reasons.slitter-opened" +msgstr "" + +#. TRANSLATORS: Slitter Over Temperature +msgid "printer-state-reasons.slitter-over-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Power Saver +msgid "printer-state-reasons.slitter-power-saver" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Failure +msgid "printer-state-reasons.slitter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Storage +msgid "printer-state-reasons.slitter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Slitter Removed +msgid "printer-state-reasons.slitter-removed" +msgstr "" + +#. TRANSLATORS: Slitter Resource Added +msgid "printer-state-reasons.slitter-resource-added" +msgstr "" + +#. TRANSLATORS: Slitter Resource Removed +msgid "printer-state-reasons.slitter-resource-removed" +msgstr "" + +#. TRANSLATORS: Slitter Thermistor Failure +msgid "printer-state-reasons.slitter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Timing Failure +msgid "printer-state-reasons.slitter-timing-failure" +msgstr "" + +#. TRANSLATORS: Slitter Turned Off +msgid "printer-state-reasons.slitter-turned-off" +msgstr "" + +#. TRANSLATORS: Slitter Turned On +msgid "printer-state-reasons.slitter-turned-on" +msgstr "" + +#. TRANSLATORS: Slitter Under Temperature +msgid "printer-state-reasons.slitter-under-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Failure +msgid "printer-state-reasons.slitter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Storage Error +msgid "printer-state-reasons.slitter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Slitter Warming Up +msgid "printer-state-reasons.slitter-warming-up" +msgstr "" + +#. TRANSLATORS: Spool Area Full +msgid "printer-state-reasons.spool-area-full" +msgstr "" + +#. TRANSLATORS: Stacker Added +msgid "printer-state-reasons.stacker-added" +msgstr "" + +#. TRANSLATORS: Stacker Almost Empty +msgid "printer-state-reasons.stacker-almost-empty" +msgstr "" + +#. TRANSLATORS: Stacker Almost Full +msgid "printer-state-reasons.stacker-almost-full" +msgstr "" + +#. TRANSLATORS: Stacker At Limit +msgid "printer-state-reasons.stacker-at-limit" +msgstr "" + +#. TRANSLATORS: Stacker Closed +msgid "printer-state-reasons.stacker-closed" +msgstr "" + +#. TRANSLATORS: Stacker Configuration Change +msgid "printer-state-reasons.stacker-configuration-change" +msgstr "" + +#. TRANSLATORS: Stacker Cover Closed +msgid "printer-state-reasons.stacker-cover-closed" +msgstr "" + +#. TRANSLATORS: Stacker Cover Open +msgid "printer-state-reasons.stacker-cover-open" +msgstr "" + +#. TRANSLATORS: Stacker Empty +msgid "printer-state-reasons.stacker-empty" +msgstr "" + +#. TRANSLATORS: Stacker Full +msgid "printer-state-reasons.stacker-full" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Closed +msgid "printer-state-reasons.stacker-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Open +msgid "printer-state-reasons.stacker-interlock-open" +msgstr "" + +#. TRANSLATORS: Stacker Jam +msgid "printer-state-reasons.stacker-jam" +msgstr "" + +#. TRANSLATORS: Stacker Life Almost Over +msgid "printer-state-reasons.stacker-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stacker Life Over +msgid "printer-state-reasons.stacker-life-over" +msgstr "" + +#. TRANSLATORS: Stacker Memory Exhausted +msgid "printer-state-reasons.stacker-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stacker Missing +msgid "printer-state-reasons.stacker-missing" +msgstr "" + +#. TRANSLATORS: Stacker Motor Failure +msgid "printer-state-reasons.stacker-motor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Near Limit +msgid "printer-state-reasons.stacker-near-limit" +msgstr "" + +#. TRANSLATORS: Stacker Offline +msgid "printer-state-reasons.stacker-offline" +msgstr "" + +#. TRANSLATORS: Stacker Opened +msgid "printer-state-reasons.stacker-opened" +msgstr "" + +#. TRANSLATORS: Stacker Over Temperature +msgid "printer-state-reasons.stacker-over-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Power Saver +msgid "printer-state-reasons.stacker-power-saver" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Failure +msgid "printer-state-reasons.stacker-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Storage +msgid "printer-state-reasons.stacker-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stacker Removed +msgid "printer-state-reasons.stacker-removed" +msgstr "" + +#. TRANSLATORS: Stacker Resource Added +msgid "printer-state-reasons.stacker-resource-added" +msgstr "" + +#. TRANSLATORS: Stacker Resource Removed +msgid "printer-state-reasons.stacker-resource-removed" +msgstr "" + +#. TRANSLATORS: Stacker Thermistor Failure +msgid "printer-state-reasons.stacker-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Timing Failure +msgid "printer-state-reasons.stacker-timing-failure" +msgstr "" + +#. TRANSLATORS: Stacker Turned Off +msgid "printer-state-reasons.stacker-turned-off" +msgstr "" + +#. TRANSLATORS: Stacker Turned On +msgid "printer-state-reasons.stacker-turned-on" +msgstr "" + +#. TRANSLATORS: Stacker Under Temperature +msgid "printer-state-reasons.stacker-under-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Failure +msgid "printer-state-reasons.stacker-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Storage Error +msgid "printer-state-reasons.stacker-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stacker Warming Up +msgid "printer-state-reasons.stacker-warming-up" +msgstr "" + +#. TRANSLATORS: Stapler Added +msgid "printer-state-reasons.stapler-added" +msgstr "" + +#. TRANSLATORS: Stapler Almost Empty +msgid "printer-state-reasons.stapler-almost-empty" +msgstr "" + +#. TRANSLATORS: Stapler Almost Full +msgid "printer-state-reasons.stapler-almost-full" +msgstr "" + +#. TRANSLATORS: Stapler At Limit +msgid "printer-state-reasons.stapler-at-limit" +msgstr "" + +#. TRANSLATORS: Stapler Closed +msgid "printer-state-reasons.stapler-closed" +msgstr "" + +#. TRANSLATORS: Stapler Configuration Change +msgid "printer-state-reasons.stapler-configuration-change" +msgstr "" + +#. TRANSLATORS: Stapler Cover Closed +msgid "printer-state-reasons.stapler-cover-closed" +msgstr "" + +#. TRANSLATORS: Stapler Cover Open +msgid "printer-state-reasons.stapler-cover-open" +msgstr "" + +#. TRANSLATORS: Stapler Empty +msgid "printer-state-reasons.stapler-empty" +msgstr "" + +#. TRANSLATORS: Stapler Full +msgid "printer-state-reasons.stapler-full" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Closed +msgid "printer-state-reasons.stapler-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Open +msgid "printer-state-reasons.stapler-interlock-open" +msgstr "" + +#. TRANSLATORS: Stapler Jam +msgid "printer-state-reasons.stapler-jam" +msgstr "" + +#. TRANSLATORS: Stapler Life Almost Over +msgid "printer-state-reasons.stapler-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stapler Life Over +msgid "printer-state-reasons.stapler-life-over" +msgstr "" + +#. TRANSLATORS: Stapler Memory Exhausted +msgid "printer-state-reasons.stapler-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stapler Missing +msgid "printer-state-reasons.stapler-missing" +msgstr "" + +#. TRANSLATORS: Stapler Motor Failure +msgid "printer-state-reasons.stapler-motor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Near Limit +msgid "printer-state-reasons.stapler-near-limit" +msgstr "" + +#. TRANSLATORS: Stapler Offline +msgid "printer-state-reasons.stapler-offline" +msgstr "" + +#. TRANSLATORS: Stapler Opened +msgid "printer-state-reasons.stapler-opened" +msgstr "" + +#. TRANSLATORS: Stapler Over Temperature +msgid "printer-state-reasons.stapler-over-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Power Saver +msgid "printer-state-reasons.stapler-power-saver" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Failure +msgid "printer-state-reasons.stapler-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Storage +msgid "printer-state-reasons.stapler-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stapler Removed +msgid "printer-state-reasons.stapler-removed" +msgstr "" + +#. TRANSLATORS: Stapler Resource Added +msgid "printer-state-reasons.stapler-resource-added" +msgstr "" + +#. TRANSLATORS: Stapler Resource Removed +msgid "printer-state-reasons.stapler-resource-removed" +msgstr "" + +#. TRANSLATORS: Stapler Thermistor Failure +msgid "printer-state-reasons.stapler-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Timing Failure +msgid "printer-state-reasons.stapler-timing-failure" +msgstr "" + +#. TRANSLATORS: Stapler Turned Off +msgid "printer-state-reasons.stapler-turned-off" +msgstr "" + +#. TRANSLATORS: Stapler Turned On +msgid "printer-state-reasons.stapler-turned-on" +msgstr "" + +#. TRANSLATORS: Stapler Under Temperature +msgid "printer-state-reasons.stapler-under-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Failure +msgid "printer-state-reasons.stapler-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Storage Error +msgid "printer-state-reasons.stapler-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stapler Warming Up +msgid "printer-state-reasons.stapler-warming-up" +msgstr "" + +#. TRANSLATORS: Stitcher Added +msgid "printer-state-reasons.stitcher-added" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Empty +msgid "printer-state-reasons.stitcher-almost-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Full +msgid "printer-state-reasons.stitcher-almost-full" +msgstr "" + +#. TRANSLATORS: Stitcher At Limit +msgid "printer-state-reasons.stitcher-at-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Closed +msgid "printer-state-reasons.stitcher-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Configuration Change +msgid "printer-state-reasons.stitcher-configuration-change" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Closed +msgid "printer-state-reasons.stitcher-cover-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Open +msgid "printer-state-reasons.stitcher-cover-open" +msgstr "" + +#. TRANSLATORS: Stitcher Empty +msgid "printer-state-reasons.stitcher-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Full +msgid "printer-state-reasons.stitcher-full" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Closed +msgid "printer-state-reasons.stitcher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Open +msgid "printer-state-reasons.stitcher-interlock-open" +msgstr "" + +#. TRANSLATORS: Stitcher Jam +msgid "printer-state-reasons.stitcher-jam" +msgstr "" + +#. TRANSLATORS: Stitcher Life Almost Over +msgid "printer-state-reasons.stitcher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stitcher Life Over +msgid "printer-state-reasons.stitcher-life-over" +msgstr "" + +#. TRANSLATORS: Stitcher Memory Exhausted +msgid "printer-state-reasons.stitcher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stitcher Missing +msgid "printer-state-reasons.stitcher-missing" +msgstr "" + +#. TRANSLATORS: Stitcher Motor Failure +msgid "printer-state-reasons.stitcher-motor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Near Limit +msgid "printer-state-reasons.stitcher-near-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Offline +msgid "printer-state-reasons.stitcher-offline" +msgstr "" + +#. TRANSLATORS: Stitcher Opened +msgid "printer-state-reasons.stitcher-opened" +msgstr "" + +#. TRANSLATORS: Stitcher Over Temperature +msgid "printer-state-reasons.stitcher-over-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Power Saver +msgid "printer-state-reasons.stitcher-power-saver" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Failure +msgid "printer-state-reasons.stitcher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Storage +msgid "printer-state-reasons.stitcher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stitcher Removed +msgid "printer-state-reasons.stitcher-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Added +msgid "printer-state-reasons.stitcher-resource-added" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Removed +msgid "printer-state-reasons.stitcher-resource-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Thermistor Failure +msgid "printer-state-reasons.stitcher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Timing Failure +msgid "printer-state-reasons.stitcher-timing-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Turned Off +msgid "printer-state-reasons.stitcher-turned-off" +msgstr "" + +#. TRANSLATORS: Stitcher Turned On +msgid "printer-state-reasons.stitcher-turned-on" +msgstr "" + +#. TRANSLATORS: Stitcher Under Temperature +msgid "printer-state-reasons.stitcher-under-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Failure +msgid "printer-state-reasons.stitcher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Storage Error +msgid "printer-state-reasons.stitcher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stitcher Warming Up +msgid "printer-state-reasons.stitcher-warming-up" +msgstr "" + +#. TRANSLATORS: Partially stopped +msgid "printer-state-reasons.stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "printer-state-reasons.stopping" +msgstr "" + +#. TRANSLATORS: Subunit Added +msgid "printer-state-reasons.subunit-added" +msgstr "" + +#. TRANSLATORS: Subunit Almost Empty +msgid "printer-state-reasons.subunit-almost-empty" +msgstr "" + +#. TRANSLATORS: Subunit Almost Full +msgid "printer-state-reasons.subunit-almost-full" +msgstr "" + +#. TRANSLATORS: Subunit At Limit +msgid "printer-state-reasons.subunit-at-limit" +msgstr "" + +#. TRANSLATORS: Subunit Closed +msgid "printer-state-reasons.subunit-closed" +msgstr "" + +#. TRANSLATORS: Subunit Cooling Down +msgid "printer-state-reasons.subunit-cooling-down" +msgstr "" + +#. TRANSLATORS: Subunit Empty +msgid "printer-state-reasons.subunit-empty" +msgstr "" + +#. TRANSLATORS: Subunit Full +msgid "printer-state-reasons.subunit-full" +msgstr "" + +#. TRANSLATORS: Subunit Life Almost Over +msgid "printer-state-reasons.subunit-life-almost-over" +msgstr "" + +#. TRANSLATORS: Subunit Life Over +msgid "printer-state-reasons.subunit-life-over" +msgstr "" + +#. TRANSLATORS: Subunit Memory Exhausted +msgid "printer-state-reasons.subunit-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Subunit Missing +msgid "printer-state-reasons.subunit-missing" +msgstr "" + +#. TRANSLATORS: Subunit Motor Failure +msgid "printer-state-reasons.subunit-motor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Near Limit +msgid "printer-state-reasons.subunit-near-limit" +msgstr "" + +#. TRANSLATORS: Subunit Offline +msgid "printer-state-reasons.subunit-offline" +msgstr "" + +#. TRANSLATORS: Subunit Opened +msgid "printer-state-reasons.subunit-opened" +msgstr "" + +#. TRANSLATORS: Subunit Over Temperature +msgid "printer-state-reasons.subunit-over-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Power Saver +msgid "printer-state-reasons.subunit-power-saver" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Failure +msgid "printer-state-reasons.subunit-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Storage +msgid "printer-state-reasons.subunit-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Removed +msgid "printer-state-reasons.subunit-removed" +msgstr "" + +#. TRANSLATORS: Subunit Resource Added +msgid "printer-state-reasons.subunit-resource-added" +msgstr "" + +#. TRANSLATORS: Subunit Resource Removed +msgid "printer-state-reasons.subunit-resource-removed" +msgstr "" + +#. TRANSLATORS: Subunit Thermistor Failure +msgid "printer-state-reasons.subunit-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Timing Failure +msgid "printer-state-reasons.subunit-timing-Failure" +msgstr "" + +#. TRANSLATORS: Subunit Turned Off +msgid "printer-state-reasons.subunit-turned-off" +msgstr "" + +#. TRANSLATORS: Subunit Turned On +msgid "printer-state-reasons.subunit-turned-on" +msgstr "" + +#. TRANSLATORS: Subunit Under Temperature +msgid "printer-state-reasons.subunit-under-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Failure +msgid "printer-state-reasons.subunit-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Storage +msgid "printer-state-reasons.subunit-unrecoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Warming Up +msgid "printer-state-reasons.subunit-warming-up" +msgstr "" + +#. TRANSLATORS: Printer stopped responding +msgid "printer-state-reasons.timed-out" +msgstr "" + +#. TRANSLATORS: Out of toner +msgid "printer-state-reasons.toner-empty" +msgstr "" + +#. TRANSLATORS: Toner low +msgid "printer-state-reasons.toner-low" +msgstr "" + +#. TRANSLATORS: Trimmer Added +msgid "printer-state-reasons.trimmer-added" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Empty +msgid "printer-state-reasons.trimmer-almost-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Full +msgid "printer-state-reasons.trimmer-almost-full" +msgstr "" + +#. TRANSLATORS: Trimmer At Limit +msgid "printer-state-reasons.trimmer-at-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Closed +msgid "printer-state-reasons.trimmer-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Configuration Change +msgid "printer-state-reasons.trimmer-configuration-change" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Closed +msgid "printer-state-reasons.trimmer-cover-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Open +msgid "printer-state-reasons.trimmer-cover-open" +msgstr "" + +#. TRANSLATORS: Trimmer Empty +msgid "printer-state-reasons.trimmer-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Full +msgid "printer-state-reasons.trimmer-full" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Closed +msgid "printer-state-reasons.trimmer-interlock-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Open +msgid "printer-state-reasons.trimmer-interlock-open" +msgstr "" + +#. TRANSLATORS: Trimmer Jam +msgid "printer-state-reasons.trimmer-jam" +msgstr "" + +#. TRANSLATORS: Trimmer Life Almost Over +msgid "printer-state-reasons.trimmer-life-almost-over" +msgstr "" + +#. TRANSLATORS: Trimmer Life Over +msgid "printer-state-reasons.trimmer-life-over" +msgstr "" + +#. TRANSLATORS: Trimmer Memory Exhausted +msgid "printer-state-reasons.trimmer-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Trimmer Missing +msgid "printer-state-reasons.trimmer-missing" +msgstr "" + +#. TRANSLATORS: Trimmer Motor Failure +msgid "printer-state-reasons.trimmer-motor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Near Limit +msgid "printer-state-reasons.trimmer-near-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Offline +msgid "printer-state-reasons.trimmer-offline" +msgstr "" + +#. TRANSLATORS: Trimmer Opened +msgid "printer-state-reasons.trimmer-opened" +msgstr "" + +#. TRANSLATORS: Trimmer Over Temperature +msgid "printer-state-reasons.trimmer-over-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Power Saver +msgid "printer-state-reasons.trimmer-power-saver" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Failure +msgid "printer-state-reasons.trimmer-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Storage +msgid "printer-state-reasons.trimmer-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Trimmer Removed +msgid "printer-state-reasons.trimmer-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Added +msgid "printer-state-reasons.trimmer-resource-added" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Removed +msgid "printer-state-reasons.trimmer-resource-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Thermistor Failure +msgid "printer-state-reasons.trimmer-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Timing Failure +msgid "printer-state-reasons.trimmer-timing-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Turned Off +msgid "printer-state-reasons.trimmer-turned-off" +msgstr "" + +#. TRANSLATORS: Trimmer Turned On +msgid "printer-state-reasons.trimmer-turned-on" +msgstr "" + +#. TRANSLATORS: Trimmer Under Temperature +msgid "printer-state-reasons.trimmer-under-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Failure +msgid "printer-state-reasons.trimmer-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Storage Error +msgid "printer-state-reasons.trimmer-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Trimmer Warming Up +msgid "printer-state-reasons.trimmer-warming-up" +msgstr "" + +#. TRANSLATORS: Unknown +msgid "printer-state-reasons.unknown" +msgstr "" + +#. TRANSLATORS: Wrapper Added +msgid "printer-state-reasons.wrapper-added" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Empty +msgid "printer-state-reasons.wrapper-almost-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Full +msgid "printer-state-reasons.wrapper-almost-full" +msgstr "" + +#. TRANSLATORS: Wrapper At Limit +msgid "printer-state-reasons.wrapper-at-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Closed +msgid "printer-state-reasons.wrapper-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Configuration Change +msgid "printer-state-reasons.wrapper-configuration-change" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Closed +msgid "printer-state-reasons.wrapper-cover-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Open +msgid "printer-state-reasons.wrapper-cover-open" +msgstr "" + +#. TRANSLATORS: Wrapper Empty +msgid "printer-state-reasons.wrapper-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Full +msgid "printer-state-reasons.wrapper-full" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Closed +msgid "printer-state-reasons.wrapper-interlock-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Open +msgid "printer-state-reasons.wrapper-interlock-open" +msgstr "" + +#. TRANSLATORS: Wrapper Jam +msgid "printer-state-reasons.wrapper-jam" +msgstr "" + +#. TRANSLATORS: Wrapper Life Almost Over +msgid "printer-state-reasons.wrapper-life-almost-over" +msgstr "" + +#. TRANSLATORS: Wrapper Life Over +msgid "printer-state-reasons.wrapper-life-over" +msgstr "" + +#. TRANSLATORS: Wrapper Memory Exhausted +msgid "printer-state-reasons.wrapper-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Wrapper Missing +msgid "printer-state-reasons.wrapper-missing" +msgstr "" + +#. TRANSLATORS: Wrapper Motor Failure +msgid "printer-state-reasons.wrapper-motor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Near Limit +msgid "printer-state-reasons.wrapper-near-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Offline +msgid "printer-state-reasons.wrapper-offline" +msgstr "" + +#. TRANSLATORS: Wrapper Opened +msgid "printer-state-reasons.wrapper-opened" +msgstr "" + +#. TRANSLATORS: Wrapper Over Temperature +msgid "printer-state-reasons.wrapper-over-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Power Saver +msgid "printer-state-reasons.wrapper-power-saver" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Failure +msgid "printer-state-reasons.wrapper-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Storage +msgid "printer-state-reasons.wrapper-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Wrapper Removed +msgid "printer-state-reasons.wrapper-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Added +msgid "printer-state-reasons.wrapper-resource-added" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Removed +msgid "printer-state-reasons.wrapper-resource-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Thermistor Failure +msgid "printer-state-reasons.wrapper-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Timing Failure +msgid "printer-state-reasons.wrapper-timing-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Turned Off +msgid "printer-state-reasons.wrapper-turned-off" +msgstr "" + +#. TRANSLATORS: Wrapper Turned On +msgid "printer-state-reasons.wrapper-turned-on" +msgstr "" + +#. TRANSLATORS: Wrapper Under Temperature +msgid "printer-state-reasons.wrapper-under-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Failure +msgid "printer-state-reasons.wrapper-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Storage Error +msgid "printer-state-reasons.wrapper-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Wrapper Warming Up +msgid "printer-state-reasons.wrapper-warming-up" +msgstr "" + +#. TRANSLATORS: Idle +msgid "printer-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "printer-state.4" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "printer-state.5" +msgstr "" + +#. TRANSLATORS: Printer Uptime +msgid "printer-up-time" +msgstr "" + +msgid "processing" +msgstr "обработка" + +#. TRANSLATORS: Proof Print +msgid "proof-print" +msgstr "" + +#. TRANSLATORS: Proof Print Copies +msgid "proof-print-copies" +msgstr "" + +#. TRANSLATORS: Punching +msgid "punching" +msgstr "" + +#. TRANSLATORS: Punching Locations +msgid "punching-locations" +msgstr "" + +#. TRANSLATORS: Punching Offset +msgid "punching-offset" +msgstr "" + +#. TRANSLATORS: Punch Edge +msgid "punching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "punching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "punching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "punching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "punching-reference-edge.top" +msgstr "" + +#, c-format +msgid "request id is %s-%d (%d file(s))" +msgstr "id запроса %s-%d (%d файл.)" + +msgid "request-id uses indefinite length" +msgstr "Для request-id длина не определена" + +#. TRANSLATORS: Requested Attributes +msgid "requested-attributes" +msgstr "" + +#. TRANSLATORS: Retry Interval +msgid "retry-interval" +msgstr "" + +#. TRANSLATORS: Retry Timeout +msgid "retry-time-out" +msgstr "" + +#. TRANSLATORS: Save Disposition +msgid "save-disposition" +msgstr "" + +#. TRANSLATORS: None +msgid "save-disposition.none" +msgstr "" + +#. TRANSLATORS: Print and Save +msgid "save-disposition.print-save" +msgstr "" + +#. TRANSLATORS: Save Only +msgid "save-disposition.save-only" +msgstr "" + +#. TRANSLATORS: Save Document Format +msgid "save-document-format" +msgstr "" + +#. TRANSLATORS: Save Info +msgid "save-info" +msgstr "" + +#. TRANSLATORS: Save Location +msgid "save-location" +msgstr "" + +#. TRANSLATORS: Save Name +msgid "save-name" +msgstr "" + +msgid "scheduler is not running" +msgstr "планировщик не запущен" + +msgid "scheduler is running" +msgstr "планировщик запущен" + +#. TRANSLATORS: Separator Sheets +msgid "separator-sheets" +msgstr "" + +#. TRANSLATORS: Type of Separator Sheets +msgid "separator-sheets-type" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "separator-sheets-type.both-sheets" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "separator-sheets-type.end-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "separator-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Slip Sheets +msgid "separator-sheets-type.slip-sheets" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "separator-sheets-type.start-sheet" +msgstr "" + +#. TRANSLATORS: 2-Sided Printing +msgid "sides" +msgstr "" + +#. TRANSLATORS: Off +msgid "sides.one-sided" +msgstr "" + +#. TRANSLATORS: On (Portrait) +msgid "sides.two-sided-long-edge" +msgstr "" + +#. TRANSLATORS: On (Landscape) +msgid "sides.two-sided-short-edge" +msgstr "" + +#, c-format +msgid "stat of %s failed: %s" +msgstr "не удалось установить %s: %s" + +msgid "status\t\tShow status of daemon and queue." +msgstr "статус\t\tпоказать статус демона и очереди" + +#. TRANSLATORS: Status Message +msgid "status-message" +msgstr "" + +#. TRANSLATORS: Staple +msgid "stitching" +msgstr "" + +#. TRANSLATORS: Stitching Angle +msgid "stitching-angle" +msgstr "" + +#. TRANSLATORS: Stitching Locations +msgid "stitching-locations" +msgstr "" + +#. TRANSLATORS: Staple Method +msgid "stitching-method" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "stitching-method.auto" +msgstr "" + +#. TRANSLATORS: Crimp +msgid "stitching-method.crimp" +msgstr "" + +#. TRANSLATORS: Wire +msgid "stitching-method.wire" +msgstr "" + +#. TRANSLATORS: Stitching Offset +msgid "stitching-offset" +msgstr "" + +#. TRANSLATORS: Staple Edge +msgid "stitching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "stitching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "stitching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "stitching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "stitching-reference-edge.top" +msgstr "" + +msgid "stopped" +msgstr "остановлен" + +#. TRANSLATORS: Subject +msgid "subject" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Attributes +msgid "subscription-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Subscription Description +msgid "subscription-privacy-attributes.subscription-description" +msgstr "" + +#. TRANSLATORS: Subscription Template +msgid "subscription-privacy-attributes.subscription-template" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Scope +msgid "subscription-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "subscription-privacy-scope.owner" +msgstr "" + +#, c-format +msgid "system default destination: %s" +msgstr "назначение системы по умолчанию: %s" + +#, c-format +msgid "system default destination: %s/%s" +msgstr "назначение системы по умолчанию: %s/%s" + +#. TRANSLATORS: T33 Subaddress +msgid "t33-subaddress" +msgstr "T33 Subaddress" + +#. TRANSLATORS: To Name +msgid "to-name" +msgstr "" + +#. TRANSLATORS: Transmission Status +msgid "transmission-status" +msgstr "" + +#. TRANSLATORS: Pending +msgid "transmission-status.3" +msgstr "" + +#. TRANSLATORS: Pending Retry +msgid "transmission-status.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "transmission-status.5" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "transmission-status.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "transmission-status.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "transmission-status.9" +msgstr "" + +#. TRANSLATORS: Cut +msgid "trimming" +msgstr "" + +#. TRANSLATORS: Cut Position +msgid "trimming-offset" +msgstr "" + +#. TRANSLATORS: Cut Edge +msgid "trimming-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "trimming-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "trimming-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "trimming-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "trimming-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Type of Cut +msgid "trimming-type" +msgstr "" + +#. TRANSLATORS: Draw Line +msgid "trimming-type.draw-line" +msgstr "" + +#. TRANSLATORS: Full +msgid "trimming-type.full" +msgstr "" + +#. TRANSLATORS: Partial +msgid "trimming-type.partial" +msgstr "" + +#. TRANSLATORS: Perforate +msgid "trimming-type.perforate" +msgstr "" + +#. TRANSLATORS: Score +msgid "trimming-type.score" +msgstr "" + +#. TRANSLATORS: Tab +msgid "trimming-type.tab" +msgstr "" + +#. TRANSLATORS: Cut After +msgid "trimming-when" +msgstr "" + +#. TRANSLATORS: Every Document +msgid "trimming-when.after-documents" +msgstr "" + +#. TRANSLATORS: Job +msgid "trimming-when.after-job" +msgstr "" + +#. TRANSLATORS: Every Set +msgid "trimming-when.after-sets" +msgstr "" + +#. TRANSLATORS: Every Page +msgid "trimming-when.after-sheets" +msgstr "" + +msgid "unknown" +msgstr "неизвестный" + +msgid "untitled" +msgstr "новый" + +msgid "variable-bindings uses indefinite length" +msgstr "Для variable-bindings длина не установлена" + +#. TRANSLATORS: X Accuracy +msgid "x-accuracy" +msgstr "" + +#. TRANSLATORS: X Dimension +msgid "x-dimension" +msgstr "" + +#. TRANSLATORS: X Offset +msgid "x-offset" +msgstr "" + +#. TRANSLATORS: X Origin +msgid "x-origin" +msgstr "" + +#. TRANSLATORS: Y Accuracy +msgid "y-accuracy" +msgstr "" + +#. TRANSLATORS: Y Dimension +msgid "y-dimension" +msgstr "" + +#. TRANSLATORS: Y Offset +msgid "y-offset" +msgstr "" + +#. TRANSLATORS: Y Origin +msgid "y-origin" +msgstr "" + +#. TRANSLATORS: Z Accuracy +msgid "z-accuracy" +msgstr "" + +#. TRANSLATORS: Z Dimension +msgid "z-dimension" +msgstr "" + +#. TRANSLATORS: Z Offset +msgid "z-offset" +msgstr "" + +msgid "{service_domain} Domain name" +msgstr "" + +msgid "{service_hostname} Fully-qualified domain name" +msgstr "" + +msgid "{service_name} Service instance name" +msgstr "" + +msgid "{service_port} Port number" +msgstr "" + +msgid "{service_regtype} DNS-SD registration type" +msgstr "" + +msgid "{service_scheme} URI scheme" +msgstr "" + +msgid "{service_uri} URI" +msgstr "" + +msgid "{txt_*} Value of TXT record key" +msgstr "" + +msgid "{} URI" +msgstr "" + +msgid "~/.cups/lpoptions file names default destination that does not exist." +msgstr "" + +#~ msgid "A Samba password is required to export printer drivers" +#~ msgstr "Для экспорта драйверов принтера требуется пароль Samba" + +#~ msgid "A Samba username is required to export printer drivers" +#~ msgstr "Для экспорта драйверов принтера требуется имя пользователя Samba" + +#~ msgid "Export Printers to Samba" +#~ msgstr "Экспортировать принтеры в Samba" + +#~ msgid "cupsctl: Cannot set Listen or Port directly." +#~ msgstr "cupsctl: Не удается задать Listen или Port." + +#~ msgid "lpadmin: Unable to open PPD file \"%s\" - %s" +#~ msgstr "lpadmin: Не удается открыть PPD-файл \"%s\" - %s" diff --git a/locale/cups_zh_CN.po b/locale/cups_zh_CN.po new file mode 100644 index 0000000..818df30 --- /dev/null +++ b/locale/cups_zh_CN.po @@ -0,0 +1,15064 @@ +# +# Chinese message catalog for CUPS. +# +# Copyright © 2007-2018 by Apple Inc. +# Copyright © 2005-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +# Mingcong Bai , 2016, 2017, 2018. +msgid "" +msgstr "" +"Project-Id-Version: CUPS 2.3\n" +"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n" +"POT-Creation-Date: 2019-08-23 09:13-0400\n" +"PO-Revision-Date: 2018-10-09 00:21-0500\n" +"Last-Translator: Mingcong Bai \n" +"Language-Team: Chinese (Simplified)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.0.9\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +msgid "\t\t(all)" +msgstr "\t\t(全部)" + +msgid "\t\t(none)" +msgstr "\t\t(无)" + +#, c-format +msgid "\t%d entries" +msgstr "\t%d 个条目" + +#, c-format +msgid "\t%s" +msgstr "\t%s" + +msgid "\tAfter fault: continue" +msgstr "\t发生错误时:继续" + +#, c-format +msgid "\tAlerts: %s" +msgstr "\t警告:%s" + +msgid "\tBanner required" +msgstr "\t需要横幅" + +msgid "\tCharset sets:" +msgstr "\t字符集:" + +msgid "\tConnection: direct" +msgstr "\t连接:直接" + +msgid "\tConnection: remote" +msgstr "\t连接:远程" + +msgid "\tContent types: any" +msgstr "\t内容类型:任意" + +msgid "\tDefault page size:" +msgstr "\t默认页面尺寸:" + +msgid "\tDefault pitch:" +msgstr "\t默认字间距:" + +msgid "\tDefault port settings:" +msgstr "\t默认端口设置:" + +#, c-format +msgid "\tDescription: %s" +msgstr "\t描述:%s" + +msgid "\tForm mounted:" +msgstr "\t已挂载表单:" + +msgid "\tForms allowed:" +msgstr "\t已允许表单:" + +#, c-format +msgid "\tInterface: %s.ppd" +msgstr "\t界面:%s.ppd" + +#, c-format +msgid "\tInterface: %s/ppd/%s.ppd" +msgstr "\t界面:%s/ppd/%s.ppd" + +#, c-format +msgid "\tLocation: %s" +msgstr "\t位置:%s" + +msgid "\tOn fault: no alert" +msgstr "\t发生错误时:无警告" + +msgid "\tPrinter types: unknown" +msgstr "\t打印机类型:未知" + +#, c-format +msgid "\tStatus: %s" +msgstr "\t状态:%s" + +msgid "\tUsers allowed:" +msgstr "\t允许的用户:" + +msgid "\tUsers denied:" +msgstr "\t拒绝的用户:" + +msgid "\tdaemon present" +msgstr "\t守护程序正在运行" + +msgid "\tno entries" +msgstr "\t无条目" + +#, c-format +msgid "\tprinter is on device '%s' speed -1" +msgstr "\t打印机存在于设备“%s”,速度为 -1" + +msgid "\tprinting is disabled" +msgstr "\t已禁用打印" + +msgid "\tprinting is enabled" +msgstr "\t已启用打印" + +#, c-format +msgid "\tqueued for %s" +msgstr "\t已为 %s 列队" + +msgid "\tqueuing is disabled" +msgstr "\t已禁用队列" + +msgid "\tqueuing is enabled" +msgstr "\t已启用队列" + +msgid "\treason unknown" +msgstr "\t未知原因" + +msgid "" +"\n" +" DETAILED CONFORMANCE TEST RESULTS" +msgstr "" +"\n" +" 详细兼容性测试结果" + +msgid " REF: Page 15, section 3.1." +msgstr " 引用:第 15 页,章节 3.1。" + +msgid " REF: Page 15, section 3.2." +msgstr " 引用:第 15 页,章节 3.2。" + +msgid " REF: Page 19, section 3.3." +msgstr " 引用:第 19 页,章节 3.3。" + +msgid " REF: Page 20, section 3.4." +msgstr " 引用:第 20 页,章节 3.4。" + +msgid " REF: Page 27, section 3.5." +msgstr " 引用:第 27 页,章节 3.5。" + +msgid " REF: Page 42, section 5.2." +msgstr " 引用:第 42 页,章节 5.2。" + +msgid " REF: Pages 16-17, section 3.2." +msgstr " 引用:第 16-17 页,章节 3.2。" + +msgid " REF: Pages 42-45, section 5.2." +msgstr " 引用:第 42-45 页,章节 5.2。" + +msgid " REF: Pages 45-46, section 5.2." +msgstr " 引用:第 45-46 页,章节 5.2。" + +msgid " REF: Pages 48-49, section 5.2." +msgstr " 引用:第 48-49 页,章节 5.2。" + +msgid " REF: Pages 52-54, section 5.2." +msgstr " 引用:第 52-54 页,章节 5.2。" + +#, c-format +msgid " %-39.39s %.0f bytes" +msgstr " %-39.39s %.0f 字节" + +#, c-format +msgid " PASS Default%s" +msgstr " 通过 Default%s" + +msgid " PASS DefaultImageableArea" +msgstr " 通过 DefaultImageableArea" + +msgid " PASS DefaultPaperDimension" +msgstr " 通过 DefaultPaperDimension" + +msgid " PASS FileVersion" +msgstr " 通过 FileVersion" + +msgid " PASS FormatVersion" +msgstr " 通过 FormatVersion" + +msgid " PASS LanguageEncoding" +msgstr " 通过 LanguageEncoding" + +msgid " PASS LanguageVersion" +msgstr " 通过 LanguageVersion" + +msgid " PASS Manufacturer" +msgstr " 通过 Manufacturer" + +msgid " PASS ModelName" +msgstr " 通过 ModelName" + +msgid " PASS NickName" +msgstr " 通过 NickName" + +msgid " PASS PCFileName" +msgstr " 通过 PCFileName" + +msgid " PASS PSVersion" +msgstr " 通过 PSVersion" + +msgid " PASS PageRegion" +msgstr " 通过 PageRegion" + +msgid " PASS PageSize" +msgstr " 通过 PageSize" + +msgid " PASS Product" +msgstr " 通过 Product" + +msgid " PASS ShortNickName" +msgstr " 通过 ShortNickName" + +#, c-format +msgid " WARN %s has no corresponding options." +msgstr " 警告 %s 没有响应选项。" + +#, c-format +msgid "" +" WARN %s shares a common prefix with %s\n" +" REF: Page 15, section 3.2." +msgstr "" +" 警告 %s 和 %s 共享前缀\n" +" 引用:第 15 页,章节 3.2。" + +#, c-format +msgid "" +" WARN Duplex option keyword %s may not work as expected and should " +"be named Duplex.\n" +" REF: Page 122, section 5.17" +msgstr "" +" 警告 Duplex 选项关键词 %s 可能不能正常工作,且应命名为 Duplex。\n" +" 引用:第 122 页,章节 5.17" + +msgid " WARN File contains a mix of CR, LF, and CR LF line endings." +msgstr " 警告 文件中存在 CR,LF 和 CR LF 行末混用。" + +msgid "" +" WARN LanguageEncoding required by PPD 4.3 spec.\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" 警告 PPD 4.3 规范需要 LanguageEncoding。\n" +" 引用:第 56-57 页,章节 5.3。" + +#, c-format +msgid " WARN Line %d only contains whitespace." +msgstr " 警告 行 %d 仅包含空白。" + +msgid "" +" WARN Manufacturer required by PPD 4.3 spec.\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" 警告 PPD 4.3 规范需要 Manufacturer。\n" +" 引用:第 58-59 页,章节 5.3。" + +msgid "" +" WARN Non-Windows PPD files should use lines ending with only LF, " +"not CR LF." +msgstr " 警告 非 Windows PPD 文件应该使用 LF 行末而不是 CR LF。" + +#, c-format +msgid "" +" WARN Obsolete PPD version %.1f.\n" +" REF: Page 42, section 5.2." +msgstr "" +" 警告 过时的 PPD 版本 %.1f。\n" +" 引用:第 42 页,章节 5.2。" + +msgid "" +" WARN PCFileName longer than 8.3 in violation of PPD spec.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" 警告 PCFileName 超过 8.3 长度,不符合 PPD 规范。\n" +" REF:第 61-62 页,章节 5.3。" + +msgid "" +" WARN PCFileName should contain a unique filename.\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" 警告 PCFileName 应包含特殊文件名。\n" +" 引用:第 61-62 页,章节 5.3。" + +msgid "" +" WARN Protocols contains PJL but JCL attributes are not set.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" 警告 协议包含 PJL 但未设置 JCL 属性。\n" +" 引用:第 78-79 页,章节 5.7。" + +msgid "" +" WARN Protocols contains both PJL and BCP; expected TBCP.\n" +" REF: Pages 78-79, section 5.7." +msgstr "" +" 警告 协议包含 PJL 及 BCP;预期 TBCP。\n" +" 引用:第 78-79 页,章节 5.7。" + +msgid "" +" WARN ShortNickName required by PPD 4.3 spec.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" 警告 PPD 4.3 规范需要 ShortNickName。\n" +" 引用:第 64-65 页,章节 5.3。" + +#, c-format +msgid "" +" %s \"%s %s\" conflicts with \"%s %s\"\n" +" (constraint=\"%s %s %s %s\")." +msgstr "" +" %s “%s %s”与“%s %s”冲突\n" +" (限制=“%s %s %s %s”)。" + +#, c-format +msgid " %s %s %s does not exist." +msgstr " %s %s %s 不存在。" + +#, c-format +msgid " %s %s file \"%s\" has the wrong capitalization." +msgstr " %s %s 文件“%s”包含错误大小写。" + +#, c-format +msgid "" +" %s Bad %s choice %s.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s 无效的 %s 选项 %s。\n" +" 引用:第 122 页,章节 5.17" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s, choice %s." +msgstr " %1$s 无效的选项 %3$s 的 UTF-8“%2$s”字串翻译,选择 %4$s。" + +#, c-format +msgid " %s Bad UTF-8 \"%s\" translation string for option %s." +msgstr " %1$s 无效的选项 %3$s 的 UTF-8“%2$s”字串翻译。" + +#, c-format +msgid " %s Bad cupsFilter value \"%s\"." +msgstr " %s 无效的 cupsFilter 值“%s”。" + +#, c-format +msgid " %s Bad cupsFilter2 value \"%s\"." +msgstr " %s 无效的 cupsFilter2 值“%s”。" + +#, c-format +msgid " %s Bad cupsICCProfile %s." +msgstr " %s 无效 cupsICCProfile %s。" + +#, c-format +msgid " %s Bad cupsPreFilter value \"%s\"." +msgstr " %s 无效的 cupsPreFilter 值“%s”。" + +#, c-format +msgid " %s Bad cupsUIConstraints %s: \"%s\"" +msgstr " %s 无效 cupsUIConstraints %s:“%s”" + +#, c-format +msgid " %s Bad language \"%s\"." +msgstr " %s 无效语言“%s”。" + +#, c-format +msgid " %s Bad permissions on %s file \"%s\"." +msgstr " %s %s 文件“%s”存在无效权限。" + +#, c-format +msgid " %s Bad spelling of %s - should be %s." +msgstr " %s %s 拼写错误 — 应为 %s。" + +#, c-format +msgid " %s Cannot provide both APScanAppPath and APScanAppBundleID." +msgstr " %s 无法同时提供 APScanAppPath 及 APScanAppBundleID。" + +#, c-format +msgid " %s Default choices conflicting." +msgstr " %s 默认选择相互冲突。" + +#, c-format +msgid " %s Empty cupsUIConstraints %s" +msgstr " %s 空白 cupsUIConstraints %s" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s, choice %s." +msgstr " %1$s 选项 %3$s 缺少“%2$s”翻译字串,选择 %4$s。" + +#, c-format +msgid " %s Missing \"%s\" translation string for option %s." +msgstr " %1$s 选项 %3$s 缺少“%2$s”翻译字串。" + +#, c-format +msgid " %s Missing %s file \"%s\"." +msgstr " %s 缺少 %s 文件“%s”。" + +#, c-format +msgid "" +" %s Missing REQUIRED PageRegion option.\n" +" REF: Page 100, section 5.14." +msgstr "" +" %s 缺少必须的 PageRegion 选项。\n" +" 引用:第 100 页,章节 5.14。" + +#, c-format +msgid "" +" %s Missing REQUIRED PageSize option.\n" +" REF: Page 99, section 5.14." +msgstr "" +" %s 缺少必须的 PageSize 选项。\n" +" 引用:第 99 页,章节 5.14。" + +#, c-format +msgid " %s Missing choice *%s %s in UIConstraints \"*%s %s *%s %s\"." +msgstr "" +" %1$s UIConstraints “*%4$s %5$s *%6$s %7$s”中缺少选择 %2$s %3$s。" + +#, c-format +msgid " %s Missing choice *%s %s in cupsUIConstraints %s: \"%s\"" +msgstr " %1$s cupsUIConstraints %4$s:“%5$s” 中缺少选择 *%2$s %3$s" + +#, c-format +msgid " %s Missing cupsUIResolver %s" +msgstr " %s 缺少 cupsUIResolver %s" + +#, c-format +msgid " %s Missing option %s in UIConstraints \"*%s %s *%s %s\"." +msgstr " %1$s UIConstraints “*%3$s %4$s *%5$s %6$s” 中缺少选项 %2$s。" + +#, c-format +msgid " %s Missing option %s in cupsUIConstraints %s: \"%s\"" +msgstr " %1$s cupsUIConstraints %3$s:“%4$s” 中缺少选项 %2$s" + +#, c-format +msgid " %s No base translation \"%s\" is included in file." +msgstr " %s 文件中无基础翻译“%s”。" + +#, c-format +msgid "" +" %s REQUIRED %s does not define choice None.\n" +" REF: Page 122, section 5.17" +msgstr "" +" %s 必须的 %s 未定义空选项。\n" +" 引用:第 122 页,章节 5.17" + +#, c-format +msgid " %s Size \"%s\" defined for %s but not for %s." +msgstr " %1$s 已为 %3$s 定义尺寸“%2$s”,但未为 %4$s 定义。" + +#, c-format +msgid " %s Size \"%s\" has unexpected dimensions (%gx%g)." +msgstr " %s 大小“%s”包含未预期尺寸 (%gx%g)。" + +#, c-format +msgid " %s Size \"%s\" should be \"%s\"." +msgstr " %s 大小“%s”应为“%s”。" + +#, c-format +msgid " %s Size \"%s\" should be the Adobe standard name \"%s\"." +msgstr " %s 大小“%s”应为 Adobe 标准名称“%s”。" + +#, c-format +msgid " %s cupsICCProfile %s hash value collides with %s." +msgstr " %s cupsICCProfile %s 包含与 %s 冲突的哈希值。" + +#, c-format +msgid " %s cupsUIResolver %s causes a loop." +msgstr " %s cupsUIResolver %s 导致循环。" + +#, c-format +msgid "" +" %s cupsUIResolver %s does not list at least two different options." +msgstr " %s cupsUIResolver %s 未列出至少两个不同的选项。" + +#, c-format +msgid "" +" **FAIL** %s must be 1284DeviceID\n" +" REF: Page 72, section 5.5" +msgstr "" +" **失败** %s 必须为 1284DeviceID\n" +" 引用:第 72 页,章节 5.5" + +#, c-format +msgid "" +" **FAIL** Bad Default%s %s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **失败** 无效的 Default%s 值 %s\n" +" 引用:第 40 页,章节 4.5。" + +#, c-format +msgid "" +" **FAIL** Bad DefaultImageableArea %s\n" +" REF: Page 102, section 5.15." +msgstr "" +" **失败** 无效的 DefaultImageableArea 值 %s\n" +" 引用:第 102 页,章节 5.15。" + +#, c-format +msgid "" +" **FAIL** Bad DefaultPaperDimension %s\n" +" REF: Page 103, section 5.15." +msgstr "" +" **失败** 无效的 DefaultPaperDimension 值 %s\n" +" 引用:第 103 页,章节 5.15。" + +#, c-format +msgid "" +" **FAIL** Bad FileVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **失败** 无效的 FileVersion 值“%s”\n" +" 引用:第 56 页,章节 5.3。" + +#, c-format +msgid "" +" **FAIL** Bad FormatVersion \"%s\"\n" +" REF: Page 56, section 5.3." +msgstr "" +" **失败** 无效的 FormatVersion 值“%s”\n" +" 引用:第 56 页,章节 5.3。" + +msgid "" +" **FAIL** Bad JobPatchFile attribute in file\n" +" REF: Page 24, section 3.4." +msgstr "" +" **失败** 文件中包含无效的 JobPatchFile 属性\n" +" 引用:第 24 页,章节 3.4。" + +#, c-format +msgid " **FAIL** Bad LanguageEncoding %s - must be ISOLatin1." +msgstr " **失败** 无效的 LanguageEncoding 值 %s — 值必须为 ISOLatin1." + +#, c-format +msgid " **FAIL** Bad LanguageVersion %s - must be English." +msgstr " **失败** 无效的 LanguageVersion 值 %s — 值必须为 English." + +#, c-format +msgid "" +" **FAIL** Bad Manufacturer (should be \"%s\")\n" +" REF: Page 211, table D.1." +msgstr "" +" **失败** 无效的 Manufacturer 值(应为“%s”)\n" +" 引用:第 211 页,表格 D.1。" + +#, c-format +msgid "" +" **FAIL** Bad ModelName - \"%c\" not allowed in string.\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **失败** 无效的 ModelName 值 — 字串不应包含“%c”。\n" +" 引用:第 59-60 页,章节 5.3。" + +msgid "" +" **FAIL** Bad PSVersion - not \"(string) int\".\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **失败** 无效的 PSVersion 值 — 赋值非“(string) int”。\n" +" 引用:第 62-64 页,章节 5.3。" + +msgid "" +" **FAIL** Bad Product - not \"(string)\".\n" +" REF: Page 62, section 5.3." +msgstr "" +" **失败** 无效的 Product 值 — 赋值非“(string)”。\n" +" 引用:第 62 页,章节 5.3。" + +msgid "" +" **FAIL** Bad ShortNickName - longer than 31 chars.\n" +" REF: Pages 64-65, section 5.3." +msgstr "" +" **失败** 无效的 ShortNickName 值 — 长度超过 31 个字符。\n" +" 引用:第 64-65 页,章节 5.3。" + +#, c-format +msgid "" +" **FAIL** Bad option %s choice %s\n" +" REF: Page 84, section 5.9" +msgstr "" +" **失败** 无效的选项 %s 选择 %s。\n" +" 引用:第 84 页,章节 5.9" + +#, c-format +msgid " **FAIL** Default option code cannot be interpreted: %s" +msgstr " **失败** 无法解析默认选项代码:%s" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s choice %s contains " +"8-bit characters." +msgstr " **失败** 选项 %s 选择 %s 的默认翻译字串包含 8 位字符。" + +#, c-format +msgid "" +" **FAIL** Default translation string for option %s contains 8-bit " +"characters." +msgstr " **失败** 选项 %s 的默认翻译字串包含 8 位字符。" + +#, c-format +msgid " **FAIL** Group names %s and %s differ only by case." +msgstr " **失败** 组名 %s 及 %s 仅包含大小写区别。" + +#, c-format +msgid " **FAIL** Multiple occurrences of option %s choice name %s." +msgstr " **失败** 选项 %s 的选择名称 %s 多次出现。" + +#, c-format +msgid " **FAIL** Option %s choice names %s and %s differ only by case." +msgstr " **失败** 选项 %s 的选择名称 %s 及 %s 仅包含大小写区别。" + +#, c-format +msgid " **FAIL** Option names %s and %s differ only by case." +msgstr " **失败** 选项名称 %s 及 %s 仅包含大小写区别。" + +#, c-format +msgid "" +" **FAIL** REQUIRED Default%s\n" +" REF: Page 40, section 4.5." +msgstr "" +" **失败** 需要 Default%s\n" +" 引用:第 40 页,章节 4.5。" + +msgid "" +" **FAIL** REQUIRED DefaultImageableArea\n" +" REF: Page 102, section 5.15." +msgstr "" +" **失败** 需要 DefaultImageableArea\n" +" 引用:第 102 页,章节 5.15。" + +msgid "" +" **FAIL** REQUIRED DefaultPaperDimension\n" +" REF: Page 103, section 5.15." +msgstr "" +" **失败** 需要 DefaultPaperDimension\n" +" 引用:第 103 页,章节 5.15。" + +msgid "" +" **FAIL** REQUIRED FileVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **失败** 需要 FileVersion\n" +" 引用:第 56 页,章节 5.3。" + +msgid "" +" **FAIL** REQUIRED FormatVersion\n" +" REF: Page 56, section 5.3." +msgstr "" +" **失败** 需要 FormatVersion\n" +" 引用:第 56 页,章节 5.3。" + +#, c-format +msgid "" +" **FAIL** REQUIRED ImageableArea for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 102, section 5.15." +msgstr "" +" **失败** 需要为 PageSize 值 %s 定义 ImageableArea\n" +" 引用:第 41 页,章节 5。\n" +" 引用:第 102 页,章节 5.15。" + +msgid "" +" **FAIL** REQUIRED LanguageEncoding\n" +" REF: Pages 56-57, section 5.3." +msgstr "" +" **失败** 需要 LanguageEncoding\n" +" 引用:第 56-57 页,章节 5.3。" + +msgid "" +" **FAIL** REQUIRED LanguageVersion\n" +" REF: Pages 57-58, section 5.3." +msgstr "" +" **失败** 需要 LanguageVersion\n" +" 引用:第 57-58 页,章节 5.3。" + +msgid "" +" **FAIL** REQUIRED Manufacturer\n" +" REF: Pages 58-59, section 5.3." +msgstr "" +" **失败** 需要 Manufacturer\n" +" 引用:第 58-59 页,章节 5.3。" + +msgid "" +" **FAIL** REQUIRED ModelName\n" +" REF: Pages 59-60, section 5.3." +msgstr "" +" **失败** 需要 ModelName\n" +" 引用:第 59-60 页,章节 5.3。" + +msgid "" +" **FAIL** REQUIRED NickName\n" +" REF: Page 60, section 5.3." +msgstr "" +" **失败** 需要 NickName\n" +" 引用:第 60 页,章节 5.3。" + +msgid "" +" **FAIL** REQUIRED PCFileName\n" +" REF: Pages 61-62, section 5.3." +msgstr "" +" **失败** 需要 PCFileName\n" +" 引用:第 61-62 页,章节 5.3。" + +msgid "" +" **FAIL** REQUIRED PSVersion\n" +" REF: Pages 62-64, section 5.3." +msgstr "" +" **失败** 需要 PSVersion\n" +" 引用:第 62-64 页,章节 5.3。" + +msgid "" +" **FAIL** REQUIRED PageRegion\n" +" REF: Page 100, section 5.14." +msgstr "" +" **失败** 需要 PageRegion\n" +" 引用:第 100 页,章节 5.14。" + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Page 41, section 5.\n" +" REF: Page 99, section 5.14." +msgstr "" +" **失败** 需要 PageSize\n" +" 引用:第 41 页,章节 5。\n" +" 引用:第 99 页,章节 5.14。" + +msgid "" +" **FAIL** REQUIRED PageSize\n" +" REF: Pages 99-100, section 5.14." +msgstr "" +" **失败** 需要 PageSize\n" +" 引用:第 99-100 页,章节 5.14。" + +#, c-format +msgid "" +" **FAIL** REQUIRED PaperDimension for PageSize %s\n" +" REF: Page 41, section 5.\n" +" REF: Page 103, section 5.15." +msgstr "" +" **失败** 需要为 PageSize 值 %s 定义 PaperDimension\n" +" 引用:第 41 页,章节 5。\n" +" 引用:第 103 页,章节 5.15。" + +msgid "" +" **FAIL** REQUIRED Product\n" +" REF: Page 62, section 5.3." +msgstr "" +" **失败** 需要 Product\n" +" 引用:第 62 页,章节 5.3。" + +msgid "" +" **FAIL** REQUIRED ShortNickName\n" +" REF: Page 64-65, section 5.3." +msgstr "" +" **失败** 需要 ShortNickName\n" +" 引用:第 64-65 页,章节 5.3。" + +#, c-format +msgid " **FAIL** Unable to open PPD file - %s on line %d." +msgstr " **失败** 无法打开 PPD 文件 — 行 %2$d 上的 %1$s。" + +#, c-format +msgid " %d ERRORS FOUND" +msgstr " 发现 %d 个错误" + +msgid " NO ERRORS FOUND" +msgstr " 未发现错误" + +msgid " --cr End lines with CR (Mac OS 9)." +msgstr " --cr 使用 CR 行末 (Mac OS 9)。" + +msgid " --crlf End lines with CR + LF (Windows)." +msgstr " --crlf 使用 CR + LF 行末 (Windows)。" + +msgid " --lf End lines with LF (UNIX/Linux/macOS)." +msgstr " --lf 使用 LF 行末(UNIX/Linux/macOS)。" + +msgid " --list-filters List filters that will be used." +msgstr " --list-filters 列出要使用的滤镜。" + +msgid " -D Remove the input file when finished." +msgstr " -D 完成后删除输入文件。" + +msgid " -D name=value Set named variable to value." +msgstr " -D 名称=赋值 为指定变量赋值。" + +msgid " -I include-dir Add include directory to search path." +msgstr " -I include-dir 将引用目录加入到搜索路径。" + +msgid " -P filename.ppd Set PPD file." +msgstr " -P filename.ppd 设置 PPD 文件。" + +msgid " -U username Specify username." +msgstr " -U 用户名 指定用户名。" + +msgid " -c catalog.po Load the specified message catalog." +msgstr " -c catalog.po 载入指定的消息索引。" + +msgid " -c cups-files.conf Set cups-files.conf file to use." +msgstr " -c cups-files.conf 设置要使用的 cups-files.conf 文件。" + +msgid " -d output-dir Specify the output directory." +msgstr " -d output-dir 指定输出目录。" + +msgid " -d printer Use the named printer." +msgstr " -d 打印机 使用指定的打印机。" + +msgid " -e Use every filter from the PPD file." +msgstr " -e 使用来自 PPD 文件的所有滤镜。" + +msgid " -i mime/type Set input MIME type (otherwise auto-typed)." +msgstr " -i mime/type 设置输入的 MIME 类型(否则自动探测类型)。" + +msgid "" +" -j job-id[,N] Filter file N from the specified job (default is " +"file 1)." +msgstr " -j job-id[,N] 从指定任务中过滤文件 N(默认为文件 1)。" + +msgid " -l lang[,lang,...] Specify the output language(s) (locale)." +msgstr " -l lang[,lang,...] 指定输出语言(地域配置)。" + +msgid " -m Use the ModelName value as the filename." +msgstr " -m 将 ModelName 值作为文件名。" + +msgid "" +" -m mime/type Set output MIME type (otherwise application/pdf)." +msgstr "" +" -m mime/type 设置输出 MIME 类型(缺省为 application/pdf)。" + +msgid " -n copies Set number of copies." +msgstr " -n 副本数 设置副本数量。" + +msgid "" +" -o filename.drv Set driver information file (otherwise ppdi.drv)." +msgstr " -o filename.drv 指定驱动信息文件(缺省为 ppdi.drv)。" + +msgid " -o filename.ppd[.gz] Set output file (otherwise stdout)." +msgstr " -o filename.ppd[.gz] 设置输出文件(缺省为标准输出)。" + +msgid " -o name=value Set option(s)." +msgstr " -o 名称=赋值 设置选项。" + +msgid " -p filename.ppd Set PPD file." +msgstr " -p filename.ppd 指定 PPD 文件。" + +msgid " -t Test PPDs instead of generating them." +msgstr " -t 测试而非生成 PPD 文件。" + +msgid " -t title Set title." +msgstr " -t 标题 设置标题。" + +msgid " -u Remove the PPD file when finished." +msgstr " -u 完成后删除 PPD 文件。" + +msgid " -v Be verbose." +msgstr " -v 开启详细输出。" + +msgid " -z Compress PPD files using GNU zip." +msgstr " -z 使用 GNU zip 压缩 PPD 文件。" + +msgid " FAIL" +msgstr " 失败" + +msgid " PASS" +msgstr " 通过" + +msgid "! expression Unary NOT of expression" +msgstr "" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - %s (RFC 8011 section 5.1.6)." +msgstr "“%s”:无效的 URI 值“%s”— %s(RFC 8011 章节 5.1.6)。" + +#, c-format +msgid "\"%s\": Bad URI value \"%s\" - bad length %d (RFC 8011 section 5.1.6)." +msgstr "“%s”:无效的 URI 值“%s”— 无效长度 %d(RFC 8011 章节 5.1.6)。" + +#, c-format +msgid "\"%s\": Bad attribute name - bad length %d (RFC 8011 section 5.1.4)." +msgstr "“%s”:无效的属性名称 — 无效长度 %d(RFC 8011 章节 5.1.4)。" + +#, c-format +msgid "" +"\"%s\": Bad attribute name - invalid character (RFC 8011 section 5.1.4)." +msgstr "“%s”:无效的属性名称 — 无效字符(RFC 8011 章节 5.1.4)。" + +#, c-format +msgid "\"%s\": Bad boolean value %d (RFC 8011 section 5.1.21)." +msgstr "“%s”:无效的布里值 %d(RFC 8011 章节 5.1.21)。" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad characters (RFC 8011 section 5.1.8)." +msgstr "“%s”:无效的字符集值“%s”— 无效字符(RFC 8011 章节 5.1.21)。" + +#, c-format +msgid "" +"\"%s\": Bad charset value \"%s\" - bad length %d (RFC 8011 section 5.1.8)." +msgstr "“%s”:无效的字符集值“%s”— 无效长度 %d(RFC 8011 章节 5.1.21)。" + +#, c-format +msgid "\"%s\": Bad dateTime UTC hours %u (RFC 8011 section 5.1.15)." +msgstr "“%s”:无效的 dateTime UTC 小时值 %u(RFC 8011 章节 5.1.15)。" + +#, c-format +msgid "\"%s\": Bad dateTime UTC minutes %u (RFC 8011 section 5.1.15)." +msgstr "“%s”:无效的 dateTime UTC 分钟值 %u(RFC 8011 章节 5.1.15)。" + +#, c-format +msgid "\"%s\": Bad dateTime UTC sign '%c' (RFC 8011 section 5.1.15)." +msgstr "“%s”:无效的 dateTime UTC 符号值“%c”(RFC 8011 章节 5.1.15)。" + +#, c-format +msgid "\"%s\": Bad dateTime day %u (RFC 8011 section 5.1.15)." +msgstr "“%s”:无效的 dateTime 日期值 %u(RFC 8011 章节 5.1.15)。" + +#, c-format +msgid "\"%s\": Bad dateTime deciseconds %u (RFC 8011 section 5.1.15)." +msgstr "“%s”:无效的 dateTime 十分之一秒值 %u(RFC 8011 章节 5.1.15)。" + +#, c-format +msgid "\"%s\": Bad dateTime hours %u (RFC 8011 section 5.1.15)." +msgstr "“%s”:无效的 dateTime 小时值 %u(RFC 8011 章节 5.1.15)。" + +#, c-format +msgid "\"%s\": Bad dateTime minutes %u (RFC 8011 section 5.1.15)." +msgstr "“%s”:无效的 dateTime 分钟值 %u(RFC 8011 章节 5.1.15)。" + +#, c-format +msgid "\"%s\": Bad dateTime month %u (RFC 8011 section 5.1.15)." +msgstr "“%s”:无效的 dateTime 月份值 %u(RFC 8011 章节 5.1.15)。" + +#, c-format +msgid "\"%s\": Bad dateTime seconds %u (RFC 8011 section 5.1.15)." +msgstr "“%s”:无效的 dateTime 秒值 %u(RFC 8011 章节 5.1.15)。" + +#, c-format +msgid "\"%s\": Bad enum value %d - out of range (RFC 8011 section 5.1.5)." +msgstr "“%s”:无效的枚举值 %d - 超出范围(RFC 8011 章节 5.1.5)。" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - bad length %d (RFC 8011 section 5.1.4)." +msgstr "“%s”:无效的关键字值“%s”— 无效长度 %d(RFC 8011 章节 5.1.4)。" + +#, c-format +msgid "" +"\"%s\": Bad keyword value \"%s\" - invalid character (RFC 8011 section " +"5.1.4)." +msgstr "“%s”:无效的关键字值“%s”— 无效字符(RFC 8011 章节 5.1.4)。" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad characters (RFC 8011 section " +"5.1.10)." +msgstr "“%s”:无效的 mimeMediaType 值“%s”— 无效字符(RFC 8011 章节 5.1.10)。" + +#, c-format +msgid "" +"\"%s\": Bad mimeMediaType value \"%s\" - bad length %d (RFC 8011 section " +"5.1.10)." +msgstr "" +"“%s”:无效的 mimeMediaType 值“%s”— 无效长度 %d(RFC 8011 章节 5.1.10)。" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.3)." +msgstr "“%s”:无效的名称值“%s”— 无效 UTF-8 序列(RFC 8011 章节 5.1.3)。" + +#, c-format +msgid "" +"\"%s\": Bad name value \"%s\" - bad control character (PWG 5100.14 section " +"8.1)." +msgstr "“%s”:无效的名称值“%s”— 无效控制字符(PWG 5100.14 章节 8.1)。" + +#, c-format +msgid "\"%s\": Bad name value \"%s\" - bad length %d (RFC 8011 section 5.1.3)." +msgstr "“%s”:无效的名称值“%s”— 无效长度 %d(RFC 8011 章节 5.1.3)。" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad characters (RFC 8011 section " +"5.1.9)." +msgstr "“%s”:无效的 naturalLanguage 值“%s”— 无效字符(RFC 8011 章节 5.1.9)。" + +#, c-format +msgid "" +"\"%s\": Bad naturalLanguage value \"%s\" - bad length %d (RFC 8011 section " +"5.1.9)." +msgstr "" +"“%s”:无效的 naturalLanguage 值“%s”— 无效长度 %d(RFC 8011 章节 5.1.9)。" + +#, c-format +msgid "" +"\"%s\": Bad octetString value - bad length %d (RFC 8011 section 5.1.20)." +msgstr "“%s”:无效的 octetString 值 — 无效长度 %d(RFC 8011 章节 5.1.20)。" + +#, c-format +msgid "" +"\"%s\": Bad rangeOfInteger value %d-%d - lower greater than upper (RFC 8011 " +"section 5.1.14)." +msgstr "" +"“%s”:无效的 rangeOfInteger 值 %d-%d — 整数下限大于上限(RFC 8011 章节 " +"5.1.14)。" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - bad units value (RFC 8011 section " +"5.1.16)." +msgstr "“%s”:无效的分辨率值 %dx%d%s — 无效单位值(RFC 8011 章节 5.1.16)。" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - cross feed resolution must be " +"positive (RFC 8011 section 5.1.16)." +msgstr "" +"“%s”:无效的分辨率值 %dx%d%s — 横截分辨率必须为正数(RFC 8011 章节 5.1.16)。" + +#, c-format +msgid "" +"\"%s\": Bad resolution value %dx%d%s - feed resolution must be positive (RFC " +"8011 section 5.1.16)." +msgstr "" +"“%s”:无效的分辨率值 %dx%d%s — 顺向分辨率必须为正数(RFC 8011 章节 5.1.16)。" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad UTF-8 sequence (RFC 8011 section 5.1.2)." +msgstr "“%s”:无效的文本值“%s”— 无效 UTF-8 序列(RFC 8011 章节 5.1.2)。" + +#, c-format +msgid "" +"\"%s\": Bad text value \"%s\" - bad control character (PWG 5100.14 section " +"8.3)." +msgstr "“%s”:无效的文本值“%s”— 无效控制字符(PWG 5100.14 章节 8.3)。" + +#, c-format +msgid "\"%s\": Bad text value \"%s\" - bad length %d (RFC 8011 section 5.1.2)." +msgstr "“%s”:无效的文本值“%s”— 无效长度 %d(RFC 8011 章节 5.1.2)。" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad characters (RFC 8011 section 5.1.7)." +msgstr "“%s”:无效的 uriScheme 值“%s”— 无效字符(RFC 8011 章节 5.1.7)。" + +#, c-format +msgid "" +"\"%s\": Bad uriScheme value \"%s\" - bad length %d (RFC 8011 section 5.1.7)." +msgstr "“%s”:无效的 uriScheme 值“%s”— 无效长度 %d(RFC 8011 章节 5.1.7)。" + +msgid "\"requesting-user-name\" attribute in wrong group." +msgstr "“requesting-user-name”属性组不正确。" + +msgid "\"requesting-user-name\" attribute with wrong syntax." +msgstr "“requesting-user-name”属性组包含错误的语法。" + +#, c-format +msgid "%-7s %-7.7s %-7d %-31.31s %.0f bytes" +msgstr "%-7s %-7.7s %-7d %-31.31s %.0f 字节" + +#, c-format +msgid "%d x %d mm" +msgstr "%d x %d 毫米" + +#, c-format +msgid "%g x %g \"" +msgstr "%g x %g \"" + +#, c-format +msgid "%s (%s)" +msgstr "%s (%s)" + +#, c-format +msgid "%s (%s, %s)" +msgstr "%s (%s, %s)" + +#, c-format +msgid "%s (Borderless)" +msgstr "%s(无边界)" + +#, c-format +msgid "%s (Borderless, %s)" +msgstr "%s(无边界,%s)" + +#, c-format +msgid "%s (Borderless, %s, %s)" +msgstr "%s(无边界,%s,%s)" + +#, c-format +msgid "%s accepting requests since %s" +msgstr "%s 自从 %s 开始接受请求" + +#, c-format +msgid "%s cannot be changed." +msgstr "无法更改 %s。" + +#, c-format +msgid "%s is not implemented by the CUPS version of lpc." +msgstr "%s 未在 CUPS 版本的 lpc 中实现。" + +#, c-format +msgid "%s is not ready" +msgstr "%s 未就绪" + +#, c-format +msgid "%s is ready" +msgstr "%s 就绪" + +#, c-format +msgid "%s is ready and printing" +msgstr "%s 就绪且正在打印" + +#, c-format +msgid "%s job-id user title copies options [file]" +msgstr "%s job-id 用户标题副本选项 [文件]" + +#, c-format +msgid "%s not accepting requests since %s -" +msgstr "%s 自从 %s 不再接受请求" + +#, c-format +msgid "%s not supported." +msgstr "%s 不被支持。" + +#, c-format +msgid "%s/%s accepting requests since %s" +msgstr "%s/%s 自从 %s 开始接受请求" + +#, c-format +msgid "%s/%s not accepting requests since %s -" +msgstr "%s/%s 自从 %s 不再接受请求" + +#, c-format +msgid "%s: %-33.33s [job %d localhost]" +msgstr "%s:%-33.33s [任务 %d localhost]" + +#. TRANSLATORS: Message is "subject: error" +#, c-format +msgid "%s: %s" +msgstr "%s:%s" + +#, c-format +msgid "%s: %s failed: %s" +msgstr "%s:%s 失败:%s" + +#, c-format +msgid "%s: Bad printer URI \"%s\"." +msgstr "%s:无效的打印机 URI“%s”。" + +#, c-format +msgid "%s: Bad version %s for \"-V\"." +msgstr "%s:用于“-V”的版本 %s 无效。" + +#, c-format +msgid "%s: Don't know what to do." +msgstr "%s:不知如何处理。" + +#, c-format +msgid "%s: Error - %s" +msgstr "%s:错误 — %s" + +#, c-format +msgid "" +"%s: Error - %s environment variable names non-existent destination \"%s\"." +msgstr "%s:错误 — %s 环境变量指定了不存在的目的地“%s”。" + +#, c-format +msgid "%s: Error - add '/version=1.1' to server name." +msgstr "%s:错误 — 请将“/version=1.1”添加到服务器名称。" + +#, c-format +msgid "%s: Error - bad job ID." +msgstr "%s:错误 — 无效的任务 ID。" + +#, c-format +msgid "%s: Error - cannot print files and alter jobs simultaneously." +msgstr "%s:错误 — 无法在打印文件的同时更改任务。" + +#, c-format +msgid "%s: Error - cannot print from stdin if files or a job ID are provided." +msgstr "%s:错误 — 在指定了文件或任务 ID 的情况下不能从标准输入打印。" + +#, c-format +msgid "%s: Error - copies must be 1 or more." +msgstr "%s:错误 — 副本数必须为至少 1。" + +#, c-format +msgid "%s: Error - expected character set after \"-S\" option." +msgstr "%s:错误 — 在“-S”选项后预期字符集。" + +#, c-format +msgid "%s: Error - expected content type after \"-T\" option." +msgstr "%s:错误 — 在“-T”选项后预期内容类型。" + +#, c-format +msgid "%s: Error - expected copies after \"-#\" option." +msgstr "%s:错误 — 在“-#”选项后预期副本数量。" + +#, c-format +msgid "%s: Error - expected copies after \"-n\" option." +msgstr "%s:错误 — 在“-n”选项后预期副本数量。" + +#, c-format +msgid "%s: Error - expected destination after \"-P\" option." +msgstr "%s:错误 — 在“-P”选项后预期目的地。" + +#, c-format +msgid "%s: Error - expected destination after \"-d\" option." +msgstr "%s:错误 — 在“-d”选项后预期目的地。" + +#, c-format +msgid "%s: Error - expected form after \"-f\" option." +msgstr "%s:错误 — 在“-f”选项后预期表单。" + +#, c-format +msgid "%s: Error - expected hold name after \"-H\" option." +msgstr "%s:错误 — 在“-H”选项后期待保持名称。" + +#, c-format +msgid "%s: Error - expected hostname after \"-H\" option." +msgstr "%s:错误 — 在“-H”选项后预期主机名。" + +#, c-format +msgid "%s: Error - expected hostname after \"-h\" option." +msgstr "%s:错误 — 在“-h”选项后预期主机名。" + +#, c-format +msgid "%s: Error - expected mode list after \"-y\" option." +msgstr "%s:错误 — 在“-y”选项后预期模式列表。" + +#, c-format +msgid "%s: Error - expected name after \"-%c\" option." +msgstr "%s:错误 — 在“-%c”选项后预期名称。" + +#, c-format +msgid "%s: Error - expected option=value after \"-o\" option." +msgstr "%s:错误 — 在“-o”选项后预期选项=赋值。" + +#, c-format +msgid "%s: Error - expected page list after \"-P\" option." +msgstr "%s:错误 — 在“-P”选项后预期页码列表。" + +#, c-format +msgid "%s: Error - expected priority after \"-%c\" option." +msgstr "%s:错误 — 在“-%c”选项后预期优先级。" + +#, c-format +msgid "%s: Error - expected reason text after \"-r\" option." +msgstr "%s:错误 — 在“-r”选项后预期理由文本。" + +#, c-format +msgid "%s: Error - expected title after \"-t\" option." +msgstr "%s:错误 — 在“-t”选项后预期标题。" + +#, c-format +msgid "%s: Error - expected username after \"-U\" option." +msgstr "%s:错误 — 在“-U”选项后预期用户名。" + +#, c-format +msgid "%s: Error - expected username after \"-u\" option." +msgstr "%s:错误 — 在“-u”选项后预期用户名。" + +#, c-format +msgid "%s: Error - expected value after \"-%c\" option." +msgstr "%s:错误 — 在“-%c”选项后预期赋值。" + +#, c-format +msgid "" +"%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" " +"option." +msgstr "%s:错误 — 在“-W”选项后需要“completed”,“not-completed”或“all”值。" + +#, c-format +msgid "%s: Error - no default destination available." +msgstr "%s:错误 — 无可用的默认目的地。" + +#, c-format +msgid "%s: Error - priority must be between 1 and 100." +msgstr "%s:错误 — 优先级必须在 1 至 100 之间。" + +#, c-format +msgid "%s: Error - scheduler not responding." +msgstr "%s:错误 — 调度器无响应。" + +#, c-format +msgid "%s: Error - too many files - \"%s\"." +msgstr "%s:错误 — 文件太多 -“%s”。" + +#, c-format +msgid "%s: Error - unable to access \"%s\" - %s" +msgstr "%s:错误 — 无法访问“%s”- %s" + +#, c-format +msgid "%s: Error - unable to queue from stdin - %s." +msgstr "%s:错误 — 无法从标准输出列表 — %s。" + +#, c-format +msgid "%s: Error - unknown destination \"%s\"." +msgstr "%s:错误 — 未知目的地“%s”。" + +#, c-format +msgid "%s: Error - unknown destination \"%s/%s\"." +msgstr "%s:错误 — 未知目的地“%s/%s”。" + +#, c-format +msgid "%s: Error - unknown option \"%c\"." +msgstr "%s:错误 — 未知选项“%c”。" + +#, c-format +msgid "%s: Error - unknown option \"%s\"." +msgstr "%s:错误 — 未知选项“%s”。" + +#, c-format +msgid "%s: Expected job ID after \"-i\" option." +msgstr "%s:在选项“-i”后预期任务 ID。" + +#, c-format +msgid "%s: Invalid destination name in list \"%s\"." +msgstr "%s:列表“%s”中的目的地名称无效。" + +#, c-format +msgid "%s: Invalid filter string \"%s\"." +msgstr "%s:无效的滤镜字串“%s”。" + +#, c-format +msgid "%s: Missing filename for \"-P\"." +msgstr "%s:“-P”选项缺少文件名。" + +#, c-format +msgid "%s: Missing timeout for \"-T\"." +msgstr "%s:“-T”选项缺少超时。" + +#, c-format +msgid "%s: Missing version for \"-V\"." +msgstr "%s:“-V”选项缺少版本。" + +#, c-format +msgid "%s: Need job ID (\"-i jobid\") before \"-H restart\"." +msgstr "%s:在指定“-H restart”之前需要任务 ID (\"-i jobid\")。" + +#, c-format +msgid "%s: No filter to convert from %s/%s to %s/%s." +msgstr "%s:没有可以将 %s/%s 转换为 %s/%s 的滤镜。" + +#, c-format +msgid "%s: Operation failed: %s" +msgstr "%s:操作失败:%s" + +#, c-format +msgid "%s: Sorry, no encryption support." +msgstr "%s:抱歉,无加密支持。" + +#, c-format +msgid "%s: Unable to connect to \"%s:%d\": %s" +msgstr "%s:无法连接到“%s:%d”:%s" + +#, c-format +msgid "%s: Unable to connect to server." +msgstr "%s:无法连接到服务器。" + +#, c-format +msgid "%s: Unable to contact server." +msgstr "%s:无法与服务器通信。" + +#, c-format +msgid "%s: Unable to create PPD file: %s" +msgstr "%s:无法创建 PPD 文件:%s" + +#, c-format +msgid "%s: Unable to determine MIME type of \"%s\"." +msgstr "%s:无法确定“%s”的 MIME 类型。" + +#, c-format +msgid "%s: Unable to open \"%s\": %s" +msgstr "%s:无法打开“%s”:%s" + +#, c-format +msgid "%s: Unable to open %s: %s" +msgstr "%s:无法打开 %s:%s" + +#, c-format +msgid "%s: Unable to open PPD file: %s on line %d." +msgstr "%1$s:无法打开 PPD 文件:行 %3$d 上的 %2$s。" + +#, c-format +msgid "%s: Unable to query printer: %s" +msgstr "%s:无法查询打印机:%s" + +#, c-format +msgid "%s: Unable to read MIME database from \"%s\" or \"%s\"." +msgstr "%s:无法从“%s”或“%s”读取 MIME 数据库。" + +#, c-format +msgid "%s: Unable to resolve \"%s\"." +msgstr "%s:无法解析“%s”。" + +#, c-format +msgid "%s: Unknown argument \"%s\"." +msgstr "%s:未知参数“%s”。" + +#, c-format +msgid "%s: Unknown destination \"%s\"." +msgstr "%s:未知目的地“%s”。" + +#, c-format +msgid "%s: Unknown destination MIME type %s/%s." +msgstr "%s:MIME 类型 %s/%s 的目的地未知。" + +#, c-format +msgid "%s: Unknown option \"%c\"." +msgstr "%s:未知选项“%c”。" + +#, c-format +msgid "%s: Unknown option \"%s\"." +msgstr "%s:未知选项“%s”。" + +#, c-format +msgid "%s: Unknown option \"-%c\"." +msgstr "%s:未知选项“-%c”。" + +#, c-format +msgid "%s: Unknown source MIME type %s/%s." +msgstr "%s:未知源 MIME 类型 %s/%s。" + +#, c-format +msgid "" +"%s: Warning - \"%c\" format modifier not supported - output may not be " +"correct." +msgstr "%s:警告 — 不支持“%c”格式的修饰符 — 输出可能不正确。" + +#, c-format +msgid "%s: Warning - character set option ignored." +msgstr "%s:警告 — 字符集选项被忽略。" + +#, c-format +msgid "%s: Warning - content type option ignored." +msgstr "%s:警告 — 内容类型选项被忽略。" + +#, c-format +msgid "%s: Warning - form option ignored." +msgstr "%s:警告 — 图标选项被忽略。" + +#, c-format +msgid "%s: Warning - mode option ignored." +msgstr "%s:警告 — 模式选项被忽略。" + +msgid "( expressions ) Group expressions" +msgstr "" + +msgid "- Cancel all jobs" +msgstr "" + +msgid "-# num-copies Specify the number of copies to print" +msgstr "" + +msgid "--[no-]debug-logging Turn debug logging on/off" +msgstr "" + +msgid "--[no-]remote-admin Turn remote administration on/off" +msgstr "" + +msgid "--[no-]remote-any Allow/prevent access from the Internet" +msgstr "" + +msgid "--[no-]share-printers Turn printer sharing on/off" +msgstr "" + +msgid "--[no-]user-cancel-any Allow/prevent users to cancel any job" +msgstr "" + +msgid "" +"--device-id device-id Show models matching the given IEEE 1284 device ID" +msgstr "" + +msgid "--domain regex Match domain to regular expression" +msgstr "" + +msgid "" +"--exclude-schemes scheme-list\n" +" Exclude the specified URI schemes" +msgstr "" + +msgid "" +"--exec utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "--false Always false" +msgstr "" + +msgid "--help Show program help" +msgstr "" + +msgid "--hold Hold new jobs" +msgstr "" + +msgid "--host regex Match hostname to regular expression" +msgstr "" + +msgid "" +"--include-schemes scheme-list\n" +" Include only the specified URI schemes" +msgstr "" + +msgid "--ippserver filename Produce ippserver attribute file" +msgstr "" + +msgid "--language locale Show models matching the given locale" +msgstr "" + +msgid "--local True if service is local" +msgstr "" + +msgid "--ls List attributes" +msgstr "" + +msgid "" +"--make-and-model name Show models matching the given make and model name" +msgstr "" + +msgid "--name regex Match service name to regular expression" +msgstr "" + +msgid "--no-web-forms Disable web forms for media and supplies" +msgstr "" + +msgid "--not expression Unary NOT of expression" +msgstr "" + +msgid "--path regex Match resource path to regular expression" +msgstr "" + +msgid "--port number[-number] Match port to number or range" +msgstr "" + +msgid "--print Print URI if true" +msgstr "" + +msgid "--print-name Print service name if true" +msgstr "" + +msgid "" +"--product name Show models matching the given PostScript product" +msgstr "" + +msgid "--quiet Quietly report match via exit code" +msgstr "" + +msgid "--release Release previously held jobs" +msgstr "" + +msgid "--remote True if service is remote" +msgstr "" + +msgid "" +"--stop-after-include-error\n" +" Stop tests after a failed INCLUDE" +msgstr "" + +msgid "" +"--timeout seconds Specify the maximum number of seconds to discover " +"devices" +msgstr "" + +msgid "--true Always true" +msgstr "" + +msgid "--txt key True if the TXT record contains the key" +msgstr "" + +msgid "--txt-* regex Match TXT record key to regular expression" +msgstr "" + +msgid "--uri regex Match URI to regular expression" +msgstr "" + +msgid "--version Show program version" +msgstr "" + +msgid "--version Show version" +msgstr "" + +msgid "-1" +msgstr "-1" + +msgid "-10" +msgstr "-10" + +msgid "-100" +msgstr "-100" + +msgid "-105" +msgstr "-105" + +msgid "-11" +msgstr "-11" + +msgid "-110" +msgstr "-110" + +msgid "-115" +msgstr "-115" + +msgid "-12" +msgstr "-12" + +msgid "-120" +msgstr "-120" + +msgid "-13" +msgstr "-13" + +msgid "-14" +msgstr "-14" + +msgid "-15" +msgstr "-15" + +msgid "-2" +msgstr "-2" + +msgid "-2 Set 2-sided printing support (default=1-sided)" +msgstr "" + +msgid "-20" +msgstr "-20" + +msgid "-25" +msgstr "-25" + +msgid "-3" +msgstr "-3" + +msgid "-30" +msgstr "-30" + +msgid "-35" +msgstr "-35" + +msgid "-4" +msgstr "-4" + +msgid "-4 Connect using IPv4" +msgstr "" + +msgid "-40" +msgstr "-40" + +msgid "-45" +msgstr "-45" + +msgid "-5" +msgstr "-5" + +msgid "-50" +msgstr "-50" + +msgid "-55" +msgstr "-55" + +msgid "-6" +msgstr "-6" + +msgid "-6 Connect using IPv6" +msgstr "" + +msgid "-60" +msgstr "-60" + +msgid "-65" +msgstr "-65" + +msgid "-7" +msgstr "-7" + +msgid "-70" +msgstr "-70" + +msgid "-75" +msgstr "-75" + +msgid "-8" +msgstr "-8" + +msgid "-80" +msgstr "-80" + +msgid "-85" +msgstr "-85" + +msgid "-9" +msgstr "-9" + +msgid "-90" +msgstr "-90" + +msgid "-95" +msgstr "-95" + +msgid "-C Send requests using chunking (default)" +msgstr "" + +msgid "-D description Specify the textual description of the printer" +msgstr "" + +msgid "-D device-uri Set the device URI for the printer" +msgstr "" + +msgid "" +"-E Enable and accept jobs on the printer (after -p)" +msgstr "" + +msgid "-E Encrypt the connection to the server" +msgstr "" + +msgid "-E Test with encryption using HTTP Upgrade to TLS" +msgstr "" + +msgid "-F Run in the foreground but detach from console." +msgstr "" + +msgid "-F output-type/subtype Set the output format for the printer" +msgstr "" + +msgid "-H Show the default server and port" +msgstr "" + +msgid "-H HH:MM Hold the job until the specified UTC time" +msgstr "" + +msgid "-H hold Hold the job until released/resumed" +msgstr "" + +msgid "-H immediate Print the job as soon as possible" +msgstr "" + +msgid "-H restart Reprint the job" +msgstr "" + +msgid "-H resume Resume a held job" +msgstr "" + +msgid "-H server[:port] Connect to the named server and port" +msgstr "" + +msgid "-I Ignore errors" +msgstr "" + +msgid "" +"-I {filename,filters,none,profiles}\n" +" Ignore specific warnings" +msgstr "" + +msgid "" +"-K keypath Set location of server X.509 certificates and keys." +msgstr "" + +msgid "-L Send requests using content-length" +msgstr "" + +msgid "-L location Specify the textual location of the printer" +msgstr "" + +msgid "-M manufacturer Set manufacturer name (default=Test)" +msgstr "" + +msgid "-P destination Show status for the specified destination" +msgstr "" + +msgid "-P destination Specify the destination" +msgstr "" + +msgid "" +"-P filename.plist Produce XML plist to a file and test report to " +"standard output" +msgstr "" + +msgid "-P filename.ppd Load printer attributes from PPD file" +msgstr "" + +msgid "-P number[-number] Match port to number or range" +msgstr "" + +msgid "-P page-list Specify a list of pages to print" +msgstr "" + +msgid "-R Show the ranking of jobs" +msgstr "" + +msgid "-R name-default Remove the default value for the named option" +msgstr "" + +msgid "-R root-directory Set alternate root" +msgstr "" + +msgid "-S Test with encryption using HTTPS" +msgstr "" + +msgid "-T seconds Set the browse timeout in seconds" +msgstr "" + +msgid "-T seconds Set the receive/send timeout in seconds" +msgstr "" + +msgid "-T title Specify the job title" +msgstr "" + +msgid "-U username Specify the username to use for authentication" +msgstr "" + +msgid "-U username Specify username to use for authentication" +msgstr "" + +msgid "-V version Set default IPP version" +msgstr "" + +msgid "-W completed Show completed jobs" +msgstr "" + +msgid "-W not-completed Show pending jobs" +msgstr "" + +msgid "" +"-W {all,none,constraints,defaults,duplex,filters,profiles,sizes," +"translations}\n" +" Issue warnings instead of errors" +msgstr "" + +msgid "-X Produce XML plist instead of plain text" +msgstr "" + +msgid "-a Cancel all jobs" +msgstr "" + +msgid "-a Show jobs on all destinations" +msgstr "" + +msgid "-a [destination(s)] Show the accepting state of destinations" +msgstr "" + +msgid "-a filename.conf Load printer attributes from conf file" +msgstr "" + +msgid "-c Make a copy of the print file(s)" +msgstr "" + +msgid "-c Produce CSV output" +msgstr "" + +msgid "-c [class(es)] Show classes and their member printers" +msgstr "" + +msgid "-c class Add the named destination to a class" +msgstr "" + +msgid "-c command Set print command" +msgstr "" + +msgid "-c cupsd.conf Set cupsd.conf file to use." +msgstr "" + +msgid "-d Show the default destination" +msgstr "" + +msgid "-d destination Set default destination" +msgstr "" + +msgid "-d destination Set the named destination as the server default" +msgstr "" + +msgid "-d name=value Set named variable to value" +msgstr "" + +msgid "-d regex Match domain to regular expression" +msgstr "" + +msgid "-d spool-directory Set spool directory" +msgstr "" + +msgid "-e Show available destinations on the network" +msgstr "" + +msgid "-f Run in the foreground." +msgstr "" + +msgid "-f filename Set default request filename" +msgstr "" + +msgid "-f type/subtype[,...] Set supported file types" +msgstr "" + +msgid "-h Show this usage message." +msgstr "" + +msgid "-h Validate HTTP response headers" +msgstr "" + +msgid "-h regex Match hostname to regular expression" +msgstr "" + +msgid "-h server[:port] Connect to the named server and port" +msgstr "" + +msgid "-i iconfile.png Set icon file" +msgstr "" + +msgid "-i id Specify an existing job ID to modify" +msgstr "" + +msgid "-i ppd-file Specify a PPD file for the printer" +msgstr "" + +msgid "" +"-i seconds Repeat the last file with the given time interval" +msgstr "" + +msgid "-k Keep job spool files" +msgstr "" + +msgid "-l List attributes" +msgstr "" + +msgid "-l Produce plain text output" +msgstr "" + +msgid "-l Run cupsd on demand." +msgstr "" + +msgid "-l Show supported options and values" +msgstr "" + +msgid "-l Show verbose (long) output" +msgstr "" + +msgid "-l location Set location of printer" +msgstr "" + +msgid "" +"-m Send an email notification when the job completes" +msgstr "" + +msgid "-m Show models" +msgstr "" + +msgid "" +"-m everywhere Specify the printer is compatible with IPP Everywhere" +msgstr "" + +msgid "-m model Set model name (default=Printer)" +msgstr "" + +msgid "" +"-m model Specify a standard model/PPD file for the printer" +msgstr "" + +msgid "-n count Repeat the last file the given number of times" +msgstr "" + +msgid "-n hostname Set hostname for printer" +msgstr "" + +msgid "-n num-copies Specify the number of copies to print" +msgstr "" + +msgid "-n regex Match service name to regular expression" +msgstr "" + +msgid "" +"-o Name=Value Specify the default value for the named PPD option " +msgstr "" + +msgid "-o [destination(s)] Show jobs" +msgstr "" + +msgid "" +"-o cupsIPPSupplies=false\n" +" Disable supply level reporting via IPP" +msgstr "" + +msgid "" +"-o cupsSNMPSupplies=false\n" +" Disable supply level reporting via SNMP" +msgstr "" + +msgid "-o job-k-limit=N Specify the kilobyte limit for per-user quotas" +msgstr "" + +msgid "-o job-page-limit=N Specify the page limit for per-user quotas" +msgstr "" + +msgid "-o job-quota-period=N Specify the per-user quota period in seconds" +msgstr "" + +msgid "-o job-sheets=standard Print a banner page with the job" +msgstr "" + +msgid "-o media=size Specify the media size to use" +msgstr "" + +msgid "-o name-default=value Specify the default value for the named option" +msgstr "" + +msgid "-o name[=value] Set default option and value" +msgstr "" + +msgid "" +"-o number-up=N Specify that input pages should be printed N-up (1, " +"2, 4, 6, 9, and 16 are supported)" +msgstr "" + +msgid "-o option[=value] Specify a printer-specific option" +msgstr "" + +msgid "" +"-o orientation-requested=N\n" +" Specify portrait (3) or landscape (4) orientation" +msgstr "" + +msgid "" +"-o print-quality=N Specify the print quality - draft (3), normal (4), " +"or best (5)" +msgstr "" + +msgid "" +"-o printer-error-policy=name\n" +" Specify the printer error policy" +msgstr "" + +msgid "" +"-o printer-is-shared=true\n" +" Share the printer" +msgstr "" + +msgid "" +"-o printer-op-policy=name\n" +" Specify the printer operation policy" +msgstr "" + +msgid "-o sides=one-sided Specify 1-sided printing" +msgstr "" + +msgid "" +"-o sides=two-sided-long-edge\n" +" Specify 2-sided portrait printing" +msgstr "" + +msgid "" +"-o sides=two-sided-short-edge\n" +" Specify 2-sided landscape printing" +msgstr "" + +msgid "-p Print URI if true" +msgstr "" + +msgid "-p [printer(s)] Show the processing state of destinations" +msgstr "" + +msgid "-p destination Specify a destination" +msgstr "" + +msgid "-p destination Specify/add the named destination" +msgstr "" + +msgid "-p port Set port number for printer" +msgstr "" + +msgid "-q Quietly report match via exit code" +msgstr "" + +msgid "-q Run silently" +msgstr "" + +msgid "-q Specify the job should be held for printing" +msgstr "" + +msgid "-q priority Specify the priority from low (1) to high (100)" +msgstr "" + +msgid "-r Remove the file(s) after submission" +msgstr "" + +msgid "-r Show whether the CUPS server is running" +msgstr "" + +msgid "-r True if service is remote" +msgstr "" + +msgid "-r Use 'relaxed' open mode" +msgstr "" + +msgid "-r class Remove the named destination from a class" +msgstr "" + +msgid "-r reason Specify a reason message that others can see" +msgstr "" + +msgid "-r subtype,[subtype] Set DNS-SD service subtype" +msgstr "" + +msgid "-s Be silent" +msgstr "" + +msgid "-s Print service name if true" +msgstr "" + +msgid "-s Show a status summary" +msgstr "" + +msgid "-s cups-files.conf Set cups-files.conf file to use." +msgstr "" + +msgid "-s speed[,color-speed] Set speed in pages per minute" +msgstr "" + +msgid "-t Produce a test report" +msgstr "" + +msgid "-t Show all status information" +msgstr "" + +msgid "-t Test the configuration file." +msgstr "" + +msgid "-t key True if the TXT record contains the key" +msgstr "" + +msgid "-t title Specify the job title" +msgstr "" + +msgid "" +"-u [user(s)] Show jobs queued by the current or specified users" +msgstr "" + +msgid "-u allow:all Allow all users to print" +msgstr "" + +msgid "" +"-u allow:list Allow the list of users or groups (@name) to print" +msgstr "" + +msgid "" +"-u deny:list Prevent the list of users or groups (@name) to print" +msgstr "" + +msgid "-u owner Specify the owner to use for jobs" +msgstr "" + +msgid "-u regex Match URI to regular expression" +msgstr "" + +msgid "-v Be verbose" +msgstr "" + +msgid "-v Show devices" +msgstr "" + +msgid "-v [printer(s)] Show the devices for each destination" +msgstr "" + +msgid "-v device-uri Specify the device URI for the printer" +msgstr "" + +msgid "-vv Be very verbose" +msgstr "" + +msgid "-x Purge jobs rather than just canceling" +msgstr "" + +msgid "-x destination Remove default options for destination" +msgstr "" + +msgid "-x destination Remove the named destination" +msgstr "" + +msgid "" +"-x utility [argument ...] ;\n" +" Execute program if true" +msgstr "" + +msgid "/etc/cups/lpoptions file names default destination that does not exist." +msgstr "/etc/cups/lpoptions 文件所指定的默认目标不存在。" + +msgid "0" +msgstr "0" + +msgid "1" +msgstr "1" + +msgid "1 inch/sec." +msgstr "1 英寸/秒" + +msgid "1.25x0.25\"" +msgstr "1.25×0.25 英寸" + +msgid "1.25x2.25\"" +msgstr "1.25×2.25 英寸" + +msgid "1.5 inch/sec." +msgstr "1.5 英寸/秒" + +msgid "1.50x0.25\"" +msgstr "1.50×0.25 英寸" + +msgid "1.50x0.50\"" +msgstr "1.50×0.50 英寸" + +msgid "1.50x1.00\"" +msgstr "1.50×1.00 英寸" + +msgid "1.50x2.00\"" +msgstr "1.50×2.00 英寸" + +msgid "10" +msgstr "10" + +msgid "10 inches/sec." +msgstr "10 英寸/秒" + +msgid "10 x 11" +msgstr "10×11" + +msgid "10 x 13" +msgstr "10×13" + +msgid "10 x 14" +msgstr "10×14" + +msgid "100" +msgstr "100" + +msgid "100 mm/sec." +msgstr "100 毫米/秒" + +msgid "105" +msgstr "105" + +msgid "11" +msgstr "11" + +msgid "11 inches/sec." +msgstr "11 英寸/秒" + +msgid "110" +msgstr "110" + +msgid "115" +msgstr "115" + +msgid "12" +msgstr "12" + +msgid "12 inches/sec." +msgstr "12 英寸/秒" + +msgid "12 x 11" +msgstr "12×11" + +msgid "120" +msgstr "120" + +msgid "120 mm/sec." +msgstr "120 毫米/秒" + +msgid "120x60dpi" +msgstr "120×60 dpi" + +msgid "120x72dpi" +msgstr "120×72 dpi" + +msgid "13" +msgstr "13" + +msgid "136dpi" +msgstr "136 dpi" + +msgid "14" +msgstr "14" + +msgid "15" +msgstr "15" + +msgid "15 mm/sec." +msgstr "15 毫米/秒" + +msgid "15 x 11" +msgstr "15×11" + +msgid "150 mm/sec." +msgstr "150 毫米/秒" + +msgid "150dpi" +msgstr "150 dpi" + +msgid "16" +msgstr "16" + +msgid "17" +msgstr "17" + +msgid "18" +msgstr "18" + +msgid "180dpi" +msgstr "180 dpi" + +msgid "19" +msgstr "19" + +msgid "2" +msgstr "2" + +msgid "2 inches/sec." +msgstr "2 英寸/秒" + +msgid "2-Sided Printing" +msgstr "双面印刷" + +msgid "2.00x0.37\"" +msgstr "2.00×0.37 英寸" + +msgid "2.00x0.50\"" +msgstr "2.00×0.50 英寸" + +msgid "2.00x1.00\"" +msgstr "2.00×1.00 英寸" + +msgid "2.00x1.25\"" +msgstr "2.00×1.25 英寸" + +msgid "2.00x2.00\"" +msgstr "2.00×2.00 英寸" + +msgid "2.00x3.00\"" +msgstr "2.00×3.00 英寸" + +msgid "2.00x4.00\"" +msgstr "2.00×4.00 英寸" + +msgid "2.00x5.50\"" +msgstr "2.00×5.50 英寸" + +msgid "2.25x0.50\"" +msgstr "2.25×0.50 英寸" + +msgid "2.25x1.25\"" +msgstr "2.25×1.25 英寸" + +msgid "2.25x4.00\"" +msgstr "2.25×4.00 英寸" + +msgid "2.25x5.50\"" +msgstr "2.25×5.50 英寸" + +msgid "2.38x5.50\"" +msgstr "2.38×5.50 英寸" + +msgid "2.5 inches/sec." +msgstr "2.5 英寸/秒" + +msgid "2.50x1.00\"" +msgstr "2.50×1.00 英寸" + +msgid "2.50x2.00\"" +msgstr "2.50×2.00 英寸" + +msgid "2.75x1.25\"" +msgstr "2.75×1.25 英寸" + +msgid "2.9 x 1\"" +msgstr "2.9×1 英寸" + +msgid "20" +msgstr "20" + +msgid "20 mm/sec." +msgstr "20 毫米/秒" + +msgid "200 mm/sec." +msgstr "200 毫米/秒" + +msgid "203dpi" +msgstr "203 dpi" + +msgid "21" +msgstr "21" + +msgid "22" +msgstr "22" + +msgid "23" +msgstr "23" + +msgid "24" +msgstr "24" + +msgid "24-Pin Series" +msgstr "24 针序列" + +msgid "240x72dpi" +msgstr "240×72 dpi" + +msgid "25" +msgstr "25" + +msgid "250 mm/sec." +msgstr "250 毫米/秒" + +msgid "26" +msgstr "26" + +msgid "27" +msgstr "27" + +msgid "28" +msgstr "28" + +msgid "29" +msgstr "29" + +msgid "3" +msgstr "3" + +msgid "3 inches/sec." +msgstr "3 英寸/秒" + +msgid "3 x 5" +msgstr "3×5" + +msgid "3.00x1.00\"" +msgstr "3.00×1.00 英寸" + +msgid "3.00x1.25\"" +msgstr "3.00×1.25 英寸" + +msgid "3.00x2.00\"" +msgstr "3.00×2.00 英寸" + +msgid "3.00x3.00\"" +msgstr "3.00×3.00 英寸" + +msgid "3.00x5.00\"" +msgstr "3.00×5.00 英寸" + +msgid "3.25x2.00\"" +msgstr "3.25×2.00 英寸" + +msgid "3.25x5.00\"" +msgstr "3.25×5.00 英寸" + +msgid "3.25x5.50\"" +msgstr "3.25×5.50 英寸" + +msgid "3.25x5.83\"" +msgstr "3.25×5.83 英寸" + +msgid "3.25x7.83\"" +msgstr "3.25×7.83 英寸" + +msgid "3.5 x 5" +msgstr "3.5×5" + +msgid "3.5\" Disk" +msgstr "3.5 英寸磁盘" + +msgid "3.50x1.00\"" +msgstr "3.50×1.00 英寸" + +msgid "30" +msgstr "30" + +msgid "30 mm/sec." +msgstr "30 毫米/秒" + +msgid "300 mm/sec." +msgstr "300 毫米/秒" + +msgid "300dpi" +msgstr "300 dpi" + +msgid "35" +msgstr "35" + +msgid "360dpi" +msgstr "360 dpi" + +msgid "360x180dpi" +msgstr "360×180 dpi" + +msgid "4" +msgstr "4" + +msgid "4 inches/sec." +msgstr "4 英寸/秒" + +msgid "4.00x1.00\"" +msgstr "4.00×1.00 英寸" + +msgid "4.00x13.00\"" +msgstr "4.00×13.00 英寸" + +msgid "4.00x2.00\"" +msgstr "4.00×2.00 英寸" + +msgid "4.00x2.50\"" +msgstr "4.00×2.50 英寸" + +msgid "4.00x3.00\"" +msgstr "4.00×3.00 英寸" + +msgid "4.00x4.00\"" +msgstr "4.00×4.00 英寸" + +msgid "4.00x5.00\"" +msgstr "4.00×5.00 英寸" + +msgid "4.00x6.00\"" +msgstr "4.00×6.00 英寸" + +msgid "4.00x6.50\"" +msgstr "4.00×6.50 英寸" + +msgid "40" +msgstr "40" + +msgid "40 mm/sec." +msgstr "40 毫米/秒" + +msgid "45" +msgstr "45" + +msgid "5" +msgstr "5" + +msgid "5 inches/sec." +msgstr "5 英寸/秒" + +msgid "5 x 7" +msgstr "5×7" + +msgid "50" +msgstr "50" + +msgid "55" +msgstr "55" + +msgid "6" +msgstr "6" + +msgid "6 inches/sec." +msgstr "6 英寸/秒" + +msgid "6.00x1.00\"" +msgstr "6.00×1.00 英寸" + +msgid "6.00x2.00\"" +msgstr "6.00×2.00 英寸" + +msgid "6.00x3.00\"" +msgstr "6.00×3.00 英寸" + +msgid "6.00x4.00\"" +msgstr "6.00×4.00 英寸" + +msgid "6.00x5.00\"" +msgstr "6.00×5.00 英寸" + +msgid "6.00x6.00\"" +msgstr "6.00×6.00 英寸" + +msgid "6.00x6.50\"" +msgstr "6.00×6.50 英寸" + +msgid "60" +msgstr "60" + +msgid "60 mm/sec." +msgstr "60 毫米/秒" + +msgid "600dpi" +msgstr "600 dpi" + +msgid "60dpi" +msgstr "60 dpi" + +msgid "60x72dpi" +msgstr "60×72 dpi" + +msgid "65" +msgstr "65" + +msgid "7" +msgstr "7" + +msgid "7 inches/sec." +msgstr "7 英寸/秒" + +msgid "7 x 9" +msgstr "7×9" + +msgid "70" +msgstr "70" + +msgid "75" +msgstr "75" + +msgid "8" +msgstr "8" + +msgid "8 inches/sec." +msgstr "8 英寸/秒" + +msgid "8 x 10" +msgstr "8×10" + +msgid "8.00x1.00\"" +msgstr "8.00×1.00 英寸" + +msgid "8.00x2.00\"" +msgstr "8.00×2.00 英寸" + +msgid "8.00x3.00\"" +msgstr "8.00×3.00 英寸" + +msgid "8.00x4.00\"" +msgstr "8.00×4.00 英寸" + +msgid "8.00x5.00\"" +msgstr "8.00×5.00 英寸" + +msgid "8.00x6.00\"" +msgstr "8.00×6.00 英寸" + +msgid "8.00x6.50\"" +msgstr "8.00×6.50 英寸" + +msgid "80" +msgstr "80" + +msgid "80 mm/sec." +msgstr "80 毫米/秒" + +msgid "85" +msgstr "85" + +msgid "9" +msgstr "9" + +msgid "9 inches/sec." +msgstr "9 英寸/秒" + +msgid "9 x 11" +msgstr "9×11" + +msgid "9 x 12" +msgstr "9×12" + +msgid "9-Pin Series" +msgstr "9 针序列" + +msgid "90" +msgstr "90" + +msgid "95" +msgstr "95" + +msgid "?Invalid help command unknown." +msgstr "?无效 未知帮助命令。" + +#, c-format +msgid "A class named \"%s\" already exists." +msgstr "已存在名为“%s”的类。" + +#, c-format +msgid "A printer named \"%s\" already exists." +msgstr "已存在名为“%s”的打印机。" + +msgid "A0" +msgstr "A0" + +msgid "A0 Long Edge" +msgstr "A0 长边缘" + +msgid "A1" +msgstr "A1" + +msgid "A1 Long Edge" +msgstr "A1 长边缘" + +msgid "A10" +msgstr "A10" + +msgid "A2" +msgstr "A2" + +msgid "A2 Long Edge" +msgstr "A2 长边缘" + +msgid "A3" +msgstr "A3" + +msgid "A3 Long Edge" +msgstr "A3 长边缘" + +msgid "A3 Oversize" +msgstr "A3 超大" + +msgid "A3 Oversize Long Edge" +msgstr "A3 超大长边缘" + +msgid "A4" +msgstr "A4" + +msgid "A4 Long Edge" +msgstr "A4 长边缘" + +msgid "A4 Oversize" +msgstr "A4 超大" + +msgid "A4 Small" +msgstr "A4 小型" + +msgid "A5" +msgstr "A5" + +msgid "A5 Long Edge" +msgstr "A5 长边缘" + +msgid "A5 Oversize" +msgstr "A5 超大" + +msgid "A6" +msgstr "A6" + +msgid "A6 Long Edge" +msgstr "A6 长边缘" + +msgid "A7" +msgstr "A7" + +msgid "A8" +msgstr "A8" + +msgid "A9" +msgstr "A9" + +msgid "ANSI A" +msgstr "ANSI A" + +msgid "ANSI B" +msgstr "ANSI B" + +msgid "ANSI C" +msgstr "ANSI C" + +msgid "ANSI D" +msgstr "ANSI D" + +msgid "ANSI E" +msgstr "ANSI E" + +msgid "ARCH C" +msgstr "ARCH C" + +msgid "ARCH C Long Edge" +msgstr "ARCH C 长边缘" + +msgid "ARCH D" +msgstr "ARCH D" + +msgid "ARCH D Long Edge" +msgstr "ARCH D 长边缘" + +msgid "ARCH E" +msgstr "ARCH E" + +msgid "ARCH E Long Edge" +msgstr "ARCH E 长边缘" + +msgid "Accept Jobs" +msgstr "接受任务" + +msgid "Accepted" +msgstr "已接受" + +msgid "Add Class" +msgstr "添加类" + +msgid "Add Printer" +msgstr "添加打印机" + +msgid "Address" +msgstr "地址" + +msgid "Administration" +msgstr "管理" + +msgid "Always" +msgstr "总是" + +msgid "AppSocket/HP JetDirect" +msgstr "AppSocket/HP JetDirect" + +msgid "Applicator" +msgstr "涂药器" + +#, c-format +msgid "Attempt to set %s printer-state to bad value %d." +msgstr "尝试设置 %s 打印机状态为无效值 %d。" + +#, c-format +msgid "Attribute \"%s\" is in the wrong group." +msgstr "属性“%s”位于错误的组。" + +#, c-format +msgid "Attribute \"%s\" is the wrong value type." +msgstr "属性“%s”不是正确的值类型。" + +#, c-format +msgid "Attribute groups are out of order (%x < %x)." +msgstr "属性组排序错乱(%x < %x)。" + +msgid "B0" +msgstr "B0" + +msgid "B1" +msgstr "B1" + +msgid "B10" +msgstr "B10" + +msgid "B2" +msgstr "B2" + +msgid "B3" +msgstr "B3" + +msgid "B4" +msgstr "B4" + +msgid "B5" +msgstr "B5" + +msgid "B5 Oversize" +msgstr "B5 超大" + +msgid "B6" +msgstr "B6" + +msgid "B7" +msgstr "B7" + +msgid "B8" +msgstr "B8" + +msgid "B9" +msgstr "B9" + +#, c-format +msgid "Bad \"printer-id\" value %d." +msgstr "无效的“printer-id”值 %d。" + +#, c-format +msgid "Bad '%s' value." +msgstr "无效的“%s”值。" + +#, c-format +msgid "Bad 'document-format' value \"%s\"." +msgstr "无效的“document-format”值“%s”。" + +msgid "Bad CloseUI/JCLCloseUI" +msgstr "无效的 CloseUI/JCLCloseUI" + +msgid "Bad NULL dests pointer" +msgstr "无效的 NULL 目标指针" + +msgid "Bad OpenGroup" +msgstr "无效的 OpenGroup 值" + +msgid "Bad OpenUI/JCLOpenUI" +msgstr "无效的 OpenUI/JCLOpenUI 值" + +msgid "Bad OrderDependency" +msgstr "无效的 OrderDependency 值" + +msgid "Bad PPD cache file." +msgstr "无效的 PPD 缓存文件。" + +msgid "Bad PPD file." +msgstr "无效的 PPD 文件。" + +msgid "Bad Request" +msgstr "无效请求" + +msgid "Bad SNMP version number" +msgstr "无效的 SNMP 版本号" + +msgid "Bad UIConstraints" +msgstr "无效的 UIConstraints 值" + +msgid "Bad URI." +msgstr "无效的 URI。" + +msgid "Bad arguments to function" +msgstr "函数的参数无效" + +#, c-format +msgid "Bad copies value %d." +msgstr "无效的副本值 %d。" + +msgid "Bad custom parameter" +msgstr "无效的自定义参数" + +#, c-format +msgid "Bad device-uri \"%s\"." +msgstr "无效的 device-uri 值“%s”。" + +#, c-format +msgid "Bad device-uri scheme \"%s\"." +msgstr "无效的 device-uri 方案“%s”。" + +#, c-format +msgid "Bad document-format \"%s\"." +msgstr "无效的 document-format 值“%s”。" + +#, c-format +msgid "Bad document-format-default \"%s\"." +msgstr "无效的 document-format-default 值“%s”。" + +msgid "Bad filename buffer" +msgstr "无效的文件名缓存" + +msgid "Bad hostname/address in URI" +msgstr "URI 中的主机名/地址无效" + +#, c-format +msgid "Bad job-name value: %s" +msgstr "无效的 job-name 值:%s" + +msgid "Bad job-name value: Wrong type or count." +msgstr "无效的 job-name 支持:无效的类型或序号。" + +msgid "Bad job-priority value." +msgstr "无效的 job-priority 值。" + +#, c-format +msgid "Bad job-sheets value \"%s\"." +msgstr "无效的 job-sheets 值“%s”。" + +msgid "Bad job-sheets value type." +msgstr "无效的 job-sheets 值类型。" + +msgid "Bad job-state value." +msgstr "无效的 job-state 值。" + +#, c-format +msgid "Bad job-uri \"%s\"." +msgstr "无效的 job-uri 值“%s”。" + +#, c-format +msgid "Bad notify-pull-method \"%s\"." +msgstr "无效的 notify-pull-method 值“%s”。" + +#, c-format +msgid "Bad notify-recipient-uri \"%s\"." +msgstr "无效的 notify-recipient-uri 值“%s”。" + +#, c-format +msgid "Bad notify-user-data \"%s\"." +msgstr "无效的 notify-user-data “%s”。" + +#, c-format +msgid "Bad number-up value %d." +msgstr "无效的 number-up 值 %d。" + +#, c-format +msgid "Bad page-ranges values %d-%d." +msgstr "无效的 page-range 值 %d-%d。" + +msgid "Bad port number in URI" +msgstr "URI 中的端口号无效" + +#, c-format +msgid "Bad port-monitor \"%s\"." +msgstr "无效的 port-monitor 值“%s”。" + +#, c-format +msgid "Bad printer-state value %d." +msgstr "无效的 printer-state 值 %d。" + +msgid "Bad printer-uri." +msgstr "无效的 printer-uri 值。" + +#, c-format +msgid "Bad request ID %d." +msgstr "无效的请求 ID %d。" + +#, c-format +msgid "Bad request version number %d.%d." +msgstr "无效的请求版本号 %d.%d。" + +msgid "Bad resource in URI" +msgstr "URI 中的资源无效" + +msgid "Bad scheme in URI" +msgstr "URI 中的方案无效" + +msgid "Bad username in URI" +msgstr "URI 中的用户名无效" + +msgid "Bad value string" +msgstr "无效的值字串" + +msgid "Bad/empty URI" +msgstr "无效或空的 URI" + +msgid "Banners" +msgstr "条幅" + +msgid "Bond Paper" +msgstr "证券纸" + +msgid "Booklet" +msgstr "册子" + +#, c-format +msgid "Boolean expected for waiteof option \"%s\"." +msgstr "waiteof 选项“%s”预期布里值。" + +msgid "Buffer overflow detected, aborting." +msgstr "检测到缓冲区溢出,正在中止。" + +msgid "CMYK" +msgstr "CMYK" + +msgid "CPCL Label Printer" +msgstr "CPCL 标签打印机" + +msgid "Cancel Jobs" +msgstr "取消任务" + +msgid "Canceling print job." +msgstr "正在取消打印任务" + +msgid "Cannot change printer-is-shared for remote queues." +msgstr "无法为远程队列更改 printer-is-shared 值。" + +msgid "Cannot share a remote Kerberized printer." +msgstr "无法共享远程的通过 Kerberos 授权的打印机。" + +msgid "Cassette" +msgstr "磁带" + +msgid "Change Settings" +msgstr "更改选项" + +#, c-format +msgid "Character set \"%s\" not supported." +msgstr "不受支持的字符集“%s”。" + +msgid "Classes" +msgstr "类" + +msgid "Clean Print Heads" +msgstr "清理打印头" + +msgid "Close-Job doesn't support the job-uri attribute." +msgstr "Close-Job 指令不支持 job-uri 属性。" + +msgid "Color" +msgstr "彩色" + +msgid "Color Mode" +msgstr "色彩模式" + +msgid "" +"Commands may be abbreviated. Commands are:\n" +"\n" +"exit help quit status ?" +msgstr "" +"命令可能为缩写。可用命令如下:\n" +"\n" +"exit help quit status ?" + +msgid "Community name uses indefinite length" +msgstr "社群名称不限长度" + +msgid "Connected to printer." +msgstr "已连接到打印机。" + +msgid "Connecting to printer." +msgstr "正在连接到打印机。" + +msgid "Continue" +msgstr "继续" + +msgid "Continuous" +msgstr "连续" + +msgid "Control file sent successfully." +msgstr "已成功发送控制文件。" + +msgid "Copying print data." +msgstr "正在复制打印数据。" + +msgid "Created" +msgstr "创建时间" + +msgid "Credentials do not validate against site CA certificate." +msgstr "无法与站点 CA 证书验证凭据。" + +msgid "Credentials have expired." +msgstr "凭据已过期。" + +msgid "Custom" +msgstr "自定义" + +msgid "CustominCutInterval" +msgstr "CustominCutInterval" + +msgid "CustominTearInterval" +msgstr "CustominTearInterval" + +msgid "Cut" +msgstr "剪切" + +msgid "Cutter" +msgstr "车床刀具" + +msgid "Dark" +msgstr "暗色" + +msgid "Darkness" +msgstr "暗度" + +msgid "Data file sent successfully." +msgstr "已成功发送数据文件。" + +msgid "Deep Color" +msgstr "深色" + +msgid "Deep Gray" +msgstr "深灰" + +msgid "Delete Class" +msgstr "删除类" + +msgid "Delete Printer" +msgstr "删除打印机" + +msgid "DeskJet Series" +msgstr "DeskJet 系列" + +#, c-format +msgid "Destination \"%s\" is not accepting jobs." +msgstr "目标“%s”不接受任务。" + +msgid "Device CMYK" +msgstr "设备 CMYK" + +msgid "Device Gray" +msgstr "设备灰度" + +msgid "Device RGB" +msgstr "设备 RGB" + +#, c-format +msgid "" +"Device: uri = %s\n" +" class = %s\n" +" info = %s\n" +" make-and-model = %s\n" +" device-id = %s\n" +" location = %s" +msgstr "" +"设备:\turi = %s\n" +"\tclass = %s\n" +"\tinfo = %s\n" +"\tmake-and-model = %s\n" +"\tdevice-id = %s\n" +"\tlocation = %s" + +msgid "Direct Thermal Media" +msgstr "直接热敏介质" + +#, c-format +msgid "Directory \"%s\" contains a relative path." +msgstr "目录“%s”包含相对路径。" + +#, c-format +msgid "Directory \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "目录“%s”带有不安全的权限许可 (0%o/uid=%d/gid=%d)。" + +#, c-format +msgid "Directory \"%s\" is a file." +msgstr "目录“%s”是一个文件。" + +#, c-format +msgid "Directory \"%s\" not available: %s" +msgstr "目录“%s”不可用:%s" + +#, c-format +msgid "Directory \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "目录“%s”的权限许可无问题 (0%o/uid=%d/gid=%d)。" + +msgid "Disabled" +msgstr "已禁用" + +#, c-format +msgid "Document #%d does not exist in job #%d." +msgstr "任务 #%2$d 中不包含文档 #%1$d。" + +msgid "Draft" +msgstr "草稿" + +msgid "Duplexer" +msgstr "双工器" + +msgid "Dymo" +msgstr "Dymo" + +msgid "EPL1 Label Printer" +msgstr "EPL1 标签打印机" + +msgid "EPL2 Label Printer" +msgstr "EPL2 标签打印机" + +msgid "Edit Configuration File" +msgstr "编辑配置文件" + +msgid "Encryption is not supported." +msgstr "不支持加密。" + +#. TRANSLATORS: Banner/cover sheet after the print job. +msgid "Ending Banner" +msgstr "结尾横幅" + +msgid "English" +msgstr "英语" + +msgid "" +"Enter your username and password or the root username and password to access " +"this page. If you are using Kerberos authentication, make sure you have a " +"valid Kerberos ticket." +msgstr "" +"输入你的用户名和密码或 root 的用户名和密码以访问此页面。如果您正在使用 " +"Kerberos 认证,请求确定您拥有有效的 Kerberos 凭据。" + +msgid "Envelope #10" +msgstr "10 号信封" + +msgid "Envelope #11" +msgstr "11 号信封" + +msgid "Envelope #12" +msgstr "12 号信封" + +msgid "Envelope #14" +msgstr "14 号信封" + +msgid "Envelope #9" +msgstr "9 号信封" + +msgid "Envelope B4" +msgstr "B4 信封" + +msgid "Envelope B5" +msgstr "B5 信封" + +msgid "Envelope B6" +msgstr "B6 信封" + +msgid "Envelope C0" +msgstr "C0 信封" + +msgid "Envelope C1" +msgstr "C1 信封" + +msgid "Envelope C2" +msgstr "C2 信封" + +msgid "Envelope C3" +msgstr "C3 信封" + +msgid "Envelope C4" +msgstr "C4 信封" + +msgid "Envelope C5" +msgstr "C5 信封" + +msgid "Envelope C6" +msgstr "C6 信封" + +msgid "Envelope C65" +msgstr "C65 信封" + +msgid "Envelope C7" +msgstr "C7 信封" + +msgid "Envelope Choukei 3" +msgstr "Choukei 3 信封" + +msgid "Envelope Choukei 3 Long Edge" +msgstr "Choukei 3 长边缘信封" + +msgid "Envelope Choukei 4" +msgstr "Choukei 4 信封" + +msgid "Envelope Choukei 4 Long Edge" +msgstr "Choukei 4 长边缘信封" + +msgid "Envelope DL" +msgstr "DL 信封" + +msgid "Envelope Feed" +msgstr "信封喂纸口" + +msgid "Envelope Invite" +msgstr "请柬信封" + +msgid "Envelope Italian" +msgstr "意大利信封" + +msgid "Envelope Kaku2" +msgstr "Kaku2 信封" + +msgid "Envelope Kaku2 Long Edge" +msgstr "Kaku2 长边缘信封" + +msgid "Envelope Kaku3" +msgstr "Kaku3 信封" + +msgid "Envelope Kaku3 Long Edge" +msgstr "Kaku2 长边缘信封" + +msgid "Envelope Monarch" +msgstr "君主信封" + +msgid "Envelope PRC1" +msgstr "中国一号信封" + +msgid "Envelope PRC1 Long Edge" +msgstr "中国一号长边缘信封" + +msgid "Envelope PRC10" +msgstr "中国十号信封" + +msgid "Envelope PRC10 Long Edge" +msgstr "中国十号长边缘信封" + +msgid "Envelope PRC2" +msgstr "中国二号信封" + +msgid "Envelope PRC2 Long Edge" +msgstr "中国二号长边缘信封" + +msgid "Envelope PRC3" +msgstr "中国三号信封" + +msgid "Envelope PRC3 Long Edge" +msgstr "中国三号长边缘信封" + +msgid "Envelope PRC4" +msgstr "中国四号信封" + +msgid "Envelope PRC4 Long Edge" +msgstr "中国四号长边缘信封" + +msgid "Envelope PRC5 Long Edge" +msgstr "中国五号长边缘信封" + +msgid "Envelope PRC5PRC5" +msgstr "中国五号信封" + +msgid "Envelope PRC6" +msgstr "中国六号信封" + +msgid "Envelope PRC6 Long Edge" +msgstr "中国六号长边缘信封" + +msgid "Envelope PRC7" +msgstr "中国七号信封" + +msgid "Envelope PRC7 Long Edge" +msgstr "中国七号长边缘信封" + +msgid "Envelope PRC8" +msgstr "中国八号信封" + +msgid "Envelope PRC8 Long Edge" +msgstr "中国八号长边缘信封" + +msgid "Envelope PRC9" +msgstr "中国九号信封" + +msgid "Envelope PRC9 Long Edge" +msgstr "中国九号长边缘信封" + +msgid "Envelope Personal" +msgstr "个人信封" + +msgid "Envelope You4" +msgstr "You4 信封" + +msgid "Envelope You4 Long Edge" +msgstr "You4 长边缘信封" + +msgid "Environment Variables:" +msgstr "环境变量:" + +msgid "Epson" +msgstr "Epson" + +msgid "Error Policy" +msgstr "错误策略" + +msgid "Error reading raster data." +msgstr "读取栅格化数据出错。" + +msgid "Error sending raster data." +msgstr "发送栅格化数据出错。" + +msgid "Error: need hostname after \"-h\" option." +msgstr "错误:“-h”选项后需要主机名。" + +msgid "European Fanfold" +msgstr "欧洲折叠页" + +msgid "European Fanfold Legal" +msgstr "欧洲法律用折叠页" + +msgid "Every 10 Labels" +msgstr "每 10 个标签" + +msgid "Every 2 Labels" +msgstr "每 2 个标签" + +msgid "Every 3 Labels" +msgstr "每 3 个标签" + +msgid "Every 4 Labels" +msgstr "每 4 个标签" + +msgid "Every 5 Labels" +msgstr "每 5 个标签" + +msgid "Every 6 Labels" +msgstr "每 6 个标签" + +msgid "Every 7 Labels" +msgstr "每 7 个标签" + +msgid "Every 8 Labels" +msgstr "每 8 个标签" + +msgid "Every 9 Labels" +msgstr "每 9 个标签" + +msgid "Every Label" +msgstr "每个标签" + +msgid "Executive" +msgstr "执行" + +msgid "Expectation Failed" +msgstr "未满足期望" + +msgid "Expressions:" +msgstr "表达式:" + +msgid "Fast Grayscale" +msgstr "快速灰度" + +#, c-format +msgid "File \"%s\" contains a relative path." +msgstr "文件“%s”包含相对路径。" + +#, c-format +msgid "File \"%s\" has insecure permissions (0%o/uid=%d/gid=%d)." +msgstr "文件“%s”带有不安全的权限许可 (0%o/uid=%d/gid=%d)。" + +#, c-format +msgid "File \"%s\" is a directory." +msgstr "文件“%s”是一个目录。" + +#, c-format +msgid "File \"%s\" not available: %s" +msgstr "文件“%s”不可用:%s" + +#, c-format +msgid "File \"%s\" permissions OK (0%o/uid=%d/gid=%d)." +msgstr "文件“%s”的权限许可无问题 (0%o/uid=%d/gid=%d)。" + +msgid "File Folder" +msgstr "文件夹" + +#, c-format +msgid "" +"File device URIs have been disabled. To enable, see the FileDevice directive " +"in \"%s/cups-files.conf\"." +msgstr "" +"已禁用文件设备 URI。要启用此功能,参阅“%s/cups-files.conf”中的 FileDevice 参" +"数。" + +#, c-format +msgid "Finished page %d." +msgstr "已完成第 %d 页。" + +msgid "Finishing Preset" +msgstr "结尾预设" + +msgid "Fold" +msgstr "折纸" + +msgid "Folio" +msgstr "对开本" + +msgid "Forbidden" +msgstr "已禁止" + +msgid "Found" +msgstr "已发现" + +msgid "General" +msgstr "常规" + +msgid "Generic" +msgstr "通用" + +msgid "Get-Response-PDU uses indefinite length" +msgstr "Get-Response-PDU 使用无限长度" + +msgid "Glossy Paper" +msgstr "光面纸" + +msgid "Got a printer-uri attribute but no job-id." +msgstr "获取到了 printer-uri 属性却未获取到 job-id。" + +msgid "Grayscale" +msgstr "灰度" + +msgid "HP" +msgstr "HP" + +msgid "Hanging Folder" +msgstr "倒挂文件夹" + +msgid "Hash buffer too small." +msgstr "哈希值缓冲区太小。" + +msgid "Help file not in index." +msgstr "帮助文件不在索引中。" + +msgid "High" +msgstr "高" + +msgid "IPP 1setOf attribute with incompatible value tags." +msgstr "带有不兼容值标签的 IPP 1setOf 属性。" + +msgid "IPP attribute has no name." +msgstr "IPP 属性未命名。" + +msgid "IPP attribute is not a member of the message." +msgstr "IPP 属性不是消息成员。" + +msgid "IPP begCollection value not 0 bytes." +msgstr "IPP begCollection 值大小不是 0 字节。" + +msgid "IPP boolean value not 1 byte." +msgstr "IPP 布里值大小不是 1 字节。" + +msgid "IPP date value not 11 bytes." +msgstr "IPP 日期值大小不是 11 字节。" + +msgid "IPP endCollection value not 0 bytes." +msgstr "IPP endCollection 值大小不是 0 字节。" + +msgid "IPP enum value not 4 bytes." +msgstr "IPP enum 值大小不是 4 字节。" + +msgid "IPP extension tag larger than 0x7FFFFFFF." +msgstr "IPP 扩展标签大于 0x7FFFFFFF。" + +msgid "IPP integer value not 4 bytes." +msgstr "IPP 整数值大小不是 4 字节。" + +msgid "IPP language length overflows value." +msgstr "IPP 语言长度溢出值限制。" + +msgid "IPP language length too large." +msgstr "IPP 语言长度太长。" + +msgid "IPP member name is not empty." +msgstr "IPP 成员名称非空。" + +msgid "IPP memberName value is empty." +msgstr "IPP memberName 值为空。" + +msgid "IPP memberName with no attribute." +msgstr "IPP memberName 无属性。" + +msgid "IPP name larger than 32767 bytes." +msgstr "IPP 名称大小超过 32767 字节。" + +msgid "IPP nameWithLanguage value less than minimum 4 bytes." +msgstr "IPP nameWithLanguage 值大小小于 4 字节的最小限制。" + +msgid "IPP octetString length too large." +msgstr "IPP octetString 长度过长。" + +msgid "IPP rangeOfInteger value not 8 bytes." +msgstr "IPP rangeOfInteger 值大小不是 8 字节。" + +msgid "IPP resolution value not 9 bytes." +msgstr "IPP 分辨率值大小不是 9 字节。" + +msgid "IPP string length overflows value." +msgstr "IPP 字串长度超过溢出值限制。" + +msgid "IPP textWithLanguage value less than minimum 4 bytes." +msgstr "IPP textWithLanguage 值大小小于 4 字节的最小限制。" + +msgid "IPP value larger than 32767 bytes." +msgstr "IPP 值大小超过 32767 字节。" + +msgid "IPPFIND_SERVICE_DOMAIN Domain name" +msgstr "" + +msgid "" +"IPPFIND_SERVICE_HOSTNAME\n" +" Fully-qualified domain name" +msgstr "" + +msgid "IPPFIND_SERVICE_NAME Service instance name" +msgstr "" + +msgid "IPPFIND_SERVICE_PORT Port number" +msgstr "" + +msgid "IPPFIND_SERVICE_REGTYPE DNS-SD registration type" +msgstr "" + +msgid "IPPFIND_SERVICE_SCHEME URI scheme" +msgstr "" + +msgid "IPPFIND_SERVICE_URI URI" +msgstr "" + +msgid "IPPFIND_TXT_* Value of TXT record key" +msgstr "" + +msgid "ISOLatin1" +msgstr "ISOLatin1" + +msgid "Illegal control character" +msgstr "非法控制字符" + +msgid "Illegal main keyword string" +msgstr "非法主关键词字串" + +msgid "Illegal option keyword string" +msgstr "非法选项关键词字串" + +msgid "Illegal translation string" +msgstr "非法翻译字串" + +msgid "Illegal whitespace character" +msgstr "非法空白字符" + +msgid "Installable Options" +msgstr "可安装选项" + +msgid "Installed" +msgstr "已安装" + +msgid "IntelliBar Label Printer" +msgstr "IntelliBar 标签打印机" + +msgid "Intellitech" +msgstr "Intellitech" + +msgid "Internal Server Error" +msgstr "内部服务器错误" + +msgid "Internal error" +msgstr "内部错误" + +msgid "Internet Postage 2-Part" +msgstr "网邮 2 部" + +msgid "Internet Postage 3-Part" +msgstr "网邮 3 部" + +msgid "Internet Printing Protocol" +msgstr "互联网打印协议" + +msgid "Invalid group tag." +msgstr "无效的组标签。" + +msgid "Invalid media name arguments." +msgstr "无效的媒体名称参数。" + +msgid "Invalid media size." +msgstr "无效的媒体大小。" + +msgid "Invalid named IPP attribute in collection." +msgstr "" + +msgid "Invalid ppd-name value." +msgstr "无效的 ppd-name 值。" + +#, c-format +msgid "Invalid printer command \"%s\"." +msgstr "无效的打印机命令“%s”。" + +msgid "JCL" +msgstr "JCL" + +msgid "JIS B0" +msgstr "JIS B0" + +msgid "JIS B1" +msgstr "JIS B1" + +msgid "JIS B10" +msgstr "JIS B10" + +msgid "JIS B2" +msgstr "JIS B2" + +msgid "JIS B3" +msgstr "JIS B3" + +msgid "JIS B4" +msgstr "JIS B4" + +msgid "JIS B4 Long Edge" +msgstr "JIS B4 长边缘" + +msgid "JIS B5" +msgstr "JIS B5" + +msgid "JIS B5 Long Edge" +msgstr "JIS B5 长边缘" + +msgid "JIS B6" +msgstr "JIS B6" + +msgid "JIS B6 Long Edge" +msgstr "JIS B6 长边缘" + +msgid "JIS B7" +msgstr "JIS B7" + +msgid "JIS B8" +msgstr "JIS B8" + +msgid "JIS B9" +msgstr "JIS B9" + +#, c-format +msgid "Job #%d cannot be restarted - no files." +msgstr "无法重启任务 #%d — 没有文件。" + +#, c-format +msgid "Job #%d does not exist." +msgstr "任务 #%d 不存在。" + +#, c-format +msgid "Job #%d is already aborted - can't cancel." +msgstr "任务 #%d 已中止 — 无法取消。" + +#, c-format +msgid "Job #%d is already canceled - can't cancel." +msgstr "任务 #%d 已取消 — 无法取消。" + +#, c-format +msgid "Job #%d is already completed - can't cancel." +msgstr "任务 #%d 已完成 — 无法取消。" + +#, c-format +msgid "Job #%d is finished and cannot be altered." +msgstr "任务 #%d 已完成且不可更动。" + +#, c-format +msgid "Job #%d is not complete." +msgstr "任务 #%d 未完成。" + +#, c-format +msgid "Job #%d is not held for authentication." +msgstr "任务 #%d 未被认证扣留。" + +#, c-format +msgid "Job #%d is not held." +msgstr "任务 #%d 未被扣留。" + +msgid "Job Completed" +msgstr "任务已完成" + +msgid "Job Created" +msgstr "任务已创建" + +msgid "Job Options Changed" +msgstr "任务选项更动" + +msgid "Job Stopped" +msgstr "任务已停止" + +msgid "Job is completed and cannot be changed." +msgstr "任务已完成且不能更改。" + +msgid "Job operation failed" +msgstr "任务操作失败" + +msgid "Job state cannot be changed." +msgstr "无法更改任务状态。" + +msgid "Job subscriptions cannot be renewed." +msgstr "无法为任务订阅续期。" + +msgid "Jobs" +msgstr "任务" + +msgid "LPD/LPR Host or Printer" +msgstr "LPD/LPR 主机或打印机" + +msgid "" +"LPDEST environment variable names default destination that does not exist." +msgstr "LPDEST 环境变量所指定的默认目标不存在。" + +msgid "Label Printer" +msgstr "标签打印机" + +msgid "Label Top" +msgstr "标签顶部" + +#, c-format +msgid "Language \"%s\" not supported." +msgstr "不支持的语言“%s”。" + +msgid "Large Address" +msgstr "大地址" + +msgid "LaserJet Series PCL 4/5" +msgstr "LaserJet 系列 PCL 4/5" + +msgid "Letter Oversize" +msgstr "信函超大" + +msgid "Letter Oversize Long Edge" +msgstr "信函超大长边缘" + +msgid "Light" +msgstr "轻" + +msgid "Line longer than the maximum allowed (255 characters)" +msgstr "行长度超过允许的最大值(255 字符)" + +msgid "List Available Printers" +msgstr "列出可用打印机" + +#, c-format +msgid "Listening on port %d." +msgstr "" + +msgid "Local printer created." +msgstr "已创建本地打印机。" + +msgid "Long-Edge (Portrait)" +msgstr "长边缘(竖直)" + +msgid "Looking for printer." +msgstr "正在寻找打印机。" + +msgid "Manual Feed" +msgstr "手动喂纸" + +msgid "Media Size" +msgstr "媒体大小" + +msgid "Media Source" +msgstr "媒体来源" + +msgid "Media Tracking" +msgstr "媒体跟踪" + +msgid "Media Type" +msgstr "媒体类型" + +msgid "Medium" +msgstr "介质" + +msgid "Memory allocation error" +msgstr "内存分配错误" + +msgid "Missing CloseGroup" +msgstr "缺少 CloseGroup" + +msgid "Missing CloseUI/JCLCloseUI" +msgstr "缺少 CloseUI/JCLCloseUI" + +msgid "Missing PPD-Adobe-4.x header" +msgstr "缺少 PPD-Adobe-4.x 文件头" + +msgid "Missing asterisk in column 1" +msgstr "列 1 中缺少星号" + +msgid "Missing document-number attribute." +msgstr "缺少 document-number 属性。" + +msgid "Missing form variable" +msgstr "缺少表单变量" + +msgid "Missing last-document attribute in request." +msgstr "请求中缺少 last-document 属性。" + +msgid "Missing media or media-col." +msgstr "缺少 media 或 media-col。" + +msgid "Missing media-size in media-col." +msgstr "media-col 中缺少 media-size。" + +msgid "Missing notify-subscription-ids attribute." +msgstr "缺少 notify-subscription-ids 属性。" + +msgid "Missing option keyword" +msgstr "缺少选项关键词" + +msgid "Missing requesting-user-name attribute." +msgstr "缺少 requesting-user-name 属性。" + +#, c-format +msgid "Missing required attribute \"%s\"." +msgstr "缺少必要的属性“%s”。" + +msgid "Missing required attributes." +msgstr "缺少必要的属性。" + +msgid "Missing resource in URI" +msgstr "URI 中缺少资源" + +msgid "Missing scheme in URI" +msgstr "URI 中缺少方案" + +msgid "Missing value string" +msgstr "缺少值字串。" + +msgid "Missing x-dimension in media-size." +msgstr "media-size 中缺少 x-dimension。" + +msgid "Missing y-dimension in media-size." +msgstr "media-size 中缺少 y-dimension。" + +#, c-format +msgid "" +"Model: name = %s\n" +" natural_language = %s\n" +" make-and-model = %s\n" +" device-id = %s" +msgstr "" +"型号:\tname = %s\n" +"\tnatural_language = %s\n" +"\tmake-and-model = %s\n" +"\tdevice-id = %s" + +msgid "Modifiers:" +msgstr "修饰符:" + +msgid "Modify Class" +msgstr "修改类" + +msgid "Modify Printer" +msgstr "修改打印机" + +msgid "Move All Jobs" +msgstr "移动所有任务" + +msgid "Move Job" +msgstr "移动任务" + +msgid "Moved Permanently" +msgstr "已永久移动" + +msgid "NULL PPD file pointer" +msgstr "PPD 文件指针为 NULL" + +msgid "Name OID uses indefinite length" +msgstr "名称 OID 使用不定长度" + +msgid "Nested classes are not allowed." +msgstr "不允许嵌套类。" + +msgid "Never" +msgstr "从不" + +msgid "New credentials are not valid for name." +msgstr "新凭据不可用于名称。" + +msgid "New credentials are older than stored credentials." +msgstr "新凭据老于已存储的凭据。" + +msgid "No" +msgstr "否" + +msgid "No Content" +msgstr "无内容" + +msgid "No IPP attributes." +msgstr "无 IPP 属性。" + +msgid "No PPD name" +msgstr "无 PPD 名称" + +msgid "No VarBind SEQUENCE" +msgstr "无 VarBind SEQUENCE" + +msgid "No active connection" +msgstr "无活动连接" + +msgid "No active connection." +msgstr "无活动连接。" + +#, c-format +msgid "No active jobs on %s." +msgstr "%s 上无活动任务。" + +msgid "No attributes in request." +msgstr "请求中无属性。" + +msgid "No authentication information provided." +msgstr "未提供认证信息。" + +msgid "No common name specified." +msgstr "未指定通用名称。" + +msgid "No community name" +msgstr "无社群名称" + +msgid "No default destination." +msgstr "无默认目标。" + +msgid "No default printer." +msgstr "无默认打印机。" + +msgid "No destinations added." +msgstr "未添加目标。" + +msgid "No device URI found in argv[0] or in DEVICE_URI environment variable." +msgstr "argv[0] 或 DEVICE_URI 环境变量中无设备 URI。" + +msgid "No error-index" +msgstr "无 error-index" + +msgid "No error-status" +msgstr "无 error-status" + +msgid "No file in print request." +msgstr "打印请求中无文件。" + +msgid "No modification time" +msgstr "无修改时间" + +msgid "No name OID" +msgstr "无名称 OID" + +msgid "No pages were found." +msgstr "未找到页面。" + +msgid "No printer name" +msgstr "无打印机名称" + +msgid "No printer-uri found" +msgstr "未找到 printer-uri" + +msgid "No printer-uri found for class" +msgstr "未找到类的 print-uri" + +msgid "No printer-uri in request." +msgstr "请求中无 printer-uri。" + +msgid "No request URI." +msgstr "无请求 URI。" + +msgid "No request protocol version." +msgstr "无请求协议版本。" + +msgid "No request sent." +msgstr "未发送请求。" + +msgid "No request-id" +msgstr "无 request-id" + +msgid "No stored credentials, not valid for name." +msgstr "无已存储的凭据,不可用于名称。" + +msgid "No subscription attributes in request." +msgstr "请求中无订阅属性。" + +msgid "No subscriptions found." +msgstr "未找到订阅。" + +msgid "No variable-bindings SEQUENCE" +msgstr "无 variable-bindings SEQUENCE" + +msgid "No version number" +msgstr "无版本号" + +msgid "Non-continuous (Mark sensing)" +msgstr "非连续(标记嗅探)" + +msgid "Non-continuous (Web sensing)" +msgstr "非连续(Web 嗅探)" + +msgid "None" +msgstr "无" + +msgid "Normal" +msgstr "一般" + +msgid "Not Found" +msgstr "未找到" + +msgid "Not Implemented" +msgstr "未实现" + +msgid "Not Installed" +msgstr "未安装" + +msgid "Not Modified" +msgstr "未修改" + +msgid "Not Supported" +msgstr "未支持" + +msgid "Not allowed to print." +msgstr "不允许打印。" + +msgid "Note" +msgstr "注释" + +msgid "OK" +msgstr "确定" + +msgid "Off (1-Sided)" +msgstr "关(单面)" + +msgid "Oki" +msgstr "日冲" + +msgid "Online Help" +msgstr "在线帮助" + +msgid "Only local users can create a local printer." +msgstr "本地打印机只能使用本地用户创建。" + +#, c-format +msgid "Open of %s failed: %s" +msgstr "打开 %s 失败:%s" + +msgid "OpenGroup without a CloseGroup first" +msgstr "OpenGroup 缺少前置 CloseGroup" + +msgid "OpenUI/JCLOpenUI without a CloseUI/JCLCloseUI first" +msgstr "OpenUI/JCLOpenUI 缺少前置 CloseUI/JCLCloseUI" + +msgid "Operation Policy" +msgstr "操作策略" + +#, c-format +msgid "Option \"%s\" cannot be included via %%%%IncludeFeature." +msgstr "选项“%s”不能通过 %%%%IncludeFeature 引用。" + +msgid "Options Installed" +msgstr "已安装选项" + +msgid "Options:" +msgstr "选项:" + +msgid "Other Media" +msgstr "其他介质" + +msgid "Other Tray" +msgstr "其他托盘" + +msgid "Out of date PPD cache file." +msgstr "过时的 PPD 缓存文件。" + +msgid "Out of memory." +msgstr "内存耗尽。" + +msgid "Output Mode" +msgstr "输出模式" + +msgid "PCL Laser Printer" +msgstr "PCL 激光打印机" + +msgid "PRC16K" +msgstr "16 开" + +msgid "PRC16K Long Edge" +msgstr "长边缘 16 开" + +msgid "PRC32K" +msgstr "32 开" + +msgid "PRC32K Long Edge" +msgstr "长边缘 32 开" + +msgid "PRC32K Oversize" +msgstr "超大 32 开" + +msgid "PRC32K Oversize Long Edge" +msgstr "超大长边缘 32 开" + +msgid "" +"PRINTER environment variable names default destination that does not exist." +msgstr "PRINTER 环境变量所指定的默认目标不存在。" + +msgid "Packet does not contain a Get-Response-PDU" +msgstr "包裹中未包含 Get-Response-PDU" + +msgid "Packet does not start with SEQUENCE" +msgstr "包裹未使用 SEQUENCE 开头" + +msgid "ParamCustominCutInterval" +msgstr "ParamCustominCutInterval" + +msgid "ParamCustominTearInterval" +msgstr "ParamCustominTearInterval" + +#, c-format +msgid "Password for %s on %s? " +msgstr "请输入 %2$s 上 %1$s 的密码 " + +msgid "Pause Class" +msgstr "暂停类" + +msgid "Pause Printer" +msgstr "暂停打印机" + +msgid "Peel-Off" +msgstr "剥片" + +msgid "Photo" +msgstr "照片" + +msgid "Photo Labels" +msgstr "照片标签" + +msgid "Plain Paper" +msgstr "普通纸" + +msgid "Policies" +msgstr "策略" + +msgid "Port Monitor" +msgstr "端口监视器" + +msgid "PostScript Printer" +msgstr "PostScript 打印机" + +msgid "Postcard" +msgstr "明信片" + +msgid "Postcard Double" +msgstr "双面明信片" + +msgid "Postcard Double Long Edge" +msgstr "超长边缘双面明信片" + +msgid "Postcard Long Edge" +msgstr "超长边缘明信片" + +msgid "Preparing to print." +msgstr "正在准备打印。" + +msgid "Print Density" +msgstr "打印密度" + +msgid "Print Job:" +msgstr "打印任务:" + +msgid "Print Mode" +msgstr "打印模式" + +msgid "Print Quality" +msgstr "打印质量" + +msgid "Print Rate" +msgstr "打印频率" + +msgid "Print Self-Test Page" +msgstr "打印自检页" + +msgid "Print Speed" +msgstr "打印速度" + +msgid "Print Test Page" +msgstr "打印测试页" + +msgid "Print and Cut" +msgstr "打印和裁剪" + +msgid "Print and Tear" +msgstr "打印和撕纸" + +msgid "Print file sent." +msgstr "已发送打印文件。" + +msgid "Print job canceled at printer." +msgstr "打印任务在打印机端被取消。" + +msgid "Print job too large." +msgstr "打印任务太大。" + +msgid "Print job was not accepted." +msgstr "打印任务被拒绝。" + +#, c-format +msgid "Printer \"%s\" already exists." +msgstr "打印机“%s”已存在。" + +msgid "Printer Added" +msgstr "已添加打印机" + +msgid "Printer Default" +msgstr "打印机默认值" + +msgid "Printer Deleted" +msgstr "已删除打印机" + +msgid "Printer Modified" +msgstr "已编辑打印机" + +msgid "Printer Paused" +msgstr "打印机已暂停" + +msgid "Printer Settings" +msgstr "打印机设置" + +msgid "Printer cannot print supplied content." +msgstr "打印机无法打印所提供的内容。" + +msgid "Printer cannot print with supplied options." +msgstr "打印机无法使用所提供的选项打印。" + +msgid "Printer does not support required IPP attributes or document formats." +msgstr "打印机不支持必要的 IPP 属性或文档格式。" + +msgid "Printer:" +msgstr "打印机:" + +msgid "Printers" +msgstr "打印机" + +#, c-format +msgid "Printing page %d, %u%% complete." +msgstr "正在打印第 %d 页,已完成 %u%%。" + +msgid "Punch" +msgstr "冲压" + +msgid "Quarto" +msgstr "四开" + +msgid "Quota limit reached." +msgstr "已达到限额上限。" + +# Bug report to be opened at upstream: +# - Not using Tab for formatting. +# - Will mess up on CJK and double-width environments. +msgid "Rank Owner Job File(s) Total Size" +msgstr "排序 所有者 任务 文件 总大小" + +msgid "Reject Jobs" +msgstr "拒绝任务" + +#, c-format +msgid "Remote host did not accept control file (%d)." +msgstr "远程主机未接受控制文件(%d)。" + +#, c-format +msgid "Remote host did not accept data file (%d)." +msgstr "远程主机未接受数据文件(%d)。" + +msgid "Reprint After Error" +msgstr "错误后重新打印" + +msgid "Request Entity Too Large" +msgstr "请求的条目过大" + +msgid "Resolution" +msgstr "分辨率" + +msgid "Resume Class" +msgstr "继续类" + +msgid "Resume Printer" +msgstr "继续打印机" + +msgid "Return Address" +msgstr "返回地址" + +msgid "Rewind" +msgstr "回退" + +msgid "SEQUENCE uses indefinite length" +msgstr "SEQUENCE 使用不定长度" + +msgid "SSL/TLS Negotiation Error" +msgstr "SSL/TLS 协商错误" + +msgid "See Other" +msgstr "查看其他" + +msgid "See remote printer." +msgstr "查看远程打印机。" + +msgid "Self-signed credentials are blocked." +msgstr "禁止使用自签发的凭据。" + +msgid "Sending data to printer." +msgstr "正在向打印机发送数据。" + +msgid "Server Restarted" +msgstr "服务器已重启" + +msgid "Server Security Auditing" +msgstr "服务器安全审计" + +msgid "Server Started" +msgstr "服务器已启动" + +msgid "Server Stopped" +msgstr "服务器已停止" + +msgid "Server credentials not set." +msgstr "未设置服务器凭据。" + +msgid "Service Unavailable" +msgstr "服务不可用" + +msgid "Set Allowed Users" +msgstr "设置允许的用户" + +msgid "Set As Server Default" +msgstr "设置为服务器默认值" + +msgid "Set Class Options" +msgstr "设置类选项" + +msgid "Set Printer Options" +msgstr "设置打印机选项" + +msgid "Set Publishing" +msgstr "设置出版" + +msgid "Shipping Address" +msgstr "邮寄地址" + +msgid "Short-Edge (Landscape)" +msgstr "短边缘(水平)" + +msgid "Special Paper" +msgstr "特殊纸张" + +#, c-format +msgid "Spooling job, %.0f%% complete." +msgstr "正在转存任务,已完成 %.0f%%。" + +msgid "Standard" +msgstr "标准" + +msgid "Staple" +msgstr "装订" + +#. TRANSLATORS: Banner/cover sheet before the print job. +msgid "Starting Banner" +msgstr "起始横幅" + +#, c-format +msgid "Starting page %d." +msgstr "正在开始第 %d 页。" + +msgid "Statement" +msgstr "声明" + +#, c-format +msgid "Subscription #%d does not exist." +msgstr "订阅 #%d 不存在。" + +msgid "Substitutions:" +msgstr "替代:" + +msgid "Super A" +msgstr "超大 A" + +msgid "Super B" +msgstr "超大 B" + +msgid "Super B/A3" +msgstr "超大 B/A3" + +msgid "Switching Protocols" +msgstr "正在切换协议" + +msgid "Tabloid" +msgstr "大幅面" + +msgid "Tabloid Oversize" +msgstr "超大幅面" + +msgid "Tabloid Oversize Long Edge" +msgstr "超大幅面长边缘" + +msgid "Tear" +msgstr "撕纸" + +msgid "Tear-Off" +msgstr "撕纸" + +msgid "Tear-Off Adjust Position" +msgstr "调整撕纸位置" + +#, c-format +msgid "The \"%s\" attribute is required for print jobs." +msgstr "打印任务必须带有“%s”属性。" + +#, c-format +msgid "The %s attribute cannot be provided with job-ids." +msgstr "属性 %s 不能和 job-id 一同提供。" + +#, c-format +msgid "" +"The '%s' Job Status attribute cannot be supplied in a job creation request." +msgstr "任务状态属性“%s”不能与任务创建请求一同提供。" + +#, c-format +msgid "" +"The '%s' operation attribute cannot be supplied in a Create-Job request." +msgstr "操作属性“%s”不能与 Create-Job 请求一同提供。" + +#, c-format +msgid "The PPD file \"%s\" could not be found." +msgstr "找不到 PPD 文件“%s”。" + +#, c-format +msgid "The PPD file \"%s\" could not be opened: %s" +msgstr "无法打开 PPD 文件“%s”:%s" + +msgid "The PPD file could not be opened." +msgstr "无法打开 PPD 文件。" + +msgid "" +"The class name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/), or the pound sign (#)." +msgstr "类名最多可包含 127 可打印字符,不能包含空格、斜杠(/)或井号(#)。" + +msgid "" +"The notify-lease-duration attribute cannot be used with job subscriptions." +msgstr "notify-lease-duration 属性不可用于任务订阅。" + +#, c-format +msgid "The notify-user-data value is too large (%d > 63 octets)." +msgstr "notify-user-data 值过大(%d > 63 八位值)。" + +msgid "The printer configuration is incorrect or the printer no longer exists." +msgstr "打印机配置不正确或打印机已不存在。" + +msgid "The printer did not respond." +msgstr "打印机无响应。" + +msgid "The printer is in use." +msgstr "打印机正在使用中。" + +msgid "The printer is not connected." +msgstr "打印机未连接。" + +msgid "The printer is not responding." +msgstr "打印机无响应。" + +msgid "The printer is now connected." +msgstr "打印机已连接。" + +msgid "The printer is now online." +msgstr "打印机在线。" + +msgid "The printer is offline." +msgstr "打印机离线。" + +msgid "The printer is unreachable at this time." +msgstr "打印机暂时无法访问。" + +msgid "The printer may not exist or is unavailable at this time." +msgstr "打印机暂时不存在或不可用。" + +msgid "" +"The printer name may only contain up to 127 printable characters and may not " +"contain spaces, slashes (/ \\), quotes (' \"), question mark (?), or the " +"pound sign (#)." +msgstr "" +"打印机名称最多能包含 127 个可打印字符,但不可包含空格,斜杠(/ 或 \\),引号" +"(' 或 \"),问号(?)或井号(#)。" + +msgid "The printer or class does not exist." +msgstr "打印机或类不存在。" + +msgid "The printer or class is not shared." +msgstr "打印机或类未共享。" + +#, c-format +msgid "The printer-uri \"%s\" contains invalid characters." +msgstr "printer-uri“%s”包含无效字符。" + +msgid "The printer-uri attribute is required." +msgstr "必须提供 printer-uri 属性。" + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/classes/CLASSNAME\"." +msgstr "printer-uri 必须使用如下格式:“ipp://HOSTNAME/classes/CLASSNAME”。" + +msgid "" +"The printer-uri must be of the form \"ipp://HOSTNAME/printers/PRINTERNAME\"." +msgstr "printer-uri 必须使用如下格式:“ipp://HOSTNAME/printers/PRINTERNAME”。" + +msgid "" +"The web interface is currently disabled. Run \"cupsctl WebInterface=yes\" to " +"enable it." +msgstr "网页界面当前被禁用。运行“cupsctl WebInterface=yes”来启用。" + +#, c-format +msgid "The which-jobs value \"%s\" is not supported." +msgstr "不支持的 which-jobs 值“%s”。" + +msgid "There are too many subscriptions." +msgstr "订阅过多。" + +msgid "There was an unrecoverable USB error." +msgstr "遇到了不可恢复的 USB 错误。" + +msgid "Thermal Transfer Media" +msgstr "热敏介质" + +msgid "Too many active jobs." +msgstr "活动任务过多。" + +#, c-format +msgid "Too many job-sheets values (%d > 2)." +msgstr "job-sheets 值过多(%d > 2)。" + +#, c-format +msgid "Too many printer-state-reasons values (%d > %d)." +msgstr "printer-state-reasons 值过多(%d > %d)。" + +msgid "Transparency" +msgstr "透明度" + +msgid "Tray" +msgstr "托盘" + +msgid "Tray 1" +msgstr "托盘 1" + +msgid "Tray 2" +msgstr "托盘 2" + +msgid "Tray 3" +msgstr "托盘 3" + +msgid "Tray 4" +msgstr "托盘 4" + +msgid "Trust on first use is disabled." +msgstr "初次使用信任已禁用。" + +msgid "URI Too Long" +msgstr "URI 过长" + +msgid "URI too large" +msgstr "URI 过大" + +msgid "US Fanfold" +msgstr "US 折叠页" + +msgid "US Ledger" +msgstr "US Ledger" + +msgid "US Legal" +msgstr "US Legal" + +msgid "US Legal Oversize" +msgstr "超大 US Legal" + +msgid "US Letter" +msgstr "US Letter" + +msgid "US Letter Long Edge" +msgstr "长边缘 US Letter" + +msgid "US Letter Oversize" +msgstr "超大 US Letter" + +msgid "US Letter Oversize Long Edge" +msgstr "超大长边缘 US Letter" + +msgid "US Letter Small" +msgstr "小型 US Letter" + +msgid "Unable to access cupsd.conf file" +msgstr "无法访问 cupsd.conf 文件。" + +msgid "Unable to access help file." +msgstr "无法访问帮助文件。" + +msgid "Unable to add class" +msgstr "无法添加类" + +msgid "Unable to add document to print job." +msgstr "无法向打印任务添加文档。" + +#, c-format +msgid "Unable to add job for destination \"%s\"." +msgstr "无法向目标“%s”添加任务。" + +msgid "Unable to add printer" +msgstr "无法添加打印机" + +msgid "Unable to allocate memory for file types." +msgstr "无法为文件类型分配内存。" + +msgid "Unable to allocate memory for page info" +msgstr "无法为页面信息分配内存" + +msgid "Unable to allocate memory for pages array" +msgstr "无法为页面组分配内存" + +msgid "Unable to allocate memory for printer" +msgstr "" + +msgid "Unable to cancel print job." +msgstr "无法取消打印任务。" + +msgid "Unable to change printer" +msgstr "无法更换打印机" + +msgid "Unable to change printer-is-shared attribute" +msgstr "无法更改 printer-is-shared 属性" + +msgid "Unable to change server settings" +msgstr "无法更改服务器选项" + +#, c-format +msgid "Unable to compile mimeMediaType regular expression: %s." +msgstr "无法编译 mimeMediaType 正则表达式:%s。" + +#, c-format +msgid "Unable to compile naturalLanguage regular expression: %s." +msgstr "无法编译 naturalLanguage 正则表达式:%s。" + +msgid "Unable to configure printer options." +msgstr "无法配置打印机选项。" + +msgid "Unable to connect to host." +msgstr "无法连接主机。" + +msgid "Unable to contact printer, queuing on next printer in class." +msgstr "无法联系打印机,已列队于类中的下一台打印机。" + +#, c-format +msgid "Unable to copy PPD file - %s" +msgstr "无法复制 PPD 文件 — %s" + +msgid "Unable to copy PPD file." +msgstr "无法复制 PPD 文件。" + +msgid "Unable to create credentials from array." +msgstr "无法从打印组创建服务器凭据。" + +msgid "Unable to create printer-uri" +msgstr "无法创建 printer-uri。" + +msgid "Unable to create printer." +msgstr "无法创建打印机。" + +msgid "Unable to create server credentials." +msgstr "无法创建服务器凭据。" + +#, c-format +msgid "Unable to create spool directory \"%s\": %s" +msgstr "" + +msgid "Unable to create temporary file" +msgstr "无法创建临时文件" + +msgid "Unable to delete class" +msgstr "无法删除类" + +msgid "Unable to delete printer" +msgstr "无法删除打印机" + +msgid "Unable to do maintenance command" +msgstr "无法执行维护命令" + +msgid "Unable to edit cupsd.conf files larger than 1MB" +msgstr "无法编辑大小超过 1MB 的 cupsd.conf 文件" + +#, c-format +msgid "Unable to establish a secure connection to host (%d)." +msgstr "" + +msgid "" +"Unable to establish a secure connection to host (certificate chain invalid)." +msgstr "无法建立到主机的安全连接(无效证书链)。" + +msgid "" +"Unable to establish a secure connection to host (certificate not yet valid)." +msgstr "无法建立到主机的安全连接(证书尚未生效)。" + +msgid "Unable to establish a secure connection to host (expired certificate)." +msgstr "无法建立到主机的安全连接(证书已过期)。" + +msgid "Unable to establish a secure connection to host (host name mismatch)." +msgstr "无法建立到主机的安全连接(主机名不匹配)。" + +msgid "" +"Unable to establish a secure connection to host (peer dropped connection " +"before responding)." +msgstr "无法建立到主机的安全连接(对方在回复前断开连接)。" + +msgid "" +"Unable to establish a secure connection to host (self-signed certificate)." +msgstr "无法建立到主机的安全连接(自签发证书)。" + +msgid "" +"Unable to establish a secure connection to host (untrusted certificate)." +msgstr "无法建立到主机的安全连接(未信任的证书)。" + +msgid "Unable to establish a secure connection to host." +msgstr "无法建立到主机的安全连接。" + +#, c-format +msgid "Unable to execute command \"%s\": %s" +msgstr "" + +msgid "Unable to find destination for job" +msgstr "找不到任务目的地" + +msgid "Unable to find printer." +msgstr "找不到打印机。" + +msgid "Unable to find server credentials." +msgstr "找不到服务器凭据。" + +msgid "Unable to get backend exit status." +msgstr "无法获取后端退出状态。" + +msgid "Unable to get class list" +msgstr "无法获取类列表" + +msgid "Unable to get class status" +msgstr "无法获取类状态" + +msgid "Unable to get list of printer drivers" +msgstr "无法获取打印机驱动列表" + +msgid "Unable to get printer attributes" +msgstr "无法获取打印机属性" + +msgid "Unable to get printer list" +msgstr "无法获取打印机列表" + +msgid "Unable to get printer status" +msgstr "无法获取打印机状态" + +msgid "Unable to get printer status." +msgstr "无法获取打印机状态。" + +msgid "Unable to load help index." +msgstr "无法载入帮助索引。" + +#, c-format +msgid "Unable to locate printer \"%s\"." +msgstr "无法定位打印机“%s”。" + +msgid "Unable to locate printer." +msgstr "无法定位打印机。" + +msgid "Unable to modify class" +msgstr "无法编辑类" + +msgid "Unable to modify printer" +msgstr "无法编辑打印机" + +msgid "Unable to move job" +msgstr "无法移动任务" + +msgid "Unable to move jobs" +msgstr "无法移动任务" + +msgid "Unable to open PPD file" +msgstr "无法打开 PPD 文件" + +msgid "Unable to open cupsd.conf file:" +msgstr "无法打开 cupsd.conf 文件:" + +msgid "Unable to open device file" +msgstr "无法打开设备文件" + +#, c-format +msgid "Unable to open document #%d in job #%d." +msgstr "无法打开任务 #%2$d 中的文档 #%1$d。" + +msgid "Unable to open help file." +msgstr "无法打开帮助文件。" + +msgid "Unable to open print file" +msgstr "无法打开打印文件" + +msgid "Unable to open raster file" +msgstr "无法打开栅格文件" + +msgid "Unable to print test page" +msgstr "无法打印测试页" + +msgid "Unable to read print data." +msgstr "无法读取打印数据。" + +#, c-format +msgid "Unable to register \"%s.%s\": %d" +msgstr "" + +msgid "Unable to rename job document file." +msgstr "无法重命名任务文档。" + +msgid "Unable to resolve printer-uri." +msgstr "无法解析 printer-uri。" + +# "Unable to read file" perhaps? +msgid "Unable to see in file" +msgstr "无法读取文件" + +msgid "Unable to send command to printer driver" +msgstr "无法向打印机驱动发送命令" + +msgid "Unable to send data to printer." +msgstr "无法向打印机发送数据。" + +msgid "Unable to set options" +msgstr "无法设置选项" + +msgid "Unable to set server default" +msgstr "无法设置服务器默认值" + +msgid "Unable to start backend process." +msgstr "无法启动后端进程。" + +msgid "Unable to upload cupsd.conf file" +msgstr "无法上传 cupsd.conf 文件" + +msgid "Unable to use legacy USB class driver." +msgstr "无法使用老式 USB 类驱动。" + +msgid "Unable to write print data" +msgstr "无法写入打印数据" + +#, c-format +msgid "Unable to write uncompressed print data: %s" +msgstr "无法写入已解包的打印数据:%s" + +msgid "Unauthorized" +msgstr "未认证" + +msgid "Units" +msgstr "单元" + +msgid "Unknown" +msgstr "未知" + +#, c-format +msgid "Unknown choice \"%s\" for option \"%s\"." +msgstr "选项“%2$s”带有未知选择“%1$s”。" + +#, c-format +msgid "Unknown directive \"%s\" on line %d of \"%s\" ignored." +msgstr "" + +#, c-format +msgid "Unknown encryption option value: \"%s\"." +msgstr "未知加密选项值:“%s”。" + +#, c-format +msgid "Unknown file order: \"%s\"." +msgstr "未知文件排序:“%s”。" + +#, c-format +msgid "Unknown format character: \"%c\"." +msgstr "未知格式字符:“%c”。" + +msgid "Unknown hash algorithm." +msgstr "未知哈希值算法。" + +msgid "Unknown media size name." +msgstr "未知介质尺寸名。" + +#, c-format +msgid "Unknown option \"%s\" with value \"%s\"." +msgstr "带有值“%2$s”的未知选项“%1$s”。" + +#, c-format +msgid "Unknown option \"%s\"." +msgstr "未知选项“%s”。" + +#, c-format +msgid "Unknown print mode: \"%s\"." +msgstr "未知打印模式:“%s”。" + +#, c-format +msgid "Unknown printer-error-policy \"%s\"." +msgstr "未知 printer-error-policy“%s”。" + +#, c-format +msgid "Unknown printer-op-policy \"%s\"." +msgstr "未知 printer-op-policy“%s”。" + +msgid "Unknown request method." +msgstr "未知请求方式。" + +msgid "Unknown request version." +msgstr "未知请求版本。" + +msgid "Unknown scheme in URI" +msgstr "URI 中含有未知方案" + +msgid "Unknown service name." +msgstr "未知服务名称。" + +#, c-format +msgid "Unknown version option value: \"%s\"." +msgstr "未知版本选项值:“%s”。" + +#, c-format +msgid "Unsupported 'compression' value \"%s\"." +msgstr "不支持的“compression”值“%s”。" + +#, c-format +msgid "Unsupported 'document-format' value \"%s\"." +msgstr "不支持的“document-format”值“%s”。" + +msgid "Unsupported 'job-hold-until' value." +msgstr "不支持的“job-hold-until”值。" + +msgid "Unsupported 'job-name' value." +msgstr "不支持的“job-name”值。" + +#, c-format +msgid "Unsupported character set \"%s\"." +msgstr "不支持的字符集“%s”。" + +#, c-format +msgid "Unsupported compression \"%s\"." +msgstr "不支持的压缩算法“%s”。" + +#, c-format +msgid "Unsupported document-format \"%s\"." +msgstr "不支持的 document-format“%s”。" + +#, c-format +msgid "Unsupported document-format \"%s/%s\"." +msgstr "不支持的 document-format“%s/%s”。" + +#, c-format +msgid "Unsupported format \"%s\"." +msgstr "不支持的格式“%s”。" + +msgid "Unsupported margins." +msgstr "不支持的边界。" + +msgid "Unsupported media value." +msgstr "不支持的介质值。" + +#, c-format +msgid "Unsupported number-up value %d, using number-up=1." +msgstr "不支持的 number-up 值 %d,将使用 number-up=1。" + +#, c-format +msgid "Unsupported number-up-layout value %s, using number-up-layout=lrtb." +msgstr "不支持的 number-up-layout 值 %s,将使用 number-up-layout=lrtb。" + +#, c-format +msgid "Unsupported page-border value %s, using page-border=none." +msgstr "不支持的 page-border 值 %s,将使用 page-border=none。" + +msgid "Unsupported raster data." +msgstr "不支持的栅格化数据。" + +msgid "Unsupported value type" +msgstr "不支持的值类型" + +msgid "Upgrade Required" +msgstr "需要升级" + +#, c-format +msgid "Usage: %s [options] destination(s)" +msgstr "" + +#, c-format +msgid "Usage: %s job-id user title copies options [file]" +msgstr "用法:%s job-id user title copies options [file]" + +msgid "" +"Usage: cancel [options] [id]\n" +" cancel [options] [destination]\n" +" cancel [options] [destination-id]" +msgstr "" + +msgid "Usage: cupsctl [options] [param=value ... paramN=valueN]" +msgstr "用法:cupsctl [options] [param=value ... paramN=valueN]" + +msgid "Usage: cupsd [options]" +msgstr "用法:cupsd [options]" + +msgid "Usage: cupsfilter [ options ] [ -- ] filename" +msgstr "用法:cupsfilter [ options ] [ -- ] filename" + +msgid "" +"Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" +" program | cupstestppd [options] -" +msgstr "" + +msgid "Usage: ippeveprinter [options] \"name\"" +msgstr "" + +msgid "" +"Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" ippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" ippfind --help\n" +" ippfind --version" +msgstr "" +"用法:\tippfind [options] regtype[,subtype][.domain.] ... [expression]\n" +" \tippfind [options] name[.regtype[.domain.]] ... [expression]\n" +" \tippfind --help\n" +" \tippfind --version" + +msgid "Usage: ipptool [options] URI filename [ ... filenameN ]" +msgstr "用法:ipptool [options] URI filename [ ... filenameN ]" + +msgid "" +"Usage: lp [options] [--] [file(s)]\n" +" lp [options] -i id" +msgstr "" + +msgid "" +"Usage: lpadmin [options] -d destination\n" +" lpadmin [options] -p destination\n" +" lpadmin [options] -p destination -c class\n" +" lpadmin [options] -p destination -r class\n" +" lpadmin [options] -x destination" +msgstr "" + +msgid "" +"Usage: lpinfo [options] -m\n" +" lpinfo [options] -v" +msgstr "" + +msgid "" +"Usage: lpmove [options] job destination\n" +" lpmove [options] source-destination destination" +msgstr "" + +msgid "" +"Usage: lpoptions [options] -d destination\n" +" lpoptions [options] [-p destination] [-l]\n" +" lpoptions [options] [-p destination] -o option[=value]\n" +" lpoptions [options] -x destination" +msgstr "" + +msgid "Usage: lpq [options] [+interval]" +msgstr "" + +msgid "Usage: lpr [options] [file(s)]" +msgstr "" + +msgid "" +"Usage: lprm [options] [id]\n" +" lprm [options] -" +msgstr "" + +msgid "Usage: lpstat [options]" +msgstr "" + +msgid "Usage: ppdc [options] filename.drv [ ... filenameN.drv ]" +msgstr "用法:ppdc [options] filename.drv [ ... filenameN.drv ]" + +msgid "Usage: ppdhtml [options] filename.drv >filename.html" +msgstr "用法:ppdhtml [options] filename.drv >filename.html" + +msgid "Usage: ppdi [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "用法:ppdi [options] filename.ppd [ ... filenameN.ppd ]" + +msgid "Usage: ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" +msgstr "用法:ppdmerge [options] filename.ppd [ ... filenameN.ppd ]" + +msgid "" +"Usage: ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" +msgstr "" +"用法:ppdpo [options] -o filename.po filename.drv [ ... filenameN.drv ]" + +msgid "Usage: snmp [host-or-ip-address]" +msgstr "用法:snmp [host-or-ip-address]" + +#, c-format +msgid "Using spool directory \"%s\"." +msgstr "" + +msgid "Value uses indefinite length" +msgstr "Value 使用不定长度" + +msgid "VarBind uses indefinite length" +msgstr "VarBind 使用不定长度" + +msgid "Version uses indefinite length" +msgstr "Version 使用不定长度" + +msgid "Waiting for job to complete." +msgstr "正在等待任务完成。" + +msgid "Waiting for printer to become available." +msgstr "正在等待打印机变得可用。" + +msgid "Waiting for printer to finish." +msgstr "正在等待打印机完成任务。" + +msgid "Warning: This program will be removed in a future version of CUPS." +msgstr "" + +msgid "Web Interface is Disabled" +msgstr "网页界面被禁用" + +msgid "Yes" +msgstr "是" + +msgid "You cannot access this page." +msgstr "" + +#, c-format +msgid "You must access this page using the URL https://%s:%d%s." +msgstr "你必须通过此 URL 访问此页面:https://%s:%d%s" + +msgid "Your account does not have the necessary privileges." +msgstr "" + +msgid "ZPL Label Printer" +msgstr "ZPL 标签打印机" + +msgid "Zebra" +msgstr "Zebra" + +msgid "aborted" +msgstr "已中止" + +#. TRANSLATORS: Accuracy Units +msgid "accuracy-units" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "accuracy-units.mm" +msgstr "" + +#. TRANSLATORS: Nanometers +msgid "accuracy-units.nm" +msgstr "" + +#. TRANSLATORS: Micrometers +msgid "accuracy-units.um" +msgstr "" + +#. TRANSLATORS: Bale Output +msgid "baling" +msgstr "" + +#. TRANSLATORS: Bale Using +msgid "baling-type" +msgstr "" + +#. TRANSLATORS: Band +msgid "baling-type.band" +msgstr "" + +#. TRANSLATORS: Shrink Wrap +msgid "baling-type.shrink-wrap" +msgstr "" + +#. TRANSLATORS: Wrap +msgid "baling-type.wrap" +msgstr "" + +#. TRANSLATORS: Bale After +msgid "baling-when" +msgstr "" + +#. TRANSLATORS: Job +msgid "baling-when.after-job" +msgstr "" + +#. TRANSLATORS: Sets +msgid "baling-when.after-sets" +msgstr "" + +#. TRANSLATORS: Bind Output +msgid "binding" +msgstr "" + +#. TRANSLATORS: Bind Edge +msgid "binding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "binding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "binding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "binding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "binding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Binder Type +msgid "binding-type" +msgstr "" + +#. TRANSLATORS: Adhesive +msgid "binding-type.adhesive" +msgstr "" + +#. TRANSLATORS: Comb +msgid "binding-type.comb" +msgstr "" + +#. TRANSLATORS: Flat +msgid "binding-type.flat" +msgstr "" + +#. TRANSLATORS: Padding +msgid "binding-type.padding" +msgstr "" + +#. TRANSLATORS: Perfect +msgid "binding-type.perfect" +msgstr "" + +#. TRANSLATORS: Spiral +msgid "binding-type.spiral" +msgstr "" + +#. TRANSLATORS: Tape +msgid "binding-type.tape" +msgstr "" + +#. TRANSLATORS: Velo +msgid "binding-type.velo" +msgstr "" + +msgid "canceled" +msgstr "已取消" + +#. TRANSLATORS: Chamber Humidity +msgid "chamber-humidity" +msgstr "" + +#. TRANSLATORS: Chamber Temperature +msgid "chamber-temperature" +msgstr "" + +#. TRANSLATORS: Print Job Cost +msgid "charge-info-message" +msgstr "" + +#. TRANSLATORS: Coat Sheets +msgid "coating" +msgstr "" + +#. TRANSLATORS: Add Coating To +msgid "coating-sides" +msgstr "" + +#. TRANSLATORS: Back +msgid "coating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "coating-sides.both" +msgstr "" + +#. TRANSLATORS: Front +msgid "coating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Coating +msgid "coating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "coating-type.archival" +msgstr "" + +#. TRANSLATORS: Archival Glossy +msgid "coating-type.archival-glossy" +msgstr "" + +#. TRANSLATORS: Archival Matte +msgid "coating-type.archival-matte" +msgstr "" + +#. TRANSLATORS: Archival Semi Gloss +msgid "coating-type.archival-semi-gloss" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "coating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "coating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "coating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "coating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Silicone +msgid "coating-type.silicone" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "coating-type.translucent" +msgstr "" + +msgid "completed" +msgstr "已完成" + +#. TRANSLATORS: Print Confirmation Sheet +msgid "confirmation-sheet-print" +msgstr "" + +#. TRANSLATORS: Copies +msgid "copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "cover-front" +msgstr "" + +#. TRANSLATORS: Cover Sheet Info +msgid "cover-sheet-info" +msgstr "" + +#. TRANSLATORS: Date Time +msgid "cover-sheet-info-supported.date-time" +msgstr "" + +#. TRANSLATORS: From Name +msgid "cover-sheet-info-supported.from-name" +msgstr "" + +#. TRANSLATORS: Logo +msgid "cover-sheet-info-supported.logo" +msgstr "" + +#. TRANSLATORS: Message +msgid "cover-sheet-info-supported.message" +msgstr "" + +#. TRANSLATORS: Organization +msgid "cover-sheet-info-supported.organization" +msgstr "" + +#. TRANSLATORS: Subject +msgid "cover-sheet-info-supported.subject" +msgstr "" + +#. TRANSLATORS: To Name +msgid "cover-sheet-info-supported.to-name" +msgstr "" + +#. TRANSLATORS: Printed Cover +msgid "cover-type" +msgstr "" + +#. TRANSLATORS: No Cover +msgid "cover-type.no-cover" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "cover-type.print-back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "cover-type.print-both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "cover-type.print-front" +msgstr "" + +#. TRANSLATORS: None +msgid "cover-type.print-none" +msgstr "" + +#. TRANSLATORS: Cover Output +msgid "covering" +msgstr "" + +#. TRANSLATORS: Add Cover +msgid "covering-name" +msgstr "" + +#. TRANSLATORS: Plain +msgid "covering-name.plain" +msgstr "" + +#. TRANSLATORS: Pre-cut +msgid "covering-name.pre-cut" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "covering-name.pre-printed" +msgstr "" + +msgid "cups-deviced failed to execute." +msgstr "无法执行 cups-deviced。" + +msgid "cups-driverd failed to execute." +msgstr "无法执行 cups-driverd。" + +#, c-format +msgid "cupsctl: Cannot set %s directly." +msgstr "" + +#, c-format +msgid "cupsctl: Unable to connect to server: %s" +msgstr "cupsctl:无法连接服务器:%s" + +#, c-format +msgid "cupsctl: Unknown option \"%s\"" +msgstr "cupsctl:未知选项“%s”" + +#, c-format +msgid "cupsctl: Unknown option \"-%c\"" +msgstr "cupsctl:未知选项“-%c”" + +msgid "cupsd: Expected config filename after \"-c\" option." +msgstr "cupsd:“-c”选项后预期配置文件名。" + +msgid "cupsd: Expected cups-files.conf filename after \"-s\" option." +msgstr "cupsd:“-s”选项后预期 cups-files.conf 文件名。" + +msgid "cupsd: On-demand support not compiled in, running in normal mode." +msgstr "cupsd:未编译按需 (on-demand) 支持,使用一般模式运行。" + +msgid "cupsd: Relative cups-files.conf filename not allowed." +msgstr "cupsd:不允许相对 cups-files.conf 文件名。" + +msgid "cupsd: Unable to get current directory." +msgstr "cupsd:无法获取当前目录。" + +msgid "cupsd: Unable to get path to cups-files.conf file." +msgstr "cupsd:无法获取 cups-files.conf 文件的路径。" + +#, c-format +msgid "cupsd: Unknown argument \"%s\" - aborting." +msgstr "cupsd:未知参数“%s”- 已中止。" + +#, c-format +msgid "cupsd: Unknown option \"%c\" - aborting." +msgstr "cupsd:未知选项“%c”- 已中止。" + +#, c-format +msgid "cupsfilter: Invalid document number %d." +msgstr "cupsfilter:无效文档数 %d。" + +#, c-format +msgid "cupsfilter: Invalid job ID %d." +msgstr "cupsfilter:无效任务 ID %d。" + +msgid "cupsfilter: Only one filename can be specified." +msgstr "cupsfilter:只能指定一个文件名。" + +#, c-format +msgid "cupsfilter: Unable to get job file - %s" +msgstr "cupsfilter:无法获取任务文件 — %s" + +msgid "cupstestppd: The -q option is incompatible with the -v option." +msgstr "cupstestppd:不能同时使用 -q 和 -v 选项。" + +msgid "cupstestppd: The -v option is incompatible with the -q option." +msgstr "cupstestppd:不能同时使用 -v 和 -q 选项。" + +#. TRANSLATORS: Detailed Status Message +msgid "detailed-status-message" +msgstr "" + +#, c-format +msgid "device for %s/%s: %s" +msgstr "用于 %s/%s 的设备:%s" + +#, c-format +msgid "device for %s: %s" +msgstr "用于 %s 的设备:%s" + +#. TRANSLATORS: Copies +msgid "document-copies" +msgstr "" + +#. TRANSLATORS: Document Privacy Attributes +msgid "document-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Document Description +msgid "document-privacy-attributes.document-description" +msgstr "" + +#. TRANSLATORS: Document Template +msgid "document-privacy-attributes.document-template" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Document Privacy Scope +msgid "document-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "document-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "document-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "document-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "document-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Document State +msgid "document-state" +msgstr "" + +#. TRANSLATORS: Detailed Document State +msgid "document-state-reasons" +msgstr "" + +#. TRANSLATORS: Aborted By System +msgid "document-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Canceled At Device +msgid "document-state-reasons.canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled By Operator +msgid "document-state-reasons.canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled By User +msgid "document-state-reasons.canceled-by-user" +msgstr "" + +#. TRANSLATORS: Completed Successfully +msgid "document-state-reasons.completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed With Errors +msgid "document-state-reasons.completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed With Warnings +msgid "document-state-reasons.completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Compression Error +msgid "document-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Data Insufficient +msgid "document-state-reasons.data-insufficient" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "document-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "document-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Digital Signature Wait +msgid "document-state-reasons.digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "document-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "document-state-reasons.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "document-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "document-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "document-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "document-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "document-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "document-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "document-state-reasons.incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "document-state-reasons.interpreting" +msgstr "" + +#. TRANSLATORS: None +msgid "document-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "document-state-reasons.outgoing" +msgstr "" + +#. TRANSLATORS: Printing +msgid "document-state-reasons.printing" +msgstr "" + +#. TRANSLATORS: Processing To Stop Point +msgid "document-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Queued +msgid "document-state-reasons.queued" +msgstr "" + +#. TRANSLATORS: Queued For Marker +msgid "document-state-reasons.queued-for-marker" +msgstr "" + +#. TRANSLATORS: Queued In Device +msgid "document-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "document-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "document-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "document-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "document-state-reasons.transforming" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "document-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "document-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "document-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "document-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "document-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "document-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "document-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "document-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "document-state.9" +msgstr "" + +msgid "error-index uses indefinite length" +msgstr "error-index 使用不定长度" + +msgid "error-status uses indefinite length" +msgstr "error-status 使用不定长度" + +msgid "" +"expression --and expression\n" +" Logical AND" +msgstr "" + +msgid "" +"expression --or expression\n" +" Logical OR" +msgstr "" + +msgid "expression expression Logical AND" +msgstr "" + +#. TRANSLATORS: Feed Orientation +msgid "feed-orientation" +msgstr "" + +#. TRANSLATORS: Long Edge First +msgid "feed-orientation.long-edge-first" +msgstr "" + +#. TRANSLATORS: Short Edge First +msgid "feed-orientation.short-edge-first" +msgstr "" + +#. TRANSLATORS: Fetch Status Code +msgid "fetch-status-code" +msgstr "" + +#. TRANSLATORS: Finishing Template +msgid "finishing-template" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishing-template.bale" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishing-template.bind" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishing-template.bind-bottom" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishing-template.bind-left" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishing-template.bind-right" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishing-template.bind-top" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishing-template.booklet-maker" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishing-template.coat" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishing-template.cover" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishing-template.edge-stitch" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishing-template.edge-stitch-bottom" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishing-template.edge-stitch-left" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishing-template.edge-stitch-right" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishing-template.edge-stitch-top" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishing-template.fold" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishing-template.fold-accordion" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishing-template.fold-double-gate" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishing-template.fold-engineering-z" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishing-template.fold-gate" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishing-template.fold-half" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishing-template.fold-half-z" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishing-template.fold-left-gate" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishing-template.fold-letter" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishing-template.fold-parallel" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishing-template.fold-poster" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishing-template.fold-right-gate" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishing-template.fold-z" +msgstr "" + +#. TRANSLATORS: JDF F10-1 +msgid "finishing-template.jdf-f10-1" +msgstr "" + +#. TRANSLATORS: JDF F10-2 +msgid "finishing-template.jdf-f10-2" +msgstr "" + +#. TRANSLATORS: JDF F10-3 +msgid "finishing-template.jdf-f10-3" +msgstr "" + +#. TRANSLATORS: JDF F12-1 +msgid "finishing-template.jdf-f12-1" +msgstr "" + +#. TRANSLATORS: JDF F12-10 +msgid "finishing-template.jdf-f12-10" +msgstr "" + +#. TRANSLATORS: JDF F12-11 +msgid "finishing-template.jdf-f12-11" +msgstr "" + +#. TRANSLATORS: JDF F12-12 +msgid "finishing-template.jdf-f12-12" +msgstr "" + +#. TRANSLATORS: JDF F12-13 +msgid "finishing-template.jdf-f12-13" +msgstr "" + +#. TRANSLATORS: JDF F12-14 +msgid "finishing-template.jdf-f12-14" +msgstr "" + +#. TRANSLATORS: JDF F12-2 +msgid "finishing-template.jdf-f12-2" +msgstr "" + +#. TRANSLATORS: JDF F12-3 +msgid "finishing-template.jdf-f12-3" +msgstr "" + +#. TRANSLATORS: JDF F12-4 +msgid "finishing-template.jdf-f12-4" +msgstr "" + +#. TRANSLATORS: JDF F12-5 +msgid "finishing-template.jdf-f12-5" +msgstr "" + +#. TRANSLATORS: JDF F12-6 +msgid "finishing-template.jdf-f12-6" +msgstr "" + +#. TRANSLATORS: JDF F12-7 +msgid "finishing-template.jdf-f12-7" +msgstr "" + +#. TRANSLATORS: JDF F12-8 +msgid "finishing-template.jdf-f12-8" +msgstr "" + +#. TRANSLATORS: JDF F12-9 +msgid "finishing-template.jdf-f12-9" +msgstr "" + +#. TRANSLATORS: JDF F14-1 +msgid "finishing-template.jdf-f14-1" +msgstr "" + +#. TRANSLATORS: JDF F16-1 +msgid "finishing-template.jdf-f16-1" +msgstr "" + +#. TRANSLATORS: JDF F16-10 +msgid "finishing-template.jdf-f16-10" +msgstr "" + +#. TRANSLATORS: JDF F16-11 +msgid "finishing-template.jdf-f16-11" +msgstr "" + +#. TRANSLATORS: JDF F16-12 +msgid "finishing-template.jdf-f16-12" +msgstr "" + +#. TRANSLATORS: JDF F16-13 +msgid "finishing-template.jdf-f16-13" +msgstr "" + +#. TRANSLATORS: JDF F16-14 +msgid "finishing-template.jdf-f16-14" +msgstr "" + +#. TRANSLATORS: JDF F16-2 +msgid "finishing-template.jdf-f16-2" +msgstr "" + +#. TRANSLATORS: JDF F16-3 +msgid "finishing-template.jdf-f16-3" +msgstr "" + +#. TRANSLATORS: JDF F16-4 +msgid "finishing-template.jdf-f16-4" +msgstr "" + +#. TRANSLATORS: JDF F16-5 +msgid "finishing-template.jdf-f16-5" +msgstr "" + +#. TRANSLATORS: JDF F16-6 +msgid "finishing-template.jdf-f16-6" +msgstr "" + +#. TRANSLATORS: JDF F16-7 +msgid "finishing-template.jdf-f16-7" +msgstr "" + +#. TRANSLATORS: JDF F16-8 +msgid "finishing-template.jdf-f16-8" +msgstr "" + +#. TRANSLATORS: JDF F16-9 +msgid "finishing-template.jdf-f16-9" +msgstr "" + +#. TRANSLATORS: JDF F18-1 +msgid "finishing-template.jdf-f18-1" +msgstr "" + +#. TRANSLATORS: JDF F18-2 +msgid "finishing-template.jdf-f18-2" +msgstr "" + +#. TRANSLATORS: JDF F18-3 +msgid "finishing-template.jdf-f18-3" +msgstr "" + +#. TRANSLATORS: JDF F18-4 +msgid "finishing-template.jdf-f18-4" +msgstr "" + +#. TRANSLATORS: JDF F18-5 +msgid "finishing-template.jdf-f18-5" +msgstr "" + +#. TRANSLATORS: JDF F18-6 +msgid "finishing-template.jdf-f18-6" +msgstr "" + +#. TRANSLATORS: JDF F18-7 +msgid "finishing-template.jdf-f18-7" +msgstr "" + +#. TRANSLATORS: JDF F18-8 +msgid "finishing-template.jdf-f18-8" +msgstr "" + +#. TRANSLATORS: JDF F18-9 +msgid "finishing-template.jdf-f18-9" +msgstr "" + +#. TRANSLATORS: JDF F2-1 +msgid "finishing-template.jdf-f2-1" +msgstr "" + +#. TRANSLATORS: JDF F20-1 +msgid "finishing-template.jdf-f20-1" +msgstr "" + +#. TRANSLATORS: JDF F20-2 +msgid "finishing-template.jdf-f20-2" +msgstr "" + +#. TRANSLATORS: JDF F24-1 +msgid "finishing-template.jdf-f24-1" +msgstr "" + +#. TRANSLATORS: JDF F24-10 +msgid "finishing-template.jdf-f24-10" +msgstr "" + +#. TRANSLATORS: JDF F24-11 +msgid "finishing-template.jdf-f24-11" +msgstr "" + +#. TRANSLATORS: JDF F24-2 +msgid "finishing-template.jdf-f24-2" +msgstr "" + +#. TRANSLATORS: JDF F24-3 +msgid "finishing-template.jdf-f24-3" +msgstr "" + +#. TRANSLATORS: JDF F24-4 +msgid "finishing-template.jdf-f24-4" +msgstr "" + +#. TRANSLATORS: JDF F24-5 +msgid "finishing-template.jdf-f24-5" +msgstr "" + +#. TRANSLATORS: JDF F24-6 +msgid "finishing-template.jdf-f24-6" +msgstr "" + +#. TRANSLATORS: JDF F24-7 +msgid "finishing-template.jdf-f24-7" +msgstr "" + +#. TRANSLATORS: JDF F24-8 +msgid "finishing-template.jdf-f24-8" +msgstr "" + +#. TRANSLATORS: JDF F24-9 +msgid "finishing-template.jdf-f24-9" +msgstr "" + +#. TRANSLATORS: JDF F28-1 +msgid "finishing-template.jdf-f28-1" +msgstr "" + +#. TRANSLATORS: JDF F32-1 +msgid "finishing-template.jdf-f32-1" +msgstr "" + +#. TRANSLATORS: JDF F32-2 +msgid "finishing-template.jdf-f32-2" +msgstr "" + +#. TRANSLATORS: JDF F32-3 +msgid "finishing-template.jdf-f32-3" +msgstr "" + +#. TRANSLATORS: JDF F32-4 +msgid "finishing-template.jdf-f32-4" +msgstr "" + +#. TRANSLATORS: JDF F32-5 +msgid "finishing-template.jdf-f32-5" +msgstr "" + +#. TRANSLATORS: JDF F32-6 +msgid "finishing-template.jdf-f32-6" +msgstr "" + +#. TRANSLATORS: JDF F32-7 +msgid "finishing-template.jdf-f32-7" +msgstr "" + +#. TRANSLATORS: JDF F32-8 +msgid "finishing-template.jdf-f32-8" +msgstr "" + +#. TRANSLATORS: JDF F32-9 +msgid "finishing-template.jdf-f32-9" +msgstr "" + +#. TRANSLATORS: JDF F36-1 +msgid "finishing-template.jdf-f36-1" +msgstr "" + +#. TRANSLATORS: JDF F36-2 +msgid "finishing-template.jdf-f36-2" +msgstr "" + +#. TRANSLATORS: JDF F4-1 +msgid "finishing-template.jdf-f4-1" +msgstr "" + +#. TRANSLATORS: JDF F4-2 +msgid "finishing-template.jdf-f4-2" +msgstr "" + +#. TRANSLATORS: JDF F40-1 +msgid "finishing-template.jdf-f40-1" +msgstr "" + +#. TRANSLATORS: JDF F48-1 +msgid "finishing-template.jdf-f48-1" +msgstr "" + +#. TRANSLATORS: JDF F48-2 +msgid "finishing-template.jdf-f48-2" +msgstr "" + +#. TRANSLATORS: JDF F6-1 +msgid "finishing-template.jdf-f6-1" +msgstr "" + +#. TRANSLATORS: JDF F6-2 +msgid "finishing-template.jdf-f6-2" +msgstr "" + +#. TRANSLATORS: JDF F6-3 +msgid "finishing-template.jdf-f6-3" +msgstr "" + +#. TRANSLATORS: JDF F6-4 +msgid "finishing-template.jdf-f6-4" +msgstr "" + +#. TRANSLATORS: JDF F6-5 +msgid "finishing-template.jdf-f6-5" +msgstr "" + +#. TRANSLATORS: JDF F6-6 +msgid "finishing-template.jdf-f6-6" +msgstr "" + +#. TRANSLATORS: JDF F6-7 +msgid "finishing-template.jdf-f6-7" +msgstr "" + +#. TRANSLATORS: JDF F6-8 +msgid "finishing-template.jdf-f6-8" +msgstr "" + +#. TRANSLATORS: JDF F64-1 +msgid "finishing-template.jdf-f64-1" +msgstr "" + +#. TRANSLATORS: JDF F64-2 +msgid "finishing-template.jdf-f64-2" +msgstr "" + +#. TRANSLATORS: JDF F8-1 +msgid "finishing-template.jdf-f8-1" +msgstr "" + +#. TRANSLATORS: JDF F8-2 +msgid "finishing-template.jdf-f8-2" +msgstr "" + +#. TRANSLATORS: JDF F8-3 +msgid "finishing-template.jdf-f8-3" +msgstr "" + +#. TRANSLATORS: JDF F8-4 +msgid "finishing-template.jdf-f8-4" +msgstr "" + +#. TRANSLATORS: JDF F8-5 +msgid "finishing-template.jdf-f8-5" +msgstr "" + +#. TRANSLATORS: JDF F8-6 +msgid "finishing-template.jdf-f8-6" +msgstr "" + +#. TRANSLATORS: JDF F8-7 +msgid "finishing-template.jdf-f8-7" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishing-template.jog-offset" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishing-template.laminate" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishing-template.punch" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishing-template.punch-bottom-left" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishing-template.punch-bottom-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishing-template.punch-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishing-template.punch-dual-left" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishing-template.punch-dual-right" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishing-template.punch-dual-top" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishing-template.punch-multiple-bottom" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishing-template.punch-multiple-left" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishing-template.punch-multiple-right" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishing-template.punch-multiple-top" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishing-template.punch-quad-bottom" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishing-template.punch-quad-left" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishing-template.punch-quad-right" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishing-template.punch-quad-top" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishing-template.punch-top-left" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishing-template.punch-top-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishing-template.punch-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishing-template.punch-triple-left" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishing-template.punch-triple-right" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishing-template.punch-triple-top" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishing-template.saddle-stitch" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishing-template.staple" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishing-template.staple-bottom-left" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishing-template.staple-bottom-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishing-template.staple-dual-bottom" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishing-template.staple-dual-left" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishing-template.staple-dual-right" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishing-template.staple-dual-top" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishing-template.staple-top-left" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishing-template.staple-top-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishing-template.staple-triple-bottom" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishing-template.staple-triple-left" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishing-template.staple-triple-right" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishing-template.staple-triple-top" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishing-template.trim" +msgstr "" + +#. TRANSLATORS: Trim After Every Set +msgid "finishing-template.trim-after-copies" +msgstr "" + +#. TRANSLATORS: Trim After Every Document +msgid "finishing-template.trim-after-documents" +msgstr "" + +#. TRANSLATORS: Trim After Job +msgid "finishing-template.trim-after-job" +msgstr "" + +#. TRANSLATORS: Trim After Every Page +msgid "finishing-template.trim-after-pages" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings" +msgstr "" + +#. TRANSLATORS: Finishings +msgid "finishings-col" +msgstr "" + +#. TRANSLATORS: Fold +msgid "finishings.10" +msgstr "" + +#. TRANSLATORS: Z Fold +msgid "finishings.100" +msgstr "" + +#. TRANSLATORS: Engineering Z Fold +msgid "finishings.101" +msgstr "" + +#. TRANSLATORS: Trim +msgid "finishings.11" +msgstr "" + +#. TRANSLATORS: Bale +msgid "finishings.12" +msgstr "" + +#. TRANSLATORS: Booklet Maker +msgid "finishings.13" +msgstr "" + +#. TRANSLATORS: Jog Offset +msgid "finishings.14" +msgstr "" + +#. TRANSLATORS: Coat +msgid "finishings.15" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "finishings.16" +msgstr "" + +#. TRANSLATORS: Staple Top Left +msgid "finishings.20" +msgstr "" + +#. TRANSLATORS: Staple Bottom Left +msgid "finishings.21" +msgstr "" + +#. TRANSLATORS: Staple Top Right +msgid "finishings.22" +msgstr "" + +#. TRANSLATORS: Staple Bottom Right +msgid "finishings.23" +msgstr "" + +#. TRANSLATORS: Edge Stitch Left +msgid "finishings.24" +msgstr "" + +#. TRANSLATORS: Edge Stitch Top +msgid "finishings.25" +msgstr "" + +#. TRANSLATORS: Edge Stitch Right +msgid "finishings.26" +msgstr "" + +#. TRANSLATORS: Edge Stitch Bottom +msgid "finishings.27" +msgstr "" + +#. TRANSLATORS: 2 Staples on Left +msgid "finishings.28" +msgstr "" + +#. TRANSLATORS: 2 Staples on Top +msgid "finishings.29" +msgstr "" + +#. TRANSLATORS: None +msgid "finishings.3" +msgstr "" + +#. TRANSLATORS: 2 Staples on Right +msgid "finishings.30" +msgstr "" + +#. TRANSLATORS: 2 Staples on Bottom +msgid "finishings.31" +msgstr "" + +#. TRANSLATORS: 3 Staples on Left +msgid "finishings.32" +msgstr "" + +#. TRANSLATORS: 3 Staples on Top +msgid "finishings.33" +msgstr "" + +#. TRANSLATORS: 3 Staples on Right +msgid "finishings.34" +msgstr "" + +#. TRANSLATORS: 3 Staples on Bottom +msgid "finishings.35" +msgstr "" + +#. TRANSLATORS: Staple +msgid "finishings.4" +msgstr "" + +#. TRANSLATORS: Punch +msgid "finishings.5" +msgstr "" + +#. TRANSLATORS: Bind Left +msgid "finishings.50" +msgstr "" + +#. TRANSLATORS: Bind Top +msgid "finishings.51" +msgstr "" + +#. TRANSLATORS: Bind Right +msgid "finishings.52" +msgstr "" + +#. TRANSLATORS: Bind Bottom +msgid "finishings.53" +msgstr "" + +#. TRANSLATORS: Cover +msgid "finishings.6" +msgstr "" + +#. TRANSLATORS: Trim Pages +msgid "finishings.60" +msgstr "" + +#. TRANSLATORS: Trim Documents +msgid "finishings.61" +msgstr "" + +#. TRANSLATORS: Trim Copies +msgid "finishings.62" +msgstr "" + +#. TRANSLATORS: Trim Job +msgid "finishings.63" +msgstr "" + +#. TRANSLATORS: Bind +msgid "finishings.7" +msgstr "" + +#. TRANSLATORS: Punch Top Left +msgid "finishings.70" +msgstr "" + +#. TRANSLATORS: Punch Bottom Left +msgid "finishings.71" +msgstr "" + +#. TRANSLATORS: Punch Top Right +msgid "finishings.72" +msgstr "" + +#. TRANSLATORS: Punch Bottom Right +msgid "finishings.73" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Left +msgid "finishings.74" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Top +msgid "finishings.75" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Right +msgid "finishings.76" +msgstr "" + +#. TRANSLATORS: 2-hole Punch Bottom +msgid "finishings.77" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Left +msgid "finishings.78" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Top +msgid "finishings.79" +msgstr "" + +#. TRANSLATORS: Saddle Stitch +msgid "finishings.8" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Right +msgid "finishings.80" +msgstr "" + +#. TRANSLATORS: 3-hole Punch Bottom +msgid "finishings.81" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Left +msgid "finishings.82" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Top +msgid "finishings.83" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Right +msgid "finishings.84" +msgstr "" + +#. TRANSLATORS: 4-hole Punch Bottom +msgid "finishings.85" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Left +msgid "finishings.86" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Top +msgid "finishings.87" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Right +msgid "finishings.88" +msgstr "" + +#. TRANSLATORS: Multi-hole Punch Bottom +msgid "finishings.89" +msgstr "" + +#. TRANSLATORS: Edge Stitch +msgid "finishings.9" +msgstr "" + +#. TRANSLATORS: Accordion Fold +msgid "finishings.90" +msgstr "" + +#. TRANSLATORS: Double Gate Fold +msgid "finishings.91" +msgstr "" + +#. TRANSLATORS: Gate Fold +msgid "finishings.92" +msgstr "" + +#. TRANSLATORS: Half Fold +msgid "finishings.93" +msgstr "" + +#. TRANSLATORS: Half Z Fold +msgid "finishings.94" +msgstr "" + +#. TRANSLATORS: Left Gate Fold +msgid "finishings.95" +msgstr "" + +#. TRANSLATORS: Letter Fold +msgid "finishings.96" +msgstr "" + +#. TRANSLATORS: Parallel Fold +msgid "finishings.97" +msgstr "" + +#. TRANSLATORS: Poster Fold +msgid "finishings.98" +msgstr "" + +#. TRANSLATORS: Right Gate Fold +msgid "finishings.99" +msgstr "" + +#. TRANSLATORS: Fold +msgid "folding" +msgstr "" + +#. TRANSLATORS: Fold Direction +msgid "folding-direction" +msgstr "" + +#. TRANSLATORS: Inward +msgid "folding-direction.inward" +msgstr "" + +#. TRANSLATORS: Outward +msgid "folding-direction.outward" +msgstr "" + +#. TRANSLATORS: Fold Position +msgid "folding-offset" +msgstr "" + +#. TRANSLATORS: Fold Edge +msgid "folding-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "folding-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "folding-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "folding-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "folding-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Font Name +msgid "font-name-requested" +msgstr "" + +#. TRANSLATORS: Font Size +msgid "font-size-requested" +msgstr "" + +#. TRANSLATORS: Force Front Side +msgid "force-front-side" +msgstr "" + +#. TRANSLATORS: From Name +msgid "from-name" +msgstr "" + +msgid "held" +msgstr "保持" + +msgid "help\t\tGet help on commands." +msgstr "帮助\t\t获取关于命令的帮助。" + +msgid "idle" +msgstr "空闲" + +#. TRANSLATORS: Imposition Template +msgid "imposition-template" +msgstr "" + +#. TRANSLATORS: None +msgid "imposition-template.none" +msgstr "" + +#. TRANSLATORS: Signature +msgid "imposition-template.signature" +msgstr "" + +#. TRANSLATORS: Insert Page Number +msgid "insert-after-page-number" +msgstr "" + +#. TRANSLATORS: Insert Count +msgid "insert-count" +msgstr "" + +#. TRANSLATORS: Insert Sheet +msgid "insert-sheet" +msgstr "" + +#, c-format +msgid "ippeveprinter: Unable to open \"%s\": %s on line %d." +msgstr "" + +#, c-format +msgid "ippfind: Bad regular expression: %s" +msgstr "ippfind:无效的正则表达式:%s" + +msgid "ippfind: Cannot use --and after --or." +msgstr "ippfind:不能在 --or 后使用 --and。" + +#, c-format +msgid "ippfind: Expected key name after %s." +msgstr "ippfind:在 %s 后预期键名。" + +#, c-format +msgid "ippfind: Expected port range after %s." +msgstr "ippfind:在 %s 后预期端口范围。" + +#, c-format +msgid "ippfind: Expected program after %s." +msgstr "ippfind:在 %s 后预期程序。" + +#, c-format +msgid "ippfind: Expected semi-colon after %s." +msgstr "ippfind:在 %s 后预期分号。" + +msgid "ippfind: Missing close brace in substitution." +msgstr "ippfind:替换操作后缺少右花括号。" + +msgid "ippfind: Missing close parenthesis." +msgstr "ippfind:缺少右括号。" + +msgid "ippfind: Missing expression before \"--and\"." +msgstr "ippfind:“--and”前缺少表达式。" + +msgid "ippfind: Missing expression before \"--or\"." +msgstr "ippfind:“--or”前缺少表达式。" + +#, c-format +msgid "ippfind: Missing key name after %s." +msgstr "ippfind:在 %s 后缺少键名。" + +#, c-format +msgid "ippfind: Missing name after %s." +msgstr "ippfind:%s 后缺少名称。" + +msgid "ippfind: Missing open parenthesis." +msgstr "ippfind:缺少左括号。" + +#, c-format +msgid "ippfind: Missing program after %s." +msgstr "ippfind:在 %s 后缺少程序。" + +#, c-format +msgid "ippfind: Missing regular expression after %s." +msgstr "ippfind:在 %s 后缺少正则表达式。" + +#, c-format +msgid "ippfind: Missing semi-colon after %s." +msgstr "ippfind:在 %s 后缺少分号。" + +msgid "ippfind: Out of memory." +msgstr "ippfind:内存不足。" + +msgid "ippfind: Too many parenthesis." +msgstr "ippfind:括号过多。" + +#, c-format +msgid "ippfind: Unable to browse or resolve: %s" +msgstr "ippfind:无法浏览或解析:%s" + +#, c-format +msgid "ippfind: Unable to execute \"%s\": %s" +msgstr "ippfind:无法执行“%s”:%s" + +#, c-format +msgid "ippfind: Unable to use Bonjour: %s" +msgstr "ippfind:无法使用 Bonjour:%s" + +#, c-format +msgid "ippfind: Unknown variable \"{%s}\"." +msgstr "ippfind:未知变量“{%s}”。" + +msgid "" +"ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", " +"and \"-X\"." +msgstr "ipptool:“-i”和“-n”不能与“--ippserver”,“-P”和“-X”混用。" + +msgid "ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\"." +msgstr "ipptool:“-i”和“-n”不能与“-P”和“-X”混用。" + +#, c-format +msgid "ipptool: Bad URI \"%s\"." +msgstr "ipptool:无效的 URI “%s”。" + +msgid "ipptool: Invalid seconds for \"-i\"." +msgstr "ipptool:“-i”选项后指定的秒数无效。" + +msgid "ipptool: May only specify a single URI." +msgstr "ipptool:只能指定一个 URI。" + +msgid "ipptool: Missing count for \"-n\"." +msgstr "ipptool:“-n”选项后缺少数量。" + +msgid "ipptool: Missing filename for \"--ippserver\"." +msgstr "ipptool:“--ippserver”选项后缺少文件名。" + +msgid "ipptool: Missing filename for \"-f\"." +msgstr "ipptool:“-f”选项后缺少文件名。" + +msgid "ipptool: Missing name=value for \"-d\"." +msgstr "ipptool:“-d”选项后缺少 name=value 声明。" + +msgid "ipptool: Missing seconds for \"-i\"." +msgstr "ipptool:“-i”选项后缺少秒数。" + +msgid "ipptool: URI required before test file." +msgstr "ipptool:测试文件前需要 URI。" + +#. TRANSLATORS: Job Account ID +msgid "job-account-id" +msgstr "" + +#. TRANSLATORS: Job Account Type +msgid "job-account-type" +msgstr "" + +#. TRANSLATORS: General +msgid "job-account-type.general" +msgstr "" + +#. TRANSLATORS: Group +msgid "job-account-type.group" +msgstr "" + +#. TRANSLATORS: None +msgid "job-account-type.none" +msgstr "" + +#. TRANSLATORS: Job Accounting Output Bin +msgid "job-accounting-output-bin" +msgstr "" + +#. TRANSLATORS: Job Accounting Sheets +msgid "job-accounting-sheets" +msgstr "" + +#. TRANSLATORS: Type of Job Accounting Sheets +msgid "job-accounting-sheets-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-accounting-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-accounting-sheets-type.standard" +msgstr "" + +#. TRANSLATORS: Job Accounting User ID +msgid "job-accounting-user-id" +msgstr "" + +#. TRANSLATORS: Job Cancel After +msgid "job-cancel-after" +msgstr "" + +#. TRANSLATORS: Copies +msgid "job-copies" +msgstr "" + +#. TRANSLATORS: Back Cover +msgid "job-cover-back" +msgstr "" + +#. TRANSLATORS: Front Cover +msgid "job-cover-front" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until" +msgstr "" + +#. TRANSLATORS: Delay Output Until +msgid "job-delay-output-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-delay-output-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-delay-output-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-delay-output-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-delay-output-until.night" +msgstr "" + +#. TRANSLATORS: No Delay +msgid "job-delay-output-until.no-delay-output" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-delay-output-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-delay-output-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-delay-output-until.weekend" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "job-error-action.abort-job" +msgstr "" + +#. TRANSLATORS: Cancel Job +msgid "job-error-action.cancel-job" +msgstr "" + +#. TRANSLATORS: Continue Job +msgid "job-error-action.continue-job" +msgstr "" + +#. TRANSLATORS: Suspend Job +msgid "job-error-action.suspend-job" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet" +msgstr "" + +#. TRANSLATORS: Type of Error Sheet +msgid "job-error-sheet-type" +msgstr "" + +#. TRANSLATORS: None +msgid "job-error-sheet-type.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-error-sheet-type.standard" +msgstr "" + +#. TRANSLATORS: Print Error Sheet +msgid "job-error-sheet-when" +msgstr "" + +#. TRANSLATORS: Always +msgid "job-error-sheet-when.always" +msgstr "" + +#. TRANSLATORS: On Error +msgid "job-error-sheet-when.on-error" +msgstr "" + +#. TRANSLATORS: Job Finishings +msgid "job-finishings" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until" +msgstr "" + +#. TRANSLATORS: Hold Until +msgid "job-hold-until-time" +msgstr "" + +#. TRANSLATORS: Daytime +msgid "job-hold-until.day-time" +msgstr "" + +#. TRANSLATORS: Evening +msgid "job-hold-until.evening" +msgstr "" + +#. TRANSLATORS: Released +msgid "job-hold-until.indefinite" +msgstr "" + +#. TRANSLATORS: Night +msgid "job-hold-until.night" +msgstr "" + +#. TRANSLATORS: No Hold +msgid "job-hold-until.no-hold" +msgstr "" + +#. TRANSLATORS: Second Shift +msgid "job-hold-until.second-shift" +msgstr "" + +#. TRANSLATORS: Third Shift +msgid "job-hold-until.third-shift" +msgstr "" + +#. TRANSLATORS: Weekend +msgid "job-hold-until.weekend" +msgstr "" + +#. TRANSLATORS: Job Mandatory Attributes +msgid "job-mandatory-attributes" +msgstr "" + +#. TRANSLATORS: Title +msgid "job-name" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages" +msgstr "" + +#. TRANSLATORS: Job Pages +msgid "job-pages-col" +msgstr "" + +#. TRANSLATORS: Job Phone Number +msgid "job-phone-number" +msgstr "" + +msgid "job-printer-uri attribute missing." +msgstr "缺少 job-printer-uri 属性。" + +#. TRANSLATORS: Job Priority +msgid "job-priority" +msgstr "" + +#. TRANSLATORS: Job Privacy Attributes +msgid "job-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: Job Description +msgid "job-privacy-attributes.job-description" +msgstr "" + +#. TRANSLATORS: Job Template +msgid "job-privacy-attributes.job-template" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Job Privacy Scope +msgid "job-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "job-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "job-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "job-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "job-privacy-scope.owner" +msgstr "" + +#. TRANSLATORS: Job Recipient Name +msgid "job-recipient-name" +msgstr "" + +#. TRANSLATORS: Job Retain Until +msgid "job-retain-until" +msgstr "" + +#. TRANSLATORS: Job Retain Until Interval +msgid "job-retain-until-interval" +msgstr "" + +#. TRANSLATORS: Job Retain Until Time +msgid "job-retain-until-time" +msgstr "" + +#. TRANSLATORS: End Of Day +msgid "job-retain-until.end-of-day" +msgstr "" + +#. TRANSLATORS: End Of Month +msgid "job-retain-until.end-of-month" +msgstr "" + +#. TRANSLATORS: End Of Week +msgid "job-retain-until.end-of-week" +msgstr "" + +#. TRANSLATORS: Indefinite +msgid "job-retain-until.indefinite" +msgstr "" + +#. TRANSLATORS: None +msgid "job-retain-until.none" +msgstr "" + +#. TRANSLATORS: Job Save Disposition +msgid "job-save-disposition" +msgstr "" + +#. TRANSLATORS: Job Sheet Message +msgid "job-sheet-message" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets" +msgstr "" + +#. TRANSLATORS: Banner Page +msgid "job-sheets-col" +msgstr "" + +#. TRANSLATORS: First Page in Document +msgid "job-sheets.first-print-stream-page" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "job-sheets.job-both-sheet" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "job-sheets.job-end-sheet" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "job-sheets.job-start-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "job-sheets.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "job-sheets.standard" +msgstr "" + +#. TRANSLATORS: Job State +msgid "job-state" +msgstr "" + +#. TRANSLATORS: Job State Message +msgid "job-state-message" +msgstr "" + +#. TRANSLATORS: Detailed Job State +msgid "job-state-reasons" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.aborted-by-system" +msgstr "" + +#. TRANSLATORS: Account Authorization Failed +msgid "job-state-reasons.account-authorization-failed" +msgstr "" + +#. TRANSLATORS: Account Closed +msgid "job-state-reasons.account-closed" +msgstr "" + +#. TRANSLATORS: Account Info Needed +msgid "job-state-reasons.account-info-needed" +msgstr "" + +#. TRANSLATORS: Account Limit Reached +msgid "job-state-reasons.account-limit-reached" +msgstr "" + +#. TRANSLATORS: Decompression error +msgid "job-state-reasons.compression-error" +msgstr "" + +#. TRANSLATORS: Conflicting Attributes +msgid "job-state-reasons.conflicting-attributes" +msgstr "" + +#. TRANSLATORS: Connected To Destination +msgid "job-state-reasons.connected-to-destination" +msgstr "" + +#. TRANSLATORS: Connecting To Destination +msgid "job-state-reasons.connecting-to-destination" +msgstr "" + +#. TRANSLATORS: Destination Uri Failed +msgid "job-state-reasons.destination-uri-failed" +msgstr "" + +#. TRANSLATORS: Digital Signature Did Not Verify +msgid "job-state-reasons.digital-signature-did-not-verify" +msgstr "" + +#. TRANSLATORS: Digital Signature Type Not Supported +msgid "job-state-reasons.digital-signature-type-not-supported" +msgstr "" + +#. TRANSLATORS: Document Access Error +msgid "job-state-reasons.document-access-error" +msgstr "" + +#. TRANSLATORS: Document Format Error +msgid "job-state-reasons.document-format-error" +msgstr "" + +#. TRANSLATORS: Document Password Error +msgid "job-state-reasons.document-password-error" +msgstr "" + +#. TRANSLATORS: Document Permission Error +msgid "job-state-reasons.document-permission-error" +msgstr "" + +#. TRANSLATORS: Document Security Error +msgid "job-state-reasons.document-security-error" +msgstr "" + +#. TRANSLATORS: Document Unprintable Error +msgid "job-state-reasons.document-unprintable-error" +msgstr "" + +#. TRANSLATORS: Errors Detected +msgid "job-state-reasons.errors-detected" +msgstr "" + +#. TRANSLATORS: Canceled at printer +msgid "job-state-reasons.job-canceled-at-device" +msgstr "" + +#. TRANSLATORS: Canceled by operator +msgid "job-state-reasons.job-canceled-by-operator" +msgstr "" + +#. TRANSLATORS: Canceled by user +msgid "job-state-reasons.job-canceled-by-user" +msgstr "" + +#. TRANSLATORS: +msgid "job-state-reasons.job-completed-successfully" +msgstr "" + +#. TRANSLATORS: Completed with errors +msgid "job-state-reasons.job-completed-with-errors" +msgstr "" + +#. TRANSLATORS: Completed with warnings +msgid "job-state-reasons.job-completed-with-warnings" +msgstr "" + +#. TRANSLATORS: Insufficient data +msgid "job-state-reasons.job-data-insufficient" +msgstr "" + +#. TRANSLATORS: Job Delay Output Until Specified +msgid "job-state-reasons.job-delay-output-until-specified" +msgstr "" + +#. TRANSLATORS: Job Digital Signature Wait +msgid "job-state-reasons.job-digital-signature-wait" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "job-state-reasons.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Held For Review +msgid "job-state-reasons.job-held-for-review" +msgstr "" + +#. TRANSLATORS: Job held +msgid "job-state-reasons.job-hold-until-specified" +msgstr "" + +#. TRANSLATORS: Incoming +msgid "job-state-reasons.job-incoming" +msgstr "" + +#. TRANSLATORS: Interpreting +msgid "job-state-reasons.job-interpreting" +msgstr "" + +#. TRANSLATORS: Outgoing +msgid "job-state-reasons.job-outgoing" +msgstr "" + +#. TRANSLATORS: Job Password Wait +msgid "job-state-reasons.job-password-wait" +msgstr "" + +#. TRANSLATORS: Job Printed Successfully +msgid "job-state-reasons.job-printed-successfully" +msgstr "" + +#. TRANSLATORS: Job Printed With Errors +msgid "job-state-reasons.job-printed-with-errors" +msgstr "" + +#. TRANSLATORS: Job Printed With Warnings +msgid "job-state-reasons.job-printed-with-warnings" +msgstr "" + +#. TRANSLATORS: Printing +msgid "job-state-reasons.job-printing" +msgstr "" + +#. TRANSLATORS: Preparing to print +msgid "job-state-reasons.job-queued" +msgstr "" + +#. TRANSLATORS: Processing document +msgid "job-state-reasons.job-queued-for-marker" +msgstr "" + +#. TRANSLATORS: Job Release Wait +msgid "job-state-reasons.job-release-wait" +msgstr "" + +#. TRANSLATORS: Restartable +msgid "job-state-reasons.job-restartable" +msgstr "" + +#. TRANSLATORS: Job Resuming +msgid "job-state-reasons.job-resuming" +msgstr "" + +#. TRANSLATORS: Job Saved Successfully +msgid "job-state-reasons.job-saved-successfully" +msgstr "" + +#. TRANSLATORS: Job Saved With Errors +msgid "job-state-reasons.job-saved-with-errors" +msgstr "" + +#. TRANSLATORS: Job Saved With Warnings +msgid "job-state-reasons.job-saved-with-warnings" +msgstr "" + +#. TRANSLATORS: Job Saving +msgid "job-state-reasons.job-saving" +msgstr "" + +#. TRANSLATORS: Job Spooling +msgid "job-state-reasons.job-spooling" +msgstr "" + +#. TRANSLATORS: Job Streaming +msgid "job-state-reasons.job-streaming" +msgstr "" + +#. TRANSLATORS: Suspended +msgid "job-state-reasons.job-suspended" +msgstr "" + +#. TRANSLATORS: Job Suspended By Operator +msgid "job-state-reasons.job-suspended-by-operator" +msgstr "" + +#. TRANSLATORS: Job Suspended By System +msgid "job-state-reasons.job-suspended-by-system" +msgstr "" + +#. TRANSLATORS: Job Suspended By User +msgid "job-state-reasons.job-suspended-by-user" +msgstr "" + +#. TRANSLATORS: Job Suspending +msgid "job-state-reasons.job-suspending" +msgstr "" + +#. TRANSLATORS: Job Transferring +msgid "job-state-reasons.job-transferring" +msgstr "" + +#. TRANSLATORS: Transforming +msgid "job-state-reasons.job-transforming" +msgstr "" + +#. TRANSLATORS: None +msgid "job-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "job-state-reasons.printer-stopped" +msgstr "" + +#. TRANSLATORS: Printer partially stopped +msgid "job-state-reasons.printer-stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "job-state-reasons.processing-to-stop-point" +msgstr "" + +#. TRANSLATORS: Ready +msgid "job-state-reasons.queued-in-device" +msgstr "" + +#. TRANSLATORS: Resources Are Not Ready +msgid "job-state-reasons.resources-are-not-ready" +msgstr "" + +#. TRANSLATORS: Resources Are Not Supported +msgid "job-state-reasons.resources-are-not-supported" +msgstr "" + +#. TRANSLATORS: Service offline +msgid "job-state-reasons.service-off-line" +msgstr "" + +#. TRANSLATORS: Submission Interrupted +msgid "job-state-reasons.submission-interrupted" +msgstr "" + +#. TRANSLATORS: Unsupported Attributes Or Values +msgid "job-state-reasons.unsupported-attributes-or-values" +msgstr "" + +#. TRANSLATORS: Unsupported Compression +msgid "job-state-reasons.unsupported-compression" +msgstr "" + +#. TRANSLATORS: Unsupported Document Format +msgid "job-state-reasons.unsupported-document-format" +msgstr "" + +#. TRANSLATORS: Waiting For User Action +msgid "job-state-reasons.waiting-for-user-action" +msgstr "" + +#. TRANSLATORS: Warnings Detected +msgid "job-state-reasons.warnings-detected" +msgstr "" + +#. TRANSLATORS: Pending +msgid "job-state.3" +msgstr "" + +#. TRANSLATORS: Held +msgid "job-state.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "job-state.5" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "job-state.6" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "job-state.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "job-state.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "job-state.9" +msgstr "" + +#. TRANSLATORS: Laminate Pages +msgid "laminating" +msgstr "" + +#. TRANSLATORS: Laminate +msgid "laminating-sides" +msgstr "" + +#. TRANSLATORS: Back Only +msgid "laminating-sides.back" +msgstr "" + +#. TRANSLATORS: Front and Back +msgid "laminating-sides.both" +msgstr "" + +#. TRANSLATORS: Front Only +msgid "laminating-sides.front" +msgstr "" + +#. TRANSLATORS: Type of Lamination +msgid "laminating-type" +msgstr "" + +#. TRANSLATORS: Archival +msgid "laminating-type.archival" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "laminating-type.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "laminating-type.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "laminating-type.matte" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "laminating-type.semi-gloss" +msgstr "" + +#. TRANSLATORS: Translucent +msgid "laminating-type.translucent" +msgstr "" + +#. TRANSLATORS: Logo +msgid "logo" +msgstr "" + +msgid "lpadmin: Class name can only contain printable characters." +msgstr "lpadmin:类名中只能包含可打印字符。" + +#, c-format +msgid "lpadmin: Expected PPD after \"-%c\" option." +msgstr "lpadmin:“-%c”选项后预期 PPD。" + +msgid "lpadmin: Expected allow/deny:userlist after \"-u\" option." +msgstr "lpadmin:“-u”选项后预期 allow/deny:userlist 表达式。" + +msgid "lpadmin: Expected class after \"-r\" option." +msgstr "lpadmin:“-r”选项后预期类。" + +msgid "lpadmin: Expected class name after \"-c\" option." +msgstr "lpadmin:“-c”选项后预期类名称。" + +msgid "lpadmin: Expected description after \"-D\" option." +msgstr "lpadmin:“-D”选项后预期描述。" + +msgid "lpadmin: Expected device URI after \"-v\" option." +msgstr "lpadmin:“-v”选项后预期设备 URI。" + +msgid "lpadmin: Expected file type(s) after \"-I\" option." +msgstr "lpadmin:“-I”选项后预期文件类型。" + +msgid "lpadmin: Expected hostname after \"-h\" option." +msgstr "lpadmin:“-h”选项后预期主机名。" + +msgid "lpadmin: Expected location after \"-L\" option." +msgstr "lpadmin:“-L”选项后预期位置。" + +msgid "lpadmin: Expected model after \"-m\" option." +msgstr "lpadmin:“-m”选项后预期型号。" + +msgid "lpadmin: Expected name after \"-R\" option." +msgstr "lpadmin:“-R”选项后预期名称。" + +msgid "lpadmin: Expected name=value after \"-o\" option." +msgstr "lpadmin:“-o”选项后预期 name=value 表达式。" + +msgid "lpadmin: Expected printer after \"-p\" option." +msgstr "lpadmin:“-p”选项后预期打印机。" + +msgid "lpadmin: Expected printer name after \"-d\" option." +msgstr "lpadmin:“-d”选项后预期打印机名称。" + +msgid "lpadmin: Expected printer or class after \"-x\" option." +msgstr "lpadmin:“-x”选项后预期打印机或类。" + +msgid "lpadmin: No member names were seen." +msgstr "lpadmin:未找到成员名称。" + +#, c-format +msgid "lpadmin: Printer %s is already a member of class %s." +msgstr "lpadmin:打印机 %s 已经是类 %s 中的成员。" + +#, c-format +msgid "lpadmin: Printer %s is not a member of class %s." +msgstr "lpadmin:打印机 %s 不是类 %s 中的成员。" + +msgid "" +"lpadmin: Printer drivers are deprecated and will stop working in a future " +"version of CUPS." +msgstr "lpadmin:打印机驱动已被弃用,未来的 CUPS 版本可能破坏其功能性。" + +msgid "lpadmin: Printer name can only contain printable characters." +msgstr "lpadmin:打印机名称中只能包含可打印字符。" + +msgid "" +"lpadmin: Raw queues are deprecated and will stop working in a future version " +"of CUPS." +msgstr "lpadmin:原始序列已被弃用,未来的 CUPS 版本可能破坏其功能性。" + +msgid "lpadmin: Raw queues are no longer supported on macOS." +msgstr "lpadmin:macOS 已不再支持原始序列。" + +msgid "" +"lpadmin: System V interface scripts are no longer supported for security " +"reasons." +msgstr "lpadmin:由于安全原因,已不再支持 System V 接口脚本。" + +msgid "" +"lpadmin: Unable to add a printer to the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin:无法将打印机添加到类:\n" +" 你必须先指定打印机名称。" + +#, c-format +msgid "lpadmin: Unable to connect to server: %s" +msgstr "lpadmin:无法连接到服务器:%s" + +msgid "lpadmin: Unable to create temporary file" +msgstr "lpadmin:无法创建临时文件" + +msgid "" +"lpadmin: Unable to delete option:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin:无法删除选项:\n" +" 你必须先指定打印机名称。" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s" +msgstr "" + +#, c-format +msgid "lpadmin: Unable to open PPD \"%s\": %s on line %d." +msgstr "lpadmin:无法打开 PPD“%1$s”:在行 %3$d 中的 %2$s。" + +msgid "" +"lpadmin: Unable to remove a printer from the class:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin:无法从类删除打印机:\n" +" 你必须先指定打印机名称。" + +msgid "" +"lpadmin: Unable to set the printer options:\n" +" You must specify a printer name first." +msgstr "" +"lpadmin:无法设置打印机选项:\n" +" 你必须先指定打印机名称。" + +#, c-format +msgid "lpadmin: Unknown allow/deny option \"%s\"." +msgstr "lpadmin:未知允许/拒绝选项“%s”。" + +#, c-format +msgid "lpadmin: Unknown argument \"%s\"." +msgstr "lpadmin:未知参数“%s”。" + +#, c-format +msgid "lpadmin: Unknown option \"%c\"." +msgstr "lpadmin:未知选项“%c”。" + +msgid "lpadmin: Use the 'everywhere' model for shared printers." +msgstr "lpadmin:为共享的打印机使用“everywhere”模型。" + +msgid "lpadmin: Warning - content type list ignored." +msgstr "lpadmin:警告 — 内容类型列表已被忽略。" + +msgid "lpc> " +msgstr "lpc> " + +msgid "lpinfo: Expected 1284 device ID string after \"--device-id\"." +msgstr "lpinfo:“--device-id”选项后预期 1284 设备 ID 字串。" + +msgid "lpinfo: Expected language after \"--language\"." +msgstr "lpinfo:“--language”选项后预期语言。" + +msgid "lpinfo: Expected make and model after \"--make-and-model\"." +msgstr "lpinfo:“--make-and-model”选项后预期生产商和型号。" + +msgid "lpinfo: Expected product string after \"--product\"." +msgstr "lpinfo:“--product”选项后预期产品。" + +msgid "lpinfo: Expected scheme list after \"--exclude-schemes\"." +msgstr "lpinfo:“--exclude-schemes”选项后预期方案列表。" + +msgid "lpinfo: Expected scheme list after \"--include-schemes\"." +msgstr "lpinfo:“--include-schemes”选项后预期方案列表。" + +msgid "lpinfo: Expected timeout after \"--timeout\"." +msgstr "lpinfo:“--timeout”选项后预期超时。" + +#, c-format +msgid "lpmove: Unable to connect to server: %s" +msgstr "lpmove:无法连接到服务器:%s" + +#, c-format +msgid "lpmove: Unknown argument \"%s\"." +msgstr "lpmove:未知参数“%s”。" + +msgid "lpoptions: No printers." +msgstr "lpoptions:没有打印机。" + +#, c-format +msgid "lpoptions: Unable to add printer or instance: %s" +msgstr "lpoptions:无法添加打印机或实例:%s" + +#, c-format +msgid "lpoptions: Unable to get PPD file for %s: %s" +msgstr "lpoptions:无法为 %s 获取 PPD 文件:%s" + +#, c-format +msgid "lpoptions: Unable to open PPD file for %s." +msgstr "lpoptions:无法为 %s 打开 PPD 文件。" + +msgid "lpoptions: Unknown printer or class." +msgstr "lpoptions:未知打印机或类。" + +#, c-format +msgid "" +"lpstat: error - %s environment variable names non-existent destination \"%s" +"\"." +msgstr "lpstat:错误 — %s 环境变量指定了不存在的目的地“%s”。" + +#. TRANSLATORS: Amount of Material +msgid "material-amount" +msgstr "" + +#. TRANSLATORS: Amount Units +msgid "material-amount-units" +msgstr "" + +#. TRANSLATORS: Grams +msgid "material-amount-units.g" +msgstr "" + +#. TRANSLATORS: Kilograms +msgid "material-amount-units.kg" +msgstr "" + +#. TRANSLATORS: Liters +msgid "material-amount-units.l" +msgstr "" + +#. TRANSLATORS: Meters +msgid "material-amount-units.m" +msgstr "" + +#. TRANSLATORS: Milliliters +msgid "material-amount-units.ml" +msgstr "" + +#. TRANSLATORS: Millimeters +msgid "material-amount-units.mm" +msgstr "" + +#. TRANSLATORS: Material Color +msgid "material-color" +msgstr "" + +#. TRANSLATORS: Material Diameter +msgid "material-diameter" +msgstr "" + +#. TRANSLATORS: Material Diameter Tolerance +msgid "material-diameter-tolerance" +msgstr "" + +#. TRANSLATORS: Material Fill Density +msgid "material-fill-density" +msgstr "" + +#. TRANSLATORS: Material Name +msgid "material-name" +msgstr "" + +#. TRANSLATORS: Material Nozzle Diameter +msgid "material-nozzle-diameter" +msgstr "" + +#. TRANSLATORS: Use Material For +msgid "material-purpose" +msgstr "" + +#. TRANSLATORS: Everything +msgid "material-purpose.all" +msgstr "" + +#. TRANSLATORS: Base +msgid "material-purpose.base" +msgstr "" + +#. TRANSLATORS: In-fill +msgid "material-purpose.in-fill" +msgstr "" + +#. TRANSLATORS: Shell +msgid "material-purpose.shell" +msgstr "" + +#. TRANSLATORS: Supports +msgid "material-purpose.support" +msgstr "" + +#. TRANSLATORS: Feed Rate +msgid "material-rate" +msgstr "" + +#. TRANSLATORS: Feed Rate Units +msgid "material-rate-units" +msgstr "" + +#. TRANSLATORS: Milligrams per second +msgid "material-rate-units.mg_second" +msgstr "" + +#. TRANSLATORS: Milliliters per second +msgid "material-rate-units.ml_second" +msgstr "" + +#. TRANSLATORS: Millimeters per second +msgid "material-rate-units.mm_second" +msgstr "" + +#. TRANSLATORS: Material Retraction +msgid "material-retraction" +msgstr "" + +#. TRANSLATORS: Material Shell Thickness +msgid "material-shell-thickness" +msgstr "" + +#. TRANSLATORS: Material Temperature +msgid "material-temperature" +msgstr "" + +#. TRANSLATORS: Material Type +msgid "material-type" +msgstr "" + +#. TRANSLATORS: ABS +msgid "material-type.abs" +msgstr "" + +#. TRANSLATORS: Carbon Fiber ABS +msgid "material-type.abs-carbon-fiber" +msgstr "" + +#. TRANSLATORS: Carbon Nanotube ABS +msgid "material-type.abs-carbon-nanotube" +msgstr "" + +#. TRANSLATORS: Chocolate +msgid "material-type.chocolate" +msgstr "" + +#. TRANSLATORS: Gold +msgid "material-type.gold" +msgstr "" + +#. TRANSLATORS: Nylon +msgid "material-type.nylon" +msgstr "" + +#. TRANSLATORS: Pet +msgid "material-type.pet" +msgstr "" + +#. TRANSLATORS: Photopolymer +msgid "material-type.photopolymer" +msgstr "" + +#. TRANSLATORS: PLA +msgid "material-type.pla" +msgstr "" + +#. TRANSLATORS: Conductive PLA +msgid "material-type.pla-conductive" +msgstr "" + +#. TRANSLATORS: Pla Dissolvable +msgid "material-type.pla-dissolvable" +msgstr "" + +#. TRANSLATORS: Flexible PLA +msgid "material-type.pla-flexible" +msgstr "" + +#. TRANSLATORS: Magnetic PLA +msgid "material-type.pla-magnetic" +msgstr "" + +#. TRANSLATORS: Steel PLA +msgid "material-type.pla-steel" +msgstr "" + +#. TRANSLATORS: Stone PLA +msgid "material-type.pla-stone" +msgstr "" + +#. TRANSLATORS: Wood PLA +msgid "material-type.pla-wood" +msgstr "" + +#. TRANSLATORS: Polycarbonate +msgid "material-type.polycarbonate" +msgstr "" + +#. TRANSLATORS: Dissolvable PVA +msgid "material-type.pva-dissolvable" +msgstr "" + +#. TRANSLATORS: Silver +msgid "material-type.silver" +msgstr "" + +#. TRANSLATORS: Titanium +msgid "material-type.titanium" +msgstr "" + +#. TRANSLATORS: Wax +msgid "material-type.wax" +msgstr "" + +#. TRANSLATORS: Materials +msgid "materials-col" +msgstr "" + +#. TRANSLATORS: Media +msgid "media" +msgstr "" + +#. TRANSLATORS: Back Coating of Media +msgid "media-back-coating" +msgstr "" + +#. TRANSLATORS: Glossy +msgid "media-back-coating.glossy" +msgstr "" + +#. TRANSLATORS: High Gloss +msgid "media-back-coating.high-gloss" +msgstr "" + +#. TRANSLATORS: Matte +msgid "media-back-coating.matte" +msgstr "" + +#. TRANSLATORS: None +msgid "media-back-coating.none" +msgstr "" + +#. TRANSLATORS: Satin +msgid "media-back-coating.satin" +msgstr "" + +#. TRANSLATORS: Semi-gloss +msgid "media-back-coating.semi-gloss" +msgstr "" + +#. TRANSLATORS: Media Bottom Margin +msgid "media-bottom-margin" +msgstr "" + +#. TRANSLATORS: Media +msgid "media-col" +msgstr "" + +#. TRANSLATORS: Media Color +msgid "media-color" +msgstr "" + +#. TRANSLATORS: Black +msgid "media-color.black" +msgstr "" + +#. TRANSLATORS: Blue +msgid "media-color.blue" +msgstr "" + +#. TRANSLATORS: Brown +msgid "media-color.brown" +msgstr "" + +#. TRANSLATORS: Buff +msgid "media-color.buff" +msgstr "" + +#. TRANSLATORS: Clear Black +msgid "media-color.clear-black" +msgstr "" + +#. TRANSLATORS: Clear Blue +msgid "media-color.clear-blue" +msgstr "" + +#. TRANSLATORS: Clear Brown +msgid "media-color.clear-brown" +msgstr "" + +#. TRANSLATORS: Clear Buff +msgid "media-color.clear-buff" +msgstr "" + +#. TRANSLATORS: Clear Cyan +msgid "media-color.clear-cyan" +msgstr "" + +#. TRANSLATORS: Clear Gold +msgid "media-color.clear-gold" +msgstr "" + +#. TRANSLATORS: Clear Goldenrod +msgid "media-color.clear-goldenrod" +msgstr "" + +#. TRANSLATORS: Clear Gray +msgid "media-color.clear-gray" +msgstr "" + +#. TRANSLATORS: Clear Green +msgid "media-color.clear-green" +msgstr "" + +#. TRANSLATORS: Clear Ivory +msgid "media-color.clear-ivory" +msgstr "" + +#. TRANSLATORS: Clear Magenta +msgid "media-color.clear-magenta" +msgstr "" + +#. TRANSLATORS: Clear Multi Color +msgid "media-color.clear-multi-color" +msgstr "" + +#. TRANSLATORS: Clear Mustard +msgid "media-color.clear-mustard" +msgstr "" + +#. TRANSLATORS: Clear Orange +msgid "media-color.clear-orange" +msgstr "" + +#. TRANSLATORS: Clear Pink +msgid "media-color.clear-pink" +msgstr "" + +#. TRANSLATORS: Clear Red +msgid "media-color.clear-red" +msgstr "" + +#. TRANSLATORS: Clear Silver +msgid "media-color.clear-silver" +msgstr "" + +#. TRANSLATORS: Clear Turquoise +msgid "media-color.clear-turquoise" +msgstr "" + +#. TRANSLATORS: Clear Violet +msgid "media-color.clear-violet" +msgstr "" + +#. TRANSLATORS: Clear White +msgid "media-color.clear-white" +msgstr "" + +#. TRANSLATORS: Clear Yellow +msgid "media-color.clear-yellow" +msgstr "" + +#. TRANSLATORS: Cyan +msgid "media-color.cyan" +msgstr "" + +#. TRANSLATORS: Dark Blue +msgid "media-color.dark-blue" +msgstr "" + +#. TRANSLATORS: Dark Brown +msgid "media-color.dark-brown" +msgstr "" + +#. TRANSLATORS: Dark Buff +msgid "media-color.dark-buff" +msgstr "" + +#. TRANSLATORS: Dark Cyan +msgid "media-color.dark-cyan" +msgstr "" + +#. TRANSLATORS: Dark Gold +msgid "media-color.dark-gold" +msgstr "" + +#. TRANSLATORS: Dark Goldenrod +msgid "media-color.dark-goldenrod" +msgstr "" + +#. TRANSLATORS: Dark Gray +msgid "media-color.dark-gray" +msgstr "" + +#. TRANSLATORS: Dark Green +msgid "media-color.dark-green" +msgstr "" + +#. TRANSLATORS: Dark Ivory +msgid "media-color.dark-ivory" +msgstr "" + +#. TRANSLATORS: Dark Magenta +msgid "media-color.dark-magenta" +msgstr "" + +#. TRANSLATORS: Dark Mustard +msgid "media-color.dark-mustard" +msgstr "" + +#. TRANSLATORS: Dark Orange +msgid "media-color.dark-orange" +msgstr "" + +#. TRANSLATORS: Dark Pink +msgid "media-color.dark-pink" +msgstr "" + +#. TRANSLATORS: Dark Red +msgid "media-color.dark-red" +msgstr "" + +#. TRANSLATORS: Dark Silver +msgid "media-color.dark-silver" +msgstr "" + +#. TRANSLATORS: Dark Turquoise +msgid "media-color.dark-turquoise" +msgstr "" + +#. TRANSLATORS: Dark Violet +msgid "media-color.dark-violet" +msgstr "" + +#. TRANSLATORS: Dark Yellow +msgid "media-color.dark-yellow" +msgstr "" + +#. TRANSLATORS: Gold +msgid "media-color.gold" +msgstr "" + +#. TRANSLATORS: Goldenrod +msgid "media-color.goldenrod" +msgstr "" + +#. TRANSLATORS: Gray +msgid "media-color.gray" +msgstr "" + +#. TRANSLATORS: Green +msgid "media-color.green" +msgstr "" + +#. TRANSLATORS: Ivory +msgid "media-color.ivory" +msgstr "" + +#. TRANSLATORS: Light Black +msgid "media-color.light-black" +msgstr "" + +#. TRANSLATORS: Light Blue +msgid "media-color.light-blue" +msgstr "" + +#. TRANSLATORS: Light Brown +msgid "media-color.light-brown" +msgstr "" + +#. TRANSLATORS: Light Buff +msgid "media-color.light-buff" +msgstr "" + +#. TRANSLATORS: Light Cyan +msgid "media-color.light-cyan" +msgstr "" + +#. TRANSLATORS: Light Gold +msgid "media-color.light-gold" +msgstr "" + +#. TRANSLATORS: Light Goldenrod +msgid "media-color.light-goldenrod" +msgstr "" + +#. TRANSLATORS: Light Gray +msgid "media-color.light-gray" +msgstr "" + +#. TRANSLATORS: Light Green +msgid "media-color.light-green" +msgstr "" + +#. TRANSLATORS: Light Ivory +msgid "media-color.light-ivory" +msgstr "" + +#. TRANSLATORS: Light Magenta +msgid "media-color.light-magenta" +msgstr "" + +#. TRANSLATORS: Light Mustard +msgid "media-color.light-mustard" +msgstr "" + +#. TRANSLATORS: Light Orange +msgid "media-color.light-orange" +msgstr "" + +#. TRANSLATORS: Light Pink +msgid "media-color.light-pink" +msgstr "" + +#. TRANSLATORS: Light Red +msgid "media-color.light-red" +msgstr "" + +#. TRANSLATORS: Light Silver +msgid "media-color.light-silver" +msgstr "" + +#. TRANSLATORS: Light Turquoise +msgid "media-color.light-turquoise" +msgstr "" + +#. TRANSLATORS: Light Violet +msgid "media-color.light-violet" +msgstr "" + +#. TRANSLATORS: Light Yellow +msgid "media-color.light-yellow" +msgstr "" + +#. TRANSLATORS: Magenta +msgid "media-color.magenta" +msgstr "" + +#. TRANSLATORS: Multi-color +msgid "media-color.multi-color" +msgstr "" + +#. TRANSLATORS: Mustard +msgid "media-color.mustard" +msgstr "" + +#. TRANSLATORS: No Color +msgid "media-color.no-color" +msgstr "" + +#. TRANSLATORS: Orange +msgid "media-color.orange" +msgstr "" + +#. TRANSLATORS: Pink +msgid "media-color.pink" +msgstr "" + +#. TRANSLATORS: Red +msgid "media-color.red" +msgstr "" + +#. TRANSLATORS: Silver +msgid "media-color.silver" +msgstr "" + +#. TRANSLATORS: Turquoise +msgid "media-color.turquoise" +msgstr "" + +#. TRANSLATORS: Violet +msgid "media-color.violet" +msgstr "" + +#. TRANSLATORS: White +msgid "media-color.white" +msgstr "" + +#. TRANSLATORS: Yellow +msgid "media-color.yellow" +msgstr "" + +#. TRANSLATORS: Front Coating of Media +msgid "media-front-coating" +msgstr "" + +#. TRANSLATORS: Media Grain +msgid "media-grain" +msgstr "" + +#. TRANSLATORS: Cross-Feed Direction +msgid "media-grain.x-direction" +msgstr "" + +#. TRANSLATORS: Feed Direction +msgid "media-grain.y-direction" +msgstr "" + +#. TRANSLATORS: Media Hole Count +msgid "media-hole-count" +msgstr "" + +#. TRANSLATORS: Media Info +msgid "media-info" +msgstr "" + +#. TRANSLATORS: Force Media +msgid "media-input-tray-check" +msgstr "" + +#. TRANSLATORS: Media Left Margin +msgid "media-left-margin" +msgstr "" + +#. TRANSLATORS: Pre-printed Media +msgid "media-pre-printed" +msgstr "" + +#. TRANSLATORS: Blank +msgid "media-pre-printed.blank" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-pre-printed.letter-head" +msgstr "" + +#. TRANSLATORS: Pre-printed +msgid "media-pre-printed.pre-printed" +msgstr "" + +#. TRANSLATORS: Recycled Media +msgid "media-recycled" +msgstr "" + +#. TRANSLATORS: None +msgid "media-recycled.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "media-recycled.standard" +msgstr "" + +#. TRANSLATORS: Media Right Margin +msgid "media-right-margin" +msgstr "" + +#. TRANSLATORS: Media Dimensions +msgid "media-size" +msgstr "" + +#. TRANSLATORS: Media Name +msgid "media-size-name" +msgstr "" + +#. TRANSLATORS: Media Source +msgid "media-source" +msgstr "" + +#. TRANSLATORS: Alternate +msgid "media-source.alternate" +msgstr "" + +#. TRANSLATORS: Alternate Roll +msgid "media-source.alternate-roll" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-source.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "media-source.bottom" +msgstr "" + +#. TRANSLATORS: By-pass Tray +msgid "media-source.by-pass-tray" +msgstr "" + +#. TRANSLATORS: Center +msgid "media-source.center" +msgstr "" + +#. TRANSLATORS: Disc +msgid "media-source.disc" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-source.envelope" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media-source.hagaki" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "media-source.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "media-source.left" +msgstr "" + +#. TRANSLATORS: Main +msgid "media-source.main" +msgstr "" + +#. TRANSLATORS: Main Roll +msgid "media-source.main-roll" +msgstr "" + +#. TRANSLATORS: Manual +msgid "media-source.manual" +msgstr "" + +#. TRANSLATORS: Middle +msgid "media-source.middle" +msgstr "" + +#. TRANSLATORS: Photo +msgid "media-source.photo" +msgstr "" + +#. TRANSLATORS: Rear +msgid "media-source.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "media-source.right" +msgstr "" + +#. TRANSLATORS: Roll 1 +msgid "media-source.roll-1" +msgstr "" + +#. TRANSLATORS: Roll 10 +msgid "media-source.roll-10" +msgstr "" + +#. TRANSLATORS: Roll 2 +msgid "media-source.roll-2" +msgstr "" + +#. TRANSLATORS: Roll 3 +msgid "media-source.roll-3" +msgstr "" + +#. TRANSLATORS: Roll 4 +msgid "media-source.roll-4" +msgstr "" + +#. TRANSLATORS: Roll 5 +msgid "media-source.roll-5" +msgstr "" + +#. TRANSLATORS: Roll 6 +msgid "media-source.roll-6" +msgstr "" + +#. TRANSLATORS: Roll 7 +msgid "media-source.roll-7" +msgstr "" + +#. TRANSLATORS: Roll 8 +msgid "media-source.roll-8" +msgstr "" + +#. TRANSLATORS: Roll 9 +msgid "media-source.roll-9" +msgstr "" + +#. TRANSLATORS: Side +msgid "media-source.side" +msgstr "" + +#. TRANSLATORS: Top +msgid "media-source.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "media-source.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "media-source.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 11 +msgid "media-source.tray-11" +msgstr "" + +#. TRANSLATORS: Tray 12 +msgid "media-source.tray-12" +msgstr "" + +#. TRANSLATORS: Tray 13 +msgid "media-source.tray-13" +msgstr "" + +#. TRANSLATORS: Tray 14 +msgid "media-source.tray-14" +msgstr "" + +#. TRANSLATORS: Tray 15 +msgid "media-source.tray-15" +msgstr "" + +#. TRANSLATORS: Tray 16 +msgid "media-source.tray-16" +msgstr "" + +#. TRANSLATORS: Tray 17 +msgid "media-source.tray-17" +msgstr "" + +#. TRANSLATORS: Tray 18 +msgid "media-source.tray-18" +msgstr "" + +#. TRANSLATORS: Tray 19 +msgid "media-source.tray-19" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "media-source.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 20 +msgid "media-source.tray-20" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "media-source.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "media-source.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "media-source.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "media-source.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "media-source.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "media-source.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "media-source.tray-9" +msgstr "" + +#. TRANSLATORS: Media Thickness +msgid "media-thickness" +msgstr "" + +#. TRANSLATORS: Media Tooth (Texture) +msgid "media-tooth" +msgstr "" + +#. TRANSLATORS: Antique +msgid "media-tooth.antique" +msgstr "" + +#. TRANSLATORS: Extra Smooth +msgid "media-tooth.calendared" +msgstr "" + +#. TRANSLATORS: Coarse +msgid "media-tooth.coarse" +msgstr "" + +#. TRANSLATORS: Fine +msgid "media-tooth.fine" +msgstr "" + +#. TRANSLATORS: Linen +msgid "media-tooth.linen" +msgstr "" + +#. TRANSLATORS: Medium +msgid "media-tooth.medium" +msgstr "" + +#. TRANSLATORS: Smooth +msgid "media-tooth.smooth" +msgstr "" + +#. TRANSLATORS: Stipple +msgid "media-tooth.stipple" +msgstr "" + +#. TRANSLATORS: Rough +msgid "media-tooth.uncalendared" +msgstr "" + +#. TRANSLATORS: Vellum +msgid "media-tooth.vellum" +msgstr "" + +#. TRANSLATORS: Media Top Margin +msgid "media-top-margin" +msgstr "" + +#. TRANSLATORS: Media Type +msgid "media-type" +msgstr "" + +#. TRANSLATORS: Aluminum +msgid "media-type.aluminum" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "media-type.auto" +msgstr "" + +#. TRANSLATORS: Back Print Film +msgid "media-type.back-print-film" +msgstr "" + +#. TRANSLATORS: Cardboard +msgid "media-type.cardboard" +msgstr "" + +#. TRANSLATORS: Cardstock +msgid "media-type.cardstock" +msgstr "" + +#. TRANSLATORS: CD +msgid "media-type.cd" +msgstr "" + +#. TRANSLATORS: Continuous +msgid "media-type.continuous" +msgstr "" + +#. TRANSLATORS: Continuous Long +msgid "media-type.continuous-long" +msgstr "" + +#. TRANSLATORS: Continuous Short +msgid "media-type.continuous-short" +msgstr "" + +#. TRANSLATORS: Corrugated Board +msgid "media-type.corrugated-board" +msgstr "" + +#. TRANSLATORS: Optical Disc +msgid "media-type.disc" +msgstr "" + +#. TRANSLATORS: Glossy Optical Disc +msgid "media-type.disc-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Optical Disc +msgid "media-type.disc-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Optical Disc +msgid "media-type.disc-matte" +msgstr "" + +#. TRANSLATORS: Satin Optical Disc +msgid "media-type.disc-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Optical Disc +msgid "media-type.disc-semi-gloss" +msgstr "" + +#. TRANSLATORS: Double Wall +msgid "media-type.double-wall" +msgstr "" + +#. TRANSLATORS: Dry Film +msgid "media-type.dry-film" +msgstr "" + +#. TRANSLATORS: DVD +msgid "media-type.dvd" +msgstr "" + +#. TRANSLATORS: Embossing Foil +msgid "media-type.embossing-foil" +msgstr "" + +#. TRANSLATORS: End Board +msgid "media-type.end-board" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "media-type.envelope" +msgstr "" + +#. TRANSLATORS: Archival Envelope +msgid "media-type.envelope-archival" +msgstr "" + +#. TRANSLATORS: Bond Envelope +msgid "media-type.envelope-bond" +msgstr "" + +#. TRANSLATORS: Coated Envelope +msgid "media-type.envelope-coated" +msgstr "" + +#. TRANSLATORS: Cotton Envelope +msgid "media-type.envelope-cotton" +msgstr "" + +#. TRANSLATORS: Fine Envelope +msgid "media-type.envelope-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Envelope +msgid "media-type.envelope-heavyweight" +msgstr "" + +#. TRANSLATORS: Inkjet Envelope +msgid "media-type.envelope-inkjet" +msgstr "" + +#. TRANSLATORS: Lightweight Envelope +msgid "media-type.envelope-lightweight" +msgstr "" + +#. TRANSLATORS: Plain Envelope +msgid "media-type.envelope-plain" +msgstr "" + +#. TRANSLATORS: Preprinted Envelope +msgid "media-type.envelope-preprinted" +msgstr "" + +#. TRANSLATORS: Windowed Envelope +msgid "media-type.envelope-window" +msgstr "" + +#. TRANSLATORS: Fabric +msgid "media-type.fabric" +msgstr "" + +#. TRANSLATORS: Archival Fabric +msgid "media-type.fabric-archival" +msgstr "" + +#. TRANSLATORS: Glossy Fabric +msgid "media-type.fabric-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Fabric +msgid "media-type.fabric-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Fabric +msgid "media-type.fabric-matte" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Fabric +msgid "media-type.fabric-semi-gloss" +msgstr "" + +#. TRANSLATORS: Waterproof Fabric +msgid "media-type.fabric-waterproof" +msgstr "" + +#. TRANSLATORS: Film +msgid "media-type.film" +msgstr "" + +#. TRANSLATORS: Flexo Base +msgid "media-type.flexo-base" +msgstr "" + +#. TRANSLATORS: Flexo Photo Polymer +msgid "media-type.flexo-photo-polymer" +msgstr "" + +#. TRANSLATORS: Flute +msgid "media-type.flute" +msgstr "" + +#. TRANSLATORS: Foil +msgid "media-type.foil" +msgstr "" + +#. TRANSLATORS: Full Cut Tabs +msgid "media-type.full-cut-tabs" +msgstr "" + +#. TRANSLATORS: Glass +msgid "media-type.glass" +msgstr "" + +#. TRANSLATORS: Glass Colored +msgid "media-type.glass-colored" +msgstr "" + +#. TRANSLATORS: Glass Opaque +msgid "media-type.glass-opaque" +msgstr "" + +#. TRANSLATORS: Glass Surfaced +msgid "media-type.glass-surfaced" +msgstr "" + +#. TRANSLATORS: Glass Textured +msgid "media-type.glass-textured" +msgstr "" + +#. TRANSLATORS: Gravure Cylinder +msgid "media-type.gravure-cylinder" +msgstr "" + +#. TRANSLATORS: Image Setter Paper +msgid "media-type.image-setter-paper" +msgstr "" + +#. TRANSLATORS: Imaging Cylinder +msgid "media-type.imaging-cylinder" +msgstr "" + +#. TRANSLATORS: Labels +msgid "media-type.labels" +msgstr "" + +#. TRANSLATORS: Colored Labels +msgid "media-type.labels-colored" +msgstr "" + +#. TRANSLATORS: Glossy Labels +msgid "media-type.labels-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Labels +msgid "media-type.labels-high-gloss" +msgstr "" + +#. TRANSLATORS: Inkjet Labels +msgid "media-type.labels-inkjet" +msgstr "" + +#. TRANSLATORS: Matte Labels +msgid "media-type.labels-matte" +msgstr "" + +#. TRANSLATORS: Permanent Labels +msgid "media-type.labels-permanent" +msgstr "" + +#. TRANSLATORS: Satin Labels +msgid "media-type.labels-satin" +msgstr "" + +#. TRANSLATORS: Security Labels +msgid "media-type.labels-security" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Labels +msgid "media-type.labels-semi-gloss" +msgstr "" + +#. TRANSLATORS: Laminating Foil +msgid "media-type.laminating-foil" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.letterhead" +msgstr "" + +#. TRANSLATORS: Metal +msgid "media-type.metal" +msgstr "" + +#. TRANSLATORS: Metal Glossy +msgid "media-type.metal-glossy" +msgstr "" + +#. TRANSLATORS: Metal High Gloss +msgid "media-type.metal-high-gloss" +msgstr "" + +#. TRANSLATORS: Metal Matte +msgid "media-type.metal-matte" +msgstr "" + +#. TRANSLATORS: Metal Satin +msgid "media-type.metal-satin" +msgstr "" + +#. TRANSLATORS: Metal Semi Gloss +msgid "media-type.metal-semi-gloss" +msgstr "" + +#. TRANSLATORS: Mounting Tape +msgid "media-type.mounting-tape" +msgstr "" + +#. TRANSLATORS: Multi Layer +msgid "media-type.multi-layer" +msgstr "" + +#. TRANSLATORS: Multi Part Form +msgid "media-type.multi-part-form" +msgstr "" + +#. TRANSLATORS: Other +msgid "media-type.other" +msgstr "" + +#. TRANSLATORS: Paper +msgid "media-type.paper" +msgstr "" + +#. TRANSLATORS: Photo Paper +msgid "media-type.photographic" +msgstr "" + +#. TRANSLATORS: Photographic Archival +msgid "media-type.photographic-archival" +msgstr "" + +#. TRANSLATORS: Photo Film +msgid "media-type.photographic-film" +msgstr "" + +#. TRANSLATORS: Glossy Photo Paper +msgid "media-type.photographic-glossy" +msgstr "" + +#. TRANSLATORS: High Gloss Photo Paper +msgid "media-type.photographic-high-gloss" +msgstr "" + +#. TRANSLATORS: Matte Photo Paper +msgid "media-type.photographic-matte" +msgstr "" + +#. TRANSLATORS: Satin Photo Paper +msgid "media-type.photographic-satin" +msgstr "" + +#. TRANSLATORS: Semi-Gloss Photo Paper +msgid "media-type.photographic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plastic +msgid "media-type.plastic" +msgstr "" + +#. TRANSLATORS: Plastic Archival +msgid "media-type.plastic-archival" +msgstr "" + +#. TRANSLATORS: Plastic Colored +msgid "media-type.plastic-colored" +msgstr "" + +#. TRANSLATORS: Plastic Glossy +msgid "media-type.plastic-glossy" +msgstr "" + +#. TRANSLATORS: Plastic High Gloss +msgid "media-type.plastic-high-gloss" +msgstr "" + +#. TRANSLATORS: Plastic Matte +msgid "media-type.plastic-matte" +msgstr "" + +#. TRANSLATORS: Plastic Satin +msgid "media-type.plastic-satin" +msgstr "" + +#. TRANSLATORS: Plastic Semi Gloss +msgid "media-type.plastic-semi-gloss" +msgstr "" + +#. TRANSLATORS: Plate +msgid "media-type.plate" +msgstr "" + +#. TRANSLATORS: Polyester +msgid "media-type.polyester" +msgstr "" + +#. TRANSLATORS: Pre Cut Tabs +msgid "media-type.pre-cut-tabs" +msgstr "" + +#. TRANSLATORS: Roll +msgid "media-type.roll" +msgstr "" + +#. TRANSLATORS: Screen +msgid "media-type.screen" +msgstr "" + +#. TRANSLATORS: Screen Paged +msgid "media-type.screen-paged" +msgstr "" + +#. TRANSLATORS: Self Adhesive +msgid "media-type.self-adhesive" +msgstr "" + +#. TRANSLATORS: Self Adhesive Film +msgid "media-type.self-adhesive-film" +msgstr "" + +#. TRANSLATORS: Shrink Foil +msgid "media-type.shrink-foil" +msgstr "" + +#. TRANSLATORS: Single Face +msgid "media-type.single-face" +msgstr "" + +#. TRANSLATORS: Single Wall +msgid "media-type.single-wall" +msgstr "" + +#. TRANSLATORS: Sleeve +msgid "media-type.sleeve" +msgstr "" + +#. TRANSLATORS: Stationery +msgid "media-type.stationery" +msgstr "" + +#. TRANSLATORS: Stationery Archival +msgid "media-type.stationery-archival" +msgstr "" + +#. TRANSLATORS: Coated Paper +msgid "media-type.stationery-coated" +msgstr "" + +#. TRANSLATORS: Stationery Cotton +msgid "media-type.stationery-cotton" +msgstr "" + +#. TRANSLATORS: Vellum Paper +msgid "media-type.stationery-fine" +msgstr "" + +#. TRANSLATORS: Heavyweight Paper +msgid "media-type.stationery-heavyweight" +msgstr "" + +#. TRANSLATORS: Stationery Heavyweight Coated +msgid "media-type.stationery-heavyweight-coated" +msgstr "" + +#. TRANSLATORS: Stationery Inkjet Paper +msgid "media-type.stationery-inkjet" +msgstr "" + +#. TRANSLATORS: Letterhead +msgid "media-type.stationery-letterhead" +msgstr "" + +#. TRANSLATORS: Lightweight Paper +msgid "media-type.stationery-lightweight" +msgstr "" + +#. TRANSLATORS: Preprinted Paper +msgid "media-type.stationery-preprinted" +msgstr "" + +#. TRANSLATORS: Punched Paper +msgid "media-type.stationery-prepunched" +msgstr "" + +#. TRANSLATORS: Tab Stock +msgid "media-type.tab-stock" +msgstr "" + +#. TRANSLATORS: Tractor +msgid "media-type.tractor" +msgstr "" + +#. TRANSLATORS: Transfer +msgid "media-type.transfer" +msgstr "" + +#. TRANSLATORS: Transparency +msgid "media-type.transparency" +msgstr "" + +#. TRANSLATORS: Triple Wall +msgid "media-type.triple-wall" +msgstr "" + +#. TRANSLATORS: Wet Film +msgid "media-type.wet-film" +msgstr "" + +#. TRANSLATORS: Media Weight (grams per m²) +msgid "media-weight-metric" +msgstr "" + +#. TRANSLATORS: 28 x 40″ +msgid "media.asme_f_28x40in" +msgstr "" + +#. TRANSLATORS: A4 or US Letter +msgid "media.choice_iso_a4_210x297mm_na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: 2a0 +msgid "media.iso_2a0_1189x1682mm" +msgstr "" + +#. TRANSLATORS: A0 +msgid "media.iso_a0_841x1189mm" +msgstr "" + +#. TRANSLATORS: A0x3 +msgid "media.iso_a0x3_1189x2523mm" +msgstr "" + +#. TRANSLATORS: A10 +msgid "media.iso_a10_26x37mm" +msgstr "" + +#. TRANSLATORS: A1 +msgid "media.iso_a1_594x841mm" +msgstr "" + +#. TRANSLATORS: A1x3 +msgid "media.iso_a1x3_841x1783mm" +msgstr "" + +#. TRANSLATORS: A1x4 +msgid "media.iso_a1x4_841x2378mm" +msgstr "" + +#. TRANSLATORS: A2 +msgid "media.iso_a2_420x594mm" +msgstr "" + +#. TRANSLATORS: A2x3 +msgid "media.iso_a2x3_594x1261mm" +msgstr "" + +#. TRANSLATORS: A2x4 +msgid "media.iso_a2x4_594x1682mm" +msgstr "" + +#. TRANSLATORS: A2x5 +msgid "media.iso_a2x5_594x2102mm" +msgstr "" + +#. TRANSLATORS: A3 (Extra) +msgid "media.iso_a3-extra_322x445mm" +msgstr "" + +#. TRANSLATORS: A3 +msgid "media.iso_a3_297x420mm" +msgstr "" + +#. TRANSLATORS: A3x3 +msgid "media.iso_a3x3_420x891mm" +msgstr "" + +#. TRANSLATORS: A3x4 +msgid "media.iso_a3x4_420x1189mm" +msgstr "" + +#. TRANSLATORS: A3x5 +msgid "media.iso_a3x5_420x1486mm" +msgstr "" + +#. TRANSLATORS: A3x6 +msgid "media.iso_a3x6_420x1783mm" +msgstr "" + +#. TRANSLATORS: A3x7 +msgid "media.iso_a3x7_420x2080mm" +msgstr "" + +#. TRANSLATORS: A4 (Extra) +msgid "media.iso_a4-extra_235.5x322.3mm" +msgstr "" + +#. TRANSLATORS: A4 (Tab) +msgid "media.iso_a4-tab_225x297mm" +msgstr "" + +#. TRANSLATORS: A4 +msgid "media.iso_a4_210x297mm" +msgstr "" + +#. TRANSLATORS: A4x3 +msgid "media.iso_a4x3_297x630mm" +msgstr "" + +#. TRANSLATORS: A4x4 +msgid "media.iso_a4x4_297x841mm" +msgstr "" + +#. TRANSLATORS: A4x5 +msgid "media.iso_a4x5_297x1051mm" +msgstr "" + +#. TRANSLATORS: A4x6 +msgid "media.iso_a4x6_297x1261mm" +msgstr "" + +#. TRANSLATORS: A4x7 +msgid "media.iso_a4x7_297x1471mm" +msgstr "" + +#. TRANSLATORS: A4x8 +msgid "media.iso_a4x8_297x1682mm" +msgstr "" + +#. TRANSLATORS: A4x9 +msgid "media.iso_a4x9_297x1892mm" +msgstr "" + +#. TRANSLATORS: A5 (Extra) +msgid "media.iso_a5-extra_174x235mm" +msgstr "" + +#. TRANSLATORS: A5 +msgid "media.iso_a5_148x210mm" +msgstr "" + +#. TRANSLATORS: A6 +msgid "media.iso_a6_105x148mm" +msgstr "" + +#. TRANSLATORS: A7 +msgid "media.iso_a7_74x105mm" +msgstr "" + +#. TRANSLATORS: A8 +msgid "media.iso_a8_52x74mm" +msgstr "" + +#. TRANSLATORS: A9 +msgid "media.iso_a9_37x52mm" +msgstr "" + +#. TRANSLATORS: B0 +msgid "media.iso_b0_1000x1414mm" +msgstr "" + +#. TRANSLATORS: B10 +msgid "media.iso_b10_31x44mm" +msgstr "" + +#. TRANSLATORS: B1 +msgid "media.iso_b1_707x1000mm" +msgstr "" + +#. TRANSLATORS: B2 +msgid "media.iso_b2_500x707mm" +msgstr "" + +#. TRANSLATORS: B3 +msgid "media.iso_b3_353x500mm" +msgstr "" + +#. TRANSLATORS: B4 +msgid "media.iso_b4_250x353mm" +msgstr "" + +#. TRANSLATORS: B5 (Extra) +msgid "media.iso_b5-extra_201x276mm" +msgstr "" + +#. TRANSLATORS: Envelope B5 +msgid "media.iso_b5_176x250mm" +msgstr "" + +#. TRANSLATORS: B6 +msgid "media.iso_b6_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope B6/C4 +msgid "media.iso_b6c4_125x324mm" +msgstr "" + +#. TRANSLATORS: B7 +msgid "media.iso_b7_88x125mm" +msgstr "" + +#. TRANSLATORS: B8 +msgid "media.iso_b8_62x88mm" +msgstr "" + +#. TRANSLATORS: B9 +msgid "media.iso_b9_44x62mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 0 +msgid "media.iso_c0_917x1297mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 10 +msgid "media.iso_c10_28x40mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 1 +msgid "media.iso_c1_648x917mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 2 +msgid "media.iso_c2_458x648mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 3 +msgid "media.iso_c3_324x458mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 4 +msgid "media.iso_c4_229x324mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 5 +msgid "media.iso_c5_162x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6 +msgid "media.iso_c6_114x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 6c5 +msgid "media.iso_c6c5_114x229mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7 +msgid "media.iso_c7_81x114mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 7c6 +msgid "media.iso_c7c6_81x162mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 8 +msgid "media.iso_c8_57x81mm" +msgstr "" + +#. TRANSLATORS: CEnvelope 9 +msgid "media.iso_c9_40x57mm" +msgstr "" + +#. TRANSLATORS: Envelope DL +msgid "media.iso_dl_110x220mm" +msgstr "" + +#. TRANSLATORS: Id-1 +msgid "media.iso_id-1_53.98x85.6mm" +msgstr "" + +#. TRANSLATORS: Id-3 +msgid "media.iso_id-3_88x125mm" +msgstr "" + +#. TRANSLATORS: ISO RA0 +msgid "media.iso_ra0_860x1220mm" +msgstr "" + +#. TRANSLATORS: ISO RA1 +msgid "media.iso_ra1_610x860mm" +msgstr "" + +#. TRANSLATORS: ISO RA2 +msgid "media.iso_ra2_430x610mm" +msgstr "" + +#. TRANSLATORS: ISO RA3 +msgid "media.iso_ra3_305x430mm" +msgstr "" + +#. TRANSLATORS: ISO RA4 +msgid "media.iso_ra4_215x305mm" +msgstr "" + +#. TRANSLATORS: ISO SRA0 +msgid "media.iso_sra0_900x1280mm" +msgstr "" + +#. TRANSLATORS: ISO SRA1 +msgid "media.iso_sra1_640x900mm" +msgstr "" + +#. TRANSLATORS: ISO SRA2 +msgid "media.iso_sra2_450x640mm" +msgstr "" + +#. TRANSLATORS: ISO SRA3 +msgid "media.iso_sra3_320x450mm" +msgstr "" + +#. TRANSLATORS: ISO SRA4 +msgid "media.iso_sra4_225x320mm" +msgstr "" + +#. TRANSLATORS: JIS B0 +msgid "media.jis_b0_1030x1456mm" +msgstr "" + +#. TRANSLATORS: JIS B10 +msgid "media.jis_b10_32x45mm" +msgstr "" + +#. TRANSLATORS: JIS B1 +msgid "media.jis_b1_728x1030mm" +msgstr "" + +#. TRANSLATORS: JIS B2 +msgid "media.jis_b2_515x728mm" +msgstr "" + +#. TRANSLATORS: JIS B3 +msgid "media.jis_b3_364x515mm" +msgstr "" + +#. TRANSLATORS: JIS B4 +msgid "media.jis_b4_257x364mm" +msgstr "" + +#. TRANSLATORS: JIS B5 +msgid "media.jis_b5_182x257mm" +msgstr "" + +#. TRANSLATORS: JIS B6 +msgid "media.jis_b6_128x182mm" +msgstr "" + +#. TRANSLATORS: JIS B7 +msgid "media.jis_b7_91x128mm" +msgstr "" + +#. TRANSLATORS: JIS B8 +msgid "media.jis_b8_64x91mm" +msgstr "" + +#. TRANSLATORS: JIS B9 +msgid "media.jis_b9_45x64mm" +msgstr "" + +#. TRANSLATORS: JIS Executive +msgid "media.jis_exec_216x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 2 +msgid "media.jpn_chou2_111.1x146mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 3 +msgid "media.jpn_chou3_120x235mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 40 +msgid "media.jpn_chou40_90x225mm" +msgstr "" + +#. TRANSLATORS: Envelope Chou 4 +msgid "media.jpn_chou4_90x205mm" +msgstr "" + +#. TRANSLATORS: Hagaki +msgid "media.jpn_hagaki_100x148mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu +msgid "media.jpn_kahu_240x322.1mm" +msgstr "" + +#. TRANSLATORS: 270 x 382mm +msgid "media.jpn_kaku1_270x382mm" +msgstr "" + +#. TRANSLATORS: Envelope Kahu 2 +msgid "media.jpn_kaku2_240x332mm" +msgstr "" + +#. TRANSLATORS: 216 x 277mm +msgid "media.jpn_kaku3_216x277mm" +msgstr "" + +#. TRANSLATORS: 197 x 267mm +msgid "media.jpn_kaku4_197x267mm" +msgstr "" + +#. TRANSLATORS: 190 x 240mm +msgid "media.jpn_kaku5_190x240mm" +msgstr "" + +#. TRANSLATORS: 142 x 205mm +msgid "media.jpn_kaku7_142x205mm" +msgstr "" + +#. TRANSLATORS: 119 x 197mm +msgid "media.jpn_kaku8_119x197mm" +msgstr "" + +#. TRANSLATORS: Oufuku Reply Postcard +msgid "media.jpn_oufuku_148x200mm" +msgstr "" + +#. TRANSLATORS: Envelope You 4 +msgid "media.jpn_you4_105x235mm" +msgstr "" + +#. TRANSLATORS: 10 x 11″ +msgid "media.na_10x11_10x11in" +msgstr "" + +#. TRANSLATORS: 10 x 13″ +msgid "media.na_10x13_10x13in" +msgstr "" + +#. TRANSLATORS: 10 x 14″ +msgid "media.na_10x14_10x14in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.na_10x15_10x15in" +msgstr "" + +#. TRANSLATORS: 11 x 12″ +msgid "media.na_11x12_11x12in" +msgstr "" + +#. TRANSLATORS: 11 x 15″ +msgid "media.na_11x15_11x15in" +msgstr "" + +#. TRANSLATORS: 12 x 19″ +msgid "media.na_12x19_12x19in" +msgstr "" + +#. TRANSLATORS: 5 x 7″ +msgid "media.na_5x7_5x7in" +msgstr "" + +#. TRANSLATORS: 6 x 9″ +msgid "media.na_6x9_6x9in" +msgstr "" + +#. TRANSLATORS: 7 x 9″ +msgid "media.na_7x9_7x9in" +msgstr "" + +#. TRANSLATORS: 9 x 11″ +msgid "media.na_9x11_9x11in" +msgstr "" + +#. TRANSLATORS: Envelope A2 +msgid "media.na_a2_4.375x5.75in" +msgstr "" + +#. TRANSLATORS: 9 x 12″ +msgid "media.na_arch-a_9x12in" +msgstr "" + +#. TRANSLATORS: 12 x 18″ +msgid "media.na_arch-b_12x18in" +msgstr "" + +#. TRANSLATORS: 18 x 24″ +msgid "media.na_arch-c_18x24in" +msgstr "" + +#. TRANSLATORS: 24 x 36″ +msgid "media.na_arch-d_24x36in" +msgstr "" + +#. TRANSLATORS: 26 x 38″ +msgid "media.na_arch-e2_26x38in" +msgstr "" + +#. TRANSLATORS: 27 x 39″ +msgid "media.na_arch-e3_27x39in" +msgstr "" + +#. TRANSLATORS: 36 x 48″ +msgid "media.na_arch-e_36x48in" +msgstr "" + +#. TRANSLATORS: 12 x 19.17″ +msgid "media.na_b-plus_12x19.17in" +msgstr "" + +#. TRANSLATORS: Envelope C5 +msgid "media.na_c5_6.5x9.5in" +msgstr "" + +#. TRANSLATORS: 17 x 22″ +msgid "media.na_c_17x22in" +msgstr "" + +#. TRANSLATORS: 22 x 34″ +msgid "media.na_d_22x34in" +msgstr "" + +#. TRANSLATORS: 34 x 44″ +msgid "media.na_e_34x44in" +msgstr "" + +#. TRANSLATORS: 11 x 14″ +msgid "media.na_edp_11x14in" +msgstr "" + +#. TRANSLATORS: 12 x 14″ +msgid "media.na_eur-edp_12x14in" +msgstr "" + +#. TRANSLATORS: Executive +msgid "media.na_executive_7.25x10.5in" +msgstr "" + +#. TRANSLATORS: 44 x 68″ +msgid "media.na_f_44x68in" +msgstr "" + +#. TRANSLATORS: European Fanfold +msgid "media.na_fanfold-eur_8.5x12in" +msgstr "" + +#. TRANSLATORS: US Fanfold +msgid "media.na_fanfold-us_11x14.875in" +msgstr "" + +#. TRANSLATORS: Foolscap +msgid "media.na_foolscap_8.5x13in" +msgstr "" + +#. TRANSLATORS: 8 x 13″ +msgid "media.na_govt-legal_8x13in" +msgstr "" + +#. TRANSLATORS: 8 x 10″ +msgid "media.na_govt-letter_8x10in" +msgstr "" + +#. TRANSLATORS: 3 x 5″ +msgid "media.na_index-3x5_3x5in" +msgstr "" + +#. TRANSLATORS: 6 x 8″ +msgid "media.na_index-4x6-ext_6x8in" +msgstr "" + +#. TRANSLATORS: 4 x 6″ +msgid "media.na_index-4x6_4x6in" +msgstr "" + +#. TRANSLATORS: 5 x 8″ +msgid "media.na_index-5x8_5x8in" +msgstr "" + +#. TRANSLATORS: Statement +msgid "media.na_invoice_5.5x8.5in" +msgstr "" + +#. TRANSLATORS: 11 x 17″ +msgid "media.na_ledger_11x17in" +msgstr "" + +#. TRANSLATORS: US Legal (Extra) +msgid "media.na_legal-extra_9.5x15in" +msgstr "" + +#. TRANSLATORS: US Legal +msgid "media.na_legal_8.5x14in" +msgstr "" + +#. TRANSLATORS: US Letter (Extra) +msgid "media.na_letter-extra_9.5x12in" +msgstr "" + +#. TRANSLATORS: US Letter (Plus) +msgid "media.na_letter-plus_8.5x12.69in" +msgstr "" + +#. TRANSLATORS: US Letter +msgid "media.na_letter_8.5x11in" +msgstr "" + +#. TRANSLATORS: Envelope Monarch +msgid "media.na_monarch_3.875x7.5in" +msgstr "" + +#. TRANSLATORS: Envelope #10 +msgid "media.na_number-10_4.125x9.5in" +msgstr "" + +#. TRANSLATORS: Envelope #11 +msgid "media.na_number-11_4.5x10.375in" +msgstr "" + +#. TRANSLATORS: Envelope #12 +msgid "media.na_number-12_4.75x11in" +msgstr "" + +#. TRANSLATORS: Envelope #14 +msgid "media.na_number-14_5x11.5in" +msgstr "" + +#. TRANSLATORS: Envelope #9 +msgid "media.na_number-9_3.875x8.875in" +msgstr "" + +#. TRANSLATORS: 8.5 x 13.4″ +msgid "media.na_oficio_8.5x13.4in" +msgstr "" + +#. TRANSLATORS: Envelope Personal +msgid "media.na_personal_3.625x6.5in" +msgstr "" + +#. TRANSLATORS: Quarto +msgid "media.na_quarto_8.5x10.83in" +msgstr "" + +#. TRANSLATORS: 8.94 x 14″ +msgid "media.na_super-a_8.94x14in" +msgstr "" + +#. TRANSLATORS: 13 x 19″ +msgid "media.na_super-b_13x19in" +msgstr "" + +#. TRANSLATORS: 30 x 42″ +msgid "media.na_wide-format_30x42in" +msgstr "" + +#. TRANSLATORS: 12 x 16″ +msgid "media.oe_12x16_12x16in" +msgstr "" + +#. TRANSLATORS: 14 x 17″ +msgid "media.oe_14x17_14x17in" +msgstr "" + +#. TRANSLATORS: 18 x 22″ +msgid "media.oe_18x22_18x22in" +msgstr "" + +#. TRANSLATORS: 17 x 24″ +msgid "media.oe_a2plus_17x24in" +msgstr "" + +#. TRANSLATORS: 2 x 3.5″ +msgid "media.oe_business-card_2x3.5in" +msgstr "" + +#. TRANSLATORS: 10 x 12″ +msgid "media.oe_photo-10r_10x12in" +msgstr "" + +#. TRANSLATORS: 20 x 24″ +msgid "media.oe_photo-20r_20x24in" +msgstr "" + +#. TRANSLATORS: 3.5 x 5″ +msgid "media.oe_photo-l_3.5x5in" +msgstr "" + +#. TRANSLATORS: 10 x 15″ +msgid "media.oe_photo-s10r_10x15in" +msgstr "" + +#. TRANSLATORS: 4 x 4″ +msgid "media.oe_square-photo_4x4in" +msgstr "" + +#. TRANSLATORS: 5 x 5″ +msgid "media.oe_square-photo_5x5in" +msgstr "" + +#. TRANSLATORS: 184 x 260mm +msgid "media.om_16k_184x260mm" +msgstr "" + +#. TRANSLATORS: 195 x 270mm +msgid "media.om_16k_195x270mm" +msgstr "" + +#. TRANSLATORS: 55 x 85mm +msgid "media.om_business-card_55x85mm" +msgstr "" + +#. TRANSLATORS: 55 x 91mm +msgid "media.om_business-card_55x91mm" +msgstr "" + +#. TRANSLATORS: 54 x 86mm +msgid "media.om_card_54x86mm" +msgstr "" + +#. TRANSLATORS: 275 x 395mm +msgid "media.om_dai-pa-kai_275x395mm" +msgstr "" + +#. TRANSLATORS: 89 x 119mm +msgid "media.om_dsc-photo_89x119mm" +msgstr "" + +#. TRANSLATORS: Folio +msgid "media.om_folio-sp_215x315mm" +msgstr "" + +#. TRANSLATORS: Folio (Special) +msgid "media.om_folio_210x330mm" +msgstr "" + +#. TRANSLATORS: Envelope Invitation +msgid "media.om_invite_220x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Italian +msgid "media.om_italian_110x230mm" +msgstr "" + +#. TRANSLATORS: 198 x 275mm +msgid "media.om_juuro-ku-kai_198x275mm" +msgstr "" + +#. TRANSLATORS: 200 x 300 +msgid "media.om_large-photo_200x300" +msgstr "" + +#. TRANSLATORS: 130 x 180mm +msgid "media.om_medium-photo_130x180mm" +msgstr "" + +#. TRANSLATORS: 267 x 389mm +msgid "media.om_pa-kai_267x389mm" +msgstr "" + +#. TRANSLATORS: Envelope Postfix +msgid "media.om_postfix_114x229mm" +msgstr "" + +#. TRANSLATORS: 100 x 150mm +msgid "media.om_small-photo_100x150mm" +msgstr "" + +#. TRANSLATORS: 89 x 89mm +msgid "media.om_square-photo_89x89mm" +msgstr "" + +#. TRANSLATORS: 100 x 200mm +msgid "media.om_wide-photo_100x200mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #10 +msgid "media.prc_10_324x458mm" +msgstr "" + +#. TRANSLATORS: Chinese 16k +msgid "media.prc_16k_146x215mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #1 +msgid "media.prc_1_102x165mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #2 +msgid "media.prc_2_102x176mm" +msgstr "" + +#. TRANSLATORS: Chinese 32k +msgid "media.prc_32k_97x151mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #3 +msgid "media.prc_3_125x176mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #4 +msgid "media.prc_4_110x208mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #5 +msgid "media.prc_5_110x220mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #6 +msgid "media.prc_6_120x320mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #7 +msgid "media.prc_7_160x230mm" +msgstr "" + +#. TRANSLATORS: Envelope Chinese #8 +msgid "media.prc_8_120x309mm" +msgstr "" + +#. TRANSLATORS: ROC 16k +msgid "media.roc_16k_7.75x10.75in" +msgstr "" + +#. TRANSLATORS: ROC 8k +msgid "media.roc_8k_10.75x15.5in" +msgstr "" + +#, c-format +msgid "members of class %s:" +msgstr "类 %s 的成员:" + +#. TRANSLATORS: Multiple Document Handling +msgid "multiple-document-handling" +msgstr "" + +#. TRANSLATORS: Separate Documents Collated Copies +msgid "multiple-document-handling.separate-documents-collated-copies" +msgstr "" + +#. TRANSLATORS: Separate Documents Uncollated Copies +msgid "multiple-document-handling.separate-documents-uncollated-copies" +msgstr "" + +#. TRANSLATORS: Single Document +msgid "multiple-document-handling.single-document" +msgstr "" + +#. TRANSLATORS: Single Document New Sheet +msgid "multiple-document-handling.single-document-new-sheet" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling +msgid "multiple-object-handling" +msgstr "" + +#. TRANSLATORS: Multiple Object Handling Actual +msgid "multiple-object-handling-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "multiple-object-handling.auto" +msgstr "" + +#. TRANSLATORS: Best Fit +msgid "multiple-object-handling.best-fit" +msgstr "" + +#. TRANSLATORS: Best Quality +msgid "multiple-object-handling.best-quality" +msgstr "" + +#. TRANSLATORS: Best Speed +msgid "multiple-object-handling.best-speed" +msgstr "" + +#. TRANSLATORS: One At A Time +msgid "multiple-object-handling.one-at-a-time" +msgstr "" + +#. TRANSLATORS: On Timeout +msgid "multiple-operation-time-out-action" +msgstr "" + +#. TRANSLATORS: Abort Job +msgid "multiple-operation-time-out-action.abort-job" +msgstr "" + +#. TRANSLATORS: Hold Job +msgid "multiple-operation-time-out-action.hold-job" +msgstr "" + +#. TRANSLATORS: Process Job +msgid "multiple-operation-time-out-action.process-job" +msgstr "" + +msgid "no entries" +msgstr "无条目" + +msgid "no system default destination" +msgstr "无系统默认目标" + +#. TRANSLATORS: Noise Removal +msgid "noise-removal" +msgstr "" + +#. TRANSLATORS: Notify Attributes +msgid "notify-attributes" +msgstr "" + +#. TRANSLATORS: Notify Charset +msgid "notify-charset" +msgstr "" + +#. TRANSLATORS: Notify Events +msgid "notify-events" +msgstr "" + +msgid "notify-events not specified." +msgstr "未指定 notify-events。" + +#. TRANSLATORS: Document Completed +msgid "notify-events.document-completed" +msgstr "" + +#. TRANSLATORS: Document Config Changed +msgid "notify-events.document-config-changed" +msgstr "" + +#. TRANSLATORS: Document Created +msgid "notify-events.document-created" +msgstr "" + +#. TRANSLATORS: Document Fetchable +msgid "notify-events.document-fetchable" +msgstr "" + +#. TRANSLATORS: Document State Changed +msgid "notify-events.document-state-changed" +msgstr "" + +#. TRANSLATORS: Document Stopped +msgid "notify-events.document-stopped" +msgstr "" + +#. TRANSLATORS: Job Completed +msgid "notify-events.job-completed" +msgstr "" + +#. TRANSLATORS: Job Config Changed +msgid "notify-events.job-config-changed" +msgstr "" + +#. TRANSLATORS: Job Created +msgid "notify-events.job-created" +msgstr "" + +#. TRANSLATORS: Job Fetchable +msgid "notify-events.job-fetchable" +msgstr "" + +#. TRANSLATORS: Job Progress +msgid "notify-events.job-progress" +msgstr "" + +#. TRANSLATORS: Job State Changed +msgid "notify-events.job-state-changed" +msgstr "" + +#. TRANSLATORS: Job Stopped +msgid "notify-events.job-stopped" +msgstr "" + +#. TRANSLATORS: None +msgid "notify-events.none" +msgstr "" + +#. TRANSLATORS: Printer Config Changed +msgid "notify-events.printer-config-changed" +msgstr "" + +#. TRANSLATORS: Printer Finishings Changed +msgid "notify-events.printer-finishings-changed" +msgstr "" + +#. TRANSLATORS: Printer Media Changed +msgid "notify-events.printer-media-changed" +msgstr "" + +#. TRANSLATORS: Printer Queue Order Changed +msgid "notify-events.printer-queue-order-changed" +msgstr "" + +#. TRANSLATORS: Printer Restarted +msgid "notify-events.printer-restarted" +msgstr "" + +#. TRANSLATORS: Printer Shutdown +msgid "notify-events.printer-shutdown" +msgstr "" + +#. TRANSLATORS: Printer State Changed +msgid "notify-events.printer-state-changed" +msgstr "" + +#. TRANSLATORS: Printer Stopped +msgid "notify-events.printer-stopped" +msgstr "" + +#. TRANSLATORS: Notify Get Interval +msgid "notify-get-interval" +msgstr "" + +#. TRANSLATORS: Notify Lease Duration +msgid "notify-lease-duration" +msgstr "" + +#. TRANSLATORS: Notify Natural Language +msgid "notify-natural-language" +msgstr "" + +#. TRANSLATORS: Notify Pull Method +msgid "notify-pull-method" +msgstr "" + +#. TRANSLATORS: Notify Recipient +msgid "notify-recipient-uri" +msgstr "" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" is already used." +msgstr "notify-recipient-uri URI“%s”已被占用。" + +#, c-format +msgid "notify-recipient-uri URI \"%s\" uses unknown scheme." +msgstr "notify-recipient-uri URI“%s”使用了未知方案。" + +#. TRANSLATORS: Notify Sequence Numbers +msgid "notify-sequence-numbers" +msgstr "" + +#. TRANSLATORS: Notify Subscription Ids +msgid "notify-subscription-ids" +msgstr "" + +#. TRANSLATORS: Notify Time Interval +msgid "notify-time-interval" +msgstr "" + +#. TRANSLATORS: Notify User Data +msgid "notify-user-data" +msgstr "" + +#. TRANSLATORS: Notify Wait +msgid "notify-wait" +msgstr "" + +#. TRANSLATORS: Number Of Retries +msgid "number-of-retries" +msgstr "" + +#. TRANSLATORS: Number-Up +msgid "number-up" +msgstr "" + +#. TRANSLATORS: Object Offset +msgid "object-offset" +msgstr "" + +#. TRANSLATORS: Object Size +msgid "object-size" +msgstr "" + +#. TRANSLATORS: Organization Name +msgid "organization-name" +msgstr "" + +#. TRANSLATORS: Orientation +msgid "orientation-requested" +msgstr "" + +#. TRANSLATORS: Portrait +msgid "orientation-requested.3" +msgstr "" + +#. TRANSLATORS: Landscape +msgid "orientation-requested.4" +msgstr "" + +#. TRANSLATORS: Reverse Landscape +msgid "orientation-requested.5" +msgstr "" + +#. TRANSLATORS: Reverse Portrait +msgid "orientation-requested.6" +msgstr "" + +#. TRANSLATORS: None +msgid "orientation-requested.7" +msgstr "" + +#. TRANSLATORS: Scanned Image Options +msgid "output-attributes" +msgstr "" + +#. TRANSLATORS: Output Tray +msgid "output-bin" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "output-bin.auto" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "output-bin.bottom" +msgstr "" + +#. TRANSLATORS: Center +msgid "output-bin.center" +msgstr "" + +#. TRANSLATORS: Face Down +msgid "output-bin.face-down" +msgstr "" + +#. TRANSLATORS: Face Up +msgid "output-bin.face-up" +msgstr "" + +#. TRANSLATORS: Large Capacity +msgid "output-bin.large-capacity" +msgstr "" + +#. TRANSLATORS: Left +msgid "output-bin.left" +msgstr "" + +#. TRANSLATORS: Mailbox 1 +msgid "output-bin.mailbox-1" +msgstr "" + +#. TRANSLATORS: Mailbox 10 +msgid "output-bin.mailbox-10" +msgstr "" + +#. TRANSLATORS: Mailbox 2 +msgid "output-bin.mailbox-2" +msgstr "" + +#. TRANSLATORS: Mailbox 3 +msgid "output-bin.mailbox-3" +msgstr "" + +#. TRANSLATORS: Mailbox 4 +msgid "output-bin.mailbox-4" +msgstr "" + +#. TRANSLATORS: Mailbox 5 +msgid "output-bin.mailbox-5" +msgstr "" + +#. TRANSLATORS: Mailbox 6 +msgid "output-bin.mailbox-6" +msgstr "" + +#. TRANSLATORS: Mailbox 7 +msgid "output-bin.mailbox-7" +msgstr "" + +#. TRANSLATORS: Mailbox 8 +msgid "output-bin.mailbox-8" +msgstr "" + +#. TRANSLATORS: Mailbox 9 +msgid "output-bin.mailbox-9" +msgstr "" + +#. TRANSLATORS: Middle +msgid "output-bin.middle" +msgstr "" + +#. TRANSLATORS: My Mailbox +msgid "output-bin.my-mailbox" +msgstr "" + +#. TRANSLATORS: Rear +msgid "output-bin.rear" +msgstr "" + +#. TRANSLATORS: Right +msgid "output-bin.right" +msgstr "" + +#. TRANSLATORS: Side +msgid "output-bin.side" +msgstr "" + +#. TRANSLATORS: Stacker 1 +msgid "output-bin.stacker-1" +msgstr "" + +#. TRANSLATORS: Stacker 10 +msgid "output-bin.stacker-10" +msgstr "" + +#. TRANSLATORS: Stacker 2 +msgid "output-bin.stacker-2" +msgstr "" + +#. TRANSLATORS: Stacker 3 +msgid "output-bin.stacker-3" +msgstr "" + +#. TRANSLATORS: Stacker 4 +msgid "output-bin.stacker-4" +msgstr "" + +#. TRANSLATORS: Stacker 5 +msgid "output-bin.stacker-5" +msgstr "" + +#. TRANSLATORS: Stacker 6 +msgid "output-bin.stacker-6" +msgstr "" + +#. TRANSLATORS: Stacker 7 +msgid "output-bin.stacker-7" +msgstr "" + +#. TRANSLATORS: Stacker 8 +msgid "output-bin.stacker-8" +msgstr "" + +#. TRANSLATORS: Stacker 9 +msgid "output-bin.stacker-9" +msgstr "" + +#. TRANSLATORS: Top +msgid "output-bin.top" +msgstr "" + +#. TRANSLATORS: Tray 1 +msgid "output-bin.tray-1" +msgstr "" + +#. TRANSLATORS: Tray 10 +msgid "output-bin.tray-10" +msgstr "" + +#. TRANSLATORS: Tray 2 +msgid "output-bin.tray-2" +msgstr "" + +#. TRANSLATORS: Tray 3 +msgid "output-bin.tray-3" +msgstr "" + +#. TRANSLATORS: Tray 4 +msgid "output-bin.tray-4" +msgstr "" + +#. TRANSLATORS: Tray 5 +msgid "output-bin.tray-5" +msgstr "" + +#. TRANSLATORS: Tray 6 +msgid "output-bin.tray-6" +msgstr "" + +#. TRANSLATORS: Tray 7 +msgid "output-bin.tray-7" +msgstr "" + +#. TRANSLATORS: Tray 8 +msgid "output-bin.tray-8" +msgstr "" + +#. TRANSLATORS: Tray 9 +msgid "output-bin.tray-9" +msgstr "" + +#. TRANSLATORS: Scanned Image Quality +msgid "output-compression-quality-factor" +msgstr "" + +#. TRANSLATORS: Page Delivery +msgid "page-delivery" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-down +msgid "page-delivery.reverse-order-face-down" +msgstr "" + +#. TRANSLATORS: Reverse Order Face-up +msgid "page-delivery.reverse-order-face-up" +msgstr "" + +#. TRANSLATORS: Same Order Face-down +msgid "page-delivery.same-order-face-down" +msgstr "" + +#. TRANSLATORS: Same Order Face-up +msgid "page-delivery.same-order-face-up" +msgstr "" + +#. TRANSLATORS: System Specified +msgid "page-delivery.system-specified" +msgstr "" + +#. TRANSLATORS: Page Order Received +msgid "page-order-received" +msgstr "" + +#. TRANSLATORS: 1 To N +msgid "page-order-received.1-to-n-order" +msgstr "" + +#. TRANSLATORS: N To 1 +msgid "page-order-received.n-to-1-order" +msgstr "" + +#. TRANSLATORS: Page Ranges +msgid "page-ranges" +msgstr "" + +#. TRANSLATORS: Pages +msgid "pages" +msgstr "" + +#. TRANSLATORS: Pages Per Subset +msgid "pages-per-subset" +msgstr "" + +#. TRANSLATORS: Pclm Raster Back Side +msgid "pclm-raster-back-side" +msgstr "" + +#. TRANSLATORS: Flipped +msgid "pclm-raster-back-side.flipped" +msgstr "" + +#. TRANSLATORS: Normal +msgid "pclm-raster-back-side.normal" +msgstr "" + +#. TRANSLATORS: Rotated +msgid "pclm-raster-back-side.rotated" +msgstr "" + +#. TRANSLATORS: Pclm Source Resolution +msgid "pclm-source-resolution" +msgstr "" + +msgid "pending" +msgstr "正在等待" + +#. TRANSLATORS: Platform Shape +msgid "platform-shape" +msgstr "" + +#. TRANSLATORS: Round +msgid "platform-shape.ellipse" +msgstr "" + +#. TRANSLATORS: Rectangle +msgid "platform-shape.rectangle" +msgstr "" + +#. TRANSLATORS: Platform Temperature +msgid "platform-temperature" +msgstr "" + +#. TRANSLATORS: Post-dial String +msgid "post-dial-string" +msgstr "" + +#, c-format +msgid "ppdc: Adding include directory \"%s\"." +msgstr "ppdc:正在添加包含目录“%s”。" + +#, c-format +msgid "ppdc: Adding/updating UI text from %s." +msgstr "ppdc:正在从 %s 添加/更新 UI 文本。" + +#, c-format +msgid "ppdc: Bad boolean value (%s) on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中包含无效布里值(%1$s)。" + +#, c-format +msgid "ppdc: Bad font attribute: %s" +msgstr "ppdc:无效的字体属性:%s" + +#, c-format +msgid "ppdc: Bad resolution name \"%s\" on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中包含无效分辨率名称“%1$s”。" + +#, c-format +msgid "ppdc: Bad status keyword %s on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中包含无效状态关键词 %1$s。" + +#, c-format +msgid "ppdc: Bad variable substitution ($%c) on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中包含无效变量替代 %1$c。" + +#, c-format +msgid "ppdc: Choice found on line %d of %s with no Option." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中找到不带有 Option 的 Choice。" + +#, c-format +msgid "ppdc: Duplicate #po for locale %s on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中包含重复的为地域 %1$s 提供的 #po。" + +#, c-format +msgid "ppdc: Expected a filter definition on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期滤镜定义。" + +#, c-format +msgid "ppdc: Expected a program name on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期程序名。" + +#, c-format +msgid "ppdc: Expected boolean value on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期布里值。" + +#, c-format +msgid "ppdc: Expected charset after Font on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 Font 声明后预期字符集。" + +#, c-format +msgid "ppdc: Expected choice code on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期选择代码。" + +#, c-format +msgid "ppdc: Expected choice name/text on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期选择名称/文本。" + +#, c-format +msgid "ppdc: Expected color order for ColorModel on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期 ColorModel 的颜色顺序。" + +#, c-format +msgid "ppdc: Expected colorspace for ColorModel on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期 ColorMode 的色彩空间。" + +#, c-format +msgid "ppdc: Expected compression for ColorModel on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期 ColorMode 的压缩模式。" + +#, c-format +msgid "ppdc: Expected constraints string for UIConstraints on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期 UIConstraints 的限制字符串。" + +#, c-format +msgid "" +"ppdc: Expected driver type keyword following DriverType on line %d of %s." +msgstr "" +"ppdc:共 %2$s 行中的第 %1$d 行中在 DriverType 声明后预期驱动类型关键词。" + +#, c-format +msgid "ppdc: Expected duplex type after Duplex on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 Duplex 声明后预期双工类型。" + +#, c-format +msgid "ppdc: Expected encoding after Font on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 Font 声明后预期编码类型。" + +#, c-format +msgid "ppdc: Expected filename after #po %s on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中在 #po %1$s 声明后预期文件名。" + +#, c-format +msgid "ppdc: Expected group name/text on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期组名称/文本。" + +#, c-format +msgid "ppdc: Expected include filename on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期引用文件名。" + +#, c-format +msgid "ppdc: Expected integer on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期整数。" + +#, c-format +msgid "ppdc: Expected locale after #po on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 #po 声明后预期地域值。" + +#, c-format +msgid "ppdc: Expected name after %s on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中在 %1$s 后预期名称。" + +#, c-format +msgid "ppdc: Expected name after FileName on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 FileName 声明后预期名称。" + +#, c-format +msgid "ppdc: Expected name after Font on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 Font 声明后预期名称。" + +#, c-format +msgid "ppdc: Expected name after Manufacturer on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 Manufacturer 声明后预期名称。" + +#, c-format +msgid "ppdc: Expected name after MediaSize on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 MediaSize 声明后预期名称。" + +#, c-format +msgid "ppdc: Expected name after ModelName on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 ModelName 声明后预期名称。" + +#, c-format +msgid "ppdc: Expected name after PCFileName on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 PCFileName 声明后预期名称。" + +#, c-format +msgid "ppdc: Expected name/text after %s on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中在 %1$s 声明后预期名称/文本。" + +#, c-format +msgid "ppdc: Expected name/text after Installable on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 Installable 声明后预期名称/文本。" + +#, c-format +msgid "ppdc: Expected name/text after Resolution on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 Resolution 声明后预期名称/文本。" + +#, c-format +msgid "ppdc: Expected name/text combination for ColorModel on line %d of %s." +msgstr "" +"ppdc:共 %2$s 行中的第 %1$d 行中在 ColorModel 声明后预期名称/文本组合。" + +#, c-format +msgid "ppdc: Expected option name/text on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期选项名称/文本。" + +#, c-format +msgid "ppdc: Expected option section on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期选项节。" + +#, c-format +msgid "ppdc: Expected option type on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期选项类型。" + +#, c-format +msgid "ppdc: Expected override field after Resolution on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 Resolution 声明后预期覆盖项。" + +#, c-format +msgid "ppdc: Expected quoted string on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期引号中的字符串。" + +#, c-format +msgid "ppdc: Expected real number on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期实数。" + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following ColorProfile on line %d of %s." +msgstr "" +"ppdc:共 %2$s 行中的第 %1$d 行中在 ColorProfile 声明后预期分辨率/介质类型。" + +#, c-format +msgid "" +"ppdc: Expected resolution/mediatype following SimpleColorProfile on line %d " +"of %s." +msgstr "" +"ppdc:共 %2$s 行中的第 %1$d 行中在 SimpleColorProfile 声明后预期分辨率/介质类" +"型。" + +#, c-format +msgid "ppdc: Expected selector after %s on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中在 %1$s 声明后预期选择器。" + +#, c-format +msgid "ppdc: Expected status after Font on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中在 Font 声明后预期状态。" + +#, c-format +msgid "ppdc: Expected string after Copyright on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期 Copyright 声明后的字符串。" + +#, c-format +msgid "ppdc: Expected string after Version on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期 Version 声明后的字符串。" + +#, c-format +msgid "ppdc: Expected two option names on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期两个选项名。" + +#, c-format +msgid "ppdc: Expected value after %s on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中 %1$s 后预期值。" + +#, c-format +msgid "ppdc: Expected version after Font on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中预期 Font 声明后的版本号。" + +#, c-format +msgid "ppdc: Invalid #include/#po filename \"%s\"." +msgstr "ppdc:无效的 #include/#po 文件名“%s”。" + +#, c-format +msgid "ppdc: Invalid cost for filter on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中滤镜值无效。" + +#, c-format +msgid "ppdc: Invalid empty MIME type for filter on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中滤镜 MIME 类型无效且为空。" + +#, c-format +msgid "ppdc: Invalid empty program name for filter on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中滤镜程序名无效且为空。" + +#, c-format +msgid "ppdc: Invalid option section \"%s\" on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中含有无效选项节“%1$s”。" + +#, c-format +msgid "ppdc: Invalid option type \"%s\" on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中含有无效选项类型“%1$s”。" + +#, c-format +msgid "ppdc: Loading driver information file \"%s\"." +msgstr "ppdc:正在载入驱动信息文件“%s”。" + +#, c-format +msgid "ppdc: Loading messages for locale \"%s\"." +msgstr "ppdc:正在载入地域“%s”的消息文本。" + +#, c-format +msgid "ppdc: Loading messages from \"%s\"." +msgstr "ppdc:正在从“%s”载入消息文本。" + +#, c-format +msgid "ppdc: Missing #endif at end of \"%s\"." +msgstr "ppdc:在“%s”结尾缺少 #endif。" + +#, c-format +msgid "ppdc: Missing #if on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中缺少 #if。" + +#, c-format +msgid "" +"ppdc: Need a msgid line before any translation strings on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中,在任何翻译字串前需要 msgid 行。" + +#, c-format +msgid "ppdc: No message catalog provided for locale %s." +msgstr "ppdc:未给地域 %s 提供消息文本目录。" + +#, c-format +msgid "ppdc: Option %s defined in two different groups on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中选项 %1$s 在两个不同的组中被定义。" + +#, c-format +msgid "ppdc: Option %s redefined with a different type on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中选项 %1$s 被重定义为另一个类型。" + +#, c-format +msgid "ppdc: Option constraint must *name on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中选项制约必须包含 *name 声明。" + +#, c-format +msgid "ppdc: Too many nested #if's on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中包含太多嵌套的 #if。" + +#, c-format +msgid "ppdc: Unable to create PPD file \"%s\" - %s." +msgstr "ppdc:无法创建 PPD 文件“%s” — %s。" + +#, c-format +msgid "ppdc: Unable to create output directory %s: %s" +msgstr "ppdc:无法创建输出目录 %s:%s" + +#, c-format +msgid "ppdc: Unable to create output pipes: %s" +msgstr "ppdc:无法创建输出管道:%s" + +#, c-format +msgid "ppdc: Unable to execute cupstestppd: %s" +msgstr "ppdc:无法执行 cupstestppd:%s" + +#, c-format +msgid "ppdc: Unable to find #po file %s on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中找不到 #po 文件 %1$s。" + +#, c-format +msgid "ppdc: Unable to find include file \"%s\" on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中找不到引用的文件“%1$s”。" + +#, c-format +msgid "ppdc: Unable to find localization for \"%s\" - %s" +msgstr "ppdc:无法为“%s”找到本地化文件 — %s" + +#, c-format +msgid "ppdc: Unable to load localization file \"%s\" - %s" +msgstr "ppdc:无法载入本地化文件“%s” — %s" + +#, c-format +msgid "ppdc: Unable to open %s: %s" +msgstr "ppdc:无法打开 %s:%s" + +#, c-format +msgid "ppdc: Undefined variable (%s) on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中含有未定义的变量(%1$s)。" + +#, c-format +msgid "ppdc: Unexpected text on line %d of %s." +msgstr "ppdc:共 %2$s 行中的第 %1$d 行中含有未预期的文本。" + +#, c-format +msgid "ppdc: Unknown driver type %s on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中包含未知驱动类型 %1$s。" + +#, c-format +msgid "ppdc: Unknown duplex type \"%s\" on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中含有未知双工类型“%1$s”。" + +#, c-format +msgid "ppdc: Unknown media size \"%s\" on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中包含未知媒体大小“%1$s”。" + +#, c-format +msgid "ppdc: Unknown message catalog format for \"%s\"." +msgstr "ppdc:用于“%s”的消息文本目录格式未知。" + +#, c-format +msgid "ppdc: Unknown token \"%s\" seen on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中找到未知令牌“%1$s”。" + +#, c-format +msgid "" +"ppdc: Unknown trailing characters in real number \"%s\" on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中实数“%1$s”后找到未知尾随字符。" + +#, c-format +msgid "ppdc: Unterminated string starting with %c on line %d of %s." +msgstr "ppdc:共 %3$s 行中的第 %2$d 行中包含未终止的字符串,开头为 %1$c。" + +#, c-format +msgid "ppdc: Warning - overlapping filename \"%s\"." +msgstr "ppdc:警告 — 重复的文件名“%s”。" + +#, c-format +msgid "ppdc: Writing %s." +msgstr "ppdc:正在写入 %s。" + +#, c-format +msgid "ppdc: Writing PPD files to directory \"%s\"." +msgstr "ppdc:正在将 PPD 文件写入到路径“%s”。" + +#, c-format +msgid "ppdmerge: Bad LanguageVersion \"%s\" in %s." +msgstr "ppdmerge:在 %2$s 中包含无效的 LanguageVersion“%1$s”。" + +#, c-format +msgid "ppdmerge: Ignoring PPD file %s." +msgstr "ppdmerge:正在忽略 PPD 文件 %s。" + +#, c-format +msgid "ppdmerge: Unable to backup %s to %s - %s" +msgstr "ppdmerge:无法将 %s 备份至 %s — %s" + +#. TRANSLATORS: Pre-dial String +msgid "pre-dial-string" +msgstr "" + +#. TRANSLATORS: Number-Up Layout +msgid "presentation-direction-number-up" +msgstr "" + +#. TRANSLATORS: Top-bottom, Right-left +msgid "presentation-direction-number-up.tobottom-toleft" +msgstr "" + +#. TRANSLATORS: Top-bottom, Left-right +msgid "presentation-direction-number-up.tobottom-toright" +msgstr "" + +#. TRANSLATORS: Right-left, Top-bottom +msgid "presentation-direction-number-up.toleft-tobottom" +msgstr "" + +#. TRANSLATORS: Right-left, Bottom-top +msgid "presentation-direction-number-up.toleft-totop" +msgstr "" + +#. TRANSLATORS: Left-right, Top-bottom +msgid "presentation-direction-number-up.toright-tobottom" +msgstr "" + +#. TRANSLATORS: Left-right, Bottom-top +msgid "presentation-direction-number-up.toright-totop" +msgstr "" + +#. TRANSLATORS: Bottom-top, Right-left +msgid "presentation-direction-number-up.totop-toleft" +msgstr "" + +#. TRANSLATORS: Bottom-top, Left-right +msgid "presentation-direction-number-up.totop-toright" +msgstr "" + +#. TRANSLATORS: Print Accuracy +msgid "print-accuracy" +msgstr "" + +#. TRANSLATORS: Print Base +msgid "print-base" +msgstr "" + +#. TRANSLATORS: Print Base Actual +msgid "print-base-actual" +msgstr "" + +#. TRANSLATORS: Brim +msgid "print-base.brim" +msgstr "" + +#. TRANSLATORS: None +msgid "print-base.none" +msgstr "" + +#. TRANSLATORS: Raft +msgid "print-base.raft" +msgstr "" + +#. TRANSLATORS: Skirt +msgid "print-base.skirt" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-base.standard" +msgstr "" + +#. TRANSLATORS: Print Color Mode +msgid "print-color-mode" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-color-mode.auto" +msgstr "" + +#. TRANSLATORS: Auto Monochrome +msgid "print-color-mode.auto-monochrome" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-color-mode.bi-level" +msgstr "" + +#. TRANSLATORS: Color +msgid "print-color-mode.color" +msgstr "" + +#. TRANSLATORS: Highlight +msgid "print-color-mode.highlight" +msgstr "" + +#. TRANSLATORS: Monochrome +msgid "print-color-mode.monochrome" +msgstr "" + +#. TRANSLATORS: Process Text +msgid "print-color-mode.process-bi-level" +msgstr "" + +#. TRANSLATORS: Process Monochrome +msgid "print-color-mode.process-monochrome" +msgstr "" + +#. TRANSLATORS: Print Optimization +msgid "print-content-optimize" +msgstr "" + +#. TRANSLATORS: Print Content Optimize Actual +msgid "print-content-optimize-actual" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-content-optimize.auto" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphic" +msgstr "" + +#. TRANSLATORS: Graphics +msgid "print-content-optimize.graphics" +msgstr "" + +#. TRANSLATORS: Photo +msgid "print-content-optimize.photo" +msgstr "" + +#. TRANSLATORS: Text +msgid "print-content-optimize.text" +msgstr "" + +#. TRANSLATORS: Text and Graphics +msgid "print-content-optimize.text-and-graphic" +msgstr "" + +#. TRANSLATORS: Text And Graphics +msgid "print-content-optimize.text-and-graphics" +msgstr "" + +#. TRANSLATORS: Print Objects +msgid "print-objects" +msgstr "" + +#. TRANSLATORS: Print Quality +msgid "print-quality" +msgstr "" + +#. TRANSLATORS: Draft +msgid "print-quality.3" +msgstr "" + +#. TRANSLATORS: Normal +msgid "print-quality.4" +msgstr "" + +#. TRANSLATORS: High +msgid "print-quality.5" +msgstr "" + +#. TRANSLATORS: Print Rendering Intent +msgid "print-rendering-intent" +msgstr "" + +#. TRANSLATORS: Absolute +msgid "print-rendering-intent.absolute" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-rendering-intent.auto" +msgstr "" + +#. TRANSLATORS: Perceptual +msgid "print-rendering-intent.perceptual" +msgstr "" + +#. TRANSLATORS: Relative +msgid "print-rendering-intent.relative" +msgstr "" + +#. TRANSLATORS: Relative w/Black Point Compensation +msgid "print-rendering-intent.relative-bpc" +msgstr "" + +#. TRANSLATORS: Saturation +msgid "print-rendering-intent.saturation" +msgstr "" + +#. TRANSLATORS: Print Scaling +msgid "print-scaling" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "print-scaling.auto" +msgstr "" + +#. TRANSLATORS: Auto-fit +msgid "print-scaling.auto-fit" +msgstr "" + +#. TRANSLATORS: Fill +msgid "print-scaling.fill" +msgstr "" + +#. TRANSLATORS: Fit +msgid "print-scaling.fit" +msgstr "" + +#. TRANSLATORS: None +msgid "print-scaling.none" +msgstr "" + +#. TRANSLATORS: Print Supports +msgid "print-supports" +msgstr "" + +#. TRANSLATORS: Print Supports Actual +msgid "print-supports-actual" +msgstr "" + +#. TRANSLATORS: With Specified Material +msgid "print-supports.material" +msgstr "" + +#. TRANSLATORS: None +msgid "print-supports.none" +msgstr "" + +#. TRANSLATORS: Standard +msgid "print-supports.standard" +msgstr "" + +#, c-format +msgid "printer %s disabled since %s -" +msgstr "打印机 %s 从 %s 开始被禁用 -" + +#, c-format +msgid "printer %s is holding new jobs. enabled since %s" +msgstr "打印机 %s 正在保留新任务。从 %s 开始启用" + +#, c-format +msgid "printer %s is idle. enabled since %s" +msgstr "打印机 %s 目前空闲。从 %s 开始启用" + +#, c-format +msgid "printer %s now printing %s-%d. enabled since %s" +msgstr "打印机 %s 正在打印 %s-%d。从 %s 开始启用" + +#, c-format +msgid "printer %s/%s disabled since %s -" +msgstr "打印机 %s/%s 从 %s 开始被禁用 -" + +#, c-format +msgid "printer %s/%s is idle. enabled since %s" +msgstr "打印机 %s/%s 目前空闲。从 %s 开始启用" + +#, c-format +msgid "printer %s/%s now printing %s-%d. enabled since %s" +msgstr "打印机 %s/%s 正在打印 %s-%d。从 %s 开始启用" + +#. TRANSLATORS: Printer Kind +msgid "printer-kind" +msgstr "" + +#. TRANSLATORS: Disc +msgid "printer-kind.disc" +msgstr "" + +#. TRANSLATORS: Document +msgid "printer-kind.document" +msgstr "" + +#. TRANSLATORS: Envelope +msgid "printer-kind.envelope" +msgstr "" + +#. TRANSLATORS: Label +msgid "printer-kind.label" +msgstr "" + +#. TRANSLATORS: Large Format +msgid "printer-kind.large-format" +msgstr "" + +#. TRANSLATORS: Photo +msgid "printer-kind.photo" +msgstr "" + +#. TRANSLATORS: Postcard +msgid "printer-kind.postcard" +msgstr "" + +#. TRANSLATORS: Receipt +msgid "printer-kind.receipt" +msgstr "" + +#. TRANSLATORS: Roll +msgid "printer-kind.roll" +msgstr "" + +#. TRANSLATORS: Message From Operator +msgid "printer-message-from-operator" +msgstr "" + +#. TRANSLATORS: Print Resolution +msgid "printer-resolution" +msgstr "" + +#. TRANSLATORS: Printer State +msgid "printer-state" +msgstr "" + +#. TRANSLATORS: Detailed Printer State +msgid "printer-state-reasons" +msgstr "" + +#. TRANSLATORS: Old Alerts Have Been Removed +msgid "printer-state-reasons.alert-removal-of-binary-change-entry" +msgstr "" + +#. TRANSLATORS: Bander Added +msgid "printer-state-reasons.bander-added" +msgstr "" + +#. TRANSLATORS: Bander Almost Empty +msgid "printer-state-reasons.bander-almost-empty" +msgstr "" + +#. TRANSLATORS: Bander Almost Full +msgid "printer-state-reasons.bander-almost-full" +msgstr "" + +#. TRANSLATORS: Bander At Limit +msgid "printer-state-reasons.bander-at-limit" +msgstr "" + +#. TRANSLATORS: Bander Closed +msgid "printer-state-reasons.bander-closed" +msgstr "" + +#. TRANSLATORS: Bander Configuration Change +msgid "printer-state-reasons.bander-configuration-change" +msgstr "" + +#. TRANSLATORS: Bander Cover Closed +msgid "printer-state-reasons.bander-cover-closed" +msgstr "" + +#. TRANSLATORS: Bander Cover Open +msgid "printer-state-reasons.bander-cover-open" +msgstr "" + +#. TRANSLATORS: Bander Empty +msgid "printer-state-reasons.bander-empty" +msgstr "" + +#. TRANSLATORS: Bander Full +msgid "printer-state-reasons.bander-full" +msgstr "" + +#. TRANSLATORS: Bander Interlock Closed +msgid "printer-state-reasons.bander-interlock-closed" +msgstr "" + +#. TRANSLATORS: Bander Interlock Open +msgid "printer-state-reasons.bander-interlock-open" +msgstr "" + +#. TRANSLATORS: Bander Jam +msgid "printer-state-reasons.bander-jam" +msgstr "" + +#. TRANSLATORS: Bander Life Almost Over +msgid "printer-state-reasons.bander-life-almost-over" +msgstr "" + +#. TRANSLATORS: Bander Life Over +msgid "printer-state-reasons.bander-life-over" +msgstr "" + +#. TRANSLATORS: Bander Memory Exhausted +msgid "printer-state-reasons.bander-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Bander Missing +msgid "printer-state-reasons.bander-missing" +msgstr "" + +#. TRANSLATORS: Bander Motor Failure +msgid "printer-state-reasons.bander-motor-failure" +msgstr "" + +#. TRANSLATORS: Bander Near Limit +msgid "printer-state-reasons.bander-near-limit" +msgstr "" + +#. TRANSLATORS: Bander Offline +msgid "printer-state-reasons.bander-offline" +msgstr "" + +#. TRANSLATORS: Bander Opened +msgid "printer-state-reasons.bander-opened" +msgstr "" + +#. TRANSLATORS: Bander Over Temperature +msgid "printer-state-reasons.bander-over-temperature" +msgstr "" + +#. TRANSLATORS: Bander Power Saver +msgid "printer-state-reasons.bander-power-saver" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Failure +msgid "printer-state-reasons.bander-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Recoverable Storage +msgid "printer-state-reasons.bander-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Bander Removed +msgid "printer-state-reasons.bander-removed" +msgstr "" + +#. TRANSLATORS: Bander Resource Added +msgid "printer-state-reasons.bander-resource-added" +msgstr "" + +#. TRANSLATORS: Bander Resource Removed +msgid "printer-state-reasons.bander-resource-removed" +msgstr "" + +#. TRANSLATORS: Bander Thermistor Failure +msgid "printer-state-reasons.bander-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Bander Timing Failure +msgid "printer-state-reasons.bander-timing-failure" +msgstr "" + +#. TRANSLATORS: Bander Turned Off +msgid "printer-state-reasons.bander-turned-off" +msgstr "" + +#. TRANSLATORS: Bander Turned On +msgid "printer-state-reasons.bander-turned-on" +msgstr "" + +#. TRANSLATORS: Bander Under Temperature +msgid "printer-state-reasons.bander-under-temperature" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Failure +msgid "printer-state-reasons.bander-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Bander Unrecoverable Storage Error +msgid "printer-state-reasons.bander-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Bander Warming Up +msgid "printer-state-reasons.bander-warming-up" +msgstr "" + +#. TRANSLATORS: Binder Added +msgid "printer-state-reasons.binder-added" +msgstr "" + +#. TRANSLATORS: Binder Almost Empty +msgid "printer-state-reasons.binder-almost-empty" +msgstr "" + +#. TRANSLATORS: Binder Almost Full +msgid "printer-state-reasons.binder-almost-full" +msgstr "" + +#. TRANSLATORS: Binder At Limit +msgid "printer-state-reasons.binder-at-limit" +msgstr "" + +#. TRANSLATORS: Binder Closed +msgid "printer-state-reasons.binder-closed" +msgstr "" + +#. TRANSLATORS: Binder Configuration Change +msgid "printer-state-reasons.binder-configuration-change" +msgstr "" + +#. TRANSLATORS: Binder Cover Closed +msgid "printer-state-reasons.binder-cover-closed" +msgstr "" + +#. TRANSLATORS: Binder Cover Open +msgid "printer-state-reasons.binder-cover-open" +msgstr "" + +#. TRANSLATORS: Binder Empty +msgid "printer-state-reasons.binder-empty" +msgstr "" + +#. TRANSLATORS: Binder Full +msgid "printer-state-reasons.binder-full" +msgstr "" + +#. TRANSLATORS: Binder Interlock Closed +msgid "printer-state-reasons.binder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Binder Interlock Open +msgid "printer-state-reasons.binder-interlock-open" +msgstr "" + +#. TRANSLATORS: Binder Jam +msgid "printer-state-reasons.binder-jam" +msgstr "" + +#. TRANSLATORS: Binder Life Almost Over +msgid "printer-state-reasons.binder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Binder Life Over +msgid "printer-state-reasons.binder-life-over" +msgstr "" + +#. TRANSLATORS: Binder Memory Exhausted +msgid "printer-state-reasons.binder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Binder Missing +msgid "printer-state-reasons.binder-missing" +msgstr "" + +#. TRANSLATORS: Binder Motor Failure +msgid "printer-state-reasons.binder-motor-failure" +msgstr "" + +#. TRANSLATORS: Binder Near Limit +msgid "printer-state-reasons.binder-near-limit" +msgstr "" + +#. TRANSLATORS: Binder Offline +msgid "printer-state-reasons.binder-offline" +msgstr "" + +#. TRANSLATORS: Binder Opened +msgid "printer-state-reasons.binder-opened" +msgstr "" + +#. TRANSLATORS: Binder Over Temperature +msgid "printer-state-reasons.binder-over-temperature" +msgstr "" + +#. TRANSLATORS: Binder Power Saver +msgid "printer-state-reasons.binder-power-saver" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Failure +msgid "printer-state-reasons.binder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Recoverable Storage +msgid "printer-state-reasons.binder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Binder Removed +msgid "printer-state-reasons.binder-removed" +msgstr "" + +#. TRANSLATORS: Binder Resource Added +msgid "printer-state-reasons.binder-resource-added" +msgstr "" + +#. TRANSLATORS: Binder Resource Removed +msgid "printer-state-reasons.binder-resource-removed" +msgstr "" + +#. TRANSLATORS: Binder Thermistor Failure +msgid "printer-state-reasons.binder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Binder Timing Failure +msgid "printer-state-reasons.binder-timing-failure" +msgstr "" + +#. TRANSLATORS: Binder Turned Off +msgid "printer-state-reasons.binder-turned-off" +msgstr "" + +#. TRANSLATORS: Binder Turned On +msgid "printer-state-reasons.binder-turned-on" +msgstr "" + +#. TRANSLATORS: Binder Under Temperature +msgid "printer-state-reasons.binder-under-temperature" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Failure +msgid "printer-state-reasons.binder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Binder Unrecoverable Storage Error +msgid "printer-state-reasons.binder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Binder Warming Up +msgid "printer-state-reasons.binder-warming-up" +msgstr "" + +#. TRANSLATORS: Camera Failure +msgid "printer-state-reasons.camera-failure" +msgstr "" + +#. TRANSLATORS: Chamber Cooling +msgid "printer-state-reasons.chamber-cooling" +msgstr "" + +#. TRANSLATORS: Chamber Failure +msgid "printer-state-reasons.chamber-failure" +msgstr "" + +#. TRANSLATORS: Chamber Heating +msgid "printer-state-reasons.chamber-heating" +msgstr "" + +#. TRANSLATORS: Chamber Temperature High +msgid "printer-state-reasons.chamber-temperature-high" +msgstr "" + +#. TRANSLATORS: Chamber Temperature Low +msgid "printer-state-reasons.chamber-temperature-low" +msgstr "" + +#. TRANSLATORS: Cleaner Life Almost Over +msgid "printer-state-reasons.cleaner-life-almost-over" +msgstr "" + +#. TRANSLATORS: Cleaner Life Over +msgid "printer-state-reasons.cleaner-life-over" +msgstr "" + +#. TRANSLATORS: Configuration Change +msgid "printer-state-reasons.configuration-change" +msgstr "" + +#. TRANSLATORS: Connecting To Device +msgid "printer-state-reasons.connecting-to-device" +msgstr "" + +#. TRANSLATORS: Cover Open +msgid "printer-state-reasons.cover-open" +msgstr "" + +#. TRANSLATORS: Deactivated +msgid "printer-state-reasons.deactivated" +msgstr "" + +#. TRANSLATORS: Developer Empty +msgid "printer-state-reasons.developer-empty" +msgstr "" + +#. TRANSLATORS: Developer Low +msgid "printer-state-reasons.developer-low" +msgstr "" + +#. TRANSLATORS: Die Cutter Added +msgid "printer-state-reasons.die-cutter-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Empty +msgid "printer-state-reasons.die-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Almost Full +msgid "printer-state-reasons.die-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Die Cutter At Limit +msgid "printer-state-reasons.die-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Closed +msgid "printer-state-reasons.die-cutter-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Configuration Change +msgid "printer-state-reasons.die-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Closed +msgid "printer-state-reasons.die-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Cover Open +msgid "printer-state-reasons.die-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Empty +msgid "printer-state-reasons.die-cutter-empty" +msgstr "" + +#. TRANSLATORS: Die Cutter Full +msgid "printer-state-reasons.die-cutter-full" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Closed +msgid "printer-state-reasons.die-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Die Cutter Interlock Open +msgid "printer-state-reasons.die-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Die Cutter Jam +msgid "printer-state-reasons.die-cutter-jam" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Almost Over +msgid "printer-state-reasons.die-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Life Over +msgid "printer-state-reasons.die-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Die Cutter Memory Exhausted +msgid "printer-state-reasons.die-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Die Cutter Missing +msgid "printer-state-reasons.die-cutter-missing" +msgstr "" + +#. TRANSLATORS: Die Cutter Motor Failure +msgid "printer-state-reasons.die-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Near Limit +msgid "printer-state-reasons.die-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Die Cutter Offline +msgid "printer-state-reasons.die-cutter-offline" +msgstr "" + +#. TRANSLATORS: Die Cutter Opened +msgid "printer-state-reasons.die-cutter-opened" +msgstr "" + +#. TRANSLATORS: Die Cutter Over Temperature +msgid "printer-state-reasons.die-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Power Saver +msgid "printer-state-reasons.die-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Failure +msgid "printer-state-reasons.die-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Recoverable Storage +msgid "printer-state-reasons.die-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Die Cutter Removed +msgid "printer-state-reasons.die-cutter-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Added +msgid "printer-state-reasons.die-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Die Cutter Resource Removed +msgid "printer-state-reasons.die-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Die Cutter Thermistor Failure +msgid "printer-state-reasons.die-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Timing Failure +msgid "printer-state-reasons.die-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned Off +msgid "printer-state-reasons.die-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Die Cutter Turned On +msgid "printer-state-reasons.die-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Die Cutter Under Temperature +msgid "printer-state-reasons.die-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Failure +msgid "printer-state-reasons.die-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Die Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.die-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Die Cutter Warming Up +msgid "printer-state-reasons.die-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Door Open +msgid "printer-state-reasons.door-open" +msgstr "" + +#. TRANSLATORS: Extruder Cooling +msgid "printer-state-reasons.extruder-cooling" +msgstr "" + +#. TRANSLATORS: Extruder Failure +msgid "printer-state-reasons.extruder-failure" +msgstr "" + +#. TRANSLATORS: Extruder Heating +msgid "printer-state-reasons.extruder-heating" +msgstr "" + +#. TRANSLATORS: Extruder Jam +msgid "printer-state-reasons.extruder-jam" +msgstr "" + +#. TRANSLATORS: Extruder Temperature High +msgid "printer-state-reasons.extruder-temperature-high" +msgstr "" + +#. TRANSLATORS: Extruder Temperature Low +msgid "printer-state-reasons.extruder-temperature-low" +msgstr "" + +#. TRANSLATORS: Fan Failure +msgid "printer-state-reasons.fan-failure" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Almost Over +msgid "printer-state-reasons.fax-modem-life-almost-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Life Over +msgid "printer-state-reasons.fax-modem-life-over" +msgstr "" + +#. TRANSLATORS: Fax Modem Missing +msgid "printer-state-reasons.fax-modem-missing" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned Off +msgid "printer-state-reasons.fax-modem-turned-off" +msgstr "" + +#. TRANSLATORS: Fax Modem Turned On +msgid "printer-state-reasons.fax-modem-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Added +msgid "printer-state-reasons.folder-added" +msgstr "" + +#. TRANSLATORS: Folder Almost Empty +msgid "printer-state-reasons.folder-almost-empty" +msgstr "" + +#. TRANSLATORS: Folder Almost Full +msgid "printer-state-reasons.folder-almost-full" +msgstr "" + +#. TRANSLATORS: Folder At Limit +msgid "printer-state-reasons.folder-at-limit" +msgstr "" + +#. TRANSLATORS: Folder Closed +msgid "printer-state-reasons.folder-closed" +msgstr "" + +#. TRANSLATORS: Folder Configuration Change +msgid "printer-state-reasons.folder-configuration-change" +msgstr "" + +#. TRANSLATORS: Folder Cover Closed +msgid "printer-state-reasons.folder-cover-closed" +msgstr "" + +#. TRANSLATORS: Folder Cover Open +msgid "printer-state-reasons.folder-cover-open" +msgstr "" + +#. TRANSLATORS: Folder Empty +msgid "printer-state-reasons.folder-empty" +msgstr "" + +#. TRANSLATORS: Folder Full +msgid "printer-state-reasons.folder-full" +msgstr "" + +#. TRANSLATORS: Folder Interlock Closed +msgid "printer-state-reasons.folder-interlock-closed" +msgstr "" + +#. TRANSLATORS: Folder Interlock Open +msgid "printer-state-reasons.folder-interlock-open" +msgstr "" + +#. TRANSLATORS: Folder Jam +msgid "printer-state-reasons.folder-jam" +msgstr "" + +#. TRANSLATORS: Folder Life Almost Over +msgid "printer-state-reasons.folder-life-almost-over" +msgstr "" + +#. TRANSLATORS: Folder Life Over +msgid "printer-state-reasons.folder-life-over" +msgstr "" + +#. TRANSLATORS: Folder Memory Exhausted +msgid "printer-state-reasons.folder-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Folder Missing +msgid "printer-state-reasons.folder-missing" +msgstr "" + +#. TRANSLATORS: Folder Motor Failure +msgid "printer-state-reasons.folder-motor-failure" +msgstr "" + +#. TRANSLATORS: Folder Near Limit +msgid "printer-state-reasons.folder-near-limit" +msgstr "" + +#. TRANSLATORS: Folder Offline +msgid "printer-state-reasons.folder-offline" +msgstr "" + +#. TRANSLATORS: Folder Opened +msgid "printer-state-reasons.folder-opened" +msgstr "" + +#. TRANSLATORS: Folder Over Temperature +msgid "printer-state-reasons.folder-over-temperature" +msgstr "" + +#. TRANSLATORS: Folder Power Saver +msgid "printer-state-reasons.folder-power-saver" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Failure +msgid "printer-state-reasons.folder-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Recoverable Storage +msgid "printer-state-reasons.folder-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Folder Removed +msgid "printer-state-reasons.folder-removed" +msgstr "" + +#. TRANSLATORS: Folder Resource Added +msgid "printer-state-reasons.folder-resource-added" +msgstr "" + +#. TRANSLATORS: Folder Resource Removed +msgid "printer-state-reasons.folder-resource-removed" +msgstr "" + +#. TRANSLATORS: Folder Thermistor Failure +msgid "printer-state-reasons.folder-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Folder Timing Failure +msgid "printer-state-reasons.folder-timing-failure" +msgstr "" + +#. TRANSLATORS: Folder Turned Off +msgid "printer-state-reasons.folder-turned-off" +msgstr "" + +#. TRANSLATORS: Folder Turned On +msgid "printer-state-reasons.folder-turned-on" +msgstr "" + +#. TRANSLATORS: Folder Under Temperature +msgid "printer-state-reasons.folder-under-temperature" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Failure +msgid "printer-state-reasons.folder-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Folder Unrecoverable Storage Error +msgid "printer-state-reasons.folder-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Folder Warming Up +msgid "printer-state-reasons.folder-warming-up" +msgstr "" + +#. TRANSLATORS: Fuser temperature high +msgid "printer-state-reasons.fuser-over-temp" +msgstr "" + +#. TRANSLATORS: Fuser temperature low +msgid "printer-state-reasons.fuser-under-temp" +msgstr "" + +#. TRANSLATORS: Hold New Jobs +msgid "printer-state-reasons.hold-new-jobs" +msgstr "" + +#. TRANSLATORS: Identify Printer +msgid "printer-state-reasons.identify-printer-requested" +msgstr "" + +#. TRANSLATORS: Imprinter Added +msgid "printer-state-reasons.imprinter-added" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Empty +msgid "printer-state-reasons.imprinter-almost-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Almost Full +msgid "printer-state-reasons.imprinter-almost-full" +msgstr "" + +#. TRANSLATORS: Imprinter At Limit +msgid "printer-state-reasons.imprinter-at-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Closed +msgid "printer-state-reasons.imprinter-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Configuration Change +msgid "printer-state-reasons.imprinter-configuration-change" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Closed +msgid "printer-state-reasons.imprinter-cover-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Cover Open +msgid "printer-state-reasons.imprinter-cover-open" +msgstr "" + +#. TRANSLATORS: Imprinter Empty +msgid "printer-state-reasons.imprinter-empty" +msgstr "" + +#. TRANSLATORS: Imprinter Full +msgid "printer-state-reasons.imprinter-full" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Closed +msgid "printer-state-reasons.imprinter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Imprinter Interlock Open +msgid "printer-state-reasons.imprinter-interlock-open" +msgstr "" + +#. TRANSLATORS: Imprinter Jam +msgid "printer-state-reasons.imprinter-jam" +msgstr "" + +#. TRANSLATORS: Imprinter Life Almost Over +msgid "printer-state-reasons.imprinter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Imprinter Life Over +msgid "printer-state-reasons.imprinter-life-over" +msgstr "" + +#. TRANSLATORS: Imprinter Memory Exhausted +msgid "printer-state-reasons.imprinter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Imprinter Missing +msgid "printer-state-reasons.imprinter-missing" +msgstr "" + +#. TRANSLATORS: Imprinter Motor Failure +msgid "printer-state-reasons.imprinter-motor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Near Limit +msgid "printer-state-reasons.imprinter-near-limit" +msgstr "" + +#. TRANSLATORS: Imprinter Offline +msgid "printer-state-reasons.imprinter-offline" +msgstr "" + +#. TRANSLATORS: Imprinter Opened +msgid "printer-state-reasons.imprinter-opened" +msgstr "" + +#. TRANSLATORS: Imprinter Over Temperature +msgid "printer-state-reasons.imprinter-over-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Power Saver +msgid "printer-state-reasons.imprinter-power-saver" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Failure +msgid "printer-state-reasons.imprinter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Recoverable Storage +msgid "printer-state-reasons.imprinter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Imprinter Removed +msgid "printer-state-reasons.imprinter-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Added +msgid "printer-state-reasons.imprinter-resource-added" +msgstr "" + +#. TRANSLATORS: Imprinter Resource Removed +msgid "printer-state-reasons.imprinter-resource-removed" +msgstr "" + +#. TRANSLATORS: Imprinter Thermistor Failure +msgid "printer-state-reasons.imprinter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Timing Failure +msgid "printer-state-reasons.imprinter-timing-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Turned Off +msgid "printer-state-reasons.imprinter-turned-off" +msgstr "" + +#. TRANSLATORS: Imprinter Turned On +msgid "printer-state-reasons.imprinter-turned-on" +msgstr "" + +#. TRANSLATORS: Imprinter Under Temperature +msgid "printer-state-reasons.imprinter-under-temperature" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Failure +msgid "printer-state-reasons.imprinter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Imprinter Unrecoverable Storage Error +msgid "printer-state-reasons.imprinter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Imprinter Warming Up +msgid "printer-state-reasons.imprinter-warming-up" +msgstr "" + +#. TRANSLATORS: Input Cannot Feed Size Selected +msgid "printer-state-reasons.input-cannot-feed-size-selected" +msgstr "" + +#. TRANSLATORS: Input Manual Input Request +msgid "printer-state-reasons.input-manual-input-request" +msgstr "" + +#. TRANSLATORS: Input Media Color Change +msgid "printer-state-reasons.input-media-color-change" +msgstr "" + +#. TRANSLATORS: Input Media Form Parts Change +msgid "printer-state-reasons.input-media-form-parts-change" +msgstr "" + +#. TRANSLATORS: Input Media Size Change +msgid "printer-state-reasons.input-media-size-change" +msgstr "" + +#. TRANSLATORS: Input Media Tray Failure +msgid "printer-state-reasons.input-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Input Media Tray Feed Error +msgid "printer-state-reasons.input-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Input Media Tray Jam +msgid "printer-state-reasons.input-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Input Media Type Change +msgid "printer-state-reasons.input-media-type-change" +msgstr "" + +#. TRANSLATORS: Input Media Weight Change +msgid "printer-state-reasons.input-media-weight-change" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Failure +msgid "printer-state-reasons.input-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Over +msgid "printer-state-reasons.input-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Life Warn +msgid "printer-state-reasons.input-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Input Pick Roller Missing +msgid "printer-state-reasons.input-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Elevation Failure +msgid "printer-state-reasons.input-tray-elevation-failure" +msgstr "" + +#. TRANSLATORS: Paper tray is missing +msgid "printer-state-reasons.input-tray-missing" +msgstr "" + +#. TRANSLATORS: Input Tray Position Failure +msgid "printer-state-reasons.input-tray-position-failure" +msgstr "" + +#. TRANSLATORS: Inserter Added +msgid "printer-state-reasons.inserter-added" +msgstr "" + +#. TRANSLATORS: Inserter Almost Empty +msgid "printer-state-reasons.inserter-almost-empty" +msgstr "" + +#. TRANSLATORS: Inserter Almost Full +msgid "printer-state-reasons.inserter-almost-full" +msgstr "" + +#. TRANSLATORS: Inserter At Limit +msgid "printer-state-reasons.inserter-at-limit" +msgstr "" + +#. TRANSLATORS: Inserter Closed +msgid "printer-state-reasons.inserter-closed" +msgstr "" + +#. TRANSLATORS: Inserter Configuration Change +msgid "printer-state-reasons.inserter-configuration-change" +msgstr "" + +#. TRANSLATORS: Inserter Cover Closed +msgid "printer-state-reasons.inserter-cover-closed" +msgstr "" + +#. TRANSLATORS: Inserter Cover Open +msgid "printer-state-reasons.inserter-cover-open" +msgstr "" + +#. TRANSLATORS: Inserter Empty +msgid "printer-state-reasons.inserter-empty" +msgstr "" + +#. TRANSLATORS: Inserter Full +msgid "printer-state-reasons.inserter-full" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Closed +msgid "printer-state-reasons.inserter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Inserter Interlock Open +msgid "printer-state-reasons.inserter-interlock-open" +msgstr "" + +#. TRANSLATORS: Inserter Jam +msgid "printer-state-reasons.inserter-jam" +msgstr "" + +#. TRANSLATORS: Inserter Life Almost Over +msgid "printer-state-reasons.inserter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Inserter Life Over +msgid "printer-state-reasons.inserter-life-over" +msgstr "" + +#. TRANSLATORS: Inserter Memory Exhausted +msgid "printer-state-reasons.inserter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Inserter Missing +msgid "printer-state-reasons.inserter-missing" +msgstr "" + +#. TRANSLATORS: Inserter Motor Failure +msgid "printer-state-reasons.inserter-motor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Near Limit +msgid "printer-state-reasons.inserter-near-limit" +msgstr "" + +#. TRANSLATORS: Inserter Offline +msgid "printer-state-reasons.inserter-offline" +msgstr "" + +#. TRANSLATORS: Inserter Opened +msgid "printer-state-reasons.inserter-opened" +msgstr "" + +#. TRANSLATORS: Inserter Over Temperature +msgid "printer-state-reasons.inserter-over-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Power Saver +msgid "printer-state-reasons.inserter-power-saver" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Failure +msgid "printer-state-reasons.inserter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Recoverable Storage +msgid "printer-state-reasons.inserter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Inserter Removed +msgid "printer-state-reasons.inserter-removed" +msgstr "" + +#. TRANSLATORS: Inserter Resource Added +msgid "printer-state-reasons.inserter-resource-added" +msgstr "" + +#. TRANSLATORS: Inserter Resource Removed +msgid "printer-state-reasons.inserter-resource-removed" +msgstr "" + +#. TRANSLATORS: Inserter Thermistor Failure +msgid "printer-state-reasons.inserter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Inserter Timing Failure +msgid "printer-state-reasons.inserter-timing-failure" +msgstr "" + +#. TRANSLATORS: Inserter Turned Off +msgid "printer-state-reasons.inserter-turned-off" +msgstr "" + +#. TRANSLATORS: Inserter Turned On +msgid "printer-state-reasons.inserter-turned-on" +msgstr "" + +#. TRANSLATORS: Inserter Under Temperature +msgid "printer-state-reasons.inserter-under-temperature" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Failure +msgid "printer-state-reasons.inserter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Inserter Unrecoverable Storage Error +msgid "printer-state-reasons.inserter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Inserter Warming Up +msgid "printer-state-reasons.inserter-warming-up" +msgstr "" + +#. TRANSLATORS: Interlock Closed +msgid "printer-state-reasons.interlock-closed" +msgstr "" + +#. TRANSLATORS: Interlock Open +msgid "printer-state-reasons.interlock-open" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Added +msgid "printer-state-reasons.interpreter-cartridge-added" +msgstr "" + +#. TRANSLATORS: Interpreter Cartridge Removed +msgid "printer-state-reasons.interpreter-cartridge-deleted" +msgstr "" + +#. TRANSLATORS: Interpreter Complex Page Encountered +msgid "printer-state-reasons.interpreter-complex-page-encountered" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Decrease +msgid "printer-state-reasons.interpreter-memory-decrease" +msgstr "" + +#. TRANSLATORS: Interpreter Memory Increase +msgid "printer-state-reasons.interpreter-memory-increase" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Added +msgid "printer-state-reasons.interpreter-resource-added" +msgstr "" + +#. TRANSLATORS: Interpreter Resource Deleted +msgid "printer-state-reasons.interpreter-resource-deleted" +msgstr "" + +#. TRANSLATORS: Printer resource unavailable +msgid "printer-state-reasons.interpreter-resource-unavailable" +msgstr "" + +#. TRANSLATORS: Lamp At End of Life +msgid "printer-state-reasons.lamp-at-eol" +msgstr "" + +#. TRANSLATORS: Lamp Failure +msgid "printer-state-reasons.lamp-failure" +msgstr "" + +#. TRANSLATORS: Lamp Near End of Life +msgid "printer-state-reasons.lamp-near-eol" +msgstr "" + +#. TRANSLATORS: Laser At End of Life +msgid "printer-state-reasons.laser-at-eol" +msgstr "" + +#. TRANSLATORS: Laser Failure +msgid "printer-state-reasons.laser-failure" +msgstr "" + +#. TRANSLATORS: Laser Near End of Life +msgid "printer-state-reasons.laser-near-eol" +msgstr "" + +#. TRANSLATORS: Envelope Maker Added +msgid "printer-state-reasons.make-envelope-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Empty +msgid "printer-state-reasons.make-envelope-almost-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Almost Full +msgid "printer-state-reasons.make-envelope-almost-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker At Limit +msgid "printer-state-reasons.make-envelope-at-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Closed +msgid "printer-state-reasons.make-envelope-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Configuration Change +msgid "printer-state-reasons.make-envelope-configuration-change" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Closed +msgid "printer-state-reasons.make-envelope-cover-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Cover Open +msgid "printer-state-reasons.make-envelope-cover-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Empty +msgid "printer-state-reasons.make-envelope-empty" +msgstr "" + +#. TRANSLATORS: Envelope Maker Full +msgid "printer-state-reasons.make-envelope-full" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Closed +msgid "printer-state-reasons.make-envelope-interlock-closed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Interlock Open +msgid "printer-state-reasons.make-envelope-interlock-open" +msgstr "" + +#. TRANSLATORS: Envelope Maker Jam +msgid "printer-state-reasons.make-envelope-jam" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Almost Over +msgid "printer-state-reasons.make-envelope-life-almost-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Life Over +msgid "printer-state-reasons.make-envelope-life-over" +msgstr "" + +#. TRANSLATORS: Envelope Maker Memory Exhausted +msgid "printer-state-reasons.make-envelope-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Envelope Maker Missing +msgid "printer-state-reasons.make-envelope-missing" +msgstr "" + +#. TRANSLATORS: Envelope Maker Motor Failure +msgid "printer-state-reasons.make-envelope-motor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Near Limit +msgid "printer-state-reasons.make-envelope-near-limit" +msgstr "" + +#. TRANSLATORS: Envelope Maker Offline +msgid "printer-state-reasons.make-envelope-offline" +msgstr "" + +#. TRANSLATORS: Envelope Maker Opened +msgid "printer-state-reasons.make-envelope-opened" +msgstr "" + +#. TRANSLATORS: Envelope Maker Over Temperature +msgid "printer-state-reasons.make-envelope-over-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Power Saver +msgid "printer-state-reasons.make-envelope-power-saver" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Failure +msgid "printer-state-reasons.make-envelope-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Recoverable Storage +msgid "printer-state-reasons.make-envelope-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Envelope Maker Removed +msgid "printer-state-reasons.make-envelope-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Added +msgid "printer-state-reasons.make-envelope-resource-added" +msgstr "" + +#. TRANSLATORS: Envelope Maker Resource Removed +msgid "printer-state-reasons.make-envelope-resource-removed" +msgstr "" + +#. TRANSLATORS: Envelope Maker Thermistor Failure +msgid "printer-state-reasons.make-envelope-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Timing Failure +msgid "printer-state-reasons.make-envelope-timing-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned Off +msgid "printer-state-reasons.make-envelope-turned-off" +msgstr "" + +#. TRANSLATORS: Envelope Maker Turned On +msgid "printer-state-reasons.make-envelope-turned-on" +msgstr "" + +#. TRANSLATORS: Envelope Maker Under Temperature +msgid "printer-state-reasons.make-envelope-under-temperature" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Failure +msgid "printer-state-reasons.make-envelope-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Envelope Maker Unrecoverable Storage Error +msgid "printer-state-reasons.make-envelope-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Envelope Maker Warming Up +msgid "printer-state-reasons.make-envelope-warming-up" +msgstr "" + +#. TRANSLATORS: Marker Adjusting Print Quality +msgid "printer-state-reasons.marker-adjusting-print-quality" +msgstr "" + +#. TRANSLATORS: Marker Cleaner Missing +msgid "printer-state-reasons.marker-cleaner-missing" +msgstr "" + +#. TRANSLATORS: Marker Developer Almost Empty +msgid "printer-state-reasons.marker-developer-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Empty +msgid "printer-state-reasons.marker-developer-empty" +msgstr "" + +#. TRANSLATORS: Marker Developer Missing +msgid "printer-state-reasons.marker-developer-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Missing +msgid "printer-state-reasons.marker-fuser-missing" +msgstr "" + +#. TRANSLATORS: Marker Fuser Thermistor Failure +msgid "printer-state-reasons.marker-fuser-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Marker Fuser Timing Failure +msgid "printer-state-reasons.marker-fuser-timing-failure" +msgstr "" + +#. TRANSLATORS: Marker Ink Almost Empty +msgid "printer-state-reasons.marker-ink-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Empty +msgid "printer-state-reasons.marker-ink-empty" +msgstr "" + +#. TRANSLATORS: Marker Ink Missing +msgid "printer-state-reasons.marker-ink-missing" +msgstr "" + +#. TRANSLATORS: Marker Opc Missing +msgid "printer-state-reasons.marker-opc-missing" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Almost Empty +msgid "printer-state-reasons.marker-print-ribbon-almost-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Empty +msgid "printer-state-reasons.marker-print-ribbon-empty" +msgstr "" + +#. TRANSLATORS: Marker Print Ribbon Missing +msgid "printer-state-reasons.marker-print-ribbon-missing" +msgstr "" + +#. TRANSLATORS: Marker Supply Almost Empty +msgid "printer-state-reasons.marker-supply-almost-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner empty +msgid "printer-state-reasons.marker-supply-empty" +msgstr "" + +#. TRANSLATORS: Ink/toner low +msgid "printer-state-reasons.marker-supply-low" +msgstr "" + +#. TRANSLATORS: Marker Supply Missing +msgid "printer-state-reasons.marker-supply-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Cartridge Missing +msgid "printer-state-reasons.marker-toner-cartridge-missing" +msgstr "" + +#. TRANSLATORS: Marker Toner Missing +msgid "printer-state-reasons.marker-toner-missing" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin almost full +msgid "printer-state-reasons.marker-waste-almost-full" +msgstr "" + +#. TRANSLATORS: Ink/toner waste bin full +msgid "printer-state-reasons.marker-waste-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Full +msgid "printer-state-reasons.marker-waste-ink-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Ink Receptacle Missing +msgid "printer-state-reasons.marker-waste-ink-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Missing +msgid "printer-state-reasons.marker-waste-missing" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Almost Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-almost-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Full +msgid "printer-state-reasons.marker-waste-toner-receptacle-full" +msgstr "" + +#. TRANSLATORS: Marker Waste Toner Receptacle Missing +msgid "printer-state-reasons.marker-waste-toner-receptacle-missing" +msgstr "" + +#. TRANSLATORS: Material Empty +msgid "printer-state-reasons.material-empty" +msgstr "" + +#. TRANSLATORS: Material Low +msgid "printer-state-reasons.material-low" +msgstr "" + +#. TRANSLATORS: Material Needed +msgid "printer-state-reasons.material-needed" +msgstr "" + +#. TRANSLATORS: Media Drying +msgid "printer-state-reasons.media-drying" +msgstr "" + +#. TRANSLATORS: Paper tray is empty +msgid "printer-state-reasons.media-empty" +msgstr "" + +#. TRANSLATORS: Paper jam +msgid "printer-state-reasons.media-jam" +msgstr "" + +#. TRANSLATORS: Paper tray is almost empty +msgid "printer-state-reasons.media-low" +msgstr "" + +#. TRANSLATORS: Load paper +msgid "printer-state-reasons.media-needed" +msgstr "" + +#. TRANSLATORS: Media Path Cannot Do 2-Sided Printing +msgid "printer-state-reasons.media-path-cannot-duplex-media-selected" +msgstr "" + +#. TRANSLATORS: Media Path Failure +msgid "printer-state-reasons.media-path-failure" +msgstr "" + +#. TRANSLATORS: Media Path Input Empty +msgid "printer-state-reasons.media-path-input-empty" +msgstr "" + +#. TRANSLATORS: Media Path Input Feed Error +msgid "printer-state-reasons.media-path-input-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Input Jam +msgid "printer-state-reasons.media-path-input-jam" +msgstr "" + +#. TRANSLATORS: Media Path Input Request +msgid "printer-state-reasons.media-path-input-request" +msgstr "" + +#. TRANSLATORS: Media Path Jam +msgid "printer-state-reasons.media-path-jam" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Almost Full +msgid "printer-state-reasons.media-path-media-tray-almost-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Full +msgid "printer-state-reasons.media-path-media-tray-full" +msgstr "" + +#. TRANSLATORS: Media Path Media Tray Missing +msgid "printer-state-reasons.media-path-media-tray-missing" +msgstr "" + +#. TRANSLATORS: Media Path Output Feed Error +msgid "printer-state-reasons.media-path-output-feed-error" +msgstr "" + +#. TRANSLATORS: Media Path Output Full +msgid "printer-state-reasons.media-path-output-full" +msgstr "" + +#. TRANSLATORS: Media Path Output Jam +msgid "printer-state-reasons.media-path-output-jam" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Failure +msgid "printer-state-reasons.media-path-pick-roller-failure" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Over +msgid "printer-state-reasons.media-path-pick-roller-life-over" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Life Warn +msgid "printer-state-reasons.media-path-pick-roller-life-warn" +msgstr "" + +#. TRANSLATORS: Media Path Pick Roller Missing +msgid "printer-state-reasons.media-path-pick-roller-missing" +msgstr "" + +#. TRANSLATORS: Motor Failure +msgid "printer-state-reasons.motor-failure" +msgstr "" + +#. TRANSLATORS: Printer going offline +msgid "printer-state-reasons.moving-to-paused" +msgstr "" + +#. TRANSLATORS: None +msgid "printer-state-reasons.none" +msgstr "" + +#. TRANSLATORS: Optical Photoconductor Life Over +msgid "printer-state-reasons.opc-life-over" +msgstr "" + +#. TRANSLATORS: OPC almost at end-of-life +msgid "printer-state-reasons.opc-near-eol" +msgstr "" + +#. TRANSLATORS: Check the printer for errors +msgid "printer-state-reasons.other" +msgstr "" + +#. TRANSLATORS: Output bin is almost full +msgid "printer-state-reasons.output-area-almost-full" +msgstr "" + +#. TRANSLATORS: Output bin is full +msgid "printer-state-reasons.output-area-full" +msgstr "" + +#. TRANSLATORS: Output Mailbox Select Failure +msgid "printer-state-reasons.output-mailbox-select-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Failure +msgid "printer-state-reasons.output-media-tray-failure" +msgstr "" + +#. TRANSLATORS: Output Media Tray Feed Error +msgid "printer-state-reasons.output-media-tray-feed-error" +msgstr "" + +#. TRANSLATORS: Output Media Tray Jam +msgid "printer-state-reasons.output-media-tray-jam" +msgstr "" + +#. TRANSLATORS: Output tray is missing +msgid "printer-state-reasons.output-tray-missing" +msgstr "" + +#. TRANSLATORS: Paused +msgid "printer-state-reasons.paused" +msgstr "" + +#. TRANSLATORS: Perforater Added +msgid "printer-state-reasons.perforater-added" +msgstr "" + +#. TRANSLATORS: Perforater Almost Empty +msgid "printer-state-reasons.perforater-almost-empty" +msgstr "" + +#. TRANSLATORS: Perforater Almost Full +msgid "printer-state-reasons.perforater-almost-full" +msgstr "" + +#. TRANSLATORS: Perforater At Limit +msgid "printer-state-reasons.perforater-at-limit" +msgstr "" + +#. TRANSLATORS: Perforater Closed +msgid "printer-state-reasons.perforater-closed" +msgstr "" + +#. TRANSLATORS: Perforater Configuration Change +msgid "printer-state-reasons.perforater-configuration-change" +msgstr "" + +#. TRANSLATORS: Perforater Cover Closed +msgid "printer-state-reasons.perforater-cover-closed" +msgstr "" + +#. TRANSLATORS: Perforater Cover Open +msgid "printer-state-reasons.perforater-cover-open" +msgstr "" + +#. TRANSLATORS: Perforater Empty +msgid "printer-state-reasons.perforater-empty" +msgstr "" + +#. TRANSLATORS: Perforater Full +msgid "printer-state-reasons.perforater-full" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Closed +msgid "printer-state-reasons.perforater-interlock-closed" +msgstr "" + +#. TRANSLATORS: Perforater Interlock Open +msgid "printer-state-reasons.perforater-interlock-open" +msgstr "" + +#. TRANSLATORS: Perforater Jam +msgid "printer-state-reasons.perforater-jam" +msgstr "" + +#. TRANSLATORS: Perforater Life Almost Over +msgid "printer-state-reasons.perforater-life-almost-over" +msgstr "" + +#. TRANSLATORS: Perforater Life Over +msgid "printer-state-reasons.perforater-life-over" +msgstr "" + +#. TRANSLATORS: Perforater Memory Exhausted +msgid "printer-state-reasons.perforater-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Perforater Missing +msgid "printer-state-reasons.perforater-missing" +msgstr "" + +#. TRANSLATORS: Perforater Motor Failure +msgid "printer-state-reasons.perforater-motor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Near Limit +msgid "printer-state-reasons.perforater-near-limit" +msgstr "" + +#. TRANSLATORS: Perforater Offline +msgid "printer-state-reasons.perforater-offline" +msgstr "" + +#. TRANSLATORS: Perforater Opened +msgid "printer-state-reasons.perforater-opened" +msgstr "" + +#. TRANSLATORS: Perforater Over Temperature +msgid "printer-state-reasons.perforater-over-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Power Saver +msgid "printer-state-reasons.perforater-power-saver" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Failure +msgid "printer-state-reasons.perforater-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Recoverable Storage +msgid "printer-state-reasons.perforater-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Perforater Removed +msgid "printer-state-reasons.perforater-removed" +msgstr "" + +#. TRANSLATORS: Perforater Resource Added +msgid "printer-state-reasons.perforater-resource-added" +msgstr "" + +#. TRANSLATORS: Perforater Resource Removed +msgid "printer-state-reasons.perforater-resource-removed" +msgstr "" + +#. TRANSLATORS: Perforater Thermistor Failure +msgid "printer-state-reasons.perforater-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Perforater Timing Failure +msgid "printer-state-reasons.perforater-timing-failure" +msgstr "" + +#. TRANSLATORS: Perforater Turned Off +msgid "printer-state-reasons.perforater-turned-off" +msgstr "" + +#. TRANSLATORS: Perforater Turned On +msgid "printer-state-reasons.perforater-turned-on" +msgstr "" + +#. TRANSLATORS: Perforater Under Temperature +msgid "printer-state-reasons.perforater-under-temperature" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Failure +msgid "printer-state-reasons.perforater-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Perforater Unrecoverable Storage Error +msgid "printer-state-reasons.perforater-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Perforater Warming Up +msgid "printer-state-reasons.perforater-warming-up" +msgstr "" + +#. TRANSLATORS: Platform Cooling +msgid "printer-state-reasons.platform-cooling" +msgstr "" + +#. TRANSLATORS: Platform Failure +msgid "printer-state-reasons.platform-failure" +msgstr "" + +#. TRANSLATORS: Platform Heating +msgid "printer-state-reasons.platform-heating" +msgstr "" + +#. TRANSLATORS: Platform Temperature High +msgid "printer-state-reasons.platform-temperature-high" +msgstr "" + +#. TRANSLATORS: Platform Temperature Low +msgid "printer-state-reasons.platform-temperature-low" +msgstr "" + +#. TRANSLATORS: Power Down +msgid "printer-state-reasons.power-down" +msgstr "" + +#. TRANSLATORS: Power Up +msgid "printer-state-reasons.power-up" +msgstr "" + +#. TRANSLATORS: Printer Reset Manually +msgid "printer-state-reasons.printer-manual-reset" +msgstr "" + +#. TRANSLATORS: Printer Reset Remotely +msgid "printer-state-reasons.printer-nms-reset" +msgstr "" + +#. TRANSLATORS: Printer Ready To Print +msgid "printer-state-reasons.printer-ready-to-print" +msgstr "" + +#. TRANSLATORS: Puncher Added +msgid "printer-state-reasons.puncher-added" +msgstr "" + +#. TRANSLATORS: Puncher Almost Empty +msgid "printer-state-reasons.puncher-almost-empty" +msgstr "" + +#. TRANSLATORS: Puncher Almost Full +msgid "printer-state-reasons.puncher-almost-full" +msgstr "" + +#. TRANSLATORS: Puncher At Limit +msgid "printer-state-reasons.puncher-at-limit" +msgstr "" + +#. TRANSLATORS: Puncher Closed +msgid "printer-state-reasons.puncher-closed" +msgstr "" + +#. TRANSLATORS: Puncher Configuration Change +msgid "printer-state-reasons.puncher-configuration-change" +msgstr "" + +#. TRANSLATORS: Puncher Cover Closed +msgid "printer-state-reasons.puncher-cover-closed" +msgstr "" + +#. TRANSLATORS: Puncher Cover Open +msgid "printer-state-reasons.puncher-cover-open" +msgstr "" + +#. TRANSLATORS: Puncher Empty +msgid "printer-state-reasons.puncher-empty" +msgstr "" + +#. TRANSLATORS: Puncher Full +msgid "printer-state-reasons.puncher-full" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Closed +msgid "printer-state-reasons.puncher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Puncher Interlock Open +msgid "printer-state-reasons.puncher-interlock-open" +msgstr "" + +#. TRANSLATORS: Puncher Jam +msgid "printer-state-reasons.puncher-jam" +msgstr "" + +#. TRANSLATORS: Puncher Life Almost Over +msgid "printer-state-reasons.puncher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Puncher Life Over +msgid "printer-state-reasons.puncher-life-over" +msgstr "" + +#. TRANSLATORS: Puncher Memory Exhausted +msgid "printer-state-reasons.puncher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Puncher Missing +msgid "printer-state-reasons.puncher-missing" +msgstr "" + +#. TRANSLATORS: Puncher Motor Failure +msgid "printer-state-reasons.puncher-motor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Near Limit +msgid "printer-state-reasons.puncher-near-limit" +msgstr "" + +#. TRANSLATORS: Puncher Offline +msgid "printer-state-reasons.puncher-offline" +msgstr "" + +#. TRANSLATORS: Puncher Opened +msgid "printer-state-reasons.puncher-opened" +msgstr "" + +#. TRANSLATORS: Puncher Over Temperature +msgid "printer-state-reasons.puncher-over-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Power Saver +msgid "printer-state-reasons.puncher-power-saver" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Failure +msgid "printer-state-reasons.puncher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Recoverable Storage +msgid "printer-state-reasons.puncher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Puncher Removed +msgid "printer-state-reasons.puncher-removed" +msgstr "" + +#. TRANSLATORS: Puncher Resource Added +msgid "printer-state-reasons.puncher-resource-added" +msgstr "" + +#. TRANSLATORS: Puncher Resource Removed +msgid "printer-state-reasons.puncher-resource-removed" +msgstr "" + +#. TRANSLATORS: Puncher Thermistor Failure +msgid "printer-state-reasons.puncher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Puncher Timing Failure +msgid "printer-state-reasons.puncher-timing-failure" +msgstr "" + +#. TRANSLATORS: Puncher Turned Off +msgid "printer-state-reasons.puncher-turned-off" +msgstr "" + +#. TRANSLATORS: Puncher Turned On +msgid "printer-state-reasons.puncher-turned-on" +msgstr "" + +#. TRANSLATORS: Puncher Under Temperature +msgid "printer-state-reasons.puncher-under-temperature" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Failure +msgid "printer-state-reasons.puncher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Puncher Unrecoverable Storage Error +msgid "printer-state-reasons.puncher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Puncher Warming Up +msgid "printer-state-reasons.puncher-warming-up" +msgstr "" + +#. TRANSLATORS: Separation Cutter Added +msgid "printer-state-reasons.separation-cutter-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Empty +msgid "printer-state-reasons.separation-cutter-almost-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Almost Full +msgid "printer-state-reasons.separation-cutter-almost-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter At Limit +msgid "printer-state-reasons.separation-cutter-at-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Closed +msgid "printer-state-reasons.separation-cutter-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Configuration Change +msgid "printer-state-reasons.separation-cutter-configuration-change" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Closed +msgid "printer-state-reasons.separation-cutter-cover-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Cover Open +msgid "printer-state-reasons.separation-cutter-cover-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Empty +msgid "printer-state-reasons.separation-cutter-empty" +msgstr "" + +#. TRANSLATORS: Separation Cutter Full +msgid "printer-state-reasons.separation-cutter-full" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Closed +msgid "printer-state-reasons.separation-cutter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Interlock Open +msgid "printer-state-reasons.separation-cutter-interlock-open" +msgstr "" + +#. TRANSLATORS: Separation Cutter Jam +msgid "printer-state-reasons.separation-cutter-jam" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Almost Over +msgid "printer-state-reasons.separation-cutter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Life Over +msgid "printer-state-reasons.separation-cutter-life-over" +msgstr "" + +#. TRANSLATORS: Separation Cutter Memory Exhausted +msgid "printer-state-reasons.separation-cutter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Separation Cutter Missing +msgid "printer-state-reasons.separation-cutter-missing" +msgstr "" + +#. TRANSLATORS: Separation Cutter Motor Failure +msgid "printer-state-reasons.separation-cutter-motor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Near Limit +msgid "printer-state-reasons.separation-cutter-near-limit" +msgstr "" + +#. TRANSLATORS: Separation Cutter Offline +msgid "printer-state-reasons.separation-cutter-offline" +msgstr "" + +#. TRANSLATORS: Separation Cutter Opened +msgid "printer-state-reasons.separation-cutter-opened" +msgstr "" + +#. TRANSLATORS: Separation Cutter Over Temperature +msgid "printer-state-reasons.separation-cutter-over-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Power Saver +msgid "printer-state-reasons.separation-cutter-power-saver" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Failure +msgid "printer-state-reasons.separation-cutter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Recoverable Storage +msgid "printer-state-reasons.separation-cutter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Separation Cutter Removed +msgid "printer-state-reasons.separation-cutter-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Added +msgid "printer-state-reasons.separation-cutter-resource-added" +msgstr "" + +#. TRANSLATORS: Separation Cutter Resource Removed +msgid "printer-state-reasons.separation-cutter-resource-removed" +msgstr "" + +#. TRANSLATORS: Separation Cutter Thermistor Failure +msgid "printer-state-reasons.separation-cutter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Timing Failure +msgid "printer-state-reasons.separation-cutter-timing-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned Off +msgid "printer-state-reasons.separation-cutter-turned-off" +msgstr "" + +#. TRANSLATORS: Separation Cutter Turned On +msgid "printer-state-reasons.separation-cutter-turned-on" +msgstr "" + +#. TRANSLATORS: Separation Cutter Under Temperature +msgid "printer-state-reasons.separation-cutter-under-temperature" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Failure +msgid "printer-state-reasons.separation-cutter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Separation Cutter Unrecoverable Storage Error +msgid "printer-state-reasons.separation-cutter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Separation Cutter Warming Up +msgid "printer-state-reasons.separation-cutter-warming-up" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Added +msgid "printer-state-reasons.sheet-rotator-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Empty +msgid "printer-state-reasons.sheet-rotator-almost-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Almost Full +msgid "printer-state-reasons.sheet-rotator-almost-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator At Limit +msgid "printer-state-reasons.sheet-rotator-at-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Closed +msgid "printer-state-reasons.sheet-rotator-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Configuration Change +msgid "printer-state-reasons.sheet-rotator-configuration-change" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Closed +msgid "printer-state-reasons.sheet-rotator-cover-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Cover Open +msgid "printer-state-reasons.sheet-rotator-cover-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Empty +msgid "printer-state-reasons.sheet-rotator-empty" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Full +msgid "printer-state-reasons.sheet-rotator-full" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Closed +msgid "printer-state-reasons.sheet-rotator-interlock-closed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Interlock Open +msgid "printer-state-reasons.sheet-rotator-interlock-open" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Jam +msgid "printer-state-reasons.sheet-rotator-jam" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Almost Over +msgid "printer-state-reasons.sheet-rotator-life-almost-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Life Over +msgid "printer-state-reasons.sheet-rotator-life-over" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Memory Exhausted +msgid "printer-state-reasons.sheet-rotator-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Missing +msgid "printer-state-reasons.sheet-rotator-missing" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Motor Failure +msgid "printer-state-reasons.sheet-rotator-motor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Near Limit +msgid "printer-state-reasons.sheet-rotator-near-limit" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Offline +msgid "printer-state-reasons.sheet-rotator-offline" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Opened +msgid "printer-state-reasons.sheet-rotator-opened" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Over Temperature +msgid "printer-state-reasons.sheet-rotator-over-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Power Saver +msgid "printer-state-reasons.sheet-rotator-power-saver" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Failure +msgid "printer-state-reasons.sheet-rotator-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Recoverable Storage +msgid "printer-state-reasons.sheet-rotator-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Removed +msgid "printer-state-reasons.sheet-rotator-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Added +msgid "printer-state-reasons.sheet-rotator-resource-added" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Resource Removed +msgid "printer-state-reasons.sheet-rotator-resource-removed" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Thermistor Failure +msgid "printer-state-reasons.sheet-rotator-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Timing Failure +msgid "printer-state-reasons.sheet-rotator-timing-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned Off +msgid "printer-state-reasons.sheet-rotator-turned-off" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Turned On +msgid "printer-state-reasons.sheet-rotator-turned-on" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Under Temperature +msgid "printer-state-reasons.sheet-rotator-under-temperature" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Failure +msgid "printer-state-reasons.sheet-rotator-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Unrecoverable Storage Error +msgid "printer-state-reasons.sheet-rotator-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Sheet Rotator Warming Up +msgid "printer-state-reasons.sheet-rotator-warming-up" +msgstr "" + +#. TRANSLATORS: Printer offline +msgid "printer-state-reasons.shutdown" +msgstr "" + +#. TRANSLATORS: Slitter Added +msgid "printer-state-reasons.slitter-added" +msgstr "" + +#. TRANSLATORS: Slitter Almost Empty +msgid "printer-state-reasons.slitter-almost-empty" +msgstr "" + +#. TRANSLATORS: Slitter Almost Full +msgid "printer-state-reasons.slitter-almost-full" +msgstr "" + +#. TRANSLATORS: Slitter At Limit +msgid "printer-state-reasons.slitter-at-limit" +msgstr "" + +#. TRANSLATORS: Slitter Closed +msgid "printer-state-reasons.slitter-closed" +msgstr "" + +#. TRANSLATORS: Slitter Configuration Change +msgid "printer-state-reasons.slitter-configuration-change" +msgstr "" + +#. TRANSLATORS: Slitter Cover Closed +msgid "printer-state-reasons.slitter-cover-closed" +msgstr "" + +#. TRANSLATORS: Slitter Cover Open +msgid "printer-state-reasons.slitter-cover-open" +msgstr "" + +#. TRANSLATORS: Slitter Empty +msgid "printer-state-reasons.slitter-empty" +msgstr "" + +#. TRANSLATORS: Slitter Full +msgid "printer-state-reasons.slitter-full" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Closed +msgid "printer-state-reasons.slitter-interlock-closed" +msgstr "" + +#. TRANSLATORS: Slitter Interlock Open +msgid "printer-state-reasons.slitter-interlock-open" +msgstr "" + +#. TRANSLATORS: Slitter Jam +msgid "printer-state-reasons.slitter-jam" +msgstr "" + +#. TRANSLATORS: Slitter Life Almost Over +msgid "printer-state-reasons.slitter-life-almost-over" +msgstr "" + +#. TRANSLATORS: Slitter Life Over +msgid "printer-state-reasons.slitter-life-over" +msgstr "" + +#. TRANSLATORS: Slitter Memory Exhausted +msgid "printer-state-reasons.slitter-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Slitter Missing +msgid "printer-state-reasons.slitter-missing" +msgstr "" + +#. TRANSLATORS: Slitter Motor Failure +msgid "printer-state-reasons.slitter-motor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Near Limit +msgid "printer-state-reasons.slitter-near-limit" +msgstr "" + +#. TRANSLATORS: Slitter Offline +msgid "printer-state-reasons.slitter-offline" +msgstr "" + +#. TRANSLATORS: Slitter Opened +msgid "printer-state-reasons.slitter-opened" +msgstr "" + +#. TRANSLATORS: Slitter Over Temperature +msgid "printer-state-reasons.slitter-over-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Power Saver +msgid "printer-state-reasons.slitter-power-saver" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Failure +msgid "printer-state-reasons.slitter-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Recoverable Storage +msgid "printer-state-reasons.slitter-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Slitter Removed +msgid "printer-state-reasons.slitter-removed" +msgstr "" + +#. TRANSLATORS: Slitter Resource Added +msgid "printer-state-reasons.slitter-resource-added" +msgstr "" + +#. TRANSLATORS: Slitter Resource Removed +msgid "printer-state-reasons.slitter-resource-removed" +msgstr "" + +#. TRANSLATORS: Slitter Thermistor Failure +msgid "printer-state-reasons.slitter-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Slitter Timing Failure +msgid "printer-state-reasons.slitter-timing-failure" +msgstr "" + +#. TRANSLATORS: Slitter Turned Off +msgid "printer-state-reasons.slitter-turned-off" +msgstr "" + +#. TRANSLATORS: Slitter Turned On +msgid "printer-state-reasons.slitter-turned-on" +msgstr "" + +#. TRANSLATORS: Slitter Under Temperature +msgid "printer-state-reasons.slitter-under-temperature" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Failure +msgid "printer-state-reasons.slitter-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Slitter Unrecoverable Storage Error +msgid "printer-state-reasons.slitter-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Slitter Warming Up +msgid "printer-state-reasons.slitter-warming-up" +msgstr "" + +#. TRANSLATORS: Spool Area Full +msgid "printer-state-reasons.spool-area-full" +msgstr "" + +#. TRANSLATORS: Stacker Added +msgid "printer-state-reasons.stacker-added" +msgstr "" + +#. TRANSLATORS: Stacker Almost Empty +msgid "printer-state-reasons.stacker-almost-empty" +msgstr "" + +#. TRANSLATORS: Stacker Almost Full +msgid "printer-state-reasons.stacker-almost-full" +msgstr "" + +#. TRANSLATORS: Stacker At Limit +msgid "printer-state-reasons.stacker-at-limit" +msgstr "" + +#. TRANSLATORS: Stacker Closed +msgid "printer-state-reasons.stacker-closed" +msgstr "" + +#. TRANSLATORS: Stacker Configuration Change +msgid "printer-state-reasons.stacker-configuration-change" +msgstr "" + +#. TRANSLATORS: Stacker Cover Closed +msgid "printer-state-reasons.stacker-cover-closed" +msgstr "" + +#. TRANSLATORS: Stacker Cover Open +msgid "printer-state-reasons.stacker-cover-open" +msgstr "" + +#. TRANSLATORS: Stacker Empty +msgid "printer-state-reasons.stacker-empty" +msgstr "" + +#. TRANSLATORS: Stacker Full +msgid "printer-state-reasons.stacker-full" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Closed +msgid "printer-state-reasons.stacker-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stacker Interlock Open +msgid "printer-state-reasons.stacker-interlock-open" +msgstr "" + +#. TRANSLATORS: Stacker Jam +msgid "printer-state-reasons.stacker-jam" +msgstr "" + +#. TRANSLATORS: Stacker Life Almost Over +msgid "printer-state-reasons.stacker-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stacker Life Over +msgid "printer-state-reasons.stacker-life-over" +msgstr "" + +#. TRANSLATORS: Stacker Memory Exhausted +msgid "printer-state-reasons.stacker-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stacker Missing +msgid "printer-state-reasons.stacker-missing" +msgstr "" + +#. TRANSLATORS: Stacker Motor Failure +msgid "printer-state-reasons.stacker-motor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Near Limit +msgid "printer-state-reasons.stacker-near-limit" +msgstr "" + +#. TRANSLATORS: Stacker Offline +msgid "printer-state-reasons.stacker-offline" +msgstr "" + +#. TRANSLATORS: Stacker Opened +msgid "printer-state-reasons.stacker-opened" +msgstr "" + +#. TRANSLATORS: Stacker Over Temperature +msgid "printer-state-reasons.stacker-over-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Power Saver +msgid "printer-state-reasons.stacker-power-saver" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Failure +msgid "printer-state-reasons.stacker-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Recoverable Storage +msgid "printer-state-reasons.stacker-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stacker Removed +msgid "printer-state-reasons.stacker-removed" +msgstr "" + +#. TRANSLATORS: Stacker Resource Added +msgid "printer-state-reasons.stacker-resource-added" +msgstr "" + +#. TRANSLATORS: Stacker Resource Removed +msgid "printer-state-reasons.stacker-resource-removed" +msgstr "" + +#. TRANSLATORS: Stacker Thermistor Failure +msgid "printer-state-reasons.stacker-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stacker Timing Failure +msgid "printer-state-reasons.stacker-timing-failure" +msgstr "" + +#. TRANSLATORS: Stacker Turned Off +msgid "printer-state-reasons.stacker-turned-off" +msgstr "" + +#. TRANSLATORS: Stacker Turned On +msgid "printer-state-reasons.stacker-turned-on" +msgstr "" + +#. TRANSLATORS: Stacker Under Temperature +msgid "printer-state-reasons.stacker-under-temperature" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Failure +msgid "printer-state-reasons.stacker-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stacker Unrecoverable Storage Error +msgid "printer-state-reasons.stacker-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stacker Warming Up +msgid "printer-state-reasons.stacker-warming-up" +msgstr "" + +#. TRANSLATORS: Stapler Added +msgid "printer-state-reasons.stapler-added" +msgstr "" + +#. TRANSLATORS: Stapler Almost Empty +msgid "printer-state-reasons.stapler-almost-empty" +msgstr "" + +#. TRANSLATORS: Stapler Almost Full +msgid "printer-state-reasons.stapler-almost-full" +msgstr "" + +#. TRANSLATORS: Stapler At Limit +msgid "printer-state-reasons.stapler-at-limit" +msgstr "" + +#. TRANSLATORS: Stapler Closed +msgid "printer-state-reasons.stapler-closed" +msgstr "" + +#. TRANSLATORS: Stapler Configuration Change +msgid "printer-state-reasons.stapler-configuration-change" +msgstr "" + +#. TRANSLATORS: Stapler Cover Closed +msgid "printer-state-reasons.stapler-cover-closed" +msgstr "" + +#. TRANSLATORS: Stapler Cover Open +msgid "printer-state-reasons.stapler-cover-open" +msgstr "" + +#. TRANSLATORS: Stapler Empty +msgid "printer-state-reasons.stapler-empty" +msgstr "" + +#. TRANSLATORS: Stapler Full +msgid "printer-state-reasons.stapler-full" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Closed +msgid "printer-state-reasons.stapler-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stapler Interlock Open +msgid "printer-state-reasons.stapler-interlock-open" +msgstr "" + +#. TRANSLATORS: Stapler Jam +msgid "printer-state-reasons.stapler-jam" +msgstr "" + +#. TRANSLATORS: Stapler Life Almost Over +msgid "printer-state-reasons.stapler-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stapler Life Over +msgid "printer-state-reasons.stapler-life-over" +msgstr "" + +#. TRANSLATORS: Stapler Memory Exhausted +msgid "printer-state-reasons.stapler-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stapler Missing +msgid "printer-state-reasons.stapler-missing" +msgstr "" + +#. TRANSLATORS: Stapler Motor Failure +msgid "printer-state-reasons.stapler-motor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Near Limit +msgid "printer-state-reasons.stapler-near-limit" +msgstr "" + +#. TRANSLATORS: Stapler Offline +msgid "printer-state-reasons.stapler-offline" +msgstr "" + +#. TRANSLATORS: Stapler Opened +msgid "printer-state-reasons.stapler-opened" +msgstr "" + +#. TRANSLATORS: Stapler Over Temperature +msgid "printer-state-reasons.stapler-over-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Power Saver +msgid "printer-state-reasons.stapler-power-saver" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Failure +msgid "printer-state-reasons.stapler-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Recoverable Storage +msgid "printer-state-reasons.stapler-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stapler Removed +msgid "printer-state-reasons.stapler-removed" +msgstr "" + +#. TRANSLATORS: Stapler Resource Added +msgid "printer-state-reasons.stapler-resource-added" +msgstr "" + +#. TRANSLATORS: Stapler Resource Removed +msgid "printer-state-reasons.stapler-resource-removed" +msgstr "" + +#. TRANSLATORS: Stapler Thermistor Failure +msgid "printer-state-reasons.stapler-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stapler Timing Failure +msgid "printer-state-reasons.stapler-timing-failure" +msgstr "" + +#. TRANSLATORS: Stapler Turned Off +msgid "printer-state-reasons.stapler-turned-off" +msgstr "" + +#. TRANSLATORS: Stapler Turned On +msgid "printer-state-reasons.stapler-turned-on" +msgstr "" + +#. TRANSLATORS: Stapler Under Temperature +msgid "printer-state-reasons.stapler-under-temperature" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Failure +msgid "printer-state-reasons.stapler-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stapler Unrecoverable Storage Error +msgid "printer-state-reasons.stapler-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stapler Warming Up +msgid "printer-state-reasons.stapler-warming-up" +msgstr "" + +#. TRANSLATORS: Stitcher Added +msgid "printer-state-reasons.stitcher-added" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Empty +msgid "printer-state-reasons.stitcher-almost-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Almost Full +msgid "printer-state-reasons.stitcher-almost-full" +msgstr "" + +#. TRANSLATORS: Stitcher At Limit +msgid "printer-state-reasons.stitcher-at-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Closed +msgid "printer-state-reasons.stitcher-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Configuration Change +msgid "printer-state-reasons.stitcher-configuration-change" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Closed +msgid "printer-state-reasons.stitcher-cover-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Cover Open +msgid "printer-state-reasons.stitcher-cover-open" +msgstr "" + +#. TRANSLATORS: Stitcher Empty +msgid "printer-state-reasons.stitcher-empty" +msgstr "" + +#. TRANSLATORS: Stitcher Full +msgid "printer-state-reasons.stitcher-full" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Closed +msgid "printer-state-reasons.stitcher-interlock-closed" +msgstr "" + +#. TRANSLATORS: Stitcher Interlock Open +msgid "printer-state-reasons.stitcher-interlock-open" +msgstr "" + +#. TRANSLATORS: Stitcher Jam +msgid "printer-state-reasons.stitcher-jam" +msgstr "" + +#. TRANSLATORS: Stitcher Life Almost Over +msgid "printer-state-reasons.stitcher-life-almost-over" +msgstr "" + +#. TRANSLATORS: Stitcher Life Over +msgid "printer-state-reasons.stitcher-life-over" +msgstr "" + +#. TRANSLATORS: Stitcher Memory Exhausted +msgid "printer-state-reasons.stitcher-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Stitcher Missing +msgid "printer-state-reasons.stitcher-missing" +msgstr "" + +#. TRANSLATORS: Stitcher Motor Failure +msgid "printer-state-reasons.stitcher-motor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Near Limit +msgid "printer-state-reasons.stitcher-near-limit" +msgstr "" + +#. TRANSLATORS: Stitcher Offline +msgid "printer-state-reasons.stitcher-offline" +msgstr "" + +#. TRANSLATORS: Stitcher Opened +msgid "printer-state-reasons.stitcher-opened" +msgstr "" + +#. TRANSLATORS: Stitcher Over Temperature +msgid "printer-state-reasons.stitcher-over-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Power Saver +msgid "printer-state-reasons.stitcher-power-saver" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Failure +msgid "printer-state-reasons.stitcher-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Recoverable Storage +msgid "printer-state-reasons.stitcher-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Stitcher Removed +msgid "printer-state-reasons.stitcher-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Added +msgid "printer-state-reasons.stitcher-resource-added" +msgstr "" + +#. TRANSLATORS: Stitcher Resource Removed +msgid "printer-state-reasons.stitcher-resource-removed" +msgstr "" + +#. TRANSLATORS: Stitcher Thermistor Failure +msgid "printer-state-reasons.stitcher-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Timing Failure +msgid "printer-state-reasons.stitcher-timing-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Turned Off +msgid "printer-state-reasons.stitcher-turned-off" +msgstr "" + +#. TRANSLATORS: Stitcher Turned On +msgid "printer-state-reasons.stitcher-turned-on" +msgstr "" + +#. TRANSLATORS: Stitcher Under Temperature +msgid "printer-state-reasons.stitcher-under-temperature" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Failure +msgid "printer-state-reasons.stitcher-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Stitcher Unrecoverable Storage Error +msgid "printer-state-reasons.stitcher-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Stitcher Warming Up +msgid "printer-state-reasons.stitcher-warming-up" +msgstr "" + +#. TRANSLATORS: Partially stopped +msgid "printer-state-reasons.stopped-partly" +msgstr "" + +#. TRANSLATORS: Stopping +msgid "printer-state-reasons.stopping" +msgstr "" + +#. TRANSLATORS: Subunit Added +msgid "printer-state-reasons.subunit-added" +msgstr "" + +#. TRANSLATORS: Subunit Almost Empty +msgid "printer-state-reasons.subunit-almost-empty" +msgstr "" + +#. TRANSLATORS: Subunit Almost Full +msgid "printer-state-reasons.subunit-almost-full" +msgstr "" + +#. TRANSLATORS: Subunit At Limit +msgid "printer-state-reasons.subunit-at-limit" +msgstr "" + +#. TRANSLATORS: Subunit Closed +msgid "printer-state-reasons.subunit-closed" +msgstr "" + +#. TRANSLATORS: Subunit Cooling Down +msgid "printer-state-reasons.subunit-cooling-down" +msgstr "" + +#. TRANSLATORS: Subunit Empty +msgid "printer-state-reasons.subunit-empty" +msgstr "" + +#. TRANSLATORS: Subunit Full +msgid "printer-state-reasons.subunit-full" +msgstr "" + +#. TRANSLATORS: Subunit Life Almost Over +msgid "printer-state-reasons.subunit-life-almost-over" +msgstr "" + +#. TRANSLATORS: Subunit Life Over +msgid "printer-state-reasons.subunit-life-over" +msgstr "" + +#. TRANSLATORS: Subunit Memory Exhausted +msgid "printer-state-reasons.subunit-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Subunit Missing +msgid "printer-state-reasons.subunit-missing" +msgstr "" + +#. TRANSLATORS: Subunit Motor Failure +msgid "printer-state-reasons.subunit-motor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Near Limit +msgid "printer-state-reasons.subunit-near-limit" +msgstr "" + +#. TRANSLATORS: Subunit Offline +msgid "printer-state-reasons.subunit-offline" +msgstr "" + +#. TRANSLATORS: Subunit Opened +msgid "printer-state-reasons.subunit-opened" +msgstr "" + +#. TRANSLATORS: Subunit Over Temperature +msgid "printer-state-reasons.subunit-over-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Power Saver +msgid "printer-state-reasons.subunit-power-saver" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Failure +msgid "printer-state-reasons.subunit-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Recoverable Storage +msgid "printer-state-reasons.subunit-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Removed +msgid "printer-state-reasons.subunit-removed" +msgstr "" + +#. TRANSLATORS: Subunit Resource Added +msgid "printer-state-reasons.subunit-resource-added" +msgstr "" + +#. TRANSLATORS: Subunit Resource Removed +msgid "printer-state-reasons.subunit-resource-removed" +msgstr "" + +#. TRANSLATORS: Subunit Thermistor Failure +msgid "printer-state-reasons.subunit-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Subunit Timing Failure +msgid "printer-state-reasons.subunit-timing-Failure" +msgstr "" + +#. TRANSLATORS: Subunit Turned Off +msgid "printer-state-reasons.subunit-turned-off" +msgstr "" + +#. TRANSLATORS: Subunit Turned On +msgid "printer-state-reasons.subunit-turned-on" +msgstr "" + +#. TRANSLATORS: Subunit Under Temperature +msgid "printer-state-reasons.subunit-under-temperature" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Failure +msgid "printer-state-reasons.subunit-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Subunit Unrecoverable Storage +msgid "printer-state-reasons.subunit-unrecoverable-storage" +msgstr "" + +#. TRANSLATORS: Subunit Warming Up +msgid "printer-state-reasons.subunit-warming-up" +msgstr "" + +#. TRANSLATORS: Printer stopped responding +msgid "printer-state-reasons.timed-out" +msgstr "" + +#. TRANSLATORS: Out of toner +msgid "printer-state-reasons.toner-empty" +msgstr "" + +#. TRANSLATORS: Toner low +msgid "printer-state-reasons.toner-low" +msgstr "" + +#. TRANSLATORS: Trimmer Added +msgid "printer-state-reasons.trimmer-added" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Empty +msgid "printer-state-reasons.trimmer-almost-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Almost Full +msgid "printer-state-reasons.trimmer-almost-full" +msgstr "" + +#. TRANSLATORS: Trimmer At Limit +msgid "printer-state-reasons.trimmer-at-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Closed +msgid "printer-state-reasons.trimmer-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Configuration Change +msgid "printer-state-reasons.trimmer-configuration-change" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Closed +msgid "printer-state-reasons.trimmer-cover-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Cover Open +msgid "printer-state-reasons.trimmer-cover-open" +msgstr "" + +#. TRANSLATORS: Trimmer Empty +msgid "printer-state-reasons.trimmer-empty" +msgstr "" + +#. TRANSLATORS: Trimmer Full +msgid "printer-state-reasons.trimmer-full" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Closed +msgid "printer-state-reasons.trimmer-interlock-closed" +msgstr "" + +#. TRANSLATORS: Trimmer Interlock Open +msgid "printer-state-reasons.trimmer-interlock-open" +msgstr "" + +#. TRANSLATORS: Trimmer Jam +msgid "printer-state-reasons.trimmer-jam" +msgstr "" + +#. TRANSLATORS: Trimmer Life Almost Over +msgid "printer-state-reasons.trimmer-life-almost-over" +msgstr "" + +#. TRANSLATORS: Trimmer Life Over +msgid "printer-state-reasons.trimmer-life-over" +msgstr "" + +#. TRANSLATORS: Trimmer Memory Exhausted +msgid "printer-state-reasons.trimmer-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Trimmer Missing +msgid "printer-state-reasons.trimmer-missing" +msgstr "" + +#. TRANSLATORS: Trimmer Motor Failure +msgid "printer-state-reasons.trimmer-motor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Near Limit +msgid "printer-state-reasons.trimmer-near-limit" +msgstr "" + +#. TRANSLATORS: Trimmer Offline +msgid "printer-state-reasons.trimmer-offline" +msgstr "" + +#. TRANSLATORS: Trimmer Opened +msgid "printer-state-reasons.trimmer-opened" +msgstr "" + +#. TRANSLATORS: Trimmer Over Temperature +msgid "printer-state-reasons.trimmer-over-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Power Saver +msgid "printer-state-reasons.trimmer-power-saver" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Failure +msgid "printer-state-reasons.trimmer-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Recoverable Storage +msgid "printer-state-reasons.trimmer-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Trimmer Removed +msgid "printer-state-reasons.trimmer-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Added +msgid "printer-state-reasons.trimmer-resource-added" +msgstr "" + +#. TRANSLATORS: Trimmer Resource Removed +msgid "printer-state-reasons.trimmer-resource-removed" +msgstr "" + +#. TRANSLATORS: Trimmer Thermistor Failure +msgid "printer-state-reasons.trimmer-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Timing Failure +msgid "printer-state-reasons.trimmer-timing-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Turned Off +msgid "printer-state-reasons.trimmer-turned-off" +msgstr "" + +#. TRANSLATORS: Trimmer Turned On +msgid "printer-state-reasons.trimmer-turned-on" +msgstr "" + +#. TRANSLATORS: Trimmer Under Temperature +msgid "printer-state-reasons.trimmer-under-temperature" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Failure +msgid "printer-state-reasons.trimmer-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Trimmer Unrecoverable Storage Error +msgid "printer-state-reasons.trimmer-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Trimmer Warming Up +msgid "printer-state-reasons.trimmer-warming-up" +msgstr "" + +#. TRANSLATORS: Unknown +msgid "printer-state-reasons.unknown" +msgstr "" + +#. TRANSLATORS: Wrapper Added +msgid "printer-state-reasons.wrapper-added" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Empty +msgid "printer-state-reasons.wrapper-almost-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Almost Full +msgid "printer-state-reasons.wrapper-almost-full" +msgstr "" + +#. TRANSLATORS: Wrapper At Limit +msgid "printer-state-reasons.wrapper-at-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Closed +msgid "printer-state-reasons.wrapper-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Configuration Change +msgid "printer-state-reasons.wrapper-configuration-change" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Closed +msgid "printer-state-reasons.wrapper-cover-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Cover Open +msgid "printer-state-reasons.wrapper-cover-open" +msgstr "" + +#. TRANSLATORS: Wrapper Empty +msgid "printer-state-reasons.wrapper-empty" +msgstr "" + +#. TRANSLATORS: Wrapper Full +msgid "printer-state-reasons.wrapper-full" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Closed +msgid "printer-state-reasons.wrapper-interlock-closed" +msgstr "" + +#. TRANSLATORS: Wrapper Interlock Open +msgid "printer-state-reasons.wrapper-interlock-open" +msgstr "" + +#. TRANSLATORS: Wrapper Jam +msgid "printer-state-reasons.wrapper-jam" +msgstr "" + +#. TRANSLATORS: Wrapper Life Almost Over +msgid "printer-state-reasons.wrapper-life-almost-over" +msgstr "" + +#. TRANSLATORS: Wrapper Life Over +msgid "printer-state-reasons.wrapper-life-over" +msgstr "" + +#. TRANSLATORS: Wrapper Memory Exhausted +msgid "printer-state-reasons.wrapper-memory-exhausted" +msgstr "" + +#. TRANSLATORS: Wrapper Missing +msgid "printer-state-reasons.wrapper-missing" +msgstr "" + +#. TRANSLATORS: Wrapper Motor Failure +msgid "printer-state-reasons.wrapper-motor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Near Limit +msgid "printer-state-reasons.wrapper-near-limit" +msgstr "" + +#. TRANSLATORS: Wrapper Offline +msgid "printer-state-reasons.wrapper-offline" +msgstr "" + +#. TRANSLATORS: Wrapper Opened +msgid "printer-state-reasons.wrapper-opened" +msgstr "" + +#. TRANSLATORS: Wrapper Over Temperature +msgid "printer-state-reasons.wrapper-over-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Power Saver +msgid "printer-state-reasons.wrapper-power-saver" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Failure +msgid "printer-state-reasons.wrapper-recoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Recoverable Storage +msgid "printer-state-reasons.wrapper-recoverable-storage" +msgstr "" + +#. TRANSLATORS: Wrapper Removed +msgid "printer-state-reasons.wrapper-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Added +msgid "printer-state-reasons.wrapper-resource-added" +msgstr "" + +#. TRANSLATORS: Wrapper Resource Removed +msgid "printer-state-reasons.wrapper-resource-removed" +msgstr "" + +#. TRANSLATORS: Wrapper Thermistor Failure +msgid "printer-state-reasons.wrapper-thermistor-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Timing Failure +msgid "printer-state-reasons.wrapper-timing-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Turned Off +msgid "printer-state-reasons.wrapper-turned-off" +msgstr "" + +#. TRANSLATORS: Wrapper Turned On +msgid "printer-state-reasons.wrapper-turned-on" +msgstr "" + +#. TRANSLATORS: Wrapper Under Temperature +msgid "printer-state-reasons.wrapper-under-temperature" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Failure +msgid "printer-state-reasons.wrapper-unrecoverable-failure" +msgstr "" + +#. TRANSLATORS: Wrapper Unrecoverable Storage Error +msgid "printer-state-reasons.wrapper-unrecoverable-storage-error" +msgstr "" + +#. TRANSLATORS: Wrapper Warming Up +msgid "printer-state-reasons.wrapper-warming-up" +msgstr "" + +#. TRANSLATORS: Idle +msgid "printer-state.3" +msgstr "" + +#. TRANSLATORS: Processing +msgid "printer-state.4" +msgstr "" + +#. TRANSLATORS: Stopped +msgid "printer-state.5" +msgstr "" + +#. TRANSLATORS: Printer Uptime +msgid "printer-up-time" +msgstr "" + +msgid "processing" +msgstr "正在处理" + +#. TRANSLATORS: Proof Print +msgid "proof-print" +msgstr "" + +#. TRANSLATORS: Proof Print Copies +msgid "proof-print-copies" +msgstr "" + +#. TRANSLATORS: Punching +msgid "punching" +msgstr "" + +#. TRANSLATORS: Punching Locations +msgid "punching-locations" +msgstr "" + +#. TRANSLATORS: Punching Offset +msgid "punching-offset" +msgstr "" + +#. TRANSLATORS: Punch Edge +msgid "punching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "punching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "punching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "punching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "punching-reference-edge.top" +msgstr "" + +#, c-format +msgid "request id is %s-%d (%d file(s))" +msgstr "请求 ID 为 %s-%d(%d 个文件)" + +msgid "request-id uses indefinite length" +msgstr "request-id 使用不定长度" + +#. TRANSLATORS: Requested Attributes +msgid "requested-attributes" +msgstr "" + +#. TRANSLATORS: Retry Interval +msgid "retry-interval" +msgstr "" + +#. TRANSLATORS: Retry Timeout +msgid "retry-time-out" +msgstr "" + +#. TRANSLATORS: Save Disposition +msgid "save-disposition" +msgstr "" + +#. TRANSLATORS: None +msgid "save-disposition.none" +msgstr "" + +#. TRANSLATORS: Print and Save +msgid "save-disposition.print-save" +msgstr "" + +#. TRANSLATORS: Save Only +msgid "save-disposition.save-only" +msgstr "" + +#. TRANSLATORS: Save Document Format +msgid "save-document-format" +msgstr "" + +#. TRANSLATORS: Save Info +msgid "save-info" +msgstr "" + +#. TRANSLATORS: Save Location +msgid "save-location" +msgstr "" + +#. TRANSLATORS: Save Name +msgid "save-name" +msgstr "" + +msgid "scheduler is not running" +msgstr "调度器未运行" + +msgid "scheduler is running" +msgstr "调度器正在运行" + +#. TRANSLATORS: Separator Sheets +msgid "separator-sheets" +msgstr "" + +#. TRANSLATORS: Type of Separator Sheets +msgid "separator-sheets-type" +msgstr "" + +#. TRANSLATORS: Start and End Sheets +msgid "separator-sheets-type.both-sheets" +msgstr "" + +#. TRANSLATORS: End Sheet +msgid "separator-sheets-type.end-sheet" +msgstr "" + +#. TRANSLATORS: None +msgid "separator-sheets-type.none" +msgstr "" + +#. TRANSLATORS: Slip Sheets +msgid "separator-sheets-type.slip-sheets" +msgstr "" + +#. TRANSLATORS: Start Sheet +msgid "separator-sheets-type.start-sheet" +msgstr "" + +#. TRANSLATORS: 2-Sided Printing +msgid "sides" +msgstr "" + +#. TRANSLATORS: Off +msgid "sides.one-sided" +msgstr "" + +#. TRANSLATORS: On (Portrait) +msgid "sides.two-sided-long-edge" +msgstr "" + +#. TRANSLATORS: On (Landscape) +msgid "sides.two-sided-short-edge" +msgstr "" + +#, c-format +msgid "stat of %s failed: %s" +msgstr "为 %s 运行 stat 失败:%s" + +msgid "status\t\tShow status of daemon and queue." +msgstr "状态\t\t显示守护程序和队列的状态。" + +#. TRANSLATORS: Status Message +msgid "status-message" +msgstr "" + +#. TRANSLATORS: Staple +msgid "stitching" +msgstr "" + +#. TRANSLATORS: Stitching Angle +msgid "stitching-angle" +msgstr "" + +#. TRANSLATORS: Stitching Locations +msgid "stitching-locations" +msgstr "" + +#. TRANSLATORS: Staple Method +msgid "stitching-method" +msgstr "" + +#. TRANSLATORS: Automatic +msgid "stitching-method.auto" +msgstr "" + +#. TRANSLATORS: Crimp +msgid "stitching-method.crimp" +msgstr "" + +#. TRANSLATORS: Wire +msgid "stitching-method.wire" +msgstr "" + +#. TRANSLATORS: Stitching Offset +msgid "stitching-offset" +msgstr "" + +#. TRANSLATORS: Staple Edge +msgid "stitching-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "stitching-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "stitching-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "stitching-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "stitching-reference-edge.top" +msgstr "" + +msgid "stopped" +msgstr "已停止" + +#. TRANSLATORS: Subject +msgid "subject" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Attributes +msgid "subscription-privacy-attributes" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-attributes.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-attributes.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-attributes.none" +msgstr "" + +#. TRANSLATORS: Subscription Description +msgid "subscription-privacy-attributes.subscription-description" +msgstr "" + +#. TRANSLATORS: Subscription Template +msgid "subscription-privacy-attributes.subscription-template" +msgstr "" + +#. TRANSLATORS: Subscription Privacy Scope +msgid "subscription-privacy-scope" +msgstr "" + +#. TRANSLATORS: All +msgid "subscription-privacy-scope.all" +msgstr "" + +#. TRANSLATORS: Default +msgid "subscription-privacy-scope.default" +msgstr "" + +#. TRANSLATORS: None +msgid "subscription-privacy-scope.none" +msgstr "" + +#. TRANSLATORS: Owner +msgid "subscription-privacy-scope.owner" +msgstr "" + +#, c-format +msgid "system default destination: %s" +msgstr "系统默认目标:%s" + +#, c-format +msgid "system default destination: %s/%s" +msgstr "系统默认目标:%s/%s" + +#. TRANSLATORS: T33 Subaddress +msgid "t33-subaddress" +msgstr "T33 Subaddress" + +#. TRANSLATORS: To Name +msgid "to-name" +msgstr "" + +#. TRANSLATORS: Transmission Status +msgid "transmission-status" +msgstr "" + +#. TRANSLATORS: Pending +msgid "transmission-status.3" +msgstr "" + +#. TRANSLATORS: Pending Retry +msgid "transmission-status.4" +msgstr "" + +#. TRANSLATORS: Processing +msgid "transmission-status.5" +msgstr "" + +#. TRANSLATORS: Canceled +msgid "transmission-status.7" +msgstr "" + +#. TRANSLATORS: Aborted +msgid "transmission-status.8" +msgstr "" + +#. TRANSLATORS: Completed +msgid "transmission-status.9" +msgstr "" + +#. TRANSLATORS: Cut +msgid "trimming" +msgstr "" + +#. TRANSLATORS: Cut Position +msgid "trimming-offset" +msgstr "" + +#. TRANSLATORS: Cut Edge +msgid "trimming-reference-edge" +msgstr "" + +#. TRANSLATORS: Bottom +msgid "trimming-reference-edge.bottom" +msgstr "" + +#. TRANSLATORS: Left +msgid "trimming-reference-edge.left" +msgstr "" + +#. TRANSLATORS: Right +msgid "trimming-reference-edge.right" +msgstr "" + +#. TRANSLATORS: Top +msgid "trimming-reference-edge.top" +msgstr "" + +#. TRANSLATORS: Type of Cut +msgid "trimming-type" +msgstr "" + +#. TRANSLATORS: Draw Line +msgid "trimming-type.draw-line" +msgstr "" + +#. TRANSLATORS: Full +msgid "trimming-type.full" +msgstr "" + +#. TRANSLATORS: Partial +msgid "trimming-type.partial" +msgstr "" + +#. TRANSLATORS: Perforate +msgid "trimming-type.perforate" +msgstr "" + +#. TRANSLATORS: Score +msgid "trimming-type.score" +msgstr "" + +#. TRANSLATORS: Tab +msgid "trimming-type.tab" +msgstr "" + +#. TRANSLATORS: Cut After +msgid "trimming-when" +msgstr "" + +#. TRANSLATORS: Every Document +msgid "trimming-when.after-documents" +msgstr "" + +#. TRANSLATORS: Job +msgid "trimming-when.after-job" +msgstr "" + +#. TRANSLATORS: Every Set +msgid "trimming-when.after-sets" +msgstr "" + +#. TRANSLATORS: Every Page +msgid "trimming-when.after-sheets" +msgstr "" + +msgid "unknown" +msgstr "未知" + +msgid "untitled" +msgstr "无标题" + +msgid "variable-bindings uses indefinite length" +msgstr "variable-bindings 使用不定长度" + +#. TRANSLATORS: X Accuracy +msgid "x-accuracy" +msgstr "" + +#. TRANSLATORS: X Dimension +msgid "x-dimension" +msgstr "" + +#. TRANSLATORS: X Offset +msgid "x-offset" +msgstr "" + +#. TRANSLATORS: X Origin +msgid "x-origin" +msgstr "" + +#. TRANSLATORS: Y Accuracy +msgid "y-accuracy" +msgstr "" + +#. TRANSLATORS: Y Dimension +msgid "y-dimension" +msgstr "" + +#. TRANSLATORS: Y Offset +msgid "y-offset" +msgstr "" + +#. TRANSLATORS: Y Origin +msgid "y-origin" +msgstr "" + +#. TRANSLATORS: Z Accuracy +msgid "z-accuracy" +msgstr "" + +#. TRANSLATORS: Z Dimension +msgid "z-dimension" +msgstr "" + +#. TRANSLATORS: Z Offset +msgid "z-offset" +msgstr "" + +msgid "{service_domain} Domain name" +msgstr "" + +msgid "{service_hostname} Fully-qualified domain name" +msgstr "" + +msgid "{service_name} Service instance name" +msgstr "" + +msgid "{service_port} Port number" +msgstr "" + +msgid "{service_regtype} DNS-SD registration type" +msgstr "" + +msgid "{service_scheme} URI scheme" +msgstr "" + +msgid "{service_uri} URI" +msgstr "" + +msgid "{txt_*} Value of TXT record key" +msgstr "" + +msgid "{} URI" +msgstr "" + +msgid "~/.cups/lpoptions file names default destination that does not exist." +msgstr "~/.cups/lpoptions 文件所指定的默认目标不存在。" + +#~ msgid "A Samba password is required to export printer drivers" +#~ msgstr "需要 Samba 密码以导出打印机驱动" + +#~ msgid "A Samba username is required to export printer drivers" +#~ msgstr "需要 Samba 用户名以导出打印机驱动" + +#~ msgid "Export Printers to Samba" +#~ msgstr "将打印机导出到 Samba" + +#~ msgid "cupsctl: Cannot set Listen or Port directly." +#~ msgstr "cupsctl:无法直接设置 Listen 或 Port 值。" + +#~ msgid "lpadmin: Unable to open PPD file \"%s\" - %s" +#~ msgstr "lpadmin:无法打开 PPD 文件“%s”- %s" diff --git a/locale/ipp-strings.c b/locale/ipp-strings.c new file mode 100644 index 0000000..0e7c09c --- /dev/null +++ b/locale/ipp-strings.c @@ -0,0 +1,4418 @@ +/* TRANSLATORS: Accuracy Units */ +_("accuracy-units"); +/* TRANSLATORS: Millimeters */ +_("accuracy-units.mm"); +/* TRANSLATORS: Nanometers */ +_("accuracy-units.nm"); +/* TRANSLATORS: Micrometers */ +_("accuracy-units.um"); +/* TRANSLATORS: Bale Output */ +_("baling"); +/* TRANSLATORS: Bale Using */ +_("baling-type"); +/* TRANSLATORS: Band */ +_("baling-type.band"); +/* TRANSLATORS: Shrink Wrap */ +_("baling-type.shrink-wrap"); +/* TRANSLATORS: Wrap */ +_("baling-type.wrap"); +/* TRANSLATORS: Bale After */ +_("baling-when"); +/* TRANSLATORS: Job */ +_("baling-when.after-job"); +/* TRANSLATORS: Sets */ +_("baling-when.after-sets"); +/* TRANSLATORS: Bind Output */ +_("binding"); +/* TRANSLATORS: Bind Edge */ +_("binding-reference-edge"); +/* TRANSLATORS: Bottom */ +_("binding-reference-edge.bottom"); +/* TRANSLATORS: Left */ +_("binding-reference-edge.left"); +/* TRANSLATORS: Right */ +_("binding-reference-edge.right"); +/* TRANSLATORS: Top */ +_("binding-reference-edge.top"); +/* TRANSLATORS: Binder Type */ +_("binding-type"); +/* TRANSLATORS: Adhesive */ +_("binding-type.adhesive"); +/* TRANSLATORS: Comb */ +_("binding-type.comb"); +/* TRANSLATORS: Flat */ +_("binding-type.flat"); +/* TRANSLATORS: Padding */ +_("binding-type.padding"); +/* TRANSLATORS: Perfect */ +_("binding-type.perfect"); +/* TRANSLATORS: Spiral */ +_("binding-type.spiral"); +/* TRANSLATORS: Tape */ +_("binding-type.tape"); +/* TRANSLATORS: Velo */ +_("binding-type.velo"); +/* TRANSLATORS: Chamber Humidity */ +_("chamber-humidity"); +/* TRANSLATORS: Chamber Temperature */ +_("chamber-temperature"); +/* TRANSLATORS: Print Job Cost */ +_("charge-info-message"); +/* TRANSLATORS: Coat Sheets */ +_("coating"); +/* TRANSLATORS: Add Coating To */ +_("coating-sides"); +/* TRANSLATORS: Back */ +_("coating-sides.back"); +/* TRANSLATORS: Front and Back */ +_("coating-sides.both"); +/* TRANSLATORS: Front */ +_("coating-sides.front"); +/* TRANSLATORS: Type of Coating */ +_("coating-type"); +/* TRANSLATORS: Archival */ +_("coating-type.archival"); +/* TRANSLATORS: Archival Glossy */ +_("coating-type.archival-glossy"); +/* TRANSLATORS: Archival Matte */ +_("coating-type.archival-matte"); +/* TRANSLATORS: Archival Semi Gloss */ +_("coating-type.archival-semi-gloss"); +/* TRANSLATORS: Glossy */ +_("coating-type.glossy"); +/* TRANSLATORS: High Gloss */ +_("coating-type.high-gloss"); +/* TRANSLATORS: Matte */ +_("coating-type.matte"); +/* TRANSLATORS: Semi-gloss */ +_("coating-type.semi-gloss"); +/* TRANSLATORS: Silicone */ +_("coating-type.silicone"); +/* TRANSLATORS: Translucent */ +_("coating-type.translucent"); +/* TRANSLATORS: Print Confirmation Sheet */ +_("confirmation-sheet-print"); +/* TRANSLATORS: Copies */ +_("copies"); +/* TRANSLATORS: Back Cover */ +_("cover-back"); +/* TRANSLATORS: Front Cover */ +_("cover-front"); +/* TRANSLATORS: Cover Sheet Info */ +_("cover-sheet-info"); +/* TRANSLATORS: Date Time */ +_("cover-sheet-info-supported.date-time"); +/* TRANSLATORS: From Name */ +_("cover-sheet-info-supported.from-name"); +/* TRANSLATORS: Logo */ +_("cover-sheet-info-supported.logo"); +/* TRANSLATORS: Message */ +_("cover-sheet-info-supported.message"); +/* TRANSLATORS: Organization */ +_("cover-sheet-info-supported.organization"); +/* TRANSLATORS: Subject */ +_("cover-sheet-info-supported.subject"); +/* TRANSLATORS: To Name */ +_("cover-sheet-info-supported.to-name"); +/* TRANSLATORS: Printed Cover */ +_("cover-type"); +/* TRANSLATORS: No Cover */ +_("cover-type.no-cover"); +/* TRANSLATORS: Back Only */ +_("cover-type.print-back"); +/* TRANSLATORS: Front and Back */ +_("cover-type.print-both"); +/* TRANSLATORS: Front Only */ +_("cover-type.print-front"); +/* TRANSLATORS: None */ +_("cover-type.print-none"); +/* TRANSLATORS: Cover Output */ +_("covering"); +/* TRANSLATORS: Add Cover */ +_("covering-name"); +/* TRANSLATORS: Plain */ +_("covering-name.plain"); +/* TRANSLATORS: Pre-cut */ +_("covering-name.pre-cut"); +/* TRANSLATORS: Pre-printed */ +_("covering-name.pre-printed"); +/* TRANSLATORS: Detailed Status Message */ +_("detailed-status-message"); +/* TRANSLATORS: Copies */ +_("document-copies"); +/* TRANSLATORS: Document Privacy Attributes */ +_("document-privacy-attributes"); +/* TRANSLATORS: All */ +_("document-privacy-attributes.all"); +/* TRANSLATORS: Default */ +_("document-privacy-attributes.default"); +/* TRANSLATORS: Document Description */ +_("document-privacy-attributes.document-description"); +/* TRANSLATORS: Document Template */ +_("document-privacy-attributes.document-template"); +/* TRANSLATORS: None */ +_("document-privacy-attributes.none"); +/* TRANSLATORS: Document Privacy Scope */ +_("document-privacy-scope"); +/* TRANSLATORS: All */ +_("document-privacy-scope.all"); +/* TRANSLATORS: Default */ +_("document-privacy-scope.default"); +/* TRANSLATORS: None */ +_("document-privacy-scope.none"); +/* TRANSLATORS: Owner */ +_("document-privacy-scope.owner"); +/* TRANSLATORS: Document State */ +_("document-state"); +/* TRANSLATORS: Detailed Document State */ +_("document-state-reasons"); +/* TRANSLATORS: Aborted By System */ +_("document-state-reasons.aborted-by-system"); +/* TRANSLATORS: Canceled At Device */ +_("document-state-reasons.canceled-at-device"); +/* TRANSLATORS: Canceled By Operator */ +_("document-state-reasons.canceled-by-operator"); +/* TRANSLATORS: Canceled By User */ +_("document-state-reasons.canceled-by-user"); +/* TRANSLATORS: Completed Successfully */ +_("document-state-reasons.completed-successfully"); +/* TRANSLATORS: Completed With Errors */ +_("document-state-reasons.completed-with-errors"); +/* TRANSLATORS: Completed With Warnings */ +_("document-state-reasons.completed-with-warnings"); +/* TRANSLATORS: Compression Error */ +_("document-state-reasons.compression-error"); +/* TRANSLATORS: Data Insufficient */ +_("document-state-reasons.data-insufficient"); +/* TRANSLATORS: Digital Signature Did Not Verify */ +_("document-state-reasons.digital-signature-did-not-verify"); +/* TRANSLATORS: Digital Signature Type Not Supported */ +_("document-state-reasons.digital-signature-type-not-supported"); +/* TRANSLATORS: Digital Signature Wait */ +_("document-state-reasons.digital-signature-wait"); +/* TRANSLATORS: Document Access Error */ +_("document-state-reasons.document-access-error"); +/* TRANSLATORS: Document Fetchable */ +_("document-state-reasons.document-fetchable"); +/* TRANSLATORS: Document Format Error */ +_("document-state-reasons.document-format-error"); +/* TRANSLATORS: Document Password Error */ +_("document-state-reasons.document-password-error"); +/* TRANSLATORS: Document Permission Error */ +_("document-state-reasons.document-permission-error"); +/* TRANSLATORS: Document Security Error */ +_("document-state-reasons.document-security-error"); +/* TRANSLATORS: Document Unprintable Error */ +_("document-state-reasons.document-unprintable-error"); +/* TRANSLATORS: Errors Detected */ +_("document-state-reasons.errors-detected"); +/* TRANSLATORS: Incoming */ +_("document-state-reasons.incoming"); +/* TRANSLATORS: Interpreting */ +_("document-state-reasons.interpreting"); +/* TRANSLATORS: None */ +_("document-state-reasons.none"); +/* TRANSLATORS: Outgoing */ +_("document-state-reasons.outgoing"); +/* TRANSLATORS: Printing */ +_("document-state-reasons.printing"); +/* TRANSLATORS: Processing To Stop Point */ +_("document-state-reasons.processing-to-stop-point"); +/* TRANSLATORS: Queued */ +_("document-state-reasons.queued"); +/* TRANSLATORS: Queued For Marker */ +_("document-state-reasons.queued-for-marker"); +/* TRANSLATORS: Queued In Device */ +_("document-state-reasons.queued-in-device"); +/* TRANSLATORS: Resources Are Not Ready */ +_("document-state-reasons.resources-are-not-ready"); +/* TRANSLATORS: Resources Are Not Supported */ +_("document-state-reasons.resources-are-not-supported"); +/* TRANSLATORS: Submission Interrupted */ +_("document-state-reasons.submission-interrupted"); +/* TRANSLATORS: Transforming */ +_("document-state-reasons.transforming"); +/* TRANSLATORS: Unsupported Compression */ +_("document-state-reasons.unsupported-compression"); +/* TRANSLATORS: Unsupported Document Format */ +_("document-state-reasons.unsupported-document-format"); +/* TRANSLATORS: Warnings Detected */ +_("document-state-reasons.warnings-detected"); +/* TRANSLATORS: Pending */ +_("document-state.3"); +/* TRANSLATORS: Processing */ +_("document-state.5"); +/* TRANSLATORS: Stopped */ +_("document-state.6"); +/* TRANSLATORS: Canceled */ +_("document-state.7"); +/* TRANSLATORS: Aborted */ +_("document-state.8"); +/* TRANSLATORS: Completed */ +_("document-state.9"); +/* TRANSLATORS: Feed Orientation */ +_("feed-orientation"); +/* TRANSLATORS: Long Edge First */ +_("feed-orientation.long-edge-first"); +/* TRANSLATORS: Short Edge First */ +_("feed-orientation.short-edge-first"); +/* TRANSLATORS: Fetch Status Code */ +_("fetch-status-code"); +/* TRANSLATORS: Finishing Template */ +_("finishing-template"); +/* TRANSLATORS: Bale */ +_("finishing-template.bale"); +/* TRANSLATORS: Bind */ +_("finishing-template.bind"); +/* TRANSLATORS: Bind Bottom */ +_("finishing-template.bind-bottom"); +/* TRANSLATORS: Bind Left */ +_("finishing-template.bind-left"); +/* TRANSLATORS: Bind Right */ +_("finishing-template.bind-right"); +/* TRANSLATORS: Bind Top */ +_("finishing-template.bind-top"); +/* TRANSLATORS: Booklet Maker */ +_("finishing-template.booklet-maker"); +/* TRANSLATORS: Coat */ +_("finishing-template.coat"); +/* TRANSLATORS: Cover */ +_("finishing-template.cover"); +/* TRANSLATORS: Edge Stitch */ +_("finishing-template.edge-stitch"); +/* TRANSLATORS: Edge Stitch Bottom */ +_("finishing-template.edge-stitch-bottom"); +/* TRANSLATORS: Edge Stitch Left */ +_("finishing-template.edge-stitch-left"); +/* TRANSLATORS: Edge Stitch Right */ +_("finishing-template.edge-stitch-right"); +/* TRANSLATORS: Edge Stitch Top */ +_("finishing-template.edge-stitch-top"); +/* TRANSLATORS: Fold */ +_("finishing-template.fold"); +/* TRANSLATORS: Accordion Fold */ +_("finishing-template.fold-accordion"); +/* TRANSLATORS: Double Gate Fold */ +_("finishing-template.fold-double-gate"); +/* TRANSLATORS: Engineering Z Fold */ +_("finishing-template.fold-engineering-z"); +/* TRANSLATORS: Gate Fold */ +_("finishing-template.fold-gate"); +/* TRANSLATORS: Half Fold */ +_("finishing-template.fold-half"); +/* TRANSLATORS: Half Z Fold */ +_("finishing-template.fold-half-z"); +/* TRANSLATORS: Left Gate Fold */ +_("finishing-template.fold-left-gate"); +/* TRANSLATORS: Letter Fold */ +_("finishing-template.fold-letter"); +/* TRANSLATORS: Parallel Fold */ +_("finishing-template.fold-parallel"); +/* TRANSLATORS: Poster Fold */ +_("finishing-template.fold-poster"); +/* TRANSLATORS: Right Gate Fold */ +_("finishing-template.fold-right-gate"); +/* TRANSLATORS: Z Fold */ +_("finishing-template.fold-z"); +/* TRANSLATORS: JDF F10-1 */ +_("finishing-template.jdf-f10-1"); +/* TRANSLATORS: JDF F10-2 */ +_("finishing-template.jdf-f10-2"); +/* TRANSLATORS: JDF F10-3 */ +_("finishing-template.jdf-f10-3"); +/* TRANSLATORS: JDF F12-1 */ +_("finishing-template.jdf-f12-1"); +/* TRANSLATORS: JDF F12-10 */ +_("finishing-template.jdf-f12-10"); +/* TRANSLATORS: JDF F12-11 */ +_("finishing-template.jdf-f12-11"); +/* TRANSLATORS: JDF F12-12 */ +_("finishing-template.jdf-f12-12"); +/* TRANSLATORS: JDF F12-13 */ +_("finishing-template.jdf-f12-13"); +/* TRANSLATORS: JDF F12-14 */ +_("finishing-template.jdf-f12-14"); +/* TRANSLATORS: JDF F12-2 */ +_("finishing-template.jdf-f12-2"); +/* TRANSLATORS: JDF F12-3 */ +_("finishing-template.jdf-f12-3"); +/* TRANSLATORS: JDF F12-4 */ +_("finishing-template.jdf-f12-4"); +/* TRANSLATORS: JDF F12-5 */ +_("finishing-template.jdf-f12-5"); +/* TRANSLATORS: JDF F12-6 */ +_("finishing-template.jdf-f12-6"); +/* TRANSLATORS: JDF F12-7 */ +_("finishing-template.jdf-f12-7"); +/* TRANSLATORS: JDF F12-8 */ +_("finishing-template.jdf-f12-8"); +/* TRANSLATORS: JDF F12-9 */ +_("finishing-template.jdf-f12-9"); +/* TRANSLATORS: JDF F14-1 */ +_("finishing-template.jdf-f14-1"); +/* TRANSLATORS: JDF F16-1 */ +_("finishing-template.jdf-f16-1"); +/* TRANSLATORS: JDF F16-10 */ +_("finishing-template.jdf-f16-10"); +/* TRANSLATORS: JDF F16-11 */ +_("finishing-template.jdf-f16-11"); +/* TRANSLATORS: JDF F16-12 */ +_("finishing-template.jdf-f16-12"); +/* TRANSLATORS: JDF F16-13 */ +_("finishing-template.jdf-f16-13"); +/* TRANSLATORS: JDF F16-14 */ +_("finishing-template.jdf-f16-14"); +/* TRANSLATORS: JDF F16-2 */ +_("finishing-template.jdf-f16-2"); +/* TRANSLATORS: JDF F16-3 */ +_("finishing-template.jdf-f16-3"); +/* TRANSLATORS: JDF F16-4 */ +_("finishing-template.jdf-f16-4"); +/* TRANSLATORS: JDF F16-5 */ +_("finishing-template.jdf-f16-5"); +/* TRANSLATORS: JDF F16-6 */ +_("finishing-template.jdf-f16-6"); +/* TRANSLATORS: JDF F16-7 */ +_("finishing-template.jdf-f16-7"); +/* TRANSLATORS: JDF F16-8 */ +_("finishing-template.jdf-f16-8"); +/* TRANSLATORS: JDF F16-9 */ +_("finishing-template.jdf-f16-9"); +/* TRANSLATORS: JDF F18-1 */ +_("finishing-template.jdf-f18-1"); +/* TRANSLATORS: JDF F18-2 */ +_("finishing-template.jdf-f18-2"); +/* TRANSLATORS: JDF F18-3 */ +_("finishing-template.jdf-f18-3"); +/* TRANSLATORS: JDF F18-4 */ +_("finishing-template.jdf-f18-4"); +/* TRANSLATORS: JDF F18-5 */ +_("finishing-template.jdf-f18-5"); +/* TRANSLATORS: JDF F18-6 */ +_("finishing-template.jdf-f18-6"); +/* TRANSLATORS: JDF F18-7 */ +_("finishing-template.jdf-f18-7"); +/* TRANSLATORS: JDF F18-8 */ +_("finishing-template.jdf-f18-8"); +/* TRANSLATORS: JDF F18-9 */ +_("finishing-template.jdf-f18-9"); +/* TRANSLATORS: JDF F2-1 */ +_("finishing-template.jdf-f2-1"); +/* TRANSLATORS: JDF F20-1 */ +_("finishing-template.jdf-f20-1"); +/* TRANSLATORS: JDF F20-2 */ +_("finishing-template.jdf-f20-2"); +/* TRANSLATORS: JDF F24-1 */ +_("finishing-template.jdf-f24-1"); +/* TRANSLATORS: JDF F24-10 */ +_("finishing-template.jdf-f24-10"); +/* TRANSLATORS: JDF F24-11 */ +_("finishing-template.jdf-f24-11"); +/* TRANSLATORS: JDF F24-2 */ +_("finishing-template.jdf-f24-2"); +/* TRANSLATORS: JDF F24-3 */ +_("finishing-template.jdf-f24-3"); +/* TRANSLATORS: JDF F24-4 */ +_("finishing-template.jdf-f24-4"); +/* TRANSLATORS: JDF F24-5 */ +_("finishing-template.jdf-f24-5"); +/* TRANSLATORS: JDF F24-6 */ +_("finishing-template.jdf-f24-6"); +/* TRANSLATORS: JDF F24-7 */ +_("finishing-template.jdf-f24-7"); +/* TRANSLATORS: JDF F24-8 */ +_("finishing-template.jdf-f24-8"); +/* TRANSLATORS: JDF F24-9 */ +_("finishing-template.jdf-f24-9"); +/* TRANSLATORS: JDF F28-1 */ +_("finishing-template.jdf-f28-1"); +/* TRANSLATORS: JDF F32-1 */ +_("finishing-template.jdf-f32-1"); +/* TRANSLATORS: JDF F32-2 */ +_("finishing-template.jdf-f32-2"); +/* TRANSLATORS: JDF F32-3 */ +_("finishing-template.jdf-f32-3"); +/* TRANSLATORS: JDF F32-4 */ +_("finishing-template.jdf-f32-4"); +/* TRANSLATORS: JDF F32-5 */ +_("finishing-template.jdf-f32-5"); +/* TRANSLATORS: JDF F32-6 */ +_("finishing-template.jdf-f32-6"); +/* TRANSLATORS: JDF F32-7 */ +_("finishing-template.jdf-f32-7"); +/* TRANSLATORS: JDF F32-8 */ +_("finishing-template.jdf-f32-8"); +/* TRANSLATORS: JDF F32-9 */ +_("finishing-template.jdf-f32-9"); +/* TRANSLATORS: JDF F36-1 */ +_("finishing-template.jdf-f36-1"); +/* TRANSLATORS: JDF F36-2 */ +_("finishing-template.jdf-f36-2"); +/* TRANSLATORS: JDF F4-1 */ +_("finishing-template.jdf-f4-1"); +/* TRANSLATORS: JDF F4-2 */ +_("finishing-template.jdf-f4-2"); +/* TRANSLATORS: JDF F40-1 */ +_("finishing-template.jdf-f40-1"); +/* TRANSLATORS: JDF F48-1 */ +_("finishing-template.jdf-f48-1"); +/* TRANSLATORS: JDF F48-2 */ +_("finishing-template.jdf-f48-2"); +/* TRANSLATORS: JDF F6-1 */ +_("finishing-template.jdf-f6-1"); +/* TRANSLATORS: JDF F6-2 */ +_("finishing-template.jdf-f6-2"); +/* TRANSLATORS: JDF F6-3 */ +_("finishing-template.jdf-f6-3"); +/* TRANSLATORS: JDF F6-4 */ +_("finishing-template.jdf-f6-4"); +/* TRANSLATORS: JDF F6-5 */ +_("finishing-template.jdf-f6-5"); +/* TRANSLATORS: JDF F6-6 */ +_("finishing-template.jdf-f6-6"); +/* TRANSLATORS: JDF F6-7 */ +_("finishing-template.jdf-f6-7"); +/* TRANSLATORS: JDF F6-8 */ +_("finishing-template.jdf-f6-8"); +/* TRANSLATORS: JDF F64-1 */ +_("finishing-template.jdf-f64-1"); +/* TRANSLATORS: JDF F64-2 */ +_("finishing-template.jdf-f64-2"); +/* TRANSLATORS: JDF F8-1 */ +_("finishing-template.jdf-f8-1"); +/* TRANSLATORS: JDF F8-2 */ +_("finishing-template.jdf-f8-2"); +/* TRANSLATORS: JDF F8-3 */ +_("finishing-template.jdf-f8-3"); +/* TRANSLATORS: JDF F8-4 */ +_("finishing-template.jdf-f8-4"); +/* TRANSLATORS: JDF F8-5 */ +_("finishing-template.jdf-f8-5"); +/* TRANSLATORS: JDF F8-6 */ +_("finishing-template.jdf-f8-6"); +/* TRANSLATORS: JDF F8-7 */ +_("finishing-template.jdf-f8-7"); +/* TRANSLATORS: Jog Offset */ +_("finishing-template.jog-offset"); +/* TRANSLATORS: Laminate */ +_("finishing-template.laminate"); +/* TRANSLATORS: Punch */ +_("finishing-template.punch"); +/* TRANSLATORS: Punch Bottom Left */ +_("finishing-template.punch-bottom-left"); +/* TRANSLATORS: Punch Bottom Right */ +_("finishing-template.punch-bottom-right"); +/* TRANSLATORS: 2-hole Punch Bottom */ +_("finishing-template.punch-dual-bottom"); +/* TRANSLATORS: 2-hole Punch Left */ +_("finishing-template.punch-dual-left"); +/* TRANSLATORS: 2-hole Punch Right */ +_("finishing-template.punch-dual-right"); +/* TRANSLATORS: 2-hole Punch Top */ +_("finishing-template.punch-dual-top"); +/* TRANSLATORS: Multi-hole Punch Bottom */ +_("finishing-template.punch-multiple-bottom"); +/* TRANSLATORS: Multi-hole Punch Left */ +_("finishing-template.punch-multiple-left"); +/* TRANSLATORS: Multi-hole Punch Right */ +_("finishing-template.punch-multiple-right"); +/* TRANSLATORS: Multi-hole Punch Top */ +_("finishing-template.punch-multiple-top"); +/* TRANSLATORS: 4-hole Punch Bottom */ +_("finishing-template.punch-quad-bottom"); +/* TRANSLATORS: 4-hole Punch Left */ +_("finishing-template.punch-quad-left"); +/* TRANSLATORS: 4-hole Punch Right */ +_("finishing-template.punch-quad-right"); +/* TRANSLATORS: 4-hole Punch Top */ +_("finishing-template.punch-quad-top"); +/* TRANSLATORS: Punch Top Left */ +_("finishing-template.punch-top-left"); +/* TRANSLATORS: Punch Top Right */ +_("finishing-template.punch-top-right"); +/* TRANSLATORS: 3-hole Punch Bottom */ +_("finishing-template.punch-triple-bottom"); +/* TRANSLATORS: 3-hole Punch Left */ +_("finishing-template.punch-triple-left"); +/* TRANSLATORS: 3-hole Punch Right */ +_("finishing-template.punch-triple-right"); +/* TRANSLATORS: 3-hole Punch Top */ +_("finishing-template.punch-triple-top"); +/* TRANSLATORS: Saddle Stitch */ +_("finishing-template.saddle-stitch"); +/* TRANSLATORS: Staple */ +_("finishing-template.staple"); +/* TRANSLATORS: Staple Bottom Left */ +_("finishing-template.staple-bottom-left"); +/* TRANSLATORS: Staple Bottom Right */ +_("finishing-template.staple-bottom-right"); +/* TRANSLATORS: 2 Staples on Bottom */ +_("finishing-template.staple-dual-bottom"); +/* TRANSLATORS: 2 Staples on Left */ +_("finishing-template.staple-dual-left"); +/* TRANSLATORS: 2 Staples on Right */ +_("finishing-template.staple-dual-right"); +/* TRANSLATORS: 2 Staples on Top */ +_("finishing-template.staple-dual-top"); +/* TRANSLATORS: Staple Top Left */ +_("finishing-template.staple-top-left"); +/* TRANSLATORS: Staple Top Right */ +_("finishing-template.staple-top-right"); +/* TRANSLATORS: 3 Staples on Bottom */ +_("finishing-template.staple-triple-bottom"); +/* TRANSLATORS: 3 Staples on Left */ +_("finishing-template.staple-triple-left"); +/* TRANSLATORS: 3 Staples on Right */ +_("finishing-template.staple-triple-right"); +/* TRANSLATORS: 3 Staples on Top */ +_("finishing-template.staple-triple-top"); +/* TRANSLATORS: Trim */ +_("finishing-template.trim"); +/* TRANSLATORS: Trim After Every Set */ +_("finishing-template.trim-after-copies"); +/* TRANSLATORS: Trim After Every Document */ +_("finishing-template.trim-after-documents"); +/* TRANSLATORS: Trim After Job */ +_("finishing-template.trim-after-job"); +/* TRANSLATORS: Trim After Every Page */ +_("finishing-template.trim-after-pages"); +/* TRANSLATORS: Finishings */ +_("finishings"); +/* TRANSLATORS: Finishings */ +_("finishings-col"); +/* TRANSLATORS: Fold */ +_("finishings.10"); +/* TRANSLATORS: Z Fold */ +_("finishings.100"); +/* TRANSLATORS: Engineering Z Fold */ +_("finishings.101"); +/* TRANSLATORS: Trim */ +_("finishings.11"); +/* TRANSLATORS: Bale */ +_("finishings.12"); +/* TRANSLATORS: Booklet Maker */ +_("finishings.13"); +/* TRANSLATORS: Jog Offset */ +_("finishings.14"); +/* TRANSLATORS: Coat */ +_("finishings.15"); +/* TRANSLATORS: Laminate */ +_("finishings.16"); +/* TRANSLATORS: Staple Top Left */ +_("finishings.20"); +/* TRANSLATORS: Staple Bottom Left */ +_("finishings.21"); +/* TRANSLATORS: Staple Top Right */ +_("finishings.22"); +/* TRANSLATORS: Staple Bottom Right */ +_("finishings.23"); +/* TRANSLATORS: Edge Stitch Left */ +_("finishings.24"); +/* TRANSLATORS: Edge Stitch Top */ +_("finishings.25"); +/* TRANSLATORS: Edge Stitch Right */ +_("finishings.26"); +/* TRANSLATORS: Edge Stitch Bottom */ +_("finishings.27"); +/* TRANSLATORS: 2 Staples on Left */ +_("finishings.28"); +/* TRANSLATORS: 2 Staples on Top */ +_("finishings.29"); +/* TRANSLATORS: None */ +_("finishings.3"); +/* TRANSLATORS: 2 Staples on Right */ +_("finishings.30"); +/* TRANSLATORS: 2 Staples on Bottom */ +_("finishings.31"); +/* TRANSLATORS: 3 Staples on Left */ +_("finishings.32"); +/* TRANSLATORS: 3 Staples on Top */ +_("finishings.33"); +/* TRANSLATORS: 3 Staples on Right */ +_("finishings.34"); +/* TRANSLATORS: 3 Staples on Bottom */ +_("finishings.35"); +/* TRANSLATORS: Staple */ +_("finishings.4"); +/* TRANSLATORS: Punch */ +_("finishings.5"); +/* TRANSLATORS: Bind Left */ +_("finishings.50"); +/* TRANSLATORS: Bind Top */ +_("finishings.51"); +/* TRANSLATORS: Bind Right */ +_("finishings.52"); +/* TRANSLATORS: Bind Bottom */ +_("finishings.53"); +/* TRANSLATORS: Cover */ +_("finishings.6"); +/* TRANSLATORS: Trim Pages */ +_("finishings.60"); +/* TRANSLATORS: Trim Documents */ +_("finishings.61"); +/* TRANSLATORS: Trim Copies */ +_("finishings.62"); +/* TRANSLATORS: Trim Job */ +_("finishings.63"); +/* TRANSLATORS: Bind */ +_("finishings.7"); +/* TRANSLATORS: Punch Top Left */ +_("finishings.70"); +/* TRANSLATORS: Punch Bottom Left */ +_("finishings.71"); +/* TRANSLATORS: Punch Top Right */ +_("finishings.72"); +/* TRANSLATORS: Punch Bottom Right */ +_("finishings.73"); +/* TRANSLATORS: 2-hole Punch Left */ +_("finishings.74"); +/* TRANSLATORS: 2-hole Punch Top */ +_("finishings.75"); +/* TRANSLATORS: 2-hole Punch Right */ +_("finishings.76"); +/* TRANSLATORS: 2-hole Punch Bottom */ +_("finishings.77"); +/* TRANSLATORS: 3-hole Punch Left */ +_("finishings.78"); +/* TRANSLATORS: 3-hole Punch Top */ +_("finishings.79"); +/* TRANSLATORS: Saddle Stitch */ +_("finishings.8"); +/* TRANSLATORS: 3-hole Punch Right */ +_("finishings.80"); +/* TRANSLATORS: 3-hole Punch Bottom */ +_("finishings.81"); +/* TRANSLATORS: 4-hole Punch Left */ +_("finishings.82"); +/* TRANSLATORS: 4-hole Punch Top */ +_("finishings.83"); +/* TRANSLATORS: 4-hole Punch Right */ +_("finishings.84"); +/* TRANSLATORS: 4-hole Punch Bottom */ +_("finishings.85"); +/* TRANSLATORS: Multi-hole Punch Left */ +_("finishings.86"); +/* TRANSLATORS: Multi-hole Punch Top */ +_("finishings.87"); +/* TRANSLATORS: Multi-hole Punch Right */ +_("finishings.88"); +/* TRANSLATORS: Multi-hole Punch Bottom */ +_("finishings.89"); +/* TRANSLATORS: Edge Stitch */ +_("finishings.9"); +/* TRANSLATORS: Accordion Fold */ +_("finishings.90"); +/* TRANSLATORS: Double Gate Fold */ +_("finishings.91"); +/* TRANSLATORS: Gate Fold */ +_("finishings.92"); +/* TRANSLATORS: Half Fold */ +_("finishings.93"); +/* TRANSLATORS: Half Z Fold */ +_("finishings.94"); +/* TRANSLATORS: Left Gate Fold */ +_("finishings.95"); +/* TRANSLATORS: Letter Fold */ +_("finishings.96"); +/* TRANSLATORS: Parallel Fold */ +_("finishings.97"); +/* TRANSLATORS: Poster Fold */ +_("finishings.98"); +/* TRANSLATORS: Right Gate Fold */ +_("finishings.99"); +/* TRANSLATORS: Fold */ +_("folding"); +/* TRANSLATORS: Fold Direction */ +_("folding-direction"); +/* TRANSLATORS: Inward */ +_("folding-direction.inward"); +/* TRANSLATORS: Outward */ +_("folding-direction.outward"); +/* TRANSLATORS: Fold Position */ +_("folding-offset"); +/* TRANSLATORS: Fold Edge */ +_("folding-reference-edge"); +/* TRANSLATORS: Bottom */ +_("folding-reference-edge.bottom"); +/* TRANSLATORS: Left */ +_("folding-reference-edge.left"); +/* TRANSLATORS: Right */ +_("folding-reference-edge.right"); +/* TRANSLATORS: Top */ +_("folding-reference-edge.top"); +/* TRANSLATORS: Font Name */ +_("font-name-requested"); +/* TRANSLATORS: Font Size */ +_("font-size-requested"); +/* TRANSLATORS: Force Front Side */ +_("force-front-side"); +/* TRANSLATORS: From Name */ +_("from-name"); +/* TRANSLATORS: Imposition Template */ +_("imposition-template"); +/* TRANSLATORS: None */ +_("imposition-template.none"); +/* TRANSLATORS: Signature */ +_("imposition-template.signature"); +/* TRANSLATORS: Insert Page Number */ +_("insert-after-page-number"); +/* TRANSLATORS: Insert Count */ +_("insert-count"); +/* TRANSLATORS: Insert Sheet */ +_("insert-sheet"); +/* TRANSLATORS: Job Account ID */ +_("job-account-id"); +/* TRANSLATORS: Job Account Type */ +_("job-account-type"); +/* TRANSLATORS: General */ +_("job-account-type.general"); +/* TRANSLATORS: Group */ +_("job-account-type.group"); +/* TRANSLATORS: None */ +_("job-account-type.none"); +/* TRANSLATORS: Job Accounting Output Bin */ +_("job-accounting-output-bin"); +/* TRANSLATORS: Job Accounting Sheets */ +_("job-accounting-sheets"); +/* TRANSLATORS: Type of Job Accounting Sheets */ +_("job-accounting-sheets-type"); +/* TRANSLATORS: None */ +_("job-accounting-sheets-type.none"); +/* TRANSLATORS: Standard */ +_("job-accounting-sheets-type.standard"); +/* TRANSLATORS: Job Accounting User ID */ +_("job-accounting-user-id"); +/* TRANSLATORS: Job Cancel After */ +_("job-cancel-after"); +/* TRANSLATORS: Copies */ +_("job-copies"); +/* TRANSLATORS: Back Cover */ +_("job-cover-back"); +/* TRANSLATORS: Front Cover */ +_("job-cover-front"); +/* TRANSLATORS: Delay Output Until */ +_("job-delay-output-until"); +/* TRANSLATORS: Delay Output Until */ +_("job-delay-output-until-time"); +/* TRANSLATORS: Daytime */ +_("job-delay-output-until.day-time"); +/* TRANSLATORS: Evening */ +_("job-delay-output-until.evening"); +/* TRANSLATORS: Released */ +_("job-delay-output-until.indefinite"); +/* TRANSLATORS: Night */ +_("job-delay-output-until.night"); +/* TRANSLATORS: No Delay */ +_("job-delay-output-until.no-delay-output"); +/* TRANSLATORS: Second Shift */ +_("job-delay-output-until.second-shift"); +/* TRANSLATORS: Third Shift */ +_("job-delay-output-until.third-shift"); +/* TRANSLATORS: Weekend */ +_("job-delay-output-until.weekend"); +/* TRANSLATORS: On Error */ +_("job-error-action"); +/* TRANSLATORS: Abort Job */ +_("job-error-action.abort-job"); +/* TRANSLATORS: Cancel Job */ +_("job-error-action.cancel-job"); +/* TRANSLATORS: Continue Job */ +_("job-error-action.continue-job"); +/* TRANSLATORS: Suspend Job */ +_("job-error-action.suspend-job"); +/* TRANSLATORS: Print Error Sheet */ +_("job-error-sheet"); +/* TRANSLATORS: Type of Error Sheet */ +_("job-error-sheet-type"); +/* TRANSLATORS: None */ +_("job-error-sheet-type.none"); +/* TRANSLATORS: Standard */ +_("job-error-sheet-type.standard"); +/* TRANSLATORS: Print Error Sheet */ +_("job-error-sheet-when"); +/* TRANSLATORS: Always */ +_("job-error-sheet-when.always"); +/* TRANSLATORS: On Error */ +_("job-error-sheet-when.on-error"); +/* TRANSLATORS: Job Finishings */ +_("job-finishings"); +/* TRANSLATORS: Hold Until */ +_("job-hold-until"); +/* TRANSLATORS: Hold Until */ +_("job-hold-until-time"); +/* TRANSLATORS: Daytime */ +_("job-hold-until.day-time"); +/* TRANSLATORS: Evening */ +_("job-hold-until.evening"); +/* TRANSLATORS: Released */ +_("job-hold-until.indefinite"); +/* TRANSLATORS: Night */ +_("job-hold-until.night"); +/* TRANSLATORS: No Hold */ +_("job-hold-until.no-hold"); +/* TRANSLATORS: Second Shift */ +_("job-hold-until.second-shift"); +/* TRANSLATORS: Third Shift */ +_("job-hold-until.third-shift"); +/* TRANSLATORS: Weekend */ +_("job-hold-until.weekend"); +/* TRANSLATORS: Job Mandatory Attributes */ +_("job-mandatory-attributes"); +/* TRANSLATORS: Title */ +_("job-name"); +/* TRANSLATORS: Job Pages */ +_("job-pages"); +/* TRANSLATORS: Job Pages */ +_("job-pages-col"); +/* TRANSLATORS: Job Phone Number */ +_("job-phone-number"); +/* TRANSLATORS: Job Priority */ +_("job-priority"); +/* TRANSLATORS: Job Privacy Attributes */ +_("job-privacy-attributes"); +/* TRANSLATORS: All */ +_("job-privacy-attributes.all"); +/* TRANSLATORS: Default */ +_("job-privacy-attributes.default"); +/* TRANSLATORS: Job Description */ +_("job-privacy-attributes.job-description"); +/* TRANSLATORS: Job Template */ +_("job-privacy-attributes.job-template"); +/* TRANSLATORS: None */ +_("job-privacy-attributes.none"); +/* TRANSLATORS: Job Privacy Scope */ +_("job-privacy-scope"); +/* TRANSLATORS: All */ +_("job-privacy-scope.all"); +/* TRANSLATORS: Default */ +_("job-privacy-scope.default"); +/* TRANSLATORS: None */ +_("job-privacy-scope.none"); +/* TRANSLATORS: Owner */ +_("job-privacy-scope.owner"); +/* TRANSLATORS: Job Recipient Name */ +_("job-recipient-name"); +/* TRANSLATORS: Job Retain Until */ +_("job-retain-until"); +/* TRANSLATORS: Job Retain Until Interval */ +_("job-retain-until-interval"); +/* TRANSLATORS: Job Retain Until Time */ +_("job-retain-until-time"); +/* TRANSLATORS: End Of Day */ +_("job-retain-until.end-of-day"); +/* TRANSLATORS: End Of Month */ +_("job-retain-until.end-of-month"); +/* TRANSLATORS: End Of Week */ +_("job-retain-until.end-of-week"); +/* TRANSLATORS: Indefinite */ +_("job-retain-until.indefinite"); +/* TRANSLATORS: None */ +_("job-retain-until.none"); +/* TRANSLATORS: Job Save Disposition */ +_("job-save-disposition"); +/* TRANSLATORS: Job Sheet Message */ +_("job-sheet-message"); +/* TRANSLATORS: Banner Page */ +_("job-sheets"); +/* TRANSLATORS: Banner Page */ +_("job-sheets-col"); +/* TRANSLATORS: First Page in Document */ +_("job-sheets.first-print-stream-page"); +/* TRANSLATORS: Start and End Sheets */ +_("job-sheets.job-both-sheet"); +/* TRANSLATORS: End Sheet */ +_("job-sheets.job-end-sheet"); +/* TRANSLATORS: Start Sheet */ +_("job-sheets.job-start-sheet"); +/* TRANSLATORS: None */ +_("job-sheets.none"); +/* TRANSLATORS: Standard */ +_("job-sheets.standard"); +/* TRANSLATORS: Job State */ +_("job-state"); +/* TRANSLATORS: Job State Message */ +_("job-state-message"); +/* TRANSLATORS: Detailed Job State */ +_("job-state-reasons"); +/* TRANSLATORS: Stopping */ +_("job-state-reasons.aborted-by-system"); +/* TRANSLATORS: Account Authorization Failed */ +_("job-state-reasons.account-authorization-failed"); +/* TRANSLATORS: Account Closed */ +_("job-state-reasons.account-closed"); +/* TRANSLATORS: Account Info Needed */ +_("job-state-reasons.account-info-needed"); +/* TRANSLATORS: Account Limit Reached */ +_("job-state-reasons.account-limit-reached"); +/* TRANSLATORS: Decompression error */ +_("job-state-reasons.compression-error"); +/* TRANSLATORS: Conflicting Attributes */ +_("job-state-reasons.conflicting-attributes"); +/* TRANSLATORS: Connected To Destination */ +_("job-state-reasons.connected-to-destination"); +/* TRANSLATORS: Connecting To Destination */ +_("job-state-reasons.connecting-to-destination"); +/* TRANSLATORS: Destination Uri Failed */ +_("job-state-reasons.destination-uri-failed"); +/* TRANSLATORS: Digital Signature Did Not Verify */ +_("job-state-reasons.digital-signature-did-not-verify"); +/* TRANSLATORS: Digital Signature Type Not Supported */ +_("job-state-reasons.digital-signature-type-not-supported"); +/* TRANSLATORS: Document Access Error */ +_("job-state-reasons.document-access-error"); +/* TRANSLATORS: Document Format Error */ +_("job-state-reasons.document-format-error"); +/* TRANSLATORS: Document Password Error */ +_("job-state-reasons.document-password-error"); +/* TRANSLATORS: Document Permission Error */ +_("job-state-reasons.document-permission-error"); +/* TRANSLATORS: Document Security Error */ +_("job-state-reasons.document-security-error"); +/* TRANSLATORS: Document Unprintable Error */ +_("job-state-reasons.document-unprintable-error"); +/* TRANSLATORS: Errors Detected */ +_("job-state-reasons.errors-detected"); +/* TRANSLATORS: Canceled at printer */ +_("job-state-reasons.job-canceled-at-device"); +/* TRANSLATORS: Canceled by operator */ +_("job-state-reasons.job-canceled-by-operator"); +/* TRANSLATORS: Canceled by user */ +_("job-state-reasons.job-canceled-by-user"); +/* TRANSLATORS: */ +_("job-state-reasons.job-completed-successfully"); +/* TRANSLATORS: Completed with errors */ +_("job-state-reasons.job-completed-with-errors"); +/* TRANSLATORS: Completed with warnings */ +_("job-state-reasons.job-completed-with-warnings"); +/* TRANSLATORS: Insufficient data */ +_("job-state-reasons.job-data-insufficient"); +/* TRANSLATORS: Job Delay Output Until Specified */ +_("job-state-reasons.job-delay-output-until-specified"); +/* TRANSLATORS: Job Digital Signature Wait */ +_("job-state-reasons.job-digital-signature-wait"); +/* TRANSLATORS: Job Fetchable */ +_("job-state-reasons.job-fetchable"); +/* TRANSLATORS: Job Held For Review */ +_("job-state-reasons.job-held-for-review"); +/* TRANSLATORS: Job held */ +_("job-state-reasons.job-hold-until-specified"); +/* TRANSLATORS: Incoming */ +_("job-state-reasons.job-incoming"); +/* TRANSLATORS: Interpreting */ +_("job-state-reasons.job-interpreting"); +/* TRANSLATORS: Outgoing */ +_("job-state-reasons.job-outgoing"); +/* TRANSLATORS: Job Password Wait */ +_("job-state-reasons.job-password-wait"); +/* TRANSLATORS: Job Printed Successfully */ +_("job-state-reasons.job-printed-successfully"); +/* TRANSLATORS: Job Printed With Errors */ +_("job-state-reasons.job-printed-with-errors"); +/* TRANSLATORS: Job Printed With Warnings */ +_("job-state-reasons.job-printed-with-warnings"); +/* TRANSLATORS: Printing */ +_("job-state-reasons.job-printing"); +/* TRANSLATORS: Preparing to print */ +_("job-state-reasons.job-queued"); +/* TRANSLATORS: Processing document */ +_("job-state-reasons.job-queued-for-marker"); +/* TRANSLATORS: Job Release Wait */ +_("job-state-reasons.job-release-wait"); +/* TRANSLATORS: Restartable */ +_("job-state-reasons.job-restartable"); +/* TRANSLATORS: Job Resuming */ +_("job-state-reasons.job-resuming"); +/* TRANSLATORS: Job Saved Successfully */ +_("job-state-reasons.job-saved-successfully"); +/* TRANSLATORS: Job Saved With Errors */ +_("job-state-reasons.job-saved-with-errors"); +/* TRANSLATORS: Job Saved With Warnings */ +_("job-state-reasons.job-saved-with-warnings"); +/* TRANSLATORS: Job Saving */ +_("job-state-reasons.job-saving"); +/* TRANSLATORS: Job Spooling */ +_("job-state-reasons.job-spooling"); +/* TRANSLATORS: Job Streaming */ +_("job-state-reasons.job-streaming"); +/* TRANSLATORS: Suspended */ +_("job-state-reasons.job-suspended"); +/* TRANSLATORS: Job Suspended By Operator */ +_("job-state-reasons.job-suspended-by-operator"); +/* TRANSLATORS: Job Suspended By System */ +_("job-state-reasons.job-suspended-by-system"); +/* TRANSLATORS: Job Suspended By User */ +_("job-state-reasons.job-suspended-by-user"); +/* TRANSLATORS: Job Suspending */ +_("job-state-reasons.job-suspending"); +/* TRANSLATORS: Job Transferring */ +_("job-state-reasons.job-transferring"); +/* TRANSLATORS: Transforming */ +_("job-state-reasons.job-transforming"); +/* TRANSLATORS: None */ +_("job-state-reasons.none"); +/* TRANSLATORS: Printer offline */ +_("job-state-reasons.printer-stopped"); +/* TRANSLATORS: Printer partially stopped */ +_("job-state-reasons.printer-stopped-partly"); +/* TRANSLATORS: Stopping */ +_("job-state-reasons.processing-to-stop-point"); +/* TRANSLATORS: Ready */ +_("job-state-reasons.queued-in-device"); +/* TRANSLATORS: Resources Are Not Ready */ +_("job-state-reasons.resources-are-not-ready"); +/* TRANSLATORS: Resources Are Not Supported */ +_("job-state-reasons.resources-are-not-supported"); +/* TRANSLATORS: Service offline */ +_("job-state-reasons.service-off-line"); +/* TRANSLATORS: Submission Interrupted */ +_("job-state-reasons.submission-interrupted"); +/* TRANSLATORS: Unsupported Attributes Or Values */ +_("job-state-reasons.unsupported-attributes-or-values"); +/* TRANSLATORS: Unsupported Compression */ +_("job-state-reasons.unsupported-compression"); +/* TRANSLATORS: Unsupported Document Format */ +_("job-state-reasons.unsupported-document-format"); +/* TRANSLATORS: Waiting For User Action */ +_("job-state-reasons.waiting-for-user-action"); +/* TRANSLATORS: Warnings Detected */ +_("job-state-reasons.warnings-detected"); +/* TRANSLATORS: Pending */ +_("job-state.3"); +/* TRANSLATORS: Held */ +_("job-state.4"); +/* TRANSLATORS: Processing */ +_("job-state.5"); +/* TRANSLATORS: Stopped */ +_("job-state.6"); +/* TRANSLATORS: Canceled */ +_("job-state.7"); +/* TRANSLATORS: Aborted */ +_("job-state.8"); +/* TRANSLATORS: Completed */ +_("job-state.9"); +/* TRANSLATORS: Laminate Pages */ +_("laminating"); +/* TRANSLATORS: Laminate */ +_("laminating-sides"); +/* TRANSLATORS: Back Only */ +_("laminating-sides.back"); +/* TRANSLATORS: Front and Back */ +_("laminating-sides.both"); +/* TRANSLATORS: Front Only */ +_("laminating-sides.front"); +/* TRANSLATORS: Type of Lamination */ +_("laminating-type"); +/* TRANSLATORS: Archival */ +_("laminating-type.archival"); +/* TRANSLATORS: Glossy */ +_("laminating-type.glossy"); +/* TRANSLATORS: High Gloss */ +_("laminating-type.high-gloss"); +/* TRANSLATORS: Matte */ +_("laminating-type.matte"); +/* TRANSLATORS: Semi-gloss */ +_("laminating-type.semi-gloss"); +/* TRANSLATORS: Translucent */ +_("laminating-type.translucent"); +/* TRANSLATORS: Logo */ +_("logo"); +/* TRANSLATORS: Amount of Material */ +_("material-amount"); +/* TRANSLATORS: Amount Units */ +_("material-amount-units"); +/* TRANSLATORS: Grams */ +_("material-amount-units.g"); +/* TRANSLATORS: Kilograms */ +_("material-amount-units.kg"); +/* TRANSLATORS: Liters */ +_("material-amount-units.l"); +/* TRANSLATORS: Meters */ +_("material-amount-units.m"); +/* TRANSLATORS: Milliliters */ +_("material-amount-units.ml"); +/* TRANSLATORS: Millimeters */ +_("material-amount-units.mm"); +/* TRANSLATORS: Material Color */ +_("material-color"); +/* TRANSLATORS: Material Diameter */ +_("material-diameter"); +/* TRANSLATORS: Material Diameter Tolerance */ +_("material-diameter-tolerance"); +/* TRANSLATORS: Material Fill Density */ +_("material-fill-density"); +/* TRANSLATORS: Material Name */ +_("material-name"); +/* TRANSLATORS: Material Nozzle Diameter */ +_("material-nozzle-diameter"); +/* TRANSLATORS: Use Material For */ +_("material-purpose"); +/* TRANSLATORS: Everything */ +_("material-purpose.all"); +/* TRANSLATORS: Base */ +_("material-purpose.base"); +/* TRANSLATORS: In-fill */ +_("material-purpose.in-fill"); +/* TRANSLATORS: Shell */ +_("material-purpose.shell"); +/* TRANSLATORS: Supports */ +_("material-purpose.support"); +/* TRANSLATORS: Feed Rate */ +_("material-rate"); +/* TRANSLATORS: Feed Rate Units */ +_("material-rate-units"); +/* TRANSLATORS: Milligrams per second */ +_("material-rate-units.mg_second"); +/* TRANSLATORS: Milliliters per second */ +_("material-rate-units.ml_second"); +/* TRANSLATORS: Millimeters per second */ +_("material-rate-units.mm_second"); +/* TRANSLATORS: Material Retraction */ +_("material-retraction"); +/* TRANSLATORS: Material Shell Thickness */ +_("material-shell-thickness"); +/* TRANSLATORS: Material Temperature */ +_("material-temperature"); +/* TRANSLATORS: Material Type */ +_("material-type"); +/* TRANSLATORS: ABS */ +_("material-type.abs"); +/* TRANSLATORS: Carbon Fiber ABS */ +_("material-type.abs-carbon-fiber"); +/* TRANSLATORS: Carbon Nanotube ABS */ +_("material-type.abs-carbon-nanotube"); +/* TRANSLATORS: Chocolate */ +_("material-type.chocolate"); +/* TRANSLATORS: Gold */ +_("material-type.gold"); +/* TRANSLATORS: Nylon */ +_("material-type.nylon"); +/* TRANSLATORS: Pet */ +_("material-type.pet"); +/* TRANSLATORS: Photopolymer */ +_("material-type.photopolymer"); +/* TRANSLATORS: PLA */ +_("material-type.pla"); +/* TRANSLATORS: Conductive PLA */ +_("material-type.pla-conductive"); +/* TRANSLATORS: Pla Dissolvable */ +_("material-type.pla-dissolvable"); +/* TRANSLATORS: Flexible PLA */ +_("material-type.pla-flexible"); +/* TRANSLATORS: Magnetic PLA */ +_("material-type.pla-magnetic"); +/* TRANSLATORS: Steel PLA */ +_("material-type.pla-steel"); +/* TRANSLATORS: Stone PLA */ +_("material-type.pla-stone"); +/* TRANSLATORS: Wood PLA */ +_("material-type.pla-wood"); +/* TRANSLATORS: Polycarbonate */ +_("material-type.polycarbonate"); +/* TRANSLATORS: Dissolvable PVA */ +_("material-type.pva-dissolvable"); +/* TRANSLATORS: Silver */ +_("material-type.silver"); +/* TRANSLATORS: Titanium */ +_("material-type.titanium"); +/* TRANSLATORS: Wax */ +_("material-type.wax"); +/* TRANSLATORS: Materials */ +_("materials-col"); +/* TRANSLATORS: Media */ +_("media"); +/* TRANSLATORS: Back Coating of Media */ +_("media-back-coating"); +/* TRANSLATORS: Glossy */ +_("media-back-coating.glossy"); +/* TRANSLATORS: High Gloss */ +_("media-back-coating.high-gloss"); +/* TRANSLATORS: Matte */ +_("media-back-coating.matte"); +/* TRANSLATORS: None */ +_("media-back-coating.none"); +/* TRANSLATORS: Satin */ +_("media-back-coating.satin"); +/* TRANSLATORS: Semi-gloss */ +_("media-back-coating.semi-gloss"); +/* TRANSLATORS: Media Bottom Margin */ +_("media-bottom-margin"); +/* TRANSLATORS: Media */ +_("media-col"); +/* TRANSLATORS: Media Color */ +_("media-color"); +/* TRANSLATORS: Black */ +_("media-color.black"); +/* TRANSLATORS: Blue */ +_("media-color.blue"); +/* TRANSLATORS: Brown */ +_("media-color.brown"); +/* TRANSLATORS: Buff */ +_("media-color.buff"); +/* TRANSLATORS: Clear Black */ +_("media-color.clear-black"); +/* TRANSLATORS: Clear Blue */ +_("media-color.clear-blue"); +/* TRANSLATORS: Clear Brown */ +_("media-color.clear-brown"); +/* TRANSLATORS: Clear Buff */ +_("media-color.clear-buff"); +/* TRANSLATORS: Clear Cyan */ +_("media-color.clear-cyan"); +/* TRANSLATORS: Clear Gold */ +_("media-color.clear-gold"); +/* TRANSLATORS: Clear Goldenrod */ +_("media-color.clear-goldenrod"); +/* TRANSLATORS: Clear Gray */ +_("media-color.clear-gray"); +/* TRANSLATORS: Clear Green */ +_("media-color.clear-green"); +/* TRANSLATORS: Clear Ivory */ +_("media-color.clear-ivory"); +/* TRANSLATORS: Clear Magenta */ +_("media-color.clear-magenta"); +/* TRANSLATORS: Clear Multi Color */ +_("media-color.clear-multi-color"); +/* TRANSLATORS: Clear Mustard */ +_("media-color.clear-mustard"); +/* TRANSLATORS: Clear Orange */ +_("media-color.clear-orange"); +/* TRANSLATORS: Clear Pink */ +_("media-color.clear-pink"); +/* TRANSLATORS: Clear Red */ +_("media-color.clear-red"); +/* TRANSLATORS: Clear Silver */ +_("media-color.clear-silver"); +/* TRANSLATORS: Clear Turquoise */ +_("media-color.clear-turquoise"); +/* TRANSLATORS: Clear Violet */ +_("media-color.clear-violet"); +/* TRANSLATORS: Clear White */ +_("media-color.clear-white"); +/* TRANSLATORS: Clear Yellow */ +_("media-color.clear-yellow"); +/* TRANSLATORS: Cyan */ +_("media-color.cyan"); +/* TRANSLATORS: Dark Blue */ +_("media-color.dark-blue"); +/* TRANSLATORS: Dark Brown */ +_("media-color.dark-brown"); +/* TRANSLATORS: Dark Buff */ +_("media-color.dark-buff"); +/* TRANSLATORS: Dark Cyan */ +_("media-color.dark-cyan"); +/* TRANSLATORS: Dark Gold */ +_("media-color.dark-gold"); +/* TRANSLATORS: Dark Goldenrod */ +_("media-color.dark-goldenrod"); +/* TRANSLATORS: Dark Gray */ +_("media-color.dark-gray"); +/* TRANSLATORS: Dark Green */ +_("media-color.dark-green"); +/* TRANSLATORS: Dark Ivory */ +_("media-color.dark-ivory"); +/* TRANSLATORS: Dark Magenta */ +_("media-color.dark-magenta"); +/* TRANSLATORS: Dark Mustard */ +_("media-color.dark-mustard"); +/* TRANSLATORS: Dark Orange */ +_("media-color.dark-orange"); +/* TRANSLATORS: Dark Pink */ +_("media-color.dark-pink"); +/* TRANSLATORS: Dark Red */ +_("media-color.dark-red"); +/* TRANSLATORS: Dark Silver */ +_("media-color.dark-silver"); +/* TRANSLATORS: Dark Turquoise */ +_("media-color.dark-turquoise"); +/* TRANSLATORS: Dark Violet */ +_("media-color.dark-violet"); +/* TRANSLATORS: Dark Yellow */ +_("media-color.dark-yellow"); +/* TRANSLATORS: Gold */ +_("media-color.gold"); +/* TRANSLATORS: Goldenrod */ +_("media-color.goldenrod"); +/* TRANSLATORS: Gray */ +_("media-color.gray"); +/* TRANSLATORS: Green */ +_("media-color.green"); +/* TRANSLATORS: Ivory */ +_("media-color.ivory"); +/* TRANSLATORS: Light Black */ +_("media-color.light-black"); +/* TRANSLATORS: Light Blue */ +_("media-color.light-blue"); +/* TRANSLATORS: Light Brown */ +_("media-color.light-brown"); +/* TRANSLATORS: Light Buff */ +_("media-color.light-buff"); +/* TRANSLATORS: Light Cyan */ +_("media-color.light-cyan"); +/* TRANSLATORS: Light Gold */ +_("media-color.light-gold"); +/* TRANSLATORS: Light Goldenrod */ +_("media-color.light-goldenrod"); +/* TRANSLATORS: Light Gray */ +_("media-color.light-gray"); +/* TRANSLATORS: Light Green */ +_("media-color.light-green"); +/* TRANSLATORS: Light Ivory */ +_("media-color.light-ivory"); +/* TRANSLATORS: Light Magenta */ +_("media-color.light-magenta"); +/* TRANSLATORS: Light Mustard */ +_("media-color.light-mustard"); +/* TRANSLATORS: Light Orange */ +_("media-color.light-orange"); +/* TRANSLATORS: Light Pink */ +_("media-color.light-pink"); +/* TRANSLATORS: Light Red */ +_("media-color.light-red"); +/* TRANSLATORS: Light Silver */ +_("media-color.light-silver"); +/* TRANSLATORS: Light Turquoise */ +_("media-color.light-turquoise"); +/* TRANSLATORS: Light Violet */ +_("media-color.light-violet"); +/* TRANSLATORS: Light Yellow */ +_("media-color.light-yellow"); +/* TRANSLATORS: Magenta */ +_("media-color.magenta"); +/* TRANSLATORS: Multi-color */ +_("media-color.multi-color"); +/* TRANSLATORS: Mustard */ +_("media-color.mustard"); +/* TRANSLATORS: No Color */ +_("media-color.no-color"); +/* TRANSLATORS: Orange */ +_("media-color.orange"); +/* TRANSLATORS: Pink */ +_("media-color.pink"); +/* TRANSLATORS: Red */ +_("media-color.red"); +/* TRANSLATORS: Silver */ +_("media-color.silver"); +/* TRANSLATORS: Turquoise */ +_("media-color.turquoise"); +/* TRANSLATORS: Violet */ +_("media-color.violet"); +/* TRANSLATORS: White */ +_("media-color.white"); +/* TRANSLATORS: Yellow */ +_("media-color.yellow"); +/* TRANSLATORS: Front Coating of Media */ +_("media-front-coating"); +/* TRANSLATORS: Media Grain */ +_("media-grain"); +/* TRANSLATORS: Cross-Feed Direction */ +_("media-grain.x-direction"); +/* TRANSLATORS: Feed Direction */ +_("media-grain.y-direction"); +/* TRANSLATORS: Media Hole Count */ +_("media-hole-count"); +/* TRANSLATORS: Media Info */ +_("media-info"); +/* TRANSLATORS: Force Media */ +_("media-input-tray-check"); +/* TRANSLATORS: Media Left Margin */ +_("media-left-margin"); +/* TRANSLATORS: Pre-printed Media */ +_("media-pre-printed"); +/* TRANSLATORS: Blank */ +_("media-pre-printed.blank"); +/* TRANSLATORS: Letterhead */ +_("media-pre-printed.letter-head"); +/* TRANSLATORS: Pre-printed */ +_("media-pre-printed.pre-printed"); +/* TRANSLATORS: Recycled Media */ +_("media-recycled"); +/* TRANSLATORS: None */ +_("media-recycled.none"); +/* TRANSLATORS: Standard */ +_("media-recycled.standard"); +/* TRANSLATORS: Media Right Margin */ +_("media-right-margin"); +/* TRANSLATORS: Media Dimensions */ +_("media-size"); +/* TRANSLATORS: Media Name */ +_("media-size-name"); +/* TRANSLATORS: Media Source */ +_("media-source"); +/* TRANSLATORS: Alternate */ +_("media-source.alternate"); +/* TRANSLATORS: Alternate Roll */ +_("media-source.alternate-roll"); +/* TRANSLATORS: Automatic */ +_("media-source.auto"); +/* TRANSLATORS: Bottom */ +_("media-source.bottom"); +/* TRANSLATORS: By-pass Tray */ +_("media-source.by-pass-tray"); +/* TRANSLATORS: Center */ +_("media-source.center"); +/* TRANSLATORS: Disc */ +_("media-source.disc"); +/* TRANSLATORS: Envelope */ +_("media-source.envelope"); +/* TRANSLATORS: Hagaki */ +_("media-source.hagaki"); +/* TRANSLATORS: Large Capacity */ +_("media-source.large-capacity"); +/* TRANSLATORS: Left */ +_("media-source.left"); +/* TRANSLATORS: Main */ +_("media-source.main"); +/* TRANSLATORS: Main Roll */ +_("media-source.main-roll"); +/* TRANSLATORS: Manual */ +_("media-source.manual"); +/* TRANSLATORS: Middle */ +_("media-source.middle"); +/* TRANSLATORS: Photo */ +_("media-source.photo"); +/* TRANSLATORS: Rear */ +_("media-source.rear"); +/* TRANSLATORS: Right */ +_("media-source.right"); +/* TRANSLATORS: Roll 1 */ +_("media-source.roll-1"); +/* TRANSLATORS: Roll 10 */ +_("media-source.roll-10"); +/* TRANSLATORS: Roll 2 */ +_("media-source.roll-2"); +/* TRANSLATORS: Roll 3 */ +_("media-source.roll-3"); +/* TRANSLATORS: Roll 4 */ +_("media-source.roll-4"); +/* TRANSLATORS: Roll 5 */ +_("media-source.roll-5"); +/* TRANSLATORS: Roll 6 */ +_("media-source.roll-6"); +/* TRANSLATORS: Roll 7 */ +_("media-source.roll-7"); +/* TRANSLATORS: Roll 8 */ +_("media-source.roll-8"); +/* TRANSLATORS: Roll 9 */ +_("media-source.roll-9"); +/* TRANSLATORS: Side */ +_("media-source.side"); +/* TRANSLATORS: Top */ +_("media-source.top"); +/* TRANSLATORS: Tray 1 */ +_("media-source.tray-1"); +/* TRANSLATORS: Tray 10 */ +_("media-source.tray-10"); +/* TRANSLATORS: Tray 11 */ +_("media-source.tray-11"); +/* TRANSLATORS: Tray 12 */ +_("media-source.tray-12"); +/* TRANSLATORS: Tray 13 */ +_("media-source.tray-13"); +/* TRANSLATORS: Tray 14 */ +_("media-source.tray-14"); +/* TRANSLATORS: Tray 15 */ +_("media-source.tray-15"); +/* TRANSLATORS: Tray 16 */ +_("media-source.tray-16"); +/* TRANSLATORS: Tray 17 */ +_("media-source.tray-17"); +/* TRANSLATORS: Tray 18 */ +_("media-source.tray-18"); +/* TRANSLATORS: Tray 19 */ +_("media-source.tray-19"); +/* TRANSLATORS: Tray 2 */ +_("media-source.tray-2"); +/* TRANSLATORS: Tray 20 */ +_("media-source.tray-20"); +/* TRANSLATORS: Tray 3 */ +_("media-source.tray-3"); +/* TRANSLATORS: Tray 4 */ +_("media-source.tray-4"); +/* TRANSLATORS: Tray 5 */ +_("media-source.tray-5"); +/* TRANSLATORS: Tray 6 */ +_("media-source.tray-6"); +/* TRANSLATORS: Tray 7 */ +_("media-source.tray-7"); +/* TRANSLATORS: Tray 8 */ +_("media-source.tray-8"); +/* TRANSLATORS: Tray 9 */ +_("media-source.tray-9"); +/* TRANSLATORS: Media Thickness */ +_("media-thickness"); +/* TRANSLATORS: Media Tooth (Texture) */ +_("media-tooth"); +/* TRANSLATORS: Antique */ +_("media-tooth.antique"); +/* TRANSLATORS: Extra Smooth */ +_("media-tooth.calendared"); +/* TRANSLATORS: Coarse */ +_("media-tooth.coarse"); +/* TRANSLATORS: Fine */ +_("media-tooth.fine"); +/* TRANSLATORS: Linen */ +_("media-tooth.linen"); +/* TRANSLATORS: Medium */ +_("media-tooth.medium"); +/* TRANSLATORS: Smooth */ +_("media-tooth.smooth"); +/* TRANSLATORS: Stipple */ +_("media-tooth.stipple"); +/* TRANSLATORS: Rough */ +_("media-tooth.uncalendared"); +/* TRANSLATORS: Vellum */ +_("media-tooth.vellum"); +/* TRANSLATORS: Media Top Margin */ +_("media-top-margin"); +/* TRANSLATORS: Media Type */ +_("media-type"); +/* TRANSLATORS: Aluminum */ +_("media-type.aluminum"); +/* TRANSLATORS: Automatic */ +_("media-type.auto"); +/* TRANSLATORS: Back Print Film */ +_("media-type.back-print-film"); +/* TRANSLATORS: Cardboard */ +_("media-type.cardboard"); +/* TRANSLATORS: Cardstock */ +_("media-type.cardstock"); +/* TRANSLATORS: CD */ +_("media-type.cd"); +/* TRANSLATORS: Continuous */ +_("media-type.continuous"); +/* TRANSLATORS: Continuous Long */ +_("media-type.continuous-long"); +/* TRANSLATORS: Continuous Short */ +_("media-type.continuous-short"); +/* TRANSLATORS: Corrugated Board */ +_("media-type.corrugated-board"); +/* TRANSLATORS: Optical Disc */ +_("media-type.disc"); +/* TRANSLATORS: Glossy Optical Disc */ +_("media-type.disc-glossy"); +/* TRANSLATORS: High Gloss Optical Disc */ +_("media-type.disc-high-gloss"); +/* TRANSLATORS: Matte Optical Disc */ +_("media-type.disc-matte"); +/* TRANSLATORS: Satin Optical Disc */ +_("media-type.disc-satin"); +/* TRANSLATORS: Semi-Gloss Optical Disc */ +_("media-type.disc-semi-gloss"); +/* TRANSLATORS: Double Wall */ +_("media-type.double-wall"); +/* TRANSLATORS: Dry Film */ +_("media-type.dry-film"); +/* TRANSLATORS: DVD */ +_("media-type.dvd"); +/* TRANSLATORS: Embossing Foil */ +_("media-type.embossing-foil"); +/* TRANSLATORS: End Board */ +_("media-type.end-board"); +/* TRANSLATORS: Envelope */ +_("media-type.envelope"); +/* TRANSLATORS: Archival Envelope */ +_("media-type.envelope-archival"); +/* TRANSLATORS: Bond Envelope */ +_("media-type.envelope-bond"); +/* TRANSLATORS: Coated Envelope */ +_("media-type.envelope-coated"); +/* TRANSLATORS: Cotton Envelope */ +_("media-type.envelope-cotton"); +/* TRANSLATORS: Fine Envelope */ +_("media-type.envelope-fine"); +/* TRANSLATORS: Heavyweight Envelope */ +_("media-type.envelope-heavyweight"); +/* TRANSLATORS: Inkjet Envelope */ +_("media-type.envelope-inkjet"); +/* TRANSLATORS: Lightweight Envelope */ +_("media-type.envelope-lightweight"); +/* TRANSLATORS: Plain Envelope */ +_("media-type.envelope-plain"); +/* TRANSLATORS: Preprinted Envelope */ +_("media-type.envelope-preprinted"); +/* TRANSLATORS: Windowed Envelope */ +_("media-type.envelope-window"); +/* TRANSLATORS: Fabric */ +_("media-type.fabric"); +/* TRANSLATORS: Archival Fabric */ +_("media-type.fabric-archival"); +/* TRANSLATORS: Glossy Fabric */ +_("media-type.fabric-glossy"); +/* TRANSLATORS: High Gloss Fabric */ +_("media-type.fabric-high-gloss"); +/* TRANSLATORS: Matte Fabric */ +_("media-type.fabric-matte"); +/* TRANSLATORS: Semi-Gloss Fabric */ +_("media-type.fabric-semi-gloss"); +/* TRANSLATORS: Waterproof Fabric */ +_("media-type.fabric-waterproof"); +/* TRANSLATORS: Film */ +_("media-type.film"); +/* TRANSLATORS: Flexo Base */ +_("media-type.flexo-base"); +/* TRANSLATORS: Flexo Photo Polymer */ +_("media-type.flexo-photo-polymer"); +/* TRANSLATORS: Flute */ +_("media-type.flute"); +/* TRANSLATORS: Foil */ +_("media-type.foil"); +/* TRANSLATORS: Full Cut Tabs */ +_("media-type.full-cut-tabs"); +/* TRANSLATORS: Glass */ +_("media-type.glass"); +/* TRANSLATORS: Glass Colored */ +_("media-type.glass-colored"); +/* TRANSLATORS: Glass Opaque */ +_("media-type.glass-opaque"); +/* TRANSLATORS: Glass Surfaced */ +_("media-type.glass-surfaced"); +/* TRANSLATORS: Glass Textured */ +_("media-type.glass-textured"); +/* TRANSLATORS: Gravure Cylinder */ +_("media-type.gravure-cylinder"); +/* TRANSLATORS: Image Setter Paper */ +_("media-type.image-setter-paper"); +/* TRANSLATORS: Imaging Cylinder */ +_("media-type.imaging-cylinder"); +/* TRANSLATORS: Labels */ +_("media-type.labels"); +/* TRANSLATORS: Colored Labels */ +_("media-type.labels-colored"); +/* TRANSLATORS: Glossy Labels */ +_("media-type.labels-glossy"); +/* TRANSLATORS: High Gloss Labels */ +_("media-type.labels-high-gloss"); +/* TRANSLATORS: Inkjet Labels */ +_("media-type.labels-inkjet"); +/* TRANSLATORS: Matte Labels */ +_("media-type.labels-matte"); +/* TRANSLATORS: Permanent Labels */ +_("media-type.labels-permanent"); +/* TRANSLATORS: Satin Labels */ +_("media-type.labels-satin"); +/* TRANSLATORS: Security Labels */ +_("media-type.labels-security"); +/* TRANSLATORS: Semi-Gloss Labels */ +_("media-type.labels-semi-gloss"); +/* TRANSLATORS: Laminating Foil */ +_("media-type.laminating-foil"); +/* TRANSLATORS: Letterhead */ +_("media-type.letterhead"); +/* TRANSLATORS: Metal */ +_("media-type.metal"); +/* TRANSLATORS: Metal Glossy */ +_("media-type.metal-glossy"); +/* TRANSLATORS: Metal High Gloss */ +_("media-type.metal-high-gloss"); +/* TRANSLATORS: Metal Matte */ +_("media-type.metal-matte"); +/* TRANSLATORS: Metal Satin */ +_("media-type.metal-satin"); +/* TRANSLATORS: Metal Semi Gloss */ +_("media-type.metal-semi-gloss"); +/* TRANSLATORS: Mounting Tape */ +_("media-type.mounting-tape"); +/* TRANSLATORS: Multi Layer */ +_("media-type.multi-layer"); +/* TRANSLATORS: Multi Part Form */ +_("media-type.multi-part-form"); +/* TRANSLATORS: Other */ +_("media-type.other"); +/* TRANSLATORS: Paper */ +_("media-type.paper"); +/* TRANSLATORS: Photo Paper */ +_("media-type.photographic"); +/* TRANSLATORS: Photographic Archival */ +_("media-type.photographic-archival"); +/* TRANSLATORS: Photo Film */ +_("media-type.photographic-film"); +/* TRANSLATORS: Glossy Photo Paper */ +_("media-type.photographic-glossy"); +/* TRANSLATORS: High Gloss Photo Paper */ +_("media-type.photographic-high-gloss"); +/* TRANSLATORS: Matte Photo Paper */ +_("media-type.photographic-matte"); +/* TRANSLATORS: Satin Photo Paper */ +_("media-type.photographic-satin"); +/* TRANSLATORS: Semi-Gloss Photo Paper */ +_("media-type.photographic-semi-gloss"); +/* TRANSLATORS: Plastic */ +_("media-type.plastic"); +/* TRANSLATORS: Plastic Archival */ +_("media-type.plastic-archival"); +/* TRANSLATORS: Plastic Colored */ +_("media-type.plastic-colored"); +/* TRANSLATORS: Plastic Glossy */ +_("media-type.plastic-glossy"); +/* TRANSLATORS: Plastic High Gloss */ +_("media-type.plastic-high-gloss"); +/* TRANSLATORS: Plastic Matte */ +_("media-type.plastic-matte"); +/* TRANSLATORS: Plastic Satin */ +_("media-type.plastic-satin"); +/* TRANSLATORS: Plastic Semi Gloss */ +_("media-type.plastic-semi-gloss"); +/* TRANSLATORS: Plate */ +_("media-type.plate"); +/* TRANSLATORS: Polyester */ +_("media-type.polyester"); +/* TRANSLATORS: Pre Cut Tabs */ +_("media-type.pre-cut-tabs"); +/* TRANSLATORS: Roll */ +_("media-type.roll"); +/* TRANSLATORS: Screen */ +_("media-type.screen"); +/* TRANSLATORS: Screen Paged */ +_("media-type.screen-paged"); +/* TRANSLATORS: Self Adhesive */ +_("media-type.self-adhesive"); +/* TRANSLATORS: Self Adhesive Film */ +_("media-type.self-adhesive-film"); +/* TRANSLATORS: Shrink Foil */ +_("media-type.shrink-foil"); +/* TRANSLATORS: Single Face */ +_("media-type.single-face"); +/* TRANSLATORS: Single Wall */ +_("media-type.single-wall"); +/* TRANSLATORS: Sleeve */ +_("media-type.sleeve"); +/* TRANSLATORS: Stationery */ +_("media-type.stationery"); +/* TRANSLATORS: Stationery Archival */ +_("media-type.stationery-archival"); +/* TRANSLATORS: Coated Paper */ +_("media-type.stationery-coated"); +/* TRANSLATORS: Stationery Cotton */ +_("media-type.stationery-cotton"); +/* TRANSLATORS: Vellum Paper */ +_("media-type.stationery-fine"); +/* TRANSLATORS: Heavyweight Paper */ +_("media-type.stationery-heavyweight"); +/* TRANSLATORS: Stationery Heavyweight Coated */ +_("media-type.stationery-heavyweight-coated"); +/* TRANSLATORS: Stationery Inkjet Paper */ +_("media-type.stationery-inkjet"); +/* TRANSLATORS: Letterhead */ +_("media-type.stationery-letterhead"); +/* TRANSLATORS: Lightweight Paper */ +_("media-type.stationery-lightweight"); +/* TRANSLATORS: Preprinted Paper */ +_("media-type.stationery-preprinted"); +/* TRANSLATORS: Punched Paper */ +_("media-type.stationery-prepunched"); +/* TRANSLATORS: Tab Stock */ +_("media-type.tab-stock"); +/* TRANSLATORS: Tractor */ +_("media-type.tractor"); +/* TRANSLATORS: Transfer */ +_("media-type.transfer"); +/* TRANSLATORS: Transparency */ +_("media-type.transparency"); +/* TRANSLATORS: Triple Wall */ +_("media-type.triple-wall"); +/* TRANSLATORS: Wet Film */ +_("media-type.wet-film"); +/* TRANSLATORS: Media Weight (grams per m²) */ +_("media-weight-metric"); +/* TRANSLATORS: 28 x 40″ */ +_("media.asme_f_28x40in"); +/* TRANSLATORS: A4 or US Letter */ +_("media.choice_iso_a4_210x297mm_na_letter_8.5x11in"); +/* TRANSLATORS: 2a0 */ +_("media.iso_2a0_1189x1682mm"); +/* TRANSLATORS: A0 */ +_("media.iso_a0_841x1189mm"); +/* TRANSLATORS: A0x3 */ +_("media.iso_a0x3_1189x2523mm"); +/* TRANSLATORS: A10 */ +_("media.iso_a10_26x37mm"); +/* TRANSLATORS: A1 */ +_("media.iso_a1_594x841mm"); +/* TRANSLATORS: A1x3 */ +_("media.iso_a1x3_841x1783mm"); +/* TRANSLATORS: A1x4 */ +_("media.iso_a1x4_841x2378mm"); +/* TRANSLATORS: A2 */ +_("media.iso_a2_420x594mm"); +/* TRANSLATORS: A2x3 */ +_("media.iso_a2x3_594x1261mm"); +/* TRANSLATORS: A2x4 */ +_("media.iso_a2x4_594x1682mm"); +/* TRANSLATORS: A2x5 */ +_("media.iso_a2x5_594x2102mm"); +/* TRANSLATORS: A3 (Extra) */ +_("media.iso_a3-extra_322x445mm"); +/* TRANSLATORS: A3 */ +_("media.iso_a3_297x420mm"); +/* TRANSLATORS: A3x3 */ +_("media.iso_a3x3_420x891mm"); +/* TRANSLATORS: A3x4 */ +_("media.iso_a3x4_420x1189mm"); +/* TRANSLATORS: A3x5 */ +_("media.iso_a3x5_420x1486mm"); +/* TRANSLATORS: A3x6 */ +_("media.iso_a3x6_420x1783mm"); +/* TRANSLATORS: A3x7 */ +_("media.iso_a3x7_420x2080mm"); +/* TRANSLATORS: A4 (Extra) */ +_("media.iso_a4-extra_235.5x322.3mm"); +/* TRANSLATORS: A4 (Tab) */ +_("media.iso_a4-tab_225x297mm"); +/* TRANSLATORS: A4 */ +_("media.iso_a4_210x297mm"); +/* TRANSLATORS: A4x3 */ +_("media.iso_a4x3_297x630mm"); +/* TRANSLATORS: A4x4 */ +_("media.iso_a4x4_297x841mm"); +/* TRANSLATORS: A4x5 */ +_("media.iso_a4x5_297x1051mm"); +/* TRANSLATORS: A4x6 */ +_("media.iso_a4x6_297x1261mm"); +/* TRANSLATORS: A4x7 */ +_("media.iso_a4x7_297x1471mm"); +/* TRANSLATORS: A4x8 */ +_("media.iso_a4x8_297x1682mm"); +/* TRANSLATORS: A4x9 */ +_("media.iso_a4x9_297x1892mm"); +/* TRANSLATORS: A5 (Extra) */ +_("media.iso_a5-extra_174x235mm"); +/* TRANSLATORS: A5 */ +_("media.iso_a5_148x210mm"); +/* TRANSLATORS: A6 */ +_("media.iso_a6_105x148mm"); +/* TRANSLATORS: A7 */ +_("media.iso_a7_74x105mm"); +/* TRANSLATORS: A8 */ +_("media.iso_a8_52x74mm"); +/* TRANSLATORS: A9 */ +_("media.iso_a9_37x52mm"); +/* TRANSLATORS: B0 */ +_("media.iso_b0_1000x1414mm"); +/* TRANSLATORS: B10 */ +_("media.iso_b10_31x44mm"); +/* TRANSLATORS: B1 */ +_("media.iso_b1_707x1000mm"); +/* TRANSLATORS: B2 */ +_("media.iso_b2_500x707mm"); +/* TRANSLATORS: B3 */ +_("media.iso_b3_353x500mm"); +/* TRANSLATORS: B4 */ +_("media.iso_b4_250x353mm"); +/* TRANSLATORS: B5 (Extra) */ +_("media.iso_b5-extra_201x276mm"); +/* TRANSLATORS: Envelope B5 */ +_("media.iso_b5_176x250mm"); +/* TRANSLATORS: B6 */ +_("media.iso_b6_125x176mm"); +/* TRANSLATORS: Envelope B6/C4 */ +_("media.iso_b6c4_125x324mm"); +/* TRANSLATORS: B7 */ +_("media.iso_b7_88x125mm"); +/* TRANSLATORS: B8 */ +_("media.iso_b8_62x88mm"); +/* TRANSLATORS: B9 */ +_("media.iso_b9_44x62mm"); +/* TRANSLATORS: CEnvelope 0 */ +_("media.iso_c0_917x1297mm"); +/* TRANSLATORS: CEnvelope 10 */ +_("media.iso_c10_28x40mm"); +/* TRANSLATORS: CEnvelope 1 */ +_("media.iso_c1_648x917mm"); +/* TRANSLATORS: CEnvelope 2 */ +_("media.iso_c2_458x648mm"); +/* TRANSLATORS: CEnvelope 3 */ +_("media.iso_c3_324x458mm"); +/* TRANSLATORS: CEnvelope 4 */ +_("media.iso_c4_229x324mm"); +/* TRANSLATORS: CEnvelope 5 */ +_("media.iso_c5_162x229mm"); +/* TRANSLATORS: CEnvelope 6 */ +_("media.iso_c6_114x162mm"); +/* TRANSLATORS: CEnvelope 6c5 */ +_("media.iso_c6c5_114x229mm"); +/* TRANSLATORS: CEnvelope 7 */ +_("media.iso_c7_81x114mm"); +/* TRANSLATORS: CEnvelope 7c6 */ +_("media.iso_c7c6_81x162mm"); +/* TRANSLATORS: CEnvelope 8 */ +_("media.iso_c8_57x81mm"); +/* TRANSLATORS: CEnvelope 9 */ +_("media.iso_c9_40x57mm"); +/* TRANSLATORS: Envelope DL */ +_("media.iso_dl_110x220mm"); +/* TRANSLATORS: Id-1 */ +_("media.iso_id-1_53.98x85.6mm"); +/* TRANSLATORS: Id-3 */ +_("media.iso_id-3_88x125mm"); +/* TRANSLATORS: ISO RA0 */ +_("media.iso_ra0_860x1220mm"); +/* TRANSLATORS: ISO RA1 */ +_("media.iso_ra1_610x860mm"); +/* TRANSLATORS: ISO RA2 */ +_("media.iso_ra2_430x610mm"); +/* TRANSLATORS: ISO RA3 */ +_("media.iso_ra3_305x430mm"); +/* TRANSLATORS: ISO RA4 */ +_("media.iso_ra4_215x305mm"); +/* TRANSLATORS: ISO SRA0 */ +_("media.iso_sra0_900x1280mm"); +/* TRANSLATORS: ISO SRA1 */ +_("media.iso_sra1_640x900mm"); +/* TRANSLATORS: ISO SRA2 */ +_("media.iso_sra2_450x640mm"); +/* TRANSLATORS: ISO SRA3 */ +_("media.iso_sra3_320x450mm"); +/* TRANSLATORS: ISO SRA4 */ +_("media.iso_sra4_225x320mm"); +/* TRANSLATORS: JIS B0 */ +_("media.jis_b0_1030x1456mm"); +/* TRANSLATORS: JIS B10 */ +_("media.jis_b10_32x45mm"); +/* TRANSLATORS: JIS B1 */ +_("media.jis_b1_728x1030mm"); +/* TRANSLATORS: JIS B2 */ +_("media.jis_b2_515x728mm"); +/* TRANSLATORS: JIS B3 */ +_("media.jis_b3_364x515mm"); +/* TRANSLATORS: JIS B4 */ +_("media.jis_b4_257x364mm"); +/* TRANSLATORS: JIS B5 */ +_("media.jis_b5_182x257mm"); +/* TRANSLATORS: JIS B6 */ +_("media.jis_b6_128x182mm"); +/* TRANSLATORS: JIS B7 */ +_("media.jis_b7_91x128mm"); +/* TRANSLATORS: JIS B8 */ +_("media.jis_b8_64x91mm"); +/* TRANSLATORS: JIS B9 */ +_("media.jis_b9_45x64mm"); +/* TRANSLATORS: JIS Executive */ +_("media.jis_exec_216x330mm"); +/* TRANSLATORS: Envelope Chou 2 */ +_("media.jpn_chou2_111.1x146mm"); +/* TRANSLATORS: Envelope Chou 3 */ +_("media.jpn_chou3_120x235mm"); +/* TRANSLATORS: Envelope Chou 40 */ +_("media.jpn_chou40_90x225mm"); +/* TRANSLATORS: Envelope Chou 4 */ +_("media.jpn_chou4_90x205mm"); +/* TRANSLATORS: Hagaki */ +_("media.jpn_hagaki_100x148mm"); +/* TRANSLATORS: Envelope Kahu */ +_("media.jpn_kahu_240x322.1mm"); +/* TRANSLATORS: 270 x 382mm */ +_("media.jpn_kaku1_270x382mm"); +/* TRANSLATORS: Envelope Kahu 2 */ +_("media.jpn_kaku2_240x332mm"); +/* TRANSLATORS: 216 x 277mm */ +_("media.jpn_kaku3_216x277mm"); +/* TRANSLATORS: 197 x 267mm */ +_("media.jpn_kaku4_197x267mm"); +/* TRANSLATORS: 190 x 240mm */ +_("media.jpn_kaku5_190x240mm"); +/* TRANSLATORS: 142 x 205mm */ +_("media.jpn_kaku7_142x205mm"); +/* TRANSLATORS: 119 x 197mm */ +_("media.jpn_kaku8_119x197mm"); +/* TRANSLATORS: Oufuku Reply Postcard */ +_("media.jpn_oufuku_148x200mm"); +/* TRANSLATORS: Envelope You 4 */ +_("media.jpn_you4_105x235mm"); +/* TRANSLATORS: 10 x 11″ */ +_("media.na_10x11_10x11in"); +/* TRANSLATORS: 10 x 13″ */ +_("media.na_10x13_10x13in"); +/* TRANSLATORS: 10 x 14″ */ +_("media.na_10x14_10x14in"); +/* TRANSLATORS: 10 x 15″ */ +_("media.na_10x15_10x15in"); +/* TRANSLATORS: 11 x 12″ */ +_("media.na_11x12_11x12in"); +/* TRANSLATORS: 11 x 15″ */ +_("media.na_11x15_11x15in"); +/* TRANSLATORS: 12 x 19″ */ +_("media.na_12x19_12x19in"); +/* TRANSLATORS: 5 x 7″ */ +_("media.na_5x7_5x7in"); +/* TRANSLATORS: 6 x 9″ */ +_("media.na_6x9_6x9in"); +/* TRANSLATORS: 7 x 9″ */ +_("media.na_7x9_7x9in"); +/* TRANSLATORS: 9 x 11″ */ +_("media.na_9x11_9x11in"); +/* TRANSLATORS: Envelope A2 */ +_("media.na_a2_4.375x5.75in"); +/* TRANSLATORS: 9 x 12″ */ +_("media.na_arch-a_9x12in"); +/* TRANSLATORS: 12 x 18″ */ +_("media.na_arch-b_12x18in"); +/* TRANSLATORS: 18 x 24″ */ +_("media.na_arch-c_18x24in"); +/* TRANSLATORS: 24 x 36″ */ +_("media.na_arch-d_24x36in"); +/* TRANSLATORS: 26 x 38″ */ +_("media.na_arch-e2_26x38in"); +/* TRANSLATORS: 27 x 39″ */ +_("media.na_arch-e3_27x39in"); +/* TRANSLATORS: 36 x 48″ */ +_("media.na_arch-e_36x48in"); +/* TRANSLATORS: 12 x 19.17″ */ +_("media.na_b-plus_12x19.17in"); +/* TRANSLATORS: Envelope C5 */ +_("media.na_c5_6.5x9.5in"); +/* TRANSLATORS: 17 x 22″ */ +_("media.na_c_17x22in"); +/* TRANSLATORS: 22 x 34″ */ +_("media.na_d_22x34in"); +/* TRANSLATORS: 34 x 44″ */ +_("media.na_e_34x44in"); +/* TRANSLATORS: 11 x 14″ */ +_("media.na_edp_11x14in"); +/* TRANSLATORS: 12 x 14″ */ +_("media.na_eur-edp_12x14in"); +/* TRANSLATORS: Executive */ +_("media.na_executive_7.25x10.5in"); +/* TRANSLATORS: 44 x 68″ */ +_("media.na_f_44x68in"); +/* TRANSLATORS: European Fanfold */ +_("media.na_fanfold-eur_8.5x12in"); +/* TRANSLATORS: US Fanfold */ +_("media.na_fanfold-us_11x14.875in"); +/* TRANSLATORS: Foolscap */ +_("media.na_foolscap_8.5x13in"); +/* TRANSLATORS: 8 x 13″ */ +_("media.na_govt-legal_8x13in"); +/* TRANSLATORS: 8 x 10″ */ +_("media.na_govt-letter_8x10in"); +/* TRANSLATORS: 3 x 5″ */ +_("media.na_index-3x5_3x5in"); +/* TRANSLATORS: 6 x 8″ */ +_("media.na_index-4x6-ext_6x8in"); +/* TRANSLATORS: 4 x 6″ */ +_("media.na_index-4x6_4x6in"); +/* TRANSLATORS: 5 x 8″ */ +_("media.na_index-5x8_5x8in"); +/* TRANSLATORS: Statement */ +_("media.na_invoice_5.5x8.5in"); +/* TRANSLATORS: 11 x 17″ */ +_("media.na_ledger_11x17in"); +/* TRANSLATORS: US Legal (Extra) */ +_("media.na_legal-extra_9.5x15in"); +/* TRANSLATORS: US Legal */ +_("media.na_legal_8.5x14in"); +/* TRANSLATORS: US Letter (Extra) */ +_("media.na_letter-extra_9.5x12in"); +/* TRANSLATORS: US Letter (Plus) */ +_("media.na_letter-plus_8.5x12.69in"); +/* TRANSLATORS: US Letter */ +_("media.na_letter_8.5x11in"); +/* TRANSLATORS: Envelope Monarch */ +_("media.na_monarch_3.875x7.5in"); +/* TRANSLATORS: Envelope #10 */ +_("media.na_number-10_4.125x9.5in"); +/* TRANSLATORS: Envelope #11 */ +_("media.na_number-11_4.5x10.375in"); +/* TRANSLATORS: Envelope #12 */ +_("media.na_number-12_4.75x11in"); +/* TRANSLATORS: Envelope #14 */ +_("media.na_number-14_5x11.5in"); +/* TRANSLATORS: Envelope #9 */ +_("media.na_number-9_3.875x8.875in"); +/* TRANSLATORS: 8.5 x 13.4″ */ +_("media.na_oficio_8.5x13.4in"); +/* TRANSLATORS: Envelope Personal */ +_("media.na_personal_3.625x6.5in"); +/* TRANSLATORS: Quarto */ +_("media.na_quarto_8.5x10.83in"); +/* TRANSLATORS: 8.94 x 14″ */ +_("media.na_super-a_8.94x14in"); +/* TRANSLATORS: 13 x 19″ */ +_("media.na_super-b_13x19in"); +/* TRANSLATORS: 30 x 42″ */ +_("media.na_wide-format_30x42in"); +/* TRANSLATORS: 12 x 16″ */ +_("media.oe_12x16_12x16in"); +/* TRANSLATORS: 14 x 17″ */ +_("media.oe_14x17_14x17in"); +/* TRANSLATORS: 18 x 22″ */ +_("media.oe_18x22_18x22in"); +/* TRANSLATORS: 17 x 24″ */ +_("media.oe_a2plus_17x24in"); +/* TRANSLATORS: 2 x 3.5″ */ +_("media.oe_business-card_2x3.5in"); +/* TRANSLATORS: 10 x 12″ */ +_("media.oe_photo-10r_10x12in"); +/* TRANSLATORS: 20 x 24″ */ +_("media.oe_photo-20r_20x24in"); +/* TRANSLATORS: 3.5 x 5″ */ +_("media.oe_photo-l_3.5x5in"); +/* TRANSLATORS: 10 x 15″ */ +_("media.oe_photo-s10r_10x15in"); +/* TRANSLATORS: 4 x 4″ */ +_("media.oe_square-photo_4x4in"); +/* TRANSLATORS: 5 x 5″ */ +_("media.oe_square-photo_5x5in"); +/* TRANSLATORS: 184 x 260mm */ +_("media.om_16k_184x260mm"); +/* TRANSLATORS: 195 x 270mm */ +_("media.om_16k_195x270mm"); +/* TRANSLATORS: 55 x 85mm */ +_("media.om_business-card_55x85mm"); +/* TRANSLATORS: 55 x 91mm */ +_("media.om_business-card_55x91mm"); +/* TRANSLATORS: 54 x 86mm */ +_("media.om_card_54x86mm"); +/* TRANSLATORS: 275 x 395mm */ +_("media.om_dai-pa-kai_275x395mm"); +/* TRANSLATORS: 89 x 119mm */ +_("media.om_dsc-photo_89x119mm"); +/* TRANSLATORS: Folio */ +_("media.om_folio-sp_215x315mm"); +/* TRANSLATORS: Folio (Special) */ +_("media.om_folio_210x330mm"); +/* TRANSLATORS: Envelope Invitation */ +_("media.om_invite_220x220mm"); +/* TRANSLATORS: Envelope Italian */ +_("media.om_italian_110x230mm"); +/* TRANSLATORS: 198 x 275mm */ +_("media.om_juuro-ku-kai_198x275mm"); +/* TRANSLATORS: 200 x 300 */ +_("media.om_large-photo_200x300"); +/* TRANSLATORS: 130 x 180mm */ +_("media.om_medium-photo_130x180mm"); +/* TRANSLATORS: 267 x 389mm */ +_("media.om_pa-kai_267x389mm"); +/* TRANSLATORS: Envelope Postfix */ +_("media.om_postfix_114x229mm"); +/* TRANSLATORS: 100 x 150mm */ +_("media.om_small-photo_100x150mm"); +/* TRANSLATORS: 89 x 89mm */ +_("media.om_square-photo_89x89mm"); +/* TRANSLATORS: 100 x 200mm */ +_("media.om_wide-photo_100x200mm"); +/* TRANSLATORS: Envelope Chinese #10 */ +_("media.prc_10_324x458mm"); +/* TRANSLATORS: Chinese 16k */ +_("media.prc_16k_146x215mm"); +/* TRANSLATORS: Envelope Chinese #1 */ +_("media.prc_1_102x165mm"); +/* TRANSLATORS: Envelope Chinese #2 */ +_("media.prc_2_102x176mm"); +/* TRANSLATORS: Chinese 32k */ +_("media.prc_32k_97x151mm"); +/* TRANSLATORS: Envelope Chinese #3 */ +_("media.prc_3_125x176mm"); +/* TRANSLATORS: Envelope Chinese #4 */ +_("media.prc_4_110x208mm"); +/* TRANSLATORS: Envelope Chinese #5 */ +_("media.prc_5_110x220mm"); +/* TRANSLATORS: Envelope Chinese #6 */ +_("media.prc_6_120x320mm"); +/* TRANSLATORS: Envelope Chinese #7 */ +_("media.prc_7_160x230mm"); +/* TRANSLATORS: Envelope Chinese #8 */ +_("media.prc_8_120x309mm"); +/* TRANSLATORS: ROC 16k */ +_("media.roc_16k_7.75x10.75in"); +/* TRANSLATORS: ROC 8k */ +_("media.roc_8k_10.75x15.5in"); +/* TRANSLATORS: Multiple Document Handling */ +_("multiple-document-handling"); +/* TRANSLATORS: Separate Documents Collated Copies */ +_("multiple-document-handling.separate-documents-collated-copies"); +/* TRANSLATORS: Separate Documents Uncollated Copies */ +_("multiple-document-handling.separate-documents-uncollated-copies"); +/* TRANSLATORS: Single Document */ +_("multiple-document-handling.single-document"); +/* TRANSLATORS: Single Document New Sheet */ +_("multiple-document-handling.single-document-new-sheet"); +/* TRANSLATORS: Multiple Object Handling */ +_("multiple-object-handling"); +/* TRANSLATORS: Multiple Object Handling Actual */ +_("multiple-object-handling-actual"); +/* TRANSLATORS: Automatic */ +_("multiple-object-handling.auto"); +/* TRANSLATORS: Best Fit */ +_("multiple-object-handling.best-fit"); +/* TRANSLATORS: Best Quality */ +_("multiple-object-handling.best-quality"); +/* TRANSLATORS: Best Speed */ +_("multiple-object-handling.best-speed"); +/* TRANSLATORS: One At A Time */ +_("multiple-object-handling.one-at-a-time"); +/* TRANSLATORS: On Timeout */ +_("multiple-operation-time-out-action"); +/* TRANSLATORS: Abort Job */ +_("multiple-operation-time-out-action.abort-job"); +/* TRANSLATORS: Hold Job */ +_("multiple-operation-time-out-action.hold-job"); +/* TRANSLATORS: Process Job */ +_("multiple-operation-time-out-action.process-job"); +/* TRANSLATORS: Noise Removal */ +_("noise-removal"); +/* TRANSLATORS: Notify Attributes */ +_("notify-attributes"); +/* TRANSLATORS: Notify Charset */ +_("notify-charset"); +/* TRANSLATORS: Notify Events */ +_("notify-events"); +/* TRANSLATORS: Document Completed */ +_("notify-events.document-completed"); +/* TRANSLATORS: Document Config Changed */ +_("notify-events.document-config-changed"); +/* TRANSLATORS: Document Created */ +_("notify-events.document-created"); +/* TRANSLATORS: Document Fetchable */ +_("notify-events.document-fetchable"); +/* TRANSLATORS: Document State Changed */ +_("notify-events.document-state-changed"); +/* TRANSLATORS: Document Stopped */ +_("notify-events.document-stopped"); +/* TRANSLATORS: Job Completed */ +_("notify-events.job-completed"); +/* TRANSLATORS: Job Config Changed */ +_("notify-events.job-config-changed"); +/* TRANSLATORS: Job Created */ +_("notify-events.job-created"); +/* TRANSLATORS: Job Fetchable */ +_("notify-events.job-fetchable"); +/* TRANSLATORS: Job Progress */ +_("notify-events.job-progress"); +/* TRANSLATORS: Job State Changed */ +_("notify-events.job-state-changed"); +/* TRANSLATORS: Job Stopped */ +_("notify-events.job-stopped"); +/* TRANSLATORS: None */ +_("notify-events.none"); +/* TRANSLATORS: Printer Config Changed */ +_("notify-events.printer-config-changed"); +/* TRANSLATORS: Printer Finishings Changed */ +_("notify-events.printer-finishings-changed"); +/* TRANSLATORS: Printer Media Changed */ +_("notify-events.printer-media-changed"); +/* TRANSLATORS: Printer Queue Order Changed */ +_("notify-events.printer-queue-order-changed"); +/* TRANSLATORS: Printer Restarted */ +_("notify-events.printer-restarted"); +/* TRANSLATORS: Printer Shutdown */ +_("notify-events.printer-shutdown"); +/* TRANSLATORS: Printer State Changed */ +_("notify-events.printer-state-changed"); +/* TRANSLATORS: Printer Stopped */ +_("notify-events.printer-stopped"); +/* TRANSLATORS: Notify Get Interval */ +_("notify-get-interval"); +/* TRANSLATORS: Notify Lease Duration */ +_("notify-lease-duration"); +/* TRANSLATORS: Notify Natural Language */ +_("notify-natural-language"); +/* TRANSLATORS: Notify Pull Method */ +_("notify-pull-method"); +/* TRANSLATORS: Notify Recipient */ +_("notify-recipient-uri"); +/* TRANSLATORS: Notify Sequence Numbers */ +_("notify-sequence-numbers"); +/* TRANSLATORS: Notify Subscription Ids */ +_("notify-subscription-ids"); +/* TRANSLATORS: Notify Time Interval */ +_("notify-time-interval"); +/* TRANSLATORS: Notify User Data */ +_("notify-user-data"); +/* TRANSLATORS: Notify Wait */ +_("notify-wait"); +/* TRANSLATORS: Number Of Retries */ +_("number-of-retries"); +/* TRANSLATORS: Number-Up */ +_("number-up"); +/* TRANSLATORS: Object Offset */ +_("object-offset"); +/* TRANSLATORS: Object Size */ +_("object-size"); +/* TRANSLATORS: Organization Name */ +_("organization-name"); +/* TRANSLATORS: Orientation */ +_("orientation-requested"); +/* TRANSLATORS: Portrait */ +_("orientation-requested.3"); +/* TRANSLATORS: Landscape */ +_("orientation-requested.4"); +/* TRANSLATORS: Reverse Landscape */ +_("orientation-requested.5"); +/* TRANSLATORS: Reverse Portrait */ +_("orientation-requested.6"); +/* TRANSLATORS: None */ +_("orientation-requested.7"); +/* TRANSLATORS: Scanned Image Options */ +_("output-attributes"); +/* TRANSLATORS: Output Tray */ +_("output-bin"); +/* TRANSLATORS: Automatic */ +_("output-bin.auto"); +/* TRANSLATORS: Bottom */ +_("output-bin.bottom"); +/* TRANSLATORS: Center */ +_("output-bin.center"); +/* TRANSLATORS: Face Down */ +_("output-bin.face-down"); +/* TRANSLATORS: Face Up */ +_("output-bin.face-up"); +/* TRANSLATORS: Large Capacity */ +_("output-bin.large-capacity"); +/* TRANSLATORS: Left */ +_("output-bin.left"); +/* TRANSLATORS: Mailbox 1 */ +_("output-bin.mailbox-1"); +/* TRANSLATORS: Mailbox 10 */ +_("output-bin.mailbox-10"); +/* TRANSLATORS: Mailbox 2 */ +_("output-bin.mailbox-2"); +/* TRANSLATORS: Mailbox 3 */ +_("output-bin.mailbox-3"); +/* TRANSLATORS: Mailbox 4 */ +_("output-bin.mailbox-4"); +/* TRANSLATORS: Mailbox 5 */ +_("output-bin.mailbox-5"); +/* TRANSLATORS: Mailbox 6 */ +_("output-bin.mailbox-6"); +/* TRANSLATORS: Mailbox 7 */ +_("output-bin.mailbox-7"); +/* TRANSLATORS: Mailbox 8 */ +_("output-bin.mailbox-8"); +/* TRANSLATORS: Mailbox 9 */ +_("output-bin.mailbox-9"); +/* TRANSLATORS: Middle */ +_("output-bin.middle"); +/* TRANSLATORS: My Mailbox */ +_("output-bin.my-mailbox"); +/* TRANSLATORS: Rear */ +_("output-bin.rear"); +/* TRANSLATORS: Right */ +_("output-bin.right"); +/* TRANSLATORS: Side */ +_("output-bin.side"); +/* TRANSLATORS: Stacker 1 */ +_("output-bin.stacker-1"); +/* TRANSLATORS: Stacker 10 */ +_("output-bin.stacker-10"); +/* TRANSLATORS: Stacker 2 */ +_("output-bin.stacker-2"); +/* TRANSLATORS: Stacker 3 */ +_("output-bin.stacker-3"); +/* TRANSLATORS: Stacker 4 */ +_("output-bin.stacker-4"); +/* TRANSLATORS: Stacker 5 */ +_("output-bin.stacker-5"); +/* TRANSLATORS: Stacker 6 */ +_("output-bin.stacker-6"); +/* TRANSLATORS: Stacker 7 */ +_("output-bin.stacker-7"); +/* TRANSLATORS: Stacker 8 */ +_("output-bin.stacker-8"); +/* TRANSLATORS: Stacker 9 */ +_("output-bin.stacker-9"); +/* TRANSLATORS: Top */ +_("output-bin.top"); +/* TRANSLATORS: Tray 1 */ +_("output-bin.tray-1"); +/* TRANSLATORS: Tray 10 */ +_("output-bin.tray-10"); +/* TRANSLATORS: Tray 2 */ +_("output-bin.tray-2"); +/* TRANSLATORS: Tray 3 */ +_("output-bin.tray-3"); +/* TRANSLATORS: Tray 4 */ +_("output-bin.tray-4"); +/* TRANSLATORS: Tray 5 */ +_("output-bin.tray-5"); +/* TRANSLATORS: Tray 6 */ +_("output-bin.tray-6"); +/* TRANSLATORS: Tray 7 */ +_("output-bin.tray-7"); +/* TRANSLATORS: Tray 8 */ +_("output-bin.tray-8"); +/* TRANSLATORS: Tray 9 */ +_("output-bin.tray-9"); +/* TRANSLATORS: Scanned Image Quality */ +_("output-compression-quality-factor"); +/* TRANSLATORS: Page Delivery */ +_("page-delivery"); +/* TRANSLATORS: Reverse Order Face-down */ +_("page-delivery.reverse-order-face-down"); +/* TRANSLATORS: Reverse Order Face-up */ +_("page-delivery.reverse-order-face-up"); +/* TRANSLATORS: Same Order Face-down */ +_("page-delivery.same-order-face-down"); +/* TRANSLATORS: Same Order Face-up */ +_("page-delivery.same-order-face-up"); +/* TRANSLATORS: System Specified */ +_("page-delivery.system-specified"); +/* TRANSLATORS: Page Order Received */ +_("page-order-received"); +/* TRANSLATORS: 1 To N */ +_("page-order-received.1-to-n-order"); +/* TRANSLATORS: N To 1 */ +_("page-order-received.n-to-1-order"); +/* TRANSLATORS: Page Ranges */ +_("page-ranges"); +/* TRANSLATORS: Pages */ +_("pages"); +/* TRANSLATORS: Pages Per Subset */ +_("pages-per-subset"); +/* TRANSLATORS: Pclm Raster Back Side */ +_("pclm-raster-back-side"); +/* TRANSLATORS: Flipped */ +_("pclm-raster-back-side.flipped"); +/* TRANSLATORS: Normal */ +_("pclm-raster-back-side.normal"); +/* TRANSLATORS: Rotated */ +_("pclm-raster-back-side.rotated"); +/* TRANSLATORS: Pclm Source Resolution */ +_("pclm-source-resolution"); +/* TRANSLATORS: Platform Shape */ +_("platform-shape"); +/* TRANSLATORS: Round */ +_("platform-shape.ellipse"); +/* TRANSLATORS: Rectangle */ +_("platform-shape.rectangle"); +/* TRANSLATORS: Platform Temperature */ +_("platform-temperature"); +/* TRANSLATORS: Post-dial String */ +_("post-dial-string"); +/* TRANSLATORS: Pre-dial String */ +_("pre-dial-string"); +/* TRANSLATORS: Number-Up Layout */ +_("presentation-direction-number-up"); +/* TRANSLATORS: Top-bottom, Right-left */ +_("presentation-direction-number-up.tobottom-toleft"); +/* TRANSLATORS: Top-bottom, Left-right */ +_("presentation-direction-number-up.tobottom-toright"); +/* TRANSLATORS: Right-left, Top-bottom */ +_("presentation-direction-number-up.toleft-tobottom"); +/* TRANSLATORS: Right-left, Bottom-top */ +_("presentation-direction-number-up.toleft-totop"); +/* TRANSLATORS: Left-right, Top-bottom */ +_("presentation-direction-number-up.toright-tobottom"); +/* TRANSLATORS: Left-right, Bottom-top */ +_("presentation-direction-number-up.toright-totop"); +/* TRANSLATORS: Bottom-top, Right-left */ +_("presentation-direction-number-up.totop-toleft"); +/* TRANSLATORS: Bottom-top, Left-right */ +_("presentation-direction-number-up.totop-toright"); +/* TRANSLATORS: Print Accuracy */ +_("print-accuracy"); +/* TRANSLATORS: Print Base */ +_("print-base"); +/* TRANSLATORS: Print Base Actual */ +_("print-base-actual"); +/* TRANSLATORS: Brim */ +_("print-base.brim"); +/* TRANSLATORS: None */ +_("print-base.none"); +/* TRANSLATORS: Raft */ +_("print-base.raft"); +/* TRANSLATORS: Skirt */ +_("print-base.skirt"); +/* TRANSLATORS: Standard */ +_("print-base.standard"); +/* TRANSLATORS: Print Color Mode */ +_("print-color-mode"); +/* TRANSLATORS: Automatic */ +_("print-color-mode.auto"); +/* TRANSLATORS: Auto Monochrome */ +_("print-color-mode.auto-monochrome"); +/* TRANSLATORS: Text */ +_("print-color-mode.bi-level"); +/* TRANSLATORS: Color */ +_("print-color-mode.color"); +/* TRANSLATORS: Highlight */ +_("print-color-mode.highlight"); +/* TRANSLATORS: Monochrome */ +_("print-color-mode.monochrome"); +/* TRANSLATORS: Process Text */ +_("print-color-mode.process-bi-level"); +/* TRANSLATORS: Process Monochrome */ +_("print-color-mode.process-monochrome"); +/* TRANSLATORS: Print Optimization */ +_("print-content-optimize"); +/* TRANSLATORS: Print Content Optimize Actual */ +_("print-content-optimize-actual"); +/* TRANSLATORS: Automatic */ +_("print-content-optimize.auto"); +/* TRANSLATORS: Graphics */ +_("print-content-optimize.graphic"); +/* TRANSLATORS: Graphics */ +_("print-content-optimize.graphics"); +/* TRANSLATORS: Photo */ +_("print-content-optimize.photo"); +/* TRANSLATORS: Text */ +_("print-content-optimize.text"); +/* TRANSLATORS: Text and Graphics */ +_("print-content-optimize.text-and-graphic"); +/* TRANSLATORS: Text And Graphics */ +_("print-content-optimize.text-and-graphics"); +/* TRANSLATORS: Print Objects */ +_("print-objects"); +/* TRANSLATORS: Print Quality */ +_("print-quality"); +/* TRANSLATORS: Draft */ +_("print-quality.3"); +/* TRANSLATORS: Normal */ +_("print-quality.4"); +/* TRANSLATORS: High */ +_("print-quality.5"); +/* TRANSLATORS: Print Rendering Intent */ +_("print-rendering-intent"); +/* TRANSLATORS: Absolute */ +_("print-rendering-intent.absolute"); +/* TRANSLATORS: Automatic */ +_("print-rendering-intent.auto"); +/* TRANSLATORS: Perceptual */ +_("print-rendering-intent.perceptual"); +/* TRANSLATORS: Relative */ +_("print-rendering-intent.relative"); +/* TRANSLATORS: Relative w/Black Point Compensation */ +_("print-rendering-intent.relative-bpc"); +/* TRANSLATORS: Saturation */ +_("print-rendering-intent.saturation"); +/* TRANSLATORS: Print Scaling */ +_("print-scaling"); +/* TRANSLATORS: Automatic */ +_("print-scaling.auto"); +/* TRANSLATORS: Auto-fit */ +_("print-scaling.auto-fit"); +/* TRANSLATORS: Fill */ +_("print-scaling.fill"); +/* TRANSLATORS: Fit */ +_("print-scaling.fit"); +/* TRANSLATORS: None */ +_("print-scaling.none"); +/* TRANSLATORS: Print Supports */ +_("print-supports"); +/* TRANSLATORS: Print Supports Actual */ +_("print-supports-actual"); +/* TRANSLATORS: With Specified Material */ +_("print-supports.material"); +/* TRANSLATORS: None */ +_("print-supports.none"); +/* TRANSLATORS: Standard */ +_("print-supports.standard"); +/* TRANSLATORS: Printer Kind */ +_("printer-kind"); +/* TRANSLATORS: Disc */ +_("printer-kind.disc"); +/* TRANSLATORS: Document */ +_("printer-kind.document"); +/* TRANSLATORS: Envelope */ +_("printer-kind.envelope"); +/* TRANSLATORS: Label */ +_("printer-kind.label"); +/* TRANSLATORS: Large Format */ +_("printer-kind.large-format"); +/* TRANSLATORS: Photo */ +_("printer-kind.photo"); +/* TRANSLATORS: Postcard */ +_("printer-kind.postcard"); +/* TRANSLATORS: Receipt */ +_("printer-kind.receipt"); +/* TRANSLATORS: Roll */ +_("printer-kind.roll"); +/* TRANSLATORS: Message From Operator */ +_("printer-message-from-operator"); +/* TRANSLATORS: Print Resolution */ +_("printer-resolution"); +/* TRANSLATORS: Printer State */ +_("printer-state"); +/* TRANSLATORS: Detailed Printer State */ +_("printer-state-reasons"); +/* TRANSLATORS: Old Alerts Have Been Removed */ +_("printer-state-reasons.alert-removal-of-binary-change-entry"); +/* TRANSLATORS: Bander Added */ +_("printer-state-reasons.bander-added"); +/* TRANSLATORS: Bander Almost Empty */ +_("printer-state-reasons.bander-almost-empty"); +/* TRANSLATORS: Bander Almost Full */ +_("printer-state-reasons.bander-almost-full"); +/* TRANSLATORS: Bander At Limit */ +_("printer-state-reasons.bander-at-limit"); +/* TRANSLATORS: Bander Closed */ +_("printer-state-reasons.bander-closed"); +/* TRANSLATORS: Bander Configuration Change */ +_("printer-state-reasons.bander-configuration-change"); +/* TRANSLATORS: Bander Cover Closed */ +_("printer-state-reasons.bander-cover-closed"); +/* TRANSLATORS: Bander Cover Open */ +_("printer-state-reasons.bander-cover-open"); +/* TRANSLATORS: Bander Empty */ +_("printer-state-reasons.bander-empty"); +/* TRANSLATORS: Bander Full */ +_("printer-state-reasons.bander-full"); +/* TRANSLATORS: Bander Interlock Closed */ +_("printer-state-reasons.bander-interlock-closed"); +/* TRANSLATORS: Bander Interlock Open */ +_("printer-state-reasons.bander-interlock-open"); +/* TRANSLATORS: Bander Jam */ +_("printer-state-reasons.bander-jam"); +/* TRANSLATORS: Bander Life Almost Over */ +_("printer-state-reasons.bander-life-almost-over"); +/* TRANSLATORS: Bander Life Over */ +_("printer-state-reasons.bander-life-over"); +/* TRANSLATORS: Bander Memory Exhausted */ +_("printer-state-reasons.bander-memory-exhausted"); +/* TRANSLATORS: Bander Missing */ +_("printer-state-reasons.bander-missing"); +/* TRANSLATORS: Bander Motor Failure */ +_("printer-state-reasons.bander-motor-failure"); +/* TRANSLATORS: Bander Near Limit */ +_("printer-state-reasons.bander-near-limit"); +/* TRANSLATORS: Bander Offline */ +_("printer-state-reasons.bander-offline"); +/* TRANSLATORS: Bander Opened */ +_("printer-state-reasons.bander-opened"); +/* TRANSLATORS: Bander Over Temperature */ +_("printer-state-reasons.bander-over-temperature"); +/* TRANSLATORS: Bander Power Saver */ +_("printer-state-reasons.bander-power-saver"); +/* TRANSLATORS: Bander Recoverable Failure */ +_("printer-state-reasons.bander-recoverable-failure"); +/* TRANSLATORS: Bander Recoverable Storage */ +_("printer-state-reasons.bander-recoverable-storage"); +/* TRANSLATORS: Bander Removed */ +_("printer-state-reasons.bander-removed"); +/* TRANSLATORS: Bander Resource Added */ +_("printer-state-reasons.bander-resource-added"); +/* TRANSLATORS: Bander Resource Removed */ +_("printer-state-reasons.bander-resource-removed"); +/* TRANSLATORS: Bander Thermistor Failure */ +_("printer-state-reasons.bander-thermistor-failure"); +/* TRANSLATORS: Bander Timing Failure */ +_("printer-state-reasons.bander-timing-failure"); +/* TRANSLATORS: Bander Turned Off */ +_("printer-state-reasons.bander-turned-off"); +/* TRANSLATORS: Bander Turned On */ +_("printer-state-reasons.bander-turned-on"); +/* TRANSLATORS: Bander Under Temperature */ +_("printer-state-reasons.bander-under-temperature"); +/* TRANSLATORS: Bander Unrecoverable Failure */ +_("printer-state-reasons.bander-unrecoverable-failure"); +/* TRANSLATORS: Bander Unrecoverable Storage Error */ +_("printer-state-reasons.bander-unrecoverable-storage-error"); +/* TRANSLATORS: Bander Warming Up */ +_("printer-state-reasons.bander-warming-up"); +/* TRANSLATORS: Binder Added */ +_("printer-state-reasons.binder-added"); +/* TRANSLATORS: Binder Almost Empty */ +_("printer-state-reasons.binder-almost-empty"); +/* TRANSLATORS: Binder Almost Full */ +_("printer-state-reasons.binder-almost-full"); +/* TRANSLATORS: Binder At Limit */ +_("printer-state-reasons.binder-at-limit"); +/* TRANSLATORS: Binder Closed */ +_("printer-state-reasons.binder-closed"); +/* TRANSLATORS: Binder Configuration Change */ +_("printer-state-reasons.binder-configuration-change"); +/* TRANSLATORS: Binder Cover Closed */ +_("printer-state-reasons.binder-cover-closed"); +/* TRANSLATORS: Binder Cover Open */ +_("printer-state-reasons.binder-cover-open"); +/* TRANSLATORS: Binder Empty */ +_("printer-state-reasons.binder-empty"); +/* TRANSLATORS: Binder Full */ +_("printer-state-reasons.binder-full"); +/* TRANSLATORS: Binder Interlock Closed */ +_("printer-state-reasons.binder-interlock-closed"); +/* TRANSLATORS: Binder Interlock Open */ +_("printer-state-reasons.binder-interlock-open"); +/* TRANSLATORS: Binder Jam */ +_("printer-state-reasons.binder-jam"); +/* TRANSLATORS: Binder Life Almost Over */ +_("printer-state-reasons.binder-life-almost-over"); +/* TRANSLATORS: Binder Life Over */ +_("printer-state-reasons.binder-life-over"); +/* TRANSLATORS: Binder Memory Exhausted */ +_("printer-state-reasons.binder-memory-exhausted"); +/* TRANSLATORS: Binder Missing */ +_("printer-state-reasons.binder-missing"); +/* TRANSLATORS: Binder Motor Failure */ +_("printer-state-reasons.binder-motor-failure"); +/* TRANSLATORS: Binder Near Limit */ +_("printer-state-reasons.binder-near-limit"); +/* TRANSLATORS: Binder Offline */ +_("printer-state-reasons.binder-offline"); +/* TRANSLATORS: Binder Opened */ +_("printer-state-reasons.binder-opened"); +/* TRANSLATORS: Binder Over Temperature */ +_("printer-state-reasons.binder-over-temperature"); +/* TRANSLATORS: Binder Power Saver */ +_("printer-state-reasons.binder-power-saver"); +/* TRANSLATORS: Binder Recoverable Failure */ +_("printer-state-reasons.binder-recoverable-failure"); +/* TRANSLATORS: Binder Recoverable Storage */ +_("printer-state-reasons.binder-recoverable-storage"); +/* TRANSLATORS: Binder Removed */ +_("printer-state-reasons.binder-removed"); +/* TRANSLATORS: Binder Resource Added */ +_("printer-state-reasons.binder-resource-added"); +/* TRANSLATORS: Binder Resource Removed */ +_("printer-state-reasons.binder-resource-removed"); +/* TRANSLATORS: Binder Thermistor Failure */ +_("printer-state-reasons.binder-thermistor-failure"); +/* TRANSLATORS: Binder Timing Failure */ +_("printer-state-reasons.binder-timing-failure"); +/* TRANSLATORS: Binder Turned Off */ +_("printer-state-reasons.binder-turned-off"); +/* TRANSLATORS: Binder Turned On */ +_("printer-state-reasons.binder-turned-on"); +/* TRANSLATORS: Binder Under Temperature */ +_("printer-state-reasons.binder-under-temperature"); +/* TRANSLATORS: Binder Unrecoverable Failure */ +_("printer-state-reasons.binder-unrecoverable-failure"); +/* TRANSLATORS: Binder Unrecoverable Storage Error */ +_("printer-state-reasons.binder-unrecoverable-storage-error"); +/* TRANSLATORS: Binder Warming Up */ +_("printer-state-reasons.binder-warming-up"); +/* TRANSLATORS: Camera Failure */ +_("printer-state-reasons.camera-failure"); +/* TRANSLATORS: Chamber Cooling */ +_("printer-state-reasons.chamber-cooling"); +/* TRANSLATORS: Chamber Failure */ +_("printer-state-reasons.chamber-failure"); +/* TRANSLATORS: Chamber Heating */ +_("printer-state-reasons.chamber-heating"); +/* TRANSLATORS: Chamber Temperature High */ +_("printer-state-reasons.chamber-temperature-high"); +/* TRANSLATORS: Chamber Temperature Low */ +_("printer-state-reasons.chamber-temperature-low"); +/* TRANSLATORS: Cleaner Life Almost Over */ +_("printer-state-reasons.cleaner-life-almost-over"); +/* TRANSLATORS: Cleaner Life Over */ +_("printer-state-reasons.cleaner-life-over"); +/* TRANSLATORS: Configuration Change */ +_("printer-state-reasons.configuration-change"); +/* TRANSLATORS: Connecting To Device */ +_("printer-state-reasons.connecting-to-device"); +/* TRANSLATORS: Cover Open */ +_("printer-state-reasons.cover-open"); +/* TRANSLATORS: Deactivated */ +_("printer-state-reasons.deactivated"); +/* TRANSLATORS: Developer Empty */ +_("printer-state-reasons.developer-empty"); +/* TRANSLATORS: Developer Low */ +_("printer-state-reasons.developer-low"); +/* TRANSLATORS: Die Cutter Added */ +_("printer-state-reasons.die-cutter-added"); +/* TRANSLATORS: Die Cutter Almost Empty */ +_("printer-state-reasons.die-cutter-almost-empty"); +/* TRANSLATORS: Die Cutter Almost Full */ +_("printer-state-reasons.die-cutter-almost-full"); +/* TRANSLATORS: Die Cutter At Limit */ +_("printer-state-reasons.die-cutter-at-limit"); +/* TRANSLATORS: Die Cutter Closed */ +_("printer-state-reasons.die-cutter-closed"); +/* TRANSLATORS: Die Cutter Configuration Change */ +_("printer-state-reasons.die-cutter-configuration-change"); +/* TRANSLATORS: Die Cutter Cover Closed */ +_("printer-state-reasons.die-cutter-cover-closed"); +/* TRANSLATORS: Die Cutter Cover Open */ +_("printer-state-reasons.die-cutter-cover-open"); +/* TRANSLATORS: Die Cutter Empty */ +_("printer-state-reasons.die-cutter-empty"); +/* TRANSLATORS: Die Cutter Full */ +_("printer-state-reasons.die-cutter-full"); +/* TRANSLATORS: Die Cutter Interlock Closed */ +_("printer-state-reasons.die-cutter-interlock-closed"); +/* TRANSLATORS: Die Cutter Interlock Open */ +_("printer-state-reasons.die-cutter-interlock-open"); +/* TRANSLATORS: Die Cutter Jam */ +_("printer-state-reasons.die-cutter-jam"); +/* TRANSLATORS: Die Cutter Life Almost Over */ +_("printer-state-reasons.die-cutter-life-almost-over"); +/* TRANSLATORS: Die Cutter Life Over */ +_("printer-state-reasons.die-cutter-life-over"); +/* TRANSLATORS: Die Cutter Memory Exhausted */ +_("printer-state-reasons.die-cutter-memory-exhausted"); +/* TRANSLATORS: Die Cutter Missing */ +_("printer-state-reasons.die-cutter-missing"); +/* TRANSLATORS: Die Cutter Motor Failure */ +_("printer-state-reasons.die-cutter-motor-failure"); +/* TRANSLATORS: Die Cutter Near Limit */ +_("printer-state-reasons.die-cutter-near-limit"); +/* TRANSLATORS: Die Cutter Offline */ +_("printer-state-reasons.die-cutter-offline"); +/* TRANSLATORS: Die Cutter Opened */ +_("printer-state-reasons.die-cutter-opened"); +/* TRANSLATORS: Die Cutter Over Temperature */ +_("printer-state-reasons.die-cutter-over-temperature"); +/* TRANSLATORS: Die Cutter Power Saver */ +_("printer-state-reasons.die-cutter-power-saver"); +/* TRANSLATORS: Die Cutter Recoverable Failure */ +_("printer-state-reasons.die-cutter-recoverable-failure"); +/* TRANSLATORS: Die Cutter Recoverable Storage */ +_("printer-state-reasons.die-cutter-recoverable-storage"); +/* TRANSLATORS: Die Cutter Removed */ +_("printer-state-reasons.die-cutter-removed"); +/* TRANSLATORS: Die Cutter Resource Added */ +_("printer-state-reasons.die-cutter-resource-added"); +/* TRANSLATORS: Die Cutter Resource Removed */ +_("printer-state-reasons.die-cutter-resource-removed"); +/* TRANSLATORS: Die Cutter Thermistor Failure */ +_("printer-state-reasons.die-cutter-thermistor-failure"); +/* TRANSLATORS: Die Cutter Timing Failure */ +_("printer-state-reasons.die-cutter-timing-failure"); +/* TRANSLATORS: Die Cutter Turned Off */ +_("printer-state-reasons.die-cutter-turned-off"); +/* TRANSLATORS: Die Cutter Turned On */ +_("printer-state-reasons.die-cutter-turned-on"); +/* TRANSLATORS: Die Cutter Under Temperature */ +_("printer-state-reasons.die-cutter-under-temperature"); +/* TRANSLATORS: Die Cutter Unrecoverable Failure */ +_("printer-state-reasons.die-cutter-unrecoverable-failure"); +/* TRANSLATORS: Die Cutter Unrecoverable Storage Error */ +_("printer-state-reasons.die-cutter-unrecoverable-storage-error"); +/* TRANSLATORS: Die Cutter Warming Up */ +_("printer-state-reasons.die-cutter-warming-up"); +/* TRANSLATORS: Door Open */ +_("printer-state-reasons.door-open"); +/* TRANSLATORS: Extruder Cooling */ +_("printer-state-reasons.extruder-cooling"); +/* TRANSLATORS: Extruder Failure */ +_("printer-state-reasons.extruder-failure"); +/* TRANSLATORS: Extruder Heating */ +_("printer-state-reasons.extruder-heating"); +/* TRANSLATORS: Extruder Jam */ +_("printer-state-reasons.extruder-jam"); +/* TRANSLATORS: Extruder Temperature High */ +_("printer-state-reasons.extruder-temperature-high"); +/* TRANSLATORS: Extruder Temperature Low */ +_("printer-state-reasons.extruder-temperature-low"); +/* TRANSLATORS: Fan Failure */ +_("printer-state-reasons.fan-failure"); +/* TRANSLATORS: Fax Modem Life Almost Over */ +_("printer-state-reasons.fax-modem-life-almost-over"); +/* TRANSLATORS: Fax Modem Life Over */ +_("printer-state-reasons.fax-modem-life-over"); +/* TRANSLATORS: Fax Modem Missing */ +_("printer-state-reasons.fax-modem-missing"); +/* TRANSLATORS: Fax Modem Turned Off */ +_("printer-state-reasons.fax-modem-turned-off"); +/* TRANSLATORS: Fax Modem Turned On */ +_("printer-state-reasons.fax-modem-turned-on"); +/* TRANSLATORS: Folder Added */ +_("printer-state-reasons.folder-added"); +/* TRANSLATORS: Folder Almost Empty */ +_("printer-state-reasons.folder-almost-empty"); +/* TRANSLATORS: Folder Almost Full */ +_("printer-state-reasons.folder-almost-full"); +/* TRANSLATORS: Folder At Limit */ +_("printer-state-reasons.folder-at-limit"); +/* TRANSLATORS: Folder Closed */ +_("printer-state-reasons.folder-closed"); +/* TRANSLATORS: Folder Configuration Change */ +_("printer-state-reasons.folder-configuration-change"); +/* TRANSLATORS: Folder Cover Closed */ +_("printer-state-reasons.folder-cover-closed"); +/* TRANSLATORS: Folder Cover Open */ +_("printer-state-reasons.folder-cover-open"); +/* TRANSLATORS: Folder Empty */ +_("printer-state-reasons.folder-empty"); +/* TRANSLATORS: Folder Full */ +_("printer-state-reasons.folder-full"); +/* TRANSLATORS: Folder Interlock Closed */ +_("printer-state-reasons.folder-interlock-closed"); +/* TRANSLATORS: Folder Interlock Open */ +_("printer-state-reasons.folder-interlock-open"); +/* TRANSLATORS: Folder Jam */ +_("printer-state-reasons.folder-jam"); +/* TRANSLATORS: Folder Life Almost Over */ +_("printer-state-reasons.folder-life-almost-over"); +/* TRANSLATORS: Folder Life Over */ +_("printer-state-reasons.folder-life-over"); +/* TRANSLATORS: Folder Memory Exhausted */ +_("printer-state-reasons.folder-memory-exhausted"); +/* TRANSLATORS: Folder Missing */ +_("printer-state-reasons.folder-missing"); +/* TRANSLATORS: Folder Motor Failure */ +_("printer-state-reasons.folder-motor-failure"); +/* TRANSLATORS: Folder Near Limit */ +_("printer-state-reasons.folder-near-limit"); +/* TRANSLATORS: Folder Offline */ +_("printer-state-reasons.folder-offline"); +/* TRANSLATORS: Folder Opened */ +_("printer-state-reasons.folder-opened"); +/* TRANSLATORS: Folder Over Temperature */ +_("printer-state-reasons.folder-over-temperature"); +/* TRANSLATORS: Folder Power Saver */ +_("printer-state-reasons.folder-power-saver"); +/* TRANSLATORS: Folder Recoverable Failure */ +_("printer-state-reasons.folder-recoverable-failure"); +/* TRANSLATORS: Folder Recoverable Storage */ +_("printer-state-reasons.folder-recoverable-storage"); +/* TRANSLATORS: Folder Removed */ +_("printer-state-reasons.folder-removed"); +/* TRANSLATORS: Folder Resource Added */ +_("printer-state-reasons.folder-resource-added"); +/* TRANSLATORS: Folder Resource Removed */ +_("printer-state-reasons.folder-resource-removed"); +/* TRANSLATORS: Folder Thermistor Failure */ +_("printer-state-reasons.folder-thermistor-failure"); +/* TRANSLATORS: Folder Timing Failure */ +_("printer-state-reasons.folder-timing-failure"); +/* TRANSLATORS: Folder Turned Off */ +_("printer-state-reasons.folder-turned-off"); +/* TRANSLATORS: Folder Turned On */ +_("printer-state-reasons.folder-turned-on"); +/* TRANSLATORS: Folder Under Temperature */ +_("printer-state-reasons.folder-under-temperature"); +/* TRANSLATORS: Folder Unrecoverable Failure */ +_("printer-state-reasons.folder-unrecoverable-failure"); +/* TRANSLATORS: Folder Unrecoverable Storage Error */ +_("printer-state-reasons.folder-unrecoverable-storage-error"); +/* TRANSLATORS: Folder Warming Up */ +_("printer-state-reasons.folder-warming-up"); +/* TRANSLATORS: Fuser temperature high */ +_("printer-state-reasons.fuser-over-temp"); +/* TRANSLATORS: Fuser temperature low */ +_("printer-state-reasons.fuser-under-temp"); +/* TRANSLATORS: Hold New Jobs */ +_("printer-state-reasons.hold-new-jobs"); +/* TRANSLATORS: Identify Printer */ +_("printer-state-reasons.identify-printer-requested"); +/* TRANSLATORS: Imprinter Added */ +_("printer-state-reasons.imprinter-added"); +/* TRANSLATORS: Imprinter Almost Empty */ +_("printer-state-reasons.imprinter-almost-empty"); +/* TRANSLATORS: Imprinter Almost Full */ +_("printer-state-reasons.imprinter-almost-full"); +/* TRANSLATORS: Imprinter At Limit */ +_("printer-state-reasons.imprinter-at-limit"); +/* TRANSLATORS: Imprinter Closed */ +_("printer-state-reasons.imprinter-closed"); +/* TRANSLATORS: Imprinter Configuration Change */ +_("printer-state-reasons.imprinter-configuration-change"); +/* TRANSLATORS: Imprinter Cover Closed */ +_("printer-state-reasons.imprinter-cover-closed"); +/* TRANSLATORS: Imprinter Cover Open */ +_("printer-state-reasons.imprinter-cover-open"); +/* TRANSLATORS: Imprinter Empty */ +_("printer-state-reasons.imprinter-empty"); +/* TRANSLATORS: Imprinter Full */ +_("printer-state-reasons.imprinter-full"); +/* TRANSLATORS: Imprinter Interlock Closed */ +_("printer-state-reasons.imprinter-interlock-closed"); +/* TRANSLATORS: Imprinter Interlock Open */ +_("printer-state-reasons.imprinter-interlock-open"); +/* TRANSLATORS: Imprinter Jam */ +_("printer-state-reasons.imprinter-jam"); +/* TRANSLATORS: Imprinter Life Almost Over */ +_("printer-state-reasons.imprinter-life-almost-over"); +/* TRANSLATORS: Imprinter Life Over */ +_("printer-state-reasons.imprinter-life-over"); +/* TRANSLATORS: Imprinter Memory Exhausted */ +_("printer-state-reasons.imprinter-memory-exhausted"); +/* TRANSLATORS: Imprinter Missing */ +_("printer-state-reasons.imprinter-missing"); +/* TRANSLATORS: Imprinter Motor Failure */ +_("printer-state-reasons.imprinter-motor-failure"); +/* TRANSLATORS: Imprinter Near Limit */ +_("printer-state-reasons.imprinter-near-limit"); +/* TRANSLATORS: Imprinter Offline */ +_("printer-state-reasons.imprinter-offline"); +/* TRANSLATORS: Imprinter Opened */ +_("printer-state-reasons.imprinter-opened"); +/* TRANSLATORS: Imprinter Over Temperature */ +_("printer-state-reasons.imprinter-over-temperature"); +/* TRANSLATORS: Imprinter Power Saver */ +_("printer-state-reasons.imprinter-power-saver"); +/* TRANSLATORS: Imprinter Recoverable Failure */ +_("printer-state-reasons.imprinter-recoverable-failure"); +/* TRANSLATORS: Imprinter Recoverable Storage */ +_("printer-state-reasons.imprinter-recoverable-storage"); +/* TRANSLATORS: Imprinter Removed */ +_("printer-state-reasons.imprinter-removed"); +/* TRANSLATORS: Imprinter Resource Added */ +_("printer-state-reasons.imprinter-resource-added"); +/* TRANSLATORS: Imprinter Resource Removed */ +_("printer-state-reasons.imprinter-resource-removed"); +/* TRANSLATORS: Imprinter Thermistor Failure */ +_("printer-state-reasons.imprinter-thermistor-failure"); +/* TRANSLATORS: Imprinter Timing Failure */ +_("printer-state-reasons.imprinter-timing-failure"); +/* TRANSLATORS: Imprinter Turned Off */ +_("printer-state-reasons.imprinter-turned-off"); +/* TRANSLATORS: Imprinter Turned On */ +_("printer-state-reasons.imprinter-turned-on"); +/* TRANSLATORS: Imprinter Under Temperature */ +_("printer-state-reasons.imprinter-under-temperature"); +/* TRANSLATORS: Imprinter Unrecoverable Failure */ +_("printer-state-reasons.imprinter-unrecoverable-failure"); +/* TRANSLATORS: Imprinter Unrecoverable Storage Error */ +_("printer-state-reasons.imprinter-unrecoverable-storage-error"); +/* TRANSLATORS: Imprinter Warming Up */ +_("printer-state-reasons.imprinter-warming-up"); +/* TRANSLATORS: Input Cannot Feed Size Selected */ +_("printer-state-reasons.input-cannot-feed-size-selected"); +/* TRANSLATORS: Input Manual Input Request */ +_("printer-state-reasons.input-manual-input-request"); +/* TRANSLATORS: Input Media Color Change */ +_("printer-state-reasons.input-media-color-change"); +/* TRANSLATORS: Input Media Form Parts Change */ +_("printer-state-reasons.input-media-form-parts-change"); +/* TRANSLATORS: Input Media Size Change */ +_("printer-state-reasons.input-media-size-change"); +/* TRANSLATORS: Input Media Tray Failure */ +_("printer-state-reasons.input-media-tray-failure"); +/* TRANSLATORS: Input Media Tray Feed Error */ +_("printer-state-reasons.input-media-tray-feed-error"); +/* TRANSLATORS: Input Media Tray Jam */ +_("printer-state-reasons.input-media-tray-jam"); +/* TRANSLATORS: Input Media Type Change */ +_("printer-state-reasons.input-media-type-change"); +/* TRANSLATORS: Input Media Weight Change */ +_("printer-state-reasons.input-media-weight-change"); +/* TRANSLATORS: Input Pick Roller Failure */ +_("printer-state-reasons.input-pick-roller-failure"); +/* TRANSLATORS: Input Pick Roller Life Over */ +_("printer-state-reasons.input-pick-roller-life-over"); +/* TRANSLATORS: Input Pick Roller Life Warn */ +_("printer-state-reasons.input-pick-roller-life-warn"); +/* TRANSLATORS: Input Pick Roller Missing */ +_("printer-state-reasons.input-pick-roller-missing"); +/* TRANSLATORS: Input Tray Elevation Failure */ +_("printer-state-reasons.input-tray-elevation-failure"); +/* TRANSLATORS: Paper tray is missing */ +_("printer-state-reasons.input-tray-missing"); +/* TRANSLATORS: Input Tray Position Failure */ +_("printer-state-reasons.input-tray-position-failure"); +/* TRANSLATORS: Inserter Added */ +_("printer-state-reasons.inserter-added"); +/* TRANSLATORS: Inserter Almost Empty */ +_("printer-state-reasons.inserter-almost-empty"); +/* TRANSLATORS: Inserter Almost Full */ +_("printer-state-reasons.inserter-almost-full"); +/* TRANSLATORS: Inserter At Limit */ +_("printer-state-reasons.inserter-at-limit"); +/* TRANSLATORS: Inserter Closed */ +_("printer-state-reasons.inserter-closed"); +/* TRANSLATORS: Inserter Configuration Change */ +_("printer-state-reasons.inserter-configuration-change"); +/* TRANSLATORS: Inserter Cover Closed */ +_("printer-state-reasons.inserter-cover-closed"); +/* TRANSLATORS: Inserter Cover Open */ +_("printer-state-reasons.inserter-cover-open"); +/* TRANSLATORS: Inserter Empty */ +_("printer-state-reasons.inserter-empty"); +/* TRANSLATORS: Inserter Full */ +_("printer-state-reasons.inserter-full"); +/* TRANSLATORS: Inserter Interlock Closed */ +_("printer-state-reasons.inserter-interlock-closed"); +/* TRANSLATORS: Inserter Interlock Open */ +_("printer-state-reasons.inserter-interlock-open"); +/* TRANSLATORS: Inserter Jam */ +_("printer-state-reasons.inserter-jam"); +/* TRANSLATORS: Inserter Life Almost Over */ +_("printer-state-reasons.inserter-life-almost-over"); +/* TRANSLATORS: Inserter Life Over */ +_("printer-state-reasons.inserter-life-over"); +/* TRANSLATORS: Inserter Memory Exhausted */ +_("printer-state-reasons.inserter-memory-exhausted"); +/* TRANSLATORS: Inserter Missing */ +_("printer-state-reasons.inserter-missing"); +/* TRANSLATORS: Inserter Motor Failure */ +_("printer-state-reasons.inserter-motor-failure"); +/* TRANSLATORS: Inserter Near Limit */ +_("printer-state-reasons.inserter-near-limit"); +/* TRANSLATORS: Inserter Offline */ +_("printer-state-reasons.inserter-offline"); +/* TRANSLATORS: Inserter Opened */ +_("printer-state-reasons.inserter-opened"); +/* TRANSLATORS: Inserter Over Temperature */ +_("printer-state-reasons.inserter-over-temperature"); +/* TRANSLATORS: Inserter Power Saver */ +_("printer-state-reasons.inserter-power-saver"); +/* TRANSLATORS: Inserter Recoverable Failure */ +_("printer-state-reasons.inserter-recoverable-failure"); +/* TRANSLATORS: Inserter Recoverable Storage */ +_("printer-state-reasons.inserter-recoverable-storage"); +/* TRANSLATORS: Inserter Removed */ +_("printer-state-reasons.inserter-removed"); +/* TRANSLATORS: Inserter Resource Added */ +_("printer-state-reasons.inserter-resource-added"); +/* TRANSLATORS: Inserter Resource Removed */ +_("printer-state-reasons.inserter-resource-removed"); +/* TRANSLATORS: Inserter Thermistor Failure */ +_("printer-state-reasons.inserter-thermistor-failure"); +/* TRANSLATORS: Inserter Timing Failure */ +_("printer-state-reasons.inserter-timing-failure"); +/* TRANSLATORS: Inserter Turned Off */ +_("printer-state-reasons.inserter-turned-off"); +/* TRANSLATORS: Inserter Turned On */ +_("printer-state-reasons.inserter-turned-on"); +/* TRANSLATORS: Inserter Under Temperature */ +_("printer-state-reasons.inserter-under-temperature"); +/* TRANSLATORS: Inserter Unrecoverable Failure */ +_("printer-state-reasons.inserter-unrecoverable-failure"); +/* TRANSLATORS: Inserter Unrecoverable Storage Error */ +_("printer-state-reasons.inserter-unrecoverable-storage-error"); +/* TRANSLATORS: Inserter Warming Up */ +_("printer-state-reasons.inserter-warming-up"); +/* TRANSLATORS: Interlock Closed */ +_("printer-state-reasons.interlock-closed"); +/* TRANSLATORS: Interlock Open */ +_("printer-state-reasons.interlock-open"); +/* TRANSLATORS: Interpreter Cartridge Added */ +_("printer-state-reasons.interpreter-cartridge-added"); +/* TRANSLATORS: Interpreter Cartridge Removed */ +_("printer-state-reasons.interpreter-cartridge-deleted"); +/* TRANSLATORS: Interpreter Complex Page Encountered */ +_("printer-state-reasons.interpreter-complex-page-encountered"); +/* TRANSLATORS: Interpreter Memory Decrease */ +_("printer-state-reasons.interpreter-memory-decrease"); +/* TRANSLATORS: Interpreter Memory Increase */ +_("printer-state-reasons.interpreter-memory-increase"); +/* TRANSLATORS: Interpreter Resource Added */ +_("printer-state-reasons.interpreter-resource-added"); +/* TRANSLATORS: Interpreter Resource Deleted */ +_("printer-state-reasons.interpreter-resource-deleted"); +/* TRANSLATORS: Printer resource unavailable */ +_("printer-state-reasons.interpreter-resource-unavailable"); +/* TRANSLATORS: Lamp At End of Life */ +_("printer-state-reasons.lamp-at-eol"); +/* TRANSLATORS: Lamp Failure */ +_("printer-state-reasons.lamp-failure"); +/* TRANSLATORS: Lamp Near End of Life */ +_("printer-state-reasons.lamp-near-eol"); +/* TRANSLATORS: Laser At End of Life */ +_("printer-state-reasons.laser-at-eol"); +/* TRANSLATORS: Laser Failure */ +_("printer-state-reasons.laser-failure"); +/* TRANSLATORS: Laser Near End of Life */ +_("printer-state-reasons.laser-near-eol"); +/* TRANSLATORS: Envelope Maker Added */ +_("printer-state-reasons.make-envelope-added"); +/* TRANSLATORS: Envelope Maker Almost Empty */ +_("printer-state-reasons.make-envelope-almost-empty"); +/* TRANSLATORS: Envelope Maker Almost Full */ +_("printer-state-reasons.make-envelope-almost-full"); +/* TRANSLATORS: Envelope Maker At Limit */ +_("printer-state-reasons.make-envelope-at-limit"); +/* TRANSLATORS: Envelope Maker Closed */ +_("printer-state-reasons.make-envelope-closed"); +/* TRANSLATORS: Envelope Maker Configuration Change */ +_("printer-state-reasons.make-envelope-configuration-change"); +/* TRANSLATORS: Envelope Maker Cover Closed */ +_("printer-state-reasons.make-envelope-cover-closed"); +/* TRANSLATORS: Envelope Maker Cover Open */ +_("printer-state-reasons.make-envelope-cover-open"); +/* TRANSLATORS: Envelope Maker Empty */ +_("printer-state-reasons.make-envelope-empty"); +/* TRANSLATORS: Envelope Maker Full */ +_("printer-state-reasons.make-envelope-full"); +/* TRANSLATORS: Envelope Maker Interlock Closed */ +_("printer-state-reasons.make-envelope-interlock-closed"); +/* TRANSLATORS: Envelope Maker Interlock Open */ +_("printer-state-reasons.make-envelope-interlock-open"); +/* TRANSLATORS: Envelope Maker Jam */ +_("printer-state-reasons.make-envelope-jam"); +/* TRANSLATORS: Envelope Maker Life Almost Over */ +_("printer-state-reasons.make-envelope-life-almost-over"); +/* TRANSLATORS: Envelope Maker Life Over */ +_("printer-state-reasons.make-envelope-life-over"); +/* TRANSLATORS: Envelope Maker Memory Exhausted */ +_("printer-state-reasons.make-envelope-memory-exhausted"); +/* TRANSLATORS: Envelope Maker Missing */ +_("printer-state-reasons.make-envelope-missing"); +/* TRANSLATORS: Envelope Maker Motor Failure */ +_("printer-state-reasons.make-envelope-motor-failure"); +/* TRANSLATORS: Envelope Maker Near Limit */ +_("printer-state-reasons.make-envelope-near-limit"); +/* TRANSLATORS: Envelope Maker Offline */ +_("printer-state-reasons.make-envelope-offline"); +/* TRANSLATORS: Envelope Maker Opened */ +_("printer-state-reasons.make-envelope-opened"); +/* TRANSLATORS: Envelope Maker Over Temperature */ +_("printer-state-reasons.make-envelope-over-temperature"); +/* TRANSLATORS: Envelope Maker Power Saver */ +_("printer-state-reasons.make-envelope-power-saver"); +/* TRANSLATORS: Envelope Maker Recoverable Failure */ +_("printer-state-reasons.make-envelope-recoverable-failure"); +/* TRANSLATORS: Envelope Maker Recoverable Storage */ +_("printer-state-reasons.make-envelope-recoverable-storage"); +/* TRANSLATORS: Envelope Maker Removed */ +_("printer-state-reasons.make-envelope-removed"); +/* TRANSLATORS: Envelope Maker Resource Added */ +_("printer-state-reasons.make-envelope-resource-added"); +/* TRANSLATORS: Envelope Maker Resource Removed */ +_("printer-state-reasons.make-envelope-resource-removed"); +/* TRANSLATORS: Envelope Maker Thermistor Failure */ +_("printer-state-reasons.make-envelope-thermistor-failure"); +/* TRANSLATORS: Envelope Maker Timing Failure */ +_("printer-state-reasons.make-envelope-timing-failure"); +/* TRANSLATORS: Envelope Maker Turned Off */ +_("printer-state-reasons.make-envelope-turned-off"); +/* TRANSLATORS: Envelope Maker Turned On */ +_("printer-state-reasons.make-envelope-turned-on"); +/* TRANSLATORS: Envelope Maker Under Temperature */ +_("printer-state-reasons.make-envelope-under-temperature"); +/* TRANSLATORS: Envelope Maker Unrecoverable Failure */ +_("printer-state-reasons.make-envelope-unrecoverable-failure"); +/* TRANSLATORS: Envelope Maker Unrecoverable Storage Error */ +_("printer-state-reasons.make-envelope-unrecoverable-storage-error"); +/* TRANSLATORS: Envelope Maker Warming Up */ +_("printer-state-reasons.make-envelope-warming-up"); +/* TRANSLATORS: Marker Adjusting Print Quality */ +_("printer-state-reasons.marker-adjusting-print-quality"); +/* TRANSLATORS: Marker Cleaner Missing */ +_("printer-state-reasons.marker-cleaner-missing"); +/* TRANSLATORS: Marker Developer Almost Empty */ +_("printer-state-reasons.marker-developer-almost-empty"); +/* TRANSLATORS: Marker Developer Empty */ +_("printer-state-reasons.marker-developer-empty"); +/* TRANSLATORS: Marker Developer Missing */ +_("printer-state-reasons.marker-developer-missing"); +/* TRANSLATORS: Marker Fuser Missing */ +_("printer-state-reasons.marker-fuser-missing"); +/* TRANSLATORS: Marker Fuser Thermistor Failure */ +_("printer-state-reasons.marker-fuser-thermistor-failure"); +/* TRANSLATORS: Marker Fuser Timing Failure */ +_("printer-state-reasons.marker-fuser-timing-failure"); +/* TRANSLATORS: Marker Ink Almost Empty */ +_("printer-state-reasons.marker-ink-almost-empty"); +/* TRANSLATORS: Marker Ink Empty */ +_("printer-state-reasons.marker-ink-empty"); +/* TRANSLATORS: Marker Ink Missing */ +_("printer-state-reasons.marker-ink-missing"); +/* TRANSLATORS: Marker Opc Missing */ +_("printer-state-reasons.marker-opc-missing"); +/* TRANSLATORS: Marker Print Ribbon Almost Empty */ +_("printer-state-reasons.marker-print-ribbon-almost-empty"); +/* TRANSLATORS: Marker Print Ribbon Empty */ +_("printer-state-reasons.marker-print-ribbon-empty"); +/* TRANSLATORS: Marker Print Ribbon Missing */ +_("printer-state-reasons.marker-print-ribbon-missing"); +/* TRANSLATORS: Marker Supply Almost Empty */ +_("printer-state-reasons.marker-supply-almost-empty"); +/* TRANSLATORS: Ink/toner empty */ +_("printer-state-reasons.marker-supply-empty"); +/* TRANSLATORS: Ink/toner low */ +_("printer-state-reasons.marker-supply-low"); +/* TRANSLATORS: Marker Supply Missing */ +_("printer-state-reasons.marker-supply-missing"); +/* TRANSLATORS: Marker Toner Cartridge Missing */ +_("printer-state-reasons.marker-toner-cartridge-missing"); +/* TRANSLATORS: Marker Toner Missing */ +_("printer-state-reasons.marker-toner-missing"); +/* TRANSLATORS: Ink/toner waste bin almost full */ +_("printer-state-reasons.marker-waste-almost-full"); +/* TRANSLATORS: Ink/toner waste bin full */ +_("printer-state-reasons.marker-waste-full"); +/* TRANSLATORS: Marker Waste Ink Receptacle Almost Full */ +_("printer-state-reasons.marker-waste-ink-receptacle-almost-full"); +/* TRANSLATORS: Marker Waste Ink Receptacle Full */ +_("printer-state-reasons.marker-waste-ink-receptacle-full"); +/* TRANSLATORS: Marker Waste Ink Receptacle Missing */ +_("printer-state-reasons.marker-waste-ink-receptacle-missing"); +/* TRANSLATORS: Marker Waste Missing */ +_("printer-state-reasons.marker-waste-missing"); +/* TRANSLATORS: Marker Waste Toner Receptacle Almost Full */ +_("printer-state-reasons.marker-waste-toner-receptacle-almost-full"); +/* TRANSLATORS: Marker Waste Toner Receptacle Full */ +_("printer-state-reasons.marker-waste-toner-receptacle-full"); +/* TRANSLATORS: Marker Waste Toner Receptacle Missing */ +_("printer-state-reasons.marker-waste-toner-receptacle-missing"); +/* TRANSLATORS: Material Empty */ +_("printer-state-reasons.material-empty"); +/* TRANSLATORS: Material Low */ +_("printer-state-reasons.material-low"); +/* TRANSLATORS: Material Needed */ +_("printer-state-reasons.material-needed"); +/* TRANSLATORS: Media Drying */ +_("printer-state-reasons.media-drying"); +/* TRANSLATORS: Paper tray is empty */ +_("printer-state-reasons.media-empty"); +/* TRANSLATORS: Paper jam */ +_("printer-state-reasons.media-jam"); +/* TRANSLATORS: Paper tray is almost empty */ +_("printer-state-reasons.media-low"); +/* TRANSLATORS: Load paper */ +_("printer-state-reasons.media-needed"); +/* TRANSLATORS: Media Path Cannot Do 2-Sided Printing */ +_("printer-state-reasons.media-path-cannot-duplex-media-selected"); +/* TRANSLATORS: Media Path Failure */ +_("printer-state-reasons.media-path-failure"); +/* TRANSLATORS: Media Path Input Empty */ +_("printer-state-reasons.media-path-input-empty"); +/* TRANSLATORS: Media Path Input Feed Error */ +_("printer-state-reasons.media-path-input-feed-error"); +/* TRANSLATORS: Media Path Input Jam */ +_("printer-state-reasons.media-path-input-jam"); +/* TRANSLATORS: Media Path Input Request */ +_("printer-state-reasons.media-path-input-request"); +/* TRANSLATORS: Media Path Jam */ +_("printer-state-reasons.media-path-jam"); +/* TRANSLATORS: Media Path Media Tray Almost Full */ +_("printer-state-reasons.media-path-media-tray-almost-full"); +/* TRANSLATORS: Media Path Media Tray Full */ +_("printer-state-reasons.media-path-media-tray-full"); +/* TRANSLATORS: Media Path Media Tray Missing */ +_("printer-state-reasons.media-path-media-tray-missing"); +/* TRANSLATORS: Media Path Output Feed Error */ +_("printer-state-reasons.media-path-output-feed-error"); +/* TRANSLATORS: Media Path Output Full */ +_("printer-state-reasons.media-path-output-full"); +/* TRANSLATORS: Media Path Output Jam */ +_("printer-state-reasons.media-path-output-jam"); +/* TRANSLATORS: Media Path Pick Roller Failure */ +_("printer-state-reasons.media-path-pick-roller-failure"); +/* TRANSLATORS: Media Path Pick Roller Life Over */ +_("printer-state-reasons.media-path-pick-roller-life-over"); +/* TRANSLATORS: Media Path Pick Roller Life Warn */ +_("printer-state-reasons.media-path-pick-roller-life-warn"); +/* TRANSLATORS: Media Path Pick Roller Missing */ +_("printer-state-reasons.media-path-pick-roller-missing"); +/* TRANSLATORS: Motor Failure */ +_("printer-state-reasons.motor-failure"); +/* TRANSLATORS: Printer going offline */ +_("printer-state-reasons.moving-to-paused"); +/* TRANSLATORS: None */ +_("printer-state-reasons.none"); +/* TRANSLATORS: Optical Photoconductor Life Over */ +_("printer-state-reasons.opc-life-over"); +/* TRANSLATORS: OPC almost at end-of-life */ +_("printer-state-reasons.opc-near-eol"); +/* TRANSLATORS: Check the printer for errors */ +_("printer-state-reasons.other"); +/* TRANSLATORS: Output bin is almost full */ +_("printer-state-reasons.output-area-almost-full"); +/* TRANSLATORS: Output bin is full */ +_("printer-state-reasons.output-area-full"); +/* TRANSLATORS: Output Mailbox Select Failure */ +_("printer-state-reasons.output-mailbox-select-failure"); +/* TRANSLATORS: Output Media Tray Failure */ +_("printer-state-reasons.output-media-tray-failure"); +/* TRANSLATORS: Output Media Tray Feed Error */ +_("printer-state-reasons.output-media-tray-feed-error"); +/* TRANSLATORS: Output Media Tray Jam */ +_("printer-state-reasons.output-media-tray-jam"); +/* TRANSLATORS: Output tray is missing */ +_("printer-state-reasons.output-tray-missing"); +/* TRANSLATORS: Paused */ +_("printer-state-reasons.paused"); +/* TRANSLATORS: Perforater Added */ +_("printer-state-reasons.perforater-added"); +/* TRANSLATORS: Perforater Almost Empty */ +_("printer-state-reasons.perforater-almost-empty"); +/* TRANSLATORS: Perforater Almost Full */ +_("printer-state-reasons.perforater-almost-full"); +/* TRANSLATORS: Perforater At Limit */ +_("printer-state-reasons.perforater-at-limit"); +/* TRANSLATORS: Perforater Closed */ +_("printer-state-reasons.perforater-closed"); +/* TRANSLATORS: Perforater Configuration Change */ +_("printer-state-reasons.perforater-configuration-change"); +/* TRANSLATORS: Perforater Cover Closed */ +_("printer-state-reasons.perforater-cover-closed"); +/* TRANSLATORS: Perforater Cover Open */ +_("printer-state-reasons.perforater-cover-open"); +/* TRANSLATORS: Perforater Empty */ +_("printer-state-reasons.perforater-empty"); +/* TRANSLATORS: Perforater Full */ +_("printer-state-reasons.perforater-full"); +/* TRANSLATORS: Perforater Interlock Closed */ +_("printer-state-reasons.perforater-interlock-closed"); +/* TRANSLATORS: Perforater Interlock Open */ +_("printer-state-reasons.perforater-interlock-open"); +/* TRANSLATORS: Perforater Jam */ +_("printer-state-reasons.perforater-jam"); +/* TRANSLATORS: Perforater Life Almost Over */ +_("printer-state-reasons.perforater-life-almost-over"); +/* TRANSLATORS: Perforater Life Over */ +_("printer-state-reasons.perforater-life-over"); +/* TRANSLATORS: Perforater Memory Exhausted */ +_("printer-state-reasons.perforater-memory-exhausted"); +/* TRANSLATORS: Perforater Missing */ +_("printer-state-reasons.perforater-missing"); +/* TRANSLATORS: Perforater Motor Failure */ +_("printer-state-reasons.perforater-motor-failure"); +/* TRANSLATORS: Perforater Near Limit */ +_("printer-state-reasons.perforater-near-limit"); +/* TRANSLATORS: Perforater Offline */ +_("printer-state-reasons.perforater-offline"); +/* TRANSLATORS: Perforater Opened */ +_("printer-state-reasons.perforater-opened"); +/* TRANSLATORS: Perforater Over Temperature */ +_("printer-state-reasons.perforater-over-temperature"); +/* TRANSLATORS: Perforater Power Saver */ +_("printer-state-reasons.perforater-power-saver"); +/* TRANSLATORS: Perforater Recoverable Failure */ +_("printer-state-reasons.perforater-recoverable-failure"); +/* TRANSLATORS: Perforater Recoverable Storage */ +_("printer-state-reasons.perforater-recoverable-storage"); +/* TRANSLATORS: Perforater Removed */ +_("printer-state-reasons.perforater-removed"); +/* TRANSLATORS: Perforater Resource Added */ +_("printer-state-reasons.perforater-resource-added"); +/* TRANSLATORS: Perforater Resource Removed */ +_("printer-state-reasons.perforater-resource-removed"); +/* TRANSLATORS: Perforater Thermistor Failure */ +_("printer-state-reasons.perforater-thermistor-failure"); +/* TRANSLATORS: Perforater Timing Failure */ +_("printer-state-reasons.perforater-timing-failure"); +/* TRANSLATORS: Perforater Turned Off */ +_("printer-state-reasons.perforater-turned-off"); +/* TRANSLATORS: Perforater Turned On */ +_("printer-state-reasons.perforater-turned-on"); +/* TRANSLATORS: Perforater Under Temperature */ +_("printer-state-reasons.perforater-under-temperature"); +/* TRANSLATORS: Perforater Unrecoverable Failure */ +_("printer-state-reasons.perforater-unrecoverable-failure"); +/* TRANSLATORS: Perforater Unrecoverable Storage Error */ +_("printer-state-reasons.perforater-unrecoverable-storage-error"); +/* TRANSLATORS: Perforater Warming Up */ +_("printer-state-reasons.perforater-warming-up"); +/* TRANSLATORS: Platform Cooling */ +_("printer-state-reasons.platform-cooling"); +/* TRANSLATORS: Platform Failure */ +_("printer-state-reasons.platform-failure"); +/* TRANSLATORS: Platform Heating */ +_("printer-state-reasons.platform-heating"); +/* TRANSLATORS: Platform Temperature High */ +_("printer-state-reasons.platform-temperature-high"); +/* TRANSLATORS: Platform Temperature Low */ +_("printer-state-reasons.platform-temperature-low"); +/* TRANSLATORS: Power Down */ +_("printer-state-reasons.power-down"); +/* TRANSLATORS: Power Up */ +_("printer-state-reasons.power-up"); +/* TRANSLATORS: Printer Reset Manually */ +_("printer-state-reasons.printer-manual-reset"); +/* TRANSLATORS: Printer Reset Remotely */ +_("printer-state-reasons.printer-nms-reset"); +/* TRANSLATORS: Printer Ready To Print */ +_("printer-state-reasons.printer-ready-to-print"); +/* TRANSLATORS: Puncher Added */ +_("printer-state-reasons.puncher-added"); +/* TRANSLATORS: Puncher Almost Empty */ +_("printer-state-reasons.puncher-almost-empty"); +/* TRANSLATORS: Puncher Almost Full */ +_("printer-state-reasons.puncher-almost-full"); +/* TRANSLATORS: Puncher At Limit */ +_("printer-state-reasons.puncher-at-limit"); +/* TRANSLATORS: Puncher Closed */ +_("printer-state-reasons.puncher-closed"); +/* TRANSLATORS: Puncher Configuration Change */ +_("printer-state-reasons.puncher-configuration-change"); +/* TRANSLATORS: Puncher Cover Closed */ +_("printer-state-reasons.puncher-cover-closed"); +/* TRANSLATORS: Puncher Cover Open */ +_("printer-state-reasons.puncher-cover-open"); +/* TRANSLATORS: Puncher Empty */ +_("printer-state-reasons.puncher-empty"); +/* TRANSLATORS: Puncher Full */ +_("printer-state-reasons.puncher-full"); +/* TRANSLATORS: Puncher Interlock Closed */ +_("printer-state-reasons.puncher-interlock-closed"); +/* TRANSLATORS: Puncher Interlock Open */ +_("printer-state-reasons.puncher-interlock-open"); +/* TRANSLATORS: Puncher Jam */ +_("printer-state-reasons.puncher-jam"); +/* TRANSLATORS: Puncher Life Almost Over */ +_("printer-state-reasons.puncher-life-almost-over"); +/* TRANSLATORS: Puncher Life Over */ +_("printer-state-reasons.puncher-life-over"); +/* TRANSLATORS: Puncher Memory Exhausted */ +_("printer-state-reasons.puncher-memory-exhausted"); +/* TRANSLATORS: Puncher Missing */ +_("printer-state-reasons.puncher-missing"); +/* TRANSLATORS: Puncher Motor Failure */ +_("printer-state-reasons.puncher-motor-failure"); +/* TRANSLATORS: Puncher Near Limit */ +_("printer-state-reasons.puncher-near-limit"); +/* TRANSLATORS: Puncher Offline */ +_("printer-state-reasons.puncher-offline"); +/* TRANSLATORS: Puncher Opened */ +_("printer-state-reasons.puncher-opened"); +/* TRANSLATORS: Puncher Over Temperature */ +_("printer-state-reasons.puncher-over-temperature"); +/* TRANSLATORS: Puncher Power Saver */ +_("printer-state-reasons.puncher-power-saver"); +/* TRANSLATORS: Puncher Recoverable Failure */ +_("printer-state-reasons.puncher-recoverable-failure"); +/* TRANSLATORS: Puncher Recoverable Storage */ +_("printer-state-reasons.puncher-recoverable-storage"); +/* TRANSLATORS: Puncher Removed */ +_("printer-state-reasons.puncher-removed"); +/* TRANSLATORS: Puncher Resource Added */ +_("printer-state-reasons.puncher-resource-added"); +/* TRANSLATORS: Puncher Resource Removed */ +_("printer-state-reasons.puncher-resource-removed"); +/* TRANSLATORS: Puncher Thermistor Failure */ +_("printer-state-reasons.puncher-thermistor-failure"); +/* TRANSLATORS: Puncher Timing Failure */ +_("printer-state-reasons.puncher-timing-failure"); +/* TRANSLATORS: Puncher Turned Off */ +_("printer-state-reasons.puncher-turned-off"); +/* TRANSLATORS: Puncher Turned On */ +_("printer-state-reasons.puncher-turned-on"); +/* TRANSLATORS: Puncher Under Temperature */ +_("printer-state-reasons.puncher-under-temperature"); +/* TRANSLATORS: Puncher Unrecoverable Failure */ +_("printer-state-reasons.puncher-unrecoverable-failure"); +/* TRANSLATORS: Puncher Unrecoverable Storage Error */ +_("printer-state-reasons.puncher-unrecoverable-storage-error"); +/* TRANSLATORS: Puncher Warming Up */ +_("printer-state-reasons.puncher-warming-up"); +/* TRANSLATORS: Separation Cutter Added */ +_("printer-state-reasons.separation-cutter-added"); +/* TRANSLATORS: Separation Cutter Almost Empty */ +_("printer-state-reasons.separation-cutter-almost-empty"); +/* TRANSLATORS: Separation Cutter Almost Full */ +_("printer-state-reasons.separation-cutter-almost-full"); +/* TRANSLATORS: Separation Cutter At Limit */ +_("printer-state-reasons.separation-cutter-at-limit"); +/* TRANSLATORS: Separation Cutter Closed */ +_("printer-state-reasons.separation-cutter-closed"); +/* TRANSLATORS: Separation Cutter Configuration Change */ +_("printer-state-reasons.separation-cutter-configuration-change"); +/* TRANSLATORS: Separation Cutter Cover Closed */ +_("printer-state-reasons.separation-cutter-cover-closed"); +/* TRANSLATORS: Separation Cutter Cover Open */ +_("printer-state-reasons.separation-cutter-cover-open"); +/* TRANSLATORS: Separation Cutter Empty */ +_("printer-state-reasons.separation-cutter-empty"); +/* TRANSLATORS: Separation Cutter Full */ +_("printer-state-reasons.separation-cutter-full"); +/* TRANSLATORS: Separation Cutter Interlock Closed */ +_("printer-state-reasons.separation-cutter-interlock-closed"); +/* TRANSLATORS: Separation Cutter Interlock Open */ +_("printer-state-reasons.separation-cutter-interlock-open"); +/* TRANSLATORS: Separation Cutter Jam */ +_("printer-state-reasons.separation-cutter-jam"); +/* TRANSLATORS: Separation Cutter Life Almost Over */ +_("printer-state-reasons.separation-cutter-life-almost-over"); +/* TRANSLATORS: Separation Cutter Life Over */ +_("printer-state-reasons.separation-cutter-life-over"); +/* TRANSLATORS: Separation Cutter Memory Exhausted */ +_("printer-state-reasons.separation-cutter-memory-exhausted"); +/* TRANSLATORS: Separation Cutter Missing */ +_("printer-state-reasons.separation-cutter-missing"); +/* TRANSLATORS: Separation Cutter Motor Failure */ +_("printer-state-reasons.separation-cutter-motor-failure"); +/* TRANSLATORS: Separation Cutter Near Limit */ +_("printer-state-reasons.separation-cutter-near-limit"); +/* TRANSLATORS: Separation Cutter Offline */ +_("printer-state-reasons.separation-cutter-offline"); +/* TRANSLATORS: Separation Cutter Opened */ +_("printer-state-reasons.separation-cutter-opened"); +/* TRANSLATORS: Separation Cutter Over Temperature */ +_("printer-state-reasons.separation-cutter-over-temperature"); +/* TRANSLATORS: Separation Cutter Power Saver */ +_("printer-state-reasons.separation-cutter-power-saver"); +/* TRANSLATORS: Separation Cutter Recoverable Failure */ +_("printer-state-reasons.separation-cutter-recoverable-failure"); +/* TRANSLATORS: Separation Cutter Recoverable Storage */ +_("printer-state-reasons.separation-cutter-recoverable-storage"); +/* TRANSLATORS: Separation Cutter Removed */ +_("printer-state-reasons.separation-cutter-removed"); +/* TRANSLATORS: Separation Cutter Resource Added */ +_("printer-state-reasons.separation-cutter-resource-added"); +/* TRANSLATORS: Separation Cutter Resource Removed */ +_("printer-state-reasons.separation-cutter-resource-removed"); +/* TRANSLATORS: Separation Cutter Thermistor Failure */ +_("printer-state-reasons.separation-cutter-thermistor-failure"); +/* TRANSLATORS: Separation Cutter Timing Failure */ +_("printer-state-reasons.separation-cutter-timing-failure"); +/* TRANSLATORS: Separation Cutter Turned Off */ +_("printer-state-reasons.separation-cutter-turned-off"); +/* TRANSLATORS: Separation Cutter Turned On */ +_("printer-state-reasons.separation-cutter-turned-on"); +/* TRANSLATORS: Separation Cutter Under Temperature */ +_("printer-state-reasons.separation-cutter-under-temperature"); +/* TRANSLATORS: Separation Cutter Unrecoverable Failure */ +_("printer-state-reasons.separation-cutter-unrecoverable-failure"); +/* TRANSLATORS: Separation Cutter Unrecoverable Storage Error */ +_("printer-state-reasons.separation-cutter-unrecoverable-storage-error"); +/* TRANSLATORS: Separation Cutter Warming Up */ +_("printer-state-reasons.separation-cutter-warming-up"); +/* TRANSLATORS: Sheet Rotator Added */ +_("printer-state-reasons.sheet-rotator-added"); +/* TRANSLATORS: Sheet Rotator Almost Empty */ +_("printer-state-reasons.sheet-rotator-almost-empty"); +/* TRANSLATORS: Sheet Rotator Almost Full */ +_("printer-state-reasons.sheet-rotator-almost-full"); +/* TRANSLATORS: Sheet Rotator At Limit */ +_("printer-state-reasons.sheet-rotator-at-limit"); +/* TRANSLATORS: Sheet Rotator Closed */ +_("printer-state-reasons.sheet-rotator-closed"); +/* TRANSLATORS: Sheet Rotator Configuration Change */ +_("printer-state-reasons.sheet-rotator-configuration-change"); +/* TRANSLATORS: Sheet Rotator Cover Closed */ +_("printer-state-reasons.sheet-rotator-cover-closed"); +/* TRANSLATORS: Sheet Rotator Cover Open */ +_("printer-state-reasons.sheet-rotator-cover-open"); +/* TRANSLATORS: Sheet Rotator Empty */ +_("printer-state-reasons.sheet-rotator-empty"); +/* TRANSLATORS: Sheet Rotator Full */ +_("printer-state-reasons.sheet-rotator-full"); +/* TRANSLATORS: Sheet Rotator Interlock Closed */ +_("printer-state-reasons.sheet-rotator-interlock-closed"); +/* TRANSLATORS: Sheet Rotator Interlock Open */ +_("printer-state-reasons.sheet-rotator-interlock-open"); +/* TRANSLATORS: Sheet Rotator Jam */ +_("printer-state-reasons.sheet-rotator-jam"); +/* TRANSLATORS: Sheet Rotator Life Almost Over */ +_("printer-state-reasons.sheet-rotator-life-almost-over"); +/* TRANSLATORS: Sheet Rotator Life Over */ +_("printer-state-reasons.sheet-rotator-life-over"); +/* TRANSLATORS: Sheet Rotator Memory Exhausted */ +_("printer-state-reasons.sheet-rotator-memory-exhausted"); +/* TRANSLATORS: Sheet Rotator Missing */ +_("printer-state-reasons.sheet-rotator-missing"); +/* TRANSLATORS: Sheet Rotator Motor Failure */ +_("printer-state-reasons.sheet-rotator-motor-failure"); +/* TRANSLATORS: Sheet Rotator Near Limit */ +_("printer-state-reasons.sheet-rotator-near-limit"); +/* TRANSLATORS: Sheet Rotator Offline */ +_("printer-state-reasons.sheet-rotator-offline"); +/* TRANSLATORS: Sheet Rotator Opened */ +_("printer-state-reasons.sheet-rotator-opened"); +/* TRANSLATORS: Sheet Rotator Over Temperature */ +_("printer-state-reasons.sheet-rotator-over-temperature"); +/* TRANSLATORS: Sheet Rotator Power Saver */ +_("printer-state-reasons.sheet-rotator-power-saver"); +/* TRANSLATORS: Sheet Rotator Recoverable Failure */ +_("printer-state-reasons.sheet-rotator-recoverable-failure"); +/* TRANSLATORS: Sheet Rotator Recoverable Storage */ +_("printer-state-reasons.sheet-rotator-recoverable-storage"); +/* TRANSLATORS: Sheet Rotator Removed */ +_("printer-state-reasons.sheet-rotator-removed"); +/* TRANSLATORS: Sheet Rotator Resource Added */ +_("printer-state-reasons.sheet-rotator-resource-added"); +/* TRANSLATORS: Sheet Rotator Resource Removed */ +_("printer-state-reasons.sheet-rotator-resource-removed"); +/* TRANSLATORS: Sheet Rotator Thermistor Failure */ +_("printer-state-reasons.sheet-rotator-thermistor-failure"); +/* TRANSLATORS: Sheet Rotator Timing Failure */ +_("printer-state-reasons.sheet-rotator-timing-failure"); +/* TRANSLATORS: Sheet Rotator Turned Off */ +_("printer-state-reasons.sheet-rotator-turned-off"); +/* TRANSLATORS: Sheet Rotator Turned On */ +_("printer-state-reasons.sheet-rotator-turned-on"); +/* TRANSLATORS: Sheet Rotator Under Temperature */ +_("printer-state-reasons.sheet-rotator-under-temperature"); +/* TRANSLATORS: Sheet Rotator Unrecoverable Failure */ +_("printer-state-reasons.sheet-rotator-unrecoverable-failure"); +/* TRANSLATORS: Sheet Rotator Unrecoverable Storage Error */ +_("printer-state-reasons.sheet-rotator-unrecoverable-storage-error"); +/* TRANSLATORS: Sheet Rotator Warming Up */ +_("printer-state-reasons.sheet-rotator-warming-up"); +/* TRANSLATORS: Printer offline */ +_("printer-state-reasons.shutdown"); +/* TRANSLATORS: Slitter Added */ +_("printer-state-reasons.slitter-added"); +/* TRANSLATORS: Slitter Almost Empty */ +_("printer-state-reasons.slitter-almost-empty"); +/* TRANSLATORS: Slitter Almost Full */ +_("printer-state-reasons.slitter-almost-full"); +/* TRANSLATORS: Slitter At Limit */ +_("printer-state-reasons.slitter-at-limit"); +/* TRANSLATORS: Slitter Closed */ +_("printer-state-reasons.slitter-closed"); +/* TRANSLATORS: Slitter Configuration Change */ +_("printer-state-reasons.slitter-configuration-change"); +/* TRANSLATORS: Slitter Cover Closed */ +_("printer-state-reasons.slitter-cover-closed"); +/* TRANSLATORS: Slitter Cover Open */ +_("printer-state-reasons.slitter-cover-open"); +/* TRANSLATORS: Slitter Empty */ +_("printer-state-reasons.slitter-empty"); +/* TRANSLATORS: Slitter Full */ +_("printer-state-reasons.slitter-full"); +/* TRANSLATORS: Slitter Interlock Closed */ +_("printer-state-reasons.slitter-interlock-closed"); +/* TRANSLATORS: Slitter Interlock Open */ +_("printer-state-reasons.slitter-interlock-open"); +/* TRANSLATORS: Slitter Jam */ +_("printer-state-reasons.slitter-jam"); +/* TRANSLATORS: Slitter Life Almost Over */ +_("printer-state-reasons.slitter-life-almost-over"); +/* TRANSLATORS: Slitter Life Over */ +_("printer-state-reasons.slitter-life-over"); +/* TRANSLATORS: Slitter Memory Exhausted */ +_("printer-state-reasons.slitter-memory-exhausted"); +/* TRANSLATORS: Slitter Missing */ +_("printer-state-reasons.slitter-missing"); +/* TRANSLATORS: Slitter Motor Failure */ +_("printer-state-reasons.slitter-motor-failure"); +/* TRANSLATORS: Slitter Near Limit */ +_("printer-state-reasons.slitter-near-limit"); +/* TRANSLATORS: Slitter Offline */ +_("printer-state-reasons.slitter-offline"); +/* TRANSLATORS: Slitter Opened */ +_("printer-state-reasons.slitter-opened"); +/* TRANSLATORS: Slitter Over Temperature */ +_("printer-state-reasons.slitter-over-temperature"); +/* TRANSLATORS: Slitter Power Saver */ +_("printer-state-reasons.slitter-power-saver"); +/* TRANSLATORS: Slitter Recoverable Failure */ +_("printer-state-reasons.slitter-recoverable-failure"); +/* TRANSLATORS: Slitter Recoverable Storage */ +_("printer-state-reasons.slitter-recoverable-storage"); +/* TRANSLATORS: Slitter Removed */ +_("printer-state-reasons.slitter-removed"); +/* TRANSLATORS: Slitter Resource Added */ +_("printer-state-reasons.slitter-resource-added"); +/* TRANSLATORS: Slitter Resource Removed */ +_("printer-state-reasons.slitter-resource-removed"); +/* TRANSLATORS: Slitter Thermistor Failure */ +_("printer-state-reasons.slitter-thermistor-failure"); +/* TRANSLATORS: Slitter Timing Failure */ +_("printer-state-reasons.slitter-timing-failure"); +/* TRANSLATORS: Slitter Turned Off */ +_("printer-state-reasons.slitter-turned-off"); +/* TRANSLATORS: Slitter Turned On */ +_("printer-state-reasons.slitter-turned-on"); +/* TRANSLATORS: Slitter Under Temperature */ +_("printer-state-reasons.slitter-under-temperature"); +/* TRANSLATORS: Slitter Unrecoverable Failure */ +_("printer-state-reasons.slitter-unrecoverable-failure"); +/* TRANSLATORS: Slitter Unrecoverable Storage Error */ +_("printer-state-reasons.slitter-unrecoverable-storage-error"); +/* TRANSLATORS: Slitter Warming Up */ +_("printer-state-reasons.slitter-warming-up"); +/* TRANSLATORS: Spool Area Full */ +_("printer-state-reasons.spool-area-full"); +/* TRANSLATORS: Stacker Added */ +_("printer-state-reasons.stacker-added"); +/* TRANSLATORS: Stacker Almost Empty */ +_("printer-state-reasons.stacker-almost-empty"); +/* TRANSLATORS: Stacker Almost Full */ +_("printer-state-reasons.stacker-almost-full"); +/* TRANSLATORS: Stacker At Limit */ +_("printer-state-reasons.stacker-at-limit"); +/* TRANSLATORS: Stacker Closed */ +_("printer-state-reasons.stacker-closed"); +/* TRANSLATORS: Stacker Configuration Change */ +_("printer-state-reasons.stacker-configuration-change"); +/* TRANSLATORS: Stacker Cover Closed */ +_("printer-state-reasons.stacker-cover-closed"); +/* TRANSLATORS: Stacker Cover Open */ +_("printer-state-reasons.stacker-cover-open"); +/* TRANSLATORS: Stacker Empty */ +_("printer-state-reasons.stacker-empty"); +/* TRANSLATORS: Stacker Full */ +_("printer-state-reasons.stacker-full"); +/* TRANSLATORS: Stacker Interlock Closed */ +_("printer-state-reasons.stacker-interlock-closed"); +/* TRANSLATORS: Stacker Interlock Open */ +_("printer-state-reasons.stacker-interlock-open"); +/* TRANSLATORS: Stacker Jam */ +_("printer-state-reasons.stacker-jam"); +/* TRANSLATORS: Stacker Life Almost Over */ +_("printer-state-reasons.stacker-life-almost-over"); +/* TRANSLATORS: Stacker Life Over */ +_("printer-state-reasons.stacker-life-over"); +/* TRANSLATORS: Stacker Memory Exhausted */ +_("printer-state-reasons.stacker-memory-exhausted"); +/* TRANSLATORS: Stacker Missing */ +_("printer-state-reasons.stacker-missing"); +/* TRANSLATORS: Stacker Motor Failure */ +_("printer-state-reasons.stacker-motor-failure"); +/* TRANSLATORS: Stacker Near Limit */ +_("printer-state-reasons.stacker-near-limit"); +/* TRANSLATORS: Stacker Offline */ +_("printer-state-reasons.stacker-offline"); +/* TRANSLATORS: Stacker Opened */ +_("printer-state-reasons.stacker-opened"); +/* TRANSLATORS: Stacker Over Temperature */ +_("printer-state-reasons.stacker-over-temperature"); +/* TRANSLATORS: Stacker Power Saver */ +_("printer-state-reasons.stacker-power-saver"); +/* TRANSLATORS: Stacker Recoverable Failure */ +_("printer-state-reasons.stacker-recoverable-failure"); +/* TRANSLATORS: Stacker Recoverable Storage */ +_("printer-state-reasons.stacker-recoverable-storage"); +/* TRANSLATORS: Stacker Removed */ +_("printer-state-reasons.stacker-removed"); +/* TRANSLATORS: Stacker Resource Added */ +_("printer-state-reasons.stacker-resource-added"); +/* TRANSLATORS: Stacker Resource Removed */ +_("printer-state-reasons.stacker-resource-removed"); +/* TRANSLATORS: Stacker Thermistor Failure */ +_("printer-state-reasons.stacker-thermistor-failure"); +/* TRANSLATORS: Stacker Timing Failure */ +_("printer-state-reasons.stacker-timing-failure"); +/* TRANSLATORS: Stacker Turned Off */ +_("printer-state-reasons.stacker-turned-off"); +/* TRANSLATORS: Stacker Turned On */ +_("printer-state-reasons.stacker-turned-on"); +/* TRANSLATORS: Stacker Under Temperature */ +_("printer-state-reasons.stacker-under-temperature"); +/* TRANSLATORS: Stacker Unrecoverable Failure */ +_("printer-state-reasons.stacker-unrecoverable-failure"); +/* TRANSLATORS: Stacker Unrecoverable Storage Error */ +_("printer-state-reasons.stacker-unrecoverable-storage-error"); +/* TRANSLATORS: Stacker Warming Up */ +_("printer-state-reasons.stacker-warming-up"); +/* TRANSLATORS: Stapler Added */ +_("printer-state-reasons.stapler-added"); +/* TRANSLATORS: Stapler Almost Empty */ +_("printer-state-reasons.stapler-almost-empty"); +/* TRANSLATORS: Stapler Almost Full */ +_("printer-state-reasons.stapler-almost-full"); +/* TRANSLATORS: Stapler At Limit */ +_("printer-state-reasons.stapler-at-limit"); +/* TRANSLATORS: Stapler Closed */ +_("printer-state-reasons.stapler-closed"); +/* TRANSLATORS: Stapler Configuration Change */ +_("printer-state-reasons.stapler-configuration-change"); +/* TRANSLATORS: Stapler Cover Closed */ +_("printer-state-reasons.stapler-cover-closed"); +/* TRANSLATORS: Stapler Cover Open */ +_("printer-state-reasons.stapler-cover-open"); +/* TRANSLATORS: Stapler Empty */ +_("printer-state-reasons.stapler-empty"); +/* TRANSLATORS: Stapler Full */ +_("printer-state-reasons.stapler-full"); +/* TRANSLATORS: Stapler Interlock Closed */ +_("printer-state-reasons.stapler-interlock-closed"); +/* TRANSLATORS: Stapler Interlock Open */ +_("printer-state-reasons.stapler-interlock-open"); +/* TRANSLATORS: Stapler Jam */ +_("printer-state-reasons.stapler-jam"); +/* TRANSLATORS: Stapler Life Almost Over */ +_("printer-state-reasons.stapler-life-almost-over"); +/* TRANSLATORS: Stapler Life Over */ +_("printer-state-reasons.stapler-life-over"); +/* TRANSLATORS: Stapler Memory Exhausted */ +_("printer-state-reasons.stapler-memory-exhausted"); +/* TRANSLATORS: Stapler Missing */ +_("printer-state-reasons.stapler-missing"); +/* TRANSLATORS: Stapler Motor Failure */ +_("printer-state-reasons.stapler-motor-failure"); +/* TRANSLATORS: Stapler Near Limit */ +_("printer-state-reasons.stapler-near-limit"); +/* TRANSLATORS: Stapler Offline */ +_("printer-state-reasons.stapler-offline"); +/* TRANSLATORS: Stapler Opened */ +_("printer-state-reasons.stapler-opened"); +/* TRANSLATORS: Stapler Over Temperature */ +_("printer-state-reasons.stapler-over-temperature"); +/* TRANSLATORS: Stapler Power Saver */ +_("printer-state-reasons.stapler-power-saver"); +/* TRANSLATORS: Stapler Recoverable Failure */ +_("printer-state-reasons.stapler-recoverable-failure"); +/* TRANSLATORS: Stapler Recoverable Storage */ +_("printer-state-reasons.stapler-recoverable-storage"); +/* TRANSLATORS: Stapler Removed */ +_("printer-state-reasons.stapler-removed"); +/* TRANSLATORS: Stapler Resource Added */ +_("printer-state-reasons.stapler-resource-added"); +/* TRANSLATORS: Stapler Resource Removed */ +_("printer-state-reasons.stapler-resource-removed"); +/* TRANSLATORS: Stapler Thermistor Failure */ +_("printer-state-reasons.stapler-thermistor-failure"); +/* TRANSLATORS: Stapler Timing Failure */ +_("printer-state-reasons.stapler-timing-failure"); +/* TRANSLATORS: Stapler Turned Off */ +_("printer-state-reasons.stapler-turned-off"); +/* TRANSLATORS: Stapler Turned On */ +_("printer-state-reasons.stapler-turned-on"); +/* TRANSLATORS: Stapler Under Temperature */ +_("printer-state-reasons.stapler-under-temperature"); +/* TRANSLATORS: Stapler Unrecoverable Failure */ +_("printer-state-reasons.stapler-unrecoverable-failure"); +/* TRANSLATORS: Stapler Unrecoverable Storage Error */ +_("printer-state-reasons.stapler-unrecoverable-storage-error"); +/* TRANSLATORS: Stapler Warming Up */ +_("printer-state-reasons.stapler-warming-up"); +/* TRANSLATORS: Stitcher Added */ +_("printer-state-reasons.stitcher-added"); +/* TRANSLATORS: Stitcher Almost Empty */ +_("printer-state-reasons.stitcher-almost-empty"); +/* TRANSLATORS: Stitcher Almost Full */ +_("printer-state-reasons.stitcher-almost-full"); +/* TRANSLATORS: Stitcher At Limit */ +_("printer-state-reasons.stitcher-at-limit"); +/* TRANSLATORS: Stitcher Closed */ +_("printer-state-reasons.stitcher-closed"); +/* TRANSLATORS: Stitcher Configuration Change */ +_("printer-state-reasons.stitcher-configuration-change"); +/* TRANSLATORS: Stitcher Cover Closed */ +_("printer-state-reasons.stitcher-cover-closed"); +/* TRANSLATORS: Stitcher Cover Open */ +_("printer-state-reasons.stitcher-cover-open"); +/* TRANSLATORS: Stitcher Empty */ +_("printer-state-reasons.stitcher-empty"); +/* TRANSLATORS: Stitcher Full */ +_("printer-state-reasons.stitcher-full"); +/* TRANSLATORS: Stitcher Interlock Closed */ +_("printer-state-reasons.stitcher-interlock-closed"); +/* TRANSLATORS: Stitcher Interlock Open */ +_("printer-state-reasons.stitcher-interlock-open"); +/* TRANSLATORS: Stitcher Jam */ +_("printer-state-reasons.stitcher-jam"); +/* TRANSLATORS: Stitcher Life Almost Over */ +_("printer-state-reasons.stitcher-life-almost-over"); +/* TRANSLATORS: Stitcher Life Over */ +_("printer-state-reasons.stitcher-life-over"); +/* TRANSLATORS: Stitcher Memory Exhausted */ +_("printer-state-reasons.stitcher-memory-exhausted"); +/* TRANSLATORS: Stitcher Missing */ +_("printer-state-reasons.stitcher-missing"); +/* TRANSLATORS: Stitcher Motor Failure */ +_("printer-state-reasons.stitcher-motor-failure"); +/* TRANSLATORS: Stitcher Near Limit */ +_("printer-state-reasons.stitcher-near-limit"); +/* TRANSLATORS: Stitcher Offline */ +_("printer-state-reasons.stitcher-offline"); +/* TRANSLATORS: Stitcher Opened */ +_("printer-state-reasons.stitcher-opened"); +/* TRANSLATORS: Stitcher Over Temperature */ +_("printer-state-reasons.stitcher-over-temperature"); +/* TRANSLATORS: Stitcher Power Saver */ +_("printer-state-reasons.stitcher-power-saver"); +/* TRANSLATORS: Stitcher Recoverable Failure */ +_("printer-state-reasons.stitcher-recoverable-failure"); +/* TRANSLATORS: Stitcher Recoverable Storage */ +_("printer-state-reasons.stitcher-recoverable-storage"); +/* TRANSLATORS: Stitcher Removed */ +_("printer-state-reasons.stitcher-removed"); +/* TRANSLATORS: Stitcher Resource Added */ +_("printer-state-reasons.stitcher-resource-added"); +/* TRANSLATORS: Stitcher Resource Removed */ +_("printer-state-reasons.stitcher-resource-removed"); +/* TRANSLATORS: Stitcher Thermistor Failure */ +_("printer-state-reasons.stitcher-thermistor-failure"); +/* TRANSLATORS: Stitcher Timing Failure */ +_("printer-state-reasons.stitcher-timing-failure"); +/* TRANSLATORS: Stitcher Turned Off */ +_("printer-state-reasons.stitcher-turned-off"); +/* TRANSLATORS: Stitcher Turned On */ +_("printer-state-reasons.stitcher-turned-on"); +/* TRANSLATORS: Stitcher Under Temperature */ +_("printer-state-reasons.stitcher-under-temperature"); +/* TRANSLATORS: Stitcher Unrecoverable Failure */ +_("printer-state-reasons.stitcher-unrecoverable-failure"); +/* TRANSLATORS: Stitcher Unrecoverable Storage Error */ +_("printer-state-reasons.stitcher-unrecoverable-storage-error"); +/* TRANSLATORS: Stitcher Warming Up */ +_("printer-state-reasons.stitcher-warming-up"); +/* TRANSLATORS: Partially stopped */ +_("printer-state-reasons.stopped-partly"); +/* TRANSLATORS: Stopping */ +_("printer-state-reasons.stopping"); +/* TRANSLATORS: Subunit Added */ +_("printer-state-reasons.subunit-added"); +/* TRANSLATORS: Subunit Almost Empty */ +_("printer-state-reasons.subunit-almost-empty"); +/* TRANSLATORS: Subunit Almost Full */ +_("printer-state-reasons.subunit-almost-full"); +/* TRANSLATORS: Subunit At Limit */ +_("printer-state-reasons.subunit-at-limit"); +/* TRANSLATORS: Subunit Closed */ +_("printer-state-reasons.subunit-closed"); +/* TRANSLATORS: Subunit Cooling Down */ +_("printer-state-reasons.subunit-cooling-down"); +/* TRANSLATORS: Subunit Empty */ +_("printer-state-reasons.subunit-empty"); +/* TRANSLATORS: Subunit Full */ +_("printer-state-reasons.subunit-full"); +/* TRANSLATORS: Subunit Life Almost Over */ +_("printer-state-reasons.subunit-life-almost-over"); +/* TRANSLATORS: Subunit Life Over */ +_("printer-state-reasons.subunit-life-over"); +/* TRANSLATORS: Subunit Memory Exhausted */ +_("printer-state-reasons.subunit-memory-exhausted"); +/* TRANSLATORS: Subunit Missing */ +_("printer-state-reasons.subunit-missing"); +/* TRANSLATORS: Subunit Motor Failure */ +_("printer-state-reasons.subunit-motor-failure"); +/* TRANSLATORS: Subunit Near Limit */ +_("printer-state-reasons.subunit-near-limit"); +/* TRANSLATORS: Subunit Offline */ +_("printer-state-reasons.subunit-offline"); +/* TRANSLATORS: Subunit Opened */ +_("printer-state-reasons.subunit-opened"); +/* TRANSLATORS: Subunit Over Temperature */ +_("printer-state-reasons.subunit-over-temperature"); +/* TRANSLATORS: Subunit Power Saver */ +_("printer-state-reasons.subunit-power-saver"); +/* TRANSLATORS: Subunit Recoverable Failure */ +_("printer-state-reasons.subunit-recoverable-failure"); +/* TRANSLATORS: Subunit Recoverable Storage */ +_("printer-state-reasons.subunit-recoverable-storage"); +/* TRANSLATORS: Subunit Removed */ +_("printer-state-reasons.subunit-removed"); +/* TRANSLATORS: Subunit Resource Added */ +_("printer-state-reasons.subunit-resource-added"); +/* TRANSLATORS: Subunit Resource Removed */ +_("printer-state-reasons.subunit-resource-removed"); +/* TRANSLATORS: Subunit Thermistor Failure */ +_("printer-state-reasons.subunit-thermistor-failure"); +/* TRANSLATORS: Subunit Timing Failure */ +_("printer-state-reasons.subunit-timing-Failure"); +/* TRANSLATORS: Subunit Turned Off */ +_("printer-state-reasons.subunit-turned-off"); +/* TRANSLATORS: Subunit Turned On */ +_("printer-state-reasons.subunit-turned-on"); +/* TRANSLATORS: Subunit Under Temperature */ +_("printer-state-reasons.subunit-under-temperature"); +/* TRANSLATORS: Subunit Unrecoverable Failure */ +_("printer-state-reasons.subunit-unrecoverable-failure"); +/* TRANSLATORS: Subunit Unrecoverable Storage */ +_("printer-state-reasons.subunit-unrecoverable-storage"); +/* TRANSLATORS: Subunit Warming Up */ +_("printer-state-reasons.subunit-warming-up"); +/* TRANSLATORS: Printer stopped responding */ +_("printer-state-reasons.timed-out"); +/* TRANSLATORS: Out of toner */ +_("printer-state-reasons.toner-empty"); +/* TRANSLATORS: Toner low */ +_("printer-state-reasons.toner-low"); +/* TRANSLATORS: Trimmer Added */ +_("printer-state-reasons.trimmer-added"); +/* TRANSLATORS: Trimmer Almost Empty */ +_("printer-state-reasons.trimmer-almost-empty"); +/* TRANSLATORS: Trimmer Almost Full */ +_("printer-state-reasons.trimmer-almost-full"); +/* TRANSLATORS: Trimmer At Limit */ +_("printer-state-reasons.trimmer-at-limit"); +/* TRANSLATORS: Trimmer Closed */ +_("printer-state-reasons.trimmer-closed"); +/* TRANSLATORS: Trimmer Configuration Change */ +_("printer-state-reasons.trimmer-configuration-change"); +/* TRANSLATORS: Trimmer Cover Closed */ +_("printer-state-reasons.trimmer-cover-closed"); +/* TRANSLATORS: Trimmer Cover Open */ +_("printer-state-reasons.trimmer-cover-open"); +/* TRANSLATORS: Trimmer Empty */ +_("printer-state-reasons.trimmer-empty"); +/* TRANSLATORS: Trimmer Full */ +_("printer-state-reasons.trimmer-full"); +/* TRANSLATORS: Trimmer Interlock Closed */ +_("printer-state-reasons.trimmer-interlock-closed"); +/* TRANSLATORS: Trimmer Interlock Open */ +_("printer-state-reasons.trimmer-interlock-open"); +/* TRANSLATORS: Trimmer Jam */ +_("printer-state-reasons.trimmer-jam"); +/* TRANSLATORS: Trimmer Life Almost Over */ +_("printer-state-reasons.trimmer-life-almost-over"); +/* TRANSLATORS: Trimmer Life Over */ +_("printer-state-reasons.trimmer-life-over"); +/* TRANSLATORS: Trimmer Memory Exhausted */ +_("printer-state-reasons.trimmer-memory-exhausted"); +/* TRANSLATORS: Trimmer Missing */ +_("printer-state-reasons.trimmer-missing"); +/* TRANSLATORS: Trimmer Motor Failure */ +_("printer-state-reasons.trimmer-motor-failure"); +/* TRANSLATORS: Trimmer Near Limit */ +_("printer-state-reasons.trimmer-near-limit"); +/* TRANSLATORS: Trimmer Offline */ +_("printer-state-reasons.trimmer-offline"); +/* TRANSLATORS: Trimmer Opened */ +_("printer-state-reasons.trimmer-opened"); +/* TRANSLATORS: Trimmer Over Temperature */ +_("printer-state-reasons.trimmer-over-temperature"); +/* TRANSLATORS: Trimmer Power Saver */ +_("printer-state-reasons.trimmer-power-saver"); +/* TRANSLATORS: Trimmer Recoverable Failure */ +_("printer-state-reasons.trimmer-recoverable-failure"); +/* TRANSLATORS: Trimmer Recoverable Storage */ +_("printer-state-reasons.trimmer-recoverable-storage"); +/* TRANSLATORS: Trimmer Removed */ +_("printer-state-reasons.trimmer-removed"); +/* TRANSLATORS: Trimmer Resource Added */ +_("printer-state-reasons.trimmer-resource-added"); +/* TRANSLATORS: Trimmer Resource Removed */ +_("printer-state-reasons.trimmer-resource-removed"); +/* TRANSLATORS: Trimmer Thermistor Failure */ +_("printer-state-reasons.trimmer-thermistor-failure"); +/* TRANSLATORS: Trimmer Timing Failure */ +_("printer-state-reasons.trimmer-timing-failure"); +/* TRANSLATORS: Trimmer Turned Off */ +_("printer-state-reasons.trimmer-turned-off"); +/* TRANSLATORS: Trimmer Turned On */ +_("printer-state-reasons.trimmer-turned-on"); +/* TRANSLATORS: Trimmer Under Temperature */ +_("printer-state-reasons.trimmer-under-temperature"); +/* TRANSLATORS: Trimmer Unrecoverable Failure */ +_("printer-state-reasons.trimmer-unrecoverable-failure"); +/* TRANSLATORS: Trimmer Unrecoverable Storage Error */ +_("printer-state-reasons.trimmer-unrecoverable-storage-error"); +/* TRANSLATORS: Trimmer Warming Up */ +_("printer-state-reasons.trimmer-warming-up"); +/* TRANSLATORS: Unknown */ +_("printer-state-reasons.unknown"); +/* TRANSLATORS: Wrapper Added */ +_("printer-state-reasons.wrapper-added"); +/* TRANSLATORS: Wrapper Almost Empty */ +_("printer-state-reasons.wrapper-almost-empty"); +/* TRANSLATORS: Wrapper Almost Full */ +_("printer-state-reasons.wrapper-almost-full"); +/* TRANSLATORS: Wrapper At Limit */ +_("printer-state-reasons.wrapper-at-limit"); +/* TRANSLATORS: Wrapper Closed */ +_("printer-state-reasons.wrapper-closed"); +/* TRANSLATORS: Wrapper Configuration Change */ +_("printer-state-reasons.wrapper-configuration-change"); +/* TRANSLATORS: Wrapper Cover Closed */ +_("printer-state-reasons.wrapper-cover-closed"); +/* TRANSLATORS: Wrapper Cover Open */ +_("printer-state-reasons.wrapper-cover-open"); +/* TRANSLATORS: Wrapper Empty */ +_("printer-state-reasons.wrapper-empty"); +/* TRANSLATORS: Wrapper Full */ +_("printer-state-reasons.wrapper-full"); +/* TRANSLATORS: Wrapper Interlock Closed */ +_("printer-state-reasons.wrapper-interlock-closed"); +/* TRANSLATORS: Wrapper Interlock Open */ +_("printer-state-reasons.wrapper-interlock-open"); +/* TRANSLATORS: Wrapper Jam */ +_("printer-state-reasons.wrapper-jam"); +/* TRANSLATORS: Wrapper Life Almost Over */ +_("printer-state-reasons.wrapper-life-almost-over"); +/* TRANSLATORS: Wrapper Life Over */ +_("printer-state-reasons.wrapper-life-over"); +/* TRANSLATORS: Wrapper Memory Exhausted */ +_("printer-state-reasons.wrapper-memory-exhausted"); +/* TRANSLATORS: Wrapper Missing */ +_("printer-state-reasons.wrapper-missing"); +/* TRANSLATORS: Wrapper Motor Failure */ +_("printer-state-reasons.wrapper-motor-failure"); +/* TRANSLATORS: Wrapper Near Limit */ +_("printer-state-reasons.wrapper-near-limit"); +/* TRANSLATORS: Wrapper Offline */ +_("printer-state-reasons.wrapper-offline"); +/* TRANSLATORS: Wrapper Opened */ +_("printer-state-reasons.wrapper-opened"); +/* TRANSLATORS: Wrapper Over Temperature */ +_("printer-state-reasons.wrapper-over-temperature"); +/* TRANSLATORS: Wrapper Power Saver */ +_("printer-state-reasons.wrapper-power-saver"); +/* TRANSLATORS: Wrapper Recoverable Failure */ +_("printer-state-reasons.wrapper-recoverable-failure"); +/* TRANSLATORS: Wrapper Recoverable Storage */ +_("printer-state-reasons.wrapper-recoverable-storage"); +/* TRANSLATORS: Wrapper Removed */ +_("printer-state-reasons.wrapper-removed"); +/* TRANSLATORS: Wrapper Resource Added */ +_("printer-state-reasons.wrapper-resource-added"); +/* TRANSLATORS: Wrapper Resource Removed */ +_("printer-state-reasons.wrapper-resource-removed"); +/* TRANSLATORS: Wrapper Thermistor Failure */ +_("printer-state-reasons.wrapper-thermistor-failure"); +/* TRANSLATORS: Wrapper Timing Failure */ +_("printer-state-reasons.wrapper-timing-failure"); +/* TRANSLATORS: Wrapper Turned Off */ +_("printer-state-reasons.wrapper-turned-off"); +/* TRANSLATORS: Wrapper Turned On */ +_("printer-state-reasons.wrapper-turned-on"); +/* TRANSLATORS: Wrapper Under Temperature */ +_("printer-state-reasons.wrapper-under-temperature"); +/* TRANSLATORS: Wrapper Unrecoverable Failure */ +_("printer-state-reasons.wrapper-unrecoverable-failure"); +/* TRANSLATORS: Wrapper Unrecoverable Storage Error */ +_("printer-state-reasons.wrapper-unrecoverable-storage-error"); +/* TRANSLATORS: Wrapper Warming Up */ +_("printer-state-reasons.wrapper-warming-up"); +/* TRANSLATORS: Idle */ +_("printer-state.3"); +/* TRANSLATORS: Processing */ +_("printer-state.4"); +/* TRANSLATORS: Stopped */ +_("printer-state.5"); +/* TRANSLATORS: Printer Uptime */ +_("printer-up-time"); +/* TRANSLATORS: Proof Print */ +_("proof-print"); +/* TRANSLATORS: Proof Print Copies */ +_("proof-print-copies"); +/* TRANSLATORS: Punching */ +_("punching"); +/* TRANSLATORS: Punching Locations */ +_("punching-locations"); +/* TRANSLATORS: Punching Offset */ +_("punching-offset"); +/* TRANSLATORS: Punch Edge */ +_("punching-reference-edge"); +/* TRANSLATORS: Bottom */ +_("punching-reference-edge.bottom"); +/* TRANSLATORS: Left */ +_("punching-reference-edge.left"); +/* TRANSLATORS: Right */ +_("punching-reference-edge.right"); +/* TRANSLATORS: Top */ +_("punching-reference-edge.top"); +/* TRANSLATORS: Requested Attributes */ +_("requested-attributes"); +/* TRANSLATORS: Retry Interval */ +_("retry-interval"); +/* TRANSLATORS: Retry Timeout */ +_("retry-time-out"); +/* TRANSLATORS: Save Disposition */ +_("save-disposition"); +/* TRANSLATORS: None */ +_("save-disposition.none"); +/* TRANSLATORS: Print and Save */ +_("save-disposition.print-save"); +/* TRANSLATORS: Save Only */ +_("save-disposition.save-only"); +/* TRANSLATORS: Save Document Format */ +_("save-document-format"); +/* TRANSLATORS: Save Info */ +_("save-info"); +/* TRANSLATORS: Save Location */ +_("save-location"); +/* TRANSLATORS: Save Name */ +_("save-name"); +/* TRANSLATORS: Separator Sheets */ +_("separator-sheets"); +/* TRANSLATORS: Type of Separator Sheets */ +_("separator-sheets-type"); +/* TRANSLATORS: Start and End Sheets */ +_("separator-sheets-type.both-sheets"); +/* TRANSLATORS: End Sheet */ +_("separator-sheets-type.end-sheet"); +/* TRANSLATORS: None */ +_("separator-sheets-type.none"); +/* TRANSLATORS: Slip Sheets */ +_("separator-sheets-type.slip-sheets"); +/* TRANSLATORS: Start Sheet */ +_("separator-sheets-type.start-sheet"); +/* TRANSLATORS: 2-Sided Printing */ +_("sides"); +/* TRANSLATORS: Off */ +_("sides.one-sided"); +/* TRANSLATORS: On (Portrait) */ +_("sides.two-sided-long-edge"); +/* TRANSLATORS: On (Landscape) */ +_("sides.two-sided-short-edge"); +/* TRANSLATORS: Status Message */ +_("status-message"); +/* TRANSLATORS: Staple */ +_("stitching"); +/* TRANSLATORS: Stitching Angle */ +_("stitching-angle"); +/* TRANSLATORS: Stitching Locations */ +_("stitching-locations"); +/* TRANSLATORS: Staple Method */ +_("stitching-method"); +/* TRANSLATORS: Automatic */ +_("stitching-method.auto"); +/* TRANSLATORS: Crimp */ +_("stitching-method.crimp"); +/* TRANSLATORS: Wire */ +_("stitching-method.wire"); +/* TRANSLATORS: Stitching Offset */ +_("stitching-offset"); +/* TRANSLATORS: Staple Edge */ +_("stitching-reference-edge"); +/* TRANSLATORS: Bottom */ +_("stitching-reference-edge.bottom"); +/* TRANSLATORS: Left */ +_("stitching-reference-edge.left"); +/* TRANSLATORS: Right */ +_("stitching-reference-edge.right"); +/* TRANSLATORS: Top */ +_("stitching-reference-edge.top"); +/* TRANSLATORS: Subject */ +_("subject"); +/* TRANSLATORS: Subscription Privacy Attributes */ +_("subscription-privacy-attributes"); +/* TRANSLATORS: All */ +_("subscription-privacy-attributes.all"); +/* TRANSLATORS: Default */ +_("subscription-privacy-attributes.default"); +/* TRANSLATORS: None */ +_("subscription-privacy-attributes.none"); +/* TRANSLATORS: Subscription Description */ +_("subscription-privacy-attributes.subscription-description"); +/* TRANSLATORS: Subscription Template */ +_("subscription-privacy-attributes.subscription-template"); +/* TRANSLATORS: Subscription Privacy Scope */ +_("subscription-privacy-scope"); +/* TRANSLATORS: All */ +_("subscription-privacy-scope.all"); +/* TRANSLATORS: Default */ +_("subscription-privacy-scope.default"); +/* TRANSLATORS: None */ +_("subscription-privacy-scope.none"); +/* TRANSLATORS: Owner */ +_("subscription-privacy-scope.owner"); +/* TRANSLATORS: T33 Subaddress */ +_("t33-subaddress"); +/* TRANSLATORS: To Name */ +_("to-name"); +/* TRANSLATORS: Transmission Status */ +_("transmission-status"); +/* TRANSLATORS: Pending */ +_("transmission-status.3"); +/* TRANSLATORS: Pending Retry */ +_("transmission-status.4"); +/* TRANSLATORS: Processing */ +_("transmission-status.5"); +/* TRANSLATORS: Canceled */ +_("transmission-status.7"); +/* TRANSLATORS: Aborted */ +_("transmission-status.8"); +/* TRANSLATORS: Completed */ +_("transmission-status.9"); +/* TRANSLATORS: Cut */ +_("trimming"); +/* TRANSLATORS: Cut Position */ +_("trimming-offset"); +/* TRANSLATORS: Cut Edge */ +_("trimming-reference-edge"); +/* TRANSLATORS: Bottom */ +_("trimming-reference-edge.bottom"); +/* TRANSLATORS: Left */ +_("trimming-reference-edge.left"); +/* TRANSLATORS: Right */ +_("trimming-reference-edge.right"); +/* TRANSLATORS: Top */ +_("trimming-reference-edge.top"); +/* TRANSLATORS: Type of Cut */ +_("trimming-type"); +/* TRANSLATORS: Draw Line */ +_("trimming-type.draw-line"); +/* TRANSLATORS: Full */ +_("trimming-type.full"); +/* TRANSLATORS: Partial */ +_("trimming-type.partial"); +/* TRANSLATORS: Perforate */ +_("trimming-type.perforate"); +/* TRANSLATORS: Score */ +_("trimming-type.score"); +/* TRANSLATORS: Tab */ +_("trimming-type.tab"); +/* TRANSLATORS: Cut After */ +_("trimming-when"); +/* TRANSLATORS: Every Document */ +_("trimming-when.after-documents"); +/* TRANSLATORS: Job */ +_("trimming-when.after-job"); +/* TRANSLATORS: Every Set */ +_("trimming-when.after-sets"); +/* TRANSLATORS: Every Page */ +_("trimming-when.after-sheets"); +/* TRANSLATORS: X Accuracy */ +_("x-accuracy"); +/* TRANSLATORS: X Dimension */ +_("x-dimension"); +/* TRANSLATORS: X Offset */ +_("x-offset"); +/* TRANSLATORS: X Origin */ +_("x-origin"); +/* TRANSLATORS: Y Accuracy */ +_("y-accuracy"); +/* TRANSLATORS: Y Dimension */ +_("y-dimension"); +/* TRANSLATORS: Y Offset */ +_("y-offset"); +/* TRANSLATORS: Y Origin */ +_("y-origin"); +/* TRANSLATORS: Z Accuracy */ +_("z-accuracy"); +/* TRANSLATORS: Z Dimension */ +_("z-dimension"); +/* TRANSLATORS: Z Offset */ +_("z-offset"); diff --git a/locale/po2strings.c b/locale/po2strings.c new file mode 100644 index 0000000..e873240 --- /dev/null +++ b/locale/po2strings.c @@ -0,0 +1,394 @@ +/* + * Convert a GNU gettext .po file to an Apple .strings file. + * + * Copyright 2007-2017 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + * + * Usage: + * + * po2strings filename.strings filename.po + * + * Compile with: + * + * gcc -o po2strings po2strings.c `cups-config --libs` + */ + +#include + + +/* + * The .strings file format is simple: + * + * // comment + * "msgid" = "msgstr"; + * + * The GNU gettext .po format is also fairly simple: + * + * #. comment + * msgid "some text" + * msgstr "localized text" + * + * The comment, msgid, and msgstr text can span multiple lines using the form: + * + * #. comment + * #. more comments + * msgid "" + * "some long text" + * msgstr "" + * "localized text spanning " + * "multiple lines" + * + * Both the msgid and msgstr strings use standard C quoting for special + * characters like newline and the double quote character. + */ + +static char *normalize_string(const char *idstr, char *buffer, size_t bufsize); + + +/* + * main() - Convert .po file to .strings. + */ + +int /* O - Exit code */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + const char *pofile, /* .po filename */ + *stringsfile; /* .strings filename */ + cups_file_t *po, /* .po file */ + *strings; /* .strings file */ + char s[4096], /* String buffer */ + *ptr, /* Pointer into buffer */ + *temp, /* New string */ + *msgid, /* msgid string */ + *msgstr, /* msgstr string */ + normalized[8192];/* Normalized msgid string */ + size_t length; /* Length of combined strings */ + int use_msgid; /* Use msgid strings for msgstr? */ + + + /* + * Process command-line arguments... + */ + + pofile = NULL; + stringsfile = NULL; + use_msgid = 0; + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "-m")) + use_msgid = 1; + else if (argv[i][0] == '-') + { + puts("Usage: po2strings [-m] filename.po filename.strings"); + return (1); + } + else if (!pofile) + pofile = argv[i]; + else if (!stringsfile) + stringsfile = argv[i]; + else + { + puts("Usage: po2strings [-m] filename.po filename.strings"); + return (1); + } + } + + if (!pofile || !stringsfile) + { + puts("Usage: po2strings [-m] filename.po filename.strings"); + return (1); + } + + /* + * Read strings from the .po file and write to the .strings file... + */ + + if ((po = cupsFileOpen(pofile, "r")) == NULL) + { + perror(pofile); + return (1); + } + + if ((strings = cupsFileOpen(stringsfile, "w")) == NULL) + { + perror(stringsfile); + cupsFileClose(po); + return (1); + } + + msgid = msgstr = NULL; + + while (cupsFileGets(po, s, sizeof(s)) != NULL) + { + if (s[0] == '#' && s[1] == '.') + { + /* + * Copy comment string... + */ + + if (msgid && msgstr) + { + /* + * First output the last localization string... + */ + + if (*msgid) + cupsFilePrintf(strings, "\"%s\" = \"%s\";\n", msgid, + (use_msgid || !*msgstr) ? msgid : msgstr); + + free(msgid); + free(msgstr); + msgid = msgstr = NULL; + } + + cupsFilePrintf(strings, "//%s\n", s + 2); + } + else if (s[0] == '#' || !s[0]) + { + /* + * Skip blank and file comment lines... + */ + + continue; + } + else + { + /* + * Strip the trailing quote... + */ + + if ((ptr = strrchr(s, '\"')) == NULL) + continue; + + *ptr = '\0'; + + /* + * Find start of value... + */ + + if ((ptr = strchr(s, '\"')) == NULL) + continue; + + ptr ++; + + /* + * Create or add to a message... + */ + + if (!strncmp(s, "msgid", 5)) + { + /* + * Output previous message as needed... + */ + + if (msgid && msgstr) + { + if (*msgid) + cupsFilePrintf(strings, "\"%s\" = \"%s\";\n", msgid, normalize_string((use_msgid || !*msgstr) ? msgid : msgstr, normalized, sizeof(normalized))); + } + + if (msgid) + free(msgid); + + if (msgstr) + free(msgstr); + + msgid = strdup(ptr); + msgstr = NULL; + } + else if (s[0] == '\"' && (msgid || msgstr)) + { + /* + * Append to current string... + */ + + size_t ptrlen = strlen(ptr); /* Length of string */ + + length = strlen(msgstr ? msgstr : msgid); + + if ((temp = realloc(msgstr ? msgstr : msgid, + length + ptrlen + 1)) == NULL) + { + free(msgid); + if (msgstr) + free(msgstr); + perror("Unable to allocate string"); + return (1); + } + + if (msgstr) + { + /* + * Copy the new portion to the end of the msgstr string - safe + * to use strcpy because the buffer is allocated to the correct + * size... + */ + + msgstr = temp; + + memcpy(msgstr + length, ptr, ptrlen + 1); + } + else + { + /* + * Copy the new portion to the end of the msgid string - safe + * to use strcpy because the buffer is allocated to the correct + * size... + */ + + msgid = temp; + + memcpy(msgid + length, ptr, ptrlen + 1); + } + } + else if (!strncmp(s, "msgstr", 6) && msgid) + { + /* + * Set the string... + */ + + if (msgstr) + free(msgstr); + + if ((msgstr = strdup(ptr)) == NULL) + { + free(msgid); + perror("Unable to allocate msgstr"); + return (1); + } + } + } + } + + if (msgid && msgstr) + { + if (*msgid) + cupsFilePrintf(strings, "\"%s\" = \"%s\";\n", msgid, normalize_string((use_msgid || !*msgstr) ? msgid : msgstr, normalized, sizeof(normalized))); + } + + if (msgid) + free(msgid); + + if (msgstr) + free(msgstr); + + cupsFileClose(po); + cupsFileClose(strings); + + return (0); +} + + +/* + * 'normalize_string()' - Normalize a msgid string. + * + * This function converts ASCII ellipsis and double quotes to their Unicode + * counterparts. + */ + +static char * /* O - Normalized string */ +normalize_string(const char *idstr, /* I - msgid string */ + char *buffer, /* I - Normalized string buffer */ + size_t bufsize) /* I - Size of string buffer */ +{ + char *bufptr = buffer, /* Pointer into buffer */ + *bufend = buffer + bufsize - 3; /* End of buffer */ + int quote = 0, /* Quote direction */ + html = 0; /* HTML text */ + + + while (*idstr && bufptr < bufend) + { + if (!strncmp(idstr, "') + html = 0; + + if (*idstr == '.' && idstr[1] == '.' && idstr[2] == '.') + { + /* + * Convert ... to Unicode ellipsis... + */ + + *bufptr++ = (char)0xE2; + *bufptr++ = (char)0x80; + *bufptr++ = (char)0xA6; + idstr += 2; + } + else if (!html && *idstr == '\\' && idstr[1] == '\"') + { + if (quote) + { + /* + * Convert second \" to Unicode right (curley) double quote. + */ + + *bufptr++ = (char)0xE2; + *bufptr++ = (char)0x80; + *bufptr++ = (char)0x9D; + quote = 0; + } + else if (strchr(idstr + 2, '\"') != NULL) + { + /* + * Convert first \" to Unicode left (curley) double quote. + */ + + *bufptr++ = (char)0xE2; + *bufptr++ = (char)0x80; + *bufptr++ = (char)0x9C; + quote = 1; + } + else + { + /* + * Convert lone \" to Unicode double prime. + */ + + *bufptr++ = (char)0xE2; + *bufptr++ = (char)0x80; + *bufptr++ = (char)0xB3; + } + + idstr ++; + } + else if (*idstr == '\'') + { + if (strchr(idstr + 1, '\'') == NULL || quote) + { + /* + * Convert second ' (or ' used for a contraction) to Unicode right + * (curley) single quote. + */ + + *bufptr++ = (char)0xE2; + *bufptr++ = (char)0x80; + *bufptr++ = (char)0x99; + quote = 0; + } + else + { + /* + * Convert first ' to Unicode left (curley) single quote. + */ + + *bufptr++ = (char)0xE2; + *bufptr++ = (char)0x80; + *bufptr++ = (char)0x98; + quote = 1; + } + } + else + *bufptr++ = *idstr; + + idstr ++; + } + + *bufptr = '\0'; + + return (buffer); +} diff --git a/locale/strings2po.c b/locale/strings2po.c new file mode 100644 index 0000000..f09cbdb --- /dev/null +++ b/locale/strings2po.c @@ -0,0 +1,166 @@ +/* + * Convert Apple .strings file (UTF-16 BE text file) to GNU gettext .po files. + * + * Copyright 2007-2014 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + * + * Usage: + * + * strings2po filename.strings filename.po + * + * Compile with: + * + * gcc -o strings2po strings2po.c + */ + +#include +#include + + +/* + * The .strings file format is simple: + * + * // comment + * "id" = "str"; + * + * Both the id and str strings use standard C quoting for special characters + * like newline and the double quote character. + */ + +/* + * Local functions... + */ + +static int read_strings(FILE *strings, char *buffer, size_t bufsize, + char **id, char **str); +static void write_po(FILE *po, const char *what, const char *s); + + +/* + * main() - Convert .strings file to .po. + */ + +int /* O - Exit code */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + FILE *strings, /* .strings file */ + *po; /* .po file */ + char iconv[1024], /* iconv command */ + buffer[8192], /* Line buffer */ + *id, /* ID string */ + *str; /* Translation string */ + int count; /* Number of messages converted */ + + + if (argc != 3) + { + puts("Usage: strings2po filename.strings filename.po"); + return (1); + } + + /* + * Cheat by using iconv to convert the .strings file from UTF-16 to UTF-8 + * which is what we need for the .po file (and it makes things a lot + * simpler...) + */ + + snprintf(iconv, sizeof(iconv), "iconv -f utf-16 -t utf-8 '%s'", argv[1]); + if ((strings = popen(iconv, "r")) == NULL) + { + perror(argv[1]); + return (1); + } + + if ((po = fopen(argv[2], "w")) == NULL) + { + perror(argv[2]); + pclose(strings); + return (1); + } + + count = 0; + + while (read_strings(strings, buffer, sizeof(buffer), &id, &str)) + { + count ++; + write_po(po, "msgid", id); + write_po(po, "msgstr", str); + } + + pclose(strings); + fclose(po); + + printf("%s: %d messages.\n", argv[2], count); + + return (0); +} + + +/* + * 'read_strings()' - Read a line from a .strings file. + */ + +static int /* O - 1 on success, 0 on failure */ +read_strings(FILE *strings, /* I - .strings file */ + char *buffer, /* I - Line buffer */ + size_t bufsize, /* I - Size of line buffer */ + char **id, /* O - Pointer to ID string */ + char **str) /* O - Pointer to translation string */ +{ + char *bufptr; /* Pointer into buffer */ + + + while (fgets(buffer, (int)bufsize, strings)) + { + if (buffer[0] != '\"') + continue; + + *id = buffer + 1; + + for (bufptr = buffer + 1; *bufptr && *bufptr != '\"'; bufptr ++) + if (*bufptr == '\\') + bufptr ++; + + if (*bufptr != '\"') + continue; + + *bufptr++ = '\0'; + + while (*bufptr && *bufptr != '\"') + bufptr ++; + + if (!*bufptr) + continue; + + bufptr ++; + *str = bufptr; + + for (; *bufptr && *bufptr != '\"'; bufptr ++) + if (*bufptr == '\\') + bufptr ++; + + if (*bufptr != '\"') + continue; + + *bufptr = '\0'; + + return (1); + } + + return (0); +} + + +/* + * 'write_po()' - Write a line to the .po file. + */ + +static void +write_po(FILE *po, /* I - .po file */ + const char *what, /* I - Type of string */ + const char *s) /* I - String to write */ +{ + fprintf(po, "%s \"%s\"\n", what, s); +} diff --git a/man/Makefile b/man/Makefile new file mode 100644 index 0000000..621fe60 --- /dev/null +++ b/man/Makefile @@ -0,0 +1,227 @@ +# +# Man page makefile for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1993-2006 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +include ../Makedefs + + +# +# Man pages... +# + +MAN1 = cancel.1 \ + cups.1 \ + cups-config.1 \ + cupstestppd.1 \ + ippeveprinter.1 \ + $(IPPFIND_MAN) \ + ipptool.1 \ + lp.1 \ + lpoptions.1 \ + lpq.1 \ + lprm.1 \ + lpr.1 \ + lpstat.1 \ + ppdc.1 \ + ppdhtml.1 \ + ppdi.1 \ + ppdmerge.1 \ + ppdpo.1 +MAN5 = classes.conf.5 \ + client.conf.5 \ + cups-files.conf.5 \ + cups-snmp.conf.5 \ + cupsd.conf.5 \ + cupsd-logs.5 \ + ipptoolfile.5 \ + mailto.conf.5 \ + mime.convs.5 \ + mime.types.5 \ + ppdcfile.5 \ + printers.conf.5 \ + subscriptions.conf.5 +MAN7 = backend.7 \ + filter.7 \ + ippevepcl.7 \ + notifier.7 +MAN8 = cupsaccept.8 \ + cupsctl.8 \ + cupsfilter.8 \ + cups-lpd.8 \ + cups-snmp.8 \ + cupsd.8 \ + cupsd-helper.8 \ + cupsenable.8 \ + lpadmin.8 \ + lpinfo.8 \ + lpmove.8 \ + lpc.8 + + +# +# Make everything... +# + +all: $(MAN1) $(MAN5) $(MAN7) $(MAN8) + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Clean all config and object files... +# + +clean: + $(RM) mantohtml mantohtml.o + + +# +# Dummy depend target... +# + +depend: + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: all + echo Installing man pages in $(MANDIR)/man1... + $(INSTALL_DIR) -m 755 $(MANDIR)/man1 + for file in $(MAN1); do \ + $(INSTALL_MAN) $$file $(MANDIR)/man1; \ + done + echo Installing man pages in $(MANDIR)/man5... + $(INSTALL_DIR) -m 755 $(MANDIR)/man5 + for file in $(MAN5); do \ + $(INSTALL_MAN) $$file $(MANDIR)/man5; \ + done + echo Installing man pages in $(MANDIR)/man7... + $(INSTALL_DIR) -m 755 $(MANDIR)/man7 + for file in $(MAN7); do \ + $(INSTALL_MAN) $$file $(MANDIR)/man7; \ + done + $(RM) $(MANDIR)/man7/ippeveps.7 + $(LN) ippevepcl.7 $(MANDIR)/man7/ippeveps.7 + echo Installing man pages in $(MANDIR)/man8... + $(INSTALL_DIR) -m 755 $(MANDIR)/man8 + for file in $(MAN8); do \ + $(INSTALL_MAN) $$file $(MANDIR)/man8; \ + done + $(RM) $(MANDIR)/man8/cupsdisable.8 + $(LN) cupsenable.8 $(MANDIR)/man8/cupsdisable.8 + $(RM) $(MANDIR)/man8/cupsreject.8 + $(LN) cupsaccept.8 $(MANDIR)/man8/cupsreject.8 + for file in cups-deviced.8 cups-driverd.8 cups-exec.8; do \ + $(RM) $(MANDIR)/man8/$$file; \ + $(LN) cupsd-helper.8 $(MANDIR)/man8/$$file; \ + done + + +# +# Install programs... +# + +install-exec: + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall files... +# + +uninstall: + echo Uninstalling man pages from $(MANDIR)/man1... + for file in $(MAN1); do \ + $(RM) $(MANDIR)/man1/$$file; \ + done + -$(RMDIR) $(MANDIR)/man1 + echo Uninstalling man pages from $(MANDIR)/man5... + for file in $(MAN5); do \ + $(RM) $(MANDIR)/man5/$$file; \ + done + -$(RMDIR) $(MANDIR)/man5 + echo Uninstalling man pages from $(MANDIR)/man7... + for file in $(MAN7) ippeveps.7; do \ + $(RM) $(MANDIR)/man7/$$file; \ + done + -$(RMDIR) $(MANDIR)/man7 + echo Uninstalling man pages from $(MANDIR)/man8... + for file in $(MAN8) cupsenable.8 cupsreject.8 cups-deviced.8 cups-driverd.8 cups-exec.8; do \ + $(RM) $(MANDIR)/man8/$$file; \ + done + -$(RMDIR) $(MANDIR)/man8 + + +# +# Local programs (not built when cross-compiling...) +# + +local: html + + +# +# Make html versions of man pages... +# + +html: $(MAN1) $(MAN5) $(MAN7) $(MAN8) mantohtml + echo Converting man pages to HTML... + for file in $(MAN1); do \ + echo " $$file..."; \ + ./mantohtml $$file >../doc/help/man-`basename $$file .1`.html; \ + done + for file in $(MAN5); do \ + echo " $$file..."; \ + ./mantohtml $$file >../doc/help/man-`basename $$file .5`.html; \ + done + for file in $(MAN7); do \ + echo " $$file..."; \ + ./mantohtml $$file >../doc/help/man-`basename $$file .7`.html; \ + done + for file in $(MAN8); do \ + echo " $$file..."; \ + ./mantohtml $$file >../doc/help/man-`basename $$file .8`.html; \ + done + +mantohtml: mantohtml.o ../cups/$(LIBCUPSSTATIC) + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ mantohtml.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ diff --git a/man/backend.7 b/man/backend.7 new file mode 100644 index 0000000..5a70326 --- /dev/null +++ b/man/backend.7 @@ -0,0 +1,220 @@ +.\" +.\" Backend man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH backend 7 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +backend \- cups backend transmission interfaces +.SH SYNOPSIS +.B backend +.br +.B backend +.I job +.I user +.I title +.I num-copies +.I options +[ +.I filename +] +.nf + +\fB#include \fR + +\fBconst char *cupsBackendDeviceURI\fR(\fBchar **\fIargv\fR); + +\fBvoid cupsBackendReport\fR(\fBconst char *\fIdevice_scheme\fR, + \fBconst char *\fIdevice_uri\fR, + \fBconst char *\fIdevice_make_and_model\fR, + \fBconst char *\fIdevice_info\fR, + \fBconst char *\fIdevice_id\fR, + \fBconst char *\fIdevice_location\fR); + +\fBssize_t cupsBackChannelWrite\fR(\fBconst char *\fIbuffer\fR, + \fBsize_t \fIbytes\fR, \fBdouble \fItimeout\fR); + +\fBint cupsSideChannelRead\fR(\fBcups_sc_command_t *\fIcommand\fR, + \fBcups_sc_status_t *\fIstatus\fR, \fBchar *\fIdata\fR, + \fBint *\fIdatalen\fR, \fBdouble \fItimeout\fR); + +\fBint cupsSideChannelWrite\fR(\fBcups_sc_command_t \fIcommand\fR, + \fBcups_sc_status_t \fIstatus\fR, \fBconst char *\fIdata\fR, + \fBint \fIdatalen\fR, \fBdouble \fItimeout\fR); +.fi +.SH DESCRIPTION +Backends are a special type of +.BR filter (7) +which is used to send print data to and discover different devices on the system. +.LP +Like filters, backends must be capable of reading from a filename on the command-line or from the standard input, copying the standard input to a temporary file as required by the physical interface. +.LP +The command name (\fIargv[0]\fR) is set to the device URI of the destination printer. +Authentication information in +.I argv[0] +is removed, so backend developers are urged to use the +.B DEVICE_URI +environment variable whenever authentication information is required. The +.BR cupsBackendDeviceURI () +function may be used to retrieve the correct device URI. +.LP +Back-channel data from the device should be relayed to the job filters using the \fIcupsBackChannelWrite\fR function. +.LP +Backends are responsible for reading side-channel requests using the +.BR cupsSideChannelRead () +function and responding with the +.BR cupsSideChannelWrite () +function. The +.B CUPS_SC_FD +constant defines the file descriptor that should be monitored for incoming requests. +.SS DEVICE DISCOVERY +When run with no arguments, the backend should list the devices and schemes it supports or is advertising to the standard output. +The output consists of zero or more lines consisting of any of the following forms: +.nf + + device-class scheme "Unknown" "device-info" + device-class device-uri "device-make-and-model" "device-info" + device-class device-uri "device-make-and-model" "device-info" "device-id" + device-class device-uri "device-make-and-model" "device-info" "device-id" "device-location" +.fi +.LP +The +.BR cupsBackendReport () +function can be used to generate these lines and handle any necessary escaping of characters in the various strings. +.LP +The +.I device-class +field is one of the following values: +.TP 5 +.B direct +The device-uri refers to a specific direct-access device with no options, such as a parallel, USB, or SCSI device. +.TP 5 +.B file +The device-uri refers to a file on disk. +.TP 5 +.B network +The device-uri refers to a networked device and conforms to the general form for +network URIs. +.TP 5 +.B serial +The device-uri refers to a serial device with configurable baud rate and other options. +If the device-uri contains a baud value, it represents the maximum baud rate supported by the device. +.LP +The +.I scheme +field provides the URI scheme that is supported by the backend. +Backends should use this form only when the backend supports any URI using that scheme. +The +.I device-uri +field specifies the full URI to use when communicating with the device. +.LP +The +.I device-make-and-model +field specifies the make and model of the device, e.g. "Example Foojet 2000". +If the make and model is not known, you must report "Unknown". +.LP +The +.I device-info +field specifies additional information about the device. +Typically this includes the make and model along with the port number or network address, e.g. "Example Foojet 2000 USB #1". +.LP +The optional +.I device-id +field specifies the IEEE-1284 device ID string for the device, which is used to select a matching driver. +.LP +The optional +.I device-location +field specifies the physical location of the device, which is often used to pre-populate the printer-location attribute when adding a printer. +.SS PERMISSIONS +Backends without world read and execute permissions are run as the root user. +Otherwise, the backend is run using an unprivileged user account, typically "lp". +.SH EXIT STATUS +The following exit codes are defined for backends: +.TP 5 +.B CUPS_BACKEND_OK +The print file was successfully transmitted to the device or remote server. +.TP 5 +.B CUPS_BACKEND_FAILED +.br +The print file was not successfully transmitted to the device or remote server. +The scheduler will respond to this by canceling the job, retrying the job, or stopping the queue depending on the state of the +.I printer-error-policy +attribute. +.TP 5 +.B CUPS_BACKEND_AUTH_REQUIRED +The print file was not successfully transmitted because valid authentication information is required. +The scheduler will respond to this by holding the job and adding the 'cups-held-for-authentication' keyword to the "job-reasons" Job Description attribute. +.TP 5 +.B CUPS_BACKEND_HOLD +The print file was not successfully transmitted because it cannot be printed at this time. +The scheduler will respond to this by holding the job. +.TP 5 +.B CUPS_BACKEND_STOP +The print file was not successfully transmitted because it cannot be printed at this time. +The scheduler will respond to this by stopping the queue. +.TP 5 +.B CUPS_BACKEND_CANCEL +The print file was not successfully transmitted because one or more attributes are not supported or the job was canceled at the printer. +The scheduler will respond to this by canceling the job. +.TP 5 +.B CUPS_BACKEND_RETRY +The print file was not successfully transmitted because of a temporary issue. +The scheduler will retry the job at a future time - other jobs may print before this one. +.TP 5 +.B CUPS_BACKEND_RETRY_CURRENT +The print file was not successfully transmitted because of a temporary issue. +The scheduler will retry the job immediately without allowing intervening jobs. +.PP +All other exit code values are reserved. +.SH ENVIRONMENT +In addition to the environment variables listed in +.BR cups (1) +and +.BR filter (7), +CUPS backends can expect the following environment variable: +.TP 5 +.B DEVICE_URI +The device URI associated with the printer. +.SH FILES +.I /etc/cups/cups-files.conf +.SH NOTES +CUPS backends are not generally designed to be run directly by the user. +Aside from the device URI issue ( +.I argv[0] +and +.B DEVICE_URI +environment variable contain the device URI), CUPS backends also expect specific environment variables and file descriptors, and typically run in a user session that (on macOS) has additional restrictions that affect how it runs. +Backends can also be installed with restricted permissions (0500 or 0700) that tell the scheduler to run them as the "root" user instead of an unprivileged user (typically "lp") on the system. +.LP +Unless you are a developer and know what you are doing, please do not run backends directly. +Instead, use the +.BR lp (1) +or +.BR lpr (1) +programs to send print jobs or +.BR lpinfo (8) +to query for available printers using the backend. +The one exception is the SNMP backend - see +.BR cups-snmp (8) +for more information. +.SH NOTES +CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.SH SEE ALSO +.IR cups (1), +.IR cups-files.conf (5), +.IR cups-snmp (8), +.IR cupsd (8), +.IR filter (7), +.IR lp (1), +.IR lpinfo (8), +.IR lpr (1), +.br +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cancel.1 b/man/cancel.1 new file mode 100644 index 0000000..28e0897 --- /dev/null +++ b/man/cancel.1 @@ -0,0 +1,91 @@ +.\" +.\" cancel man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cancel 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cancel \- cancel jobs +.SH SYNOPSIS +.B cancel +[ +.B \-E +] [ +.B \-U +.I username +] [ +.B \-a +] [ +.B \-h +.I hostname[:port] +] [ +.B \-u +.I username +] [ +.B \-x +] [ +.I id +] [ +.I destination +] [ +.I destination\-id +] +.SH DESCRIPTION +The \fBcancel\fR command cancels print jobs. +If no \fIdestination\fR or \fIid\fR is specified, the currently printing job on the default destination is canceled. +.SH OPTIONS +The following options are recognized by \fBcancel\fR: +.TP 5 +.B \-a +Cancel all jobs on the named destination, or all jobs on all +destinations if none is provided. +.TP 5 +.B \-E +Forces encryption when connecting to the server. +.TP 5 +\fB\-h \fIhostname\fR[\fI:port\fR] +Specifies an alternate server. +.TP 5 +\fB\-U \fIusername\fR +Specifies the username to use when connecting to the server. +.TP 5 +\fB\-u \fIusername\fR +Cancels jobs owned by \fIusername\fR. +.TP 5 +.B \-x +Deletes job data files in addition to canceling. +.SH CONFORMING TO +Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". Also, printer and class names are \fInot\fR case-sensitive. +.SH EXAMPLES +Cancel the current print job: +.nf + + cancel + +.fi +Cancel job "myprinter-42": +.nf + + cancel myprinter\-42 + +.fi +Cancel all jobs: +.nf + + cancel \-a +.fi +.SH NOTES +Administrators wishing to prevent unauthorized cancellation of jobs via the \fI\-u\fR option should require authentication for Cancel-Jobs operations in +.BR cupsd.conf (5). +.SH SEE ALSO +.BR cupsd.conf (5), +.BR lp (1), +.BR lpmove (8), +.BR lpstat (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/classes.conf.5 b/man/classes.conf.5 new file mode 100644 index 0000000..62b7b73 --- /dev/null +++ b/man/classes.conf.5 @@ -0,0 +1,30 @@ +.\" +.\" classes.conf man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH classes.conf 5 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +classes.conf \- class configuration file for cups +.SH DESCRIPTION +The \fBclasses.conf\fR file defines the local printer classes that are available. +It is normally located in the \fI/etc/cups\fR directory and is maintained by the +.BR cupsd (8) +program. +This file is not intended to be edited or managed manually. +.SH NOTES +The name, location, and format of this file are an implementation detail that will change in future releases of CUPS. +.SH SEE ALSO +.BR cupsd (8), +.BR cupsd.conf (5), +.BR mime.convs (5), +.BR mime.types (5), +.BR printers.conf (5), +.BR subscriptions.conf (5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/client.conf.5 b/man/client.conf.5 new file mode 100644 index 0000000..4dbf0c4 --- /dev/null +++ b/man/client.conf.5 @@ -0,0 +1,143 @@ +.\" +.\" client.conf man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH client.conf 5 "CUPS" "15 October 2019" "Apple Inc." +.SH NAME +client.conf \- client configuration file for cups (deprecated on macos) +.SH DESCRIPTION +The \fBclient.conf\fR file configures the CUPS client and is normally located in the \fI/etc/cups\fR and/or \fI~/.cups\fR directories. +Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character. +.LP +\fBNote:\fR Starting with macOS 10.7, this file is only used by command-line and X11 applications plus the IPP backend. +The \fBServerName\fR directive is not supported on macOS at all. +Starting with macOS 10.12, all applications can access these settings in the \fI/Library/Preferences/org.cups.PrintingPrefs.plist\fR file instead. +See the NOTES section below for more information. +.SS DIRECTIVES +The following directives are understood by the client. Consult the online help for detailed descriptions: +.\"#AllowAnyRoot +.TP 5 +\fBAllowAnyRoot Yes\fR +.TP 5 +\fBAllowAnyRoot No\fR +Specifies whether to allow TLS with certificates that have not been signed by a trusted Certificate Authority. +The default is "Yes". +.\"#AllowExpiredCerts +.TP 5 +\fBAllowExpiredCerts Yes\fR +.TP 5 +\fBAllowExpiredCerts No\fR +Specifies whether to allow TLS with expired certificates. +The default is "No". +.\"#DigestOptions +.TP 5 +\fBDigestOptions DenyMD5\fR +.TP 5 +\fBDigestOptions None\fR +Specifies HTTP Digest authentication options. +\fBDenyMD5\fR disables support for the original MD5 hash algorithm. +.\"#Encryption +.TP 5 +\fBEncryption IfRequested\fR +.TP 5 +\fBEncryption Never\fR +.TP 5 +\fBEncryption Required\fR +Specifies the level of encryption that should be used. +.\"#GSSServiceName +.TP 5 +\fBGSSServiceName \fIname\fR +Specifies the Kerberos service name that is used for authentication, typically "host", "http", or "ipp". +CUPS adds the remote hostname ("name@server.example.com") for you. The default name is "http". +.\"#ServerName +.TP 5 +\fBServerName \fIhostname-or-ip-address\fR[\fI:port\fR] +.TP 5 +\fBServerName \fI/domain/socket\fR +Specifies the address and optionally the port to use when connecting to the server. +\fBNote: This directive is not supported on macOS 10.7 or later.\fR +.TP 5 +\fBServerName \fIhostname-or-ip-address\fR[\fI:port\fR]\fB/version=1.1\fR +Specifies the address and optionally the port to use when connecting to a server running CUPS 1.3.12 and earlier. +.\"#SSLOptions +.TP 5 +\fBSSLOptions \fR[\fIAllowDH\fR] [\fIAllowRC4\fR] [\fIAllowSSL3\fR] [\fIDenyCBC\fR] [\fIDenyTLS1.0\fR] [\fIMaxTLS1.0\fR] [\fIMaxTLS1.1\fR] [\fIMaxTLS1.2\fR] [\fIMaxTLS1.3\fR] [\fIMinTLS1.0\fR] [\fIMinTLS1.1\fR] [\fIMinTLS1.2\fR] [\fIMinTLS1.3\fR] +.TP 5 +\fBSSLOptions None\fR +Sets encryption options (only in /etc/cups/client.conf). +By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites. +Security is reduced when \fIAllow\fR options are used. +Security is enhanced when \fIDeny\fR options are used. +The \fIAllowDH\fR option enables cipher suites using plain Diffie-Hellman key negotiation (not supported on systems using GNU TLS). +The \fIAllowRC4\fR option enables the 128-bit RC4 cipher suites, which are required for some older clients. +The \fIAllowSSL3\fR option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0. +The \fIDenyCBC\fR option disables all CBC cipher suites. +The \fIDenyTLS1.0\fR option disables TLS v1.0 support - this sets the minimum protocol version to TLS v1.1. +The \fIMinTLS\fR options set the minimum TLS version to support. +The \fIMaxTLS\fR options set the maximum TLS version to support. +Not all operating systems support TLS 1.3 at this time. +.\"#TrustOnFirstUse +.TP 5 +\fBTrustOnFirstUse Yes\fR +.TP 5 +\fBTrustOnFirstUse No\fR +Specifies whether to trust new TLS certificates by default. +The default is "Yes". +.\"#User +.TP 5 +\fBUser \fIname\fR +Specifies the default user name to use for requests. +.\"#UserAgentTokens +.TP 5 +\fBUserAgentTokens None\fR +.TP 5 +\fBUserAgentTokens ProductOnly\fR +.TP 5 +\fBUserAgentTokens Major\fR +.TP 5 +\fBUserAgentTokens Minor\fR +.TP 5 +\fBUserAgentTokens Minimal\fR +.TP 5 +\fBUserAgentTokens OS\fR +.TP 5 +\fBUserAgentTokens Full\fR +Specifies what information is included in the User-Agent header of HTTP requests. +"None" disables the User-Agent header. +"ProductOnly" reports "CUPS". +"Major" reports "CUPS/major IPP/2". +"Minor" reports "CUPS/major.minor IPP/2.1". +"Minimal" reports "CUPS/major.minor.patch IPP/2.1". +"OS" reports "CUPS/major.minor.path (osname osversion) IPP/2.1". +"Full" reports "CUPS/major.minor.path (osname osversion; architecture) IPP/2.1". +The default is "Minimal". +.\"#ValidateCerts +.TP 5 +\fBValidateCerts Yes\fR +.TP 5 +\fBValidateCerts No\fR +Specifies whether to only allow TLS with certificates whose common name matches the hostname. +The default is "No". +.SH NOTES +The \fBclient.conf\fR file is deprecated on macOS and will no longer be supported in a future version of CUPS. +Configuration settings can instead be viewed or changed using the +.BR defaults (1) +command: +.nf +defaults write /Library/Preferences/org.cups.PrintingPrefs.plist Encryption Required +defaults write /Library/Preferences/org.cups.PrintingPrefs.plist TrustOnFirstUse -bool NO + +defaults read /Library/Preferences/org.cups.PrintingPrefs.plist Encryption +.fi +On Linux and other systems using GNU TLS, the \fI/etc/cups/ssl/site.crl\fR file, if present, provides a list of revoked X.509 certificates and is used when validating certificates. +.SH SEE ALSO +.BR cups (1), +.BR default (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cups-config.1 b/man/cups-config.1 new file mode 100644 index 0000000..0671f89 --- /dev/null +++ b/man/cups-config.1 @@ -0,0 +1,109 @@ +.\" +.\" cups-config man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cups-config 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cups\-config \- get cups api, compiler, directory, and link information. +.SH SYNOPSIS +.B cups\-config +.I \-\-api\-version +.br +.B cups\-config +.I \-\-build +.br +.B cups\-config +.I \-\-cflags +.br +.B cups\-config +.I \-\-datadir +.br +.B cups\-config +.I \-\-help +.br +.B cups\-config +.I \-\-ldflags +.br +.B cups\-config +[ +.I \-\-image +] [ +.I \-\-static +] +.I \-\-libs +.br +.B cups\-config +.I \-\-serverbin +.br +.B cups\-config +.I \-\-serverroot +.br +.B cups-config +.I \-\-version +.br +.SH DESCRIPTION +The \fBcups-config\fR command allows application developers to determine the necessary command-line options for the compiler and linker, as well as the installation directories for filters, configuration files, and drivers. +All values are reported to the standard output. +.SH OPTIONS +The \fBcups-config\fR command accepts the following command-line options: +.TP 5 +.B \-\-api-version +Reports the current API version (major.minor). +.TP 5 +.B \-\-build +Reports a system-specific build number. +.TP 5 +.B \-\-cflags +Reports the necessary compiler options. +.TP 5 +.B \-\-datadir +Reports the default CUPS data directory. +.TP 5 +.B \-\-help +Reports the program usage message. +.TP 5 +.B \-\-ldflags +Reports the necessary linker options. +.TP 5 +.B \-\-libs +Reports the necessary libraries to link to. +.TP 5 +.B \-\-serverbin +Reports the default CUPS binary directory, where filters and backends are stored. +.TP 5 +.B \-\-serverroot +Reports the default CUPS configuration file directory. +.TP 5 +.B \-\-static +When used with \fI\-\-libs\fR, reports the static libraries instead of the default (shared) libraries. +.TP 5 +.B \-\-version +Reports the full version number of the CUPS installation (major.minor.patch). +.SH EXAMPLES +Show the currently installed version of CUPS: +.nf + + cups-config \-\-version + +.fi +Compile a simple one-file CUPS filter: +.nf + + cc `cups\-config \-\-cflags \-\-ldflags` \-o filter filter.c \\ + `cups\-config \-\-libs` +.fi +.SH DEPRECATED OPTIONS +The following options are deprecated but continue to work for backwards compatibility: +.TP 5 +.B \-\-image +Formerly used to add the CUPS imaging library to the list of libraries. +.SH SEE ALSO +.BR cups (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cups-files.conf.5 b/man/cups-files.conf.5 new file mode 100644 index 0000000..b451e2f --- /dev/null +++ b/man/cups-files.conf.5 @@ -0,0 +1,291 @@ +.\" +.\" cups-files.conf man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cups-files.conf 5 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cups\-files.conf \- file and directory configuration file for cups +.SH DESCRIPTION +The \fBcups\-files.conf\fR file configures the files and directories used by the CUPS scheduler, +.BR cupsd (8). +It is normally located in the \fI/etc/cups\fR directory. +.LP +Each line in the file can be a configuration directive, a blank line, or a comment. +Configuration directives typically consist of a name and zero or more values separated by whitespace. +The configuration directive name and values are case-insensitive. +Comment lines start with the # character. +.SS DIRECTIVES +The following directives are understood by +.BR cupsd (8): +.\"#AccessLog +.TP 5 +\fBAccessLog\fR +.TP 5 +\fBAccessLog \fIfilename\fR +.TP 5 +\fBAccessLog stderr\fR +.TP 5 +\fBAccessLog syslog\fR +Defines the access log filename. +Specifying a blank filename disables access log generation. +The value "stderr" causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. +The value "syslog" causes log entries to be sent to the system log daemon. +The server name may be included in filenames using the string "%s", for example: +.nf + + AccessLog /var/log/cups/%s-access_log + +.fi +The default is "/var/log/cups/access_log". +.\"#CacheDir +.TP 5 +\fBCacheDir \fIdirectory\fR +Specifies the directory to use for long-lived temporary (cache) files. +The default is "/var/spool/cups/cache" or "/var/cache/cups" depending on the platform. +.\"#ConfigFilePerm +.TP 5 +\fBConfigFilePerm \fImode\fR +Specifies the permissions for all configuration files that the scheduler writes. +The default is "0644" on macOS and "0640" on all other operating systems. +.LP +\fBNote:\fR The permissions for the \fIprinters.conf\fR file are currently masked to only allow access from the scheduler user (typically root). +This is done because printer device URIs sometimes contain sensitive authentication information that should not be generally known on the system. +There is no way to disable this security feature. +.\"#CreateSelfSignedCerts +.TP 5 +\fBCreateSelfSignedCerts yes\fR +.TP 5 +\fBCreateSelfSignedCerts no\fR +Specifies whether the scheduler automatically creates self-signed certificates for client connections using TLS. +The default is yes. +.\"#DataDir +.TP 5 +\fBDataDir \fIpath\fR +Specifies the directory where data files can be found. +The default is usually "/usr/share/cups". +.\"#DocumentRoot +.TP 5 +\fBDocumentRoot \fIdirectory\fR +Specifies the root directory for the CUPS web interface content. +The default is usually "/usr/share/doc/cups". +.\"#ErrorLog +.TP 5 +\fBErrorLog\fR +.TP 5 +\fBErrorLog \fIfilename\fR +.TP 5 +\fBErrorLog stderr\fR +.TP 5 +\fBErrorLog syslog\fR +Defines the error log filename. +Specifying a blank filename disables error log generation. +The value "stderr" causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. +The value "syslog" causes log entries to be sent to the system log daemon. +The server name may be included in filenames using the string "%s", for example: +.nf + + ErrorLog /var/log/cups/%s-error_log + +.fi +The default is "/var/log/cups/error_log". +.\"#FatalErrors +.TP 5 +\fBFatalErrors none\fR +.TP 5 +\fBFatalErrors all \fI\-kind \fR[ ... \fI\-kind \fR] +.TP 5 +\fBFatalErrors \fIkind \fR[ ... \fIkind \fR] +Specifies which errors are fatal, causing the scheduler to exit. +The default is "config". +The \fIkind\fR strings are: +.RS 5 +.TP 5 +.B none +No errors are fatal. +.TP 5 +.B all +All of the errors below are fatal. +.TP 5 +.B browse +Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon. +.TP 5 +.B config +Configuration file syntax errors are fatal. +.TP 5 +.B listen +Listen or Port errors are fatal, except for IPv6 failures on the loopback or "any" addresses. +.TP 5 +.B log +Log file creation or write errors are fatal. +.TP 5 +.B permissions +Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions. +.RE +.\"#Group +.TP 5 +\fBGroup \fIgroup-name-or-number\fR +Specifies the group name or ID that will be used when executing external programs. +The default group is operating system specific but is usually "lp" or "nobody". +.\"#LogFilePerm +.TP 5 +\fBLogFilePerm \fImode\fR +Specifies the permissions of all log files that the scheduler writes. +The default is "0644". +.\"#PageLog +.TP 5 +\fBPageLog \fR[ \fIfilename\fR ] +.TP 5 +\fBPageLog stderr\fR +.TP 5 +\fBPageLog syslog\fR +Defines the page log filename. +The value "stderr" causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. +The value "syslog" causes log entries to be sent to the system log daemon. +Specifying a blank filename disables page log generation. +The server name may be included in filenames using the string "%s", for example: +.nf + + PageLog /var/log/cups/%s-page_log + +.fi +The default is "/var/log/cups/page_log". +.\"#PassEnv +.TP 5 +\fBPassEnv \fIvariable \fR[ ... \fIvariable \fR] +Passes the specified environment variable(s) to child processes. +Note: the standard CUPS filter and backend environment variables cannot be overridden using this directive. +.\"#RemoteRoot +.TP 5 +\fBRemoteRoot \fIusername\fR +Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. +The default is "remroot". +.\"#RequestRoot +.TP 5 +\fBRequestRoot \fIdirectory\fR +Specifies the directory that contains print jobs and other HTTP request data. +The default is "/var/spool/cups". +.\"#Sandboxing +.TP 5 +\fBSandboxing relaxed\fR +.TP 5 +\fBSandboxing strict\fR +Specifies the level of security sandboxing that is applied to print filters, backends, and other child processes of the scheduler. +The default is "strict". +This directive is currently only used/supported on macOS. +.\"#ServerBin +.TP 5 +\fBServerBin \fIdirectory\fR +Specifies the directory containing the backends, CGI programs, filters, helper programs, notifiers, and port monitors. +The default is "/usr/lib/cups" or "/usr/libexec/cups" depending on the platform. +.\"#ServerKeychain +.TP 5 +\fBServerKeychain \fIpath\fR +Specifies the location of TLS certificates and private keys. +The default is "/Library/Keychains/System.keychain" on macOS and "/etc/cups/ssl" on all other operating systems. +macOS uses its keychain database to store certificates and keys while other platforms use separate files in the specified directory, *.crt for PEM-encoded certificates and *.key for PEM-encoded private keys. +.\"#ServerRoot +.TP 5 +\fBServerRoot \fIdirectory\fR +Specifies the directory containing the server configuration files. +The default is "/etc/cups". +.\"#SetEnv +.TP 5 +\fBSetEnv \fIvariable value\fR +Set the specified environment variable to be passed to child processes. +Note: the standard CUPS filter and backend environment variables cannot be overridden using this directive. +.\"#StateDir +.TP 5 +\fBStateDir \fIdirectory\fR +Specifies the directory to use for PID and local certificate files. +The default is "/var/run/cups" or "/etc/cups" depending on the platform. +.\"#SyncOnClose +.TP 5 +\fBSyncOnClose Yes\fR +.TP 5 +\fBSyncOnClose No\fR +Specifies whether the scheduler calls +.BR fsync (2) +after writing configuration or state files. +The default is "No". +.\"#SystemGroup +.TP 5 +\fBSystemGroup \fIgroup-name \fR[ ... \fIgroup-name\fR ] +Specifies the group(s) to use for \fI@SYSTEM\fR group authentication. +The default contains "admin", "lpadmin", "root", "sys", and/or "system". +.\"#TempDir +.TP 5 +\fBTempDir \fIdirectory\fR +Specifies the directory where short-term temporary files are stored. +The default is "/var/spool/cups/tmp". +.\"#User +.TP 5 +\fBUser \fIusername\fR +Specifies the user name or ID that is used when running external programs. +The default is "lp". +.SS DEPRECATED DIRECTIVES +The following directives are deprecated and will be removed from a future version of CUPS: +.\"#FileDevice +.TP 5 +\fBFileDevice Yes\fR +.TP 5 +\fBFileDevice No\fR +Specifies whether the file pseudo-device can be used for new printer queues. +The URI "file:///dev/null" is always allowed. +File devices cannot be used with "raw" print queues - a PPD file is required. +The specified file is overwritten for every print job. +Writing to directories is not supported. +.\"#FontPath +.TP 5 +\fBFontPath \fIdirectory[:...:directoryN]\fR +Specifies a colon separated list of directories where fonts can be found. +On Linux the +.BR font-config (1) +mechanism is used instead. +On macOS the Font Book application manages system-installed fonts. +.\"#LPDConfigFile +.TP 5 +\fB LPDConfigFile \fIfilename\fR +Specifies the LPD service configuration file to update. +.\"#Printcap +.TP 5 +\fBPrintcap \fIfilename\fR +Specifies a file that is filled with a list of local print queues. +.\"#PrintcapFormat +.TP 5 +\fBPrintcapFormat bsd\fR +.TP 5 +\fBPrintcapFormat plist\fR +.TP 5 +\fBPrintcapFormat solaris\fR +Specifies the format to use for the Printcap file. +"bsd" is the historical LPD printcap file format. +"plist" is the Apple plist file format. +"solaris" is the historical Solaris LPD printcap file format. +.\"#SMBConfigFile +.TP 5 +\fBSMBConfigFile \fIfilename\fR +Specifies the SMB service configuration file to update. +.SH NOTES +The scheduler MUST be restarted manually after making changes to the \fBcups-files.conf\fR file. +On Linux this is typically done using the +.BR systemctl (8) +command, while on macOS the +.BR launchctl (8) +command is used instead. +.SH SEE ALSO +.BR classes.conf (5), +.BR cups (1), +.BR cupsd (8), +.BR cupsd.conf (5), +.BR mime.convs (5), +.BR mime.types (5), +.BR printers.conf (5), +.BR subscriptions.conf (5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cups-lpd.8 b/man/cups-lpd.8 new file mode 100644 index 0000000..e8ce325 --- /dev/null +++ b/man/cups-lpd.8 @@ -0,0 +1,121 @@ +.\" +.\" cups-lpd man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cups-lpd 8 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cups-lpd \- receive print jobs and report printer status to lpd clients (deprecated) +.SH SYNOPSIS +.B cups-lpd +[ +\fB\-h \fIhostname\fR[\fB:\fIport\fR] +] [ +.B -n +] [ +.B -o +.I option=value +] +.SH DESCRIPTION +.B cups-lpd +is the CUPS Line Printer Daemon ("LPD") mini-server that supports legacy client systems that use the LPD protocol. +.B cups-lpd +does not act as a standalone network daemon but instead operates using any of the Internet "super-servers" such as +.BR inetd (8), +.BR launchd (8), +and +.BR systemd (8). +.SH OPTIONS +.TP 5 +\fB-h \fIhostname\fR[\fB:\fIport\fR] +Sets the CUPS server (and port) to use. +.TP 5 +.B -n +Disables reverse address lookups; normally +.B cups-lpd +will try to discover the hostname of the client via a reverse DNS lookup. +.TP 5 +\fB-o \fIname=value\fR +Inserts options for all print queues. Most often this is used to disable the "l" filter so that remote print jobs are filtered as needed for printing; the +.BR inetd (8) +example below sets the "document-format" option to "application/octet-stream" which forces autodetection of the print file format. +.SH CONFORMING TO +.B cups-lpd +does not enforce the restricted source port number specified in RFC 1179, as using restricted ports does not prevent users from submitting print jobs. +While this behavior is different than standard Berkeley LPD implementations, it should not affect normal client operations. +.LP +The output of the status requests follows RFC 2569, Mapping between LPD and IPP Protocols. Since many LPD implementations stray from this definition, remote status reporting to LPD clients may be unreliable. +.SH ERRORS +Errors are sent to the system log. +.SH FILES +.nf +.I /etc/inetd.conf +.I /etc/xinetd.d/cups-lpd +.I /System/Library/LaunchDaemons/org.cups.cups-lpd.plist +.fi +.SH NOTES +The +.B cups-lpd +program is deprecated and will no longer be supported in a future feature release of CUPS. +.SS PERFORMANCE +.B cups-lpd +performs well with small numbers of clients and printers. +However, since a new process is created for each connection and since each process must query the printing system before each job submission, it does not scale to larger configurations. +We highly recommend that large configurations use the native IPP support provided by CUPS instead. +.SS SECURITY +.B cups-lpd +currently does not perform any access control based on the settings in \fIcupsd.conf(5)\fR or in the \fIhosts.allow(5)\fR or \fIhosts.deny(5)\fR files used by TCP wrappers. +Therefore, running +.B cups-lpd +on your server will allow any computer on your network (and perhaps the entire +Internet) to print to your server. +.LP +While +.BR xinetd (8) +has built-in access control support, you should use the TCP wrappers package with +.BR inetd (8) +to limit access to only those computers that should be able to print through your server. +.LP +.B cups-lpd +is not enabled by the standard CUPS distribution. +Please consult with your operating system vendor to determine whether it is enabled by default on your system. +.SH EXAMPLE +If you are using +.BR inetd (8), +add the following line to the \fIinetd.conf\fR file to enable the +.B cups-lpd +mini-server: +.nf + + printer stream tcp nowait lp /usr/lib/cups/daemon/cups\-lpd cups\-lpd \\ + \-o document\-format=application/octet\-stream + +.fi +.LP +\fINote:\fR If you are using Solaris 10 or higher, you must run the +.BR inetdconv (1m) +program to register the changes to the \fIinetd.conf\fR file. +.LP +CUPS includes configuration files for +.BR launchd (8), +.BR systemd (8), +and +.BR xinetd (8). +Simply enable the +.B cups-lpd +service using the corresponding control program. +.SH SEE ALSO +.BR cups (1), +.BR cupsd (8), +.BR inetconv (1m), +.BR inetd (8), +.BR launchd (8), +.BR xinetd (8), +CUPS Online Help (http://localhost:631/help), +RFC 2569 +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cups-snmp.8 b/man/cups-snmp.8 new file mode 100644 index 0000000..19bda26 --- /dev/null +++ b/man/cups-snmp.8 @@ -0,0 +1,56 @@ +.\" +.\" SNMP backend man page for CUPS. +.\" +.\" Copyright © 2012-2019 by Apple Inc. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cups-snmp 8 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +snmp \- cups snmp backend (deprecated) +.SH SYNOPSIS +.B /usr/lib/cups/backend/snmp +.I ip-address-or-hostname +.br +.B /usr/libexec/cups/backend/snmp +.I ip-address-or-hostname +.br +.B lpinfo +.B \-v +.B \-\-include-schemes +snmp +.SH DESCRIPTION +The \fBDEPRECATED\fR CUPS SNMP backend provides legacy discovery and identification of network printers using SNMPv1. +When used for discovery through the scheduler, the backend will list all printers that respond to a broadcast SNMPv1 query with the "public" community name. +Additional queries are then sent to printers that respond in order to determine the correct device URI, make and model, and other information needed for printing. +.LP +In the first form, the SNMP backend is run directly by the user to look up the device URI and other information when you have an IP address or hostname. +This can be used for programs that need to configure print queues where the user has supplied an address but nothing else. +.LP +In the second form, the SNMP backend is run indirectly using the +.BR lpinfo (8) +command. +The output provides all printers detected via SNMP on the configured +broadcast addresses. +\fINote: no broadcast addresses are configured by default.\fR +.SH ENVIRONMENT +The DebugLevel value can be overridden using the CUPS_DEBUG_LEVEL environment variable. +The MaxRunTime value can be overridden using the CUPS_MAX_RUN_TIME environment variable. +.SH FILES +The SNMP backend reads the \fI/etc/cups/snmp.conf\fR configuration file, if +present, to set the default broadcast address, community name, and logging +level. +.SH NOTES +The CUPS SNMP backend is deprecated and will no longer be supported in a future +version of CUPS. +.SH CONFORMING TO +The CUPS SNMP backend uses the information from the Host, Printer, and Port Monitor MIBs along with some vendor private MIBs and intelligent port probes to determine the correct device URI and make and model for each printer. +.SH SEE ALSO +.BR backend (7), +.BR cups-snmp.conf (5), +.BR cupsd (8), +.BR lpinfo (8), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cups-snmp.conf.5 b/man/cups-snmp.conf.5 new file mode 100644 index 0000000..4ca20f2 --- /dev/null +++ b/man/cups-snmp.conf.5 @@ -0,0 +1,66 @@ +.\" +.\" snmp.conf man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH snmp.conf 5 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +snmp.conf \- snmp configuration file for cups (deprecated) +.SH DESCRIPTION +The +.B snmp.conf +file configures how the standard CUPS network backends (http, https, ipp, ipps, lpd, snmp, and socket) access printer information using SNMPv1 and is normally located in the \fI/etc/cups\fR directory. +Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character. +.LP +The Community and DebugLevel directives are used by all backends. The remainder apply only to the SNMP backend - +.BR cups-snmp (8). +.SH DIRECTIVES +The following directives are understood by the CUPS network backends: +.TP 5 +\fBAddress @IF(\fIname\fB)\fR +.TP 5 +\fBAddress @LOCAL\fR +.TP 5 +\fBAddress \fIaddress\fR +Sends SNMP broadcast queries (for discovery) to the specified address(es). +There is no default for the broadcast address. +.TP 5 +\fBCommunity \fIname\fR +Specifies the community name to use. +Only a single community name may be specified. +The default community name is "public". +If no name is specified, all SNMP functions are disabled. +.TP 5 +\fBDebugLevel \fInumber\fR +Specifies the logging level from 0 (none) to 3 (everything). +Typically only used for debugging (thus the name). +The default debug level is 0. +.TP 5 +\fBDeviceURI "\fIregular expression\fB" \fIdevice-uri \fR[... \fIdevice-uri\fR] +Specifies one or more device URIs that should be used for a given make and model string. +The regular expression is used to match the detected make and model, and the device URI strings must be of the form "scheme://%s[:port]/[path]", where "%s" represents the detected address or hostname. +There are no default device URI matching rules. +.TP 5 +\fBHostNameLookups on\fR +.TP 5 +\fBHostNameLookups off\fR +Specifies whether the addresses of printers should be converted to hostnames or left as numeric IP addresses. +The default is "off". +.TP 5 +\fBMaxRunTime \fIseconds\fR +Specifies the maximum number of seconds that the SNMP backend will scan the +network for printers. +The default is 120 seconds (2 minutes). +.SH NOTES +CUPS backends are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.SH SEE ALSO +.BR cups-snmp (8), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cups.1 b/man/cups.1 new file mode 100644 index 0000000..706620d --- /dev/null +++ b/man/cups.1 @@ -0,0 +1,143 @@ +.\" +.\" cups (intro) man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cups 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cups \- a standards-based, open source printing system +.SH DESCRIPTION +.B CUPS +is the software you use to print from applications like word processors, email readers, photo editors, and web browsers. It converts the page descriptions produced by your application (put a paragraph here, draw a line there, and so forth) into something your printer can understand and then sends the information to the printer for printing. +.LP +Now, since every printer manufacturer does things differently, printing can be very complicated. +.B CUPS +does its best to hide this from you and your application so that you can concentrate on printing and less on how to print. Generally, the only time you need to know anything about your printer is when you use it for the first time, and even then +.B CUPS +can often figure things out on its own. +.SS HOW DOES IT WORK? +The first time you print to a printer, +.B CUPS +creates a queue to keep track of the current status of the printer (everything OK, out of paper, etc.) and any pages you have printed. Most of the time the queue points to a printer connected directly to your computer via a USB port, however it can also point to a printer on your network, a printer on the Internet, or multiple printers depending on the configuration. Regardless of where the queue points, it will look like any other printer to you and your applications. +.LP +Every time you print something, +.B CUPS +creates a job which contains the queue you are sending the print to, the name of the document you are printing, and the page descriptions. Job are numbered (queue-1, queue-2, and so forth) so you can monitor the job as it is printed or cancel it if you see a mistake. When +.B CUPS +gets a job for printing, it determines the best programs (filters, printer drivers, port monitors, and backends) to convert the pages into a printable format and then runs them to actually print the job. +.LP +When the print job is completely printed, +.B CUPS +removes the job from the queue and moves on to any other jobs you have submitted. You can also be notified when the job is finished, or if there are any errors during printing, in several different ways. +.SS WHERE DO I BEGIN? +The easiest way to start is by using the web interface to configure your printer. Go to "http://localhost:631" and choose the Administration tab at the top of the page. Click/press on the Add Printer button and follow the prompts. +.LP +When you are asked for a username and password, enter your login username and password or the "root" username and password. +.LP +After the printer is added you will be asked to set the default printer options (paper size, output mode, etc.) for the printer. Make any changes as needed and then click/press on the Set Default Options button to save them. Some printers also support auto-configuration - click/press on the Query Printer for Default Options button to update the options automatically. +.LP +Once you have added the printer, you can print to it from any application. You can also choose Print Test Page from the maintenance menu to print a simple test page and verify that everything is working properly. +.LP +You can also use the +.BR lpadmin (8) +and +.BR lpinfo (8) +commands to add printers to +.BR CUPS . +Additionally, your operating system may include graphical user interfaces or automatically create printer queues when you connect a printer to your computer. +.SS HOW DO I GET HELP? +The +.B CUPS +web site (http://www.CUPS.org) provides access to the +.I cups +and +.I cups-devel +mailing lists, additional documentation and resources, and a bug report database. Most vendors also provide online discussion forums to ask printing questions for your operating system of choice. +.SH ENVIRONMENT +.B CUPS +commands use the following environment variables to override the default locations of files and so forth. For security reasons, these environment variables are ignored for setuid programs: +.TP 5 +.B CUPS_ANYROOT +Whether to allow any X.509 certificate root (Y or N). +.TP 5 +.B CUPS_CACHEDIR +The directory where semi-persistent cache files can be found. +.TP 5 +.B CUPS_DATADIR +The directory where data files can be found. +.TP 5 +.B CUPS_ENCRYPTION +The default level of encryption (Always, IfRequested, Never, Required). +.TP 5 +.B CUPS_EXPIREDCERTS +Whether to allow expired X.509 certificates (Y or N). +.TP 5 +.B CUPS_GSSSERVICENAME +The Kerberos service name used for authentication. +.TP 5 +.B CUPS_SERVER +The hostname/IP address and port number of the CUPS scheduler (hostname:port or ipaddress:port). +.TP 5 +.B CUPS_SERVERBIN +The directory where server helper programs, filters, backend, etc. can be found. +.TP 5 +.B CUPS_SERVERROOT +The root directory of the server. +.TP 5 +.B CUPS_STATEDIR +The directory where state files can be found. +.TP 5 +.B CUPS_USER +Specifies the name of the user for print requests. +.TP 5 +.B HOME +Specifies the home directory of the current user. +.TP 5 +.B IPP_PORT +Specifies the default port number for IPP requests. +.TP 5 +.B LOCALEDIR +Specifies the location of localization files. +.TP 5 +.B LPDEST +Specifies the default print queue (System V standard). +.TP 5 +.B PRINTER +Specifies the default print queue (Berkeley standard). +.TP 5 +.B TMPDIR +Specifies the location of temporary files. +.SH FILES +.nf +.I ~/.cups/client.conf +.I ~/.cups/lpoptions +.fi +.SH CONFORMING TO +.B CUPS +conforms to the Internet Printing Protocol version 2.1 and implements the Berkeley and System V UNIX print commands. +.SH NOTES +CUPS printer drivers, backends, and PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.SH SEE ALSO +.BR cancel (1), +.BR client.conf (7), +.BR cupsctl (8), +.BR cupsd (8), +.BR lp (1), +.BR lpadmin (8), +.BR lpinfo (8), +.BR lpoptions (1), +.BR lpr (1), +.BR lprm (1), +.BR lpq (1), +.BR lpstat (1), +CUPS Online Help (http://localhost:631/help), +CUPS Web Site (http://www.CUPS.org), +PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cupsaccept.8 b/man/cupsaccept.8 new file mode 100644 index 0000000..c855d82 --- /dev/null +++ b/man/cupsaccept.8 @@ -0,0 +1,86 @@ +.\" +.\" cupsaccept/reject man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cupsaccept 8 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cupsaccept/cupsreject \- accept/reject jobs sent to a destination +.SH SYNOPSIS +.B cupsaccept +[ +.B \-E +] [ +.B \-U +.I username +] [ +.B \-h +.I hostname[:port] +] +.I destination(s) +.br +.B cupsreject +[ +.B \-E +] [ +.B \-U +.I username +] [ +.B \-h +.I hostname[:port] +] [ +.B \-r +.I reason +] +.I destination(s) +.SH DESCRIPTION +The +.B cupsaccept +command instructs the printing system to accept print jobs to the specified destinations. +.LP +The +.B cupsreject +command instructs the printing system to reject print jobs to the +specified destinations. +The \fI-r\fR option sets the reason for rejecting print jobs. If not specified, the reason defaults to "Reason Unknown". +.SH OPTIONS +The following options are supported by both +.B cupsaccept +and +.BR cupsreject : +.TP 5 +.B \-E +Forces encryption when connecting to the server. +.TP 5 +\fB-U \fIusername\fR +Sets the username that is sent when connecting to the server. +.TP 5 +\fB-h \fIhostname[:port]\fR +Chooses an alternate server. +.TP 5 +\fB-r \fR"\fIreason\fR" +Sets the reason string that is shown for a printer that is rejecting jobs. +.SH CONFORMING TO +The +.B cupsaccept +and +.B cupsreject +commands correspond to the System V printing system commands "accept" and "reject", respectively. +Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". +Also, printer and class names are \fInot\fR case-sensitive. +.LP +Finally, the CUPS versions may ask the user for an access password depending on the printing system configuration. +.SH SEE ALSO +.BR cancel (1), +.BR cupsenable (8), +.BR lp (1), +.BR lpadmin (8), +.BR lpstat (1), +.br +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cupsctl.8 b/man/cupsctl.8 new file mode 100644 index 0000000..791954c --- /dev/null +++ b/man/cupsctl.8 @@ -0,0 +1,98 @@ +.\" +.\" cupsctl man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 2007 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cupsctl 8 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cupsctl \- configure cupsd.conf options +.SH SYNOPSIS +.B cupsctl +[ +.B \-E +] [ +.B \-U +.I username +] [ +.B \-h +\fIserver\fR[\fB:\fIport\fR] +] [ +\fB\-\-\fR[\fBno\-\fR]\fBdebug\-logging\fR +] [ +\fB\-\-\fR[\fBno\-\fR]\fBremote\-admin\fR +] [ +\fB\-\-\fR[\fBno\-\fR]\fBremote\-any\fR +] [ +\fB\-\-\fR[\fBno\-\fR]\fBshare\-printers\fR +] [ +\fB\-\-\fR[\fBno\-\fR]\fBuser\-cancel\-any\fR +] [ +.I name=value +] +.SH DESCRIPTION +\fBcupsctl\fR updates or queries the \fIcupsd.conf\fR file for a server. When +no changes are requested, the current configuration values are written to the +standard output in the format "name=value", one per line. +.SH OPTIONS +The following options are recognized: +.TP 5 +.B \-E +Enables encryption on the connection to the scheduler. +.TP 5 +\fB\-U \fIusername\fR +Specifies an alternate username to use when authenticating with the scheduler. +.TP 5 +\fB\-h \fIserver\fR[\fB:\fIport\fR] +Specifies the server address. +.TP 5 +\fB\-\-\fR[\fBno\-\fR]\fBdebug\-logging\fR +Enables (disables) debug logging to the \fIerror_log\fR file. +.TP 5 +\fB\-\-\fR[\fBno\-\fR]\fBremote\-admin\fR +Enables (disables) remote administration. +.TP 5 +\fB\-\-\fR[\fBno\-\fR]\fBremote\-any\fR +Enables (disables) printing from any address, e.g., the Internet. +.TP 5 +\fB\-\-\fR[\fBno\-\fR]\fBshare\-printers\fR +Enables (disables) sharing of local printers with other computers. +.TP 5 +\fB\-\-\fR[\fBno\-\fR]\fBuser\-cancel\-any\fR +Allows (prevents) users to cancel jobs owned by others. +.SH EXAMPLES +Display the current settings: +.nf + + cupsctl + +.fi +Enable debug logging: +.nf + + cupsctl --debug-logging + +.fi +Get the current debug logging state: +.nf + + cupsctl | grep '^_debug_logging' | awk -F= '{print $2}' + +.fi +Disable printer sharing: +.nf + + cupsctl --no-share-printers +.fi +.SH KNOWN ISSUES +You cannot set the Listen or Port directives using \fBcupsctl\fR. +.SH SEE ALSO +.BR cupsd.conf (5), +.BR cupsd (8), +.br +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cupsd-helper.8 b/man/cupsd-helper.8 new file mode 100644 index 0000000..bfd2e45 --- /dev/null +++ b/man/cupsd-helper.8 @@ -0,0 +1,90 @@ +.\" +.\" cupsd-helper man page for CUPS. +.\" +.\" Copyright 2007-2019 by Apple Inc. +.\" Copyright 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cupsd-helper 8 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cupsd\-helper \- cupsd helper programs (deprecated) +.SH SYNOPSIS +.B cups\-deviced +.I request-id +.I limit +.I user-id +.I options +.br +.B cups\-driverd +.B cat +.I ppd-name +.br +.B cups\-driverd +.B list +.I request_id +.I limit +.I options +.br +.B cups\-exec +.I sandbox-profile +[ +.I \-g +.I group-id +] [ +.I \-n +.I nice-value +] [ +.I \-u +.I user-id +] +.I /path/to/program +.I argv0 +.I ... +.I argvN +.SH DESCRIPTION +The \fBcupsd\-helper\fR programs perform long-running operations on behalf of the scheduler, +.BR cupsd (8). +The \fBcups-deviced\fR helper program runs each CUPS +.BR backend (7) +with no arguments in order to discover the available printers. +.LP +The \fBcups-driverd\fR helper program lists all available printer drivers, a subset of "matching" printer drivers, or a copy of a specific driver PPD file. +.LP +The \fBcups-exec\fR helper program runs backends, filters, and other programs. On macOS these programs are run in a secure sandbox. +.SH FILES +The \fBcups-driverd\fR program looks for PPD and driver information files in the following directories: +.nf + + \fI/Library/Printers\fR + \fI/opt/share/ppd\fR + \fI/System/Library/Printers\fR + \fI/usr/local/share/ppd\fR + \fI/usr/share/cups/drv\fR + \fI/usr/share/cups/model\fR + \fI/usr/share/ppd\fR +.fi +.LP +PPD files can be compressed using the +.BR gzip (1) +program or placed in compressed +.BR tar (1) +archives to further reduce their size. +.LP +Driver information files must conform to the format defined in +.BR ppdcfile (5). +.SH NOTES +CUPS printer drivers, backends, and PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.SH SEE ALSO +.BR backend (7), +.BR cups (1), +.BR cupsd (8), +.BR cupsd.conf (5), +.BR filter (7), +.BR ppdcfile (5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cupsd-logs.5 b/man/cupsd-logs.5 new file mode 100644 index 0000000..2070be9 --- /dev/null +++ b/man/cupsd-logs.5 @@ -0,0 +1,222 @@ +.\" +.\" cupsd-logs man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cupsd-logs 5 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cupsd\-logs \- cupsd log files (access_log, error_log, and page_log) +.SH DESCRIPTION +.BR cupsd (8) +normally maintains three log files: \fIaccess_log\fR to track requests that are submitted to the scheduler, \fIerror_log\fR to track progress and errors, and \fIpage_log\fR to track pages that are printed. +Configuration directives in +.BR cupsd.conf (5) +and +.BR cups-files.conf (5) +control what information is logged and where it is stored. +.SS ACCESS LOG FILE FORMAT +The \fIaccess_log\fR file lists each HTTP resource that is accessed by a web browser or client. +Each line is in an extended version of the so-called "Common Log Format" used by many web servers and web reporting tools: +.nf + + \fIhost group user date-time \fR"\fImethod resource version\fR" \fIstatus bytes + ipp-operation ipp-status\fR + +.fi +For example: +.nf + + 10.0.1.2 - - [01/Dec/2005:21:50:28 +0000] "POST / HTTP/1.1" 200 317 + CUPS-Get-Printers successful-ok-ignored-or-substituted-attributes + localhost - - [01/Dec/2005:21:50:32 +0000] "GET /admin HTTP/1.1" + 200 0 - - + localhost - - [01/Dec/2005:21:50:32 +0000] "POST / HTTP/1.1" + 200 157 CUPS-Get-Printers + successful-ok-ignored-or-substituted-attributes + localhost - - [01/Dec/2005:21:50:32 +0000] "POST / HTTP/1.1" + 200 1411 CUPS-Get-Devices - + localhost - - [01/Dec/2005:21:50:32 +0000] "GET /admin HTTP/1.1" + 200 6667 - - + +.fi +The \fIhost\fR field will normally only be an IP address unless you have enabled the HostNameLookups directive in the \fIcupsd.conf\fR file or if the IP address corresponds to your local machine. +.LP +The \fIgroup\fR field always contains "-". +.LP +The \fIuser\fR field is the authenticated username of the requesting user. +If no username and password is supplied for the request then this field contains "-". +.LP +The \fIdate-time\fR field is the date and time of the request in local time and is in the format "[DD/MON/YYYY:HH:MM:SS +ZZZZ]". +.LP +The \fImethod\fR field is the HTTP method used: "GET", "HEAD", "OPTIONS", "POST", or "PUT". +"GET" requests are used to get files from the server, both for the web interface and to get configuration and log files. +"HEAD" requests are used to get information about a resource prior to a "GET". +"OPTIONS" requests are used to upgrade connections to TLS encryption. +"POST" requests are used for web interface forms and IPP requests. +"PUT" requests are used to upload configuration files. +.LP +The \fIresource\fR field is the filename of the requested resource. +.LP +The \fIversion\fR field is the HTTP specification version used by the client. +For CUPS clients this will always be "HTTP/1.1". +.LP +The \fIstatus\fR field contains the HTTP result status of the request, as follows: +.RS 5 +.TP 5 +200 +Successful operation. +.TP 5 +201 +File created/modified successfully. +.TP 5 +304 +The requested file has not changed. +.TP 5 +400 +Bad HTTP request; typically this means that you have a malicious program trying to access your server. +.TP 5 +401 +Unauthorized, authentication (username + password) is required. +.TP 5 +403 +Access is forbidden; typically this means that a client tried to access a file or resource they do not have permission to access. +.TP 5 +404 +The file or resource does not exist. +.TP 5 +405 +URL access method is not allowed; typically this means you have a web browser using your server as a proxy. +.TP 5 +413 +Request too large; typically this means that a client tried to print a file larger than the MaxRequestSize allows. +.TP 5 +426 +Upgrading to TLS-encrypted connection. +.TP 5 +500 +Server error; typically this happens when the server is unable to open/create a file - consult the error_log file for details. +.TP 5 +501 +The client requested encryption but encryption support is not enabled/compiled in. +.TP 5 +505 +HTTP version number not supported; typically this means that you have a malicious program trying to access your server. +.RE +.LP +The \fIbytes\fR field contains the number of bytes in the request. +For POST requests the bytes field contains the number of bytes of non-IPP data that is received from the client. +.LP +The \fIipp-operation\fR field contains either "-" for non-IPP requests or the IPP operation name for POST requests containing an IPP request. +.LP +The \fIipp-status\fR field contains either "-" for non-IPP requests or the IPP status code name for POST requests containing an IPP response. +.SS ERROR LOG FILE FORMAT +The \fIerror_log\fR file lists messages from the scheduler - errors, warnings, etc. The LogLevel directive in the +.BR cupsd.conf (5) +file controls which messages are logged: +.nf + + level date-time message + +.fi +For example: +.nf + + I [20/May/1999:19:18:28 +0000] [Job 1] Queued on 'DeskJet' by 'mike'. + D [20/May/1999:19:18:28 +0000] [Job 1] argv[0]="DeskJet" + D [20/May/1999:19:18:28 +0000] [Job 1] argv[1]="1" + D [20/May/1999:19:18:28 +0000] [Job 1] argv[2]="mike" + D [20/May/1999:19:18:28 +0000] [Job 1] argv[3]="myjob" + D [20/May/1999:19:18:28 +0000] [Job 1] argv[4]="1" + D [20/May/1999:19:18:28 +0000] [Job 1] argv[5]="media= + na_letter_8.5x11in sides=one-sided" + D [20/May/1999:19:18:28 +0000] [Job 1] argv[6]="/var/spool/cups/ + d000001-001" + I [20/May/1999:19:21:02 +0000] [Job 2] Queued on 'DeskJet' by 'mike'. + I [20/May/1999:19:22:24 +0000] [Job 2] Canceled by 'mike'. + +.fi +The \fIlevel\fR field contains the type of message: +.TP 5 +A +Alert message (LogLevel alert) +.TP 5 +C +Critical error message (LogLevel crit) +.TP 5 +D +Debugging message (LogLevel debug) +.TP 5 +d +Detailed debugging message (LogLevel debug2) +.TP 5 +E +Normal error message (LogLevel error) +.TP 5 +I +Informational message (LogLevel info) +.TP 5 +N +Notice message (LogLevel notice) +.TP 5 +W +Warning message (LogLevel warn) +.TP 5 +X +Emergency error message (LogLevel emerg) +.LP +The \fIdate-time\fR field contains the date and time of when the page started printing. The format of this field is identical to the data-time field in the \fIaccess_log\fR file. +.LP +The \fImessage\fR field contains a free-form textual message. +Messages from job filters are prefixed with "[Job NNN]" where "NNN" is the job ID. +.SS PAGE LOG FILE FORMAT +The \fIpage_log\fR file lists the total number of pages (sheets) that are printed. +By default, each line contains the following information: +.nf + + \fIprinter user job-id date-time \fBtotal \fInum-sheets job-billing + job-originating-host-name job-name media sides\fR + +.fi +For example the entry for a two page job called "myjob" might look like: +.nf + + DeskJet root 1 [20/May/1999:19:21:06 +0000] total 2 acme-123 + localhost myjob na_letter_8.5x11in one-sided + +.fi +The PageLogFormat directive in the +.BR cupsd.conf (5) +file can be used to change this information. +.LP +The \fIprinter\fR field contains the name of the printer that printed the page. +If you send a job to a printer class, this field will contain the name of the printer that was assigned the job. +.LP +The \fIuser\fR field contains the name of the user (the IPP requesting-user-name attribute) that submitted this file for printing. +.LP +The \fIjob-id\fR field contains the job number of the page being printed. +.LP +The \fIdate-time\fR field contains the date and time of when the page started printing. +The format of this field is identical to the data-time field in the \fIaccess_log\fR file. +.LP +The \fInum-sheets\fR field provides the total number of pages (sheets) that have been printed on for the job. +.LP +The \fIjob-billing\fR field contains a copy of the job-billing or job-account-id attributes provided with the IPP Create-Job or Print-Job requests or "-" if neither was provided. +.LP +The \fIjob-originating-host-name\fR field contains the hostname or IP address of the client that printed the job. +.LP +The \fIjob-name\fR field contains a copy of the job-name attribute provided with the IPP Create-Job or Print-Job requests or "-" if none was provided. +.LP +The \fImedia\fR field contains a copy of the media or media-col/media-size attribute provided with the IPP Create-Job or Print-Job requests or "-" if none was provided. +.LP +The \fIsides\fR field contains a copy of the sides attribute provided with the IPP Create-Job or Print-Job requests or "-" if none was provided. +.SH SEE ALSO +.BR cupsd (8), +.BR cupsd.conf (5), +.BR cups-files.conf (5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cupsd.8 b/man/cupsd.8 new file mode 100644 index 0000000..e671ae3 --- /dev/null +++ b/man/cupsd.8 @@ -0,0 +1,126 @@ +.\" +.\" cupsd man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cupsd 8 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cupsd \- cups scheduler +.SH SYNOPSIS +.B cupsd +[ +.B \-c +.I cupsd.conf +] [ +.B \-f +] [ +.B \-F +] [ +.B \-h +] [ +.B \-l +] [ +.B \-s +.I cups-files.conf +] [ +.B \-t +] +.SH DESCRIPTION +.B cupsd +is the scheduler for CUPS. It implements a printing system based upon the Internet Printing Protocol, version 2.1, and supports most of the requirements for IPP Everywhere. If no options are specified on the command-line then the default configuration file +.I /etc/cups/cupsd.conf +will be used. +.SH OPTIONS +.TP 5 +.BI \-c \ cupsd.conf +Uses the named cupsd.conf configuration file. +.TP 5 +.B \-f +Run +.B cupsd +in the foreground; the default is to run in the background as a "daemon". +.TP 5 +.B \-F +Run +.B cupsd +in the foreground but detach the process from the controlling terminal and current directory. This is useful for running +.B cupsd +from +.BR init (8). +.TP 5 +.B \-h +Shows the program usage. +.TP 5 +.B \-l +This option is passed to +.B cupsd +when it is run from +.BR launchd (8) +or +.BR systemd (8). +.TP 5 +.BI \-s \ cups-files.conf +Uses the named cups-files.conf configuration file. +.TP 5 +.B \-t +Test the configuration file for syntax errors. +.SH FILES +.nf +.I /etc/cups/classes.conf +.I /etc/cups/cups-files.conf +.I /etc/cups/cupsd.conf +.I /usr/share/cups/mime/mime.convs +.I /usr/share/cups/mime/mime.types +.I /etc/cups/printers.conf +.I /etc/cups/subscriptions.conf +.fi +.SH CONFORMING TO +.B cupsd +implements all of the required IPP/2.1 attributes and operations. It also implements several CUPS-specific administrative operations. +.SH EXAMPLES +Run +.B cupsd +in the background with the default configuration file: +.nf + + cupsd + +.fi +Test a configuration file called +.IR test.conf : +.nf + + cupsd \-t \-c test.conf + +.fi +Run +.B cupsd +in the foreground with a test configuration file called +.IR test.conf : +.nf + + cupsd \-f \-c test.conf + +.fi +.SH SEE ALSO +.BR backend (7), +.BR classes.conf (5), +.BR cups (1), +.BR cups-files.conf (5), +.BR cups-lpd (8), +.BR cupsd.conf (5), +.BR cupsd-helper (8), +.BR cupsd-logs (8), +.BR filter (7), +.BR launchd (8), +.BR mime.convs (5), +.BR mime.types (5), +.BR printers.conf (5), +.BR systemd (8), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cupsd.conf.5 b/man/cupsd.conf.5 new file mode 100644 index 0000000..00b1a22 --- /dev/null +++ b/man/cupsd.conf.5 @@ -0,0 +1,905 @@ +.\" +.\" cupsd.conf man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cupsd.conf 5 "CUPS" "16 July 2019" "Apple Inc." +.SH NAME +cupsd.conf \- server configuration file for cups +.SH DESCRIPTION +The +.I cupsd.conf +file configures the CUPS scheduler, +.BR cupsd (8). +It is normally located in the +.I /etc/cups +directory. +Each line in the file can be a configuration directive, a blank line, or a comment. +Configuration directives typically consist of a name and zero or more values separated by whitespace. +The configuration directive name and values are case-insensitive. +Comment lines start with the # character. +.SS TOP-LEVEL DIRECTIVES +The following top-level directives are understood by +.BR cupsd (8): +.\"#AccessLogLevel +.TP 5 +\fBAccessLogLevel config\fR +.TP 5 +\fBAccessLogLevel actions\fR +.TP 5 +\fBAccessLogLevel all\fR +Specifies the logging level for the AccessLog file. +The "config" level logs when printers and classes are added, deleted, or modified and when configuration files are accessed or updated. +The "actions" level logs when print jobs are submitted, held, released, modified, or canceled, and any of the conditions for "config". +The "all" level logs all requests. +The default access log level is "actions". +.\"#AutoPurgeJobs +.TP 5 +\fBAutoPurgeJobs Yes\fR +.TP 5 +\fBAutoPurgeJobs No\fR +.br +Specifies whether to purge job history data automatically when it is no longer required for quotas. +The default is "No". +.\"#BrowseDNSSDSubTypes +.TP 5 +.BI BrowseDNSSDSubTypes _subtype[,...] +Specifies a list of Bonjour sub-types to advertise for each shared printer. +For example, "BrowseDNSSDSubTypes _cups,_print" will tell network clients that both CUPS sharing and IPP Everywhere are supported. +The default is "_cups" which is necessary for printer sharing to work between systems using CUPS. +.\"#BrowseLocalProtocols +.TP 5 +\fBBrowseLocalProtocols all\fR +.TP 5 +\fBBrowseLocalProtocols dnssd\fR +.TP 5 +\fBBrowseLocalProtocols none\fR +Specifies which protocols to use for local printer sharing. +The default is "dnssd" on systems that support Bonjour and "none" otherwise. +.\"#BrowseWebIF +.TP 5 +\fBBrowseWebIF Yes\fR +.TP 5 +\fBBrowseWebIF No\fR +.br +Specifies whether the CUPS web interface is advertised. +The default is "No". +.\"#Browsing +.TP 5 +\fBBrowsing Yes\fR +.TP 5 +\fBBrowsing No\fR +.br +Specifies whether shared printers are advertised. +The default is "No". +.\"#DefaultAuthType +.TP 5 +\fBDefaultAuthType Basic\fR +.TP 5 +\fBDefaultAuthType Negotiate\fR +.br +Specifies the default type of authentication to use. +The default is "Basic". +.\"#DefaultEncryption +.TP 5 +\fBDefaultEncryption Never\fR +.TP 5 +\fBDefaultEncryption IfRequested\fR +.TP 5 +\fBDefaultEncryption Required\fR +Specifies whether encryption will be used for authenticated requests. +The default is "Required". +.\"#DefaultLanguage +.TP 5 +\fBDefaultLanguage \fIlocale\fR +Specifies the default language to use for text and web content. +The default is "en". +.\"#DefaultPaperSize +.TP 5 +\fBDefaultPaperSize Auto\fR +.TP 5 +\fBDefaultPaperSize None\fR +.TP 5 +\fBDefaultPaperSize \fIsizename\fR +Specifies the default paper size for new print queues. "Auto" uses a locale-specific default, while "None" specifies there is no default paper size. +Specific size names are typically "Letter" or "A4". +The default is "Auto". +.\"#DefaultPolicy +.TP 5 +\fBDefaultPolicy \fIpolicy-name\fR +Specifies the default access policy to use. +The default access policy is "default". +.\"#DefaultShared +.TP 5 +\fBDefaultShared Yes\fR +.TP 5 +\fBDefaultShared No\fR +Specifies whether local printers are shared by default. +The default is "Yes". +.\"#DirtyCleanInterval +.TP 5 +\fBDirtyCleanInterval \fIseconds\fR +Specifies the delay for updating of configuration and state files. +A value of 0 causes the update to happen as soon as possible, typically within a few milliseconds. +The default value is "30". +.\"#DNSSDHostName +.TP 5 +.BI DNSSDHostName hostname.example.com +Specifies the fully-qualified domain name for the server that is used for Bonjour sharing. +The default is typically the server's ".local" hostname. +.\"#ErrorPolicy +.TP 5 +\fBErrorPolicy abort-job\fR +Specifies that a failed print job should be aborted (discarded) unless otherwise specified for the printer. +.TP 5 +\fBErrorPolicy retry-current-job\fR +Specifies that a failed print job should be retried immediately unless otherwise specified for the printer. +.TP 5 +\fBErrorPolicy retry-job\fR +Specifies that a failed print job should be retried at a later time unless otherwise specified for the printer. +.TP 5 +\fBErrorPolicy stop-printer\fR +Specifies that a failed print job should stop the printer unless otherwise specified for the printer. The 'stop-printer' error policy is the default. +.\"#FilterLimit +.TP 5 +\fBFilterLimit \fIlimit\fR +Specifies the maximum cost of filters that are run concurrently, which can be used to minimize disk, memory, and CPU resource problems. +A limit of 0 disables filter limiting. +An average print to a non-PostScript printer needs a filter limit of about 200. +A PostScript printer needs about half that (100). +Setting the limit below these thresholds will effectively limit the scheduler to printing a single job at any time. +The default limit is "0". +.\"#FilterNice +.TP 5 +\fBFilterNice \fInice-value\fR +Specifies the scheduling priority ( +.BR nice (8) +value) of filters that are run to print a job. +The nice value ranges from 0, the highest priority, to 19, the lowest priority. +The default is 0. +.\"#GSSServiceName +.TP 5 +\fBGSSServiceName \fIname\fR +Specifies the service name when using Kerberos authentication. +The default service name is "http." +.TP 5 +.\"#HostNameLookups +\fBHostNameLookups On\fR +.TP 5 +\fBHostNameLookups Off\fR +.TP 5 +\fBHostNameLookups Double\fR +Specifies whether to do reverse lookups on connecting clients. +The "Double" setting causes +.BR cupsd (8) +to verify that the hostname resolved from the address matches one of the addresses returned for that hostname. +Double lookups also prevent clients with unregistered addresses from connecting to your server. +The default is "Off" to avoid the potential server performance problems with hostname lookups. +Only set this option to "On" or "Double" if absolutely required. +.\"#IdleExitTimeout +.TP 5 +\fBIdleExitTimeout \fIseconds\fR +Specifies the length of time to wait before shutting down due to inactivity. +The default is "60" seconds. +Note: Only applicable when +.BR cupsd (8) +is run on-demand (e.g., with \fB-l\fR). +.\"#JobKillDelay +.TP 5 +\fBJobKillDelay \fIseconds\fR +Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job. +The default is "30". +.\"#JobRetryInterval +.TP 5 +\fBJobRetryInterval \fIseconds\fR +Specifies the interval between retries of jobs in seconds. +This is typically used for fax queues but can also be used with normal print queues whose error policy is "retry-job" or "retry-current-job". +The default is "30". +.\"#JobRetryLimit +.TP 5 +\fBJobRetryLimit \fIcount\fR +Specifies the number of retries that are done for jobs. +This is typically used for fax queues but can also be used with normal print queues whose error policy is "retry-job" or "retry-current-job". +The default is "5". +.\"#KeepAlive +.TP 5 +\fBKeepAlive Yes\fR +.TP 5 +\fBKeepAlive No\fR +Specifies whether to support HTTP keep-alive connections. +The default is "Yes". +.\"#KeepAliveTimeout +.TP 5 +\fBKeepAliveTimeout \fIseconds\fR +Specifies how long an idle client connection remains open. +The default is "30". +.\"#LimitIPP +.TP 5 +\fB \fR... \fB\fR +Specifies the IPP operations that are being limited inside a Policy section. IPP operation names are listed below in the section "IPP OPERATION NAMES". +.\"#Limit +.TP 5 +\fB \fR... \fB\fR +.\"#LimitExcept +.TP 5 +\fB \fR... \fB\fR +Specifies the HTTP methods that are being limited inside a Location section. HTTP method names are listed below in the section "HTTP METHOD NAMES". +.\"#LimitRequestBody +.TP 5 +\fBLimitRequestBody \fIsize\fR +Specifies the maximum size of print files, IPP requests, and HTML form data. +The default is "0" which disables the limit check. +.\"#Listen +.TP 5 +\fBListen \fIipv4-address\fB:\fIport\fR +.TP 5 +\fBListen [\fIipv6-address\fB]:\fIport\fR +.TP 5 +\fBListen *:\fIport\fR +.TP 5 +\fBListen \fI/path/to/domain/socket\fR +Listens to the specified address and port or domain socket path for connections. +Multiple Listen directives can be provided to listen on multiple addresses. +The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks. +.\"#ListenBackLog +.TP 5 +\fBListenBackLog \fInumber\fR +Specifies the number of pending connections that will be allowed. +This normally only affects very busy servers that have reached the MaxClients limit, but can also be triggered by large numbers of simultaneous connections. +When the limit is reached, the operating system will refuse additional connections until the scheduler can accept the pending ones. +The default is the OS-defined default limit, typically either "5" for older operating systems or "128" for newer operating systems. +.\"#Location +.TP 5 +\fB \fR... \fB\fR +Specifies access control for the named location. +Paths are documented below in the section "LOCATION PATHS". +.\"#LogDebugHistory +.TP 5 +\fBLogDebugHistory \fInumber\fR +Specifies the number of debugging messages that are retained for logging if an error occurs in a print job. Debug messages are logged regardless of the LogLevel setting. +.\"#LogLevel +.TP 5 +\fBLogLevel \fRnone +.TP 5 +\fBLogLevel \fRemerg +.TP 5 +\fBLogLevel \fRalert +.TP 5 +\fBLogLevel \fRcrit +.TP 5 +\fBLogLevel \fRerror +.TP 5 +\fBLogLevel \fRwarn +.TP 5 +\fBLogLevel \fRnotice +.TP 5 +\fBLogLevel \fRinfo +.TP 5 +\fBLogLevel \fRdebug +.TP 5 +\fBLogLevel \fRdebug2 +Specifies the level of logging for the ErrorLog file. +The value "none" stops all logging while "debug2" logs everything. +The default is "warn". +.\"#LogTimeFormat +.TP 5 +\fBLogTimeFormat \fRstandard +.TP 5 +\fBLogTimeFormat \fRusecs +Specifies the format of the date and time in the log files. +The value "standard" is the default and logs whole seconds while "usecs" logs microseconds. +.\"#MaxClients +.TP 5 +\fBMaxClients \fInumber\fR +Specifies the maximum number of simultaneous clients that are allowed by the scheduler. +The default is "100". +.\"#MaxClientPerHost +.TP 5 +\fBMaxClientsPerHost \fInumber\fR +Specifies the maximum number of simultaneous clients that are allowed from a +single address. +The default is the MaxClients value. +.\"#MaxCopies +.TP 5 +\fBMaxCopies \fInumber\fR +Specifies the maximum number of copies that a user can print of each job. +The default is "9999". +.\"#MaxHoldTime +.TP 5 +\fBMaxHoldTime \fIseconds\fR +Specifies the maximum time a job may remain in the "indefinite" hold state before it is canceled. +The default is "0" which disables cancellation of held jobs. +.\"#MaxJobs +.TP 5 +\fBMaxJobs \fInumber\fR +Specifies the maximum number of simultaneous jobs that are allowed. +Set to "0" to allow an unlimited number of jobs. +The default is "500". +.\"#MaxJobsPerPrinter +.TP 5 +\fBMaxJobsPerPrinter \fInumber\fR +Specifies the maximum number of simultaneous jobs that are allowed per printer. +The default is "0" which allows up to MaxJobs jobs per printer. +.\"#MaxJobsPerUser +.TP 5 +\fBMaxJobsPerUser \fInumber\fR +Specifies the maximum number of simultaneous jobs that are allowed per user. +The default is "0" which allows up to MaxJobs jobs per user. +.\"#MaxJobTime +.TP 5 +\fBMaxJobTime \fIseconds\fR +Specifies the maximum time a job may take to print before it is canceled. +Set to "0" to disable cancellation of "stuck" jobs. +The default is "10800" (3 hours). +.\"#MaxLogSize +.TP 5 +\fBMaxLogSize \fIsize\fR +Specifies the maximum size of the log files before they are rotated. +The value "0" disables log rotation. +The default is "1048576" (1MB). +.\"#MultipleOperationTimeout +.TP 5 +\fBMultipleOperationTimeout \fIseconds\fR +Specifies the maximum amount of time to allow between files in a multiple file print job. +The default is "900" (15 minutes). +.\"#Policy +.TP 5 +\fB \fR... \fB\fR +Specifies access control for the named policy. +.\"#Port +.TP 5 +\fBPort \fInumber\fR +Listens to the specified port number for connections. +.\"#PreserveJobFiles +.TP 5 +\fBPreserveJobFiles Yes\fR +.TP 5 +\fBPreserveJobFiles No\fR +.TP 5 +\fBPreserveJobFiles \fIseconds\fR +Specifies whether job files (documents) are preserved after a job is printed. +If a numeric value is specified, job files are preserved for the indicated number of seconds after printing. +The default is "86400" (preserve 1 day). +.\"#PreserveJobHistory +.TP 5 +\fBPreserveJobHistory Yes\fR +.TP 5 +\fBPreserveJobHistory No\fR +.TP 5 +\fBPreserveJobHistory \fIseconds\fR +Specifies whether the job history is preserved after a job is printed. +If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing. +If "Yes", the job history is preserved until the MaxJobs limit is reached. +The default is "Yes". +.\"#ReloadTimeout +.TP 5 +\fBReloadTimeout \fIseconds\fR +Specifies the amount of time to wait for job completion before restarting the scheduler. +The default is "30". +.\"#ServerAdmin +.TP 5 +\fBServerAdmin \fIemail-address\fR +Specifies the email address of the server administrator. +The default value is "root@ServerName". +.\"#ServerAlias +.TP 5 +\fBServerAlias \fIhostname \fR[ ... \fIhostname \fR] +.TP 5 +\fBServerAlias *\fR +The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces. +Using the special name "*" can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall. +If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using "*". +.\"#ServerName +.TP 5 +\fBServerName \fIhostname\fR +Specifies the fully-qualified hostname of the server. +The default is the value reported by the +.BR hostname (1) +command. +.\"#ServerTokens +.TP 5 +\fBServerTokens None\fR +.TP 5 +\fBServerTokens ProductOnly\fR +.TP 5 +\fBServerTokens Major\fR +.TP 5 +\fBServerTokens Minor\fR +.TP 5 +\fBServerTokens Minimal\fR +.TP 5 +\fBServerTokens OS\fR +.TP 5 +\fBServerTokens Full\fR +Specifies what information is included in the Server header of HTTP responses. +"None" disables the Server header. +"ProductOnly" reports "CUPS". +"Major" reports "CUPS/major IPP/2". +"Minor" reports "CUPS/major.minor IPP/2.1". +"Minimal" reports "CUPS/major.minor.patch IPP/2.1". +"OS" reports "CUPS/major.minor.path (osname osversion) IPP/2.1". +"Full" reports "CUPS/major.minor.path (osname osversion; architecture) IPP/2.1". +The default is "Minimal". +.\"#SSLListen +.TP 5 +\fBSSLListen \fIipv4-address\fB:\fIport\fR +.TP 5 +\fBSSLListen [\fIipv6-address\fB]:\fIport\fR +.TP 5 +\fBSSLListen *:\fIport\fR +Listens on the specified address and port for encrypted connections. +.\"#SSLOptions +.TP 5 +.TP 5 +\fBSSLOptions \fR[\fIAllowDH\fR] [\fIAllowRC4\fR] [\fIAllowSSL3\fR] [\fIDenyCBC\fR] [\fIDenyTLS1.0\fR] [\fIMaxTLS1.0\fR] [\fIMaxTLS1.1\fR] [\fIMaxTLS1.2\fR] [\fIMaxTLS1.3\fR] [\fIMinTLS1.0\fR] [\fIMinTLS1.1\fR] [\fIMinTLS1.2\fR] [\fIMinTLS1.3\fR] +.TP 5 +\fBSSLOptions None\fR +Sets encryption options (only in /etc/cups/client.conf). +By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites. +Security is reduced when \fIAllow\fR options are used. +Security is enhanced when \fIDeny\fR options are used. +The \fIAllowDH\fR option enables cipher suites using plain Diffie-Hellman key negotiation (not supported on systems using GNU TLS). +The \fIAllowRC4\fR option enables the 128-bit RC4 cipher suites, which are required for some older clients. +The \fIAllowSSL3\fR option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0. +The \fIDenyCBC\fR option disables all CBC cipher suites. +The \fIDenyTLS1.0\fR option disables TLS v1.0 support - this sets the minimum protocol version to TLS v1.1. +The \fIMinTLS\fR options set the minimum TLS version to support. +The \fIMaxTLS\fR options set the maximum TLS version to support. +Not all operating systems support TLS 1.3 at this time. +.\"#SSLPort +.TP 5 +\fBSSLPort \fIport\fR +Listens on the specified port for encrypted connections. +.\"#StrictConformance +.TP 5 +\fBStrictConformance Yes\fR +.TP 5 +\fBStrictConformance No\fR +Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications. +The default is "No". +.\"#Timeout +.TP 5 +\fBTimeout \fIseconds\fR +Specifies the HTTP request timeout. +The default is "900" (15 minutes). +.\"#WebInterface +.TP 5 +\fBWebInterface yes\fR +.TP 5 +\fBWebInterface no\fR +Specifies whether the web interface is enabled. +The default is "No". +.SS HTTP METHOD NAMES +The following HTTP methods are supported by +.BR cupsd (8): +.TP 5 +GET +Used by a client to download icons and other printer resources and to access the CUPS web interface. +.TP 5 +HEAD +Used by a client to get the type, size, and modification date of resources. +.TP 5 +OPTIONS +Used by a client to establish a secure (SSL/TLS) connection. +.TP 5 +POST +Used by a client to submit IPP requests and HTML forms from the CUPS web interface. +.TP 5 +PUT +Used by a client to upload configuration files. +.SS IPP OPERATION NAMES +The following IPP operations are supported by +.BR cupsd (8): +.TP 5 +CUPS\-Accept\-Jobs +Allows a printer to accept new jobs. +.TP 5 +CUPS\-Add\-Modify\-Class +Adds or modifies a printer class. +.TP 5 +CUPS\-Add\-Modify\-Printer +Adds or modifies a printer. +.TP 5 +CUPS\-Authenticate\-Job +Releases a job that is held for authentication. +.TP 5 +CUPS\-Delete\-Class +Deletes a printer class. +.TP 5 +CUPS\-Delete\-Printer +Deletes a printer. +.TP 5 +CUPS\-Get\-Classes +Gets a list of printer classes. +.TP 5 +CUPS\-Get\-Default +Gets the server default printer or printer class. +.TP 5 +CUPS\-Get\-Devices +Gets a list of devices that are currently available. +.TP 5 +CUPS\-Get\-Document +Gets a document file for a job. +.TP 5 +CUPS\-Get\-PPD +Gets a PPD file. +.TP 5 +CUPS\-Get\-PPDs +Gets a list of installed PPD files. +.TP 5 +CUPS\-Get\-Printers +Gets a list of printers. +.TP 5 +CUPS\-Move\-Job +Moves a job. +.TP 5 +CUPS\-Reject\-Jobs +Prevents a printer from accepting new jobs. +.TP 5 +CUPS\-Set\-Default +Sets the server default printer or printer class. +.TP 5 +Cancel\-Job +Cancels a job. +.TP 5 +Cancel\-Jobs +Cancels one or more jobs. +.TP 5 +Cancel\-My\-Jobs +Cancels one or more jobs creates by a user. +.TP 5 +Cancel\-Subscription +Cancels a subscription. +.TP 5 +Close\-Job +Closes a job that is waiting for more documents. +.TP 5 +Create\-Job +Creates a new job with no documents. +.TP 5 +Create\-Job\-Subscriptions +Creates a subscription for job events. +.TP 5 +Create\-Printer\-Subscriptions +Creates a subscription for printer events. +.TP 5 +Get\-Job\-Attributes +Gets information about a job. +.TP 5 +Get\-Jobs +Gets a list of jobs. +.TP 5 +Get\-Notifications +Gets a list of event notifications for a subscription. +.TP 5 +Get\-Printer\-Attributes +Gets information about a printer or printer class. +.TP 5 +Get\-Subscription\-Attributes +Gets information about a subscription. +.TP 5 +Get\-Subscriptions +Gets a list of subscriptions. +.TP 5 +Hold\-Job +Holds a job from printing. +.TP 5 +Hold\-New\-Jobs +Holds all new jobs from printing. +.TP 5 +Pause\-Printer +Stops processing of jobs by a printer or printer class. +.TP 5 +Pause\-Printer\-After\-Current\-Job +Stops processing of jobs by a printer or printer class after the current job is finished. +.TP 5 +Print\-Job +Creates a new job with a single document. +.TP 5 +Purge\-Jobs +Cancels one or more jobs and deletes the job history. +.TP 5 +Release\-Held\-New\-Jobs +Allows previously held jobs to print. +.TP 5 +Release\-Job +Allows a job to print. +.TP 5 +Renew\-Subscription +Renews a subscription. +.TP 5 +Restart\-Job +Reprints a job, if possible. +.TP 5 +Send\-Document +Adds a document to a job. +.TP 5 +Set\-Job\-Attributes +Changes job information. +.TP 5 +Set\-Printer\-Attributes +Changes printer or printer class information. +.TP 5 +Validate\-Job +Validates options for a new job. +.SS LOCATION PATHS +The following paths are commonly used when configuring +.BR cupsd (8): +.TP 5 +/ +The path for all get operations (get-printers, get-jobs, etc.) +.TP 5 +/admin +The path for all administration operations (add-printer, delete-printer, start-printer, etc.) +.TP 5 +/admin/conf +The path for access to the CUPS configuration files (cupsd.conf, client.conf, etc.) +.TP 5 +/admin/log +The path for access to the CUPS log files (access_log, error_log, page_log) +.TP 5 +/classes +The path for all printer classes +.TP 5 +/classes/name +The resource for the named printer class +.TP 5 +/jobs +The path for all jobs (hold-job, release-job, etc.) +.TP 5 +/jobs/id +The path for the specified job +.TP 5 +/printers +The path for all printers +.TP 5 +/printers/name +The path for the named printer +.TP 5 +/printers/name.png +The icon file path for the named printer +.TP 5 +/printers/name.ppd +The PPD file path for the named printer +.SS DIRECTIVES VALID WITHIN LOCATION AND LIMIT SECTIONS +The following directives may be placed inside Location and Limit sections in the \fBcupsd.conf\fR file: +.TP 5 +\fBAllow all\fR +.TP 5 +\fBAllow none\fR +.TP 5 +\fBAllow \fIhost.domain.com\fR +.TP 5 +\fBAllow *.\fIdomain.com\fR +.TP 5 +\fBAllow \fIipv4-address\fR +.TP 5 +\fBAllow \fIipv4-address\fB/\fInetmask\fR +.TP 5 +\fBAllow \fIipv4-address\fB/\fImm\fR +.TP 5 +\fBAllow [\fIipv6-address\fB]\fR +.TP 5 +\fBAllow [\fIipv6-address\fB]/\fImm\fR +.TP 5 +\fBAllow @IF(\fIname\fB)\fR +.TP 5 +\fBAllow @LOCAL\fR +Allows access from the named hosts, domains, addresses, or interfaces. +The @IF(name) form uses the current subnets configured for the named interface. +The @LOCAL form uses the current subnets configured for all interfaces that are not point-to-point, for example Ethernet and Wi-Fi interfaces are used but DSL and VPN interfaces are not. +The Order directive controls whether Allow lines are evaluated before or after Deny lines. +.TP 5 +\fBAuthType None\fR +.TP 5 +\fBAuthType Basic\fR +.TP 5 +\fBAuthType Default\fR +.TP 5 +\fBAuthType Negotiate\fR +Specifies the type of authentication required. +The value "Default" corresponds to the DefaultAuthType value. +.TP 5 +\fBDeny all\fR +.TP 5 +\fBDeny none\fR +.TP 5 +\fBDeny \fIhost.domain.com\fR +.TP 5 +\fBDeny *.\fIdomain.com\fR +.TP 5 +\fBDeny \fIipv4-address\fR +.TP 5 +\fBDeny \fIipv4-address\fB/\fInetmask\fR +.TP 5 +\fBDeny \fIipv4-address\fB/\fImm\fR +.TP 5 +\fBDeny [\fIipv6-address\fB]\fR +.TP 5 +\fBDeny [\fIipv6-address\fB]/\fImm\fR +.TP 5 +\fBDeny @IF(\fIname\fB)\fR +.TP 5 +\fBDeny @LOCAL\fR +Denies access from the named hosts, domains, addresses, or interfaces. +The @IF(name) form uses the current subnets configured for the named interface. +The @LOCAL form uses the current subnets configured for all interfaces that are not point-to-point, for example Ethernet and Wi-Fi interfaces are used but DSL and VPN interfaces are not. +The Order directive controls whether Deny lines are evaluated before or after Allow lines. +.TP 5 +\fBEncryption IfRequested\fR +.TP 5 +\fBEncryption Never\fR +.TP 5 +\fBEncryption Required\fR +Specifies the level of encryption that is required for a particular location. +The default value is "IfRequested". +.TP 5 +\fBOrder allow,deny\fR +Specifies that access is denied by default. Allow lines are then processed followed by Deny lines to determine whether a client may access a particular resource. +.TP 5 +\fBOrder deny,allow\fR +Specifies that access is allowed by default. Deny lines are then processed followed by Allow lines to determine whether a client may access a particular resource. +.TP 5 +\fBRequire group \fIgroup-name \fR[ \fIgroup-name \fR... ] +Specifies that an authenticated user must be a member of one of the named groups. +.TP 5 +\fBRequire user {\fIuser-name\fR|\fB@\fIgroup-name\fR} ... +Specifies that an authenticated user must match one of the named users or be a member of one of the named groups. +The group name "@SYSTEM" corresponds to the list of groups defined by the SystemGroup directive in the +.BR cups-files.conf (5) +file. +The group name "@OWNER" corresponds to the owner of the resource, for example the person that submitted a print job. +Note: The 'root' user is not special and must be granted privileges like any other user account. +.TP 5 +\fBRequire valid-user\fR +Specifies that any authenticated user is acceptable. +.TP 5 +\fBSatisfy all\fR +Specifies that all Allow, AuthType, Deny, Order, and Require conditions must be satisfied to allow access. +.TP 5 +\fBSatisfy any\fR +Specifies that any a client may access a resource if either the authentication (AuthType/Require) or address (Allow/Deny/Order) conditions are satisfied. +For example, this can be used to require authentication only for remote accesses. +.SS DIRECTIVES VALID WITHIN POLICY SECTIONS +The following directives may be placed inside Policy sections in the \fBcupsd.conf\fR file: +.TP 5 +\fBJobPrivateAccess all\fR +.TP 5 +\fBJobPrivateAccess default\fR +.TP 5 +\fBJobPrivateAccess \fR{\fIuser\fR|\fB@\fIgroup\fR|\fB@ACL\fR|\fB@OWNER\fR|\fB@SYSTEM\fR} ... +Specifies an access list for a job's private values. +The "default" access list is "@OWNER @SYSTEM". +"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. +"@OWNER" maps to the job's owner. +"@SYSTEM" maps to the groups listed for the SystemGroup directive in the +.BR cups-files.conf (5) +file. +.TP 5 +\fBJobPrivateValues all\fR +.TP 5 +\fBJobPrivateValues default\fR +.TP 5 +\fBJobPrivateValues none\fR +.TP 5 +\fBJobPrivateValues \fIattribute-name \fR[ ... \fIattribute-name \fR] +Specifies the list of job values to make private. +The "default" values are "job-name", "job-originating-host-name", "job-originating-user-name", and "phone". +.TP 5 +\fBSubscriptionPrivateAccess all\fR +.TP 5 +\fBSubscriptionPrivateAccess default\fR +.TP 5 +\fBSubscriptionPrivateAccess \fR{\fIuser\fR|\fB@\fIgroup\fR|\fB@ACL\fR|\fB@OWNER\fR|\fB@SYSTEM\fR} ... +Specifies an access list for a subscription's private values. +The "default" access list is "@OWNER @SYSTEM". +"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. +"@OWNER" maps to the job's owner. +"@SYSTEM" maps to the groups listed for the SystemGroup directive in the +.BR cups-files.conf (5) +file. +.TP 5 +\fBSubscriptionPrivateValues all\fR +.TP 5 +\fBSubscriptionPrivateValues default\fR +.TP 5 +\fBSubscriptionPrivateValues none\fR +.TP 5 +\fBSubscriptionPrivateValues \fIattribute-name \fR[ ... \fIattribute-name \fR] +Specifies the list of subscription values to make private. +The "default" values are "notify-events", "notify-pull-method", "notify-recipient-uri", "notify-subscriber-user-name", and "notify-user-data". +.SS DEPRECATED DIRECTIVES +The following directives are deprecated and will be removed in a future release of CUPS: +.\"#Classification +.TP 5 +\fBClassification \fIbanner\fR +.br +Specifies the security classification of the server. +Any valid banner name can be used, including "classified", "confidential", "secret", "topsecret", and "unclassified", or the banner can be omitted to disable secure printing functions. +The default is no classification banner. +.\"#ClassifyOverride +.TP 5 +\fBClassifyOverride Yes\fR +.TP 5 +\fBClassifyOverride No\fR +.br +Specifies whether users may override the classification (cover page) of individual print jobs using the "job-sheets" option. +The default is "No". +.\"#PageLogFormat +.TP 5 +\fBPageLogFormat \fIformat-string\fR +Specifies the format of PageLog lines. +Sequences beginning with percent (%) characters are replaced with the corresponding information, while all other characters are copied literally. +The following percent sequences are recognized: +.nf + + "%%" inserts a single percent character. + "%{name}" inserts the value of the specified IPP attribute. + "%C" inserts the number of copies for the current page. + "%P" inserts the current page number. + "%T" inserts the current date and time in common log format. + "%j" inserts the job ID. + "%p" inserts the printer name. + "%u" inserts the username. + +.fi +The default is the empty string, which disables page logging. +The string "%p %u %j %T %P %C %{job-billing} %{job-originating-host-name} %{job-name} %{media} %{sides}" creates a page log with the standard items. +Use "%{job-impressions-completed}" to insert the number of pages (sides) that were printed, or "%{job-media-sheets-completed}" to insert the number of sheets that were printed. +.\"#RIPCache +.TP 5 +\fBRIPCache \fIsize\fR +Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer. +The default is "128m". +.SH NOTES +File, directory, and user configuration directives that used to be allowed in the \fBcupsd.conf\fR file are now stored in the +.BR cups-files.conf (5) +file instead in order to prevent certain types of privilege escalation attacks. +.PP +The scheduler MUST be restarted manually after making changes to the \fBcupsd.conf\fR file. +On Linux this is typically done using the +.BR systemctl (8) +command, while on macOS the +.BR launchctl (8) +command is used instead. +.PP +The @LOCAL macro name can be confusing since the system running +.B cupsd +often belongs to a different set of subnets from its clients. +.SH CONFORMING TO +The \fBcupsd.conf\fR file format is based on the Apache HTTP Server configuration file format. +.SH EXAMPLES +Log everything with a maximum log file size of 32 megabytes: +.nf + + AccessLogLevel all + LogLevel debug2 + MaxLogSize 32m + +.fi +Require authentication for accesses from outside the 10. network: +.nf + + + Order allow,deny + Allow from 10./8 + AuthType Basic + Require valid-user + Satisfy any + +.fi +.SH SEE ALSO +.BR classes.conf (5), +.BR cups-files.conf (5), +.BR cupsd (8), +.BR mime.convs (5), +.BR mime.types (5), +.BR printers.conf (5), +.BR subscriptions.conf (5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cupsenable.8 b/man/cupsenable.8 new file mode 100644 index 0000000..aa4ec4e --- /dev/null +++ b/man/cupsenable.8 @@ -0,0 +1,97 @@ +.\" +.\" cupsenable/cupsdisable man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cupsenable 8 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cupsdisable, cupsenable \- stop/start printers and classes +.SH SYNOPSIS +.B cupsdisable +[ +.B \-E +] [ +.B \-U +.I username +] [ +.B \-c +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] [ +.B \-r +.I reason +] [ +.B \-\-hold +] +.I destination(s) +.br +.B cupsenable +[ +.B \-E +] [ +.B \-U +.I username +] [ +.B \-c +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] [ +.B \-\-release +] +.I destination(s) +.SH DESCRIPTION +.B cupsenable +starts the named printers or classes while +.B cupsdisable +stops the named printers or classes. +.SH OPTIONS +The following options may be used: +.TP 5 +.B \-E +Forces encryption of the connection to the server. +.TP 5 +\fB\-U \fIusername\fR +Uses the specified username when connecting to the server. +.TP 5 +.B \-c +Cancels all jobs on the named destination. +.TP 5 +\fB\-h \fIserver\fR[\fB:\fIport\fR] +Uses the specified server and port. +.TP 5 +.B \-\-hold +Holds remaining jobs on the named printer. +Useful for allowing the current job to complete before performing maintenance. +.TP 5 +\fB\-r "\fIreason\fB"\fR +Sets the message associated with the stopped state. +If no reason is specified then the message is set to "Reason Unknown". +.TP 5 +.B \-\-release +Releases pending jobs for printing. +Use after running \fBcupsdisable\fR with the \fI\-\-hold\fR option to resume printing. +.SH CONFORMING TO +Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". +Also, printer and class names are \fInot\fR case-sensitive. +.LP +The System V versions of these commands are \fBdisable\fR and \fBenable\fR, respectively. +They have been renamed to avoid conflicts with the +.BR bash (1) +build-in commands of the same names. +.LP +The CUPS versions of \fBdisable\fR and \fBenable\fR may ask the user for an access password depending on the printing system configuration. +This differs from the System V versions which require the root user to execute these commands. +.SH SEE ALSO +.BR cupsaccept (8), +.BR cupsreject (8), +.BR cancel (1), +.BR lp (1), +.BR lpadmin (8), +.BR lpstat (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cupsfilter.8 b/man/cupsfilter.8 new file mode 100644 index 0000000..c655c21 --- /dev/null +++ b/man/cupsfilter.8 @@ -0,0 +1,139 @@ +.\" +.\" cupsfilter man page for CUPS. +.\" +.\" Copyright 2007-2019 by Apple Inc. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cupsfilter 8 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cupsfilter \- convert a file to another format using cups filters (deprecated) +.SH SYNOPSIS +.B cupsfilter +[ +.B \-\-list\-filters +] [ +.B \-D +] [ +.B \-U +.I user +] [ +.B \-c +.I config-file +] [ +.B \-d +.I printer +] [ +.B \-e +] [ +.B \-i +.I mime/type +] [ +.B \-j +.I job-id[,N] +] [ +.B \-m +.I mime/type +] [ +.B \-n +.I copies +] [ +.B \-o +.I name=value +] [ +.B \-p +.I filename.ppd +] [ +.B \-t +.I title +] [ +.B \-u +] +.I filename +.SH DESCRIPTION +.B cupsfilter +is a front-end to the CUPS filter subsystem which allows you to convert a file to a specific format, just as if you had printed the file through CUPS. By default, +.B cupsfilter +generates a PDF file. The converted file is sent to the standard output. +.SH OPTIONS +.TP 5 +.B \-\-list\-filters +Do not actually run the filters, just print the filters used to stdout. +.TP 5 +.B \-D +Delete the input file after conversion. +.TP 5 +\fB\-U \fIuser\fR +Specifies the username passed to the filters. The default is the name of the current user. +.TP 5 +\fB\-c \fIconfig-file\fR +Uses the named cups-files.conf configuration file. +.TP 5 +\fB\-d \fIprinter\fR +Uses information from the named printer. +.TP 5 +.B \-e +Use every filter from the PPD file. +.TP 5 +\fB\-i \fImime/type\fR +Specifies the source file type. The default file type is guessed using the filename and contents of the file. +.TP 5 +\fB\-j \fIjob-id[,N]\fR +Converts document N from the specified job. If N is omitted, document 1 is converted. +.TP 5 +\fB\-m \fImime/type\fR +Specifies the destination file type. The default file type is application/pdf. Use printer/foo to convert to the printer format defined by the filters in the PPD file. +.TP 5 +\fB\-n \fIcopies\fR +Specifies the number of copies to generate. +.TP 5 +\fB\-o \fIname=value\fR +Specifies options to pass to the CUPS filters. +.TP 5 +\fB\-p \fIfilename.ppd\fR +Specifies the PPD file to use. +.TP 5 +\fB\-t \fItitle\fR +Specifies the document title. +.TP 5 +.B \-u +Delete the PPD file after conversion. +.SH EXIT STATUS +.B cupsfilter +returns a non-zero exit status on any error. +.SH ENVIRONMENT +All of the standard +.BR cups (1) +environment variables affect the operation of +.BR cupsfilter . +.SH FILES +.nf +/etc/cups/cups-files.conf +/etc/cups/*.convs +/etc/cups/*.types +/usr/share/cups/mime/*.convs +/usr/share/cups/mime/*.types +.SH NOTES +CUPS printer drivers, filters, and backends are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.LP +Unlike when printing, filters run using the +.B cupsfilter +command use the current user and security session. This may result in different output or unexpected behavior. +.SH EXAMPLE +The following command will generate a PDF preview of job 42 for a printer named "myprinter" and save it to a file named "preview.pdf": +.nf + + cupsfilter -m application/pdf -d myprinter -j 42 >preview.pdf +.fi +.SH SEE ALSO +.BR cups (1), +.BR cupsd.conf (5), +.BR filter(7), +.BR mime.convs (7), +.BR mime.types (7), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/cupstestppd.1 b/man/cupstestppd.1 new file mode 100644 index 0000000..f91be16 --- /dev/null +++ b/man/cupstestppd.1 @@ -0,0 +1,147 @@ +.\" +.\" cupstestppd man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH cupstestppd 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +cupstestppd \- test conformance of ppd files +.SH SYNOPSIS +.B cupstestppd +[ +.B \-I +.I category +] [ +.B \-R +.I rootdir +] [ +.B \-W +.I category +] [ +.B \-q +] [ +.B \-r +] [ +\fB\-v\fR[\fBv\fR] +] +.I filename.ppd[.gz] +[ ... +.I filename.ppd[.gz] +] +.br +.B cupstestppd +[ +.B \-R +.I rootdir +] [ +.B \-W +.I category +] [ +.B \-q +] [ +.B \-r +] [ +\fB\-v\fR[\fBv\fR] +] +.B \- +.SH DESCRIPTION +\fBcupstestppd\fR tests the conformance of PPD files to the Adobe PostScript Printer Description file format specification version 4.3. +It can also be used to list the supported options and available fonts in a PPD file. +The results of testing and any other output are sent to the standard output. +.LP +The first form of \fBcupstestppd\fR tests one or more PPD files on the command-line. +The second form tests the PPD file provided on the standard input. +.SH OPTIONS +\fBcupstestppd\fR supports the following options: +.TP 5 +\fB\-I filename\fR +Ignores all PCFileName warnings. +.TP 5 +\fB\-I filters\fR +Ignores all filter errors. +.TP 5 +\fB\-I profiles\fR +Ignores all profile errors. +.TP 5 +\fB\-R \fIrootdir\fR +Specifies an alternate root directory for the filter, pre-filter, and other support file checks. +.TP 5 +\fB\-W constraints\fR +Report all UIConstraint errors as warnings. +.TP 5 +\fB\-W defaults\fR +Except for size-related options, report all default option errors as warnings. +.TP 5 +\fB\-W filters\fR +Report all filter errors as warnings. +.TP 5 +\fB\-W profiles\fR +Report all profile errors as warnings. +.TP 5 +\fB\-W sizes\fR +Report all media size errors as warnings. +.TP 5 +\fB\-W translations\fR +Report all translation errors as warnings. +.TP 5 +\fB\-W all\fR +Report all of the previous errors as warnings. +.TP 5 +\fB\-W none\fR +Report all of the previous errors as errors. +.TP 5 +.B \-q +Specifies that no information should be displayed. +.TP 5 +.B \-r +Relaxes the PPD conformance requirements so that common whitespace, control character, and formatting problems are not treated as hard errors. +.TP 5 +.B \-v +Specifies that detailed conformance testing results should be displayed rather than the concise PASS/FAIL/ERROR status. +.TP 5 +.B \-vv +Specifies that all information in the PPD file should be displayed in addition to the detailed conformance testing results. +.LP +The \fI-q\fR, \fI-v\fR, and \fI-vv\fR options are mutually exclusive. +.SH EXIT STATUS +\fBcupstestppd\fR returns zero on success and non-zero on error. +The error codes are as follows: +.TP 5 +1 +Bad command-line arguments or missing PPD filename. +.TP 5 +2 +Unable to open or read PPD file. +.TP 5 +3 +The PPD file contains format errors that cannot be skipped. +.TP 5 +4 +The PPD file does not conform to the Adobe PPD specification. +.SH EXAMPLES +The following command will test all PPD files under the current directory and print the names of each file that does not conform: +.nf + + find . \-name \\*.ppd \\! \-exec cupstestppd \-q '{}' \\; \-print + +.fi +The next command tests all PPD files under the current directory and print detailed conformance testing results for the files that do not conform: +.nf + + find . \-name \\*.ppd \\! \-exec cupstestppd \-q '{}' \\; \\ + \-exec cupstestppd \-v '{}' \\; +.fi +.SH NOTES +PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.SH SEE ALSO +.BR lpadmin (8), +CUPS Online Help (http://localhost:631/help), +Adobe PostScript Printer Description File Format Specification, Version 4.3. +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/filter.7 b/man/filter.7 new file mode 100644 index 0000000..dbc3150 --- /dev/null +++ b/man/filter.7 @@ -0,0 +1,221 @@ +.\" +.\" filter man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2007 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH filter 7 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +filter \- cups file conversion filter interface +.SH SYNOPSIS +.B filter +.I job +.I user +.I title +.I num-copies +.I options +[ +.I filename +] +.nf + +\fB#include \fR + +\fBssize_t cupsBackChannelRead\fR(\fBchar *\fIbuffer\fR, \fBsize_t \fIbytes\fR, + \fBdouble \fItimeout\fR); + +\fBcups_sc_status_t cupsSideChannelDoRequest\fR(\fBcups_sc_command_t \fIcommand\fR, + \fBchar *\fIdata\fR, \fBint *\fIdatalen\fR, + \fBdouble \fItimeout\fR); + +\fB#include \fR + +\fBconst char *cupsGetOption\fR(\fBconst char *\fIname\fR, \fBint \fInum_options\fR, + \fBcups_option_t *\fIoptions\fR); + +\fBint cupsMarkOptions\fR(\fBppd_file_t *\fIppd\fR, \fBint \fInum_options\fR, + \fBcups_option_t *\fIoptions\fR); + +\fBint cupsParseOptions\fR(\fBconst char *\fIarg\fR, \fBint \fInum_options\fR, + \fBcups_option_t **\fIoptions\fR); + +\fBppd_choice_t *ppdFindMarkedChoice\fR(\fBppd_file_t *\fIppd\fR, \fBconst char *\fIkeyword\fR); + +\fBvoid ppdMarkDefaults\fR(\fBppd_file_t *\fIppd\fR); + +\fBppd_file_t *ppdOpenFile\fR(\fBconst char *\fIfilename\fR); +.fi +.SH DESCRIPTION +The CUPS filter interface provides a standard method for adding support for new document types or printers to CUPS. +Each filter is capable of converting from one or more input formats to another format that can either be printed directly or piped into another filter to get it to a printable format. +.LP +Filters \fBMUST\fR be capable of reading from a filename on the command-line or from the standard input, copying the standard input to a temporary file as required by the file format. +All output \fBMUST\fR be sent to the standard output. +Filters \fBMUST NOT\fR attempt to communicate directly with the printer, other processes, or other services. +.LP +The command name (\fIargv[0]\fR) is set to the name of the destination printer but is also available in the \fBPRINTER\fI environment variable. +.SH OPTIONS +Options are passed in \fIargv[5]\fR and are encoded from the corresponding IPP attributes used when the job was submitted. Use the +.BR cupsParseOptions () +function to load the options into a \fBcups_option_t\fR array and the +.BR cupsGetOption () +function to get the value of a specific attribute. +Be careful to look for common aliases of IPP attributes such as "landscape" for the IPP "orientation-requested" attribute. +.LP +Options passed on the command-line typically do not include the default choices the printer's PPD file. Use the +.BR ppdMarkDefaults () +and +.BR cupsMarkOptions () +functions in the CUPS library to apply the options to the PPD defaults and map any IPP attributes to the corresponding PPD options. +Use +.BR ppdFindMarkedChoice () +to get the user-selected choice for a PPD option. For example, a filter might use the following code to determine the current value of the \fBDuplex\fR PPD option: +.nf + + ppd_file_t *ppd = ppdOpenFile(getenv("PPD")); + cups_option_t *options = NULL; + int num_options = cupsParseOptions(argv[5], 0, &options); + + ppdMarkDefaults(ppd); + cupsMarkOptions(ppd, num_options, options); + + ppd_choice_t *choice = ppdFindMarkedChoice(ppd, "Duplex"); +.fi +.LP +Raster filters should use option choices set through the raster page header, as those reflect the options in effect for a given page. +Options specified on the command-line determine the default values for the entire job, which can be overridden on a per-page basis. +.SH LOG MESSAGES +Messages sent to the standard error are generally stored in the printer's "printer-state-message" attribute and the current \fBErrorLog\fR file. +Each line begins with a standard prefix: +.TP 5 +\fBALERT: \fImessage\fR +Sets the "printer-state-message" attribute and adds the specified message to the current \fBErrorLog\fR using the "alert" log level. +.TP 5 +\fBATTR: \fIattribute=value \fR[ \fI... attribute=value\fR] +Sets the named job or printer attribute(s). The following job attributes can be set: "job-media-progress". The following printer attributes can be set: +"auth-info-required", "marker-colors", "marker-high-levels", "marker-levels", +"marker-low-levels", "marker-message", "marker-names", "marker-types", +"printer-alert", and "printer-alert-description". +.TP 5 +\fBCRIT: \fImessage\fR +Sets the "printer-state-message" attribute and adds the specified message to the current \fBErrorLog\fR using the "critical" log level. +.TP 5 +\fBDEBUG: \fImessage\fR +Adds the specified message to the current \fBErrorLog\fR using the "debug" log level. +\fBDEBUG\fR messages are never stored in the "printer-state-message" attribute. +.TP 5 +\fBDEBUG2: \fImessage\fR +.br +Adds the specified message to the current \fBErrorLog\fR using the "debug2" log level. +\fBDEBUG2\fR messages are never stored in the "printer-state-message" attribute. +.TP 5 +\fBEMERG: \fImessage\fR +Sets the "printer-state-message" attribute and adds the specified message to the current \fBErrorLog\fR using the "emergency" log level. +.TP 5 +\fBERROR:\fI message\fR +Sets the "printer-state-message" attribute and adds the specified message to the current \fBErrorLog\fR using the "error" log level. +.TP 5 +\fBINFO:\fI message\fR +Sets the "printer-state-message" attribute. If the current \fBLogLevel\fR is set to "debug2", also adds the specified message to the current \fBErrorLog\fR using the "info" log level. +.TP 5 +\fBNOTICE:\fI message\fR +Sets the "printer-state-message" attribute and adds the specified message to the current \fBErrorLog\fR using the "notice" log level. +.TP 5 +\fBPAGE:\fI page-number #-copies\fR +.TP 5 +\fBPAGE:\fI total #-pages\fR +Adds an entry to the current \fBPageLog\fR. The first form adds \fI#-copies\fR to the "job-media-sheets-completed" attribute. The second form sets the "job-media-sheets-completed" attribute to \fI#-pages\fR. +.TP 5 +\fBPPD:\fI Keyword=Value\fR [ \fI... KeywordN=Value\fR ] +Sets the named keywords in the printer's PPD file. This is typically used to update default option keywords such as \fBDefaultPageSize\fR and the various installable options in the PPD file. +.TP 5 +\fBSTATE:\fI printer-state-reason \fR[ \fI... printer-state-reason\fR ] +.TP 5 +\fBSTATE: +\fI printer-state-reason \fR[ \fI... printer-state-reason\fR ] +.TP 5 +\fBSTATE: -\fI printer-state-reason \fR[ \fI... printer-state-reason\fR ] +Sets, adds, or removes "printer-state-reason" keywords for the current queue. Typically this is used to indicate media, ink, and toner conditions on a printer. +.TP 5 +\fBWARNING:\fI message\fR +Sets the "printer-state-message" attribute and adds the specified message to the current \fBErrorLog\fR using the "warning" log level. +.SH ENVIRONMENT VARIABLES +The following environment variables are defined by the CUPS +server when executing the filter: +.TP 5 +.B CHARSET +The default text character set, typically "utf-8". +.TP 5 +.B CLASS +When a job is submitted to a printer class, contains the name of the destination printer class. Otherwise this environment variable will not be set. +.TP 5 +.B CONTENT_TYPE +The MIME media type associated with the submitted job file, for example "application/postscript". +.TP 5 +.B CUPS_CACHEDIR +The directory where semi-persistent cache files can be found and stored. +.TP 5 +.B CUPS_DATADIR +The directory where data files can be found. +.TP 5 +.B CUPS_FILETYPE +The type of file being printed: "job-sheet" for a banner page and "document" +for a regular print file. +.TP 5 +.B CUPS_MAX_MESSAGE +The maximum size of a message sent to \fIstderr\fR, including any leading prefix and the trailing newline. +.TP 5 +.B CUPS_SERVERROOT +The root directory of the server. +.TP 5 +.B FINAL_CONTENT_TYPE +The MIME media type associated with the output destined for the printer, for example "application/vnd.cups-postscript". +.TP 5 +.B LANG +The default language locale (typically C or en). +.TP 5 +.B PATH +The standard execution path for external programs that may be run by the filter. +.TP 5 +.B PPD +The full pathname of the PostScript Printer Description (PPD) file for this printer. +.TP 5 +.B PRINTER +The name of the printer. +.TP 5 +.B RIP_CACHE +The recommended amount of memory to use for Raster Image Processors (RIPs). +.TP 5 +.B SOFTWARE +The name and version number of the server (typically CUPS/\fImajor.minor\fR). +.TP 5 +.B TZ +The timezone of the server. +.TP 5 +.B USER +The user executing the filter, typically "lp" or "root"; consult the \fIcups-files.conf\fR file for the current setting. +.SH CONFORMING TO +While the filter interface is compatible with System V interface scripts, CUPS does not support System V interface scripts. +.SH NOTES +CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.LP +CUPS filters are not meant to be run directly by the user. +Aside from the legacy System V interface issues (\fIargv[0]\fR is the printer name), CUPS filters also expect specific environment variables and file descriptors, and typically run in a user session that (on macOS) has additional restrictions that affect how it runs. +Unless you are a developer and know what you are doing, please do not run filters directly. +Instead, use the +.BR cupsfilter (8) +program to use the appropriate filters to do the conversions you need. +.SH SEE ALSO +.BR backend (7), +.BR cups (1), +.BR cups-files.conf (5), +.BR cupsd (8), +.BR cupsfilter (8), +.br +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/ippevepcl.7 b/man/ippevepcl.7 new file mode 100644 index 0000000..738e87c --- /dev/null +++ b/man/ippevepcl.7 @@ -0,0 +1,48 @@ +.\" +.\" ippevepcl/ps man page for CUPS. +.\" +.\" Copyright © 2019 by Apple Inc. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH ippevepcl/ps 7 "CUPS" "24 April 2019" "Apple Inc." +.SH NAME +ippevepcl/ps \- pcl and postscript print commands for ippeveprinter +.SH SYNOPSIS +.B ippevepcl +[ +.I filename +] +.br +.B ippeveps +[ +.I filename +] +.SH DESCRIPTION +.B ippevepcl +and +.B ippeveps +are print commands for +.BR ippeveprinter (1). +As with all print commands, these commands read either the filename specified on the command-line or from the standard input. +Output is sent to the standard output. +Status and progress messages are sent to the standard error. +.PP +.B ippevepcl +prints to B&W HP PCL laser printers and supports printing of HP PCL (application/vnd.hp-pcl), PWG Raster (image/pwg-raster), and Apple Raster (image/urf) print files. +.PP +.B ippeveps +print to Adobe PostScript printers and supports printing of PDF (application/pdf), PostScript (application/postscript), JPEG (image/jpeg), PWG Raster (image/pwg-raster), and Apple Raster (image/urf) print files. +Printer-specific commands are read from a supplied PPD file. +If no PPD file is specified, generic commands suitable for any Level 2 or Level 3 PostScript printer are used instead to specify duplex printing and media size. +.SH EXIT STATUS +These programs return 1 on error and 0 on success. +.SH ENVIRONMENT +These program inherit the environment provided by the +.B ippeveprinter +program. +.SH SEE ALSO +.BR ippeveprinter (8) +.SH COPYRIGHT +Copyright \[co] 2019 by Apple Inc. diff --git a/man/ippeveprinter.1 b/man/ippeveprinter.1 new file mode 100644 index 0000000..fa32efb --- /dev/null +++ b/man/ippeveprinter.1 @@ -0,0 +1,273 @@ +.\" +.\" ippeveprinter man page for CUPS. +.\" +.\" Copyright © 2014-2019 by Apple Inc. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH ippeveprinter 1 "CUPS" "2 December 2019" "Apple Inc." +.SH NAME +ippeveprinter \- an ipp everywhere printer application for cups +.SH SYNOPSIS +.B ippeveprinter +[ +.B \-\-help +] [ +.B \-\-no\-web\-forms +] [ +.B \-\-pam\-service +.I service +] [ +.B \-\-version +] [ +.B \-2 +] [ +.B \-A +] [ +.B \-D +.I device-uri +] [ +.B \-F +.I output-type/subtype +] [ +.B \-K +.I keypath +] [ +.B \-M +.I manufacturer +] [ +.B \-P +.I filename.ppd +] [ +.B \-V +.I ipp-version +] [ +.B \-a +.I filename.conf +] [ +.B \-c +.I command +] [ +.B \-d +.I spool-directory +] [ +.B \-f +.I type/subtype[,...] +] [ +.B \-i +.I iconfile.png +] [ +.B \-k +] [ +.B \-l +.I location +] [ +.B \-m +.I model +] [ +.B \-n +.I hostname +] [ +.B \-p +.I port +] [ +.B \-r +.I subtype[,subtype] +] [ +.B \-s +.I speed[,color-speed] +] [ +.B \-v[vvv] +] +.I service-name +.SH DESCRIPTION +.B ippeveprinter +is a simple Internet Printing Protocol (IPP) server conforming to the IPP Everywhere (PWG 5100.14) specification. It can be used to test client software or act as a very basic print server that runs a command for every job that is printed. +.SH OPTIONS +The following options are recognized by +.B ippeveprinter: +.TP 5 +.B \-\-help +Show program usage. +.TP 5 +.B \-\-no\-web\-forms +Disable the web interface forms used to update the media and supply levels. +.TP 5 +\fB\-\-pam\-service \fIservice\fR +Set the PAM service name. +The default service is "cups". +.TP 5 +.B \-\-version +Show the CUPS version. +.TP 5 +.B \-2 +Report support for two-sided (duplex) printing. +.TP 5 +.B \-A +Enable authentication for the created printer. +.B ippeveprinter +uses PAM to authenticate HTTP Basic credentials. +.TP 5 +\fB\-D \fIdevice-uri\fR +Set the device URI for print output. +The URI can be a filename, directory, or a network socket URI of the form "socket://ADDRESS[:PORT]" (where the default port number is 9100). +When specifying a directory, +.B ippeveprinter +will create an output file using the job ID and name. +.TP 5 +\fB\-F \fIoutput-type/subtype[,...]\fR +Specifies the output MIME media type. +The default is "application/postscript" when the \fB\-P\fR option is specified. +.TP 5 +\fB\-M \fImanufacturer\fR +Set the manufacturer of the printer. +The default is "Example". +.TP 5 +\fB\-P \fIfilename.ppd\fR +Load printer attributes from the specified PPD file. +This option is typically used in conjunction with the +.BR ippeveps (7) +printer command ("\-c ippeveps"). +.TP 5 +\fB\-V 1.1\fR +.TP 5 +\fB\-V 2.0\fR +Specifies the maximum IPP version to report. +2.0 is the default. +.TP 5 +\fB\-c \fIcommand\fR +Run the specified command for each document that is printed. +If "command" is not an absolute path ("/path/to/command"), +.B ippeveprinter +looks for the command in the "command" subdirectory of the CUPS binary directory, typically /usr/lib/cups/command or /usr/libexec/cups/command. +The +.BR cups-config (1) +command can be used to discover the correct binary directory ("cups-config --serverbin"). +In addition, the CUPS_SERVERBIN environment variable can be used to override the default location of this directory - see the +.BR cups (1) +man page for more details. +.TP 5 +\fB\-d \fIspool-directory\fR +Specifies the directory that will hold the print files. +The default is a directory under the user's current temporary directory. +.TP 5 +\fB\-f \fItype/subtype[,...]\fR +Specifies a list of MIME media types that the server will accept. +The default depends on the type of printer created. +.TP 5 +\fB\-i \fIiconfile.png\fR +Specifies the printer icon file for the server. +The file must be a PNG format image. +The default is an internally-provided PNG image. +.TP 5 +.B \-k +Keeps the print documents in the spool directory rather than deleting them. +.TP 5 +\fB\-l \fIlocation\fR +Specifies the human-readable location string that is reported by the server. +The default is the empty string. +.TP 5 +\fB\-m \fImodel\fR +Specifies the model name of the printer. +The default is "Printer". +.TP 5 +\fB\-n \fIhostname\fR +Specifies the hostname that is reported by the server. +The default is the name returned by the +.BR hostname (1) +command. +.TP 5 +\fB\-p \fIport\fR +Specifies the port number to listen on. +The default is a user-specific number from 8000 to 8999. +.TP 5 +.B \-r off +Turns off DNS-SD service advertisements entirely. +.TP 5 +\fB\-r \fIsubtype[,subtype]\fR +Specifies the DNS-SD subtype(s) to advertise. +Separate multiple subtypes with a comma. +The default is "_print". +.TP 5 +\fB\-s \fIspeed[,color-speed]\fR +Specifies the printer speed in pages per minute. +If two numbers are specified and the second number is greater than zero, the server will report support for color printing. +The default is "10,0". +.TP 5 +.B \-v[vvv] +Be (very) verbose when logging activity to standard error. +.SH EXIT STATUS +The +.B ippeveprinter +program returns 1 if it is unable to process the command-line arguments or register the IPP service. +Otherwise +.B ippeveprinter +will run continuously until terminated. +.SH CONFORMING TO +The +.B ippeveprinter +program is unique to CUPS and conforms to the IPP Everywhere (PWG 5100.14) specification. +.SH ENVIRONMENT +.B ippeveprinter +adds environment variables starting with "IPP_" for all IPP Job attributes in the print request. +For example, when executing a command for an IPP Job containing the "media" Job Template attribute, the "IPP_MEDIA" environment variable will be set to the value of that attribute. +.LP +In addition, all IPP "xxx-default" and "pwg-xxx" Printer Description attributes are added to the environment. +For example, the "IPP_MEDIA_DEFAULT" environment variable will be set to the default value for the "media" Job Template attribute. +.LP +Enumerated values are converted to their keyword equivalents. +For example, a "print-quality" Job Template attribute with a enum value of 3 will become the "IPP_PRINT_QUALITY" environment variable with a value of "draft". +This string conversion only happens for standard Job Template attributes, currently "finishings", "orientation-requested", and "print-quality". +.LP +Finally, the "CONTENT_TYPE" environment variable contains the MIME media type of the document being printed, the "DEVICE_URI" environment variable contains the device URI as specified with the "\-D" option, the "OUTPUT_FORMAT" environment variable contains the output MIME media type, and the "PPD" environment variable contains the PPD filename as specified with the "\-P" option. +.SH COMMAND OUTPUT +Unless they communicate directly with a printer, print commands send printer-ready data to the standard output. +.LP +Print commands can send messages back to +.B ippeveprinter +on the standard error with one of the following prefixes: +.TP 5 +\fBATTR: \fIattribute=value[ attribute=value]\fR +Sets the named attribute(s) to the given values. +Currently only the "job-impressions" and "job-impressions-completed" Job Status attributes and the "marker-xxx", "printer-alert", "printer-alert-description", "printer-supply", and "printer-supply-description" Printer Status attributes can be set. +.TP 5 +\fBDEBUG: \fIDebugging message\fR +Logs a debugging message if at least two \-v's have been specified. +.TP 5 +\fBERROR: \fIError message\fR +Logs an error message and copies the message to the "job-state-message" attribute. +.TP 5 +\fBINFO: \fIInformational message\fR +Logs an informational/progress message if \-v has been specified and copies the message to the "job-state-message" attribute unless an error has been reported. +.TP 5 +\fBSTATE: \fIkeyword[,keyword,...]\fR +Sets the printer's "printer-state-reasons" attribute to the listed keywords. +.TP 5 +\fBSTATE: -\fIkeyword[,keyword,...]\fR +Removes the listed keywords from the printer's "printer-state-reasons" attribute. +.TP 5 +\fBSTATE: +\fIkeyword[,keyword,...]\fR +Adds the listed keywords to the printer's "printer-state-reasons" attribute. +.SH EXAMPLES +Run +.B ippeveprinter +with a service name of My Cool Printer: +.nf + + ippeveprinter "My Cool Printer" +.fi +.LP +Run the +.BR file (1) +command whenever a job is sent to the server: +.nf + + ippeveprinter \-c /usr/bin/file "My Cool Printer" +.fi +.SH SEE ALSO +.BR ippevepcl (7), +.BR ippeveps (7), +PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/ippfind.1 b/man/ippfind.1 new file mode 100644 index 0000000..32f2e6f --- /dev/null +++ b/man/ippfind.1 @@ -0,0 +1,258 @@ +.\" +.\" ippfind man page. +.\" +.\" Copyright © 2013-2019 by Apple Inc. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH ippfind 1 "ippsample" "26 April 2019" "Apple Inc." +.SH NAME +ippfind \- find internet printing protocol printers +.SH SYNOPSIS +.B ippfind +[ +.I options +] \fIregtype\fR[\fB,\fIsubtype\fR][\fB.\fIdomain\fB.\fR] ... [ +.I expression + ... ] +.br +.B ippfind +[ +.I options +] \fIname\fR[\fB.\fIregtype\fR[\fB.\fIdomain\fB.\fR]] ... [ +.I expression + ... ] +.br +.B ippfind +.B \-\-help +.br +.B ippfind +.B \-\-version +.SH DESCRIPTION +\fBippfind\fR finds services registered with a DNS server or available through local devices. +Its primary purpose is to find IPP printers and show their URIs, show their current status, or run commands. +.SS REGISTRATION TYPES +\fBippfind\fR supports the following registration types: +.TP 5 +_http._tcp +HyperText Transport Protocol (HTTP, RFC 2616) +.TP 5 +_https._tcp +Secure HyperText Transport Protocol (HTTPS, RFC 2818) +.TP 5 +_ipp._tcp +Internet Printing Protocol (IPP, RFC 2911) +.TP 5 +_ipps._tcp +Secure Internet Printing Protocol (IPPS, draft) +.TP 5 +_printer._tcp +Line Printer Daemon (LPD, RFC 1179) +.SS EXPRESSIONS +\fBippfind\fR supports expressions much like the +.BR find (1) +utility. +However, unlike +.BR find (1), +\fBippfind\fR uses POSIX regular expressions instead of shell filename matching patterns. +If \fI\-\-exec\fR, \fI\-l\fR, \fI\-\-ls\fR, \fI\-p\fR, \fI\-\-print\fR, \fI\-\-print\-name\fR, \fI\-q\fR, \fI\-\-quiet\fR, \fI\-s\fR, or \fI\-x\fR is not specified, \fBippfind\fR adds \fI\-\-print\fR to print the service URI of anything it finds. +The following expressions are supported: +.TP 5 +\fB\-d \fIregex\fR +.TP 5 +\fB\-\-domain \fIregex\fR +True if the domain matches the given regular expression. +.TP 5 +.B \-\-false +Always false. +.TP 5 +\fB\-h \fIregex\fR +.TP 5 +\fB\-\-host \fIregex\fR +True is the hostname matches the given regular expression. +.TP 5 +.B \-l +.TP 5 +.B \-\-ls +Lists attributes returned by Get-Printer-Attributes for IPP printers and traditional \fIfind\fR "-ls" output for HTTP URLs. +The result is true if the URI is accessible, false otherwise. +.TP 5 +.B \-\-local +True if the service is local to this computer. +.TP 5 +\fB\-N \fIname\fR +.TP 5 +\fB\-\-literal\-name \fIname\fR +True if the service instance name matches the given name. +.TP 5 +\fB\-n \fIregex\fR +.TP 5 +\fB\-\-name \fIregex\fR +True if the service instance name matches the given regular expression. +.TP 5 +\fB\-\-path \fIregex\fR +True if the URI resource path matches the given regular expression. +.TP 5 +\fB\-P \fInumber\fR[\fB-\fInumber\fR] +.TP 5 +\fB\-\-port \fInumber\fR[\fB-\fInumber\fR] +True if the port matches the given number or range. +.TP 5 +.B \-p +.TP 5 +.B \-\-print +Prints the URI if the result of previous expressions is true. +The result is always true. +.TP 5 +.B \-q +.TP 5 +.B \-\-quiet +Quiet mode - just returns the exit codes below. +.TP 5 +.B \-r +.TP 5 +.B \-\-remote +True if the service is not local to this computer. +.TP 5 +.B \-s +.TP 5 +.B \-\-print\-name +Prints the service instance name if the result of previous expressions is true. +The result is always true. +.TP 5 +.B \-\-true +Always true. +.TP 5 +\fB\-t \fIkey\fR +.TP 5 +\fB\-\-txt \fIkey\fR +True if the TXT record contains the named key. +.TP 5 +\fB\-\-txt\-\fIkey regex\fR +True if the TXT record contains the named key and matches the given regular expression. +.TP 5 +\fB\-u \fIregex\fR +.TP 5 +\fB\-\-uri \fIregex\fR +True if the URI matches the given regular expression. +.TP 5 +\fB\-x \fIutility \fR[ \fIargument \fR... ] \fB;\fR +.TP 5 +\fB\-\-exec \fIutility \fR[ \fIargument \fR... ] \fB;\fR +Executes the specified program if the current result is true. +"{foo}" arguments are replaced with the corresponding value - see SUBSTITUTIONS below. +.PP +Expressions may also contain modifiers: +.TP 5 +\fB( \fIexpression \fB)\fR +Group the result of expressions. +.TP 5 +\fB! \fIexpression\fR +.TP 5 +\fB\-\-not \fIexpression\fR +Unary NOT of the expression. +.TP 5 +\fIexpression expression\fR +.TP 5 +\fIexpression \fB\-\-and \fIexpression\fR +Logical AND of expressions. +.TP 5 +\fIexpression \fB\-\-or \fIexpression\fR +Logical OR of expressions. +.SS SUBSTITUTIONS +The substitutions for "{foo}" in \fI\-e\fR and \fI\-\-exec\fR are: +.TP 5 +.B {service_domain} +Domain name, e.g., "example.com.", "local.", etc. +.TP 5 +.B {service_hostname} +Fully-qualified domain name, e.g., "printer.example.com.", "printer.local.", etc. +.TP 5 +.B {service_name} +Service instance name, e.g., "My Fine Printer". +.TP 5 +.B {service_port} +Port number for server, typically 631 for IPP and 80 for HTTP. +.TP 5 +.B {service_regtype} +DNS-SD registration type, e.g., "_ipp._tcp", "_http._tcp", etc. +.TP 5 +.B {service_scheme} +URI scheme for DNS-SD registration type, e.g., "ipp", "http", etc. +.TP 5 +.B {} +.TP 5 +.B {service_uri} +URI for service, e.g., "ipp://printer.local./ipp/print", "http://printer.local./", etc. +.TP 5 +\fB{txt_\fIkey\fB}\fR +Value of TXT record \fIkey\fR (lowercase). +.SH OPTIONS +\fBippfind\fR supports the following options: +.TP 5 +.B \-\-help +Show program help. +.TP 5 +.B \-\-version +Show program version. +.TP 5 +.B \-4 +Use IPv4 when listing. +.TP 5 +.B \-6 +Use IPv6 when listing. +.TP 5 +\fB\-T \fIseconds\fR +Specify find timeout in seconds. +If 1 or less, \fBippfind\fR stops as soon as it thinks it has found everything. +The default timeout is 1 second. +.TP 5 +\fB\-V \fIversion\fR +Specifies the IPP version when listing. +Supported values are "1.1", "2.0", "2.1", and "2.2". +.SH EXIT STATUS +\fBippfind\fR returns 0 if the result for all processed expressions is true, 1 if the result of any processed expression is false, 2 if browsing or any query or resolution failed, 3 if an undefined option or invalid expression was specified, and 4 if it ran out of memory. +.SH ENVIRONMENT +When executing a program, \fBippfind\fR sets the following environment variables for the matching service registration: +.TP 5 +.B IPPFIND_SERVICE_DOMAIN +Domain name, e.g., "example.com.", "local.", etc. +.TP 5 +.B IPPFIND_SERVICE_HOSTNAME +Fully-qualified domain name, e.g., "printer.example.com.", "printer.local.", etc. +.TP 5 +.B IPPFIND_SERVICE_NAME +Service instance name, e.g., "My Fine Printer". +.TP 5 +.B IPPFIND_SERVICE_PORT +Port number for server, typically 631 for IPP and 80 for HTTP. +.TP 5 +.B IPPFIND_SERVICE_REGTYPE +DNS-SD registration type, e.g., "_ipp._tcp", "_http._tcp", etc. +.TP 5 +.B IPPFIND_SERVICE_SCHEME +URI scheme for DNS-SD registration type, e.g., "ipp", "http", etc. +.TP 5 +.B IPPFIND_SERVICE_URI +URI for service, e.g., "ipp://printer.local./ipp/print", "http://printer.local./", etc. +.TP 5 +.B IPPFIND_TXT_\fIKEY\fR +Values of TXT record \fIKEY\fR (uppercase). +.SH EXAMPLES +To show the status of all registered IPP printers on your network, run: +.nf + + ippfind \-\-ls + +.fi +Similarly, to send a PostScript test page to every PostScript printer, run: +.nf + + ippfind \-\-txt\-pdl application/postscript \-\-exec ipptool + \-f onepage\-letter.ps '{}' print\-job.test \\; +.fi +.SH SEE ALSO +.BR ipptool (1) +.SH COPYRIGHT +Copyright \[co] 2013-2019 by Apple Inc. diff --git a/man/ipptool.1 b/man/ipptool.1 new file mode 100644 index 0000000..ce858da --- /dev/null +++ b/man/ipptool.1 @@ -0,0 +1,252 @@ +.\" +.\" ipptool man page. +.\" +.\" Copyright © 2010-2019 by Apple Inc. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH ipptool 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +ipptool \- perform internet printing protocol requests +.SH SYNOPSIS +.B ipptool +[ +.B \-\-help +] [ +.B \-\-ippserver +.I filename +] [ +.B \-\-stop\-after\-include\-error +] [ +.B \-\-version +] [ +.B \-4 +] [ +.B \-6 +] [ +.B \-C +] [ +.B \-E +] [ +.B \-I +] [ +.B \-L +] [ +.B \-P +.I filename.plist +] [ +.B \-S +] [ +.B \-T +.I seconds +] [ +.B \-V +.I version +] [ +.B \-X +] [ +.B \-c +] [ +.B \-d +.I name=value +] [ +.B \-f +.I filename +] [ +.B \-h +] [ +.B \-i +.I seconds +] [ +.B \-n +.I repeat-count +] [ +.B \-q +] [ +.B \-t +] [ +.B \-v ] +.I printer-uri +.I testfile +[ ... +.I testfile +] +.SH DESCRIPTION +.B ipptool +sends IPP requests to the specified +.I printer-uri +and tests and/or displays the results. +Each named +.I testfile +defines one or more requests, including the expected response status, attributes, and values. +Output is either a plain text, formatted text, CSV, or XML report on the standard output, with a non-zero exit status indicating that one or more tests have failed. +The +.I testfile +format is described in +.BR ipptoolfile (5). +.SH OPTIONS +The following options are recognized by +.B ipptool: +.TP 5 +.B \-\-help +Shows program help. +.TP 5 +\fB\-\-ippserver \fIfilename\fR +Specifies that the test results should be written to the named +.B ippserver +attributes file. +.TP 5 +.B \-\-stop-after-include-error +Tells +.B ipptool +to stop if an error occurs in an included file. Normally +.B ipptool +will continue with subsequent tests after the INCLUDE directive. +.TP 5 +.B \-\-version +Shows the version of +.B ipptool +being used. +.TP 5 +.B \-4 +Specifies that +.B ipptool +must connect to the printer or server using IPv4. +.TP 5 +.B \-6 +Specifies that +.B ipptool +must connect to the printer or server using IPv6. +.TP 5 +.B \-C +Specifies that requests should be sent using the HTTP/1.1 "Transfer\-Encoding: chunked" header, which is required for conformance by all versions of IPP. +The default is to use "Transfer\-Encoding: chunked" for requests with attached files and "Content\-Length:" for requests without attached files. +.TP 5 +.B \-E +Forces TLS encryption when connecting to the server using the HTTP "Upgrade" header. +.TP 5 +.B \-I +Specifies that +.B ipptool +will continue past errors. +.TP 5 +.B \-L +Specifies that requests should be sent using the HTTP/1.0 "Content\-Length:" header, which is required for conformance by all versions of IPP. +The default is to use "Transfer\-Encoding: chunked" for requests with attached files and "Content\-Length:" for requests without attached files. +.TP 5 +.BI \-P \ filename.plist +Specifies that the test results should be written to the named XML (Apple plist) file in addition to the regular test report (\fB\-t\fR). +This option is incompatible with the \fB\-i\fR (interval) and \fB\-n\fR (repeat\-count) options. +.TP 5 +.B \-S +Forces (dedicated) TLS encryption when connecting to the server. +.TP 5 +.BI \-T \ seconds +Specifies a timeout for IPP requests in seconds. +.TP 5 +.BI \-V \ version +Specifies the default IPP version to use: 1.0, 1.1, 2.0, 2.1, or 2.2. If not specified, version 1.1 is used. +.TP 5 +.B \-X +Specifies that XML (Apple plist) output is desired instead of the plain text report. +This option is incompatible with the \fB\-i\fR (interval) and \fB\-n\fR (repeat\-count) options. +.TP 5 +.B \-c +Specifies that CSV (comma\-separated values) output is desired instead of the plain text output. +.TP 5 +.BI \-d \ name=value +Defines the named variable. +.TP 5 +.BI \-f \ filename +Defines the default request filename for tests. +.TP 5 +.B \-h +Validate HTTP response headers. +.TP 5 +.BI \-i \ seconds +Specifies that the (last) +.I testfile +should be repeated at the specified interval. +This option is incompatible with the \fB\-X\fR (XML plist output) option. +.TP 5 +.B \-l +Specifies that plain text output is desired. +.TP 5 +.BI \-n \ repeat\-count +Specifies that the (last) +.I testfile +should be repeated the specified number of times. +This option is incompatible with the \fI\-X\fR (XML plist output) option. +.TP 5 +.B \-q +Be quiet and produce no output. +.TP 5 +.B \-t +Specifies that CUPS test report output is desired instead of the plain text output. +.TP 5 +.B \-v +Specifies that all request and response attributes should be output in CUPS test mode (\fB\-t\fR). +This is the default for XML output. +.SH EXIT STATUS +The +.B ipptool +program returns 0 if all tests were successful and 1 otherwise. +.SH FILES +The following standard files are available: +.nf +.I color.jpg +.I create\-printer\-subscription.test +.I document\-a4.pdf +.I document\-a4.ps +.I document\-letter.pdf +.I document\-letter.ps +.I get\-completed\-jobs.test +.I get\-jobs.test +.I get\-notifications.test +.I get\-printer\-attributes.test +.I get\-subscriptions.test +.I gray.jpg +.I ipp\-1.1.test +.I ipp\-2.0.test +.I ipp\-2.1.test +.I ipp\-2.2.test +.I ipp\-everywhere.test +.I onepage\-a4.pdf +.I onepage\-a4.ps +.I onepage\-letter.pdf +.I onepage\-letter.ps +.I print\-job.test +.I print\-job\-deflate.test +.I print\-job\-gzip.test +.I testfile.jpg +.I testfile.pcl +.I testfile.pdf +.I testfile.ps +.I testfile.txt +.I validate\-job.test +.fi +.SH CONFORMING TO +The +.B ipptool +program is unique to CUPS and conforms to the Internet Printing Protocol up to version 2.2. +.SH EXAMPLES +Get a list of completed jobs for "myprinter": +.nf + + ipptool ipp://localhost/printers/myprinter get\-completed\-jobs.test +.fi +.LP +Send email notifications to "user@example.com" when "myprinter" changes: +.nf + + ipptool \-d recipient=mailto:user@example.com \\ + ipp://localhost/printers/myprinter create\-printer\-subscription.test +.fi +.SH SEE ALSO +.BR ipptoolfile (5), +IANA IPP Registry (http://www.iana.org/assignments/ipp\-registrations), +PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp) +RFC 8011 (http://tools.ietf.org/html/rfc8011), +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/ipptoolfile.5 b/man/ipptoolfile.5 new file mode 100644 index 0000000..7001017 --- /dev/null +++ b/man/ipptoolfile.5 @@ -0,0 +1,655 @@ +.\" +.\" ipptoolfile man page. +.\" +.\" Copyright © 2010-2019 by Apple Inc. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH ipptoolfile 5 "CUPS" "15 August 2019" "Apple Inc." +.SH NAME +ipptoolfile \- ipptool file format +.SH DESCRIPTION +The +.BR ipptool (1) +program accepts free-form plain text files that describe one or more IPP requests. +Comments start with the "#" character and continue to the end of the line. +Each request is enclosed by curly braces, for example: +.nf + + # This is a comment + { + # The name of the test + NAME "Print PDF File" + + # The request to send + OPERATION Print\-Job + + GROUP operation\-attributes\-tag + ATTR charset attributes\-charset utf\-8 + ATTR language attributes\-natural\-language en + ATTR uri printer\-uri $uri + ATTR name requesting\-user\-name $user + ATTR mimeMediaType document\-format application/pdf + + GROUP job\-attributes\-tag + ATTR collection media\-col { + # US Letter plain paper from the "main" tray + MEMBER collection media\-size { + MEMBER integer x\-dimension 21590 + MEMBER integer y\-dimension 27940 + } + MEMBER integer media\-top\-margin 423 + MEMBER integer media\-bottom\-margin 423 + MEMBER integer media\-left\-margin 423 + MEMBER integer media\-right\-margin 423 + MEMBER keyword media\-source "main" + MEMBER keyword media\-type "stationery" + } + + FILE testfile.pdf + + # The response to expect + STATUS successful\-ok + EXPECT job\-id OF\-TYPE integer WITH\-VALUE >0 + EXPECT job\-uri OF\-TYPE uri + } + { + # The name of the test + NAME "Wait for Job to Complete" + + # The request to send + OPERATION Get\-Job\-Attributes + + GROUP operation\-attributes\-tag + ATTR charset attributes\-charset utf\-8 + ATTR language attributes\-natural\-language en + ATTR uri printer\-uri $uri + ATTR integer job\-id $job\-id + ATTR name requesting\-user\-name $user + + # The response to expect + STATUS successful\-ok + EXPECT job\-id OF\-TYPE integer WITH\-VALUE $job\-id + EXPECT job\-uri OF\-TYPE uri + EXPECT job\-state OF\-TYPE enum WITH\-VALUE >5 REPEAT\-NO\-MATCH + EXPECT job\-originating\-user\-name OF\-TYPE name WITH\-VALUE "$user" + + # Show the job state until completed... + DISPLAY job-state + DISPLAY job-state-reasons + } +.fi +.SS TOP-LEVEL DIRECTIVES +The following directives can be used outside of a \fItest\fR: +.TP 5 +\fB{ \fItest \fB}\fR +Defines a test. +.TP 5 +\fBDEFINE \fIvariable-name value\fR +Defines the named variable to the given value. This is equivalent to specifying \fI\-d variable-name=value\fR on the +.BR ipptool (8) +command-line. +.TP 5 +\fBDEFINE\-DEFAULT \fIvariable-name value\fR +Defines the named variable to the given value if it does not already have a value. +.TP 5 +\fBFILE\-ID "\fIidentifier\fB"\fR +Specifies an identifier string for the current file. +.TP 5 +\fBIGNORE\-ERRORS yes\fR +.TP 5 +\fBIGNORE\-ERRORS no\fR +Specifies whether, by default, +.BR ipptool (8) +will ignore errors and continue with subsequent tests. +.TP 5 +\fBINCLUDE "\fIfilename\fB"\fR +.TP 5 +\fBINCLUDE <\fIfilename\fB>\fR +Includes another test file. The first form includes a file relative to the current test file, while the second form includes a file from the +.BR ipptool (8) +include directory. +.TP 5 +\fBINCLUDE\-IF\-DEFINED \fIname \fB"\fIfilename\fB"\fR +.TP 5 +\fBINCLUDE\-IF\-DEFINED \fIname \fB<\fIfilename\fB>\fR +Includes another test file if the named variable is defined. The first form includes a file relative to the current test file, while the second form includes a file from the +.BR ipptool (8) +include directory. +.TP 5 +\fBINCLUDE\-IF\-NOT\-DEFINED \fIname \fB"\fIfilename\fB"\fR +.TP 5 +\fBINCLUDE\-IF\-NOT\-DEFINED \fIname \fB<\fIfilename\fB>\fR +Includes another test file if the named variable is not defined. The first form includes a file relative to the current test file, while the second form includes a file from the +.BR ipptool (8) +include directory. +.TP 5 +\fBSKIP\-IF\-DEFINED \fIvariable-name\fR +.TP 5 +\fBSKIP\-IF\-NOT\-DEFINED \fIvariable-name\fR +Specifies that the remainder of the test file should be skipped when the variable is or is not defined. +.TP 5 +\fBSTOP\-AFTER\-INCLUDE\-ERROR no\fR +.TP 5 +\fBSTOP\-AFTER\-INCLUDE\-ERROR yes\fR +Specifies whether tests will be stopped after an error in an included file. +.TP 5 +\fBTRANSFER auto\fR +Specifies that tests will, by default, use "Transfer-Encoding: chunked" for requests with attached files and "Content-Length:" for requests without attached files. +.TP 5 +\fBTRANSFER chunked\fR +Specifies that tests will, by default, use the HTTP/1.1 "Transfer-Encoding: chunked" header. This is the default and is equivalent to specifying \fI\-c\fR on the +.BR ipptool (8) +command-line. Support for chunked requests is required for conformance with all versions of IPP. +.TP 5 +\fBTRANSFER length\fR +Specifies that tests will, by default, use the HTTP/1.0 "Content-Length:" header. This is equivalent to specifying \fI\-l\fR on the +.BR ipptool (8) +command-line. Support for content length requests is required for conformance with all versions of IPP. +.TP 5 +\fBVERSION 1.0\fR +.TP 5 +\fBVERSION 1.1\fR +.TP 5 +\fBVERSION 2.0\fR +.TP 5 +\fBVERSION 2.1\fR +.TP 5 +\fBVERSION 2.2\fR +Specifies the default IPP version number to use for the tests that follow. +.SS TEST DIRECTIVES +The following directives are understood within a \fItest\fR: +.TP 5 +\fBATTR \fIout-of-band-tag attribute-name\fR +.TP 5 +\fBATTR \fItag attribute-name value(s)\fR +Adds an attribute to the test request. +Out-of-band tags (admin-define, delete-attribute, no-value, not-settable, unknown, unsupported) have no value. +Values for other tags are delimited by the comma (",") character - escape commas using the "\\" character. +Common attributes and values are listed in the IANA IPP registry - see references below. +.TP 5 +\fBATTR collection \fIattribute-name \fB{ MEMBER \fItag member-name value(s) ... \fB}\fR [ \fI... \fB,{ \fI... \fB} \fR] +Adds a collection attribute to the test request. +Member attributes follow the same syntax as regular attributes and can themselves be nested collections. +Multiple collection values can be supplied as needed, separated by commas. +.TP 5 +\fBCOMPRESSION deflate\fR +.TP 5 +\fBCOMPRESSION gzip\fR +.TP 5 +\fBCOMPRESSION none\fR +Uses the specified compression on the document data following the attributes in a Print-Job or Send-Document request. +.TP 5 +\fBDELAY \fIseconds\fR[\fI,repeat-seconds\fR] +Specifies a delay in seconds before this test will be run. +If two values are specified, the second value is used as the delay between repeated tests. +.TP 5 +\fBDISPLAY \fIattribute-name\fR +Specifies that value of the named attribute should be output as part of the +test report. +.TP 5 +\fBEXPECT \fIattribute-name \fR[ \fIpredicate(s) \fR] +.TP 5 +\fBEXPECT ?\fIattribute-name predicate(s)\fR +.TP 5 +\fBEXPECT !\fIattribute-name\fR +Specifies that the response must/may/must not include the named attribute. Additional requirements can be added as predicates - see the "EXPECT PREDICATES" section for more information on predicates. Attribute names can specify member attributes by separating the attribute and member names with the forward slash, for example "media\-col/media\-size/x\-dimension". +.TP 5 +\fBEXPECT-ALL \fIattribute-name \fR[ \fIpredicate(s) \fR] +.TP 5 +\fBEXPECT-ALL ?\fIattribute-name predicate(s)\fR +Specifies that the response must/may include the named attribute and that all occurrences of that attribute must match the given predicates. +.TP 5 +\fBFILE filename\fR +Specifies a file to include at the end of the request. This is typically used when sending a test print file. +.TP 5 +\fBGROUP tag\fR +Specifies the group tag for subsequent attributes in the request. +.TP 5 +\fBIGNORE\-ERRORS yes\fR +.TP 5 +\fBIGNORE\-ERRORS no\fR +Specifies whether +.BR ipptool (8) +will ignore errors and continue with subsequent tests. +.TP 5 +\fBNAME "\fIliteral string\fB"\fR +Specifies the human-readable name of the test. +.TP 5 +\fBOPERATION \fIoperation-code\fR +Specifies the operation to be performed. +.TP 5 +\fBPAUSE "\fImessage\fB"\fR +Displays the provided message and waits for the user to press a key to continue. +.TP 5 +\fBREQUEST\-ID \fInumber\fR\fR +.TP 5 +\fBREQUEST\-ID random\fR +Specifies the request-id value to use in the request, either an integer or the word "random" to use a randomly generated value (the default). +.TP 5 +\fBRESOURCE \fIpath\fR +Specifies an alternate resource path that is used for the HTTP POST request. The default is the resource from the URI provided to the +.BR ipptool (8) +program. +.TP 5 +\fBSKIP\-IF\-DEFINED \fIvariable-name\fR +.TP 5 +\fBSKIP\-IF\-NOT\-DEFINED \fIvariable-name\fR +Specifies that the current test should be skipped when the variable is or is not defined. +.TP 5 +\fBSKIP\-PREVIOUS\-ERROR yes\fR +.TP 5 +\fBSKIP\-PREVIOUS\-ERROR no\fR +Specifies whether +.BR ipptool (8) +will skip the current test if the previous test resulted in an error/failure. +.TP 5 +\fBSTATUS \fIstatus-code \fR[ \fIpredicate\fR ] +Specifies an expected response status-code value. Additional requirements can be added as predicates - see the "STATUS PREDICATES" section for more information on predicates. +.TP 5 +\fBTEST\-ID "\fIidentifier\fR" +Specifies an identifier string for the current test. +.TP 5 +\fBTRANSFER auto\fR +Specifies that this test will use "Transfer-Encoding: chunked" if it has an attached file or "Content-Length:" otherwise. +.TP 5 +\fBTRANSFER chunked\fR +Specifies that this test will use the HTTP/1.1 "Transfer-Encoding: chunked" header. +.TP 5 +\fBTRANSFER length\fR +Specifies that this test will use the HTTP/1.0 "Content-Length:" header. +.TP 5 +\fBVERSION 1.0\fR +.TP 5 +\fBVERSION 1.1\fR +.TP 5 +\fBVERSION 2.0\fR +.TP 5 +\fBVERSION 2.1\fR +.TP 5 +\fBVERSION 2.2\fR +Specifies the IPP version number to use for this test. +.SS EXPECT PREDICATES +The following predicates are understood following the \fBEXPECT\fR test directive: +.TP 5 +\fBCOUNT \fInumber\fR +Requires the \fBEXPECT\fR attribute to have the specified number of values. +.TP 5 +\fBDEFINE\-MATCH \fIvariable-name\fR +Defines the variable to "1" when the \fBEXPECT\fR condition matches. A side-effect of this predicate is that this \fBEXPECT\fR will never fail a test. +.TP 5 +\fBDEFINE\-NO\-MATCH \fIvariable-name\fR +Defines the variable to "1" when the \fBEXPECT\fR condition does not match. A side-effect of this predicate is that this \fBEXPECT\fR will never fail a test. +.TP 5 +\fBDEFINE\-VALUE \fIvariable-name\fR +Defines the variable to the value of the attribute when the \fBEXPECT\fR condition matches. A side-effect of this predicate is that this \fBEXPECT\fR will never fail a test. +.TP 5 +\fBIF\-DEFINED \fIvariable-name\fR +Makes the \fBEXPECT\fR conditions apply only if the specified variable is defined. +.TP 5 +\fBIF\-NOT\-DEFINED \fIvariable-name\fR +Makes the \fBEXPECT\fR conditions apply only if the specified variable is not defined. +.TP 5 +\fBIN\-GROUP \fItag\fR +Requires the \fBEXPECT\fR attribute to be in the specified group tag. +.TP 5 +\fBOF\-TYPE \fItag[|tag,...]\fR +Requires the \fBEXPECT\fR attribute to use one of the specified value tag(s). +.TP 5 +\fBREPEAT\-LIMIT \fInumber\fR +.br +Specifies the maximum number of times to repeat if the \fBREPEAT-MATCH\fR or \fBREPEAT-NO-MATCH\fR predicate is specified. The default value is 1000. +.TP 5 +\fBREPEAT\-MATCH\fR +.TP 5 +\fBREPEAT\-NO\-MATCH\fR +Specifies that the current test should be repeated when the \fBEXPECT\fR condition matches or does not match. +.TP 5 +\fBSAME\-COUNT\-AS \fIattribute-name\fR +Requires the \fBEXPECT\fR attribute to have the same number of values as the specified parallel attribute. +.TP 5 +\fBWITH\-ALL\-HOSTNAMES "\fIliteral string\fB"\fR +.TP 5 +\fBWITH\-ALL\-HOSTNAMES "/\fIregular expression\fB/"\fR +Requires that all URI values contain a matching hostname. +.TP 5 +\fBWITH\-ALL\-RESOURCES "\fIliteral string\fB"\fR +.TP 5 +\fBWITH\-ALL\-RESOURCES "/\fIregular expression\fB/"\fR +Requires that all URI values contain a matching resource (including leading /). +.TP 5 +\fBWITH\-ALL\-SCHEMES "\fIliteral string\fB"\fR +.TP 5 +\fBWITH\-ALL-SCHEMES "/\fIregular expression\fB/"\fR +Requires that all URI values contain a matching scheme. +.TP 5 +\fBWITH\-ALL\-VALUES "\fIliteral string\fB"\fR +Requires that all values of the \fBEXPECT\fR attribute match the literal string. Comparisons are case-sensitive. +.TP 5 +\fBWITH\-ALL\-VALUES <\fInumber\fR +.TP 5 +\fBWITH\-ALL\-VALUES =\fInumber\fR +.TP 5 +\fBWITH\-ALL\-VALUES >\fInumber\fR +.TP 5 +\fBWITH\-ALL\-VALUES \fInumber\fR[\fI,...,number\fR] +Requires that all values of the \fBEXPECT\fR attribute match the number(s) or numeric comparison. When comparing rangeOfInteger values, the "<" and ">" operators only check the upper bound of the range. +.TP 5 +\fBWITH\-ALL\-VALUES "false"\fR +.TP 5 +\fBWITH\-ALL\-VALUES "true"\fR +Requires that all values of the \fBEXPECT\fR attribute match the boolean value given. +.TP 5 +\fBWITH\-ALL\-VALUES "/\fIregular expression\fB/"\fR +Requires that all values of the \fBEXPECT\fR attribute match the regular expression, which must conform to the POSIX regular expression syntax. Comparisons are case-sensitive. +.TP 5 +\fBWITH\-HOSTNAME "\fIliteral string\fB"\fR +.TP 5 +\fBWITH\-HOSTNAME "/\fIregular expression\fB/"\fR +Requires that at least one URI value contains a matching hostname. +.TP 5 +\fBWITH\-RESOURCE "\fIliteral string\fB"\fR +.TP 5 +\fBWITH\-RESOURCE "/\fIregular expression\fB/"\fR +Requires that at least one URI value contains a matching resource (including leading /). +.TP 5 +\fBWITH\-SCHEME "\fIliteral string\fB"\fR +.TP 5 +\fBWITH\-SCHEME "/\fIregular expression\fB/"\fR +Requires that at least one URI value contains a matching scheme. +.TP 5 +\fBWITH\-VALUE "\fIliteral string\fB"\fR +Requires that at least one value of the \fBEXPECT\fR attribute matches the literal string. Comparisons are case-sensitive. +.TP 5 +\fBWITH\-VALUE <\fInumber\fR +.TP 5 +\fBWITH\-VALUE =\fInumber\fR +.TP 5 +\fBWITH\-VALUE >\fInumber\fR +.TP 5 +\fBWITH\-VALUE \fInumber\fR[\fI,...,number\fR] +Requires that at least one value of the \fBEXPECT\fR attribute matches the number(s) or numeric comparison. When comparing rangeOfInteger values, the "<" and ">" operators only check the upper bound of the range. +.TP 5 +\fBWITH\-VALUE "false"\fR +.TP 5 +\fBWITH\-VALUE "true"\fR +Requires that at least one value of the \fBEXPECT\fR attribute matches the boolean value given. +.TP 5 +\fBWITH\-VALUE "/\fIregular expression\fB/"\fR +Requires that at least one value of the \fBEXPECT\fR attribute matches the regular expression, which must conform to the POSIX regular expression syntax. Comparisons are case-sensitive. +.TP 5 +\fBWITH\-VALUE\-FROM \fIattribute-name\fR +Requires that the value(s) of the \fBEXPECT\fR attribute matches the value(s) in the specified attribute. +For example, "EXPECT job\-sheets WITH\-VALUE\-FROM job\-sheets\-supported" requires that the "job\-sheets" value is listed as a value of the "job\-sheets\-supported" attribute. +.SS STATUS PREDICATES +The following predicates are understood following the \fBSTATUS\fR test directive: +.TP 5 +\fBDEFINE\-MATCH \fIvariable-name\fR +Defines the variable to "1" when the \fBSTATUS\fR matches. A side-effect of this predicate is that this \fBSTATUS\fR will never fail a test. +.TP 5 +\fBDEFINE\-NO\-MATCH \fIvariable-name\fR +Defines the variable to "1" when the \fBSTATUS\fR does not match. A side-effect of this predicate is that this \fBSTATUS\fR will never fail a test. +.TP 5 +\fBIF\-DEFINED \fIvariable-name\fR +Makes the \fBSTATUS\fR apply only if the specified variable is defined. +.TP 5 +\fBIF\-NOT\-DEFINED \fIvariable-name\fR +Makes the \fBSTATUS\fR apply only if the specified variable is not defined. +.TP 5 +\fBREPEAT\-LIMIT \fInumber\fR +.br +Specifies the maximum number of times to repeat. The default value is 1000. +.TP 5 +\fBREPEAT\-MATCH\fR +.TP 5 +\fBREPEAT\-NO\-MATCH\fR +Specifies that the current test should be repeated when the response status-code matches or does not match the value specified by the STATUS directive. +.SS OPERATION CODES +Operation codes correspond to the hexadecimal numbers (0xHHHH) and names from RFC 8011 and other IPP extension specifications. Here is a complete list of names supported by +.BR ipptool (8): +.nf + + Activate\-Printer + CUPS\-Accept\-Jobs + CUPS\-Add\-Modify\-Class + CUPS\-Add\-Modify\-Printer + CUPS\-Authenticate\-Job + CUPS\-Delete\-Class + CUPS\-Delete\-Printer + CUPS\-Get\-Classes + CUPS\-Get\-Default + CUPS\-Get\-Devices + CUPS\-Get\-Document + CUPS\-Get\-PPD + CUPS\-Get\-PPDs + CUPS\-Get\-Printers + CUPS\-Move\-Job + CUPS\-Reject\-Jobs + CUPS\-Set\-Default + Cancel\-Current\-Job + Cancel\-Job + Cancel\-Jobs + Cancel\-My\-Jobs + Cancel\-Subscription + Close\-Job + Create\-Job + Create\-Job\-Subscriptions + Create\-Printer\-Subscriptions + Deactivate\-Printer + Disable\-Printer + Enable\-Printer + Get\-Job\-Attributes + Get\-Jobs + Get\-Notifications + Get\-Printer\-Attributes + Get\-Printer\-Support\-Files + Get\-Printer\-Supported\-Values + Get\-Subscription\-Attributes + Get\-Subscriptions + Hold\-Job + Hold\-New\-Jobs + Identify\-Printer + Pause\-Printer + Pause\-Printer\-After\-Current\-Job + Print\-Job + Print\-URI + Promote\-Job + Purge\-Jobs + Release\-Held\-New\-Jobs + Release\-Job + Renew\-Subscription + Reprocess\-Job + Restart\-Job + Restart\-Printer + Resubmit\-Job + Resume\-Job + Resume\-Printer + Schedule\-Job\-After + Send\-Document + Send\-Hardcopy\-Document + Send\-Notifications + Send\-URI + Set\-Job\-Attributes + Set\-Printer\-Attributes + Shutdown\-Printer + Startup\-Printer + Suspend\-Current\-Job + Validate\-Document + Validate\-Job +.fi +.SS STATUS CODES +Status codes correspond to the hexadecimal numbers (0xHHHH) and names from RFC 8011 and other IPP extension specifications. Here is a complete list of the names supported by +.BR ipptool (8): +.nf + + client\-error\-account\-authorization\-failed + client\-error\-account\-closed + client\-error\-account\-info\-needed + client\-error\-account\-limit\-reached + client\-error\-attributes\-not\-settable + client\-error\-attributes\-or\-values\-not\-supported + client\-error\-bad\-request + client\-error\-charset\-not\-supported + client\-error\-compression\-error + client\-error\-compression\-not\-supported + client\-error\-conflicting\-attributes + client\-error\-document\-access\-error + client\-error\-document\-format\-error + client\-error\-document\-format\-not\-supported + client\-error\-document\-password\-error + client\-error\-document\-permission\-error + client\-error\-document\-security\-error + client\-error\-document\-unprintable\-error + client\-error\-forbidden + client\-error\-gone + client\-error\-ignored\-all\-notifications + client\-error\-ignored\-all\-subscriptions + client\-error\-not\-authenticated + client\-error\-not\-authorized + client\-error\-not\-found + client\-error\-not\-possible + client\-error\-print\-support\-file\-not\-found + client\-error\-request\-entity\-too\-large + client\-error\-request\-value\-too\-long + client\-error\-timeout + client\-error\-too\-many\-subscriptions + client\-error\-uri\-scheme\-not\-supported + cups\-error\-account\-authorization\-failed + cups\-error\-account\-closed + cups\-error\-account\-info\-needed + cups\-error\-account\-limit\-reached + cups\-see\-other + redirection\-other\-site + server\-error\-busy + server\-error\-device\-error + server\-error\-internal\-error + server\-error\-job\-canceled + server\-error\-multiple\-document\-jobs\-not\-supported + server\-error\-not\-accepting\-jobs + server\-error\-operation\-not\-supported + server\-error\-printer\-is\-deactivated + server\-error\-service\-unavailable + server\-error\-temporary\-error + server\-error\-version\-not\-supported + successful\-ok + successful\-ok\-but\-cancel\-subscription + successful\-ok\-conflicting\-attributes + successful\-ok\-events\-complete + successful\-ok\-ignored\-notifications + successful\-ok\-ignored\-or\-substituted\-attributes + successful\-ok\-ignored\-subscriptions + successful\-ok\-too\-many\-events +.fi +.SS TAGS +Value and group tags correspond to the names from RFC 8011 and other IPP extension specifications. Here are the group tags: +.nf + + document\-attributes\-tag + event\-notification\-attributes\-tag + job\-attributes\-tag + operation\-attributes\-tag + printer\-attributes\-tag + subscription\-attributes\-tag + unsupported\-attributes\-tag +.fi +.LP +Here are the value tags: +.nf + + admin\-define + boolean + charset + collection + dateTime + default + delete\-attribute + enum + integer + keyword + mimeMediaType + nameWithLanguage + nameWithoutLanguage + naturalLanguage + no\-value + not\-settable + octetString + rangeOfInteger + resolution + textWithLanguage + textWithoutLanguage + unknown + unsupported + uri + uriScheme +.fi +.SS VARIABLES +The +.BR ipptool (8) +program maintains a list of variables that can be used in any literal string or attribute value by specifying "\fI$variable-name\fR". Aside from variables defined using the \fI-d\fR option or \fBDEFINE\fR directive, the following pre-defined variables are available: +.TP 5 +\fB$$\fR +Inserts a single "$" character. +.TP 5 +\fB$ENV[\fIname\fB]\fR +Inserts the value of the named environment variable, or an empty string if the environment variable is not defined. +.TP 5 +\fB$date-current\fR +Inserts the current date and time using the ISO-8601 format ("yyyy-mm-ddThh:mm:ssZ"). +.TP 5 +\fB$date-start\fR +Inserts the starting date and time using the ISO-8601 format ("yyyy-mm-ddThh:mm:ssZ"). +.TP 5 +\fB$filename\fR +Inserts the filename provided to +.BR ipptool (8) +with the \fI-f\fR option. +.TP 5 +\fB$filetype\fR +Inserts the MIME media type for the filename provided to +.BR ipptool (8) +with the \fI-f\fR option. +.TP 5 +\fB$hostname\fR +Inserts the hostname from the URI provided to +.BR ipptool (8). +.TP 5 +\fB$job\-id\fR +Inserts the last "job\-id" attribute value returned in a test response or 0 if no "job\-id" attribute has been seen. +.TP 5 +\fB$job\-uri\fR +Inserts the last "job\-uri" attribute value returned in a test response or an empty string if no "job\-uri" attribute has been seen. +.TP 5 +\fB$notify\-subscription\-id\fR +Inserts the last "notify\-subscription\-id" attribute value returned in a test response or 0 if no "notify\-subscription\-id" attribute has been seen. +.TP 5 +\fB$port\fR +Inserts the port number from the URI provided to +.BR ipptool (8). +.TP 5 +\fB$resource\fR +Inserts the resource path from the URI provided to +.BR ipptool (8). +.TP 5 +\fB$scheme\fR +Inserts the scheme from the URI provided to +.BR ipptool (8). +.TP 5 +\fB$uri\fR +Inserts the URI provided to +.BR ipptool (8). +.TP 5 +\fB$uriuser\fR +Inserts the username from the URI provided to +.BR ipptool (8), +if any. +.TP 5 +\fB$user\fR +Inserts the current user's login name. +.SH SEE ALSO +.BR ipptool (1), +IANA IPP Registry (http://www.iana.org/assignments/ipp-registrations), +PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp), +RFC 8011 (http://tools.ietf.org/html/rfc8011) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/lp.1 b/man/lp.1 new file mode 100644 index 0000000..cbea3b8 --- /dev/null +++ b/man/lp.1 @@ -0,0 +1,229 @@ +.\" +.\" lp man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH lp 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +lp \- print files +.SH SYNOPSIS +.B lp +[ +.B \-E +] [ +.B \-U +.I username +] [ +.B \-c +] [ +\fB\-d \fIdestination\fR[\fB/\fIinstance\fR] +] [ +\fB\-h \fIhostname\fR[\fB:\fIport\fR] +] [ +.B \-m +] [ +.B \-n +.I num-copies +] [ +\fB\-o \fIoption\fR[\fB=\fIvalue\fR] +] [ +.B \-q +.I priority +] [ +.B \-s +] [ +.B \-t +.I title +] [ +.B \-H +.I handling +] [ +.B \-P +.I page-list +] [ +.B \-\- +] [ +.I file(s) +] +.br +.B lp +[ +.B \-E +] [ +.B \-U +.I username +] [ +.B \-c +] [ +\fB\-h \fIhostname\fR[\fB:\fIport\fR] +] [ +.B \-i +.I job-id +] [ +.B \-n +.I num-copies +] [ +\fB\-o \fIoption\fR[\fB=\fIvalue\fR] +] [ +.B \-q +.I priority +] [ +.B \-t +.I title +] [ +.B \-H +.I handling +] [ +.B \-P +.I page-list +] +.SH DESCRIPTION +\fBlp\fR submits files for printing or alters a pending job. +Use a filename of "-" to force printing from the standard input. +.SS THE DEFAULT DESTINATION +CUPS provides many ways to set the default destination. The \fBLPDEST\fR and \fBPRINTER\fR environment variables are consulted first. +If neither are set, the current default set using the +.BR lpoptions (1) +command is used, followed by the default set using the +.BR lpadmin (8) +command. +.SH OPTIONS +The following options are recognized by \fIlp\fR: +.TP 5 +.B \-\- +Marks the end of options; use this to print a file whose name begins with a dash (\-). +.TP 5 +.B \-E +Forces encryption when connecting to the server. +.TP 5 +\fB\-U \fIusername\fR +Specifies the username to use when connecting to the server. +.TP 5 +.B \-c +This option is provided for backwards-compatibility only. On systems that support it, this option forces the print file to be copied to the spool directory before printing. +In CUPS, print files are always sent to the scheduler via IPP which has the same effect. +.TP 5 +\fB\-d \fIdestination\fR +Prints files to the named printer. +.TP 5 +\fB\-h \fIhostname\fR[\fB:\fIport\fR] +Chooses an alternate server. +.TP 5 +\fB\-i \fIjob-id\fR +Specifies an existing job to modify. +.TP 5 +.B \-m +Sends an email when the job is completed. +.TP 5 +\fB\-n \fIcopies\fR +Sets the number of copies to print. +.TP 5 +\fB\-o "\fIname\fB=\fIvalue \fR[ ... \fIname\fB=\fIvalue \fR]\fB"\fR +Sets one or more job options. +See "COMMON JOB OPTIONS" below. +.TP 5 +\fB\-q \fIpriority\fR +Sets the job priority from 1 (lowest) to 100 (highest). +The default priority is 50. +.TP 5 +.B \-s +Do not report the resulting job IDs (silent mode.) +.TP 5 +\fB\-t "\fIname\fB"\fR +Sets the job name. +.TP 5 +\fB\-H \fIhh:mm\fR +.TP 5 +\fB\-H hold\fR +.TP 5 +\fB-H immediate\fR +.TP 5 +\fB-H restart\fR +.TP 5 +\fB-H resume\fR +Specifies when the job should be printed. +A value of \fIimmediate\fR will print the file immediately, a value of \fIhold\fR will hold the job indefinitely, and a UTC time value (HH:MM) will hold the job until the specified UTC (not local) time. +Use a value of \fIresume\fR with the \fI-i\fR option to resume a held job. +Use a value of \fIrestart\fR with the \fI-i\fR option to restart a completed job. +.TP 5 +\fB\-P \fIpage-list\fR +Specifies which pages to print in the document. +The list can contain a list of numbers and ranges (#-#) separated by commas, e.g., "1,3-5,16". +The page numbers refer to the output pages and not the document's original pages - options like "number-up" can affect the numbering of the pages. +.SS COMMON JOB OPTIONS +Aside from the printer-specific options reported by the +.BR lpoptions (1) +command, the following generic options are available: +.TP 5 +\fB\-o job-sheets=\fIname\fR\fR +Prints a cover page (banner) with the document. +The "name" can be "classified", "confidential", "secret", "standard", "topsecret", or "unclassified". +.TP 5 +\fB\-o media=\fIsize\fR +Sets the page size to \fIsize\fR. Most printers support at least the size names "a4", "letter", and "legal". +.TP 5 +\fB\-o number\-up=\fR{\fI2|4|6|9|16\fR} +Prints 2, 4, 6, 9, or 16 document (input) pages on each output page. +.TP 5 +\fB\-o orientation\-requested=4\fR +Prints the job in landscape (rotated 90 degrees counter-clockwise). +.TP 5 +\fB\-o orientation\-requested=5\fR +Prints the job in landscape (rotated 90 degrees clockwise). +.TP 5 +\fB\-o orientation\-requested=6\fR +Prints the job in reverse portrait (rotated 180 degrees). +.TP 5 +\fB\-o print\-quality=3\fR +.TP 5 +\fB\-o print\-quality=4\fR +.TP 5 +\fB\-o print\-quality=5\fR +Specifies the output quality - draft (3), normal (4), or best (5). +.TP 5 +\fB\-o sides=one\-sided\fR +Prints on one side of the paper. +.TP 5 +\fB\-o sides=two\-sided\-long\-edge\fR +Prints on both sides of the paper for portrait output. +.TP 5 +\fB\-o sides=two\-sided\-short\-edge\fR +Prints on both sides of the paper for landscape output. +.SH CONFORMING TO +Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". +Also, printer and class names are \fInot\fR case-sensitive. +.LP +The \fI-q\fR option accepts a different range of values than the Solaris lp command, matching the IPP job priority values (1-100, 100 is highest priority) instead of the Solaris values (0-39, 0 is highest priority). +.SH EXAMPLES +Print two copies of a document to the default printer: +.nf + + lp -n 2 filename + +.fi +Print a double-sided legal document to a printer called "foo": +.nf + + lp -d foo -o media=legal -o sides=two-sided-long-edge filename + +.fi +Print a presentation document 2-up to a printer called "bar": +.nf + + lp -d bar -o number-up=2 filename +.fi +.SH SEE ALSO +.BR cancel (1), +.BR lpadmin (8), +.BR lpoptions (1), +.BR lpq (1), +.BR lpr (1), +.BR lprm (1), +.BR lpstat (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/lpadmin.8 b/man/lpadmin.8 new file mode 100644 index 0000000..1b8c91b --- /dev/null +++ b/man/lpadmin.8 @@ -0,0 +1,231 @@ +.\" +.\" lpadmin man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH lpadmin 8 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +lpadmin \- configure cups printers and classes +.SH SYNOPSIS +.B lpadmin +[ +.B \-E +] [ +.B \-U +.I username +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] +.B \-d +.I destination +.br +.B lpadmin +[ +.B \-E +] [ +.B \-U +.I username +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] +.B \-p +.I destination +[ +.B \-R +.I name-default +] +.I option(s) +.br +.B lpadmin +[ +.B \-E +] [ +.B \-U +.I username +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] +.B \-x +.I destination +.SH DESCRIPTION +\fBlpadmin\fR configures printer and class queues provided by CUPS. +It can also be used to set the server default printer or class. +.LP +When specified before the \fI-d\fR, \fI-p\fR, or \fI-x\fR options, the \fI-E\fR option forces encryption when connecting to the server. +.LP +The first form of the command (\fI-d\fR) sets the default printer or class to \fIdestination\fR. +Subsequent print jobs submitted via the +.BR lp (1) +or +.BR lpr (1) +commands will use this destination unless the user specifies otherwise with the +.BR lpoptions (1) +command. +.LP +The second form of the command (\fI-p\fR) configures the named printer or class. The additional options are described below. +.LP +The third form of the command (\fI-x\fR) deletes the printer or class \fIdestination\fR. +Any jobs that are pending for the destination will be removed and any job that is currently printed will be aborted. +.SH OPTIONS +The following options are recognized when configuring a printer queue: +.TP 5 +\fB\-c \fIclass\fR +Adds the named \fIprinter\fR to \fIclass\fR. +If \fIclass\fR does not exist it is created automatically. +.TP 5 +\fB\-m \fImodel\fR +Sets a standard PPD file for the printer from the \fImodel\fR directory or using one of the driver interfaces. +Use the \fI-m\fR option with the +.BR lpinfo (8) +command to get a list of supported models. +The model "raw" clears any existing PPD file and the model "everywhere" queries the printer referred to by the specified IPP \fIdevice-uri\fR. +Note: Models other than "everywhere" are deprecated and will not be supported in a future version of CUPS. +.TP 5 +\fB\-o cupsIPPSupplies=true\fR +.TP 5 +\fB\-o cupsIPPSupplies=false\fR +Specifies whether IPP supply level values should be reported. +.TP 5 +\fB\-o cupsSNMPSupplies=true\fR +.TP 5 +\fB\-o cupsSNMPSupplies=false\fR +Specifies whether SNMP supply level (RFC 3805) values should be reported. +.TP 5 +\fB\-o job\-k\-limit=\fIvalue\fR +Sets the kilobyte limit for per-user quotas. +The value is an integer number of kilobytes; one kilobyte is 1024 bytes. +.TP 5 +\fB\-o job\-page\-limit=\fIvalue\fR +Sets the page limit for per-user quotas. +The value is the integer number of pages that can be printed; double-sided pages are counted as two pages. +.TP 5 +\fB-o job\-quota\-period=\fIvalue\fR +Sets the accounting period for per-user quotas. +The value is an integer number of seconds; 86,400 seconds are in one day. +.TP 5 +\fB\-o job\-sheets\-default=\fIbanner\fR +.TP 5 +\fB\-o job\-sheets\-default=\fIbanner\fB,\fIbanner\fR +Sets the default banner page(s) to use for print jobs. +.TP 5 +\fB\-o \fIname\fB=\fIvalue\fR +Sets a PPD option for the printer. +PPD options can be listed using the \fI-l\fR option with the +.BR lpoptions (1) +command. +.TP 5 +\fB\-o \fIname\fB-default=\fIvalue\fR +Sets a default server-side option for the destination. +Any print-time option can be defaulted, e.g., "-o number-up-default=2" to set the default "number-up" option value to 2. +.TP 5 +\fB\-o port\-monitor=\fIname\fR +Sets the binary communications program to use when printing, "none", "bcp", or "tbcp". +The default program is "none". +The specified port monitor must be listed in the printer's PPD file. +.TP 5 +\fB\-o printer-error-policy=\fIname\fR +Sets the policy for errors such as printers that cannot be found or accessed, don't support the format being printed, fail during submission of the print data, or cause one or more filters to crash. +The name must be one of "abort-job" (abort the job on error), "retry-job" (retry the job at a future time), "retry-current-job" (retry the current job immediately), or "stop-printer" (stop the printer on error). +The default error policy is "stop-printer" for printers and "retry-current-job" for +classes. +.TP 5 +\fB\-o printer\-is\-shared=true\fR +.TP 5 +\fB\-o printer\-is\-shared=false\fR +Sets the destination to shared/published or unshared/unpublished. +Shared/published destinations are publicly announced by the server on the LAN based on the browsing configuration in \fIcupsd.conf\fR, while unshared/unpublished destinations are not announced. +The default value is "true". +.TP 5 +\fB\-o printer-op-policy=\fIname\fR +Sets the IPP operation policy associated with the destination. +The name must be defined in the \fIcupsd.conf\fR in a Policy section. +The default operation policy is "default". +.TP 5 +\fB\-R \fIname\fB\-default\fR +Deletes the named option from \fIprinter\fR. +.TP 5 +\fB\-r \fIclass\fR +Removes the named \fIprinter\fR from \fIclass\fR. +If the resulting class becomes empty it is removed. +.TP 5 +\fB-u allow:\fR{\fIuser\fR|\fB@\fIgroup\fR}{\fB,\fIuser\fR|\fB,@\fIgroup\fR}* +.TP 5 +\fB-u deny:\fR{\fIuser\fR|\fB@\fIgroup\fR}{\fB,\fIuser\fR|\fB,@\fIgroup\fR}* +.TP 5 +\fB\-u allow:all\fR +.TP 5 +\fB\-u deny:none\fR +Sets user-level access control on a destination. +Names starting with "@" are interpreted as UNIX groups. +The latter two forms turn user-level access control off. +Note: The user 'root' is not granted special access - using "-u allow:foo,bar" will allow users 'foo' and 'bar' to access the printer but NOT 'root'. +.TP 5 +\fB\-v "\fIdevice-uri\fB"\fR +Sets the \fIdevice-uri\fR attribute of the printer queue. +Use the \fI-v\fR option with the +.BR lpinfo (8) +command to get a list of supported device URIs and schemes. +.TP 5 +\fB\-D "\fIinfo\fB"\fR +Provides a textual description of the destination. +.TP 5 +.B \-E +When specified before the \fB\-d\fR, \fB\-p\fR, or \fB\-x\fR options, forces the use of TLS encryption on the connection to the scheduler. +Otherwise, enables the destination and accepts jobs; this is the same as running the +.BR cupsaccept (8) +and +.BR cupsenable (8) +programs on the destination. +.TP 5 +\fB\-L "\fIlocation\fB"\fR +Provides a textual location of the destination. +.SH DEPRECATED OPTIONS +The following \fBlpadmin\fR options are deprecated: +.TP 5 +\fB\-i \fIfilename\fR +This option historically has been used to provide either a System V interface script or (as an implementation side-effect) a PPD file. +Note: Interface scripts are not supported by CUPS. +PPD files and printer drivers are deprecated and will not be supported in a future version of CUPS. +.TP 5 +\fB\-P \fIppd-file\fR +Specifies a PostScript Printer Description (PPD) file to use with the printer. +Note: PPD files and printer drivers are deprecated and will not be supported in a future version of CUPS. +.SH CONFORMING TO +Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". +Also, printer and class names are \fInot\fR case-sensitive. +.PP +Finally, the CUPS version of \fBlpadmin\fR may ask the user for an access password depending on the printing system configuration. +This differs from the System V version which requires the root user to execute this command. +.SH NOTES +CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.LP +The CUPS version of \fBlpadmin\fR does not support all of the System V or Solaris printing system configuration options. +.PP +Interface scripts are not supported for security reasons. +.PP +The double meaning of the \fB\-E\fR option is an unfortunate historical oddity. +.PP +The \fBlpadmin\fR command communicates with the scheduler (\fBcupsd\fR) to make changes to the printing system configuration. +This configuration information is stored in several files including \fIprinters.conf\fR and \fIclasses.conf\fR. +These files should not be edited directly and are an implementation detail of CUPS that is subject to change at any time. +.SH EXAMPLE +Create an IPP Everywhere print queue: +.nf + + lpadmin -p myprinter -E -v ipp://myprinter.local/ipp/print -m everywhere + +.fi +.SH SEE ALSO +.BR cupsaccept (8), +.BR cupsenable (8), +.BR lpinfo (8), +.BR lpoptions (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/lpc.8 b/man/lpc.8 new file mode 100644 index 0000000..6fd6ff5 --- /dev/null +++ b/man/lpc.8 @@ -0,0 +1,58 @@ +.\" +.\" lpc man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH lpc 8 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +lpc \- line printer control program (deprecated) +.SH SYNOPSIS +.B lpc +[ +.I command +[ +.I parameter(s) +] ] +.SH DESCRIPTION +\fBlpc\fR provides limited control over printer and class queues provided by CUPS. It can also be used to query the state of queues. +.LP +If no command is specified on the command-line, \fBlpc\fR displays a prompt and accepts commands from the standard input. +.SS COMMANDS +The \fBlpc\fR program accepts a subset of commands accepted by the Berkeley \fBlpc\fR program of the same name: +.TP 5 +.B exit +Exits the command interpreter. +.TP 5 +\fBhelp \fR[\fIcommand\fR] +.TP 5 +\fB? \fR[\fIcommand\fR] +Displays a short help message. +.TP 5 +.B quit +Exits the command interpreter. +.TP 5 +\fBstatus \fR[\fIqueue\fR] +Displays the status of one or more printer or class queues. +.SH NOTES +This program is deprecated and will be removed in a future feature release of CUPS. +.LP +Since \fBlpc\fR is geared towards the Berkeley printing system, it is impossible to use \fBlpc\fR to configure printer or class queues provided by CUPS. +To configure printer or class queues you must use the +.BR lpadmin (8) +command or another CUPS-compatible client with that functionality. +.SH SEE ALSO +.BR cancel (1), +.BR cupsaccept (8), +.BR cupsenable (8), +.BR lp (1), +.BR lpadmin (8), +.BR lpr (1), +.BR lprm (1), +.BR lpstat (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/lpinfo.8 b/man/lpinfo.8 new file mode 100644 index 0000000..ce42cc3 --- /dev/null +++ b/man/lpinfo.8 @@ -0,0 +1,125 @@ +.\" +.\" lpinfo man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH lpinfo 8 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +lpinfo \- show available devices or drivers (deprecated) +.SH SYNOPSIS +.B lpinfo +[ +.B \-E +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] [ +.B \-l +] [ +.B \-\-device\-id +.I device-id-string +] [ +.B \-\-exclude\-schemes +.I scheme-list +] [ +.B \-\-include\-schemes +.I scheme-list +] [ +.B \-\-language +.I locale +] [ +.B \-\-make\-and\-model +.I name +] [ +.B \-\-product +.I name +] +.B \-m +.br +.B lpinfo +[ +.B \-E +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] [ +.B \-l +] [ +.B \-\-exclude\-schemes +.I scheme-list +] [ +.B \-\-include\-schemes +.I scheme-list +] [ +.B \-\-timeout +.I seconds +] +.B \-v +.SH DESCRIPTION +\fBlpinfo\fR lists the available devices or drivers known to the CUPS server. +The first form (\fI-m\fR) lists the available drivers, while the second form (\fI-v\fR) lists the available devices. +.SH OPTIONS +\fBlpinfo\fR accepts the following options: +.TP 5 +.B \-E +Forces encryption when connecting to the server. +.TP 5 +\fB\-h \fIserver\fR[\fB:\fIport\fR] +Selects an alternate server. +.TP 5 +.B \-l +Shows a "long" listing of devices or drivers. +.TP 5 +\fB\-\-device\-id \fIdevice-id-string\fR +Specifies the IEEE-1284 device ID to match when listing drivers with the \fI\-m\fR option. +.TP 5 +\fB\-\-exclude\-schemes \fIscheme-list\fR +Specifies a comma-delimited list of device or PPD schemes that should be excluded from the results. +Static PPD files use the "file" scheme. +.TP 5 +\fB\-\-include\-schemes \fIscheme-list\fR +Specifies a comma-delimited list of device or PPD schemes that should be included in the results. +Static PPD files use the "file" scheme. +.TP 5 +\fB\-\-language \fIlocale\fR +Specifies the language to match when listing drivers with the \fI\-m\fR option. +.TP 5 +\fB\-\-make\-and\-model \fIname\fR +Specifies the make and model to match when listing drivers with the \fI\-m\fR option. +.TP 5 +\fB\-\-product \fIname\fR +Specifies the product to match when listing drivers with the \fI\-m\fR option. +.TP 5 +\fB\-\-timeout \fIseconds\fR +Specifies the timeout when listing devices with the \fI\-v\fR option. +.SH CONFORMING TO +The \fIlpinfo\fR command is unique to CUPS. +.SH EXAMPLES +List all devices: +.nf + + lpinfo \-v + +.fi +List all drivers: +.nf + + lpinfo \-m + +.fi +List drivers matching "HP LaserJet": +.nf + + lpinfo \-\-make\-and\-model "HP LaserJet" \-m +.fi +.SH NOTES +CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.SH SEE ALSO +.BR lpadmin (8), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/lpmove.8 b/man/lpmove.8 new file mode 100644 index 0000000..3f587e2 --- /dev/null +++ b/man/lpmove.8 @@ -0,0 +1,74 @@ +.\" +.\" lpmove man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH lpmove 8 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +lpmove \- move a job or all jobs to a new destination +.SH SYNOPSIS +.B lpmove +[ +.B \-E +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] [ +.B \-U +.I username +] +.I job +.I destination +.br +.B lpmove +[ +.B \-E +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] [ +.B \-U +.I username +] +.I source +.I destination +.SH DESCRIPTION +\fBlpmove\fR moves the specified \fIjob\fR or all jobs from \fIsource\fR to \fIdestination\fR. \fIjob\fR can be the job ID number or the old destination and job ID. +.SH OPTIONS +The \fBlpmove\fR command supports the following options: +.TP 5 +.B \-E +Forces encryption when connecting to the server. +.TP 5 +\fB\-U \fIusername\fR +Specifies an alternate username. +.TP 5 +\fB\-h \fIserver\fR[\fB:\fIport\fR] +Specifies an alternate server. +.SH EXAMPLES +Move job 123 from "oldprinter" to "newprinter": +.nf + + lpmove 123 newprinter + + \fIor\fR + + lpmove oldprinter-123 newprinter + +.fi +Move all jobs from "oldprinter" to "newprinter": +.nf + + lpmove oldprinter newprinter +.fi +.SH SEE ALSO +.BR cancel (1), +.BR lp (1), +.BR lpr (1), +.BR lprm (1), +.br +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/lpoptions.1 b/man/lpoptions.1 new file mode 100644 index 0000000..a34fd01 --- /dev/null +++ b/man/lpoptions.1 @@ -0,0 +1,118 @@ +.\" +.\" lpoptions man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH lpoptions 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +lpoptions \- display or set printer options and defaults +.SH SYNOPSIS +.B lpoptions +[ +.B \-E +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] +\fB\-d \fIdestination\fR[\fB/\fIinstance\fR] +[ +.B \-l +] +.br +.B lpoptions +[ +.B \-E +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] [ +\fB\-p \fIdestination\fR[\fB/\fIinstance\fR] +] +\fB\-o \fIoption\fR[\fB=\fIvalue\fR] ... +.br +.B lpoptions +[ +.B \-E +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] [ +\fB\-p \fIdestination\fR[\fB/\fIinstance\fR] +] +.B \-r +.I option +.br +.B lpoptions +[ +.B \-E +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] +\fB\-x \fIdestination\fR[\fB/\fIinstance\fR] +.SH DESCRIPTION +\fBlpoptions\fR displays or sets printer options and defaults. +If no printer is specified using the \fI\-p\fR option, the default printer is used as described in +.BR lp (1). +.LP +If no \fI\-l\fR, \fI\-o\fR, or \fI\-r\fR options are specified, the current options are reported on the standard output. +.LP +Options set with the \fBlpoptions\fR command are used by the +.BR lp (1) +and +.BR lpr (1) +commands when submitting jobs. +.LP +When run by the root user, \fBlpoptions\fR gets and sets default options and instances for all users in the \fI/etc/cups/lpoptions\fR file. +Otherwise, the per-user defaults are managed in the \fI~/.cups/lpoptions\fR file. +.SH OPTIONS +\fBlpoptions\fR supports the following options: +.TP 5 +.B \-E +Enables encryption when communicating with the CUPS server. +.TP 5 +\fB\-d \fIdestination\fR[\fB/\fIinstance\fR] +Sets the user default printer to \fIdestination\fR. +If \fIinstance\fR is supplied then that particular instance is used. +This option overrides the system default printer for the current user. +.TP 5 +\fB\-h \fIserver\fR[\fB:\fIport\fR] +Uses an alternate server. +.TP 5 +.B \-l +Lists the printer specific options and their current settings. +.TP 5 +\fB\-o \fIoption\fR[\fB=\fIvalue\fR] +Specifies a new option for the named destination. +.TP 5 +\fB\-p \fIdestination\fR[\fB/\fIinstance\fR] +Sets the destination and instance, if specified, for any options that follow. +If the named instance does not exist then it is created. +Destinations can only be created using the +.BR lpadmin (8) +program. +.TP 5 +\fB\-r \fIoption\fR +Removes the specified option from the named destination. +.TP 5 +\fB\-x \fIdestination\fR[\fB/\fIinstance\fR] +Removes the options for the named destination and instance, if specified. +If the named instance does not exist then this does nothing. +Destinations can only be removed using the +.BR lpadmin (8) +command. +.SH FILES +\fI~/.cups/lpoptions\fR - user defaults and instances created by non-root users. +.br +\fI/etc/cups/lpoptions\fR - system-wide defaults and instances created by the root user. +.SH CONFORMING TO +The \fBlpoptions\fR command is unique to CUPS. +.SH SEE ALSO +.BR cancel (1), +.BR lp (1), +.BR lpadmin (8), +.BR lpr (1), +.BR lprm (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/lpq.1 b/man/lpq.1 new file mode 100644 index 0000000..09582d7 --- /dev/null +++ b/man/lpq.1 @@ -0,0 +1,64 @@ +.\" +.\" lpq man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH lpq 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +lpq \- show printer queue status +.SH SYNOPSIS +.B lpq +[ +.B \-E +] [ +.B \-U +.I username +] [ +\fB\-h \fIserver\fR[\fB:\fIport\fR] +] [ +\fB\-P \fIdestination\fR[\fB/\fIinstance\fR] +] [ +.B \-a +] [ +.B \-l +] [ +.BI + interval +] +.SH DESCRIPTION +\fBlpq\fR shows the current print queue status on the named printer. +Jobs queued on the default destination will be shown if no printer or class is specified on the command-line. +.LP +The \fI+interval\fR option allows you to continuously report the jobs in the queue until the queue is empty; the list of jobs is shown once every \fIinterval\fR seconds. +.SH OPTIONS +\fBlpq\fR supports the following options: +.TP 5 +.B \-E +Forces encryption when connecting to the server. +.TP 5 +\fB\-P \fIdestination\fR[\fB/\fIinstance\fR] +Specifies an alternate printer or class name. +.TP 5 +\fB\-U \fIusername\fR +Specifies an alternate username. +.TP 5 +.B \-a +Reports jobs on all printers. +.TP 5 +\fB\-h \fIserver\fR[\fB:\fIport\fR] +Specifies an alternate server. +.TP 5 +.B \-l +Requests a more verbose (long) reporting format. +.SH SEE ALSO +.BR cancel (1), +.BR lp (1), +.BR lpr (1), +.BR lprm (1), +.BR lpstat (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/lpr.1 b/man/lpr.1 new file mode 100644 index 0000000..f367cd9 --- /dev/null +++ b/man/lpr.1 @@ -0,0 +1,181 @@ +.\" +.\" lpr man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH lpr 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +lpr \- print files +.SH SYNOPSIS +.B lpr +[ +.B \-E +] [ +\fB\-H \fIserver\fR[\fB:\fIport\fR] +] [ +.B \-U +.I username +] [ +\fB\-P \fIdestination\fR[\fB/\fIinstance\fR] +] [ +.B \-# +.I num-copies +[ +.B \-h +] [ +.B \-l +] [ +.B \-m +] [ +\fB\-o \fIoption\fR[\fB=\fIvalue\fR] +] [ +.B \-p +] [ +.B \-q +] [ +.B \-r +] [ +.B \-C +.I title +] [ +.B \-J +.I title +] [ +.B \-T +.I title +] [ +.I file(s) +] +.SH DESCRIPTION +\fBlpr\fR submits files for printing. +Files named on the command line are sent to the named printer or the default destination if no destination is specified. +If no files are listed on the command-line, \fBlpr\fR reads the print file from the standard input. +.SS THE DEFAULT DESTINATION +CUPS provides many ways to set the default destination. The \fBLPDEST\fR and \fBPRINTER\fR environment variables are consulted first. +If neither are set, the current default set using the +.BR lpoptions (1) +command is used, followed by the default set using the +.BR lpadmin (8) +command. +.SH OPTIONS +The following options are recognized by \fIlpr\fR: +.TP 5 +.B \-E +Forces encryption when connecting to the server. +.TP 5 +\fB\-H \fIserver\fR[\fB:\fIport\fR] +Specifies an alternate server. +.TP 5 +\fB\-C "\fIname\fB"\fR +.TP 5 +\fB\-J "\fIname\fB"\fR +.TP 5 +\fB\-T "\fIname\fB"\fR +Sets the job name/title. +.TP 5 +\fB\-P \fIdestination\fR[\fB/\fIinstance\fR] +Prints files to the named printer. +.TP 5 +\fB\-U \fIusername\fR +Specifies an alternate username. +.TP 5 +\fB\-# \fIcopies\fR +Sets the number of copies to print. +.TP 5 +.B \-h +Disables banner printing. This option is equivalent to \fI-o job\-sheets=none\fR. +.TP 5 +.B \-l +Specifies that the print file is already formatted for the destination and should be sent without filtering. +This option is equivalent to \fI-o raw\fR. +.TP 5 +.B \-m +Send an email on job completion. +.TP 5 +\fB\-o \fIoption\fR[\fB=\fIvalue\fR] +Sets a job option. +See "COMMON JOB OPTIONS" below. +.TP 5 +.B \-p +Specifies that the print file should be formatted with a shaded header with the date, time, job name, and page number. +This option is equivalent to \fI\-o prettyprint\fR and is only useful when printing text files. +.TP 5 +.B \-q +Hold job for printing. +.TP 5 +.B \-r +Specifies that the named print files should be deleted after submitting them. +.SS COMMON JOB OPTIONS +Aside from the printer-specific options reported by the +.BR lpoptions (1) +command, the following generic options are available: +.TP 5 +\fB\-o job-sheets=\fIname\fR\fR +Prints a cover page (banner) with the document. +The "name" can be "classified", "confidential", "secret", "standard", "topsecret", or "unclassified". +.TP 5 +\fB\-o media=\fIsize\fR +Sets the page size to \fIsize\fR. Most printers support at least the size names "a4", "letter", and "legal". +.TP 5 +\fB\-o number\-up=\fR{\fI2|4|6|9|16\fR} +Prints 2, 4, 6, 9, or 16 document (input) pages on each output page. +.TP 5 +\fB\-o orientation\-requested=4\fR +Prints the job in landscape (rotated 90 degrees counter-clockwise). +.TP 5 +\fB\-o orientation\-requested=5\fR +Prints the job in landscape (rotated 90 degrees clockwise). +.TP 5 +\fB\-o orientation\-requested=6\fR +Prints the job in reverse portrait (rotated 180 degrees). +.TP 5 +\fB\-o print\-quality=3\fR +.TP 5 +\fB\-o print\-quality=4\fR +.TP 5 +\fB\-o print\-quality=5\fR +Specifies the output quality - draft (3), normal (4), or best (5). +.TP 5 +\fB\-o sides=one\-sided\fR +Prints on one side of the paper. +.TP 5 +\fB\-o sides=two\-sided\-long\-edge\fR +Prints on both sides of the paper for portrait output. +.TP 5 +\fB\-o sides=two\-sided\-short\-edge\fR +Prints on both sides of the paper for landscape output. +.SH NOTES +The \fI\-c\fR, \fI\-d\fR, \fI\-f\fR, \fI\-g\fR, \fI\-i\fR, \fI\-n\fR, \fI\-t\fR, \fI\-v\fR, and \fI\-w\fR options are not supported by CUPS and produce a warning message if used. +.SH EXAMPLES +Print two copies of a document to the default printer: +.nf + + lpr -# 2 filename + +.fi +Print a double-sided legal document to a printer called "foo": +.nf + + lpr -P foo -o media=legal -o sides=two-sided-long-edge filename + +.fi +Print a presentation document 2-up to a printer called "foo": +.nf + + lpr -P foo -o number-up=2 filename +.fi +.SH SEE ALSO +.BR cancel (1), +.BR lp (1), +.BR lpadmin (8), +.BR lpoptions (1), +.BR lpq (1), +.BR lprm (1), +.BR lpstat (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/lprm.1 b/man/lprm.1 new file mode 100644 index 0000000..8c2bf9c --- /dev/null +++ b/man/lprm.1 @@ -0,0 +1,82 @@ +.\" +.\" lprm man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH lprm 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +lprm \- cancel print jobs +.SH SYNOPSIS +.B lprm +[ +.B \-E +] [ +.B \-U +.I username +] [ +.B \-h +.IR server [ :port ] +] [ +.B \-P +.IR destination [ /instance ] +] [ +.B \- +] [ +.I job-id(s) +] +.SH DESCRIPTION +.B lprm +cancels print jobs that have been queued for printing. +If no arguments are supplied, the current job on the default destination is canceled. +You can specify one or more job ID numbers to cancel those jobs or use the \fI\-\fR option to cancel all jobs. +.SH OPTIONS +The +.B lprm +command supports the following options: +.TP 5 +.B \-E +Forces encryption when connecting to the server. +.TP 5 +\fB\-P \fIdestination\fR[\fI/instance\fR] +Specifies the destination printer or class. +.TP 5 +\fB\-U \fIusername\fR +Specifies an alternate username. +.TP 5 +\fB\-h \fIserver\fR[\fI:port\fR] +Specifies an alternate server. +.SH CONFORMING TO +The CUPS version of +.B lprm +is compatible with the standard Berkeley command of the same name. +.SH EXAMPLES +Cancel the current job on the default printer: +.nf + + lprm + +.fi +Cancel job 1234: +.nf + + lprm 1234 + +.fi +Cancel all jobs: +.nf + + lprm \- +.fi +.SH SEE ALSO +.BR cancel (1), +.BR lp (1), +.BR lpq (1), +.BR lpr (1), +.BR lpstat (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/lpstat.1 b/man/lpstat.1 new file mode 100644 index 0000000..0b5c00b --- /dev/null +++ b/man/lpstat.1 @@ -0,0 +1,148 @@ +.\" +.\" lpstat man page for CUPS. +.\" +.\" Copyright 2007-2019 by Apple Inc. +.\" Copyright 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more information. +.\" +.TH lpstat 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +lpstat \- print cups status information +.SH SYNOPSIS +.B lpstat +[ +.B \-E +] [ +.B \-H +] [ +.B \-U +.I username +] [ +\fB\-h \fIhostname\fR[\fB:\fIport\fR] +] [ +.B \-l +] [ +.B \-W +.I which-jobs +] [ +.B \-a +[ +.I destination(s) +] ] [ +.B \-c +[ +.I class(es) +] ] [ +.B \-d +] [ +.B \-e +] [ +.B \-o +[ +.I destination(s) +] ] [ +.B \-p +[ +.I printer(s) +] ] [ +.B \-r +] [ +.B \-R +] [ +.B \-s +] [ +.B \-t +] [ +.B \-u +[ +.I user(s) +] ] [ +.B \-v +[ +.I printer(s) +] ] +.SH DESCRIPTION +\fBlpstat\fR displays status information about the current classes, jobs, and printers. +When run with no arguments, \fBlpstat\fR will list active jobs queued by the current user. +.SH OPTIONS +The \fBlpstat\fR command supports the following options: +.TP 5 +.B \-E +Forces encryption when connecting to the server. +.TP 5 +.B \-H +Shows the server hostname and port. +.TP 5 +.B \-R +Shows the ranking of print jobs. +.TP 5 +\fB\-U \fIusername\fR +Specifies an alternate username. +.TP 5 +\fB\-W \fIwhich-jobs\fR +Specifies which jobs to show, "completed" or "not-completed" (the default). +This option \fImust\fR appear before the \fI-o\fR option and/or any printer names, otherwise the default ("not-completed") value will be used in the request to the scheduler. +.TP 5 +\fB\-a \fR[\fIprinter(s)\fR] +Shows the accepting state of printer queues. +If no printers are specified then all printers are listed. +.TP 5 +\fB\-c \fR[\fIclass(es)\fR] +Shows the printer classes and the printers that belong to them. +If no classes are specified then all classes are listed. +.TP 5 +.B \-d +Shows the current default destination. +.TP 5 +.B \-e +Shows all available destinations on the local network. +.TP 5 +\fB\-h \fIserver\fR[\fB:\fIport\fR] +Specifies an alternate server. +.TP 5 +.B \-l +Shows a long listing of printers, classes, or jobs. +.TP 5 +\fB\-o \fR[\fIdestination(s)\fR] +Shows the jobs queued on the specified destinations. +If no destinations are specified all jobs are shown. +.TP 5 +\fB\-p \fR[\fIprinter(s)\fR] +Shows the printers and whether they are enabled for printing. +If no printers are specified then all printers are listed. +.TP 5 +.B \-r +Shows whether the CUPS server is running. +.TP 5 +.B \-s +Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and their associated devices. +This is equivalent to using the \fI\-d\fR, \fI\-c\fR, and \fI\-v\fR options. +.TP 5 +.B \-t +Shows all status information. +This is equivalent to using the \fI\-r\fR, \fI\-d\fR, \fI\-c\fR, \fI\-v\fR, \fI\-a\fR, \fI\-p\fR, and \fI\-o\fR options. +.TP 5 +\fB\-u \fR[\fIuser(s)\fR] +Shows a list of print jobs queued by the specified users. +If no users are specified, lists the jobs queued by the current user. +.TP 5 +\fB\-v \fR[\fIprinter(s)\fR] +Shows the printers and what device they are attached to. +If no printers are specified then all printers are listed. +.SH CONFORMING TO +Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", and "#". +Also, printer and class names are \fInot\fR case-sensitive. +.LP +The \fI\-h\fR, \fI-e\fR, \fI\-E\fR, \fI\-U\fR, and \fI\-W\fR options are unique to CUPS. +.LP +The Solaris \fI\-f\fR, \fI\-P\fR, and \fI\-S\fR options are silently ignored. +.SH SEE ALSO +.BR cancel (1), +.BR lp (1), +.BR lpq (1), +.BR lpr (1), +.BR lprm (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/mailto.conf.5 b/man/mailto.conf.5 new file mode 100644 index 0000000..c879222 --- /dev/null +++ b/man/mailto.conf.5 @@ -0,0 +1,44 @@ +.\" +.\" mailto.conf man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH mailto.conf 5 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +mailto.conf \- configuration file for cups email notifier +.SH DESCRIPTION +The \fBmailto.conf\fR file defines the local mail server and email notification preferences for CUPS. +.LP +Each line in the file can be a configuration directive, a blank line, or a comment. +Configuration directives typically consist of a name and zero or more values separated by whitespace. +The configuration directive name and values are case-insensitive. +Comment lines start with the # character. +.SS DIRECTIVES +.TP 5 +\fBCc \fIcc-address@domain.com\fR +Specifies an additional recipient for all email notifications. +.TP 5 +\fBFrom \fIfrom-address@domain.com\fR +Specifies the sender of email notifications. +.TP 5 +\fBSendmail \fIsendmail command and options\fR +Specifies the sendmail command to use when sending email notifications. +Only one \fISendmail\fR or \fISMTPServer\fR line may be present in the \fBmailto.conf\fR file. +If multiple lines are present, only the last one is used. +.TP 5 +\fBSMTPServer \fIservername\fR +Specifies a SMTP server to send email notifications to. +Only one \fISendmail\fR or \fISMTPServer\fR line may be present in the \fBmailto.conf\fR file. +If multiple lines are present, only the last one is used. +.TP 5 +\fBSubject \fIsubject-prefix\fR +Specifies a prefix string for the subject line of an email notification. +.SH SEE ALSO +.BR cupsd (8), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/mantohtml.c b/man/mantohtml.c new file mode 100644 index 0000000..2a9353a --- /dev/null +++ b/man/mantohtml.c @@ -0,0 +1,1218 @@ +/* + * Man page to HTML conversion program. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 2004-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers. + */ + +#include +#include +#include + + +/* + * Local globals... + */ + +static const char /* Start/end tags for fonts */ + * const start_fonts[] = { "", "", "" }, + * const end_fonts[] = { "", "", "" }; + + +/* + * Local functions... + */ + +static void html_alternate(const char *s, const char *first, const char *second, FILE *fp); +static void html_fputs(const char *s, int *font, FILE *fp); +static void html_putc(int ch, FILE *fp); +static void strmove(char *d, const char *s); + + +/* + * 'main()' - Convert a man page to HTML. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + FILE *infile, /* Input file */ + *outfile; /* Output file */ + char line[1024], /* Line from file */ + *lineptr, /* Pointer into line */ + anchor[1024], /* Anchor */ + name[1024], /* Man page name */ + ddpost[256]; /* Tagged list post markup */ + int section = -1, /* Man page section */ + pre = 0, /* Preformatted */ + font = 0, /* Current font */ + linenum = 0; /* Current line number */ + float list_indent = 0.0f, /* Current list indentation */ + nested_indent = 0.0f; /* Nested list indentation, if any */ + const char *list = NULL, /* Current list, if any */ + *nested = NULL; /* Nested list, if any */ + const char *post = NULL; /* Text to add after the current line */ + + + /* + * Check arguments... + */ + + if (argc > 3) + { + fputs("Usage: mantohtml [filename.man [filename.html]]\n", stderr); + return (1); + } + + /* + * Open files as needed... + */ + + if (argc > 1) + { + if ((infile = fopen(argv[1], "r")) == NULL) + { + perror(argv[1]); + return (1); + } + } + else + infile = stdin; + + if (argc > 2) + { + if ((outfile = fopen(argv[2], "w")) == NULL) + { + perror(argv[2]); + fclose(infile); + return (1); + } + } + else + outfile = stdout; + + /* + * Read from input and write the output... + */ + + fputs("\n" + "\n" + "\n" + "\n" + "\t\n", outfile); + + anchor[0] = '\0'; + + while (fgets(line, sizeof(line), infile)) + { + size_t linelen = strlen(line); /* Length of line */ + + if (linelen > 0 && line[linelen - 1] == '\n') + line[linelen - 1] = '\0'; + + linenum ++; + + if (line[0] == '.') + { + /* + * Strip leading whitespace... + */ + + while (line[1] == ' ' || line[1] == '\t') + strmove(line + 1, line + 2); + + /* + * Process man page commands... + */ + + if (!strncmp(line, ".TH ", 4) && section < 0) + { + /* + * Grab man page title... + */ + + sscanf(line + 4, "%s%d", name, §ion); + + fprintf(outfile, + "\t%s(%d)\n" + "\n" + "\n" + "

    %s(%d)

    \n" + "%s", + name, section, name, section, start_fonts[font]); + } + else if (section < 0) + continue; + else if (!strncmp(line, ".SH ", 4) || !strncmp(line, ".SS ", 4)) + { + /* + * Grab heading... + */ + + int first = 1; + + fputs(end_fonts[font], outfile); + font = 0; + + if (list) + { + fprintf(outfile, "\n", list); + list = NULL; + } + + if (line[2] == 'H') + fputs("

    ", outfile); + + for (lineptr = line + 4; *lineptr; lineptr ++) + { + if (*lineptr == '\"') + continue; + else if (*lineptr == ' ') + { + html_putc(' ', outfile); + + first = 1; + } + else + { + if (first) + html_putc(*lineptr, outfile); + else + html_putc(tolower(*lineptr & 255), outfile); + + first = 0; + } + } + + if (line[2] == 'H') + fputs("

    \n", outfile); + else + fputs("

\n", outfile); + } + else if (!strncmp(line, ".B ", 3)) + { + /* + * Grab bold text... + */ + + fputs(end_fonts[font], outfile); + font = 0; + + if (anchor[0]) + fprintf(outfile, "", anchor); + + html_alternate(line + 3, "b", "b", outfile); + + if (anchor[0]) + { + fputs("", outfile); + anchor[0] = '\0'; + } + + if (post) + { + fputs(post, outfile); + post = NULL; + } + } + else if (!strncmp(line, ".I ", 3)) + { + /* + * Grab italic text... + */ + + fputs(end_fonts[font], outfile); + font = 0; + + if (anchor[0]) + fprintf(outfile, "", anchor); + + html_alternate(line + 3, "i", "i", outfile); + + if (anchor[0]) + { + fputs("", outfile); + anchor[0] = '\0'; + } + + if (post) + { + fputs(post, outfile); + post = NULL; + } + } + else if (!strncmp(line, ".BI ", 4)) + { + /* + * Alternating bold and italic text... + */ + + fputs(end_fonts[font], outfile); + font = 0; + + if (anchor[0]) + fprintf(outfile, "", anchor); + + html_alternate(line + 4, "b", "i", outfile); + + if (anchor[0]) + { + fputs("", outfile); + anchor[0] = '\0'; + } + + if (post) + { + fputs(post, outfile); + post = NULL; + } + } + else if (!strncmp(line, ".BR ", 4)) + { + /* + * Alternating bold and roman (plain) text... + */ + + fputs(end_fonts[font], outfile); + font = 0; + + if (anchor[0]) + fprintf(outfile, "", anchor); + + html_alternate(line + 4, "b", NULL, outfile); + + if (anchor[0]) + { + fputs("", outfile); + anchor[0] = '\0'; + } + + if (post) + { + fputs(post, outfile); + post = NULL; + } + } + else if (!strncmp(line, ".IB ", 4)) + { + /* + * Alternating italic and bold text... + */ + + fputs(end_fonts[font], outfile); + font = 0; + + if (anchor[0]) + fprintf(outfile, "", anchor); + + html_alternate(line + 4, "i", "b", outfile); + + if (anchor[0]) + { + fputs("", outfile); + anchor[0] = '\0'; + } + + if (post) + { + fputs(post, outfile); + post = NULL; + } + } + else if (!strncmp(line, ".IR ", 4)) + { + /* + * Alternating italic and roman (plain) text... + */ + + fputs(end_fonts[font], outfile); + font = 0; + + if (anchor[0]) + fprintf(outfile, "", anchor); + + html_alternate(line + 4, "i", NULL, outfile); + + if (anchor[0]) + { + fputs("", outfile); + anchor[0] = '\0'; + } + + if (post) + { + fputs(post, outfile); + post = NULL; + } + } + else if (!strncmp(line, ".RB ", 4)) + { + /* + * Alternating roman (plain) and bold text... + */ + + fputs(end_fonts[font], outfile); + font = 0; + + if (anchor[0]) + fprintf(outfile, "", anchor); + + html_alternate(line + 4, NULL, "b", outfile); + + if (anchor[0]) + { + fputs("", outfile); + anchor[0] = '\0'; + } + + if (post) + { + fputs(post, outfile); + post = NULL; + } + } + else if (!strncmp(line, ".RI ", 4)) + { + /* + * Alternating roman (plain) and italic text... + */ + + fputs(end_fonts[font], outfile); + font = 0; + + if (anchor[0]) + fprintf(outfile, "", anchor); + + html_alternate(line + 4, NULL, "i", outfile); + + if (anchor[0]) + { + fputs("", outfile); + anchor[0] = '\0'; + } + + if (post) + { + fputs(post, outfile); + post = NULL; + } + } + else if (!strncmp(line, ".SB ", 4)) + { + /* + * Alternating small and bold text... + */ + + fputs(end_fonts[font], outfile); + font = 0; + + if (anchor[0]) + fprintf(outfile, "", anchor); + + html_alternate(line + 4, "small", "b", outfile); + + if (anchor[0]) + { + fputs("", outfile); + anchor[0] = '\0'; + } + + if (post) + { + fputs(post, outfile); + post = NULL; + } + } + else if (!strncmp(line, ".SM ", 4)) + { + /* + * Small text... + */ + + fputs(end_fonts[font], outfile); + font = 0; + + if (anchor[0]) + fprintf(outfile, "", anchor); + + html_alternate(line + 4, "small", "small", outfile); + + if (anchor[0]) + { + fputs("", outfile); + anchor[0] = '\0'; + } + + if (post) + { + fputs(post, outfile); + post = NULL; + } + } + else if (!strcmp(line, ".LP") || !strcmp(line, ".PP") || !strcmp(line, ".P")) + { + /* + * New paragraph... + */ + + fputs(end_fonts[font], outfile); + font = 0; + + if (list) + { + fprintf(outfile, "\n", list); + list = NULL; + } + + fputs("

", outfile); + + if (anchor[0]) + { + fprintf(outfile, "", anchor); + anchor[0] = '\0'; + } + } + else if (!strcmp(line, ".RS") || !strncmp(line, ".RS ", 4)) + { + /* + * Indent... + */ + + float amount = 3.0; /* Indentation */ + + if (line[3]) + amount = (float)atof(line + 4); + + fputs(end_fonts[font], outfile); + font = 0; + + if (list) + { + nested = list; + list = NULL; + nested_indent = list_indent; + list_indent = 0.0f; + } + + fprintf(outfile, "

\n", amount - nested_indent); + } + else if (!strcmp(line, ".RE")) + { + /* + * Unindent... + */ + + fputs(end_fonts[font], outfile); + font = 0; + + fputs("
\n", outfile); + + if (nested) + { + list = nested; + nested = NULL; + + list_indent = nested_indent; + nested_indent = 0.0f; + } + } + else if (!strcmp(line, ".HP") || !strncmp(line, ".HP ", 4)) + { + /* + * Hanging paragraph... + * + * .HP i + */ + + float amount = 3.0; /* Indentation */ + + if (line[3]) + amount = (float)atof(line + 4); + + fputs(end_fonts[font], outfile); + font = 0; + + if (list) + { + fprintf(outfile, "\n", list); + list = NULL; + } + + fprintf(outfile, "

", amount, -amount); + + if (anchor[0]) + { + fprintf(outfile, "", anchor); + anchor[0] = '\0'; + } + + if (line[1] == 'T') + post = "
\n"; + } + else if (!strcmp(line, ".TP") || !strncmp(line, ".TP ", 4)) + { + /* + * Tagged list... + * + * .TP i + */ + + float amount = 3.0; /* Indentation */ + + if (line[3]) + amount = (float)atof(line + 4); + + fputs(end_fonts[font], outfile); + font = 0; + + if (list && strcmp(list, "dl")) + { + fprintf(outfile, "\n", list); + list = NULL; + } + + if (!list) + { + fputs("

\n", outfile); + list = "dl"; + list_indent = amount; + } + + fputs("
", outfile); + snprintf(ddpost, sizeof(ddpost), "
", amount); + post = ddpost; + + if (anchor[0]) + { + fprintf(outfile, "", anchor); + anchor[0] = '\0'; + } + } + else if (!strncmp(line, ".IP ", 4)) + { + /* + * Indented paragraph... + * + * .IP x i + */ + + float amount = 3.0; /* Indentation */ + const char *newlist = NULL; /* New list style */ + const char *newtype = NULL; /* New list numbering type */ + + fputs(end_fonts[font], outfile); + font = 0; + + lineptr = line + 4; + while (isspace(*lineptr & 255)) + lineptr ++; + + if (!strncmp(lineptr, "\\(bu", 4) || !strncmp(lineptr, "\\(em", 4)) + { + /* + * Bullet list... + */ + + newlist = "ul"; + } + else if (isdigit(*lineptr & 255)) + { + /* + * Numbered list... + */ + + newlist = "ol"; + } + else if (islower(*lineptr & 255)) + { + /* + * Lowercase alpha list... + */ + + newlist = "ol"; + newtype = "a"; + } + else if (isupper(*lineptr & 255)) + { + /* + * Lowercase alpha list... + */ + + newlist = "ol"; + newtype = "A"; + } + + while (!isspace(*lineptr & 255)) + lineptr ++; + while (isspace(*lineptr & 255)) + lineptr ++; + + if (isdigit(*lineptr & 255)) + amount = (float)atof(lineptr); + + if (newlist && list && strcmp(newlist, list)) + { + fprintf(outfile, "\n", list); + list = NULL; + } + + if (newlist && !list) + { + if (newtype) + fprintf(outfile, "<%s type=\"%s\">\n", newlist, newtype); + else + fprintf(outfile, "<%s>\n", newlist); + + list = newlist; + } + + if (list) + fprintf(outfile, "
  • ", amount); + else + fprintf(outfile, "

    ", amount); + + if (anchor[0]) + { + fprintf(outfile, "", anchor); + anchor[0] = '\0'; + } + } + else if (!strncmp(line, ".br", 3)) + { + /* + * Grab line break... + */ + + fputs("
    \n", outfile); + } + else if (!strncmp(line, ".de ", 4)) + { + /* + * Define macro - ignore... + */ + + while (fgets(line, sizeof(line), infile)) + { + linenum ++; + + if (!strncmp(line, "..", 2)) + break; + } + } + else if (!strncmp(line, ".ds ", 4) || !strncmp(line, ".rm ", 4) || + !strncmp(line, ".tr ", 4) || !strncmp(line, ".hy ", 4) || + !strncmp(line, ".IX ", 4) || !strncmp(line, ".PD", 3) || + !strncmp(line, ".Sp", 3)) + { + /* + * Ignore unused commands... + */ + } + else if (!strncmp(line, ".Vb", 3) || !strncmp(line, ".nf", 3) || !strncmp(line, ".EX", 3)) + { + /* + * Start preformatted... + */ + + fputs(end_fonts[font], outfile); + font = 0; + +// if (list) +// { +// fprintf(outfile, "\n", list); +// list = NULL; +// } + + pre = 1; + fputs("

    \n", outfile);
    +      }
    +      else if (!strncmp(line, ".Ve", 3) || !strncmp(line, ".fi", 3) || !strncmp(line, ".EE", 3))
    +      {
    +       /*
    +        * End preformatted...
    +	*/
    +
    +	fputs(end_fonts[font], outfile);
    +	font = 0;
    +
    +        if (pre)
    +	{
    +          pre = 0;
    +	  fputs("
    \n", outfile); + } + } + else if (!strncmp(line, ".\\}", 3)) + { + /* + * Ignore close block... + */ + } + else if (!strncmp(line, ".ie", 3) || !strncmp(line, ".if", 3) || + !strncmp(line, ".el", 3)) + { + /* + * If/else - ignore... + */ + + if (strchr(line, '{') != NULL) + { + /* + * Skip whole block... + */ + + while (fgets(line, sizeof(line), infile)) + { + linenum ++; + + if (strchr(line, '}') != NULL) + break; + } + } + } +#if 0 + else if (!strncmp(line, ". ", 4)) + { + /* + * Grab ... + */ + } +#endif /* 0 */ + else if (!strncmp(line, ".\\\"#", 4)) + { + /* + * Anchor for HTML output... + */ + + strlcpy(anchor, line + 4, sizeof(anchor)); + } + else if (strncmp(line, ".\\\"", 3)) + { + /* + * Unknown... + */ + + if ((lineptr = strchr(line, ' ')) != NULL) + *lineptr = '\0'; + else if ((lineptr = strchr(line, '\n')) != NULL) + *lineptr = '\0'; + + fprintf(stderr, "mantohtml: Unknown man page command \'%s\' on line %d.\n", line, linenum); + } + + /* + * Skip continuation lines... + */ + + lineptr = line + strlen(line) - 1; + if (lineptr >= line && *lineptr == '\\') + { + while (fgets(line, sizeof(line), infile)) + { + linenum ++; + lineptr = line + strlen(line) - 2; + + if (lineptr < line || *lineptr != '\\') + break; + } + } + } + else + { + /* + * Process man page text... + */ + + html_fputs(line, &font, outfile); + putc('\n', outfile); + + if (post) + { + fputs(post, outfile); + post = NULL; + } + } + } + + fprintf(outfile, "%s\n", end_fonts[font]); + font = 0; + + if (list) + { + fprintf(outfile, "\n", list); + list = NULL; + } + + fputs("\n" + "\n", outfile); + + /* + * Close files... + */ + + if (infile != stdin) + fclose(infile); + + if (outfile != stdout) + fclose(outfile); + + /* + * Return with no errors... + */ + + return (0); +} + + +/* + * 'html_alternate()' - Alternate words between two styles of text. + */ + +static void +html_alternate(const char *s, /* I - String */ + const char *first, /* I - First style or NULL */ + const char *second, /* I - Second style of NULL */ + FILE *fp) /* I - File */ +{ + int i = 0; /* Which style */ + int quote = 0; /* Saw quote? */ + int dolinks, /* Do hyperlinks to other man pages? */ + link = 0; /* Doing a link now? */ + + + /* + * Skip leading whitespace... + */ + + while (isspace(*s & 255)) + s ++; + + dolinks = first && !strcmp(first, "b") && !second; + + while (*s) + { + if (!i && dolinks) + { + /* + * See if we need to make a link to a man page... + */ + + const char *end; /* End of current word */ + const char *next; /* Start of next word */ + + for (end = s; *end && !isspace(*end & 255); end ++); + for (next = end; isspace(*next & 255); next ++); + + if (isalnum(*s & 255) && *next == '(') + { + /* + * See if the man file is available locally... + */ + + char name[1024], /* Name */ + manfile[1024], /* Man page filename */ + manurl[1024]; /* Man page URL */ + + strlcpy(name, s, sizeof(name)); + if ((size_t)(end - s) < sizeof(name)) + name[end - s] = '\0'; + + snprintf(manfile, sizeof(manfile), "%s.man", name); + snprintf(manurl, sizeof(manurl), "man-%s.html?TOPIC=Man+Pages", name); + + if (!access(manfile, 0)) + { + /* + * Local man page, do a link... + */ + + fprintf(fp, "", manurl); + link = 1; + } + } + } + + if (!i && first) + fprintf(fp, "<%s>", first); + else if (i && second) + fprintf(fp, "<%s>", second); + + while ((!isspace(*s & 255) || quote) && *s) + { + if (*s == '\"') + quote = !quote; + + if (*s == '\\' && s[1]) + { + s ++; + html_putc(*s++, fp); + } + else + html_putc(*s++, fp); + } + + if (!i && first) + fprintf(fp, "", first); + else if (i && second) + fprintf(fp, "", second); + + if (i && link) + { + fputs("", fp); + link = 0; + } + + i = 1 - i; + + /* + * Skip trailing whitespace... + */ + + while (isspace(*s & 255)) + s ++; + } + + putc('\n', fp); +} + +/* + * 'html_fputs()' - Output a string, quoting as needed HTML entities. + */ + +static void +html_fputs(const char *s, /* I - String */ + int *font, /* IO - Font */ + FILE *fp) /* I - File */ +{ + while (*s) + { + if (*s == '\\') + { + s ++; + if (!*s) + break; + + if (*s == 'f') + { + int newfont; /* New font */ + + s ++; + if (!*s) + break; + + if (!font) + { + s ++; + continue; + } + + switch (*s++) + { + case 'R' : + case 'P' : + newfont = 0; + break; + + case 'b' : + case 'B' : + newfont = 1; + break; + + case 'i' : + case 'I' : + newfont = 2; + break; + + default : + fprintf(stderr, "mantohtml: Unknown font \"\\f%c\" ignored.\n", s[-1]); + newfont = *font; + break; + } + + if (newfont != *font) + { + fputs(end_fonts[*font], fp); + *font = newfont; + fputs(start_fonts[*font], fp); + } + } + else if (*s == '*') + { + /* + * Substitute macro... + */ + + s ++; + if (!*s) + break; + + switch (*s++) + { + case 'R' : + fputs("®", fp); + break; + + case '(' : + if (!strncmp(s, "lq", 2)) + fputs("“", fp); + else if (!strncmp(s, "rq", 2)) + fputs("”", fp); + else if (!strncmp(s, "Tm", 2)) + fputs("TM", fp); + else + fprintf(stderr, "mantohtml: Unknown macro \"\\*(%2s\" ignored.\n", s); + + if (*s) + s ++; + if (*s) + s ++; + break; + + default : + fprintf(stderr, "mantohtml: Unknown macro \"\\*%c\" ignored.\n", s[-1]); + break; + } + } + else if (*s == '(') + { + if (!strncmp(s, "(em", 3)) + { + fputs("—", fp); + s += 3; + } + else if (!strncmp(s, "(en", 3)) + { + fputs("–", fp); + s += 3; + } + else + { + putc(*s, fp); + s ++; + } + } + else if (*s == '[') + { + /* + * Substitute escaped character... + */ + + s ++; + if (!strncmp(s, "co]", 3)) + fputs("©", fp); + else if (!strncmp(s, "de]", 3)) + fputs("°", fp); + else if (!strncmp(s, "rg]", 3)) + fputs("®", fp); + else if (!strncmp(s, "tm]", 3)) + fputs("TM", fp); + + if (*s) + s ++; + if (*s) + s ++; + if (*s) + s ++; + } + else if (isdigit(s[0]) && isdigit(s[1]) && + isdigit(s[2])) + { + fprintf(fp, "&#%d;", ((s[0] - '0') * 8 + s[1] - '0') * 8 + s[2] - '0'); + s += 3; + } + else + { + if (*s != '\\' && *s != '\"' && *s != '\'' && *s != '-') + { + fprintf(stderr, "mantohtml: Unrecognized escape \"\\%c\" ignored.\n", *s); + html_putc('\\', fp); + } + + html_putc(*s++, fp); + } + } + else if (!strncmp(s, "http://", 7) || !strncmp(s, "https://", 8) || !strncmp(s, "ftp://", 6)) + { + /* + * Embed URL... + */ + + char temp[1024]; /* Temporary string */ + const char *end = s + 6; /* End of URL */ + + while (*end && !isspace(*end & 255)) + end ++; + + if (end[-1] == ',' || end[-1] == '.' || end[-1] == ')') + end --; + + strlcpy(temp, s, sizeof(temp)); + if ((size_t)(end -s) < sizeof(temp)) + temp[end - s] = '\0'; + + fprintf(fp, "%s", temp, temp); + s = end; + } + else + html_putc(*s++ & 255, fp); + } +} + + +/* + * 'html_putc()' - Put a single character, using entities as needed. + */ + +static void +html_putc(int ch, /* I - Character */ + FILE *fp) /* I - File */ +{ + if (ch == '&') + fputs("&", fp); + else if (ch == '<') + fputs("<", fp); + else + putc(ch, fp); +} + + +/* + * 'strmove()' - Move characters within a string. + */ + +static void +strmove(char *d, /* I - Destination */ + const char *s) /* I - Source */ +{ + while (*s) + *d++ = *s++; + + *d = '\0'; +} diff --git a/man/mime.convs.5 b/man/mime.convs.5 new file mode 100644 index 0000000..25a6f76 --- /dev/null +++ b/man/mime.convs.5 @@ -0,0 +1,62 @@ +.\" +.\" mime.convs man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH mime.convs 5 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +mime.convs \- mime type conversion file for cups (deprecated) +.SH DESCRIPTION +The \fBmime.convs\fR file defines the filters that are available for converting files from one format to another. +The standard filters support text, PDF, PostScript, and many types of image files. +.LP +Additional filters are specified in files with the extension \fI.convs\fR in the CUPS configuration directory. +.LP +Each line in the \fBmime.convs\fR file is a comment, blank, or filter +line. +Comment lines start with the # character. +Filter lines specify the source and destination MIME types along with a relative cost associated with the filter and the filter to run: +.nf + + source/type destination/type cost filter + +.fi +The \fIsource/type\fR field specifies the source MIME media type that is consumed by the filter. +.LP +The \fIdestination/type\fR field specifies the destination MIME media type that is produced by the filter. +.LP +The \fIcost\fR field specifies the relative cost for running the filter. +A value of 100 means that the filter uses a large amount of resources while a value of 0 means that the filter uses very few resources. +.LP +The \fIfilter\fR field specifies the filter program filename. +Filenames are relative to the CUPS filter directory. +.SH FILES +\fI/etc/cups\fR - Typical CUPS configuration directory. +.br +\fI/usr/lib/cups/filter\fR - Typical CUPS filter directory. +.br +\fI/usr/libexec/cups/filter\fR - CUPS filter directory on macOS. +.SH EXAMPLES +Define a filter that converts PostScript documents to CUPS Raster format: +.nf + + application/vnd.cups\-postscript application/vnd.cups\-raster 50 pstoraster + +.fi +.SH NOTES +CUPS filters are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.SH SEE ALSO +.BR cups-files.conf (5), +.BR cupsd.conf (5), +.BR cupsd (8), +.BR cupsfilter (8), +.BR mime.types (5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/mime.types.5 b/man/mime.types.5 new file mode 100644 index 0000000..7e83de1 --- /dev/null +++ b/man/mime.types.5 @@ -0,0 +1,108 @@ +.\" +.\" mime.types man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH mime.types 5 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +mime.types \- mime type description file for cups +.SH DESCRIPTION +The \fBmime.types\fR file defines the recognized file types. +.LP +Additional file types are specified in files with the extension \fI.types\fR in the CUPS configuration directory. +.LP +Each line in the \fBmime.types\fR file is a comment, blank, or rule line. +Comment lines start with the # character. +Rule lines start with the MIME media type and are optionally followed by a series of file recognition rules: +.nf + + \fImime/type \fR[ \fIrule \fR... \fIrule \fR] + +.fi +Rules can be extended over multiple lines using the backslash character (\\): +.nf + + \fImime/type \fR[ \fIreally-really-really-long-rule \fR... \fB\\ + \fIrule \fR] + +.fi +MIME media types specified by the \fImime/type\fR field are case-insensitive and are sorted in ascending alphanumeric order for the purposes of matching. +See the "TYPE MATCHING AND PRIORITY" section for more information. +.LP +The rules may be grouped using parenthesis, joined using "+" for a logical AND, joined using "," or whitespace for a logical OR, and negated using "!". +.SS RULES +Rules take two forms - a filename extension by itself and functions with test +values inside parenthesis. +The following functions are available: +.TP 5 +\fBmatch("\fIpattern\fB")\fR +True if the filename matches the given shell wildcard \fIpattern\fR. +.TP 5 +\fBascii(\fIoffset\fB,\fIlength\fB)\fR +True if the \fIlength\fR bytes starting at \fIoffset\fR are valid printable ASCII (CR, NL, TAB, BS, 32-126). +.TP 5 +\fBprintable(\fIoffset\fB,\fIlength\fB)\fR +True if the \fIlength\fR bytes starting at \fIoffset\fR are printable 8-bit chars (CR, NL, TAB, BS, 32-126, 128-254). +.TP 5 +\fBpriority(\fInumber\fB)\fR +Specifies the relative priority of this MIME media type. +The default priority is 100. +Larger values have higher priority while smaller values have lower priority. +.TP 5 +\fBstring(\fIoffset\fB,"\fIstring\fB")\fR +True if the bytes starting at \fIoffset\fR are identical to \fIstring\fR. +.TP 5 +\fBistring(\fIoffset\fB,"\fIstring\fB")\fR +True if the bytes starting at \fIoffset\fR match \fIstring\fR without respect to case. +.TP 5 +\fBchar(\fIoffset\fB,\fIvalue\fB)\fR +True if the byte at \fIoffset\fR is identical to \fIvalue\fR. +.TP 5 +\fBshort(\fIoffset\fB,\fIvalue\fB)\fR +True if the 16-bit big-endian integer at \fIoffset\fR is identical to \fIvalue\fR. +.TP 5 +\fBint(\fIoffset\fB,\fIvalue\fB)\fR +True if the 32-bit big-endian integer at \fIoffset\fR is identical to \fIvalue\fR. +.TP 5 +\fBlocale("\fIstring\fB")\fR +True if current locale matches \fIstring\fR. +.TP 5 +\fBcontains(\fIoffset\fB,\fIrange\fB,"\fIstring\fB")\fR +True if the bytes starting at \fIoffset\fR for \fIrange\fR bytes contains \fIstring\fR. +.SS STRING CONSTANTS +String constants can be specified inside quotes ("") for strings containing whitespace and angle brackets (<>) for hexadecimal strings. +.SS TYPE MATCHING AND PRIORITY +When CUPS needs to determine the MIME media type of a given file, it checks every MIME media type defined in the \fI.types\fR files. +When two or more types match a given file, the type chosen will depend on the type name and priority, with higher-priority types being used over lower-priority ones. +If the types have the same priority, the type names are sorted alphanumerically in ascending order and the first type is chosen. +.LP +For example, if two types "text/bar" and "text/foo" are defined as matching the +extension "doc", normally the type "text/bar" will be chosen since its name is +alphanumerically smaller than "text/foo". +However, if "text/foo" also defines a higher priority than "text/bar", "text/foo" will be chosen instead. +.SH FILES +\fI/etc/cups\fR - Typical CUPS configuration directory. +.SH EXAMPLES +Define two MIME media types for raster data, with one being a subset with higher priority: +.nf + + application/vnd.cups\-raster string(0,"RaSt") string(0,"tSaR") \\ + string(0,"RaS2") string(0,"2SaR") \\ + string(0,"RaS3") string(0,"3SaR") + + image/pwg-raster string(0,"RaS2") + \\ + string(4,PwgRaster<00>) priority(150) +.fi +.SH SEE ALSO +.BR cups-files.conf (5), +.BR cupsd.conf (5), +.BR cupsd (8), +.BR cupsfilter (8), +.BR mime.convs (5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/notifier.7 b/man/notifier.7 new file mode 100644 index 0000000..1ab226c --- /dev/null +++ b/man/notifier.7 @@ -0,0 +1,36 @@ +.\" +.\" notifier man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2007 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH notifier 7 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +notifier \- cups notification interface +.SH SYNOPSIS +.B notifier +.I recipient +[ +.I user-data +] +.SH DESCRIPTION +The CUPS notifier interface provides a standard method for adding support for new event notification methods to CUPS. +Each notifier delivers one or more IPP events from the standard input to the specified recipient. +.LP +Notifiers \fBMUST\fR read IPP messages from the standard input using the +.BR ippNew () +and +.BR ippReadFile () +functions and exit on error. +Notifiers are encouraged to exit after a suitable period of inactivity, however they may exit after reading the first message or stay running until an error is seen. +Notifiers inherit the environment and can use the logging mechanism documented in +.BR filter (7). +.SH SEE ALSO +.BR cupsd (8), +.BR filter (7), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/ppdc.1 b/man/ppdc.1 new file mode 100644 index 0000000..44e9d24 --- /dev/null +++ b/man/ppdc.1 @@ -0,0 +1,102 @@ +.\" +.\" ppdc man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2007 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH ppdc 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +ppdc \- cups ppd compiler (deprecated) +.SH SYNOPSIS +.B ppdc +[ +\fB\-D \fIname\fR[\fB=\fIvalue\fR] +] [ +.B \-I +.I include-directory +] [ +.B \-c +.I message-catalog +] [ +.B \-d +.I output-directory +] [ +.B \-l +.I language(s) +] [ +.B \-m +] [ +.B \-t +] [ +.B \-v +] [ +.B \-z +] [ +.B \-\-cr +] [ +.B \-\-crlf +] [ +.B \-\-lf +] +.I source-file +.SH DESCRIPTION +\fBppdc\fR compiles PPDC source files into one or more PPD files. +\fBThis program is deprecated and will be removed in a future release of CUPS.\fR +.SH OPTIONS +\fBppdc\fR supports the following options: +.TP 5 +\fB\-D \fIname\fR[\fB=\fIvalue\fR] +Sets the named variable for use in the source file. +It is equivalent to using the \fI#define\fR directive in the source file. +.TP 5 +\fB\-I \fIinclude-directory\fR +Specifies an alternate include directory. +Multiple \fI-I\fR options can be supplied to add additional directories. +.TP 5 +\fB\-c \fImessage-catalog\fR +Specifies a single message catalog file in GNU gettext (filename.po) or Apple strings (filename.strings) format to be used for localization. +.TP 5 +\fB\-d \fIoutput-directory\fR +Specifies the output directory for PPD files. +The default output directory is "ppd". +.TP 5 +\fB\-l \fIlanguage(s)\fR +Specifies one or more languages to use when localizing the PPD file(s). +The default language is "en" (English). +Separate multiple languages with commas, for example "de_DE,en_UK,es_ES,es_MX,es_US,fr_CA,fr_FR,it_IT" will create PPD files with German, UK English, Spanish (Spain, Mexico, and US), French (France and Canada), and Italian languages in each file. +.TP 5 +.B \-m +Specifies that the output filename should be based on the ModelName value instead of FileName or PCFilenName. +.TP 5 +.B \-t +Specifies that PPD files should be tested instead of generated. +.TP 5 +.B \-v +Specifies verbose output, basically a running status of which files are being loaded or written. +.B \-z +Generates compressed PPD files (filename.ppd.gz). +The default is to generate uncompressed PPD files. +.TP 5 +\fB\-\-cr\fR +.TP 5 +\fB\-\-crlf\fR +.TP 5 +\fB\-\-lf\fR +Specifies the line ending to use - carriage return, carriage return and line feed, or line feed alone. +The default is to use the line feed character alone. +.SH NOTES +PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.SH SEE ALSO +.BR ppdhtml (1), +.BR ppdi (1), +.BR ppdmerge (1), +.BR ppdpo (1), +.BR ppdcfile (5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/ppdcfile.5 b/man/ppdcfile.5 new file mode 100644 index 0000000..9165ee6 --- /dev/null +++ b/man/ppdcfile.5 @@ -0,0 +1,161 @@ +.\" +.\" ppdcfile man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2007 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH ppdcfile 5 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +ppdcfile \- cups ppd compiler source file format (deprecated) +.SH DESCRIPTION +The CUPS PPD compiler reads meta files that contain descriptions of one or more PPD files to be generated by +.BR ppdc (1). +This man page provides a quick reference to the supported keywords and should be used in conjunction with the online help for CUPS. +.PP +The source file format is plain ASCII text that can be edited using your favorite text editor. Comments are supported using the C (/* ... */) and C++ (// ...) comment mechanisms. +.PP +Printer driver information can be grouped and shared using curly braces ({ ... }); PPD files are written when a close brace or end-of-file is seen and a PCFileName directive has been defined. +.PP +Directives may be placed anywhere on a line and are followed by one or more values. The following is a list of the available directives and the values they accept: +.TP 5 +\fB#define \fIname value\fR +.TP 5 +\fB#elif \fR{\fIname \fR| \fIvalue\fR} +.TP 5 +\fB#else\fR +.TP 5 +\fB#endif\fR +.TP 5 +\fB#font \fIname encoding "version" charset status\fR +.TP 5 +\fB#if \fR{\fIname \fR| \fIvalue\fR} +.TP 5 +\fB#include <\fIfilename\fB>\fR +.TP 5 +\fB#include "\fIfilename\fB"\fR +.TP 5 +\fB#media \fIname width length\fR +.TP 5 +\fB#media "\fIname\fB/\fItext\fB" \fIwidth length\fR +.TP 5 +\fB#po \fIlocale \fB"\fIfilename\fB"\fR +.TP 5 +\fBAttribute \fIname \fB"" \fIvalue\fR +.TP 5 +\fBAttribute \fIname keyword value\fR +.TP 5 +\fBAttribute \fIname \fB"\fIkeyword\fB/\fItext\fB" \fIvalue\fR +.TP 5 +\fBChoice \fIname \fB"\fIcode\fB"\fR +.TP 5 +\fBChoice \fB"\fIname\fB/\fItext\fB" "\fIcode\fB"\fR +.TP 5 +\fBColorDevice \fIboolean-value\fR +.TP 5 +\fBColorModel \fIname colorspace colororder compression\fR +.TP 5 +\fBColorModel "\fIname\fB/\fItext\fB" \fIcolorspace colororder compression\fR +.TP 5 +\fBColorProfile \fIresolution\fB/\fImediatype gamma density matrix\fR +.TP 5 +\fBCopyright "\fItext\fR" +.TP 5 +\fBCustomMedia \fIname width length left bottom right top \fB"\fIsize-code\fB" "\fIregion-code\fB"\fR +.TP 5 +\fBCustomMedia "\fIname\fB/\fItext\fB" \fIwidth length left bottom right top \fB"\fIsize-code\fB" "\fIregion-code\fB"\fR +.TP 5 +\fBCutter \fIboolean-value\fR +.TP 5 +\fBDarkness \fItemperature name\fR +.TP 5 +\fBDarkness \fItemperature \fB"\fIname\fB/\fItext\fB"\fR +.TP 5 +\fBDriverType \fItype\fR +.TP 5 +\fBDuplex \fItype\fR +.TP 5 +\fBFilter \fImime-type cost program\fR +.TP 5 +\fBFinishing \fIname\fR +.TP 5 +\fBFinishing "\fIname\fB/\fItext\fB"\fR +.TP 5 +\fBFont *\fR +.TP 5 +\fBFont \fIname encoding \fB"\fIversion\fB" \fIcharset status\fR +.TP 5 +\fBGroup \fIname\fR +.TP 5 +\fBGroup "\fIname\fB/\fItext\fB"\fR +.TP 5 +\fBHWMargins \fIleft bottom right top\fR +.TP 5 +\fBInputSlot \fIposition name\fR +.TP 5 +\fBInputSlot \fIposition \fB"\fIname\fB/\fItext\fB"\fR +.TP 5 +\fBInstallable \fIname\fR +.TP 5 +\fBInstallable "\fIname\fB/\fItext\fB"\fR +.TP 5 +\fBLocAttribute \fIname \fB"\fIkeyword\fB/\fItext\fB" \fIvalue\fR +.TP 5 +\fBManualCopies \fIboolean-value\fR +.TP 5 +\fBManufacturer "\fIname\fB"\fR +.TP 5 +\fBMaxSize \fIwidth length\fR +.TP 5 +\fBMediaSize \fIname\fR +.TP 5 +\fBMediaType \fItype name\fR +.TP 5 +\fBMediaType \fItype \fB"\fIname\fB/\fItext\fB"\fR +.TP 5 +\fBMinSize \fIwidth length\fR +.TP 5 +\fBModelName "\fIname\fB"\fR +.TP 5 +\fBModelNumber \fInumber\fR +.TP 5 +\fBOption \fIname type section order\fR +.TP 5 +\fBOption "\fIname\fB/\fItext\fB" \fItype section order\fR +.TP 5 +\fBPCFileName "\fIfilename.ppd\fB"\fR +.TP 5 +\fBResolution \fIcolorspace bits-per-color row-count row-feed row-step name\fR +.TP 5 +\fBResolution \fIcolorspace bits-per-color row-count row-feed row-step \fB"\fIname\fB/\fItext\fB"\fR +.TP 5 +\fBSimpleColorProfile \fIresolution\fB/\fImediatype density yellow-density red-density gamma red-adjust green-adjust blue-adjust\fR +.TP 5 +\fBThroughput \fIpages-per-minute\fR +.TP 5 +\fBUIConstraints "\fI*Option1 *Option2\fB"\fR +.TP 5 +\fBUIConstraints "\fI*Option1 Choice1 *Option2\fB"\fR +.TP 5 +\fBUIConstraints "\fI*Option1 *Option2 Choice2\fB"\fR +.TP 5 +\fBUIConstraints "\fI*Option1 Choice1 *Option2 Choice2\fB"\fR +.TP 5 +\fBVariablePaperSize \fIboolean-value\fR +.TP 5 +\fBVersion \fInumber\fR +.SH NOTES +PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.SH SEE ALSO +.BR ppdc (1), +.BR ppdhtml (1), +.BR ppdi (1), +.BR ppdmerge (1), +.BR ppdpo (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/ppdhtml.1 b/man/ppdhtml.1 new file mode 100644 index 0000000..8399eca --- /dev/null +++ b/man/ppdhtml.1 @@ -0,0 +1,47 @@ +.\" +.\" ppdhtml man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2007 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH ppdhtml 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +ppdhtml \- cups html summary generator (deprecated) +.SH SYNOPSIS +.B ppdhtml +[ +\fB\-D \fIname\fR[\fB=\fIvalue\fR] +] [ +.B \-I +.I include-directory +] +.I source-file +.SH DESCRIPTION +\fBppdhtml\fR reads a driver information file and produces a HTML summary page that lists all of the drivers in a file and the supported options. +\fBThis program is deprecated and will be removed in a future release of CUPS.\fR +.SH OPTIONS +\fBppdhtml\fR supports the following options: +.TP 5 +\fB\-D \fIname\fR[\fB=\fIvalue\fR] +Sets the named variable for use in the source file. +It is equivalent to using the \fI#define\fR directive in the source file. +.TP 5 +\fB\-I \fIinclude-directory\fR +Specifies an alternate include directory. +Multiple \fI-I\fR options can be supplied to add additional directories. +.SH NOTES +PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.SH SEE ALSO +.BR ppdc (1), +.BR ppdcfile (5), +.BR ppdi (1), +.BR ppdmerge (1), +.BR ppdpo (1), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/ppdi.1 b/man/ppdi.1 new file mode 100644 index 0000000..a57bae9 --- /dev/null +++ b/man/ppdi.1 @@ -0,0 +1,54 @@ +.\" +.\" ppdi man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2007 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH ppdi 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +ppdi \- import ppd files (deprecated) +.SH SYNOPSIS +.B ppdi +[ +.B \-I +.I include-directory +] [ +.B \-o +.I source-file +] +.I ppd-file +[ ... +.I ppd-file +] +.SH DESCRIPTION +\fBppdi\fR imports one or more PPD files into a PPD compiler source file. +Multiple languages of the same PPD file are merged into a single printer definition to facilitate accurate changes for all localizations. +\fBThis program is deprecated and will be removed in a future release of CUPS.\fR +.SH OPTIONS +\fBppdi\fR supports the following options: +.TP 5 +\fB\-I \fIinclude-directory\fR +Specifies an alternate include directory. +Multiple \fI-I\fR options can be supplied to add additional directories. +.TP 5 +\fB\-o \fIsource-file\fR +Specifies the PPD source file to update. +If the source file does not exist, a new source file is created. +Otherwise the existing file is merged with the new PPD file(s) on the command-line. +If no source file is specified, the filename \fIppdi.drv\fR is used. +.SH NOTES +PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.SH SEE ALSO +.BR ppdc (1), +.BR ppdhtml (1), +.BR ppdmerge (1), +.BR ppdpo (1), +.BR ppdcfile (5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/ppdmerge.1 b/man/ppdmerge.1 new file mode 100644 index 0000000..eb23dad --- /dev/null +++ b/man/ppdmerge.1 @@ -0,0 +1,50 @@ +.\" +.\" ppdmerge man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2007 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH ppdmerge 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +ppdmerge \- merge ppd files (deprecated) +.SH SYNOPSIS +.B ppdmerge +[ +.B \-o +.I output-ppd-file +] +.I ppd-file +.I ppd-file +[ ... +.I ppd-file +] +.SH DESCRIPTION +\fBppdmerge\fR merges two or more PPD files into a single, multi-language +PPD file. +\fBThis program is deprecated and will be removed in a future release of CUPS.\fR +.SH OPTIONS +\fBppdmerge\fR supports the following options: +.TP +\fB\-o \fIoutput-ppd-file\fR +Specifies the PPD file to create. +If not specified, the merged PPD file is written to the standard output. +If the output file already exists, it is silently overwritten. +.SH NOTES +PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.LP +\fBppdmerge\fR does not check whether the merged PPD files are for the same device. +Merging of different device PPDs will yield unpredictable results. +.SH SEE ALSO +.BR ppdc (1), +.BR ppdhtml (1), +.BR ppdi (1), +.BR ppdpo (1), +.BR ppdcfile (5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/ppdpo.1 b/man/ppdpo.1 new file mode 100644 index 0000000..3d1ea56 --- /dev/null +++ b/man/ppdpo.1 @@ -0,0 +1,54 @@ +.\" +.\" ppdpo man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2007 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH ppdpo 1 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +ppdpo \- ppd message catalog generator (deprecated) +.SH SYNOPSIS +.B ppdpo +[ +\fB\-D \fIname\fR[\fB=\fIvalue\fR] +] [ +.B \-I +.I include-directory +] [ +.B \-o +.I output-file +] +.I source-file +.SH DESCRIPTION +\fBppdpo\fR extracts UI strings from PPDC source files and updates either a GNU gettext or macOS strings format message catalog source file for translation. +\fBThis program is deprecated and will be removed in a future release of CUPS.\fR +.SH OPTIONS +\fBppdpo\fR supports the following options: +.TP 5 +\fB\-D \fIname\fR[\fB=\fIvalue\fR] +Sets the named variable for use in the source file. +It is equivalent to using the \fI#define\fR directive in the source file. +.TP 5 +\fB\-I \fIinclude-directory\fR +Specifies an alternate include directory. +Multiple \fI-I\fR options can be supplied to add additional directories. +.TP 5 +\fB\-o \fIoutput-file\fR +Specifies the output file. +The supported extensions are \fI.po\fR or \fI.po.gz\fR for GNU gettext format message catalogs and \fI.strings\fR for macOS strings files. +.SH NOTES +PPD files are deprecated and will no longer be supported in a future feature release of CUPS. +Printers that do not support IPP can be supported using applications such as +.BR ippeveprinter (1). +.SH SEE ALSO +.BR ppdc (1), +.BR ppdhtml (1), +.BR ppdi (1), +.BR ppdmerge (1), +.BR ppdcfile(5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/printers.conf.5 b/man/printers.conf.5 new file mode 100644 index 0000000..c628024 --- /dev/null +++ b/man/printers.conf.5 @@ -0,0 +1,28 @@ +.\" +.\" printers.conf man page for CUPS. +.\" +.\" Copyright 2007-2019 by Apple Inc. +.\" Copyright 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more information. +.\" +.TH printers.conf 5 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +printers.conf \- printer configuration file for cups +.SH DESCRIPTION +The \fBprinters.conf\fR file defines the local printers that are available. It is normally located in the \fI/etc/cups\fR directory and is maintained by the +.BR cupsd (8) +program. This file is not intended to be edited or managed manually. +.SH NOTES +The name, location, and format of this file are an implementation detail that will change in future releases of CUPS. +.SH SEE ALSO +.BR classes.conf (5), +.BR cups-files.conf (5), +.BR cupsd (8), +.BR cupsd.conf (5), +.BR mime.convs (5), +.BR mime.types (5), +.BR subscriptions.conf (5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/man/subscriptions.conf.5 b/man/subscriptions.conf.5 new file mode 100644 index 0000000..1791a3e --- /dev/null +++ b/man/subscriptions.conf.5 @@ -0,0 +1,31 @@ +.\" +.\" subscriptions.conf man page for CUPS. +.\" +.\" Copyright © 2007-2019 by Apple Inc. +.\" Copyright © 1997-2006 by Easy Software Products. +.\" +.\" Licensed under Apache License v2.0. See the file "LICENSE" for more +.\" information. +.\" +.TH subscriptions.conf 5 "CUPS" "26 April 2019" "Apple Inc." +.SH NAME +subscriptions.conf \- subscription configuration file for cups +.SH DESCRIPTION +The \fBsubscriptions.conf\fR file defines the local event notification subscriptions that are active. +It is normally located in the \fI/etc/cups\fR directory and is maintained by the +.BR cupsd (8) +program. +This file is not intended to be edited or managed manually. +.SH NOTES +The name, location, and format of this file are an implementation detail that will change in future releases of CUPS. +.SH SEE ALSO +.BR classes.conf (5), +.BR cups-files.conf (5), +.BR cupsd (8), +.BR cupsd.conf (5), +.BR mime.convs (5), +.BR mime.types (5), +.BR printers.conf (5), +CUPS Online Help (http://localhost:631/help) +.SH COPYRIGHT +Copyright \[co] 2007-2019 by Apple Inc. diff --git a/monitor/Dependencies b/monitor/Dependencies new file mode 100644 index 0000000..5b9da26 --- /dev/null +++ b/monitor/Dependencies @@ -0,0 +1,13 @@ +bcp.o: bcp.c ../cups/cups-private.h ../cups/string-private.h ../config.h \ + ../cups/versioning.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/ppd.h ../cups/raster.h +tbcp.o: tbcp.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/ppd.h \ + ../cups/raster.h diff --git a/monitor/Makefile b/monitor/Makefile new file mode 100644 index 0000000..1ea6d72 --- /dev/null +++ b/monitor/Makefile @@ -0,0 +1,136 @@ +# +# Port monitor makefile for CUPS. +# +# Copyright 2007-2019 by Apple Inc. +# Copyright 2006 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more information. +# + +include ../Makedefs + +TARGETS = bcp tbcp + +OBJS = bcp.o tbcp.o + + +# +# Make all targets... +# + +all: $(TARGETS) + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Clean all object files... +# + +clean: + $(RM) $(OBJS) $(TARGETS) + + +# +# Update dependencies (without system header dependencies...) +# + +depend: + $(CC) -MM $(ALL_CFLAGS) $(OBJS:.o=.c) >Dependencies + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + + +# +# Install programs... +# + +install-exec: + $(INSTALL_DIR) -m 755 $(SERVERBIN)/monitor + for file in $(TARGETS); do \ + $(INSTALL_BIN) $$file $(SERVERBIN)/monitor; \ + done + if test "x$(SYMROOT)" != "x"; then \ + $(INSTALL_DIR) $(SYMROOT); \ + for file in $(TARGETS); do \ + cp $$file $(SYMROOT); \ + dsymutil $(SYMROOT)/$$file; \ + done \ + fi + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall all targets... +# + +uninstall: + for file in $(TARGETS); do \ + $(RM) $(SERVERBIN)/monitor/$$file; \ + done + -$(RMDIR) $(SERVERBIN)/monitor + -$(RMDIR) $(SERVERBIN) + + +# +# bcp +# + +bcp: bcp.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ bcp.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# tbcp +# + +tbcp: tbcp.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ tbcp.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Dependencies... +# + +include Dependencies diff --git a/monitor/bcp.c b/monitor/bcp.c new file mode 100644 index 0000000..42c095a --- /dev/null +++ b/monitor/bcp.c @@ -0,0 +1,272 @@ +/* + * TBCP port monitor for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1993-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include + + +/* + * Local functions... + */ + +static char *psgets(char *buf, size_t *bytes, FILE *fp); +static ssize_t pswrite(const char *buf, size_t bytes); + + +/* + * 'main()' - Main entry... + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + FILE *fp; /* File to print */ + int copies; /* Number of copies left */ + char line[1024]; /* Line/buffer from stream/file */ + size_t linelen; /* Length of line */ + ppd_file_t *ppd; /* PPD file */ + + + /* + * Check command-line... + */ + + if (argc < 6 || argc > 7) + { + _cupsLangPrintf(stderr, + _("Usage: %s job-id user title copies options [file]"), + argv[0]); + return (1); + } + + if (argc == 6) + { + copies = 1; + fp = stdin; + } + else + { + copies = atoi(argv[4]); + fp = fopen(argv[6], "rb"); + + if (!fp) + { + perror(argv[6]); + return (1); + } + } + + /* + * Open the PPD file as needed... + */ + + ppd = ppdOpenFile(getenv("PPD")); + + /* + * Copy the print file to stdout... + */ + + while (copies > 0) + { + copies --; + + if (ppd && ppd->jcl_begin) + fputs(ppd->jcl_begin, stdout); + if (ppd && ppd->jcl_ps) + fputs(ppd->jcl_ps, stdout); + + if (!ppd || ppd->language_level == 1) + { + /* + * Use setsoftwareiomode for BCP mode... + */ + + puts("%!PS-Adobe-3.0 ExitServer"); + puts("%%Title: (BCP - Level 1)"); + puts("%%EndComments"); + puts("%%BeginExitServer: 0"); + puts("serverdict begin 0 exitserver"); + puts("%%EndExitServer"); + puts("statusdict begin"); + puts("/setsoftwareiomode known {100 setsoftwareiomode}"); + puts("end"); + puts("%EOF"); + } + else + { + /* + * Use setdevparams for BCP mode... + */ + + puts("%!PS-Adobe-3.0"); + puts("%%Title: (BCP - Level 2)"); + puts("%%EndComments"); + puts("currentsysparams"); + puts("/CurInputDevice 2 copy known {"); + puts("get"); + puts("<> setdevparams"); + puts("}{"); + puts("pop pop"); + puts("} ifelse"); + puts("%EOF"); + } + + if (ppd && ppd->jcl_end) + fputs(ppd->jcl_end, stdout); + else if (!ppd || ppd->num_filters == 0) + putchar(0x04); + + /* + * Loop until we see end-of-file... + */ + + do + { + linelen = sizeof(line); + if (psgets(line, &linelen, fp) == NULL) + break; + } + while (pswrite(line, linelen) > 0); + + fflush(stdout); + } + + return (0); +} + + +/* + * 'psgets()' - Get a line from a file. + * + * Note: + * + * This function differs from the gets() function in that it + * handles any combination of CR, LF, or CR LF to end input + * lines. + */ + +static char * /* O - String or NULL if EOF */ +psgets(char *buf, /* I - Buffer to read into */ + size_t *bytes, /* IO - Length of buffer */ + FILE *fp) /* I - File to read from */ +{ + char *bufptr; /* Pointer into buffer */ + int ch; /* Character from file */ + size_t len; /* Max length of string */ + + + len = *bytes - 1; + bufptr = buf; + ch = EOF; + + while ((size_t)(bufptr - buf) < len) + { + if ((ch = getc(fp)) == EOF) + break; + + if (ch == '\r') + { + /* + * Got a CR; see if there is a LF as well... + */ + + ch = getc(fp); + + if (ch != EOF && ch != '\n') + { + ungetc(ch, fp); /* Nope, save it for later... */ + ch = '\r'; + } + else + *bufptr++ = '\r'; + break; + } + else if (ch == '\n') + break; + else + *bufptr++ = (char)ch; + } + + /* + * Add a trailing newline if it is there... + */ + + if (ch == '\n' || ch == '\r') + { + if ((size_t)(bufptr - buf) < len) + *bufptr++ = (char)ch; + else + ungetc(ch, fp); + } + + /* + * Nul-terminate the string and return it (or NULL for EOF). + */ + + *bufptr = '\0'; + *bytes = (size_t)(bufptr - buf); + + if (ch == EOF && bufptr == buf) + return (NULL); + else + return (buf); +} + + +/* + * 'pswrite()' - Write data from a file. + */ + +static ssize_t /* O - Number of bytes written */ +pswrite(const char *buf, /* I - Buffer to write */ + size_t bytes) /* I - Bytes to write */ +{ + size_t count; /* Remaining bytes */ + + + for (count = bytes; count > 0; count --, buf ++) + switch (*buf) + { + case 0x04 : /* CTRL-D */ + if (bytes == 1) + { + /* + * Don't quote the last CTRL-D... + */ + + putchar(0x04); + break; + } + + case 0x01 : /* CTRL-A */ + case 0x03 : /* CTRL-C */ + case 0x05 : /* CTRL-E */ + case 0x11 : /* CTRL-Q */ + case 0x13 : /* CTRL-S */ + case 0x14 : /* CTRL-T */ + case 0x1c : /* CTRL-\ */ + if (putchar(0x01) < 0) + return (-1); + if (putchar(*buf ^ 0x40) < 0) + return (-1); + break; + + default : + if (putchar(*buf) < 0) + return (-1); + break; + } + + return ((ssize_t)bytes); +} diff --git a/monitor/tbcp.c b/monitor/tbcp.c new file mode 100644 index 0000000..20c5dcf --- /dev/null +++ b/monitor/tbcp.c @@ -0,0 +1,262 @@ +/* + * TBCP port monitor for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1993-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include + + +/* + * Local functions... + */ + +static char *psgets(char *buf, size_t *bytes, FILE *fp); +static ssize_t pswrite(const char *buf, size_t bytes); + + +/* + * 'main()' - Main entry... + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + FILE *fp; /* File to print */ + int copies; /* Number of copies left */ + char line[1024]; /* Line/buffer from stream/file */ + size_t linelen; /* Length of line */ + + + /* + * Check command-line... + */ + + if (argc < 6 || argc > 7) + { + _cupsLangPrintf(stderr, + _("Usage: %s job-id user title copies options [file]"), + argv[0]); + return (1); + } + + if (argc == 6) + { + copies = 1; + fp = stdin; + } + else + { + copies = atoi(argv[4]); + fp = fopen(argv[6], "rb"); + + if (!fp) + { + perror(argv[6]); + return (1); + } + } + + /* + * Copy the print file to stdout... + */ + + while (copies > 0) + { + copies --; + + /* + * Read the first line... + */ + + linelen = sizeof(line); + if (!psgets(line, &linelen, fp)) + break; + + /* + * Handle leading PJL fun... + */ + + if (!strncmp(line, "\033%-12345X", 9) || !strncmp(line, "@PJL ", 5)) + { + /* + * Yup, we have leading PJL fun, so copy it until we hit a line + * with "ENTER LANGUAGE"... + */ + + while (strstr(line, "ENTER LANGUAGE") == NULL) + { + fwrite(line, 1, linelen, stdout); + + linelen = sizeof(line); + if (psgets(line, &linelen, fp) == NULL) + break; + } + } + else + { + /* + * No PJL stuff, just add the UEL... + */ + + fputs("\033%-12345X", stdout); + } + + /* + * Switch to TBCP mode... + */ + + fputs("\001M", stdout); + + /* + * Loop until we see end-of-file... + */ + + while (pswrite(line, linelen) > 0) + { + linelen = sizeof(line); + if (psgets(line, &linelen, fp) == NULL) + break; + } + + fflush(stdout); + } + + return (0); +} + + +/* + * 'psgets()' - Get a line from a file. + * + * Note: + * + * This function differs from the gets() function in that it + * handles any combination of CR, LF, or CR LF to end input + * lines. + */ + +static char * /* O - String or NULL if EOF */ +psgets(char *buf, /* I - Buffer to read into */ + size_t *bytes, /* IO - Length of buffer */ + FILE *fp) /* I - File to read from */ +{ + char *bufptr; /* Pointer into buffer */ + int ch; /* Character from file */ + size_t len; /* Max length of string */ + + + len = *bytes - 1; + bufptr = buf; + ch = EOF; + + while ((size_t)(bufptr - buf) < len) + { + if ((ch = getc(fp)) == EOF) + break; + + if (ch == '\r') + { + /* + * Got a CR; see if there is a LF as well... + */ + + ch = getc(fp); + + if (ch != EOF && ch != '\n') + { + ungetc(ch, fp); /* Nope, save it for later... */ + ch = '\r'; + } + else + *bufptr++ = '\r'; + break; + } + else if (ch == '\n') + break; + else + *bufptr++ = (char)ch; + } + + /* + * Add a trailing newline if it is there... + */ + + if (ch == '\n' || ch == '\r') + { + if ((size_t)(bufptr - buf) < len) + *bufptr++ = (char)ch; + else + ungetc(ch, fp); + } + + /* + * Nul-terminate the string and return it (or NULL for EOF). + */ + + *bufptr = '\0'; + *bytes = (size_t)(bufptr - buf); + + if (ch == EOF && bufptr == buf) + return (NULL); + else + return (buf); +} + + +/* + * 'pswrite()' - Write data from a file. + */ + +static ssize_t /* O - Number of bytes written */ +pswrite(const char *buf, /* I - Buffer to write */ + size_t bytes) /* I - Bytes to write */ +{ + size_t count; /* Remaining bytes */ + + + for (count = bytes; count > 0; count --, buf ++) + switch (*buf) + { + case 0x04 : /* CTRL-D */ + if (bytes == 1) + { + /* + * Don't quote the last CTRL-D... + */ + + putchar(0x04); + break; + } + + case 0x01 : /* CTRL-A */ + case 0x03 : /* CTRL-C */ + case 0x05 : /* CTRL-E */ + case 0x11 : /* CTRL-Q */ + case 0x13 : /* CTRL-S */ + case 0x14 : /* CTRL-T */ + case 0x1b : /* CTRL-[ (aka ESC) */ + case 0x1c : /* CTRL-\ */ + if (putchar(0x01) < 0) + return (-1); + if (putchar(*buf ^ 0x40) < 0) + return (-1); + break; + + default : + if (putchar(*buf) < 0) + return (-1); + break; + } + + return ((ssize_t)bytes); +} diff --git a/notifier/Dependencies b/notifier/Dependencies new file mode 100644 index 0000000..5846943 --- /dev/null +++ b/notifier/Dependencies @@ -0,0 +1,20 @@ +dbus.o: dbus.c ../cups/cups.h ../cups/file.h ../cups/versioning.h \ + ../cups/ipp.h ../cups/http.h ../cups/array.h ../cups/language.h \ + ../cups/pwg.h ../cups/string-private.h ../config.h +mailto.o: mailto.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h +rss.o: rss.c ../cups/cups.h ../cups/file.h ../cups/versioning.h \ + ../cups/ipp.h ../cups/http.h ../cups/array.h ../cups/language.h \ + ../cups/pwg.h ../cups/string-private.h ../config.h \ + ../cups/ipp-private.h +testnotify.o: testnotify.c ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h diff --git a/notifier/Makefile b/notifier/Makefile new file mode 100644 index 0000000..a95b96f --- /dev/null +++ b/notifier/Makefile @@ -0,0 +1,158 @@ +# +# Notifier makefile for CUPS. +# +# Copyright 2007-2019 by Apple Inc. +# Copyright 1997-2007 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more information. +# + +include ../Makedefs + + +NOTIFIERS = $(DBUS_NOTIFIER) mailto rss +TARGETS = $(NOTIFIERS) testnotify +OBJS = dbus.o mailto.o rss.o testnotify.o + + +# +# Make all targets... +# + +all: $(TARGETS) + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Clean all object files... +# + +clean: + $(RM) $(OBJS) $(TARGETS) dbus.h + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + $(INSTALL_DIR) -m 775 -g $(CUPS_GROUP) $(CACHEDIR)/rss + + +# +# Install programs... +# + +install-exec: + echo Installing notifiers in $(SERVERBIN)/notifier... + $(INSTALL_DIR) -m 755 $(SERVERBIN)/notifier + for file in $(NOTIFIERS); do \ + $(INSTALL_BIN) $$file $(SERVERBIN)/notifier; \ + done + if test "x$(SYMROOT)" != "x"; then \ + $(INSTALL_DIR) $(SYMROOT); \ + for file in $(NOTIFIERS); do \ + cp $$file $(SYMROOT); \ + dsymutil $(SYMROOT)/$$file; \ + done \ + fi + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall all targets... +# + +uninstall: + for file in $(NOTIFIERS); do \ + $(RM) $(SERVERBIN)/notifier/$$file; \ + done + -$(RMDIR) $(SERVERBIN)/notifier + -$(RMDIR) $(SERVERBIN) + -$(RMDIR) $(CACHEDIR)/rss + + +# +# Update dependencies (without system header dependencies...) +# + +depend: + $(CC) -MM $(ALL_CFLAGS) $(OBJS:.o=.c) >Dependencies + + +# +# dbus +# + +dbus: dbus.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o dbus dbus.o $(DBUS_NOTIFIERLIBS) $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# mailto +# + +mailto: mailto.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o mailto mailto.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# rss +# + +rss: rss.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o rss rss.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testnotify +# + +testnotify: testnotify.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o testnotify testnotify.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +$(OBJS): ../Makedefs + +include Dependencies diff --git a/notifier/dbus.c b/notifier/dbus.c new file mode 100644 index 0000000..1ebd2ea --- /dev/null +++ b/notifier/dbus.c @@ -0,0 +1,647 @@ +/* + * D-Bus notifier for CUPS. + * + * Copyright 2008-2014 by Apple Inc. + * Copyright (C) 2011, 2013 Red Hat, Inc. + * Copyright (C) 2007 Tim Waugh + * Copyright 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include +#include +#include + +#ifdef HAVE_DBUS +# include +# ifdef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND +# define dbus_message_append_iter_init dbus_message_iter_init_append +# define dbus_message_iter_append_string(i,v) dbus_message_iter_append_basic(i, DBUS_TYPE_STRING, v) +# define dbus_message_iter_append_uint32(i,v) dbus_message_iter_append_basic(i, DBUS_TYPE_UINT32, v) +# define dbus_message_iter_append_boolean(i,v) dbus_message_iter_append_basic(i, DBUS_TYPE_BOOLEAN, v) +# endif /* HAVE_DBUS_MESSAGE_ITER_INIT_APPEND */ + + +/* + * D-Bus object: org.cups.cupsd.Notifier + * D-Bus object path: /org/cups/cupsd/Notifier + * + * D-Bus interface name: org.cups.cupsd.Notifier + * + * Signals: + * + * ServerRestarted(STRING text) + * Server has restarted. + * + * ServerStarted(STRING text) + * Server has started. + * + * ServerStopped(STRING text) + * Server has stopped. + * + * ServerAudit(STRING text) + * Security-related event. + * + * PrinterRestarted(STRING text, + * STRING printer-uri, + * STRING printer-name, + * UINT32 printer-state, + * STRING printer-state-reasons, + * BOOLEAN printer-is-accepting-jobs) + * Printer has restarted. + * + * PrinterShutdown(STRING text, + * STRING printer-uri, + * STRING printer-name, + * UINT32 printer-state, + * STRING printer-state-reasons, + * BOOLEAN printer-is-accepting-jobs) + * Printer has shutdown. + * + * PrinterStopped(STRING text, + * STRING printer-uri, + * STRING printer-name, + * UINT32 printer-state, + * STRING printer-state-reasons, + * BOOLEAN printer-is-accepting-jobs) + * Printer has stopped. + * + * PrinterStateChanged(STRING text, + * STRING printer-uri, + * STRING printer-name, + * UINT32 printer-state, + * STRING printer-state-reasons, + * BOOLEAN printer-is-accepting-jobs) + * Printer state has changed. + * + * PrinterFinishingsChanged(STRING text, + * STRING printer-uri, + * STRING printer-name, + * UINT32 printer-state, + * STRING printer-state-reasons, + * BOOLEAN printer-is-accepting-jobs) + * Printer's finishings-supported attribute has changed. + * + * PrinterMediaChanged(STRING text, + * STRING printer-uri, + * STRING printer-name, + * UINT32 printer-state, + * STRING printer-state-reasons, + * BOOLEAN printer-is-accepting-jobs) + * Printer's media-supported attribute has changed. + * + * PrinterAdded(STRING text, + * STRING printer-uri, + * STRING printer-name, + * UINT32 printer-state, + * STRING printer-state-reasons, + * BOOLEAN printer-is-accepting-jobs) + * Printer has been added. + * + * PrinterDeleted(STRING text, + * STRING printer-uri, + * STRING printer-name, + * UINT32 printer-state, + * STRING printer-state-reasons, + * BOOLEAN printer-is-accepting-jobs) + * Printer has been deleted. + * + * PrinterModified(STRING text, + * STRING printer-uri, + * STRING printer-name, + * UINT32 printer-state, + * STRING printer-state-reasons, + * BOOLEAN printer-is-accepting-jobs) + * Printer has been modified. + * + * text describes the event. + * printer-state-reasons is a comma-separated list. + * If printer-uri is "" in a Job* signal, the other printer-* parameters + * must be ignored. + * If the job name is not know, job-name will be "". + */ + +/* + * Constants... + */ + +enum +{ + PARAMS_NONE, + PARAMS_PRINTER, + PARAMS_JOB +}; + + +/* + * Global variables... + */ + +static char lock_filename[1024]; /* Lock filename */ + + +/* + * Local functions... + */ + +static int acquire_lock(int *fd, char *lockfile, size_t locksize); +static void release_lock(void); + + +/* + * 'main()' - Read events and send DBUS notifications. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + ipp_t *msg; /* Event message from scheduler */ + ipp_state_t state; /* IPP event state */ + struct sigaction action; /* POSIX sigaction data */ + DBusConnection *con = NULL; /* Connection to DBUS server */ + DBusError error; /* Error, if any */ + DBusMessage *message; /* Message to send */ + DBusMessageIter iter; /* Iterator for message data */ + int lock_fd = -1; /* Lock file descriptor */ + + + /* + * Don't buffer stderr... + */ + + setbuf(stderr, NULL); + + /* + * Ignore SIGPIPE signals... + */ + + memset(&action, 0, sizeof(action)); + action.sa_handler = SIG_IGN; + sigaction(SIGPIPE, &action, NULL); + + /* + * Validate command-line options... + */ + + if (argc != 3) + { + fputs("Usage: dbus dbus:/// notify-user-data\n", stderr); + return (1); + } + + if (strncmp(argv[1], "dbus:", 5)) + { + fprintf(stderr, "ERROR: Bad URI \"%s\"!\n", argv[1]); + return (1); + } + + /* + * Loop forever until we run out of events... + */ + + for (;;) + { + ipp_attribute_t *attr; /* Current attribute */ + const char *event; /* Event name */ + const char *signame = NULL;/* DBUS signal name */ + char *printer_reasons = NULL; + /* Printer reasons string */ + char *job_reasons = NULL; + /* Job reasons string */ + const char *nul = ""; /* Empty string value */ + int no = 0; /* Boolean "no" value */ + int params = PARAMS_NONE; + /* What parameters to include? */ + + + /* + * Get the next event... + */ + + msg = ippNew(); + while ((state = ippReadFile(0, msg)) != IPP_DATA) + { + if (state <= IPP_IDLE) + break; + } + + fprintf(stderr, "DEBUG: state=%d\n", state); + + if (state == IPP_ERROR) + fputs("DEBUG: ippReadFile() returned IPP_ERROR!\n", stderr); + + if (state <= IPP_IDLE) + { + /* + * Out of messages, free memory and then exit... + */ + + ippDelete(msg); + break; + } + + /* + * Verify connection to DBUS server... + */ + + if (con && !dbus_connection_get_is_connected(con)) + { + dbus_connection_unref(con); + con = NULL; + } + + if (!con) + { + dbus_error_init(&error); + + con = dbus_bus_get(DBUS_BUS_SYSTEM, &error); + if (!con) + dbus_error_free(&error); + else + fputs("DEBUG: Connected to D-BUS\n", stderr); + } + + if (!con) + continue; + + if (lock_fd == -1 && + acquire_lock(&lock_fd, lock_filename, sizeof(lock_filename))) + continue; + + attr = ippFindAttribute(msg, "notify-subscribed-event", + IPP_TAG_KEYWORD); + if (!attr) + continue; + + event = ippGetString(attr, 0, NULL); + if (!strncmp(event, "server-", 7)) + { + const char *word2 = event + 7; /* Second word */ + + if (!strcmp(word2, "restarted")) + signame = "ServerRestarted"; + else if (!strcmp(word2, "started")) + signame = "ServerStarted"; + else if (!strcmp(word2, "stopped")) + signame = "ServerStopped"; + else if (!strcmp(word2, "audit")) + signame = "ServerAudit"; + else + continue; + } + else if (!strncmp(event, "printer-", 8)) + { + const char *word2 = event + 8; /* Second word */ + + params = PARAMS_PRINTER; + if (!strcmp(word2, "restarted")) + signame = "PrinterRestarted"; + else if (!strcmp(word2, "shutdown")) + signame = "PrinterShutdown"; + else if (!strcmp(word2, "stopped")) + signame = "PrinterStopped"; + else if (!strcmp(word2, "state-changed")) + signame = "PrinterStateChanged"; + else if (!strcmp(word2, "finishings-changed")) + signame = "PrinterFinishingsChanged"; + else if (!strcmp(word2, "media-changed")) + signame = "PrinterMediaChanged"; + else if (!strcmp(word2, "added")) + signame = "PrinterAdded"; + else if (!strcmp(word2, "deleted")) + signame = "PrinterDeleted"; + else if (!strcmp(word2, "modified")) + signame = "PrinterModified"; + else + continue; + } + else if (!strncmp(event, "job-", 4)) + { + const char *word2 = event + 4; /* Second word */ + + params = PARAMS_JOB; + if (!strcmp(word2, "state-changed")) + signame = "JobState"; + else if (!strcmp(word2, "created")) + signame = "JobCreated"; + else if (!strcmp(word2, "completed")) + signame = "JobCompleted"; + else if (!strcmp(word2, "stopped")) + signame = "JobStopped"; + else if (!strcmp(word2, "config-changed")) + signame = "JobConfigChanged"; + else if (!strcmp(word2, "progress")) + signame = "JobProgress"; + else + continue; + } + else + continue; + + /* + * Create and send the new message... + */ + + fprintf(stderr, "DEBUG: %s\n", signame); + message = dbus_message_new_signal("/org/cups/cupsd/Notifier", + "org.cups.cupsd.Notifier", + signame); + + dbus_message_append_iter_init(message, &iter); + attr = ippFindAttribute(msg, "notify-text", IPP_TAG_TEXT); + if (attr) + { + const char *val = ippGetString(attr, 0, NULL); + if (!dbus_message_iter_append_string(&iter, &val)) + goto bail; + } + else + goto bail; + + if (params >= PARAMS_PRINTER) + { + char *p; /* Pointer into printer_reasons */ + size_t reasons_length; /* Required size of printer_reasons */ + int i; /* Looping var */ + int have_printer_params = 1;/* Do we have printer URI? */ + + /* STRING printer-uri or "" */ + attr = ippFindAttribute(msg, "notify-printer-uri", IPP_TAG_URI); + if (attr) + { + const char *val = ippGetString(attr, 0, NULL); + if (!dbus_message_iter_append_string(&iter, &val)) + goto bail; + } + else + { + have_printer_params = 0; + dbus_message_iter_append_string(&iter, &nul); + } + + /* STRING printer-name */ + if (have_printer_params) + { + attr = ippFindAttribute(msg, "printer-name", IPP_TAG_NAME); + if (attr) + { + const char *val = ippGetString(attr, 0, NULL); + if (!dbus_message_iter_append_string(&iter, &val)) + goto bail; + } + else + goto bail; + } + else + dbus_message_iter_append_string(&iter, &nul); + + /* UINT32 printer-state */ + if (have_printer_params) + { + attr = ippFindAttribute(msg, "printer-state", IPP_TAG_ENUM); + if (attr) + { + dbus_uint32_t val = (dbus_uint32_t)ippGetInteger(attr, 0); + dbus_message_iter_append_uint32(&iter, &val); + } + else + goto bail; + } + else + dbus_message_iter_append_uint32(&iter, &no); + + /* STRING printer-state-reasons */ + if (have_printer_params) + { + attr = ippFindAttribute(msg, "printer-state-reasons", + IPP_TAG_KEYWORD); + if (attr) + { + int num_values = ippGetCount(attr); + for (reasons_length = 0, i = 0; i < num_values; i++) + /* All need commas except the last, which needs a nul byte. */ + reasons_length += 1 + strlen(ippGetString(attr, i, NULL)); + printer_reasons = malloc(reasons_length); + if (!printer_reasons) + goto bail; + p = printer_reasons; + for (i = 0; i < num_values; i++) + { + if (i) + *p++ = ','; + + strlcpy(p, ippGetString(attr, i, NULL), reasons_length - (size_t)(p - printer_reasons)); + p += strlen(p); + } + if (!dbus_message_iter_append_string(&iter, &printer_reasons)) + goto bail; + } + else + goto bail; + } + else + dbus_message_iter_append_string(&iter, &nul); + + /* BOOL printer-is-accepting-jobs */ + if (have_printer_params) + { + attr = ippFindAttribute(msg, "printer-is-accepting-jobs", + IPP_TAG_BOOLEAN); + if (attr) + { + dbus_bool_t val = (dbus_bool_t)ippGetBoolean(attr, 0); + dbus_message_iter_append_boolean(&iter, &val); + } + else + goto bail; + } + else + dbus_message_iter_append_boolean(&iter, &no); + } + + if (params >= PARAMS_JOB) + { + char *p; /* Pointer into job_reasons */ + size_t reasons_length; /* Required size of job_reasons */ + int i; /* Looping var */ + + /* UINT32 job-id */ + attr = ippFindAttribute(msg, "notify-job-id", IPP_TAG_INTEGER); + if (attr) + { + dbus_uint32_t val = (dbus_uint32_t)ippGetInteger(attr, 0); + dbus_message_iter_append_uint32(&iter, &val); + } + else + goto bail; + + /* UINT32 job-state */ + attr = ippFindAttribute(msg, "job-state", IPP_TAG_ENUM); + if (attr) + { + dbus_uint32_t val = (dbus_uint32_t)ippGetInteger(attr, 0); + dbus_message_iter_append_uint32(&iter, &val); + } + else + goto bail; + + /* STRING job-state-reasons */ + attr = ippFindAttribute(msg, "job-state-reasons", IPP_TAG_KEYWORD); + if (attr) + { + int num_values = ippGetCount(attr); + for (reasons_length = 0, i = 0; i < num_values; i++) + /* All need commas except the last, which needs a nul byte. */ + reasons_length += 1 + strlen(ippGetString(attr, i, NULL)); + job_reasons = malloc(reasons_length); + if (!job_reasons) + goto bail; + p = job_reasons; + for (i = 0; i < num_values; i++) + { + if (i) + *p++ = ','; + + strlcpy(p, ippGetString(attr, i, NULL), reasons_length - (size_t)(p - job_reasons)); + p += strlen(p); + } + if (!dbus_message_iter_append_string(&iter, &job_reasons)) + goto bail; + } + else + goto bail; + + /* STRING job-name or "" */ + attr = ippFindAttribute(msg, "job-name", IPP_TAG_NAME); + if (attr) + { + const char *val = ippGetString(attr, 0, NULL); + if (!dbus_message_iter_append_string(&iter, &val)) + goto bail; + } + else + dbus_message_iter_append_string(&iter, &nul); + + /* UINT32 job-impressions-completed */ + attr = ippFindAttribute(msg, "job-impressions-completed", + IPP_TAG_INTEGER); + if (attr) + { + dbus_uint32_t val = (dbus_uint32_t)ippGetInteger(attr, 0); + dbus_message_iter_append_uint32(&iter, &val); + } + else + goto bail; + } + + dbus_connection_send(con, message, NULL); + dbus_connection_flush(con); + + /* + * Cleanup... + */ + + bail: + + dbus_message_unref(message); + + if (printer_reasons) + free(printer_reasons); + + if (job_reasons) + free(job_reasons); + + ippDelete(msg); + } + + /* + * Remove lock file... + */ + + if (lock_fd >= 0) + { + close(lock_fd); + release_lock(); + } + + return (0); +} + + +/* + * 'release_lock()' - Release the singleton lock. + */ + +static void +release_lock(void) +{ + unlink(lock_filename); +} + + +/* + * 'handle_sigterm()' - Handle SIGTERM signal. + */ +static void +handle_sigterm(int signum) +{ + release_lock(); + _exit(0); +} + +/* + * 'acquire_lock()' - Acquire a lock so we only have a single notifier running. + */ + +static int /* O - 0 on success, -1 on failure */ +acquire_lock(int *fd, /* O - Lock file descriptor */ + char *lockfile, /* I - Lock filename buffer */ + size_t locksize) /* I - Size of filename buffer */ +{ + const char *tmpdir; /* Temporary directory */ + struct sigaction action; /* POSIX sigaction data */ + + + /* + * Figure out where to put the lock file... + */ + + if ((tmpdir = getenv("TMPDIR")) == NULL) + tmpdir = "/tmp"; + + snprintf(lockfile, locksize, "%s/cups-dbus-notifier-lockfile", tmpdir); + + /* + * Create the lock file and fail if it already exists... + */ + + if ((*fd = open(lockfile, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR)) < 0) + return (-1); + + /* + * Set a SIGTERM handler to make sure we release the lock if the + * scheduler decides to stop us. + */ + memset(&action, 0, sizeof(action)); + action.sa_handler = handle_sigterm; + sigaction(SIGTERM, &action, NULL); + + return (0); +} +#else /* !HAVE_DBUS */ +int +main(void) +{ + return (1); +} +#endif /* HAVE_DBUS */ diff --git a/notifier/mailto.c b/notifier/mailto.c new file mode 100644 index 0000000..9325855 --- /dev/null +++ b/notifier/mailto.c @@ -0,0 +1,633 @@ +/* + * "mailto" notifier for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include + + +/* + * Globals... + */ + +char mailtoCc[1024]; /* Cc email address */ +char mailtoFrom[1024]; /* From email address */ +char mailtoReplyTo[1024]; /* Reply-To email address */ +char mailtoSubject[1024]; /* Subject prefix */ +char mailtoSMTPServer[1024]; /* SMTP server to use */ +char mailtoSendmail[1024]; /* Sendmail program to use */ + + +/* + * Local functions... + */ + +void email_message(const char *to, const char *subject, const char *text); +int load_configuration(void); +cups_file_t *pipe_sendmail(const char *to); +void print_attributes(ipp_t *ipp, int indent); + + +/* + * 'main()' - Main entry for the mailto notifier. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + ipp_t *msg; /* Event message from scheduler */ + ipp_state_t state; /* IPP event state */ + char *subject, /* Subject for notification message */ + *text; /* Text for notification message */ + cups_lang_t *lang; /* Language info */ + char temp[1024]; /* Temporary string */ + int templen; /* Length of temporary string */ +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* POSIX sigaction data */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ + + + /* + * Don't buffer stderr... + */ + + setbuf(stderr, NULL); + + /* + * Ignore SIGPIPE signals... + */ + +#ifdef HAVE_SIGSET + sigset(SIGPIPE, SIG_IGN); +#elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + action.sa_handler = SIG_IGN; + sigaction(SIGPIPE, &action, NULL); +#else + signal(SIGPIPE, SIG_IGN); +#endif /* HAVE_SIGSET */ + + /* + * Validate command-line options... + */ + + if (argc != 3) + { + fputs("Usage: mailto mailto:user@domain.com notify-user-data\n", stderr); + return (1); + } + + if (strncmp(argv[1], "mailto:", 7)) + { + fprintf(stderr, "ERROR: Bad recipient \"%s\"!\n", argv[1]); + return (1); + } + + fprintf(stderr, "DEBUG: argc=%d\n", argc); + for (i = 0; i < argc; i ++) + fprintf(stderr, "DEBUG: argv[%d]=\"%s\"\n", i, argv[i]); + + /* + * Load configuration data... + */ + + if ((lang = cupsLangDefault()) == NULL) + return (1); + + if (!load_configuration()) + return (1); + + /* + * Get the reply-to address... + */ + + templen = sizeof(temp); + httpDecode64_2(temp, &templen, argv[2]); + + if (!strncmp(temp, "mailto:", 7)) + strlcpy(mailtoReplyTo, temp + 7, sizeof(mailtoReplyTo)); + else if (temp[0]) + fprintf(stderr, "WARNING: Bad notify-user-data value (%d bytes) ignored!\n", + templen); + + /* + * Loop forever until we run out of events... + */ + + for (;;) + { + /* + * Get the next event... + */ + + msg = ippNew(); + while ((state = ippReadFile(0, msg)) != IPP_DATA) + { + if (state <= IPP_IDLE) + break; + } + + fprintf(stderr, "DEBUG: state=%d\n", state); + + if (state == IPP_ERROR) + fputs("DEBUG: ippReadFile() returned IPP_ERROR!\n", stderr); + + if (state <= IPP_IDLE) + { + /* + * Out of messages, free memory and then exit... + */ + + ippDelete(msg); + return (0); + } + + /* + * Get the subject and text for the message, then email it... + */ + + subject = cupsNotifySubject(lang, msg); + text = cupsNotifyText(lang, msg); + + fprintf(stderr, "DEBUG: subject=\"%s\"\n", subject); + fprintf(stderr, "DEBUG: text=\"%s\"\n", text); + + if (subject && text) + email_message(argv[1] + 7, subject, text); + else + { + fputs("ERROR: Missing attributes in event notification!\n", stderr); + print_attributes(msg, 4); + } + + /* + * Free the memory used for this event... + */ + + if (subject) + free(subject); + + if (text) + free(text); + + ippDelete(msg); + } +} + + +/* + * 'email_message()' - Email a notification message. + */ + +void +email_message(const char *to, /* I - Recipient of message */ + const char *subject, /* I - Subject of message */ + const char *text) /* I - Text of message */ +{ + cups_file_t *fp; /* Pipe/socket to mail server */ + const char *nl; /* Newline to use */ + char response[1024]; /* SMTP response buffer */ + + + /* + * Connect to the mail server... + */ + + if (mailtoSendmail[0]) + { + /* + * Use the sendmail command... + */ + + fp = pipe_sendmail(to); + + if (!fp) + return; + + nl = "\n"; + } + else + { + /* + * Use an SMTP server... + */ + + char hostbuf[1024]; /* Local hostname */ + + + if (strchr(mailtoSMTPServer, ':')) + { + fp = cupsFileOpen(mailtoSMTPServer, "s"); + } + else + { + char spec[1024]; /* Host:service spec */ + + + snprintf(spec, sizeof(spec), "%s:smtp", mailtoSMTPServer); + fp = cupsFileOpen(spec, "s"); + } + + if (!fp) + { + fprintf(stderr, "ERROR: Unable to connect to SMTP server \"%s\"!\n", + mailtoSMTPServer); + return; + } + + fprintf(stderr, "DEBUG: Connected to \"%s\"...\n", mailtoSMTPServer); + + if (!cupsFileGets(fp, response, sizeof(response)) || atoi(response) >= 500) + goto smtp_error; + fprintf(stderr, "DEBUG: <<< %s\n", response); + + cupsFilePrintf(fp, "HELO %s\r\n", + httpGetHostname(NULL, hostbuf, sizeof(hostbuf))); + fprintf(stderr, "DEBUG: >>> HELO %s\n", hostbuf); + + if (!cupsFileGets(fp, response, sizeof(response)) || atoi(response) >= 500) + goto smtp_error; + fprintf(stderr, "DEBUG: <<< %s\n", response); + + cupsFilePrintf(fp, "MAIL FROM:%s\r\n", mailtoFrom); + fprintf(stderr, "DEBUG: >>> MAIL FROM:%s\n", mailtoFrom); + + if (!cupsFileGets(fp, response, sizeof(response)) || atoi(response) >= 500) + goto smtp_error; + fprintf(stderr, "DEBUG: <<< %s\n", response); + + cupsFilePrintf(fp, "RCPT TO:%s\r\n", to); + fprintf(stderr, "DEBUG: >>> RCPT TO:%s\n", to); + + if (!cupsFileGets(fp, response, sizeof(response)) || atoi(response) >= 500) + goto smtp_error; + fprintf(stderr, "DEBUG: <<< %s\n", response); + + cupsFilePuts(fp, "DATA\r\n"); + fputs("DEBUG: DATA\n", stderr); + + if (!cupsFileGets(fp, response, sizeof(response)) || atoi(response) >= 500) + goto smtp_error; + fprintf(stderr, "DEBUG: <<< %s\n", response); + + nl = "\r\n"; + } + + /* + * Send the message... + */ + + cupsFilePrintf(fp, "Date: %s%s", httpGetDateString(time(NULL)), nl); + cupsFilePrintf(fp, "From: %s%s", mailtoFrom, nl); + cupsFilePrintf(fp, "Subject: %s %s%s", mailtoSubject, subject, nl); + if (mailtoReplyTo[0]) + { + cupsFilePrintf(fp, "Sender: %s%s", mailtoReplyTo, nl); + cupsFilePrintf(fp, "Reply-To: %s%s", mailtoReplyTo, nl); + } + cupsFilePrintf(fp, "To: %s%s", to, nl); + if (mailtoCc[0]) + cupsFilePrintf(fp, "Cc: %s%s", mailtoCc, nl); + cupsFilePrintf(fp, "Content-Type: text/plain%s", nl); + cupsFilePuts(fp, nl); + cupsFilePrintf(fp, "%s%s", text, nl); + cupsFilePrintf(fp, ".%s", nl); + + /* + * Close the connection to the mail server... + */ + + if (mailtoSendmail[0]) + { + /* + * Close the pipe and wait for the sendmail command to finish... + */ + + int status; /* Exit status */ + + + cupsFileClose(fp); + + while (wait(&status)) + { + if (errno != EINTR) + { + fprintf(stderr, "DEBUG: Unable to get child status: %s\n", + strerror(errno)); + status = 0; + break; + } + } + + /* + * Report any non-zero status... + */ + + if (status) + { + if (WIFEXITED(status)) + fprintf(stderr, "ERROR: Sendmail command returned status %d!\n", + WEXITSTATUS(status)); + else + fprintf(stderr, "ERROR: Sendmail command crashed on signal %d!\n", + WTERMSIG(status)); + } + } + else + { + /* + * Finish up the SMTP submission and close the connection... + */ + + if (!cupsFileGets(fp, response, sizeof(response)) || atoi(response) >= 500) + goto smtp_error; + fprintf(stderr, "DEBUG: <<< %s\n", response); + + /* + * Process SMTP errors here... + */ + + smtp_error: + + cupsFilePuts(fp, "QUIT\r\n"); + fputs("DEBUG: QUIT\n", stderr); + + if (!cupsFileGets(fp, response, sizeof(response)) || atoi(response) >= 500) + fprintf(stderr, "ERROR: Got \"%s\" trying to QUIT connection.\n", + response); + else + fprintf(stderr, "DEBUG: <<< %s\n", response); + + cupsFileClose(fp); + + fprintf(stderr, "DEBUG: Closed connection to \"%s\"...\n", + mailtoSMTPServer); + } +} + + +/* + * 'load_configuration()' - Load the mailto.conf file. + */ + +int /* I - 1 on success, 0 on failure */ +load_configuration(void) +{ + cups_file_t *fp; /* mailto.conf file */ + const char *server_root, /* CUPS_SERVERROOT environment variable */ + *server_admin; /* SERVER_ADMIN environment variable */ + char line[1024], /* Line from file */ + *value; /* Value for directive */ + int linenum; /* Line number in file */ + + + /* + * Initialize defaults... + */ + + mailtoCc[0] = '\0'; + + if ((server_admin = getenv("SERVER_ADMIN")) != NULL) + strlcpy(mailtoFrom, server_admin, sizeof(mailtoFrom)); + else + snprintf(mailtoFrom, sizeof(mailtoFrom), "root@%s", + httpGetHostname(NULL, line, sizeof(line))); + + strlcpy(mailtoSendmail, "/usr/sbin/sendmail", sizeof(mailtoSendmail)); + + mailtoSMTPServer[0] = '\0'; + + mailtoSubject[0] = '\0'; + + /* + * Try loading the config file... + */ + + if ((server_root = getenv("CUPS_SERVERROOT")) == NULL) + server_root = CUPS_SERVERROOT; + + snprintf(line, sizeof(line), "%s/mailto.conf", server_root); + + if ((fp = cupsFileOpen(line, "r")) == NULL) + { + if (errno != ENOENT) + { + fprintf(stderr, "ERROR: Unable to open \"%s\" - %s\n", line, + strerror(errno)); + return (1); + } + else + return (0); + } + + linenum = 0; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + if (!value) + { + fprintf(stderr, "ERROR: No value found for %s directive on line %d!\n", + line, linenum); + cupsFileClose(fp); + return (0); + } + + if (!_cups_strcasecmp(line, "Cc")) + strlcpy(mailtoCc, value, sizeof(mailtoCc)); + else if (!_cups_strcasecmp(line, "From")) + strlcpy(mailtoFrom, value, sizeof(mailtoFrom)); + else if (!_cups_strcasecmp(line, "Sendmail")) + { + strlcpy(mailtoSendmail, value, sizeof(mailtoSendmail)); + mailtoSMTPServer[0] = '\0'; + } + else if (!_cups_strcasecmp(line, "SMTPServer")) + { + mailtoSendmail[0] = '\0'; + strlcpy(mailtoSMTPServer, value, sizeof(mailtoSMTPServer)); + } + else if (!_cups_strcasecmp(line, "Subject")) + strlcpy(mailtoSubject, value, sizeof(mailtoSubject)); + else + { + fprintf(stderr, + "ERROR: Unknown configuration directive \"%s\" on line %d!\n", + line, linenum); + } + } + + /* + * Close file and return... + */ + + cupsFileClose(fp); + + return (1); +} + + +/* + * 'pipe_sendmail()' - Open a pipe to sendmail... + */ + +cups_file_t * /* O - CUPS file */ +pipe_sendmail(const char *to) /* I - To: address */ +{ + cups_file_t *fp; /* CUPS file */ + int pid; /* Process ID */ + int pipefds[2]; /* Pipe file descriptors */ + int argc; /* Number of arguments */ + char *argv[100], /* Argument array */ + line[1024], /* Sendmail command + args */ + *lineptr; /* Pointer into line */ + + + /* + * First break the mailtoSendmail string into arguments... + */ + + strlcpy(line, mailtoSendmail, sizeof(line)); + argv[0] = line; + argc = 1; + + for (lineptr = strchr(line, ' '); lineptr; lineptr = strchr(lineptr, ' ')) + { + while (*lineptr == ' ') + *lineptr++ = '\0'; + + if (*lineptr) + { + /* + * Point to the next argument... + */ + + argv[argc ++] = lineptr; + + /* + * Stop if we have too many... + */ + + if (argc >= (int)(sizeof(argv) / sizeof(argv[0]) - 2)) + break; + } + } + + argv[argc ++] = (char *)to; + argv[argc] = NULL; + + /* + * Create the pipe... + */ + + if (pipe(pipefds)) + { + perror("ERROR: Unable to create pipe"); + return (NULL); + } + + /* + * Then run the command... + */ + + if ((pid = fork()) == 0) + { + /* + * Child goes here - redirect stdin to the input side of the pipe, + * redirect stdout to stderr, and exec... + */ + + close(0); + dup(pipefds[0]); + + close(1); + dup(2); + + close(pipefds[0]); + close(pipefds[1]); + + execvp(argv[0], argv); + exit(errno); + } + else if (pid < 0) + { + /* + * Unable to fork - error out... + */ + + perror("ERROR: Unable to fork command"); + + close(pipefds[0]); + close(pipefds[1]); + + return (NULL); + } + + /* + * Create a CUPS file using the output side of the pipe and close the + * input side... + */ + + close(pipefds[0]); + + if ((fp = cupsFileOpenFd(pipefds[1], "w")) == NULL) + { + int status; /* Status of command */ + + + close(pipefds[1]); + wait(&status); + } + + return (fp); +} + + +/* + * 'print_attributes()' - Print the attributes in a request... + */ + +void +print_attributes(ipp_t *ipp, /* I - IPP request */ + int indent) /* I - Indentation */ +{ + ipp_tag_t group; /* Current group */ + ipp_attribute_t *attr; /* Current attribute */ + char buffer[1024]; /* Value buffer */ + + + for (group = IPP_TAG_ZERO, attr = ipp->attrs; attr; attr = attr->next) + { + if ((attr->group_tag == IPP_TAG_ZERO && indent <= 8) || !attr->name) + { + group = IPP_TAG_ZERO; + fputc('\n', stderr); + continue; + } + + if (group != attr->group_tag) + { + group = attr->group_tag; + + fprintf(stderr, "DEBUG: %*s%s:\n\n", indent - 4, "", ippTagString(group)); + } + + ippAttributeString(attr, buffer, sizeof(buffer)); + + fprintf(stderr, "DEBUG: %*s%s (%s%s) %s", indent, "", attr->name, + attr->num_values > 1 ? "1setOf " : "", + ippTagString(attr->value_tag), buffer); + } +} diff --git a/notifier/rss.c b/notifier/rss.c new file mode 100644 index 0000000..44d368c --- /dev/null +++ b/notifier/rss.c @@ -0,0 +1,728 @@ +/* + * RSS notifier for CUPS. + * + * Copyright 2007-2015 by Apple Inc. + * Copyright 2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include +#include +#include /* TODO: Update so we don't need this */ + + +/* + * Structures... + */ + +typedef struct _cups_rss_s /**** RSS message data ****/ +{ + int sequence_number; /* notify-sequence-number */ + char *subject, /* Message subject/summary */ + *text, /* Message text */ + *link_url; /* Link to printer */ + time_t event_time; /* When the event occurred */ +} _cups_rss_t; + + +/* + * Local globals... + */ + +static char *rss_password; /* Password for remote RSS */ + + +/* + * Local functions... + */ + +static int compare_rss(_cups_rss_t *a, _cups_rss_t *b); +static void delete_message(_cups_rss_t *rss); +static void load_rss(cups_array_t *rss, const char *filename); +static _cups_rss_t *new_message(int sequence_number, char *subject, + char *text, char *link_url, + time_t event_time); +static const char *password_cb(const char *prompt); +static int save_rss(cups_array_t *rss, const char *filename, + const char *baseurl); +static char *xml_escape(const char *s); + + +/* + * 'main()' - Main entry for the test notifier. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + ipp_t *event; /* Event from scheduler */ + ipp_state_t state; /* IPP event state */ + char scheme[32], /* URI scheme ("rss") */ + username[256], /* Username for remote RSS */ + host[1024], /* Hostname for remote RSS */ + resource[1024], /* RSS file */ + *options; /* Options */ + int port, /* Port number for remote RSS */ + max_events; /* Maximum number of events */ + http_t *http; /* Connection to remote server */ + http_status_t status; /* HTTP GET/PUT status code */ + char filename[1024], /* Local filename */ + newname[1024]; /* filename.N */ + cups_lang_t *language; /* Language information */ + ipp_attribute_t *printer_up_time, /* Timestamp on event */ + *notify_sequence_number,/* Sequence number */ + *notify_printer_uri; /* Printer URI */ + char *subject, /* Subject for notification message */ + *text, /* Text for notification message */ + link_url[1024], /* Link to printer */ + link_scheme[32], /* Scheme for link */ + link_username[256], /* Username for link */ + link_host[1024], /* Host for link */ + link_resource[1024]; /* Resource for link */ + int link_port; /* Link port */ + cups_array_t *rss; /* RSS message array */ + _cups_rss_t *msg; /* RSS message */ + char baseurl[1024]; /* Base URL */ + fd_set input; /* Input set for select() */ + struct timeval timeout; /* Timeout for select() */ + int changed; /* Has the RSS data changed? */ + int exit_status; /* Exit status */ + + + fprintf(stderr, "DEBUG: argc=%d\n", argc); + for (i = 0; i < argc; i ++) + fprintf(stderr, "DEBUG: argv[%d]=\"%s\"\n", i, argv[i]); + + /* + * See whether we are publishing this RSS feed locally or remotely... + */ + + if (httpSeparateURI(HTTP_URI_CODING_ALL, argv[1], scheme, sizeof(scheme), + username, sizeof(username), host, sizeof(host), &port, + resource, sizeof(resource)) < HTTP_URI_OK) + { + fprintf(stderr, "ERROR: Bad RSS URI \"%s\"!\n", argv[1]); + return (1); + } + + max_events = 20; + + if ((options = strchr(resource, '?')) != NULL) + { + *options++ = '\0'; + + if (!strncmp(options, "max_events=", 11)) + { + max_events = atoi(options + 11); + + if (max_events <= 0) + max_events = 20; + } + } + + rss = cupsArrayNew((cups_array_func_t)compare_rss, NULL); + + if (host[0]) + { + /* + * Remote feed, see if we can get the current file... + */ + + int fd; /* Temporary file */ + + + if ((rss_password = strchr(username, ':')) != NULL) + *rss_password++ = '\0'; + + cupsSetPasswordCB(password_cb); + cupsSetUser(username); + + if ((fd = cupsTempFd(filename, sizeof(filename))) < 0) + { + fprintf(stderr, "ERROR: Unable to create temporary file: %s\n", + strerror(errno)); + + return (1); + } + + if ((http = httpConnect(host, port)) == NULL) + { + fprintf(stderr, "ERROR: Unable to connect to %s on port %d: %s\n", + host, port, strerror(errno)); + + close(fd); + unlink(filename); + + return (1); + } + + status = cupsGetFd(http, resource, fd); + + close(fd); + + if (status != HTTP_OK && status != HTTP_NOT_FOUND) + { + fprintf(stderr, "ERROR: Unable to GET %s from %s on port %d: %d %s\n", + resource, host, port, status, httpStatus(status)); + + httpClose(http); + unlink(filename); + + return (1); + } + + strlcpy(newname, filename, sizeof(newname)); + + httpAssembleURI(HTTP_URI_CODING_ALL, baseurl, sizeof(baseurl), "http", + NULL, host, port, resource); + } + else + { + const char *cachedir, /* CUPS_CACHEDIR */ + *server_name, /* SERVER_NAME */ + *server_port; /* SERVER_PORT */ + + + http = NULL; + + if ((cachedir = getenv("CUPS_CACHEDIR")) == NULL) + cachedir = CUPS_CACHEDIR; + + if ((server_name = getenv("SERVER_NAME")) == NULL) + server_name = "localhost"; + + if ((server_port = getenv("SERVER_PORT")) == NULL) + server_port = "631"; + + snprintf(filename, sizeof(filename), "%s/rss%s", cachedir, resource); + snprintf(newname, sizeof(newname), "%s.N", filename); + + httpAssembleURIf(HTTP_URI_CODING_ALL, baseurl, sizeof(baseurl), "http", + NULL, server_name, atoi(server_port), "/rss%s", resource); + } + + /* + * Load the previous RSS file, if any... + */ + + load_rss(rss, filename); + + changed = cupsArrayCount(rss) == 0; + + /* + * Localize for the user's chosen language... + */ + + language = cupsLangDefault(); + + /* + * Read events and update the RSS file until we are out of events. + */ + + for (exit_status = 0, event = NULL;;) + { + if (changed) + { + /* + * Save the messages to the file again, uploading as needed... + */ + + if (save_rss(rss, newname, baseurl)) + { + if (http) + { + /* + * Upload the RSS file... + */ + + if ((status = cupsPutFile(http, resource, filename)) != HTTP_CREATED) + fprintf(stderr, "ERROR: Unable to PUT %s from %s on port %d: %d %s\n", + resource, host, port, status, httpStatus(status)); + } + else + { + /* + * Move the new RSS file over top the old one... + */ + + if (rename(newname, filename)) + fprintf(stderr, "ERROR: Unable to rename %s to %s: %s\n", + newname, filename, strerror(errno)); + } + + changed = 0; + } + } + + /* + * Wait up to 30 seconds for an event... + */ + + timeout.tv_sec = 30; + timeout.tv_usec = 0; + + FD_ZERO(&input); + FD_SET(0, &input); + + if (select(1, &input, NULL, NULL, &timeout) < 0) + continue; + else if (!FD_ISSET(0, &input)) + { + fprintf(stderr, "DEBUG: %s is bored, exiting...\n", argv[1]); + break; + } + + /* + * Read the next event... + */ + + event = ippNew(); + while ((state = ippReadFile(0, event)) != IPP_DATA) + { + if (state <= IPP_IDLE) + break; + } + + if (state == IPP_ERROR) + fputs("DEBUG: ippReadFile() returned IPP_ERROR!\n", stderr); + + if (state <= IPP_IDLE) + break; + + /* + * Collect the info from the event... + */ + + printer_up_time = ippFindAttribute(event, "printer-up-time", + IPP_TAG_INTEGER); + notify_sequence_number = ippFindAttribute(event, "notify-sequence-number", + IPP_TAG_INTEGER); + notify_printer_uri = ippFindAttribute(event, "notify-printer-uri", + IPP_TAG_URI); + subject = cupsNotifySubject(language, event); + text = cupsNotifyText(language, event); + + if (printer_up_time && notify_sequence_number && subject && text) + { + /* + * Create a new RSS message... + */ + + if (notify_printer_uri) + { + httpSeparateURI(HTTP_URI_CODING_ALL, + notify_printer_uri->values[0].string.text, + link_scheme, sizeof(link_scheme), + link_username, sizeof(link_username), + link_host, sizeof(link_host), &link_port, + link_resource, sizeof(link_resource)); + httpAssembleURI(HTTP_URI_CODING_ALL, link_url, sizeof(link_url), + "http", link_username, link_host, link_port, + link_resource); + } + + msg = new_message(notify_sequence_number->values[0].integer, + xml_escape(subject), xml_escape(text), + notify_printer_uri ? xml_escape(link_url) : NULL, + printer_up_time->values[0].integer); + + if (!msg) + { + fprintf(stderr, "ERROR: Unable to create message: %s\n", + strerror(errno)); + exit_status = 1; + break; + } + + /* + * Add it to the array... + */ + + cupsArrayAdd(rss, msg); + + changed = 1; + + /* + * Trim the array as needed... + */ + + while (cupsArrayCount(rss) > max_events) + { + msg = cupsArrayFirst(rss); + + cupsArrayRemove(rss, msg); + + delete_message(msg); + } + } + + if (subject) + free(subject); + + if (text) + free(text); + + ippDelete(event); + event = NULL; + } + + /* + * We only get here when idle or error... + */ + + ippDelete(event); + + if (http) + { + unlink(filename); + httpClose(http); + } + + return (exit_status); +} + + +/* + * 'compare_rss()' - Compare two messages. + */ + +static int /* O - Result of comparison */ +compare_rss(_cups_rss_t *a, /* I - First message */ + _cups_rss_t *b) /* I - Second message */ +{ + return (a->sequence_number - b->sequence_number); +} + + +/* + * 'delete_message()' - Free all memory used by a message. + */ + +static void +delete_message(_cups_rss_t *msg) /* I - RSS message */ +{ + if (msg->subject) + free(msg->subject); + + if (msg->text) + free(msg->text); + + if (msg->link_url) + free(msg->link_url); + + free(msg); +} + + +/* + * 'load_rss()' - Load an existing RSS feed file. + */ + +static void +load_rss(cups_array_t *rss, /* I - RSS messages */ + const char *filename) /* I - File to load */ +{ + FILE *fp; /* File pointer */ + char line[4096], /* Line from file */ + *subject, /* Subject */ + *text, /* Text */ + *link_url, /* Link URL */ + *start, /* Start of element */ + *end; /* End of element */ + time_t event_time; /* Event time */ + int sequence_number; /* Sequence number */ + int in_item; /* In an item */ + _cups_rss_t *msg; /* New message */ + + + if ((fp = fopen(filename, "r")) == NULL) + { + if (errno != ENOENT) + fprintf(stderr, "ERROR: Unable to open %s: %s\n", filename, + strerror(errno)); + + return; + } + + subject = NULL; + text = NULL; + link_url = NULL; + event_time = 0; + sequence_number = 0; + in_item = 0; + + while (fgets(line, sizeof(line), fp)) + { + if (strstr(line, "")) + in_item = 1; + else if (strstr(line, "") && in_item) + { + if (subject && text) + { + msg = new_message(sequence_number, subject, text, link_url, + event_time); + + if (msg) + cupsArrayAdd(rss, msg); + + } + else + { + if (subject) + free(subject); + + if (text) + free(text); + + if (link_url) + free(link_url); + } + + subject = NULL; + text = NULL; + link_url = NULL; + event_time = 0; + sequence_number = 0; + in_item = 0; + } + else if (!in_item) + continue; + else if ((start = strstr(line, "")) != NULL) + { + start += 7; + if ((end = strstr(start, "")) != NULL) + { + *end = '\0'; + subject = strdup(start); + } + } + else if ((start = strstr(line, "")) != NULL) + { + start += 13; + if ((end = strstr(start, "")) != NULL) + { + *end = '\0'; + text = strdup(start); + } + } + else if ((start = strstr(line, "")) != NULL) + { + start += 6; + if ((end = strstr(start, "")) != NULL) + { + *end = '\0'; + link_url = strdup(start); + } + } + else if ((start = strstr(line, "")) != NULL) + { + start += 9; + if ((end = strstr(start, "")) != NULL) + { + *end = '\0'; + event_time = httpGetDateTime(start); + } + } + else if ((start = strstr(line, "")) != NULL) + sequence_number = atoi(start + 6); + } + + if (subject) + free(subject); + + if (text) + free(text); + + if (link_url) + free(link_url); + + fclose(fp); +} + + +/* + * 'new_message()' - Create a new RSS message. + */ + +static _cups_rss_t * /* O - New message */ +new_message(int sequence_number, /* I - notify-sequence-number */ + char *subject, /* I - Subject/summary */ + char *text, /* I - Text */ + char *link_url, /* I - Link to printer */ + time_t event_time) /* I - Date/time of event */ +{ + _cups_rss_t *msg; /* New message */ + + + if ((msg = calloc(1, sizeof(_cups_rss_t))) == NULL) + return (NULL); + + msg->sequence_number = sequence_number; + msg->subject = subject; + msg->text = text; + msg->link_url = link_url; + msg->event_time = event_time; + + return (msg); +} + + +/* + * 'password_cb()' - Return the cached password. + */ + +static const char * /* O - Cached password */ +password_cb(const char *prompt) /* I - Prompt string, unused */ +{ + (void)prompt; + + return (rss_password); +} + + +/* + * 'save_rss()' - Save messages to a RSS file. + */ + +static int /* O - 1 on success, 0 on failure */ +save_rss(cups_array_t *rss, /* I - RSS messages */ + const char *filename, /* I - File to save to */ + const char *baseurl) /* I - Base URL */ +{ + FILE *fp; /* File pointer */ + _cups_rss_t *msg; /* Current message */ + char date[1024]; /* Current date */ + char *href; /* Escaped base URL */ + + + if ((fp = fopen(filename, "w")) == NULL) + { + fprintf(stderr, "ERROR: Unable to create %s: %s\n", filename, + strerror(errno)); + return (0); + } + + fchmod(fileno(fp), 0644); + + fputs("\n", fp); + fputs("\n", fp); + fputs(" \n", fp); + fputs(" CUPS RSS Feed\n", fp); + + href = xml_escape(baseurl); + fprintf(fp, " %s\n", href); + free(href); + + fputs(" CUPS RSS Feed\n", fp); + fputs(" " CUPS_SVERSION "\n", fp); + fputs(" 1\n", fp); + + fprintf(fp, " %s\n", + httpGetDateString2(time(NULL), date, sizeof(date))); + + for (msg = (_cups_rss_t *)cupsArrayLast(rss); + msg; + msg = (_cups_rss_t *)cupsArrayPrev(rss)) + { + char *subject = xml_escape(msg->subject); + char *text = xml_escape(msg->text); + + fputs(" \n", fp); + fprintf(fp, " %s\n", subject); + fprintf(fp, " %s\n", text); + if (msg->link_url) + fprintf(fp, " %s\n", msg->link_url); + fprintf(fp, " %s\n", + httpGetDateString2(msg->event_time, date, sizeof(date))); + fprintf(fp, " %d\n", msg->sequence_number); + fputs(" \n", fp); + + free(subject); + free(text); + } + + fputs(" \n", fp); + fputs("\n", fp); + + return (!fclose(fp)); +} + + +/* + * 'xml_escape()' - Copy a string, escaping &, <, and > as needed. + */ + +static char * /* O - Escaped string */ +xml_escape(const char *s) /* I - String to escape */ +{ + char *e, /* Escaped string */ + *eptr; /* Pointer into escaped string */ + const char *sptr; /* Pointer into string */ + size_t bytes; /* Bytes needed for string */ + + + /* + * First figure out how many extra bytes we need... + */ + + for (bytes = 0, sptr = s; *sptr; sptr ++) + if (*sptr == '&') + bytes += 4; /* & */ + else if (*sptr == '<' || *sptr == '>') + bytes += 3; /* < and > */ + + /* + * If there is nothing to escape, just strdup() it... + */ + + if (bytes == 0) + return (strdup(s)); + + /* + * Otherwise allocate memory and copy... + */ + + if ((e = malloc(bytes + 1 + strlen(s))) == NULL) + return (NULL); + + for (eptr = e, sptr = s; *sptr; sptr ++) + if (*sptr == '&') + { + *eptr++ = '&'; + *eptr++ = 'a'; + *eptr++ = 'm'; + *eptr++ = 'p'; + *eptr++ = ';'; + } + else if (*sptr == '<') + { + *eptr++ = '&'; + *eptr++ = 'l'; + *eptr++ = 't'; + *eptr++ = ';'; + } + else if (*sptr == '>') + { + *eptr++ = '&'; + *eptr++ = 'g'; + *eptr++ = 't'; + *eptr++ = ';'; + } + else + *eptr++ = *sptr; + + *eptr = '\0'; + + return (e); +} diff --git a/notifier/testnotify.c b/notifier/testnotify.c new file mode 100644 index 0000000..ce4594b --- /dev/null +++ b/notifier/testnotify.c @@ -0,0 +1,111 @@ +/* + * Test notifier for CUPS. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include + + +/* + * Local functions... + */ + +void print_attributes(ipp_t *ipp, int indent); + + +/* + * 'main()' - Main entry for the test notifier. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + ipp_t *event; /* Event from scheduler */ + ipp_state_t state; /* IPP event state */ + + + setbuf(stderr, NULL); + + fprintf(stderr, "DEBUG: argc=%d\n", argc); + for (i = 0; i < argc; i ++) + fprintf(stderr, "DEBUG: argv[%d]=\"%s\"\n", i, argv[i]); + fprintf(stderr, "DEBUG: TMPDIR=\"%s\"\n", getenv("TMPDIR")); + + for (;;) + { + event = ippNew(); + while ((state = ippReadFile(0, event)) != IPP_DATA) + { + if (state <= IPP_IDLE) + break; + } + + if (state == IPP_ERROR) + fputs("DEBUG: ippReadFile() returned IPP_ERROR!\n", stderr); + + if (state <= IPP_IDLE) + { + ippDelete(event); + return (0); + } + + print_attributes(event, 4); + ippDelete(event); + + /* + * If the recipient URI is "testnotify://nowait", then we exit after each + * event... + */ + + if (!strcmp(argv[1], "testnotify://nowait")) + return (0); + } +} + + +/* + * 'print_attributes()' - Print the attributes in a request... + */ + +void +print_attributes(ipp_t *ipp, /* I - IPP request */ + int indent) /* I - Indentation */ +{ + ipp_tag_t group; /* Current group */ + ipp_attribute_t *attr; /* Current attribute */ + char buffer[1024]; /* Value buffer */ + + + for (group = IPP_TAG_ZERO, attr = ipp->attrs; attr; attr = attr->next) + { + if ((attr->group_tag == IPP_TAG_ZERO && indent <= 8) || !attr->name) + { + group = IPP_TAG_ZERO; + fputc('\n', stderr); + continue; + } + + if (group != attr->group_tag) + { + group = attr->group_tag; + + fprintf(stderr, "DEBUG: %*s%s:\n\n", indent - 4, "", ippTagString(group)); + } + + ippAttributeString(attr, buffer, sizeof(buffer)); + + fprintf(stderr, "DEBUG: %*s%s (%s%s) %s\n", indent, "", attr->name, + attr->num_values > 1 ? "1setOf " : "", + ippTagString(attr->value_tag), buffer); + } +} diff --git a/packaging/cups.list.in b/packaging/cups.list.in new file mode 100644 index 0000000..537c194 --- /dev/null +++ b/packaging/cups.list.in @@ -0,0 +1,691 @@ +# +# ESP Package Manager (EPM) file list for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2007 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +# Product information +%product CUPS +%copyright 2007-2019 by Apple Inc. +%vendor Apple Inc. +#%license LICENSE +%readme LICENSE +%format rpm +# Red Hat and their epochs... +%version 1:@CUPS_VERSION@ +%format !rpm +%version @CUPS_VERSION@ +%format all +%description CUPS is the standards-based, open source printing system developed by +%description Apple Inc. for macOS® and other UNIX®-like operating systems. + +%format rpm +%provides lpd +%provides lpr +%provides LPRng +%replaces lpd +%replaces lpr +%replaces LPRng +%requires cups-libs 1:@CUPS_VERSION@ + +# Replace all of the old localization subpackages from CUPS 1.2/1.3 +%replaces cups-da +%replaces cups-de +%replaces cups-es +%replaces cups-et +%replaces cups-fi +%replaces cups-fr +%replaces cups-he +%replaces cups-id +%replaces cups-it +%replaces cups-ja +%replaces cups-ko +%replaces cups-nl +%replaces cups-no +%replaces cups-pl +%replaces cups-pt +%replaces cups-ru +%replaces cups-sv +%replaces cups-zh + + +%format deb +%provides cupsys +%provides cupsys-client +%provides cupsys-bsd +%requires cups-libs + +# Replace all of the old localization subpackages from CUPS 1.2/1.3 +%replaces cups-da +%replaces cups-de +%replaces cups-es +%replaces cups-et +%replaces cups-fi +%replaces cups-fr +%replaces cups-he +%replaces cups-id +%replaces cups-it +%replaces cups-ja +%replaces cups-ko +%replaces cups-nl +%replaces cups-no +%replaces cups-pl +%replaces cups-pt +%replaces cups-ru +%replaces cups-sv +%replaces cups-zh + + +%format pkg +%replaces SUNWlpmsg LP Alerts +%replaces SUNWlpr LP Print Service, (Root) +%replaces SUNWlps LP Print Service - Server, (Usr) +%replaces SUNWlpu LP Print Service - Client, (Usr) +%replaces SUNWpsu LP Print Server, (Usr) +%replaces SUNWpsr LP Print Server, (Root) +%replaces SUNWpcu LP Print Client, (Usr) +%replaces SUNWpcr LP Print Client, (Root) +%replaces SUNWppm +%replaces SUNWmp +%replaces SUNWscplp SunOS Print Compatibility + +%format inst +%replaces patch*.print_*.* 0 0 1289999999 1289999999 +%replaces maint*.print_*.* 0 0 1289999999 1289999999 +%replaces print 0 0 1289999999 1289999999 +%replaces fw_cups 0 0 1289999999 1289999999 +%incompat patch*.print_*.* 0 0 1289999999 1289999999 +%incompat maint*.print_*.* 0 0 1289999999 1289999999 +%incompat print 0 0 1289999999 1289999999 +%incompat fw_cups 0 0 1289999999 1289999999 +%requires cups.sw.libs + +# Replace all of the old localization subpackages from CUPS 1.2/1.3 +%replaces cups.sw.da +%replaces cups.sw.de +%replaces cups.sw.es +%replaces cups.sw.et +%replaces cups.sw.fi +%replaces cups.sw.fr +%replaces cups.sw.he +%replaces cups.sw.id +%replaces cups.sw.it +%replaces cups.sw.ja +%replaces cups.sw.ko +%replaces cups.sw.nl +%replaces cups.sw.no +%replaces cups.sw.pl +%replaces cups.sw.pt +%replaces cups.sw.ru +%replaces cups.sw.sv +%replaces cups.sw.zh + +%format portable +%requires cups-libs + +# Replace all of the old localization subpackages from CUPS 1.2/1.3 +%replaces cups-da +%replaces cups-de +%replaces cups-es +%replaces cups-et +%replaces cups-fi +%replaces cups-fr +%replaces cups-he +%replaces cups-id +%replaces cups-it +%replaces cups-ja +%replaces cups-ko +%replaces cups-nl +%replaces cups-no +%replaces cups-pl +%replaces cups-pt +%replaces cups-ru +%replaces cups-sv +%replaces cups-zh + +%format all + +%subpackage libs +%description Shared libraries +%format deb +%provides libcups1 +%provides libcupsys2 +%provides libcupsys2-gnutls10 +%provides libcupsimage2 +%format all + +%subpackage devel +%description Development environment +%format deb +%provides libcupsys2-dev +%provides libcupsimage2-dev +%format all + +%subpackage lpd +%description LPD support + +%subpackage + + +# +# GNU variables... +# + +$prefix=@prefix@ +$exec_prefix=@exec_prefix@ +$bindir=@bindir@ +$datarootdir=@datarootdir@ +$datadir=@datadir@ +$includedir=@includedir@ +$infodir=@infodir@ +$libdir=@libdir@ +$libexecdir=@libexecdir@ +$localstatedir=@localstatedir@ +$mandir=@mandir@ +$oldincludedir=@oldincludedir@ +$sbindir=@sbindir@ +$sharedstatedir=@sharedstatedir@ +$srcdir=@srcdir@ +$sysconfdir=@sysconfdir@ +$top_srcdir=@top_srcdir@ + +# +# CUPS variables... +# + +$AMANDIR=@AMANDIR@ +$BINDIR=@bindir@ +$CACHEDIR=@CUPS_CACHEDIR@ +$DATADIR=@CUPS_DATADIR@ +$DOCDIR=@CUPS_DOCROOT@ +$INCLUDEDIR=${includedir} +$INITDIR=@INITDIR@ +$INITDDIR=@INITDDIR@ +$LIBDIR=${libdir} +$LOCALEDIR=@CUPS_LOCALEDIR@ +$LOGDIR=@CUPS_LOGDIR@ +$MANDIR=@mandir@ +$PAMDIR=@PAMDIR@ +$PMANDIR=@PMANDIR@ +$REQUESTS=@CUPS_REQUESTS@ +$SBINDIR=@sbindir@ +$SERVERBIN=@CUPS_SERVERBIN@ +$SERVERROOT=@CUPS_SERVERROOT@ +$STATEDIR=@CUPS_STATEDIR@ +$XINETD=@XINETD@ +$LIB32DIR=@LIB32DIR@ +$LIB64DIR=@LIB64DIR@ + +$MDNS=@MDNS@ + +$CUPS_USER=@CUPS_USER@ +$CUPS_GROUP=@CUPS_GROUP@ +$CUPS_PRIMARY_SYSTEM_GROUP=@CUPS_PRIMARY_SYSTEM_GROUP@ +$CUPS_PERM=0@CUPS_CONFIG_FILE_PERM@ + +$INSTALLSTATIC=@INSTALLSTATIC@ + +$LIBZ=@LIBZ@ +$DSOLIBS=@DSOLIBS@ + +# Make sure the MD5 password file is now owned by CUPS_USER... +%postinstall if test -f $SERVERROOT/passwd.md5; then +%postinstall chown $CUPS_USER $SERVERROOT/passwd.md5 +%postinstall fi + +# Make sure the shared libraries are refreshed... +%subpackage libs +%system linux +%postinstall ldconfig +%system all +%subpackage + +# Server programs +%system all +# Server files +f 0555 root sys $SBINDIR/cupsd scheduler/cupsd + +d 0755 root sys $SERVERBIN - +%system darwin +d 0755 root sys $SERVERBIN/apple - +f 0555 root sys $SERVERBIN/apple/ipp backend/ipp +l 0755 root sys $SERVERBIN/apple/http ipp +l 0755 root sys $SERVERBIN/apple/https ipp +l 0755 root sys $SERVERBIN/apple/ipps ipp +%system all +d 0755 root sys $SERVERBIN/backend - +f 0500 root sys $SERVERBIN/backend/ipp backend/ipp +l 0700 root sys $SERVERBIN/backend/http ipp +l 0700 root sys $SERVERBIN/backend/https ipp +l 0700 root sys $SERVERBIN/backend/ipps ipp +f 0500 root sys $SERVERBIN/backend/lpd backend/lpd +%if DNSSD_BACKEND +f 0500 root sys $SERVERBIN/backend/dnssd backend/dnssd +%system darwin +l 0700 root sys $SERVERBIN/backend/mdns dnssd +%system all +%endif +f 0555 root sys $SERVERBIN/backend/snmp backend/snmp +f 0555 root sys $SERVERBIN/backend/socket backend/socket +f 0555 root sys $SERVERBIN/backend/usb backend/usb +d 0755 root sys $SERVERBIN/cgi-bin - +f 0555 root sys $SERVERBIN/cgi-bin/admin.cgi cgi-bin/admin.cgi +f 0555 root sys $SERVERBIN/cgi-bin/classes.cgi cgi-bin/classes.cgi +f 0555 root sys $SERVERBIN/cgi-bin/help.cgi cgi-bin/help.cgi +f 0555 root sys $SERVERBIN/cgi-bin/jobs.cgi cgi-bin/jobs.cgi +f 0555 root sys $SERVERBIN/cgi-bin/printers.cgi cgi-bin/printers.cgi +d 0755 root sys $SERVERBIN/command - +f 0555 root sys $SERVERBIN/command/ippevepcl tools/ippevepcl +f 0555 root sys $SERVERBIN/command/ippeveps tools/ippeveps +d 0755 root sys $SERVERBIN/daemon - +f 0555 root sys $SERVERBIN/daemon/cups-deviced scheduler/cups-deviced +f 0555 root sys $SERVERBIN/daemon/cups-driverd scheduler/cups-driverd +d 0755 root sys $SERVERBIN/driver - +d 0755 root sys $SERVERBIN/filter - +f 0555 root sys $SERVERBIN/filter/commandtops filter/commandtops +f 0555 root sys $SERVERBIN/filter/gziptoany filter/gziptoany +f 0555 root sys $SERVERBIN/filter/pstops filter/pstops +f 0555 root sys $SERVERBIN/filter/rastertolabel filter/rastertolabel +l 0755 root sys $SERVERBIN/filter/rastertodymo rastertolabel +f 0555 root sys $SERVERBIN/filter/rastertoepson filter/rastertoepson +f 0555 root sys $SERVERBIN/filter/rastertohp filter/rastertohp +f 0555 root sys $SERVERBIN/filter/rastertopwg filter/rastertopwg +d 0755 root sys $SERVERBIN/notifier - +f 0555 root sys $SERVERBIN/notifier/mailto notifier/mailto + +%subpackage lpd +d 0755 root sys $SERVERBIN/daemon - +f 0555 root sys $SERVERBIN/daemon/cups-lpd scheduler/cups-lpd +%subpackage + +# Admin commands +d 0755 root sys $SBINDIR - +f 0555 root sys $SBINDIR/cupsaccept systemv/cupsaccept +f 0555 root sys $SBINDIR/cupsctl systemv/cupsctl +l 0755 root sys $SBINDIR/cupsdisable cupsaccept +l 0755 root sys $SBINDIR/cupsenable cupsaccept +l 0755 root sys $SBINDIR/cupsreject cupsaccept +f 0555 root sys $SBINDIR/lpadmin systemv/lpadmin +f 0555 root sys $SBINDIR/lpc berkeley/lpc +f 0555 root sys $SBINDIR/lpinfo systemv/lpinfo +f 0555 root sys $SBINDIR/lpmove systemv/lpmove + +%system irix +l 0755 root sys /usr/etc/lpc $SBINDIR/lpc +%system all + +# User commands +d 0755 root sys $BINDIR - +f 0555 root sys $BINDIR/cancel systemv/cancel +f 0555 root sys $BINDIR/cupstestppd systemv/cupstestppd +f 0555 root sys $BINDIR/ippeveprinter tools/ippeveprinter +%if DNSSD_BACKEND +f 0555 root sys $BINDIR/ippfind tools/ippfind +%endif +f 0555 root sys $BINDIR/ipptool tools/ipptool +f 0555 root sys $BINDIR/lp systemv/lp +f 0555 root sys $BINDIR/lpoptions systemv/lpoptions +f 0555 root sys $BINDIR/lpq berkeley/lpq +f 0555 root sys $BINDIR/lpr berkeley/lpr +f 0555 root sys $BINDIR/lprm berkeley/lprm +f 0555 root sys $BINDIR/lpstat systemv/lpstat + +%system irix +l 0755 root sys /usr/bsd/lpq $BINDIR/lpq +l 0755 root sys /usr/bsd/lpr $BINDIR/lpr +l 0755 root sys /usr/bsd/lprm $BINDIR/lprm +%system all + +# DSOs +%if DSOLIBS +%subpackage libs +%system darwin +f 0555 root sys $LIBDIR/libcups.2.dylib cups/libcups.2.dylib nostrip() +l 0755 root sys $LIBDIR/libcups.dylib libcups.2.dylib +f 0555 root sys $LIBDIR/libcupsimage.2.dylib filter/libcupsimage.2.dylib nostrip() +l 0755 root sys $LIBDIR/libcupsimage.dylib libcupsimage.2.dylib +%system !darwin +f 0555 root sys $LIBDIR/libcups.so.2 cups/libcups.so.2 nostrip() +l 0755 root sys $LIBDIR/libcups.so libcups.so.2 +f 0555 root sys $LIBDIR/libcupsimage.so.2 filter/libcupsimage.so.2 nostrip() +l 0755 root sys $LIBDIR/libcupsimage.so libcupsimage.so.2 +%system all +%subpackage +%endif + +# Directories +d 0755 root sys $LOGDIR - +d 0710 root $CUPS_GROUP $REQUESTS - +d 1770 root $CUPS_GROUP $REQUESTS/tmp - +d 0775 root $CUPS_GROUP $CACHEDIR - +d 0775 root $CUPS_GROUP $CACHEDIR/rss - +#d 0755 root $CUPS_GROUP $CACHEDIR/ppd - +%system !darwin +d 0755 root $CUPS_GROUP $STATEDIR - +%system all +d 0511 root $CUPS_PRIMARY_SYSTEM_GROUP $STATEDIR/certs - + +# Data files +f 0444 root sys $LOCALEDIR/ca/cups_ca.po locale/cups_ca.po +f 0444 root sys $LOCALEDIR/cs/cups_cs.po locale/cups_cs.po +#f 0444 root sys $LOCALEDIR/da/cups_da.po locale/cups_da.po +f 0444 root sys $LOCALEDIR/de/cups_de.po locale/cups_de.po +f 0444 root sys $LOCALEDIR/es/cups_es.po locale/cups_es.po +#f 0444 root sys $LOCALEDIR/et/cups_et.po locale/cups_et.po +#f 0444 root sys $LOCALEDIR/eu/cups_eu.po locale/cups_eu.po +#f 0444 root sys $LOCALEDIR/fi/cups_fi.po locale/cups_fi.po +f 0444 root sys $LOCALEDIR/fr/cups_fr.po locale/cups_fr.po +#f 0444 root sys $LOCALEDIR/he/cups_he.po locale/cups_he.po +#f 0444 root sys $LOCALEDIR/id/cups_id.po locale/cups_id.po +f 0444 root sys $LOCALEDIR/it/cups_it.po locale/cups_it.po +f 0444 root sys $LOCALEDIR/ja/cups_ja.po locale/cups_ja.po +#f 0444 root sys $LOCALEDIR/ko/cups_ko.po locale/cups_ko.po +#f 0444 root sys $LOCALEDIR/nl/cups_nl.po locale/cups_nl.po +#f 0444 root sys $LOCALEDIR/no/cups_no.po locale/cups_no.po +#f 0444 root sys $LOCALEDIR/pl/cups_pl.po locale/cups_pl.po +#f 0444 root sys $LOCALEDIR/pt/cups_pt.po locale/cups_pt.po +f 0444 root sys $LOCALEDIR/pt_BR/cups_pt_BR.po locale/cups_pt_BR.po +f 0444 root sys $LOCALEDIR/ru/cups_ru.po locale/cups_ru.po +#f 0444 root sys $LOCALEDIR/sv/cups_sv.po locale/cups_sv.po +#f 0444 root sys $LOCALEDIR/zh/cups_zh.po locale/cups_zh.po +#f 0444 root sys $LOCALEDIR/zh_TW/cups_zh_TW.po locale/cups_zh_TW.po + +d 0755 root sys $DATADIR - + +d 0755 root sys $DATADIR/banners - + +d 0755 root sys $DATADIR/data - + +d 0755 root sys $DATADIR/drv - +f 0444 root sys $DATADIR/drv/sample.drv ppdc/sample.drv + +d 0755 root sys $DATADIR/examples - +f 0444 root sys $DATADIR/examples examples/*.drv + +d 0755 root sys $DATADIR/ipptool - +f 0444 root sys $DATADIR/ipptool examples/*.jpg +f 0444 root sys $DATADIR/ipptool examples/*.test +f 0444 root sys $DATADIR/ipptool examples/document-*.p* +f 0444 root sys $DATADIR/ipptool examples/onepage-*.p* +f 0444 root sys $DATADIR/ipptool examples/testfile.* + +d 0755 root sys $DATADIR/mime - +f 0444 root sys $DATADIR/mime/mime.convs conf/mime.convs +f 0444 root sys $DATADIR/mime/mime.types conf/mime.types + +d 0755 root sys $DATADIR/model - + +d 0755 root sys $DATADIR/ppdc - +f 0444 root sys $DATADIR/ppdc data/*.defs +f 0444 root sys $DATADIR/ppdc data/*.h + +d 0755 root sys $DATADIR/templates - +f 0444 root sys $DATADIR/templates templates/*.tmpl + +## Template files +d 0755 root sys $DATADIR/templates/de +f 0444 root sys $DATADIR/templates/de templates/de/*.tmpl + +d 0755 root sys $DATADIR/templates/es +f 0444 root sys $DATADIR/templates/es templates/es/*.tmpl + +#d 0755 root sys $DATADIR/templates/et +#f 0444 root sys $DATADIR/templates/et templates/et/*.tmpl + +#d 0755 root sys $DATADIR/templates/eu +#f 0444 root sys $DATADIR/templates/eu templates/eu/*.tmpl + +d 0755 root sys $DATADIR/templates/fr +f 0444 root sys $DATADIR/templates/fr templates/fr/*.tmpl + +#d 0755 root sys $DATADIR/templates/he +#f 0444 root sys $DATADIR/templates/he templates/he/*.tmpl + +#d 0755 root sys $DATADIR/templates/id +#f 0444 root sys $DATADIR/templates/id templates/id/*.tmpl + +#d 0755 root sys $DATADIR/templates/it +#f 0444 root sys $DATADIR/templates/it templates/it/*.tmpl + +d 0755 root sys $DATADIR/templates/ja +f 0444 root sys $DATADIR/templates/ja templates/ja/*.tmpl + +#d 0755 root sys $DATADIR/templates/pl +#f 0444 root sys $DATADIR/templates/pl templates/pl/*.tmpl + +d 0755 root sys $DATADIR/templates/pt_BR +f 0444 root sys $DATADIR/templates/pt_BR templates/pt_BR/*.tmpl + +d 0755 root sys $DATADIR/templates/ru +f 0444 root sys $DATADIR/templates/ru templates/ru/*.tmpl + +#d 0755 root sys $DATADIR/templates/sv +#f 0444 root sys $DATADIR/templates/sv templates/sv/*.tmpl + +#d 0755 root sys $DATADIR/templates/zh_TW +#f 0444 root sys $DATADIR/templates/zh_TW templates/zh_TW/*.tmpl + +# Config files +d 0755 root $CUPS_GROUP $SERVERROOT - +d 0755 root $CUPS_GROUP $SERVERROOT/ppd - +d 0700 root $CUPS_GROUP $SERVERROOT/ssl - +c $CUPS_PERM root $CUPS_GROUP $SERVERROOT/cups-files.conf conf/cups-files.conf +f $CUPS_PERM root $CUPS_GROUP $SERVERROOT/cups-files.conf.default conf/cups-files.conf +c $CUPS_PERM root $CUPS_GROUP $SERVERROOT/cupsd.conf conf/cupsd.conf +f $CUPS_PERM root $CUPS_GROUP $SERVERROOT/cupsd.conf.default conf/cupsd.conf +c $CUPS_PERM root $CUPS_GROUP $SERVERROOT/snmp.conf conf/snmp.conf + +%if PAMDIR +d 0755 root sys $PAMDIR - +c 0644 root sys $PAMDIR/cups conf/@PAMFILE@ +%endif + +%subpackage devel +# Developer files +f 0555 root sys $BINDIR/cups-config cups-config +d 0755 root sys $INCLUDEDIR/cups - +f 0444 root sys $INCLUDEDIR/cups/adminutil.h cups/adminutil.h +f 0444 root sys $INCLUDEDIR/cups/array.h cups/array.h +f 0444 root sys $INCLUDEDIR/cups/backend.h cups/backend.h +f 0444 root sys $INCLUDEDIR/cups/cups.h cups/cups.h +f 0444 root sys $INCLUDEDIR/cups/dir.h cups/dir.h +f 0444 root sys $INCLUDEDIR/cups/file.h cups/file.h +f 0444 root sys $INCLUDEDIR/cups/http.h cups/http.h +f 0444 root sys $INCLUDEDIR/cups/ipp.h cups/ipp.h +f 0444 root sys $INCLUDEDIR/cups/language.h cups/language.h +f 0444 root sys $INCLUDEDIR/cups/ppd.h cups/ppd.h +f 0444 root sys $INCLUDEDIR/cups/pwg.h cups/pwg.h +f 0444 root sys $INCLUDEDIR/cups/raster.h cups/raster.h +f 0444 root sys $INCLUDEDIR/cups/sidechannel.h cups/sidechannel.h +f 0444 root sys $INCLUDEDIR/cups/transcode.h cups/transcode.h +f 0444 root sys $INCLUDEDIR/cups/versioning.h cups/versioning.h + +%if INSTALLSTATIC +f 0444 root sys $LIBDIR/libcups.a cups/libcups.a +f 0444 root sys $LIBDIR/libcupsimage.a filter/libcupsimage.a +%endif + +d 0755 root sys $DOCDIR/help - +f 0444 root sys $DOCDIR/help doc/help/api*.html +f 0444 root sys $DOCDIR/help doc/help/cupspm.* +f 0444 root sys $DOCDIR/help/postscript-driver.html doc/help/postscript-driver.html +f 0444 root sys $DOCDIR/help/ppd-compiler.html doc/help/ppd-compiler.html +f 0444 root sys $DOCDIR/help/raster-driver.html doc/help/raster-driver.html +f 0444 root sys $DOCDIR/help doc/help/spec*.html +%subpackage + +# Documentation files +d 0755 root sys $DOCDIR - +f 0444 root sys $DOCDIR doc/*.css +f 0444 root sys $DOCDIR doc/*.html +f 0444 root sys $DOCDIR/apple-touch-icon.png doc/apple-touch-icon.png +d 0755 root sys $DOCDIR/help - +f 0444 root sys $DOCDIR/help/accounting.html doc/help/accounting.html +f 0444 root sys $DOCDIR/help/admin.html doc/help/admin.html +f 0444 root sys $DOCDIR/help/cgi.html doc/help/cgi.html +f 0444 root sys $DOCDIR/help/encryption.html doc/help/encryption.html +f 0444 root sys $DOCDIR/help/firewalls.html doc/help/firewalls.html +f 0444 root sys $DOCDIR/help/glossary.html doc/help/glossary.html +f 0444 root sys $DOCDIR/help/kerberos.html doc/help/kerberos.html +f 0444 root sys $DOCDIR/help/license.html doc/help/license.html +f 0444 root sys $DOCDIR/help/network.html doc/help/network.html +f 0444 root sys $DOCDIR/help/options.html doc/help/options.html +f 0444 root sys $DOCDIR/help/overview.html doc/help/overview.html +f 0444 root sys $DOCDIR/help/policies.html doc/help/policies.html +f 0444 root sys $DOCDIR/help/security.html doc/help/security.html +f 0444 root sys $DOCDIR/help/sharing.html doc/help/sharing.html +f 0444 root sys $DOCDIR/help/translation.html doc/help/translation.html +f 0444 root sys $DOCDIR/help doc/help/man-*.html +f 0444 root sys $DOCDIR/help doc/help/ref-*.html +d 0755 root sys $DOCDIR/images - +f 0444 root sys $DOCDIR/images doc/images/*.gif +f 0444 root sys $DOCDIR/images doc/images/*.jpg +f 0444 root sys $DOCDIR/images doc/images/*.png +f 0444 root sys $DOCDIR/robots.txt doc/robots.txt + +# Localized documentation files +d 0755 root sys $DOCDIR/de +f 0444 root sys $DOCDIR/de doc/de/*.html + +d 0755 root sys $DOCDIR/es +f 0444 root sys $DOCDIR/es doc/es/*.html + +#d 0755 root sys $DOCDIR/et +#f 0444 root sys $DOCDIR/et doc/et/*.html + +#d 0755 root sys $DOCDIR/eu +#f 0444 root sys $DOCDIR/eu doc/eu/*.html + +#d 0755 root sys $DOCDIR/fr +#f 0444 root sys $DOCDIR/fr doc/fr/*.html + +#d 0755 root sys $DOCDIR/he +#f 0444 root sys $DOCDIR/he doc/he/*.html +#f 0444 root sys $DOCDIR/he/cups.css doc/he/cups.css + +#d 0755 root sys $DOCDIR/id +#f 0444 root sys $DOCDIR/id doc/id/*.html + +#d 0755 root sys $DOCDIR/it +#f 0444 root sys $DOCDIR/it doc/it/*.html + +d 0755 root sys $DOCDIR/ja +f 0444 root sys $DOCDIR/ja doc/ja/*.html + +#d 0755 root sys $DOCDIR/pl +#f 0444 root sys $DOCDIR/pl doc/pl/*.html + +d 0755 root sys $DOCDIR/pt_BR +f 0444 root sys $DOCDIR/pt_BR doc/pt_BR/*.html + +d 0755 root sys $DOCDIR/ru +f 0444 root sys $DOCDIR/ru doc/ru/*.html + +#d 0755 root sys $DOCDIR/sv +#f 0444 root sys $DOCDIR/sv doc/sv/*.html + +#d 0755 root sys $DOCDIR/zh_TW +#f 0444 root sys $DOCDIR/zh_TW doc/zh_TW/*.html + +# Man pages +d 0755 root sys $AMANDIR - +d 0755 root sys $AMANDIR/man8 - +d 0755 root sys $MANDIR - +d 0755 root sys $MANDIR/man1 - +d 0755 root sys $MANDIR/man5 - +d 0755 root sys $MANDIR/man7 - + +f 0444 root sys $MANDIR/man1/cancel.1 man/cancel.1 +f 0444 root sys $MANDIR/man1/cups.1 man/cups.1 +f 0444 root sys $MANDIR/man1/cupstestppd.1 man/cupstestppd.1 +f 0444 root sys $MANDIR/man1/ippeveprinter.1 man/ippeveprinter.1 +f 0444 root sys $MANDIR/man1/ippfind.1 man/ippfind.1 +f 0444 root sys $MANDIR/man1/ipptool.1 man/ipptool.1 +f 0444 root sys $MANDIR/man1/lp.1 man/lp.1 +f 0444 root sys $MANDIR/man1/lpoptions.1 man/lpoptions.1 +f 0444 root sys $MANDIR/man1/lpq.1 man/lpq.1 +f 0444 root sys $MANDIR/man1/lpr.1 man/lpr.1 +f 0444 root sys $MANDIR/man1/lprm.1 man/lprm.1 +f 0444 root sys $MANDIR/man1/lpstat.1 man/lpstat.1 + +f 0444 root sys $MANDIR/man5/classes.conf.5 man/classes.conf.5 +f 0444 root sys $MANDIR/man5/client.conf.5 man/client.conf.5 +f 0444 root sys $MANDIR/man5/cups-files.conf.5 man/cups-files.conf.5 +f 0444 root sys $MANDIR/man5/cups-snmp.conf.5 man/cups-snmp.conf.5 +f 0444 root sys $MANDIR/man5/cupsd.conf.5 man/cupsd.conf.5 +f 0444 root sys $MANDIR/man5/cupsd-logs.5 man/cupsd-logs.5 +f 0444 root sys $MANDIR/man5/ipptoolfile.5 man/ipptoolfile.5 +f 0444 root sys $MANDIR/man5/mailto.conf.5 man/mailto.conf.5 +f 0444 root sys $MANDIR/man5/mime.convs.5 man/mime.convs.5 +f 0444 root sys $MANDIR/man5/mime.types.5 man/mime.types.5 +f 0444 root sys $MANDIR/man5/printers.conf.5 man/printers.conf.5 + +f 0444 root sys $MANDIR/man7/ippevepcl.7 man/ippevepcl.7 +l 0644 root sys $MANDIR/man7/ippeveps.7 ippevepcl.7 + +f 0444 root sys $AMANDIR/man8/cupsaccept.8 man/cupsaccept.8 +l 0644 root sys $AMANDIR/man8/cupsreject.8 cupsaccept.8 +f 0444 root sys $AMANDIR/man8/cupsctl.8 man/cupsctl.8 +f 0444 root sys $AMANDIR/man8/cupsfilter.8 man/cupsfilter.8 +f 0444 root sys $AMANDIR/man8/cups-snmp.8 man/cups-snmp.8 +f 0444 root sys $AMANDIR/man8/cupsd.8 man/cupsd.8 +f 0444 root sys $AMANDIR/man8/cupsd-helper.8 man/cupsd-helper.8 +l 0644 root sys $AMANDIR/man8/cupsdisable.8 cupsenable.8 +f 0444 root sys $AMANDIR/man8/cupsenable.8 man/cupsenable.8 +f 0444 root sys $AMANDIR/man8/lpadmin.8 man/lpadmin.8 +f 0444 root sys $AMANDIR/man8/lpc.8 man/lpc.8 +f 0444 root sys $AMANDIR/man8/lpinfo.8 man/lpinfo.8 +f 0444 root sys $AMANDIR/man8/lpmove.8 man/lpmove.8 + +%subpackage devel +f 0444 root sys $MANDIR/man1/cups-config.1 man/cups-config.1 +f 0444 root sys $MANDIR/man1/ man/ppd*.1 +f 0444 root sys $MANDIR/man5/ppdcfile.5 man/ppdcfile.5 +f 0444 root sys $MANDIR/man7/backend.7 man/backend.7 +f 0444 root sys $MANDIR/man7/filter.7 man/filter.7 +f 0444 root sys $MANDIR/man7/notifier.7 man/notifier.7 + +%subpackage lpd +d 0755 root sys $AMANDIR/man8 - +f 0444 root sys $AMANDIR/man8/cups-lpd.8 man/cups-lpd.8 +%subpackage + +# Startup scripts +%system darwin +f 0444 root sys /System/Library/LaunchDaemons/org.cups.cupsd.plist scheduler/org.cups.cupsd.plist +%preremove <. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1999-2007 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +# Conditional build options (--with name/--without name): +# +# dbus - Enable/disable DBUS support (default = enable) +# dnssd - Enable/disable DNS-SD support (default = enable) +# libusb1 - Enable/disable LIBUSB 1.0 support (default = enable) +# static - Enable/disable static libraries (default = enable) +# systemd - Enable/disable systemd support (default = enable) + +%{!?_with_dbus: %{!?_without_dbus: %define _with_dbus --with-dbus}} +%{?_with_dbus: %define _dbus --enable-dbus} +%{!?_with_dbus: %define _dbus --disable-dbus} + +%{!?_with_dnssd: %{!?_without_dnssd: %define _with_dnssd --with-dnssd}} +%{?_with_dnssd: %define _dnssd --enable-avahi} +%{!?_with_dnssd: %define _dnssd --disable-avahi} + +%{!?_with_libusb1: %{!?_without_libusb1: %define _with_libusb1 --with-libusb1}} +%{?_with_libusb1: %define _libusb1 --enable-libusb} +%{!?_with_libusb1: %define _libusb1 --disable-libusb} + +%{!?_with_static: %{!?_without_static: %define _without_static --without-static}} +%{?_with_static: %define _static --enable-static} +%{!?_with_static: %define _static --disable-static} + +%{!?_with_systemd: %{!?_without_systemd: %define _with_systemd --with-systemd}} +%{?_with_systemd: %define _systemd --enable-systemd} +%{!?_with_systemd: %define _systemd --disable-systemd} + +Summary: CUPS +Name: cups +Version: 2.3.1 +Release: 0 +Epoch: 1 +License: GPL +Group: System Environment/Daemons +Source: https://github.com/apple/cups/releases/download/v2.3.1/cups-2.3.1-source.tar.gz +Url: http://www.cups.org +Packager: Anonymous +Vendor: Example Corp + +# Package names are as defined for Red Hat (and clone) distributions +BuildRequires: gnutls-devel, pam-devel + +%if %{?_with_dbus:1}%{!?_with_dbus:0} +BuildRequires: dbus-devel +%endif + +%if %{?_with_dnssd:1}%{!?_with_dnssd:0} +BuildRequires: avahi-devel +%endif + +%if %{?_with_libusb1:1}%{!?_with_libusb1:0} +BuildRequires: libusb-devel >= 1.0 +%endif + +%if %{?_with_systemd:1}%{!?_with_systemd:0} +BuildRequires: systemd-devel +%endif + +# Use buildroot so as not to disturb the version already installed +BuildRoot: /tmp/%{name}-root + +# Dependencies... +Requires: %{name}-libs = %{epoch}:%{version} +Obsoletes: lpd, lpr, LPRng +Provides: lpd, lpr, LPRng +Obsoletes: cups-da, cups-de, cups-es, cups-et, cups-fi, cups-fr, cups-he +Obsoletes: cups-id, cups-it, cups-ja, cups-ko, cups-nl, cups-no, cups-pl +Obsoletes: cups-pt, cups-ru, cups-sv, cups-zh + +%package devel +Summary: CUPS - development environment +Group: Development/Libraries +Requires: %{name}-libs = %{epoch}:%{version} + +%package libs +Summary: CUPS - shared libraries +Group: System Environment/Libraries +Provides: libcups1 + +%package lpd +Summary: CUPS - LPD support +Group: System Environment/Daemons +Requires: %{name} = %{epoch}:%{version} xinetd + +%description +CUPS is the standards-based, open source printing system developed by +Apple Inc. for macOS® and other UNIX®-like operating systems. + +%description devel +This package provides the CUPS headers and development environment. + +%description libs +This package provides the CUPS shared libraries. + +%description lpd +This package provides LPD client support. + +%prep +%setup + +%build +CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS" \ + ./configure %{_dbus} %{_dnssd} %{_libusb1} %{_static} %{_systemd} +# If we got this far, all prerequisite libraries must be here. +make + +%install +# Make sure the RPM_BUILD_ROOT directory exists. +rm -rf $RPM_BUILD_ROOT + +make BUILDROOT=$RPM_BUILD_ROOT install +rm -rf $RPM_BUILD_ROOT/usr/share/cups/banners $RPM_BUILD_ROOT/usr/share/cups/data + +%post +%if %{?_with_systemd:1}%{!?_with_systemd:0} +/bin/systemctl enable org.cups.cupsd.service + +if test $1 -ge 1; then + /bin/systemctl stop org.cups.cupsd.service + /bin/systemctl start org.cups.cupsd.service +fi + +%else +/sbin/chkconfig --add cups +/sbin/chkconfig cups on + +# Restart cupsd if we are upgrading... +if test $1 -gt 1; then + /sbin/service cups stop + /sbin/service cups start +fi +%endif + +%post libs +/sbin/ldconfig + +%preun +%if %{?_with_systemd:1}%{!?_with_systemd:0} +if test $1 -ge 1; then + /bin/systemctl stop org.cups.cupsd.service + /bin/systemctl disable org.cups.cupsd.service +fi + +%else +if test $1 = 0; then + /sbin/service cups stop + /sbin/chkconfig --del cups +fi +%endif + +%postun +%if %{?_with_systemd:1}%{!?_with_systemd:0} +if test $1 -ge 1; then + /bin/systemctl stop org.cups.cupsd.service + /bin/systemctl start org.cups.cupsd.service +fi + +%else +if test $1 -ge 1; then + /sbin/service cups stop + /sbin/service cups start +fi +%endif + +%postun libs +/sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%docdir /usr/share/doc/cups +%defattr(-,root,root) +%dir /etc/cups +%config(noreplace) /etc/cups/*.conf +/etc/cups/cups-files.conf.default +/etc/cups/cupsd.conf.default +/etc/cups/snmp.conf.default +%dir /etc/cups/ppd +%attr(0700,root,root) %dir /etc/cups/ssl + +%if %{?_with_dbus:1}%{!?_with_dbus:0} +# DBUS +/etc/dbus-1/system.d/* +%endif + +# PAM +%dir /etc/pam.d +/etc/pam.d/* + +%if %{?_with_systemd:1}%{!?_with_systemd:0} +# SystemD +/usr/lib/systemd/system/org.cups.cupsd.* + +%else +# Legacy init support on Linux +/etc/init.d/* +/etc/rc0.d/* +/etc/rc2.d/* +/etc/rc3.d/* +/etc/rc5.d/* +%endif + +/usr/bin/cancel +/usr/bin/cupstestppd +/usr/bin/ippeveprinter +/usr/bin/ipptool +/usr/bin/lp* +%dir /usr/lib/cups +%dir /usr/lib/cups/backend +%if %{?_with_dnssd:1}%{!?_with_dnssd:0} +# DNS-SD +/usr/bin/ippfind +/usr/lib/cups/backend/dnssd +%endif +/usr/lib/cups/backend/http +/usr/lib/cups/backend/https +%attr(0700,root,root) /usr/lib/cups/backend/ipp +/usr/lib/cups/backend/ipps +%attr(0700,root,root) /usr/lib/cups/backend/lpd +/usr/lib/cups/backend/snmp +/usr/lib/cups/backend/socket +/usr/lib/cups/backend/usb +%dir /usr/lib/cups/cgi-bin +/usr/lib/cups/cgi-bin/* +%dir /usr/lib/cups/command +/usr/lib/cups/command/* +%dir /usr/lib/cups/daemon +/usr/lib/cups/daemon/cups-deviced +/usr/lib/cups/daemon/cups-driverd +/usr/lib/cups/daemon/cups-exec +%dir /usr/lib/cups/driver +%dir /usr/lib/cups/filter +/usr/lib/cups/filter/* +%dir /usr/lib/cups/monitor +/usr/lib/cups/monitor/* +%dir /usr/lib/cups/notifier +/usr/lib/cups/notifier/* + +/usr/sbin/* +%dir /usr/share/cups +%dir /usr/share/cups/drv +/usr/share/cups/drv/* +%dir /usr/share/cups/ipptool +/usr/share/cups/ipptool/* +%dir /usr/share/cups/mime +/usr/share/cups/mime/* +%dir /usr/share/cups/model +%dir /usr/share/cups/ppdc +/usr/share/cups/ppdc/* +%dir /usr/share/cups/templates +/usr/share/cups/templates/* +%if %{?_with_libusb1:1}%{!?_with_libusb1:0} +# LIBUSB quirks files +%dir /usr/share/cups/usb +/usr/share/cups/usb/* +%endif + +%dir /usr/share/doc/cups +/usr/share/doc/cups/*.* +%dir /usr/share/doc/cups/help +/usr/share/doc/cups/help/accounting.html +/usr/share/doc/cups/help/admin.html +/usr/share/doc/cups/help/cgi.html +/usr/share/doc/cups/help/encryption.html +/usr/share/doc/cups/help/firewalls.html +/usr/share/doc/cups/help/glossary.html +/usr/share/doc/cups/help/kerberos.html +/usr/share/doc/cups/help/license.html +/usr/share/doc/cups/help/man-*.html +/usr/share/doc/cups/help/network.html +/usr/share/doc/cups/help/options.html +/usr/share/doc/cups/help/overview.html +/usr/share/doc/cups/help/policies.html +/usr/share/doc/cups/help/ref-*.html +/usr/share/doc/cups/help/security.html +/usr/share/doc/cups/help/sharing.html +/usr/share/doc/cups/help/translation.html +%dir /usr/share/doc/cups/images +/usr/share/doc/cups/images/* + +#%dir /usr/share/doc/cups/ca +#/usr/share/doc/cups/ca/* +#%dir /usr/share/doc/cups/cs +#/usr/share/doc/cups/cs/* +%dir /usr/share/doc/cups/de +/usr/share/doc/cups/de/* +%dir /usr/share/doc/cups/es +/usr/share/doc/cups/es/* +#%dir /usr/share/doc/cups/fr +#/usr/share/doc/cups/fr/* +%dir /usr/share/doc/cups/ja +/usr/share/doc/cups/ja/* +%dir /usr/share/doc/cups/pt_BR +/usr/share/doc/cups/pt_BR/* +%dir /usr/share/doc/cups/ru +/usr/share/doc/cups/ru/* + +%dir /usr/share/locale/ca +/usr/share/locale/ca/cups_ca.po +%dir /usr/share/locale/cs +/usr/share/locale/cs/cups_cs.po +%dir /usr/share/locale/de +/usr/share/locale/de/cups_de.po +%dir /usr/share/locale/en +/usr/share/locale/en/cups_en.po +%dir /usr/share/locale/es +/usr/share/locale/es/cups_es.po +%dir /usr/share/locale/fr +/usr/share/locale/fr/cups_fr.po +%dir /usr/share/locale/it +/usr/share/locale/it/cups_it.po +%dir /usr/share/locale/ja +/usr/share/locale/ja/cups_ja.po +%dir /usr/share/locale/pt_BR +/usr/share/locale/pt_BR/cups_pt_BR.po +%dir /usr/share/locale/ru +/usr/share/locale/ru/cups_ru.po +%dir /usr/share/locale/zh_CN +/usr/share/locale/zh_CN/cups_zh_CN.po + +%dir /usr/share/man/man1 +/usr/share/man/man1/cancel.1.gz +/usr/share/man/man1/cups.1.gz +/usr/share/man/man1/cupstestppd.1.gz +/usr/share/man/man1/ippeveprinter.1.gz +%if %{?_with_dnssd:1}%{!?_with_dnssd:0} +# DNS-SD +/usr/share/man/man1/ippfind.1.gz +%endif +/usr/share/man/man1/ipptool.1.gz +/usr/share/man/man1/lp.1.gz +/usr/share/man/man1/lpoptions.1.gz +/usr/share/man/man1/lpq.1.gz +/usr/share/man/man1/lpr.1.gz +/usr/share/man/man1/lprm.1.gz +/usr/share/man/man1/lpstat.1.gz +%dir /usr/share/man/man5 +/usr/share/man/man5/*.conf.5.gz +/usr/share/man/man5/cupsd-logs.5.gz +/usr/share/man/man5/ipptoolfile.5.gz +/usr/share/man/man5/mime.*.5.gz +%dir /usr/share/man/man7 +/usr/share/man/man7/ippevepcl.7.gz +/usr/share/man/man7/ippeveps.7.gz +%dir /usr/share/man/man8 +/usr/share/man/man8/cups-deviced.8.gz +/usr/share/man/man8/cups-driverd.8.gz +/usr/share/man/man8/cups-exec.8.gz +/usr/share/man/man8/cups-snmp.8.gz +/usr/share/man/man8/cupsaccept.8.gz +/usr/share/man/man8/cupsctl.8.gz +/usr/share/man/man8/cupsfilter.8.gz +/usr/share/man/man8/cupsd.8.gz +/usr/share/man/man8/cupsd-helper.8.gz +/usr/share/man/man8/cupsdisable.8.gz +/usr/share/man/man8/cupsenable.8.gz +/usr/share/man/man8/cupsreject.8.gz +/usr/share/man/man8/lpadmin.8.gz +/usr/share/man/man8/lpc.8.gz +/usr/share/man/man8/lpinfo.8.gz +/usr/share/man/man8/lpmove.8.gz + +%dir /var/cache/cups +%attr(0775,root,sys) %dir /var/cache/cups/rss +%dir /var/log/cups +%dir /var/run/cups +%attr(0711,lp,sys) %dir /var/run/cups/certs +%attr(0710,lp,sys) %dir /var/spool/cups +%attr(1770,lp,sys) %dir /var/spool/cups/tmp + +# Desktop files +/usr/share/applications/* +/usr/share/icons/* + +%files devel +%defattr(-,root,root) +%dir /usr/share/cups/examples +/usr/share/cups/examples/* +%dir /usr/share/man/man1 +/usr/share/man/man1/cups-config.1.gz +/usr/share/man/man1/ppd*.1.gz +%dir /usr/share/man/man5 +/usr/share/man/man5/ppdcfile.5.gz +/usr/share/man/man7/backend.7.gz +/usr/share/man/man7/filter.7.gz +/usr/share/man/man7/notifier.7.gz + +/usr/bin/cups-config +/usr/bin/ppd* +%dir /usr/include/cups +/usr/include/cups/* +/usr/lib*/*.so + +%if %{?_with_static:1}%{!?_with_static:0} +/usr/lib*/*.a +%endif + +%dir /usr/share/doc/cups/help +/usr/share/doc/cups/help/api*.html +/usr/share/doc/cups/help/cupspm.* +/usr/share/doc/cups/help/postscript-driver.html +/usr/share/doc/cups/help/ppd-compiler.html +/usr/share/doc/cups/help/raster-driver.html +/usr/share/doc/cups/help/spec*.html + +%files libs +%defattr(-,root,root) +/usr/lib*/*.so.* + +%files lpd +%defattr(-,root,root) +%if %{?_with_systemd:1}%{!?_with_systemd:0} +# SystemD +/usr/lib/systemd/system/org.cups.cups-lpd* +%else +# Legacy xinetd +/etc/xinetd.d/cups-lpd +%endif + +%dir /usr/lib/cups +%dir /usr/lib/cups/daemon +/usr/lib/cups/daemon/cups-lpd +%dir /usr/share/man/man8 +/usr/share/man/man8/cups-lpd.8.gz diff --git a/packaging/cups.spec.in b/packaging/cups.spec.in new file mode 100644 index 0000000..d37103c --- /dev/null +++ b/packaging/cups.spec.in @@ -0,0 +1,438 @@ +# +# RPM "spec" file for CUPS. +# +# Original version by Jason McMullan . +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1999-2007 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +# Conditional build options (--with name/--without name): +# +# dbus - Enable/disable DBUS support (default = enable) +# dnssd - Enable/disable DNS-SD support (default = enable) +# libusb1 - Enable/disable LIBUSB 1.0 support (default = enable) +# static - Enable/disable static libraries (default = enable) +# systemd - Enable/disable systemd support (default = enable) + +%{!?_with_dbus: %{!?_without_dbus: %define _with_dbus --with-dbus}} +%{?_with_dbus: %define _dbus --enable-dbus} +%{!?_with_dbus: %define _dbus --disable-dbus} + +%{!?_with_dnssd: %{!?_without_dnssd: %define _with_dnssd --with-dnssd}} +%{?_with_dnssd: %define _dnssd --enable-avahi} +%{!?_with_dnssd: %define _dnssd --disable-avahi} + +%{!?_with_libusb1: %{!?_without_libusb1: %define _with_libusb1 --with-libusb1}} +%{?_with_libusb1: %define _libusb1 --enable-libusb} +%{!?_with_libusb1: %define _libusb1 --disable-libusb} + +%{!?_with_static: %{!?_without_static: %define _without_static --without-static}} +%{?_with_static: %define _static --enable-static} +%{!?_with_static: %define _static --disable-static} + +%{!?_with_systemd: %{!?_without_systemd: %define _with_systemd --with-systemd}} +%{?_with_systemd: %define _systemd --enable-systemd} +%{!?_with_systemd: %define _systemd --disable-systemd} + +Summary: CUPS +Name: cups +Version: @CUPS_VERSION@ +Release: 0 +Epoch: 1 +License: GPL +Group: System Environment/Daemons +Source: https://github.com/apple/cups/releases/download/v%{version}/cups-%{version}-source.tar.gz +Url: http://www.cups.org +Packager: Anonymous +Vendor: Example Corp + +# Package names are as defined for Red Hat (and clone) distributions +BuildRequires: gnutls-devel, pam-devel + +%if %{?_with_dbus:1}%{!?_with_dbus:0} +BuildRequires: dbus-devel +%endif + +%if %{?_with_dnssd:1}%{!?_with_dnssd:0} +BuildRequires: avahi-devel +%endif + +%if %{?_with_libusb1:1}%{!?_with_libusb1:0} +BuildRequires: libusb-devel >= 1.0 +%endif + +%if %{?_with_systemd:1}%{!?_with_systemd:0} +BuildRequires: systemd-devel +%endif + +# Use buildroot so as not to disturb the version already installed +BuildRoot: /tmp/%{name}-root + +# Dependencies... +Requires: %{name}-libs = %{epoch}:%{version} +Obsoletes: lpd, lpr, LPRng +Provides: lpd, lpr, LPRng +Obsoletes: cups-da, cups-de, cups-es, cups-et, cups-fi, cups-fr, cups-he +Obsoletes: cups-id, cups-it, cups-ja, cups-ko, cups-nl, cups-no, cups-pl +Obsoletes: cups-pt, cups-ru, cups-sv, cups-zh + +%package devel +Summary: CUPS - development environment +Group: Development/Libraries +Requires: %{name}-libs = %{epoch}:%{version} + +%package libs +Summary: CUPS - shared libraries +Group: System Environment/Libraries +Provides: libcups1 + +%package lpd +Summary: CUPS - LPD support +Group: System Environment/Daemons +Requires: %{name} = %{epoch}:%{version} xinetd + +%description +CUPS is the standards-based, open source printing system developed by +Apple Inc. for macOS® and other UNIX®-like operating systems. + +%description devel +This package provides the CUPS headers and development environment. + +%description libs +This package provides the CUPS shared libraries. + +%description lpd +This package provides LPD client support. + +%prep +%setup + +%build +CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS" \ + ./configure %{_dbus} %{_dnssd} %{_libusb1} %{_static} %{_systemd} +# If we got this far, all prerequisite libraries must be here. +make + +%install +# Make sure the RPM_BUILD_ROOT directory exists. +rm -rf $RPM_BUILD_ROOT + +make BUILDROOT=$RPM_BUILD_ROOT install +rm -rf $RPM_BUILD_ROOT/usr/share/cups/banners $RPM_BUILD_ROOT/usr/share/cups/data + +%post +%if %{?_with_systemd:1}%{!?_with_systemd:0} +/bin/systemctl enable org.cups.cupsd.service + +if test $1 -ge 1; then + /bin/systemctl stop org.cups.cupsd.service + /bin/systemctl start org.cups.cupsd.service +fi + +%else +/sbin/chkconfig --add cups +/sbin/chkconfig cups on + +# Restart cupsd if we are upgrading... +if test $1 -gt 1; then + /sbin/service cups stop + /sbin/service cups start +fi +%endif + +%post libs +/sbin/ldconfig + +%preun +%if %{?_with_systemd:1}%{!?_with_systemd:0} +if test $1 -ge 1; then + /bin/systemctl stop org.cups.cupsd.service + /bin/systemctl disable org.cups.cupsd.service +fi + +%else +if test $1 = 0; then + /sbin/service cups stop + /sbin/chkconfig --del cups +fi +%endif + +%postun +%if %{?_with_systemd:1}%{!?_with_systemd:0} +if test $1 -ge 1; then + /bin/systemctl stop org.cups.cupsd.service + /bin/systemctl start org.cups.cupsd.service +fi + +%else +if test $1 -ge 1; then + /sbin/service cups stop + /sbin/service cups start +fi +%endif + +%postun libs +/sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%docdir /usr/share/doc/cups +%defattr(-,root,root) +%dir /etc/cups +%config(noreplace) /etc/cups/*.conf +/etc/cups/cups-files.conf.default +/etc/cups/cupsd.conf.default +/etc/cups/snmp.conf.default +%dir /etc/cups/ppd +%attr(0700,root,root) %dir /etc/cups/ssl + +%if %{?_with_dbus:1}%{!?_with_dbus:0} +# DBUS +/etc/dbus-1/system.d/* +%endif + +# PAM +%dir /etc/pam.d +/etc/pam.d/* + +%if %{?_with_systemd:1}%{!?_with_systemd:0} +# SystemD +/usr/lib/systemd/system/org.cups.cupsd.* + +%else +# Legacy init support on Linux +/etc/init.d/* +/etc/rc0.d/* +/etc/rc2.d/* +/etc/rc3.d/* +/etc/rc5.d/* +%endif + +/usr/bin/cancel +/usr/bin/cupstestppd +/usr/bin/ippeveprinter +/usr/bin/ipptool +/usr/bin/lp* +%dir /usr/lib/cups +%dir /usr/lib/cups/backend +%if %{?_with_dnssd:1}%{!?_with_dnssd:0} +# DNS-SD +/usr/bin/ippfind +/usr/lib/cups/backend/dnssd +%endif +/usr/lib/cups/backend/http +/usr/lib/cups/backend/https +%attr(0700,root,root) /usr/lib/cups/backend/ipp +/usr/lib/cups/backend/ipps +%attr(0700,root,root) /usr/lib/cups/backend/lpd +/usr/lib/cups/backend/snmp +/usr/lib/cups/backend/socket +/usr/lib/cups/backend/usb +%dir /usr/lib/cups/cgi-bin +/usr/lib/cups/cgi-bin/* +%dir /usr/lib/cups/command +/usr/lib/cups/command/* +%dir /usr/lib/cups/daemon +/usr/lib/cups/daemon/cups-deviced +/usr/lib/cups/daemon/cups-driverd +/usr/lib/cups/daemon/cups-exec +%dir /usr/lib/cups/driver +%dir /usr/lib/cups/filter +/usr/lib/cups/filter/* +%dir /usr/lib/cups/monitor +/usr/lib/cups/monitor/* +%dir /usr/lib/cups/notifier +/usr/lib/cups/notifier/* + +/usr/sbin/* +%dir /usr/share/cups +%dir /usr/share/cups/drv +/usr/share/cups/drv/* +%dir /usr/share/cups/ipptool +/usr/share/cups/ipptool/* +%dir /usr/share/cups/mime +/usr/share/cups/mime/* +%dir /usr/share/cups/model +%dir /usr/share/cups/ppdc +/usr/share/cups/ppdc/* +%dir /usr/share/cups/templates +/usr/share/cups/templates/* +%if %{?_with_libusb1:1}%{!?_with_libusb1:0} +# LIBUSB quirks files +%dir /usr/share/cups/usb +/usr/share/cups/usb/* +%endif + +%dir /usr/share/doc/cups +/usr/share/doc/cups/*.* +%dir /usr/share/doc/cups/help +/usr/share/doc/cups/help/accounting.html +/usr/share/doc/cups/help/admin.html +/usr/share/doc/cups/help/cgi.html +/usr/share/doc/cups/help/encryption.html +/usr/share/doc/cups/help/firewalls.html +/usr/share/doc/cups/help/glossary.html +/usr/share/doc/cups/help/kerberos.html +/usr/share/doc/cups/help/license.html +/usr/share/doc/cups/help/man-*.html +/usr/share/doc/cups/help/network.html +/usr/share/doc/cups/help/options.html +/usr/share/doc/cups/help/overview.html +/usr/share/doc/cups/help/policies.html +/usr/share/doc/cups/help/ref-*.html +/usr/share/doc/cups/help/security.html +/usr/share/doc/cups/help/sharing.html +/usr/share/doc/cups/help/translation.html +%dir /usr/share/doc/cups/images +/usr/share/doc/cups/images/* + +#%dir /usr/share/doc/cups/ca +#/usr/share/doc/cups/ca/* +#%dir /usr/share/doc/cups/cs +#/usr/share/doc/cups/cs/* +%dir /usr/share/doc/cups/de +/usr/share/doc/cups/de/* +%dir /usr/share/doc/cups/es +/usr/share/doc/cups/es/* +#%dir /usr/share/doc/cups/fr +#/usr/share/doc/cups/fr/* +%dir /usr/share/doc/cups/ja +/usr/share/doc/cups/ja/* +%dir /usr/share/doc/cups/pt_BR +/usr/share/doc/cups/pt_BR/* +%dir /usr/share/doc/cups/ru +/usr/share/doc/cups/ru/* + +%dir /usr/share/locale/ca +/usr/share/locale/ca/cups_ca.po +%dir /usr/share/locale/cs +/usr/share/locale/cs/cups_cs.po +%dir /usr/share/locale/de +/usr/share/locale/de/cups_de.po +%dir /usr/share/locale/en +/usr/share/locale/en/cups_en.po +%dir /usr/share/locale/es +/usr/share/locale/es/cups_es.po +%dir /usr/share/locale/fr +/usr/share/locale/fr/cups_fr.po +%dir /usr/share/locale/it +/usr/share/locale/it/cups_it.po +%dir /usr/share/locale/ja +/usr/share/locale/ja/cups_ja.po +%dir /usr/share/locale/pt_BR +/usr/share/locale/pt_BR/cups_pt_BR.po +%dir /usr/share/locale/ru +/usr/share/locale/ru/cups_ru.po +%dir /usr/share/locale/zh_CN +/usr/share/locale/zh_CN/cups_zh_CN.po + +%dir /usr/share/man/man1 +/usr/share/man/man1/cancel.1.gz +/usr/share/man/man1/cups.1.gz +/usr/share/man/man1/cupstestppd.1.gz +/usr/share/man/man1/ippeveprinter.1.gz +%if %{?_with_dnssd:1}%{!?_with_dnssd:0} +# DNS-SD +/usr/share/man/man1/ippfind.1.gz +%endif +/usr/share/man/man1/ipptool.1.gz +/usr/share/man/man1/lp.1.gz +/usr/share/man/man1/lpoptions.1.gz +/usr/share/man/man1/lpq.1.gz +/usr/share/man/man1/lpr.1.gz +/usr/share/man/man1/lprm.1.gz +/usr/share/man/man1/lpstat.1.gz +%dir /usr/share/man/man5 +/usr/share/man/man5/*.conf.5.gz +/usr/share/man/man5/cupsd-logs.5.gz +/usr/share/man/man5/ipptoolfile.5.gz +/usr/share/man/man5/mime.*.5.gz +%dir /usr/share/man/man7 +/usr/share/man/man7/ippevepcl.7.gz +/usr/share/man/man7/ippeveps.7.gz +%dir /usr/share/man/man8 +/usr/share/man/man8/cups-deviced.8.gz +/usr/share/man/man8/cups-driverd.8.gz +/usr/share/man/man8/cups-exec.8.gz +/usr/share/man/man8/cups-snmp.8.gz +/usr/share/man/man8/cupsaccept.8.gz +/usr/share/man/man8/cupsctl.8.gz +/usr/share/man/man8/cupsfilter.8.gz +/usr/share/man/man8/cupsd.8.gz +/usr/share/man/man8/cupsd-helper.8.gz +/usr/share/man/man8/cupsdisable.8.gz +/usr/share/man/man8/cupsenable.8.gz +/usr/share/man/man8/cupsreject.8.gz +/usr/share/man/man8/lpadmin.8.gz +/usr/share/man/man8/lpc.8.gz +/usr/share/man/man8/lpinfo.8.gz +/usr/share/man/man8/lpmove.8.gz + +%dir /var/cache/cups +%attr(0775,root,sys) %dir /var/cache/cups/rss +%dir /var/log/cups +%dir /var/run/cups +%attr(0711,lp,sys) %dir /var/run/cups/certs +%attr(0710,lp,sys) %dir /var/spool/cups +%attr(1770,lp,sys) %dir /var/spool/cups/tmp + +# Desktop files +/usr/share/applications/* +/usr/share/icons/* + +%files devel +%defattr(-,root,root) +%dir /usr/share/cups/examples +/usr/share/cups/examples/* +%dir /usr/share/man/man1 +/usr/share/man/man1/cups-config.1.gz +/usr/share/man/man1/ppd*.1.gz +%dir /usr/share/man/man5 +/usr/share/man/man5/ppdcfile.5.gz +/usr/share/man/man7/backend.7.gz +/usr/share/man/man7/filter.7.gz +/usr/share/man/man7/notifier.7.gz + +/usr/bin/cups-config +/usr/bin/ppd* +%dir /usr/include/cups +/usr/include/cups/* +/usr/lib*/*.so + +%if %{?_with_static:1}%{!?_with_static:0} +/usr/lib*/*.a +%endif + +%dir /usr/share/doc/cups/help +/usr/share/doc/cups/help/api*.html +/usr/share/doc/cups/help/cupspm.* +/usr/share/doc/cups/help/postscript-driver.html +/usr/share/doc/cups/help/ppd-compiler.html +/usr/share/doc/cups/help/raster-driver.html +/usr/share/doc/cups/help/spec*.html + +%files libs +%defattr(-,root,root) +/usr/lib*/*.so.* + +%files lpd +%defattr(-,root,root) +%if %{?_with_systemd:1}%{!?_with_systemd:0} +# SystemD +/usr/lib/systemd/system/org.cups.cups-lpd* +%else +# Legacy xinetd +/etc/xinetd.d/cups-lpd +%endif + +%dir /usr/lib/cups +%dir /usr/lib/cups/daemon +/usr/lib/cups/daemon/cups-lpd +%dir /usr/share/man/man8 +/usr/share/man/man8/cups-lpd.8.gz diff --git a/ppdc/Dependencies b/ppdc/Dependencies new file mode 100644 index 0000000..af0ac5b --- /dev/null +++ b/ppdc/Dependencies @@ -0,0 +1,183 @@ +ppdc-array.o: ppdc-array.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-attr.o: ppdc-attr.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-catalog.o: ppdc-catalog.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-choice.o: ppdc-choice.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-constraint.o: ppdc-constraint.cxx ppdc-private.h ppdc.h \ + ../cups/file.h ../cups/versioning.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h \ + ../cups/http.h ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-driver.o: ppdc-driver.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-file.o: ppdc-file.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-filter.o: ppdc-filter.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-font.o: ppdc-font.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-group.o: ppdc-group.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-import.o: ppdc-import.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/ppd.h ../cups/raster.h +ppdc-mediasize.o: ppdc-mediasize.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-message.o: ppdc-message.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-option.o: ppdc-option.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-profile.o: ppdc-profile.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-shared.o: ppdc-shared.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-source.o: ppdc-source.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/raster.h ../data/epson.h ../data/hp.h \ + ../data/label.h +ppdc-string.o: ppdc-string.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc-variable.o: ppdc-variable.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +genstrings.o: genstrings.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdc.o: ppdc.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdhtml.o: ppdhtml.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdi.o: ppdi.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +ppdmerge.o: ppdmerge.cxx ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h +ppdpo.o: ppdpo.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +testcatalog.o: testcatalog.cxx ppdc-private.h ppdc.h ../cups/file.h \ + ../cups/versioning.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h diff --git a/ppdc/Makefile b/ppdc/Makefile new file mode 100644 index 0000000..32e2e0b --- /dev/null +++ b/ppdc/Makefile @@ -0,0 +1,297 @@ +# +# Makefile for the CUPS PPD Compiler. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 2002-2006 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +# +# Include standard definitions... +# + +include ../Makedefs + + +# +# Object files... +# + +LIBOBJS = \ + ppdc-array.o \ + ppdc-attr.o \ + ppdc-catalog.o \ + ppdc-choice.o \ + ppdc-constraint.o \ + ppdc-driver.o \ + ppdc-file.o \ + ppdc-filter.o \ + ppdc-font.o \ + ppdc-group.o \ + ppdc-import.o \ + ppdc-mediasize.o \ + ppdc-message.o \ + ppdc-option.o \ + ppdc-profile.o \ + ppdc-shared.o \ + ppdc-source.o \ + ppdc-string.o \ + ppdc-variable.o +OBJS = \ + $(LIBOBJS) \ + genstrings.o \ + ppdc.o \ + ppdhtml.o \ + ppdi.o \ + ppdmerge.o \ + ppdpo.o \ + testcatalog.o +LIBTARGETS = \ + libcupsppdc.a +UNITTARGETS = \ + ppdc-static \ + ppdi-static \ + testcatalog +EXECTARGETS = \ + ppdc \ + ppdhtml \ + ppdi \ + ppdmerge \ + ppdpo + +TARGETS = \ + $(LIBTARGETS) \ + $(EXECTARGETS) \ + $(LOCALTARGET) + + +# +# Make everything... +# + +all: $(TARGETS) + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: $(UNITTARGETS) + + +# +# Clean everything... +# + +clean: + $(RM) $(OBJS) core + $(RM) *.bak *.bck core.* + $(RM) $(TARGETS) $(UNITTARGETS) genstrings + $(RM) -r ppd ppd2 + $(RM) sample-import.drv sample.c test.drv + + +# +# Update dependencies... +# + +depend: + $(CXX) -MM $(ALL_CXXFLAGS) $(OBJS:.o=.cxx) >Dependencies + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + $(INSTALL_DIR) $(DATADIR)/drv + $(INSTALL_DATA) sample.drv $(DATADIR)/drv + + +# +# Install programs... +# + +install-exec: + echo Installing PPD compiler programs... + $(INSTALL_DIR) $(BINDIR) + for file in $(EXECTARGETS); do \ + $(INSTALL_BIN) $$file $(BINDIR); \ + done + if test "x$(SYMROOT)" != "x"; then \ + $(INSTALL_DIR) $(SYMROOT); \ + for file in $(EXECTARGETS); do \ + cp $$file $(SYMROOT); \ + dsymutil $(SYMROOT)/$$file; \ + done \ + fi + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall... +# + +uninstall: + for file in $(EXECTARGETS); do \ + $(RM) $(BINDIR)/$$file; \ + done + $(RM) $(DATADIR)/drv/sample.drv + $(RMDIR) $(DATADIR)/drv + + +# +# Local programs (not built when cross-compiling...) +# + +local: genstrings + + +# +# genstrings - generate GNU gettext strings. +# + +genstrings: genstrings.o libcupsppdc.a ../cups/$(LIBCUPSSTATIC) \ + sample.drv ../data/media.defs + echo Linking $@... + $(LD_CXX) $(ARCHFLAGS) $(ALL_LDFLAGS) -o genstrings genstrings.o \ + libcupsppdc.a $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Generating localization strings... + ./genstrings >sample.c + + +# +# ppdc, the PPD compiler. +# + +ppdc: ppdc.o libcupsppdc.a ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CXX) $(ALL_LDFLAGS) -o $@ ppdc.o libcupsppdc.a $(COMMONLIBS) $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +ppdc-static: ppdc.o libcupsppdc.a ../cups/$(LIBCUPSSTATIC) foo.drv foo-fr.po + echo Linking $@... + $(LD_CXX) $(ARCHFLAGS) $(ALL_LDFLAGS) -o ppdc-static ppdc.o libcupsppdc.a \ + $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Testing PPD compiler... + ./ppdc-static -l en,fr -I ../data foo.drv + ./ppdc-static -l en,fr -z -I ../data foo.drv + + +# +# ppdhtml, the PPD to HTML utility. +# + +ppdhtml: ppdhtml.o libcupsppdc.a ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CXX) $(ALL_LDFLAGS) -o $@ ppdhtml.o libcupsppdc.a $(COMMONLIBS) $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# ppdi, import PPD files. +# + +ppdi: ppdi.o libcupsppdc.a ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CXX) $(ALL_LDFLAGS) -o $@ ppdi.o libcupsppdc.a $(COMMONLIBS) $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +ppdi-static: ppdc-static ppdi.o libcupsppdc.a ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CXX) $(ARCHFLAGS) $(ALL_LDFLAGS) -o ppdi-static ppdi.o libcupsppdc.a \ + $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Testing PPD importer... + $(RM) -r ppd ppd2 sample-import.drv + ./ppdc-static -l en -I ../data sample.drv + ./ppdi-static -I ../data -o sample-import.drv ppd/* + ./ppdc-static -l en -I ../data -d ppd2 sample-import.drv + if diff -r ppd ppd2 >/dev/null; then \ + echo PPD import OK; \ + else \ + echo PPD import FAILED; \ + exit 1; \ + fi + + +# +# ppdmerge, merge PPD files. +# + +ppdmerge: ppdmerge.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CXX) $(ALL_LDFLAGS) -o $@ ppdmerge.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# ppdpo, create message catalog files. +# + +ppdpo: ppdpo.o libcupsppdc.a ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CXX) $(ALL_LDFLAGS) -o $@ ppdpo.o libcupsppdc.a $(COMMONLIBS) $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# testcatalog, test ppdcCatalog class. +# + +testcatalog: testcatalog.o libcupsppdc.a ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CXX) $(ALL_LDFLAGS) -o $@ testcatalog.o libcupsppdc.a \ + $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# libcupsppdc.a +# + +libcupsppdc.a: $(LIBOBJS) + echo Archiving $@... + $(RM) $@ + $(AR) $(ARFLAGS) $@ $(LIBOBJS) + $(RANLIB) $@ + + +# +# Include dependencies... +# + +include Dependencies diff --git a/ppdc/foo-fr.po b/ppdc/foo-fr.po new file mode 100644 index 0000000..1b1561b --- /dev/null +++ b/ppdc/foo-fr.po @@ -0,0 +1,11 @@ +msgid "A Serious Error" +msgstr "La Error Serious" + +msgid "http://foo.com/serious.html" +msgstr "http://foo.com/fr/serious.html" + +msgid "Foo Letter" +msgstr "La Foo Letter" + +msgid "Foo Photo" +msgstr "La Foo Photo" diff --git a/ppdc/foo.drv b/ppdc/foo.drv new file mode 100644 index 0000000..b7a5614 --- /dev/null +++ b/ppdc/foo.drv @@ -0,0 +1,537 @@ +// +// PPD file compiler test data file for CUPS. +// +// Copyright © 2007-2011 by Apple Inc. +// Copyright © 1997-2003 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more +// information. +// + +/* + * C-style comments are supported. + */ + +// +// C++-style comments are supported. +// + +// +// Include the common media size definitions... +// +// #include directives support both to include a standard file +// and "name" or just name without the quotes for a local file. Local +// files resolve relative to the current file's path. Unlike C/C++, +// #include does not look in multiple directories, and +// #include "name" does not look in the standard directory. +// + +#include + + +// +// Include the CUPS raster definitions... +// + +#include + + +// +// Include the standard CUPS fonts... +// + +#include + + +// +// Define variables using the #define directive. In this case we +// are defining constants for the model number, which is used by +// our imaginary rastertofoo filter to determine which model-specific +// features to use/support. +// + +#define MODEL_BW 0 +#define MODEL_COLOR 1 + +#define MODEL_LASER 0 +#define MODEL_PHOTO 2 + + +// +// Media sizes are defined using the #media directive. The order of +// values is: size name/text, width, length. +// +// "Size name" is an alphanumeric string of up to 40 characters as +// defined by the Adobe PPD specification. +// +// "Size text" is a text string of up to 80 characters as defined by +// the Adobe PPD specification. +// +// "Width" and "length" are the width and length of the media size. +// Numbers by themselves represent points (72 points = 1 inch). The +// suffixes "cm", "ft", "in", "m", "mm", and "pt" are recognized to +// specify centimeters, feet, inches, meters, millimeters, and points, +// respectively. +// + +#media "FooLetter/Foo Letter" 8in 10in +#media "FooPhoto/Foo Photo" 200mm 300mm + + +// +// Message catalogs can be included using #po... +// + +#po fr foo-fr.po + + +// +// Specify that the drivers use all of the standard base fonts... +// + +Font * + + +// +// All copyright lines are put at the top of the PPD file in order +// of their appearance. Copyright text can span multiple lines and +// will be properly included in the PPD file with comment prefixes +// on each line. +// +// First an MIT-style copyright/license notice... +// + +Copyright "Copyright 2007 by Foo Industries." +Copyright " +Permission is granted for redistribution of this file as long as +this copyright notice is intact and the contents of the file are +not altered in any way from their original form. + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the \"Software\"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. +" + +// +// Then a GPL notice... +// + +Copyright "Copyright 2007 by Foo Industries." +Copyright " +This software is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as +published by the Free Software Foundation; either version 2 of +the License, or (at your option) any later version. + +This software is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public +License along with this software; if not, write to the Free +Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, +MA 02111 USA +" + + +// +// All printer drivers must define the manufacturer, model, PC +// filename, and version strings; since this test file contains +// drivers for an imaginary manufacturer "Foo", all of the drivers +// listed in this file share common manufacturer and version +// strings. +// + +Manufacturer "Foo" +Version 1.0 + + +// +// Printer drivers can access driver-specific attributes in a PPD +// file; these attributes are specified using lines of the form: +// +// Attribute name selector value +// +// "Name" is the name of the attribute and should start with either +// the "cups" prefix or the name of the vendor, e.g. "hpFoo", +// "epsonBar", etc. The name can be any alphanumeric character (a-z, +// A-Z, and 0-9) and cannot be a common prefix of another attribute, +// e.g. "fooLines" and "fooLinesPerInch" cannot be in the same file. +// +// "Selector" is a selector string containing any characters except +// colon (:). Typically this will be one or more keywords separated +// by the forward slash (/), however the empty string ("") can be used +// to omit the selector. +// +// "Value" is a quoted value string that can contain any printable +// characters except the double quote ("). Hexadecimal numbers +// inside angle brackets () can be used to substitute escape +// codes and other special characters. +// + +Attribute fooOutputFormat "" "PCL" +Attribute fooPJL Begin "<1B>%-12345X@PJL<0D0A>" +Attribute fooPJL Enter/PCL "@PJL ENTER LANGUAGE=PCL<0D0A>" +Attribute fooPJL End "<1B>%-12345X@PJL END JOB<0D0A>" + +// +// Most printer drivers use filters; exceptions include PostScript +// printers and PPD files for software RIPs. +// +// The format is: +// +// Filter mime-type cost program +// +// The "mime-type" field defines the MIME type that the filter program +// accepts; for CUPS raster printer drivers, this will be +// "application/vnd.cups-raster". +// +// The "cost" field defines the relative cost of the filter in terms of +// both CPU and memory usage, and is used to limit the number of +// simultaneous jobs in some configurations. Most raster filters should +// have a cost of 100, unless the filter does no dithering - then a cost +// of 33 is more appropriate. +// +// The "program" field defined the filter program to run; use the null +// filter "-" to define a MIME type that the printer accepts directly. +// If no path information is provided, then the program will be run +// from the standard CUPS filter directory, usually +// /usr/lib/cups/filter. +// +// When compiling PPD files for PostScript capable devices that use +// additional filters, add a null filter for the MIME type +// "application/vnd.cups-postscript" so that printer commands, user +// job filters, and page markings can be added to the PostScript +// output that is sent to the printer. +// + +Filter application/vnd.cups-raster 100 rastertofoo + + +// +// Attributes are included thusly... +// + +Attribute cupsIPPReason "com.foo-serious-error/A Serious Error" "http://foo.com/serious.html" + + +// +// Curley braces are used for grouping common data and for isolating +// individual printer models. All data values are inherited *except* +// for the PCFilename and ModelName strings. +// + +{ + // + // Define two printer drivers that support only the FooLetter and + // FooPhoto media size. One is color, the other is black-and-white. + // + // Both printers share two MediaSize definitions; the name listed + // after the MediaSize keyword must be one of the Adobe standard + // names listed in the PPD specification or any named size defined + // using the #media directive. + // + // Default options are indicated by placing an asterisk (*) before + // the keyword. + // + // For custom size and margin specification, see the next group of + // printer drivers. + // + + MediaSize FooLetter + *MediaSize FooPhoto + + + // + // These imaginary printers support printing at 300, 600x300, + // and 600 DPI. We'll use the old-style Resolution convenience + // keyword which accepts the following parameters: colorspace/ + // order, bits-per-color, row count, row feed, row step, and + // name/text. + // + // The name must be of the form NNNsuffix or NNNxMMMsuffix, + // where NNN and MMM represent the X and Y resolution in dots + // per inch. + // + + Resolution - 8 0 0 0 "300dpi/300 DPI" + Resolution - 8 0 0 0 "600x300dpi/600 x 300 DPI" + *Resolution - 8 0 0 0 "600dpi/600 DPI" + + + // + // One printer is grayscale only, and the other does grayscale + // and color. Define the grayscale color model for both printers + // using the old-style ColorModel convenience keyword which + // accepts the name/text, colorspace, color order, and compression + // parameters. + // + + ColorModel Gray/Grayscale w chunked 0 + + + { + // + // The first sub-group contains the grayscale printer, which + // only needs the model name, PC filename, and model number + // values set... + // + // The ModelName keyword defines the string that is shown to + // the user. + // + + ModelName "Mono Photo Printer" + + + // + // The ModelNumber keyword defines the cupsModelNumber + // attribute value. We use the "(name name)" notation + // to perform a bitwise OR of the #define'd constants. + // + + ModelNumber ($MODEL_BW $MODEL_PHOTO) + + + // + // The PCFileName keyword defines the filename of the PPD + // file and should be 8 characters or less + the .ppd + // extension. + // + + PCFileName "foogphot.ppd" + } + + + { + // + // The second sub-group contains the color printer, which + // needs another ColorModel definition along with the model + // name, PC filename, and model number values. For fun, we'll + // add some input slots (paper trays) as well. + // + // The ModelName keyword defines the string that is shown to + // the user. + // + + ModelName "Color Photo Printer" + + + // + // The ModelNumber keyword defines the cupsModelNumber + // attribute value. We use the "(name name)" notation + // to perform a bitwise OR of the #define'd constants. + // + + ModelNumber ($MODEL_COLOR $MODEL_PHOTO) + + + // + // The PCFileName keyword defines the filename of the PPD + // file and should be 8 characters or less + the .ppd + // extension. + // + + PCFileName "foocphot.ppd" + + + // + // This printer does color printing, too, so add it and make + // RGB the default... + // + + ColorDevice Yes + + *ColorModel RGB/Color rgb chunked 0 + + + // + // The old-style InputSlot keyword accepts tray definitions + // of the form: + // + // InputSlot position name/text + // + + InputSlot 0 "Upper/Main Paper Tray" + InputSlot 1 "LargeCapacity/Large Paper Tray" + } +} + + +{ + // + // Define two printer drivers that support two typical laser + // printers with custom page sizes. One is color, the other is + // black-and-white. + // + // Both printers share several MediaSize definitions and support + // custom page sizes from 3x5 to 13x19 inches. + // + // All US media sizes use hardware margins of 0.25 inches on the sides + // and 12 points (1/6th inch) at the top and bottom. European sizes + // and custom sizes use margins of 12 points all around. + // + // The order of the HWMargins numbers are left, bottom, right, and top. + // The current HWMargins values are used when defining each media size. + // The last HWMargins values are used for custom page size margins. + // + + HWMargins 0.25in 12pt 0.25in 12pt + + *MediaSize Letter + MediaSize Legal + MediaSize Tabloid + MediaSize TabloidExtra + + HWMargins 12pt 12pt 12pt 12pt + MediaSize A4 + MediaSize A3 + + // + // Specify that custom/variable paper sizes are supported, and the + // range of sizes that are supported... + // + + VariablePaperSize Yes + MinSize 3in 5in + MaxSize 13in 19in + + + // + // These imaginary printers support printing at 600 and 1200 DPI. + // We'll use the new Option and Choice keywords to define the + // Resolution options... + // + // Option option-name option-text option-type + // Choice choice-name choice-text code + // + // "Option-type" is the type of option: boolean, pickone, or pickmany. + // + + Option Resolution PickOne AnySetup 10 + Choice "600dpi/600 DPI" "<>setpagedevice" + Choice "1200dpi/1200 DPI" "<>setpagedevice" + + + // + // One printer is grayscale only, and the other does grayscale + // and color. Define the grayscale color model for both printers + // using the new Option and Choice keywords. + // + + Option "ColorModel/Color Mode" PickOne AnySetup 10 + Choice Gray/Grayscale "<>setpagedevice" + + + // + // Both printers provide two paper trays, which we'll define using + // the new Option and Choice keywords... + // + + Option "InputSlot/Input Slot" PickOne AnySetup 10 + Choice "Upper/Main Paper Tray" "<>setpagedevice" + Choice "LargeCapacity/Large Paper Tray" "<>setpagedevice" + + + // + // Both printers support duplexing... + // + // The Duplex keyword accepts values of "none" (no duplexing capability), + // "normal" (standard duplexing capability), and "flip" (auto-duplex that + // requires the back side to be flipped by the RIP...) + // + + Duplex normal + + + { + // + // The first sub-group contains the grayscale printer, which + // only needs the model name, PC filename, and model number + // values set... + // + // The ModelName keyword defines the string that is shown to + // the user. + // + + ModelName "Mono Laser Printer" + + + // + // The ModelNumber keyword defines the cupsModelNumber + // attribute value. We use the "(name name)" notation + // to perform a bitwise OR of the #define'd constants. + // + + ModelNumber ($MODEL_BW $MODEL_LASER) + + + // + // The PCFileName keyword defines the filename of the PPD + // file and should be 8 characters or less + the .ppd + // extension. + // + + PCFileName "fooglasr.ppd" + } + + + { + // + // The second sub-group contains the color printer, which + // needs another ColorModel definition along with the model + // name, PC filename, and model number values. + // + // The ModelName keyword defines the string that is shown to + // the user. + // + + ModelName "Color Laser Printer" + + + // + // The ModelNumber keyword defines the cupsModelNumber + // attribute value. We use the "(name name)" notation + // to perform a bitwise OR of the #define'd constants. + // + + ModelNumber ($MODEL_COLOR $MODEL_LASER) + + + // + // The PCFileName keyword defines the filename of the PPD + // file and should be 8 characters or less + the .ppd + // extension. + // + + PCFileName "fooclasr.ppd" + + + // + // This printer does color printing, too, so add it and make + // RGB the default... + // + + ColorDevice Yes + + Option "ColorModel/Color Mode" PickOne AnySetup 10 + *Choice RGB/Color "<>setpagedevice" + } +} diff --git a/ppdc/genstrings.cxx b/ppdc/genstrings.cxx new file mode 100644 index 0000000..2d8c5de --- /dev/null +++ b/ppdc/genstrings.cxx @@ -0,0 +1,197 @@ +// +// GNU gettext message generator for the CUPS PPD Compiler. +// +// This program is used to generate a dummy source file containing all of +// the standard media and sample driver strings. The results are picked up +// by GNU gettext and placed in the CUPS message catalog. +// +// Copyright 2008-2014 by Apple Inc. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// +// Usage: +// +// ./genstrings >sample.c +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" +#include + + +// +// Local functions... +// + +static void add_ui_strings(ppdcDriver *d, ppdcCatalog *catalog); +static void write_cstring(const char *s); + + +// +// 'main()' - Main entry for the PPD compiler. +// + +int // O - Exit status +main(void) +{ + ppdcSource *src; // PPD source file data + ppdcCatalog *catalog; // Catalog to hold all of the UI strings + + + // Make sure we are in the right place... + if (access("../data", 0) || access("sample.drv", 0)) + { + puts("You must run genstrings from the ppdc directory."); + return (1); + } + + // Load the sample drivers... + ppdcSource::add_include("../data"); + + src = new ppdcSource("sample.drv"); + catalog = new ppdcCatalog(NULL); + + catalog->add_message("ISOLatin1"); + catalog->add_message("English"); + + // Add the media size strings... + ppdcMediaSize *size; // Current media size + + for (size = (ppdcMediaSize *)src->sizes->first(); + size; + size = (ppdcMediaSize *)src->sizes->next()) + catalog->add_message(size->text->value); + + // Then collect all of the UI strings from the sample drivers... + ppdcDriver *d; // Current driver + + for (d = (ppdcDriver *)src->drivers->first(); + d; + d = (ppdcDriver *)src->drivers->next()) + add_ui_strings(d, catalog); + + // Finally, write all of the strings... + ppdcMessage *message; + + for (message = (ppdcMessage *)catalog->messages->first(); + message; + message = (ppdcMessage *)catalog->messages->next()) + write_cstring(message->id->value); + + src->release(); + catalog->release(); + + // Return with no errors. + return (0); +} + + +// +// 'add_ui_strings()' - Add all UI strings from the driver. +// + +static void +add_ui_strings(ppdcDriver *d, // I - Driver data + ppdcCatalog *catalog) // I - Message catalog +{ + // Add the make/model/language strings... + catalog->add_message(d->manufacturer->value); + catalog->add_message(d->model_name->value); + + // Add the group/option/choice strings... + ppdcGroup *g; // Current group + ppdcOption *o; // Current option + ppdcChoice *c; // Current choice + + for (g = (ppdcGroup *)d->groups->first(); + g; + g = (ppdcGroup *)d->groups->next()) + { + if (!g->options->count) + continue; + + if (_cups_strcasecmp(g->name->value, "General")) + catalog->add_message(g->text->value); + + for (o = (ppdcOption *)g->options->first(); + o; + o = (ppdcOption *)g->options->next()) + { + if (!o->choices->count) + continue; + + if (o->text->value && strcmp(o->name->value, o->text->value)) + catalog->add_message(o->text->value); + else + catalog->add_message(o->name->value); + + for (c = (ppdcChoice *)o->choices->first(); + c; + c = (ppdcChoice *)o->choices->next()) + if (c->text->value && strcmp(c->name->value, c->text->value)) + catalog->add_message(c->text->value); + else + catalog->add_message(c->name->value); + } + } + + // Add profile and preset strings... + ppdcAttr *a; // Current attribute + for (a = (ppdcAttr *)d->attrs->first(); + a; + a = (ppdcAttr *)d->attrs->next()) + { + if (a->text->value && a->text->value[0] && + (a->localizable || + !strncmp(a->name->value, "Custom", 6) || + !strncmp(a->name->value, "ParamCustom", 11) || + !strcmp(a->name->value, "APCustomColorMatchingName") || + !strcmp(a->name->value, "APPrinterPreset") || + !strcmp(a->name->value, "cupsICCProfile") || + !strcmp(a->name->value, "cupsIPPReason") || + !strcmp(a->name->value, "cupsMarkerName"))) + { + catalog->add_message(a->text->value); + + if ((a->localizable && a->value->value[0]) || + !strcmp(a->name->value, "cupsIPPReason")) + catalog->add_message(a->value->value); + } + else if (!strncmp(a->name->value, "Custom", 6) || + !strncmp(a->name->value, "ParamCustom", 11)) + catalog->add_message(a->name->value); + } +} + + +// +// 'write_cstring()' - Write a translation string as a valid C string to stdout. +// + +static void +write_cstring(const char *s) /* I - String to write */ +{ + fputs("_(\"", stdout); + if (s) + { + while (*s) + { + if (*s == '\\') + fputs("\\\\", stdout); + else if (*s == '\"') + fputs("\\\"", stdout); + else if (*s == '\t') + fputs("\\t", stdout); + else if (*s == '\n') + fputs("\\n", stdout); + else + putchar(*s); + + s ++; + } + } + puts("\");"); +} diff --git a/ppdc/ppdc-array.cxx b/ppdc/ppdc-array.cxx new file mode 100644 index 0000000..3a0cab3 --- /dev/null +++ b/ppdc/ppdc-array.cxx @@ -0,0 +1,148 @@ +// +// Array class for the CUPS PPD Compiler. +// +// Copyright 2007-2019 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcArray::ppdcArray()' - Create a new array. +// + +ppdcArray::ppdcArray(ppdcArray *a) + : ppdcShared() +{ + PPDC_NEW; + + if (a) + { + count = a->count; + alloc = count; + + if (count) + { + // Make a copy of the array... + data = new ppdcShared *[count]; + + memcpy(data, a->data, (size_t)count * sizeof(ppdcShared *)); + + for (size_t i = 0; i < count; i ++) + data[i]->retain(); + } + else + data = 0; + } + else + { + count = 0; + alloc = 0; + data = 0; + } + + current = 0; +} + + +// +// 'ppdcArray::~ppdcArray()' - Destroy an array. +// + +ppdcArray::~ppdcArray() +{ + PPDC_DELETE; + + for (size_t i = 0; i < count; i ++) + data[i]->release(); + + if (alloc) + delete[] data; +} + + +// +// 'ppdcArray::add()' - Add an element to an array. +// + +void +ppdcArray::add(ppdcShared *d) +{ + ppdcShared **temp; + + + if (count >= alloc) + { + alloc += 10; + temp = new ppdcShared *[alloc]; + + memcpy(temp, data, (size_t)count * sizeof(ppdcShared *)); + + delete[] data; + data = temp; + } + + data[count++] = d; +} + + +// +// 'ppdcArray::first()' - Return the first element in the array. +// + +ppdcShared * +ppdcArray::first() +{ + current = 0; + + if (current >= count) + return (0); + else + return (data[current ++]); +} + + +// +// 'ppdcArray::next()' - Return the next element in the array. +// + +ppdcShared * +ppdcArray::next() +{ + if (current >= count) + return (0); + else + return (data[current ++]); +} + + +// +// 'ppdcArray::remove()' - Remove an element from the array. +// + +void +ppdcArray::remove(ppdcShared *d) // I - Data element +{ + size_t i; // Looping var + + + for (i = 0; i < count; i ++) + if (d == data[i]) + break; + + if (i >= count) + return; + + count --; + d->release(); + + if (i < count) + memmove(data + i, data + i + 1, (size_t)(count - i) * sizeof(ppdcShared *)); +} diff --git a/ppdc/ppdc-attr.cxx b/ppdc/ppdc-attr.cxx new file mode 100644 index 0000000..5bd6b21 --- /dev/null +++ b/ppdc/ppdc-attr.cxx @@ -0,0 +1,50 @@ +// +// Attribute class for the CUPS PPD Compiler. +// +// Copyright 2007-2009 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcAttr::ppdcAttr()' - Create an attribute. +// + +ppdcAttr::ppdcAttr(const char *n, // I - Name + const char *s, // I - Spec string + const char *t, // I - Human-readable text + const char *v, // I - Value + bool loc) // I - Localize this attribute? + : ppdcShared() +{ + PPDC_NEW; + + name = new ppdcString(n); + selector = new ppdcString(s); + text = new ppdcString(t); + value = new ppdcString(v); + localizable = loc; +} + + +// +// 'ppdcAttr::~ppdcAttr()' - Destroy an attribute. +// + +ppdcAttr::~ppdcAttr() +{ + PPDC_DELETE; + + name->release(); + selector->release(); + text->release(); + value->release(); +} diff --git a/ppdc/ppdc-catalog.cxx b/ppdc/ppdc-catalog.cxx new file mode 100644 index 0000000..4aac366 --- /dev/null +++ b/ppdc/ppdc-catalog.cxx @@ -0,0 +1,957 @@ +// +// Shared message catalog class for the CUPS PPD Compiler. +// +// Copyright 2007-2017 by Apple Inc. +// Copyright 2002-2006 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// Character encodings... +// + +typedef enum +{ + PPDC_CS_AUTO, + PPDC_CS_UTF8, + PPDC_CS_UTF16BE, + PPDC_CS_UTF16LE +} ppdc_cs_t; + + +// +// Local functions... +// + +#if defined(__APPLE__) && defined(CUPS_BUNDLEDIR) +static void apple_add_message(CFStringRef key, CFStringRef val, ppdcCatalog *c); +#endif /* __APPLE__ && CUPS_BUNDLEDIR */ +static int get_utf8(char *&ptr); +static int get_utf16(cups_file_t *fp, ppdc_cs_t &cs); +static int put_utf8(int ch, char *&ptr, char *end); +static int put_utf16(cups_file_t *fp, int ch); + + +// +// 'ppdcCatalog::ppdcCatalog()' - Create a shared message catalog. +// + +ppdcCatalog::ppdcCatalog(const char *l, // I - Locale + const char *f) // I - Message catalog file + : ppdcShared() +{ + PPDC_NEW; + + locale = new ppdcString(l); + filename = new ppdcString(f); + messages = new ppdcArray(); + + if (l && strcmp(l, "en")) + { + // Try loading the base messages for this locale... + char pofile[1024]; // Message catalog file + + +#if defined(__APPLE__) && defined(CUPS_BUNDLEDIR) + char applelang[256]; // Apple language ID + CFURLRef url; // URL to cups.strings file + CFReadStreamRef stream = NULL; // File stream + CFPropertyListRef plist = NULL; // Localization file + + snprintf(pofile, sizeof(pofile), CUPS_BUNDLEDIR "/Resources/%s.lproj/cups.strings", _cupsAppleLanguage(l, applelang, sizeof(applelang))); + if (access(pofile, 0)) + { + // Try alternate lproj directory names... + const char *tl = l; // Temporary locale string + + if (!strncmp(l, "en", 2)) + tl = "English"; + else if (!strncmp(l, "nb", 2)) + tl = "no"; + else if (!strncmp(l, "nl", 2)) + tl = "Dutch"; + else if (!strncmp(l, "fr", 2)) + tl = "French"; + else if (!strncmp(l, "de", 2)) + tl = "German"; + else if (!strncmp(l, "it", 2)) + tl = "Italian"; + else if (!strncmp(l, "ja", 2)) + tl = "Japanese"; + else if (!strncmp(l, "es", 2)) + tl = "Spanish"; + + snprintf(pofile, sizeof(pofile), CUPS_BUNDLEDIR "/Resources/%s.lproj/cups.strings", tl); + } + + url = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault, (UInt8 *)pofile, (CFIndex)strlen(pofile), false); + if (url) + { + stream = CFReadStreamCreateWithFile(kCFAllocatorDefault, url); + + if (stream) + { + /* + * Read the property list containing the localization data. + */ + + CFReadStreamOpen(stream); + + plist = CFPropertyListCreateWithStream(kCFAllocatorDefault, stream, 0, kCFPropertyListImmutable, NULL, NULL); + + if (plist && CFGetTypeID(plist) == CFDictionaryGetTypeID()) + CFDictionaryApplyFunction((CFDictionaryRef)plist, (CFDictionaryApplierFunction)apple_add_message, this); + + if (plist) + CFRelease(plist); + + CFRelease(stream); + } + + CFRelease(url); + } + +#else + _cups_globals_t *cg = _cupsGlobals(); + // Global information + + snprintf(pofile, sizeof(pofile), "%s/%s/cups_%s.po", cg->localedir, l, l); + + if (load_messages(pofile) && strchr(l, '_')) + { + // Try the base locale... + char baseloc[3]; // Base locale... + + + strlcpy(baseloc, l, sizeof(baseloc)); + snprintf(pofile, sizeof(pofile), "%s/%s/cups_%s.po", cg->localedir, + baseloc, baseloc); + + load_messages(pofile); + } +#endif /* __APPLE__ && CUPS_BUNDLEDIR */ + } + + if (f && *f) + load_messages(f); +} + + +// +// 'ppdcCatalog::~ppdcCatalog()' - Destroy a shared message catalog. +// + +ppdcCatalog::~ppdcCatalog() +{ + PPDC_DELETE; + + locale->release(); + filename->release(); + messages->release(); +} + + +// +// 'ppdcCatalog::add_message()' - Add a new message. +// + +void +ppdcCatalog::add_message( + const char *id, // I - Message ID to add + const char *string) // I - Translation string +{ + ppdcMessage *m; // Current message + char text[1024]; // Text to translate + + + // Range check input... + if (!id) + return; + + // Verify that we don't already have the message ID... + for (m = (ppdcMessage *)messages->first(); + m; + m = (ppdcMessage *)messages->next()) + if (!strcmp(m->id->value, id)) + { + if (string) + { + m->string->release(); + m->string = new ppdcString(string); + } + return; + } + + // Add the message... + if (!string) + { + snprintf(text, sizeof(text), "TRANSLATE %s", id); + string = text; + } + + messages->add(new ppdcMessage(id, string)); +} + + +// +// 'ppdcCatalog::find_message()' - Find a message in a catalog... +// + +const char * // O - Message text +ppdcCatalog::find_message( + const char *id) // I - Message ID +{ + ppdcMessage *m; // Current message + + + if (!*id) + return (id); + + for (m = (ppdcMessage *)messages->first(); + m; + m = (ppdcMessage *)messages->next()) + if (!strcmp(m->id->value, id)) + return (m->string->value); + + return (id); +} + + +// +// 'ppdcCatalog::load_messages()' - Load messages from a .po file. +// + +int // O - 0 on success, -1 on failure +ppdcCatalog::load_messages( + const char *f) // I - Message catalog file +{ + cups_file_t *fp; // Message file + char line[4096], // Line buffer + *ptr, // Pointer into buffer + id[4096], // Translation ID + str[4096]; // Translation string + int linenum; // Line number + + + // Open the message catalog file... + if ((fp = cupsFileOpen(f, "r")) == NULL) + return (-1); + + if ((ptr = (char *)strrchr(f, '.')) == NULL) + goto unknown_load_format; + else if (!strcmp(ptr, ".strings")) + { + /* + * Read messages in macOS ".strings" format, which are either UTF-8/UTF-16 + * text files of the format: + * + * "id" = "str"; + * + * Strings files can also contain C-style comments. + */ + + ppdc_cs_t cs = PPDC_CS_AUTO; // Character set for file + int ch; // Current character from file + char *end; // End of buffer + + + id[0] = '\0'; + str[0] = '\0'; + ptr = NULL; + end = NULL; + + while ((ch = get_utf16(fp, cs)) != 0) + { + if (ptr) + { + if (ch == '\\') + { + if ((ch = get_utf16(fp, cs)) == 0) + break; + + if (ch == 'n') + ch = '\n'; + else if (ch == 't') + ch = '\t'; + } + else if (ch == '\"') + { + *ptr = '\0'; + ptr = NULL; + } + + if (ptr) + put_utf8(ch, ptr, end); + } + else if (ch == '/') + { + // Start of a comment? + if ((ch = get_utf16(fp, cs)) == 0) + break; + + if (ch == '*') + { + // Skip C comment... + int lastch = 0; + + while ((ch = get_utf16(fp, cs)) != 0) + { + if (ch == '/' && lastch == '*') + break; + + lastch = ch; + } + } + else if (ch == '/') + { + // Skip C++ comment... + while ((ch = get_utf16(fp, cs)) != 0) + if (ch == '\n') + break; + } + } + else if (ch == '\"') + { + // Start quoted string... + if (id[0]) + { + ptr = str; + end = str + sizeof(str) - 1; + } + else + { + ptr = id; + end = id + sizeof(id) - 1; + } + } + else if (ch == ';') + { + // Add string... + add_message(id, str); + id[0] = '\0'; + } + } + } + else if (!strcmp(ptr, ".po") || !strcmp(ptr, ".gz")) + { + /* + * Read messages from the catalog file until EOF... + * + * The format is the GNU gettext .po format, which is fairly simple: + * + * msgid "some text" + * msgstr "localized text" + * + * The ID and localized text can span multiple lines using the form: + * + * msgid "" + * "some long text" + * msgstr "" + * "localized text spanning " + * "multiple lines" + */ + + int which, // In msgid? + haveid, // Did we get a msgid string? + havestr; // Did we get a msgstr string? + + linenum = 0; + id[0] = '\0'; + str[0] = '\0'; + haveid = 0; + havestr = 0; + which = 0; + + while (cupsFileGets(fp, line, sizeof(line))) + { + linenum ++; + + // Skip blank and comment lines... + if (line[0] == '#' || !line[0]) + continue; + + // Strip the trailing quote... + if ((ptr = (char *)strrchr(line, '\"')) == NULL) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected quoted string on line %d of %s."), + linenum, f); + cupsFileClose(fp); + return (-1); + } + + *ptr = '\0'; + + // Find start of value... + if ((ptr = strchr(line, '\"')) == NULL) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected quoted string on line %d of %s."), + linenum, f); + cupsFileClose(fp); + return (-1); + } + + ptr ++; + + // Unquote the text... + char *sptr, *dptr; // Source/destination pointers + + for (sptr = ptr, dptr = ptr; *sptr;) + { + if (*sptr == '\\') + { + sptr ++; + if (isdigit(*sptr)) + { + *dptr = 0; + + while (isdigit(*sptr)) + { + *dptr = *dptr * 8 + *sptr - '0'; + sptr ++; + } + + dptr ++; + } + else + { + if (*sptr == 'n') + *dptr++ = '\n'; + else if (*sptr == 'r') + *dptr++ = '\r'; + else if (*sptr == 't') + *dptr++ = '\t'; + else + *dptr++ = *sptr; + + sptr ++; + } + } + else + *dptr++ = *sptr++; + } + + *dptr = '\0'; + + // Create or add to a message... + if (!strncmp(line, "msgid", 5)) + { + if (haveid && havestr) + add_message(id, str); + + strlcpy(id, ptr, sizeof(id)); + str[0] = '\0'; + haveid = 1; + havestr = 0; + which = 1; + } + else if (!strncmp(line, "msgstr", 6)) + { + if (!haveid) + { + _cupsLangPrintf(stderr, + _("ppdc: Need a msgid line before any " + "translation strings on line %d of %s."), + linenum, f); + cupsFileClose(fp); + return (-1); + } + + strlcpy(str, ptr, sizeof(str)); + havestr = 1; + which = 2; + } + else if (line[0] == '\"' && which == 2) + strlcat(str, ptr, sizeof(str)); + else if (line[0] == '\"' && which == 1) + strlcat(id, ptr, sizeof(id)); + else + { + _cupsLangPrintf(stderr, _("ppdc: Unexpected text on line %d of %s."), + linenum, f); + cupsFileClose(fp); + return (-1); + } + } + + if (haveid && havestr) + add_message(id, str); + } + else + goto unknown_load_format; + + /* + * Close the file and return... + */ + + cupsFileClose(fp); + + return (0); + + /* + * Unknown format error... + */ + + unknown_load_format: + + _cupsLangPrintf(stderr, + _("ppdc: Unknown message catalog format for \"%s\"."), f); + cupsFileClose(fp); + return (-1); +} + + +// +// 'ppdcCatalog::save_messages()' - Save the messages to a .po file. +// + +int // O - 0 on success, -1 on error +ppdcCatalog::save_messages( + const char *f) // I - File to save to +{ + cups_file_t *fp; // Message file + ppdcMessage *m; // Current message + char *ptr; // Pointer into string + int utf16; // Output UTF-16 .strings file? + int ch; // Current character + + + // Open the file... + if ((ptr = (char *)strrchr(f, '.')) == NULL) + return (-1); + + if (!strcmp(ptr, ".gz")) + fp = cupsFileOpen(f, "w9"); + else + fp = cupsFileOpen(f, "w"); + + if (!fp) + return (-1); + + // For .strings files, write a BOM for big-endian output... + utf16 = !strcmp(ptr, ".strings"); + + if (utf16) + put_utf16(fp, 0xfeff); + + // Loop through all of the messages... + for (m = (ppdcMessage *)messages->first(); + m; + m = (ppdcMessage *)messages->next()) + { + if (utf16) + { + put_utf16(fp, '\"'); + + ptr = m->id->value; + while ((ch = get_utf8(ptr)) != 0) + switch (ch) + { + case '\n' : + put_utf16(fp, '\\'); + put_utf16(fp, 'n'); + break; + case '\\' : + put_utf16(fp, '\\'); + put_utf16(fp, '\\'); + break; + case '\"' : + put_utf16(fp, '\\'); + put_utf16(fp, '\"'); + break; + default : + put_utf16(fp, ch); + break; + } + + put_utf16(fp, '\"'); + put_utf16(fp, ' '); + put_utf16(fp, '='); + put_utf16(fp, ' '); + put_utf16(fp, '\"'); + + ptr = m->string->value; + while ((ch = get_utf8(ptr)) != 0) + switch (ch) + { + case '\n' : + put_utf16(fp, '\\'); + put_utf16(fp, 'n'); + break; + case '\\' : + put_utf16(fp, '\\'); + put_utf16(fp, '\\'); + break; + case '\"' : + put_utf16(fp, '\\'); + put_utf16(fp, '\"'); + break; + default : + put_utf16(fp, ch); + break; + } + + put_utf16(fp, '\"'); + put_utf16(fp, ';'); + put_utf16(fp, '\n'); + } + else + { + cupsFilePuts(fp, "msgid \""); + for (ptr = m->id->value; *ptr; ptr ++) + switch (*ptr) + { + case '\n' : + cupsFilePuts(fp, "\\n"); + break; + case '\\' : + cupsFilePuts(fp, "\\\\"); + break; + case '\"' : + cupsFilePuts(fp, "\\\""); + break; + default : + cupsFilePutChar(fp, *ptr); + break; + } + cupsFilePuts(fp, "\"\n"); + + cupsFilePuts(fp, "msgstr \""); + for (ptr = m->string->value; *ptr; ptr ++) + switch (*ptr) + { + case '\n' : + cupsFilePuts(fp, "\\n"); + break; + case '\\' : + cupsFilePuts(fp, "\\\\"); + break; + case '\"' : + cupsFilePuts(fp, "\\\""); + break; + default : + cupsFilePutChar(fp, *ptr); + break; + } + cupsFilePuts(fp, "\"\n"); + + cupsFilePutChar(fp, '\n'); + } + } + + cupsFileClose(fp); + + return (0); +} + + +#if defined(__APPLE__) && defined(CUPS_BUNDLEDIR) +// +// 'apple_add_message()' - Add a message from a localization dictionary. +// + +static void +apple_add_message(CFStringRef key, // I - Localization key + CFStringRef val, // I - Localized value + ppdcCatalog *c) // I - Message catalog +{ + char id[1024], // Message id + str[1024]; // Localized message + + + if (CFStringGetCString(key, id, sizeof(id), kCFStringEncodingUTF8) && + CFStringGetCString(val, str, sizeof(str), kCFStringEncodingUTF8)) + c->add_message(id, str); +} +#endif /* __APPLE__ && CUPS_BUNDLEDIR */ + + +// +// 'get_utf8()' - Get a UTF-8 character. +// + +static int // O - Unicode character or 0 on EOF +get_utf8(char *&ptr) // IO - Pointer to character +{ + int ch; // Current character + + + if ((ch = *ptr++ & 255) < 0xc0) + return (ch); + + if ((ch & 0xe0) == 0xc0) + { + // Two-byte UTF-8... + if ((*ptr & 0xc0) != 0x80) + return (0); + + ch = ((ch & 0x1f) << 6) | (*ptr++ & 0x3f); + } + else if ((ch & 0xf0) == 0xe0) + { + // Three-byte UTF-8... + if ((*ptr & 0xc0) != 0x80) + return (0); + + ch = ((ch & 0x0f) << 6) | (*ptr++ & 0x3f); + + if ((*ptr & 0xc0) != 0x80) + return (0); + + ch = (ch << 6) | (*ptr++ & 0x3f); + } + else if ((ch & 0xf8) == 0xf0) + { + // Four-byte UTF-8... + if ((*ptr & 0xc0) != 0x80) + return (0); + + ch = ((ch & 0x07) << 6) | (*ptr++ & 0x3f); + + if ((*ptr & 0xc0) != 0x80) + return (0); + + ch = (ch << 6) | (*ptr++ & 0x3f); + + if ((*ptr & 0xc0) != 0x80) + return (0); + + ch = (ch << 6) | (*ptr++ & 0x3f); + } + + return (ch); +} + + +// +// 'get_utf16()' - Get a UTF-16 character... +// + +static int // O - Unicode character or 0 on EOF +get_utf16(cups_file_t *fp, // I - File to read from + ppdc_cs_t &cs) // IO - Character set of file +{ + int ch; // Current character + unsigned char buffer[3]; // Bytes + + + if (cs == PPDC_CS_AUTO) + { + // Get byte-order-mark, if present... + if (cupsFileRead(fp, (char *)buffer, 2) != 2) + return (0); + + if (buffer[0] == 0xfe && buffer[1] == 0xff) + { + // Big-endian UTF-16... + cs = PPDC_CS_UTF16BE; + + if (cupsFileRead(fp, (char *)buffer, 2) != 2) + return (0); + } + else if (buffer[0] == 0xff && buffer[1] == 0xfe) + { + // Little-endian UTF-16... + cs = PPDC_CS_UTF16LE; + + if (cupsFileRead(fp, (char *)buffer, 2) != 2) + return (0); + } + else if (buffer[0] == 0x00 && buffer[1] != 0x00) + { + // No BOM, assume big-endian UTF-16... + cs = PPDC_CS_UTF16BE; + } + else if (buffer[0] != 0x00 && buffer[1] == 0x00) + { + // No BOM, assume little-endian UTF-16... + cs = PPDC_CS_UTF16LE; + } + else + { + // No BOM, assume UTF-8... + cs = PPDC_CS_UTF8; + + cupsFileRewind(fp); + } + } + else if (cs != PPDC_CS_UTF8) + { + if (cupsFileRead(fp, (char *)buffer, 2) != 2) + return (0); + } + + if (cs == PPDC_CS_UTF8) + { + // UTF-8 character... + if ((ch = cupsFileGetChar(fp)) < 0) + return (0); + + if ((ch & 0xe0) == 0xc0) + { + // Two-byte UTF-8... + if (cupsFileRead(fp, (char *)buffer, 1) != 1) + return (0); + + if ((buffer[0] & 0xc0) != 0x80) + return (0); + + ch = ((ch & 0x1f) << 6) | (buffer[0] & 0x3f); + } + else if ((ch & 0xf0) == 0xe0) + { + // Three-byte UTF-8... + if (cupsFileRead(fp, (char *)buffer, 2) != 2) + return (0); + + if ((buffer[0] & 0xc0) != 0x80 || + (buffer[1] & 0xc0) != 0x80) + return (0); + + ch = ((((ch & 0x0f) << 6) | (buffer[0] & 0x3f)) << 6) | + (buffer[1] & 0x3f); + } + else if ((ch & 0xf8) == 0xf0) + { + // Four-byte UTF-8... + if (cupsFileRead(fp, (char *)buffer, 3) != 3) + return (0); + + if ((buffer[0] & 0xc0) != 0x80 || + (buffer[1] & 0xc0) != 0x80 || + (buffer[2] & 0xc0) != 0x80) + return (0); + + ch = ((((((ch & 0x07) << 6) | (buffer[0] & 0x3f)) << 6) | + (buffer[1] & 0x3f)) << 6) | (buffer[2] & 0x3f); + } + } + else + { + // UTF-16 character... + if (cs == PPDC_CS_UTF16BE) + ch = (buffer[0] << 8) | buffer[1]; + else + ch = (buffer[1] << 8) | buffer[0]; + + if (ch >= 0xd800 && ch <= 0xdbff) + { + // Handle multi-word encoding... + int lch; + + if (cupsFileRead(fp, (char *)buffer, 2) != 2) + return (0); + + if (cs == PPDC_CS_UTF16BE) + lch = (buffer[0] << 8) | buffer[1]; + else + lch = (buffer[1] << 8) | buffer[0]; + + if (lch < 0xdc00 || lch >= 0xdfff) + return (0); + + ch = (((ch & 0x3ff) << 10) | (lch & 0x3ff)) + 0x10000; + } + } + + return (ch); +} + + +// +// 'put_utf8()' - Add a UTF-8 character to a string. +// + +static int // O - 0 on success, -1 on failure +put_utf8(int ch, // I - Unicode character + char *&ptr, // IO - String pointer + char *end) // I - End of buffer +{ + if (ch < 0x80) + { + // One-byte ASCII... + if (ptr >= end) + return (-1); + + *ptr++ = (char)ch; + } + else if (ch < 0x800) + { + // Two-byte UTF-8... + if ((ptr + 1) >= end) + return (-1); + + *ptr++ = (char)(0xc0 | (ch >> 6)); + *ptr++ = (char)(0x80 | (ch & 0x3f)); + } + else if (ch < 0x10000) + { + // Three-byte UTF-8... + if ((ptr + 2) >= end) + return (-1); + + *ptr++ = (char)(0xe0 | (ch >> 12)); + *ptr++ = (char)(0x80 | ((ch >> 6) & 0x3f)); + *ptr++ = (char)(0x80 | (ch & 0x3f)); + } + else + { + // Four-byte UTF-8... + if ((ptr + 3) >= end) + return (-1); + + *ptr++ = (char)(0xf0 | (ch >> 18)); + *ptr++ = (char)(0x80 | ((ch >> 12) & 0x3f)); + *ptr++ = (char)(0x80 | ((ch >> 6) & 0x3f)); + *ptr++ = (char)(0x80 | (ch & 0x3f)); + } + + return (0); +} + + +// +// 'put_utf16()' - Write a UTF-16 character to a file. +// + +static int // O - 0 on success, -1 on failure +put_utf16(cups_file_t *fp, // I - File to write to + int ch) // I - Unicode character +{ + unsigned char buffer[4]; // Output buffer + + + if (ch < 0x10000) + { + // One-word UTF-16 big-endian... + buffer[0] = (unsigned char)(ch >> 8); + buffer[1] = (unsigned char)ch; + + if (cupsFileWrite(fp, (char *)buffer, 2) == 2) + return (0); + } + else + { + // Two-word UTF-16 big-endian... + ch -= 0x10000; + + buffer[0] = (unsigned char)(0xd8 | (ch >> 18)); + buffer[1] = (unsigned char)(ch >> 10); + buffer[2] = (unsigned char)(0xdc | ((ch >> 8) & 0x03)); + buffer[3] = (unsigned char)ch; + + if (cupsFileWrite(fp, (char *)buffer, 4) == 4) + return (0); + } + + return (-1); +} diff --git a/ppdc/ppdc-choice.cxx b/ppdc/ppdc-choice.cxx new file mode 100644 index 0000000..cb514d5 --- /dev/null +++ b/ppdc/ppdc-choice.cxx @@ -0,0 +1,45 @@ +// +// Option choice class for the CUPS PPD Compiler. +// +// Copyright 2007-2009 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcChoice::ppdcChoice()' - Create a new option choice. +// + +ppdcChoice::ppdcChoice(const char *n, // I - Name of choice + const char *t, // I - Text of choice + const char *c) // I - Code of choice + : ppdcShared() +{ + PPDC_NEW; + + name = new ppdcString(n); + text = new ppdcString(t); + code = new ppdcString(c); +} + + +// +// 'ppdcChoice::~ppdcChoice()' - Destroy an option choice. +// + +ppdcChoice::~ppdcChoice() +{ + PPDC_DELETE; + + name->release(); + text->release(); + code->release(); +} diff --git a/ppdc/ppdc-constraint.cxx b/ppdc/ppdc-constraint.cxx new file mode 100644 index 0000000..54e5245 --- /dev/null +++ b/ppdc/ppdc-constraint.cxx @@ -0,0 +1,48 @@ +// +// Contraint class for the CUPS PPD Compiler. +// +// Copyright 2007-2009 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcConstraint::ppdcConstraint()' - Create a constraint. +// + +ppdcConstraint::ppdcConstraint(const char *o1, // I - First option + const char *c1, // I - First choice + const char *o2, // I - Second option + const char *c2) // I - Second choice + : ppdcShared() +{ + PPDC_NEW; + + option1 = new ppdcString(o1); + choice1 = new ppdcString(c1); + option2 = new ppdcString(o2); + choice2 = new ppdcString(c2); +} + + +// +// 'ppdcConstraint::~ppdcConstraint()' - Destroy a constraint. +// + +ppdcConstraint::~ppdcConstraint() +{ + PPDC_DELETE; + + option1->release(); + choice1->release(); + option2->release(); + choice2->release(); +} diff --git a/ppdc/ppdc-driver.cxx b/ppdc/ppdc-driver.cxx new file mode 100644 index 0000000..7f739b2 --- /dev/null +++ b/ppdc/ppdc-driver.cxx @@ -0,0 +1,1324 @@ +// +// PPD file compiler definitions for the CUPS PPD Compiler. +// +// Copyright © 2007-2019 by Apple Inc. +// Copyright © 2002-2006 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more +// information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcDriver::ppdcDriver()' - Create a new printer driver. +// + +ppdcDriver::ppdcDriver(ppdcDriver *d) // I - Printer driver template + : ppdcShared() +{ + ppdcGroup *g; // Current group + + + PPDC_NEW; + + if (d) + { + // Bump the use count of any strings we inherit... + if (d->manufacturer) + d->manufacturer->retain(); + if (d->version) + d->version->retain(); + if (d->default_font) + d->default_font->retain(); + if (d->default_size) + d->default_size->retain(); + if (d->custom_size_code) + d->custom_size_code->retain(); + + // Copy all of the data from the driver template... + copyright = new ppdcArray(d->copyright); + manufacturer = d->manufacturer; + model_name = 0; + file_name = 0; + pc_file_name = 0; + type = d->type; + version = d->version; + model_number = d->model_number; + manual_copies = d->manual_copies; + color_device = d->color_device; + throughput = d->throughput; + attrs = new ppdcArray(d->attrs); + constraints = new ppdcArray(d->constraints); + filters = new ppdcArray(d->filters); + fonts = new ppdcArray(d->fonts); + profiles = new ppdcArray(d->profiles); + sizes = new ppdcArray(d->sizes); + default_font = d->default_font; + default_size = d->default_size; + variable_paper_size = d->variable_paper_size; + custom_size_code = d->custom_size_code; + left_margin = d->left_margin; + bottom_margin = d->bottom_margin; + right_margin = d->right_margin; + top_margin = d->top_margin; + max_width = d->max_width; + max_length = d->max_length; + min_width = d->min_width; + min_length = d->min_length; + + // Then copy the groups manually, since we want separate copies + // of the groups and options... + groups = new ppdcArray(); + + for (g = (ppdcGroup *)d->groups->first(); g; g = (ppdcGroup *)d->groups->next()) + groups->add(new ppdcGroup(g)); + } + else + { + // Zero all of the data in the driver... + copyright = new ppdcArray(); + manufacturer = 0; + model_name = 0; + file_name = 0; + pc_file_name = 0; + version = 0; + type = PPDC_DRIVER_CUSTOM; + model_number = 0; + manual_copies = 0; + color_device = 0; + throughput = 1; + attrs = new ppdcArray(); + constraints = new ppdcArray(); + fonts = new ppdcArray(); + filters = new ppdcArray(); + groups = new ppdcArray(); + profiles = new ppdcArray(); + sizes = new ppdcArray(); + default_font = 0; + default_size = 0; + variable_paper_size = 0; + custom_size_code = 0; + left_margin = 0; + bottom_margin = 0; + right_margin = 0; + top_margin = 0; + max_width = 0; + max_length = 0; + min_width = 0; + min_length = 0; + } +} + + +// +// 'ppdcDriver::~ppdcDriver()' - Destroy a printer driver. +// + +ppdcDriver::~ppdcDriver() +{ + PPDC_DELETE; + + copyright->release(); + + if (manufacturer) + manufacturer->release(); + if (model_name) + model_name->release(); + if (file_name) + file_name->release(); + if (pc_file_name) + pc_file_name->release(); + if (version) + version->release(); + if (default_font) + default_font->release(); + if (default_size) + default_size->release(); + if (custom_size_code) + custom_size_code->release(); + + attrs->release(); + constraints->release(); + filters->release(); + fonts->release(); + groups->release(); + profiles->release(); + sizes->release(); +} + + +// +// 'ppdcDriver::find_attr()' - Find an attribute. +// + +ppdcAttr * // O - Attribute or NULL +ppdcDriver::find_attr(const char *k, // I - Keyword string + const char *s) // I - Spec string +{ + ppdcAttr *a; // Current attribute + + + for (a = (ppdcAttr *)attrs->first(); a; a = (ppdcAttr *)attrs->next()) + if (!strcmp(a->name->value, k) && + ((!s && (!a->selector->value || !a->selector->value[0])) || + (s && a->selector->value && !strcmp(a->selector->value, s)))) + return (a); + + return (NULL); +} + + +// +// 'ppdcDriver::find_group()' - Find a group. +// + +ppdcGroup * // O - Matching group or NULL +ppdcDriver::find_group(const char *n) // I - Group name +{ + ppdcGroup *g; // Current group + + + for (g = (ppdcGroup *)groups->first(); g; g = (ppdcGroup *)groups->next()) + if (!_cups_strcasecmp(n, g->name->value)) + return (g); + + return (0); +} + + +// +// 'ppdcDriver::find_option()' - Find an option. +// + +ppdcOption * // O - Matching option or NULL +ppdcDriver::find_option(const char *n) // I - Option name +{ + return (find_option_group(n, (ppdcGroup **)0)); +} + + +// +// 'ppdcDriver::find_option_group()' - Find an option and its group. +// + +ppdcOption * // O - Matching option or NULL +ppdcDriver::find_option_group( + const char *n, // I - Option name + ppdcGroup **mg) // O - Matching group or NULL +{ + ppdcGroup *g; // Current group + ppdcOption *o; // Current option + + + for (g = (ppdcGroup *)groups->first(); g; g = (ppdcGroup *)groups->next()) + for (o = (ppdcOption *)g->options->first(); o; o = (ppdcOption *)g->options->next()) + if (!_cups_strcasecmp(n, o->name->value)) + { + if (mg) + *mg = g; + + return (o); + } + + if (mg) + *mg = (ppdcGroup *)0; + + return (0); +} + + +// +// 'ppdcDriver::set_custom_size_code()' - Set the custom page size code. +// + +void +ppdcDriver::set_custom_size_code( + const char *c) // I - CustomPageSize code +{ + if (custom_size_code) + custom_size_code->release(); + + custom_size_code = new ppdcString(c); +} + + +// +// 'ppdcDriver::set_default_font()' - Set the default font name. +// + +void +ppdcDriver::set_default_font( + ppdcFont *f) // I - Font +{ + if (default_font) + default_font->release(); + + if (f) + { + f->name->retain(); + default_font = f->name; + } + else + default_font = 0; +} + + +// +// 'ppdcDriver::set_default_size()' - Set the default size name. +// + +void +ppdcDriver::set_default_size( + ppdcMediaSize *m) // I - Media size +{ + if (default_size) + default_size->release(); + + if (m) + { + m->name->retain(); + default_size = m->name; + } + else + default_size = 0; +} + + +// +// 'ppdcDriver::set_file_name()' - Set the full filename. +// + +void +ppdcDriver::set_file_name(const char *f)// I - Filename +{ + if (file_name) + file_name->release(); + + file_name = new ppdcString(f); +} + + +// +// 'ppdcDriver::set_manufacturer()' - Set the manufacturer name. +// + +void +ppdcDriver::set_manufacturer( + const char *m) // I - Model name +{ + if (manufacturer) + manufacturer->release(); + + manufacturer = new ppdcString(m); +} + + +// +// 'ppdcDriver::set_model_name()' - Set the model name. +// + +void +ppdcDriver::set_model_name( + const char *m) // I - Model name +{ + if (model_name) + model_name->release(); + + model_name = new ppdcString(m); +} + + +// +// 'ppdcDriver::set_pc_file_name()' - Set the PC filename. +// + +void +ppdcDriver::set_pc_file_name( + const char *f) // I - Filename +{ + if (pc_file_name) + pc_file_name->release(); + + pc_file_name = new ppdcString(f); +} + + +// +// 'ppdcDriver::set_version()' - Set the version string. +// + +void +ppdcDriver::set_version(const char *v) // I - Version +{ + if (version) + version->release(); + + version = new ppdcString(v); +} + + +// +// 'ppdcDriver::write_ppd_file()' - Write a PPD file... +// + +int // O - 0 on success, -1 on failure +ppdcDriver::write_ppd_file( + cups_file_t *fp, // I - PPD file + ppdcCatalog *catalog, // I - Message catalog + ppdcArray *locales, // I - Additional languages to add + ppdcSource *src, // I - Driver source + ppdcLineEnding le) // I - Line endings to use +{ + bool delete_cat; // Delete the catalog when we are done? + char query[42], // Query attribute + custom[42]; // Custom attribute + ppdcString *s; // Copyright string + ppdcGroup *g; // Current group + ppdcOption *o; // Current option + ppdcChoice *c; // Current choice + ppdcMediaSize *m; // Current media size + ppdcProfile *p; // Current color profile + ppdcFilter *f; // Current filter + ppdcFont *fn, // Current font + *bfn; // Current base font + ppdcConstraint *cn; // Current constraint + ppdcAttr *a; // Current attribute + const char *lf; // Linefeed character to use + + + // If we don't have a message catalog, use an empty (English) one... + if (!catalog) + { + catalog = new ppdcCatalog(NULL); + delete_cat = true; + } + else + delete_cat = false; + + // Figure out the end-of-line string... + if (le == PPDC_LFONLY) + lf = "\n"; + else if (le == PPDC_CRONLY) + lf = "\r"; + else + lf = "\r\n"; + + // Write the standard header stuff... + cupsFilePrintf(fp, "*PPD-Adobe: \"4.3\"%s", lf); + cupsFilePrintf(fp, "*%%%%%%%% PPD file for %s with CUPS.%s", + model_name->value, lf); + cupsFilePrintf(fp, + "*%%%%%%%% Created by the CUPS PPD Compiler " CUPS_SVERSION + ".%s", lf); + for (s = (ppdcString *)copyright->first(); + s; + s = (ppdcString *)copyright->next()) + cupsFilePrintf(fp, "*%% %s%s", catalog->find_message(s->value), lf); + cupsFilePrintf(fp, "*FormatVersion: \"4.3\"%s", lf); + cupsFilePrintf(fp, "*FileVersion: \"%s\"%s", version->value, lf); + + a = find_attr("LanguageVersion", NULL); + cupsFilePrintf(fp, "*LanguageVersion: %s%s", + catalog->find_message(a ? a->value->value : "English"), lf); + + a = find_attr("LanguageEncoding", NULL); + cupsFilePrintf(fp, "*LanguageEncoding: %s%s", + catalog->find_message(a ? a->value->value : "ISOLatin1"), lf); + + cupsFilePrintf(fp, "*PCFileName: \"%s\"%s", pc_file_name->value, lf); + + for (a = (ppdcAttr *)attrs->first(); a; a = (ppdcAttr *)attrs->next()) + if (!strcmp(a->name->value, "Product")) + break; + + if (a) + { + for (; a; a = (ppdcAttr *)attrs->next()) + if (!strcmp(a->name->value, "Product")) + cupsFilePrintf(fp, "*Product: \"%s\"%s", a->value->value, lf); + } + else + cupsFilePrintf(fp, "*Product: \"(%s)\"%s", model_name->value, lf); + + cupsFilePrintf(fp, "*Manufacturer: \"%s\"%s", + catalog->find_message(manufacturer->value), lf); + + if ((a = find_attr("ModelName", NULL)) != NULL) + cupsFilePrintf(fp, "*ModelName: \"%s\"%s", + catalog->find_message(a->value->value), lf); + else if (_cups_strncasecmp(model_name->value, manufacturer->value, + strlen(manufacturer->value))) + cupsFilePrintf(fp, "*ModelName: \"%s %s\"%s", + catalog->find_message(manufacturer->value), + catalog->find_message(model_name->value), lf); + else + cupsFilePrintf(fp, "*ModelName: \"%s\"%s", + catalog->find_message(model_name->value), lf); + + if ((a = find_attr("ShortNickName", NULL)) != NULL) + cupsFilePrintf(fp, "*ShortNickName: \"%s\"%s", + catalog->find_message(a->value->value), lf); + else if (_cups_strncasecmp(model_name->value, manufacturer->value, + strlen(manufacturer->value))) + cupsFilePrintf(fp, "*ShortNickName: \"%s %s\"%s", + catalog->find_message(manufacturer->value), + catalog->find_message(model_name->value), lf); + else + cupsFilePrintf(fp, "*ShortNickName: \"%s\"%s", + catalog->find_message(model_name->value), lf); + + if ((a = find_attr("NickName", NULL)) != NULL) + cupsFilePrintf(fp, "*NickName: \"%s\"%s", + catalog->find_message(a->value->value), lf); + else if (_cups_strncasecmp(model_name->value, manufacturer->value, + strlen(manufacturer->value))) + cupsFilePrintf(fp, "*NickName: \"%s %s, %s\"%s", + catalog->find_message(manufacturer->value), + catalog->find_message(model_name->value), version->value, + lf); + else + cupsFilePrintf(fp, "*NickName: \"%s, %s\"%s", + catalog->find_message(model_name->value), version->value, + lf); + + for (a = (ppdcAttr *)attrs->first(); a; a = (ppdcAttr *)attrs->next()) + if (!strcmp(a->name->value, "PSVersion")) + break; + + if (a) + { + for (; a; a = (ppdcAttr *)attrs->next()) + if (!strcmp(a->name->value, "PSVersion")) + cupsFilePrintf(fp, "*PSVersion: \"%s\"%s", a->value->value, lf); + } + else + cupsFilePrintf(fp, "*PSVersion: \"(3010.000) 0\"%s", lf); + + if ((a = find_attr("LanguageLevel", NULL)) != NULL) + cupsFilePrintf(fp, "*LanguageLevel: \"%s\"%s", a->value->value, lf); + else + cupsFilePrintf(fp, "*LanguageLevel: \"3\"%s", lf); + + cupsFilePrintf(fp, "*ColorDevice: %s%s", color_device ? "True" : "False", lf); + + if ((a = find_attr("DefaultColorSpace", NULL)) != NULL) + cupsFilePrintf(fp, "*DefaultColorSpace: %s%s", a->value->value, lf); + else + cupsFilePrintf(fp, "*DefaultColorSpace: %s%s", + color_device ? "RGB" : "Gray", lf); + + if ((a = find_attr("FileSystem", NULL)) != NULL) + cupsFilePrintf(fp, "*FileSystem: %s%s", a->value->value, lf); + else + cupsFilePrintf(fp, "*FileSystem: False%s", lf); + + cupsFilePrintf(fp, "*Throughput: \"%d\"%s", throughput, lf); + + if ((a = find_attr("LandscapeOrientation", NULL)) != NULL) + cupsFilePrintf(fp, "*LandscapeOrientation: %s%s", a->value->value, lf); + else + cupsFilePrintf(fp, "*LandscapeOrientation: Plus90%s", lf); + + if ((a = find_attr("TTRasterizer", NULL)) != NULL) + cupsFilePrintf(fp, "*TTRasterizer: %s%s", a->value->value, lf); + else if (type != PPDC_DRIVER_PS) + cupsFilePrintf(fp, "*TTRasterizer: Type42%s", lf); + + struct lconv *loc = localeconv(); + + if (attrs->count) + { + // Write driver-defined attributes... + cupsFilePrintf(fp, "*%% Driver-defined attributes...%s", lf); + for (a = (ppdcAttr *)attrs->first(); a; a = (ppdcAttr *)attrs->next()) + { + if (!strcmp(a->name->value, "Product") || + !strcmp(a->name->value, "PSVersion") || + !strcmp(a->name->value, "LanguageLevel") || + !strcmp(a->name->value, "DefaultColorSpace") || + !strcmp(a->name->value, "FileSystem") || + !strcmp(a->name->value, "LandscapeOrientation") || + !strcmp(a->name->value, "TTRasterizer") || + !strcmp(a->name->value, "LanguageVersion") || + !strcmp(a->name->value, "LanguageEncoding") || + !strcmp(a->name->value, "ModelName") || + !strcmp(a->name->value, "NickName") || + !strcmp(a->name->value, "ShortNickName") || + !strcmp(a->name->value, "cupsVersion")) + continue; + + if (a->name->value[0] == '?' && + (find_option(a->name->value + 1) || + !strcmp(a->name->value, "?ImageableArea") || + !strcmp(a->name->value, "?PageRegion") || + !strcmp(a->name->value, "?PageSize") || + !strcmp(a->name->value, "?PaperDimension"))) + continue; + + if (!strncmp(a->name->value, "Custom", 6) && + find_option(a->name->value + 6)) + continue; + + if (!strncmp(a->name->value, "ParamCustom", 11) && + find_option(a->name->value + 11)) + continue; + + if (!a->selector->value || !a->selector->value[0]) + cupsFilePrintf(fp, "*%s", a->name->value); + else if (!a->text->value || !a->text->value[0]) + cupsFilePrintf(fp, "*%s %s", a->name->value, a->selector->value); + else + cupsFilePrintf(fp, "*%s %s/%s", a->name->value, a->selector->value, + a->text->value); + + if (strcmp(a->value->value, "False") && + strcmp(a->value->value, "True") && + strcmp(a->name->value, "1284Modes") && + strcmp(a->name->value, "InkName") && + strcmp(a->name->value, "PageStackOrder") && + strncmp(a->name->value, "ParamCustom", 11) && + strcmp(a->name->value, "Protocols") && + strcmp(a->name->value, "ReferencePunch") && + strncmp(a->name->value, "Default", 7)) + { + cupsFilePrintf(fp, ": \"%s\"%s", a->value->value, lf); + + if (strchr(a->value->value, '\n') || strchr(a->value->value, '\r')) + cupsFilePrintf(fp, "*End%s", lf); + } + else + cupsFilePrintf(fp, ": %s%s", a->value->value, lf); + } + } + + if (type != PPDC_DRIVER_PS || filters->count) + { + if ((a = find_attr("cupsVersion", NULL)) != NULL) + cupsFilePrintf(fp, "*cupsVersion: %s%s", a->value->value, lf); + else + cupsFilePrintf(fp, "*cupsVersion: %d.%d%s", CUPS_VERSION_MAJOR, + CUPS_VERSION_MINOR, lf); + cupsFilePrintf(fp, "*cupsModelNumber: %d%s", model_number, lf); + cupsFilePrintf(fp, "*cupsManualCopies: %s%s", + manual_copies ? "True" : "False", lf); + + if (filters->count) + { + for (f = (ppdcFilter *)filters->first(); + f; + f = (ppdcFilter *)filters->next()) + cupsFilePrintf(fp, "*cupsFilter: \"%s %d %s\"%s", f->mime_type->value, + f->cost, f->program->value, lf); + } + else + { + switch (type) + { + case PPDC_DRIVER_LABEL : + cupsFilePrintf(fp, "*cupsFilter: \"application/vnd.cups-raster 50 " + "rastertolabel\"%s", lf); + break; + + case PPDC_DRIVER_EPSON : + cupsFilePrintf(fp, "*cupsFilter: \"application/vnd.cups-raster 50 " + "rastertoepson\"%s", lf); + break; + + case PPDC_DRIVER_ESCP : + cupsFilePrintf(fp, "*cupsFilter: \"application/vnd.cups-command 50 " + "commandtoescpx\"%s", lf); + cupsFilePrintf(fp, "*cupsFilter: \"application/vnd.cups-raster 50 " + "rastertoescpx\"%s", lf); + break; + + case PPDC_DRIVER_HP : + cupsFilePrintf(fp, "*cupsFilter: \"application/vnd.cups-raster 50 " + "rastertohp\"%s", lf); + break; + + case PPDC_DRIVER_PCL : + cupsFilePrintf(fp, "*cupsFilter: \"application/vnd.cups-command 50 " + "commandtopclx\"%s", lf); + cupsFilePrintf(fp, "*cupsFilter: \"application/vnd.cups-raster 50 " + "rastertopclx\"%s", lf); + break; + + default : + break; + } + } + + for (p = (ppdcProfile *)profiles->first(); + p; + p = (ppdcProfile *)profiles->next()) + { + char density[255], gamma[255], profile[9][255]; + + _cupsStrFormatd(density, density + sizeof(density), p->density, loc); + _cupsStrFormatd(gamma, gamma + sizeof(gamma), p->gamma, loc); + + for (int i = 0; i < 9; i ++) + _cupsStrFormatd(profile[i], profile[i] + sizeof(profile[0]), + p->profile[i], loc); + + cupsFilePrintf(fp, + "*cupsColorProfile %s/%s: \"%s %s %s %s %s %s %s %s %s %s " + "%s\"%s", p->resolution->value, p->media_type->value, + density, gamma, profile[0], profile[1], profile[2], + profile[3], profile[4], profile[5], profile[6], profile[7], + profile[8], lf); + } + } + + if (locales) + { + // Add localizations for additional languages... + ppdcString *locale; // Locale name + ppdcCatalog *locatalog; // Message catalog for locale + + + // Write the list of languages... + cupsFilePrintf(fp, "*cupsLanguages: \"en"); + + for (locale = (ppdcString *)locales->first(); + locale; + locale = (ppdcString *)locales->next()) + { + // Skip (US) English... + if (!strcmp(locale->value, "en") || !strcmp(locale->value, "en_US")) + continue; + + // See if we have a po file for this language... + if (!src->find_po(locale->value)) + { + // No, see if we can use the base file? + locatalog = new ppdcCatalog(locale->value); + + if (locatalog->messages->count == 0) + { + // No, skip this one... + _cupsLangPrintf(stderr, + _("ppdc: No message catalog provided for locale " + "%s."), locale->value); + delete locatalog; + continue; + } + + // Add the base file to the list... + src->po_files->add(locatalog); + } + + cupsFilePrintf(fp, " %s", locale->value); + } + + cupsFilePrintf(fp, "\"%s", lf); + } + + for (cn = (ppdcConstraint *)constraints->first(); + cn; + cn = (ppdcConstraint *)constraints->next()) + { + // First constrain 1 against 2... + if (!strncmp(cn->option1->value, "*Custom", 7) || + !strncmp(cn->option2->value, "*Custom", 7)) + cupsFilePuts(fp, "*NonUIConstraints: "); + else + cupsFilePuts(fp, "*UIConstraints: "); + + if (cn->option1->value[0] != '*') + cupsFilePutChar(fp, '*'); + + cupsFilePuts(fp, cn->option1->value); + + if (cn->choice1->value) + cupsFilePrintf(fp, " %s", cn->choice1->value); + + cupsFilePutChar(fp, ' '); + + if (cn->option2->value[0] != '*') + cupsFilePutChar(fp, '*'); + + cupsFilePuts(fp, cn->option2->value); + + if (cn->choice2->value) + cupsFilePrintf(fp, " %s", cn->choice2->value); + + cupsFilePuts(fp, lf); + + // Then constrain 2 against 1... + if (!strncmp(cn->option1->value, "*Custom", 7) || + !strncmp(cn->option2->value, "*Custom", 7)) + cupsFilePuts(fp, "*NonUIConstraints: "); + else + cupsFilePuts(fp, "*UIConstraints: "); + + if (cn->option2->value[0] != '*') + cupsFilePutChar(fp, '*'); + + cupsFilePuts(fp, cn->option2->value); + + if (cn->choice2->value) + cupsFilePrintf(fp, " %s", cn->choice2->value); + + cupsFilePutChar(fp, ' '); + + if (cn->option1->value[0] != '*') + cupsFilePutChar(fp, '*'); + + cupsFilePuts(fp, cn->option1->value); + + if (cn->choice1->value) + cupsFilePrintf(fp, " %s", cn->choice1->value); + + cupsFilePuts(fp, lf); + } + + // PageSize option... + cupsFilePrintf(fp, "*OpenUI *PageSize/Media Size: PickOne%s", lf); + cupsFilePrintf(fp, "*OrderDependency: 10 AnySetup *PageSize%s", lf); + cupsFilePrintf(fp, "*DefaultPageSize: %s%s", + default_size ? default_size->value : "Letter", lf); + + for (m = (ppdcMediaSize *)sizes->first(); + m; + m = (ppdcMediaSize *)sizes->next()) + if (m->size_code->value) + { + cupsFilePrintf(fp, "*PageSize %s/%s: \"%s\"%s", + m->name->value, catalog->find_message(m->text->value), + m->size_code->value, lf); + + if (strchr(m->size_code->value, '\n') || + strchr(m->size_code->value, '\r')) + cupsFilePrintf(fp, "*End%s", lf); + } + else + cupsFilePrintf(fp, + "*PageSize %s/%s: \"<>setpagedevice\"%s", + m->name->value, catalog->find_message(m->text->value), + m->width, m->length, lf); + + if ((a = find_attr("?PageSize", NULL)) != NULL) + { + cupsFilePrintf(fp, "*?PageSize: \"%s\"%s", a->value->value, lf); + + if (strchr(a->value->value, '\n') || + strchr(a->value->value, '\r')) + cupsFilePrintf(fp, "*End%s", lf); + } + + cupsFilePrintf(fp, "*CloseUI: *PageSize%s", lf); + + // PageRegion option... + cupsFilePrintf(fp, "*OpenUI *PageRegion/Media Size: PickOne%s", lf); + cupsFilePrintf(fp, "*OrderDependency: 10 AnySetup *PageRegion%s", lf); + cupsFilePrintf(fp, "*DefaultPageRegion: %s%s", + default_size ? default_size->value : "Letter", lf); + + for (m = (ppdcMediaSize *)sizes->first(); + m; + m = (ppdcMediaSize *)sizes->next()) + if (m->region_code->value) + { + cupsFilePrintf(fp, "*PageRegion %s/%s: \"%s\"%s", + m->name->value, catalog->find_message(m->text->value), + m->region_code->value, lf); + + if (strchr(m->region_code->value, '\n') || + strchr(m->region_code->value, '\r')) + cupsFilePrintf(fp, "*End%s", lf); + } + else + cupsFilePrintf(fp, + "*PageRegion %s/%s: \"<>setpagedevice\"%s", + m->name->value, catalog->find_message(m->text->value), + m->width, m->length, lf); + + if ((a = find_attr("?PageRegion", NULL)) != NULL) + { + cupsFilePrintf(fp, "*?PageRegion: \"%s\"%s", a->value->value, lf); + + if (strchr(a->value->value, '\n') || + strchr(a->value->value, '\r')) + cupsFilePrintf(fp, "*End%s", lf); + } + + cupsFilePrintf(fp, "*CloseUI: *PageRegion%s", lf); + + // ImageableArea info... + cupsFilePrintf(fp, "*DefaultImageableArea: %s%s", + default_size ? default_size->value : "Letter", lf); + + char left[255], right[255], bottom[255], top[255]; + + for (m = (ppdcMediaSize *)sizes->first(); + m; + m = (ppdcMediaSize *)sizes->next()) + { + _cupsStrFormatd(left, left + sizeof(left), m->left, loc); + _cupsStrFormatd(bottom, bottom + sizeof(bottom), m->bottom, loc); + _cupsStrFormatd(right, right + sizeof(right), m->width - m->right, loc); + _cupsStrFormatd(top, top + sizeof(top), m->length - m->top, loc); + + cupsFilePrintf(fp, "*ImageableArea %s/%s: \"%s %s %s %s\"%s", + m->name->value, catalog->find_message(m->text->value), + left, bottom, right, top, lf); + } + + if ((a = find_attr("?ImageableArea", NULL)) != NULL) + { + cupsFilePrintf(fp, "*?ImageableArea: \"%s\"%s", a->value->value, lf); + + if (strchr(a->value->value, '\n') || + strchr(a->value->value, '\r')) + cupsFilePrintf(fp, "*End%s", lf); + } + + // PaperDimension info... + cupsFilePrintf(fp, "*DefaultPaperDimension: %s%s", + default_size ? default_size->value : "Letter", lf); + + char width[255], length[255]; + + for (m = (ppdcMediaSize *)sizes->first(); + m; + m = (ppdcMediaSize *)sizes->next()) + { + _cupsStrFormatd(width, width + sizeof(width), m->width, loc); + _cupsStrFormatd(length, length + sizeof(length), m->length, loc); + + cupsFilePrintf(fp, "*PaperDimension %s/%s: \"%s %s\"%s", + m->name->value, catalog->find_message(m->text->value), + width, length, lf); + } + + if ((a = find_attr("?PaperDimension", NULL)) != NULL) + { + cupsFilePrintf(fp, "*?PaperDimension: \"%s\"%s", a->value->value, lf); + + if (strchr(a->value->value, '\n') || + strchr(a->value->value, '\r')) + cupsFilePrintf(fp, "*End%s", lf); + } + + // Custom size support... + if (variable_paper_size) + { + _cupsStrFormatd(width, width + sizeof(width), max_width, loc); + _cupsStrFormatd(length, length + sizeof(length), max_length, loc); + + _cupsStrFormatd(left, left + sizeof(left), left_margin, loc); + _cupsStrFormatd(bottom, bottom + sizeof(bottom), bottom_margin, loc); + _cupsStrFormatd(right, right + sizeof(right), right_margin, loc); + _cupsStrFormatd(top, top + sizeof(top), top_margin, loc); + + cupsFilePrintf(fp, "*MaxMediaWidth: \"%s\"%s", width, lf); + cupsFilePrintf(fp, "*MaxMediaHeight: \"%s\"%s", length, lf); + cupsFilePrintf(fp, "*HWMargins: %s %s %s %s%s", left, bottom, right, top, + lf); + + if (custom_size_code && custom_size_code->value) + { + cupsFilePrintf(fp, "*CustomPageSize True: \"%s\"%s", + custom_size_code->value, lf); + + if (strchr(custom_size_code->value, '\n') || + strchr(custom_size_code->value, '\r')) + cupsFilePrintf(fp, "*End%s", lf); + } + else + cupsFilePrintf(fp, + "*CustomPageSize True: \"pop pop pop <>setpagedevice\"%s", lf); + + if ((a = find_attr("ParamCustomPageSize", "Width")) != NULL) + cupsFilePrintf(fp, "*ParamCustomPageSize Width: %s%s", a->value->value, + lf); + else + { + char width0[255]; + + _cupsStrFormatd(width0, width0 + sizeof(width0), min_width, loc); + _cupsStrFormatd(width, width + sizeof(width), max_width, loc); + + cupsFilePrintf(fp, "*ParamCustomPageSize Width: 1 points %s %s%s", + width0, width, lf); + } + + if ((a = find_attr("ParamCustomPageSize", "Height")) != NULL) + cupsFilePrintf(fp, "*ParamCustomPageSize Height: %s%s", a->value->value, + lf); + else + { + char length0[255]; + + _cupsStrFormatd(length0, length0 + sizeof(length0), min_length, loc); + _cupsStrFormatd(length, length + sizeof(length), max_length, loc); + + cupsFilePrintf(fp, "*ParamCustomPageSize Height: 2 points %s %s%s", + length0, length, lf); + } + + if ((a = find_attr("ParamCustomPageSize", "WidthOffset")) != NULL) + cupsFilePrintf(fp, "*ParamCustomPageSize WidthOffset: %s%s", + a->value->value, lf); + else + cupsFilePrintf(fp, "*ParamCustomPageSize WidthOffset: 3 points 0 0%s", lf); + + if ((a = find_attr("ParamCustomPageSize", "HeightOffset")) != NULL) + cupsFilePrintf(fp, "*ParamCustomPageSize HeightOffset: %s%s", + a->value->value, lf); + else + cupsFilePrintf(fp, "*ParamCustomPageSize HeightOffset: 4 points 0 0%s", lf); + + if ((a = find_attr("ParamCustomPageSize", "Orientation")) != NULL) + cupsFilePrintf(fp, "*ParamCustomPageSize Orientation: %s%s", + a->value->value, lf); + else + cupsFilePrintf(fp, "*ParamCustomPageSize Orientation: 5 int 0 0%s", lf); + } + + // All other options... + for (g = (ppdcGroup *)groups->first(); g; g = (ppdcGroup *)groups->next()) + { + if (!g->options->count) + continue; + + if (_cups_strcasecmp(g->name->value, "General")) + cupsFilePrintf(fp, "*OpenGroup: %s/%s%s", g->name->value, + catalog->find_message(g->text->value), lf); + + for (o = (ppdcOption *)g->options->first(); + o; + o = (ppdcOption *)g->options->next()) + { + if (!o->choices->count) + continue; + + if (o->section == PPDC_SECTION_JCL) + { + if (!o->text->value) + cupsFilePrintf(fp, "*JCLOpenUI *%s/%s: ", o->name->value, + catalog->find_message(o->name->value)); + else + cupsFilePrintf(fp, "*JCLOpenUI *%s/%s: ", o->name->value, + catalog->find_message(o->text->value)); + } + else if (!o->text->value) + cupsFilePrintf(fp, "*OpenUI *%s/%s: ", o->name->value, + catalog->find_message(o->name->value)); + else + cupsFilePrintf(fp, "*OpenUI *%s/%s: ", o->name->value, + catalog->find_message(o->text->value)); + + switch (o->type) + { + case PPDC_BOOLEAN : + cupsFilePrintf(fp, "Boolean%s", lf); + break; + default : + cupsFilePrintf(fp, "PickOne%s", lf); + break; + case PPDC_PICKMANY : + cupsFilePrintf(fp, "PickMany%s", lf); + break; + } + + char order[255]; + _cupsStrFormatd(order, order + sizeof(order), o->order, loc); + + cupsFilePrintf(fp, "*OrderDependency: %s ", order); + switch (o->section) + { + default : + cupsFilePrintf(fp, "AnySetup"); + break; + case PPDC_SECTION_DOCUMENT : + cupsFilePrintf(fp, "DocumentSetup"); + break; + case PPDC_SECTION_EXIT : + cupsFilePrintf(fp, "ExitServer"); + break; + case PPDC_SECTION_JCL : + cupsFilePrintf(fp, "JCLSetup"); + break; + case PPDC_SECTION_PAGE : + cupsFilePrintf(fp, "PageSetup"); + break; + case PPDC_SECTION_PROLOG : + cupsFilePrintf(fp, "Prolog"); + break; + } + + cupsFilePrintf(fp, " *%s%s", o->name->value, lf); + + if (o->defchoice) + { + // Use the programmer-supplied default... + cupsFilePrintf(fp, "*Default%s: %s%s", o->name->value, + o->defchoice->value, lf); + } + else + { + // Make the first choice the default... + c = (ppdcChoice *)o->choices->first(); + cupsFilePrintf(fp, "*Default%s: %s%s", o->name->value, c->name->value, + lf); + } + + for (c = (ppdcChoice *)o->choices->first(); + c; + c = (ppdcChoice *)o->choices->next()) + { + // Write this choice... + if (!c->text->value) + cupsFilePrintf(fp, "*%s %s/%s: \"%s\"%s", o->name->value, + c->name->value, catalog->find_message(c->name->value), + c->code->value, lf); + else + cupsFilePrintf(fp, "*%s %s/%s: \"%s\"%s", o->name->value, + c->name->value, catalog->find_message(c->text->value), + c->code->value, lf); + + // Multi-line commands need a *End line to terminate them. + if (strchr(c->code->value, '\n') || + strchr(c->code->value, '\r')) + cupsFilePrintf(fp, "*End%s", lf); + } + + snprintf(query, sizeof(query), "?%s", o->name->value); + + if ((a = find_attr(query, NULL)) != NULL) + { + cupsFilePrintf(fp, "*%s: \"%s\"%s", query, a->value->value, lf); + + if (strchr(a->value->value, '\n') || + strchr(a->value->value, '\r')) + cupsFilePrintf(fp, "*End%s", lf); + } + + if (o->section == PPDC_SECTION_JCL) + cupsFilePrintf(fp, "*JCLCloseUI: *%s%s", o->name->value, lf); + else + cupsFilePrintf(fp, "*CloseUI: *%s%s", o->name->value, lf); + + snprintf(custom, sizeof(custom), "Custom%s", o->name->value); + if ((a = find_attr(custom, "True")) != NULL) + { + // Output custom option information... + cupsFilePrintf(fp, "*%s True: \"%s\"%s", custom, a->value->value, lf); + if (strchr(a->value->value, '\n') || strchr(a->value->value, '\r')) + cupsFilePrintf(fp, "*End%s", lf); + + snprintf(custom, sizeof(custom), "ParamCustom%s", o->name->value); + for (a = (ppdcAttr *)attrs->first(); a; a = (ppdcAttr *)attrs->next()) + { + if (strcmp(a->name->value, custom)) + continue; + + if (!a->selector->value || !a->selector->value[0]) + cupsFilePrintf(fp, "*%s", a->name->value); + else if (!a->text->value || !a->text->value[0]) + cupsFilePrintf(fp, "*%s %s/%s", a->name->value, a->selector->value, + catalog->find_message(a->selector->value)); + else + cupsFilePrintf(fp, "*%s %s/%s", a->name->value, a->selector->value, + catalog->find_message(a->text->value)); + + cupsFilePrintf(fp, ": %s%s", a->value->value, lf); + } + } + } + + if (_cups_strcasecmp(g->name->value, "General")) + cupsFilePrintf(fp, "*CloseGroup: %s%s", g->name->value, lf); + } + + if (locales) + { + // Add localizations for additional languages... + ppdcString *locale; // Locale name + ppdcCatalog *locatalog; // Message catalog for locale + + + // Write the translation strings for each language... + for (locale = (ppdcString *)locales->first(); + locale; + locale = (ppdcString *)locales->next()) + { + // Skip (US) English... + if (!strcmp(locale->value, "en") || !strcmp(locale->value, "en_US")) + continue; + + // Skip missing languages... + if ((locatalog = src->find_po(locale->value)) == NULL) + continue; + + // Do the core stuff first... + cupsFilePrintf(fp, "*%s.Translation Manufacturer/%s: \"\"%s", + locale->value, + locatalog->find_message(manufacturer->value), lf); + + if ((a = find_attr("ModelName", NULL)) != NULL) + cupsFilePrintf(fp, "*%s.Translation ModelName/%s: \"\"%s", + locale->value, + locatalog->find_message(a->value->value), lf); + else if (_cups_strncasecmp(model_name->value, manufacturer->value, + strlen(manufacturer->value))) + cupsFilePrintf(fp, "*%s.Translation ModelName/%s %s: \"\"%s", + locale->value, + locatalog->find_message(manufacturer->value), + locatalog->find_message(model_name->value), lf); + else + cupsFilePrintf(fp, "*%s.Translation ModelName/%s: \"\"%s", + locale->value, + locatalog->find_message(model_name->value), lf); + + if ((a = find_attr("ShortNickName", NULL)) != NULL) + cupsFilePrintf(fp, "*%s.Translation ShortNickName/%s: \"\"%s", + locale->value, + locatalog->find_message(a->value->value), lf); + else if (_cups_strncasecmp(model_name->value, manufacturer->value, + strlen(manufacturer->value))) + cupsFilePrintf(fp, "*%s.Translation ShortNickName/%s %s: \"\"%s", + locale->value, + locatalog->find_message(manufacturer->value), + locatalog->find_message(model_name->value), lf); + else + cupsFilePrintf(fp, "*%s.Translation ShortNickName/%s: \"\"%s", + locale->value, + locatalog->find_message(model_name->value), lf); + + if ((a = find_attr("NickName", NULL)) != NULL) + cupsFilePrintf(fp, "*%s.Translation NickName/%s: \"\"%s", + locale->value, + locatalog->find_message(a->value->value), lf); + else if (_cups_strncasecmp(model_name->value, manufacturer->value, + strlen(manufacturer->value))) + cupsFilePrintf(fp, "*%s.Translation NickName/%s %s, %s: \"\"%s", + locale->value, + locatalog->find_message(manufacturer->value), + locatalog->find_message(model_name->value), + version->value, lf); + else + cupsFilePrintf(fp, "*%s.Translation NickName/%s, %s: \"\"%s", + locale->value, + locatalog->find_message(model_name->value), + version->value, lf); + + // Then the page sizes... + cupsFilePrintf(fp, "*%s.Translation PageSize/%s: \"\"%s", locale->value, + locatalog->find_message("Media Size"), lf); + + for (m = (ppdcMediaSize *)sizes->first(); + m; + m = (ppdcMediaSize *)sizes->next()) + { + cupsFilePrintf(fp, "*%s.PageSize %s/%s: \"\"%s", locale->value, + m->name->value, locatalog->find_message(m->text->value), + lf); + } + + // Next the groups and options... + for (g = (ppdcGroup *)groups->first(); g; g = (ppdcGroup *)groups->next()) + { + if (!g->options->count) + continue; + + if (_cups_strcasecmp(g->name->value, "General")) + cupsFilePrintf(fp, "*%s.Translation %s/%s: \"\"%s", locale->value, + g->name->value, + locatalog->find_message(g->text->value), lf); + + for (o = (ppdcOption *)g->options->first(); + o; + o = (ppdcOption *)g->options->next()) + { + if (!o->choices->count) + continue; + + cupsFilePrintf(fp, "*%s.Translation %s/%s: \"\"%s", locale->value, + o->name->value, + locatalog->find_message(o->text->value ? + o->text->value : + o->name->value), lf); + + for (c = (ppdcChoice *)o->choices->first(); + c; + c = (ppdcChoice *)o->choices->next()) + { + // Write this choice... + cupsFilePrintf(fp, "*%s.%s %s/%s: \"\"%s", locale->value, + o->name->value, c->name->value, + locatalog->find_message(c->text->value ? + c->text->value : + c->name->value), lf); + } + } + } + + // Finally the localizable attributes... + for (a = (ppdcAttr *)attrs->first(); a; a = (ppdcAttr *)attrs->next()) + { + if (!a->localizable && + (!a->text || !a->text->value || !a->text->value[0]) && + strcmp(a->name->value, "APCustomColorMatchingName") && + strcmp(a->name->value, "APPrinterPreset") && + strcmp(a->name->value, "cupsICCProfile") && + strcmp(a->name->value, "cupsIPPReason") && + strcmp(a->name->value, "cupsMarkerName") && + strncmp(a->name->value, "Custom", 6) && + strncmp(a->name->value, "ParamCustom", 11)) + continue; + + cupsFilePrintf(fp, "*%s.%s %s/%s: \"%s\"%s", locale->value, + a->name->value, a->selector->value, + locatalog->find_message(a->text && a->text->value ? + a->text->value : a->name->value), + ((a->localizable && a->value->value[0]) || + !strcmp(a->name->value, "cupsIPPReason")) ? + locatalog->find_message(a->value->value) : "", + lf); + } + } + } + + if (default_font && default_font->value) + cupsFilePrintf(fp, "*DefaultFont: %s%s", default_font->value, lf); + else + cupsFilePrintf(fp, "*DefaultFont: Courier%s", lf); + + for (fn = (ppdcFont *)fonts->first(); fn; fn = (ppdcFont *)fonts->next()) + if (!strcmp(fn->name->value, "*")) + { + for (bfn = (ppdcFont *)src->base_fonts->first(); + bfn; + bfn = (ppdcFont *)src->base_fonts->next()) + cupsFilePrintf(fp, "*Font %s: %s \"%s\" %s %s%s", + bfn->name->value, bfn->encoding->value, + bfn->version->value, bfn->charset->value, + bfn->status == PPDC_FONT_ROM ? "ROM" : "Disk", lf); + } + else + cupsFilePrintf(fp, "*Font %s: %s \"%s\" %s %s%s", + fn->name->value, fn->encoding->value, fn->version->value, + fn->charset->value, + fn->status == PPDC_FONT_ROM ? "ROM" : "Disk", lf); + + cupsFilePrintf(fp, "*%% End of %s, %05d bytes.%s", pc_file_name->value, + (int)((size_t)cupsFileTell(fp) + 25 + strlen(pc_file_name->value)), + lf); + + if (delete_cat) + catalog->release(); + + return (0); +} diff --git a/ppdc/ppdc-file.cxx b/ppdc/ppdc-file.cxx new file mode 100644 index 0000000..cf5ded4 --- /dev/null +++ b/ppdc/ppdc-file.cxx @@ -0,0 +1,92 @@ +// +// File class for the CUPS PPD Compiler. +// +// Copyright 2007-2010 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcFile::ppdcFile()' - Create (open) a file. +// + +ppdcFile::ppdcFile(const char *f, // I - File to open + cups_file_t *ffp) // I - File pointer to use +{ + if (ffp) + { + fp = ffp; + cupsFileRewind(fp); + } + else + fp = cupsFileOpen(f, "r"); + + close_on_delete = !ffp; + filename = f; + line = 1; + + if (!fp) + _cupsLangPrintf(stderr, _("ppdc: Unable to open %s: %s"), f, + strerror(errno)); +} + + +// +// 'ppdcFile::~ppdcFile()' - Delete (close) a file. +// + +ppdcFile::~ppdcFile() +{ + if (close_on_delete && fp) + cupsFileClose(fp); +} + + +// +// 'ppdcFile::get()' - Get a character from a file. +// + +int +ppdcFile::get() +{ + int ch; // Character from file + + + // Return EOF if there is no open file... + if (!fp) + return (EOF); + + // Get the character... + ch = cupsFileGetChar(fp); + + // Update the line number as needed... + if (ch == '\n') + line ++; + + // Return the character... + return (ch); +} + + +// +// 'ppdcFile::peek()' - Look at the next character from a file. +// + +int // O - Next character in file +ppdcFile::peek() +{ + // Return immediaely if there is no open file... + if (!fp) + return (EOF); + + // Otherwise return the next character without advancing... + return (cupsFilePeekChar(fp)); +} diff --git a/ppdc/ppdc-filter.cxx b/ppdc/ppdc-filter.cxx new file mode 100644 index 0000000..e85d121 --- /dev/null +++ b/ppdc/ppdc-filter.cxx @@ -0,0 +1,44 @@ +// +// Filter class for the CUPS PPD Compiler. +// +// Copyright 2007-2009 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcFilter::ppdcFilter()' - Create a filter. +// + +ppdcFilter::ppdcFilter(const char *t, // I - MIME type + const char *p, // I - Filter program + int c) // I - Relative cost + : ppdcShared() +{ + PPDC_NEW; + + mime_type = new ppdcString(t); + program = new ppdcString(p); + cost = c; +} + + +// +// 'ppdcFilter::~ppdcFilter()' - Destroy a filter. +// + +ppdcFilter::~ppdcFilter() +{ + PPDC_DELETE; + + mime_type->release(); + program->release(); +} diff --git a/ppdc/ppdc-font.cxx b/ppdc/ppdc-font.cxx new file mode 100644 index 0000000..8a9f65a --- /dev/null +++ b/ppdc/ppdc-font.cxx @@ -0,0 +1,50 @@ +// +// Shared font class for the CUPS PPD Compiler. +// +// Copyright 2007-2009 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcFont::ppdcFont()' - Create a shared font. +// + +ppdcFont::ppdcFont(const char *n, // I - Name of font + const char *e, // I - Font encoding + const char *v, // I - Font version + const char *c, // I - Font charset + ppdcFontStatus s) // I - Font status + : ppdcShared() +{ + PPDC_NEW; + + name = new ppdcString(n); + encoding = new ppdcString(e); + version = new ppdcString(v); + charset = new ppdcString(c); + status = s; +} + + +// +// 'ppdcFont::~ppdcFont()' - Destroy a shared font. +// + +ppdcFont::~ppdcFont() +{ + PPDC_DELETE; + + name->release(); + encoding->release(); + version->release(); + charset->release(); +} diff --git a/ppdc/ppdc-group.cxx b/ppdc/ppdc-group.cxx new file mode 100644 index 0000000..ee66caa --- /dev/null +++ b/ppdc/ppdc-group.cxx @@ -0,0 +1,86 @@ +// +// Group class for the CUPS PPD Compiler. +// +// Copyright 2007-2011 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcGroup::ppdcGroup()' - Create a new group. +// + +ppdcGroup::ppdcGroup(const char *n, // I - Name of group + const char *t) // I - Text of group +{ + PPDC_NEWVAL(n); + + name = new ppdcString(n); + text = new ppdcString(t); + options = new ppdcArray(); +} + + +// +// 'ppdcGroup::ppdcGroup()' - Copy a new group. +// + +ppdcGroup::ppdcGroup(ppdcGroup *g) // I - Group template +{ + PPDC_NEWVAL(g->name->value); + + g->name->retain(); + g->text->retain(); + + name = g->name; + text = g->text; + + options = new ppdcArray(); + for (ppdcOption *o = (ppdcOption *)g->options->first(); + o; + o = (ppdcOption *)g->options->next()) + options->add(new ppdcOption(o)); +} + + +// +// 'ppdcGroup::~ppdcGroup()' - Destroy a group. +// + +ppdcGroup::~ppdcGroup() +{ + PPDC_DELETEVAL(name ? name->value : NULL); + + name->release(); + text->release(); + options->release(); + + name = text = 0; + options = 0; +} + + +// +// 'ppdcGroup::find_option()' - Find an option in a group. +// + +ppdcOption * +ppdcGroup::find_option(const char *n) // I - Name of option +{ + ppdcOption *o; // Current option + + + for (o = (ppdcOption *)options->first(); o; o = (ppdcOption *)options->next()) + if (!_cups_strcasecmp(n, o->name->value)) + return (o); + + return (0); +} diff --git a/ppdc/ppdc-import.cxx b/ppdc/ppdc-import.cxx new file mode 100644 index 0000000..04b587d --- /dev/null +++ b/ppdc/ppdc-import.cxx @@ -0,0 +1,327 @@ +// +// PPD file import methods for the CUPS PPD Compiler. +// +// Copyright 2007-2011 by Apple Inc. +// Copyright 2002-2006 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" +#include + + +// +// 'ppdcSource::import_ppd()' - Import a PPD file. +// + +int // O - 1 on success, 0 on failure +ppdcSource::import_ppd(const char *f) // I - Filename +{ + int i, j, k; // Looping vars + cups_file_t *fp; // File + char line[256], // Comment line + *ptr; // Pointer into line + int cost; // Cost for filter + ppd_file_t *ppd; // PPD file data + ppd_group_t *group; // PPD group + ppd_option_t *option; // PPD option + ppd_choice_t *choice; // PPD choice + ppd_attr_t *attr; // PPD attribute + ppd_const_t *constraint; // PPD UI constraint + ppd_const_t *constraint2; // Temp PPD UI constraint + ppd_size_t *size; // PPD page size + ppdcDriver *driver; // Driver + ppdcFilter *filter; // Current filter + ppdcFont *font; // Font + ppdcGroup *cgroup; // UI group + ppdcOption *coption; // UI option + ppdcChoice *cchoice; // UI choice + ppdcConstraint *cconstraint; // UI constraint + ppdcMediaSize *csize; // Media size + + + // Try opening the PPD file... + if ((ppd = ppdOpenFile(f)) == NULL) + return (0); + + // All PPD files need a PCFileName attribute... + if (!ppd->pcfilename) + { + ppdClose(ppd); + return (0); + } + + // See if the driver has already been imported... + if ((driver = find_driver(ppd->pcfilename)) == NULL) + { + // Create a new PPD file... + if ((fp = cupsFileOpen(f, "r")) == NULL) + { + ppdClose(ppd); + return (0); + } + + driver = new ppdcDriver(); + driver->type = PPDC_DRIVER_PS; + + drivers->add(driver); + + // Read the initial comments from the PPD file and use them as the + // copyright/license text... + cupsFileGets(fp, line, sizeof(line)); + // Skip *PPD-Adobe-M.m + + while (cupsFileGets(fp, line, sizeof(line))) + if (strncmp(line, "*%", 2)) + break; + else if (strncmp(line, "*%%%% ", 6)) + { + for (ptr = line + 2; isspace(*ptr); ptr ++); + + driver->add_copyright(ptr); + } + + cupsFileClose(fp); + + // Then add the stuff from the PPD file... + if (ppd->modelname && ppd->manufacturer && + !_cups_strncasecmp(ppd->modelname, ppd->manufacturer, + strlen(ppd->manufacturer))) + { + ptr = ppd->modelname + strlen(ppd->manufacturer); + + while (isspace(*ptr)) + ptr ++; + } + else + ptr = ppd->modelname; + + if (ppd->nickname) + driver->add_attr(new ppdcAttr("NickName", NULL, NULL, ppd->nickname)); + + if (ppd->shortnickname) + driver->add_attr(new ppdcAttr("ShortNickName", NULL, NULL, + ppd->shortnickname)); + + driver->manufacturer = new ppdcString(ppd->manufacturer); + driver->model_name = new ppdcString(ptr); + driver->pc_file_name = new ppdcString(ppd->pcfilename); + attr = ppdFindAttr(ppd, "FileVersion", NULL); + driver->version = new ppdcString(attr ? attr->value : NULL); + driver->model_number = ppd->model_number; + driver->manual_copies = ppd->manual_copies; + driver->color_device = ppd->color_device; + driver->throughput = ppd->throughput; + driver->variable_paper_size = ppd->variable_sizes; + driver->max_width = ppd->custom_max[0]; + driver->max_length = ppd->custom_max[1]; + driver->min_width = ppd->custom_min[0]; + driver->min_length = ppd->custom_min[1]; + driver->left_margin = ppd->custom_margins[0]; + driver->bottom_margin = ppd->custom_margins[1]; + driver->right_margin = ppd->custom_margins[2]; + driver->top_margin = ppd->custom_margins[3]; + + for (i = 0; i < ppd->num_filters; i ++) + { + strlcpy(line, ppd->filters[i], sizeof(line)); + + for (ptr = line; *ptr; ptr ++) + if (isspace(*ptr & 255)) + break; + *ptr++ = '\0'; + + cost = strtol(ptr, &ptr, 10); + + while (isspace(*ptr & 255)) + ptr ++; + + filter = new ppdcFilter(line, ptr, cost); + driver->add_filter(filter); + } + + attr = ppdFindAttr(ppd, "DefaultFont", NULL); + driver->default_font = new ppdcString(attr ? attr->value : NULL); + + // Collect media sizes... + ppd_option_t *region_option, // PageRegion option + *size_option; // PageSize option + ppd_choice_t *region_choice, // PageRegion choice + *size_choice; // PageSize choice + + region_option = ppdFindOption(ppd, "PageRegion"); + size_option = ppdFindOption(ppd, "PageSize"); + + for (i = ppd->num_sizes, size = ppd->sizes; i > 0; i --, size ++) + { + // Don't do custom size here... + if (!_cups_strcasecmp(size->name, "Custom")) + continue; + + // Get the code for the PageSize and PageRegion options... + region_choice = ppdFindChoice(region_option, size->name); + size_choice = ppdFindChoice(size_option, size->name); + + // Create a new media size record and add it to the driver... + csize = new ppdcMediaSize(size->name, size_choice->text, size->width, + size->length, size->left, size->bottom, + size->width - size->right, + size->length - size->top, + size_choice->code, region_choice->code); + + driver->add_size(csize); + + if (!_cups_strcasecmp(size_option->defchoice, size->name)) + driver->set_default_size(csize); + } + + // Now all of the options... + for (i = ppd->num_groups, group = ppd->groups; i > 0; i --, group ++) + { + cgroup = new ppdcGroup(group->name, group->text); + driver->add_group(cgroup); + + for (j = group->num_options, option = group->options; j > 0; j --, option ++) + { + if (!strcmp(option->keyword, "PageSize") || !strcmp(option->keyword, "PageRegion")) + continue; + + coption = new ppdcOption((ppdcOptType)option->ui, option->keyword, + option->text, (ppdcOptSection)option->section, + option->order); + cgroup->add_option(coption); + + for (k = option->num_choices, choice = option->choices; k > 0; k --, choice ++) + { + if (!strcmp(choice->choice, "Custom")) + continue; + + cchoice = new ppdcChoice(choice->choice, choice->text, choice->code); + coption->add_choice(cchoice); + + if (!_cups_strcasecmp(option->defchoice, choice->choice)) + coption->set_defchoice(cchoice); + } + } + } + + // Now the constraints... + for (i = ppd->num_consts, constraint = ppd->consts; + i > 0; + i --, constraint ++) + { + // Look for mirrored constraints... + for (j = i - 1, constraint2 = constraint + 1; + j > 0; + j --, constraint2 ++) + if (!strcmp(constraint->option1, constraint2->option2) && + !strcmp(constraint->choice1, constraint2->choice2) && + !strcmp(constraint->option2, constraint2->option1) && + !strcmp(constraint->choice2, constraint2->choice1)) + break; + + if (j) + continue; + + cconstraint = new ppdcConstraint(constraint->option2, constraint->choice2, + constraint->option1, constraint->choice1); + driver->add_constraint(cconstraint); + } + + for (i = 0; i < ppd->num_attrs; i ++) + { + attr = ppd->attrs[i]; + + if (!strcmp(attr->name, "Font")) + { + // Font... + char encoding[256], // Encoding string + version[256], // Version string + charset[256], // Charset string + status[256]; // Status string + ppdcFontStatus fstatus; // Status enumeration + + + if (sscanf(attr->value, "%s%*[^\"]\"%[^\"]\"%s%s", encoding, version, + charset, status) != 4) + { + _cupsLangPrintf(stderr, _("ppdc: Bad font attribute: %s"), + attr->value); + continue; + } + + if (!strcmp(status, "ROM")) + fstatus = PPDC_FONT_ROM; + else + fstatus = PPDC_FONT_DISK; + + font = new ppdcFont(attr->spec, encoding, version, charset, fstatus); + + driver->add_font(font); + } + else if (!strcmp(attr->name, "CustomPageSize")) + { + driver->set_custom_size_code(attr->value); + } + else if ((strncmp(attr->name, "Default", 7) || + !strcmp(attr->name, "DefaultColorSpace")) && + strcmp(attr->name, "ColorDevice") && + strcmp(attr->name, "Manufacturer") && + strcmp(attr->name, "ModelName") && + strcmp(attr->name, "MaxMediaHeight") && + strcmp(attr->name, "MaxMediaWidth") && + strcmp(attr->name, "NickName") && + strcmp(attr->name, "ParamCustomPageSize") && + strcmp(attr->name, "ShortNickName") && + strcmp(attr->name, "Throughput") && + strcmp(attr->name, "PCFileName") && + strcmp(attr->name, "FileVersion") && + strcmp(attr->name, "FormatVersion") && + strcmp(attr->name, "HWMargins") && + strcmp(attr->name, "VariablePaperSize") && + strcmp(attr->name, "LanguageEncoding") && + strcmp(attr->name, "LanguageVersion") && + strcmp(attr->name, "cupsFilter") && + strcmp(attr->name, "cupsFlipDuplex") && + strcmp(attr->name, "cupsLanguages") && + strcmp(attr->name, "cupsManualCopies") && + strcmp(attr->name, "cupsModelNumber") && + strcmp(attr->name, "cupsVersion")) + { + if ((ptr = strchr(attr->name, '.')) != NULL && + ((ptr - attr->name) == 2 || (ptr - attr->name) == 5)) + { + // Might be a localization attribute; test further... + if (isalpha(attr->name[0] & 255) && + isalpha(attr->name[1] & 255) && + (attr->name[2] == '.' || + (attr->name[2] == '_' && isalpha(attr->name[3] & 255) && + isalpha(attr->name[4] & 255)))) + continue; + } + + // Attribute... + driver->add_attr(new ppdcAttr(attr->name, attr->spec, attr->text, + attr->value)); + } + else if (!strncmp(attr->name, "Default", 7) && + !ppdFindOption(ppd, attr->name + 7) && + strcmp(attr->name, "DefaultFont") && + strcmp(attr->name, "DefaultImageableArea") && + strcmp(attr->name, "DefaultPaperDimension") && + strcmp(attr->name, "DefaultFont")) + { + // Default attribute... + driver->add_attr(new ppdcAttr(attr->name, attr->spec, attr->text, + attr->value)); + } + } + } + + return (1); +} diff --git a/ppdc/ppdc-mediasize.cxx b/ppdc/ppdc-mediasize.cxx new file mode 100644 index 0000000..a93d7e7 --- /dev/null +++ b/ppdc/ppdc-mediasize.cxx @@ -0,0 +1,69 @@ +// +// Shared media size class for the CUPS PPD Compiler. +// +// Copyright 2007-2009 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcMediaSize::ppdcMediaSize()' - Create a new media size. +// + +ppdcMediaSize::ppdcMediaSize(const char *n, // I - Name of media size + const char *t, // I - Text of media size + float w, // I - Width in points + float l, // I - Length in points + float lm, // I - Left margin in points + float bm, // I - Bottom margin in points + float rm, // I - Right margin in points + float tm, // I - Top margin in points + const char *sc, // I - PageSize code, if any + const char *rc) // I - PageRegion code, if any + : ppdcShared() +{ + PPDC_NEW; + + name = new ppdcString(n); + text = new ppdcString(t); + width = w; + length = l; + left = lm; + bottom = bm; + right = rm; + top = tm; + size_code = new ppdcString(sc); + region_code = new ppdcString(rc); + + if (left < 0.0f) + left = 0.0f; + if (bottom < 0.0f) + bottom = 0.0f; + if (right < 0.0f) + right = 0.0f; + if (top < 0.0f) + top = 0.0f; +} + + +// +// 'ppdcMediaSize::~ppdcMediaSize()' - Destroy a media size. +// + +ppdcMediaSize::~ppdcMediaSize() +{ + PPDC_DELETE; + + name->release(); + text->release(); + size_code->release(); + region_code->release(); +} diff --git a/ppdc/ppdc-message.cxx b/ppdc/ppdc-message.cxx new file mode 100644 index 0000000..8d6ec7e --- /dev/null +++ b/ppdc/ppdc-message.cxx @@ -0,0 +1,42 @@ +// +// Shared message class for the CUPS PPD Compiler. +// +// Copyright 2007-2009 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcMessage::ppdcMessage()' - Create a shared message. +// + +ppdcMessage::ppdcMessage(const char *i, // I - ID + const char *s) // I - Text + : ppdcShared() +{ + PPDC_NEW; + + id = new ppdcString(i); + string = new ppdcString(s); +} + + +// +// 'ppdcMessage::~ppdcMessage()' - Destroy a shared message. +// + +ppdcMessage::~ppdcMessage() +{ + PPDC_DELETE; + + id->release(); + string->release(); +} diff --git a/ppdc/ppdc-option.cxx b/ppdc/ppdc-option.cxx new file mode 100644 index 0000000..4b9cc30 --- /dev/null +++ b/ppdc/ppdc-option.cxx @@ -0,0 +1,111 @@ +// +// Option class for the CUPS PPD Compiler. +// +// Copyright 2007-2011 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcOption::ppdcOption()' - Create a new option. +// + +ppdcOption::ppdcOption(ppdcOptType ot, // I - Option type + const char *n, // I - Option name + const char *t, // I - Option text + ppdcOptSection s, // I - Section + float o) // I - Ordering number + : ppdcShared() +{ + PPDC_NEW; + + type = ot; + name = new ppdcString(n); + text = new ppdcString(t); + section = s; + order = o; + choices = new ppdcArray(); + defchoice = 0; +} + + +// +// 'ppdcOption::ppdcOption()' - Copy a new option. +// + +ppdcOption::ppdcOption(ppdcOption *o) // I - Template option +{ + PPDC_NEW; + + o->name->retain(); + o->text->retain(); + if (o->defchoice) + o->defchoice->retain(); + + type = o->type; + name = o->name; + text = o->text; + section = o->section; + order = o->order; + choices = new ppdcArray(o->choices); + defchoice = o->defchoice; +} + + +// +// 'ppdcOption::~ppdcOption()' - Destroy an option. +// + +ppdcOption::~ppdcOption() +{ + PPDC_DELETE; + + name->release(); + text->release(); + if (defchoice) + defchoice->release(); + choices->release(); +} + + +// +// 'ppdcOption::find_choice()' - Find an option choice. +// + +ppdcChoice * // O - Choice or NULL +ppdcOption::find_choice(const char *n) // I - Name of choice +{ + ppdcChoice *c; // Current choice + + + for (c = (ppdcChoice *)choices->first(); c; c = (ppdcChoice *)choices->next()) + if (!_cups_strcasecmp(n, c->name->value)) + return (c); + + return (0); +} + + +// +// 'ppdcOption::set_defchoice()' - Set the default choice. +// + +void +ppdcOption::set_defchoice(ppdcChoice *c) // I - Choice +{ + if (defchoice) + defchoice->release(); + + if (c->name) + c->name->retain(); + + defchoice = c->name; +} diff --git a/ppdc/ppdc-private.h b/ppdc/ppdc-private.h new file mode 100644 index 0000000..1f2e606 --- /dev/null +++ b/ppdc/ppdc-private.h @@ -0,0 +1,36 @@ +// +// Private definitions for the CUPS PPD Compiler. +// +// Copyright 2009-2010 by Apple Inc. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +#ifndef _PPDC_PRIVATE_H_ +# define _PPDC_PRIVATE_H_ + +// +// Include necessary headers... +// + +# include "ppdc.h" +# include + + +// +// Macros... +// + +# ifdef PPDC_DEBUG +# define PPDC_NEW DEBUG_printf(("%s: %p new", class_name(), this)) +# define PPDC_NEWVAL(s) DEBUG_printf(("%s(\"%s\"): %p new", class_name(), s, this)) +# define PPDC_DELETE DEBUG_printf(("%s: %p delete", class_name(), this)) +# define PPDC_DELETEVAL(s) DEBUG_printf(("%s(\"%s\"): %p delete", class_name(), s, this)) +# else +# define PPDC_NEW +# define PPDC_NEWVAL(s) +# define PPDC_DELETE +# define PPDC_DELETEVAL(s) +# endif /* PPDC_DEBUG */ + +#endif // !_PPDC_PRIVATE_H_ diff --git a/ppdc/ppdc-profile.cxx b/ppdc/ppdc-profile.cxx new file mode 100644 index 0000000..3fbf968 --- /dev/null +++ b/ppdc/ppdc-profile.cxx @@ -0,0 +1,49 @@ +// +// Color profile class for the CUPS PPD Compiler. +// +// Copyright 2007-2009 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcProfile::ppdcProfile()' - Create a color profile. +// + +ppdcProfile::ppdcProfile(const char *r, // I - Resolution name + const char *m, // I - Media type name + float d, // I - Density + float g, // I - Gamma + const float *p) // I - 3x3 transform matrix + : ppdcShared() +{ + PPDC_NEW; + + resolution = new ppdcString(r); + media_type = new ppdcString(m); + density = d; + gamma = g; + + memcpy(profile, p, sizeof(profile)); +} + + +// +// 'ppdcProfile::~ppdcProfile()' - Destroy a color profile. +// + +ppdcProfile::~ppdcProfile() +{ + PPDC_DELETE; + + resolution->release(); + media_type->release(); +} diff --git a/ppdc/ppdc-shared.cxx b/ppdc/ppdc-shared.cxx new file mode 100644 index 0000000..1b0152d --- /dev/null +++ b/ppdc/ppdc-shared.cxx @@ -0,0 +1,66 @@ +// +// Shared data class for the CUPS PPD Compiler. +// +// Copyright 2007-2009 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcShared::ppdcShared()' - Create shared data. +// + +ppdcShared::ppdcShared() +{ + use = 1; +} + + +// +// 'ppdcShared::~ppdcShared()' - Destroy shared data. +// + +ppdcShared::~ppdcShared() +{ +} + + +// +// 'ppdcShared::release()' - Decrement the use count and delete as needed. +// + +void +ppdcShared::release(void) +{ + use --; + +#ifdef DEBUG + if (use < 0) + { + fprintf(stderr, "ERROR: Over-release of %s: %p\n", class_name(), this); + abort(); + } +#endif /* DEBUG */ + + if (use == 0) + delete this; +} + + +// +// 'ppdcShared::retain()' - Increment the use count for this data. +// + +void +ppdcShared::retain() +{ + use ++; +} diff --git a/ppdc/ppdc-source.cxx b/ppdc/ppdc-source.cxx new file mode 100644 index 0000000..c25d496 --- /dev/null +++ b/ppdc/ppdc-source.cxx @@ -0,0 +1,3798 @@ +// +// Source class for the CUPS PPD Compiler. +// +// Copyright 2007-2018 by Apple Inc. +// Copyright 2002-2007 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more +// information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" +#include +#include +#include +#include +#include "data/epson.h" +#include "data/hp.h" +#include "data/label.h" +#ifndef _WIN32 +# include +#endif // !_WIN32 + + +// +// Class globals... +// + +ppdcArray *ppdcSource::includes = 0; +const char *ppdcSource::driver_types[] = + { + "custom", + "ps", + "escp", + "pcl", + "label", + "epson", + "hp" + }; + + +// +// 'ppdcSource::ppdcSource()' - Load a driver source file. +// + +ppdcSource::ppdcSource(const char *f, // I - File to read + cups_file_t *ffp)// I - File pointer to use + : ppdcShared() +{ + PPDC_NEW; + + filename = new ppdcString(f); + base_fonts = new ppdcArray(); + drivers = new ppdcArray(); + po_files = new ppdcArray(); + sizes = new ppdcArray(); + vars = new ppdcArray(); + cond_state = PPDC_COND_NORMAL; + cond_current = cond_stack; + cond_stack[0] = PPDC_COND_NORMAL; + + // Add standard #define variables... +#define MAKE_STRING(x) #x + + vars->add(new ppdcVariable("CUPS_VERSION", MAKE_STRING(CUPS_VERSION))); + vars->add(new ppdcVariable("CUPS_VERSION_MAJOR", MAKE_STRING(CUPS_VERSION_MAJOR))); + vars->add(new ppdcVariable("CUPS_VERSION_MINOR", MAKE_STRING(CUPS_VERSION_MINOR))); + vars->add(new ppdcVariable("CUPS_VERSION_PATCH", MAKE_STRING(CUPS_VERSION_PATCH))); + +#ifdef _WIN32 + vars->add(new ppdcVariable("PLATFORM_NAME", "Windows")); + vars->add(new ppdcVariable("PLATFORM_ARCH", "X86")); + +#else + struct utsname name; // uname information + + if (!uname(&name)) + { + vars->add(new ppdcVariable("PLATFORM_NAME", name.sysname)); + vars->add(new ppdcVariable("PLATFORM_ARCH", name.machine)); + } + else + { + vars->add(new ppdcVariable("PLATFORM_NAME", "unknown")); + vars->add(new ppdcVariable("PLATFORM_ARCH", "unknown")); + } +#endif // _WIN32 + + if (f) + read_file(f, ffp); +} + + +// +// 'ppdcSource::~ppdcSource()' - Free a driver source file. +// + +ppdcSource::~ppdcSource() +{ + PPDC_DELETE; + + filename->release(); + base_fonts->release(); + drivers->release(); + po_files->release(); + sizes->release(); + vars->release(); +} + + +// +// 'ppdcSource::add_include()' - Add an include directory. +// + +void +ppdcSource::add_include(const char *d) // I - Include directory +{ + if (!d) + return; + + if (!includes) + includes = new ppdcArray(); + + includes->add(new ppdcString(d)); +} + + +// +// 'ppdcSource::find_driver()' - Find a driver. +// + +ppdcDriver * // O - Driver +ppdcSource::find_driver(const char *f) // I - Driver file name +{ + ppdcDriver *d; // Current driver + + + for (d = (ppdcDriver *)drivers->first(); d; d = (ppdcDriver *)drivers->next()) + if (!_cups_strcasecmp(f, d->pc_file_name->value)) + return (d); + + return (NULL); +} + + +// +// 'ppdcSource::find_include()' - Find an include file. +// + +char * // O - Found path or NULL +ppdcSource::find_include( + const char *f, // I - Include filename + const char *base, // I - Current directory + char *n, // I - Path buffer + int nlen) // I - Path buffer length +{ + ppdcString *dir; // Include directory + char temp[1024], // Temporary path + *ptr; // Pointer to end of path + + + // Range check input... + if (!f || !*f || !n || nlen < 2) + return (0); + + // Check the first character to see if we have or "name"... + if (*f == '<') + { + // Remove the surrounding <> from the name... + strlcpy(temp, f + 1, sizeof(temp)); + ptr = temp + strlen(temp) - 1; + + if (*ptr != '>') + { + _cupsLangPrintf(stderr, + _("ppdc: Invalid #include/#po filename \"%s\"."), n); + return (0); + } + + *ptr = '\0'; + f = temp; + } + else + { + // Check for the local file relative to the current directory... + if (base && *base && f[0] != '/') + snprintf(n, (size_t)nlen, "%s/%s", base, f); + else + strlcpy(n, f, (size_t)nlen); + + if (!access(n, 0)) + return (n); + else if (*f == '/') + { + // Absolute path that doesn't exist... + return (0); + } + } + + // Search the include directories, if any... + if (includes) + { + for (dir = (ppdcString *)includes->first(); dir; dir = (ppdcString *)includes->next()) + { + snprintf(n, (size_t)nlen, "%s/%s", dir->value, f); + if (!access(n, 0)) + return (n); + } + } + + // Search the standard include directories... + _cups_globals_t *cg = _cupsGlobals(); // Global data + + snprintf(n, (size_t)nlen, "%s/ppdc/%s", cg->cups_datadir, f); + if (!access(n, 0)) + return (n); + + snprintf(n, (size_t)nlen, "%s/po/%s", cg->cups_datadir, f); + if (!access(n, 0)) + return (n); + else + return (0); +} + + +// +// 'ppdcSource::find_po()' - Find a message catalog for the given locale. +// + +ppdcCatalog * // O - Message catalog or NULL +ppdcSource::find_po(const char *l) // I - Locale name +{ + ppdcCatalog *cat; // Current message catalog + + + for (cat = (ppdcCatalog *)po_files->first(); + cat; + cat = (ppdcCatalog *)po_files->next()) + if (!_cups_strcasecmp(l, cat->locale->value)) + return (cat); + + return (NULL); +} + + +// +// 'ppdcSource::find_size()' - Find a media size. +// + +ppdcMediaSize * // O - Size +ppdcSource::find_size(const char *s) // I - Size name +{ + ppdcMediaSize *m; // Current media size + + + for (m = (ppdcMediaSize *)sizes->first(); m; m = (ppdcMediaSize *)sizes->next()) + if (!_cups_strcasecmp(s, m->name->value)) + return (m); + + return (NULL); +} + + +// +// 'ppdcSource::find_variable()' - Find a variable. +// + +ppdcVariable * // O - Variable +ppdcSource::find_variable(const char *n)// I - Variable name +{ + ppdcVariable *v; // Current variable + + + for (v = (ppdcVariable *)vars->first(); v; v = (ppdcVariable *)vars->next()) + if (!_cups_strcasecmp(n, v->name->value)) + return (v); + + return (NULL); +} + + +// +// 'ppdcSource::get_attr()' - Get an attribute. +// + +ppdcAttr * // O - Attribute +ppdcSource::get_attr(ppdcFile *fp, // I - File to read + bool loc) // I - Localize this attribute? +{ + char name[1024], // Name string + selector[1024], // Selector string + *text, // Text string + value[1024]; // Value string + + + // Get the attribute parameters: + // + // Attribute name selector value + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected name after %s on line %d of %s."), + loc ? "LocAttribute" : "Attribute", fp->line, fp->filename); + return (0); + } + + if (!get_token(fp, selector, sizeof(selector))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected selector after %s on line %d of %s."), + loc ? "LocAttribute" : "Attribute", fp->line, fp->filename); + return (0); + } + + if ((text = strchr(selector, '/')) != NULL) + *text++ = '\0'; + + if (!get_token(fp, value, sizeof(value))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected value after %s on line %d of %s."), + loc ? "LocAttribute" : "Attribute", fp->line, fp->filename); + return (0); + } + + return (new ppdcAttr(name, selector, text, value, loc)); +} + + +// +// 'ppdcSource::get_boolean()' - Get a boolean value. +// + +int // O - Boolean value +ppdcSource::get_boolean(ppdcFile *fp) // I - File to read +{ + char buffer[256]; // String buffer + + + if (!get_token(fp, buffer, sizeof(buffer))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected boolean value on line %d of %s."), + fp->line, fp->filename); + return (-1); + } + + if (!_cups_strcasecmp(buffer, "on") || + !_cups_strcasecmp(buffer, "yes") || + !_cups_strcasecmp(buffer, "true")) + return (1); + else if (!_cups_strcasecmp(buffer, "off") || + !_cups_strcasecmp(buffer, "no") || + !_cups_strcasecmp(buffer, "false")) + return (0); + else + { + _cupsLangPrintf(stderr, + _("ppdc: Bad boolean value (%s) on line %d of %s."), + buffer, fp->line, fp->filename); + return (-1); + } +} + + +// +// 'ppdcSource::get_choice()' - Get a choice. +// + +ppdcChoice * // O - Choice data +ppdcSource::get_choice(ppdcFile *fp) // I - File to read +{ + char name[1024], // Name + *text, // Text + code[10240]; // Code + + + // Read a choice from the file: + // + // Choice name/text code + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected choice name/text on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + if ((text = strchr(name, '/')) != NULL) + *text++ = '\0'; + else + text = name; + + if (!get_token(fp, code, sizeof(code))) + { + _cupsLangPrintf(stderr, _("ppdc: Expected choice code on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + // Return the new choice + return (new ppdcChoice(name, text, code)); +} + + +// +// 'ppdcSource::get_color_model()' - Get an old-style color model option. +// + +ppdcChoice * // O - Choice data +ppdcSource::get_color_model(ppdcFile *fp) + // I - File to read +{ + char name[1024], // Option name + *text, // Text option + temp[256]; // Temporary string + int color_space, // Colorspace + color_order, // Color order + compression; // Compression mode + + + // Get the ColorModel parameters: + // + // ColorModel name/text colorspace colororder compression + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected name/text combination for ColorModel on " + "line %d of %s."), fp->line, fp->filename); + return (NULL); + } + + if ((text = strchr(name, '/')) != NULL) + *text++ = '\0'; + else + text = name; + + if (!get_token(fp, temp, sizeof(temp))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected colorspace for ColorModel on line %d of " + "%s."), fp->line, fp->filename); + return (NULL); + } + + if ((color_space = get_color_space(temp)) < 0) + color_space = get_integer(temp); + + if (!get_token(fp, temp, sizeof(temp))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected color order for ColorModel on line %d of " + "%s."), fp->line, fp->filename); + return (NULL); + } + + if ((color_order = get_color_order(temp)) < 0) + color_order = get_integer(temp); + + if (!get_token(fp, temp, sizeof(temp))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected compression for ColorModel on line %d of " + "%s."), fp->line, fp->filename); + return (NULL); + } + + compression = get_integer(temp); + + snprintf(temp, sizeof(temp), + "<>" + "setpagedevice", + color_space, color_order, compression); + + return (new ppdcChoice(name, text, temp)); +} + + +// +// 'ppdcSource::get_color_order()' - Get an old-style color order value. +// + +int // O - Color order value +ppdcSource::get_color_order( + const char *co) // I - Color order string +{ + if (!_cups_strcasecmp(co, "chunked") || + !_cups_strcasecmp(co, "chunky")) + return (CUPS_ORDER_CHUNKED); + else if (!_cups_strcasecmp(co, "banded")) + return (CUPS_ORDER_BANDED); + else if (!_cups_strcasecmp(co, "planar")) + return (CUPS_ORDER_PLANAR); + else + return (-1); +} + + +// +// 'ppdcSource::get_color_profile()' - Get a color profile definition. +// + +ppdcProfile * // O - Color profile +ppdcSource::get_color_profile( + ppdcFile *fp) // I - File to read +{ + char resolution[1024], // Resolution/media type + *media_type; // Media type + int i; // Looping var + float g, // Gamma value + d, // Density value + m[9]; // Transform matrix + + + // Get the ColorProfile parameters: + // + // ColorProfile resolution/mediatype gamma density m00 m01 m02 ... m22 + if (!get_token(fp, resolution, sizeof(resolution))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected resolution/mediatype following " + "ColorProfile on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + if ((media_type = strchr(resolution, '/')) != NULL) + *media_type++ = '\0'; + else + media_type = resolution; + + g = get_float(fp); + d = get_float(fp); + for (i = 0; i < 9; i ++) + m[i] = get_float(fp); + + return (new ppdcProfile(resolution, media_type, g, d, m)); +} + + +// +// 'ppdcSource::get_color_space()' - Get an old-style colorspace value. +// + +int // O - Colorspace value +ppdcSource::get_color_space( + const char *cs) // I - Colorspace string +{ + if (!_cups_strcasecmp(cs, "w")) + return (CUPS_CSPACE_W); + else if (!_cups_strcasecmp(cs, "rgb")) + return (CUPS_CSPACE_RGB); + else if (!_cups_strcasecmp(cs, "rgba")) + return (CUPS_CSPACE_RGBA); + else if (!_cups_strcasecmp(cs, "k")) + return (CUPS_CSPACE_K); + else if (!_cups_strcasecmp(cs, "cmy")) + return (CUPS_CSPACE_CMY); + else if (!_cups_strcasecmp(cs, "ymc")) + return (CUPS_CSPACE_YMC); + else if (!_cups_strcasecmp(cs, "cmyk")) + return (CUPS_CSPACE_CMYK); + else if (!_cups_strcasecmp(cs, "ymck")) + return (CUPS_CSPACE_YMCK); + else if (!_cups_strcasecmp(cs, "kcmy")) + return (CUPS_CSPACE_KCMY); + else if (!_cups_strcasecmp(cs, "kcmycm")) + return (CUPS_CSPACE_KCMYcm); + else if (!_cups_strcasecmp(cs, "gmck")) + return (CUPS_CSPACE_GMCK); + else if (!_cups_strcasecmp(cs, "gmcs")) + return (CUPS_CSPACE_GMCS); + else if (!_cups_strcasecmp(cs, "white")) + return (CUPS_CSPACE_WHITE); + else if (!_cups_strcasecmp(cs, "gold")) + return (CUPS_CSPACE_GOLD); + else if (!_cups_strcasecmp(cs, "silver")) + return (CUPS_CSPACE_SILVER); + else if (!_cups_strcasecmp(cs, "CIEXYZ")) + return (CUPS_CSPACE_CIEXYZ); + else if (!_cups_strcasecmp(cs, "CIELab")) + return (CUPS_CSPACE_CIELab); + else if (!_cups_strcasecmp(cs, "RGBW")) + return (CUPS_CSPACE_RGBW); + else if (!_cups_strcasecmp(cs, "ICC1")) + return (CUPS_CSPACE_ICC1); + else if (!_cups_strcasecmp(cs, "ICC2")) + return (CUPS_CSPACE_ICC2); + else if (!_cups_strcasecmp(cs, "ICC3")) + return (CUPS_CSPACE_ICC3); + else if (!_cups_strcasecmp(cs, "ICC4")) + return (CUPS_CSPACE_ICC4); + else if (!_cups_strcasecmp(cs, "ICC5")) + return (CUPS_CSPACE_ICC5); + else if (!_cups_strcasecmp(cs, "ICC6")) + return (CUPS_CSPACE_ICC6); + else if (!_cups_strcasecmp(cs, "ICC7")) + return (CUPS_CSPACE_ICC7); + else if (!_cups_strcasecmp(cs, "ICC8")) + return (CUPS_CSPACE_ICC8); + else if (!_cups_strcasecmp(cs, "ICC9")) + return (CUPS_CSPACE_ICC9); + else if (!_cups_strcasecmp(cs, "ICCA")) + return (CUPS_CSPACE_ICCA); + else if (!_cups_strcasecmp(cs, "ICCB")) + return (CUPS_CSPACE_ICCB); + else if (!_cups_strcasecmp(cs, "ICCC")) + return (CUPS_CSPACE_ICCC); + else if (!_cups_strcasecmp(cs, "ICCD")) + return (CUPS_CSPACE_ICCD); + else if (!_cups_strcasecmp(cs, "ICCE")) + return (CUPS_CSPACE_ICCE); + else if (!_cups_strcasecmp(cs, "ICCF")) + return (CUPS_CSPACE_ICCF); + else + return (-1); +} + + +// +// 'ppdcSource::get_constraint()' - Get a constraint. +// + +ppdcConstraint * // O - Constraint +ppdcSource::get_constraint(ppdcFile *fp)// I - File to read +{ + char temp[1024], // One string to rule them all + *ptr, // Pointer into string + *option1, // Constraint option 1 + *choice1, // Constraint choice 1 + *option2, // Constraint option 2 + *choice2; // Constraint choice 2 + + + // Read the UIConstaints parameter in one of the following forms: + // + // UIConstraints "*Option1 *Option2" + // UIConstraints "*Option1 Choice1 *Option2" + // UIConstraints "*Option1 *Option2 Choice2" + // UIConstraints "*Option1 Choice1 *Option2 Choice2" + if (!get_token(fp, temp, sizeof(temp))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected constraints string for UIConstraints on " + "line %d of %s."), fp->line, fp->filename); + return (NULL); + } + + for (ptr = temp; isspace(*ptr); ptr ++); + + if (*ptr != '*') + { + _cupsLangPrintf(stderr, + _("ppdc: Option constraint must *name on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + option1 = ptr; + + for (; *ptr && !isspace(*ptr); ptr ++); + for (; isspace(*ptr); *ptr++ = '\0'); + + if (*ptr != '*') + { + choice1 = ptr; + + for (; *ptr && !isspace(*ptr); ptr ++); + for (; isspace(*ptr); *ptr++ = '\0'); + } + else + choice1 = NULL; + + if (*ptr != '*') + { + _cupsLangPrintf(stderr, + _("ppdc: Expected two option names on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + option2 = ptr; + + for (; *ptr && !isspace(*ptr); ptr ++); + for (; isspace(*ptr); *ptr++ = '\0'); + + if (*ptr) + choice2 = ptr; + else + choice2 = NULL; + + return (new ppdcConstraint(option1, choice1, option2, choice2)); +} + + +// +// 'ppdcSource::get_custom_size()' - Get a custom media size definition from a file. +// + +ppdcMediaSize * // O - Media size +ppdcSource::get_custom_size(ppdcFile *fp) + // I - File to read +{ + char name[1024], // Name + *text, // Text + size_code[10240], // PageSize code + region_code[10240]; // PageRegion + float width, // Width + length, // Length + left, // Left margin + bottom, // Bottom margin + right, // Right margin + top; // Top margin + + + // Get the name, text, width, length, margins, and code: + // + // CustomMedia name/text width length left bottom right top size-code region-code + if (!get_token(fp, name, sizeof(name))) + return (NULL); + + if ((text = strchr(name, '/')) != NULL) + *text++ = '\0'; + else + text = name; + + if ((width = get_measurement(fp)) < 0.0f) + return (NULL); + + if ((length = get_measurement(fp)) < 0.0f) + return (NULL); + + if ((left = get_measurement(fp)) < 0.0f) + return (NULL); + + if ((bottom = get_measurement(fp)) < 0.0f) + return (NULL); + + if ((right = get_measurement(fp)) < 0.0f) + return (NULL); + + if ((top = get_measurement(fp)) < 0.0f) + return (NULL); + + if (!get_token(fp, size_code, sizeof(size_code))) + return (NULL); + + if (!get_token(fp, region_code, sizeof(region_code))) + return (NULL); + + // Return the new media size... + return (new ppdcMediaSize(name, text, width, length, left, bottom, + right, top, size_code, region_code)); +} + + +// +// 'ppdcSource::get_duplex()' - Get a duplex option. +// + +void +ppdcSource::get_duplex(ppdcFile *fp, // I - File to read from + ppdcDriver *d) // I - Current driver +{ + char temp[256]; // Duplex keyword + ppdcAttr *attr; // cupsFlipDuplex attribute + ppdcGroup *g; // Current group + ppdcOption *o; // Duplex option + + + // Duplex {boolean|none|normal|flip} + if (!get_token(fp, temp, sizeof(temp))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected duplex type after Duplex on line %d of " + "%s."), fp->line, fp->filename); + return; + } + + if (cond_state) + return; + + if (!_cups_strcasecmp(temp, "none") || !_cups_strcasecmp(temp, "false") || + !_cups_strcasecmp(temp, "no") || !_cups_strcasecmp(temp, "off")) + { + g = d->find_group("General"); + if ((o = g->find_option("Duplex")) != NULL) + g->options->remove(o); + + for (attr = (ppdcAttr *)d->attrs->first(); + attr; + attr = (ppdcAttr *)d->attrs->next()) + if (!strcmp(attr->name->value, "cupsFlipDuplex")) + { + d->attrs->remove(attr); + break; + } + } + else if (!_cups_strcasecmp(temp, "normal") || !_cups_strcasecmp(temp, "true") || + !_cups_strcasecmp(temp, "yes") || !_cups_strcasecmp(temp, "on") || + !_cups_strcasecmp(temp, "flip") || !_cups_strcasecmp(temp, "rotated") || + !_cups_strcasecmp(temp, "manualtumble")) + { + g = d->find_group("General"); + o = g->find_option("Duplex"); + + if (!o) + { + o = new ppdcOption(PPDC_PICKONE, "Duplex", "2-Sided Printing", + !_cups_strcasecmp(temp, "flip") ? PPDC_SECTION_PAGE : + PPDC_SECTION_ANY, 10.0f); + o->add_choice(new ppdcChoice("None", "Off (1-Sided)", + "<>setpagedevice")); + o->add_choice(new ppdcChoice("DuplexNoTumble", "Long-Edge (Portrait)", + "<>setpagedevice")); + o->add_choice(new ppdcChoice("DuplexTumble", "Short-Edge (Landscape)", + "<>setpagedevice")); + + g->add_option(o); + } + + for (attr = (ppdcAttr *)d->attrs->first(); + attr; + attr = (ppdcAttr *)d->attrs->next()) + if (!strcmp(attr->name->value, "cupsFlipDuplex")) + { + if (_cups_strcasecmp(temp, "flip")) + d->attrs->remove(attr); + break; + } + + if (!_cups_strcasecmp(temp, "flip") && !attr) + d->add_attr(new ppdcAttr("cupsFlipDuplex", NULL, NULL, "true")); + + for (attr = (ppdcAttr *)d->attrs->first(); + attr; + attr = (ppdcAttr *)d->attrs->next()) + if (!strcmp(attr->name->value, "cupsBackSide")) + { + d->attrs->remove(attr); + break; + } + + if (!_cups_strcasecmp(temp, "flip")) + d->add_attr(new ppdcAttr("cupsBackSide", NULL, NULL, "Flipped")); + else if (!_cups_strcasecmp(temp, "rotated")) + d->add_attr(new ppdcAttr("cupsBackSide", NULL, NULL, "Rotated")); + else if (!_cups_strcasecmp(temp, "manualtumble")) + d->add_attr(new ppdcAttr("cupsBackSide", NULL, NULL, "ManualTumble")); + else + d->add_attr(new ppdcAttr("cupsBackSide", NULL, NULL, "Normal")); + } + else + _cupsLangPrintf(stderr, + _("ppdc: Unknown duplex type \"%s\" on line %d of %s."), + temp, fp->line, fp->filename); +} + + +// +// 'ppdcSource::get_filter()' - Get a filter. +// + +ppdcFilter * // O - Filter +ppdcSource::get_filter(ppdcFile *fp) // I - File to read +{ + char type[1024], // MIME type + program[1024], // Filter program + *ptr; // Pointer into MIME type + int cost; // Relative cost + + + // Read filter parameters in one of the following formats: + // + // Filter "type cost program" + // Filter type cost program + + if (!get_token(fp, type, sizeof(type))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected a filter definition on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + if ((ptr = strchr(type, ' ')) != NULL) + { + // Old-style filter definition in one string... + *ptr++ = '\0'; + cost = strtol(ptr, &ptr, 10); + + while (isspace(*ptr)) + ptr ++; + + strlcpy(program, ptr, sizeof(program)); + } + else + { + cost = get_integer(fp); + + if (!get_token(fp, program, sizeof(program))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected a program name on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + } + + if (!type[0]) + { + _cupsLangPrintf(stderr, + _("ppdc: Invalid empty MIME type for filter on line %d of " + "%s."), fp->line, fp->filename); + return (NULL); + } + + if (cost < 0 || cost > 200) + { + _cupsLangPrintf(stderr, + _("ppdc: Invalid cost for filter on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + if (!program[0]) + { + _cupsLangPrintf(stderr, + _("ppdc: Invalid empty program name for filter on line %d " + "of %s."), fp->line, fp->filename); + return (NULL); + } + + return (new ppdcFilter(type, program, cost)); +} + + +// +// 'ppdcSource::get_float()' - Get a single floating-point number. +// + +float // O - Number +ppdcSource::get_float(ppdcFile *fp) // I - File to read +{ + char temp[256], // String buffer + *ptr; // Pointer into buffer + float val; // Floating point value + + + // Get the number from the file and range-check... + if (!get_token(fp, temp, sizeof(temp))) + { + _cupsLangPrintf(stderr, _("ppdc: Expected real number on line %d of %s."), + fp->line, fp->filename); + return (-1.0f); + } + + val = (float)strtod(temp, &ptr); + + if (*ptr) + { + _cupsLangPrintf(stderr, + _("ppdc: Unknown trailing characters in real number \"%s\" " + "on line %d of %s."), temp, fp->line, fp->filename); + return (-1.0f); + } + else + return (val); +} + + +// +// 'ppdcSource::get_font()' - Get a font definition. +// + +ppdcFont * // O - Font data +ppdcSource::get_font(ppdcFile *fp) // I - File to read +{ + char name[256], // Font name + encoding[256], // Font encoding + version[256], // Font version + charset[256], // Font charset + temp[256]; // Font status string + ppdcFontStatus status; // Font status enumeration + + + // Read font parameters as follows: + // + // Font * + // Font name encoding version charset status + // %font name encoding version charset status + // + // "Name" is the PostScript font name. + // + // "Encoding" is the default encoding of the font: Standard, ISOLatin1, + // Special, Expert, ExpertSubset, etc. + // + // "Version" is the version number string. + // + // "Charset" specifies the characters that are included in the font: + // Standard, Special, Expert, Adobe-Identity, etc. + // + // "Status" is the keyword ROM or Disk. + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected name after Font on line %d of %s."), + fp->line, fp->filename); + return (0); + } + + if (!strcmp(name, "*")) + { + // Include all base fonts... + encoding[0] = '\0'; + version[0] = '\0'; + charset[0] = '\0'; + status = PPDC_FONT_ROM; + } + else + { + // Load a full font definition... + if (!get_token(fp, encoding, sizeof(encoding))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected encoding after Font on line %d of " + "%s."), fp->line, fp->filename); + return (0); + } + + if (!get_token(fp, version, sizeof(version))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected version after Font on line %d of " + "%s."), fp->line, fp->filename); + return (0); + } + + if (!get_token(fp, charset, sizeof(charset))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected charset after Font on line %d of " + "%s."), fp->line, fp->filename); + return (0); + } + + if (!get_token(fp, temp, sizeof(temp))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected status after Font on line %d of %s."), + fp->line, fp->filename); + return (0); + } + + if (!_cups_strcasecmp(temp, "ROM")) + status = PPDC_FONT_ROM; + else if (!_cups_strcasecmp(temp, "Disk")) + status = PPDC_FONT_DISK; + else + { + _cupsLangPrintf(stderr, + _("ppdc: Bad status keyword %s on line %d of %s."), + temp, fp->line, fp->filename); + return (0); + } + } + +// printf("Font %s %s %s %s %s\n", name, encoding, version, charset, temp); + + return (new ppdcFont(name, encoding, version, charset, status)); +} + + +// +// 'ppdcSource::get_generic()' - Get a generic old-style option. +// + +ppdcChoice * // O - Choice data +ppdcSource::get_generic(ppdcFile *fp, // I - File to read + const char *keyword, + // I - Keyword name + const char *tattr, + // I - Text attribute + const char *nattr) + // I - Numeric attribute +{ + char name[1024], // Name + *text, // Text + command[256]; // Command string + int val; // Numeric value + + + // Read one of the following parameters: + // + // Foo name/text + // Foo integer name/text + if (nattr) + val = get_integer(fp); + else + val = 0; + + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected name/text after %s on line %d of %s."), + keyword, fp->line, fp->filename); + return (NULL); + } + + if ((text = strchr(name, '/')) != NULL) + *text++ = '\0'; + else + text = name; + + if (nattr) + { + if (tattr) + snprintf(command, sizeof(command), + "<>setpagedevice", + tattr, name, nattr, val); + else + snprintf(command, sizeof(command), + "<>setpagedevice", + nattr, val); + } + else + snprintf(command, sizeof(command), + "<>setpagedevice", + tattr, name); + + return (new ppdcChoice(name, text, command)); +} + + +// +// 'ppdcSource::get_group()' - Get an option group. +// + +ppdcGroup * // O - Group +ppdcSource::get_group(ppdcFile *fp, // I - File to read + ppdcDriver *d) // I - Printer driver +{ + char name[1024], // UI name + *text; // UI text + ppdcGroup *g; // Group + + + // Read the Group parameters: + // + // Group name/text + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected group name/text on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + if ((text = strchr(name, '/')) != NULL) + *text++ = '\0'; + else + text = name; + + // See if the group already exists... + if ((g = d->find_group(name)) == NULL) + { + // Nope, add a new one... + g = new ppdcGroup(name, text); + } + + return (g); +} + + +// +// 'ppdcSource::get_installable()' - Get an installable option. +// + +ppdcOption * // O - Option +ppdcSource::get_installable(ppdcFile *fp) + // I - File to read +{ + char name[1024], // Name for installable option + *text; // Text for installable option + ppdcOption *o; // Option + + + // Read the parameter for an installable option: + // + // Installable name/text + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected name/text after Installable on line %d " + "of %s."), fp->line, fp->filename); + return (NULL); + } + + if ((text = strchr(name, '/')) != NULL) + *text++ = '\0'; + else + text = name; + + // Create the option... + o = new ppdcOption(PPDC_BOOLEAN, name, text, PPDC_SECTION_ANY, 10.0f); + + // Add the false and true choices... + o->add_choice(new ppdcChoice("False", "Not Installed", "")); + o->add_choice(new ppdcChoice("True", "Installed", "")); + + return (o); +} + + +// +// 'ppdcSource::get_integer()' - Get an integer value from a string. +// + +#define PPDC_XX -1 // Bad +#define PPDC_EQ 0 // == +#define PPDC_NE 1 // != +#define PPDC_LT 2 // < +#define PPDC_LE 3 // <= +#define PPDC_GT 4 // > +#define PPDC_GE 5 // >= + +int // O - Integer value +ppdcSource::get_integer(const char *v) // I - Value string +{ + long val; // Value + long temp, // Temporary value + temp2; // Second temporary value + char *newv, // New value string pointer + ch; // Temporary character + ppdcVariable *var; // #define variable + int compop; // Comparison operator + + + // Parse the value string... + if (!v) + return (-1); + + if (isdigit(*v & 255) || *v == '-' || *v == '+') + { + // Return a simple integer value + val = strtol(v, (char **)&v, 0); + if (*v || val == LONG_MIN) + return (-1); + else + return ((int)val); + } + else if (*v == '(') + { + // Evaluate and expression in any of the following formats: + // + // (number number ... number) Bitwise OR of all numbers + // (NAME == value) 1 if equal, 0 otherwise + // (NAME != value) 1 if not equal, 0 otherwise + // (NAME < value) 1 if less than, 0 otherwise + // (NAME <= value) 1 if less than or equal, 0 otherwise + // (NAME > value) 1 if greater than, 0 otherwise + // (NAME >= value) 1 if greater than or equal, 0 otherwise + + v ++; + val = 0; + + while (*v && *v != ')') + { + // Skip leading whitespace... + while (*v && isspace(*v & 255)) + v ++; + + if (!*v || *v == ')') + break; + + if (isdigit(*v & 255) || *v == '-' || *v == '+') + { + // Bitwise OR a number... + temp = strtol(v, &newv, 0); + + if (!*newv || newv == v || !(isspace(*newv) || *newv == ')') || + temp == LONG_MIN) + return (-1); + } + else + { + // NAME logicop value + for (newv = (char *)v + 1; + *newv && (isalnum(*newv & 255) || *newv == '_'); + newv ++) + /* do nothing */; + + ch = *newv; + *newv = '\0'; + + if ((var = find_variable(v)) != NULL) + { + if (!var->value || !var->value->value || !var->value->value[0]) + temp = 0; + else if (isdigit(var->value->value[0] & 255) || + var->value->value[0] == '-' || + var->value->value[0] == '+') + temp = strtol(var->value->value, NULL, 0); + else + temp = 1; + } + else + temp = 0; + + *newv = ch; + while (isspace(*newv & 255)) + newv ++; + + if (!strncmp(newv, "==", 2)) + { + compop = PPDC_EQ; + newv += 2; + } + else if (!strncmp(newv, "!=", 2)) + { + compop = PPDC_NE; + newv += 2; + } + else if (!strncmp(newv, "<=", 2)) + { + compop = PPDC_LE; + newv += 2; + } + else if (*newv == '<') + { + compop = PPDC_LT; + newv ++; + } + else if (!strncmp(newv, ">=", 2)) + { + compop = PPDC_GE; + newv += 2; + } + else if (*newv == '>') + { + compop = PPDC_GT; + newv ++; + } + else + compop = PPDC_XX; + + if (compop != PPDC_XX) + { + while (isspace(*newv & 255)) + newv ++; + + if (*newv == ')' || !*newv) + return (-1); + + if (isdigit(*newv & 255) || *newv == '-' || *newv == '+') + { + // Get the second number... + temp2 = strtol(newv, &newv, 0); + if (!*newv || newv == v || !(isspace(*newv) || *newv == ')') || + temp == LONG_MIN) + return (-1); + } + else + { + // Lookup the second name... + for (v = newv, newv ++; + *newv && (isalnum(*newv & 255) || *newv == '_'); + newv ++); + + ch = *newv; + *newv = '\0'; + + if ((var = find_variable(v)) != NULL) + { + if (!var->value || !var->value->value || !var->value->value[0]) + temp2 = 0; + else if (isdigit(var->value->value[0] & 255) || + var->value->value[0] == '-' || + var->value->value[0] == '+') + temp2 = strtol(var->value->value, NULL, 0); + else + temp2 = 1; + } + else + temp2 = 0; + + *newv = ch; + } + + // Do the comparison... + switch (compop) + { + case PPDC_EQ : + temp = temp == temp2; + break; + case PPDC_NE : + temp = temp != temp2; + break; + case PPDC_LT : + temp = temp < temp2; + break; + case PPDC_LE : + temp = temp <= temp2; + break; + case PPDC_GT : + temp = temp > temp2; + break; + case PPDC_GE : + temp = temp >= temp2; + break; + } + } + } + + val |= temp; + v = newv; + } + + if (*v == ')' && !v[1]) + return ((int)val); + else + return (-1); + } + else if ((var = find_variable(v)) != NULL) + { + // NAME by itself returns 1 if the #define variable is not blank and + // not "0"... + return (var->value->value && var->value->value[0] && + strcmp(var->value->value, "0")); + } + else + { + // Anything else is an error... + return (-1); + } +} + + +// +// 'ppdcSource::get_integer()' - Get an integer value from a file. +// + +int // O - Integer value +ppdcSource::get_integer(ppdcFile *fp) // I - File to read +{ + char temp[1024]; // String buffer + + + if (!get_token(fp, temp, sizeof(temp))) + { + _cupsLangPrintf(stderr, _("ppdc: Expected integer on line %d of %s."), + fp->line, fp->filename); + return (-1); + } + else + return (get_integer(temp)); +} + + +// +// 'ppdcSource::get_measurement()' - Get a measurement value. +// + +float // O - Measurement value in points +ppdcSource::get_measurement(ppdcFile *fp) + // I - File to read +{ + char buffer[256], // Number buffer + *ptr; // Pointer into buffer + float val; // Measurement value + + + // Grab a token from the file... + if (!get_token(fp, buffer, sizeof(buffer))) + return (-1.0f); + + // Get the floating point value of "s" and skip all digits and decimal points. + val = (float)strtod(buffer, &ptr); + + // Check for a trailing unit specifier... + if (!_cups_strcasecmp(ptr, "mm")) + val *= 72.0f / 25.4f; + else if (!_cups_strcasecmp(ptr, "cm")) + val *= 72.0f / 2.54f; + else if (!_cups_strcasecmp(ptr, "m")) + val *= 72.0f / 0.0254f; + else if (!_cups_strcasecmp(ptr, "in")) + val *= 72.0f; + else if (!_cups_strcasecmp(ptr, "ft")) + val *= 72.0f * 12.0f; + else if (_cups_strcasecmp(ptr, "pt") && *ptr) + return (-1.0f); + + return (val); +} + + +// +// 'ppdcSource::get_option()' - Get an option definition. +// + +ppdcOption * // O - Option +ppdcSource::get_option(ppdcFile *fp, // I - File to read + ppdcDriver *d, // I - Printer driver + ppdcGroup *g) // I - Current group +{ + char name[1024], // UI name + *text, // UI text + type[256]; // UI type string + ppdcOptType ot; // Option type value + ppdcOptSection section; // Option section + float order; // Option order + ppdcOption *o; // Option + ppdcGroup *mg; // Matching group, if any + + + // Read the Option parameters: + // + // Option name/text type section order + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected option name/text on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + if ((text = strchr(name, '/')) != NULL) + *text++ = '\0'; + else + text = name; + + if (!get_token(fp, type, sizeof(type))) + { + _cupsLangPrintf(stderr, _("ppdc: Expected option type on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + if (!_cups_strcasecmp(type, "boolean")) + ot = PPDC_BOOLEAN; + else if (!_cups_strcasecmp(type, "pickone")) + ot = PPDC_PICKONE; + else if (!_cups_strcasecmp(type, "pickmany")) + ot = PPDC_PICKMANY; + else + { + _cupsLangPrintf(stderr, + _("ppdc: Invalid option type \"%s\" on line %d of %s."), + type, fp->line, fp->filename); + return (NULL); + } + + if (!get_token(fp, type, sizeof(type))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected option section on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + if (!_cups_strcasecmp(type, "AnySetup")) + section = PPDC_SECTION_ANY; + else if (!_cups_strcasecmp(type, "DocumentSetup")) + section = PPDC_SECTION_DOCUMENT; + else if (!_cups_strcasecmp(type, "ExitServer")) + section = PPDC_SECTION_EXIT; + else if (!_cups_strcasecmp(type, "JCLSetup")) + section = PPDC_SECTION_JCL; + else if (!_cups_strcasecmp(type, "PageSetup")) + section = PPDC_SECTION_PAGE; + else if (!_cups_strcasecmp(type, "Prolog")) + section = PPDC_SECTION_PROLOG; + else + { + _cupsLangPrintf(stderr, + _("ppdc: Invalid option section \"%s\" on line %d of " + "%s."), type, fp->line, fp->filename); + return (NULL); + } + + order = get_float(fp); + + // See if the option already exists... + if ((o = d->find_option_group(name, &mg)) == NULL) + { + // Nope, add a new one... + o = new ppdcOption(ot, name, text, section, order); + } + else if (o->type != ot) + { + _cupsLangPrintf(stderr, + _("ppdc: Option %s redefined with a different type on line " + "%d of %s."), name, fp->line, fp->filename); + return (NULL); + } + else if (g != mg) + { + _cupsLangPrintf(stderr, + _("ppdc: Option %s defined in two different groups on line " + "%d of %s."), name, fp->line, fp->filename); + return (NULL); + } + + return (o); +} + + +// +// 'ppdcSource::get_po()' - Get a message catalog. +// + +ppdcCatalog * // O - Message catalog +ppdcSource::get_po(ppdcFile *fp) // I - File to read +{ + char locale[32], // Locale name + poname[1024], // Message catalog filename + basedir[1024], // Base directory + *baseptr, // Pointer into directory + pofilename[1024]; // Full filename of message catalog + ppdcCatalog *cat; // Message catalog + + + // Read the #po parameters: + // + // #po locale "filename.po" + if (!get_token(fp, locale, sizeof(locale))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected locale after #po on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + if (!get_token(fp, poname, sizeof(poname))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected filename after #po %s on line %d of " + "%s."), locale, fp->line, fp->filename); + return (NULL); + } + + // See if the locale is already loaded... + if (find_po(locale)) + { + _cupsLangPrintf(stderr, + _("ppdc: Duplicate #po for locale %s on line %d of %s."), + locale, fp->line, fp->filename); + return (NULL); + } + + // Figure out the current directory... + strlcpy(basedir, fp->filename, sizeof(basedir)); + + if ((baseptr = strrchr(basedir, '/')) != NULL) + *baseptr = '\0'; + else + strlcpy(basedir, ".", sizeof(basedir)); + + // Find the po file... + pofilename[0] = '\0'; + + if (!poname[0] || + find_include(poname, basedir, pofilename, sizeof(pofilename))) + { + // Found it, so load it... + cat = new ppdcCatalog(locale, pofilename); + + // Reset the filename to the name supplied by the user... + cat->filename->release(); + cat->filename = new ppdcString(poname); + + // Return the catalog... + return (cat); + } + else + { + _cupsLangPrintf(stderr, + _("ppdc: Unable to find #po file %s on line %d of %s."), + poname, fp->line, fp->filename); + return (NULL); + } +} + + +// +// 'ppdcSource::get_resolution()' - Get an old-style resolution option. +// + +ppdcChoice * // O - Choice data +ppdcSource::get_resolution(ppdcFile *fp)// I - File to read +{ + char name[1024], // Name + *text, // Text + temp[256], // Temporary string + command[256], // Command string + *commptr; // Pointer into command + int xdpi, ydpi, // X + Y resolution + color_order, // Color order + color_space, // Colorspace + compression, // Compression mode + depth, // Bits per color + row_count, // Row count + row_feed, // Row feed + row_step; // Row step/interval + + + // Read the resolution parameters: + // + // Resolution colorspace bits row-count row-feed row-step name/text + if (!get_token(fp, temp, sizeof(temp))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected override field after Resolution on line " + "%d of %s."), fp->line, fp->filename); + return (NULL); + } + + color_order = get_color_order(temp); + color_space = get_color_space(temp); + compression = get_integer(temp); + + depth = get_integer(fp); + row_count = get_integer(fp); + row_feed = get_integer(fp); + row_step = get_integer(fp); + + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected name/text after Resolution on line %d of " + "%s."), fp->line, fp->filename); + return (NULL); + } + + if ((text = strchr(name, '/')) != NULL) + *text++ = '\0'; + else + text = name; + + switch (sscanf(name, "%dx%d", &xdpi, &ydpi)) + { + case 0 : + _cupsLangPrintf(stderr, + _("ppdc: Bad resolution name \"%s\" on line %d of " + "%s."), name, fp->line, fp->filename); + break; + case 1 : + ydpi = xdpi; + break; + } + + // Create the necessary PS commands... + snprintf(command, sizeof(command), + "<= 0) + { + snprintf(commptr, sizeof(command) - (size_t)(commptr - command), + "/cupsColorOrder %d", color_order); + commptr += strlen(commptr); + } + + if (color_space >= 0) + { + snprintf(commptr, sizeof(command) - (size_t)(commptr - command), + "/cupsColorSpace %d", color_space); + commptr += strlen(commptr); + } + + if (compression >= 0) + { + snprintf(commptr, sizeof(command) - (size_t)(commptr - command), + "/cupsCompression %d", compression); + commptr += strlen(commptr); + } + + snprintf(commptr, sizeof(command) - (size_t)(commptr - command), ">>setpagedevice"); + + // Return the new choice... + return (new ppdcChoice(name, text, command)); +} + + +// +// 'ppdcSource::get_simple_profile()' - Get a simple color profile definition. +// + +ppdcProfile * // O - Color profile +ppdcSource::get_simple_profile(ppdcFile *fp) + // I - File to read +{ + char resolution[1024], // Resolution/media type + *media_type; // Media type + float m[9]; // Transform matrix + float kd, rd, g; // Densities and gamma + float red, green, blue; // RGB adjustments + float yellow; // Yellow density + float color; // Color density values + + + // Get the SimpleColorProfile parameters: + // + // SimpleColorProfile resolution/mediatype black-density yellow-density + // red-density gamma red-adjust green-adjust blue-adjust + if (!get_token(fp, resolution, sizeof(resolution))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected resolution/mediatype following " + "SimpleColorProfile on line %d of %s."), + fp->line, fp->filename); + return (NULL); + } + + if ((media_type = strchr(resolution, '/')) != NULL) + *media_type++ = '\0'; + else + media_type = resolution; + + // Collect the profile parameters... + kd = get_float(fp); + yellow = get_float(fp); + rd = get_float(fp); + g = get_float(fp); + red = get_float(fp); + green = get_float(fp); + blue = get_float(fp); + + // Build the color profile... + color = 0.5f * rd / kd - kd; + m[0] = 1.0f; // C + m[1] = color + blue; // C + M (blue) + m[2] = color - green; // C + Y (green) + m[3] = color - blue; // M + C (blue) + m[4] = 1.0f; // M + m[5] = color + red; // M + Y (red) + m[6] = yellow * (color + green); // Y + C (green) + m[7] = yellow * (color - red); // Y + M (red) + m[8] = yellow; // Y + + if (m[1] > 0.0f) + { + m[3] -= m[1]; + m[1] = 0.0f; + } + else if (m[3] > 0.0f) + { + m[1] -= m[3]; + m[3] = 0.0f; + } + + if (m[2] > 0.0f) + { + m[6] -= m[2]; + m[2] = 0.0f; + } + else if (m[6] > 0.0f) + { + m[2] -= m[6]; + m[6] = 0.0f; + } + + if (m[5] > 0.0f) + { + m[7] -= m[5]; + m[5] = 0.0f; + } + else if (m[7] > 0.0f) + { + m[5] -= m[7]; + m[7] = 0.0f; + } + + // Return the new profile... + return (new ppdcProfile(resolution, media_type, g, kd, m)); +} + + +// +// 'ppdcSource::get_size()' - Get a media size definition from a file. +// + +ppdcMediaSize * // O - Media size +ppdcSource::get_size(ppdcFile *fp) // I - File to read +{ + char name[1024], // Name + *text; // Text + float width, // Width + length; // Length + + + // Get the name, text, width, and length: + // + // #media name/text width length + if (!get_token(fp, name, sizeof(name))) + return (NULL); + + if ((text = strchr(name, '/')) != NULL) + *text++ = '\0'; + else + text = name; + + if ((width = get_measurement(fp)) < 0.0f) + return (NULL); + + if ((length = get_measurement(fp)) < 0.0f) + return (NULL); + + // Return the new media size... + return (new ppdcMediaSize(name, text, width, length, 0.0f, 0.0f, 0.0f, 0.0f)); +} + + +// +// 'ppdcSource::get_token()' - Get a token from a file. +// + +char * // O - Token string or NULL +ppdcSource::get_token(ppdcFile *fp, // I - File to read + char *buffer, // I - Buffer + int buflen) // I - Length of buffer +{ + char *bufptr, // Pointer into string buffer + *bufend; // End of string buffer + int ch, // Character from file + nextch, // Next char in file + quote, // Quote character used... + empty, // Empty input? + startline; // Start line for quote + char name[256], // Name string + *nameptr; // Name pointer + ppdcVariable *var; // Variable pointer + + + // Mark the beginning and end of the buffer... + bufptr = buffer; + bufend = buffer + buflen - 1; + + // Loop intil we've read a token... + quote = 0; + startline = 0; + empty = 1; + + while ((ch = fp->get()) != EOF) + { + if (isspace(ch) && !quote) + { + if (empty) + continue; + else + break; + } + else if (ch == '$') + { + // Variable substitution + empty = 0; + + for (nameptr = name; (ch = fp->peek()) != EOF;) + { + if (!isalnum(ch) && ch != '_') + break; + else if (nameptr < (name + sizeof(name) - 1)) + *nameptr++ = (char)fp->get(); + } + + if (nameptr == name) + { + // Just substitute this character... + if (ch == '$') + { + // $$ = $ + if (bufptr < bufend) + *bufptr++ = (char)fp->get(); + } + else + { + // $ch = $ch + _cupsLangPrintf(stderr, + _("ppdc: Bad variable substitution ($%c) on line %d " + "of %s."), ch, fp->line, fp->filename); + + if (bufptr < bufend) + *bufptr++ = '$'; + } + } + else + { + // Substitute the variable value... + *nameptr = '\0'; + var = find_variable(name); + if (var) + { + strlcpy(bufptr, var->value->value, (size_t)(bufend - bufptr + 1)); + bufptr += strlen(bufptr); + } + else + { + if (!(cond_state & PPDC_COND_SKIP)) + _cupsLangPrintf(stderr, + _("ppdc: Undefined variable (%s) on line %d of " + "%s."), name, fp->line, fp->filename); + + snprintf(bufptr, (size_t)(bufend - bufptr + 1), "$%s", name); + bufptr += strlen(bufptr); + } + } + } + else if (ch == '/' && !quote) + { + // Possibly a comment... + nextch = fp->peek(); + + if (nextch == '*') + { + // C comment... + fp->get(); + ch = fp->get(); + while ((nextch = fp->get()) != EOF) + { + if (ch == '*' && nextch == '/') + break; + + ch = nextch; + } + + if (nextch == EOF) + break; + } + else if (nextch == '/') + { + // C++ comment... + while ((nextch = fp->get()) != EOF) + if (nextch == '\n') + break; + + if (nextch == EOF) + break; + } + else + { + // Not a comment... + empty = 0; + + if (bufptr < bufend) + *bufptr++ = (char)ch; + } + } + else if (ch == '\'' || ch == '\"') + { + empty = 0; + + if (quote == ch) + { + // Ending the current quoted string... + quote = 0; + } + else if (quote) + { + // Insert the opposing quote char... + if (bufptr < bufend) + *bufptr++ = (char)ch; + } + else + { + // Start a new quoted string... + startline = fp->line; + quote = ch; + } + } + else if ((ch == '(' || ch == '<') && !quote) + { + empty = 0; + quote = ch; + startline = fp->line; + + if (bufptr < bufend) + *bufptr++ = (char)ch; + } + else if ((ch == ')' && quote == '(') || (ch == '>' && quote == '<')) + { + quote = 0; + + if (bufptr < bufend) + *bufptr++ = (char)ch; + } + else if (ch == '\\') + { + empty = 0; + + if ((ch = fp->get()) == EOF) + break; + + if (bufptr < bufend) + *bufptr++ = (char)ch; + } + else if (bufptr < bufend) + { + empty = 0; + + *bufptr++ = (char)ch; + + if ((ch == '{' || ch == '}') && !quote) + break; + } + } + + if (quote) + { + _cupsLangPrintf(stderr, + _("ppdc: Unterminated string starting with %c on line %d " + "of %s."), quote, startline, fp->filename); + return (NULL); + } + + if (empty) + return (NULL); + else + { + *bufptr = '\0'; + return (buffer); + } +} + + +// +// 'ppdcSource::get_variable()' - Get a variable definition. +// + +ppdcVariable * // O - Variable +ppdcSource::get_variable(ppdcFile *fp) // I - File to read +{ + char name[1024], // Name + value[1024]; // Value + + + // Get the name and value: + // + // #define name value + if (!get_token(fp, name, sizeof(name))) + return (NULL); + + if (!get_token(fp, value, sizeof(value))) + return (NULL); + + // Set the variable... + return (set_variable(name, value)); +} + + +// +// 'ppdcSource::quotef()' - Write a formatted, quoted string... +// + +int // O - Number bytes on success, -1 on failure +ppdcSource::quotef(cups_file_t *fp, // I - File to write to + const char *format, // I - Printf-style format string + ...) // I - Additional args as needed +{ + va_list ap; // Pointer to additional arguments + int bytes; // Bytes written + char sign, // Sign of format width + size, // Size character (h, l, L) + type; // Format type character + const char *bufformat; // Start of format + int width, // Width of field + prec; // Number of characters of precision + char tformat[100]; // Temporary format string for fprintf() + char *s; // Pointer to string + int slen; // Length of string + int i; // Looping var + + + // Range check input... + if (!fp || !format) + return (-1); + + // Loop through the format string, formatting as needed... + va_start(ap, format); + + bytes = 0; + + while (*format) + { + if (*format == '%') + { + bufformat = format; + format ++; + + if (*format == '%') + { + cupsFilePutChar(fp, *format++); + bytes ++; + continue; + } + else if (strchr(" -+#\'", *format)) + sign = *format++; + else + sign = 0; + + width = 0; + while (isdigit(*format)) + width = width * 10 + *format++ - '0'; + + if (*format == '.') + { + format ++; + prec = 0; + + while (isdigit(*format)) + prec = prec * 10 + *format++ - '0'; + } + else + prec = -1; + + if (*format == 'l' && format[1] == 'l') + { + size = 'L'; + format += 2; + } + else if (*format == 'h' || *format == 'l' || *format == 'L') + size = *format++; + else + size = '\0'; + + if (!*format) + break; + + type = *format++; + + switch (type) + { + case 'E' : // Floating point formats + case 'G' : + case 'e' : + case 'f' : + case 'g' : + if ((format - bufformat + 1) > (int)sizeof(tformat)) + break; + + memcpy(tformat, bufformat, (size_t)(format - bufformat)); + tformat[format - bufformat] = '\0'; + + bytes += cupsFilePrintf(fp, tformat, va_arg(ap, double)); + break; + + case 'B' : // Integer formats + case 'X' : + case 'b' : + case 'd' : + case 'i' : + case 'o' : + case 'u' : + case 'x' : + if ((format - bufformat + 1) > (int)sizeof(tformat)) + break; + + memcpy(tformat, bufformat, (size_t)(format - bufformat)); + tformat[format - bufformat] = '\0'; + +# ifdef HAVE_LONG_LONG + if (size == 'L') + bytes += cupsFilePrintf(fp, tformat, va_arg(ap, long long)); + else +# endif /* HAVE_LONG_LONG */ + if (size == 'l') + bytes += cupsFilePrintf(fp, tformat, va_arg(ap, long)); + else + bytes += cupsFilePrintf(fp, tformat, va_arg(ap, int)); + break; + + case 'p' : // Pointer value + if ((format - bufformat + 1) > (int)sizeof(tformat)) + break; + + memcpy(tformat, bufformat, (size_t)(format - bufformat)); + tformat[format - bufformat] = '\0'; + + bytes += cupsFilePrintf(fp, tformat, va_arg(ap, void *)); + break; + + case 'c' : // Character or character array + if (width <= 1) + { + bytes ++; + cupsFilePutChar(fp, va_arg(ap, int)); + } + else + { + cupsFileWrite(fp, va_arg(ap, char *), (size_t)width); + bytes += width; + } + break; + + case 's' : // String + if ((s = va_arg(ap, char *)) == NULL) + s = (char *)"(nil)"; + + slen = (int)strlen(s); + if (slen > width && prec != width) + width = slen; + + if (slen > width) + slen = width; + + if (sign != '-') + { + for (i = width - slen; i > 0; i --, bytes ++) + cupsFilePutChar(fp, ' '); + } + + for (i = slen; i > 0; i --, s ++, bytes ++) + { + if (*s == '\\' || *s == '\"') + { + cupsFilePutChar(fp, '\\'); + bytes ++; + } + + cupsFilePutChar(fp, *s); + } + + if (sign == '-') + { + for (i = width - slen; i > 0; i --, bytes ++) + cupsFilePutChar(fp, ' '); + } + break; + } + } + else + { + cupsFilePutChar(fp, *format++); + bytes ++; + } + } + + va_end(ap); + + // Return the number of characters written. + return (bytes); +} + + +// +// 'ppdcSource::read_file()' - Read a driver source file. +// + +void +ppdcSource::read_file(const char *f, // I - File to read + cups_file_t *ffp) // I - File pointer to use +{ + ppdcFile *fp = new ppdcFile(f, ffp); + scan_file(fp); + delete fp; + + if (cond_current != cond_stack) + _cupsLangPrintf(stderr, _("ppdc: Missing #endif at end of \"%s\"."), f); +} + + +// +// 'ppdcSource::scan_file()' - Scan a driver source file. +// + +void +ppdcSource::scan_file(ppdcFile *fp, // I - File to read + ppdcDriver *td, // I - Driver template + bool inc) // I - Including? +{ + ppdcDriver *d; // Current driver + ppdcGroup *g, // Current group + *mg, // Matching group + *general, // General options group + *install; // Installable options group + ppdcOption *o; // Current option + ppdcChoice *c; // Current choice + char temp[256], // Token from file... + *ptr; // Pointer into token + int isdefault; // Default option? + + + // Initialize things as needed... + if (inc && td) + { + d = td; + d->retain(); + } + else + d = new ppdcDriver(td); + + if ((general = d->find_group("General")) == NULL) + { + general = new ppdcGroup("General", NULL); + d->add_group(general); + } + + if ((install = d->find_group("InstallableOptions")) == NULL) + { + install = new ppdcGroup("InstallableOptions", "Installable Options"); + d->add_group(install); + } + + // Loop until EOF or } + o = 0; + g = general; + + while (get_token(fp, temp, sizeof(temp))) + { + if (temp[0] == '*') + { + // Mark the next choice as the default + isdefault = 1; + + for (ptr = temp; ptr[1]; ptr ++) + *ptr = ptr[1]; + + *ptr = '\0'; + } + else + { + // Don't mark the next choice as the default + isdefault = 0; + } + + if (!_cups_strcasecmp(temp, "}")) + { + // Close this one out... + break; + } + else if (!_cups_strcasecmp(temp, "{")) + { + // Open a new child... + scan_file(fp, d); + } + else if (!_cups_strcasecmp(temp, "#if")) + { + if ((cond_current - cond_stack) >= 100) + { + _cupsLangPrintf(stderr, + _("ppdc: Too many nested #if's on line %d of %s."), + fp->line, fp->filename); + break; + } + + cond_current ++; + if (get_integer(fp) > 0) + *cond_current = PPDC_COND_SATISFIED; + else + { + *cond_current = PPDC_COND_SKIP; + cond_state |= PPDC_COND_SKIP; + } + } + else if (!_cups_strcasecmp(temp, "#elif")) + { + if (cond_current == cond_stack) + { + _cupsLangPrintf(stderr, _("ppdc: Missing #if on line %d of %s."), + fp->line, fp->filename); + break; + } + + if (*cond_current & PPDC_COND_SATISFIED) + { + get_integer(fp); + *cond_current |= PPDC_COND_SKIP; + } + else if (get_integer(fp) > 0) + { + *cond_current |= PPDC_COND_SATISFIED; + *cond_current &= ~PPDC_COND_SKIP; + } + else + *cond_current |= PPDC_COND_SKIP; + + // Update the current state + int *cond_temp = cond_current; // Temporary stack pointer + + cond_state = PPDC_COND_NORMAL; + while (cond_temp > cond_stack) + if (*cond_temp & PPDC_COND_SKIP) + { + cond_state = PPDC_COND_SKIP; + break; + } + else + cond_temp --; + } + else if (!_cups_strcasecmp(temp, "#else")) + { + if (cond_current == cond_stack) + { + _cupsLangPrintf(stderr, _("ppdc: Missing #if on line %d of %s."), + fp->line, fp->filename); + break; + } + + if (*cond_current & PPDC_COND_SATISFIED) + *cond_current |= PPDC_COND_SKIP; + else + { + *cond_current |= PPDC_COND_SATISFIED; + *cond_current &= ~PPDC_COND_SKIP; + } + + // Update the current state + int *cond_temp = cond_current; // Temporary stack pointer + + cond_state = PPDC_COND_NORMAL; + while (cond_temp > cond_stack) + if (*cond_temp & PPDC_COND_SKIP) + { + cond_state = PPDC_COND_SKIP; + break; + } + else + cond_temp --; + } + else if (!_cups_strcasecmp(temp, "#endif")) + { + if (cond_current == cond_stack) + { + _cupsLangPrintf(stderr, _("ppdc: Missing #if on line %d of %s."), + fp->line, fp->filename); + break; + } + + cond_current --; + + // Update the current state + int *cond_temp = cond_current; // Temporary stack pointer + + cond_state = PPDC_COND_NORMAL; + while (cond_temp > cond_stack) + if (*cond_temp & PPDC_COND_SKIP) + { + cond_state = PPDC_COND_SKIP; + break; + } + else + cond_temp --; + } + else if (!_cups_strcasecmp(temp, "#define")) + { + // Get the variable... + get_variable(fp); + } + else if (!_cups_strcasecmp(temp, "#include")) + { + // #include filename + char basedir[1024], // Base directory + *baseptr, // Pointer into directory + inctemp[1024], // Initial filename + incname[1024]; // Include filename + ppdcFile *incfile; // Include file + int *old_current = cond_current; + // Previous current stack + + + // Get the include name... + if (!get_token(fp, inctemp, sizeof(inctemp))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected include filename on line %d of " + "%s."), fp->line, fp->filename); + break; + } + + if (cond_state) + continue; + + // Figure out the current directory... + strlcpy(basedir, fp->filename, sizeof(basedir)); + + if ((baseptr = strrchr(basedir, '/')) != NULL) + *baseptr = '\0'; + else + strlcpy(basedir, ".", sizeof(basedir)); + + // Find the include file... + if (find_include(inctemp, basedir, incname, sizeof(incname))) + { + // Open the include file, scan it, and then close it... + incfile = new ppdcFile(incname); + scan_file(incfile, d, true); + delete incfile; + + if (cond_current != old_current) + _cupsLangPrintf(stderr, _("ppdc: Missing #endif at end of \"%s\"."), + incname); + } + else + { + // Can't find it! + _cupsLangPrintf(stderr, + _("ppdc: Unable to find include file \"%s\" on line %d " + "of %s."), inctemp, fp->line, fp->filename); + break; + } + } + else if (!_cups_strcasecmp(temp, "#media")) + { + ppdcMediaSize *m; // Media size + + + // Get a media size... + m = get_size(fp); + if (m) + { + if (cond_state) + m->release(); + else + sizes->add(m); + } + } + else if (!_cups_strcasecmp(temp, "#po")) + { + ppdcCatalog *cat; // Message catalog + + + // Get a message catalog... + cat = get_po(fp); + if (cat) + { + if (cond_state) + cat->release(); + else + po_files->add(cat); + } + } + else if (!_cups_strcasecmp(temp, "Attribute") || + !_cups_strcasecmp(temp, "LocAttribute")) + { + ppdcAttr *a; // Attribute + + + // Get an attribute... + a = get_attr(fp, !_cups_strcasecmp(temp, "LocAttribute")); + if (a) + { + if (cond_state) + a->release(); + else + d->add_attr(a); + } + } + else if (!_cups_strcasecmp(temp, "Choice")) + { + // Get a choice... + c = get_choice(fp); + if (!c) + break; + + if (cond_state) + { + c->release(); + continue; + } + + // Add it to the current option... + if (!o) + { + c->release(); + _cupsLangPrintf(stderr, + _("ppdc: Choice found on line %d of %s with no " + "Option."), fp->line, fp->filename); + break; + } + + o->add_choice(c); + + if (isdefault) + o->set_defchoice(c); + } + else if (!_cups_strcasecmp(temp, "ColorDevice")) + { + // ColorDevice boolean + if (cond_state) + get_boolean(fp); + else + d->color_device = get_boolean(fp); + } + else if (!_cups_strcasecmp(temp, "ColorModel")) + { + // Get the color model + c = get_color_model(fp); + if (!c) + continue; + + if (cond_state) + { + c->release(); + continue; + } + + // Add the choice to the ColorModel option... + if ((o = d->find_option("ColorModel")) == NULL) + { + // Create the ColorModel option... + o = new ppdcOption(PPDC_PICKONE, "ColorModel", "Color Mode", PPDC_SECTION_ANY, 10.0f); + g = general; + g->add_option(o); + } + + o->add_choice(c); + + if (isdefault) + o->set_defchoice(c); + + o = NULL; + } + else if (!_cups_strcasecmp(temp, "ColorProfile")) + { + ppdcProfile *p; // Color profile + + + // Get the color profile... + p = get_color_profile(fp); + + if (p) + { + if (cond_state) + p->release(); + else + d->profiles->add(p); + } + } + else if (!_cups_strcasecmp(temp, "Copyright")) + { + // Copyright string + char copytemp[8192], // Copyright string + *copyptr, // Pointer into string + *copyend; // Pointer to end of string + + + // Get the copyright string... + if (!get_token(fp, copytemp, sizeof(temp))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected string after Copyright on line %d " + "of %s."), fp->line, fp->filename); + break; + } + + if (cond_state) + continue; + + // Break it up into individual lines... + for (copyptr = copytemp; copyptr; copyptr = copyend) + { + if ((copyend = strchr(copyptr, '\n')) != NULL) + *copyend++ = '\0'; + + d->copyright->add(new ppdcString(copyptr)); + } + } + else if (!_cups_strcasecmp(temp, "CustomMedia")) + { + ppdcMediaSize *m; // Media size + + + // Get a custom media size... + m = get_custom_size(fp); + + if (cond_state) + { + m->release(); + continue; + } + + if (m) + d->sizes->add(m); + + if (isdefault) + d->set_default_size(m); + } + else if (!_cups_strcasecmp(temp, "Cutter")) + { + // Cutter boolean + int have_cutter; // Have a paper cutter? + + + have_cutter = get_boolean(fp); + if (have_cutter <= 0 || cond_state) + continue; + + if ((o = d->find_option("CutMedia")) == NULL) + { + o = new ppdcOption(PPDC_BOOLEAN, "CutMedia", "Cut Media", PPDC_SECTION_ANY, 10.0f); + + g = general; + g->add_option(o); + + c = new ppdcChoice("False", NULL, "<>setpagedevice"); + o->add_choice(c); + o->set_defchoice(c); + + c = new ppdcChoice("True", NULL, "<>setpagedevice"); + o->add_choice(c); + } + + o = NULL; + } + else if (!_cups_strcasecmp(temp, "Darkness")) + { + // Get the darkness choice... + c = get_generic(fp, "Darkness", NULL, "cupsCompression"); + if (!c) + continue; + + if (cond_state) + { + c->release(); + continue; + } + + // Add the choice to the cupsDarkness option... + if ((o = d->find_option_group("cupsDarkness", &mg)) == NULL) + { + // Create the cupsDarkness option... + o = new ppdcOption(PPDC_PICKONE, "cupsDarkness", "Darkness", PPDC_SECTION_ANY, 10.0f); + g = general; + g->add_option(o); + } + else if (mg != general) + { + _cupsLangPrintf(stderr, + _("ppdc: Option %s defined in two different groups on " + "line %d of %s."), "cupsDarkness", fp->line, + fp->filename); + c->release(); + continue; + } + + o->add_choice(c); + + if (isdefault) + o->set_defchoice(c); + + o = NULL; + } + else if (!_cups_strcasecmp(temp, "DriverType")) + { + int i; // Looping var + + + // DriverType keyword + if (!get_token(fp, temp, sizeof(temp))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected driver type keyword following " + "DriverType on line %d of %s."), + fp->line, fp->filename); + continue; + } + + if (cond_state) + continue; + + for (i = 0; i < (int)(sizeof(driver_types) / sizeof(driver_types[0])); i ++) + if (!_cups_strcasecmp(temp, driver_types[i])) + break; + + if (i < (int)(sizeof(driver_types) / sizeof(driver_types[0]))) + d->type = (ppdcDrvType)i; + else if (!_cups_strcasecmp(temp, "dymo")) + d->type = PPDC_DRIVER_LABEL; + else + _cupsLangPrintf(stderr, + _("ppdc: Unknown driver type %s on line %d of %s."), + temp, fp->line, fp->filename); + } + else if (!_cups_strcasecmp(temp, "Duplex")) + get_duplex(fp, d); + else if (!_cups_strcasecmp(temp, "Filter")) + { + ppdcFilter *f; // Filter + + + // Get the filter value... + f = get_filter(fp); + if (f) + { + if (cond_state) + f->release(); + else + d->filters->add(f); + } + } + else if (!_cups_strcasecmp(temp, "Finishing")) + { + // Get the finishing choice... + c = get_generic(fp, "Finishing", "OutputType", NULL); + if (!c) + continue; + + if (cond_state) + { + c->release(); + continue; + } + + // Add the choice to the cupsFinishing option... + if ((o = d->find_option_group("cupsFinishing", &mg)) == NULL) + { + // Create the cupsFinishing option... + o = new ppdcOption(PPDC_PICKONE, "cupsFinishing", "Finishing", PPDC_SECTION_ANY, 10.0f); + g = general; + g->add_option(o); + } + else if (mg != general) + { + _cupsLangPrintf(stderr, + _("ppdc: Option %s defined in two different groups on " + "line %d of %s."), "cupsFinishing", fp->line, + fp->filename); + c->release(); + continue; + } + + o->add_choice(c); + + if (isdefault) + o->set_defchoice(c); + + o = NULL; + } + else if (!_cups_strcasecmp(temp, "Font") || + !_cups_strcasecmp(temp, "#font")) + { + ppdcFont *f; // Font + + + // Get a font... + f = get_font(fp); + if (f) + { + if (cond_state) + f->release(); + else + { + if (!_cups_strcasecmp(temp, "#font")) + base_fonts->add(f); + else + d->add_font(f); + + if (isdefault) + d->set_default_font(f); + } + } + } + else if (!_cups_strcasecmp(temp, "Group")) + { + // Get a group... + ppdcGroup *tempg = get_group(fp, d); + + if (!tempg) + break; + + if (cond_state) + { + if (!d->find_group(tempg->name->value)) + tempg->release(); + } + else + { + if (!d->find_group(tempg->name->value)) + d->add_group(tempg); + + g = tempg; + } + } + else if (!_cups_strcasecmp(temp, "HWMargins")) + { + // HWMargins left bottom right top + d->left_margin = get_measurement(fp); + d->bottom_margin = get_measurement(fp); + d->right_margin = get_measurement(fp); + d->top_margin = get_measurement(fp); + } + else if (!_cups_strcasecmp(temp, "InputSlot")) + { + // Get the input slot choice... + c = get_generic(fp, "InputSlot", NULL, "MediaPosition"); + if (!c) + continue; + + if (cond_state) + { + c->release(); + continue; + } + + // Add the choice to the InputSlot option... + + if ((o = d->find_option_group("InputSlot", &mg)) == NULL) + { + // Create the InputSlot option... + o = new ppdcOption(PPDC_PICKONE, "InputSlot", "Media Source", + PPDC_SECTION_ANY, 10.0f); + g = general; + g->add_option(o); + } + else if (mg != general) + { + _cupsLangPrintf(stderr, + _("ppdc: Option %s defined in two different groups on " + "line %d of %s."), "InputSlot", fp->line, + fp->filename); + c->release(); + continue; + } + + o->add_choice(c); + + if (isdefault) + o->set_defchoice(c); + + o = NULL; + } + else if (!_cups_strcasecmp(temp, "Installable")) + { + // Get the installable option... + o = get_installable(fp); + + // Add it as needed... + if (o) + { + if (cond_state) + o->release(); + else + install->add_option(o); + + o = NULL; + } + } + else if (!_cups_strcasecmp(temp, "ManualCopies")) + { + // ManualCopies boolean + if (cond_state) + get_boolean(fp); + else + d->manual_copies = get_boolean(fp); + } + else if (!_cups_strcasecmp(temp, "Manufacturer")) + { + // Manufacturer name + char name[256]; // Model name string + + + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected name after Manufacturer on line %d " + "of %s."), fp->line, fp->filename); + break; + } + + if (!cond_state) + d->set_manufacturer(name); + } + else if (!_cups_strcasecmp(temp, "MaxSize")) + { + // MaxSize width length + if (cond_state) + { + get_measurement(fp); + get_measurement(fp); + } + else + { + d->max_width = get_measurement(fp); + d->max_length = get_measurement(fp); + } + } + else if (!_cups_strcasecmp(temp, "MediaSize")) + { + // MediaSize keyword + char name[41]; // Media size name + ppdcMediaSize *m, // Matching media size... + *dm; // Driver media size... + + + if (get_token(fp, name, sizeof(name)) == NULL) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected name after MediaSize on line %d of " + "%s."), fp->line, fp->filename); + break; + } + + if (cond_state) + continue; + + m = find_size(name); + + if (!m) + { + _cupsLangPrintf(stderr, + _("ppdc: Unknown media size \"%s\" on line %d of " + "%s."), name, fp->line, fp->filename); + break; + } + + // Add this size to the driver... + dm = new ppdcMediaSize(m->name->value, m->text->value, + m->width, m->length, d->left_margin, + d->bottom_margin, d->right_margin, + d->top_margin); + d->sizes->add(dm); + + if (isdefault) + d->set_default_size(dm); + } + else if (!_cups_strcasecmp(temp, "MediaType")) + { + // Get the media type choice... + c = get_generic(fp, "MediaType", "MediaType", "cupsMediaType"); + if (!c) + continue; + + if (cond_state) + { + c->release(); + continue; + } + + // Add the choice to the MediaType option... + if ((o = d->find_option_group("MediaType", &mg)) == NULL) + { + // Create the MediaType option... + o = new ppdcOption(PPDC_PICKONE, "MediaType", "Media Type", + PPDC_SECTION_ANY, 10.0f); + g = general; + g->add_option(o); + } + else if (mg != general) + { + _cupsLangPrintf(stderr, + _("ppdc: Option %s defined in two different groups on " + "line %d of %s."), "MediaType", fp->line, + fp->filename); + c->release(); + continue; + } + + o->add_choice(c); + + if (isdefault) + o->set_defchoice(c); + + o = NULL; + } + else if (!_cups_strcasecmp(temp, "MinSize")) + { + // MinSize width length + if (cond_state) + { + get_measurement(fp); + get_measurement(fp); + } + else + { + d->min_width = get_measurement(fp); + d->min_length = get_measurement(fp); + } + } + else if (!_cups_strcasecmp(temp, "ModelName")) + { + // ModelName name + char name[256]; // Model name string + + + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected name after ModelName on line %d of " + "%s."), fp->line, fp->filename); + break; + } + + if (!cond_state) + d->set_model_name(name); + } + else if (!_cups_strcasecmp(temp, "ModelNumber")) + { + // ModelNumber number + if (cond_state) + get_integer(fp); + else + d->model_number = get_integer(fp); + } + else if (!_cups_strcasecmp(temp, "Option")) + { + // Get an option... + ppdcOption *tempo = get_option(fp, d, g); + + if (!tempo) + break; + + if (cond_state) + { + if (!g->find_option(tempo->name->value)) + tempo->release(); + } + else + { + if (!g->find_option(tempo->name->value)) + g->add_option(tempo); + + o = tempo; + } + } + else if (!_cups_strcasecmp(temp, "FileName")) + { + // FileName name + char name[256]; // Filename string + + + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected name after FileName on line %d of " + "%s."), fp->line, fp->filename); + break; + } + + if (!cond_state) + d->set_file_name(name); + } + else if (!_cups_strcasecmp(temp, "PCFileName")) + { + // PCFileName name + char name[256]; // PC filename string + + + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected name after PCFileName on line %d of " + "%s."), fp->line, fp->filename); + break; + } + + if (!cond_state) + d->set_pc_file_name(name); + } + else if (!_cups_strcasecmp(temp, "Resolution")) + { + // Get the resolution choice... + c = get_resolution(fp); + if (!c) + continue; + + if (cond_state) + { + c->release(); + continue; + } + + // Add the choice to the Resolution option... + if ((o = d->find_option_group("Resolution", &mg)) == NULL) + { + // Create the Resolution option... + o = new ppdcOption(PPDC_PICKONE, "Resolution", NULL, PPDC_SECTION_ANY, + 10.0f); + g = general; + g->add_option(o); + } + else if (mg != general) + { + _cupsLangPrintf(stderr, + _("ppdc: Option %s defined in two different groups on " + "line %d of %s."), "Resolution", fp->line, + fp->filename); + c->release(); + continue; + } + + o->add_choice(c); + + if (isdefault) + o->set_defchoice(c); + + o = NULL; + } + else if (!_cups_strcasecmp(temp, "SimpleColorProfile")) + { + ppdcProfile *p; // Color profile + + + // Get the color profile... + p = get_simple_profile(fp); + + if (p) + { + if (cond_state) + p->release(); + else + d->profiles->add(p); + } + } + else if (!_cups_strcasecmp(temp, "Throughput")) + { + // Throughput number + if (cond_state) + get_integer(fp); + else + d->throughput = get_integer(fp); + } + else if (!_cups_strcasecmp(temp, "UIConstraints")) + { + ppdcConstraint *con; // Constraint + + + con = get_constraint(fp); + + if (con) + { + if (cond_state) + con->release(); + else + d->constraints->add(con); + } + } + else if (!_cups_strcasecmp(temp, "VariablePaperSize")) + { + // VariablePaperSize boolean + if (cond_state) + get_boolean(fp); + else + d->variable_paper_size = get_boolean(fp); + } + else if (!_cups_strcasecmp(temp, "Version")) + { + // Version string + char name[256]; // Model name string + + + if (!get_token(fp, name, sizeof(name))) + { + _cupsLangPrintf(stderr, + _("ppdc: Expected string after Version on line %d of " + "%s."), fp->line, fp->filename); + break; + } + + if (!cond_state) + d->set_version(name); + } + else + { + _cupsLangPrintf(stderr, + _("ppdc: Unknown token \"%s\" seen on line %d of %s."), + temp, fp->line, fp->filename); + break; + } + } + + // Done processing this block, is there anything to save? + if (!inc) + { + if (!d->pc_file_name || !d->model_name || !d->manufacturer || !d->version || + !d->sizes->count) + { + // Nothing to save... + d->release(); + } + else + { + // Got a driver, save it... + drivers->add(d); + } + } + else if (inc && td) + td->release(); +} + + +// +// 'ppdcSource::set_variable()' - Set a variable. +// + +ppdcVariable * // O - Variable +ppdcSource::set_variable( + const char *name, // I - Name + const char *value) // I - Value +{ + ppdcVariable *v; // Variable + + + // See if the variable exists already... + v = find_variable(name); + if (v) + { + // Change the variable value... + v->set_value(value); + } + else + { + // Create a new variable and add it... + v = new ppdcVariable(name, value); + vars->add(v); + } + + return (v); +} + + +// +// 'ppdcSource::write_file()' - Write the current source data to a file. +// + +int // O - 0 on success, -1 on error +ppdcSource::write_file(const char *f) // I - File to write +{ + cups_file_t *fp; // Output file + char bckname[1024]; // Backup file + ppdcDriver *d; // Current driver + ppdcString *st; // Current string + ppdcAttr *a; // Current attribute + ppdcConstraint *co; // Current constraint + ppdcFilter *fi; // Current filter + ppdcFont *fo; // Current font + ppdcGroup *g; // Current group + ppdcOption *o; // Current option + ppdcChoice *ch; // Current choice + ppdcProfile *p; // Current color profile + ppdcMediaSize *si; // Current media size + float left, // Current left margin + bottom, // Current bottom margin + right, // Current right margin + top; // Current top margin + int dtused[PPDC_DRIVER_MAX];// Driver type usage... + + + // Rename the current file, if any, to .bck... + snprintf(bckname, sizeof(bckname), "%s.bck", f); + rename(f, bckname); + + // Open the output file... + fp = cupsFileOpen(f, "w"); + + if (!fp) + { + // Can't create file; restore backup and return... + rename(bckname, f); + return (-1); + } + + cupsFilePuts(fp, "// CUPS PPD Compiler " CUPS_SVERSION "\n\n"); + + // Include standard files... + cupsFilePuts(fp, "// Include necessary files...\n"); + cupsFilePuts(fp, "#include \n"); + cupsFilePuts(fp, "#include \n"); + + memset(dtused, 0, sizeof(dtused)); + + for (d = (ppdcDriver *)drivers->first(); d; d = (ppdcDriver *)drivers->next()) + if (d->type > PPDC_DRIVER_PS && !dtused[d->type]) + { + cupsFilePrintf(fp, "#include <%s.h>\n", driver_types[d->type]); + dtused[d->type] = 1; + } + + // Output each driver... + for (d = (ppdcDriver *)drivers->first(); d; d = (ppdcDriver *)drivers->next()) + { + // Start the driver... + cupsFilePrintf(fp, "\n// %s %s\n", d->manufacturer->value, + d->model_name->value); + cupsFilePuts(fp, "{\n"); + + // Write the copyright stings... + for (st = (ppdcString *)d->copyright->first(); + st; + st = (ppdcString *)d->copyright->next()) + quotef(fp, " Copyright \"%s\"\n", st->value); + + // Write other strings and values... + if (d->manufacturer && d->manufacturer->value) + quotef(fp, " Manufacturer \"%s\"\n", d->manufacturer->value); + if (d->model_name->value) + quotef(fp, " ModelName \"%s\"\n", d->model_name->value); + if (d->file_name && d->file_name->value) + quotef(fp, " FileName \"%s\"\n", d->file_name->value); + if (d->pc_file_name && d->pc_file_name->value) + quotef(fp, " PCFileName \"%s\"\n", d->pc_file_name->value); + if (d->version && d->version->value) + quotef(fp, " Version \"%s\"\n", d->version->value); + + cupsFilePrintf(fp, " DriverType %s\n", driver_types[d->type]); + + if (d->model_number) + { + switch (d->type) + { + case PPDC_DRIVER_LABEL : + cupsFilePuts(fp, " ModelNumber "); + + switch (d->model_number) + { + case DYMO_3x0 : + cupsFilePuts(fp, "$DYMO_3x0\n"); + break; + + case ZEBRA_EPL_LINE : + cupsFilePuts(fp, "$ZEBRA_EPL_LINE\n"); + break; + + case ZEBRA_EPL_PAGE : + cupsFilePuts(fp, "$ZEBRA_EPL_PAGE\n"); + break; + + case ZEBRA_ZPL : + cupsFilePuts(fp, "$ZEBRA_ZPL\n"); + break; + + case ZEBRA_CPCL : + cupsFilePuts(fp, "$ZEBRA_CPCL\n"); + break; + + case INTELLITECH_PCL : + cupsFilePuts(fp, "$INTELLITECH_PCL\n"); + break; + + default : + cupsFilePrintf(fp, "%d\n", d->model_number); + break; + } + break; + + case PPDC_DRIVER_EPSON : + cupsFilePuts(fp, " ModelNumber "); + + switch (d->model_number) + { + case EPSON_9PIN : + cupsFilePuts(fp, "$EPSON_9PIN\n"); + break; + + case EPSON_24PIN : + cupsFilePuts(fp, "$EPSON_24PIN\n"); + break; + + case EPSON_COLOR : + cupsFilePuts(fp, "$EPSON_COLOR\n"); + break; + + case EPSON_PHOTO : + cupsFilePuts(fp, "$EPSON_PHOTO\n"); + break; + + case EPSON_ICOLOR : + cupsFilePuts(fp, "$EPSON_ICOLOR\n"); + break; + + case EPSON_IPHOTO : + cupsFilePuts(fp, "$EPSON_IPHOTO\n"); + break; + + default : + cupsFilePrintf(fp, "%d\n", d->model_number); + break; + } + break; + + case PPDC_DRIVER_HP : + cupsFilePuts(fp, " ModelNumber "); + switch (d->model_number) + { + case HP_LASERJET : + cupsFilePuts(fp, "$HP_LASERJET\n"); + break; + + case HP_DESKJET : + cupsFilePuts(fp, "$HP_DESKJET\n"); + break; + + case HP_DESKJET2 : + cupsFilePuts(fp, "$HP_DESKJET2\n"); + break; + + default : + cupsFilePrintf(fp, "%d\n", d->model_number); + break; + } + + cupsFilePuts(fp, ")\n"); + break; + + default : + cupsFilePrintf(fp, " ModelNumber %d\n", d->model_number); + break; + } + } + + if (d->manual_copies) + cupsFilePuts(fp, " ManualCopies Yes\n"); + + if (d->color_device) + cupsFilePuts(fp, " ColorDevice Yes\n"); + + if (d->throughput) + cupsFilePrintf(fp, " Throughput %d\n", d->throughput); + + // Output all of the attributes... + for (a = (ppdcAttr *)d->attrs->first(); + a; + a = (ppdcAttr *)d->attrs->next()) + if (a->text->value && a->text->value[0]) + quotef(fp, " Attribute \"%s\" \"%s/%s\" \"%s\"\n", + a->name->value, a->selector->value ? a->selector->value : "", + a->text->value, a->value->value ? a->value->value : ""); + else + quotef(fp, " Attribute \"%s\" \"%s\" \"%s\"\n", + a->name->value, a->selector->value ? a->selector->value : "", + a->value->value ? a->value->value : ""); + + // Output all of the constraints... + for (co = (ppdcConstraint *)d->constraints->first(); + co; + co = (ppdcConstraint *)d->constraints->next()) + { + if (co->option1->value[0] == '*') + cupsFilePrintf(fp, " UIConstraints \"%s %s", co->option1->value, + co->choice1->value ? co->choice1->value : ""); + else + cupsFilePrintf(fp, " UIConstraints \"*%s %s", co->option1->value, + co->choice1->value ? co->choice1->value : ""); + + if (co->option2->value[0] == '*') + cupsFilePrintf(fp, " %s %s\"\n", co->option2->value, + co->choice2->value ? co->choice2->value : ""); + else + cupsFilePrintf(fp, " *%s %s\"\n", co->option2->value, + co->choice2->value ? co->choice2->value : ""); + } + + // Output all of the filters... + for (fi = (ppdcFilter *)d->filters->first(); + fi; + fi = (ppdcFilter *)d->filters->next()) + cupsFilePrintf(fp, " Filter \"%s %d %s\"\n", + fi->mime_type->value, fi->cost, fi->program->value); + + // Output all of the fonts... + for (fo = (ppdcFont *)d->fonts->first(); + fo; + fo = (ppdcFont *)d->fonts->next()) + if (!strcmp(fo->name->value, "*")) + cupsFilePuts(fp, " Font *\n"); + else + cupsFilePrintf(fp, " Font \"%s\" \"%s\" \"%s\" \"%s\" %s\n", + fo->name->value, fo->encoding->value, + fo->version->value, fo->charset->value, + fo->status == PPDC_FONT_ROM ? "ROM" : "Disk"); + + // Output all options... + for (g = (ppdcGroup *)d->groups->first(); + g; + g = (ppdcGroup *)d->groups->next()) + { + if (g->options->count == 0) + continue; + + if (g->text->value && g->text->value[0]) + quotef(fp, " Group \"%s/%s\"\n", g->name->value, g->text->value); + else + cupsFilePrintf(fp, " Group \"%s\"\n", g->name->value); + + for (o = (ppdcOption *)g->options->first(); + o; + o = (ppdcOption *)g->options->next()) + { + if (o->choices->count == 0) + continue; + + if (o->text->value && o->text->value[0]) + quotef(fp, " Option \"%s/%s\"", o->name->value, o->text->value); + else + cupsFilePrintf(fp, " Option \"%s\"", o->name->value); + + cupsFilePrintf(fp, " %s %s %.1f\n", + o->type == PPDC_BOOLEAN ? "Boolean" : + o->type == PPDC_PICKONE ? "PickOne" : "PickMany", + o->section == PPDC_SECTION_ANY ? "AnySetup" : + o->section == PPDC_SECTION_DOCUMENT ? "DocumentSetup" : + o->section == PPDC_SECTION_EXIT ? "ExitServer" : + o->section == PPDC_SECTION_JCL ? "JCLSetup" : + o->section == PPDC_SECTION_PAGE ? "PageSetup" : + "Prolog", + o->order); + + for (ch = (ppdcChoice *)o->choices->first(); + ch; + ch = (ppdcChoice *)o->choices->next()) + { + if (ch->text->value && ch->text->value[0]) + quotef(fp, " %sChoice \"%s/%s\" \"%s\"\n", + o->defchoice == ch->name ? "*" : "", + ch->name->value, ch->text->value, + ch->code->value ? ch->code->value : ""); + else + quotef(fp, " %sChoice \"%s\" \"%s\"\n", + o->defchoice == ch->name ? "*" : "", + ch->name->value, + ch->code->value ? ch->code->value : ""); + } + } + } + + // Output all of the color profiles... + for (p = (ppdcProfile *)d->profiles->first(); + p; + p = (ppdcProfile *)d->profiles->next()) + cupsFilePrintf(fp, " ColorProfile \"%s/%s\" %.3f %.3f " + "%.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f\n", + p->resolution->value, p->media_type->value, + p->density, p->gamma, + p->profile[0], p->profile[1], p->profile[2], + p->profile[3], p->profile[4], p->profile[5], + p->profile[6], p->profile[7], p->profile[8]); + + // Output all of the media sizes... + left = 0.0; + bottom = 0.0; + right = 0.0; + top = 0.0; + + for (si = (ppdcMediaSize *)d->sizes->first(); + si; + si = (ppdcMediaSize *)d->sizes->next()) + if (si->size_code->value && si->region_code->value) + { + // Output a custom media size... + quotef(fp, " %sCustomMedia \"%s/%s\" %.2f %.2f %.2f %.2f %.2f %.2f \"%s\" \"%s\"\n", + si->name == d->default_size ? "*" : "", si->name->value, + si->text->value, si->width, si->length, si->left, si->bottom, + si->right, si->top, si->size_code->value, + si->region_code->value); + } + else + { + // Output a standard media size... + if (fabs(left - si->left) > 0.1 || + fabs(bottom - si->bottom) > 0.1 || + fabs(right - si->right) > 0.1 || + fabs(top - si->top) > 0.1) + { + cupsFilePrintf(fp, " HWMargins %.2f %.2f %.2f %.2f\n", + si->left, si->bottom, si->right, si->top); + + left = si->left; + bottom = si->bottom; + right = si->right; + top = si->top; + } + + cupsFilePrintf(fp, " %sMediaSize %s\n", + si->name == d->default_size ? "*" : "", + si->name->value); + } + + if (d->variable_paper_size) + { + cupsFilePuts(fp, " VariablePaperSize Yes\n"); + + if (fabs(left - d->left_margin) > 0.1 || + fabs(bottom - d->bottom_margin) > 0.1 || + fabs(right - d->right_margin) > 0.1 || + fabs(top - d->top_margin) > 0.1) + { + cupsFilePrintf(fp, " HWMargins %.2f %.2f %.2f %.2f\n", + d->left_margin, d->bottom_margin, d->right_margin, + d->top_margin); + } + + cupsFilePrintf(fp, " MinSize %.2f %.2f\n", d->min_width, d->min_length); + cupsFilePrintf(fp, " MaxSize %.2f %.2f\n", d->max_width, d->max_length); + } + + // End the driver... + cupsFilePuts(fp, "}\n"); + } + + // Close the file and return... + cupsFileClose(fp); + + return (0); +} diff --git a/ppdc/ppdc-string.cxx b/ppdc/ppdc-string.cxx new file mode 100644 index 0000000..b28294e --- /dev/null +++ b/ppdc/ppdc-string.cxx @@ -0,0 +1,48 @@ +// +// Shared string class for the CUPS PPD Compiler. +// +// Copyright 2007-2012 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcString::ppdcString()' - Create a shared string. +// + +ppdcString::ppdcString(const char *v) // I - String + : ppdcShared() +{ + PPDC_NEWVAL(v); + + if (v) + { + size_t vlen = strlen(v); + + value = new char[vlen + 1]; + memcpy(value, v, vlen + 1); + } + else + value = 0; +} + + +// +// 'ppdcString::~ppdcString()' - Destroy a shared string. +// + +ppdcString::~ppdcString() +{ + PPDC_DELETEVAL(value); + + if (value) + delete[] value; +} diff --git a/ppdc/ppdc-variable.cxx b/ppdc/ppdc-variable.cxx new file mode 100644 index 0000000..f84deda --- /dev/null +++ b/ppdc/ppdc-variable.cxx @@ -0,0 +1,54 @@ +// +// Variable class for the CUPS PPD Compiler. +// +// Copyright 2007-2009 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'ppdcVariable::ppdcVariable()' - Create a variable. +// + +ppdcVariable::ppdcVariable(const char *n, // I - Name of variable + const char *v) // I - Value of variable + : ppdcShared() +{ + PPDC_NEW; + + name = new ppdcString(n); + value = new ppdcString(v); +} + + +// +// 'ppdcVariable::~ppdcVariable()' - Destroy a variable. +// + +ppdcVariable::~ppdcVariable() +{ + PPDC_DELETE; + + name->release(); + value->release(); +} + + +// +// 'ppdcVariable::set_value()' - Set the value of a variable. +// + +void +ppdcVariable::set_value(const char *v) +{ + value->release(); + value = new ppdcString(v); +} diff --git a/ppdc/ppdc.cxx b/ppdc/ppdc.cxx new file mode 100644 index 0000000..5411b5e --- /dev/null +++ b/ppdc/ppdc.cxx @@ -0,0 +1,452 @@ +// +// PPD file compiler main entry for the CUPS PPD Compiler. +// +// Copyright 2007-2014 by Apple Inc. +// Copyright 2002-2007 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" +#include +#include +#include + + +// +// Local functions... +// + +static void usage(void); + + +// +// 'main()' - Main entry for the PPD compiler. +// + +int // O - Exit status +main(int argc, // I - Number of command-line arguments + char *argv[]) // I - Command-line arguments +{ + int i, j; // Looping vars + ppdcCatalog *catalog; // Message catalog + const char *outdir; // Output directory + ppdcSource *src; // PPD source file data + ppdcDriver *d; // Current driver + cups_file_t *fp; // PPD file + char *opt, // Current option + *value, // Value in option + *outname, // Output filename + make_model[1024], + // Make and model + pcfilename[1024], + // Lowercase pcfilename + filename[1024]; // PPD filename + int comp, // Compress + do_test, // Test PPD files + single_language,// Generate single-language files + use_model_name, // Use ModelName for filename + verbose; // Verbosity + ppdcLineEnding le; // Line ending to use + ppdcArray *locales; // List of locales + cups_array_t *filenames; // List of generated filenames + + + _cupsSetLocale(argv); + + // Scan the command-line... + catalog = NULL; + comp = 0; + do_test = 0; + le = PPDC_LFONLY; + locales = NULL; + outdir = "ppd"; + single_language = 0; + src = new ppdcSource(); + use_model_name = 0; + verbose = 0; + filenames = cupsArrayNew((cups_array_func_t)_cups_strcasecmp, NULL); + + for (i = 1; i < argc; i ++) + if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + switch (*opt) + { + case 'D' : // Define variable + i ++; + if (i >= argc) + usage(); + + if ((value = strchr(argv[i], '=')) != NULL) + { + *value++ = '\0'; + + src->set_variable(argv[i], value); + } + else + src->set_variable(argv[i], "1"); + break; + + case 'I' : // Include directory... + i ++; + if (i >= argc) + usage(); + + if (verbose > 1) + _cupsLangPrintf(stdout, + _("ppdc: Adding include directory \"%s\"."), + argv[i]); + + ppdcSource::add_include(argv[i]); + break; + + case 'c' : // Message catalog... + i ++; + if (i >= argc) + usage(); + + if (verbose > 1) + _cupsLangPrintf(stdout, + _("ppdc: Loading messages from \"%s\"."), + argv[i]); + + if (!catalog) + catalog = new ppdcCatalog("en"); + + if (catalog->load_messages(argv[i])) + { + _cupsLangPrintf(stderr, + _("ppdc: Unable to load localization file " + "\"%s\" - %s"), argv[i], strerror(errno)); + return (1); + } + break; + + case 'd' : // Output directory... + i ++; + if (i >= argc) + usage(); + + if (verbose > 1) + _cupsLangPrintf(stdout, + _("ppdc: Writing PPD files to directory " + "\"%s\"."), argv[i]); + + outdir = argv[i]; + break; + + case 'l' : // Language(s)... + i ++; + if (i >= argc) + usage(); + + if (strchr(argv[i], ',')) + { + // Comma-delimited list of languages... + char temp[1024], // Copy of language list + *start, // Start of current locale name + *end; // End of current locale name + + + locales = new ppdcArray(); + + strlcpy(temp, argv[i], sizeof(temp)); + for (start = temp; *start; start = end) + { + if ((end = strchr(start, ',')) != NULL) + *end++ = '\0'; + else + end = start + strlen(start); + + if (end > start) + locales->add(new ppdcString(start)); + } + } + else + { + single_language = 1; + + if (verbose > 1) + _cupsLangPrintf(stdout, + _("ppdc: Loading messages for locale " + "\"%s\"."), argv[i]); + + if (catalog) + catalog->release(); + + catalog = new ppdcCatalog(argv[i]); + + if (catalog->messages->count == 0 && strcmp(argv[i], "en")) + { + _cupsLangPrintf(stderr, + _("ppdc: Unable to find localization for " + "\"%s\" - %s"), argv[i], strerror(errno)); + return (1); + } + } + break; + + case 'm' : // Use ModelName for filename + use_model_name = 1; + break; + + case 't' : // Test PPDs instead of generating them + do_test = 1; + break; + + case 'v' : // Be verbose... + verbose ++; + break; + + case 'z' : // Compress files... + comp = 1; + break; + + case '-' : // --option + if (!strcmp(opt, "-lf")) + { + le = PPDC_LFONLY; + opt += strlen(opt) - 1; + break; + } + else if (!strcmp(opt, "-cr")) + { + le = PPDC_CRONLY; + opt += strlen(opt) - 1; + break; + } + else if (!strcmp(opt, "-crlf")) + { + le = PPDC_CRLF; + opt += strlen(opt) - 1; + break; + } + + default : // Unknown + usage(); + break; + } + } + else + { + // Open and load the driver info file... + if (verbose > 1) + _cupsLangPrintf(stdout, + _("ppdc: Loading driver information file \"%s\"."), + argv[i]); + + src->read_file(argv[i]); + } + + + if (src->drivers->count > 0) + { + // Create the output directory... + if (mkdir(outdir, 0777)) + { + if (errno != EEXIST) + { + _cupsLangPrintf(stderr, + _("ppdc: Unable to create output directory %s: %s"), + outdir, strerror(errno)); + return (1); + } + } + + // Write PPD files... + for (d = (ppdcDriver *)src->drivers->first(); + d; + d = (ppdcDriver *)src->drivers->next()) + { + if (do_test) + { + // Test the PPD file for this driver... + int pid, // Process ID + fds[2]; // Pipe file descriptors + + + if (pipe(fds)) + { + _cupsLangPrintf(stderr, + _("ppdc: Unable to create output pipes: %s"), + strerror(errno)); + return (1); + } + + if ((pid = fork()) == 0) + { + // Child process comes here... + dup2(fds[0], 0); + + close(fds[0]); + close(fds[1]); + + execlp("cupstestppd", "cupstestppd", "-", (char *)0); + + _cupsLangPrintf(stderr, + _("ppdc: Unable to execute cupstestppd: %s"), + strerror(errno)); + return (errno); + } + else if (pid < 0) + { + _cupsLangPrintf(stderr, _("ppdc: Unable to execute cupstestppd: %s"), + strerror(errno)); + return (errno); + } + + close(fds[0]); + fp = cupsFileOpenFd(fds[1], "w"); + } + else + { + // Write the PPD file for this driver... + if (use_model_name) + { + if (!_cups_strncasecmp(d->model_name->value, d->manufacturer->value, + strlen(d->manufacturer->value))) + { + // Model name already starts with the manufacturer... + outname = d->model_name->value; + } + else + { + // Add manufacturer to the front of the model name... + snprintf(make_model, sizeof(make_model), "%s %s", + d->manufacturer->value, d->model_name->value); + outname = make_model; + } + } + else if (d->file_name) + outname = d->file_name->value; + else + outname = d->pc_file_name->value; + + if (strstr(outname, ".PPD")) + { + // Convert PCFileName to lowercase... + for (j = 0; + outname[j] && j < (int)(sizeof(pcfilename) - 1); + j ++) + pcfilename[j] = (char)tolower(outname[j] & 255); + + pcfilename[j] = '\0'; + } + else + { + // Leave PCFileName as-is... + strlcpy(pcfilename, outname, sizeof(pcfilename)); + } + + // Open the PPD file for writing... + if (comp) + snprintf(filename, sizeof(filename), "%s/%s.gz", outdir, pcfilename); + else + snprintf(filename, sizeof(filename), "%s/%s", outdir, pcfilename); + + if (cupsArrayFind(filenames, filename)) + _cupsLangPrintf(stderr, + _("ppdc: Warning - overlapping filename \"%s\"."), + filename); + else + cupsArrayAdd(filenames, strdup(filename)); + + fp = cupsFileOpen(filename, comp ? "w9" : "w"); + if (!fp) + { + _cupsLangPrintf(stderr, + _("ppdc: Unable to create PPD file \"%s\" - %s."), + filename, strerror(errno)); + return (1); + } + + if (verbose) + _cupsLangPrintf(stdout, _("ppdc: Writing %s."), filename); + } + + /* + * Write the PPD file... + */ + + ppdcArray *templocales = locales; + + if (!templocales && !single_language) + { + templocales = new ppdcArray(); + for (ppdcCatalog *tempcatalog = (ppdcCatalog *)src->po_files->first(); + tempcatalog; + tempcatalog = (ppdcCatalog *)src->po_files->next()) + { + tempcatalog->locale->retain(); + templocales->add(tempcatalog->locale); + } + } + + if (d->write_ppd_file(fp, catalog, templocales, src, le)) + { + cupsFileClose(fp); + return (1); + } + + if (templocales != locales) + templocales->release(); + + cupsFileClose(fp); + } + } + else + usage(); + + // Delete the printer driver information... + src->release(); + + // Message catalog... + if (catalog) + catalog->release(); + + // Return with no errors. + return (0); +} + + +// +// 'usage()' - Show usage and exit. +// + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: ppdc [options] filename.drv [ ... " + "filenameN.drv ]")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _(" -D name=value Set named variable to " + "value.")); + _cupsLangPuts(stdout, _(" -I include-dir Add include directory to " + "search path.")); + _cupsLangPuts(stdout, _(" -c catalog.po Load the specified " + "message catalog.")); + _cupsLangPuts(stdout, _(" -d output-dir Specify the output " + "directory.")); + _cupsLangPuts(stdout, _(" -l lang[,lang,...] Specify the output " + "language(s) (locale).")); + _cupsLangPuts(stdout, _(" -m Use the ModelName value " + "as the filename.")); + _cupsLangPuts(stdout, _(" -t Test PPDs instead of " + "generating them.")); + _cupsLangPuts(stdout, _(" -v Be verbose.")); + _cupsLangPuts(stdout, _(" -z Compress PPD files using " + "GNU zip.")); + _cupsLangPuts(stdout, _(" --cr End lines with CR (Mac " + "OS 9).")); + _cupsLangPuts(stdout, _(" --crlf End lines with CR + LF " + "(Windows).")); + _cupsLangPuts(stdout, _(" --lf End lines with LF " + "(UNIX/Linux/macOS).")); + + exit(1); +} diff --git a/ppdc/ppdc.h b/ppdc/ppdc.h new file mode 100644 index 0000000..075cdcb --- /dev/null +++ b/ppdc/ppdc.h @@ -0,0 +1,523 @@ +// +// Definitions for the CUPS PPD Compiler. +// +// Copyright 2007-2019 by Apple Inc. +// Copyright 2002-2007 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +#ifndef _PPDC_H_ +# define _PPDC_H_ + +// +// Include necessary headers... +// + +# include +# include + + +// +// Macros... +// + +# define PPDC_NAME(s) const char *class_name() { return (s); } + + +// +// Enumerations... +// + +enum ppdcDrvType //// Driver type +{ + PPDC_DRIVER_CUSTOM, // Custom driver + PPDC_DRIVER_PS, // PostScript driver + PPDC_DRIVER_ESCP, // rastertoescpx driver + PPDC_DRIVER_PCL, // rastertopclx driver + PPDC_DRIVER_LABEL, // rastertolabel/rastertodymo driver + PPDC_DRIVER_EPSON, // rastertoepson driver + PPDC_DRIVER_HP, // rastertohp driver + PPDC_DRIVER_MAX // Number of driver types defined +}; + +enum ppdcFontStatus //// Load status of font +{ + PPDC_FONT_ROM, // Font is in ROM + PPDC_FONT_DISK // Font is on disk +}; + +enum ppdcOptSection //// Option section +{ + PPDC_SECTION_ANY, // AnySetup + PPDC_SECTION_DOCUMENT, // DocumentSetup + PPDC_SECTION_EXIT, // ExitServer + PPDC_SECTION_JCL, // JCLSetup + PPDC_SECTION_PAGE, // PageSetup + PPDC_SECTION_PROLOG // Prolog +}; + +enum ppdcOptType //// Option type +{ + PPDC_BOOLEAN, // True/false option + PPDC_PICKONE, // Single choice from list + PPDC_PICKMANY // Multiple choices from list +}; + +enum ppdcLineEnding //// Line endings +{ + PPDC_LFONLY, // LF only + PPDC_CRONLY, // CR only + PPDC_CRLF // CR + LF +}; + +enum ppdcCondFlags //// Condition flags +{ + PPDC_COND_NORMAL = 0, // Normal state + PPDC_COND_SKIP = 1, // Skip state + PPDC_COND_SATISFIED = 2 // At least one condition satisfied +}; + + +// +// Printer description data... +// + +class ppdcShared //// Shared Data Value +{ + private: + + int use; // Use count (delete when 0) + + public: + + ppdcShared(); + virtual ~ppdcShared(); + + virtual const char *class_name() = 0; + + void retain(); + void release(); +}; + +class ppdcArray //// Shared Array + : public ppdcShared +{ + public: + + size_t count, // Number of elements + alloc, // Allocated elements + current; // Current element + ppdcShared **data; // Elements + + ppdcArray(ppdcArray *a = 0); + ~ppdcArray(); + + PPDC_NAME("ppdcArray") + + void add(ppdcShared *d); + ppdcShared *first(); + ppdcShared *next(); + void remove(ppdcShared *d); +}; + +class ppdcString //// Shared String + : public ppdcShared +{ + public: + + char *value; // String value + + ppdcString(const char *v); + ~ppdcString(); + + PPDC_NAME("ppdcString") +}; + +class ppdcInteger //// Shared integer + : public ppdcShared +{ + public: + + int *value; // Integer value + + ppdcInteger(int *v) { value = v; } + + PPDC_NAME("ppdcInteger") +}; + +class ppdcMessage //// Translation message + : public ppdcShared +{ + public: + + ppdcString *id, // Translation ID + *string; // Translation string + + ppdcMessage(const char *i, const char *s); + ~ppdcMessage(); + + PPDC_NAME("ppdcMessage") +}; + +class ppdcCatalog //// Translation catalog + : public ppdcShared +{ + public: + + ppdcString *locale; // Name of locale + ppdcString *filename; // Name of translation file + ppdcArray *messages; // Array of translation messages + + ppdcCatalog(const char *l, const char *f = 0); + ~ppdcCatalog(); + + PPDC_NAME("ppdcCatalog") + + void add_message(const char *id, const char *string = NULL); + const char *find_message(const char *id); + int load_messages(const char *f); + int save_messages(const char *f); +}; + +class ppdcAttr //// Attribute + : public ppdcShared +{ + public: + + ppdcString *name, // Name of attribute + *selector, // Selector string + *text, // Text string + *value; // Value string + bool localizable; // Should this attribute be localized? + + ppdcAttr(const char *n, const char *s, const char *t, const char *v, + bool loc = false); + ~ppdcAttr(); + + PPDC_NAME("ppdcAttr") +}; + +class ppdcFont //// Shared Font + : public ppdcShared +{ + public: + + ppdcString *name, // Font name + *encoding, // Font base encoding + *version, // Font version + *charset; // Font charset + ppdcFontStatus status; // Font status (ROM or Disk) + + ppdcFont(const char *n, const char *e, const char *v, const char *c, + ppdcFontStatus s); + ~ppdcFont(); + + PPDC_NAME("ppdcFont") +}; + +class ppdcChoice //// Option Choice + : public ppdcShared +{ + public: + + ppdcString *name, // Name of choice + *text, // Human-readable text of choice + *code; // PS code of choice + + ppdcChoice(const char *n, const char *t, const char *c); + ~ppdcChoice(); + + PPDC_NAME("ppdcChoice") +}; + +class ppdcOption //// Option + : public ppdcShared +{ + public: + + ppdcOptType type; // Type of option + ppdcString *name, // Name of option + *text; // Human-readable text of option + ppdcOptSection section; // Section for option code + float order; // Order number + ppdcArray *choices; // Choices + ppdcString *defchoice; // Default choice + + ppdcOption(ppdcOptType ot, const char *n, const char *t, ppdcOptSection s, + float o); + ppdcOption(ppdcOption *o); + ~ppdcOption(); + + PPDC_NAME("ppdcOption") + + void add_choice(ppdcChoice *c) { choices->add(c); } + ppdcChoice *find_choice(const char *n); + void set_defchoice(ppdcChoice *c); +}; + +class ppdcGroup //// Group of Options + : public ppdcShared +{ + public: + + ppdcString *name, // Name of option + *text; // Human-readable text of option + ppdcArray *options; // Options + + ppdcGroup(const char *n, const char *t); + ppdcGroup(ppdcGroup *g); + ~ppdcGroup(); + + PPDC_NAME("ppdcGroup") + + void add_option(ppdcOption *o) { options->add(o); } + ppdcOption *find_option(const char *n); +}; + +class ppdcConstraint //// Constraint + : public ppdcShared +{ + public: + + ppdcString *option1, // First option + *choice1, // First choice + *option2, // Second option + *choice2; // Second choice + + ppdcConstraint(const char *o1, const char *c1, const char *o2, + const char *c2); + ~ppdcConstraint(); + + PPDC_NAME("ppdcConstraint") +}; + +class ppdcFilter //// Filter Program + : public ppdcShared +{ + public: + + ppdcString *mime_type, // MIME type + *program; // Filter program + int cost; // Relative cost of filter + + ppdcFilter(const char *t, const char *p, int c); + ~ppdcFilter(); + + PPDC_NAME("ppdcFilter") +}; + +class ppdcMediaSize //// Media Size + : public ppdcShared +{ + public: + + ppdcString *name, // Name of size + *text; // Human-readable text + float width, // Width in points + length, // Length in points + left, // Left limit in points + bottom, // Bottom limit in points + right, // Right limit in points + top; // Top limit in points + ppdcString *size_code, // PageSize code, if any + *region_code; // PageRegion code, if any + + ppdcMediaSize(const char *n, const char *t, float w, float l, + float lm, float bm, float rm, float tm, + const char *sc = 0, const char *rc = 0); + ~ppdcMediaSize(); + + PPDC_NAME("ppdcMediaSize") +}; + +class ppdcProfile //// Color Profile + : public ppdcShared +{ + public: + + ppdcString *resolution, // Resolution name + *media_type; // Media type name + float density, // Color profile density + gamma, // Color profile gamma + profile[9]; // Color profile matrix + + ppdcProfile(const char *r, const char *m, float d, float g, const float *p); + ~ppdcProfile(); + + PPDC_NAME("ppdcProfile") +}; + +class ppdcSource; + +class ppdcDriver //// Printer Driver Data + : public ppdcShared +{ + public: + + ppdcDrvType type; // Driver type + ppdcArray *copyright; // Copyright strings + ppdcString *manufacturer, // Manufacturer + *model_name, // Name of printer model + *file_name, // Output filename for PPD + *pc_file_name, // 8 character PC filename for PPD + *version; // Version number + int model_number, // Model number for driver + manual_copies, // Do manual copies? + color_device, // Support color? + throughput; // Throughput in pages per minute + ppdcArray *attrs, // Attributes + *constraints, // Constraints + *filters, // Filters + *fonts, // Fonts + *groups, // Option groups + *profiles, // Color profiles + *sizes; // Fixed sizes + ppdcString *default_font, // Default font + *default_size; // Default size option + int variable_paper_size; // Support variable sizes? + ppdcString *custom_size_code; // Custom page size code, if any + float left_margin, // Margins for device in points + bottom_margin, + right_margin, + top_margin, + max_width, // Maximum width (points) + max_length, // Maximum length (points) + min_width, // Minimum width (points) + min_length; // Minimum length (points) + + ppdcDriver(ppdcDriver *d = 0); + ~ppdcDriver(); + + PPDC_NAME("ppdcDriver") + + void add_attr(ppdcAttr *a) { attrs->add(a); } + void add_constraint(ppdcConstraint *c) { constraints->add(c); } + void add_copyright(const char *c) { + copyright->add(new ppdcString(c)); + } + void add_filter(ppdcFilter *f) { filters->add(f); } + void add_font(ppdcFont *f) { fonts->add(f); } + void add_group(ppdcGroup *g) { groups->add(g); } + void add_profile(ppdcProfile *p) { profiles->add(p); } + void add_size(ppdcMediaSize *m) { sizes->add(m); } + + ppdcAttr *find_attr(const char *k, const char *s); + ppdcGroup *find_group(const char *n); + ppdcOption *find_option(const char *n); + ppdcOption *find_option_group(const char *n, ppdcGroup **mg); + + void set_custom_size_code(const char *c); + void set_default_font(ppdcFont *f); + void set_default_size(ppdcMediaSize *m); + void set_file_name(const char *f); + void set_manufacturer(const char *m); + void set_model_name(const char *m); + void set_pc_file_name(const char *f); + void set_version(const char *v); + + int write_ppd_file(cups_file_t *fp, ppdcCatalog *catalog, + ppdcArray *locales, ppdcSource *src, + ppdcLineEnding le); +}; + +class ppdcVariable //// Variable Definition + : public ppdcShared +{ + public: + + ppdcString *name, // Name of variable + *value; // Value of variable + + ppdcVariable(const char *n, const char *v); + ~ppdcVariable(); + + PPDC_NAME("ppdcVariable") + + void set_value(const char *v); +}; + +class ppdcFile //// File +{ + public: + + bool close_on_delete; // Close file on delete? + cups_file_t *fp; // File pointer + const char *filename; // Filename + int line; // Line in file + + ppdcFile(const char *f, cups_file_t *ffp = (cups_file_t *)0); + ~ppdcFile(); + + int get(); + int peek(); +}; + +class ppdcSource //// Source File + : public ppdcShared +{ + public: + + static ppdcArray *includes; // Include directories + static const char *driver_types[]; // Driver types + + ppdcString *filename; // Filename + ppdcArray *base_fonts, // Base fonts + *drivers, // Printer drivers + *po_files, // Message catalogs + *sizes, // Predefined media sizes + *vars; // Defined variables + int cond_state, // Cummulative conditional state + *cond_current, // Current #if state + cond_stack[101]; // #if state stack + + + ppdcSource(const char *f = 0, cups_file_t *ffp = (cups_file_t *)0); + ~ppdcSource(); + + PPDC_NAME("ppdcSource") + + static void add_include(const char *d); + ppdcDriver *find_driver(const char *f); + static char *find_include(const char *f, const char *base, char *n, + int nlen); + ppdcCatalog *find_po(const char *l); + ppdcMediaSize *find_size(const char *s); + ppdcVariable *find_variable(const char *n); + ppdcAttr *get_attr(ppdcFile *fp, bool loc = false); + int get_boolean(ppdcFile *fp); + ppdcChoice *get_choice(ppdcFile *fp); + ppdcChoice *get_color_model(ppdcFile *fp); + int get_color_order(const char *co); + ppdcProfile *get_color_profile(ppdcFile *fp); + int get_color_space(const char *cs); + ppdcConstraint *get_constraint(ppdcFile *fp); + ppdcMediaSize *get_custom_size(ppdcFile *fp); + void get_duplex(ppdcFile *fp, ppdcDriver *d); + ppdcFilter *get_filter(ppdcFile *fp); + float get_float(ppdcFile *fp); + ppdcFont *get_font(ppdcFile *fp); + ppdcChoice *get_generic(ppdcFile *fp, const char *keyword, + const char *tattr, const char *nattr); + ppdcGroup *get_group(ppdcFile *fp, ppdcDriver *d); + ppdcOption *get_installable(ppdcFile *fp); + int get_integer(const char *v); + int get_integer(ppdcFile *fp); + float get_measurement(ppdcFile *fp); + ppdcOption *get_option(ppdcFile *fp, ppdcDriver *d, ppdcGroup *g); + ppdcCatalog *get_po(ppdcFile *fp); + ppdcChoice *get_resolution(ppdcFile *fp); + ppdcProfile *get_simple_profile(ppdcFile *fp); + ppdcMediaSize *get_size(ppdcFile *fp); + char *get_token(ppdcFile *fp, char *buffer, int buflen); + ppdcVariable *get_variable(ppdcFile *fp); + int import_ppd(const char *f); + int quotef(cups_file_t *fp, const char *format, ...); + void read_file(const char *f, cups_file_t *ffp = (cups_file_t *)0); + void scan_file(ppdcFile *fp, ppdcDriver *td = 0, bool inc = false); + ppdcVariable *set_variable(const char *name, const char *value); + int write_file(const char *f); +}; + + +#endif // !_PPDC_H_ diff --git a/ppdc/ppdhtml.cxx b/ppdc/ppdhtml.cxx new file mode 100644 index 0000000..506e661 --- /dev/null +++ b/ppdc/ppdhtml.cxx @@ -0,0 +1,180 @@ +// +// PPD to HTML utility for the CUPS PPD Compiler. +// +// Copyright 2007-2015 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" +#include +#include + + +// +// Local functions... +// + +static void usage(void); + + +// +// 'main()' - Main entry for the PPD compiler. +// + +int // O - Exit status +main(int argc, // I - Number of command-line arguments + char *argv[]) // I - Command-line arguments +{ + int i; // Looping var + ppdcSource *src; // PPD source file data + ppdcDriver *d; // Current driver + ppdcGroup *g, // Current group + *composite; // Composite of all drivers + ppdcOption *o, // Current option + *compo; // Composite option + ppdcChoice *c; // Current choice + char *opt; // Current option char + ppdcMediaSize *size; // Current media size + char *value; // Value in option + + + _cupsSetLocale(argv); + + // Scan the command-line... + src = new ppdcSource(); + + for (i = 1; i < argc; i ++) + if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + switch (*opt) + { + case 'D' : // Define variable + i ++; + if (i >= argc) + usage(); + + if ((value = strchr(argv[i], '=')) != NULL) + { + *value++ = '\0'; + + src->set_variable(argv[i], value); + } + else + src->set_variable(argv[i], "1"); + break; + + case 'I' : // Include directory... + i ++; + if (i >= argc) + usage(); + + ppdcSource::add_include(argv[i]); + break; + + default : // Unknown + usage(); + break; + } + } + else + { + // Open and load the driver info file... + src->read_file(argv[i]); + } + + if ((d = (ppdcDriver *)src->drivers->first()) != NULL) + { + // Create a composite group with all of the features from the + // drivers in the info file... + composite = new ppdcGroup("", ""); + + while (d != NULL) + { + for (g = (ppdcGroup *)d->groups->first(); g; g = (ppdcGroup *)d->groups->next()) + for (o = (ppdcOption *)g->options->first(); o; o = (ppdcOption *)g->options->next()) + { + if ((compo = composite->find_option(o->name->value)) == NULL) + composite->add_option(new ppdcOption(o)); + } + + d = (ppdcDriver *)src->drivers->next(); + } + + puts(""); + printf("Driver Summary for %s\n", argv[i]); + printf("

    Driver Summary for %s

    \n", argv[i]); + printf("

    "); + for (compo = (ppdcOption *)composite->options->first(); compo; compo = (ppdcOption *)composite->options->next()) + printf("", compo->text->value); + puts(""); + + // Write HTML summary... + for (d = (ppdcDriver *)src->drivers->first(); d; d = (ppdcDriver *)src->drivers->next()) + { + // Write the summary for this driver... + printf(""); + + for (compo = (ppdcOption *)composite->options->first(); compo; + compo = (ppdcOption *)composite->options->next()) + if ((o = d->find_option(compo->name->value)) != NULL) + { + printf(""); + } + else + printf(""); + + puts(""); + } + + puts("
    PrinterMedia Size%s
    %s", d->model_name->value); + for (size = (ppdcMediaSize *)d->sizes->first(); size; + size = (ppdcMediaSize *)d->sizes->next()) + printf("%s
    ", size->text->value); + printf("
    "); + for (c = (ppdcChoice *)o->choices->first(); c; + c = (ppdcChoice *)o->choices->next()) + printf("%s
    ", c->text->value); + printf("
    N/A

    "); + puts(""); + puts(""); + + // Delete the printer driver information... + composite->release(); + } + else + { + // If no drivers have been loaded, display the program usage message. + usage(); + } + + src->release(); + + // Return with no errors. + return (0); +} + + +// +// 'usage()' - Show usage and exit. +// + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: ppdhtml [options] filename.drv " + ">filename.html")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _(" -D name=value Set named variable to " + "value.")); + _cupsLangPuts(stdout, _(" -I include-dir Add include directory " + "to search path.")); + + exit(1); +} diff --git a/ppdc/ppdi.cxx b/ppdc/ppdi.cxx new file mode 100644 index 0000000..e5bb046 --- /dev/null +++ b/ppdc/ppdi.cxx @@ -0,0 +1,126 @@ +// +// PPD file import utility for the CUPS PPD Compiler. +// +// Copyright 2007-2011 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" +#include +#include +#include + + +// +// Local functions... +// + +static void usage(void); + + +// +// 'main()' - Main entry for the PPD import utility. +// + +int // O - Exit status +main(int argc, // I - Number of command-line arguments + char *argv[]) // I - Command-line arguments +{ + int i; // Looping var + char *opt; // Current option + const char *srcfile; // Output file + ppdcSource *src; // PPD source file data + + + _cupsSetLocale(argv); + + // Scan the command-line... + srcfile = NULL; + src = NULL; + + for (i = 1; i < argc; i ++) + if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + switch (*opt) + { + case 'o' : // Output file + if (srcfile || src) + usage(); + + i ++; + if (i >= argc) + usage(); + + srcfile = argv[i]; + break; + + case 'I' : // Include dir + i ++; + if (i >= argc) + usage(); + + ppdcSource::add_include(argv[i]); + break; + + default : // Unknown + usage(); + break; + } + } + else + { + // Open and load the driver info file... + if (!srcfile) + srcfile = "ppdi.drv"; + + if (!src) + { + if (access(srcfile, 0)) + src = new ppdcSource(); + else + src = new ppdcSource(srcfile); + } + + // Import the PPD file... + src->import_ppd(argv[i]); + } + + // If no drivers have been loaded, display the program usage message. + if (!src) + usage(); + + // Write the driver info file back to disk... + src->write_file(srcfile); + + // Delete the printer driver information... + src->release(); + + // Return with no errors. + return (0); +} + + +// +// 'usage()' - Show usage and exit. +// + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: ppdi [options] filename.ppd [ ... " + "filenameN.ppd ]")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _(" -I include-dir Add include directory to " + "search path.")); + _cupsLangPuts(stdout, _(" -o filename.drv Set driver information " + "file (otherwise ppdi.drv).")); + + exit(1); +} diff --git a/ppdc/ppdmerge.cxx b/ppdc/ppdmerge.cxx new file mode 100644 index 0000000..94d67ff --- /dev/null +++ b/ppdc/ppdmerge.cxx @@ -0,0 +1,361 @@ +// +// PPD file merge utility for the CUPS PPD Compiler. +// +// Copyright © 2007-2018 by Apple Inc. +// Copyright © 2002-2007 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more +// information. +// + +// +// Include necessary headers... +// + +#include +#include +#include + + +// +// Local functions... +// + +static const char *ppd_locale(ppd_file_t *ppd); +static void usage(void); + + +// +// 'main()' - Main entry for the PPD merge utility. +// + +int // O - Exit status +main(int argc, // I - Number of command-line arguments + char *argv[]) // I - Command-line arguments +{ + int i; // Looping var + char *opt; // Current option + ppd_file_t *ppd; // PPD file + cups_array_t *ppds; // Array of PPD files + const char *inname, // First input filename + *outname; // Output filename (if any) + char bckname[1024]; // Backup filename + cups_file_t *infile, // Input file + *outfile; // Output file + cups_array_t *languages; // Languages in file + const char *locale; // Current locale + char line[1024]; // Line from file + + + _cupsSetLocale(argv); + + // Scan the command-line... + inname = NULL; + outname = NULL; + outfile = NULL; + languages = NULL; + ppds = cupsArrayNew(NULL, NULL); + + for (i = 1; i < argc; i ++) + if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + switch (*opt) + { + case 'o' : // Output file + if (outname) + usage(); + + i ++; + if (i >= argc) + usage(); + + outname = argv[i]; + break; + + default : // Unknown + usage(); + break; + } + } + else + { + // Open and load the PPD file... + if ((infile = cupsFileOpen(argv[i], "r")) == NULL) + { + _cupsLangPrintf(stderr, _("%s: Unable to open %s: %s"), "ppdmerge", + argv[i], strerror(errno)); + return (1); + } + + // Open the PPD file... + if ((ppd = ppdOpen2(infile)) == NULL) + { + ppd_status_t status; // PPD open status + int curline, // Current line + linenum; // Line number + + + status = ppdLastError(&linenum); + + _cupsLangPrintf(stderr, + _("%s: Unable to open PPD file: %s on line %d."), + "ppdmerge", ppdErrorString(status), linenum); + cupsFileRewind(infile); + + line[0] = '\0'; + curline = 0; + + while (cupsFileGets(infile, line, sizeof(line))) + { + curline ++; + if (curline >= linenum) + break; + } + + _cupsLangPrintf(stderr, "%d: %s", linenum, line); + + cupsFileClose(infile); + return (1); + } + + // Figure out the locale... + if ((locale = ppd_locale(ppd)) == NULL) + { + _cupsLangPrintf(stderr, + _("ppdmerge: Bad LanguageVersion \"%s\" in %s."), + ppd->lang_version, argv[i]); + cupsFileClose(infile); + ppdClose(ppd); + return (1); + } + + if (!strcmp(locale, "en") && !inname && !outfile) + { + // Set the English PPD's filename... + inname = argv[i]; + languages = _ppdGetLanguages(ppd); + + if (outname && !strcmp(inname, outname)) + { + // Rename input filename so that we don't overwrite it... + snprintf(bckname, sizeof(bckname), "%s.bck", inname); + + if (rename(inname, bckname)) + { + _cupsLangPrintf(stderr, + _("ppdmerge: Unable to backup %s to %s - %s"), + inname, bckname, strerror(errno)); + return (1); + } + + inname = bckname; + } + } + else if (strcmp(locale, "en")) + { + // Save this PPD for later processing... + cupsArrayAdd(ppds, ppd); + } + else + { + // Don't need this PPD... + _cupsLangPrintf(stderr, _("ppdmerge: Ignoring PPD file %s."), + argv[i]); + ppdClose(ppd); + } + + // Close and move on... + cupsFileClose(infile); + } + + // If no PPDs have been loaded, display the program usage message. + if (!inname) + usage(); + + // Loop through the PPD files we loaded to generate a new language list... + if (!languages) + languages = cupsArrayNew((cups_array_func_t)strcmp, NULL); + + for (ppd = (ppd_file_t *)cupsArrayFirst(ppds); + ppd; + ppd = (ppd_file_t *)cupsArrayNext(ppds)) + { + locale = ppd_locale(ppd); + + if (cupsArrayFind(languages, (void *)locale)) + { + // Already have this language, remove the PPD from the list. + ppdClose(ppd); + cupsArrayRemove(ppds, ppd); + } + else + cupsArrayAdd(languages, (void *)locale); + } + + // Copy the English PPD starting with a cupsLanguages line... + infile = cupsFileOpen(inname, "r"); + + if (outname) + { + const char *ext = strrchr(outname, '.'); + if (ext && !strcmp(ext, ".gz")) + outfile = cupsFileOpen(outname, "w9"); + else + outfile = cupsFileOpen(outname, "w"); + } + else + outfile = cupsFileStdout(); + + cupsFileGets(infile, line, sizeof(line)); + cupsFilePrintf(outfile, "%s\n", line); + if ((locale = (char *)cupsArrayFirst(languages)) != NULL) + { + cupsFilePrintf(outfile, "*cupsLanguages: \"%s", locale); + while ((locale = (char *)cupsArrayNext(languages)) != NULL) + cupsFilePrintf(outfile, " %s", locale); + cupsFilePuts(outfile, "\"\n"); + } + + while (cupsFileGets(infile, line, sizeof(line))) + { + if (strncmp(line, "*cupsLanguages:", 15)) + cupsFilePrintf(outfile, "%s\n", line); + } + + // Loop through the other PPD files we loaded to provide the translations... + for (ppd = (ppd_file_t *)cupsArrayFirst(ppds); + ppd; + ppd = (ppd_file_t *)cupsArrayNext(ppds)) + { + // Output all of the UI text for this language... + int j, k, l; // Looping vars + ppd_group_t *g; // Option group + ppd_option_t *o; // Option + ppd_choice_t *c; // Choice + ppd_coption_t *co; // Custom option + ppd_cparam_t *cp; // Custom parameter + ppd_attr_t *attr; // PPD attribute + + locale = ppd_locale(ppd); + + cupsFilePrintf(outfile, "*%% %s localization\n", ppd->lang_version); + cupsFilePrintf(outfile, "*%s.Translation ModelName/%s: \"\"\n", locale, + ppd->modelname); + + for (j = ppd->num_groups, g = ppd->groups; j > 0; j --, g ++) + { + cupsFilePrintf(outfile, "*%s.Translation %s/%s: \"\"\n", locale, + g->name, g->text); + + for (k = g->num_options, o = g->options; k > 0; k --, o ++) + { + cupsFilePrintf(outfile, "*%s.Translation %s/%s: \"\"\n", locale, + o->keyword, o->text); + + for (l = o->num_choices, c = o->choices; l > 0; l --, c ++) + cupsFilePrintf(outfile, "*%s.%s %s/%s: \"\"\n", locale, + o->keyword, c->choice, c->text); + + if ((co = ppdFindCustomOption(ppd, o->keyword)) != NULL) + { + snprintf(line, sizeof(line), "Custom%s", o->keyword); + attr = ppdFindAttr(ppd, line, "True"); + cupsFilePrintf(outfile, "*%s.Custom%s True/%s: \"\"\n", locale, + o->keyword, attr->text); + for (cp = ppdFirstCustomParam(co); cp; cp = ppdNextCustomParam(co)) + cupsFilePrintf(outfile, "*%s.ParamCustom%s %s/%s: \"\"\n", locale, + o->keyword, cp->name, cp->text); + } + } + } + + ppdClose(ppd); + } + + cupsArrayDelete(ppds); + + cupsFileClose(outfile); + + // Return with no errors. + return (0); +} + + +// +// 'ppd_locale()' - Return the locale associated with a PPD file. +// + +static const char * // O - Locale string +ppd_locale(ppd_file_t *ppd) // I - PPD file +{ + int i; // Looping var + size_t vlen; // Length of LanguageVersion string + static char locale[255]; // Locale string + static struct // LanguageVersion translation table + { + const char *version, // LanguageVersion string */ + *language; // Language code */ + } languages[] = + { + { "chinese", "zh" }, + { "czech", "cs" }, + { "danish", "da" }, + { "dutch", "nl" }, + { "english", "en" }, + { "finnish", "fi" }, + { "french", "fr" }, + { "german", "de" }, + { "greek", "el" }, + { "hungarian", "hu" }, + { "italian", "it" }, + { "japanese", "ja" }, + { "korean", "ko" }, + { "norwegian", "no" }, + { "polish", "pl" }, + { "portuguese", "pt" }, + { "russian", "ru" }, + { "simplified chinese", "zh_CN" }, + { "slovak", "sk" }, + { "spanish", "es" }, + { "swedish", "sv" }, + { "traditional chinese", "zh_TW" }, + { "turkish", "tr" } + }; + + + for (i = 0; i < (int)(sizeof(languages) / sizeof(languages[0])); i ++) + { + vlen = strlen(languages[i].version); + + if (!_cups_strncasecmp(ppd->lang_version, languages[i].version, vlen)) + { + if (ppd->lang_version[vlen] == '-' || + ppd->lang_version[vlen] == '_') + snprintf(locale, sizeof(locale), "%s_%s", languages[i].language, + ppd->lang_version + vlen + 1); + else + strlcpy(locale, languages[i].language, sizeof(locale)); + + return (locale); + } + } + + return (NULL); +} + +// +// 'usage()' - Show usage and exit. +// + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: ppdmerge [options] filename.ppd [ ... " + "filenameN.ppd ]")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _(" -o filename.ppd[.gz] Set output file " + "(otherwise stdout).")); + + exit(1); +} diff --git a/ppdc/ppdpo.cxx b/ppdc/ppdpo.cxx new file mode 100644 index 0000000..244aaf1 --- /dev/null +++ b/ppdc/ppdpo.cxx @@ -0,0 +1,251 @@ +// +// PPD file message catalog program for the CUPS PPD Compiler. +// +// Copyright 2007-2015 by Apple Inc. +// Copyright 2002-2005 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" +#include +#include + + +// +// Local functions... +// + +static void add_ui_strings(ppdcDriver *d, ppdcCatalog *catalog); +static void usage(void); + + +// +// 'main()' - Main entry for the PPD compiler. +// + +int // O - Exit status +main(int argc, // I - Number of command-line arguments + char *argv[]) // I - Command-line arguments +{ + int i; // Looping var + ppdcCatalog *catalog; // Message catalog + ppdcSource *src; // PPD source file data + ppdcDriver *d; // Current driver + char *opt; // Current option + int verbose; // Verbosity + const char *outfile; // Output file + char *value; // Value in option + + + _cupsSetLocale(argv); + + // Scan the command-line... + catalog = new ppdcCatalog("en"); + src = new ppdcSource(); + verbose = 0; + outfile = 0; + + for (i = 1; i < argc; i ++) + if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + switch (*opt) + { + case 'D' : // Define variable + i ++; + if (i >= argc) + usage(); + + if ((value = strchr(argv[i], '=')) != NULL) + { + *value++ = '\0'; + + src->set_variable(argv[i], value); + } + else + src->set_variable(argv[i], "1"); + break; + + case 'I' : // Include directory... + i ++; + if (i >= argc) + usage(); + + if (verbose > 1) + _cupsLangPrintf(stdout, + _("ppdc: Adding include directory \"%s\"."), + argv[i]); + + ppdcSource::add_include(argv[i]); + break; + + case 'o' : // Output file... + i ++; + if (i >= argc || outfile) + usage(); + + outfile = argv[i]; + + catalog->load_messages(outfile); + break; + + case 'v' : // Be verbose... + verbose ++; + break; + + default : // Unknown + usage(); + break; + } + } + else + { + // Open and load the driver info file... + if (verbose > 1) + _cupsLangPrintf(stdout, + _("ppdc: Loading driver information file \"%s\"."), + argv[i]); + + src->read_file(argv[i]); + } + + // If no drivers have been loaded, display the program usage message. + if ((d = (ppdcDriver *)src->drivers->first()) != NULL) + { + // Add UI strings... + while (d != NULL) + { + if (verbose) + _cupsLangPrintf(stderr, _("ppdc: Adding/updating UI text from %s."), argv[i]); + + add_ui_strings(d, catalog); + + d = (ppdcDriver *)src->drivers->next(); + } + } + else + usage(); + + // Delete the printer driver information... + src->release(); + + // Write the message catalog... + if (!outfile) + usage(); + else + catalog->save_messages(outfile); + + catalog->release(); + + // Return with no errors. + return (0); +} + + +// +// 'add_ui_strings()' - Add all UI strings from the driver. +// + +static void +add_ui_strings(ppdcDriver *d, // I - Driver data + ppdcCatalog *catalog) // I - Message catalog +{ + // Add the make/model/language strings... + catalog->add_message(d->manufacturer->value); + catalog->add_message(d->model_name->value); + + // Add the media size strings... + ppdcMediaSize *m; // Current media size + + for (m = (ppdcMediaSize *)d->sizes->first(); + m; + m = (ppdcMediaSize *)d->sizes->next()) + catalog->add_message(m->text->value); + + // Add the group/option/choice strings... + ppdcGroup *g; // Current group + ppdcOption *o; // Current option + ppdcChoice *c; // Current choice + + for (g = (ppdcGroup *)d->groups->first(); + g; + g = (ppdcGroup *)d->groups->next()) + { + if (!g->options->count) + continue; + + if (_cups_strcasecmp(g->name->value, "General")) + catalog->add_message(g->text->value); + + for (o = (ppdcOption *)g->options->first(); + o; + o = (ppdcOption *)g->options->next()) + { + if (!o->choices->count) + continue; + + if (o->text->value) + catalog->add_message(o->text->value); + else + catalog->add_message(o->name->value); + + for (c = (ppdcChoice *)o->choices->first(); + c; + c = (ppdcChoice *)o->choices->next()) + if (c->text->value) + catalog->add_message(c->text->value); + else + catalog->add_message(c->name->value); + } + } + + // Add profile and preset strings... + ppdcAttr *a; // Current attribute + for (a = (ppdcAttr *)d->attrs->first(); + a; + a = (ppdcAttr *)d->attrs->next()) + if (a->text->value && a->text->value[0] && + (a->localizable || + !strncmp(a->name->value, "Custom", 6) || + !strncmp(a->name->value, "ParamCustom", 11) || + !strcmp(a->name->value, "APCustomColorMatchingName") || + !strcmp(a->name->value, "APPrinterPreset") || + !strcmp(a->name->value, "cupsICCProfile") || + !strcmp(a->name->value, "cupsIPPReason") || + !strcmp(a->name->value, "cupsMarkerName"))) + { + catalog->add_message(a->text->value); + + if ((a->localizable && a->value->value[0]) || + !strcmp(a->name->value, "cupsIPPReason")) + catalog->add_message(a->value->value); + } + else if (!strncmp(a->name->value, "Custom", 6) || + !strncmp(a->name->value, "ParamCustom", 11)) + catalog->add_message(a->name->value); +} + + +// +// 'usage()' - Show usage and exit. +// + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: ppdpo [options] -o filename.po filename.drv " + "[ ... filenameN.drv ]")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _(" -D name=value Set named variable to " + "value.")); + _cupsLangPuts(stdout, _(" -I include-dir Add include directory to " + "search path.")); + _cupsLangPuts(stdout, _(" -v Be verbose.")); + + exit(1); +} diff --git a/ppdc/sample.drv b/ppdc/sample.drv new file mode 100644 index 0000000..148cf0f --- /dev/null +++ b/ppdc/sample.drv @@ -0,0 +1,1168 @@ +// +// Driver info file for CUPS-supplied PPDs. +// +// Copyright © 2007-2019 by Apple Inc. +// Copyright © 1993-2006 by Easy Software Products. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more +// information. +// + +// Include necessary files... +#include +#include +#include +#include +#include + +// Localizations are provided for all of the base languages supported by +// CUPS... +#po ar "" +#po ca "" +#po cs "" +#po da "" +#po de "" +#po el "" +#po es "" +#po fi "" +#po fr "" +#po he "" +#po hr "" +#po hu "" +#po id "" +#po it "" +#po ja "" +#po ko "" +#po ms "" +#po no "" +#po pl "" +#po pt "" +#po pt_PT "" +#po ro "" +#po ru "" +#po sk "" +#po sv "" +#po th "" +#po tr "" +#po uk "" +#po vi "" +#po zh_CN "" +#po zh_TW "" + +// MediaSize sizes used by label drivers... +#media "w90h18/1.25x0.25\"" 90 18 +#media "w90h162/1.25x2.25\"" 90 162 +#media "w108h18/1.50x0.25\"" 108 18 +#media "w108h36/1.50x0.50\"" 108 36 +#media "w108h72/1.50x1.00\"" 108 72 +#media "w108h144/1.50x2.00\"" 108 144 +#media "w144h26/2.00x0.37\"" 144 26 +#media "w144h36/2.00x0.50\"" 144 36 +#media "w144h72/2.00x1.00\"" 144 72 +#media "w144h90/2.00x1.25\"" 144 90 +#media "w144h144/2.00x2.00\"" 144 144 +#media "w144h216/2.00x3.00\"" 144 216 +#media "w144h288/2.00x4.00\"" 144 288 +#media "w144h396/2.00x5.50\"" 144 396 +#media "w162h36/2.25x0.50\"" 162 36 +#media "w162h90/2.25x1.25\"" 162 90 +#media "w162h225/30859 Paint Can Label" 162 225 +#media "w162h288/2.25x4.00\"" 162 288 +#media "w162h396/2.25x5.50\"" 162 396 +#media "w171h396/2.38x5.50\"" 171 396 +#media "w180h72/2.50x1.00\"" 180 72 +#media "w180h144/2.50x2.00\"" 180 144 +#media "w198h90/2.75x1.25\"" 198 90 +#media "w209h72/2.9 x 1\"" 209 72 +#media "w216h72/3.00x1.00\"" 216 72 +#media "w216h90/3.00x1.25\"" 216 90 +#media "w216h144/3.00x2.00\"" 216 144 +#media "w216h216/3.00x3.00\"" 216 216 +#media "w216h360/3.00x5.00\"" 216 360 +#media "w234h144/3.25x2.00\"" 234 144 +#media "w234h360/3.25x5.00\"" 234 360 +#media "w234h396/3.25x5.50\"" 234 396 +#media "w234h419/3.25x5.83\"" 234 419 +#media "w234h563/3.25x7.83\"" 234 563 +#media "w252h72/3.50x1.00\"" 252 72 +#media "w288h72/4.00x1.00\"" 288 72 +#media "w288h144/4.00x2.00\"" 288 144 +#media "w288h180/4.00x2.50\"" 288 180 +#media "w288h216/4.00x3.00\"" 288 216 +#media "w288h288/4.00x4.00\"" 288 288 +#media "w288h360/4.00x5.00\"" 288 360 +#media "w288h432/4.00x6.00\"" 288 432 +#media "w288h468/4.00x6.50\"" 288 468 +#media "w288h936/4.00x13.00\"" 288 936 +#media "w432h72/6.00x1.00\"" 432 72 +#media "w432h144/6.00x2.00\"" 432 144 +#media "w432h216/6.00x3.00\"" 432 216 +#media "w432h288/6.00x4.00\"" 432 288 +#media "w432h360/6.00x5.00\"" 432 360 +#media "w432h432/6.00x6.00\"" 432 432 +#media "w432h468/6.00x6.50\"" 432 468 +#media "w576h72/8.00x1.00\"" 576 72 +#media "w576h144/8.00x2.00\"" 576 144 +#media "w576h216/8.00x3.00\"" 576 216 +#media "w576h288/8.00x4.00\"" 576 288 +#media "w576h360/8.00x5.00\"" 576 360 +#media "w576h432/8.00x6.00\"" 576 432 +#media "w576h468/8.00x6.50\"" 576 468 + +// Common stuff for all drivers... +Attribute "cupsVersion" "" "2.3" +Attribute "FileSystem" "" "False" +Attribute "LandscapeOrientation" "" "Plus90" +Attribute "TTRasterizer" "" "Type42" + +Copyright "Copyright (c) 2007-2019 by Apple Inc." +Copyright "Copyright (c) 1997-2007 by Easy Software Products." +Copyright "" +Copyright "Licensed under Apache License v2.0. See the file \"LICENSE\" for more" +Copyright "information." + +Font * + +Version "2.3" + +// DYMO Label Printer +{ + Manufacturer "DYMO" + ModelName "Label Printer" + Attribute NickName "" "DYMO Label Printer" + PCFileName "dymo.ppd" + DriverType label + ModelNumber $DYMO_3x0 + Throughput 8 + ManualCopies Yes + ColorDevice No + Attribute "cupsSNMPSupplies" "" "false" + + HWMargins 2 14.9 2 14.9 + + *MediaSize w81h252 + MediaSize w101h252 + MediaSize w54h144 + MediaSize w162h225 + MediaSize w162h288 + MediaSize w162h540 + MediaSize w162h504 + MediaSize w41h248 + MediaSize w41h144 + MediaSize w153h198 + + Resolution k 1 0 0 0 136dpi + Resolution k 1 0 0 0 203dpi + *Resolution k 1 0 0 0 300dpi + + *InputSlot 0 "Roll/Main Roll" + InputSlot 1 "Roll2/Second Roll (DUO/Twin Only)" + + Darkness 0 Light + Darkness 1 Medium + *Darkness 2 Normal + Darkness 3 Dark +} + +// Epson +{ + Manufacturer "Epson" + DriverType epson + ManualCopies Yes + ColorDevice No + Throughput 1 + + HWMargins 0 0 0 0 + VariablePaperSize Yes + MinSize 36 36 + MaxSize 1080 86400 + + // Epson 24-Pin Series + { + ModelName "24-Pin Series" + Attribute NickName "" "Epson 24-Pin Series" + PCFileName "epson24.ppd" + ModelNumber $EPSON_24PIN + + HWMargins 18 18 18 18 + *MediaSize Letter + MediaSize Legal + MediaSize A4 + MediaSize FanFoldUS + + Resolution k 1 8 0 0 60dpi + *Resolution k 1 8 0 0 120x60dpi + Resolution k 1 24 0 0 180dpi + Resolution k 1 24 0 0 360x180dpi + Resolution k 1 48 0 0 360dpi + } + + // Epson 9-Pin Series + { + ModelName "9-Pin Series" + Attribute NickName "" "Epson 9-Pin Series" + PCFileName "epson9.ppd" + ModelNumber $EPSON_9PIN + ColorDevice No + + HWMargins 18 18 18 18 + *MediaSize Letter + MediaSize Legal + MediaSize A4 + MediaSize FanFoldUS + + Resolution k 1 8 0 0 60x72dpi + *Resolution k 1 8 0 0 120x72dpi + Resolution k 1 8 0 0 240x72dpi + } +} + +// Generic drivers +{ + Manufacturer "Generic" + + // Generic PCL Laser Printer + { + DriverType hp + + ModelName "PCL Laser Printer" + Attribute NickName "" "Generic PCL Laser Printer" + PCFileName "generpcl.ppd" + Throughput 8 + ModelNumber $HP_LASERJET + ColorDevice No + Attribute 1284DeviceID "" "CMD:PCL;" + + UIConstraints "*Duplex *Option1 False" + UIConstraints "*PageSize A3 *InputSlot Envelope" + UIConstraints "*PageSize A4 *InputSlot Envelope" + UIConstraints "*PageSize A5 *InputSlot Envelope" + UIConstraints "*PageSize B5 *InputSlot Envelope" + UIConstraints "*PageSize Executive *InputSlot Envelope" + UIConstraints "*PageSize Legal *InputSlot Envelope" + UIConstraints "*PageSize Letter *InputSlot Envelope" + UIConstraints "*PageSize Tabloid *InputSlot Envelope" + + HWMargins 18 12 18 12 + *MediaSize Letter + MediaSize Legal + MediaSize Executive + MediaSize Tabloid + MediaSize A3 + MediaSize A4 + MediaSize A5 + MediaSize B5 + MediaSize EnvISOB5 + MediaSize Env10 + MediaSize EnvC5 + MediaSize EnvDL + MediaSize EnvMonarch + + *Resolution k 1 0 0 0 300dpi + Resolution k 1 0 0 0 600dpi + + *InputSlot 0 "Default/Printer Default" + InputSlot 8 "Tray1/Tray 1" + InputSlot 1 "Tray2/Tray 2" + InputSlot 4 "Tray3/Tray 3" + InputSlot 5 "Tray4/Tray 4" + InputSlot 2 "Manual/Manual Feed" + InputSlot 3 "Envelope/Envelope Feed" + + Duplex Yes + Installable "Option1/Duplexer" + } + + // Generic PostScript Printer + { + DriverType ps + + ModelName "PostScript Printer" + Attribute NickName "" "Generic PostScript Printer" + PCFileName "generic.ppd" + Throughput 8 + ColorDevice Yes + Attribute PSVersion "" "(2016.0) 0" + Attribute LanguageLevel "" 2 + Attribute 1284DeviceID "" "CMD:PS;" + + UIConstraints "*Duplex *Option1 False" + + HWMargins 12 12 12 12 + *MediaSize Letter + MediaSize Legal + MediaSize Executive + MediaSize Tabloid + MediaSize A3 + MediaSize A4 + MediaSize A5 + MediaSize B5 + MediaSize EnvISOB5 + MediaSize Env10 + MediaSize EnvC5 + MediaSize EnvDL + MediaSize EnvMonarch + + Option "InputSlot/Media Source" PickOne AnySetup 10 + *Choice "Default/Printer Default" "" + Choice "Upper/Cassette" "<>setpagedevice" + Choice "Manual/Manual Feed" "<>setpagedevice" + + Duplex Yes + Installable "Option1/Duplexer" + Attribute "?Option1" "" "save currentpagedevice/Duplex known{(True)}{(False)}ifelse = flush restore" + } +} + +// HP +{ + Manufacturer "HP" + DriverType hp + + // HP DeskJet Series + { + ModelName "DeskJet Series" + Attribute NickName "" "HP DeskJet Series" + PCFileName "deskjet.ppd" + ModelNumber $HP_DESKJET + ManualCopies Yes + ColorDevice Yes + Throughput 1 + Attribute 1284DeviceID "" "MFG:HP;MDL:HP DeskJet;CMD:PCL;" + + UIConstraints "*PageSize A3 *InputSlot Envelope" + UIConstraints "*PageSize A4 *InputSlot Envelope" + UIConstraints "*PageSize A5 *InputSlot Envelope" + UIConstraints "*PageSize B5 *InputSlot Envelope" + UIConstraints "*PageSize Executive *InputSlot Envelope" + UIConstraints "*PageSize Legal *InputSlot Envelope" + UIConstraints "*PageSize Letter *InputSlot Envelope" + UIConstraints "*PageSize Tabloid *InputSlot Envelope" + + HWMargins 18 36 18 36 + *MediaSize Letter + MediaSize Legal + MediaSize Executive + MediaSize Tabloid + MediaSize A3 + MediaSize A4 + MediaSize A5 + MediaSize B5 + MediaSize EnvISOB5 + MediaSize Env10 + MediaSize EnvC5 + MediaSize EnvDL + MediaSize EnvMonarch + + ColorModel Gray/Grayscale k chunky 2 + ColorModel RGB/Color cmy banded 2 + *ColorModel CMYK kcmy banded 2 + + Resolution - 1 0 0 0 150dpi + *Resolution - 1 0 0 0 300dpi + Resolution - 1 0 0 0 600dpi + + *InputSlot 1 Tray + InputSlot 2 "Manual/Manual Feed" + InputSlot 3 "Envelope/Envelope Feed" + + *MediaType 0 "Plain/Plain Paper" + MediaType 1 "Bond/Bond Paper" + MediaType 2 "Special/Special Paper" + MediaType 3 Transparency + MediaType 4 "Glossy/Glossy Paper" + } + + // HP LaserJet Series PCL 4/5 + { + ModelName "LaserJet Series PCL 4/5" + Attribute NickName "" "HP LaserJet Series PCL 4/5" + PCFileName "laserjet.ppd" + Throughput 8 + ModelNumber $HP_LASERJET + ColorDevice No + Attribute 1284DeviceID "" "MFG:HP;MDL:HP LaserJet;CMD:PCL;" + + UIConstraints "*Duplex *Option1 False" + UIConstraints "*PageSize A3 *InputSlot Envelope" + UIConstraints "*PageSize A4 *InputSlot Envelope" + UIConstraints "*PageSize A5 *InputSlot Envelope" + UIConstraints "*PageSize B5 *InputSlot Envelope" + UIConstraints "*PageSize Executive *InputSlot Envelope" + UIConstraints "*PageSize Legal *InputSlot Envelope" + UIConstraints "*PageSize Letter *InputSlot Envelope" + UIConstraints "*PageSize Tabloid *InputSlot Envelope" + + HWMargins 18 36 18 36 + *MediaSize Letter + MediaSize Legal + MediaSize Executive + MediaSize Tabloid + MediaSize A3 + MediaSize A4 + MediaSize A5 + MediaSize B5 + MediaSize EnvISOB5 + MediaSize Env10 + MediaSize EnvC5 + MediaSize EnvDL + MediaSize EnvMonarch + + Resolution k 1 0 0 0 150dpi + *Resolution k 1 0 0 0 300dpi + Resolution k 1 0 0 0 600dpi + + *InputSlot 0 "Default/Printer Default" + InputSlot 8 "Tray1/Tray 1" + InputSlot 1 "Tray2/Tray 2" + InputSlot 4 "Tray3/Tray 3" + InputSlot 5 "Tray4/Tray 4" + InputSlot 2 "Manual/Manual Feed" + InputSlot 3 "Envelope/Envelope Feed" + + Duplex Yes + Installable "Option1/Duplexer" + } +} + +// Intellitech IntelliBar Series Label Printer +{ + Manufacturer "Intellitech" + ModelName "IntelliBar Label Printer" + Attribute ShortNickName "" "IntelliBar Label Printer" + PCFileName "intelbar.ppd" + DriverType label + ModelNumber $INTELLITECH_PCL + Throughput 8 + ColorDevice No + Attribute "cupsSNMPSupplies" "" "false" + + HWMargins 0 5.76 0 5.76 + VariablePaperSize Yes + MinSize 36 36 + MaxSize 630 7128 + + UIConstraints "*inPrintMode Standard *inCutInterval" + UIConstraints "*inPrintMode Tear *inCutInterval" + UIConstraints "*inPrintMode Standard *inTearInterval" + UIConstraints "*inPrintMode Cut *inTearInterval" + + *MediaSize w288h432 + + *Resolution k 1 0 0 0 300dpi + + Group "PrinterSettings/Printer Settings" + Option "inPrintDensity/Print Density" PickOne DocumentSetup 20.0 + *Choice "Default/Printer Default" "<>setpagedevice" + Choice "-15/-15" "<>setpagedevice" + Choice "-14/-14" "<>setpagedevice" + Choice "-13/-13" "<>setpagedevice" + Choice "-12/-12" "<>setpagedevice" + Choice "-11/-11" "<>setpagedevice" + Choice "-10/-10" "<>setpagedevice" + Choice "-9/-9" "<>setpagedevice" + Choice "-8/-8" "<>setpagedevice" + Choice "-7/-7" "<>setpagedevice" + Choice "-6/-6" "<>setpagedevice" + Choice "-5/-5" "<>setpagedevice" + Choice "-4/-4" "<>setpagedevice" + Choice "-3/-3" "<>setpagedevice" + Choice "-2/-2" "<>setpagedevice" + Choice "-1/-1" "<>setpagedevice" + Choice "0/0" "<>setpagedevice" + Choice "1/1" "<>setpagedevice" + Choice "2/2" "<>setpagedevice" + Choice "3/3" "<>setpagedevice" + Choice "4/4" "<>setpagedevice" + Choice "5/5" "<>setpagedevice" + Choice "6/6" "<>setpagedevice" + Choice "7/7" "<>setpagedevice" + Choice "8/8" "<>setpagedevice" + Choice "9/9" "<>setpagedevice" + Choice "10/10" "<>setpagedevice" + Choice "11/11" "<>setpagedevice" + Choice "12/12" "<>setpagedevice" + Choice "13/13" "<>setpagedevice" + Choice "14/14" "<>setpagedevice" + Choice "15/15" "<>setpagedevice" + Option "inPrintRate/Print Speed" PickOne DocumentSetup 20.0 + *Choice "Default/Printer Default" "<>setpagedevice" + Choice "15/15 mm/sec." "<>setpagedevice" + Choice "20/20 mm/sec." "<>setpagedevice" + Choice "30/30 mm/sec." "<>setpagedevice" + Choice "40/40 mm/sec." "<>setpagedevice" + Choice "60/60 mm/sec." "<>setpagedevice" + Choice "80/80 mm/sec." "<>setpagedevice" + Choice "100/100 mm/sec." "<>setpagedevice" + Choice "120/120 mm/sec." "<>setpagedevice" + Choice "150/150 mm/sec." "<>setpagedevice" + Choice "200/200 mm/sec." "<>setpagedevice" + Choice "250/250 mm/sec." "<>setpagedevice" + Choice "300/300 mm/sec." "<>setpagedevice" + Option "inPrintMode/Print Mode" PickOne DocumentSetup 20.0 + *Choice "Standard/Standard" "" + Choice "Tear/Tear" "" + Choice "Cut/Cut" "" + Option "inTearInterval/Print and Tear" PickOne DocumentSetup 20.0 + *Choice "None/Disabled" "<>setpagedevice" + Choice "1/Every Label" "<>setpagedevice" + Choice "2/Every 2 Labels" "<>setpagedevice" + Choice "3/Every 3 Labels" "<>setpagedevice" + Choice "4/Every 4 Labels" "<>setpagedevice" + Choice "5/Every 5 Labels" "<>setpagedevice" + Choice "6/Every 6 Labels" "<>setpagedevice" + Choice "7/Every 7 Labels" "<>setpagedevice" + Choice "8/Every 8 Labels" "<>setpagedevice" + Choice "9/Every 9 Labels" "<>setpagedevice" + Choice "10/Every 10 Labels" "<>setpagedevice" + Attribute CustominTearInterval True "<>setpagedevice" + Attribute ParamCustominTearInterval Interval "1 int 1 99" + Option "inCutInterval/Print and Cut" PickOne DocumentSetup 20.0 + *Choice "None/Disabled" "<>setpagedevice" + Choice "1/Every Label" "<>setpagedevice" + Choice "2/Every 2 Labels" "<>setpagedevice" + Choice "3/Every 3 Labels" "<>setpagedevice" + Choice "4/Every 4 Labels" "<>setpagedevice" + Choice "5/Every 5 Labels" "<>setpagedevice" + Choice "6/Every 6 Labels" "<>setpagedevice" + Choice "7/Every 7 Labels" "<>setpagedevice" + Choice "8/Every 8 Labels" "<>setpagedevice" + Choice "9/Every 9 Labels" "<>setpagedevice" + Choice "10/Every 10 Labels" "<>setpagedevice" + Attribute CustominCutInterval True "<>setpagedevice" + Attribute ParamCustominCutInterval Interval "1 int 1 99" +} + +// Oki +{ + Manufacturer "Oki" + DriverType epson + ManualCopies Yes + ColorDevice No + Throughput 1 + + HWMargins 18 18 18 18 + *MediaSize Letter + MediaSize Legal + MediaSize A4 + MediaSize FanFoldUS + + HWMargins 0 0 0 0 + VariablePaperSize Yes + MinSize 36 36 + MaxSize 1080 86400 + + // Oki 24-Pin Series + { + ModelName "24-Pin Series" + Attribute NickName "" "Oki 24-Pin Series" + PCFileName "okidat24.ppd" + ModelNumber $EPSON_24PIN + + Resolution k 1 8 0 0 60dpi + *Resolution k 1 8 0 0 120x60dpi + Resolution k 1 24 0 0 180dpi + Resolution k 1 24 0 0 360x180dpi + Resolution k 1 48 0 0 360dpi + } + + // Oki 9-Pin Series + { + ModelName "9-Pin Series" + Attribute NickName "" "Oki 9-Pin Series" + PCFileName "okidata9.ppd" + ModelNumber $EPSON_9PIN + ColorDevice No + + Resolution k 1 8 0 0 60x72dpi + *Resolution k 1 8 0 0 120x72dpi + Resolution k 1 8 0 0 240x72dpi + } +} + + +// Zebra +{ + Manufacturer "Zebra" + DriverType label + Throughput 8 + ColorDevice False + Attribute "cupsSNMPSupplies" "" "false" + + // Zebra CPCL Label Printer + { + ModelName "CPCL Label Printer" + Attribute NickName "" "Zebra CPCL Label Printer" + PCFileName "zebracpl.ppd" + ModelNumber $ZEBRA_CPCL + + HWMargins 0 0 0 0 + MediaSize w144h72 + MediaSize w144h90 + MediaSize w144h144 + MediaSize w144h216 + MediaSize w209h72 + + HWMargins 0 0 1 0 + MediaSize w288h144 + MediaSize w288h216 + MediaSize w288h288 + *MediaSize w288h360 + MediaSize w288h432 + + VariablePaperSize Yes + HWMargins 0 0 1 0 + MinSize 36 36 + MaxSize 288 3600 + + *Resolution k 1 0 0 0 203dpi + + Group "General/General" + Option "zeMediaTracking/Media Tracking" PickOne AnySetup 20.0 + Choice "Continuous/Continuous" "" + *Choice "Web/Non-continuous (Web sensing)" "" + Choice "Mark/Non-continuous (Mark sensing)" "" + + Group "PrinterSettings/Printer Settings" + Option "Darkness" PickOne AnySetup 20.0 + *Choice "-1/Printer Default" "<>setpagedevice" + Choice "1/1" "<>setpagedevice" + Choice "2/2" "<>setpagedevice" + Choice "3/3" "<>setpagedevice" + Choice "4/4" "<>setpagedevice" + Choice "5/5" "<>setpagedevice" + Choice "6/6" "<>setpagedevice" + Choice "7/7" "<>setpagedevice" + Choice "8/8" "<>setpagedevice" + Choice "9/9" "<>setpagedevice" + Choice "10/10" "<>setpagedevice" + Choice "11/11" "<>setpagedevice" + Choice "12/12" "<>setpagedevice" + Choice "13/13" "<>setpagedevice" + Choice "14/14" "<>setpagedevice" + Choice "15/15" "<>setpagedevice" + Choice "16/16" "<>setpagedevice" + Choice "17/17" "<>setpagedevice" + Choice "18/18" "<>setpagedevice" + Choice "19/19" "<>setpagedevice" + Choice "20/20" "<>setpagedevice" + Choice "21/21" "<>setpagedevice" + Choice "22/22" "<>setpagedevice" + Choice "23/23" "<>setpagedevice" + Choice "24/24" "<>setpagedevice" + Choice "25/25" "<>setpagedevice" + Choice "26/26" "<>setpagedevice" + Choice "27/27" "<>setpagedevice" + Choice "28/28" "<>setpagedevice" + Choice "29/29" "<>setpagedevice" + Choice "30/30" "<>setpagedevice" + Option "zePrintRate/Print Rate" PickOne AnySetup 20.0 + *Choice "Default/Printer Default" "" + Choice "1/1 inch/sec." "" + Choice "2/2 inches/sec." "" + Choice "3/3 inches/sec." "" + Choice "4/4 inches/sec." "" + Option "zeTearOffPosition/Tear-Off Adjust Position" PickOne AnySetup 20.0 + *Choice "1000/Printer Default" "<>setpagedevice" + Choice "-120/-120" "<>setpagedevice" + Choice "-115/-115" "<>setpagedevice" + Choice "-110/-110" "<>setpagedevice" + Choice "-105/-105" "<>setpagedevice" + Choice "-100/-100" "<>setpagedevice" + Choice "-95/-95" "<>setpagedevice" + Choice "-90/-90" "<>setpagedevice" + Choice "-85/-85" "<>setpagedevice" + Choice "-80/-80" "<>setpagedevice" + Choice "-75/-75" "<>setpagedevice" + Choice "-70/-70" "<>setpagedevice" + Choice "-65/-65" "<>setpagedevice" + Choice "-60/-60" "<>setpagedevice" + Choice "-55/-55" "<>setpagedevice" + Choice "-50/-50" "<>setpagedevice" + Choice "-45/-45" "<>setpagedevice" + Choice "-40/-40" "<>setpagedevice" + Choice "-35/-35" "<>setpagedevice" + Choice "-30/-30" "<>setpagedevice" + Choice "-25/-25" "<>setpagedevice" + Choice "-20/-20" "<>setpagedevice" + Choice "-15/-15" "<>setpagedevice" + Choice "-10/-10" "<>setpagedevice" + Choice "-5/-5" "<>setpagedevice" + Choice "0/0" "<>setpagedevice" + Choice "5/5" "<>setpagedevice" + Choice "10/10" "<>setpagedevice" + Choice "15/15" "<>setpagedevice" + Choice "20/20" "<>setpagedevice" + Choice "25/25" "<>setpagedevice" + Choice "30/30" "<>setpagedevice" + Choice "35/35" "<>setpagedevice" + Choice "40/40" "<>setpagedevice" + Choice "45/45" "<>setpagedevice" + Choice "50/50" "<>setpagedevice" + Choice "55/55" "<>setpagedevice" + Choice "60/60" "<>setpagedevice" + Choice "65/65" "<>setpagedevice" + Choice "70/70" "<>setpagedevice" + Choice "75/75" "<>setpagedevice" + Choice "80/80" "<>setpagedevice" + Choice "85/85" "<>setpagedevice" + Choice "90/90" "<>setpagedevice" + Choice "95/95" "<>setpagedevice" + Choice "100/100" "<>setpagedevice" + Choice "105/105" "<>setpagedevice" + Choice "110/110" "<>setpagedevice" + Choice "115/115" "<>setpagedevice" + Choice "120/120" "<>setpagedevice" + Option "zeErrorReprint/Reprint After Error" PickOne AnySetup 20.0 + *Choice "Saved/Printer Default" "" + Choice "Always/Always" "" + Choice "Never/Never" "" + } + + // Zebra EPL1 Label Printer + { + ModelName "EPL1 Label Printer" + Attribute NickName "" "Zebra EPL1 Label Printer" + PCFileName "zebraep1.ppd" + ModelNumber $ZEBRA_EPL_LINE + + HWMargins 0 0 0 0 + VariablePaperSize Yes + MinSize 36 36 + MaxSize 288 3600 + + MediaSize w90h18 + MediaSize w90h162 + MediaSize w108h18 + MediaSize w108h36 + MediaSize w108h72 + MediaSize w108h144 + MediaSize w144h26 + MediaSize w144h36 + MediaSize w144h72 + MediaSize w144h90 + MediaSize w144h288 + MediaSize w144h396 + MediaSize w162h36 + MediaSize w162h90 + MediaSize w162h288 + MediaSize w162h396 + MediaSize w171h396 + MediaSize w180h72 + MediaSize w180h144 + MediaSize w198h90 + MediaSize w216h72 + MediaSize w216h90 + MediaSize w216h144 + MediaSize w216h216 + MediaSize w216h360 + MediaSize w234h144 + MediaSize w234h360 + MediaSize w234h396 + MediaSize w234h419 + MediaSize w234h563 + MediaSize w252h72 + MediaSize w288h72 + MediaSize w288h144 + MediaSize w288h180 + MediaSize w288h216 + MediaSize w288h288 + *MediaSize w288h360 + MediaSize w288h432 + MediaSize w288h468 + MediaSize w288h936 + + *Resolution k 1 0 0 0 203dpi + Resolution k 1 0 0 0 300dpi + Resolution k 1 0 0 0 600dpi + + Group "PrinterSettings/Printer Settings" + Option "Darkness" PickOne AnySetup 20.0 + *Choice "-1/Printer Default" "<>setpagedevice" + Choice "1/1" "<>setpagedevice" + Choice "2/2" "<>setpagedevice" + Choice "3/3" "<>setpagedevice" + Choice "4/4" "<>setpagedevice" + Choice "5/5" "<>setpagedevice" + Choice "6/6" "<>setpagedevice" + Choice "7/7" "<>setpagedevice" + Choice "8/8" "<>setpagedevice" + Choice "9/9" "<>setpagedevice" + Choice "10/10" "<>setpagedevice" + Choice "11/11" "<>setpagedevice" + Choice "12/12" "<>setpagedevice" + Choice "13/13" "<>setpagedevice" + Choice "14/14" "<>setpagedevice" + Choice "15/15" "<>setpagedevice" + Choice "16/16" "<>setpagedevice" + Choice "17/17" "<>setpagedevice" + Choice "18/18" "<>setpagedevice" + Choice "19/19" "<>setpagedevice" + Choice "20/20" "<>setpagedevice" + Choice "21/21" "<>setpagedevice" + Choice "22/22" "<>setpagedevice" + Choice "23/23" "<>setpagedevice" + Choice "24/24" "<>setpagedevice" + Choice "25/25" "<>setpagedevice" + Choice "26/26" "<>setpagedevice" + Choice "27/27" "<>setpagedevice" + Choice "28/28" "<>setpagedevice" + Choice "29/29" "<>setpagedevice" + Choice "30/30" "<>setpagedevice" + Option "zePrintRate/Print Rate" PickOne AnySetup 20.0 + *Choice "Default/Printer Default" "" + Choice "1/1 inch/sec." "" + Choice "1.5/1.5 inch/sec." "" + Choice "2/2 inches/sec." "" + Choice "2.5/2.5 inches/sec." "" + } + + // Zebra EPL2 Label Printer + { + ModelName "EPL2 Label Printer" + Attribute NickName "" "Zebra EPL2 Label Printer" + PCFileName "zebraep2.ppd" + ModelNumber $ZEBRA_EPL_PAGE + + HWMargins 0 0 0 0 + VariablePaperSize Yes + MinSize 36 36 + MaxSize 288 3600 + + MediaSize w90h18 + MediaSize w90h162 + MediaSize w108h18 + MediaSize w108h36 + MediaSize w108h72 + MediaSize w108h144 + MediaSize w144h26 + MediaSize w144h36 + MediaSize w144h72 + MediaSize w144h90 + MediaSize w144h288 + MediaSize w144h396 + MediaSize w162h36 + MediaSize w162h90 + MediaSize w162h288 + MediaSize w162h396 + MediaSize w171h396 + MediaSize w180h72 + MediaSize w180h144 + MediaSize w198h90 + MediaSize w216h72 + MediaSize w216h90 + MediaSize w216h144 + MediaSize w216h216 + MediaSize w216h360 + MediaSize w234h144 + MediaSize w234h360 + MediaSize w234h396 + MediaSize w234h419 + MediaSize w234h563 + MediaSize w252h72 + MediaSize w288h72 + MediaSize w288h144 + MediaSize w288h180 + MediaSize w288h216 + MediaSize w288h288 + *MediaSize w288h360 + MediaSize w288h432 + MediaSize w288h468 + MediaSize w288h936 + + *Resolution k 1 0 0 0 203dpi + Resolution k 1 0 0 0 300dpi + Resolution k 1 0 0 0 600dpi + + Group "General/General" + Option "MediaType/Media Type" PickOne AnySetup 20.0 + *Choice "Saved/Printer Default" "" + Choice "Thermal/Thermal Transfer Media" "<>setpagedevice" + Choice "Direct/Direct Thermal Media" "<>setpagedevice" + Group "PrinterSettings/Printer Settings" + Option "Darkness" PickOne AnySetup 20.0 + *Choice "-1/Printer Default" "<>setpagedevice" + Choice "1/1" "<>setpagedevice" + Choice "2/2" "<>setpagedevice" + Choice "3/3" "<>setpagedevice" + Choice "4/4" "<>setpagedevice" + Choice "5/5" "<>setpagedevice" + Choice "6/6" "<>setpagedevice" + Choice "7/7" "<>setpagedevice" + Choice "8/8" "<>setpagedevice" + Choice "9/9" "<>setpagedevice" + Choice "10/10" "<>setpagedevice" + Choice "11/11" "<>setpagedevice" + Choice "12/12" "<>setpagedevice" + Choice "13/13" "<>setpagedevice" + Choice "14/14" "<>setpagedevice" + Choice "15/15" "<>setpagedevice" + Choice "16/16" "<>setpagedevice" + Choice "17/17" "<>setpagedevice" + Choice "18/18" "<>setpagedevice" + Choice "19/19" "<>setpagedevice" + Choice "20/20" "<>setpagedevice" + Choice "21/21" "<>setpagedevice" + Choice "22/22" "<>setpagedevice" + Choice "23/23" "<>setpagedevice" + Choice "24/24" "<>setpagedevice" + Choice "25/25" "<>setpagedevice" + Choice "26/26" "<>setpagedevice" + Choice "27/27" "<>setpagedevice" + Choice "28/28" "<>setpagedevice" + Choice "29/29" "<>setpagedevice" + Choice "30/30" "<>setpagedevice" + Option "zePrintRate/Print Rate" PickOne AnySetup 20.0 + *Choice "Default/Printer Default" "" + Choice "1/1 inch/sec." "" + Choice "1.5/1.5 inch/sec." "" + Choice "2/2 inches/sec." "" + Choice "2.5/2.5 inches/sec." "" + Choice "3/3 inches/sec." "" + Choice "4/4 inches/sec." "" + Choice "5/5 inches/sec." "" + Choice "6/6 inches/sec." "" + } + + // Zebra ZPL Label Printer + { + ModelName "ZPL Label Printer" + Attribute NickName "" "Zebra ZPL Label Printer" + PCFileName "zebra.ppd" + ModelNumber $ZEBRA_ZPL + + HWMargins 0 0 0 0 + VariablePaperSize Yes + MinSize 36 36 + MaxSize 576 3600 + + MediaSize w90h18 + MediaSize w90h162 + MediaSize w108h18 + MediaSize w108h36 + MediaSize w108h72 + MediaSize w108h144 + MediaSize w144h26 + MediaSize w144h36 + MediaSize w144h72 + MediaSize w144h90 + MediaSize w144h288 + MediaSize w144h396 + MediaSize w162h36 + MediaSize w162h90 + MediaSize w162h288 + MediaSize w162h396 + MediaSize w171h396 + MediaSize w180h72 + MediaSize w180h144 + MediaSize w198h90 + MediaSize w216h72 + MediaSize w216h90 + MediaSize w216h144 + MediaSize w216h216 + MediaSize w216h360 + MediaSize w234h144 + MediaSize w234h360 + MediaSize w234h396 + MediaSize w234h419 + MediaSize w234h563 + MediaSize w252h72 + MediaSize w288h72 + MediaSize w288h144 + MediaSize w288h180 + MediaSize w288h216 + MediaSize w288h288 + *MediaSize w288h360 + MediaSize w288h432 + MediaSize w288h468 + MediaSize w288h936 + MediaSize w432h72 + MediaSize w432h144 + MediaSize w432h216 + MediaSize w432h288 + MediaSize w432h360 + MediaSize w432h432 + MediaSize w432h468 + MediaSize w576h72 + MediaSize w576h144 + MediaSize w576h216 + MediaSize w576h288 + MediaSize w576h360 + MediaSize w576h432 + MediaSize w576h468 + + *Resolution k 1 0 0 0 203dpi + Resolution k 1 0 0 0 300dpi + Resolution k 1 0 0 0 600dpi + + Group "General/General" + Option "zeMediaTracking/Media Tracking" PickOne AnySetup 20.0 + Choice "Continuous/Continuous" "" + *Choice "Web/Non-continuous (Web sensing)" "" + Choice "Mark/Non-continuous (Mark sensing)" "" + Option "MediaType/Media Type" PickOne AnySetup 20.0 + *Choice "Saved/Printer Default" "" + Choice "Thermal/Thermal Transfer Media" "<>setpagedevice" + Choice "Direct/Direct Thermal Media" "<>setpagedevice" + Group "PrinterSettings/Printer Settings" + Option "Darkness" PickOne AnySetup 20.0 + *Choice "-1/Printer Default" "<>setpagedevice" + Choice "1/1" "<>setpagedevice" + Choice "2/2" "<>setpagedevice" + Choice "3/3" "<>setpagedevice" + Choice "4/4" "<>setpagedevice" + Choice "5/5" "<>setpagedevice" + Choice "6/6" "<>setpagedevice" + Choice "7/7" "<>setpagedevice" + Choice "8/8" "<>setpagedevice" + Choice "9/9" "<>setpagedevice" + Choice "10/10" "<>setpagedevice" + Choice "11/11" "<>setpagedevice" + Choice "12/12" "<>setpagedevice" + Choice "13/13" "<>setpagedevice" + Choice "14/14" "<>setpagedevice" + Choice "15/15" "<>setpagedevice" + Choice "16/16" "<>setpagedevice" + Choice "17/17" "<>setpagedevice" + Choice "18/18" "<>setpagedevice" + Choice "19/19" "<>setpagedevice" + Choice "20/20" "<>setpagedevice" + Choice "21/21" "<>setpagedevice" + Choice "22/22" "<>setpagedevice" + Choice "23/23" "<>setpagedevice" + Choice "24/24" "<>setpagedevice" + Choice "25/25" "<>setpagedevice" + Choice "26/26" "<>setpagedevice" + Choice "27/27" "<>setpagedevice" + Choice "28/28" "<>setpagedevice" + Choice "29/29" "<>setpagedevice" + Choice "30/30" "<>setpagedevice" + Option "zePrintRate/Print Rate" PickOne AnySetup 20.0 + *Choice "Default/Printer Default" "" + Choice "1/1 inch/sec." "" + Choice "2/2 inches/sec." "" + Choice "3/3 inches/sec." "" + Choice "4/4 inches/sec." "" + Choice "5/5 inches/sec." "" + Choice "6/6 inches/sec." "" + Choice "7/7 inches/sec." "" + Choice "8/8 inches/sec." "" + Choice "9/9 inches/sec." "" + Choice "10/10 inches/sec." "" + Choice "11/11 inches/sec." "" + Choice "12/12 inches/sec." "" + Option "zeLabelTop/Label Top" PickOne AnySetup 20.0 + *Choice "200/Printer Default" "<>setpagedevice" + Choice "-120/-120" "<>setpagedevice" + Choice "-115/-115" "<>setpagedevice" + Choice "-110/-110" "<>setpagedevice" + Choice "-105/-105" "<>setpagedevice" + Choice "-100/-100" "<>setpagedevice" + Choice "-95/-95" "<>setpagedevice" + Choice "-90/-90" "<>setpagedevice" + Choice "-85/-85" "<>setpagedevice" + Choice "-80/-80" "<>setpagedevice" + Choice "-75/-75" "<>setpagedevice" + Choice "-70/-70" "<>setpagedevice" + Choice "-65/-65" "<>setpagedevice" + Choice "-60/-60" "<>setpagedevice" + Choice "-55/-55" "<>setpagedevice" + Choice "-50/-50" "<>setpagedevice" + Choice "-45/-45" "<>setpagedevice" + Choice "-40/-40" "<>setpagedevice" + Choice "-35/-35" "<>setpagedevice" + Choice "-30/-30" "<>setpagedevice" + Choice "-25/-25" "<>setpagedevice" + Choice "-20/-20" "<>setpagedevice" + Choice "-15/-15" "<>setpagedevice" + Choice "-10/-10" "<>setpagedevice" + Choice "-5/-5" "<>setpagedevice" + Choice "0/0" "<>setpagedevice" + Choice "5/5" "<>setpagedevice" + Choice "10/10" "<>setpagedevice" + Choice "15/15" "<>setpagedevice" + Choice "20/20" "<>setpagedevice" + Choice "25/25" "<>setpagedevice" + Choice "30/30" "<>setpagedevice" + Choice "35/35" "<>setpagedevice" + Choice "40/40" "<>setpagedevice" + Choice "45/45" "<>setpagedevice" + Choice "50/50" "<>setpagedevice" + Choice "55/55" "<>setpagedevice" + Choice "60/60" "<>setpagedevice" + Choice "65/65" "<>setpagedevice" + Choice "70/70" "<>setpagedevice" + Choice "75/75" "<>setpagedevice" + Choice "80/80" "<>setpagedevice" + Choice "85/85" "<>setpagedevice" + Choice "90/90" "<>setpagedevice" + Choice "95/95" "<>setpagedevice" + Choice "100/100" "<>setpagedevice" + Choice "105/105" "<>setpagedevice" + Choice "110/110" "<>setpagedevice" + Choice "115/115" "<>setpagedevice" + Choice "120/120" "<>setpagedevice" + Option "zePrintMode/Print Mode" PickOne AnySetup 20.0 + *Choice "Saved/Printer Default" "" + Choice "Tear/Tear-Off" "" + Choice "Peel/Peel-Off" "" + Choice "Rewind/Rewind" "" + Choice "Applicator/Applicator" "" + Choice "Cutter/Cutter" "" + Option "zeTearOffPosition/Tear-Off Adjust Position" PickOne AnySetup 20.0 + *Choice "1000/Printer Default" "<>setpagedevice" + Choice "-120/-120" "<>setpagedevice" + Choice "-115/-115" "<>setpagedevice" + Choice "-110/-110" "<>setpagedevice" + Choice "-105/-105" "<>setpagedevice" + Choice "-100/-100" "<>setpagedevice" + Choice "-95/-95" "<>setpagedevice" + Choice "-90/-90" "<>setpagedevice" + Choice "-85/-85" "<>setpagedevice" + Choice "-80/-80" "<>setpagedevice" + Choice "-75/-75" "<>setpagedevice" + Choice "-70/-70" "<>setpagedevice" + Choice "-65/-65" "<>setpagedevice" + Choice "-60/-60" "<>setpagedevice" + Choice "-55/-55" "<>setpagedevice" + Choice "-50/-50" "<>setpagedevice" + Choice "-45/-45" "<>setpagedevice" + Choice "-40/-40" "<>setpagedevice" + Choice "-35/-35" "<>setpagedevice" + Choice "-30/-30" "<>setpagedevice" + Choice "-25/-25" "<>setpagedevice" + Choice "-20/-20" "<>setpagedevice" + Choice "-15/-15" "<>setpagedevice" + Choice "-10/-10" "<>setpagedevice" + Choice "-5/-5" "<>setpagedevice" + Choice "0/0" "<>setpagedevice" + Choice "5/5" "<>setpagedevice" + Choice "10/10" "<>setpagedevice" + Choice "15/15" "<>setpagedevice" + Choice "20/20" "<>setpagedevice" + Choice "25/25" "<>setpagedevice" + Choice "30/30" "<>setpagedevice" + Choice "35/35" "<>setpagedevice" + Choice "40/40" "<>setpagedevice" + Choice "45/45" "<>setpagedevice" + Choice "50/50" "<>setpagedevice" + Choice "55/55" "<>setpagedevice" + Choice "60/60" "<>setpagedevice" + Choice "65/65" "<>setpagedevice" + Choice "70/70" "<>setpagedevice" + Choice "75/75" "<>setpagedevice" + Choice "80/80" "<>setpagedevice" + Choice "85/85" "<>setpagedevice" + Choice "90/90" "<>setpagedevice" + Choice "95/95" "<>setpagedevice" + Choice "100/100" "<>setpagedevice" + Choice "105/105" "<>setpagedevice" + Choice "110/110" "<>setpagedevice" + Choice "115/115" "<>setpagedevice" + Choice "120/120" "<>setpagedevice" + Option "zeErrorReprint/Reprint After Error" PickOne AnySetup 20.0 + *Choice "Saved/Printer Default" "" + Choice "Always/Always" "" + Choice "Never/Never" "" + } +} diff --git a/ppdc/testcatalog.cxx b/ppdc/testcatalog.cxx new file mode 100644 index 0000000..3cb9542 --- /dev/null +++ b/ppdc/testcatalog.cxx @@ -0,0 +1,49 @@ +// +// Test program for message catalog class. +// +// Copyright © 2008-2019 by Apple Inc. +// +// Licensed under Apache License v2.0. See the file "LICENSE" for more +// information. +// + +// +// Include necessary headers... +// + +#include "ppdc-private.h" + + +// +// 'main()' - Open a message catalog +// + +int // O - Exit status +main(int argc, // I - Number of command-line arguments + char *argv[]) // I - Command-line arguments +{ + ppdcCatalog *catalog; // Message catalog + ppdcMessage *m; // Current message + + + if (argc != 2) + { + puts("Usage: testcatalog filename"); + return (1); + } + + // Scan the command-line... + catalog = new ppdcCatalog(NULL, argv[1]); + + printf("%s: %u messages\n", argv[1], (unsigned)catalog->messages->count); + + for (m = (ppdcMessage *)catalog->messages->first(); + m; + m = (ppdcMessage *)catalog->messages->next()) + printf("%s: %s\n", m->id->value, m->string->value); + + catalog->release(); + + // Return with no errors. + return (0); +} diff --git a/scheduler/Dependencies b/scheduler/Dependencies new file mode 100644 index 0000000..519ecda --- /dev/null +++ b/scheduler/Dependencies @@ -0,0 +1,304 @@ +auth.o: auth.c cupsd.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/file-private.h \ + ../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h mime.h sysman.h \ + statbuf.h cert.h auth.h client.h policy.h printers.h classes.h job.h \ + colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h +banners.o: banners.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h ../cups/dir.h +cert.o: cert.c cupsd.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/file-private.h \ + ../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h mime.h sysman.h \ + statbuf.h cert.h auth.h client.h policy.h printers.h classes.h job.h \ + colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h +classes.o: classes.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h +client.o: client.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h +colorman.o: colorman.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h +conf.o: conf.c cupsd.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/file-private.h \ + ../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h mime.h sysman.h \ + statbuf.h cert.h auth.h client.h policy.h printers.h classes.h job.h \ + colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h +dirsvc.o: dirsvc.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h +env.o: env.c cupsd.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/file-private.h \ + ../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h mime.h sysman.h \ + statbuf.h cert.h auth.h client.h policy.h printers.h classes.h job.h \ + colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h +file.o: file.c cupsd.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/file-private.h \ + ../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h mime.h sysman.h \ + statbuf.h cert.h auth.h client.h policy.h printers.h classes.h job.h \ + colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h \ + ../cups/dir.h +main.o: main.c cupsd.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/file-private.h \ + ../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h mime.h sysman.h \ + statbuf.h cert.h auth.h client.h policy.h printers.h classes.h job.h \ + colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h +ipp.o: ipp.c cupsd.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/file-private.h \ + ../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h mime.h sysman.h \ + statbuf.h cert.h auth.h client.h policy.h printers.h classes.h job.h \ + colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h +listen.o: listen.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h +job.o: job.c cupsd.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/file-private.h \ + ../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h mime.h sysman.h \ + statbuf.h cert.h auth.h client.h policy.h printers.h classes.h job.h \ + colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h \ + ../cups/backend.h ../cups/dir.h +log.o: log.c cupsd.h ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/file-private.h \ + ../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h mime.h sysman.h \ + statbuf.h cert.h auth.h client.h policy.h printers.h classes.h job.h \ + colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h +network.o: network.c ../cups/http-private.h ../config.h \ + ../cups/language.h ../cups/array.h ../cups/versioning.h ../cups/http.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/pwg.h cupsd.h ../cups/cups-private.h ../cups/string-private.h \ + ../cups/array-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/file-private.h \ + ../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h mime.h sysman.h \ + statbuf.h cert.h auth.h client.h policy.h printers.h classes.h job.h \ + colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h \ + ../cups/getifaddrs-internal.h +policy.o: policy.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h +printers.o: printers.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h ../cups/dir.h +process.o: process.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h +quotas.o: quotas.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h +select.o: select.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h +server.o: server.c ../cups/http-private.h ../config.h ../cups/language.h \ + ../cups/array.h ../cups/versioning.h ../cups/http.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/pwg.h cupsd.h ../cups/cups-private.h ../cups/string-private.h \ + ../cups/array-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/file-private.h \ + ../cups/ppd-private.h ../cups/ppd.h ../cups/raster.h mime.h sysman.h \ + statbuf.h cert.h auth.h client.h policy.h printers.h classes.h job.h \ + colorman.h conf.h banners.h dirsvc.h network.h subscriptions.h +statbuf.o: statbuf.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h +subscriptions.o: subscriptions.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h +sysman.o: sysman.c cupsd.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h sysman.h statbuf.h cert.h auth.h \ + client.h policy.h printers.h classes.h job.h colorman.h conf.h \ + banners.h dirsvc.h network.h subscriptions.h +filter.o: filter.c ../cups/string-private.h ../config.h \ + ../cups/versioning.h mime.h ../cups/array.h ../cups/ipp.h \ + ../cups/http.h ../cups/file.h +mime.o: mime.c ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/dir.h mime-private.h mime.h ../cups/array.h ../cups/ipp.h \ + ../cups/http.h ../cups/file.h +type.o: type.c ../cups/string-private.h ../config.h ../cups/versioning.h \ + mime.h ../cups/array.h ../cups/ipp.h ../cups/http.h ../cups/file.h +cupsfilter.o: cupsfilter.c ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/file-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h mime.h +cups-deviced.o: cups-deviced.c util.h ../cups/array-private.h \ + ../cups/array.h ../cups/versioning.h ../cups/file-private.h \ + ../cups/cups-private.h ../cups/string-private.h ../config.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/dir.h +cups-exec.o: cups-exec.c ../cups/string-private.h ../config.h \ + ../cups/versioning.h ../cups/file.h +cups-lpd.o: cups-lpd.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h +testlpd.o: testlpd.c ../cups/cups.h ../cups/file.h ../cups/versioning.h \ + ../cups/ipp.h ../cups/http.h ../cups/array.h ../cups/language.h \ + ../cups/pwg.h ../cups/string-private.h ../config.h +testmime.o: testmime.c ../cups/string-private.h ../config.h \ + ../cups/versioning.h ../cups/dir.h ../cups/debug-private.h \ + ../cups/ppd-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/array.h ../cups/language.h ../cups/pwg.h \ + ../cups/ppd.h ../cups/raster.h ../cups/pwg-private.h mime.h +testspeed.o: testspeed.c ../cups/string-private.h ../config.h \ + ../cups/versioning.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/array.h ../cups/language.h ../cups/pwg.h \ + ../cups/debug-private.h +testsub.o: testsub.c ../cups/cups.h ../cups/file.h ../cups/versioning.h \ + ../cups/ipp.h ../cups/http.h ../cups/array.h ../cups/language.h \ + ../cups/pwg.h ../cups/debug-private.h ../cups/string-private.h \ + ../config.h ../cups/ipp-private.h +util.o: util.c util.h ../cups/array-private.h ../cups/array.h \ + ../cups/versioning.h ../cups/file-private.h ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +cups-driverd.o: cups-driverd.cxx util.h ../cups/array-private.h \ + ../cups/array.h ../cups/versioning.h ../cups/file-private.h \ + ../cups/cups-private.h ../cups/string-private.h ../config.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/dir.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h ../ppdc/ppdc.h diff --git a/scheduler/Makefile b/scheduler/Makefile new file mode 100644 index 0000000..b50bd0a --- /dev/null +++ b/scheduler/Makefile @@ -0,0 +1,454 @@ +# +# Scheduler Makefile for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2007 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +include ../Makedefs + +CUPSDOBJS = \ + auth.o \ + banners.o \ + cert.o \ + classes.o \ + client.o \ + colorman.o \ + conf.o \ + dirsvc.o \ + env.o \ + file.o \ + main.o \ + ipp.o \ + listen.o \ + job.o \ + log.o \ + network.o \ + policy.o \ + printers.o \ + process.o \ + quotas.o \ + select.o \ + server.o \ + statbuf.o \ + subscriptions.o \ + sysman.o +LIBOBJS = \ + filter.o \ + mime.o \ + type.o +COBJS = \ + $(CUPSDOBJS) \ + $(LIBOBJS) \ + cupsfilter.o \ + cups-deviced.o \ + cups-exec.o \ + cups-lpd.o \ + testlpd.o \ + testmime.o \ + testspeed.o \ + testsub.o \ + util.o +CXXOBJS = \ + cups-driverd.o +OBJS = \ + $(COBJS) \ + $(CXXOBJS) +LIBTARGETS = \ + libcupsmime.a + +UNITTARGETS = \ + testlpd \ + testmime \ + testspeed \ + testsub + +PROGRAMS = \ + cupsd \ + cupsfilter \ + cups-deviced \ + cups-driverd \ + cups-exec \ + cups-lpd + +TARGETS = \ + $(LIBTARGETS) \ + $(PROGRAMS) + + +# +# Make everything... +# + +all: $(TARGETS) + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: $(UNITTARGETS) + + +# +# Clean all object files... +# + +clean: + $(RM) $(OBJS) + $(RM) $(TARGETS) $(UNITTARGETS) convert + + +# +# Update dependencies (without system header dependencies...) +# + +depend: + $(CC) -MM $(ALL_CFLAGS) $(COBJS:.o=.c) >Dependencies + $(CXX) -MM $(ALL_CXXFLAGS) $(CXXOBJS:.o=.cxx) >>Dependencies + + +# +# Run oclint to check code coverage... +# + +oclint: + oclint -o=oclint.html -html $(CUPSDOBJS:.o=.c) $(LIBOBJS:.o=.c) -- $(ALL_CFLAGS) + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + echo Creating $(SERVERBIN)/driver... + $(INSTALL_DIR) -m 755 $(SERVERBIN)/driver + echo Creating $(SERVERROOT)... + $(INSTALL_DIR) -m 755 -g $(CUPS_GROUP) $(SERVERROOT) + echo Creating $(SERVERROOT)/ppd... + $(INSTALL_DIR) -m 755 -g $(CUPS_GROUP) $(SERVERROOT)/ppd + if test "x`uname`" != xDarwin; then \ + echo Creating $(SERVERROOT)/ssl...; \ + $(INSTALL_DIR) -m 700 -g $(CUPS_GROUP) $(SERVERROOT)/ssl; \ + fi + if test "$(STATEDIR)" != "$(SERVERROOT)"; then \ + echo Creating $(STATEDIR)...; \ + $(INSTALL_DIR) -m 755 $(STATEDIR); \ + fi + echo Creating $(STATEDIR)/certs... + $(INSTALL_DIR) -m 511 -o $(CUPS_USER) -g $(CUPS_PRIMARY_SYSTEM_GROUP) \ + $(STATEDIR)/certs + echo Creating $(LOGDIR)... + $(INSTALL_DIR) -m 755 $(LOGDIR) + echo Creating $(REQUESTS)... + $(INSTALL_DIR) -m 710 -g $(CUPS_GROUP) $(REQUESTS) + echo Creating $(REQUESTS)/tmp... + $(INSTALL_DIR) -m 1770 -g $(CUPS_GROUP) $(REQUESTS)/tmp + echo Creating $(CACHEDIR)... + $(INSTALL_DIR) -m 770 -g $(CUPS_GROUP) $(CACHEDIR) + if test "x$(INITDIR)" != x; then \ + echo Installing init scripts...; \ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/init.d; \ + $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDIR)/init.d/cups; \ + for level in $(RCLEVELS); do \ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc$${level}.d; \ + $(LN) ../init.d/cups $(BUILDROOT)$(INITDIR)/rc$${level}.d/S$(RCSTART)cups; \ + $(LN) ../init.d/cups $(BUILDROOT)$(INITDIR)/rc$${level}.d/K$(RCSTOP)cups; \ + done; \ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc0.d; \ + $(LN) ../init.d/cups $(BUILDROOT)$(INITDIR)/rc0.d/K$(RCSTOP)cups; \ + fi + if test "x$(INITDDIR)" != x; then \ + echo Installing init script...; \ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDDIR); \ + $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDDIR); \ + fi + if test "x$(LAUNCHD_DIR)" != x; then \ + echo Installing launchd configuration files...; \ + $(INSTALL_DIR) $(BUILDROOT)$(LAUNCHD_DIR); \ + $(INSTALL_DATA) org.cups.cupsd.plist $(BUILDROOT)$(LAUNCHD_DIR); \ + $(INSTALL_DATA) org.cups.cups-lpd.plist $(BUILDROOT)$(LAUNCHD_DIR); \ + fi + if test "x$(SMFMANIFESTDIR)" != x; then \ + echo Installing SMF manifest in $(SMFMANIFESTDIR)...;\ + $(INSTALL_DIR) $(BUILDROOT)/$(SMFMANIFESTDIR); \ + $(INSTALL_SCRIPT) cups.xml $(BUILDROOT)$(SMFMANIFESTDIR)/cups.xml; \ + fi + if test "x$(SYSTEMD_DIR)" != x; then \ + echo Installing systemd configuration files...; \ + $(INSTALL_DIR) $(BUILDROOT)$(SYSTEMD_DIR); \ + $(INSTALL_DATA) org.cups.cupsd.path $(BUILDROOT)$(SYSTEMD_DIR); \ + $(INSTALL_DATA) org.cups.cupsd.service $(BUILDROOT)$(SYSTEMD_DIR); \ + $(INSTALL_DATA) org.cups.cupsd.socket $(BUILDROOT)$(SYSTEMD_DIR); \ + $(INSTALL_DATA) org.cups.cups-lpdAT.service $(BUILDROOT)$(SYSTEMD_DIR)/org.cups.cups-lpd@.service; \ + $(INSTALL_DATA) org.cups.cups-lpd.socket $(BUILDROOT)$(SYSTEMD_DIR); \ + elif test "x$(XINETD)" != x; then \ + echo Installing xinetd configuration file for cups-lpd...; \ + $(INSTALL_DIR) -m 755 $(BUILDROOT)$(XINETD); \ + $(INSTALL_DATA) cups-lpd.xinetd $(BUILDROOT)$(XINETD)/cups-lpd; \ + fi + + +# +# Install programs... +# + +install-exec: + echo Installing programs in $(SBINDIR)... + $(INSTALL_DIR) -m 755 $(SBINDIR) + $(INSTALL_BIN) -m $(CUPS_CUPSD_FILE_PERM) cupsd $(SBINDIR) + $(INSTALL_BIN) cupsfilter $(SBINDIR) + echo Installing programs in $(SERVERBIN)/daemon... + $(INSTALL_DIR) -m 755 $(SERVERBIN) + $(INSTALL_DIR) -m 755 $(SERVERBIN)/daemon + $(INSTALL_BIN) cups-deviced $(SERVERBIN)/daemon + $(INSTALL_BIN) cups-driverd $(SERVERBIN)/daemon + $(INSTALL_BIN) cups-exec $(SERVERBIN)/daemon + $(INSTALL_BIN) cups-lpd $(SERVERBIN)/daemon + if test "x$(SYMROOT)" != "x"; then \ + $(INSTALL_DIR) $(SYMROOT); \ + for file in $(PROGRAMS); do \ + cp $$file $(SYMROOT); \ + dsymutil $(SYMROOT)/$$file; \ + done \ + fi + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall the scheduler... +# + +uninstall: + $(RM) $(SBINDIR)/cupsd + $(RM) $(SBINDIR)/cupsfilter + $(RM) $(SERVERBIN)/daemon/cups-deviced + $(RM) $(SERVERBIN)/daemon/cups-driverd + $(RM) $(SERVERBIN)/daemon/cups-exec + $(RM) $(SERVERBIN)/daemon/cups-lpd + -$(RMDIR) $(STATEDIR)/certs + -$(RMDIR) $(STATEDIR) + -$(RMDIR) $(SERVERROOT)/ppd + -$(RMDIR) $(SERVERROOT)/interfaces + -$(RMDIR) $(SERVERROOT) + -$(RMDIR) $(SERVERBIN)/driver + -$(RMDIR) $(SERVERBIN)/daemon + -$(RMDIR) $(SERVERBIN) + -$(RMDIR) $(SBINDIR) + -$(RMDIR) $(REQUESTS)/tmp + -$(RMDIR) $(REQUESTS) + -$(RMDIR) $(LOGDIR) + -$(RMDIR) $(CACHEDIR) + if test "x$(INITDIR)" != x; then \ + echo Uninstalling init scripts...; \ + $(RM) $(BUILDROOT)$(INITDIR)/init.d/cups; \ + $(RMDIR) $(BUILDROOT)$(INITDIR)/init.d; \ + $(RM) $(BUILDROOT)$(INITDIR)/rc0.d/K00cups; \ + $(RMDIR) $(BUILDROOT)$(INITDIR)/rc0.d; \ + $(RM) $(BUILDROOT)$(INITDIR)/rc2.d/S99cups; \ + $(RMDIR) $(BUILDROOT)$(INITDIR)/rc2.d; \ + $(RM) $(BUILDROOT)$(INITDIR)/rc3.d/S99cups; \ + $(RMDIR) $(BUILDROOT)$(INITDIR)/rc3.d; \ + $(RM) $(BUILDROOT)$(INITDIR)/rc5.d/S99cups; \ + $(RMDIR) $(BUILDROOT)$(INITDIR)/rc5.d; \ + fi + if test "x$(INITDDIR)" != x; then \ + echo Uninstalling startup script...; \ + $(RM) $(BUILDROOT)$(INITDDIR)/cups.sh; \ + $(RMDIR) $(BUILDROOT)$(INITDDIR); \ + fi + if test "x$LAUNCHD_DIR" != x; then \ + echo Uninstalling launchd files...; \ + $(RM) $(BUILDROOT)$(LAUNCHD_DIR)/org.cups.cupsd.plist; \ + $(RM) $(BUILDROOT)$(LAUNCHD_DIR)/org.cups.cups-lpd.plist; \ + fi + if test "x$SYSTEMD_DIR" != x; then \ + echo Uninstalling systemd files...; \ + $(RM) $(BUILDROOT)$(SYSTEMD_DIR)/org.cups.cupsd.path; \ + $(RM) $(BUILDROOT)$(SYSTEMD_DIR)/org.cups.cupsd.service; \ + $(RM) $(BUILDROOT)$(SYSTEMD_DIR)/org.cups.cupsd.socket; \ + fi + if test "x$(SMFMANIFESTDIR)" != x; then \ + echo Uninstalling SMF manifest file...;\ + $(RM) $(BUILDROOT)$(SMFMANIFESTDIR)/cups.xml; \ + fi + if test "x$(XINETD)" != x; then \ + echo Uninstalling xinetd configuration file for cups-lpd...; \ + $(RM) $(BUILDROOT)$(XINETD)/cups-lpd; \ + fi + + +# +# Make the scheduler executable, "cupsd". +# + +cupsd: $(CUPSDOBJS) libcupsmime.a ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o cupsd $(CUPSDOBJS) libcupsmime.a \ + $(PAMLIBS) $(LIBPAPER) $(LIBMALLOC) $(DNSSDLIBS) $(SERVERLIBS) \ + $(ONDEMANDLIBS) $(LIBWRAP) $(LIBGSSAPI) $(COMMONLIBS) $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + +cupsd-static: $(CUPSDOBJS) libcupsmime.a ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o cupsd-static $(CUPSDOBJS) libcupsmime.a \ + $(PAMLIBS) $(LIBPAPER) $(LIBMALLOC) $(SERVERLIBS) $(ONDEMANDLIBS) \ $(LIBWRAP) $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Make the cupsfilter utility. +# + +cupsfilter: cupsfilter.o libcupsmime.a ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o cupsfilter cupsfilter.o libcupsmime.a $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + $(RM) convert + $(LN) cupsfilter convert + +cupsfilter-static: cupsfilter.o libcupsmime.a ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o cupsfilter-static cupsfilter.o libcupsmime.a \ + $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Make the device daemon, "cups-deviced". +# + +cups-deviced: cups-deviced.o util.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o cups-deviced cups-deviced.o util.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Make the driver daemon, "cups-driverd". +# + +cups-driverd: cups-driverd.o util.o ../cups/$(LIBCUPS) ../ppdc/libcupsppdc.a + echo Linking $@... + $(LD_CXX) $(ALL_LDFLAGS) -o cups-driverd cups-driverd.o util.o \ + ../ppdc/libcupsppdc.a $(COMMONLIBS) $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Make the sandbox execution helper, "cups-exec". +# + +cups-exec: cups-exec.o + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o cups-exec cups-exec.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Make the line printer daemon, "cups-lpd". +# + +cups-lpd: cups-lpd.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o cups-lpd cups-lpd.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# libcupsmime.a +# + +libcupsmime.a: $(LIBOBJS) + echo Archiving $@... + $(RM) $@ + $(AR) $(ARFLAGS) $@ $(LIBOBJS) + $(RANLIB) $@ + + +# +# Make the test program, "testlpd". +# + +testlpd: testlpd.o ../cups/$(LIBCUPSSTATIC) cups-lpd + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o testlpd testlpd.o $(LINKCUPSSTATIC) + + +# +# testmime +# + +testmime: testmime.o libcupsmime.a ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ARCHFLAGS) $(ALL_LDFLAGS) -o $@ testmime.o libcupsmime.a \ + $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + echo Running MIME tests... + ./testmime + + +# +# Make the test program, "testspeed". +# + +testspeed: testspeed.o ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o testspeed testspeed.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Make the test program, "testsub". +# + +testsub: testsub.o ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o testsub testsub.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Lines of code computation... +# + +sloc: + echo "cupsd: \c" + sloccount $(CUPSDOBJS:.o=.c) $(LIBOBJS:.o=.c) cups-driverd.cxx cups-lpd.c 2>/dev/null | grep "Total Physical" | awk '{print $$9}' + + +# +# Dependencies... +# + +include Dependencies diff --git a/scheduler/auth.c b/scheduler/auth.c new file mode 100644 index 0000000..4fbad6e --- /dev/null +++ b/scheduler/auth.c @@ -0,0 +1,2078 @@ +/* + * Authorization routines for the CUPS scheduler. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * This file contains Kerberos support code, copyright 2006 by + * Jelmer Vernooij. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include +#ifdef HAVE_SHADOW_H +# include +#endif /* HAVE_SHADOW_H */ +#ifdef HAVE_CRYPT_H +# include +#endif /* HAVE_CRYPT_H */ +#if HAVE_LIBPAM +# ifdef HAVE_PAM_PAM_APPL_H +# include +# else +# include +# endif /* HAVE_PAM_PAM_APPL_H */ +#endif /* HAVE_LIBPAM */ +#ifdef HAVE_MEMBERSHIP_H +# include +#endif /* HAVE_MEMBERSHIP_H */ +#ifdef HAVE_AUTHORIZATION_H +# include +#endif /* HAVE_AUTHORIZATION_H */ +#ifdef HAVE_SYS_PARAM_H +# include +#endif /* HAVE_SYS_PARAM_H */ +#ifdef HAVE_SYS_UCRED_H +# include +typedef struct xucred cupsd_ucred_t; +# define CUPSD_UCRED_UID(c) (c).cr_uid +#else +# ifndef __OpenBSD__ +typedef struct ucred cupsd_ucred_t; +# else +typedef struct sockpeercred cupsd_ucred_t; +# endif +# define CUPSD_UCRED_UID(c) (c).uid +#endif /* HAVE_SYS_UCRED_H */ + + +/* + * Local functions... + */ + +#ifdef HAVE_AUTHORIZATION_H +static int check_authref(cupsd_client_t *con, const char *right); +#endif /* HAVE_AUTHORIZATION_H */ +static int compare_locations(cupsd_location_t *a, + cupsd_location_t *b); +static cupsd_authmask_t *copy_authmask(cupsd_authmask_t *am, void *data); +static void free_authmask(cupsd_authmask_t *am, void *data); +#if HAVE_LIBPAM +static int pam_func(int, const struct pam_message **, + struct pam_response **, void *); +#endif /* HAVE_LIBPAM */ + + +/* + * Local structures... + */ + +#if HAVE_LIBPAM +typedef struct cupsd_authdata_s /**** Authentication data ****/ +{ + char username[HTTP_MAX_VALUE], /* Username string */ + password[HTTP_MAX_VALUE]; /* Password string */ +} cupsd_authdata_t; +#endif /* HAVE_LIBPAM */ + + +/* + * 'cupsdAddIPMask()' - Add an IP address authorization mask. + */ + +int /* O - 1 on success, 0 on failure */ +cupsdAddIPMask( + cups_array_t **masks, /* IO - Masks array (created as needed) */ + const unsigned address[4], /* I - IP address */ + const unsigned netmask[4]) /* I - IP netmask */ +{ + cupsd_authmask_t temp; /* New host/domain mask */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdAddIPMask(masks=%p(%p), address=%x:%x:%x:%x, netmask=%x:%x:%x:%x)", masks, *masks, address[0], address[1], address[2], address[3], netmask[0], netmask[1], netmask[2], netmask[3]); + + temp.type = CUPSD_AUTH_IP; + memcpy(temp.mask.ip.address, address, sizeof(temp.mask.ip.address)); + memcpy(temp.mask.ip.netmask, netmask, sizeof(temp.mask.ip.netmask)); + + /* + * Create the masks array as needed and add... + */ + + if (!*masks) + *masks = cupsArrayNew3(NULL, NULL, NULL, 0, + (cups_acopy_func_t)copy_authmask, + (cups_afree_func_t)free_authmask); + + return (cupsArrayAdd(*masks, &temp)); +} + + +/* + * 'cupsdAddLocation()' - Add a location for authorization. + */ + +void +cupsdAddLocation(cupsd_location_t *loc) /* I - Location to add */ +{ + /* + * Make sure the locations array is created... + */ + + if (!Locations) + Locations = cupsArrayNew3((cups_array_func_t)compare_locations, NULL, + (cups_ahash_func_t)NULL, 0, + (cups_acopy_func_t)NULL, + (cups_afree_func_t)cupsdFreeLocation); + + if (Locations) + { + cupsArrayAdd(Locations, loc); + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdAddLocation: Added location \"%s\"", loc->location ? loc->location : "(null)"); + } +} + + +/* + * 'cupsdAddName()' - Add a name to a location... + */ + +void +cupsdAddName(cupsd_location_t *loc, /* I - Location to add to */ + char *name) /* I - Name to add */ +{ + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdAddName(loc=%p, name=\"%s\")", loc, name); + + if (!loc->names) + loc->names = cupsArrayNew3(NULL, NULL, NULL, 0, + (cups_acopy_func_t)_cupsStrAlloc, + (cups_afree_func_t)_cupsStrFree); + + if (!cupsArrayAdd(loc->names, name)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to duplicate name for location %s: %s", + loc->location ? loc->location : "nil", strerror(errno)); + return; + } +} + + +/* + * 'cupsdAddNameMask()' - Add a host or interface name authorization mask. + */ + +int /* O - 1 on success, 0 on failure */ +cupsdAddNameMask(cups_array_t **masks, /* IO - Masks array (created as needed) */ + char *name) /* I - Host or interface name */ +{ + cupsd_authmask_t temp; /* New host/domain mask */ + char ifname[32], /* Interface name */ + *ifptr; /* Pointer to end of name */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdAddNameMask(masks=%p(%p), name=\"%s\")", masks, *masks, name); + + if (!_cups_strcasecmp(name, "@LOCAL")) + { + /* + * Deny *interface*... + */ + + temp.type = CUPSD_AUTH_INTERFACE; + temp.mask.name.name = (char *)"*"; + } + else if (!_cups_strncasecmp(name, "@IF(", 4)) + { + /* + * Deny *interface*... + */ + + strlcpy(ifname, name + 4, sizeof(ifname)); + + ifptr = ifname + strlen(ifname) - 1; + + if (ifptr >= ifname && *ifptr == ')') + { + ifptr --; + *ifptr = '\0'; + } + + temp.type = CUPSD_AUTH_INTERFACE; + temp.mask.name.name = ifname; + } + else + { + /* + * Deny name... + */ + + if (*name == '*') + name ++; + + temp.type = CUPSD_AUTH_NAME; + temp.mask.name.name = (char *)name; + } + + /* + * Set the name length... + */ + + temp.mask.name.length = strlen(temp.mask.name.name); + + /* + * Create the masks array as needed and add... + */ + + if (!*masks) + *masks = cupsArrayNew3(NULL, NULL, NULL, 0, + (cups_acopy_func_t)copy_authmask, + (cups_afree_func_t)free_authmask); + + return (cupsArrayAdd(*masks, &temp)); +} + + +/* + * 'cupsdAuthorize()' - Validate any authorization credentials. + */ + +void +cupsdAuthorize(cupsd_client_t *con) /* I - Client connection */ +{ + int type; /* Authentication type */ + const char *authorization; /* Pointer into Authorization string */ + char *ptr, /* Pointer into string */ + username[HTTP_MAX_VALUE], + /* Username string */ + password[HTTP_MAX_VALUE]; + /* Password string */ + cupsd_cert_t *localuser; /* Certificate username */ + + + /* + * Locate the best matching location so we know what kind of + * authentication to expect... + */ + + con->best = cupsdFindBest(con->uri, httpGetState(con->http)); + con->type = CUPSD_AUTH_NONE; + + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "con->uri=\"%s\", con->best=%p(%s)", con->uri, con->best, con->best ? con->best->location : ""); + + if (con->best && con->best->type != CUPSD_AUTH_NONE) + { + if (con->best->type == CUPSD_AUTH_DEFAULT) + type = cupsdDefaultAuthType(); + else + type = con->best->type; + } + else + type = cupsdDefaultAuthType(); + + /* + * Decode the Authorization string... + */ + + authorization = httpGetField(con->http, HTTP_FIELD_AUTHORIZATION); + + username[0] = '\0'; + password[0] = '\0'; + +#ifdef HAVE_GSSAPI + con->gss_uid = 0; +#endif /* HAVE_GSSAPI */ + +#ifdef HAVE_AUTHORIZATION_H + if (con->authref) + { + AuthorizationFree(con->authref, kAuthorizationFlagDefaults); + con->authref = NULL; + } +#endif /* HAVE_AUTHORIZATION_H */ + + if (!*authorization) + { + /* + * No authorization data provided, return early... + */ + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "No authentication data provided."); + return; + } +#ifdef HAVE_AUTHORIZATION_H + else if (!strncmp(authorization, "AuthRef ", 8) && + httpAddrLocalhost(httpGetAddress(con->http))) + { + OSStatus status; /* Status */ + char authdata[HTTP_MAX_VALUE]; + /* Nonce value from client */ + int authlen; /* Auth string length */ + AuthorizationItemSet *authinfo; /* Authorization item set */ + + /* + * Get the Authorization Services data... + */ + + authorization += 8; + while (isspace(*authorization & 255)) + authorization ++; + + authlen = sizeof(authdata); + httpDecode64_2(authdata, &authlen, authorization); + + if (authlen != kAuthorizationExternalFormLength) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "External Authorization reference size is incorrect."); + return; + } + + if ((status = AuthorizationCreateFromExternalForm((AuthorizationExternalForm *)authdata, &con->authref)) != 0) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "AuthorizationCreateFromExternalForm returned %d", (int)status); + return; + } + + username[0] = '\0'; + + if (!AuthorizationCopyInfo(con->authref, kAuthorizationEnvironmentUsername, + &authinfo)) + { + if (authinfo->count == 1 && authinfo->items[0].value && + authinfo->items[0].valueLength >= 2) + { + strlcpy(username, authinfo->items[0].value, sizeof(username)); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Authorized as \"%s\" using AuthRef.", username); + } + + AuthorizationFreeItemSet(authinfo); + } + + if (!username[0]) + { + /* + * No username in AuthRef, grab username using peer credentials... + */ + + struct passwd *pwd; /* Password entry for this user */ + cupsd_ucred_t peercred; /* Peer credentials */ + socklen_t peersize; /* Size of peer credentials */ + + peersize = sizeof(peercred); + + if (getsockopt(httpGetFd(con->http), 0, LOCAL_PEERCRED, &peercred, &peersize)) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Unable to get peer credentials - %s", strerror(errno)); + return; + } + + if ((pwd = getpwuid(CUPSD_UCRED_UID(peercred))) == NULL) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Unable to find UID %d for peer credentials.", (int)CUPSD_UCRED_UID(peercred)); + return; + } + + strlcpy(username, pwd->pw_name, sizeof(username)); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Authorized as \"%s\" using AuthRef + PeerCred.", username); + } + + con->type = CUPSD_AUTH_BASIC; + } +#endif /* HAVE_AUTHORIZATION_H */ +#if defined(SO_PEERCRED) && defined(AF_LOCAL) + else if (!strncmp(authorization, "PeerCred ", 9) && + con->http->hostaddr->addr.sa_family == AF_LOCAL && con->best) + { + /* + * Use peer credentials from domain socket connection... + */ + + struct passwd *pwd; /* Password entry for this user */ + cupsd_ucred_t peercred; /* Peer credentials */ + socklen_t peersize; /* Size of peer credentials */ +#ifdef HAVE_AUTHORIZATION_H + const char *name; /* Authorizing name */ + int no_peer = 0; /* Don't allow peer credentials? */ + + /* + * See if we should allow peer credentials... + */ + + for (name = (char *)cupsArrayFirst(con->best->names); + name; + name = (char *)cupsArrayNext(con->best->names)) + { + if (!_cups_strncasecmp(name, "@AUTHKEY(", 9) || + !_cups_strcasecmp(name, "@SYSTEM")) + { + /* Normally don't want peer credentials if we need an auth key... */ + no_peer = 1; + } + else if (!_cups_strcasecmp(name, "@OWNER")) + { + /* but if @OWNER is present then we allow it... */ + no_peer = 0; + break; + } + } + + if (no_peer) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "PeerCred authentication not allowed for resource per AUTHKEY policy."); + return; + } +#endif /* HAVE_AUTHORIZATION_H */ + + if ((pwd = getpwnam(authorization + 9)) == NULL) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "User \"%s\" does not exist.", authorization + 9); + return; + } + + peersize = sizeof(peercred); + +# ifdef __APPLE__ + if (getsockopt(httpGetFd(con->http), 0, LOCAL_PEERCRED, &peercred, &peersize)) +# else + if (getsockopt(httpGetFd(con->http), SOL_SOCKET, SO_PEERCRED, &peercred, &peersize)) +# endif /* __APPLE__ */ + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Unable to get peer credentials - %s", strerror(errno)); + return; + } + + if (pwd->pw_uid != CUPSD_UCRED_UID(peercred)) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Invalid peer credentials for \"%s\" - got %d, expected %d.", authorization + 9, CUPSD_UCRED_UID(peercred), pwd->pw_uid); +# ifdef HAVE_SYS_UCRED_H + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "cr_version=%d", peercred.cr_version); + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "cr_uid=%d", peercred.cr_uid); + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "cr_ngroups=%d", peercred.cr_ngroups); + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "cr_groups[0]=%d", peercred.cr_groups[0]); +# endif /* HAVE_SYS_UCRED_H */ + return; + } + + strlcpy(username, authorization + 9, sizeof(username)); + +# ifdef HAVE_GSSAPI + con->gss_uid = CUPSD_UCRED_UID(peercred); +# endif /* HAVE_GSSAPI */ + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Authorized as %s using PeerCred.", username); + + con->type = CUPSD_AUTH_BASIC; + } +#endif /* SO_PEERCRED && AF_LOCAL */ + else if (!strncmp(authorization, "Local", 5) && + httpAddrLocalhost(httpGetAddress(con->http))) + { + /* + * Get Local certificate authentication data... + */ + + authorization += 5; + while (isspace(*authorization & 255)) + authorization ++; + + if ((localuser = cupsdFindCert(authorization)) == NULL) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Local authentication certificate not found."); + return; + } + + strlcpy(username, localuser->username, sizeof(username)); + con->type = localuser->type; + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Authorized as %s using Local.", username); + } + else if (!strncmp(authorization, "Basic", 5)) + { + /* + * Get the Basic authentication data... + */ + + int userlen; /* Username:password length */ + + + authorization += 5; + while (isspace(*authorization & 255)) + authorization ++; + + userlen = sizeof(username); + httpDecode64_2(username, &userlen, authorization); + + /* + * Pull the username and password out... + */ + + if ((ptr = strchr(username, ':')) == NULL) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Missing Basic password."); + return; + } + + *ptr++ = '\0'; + + if (!username[0]) + { + /* + * Username must not be empty... + */ + + cupsdLogClient(con, CUPSD_LOG_ERROR, "Empty Basic username."); + return; + } + + if (!*ptr) + { + /* + * Password must not be empty... + */ + + cupsdLogClient(con, CUPSD_LOG_ERROR, "Empty Basic password."); + return; + } + + strlcpy(password, ptr, sizeof(password)); + + /* + * Validate the username and password... + */ + + switch (type) + { + default : + case CUPSD_AUTH_BASIC : + { +#if HAVE_LIBPAM + /* + * Only use PAM to do authentication. This supports MD5 + * passwords, among other things... + */ + + pam_handle_t *pamh; /* PAM authentication handle */ + int pamerr; /* PAM error code */ + struct pam_conv pamdata;/* PAM conversation data */ + cupsd_authdata_t data; /* Authentication data */ + + + strlcpy(data.username, username, sizeof(data.username)); + strlcpy(data.password, password, sizeof(data.password)); + +# ifdef __sun + pamdata.conv = (int (*)(int, struct pam_message **, + struct pam_response **, + void *))pam_func; +# else + pamdata.conv = pam_func; +# endif /* __sun */ + pamdata.appdata_ptr = &data; + + pamerr = pam_start("cups", username, &pamdata, &pamh); + if (pamerr != PAM_SUCCESS) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "pam_start() returned %d (%s)", pamerr, pam_strerror(pamh, pamerr)); + return; + } + +# ifdef HAVE_PAM_SET_ITEM +# ifdef PAM_RHOST + pamerr = pam_set_item(pamh, PAM_RHOST, con->http->hostname); + if (pamerr != PAM_SUCCESS) + cupsdLogClient(con, CUPSD_LOG_WARN, "pam_set_item(PAM_RHOST) returned %d (%s)", pamerr, pam_strerror(pamh, pamerr)); +# endif /* PAM_RHOST */ + +# ifdef PAM_TTY + pamerr = pam_set_item(pamh, PAM_TTY, "cups"); + if (pamerr != PAM_SUCCESS) + cupsdLogClient(con, CUPSD_LOG_WARN, "pam_set_item(PAM_TTY) returned %d (%s)", pamerr, pam_strerror(pamh, pamerr)); +# endif /* PAM_TTY */ +# endif /* HAVE_PAM_SET_ITEM */ + + pamerr = pam_authenticate(pamh, PAM_SILENT); + if (pamerr != PAM_SUCCESS) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "pam_authenticate() returned %d (%s)", pamerr, pam_strerror(pamh, pamerr)); + pam_end(pamh, 0); + return; + } + +# ifdef HAVE_PAM_SETCRED + pamerr = pam_setcred(pamh, PAM_ESTABLISH_CRED | PAM_SILENT); + if (pamerr != PAM_SUCCESS) + cupsdLogClient(con, CUPSD_LOG_WARN, "pam_setcred() returned %d (%s)", pamerr, pam_strerror(pamh, pamerr)); +# endif /* HAVE_PAM_SETCRED */ + + pamerr = pam_acct_mgmt(pamh, PAM_SILENT); + if (pamerr != PAM_SUCCESS) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "pam_acct_mgmt() returned %d (%s)", pamerr, pam_strerror(pamh, pamerr)); + pam_end(pamh, 0); + return; + } + + pam_end(pamh, PAM_SUCCESS); + +#else + /* + * Use normal UNIX password file-based authentication... + */ + + char *pass; /* Encrypted password */ + struct passwd *pw; /* User password data */ +# ifdef HAVE_SHADOW_H + struct spwd *spw; /* Shadow password data */ +# endif /* HAVE_SHADOW_H */ + + + pw = getpwnam(username); /* Get the current password */ + endpwent(); /* Close the password file */ + + if (!pw) + { + /* + * No such user... + */ + + cupsdLogClient(con, CUPSD_LOG_ERROR, "Unknown username \"%s\".", username); + return; + } + +# ifdef HAVE_SHADOW_H + spw = getspnam(username); + endspent(); + + if (!spw && !strcmp(pw->pw_passwd, "x")) + { + /* + * Don't allow blank passwords! + */ + + cupsdLogClient(con, CUPSD_LOG_ERROR, "Username \"%s\" has no shadow password.", username); + return; + } + + if (spw && !spw->sp_pwdp[0] && !pw->pw_passwd[0]) +# else + if (!pw->pw_passwd[0]) +# endif /* HAVE_SHADOW_H */ + { + /* + * Don't allow blank passwords! + */ + + cupsdLogClient(con, CUPSD_LOG_ERROR, "Username \"%s\" has no password.", username); + return; + } + + /* + * OK, the password isn't blank, so compare with what came from the + * client... + */ + + pass = crypt(password, pw->pw_passwd); + + if (!pass || strcmp(pw->pw_passwd, pass)) + { +# ifdef HAVE_SHADOW_H + if (spw) + { + pass = crypt(password, spw->sp_pwdp); + + if (pass == NULL || strcmp(spw->sp_pwdp, pass)) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Authentication failed for user \"%s\".", username); + return; + } + } + else +# endif /* HAVE_SHADOW_H */ + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Authentication failed for user \"%s\".", username); + return; + } + } +#endif /* HAVE_LIBPAM */ + } + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Authorized as \"%s\" using Basic.", username); + break; + } + + con->type = type; + } +#ifdef HAVE_GSSAPI + else if (!strncmp(authorization, "Negotiate", 9)) + { + int len; /* Length of authorization string */ + gss_ctx_id_t context; /* Authorization context */ + OM_uint32 major_status, /* Major status code */ + minor_status; /* Minor status code */ + gss_buffer_desc input_token = GSS_C_EMPTY_BUFFER, + /* Input token from string */ + output_token = GSS_C_EMPTY_BUFFER; + /* Output token for username */ + gss_name_t client_name; /* Client name */ + + +# ifdef __APPLE__ + /* + * If the weak-linked GSSAPI/Kerberos library is not present, don't try + * to use it... + */ + + if (&gss_init_sec_context == NULL) + { + cupsdLogClient(con, CUPSD_LOG_WARN, "GSSAPI/Kerberos authentication failed because the Kerberos framework is not present."); + return; + } +# endif /* __APPLE__ */ + + /* + * Find the start of the Kerberos input token... + */ + + authorization += 9; + while (isspace(*authorization & 255)) + authorization ++; + + if (!*authorization) + { + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "No authentication data specified."); + return; + } + + /* + * Decode the authorization string to get the input token... + */ + + len = (int)strlen(authorization) + 0; + input_token.value = malloc((size_t)len); + input_token.value = httpDecode64_2(input_token.value, &len, + authorization); + input_token.length = (size_t)len; + + /* + * Accept the input token to get the authorization info... + */ + + context = GSS_C_NO_CONTEXT; + client_name = GSS_C_NO_NAME; + major_status = gss_accept_sec_context(&minor_status, + &context, + ServerCreds, + &input_token, + GSS_C_NO_CHANNEL_BINDINGS, + &client_name, + NULL, + &output_token, + NULL, + NULL, + NULL); + + if (output_token.length > 0) + gss_release_buffer(&minor_status, &output_token); + + if (GSS_ERROR(major_status)) + { + cupsdLogGSSMessage(CUPSD_LOG_DEBUG, major_status, minor_status, "[Client %d] Error accepting GSSAPI security context.", con->number); + + if (context != GSS_C_NO_CONTEXT) + gss_delete_sec_context(&minor_status, &context, GSS_C_NO_BUFFER); + return; + } + + con->have_gss = 1; + + /* + * Get the username associated with the client's credentials... + */ + + if (major_status == GSS_S_CONTINUE_NEEDED) + cupsdLogGSSMessage(CUPSD_LOG_DEBUG, major_status, minor_status, "[Client %d] Credentials not complete.", con->number); + else if (major_status == GSS_S_COMPLETE) + { + major_status = gss_display_name(&minor_status, client_name, + &output_token, NULL); + + if (GSS_ERROR(major_status)) + { + cupsdLogGSSMessage(CUPSD_LOG_DEBUG, major_status, minor_status, "[Client %d] Error getting username.", con->number); + gss_release_name(&minor_status, &client_name); + gss_delete_sec_context(&minor_status, &context, GSS_C_NO_BUFFER); + return; + } + + strlcpy(username, output_token.value, sizeof(username)); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Authorized as \"%s\" using Negotiate.", username); + + gss_release_name(&minor_status, &client_name); + gss_release_buffer(&minor_status, &output_token); + + con->type = CUPSD_AUTH_NEGOTIATE; + } + + gss_delete_sec_context(&minor_status, &context, GSS_C_NO_BUFFER); + +# if defined(SO_PEERCRED) && defined(AF_LOCAL) + /* + * Get the client's UID if we are printing locally - that allows a backend + * to run as the correct user to get Kerberos credentials of its own. + */ + + if (httpAddrFamily(con->http->hostaddr) == AF_LOCAL) + { + cupsd_ucred_t peercred; /* Peer credentials */ + socklen_t peersize; /* Size of peer credentials */ + + peersize = sizeof(peercred); + +# ifdef __APPLE__ + if (getsockopt(httpGetFd(con->http), 0, LOCAL_PEERCRED, &peercred, &peersize)) +# else + if (getsockopt(httpGetFd(con->http), SOL_SOCKET, SO_PEERCRED, &peercred, + &peersize)) +# endif /* __APPLE__ */ + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Unable to get peer credentials - %s", strerror(errno)); + } + else + { + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Using credentials for UID %d.", CUPSD_UCRED_UID(peercred)); + con->gss_uid = CUPSD_UCRED_UID(peercred); + } + } +# endif /* SO_PEERCRED && AF_LOCAL */ + } +#endif /* HAVE_GSSAPI */ + else + { + char scheme[256]; /* Auth scheme... */ + + + if (sscanf(authorization, "%255s", scheme) != 1) + strlcpy(scheme, "UNKNOWN", sizeof(scheme)); + + cupsdLogClient(con, CUPSD_LOG_ERROR, "Bad authentication data \"%s ...\".", scheme); + return; + } + + /* + * If we get here, then we were able to validate the username and + * password - copy the validated username and password to the client + * data and return... + */ + + strlcpy(con->username, username, sizeof(con->username)); + strlcpy(con->password, password, sizeof(con->password)); +} + + +/* + * 'cupsdCheckAccess()' - Check whether the given address is allowed to + * access a location. + */ + +int /* O - 1 if allowed, 0 otherwise */ +cupsdCheckAccess( + unsigned ip[4], /* I - Client address */ + const char *name, /* I - Client hostname */ + size_t namelen, /* I - Length of hostname */ + cupsd_location_t *loc) /* I - Location to check */ +{ + int allow; /* 1 if allowed, 0 otherwise */ + + + if (!_cups_strcasecmp(name, "localhost")) + { + /* + * Access from localhost (127.0.0.1 or ::1) is always allowed... + */ + + return (1); + } + else + { + /* + * Do authorization checks on the domain/address... + */ + + switch (loc->order_type) + { + default : + allow = 0; /* anti-compiler-warning-code */ + break; + + case CUPSD_AUTH_ALLOW : /* Order Deny,Allow */ + allow = 1; + + if (cupsdCheckAuth(ip, name, namelen, loc->deny)) + allow = 0; + + if (cupsdCheckAuth(ip, name, namelen, loc->allow)) + allow = 1; + break; + + case CUPSD_AUTH_DENY : /* Order Allow,Deny */ + allow = 0; + + if (cupsdCheckAuth(ip, name, namelen, loc->allow)) + allow = 1; + + if (cupsdCheckAuth(ip, name, namelen, loc->deny)) + allow = 0; + break; + } + } + + return (allow); +} + + +/* + * 'cupsdCheckAuth()' - Check authorization masks. + */ + +int /* O - 1 if mask matches, 0 otherwise */ +cupsdCheckAuth(unsigned ip[4], /* I - Client address */ + const char *name, /* I - Client hostname */ + size_t name_len, /* I - Length of hostname */ + cups_array_t *masks) /* I - Masks */ +{ + int i; /* Looping var */ + cupsd_authmask_t *mask; /* Current mask */ + cupsd_netif_t *iface; /* Network interface */ + unsigned netip4; /* IPv4 network address */ +#ifdef AF_INET6 + unsigned netip6[4]; /* IPv6 network address */ +#endif /* AF_INET6 */ + + + for (mask = (cupsd_authmask_t *)cupsArrayFirst(masks); + mask; + mask = (cupsd_authmask_t *)cupsArrayNext(masks)) + { + switch (mask->type) + { + case CUPSD_AUTH_INTERFACE : + /* + * Check for a match with a network interface... + */ + + netip4 = htonl(ip[3]); + +#ifdef AF_INET6 + netip6[0] = htonl(ip[0]); + netip6[1] = htonl(ip[1]); + netip6[2] = htonl(ip[2]); + netip6[3] = htonl(ip[3]); +#endif /* AF_INET6 */ + + cupsdNetIFUpdate(); + + if (!strcmp(mask->mask.name.name, "*")) + { +#ifdef __APPLE__ + /* + * Allow Back-to-My-Mac addresses... + */ + + if ((ip[0] & 0xff000000) == 0xfd000000) + return (1); +#endif /* __APPLE__ */ + + /* + * Check against all local interfaces... + */ + + for (iface = (cupsd_netif_t *)cupsArrayFirst(NetIFList); + iface; + iface = (cupsd_netif_t *)cupsArrayNext(NetIFList)) + { + /* + * Only check local interfaces... + */ + + if (!iface->is_local) + continue; + + if (iface->address.addr.sa_family == AF_INET) + { + /* + * Check IPv4 address... + */ + + if ((netip4 & iface->mask.ipv4.sin_addr.s_addr) == + (iface->address.ipv4.sin_addr.s_addr & + iface->mask.ipv4.sin_addr.s_addr)) + return (1); + } +#ifdef AF_INET6 + else + { + /* + * Check IPv6 address... + */ + + for (i = 0; i < 4; i ++) + if ((netip6[i] & iface->mask.ipv6.sin6_addr.s6_addr32[i]) != + (iface->address.ipv6.sin6_addr.s6_addr32[i] & + iface->mask.ipv6.sin6_addr.s6_addr32[i])) + break; + + if (i == 4) + return (1); + } +#endif /* AF_INET6 */ + } + } + else + { + /* + * Check the named interface... + */ + + for (iface = (cupsd_netif_t *)cupsArrayFirst(NetIFList); + iface; + iface = (cupsd_netif_t *)cupsArrayNext(NetIFList)) + { + if (strcmp(mask->mask.name.name, iface->name)) + continue; + + if (iface->address.addr.sa_family == AF_INET) + { + /* + * Check IPv4 address... + */ + + if ((netip4 & iface->mask.ipv4.sin_addr.s_addr) == + (iface->address.ipv4.sin_addr.s_addr & + iface->mask.ipv4.sin_addr.s_addr)) + return (1); + } +#ifdef AF_INET6 + else + { + /* + * Check IPv6 address... + */ + + for (i = 0; i < 4; i ++) + if ((netip6[i] & iface->mask.ipv6.sin6_addr.s6_addr32[i]) != + (iface->address.ipv6.sin6_addr.s6_addr32[i] & + iface->mask.ipv6.sin6_addr.s6_addr32[i])) + break; + + if (i == 4) + return (1); + } +#endif /* AF_INET6 */ + } + } + break; + + case CUPSD_AUTH_NAME : + /* + * Check for exact name match... + */ + + if (!_cups_strcasecmp(name, mask->mask.name.name)) + return (1); + + /* + * Check for domain match... + */ + + if (name_len >= mask->mask.name.length && + mask->mask.name.name[0] == '.' && + !_cups_strcasecmp(name + name_len - mask->mask.name.length, + mask->mask.name.name)) + return (1); + break; + + case CUPSD_AUTH_IP : + /* + * Check for IP/network address match... + */ + + for (i = 0; i < 4; i ++) + if ((ip[i] & mask->mask.ip.netmask[i]) != + mask->mask.ip.address[i]) + break; + + if (i == 4) + return (1); + break; + } + } + + return (0); +} + + +/* + * 'cupsdCheckGroup()' - Check for a user's group membership. + */ + +int /* O - 1 if user is a member, 0 otherwise */ +cupsdCheckGroup( + const char *username, /* I - User name */ + struct passwd *user, /* I - System user info */ + const char *groupname) /* I - Group name */ +{ + int i; /* Looping var */ + struct group *group; /* Group info */ + gid_t groupid; /* ID of named group */ +#ifdef HAVE_MBR_UID_TO_UUID + uuid_t useruuid, /* UUID for username */ + groupuuid; /* UUID for groupname */ + int is_member; /* True if user is a member of group */ +#endif /* HAVE_MBR_UID_TO_UUID */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCheckGroup(username=\"%s\", user=%p, groupname=\"%s\")", username, user, groupname); + + /* + * Validate input... + */ + + if (!username || !groupname) + return (0); + + /* + * Check to see if the user is a member of the named group... + */ + + group = getgrnam(groupname); + endgrent(); + + if (group != NULL) + { + /* + * Group exists, check it... + */ + + groupid = group->gr_gid; + + for (i = 0; group->gr_mem[i]; i ++) + { + /* + * User appears in the group membership... + */ + + if (!_cups_strcasecmp(username, group->gr_mem[i])) + return (1); + } + +#ifdef HAVE_GETGROUPLIST + /* + * If the user isn't in the group membership list, try the results from + * getgrouplist() which is supposed to return the full list of groups a user + * belongs to... + */ + + if (user) + { + int ngroups; /* Number of groups */ +# ifdef __APPLE__ + int groups[2048]; /* Groups that user belongs to */ +# else + gid_t groups[2048]; /* Groups that user belongs to */ +# endif /* __APPLE__ */ + + ngroups = (int)(sizeof(groups) / sizeof(groups[0])); +# ifdef __APPLE__ + getgrouplist(username, (int)user->pw_gid, groups, &ngroups); +# else + getgrouplist(username, user->pw_gid, groups, &ngroups); +#endif /* __APPLE__ */ + + for (i = 0; i < ngroups; i ++) + if ((int)groupid == (int)groups[i]) + return (1); + } +#endif /* HAVE_GETGROUPLIST */ + } + else + groupid = (gid_t)-1; + + /* + * Group doesn't exist or user not in group list, check the group ID + * against the user's group ID... + */ + + if (user && groupid == user->pw_gid) + return (1); + +#ifdef HAVE_MBR_UID_TO_UUID + /* + * Check group membership through macOS membership API... + */ + + if (user && !mbr_uid_to_uuid(user->pw_uid, useruuid)) + { + if (groupid != (gid_t)-1) + { + /* + * Map group name to UUID and check membership... + */ + + if (!mbr_gid_to_uuid(groupid, groupuuid)) + if (!mbr_check_membership(useruuid, groupuuid, &is_member)) + if (is_member) + return (1); + } + else if (groupname[0] == '#') + { + /* + * Use UUID directly and check for equality (user UUID) and + * membership (group UUID)... + */ + + if (!uuid_parse((char *)groupname + 1, groupuuid)) + { + if (!uuid_compare(useruuid, groupuuid)) + return (1); + else if (!mbr_check_membership(useruuid, groupuuid, &is_member)) + if (is_member) + return (1); + } + + return (0); + } + } + else if (groupname[0] == '#') + return (0); +#endif /* HAVE_MBR_UID_TO_UUID */ + + /* + * If we get this far, then the user isn't part of the named group... + */ + + return (0); +} + + +/* + * 'cupsdCopyLocation()' - Make a copy of a location... + */ + +cupsd_location_t * /* O - New location */ +cupsdCopyLocation( + cupsd_location_t *loc) /* I - Original location */ +{ + cupsd_location_t *temp; /* New location */ + + + /* + * Make a copy of the original location... + */ + + if ((temp = calloc(1, sizeof(cupsd_location_t))) == NULL) + return (NULL); + + /* + * Copy the information from the original location to the new one. + */ + + if (!loc) + return (temp); + + if (loc->location) + temp->location = _cupsStrAlloc(loc->location); + + temp->length = loc->length; + temp->limit = loc->limit; + temp->order_type = loc->order_type; + temp->type = loc->type; + temp->level = loc->level; + temp->satisfy = loc->satisfy; + temp->encryption = loc->encryption; + + if (loc->names) + { + if ((temp->names = cupsArrayDup(loc->names)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for %d names: %s", + cupsArrayCount(loc->names), strerror(errno)); + + cupsdFreeLocation(temp); + return (NULL); + } + } + + if (loc->allow) + { + /* + * Copy allow rules... + */ + + if ((temp->allow = cupsArrayDup(loc->allow)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for %d allow rules: %s", + cupsArrayCount(loc->allow), strerror(errno)); + cupsdFreeLocation(temp); + return (NULL); + } + } + + if (loc->deny) + { + /* + * Copy deny rules... + */ + + if ((temp->deny = cupsArrayDup(loc->deny)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for %d deny rules: %s", + cupsArrayCount(loc->deny), strerror(errno)); + cupsdFreeLocation(temp); + return (NULL); + } + } + + return (temp); +} + + +/* + * 'cupsdDeleteAllLocations()' - Free all memory used for location authorization. + */ + +void +cupsdDeleteAllLocations(void) +{ + /* + * Free the location array, which will free all of the locations... + */ + + cupsArrayDelete(Locations); + Locations = NULL; +} + + +/* + * 'cupsdFindBest()' - Find the location entry that best matches the resource. + */ + +cupsd_location_t * /* O - Location that matches */ +cupsdFindBest(const char *path, /* I - Resource path */ + http_state_t state) /* I - HTTP state/request */ +{ + char uri[HTTP_MAX_URI], + /* URI in request... */ + *uriptr; /* Pointer into URI */ + cupsd_location_t *loc, /* Current location */ + *best; /* Best match for location so far */ + size_t bestlen; /* Length of best match */ + int limit; /* Limit field */ + static const int limits[] = /* Map http_status_t to CUPSD_AUTH_LIMIT_xyz */ + { + CUPSD_AUTH_LIMIT_ALL, + CUPSD_AUTH_LIMIT_OPTIONS, + CUPSD_AUTH_LIMIT_GET, + CUPSD_AUTH_LIMIT_GET, + CUPSD_AUTH_LIMIT_HEAD, + CUPSD_AUTH_LIMIT_POST, + CUPSD_AUTH_LIMIT_POST, + CUPSD_AUTH_LIMIT_POST, + CUPSD_AUTH_LIMIT_PUT, + CUPSD_AUTH_LIMIT_PUT, + CUPSD_AUTH_LIMIT_DELETE, + CUPSD_AUTH_LIMIT_TRACE, + CUPSD_AUTH_LIMIT_ALL, + CUPSD_AUTH_LIMIT_ALL, + CUPSD_AUTH_LIMIT_ALL, + CUPSD_AUTH_LIMIT_ALL + }; + + + /* + * First copy the connection URI to a local string so we have drop + * any .ppd extension from the pathname in /printers or /classes + * URIs... + */ + + strlcpy(uri, path, sizeof(uri)); + + if ((uriptr = strchr(uri, '?')) != NULL) + *uriptr = '\0'; /* Drop trailing query string */ + + if ((uriptr = uri + strlen(uri) - 1) > uri && *uriptr == '/') + *uriptr = '\0'; /* Remove trailing '/' */ + + if (!strncmp(uri, "/printers/", 10) || + !strncmp(uri, "/classes/", 9)) + { + /* + * Check if the URI has .ppd on the end... + */ + + uriptr = uri + strlen(uri) - 4; /* len > 4 if we get here... */ + + if (!strcmp(uriptr, ".ppd")) + *uriptr = '\0'; + } + + /* + * Loop through the list of locations to find a match... + */ + + limit = limits[state]; + best = NULL; + bestlen = 0; + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdFindBest: uri=\"%s\", limit=%x...", uri, limit); + + + for (loc = (cupsd_location_t *)cupsArrayFirst(Locations); + loc; + loc = (cupsd_location_t *)cupsArrayNext(Locations)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdFindBest: Location %s(%d) Limit %x", loc->location ? loc->location : "(null)", (int)loc->length, loc->limit); + + if (!strncmp(uri, "/printers/", 10) || !strncmp(uri, "/classes/", 9)) + { + /* + * Use case-insensitive comparison for queue names... + */ + + if (loc->length > bestlen && loc->location && + !_cups_strncasecmp(uri, loc->location, loc->length) && + loc->location[0] == '/' && + (limit & loc->limit) != 0) + { + best = loc; + bestlen = loc->length; + } + } + else + { + /* + * Use case-sensitive comparison for other URIs... + */ + + if (loc->length > bestlen && loc->location && + !strncmp(uri, loc->location, loc->length) && + loc->location[0] == '/' && + (limit & loc->limit) != 0) + { + best = loc; + bestlen = loc->length; + } + } + } + + /* + * Return the match, if any... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdFindBest: best=%s", best ? best->location : "NONE"); + + return (best); +} + + +/* + * 'cupsdFindLocation()' - Find the named location. + */ + +cupsd_location_t * /* O - Location that matches */ +cupsdFindLocation(const char *location) /* I - Connection */ +{ + cupsd_location_t key; /* Search key */ + + + key.location = (char *)location; + + return ((cupsd_location_t *)cupsArrayFind(Locations, &key)); +} + + +/* + * 'cupsdFreeLocation()' - Free all memory used by a location. + */ + +void +cupsdFreeLocation(cupsd_location_t *loc)/* I - Location to free */ +{ + cupsArrayDelete(loc->names); + cupsArrayDelete(loc->allow); + cupsArrayDelete(loc->deny); + + _cupsStrFree(loc->location); + free(loc); +} + + +/* + * 'cupsdIsAuthorized()' - Check to see if the user is authorized... + */ + +http_status_t /* O - HTTP_OK if authorized or error code */ +cupsdIsAuthorized(cupsd_client_t *con, /* I - Connection */ + const char *owner)/* I - Owner of object */ +{ + int i, /* Looping vars */ + auth, /* Authorization status */ + type; /* Type of authentication */ + http_addr_t *hostaddr = httpGetAddress(con->http); + /* Client address */ + const char *hostname = httpGetHostname(con->http, NULL, 0); + /* Client hostname */ + unsigned address[4]; /* Authorization address */ + cupsd_location_t *best; /* Best match for location so far */ + size_t hostlen; /* Length of hostname */ + char *name, /* Current username */ + username[256], /* Username to authorize */ + ownername[256], /* Owner name to authorize */ + *ptr; /* Pointer into username */ + struct passwd *pw; /* User password data */ + static const char * const levels[] = /* Auth levels */ + { + "ANON", + "USER", + "GROUP" + }; + static const char * const types[] = /* Auth types */ + { + "None", + "Basic", + "Negotiate" + }; + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdIsAuthorized: con->uri=\"%s\", con->best=%p(%s)", con->uri, con->best, con->best ? con->best->location ? con->best->location : "(null)" : ""); + if (owner) + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdIsAuthorized: owner=\"%s\"", owner); + + /* + * If there is no "best" authentication rule for this request, then + * access is allowed from the local system and denied from other + * addresses... + */ + + if (!con->best) + { + if (httpAddrLocalhost(httpGetAddress(con->http)) || + !strcmp(hostname, ServerName) || + cupsArrayFind(ServerAlias, (void *)hostname)) + return (HTTP_OK); + else + return (HTTP_FORBIDDEN); + } + + best = con->best; + + if ((type = best->type) == CUPSD_AUTH_DEFAULT) + type = cupsdDefaultAuthType(); + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdIsAuthorized: level=CUPSD_AUTH_%s, type=%s, satisfy=CUPSD_AUTH_SATISFY_%s, num_names=%d", levels[best->level], types[type], best->satisfy ? "ANY" : "ALL", cupsArrayCount(best->names)); + + if (best->limit == CUPSD_AUTH_LIMIT_IPP) + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdIsAuthorized: op=%x(%s)", best->op, ippOpString(best->op)); + + /* + * Check host/ip-based accesses... + */ + +#ifdef AF_INET6 + if (httpAddrFamily(hostaddr) == AF_INET6) + { + /* + * Copy IPv6 address... + */ + + address[0] = ntohl(hostaddr->ipv6.sin6_addr.s6_addr32[0]); + address[1] = ntohl(hostaddr->ipv6.sin6_addr.s6_addr32[1]); + address[2] = ntohl(hostaddr->ipv6.sin6_addr.s6_addr32[2]); + address[3] = ntohl(hostaddr->ipv6.sin6_addr.s6_addr32[3]); + } + else +#endif /* AF_INET6 */ + if (con->http->hostaddr->addr.sa_family == AF_INET) + { + /* + * Copy IPv4 address... + */ + + address[0] = 0; + address[1] = 0; + address[2] = 0; + address[3] = ntohl(hostaddr->ipv4.sin_addr.s_addr); + } + else + memset(address, 0, sizeof(address)); + + hostlen = strlen(hostname); + + auth = cupsdCheckAccess(address, hostname, hostlen, best) + ? CUPSD_AUTH_ALLOW : CUPSD_AUTH_DENY; + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdIsAuthorized: auth=CUPSD_AUTH_%s...", auth ? "DENY" : "ALLOW"); + + if (auth == CUPSD_AUTH_DENY && best->satisfy == CUPSD_AUTH_SATISFY_ALL) + return (HTTP_FORBIDDEN); + +#ifdef HAVE_SSL + /* + * See if encryption is required... + */ + + if ((best->encryption >= HTTP_ENCRYPT_REQUIRED && !con->http->tls && + _cups_strcasecmp(hostname, "localhost") && + !httpAddrLocalhost(hostaddr) && + best->satisfy == CUPSD_AUTH_SATISFY_ALL) && + !(type == CUPSD_AUTH_NEGOTIATE || + (type == CUPSD_AUTH_NONE && + cupsdDefaultAuthType() == CUPSD_AUTH_NEGOTIATE))) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdIsAuthorized: Need upgrade to TLS..."); + return (HTTP_UPGRADE_REQUIRED); + } +#endif /* HAVE_SSL */ + + /* + * Now see what access level is required... + */ + + if (best->level == CUPSD_AUTH_ANON || /* Anonymous access - allow it */ + (type == CUPSD_AUTH_NONE && cupsArrayCount(best->names) == 0)) + return (HTTP_OK); + + if (!con->username[0] && type == CUPSD_AUTH_NONE && + best->limit == CUPSD_AUTH_LIMIT_IPP) + { + /* + * Check for unauthenticated username... + */ + + ipp_attribute_t *attr; /* requesting-user-name attribute */ + + + attr = ippFindAttribute(con->request, "requesting-user-name", IPP_TAG_NAME); + if (attr) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdIsAuthorized: requesting-user-name=\"%s\"", + attr->values[0].string.text); + strlcpy(username, attr->values[0].string.text, sizeof(username)); + } + else if (best->satisfy == CUPSD_AUTH_SATISFY_ALL || auth == CUPSD_AUTH_DENY) + return (HTTP_UNAUTHORIZED); /* Non-anonymous needs user/pass */ + else + return (HTTP_OK); /* unless overridden with Satisfy */ + } + else + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdIsAuthorized: username=\"%s\"", + con->username); + +#ifdef HAVE_AUTHORIZATION_H + if (!con->username[0] && !con->authref) +#else + if (!con->username[0]) +#endif /* HAVE_AUTHORIZATION_H */ + { + if (best->satisfy == CUPSD_AUTH_SATISFY_ALL || auth == CUPSD_AUTH_DENY) + return (HTTP_UNAUTHORIZED); /* Non-anonymous needs user/pass */ + else + return (HTTP_OK); /* unless overridden with Satisfy */ + } + + + if (con->type != type && type != CUPSD_AUTH_NONE && +#ifdef HAVE_GSSAPI + (type != CUPSD_AUTH_NEGOTIATE || con->gss_uid <= 0) && +#endif /* HAVE_GSSAPI */ + con->type != CUPSD_AUTH_BASIC) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Authorized using %s, expected %s.", + types[con->type], types[type]); + + return (HTTP_UNAUTHORIZED); + } + + strlcpy(username, con->username, sizeof(username)); + } + + /* + * OK, got a username. See if we need normal user access, or group + * access... (root always matches) + */ + + if (!strcmp(username, "root")) + return (HTTP_OK); + + /* + * Strip any @domain or @KDC from the username and owner... + */ + + if ((ptr = strchr(username, '@')) != NULL) + *ptr = '\0'; + + if (owner) + { + strlcpy(ownername, owner, sizeof(ownername)); + + if ((ptr = strchr(ownername, '@')) != NULL) + *ptr = '\0'; + } + else + ownername[0] = '\0'; + + /* + * Get the user info... + */ + + if (username[0]) + { + pw = getpwnam(username); + endpwent(); + } + else + pw = NULL; + + if (best->level == CUPSD_AUTH_USER) + { + /* + * If there are no names associated with this location, then + * any valid user is OK... + */ + + if (cupsArrayCount(best->names) == 0) + return (HTTP_OK); + + /* + * Otherwise check the user list and return OK if this user is + * allowed... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdIsAuthorized: Checking user membership..."); + +#ifdef HAVE_AUTHORIZATION_H + /* + * If an authorization reference was supplied it must match a right name... + */ + + if (con->authref) + { + for (name = (char *)cupsArrayFirst(best->names); + name; + name = (char *)cupsArrayNext(best->names)) + { + if (!_cups_strncasecmp(name, "@AUTHKEY(", 9) && check_authref(con, name + 9)) + return (HTTP_OK); + else if (!_cups_strcasecmp(name, "@SYSTEM") && SystemGroupAuthKey && + check_authref(con, SystemGroupAuthKey)) + return (HTTP_OK); + } + + return (HTTP_FORBIDDEN); + } +#endif /* HAVE_AUTHORIZATION_H */ + + for (name = (char *)cupsArrayFirst(best->names); + name; + name = (char *)cupsArrayNext(best->names)) + { + if (!_cups_strcasecmp(name, "@OWNER") && owner && + !_cups_strcasecmp(username, ownername)) + return (HTTP_OK); + else if (!_cups_strcasecmp(name, "@SYSTEM")) + { + for (i = 0; i < NumSystemGroups; i ++) + if (cupsdCheckGroup(username, pw, SystemGroups[i])) + return (HTTP_OK); + } + else if (name[0] == '@') + { + if (cupsdCheckGroup(username, pw, name + 1)) + return (HTTP_OK); + } + else if (!_cups_strcasecmp(username, name)) + return (HTTP_OK); + } + + return (con->username[0] ? HTTP_FORBIDDEN : HTTP_UNAUTHORIZED); + } + + /* + * Check to see if this user is in any of the named groups... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdIsAuthorized: Checking group membership..."); + + /* + * Check to see if this user is in any of the named groups... + */ + + for (name = (char *)cupsArrayFirst(best->names); + name; + name = (char *)cupsArrayNext(best->names)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdIsAuthorized: Checking group \"%s\" membership...", name); + + if (!_cups_strcasecmp(name, "@SYSTEM")) + { + for (i = 0; i < NumSystemGroups; i ++) + if (cupsdCheckGroup(username, pw, SystemGroups[i])) + return (HTTP_OK); + } + else if (cupsdCheckGroup(username, pw, name)) + return (HTTP_OK); + } + + /* + * The user isn't part of the specified group, so deny access... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdIsAuthorized: User not in group(s)."); + + return (con->username[0] ? HTTP_FORBIDDEN : HTTP_UNAUTHORIZED); +} + + +/* + * 'cupsdNewLocation()' - Create a new location for authorization. + * + * Note: Still need to call cupsdAddLocation() to add it to the list of global + * locations. + */ + +cupsd_location_t * /* O - Pointer to new location record */ +cupsdNewLocation(const char *location) /* I - Location path */ +{ + cupsd_location_t *temp; /* New location */ + + + /* + * Try to allocate memory for the new location. + */ + + if ((temp = calloc(1, sizeof(cupsd_location_t))) == NULL) + return (NULL); + + /* + * Initialize the record and copy the name over... + */ + + if ((temp->location = _cupsStrAlloc(location)) == NULL) + { + free(temp); + return (NULL); + } + + temp->length = strlen(temp->location); + + /* + * Return the new record... + */ + + return (temp); +} + + +#ifdef HAVE_AUTHORIZATION_H +/* + * 'check_authref()' - Check if an authorization services reference has the + * supplied right. + */ + +static int /* O - 1 if right is valid, 0 otherwise */ +check_authref(cupsd_client_t *con, /* I - Connection */ + const char *right) /* I - Right name */ +{ + OSStatus status; /* OS Status */ + AuthorizationItem authright; /* Authorization right */ + AuthorizationRights authrights; /* Authorization rights */ + AuthorizationFlags authflags; /* Authorization flags */ + + + /* + * Check to see if the user is allowed to perform the task... + */ + + if (!con->authref) + return (0); + + authright.name = right; + authright.valueLength = 0; + authright.value = NULL; + authright.flags = 0; + + authrights.count = 1; + authrights.items = &authright; + + authflags = kAuthorizationFlagDefaults | + kAuthorizationFlagExtendRights; + + if ((status = AuthorizationCopyRights(con->authref, &authrights, + kAuthorizationEmptyEnvironment, + authflags, NULL)) != 0) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "AuthorizationCopyRights(\"%s\") returned %d", authright.name, (int)status); + return (0); + } + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "AuthorizationCopyRights(\"%s\") succeeded.", authright.name); + + return (1); +} +#endif /* HAVE_AUTHORIZATION_H */ + + +/* + * 'compare_locations()' - Compare two locations. + */ + +static int /* O - Result of comparison */ +compare_locations(cupsd_location_t *a, /* I - First location */ + cupsd_location_t *b) /* I - Second location */ +{ + return (strcmp(b->location, a->location)); +} + + +/* + * 'copy_authmask()' - Copy function for auth masks. + */ + +static cupsd_authmask_t * /* O - New auth mask */ +copy_authmask(cupsd_authmask_t *mask, /* I - Existing auth mask */ + void *data) /* I - User data (unused) */ +{ + cupsd_authmask_t *temp; /* New auth mask */ + + + (void)data; + + if ((temp = malloc(sizeof(cupsd_authmask_t))) != NULL) + { + memcpy(temp, mask, sizeof(cupsd_authmask_t)); + + if (temp->type == CUPSD_AUTH_NAME || temp->type == CUPSD_AUTH_INTERFACE) + { + /* + * Make a copy of the name... + */ + + if ((temp->mask.name.name = _cupsStrAlloc(temp->mask.name.name)) == NULL) + { + /* + * Failed to make copy... + */ + + free(temp); + temp = NULL; + } + } + } + + return (temp); +} + + +/* + * 'free_authmask()' - Free function for auth masks. + */ + +static void +free_authmask(cupsd_authmask_t *mask, /* I - Auth mask to free */ + void *data) /* I - User data (unused) */ +{ + (void)data; + + if (mask->type == CUPSD_AUTH_NAME || mask->type == CUPSD_AUTH_INTERFACE) + _cupsStrFree(mask->mask.name.name); + + free(mask); +} + + +#if HAVE_LIBPAM +/* + * 'pam_func()' - PAM conversation function. + */ + +static int /* O - Success or failure */ +pam_func( + int num_msg, /* I - Number of messages */ + const struct pam_message **msg, /* I - Messages */ + struct pam_response **resp, /* O - Responses */ + void *appdata_ptr) + /* I - Pointer to connection */ +{ + int i; /* Looping var */ + struct pam_response *replies; /* Replies */ + cupsd_authdata_t *data; /* Pointer to auth data */ + + + /* + * Allocate memory for the responses... + */ + + if ((replies = malloc(sizeof(struct pam_response) * (size_t)num_msg)) == NULL) + return (PAM_CONV_ERR); + + /* + * Answer all of the messages... + */ + + data = (cupsd_authdata_t *)appdata_ptr; + + for (i = 0; i < num_msg; i ++) + { + switch (msg[i]->msg_style) + { + case PAM_PROMPT_ECHO_ON: + replies[i].resp_retcode = PAM_SUCCESS; + replies[i].resp = strdup(data->username); + break; + + case PAM_PROMPT_ECHO_OFF: + replies[i].resp_retcode = PAM_SUCCESS; + replies[i].resp = strdup(data->password); + break; + + case PAM_TEXT_INFO: + replies[i].resp_retcode = PAM_SUCCESS; + replies[i].resp = NULL; + break; + + case PAM_ERROR_MSG: + replies[i].resp_retcode = PAM_SUCCESS; + replies[i].resp = NULL; + break; + + default: + free(replies); + return (PAM_CONV_ERR); + } + } + + /* + * Return the responses back to PAM... + */ + + *resp = replies; + + return (PAM_SUCCESS); +} +#endif /* HAVE_LIBPAM */ diff --git a/scheduler/auth.h b/scheduler/auth.h new file mode 100644 index 0000000..d7079eb --- /dev/null +++ b/scheduler/auth.h @@ -0,0 +1,136 @@ +/* + * Authorization definitions for the CUPS scheduler. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include + + +/* + * HTTP authorization types and levels... + */ + +#define CUPSD_AUTH_DEFAULT -1 /* Use DefaultAuthType */ +#define CUPSD_AUTH_NONE 0 /* No authentication */ +#define CUPSD_AUTH_BASIC 1 /* Basic authentication */ +#define CUPSD_AUTH_NEGOTIATE 2 /* Kerberos authentication */ +#define CUPSD_AUTH_AUTO 3 /* Kerberos or Basic, depending on configuration of server */ + +#define CUPSD_AUTH_ANON 0 /* Anonymous access */ +#define CUPSD_AUTH_USER 1 /* Must have a valid username/password */ +#define CUPSD_AUTH_GROUP 2 /* Must also be in a named group */ + +#define CUPSD_AUTH_ALLOW 0 /* Allow access */ +#define CUPSD_AUTH_DENY 1 /* Deny access */ + +#define CUPSD_AUTH_NAME 0 /* Authorize host by name */ +#define CUPSD_AUTH_IP 1 /* Authorize host by IP */ +#define CUPSD_AUTH_INTERFACE 2 /* Authorize host by interface */ + +#define CUPSD_AUTH_SATISFY_ALL 0 /* Satisfy both address and auth */ +#define CUPSD_AUTH_SATISFY_ANY 1 /* Satisfy either address or auth */ + +#define CUPSD_AUTH_LIMIT_DELETE 1 /* Limit DELETE requests */ +#define CUPSD_AUTH_LIMIT_GET 2 /* Limit GET requests */ +#define CUPSD_AUTH_LIMIT_HEAD 4 /* Limit HEAD requests */ +#define CUPSD_AUTH_LIMIT_OPTIONS 8 /* Limit OPTIONS requests */ +#define CUPSD_AUTH_LIMIT_POST 16 /* Limit POST requests */ +#define CUPSD_AUTH_LIMIT_PUT 32 /* Limit PUT requests */ +#define CUPSD_AUTH_LIMIT_TRACE 64 /* Limit TRACE requests */ +#define CUPSD_AUTH_LIMIT_ALL 127 /* Limit all requests */ +#define CUPSD_AUTH_LIMIT_IPP 128 /* Limit IPP requests */ + +#define IPP_ANY_OPERATION (ipp_op_t)0 + /* Any IPP operation */ +#define IPP_BAD_OPERATION (ipp_op_t)-1 + /* No IPP operation */ + + +/* + * HTTP access control structures... + */ + +typedef struct +{ + unsigned address[4], /* IP address */ + netmask[4]; /* IP netmask */ +} cupsd_ipmask_t; + +typedef struct +{ + size_t length; /* Length of name */ + char *name; /* Name string */ +} cupsd_namemask_t; + +typedef struct +{ + int type; /* Mask type */ + union + { + cupsd_namemask_t name; /* Host/Domain name */ + cupsd_ipmask_t ip; /* IP address/network */ + } mask; /* Mask data */ +} cupsd_authmask_t; + +typedef struct +{ + char *location; /* Location of resource */ + size_t length; /* Length of location string */ + ipp_op_t op; /* IPP operation */ + int limit, /* Limit for these types of requests */ + order_type, /* Allow or Deny */ + type, /* Type of authentication */ + level, /* Access level required */ + satisfy; /* Satisfy any or all limits? */ + cups_array_t *names, /* User or group names */ + *allow, /* Allow lines */ + *deny; /* Deny lines */ + http_encryption_t encryption; /* To encrypt or not to encrypt... */ +} cupsd_location_t; + +typedef struct cupsd_client_s cupsd_client_t; + + +/* + * Globals... + */ + +VAR cups_array_t *Locations VALUE(NULL); + /* Authorization locations */ +#ifdef HAVE_SSL +VAR http_encryption_t DefaultEncryption VALUE(HTTP_ENCRYPT_REQUIRED); + /* Default encryption for authentication */ +#endif /* HAVE_SSL */ + + +/* + * Prototypes... + */ + +extern int cupsdAddIPMask(cups_array_t **masks, + const unsigned address[4], + const unsigned netmask[4]); +extern void cupsdAddLocation(cupsd_location_t *loc); +extern void cupsdAddName(cupsd_location_t *loc, char *name); +extern int cupsdAddNameMask(cups_array_t **masks, char *name); +extern void cupsdAuthorize(cupsd_client_t *con); +extern int cupsdCheckAccess(unsigned ip[4], const char *name, size_t namelen, cupsd_location_t *loc); +extern int cupsdCheckAuth(unsigned ip[4], const char *name, size_t namelen, cups_array_t *masks); +extern int cupsdCheckGroup(const char *username, + struct passwd *user, + const char *groupname); +extern cupsd_location_t *cupsdCopyLocation(cupsd_location_t *loc); +extern void cupsdDeleteAllLocations(void); +extern cupsd_location_t *cupsdFindBest(const char *path, http_state_t state); +extern cupsd_location_t *cupsdFindLocation(const char *location); +extern void cupsdFreeLocation(cupsd_location_t *loc); +extern http_status_t cupsdIsAuthorized(cupsd_client_t *con, const char *owner); +extern cupsd_location_t *cupsdNewLocation(const char *location); diff --git a/scheduler/banners.c b/scheduler/banners.c new file mode 100644 index 0000000..e939923 --- /dev/null +++ b/scheduler/banners.c @@ -0,0 +1,205 @@ +/* + * Banner routines for the CUPS scheduler. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include + + +/* + * Local functions... + */ + +static void add_banner(const char *name, const char *filename); +static int compare_banners(const cupsd_banner_t *b0, + const cupsd_banner_t *b1); +static void free_banners(void); + + +/* + * 'cupsdFindBanner()' - Find a named banner. + */ + +cupsd_banner_t * /* O - Pointer to banner or NULL */ +cupsdFindBanner(const char *name) /* I - Name of banner */ +{ + cupsd_banner_t key; /* Search key */ + + + key.name = (char *)name; + + return ((cupsd_banner_t *)cupsArrayFind(Banners, &key)); +} + + +/* + * 'cupsdLoadBanners()' - Load all available banner files... + */ + +void +cupsdLoadBanners(const char *d) /* I - Directory to search */ +{ + cups_dir_t *dir; /* Directory pointer */ + cups_dentry_t *dent; /* Directory entry */ + char filename[1024], /* Name of banner */ + *ext; /* Pointer to extension */ + + + /* + * Free old banner info... + */ + + free_banners(); + + /* + * Try opening the banner directory... + */ + + if ((dir = cupsDirOpen(d)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "cupsdLoadBanners: Unable to open banner directory \"%s\": %s", + d, strerror(errno)); + return; + } + + /* + * Read entries, skipping directories and backup files. + */ + + Banners = cupsArrayNew((cups_array_func_t)compare_banners, NULL); + + while ((dent = cupsDirRead(dir)) != NULL) + { + /* + * Check the file to make sure it isn't a directory or a backup + * file of some sort... + */ + + snprintf(filename, sizeof(filename), "%s/%s", d, dent->filename); + + if (S_ISDIR(dent->fileinfo.st_mode)) + continue; + + if (dent->filename[0] == '~' || + dent->filename[strlen(dent->filename) - 1] == '~') + continue; + + if ((ext = strrchr(dent->filename, '.')) != NULL) + if (!strcmp(ext, ".bck") || + !strcmp(ext, ".bak") || + !strcmp(ext, ".sav")) + continue; + + /* + * Must be a valid file; add it! + */ + + add_banner(dent->filename, filename); + } + + /* + * Close the directory... + */ + + cupsDirClose(dir); +} + + +/* + * 'add_banner()' - Add a banner to the array. + */ + +static void +add_banner(const char *name, /* I - Name of banner */ + const char *filename) /* I - Filename for banner */ +{ + mime_type_t *filetype; /* Filetype */ + cupsd_banner_t *temp; /* New banner data */ + + + /* + * See what the filetype is... + */ + + if ((filetype = mimeFileType(MimeDatabase, filename, NULL, NULL)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_WARN, + "add_banner: Banner \"%s\" (\"%s\") is of an unknown file " + "type - skipping!", name, filename); + return; + } + + /* + * Allocate memory... + */ + + if ((temp = calloc(1, sizeof(cupsd_banner_t))) == NULL) + { + cupsdLogMessage(CUPSD_LOG_WARN, + "add_banner: Unable to allocate memory for banner \"%s\" - " + "skipping!", name); + return; + } + + /* + * Copy the new banner data over... + */ + + if ((temp->name = strdup(name)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_WARN, + "add_banner: Unable to allocate memory for banner \"%s\" - " + "skipping!", name); + free(temp); + return; + } + + temp->filetype = filetype; + + cupsArrayAdd(Banners, temp); +} + + +/* + * 'compare_banners()' - Compare two banners. + */ + +static int /* O - -1 if name0 < name1, etc. */ +compare_banners( + const cupsd_banner_t *b0, /* I - First banner */ + const cupsd_banner_t *b1) /* I - Second banner */ +{ + return (_cups_strcasecmp(b0->name, b1->name)); +} + + +/* + * 'free_banners()' - Free all banners. + */ + +static void +free_banners(void) +{ + cupsd_banner_t *temp; /* Current banner */ + + + for (temp = (cupsd_banner_t *)cupsArrayFirst(Banners); + temp; + temp = (cupsd_banner_t *)cupsArrayNext(Banners)) + { + free(temp->name); + free(temp); + } + + cupsArrayDelete(Banners); + Banners = NULL; +} diff --git a/scheduler/banners.h b/scheduler/banners.h new file mode 100644 index 0000000..1bc3702 --- /dev/null +++ b/scheduler/banners.h @@ -0,0 +1,34 @@ +/* + * Banner definitions for the CUPS scheduler. + * + * Copyright 2007-2010 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Banner information structure... + */ + +typedef struct /**** Banner file information ****/ +{ + char *name; /* Name of banner */ + mime_type_t *filetype; /* Filetype for banner */ +} cupsd_banner_t; + + +/* + * Globals... + */ + +VAR cups_array_t *Banners VALUE(NULL); + /* Available banner files */ + + +/* + * Prototypes... + */ + +extern cupsd_banner_t *cupsdFindBanner(const char *name); +extern void cupsdLoadBanners(const char *d); diff --git a/scheduler/cert.c b/scheduler/cert.c new file mode 100644 index 0000000..258e8fc --- /dev/null +++ b/scheduler/cert.c @@ -0,0 +1,438 @@ +/* + * Authentication certificate routines for the CUPS scheduler. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#ifdef HAVE_ACL_INIT +# include +# ifdef HAVE_MEMBERSHIP_H +# include +# endif /* HAVE_MEMBERSHIP_H */ +#endif /* HAVE_ACL_INIT */ + + +/* + * Local functions... + */ + +static int ctcompare(const char *a, const char *b); + + +/* + * 'cupsdAddCert()' - Add a certificate. + */ + +void +cupsdAddCert(int pid, /* I - Process ID */ + const char *username, /* I - Username */ + int type) /* I - AuthType for username */ +{ + int i; /* Looping var */ + cupsd_cert_t *cert; /* Current certificate */ + int fd; /* Certificate file */ + char filename[1024]; /* Certificate filename */ + static const char hex[] = "0123456789ABCDEF"; + /* Hex constants... */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdAddCert: Adding certificate for PID %d", pid); + + /* + * Allocate memory for the certificate... + */ + + if ((cert = calloc(sizeof(cupsd_cert_t), 1)) == NULL) + return; + + /* + * Fill in the certificate information... + */ + + cert->pid = pid; + cert->type = type; + strlcpy(cert->username, username, sizeof(cert->username)); + + for (i = 0; i < 32; i ++) + cert->certificate[i] = hex[CUPS_RAND() & 15]; + + /* + * Save the certificate to a file readable only by the User and Group + * (or root and SystemGroup for PID == 0)... + */ + + snprintf(filename, sizeof(filename), "%s/certs/%d", StateDir, pid); + unlink(filename); + + if ((fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0400)) < 0) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to create certificate file %s - %s", + filename, strerror(errno)); + free(cert); + return; + } + + if (pid == 0) + { +#ifdef HAVE_ACL_INIT + acl_t acl; /* ACL information */ + acl_entry_t entry; /* ACL entry */ + acl_permset_t permset; /* Permissions */ +# ifdef HAVE_MBR_UID_TO_UUID + uuid_t group; /* Group ID */ +# endif /* HAVE_MBR_UID_TO_UUID */ + static int acls_not_supported = 0; + /* Only warn once */ +#endif /* HAVE_ACL_INIT */ + + + /* + * Root certificate... + */ + + fchmod(fd, 0440); + fchown(fd, RunUser, SystemGroupIDs[0]); + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdAddCert: NumSystemGroups=%d", NumSystemGroups); + +#ifdef HAVE_ACL_INIT + if (NumSystemGroups > 1) + { + /* + * Set POSIX ACLs for the root certificate so that all system + * groups can access it... + */ + + int j; /* Looping var */ + +# ifdef HAVE_MBR_UID_TO_UUID + /* + * On macOS, ACLs use UUIDs instead of GIDs... + */ + + acl = acl_init(NumSystemGroups - 1); + + for (i = 1; i < NumSystemGroups; i ++) + { + /* + * Add each group ID to the ACL... + */ + + for (j = 0; j < i; j ++) + if (SystemGroupIDs[j] == SystemGroupIDs[i]) + break; + + if (j < i) + continue; /* Skip duplicate groups */ + + acl_create_entry(&acl, &entry); + acl_get_permset(entry, &permset); + acl_add_perm(permset, ACL_READ_DATA); + acl_set_tag_type(entry, ACL_EXTENDED_ALLOW); + mbr_gid_to_uuid((gid_t)SystemGroupIDs[i], group); + acl_set_qualifier(entry, &group); + acl_set_permset(entry, permset); + } + +# else + /* + * POSIX ACLs need permissions for owner, group, other, and mask + * in addition to the rest of the system groups... + */ + + acl = acl_init(NumSystemGroups + 3); + + /* Owner */ + acl_create_entry(&acl, &entry); + acl_get_permset(entry, &permset); + acl_add_perm(permset, ACL_READ); + acl_set_tag_type(entry, ACL_USER_OBJ); + acl_set_permset(entry, permset); + + /* Group */ + acl_create_entry(&acl, &entry); + acl_get_permset(entry, &permset); + acl_add_perm(permset, ACL_READ); + acl_set_tag_type(entry, ACL_GROUP_OBJ); + acl_set_permset(entry, permset); + + /* Others */ + acl_create_entry(&acl, &entry); + acl_get_permset(entry, &permset); + acl_add_perm(permset, 0); + acl_set_tag_type(entry, ACL_OTHER); + acl_set_permset(entry, permset); + + /* Mask */ + acl_create_entry(&acl, &entry); + acl_get_permset(entry, &permset); + acl_add_perm(permset, ACL_READ); + acl_set_tag_type(entry, ACL_MASK); + acl_set_permset(entry, permset); + + for (i = 1; i < NumSystemGroups; i ++) + { + /* + * Add each group ID to the ACL... + */ + + for (j = 0; j < i; j ++) + if (SystemGroupIDs[j] == SystemGroupIDs[i]) + break; + + if (j < i) + continue; /* Skip duplicate groups */ + + acl_create_entry(&acl, &entry); + acl_get_permset(entry, &permset); + acl_add_perm(permset, ACL_READ); + acl_set_tag_type(entry, ACL_GROUP); + acl_set_qualifier(entry, SystemGroupIDs + i); + acl_set_permset(entry, permset); + } + + if (acl_valid(acl)) + { + char *text, *textptr; /* Temporary string */ + + cupsdLogMessage(CUPSD_LOG_ERROR, "ACL did not validate: %s", + strerror(errno)); + text = acl_to_text(acl, NULL); + for (textptr = strchr(text, '\n'); + textptr; + textptr = strchr(textptr + 1, '\n')) + *textptr = ','; + + cupsdLogMessage(CUPSD_LOG_ERROR, "ACL: %s", text); + acl_free(text); + } +# endif /* HAVE_MBR_UID_TO_UUID */ + + if (acl_set_fd(fd, acl)) + { + if (errno != EOPNOTSUPP || !acls_not_supported) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to set ACLs on root certificate \"%s\" - %s", + filename, strerror(errno)); + + if (errno == EOPNOTSUPP) + acls_not_supported = 1; + } + + acl_free(acl); + } +#endif /* HAVE_ACL_INIT */ + + RootCertTime = time(NULL); + } + else + { + /* + * CGI certificate... + */ + + fchmod(fd, 0400); + fchown(fd, User, Group); + } + + write(fd, cert->certificate, strlen(cert->certificate)); + close(fd); + + /* + * Insert the certificate at the front of the list... + */ + + cert->next = Certs; + Certs = cert; +} + + +/* + * 'cupsdDeleteCert()' - Delete a single certificate. + */ + +void +cupsdDeleteCert(int pid) /* I - Process ID */ +{ + cupsd_cert_t *cert, /* Current certificate */ + *prev; /* Previous certificate */ + char filename[1024]; /* Certificate file */ + + + for (prev = NULL, cert = Certs; cert != NULL; prev = cert, cert = cert->next) + if (cert->pid == pid) + { + /* + * Remove this certificate from the list... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdDeleteCert: Removing certificate for PID %d.", pid); + + if (prev == NULL) + Certs = cert->next; + else + prev->next = cert->next; + + free(cert); + + /* + * Delete the file and return... + */ + + snprintf(filename, sizeof(filename), "%s/certs/%d", StateDir, pid); + if (unlink(filename)) + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to remove %s!", filename); + + return; + } +} + + +/* + * 'cupsdDeleteAllCerts()' - Delete all certificates... + */ + +void +cupsdDeleteAllCerts(void) +{ + cupsd_cert_t *cert, /* Current certificate */ + *next; /* Next certificate */ + char filename[1024]; /* Certificate file */ + + + /* + * Loop through each certificate, deleting them... + */ + + for (cert = Certs; cert != NULL; cert = next) + { + /* + * Delete the file... + */ + + snprintf(filename, sizeof(filename), "%s/certs/%d", StateDir, cert->pid); + if (unlink(filename)) + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to remove %s!", filename); + + /* + * Free memory... + */ + + next = cert->next; + free(cert); + } + + Certs = NULL; + RootCertTime = 0; +} + + +/* + * 'cupsdFindCert()' - Find a certificate. + */ + +cupsd_cert_t * /* O - Matching certificate or NULL */ +cupsdFindCert(const char *certificate) /* I - Certificate */ +{ + cupsd_cert_t *cert; /* Current certificate */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdFindCert(certificate=%s)", certificate); + for (cert = Certs; cert != NULL; cert = cert->next) + if (!ctcompare(certificate, cert->certificate)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdFindCert: Returning \"%s\".", cert->username); + return (cert); + } + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdFindCert: Certificate not found."); + + return (NULL); +} + + +/* + * 'cupsdInitCerts()' - Initialize the certificate "system" and root + * certificate. + */ + +void +cupsdInitCerts(void) +{ +#ifndef HAVE_ARC4RANDOM + cups_file_t *fp; /* /dev/random file */ + + + /* + * Initialize the random number generator using the random device or + * the current time, as available... + */ + + if ((fp = cupsFileOpen("/dev/urandom", "rb")) == NULL) + { + struct timeval tod; /* Time of day */ + + /* + * Get the time in usecs and use it as the initial seed... + */ + + gettimeofday(&tod, NULL); + + CUPS_SRAND((unsigned)(tod.tv_sec + tod.tv_usec)); + } + else + { + unsigned seed; /* Seed for random number generator */ + + /* + * Read 4 random characters from the random device and use + * them as the seed... + */ + + seed = (unsigned)cupsFileGetChar(fp); + seed = (seed << 8) | (unsigned)cupsFileGetChar(fp); + seed = (seed << 8) | (unsigned)cupsFileGetChar(fp); + CUPS_SRAND((seed << 8) | (unsigned)cupsFileGetChar(fp)); + + cupsFileClose(fp); + } +#endif /* !HAVE_ARC4RANDOM */ + + /* + * Create a root certificate and return... + */ + + if (!RunUser) + cupsdAddCert(0, "root", cupsdDefaultAuthType()); +} + + +/* + * 'ctcompare()' - Compare two strings in constant time. + */ + +static int /* O - 0 on match, non-zero on non-match */ +ctcompare(const char *a, /* I - First string */ + const char *b) /* I - Second string */ +{ + int result = 0; /* Result */ + + + while (*a && *b) + { + result |= *a ^ *b; + a ++; + b ++; + } + + return (result); +} diff --git a/scheduler/cert.h b/scheduler/cert.h new file mode 100644 index 0000000..a49663d --- /dev/null +++ b/scheduler/cert.h @@ -0,0 +1,42 @@ +/* + * Authentication certificate definitions for the CUPS scheduler. + * + * Copyright 2007-2012 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Certificate structure... + */ + +typedef struct cupsd_cert_s +{ + struct cupsd_cert_s *next; /* Next certificate in list */ + int pid; /* Process ID (0 for root certificate) */ + char certificate[33]; /* 32 hex characters, or 128 bits */ + char username[33]; /* Authenticated username */ + int type; /* AuthType for username */ +} cupsd_cert_t; + + +/* + * Globals... + */ + +VAR cupsd_cert_t *Certs /* List of certificates */ + VALUE(NULL); +VAR time_t RootCertTime /* Root certificate update time */ + VALUE(0); + + +/* + * Prototypes... + */ + +extern void cupsdAddCert(int pid, const char *username, int type); +extern void cupsdDeleteCert(int pid); +extern void cupsdDeleteAllCerts(void); +extern cupsd_cert_t *cupsdFindCert(const char *certificate); +extern void cupsdInitCerts(void); diff --git a/scheduler/classes.c b/scheduler/classes.c new file mode 100644 index 0000000..14d2558 --- /dev/null +++ b/scheduler/classes.c @@ -0,0 +1,809 @@ +/* + * Printer class routines for the CUPS scheduler. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" + + +/* + * 'cupsdAddClass()' - Add a class to the system. + */ + +cupsd_printer_t * /* O - New class */ +cupsdAddClass(const char *name) /* I - Name of class */ +{ + cupsd_printer_t *c; /* New class */ + char uri[1024]; /* Class URI */ + + + /* + * Add the printer and set the type to "class"... + */ + + if ((c = cupsdAddPrinter(name)) != NULL) + { + /* + * Change from a printer to a class... + */ + + c->type = CUPS_PRINTER_CLASS; + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + ServerName, RemotePort, "/classes/%s", name); + cupsdSetString(&c->uri, uri); + + cupsdSetString(&c->error_policy, "retry-current-job"); + } + + return (c); +} + + +/* + * 'cupsdAddPrinterToClass()' - Add a printer to a class... + */ + +void +cupsdAddPrinterToClass( + cupsd_printer_t *c, /* I - Class to add to */ + cupsd_printer_t *p) /* I - Printer to add */ +{ + int i; /* Looping var */ + cupsd_printer_t **temp; /* Pointer to printer array */ + + + /* + * See if this printer is already a member of the class... + */ + + for (i = 0; i < c->num_printers; i ++) + if (c->printers[i] == p) + return; + + /* + * Allocate memory as needed... + */ + + if (c->num_printers == 0) + temp = malloc(sizeof(cupsd_printer_t *)); + else + temp = realloc(c->printers, sizeof(cupsd_printer_t *) * (size_t)(c->num_printers + 1)); + + if (temp == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to add printer %s to class %s!", + p->name, c->name); + return; + } + + /* + * Add the printer to the end of the array and update the number of printers. + */ + + c->printers = temp; + temp += c->num_printers; + c->num_printers ++; + + *temp = p; +} + + +/* + * 'cupsdDeletePrinterFromClass()' - Delete a printer from a class. + */ + +int /* O - 1 if class changed, 0 otherwise */ +cupsdDeletePrinterFromClass( + cupsd_printer_t *c, /* I - Class to delete from */ + cupsd_printer_t *p) /* I - Printer to delete */ +{ + int i; /* Looping var */ + + + /* + * See if the printer is in the class... + */ + + for (i = 0; i < c->num_printers; i ++) + if (p == c->printers[i]) + break; + + /* + * If it is, remove it from the list... + */ + + if (i < c->num_printers) + { + /* + * Yes, remove the printer... + */ + + c->num_printers --; + if (i < c->num_printers) + memmove(c->printers + i, c->printers + i + 1, + (size_t)(c->num_printers - i) * sizeof(cupsd_printer_t *)); + } + else + return (0); + + /* + * Update the IPP attributes (have to do this for member-names)... + */ + + cupsdSetPrinterAttrs(c); + + return (1); +} + + +/* + * 'cupsdDeletePrinterFromClasses()' - Delete a printer from all classes. + */ + +int /* O - 1 if class changed, 0 otherwise */ +cupsdDeletePrinterFromClasses( + cupsd_printer_t *p) /* I - Printer to delete */ +{ + int changed = 0; /* Any class changed? */ + cupsd_printer_t *c; /* Pointer to current class */ + + + /* + * Loop through the printer/class list and remove the printer + * from each class listed... + */ + + for (c = (cupsd_printer_t *)cupsArrayFirst(Printers); + c; + c = (cupsd_printer_t *)cupsArrayNext(Printers)) + if (c->type & CUPS_PRINTER_CLASS) + changed |= cupsdDeletePrinterFromClass(c, p); + + return (changed); +} + + +/* + * 'cupsdFindAvailablePrinter()' - Find an available printer in a class. + */ + +cupsd_printer_t * /* O - Available printer or NULL */ +cupsdFindAvailablePrinter( + const char *name) /* I - Class to check */ +{ + int i; /* Looping var */ + cupsd_printer_t *c; /* Printer class */ + + + /* + * Find the class... + */ + + if ((c = cupsdFindClass(name)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to find class \"%s\"!", name); + return (NULL); + } + + if (c->num_printers == 0) + return (NULL); + + /* + * Make sure that the last printer is also a valid index into the printer + * array. If not, reset the last printer to 0... + */ + + if (c->last_printer >= c->num_printers) + c->last_printer = 0; + + /* + * Loop through the printers in the class and return the first idle + * printer... We keep track of the last printer that we used so that + * a "round robin" type of scheduling is realized (otherwise the first + * server might be saturated with print jobs...) + * + * Thanks to Joel Fredrikson for helping us get this right! + */ + + for (i = c->last_printer + 1; ; i ++) + { + if (i >= c->num_printers) + i = 0; + + if (c->printers[i]->accepting && + (c->printers[i]->state == IPP_PRINTER_IDLE || + ((c->printers[i]->type & CUPS_PRINTER_REMOTE) && !c->printers[i]->job))) + { + c->last_printer = i; + return (c->printers[i]); + } + + if (i == c->last_printer) + break; + } + + return (NULL); +} + + +/* + * 'cupsdFindClass()' - Find the named class. + */ + +cupsd_printer_t * /* O - Matching class or NULL */ +cupsdFindClass(const char *name) /* I - Name of class */ +{ + cupsd_printer_t *c; /* Current class/printer */ + + + if ((c = cupsdFindDest(name)) != NULL && (c->type & CUPS_PRINTER_CLASS)) + return (c); + else + return (NULL); +} + + +/* + * 'cupsdLoadAllClasses()' - Load classes from the classes.conf file. + */ + +void +cupsdLoadAllClasses(void) +{ + int i; /* Looping var */ + cups_file_t *fp; /* classes.conf file */ + int linenum; /* Current line number */ + char line[4096], /* Line from file */ + *value, /* Pointer to value */ + *valueptr; /* Pointer into value */ + cupsd_printer_t *p, /* Current printer class */ + *temp; /* Temporary pointer to printer */ + + + /* + * Open the classes.conf file... + */ + + snprintf(line, sizeof(line), "%s/classes.conf", ServerRoot); + if ((fp = cupsdOpenConfFile(line)) == NULL) + return; + + /* + * Read class configurations until we hit EOF... + */ + + linenum = 0; + p = NULL; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + /* + * Decode the directive... + */ + + if (!_cups_strcasecmp(line, " or + */ + + if (p == NULL && value) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "Loading class %s...", value); + + /* + * Since prior classes may have implicitly defined this class, + * see if it already exists... + */ + + if ((p = cupsdFindDest(value)) != NULL) + { + p->type = CUPS_PRINTER_CLASS; + cupsdSetStringf(&p->uri, "ipp://%s:%d/classes/%s", ServerName, + LocalPort, value); + cupsdSetString(&p->error_policy, "retry-job"); + } + else + p = cupsdAddClass(value); + + p->accepting = 1; + p->state = IPP_PRINTER_IDLE; + + if (!_cups_strcasecmp(line, "") || !_cups_strcasecmp(line, "")) + { + if (p != NULL) + { + cupsdSetPrinterAttrs(p); + p = NULL; + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", linenum); + } + else if (!p) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "PrinterId")) + { + if (value && (i = atoi(value)) > 0) + p->printer_id = i; + else + cupsdLogMessage(CUPSD_LOG_ERROR, "Bad PrinterId on line %d of classes.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "UUID")) + { + if (value && !strncmp(value, "urn:uuid:", 9)) + cupsdSetString(&(p->uuid), value); + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad UUID on line %d of classes.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "AuthInfoRequired")) + { + if (!cupsdSetAuthInfoRequired(p, value, NULL)) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad AuthInfoRequired on line %d of classes.conf.", + linenum); + } + else if (!_cups_strcasecmp(line, "Info")) + { + if (value) + cupsdSetString(&p->info, value); + } + else if (!_cups_strcasecmp(line, "Location")) + { + if (value) + cupsdSetString(&p->location, value); + } + else if (!_cups_strcasecmp(line, "Option") && value) + { + /* + * Option name value + */ + + for (valueptr = value; *valueptr && !isspace(*valueptr & 255); valueptr ++); + + if (!*valueptr) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", linenum); + else + { + for (; *valueptr && isspace(*valueptr & 255); *valueptr++ = '\0'); + + p->num_options = cupsAddOption(value, valueptr, p->num_options, + &(p->options)); + } + } + else if (!_cups_strcasecmp(line, "Printer")) + { + if (!value) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", linenum); + continue; + } + else if ((temp = cupsdFindPrinter(value)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_WARN, + "Unknown printer %s on line %d of classes.conf.", + value, linenum); + + /* + * Add the missing remote printer... + */ + + if ((temp = cupsdAddPrinter(value)) != NULL) + { + cupsdSetString(&temp->make_model, "Remote Printer on unknown"); + + temp->state = IPP_PRINTER_STOPPED; + temp->type |= CUPS_PRINTER_REMOTE; + + cupsdSetString(&temp->location, "Location Unknown"); + cupsdSetString(&temp->info, "No Information Available"); + temp->hostname[0] = '\0'; + + cupsdSetPrinterAttrs(temp); + } + } + + if (temp) + cupsdAddPrinterToClass(p, temp); + } + else if (!_cups_strcasecmp(line, "State")) + { + /* + * Set the initial queue state... + */ + + if (!_cups_strcasecmp(value, "idle")) + p->state = IPP_PRINTER_IDLE; + else if (!_cups_strcasecmp(value, "stopped")) + { + p->state = IPP_PRINTER_STOPPED; + + for (i = 0 ; i < p->num_reasons; i ++) + if (!strcmp("paused", p->reasons[i])) + break; + + if (i >= p->num_reasons && + p->num_reasons < (int)(sizeof(p->reasons) / sizeof(p->reasons[0]))) + { + p->reasons[p->num_reasons] = _cupsStrAlloc("paused"); + p->num_reasons ++; + } + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", + linenum); + } + else if (!_cups_strcasecmp(line, "StateMessage")) + { + /* + * Set the initial queue state message... + */ + + if (value) + strlcpy(p->state_message, value, sizeof(p->state_message)); + } + else if (!_cups_strcasecmp(line, "StateTime")) + { + /* + * Set the state time... + */ + + if (value) + p->state_time = atoi(value); + } + else if (!_cups_strcasecmp(line, "Accepting")) + { + /* + * Set the initial accepting state... + */ + + if (value && + (!_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "true"))) + p->accepting = 1; + else if (value && + (!_cups_strcasecmp(value, "no") || + !_cups_strcasecmp(value, "off") || + !_cups_strcasecmp(value, "false"))) + p->accepting = 0; + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", + linenum); + } + else if (!_cups_strcasecmp(line, "Shared")) + { + /* + * Set the initial shared state... + */ + + if (value && + (!_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "true"))) + p->shared = 1; + else if (value && + (!_cups_strcasecmp(value, "no") || + !_cups_strcasecmp(value, "off") || + !_cups_strcasecmp(value, "false"))) + p->shared = 0; + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", + linenum); + } + else if (!_cups_strcasecmp(line, "JobSheets")) + { + /* + * Set the initial job sheets... + */ + + if (value) + { + for (valueptr = value; + *valueptr && !isspace(*valueptr & 255); + valueptr ++); + + if (*valueptr) + *valueptr++ = '\0'; + + cupsdSetString(&p->job_sheets[0], value); + + while (isspace(*valueptr & 255)) + valueptr ++; + + if (*valueptr) + { + for (value = valueptr; + *valueptr && !isspace(*valueptr & 255); + valueptr ++); + + if (*valueptr) + *valueptr = '\0'; + + cupsdSetString(&p->job_sheets[1], value); + } + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "AllowUser")) + { + if (value) + { + p->deny_users = 0; + cupsdAddString(&(p->users), value); + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "DenyUser")) + { + if (value) + { + p->deny_users = 1; + cupsdAddString(&(p->users), value); + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "QuotaPeriod")) + { + if (value) + p->quota_period = atoi(value); + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "PageLimit")) + { + if (value) + p->page_limit = atoi(value); + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "KLimit")) + { + if (value) + p->k_limit = atoi(value); + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "OpPolicy")) + { + if (value) + { + cupsd_policy_t *pol; /* Policy */ + + + if ((pol = cupsdFindPolicy(value)) != NULL) + { + cupsdSetString(&p->op_policy, value); + p->op_policy_ptr = pol; + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad policy \"%s\" on line %d of classes.conf", + value, linenum); + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "ErrorPolicy")) + { + if (value) + { + if (strcmp(value, "retry-current-job") && strcmp(value, "retry-job")) + cupsdLogMessage(CUPSD_LOG_WARN, + "ErrorPolicy %s ignored on line %d of classes.conf", + value, linenum); + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of classes.conf.", linenum); + } + else + { + /* + * Something else we don't understand... + */ + + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown configuration directive %s on line %d of classes.conf.", + line, linenum); + } + } + + cupsFileClose(fp); +} + + +/* + * 'cupsdSaveAllClasses()' - Save classes to the classes.conf file. + */ + +void +cupsdSaveAllClasses(void) +{ + cups_file_t *fp; /* classes.conf file */ + char filename[1024], /* classes.conf filename */ + temp[1024], /* Temporary string */ + value[2048], /* Value string */ + *name; /* Current user name */ + cupsd_printer_t *pclass; /* Current printer class */ + int i; /* Looping var */ + time_t curtime; /* Current time */ + struct tm curdate; /* Current date */ + cups_option_t *option; /* Current option */ + + + /* + * Create the classes.conf file... + */ + + snprintf(filename, sizeof(filename), "%s/classes.conf", ServerRoot); + + if ((fp = cupsdCreateConfFile(filename, ConfigFilePerm)) == NULL) + return; + + cupsdLogMessage(CUPSD_LOG_INFO, "Saving classes.conf..."); + + /* + * Write a small header to the file... + */ + + time(&curtime); + localtime_r(&curtime, &curdate); + strftime(temp, sizeof(temp) - 1, "%Y-%m-%d %H:%M", &curdate); + + cupsFilePuts(fp, "# Class configuration file for " CUPS_SVERSION "\n"); + cupsFilePrintf(fp, "# Written by cupsd on %s\n", temp); + cupsFilePuts(fp, "# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING\n"); + + /* + * Write each local class known to the system... + */ + + for (pclass = (cupsd_printer_t *)cupsArrayFirst(Printers); + pclass; + pclass = (cupsd_printer_t *)cupsArrayNext(Printers)) + { + /* + * Skip remote destinations and regular printers... + */ + + if ((pclass->type & CUPS_PRINTER_REMOTE) || + !(pclass->type & CUPS_PRINTER_CLASS)) + continue; + + /* + * Write printers as needed... + */ + + if (pclass == DefaultPrinter) + cupsFilePrintf(fp, "\n", pclass->name); + else + cupsFilePrintf(fp, "\n", pclass->name); + + if (pclass->printer_id) + cupsFilePrintf(fp, "PrinterId %d\n", pclass->printer_id); + + cupsFilePrintf(fp, "UUID %s\n", pclass->uuid); + + if (pclass->num_auth_info_required > 0) + { + switch (pclass->num_auth_info_required) + { + case 1 : + strlcpy(value, pclass->auth_info_required[0], sizeof(value)); + break; + + case 2 : + snprintf(value, sizeof(value), "%s,%s", + pclass->auth_info_required[0], + pclass->auth_info_required[1]); + break; + + case 3 : + default : + snprintf(value, sizeof(value), "%s,%s,%s", + pclass->auth_info_required[0], + pclass->auth_info_required[1], + pclass->auth_info_required[2]); + break; + } + + cupsFilePutConf(fp, "AuthInfoRequired", value); + } + + if (pclass->info) + cupsFilePutConf(fp, "Info", pclass->info); + + if (pclass->location) + cupsFilePutConf(fp, "Location", pclass->location); + + if (pclass->state == IPP_PRINTER_STOPPED) + cupsFilePuts(fp, "State Stopped\n"); + else + cupsFilePuts(fp, "State Idle\n"); + + cupsFilePrintf(fp, "StateTime %d\n", (int)pclass->state_time); + + if (pclass->accepting) + cupsFilePuts(fp, "Accepting Yes\n"); + else + cupsFilePuts(fp, "Accepting No\n"); + + if (pclass->shared) + cupsFilePuts(fp, "Shared Yes\n"); + else + cupsFilePuts(fp, "Shared No\n"); + + snprintf(value, sizeof(value), "%s %s", pclass->job_sheets[0], + pclass->job_sheets[1]); + cupsFilePutConf(fp, "JobSheets", value); + + for (i = 0; i < pclass->num_printers; i ++) + cupsFilePrintf(fp, "Printer %s\n", pclass->printers[i]->name); + + cupsFilePrintf(fp, "QuotaPeriod %d\n", pclass->quota_period); + cupsFilePrintf(fp, "PageLimit %d\n", pclass->page_limit); + cupsFilePrintf(fp, "KLimit %d\n", pclass->k_limit); + + for (name = (char *)cupsArrayFirst(pclass->users); + name; + name = (char *)cupsArrayNext(pclass->users)) + cupsFilePutConf(fp, pclass->deny_users ? "DenyUser" : "AllowUser", name); + + if (pclass->op_policy) + cupsFilePutConf(fp, "OpPolicy", pclass->op_policy); + if (pclass->error_policy) + cupsFilePutConf(fp, "ErrorPolicy", pclass->error_policy); + + for (i = pclass->num_options, option = pclass->options; + i > 0; + i --, option ++) + { + snprintf(value, sizeof(value), "%s %s", option->name, option->value); + cupsFilePutConf(fp, "Option", value); + } + + if (pclass == DefaultPrinter) + cupsFilePuts(fp, "\n"); + else + cupsFilePuts(fp, "\n"); + } + + cupsdCloseCreatedConfFile(fp, filename); +} diff --git a/scheduler/classes.h b/scheduler/classes.h new file mode 100644 index 0000000..1f375c0 --- /dev/null +++ b/scheduler/classes.h @@ -0,0 +1,24 @@ +/* + * Printer class definitions for the CUPS scheduler. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + + +/* + * Prototypes... + */ + +extern cupsd_printer_t *cupsdAddClass(const char *name); +extern void cupsdAddPrinterToClass(cupsd_printer_t *c, + cupsd_printer_t *p); +extern int cupsdDeletePrinterFromClass(cupsd_printer_t *c, + cupsd_printer_t *p); +extern int cupsdDeletePrinterFromClasses(cupsd_printer_t *p); +extern cupsd_printer_t *cupsdFindAvailablePrinter(const char *name); +extern cupsd_printer_t *cupsdFindClass(const char *name); +extern void cupsdLoadAllClasses(void); +extern void cupsdSaveAllClasses(void); diff --git a/scheduler/client.c b/scheduler/client.c new file mode 100644 index 0000000..c2ee8f1 --- /dev/null +++ b/scheduler/client.c @@ -0,0 +1,3777 @@ +/* + * Client routines for the CUPS scheduler. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * This file contains Kerberos support code, copyright 2006 by + * Jelmer Vernooij. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#define _CUPS_NO_DEPRECATED +#define _HTTP_NO_PRIVATE +#include "cupsd.h" + +#ifdef __APPLE__ +# include +#endif /* __APPLE__ */ +#ifdef HAVE_TCPD_H +# include +#endif /* HAVE_TCPD_H */ + + +/* + * Local functions... + */ + +static int check_if_modified(cupsd_client_t *con, + struct stat *filestats); +static int compare_clients(cupsd_client_t *a, cupsd_client_t *b, + void *data); +#ifdef HAVE_SSL +static int cupsd_start_tls(cupsd_client_t *con, http_encryption_t e); +#endif /* HAVE_SSL */ +static char *get_file(cupsd_client_t *con, struct stat *filestats, + char *filename, size_t len); +static http_status_t install_cupsd_conf(cupsd_client_t *con); +static int is_cgi(cupsd_client_t *con, const char *filename, + struct stat *filestats, mime_type_t *type); +static int is_path_absolute(const char *path); +static int pipe_command(cupsd_client_t *con, int infile, int *outfile, + char *command, char *options, int root); +static int valid_host(cupsd_client_t *con); +static int write_file(cupsd_client_t *con, http_status_t code, + char *filename, char *type, + struct stat *filestats); +static void write_pipe(cupsd_client_t *con); + + +/* + * 'cupsdAcceptClient()' - Accept a new client. + */ + +void +cupsdAcceptClient(cupsd_listener_t *lis)/* I - Listener socket */ +{ + const char *hostname; /* Hostname of client */ + char name[256]; /* Hostname of client */ + int count; /* Count of connections on a host */ + cupsd_client_t *con, /* New client pointer */ + *tempcon; /* Temporary client pointer */ + socklen_t addrlen; /* Length of address */ + http_addr_t temp; /* Temporary address variable */ + static time_t last_dos = 0; /* Time of last DoS attack */ +#ifdef HAVE_TCPD_H + struct request_info wrap_req; /* TCP wrappers request information */ +#endif /* HAVE_TCPD_H */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdAcceptClient(lis=%p(%d)) Clients=%d", lis, lis->fd, cupsArrayCount(Clients)); + + /* + * Make sure we don't have a full set of clients already... + */ + + if (cupsArrayCount(Clients) == MaxClients) + return; + + cupsdSetBusyState(1); + + /* + * Get a pointer to the next available client... + */ + + if (!Clients) + Clients = cupsArrayNew(NULL, NULL); + + if (!Clients) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for clients array!"); + cupsdPauseListening(); + return; + } + + if (!ActiveClients) + ActiveClients = cupsArrayNew((cups_array_func_t)compare_clients, NULL); + + if (!ActiveClients) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for active clients array!"); + cupsdPauseListening(); + return; + } + + if ((con = calloc(1, sizeof(cupsd_client_t))) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to allocate memory for client!"); + cupsdPauseListening(); + return; + } + + /* + * Accept the client and get the remote address... + */ + + con->number = ++ LastClientNumber; + con->file = -1; + + if ((con->http = httpAcceptConnection(lis->fd, 0)) == NULL) + { + if (errno == ENFILE || errno == EMFILE) + cupsdPauseListening(); + + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to accept client connection - %s.", + strerror(errno)); + free(con); + + return; + } + + /* + * Save the connected address and port number... + */ + + addrlen = sizeof(con->clientaddr); + + if (getsockname(httpGetFd(con->http), (struct sockaddr *)&con->clientaddr, &addrlen) || addrlen == 0) + con->clientaddr = lis->address; + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Server address is \"%s\".", httpAddrString(&con->clientaddr, name, sizeof(name))); + + /* + * Check the number of clients on the same address... + */ + + for (count = 0, tempcon = (cupsd_client_t *)cupsArrayFirst(Clients); + tempcon; + tempcon = (cupsd_client_t *)cupsArrayNext(Clients)) + if (httpAddrEqual(httpGetAddress(tempcon->http), httpGetAddress(con->http))) + { + count ++; + if (count >= MaxClientsPerHost) + break; + } + + if (count >= MaxClientsPerHost) + { + if ((time(NULL) - last_dos) >= 60) + { + last_dos = time(NULL); + cupsdLogMessage(CUPSD_LOG_WARN, + "Possible DoS attack - more than %d clients connecting " + "from %s.", + MaxClientsPerHost, + httpGetHostname(con->http, name, sizeof(name))); + } + + httpClose(con->http); + free(con); + return; + } + + /* + * Get the hostname or format the IP address as needed... + */ + + if (HostNameLookups) + hostname = httpResolveHostname(con->http, NULL, 0); + else + hostname = httpGetHostname(con->http, NULL, 0); + + if (hostname == NULL && HostNameLookups == 2) + { + /* + * Can't have an unresolved IP address with double-lookups enabled... + */ + + httpClose(con->http); + + cupsdLogClient(con, CUPSD_LOG_WARN, + "Name lookup failed - connection from %s closed!", + httpGetHostname(con->http, NULL, 0)); + + free(con); + return; + } + + if (HostNameLookups == 2) + { + /* + * Do double lookups as needed... + */ + + http_addrlist_t *addrlist, /* List of addresses */ + *addr; /* Current address */ + + if ((addrlist = httpAddrGetList(hostname, AF_UNSPEC, NULL)) != NULL) + { + /* + * See if the hostname maps to the same IP address... + */ + + for (addr = addrlist; addr; addr = addr->next) + if (httpAddrEqual(httpGetAddress(con->http), &(addr->addr))) + break; + } + else + addr = NULL; + + httpAddrFreeList(addrlist); + + if (!addr) + { + /* + * Can't have a hostname that doesn't resolve to the same IP address + * with double-lookups enabled... + */ + + httpClose(con->http); + + cupsdLogClient(con, CUPSD_LOG_WARN, + "IP lookup failed - connection from %s closed!", + httpGetHostname(con->http, NULL, 0)); + free(con); + return; + } + } + +#ifdef HAVE_TCPD_H + /* + * See if the connection is denied by TCP wrappers... + */ + + request_init(&wrap_req, RQ_DAEMON, "cupsd", RQ_FILE, httpGetFd(con->http), + NULL); + fromhost(&wrap_req); + + if (!hosts_access(&wrap_req)) + { + httpClose(con->http); + + cupsdLogClient(con, CUPSD_LOG_WARN, + "Connection from %s refused by /etc/hosts.allow and " + "/etc/hosts.deny rules.", httpGetHostname(con->http, NULL, 0)); + free(con); + return; + } +#endif /* HAVE_TCPD_H */ + +#ifdef AF_LOCAL + if (httpAddrFamily(httpGetAddress(con->http)) == AF_LOCAL) + { +# ifdef __APPLE__ + socklen_t peersize; /* Size of peer credentials */ + pid_t peerpid; /* Peer process ID */ + char peername[256]; /* Name of process */ + + peersize = sizeof(peerpid); + if (!getsockopt(httpGetFd(con->http), SOL_LOCAL, LOCAL_PEERPID, &peerpid, + &peersize)) + { + if (!proc_name((int)peerpid, peername, sizeof(peername))) + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "Accepted from %s (Domain ???[%d])", + httpGetHostname(con->http, NULL, 0), (int)peerpid); + else + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "Accepted from %s (Domain %s[%d])", + httpGetHostname(con->http, NULL, 0), peername, (int)peerpid); + } + else +# endif /* __APPLE__ */ + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Accepted from %s (Domain)", + httpGetHostname(con->http, NULL, 0)); + } + else +#endif /* AF_LOCAL */ + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Accepted from %s:%d (IPv%d)", + httpGetHostname(con->http, NULL, 0), + httpAddrPort(httpGetAddress(con->http)), + httpAddrFamily(httpGetAddress(con->http)) == AF_INET ? 4 : 6); + + /* + * Get the local address the client connected to... + */ + + addrlen = sizeof(temp); + if (getsockname(httpGetFd(con->http), (struct sockaddr *)&temp, &addrlen)) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Unable to get local address - %s", + strerror(errno)); + + strlcpy(con->servername, "localhost", sizeof(con->servername)); + con->serverport = LocalPort; + } +#ifdef AF_LOCAL + else if (httpAddrFamily(&temp) == AF_LOCAL) + { + strlcpy(con->servername, "localhost", sizeof(con->servername)); + con->serverport = LocalPort; + } +#endif /* AF_LOCAL */ + else + { + if (httpAddrLocalhost(&temp)) + strlcpy(con->servername, "localhost", sizeof(con->servername)); + else if (HostNameLookups) + httpAddrLookup(&temp, con->servername, sizeof(con->servername)); + else + httpAddrString(&temp, con->servername, sizeof(con->servername)); + + con->serverport = httpAddrPort(&(lis->address)); + } + + /* + * Add the connection to the array of active clients... + */ + + cupsArrayAdd(Clients, con); + + /* + * Add the socket to the server select. + */ + + cupsdAddSelect(httpGetFd(con->http), (cupsd_selfunc_t)cupsdReadClient, NULL, + con); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Waiting for request."); + + /* + * Temporarily suspend accept()'s until we lose a client... + */ + + if (cupsArrayCount(Clients) == MaxClients) + cupsdPauseListening(); + +#ifdef HAVE_SSL + /* + * See if we are connecting on a secure port... + */ + + if (lis->encryption == HTTP_ENCRYPTION_ALWAYS) + { + /* + * https connection; go secure... + */ + + if (cupsd_start_tls(con, HTTP_ENCRYPTION_ALWAYS)) + cupsdCloseClient(con); + } + else + con->auto_ssl = 1; +#endif /* HAVE_SSL */ +} + + +/* + * 'cupsdCloseAllClients()' - Close all remote clients immediately. + */ + +void +cupsdCloseAllClients(void) +{ + cupsd_client_t *con; /* Current client */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCloseAllClients() Clients=%d", cupsArrayCount(Clients)); + + for (con = (cupsd_client_t *)cupsArrayFirst(Clients); + con; + con = (cupsd_client_t *)cupsArrayNext(Clients)) + if (cupsdCloseClient(con)) + cupsdCloseClient(con); +} + + +/* + * 'cupsdCloseClient()' - Close a remote client. + */ + +int /* O - 1 if partial close, 0 if fully closed */ +cupsdCloseClient(cupsd_client_t *con) /* I - Client to close */ +{ + int partial; /* Do partial close for SSL? */ + + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Closing connection."); + + /* + * Flush pending writes before closing... + */ + + httpFlushWrite(con->http); + + partial = 0; + + if (con->pipe_pid != 0) + { + /* + * Stop any CGI process... + */ + + cupsdEndProcess(con->pipe_pid, 1); + con->pipe_pid = 0; + } + + if (con->file >= 0) + { + cupsdRemoveSelect(con->file); + + close(con->file); + con->file = -1; + } + + /* + * Close the socket and clear the file from the input set for select()... + */ + + if (httpGetFd(con->http) >= 0) + { + cupsArrayRemove(ActiveClients, con); + cupsdSetBusyState(0); + +#ifdef HAVE_SSL + /* + * Shutdown encryption as needed... + */ + + if (httpIsEncrypted(con->http)) + partial = 1; +#endif /* HAVE_SSL */ + + if (partial) + { + /* + * Only do a partial close so that the encrypted client gets everything. + */ + + httpShutdown(con->http); + cupsdAddSelect(httpGetFd(con->http), (cupsd_selfunc_t)cupsdReadClient, + NULL, con); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Waiting for socket close."); + } + else + { + /* + * Shut the socket down fully... + */ + + cupsdRemoveSelect(httpGetFd(con->http)); + httpClose(con->http); + con->http = NULL; + } + } + + if (!partial) + { + /* + * Free memory... + */ + + cupsdRemoveSelect(httpGetFd(con->http)); + + httpClose(con->http); + + if (con->filename) + { + unlink(con->filename); + cupsdClearString(&con->filename); + } + + cupsdClearString(&con->command); + cupsdClearString(&con->options); + cupsdClearString(&con->query_string); + + if (con->request) + { + ippDelete(con->request); + con->request = NULL; + } + + if (con->response) + { + ippDelete(con->response); + con->response = NULL; + } + + if (con->language) + { + cupsLangFree(con->language); + con->language = NULL; + } + +#ifdef HAVE_AUTHORIZATION_H + if (con->authref) + { + AuthorizationFree(con->authref, kAuthorizationFlagDefaults); + con->authref = NULL; + } +#endif /* HAVE_AUTHORIZATION_H */ + + /* + * Re-enable new client connections if we are going back under the + * limit... + */ + + if (cupsArrayCount(Clients) == MaxClients) + cupsdResumeListening(); + + /* + * Compact the list of clients as necessary... + */ + + cupsArrayRemove(Clients, con); + + free(con); + } + + return (partial); +} + + +/* + * 'cupsdReadClient()' - Read data from a client. + */ + +void +cupsdReadClient(cupsd_client_t *con) /* I - Client to read from */ +{ + char line[32768], /* Line from client... */ + locale[64], /* Locale */ + *ptr; /* Pointer into strings */ + http_status_t status; /* Transfer status */ + ipp_state_t ipp_state; /* State of IPP transfer */ + int bytes; /* Number of bytes to POST */ + char *filename; /* Name of file for GET/HEAD */ + char buf[1024]; /* Buffer for real filename */ + struct stat filestats; /* File information */ + mime_type_t *type; /* MIME type of file */ + static unsigned request_id = 0; /* Request ID for temp files */ + + + status = HTTP_STATUS_CONTINUE; + + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "cupsdReadClient: error=%d, used=%d, state=%s, data_encoding=HTTP_ENCODING_%s, data_remaining=" CUPS_LLFMT ", request=%p(%s), file=%d", httpError(con->http), (int)httpGetReady(con->http), httpStateString(httpGetState(con->http)), httpIsChunked(con->http) ? "CHUNKED" : "LENGTH", CUPS_LLCAST httpGetRemaining(con->http), con->request, con->request ? ippStateString(ippGetState(con->request)) : "", con->file); + + if (httpError(con->http) == EPIPE && !httpGetReady(con->http) && recv(httpGetFd(con->http), buf, 1, MSG_PEEK) < 1) + { + /* + * Connection closed... + */ + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Closing on EOF."); + cupsdCloseClient(con); + return; + } + + if (httpGetState(con->http) == HTTP_STATE_GET_SEND || + httpGetState(con->http) == HTTP_STATE_POST_SEND || + httpGetState(con->http) == HTTP_STATE_STATUS) + { + /* + * If we get called in the wrong state, then something went wrong with the + * connection and we need to shut it down... + */ + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Closing on unexpected HTTP read state %s.", httpStateString(httpGetState(con->http))); + cupsdCloseClient(con); + return; + } + +#ifdef HAVE_SSL + if (con->auto_ssl) + { + /* + * Automatically check for a SSL/TLS handshake... + */ + + con->auto_ssl = 0; + + if (recv(httpGetFd(con->http), buf, 1, MSG_PEEK) == 1 && + (!buf[0] || !strchr("DGHOPT", buf[0]))) + { + /* + * Encrypt this connection... + */ + + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "Saw first byte %02X, auto-negotiating SSL/TLS session.", buf[0] & 255); + + if (cupsd_start_tls(con, HTTP_ENCRYPTION_ALWAYS)) + cupsdCloseClient(con); + + return; + } + } +#endif /* HAVE_SSL */ + + switch (httpGetState(con->http)) + { + case HTTP_STATE_WAITING : + /* + * See if we've received a request line... + */ + + con->operation = httpReadRequest(con->http, con->uri, sizeof(con->uri)); + if (con->operation == HTTP_STATE_ERROR || + con->operation == HTTP_STATE_UNKNOWN_METHOD || + con->operation == HTTP_STATE_UNKNOWN_VERSION) + { + if (httpError(con->http)) + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "HTTP_STATE_WAITING Closing for error %d (%s)", + httpError(con->http), strerror(httpError(con->http))); + else + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "HTTP_STATE_WAITING Closing on error: %s", + cupsLastErrorString()); + + cupsdCloseClient(con); + return; + } + + /* + * Ignore blank request lines... + */ + + if (con->operation == HTTP_STATE_WAITING) + break; + + /* + * Clear other state variables... + */ + + con->bytes = 0; + con->file = -1; + con->file_ready = 0; + con->pipe_pid = 0; + con->username[0] = '\0'; + con->password[0] = '\0'; + + cupsdClearString(&con->command); + cupsdClearString(&con->options); + cupsdClearString(&con->query_string); + + if (con->request) + { + ippDelete(con->request); + con->request = NULL; + } + + if (con->response) + { + ippDelete(con->response); + con->response = NULL; + } + + if (con->language) + { + cupsLangFree(con->language); + con->language = NULL; + } + +#ifdef HAVE_GSSAPI + con->have_gss = 0; + con->gss_uid = 0; +#endif /* HAVE_GSSAPI */ + + /* + * Handle full URLs in the request line... + */ + + if (strcmp(con->uri, "*")) + { + char scheme[HTTP_MAX_URI], /* Method/scheme */ + userpass[HTTP_MAX_URI], /* Username:password */ + hostname[HTTP_MAX_URI], /* Hostname */ + resource[HTTP_MAX_URI]; /* Resource path */ + int port; /* Port number */ + + /* + * Separate the URI into its components... + */ + + if (httpSeparateURI(HTTP_URI_CODING_MOST, con->uri, + scheme, sizeof(scheme), + userpass, sizeof(userpass), + hostname, sizeof(hostname), &port, + resource, sizeof(resource)) < HTTP_URI_STATUS_OK) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Bad URI \"%s\" in request.", + con->uri); + cupsdSendError(con, HTTP_STATUS_METHOD_NOT_ALLOWED, CUPSD_AUTH_NONE); + cupsdCloseClient(con); + return; + } + + /* + * Only allow URIs with the servername, localhost, or an IP + * address... + */ + + if (strcmp(scheme, "file") && + _cups_strcasecmp(hostname, ServerName) && + _cups_strcasecmp(hostname, "localhost") && + !cupsArrayFind(ServerAlias, hostname) && + !isdigit(hostname[0]) && hostname[0] != '[') + { + /* + * Nope, we don't do proxies... + */ + + cupsdLogClient(con, CUPSD_LOG_ERROR, "Bad URI \"%s\" in request.", + con->uri); + cupsdSendError(con, HTTP_STATUS_METHOD_NOT_ALLOWED, CUPSD_AUTH_NONE); + cupsdCloseClient(con); + return; + } + + /* + * Copy the resource portion back into the URI; both resource and + * con->uri are HTTP_MAX_URI bytes in size... + */ + + strlcpy(con->uri, resource, sizeof(con->uri)); + } + + /* + * Process the request... + */ + + gettimeofday(&(con->start), NULL); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "%s %s HTTP/%d.%d", + httpStateString(con->operation) + 11, con->uri, + httpGetVersion(con->http) / 100, + httpGetVersion(con->http) % 100); + + if (!cupsArrayFind(ActiveClients, con)) + { + cupsArrayAdd(ActiveClients, con); + cupsdSetBusyState(0); + } + + case HTTP_STATE_OPTIONS : + case HTTP_STATE_DELETE : + case HTTP_STATE_GET : + case HTTP_STATE_HEAD : + case HTTP_STATE_POST : + case HTTP_STATE_PUT : + case HTTP_STATE_TRACE : + /* + * Parse incoming parameters until the status changes... + */ + + while ((status = httpUpdate(con->http)) == HTTP_STATUS_CONTINUE) + if (!httpGetReady(con->http)) + break; + + if (status != HTTP_STATUS_OK && status != HTTP_STATUS_CONTINUE) + { + if (httpError(con->http) && httpError(con->http) != EPIPE) + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "Closing for error %d (%s) while reading headers.", + httpError(con->http), strerror(httpError(con->http))); + else + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "Closing on EOF while reading headers."); + + cupsdSendError(con, HTTP_STATUS_BAD_REQUEST, CUPSD_AUTH_NONE); + cupsdCloseClient(con); + return; + } + break; + + default : + if (!httpGetReady(con->http) && recv(httpGetFd(con->http), buf, 1, MSG_PEEK) < 1) + { + /* + * Connection closed... + */ + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Closing on EOF."); + cupsdCloseClient(con); + return; + } + break; /* Anti-compiler-warning-code */ + } + + /* + * Handle new transfers... + */ + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Read: status=%d, state=%d", status, httpGetState(con->http)); + + if (status == HTTP_STATUS_OK) + { + /* + * Record whether the client is a web browser. "Mozilla" was the original + * and it seems that every web browser in existence now uses that as the + * prefix with additional information identifying *which* browser. + * + * Chrome (at least) has problems with multiple WWW-Authenticate values in + * a single header, so we only report Basic or Negotiate to web browsers and + * leave the multiple choices to the native CUPS client... + */ + + con->is_browser = !strncmp(httpGetField(con->http, HTTP_FIELD_USER_AGENT), "Mozilla/", 8); + + if (httpGetField(con->http, HTTP_FIELD_ACCEPT_LANGUAGE)[0]) + { + /* + * Figure out the locale from the Accept-Language and Content-Type + * fields... + */ + + if ((ptr = strchr(httpGetField(con->http, HTTP_FIELD_ACCEPT_LANGUAGE), + ',')) != NULL) + *ptr = '\0'; + + if ((ptr = strchr(httpGetField(con->http, HTTP_FIELD_ACCEPT_LANGUAGE), + ';')) != NULL) + *ptr = '\0'; + + if ((ptr = strstr(httpGetField(con->http, HTTP_FIELD_CONTENT_TYPE), + "charset=")) != NULL) + { + /* + * Combine language and charset, and trim any extra params in the + * content-type. + */ + + snprintf(locale, sizeof(locale), "%s.%s", + httpGetField(con->http, HTTP_FIELD_ACCEPT_LANGUAGE), ptr + 8); + + if ((ptr = strchr(locale, ',')) != NULL) + *ptr = '\0'; + } + else + snprintf(locale, sizeof(locale), "%s.UTF-8", + httpGetField(con->http, HTTP_FIELD_ACCEPT_LANGUAGE)); + + con->language = cupsLangGet(locale); + } + else + con->language = cupsLangGet(DefaultLocale); + + cupsdAuthorize(con); + + if (!_cups_strncasecmp(httpGetField(con->http, HTTP_FIELD_CONNECTION), + "Keep-Alive", 10) && KeepAlive) + httpSetKeepAlive(con->http, HTTP_KEEPALIVE_ON); + else if (!_cups_strncasecmp(httpGetField(con->http, HTTP_FIELD_CONNECTION), + "close", 5)) + httpSetKeepAlive(con->http, HTTP_KEEPALIVE_OFF); + + if (!httpGetField(con->http, HTTP_FIELD_HOST)[0] && + httpGetVersion(con->http) >= HTTP_VERSION_1_1) + { + /* + * HTTP/1.1 and higher require the "Host:" field... + */ + + if (!cupsdSendError(con, HTTP_STATUS_BAD_REQUEST, CUPSD_AUTH_NONE)) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Missing Host: field in request."); + cupsdCloseClient(con); + return; + } + } + else if (!valid_host(con)) + { + /* + * Access to localhost must use "localhost" or the corresponding IPv4 + * or IPv6 values in the Host: field. + */ + + cupsdLogClient(con, CUPSD_LOG_ERROR, + "Request from \"%s\" using invalid Host: field \"%s\".", + httpGetHostname(con->http, NULL, 0), httpGetField(con->http, HTTP_FIELD_HOST)); + + if (!cupsdSendError(con, HTTP_STATUS_BAD_REQUEST, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + else if (con->operation == HTTP_STATE_OPTIONS) + { + /* + * Do OPTIONS command... + */ + + if (con->best && con->best->type != CUPSD_AUTH_NONE) + { + httpClearFields(con->http); + + if (!cupsdSendHeader(con, HTTP_STATUS_UNAUTHORIZED, NULL, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + + if (!_cups_strcasecmp(httpGetField(con->http, HTTP_FIELD_CONNECTION), "Upgrade") && strstr(httpGetField(con->http, HTTP_FIELD_UPGRADE), "TLS/") != NULL && !httpIsEncrypted(con->http)) + { +#ifdef HAVE_SSL + /* + * Do encryption stuff... + */ + + httpClearFields(con->http); + + if (!cupsdSendHeader(con, HTTP_STATUS_SWITCHING_PROTOCOLS, NULL, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + if (cupsd_start_tls(con, HTTP_ENCRYPTION_REQUIRED)) + { + cupsdCloseClient(con); + return; + } +#else + if (!cupsdSendError(con, HTTP_STATUS_NOT_IMPLEMENTED, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } +#endif /* HAVE_SSL */ + } + + httpClearFields(con->http); + httpSetField(con->http, HTTP_FIELD_CONTENT_LENGTH, "0"); + + if (!cupsdSendHeader(con, HTTP_STATUS_OK, NULL, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + else if (!is_path_absolute(con->uri)) + { + /* + * Protect against malicious users! + */ + + cupsdLogClient(con, CUPSD_LOG_ERROR, + "Request for non-absolute resource \"%s\".", con->uri); + + if (!cupsdSendError(con, HTTP_STATUS_FORBIDDEN, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + else + { + if (!_cups_strcasecmp(httpGetField(con->http, HTTP_FIELD_CONNECTION), + "Upgrade") && !httpIsEncrypted(con->http)) + { +#ifdef HAVE_SSL + /* + * Do encryption stuff... + */ + + httpClearFields(con->http); + + if (!cupsdSendHeader(con, HTTP_STATUS_SWITCHING_PROTOCOLS, NULL, + CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + if (cupsd_start_tls(con, HTTP_ENCRYPTION_REQUIRED)) + { + cupsdCloseClient(con); + return; + } +#else + if (!cupsdSendError(con, HTTP_STATUS_NOT_IMPLEMENTED, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } +#endif /* HAVE_SSL */ + } + + if ((status = cupsdIsAuthorized(con, NULL)) != HTTP_STATUS_OK) + { + cupsdSendError(con, status, CUPSD_AUTH_NONE); + cupsdCloseClient(con); + return; + } + + if (httpGetExpect(con->http) && + (con->operation == HTTP_STATE_POST || con->operation == HTTP_STATE_PUT)) + { + if (httpGetExpect(con->http) == HTTP_STATUS_CONTINUE) + { + /* + * Send 100-continue header... + */ + + if (httpWriteResponse(con->http, HTTP_STATUS_CONTINUE)) + { + cupsdCloseClient(con); + return; + } + } + else + { + /* + * Send 417-expectation-failed header... + */ + + httpClearFields(con->http); + httpSetField(con->http, HTTP_FIELD_CONTENT_LENGTH, "0"); + + cupsdSendError(con, HTTP_STATUS_EXPECTATION_FAILED, CUPSD_AUTH_NONE); + cupsdCloseClient(con); + return; + } + } + + switch (httpGetState(con->http)) + { + case HTTP_STATE_GET_SEND : + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Processing GET %s", con->uri); + + if ((filename = get_file(con, &filestats, buf, sizeof(buf))) != NULL) + { + type = mimeFileType(MimeDatabase, filename, NULL, NULL); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "filename=\"%s\", type=%s/%s", filename, type ? type->super : "", type ? type->type : ""); + + if (is_cgi(con, filename, &filestats, type)) + { + /* + * Note: con->command and con->options were set by is_cgi()... + */ + + if (!cupsdSendCommand(con, con->command, con->options, 0)) + { + if (!cupsdSendError(con, HTTP_STATUS_NOT_FOUND, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + else + cupsdLogRequest(con, HTTP_STATUS_OK); + + if (httpGetVersion(con->http) <= HTTP_VERSION_1_0) + httpSetKeepAlive(con->http, HTTP_KEEPALIVE_OFF); + break; + } + + if (!check_if_modified(con, &filestats)) + { + if (!cupsdSendError(con, HTTP_STATUS_NOT_MODIFIED, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + else + { + if (type == NULL) + strlcpy(line, "text/plain", sizeof(line)); + else + snprintf(line, sizeof(line), "%s/%s", type->super, type->type); + + if (!write_file(con, HTTP_STATUS_OK, filename, line, &filestats)) + { + cupsdCloseClient(con); + return; + } + } + } + else if (!buf[0] && (!strncmp(con->uri, "/admin", 6) || !strncmp(con->uri, "/classes", 8) || !strncmp(con->uri, "/help", 5) || !strncmp(con->uri, "/jobs", 5) || !strncmp(con->uri, "/printers", 9))) + { + if (!WebInterface) + { + /* + * Web interface is disabled. Show an appropriate message... + */ + + if (!cupsdSendError(con, HTTP_STATUS_CUPS_WEBIF_DISABLED, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + break; + } + + /* + * Send CGI output... + */ + + if (!strncmp(con->uri, "/admin", 6)) + { + cupsdSetStringf(&con->command, "%s/cgi-bin/admin.cgi", ServerBin); + cupsdSetString(&con->options, strchr(con->uri + 6, '?')); + } + else if (!strncmp(con->uri, "/classes", 8)) + { + cupsdSetStringf(&con->command, "%s/cgi-bin/classes.cgi", ServerBin); + if (con->uri[8] && con->uri[9]) + cupsdSetString(&con->options, con->uri + 8); + else + cupsdSetString(&con->options, NULL); + } + else if (!strncmp(con->uri, "/jobs", 5)) + { + cupsdSetStringf(&con->command, "%s/cgi-bin/jobs.cgi", ServerBin); + if (con->uri[5] && con->uri[6]) + cupsdSetString(&con->options, con->uri + 5); + else + cupsdSetString(&con->options, NULL); + } + else if (!strncmp(con->uri, "/printers", 9)) + { + cupsdSetStringf(&con->command, "%s/cgi-bin/printers.cgi", ServerBin); + if (con->uri[9] && con->uri[10]) + cupsdSetString(&con->options, con->uri + 9); + else + cupsdSetString(&con->options, NULL); + } + else + { + cupsdSetStringf(&con->command, "%s/cgi-bin/help.cgi", ServerBin); + if (con->uri[5] && con->uri[6]) + cupsdSetString(&con->options, con->uri + 5); + else + cupsdSetString(&con->options, NULL); + } + + if (!cupsdSendCommand(con, con->command, con->options, 0)) + { + if (!cupsdSendError(con, HTTP_STATUS_NOT_FOUND, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + else + cupsdLogRequest(con, HTTP_STATUS_OK); + + if (httpGetVersion(con->http) <= HTTP_VERSION_1_0) + httpSetKeepAlive(con->http, HTTP_KEEPALIVE_OFF); + } + else + { + if (!cupsdSendError(con, HTTP_STATUS_NOT_FOUND, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + break; + + case HTTP_STATE_POST_RECV : + /* + * See if the POST request includes a Content-Length field, and if + * so check the length against any limits that are set... + */ + + if (httpGetField(con->http, HTTP_FIELD_CONTENT_LENGTH)[0] && MaxRequestSize > 0 && httpGetLength2(con->http) > MaxRequestSize) + { + /* + * Request too large... + */ + + if (!cupsdSendError(con, HTTP_STATUS_REQUEST_TOO_LARGE, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + break; + } + else if (httpGetLength2(con->http) < 0) + { + /* + * Negative content lengths are invalid! + */ + + if (!cupsdSendError(con, HTTP_STATUS_BAD_REQUEST, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + break; + } + + /* + * See what kind of POST request this is; for IPP requests the + * content-type field will be "application/ipp"... + */ + + if (!strcmp(httpGetField(con->http, HTTP_FIELD_CONTENT_TYPE), "application/ipp")) + { + con->request = ippNew(); + break; + } + else if (!WebInterface) + { + /* + * Web interface is disabled. Show an appropriate message... + */ + + if (!cupsdSendError(con, HTTP_STATUS_CUPS_WEBIF_DISABLED, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + break; + } + + if ((filename = get_file(con, &filestats, buf, sizeof(buf))) != NULL) + { + /* + * POST to a file... + */ + + type = mimeFileType(MimeDatabase, filename, NULL, NULL); + + if (!is_cgi(con, filename, &filestats, type)) + { + /* + * Only POST to CGI's... + */ + + if (!cupsdSendError(con, HTTP_STATUS_UNAUTHORIZED, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + } + else if (!strncmp(con->uri, "/admin", 6) || !strncmp(con->uri, "/printers", 9) || !strncmp(con->uri, "/classes", 8) || !strncmp(con->uri, "/help", 5) || !strncmp(con->uri, "/jobs", 5)) + { + /* + * CGI request... + */ + + if (!strncmp(con->uri, "/admin", 6)) + { + cupsdSetStringf(&con->command, "%s/cgi-bin/admin.cgi", ServerBin); + cupsdSetString(&con->options, strchr(con->uri + 6, '?')); + } + else if (!strncmp(con->uri, "/printers", 9)) + { + cupsdSetStringf(&con->command, "%s/cgi-bin/printers.cgi", ServerBin); + if (con->uri[9] && con->uri[10]) + cupsdSetString(&con->options, con->uri + 9); + else + cupsdSetString(&con->options, NULL); + } + else if (!strncmp(con->uri, "/classes", 8)) + { + cupsdSetStringf(&con->command, "%s/cgi-bin/classes.cgi", ServerBin); + if (con->uri[8] && con->uri[9]) + cupsdSetString(&con->options, con->uri + 8); + else + cupsdSetString(&con->options, NULL); + } + else if (!strncmp(con->uri, "/jobs", 5)) + { + cupsdSetStringf(&con->command, "%s/cgi-bin/jobs.cgi", ServerBin); + if (con->uri[5] && con->uri[6]) + cupsdSetString(&con->options, con->uri + 5); + else + cupsdSetString(&con->options, NULL); + } + else + { + cupsdSetStringf(&con->command, "%s/cgi-bin/help.cgi", ServerBin); + if (con->uri[5] && con->uri[6]) + cupsdSetString(&con->options, con->uri + 5); + else + cupsdSetString(&con->options, NULL); + } + + if (httpGetVersion(con->http) <= HTTP_VERSION_1_0) + httpSetKeepAlive(con->http, HTTP_KEEPALIVE_OFF); + } + else + { + if (!cupsdSendError(con, HTTP_STATUS_NOT_FOUND, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + break; + + case HTTP_STATE_PUT_RECV : + /* + * Validate the resource name... + */ + + if (strcmp(con->uri, "/admin/conf/cupsd.conf")) + { + /* + * PUT can only be done to the cupsd.conf file... + */ + + cupsdLogClient(con, CUPSD_LOG_ERROR, "Disallowed PUT request for \"%s\".", con->uri); + + if (!cupsdSendError(con, HTTP_STATUS_FORBIDDEN, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + break; + } + + /* + * See if the PUT request includes a Content-Length field, and if + * so check the length against any limits that are set... + */ + + if (httpGetField(con->http, HTTP_FIELD_CONTENT_LENGTH)[0] && MaxRequestSize > 0 && httpGetLength2(con->http) > MaxRequestSize) + { + /* + * Request too large... + */ + + if (!cupsdSendError(con, HTTP_STATUS_REQUEST_TOO_LARGE, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + break; + } + else if (httpGetLength2(con->http) < 0) + { + /* + * Negative content lengths are invalid! + */ + + if (!cupsdSendError(con, HTTP_STATUS_BAD_REQUEST, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + break; + } + + /* + * Open a temporary file to hold the request... + */ + + cupsdSetStringf(&con->filename, "%s/%08x", RequestRoot, request_id ++); + con->file = open(con->filename, O_WRONLY | O_CREAT | O_TRUNC, 0640); + + if (con->file < 0) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Unable to create request file \"%s\": %s", con->filename, strerror(errno)); + + if (!cupsdSendError(con, HTTP_STATUS_REQUEST_TOO_LARGE, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + + fchmod(con->file, 0640); + fchown(con->file, RunUser, Group); + fcntl(con->file, F_SETFD, fcntl(con->file, F_GETFD) | FD_CLOEXEC); + break; + + case HTTP_STATE_DELETE : + case HTTP_STATE_TRACE : + cupsdSendError(con, HTTP_STATUS_NOT_IMPLEMENTED, CUPSD_AUTH_NONE); + cupsdCloseClient(con); + return; + + case HTTP_STATE_HEAD : + if ((filename = get_file(con, &filestats, buf, sizeof(buf))) != NULL) + { + if (!check_if_modified(con, &filestats)) + { + if (!cupsdSendError(con, HTTP_STATUS_NOT_MODIFIED, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + cupsdLogRequest(con, HTTP_STATUS_NOT_MODIFIED); + } + else + { + /* + * Serve a file... + */ + + type = mimeFileType(MimeDatabase, filename, NULL, NULL); + if (type == NULL) + strlcpy(line, "text/plain", sizeof(line)); + else + snprintf(line, sizeof(line), "%s/%s", type->super, type->type); + + httpClearFields(con->http); + + httpSetField(con->http, HTTP_FIELD_LAST_MODIFIED, httpGetDateString(filestats.st_mtime)); + httpSetLength(con->http, (size_t)filestats.st_size); + + if (!cupsdSendHeader(con, HTTP_STATUS_OK, line, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + cupsdLogRequest(con, HTTP_STATUS_OK); + } + } + else if (!WebInterface) + { + httpClearFields(con->http); + + if (!cupsdSendHeader(con, HTTP_STATUS_OK, NULL, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + cupsdLogRequest(con, HTTP_STATUS_OK); + break; + } + + if (!buf[0] && (!strncmp(con->uri, "/admin", 6) || !strncmp(con->uri, "/classes", 8) || !strncmp(con->uri, "/help", 5) || !strncmp(con->uri, "/jobs", 5) || !strncmp(con->uri, "/printers", 9))) + { + /* + * CGI output... + */ + + httpClearFields(con->http); + + if (!cupsdSendHeader(con, HTTP_STATUS_OK, "text/html", CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + cupsdLogRequest(con, HTTP_STATUS_OK); + } + else + { + httpClearFields(con->http); + + if (!cupsdSendHeader(con, HTTP_STATUS_NOT_FOUND, "text/html", CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + + cupsdLogRequest(con, HTTP_STATUS_NOT_FOUND); + } + break; + + default : + break; /* Anti-compiler-warning-code */ + } + } + } + + /* + * Handle any incoming data... + */ + + switch (httpGetState(con->http)) + { + case HTTP_STATE_PUT_RECV : + do + { + if ((bytes = httpRead2(con->http, line, sizeof(line))) < 0) + { + if (httpError(con->http) && httpError(con->http) != EPIPE) + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "HTTP_STATE_PUT_RECV Closing for error %d (%s)", + httpError(con->http), strerror(httpError(con->http))); + else + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "HTTP_STATE_PUT_RECV Closing on EOF."); + + cupsdCloseClient(con); + return; + } + else if (bytes > 0) + { + con->bytes += bytes; + + if (MaxRequestSize > 0 && con->bytes > MaxRequestSize) + { + close(con->file); + con->file = -1; + unlink(con->filename); + cupsdClearString(&con->filename); + + if (!cupsdSendError(con, HTTP_STATUS_REQUEST_TOO_LARGE, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + + if (write(con->file, line, (size_t)bytes) < bytes) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, + "Unable to write %d bytes to \"%s\": %s", bytes, + con->filename, strerror(errno)); + + close(con->file); + con->file = -1; + unlink(con->filename); + cupsdClearString(&con->filename); + + if (!cupsdSendError(con, HTTP_STATUS_REQUEST_TOO_LARGE, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + } + else if (httpGetState(con->http) == HTTP_STATE_PUT_RECV) + { + cupsdCloseClient(con); + return; + } + } + while (httpGetState(con->http) == HTTP_STATE_PUT_RECV && httpGetReady(con->http)); + + if (httpGetState(con->http) == HTTP_STATE_STATUS) + { + /* + * End of file, see how big it is... + */ + + fstat(con->file, &filestats); + + close(con->file); + con->file = -1; + + if (filestats.st_size > MaxRequestSize && + MaxRequestSize > 0) + { + /* + * Request is too big; remove it and send an error... + */ + + unlink(con->filename); + cupsdClearString(&con->filename); + + if (!cupsdSendError(con, HTTP_STATUS_REQUEST_TOO_LARGE, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + + /* + * Install the configuration file... + */ + + status = install_cupsd_conf(con); + + /* + * Return the status to the client... + */ + + if (!cupsdSendError(con, status, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + break; + + case HTTP_STATE_POST_RECV : + do + { + if (con->request && con->file < 0) + { + /* + * Grab any request data from the connection... + */ + + if (!httpWait(con->http, 0)) + return; + + if ((ipp_state = ippRead(con->http, con->request)) == IPP_STATE_ERROR) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "IPP read error: %s", + cupsLastErrorString()); + + cupsdSendError(con, HTTP_STATUS_BAD_REQUEST, CUPSD_AUTH_NONE); + cupsdCloseClient(con); + return; + } + else if (ipp_state != IPP_STATE_DATA) + { + if (httpGetState(con->http) == HTTP_STATE_POST_SEND) + { + cupsdSendError(con, HTTP_STATUS_BAD_REQUEST, CUPSD_AUTH_NONE); + cupsdCloseClient(con); + return; + } + + if (httpGetReady(con->http)) + continue; + break; + } + else + { + cupsdLogClient(con, CUPSD_LOG_DEBUG, "%d.%d %s %d", + con->request->request.op.version[0], + con->request->request.op.version[1], + ippOpString(con->request->request.op.operation_id), + con->request->request.op.request_id); + con->bytes += (off_t)ippLength(con->request); + } + } + + if (con->file < 0 && httpGetState(con->http) != HTTP_STATE_POST_SEND) + { + /* + * Create a file as needed for the request data... + */ + + cupsdSetStringf(&con->filename, "%s/%08x", RequestRoot, + request_id ++); + con->file = open(con->filename, O_WRONLY | O_CREAT | O_TRUNC, 0640); + + if (con->file < 0) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, + "Unable to create request file \"%s\": %s", + con->filename, strerror(errno)); + + if (!cupsdSendError(con, HTTP_STATUS_REQUEST_TOO_LARGE, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + + fchmod(con->file, 0640); + fchown(con->file, RunUser, Group); + fcntl(con->file, F_SETFD, fcntl(con->file, F_GETFD) | FD_CLOEXEC); + } + + if (httpGetState(con->http) != HTTP_STATE_POST_SEND) + { + if (!httpWait(con->http, 0)) + return; + else if ((bytes = httpRead2(con->http, line, sizeof(line))) < 0) + { + if (httpError(con->http) && httpError(con->http) != EPIPE) + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "HTTP_STATE_POST_SEND Closing for error %d (%s)", + httpError(con->http), strerror(httpError(con->http))); + else + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "HTTP_STATE_POST_SEND Closing on EOF."); + + cupsdCloseClient(con); + return; + } + else if (bytes > 0) + { + con->bytes += bytes; + + if (MaxRequestSize > 0 && con->bytes > MaxRequestSize) + { + close(con->file); + con->file = -1; + unlink(con->filename); + cupsdClearString(&con->filename); + + if (!cupsdSendError(con, HTTP_STATUS_REQUEST_TOO_LARGE, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + + if (write(con->file, line, (size_t)bytes) < bytes) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, + "Unable to write %d bytes to \"%s\": %s", + bytes, con->filename, strerror(errno)); + + close(con->file); + con->file = -1; + unlink(con->filename); + cupsdClearString(&con->filename); + + if (!cupsdSendError(con, HTTP_STATUS_REQUEST_TOO_LARGE, + CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + } + else if (httpGetState(con->http) == HTTP_STATE_POST_RECV) + return; + else if (httpGetState(con->http) != HTTP_STATE_POST_SEND) + { + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "Closing on unexpected state %s.", + httpStateString(httpGetState(con->http))); + cupsdCloseClient(con); + return; + } + } + } + while (httpGetState(con->http) == HTTP_STATE_POST_RECV && httpGetReady(con->http)); + + if (httpGetState(con->http) == HTTP_STATE_POST_SEND) + { + if (con->file >= 0) + { + fstat(con->file, &filestats); + + close(con->file); + con->file = -1; + + if (filestats.st_size > MaxRequestSize && + MaxRequestSize > 0) + { + /* + * Request is too big; remove it and send an error... + */ + + unlink(con->filename); + cupsdClearString(&con->filename); + + if (con->request) + { + /* + * Delete any IPP request data... + */ + + ippDelete(con->request); + con->request = NULL; + } + + if (!cupsdSendError(con, HTTP_STATUS_REQUEST_TOO_LARGE, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + else if (filestats.st_size == 0) + { + /* + * Don't allow empty file... + */ + + unlink(con->filename); + cupsdClearString(&con->filename); + } + + if (con->command) + { + if (!cupsdSendCommand(con, con->command, con->options, 0)) + { + if (!cupsdSendError(con, HTTP_STATUS_NOT_FOUND, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + else + cupsdLogRequest(con, HTTP_STATUS_OK); + } + } + + if (con->request) + { + cupsdProcessIPPRequest(con); + + if (con->filename) + { + unlink(con->filename); + cupsdClearString(&con->filename); + } + + return; + } + } + break; + + default : + break; /* Anti-compiler-warning-code */ + } + + if (httpGetState(con->http) == HTTP_STATE_WAITING) + { + if (!httpGetKeepAlive(con->http)) + { + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "Closing because Keep-Alive is disabled."); + cupsdCloseClient(con); + } + else + { + cupsArrayRemove(ActiveClients, con); + cupsdSetBusyState(0); + } + } +} + + +/* + * 'cupsdSendCommand()' - Send output from a command via HTTP. + */ + +int /* O - 1 on success, 0 on failure */ +cupsdSendCommand( + cupsd_client_t *con, /* I - Client connection */ + char *command, /* I - Command to run */ + char *options, /* I - Command-line options */ + int root) /* I - Run as root? */ +{ + int fd; /* Standard input file descriptor */ + + + if (con->filename) + { + fd = open(con->filename, O_RDONLY); + + if (fd < 0) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, + "Unable to open \"%s\" for reading: %s", + con->filename ? con->filename : "/dev/null", + strerror(errno)); + return (0); + } + + fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); + } + else + fd = -1; + + con->pipe_pid = pipe_command(con, fd, &(con->file), command, options, root); + con->pipe_status = HTTP_STATUS_OK; + + httpClearFields(con->http); + + if (fd >= 0) + close(fd); + + cupsdLogClient(con, CUPSD_LOG_INFO, "Started \"%s\" (pid=%d, file=%d)", + command, con->pipe_pid, con->file); + + if (con->pipe_pid == 0) + return (0); + + fcntl(con->file, F_SETFD, fcntl(con->file, F_GETFD) | FD_CLOEXEC); + + cupsdAddSelect(con->file, (cupsd_selfunc_t)write_pipe, NULL, con); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Waiting for CGI data."); + + con->sent_header = 0; + con->file_ready = 0; + con->got_fields = 0; + con->header_used = 0; + + return (1); +} + + +/* + * 'cupsdSendError()' - Send an error message via HTTP. + */ + +int /* O - 1 if successful, 0 otherwise */ +cupsdSendError(cupsd_client_t *con, /* I - Connection */ + http_status_t code, /* I - Error code */ + int auth_type)/* I - Authentication type */ +{ + char location[HTTP_MAX_VALUE]; /* Location field */ + + + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "cupsdSendError code=%d, auth_type=%d", code, auth_type); + +#ifdef HAVE_SSL + /* + * Force client to upgrade for authentication if that is how the + * server is configured... + */ + + if (code == HTTP_STATUS_UNAUTHORIZED && + DefaultEncryption == HTTP_ENCRYPTION_REQUIRED && + _cups_strcasecmp(httpGetHostname(con->http, NULL, 0), "localhost") && + !httpIsEncrypted(con->http)) + { + code = HTTP_STATUS_UPGRADE_REQUIRED; + } +#endif /* HAVE_SSL */ + + /* + * Put the request in the access_log file... + */ + + cupsdLogRequest(con, code); + + /* + * To work around bugs in some proxies, don't use Keep-Alive for some + * error messages... + * + * Kerberos authentication doesn't work without Keep-Alive, so + * never disable it in that case. + */ + + strlcpy(location, httpGetField(con->http, HTTP_FIELD_LOCATION), sizeof(location)); + + httpClearFields(con->http); + httpClearCookie(con->http); + + httpSetField(con->http, HTTP_FIELD_LOCATION, location); + + if (code >= HTTP_STATUS_BAD_REQUEST && con->type != CUPSD_AUTH_NEGOTIATE) + httpSetKeepAlive(con->http, HTTP_KEEPALIVE_OFF); + + if (httpGetVersion(con->http) >= HTTP_VERSION_1_1 && + httpGetKeepAlive(con->http) == HTTP_KEEPALIVE_OFF) + httpSetField(con->http, HTTP_FIELD_CONNECTION, "close"); + + if (code >= HTTP_STATUS_BAD_REQUEST) + { + /* + * Send a human-readable error message. + */ + + char message[4096], /* Message for user */ + urltext[1024], /* URL redirection text */ + redirect[1024]; /* Redirection link */ + const char *text; /* Status-specific text */ + + + redirect[0] = '\0'; + + if (code == HTTP_STATUS_UNAUTHORIZED) + { + text = _cupsLangString(con->language, + _("Enter your username and password or the " + "root username and password to access this " + "page. If you are using Kerberos authentication, " + "make sure you have a valid Kerberos ticket.")); + } + else if (code == HTTP_STATUS_FORBIDDEN) + { + if (con->username[0]) + text = _cupsLangString(con->language, _("Your account does not have the necessary privileges.")); + else + text = _cupsLangString(con->language, _("You cannot access this page.")); + } + else if (code == HTTP_STATUS_UPGRADE_REQUIRED) + { + text = urltext; + + snprintf(urltext, sizeof(urltext), _cupsLangString(con->language, _("You must access this page using the URL https://%s:%d%s.")), con->servername, con->serverport, con->uri); + + snprintf(redirect, sizeof(redirect), "\n", con->servername, con->serverport, con->uri); + } + else if (code == HTTP_STATUS_CUPS_WEBIF_DISABLED) + text = _cupsLangString(con->language, + _("The web interface is currently disabled. Run " + "\"cupsctl WebInterface=yes\" to enable it.")); + else + text = ""; + + snprintf(message, sizeof(message), + "\n" + "\n" + "\n" + "\t\n" + "\t%s - " CUPS_SVERSION "\n" + "\t\n" + "%s" + "\n" + "\n" + "

    %s

    \n" + "

    %s

    \n" + "\n" + "\n", + _httpStatus(con->language, code), redirect, + _httpStatus(con->language, code), text); + + /* + * Send an error message back to the client. If the error code is a + * 400 or 500 series, make sure the message contains some text, too! + */ + + size_t length = strlen(message); /* Length of message */ + + httpSetLength(con->http, length); + + if (!cupsdSendHeader(con, code, "text/html", auth_type)) + return (0); + + if (httpWrite2(con->http, message, length) < 0) + return (0); + + if (httpFlushWrite(con->http) < 0) + return (0); + } + else + { + httpSetField(con->http, HTTP_FIELD_CONTENT_LENGTH, "0"); + + if (!cupsdSendHeader(con, code, NULL, auth_type)) + return (0); + } + + return (1); +} + + +/* + * 'cupsdSendHeader()' - Send an HTTP request. + */ + +int /* O - 1 on success, 0 on failure */ +cupsdSendHeader( + cupsd_client_t *con, /* I - Client to send to */ + http_status_t code, /* I - HTTP status code */ + char *type, /* I - MIME type of document */ + int auth_type) /* I - Type of authentication */ +{ + char auth_str[1024]; /* Authorization string */ + + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "cupsdSendHeader: code=%d, type=\"%s\", auth_type=%d", code, type, auth_type); + + /* + * Send the HTTP status header... + */ + + if (code == HTTP_STATUS_CUPS_WEBIF_DISABLED) + { + /* + * Treat our special "web interface is disabled" status as "200 OK" for web + * browsers. + */ + + code = HTTP_STATUS_OK; + } + + if (ServerHeader) + httpSetField(con->http, HTTP_FIELD_SERVER, ServerHeader); + + if (code == HTTP_STATUS_METHOD_NOT_ALLOWED) + httpSetField(con->http, HTTP_FIELD_ALLOW, "GET, HEAD, OPTIONS, POST, PUT"); + + if (code == HTTP_STATUS_UNAUTHORIZED) + { + if (auth_type == CUPSD_AUTH_NONE) + { + if (!con->best || con->best->type <= CUPSD_AUTH_NONE) + auth_type = cupsdDefaultAuthType(); + else + auth_type = con->best->type; + } + + auth_str[0] = '\0'; + + if (auth_type == CUPSD_AUTH_BASIC) + { + strlcpy(auth_str, "Basic realm=\"CUPS\"", sizeof(auth_str)); + } + else if (auth_type == CUPSD_AUTH_NEGOTIATE) + { +#if defined(SO_PEERCRED) && defined(AF_LOCAL) + if (httpAddrFamily(httpGetAddress(con->http)) == AF_LOCAL) + strlcpy(auth_str, "PeerCred", sizeof(auth_str)); + else +#endif /* SO_PEERCRED && AF_LOCAL */ + strlcpy(auth_str, "Negotiate", sizeof(auth_str)); + } + + if (con->best && auth_type != CUPSD_AUTH_NEGOTIATE && !con->is_browser && !_cups_strcasecmp(httpGetHostname(con->http, NULL, 0), "localhost")) + { + /* + * Add a "trc" (try root certification) parameter for local non-Kerberos + * requests when the request requires system group membership - then the + * client knows the root certificate can/should be used. + * + * Also, for macOS we also look for @AUTHKEY and add an "AuthRef key=foo" + * method as needed... + */ + + char *name, /* Current user name */ + *auth_key; /* Auth key buffer */ + size_t auth_size; /* Size of remaining buffer */ + int need_local = 1; /* Do we need to list "Local" method? */ + + auth_key = auth_str + strlen(auth_str); + auth_size = sizeof(auth_str) - (size_t)(auth_key - auth_str); + +#if defined(SO_PEERCRED) && defined(AF_LOCAL) + if (httpAddrFamily(httpGetAddress(con->http)) == AF_LOCAL) + { + strlcpy(auth_key, ", PeerCred", auth_size); + auth_key += 10; + auth_size -= 10; + } +#endif /* SO_PEERCRED && AF_LOCAL */ + + for (name = (char *)cupsArrayFirst(con->best->names); + name; + name = (char *)cupsArrayNext(con->best->names)) + { + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "cupsdSendHeader: require \"%s\"", name); + +#ifdef HAVE_AUTHORIZATION_H + if (!_cups_strncasecmp(name, "@AUTHKEY(", 9)) + { + snprintf(auth_key, auth_size, ", AuthRef key=\"%s\", Local trc=\"y\"", name + 9); + need_local = 0; + /* end parenthesis is stripped in conf.c */ + break; + } + else +#endif /* HAVE_AUTHORIZATION_H */ + if (!_cups_strcasecmp(name, "@SYSTEM")) + { +#ifdef HAVE_AUTHORIZATION_H + if (SystemGroupAuthKey) + snprintf(auth_key, auth_size, ", AuthRef key=\"%s\", Local trc=\"y\"", SystemGroupAuthKey); + else +#endif /* HAVE_AUTHORIZATION_H */ + strlcpy(auth_key, ", Local trc=\"y\"", auth_size); + need_local = 0; + break; + } + } + + if (need_local) + strlcat(auth_key, ", Local", auth_size); + } + + if (auth_str[0]) + { + cupsdLogClient(con, CUPSD_LOG_DEBUG, "WWW-Authenticate: %s", auth_str); + + httpSetField(con->http, HTTP_FIELD_WWW_AUTHENTICATE, auth_str); + } + } + + if (con->language && strcmp(con->language->language, "C")) + httpSetField(con->http, HTTP_FIELD_CONTENT_LANGUAGE, con->language->language); + + if (type) + { + if (!strcmp(type, "text/html")) + httpSetField(con->http, HTTP_FIELD_CONTENT_TYPE, "text/html; charset=utf-8"); + else + httpSetField(con->http, HTTP_FIELD_CONTENT_TYPE, type); + } + + return (!httpWriteResponse(con->http, code)); +} + + +/* + * 'cupsdUpdateCGI()' - Read status messages from CGI scripts and programs. + */ + +void +cupsdUpdateCGI(void) +{ + char *ptr, /* Pointer to end of line in buffer */ + message[1024]; /* Pointer to message text */ + int loglevel; /* Log level for message */ + + + while ((ptr = cupsdStatBufUpdate(CGIStatusBuffer, &loglevel, + message, sizeof(message))) != NULL) + { + if (loglevel == CUPSD_LOG_INFO) + cupsdLogMessage(CUPSD_LOG_INFO, "%s", message); + + if (!strchr(CGIStatusBuffer->buffer, '\n')) + break; + } + + if (ptr == NULL && !CGIStatusBuffer->bufused) + { + /* + * Fatal error on pipe - should never happen! + */ + + cupsdLogMessage(CUPSD_LOG_CRIT, + "cupsdUpdateCGI: error reading from CGI error pipe - %s", + strerror(errno)); + } +} + + +/* + * 'cupsdWriteClient()' - Write data to a client as needed. + */ + +void +cupsdWriteClient(cupsd_client_t *con) /* I - Client connection */ +{ + int bytes, /* Number of bytes written */ + field_col; /* Current column */ + char *bufptr, /* Pointer into buffer */ + *bufend; /* Pointer to end of buffer */ + ipp_state_t ipp_state; /* IPP state value */ + + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "con->http=%p", con->http); + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "cupsdWriteClient " + "error=%d, " + "used=%d, " + "state=%s, " + "data_encoding=HTTP_ENCODING_%s, " + "data_remaining=" CUPS_LLFMT ", " + "response=%p(%s), " + "pipe_pid=%d, " + "file=%d", + httpError(con->http), (int)httpGetReady(con->http), + httpStateString(httpGetState(con->http)), + httpIsChunked(con->http) ? "CHUNKED" : "LENGTH", + CUPS_LLCAST httpGetLength2(con->http), + con->response, + con->response ? ippStateString(ippGetState(con->request)) : "", + con->pipe_pid, con->file); + + if (httpGetState(con->http) != HTTP_STATE_GET_SEND && + httpGetState(con->http) != HTTP_STATE_POST_SEND) + { + /* + * If we get called in the wrong state, then something went wrong with the + * connection and we need to shut it down... + */ + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Closing on unexpected HTTP write state %s.", + httpStateString(httpGetState(con->http))); + cupsdCloseClient(con); + return; + } + + if (con->pipe_pid) + { + /* + * Make sure we select on the CGI output... + */ + + cupsdAddSelect(con->file, (cupsd_selfunc_t)write_pipe, NULL, con); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Waiting for CGI data."); + + if (!con->file_ready) + { + /* + * Try again later when there is CGI output available... + */ + + cupsdRemoveSelect(httpGetFd(con->http)); + return; + } + + con->file_ready = 0; + } + + bytes = (ssize_t)(sizeof(con->header) - (size_t)con->header_used); + + if (!con->pipe_pid && bytes > (ssize_t)httpGetRemaining(con->http)) + { + /* + * Limit GET bytes to original size of file (STR #3265)... + */ + + bytes = (ssize_t)httpGetRemaining(con->http); + } + + if (con->response && con->response->state != IPP_STATE_DATA) + { + size_t wused = httpGetPending(con->http); /* Previous write buffer use */ + + do + { + /* + * Write a single attribute or the IPP message header... + */ + + ipp_state = ippWrite(con->http, con->response); + + /* + * If the write buffer has been flushed, stop buffering up attributes... + */ + + if (httpGetPending(con->http) <= wused) + break; + } + while (ipp_state != IPP_STATE_DATA && ipp_state != IPP_STATE_ERROR); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "Writing IPP response, ipp_state=%s, old " + "wused=" CUPS_LLFMT ", new wused=" CUPS_LLFMT, + ippStateString(ipp_state), + CUPS_LLCAST wused, CUPS_LLCAST httpGetPending(con->http)); + + if (httpGetPending(con->http) > 0) + httpFlushWrite(con->http); + + bytes = ipp_state != IPP_STATE_ERROR && + (con->file >= 0 || ipp_state != IPP_STATE_DATA); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "bytes=%d, http_state=%d, data_remaining=" CUPS_LLFMT, + (int)bytes, httpGetState(con->http), + CUPS_LLCAST httpGetLength2(con->http)); + } + else if ((bytes = read(con->file, con->header + con->header_used, (size_t)bytes)) > 0) + { + con->header_used += bytes; + + if (con->pipe_pid && !con->got_fields) + { + /* + * Inspect the data for Content-Type and other fields. + */ + + for (bufptr = con->header, bufend = con->header + con->header_used, + field_col = 0; + !con->got_fields && bufptr < bufend; + bufptr ++) + { + if (*bufptr == '\n') + { + /* + * Send line to client... + */ + + if (bufptr > con->header && bufptr[-1] == '\r') + bufptr[-1] = '\0'; + *bufptr++ = '\0'; + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Script header: %s", con->header); + + if (!con->sent_header) + { + /* + * Handle redirection and CGI status codes... + */ + + http_field_t field; /* HTTP field */ + char *value = strchr(con->header, ':'); + /* Value of field */ + + if (value) + { + *value++ = '\0'; + while (isspace(*value & 255)) + value ++; + } + + field = httpFieldValue(con->header); + + if (field != HTTP_FIELD_UNKNOWN && value) + { + httpSetField(con->http, field, value); + + if (field == HTTP_FIELD_LOCATION) + { + con->pipe_status = HTTP_STATUS_SEE_OTHER; + con->sent_header = 2; + } + else + con->sent_header = 1; + } + else if (!_cups_strcasecmp(con->header, "Status") && value) + { + con->pipe_status = (http_status_t)atoi(value); + con->sent_header = 2; + } + else if (!_cups_strcasecmp(con->header, "Set-Cookie") && value) + { + httpSetCookie(con->http, value); + con->sent_header = 1; + } + } + + /* + * Update buffer... + */ + + con->header_used -= bufptr - con->header; + + if (con->header_used > 0) + memmove(con->header, bufptr, (size_t)con->header_used); + + bufptr = con->header - 1; + + /* + * See if the line was empty... + */ + + if (field_col == 0) + { + con->got_fields = 1; + + if (httpGetVersion(con->http) == HTTP_VERSION_1_1 && + !httpGetField(con->http, HTTP_FIELD_CONTENT_LENGTH)[0]) + httpSetLength(con->http, 0); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Sending status %d for CGI.", con->pipe_status); + + if (con->pipe_status == HTTP_STATUS_OK) + { + if (!cupsdSendHeader(con, con->pipe_status, NULL, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + else + { + if (!cupsdSendError(con, con->pipe_status, CUPSD_AUTH_NONE)) + { + cupsdCloseClient(con); + return; + } + } + } + else + field_col = 0; + } + else if (*bufptr != '\r') + field_col ++; + } + + if (!con->got_fields) + return; + } + + if (con->header_used > 0) + { + if (httpWrite2(con->http, con->header, (size_t)con->header_used) < 0) + { + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Closing for error %d (%s)", + httpError(con->http), strerror(httpError(con->http))); + cupsdCloseClient(con); + return; + } + + if (httpIsChunked(con->http)) + httpFlushWrite(con->http); + + con->bytes += con->header_used; + + if (httpGetState(con->http) == HTTP_STATE_WAITING) + bytes = 0; + else + bytes = con->header_used; + + con->header_used = 0; + } + } + + if (bytes <= 0 || + (httpGetState(con->http) != HTTP_STATE_GET_SEND && + httpGetState(con->http) != HTTP_STATE_POST_SEND)) + { + if (!con->sent_header && con->pipe_pid) + cupsdSendError(con, HTTP_STATUS_SERVER_ERROR, CUPSD_AUTH_NONE); + else + { + cupsdLogRequest(con, HTTP_STATUS_OK); + + if (httpIsChunked(con->http) && (!con->pipe_pid || con->sent_header > 0)) + { + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Sending 0-length chunk."); + + if (httpWrite2(con->http, "", 0) < 0) + { + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Closing for error %d (%s)", + httpError(con->http), strerror(httpError(con->http))); + cupsdCloseClient(con); + return; + } + } + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Flushing write buffer."); + httpFlushWrite(con->http); + cupsdLogClient(con, CUPSD_LOG_DEBUG, "New state is %s", httpStateString(httpGetState(con->http))); + } + + cupsdAddSelect(httpGetFd(con->http), (cupsd_selfunc_t)cupsdReadClient, NULL, con); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Waiting for request."); + + if (con->file >= 0) + { + cupsdRemoveSelect(con->file); + + if (con->pipe_pid) + cupsdEndProcess(con->pipe_pid, 0); + + close(con->file); + con->file = -1; + con->pipe_pid = 0; + } + + if (con->filename) + { + unlink(con->filename); + cupsdClearString(&con->filename); + } + + if (con->request) + { + ippDelete(con->request); + con->request = NULL; + } + + if (con->response) + { + ippDelete(con->response); + con->response = NULL; + } + + cupsdClearString(&con->command); + cupsdClearString(&con->options); + cupsdClearString(&con->query_string); + + if (!httpGetKeepAlive(con->http)) + { + cupsdLogClient(con, CUPSD_LOG_DEBUG, + "Closing because Keep-Alive is disabled."); + cupsdCloseClient(con); + return; + } + else + { + cupsArrayRemove(ActiveClients, con); + cupsdSetBusyState(0); + } + } +} + + +/* + * 'check_if_modified()' - Decode an "If-Modified-Since" line. + */ + +static int /* O - 1 if modified since */ +check_if_modified( + cupsd_client_t *con, /* I - Client connection */ + struct stat *filestats) /* I - File information */ +{ + const char *ptr; /* Pointer into field */ + time_t date; /* Time/date value */ + off_t size; /* Size/length value */ + + + size = 0; + date = 0; + ptr = httpGetField(con->http, HTTP_FIELD_IF_MODIFIED_SINCE); + + if (*ptr == '\0') + return (1); + + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "check_if_modified: filestats=%p(" CUPS_LLFMT ", %d)) If-Modified-Since=\"%s\"", filestats, CUPS_LLCAST filestats->st_size, (int)filestats->st_mtime, ptr); + + while (*ptr != '\0') + { + while (isspace(*ptr) || *ptr == ';') + ptr ++; + + if (_cups_strncasecmp(ptr, "length=", 7) == 0) + { + ptr += 7; + size = strtoll(ptr, NULL, 10); + + while (isdigit(*ptr)) + ptr ++; + } + else if (isalpha(*ptr)) + { + date = httpGetDateTime(ptr); + while (*ptr != '\0' && *ptr != ';') + ptr ++; + } + else + ptr ++; + } + + return ((size != filestats->st_size && size != 0) || + (date < filestats->st_mtime && date != 0) || + (size == 0 && date == 0)); +} + + +/* + * 'compare_clients()' - Compare two client connections. + */ + +static int /* O - Result of comparison */ +compare_clients(cupsd_client_t *a, /* I - First client */ + cupsd_client_t *b, /* I - Second client */ + void *data) /* I - User data (not used) */ +{ + (void)data; + + if (a == b) + return (0); + else if (a < b) + return (-1); + else + return (1); +} + + +#ifdef HAVE_SSL +/* + * 'cupsd_start_tls()' - Start encryption on a connection. + */ + +static int /* O - 0 on success, -1 on error */ +cupsd_start_tls(cupsd_client_t *con, /* I - Client connection */ + http_encryption_t e) /* I - Encryption mode */ +{ + if (httpEncryption(con->http, e)) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Unable to encrypt connection: %s", + cupsLastErrorString()); + return (-1); + } + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Connection now encrypted."); + return (0); +} +#endif /* HAVE_SSL */ + + +/* + * 'get_file()' - Get a filename and state info. + */ + +static char * /* O - Real filename */ +get_file(cupsd_client_t *con, /* I - Client connection */ + struct stat *filestats, /* O - File information */ + char *filename, /* IO - Filename buffer */ + size_t len) /* I - Buffer length */ +{ + int status; /* Status of filesystem calls */ + char *ptr; /* Pointer info filename */ + size_t plen; /* Remaining length after pointer */ + char language[7], /* Language subdirectory, if any */ + dest[1024]; /* Destination name */ + int perm_check = 1; /* Do permissions check? */ + cupsd_printer_t *p; /* Printer */ + + + /* + * Figure out the real filename... + */ + + filename[0] = '\0'; + language[0] = '\0'; + + if (!strncmp(con->uri, "/help", 5) && (con->uri[5] == '/' || !con->uri[5])) + { + /* + * All help files are served by the help.cgi program... + */ + + return (NULL); + } + else if ((!strncmp(con->uri, "/ppd/", 5) || !strncmp(con->uri, "/printers/", 10) || !strncmp(con->uri, "/classes/", 9)) && !strcmp(con->uri + strlen(con->uri) - 4, ".ppd")) + { + strlcpy(dest, strchr(con->uri + 1, '/') + 1, sizeof(dest)); + dest[strlen(dest) - 4] = '\0'; /* Strip .ppd */ + + if ((p = cupsdFindDest(dest)) == NULL) + { + strlcpy(filename, "/", len); + cupsdLogClient(con, CUPSD_LOG_INFO, "No destination \"%s\" found.", dest); + return (NULL); + } + + if (p->type & CUPS_PRINTER_CLASS) + { + int i; /* Looping var */ + + for (i = 0; i < p->num_printers; i ++) + { + if (!(p->printers[i]->type & CUPS_PRINTER_CLASS)) + { + snprintf(filename, len, "%s/ppd/%s.ppd", ServerRoot, p->printers[i]->name); + if (!access(filename, 0)) + { + p = p->printers[i]; + break; + } + } + } + + if (i >= p->num_printers) + p = NULL; + } + else + snprintf(filename, len, "%s/ppd/%s.ppd", ServerRoot, p->name); + + perm_check = 0; + } + else if ((!strncmp(con->uri, "/icons/", 7) || !strncmp(con->uri, "/printers/", 10) || !strncmp(con->uri, "/classes/", 9)) && !strcmp(con->uri + strlen(con->uri) - 4, ".png")) + { + strlcpy(dest, strchr(con->uri + 1, '/') + 1, sizeof(dest)); + dest[strlen(dest) - 4] = '\0'; /* Strip .png */ + + if ((p = cupsdFindDest(dest)) == NULL) + { + strlcpy(filename, "/", len); + cupsdLogClient(con, CUPSD_LOG_INFO, "No destination \"%s\" found.", dest); + return (NULL); + } + + if (p->type & CUPS_PRINTER_CLASS) + { + int i; /* Looping var */ + + for (i = 0; i < p->num_printers; i ++) + { + if (!(p->printers[i]->type & CUPS_PRINTER_CLASS)) + { + snprintf(filename, len, "%s/images/%s.png", CacheDir, p->printers[i]->name); + if (!access(filename, 0)) + { + p = p->printers[i]; + break; + } + } + } + + if (i >= p->num_printers) + p = NULL; + } + else + snprintf(filename, len, "%s/images/%s.png", CacheDir, p->name); + + if (access(filename, F_OK) < 0) + snprintf(filename, len, "%s/images/generic.png", DocumentRoot); + + perm_check = 0; + } + else if (!strncmp(con->uri, "/admin", 6) || !strncmp(con->uri, "/classes", 8) || !strncmp(con->uri, "/jobs", 5) || !strncmp(con->uri, "/printers", 9)) + { + /* + * Admin/class/job/printer pages are served by CGI... + */ + + return (NULL); + } + else if (!strncmp(con->uri, "/rss/", 5) && !strchr(con->uri + 5, '/')) + snprintf(filename, len, "%s/rss/%s", CacheDir, con->uri + 5); + else if (!strncmp(con->uri, "/strings/", 9) && !strcmp(con->uri + strlen(con->uri) - 8, ".strings")) + { + strlcpy(dest, con->uri + 9, sizeof(dest)); + dest[strlen(dest) - 8] = '\0'; + + if ((p = cupsdFindDest(dest)) == NULL) + { + strlcpy(filename, "/", len); + cupsdLogClient(con, CUPSD_LOG_INFO, "No destination \"%s\" found.", dest); + return (NULL); + } + + if (!p->strings) + { + strlcpy(filename, "/", len); + cupsdLogClient(con, CUPSD_LOG_INFO, "No strings files for \"%s\".", dest); + return (NULL); + } + + strlcpy(filename, p->strings, len); + + perm_check = 0; + } + else if (!strcmp(con->uri, "/admin/conf/cupsd.conf")) + { + strlcpy(filename, ConfigurationFile, len); + + perm_check = 0; + } + else if (!strncmp(con->uri, "/admin/log/", 11)) + { + if (!strncmp(con->uri + 11, "access_log", 10) && AccessLog[0] == '/') + strlcpy(filename, AccessLog, len); + else if (!strncmp(con->uri + 11, "error_log", 9) && ErrorLog[0] == '/') + strlcpy(filename, ErrorLog, len); + else if (!strncmp(con->uri + 11, "page_log", 8) && PageLog[0] == '/') + strlcpy(filename, PageLog, len); + else + return (NULL); + + perm_check = 0; + } + else if (con->language) + { + snprintf(language, sizeof(language), "/%s", con->language->language); + snprintf(filename, len, "%s%s%s", DocumentRoot, language, con->uri); + } + else + snprintf(filename, len, "%s%s", DocumentRoot, con->uri); + + if ((ptr = strchr(filename, '?')) != NULL) + *ptr = '\0'; + + /* + * Grab the status for this language; if there isn't a language-specific file + * then fallback to the default one... + */ + + if ((status = lstat(filename, filestats)) != 0 && language[0] && + strncmp(con->uri, "/icons/", 7) && + strncmp(con->uri, "/ppd/", 5) && + strncmp(con->uri, "/rss/", 5) && + strncmp(con->uri, "/strings/", 9) && + strncmp(con->uri, "/admin/conf/", 12) && + strncmp(con->uri, "/admin/log/", 11)) + { + /* + * Drop the country code... + */ + + language[3] = '\0'; + snprintf(filename, len, "%s%s%s", DocumentRoot, language, con->uri); + + if ((ptr = strchr(filename, '?')) != NULL) + *ptr = '\0'; + + if ((status = lstat(filename, filestats)) != 0) + { + /* + * Drop the language prefix and try the root directory... + */ + + language[0] = '\0'; + snprintf(filename, len, "%s%s", DocumentRoot, con->uri); + + if ((ptr = strchr(filename, '?')) != NULL) + *ptr = '\0'; + + status = lstat(filename, filestats); + } + } + + /* + * If we've found a symlink, 404 the sucker to avoid disclosing information. + */ + + if (!status && S_ISLNK(filestats->st_mode)) + { + cupsdLogClient(con, CUPSD_LOG_INFO, "Symlinks such as \"%s\" are not allowed.", filename); + return (NULL); + } + + /* + * Similarly, if the file/directory does not have world read permissions, do + * not allow access... + */ + + if (!status && perm_check && !(filestats->st_mode & S_IROTH)) + { + cupsdLogClient(con, CUPSD_LOG_INFO, "Files/directories such as \"%s\" must be world-readable.", filename); + return (NULL); + } + + /* + * If we've found a directory, get the index.html file instead... + */ + + if (!status && S_ISDIR(filestats->st_mode)) + { + /* + * Make sure the URI ends with a slash... + */ + + if (con->uri[strlen(con->uri) - 1] != '/') + strlcat(con->uri, "/", sizeof(con->uri)); + + /* + * Find the directory index file, trying every language... + */ + + do + { + if (status && language[0]) + { + /* + * Try a different language subset... + */ + + if (language[3]) + language[0] = '\0'; /* Strip country code */ + else + language[0] = '\0'; /* Strip language */ + } + + /* + * Look for the index file... + */ + + snprintf(filename, len, "%s%s%s", DocumentRoot, language, con->uri); + + if ((ptr = strchr(filename, '?')) != NULL) + *ptr = '\0'; + + ptr = filename + strlen(filename); + plen = len - (size_t)(ptr - filename); + + strlcpy(ptr, "index.html", plen); + status = lstat(filename, filestats); + } + while (status && language[0]); + + /* + * If we've found a symlink, 404 the sucker to avoid disclosing information. + */ + + if (!status && S_ISLNK(filestats->st_mode)) + { + cupsdLogClient(con, CUPSD_LOG_INFO, "Symlinks such as \"%s\" are not allowed.", filename); + return (NULL); + } + + /* + * Similarly, if the file/directory does not have world read permissions, do + * not allow access... + */ + + if (!status && perm_check && !(filestats->st_mode & S_IROTH)) + { + cupsdLogClient(con, CUPSD_LOG_INFO, "Files/directories such as \"%s\" must be world-readable.", filename); + return (NULL); + } + } + + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "get_file: filestats=%p, filename=%p, len=" CUPS_LLFMT ", returning \"%s\".", filestats, filename, CUPS_LLCAST len, status ? "(null)" : filename); + + if (status) + return (NULL); + else + return (filename); +} + + +/* + * 'install_cupsd_conf()' - Install a configuration file. + */ + +static http_status_t /* O - Status */ +install_cupsd_conf(cupsd_client_t *con) /* I - Connection */ +{ + char filename[1024]; /* Configuration filename */ + cups_file_t *in, /* Input file */ + *out; /* Output file */ + char buffer[16384]; /* Copy buffer */ + ssize_t bytes; /* Number of bytes */ + + + /* + * Open the request file... + */ + + if ((in = cupsFileOpen(con->filename, "rb")) == NULL) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, "Unable to open request file \"%s\": %s", + con->filename, strerror(errno)); + goto server_error; + } + + /* + * Open the new config file... + */ + + if ((out = cupsdCreateConfFile(ConfigurationFile, ConfigFilePerm)) == NULL) + { + cupsFileClose(in); + goto server_error; + } + + cupsdLogClient(con, CUPSD_LOG_INFO, "Installing config file \"%s\"...", + ConfigurationFile); + + /* + * Copy from the request to the new config file... + */ + + while ((bytes = cupsFileRead(in, buffer, sizeof(buffer))) > 0) + if (cupsFileWrite(out, buffer, (size_t)bytes) < bytes) + { + cupsdLogClient(con, CUPSD_LOG_ERROR, + "Unable to copy to config file \"%s\": %s", + ConfigurationFile, strerror(errno)); + + cupsFileClose(in); + cupsFileClose(out); + + snprintf(filename, sizeof(filename), "%s.N", ConfigurationFile); + cupsdUnlinkOrRemoveFile(filename); + + goto server_error; + } + + /* + * Close the files... + */ + + cupsFileClose(in); + + if (cupsdCloseCreatedConfFile(out, ConfigurationFile)) + goto server_error; + + /* + * Remove the request file... + */ + + cupsdUnlinkOrRemoveFile(con->filename); + cupsdClearString(&con->filename); + + /* + * Set the NeedReload flag... + */ + + NeedReload = RELOAD_CUPSD; + ReloadTime = time(NULL); + + /* + * Return that the file was created successfully... + */ + + return (HTTP_STATUS_CREATED); + + /* + * Common exit for errors... + */ + + server_error: + + cupsdUnlinkOrRemoveFile(con->filename); + cupsdClearString(&con->filename); + + return (HTTP_STATUS_SERVER_ERROR); +} + + +/* + * 'is_cgi()' - Is the resource a CGI script/program? + */ + +static int /* O - 1 = CGI, 0 = file */ +is_cgi(cupsd_client_t *con, /* I - Client connection */ + const char *filename, /* I - Real filename */ + struct stat *filestats, /* I - File information */ + mime_type_t *type) /* I - MIME type */ +{ + const char *options; /* Options on URL */ + + + /* + * Get the options, if any... + */ + + if ((options = strchr(con->uri, '?')) != NULL) + { + options ++; + cupsdSetStringf(&(con->query_string), "QUERY_STRING=%s", options); + } + + /* + * Check for known types... + */ + + if (!type || _cups_strcasecmp(type->super, "application")) + { + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "is_cgi: filename=\"%s\", filestats=%p, type=%s/%s, returning 0.", filename, filestats, type ? type->super : "unknown", type ? type->type : "unknown"); + return (0); + } + + if (!_cups_strcasecmp(type->type, "x-httpd-cgi") && + (filestats->st_mode & 0111)) + { + /* + * "application/x-httpd-cgi" is a CGI script. + */ + + cupsdSetString(&con->command, filename); + + if (options) + cupsdSetStringf(&con->options, " %s", options); + + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "is_cgi: filename=\"%s\", filestats=%p, type=%s/%s, returning 1.", filename, filestats, type->super, type->type); + return (1); + } + + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "is_cgi: filename=\"%s\", filestats=%p, type=%s/%s, returning 0.", filename, filestats, type->super, type->type); + return (0); +} + + +/* + * 'is_path_absolute()' - Is a path absolute and free of relative elements (i.e. ".."). + */ + +static int /* O - 0 if relative, 1 if absolute */ +is_path_absolute(const char *path) /* I - Input path */ +{ + /* + * Check for a leading slash... + */ + + if (path[0] != '/') + return (0); + + /* + * Check for "<" or quotes in the path and reject since this is probably + * someone trying to inject HTML... + */ + + if (strchr(path, '<') != NULL || strchr(path, '\"') != NULL || strchr(path, '\'') != NULL) + return (0); + + /* + * Check for "/.." in the path... + */ + + while ((path = strstr(path, "/..")) != NULL) + { + if (!path[3] || path[3] == '/') + return (0); + + path ++; + } + + /* + * If we haven't found any relative paths, return 1 indicating an + * absolute path... + */ + + return (1); +} + + +/* + * 'pipe_command()' - Pipe the output of a command to the remote client. + */ + +static int /* O - Process ID */ +pipe_command(cupsd_client_t *con, /* I - Client connection */ + int infile, /* I - Standard input for command */ + int *outfile, /* O - Standard output for command */ + char *command, /* I - Command to run */ + char *options, /* I - Options for command */ + int root) /* I - Run as root? */ +{ + int i; /* Looping var */ + int pid; /* Process ID */ + char *commptr, /* Command string pointer */ + commch; /* Command string character */ + char *uriptr; /* URI string pointer */ + int fds[2]; /* Pipe FDs */ + int argc; /* Number of arguments */ + int envc; /* Number of environment variables */ + char argbuf[10240], /* Argument buffer */ + *argv[100], /* Argument strings */ + *envp[MAX_ENV + 20]; /* Environment variables */ + char auth_type[256], /* AUTH_TYPE environment variable */ + content_length[1024], /* CONTENT_LENGTH environment variable */ + content_type[1024], /* CONTENT_TYPE environment variable */ + http_cookie[32768], /* HTTP_COOKIE environment variable */ + http_referer[1024], /* HTTP_REFERER environment variable */ + http_user_agent[1024], /* HTTP_USER_AGENT environment variable */ + lang[1024], /* LANG environment variable */ + path_info[1024], /* PATH_INFO environment variable */ + remote_addr[1024], /* REMOTE_ADDR environment variable */ + remote_host[1024], /* REMOTE_HOST environment variable */ + remote_user[1024], /* REMOTE_USER environment variable */ + script_filename[1024], /* SCRIPT_FILENAME environment variable */ + script_name[1024], /* SCRIPT_NAME environment variable */ + server_name[1024], /* SERVER_NAME environment variable */ + server_port[1024]; /* SERVER_PORT environment variable */ + ipp_attribute_t *attr; /* attributes-natural-language attribute */ + + + /* + * Parse a copy of the options string, which is of the form: + * + * argument+argument+argument + * ?argument+argument+argument + * param=value¶m=value + * ?param=value¶m=value + * /name?argument+argument+argument + * /name?param=value¶m=value + * + * If the string contains an "=" character after the initial name, + * then we treat it as a HTTP GET form request and make a copy of + * the remaining string for the environment variable. + * + * The string is always parsed out as command-line arguments, to + * be consistent with Apache... + */ + + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "pipe_command: infile=%d, outfile=%p, command=\"%s\", options=\"%s\", root=%d", infile, outfile, command, options ? options : "(null)", root); + + argv[0] = command; + + if (options) + strlcpy(argbuf, options, sizeof(argbuf)); + else + argbuf[0] = '\0'; + + if (argbuf[0] == '/') + { + /* + * Found some trailing path information, set PATH_INFO... + */ + + if ((commptr = strchr(argbuf, '?')) == NULL) + commptr = argbuf + strlen(argbuf); + + commch = *commptr; + *commptr = '\0'; + snprintf(path_info, sizeof(path_info), "PATH_INFO=%s", argbuf); + *commptr = commch; + } + else + { + commptr = argbuf; + path_info[0] = '\0'; + + if (*commptr == ' ') + commptr ++; + } + + if (*commptr == '?' && con->operation == HTTP_STATE_GET && !con->query_string) + { + commptr ++; + cupsdSetStringf(&(con->query_string), "QUERY_STRING=%s", commptr); + } + + argc = 1; + + if (*commptr) + { + argv[argc ++] = commptr; + + for (; *commptr && argc < 99; commptr ++) + { + /* + * Break arguments whenever we see a + or space... + */ + + if (*commptr == ' ' || *commptr == '+') + { + while (*commptr == ' ' || *commptr == '+') + *commptr++ = '\0'; + + /* + * If we don't have a blank string, save it as another argument... + */ + + if (*commptr) + { + argv[argc] = commptr; + argc ++; + } + else + break; + } + else if (*commptr == '%' && isxdigit(commptr[1] & 255) && + isxdigit(commptr[2] & 255)) + { + /* + * Convert the %xx notation to the individual character. + */ + + if (commptr[1] >= '0' && commptr[1] <= '9') + *commptr = (char)((commptr[1] - '0') << 4); + else + *commptr = (char)((tolower(commptr[1]) - 'a' + 10) << 4); + + if (commptr[2] >= '0' && commptr[2] <= '9') + *commptr |= commptr[2] - '0'; + else + *commptr |= tolower(commptr[2]) - 'a' + 10; + + _cups_strcpy(commptr + 1, commptr + 3); + + /* + * Check for a %00 and break if that is the case... + */ + + if (!*commptr) + break; + } + } + } + + argv[argc] = NULL; + + /* + * Setup the environment variables as needed... + */ + + if (con->username[0]) + { + snprintf(auth_type, sizeof(auth_type), "AUTH_TYPE=%s", + httpGetField(con->http, HTTP_FIELD_AUTHORIZATION)); + + if ((uriptr = strchr(auth_type + 10, ' ')) != NULL) + *uriptr = '\0'; + } + else + auth_type[0] = '\0'; + + if (con->request && (attr = ippFindAttribute(con->request, "attributes-natural-language", IPP_TAG_LANGUAGE)) != NULL) + { + cups_lang_t *language = cupsLangGet(ippGetString(attr, 0, NULL)); + + snprintf(lang, sizeof(lang), "LANG=%s.UTF8", language->language); + cupsLangFree(language); + } + else if (con->language) + snprintf(lang, sizeof(lang), "LANG=%s.UTF8", con->language->language); + else + strlcpy(lang, "LANG=C", sizeof(lang)); + + strlcpy(remote_addr, "REMOTE_ADDR=", sizeof(remote_addr)); + httpAddrString(httpGetAddress(con->http), remote_addr + 12, + sizeof(remote_addr) - 12); + + snprintf(remote_host, sizeof(remote_host), "REMOTE_HOST=%s", + httpGetHostname(con->http, NULL, 0)); + + snprintf(script_name, sizeof(script_name), "SCRIPT_NAME=%s", con->uri); + if ((uriptr = strchr(script_name, '?')) != NULL) + *uriptr = '\0'; + + snprintf(script_filename, sizeof(script_filename), "SCRIPT_FILENAME=%s%s", + DocumentRoot, script_name + 12); + + snprintf(server_port, sizeof(server_port), "SERVER_PORT=%d", con->serverport); + + if (httpGetField(con->http, HTTP_FIELD_HOST)[0]) + { + char *nameptr; /* Pointer to ":port" */ + + snprintf(server_name, sizeof(server_name), "SERVER_NAME=%s", + httpGetField(con->http, HTTP_FIELD_HOST)); + if ((nameptr = strrchr(server_name, ':')) != NULL && !strchr(nameptr, ']')) + *nameptr = '\0'; /* Strip trailing ":port" */ + } + else + snprintf(server_name, sizeof(server_name), "SERVER_NAME=%s", + con->servername); + + envc = cupsdLoadEnv(envp, (int)(sizeof(envp) / sizeof(envp[0]))); + + if (auth_type[0]) + envp[envc ++] = auth_type; + + envp[envc ++] = lang; + envp[envc ++] = "REDIRECT_STATUS=1"; + envp[envc ++] = "GATEWAY_INTERFACE=CGI/1.1"; + envp[envc ++] = server_name; + envp[envc ++] = server_port; + envp[envc ++] = remote_addr; + envp[envc ++] = remote_host; + envp[envc ++] = script_name; + envp[envc ++] = script_filename; + + if (path_info[0]) + envp[envc ++] = path_info; + + if (con->username[0]) + { + snprintf(remote_user, sizeof(remote_user), "REMOTE_USER=%s", con->username); + + envp[envc ++] = remote_user; + } + + if (httpGetVersion(con->http) == HTTP_VERSION_1_1) + envp[envc ++] = "SERVER_PROTOCOL=HTTP/1.1"; + else if (httpGetVersion(con->http) == HTTP_VERSION_1_0) + envp[envc ++] = "SERVER_PROTOCOL=HTTP/1.0"; + else + envp[envc ++] = "SERVER_PROTOCOL=HTTP/0.9"; + + if (httpGetCookie(con->http)) + { + snprintf(http_cookie, sizeof(http_cookie), "HTTP_COOKIE=%s", + httpGetCookie(con->http)); + envp[envc ++] = http_cookie; + } + + if (httpGetField(con->http, HTTP_FIELD_USER_AGENT)[0]) + { + snprintf(http_user_agent, sizeof(http_user_agent), "HTTP_USER_AGENT=%s", + httpGetField(con->http, HTTP_FIELD_USER_AGENT)); + envp[envc ++] = http_user_agent; + } + + if (httpGetField(con->http, HTTP_FIELD_REFERER)[0]) + { + snprintf(http_referer, sizeof(http_referer), "HTTP_REFERER=%s", + httpGetField(con->http, HTTP_FIELD_REFERER)); + envp[envc ++] = http_referer; + } + + if (con->operation == HTTP_STATE_GET) + { + envp[envc ++] = "REQUEST_METHOD=GET"; + + if (con->query_string) + { + /* + * Add GET form variables after ?... + */ + + envp[envc ++] = con->query_string; + } + else + envp[envc ++] = "QUERY_STRING="; + } + else + { + sprintf(content_length, "CONTENT_LENGTH=" CUPS_LLFMT, + CUPS_LLCAST con->bytes); + snprintf(content_type, sizeof(content_type), "CONTENT_TYPE=%s", + httpGetField(con->http, HTTP_FIELD_CONTENT_TYPE)); + + envp[envc ++] = "REQUEST_METHOD=POST"; + envp[envc ++] = content_length; + envp[envc ++] = content_type; + } + + /* + * Tell the CGI if we are using encryption... + */ + + if (httpIsEncrypted(con->http)) + envp[envc ++] = "HTTPS=ON"; + + /* + * Terminate the environment array... + */ + + envp[envc] = NULL; + + if (LogLevel >= CUPSD_LOG_DEBUG) + { + for (i = 0; i < argc; i ++) + cupsdLogMessage(CUPSD_LOG_DEBUG, + "[CGI] argv[%d] = \"%s\"", i, argv[i]); + for (i = 0; i < envc; i ++) + cupsdLogMessage(CUPSD_LOG_DEBUG, + "[CGI] envp[%d] = \"%s\"", i, envp[i]); + } + + /* + * Create a pipe for the output... + */ + + if (cupsdOpenPipe(fds)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "[CGI] Unable to create pipe for %s - %s", + argv[0], strerror(errno)); + return (0); + } + + /* + * Then execute the command... + */ + + if (cupsdStartProcess(command, argv, envp, infile, fds[1], CGIPipes[1], + -1, -1, root, DefaultProfile, NULL, &pid) < 0) + { + /* + * Error - can't fork! + */ + + cupsdLogMessage(CUPSD_LOG_ERROR, "[CGI] Unable to start %s - %s", argv[0], + strerror(errno)); + + cupsdClosePipe(fds); + pid = 0; + } + else + { + /* + * Fork successful - return the PID... + */ + + if (con->username[0]) + cupsdAddCert(pid, con->username, con->type); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "[CGI] Started %s (PID %d)", command, pid); + + *outfile = fds[0]; + close(fds[1]); + } + + return (pid); +} + + +/* + * 'valid_host()' - Is the Host: field valid? + */ + +static int /* O - 1 if valid, 0 if not */ +valid_host(cupsd_client_t *con) /* I - Client connection */ +{ + cupsd_alias_t *a; /* Current alias */ + cupsd_netif_t *netif; /* Current network interface */ + const char *end; /* End character */ + char *ptr; /* Pointer into host value */ + + + /* + * Copy the Host: header for later use... + */ + + strlcpy(con->clientname, httpGetField(con->http, HTTP_FIELD_HOST), + sizeof(con->clientname)); + if ((ptr = strrchr(con->clientname, ':')) != NULL && !strchr(ptr, ']')) + { + *ptr++ = '\0'; + con->clientport = atoi(ptr); + } + else + con->clientport = con->serverport; + + /* + * Then validate... + */ + + if (httpAddrLocalhost(httpGetAddress(con->http))) + { + /* + * Only allow "localhost" or the equivalent IPv4 or IPv6 numerical + * addresses when accessing CUPS via the loopback interface... + */ + + return (!_cups_strcasecmp(con->clientname, "localhost") || + !_cups_strcasecmp(con->clientname, "localhost.") || + !strcmp(con->clientname, "127.0.0.1") || + !strcmp(con->clientname, "[::1]")); + } + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + /* + * Check if the hostname is something.local (Bonjour); if so, allow it. + */ + + if ((end = strrchr(con->clientname, '.')) != NULL && end > con->clientname && + !end[1]) + { + /* + * "." on end, work back to second-to-last "."... + */ + + for (end --; end > con->clientname && *end != '.'; end --); + } + + if (end && (!_cups_strcasecmp(end, ".local") || + !_cups_strcasecmp(end, ".local."))) + return (1); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + /* + * Check if the hostname is an IP address... + */ + + if (isdigit(con->clientname[0] & 255) || con->clientname[0] == '[') + { + /* + * Possible IPv4/IPv6 address... + */ + + http_addrlist_t *addrlist; /* List of addresses */ + + + if ((addrlist = httpAddrGetList(con->clientname, AF_UNSPEC, NULL)) != NULL) + { + /* + * Good IPv4/IPv6 address... + */ + + httpAddrFreeList(addrlist); + return (1); + } + } + + /* + * Check for (alias) name matches... + */ + + for (a = (cupsd_alias_t *)cupsArrayFirst(ServerAlias); + a; + a = (cupsd_alias_t *)cupsArrayNext(ServerAlias)) + { + /* + * "ServerAlias *" allows all host values through... + */ + + if (!strcmp(a->name, "*")) + return (1); + + if (!_cups_strncasecmp(con->clientname, a->name, a->namelen)) + { + /* + * Prefix matches; check the character at the end - it must be "." or nul. + */ + + end = con->clientname + a->namelen; + + if (!*end || (*end == '.' && !end[1])) + return (1); + } + } + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + for (a = (cupsd_alias_t *)cupsArrayFirst(DNSSDAlias); + a; + a = (cupsd_alias_t *)cupsArrayNext(DNSSDAlias)) + { + /* + * "ServerAlias *" allows all host values through... + */ + + if (!strcmp(a->name, "*")) + return (1); + + if (!_cups_strncasecmp(con->clientname, a->name, a->namelen)) + { + /* + * Prefix matches; check the character at the end - it must be "." or nul. + */ + + end = con->clientname + a->namelen; + + if (!*end || (*end == '.' && !end[1])) + return (1); + } + } +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + /* + * Check for interface hostname matches... + */ + + for (netif = (cupsd_netif_t *)cupsArrayFirst(NetIFList); + netif; + netif = (cupsd_netif_t *)cupsArrayNext(NetIFList)) + { + if (!_cups_strncasecmp(con->clientname, netif->hostname, netif->hostlen)) + { + /* + * Prefix matches; check the character at the end - it must be "." or nul. + */ + + end = con->clientname + netif->hostlen; + + if (!*end || (*end == '.' && !end[1])) + return (1); + } + } + + return (0); +} + + +/* + * 'write_file()' - Send a file via HTTP. + */ + +static int /* O - 0 on failure, 1 on success */ +write_file(cupsd_client_t *con, /* I - Client connection */ + http_status_t code, /* I - HTTP status */ + char *filename, /* I - Filename */ + char *type, /* I - File type */ + struct stat *filestats) /* O - File information */ +{ + con->file = open(filename, O_RDONLY); + + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "write_file: code=%d, filename=\"%s\" (%d), type=\"%s\", filestats=%p.", code, filename, con->file, type ? type : "(null)", filestats); + + if (con->file < 0) + return (0); + + fcntl(con->file, F_SETFD, fcntl(con->file, F_GETFD) | FD_CLOEXEC); + + con->pipe_pid = 0; + con->sent_header = 1; + + httpClearFields(con->http); + + httpSetLength(con->http, (size_t)filestats->st_size); + + httpSetField(con->http, HTTP_FIELD_LAST_MODIFIED, + httpGetDateString(filestats->st_mtime)); + + if (!cupsdSendHeader(con, code, type, CUPSD_AUTH_NONE)) + return (0); + + cupsdAddSelect(httpGetFd(con->http), NULL, (cupsd_selfunc_t)cupsdWriteClient, con); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Sending file."); + + return (1); +} + + +/* + * 'write_pipe()' - Flag that data is available on the CGI pipe. + */ + +static void +write_pipe(cupsd_client_t *con) /* I - Client connection */ +{ + cupsdLogClient(con, CUPSD_LOG_DEBUG2, "write_pipe: CGI output on fd %d.", con->file); + + con->file_ready = 1; + + cupsdRemoveSelect(con->file); + cupsdAddSelect(httpGetFd(con->http), NULL, (cupsd_selfunc_t)cupsdWriteClient, con); + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "CGI data ready to be sent."); +} diff --git a/scheduler/client.h b/scheduler/client.h new file mode 100644 index 0000000..fc7af54 --- /dev/null +++ b/scheduler/client.h @@ -0,0 +1,143 @@ +/* + * Client definitions for the CUPS scheduler. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifdef HAVE_AUTHORIZATION_H +# include +#endif /* HAVE_AUTHORIZATION_H */ + + +/* + * HTTP client structure... + */ + +struct cupsd_client_s +{ + int number; /* Connection number */ + http_t *http; /* HTTP client connection */ + ipp_t *request, /* IPP request information */ + *response; /* IPP response information */ + cupsd_location_t *best; /* Best match for AAA */ + struct timeval start; /* Request start time */ + http_state_t operation; /* Request operation */ + off_t bytes; /* Bytes transferred for this request */ + int is_browser; /* Is the client a web browser? */ + int type; /* AuthType for username */ + char username[HTTP_MAX_VALUE], + /* Username from Authorization: line */ + password[HTTP_MAX_VALUE], + /* Password from Authorization: line */ + uri[HTTP_MAX_URI], + /* Localized URL/URI for GET/PUT */ + *filename, /* Filename of output file */ + *command, /* Command to run */ + *options, /* Options for command */ + *query_string; /* QUERY_STRING environment variable */ + int file; /* Input/output file */ + int file_ready; /* Input ready on file/pipe? */ + int pipe_pid; /* Pipe process ID (or 0 if not a pipe) */ + http_status_t pipe_status; /* HTTP status from pipe process */ + int sent_header, /* Non-zero if sent HTTP header */ + got_fields, /* Non-zero if all fields seen */ + header_used; /* Number of header bytes used */ + char header[2048]; /* Header from CGI program */ + cups_lang_t *language; /* Language to use */ +#ifdef HAVE_SSL + int auto_ssl; /* Automatic test for SSL/TLS */ +#endif /* HAVE_SSL */ + http_addr_t clientaddr; /* Client's server address */ + char clientname[256];/* Client's server name for connection */ + int clientport; /* Client's server port for connection */ + char servername[256];/* Server name for connection */ + int serverport; /* Server port for connection */ +#ifdef HAVE_GSSAPI + int have_gss; /* Have GSS credentials? */ + uid_t gss_uid; /* User ID for local prints */ +#endif /* HAVE_GSSAPI */ +#ifdef HAVE_AUTHORIZATION_H + AuthorizationRef authref; /* Authorization ref */ +#endif /* HAVE_AUTHORIZATION_H */ +}; + +#define HTTP(con) ((con)->http) + + +/* + * HTTP listener structure... + */ + +typedef struct +{ + int fd; /* File descriptor for this server */ + http_addr_t address; /* Bind address of socket */ + http_encryption_t encryption; /* To encrypt or not to encrypt... */ +#ifdef HAVE_ONDEMAND + int on_demand; /* Is this a socket from launchd/systemd/upstart? */ +#endif /* HAVE_ONDEMAND */ +} cupsd_listener_t; + + +/* + * Globals... + */ + +VAR int LastClientNumber VALUE(0), + /* Last client connection number */ + ListenBackLog VALUE(SOMAXCONN), + /* Max backlog of pending connections */ + LocalPort VALUE(631), + /* Local port to use */ + RemotePort VALUE(0); + /* Remote port to use */ +VAR http_encryption_t LocalEncryption VALUE(HTTP_ENCRYPT_IF_REQUESTED); + /* Local port encryption to use */ +VAR cups_array_t *Listeners VALUE(NULL); + /* Listening sockets */ +VAR time_t ListeningPaused VALUE(0); + /* Time when listening was paused */ +VAR cups_array_t *Clients VALUE(NULL), + /* HTTP clients */ + *ActiveClients VALUE(NULL); + /* Active HTTP clients */ +VAR char *ServerHeader VALUE(NULL); + /* Server header in requests */ +VAR int CGIPipes[2] VALUE2(-1,-1); + /* Pipes for CGI error/debug output */ +VAR cupsd_statbuf_t *CGIStatusBuffer VALUE(NULL); + /* Status buffer for pipes */ + + +/* + * Prototypes... + */ + +extern void cupsdAcceptClient(cupsd_listener_t *lis); +extern void cupsdCloseAllClients(void); +extern int cupsdCloseClient(cupsd_client_t *con); +extern void cupsdDeleteAllListeners(void); +extern void cupsdPauseListening(void); +extern int cupsdProcessIPPRequest(cupsd_client_t *con); +extern void cupsdReadClient(cupsd_client_t *con); +extern void cupsdResumeListening(void); +extern int cupsdSendCommand(cupsd_client_t *con, char *command, + char *options, int root); +extern int cupsdSendError(cupsd_client_t *con, http_status_t code, + int auth_type); +extern int cupsdSendHeader(cupsd_client_t *con, http_status_t code, + char *type, int auth_type); +extern void cupsdShutdownClient(cupsd_client_t *con); +extern void cupsdStartListening(void); +extern void cupsdStopListening(void); +extern void cupsdUpdateCGI(void); +extern void cupsdWriteClient(cupsd_client_t *con); + +#ifdef HAVE_SSL +extern int cupsdEndTLS(cupsd_client_t *con); +extern int cupsdStartTLS(cupsd_client_t *con); +#endif /* HAVE_SSL */ diff --git a/scheduler/colorman.c b/scheduler/colorman.c new file mode 100644 index 0000000..8af4e5c --- /dev/null +++ b/scheduler/colorman.c @@ -0,0 +1,1512 @@ +/* + * Color management routines for the CUPS scheduler. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + * + * Original DBUS/colord code is Copyright 2011 Red Hat, Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include + +#ifdef __APPLE__ +# include +extern CFUUIDRef ColorSyncCreateUUIDFromUInt32(unsigned id); +# include +#elif defined(HAVE_DBUS) +# include + +/* + * Defines used by colord. See the reference docs for further details: + * + * http://colord.hughsie.com/api/ref-dbus.html + */ + +# define COLORD_SCOPE_NORMAL "normal" + /* System scope */ +# define COLORD_SCOPE_TEMP "temp" /* Process scope */ +# define COLORD_SCOPE_DISK "disk" /* Lives forever, as stored in DB */ + +# define COLORD_RELATION_SOFT "soft" /* Mapping is not default */ +# define COLORD_RELATION_HARD "hard" /* Explicitly mapped profile */ + +# define COLORD_SPACE_RGB "rgb" /* RGB colorspace */ +# define COLORD_SPACE_CMYK "cmyk" /* CMYK colorspace */ +# define COLORD_SPACE_GRAY "gray" /* Gray colorspace */ +# define COLORD_SPACE_UNKNOWN "unknown" + /* Unknown colorspace */ + +# define COLORD_MODE_PHYSICAL "physical" + /* Actual device */ +# define COLORD_MODE_VIRTUAL "virtual" + /* Virtual device with no hardware */ + +# define COLORD_KIND_PRINTER "printer" + /* printing output device */ + +# define COLORD_DBUS_SERVICE "org.freedesktop.ColorManager" +# define COLORD_DBUS_INTERFACE "org.freedesktop.ColorManager" +# define COLORD_DBUS_INTERFACE_DEVICE "org.freedesktop.ColorManager.Device" +# define COLORD_DBUS_PATH "/org/freedesktop/ColorManager" + /* Path for color management system */ +# define COLORD_DBUS_TIMEOUT 5000 /* Timeout for connecting to colord in ms */ +#endif /* __APPLE__ */ + + +/* + * Local globals... + */ + +#if !defined(__APPLE__) && defined(HAVE_DBUS) +static DBusConnection *colord_con = NULL; + /* DBUS connection for colord */ +#endif /* !__APPLE__ && HAVE_DBUS */ + + +/* + * Local functions... + */ + +#ifdef __APPLE__ +static void apple_init_profile(ppd_file_t *ppd, cups_array_t *languages, + CFMutableDictionaryRef profile, + unsigned id, const char *name, + const char *text, const char *iccfile); +static void apple_register_profiles(cupsd_printer_t *p); +static void apple_unregister_profiles(cupsd_printer_t *p); + +#elif defined(HAVE_DBUS) +static void colord_create_device(cupsd_printer_t *p, ppd_file_t *ppd, + cups_array_t *profiles, + const char *colorspace, char **format, + const char *relation, const char *scope); +static void colord_create_profile(cups_array_t *profiles, + const char *printer_name, + const char *qualifier, + const char *colorspace, + char **format, const char *iccfile, + const char *scope); +static void colord_delete_device(const char *device_id); +static void colord_device_add_profile(const char *device_path, + const char *profile_path, + const char *relation); +static void colord_dict_add_strings(DBusMessageIter *dict, + const char *key, const char *value); +static char *colord_find_device(const char *device_id); +static void colord_get_qualifier_format(ppd_file_t *ppd, char *format[3]); +static void colord_register_printer(cupsd_printer_t *p); +static void colord_unregister_printer(cupsd_printer_t *p); +#endif /* __APPLE__ */ + + +/* + * 'cupsdRegisterColor()' - Register vendor color profiles in a PPD file. + */ + +void +cupsdRegisterColor(cupsd_printer_t *p) /* I - Printer */ +{ +#ifdef __APPLE__ + if (!RunUser) + { + apple_unregister_profiles(p); + apple_register_profiles(p); + } + +#elif defined(HAVE_DBUS) + if (!RunUser) + { + colord_unregister_printer(p); + colord_register_printer(p); + } +#endif /* __APPLE__ */ +} + + +/* + * 'cupsdStartColor()' - Initialize color management. + */ + +void +cupsdStartColor(void) +{ +#if !defined(__APPLE__) && defined(HAVE_DBUS) + cupsd_printer_t *p; /* Current printer */ + + + colord_con = dbus_bus_get(DBUS_BUS_SYSTEM, NULL); + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + cupsdRegisterColor(p); +#endif /* !__APPLE__ && HAVE_DBUS */ +} + + +/* + * 'cupsdStopColor()' - Shutdown color management. + */ + +void +cupsdStopColor(void) +{ +#if !defined(__APPLE__) && defined(HAVE_DBUS) + if (colord_con) + dbus_connection_unref(colord_con); + colord_con = NULL; +#endif /* !__APPLE__ && HAVE_DBUS */ +} + + +/* + * 'cupsdUnregisterColor()' - Unregister vendor color profiles in a PPD file. + */ + +void +cupsdUnregisterColor(cupsd_printer_t *p)/* I - Printer */ +{ +#ifdef __APPLE__ + if (!RunUser) + apple_unregister_profiles(p); + +#elif defined(HAVE_DBUS) + if (!RunUser) + colord_unregister_printer(p); +#endif /* __APPLE__ */ +} + + +#ifdef __APPLE__ +/* + * 'apple_init_profile()' - Initialize a color profile. + */ + +static void +apple_init_profile( + ppd_file_t *ppd, /* I - PPD file */ + cups_array_t *languages, /* I - Languages in the PPD file */ + CFMutableDictionaryRef profile, /* I - Profile dictionary */ + unsigned id, /* I - Profile ID */ + const char *name, /* I - Profile name */ + const char *text, /* I - Profile UI text */ + const char *iccfile) /* I - ICC filename */ +{ + CFURLRef url; /* URL for profile filename */ + CFMutableDictionaryRef dict; /* Dictionary for name */ + char *language; /* Current language */ + ppd_attr_t *attr; /* Profile attribute */ + CFStringRef cflang, /* Language string */ + cftext; /* Localized text */ + + + (void)id; + + /* + * Build the profile name dictionary... + */ + + dict = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, + &kCFTypeDictionaryKeyCallBacks, + &kCFTypeDictionaryValueCallBacks); + if (!dict) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to initialize profile \"%s\".", + iccfile); + return; + } + + cftext = CFStringCreateWithCString(kCFAllocatorDefault, text, + kCFStringEncodingUTF8); + + if (cftext) + { + CFDictionarySetValue(dict, CFSTR("en_US"), cftext); + CFRelease(cftext); + } + + if (languages) + { + /* + * Find localized names for the color profiles... + */ + + cupsArraySave(ppd->sorted_attrs); + + for (language = (char *)cupsArrayFirst(languages); + language; + language = (char *)cupsArrayNext(languages)) + { + if (iccfile) + { + if ((attr = _ppdLocalizedAttr(ppd, "cupsICCProfile", name, + language)) == NULL) + attr = _ppdLocalizedAttr(ppd, "APTiogaProfile", name, language); + } + else + attr = _ppdLocalizedAttr(ppd, "ColorModel", name, language); + + if (attr && attr->text[0]) + { + cflang = CFStringCreateWithCString(kCFAllocatorDefault, language, + kCFStringEncodingUTF8); + cftext = CFStringCreateWithCString(kCFAllocatorDefault, attr->text, + kCFStringEncodingUTF8); + + if (cflang && cftext) + CFDictionarySetValue(dict, cflang, cftext); + + if (cflang) + CFRelease(cflang); + + if (cftext) + CFRelease(cftext); + } + } + + cupsArrayRestore(ppd->sorted_attrs); + } + + /* + * Fill in the profile data... + */ + + if (iccfile && *iccfile) + { + url = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault, (const UInt8 *)iccfile, (CFIndex)strlen(iccfile), false); + + if (url) + { + CFDictionarySetValue(profile, kColorSyncDeviceProfileURL, url); + CFRelease(url); + } + } + + CFDictionarySetValue(profile, kColorSyncDeviceModeDescriptions, dict); + CFRelease(dict); +} + + +/* + * 'apple_register_profiles()' - Register color profiles for a printer. + */ + +static void +apple_register_profiles( + cupsd_printer_t *p) /* I - Printer */ +{ + int i; /* Looping var */ + char ppdfile[1024], /* PPD filename */ + iccfile[1024], /* ICC filename */ + selector[PPD_MAX_NAME]; + /* Profile selection string */ + ppd_file_t *ppd; /* PPD file */ + ppd_attr_t *attr, /* Profile attributes */ + *profileid_attr,/* cupsProfileID attribute */ + *q1_attr, /* ColorModel (or other) qualifier */ + *q2_attr, /* MediaType (or other) qualifier */ + *q3_attr; /* Resolution (or other) qualifier */ + char q_keyword[PPD_MAX_NAME]; + /* Qualifier keyword */ + const char *q1_choice, /* ColorModel (or other) choice */ + *q2_choice, /* MediaType (or other) choice */ + *q3_choice; /* Resolution (or other) choice */ + ppd_option_t *cm_option; /* Color model option */ + ppd_choice_t *cm_choice; /* Color model choice */ + int num_profiles; /* Number of profiles */ + OSStatus error = 0; /* Last error */ + unsigned device_id, /* Printer device ID */ + profile_id = 0, /* Profile ID */ + default_profile_id = 0; + /* Default profile ID */ + CFMutableDictionaryRef device_name; /* Printer device name dictionary */ + CFStringRef printer_name; /* Printer name string */ + cups_array_t *languages; /* Languages array */ + CFMutableDictionaryRef profiles, /* Dictionary of profiles */ + profile; /* Current profile info dictionary */ + CFStringRef dict_key; /* Key in factory profile dictionary */ + + + /* + * Make sure ColorSync is available... + */ + + if (&ColorSyncRegisterDevice == NULL) + return; + + /* + * Try opening the PPD file for this printer... + */ + + snprintf(ppdfile, sizeof(ppdfile), "%s/ppd/%s.ppd", ServerRoot, p->name); + if ((ppd = _ppdOpenFile(ppdfile, _PPD_LOCALIZATION_ICC_PROFILES)) == NULL) + return; + + /* + * See if we have any profiles... + */ + + for (num_profiles = 0, attr = ppdFindAttr(ppd, "cupsICCProfile", NULL); + attr; + attr = ppdFindNextAttr(ppd, "cupsICCProfile", NULL)) + if (attr->spec[0] && attr->value && attr->value[0]) + { + if (attr->value[0] != '/') + snprintf(iccfile, sizeof(iccfile), "%s/profiles/%s", DataDir, + attr->value); + else + strlcpy(iccfile, attr->value, sizeof(iccfile)); + + if (access(iccfile, 0)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "%s: ICC Profile \"%s\" does not exist.", p->name, + iccfile); + cupsdSetPrinterReasons(p, "+cups-missing-filter-warning"); + continue; + } + + num_profiles ++; + } + + /* + * Create a dictionary for the factory profiles... + */ + + profiles = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, + &kCFTypeDictionaryKeyCallBacks, + &kCFTypeDictionaryValueCallBacks); + if (!profiles) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for factory profiles."); + ppdClose(ppd); + return; + } + + /* + * If we have profiles, add them... + */ + + if (num_profiles > 0) + { + /* + * For CUPS PPDs, figure out the default profile selector values... + */ + + if ((attr = ppdFindAttr(ppd, "cupsICCQualifier1", NULL)) != NULL && + attr->value && attr->value[0]) + { + snprintf(q_keyword, sizeof(q_keyword), "Default%s", attr->value); + q1_attr = ppdFindAttr(ppd, q_keyword, NULL); + } + else if ((q1_attr = ppdFindAttr(ppd, "DefaultColorModel", NULL)) == NULL) + q1_attr = ppdFindAttr(ppd, "DefaultColorSpace", NULL); + + if (q1_attr && q1_attr->value && q1_attr->value[0]) + q1_choice = q1_attr->value; + else + q1_choice = ""; + + if ((attr = ppdFindAttr(ppd, "cupsICCQualifier2", NULL)) != NULL && + attr->value && attr->value[0]) + { + snprintf(q_keyword, sizeof(q_keyword), "Default%s", attr->value); + q2_attr = ppdFindAttr(ppd, q_keyword, NULL); + } + else + q2_attr = ppdFindAttr(ppd, "DefaultMediaType", NULL); + + if (q2_attr && q2_attr->value && q2_attr->value[0]) + q2_choice = q2_attr->value; + else + q2_choice = NULL; + + if ((attr = ppdFindAttr(ppd, "cupsICCQualifier3", NULL)) != NULL && + attr->value && attr->value[0]) + { + snprintf(q_keyword, sizeof(q_keyword), "Default%s", attr->value); + q3_attr = ppdFindAttr(ppd, q_keyword, NULL); + } + else + q3_attr = ppdFindAttr(ppd, "DefaultResolution", NULL); + + if (q3_attr && q3_attr->value && q3_attr->value[0]) + q3_choice = q3_attr->value; + else + q3_choice = NULL; + + /* + * Loop through the profiles listed in the PPD... + */ + + languages = _ppdGetLanguages(ppd); + + for (attr = ppdFindAttr(ppd, "cupsICCProfile", NULL); + attr; + attr = ppdFindNextAttr(ppd, "cupsICCProfile", NULL)) + if (attr->spec[0] && attr->value && attr->value[0]) + { + /* + * Add this profile... + */ + + if (attr->value[0] != '/') + snprintf(iccfile, sizeof(iccfile), "%s/profiles/%s", DataDir, + attr->value); + else + strlcpy(iccfile, attr->value, sizeof(iccfile)); + + if (_cupsFileCheck(iccfile, _CUPS_FILE_CHECK_FILE, !RunUser, + cupsdLogFCMessage, p)) + iccfile[0] = '\0'; + + cupsArraySave(ppd->sorted_attrs); + + if ((profileid_attr = ppdFindAttr(ppd, "cupsProfileID", + attr->spec)) != NULL && + profileid_attr->value && isdigit(profileid_attr->value[0] & 255)) + profile_id = (unsigned)strtoul(profileid_attr->value, NULL, 10); + else + profile_id = _ppdHashName(attr->spec); + + cupsArrayRestore(ppd->sorted_attrs); + + profile = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, + &kCFTypeDictionaryKeyCallBacks, + &kCFTypeDictionaryValueCallBacks); + if (!profile) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for color profile."); + CFRelease(profiles); + ppdClose(ppd); + return; + } + + apple_init_profile(ppd, languages, profile, profile_id, attr->spec, + attr->text[0] ? attr->text : attr->spec, iccfile); + + dict_key = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, + CFSTR("%u"), profile_id); + if (dict_key) + { + CFDictionarySetValue(profiles, dict_key, profile); + CFRelease(dict_key); + } + + CFRelease(profile); + + /* + * See if this is the default profile... + */ + + if (!default_profile_id && q1_choice && q2_choice && q3_choice) + { + snprintf(selector, sizeof(selector), "%s.%s.%s", q1_choice, q2_choice, + q3_choice); + if (!strcmp(selector, attr->spec)) + default_profile_id = profile_id; + } + + if (!default_profile_id && q1_choice && q2_choice) + { + snprintf(selector, sizeof(selector), "%s.%s.", q1_choice, q2_choice); + if (!strcmp(selector, attr->spec)) + default_profile_id = profile_id; + } + + if (!default_profile_id && q1_choice && q3_choice) + { + snprintf(selector, sizeof(selector), "%s..%s", q1_choice, q3_choice); + if (!strcmp(selector, attr->spec)) + default_profile_id = profile_id; + } + + if (!default_profile_id && q1_choice) + { + snprintf(selector, sizeof(selector), "%s..", q1_choice); + if (!strcmp(selector, attr->spec)) + default_profile_id = profile_id; + } + + if (!default_profile_id && q2_choice && q3_choice) + { + snprintf(selector, sizeof(selector), ".%s.%s", q2_choice, q3_choice); + if (!strcmp(selector, attr->spec)) + default_profile_id = profile_id; + } + + if (!default_profile_id && q2_choice) + { + snprintf(selector, sizeof(selector), ".%s.", q2_choice); + if (!strcmp(selector, attr->spec)) + default_profile_id = profile_id; + } + + if (!default_profile_id && q3_choice) + { + snprintf(selector, sizeof(selector), "..%s", q3_choice); + if (!strcmp(selector, attr->spec)) + default_profile_id = profile_id; + } + } + + _ppdFreeLanguages(languages); + } + else if ((cm_option = ppdFindOption(ppd, "ColorModel")) != NULL) + { + /* + * Extract profiles from ColorModel option... + */ + + const char *profile_name; /* Name of generic profile */ + + + num_profiles = cm_option->num_choices; + + for (i = cm_option->num_choices, cm_choice = cm_option->choices; + i > 0; + i --, cm_choice ++) + { + if (!strcmp(cm_choice->choice, "Gray") || + !strcmp(cm_choice->choice, "Black")) + profile_name = "Gray"; + else if (!strcmp(cm_choice->choice, "RGB") || + !strcmp(cm_choice->choice, "CMY")) + profile_name = "RGB"; + else if (!strcmp(cm_choice->choice, "CMYK") || + !strcmp(cm_choice->choice, "KCMY")) + profile_name = "CMYK"; + else + profile_name = "DeviceN"; + + snprintf(selector, sizeof(selector), "%s..", profile_name); + profile_id = _ppdHashName(selector); + + profile = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, + &kCFTypeDictionaryKeyCallBacks, + &kCFTypeDictionaryValueCallBacks); + if (!profile) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for color profile."); + CFRelease(profiles); + ppdClose(ppd); + return; + } + + apple_init_profile(ppd, NULL, profile, profile_id, cm_choice->choice, + cm_choice->text, NULL); + + dict_key = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, + CFSTR("%u"), profile_id); + if (dict_key) + { + CFDictionarySetValue(profiles, dict_key, profile); + CFRelease(dict_key); + } + + CFRelease(profile); + + if (cm_choice->marked) + default_profile_id = profile_id; + } + } + else + { + /* + * Use the default colorspace... + */ + + attr = ppdFindAttr(ppd, "DefaultColorSpace", NULL); + + num_profiles = (attr && ppd->colorspace == PPD_CS_GRAY) ? 1 : 2; + + /* + * Add the grayscale profile first. We always have a grayscale profile. + */ + + profile = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, + &kCFTypeDictionaryKeyCallBacks, + &kCFTypeDictionaryValueCallBacks); + + if (!profile) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for color profile."); + CFRelease(profiles); + ppdClose(ppd); + return; + } + + profile_id = _ppdHashName("Gray.."); + apple_init_profile(ppd, NULL, profile, profile_id, "Gray", "Gray", NULL); + + dict_key = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%u"), + profile_id); + if (dict_key) + { + CFDictionarySetValue(profiles, dict_key, profile); + CFRelease(dict_key); + } + + CFRelease(profile); + + /* + * Then add the RGB/CMYK/DeviceN color profile... + */ + + profile = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, + &kCFTypeDictionaryKeyCallBacks, + &kCFTypeDictionaryValueCallBacks); + + if (!profile) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for color profile."); + CFRelease(profiles); + ppdClose(ppd); + return; + } + + switch (ppd->colorspace) + { + default : + case PPD_CS_RGB : + case PPD_CS_CMY : + profile_id = _ppdHashName("RGB.."); + apple_init_profile(ppd, NULL, profile, profile_id, "RGB", "RGB", + NULL); + break; + + case PPD_CS_RGBK : + case PPD_CS_CMYK : + profile_id = _ppdHashName("CMYK.."); + apple_init_profile(ppd, NULL, profile, profile_id, "CMYK", "CMYK", + NULL); + break; + + case PPD_CS_GRAY : + if (attr) + break; + + case PPD_CS_N : + profile_id = _ppdHashName("DeviceN.."); + apple_init_profile(ppd, NULL, profile, profile_id, "DeviceN", + "DeviceN", NULL); + break; + } + + if (CFDictionaryGetCount(profile) > 0) + { + dict_key = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, + CFSTR("%u"), profile_id); + if (dict_key) + { + CFDictionarySetValue(profiles, dict_key, profile); + CFRelease(dict_key); + } + } + + CFRelease(profile); + } + + if (num_profiles > 0) + { + /* + * Make sure we have a default profile ID... + */ + + if (!default_profile_id) + default_profile_id = profile_id; /* Last profile */ + + dict_key = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%u"), + default_profile_id); + if (dict_key) + { + CFDictionarySetValue(profiles, kColorSyncDeviceDefaultProfileID, + dict_key); + CFRelease(dict_key); + } + + /* + * Get the device ID hash and pathelogical name dictionary. + */ + + cupsdLogMessage(CUPSD_LOG_INFO, "Registering ICC color profiles for \"%s\"", + p->name); + + device_id = _ppdHashName(p->name); + device_name = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, + &kCFTypeDictionaryKeyCallBacks, + &kCFTypeDictionaryValueCallBacks); + printer_name = CFStringCreateWithCString(kCFAllocatorDefault, + p->name, kCFStringEncodingUTF8); + + if (device_name && printer_name) + { + /* + * Register the device with ColorSync... + */ + + CFTypeRef deviceDictKeys[] = + { /* Device keys */ + kColorSyncDeviceDescriptions, + kColorSyncFactoryProfiles, + kColorSyncDeviceUserScope, + kColorSyncDeviceHostScope + }; + CFTypeRef deviceDictVals[] = + { /* Device values */ + device_name, + profiles, + kCFPreferencesAnyUser, + kCFPreferencesCurrentHost + }; + CFDictionaryRef deviceDict; /* Device dictionary */ + CFUUIDRef deviceUUID; /* Device UUID */ + + CFDictionarySetValue(device_name, CFSTR("en_US"), printer_name); + + deviceDict = CFDictionaryCreate(kCFAllocatorDefault, + (const void **)deviceDictKeys, + (const void **)deviceDictVals, + sizeof(deviceDictKeys) / + sizeof(deviceDictKeys[0]), + &kCFTypeDictionaryKeyCallBacks, + &kCFTypeDictionaryValueCallBacks); + deviceUUID = ColorSyncCreateUUIDFromUInt32(device_id); + + if (!deviceDict || !deviceUUID || + !ColorSyncRegisterDevice(kColorSyncPrinterDeviceClass, deviceUUID, + deviceDict)) + error = 1001; + + if (deviceUUID) + CFRelease(deviceUUID); + + if (deviceDict) + CFRelease(deviceDict); + } + else + error = 1000; + + /* + * Clean up... + */ + + if (error != noErr) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to register ICC color profiles for \"%s\": %d", + p->name, (int)error); + + if (printer_name) + CFRelease(printer_name); + + if (device_name) + CFRelease(device_name); + } + + /* + * Free any memory we used... + */ + + CFRelease(profiles); + + ppdClose(ppd); +} + + +/* + * 'apple_unregister_profiles()' - Remove color profiles for the specified + * printer. + */ + +static void +apple_unregister_profiles( + cupsd_printer_t *p) /* I - Printer */ +{ + /* + * Make sure ColorSync is available... + */ + + if (&ColorSyncUnregisterDevice != NULL) + { + CFUUIDRef deviceUUID; /* Device UUID */ + + deviceUUID = ColorSyncCreateUUIDFromUInt32(_ppdHashName(p->name)); + if (deviceUUID) + { + ColorSyncUnregisterDevice(kColorSyncPrinterDeviceClass, deviceUUID); + CFRelease(deviceUUID); + } + } +} + + +#elif defined(HAVE_DBUS) +/* + * 'colord_create_device()' - Create a device and register profiles. + */ + +static void +colord_create_device( + cupsd_printer_t *p, /* I - Printer */ + ppd_file_t *ppd, /* I - PPD file */ + cups_array_t *profiles, /* I - Profiles array */ + const char *colorspace, /* I - Device colorspace, e.g. 'rgb' */ + char **format, /* I - Device qualifier format */ + const char *relation, /* I - Profile relation, either 'soft' + or 'hard' */ + const char *scope) /* I - The scope of the device, e.g. + 'normal', 'temp' or 'disk' */ +{ + DBusMessage *message = NULL; /* D-Bus request */ + DBusMessage *reply = NULL; /* D-Bus reply */ + DBusMessageIter args; /* D-Bus method arguments */ + DBusMessageIter dict; /* D-Bus method arguments */ + DBusError error; /* D-Bus error */ + const char *device_path; /* Device object path */ + const char *profile_path; /* Profile path */ + char *default_profile_path = NULL; + /* Default profile path */ + char device_id[1024]; /* Device ID as understood by colord */ + char format_str[1024]; /* Qualifier format as a string */ + + + /* + * Create the device... + */ + + snprintf(device_id, sizeof(device_id), "cups-%s", p->name); + device_path = device_id; + + message = dbus_message_new_method_call(COLORD_DBUS_SERVICE, + COLORD_DBUS_PATH, + COLORD_DBUS_INTERFACE, + "CreateDevice"); + + dbus_message_iter_init_append(message, &args); + dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &device_path); + dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &scope); + + snprintf(format_str, sizeof(format_str), "%s.%s.%s", format[0], format[1], + format[2]); + + dbus_message_iter_open_container(&args, DBUS_TYPE_ARRAY, "{ss}", &dict); + colord_dict_add_strings(&dict, "Colorspace", colorspace); + colord_dict_add_strings(&dict, "Mode", COLORD_MODE_PHYSICAL); + if (ppd->manufacturer) + colord_dict_add_strings(&dict, "Vendor", ppd->manufacturer); + if (ppd->modelname) + colord_dict_add_strings(&dict, "Model", ppd->modelname); + if (p->sanitized_device_uri) + colord_dict_add_strings(&dict, "Serial", p->sanitized_device_uri); + colord_dict_add_strings(&dict, "Format", format_str); + colord_dict_add_strings(&dict, "Kind", COLORD_KIND_PRINTER); + dbus_message_iter_close_container(&args, &dict); + + /* + * Send the CreateDevice request synchronously... + */ + + dbus_error_init(&error); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Calling CreateDevice(%s,%s)", device_id, + scope); + reply = dbus_connection_send_with_reply_and_block(colord_con, message, + COLORD_DBUS_TIMEOUT, + &error); + if (!reply) + { + cupsdLogMessage(CUPSD_LOG_WARN, "CreateDevice failed: %s:%s", error.name, + error.message); + dbus_error_free(&error); + goto out; + } + + /* + * Get reply data... + */ + + dbus_message_iter_init(reply, &args); + if (dbus_message_iter_get_arg_type(&args) != DBUS_TYPE_OBJECT_PATH) + { + cupsdLogMessage(CUPSD_LOG_WARN, + "CreateDevice failed: Incorrect reply type."); + goto out; + } + + dbus_message_iter_get_basic(&args, &device_path); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Created device \"%s\".", device_path); + + /* + * Add profiles... + */ + + for (profile_path = cupsArrayFirst(profiles); + profile_path; + profile_path = cupsArrayNext(profiles)) + { + colord_device_add_profile(device_path, profile_path, relation); + } + +out: + + if (default_profile_path) + free(default_profile_path); + + if (message) + dbus_message_unref(message); + + if (reply) + dbus_message_unref(reply); +} + + +/* + * 'colord_create_profile()' - Create a color profile for a printer. + */ + +static void +colord_create_profile( + cups_array_t *profiles, /* I - Profiles array */ + const char *printer_name, /* I - Printer name */ + const char *qualifier, /* I - Profile qualifier */ + const char *colorspace, /* I - Profile colorspace */ + char **format, /* I - Profile qualifier format */ + const char *iccfile, /* I - ICC filename */ + const char *scope) /* I - The scope of the profile, e.g. + 'normal', 'temp' or 'disk' */ +{ + DBusMessage *message = NULL; /* D-Bus request */ + DBusMessage *reply = NULL; /* D-Bus reply */ + DBusMessageIter args; /* D-Bus method arguments */ + DBusMessageIter dict; /* D-Bus method arguments */ + DBusError error; /* D-Bus error */ + char *idstr; /* Profile ID string */ + size_t idstrlen; /* Profile ID allocated length */ + const char *profile_path; /* Device object path */ + char format_str[1024]; /* Qualifier format as a string */ + + + /* + * Create the profile... + */ + + message = dbus_message_new_method_call(COLORD_DBUS_SERVICE, + COLORD_DBUS_PATH, + COLORD_DBUS_INTERFACE, + "CreateProfile"); + + idstrlen = strlen(printer_name) + 1 + strlen(qualifier) + 1; + if ((idstr = malloc(idstrlen)) == NULL) + goto out; + snprintf(idstr, idstrlen, "%s-%s", printer_name, qualifier); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Using profile ID \"%s\".", idstr); + + dbus_message_iter_init_append(message, &args); + dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &idstr); + dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &scope); + + snprintf(format_str, sizeof(format_str), "%s.%s.%s", format[0], format[1], + format[2]); + + dbus_message_iter_open_container(&args, DBUS_TYPE_ARRAY, "{ss}", &dict); + colord_dict_add_strings(&dict, "Qualifier", qualifier); + colord_dict_add_strings(&dict, "Format", format_str); + colord_dict_add_strings(&dict, "Colorspace", colorspace); + if (iccfile) + colord_dict_add_strings(&dict, "Filename", iccfile); + dbus_message_iter_close_container(&args, &dict); + + /* + * Send the CreateProfile request synchronously... + */ + + dbus_error_init(&error); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Calling CreateProfile(%s,%s)", idstr, + scope); + reply = dbus_connection_send_with_reply_and_block(colord_con, message, + COLORD_DBUS_TIMEOUT, + &error); + if (!reply) + { + cupsdLogMessage(CUPSD_LOG_WARN, "CreateProfile failed: %s:%s", error.name, + error.message); + dbus_error_free(&error); + goto out; + } + + /* + * Get reply data... + */ + + dbus_message_iter_init(reply, &args); + if (dbus_message_iter_get_arg_type(&args) != DBUS_TYPE_OBJECT_PATH) + { + cupsdLogMessage(CUPSD_LOG_WARN, + "CreateProfile failed: Incorrect reply type."); + goto out; + } + + dbus_message_iter_get_basic(&args, &profile_path); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Created profile \"%s\".", profile_path); + cupsArrayAdd(profiles, strdup(profile_path)); + +out: + + if (message) + dbus_message_unref(message); + + if (reply) + dbus_message_unref(reply); + + if (idstr) + free(idstr); +} + + +/* + * 'colord_delete_device()' - Delete a device + */ + +static void +colord_delete_device( + const char *device_id) /* I - Device ID string */ +{ + DBusMessage *message = NULL; /* D-Bus request */ + DBusMessage *reply = NULL; /* D-Bus reply */ + DBusMessageIter args; /* D-Bus method arguments */ + DBusError error; /* D-Bus error */ + char *device_path; /* Device object path */ + + + /* + * Find the device... + */ + + if ((device_path = colord_find_device(device_id)) == NULL) + goto out; + + /* + * Delete the device... + */ + + message = dbus_message_new_method_call(COLORD_DBUS_SERVICE, + COLORD_DBUS_PATH, + COLORD_DBUS_INTERFACE, + "DeleteDevice"); + + dbus_message_iter_init_append(message, &args); + dbus_message_iter_append_basic(&args, DBUS_TYPE_OBJECT_PATH, &device_path); + + /* + * Send the DeleteDevice request synchronously... + */ + + dbus_error_init(&error); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Calling DeleteDevice(%s)", device_path); + reply = dbus_connection_send_with_reply_and_block(colord_con, message, + COLORD_DBUS_TIMEOUT, + &error); + if (!reply) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "DeleteDevice failed: %s:%s", error.name, + error.message); + dbus_error_free(&error); + goto out; + } + +out: + + if (device_path) + free(device_path); + + if (message) + dbus_message_unref(message); + + if (reply) + dbus_message_unref(reply); +} + + +/* + * 'colord_device_add_profile()' - Assign a profile to a device. + */ + +static void +colord_device_add_profile( + const char *device_path, /* I - Device object path */ + const char *profile_path, /* I - Profile object path */ + const char *relation) /* I - Device relation, either + 'soft' or 'hard' */ +{ + DBusMessage *message = NULL; /* D-Bus request */ + DBusMessage *reply = NULL; /* D-Bus reply */ + DBusMessageIter args; /* D-Bus method arguments */ + DBusError error; /* D-Bus error */ + + + message = dbus_message_new_method_call(COLORD_DBUS_SERVICE, + device_path, + COLORD_DBUS_INTERFACE_DEVICE, + "AddProfile"); + + dbus_message_iter_init_append(message, &args); + dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &relation); + dbus_message_iter_append_basic(&args, DBUS_TYPE_OBJECT_PATH, &profile_path); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Calling %s:AddProfile(%s) [%s]", + device_path, profile_path, relation); + + /* + * Send the AddProfile request synchronously... + */ + + dbus_error_init(&error); + reply = dbus_connection_send_with_reply_and_block(colord_con, message, + COLORD_DBUS_TIMEOUT, + &error); + if (!reply) + { + cupsdLogMessage(CUPSD_LOG_WARN, "AddProfile failed: %s:%s", error.name, + error.message); + dbus_error_free(&error); + goto out; + } + +out: + + if (message) + dbus_message_unref(message); + + if (reply) + dbus_message_unref(reply); +} + + +/* + * 'colord_dict_add_strings()' - Add two strings to a dictionary. + */ + +static void +colord_dict_add_strings( + DBusMessageIter *dict, /* I - Dictionary */ + const char *key, /* I - Key string */ + const char *value) /* I - Value string */ +{ + DBusMessageIter entry; /* Entry to add */ + + + dbus_message_iter_open_container(dict, DBUS_TYPE_DICT_ENTRY, NULL, &entry); + dbus_message_iter_append_basic(&entry, DBUS_TYPE_STRING, &key); + dbus_message_iter_append_basic(&entry, DBUS_TYPE_STRING, &value); + dbus_message_iter_close_container(dict, &entry); +} + + +/* + * 'colord_find_device()' - Finds a device + */ + +static char * /* O - Device path or NULL */ +colord_find_device( + const char *device_id) /* I - Device ID string */ +{ + DBusMessage *message = NULL; /* D-Bus request */ + DBusMessage *reply = NULL; /* D-Bus reply */ + DBusMessageIter args; /* D-Bus method arguments */ + DBusError error; /* D-Bus error */ + const char *device_path_tmp; /* Device object path */ + char *device_path = NULL; /* Device object path */ + + + message = dbus_message_new_method_call(COLORD_DBUS_SERVICE, + COLORD_DBUS_PATH, + COLORD_DBUS_INTERFACE, + "FindDeviceById"); + + dbus_message_iter_init_append(message, &args); + dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &device_id); + + /* + * Send the FindDeviceById request synchronously... + */ + + dbus_error_init(&error); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Calling FindDeviceById(%s)", device_id); + reply = dbus_connection_send_with_reply_and_block(colord_con, message, + COLORD_DBUS_TIMEOUT, + &error); + if (!reply) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "FindDeviceById failed: %s:%s", + error.name, error.message); + dbus_error_free(&error); + goto out; + } + + /* + * Get reply data... + */ + + dbus_message_iter_init(reply, &args); + if (dbus_message_iter_get_arg_type(&args) != DBUS_TYPE_OBJECT_PATH) + { + cupsdLogMessage(CUPSD_LOG_WARN, + "FindDeviceById failed: Incorrect reply type."); + goto out; + } + + dbus_message_iter_get_basic(&args, &device_path_tmp); + if (device_path_tmp) + device_path = strdup(device_path_tmp); + +out: + + if (message) + dbus_message_unref(message); + + if (reply) + dbus_message_unref(reply); + + return (device_path); +} + + +/* + * 'colord_get_qualifier_format()' - Get the qualifier format. + * + * Note: Returns a value of "ColorSpace.MediaType.Resolution" by default. + */ + +static void +colord_get_qualifier_format( + ppd_file_t *ppd, /* I - PPD file data */ + char *format[3]) /* I - Format tuple */ +{ + const char *tmp; /* Temporary string */ + ppd_attr_t *attr; /* Profile attributes */ + + + /* + * Get 1st section... + */ + + if ((attr = ppdFindAttr(ppd, "cupsICCQualifier1", NULL)) != NULL) + tmp = attr->value; + else if (ppdFindAttr(ppd, "DefaultColorModel", NULL)) + tmp = "ColorModel"; + else if (ppdFindAttr(ppd, "DefaultColorSpace", NULL)) + tmp = "ColorSpace"; + else + tmp = ""; + + format[0] = strdup(tmp); + + /* + * Get 2nd section... + */ + + if ((attr = ppdFindAttr(ppd, "cupsICCQualifier2", NULL)) != NULL) + tmp = attr->value; + else + tmp = "MediaType"; + + format[1] = strdup(tmp); + + /* + * Get 3rd section... + */ + + if ((attr = ppdFindAttr(ppd, "cupsICCQualifier3", NULL)) != NULL) + tmp = attr->value; + else + tmp = "Resolution"; + + format[2] = strdup(tmp); +} + + +/* + * 'colord_register_printer()' - Register profiles for a printer. + */ + +static void +colord_register_printer( + cupsd_printer_t *p) /* I - printer */ +{ + char ppdfile[1024], /* PPD filename */ + iccfile[1024]; /* ICC filename */ + ppd_file_t *ppd; /* PPD file */ + cups_array_t *profiles; /* Profile paths array */ + ppd_attr_t *attr; /* Profile attributes */ + const char *device_colorspace; /* Device colorspace */ + char *format[3]; /* Qualifier format tuple */ + + + /* + * Ensure we have a D-Bus connection... + */ + + if (!colord_con) + return; + + /* + * Try opening the PPD file for this printer... + */ + + snprintf(ppdfile, sizeof(ppdfile), "%s/ppd/%s.ppd", ServerRoot, p->name); + if ((ppd = _ppdOpenFile(ppdfile, _PPD_LOCALIZATION_ICC_PROFILES)) == NULL) + return; + + /* + * Find out the qualifier format + */ + + colord_get_qualifier_format(ppd, format); + + /* + * See if we have any embedded profiles... + */ + + profiles = cupsArrayNew3(NULL, NULL, NULL, 0, (cups_acopy_func_t)strdup, + (cups_afree_func_t)free); + for (attr = ppdFindAttr(ppd, "cupsICCProfile", NULL); + attr; + attr = ppdFindNextAttr(ppd, "cupsICCProfile", NULL)) + if (attr->spec[0] && attr->value && attr->value[0]) + { + if (attr->value[0] != '/') + snprintf(iccfile, sizeof(iccfile), "%s/profiles/%s", DataDir, + attr->value); + else + strlcpy(iccfile, attr->value, sizeof(iccfile)); + + if (_cupsFileCheck(iccfile, _CUPS_FILE_CHECK_FILE, !RunUser, + cupsdLogFCMessage, p)) + continue; + + colord_create_profile(profiles, p->name, attr->spec, COLORD_SPACE_UNKNOWN, + format, iccfile, COLORD_SCOPE_TEMP); + } + + /* + * Add the grayscale profile first. We always have a grayscale profile. + */ + + colord_create_profile(profiles, p->name, "Gray..", COLORD_SPACE_GRAY, + format, NULL, COLORD_SCOPE_TEMP); + + /* + * Then add the RGB/CMYK/DeviceN color profile... + */ + + device_colorspace = "unknown"; + switch (ppd->colorspace) + { + case PPD_CS_RGB : + case PPD_CS_CMY : + device_colorspace = COLORD_SPACE_RGB; + colord_create_profile(profiles, p->name, "RGB..", COLORD_SPACE_RGB, + format, NULL, COLORD_SCOPE_TEMP); + break; + + case PPD_CS_RGBK : + case PPD_CS_CMYK : + device_colorspace = COLORD_SPACE_CMYK; + colord_create_profile(profiles, p->name, "CMYK..", COLORD_SPACE_CMYK, + format, NULL, COLORD_SCOPE_TEMP); + break; + + case PPD_CS_GRAY : + device_colorspace = COLORD_SPACE_GRAY; + break; + + case PPD_CS_N : + colord_create_profile(profiles, p->name, "DeviceN..", + COLORD_SPACE_UNKNOWN, format, NULL, + COLORD_SCOPE_TEMP); + break; + } + + /* + * Register the device with colord. + */ + + cupsdLogMessage(CUPSD_LOG_INFO, "Registering ICC color profiles for \"%s\".", + p->name); + colord_create_device(p, ppd, profiles, device_colorspace, format, + COLORD_RELATION_SOFT, COLORD_SCOPE_TEMP); + + /* + * Free any memory we used... + */ + + cupsArrayDelete(profiles); + + free(format[0]); + free(format[1]); + free(format[2]); + + ppdClose(ppd); +} + + +/* + * 'colord_unregister_printer()' - Unregister profiles for a printer. + */ + +static void +colord_unregister_printer( + cupsd_printer_t *p) /* I - printer */ +{ + char device_id[1024]; /* Device ID as understood by colord */ + + + /* + * Ensure we have a D-Bus connection... + */ + + if (!colord_con) + return; + + /* + * Just delete the device itself, and leave the profiles registered + */ + + snprintf(device_id, sizeof(device_id), "cups-%s", p->name); + colord_delete_device(device_id); +} +#endif /* __APPLE__ */ diff --git a/scheduler/colorman.h b/scheduler/colorman.h new file mode 100644 index 0000000..0e3b773 --- /dev/null +++ b/scheduler/colorman.h @@ -0,0 +1,17 @@ +/* + * Color management definitions for the CUPS scheduler. + * + * Copyright 2007-2012 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Prototypes... + */ + +extern void cupsdRegisterColor(cupsd_printer_t *p); +extern void cupsdStartColor(void); +extern void cupsdStopColor(void); +extern void cupsdUnregisterColor(cupsd_printer_t *p); diff --git a/scheduler/conf.c b/scheduler/conf.c new file mode 100644 index 0000000..bb6049b --- /dev/null +++ b/scheduler/conf.c @@ -0,0 +1,4253 @@ +/* + * Configuration routines for the CUPS scheduler. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include +#include +#include +#ifdef HAVE_ASL_H +# include +#elif defined(HAVE_SYSTEMD_SD_JOURNAL_H) +# define SD_JOURNAL_SUPPRESS_LOCATION +# include +#endif /* HAVE_ASL_H */ +#include + +#ifdef HAVE_LIBPAPER +# include +#endif /* HAVE_LIBPAPER */ + + +/* + * Possibly missing network definitions... + */ + +#ifndef INADDR_NONE +# define INADDR_NONE 0xffffffff +#endif /* !INADDR_NONE */ + + +/* + * Configuration variable structure... + */ + +typedef enum +{ + CUPSD_VARTYPE_INTEGER, /* Integer option */ + CUPSD_VARTYPE_TIME, /* Time interval option */ + CUPSD_VARTYPE_STRING, /* String option */ + CUPSD_VARTYPE_BOOLEAN, /* Boolean option */ + CUPSD_VARTYPE_PATHNAME, /* File/directory name option */ + CUPSD_VARTYPE_PERM /* File/directory permissions */ +} cupsd_vartype_t; + +typedef struct +{ + const char *name; /* Name of variable */ + void *ptr; /* Pointer to variable */ + cupsd_vartype_t type; /* Type (int, string, address) */ +} cupsd_var_t; + + +/* + * Local globals... + */ + +static const cupsd_var_t cupsd_vars[] = +{ + { "AutoPurgeJobs", &JobAutoPurge, CUPSD_VARTYPE_BOOLEAN }, +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + { "BrowseDNSSDSubTypes", &DNSSDSubTypes, CUPSD_VARTYPE_STRING }, +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + { "BrowseWebIF", &BrowseWebIF, CUPSD_VARTYPE_BOOLEAN }, + { "Browsing", &Browsing, CUPSD_VARTYPE_BOOLEAN }, + { "Classification", &Classification, CUPSD_VARTYPE_STRING }, + { "ClassifyOverride", &ClassifyOverride, CUPSD_VARTYPE_BOOLEAN }, + { "DefaultLanguage", &DefaultLanguage, CUPSD_VARTYPE_STRING }, + { "DefaultLeaseDuration", &DefaultLeaseDuration, CUPSD_VARTYPE_TIME }, + { "DefaultPaperSize", &DefaultPaperSize, CUPSD_VARTYPE_STRING }, + { "DefaultPolicy", &DefaultPolicy, CUPSD_VARTYPE_STRING }, + { "DefaultShared", &DefaultShared, CUPSD_VARTYPE_BOOLEAN }, + { "DirtyCleanInterval", &DirtyCleanInterval, CUPSD_VARTYPE_TIME }, +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + { "DNSSDHostName", &DNSSDHostName, CUPSD_VARTYPE_STRING }, +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + { "ErrorPolicy", &ErrorPolicy, CUPSD_VARTYPE_STRING }, + { "FilterLimit", &FilterLimit, CUPSD_VARTYPE_INTEGER }, + { "FilterNice", &FilterNice, CUPSD_VARTYPE_INTEGER }, +#ifdef HAVE_GSSAPI + { "GSSServiceName", &GSSServiceName, CUPSD_VARTYPE_STRING }, +#endif /* HAVE_GSSAPI */ +#ifdef HAVE_ONDEMAND + { "IdleExitTimeout", &IdleExitTimeout, CUPSD_VARTYPE_TIME }, +#endif /* HAVE_ONDEMAND */ + { "JobKillDelay", &JobKillDelay, CUPSD_VARTYPE_TIME }, + { "JobRetryLimit", &JobRetryLimit, CUPSD_VARTYPE_INTEGER }, + { "JobRetryInterval", &JobRetryInterval, CUPSD_VARTYPE_TIME }, + { "KeepAliveTimeout", &KeepAliveTimeout, CUPSD_VARTYPE_TIME }, + { "KeepAlive", &KeepAlive, CUPSD_VARTYPE_BOOLEAN }, +#ifdef HAVE_LAUNCHD + { "LaunchdTimeout", &IdleExitTimeout, CUPSD_VARTYPE_TIME }, +#endif /* HAVE_LAUNCHD */ + { "LimitRequestBody", &MaxRequestSize, CUPSD_VARTYPE_INTEGER }, + { "ListenBackLog", &ListenBackLog, CUPSD_VARTYPE_INTEGER }, + { "LogDebugHistory", &LogDebugHistory, CUPSD_VARTYPE_INTEGER }, + { "MaxActiveJobs", &MaxActiveJobs, CUPSD_VARTYPE_INTEGER }, + { "MaxClients", &MaxClients, CUPSD_VARTYPE_INTEGER }, + { "MaxClientsPerHost", &MaxClientsPerHost, CUPSD_VARTYPE_INTEGER }, + { "MaxCopies", &MaxCopies, CUPSD_VARTYPE_INTEGER }, + { "MaxEvents", &MaxEvents, CUPSD_VARTYPE_INTEGER }, + { "MaxHoldTime", &MaxHoldTime, CUPSD_VARTYPE_TIME }, + { "MaxJobs", &MaxJobs, CUPSD_VARTYPE_INTEGER }, + { "MaxJobsPerPrinter", &MaxJobsPerPrinter, CUPSD_VARTYPE_INTEGER }, + { "MaxJobsPerUser", &MaxJobsPerUser, CUPSD_VARTYPE_INTEGER }, + { "MaxJobTime", &MaxJobTime, CUPSD_VARTYPE_TIME }, + { "MaxLeaseDuration", &MaxLeaseDuration, CUPSD_VARTYPE_TIME }, + { "MaxLogSize", &MaxLogSize, CUPSD_VARTYPE_INTEGER }, + { "MaxRequestSize", &MaxRequestSize, CUPSD_VARTYPE_INTEGER }, + { "MaxSubscriptions", &MaxSubscriptions, CUPSD_VARTYPE_INTEGER }, + { "MaxSubscriptionsPerJob", &MaxSubscriptionsPerJob, CUPSD_VARTYPE_INTEGER }, + { "MaxSubscriptionsPerPrinter",&MaxSubscriptionsPerPrinter, CUPSD_VARTYPE_INTEGER }, + { "MaxSubscriptionsPerUser", &MaxSubscriptionsPerUser, CUPSD_VARTYPE_INTEGER }, + { "MultipleOperationTimeout", &MultipleOperationTimeout, CUPSD_VARTYPE_TIME }, + { "PageLogFormat", &PageLogFormat, CUPSD_VARTYPE_STRING }, + { "PreserveJobFiles", &JobFiles, CUPSD_VARTYPE_TIME }, + { "PreserveJobHistory", &JobHistory, CUPSD_VARTYPE_TIME }, + { "ReloadTimeout", &ReloadTimeout, CUPSD_VARTYPE_TIME }, + { "RIPCache", &RIPCache, CUPSD_VARTYPE_STRING }, + { "RootCertDuration", &RootCertDuration, CUPSD_VARTYPE_TIME }, + { "ServerAdmin", &ServerAdmin, CUPSD_VARTYPE_STRING }, + { "ServerName", &ServerName, CUPSD_VARTYPE_STRING }, + { "StrictConformance", &StrictConformance, CUPSD_VARTYPE_BOOLEAN }, + { "Timeout", &Timeout, CUPSD_VARTYPE_TIME }, + { "WebInterface", &WebInterface, CUPSD_VARTYPE_BOOLEAN } +}; +static const cupsd_var_t cupsfiles_vars[] = +{ + { "AccessLog", &AccessLog, CUPSD_VARTYPE_STRING }, + { "CacheDir", &CacheDir, CUPSD_VARTYPE_STRING }, + { "ConfigFilePerm", &ConfigFilePerm, CUPSD_VARTYPE_PERM }, +#ifdef HAVE_SSL + { "CreateSelfSignedCerts", &CreateSelfSignedCerts, CUPSD_VARTYPE_BOOLEAN }, +#endif /* HAVE_SSL */ + { "DataDir", &DataDir, CUPSD_VARTYPE_STRING }, + { "DocumentRoot", &DocumentRoot, CUPSD_VARTYPE_STRING }, + { "ErrorLog", &ErrorLog, CUPSD_VARTYPE_STRING }, + { "FileDevice", &FileDevice, CUPSD_VARTYPE_BOOLEAN }, + { "FontPath", &FontPath, CUPSD_VARTYPE_STRING }, + { "LogFilePerm", &LogFilePerm, CUPSD_VARTYPE_PERM }, + { "LPDConfigFile", &LPDConfigFile, CUPSD_VARTYPE_STRING }, + { "PageLog", &PageLog, CUPSD_VARTYPE_STRING }, + { "Printcap", &Printcap, CUPSD_VARTYPE_STRING }, + { "RemoteRoot", &RemoteRoot, CUPSD_VARTYPE_STRING }, + { "RequestRoot", &RequestRoot, CUPSD_VARTYPE_STRING }, + { "ServerBin", &ServerBin, CUPSD_VARTYPE_PATHNAME }, +#ifdef HAVE_SSL + { "ServerKeychain", &ServerKeychain, CUPSD_VARTYPE_PATHNAME }, +#endif /* HAVE_SSL */ + { "ServerRoot", &ServerRoot, CUPSD_VARTYPE_PATHNAME }, + { "SMBConfigFile", &SMBConfigFile, CUPSD_VARTYPE_STRING }, + { "StateDir", &StateDir, CUPSD_VARTYPE_STRING }, + { "SyncOnClose", &SyncOnClose, CUPSD_VARTYPE_BOOLEAN }, +#ifdef HAVE_AUTHORIZATION_H + { "SystemGroupAuthKey", &SystemGroupAuthKey, CUPSD_VARTYPE_STRING }, +#endif /* HAVE_AUTHORIZATION_H */ + { "TempDir", &TempDir, CUPSD_VARTYPE_PATHNAME } +}; + +static int default_auth_type = CUPSD_AUTH_AUTO; + /* Default AuthType, if not specified */ + +static const unsigned ones[4] = + { + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff + }; +static const unsigned zeros[4] = + { + 0x00000000, 0x00000000, 0x00000000, 0x00000000 + }; + + +/* + * Local functions... + */ + +static http_addrlist_t *get_address(const char *value, int defport); +static int get_addr_and_mask(const char *value, unsigned *ip, + unsigned *mask); +static void mime_error_cb(void *ctx, const char *message); +static int parse_aaa(cupsd_location_t *loc, char *line, + char *value, int linenum); +static int parse_fatal_errors(const char *s); +static int parse_groups(const char *s, int linenum); +static int parse_protocols(const char *s); +static int parse_variable(const char *filename, int linenum, + const char *line, const char *value, + size_t num_vars, + const cupsd_var_t *vars); +static int read_cupsd_conf(cups_file_t *fp); +static int read_cups_files_conf(cups_file_t *fp); +static int read_location(cups_file_t *fp, char *name, int linenum); +static int read_policy(cups_file_t *fp, char *name, int linenum); +static void set_policy_defaults(cupsd_policy_t *pol); + + +/* + * 'cupsdAddAlias()' - Add a host alias. + */ + +void +cupsdAddAlias(cups_array_t *aliases, /* I - Array of aliases */ + const char *name) /* I - Name to add */ +{ + cupsd_alias_t *a; /* New alias */ + size_t namelen; /* Length of name */ + + + namelen = strlen(name); + + if ((a = (cupsd_alias_t *)malloc(sizeof(cupsd_alias_t) + namelen)) == NULL) + return; + + a->namelen = namelen; + memcpy(a->name, name, namelen + 1); /* OK since a->name is allocated */ + + cupsArrayAdd(aliases, a); +} + + +/* + * 'cupsdCheckPermissions()' - Fix the mode and ownership of a file or directory. + */ + +int /* O - 0 on success, -1 on error, 1 on warning */ +cupsdCheckPermissions( + const char *filename, /* I - File/directory name */ + const char *suffix, /* I - Additional file/directory name */ + mode_t mode, /* I - Permissions */ + uid_t user, /* I - Owner */ + gid_t group, /* I - Group */ + int is_dir, /* I - 1 = directory, 0 = file */ + int create_dir) /* I - 1 = create directory, -1 = create w/o logging, 0 = not */ +{ + int dir_created = 0; /* Did we create a directory? */ + char pathname[1024]; /* File name with prefix */ + struct stat fileinfo; /* Stat buffer */ + int is_symlink; /* Is "filename" a symlink? */ + + + /* + * Prepend the given root to the filename before testing it... + */ + + if (suffix) + { + snprintf(pathname, sizeof(pathname), "%s/%s", filename, suffix); + filename = pathname; + } + + /* + * See if we can stat the file/directory... + */ + + if (lstat(filename, &fileinfo)) + { + if (errno == ENOENT && create_dir) + { + if (create_dir > 0) + cupsdLogMessage(CUPSD_LOG_DEBUG, "Creating missing directory \"%s\"", + filename); + + if (mkdir(filename, mode)) + { + if (create_dir > 0) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to create directory \"%s\" - %s", filename, + strerror(errno)); + else +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + sd_journal_print(LOG_ERR, "Unable to create directory \"%s\" - %s", filename, strerror(errno)); +#else + syslog(LOG_ERR, "Unable to create directory \"%s\" - %s", filename, strerror(errno)); +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + return (-1); + } + + dir_created = 1; + fileinfo.st_mode = mode | S_IFDIR; + } + else + return (create_dir ? -1 : 1); + } + + if ((is_symlink = S_ISLNK(fileinfo.st_mode)) != 0) + { + if (stat(filename, &fileinfo)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "\"%s\" is a bad symlink - %s", + filename, strerror(errno)); + return (-1); + } + } + + /* + * Make sure it's a regular file or a directory as needed... + */ + + if (!dir_created && !is_dir && !S_ISREG(fileinfo.st_mode)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "\"%s\" is not a regular file.", filename); + return (-1); + } + + if (!dir_created && is_dir && !S_ISDIR(fileinfo.st_mode)) + { + if (create_dir >= 0) + cupsdLogMessage(CUPSD_LOG_ERROR, "\"%s\" is not a directory.", filename); + else +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + sd_journal_print(LOG_ERR, "\"%s\" is not a directory.", filename); +#else + syslog(LOG_ERR, "\"%s\" is not a directory.", filename); +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + return (-1); + } + + /* + * If the filename is a symlink, do not change permissions (STR #2937)... + */ + + if (is_symlink) + return (0); + + /* + * Fix owner, group, and mode as needed... + */ + + if (dir_created || fileinfo.st_uid != user || fileinfo.st_gid != group) + { + if (create_dir >= 0) + cupsdLogMessage(CUPSD_LOG_DEBUG, "Repairing ownership of \"%s\"", + filename); + + if (chown(filename, user, group) && !getuid()) + { + if (create_dir >= 0) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to change ownership of \"%s\" - %s", filename, + strerror(errno)); + else +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + sd_journal_print(LOG_ERR, "Unable to change ownership of \"%s\" - %s", filename, strerror(errno)); +#else + syslog(LOG_ERR, "Unable to change ownership of \"%s\" - %s", filename, strerror(errno)); +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + return (1); + } + } + + if (dir_created || (fileinfo.st_mode & 07777) != mode) + { + if (create_dir >= 0) + cupsdLogMessage(CUPSD_LOG_DEBUG, "Repairing access permissions of \"%s\"", + filename); + + if (chmod(filename, mode)) + { + if (create_dir >= 0) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to change permissions of \"%s\" - %s", filename, + strerror(errno)); + else +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + sd_journal_print(LOG_ERR, "Unable to change permissions of \"%s\" - %s", filename, strerror(errno)); +#else + syslog(LOG_ERR, "Unable to change permissions of \"%s\" - %s", filename, strerror(errno)); +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + return (1); + } + } + + /* + * Everything is OK... + */ + + return (0); +} + + +/* + * 'cupsdDefaultAuthType()' - Get the default AuthType. + * + * When the default_auth_type is "auto", this function tries to get the GSS + * credentials for the server. If that succeeds we use Kerberos authentication, + * otherwise we do a fallback to Basic authentication against the local user + * accounts. + */ + +int /* O - Default AuthType value */ +cupsdDefaultAuthType(void) +{ +#ifdef HAVE_GSSAPI + OM_uint32 major_status, /* Major status code */ + minor_status; /* Minor status code */ + gss_name_t server_name; /* Server name */ + gss_buffer_desc token = GSS_C_EMPTY_BUFFER; + /* Service name token */ + char buf[1024]; /* Service name buffer */ +#endif /* HAVE_GSSAPI */ + + + /* + * If we have already determined the correct default AuthType, use it... + */ + + if (default_auth_type != CUPSD_AUTH_AUTO) + return (default_auth_type); + +#ifdef HAVE_GSSAPI +# ifdef __APPLE__ + /* + * If the weak-linked GSSAPI/Kerberos library is not present, don't try + * to use it... + */ + + if (&gss_init_sec_context == NULL) + return (default_auth_type = CUPSD_AUTH_BASIC); +# endif /* __APPLE__ */ + + /* + * Try to obtain the server's GSS credentials (GSSServiceName@servername). If + * that fails we must use Basic... + */ + + snprintf(buf, sizeof(buf), "%s@%s", GSSServiceName, ServerName); + + token.value = buf; + token.length = strlen(buf); + server_name = GSS_C_NO_NAME; + major_status = gss_import_name(&minor_status, &token, + GSS_C_NT_HOSTBASED_SERVICE, + &server_name); + + memset(&token, 0, sizeof(token)); + + if (GSS_ERROR(major_status)) + { + cupsdLogGSSMessage(CUPSD_LOG_DEBUG, major_status, minor_status, + "cupsdDefaultAuthType: gss_import_name(%s) failed", buf); + return (default_auth_type = CUPSD_AUTH_BASIC); + } + + major_status = gss_display_name(&minor_status, server_name, &token, NULL); + + if (GSS_ERROR(major_status)) + { + cupsdLogGSSMessage(CUPSD_LOG_DEBUG, major_status, minor_status, + "cupsdDefaultAuthType: gss_display_name(%s) failed", + buf); + return (default_auth_type = CUPSD_AUTH_BASIC); + } + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdDefaultAuthType: Attempting to acquire Kerberos " + "credentials for %s...", (char *)token.value); + + ServerCreds = GSS_C_NO_CREDENTIAL; + major_status = gss_acquire_cred(&minor_status, server_name, GSS_C_INDEFINITE, + GSS_C_NO_OID_SET, GSS_C_ACCEPT, + &ServerCreds, NULL, NULL); + if (GSS_ERROR(major_status)) + { + cupsdLogGSSMessage(CUPSD_LOG_DEBUG, major_status, minor_status, + "cupsdDefaultAuthType: gss_acquire_cred(%s) failed", + (char *)token.value); + gss_release_name(&minor_status, &server_name); + gss_release_buffer(&minor_status, &token); + return (default_auth_type = CUPSD_AUTH_BASIC); + } + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdDefaultAuthType: Kerberos credentials acquired " + "successfully for %s.", (char *)token.value); + + gss_release_name(&minor_status, &server_name); + gss_release_buffer(&minor_status, &token); + + HaveServerCreds = 1; + + return (default_auth_type = CUPSD_AUTH_NEGOTIATE); + +#else + /* + * No Kerberos support compiled in so just use Basic all the time... + */ + + return (default_auth_type = CUPSD_AUTH_BASIC); +#endif /* HAVE_GSSAPI */ +} + + +/* + * 'cupsdFreeAliases()' - Free all of the alias entries. + */ + +void +cupsdFreeAliases(cups_array_t *aliases) /* I - Array of aliases */ +{ + cupsd_alias_t *a; /* Current alias */ + + + for (a = (cupsd_alias_t *)cupsArrayFirst(aliases); + a; + a = (cupsd_alias_t *)cupsArrayNext(aliases)) + free(a); + + cupsArrayDelete(aliases); +} + + +/* + * 'cupsdReadConfiguration()' - Read the cupsd.conf file. + */ + +int /* O - 1 on success, 0 otherwise */ +cupsdReadConfiguration(void) +{ + int i; /* Looping var */ + cups_file_t *fp; /* Configuration file */ + int status; /* Return status */ + char temp[1024], /* Temporary buffer */ + mimedir[1024], /* MIME directory */ + *slash; /* Directory separator */ + cups_lang_t *language; /* Language */ + struct passwd *user; /* Default user */ + struct group *group; /* Default group */ + char *old_serverroot, /* Old ServerRoot */ + *old_requestroot; /* Old RequestRoot */ + int old_remote_port; /* Old RemotePort */ + const char *tmpdir; /* TMPDIR environment variable */ + struct stat tmpinfo; /* Temporary directory info */ + cupsd_policy_t *p; /* Policy */ + + + /* + * Save the old root paths... + */ + + old_serverroot = NULL; + cupsdSetString(&old_serverroot, ServerRoot); + old_requestroot = NULL; + cupsdSetString(&old_requestroot, RequestRoot); + + /* + * Reset the server configuration data... + */ + + cupsdDeleteAllLocations(); + + cupsdDeleteAllListeners(); + + old_remote_port = RemotePort; + RemotePort = 0; + + /* + * String options... + */ + + cupsdFreeAliases(ServerAlias); + ServerAlias = NULL; + + cupsdClearString(&ServerName); + cupsdClearString(&ServerAdmin); + cupsdSetString(&ServerBin, CUPS_SERVERBIN); + cupsdSetString(&RequestRoot, CUPS_REQUESTS); + cupsdSetString(&CacheDir, CUPS_CACHEDIR); + cupsdSetString(&DataDir, CUPS_DATADIR); + cupsdSetString(&DocumentRoot, CUPS_DOCROOT); + cupsdSetString(&AccessLog, CUPS_LOGDIR "/access_log"); + cupsdClearString(&ErrorLog); + cupsdSetString(&PageLog, CUPS_LOGDIR "/page_log"); + cupsdSetString(&PageLogFormat, + "%p %u %j %T %P %C %{job-billing} " + "%{job-originating-host-name} %{job-name} %{media} %{sides}"); + cupsdSetString(&Printcap, CUPS_DEFAULT_PRINTCAP); + cupsdSetString(&FontPath, CUPS_FONTPATH); + cupsdSetString(&RemoteRoot, "remroot"); + cupsdSetStringf(&ServerHeader, "CUPS/%d.%d IPP/2.1", CUPS_VERSION_MAJOR, + CUPS_VERSION_MINOR); + cupsdSetString(&StateDir, CUPS_STATEDIR); + + if (!strcmp(CUPS_DEFAULT_PRINTCAP, "/etc/printers.conf")) + PrintcapFormat = PRINTCAP_SOLARIS; + else if (!strcmp(CUPS_DEFAULT_PRINTCAP, + "/Library/Preferences/org.cups.printers.plist")) + PrintcapFormat = PRINTCAP_PLIST; + else + PrintcapFormat = PRINTCAP_BSD; + + strlcpy(temp, ConfigurationFile, sizeof(temp)); + if ((slash = strrchr(temp, '/')) != NULL) + *slash = '\0'; + + cupsdSetString(&ServerRoot, temp); + + cupsdClearString(&Classification); + ClassifyOverride = 0; + +#ifdef HAVE_SSL +# ifdef HAVE_GNUTLS + cupsdSetString(&ServerKeychain, "ssl"); +# else + cupsdSetString(&ServerKeychain, "/Library/Keychains/System.keychain"); +# endif /* HAVE_GNUTLS */ + + _httpTLSSetOptions(_HTTP_TLS_NONE, _HTTP_TLS_1_0, _HTTP_TLS_MAX); +#endif /* HAVE_SSL */ + + language = cupsLangDefault(); + + if (!strcmp(language->language, "C") || !strcmp(language->language, "POSIX")) + cupsdSetString(&DefaultLanguage, "en"); + else + cupsdSetString(&DefaultLanguage, language->language); + + cupsdClearString(&DefaultPaperSize); + + cupsdSetString(&RIPCache, "128m"); + + cupsdSetString(&TempDir, NULL); + +#ifdef HAVE_GSSAPI + cupsdSetString(&GSSServiceName, CUPS_DEFAULT_GSSSERVICENAME); + + if (HaveServerCreds) + { + OM_uint32 minor_status; /* Minor status code */ + + gss_release_cred(&minor_status, &ServerCreds); + + HaveServerCreds = 0; + } + + ServerCreds = GSS_C_NO_CREDENTIAL; +#endif /* HAVE_GSSAPI */ + + /* + * Find the default user... + */ + + if ((user = getpwnam(CUPS_DEFAULT_USER)) != NULL) + User = user->pw_uid; + else + { + /* + * Use the (historical) NFS nobody user ID (-2 as a 16-bit twos- + * complement number...) + */ + + User = 65534; + } + + endpwent(); + + /* + * Find the default group... + */ + + group = getgrnam(CUPS_DEFAULT_GROUP); + endgrent(); + + if (group) + Group = group->gr_gid; + else + { + /* + * Fallback to group "nobody"... + */ + + group = getgrnam("nobody"); + endgrent(); + + if (group) + Group = group->gr_gid; + else + { + /* + * Use the (historical) NFS nobody group ID (-2 as a 16-bit twos- + * complement number...) + */ + + Group = 65534; + } + } + + /* + * Numeric options... + */ + + AccessLogLevel = CUPSD_ACCESSLOG_ACTIONS; + ConfigFilePerm = CUPS_DEFAULT_CONFIG_FILE_PERM; + FatalErrors = parse_fatal_errors(CUPS_DEFAULT_FATAL_ERRORS); + default_auth_type = CUPSD_AUTH_BASIC; +#ifdef HAVE_SSL + CreateSelfSignedCerts = TRUE; + DefaultEncryption = HTTP_ENCRYPT_REQUIRED; +#endif /* HAVE_SSL */ + DirtyCleanInterval = DEFAULT_KEEPALIVE; + JobKillDelay = DEFAULT_TIMEOUT; + JobRetryLimit = 5; + JobRetryInterval = 300; + FileDevice = FALSE; + FilterLevel = 0; + FilterLimit = 0; + FilterNice = 0; + HostNameLookups = FALSE; + KeepAlive = TRUE; + KeepAliveTimeout = DEFAULT_KEEPALIVE; + ListenBackLog = SOMAXCONN; + LogDebugHistory = 200; + LogFilePerm = CUPS_DEFAULT_LOG_FILE_PERM; + LogLevel = CUPSD_LOG_WARN; + LogTimeFormat = CUPSD_TIME_STANDARD; + MaxClients = 100; + MaxClientsPerHost = 0; + MaxLogSize = 1024 * 1024; + MaxRequestSize = 0; + MultipleOperationTimeout = 900; + NumSystemGroups = 0; + ReloadTimeout = DEFAULT_KEEPALIVE; + RootCertDuration = 300; + Sandboxing = CUPSD_SANDBOXING_STRICT; + StrictConformance = FALSE; + SyncOnClose = FALSE; + Timeout = 900; + WebInterface = CUPS_DEFAULT_WEBIF; + + BrowseLocalProtocols = parse_protocols(CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS); + BrowseWebIF = FALSE; + Browsing = CUPS_DEFAULT_BROWSING; + DefaultShared = CUPS_DEFAULT_DEFAULT_SHARED; + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + cupsdSetString(&DNSSDSubTypes, "_cups,_print"); + cupsdClearString(&DNSSDHostName); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + cupsdSetString(&LPDConfigFile, CUPS_DEFAULT_LPD_CONFIG_FILE); + cupsdSetString(&SMBConfigFile, CUPS_DEFAULT_SMB_CONFIG_FILE); + + cupsdSetString(&ErrorPolicy, "stop-printer"); + + JobHistory = DEFAULT_HISTORY; + JobFiles = DEFAULT_FILES; + JobAutoPurge = 0; + MaxHoldTime = 0; + MaxJobs = 500; + MaxActiveJobs = 0; + MaxJobsPerUser = 0; + MaxJobsPerPrinter = 0; + MaxJobTime = 3 * 60 * 60; /* 3 hours */ + MaxCopies = CUPS_DEFAULT_MAX_COPIES; + + cupsdDeleteAllPolicies(); + cupsdClearString(&DefaultPolicy); + +#ifdef HAVE_AUTHORIZATION_H + cupsdSetString(&SystemGroupAuthKey, CUPS_DEFAULT_SYSTEM_AUTHKEY); +#endif /* HAVE_AUTHORIZATION_H */ + + MaxSubscriptions = 100; + MaxSubscriptionsPerJob = 0; + MaxSubscriptionsPerPrinter = 0; + MaxSubscriptionsPerUser = 0; + DefaultLeaseDuration = 86400; + MaxLeaseDuration = 0; + +#ifdef HAVE_ONDEMAND + IdleExitTimeout = 60; +#endif /* HAVE_ONDEMAND */ + + /* + * Setup environment variables... + */ + + cupsdInitEnv(); + + /* + * Read the cups-files.conf file... + */ + + if ((fp = cupsFileOpen(CupsFilesFile, "r")) != NULL) + { + status = read_cups_files_conf(fp); + + cupsFileClose(fp); + + if (!status) + { + if (TestConfigFile) + printf("\"%s\" contains errors.\n", CupsFilesFile); + else +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + sd_journal_print(LOG_ERR, "Unable to read \"%s\" due to errors.", CupsFilesFile); +#else + syslog(LOG_LPR, "Unable to read \"%s\" due to errors.", CupsFilesFile); +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + return (0); + } + } + else if (errno == ENOENT) + cupsdLogMessage(CUPSD_LOG_INFO, "No %s, using defaults.", CupsFilesFile); + else + { +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + sd_journal_print(LOG_ERR, "Unable to open \"%s\" - %s", CupsFilesFile, strerror(errno)); +#else + syslog(LOG_LPR, "Unable to open \"%s\" - %s", CupsFilesFile, strerror(errno)); +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + return (0); + } + + if (!ErrorLog) + cupsdSetString(&ErrorLog, CUPS_LOGDIR "/error_log"); + + /* + * Read the cupsd.conf file... + */ + + if ((fp = cupsFileOpen(ConfigurationFile, "r")) == NULL) + { +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + sd_journal_print(LOG_ERR, "Unable to open \"%s\" - %s", ConfigurationFile, strerror(errno)); +#else + syslog(LOG_LPR, "Unable to open \"%s\" - %s", ConfigurationFile, strerror(errno)); +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + return (0); + } + + status = read_cupsd_conf(fp); + + cupsFileClose(fp); + + if (!status) + { + if (TestConfigFile) + printf("\"%s\" contains errors.\n", ConfigurationFile); + else +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + sd_journal_print(LOG_ERR, "Unable to read \"%s\" due to errors.", ConfigurationFile); +#else + syslog(LOG_LPR, "Unable to read \"%s\" due to errors.", ConfigurationFile); +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + return (0); + } + + RunUser = getuid(); + + cupsdLogMessage(CUPSD_LOG_INFO, "Remote access is %s.", + RemotePort ? "enabled" : "disabled"); + + if (!RemotePort) + BrowseLocalProtocols = 0; /* Disable sharing - no remote access */ + + /* + * See if the ServerName is an IP address... + */ + + if (ServerName) + { + if (!ServerAlias) + ServerAlias = cupsArrayNew(NULL, NULL); + + cupsdAddAlias(ServerAlias, ServerName); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added auto ServerAlias %s", ServerName); + } + else + { + if (gethostname(temp, sizeof(temp))) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to get hostname: %s", + strerror(errno)); + strlcpy(temp, "localhost", sizeof(temp)); + } + + cupsdSetString(&ServerName, temp); + + if (!ServerAlias) + ServerAlias = cupsArrayNew(NULL, NULL); + + cupsdAddAlias(ServerAlias, temp); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added auto ServerAlias %s", temp); + + if (HostNameLookups || RemotePort) + { + struct hostent *host; /* Host entry to get FQDN */ + + if ((host = gethostbyname(temp)) != NULL) + { + if (_cups_strcasecmp(temp, host->h_name)) + { + cupsdSetString(&ServerName, host->h_name); + cupsdAddAlias(ServerAlias, host->h_name); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added auto ServerAlias %s", + host->h_name); + } + + if (host->h_aliases) + { + for (i = 0; host->h_aliases[i]; i ++) + if (_cups_strcasecmp(temp, host->h_aliases[i])) + { + cupsdAddAlias(ServerAlias, host->h_aliases[i]); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added auto ServerAlias %s", + host->h_aliases[i]); + } + } + } + } + + /* + * Make sure we have the base hostname added as an alias, too! + */ + + if ((slash = strchr(temp, '.')) != NULL) + { + *slash = '\0'; + cupsdAddAlias(ServerAlias, temp); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added auto ServerAlias %s", temp); + } + } + + for (slash = ServerName; isdigit(*slash & 255) || *slash == '.'; slash ++); + + ServerNameIsIP = !*slash; + + /* + * Make sure ServerAdmin is initialized... + */ + + if (!ServerAdmin) + cupsdSetStringf(&ServerAdmin, "root@%s", ServerName); + + /* + * Use the default system group if none was supplied in cupsd.conf... + */ + + if (NumSystemGroups == 0) + { + if (!parse_groups(CUPS_DEFAULT_SYSTEM_GROUPS, 0)) + { + /* + * Find the group associated with GID 0... + */ + + group = getgrgid(0); + endgrent(); + + if (group != NULL) + cupsdSetString(&SystemGroups[0], group->gr_name); + else + cupsdSetString(&SystemGroups[0], "unknown"); + + SystemGroupIDs[0] = 0; + NumSystemGroups = 1; + } + } + + /* + * Make sure ConfigFilePerm and LogFilePerm have sane values... + */ + + ConfigFilePerm &= 0664; + LogFilePerm &= 0664; + + /* + * Open the system log for cupsd if necessary... + */ + + if (!LogStderr) + { + if (!strcmp(AccessLog, "stderr")) + cupsdSetString(&AccessLog, "syslog"); + + if (!strcmp(ErrorLog, "stderr")) + cupsdSetString(&ErrorLog, "syslog"); + + if (!strcmp(PageLog, "stderr")) + cupsdSetString(&PageLog, "syslog"); + } + +#if defined(HAVE_VSYSLOG) && !defined(HAVE_ASL_H) && !defined(HAVE_SYSTEMD_SD_JOURNAL_H) + if (!strcmp(AccessLog, "syslog") || + !strcmp(ErrorLog, "syslog") || + !strcmp(PageLog, "syslog")) + openlog("cupsd", LOG_PID | LOG_NOWAIT | LOG_NDELAY, LOG_LPR); +#endif /* HAVE_VSYSLOG && !HAVE_ASL_H && !HAVE_SYSTEMD_SD_JOURNAL_H */ + + /* + * Log the configuration file that was used... + */ + + cupsdLogMessage(CUPSD_LOG_INFO, "Loaded configuration file \"%s\"", + ConfigurationFile); + + /* + * Validate the Group and SystemGroup settings - they cannot be the same, + * otherwise the CGI programs will be able to authenticate as root without + * a password! + */ + + if (!RunUser) + { + for (i = 0; i < NumSystemGroups; i ++) + if (Group == SystemGroupIDs[i]) + break; + + if (i < NumSystemGroups) + { + /* + * Log the error and reset the group to a safe value... + */ + + cupsdLogMessage(CUPSD_LOG_ERROR, + "Group and SystemGroup cannot use the same groups."); + if (FatalErrors & (CUPSD_FATAL_CONFIG | CUPSD_FATAL_PERMISSIONS)) + return (0); + + cupsdLogMessage(CUPSD_LOG_INFO, "Resetting Group to \"nobody\"..."); + + group = getgrnam("nobody"); + endgrent(); + + if (group != NULL) + Group = group->gr_gid; + else + { + /* + * Use the (historical) NFS nobody group ID (-2 as a 16-bit twos- + * complement number...) + */ + + Group = 65534; + } + } + } + + /* + * Check that we have at least one listen/port line; if not, report this + * as an error and exit! + */ + + if (cupsArrayCount(Listeners) == 0) + { + /* + * No listeners! + */ + + cupsdLogMessage(CUPSD_LOG_EMERG, + "No valid Listen or Port lines were found in the " + "configuration file."); + + /* + * Commit suicide... + */ + + cupsdEndProcess(getpid(), 0); + } + + /* + * Set the default locale using the language and charset... + */ + + cupsdSetStringf(&DefaultLocale, "%s.UTF-8", DefaultLanguage); + + /* + * Update all relative filenames to include the full path from ServerRoot... + */ + + if (DocumentRoot[0] != '/') + cupsdSetStringf(&DocumentRoot, "%s/%s", ServerRoot, DocumentRoot); + + if (RequestRoot[0] != '/') + cupsdSetStringf(&RequestRoot, "%s/%s", ServerRoot, RequestRoot); + + if (ServerBin[0] != '/') + cupsdSetStringf(&ServerBin, "%s/%s", ServerRoot, ServerBin); + + if (StateDir[0] != '/') + cupsdSetStringf(&StateDir, "%s/%s", ServerRoot, StateDir); + + if (CacheDir[0] != '/') + cupsdSetStringf(&CacheDir, "%s/%s", ServerRoot, CacheDir); + +#ifdef HAVE_SSL + if (!_cups_strcasecmp(ServerKeychain, "internal")) + cupsdClearString(&ServerKeychain); + else if (ServerKeychain[0] != '/') + cupsdSetStringf(&ServerKeychain, "%s/%s", ServerRoot, ServerKeychain); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Using keychain \"%s\" for server name \"%s\".", ServerKeychain ? ServerKeychain : "internal", ServerName); + if (!CreateSelfSignedCerts) + cupsdLogMessage(CUPSD_LOG_DEBUG, "Self-signed TLS certificate generation is disabled."); + cupsSetServerCredentials(ServerKeychain, ServerName, CreateSelfSignedCerts); +#endif /* HAVE_SSL */ + + /* + * Make sure that directories and config files are owned and + * writable by the user and group in the cupsd.conf file... + */ + + snprintf(temp, sizeof(temp), "%s/rss", CacheDir); + + if ((cupsdCheckPermissions(RequestRoot, NULL, 0710, RunUser, + Group, 1, 1) < 0 || + cupsdCheckPermissions(CacheDir, NULL, 0770, RunUser, + Group, 1, 1) < 0 || + cupsdCheckPermissions(temp, NULL, 0775, RunUser, + Group, 1, 1) < 0 || + cupsdCheckPermissions(StateDir, NULL, 0755, RunUser, + Group, 1, 1) < 0 || + cupsdCheckPermissions(StateDir, "certs", RunUser ? 0711 : 0511, User, + SystemGroupIDs[0], 1, 1) < 0 || + cupsdCheckPermissions(ServerRoot, NULL, 0755, RunUser, + Group, 1, 0) < 0 || + cupsdCheckPermissions(ServerRoot, "ppd", 0755, RunUser, + Group, 1, 1) < 0 || + cupsdCheckPermissions(ServerRoot, "ssl", 0700, RunUser, + Group, 1, 0) < 0 || + cupsdCheckPermissions(ConfigurationFile, NULL, ConfigFilePerm, RunUser, + Group, 0, 0) < 0 || + cupsdCheckPermissions(CupsFilesFile, NULL, ConfigFilePerm, RunUser, + Group, 0, 0) < 0 || + cupsdCheckPermissions(ServerRoot, "classes.conf", 0600, RunUser, + Group, 0, 0) < 0 || + cupsdCheckPermissions(ServerRoot, "printers.conf", 0600, RunUser, + Group, 0, 0) < 0 || + cupsdCheckPermissions(ServerRoot, "passwd.md5", 0600, User, + Group, 0, 0) < 0) && + (FatalErrors & CUPSD_FATAL_PERMISSIONS)) + return (0); + + /* + * Update TempDir to the default if it hasn't been set already... + */ + +#ifdef __APPLE__ + if (TempDir && !RunUser && + (!strncmp(TempDir, "/private/tmp", 12) || !strncmp(TempDir, "/tmp", 4))) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Cannot use %s for TempDir.", TempDir); + cupsdClearString(&TempDir); + } +#endif /* __APPLE__ */ + + if (!TempDir) + { +#ifdef __APPLE__ + if ((tmpdir = getenv("TMPDIR")) != NULL && + strncmp(tmpdir, "/private/tmp", 12) && strncmp(tmpdir, "/tmp", 4)) +#else + if ((tmpdir = getenv("TMPDIR")) != NULL) +#endif /* __APPLE__ */ + { + /* + * TMPDIR is defined, see if it is OK for us to use... + */ + + if (stat(tmpdir, &tmpinfo)) + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to access TMPDIR (%s): %s", + tmpdir, strerror(errno)); + else if (!S_ISDIR(tmpinfo.st_mode)) + cupsdLogMessage(CUPSD_LOG_ERROR, "TMPDIR (%s) is not a directory.", + tmpdir); + else if ((tmpinfo.st_uid != User || !(tmpinfo.st_mode & S_IWUSR)) && + (tmpinfo.st_gid != Group || !(tmpinfo.st_mode & S_IWGRP)) && + !(tmpinfo.st_mode & S_IWOTH)) + cupsdLogMessage(CUPSD_LOG_ERROR, + "TMPDIR (%s) has the wrong permissions.", tmpdir); + else + cupsdSetString(&TempDir, tmpdir); + } + } + + if (!TempDir) + { + cupsdLogMessage(CUPSD_LOG_INFO, "Using default TempDir of %s/tmp...", + RequestRoot); + cupsdSetStringf(&TempDir, "%s/tmp", RequestRoot); + } + + setenv("TMPDIR", TempDir, 1); + + /* + * Make sure the temporary directory has the right permissions... + */ + + if (!strncmp(TempDir, RequestRoot, strlen(RequestRoot)) || + access(TempDir, 0)) + { + /* + * Update ownership and permissions if the CUPS temp directory + * is under the spool directory or does not exist... + */ + + if (cupsdCheckPermissions(TempDir, NULL, 01770, RunUser, Group, 1, 1) < 0 && + (FatalErrors & CUPSD_FATAL_PERMISSIONS)) + return (0); + } + + /* + * Update environment variables... + */ + + cupsdUpdateEnv(); + + /* + * Validate the default error policy... + */ + + if (strcmp(ErrorPolicy, "retry-current-job") && + strcmp(ErrorPolicy, "abort-job") && + strcmp(ErrorPolicy, "retry-job") && + strcmp(ErrorPolicy, "stop-printer")) + { + cupsdLogMessage(CUPSD_LOG_ALERT, "Invalid ErrorPolicy \"%s\", resetting to \"stop-printer\".", ErrorPolicy); + cupsdSetString(&ErrorPolicy, "stop-printer"); + } + + /* + * Update default paper size setting as needed... + */ + + if (!DefaultPaperSize) + { +#ifdef HAVE_LIBPAPER + char *paper_result; /* Paper size name from libpaper */ + + if ((paper_result = systempapername()) != NULL) + cupsdSetString(&DefaultPaperSize, paper_result); + else +#endif /* HAVE_LIBPAPER */ + if (!DefaultLanguage || + !_cups_strcasecmp(DefaultLanguage, "C") || + !_cups_strcasecmp(DefaultLanguage, "POSIX") || + !_cups_strcasecmp(DefaultLanguage, "en") || + !_cups_strncasecmp(DefaultLanguage, "en.", 3) || + !_cups_strncasecmp(DefaultLanguage, "en_US", 5) || + !_cups_strncasecmp(DefaultLanguage, "en_CA", 5) || + !_cups_strncasecmp(DefaultLanguage, "fr_CA", 5)) + { + /* + * These are the only locales that will default to "letter" size... + */ + + cupsdSetString(&DefaultPaperSize, "Letter"); + } + else + cupsdSetString(&DefaultPaperSize, "A4"); + } + + /* + * Update classification setting as needed... + */ + + if (Classification && !_cups_strcasecmp(Classification, "none")) + cupsdClearString(&Classification); + + if (Classification) + cupsdLogMessage(CUPSD_LOG_INFO, "Security set to \"%s\"", Classification); + + /* + * Check the MaxClients setting, and then allocate memory for it... + */ + + if (MaxClients > (MaxFDs / 3) || MaxClients <= 0) + { + if (MaxClients > 0) + cupsdLogMessage(CUPSD_LOG_INFO, + "MaxClients limited to 1/3 (%d) of the file descriptor " + "limit (%d)...", + MaxFDs / 3, MaxFDs); + + MaxClients = MaxFDs / 3; + } + + cupsdLogMessage(CUPSD_LOG_INFO, "Configured for up to %d clients.", + MaxClients); + + /* + * Check the MaxActiveJobs setting; limit to 1/3 the available + * file descriptors, since we need a pipe for each job... + */ + + if (MaxActiveJobs > (MaxFDs / 3)) + MaxActiveJobs = MaxFDs / 3; + + /* + * Update the MaxClientsPerHost value, as needed... + */ + + if (MaxClientsPerHost <= 0) + MaxClientsPerHost = MaxClients; + + if (MaxClientsPerHost > MaxClients) + MaxClientsPerHost = MaxClients; + + cupsdLogMessage(CUPSD_LOG_INFO, + "Allowing up to %d client connections per host.", + MaxClientsPerHost); + + /* + * Update the default policy, as needed... + */ + + if (DefaultPolicy) + DefaultPolicyPtr = cupsdFindPolicy(DefaultPolicy); + else + DefaultPolicyPtr = NULL; + + if (!DefaultPolicyPtr) + { + cupsd_location_t *po; /* New policy operation */ + + + if (DefaultPolicy) + cupsdLogMessage(CUPSD_LOG_ERROR, "Default policy \"%s\" not found.", + DefaultPolicy); + + cupsdSetString(&DefaultPolicy, "default"); + + if ((DefaultPolicyPtr = cupsdFindPolicy("default")) != NULL) + cupsdLogMessage(CUPSD_LOG_INFO, + "Using policy \"default\" as the default."); + else + { + cupsdLogMessage(CUPSD_LOG_INFO, + "Creating CUPS default administrative policy:"); + + DefaultPolicyPtr = p = cupsdAddPolicy("default"); + + cupsdLogMessage(CUPSD_LOG_INFO, ""); + + cupsdLogMessage(CUPSD_LOG_INFO, "JobPrivateAccess default"); + cupsdAddString(&(p->job_access), "@OWNER"); + cupsdAddString(&(p->job_access), "@SYSTEM"); + + cupsdLogMessage(CUPSD_LOG_INFO, "JobPrivateValues default"); + cupsdAddString(&(p->job_attrs), "job-name"); + cupsdAddString(&(p->job_attrs), "job-originating-host-name"); + cupsdAddString(&(p->job_attrs), "job-originating-user-name"); + cupsdAddString(&(p->job_attrs), "phone"); + + cupsdLogMessage(CUPSD_LOG_INFO, "SubscriptionPrivateAccess default"); + cupsdAddString(&(p->sub_access), "@OWNER"); + cupsdAddString(&(p->sub_access), "@SYSTEM"); + + cupsdLogMessage(CUPSD_LOG_INFO, "SubscriptionPrivateValues default"); + cupsdAddString(&(p->job_attrs), "notify-events"); + cupsdAddString(&(p->job_attrs), "notify-pull-method"); + cupsdAddString(&(p->job_attrs), "notify-recipient-uri"); + cupsdAddString(&(p->job_attrs), "notify-subscriber-user-name"); + cupsdAddString(&(p->job_attrs), "notify-user-data"); + + cupsdLogMessage(CUPSD_LOG_INFO, + ""); + cupsdLogMessage(CUPSD_LOG_INFO, "Order Deny,Allow"); + + po = cupsdAddPolicyOp(p, NULL, IPP_CREATE_JOB); + po->order_type = CUPSD_AUTH_ALLOW; + + cupsdAddPolicyOp(p, po, IPP_PRINT_JOB); + cupsdAddPolicyOp(p, po, IPP_PRINT_URI); + cupsdAddPolicyOp(p, po, IPP_VALIDATE_JOB); + + cupsdLogMessage(CUPSD_LOG_INFO, ""); + + cupsdLogMessage(CUPSD_LOG_INFO, + ""); + cupsdLogMessage(CUPSD_LOG_INFO, "Order Deny,Allow"); + + po = cupsdAddPolicyOp(p, NULL, IPP_SEND_DOCUMENT); + po->order_type = CUPSD_AUTH_ALLOW; + po->level = CUPSD_AUTH_USER; + + cupsdAddName(po, "@OWNER"); + cupsdAddName(po, "@SYSTEM"); + cupsdLogMessage(CUPSD_LOG_INFO, "Require user @OWNER @SYSTEM"); + + cupsdAddPolicyOp(p, po, IPP_SEND_URI); + cupsdAddPolicyOp(p, po, IPP_CANCEL_JOB); + cupsdAddPolicyOp(p, po, IPP_HOLD_JOB); + cupsdAddPolicyOp(p, po, IPP_RELEASE_JOB); + cupsdAddPolicyOp(p, po, IPP_RESTART_JOB); + cupsdAddPolicyOp(p, po, IPP_PURGE_JOBS); + cupsdAddPolicyOp(p, po, IPP_SET_JOB_ATTRIBUTES); + cupsdAddPolicyOp(p, po, IPP_CREATE_JOB_SUBSCRIPTION); + cupsdAddPolicyOp(p, po, IPP_RENEW_SUBSCRIPTION); + cupsdAddPolicyOp(p, po, IPP_CANCEL_SUBSCRIPTION); + cupsdAddPolicyOp(p, po, IPP_GET_NOTIFICATIONS); + cupsdAddPolicyOp(p, po, IPP_REPROCESS_JOB); + cupsdAddPolicyOp(p, po, IPP_CANCEL_CURRENT_JOB); + cupsdAddPolicyOp(p, po, IPP_SUSPEND_CURRENT_JOB); + cupsdAddPolicyOp(p, po, IPP_RESUME_JOB); + cupsdAddPolicyOp(p, po, IPP_CANCEL_MY_JOBS); + cupsdAddPolicyOp(p, po, IPP_CLOSE_JOB); + cupsdAddPolicyOp(p, po, CUPS_MOVE_JOB); + cupsdAddPolicyOp(p, po, CUPS_AUTHENTICATE_JOB); + cupsdAddPolicyOp(p, po, CUPS_GET_DOCUMENT); + + cupsdLogMessage(CUPSD_LOG_INFO, ""); + + cupsdLogMessage(CUPSD_LOG_INFO, + ""); + cupsdLogMessage(CUPSD_LOG_INFO, "Order Deny,Allow"); + cupsdLogMessage(CUPSD_LOG_INFO, "AuthType Default"); + + po = cupsdAddPolicyOp(p, NULL, IPP_PAUSE_PRINTER); + po->order_type = CUPSD_AUTH_ALLOW; + po->type = CUPSD_AUTH_DEFAULT; + po->level = CUPSD_AUTH_USER; + + cupsdAddName(po, "@SYSTEM"); + cupsdLogMessage(CUPSD_LOG_INFO, "Require user @SYSTEM"); + + cupsdAddPolicyOp(p, po, IPP_RESUME_PRINTER); + cupsdAddPolicyOp(p, po, IPP_SET_PRINTER_ATTRIBUTES); + cupsdAddPolicyOp(p, po, IPP_ENABLE_PRINTER); + cupsdAddPolicyOp(p, po, IPP_DISABLE_PRINTER); + cupsdAddPolicyOp(p, po, IPP_PAUSE_PRINTER_AFTER_CURRENT_JOB); + cupsdAddPolicyOp(p, po, IPP_HOLD_NEW_JOBS); + cupsdAddPolicyOp(p, po, IPP_RELEASE_HELD_NEW_JOBS); + cupsdAddPolicyOp(p, po, IPP_DEACTIVATE_PRINTER); + cupsdAddPolicyOp(p, po, IPP_ACTIVATE_PRINTER); + cupsdAddPolicyOp(p, po, IPP_RESTART_PRINTER); + cupsdAddPolicyOp(p, po, IPP_SHUTDOWN_PRINTER); + cupsdAddPolicyOp(p, po, IPP_STARTUP_PRINTER); + cupsdAddPolicyOp(p, po, IPP_PROMOTE_JOB); + cupsdAddPolicyOp(p, po, IPP_SCHEDULE_JOB_AFTER); + cupsdAddPolicyOp(p, po, IPP_CANCEL_JOBS); + cupsdAddPolicyOp(p, po, CUPS_ADD_PRINTER); + cupsdAddPolicyOp(p, po, CUPS_DELETE_PRINTER); + cupsdAddPolicyOp(p, po, CUPS_ADD_CLASS); + cupsdAddPolicyOp(p, po, CUPS_DELETE_CLASS); + cupsdAddPolicyOp(p, po, CUPS_ACCEPT_JOBS); + cupsdAddPolicyOp(p, po, CUPS_REJECT_JOBS); + cupsdAddPolicyOp(p, po, CUPS_SET_DEFAULT); + + cupsdLogMessage(CUPSD_LOG_INFO, ""); + + cupsdLogMessage(CUPSD_LOG_INFO, ""); + cupsdLogMessage(CUPSD_LOG_INFO, "Order Deny,Allow"); + + po = cupsdAddPolicyOp(p, NULL, IPP_ANY_OPERATION); + po->order_type = CUPSD_AUTH_ALLOW; + + cupsdLogMessage(CUPSD_LOG_INFO, ""); + cupsdLogMessage(CUPSD_LOG_INFO, ""); + } + } + + if (LogLevel >= CUPSD_LOG_DEBUG2) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdReadConfiguration: NumPolicies=%d", + cupsArrayCount(Policies)); + for (i = 0, p = (cupsd_policy_t *)cupsArrayFirst(Policies); + p; + i ++, p = (cupsd_policy_t *)cupsArrayNext(Policies)) + { + int j; /* Looping var */ + cupsd_location_t *loc; /* Current location */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdReadConfiguration: Policies[%d]=\"%s\"", i, p->name); + + for (j = 0, loc = (cupsd_location_t *)cupsArrayFirst(p->ops); loc; j ++, loc = (cupsd_location_t *)cupsArrayNext(p->ops)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdReadConfiguration: ops[%d]=%s", j, ippOpString(loc->op)); + } + } + } + + /* + * If we are doing a full reload or the server root has changed, flush + * the jobs, printers, etc. and start from scratch... + */ + + if (NeedReload == RELOAD_ALL || + old_remote_port != RemotePort || + !old_serverroot || !ServerRoot || strcmp(old_serverroot, ServerRoot) || + !old_requestroot || !RequestRoot || strcmp(old_requestroot, RequestRoot)) + { + mime_type_t *type; /* Current type */ + char mimetype[MIME_MAX_SUPER + MIME_MAX_TYPE]; + /* MIME type name */ + + + cupsdLogMessage(CUPSD_LOG_INFO, "Full reload is required."); + + /* + * Free all memory... + */ + + cupsdDeleteAllSubscriptions(); + cupsdFreeAllJobs(); + cupsdDeleteAllPrinters(); + + DefaultPrinter = NULL; + + if (MimeDatabase != NULL) + mimeDelete(MimeDatabase); + + if (NumMimeTypes) + { + for (i = 0; i < NumMimeTypes; i ++) + _cupsStrFree(MimeTypes[i]); + + free(MimeTypes); + } + + /* + * Read the MIME type and conversion database... + */ + + snprintf(temp, sizeof(temp), "%s/filter", ServerBin); + snprintf(mimedir, sizeof(mimedir), "%s/mime", DataDir); + + MimeDatabase = mimeNew(); + mimeSetErrorCallback(MimeDatabase, mime_error_cb, NULL); + + MimeDatabase = mimeLoadTypes(MimeDatabase, mimedir); + MimeDatabase = mimeLoadTypes(MimeDatabase, ServerRoot); + MimeDatabase = mimeLoadFilters(MimeDatabase, mimedir, temp); + MimeDatabase = mimeLoadFilters(MimeDatabase, ServerRoot, temp); + + if (!MimeDatabase) + { + cupsdLogMessage(CUPSD_LOG_EMERG, + "Unable to load MIME database from \"%s\" or \"%s\".", + mimedir, ServerRoot); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + + cupsdLogMessage(CUPSD_LOG_INFO, + "Loaded MIME database from \"%s\" and \"%s\": %d types, " + "%d filters...", mimedir, ServerRoot, + mimeNumTypes(MimeDatabase), mimeNumFilters(MimeDatabase)); + + /* + * Create a list of MIME types for the document-format-supported + * attribute... + */ + + NumMimeTypes = mimeNumTypes(MimeDatabase); + if (!mimeType(MimeDatabase, "application", "octet-stream")) + NumMimeTypes ++; + + if ((MimeTypes = calloc((size_t)NumMimeTypes, sizeof(const char *))) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for %d MIME types.", + NumMimeTypes); + NumMimeTypes = 0; + } + else + { + for (i = 0, type = mimeFirstType(MimeDatabase); + type; + i ++, type = mimeNextType(MimeDatabase)) + { + snprintf(mimetype, sizeof(mimetype), "%s/%s", type->super, type->type); + + MimeTypes[i] = _cupsStrAlloc(mimetype); + } + + if (i < NumMimeTypes) + MimeTypes[i] = _cupsStrAlloc("application/octet-stream"); + } + + if (LogLevel == CUPSD_LOG_DEBUG2) + { + mime_filter_t *filter; /* Current filter */ + + + for (type = mimeFirstType(MimeDatabase); + type; + type = mimeNextType(MimeDatabase)) + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdReadConfiguration: type %s/%s", + type->super, type->type); + + for (filter = mimeFirstFilter(MimeDatabase); + filter; + filter = mimeNextFilter(MimeDatabase)) + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdReadConfiguration: filter %s/%s to %s/%s %d %s", + filter->src->super, filter->src->type, + filter->dst->super, filter->dst->type, + filter->cost, filter->filter); + } + + /* + * Load banners... + */ + + snprintf(temp, sizeof(temp), "%s/banners", DataDir); + cupsdLoadBanners(temp); + + /* + * Load printers and classes... + */ + + cupsdLoadAllPrinters(); + cupsdLoadAllClasses(); + + cupsdCreateCommonData(); + + /* + * Update the printcap file as needed... + */ + + if (Printcap && *Printcap && access(Printcap, 0)) + cupsdWritePrintcap(); + + /* + * Load queued jobs... + */ + + cupsdLoadAllJobs(); + + /* + * Load subscriptions... + */ + + cupsdLoadAllSubscriptions(); + + cupsdLogMessage(CUPSD_LOG_INFO, "Full reload complete."); + } + else + { + /* + * Not a full reload, so recreate the common printer attributes... + */ + + cupsdCreateCommonData(); + + /* + * Update all jobs as needed... + */ + + cupsdUpdateJobs(); + + /* + * Update all printers as needed... + */ + + cupsdUpdatePrinters(); + cupsdMarkDirty(CUPSD_DIRTY_PRINTCAP); + + cupsdLogMessage(CUPSD_LOG_INFO, "Partial reload complete."); + } + + /* + * Reset the reload state... + */ + + NeedReload = RELOAD_NONE; + + cupsdClearString(&old_serverroot); + cupsdClearString(&old_requestroot); + + return (1); +} + + +/* + * 'get_address()' - Get an address + port number from a line. + */ + +static http_addrlist_t * /* O - Pointer to list if address good, NULL if bad */ +get_address(const char *value, /* I - Value string */ + int defport) /* I - Default port */ +{ + char buffer[1024], /* Hostname + port number buffer */ + defpname[255], /* Default port name */ + *hostname, /* Hostname or IP */ + *portname; /* Port number or name */ + http_addrlist_t *addrlist; /* Address list */ + + + /* + * Check for an empty value... + */ + + if (!*value) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Bad (empty) address."); + return (NULL); + } + + /* + * Grab a hostname and port number; if there is no colon and the port name + * is only digits, then we have a port number by itself... + */ + + strlcpy(buffer, value, sizeof(buffer)); + + if ((portname = strrchr(buffer, ':')) != NULL && !strchr(portname, ']')) + { + *portname++ = '\0'; + hostname = buffer; + } + else + { + for (portname = buffer; isdigit(*portname & 255); portname ++); + + if (*portname) + { + /* + * Use the default port... + */ + + sprintf(defpname, "%d", defport); + portname = defpname; + hostname = buffer; + } + else + { + /* + * The buffer contains just a port number... + */ + + portname = buffer; + hostname = NULL; + } + } + + if (hostname && !strcmp(hostname, "*")) + hostname = NULL; + + /* + * Now lookup the address using httpAddrGetList()... + */ + + if ((addrlist = httpAddrGetList(hostname, AF_UNSPEC, portname)) == NULL) + cupsdLogMessage(CUPSD_LOG_ERROR, "Hostname lookup for \"%s\" failed.", + hostname ? hostname : "(nil)"); + + return (addrlist); +} + + +/* + * 'get_addr_and_mask()' - Get an IP address and netmask. + */ + +static int /* O - 1 on success, 0 on failure */ +get_addr_and_mask(const char *value, /* I - String from config file */ + unsigned *ip, /* O - Address value */ + unsigned *mask) /* O - Mask value */ +{ + int i, j, /* Looping vars */ + family, /* Address family */ + ipcount; /* Count of fields in address */ + unsigned ipval; /* Value */ + const char *maskval, /* Pointer to start of mask value */ + *ptr, /* Pointer into value */ + *ptr2; /* ... */ + + + /* + * Get the address... + */ + + ip[0] = ip[1] = ip[2] = ip[3] = 0x00000000; + mask[0] = mask[1] = mask[2] = mask[3] = 0xffffffff; + + if ((maskval = strchr(value, '/')) != NULL) + maskval ++; + else + maskval = value + strlen(value); + +#ifdef AF_INET6 + /* + * Check for an IPv6 address... + */ + + if (*value == '[') + { + /* + * Parse hexadecimal IPv6/IPv4 address... + */ + + family = AF_INET6; + + for (i = 0, ptr = value + 1; *ptr && i < 8; i ++) + { + if (*ptr == ']') + break; + else if (!strncmp(ptr, "::", 2)) + { + for (ptr2 = strchr(ptr + 2, ':'), j = 0; + ptr2; + ptr2 = strchr(ptr2 + 1, ':'), j ++); + + i = 6 - j; + ptr += 2; + } + else if (isdigit(*ptr & 255) && strchr(ptr + 1, '.') && i >= 6) + { + /* + * Read IPv4 dotted quad... + */ + + unsigned val[4] = { 0, 0, 0, 0 }; + /* IPv4 address values */ + + ipcount = sscanf(ptr, "%u.%u.%u.%u", val + 0, val + 1, val + 2, + val + 3); + + /* + * Range check the IP numbers... + */ + + for (i = 0; i < ipcount; i ++) + if (val[i] > 255) + return (0); + + /* + * Merge everything into a 32-bit IPv4 address in ip[3]... + */ + + ip[3] = ((((((unsigned)val[0] << 8) | (unsigned)val[1]) << 8) | + (unsigned)val[2]) << 8) | (unsigned)val[3]; + + if (ipcount < 4) + mask[3] = (0xffffffff << (32 - 8 * ipcount)) & 0xffffffff; + + /* + * If the leading words are all 0's then this is an IPv4 address... + */ + + if (!val[0] && !val[1] && !val[2]) + family = AF_INET; + + while (isdigit(*ptr & 255) || *ptr == '.') + ptr ++; + break; + } + else if (isxdigit(*ptr & 255)) + { + ipval = strtoul(ptr, (char **)&ptr, 16); + + if (*ptr == ':' && ptr[1] != ':') + ptr ++; + + if (ipval > 0xffff) + return (0); + + if (i & 1) + ip[i / 2] |= ipval; + else + ip[i / 2] |= ipval << 16; + } + else + return (0); + } + + if (*ptr != ']') + return (0); + + ptr ++; + + if (*ptr && *ptr != '/') + return (0); + } + else +#endif /* AF_INET6 */ + { + /* + * Parse dotted-decimal IPv4 address... + */ + + unsigned val[4] = { 0, 0, 0, 0 }; /* IPv4 address values */ + + + family = AF_INET; + ipcount = sscanf(value, "%u.%u.%u.%u", val + 0, val + 1, val + 2, val + 3); + + /* + * Range check the IP numbers... + */ + + for (i = 0; i < ipcount; i ++) + if (val[i] > 255) + return (0); + + /* + * Merge everything into a 32-bit IPv4 address in ip[3]... + */ + + ip[3] = ((((((unsigned)val[0] << 8) | (unsigned)val[1]) << 8) | + (unsigned)val[2]) << 8) | (unsigned)val[3]; + + if (ipcount < 4) + mask[3] = (0xffffffff << (32 - 8 * ipcount)) & 0xffffffff; + } + + if (*maskval) + { + /* + * Get the netmask value(s)... + */ + + memset(mask, 0, sizeof(unsigned) * 4); + + if (strchr(maskval, '.')) + { + /* + * Get dotted-decimal mask... + */ + + if (family != AF_INET) + return (0); + + if (sscanf(maskval, "%u.%u.%u.%u", mask + 0, mask + 1, mask + 2, + mask + 3) != 4) + return (0); + + mask[3] |= (((((unsigned)mask[0] << 8) | (unsigned)mask[1]) << 8) | + (unsigned)mask[2]) << 8; + mask[0] = mask[1] = mask[2] = 0; + } + else + { + /* + * Get address/bits format... + */ + + i = atoi(maskval); + +#ifdef AF_INET6 + if (family == AF_INET6) + { + if (i > 128) + return (0); + + i = 128 - i; + + if (i <= 96) + mask[0] = 0xffffffff; + else + mask[0] = (0xffffffff << (i - 96)) & 0xffffffff; + + if (i <= 64) + mask[1] = 0xffffffff; + else if (i >= 96) + mask[1] = 0; + else + mask[1] = (0xffffffff << (i - 64)) & 0xffffffff; + + if (i <= 32) + mask[2] = 0xffffffff; + else if (i >= 64) + mask[2] = 0; + else + mask[2] = (0xffffffff << (i - 32)) & 0xffffffff; + + if (i == 0) + mask[3] = 0xffffffff; + else if (i >= 32) + mask[3] = 0; + else + mask[3] = (0xffffffff << i) & 0xffffffff; + } + else +#endif /* AF_INET6 */ + { + if (i > 32) + return (0); + + mask[0] = 0xffffffff; + mask[1] = 0xffffffff; + mask[2] = 0xffffffff; + + if (i < 32) + mask[3] = (0xffffffff << (32 - i)) & 0xffffffff; + else + mask[3] = 0xffffffff; + } + } + } + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "get_addr_and_mask(value=\"%s\", " + "ip=[%08x:%08x:%08x:%08x], mask=[%08x:%08x:%08x:%08x])", + value, ip[0], ip[1], ip[2], ip[3], mask[0], mask[1], mask[2], + mask[3]); + + /* + * Check for a valid netmask; no fallback like in CUPS 1.1.x! + */ + + if ((ip[0] & ~mask[0]) != 0 || + (ip[1] & ~mask[1]) != 0 || + (ip[2] & ~mask[2]) != 0 || + (ip[3] & ~mask[3]) != 0) + return (0); + + return (1); +} + + +/* + * 'mime_error_cb()' - Log a MIME error. + */ + +static void +mime_error_cb(void *ctx, /* I - Context pointer (unused) */ + const char *message) /* I - Message */ +{ + (void)ctx; + + cupsdLogMessage(CUPSD_LOG_ERROR, "%s", message); +} + + +/* + * 'parse_aaa()' - Parse authentication, authorization, and access control lines. + */ + +static int /* O - 1 on success, 0 on failure */ +parse_aaa(cupsd_location_t *loc, /* I - Location */ + char *line, /* I - Line from file */ + char *value, /* I - Start of value data */ + int linenum) /* I - Current line number */ +{ + char *valptr; /* Pointer into value */ + unsigned ip[4], /* IP address components */ + mask[4]; /* IP netmask components */ + + + if (!_cups_strcasecmp(line, "Encryption")) + { + /* + * "Encryption xxx" - set required encryption level... + */ + + if (!_cups_strcasecmp(value, "never")) + loc->encryption = HTTP_ENCRYPT_NEVER; + else if (!_cups_strcasecmp(value, "always")) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Encryption value \"%s\" on line %d of %s is invalid in this " + "context. Using \"required\" instead.", value, linenum, ConfigurationFile); + + loc->encryption = HTTP_ENCRYPT_REQUIRED; + } + else if (!_cups_strcasecmp(value, "required")) + loc->encryption = HTTP_ENCRYPT_REQUIRED; + else if (!_cups_strcasecmp(value, "ifrequested")) + loc->encryption = HTTP_ENCRYPT_IF_REQUESTED; + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown Encryption value %s on line %d of %s.", value, linenum, ConfigurationFile); + return (0); + } + } + else if (!_cups_strcasecmp(line, "Order")) + { + /* + * "Order Deny,Allow" or "Order Allow,Deny"... + */ + + if (!_cups_strncasecmp(value, "deny", 4)) + loc->order_type = CUPSD_AUTH_ALLOW; + else if (!_cups_strncasecmp(value, "allow", 5)) + loc->order_type = CUPSD_AUTH_DENY; + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unknown Order value %s on line %d of %s.", + value, linenum, ConfigurationFile); + return (0); + } + } + else if (!_cups_strcasecmp(line, "Allow") || !_cups_strcasecmp(line, "Deny")) + { + /* + * Allow [From] host/ip... + * Deny [From] host/ip... + */ + + while (*value) + { + if (!_cups_strncasecmp(value, "from", 4)) + { + /* + * Strip leading "from"... + */ + + value += 4; + + while (_cups_isspace(*value)) + value ++; + + if (!*value) + break; + } + + /* + * Find the end of the value... + */ + + for (valptr = value; *valptr && !_cups_isspace(*valptr); valptr ++); + + while (_cups_isspace(*valptr)) + *valptr++ = '\0'; + + /* + * Figure out what form the allow/deny address takes: + * + * All + * None + * *.domain.com + * .domain.com + * host.domain.com + * nnn.* + * nnn.nnn.* + * nnn.nnn.nnn.* + * nnn.nnn.nnn.nnn + * nnn.nnn.nnn.nnn/mm + * nnn.nnn.nnn.nnn/mmm.mmm.mmm.mmm + */ + + if (!_cups_strcasecmp(value, "all")) + { + /* + * All hosts... + */ + + if (!_cups_strcasecmp(line, "Allow")) + cupsdAddIPMask(&(loc->allow), zeros, zeros); + else + cupsdAddIPMask(&(loc->deny), zeros, zeros); + } + else if (!_cups_strcasecmp(value, "none")) + { + /* + * No hosts... + */ + + if (!_cups_strcasecmp(line, "Allow")) + cupsdAddIPMask(&(loc->allow), ones, zeros); + else + cupsdAddIPMask(&(loc->deny), ones, zeros); + } +#ifdef AF_INET6 + else if (value[0] == '*' || value[0] == '.' || + (!isdigit(value[0] & 255) && value[0] != '[')) +#else + else if (value[0] == '*' || value[0] == '.' || !isdigit(value[0] & 255)) +#endif /* AF_INET6 */ + { + /* + * Host or domain name... + */ + + if (value[0] == '*') + value ++; + + if (!_cups_strcasecmp(line, "Allow")) + cupsdAddNameMask(&(loc->allow), value); + else + cupsdAddNameMask(&(loc->deny), value); + } + else + { + /* + * One of many IP address forms... + */ + + if (!get_addr_and_mask(value, ip, mask)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Bad netmask value %s on line %d of %s.", + value, linenum, ConfigurationFile); + return (0); + } + + if (!_cups_strcasecmp(line, "Allow")) + cupsdAddIPMask(&(loc->allow), ip, mask); + else + cupsdAddIPMask(&(loc->deny), ip, mask); + } + + /* + * Advance to next value... + */ + + value = valptr; + } + } + else if (!_cups_strcasecmp(line, "AuthType")) + { + /* + * AuthType {none,basic,digest,basicdigest,negotiate,default} + */ + + if (!_cups_strcasecmp(value, "none")) + { + loc->type = CUPSD_AUTH_NONE; + loc->level = CUPSD_AUTH_ANON; + } + else if (!_cups_strcasecmp(value, "basic")) + { + loc->type = CUPSD_AUTH_BASIC; + + if (loc->level == CUPSD_AUTH_ANON) + loc->level = CUPSD_AUTH_USER; + } + else if (!_cups_strcasecmp(value, "default")) + { + loc->type = CUPSD_AUTH_DEFAULT; + + if (loc->level == CUPSD_AUTH_ANON) + loc->level = CUPSD_AUTH_USER; + } + else if (!_cups_strcasecmp(value, "negotiate")) + { + loc->type = CUPSD_AUTH_NEGOTIATE; + + if (loc->level == CUPSD_AUTH_ANON) + loc->level = CUPSD_AUTH_USER; + } + else + { + cupsdLogMessage(CUPSD_LOG_WARN, + "Unknown authorization type %s on line %d of %s.", + value, linenum, ConfigurationFile); + return (0); + } + } + else if (!_cups_strcasecmp(line, "AuthClass")) + { + /* + * AuthClass anonymous, user, system, group + */ + + if (!_cups_strcasecmp(value, "anonymous")) + { + loc->type = CUPSD_AUTH_NONE; + loc->level = CUPSD_AUTH_ANON; + + cupsdLogMessage(CUPSD_LOG_WARN, + "\"AuthClass %s\" is deprecated; consider removing " + "it from line %d.", + value, linenum); + } + else if (!_cups_strcasecmp(value, "user")) + { + loc->level = CUPSD_AUTH_USER; + + cupsdLogMessage(CUPSD_LOG_WARN, + "\"AuthClass %s\" is deprecated; consider using " + "\"Require valid-user\" on line %d of %s.", + value, linenum, ConfigurationFile); + } + else if (!_cups_strcasecmp(value, "group")) + { + loc->level = CUPSD_AUTH_GROUP; + + cupsdLogMessage(CUPSD_LOG_WARN, + "\"AuthClass %s\" is deprecated; consider using " + "\"Require user @groupname\" on line %d of %s.", + value, linenum, ConfigurationFile); + } + else if (!_cups_strcasecmp(value, "system")) + { + loc->level = CUPSD_AUTH_GROUP; + + cupsdAddName(loc, "@SYSTEM"); + + cupsdLogMessage(CUPSD_LOG_WARN, + "\"AuthClass %s\" is deprecated; consider using " + "\"Require user @SYSTEM\" on line %d of %s.", + value, linenum, ConfigurationFile); + } + else + { + cupsdLogMessage(CUPSD_LOG_WARN, + "Unknown authorization class %s on line %d of %s.", + value, linenum, ConfigurationFile); + return (0); + } + } + else if (!_cups_strcasecmp(line, "AuthGroupName")) + { + cupsdAddName(loc, value); + + cupsdLogMessage(CUPSD_LOG_WARN, + "\"AuthGroupName %s\" directive is deprecated; consider " + "using \"Require user @%s\" on line %d of %s.", + value, value, linenum, ConfigurationFile); + } + else if (!_cups_strcasecmp(line, "Require")) + { + /* + * Apache synonym for AuthClass and AuthGroupName... + * + * Get initial word: + * + * Require valid-user + * Require group names + * Require user names + */ + + for (valptr = value; !_cups_isspace(*valptr) && *valptr; valptr ++); + + if (*valptr) + *valptr++ = '\0'; + + if (!_cups_strcasecmp(value, "valid-user") || + !_cups_strcasecmp(value, "user")) + loc->level = CUPSD_AUTH_USER; + else if (!_cups_strcasecmp(value, "group")) + loc->level = CUPSD_AUTH_GROUP; + else + { + cupsdLogMessage(CUPSD_LOG_WARN, "Unknown Require type %s on line %d of %s.", + value, linenum, ConfigurationFile); + return (0); + } + + /* + * Get the list of names from the line... + */ + + for (value = valptr; *value;) + { + while (_cups_isspace(*value)) + value ++; + +#ifdef HAVE_AUTHORIZATION_H + if (!strncmp(value, "@AUTHKEY(", 9)) + { + /* + * Grab "@AUTHKEY(name)" value... + */ + + for (valptr = value + 9; *valptr != ')' && *valptr; valptr ++); + + if (*valptr) + *valptr++ = '\0'; + } + else +#endif /* HAVE_AUTHORIZATION_H */ + if (*value == '\"' || *value == '\'') + { + /* + * Grab quoted name... + */ + + for (valptr = value + 1; *valptr != *value && *valptr; valptr ++); + + value ++; + } + else + { + /* + * Grab literal name. + */ + + for (valptr = value; !_cups_isspace(*valptr) && *valptr; valptr ++); + } + + if (*valptr) + *valptr++ = '\0'; + + cupsdAddName(loc, value); + + for (value = valptr; _cups_isspace(*value); value ++); + } + } + else if (!_cups_strcasecmp(line, "Satisfy")) + { + if (!_cups_strcasecmp(value, "all")) + loc->satisfy = CUPSD_AUTH_SATISFY_ALL; + else if (!_cups_strcasecmp(value, "any")) + loc->satisfy = CUPSD_AUTH_SATISFY_ANY; + else + { + cupsdLogMessage(CUPSD_LOG_WARN, "Unknown Satisfy value %s on line %d of %s.", + value, linenum, ConfigurationFile); + return (0); + } + } + else + return (0); + + return (1); +} + + +/* + * 'parse_fatal_errors()' - Parse FatalErrors values in a string. + */ + +static int /* O - FatalErrors bits */ +parse_fatal_errors(const char *s) /* I - FatalErrors string */ +{ + int fatal; /* FatalErrors bits */ + char value[1024], /* Value string */ + *valstart, /* Pointer into value */ + *valend; /* End of value */ + + + /* + * Empty FatalErrors line yields NULL pointer... + */ + + if (!s) + return (CUPSD_FATAL_NONE); + + /* + * Loop through the value string,... + */ + + strlcpy(value, s, sizeof(value)); + + fatal = CUPSD_FATAL_NONE; + + for (valstart = value; *valstart;) + { + /* + * Get the current space/comma-delimited kind name... + */ + + for (valend = valstart; *valend; valend ++) + if (_cups_isspace(*valend) || *valend == ',') + break; + + if (*valend) + *valend++ = '\0'; + + /* + * Add the error to the bitmask... + */ + + if (!_cups_strcasecmp(valstart, "all")) + fatal = CUPSD_FATAL_ALL; + else if (!_cups_strcasecmp(valstart, "browse")) + fatal |= CUPSD_FATAL_BROWSE; + else if (!_cups_strcasecmp(valstart, "-browse")) + fatal &= ~CUPSD_FATAL_BROWSE; + else if (!_cups_strcasecmp(valstart, "config")) + fatal |= CUPSD_FATAL_CONFIG; + else if (!_cups_strcasecmp(valstart, "-config")) + fatal &= ~CUPSD_FATAL_CONFIG; + else if (!_cups_strcasecmp(valstart, "listen")) + fatal |= CUPSD_FATAL_LISTEN; + else if (!_cups_strcasecmp(valstart, "-listen")) + fatal &= ~CUPSD_FATAL_LISTEN; + else if (!_cups_strcasecmp(valstart, "log")) + fatal |= CUPSD_FATAL_LOG; + else if (!_cups_strcasecmp(valstart, "-log")) + fatal &= ~CUPSD_FATAL_LOG; + else if (!_cups_strcasecmp(valstart, "permissions")) + fatal |= CUPSD_FATAL_PERMISSIONS; + else if (!_cups_strcasecmp(valstart, "-permissions")) + fatal &= ~CUPSD_FATAL_PERMISSIONS; + else if (_cups_strcasecmp(valstart, "none")) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown FatalErrors kind \"%s\" ignored.", valstart); + + for (valstart = valend; *valstart; valstart ++) + if (!_cups_isspace(*valstart) || *valstart != ',') + break; + } + + return (fatal); +} + + +/* + * 'parse_groups()' - Parse system group names in a string. + */ + +static int /* O - 1 on success, 0 on failure */ +parse_groups(const char *s, /* I - Space-delimited groups */ + int linenum) /* I - Line number in cups-files.conf */ +{ + int status; /* Return status */ + char value[1024], /* Value string */ + *valstart, /* Pointer into value */ + *valend, /* End of value */ + quote; /* Quote character */ + struct group *group; /* Group */ + + + /* + * Make a copy of the string and parse out the groups... + */ + + strlcpy(value, s, sizeof(value)); + + status = 1; + valstart = value; + + while (*valstart && NumSystemGroups < MAX_SYSTEM_GROUPS) + { + if (*valstart == '\'' || *valstart == '\"') + { + /* + * Scan quoted name... + */ + + quote = *valstart++; + + for (valend = valstart; *valend; valend ++) + if (*valend == quote) + break; + } + else + { + /* + * Scan space or comma-delimited name... + */ + + for (valend = valstart; *valend; valend ++) + if (_cups_isspace(*valend) || *valend == ',') + break; + } + + if (*valend) + *valend++ = '\0'; + + group = getgrnam(valstart); + if (group) + { + cupsdSetString(SystemGroups + NumSystemGroups, valstart); + SystemGroupIDs[NumSystemGroups] = group->gr_gid; + + NumSystemGroups ++; + } + else + { + if (linenum) + cupsdLogMessage(CUPSD_LOG_ERROR, "Unknown SystemGroup \"%s\" on line %d of %s.", valstart, linenum, CupsFilesFile); + else + cupsdLogMessage(CUPSD_LOG_ERROR, "Unknown default SystemGroup \"%s\".", valstart); + + status = 0; + } + + endgrent(); + + valstart = valend; + + while (*valstart == ',' || _cups_isspace(*valstart)) + valstart ++; + } + + return (status); +} + + +/* + * 'parse_protocols()' - Parse browse protocols in a string. + */ + +static int /* O - Browse protocol bits */ +parse_protocols(const char *s) /* I - Space-delimited protocols */ +{ + int protocols; /* Browse protocol bits */ + char value[1024], /* Value string */ + *valstart, /* Pointer into value */ + *valend; /* End of value */ + + + /* + * Empty protocol line yields NULL pointer... + */ + + if (!s) + return (0); + + /* + * Loop through the value string,... + */ + + strlcpy(value, s, sizeof(value)); + + protocols = 0; + + for (valstart = value; *valstart;) + { + /* + * Get the current space/comma-delimited protocol name... + */ + + for (valend = valstart; *valend; valend ++) + if (_cups_isspace(*valend) || *valend == ',') + break; + + if (*valend) + *valend++ = '\0'; + + /* + * Add the protocol to the bitmask... + */ + + if (!_cups_strcasecmp(valstart, "dnssd") || + !_cups_strcasecmp(valstart, "dns-sd") || + !_cups_strcasecmp(valstart, "bonjour")) + protocols |= BROWSE_DNSSD; + else if (!_cups_strcasecmp(valstart, "all")) + protocols |= BROWSE_ALL; + else if (_cups_strcasecmp(valstart, "none")) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown browse protocol \"%s\" ignored.", valstart); + + for (valstart = valend; *valstart; valstart ++) + if (!_cups_isspace(*valstart) || *valstart != ',') + break; + } + + return (protocols); +} + + +/* + * 'parse_variable()' - Parse a variable line. + */ + +static int /* O - 1 on success, 0 on failure */ +parse_variable( + const char *filename, /* I - Name of configuration file */ + int linenum, /* I - Line in configuration file */ + const char *line, /* I - Line from configuration file */ + const char *value, /* I - Value from configuration file */ + size_t num_vars, /* I - Number of variables */ + const cupsd_var_t *vars) /* I - Variables */ +{ + size_t i; /* Looping var */ + const cupsd_var_t *var; /* Variables */ + char temp[1024]; /* Temporary string */ + + + for (i = num_vars, var = vars; i > 0; i --, var ++) + if (!_cups_strcasecmp(line, var->name)) + break; + + if (i == 0) + { + /* + * Unknown directive! Output an error message and continue... + */ + + if (!value) + cupsdLogMessage(CUPSD_LOG_ERROR, "Missing value for %s on line %d of %s.", + line, linenum, filename); + else + cupsdLogMessage(CUPSD_LOG_ERROR, "Unknown directive %s on line %d of %s.", + line, linenum, filename); + + return (0); + } + + switch (var->type) + { + case CUPSD_VARTYPE_INTEGER : + if (!value) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Missing integer value for %s on line %d of %s.", + line, linenum, filename); + return (0); + } + else if (!isdigit(*value & 255)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad integer value for %s on line %d of %s.", + line, linenum, filename); + return (0); + } + else + { + int n; /* Number */ + char *units; /* Units */ + + n = strtol(value, &units, 0); + + if (units && *units) + { + if (tolower(units[0] & 255) == 'g') + n *= 1024 * 1024 * 1024; + else if (tolower(units[0] & 255) == 'm') + n *= 1024 * 1024; + else if (tolower(units[0] & 255) == 'k') + n *= 1024; + else if (tolower(units[0] & 255) == 't') + n *= 262144; + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown integer value for %s on line %d of %s.", + line, linenum, filename); + return (0); + } + } + + if (n < 0) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad negative integer value for %s on line %d of " + "%s.", line, linenum, filename); + return (0); + } + else + { + *((int *)var->ptr) = n; + } + } + break; + + case CUPSD_VARTYPE_PERM : + if (!value) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Missing permissions value for %s on line %d of %s.", + line, linenum, filename); + return (0); + } + else if (!isdigit(*value & 255)) + { + /* TODO: Add chmod UGO syntax support */ + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad permissions value for %s on line %d of %s.", + line, linenum, filename); + return (0); + } + else + { + int n = strtol(value, NULL, 8); + /* Permissions value */ + + if (n < 0) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad negative permissions value for %s on line %d of " + "%s.", line, linenum, filename); + return (0); + } + else + { + *((mode_t *)var->ptr) = (mode_t)n; + } + } + break; + + case CUPSD_VARTYPE_TIME : + if (!value) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Missing time interval value for %s on line %d of " + "%s.", line, linenum, filename); + return (0); + } + else if (!_cups_strncasecmp(line, "PreserveJob", 11) && + (!_cups_strcasecmp(value, "true") || + !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "enabled") || + !_cups_strcasecmp(value, "yes"))) + { + *((int *)var->ptr) = INT_MAX; + } + else if (!_cups_strcasecmp(value, "false") || + !_cups_strcasecmp(value, "off") || + !_cups_strcasecmp(value, "disabled") || + !_cups_strcasecmp(value, "no")) + { + *((int *)var->ptr) = 0; + } + else if (!isdigit(*value & 255)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown time interval value for %s on line %d of " + "%s.", line, linenum, filename); + return (0); + } + else + { + double n; /* Number */ + char *units; /* Units */ + + n = strtod(value, &units); + + if (units && *units) + { + if (tolower(units[0] & 255) == 'w') + n *= 7 * 24 * 60 * 60; + else if (tolower(units[0] & 255) == 'd') + n *= 24 * 60 * 60; + else if (tolower(units[0] & 255) == 'h') + n *= 60 * 60; + else if (tolower(units[0] & 255) == 'm') + n *= 60; + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown time interval value for %s on line " + "%d of %s.", line, linenum, filename); + return (0); + } + } + + if (n < 0.0 || n > INT_MAX) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad time value for %s on line %d of %s.", + line, linenum, filename); + return (0); + } + else + { + *((int *)var->ptr) = (int)n; + } + } + break; + + case CUPSD_VARTYPE_BOOLEAN : + if (!value) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Missing boolean value for %s on line %d of %s.", + line, linenum, filename); + return (0); + } + else if (!_cups_strcasecmp(value, "true") || + !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "enabled") || + !_cups_strcasecmp(value, "yes") || + atoi(value) != 0) + { + *((int *)var->ptr) = TRUE; + } + else if (!_cups_strcasecmp(value, "false") || + !_cups_strcasecmp(value, "off") || + !_cups_strcasecmp(value, "disabled") || + !_cups_strcasecmp(value, "no") || + !_cups_strcasecmp(value, "0")) + { + *((int *)var->ptr) = FALSE; + } + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown boolean value %s on line %d of %s.", + value, linenum, filename); + return (0); + } + break; + + case CUPSD_VARTYPE_PATHNAME : + if (!value) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Missing pathname value for %s on line %d of %s.", + line, linenum, filename); + return (0); + } + + if (value[0] == '/') + strlcpy(temp, value, sizeof(temp)); + else + snprintf(temp, sizeof(temp), "%s/%s", ServerRoot, value); + + if (access(temp, 0) && _cups_strcasecmp(value, "internal") && _cups_strcasecmp(line, "ServerKeychain")) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "File or directory for \"%s %s\" on line %d of %s " + "does not exist.", line, value, linenum, filename); + return (0); + } + + cupsdSetString((char **)var->ptr, temp); + break; + + case CUPSD_VARTYPE_STRING : + cupsdSetString((char **)var->ptr, value); + break; + } + + return (1); +} + + +/* + * 'read_cupsd_conf()' - Read the cupsd.conf configuration file. + */ + +static int /* O - 1 on success, 0 on failure */ +read_cupsd_conf(cups_file_t *fp) /* I - File to read from */ +{ + int linenum; /* Current line number */ + char line[HTTP_MAX_BUFFER], + /* Line from file */ + temp[HTTP_MAX_BUFFER], + /* Temporary buffer for value */ + *value; /* Pointer to value */ + int valuelen; /* Length of value */ + http_addrlist_t *addrlist, /* Address list */ + *addr; /* Current address */ + + + /* + * Loop through each line in the file... + */ + + linenum = 0; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + /* + * Decode the directive... + */ + + if (!_cups_strcasecmp(line, " + */ + + linenum = read_location(fp, value, linenum); + if (linenum == 0) + return (0); + } + else if (!_cups_strcasecmp(line, " + */ + + linenum = read_policy(fp, value, linenum); + if (linenum == 0) + return (0); + } + else if (!_cups_strcasecmp(line, "FaxRetryInterval") && value) + { + JobRetryInterval = atoi(value); + cupsdLogMessage(CUPSD_LOG_WARN, + "FaxRetryInterval is deprecated; use " + "JobRetryInterval on line %d of %s.", linenum, ConfigurationFile); + } + else if (!_cups_strcasecmp(line, "FaxRetryLimit") && value) + { + JobRetryLimit = atoi(value); + cupsdLogMessage(CUPSD_LOG_WARN, + "FaxRetryLimit is deprecated; use " + "JobRetryLimit on line %d of %s.", linenum, ConfigurationFile); + } +#ifdef HAVE_SSL + else if (!_cups_strcasecmp(line, "SSLOptions")) + { + /* + * SSLOptions [AllowRC4] [AllowSSL3] [AllowDH] [DenyCBC] [DenyTLS1.0] [None] + */ + + int options = _HTTP_TLS_NONE,/* SSL/TLS options */ + min_version = _HTTP_TLS_1_0, + max_version = _HTTP_TLS_MAX; + + if (value) + { + char *start, /* Start of option */ + *end; /* End of option */ + + for (start = value; *start; start = end) + { + /* + * Find end of keyword... + */ + + end = start; + while (*end && !_cups_isspace(*end)) + end ++; + + if (*end) + *end++ = '\0'; + + /* + * Compare... + */ + + if (!_cups_strcasecmp(start, "AllowRC4")) + options |= _HTTP_TLS_ALLOW_RC4; + else if (!_cups_strcasecmp(start, "AllowSSL3")) + min_version = _HTTP_TLS_SSL3; + else if (!_cups_strcasecmp(start, "AllowDH")) + options |= _HTTP_TLS_ALLOW_DH; + else if (!_cups_strcasecmp(start, "DenyCBC")) + options |= _HTTP_TLS_DENY_CBC; + else if (!_cups_strcasecmp(start, "DenyTLS1.0")) + min_version = _HTTP_TLS_1_1; + else if (!_cups_strcasecmp(start, "MaxTLS1.0")) + max_version = _HTTP_TLS_1_0; + else if (!_cups_strcasecmp(start, "MaxTLS1.1")) + max_version = _HTTP_TLS_1_1; + else if (!_cups_strcasecmp(start, "MaxTLS1.2")) + max_version = _HTTP_TLS_1_2; + else if (!_cups_strcasecmp(start, "MaxTLS1.3")) + max_version = _HTTP_TLS_1_3; + else if (!_cups_strcasecmp(start, "MinTLS1.0")) + min_version = _HTTP_TLS_1_0; + else if (!_cups_strcasecmp(start, "MinTLS1.1")) + min_version = _HTTP_TLS_1_1; + else if (!_cups_strcasecmp(start, "MinTLS1.2")) + min_version = _HTTP_TLS_1_2; + else if (!_cups_strcasecmp(start, "MinTLS1.3")) + min_version = _HTTP_TLS_1_3; + else if (!_cups_strcasecmp(start, "None")) + options = _HTTP_TLS_NONE; + else if (_cups_strcasecmp(start, "NoEmptyFragments")) + cupsdLogMessage(CUPSD_LOG_WARN, "Unknown SSL option %s at line %d.", start, linenum); + } + } + + _httpTLSSetOptions(options, min_version, max_version); + } +#endif /* HAVE_SSL */ + else if ((!_cups_strcasecmp(line, "Port") || !_cups_strcasecmp(line, "Listen") +#ifdef HAVE_SSL + || !_cups_strcasecmp(line, "SSLPort") || !_cups_strcasecmp(line, "SSLListen") +#endif /* HAVE_SSL */ + ) && value) + { + /* + * Add listening address(es) to the list... + */ + + cupsd_listener_t *lis; /* New listeners array */ + + + /* + * Get the address list... + */ + + addrlist = get_address(value, IPP_PORT); + + if (!addrlist) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Bad %s address %s at line %d.", line, + value, linenum); + continue; + } + + /* + * Add each address... + */ + + for (addr = addrlist; addr; addr = addr->next) + { + /* + * See if this address is already present... + */ + + for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); + lis; + lis = (cupsd_listener_t *)cupsArrayNext(Listeners)) + if (httpAddrEqual(&(addr->addr), &(lis->address)) && + httpAddrPort(&(addr->addr)) == httpAddrPort(&(lis->address))) + break; + + if (lis) + { +#ifdef HAVE_ONDEMAND + if (!lis->on_demand) +#endif /* HAVE_ONDEMAND */ + { + httpAddrString(&lis->address, temp, sizeof(temp)); + cupsdLogMessage(CUPSD_LOG_WARN, + "Duplicate listen address \"%s\" ignored.", temp); + } + + continue; + } + + /* + * Allocate another listener... + */ + + if (!Listeners) + Listeners = cupsArrayNew(NULL, NULL); + + if (!Listeners) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate %s at line %d - %s.", + line, linenum, strerror(errno)); + break; + } + + if ((lis = calloc(1, sizeof(cupsd_listener_t))) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate %s at line %d - %s.", + line, linenum, strerror(errno)); + break; + } + + cupsArrayAdd(Listeners, lis); + + /* + * Copy the current address and log it... + */ + + memcpy(&(lis->address), &(addr->addr), sizeof(lis->address)); + lis->fd = -1; + +#ifdef HAVE_SSL + if (!_cups_strcasecmp(line, "SSLPort") || !_cups_strcasecmp(line, "SSLListen")) + lis->encryption = HTTP_ENCRYPT_ALWAYS; +#endif /* HAVE_SSL */ + + httpAddrString(&lis->address, temp, sizeof(temp)); + +#ifdef AF_LOCAL + if (lis->address.addr.sa_family == AF_LOCAL) + cupsdLogMessage(CUPSD_LOG_INFO, "Listening to %s (Domain)", temp); + else +#endif /* AF_LOCAL */ + cupsdLogMessage(CUPSD_LOG_INFO, "Listening to %s:%d (IPv%d)", temp, + httpAddrPort(&(lis->address)), + httpAddrFamily(&(lis->address)) == AF_INET ? 4 : 6); + + if (!httpAddrLocalhost(&(lis->address))) + RemotePort = httpAddrPort(&(lis->address)); + } + + /* + * Free the list... + */ + + httpAddrFreeList(addrlist); + } + else if (!_cups_strcasecmp(line, "BrowseProtocols") || + !_cups_strcasecmp(line, "BrowseLocalProtocols")) + { + /* + * "BrowseProtocols name [... name]" + * "BrowseLocalProtocols name [... name]" + */ + + int protocols = parse_protocols(value); + + if (protocols < 0) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown browse protocol \"%s\" on line %d of %s.", + value, linenum, ConfigurationFile); + break; + } + + BrowseLocalProtocols = protocols; + } + else if (!_cups_strcasecmp(line, "DefaultAuthType") && value) + { + /* + * DefaultAuthType {basic,digest,basicdigest,negotiate} + */ + + if (!_cups_strcasecmp(value, "none")) + default_auth_type = CUPSD_AUTH_NONE; + else if (!_cups_strcasecmp(value, "basic")) + default_auth_type = CUPSD_AUTH_BASIC; + else if (!_cups_strcasecmp(value, "negotiate")) + default_auth_type = CUPSD_AUTH_NEGOTIATE; + else if (!_cups_strcasecmp(value, "auto")) + default_auth_type = CUPSD_AUTH_AUTO; + else + { + cupsdLogMessage(CUPSD_LOG_WARN, + "Unknown default authorization type %s on line %d of %s.", + value, linenum, ConfigurationFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + } +#ifdef HAVE_SSL + else if (!_cups_strcasecmp(line, "DefaultEncryption")) + { + /* + * DefaultEncryption {Never,IfRequested,Required} + */ + + if (!value || !_cups_strcasecmp(value, "never")) + DefaultEncryption = HTTP_ENCRYPT_NEVER; + else if (!_cups_strcasecmp(value, "required")) + DefaultEncryption = HTTP_ENCRYPT_REQUIRED; + else if (!_cups_strcasecmp(value, "ifrequested")) + DefaultEncryption = HTTP_ENCRYPT_IF_REQUESTED; + else + { + cupsdLogMessage(CUPSD_LOG_WARN, + "Unknown default encryption %s on line %d of %s.", + value, linenum, ConfigurationFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + } +#endif /* HAVE_SSL */ + else if (!_cups_strcasecmp(line, "HostNameLookups") && value) + { + /* + * Do hostname lookups? + */ + + if (!_cups_strcasecmp(value, "off") || !_cups_strcasecmp(value, "no") || + !_cups_strcasecmp(value, "false")) + HostNameLookups = 0; + else if (!_cups_strcasecmp(value, "on") || !_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "true")) + HostNameLookups = 1; + else if (!_cups_strcasecmp(value, "double")) + HostNameLookups = 2; + else + cupsdLogMessage(CUPSD_LOG_WARN, "Unknown HostNameLookups %s on line %d of %s.", + value, linenum, ConfigurationFile); + } + else if (!_cups_strcasecmp(line, "AccessLogLevel") && value) + { + /* + * Amount of logging to do to access log... + */ + + if (!_cups_strcasecmp(value, "all")) + AccessLogLevel = CUPSD_ACCESSLOG_ALL; + else if (!_cups_strcasecmp(value, "actions")) + AccessLogLevel = CUPSD_ACCESSLOG_ACTIONS; + else if (!_cups_strcasecmp(value, "config")) + AccessLogLevel = CUPSD_ACCESSLOG_CONFIG; + else if (!_cups_strcasecmp(value, "none")) + AccessLogLevel = CUPSD_ACCESSLOG_NONE; + else + cupsdLogMessage(CUPSD_LOG_WARN, "Unknown AccessLogLevel %s on line %d of %s.", + value, linenum, ConfigurationFile); + } + else if (!_cups_strcasecmp(line, "LogLevel") && value) + { + /* + * Amount of logging to do to error log... + */ + + if (!_cups_strcasecmp(value, "debug2")) + LogLevel = CUPSD_LOG_DEBUG2; + else if (!_cups_strcasecmp(value, "debug")) + LogLevel = CUPSD_LOG_DEBUG; + else if (!_cups_strcasecmp(value, "info")) + LogLevel = CUPSD_LOG_INFO; + else if (!_cups_strcasecmp(value, "notice")) + LogLevel = CUPSD_LOG_NOTICE; + else if (!_cups_strcasecmp(value, "warn")) + LogLevel = CUPSD_LOG_WARN; + else if (!_cups_strcasecmp(value, "error")) + LogLevel = CUPSD_LOG_ERROR; + else if (!_cups_strcasecmp(value, "crit")) + LogLevel = CUPSD_LOG_CRIT; + else if (!_cups_strcasecmp(value, "alert")) + LogLevel = CUPSD_LOG_ALERT; + else if (!_cups_strcasecmp(value, "emerg")) + LogLevel = CUPSD_LOG_EMERG; + else if (!_cups_strcasecmp(value, "none")) + LogLevel = CUPSD_LOG_NONE; + else + cupsdLogMessage(CUPSD_LOG_WARN, "Unknown LogLevel %s on line %d of %s.", + value, linenum, ConfigurationFile); + } + else if (!_cups_strcasecmp(line, "LogTimeFormat") && value) + { + /* + * Amount of logging to do to error log... + */ + + if (!_cups_strcasecmp(value, "standard")) + LogTimeFormat = CUPSD_TIME_STANDARD; + else if (!_cups_strcasecmp(value, "usecs")) + LogTimeFormat = CUPSD_TIME_USECS; + else + cupsdLogMessage(CUPSD_LOG_WARN, "Unknown LogTimeFormat %s on line %d of %s.", + value, linenum, ConfigurationFile); + } + else if (!_cups_strcasecmp(line, "ServerTokens") && value) + { + /* + * Set the string used for the Server header... + */ + + struct utsname plat; /* Platform info */ + + + uname(&plat); + + if (!_cups_strcasecmp(value, "ProductOnly")) + cupsdSetString(&ServerHeader, "CUPS IPP"); + else if (!_cups_strcasecmp(value, "Major")) + cupsdSetStringf(&ServerHeader, "CUPS/%d IPP/2", CUPS_VERSION_MAJOR); + else if (!_cups_strcasecmp(value, "Minor")) + cupsdSetStringf(&ServerHeader, "CUPS/%d.%d IPP/2.1", CUPS_VERSION_MAJOR, + CUPS_VERSION_MINOR); + else if (!_cups_strcasecmp(value, "Minimal")) + cupsdSetString(&ServerHeader, CUPS_MINIMAL " IPP/2.1"); + else if (!_cups_strcasecmp(value, "OS")) + cupsdSetStringf(&ServerHeader, CUPS_MINIMAL " (%s %s) IPP/2.1", + plat.sysname, plat.release); + else if (!_cups_strcasecmp(value, "Full")) + cupsdSetStringf(&ServerHeader, CUPS_MINIMAL " (%s %s; %s) IPP/2.1", + plat.sysname, plat.release, plat.machine); + else if (!_cups_strcasecmp(value, "None")) + cupsdSetString(&ServerHeader, ""); + else + cupsdLogMessage(CUPSD_LOG_WARN, "Unknown ServerTokens %s on line %d of %s.", + value, linenum, ConfigurationFile); + } + else if (!_cups_strcasecmp(line, "ServerAlias") && value) + { + /* + * ServerAlias name [... name] + */ + + if (!ServerAlias) + ServerAlias = cupsArrayNew(NULL, NULL); + + for (; *value;) + { + for (valuelen = 0; value[valuelen]; valuelen ++) + if (_cups_isspace(value[valuelen]) || value[valuelen] == ',') + break; + + if (value[valuelen]) + { + value[valuelen] = '\0'; + valuelen ++; + } + + cupsdAddAlias(ServerAlias, value); + + for (value += valuelen; *value; value ++) + if (!_cups_isspace(*value) || *value != ',') + break; + } + } + else if (!_cups_strcasecmp(line, "AccessLog") || + !_cups_strcasecmp(line, "CacheDir") || + !_cups_strcasecmp(line, "ConfigFilePerm") || + !_cups_strcasecmp(line, "DataDir") || + !_cups_strcasecmp(line, "DocumentRoot") || + !_cups_strcasecmp(line, "ErrorLog") || + !_cups_strcasecmp(line, "FatalErrors") || + !_cups_strcasecmp(line, "FileDevice") || + !_cups_strcasecmp(line, "FontPath") || + !_cups_strcasecmp(line, "Group") || + !_cups_strcasecmp(line, "LogFilePerm") || + !_cups_strcasecmp(line, "LPDConfigFile") || + !_cups_strcasecmp(line, "PageLog") || + !_cups_strcasecmp(line, "PassEnv") || + !_cups_strcasecmp(line, "Printcap") || + !_cups_strcasecmp(line, "PrintcapFormat") || + !_cups_strcasecmp(line, "RemoteRoot") || + !_cups_strcasecmp(line, "RequestRoot") || + !_cups_strcasecmp(line, "ServerBin") || + !_cups_strcasecmp(line, "ServerCertificate") || + !_cups_strcasecmp(line, "ServerKey") || + !_cups_strcasecmp(line, "ServerKeychain") || + !_cups_strcasecmp(line, "ServerRoot") || + !_cups_strcasecmp(line, "SetEnv") || + !_cups_strcasecmp(line, "SMBConfigFile") || + !_cups_strcasecmp(line, "StateDir") || + !_cups_strcasecmp(line, "SystemGroup") || + !_cups_strcasecmp(line, "SystemGroupAuthKey") || + !_cups_strcasecmp(line, "TempDir") || + !_cups_strcasecmp(line, "User")) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "Please move \"%s%s%s\" on line %d of %s to the %s file; " + "this will become an error in a future release.", + line, value ? " " : "", value ? value : "", linenum, + ConfigurationFile, CupsFilesFile); + } + else + parse_variable(ConfigurationFile, linenum, line, value, + sizeof(cupsd_vars) / sizeof(cupsd_vars[0]), cupsd_vars); + } + + return (1); +} + + +/* + * 'read_cups_files_conf()' - Read the cups-files.conf configuration file. + */ + +static int /* O - 1 on success, 0 on failure */ +read_cups_files_conf(cups_file_t *fp) /* I - File to read from */ +{ + int i, /* Looping var */ + linenum; /* Current line number */ + char line[HTTP_MAX_BUFFER], /* Line from file */ + *value; /* Value from line */ + struct group *group; /* Group */ + static const char * const prohibited_env[] = + { /* Prohibited environment variables */ + "APPLE_LANGUAGE", + "AUTH_DOMAIN", + "AUTH_INFO_REQUIRED", + "AUTH_NEGOTIATE", + "AUTH_PASSWORD", + "AUTH_UID", + "AUTH_USERNAME", + "CHARSET", + "CLASS", + "CLASSIFICATION", + "CONTENT_TYPE", + "CUPS_CACHEDIR", + "CUPS_DATADIR", + "CUPS_DOCROOT", + "CUPS_FILETYPE", + "CUPS_FONTPATH", + "CUPS_MAX_MESSAGE", + "CUPS_REQUESTROOT", + "CUPS_SERVERBIN", + "CUPS_SERVERROOT", + "CUPS_STATEDIR", + "DEVICE_URI", + "FINAL_CONTENT_TYPE", + "HOME", + "LANG", + "PPD", + "PRINTER", + "PRINTER_INFO", + "PRINTER_LOCATION", + "PRINTER_STATE_REASONS", + "RIP_CACHE", + "SERVER_ADMIN", + "SOFTWARE", + "TMPDIR", + "USER" + }; + + + /* + * Loop through each line in the file... + */ + + linenum = 0; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + if (!_cups_strcasecmp(line, "FatalErrors")) + FatalErrors = parse_fatal_errors(value); + else if (!_cups_strcasecmp(line, "Group") && value) + { + /* + * Group ID to run as... + */ + + if (isdigit(value[0])) + Group = (gid_t)atoi(value); + else + { + endgrent(); + group = getgrnam(value); + + if (group != NULL) + Group = group->gr_gid; + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown Group \"%s\" on line %d of %s.", value, + linenum, CupsFilesFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + } + } + else if (!_cups_strcasecmp(line, "PassEnv") && value) + { + /* + * PassEnv variable [... variable] + */ + + int valuelen; /* Length of variable name */ + + for (; *value;) + { + for (valuelen = 0; value[valuelen]; valuelen ++) + if (_cups_isspace(value[valuelen]) || value[valuelen] == ',') + break; + + if (value[valuelen]) + { + value[valuelen] = '\0'; + valuelen ++; + } + + for (i = 0; i < (int)(sizeof(prohibited_env) / sizeof(prohibited_env[0])); i ++) + { + if (!strcmp(value, prohibited_env[i])) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Environment variable \"%s\" cannot be passed through on line %d of %s.", value, linenum, CupsFilesFile); + + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + else + break; + } + } + + if (i >= (int)(sizeof(prohibited_env) / sizeof(prohibited_env[0]))) + cupsdSetEnv(value, NULL); + + for (value += valuelen; *value; value ++) + if (!_cups_isspace(*value) || *value != ',') + break; + } + } + else if (!_cups_strcasecmp(line, "PrintcapFormat") && value) + { + /* + * Format of printcap file? + */ + + if (!_cups_strcasecmp(value, "bsd")) + PrintcapFormat = PRINTCAP_BSD; + else if (!_cups_strcasecmp(value, "plist")) + PrintcapFormat = PRINTCAP_PLIST; + else if (!_cups_strcasecmp(value, "solaris")) + PrintcapFormat = PRINTCAP_SOLARIS; + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown PrintcapFormat \"%s\" on line %d of %s.", + value, linenum, CupsFilesFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + } + else if (!_cups_strcasecmp(line, "Sandboxing") && value) + { + /* + * Level of sandboxing? + */ + + if (!_cups_strcasecmp(value, "off") && getuid()) + Sandboxing = CUPSD_SANDBOXING_OFF; + else if (!_cups_strcasecmp(value, "relaxed")) + Sandboxing = CUPSD_SANDBOXING_RELAXED; + else if (!_cups_strcasecmp(value, "strict")) + Sandboxing = CUPSD_SANDBOXING_STRICT; + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown Sandboxing \"%s\" on line %d of %s.", + value, linenum, CupsFilesFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + } + else if (!_cups_strcasecmp(line, "SetEnv") && value) + { + /* + * SetEnv variable value + */ + + char *valueptr; /* Pointer to environment variable value */ + + for (valueptr = value; *valueptr && !isspace(*valueptr & 255); valueptr ++); + + if (*valueptr) + { + /* + * Found a value... + */ + + while (isspace(*valueptr & 255)) + *valueptr++ = '\0'; + + for (i = 0; i < (int)(sizeof(prohibited_env) / sizeof(prohibited_env[0])); i ++) + { + if (!strcmp(value, prohibited_env[i])) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Environment variable \"%s\" cannot be set on line %d of %s.", value, linenum, CupsFilesFile); + + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + else + break; + } + } + + if (i >= (int)(sizeof(prohibited_env) / sizeof(prohibited_env[0]))) + cupsdSetEnv(value, valueptr); + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Missing value for SetEnv directive on line %d of %s.", + linenum, ConfigurationFile); + } + else if (!_cups_strcasecmp(line, "SystemGroup") && value) + { + /* + * SystemGroup (admin) group(s)... + */ + + if (!parse_groups(value, linenum)) + { + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + } + else if (!_cups_strcasecmp(line, "User") && value) + { + /* + * User ID to run as... + */ + + if (isdigit(value[0] & 255)) + { + int uid = atoi(value); + + if (!uid) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Will not use User 0 as specified on line %d of %s " + "for security reasons. You must use a non-" + "privileged account instead.", + linenum, CupsFilesFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + else + User = (uid_t)atoi(value); + } + else + { + struct passwd *p; /* Password information */ + + endpwent(); + p = getpwnam(value); + + if (p) + { + if (!p->pw_uid) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Will not use User %s (UID=0) as specified on line " + "%d of %s for security reasons. You must use a " + "non-privileged account instead.", + value, linenum, CupsFilesFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + else + User = p->pw_uid; + } + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown User \"%s\" on line %d of %s.", + value, linenum, CupsFilesFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + } + } + else if (!_cups_strcasecmp(line, "ServerCertificate") || + !_cups_strcasecmp(line, "ServerKey")) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "The \"%s\" directive on line %d of %s is no longer " + "supported; this will become an error in a future " + "release.", + line, linenum, CupsFilesFile); + } + else if (!parse_variable(CupsFilesFile, linenum, line, value, + sizeof(cupsfiles_vars) / sizeof(cupsfiles_vars[0]), + cupsfiles_vars) && + (FatalErrors & CUPSD_FATAL_CONFIG)) + return (0); + } + + return (1); +} + + +/* + * 'read_location()' - Read a definition. + */ + +static int /* O - New line number or 0 on error */ +read_location(cups_file_t *fp, /* I - Configuration file */ + char *location, /* I - Location name/path */ + int linenum) /* I - Current line number */ +{ + cupsd_location_t *loc, /* New location */ + *parent; /* Parent location */ + char line[HTTP_MAX_BUFFER], + /* Line buffer */ + *value, /* Value for directive */ + *valptr; /* Pointer into value */ + + + if ((parent = cupsdFindLocation(location)) != NULL) + cupsdLogMessage(CUPSD_LOG_WARN, "Duplicate on line %d of %s.", + location, linenum, ConfigurationFile); + else if ((parent = cupsdNewLocation(location)) == NULL) + return (0); + else + { + cupsdAddLocation(parent); + + parent->limit = CUPSD_AUTH_LIMIT_ALL; + } + + loc = parent; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + /* + * Decode the directive... + */ + + if (!_cups_strcasecmp(line, "")) + return (linenum); + else if (!_cups_strcasecmp(line, "limit = 0; + while (*value) + { + for (valptr = value; !isspace(*valptr & 255) && *valptr; valptr ++); + + if (*valptr) + *valptr++ = '\0'; + + if (!strcmp(value, "ALL")) + loc->limit = CUPSD_AUTH_LIMIT_ALL; + else if (!strcmp(value, "GET")) + loc->limit |= CUPSD_AUTH_LIMIT_GET; + else if (!strcmp(value, "HEAD")) + loc->limit |= CUPSD_AUTH_LIMIT_HEAD; + else if (!strcmp(value, "OPTIONS")) + loc->limit |= CUPSD_AUTH_LIMIT_OPTIONS; + else if (!strcmp(value, "POST")) + loc->limit |= CUPSD_AUTH_LIMIT_POST; + else if (!strcmp(value, "PUT")) + loc->limit |= CUPSD_AUTH_LIMIT_PUT; + else if (!strcmp(value, "TRACE")) + loc->limit |= CUPSD_AUTH_LIMIT_TRACE; + else + cupsdLogMessage(CUPSD_LOG_WARN, "Unknown request type %s on line %d of %s.", + value, linenum, ConfigurationFile); + + for (value = valptr; isspace(*value & 255); value ++); + } + + if (!_cups_strcasecmp(line, "limit = CUPSD_AUTH_LIMIT_ALL ^ loc->limit; + + parent->limit &= ~loc->limit; + } + else if (!_cups_strcasecmp(line, "") || + !_cups_strcasecmp(line, "")) + loc = parent; + else if (!value) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Missing value on line %d of %s.", linenum, ConfigurationFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + else if (!parse_aaa(loc, line, value, linenum)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown Location directive %s on line %d of %s.", + line, linenum, ConfigurationFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + } + + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unexpected end-of-file at line %d while reading location.", + linenum); + + return ((FatalErrors & CUPSD_FATAL_CONFIG) ? 0 : linenum); +} + + +/* + * 'read_policy()' - Read a definition. + */ + +static int /* O - New line number or 0 on error */ +read_policy(cups_file_t *fp, /* I - Configuration file */ + char *policy, /* I - Location name/path */ + int linenum) /* I - Current line number */ +{ + int i; /* Looping var */ + cupsd_policy_t *pol; /* Policy */ + cupsd_location_t *op; /* Policy operation */ + int num_ops; /* Number of IPP operations */ + ipp_op_t ops[100]; /* Operations */ + char line[HTTP_MAX_BUFFER], + /* Line buffer */ + *value, /* Value for directive */ + *valptr; /* Pointer into value */ + + + /* + * Create the policy... + */ + + if ((pol = cupsdFindPolicy(policy)) != NULL) + cupsdLogMessage(CUPSD_LOG_WARN, "Duplicate on line %d of %s.", + policy, linenum, ConfigurationFile); + else if ((pol = cupsdAddPolicy(policy)) == NULL) + return (0); + + /* + * Read from the file... + */ + + op = NULL; + num_ops = 0; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + /* + * Decode the directive... + */ + + if (!_cups_strcasecmp(line, "")) + { + if (op) + cupsdLogMessage(CUPSD_LOG_WARN, + "Missing before on line %d of %s.", + linenum, ConfigurationFile); + + set_policy_defaults(pol); + + return (linenum); + } + else if (!_cups_strcasecmp(line, "") && op) + { + /* + * Finish the current operation limit... + */ + + if (num_ops > 1) + { + /* + * Copy the policy to the other operations... + */ + + for (i = 1; i < num_ops; i ++) + cupsdAddPolicyOp(pol, op, ops[i]); + } + + op = NULL; + } + else if (!value) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Missing value on line %d of %s.", linenum, ConfigurationFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + else if (!_cups_strcasecmp(line, "JobPrivateAccess") || + !_cups_strcasecmp(line, "JobPrivateValues") || + !_cups_strcasecmp(line, "SubscriptionPrivateAccess") || + !_cups_strcasecmp(line, "SubscriptionPrivateValues")) + { + if (op) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "%s directive must appear outside ... " + "on line %d of %s.", line, linenum, ConfigurationFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + else + { + /* + * Pull out whitespace-delimited values... + */ + + while (*value) + { + /* + * Find the end of the current value... + */ + + for (valptr = value; !isspace(*valptr & 255) && *valptr; valptr ++); + + if (*valptr) + *valptr++ = '\0'; + + /* + * Save it appropriately... + */ + + if (!_cups_strcasecmp(line, "JobPrivateAccess")) + { + /* + * JobPrivateAccess {all|default|user/group list|@@ACL} + */ + + if (!_cups_strcasecmp(value, "default")) + { + cupsdAddString(&(pol->job_access), "@OWNER"); + cupsdAddString(&(pol->job_access), "@SYSTEM"); + } + else + cupsdAddString(&(pol->job_access), value); + } + else if (!_cups_strcasecmp(line, "JobPrivateValues")) + { + /* + * JobPrivateValues {all|none|default|attribute list} + */ + + if (!_cups_strcasecmp(value, "default")) + { + cupsdAddString(&(pol->job_attrs), "job-name"); + cupsdAddString(&(pol->job_attrs), "job-originating-host-name"); + cupsdAddString(&(pol->job_attrs), "job-originating-user-name"); + cupsdAddString(&(pol->job_attrs), "phone"); + } + else + cupsdAddString(&(pol->job_attrs), value); + } + else if (!_cups_strcasecmp(line, "SubscriptionPrivateAccess")) + { + /* + * SubscriptionPrivateAccess {all|default|user/group list|@@ACL} + */ + + if (!_cups_strcasecmp(value, "default")) + { + cupsdAddString(&(pol->sub_access), "@OWNER"); + cupsdAddString(&(pol->sub_access), "@SYSTEM"); + } + else + cupsdAddString(&(pol->sub_access), value); + } + else /* if (!_cups_strcasecmp(line, "SubscriptionPrivateValues")) */ + { + /* + * SubscriptionPrivateValues {all|none|default|attribute list} + */ + + if (!_cups_strcasecmp(value, "default")) + { + cupsdAddString(&(pol->sub_attrs), "notify-events"); + cupsdAddString(&(pol->sub_attrs), "notify-pull-method"); + cupsdAddString(&(pol->sub_attrs), "notify-recipient-uri"); + cupsdAddString(&(pol->sub_attrs), "notify-subscriber-user-name"); + cupsdAddString(&(pol->sub_attrs), "notify-user-data"); + } + else + cupsdAddString(&(pol->sub_attrs), value); + } + + /* + * Find the next string on the line... + */ + + for (value = valptr; isspace(*value & 255); value ++); + } + } + } + else if (!op) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Missing directive before %s on line %d of %s.", + line, linenum, ConfigurationFile); + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + else if (!parse_aaa(op, line, value, linenum)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown Policy Limit directive %s on line %d of %s.", + line, linenum, ConfigurationFile); + + if (FatalErrors & CUPSD_FATAL_CONFIG) + return (0); + } + } + + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unexpected end-of-file at line %d while reading policy " + "\"%s\".", linenum, policy); + + return ((FatalErrors & CUPSD_FATAL_CONFIG) ? 0 : linenum); +} + + +/* + * 'set_policy_defaults()' - Set default policy values as needed. + */ + +static void +set_policy_defaults(cupsd_policy_t *pol)/* I - Policy */ +{ + cupsd_location_t *op; /* Policy operation */ + + + /* + * Verify that we have an explicit policy for Validate-Job, Cancel-Jobs, + * Cancel-My-Jobs, Close-Job, and CUPS-Get-Document, which ensures that + * upgrades do not introduce new security issues... + * + * CUPS STR #4659: Allow a lone policy. + */ + + if (cupsArrayCount(pol->ops) > 1) + { + if ((op = cupsdFindPolicyOp(pol, IPP_VALIDATE_JOB)) == NULL || + op->op == IPP_ANY_OPERATION) + { + if ((op = cupsdFindPolicyOp(pol, IPP_PRINT_JOB)) != NULL && + op->op != IPP_ANY_OPERATION) + { + /* + * Add a new limit for Validate-Job using the Print-Job limit as a + * template... + */ + + cupsdLogMessage(CUPSD_LOG_WARN, "No limit for Validate-Job defined in policy %s - using Print-Job's policy.", pol->name); + + cupsdAddPolicyOp(pol, op, IPP_VALIDATE_JOB); + } + else + cupsdLogMessage(CUPSD_LOG_WARN, "No limit for Validate-Job defined in policy %s and no suitable template found.", pol->name); + } + + if ((op = cupsdFindPolicyOp(pol, IPP_CANCEL_JOBS)) == NULL || + op->op == IPP_ANY_OPERATION) + { + if ((op = cupsdFindPolicyOp(pol, IPP_PAUSE_PRINTER)) != NULL && + op->op != IPP_ANY_OPERATION) + { + /* + * Add a new limit for Cancel-Jobs using the Pause-Printer limit as a + * template... + */ + + cupsdLogMessage(CUPSD_LOG_WARN, "No limit for Cancel-Jobs defined in policy %s - using Pause-Printer's policy.", pol->name); + + cupsdAddPolicyOp(pol, op, IPP_CANCEL_JOBS); + } + else + cupsdLogMessage(CUPSD_LOG_WARN, "No limit for Cancel-Jobs defined in policy %s and no suitable template found.", pol->name); + } + + if ((op = cupsdFindPolicyOp(pol, IPP_CANCEL_MY_JOBS)) == NULL || + op->op == IPP_ANY_OPERATION) + { + if ((op = cupsdFindPolicyOp(pol, IPP_SEND_DOCUMENT)) != NULL && + op->op != IPP_ANY_OPERATION) + { + /* + * Add a new limit for Cancel-My-Jobs using the Send-Document limit as + * a template... + */ + + cupsdLogMessage(CUPSD_LOG_WARN, "No limit for Cancel-My-Jobs defined in policy %s - using Send-Document's policy.", pol->name); + + cupsdAddPolicyOp(pol, op, IPP_CANCEL_MY_JOBS); + } + else + cupsdLogMessage(CUPSD_LOG_WARN, "No limit for Cancel-My-Jobs defined in policy %s and no suitable template found.", pol->name); + } + + if ((op = cupsdFindPolicyOp(pol, IPP_CLOSE_JOB)) == NULL || + op->op == IPP_ANY_OPERATION) + { + if ((op = cupsdFindPolicyOp(pol, IPP_SEND_DOCUMENT)) != NULL && + op->op != IPP_ANY_OPERATION) + { + /* + * Add a new limit for Close-Job using the Send-Document limit as a + * template... + */ + + cupsdLogMessage(CUPSD_LOG_WARN, "No limit for Close-Job defined in policy %s - using Send-Document's policy.", pol->name); + + cupsdAddPolicyOp(pol, op, IPP_CLOSE_JOB); + } + else + cupsdLogMessage(CUPSD_LOG_WARN, "No limit for Close-Job defined in policy %s and no suitable template found.", pol->name); + } + + if ((op = cupsdFindPolicyOp(pol, CUPS_GET_DOCUMENT)) == NULL || + op->op == IPP_ANY_OPERATION) + { + if ((op = cupsdFindPolicyOp(pol, IPP_SEND_DOCUMENT)) != NULL && + op->op != IPP_ANY_OPERATION) + { + /* + * Add a new limit for CUPS-Get-Document using the Send-Document + * limit as a template... + */ + + cupsdLogMessage(CUPSD_LOG_WARN, "No limit for CUPS-Get-Document defined in policy %s - using Send-Document's policy.", pol->name); + + cupsdAddPolicyOp(pol, op, CUPS_GET_DOCUMENT); + } + else + cupsdLogMessage(CUPSD_LOG_WARN, "No limit for CUPS-Get-Document defined in policy %s and no suitable template found.", pol->name); + } + } + + /* + * Verify we have JobPrivateAccess, JobPrivateValues, + * SubscriptionPrivateAccess, and SubscriptionPrivateValues in the policy. + */ + + if (!pol->job_access) + { + cupsdLogMessage(CUPSD_LOG_WARN, "No JobPrivateAccess defined in policy %s - using defaults.", pol->name); + cupsdAddString(&(pol->job_access), "@OWNER"); + cupsdAddString(&(pol->job_access), "@SYSTEM"); + } + + if (!pol->job_attrs) + { + cupsdLogMessage(CUPSD_LOG_WARN, "No JobPrivateValues defined in policy %s - using defaults.", pol->name); + cupsdAddString(&(pol->job_attrs), "job-name"); + cupsdAddString(&(pol->job_attrs), "job-originating-host-name"); + cupsdAddString(&(pol->job_attrs), "job-originating-user-name"); + cupsdAddString(&(pol->job_attrs), "phone"); + } + + if (!pol->sub_access) + { + cupsdLogMessage(CUPSD_LOG_WARN, "No SubscriptionPrivateAccess defined in policy %s - using defaults.", pol->name); + cupsdAddString(&(pol->sub_access), "@OWNER"); + cupsdAddString(&(pol->sub_access), "@SYSTEM"); + } + + if (!pol->sub_attrs) + { + cupsdLogMessage(CUPSD_LOG_WARN, "No SubscriptionPrivateValues defined in policy %s - using defaults.", pol->name); + cupsdAddString(&(pol->sub_attrs), "notify-events"); + cupsdAddString(&(pol->sub_attrs), "notify-pull-method"); + cupsdAddString(&(pol->sub_attrs), "notify-recipient-uri"); + cupsdAddString(&(pol->sub_attrs), "notify-subscriber-user-name"); + cupsdAddString(&(pol->sub_attrs), "notify-user-data"); + } +} diff --git a/scheduler/conf.h b/scheduler/conf.h new file mode 100644 index 0000000..b4e14ee --- /dev/null +++ b/scheduler/conf.h @@ -0,0 +1,290 @@ +/* + * Configuration file definitions for the CUPS scheduler. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + + +/* + * Log levels... + */ + +typedef enum +{ + CUPSD_LOG_PPD = -5, /* Used internally for PPD keywords */ + CUPSD_LOG_ATTR, /* Used internally for attributes */ + CUPSD_LOG_STATE, /* Used internally for printer-state-reasons */ + CUPSD_LOG_JOBSTATE, /* Used internally for job-state-reasons */ + CUPSD_LOG_PAGE, /* Used internally for page logging */ + CUPSD_LOG_NONE, + CUPSD_LOG_EMERG, /* Emergency issues */ + CUPSD_LOG_ALERT, /* Something bad happened that needs attention */ + CUPSD_LOG_CRIT, /* Critical error but server continues */ + CUPSD_LOG_ERROR, /* Error condition */ + CUPSD_LOG_WARN, /* Warning */ + CUPSD_LOG_NOTICE, /* Normal condition that needs logging */ + CUPSD_LOG_INFO, /* General information */ + CUPSD_LOG_DEBUG, /* General debugging */ + CUPSD_LOG_DEBUG2 /* Detailed debugging */ +} cupsd_loglevel_t; + +typedef enum +{ + CUPSD_ACCESSLOG_NONE, /* Log no requests */ + CUPSD_ACCESSLOG_CONFIG, /* Log config requests */ + CUPSD_ACCESSLOG_ACTIONS, /* Log config, print, and job management requests */ + CUPSD_ACCESSLOG_ALL /* Log everything */ +} cupsd_accesslog_t; + +typedef enum +{ + CUPSD_TIME_STANDARD, /* "Standard" Apache/CLF format */ + CUPSD_TIME_USECS /* Standard format with microseconds */ +} cupsd_time_t; + +typedef enum +{ + CUPSD_SANDBOXING_OFF, /* No sandboxing */ + CUPSD_SANDBOXING_RELAXED, /* Relaxed sandboxing */ + CUPSD_SANDBOXING_STRICT /* Strict sandboxing */ +} cupsd_sandboxing_t; + + +/* + * FatalErrors flags... + */ + +#define CUPSD_FATAL_NONE 0 /* No errors are fatal */ +#define CUPSD_FATAL_BROWSE 1 /* Browse bind errors are fatal */ +#define CUPSD_FATAL_CONFIG 2 /* Config file syntax errors are fatal */ +#define CUPSD_FATAL_LISTEN 4 /* Listen/Port bind errors are fatal */ +#define CUPSD_FATAL_LOG 8 /* Log file errors are fatal */ +#define CUPSD_FATAL_PERMISSIONS 16 /* File permission errors are fatal */ +#define CUPSD_FATAL_ALL ~0 /* All errors are fatal */ + + +/* + * Printcap formats... + */ + +#define PRINTCAP_BSD 0 /* Berkeley LPD format */ +#define PRINTCAP_SOLARIS 1 /* Solaris lpsched format */ +#define PRINTCAP_PLIST 2 /* macOS plist format */ + + +/* + * ServerAlias data... + */ + +typedef struct +{ + size_t namelen; /* Length of alias name */ + char name[1]; /* Alias name */ +} cupsd_alias_t; + + +/* + * Globals... + */ + +VAR char *ConfigurationFile VALUE(NULL), + /* cupsd.conf file to use */ + *CupsFilesFile VALUE(NULL), + /* cups-files.conf file to use */ + *ServerName VALUE(NULL), + /* FQDN for server */ + *ServerAdmin VALUE(NULL), + /* Administrator's email */ + *ServerRoot VALUE(NULL), + /* Root directory for scheduler */ + *ServerBin VALUE(NULL), + /* Root directory for binaries */ + *StateDir VALUE(NULL), + /* Root directory for state data */ + *RequestRoot VALUE(NULL), + /* Directory for request files */ + *DocumentRoot VALUE(NULL); + /* Root directory for documents */ +VAR cups_array_t *ServerAlias VALUE(NULL); + /* Alias names for server */ +VAR int ServerNameIsIP VALUE(0); + /* Is the ServerName an IP address? */ +VAR int NumSystemGroups VALUE(0); + /* Number of system group names */ +VAR char *SystemGroups[MAX_SYSTEM_GROUPS] + VALUE({0}); + /* System group names */ +VAR gid_t SystemGroupIDs[MAX_SYSTEM_GROUPS] + VALUE({0}); + /* System group IDs */ +VAR char *AccessLog VALUE(NULL), + /* Access log filename */ + *ErrorLog VALUE(NULL), + /* Error log filename */ + *PageLog VALUE(NULL), + /* Page log filename */ + *CacheDir VALUE(NULL), + /* Cache file directory */ + *DataDir VALUE(NULL), + /* Data file directory */ + *DefaultLanguage VALUE(NULL), + /* Default language encoding */ + *DefaultLocale VALUE(NULL), + /* Default locale */ + *DefaultPaperSize VALUE(NULL), + /* Default paper size */ + *ErrorPolicy VALUE(NULL), + /* Default printer-error-policy */ + *RIPCache VALUE(NULL), + /* Amount of memory for RIPs */ + *TempDir VALUE(NULL), + /* Temporary directory */ + *Printcap VALUE(NULL), + /* Printcap file */ + *FontPath VALUE(NULL), + /* Font search path */ + *RemoteRoot VALUE(NULL), + /* Remote root user */ + *Classification VALUE(NULL); + /* Classification of system */ +VAR uid_t User VALUE(1), + /* User ID for server */ + RunUser VALUE(0); + /* User to run as, used for files */ +VAR gid_t Group VALUE(0); + /* Group ID for server */ +VAR cupsd_accesslog_t AccessLogLevel VALUE(CUPSD_ACCESSLOG_ACTIONS); + /* Access log level */ +VAR int ClassifyOverride VALUE(0), + /* Allow overrides? */ + LogDebugHistory VALUE(200), + /* Amount of automatic debug history */ + FatalErrors VALUE(CUPSD_FATAL_CONFIG), + /* Which errors are fatal? */ + StrictConformance VALUE(FALSE), + /* Require strict IPP conformance? */ + SyncOnClose VALUE(FALSE); + /* Call fsync() when closing files? */ +VAR mode_t ConfigFilePerm VALUE(0640U), + /* Permissions for config files */ + LogFilePerm VALUE(0644U); + /* Permissions for log files */ +VAR cupsd_loglevel_t LogLevel VALUE(CUPSD_LOG_WARN); + /* Error log level */ +VAR cupsd_time_t LogTimeFormat VALUE(CUPSD_TIME_STANDARD); + /* Log file time format */ +VAR cups_file_t *LogStderr VALUE(NULL); + /* Stderr file, if any */ +VAR cupsd_sandboxing_t Sandboxing VALUE(CUPSD_SANDBOXING_STRICT); + /* Sandboxing level */ +VAR int UseSandboxing VALUE(1); + /* Use sandboxing for child procs? */ +VAR int MaxClients VALUE(100), + /* Maximum number of clients */ + MaxClientsPerHost VALUE(0), + /* Maximum number of clients per host */ + MaxCopies VALUE(CUPS_DEFAULT_MAX_COPIES), + /* Maximum number of copies per job */ + MaxLogSize VALUE(1024 * 1024), + /* Maximum size of log files */ + MaxRequestSize VALUE(0), + /* Maximum size of IPP requests */ + HostNameLookups VALUE(FALSE), + /* Do we do reverse lookups? */ + Timeout VALUE(DEFAULT_TIMEOUT), + /* Timeout during requests */ + KeepAlive VALUE(TRUE), + /* Support the Keep-Alive option? */ + KeepAliveTimeout VALUE(DEFAULT_KEEPALIVE), + /* Timeout between requests */ + FileDevice VALUE(FALSE), + /* Allow file: devices? */ + FilterLimit VALUE(0), + /* Max filter cost at any time */ + FilterLevel VALUE(0), + /* Current filter level */ + FilterNice VALUE(0), + /* Nice value for filters */ + ReloadTimeout VALUE(DEFAULT_KEEPALIVE), + /* Timeout before reload from SIGHUP */ + RootCertDuration VALUE(300), + /* Root certificate update interval */ + PrintcapFormat VALUE(PRINTCAP_BSD), + /* Format of printcap file? */ + DefaultShared VALUE(TRUE), + /* Share printers by default? */ + MultipleOperationTimeout VALUE(DEFAULT_TIMEOUT), + /* multiple-operation-time-out value */ + WebInterface VALUE(CUPS_DEFAULT_WEBIF); + /* Enable the web interface? */ +VAR cups_file_t *AccessFile VALUE(NULL), + /* Access log file */ + *ErrorFile VALUE(NULL), + /* Error log file */ + *PageFile VALUE(NULL); + /* Page log file */ +VAR char *PageLogFormat VALUE(NULL); + /* Page log format */ +VAR mime_t *MimeDatabase VALUE(NULL); + /* MIME type database */ +VAR int NumMimeTypes VALUE(0); + /* Number of MIME types */ +VAR const char **MimeTypes VALUE(NULL); + /* Array of MIME types */ + +#ifdef HAVE_SSL +VAR int CreateSelfSignedCerts VALUE(TRUE); + /* Automatically create self-signed certs? */ +VAR char *ServerKeychain VALUE(NULL); + /* Keychain holding cert + key */ +#endif /* HAVE_SSL */ + +#ifdef HAVE_ONDEMAND +VAR int IdleExitTimeout VALUE(60); + /* Time after which an idle cupsd will exit */ +#endif /* HAVE_ONDEMAND */ + +#ifdef HAVE_AUTHORIZATION_H +VAR char *SystemGroupAuthKey VALUE(NULL); + /* System group auth key */ +#endif /* HAVE_AUTHORIZATION_H */ + +#ifdef HAVE_GSSAPI +VAR char *GSSServiceName VALUE(NULL); + /* GSS service name */ +VAR int HaveServerCreds VALUE(0); + /* Do we have server credentials? */ +VAR gss_cred_id_t ServerCreds; /* Server's GSS credentials */ +#endif /* HAVE_GSSAPI */ + + +/* + * Prototypes... + */ + +extern void cupsdAddAlias(cups_array_t *aliases, const char *name); +extern int cupsdCheckLogFile(cups_file_t **lf, const char *logname); +extern int cupsdCheckPermissions(const char *filename, + const char *suffix, mode_t mode, + uid_t user, gid_t group, int is_dir, + int create_dir); +extern int cupsdCheckProgram(const char *filename, cupsd_printer_t *p); +extern int cupsdDefaultAuthType(void); +extern void cupsdFreeAliases(cups_array_t *aliases); +extern char *cupsdGetDateTime(struct timeval *t, cupsd_time_t format); +extern int cupsdLogClient(cupsd_client_t *con, int level, const char *message, ...) _CUPS_FORMAT(3, 4); +extern void cupsdLogFCMessage(void *context, _cups_fc_result_t result, const char *message); +#ifdef HAVE_GSSAPI +extern int cupsdLogGSSMessage(int level, OM_uint32 major_status, OM_uint32 minor_status, const char *message, ...) _CUPS_FORMAT(4, 5); +#endif /* HAVE_GSSAPI */ +extern int cupsdLogJob(cupsd_job_t *job, int level, const char *message, + ...) _CUPS_FORMAT(3, 4); +extern int cupsdLogMessage(int level, const char *message, ...) _CUPS_FORMAT(2, 3); +extern int cupsdLogPage(cupsd_job_t *job, const char *page); +extern int cupsdLogRequest(cupsd_client_t *con, http_status_t code); +extern int cupsdReadConfiguration(void); +extern int cupsdWriteErrorLog(int level, const char *message); diff --git a/scheduler/cups-deviced.c b/scheduler/cups-deviced.c new file mode 100644 index 0000000..77703b9 --- /dev/null +++ b/scheduler/cups-deviced.c @@ -0,0 +1,787 @@ +/* + * Device scanning mini-daemon for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "util.h" +#include +#include +#include +#include +#include + + +/* + * Constants... + */ + +#define MAX_BACKENDS 200 /* Maximum number of backends we'll run */ + + +/* + * Backend information... + */ + +typedef struct +{ + char *name; /* Name of backend */ + int pid, /* Process ID */ + status; /* Exit status */ + cups_file_t *pipe; /* Pipe from backend stdout */ + int count; /* Number of devices found */ +} cupsd_backend_t; + + +/* + * Device information structure... + */ + +typedef struct +{ + char device_class[128], /* Device class */ + device_info[128], /* Device info/description */ + device_uri[1024]; /* Device URI */ +} cupsd_device_t; + + +/* + * Local globals... + */ + +static int num_backends = 0, + /* Total backends */ + active_backends = 0; + /* Active backends */ +static cupsd_backend_t backends[MAX_BACKENDS]; + /* Array of backends */ +static struct pollfd backend_fds[MAX_BACKENDS]; + /* Array for poll() */ +static cups_array_t *devices; /* Array of devices */ +static uid_t normal_user; /* Normal user ID */ +static int device_limit; /* Maximum number of devices */ +static int send_class, /* Send device-class attribute? */ + send_info, /* Send device-info attribute? */ + send_make_and_model, + /* Send device-make-and-model attribute? */ + send_uri, /* Send device-uri attribute? */ + send_id, /* Send device-id attribute? */ + send_location; /* Send device-location attribute? */ +static int dead_children = 0; + /* Dead children? */ + + +/* + * Local functions... + */ + +static int add_device(const char *device_class, + const char *device_make_and_model, + const char *device_info, + const char *device_uri, + const char *device_id, + const char *device_location); +static int compare_devices(cupsd_device_t *p0, + cupsd_device_t *p1); +static double get_current_time(void); +static int get_device(cupsd_backend_t *backend); +static void process_children(void); +static void sigchld_handler(int sig); +static int start_backend(const char *backend, int root); + + +/* + * 'main()' - Scan for devices and return an IPP response. + * + * Usage: + * + * cups-deviced request_id limit options + */ + +int /* O - Exit code */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + int request_id; /* Request ID */ + int timeout; /* Timeout in seconds */ + const char *server_bin; /* CUPS_SERVERBIN environment variable */ + char filename[1024]; /* Backend directory filename */ + cups_dir_t *dir; /* Directory pointer */ + cups_dentry_t *dent; /* Directory entry */ + double current_time, /* Current time */ + end_time; /* Ending time */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ + cups_array_t *requested, /* requested-attributes values */ + *exclude, /* exclude-schemes values */ + *include; /* include-schemes values */ +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* Actions for POSIX signals */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ + + + setbuf(stderr, NULL); + + /* + * Check the command-line... + */ + + if (argc != 6) + { + fputs("Usage: cups-deviced request-id limit timeout user-id options\n", stderr); + + return (1); + } + + request_id = atoi(argv[1]); + if (request_id < 1) + { + fprintf(stderr, "ERROR: [cups-deviced] Bad request ID %d!\n", request_id); + + return (1); + } + + device_limit = atoi(argv[2]); + if (device_limit < 0) + { + fprintf(stderr, "ERROR: [cups-deviced] Bad limit %d!\n", device_limit); + + return (1); + } + + timeout = atoi(argv[3]); + if (timeout < 1) + { + fprintf(stderr, "ERROR: [cups-deviced] Bad timeout %d!\n", timeout); + + return (1); + } + + normal_user = (uid_t)atoi(argv[4]); + if (normal_user <= 0) + { + fprintf(stderr, "ERROR: [cups-deviced] Bad user %d!\n", normal_user); + + return (1); + } + + num_options = cupsParseOptions(argv[5], 0, &options); + requested = cupsdCreateStringsArray(cupsGetOption("requested-attributes", + num_options, options)); + exclude = cupsdCreateStringsArray(cupsGetOption("exclude-schemes", + num_options, options)); + include = cupsdCreateStringsArray(cupsGetOption("include-schemes", + num_options, options)); + + if (!requested || cupsArrayFind(requested, "all") != NULL) + { + send_class = send_info = send_make_and_model = send_uri = send_id = + send_location = 1; + } + else + { + send_class = cupsArrayFind(requested, "device-class") != NULL; + send_info = cupsArrayFind(requested, "device-info") != NULL; + send_make_and_model = cupsArrayFind(requested, "device-make-and-model") != NULL; + send_uri = cupsArrayFind(requested, "device-uri") != NULL; + send_id = cupsArrayFind(requested, "device-id") != NULL; + send_location = cupsArrayFind(requested, "device-location") != NULL; + } + + /* + * Listen to child signals... + */ + +#ifdef HAVE_SIGSET /* Use System V signals over POSIX to avoid bugs */ + sigset(SIGCHLD, sigchld_handler); +#elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + + sigemptyset(&action.sa_mask); + sigaddset(&action.sa_mask, SIGCHLD); + action.sa_handler = sigchld_handler; + sigaction(SIGCHLD, &action, NULL); +#else + signal(SIGCLD, sigchld_handler); /* No, SIGCLD isn't a typo... */ +#endif /* HAVE_SIGSET */ + + /* + * Try opening the backend directory... + */ + + if ((server_bin = getenv("CUPS_SERVERBIN")) == NULL) + server_bin = CUPS_SERVERBIN; + + snprintf(filename, sizeof(filename), "%s/backend", server_bin); + + if ((dir = cupsDirOpen(filename)) == NULL) + { + fprintf(stderr, "ERROR: [cups-deviced] Unable to open backend directory " + "\"%s\": %s", filename, strerror(errno)); + + return (1); + } + + /* + * Setup the devices array... + */ + + devices = cupsArrayNew((cups_array_func_t)compare_devices, NULL); + + /* + * Loop through all of the device backends... + */ + + while ((dent = cupsDirRead(dir)) != NULL) + { + /* + * Skip entries that are not executable files... + */ + + if (!S_ISREG(dent->fileinfo.st_mode) || + !isalnum(dent->filename[0] & 255) || + (dent->fileinfo.st_mode & (S_IRUSR | S_IXUSR)) != (S_IRUSR | S_IXUSR)) + continue; + + /* + * Skip excluded or not included backends... + */ + + if (cupsArrayFind(exclude, dent->filename) || + (include && !cupsArrayFind(include, dent->filename))) + continue; + + /* + * Backends without permissions for normal users run as root, + * all others run as the unprivileged user... + */ + + start_backend(dent->filename, !(dent->fileinfo.st_mode & (S_IWGRP | S_IRWXO))); + } + + cupsDirClose(dir); + + /* + * Collect devices... + */ + + if (getenv("SOFTWARE")) + puts("Content-Type: application/ipp\n"); + + cupsdSendIPPHeader(IPP_OK, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", "en-US"); + + end_time = get_current_time() + timeout; + + while (active_backends > 0 && (current_time = get_current_time()) < end_time) + { + /* + * Collect the output from the backends... + */ + + timeout = (int)(1000 * (end_time - current_time)); + + if (poll(backend_fds, (nfds_t)num_backends, timeout) > 0) + { + for (i = 0; i < num_backends; i ++) + if (backend_fds[i].revents && backends[i].pipe) + { + cups_file_t *bpipe = backends[i].pipe; + /* Copy of pipe for backend... */ + + do + { + if (get_device(backends + i)) + { + backend_fds[i].fd = 0; + backend_fds[i].events = 0; + break; + } + } + while (_cupsFilePeekAhead(bpipe, '\n')); + } + } + + /* + * Get exit status from children... + */ + + if (dead_children) + process_children(); + } + + cupsdSendIPPTrailer(); + + /* + * Terminate any remaining backends and exit... + */ + + if (active_backends > 0) + { + for (i = 0; i < num_backends; i ++) + if (backends[i].pid) + kill(backends[i].pid, SIGTERM); + } + + return (0); +} + + +/* + * 'add_device()' - Add a new device to the list. + */ + +static int /* O - 0 on success, -1 on error */ +add_device( + const char *device_class, /* I - Device class */ + const char *device_make_and_model, /* I - Device make and model */ + const char *device_info, /* I - Device information */ + const char *device_uri, /* I - Device URI */ + const char *device_id, /* I - 1284 device ID */ + const char *device_location) /* I - Physical location */ +{ + cupsd_device_t *device; /* New device */ + + + /* + * Allocate memory for the device record... + */ + + if ((device = calloc(1, sizeof(cupsd_device_t))) == NULL) + { + fputs("ERROR: [cups-deviced] Ran out of memory allocating a device!\n", + stderr); + return (-1); + } + + /* + * Copy the strings over... + */ + + strlcpy(device->device_class, device_class, sizeof(device->device_class)); + strlcpy(device->device_info, device_info, sizeof(device->device_info)); + strlcpy(device->device_uri, device_uri, sizeof(device->device_uri)); + + /* + * Add the device to the array and return... + */ + + if (cupsArrayFind(devices, device)) + { + /* + * Avoid duplicates! + */ + + free(device); + } + else + { + cupsArrayAdd(devices, device); + + if (device_limit <= 0 || cupsArrayCount(devices) < device_limit) + { + /* + * Send device info... + */ + + cupsdSendIPPGroup(IPP_TAG_PRINTER); + if (send_class) + cupsdSendIPPString(IPP_TAG_KEYWORD, "device-class", + device_class); + if (send_info) + cupsdSendIPPString(IPP_TAG_TEXT, "device-info", device_info); + if (send_make_and_model) + cupsdSendIPPString(IPP_TAG_TEXT, "device-make-and-model", + device_make_and_model); + if (send_uri) + cupsdSendIPPString(IPP_TAG_URI, "device-uri", device_uri); + if (send_id) + cupsdSendIPPString(IPP_TAG_TEXT, "device-id", + device_id ? device_id : ""); + if (send_location) + cupsdSendIPPString(IPP_TAG_TEXT, "device-location", + device_location ? device_location : ""); + + fflush(stdout); + fputs("DEBUG: Flushed attributes...\n", stderr); + } + } + + return (0); +} + + +/* + * 'compare_devices()' - Compare device names to eliminate duplicates. + */ + +static int /* O - Result of comparison */ +compare_devices(cupsd_device_t *d0, /* I - First device */ + cupsd_device_t *d1) /* I - Second device */ +{ + int diff; /* Difference between strings */ + + + /* + * Sort devices by device-info, device-class, and device-uri... + */ + + if ((diff = cupsdCompareNames(d0->device_info, d1->device_info)) != 0) + return (diff); + else if ((diff = _cups_strcasecmp(d0->device_class, d1->device_class)) != 0) + return (diff); + else + return (_cups_strcasecmp(d0->device_uri, d1->device_uri)); +} + + +/* + * 'get_current_time()' - Get the current time as a double value in seconds. + */ + +static double /* O - Time in seconds */ +get_current_time(void) +{ + struct timeval curtime; /* Current time */ + + + gettimeofday(&curtime, NULL); + + return (curtime.tv_sec + 0.000001 * curtime.tv_usec); +} + + +/* + * 'get_device()' - Get a device from a backend. + */ + +static int /* O - 0 on success, -1 on error */ +get_device(cupsd_backend_t *backend) /* I - Backend to read from */ +{ + char line[2048], /* Line from backend */ + temp[2048], /* Copy of line */ + *ptr, /* Pointer into line */ + *dclass, /* Device class */ + *uri, /* Device URI */ + *make_model, /* Make and model */ + *info, /* Device info */ + *device_id, /* 1284 device ID */ + *location; /* Physical location */ + + + if (cupsFileGets(backend->pipe, line, sizeof(line))) + { + /* + * Each line is of the form: + * + * class URI "make model" "name" ["1284 device ID"] ["location"] + */ + + strlcpy(temp, line, sizeof(temp)); + + /* + * device-class + */ + + dclass = temp; + + for (ptr = temp; *ptr; ptr ++) + if (isspace(*ptr & 255)) + break; + + while (isspace(*ptr & 255)) + *ptr++ = '\0'; + + /* + * device-uri + */ + + if (!*ptr) + goto error; + + for (uri = ptr; *ptr; ptr ++) + if (isspace(*ptr & 255)) + break; + + while (isspace(*ptr & 255)) + *ptr++ = '\0'; + + /* + * device-make-and-model + */ + + if (*ptr != '\"') + goto error; + + for (ptr ++, make_model = ptr; *ptr && *ptr != '\"'; ptr ++) + { + if (*ptr == '\\' && ptr[1]) + _cups_strcpy(ptr, ptr + 1); + } + + if (*ptr != '\"') + goto error; + + for (*ptr++ = '\0'; isspace(*ptr & 255); *ptr++ = '\0'); + + /* + * device-info + */ + + if (*ptr != '\"') + goto error; + + for (ptr ++, info = ptr; *ptr && *ptr != '\"'; ptr ++) + { + if (*ptr == '\\' && ptr[1]) + _cups_strcpy(ptr, ptr + 1); + } + + if (*ptr != '\"') + goto error; + + for (*ptr++ = '\0'; isspace(*ptr & 255); *ptr++ = '\0'); + + /* + * device-id + */ + + if (*ptr == '\"') + { + for (ptr ++, device_id = ptr; *ptr && *ptr != '\"'; ptr ++) + { + if (*ptr == '\\' && ptr[1]) + _cups_strcpy(ptr, ptr + 1); + } + + if (*ptr != '\"') + goto error; + + for (*ptr++ = '\0'; isspace(*ptr & 255); *ptr++ = '\0'); + + /* + * device-location + */ + + if (*ptr == '\"') + { + for (ptr ++, location = ptr; *ptr && *ptr != '\"'; ptr ++) + { + if (*ptr == '\\' && ptr[1]) + _cups_strcpy(ptr, ptr + 1); + } + + if (*ptr != '\"') + goto error; + + *ptr = '\0'; + } + else + location = NULL; + } + else + { + device_id = NULL; + location = NULL; + } + + /* + * Add the device to the array of available devices... + */ + + if (!add_device(dclass, make_model, info, uri, device_id, location)) + fprintf(stderr, "DEBUG: [cups-deviced] Found device \"%s\"...\n", uri); + + return (0); + } + + /* + * End of file... + */ + + cupsFileClose(backend->pipe); + backend->pipe = NULL; + + return (-1); + + /* + * Bad format; strip trailing newline and write an error message. + */ + + error: + + if (line[strlen(line) - 1] == '\n') + line[strlen(line) - 1] = '\0'; + + fprintf(stderr, "ERROR: [cups-deviced] Bad line from \"%s\": %s\n", + backend->name, line); + return (0); +} + + +/* + * 'process_children()' - Process all dead children... + */ + +static void +process_children(void) +{ + int i; /* Looping var */ + int status; /* Exit status of child */ + int pid; /* Process ID of child */ + cupsd_backend_t *backend; /* Current backend */ + const char *name; /* Name of process */ + + + /* + * Reset the dead_children flag... + */ + + dead_children = 0; + + /* + * Collect the exit status of some children... + */ + +#ifdef HAVE_WAITPID + while ((pid = waitpid(-1, &status, WNOHANG)) > 0) +#elif defined(HAVE_WAIT3) + while ((pid = wait3(&status, WNOHANG, NULL)) > 0) +#else + if ((pid = wait(&status)) > 0) +#endif /* HAVE_WAITPID */ + { + if (status == SIGTERM) + status = 0; + + for (i = num_backends, backend = backends; i > 0; i --, backend ++) + if (backend->pid == pid) + break; + + if (i > 0) + { + name = backend->name; + backend->pid = 0; + backend->status = status; + + active_backends --; + } + else + name = "Unknown"; + + if (status) + { + if (WIFEXITED(status)) + fprintf(stderr, + "ERROR: [cups-deviced] PID %d (%s) stopped with status %d!\n", + pid, name, WEXITSTATUS(status)); + else + fprintf(stderr, + "ERROR: [cups-deviced] PID %d (%s) crashed on signal %d!\n", + pid, name, WTERMSIG(status)); + } + else + fprintf(stderr, + "DEBUG: [cups-deviced] PID %d (%s) exited with no errors.\n", + pid, name); + } +} + + +/* + * 'sigchld_handler()' - Handle 'child' signals from old processes. + */ + +static void +sigchld_handler(int sig) /* I - Signal number */ +{ + (void)sig; + + /* + * Flag that we have dead children... + */ + + dead_children = 1; + + /* + * Reset the signal handler as needed... + */ + +#if !defined(HAVE_SIGSET) && !defined(HAVE_SIGACTION) + signal(SIGCLD, sigchld_handler); +#endif /* !HAVE_SIGSET && !HAVE_SIGACTION */ +} + + +/* + * 'start_backend()' - Run a backend to gather the available devices. + */ + +static int /* O - 0 on success, -1 on error */ +start_backend(const char *name, /* I - Backend to run */ + int root) /* I - Run as root? */ +{ + const char *server_bin; /* CUPS_SERVERBIN environment variable */ + char program[1024]; /* Full path to backend */ + cupsd_backend_t *backend; /* Current backend */ + char *argv[2]; /* Command-line arguments */ + + + if (num_backends >= MAX_BACKENDS) + { + fprintf(stderr, "ERROR: Too many backends (%d)!\n", num_backends); + return (-1); + } + + if ((server_bin = getenv("CUPS_SERVERBIN")) == NULL) + server_bin = CUPS_SERVERBIN; + + snprintf(program, sizeof(program), "%s/backend/%s", server_bin, name); + + if (_cupsFileCheck(program, _CUPS_FILE_CHECK_PROGRAM, !geteuid(), + _cupsFileCheckFilter, NULL)) + return (-1); + + backend = backends + num_backends; + + argv[0] = (char *)name; + argv[1] = NULL; + + if ((backend->pipe = cupsdPipeCommand(&(backend->pid), program, argv, + root ? 0 : normal_user)) == NULL) + { + fprintf(stderr, "ERROR: [cups-deviced] Unable to execute \"%s\" - %s\n", + program, strerror(errno)); + return (-1); + } + + /* + * Fill in the rest of the backend information... + */ + + fprintf(stderr, "DEBUG: [cups-deviced] Started backend %s (PID %d)\n", + program, backend->pid); + + backend_fds[num_backends].fd = cupsFileNumber(backend->pipe); + backend_fds[num_backends].events = POLLIN; + + backend->name = strdup(name); + backend->status = 0; + backend->count = 0; + + active_backends ++; + num_backends ++; + + return (0); +} diff --git a/scheduler/cups-driverd.cxx b/scheduler/cups-driverd.cxx new file mode 100644 index 0000000..85516eb --- /dev/null +++ b/scheduler/cups-driverd.cxx @@ -0,0 +1,2916 @@ +/* + * PPD/driver support for CUPS. + * + * This program handles listing and installing static PPD files, PPD files + * created from driver information files, and dynamically generated PPD files + * using driver helper programs. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "util.h" +#include +#include +#include +#include +#include + + +/* + * Constants... + */ + +#define PPD_SYNC 0x50504441 /* Sync word for ppds.dat (PPDA) */ +#define PPD_MAX_LANG 32 /* Maximum languages */ +#define PPD_MAX_PROD 32 /* Maximum products */ +#define PPD_MAX_VERS 32 /* Maximum versions */ + +#define PPD_TYPE_POSTSCRIPT 0 /* PostScript PPD */ +#define PPD_TYPE_PDF 1 /* PDF PPD */ +#define PPD_TYPE_RASTER 2 /* CUPS raster PPD */ +#define PPD_TYPE_FAX 3 /* Facsimile/MFD PPD */ +#define PPD_TYPE_UNKNOWN 4 /* Other/hybrid PPD */ +#define PPD_TYPE_DRV 5 /* Driver info file */ +#define PPD_TYPE_ARCHIVE 6 /* Archive file */ + +#define TAR_BLOCK 512 /* Number of bytes in a block */ +#define TAR_BLOCKS 10 /* Blocking factor */ + +#define TAR_MAGIC "ustar" /* 5 chars and a null */ +#define TAR_VERSION "00" /* POSIX tar version */ + +#define TAR_OLDNORMAL '\0' /* Normal disk file, Unix compat */ +#define TAR_NORMAL '0' /* Normal disk file */ +#define TAR_LINK '1' /* Link to previously dumped file */ +#define TAR_SYMLINK '2' /* Symbolic link */ +#define TAR_CHR '3' /* Character special file */ +#define TAR_BLK '4' /* Block special file */ +#define TAR_DIR '5' /* Directory */ +#define TAR_FIFO '6' /* FIFO special file */ +#define TAR_CONTIG '7' /* Contiguous file */ + + +/* + * PPD information structures... + */ + +typedef struct /**** PPD record ****/ +{ + time_t mtime; /* Modification time */ + off_t size; /* Size in bytes */ + int model_number; /* cupsModelNumber */ + int type; /* ppd-type */ + char filename[512], /* Filename */ + name[256], /* PPD name */ + languages[PPD_MAX_LANG][6], + /* LanguageVersion/cupsLanguages */ + products[PPD_MAX_PROD][128], + /* Product strings */ + psversions[PPD_MAX_VERS][32], + /* PSVersion strings */ + make[128], /* Manufacturer */ + make_and_model[128], /* NickName/ModelName */ + device_id[256], /* IEEE 1284 Device ID */ + scheme[128]; /* PPD scheme */ +} ppd_rec_t; + +typedef struct /**** In-memory record ****/ +{ + int found; /* 1 if PPD is found */ + int matches; /* Match count */ + ppd_rec_t record; /* PPDs.dat record */ +} ppd_info_t; + +typedef union /**** TAR record format ****/ +{ + unsigned char all[TAR_BLOCK]; /* Raw data block */ + struct + { + char pathname[100], /* Destination path */ + mode[8], /* Octal file permissions */ + uid[8], /* Octal user ID */ + gid[8], /* Octal group ID */ + size[12], /* Octal size in bytes */ + mtime[12], /* Octal modification time */ + chksum[8], /* Octal checksum value */ + linkflag, /* File type */ + linkname[100], /* Source path for link */ + magic[6], /* Magic string */ + version[2], /* Format version */ + uname[32], /* User name */ + gname[32], /* Group name */ + devmajor[8], /* Octal device major number */ + devminor[8], /* Octal device minor number */ + prefix[155]; /* Prefix for long filenames */ + } header; +} tar_rec_t; + + +/* + * Globals... + */ + +static cups_array_t *Inodes = NULL, /* Inodes of directories we've visited */ + *PPDsByName = NULL, + /* PPD files sorted by filename and name */ + *PPDsByMakeModel = NULL; + /* PPD files sorted by make and model */ +static int ChangedPPD; /* Did we change the PPD database? */ +static const char * const PPDTypes[] = /* ppd-type values */ + { + "postscript", + "pdf", + "raster", + "fax", + "object", + "object-direct", + "object-storage", + "unknown", + "drv", + "archive" + }; + + +/* + * Local functions... + */ + +static ppd_info_t *add_ppd(const char *filename, const char *name, + const char *language, const char *make, + const char *make_and_model, + const char *device_id, const char *product, + const char *psversion, time_t mtime, + size_t size, int model_number, int type, + const char *scheme); +static int cat_drv(const char *name, int request_id); +static void cat_ppd(const char *name, int request_id); +static int cat_static(const char *name, int request_id); +static int cat_tar(const char *name, int request_id); +static int compare_inodes(struct stat *a, struct stat *b); +static int compare_matches(const ppd_info_t *p0, + const ppd_info_t *p1); +static int compare_names(const ppd_info_t *p0, + const ppd_info_t *p1); +static int compare_ppds(const ppd_info_t *p0, + const ppd_info_t *p1); +static void dump_ppds_dat(const char *filename); +static void free_array(cups_array_t *a); +static cups_file_t *get_file(const char *name, int request_id, + const char *subdir, char *buffer, + size_t bufsize, char **subfile); +static void list_ppds(int request_id, int limit, const char *opt); +static int load_drivers(cups_array_t *include, + cups_array_t *exclude); +static int load_drv(const char *filename, const char *name, + cups_file_t *fp, time_t mtime, off_t size); +static void load_ppd(const char *filename, const char *name, + const char *scheme, struct stat *fileinfo, + ppd_info_t *ppd, cups_file_t *fp, off_t end); +static int load_ppds(const char *d, const char *p, int descend); +static void load_ppds_dat(char *filename, size_t filesize, + int verbose); +static int load_tar(const char *filename, const char *name, + cups_file_t *fp, time_t mtime, off_t size); +static int read_tar(cups_file_t *fp, char *name, size_t namesize, + struct stat *info); +static regex_t *regex_device_id(const char *device_id); +static regex_t *regex_string(const char *s); + + +/* + * 'main()' - Scan for drivers and return an IPP response. + * + * Usage: + * + * cups-driverd request_id limit options + */ + +int /* O - Exit code */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + /* + * Install or list PPDs... + */ + + if (argc == 3 && !strcmp(argv[1], "cat")) + cat_ppd(argv[2], 0); + else if ((argc == 2 || argc == 3) && !strcmp(argv[1], "dump")) + dump_ppds_dat(argv[2]); + else if (argc == 4 && !strcmp(argv[1], "get")) + cat_ppd(argv[3], atoi(argv[2])); + else if (argc == 5 && !strcmp(argv[1], "list")) + list_ppds(atoi(argv[2]), atoi(argv[3]), argv[4]); + else + { + fputs("Usage: cups-driverd cat ppd-name\n", stderr); + fputs("Usage: cups-driverd dump\n", stderr); + fputs("Usage: cups-driverd get request_id ppd-name\n", stderr); + fputs("Usage: cups-driverd list request_id limit options\n", stderr); + return (1); + } +} + + +/* + * 'add_ppd()' - Add a PPD file. + */ + +static ppd_info_t * /* O - PPD */ +add_ppd(const char *filename, /* I - PPD filename */ + const char *name, /* I - PPD name */ + const char *language, /* I - LanguageVersion */ + const char *make, /* I - Manufacturer */ + const char *make_and_model, /* I - NickName/ModelName */ + const char *device_id, /* I - 1284DeviceID */ + const char *product, /* I - Product */ + const char *psversion, /* I - PSVersion */ + time_t mtime, /* I - Modification time */ + size_t size, /* I - File size */ + int model_number, /* I - Model number */ + int type, /* I - Driver type */ + const char *scheme) /* I - PPD scheme */ +{ + ppd_info_t *ppd; /* PPD */ + char *recommended; /* Foomatic driver string */ + + + /* + * Add a new PPD file... + */ + + if ((ppd = (ppd_info_t *)calloc(1, sizeof(ppd_info_t))) == NULL) + { + fprintf(stderr, + "ERROR: [cups-driverd] Ran out of memory for %d PPD files!\n", + cupsArrayCount(PPDsByName)); + return (NULL); + } + + /* + * Zero-out the PPD data and copy the values over... + */ + + ppd->found = 1; + ppd->record.mtime = mtime; + ppd->record.size = (off_t)size; + ppd->record.model_number = model_number; + ppd->record.type = type; + + strlcpy(ppd->record.filename, filename, sizeof(ppd->record.filename)); + strlcpy(ppd->record.name, name, sizeof(ppd->record.name)); + strlcpy(ppd->record.languages[0], language, + sizeof(ppd->record.languages[0])); + strlcpy(ppd->record.products[0], product, sizeof(ppd->record.products[0])); + strlcpy(ppd->record.psversions[0], psversion, + sizeof(ppd->record.psversions[0])); + strlcpy(ppd->record.make, make, sizeof(ppd->record.make)); + strlcpy(ppd->record.make_and_model, make_and_model, + sizeof(ppd->record.make_and_model)); + strlcpy(ppd->record.device_id, device_id, sizeof(ppd->record.device_id)); + strlcpy(ppd->record.scheme, scheme, sizeof(ppd->record.scheme)); + + /* + * Strip confusing (and often wrong) "recommended" suffix added by + * Foomatic drivers... + */ + + if ((recommended = strstr(ppd->record.make_and_model, + " (recommended)")) != NULL) + *recommended = '\0'; + + /* + * Add the PPD to the PPD arrays... + */ + + cupsArrayAdd(PPDsByName, ppd); + cupsArrayAdd(PPDsByMakeModel, ppd); + + /* + * Return the new PPD pointer... + */ + + return (ppd); +} + + +/* + * 'cat_drv()' - Generate a PPD from a driver info file. + */ + +static int /* O - Exit code */ +cat_drv(const char *name, /* I - PPD name */ + int request_id) /* I - Request ID for response? */ +{ + cups_file_t *fp; // File pointer + ppdcSource *src; // PPD source file data + ppdcDriver *d; // Current driver + cups_file_t *out; // Stdout via CUPS file API + char message[2048], // status-message + filename[1024], // Full path to .drv file(s) + scheme[32], // URI scheme ("drv") + userpass[256], // User/password info (unused) + host[2], // Hostname (unused) + resource[1024], // Resource path (/dir/to/filename.drv) + *pc_file_name; // Filename portion of URI + int port; // Port number (unused) + + + // Pull out the path to the .drv file... + if (httpSeparateURI(HTTP_URI_CODING_ALL, name, scheme, sizeof(scheme), + userpass, sizeof(userpass), host, sizeof(host), &port, + resource, sizeof(resource)) < HTTP_URI_OK) + { + fprintf(stderr, "ERROR: Bad PPD name \"%s\".\n", name); + + if (request_id) + { + snprintf(message, sizeof(message), "Bad PPD name \"%s\".", name); + + cupsdSendIPPHeader(IPP_NOT_FOUND, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", + "en-US"); + cupsdSendIPPString(IPP_TAG_TEXT, "status-message", message); + cupsdSendIPPTrailer(); + } + + return (1); + } + + if ((fp = get_file(resource, request_id, "drv", filename, sizeof(filename), &pc_file_name)) == NULL || !pc_file_name) + return (1); + + src = new ppdcSource(filename, fp); + + for (d = (ppdcDriver *)src->drivers->first(); + d; + d = (ppdcDriver *)src->drivers->next()) + if (!strcmp(pc_file_name, d->pc_file_name->value) || + (d->file_name && !strcmp(pc_file_name, d->file_name->value))) + break; + + if (d) + { + ppdcArray *locales; // Locale names + ppdcCatalog *catalog; // Message catalog in .drv file + + + fprintf(stderr, "DEBUG2: [cups-driverd] %u locales defined in \"%s\"...\n", (unsigned)src->po_files->count, filename); + + locales = new ppdcArray(); + for (catalog = (ppdcCatalog *)src->po_files->first(); + catalog; + catalog = (ppdcCatalog *)src->po_files->next()) + { + fprintf(stderr, "DEBUG2: [cups-driverd] Adding locale \"%s\"...\n", + catalog->locale->value); + catalog->locale->retain(); + locales->add(catalog->locale); + } + + if (request_id) + { + cupsdSendIPPHeader(IPP_OK, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", + "en-US"); + cupsdSendIPPTrailer(); + fflush(stdout); + } + + out = cupsFileStdout(); + d->write_ppd_file(out, NULL, locales, src, PPDC_LFONLY); + cupsFileClose(out); + + locales->release(); + } + else + { + fprintf(stderr, "ERROR: PPD \"%s\" not found.\n", name); + + if (request_id) + { + snprintf(message, sizeof(message), "PPD \"%s\" not found.", name); + + cupsdSendIPPHeader(IPP_NOT_FOUND, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", + "en-US"); + cupsdSendIPPString(IPP_TAG_TEXT, "status-message", message); + cupsdSendIPPTrailer(); + } + } + + src->release(); + cupsFileClose(fp); + + return (!d); +} + + +/* + * 'cat_ppd()' - Copy a PPD file to stdout. + */ + +static void +cat_ppd(const char *name, /* I - PPD name */ + int request_id) /* I - Request ID for response? */ +{ + char scheme[256], /* Scheme from PPD name */ + *sptr, /* Pointer into scheme */ + line[1024], /* Line/filename */ + message[2048]; /* status-message */ + + + /* + * Figure out if this is a static or dynamic PPD file... + */ + + if (strstr(name, "../")) + { + fputs("ERROR: Invalid PPD name.\n", stderr); + exit(1); + } + + strlcpy(scheme, name, sizeof(scheme)); + if ((sptr = strchr(scheme, ':')) != NULL) + { + *sptr = '\0'; + + if (!strcmp(scheme, "file")) + { + /* + * "file:name" == "name"... + */ + + name += 5; + + while (*name == '/') + name ++; + + if (!strstr(name, ".tar/") && !strstr(name, ".tar.gz/")) + scheme[0] = '\0'; + } + } + else + scheme[0] = '\0'; + + if (request_id > 0) + puts("Content-Type: application/ipp\n"); + + if (!scheme[0]) + exit(cat_static(name, request_id)); + else if (!strcmp(scheme, "drv")) + exit(cat_drv(name, request_id)); + else if (!strcmp(scheme, "file")) + exit(cat_tar(name, request_id)); + else + { + /* + * Dynamic PPD, see if we have a driver program to support it... + */ + + const char *serverbin; /* CUPS_SERVERBIN env var */ + char *argv[4]; /* Arguments for program */ + + + if ((serverbin = getenv("CUPS_SERVERBIN")) == NULL) + serverbin = CUPS_SERVERBIN; + + snprintf(line, sizeof(line), "%s/driver/%s", serverbin, scheme); + if (access(line, X_OK)) + { + /* + * File does not exist or is not executable... + */ + + fprintf(stderr, "ERROR: [cups-driverd] Unable to access \"%s\" - %s\n", + line, strerror(errno)); + + if (request_id > 0) + { + snprintf(message, sizeof(message), "Unable to access \"%s\" - %s", + line, strerror(errno)); + + cupsdSendIPPHeader(IPP_NOT_FOUND, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", + "en-US"); + cupsdSendIPPString(IPP_TAG_TEXT, "status-message", message); + cupsdSendIPPTrailer(); + } + + exit(1); + } + + /* + * Yes, let it cat the PPD file... + */ + + if (request_id) + { + cupsdSendIPPHeader(IPP_OK, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", + "en-US"); + cupsdSendIPPTrailer(); + } + + argv[0] = scheme; + argv[1] = (char *)"cat"; + argv[2] = (char *)name; + argv[3] = NULL; + + if (cupsdExec(line, argv)) + { + /* + * Unable to execute driver... + */ + + fprintf(stderr, "ERROR: [cups-driverd] Unable to execute \"%s\" - %s\n", + line, strerror(errno)); + exit(1); + } + } + + /* + * Exit with no errors... + */ + + exit(0); +} + + +/* + * 'copy_static()' - Copy a static PPD file to stdout. + */ + +static int /* O - Exit code */ +cat_static(const char *name, /* I - PPD name */ + int request_id) /* I - Request ID for response? */ +{ + cups_file_t *fp; /* PPD file */ + char filename[1024], /* PPD filename */ + line[1024]; /* Line buffer */ + + + if ((fp = get_file(name, request_id, "model", filename, sizeof(filename), + NULL)) == NULL) + return (1); + + if (request_id) + { + cupsdSendIPPHeader(IPP_OK, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", + "en-US"); + cupsdSendIPPTrailer(); + } + + /* + * Now copy the file to stdout... + */ + + while (cupsFileGets(fp, line, sizeof(line))) + puts(line); + + cupsFileClose(fp); + + return (0); +} + + +/* + * 'cat_tar()' - Copy an archived PPD file to stdout. + */ + +static int /* O - Exit code */ +cat_tar(const char *name, /* I - PPD name */ + int request_id) /* I - Request ID */ +{ + cups_file_t *fp; /* Archive file pointer */ + char filename[1024], /* Archive filename */ + *ppdname, /* PPD filename in archive */ + curname[256], /* Current name in archive */ + buffer[8192]; /* Copy buffer */ + struct stat curinfo; /* Current file info in archive */ + off_t total, /* Total bytes copied */ + next; /* Offset for next record in archive */ + ssize_t bytes; /* Bytes read */ + + + /* + * Open the archive file... + */ + + if ((fp = get_file(name, request_id, "model", filename, sizeof(filename), + &ppdname)) == NULL || !ppdname) + return (1); + + /* + * Scan the archive for the PPD... + */ + + while (read_tar(fp, curname, sizeof(curname), &curinfo)) + { + next = cupsFileTell(fp) + ((curinfo.st_size + TAR_BLOCK - 1) & + ~(TAR_BLOCK - 1)); + + if (!strcmp(ppdname, curname)) + { + if (request_id) + { + cupsdSendIPPHeader(IPP_OK, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", + "en-US"); + cupsdSendIPPTrailer(); + } + + for (total = 0; total < curinfo.st_size; total += bytes) + { + if ((size_t)(bytes = (curinfo.st_size - total)) > sizeof(buffer)) + bytes = sizeof(buffer); + + if ((bytes = cupsFileRead(fp, buffer, (size_t)bytes)) < 0) + { + if (errno == EINTR || errno == EAGAIN) + { + bytes = 0; + } + else + { + perror("ERROR: [cups-driverd] Read error"); + break; + } + } + else if (bytes > 0 && fwrite(buffer, (size_t)bytes, 1, stdout) != 1) + break; + } + + cupsFileClose(fp); + return (0); + } + + if (cupsFileTell(fp) != next) + cupsFileSeek(fp, next); + } + + cupsFileClose(fp); + + fprintf(stderr, "ERROR: PPD \"%s\" not found.\n", name); + + if (request_id) + { + snprintf(buffer, sizeof(buffer), "PPD \"%s\" not found.", name); + + cupsdSendIPPHeader(IPP_NOT_FOUND, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", + "en-US"); + cupsdSendIPPString(IPP_TAG_TEXT, "status-message", buffer); + cupsdSendIPPTrailer(); + } + + return (1); +} + + +/* + * 'compare_inodes()' - Compare two inodes. + */ + +static int /* O - Result of comparison */ +compare_inodes(struct stat *a, /* I - First inode */ + struct stat *b) /* I - Second inode */ +{ + if (a->st_dev != b->st_dev) + return (a->st_dev - b->st_dev); + else + return (a->st_ino - b->st_ino); +} + + +/* + * 'compare_matches()' - Compare PPD match scores for sorting. + */ + +static int +compare_matches(const ppd_info_t *p0, /* I - First PPD */ + const ppd_info_t *p1) /* I - Second PPD */ +{ + if (p1->matches != p0->matches) + return (p1->matches - p0->matches); + else + return (cupsdCompareNames(p0->record.make_and_model, + p1->record.make_and_model)); +} + + +/* + * 'compare_names()' - Compare PPD filenames for sorting. + */ + +static int /* O - Result of comparison */ +compare_names(const ppd_info_t *p0, /* I - First PPD file */ + const ppd_info_t *p1) /* I - Second PPD file */ +{ + int diff; /* Difference between strings */ + + + if ((diff = strcmp(p0->record.filename, p1->record.filename)) != 0) + return (diff); + else + return (strcmp(p0->record.name, p1->record.name)); +} + + +/* + * 'compare_ppds()' - Compare PPD file make and model names for sorting. + */ + +static int /* O - Result of comparison */ +compare_ppds(const ppd_info_t *p0, /* I - First PPD file */ + const ppd_info_t *p1) /* I - Second PPD file */ +{ + int diff; /* Difference between strings */ + + + /* + * First compare manufacturers... + */ + + if ((diff = _cups_strcasecmp(p0->record.make, p1->record.make)) != 0) + return (diff); + else if ((diff = cupsdCompareNames(p0->record.make_and_model, + p1->record.make_and_model)) != 0) + return (diff); + else if ((diff = strcmp(p0->record.languages[0], + p1->record.languages[0])) != 0) + return (diff); + else + return (compare_names(p0, p1)); +} + + +/* + * 'dump_ppds_dat()' - Dump the contents of the ppds.dat file. + */ + +static void +dump_ppds_dat(const char *filename) /* I - Filename */ +{ + char temp[1024]; /* ppds.dat filename */ + ppd_info_t *ppd; /* Current PPD */ + + + /* + * See if we a PPD database file... + */ + + if (filename) + strlcpy(temp, filename, sizeof(temp)); + else + temp[0] = '\0'; + + load_ppds_dat(temp, sizeof(temp), 0); + + puts("mtime,size,model_number,type,filename,name,languages0,products0," + "psversions0,make,make_and_model,device_id,scheme"); + for (ppd = (ppd_info_t *)cupsArrayFirst(PPDsByName); + ppd; + ppd = (ppd_info_t *)cupsArrayNext(PPDsByName)) + printf("%d,%ld,%d,%d,\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\"," + "\"%s\",\"%s\"\n", + (int)ppd->record.mtime, (long)ppd->record.size, + ppd->record.model_number, ppd->record.type, ppd->record.filename, + ppd->record.name, ppd->record.languages[0], ppd->record.products[0], + ppd->record.psversions[0], ppd->record.make, + ppd->record.make_and_model, ppd->record.device_id, + ppd->record.scheme); + + exit(0); +} + + +/* + * 'free_array()' - Free an array of strings. + */ + +static void +free_array(cups_array_t *a) /* I - Array to free */ +{ + char *ptr; /* Pointer to string */ + + + for (ptr = (char *)cupsArrayFirst(a); + ptr; + ptr = (char *)cupsArrayNext(a)) + free(ptr); + + cupsArrayDelete(a); +} + + +/* + * 'get_file()' - Get the filename associated with a request. + */ + +static cups_file_t * /* O - File pointer or NULL */ +get_file(const char *name, /* I - Name */ + int request_id, /* I - Request ID */ + const char *subdir, /* I - Subdirectory for file */ + char *buffer, /* I - Filename buffer */ + size_t bufsize, /* I - Size of filename buffer */ + char **subfile) /* O - Sub-filename */ +{ + cups_file_t *fp; /* File pointer */ + const char *datadir; /* CUPS_DATADIR env var */ + char *bufptr, /* Pointer into filename buffer */ + message[2048]; /* status-message */ +#ifdef __APPLE__ + const char *printerDriver, /* Pointer to .printerDriver extension */ + *slash; /* Pointer to next slash */ +#endif /* __APPLE__ */ + + + if (subfile) + *subfile = NULL; + + while (*name == '/') + name ++; + + if (strstr(name, "../") || strstr(name, "/..")) + { + /* + * Bad name... + */ + + fprintf(stderr, "ERROR: [cups-driverd] Bad PPD name \"%s\".\n", name); + + if (request_id) + { + snprintf(message, sizeof(message), "Bad PPD name \"%s\".", name); + + cupsdSendIPPHeader(IPP_NOT_FOUND, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", + "en-US"); + cupsdSendIPPString(IPP_TAG_TEXT, "status-message", message); + cupsdSendIPPTrailer(); + } + + return (NULL); + } + + /* + * Try opening the file... + */ + +#ifdef __APPLE__ + if (!strncmp(name, "System/Library/Printers/PPDs/Contents/Resources/", 48) || + !strncmp(name, "Library/Printers/PPDs/Contents/Resources/", 41) || + (!strncmp(name, "System/Library/Printers/", 24) && + (printerDriver = + strstr(name + 24, + ".printerDriver/Contents/Resources/PPDs")) != NULL && + (slash = strchr(name + 24, '/')) != NULL && + slash > printerDriver) || + (!strncmp(name, "Library/Printers/", 17) && + (printerDriver = + strstr(name + 17, + ".printerDriver/Contents/Resources/PPDs")) != NULL && + (slash = strchr(name + 17, '/')) != NULL && + slash > printerDriver)) + { + /* + * Map ppd-name to macOS standard locations... + */ + + snprintf(buffer, bufsize, "/%s", name); + } + else + +#elif defined(__linux) + if (!strncmp(name, "lsb/usr/", 8)) + { + /* + * Map ppd-name to LSB standard /usr/share/ppd location... + */ + + snprintf(buffer, bufsize, "/usr/share/ppd/%s", name + 8); + } + else if (!strncmp(name, "lsb/opt/", 8)) + { + /* + * Map ppd-name to LSB standard /opt/share/ppd location... + */ + + snprintf(buffer, bufsize, "/opt/share/ppd/%s", name + 8); + } + else if (!strncmp(name, "lsb/local/", 10)) + { + /* + * Map ppd-name to LSB standard /usr/local/share/ppd location... + */ + + snprintf(buffer, bufsize, "/usr/local/share/ppd/%s", name + 10); + } + else + +#endif /* __APPLE__ */ + { + if ((datadir = getenv("CUPS_DATADIR")) == NULL) + datadir = CUPS_DATADIR; + + snprintf(buffer, bufsize, "%s/%s/%s", datadir, subdir, name); + } + + /* + * Strip anything after ".drv/", ".drv.gz/", ".tar/", or ".tar.gz/"... + */ + + if (subfile) + { + if ((bufptr = strstr(buffer, ".drv/")) != NULL) + bufptr += 4; + else if ((bufptr = strstr(buffer, ".drv.gz/")) != NULL) + bufptr += 7; + else if ((bufptr = strstr(buffer, ".tar/")) != NULL) + bufptr += 4; + else if ((bufptr = strstr(buffer, ".tar.gz/")) != NULL) + bufptr += 7; + + if (bufptr) + { + *bufptr++ = '\0'; + *subfile = bufptr; + } + } + + /* + * Try opening the file... + */ + + if ((fp = cupsFileOpen(buffer, "r")) == NULL) + { + fprintf(stderr, "ERROR: [cups-driverd] Unable to open \"%s\" - %s\n", + buffer, strerror(errno)); + + if (request_id) + { + snprintf(message, sizeof(message), "Unable to open \"%s\" - %s", + buffer, strerror(errno)); + + cupsdSendIPPHeader(IPP_NOT_FOUND, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", + "en-US"); + cupsdSendIPPString(IPP_TAG_TEXT, "status-message", message); + cupsdSendIPPTrailer(); + } + + return (NULL); + } + + return (fp); +} + + +/* + * 'list_ppds()' - List PPD files. + */ + +static void +list_ppds(int request_id, /* I - Request ID */ + int limit, /* I - Limit */ + const char *opt) /* I - Option argument */ +{ + int i; /* Looping vars */ + int count; /* Number of PPDs to send */ + ppd_info_t *ppd; /* Current PPD file */ + cups_file_t *fp; /* ppds.dat file */ + char filename[1024], /* ppds.dat filename */ + model[1024]; /* Model directory */ + const char *cups_datadir; /* CUPS_DATADIR environment variable */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ + cups_array_t *requested, /* requested-attributes values */ + *include, /* PPD schemes to include */ + *exclude; /* PPD schemes to exclude */ + const char *device_id, /* ppd-device-id option */ + *language, /* ppd-natural-language option */ + *make, /* ppd-make option */ + *make_and_model, /* ppd-make-and-model option */ + *model_number_str, /* ppd-model-number option */ + *product, /* ppd-product option */ + *psversion, /* ppd-psversion option */ + *type_str; /* ppd-type option */ + int model_number, /* ppd-model-number value */ + type, /* ppd-type value */ + send_device_id, /* Send ppd-device-id? */ + send_make, /* Send ppd-make? */ + send_make_and_model, /* Send ppd-make-and-model? */ + send_model_number, /* Send ppd-model-number? */ + send_name, /* Send ppd-name? */ + send_natural_language, /* Send ppd-natural-language? */ + send_product, /* Send ppd-product? */ + send_psversion, /* Send ppd-psversion? */ + send_type, /* Send ppd-type? */ + sent_header; /* Sent the IPP header? */ + size_t make_and_model_len, /* Length of ppd-make-and-model */ + product_len; /* Length of ppd-product */ + regex_t *device_id_re, /* Regular expression for matching device ID */ + *make_and_model_re; /* Regular expression for matching make and model */ + regmatch_t re_matches[6]; /* Regular expression matches */ + cups_array_t *matches; /* Matching PPDs */ + + + fprintf(stderr, + "DEBUG2: [cups-driverd] list_ppds(request_id=%d, limit=%d, " + "opt=\"%s\"\n", request_id, limit, opt); + + /* + * See if we a PPD database file... + */ + + filename[0] = '\0'; + load_ppds_dat(filename, sizeof(filename), 1); + + /* + * Load all PPDs in the specified directory and below... + */ + + if ((cups_datadir = getenv("CUPS_DATADIR")) == NULL) + cups_datadir = CUPS_DATADIR; + + Inodes = cupsArrayNew((cups_array_func_t)compare_inodes, NULL); + + snprintf(model, sizeof(model), "%s/model", cups_datadir); + load_ppds(model, "", 1); + + snprintf(model, sizeof(model), "%s/drv", cups_datadir); + load_ppds(model, "", 1); + +#ifdef __APPLE__ + /* + * Load PPDs from standard macOS locations... + */ + + load_ppds("/Library/Printers", + "Library/Printers", 0); + load_ppds("/Library/Printers/PPDs/Contents/Resources", + "Library/Printers/PPDs/Contents/Resources", 0); + load_ppds("/Library/Printers/PPDs/Contents/Resources/en.lproj", + "Library/Printers/PPDs/Contents/Resources/en.lproj", 0); + load_ppds("/System/Library/Printers", + "System/Library/Printers", 0); + load_ppds("/System/Library/Printers/PPDs/Contents/Resources", + "System/Library/Printers/PPDs/Contents/Resources", 0); + load_ppds("/System/Library/Printers/PPDs/Contents/Resources/en.lproj", + "System/Library/Printers/PPDs/Contents/Resources/en.lproj", 0); + +#elif defined(__linux) + /* + * Load PPDs from LSB-defined locations... + */ + + if (!access("/usr/local/share/ppd", 0)) + load_ppds("/usr/local/share/ppd", "lsb/local", 1); + if (!access("/usr/share/ppd", 0)) + load_ppds("/usr/share/ppd", "lsb/usr", 1); + if (!access("/opt/share/ppd", 0)) + load_ppds("/opt/share/ppd", "lsb/opt", 1); +#endif /* __APPLE__ */ + + /* + * Cull PPD files that are no longer present... + */ + + for (ppd = (ppd_info_t *)cupsArrayFirst(PPDsByName); + ppd; + ppd = (ppd_info_t *)cupsArrayNext(PPDsByName)) + if (!ppd->found) + { + /* + * Remove this PPD file from the list... + */ + + cupsArrayRemove(PPDsByName, ppd); + cupsArrayRemove(PPDsByMakeModel, ppd); + free(ppd); + + ChangedPPD = 1; + } + + /* + * Write the new ppds.dat file... + */ + + fprintf(stderr, "DEBUG: [cups-driverd] ChangedPPD=%d\n", ChangedPPD); + + if (ChangedPPD) + { + char newname[1024]; /* New filename */ + + snprintf(newname, sizeof(newname), "%s.%d", filename, (int)getpid()); + + if ((fp = cupsFileOpen(newname, "w")) != NULL) + { + unsigned ppdsync = PPD_SYNC; /* Sync word */ + + cupsFileWrite(fp, (char *)&ppdsync, sizeof(ppdsync)); + + for (ppd = (ppd_info_t *)cupsArrayFirst(PPDsByName); + ppd; + ppd = (ppd_info_t *)cupsArrayNext(PPDsByName)) + cupsFileWrite(fp, (char *)&(ppd->record), sizeof(ppd_rec_t)); + + cupsFileClose(fp); + + if (rename(newname, filename)) + fprintf(stderr, "ERROR: [cups-driverd] Unable to rename \"%s\" - %s\n", + newname, strerror(errno)); + else + fprintf(stderr, "INFO: [cups-driverd] Wrote \"%s\", %d PPDs...\n", + filename, cupsArrayCount(PPDsByName)); + } + else + fprintf(stderr, "ERROR: [cups-driverd] Unable to write \"%s\" - %s\n", + filename, strerror(errno)); + } + else + fputs("INFO: [cups-driverd] No new or changed PPDs...\n", stderr); + + /* + * Scan for dynamic PPD files... + */ + + num_options = cupsParseOptions(opt, 0, &options); + exclude = cupsdCreateStringsArray(cupsGetOption("exclude-schemes", + num_options, options)); + include = cupsdCreateStringsArray(cupsGetOption("include-schemes", + num_options, options)); + + load_drivers(include, exclude); + + /* + * Add the raw driver... + */ + + add_ppd("", "raw", "en", "Raw", "Raw Queue", "", "", "", 0, 0, 0, + PPD_TYPE_UNKNOWN, "raw"); + + /* + * Send IPP attributes... + */ + + requested = cupsdCreateStringsArray( + cupsGetOption("requested-attributes", num_options, + options)); + device_id = cupsGetOption("ppd-device-id", num_options, options); + language = cupsGetOption("ppd-natural-language", num_options, options); + make = cupsGetOption("ppd-make", num_options, options); + make_and_model = cupsGetOption("ppd-make-and-model", num_options, options); + model_number_str = cupsGetOption("ppd-model-number", num_options, options); + product = cupsGetOption("ppd-product", num_options, options); + psversion = cupsGetOption("ppd-psversion", num_options, options); + type_str = cupsGetOption("ppd-type", num_options, options); + + if (make_and_model) + make_and_model_len = strlen(make_and_model); + else + make_and_model_len = 0; + + if (product) + product_len = strlen(product); + else + product_len = 0; + + if (model_number_str) + model_number = atoi(model_number_str); + else + model_number = 0; + + if (type_str) + { + for (type = 0; + type < (int)(sizeof(PPDTypes) / sizeof(PPDTypes[0])); + type ++) + if (!strcmp(type_str, PPDTypes[type])) + break; + + if (type >= (int)(sizeof(PPDTypes) / sizeof(PPDTypes[0]))) + { + fprintf(stderr, "ERROR: [cups-driverd] Bad ppd-type=\"%s\" ignored!\n", + type_str); + type_str = NULL; + } + } + else + type = 0; + + for (i = 0; i < num_options; i ++) + fprintf(stderr, "DEBUG2: [cups-driverd] %s=\"%s\"\n", options[i].name, + options[i].value); + + if (!requested || cupsArrayFind(requested, (void *)"all") != NULL) + { + send_name = 1; + send_make = 1; + send_make_and_model = 1; + send_model_number = 1; + send_natural_language = 1; + send_device_id = 1; + send_product = 1; + send_psversion = 1; + send_type = 1; + } + else + { + send_name = cupsArrayFind(requested, + (void *)"ppd-name") != NULL; + send_make = cupsArrayFind(requested, + (void *)"ppd-make") != NULL; + send_make_and_model = cupsArrayFind(requested, + (void *)"ppd-make-and-model") != NULL; + send_model_number = cupsArrayFind(requested, + (void *)"ppd-model-number") != NULL; + send_natural_language = cupsArrayFind(requested, + (void *)"ppd-natural-language") != NULL; + send_device_id = cupsArrayFind(requested, + (void *)"ppd-device-id") != NULL; + send_product = cupsArrayFind(requested, + (void *)"ppd-product") != NULL; + send_psversion = cupsArrayFind(requested, + (void *)"ppd-psversion") != NULL; + send_type = cupsArrayFind(requested, + (void *)"ppd-type") != NULL; + } + + /* + * Send the content type header to the scheduler; request_id can only be + * 0 when run manually since the scheduler enforces the IPP requirement for + * a request ID from 1 to 2^31-1... + */ + + if (request_id > 0) + puts("Content-Type: application/ipp\n"); + + sent_header = 0; + + if (limit <= 0 || limit > cupsArrayCount(PPDsByMakeModel)) + count = cupsArrayCount(PPDsByMakeModel); + else + count = limit; + + if (device_id || language || make || make_and_model || model_number_str || + product) + { + matches = cupsArrayNew((cups_array_func_t)compare_matches, NULL); + + if (device_id) + device_id_re = regex_device_id(device_id); + else + device_id_re = NULL; + + if (make_and_model) + make_and_model_re = regex_string(make_and_model); + else + make_and_model_re = NULL; + + for (ppd = (ppd_info_t *)cupsArrayFirst(PPDsByMakeModel); + ppd; + ppd = (ppd_info_t *)cupsArrayNext(PPDsByMakeModel)) + { + /* + * Filter PPDs based on make, model, product, language, model number, + * and/or device ID using the "matches" score value. An exact match + * for product, make-and-model, or device-id adds 3 to the score. + * Partial matches for make-and-model yield 1 or 2 points, and matches + * for the make and language add a single point. Results are then sorted + * by score, highest score first. + */ + + if (ppd->record.type < PPD_TYPE_POSTSCRIPT || + ppd->record.type >= PPD_TYPE_DRV) + continue; + + if (cupsArrayFind(exclude, ppd->record.scheme) || + (include && !cupsArrayFind(include, ppd->record.scheme))) + continue; + + ppd->matches = 0; + + if (device_id_re && + !regexec(device_id_re, ppd->record.device_id, + (size_t)(sizeof(re_matches) / sizeof(re_matches[0])), + re_matches, 0)) + { + /* + * Add the number of matching values from the device ID - it will be + * at least 2 (manufacturer and model), and as much as 3 (command set). + */ + + for (i = 1; i < (int)(sizeof(re_matches) / sizeof(re_matches[0])); i ++) + if (re_matches[i].rm_so >= 0) + ppd->matches ++; + } + + if (language) + { + for (i = 0; i < PPD_MAX_LANG; i ++) + if (!ppd->record.languages[i][0]) + break; + else if (!strcmp(ppd->record.languages[i], language)) + { + ppd->matches ++; + break; + } + } + + if (make && !_cups_strcasecmp(ppd->record.make, make)) + ppd->matches ++; + + if (make_and_model_re && + !regexec(make_and_model_re, ppd->record.make_and_model, + (size_t)(sizeof(re_matches) / sizeof(re_matches[0])), + re_matches, 0)) + { + // See how much of the make-and-model string we matched... + if (re_matches[0].rm_so == 0) + { + if ((size_t)re_matches[0].rm_eo == make_and_model_len) + ppd->matches += 3; // Exact match + else + ppd->matches += 2; // Prefix match + } + else + ppd->matches ++; // Infix match + } + + if (model_number_str && ppd->record.model_number == model_number) + ppd->matches ++; + + if (product) + { + for (i = 0; i < PPD_MAX_PROD; i ++) + if (!ppd->record.products[i][0]) + break; + else if (!_cups_strcasecmp(ppd->record.products[i], product)) + { + ppd->matches += 3; + break; + } + else if (!_cups_strncasecmp(ppd->record.products[i], product, + product_len)) + { + ppd->matches += 2; + break; + } + } + + if (psversion) + { + for (i = 0; i < PPD_MAX_VERS; i ++) + if (!ppd->record.psversions[i][0]) + break; + else if (!_cups_strcasecmp(ppd->record.psversions[i], psversion)) + { + ppd->matches ++; + break; + } + } + + if (type_str && ppd->record.type == type) + ppd->matches ++; + + if (ppd->matches) + { + fprintf(stderr, "DEBUG2: [cups-driverd] %s matches with score %d!\n", + ppd->record.name, ppd->matches); + cupsArrayAdd(matches, ppd); + } + } + } + else if (include || exclude) + { + matches = cupsArrayNew((cups_array_func_t)compare_ppds, NULL); + + for (ppd = (ppd_info_t *)cupsArrayFirst(PPDsByMakeModel); + ppd; + ppd = (ppd_info_t *)cupsArrayNext(PPDsByMakeModel)) + { + /* + * Filter PPDs based on the include/exclude lists. + */ + + if (ppd->record.type < PPD_TYPE_POSTSCRIPT || + ppd->record.type >= PPD_TYPE_DRV) + continue; + + if (cupsArrayFind(exclude, ppd->record.scheme) || + (include && !cupsArrayFind(include, ppd->record.scheme))) + continue; + + cupsArrayAdd(matches, ppd); + } + } + else + matches = PPDsByMakeModel; + + for (ppd = (ppd_info_t *)cupsArrayFirst(matches); + count > 0 && ppd; + ppd = (ppd_info_t *)cupsArrayNext(matches)) + { + /* + * Skip invalid PPDs... + */ + + if (ppd->record.type < PPD_TYPE_POSTSCRIPT || + ppd->record.type >= PPD_TYPE_DRV) + continue; + + /* + * Send this PPD... + */ + + if (!sent_header) + { + sent_header = 1; + + if (request_id) + { + cupsdSendIPPHeader(IPP_OK, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", + "en-US"); + } + } + + fprintf(stderr, "DEBUG2: [cups-driverd] Sending %s (%s)...\n", + ppd->record.name, ppd->record.make_and_model); + + count --; + + if (request_id) + { + cupsdSendIPPGroup(IPP_TAG_PRINTER); + + if (send_name) + cupsdSendIPPString(IPP_TAG_NAME, "ppd-name", ppd->record.name); + + if (send_natural_language) + { + cupsdSendIPPString(IPP_TAG_LANGUAGE, "ppd-natural-language", + ppd->record.languages[0]); + + for (i = 1; i < PPD_MAX_LANG && ppd->record.languages[i][0]; i ++) + cupsdSendIPPString(IPP_TAG_LANGUAGE, "", ppd->record.languages[i]); + } + + if (send_make) + cupsdSendIPPString(IPP_TAG_TEXT, "ppd-make", ppd->record.make); + + if (send_make_and_model) + cupsdSendIPPString(IPP_TAG_TEXT, "ppd-make-and-model", + ppd->record.make_and_model); + + if (send_device_id) + cupsdSendIPPString(IPP_TAG_TEXT, "ppd-device-id", + ppd->record.device_id); + + if (send_product) + { + cupsdSendIPPString(IPP_TAG_TEXT, "ppd-product", + ppd->record.products[0]); + + for (i = 1; i < PPD_MAX_PROD && ppd->record.products[i][0]; i ++) + cupsdSendIPPString(IPP_TAG_TEXT, "", ppd->record.products[i]); + } + + if (send_psversion) + { + cupsdSendIPPString(IPP_TAG_TEXT, "ppd-psversion", + ppd->record.psversions[0]); + + for (i = 1; i < PPD_MAX_VERS && ppd->record.psversions[i][0]; i ++) + cupsdSendIPPString(IPP_TAG_TEXT, "", ppd->record.psversions[i]); + } + + if (send_type) + { + if (ppd->record.type < PPD_TYPE_POSTSCRIPT || ppd->record.type > PPD_TYPE_ARCHIVE) + { + /* + * This cache file is corrupted, remove it! + */ + + unlink(filename); + + cupsdSendIPPString(IPP_TAG_KEYWORD, "ppd-type", PPDTypes[PPD_TYPE_UNKNOWN]); + } + else + cupsdSendIPPString(IPP_TAG_KEYWORD, "ppd-type", PPDTypes[ppd->record.type]); + } + + if (send_model_number) + cupsdSendIPPInteger(IPP_TAG_INTEGER, "ppd-model-number", + ppd->record.model_number); + } + else + printf("%s (%s)\n", ppd->record.name, ppd->record.make_and_model); + + /* + * If we have only requested the ppd-make attribute, then skip + * the remaining PPDs with this make... + */ + + if (cupsArrayFind(requested, (void *)"ppd-make") && + cupsArrayCount(requested) == 1) + { + const char *this_make; /* This ppd-make */ + + + for (this_make = ppd->record.make, + ppd = (ppd_info_t *)cupsArrayNext(matches); + ppd; + ppd = (ppd_info_t *)cupsArrayNext(matches)) + if (_cups_strcasecmp(this_make, ppd->record.make)) + break; + + cupsArrayPrev(matches); + } + } + + if (!sent_header && request_id) + { + cupsdSendIPPHeader(IPP_NOT_FOUND, request_id); + cupsdSendIPPGroup(IPP_TAG_OPERATION); + cupsdSendIPPString(IPP_TAG_CHARSET, "attributes-charset", "utf-8"); + cupsdSendIPPString(IPP_TAG_LANGUAGE, "attributes-natural-language", "en-US"); + } + + if (request_id) + cupsdSendIPPTrailer(); + + exit(0); +} + + +/* + * 'load_drv()' - Load the PPDs from a driver information file. + */ + +static int /* O - 1 on success, 0 on failure */ +load_drv(const char *filename, /* I - Actual filename */ + const char *name, /* I - Name to the rest of the world */ + cups_file_t *fp, /* I - File to read from */ + time_t mtime, /* I - Mod time of driver info file */ + off_t size) /* I - Size of driver info file */ +{ + ppdcSource *src; // Driver information file + ppdcDriver *d; // Current driver + ppdcAttr *device_id, // 1284DeviceID attribute + *product, // Current product value + *ps_version, // PSVersion attribute + *cups_fax, // cupsFax attribute + *nick_name; // NickName attribute + ppdcFilter *filter; // Current filter + ppd_info_t *ppd; // Current PPD + int products_found; // Number of products found + char uri[1024], // Driver URI + make_model[1024]; // Make and model + int type; // Driver type + + + /* + * Load the driver info file... + */ + + src = new ppdcSource(filename, fp); + + if (src->drivers->count == 0) + { + fprintf(stderr, + "ERROR: [cups-driverd] Bad driver information file \"%s\"!\n", + filename); + src->release(); + return (0); + } + + /* + * Add a dummy entry for the file... + */ + + add_ppd(name, name, "", "", "", "", "", "", mtime, (size_t)size, 0, PPD_TYPE_DRV, "drv"); + ChangedPPD = 1; + + /* + * Then the drivers in the file... + */ + + for (d = (ppdcDriver *)src->drivers->first(); + d; + d = (ppdcDriver *)src->drivers->next()) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "drv", "", "", 0, + "/%s/%s", name, + d->file_name ? d->file_name->value : + d->pc_file_name->value); + + device_id = d->find_attr("1284DeviceID", NULL); + ps_version = d->find_attr("PSVersion", NULL); + nick_name = d->find_attr("NickName", NULL); + + if (nick_name) + strlcpy(make_model, nick_name->value->value, sizeof(make_model)); + else if (_cups_strncasecmp(d->model_name->value, d->manufacturer->value, + strlen(d->manufacturer->value))) + snprintf(make_model, sizeof(make_model), "%s %s, %s", + d->manufacturer->value, d->model_name->value, + d->version->value); + else + snprintf(make_model, sizeof(make_model), "%s, %s", d->model_name->value, + d->version->value); + + if ((cups_fax = d->find_attr("cupsFax", NULL)) != NULL && + !_cups_strcasecmp(cups_fax->value->value, "true")) + type = PPD_TYPE_FAX; + else if (d->type == PPDC_DRIVER_PS) + type = PPD_TYPE_POSTSCRIPT; + else if (d->type != PPDC_DRIVER_CUSTOM) + type = PPD_TYPE_RASTER; + else + { + for (filter = (ppdcFilter *)d->filters->first(), + type = PPD_TYPE_POSTSCRIPT; + filter; + filter = (ppdcFilter *)d->filters->next()) + if (_cups_strcasecmp(filter->mime_type->value, "application/vnd.cups-raster")) + type = PPD_TYPE_RASTER; + else if (_cups_strcasecmp(filter->mime_type->value, + "application/vnd.cups-pdf")) + type = PPD_TYPE_PDF; + } + + for (product = (ppdcAttr *)d->attrs->first(), products_found = 0, + ppd = NULL; + product; + product = (ppdcAttr *)d->attrs->next()) + if (!strcmp(product->name->value, "Product")) + { + if (!products_found) + ppd = add_ppd(name, uri, "en", d->manufacturer->value, make_model, device_id ? device_id->value->value : "", product->value->value, + ps_version ? ps_version->value->value : "(3010) 0", mtime, (size_t)size, d->model_number, type, "drv"); + else if (products_found < PPD_MAX_PROD) + strlcpy(ppd->record.products[products_found], product->value->value, sizeof(ppd->record.products[0])); + else + break; + + products_found ++; + } + + if (!products_found) + add_ppd(name, uri, "en", d->manufacturer->value, make_model, device_id ? device_id->value->value : "", d->model_name->value, ps_version ? ps_version->value->value : "(3010) 0", mtime, (size_t)size, d->model_number, type, "drv"); + } + + src->release(); + + return (1); +} + + +/* + * 'load_drivers()' - Load driver-generated PPD files. + */ + +static int /* O - 1 on success, 0 on failure */ +load_drivers(cups_array_t *include, /* I - Drivers to include */ + cups_array_t *exclude) /* I - Drivers to exclude */ +{ + int i; /* Looping var */ + char *start, /* Start of value */ + *ptr; /* Pointer into string */ + const char *server_bin, /* CUPS_SERVERBIN env variable */ + *scheme, /* Scheme for this driver */ + *scheme_end; /* Pointer to end of scheme */ + char drivers[1024]; /* Location of driver programs */ + int pid; /* Process ID for driver program */ + cups_file_t *fp; /* Pipe to driver program */ + cups_dir_t *dir; /* Directory pointer */ + cups_dentry_t *dent; /* Directory entry */ + char *argv[3], /* Arguments for command */ + filename[1024], /* Name of driver */ + line[2048], /* Line from driver */ + name[256], /* ppd-name */ + make[128], /* ppd-make */ + make_and_model[128], /* ppd-make-and-model */ + device_id[256], /* ppd-device-id */ + languages[128], /* ppd-natural-language */ + product[128], /* ppd-product */ + psversion[128], /* ppd-psversion */ + type_str[128]; /* ppd-type */ + int type; /* PPD type */ + ppd_info_t *ppd; /* Newly added PPD */ + + + /* + * Try opening the driver directory... + */ + + if ((server_bin = getenv("CUPS_SERVERBIN")) == NULL) + server_bin = CUPS_SERVERBIN; + + snprintf(drivers, sizeof(drivers), "%s/driver", server_bin); + + if ((dir = cupsDirOpen(drivers)) == NULL) + { + fprintf(stderr, "ERROR: [cups-driverd] Unable to open driver directory " + "\"%s\": %s\n", + drivers, strerror(errno)); + return (0); + } + + /* + * Loop through all of the device drivers... + */ + + argv[1] = (char *)"list"; + argv[2] = NULL; + + while ((dent = cupsDirRead(dir)) != NULL) + { + /* + * Only look at executable files... + */ + + if (!(dent->fileinfo.st_mode & 0111) || !S_ISREG(dent->fileinfo.st_mode)) + continue; + + /* + * Include/exclude specific drivers... + */ + + if (exclude) + { + /* + * Look for "scheme" or "scheme*" (prefix match), and skip any matches. + */ + + for (scheme = (char *)cupsArrayFirst(exclude); + scheme; + scheme = (char *)cupsArrayNext(exclude)) + { + fprintf(stderr, "DEBUG: [cups-driverd] Exclude \"%s\" with \"%s\"?\n", + dent->filename, scheme); + scheme_end = scheme + strlen(scheme) - 1; + + if ((scheme_end > scheme && *scheme_end == '*' && + !strncmp(scheme, dent->filename, (size_t)(scheme_end - scheme))) || + !strcmp(scheme, dent->filename)) + { + fputs("DEBUG: [cups-driverd] Yes, exclude!\n", stderr); + break; + } + } + + if (scheme) + continue; + } + + if (include) + { + /* + * Look for "scheme" or "scheme*" (prefix match), and skip any non-matches. + */ + + for (scheme = (char *)cupsArrayFirst(include); + scheme; + scheme = (char *)cupsArrayNext(include)) + { + fprintf(stderr, "DEBUG: [cups-driverd] Include \"%s\" with \"%s\"?\n", + dent->filename, scheme); + scheme_end = scheme + strlen(scheme) - 1; + + if ((scheme_end > scheme && *scheme_end == '*' && + !strncmp(scheme, dent->filename, (size_t)(scheme_end - scheme))) || + !strcmp(scheme, dent->filename)) + { + fputs("DEBUG: [cups-driverd] Yes, include!\n", stderr); + break; + } + } + + if (!scheme) + continue; + } + else + scheme = dent->filename; + + /* + * Run the driver with no arguments and collect the output... + */ + + snprintf(filename, sizeof(filename), "%s/%s", drivers, dent->filename); + + if (_cupsFileCheck(filename, _CUPS_FILE_CHECK_PROGRAM, !geteuid(), + _cupsFileCheckFilter, NULL)) + continue; + + argv[0] = dent->filename; + + if ((fp = cupsdPipeCommand(&pid, filename, argv, 0)) != NULL) + { + while (cupsFileGets(fp, line, sizeof(line))) + { + /* + * Each line is of the form: + * + * "ppd-name" ppd-natural-language "ppd-make" "ppd-make-and-model" \ + * "ppd-device-id" "ppd-product" "ppd-psversion" + */ + + device_id[0] = '\0'; + product[0] = '\0'; + psversion[0] = '\0'; + strlcpy(type_str, "postscript", sizeof(type_str)); + + if (sscanf(line, "\"%255[^\"]\"%127s%*[ \t]\"%127[^\"]\"" + "%*[ \t]\"%127[^\"]\"%*[ \t]\"%255[^\"]\"" + "%*[ \t]\"%127[^\"]\"%*[ \t]\"%127[^\"]\"" + "%*[ \t]\"%127[^\"]\"", + name, languages, make, make_and_model, + device_id, product, psversion, type_str) < 4) + { + /* + * Bad format; strip trailing newline and write an error message. + */ + + if (line[strlen(line) - 1] == '\n') + line[strlen(line) - 1] = '\0'; + + fprintf(stderr, "ERROR: [cups-driverd] Bad line from \"%s\": %s\n", + dent->filename, line); + break; + } + else + { + /* + * Add the device to the array of available devices... + */ + + if ((start = strchr(languages, ',')) != NULL) + *start++ = '\0'; + + for (type = 0; + type < (int)(sizeof(PPDTypes) / sizeof(PPDTypes[0])); + type ++) + if (!strcmp(type_str, PPDTypes[type])) + break; + + if (type >= (int)(sizeof(PPDTypes) / sizeof(PPDTypes[0]))) + { + fprintf(stderr, + "ERROR: [cups-driverd] Bad ppd-type \"%s\" ignored!\n", + type_str); + type = PPD_TYPE_UNKNOWN; + } + + ppd = add_ppd(filename, name, languages, make, make_and_model, + device_id, product, psversion, 0, 0, 0, type, scheme); + + if (!ppd) + { + cupsDirClose(dir); + cupsFileClose(fp); + return (0); + } + + if (start && *start) + { + for (i = 1; i < PPD_MAX_LANG && *start; i ++) + { + if ((ptr = strchr(start, ',')) != NULL) + *ptr++ = '\0'; + else + ptr = start + strlen(start); + + strlcpy(ppd->record.languages[i], start, + sizeof(ppd->record.languages[0])); + + start = ptr; + } + } + + fprintf(stderr, "DEBUG2: [cups-driverd] Added dynamic PPD \"%s\"...\n", + name); + } + } + + cupsFileClose(fp); + } + else + fprintf(stderr, "WARNING: [cups-driverd] Unable to execute \"%s\": %s\n", + filename, strerror(errno)); + } + + cupsDirClose(dir); + + return (1); +} + + +/* + * 'load_ppd()' - Load a PPD file. + */ + +static void +load_ppd(const char *filename, /* I - Real filename */ + const char *name, /* I - Virtual filename */ + const char *scheme, /* I - PPD scheme */ + struct stat *fileinfo, /* I - File information */ + ppd_info_t *ppd, /* I - Existing PPD file or NULL */ + cups_file_t *fp, /* I - File to read from */ + off_t end) /* I - End of file position or 0 */ +{ + int i; /* Looping var */ + char line[256], /* Line from file */ + *ptr, /* Pointer into line */ + lang_version[64], /* PPD LanguageVersion */ + lang_encoding[64], /* PPD LanguageEncoding */ + country[64], /* Country code */ + manufacturer[256], /* Manufacturer */ + make_model[256], /* Make and Model */ + model_name[256], /* ModelName */ + nick_name[256], /* NickName */ + device_id[256], /* 1284DeviceID */ + product[256], /* Product */ + psversion[256], /* PSVersion */ + temp[512]; /* Temporary make and model */ + int install_group, /* In the installable options group? */ + model_number, /* cupsModelNumber */ + type; /* ppd-type */ + cups_array_t *products, /* Product array */ + *psversions, /* PSVersion array */ + *cups_languages; /* cupsLanguages array */ + int new_ppd; /* Is this a new PPD? */ + struct /* LanguageVersion translation table */ + { + const char *version, /* LanguageVersion string */ + *language; /* Language code */ + } languages[] = + { + { "chinese", "zh" }, + { "czech", "cs" }, + { "danish", "da" }, + { "dutch", "nl" }, + { "english", "en" }, + { "finnish", "fi" }, + { "french", "fr" }, + { "german", "de" }, + { "greek", "el" }, + { "hungarian", "hu" }, + { "italian", "it" }, + { "japanese", "ja" }, + { "korean", "ko" }, + { "norwegian", "no" }, + { "polish", "pl" }, + { "portuguese", "pt" }, + { "russian", "ru" }, + { "simplified chinese", "zh_CN" }, + { "slovak", "sk" }, + { "spanish", "es" }, + { "swedish", "sv" }, + { "traditional chinese", "zh_TW" }, + { "turkish", "tr" } + }; + + + /* + * Now read until we get the required fields... + */ + + cups_languages = cupsArrayNew(NULL, NULL); + products = cupsArrayNew(NULL, NULL); + psversions = cupsArrayNew(NULL, NULL); + + model_name[0] = '\0'; + nick_name[0] = '\0'; + manufacturer[0] = '\0'; + device_id[0] = '\0'; + lang_encoding[0] = '\0'; + strlcpy(lang_version, "en", sizeof(lang_version)); + model_number = 0; + install_group = 0; + type = PPD_TYPE_POSTSCRIPT; + + while ((end == 0 || cupsFileTell(fp) < end) && + cupsFileGets(fp, line, sizeof(line))) + { + if (!strncmp(line, "*Manufacturer:", 14)) + sscanf(line, "%*[^\"]\"%255[^\"]", manufacturer); + else if (!strncmp(line, "*ModelName:", 11)) + sscanf(line, "%*[^\"]\"%127[^\"]", model_name); + else if (!strncmp(line, "*LanguageEncoding:", 18)) + sscanf(line, "%*[^:]:%63s", lang_encoding); + else if (!strncmp(line, "*LanguageVersion:", 17)) + sscanf(line, "%*[^:]:%63s", lang_version); + else if (!strncmp(line, "*NickName:", 10)) + sscanf(line, "%*[^\"]\"%255[^\"]", nick_name); + else if (!_cups_strncasecmp(line, "*1284DeviceID:", 14)) + { + sscanf(line, "%*[^\"]\"%255[^\"]", device_id); + + // Make sure device ID ends with a semicolon... + if (device_id[0] && device_id[strlen(device_id) - 1] != ';') + strlcat(device_id, ";", sizeof(device_id)); + } + else if (!strncmp(line, "*Product:", 9)) + { + if (sscanf(line, "%*[^\"]\"(%255[^\"]", product) == 1) + { + /* + * Make sure the value ends with a right parenthesis - can't stop at + * the first right paren since the product name may contain escaped + * parenthesis... + */ + + ptr = product + strlen(product) - 1; + if (ptr > product && *ptr == ')') + { + /* + * Yes, ends with a parenthesis, so remove it from the end and + * add the product to the list... + */ + + *ptr = '\0'; + cupsArrayAdd(products, strdup(product)); + } + } + } + else if (!strncmp(line, "*PSVersion:", 11)) + { + sscanf(line, "%*[^\"]\"%255[^\"]", psversion); + cupsArrayAdd(psversions, strdup(psversion)); + } + else if (!strncmp(line, "*cupsLanguages:", 15)) + { + char *start; /* Start of language */ + + + for (start = line + 15; *start && isspace(*start & 255); start ++); + + if (*start++ == '\"') + { + while (*start) + { + for (ptr = start + 1; + *ptr && *ptr != '\"' && !isspace(*ptr & 255); + ptr ++); + + if (*ptr) + { + *ptr++ = '\0'; + + while (isspace(*ptr & 255)) + *ptr++ = '\0'; + } + + cupsArrayAdd(cups_languages, strdup(start)); + start = ptr; + } + } + } + else if (!strncmp(line, "*cupsFax:", 9)) + { + for (ptr = line + 9; isspace(*ptr & 255); ptr ++); + + if (!_cups_strncasecmp(ptr, "true", 4)) + type = PPD_TYPE_FAX; + } + else if ((!strncmp(line, "*cupsFilter:", 12) || !strncmp(line, "*cupsFilter2:", 13)) && type == PPD_TYPE_POSTSCRIPT) + { + if (strstr(line + 12, "application/vnd.cups-raster")) + type = PPD_TYPE_RASTER; + else if (strstr(line + 12, "application/vnd.cups-pdf")) + type = PPD_TYPE_PDF; + } + else if (!strncmp(line, "*cupsModelNumber:", 17)) + sscanf(line, "*cupsModelNumber:%d", &model_number); + else if (!strncmp(line, "*OpenGroup: Installable", 23)) + install_group = 1; + else if (!strncmp(line, "*CloseGroup:", 12)) + install_group = 0; + else if (!strncmp(line, "*OpenUI", 7)) + { + /* + * Stop early if we have a NickName or ModelName attributes + * before the first non-installable OpenUI... + */ + + if (!install_group && (model_name[0] || nick_name[0]) && + cupsArrayCount(products) > 0 && cupsArrayCount(psversions) > 0) + break; + } + } + + /* + * See if we got all of the required info... + */ + + if (nick_name[0]) + cupsCharsetToUTF8((cups_utf8_t *)make_model, nick_name, + sizeof(make_model), _ppdGetEncoding(lang_encoding)); + else + strlcpy(make_model, model_name, sizeof(make_model)); + + while (isspace(make_model[0] & 255)) + _cups_strcpy(make_model, make_model + 1); + + if (!make_model[0] || cupsArrayCount(products) == 0 || + cupsArrayCount(psversions) == 0) + { + /* + * We don't have all the info needed, so skip this file... + */ + + if (!make_model[0]) + fprintf(stderr, "WARNING: Missing NickName and ModelName in %s!\n", + filename); + + if (cupsArrayCount(products) == 0) + fprintf(stderr, "WARNING: Missing Product in %s!\n", filename); + + if (cupsArrayCount(psversions) == 0) + fprintf(stderr, "WARNING: Missing PSVersion in %s!\n", filename); + + free_array(products); + free_array(psversions); + free_array(cups_languages); + + return; + } + + if (model_name[0]) + cupsArrayAdd(products, strdup(model_name)); + + /* + * Normalize the make and model string... + */ + + while (isspace(manufacturer[0] & 255)) + _cups_strcpy(manufacturer, manufacturer + 1); + + if (!_cups_strncasecmp(make_model, manufacturer, strlen(manufacturer))) + strlcpy(temp, make_model, sizeof(temp)); + else + snprintf(temp, sizeof(temp), "%s %s", manufacturer, make_model); + + _ppdNormalizeMakeAndModel(temp, make_model, sizeof(make_model)); + + /* + * See if we got a manufacturer... + */ + + if (!manufacturer[0] || !strcmp(manufacturer, "ESP")) + { + /* + * Nope, copy the first part of the make and model then... + */ + + strlcpy(manufacturer, make_model, sizeof(manufacturer)); + + /* + * Truncate at the first space, dash, or slash, or make the + * manufacturer "Other"... + */ + + for (ptr = manufacturer; *ptr; ptr ++) + if (*ptr == ' ' || *ptr == '-' || *ptr == '/') + break; + + if (*ptr && ptr > manufacturer) + *ptr = '\0'; + else + strlcpy(manufacturer, "Other", sizeof(manufacturer)); + } + else if (!_cups_strncasecmp(manufacturer, "LHAG", 4) || + !_cups_strncasecmp(manufacturer, "linotype", 8)) + strlcpy(manufacturer, "LHAG", sizeof(manufacturer)); + else if (!_cups_strncasecmp(manufacturer, "Hewlett", 7)) + strlcpy(manufacturer, "HP", sizeof(manufacturer)); + + /* + * Fix the lang_version as needed... + */ + + if ((ptr = strchr(lang_version, '-')) != NULL) + *ptr++ = '\0'; + else if ((ptr = strchr(lang_version, '_')) != NULL) + *ptr++ = '\0'; + + if (ptr) + { + /* + * Setup the country suffix... + */ + + country[0] = '_'; + _cups_strcpy(country + 1, ptr); + } + else + { + /* + * No country suffix... + */ + + country[0] = '\0'; + } + + for (i = 0; i < (int)(sizeof(languages) / sizeof(languages[0])); i ++) + if (!_cups_strcasecmp(languages[i].version, lang_version)) + break; + + if (i < (int)(sizeof(languages) / sizeof(languages[0]))) + { + /* + * Found a known language... + */ + + snprintf(lang_version, sizeof(lang_version), "%s%s", + languages[i].language, country); + } + else + { + /* + * Unknown language; use "xx"... + */ + + strlcpy(lang_version, "xx", sizeof(lang_version)); + } + + /* + * Record the PPD file... + */ + + new_ppd = !ppd; + + if (new_ppd) + { + /* + * Add new PPD file... + */ + + fprintf(stderr, "DEBUG2: [cups-driverd] Adding ppd \"%s\"...\n", name); + + ppd = add_ppd(name, name, lang_version, manufacturer, make_model, device_id, (char *)cupsArrayFirst(products), (char *)cupsArrayFirst(psversions), fileinfo->st_mtime, (size_t)fileinfo->st_size, model_number, type, scheme); + + if (!ppd) + return; + } + else + { + /* + * Update existing record... + */ + + fprintf(stderr, "DEBUG2: [cups-driverd] Updating ppd \"%s\"...\n", name); + + memset(ppd, 0, sizeof(ppd_info_t)); + + ppd->found = 1; + ppd->record.mtime = fileinfo->st_mtime; + ppd->record.size = fileinfo->st_size; + ppd->record.model_number = model_number; + ppd->record.type = type; + + strlcpy(ppd->record.filename, name, sizeof(ppd->record.filename)); + strlcpy(ppd->record.name, name, sizeof(ppd->record.name)); + strlcpy(ppd->record.languages[0], lang_version, + sizeof(ppd->record.languages[0])); + strlcpy(ppd->record.products[0], (char *)cupsArrayFirst(products), + sizeof(ppd->record.products[0])); + strlcpy(ppd->record.psversions[0], (char *)cupsArrayFirst(psversions), + sizeof(ppd->record.psversions[0])); + strlcpy(ppd->record.make, manufacturer, sizeof(ppd->record.make)); + strlcpy(ppd->record.make_and_model, make_model, + sizeof(ppd->record.make_and_model)); + strlcpy(ppd->record.device_id, device_id, sizeof(ppd->record.device_id)); + strlcpy(ppd->record.scheme, scheme, sizeof(ppd->record.scheme)); + } + + /* + * Add remaining products, versions, and languages... + */ + + for (i = 1; + i < PPD_MAX_PROD && (ptr = (char *)cupsArrayNext(products)) != NULL; + i ++) + strlcpy(ppd->record.products[i], ptr, + sizeof(ppd->record.products[0])); + + for (i = 1; + i < PPD_MAX_VERS && (ptr = (char *)cupsArrayNext(psversions)) != NULL; + i ++) + strlcpy(ppd->record.psversions[i], ptr, + sizeof(ppd->record.psversions[0])); + + for (i = 1, ptr = (char *)cupsArrayFirst(cups_languages); + i < PPD_MAX_LANG && ptr; + i ++, ptr = (char *)cupsArrayNext(cups_languages)) + strlcpy(ppd->record.languages[i], ptr, + sizeof(ppd->record.languages[0])); + + /* + * Free products, versions, and languages... + */ + + free_array(cups_languages); + free_array(products); + free_array(psversions); + + ChangedPPD = 1; +} + + +/* + * 'load_ppds()' - Load PPD files recursively. + */ + +static int /* O - 1 on success, 0 on failure */ +load_ppds(const char *d, /* I - Actual directory */ + const char *p, /* I - Virtual path in name */ + int descend) /* I - Descend into directories? */ +{ + struct stat dinfo, /* Directory information */ + *dinfoptr; /* Pointer to match */ + cups_file_t *fp; /* Pointer to file */ + cups_dir_t *dir; /* Directory pointer */ + cups_dentry_t *dent; /* Directory entry */ + char filename[1024], /* Name of PPD or directory */ + line[256], /* Line from file */ + *ptr, /* Pointer into name */ + name[256]; /* Name of PPD file */ + ppd_info_t *ppd, /* New PPD file */ + key; /* Search key */ + + + /* + * See if we've loaded this directory before... + */ + + if (stat(d, &dinfo)) + { + if (errno != ENOENT) + fprintf(stderr, "ERROR: [cups-driverd] Unable to stat \"%s\": %s\n", d, + strerror(errno)); + + return (0); + } + else if (cupsArrayFind(Inodes, &dinfo)) + { + fprintf(stderr, "ERROR: [cups-driverd] Skipping \"%s\": loop detected!\n", + d); + return (1); + } + + /* + * Nope, add it to the Inodes array and continue... + */ + + dinfoptr = (struct stat *)malloc(sizeof(struct stat)); + memcpy(dinfoptr, &dinfo, sizeof(struct stat)); + cupsArrayAdd(Inodes, dinfoptr); + + /* + * Check permissions... + */ + + if (_cupsFileCheck(d, _CUPS_FILE_CHECK_DIRECTORY, !geteuid(), + _cupsFileCheckFilter, NULL)) + return (0); + + if ((dir = cupsDirOpen(d)) == NULL) + { + if (errno != ENOENT) + fprintf(stderr, + "ERROR: [cups-driverd] Unable to open PPD directory \"%s\": %s\n", + d, strerror(errno)); + + return (0); + } + + fprintf(stderr, "DEBUG: [cups-driverd] Loading \"%s\"...\n", d); + + while ((dent = cupsDirRead(dir)) != NULL) + { + /* + * Skip files/directories starting with "."... + */ + + if (dent->filename[0] == '.') + continue; + + /* + * See if this is a file... + */ + + snprintf(filename, sizeof(filename), "%s/%s", d, dent->filename); + + if (p[0]) + snprintf(name, sizeof(name), "%s/%s", p, dent->filename); + else + strlcpy(name, dent->filename, sizeof(name)); + + if (S_ISDIR(dent->fileinfo.st_mode)) + { + /* + * Do subdirectory... + */ + + if (descend) + { + if (!load_ppds(filename, name, 1)) + { + cupsDirClose(dir); + return (1); + } + } + else if ((ptr = filename + strlen(filename) - 14) > filename && + !strcmp(ptr, ".printerDriver")) + { + /* + * Load PPDs in a printer driver bundle. + */ + + if (_cupsFileCheck(filename, _CUPS_FILE_CHECK_DIRECTORY, !geteuid(), + _cupsFileCheckFilter, NULL)) + continue; + + strlcat(filename, "/Contents/Resources/PPDs", sizeof(filename)); + strlcat(name, "/Contents/Resources/PPDs", sizeof(name)); + + load_ppds(filename, name, 0); + } + + continue; + } + else if (strstr(filename, ".plist")) + { + /* + * Skip plist files in the PPDs directory... + */ + + continue; + } + else if (_cupsFileCheck(filename, _CUPS_FILE_CHECK_FILE_ONLY, !geteuid(), + _cupsFileCheckFilter, NULL)) + continue; + + /* + * See if this file has been scanned before... + */ + + strlcpy(key.record.filename, name, sizeof(key.record.filename)); + strlcpy(key.record.name, name, sizeof(key.record.name)); + + ppd = (ppd_info_t *)cupsArrayFind(PPDsByName, &key); + + if (ppd && + ppd->record.size == dent->fileinfo.st_size && + ppd->record.mtime == dent->fileinfo.st_mtime) + { + /* + * Rewind to the first entry for this file... + */ + + while ((ppd = (ppd_info_t *)cupsArrayPrev(PPDsByName)) != NULL && + !strcmp(ppd->record.filename, name)); + + /* + * Then mark all of the matches for this file as found... + */ + + while ((ppd = (ppd_info_t *)cupsArrayNext(PPDsByName)) != NULL && + !strcmp(ppd->record.filename, name)) + ppd->found = 1; + + continue; + } + + /* + * No, file is new/changed, so re-scan it... + */ + + if ((fp = cupsFileOpen(filename, "r")) == NULL) + continue; + + /* + * Now see if this is a PPD file... + */ + + line[0] = '\0'; + cupsFileGets(fp, line, sizeof(line)); + + if (!strncmp(line, "*PPD-Adobe:", 11)) + { + /* + * Yes, load it... + */ + + load_ppd(filename, name, "file", &dent->fileinfo, ppd, fp, 0); + } + else + { + /* + * Nope, treat it as a driver information file or archive... + */ + + cupsFileRewind(fp); + + if ((ptr = strstr(filename, ".tar")) != NULL && + (!strcmp(ptr, ".tar") || !strcmp(ptr, ".tar.gz"))) + load_tar(filename, name, fp, dent->fileinfo.st_mtime, + dent->fileinfo.st_size); + else + load_drv(filename, name, fp, dent->fileinfo.st_mtime, + dent->fileinfo.st_size); + } + + /* + * Close the file... + */ + + cupsFileClose(fp); + } + + cupsDirClose(dir); + + return (1); +} + + +/* + * 'load_ppds_dat()' - Load the ppds.dat file. + */ + +static void +load_ppds_dat(char *filename, /* I - Filename buffer */ + size_t filesize, /* I - Size of filename buffer */ + int verbose) /* I - Be verbose? */ +{ + ppd_info_t *ppd; /* Current PPD file */ + cups_file_t *fp; /* ppds.dat file */ + struct stat fileinfo; /* ppds.dat information */ + const char *cups_cachedir; /* CUPS_CACHEDIR environment variable */ + + + PPDsByName = cupsArrayNew((cups_array_func_t)compare_names, NULL); + PPDsByMakeModel = cupsArrayNew((cups_array_func_t)compare_ppds, NULL); + ChangedPPD = 0; + + if (!filename[0]) + { + if ((cups_cachedir = getenv("CUPS_CACHEDIR")) == NULL) + cups_cachedir = CUPS_CACHEDIR; + + snprintf(filename, filesize, "%s/ppds.dat", cups_cachedir); + } + + if ((fp = cupsFileOpen(filename, "r")) != NULL) + { + /* + * See if we have the right sync word... + */ + + unsigned ppdsync; /* Sync word */ + int num_ppds; /* Number of PPDs */ + + if ((size_t)cupsFileRead(fp, (char *)&ppdsync, sizeof(ppdsync)) == sizeof(ppdsync) && + ppdsync == PPD_SYNC && + !stat(filename, &fileinfo) && + (((size_t)fileinfo.st_size - sizeof(ppdsync)) % sizeof(ppd_rec_t)) == 0 && + (num_ppds = ((size_t)fileinfo.st_size - sizeof(ppdsync)) / sizeof(ppd_rec_t)) > 0) + { + /* + * We have a ppds.dat file, so read it! + */ + + for (; num_ppds > 0; num_ppds --) + { + if ((ppd = (ppd_info_t *)calloc(1, sizeof(ppd_info_t))) == NULL) + { + if (verbose) + fputs("ERROR: [cups-driverd] Unable to allocate memory for PPD!\n", + stderr); + exit(1); + } + + if (cupsFileRead(fp, (char *)&(ppd->record), sizeof(ppd_rec_t)) > 0) + { + cupsArrayAdd(PPDsByName, ppd); + cupsArrayAdd(PPDsByMakeModel, ppd); + } + else + { + free(ppd); + break; + } + } + + if (verbose) + fprintf(stderr, "INFO: [cups-driverd] Read \"%s\", %d PPDs...\n", + filename, cupsArrayCount(PPDsByName)); + } + + cupsFileClose(fp); + } +} + + +/* + * 'load_tar()' - Load archived PPD files. + */ + +static int /* O - 1 on success, 0 on failure */ +load_tar(const char *filename, /* I - Actual filename */ + const char *name, /* I - Name to the rest of the world */ + cups_file_t *fp, /* I - File to read from */ + time_t mtime, /* I - Mod time of driver info file */ + off_t size) /* I - Size of driver info file */ +{ + char curname[256], /* Current archive file name */ + uri[1024]; /* Virtual file URI */ + const char *curext; /* Extension on file */ + struct stat curinfo; /* Current archive file information */ + off_t next; /* Position for next header */ + + + /* + * Add a dummy entry for the file... + */ + + (void)filename; + + add_ppd(name, name, "", "", "", "", "", "", mtime, (size_t)size, 0, PPD_TYPE_ARCHIVE, "file"); + ChangedPPD = 1; + + /* + * Scan for PPDs in the archive... + */ + + while (read_tar(fp, curname, sizeof(curname), &curinfo)) + { + next = cupsFileTell(fp) + ((curinfo.st_size + TAR_BLOCK - 1) & + ~(TAR_BLOCK - 1)); + + if ((curext = strrchr(curname, '.')) != NULL && + !_cups_strcasecmp(curext, ".ppd")) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "file", "", "", + 0, "/%s/%s", name, curname); + load_ppd(name, uri, "file", &curinfo, NULL, fp, next); + } + + if (cupsFileTell(fp) != next) + cupsFileSeek(fp, next); + } + + return (1); +} + + +/* + * 'read_tar()' - Read a file header from an archive. + * + * This function skips all directories and special files. + */ + +static int /* O - 1 if found, 0 on EOF */ +read_tar(cups_file_t *fp, /* I - Archive to read */ + char *name, /* I - Filename buffer */ + size_t namesize, /* I - Size of filename buffer */ + struct stat *info) /* O - File information */ +{ + tar_rec_t record; /* Record from file */ + + + while ((size_t)cupsFileRead(fp, (char *)&record, sizeof(record)) == sizeof(record)) + { + /* + * Check for a valid tar header... + */ + + if (memcmp(record.header.magic, TAR_MAGIC, 6) || + memcmp(record.header.version, TAR_VERSION, 2)) + { + if (record.header.magic[0] || + memcmp(record.header.magic, record.header.magic + 1, 5)) + fputs("ERROR: [cups-driverd] Bad tar magic/version.\n", stderr); + break; + } + + /* + * Ignore non-files... + */ + + if (record.header.linkflag != TAR_OLDNORMAL && + record.header.linkflag != TAR_NORMAL) + continue; + + /* + * Grab size and name from tar header and return... + */ + + if (record.header.prefix[0]) + snprintf(name, namesize, "%s/%s", record.header.prefix, + record.header.pathname); + else + strlcpy(name, record.header.pathname, namesize); + + info->st_mtime = strtol(record.header.mtime, NULL, 8); + info->st_size = strtoll(record.header.size, NULL, 8); + + return (1); + } + + return (0); +} + + +/* + * 'regex_device_id()' - Compile a regular expression based on the 1284 device + * ID. + */ + +static regex_t * /* O - Regular expression */ +regex_device_id(const char *device_id) /* I - IEEE-1284 device ID */ +{ + char res[2048], /* Regular expression string */ + *ptr; /* Pointer into string */ + regex_t *re; /* Regular expression */ + int cmd; /* Command set string? */ + + + fprintf(stderr, "DEBUG: [cups-driverd] regex_device_id(\"%s\")\n", device_id); + + /* + * Scan the device ID string and insert class, command set, manufacturer, and + * model attributes to match. We assume that the device ID in the PPD and the + * device ID reported by the device itself use the same attribute names and + * order of attributes. + */ + + ptr = res; + + while (*device_id && ptr < (res + sizeof(res) - 6)) + { + cmd = !_cups_strncasecmp(device_id, "COMMAND SET:", 12) || + !_cups_strncasecmp(device_id, "CMD:", 4); + + if (cmd || !_cups_strncasecmp(device_id, "MANUFACTURER:", 13) || + !_cups_strncasecmp(device_id, "MFG:", 4) || + !_cups_strncasecmp(device_id, "MFR:", 4) || + !_cups_strncasecmp(device_id, "MODEL:", 6) || + !_cups_strncasecmp(device_id, "MDL:", 4)) + { + if (ptr > res) + { + *ptr++ = '.'; + *ptr++ = '*'; + } + + *ptr++ = '('; + + while (*device_id && *device_id != ';' && ptr < (res + sizeof(res) - 8)) + { + if (strchr("[]{}().*\\|", *device_id)) + *ptr++ = '\\'; + if (*device_id == ':') + { + /* + * KEY:.*value + */ + + *ptr++ = *device_id++; + *ptr++ = '.'; + *ptr++ = '*'; + } + else + *ptr++ = *device_id++; + } + + if (*device_id == ';' || !*device_id) + { + /* + * KEY:.*value.*; + */ + + *ptr++ = '.'; + *ptr++ = '*'; + *ptr++ = ';'; + } + *ptr++ = ')'; + if (cmd) + *ptr++ = '?'; + } + else if ((device_id = strchr(device_id, ';')) == NULL) + break; + else + device_id ++; + } + + *ptr = '\0'; + + fprintf(stderr, "DEBUG: [cups-driverd] regex_device_id: \"%s\"\n", res); + + /* + * Compile the regular expression and return... + */ + + if (res[0] && (re = (regex_t *)calloc(1, sizeof(regex_t))) != NULL) + { + if (!regcomp(re, res, REG_EXTENDED | REG_ICASE)) + { + fputs("DEBUG: [cups-driverd] regex_device_id: OK\n", stderr); + return (re); + } + + free(re); + } + + return (NULL); +} + + +/* + * 'regex_string()' - Construct a regular expression to compare a simple string. + */ + +static regex_t * /* O - Regular expression */ +regex_string(const char *s) /* I - String to compare */ +{ + char res[2048], /* Regular expression string */ + *ptr; /* Pointer into string */ + regex_t *re; /* Regular expression */ + + + fprintf(stderr, "DEBUG: [cups-driverd] regex_string(\"%s\")\n", s); + + /* + * Convert the string to a regular expression, escaping special characters + * as needed. + */ + + ptr = res; + + while (*s && ptr < (res + sizeof(res) - 2)) + { + if (strchr("[]{}().*\\", *s)) + *ptr++ = '\\'; + + *ptr++ = *s++; + } + + *ptr = '\0'; + + fprintf(stderr, "DEBUG: [cups-driverd] regex_string: \"%s\"\n", res); + + /* + * Create a case-insensitive regular expression... + */ + + if (res[0] && (re = (regex_t *)calloc(1, sizeof(regex_t))) != NULL) + { + if (!regcomp(re, res, REG_ICASE)) + { + fputs("DEBUG: [cups-driverd] regex_string: OK\n", stderr); + return (re); + } + + free(re); + } + + return (NULL); +} diff --git a/scheduler/cups-exec.c b/scheduler/cups-exec.c new file mode 100644 index 0000000..674de0a --- /dev/null +++ b/scheduler/cups-exec.c @@ -0,0 +1,195 @@ +/* + * Sandbox helper for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + * + * Usage: + * + * cups-exec /path/to/profile [-u UID] [-g GID] [-n NICE] /path/to/program argv0 argv1 ... argvN + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include +#include +#ifdef HAVE_SANDBOX_H +# include +# ifndef SANDBOX_NAMED_EXTERNAL +# define SANDBOX_NAMED_EXTERNAL 0x0003 +# endif /* !SANDBOX_NAMED_EXTERNAL */ +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif /* HAVE_SANDBOX_H */ + + +/* + * Local functions... + */ + +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Apply sandbox profile and execute program. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + const char *opt; /* Current option character */ + uid_t uid = getuid(); /* UID */ + gid_t gid = getgid(); /* GID */ + int niceval = 0; /* Nice value */ +#ifdef HAVE_SANDBOX_H + char *sandbox_error = NULL; /* Sandbox error, if any */ +#endif /* HAVE_SANDBOX_H */ + + + /* + * Parse command-line... + */ + + for (i = 1; i < argc; i ++) + { + if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'g' : /* -g gid */ + i ++; + if (i >= argc) + usage(); + + gid = (gid_t)atoi(argv[i]); + break; + + case 'n' : /* -n nice-value */ + i ++; + if (i >= argc) + usage(); + + niceval = atoi(argv[i]); + break; + + case 'u' : /* -g gid */ + i ++; + if (i >= argc) + usage(); + + uid = (uid_t)atoi(argv[i]); + break; + + default : + fprintf(stderr, "cups-exec: Unknown option '-%c'.\n", *opt); + usage(); + } + } + } + else + break; + } + + /* + * Check that we have enough arguments... + */ + + if ((i + 3) > argc) + { + fputs("cups-exec: Insufficient arguments.\n", stderr); + usage(); + } + + /* + * Make sure side and back channel FDs are non-blocking... + */ + + fcntl(3, F_SETFL, O_NDELAY); + fcntl(4, F_SETFL, O_NDELAY); + + /* + * Change UID, GID, and nice value... + */ + + if (uid) + nice(niceval); + + if (!getuid()) + { + if (setgid(gid)) + exit(errno + 100); + + if (setgroups(1, &gid)) + exit(errno + 100); + + if (uid && setuid(uid)) + exit(errno + 100); + } + + umask(077); + +#ifdef HAVE_SANDBOX_H + /* + * Run in a separate security profile... + */ + + if (strcmp(argv[i], "none") && + sandbox_init(argv[i], SANDBOX_NAMED_EXTERNAL, &sandbox_error)) + { + cups_file_t *fp; /* File */ + char line[1024]; /* Line from file */ + int linenum = 0; /* Line number in file */ + + fprintf(stderr, "DEBUG: sandbox_init failed: %s (%s)\n", sandbox_error, + strerror(errno)); + sandbox_free_error(sandbox_error); + + if ((fp = cupsFileOpen(argv[i], "r")) != NULL) + { + while (cupsFileGets(fp, line, sizeof(line))) + { + linenum ++; + fprintf(stderr, "DEBUG: %4d %s\n", linenum, line); + } + cupsFileClose(fp); + } + + return (100 + EINVAL); + } +#endif /* HAVE_SANDBOX_H */ + + /* + * Execute the program... + */ + + execv(argv[i + 1], argv + i + 2); + + /* + * If we get here, execv() failed... + */ + + fprintf(stderr, "DEBUG: execv failed: %s\n", strerror(errno)); + return (errno + 100); +} + + +/* + * 'usage()' - Show program usage. + */ + +static void +usage(void) +{ + fputs("Usage: cups-exec [-g gid] [-n nice-value] [-u uid] /path/to/profile /path/to/program argv0 argv1 ... argvN\n", stderr); + exit(1); +} diff --git a/scheduler/cups-lpd.c b/scheduler/cups-lpd.c new file mode 100644 index 0000000..0da3d0c --- /dev/null +++ b/scheduler/cups-lpd.c @@ -0,0 +1,1706 @@ +/* + * Line Printer Daemon interface for CUPS. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#define _CUPS_NO_DEPRECATED +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef HAVE_INTTYPES_H +# include +#endif /* HAVE_INTTYPES_H */ +#ifdef __APPLE__ +# include +#endif /* __APPLE__ */ + + +/* + * LPD "mini-daemon" for CUPS. This program must be used in conjunction + * with inetd or another similar program that monitors ports and starts + * daemons for each client connection. A typical configuration is: + * + * printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd + * + * This daemon implements most of RFC 1179 (the unofficial LPD specification) + * except for: + * + * - This daemon does not check to make sure that the source port is + * between 721 and 731, since it isn't necessary for proper + * functioning and port-based security is no security at all! + * + * - The "Print any waiting jobs" command is a no-op. + * + * The LPD-to-IPP mapping is as defined in RFC 2569. The report formats + * currently match the Solaris LPD mini-daemon. + */ + +/* + * Prototypes... + */ + +static int create_job(http_t *http, const char *dest, const char *title, const char *user, int num_options, cups_option_t *options); +static int get_printer(http_t *http, const char *name, char *dest, + size_t destsize, cups_option_t **options, + int *accepting, int *shared, ipp_pstate_t *state); +static int print_file(http_t *http, int id, const char *filename, + const char *docname, const char *user, + const char *format, int last); +static int recv_print_job(const char *name, int num_defaults, + cups_option_t *defaults); +static int remove_jobs(const char *name, const char *agent, + const char *list); +static int send_state(const char *name, const char *list, + int longstatus); +static char *smart_gets(char *s, int len, FILE *fp); +static void smart_strlcpy(char *dst, const char *src, size_t dstsize); + + +/* + * 'main()' - Process an incoming LPD request... + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + int num_defaults; /* Number of default options */ + cups_option_t *defaults; /* Default options */ + char line[256], /* Command string */ + command, /* Command code */ + *dest, /* Pointer to destination */ + *list, /* Pointer to list */ + *agent, /* Pointer to user */ + status; /* Status for client */ + socklen_t hostlen; /* Size of client address */ + http_addr_t hostaddr; /* Address of client */ + char hostname[256], /* Name of client */ + hostip[256], /* IP address */ + *hostfamily; /* Address family */ + int hostlookups; /* Do hostname lookups? */ + + +#ifdef __APPLE__ + xpc_transaction_begin(); +#endif /* __APPLE__ */ + + /* + * Don't buffer the output... + */ + + setbuf(stdout, NULL); + + /* + * Log things using the "cups-lpd" name... + */ + + openlog("cups-lpd", LOG_PID, LOG_LPR); + + /* + * Scan the command-line for options... + */ + + num_defaults = 0; + defaults = NULL; + hostlookups = 1; + + for (i = 1; i < argc; i ++) + if (argv[i][0] == '-') + { + switch (argv[i][1]) + { + case 'h' : /* -h hostname[:port] */ + if (argv[i][2]) + cupsSetServer(argv[i] + 2); + else + { + i ++; + if (i < argc) + cupsSetServer(argv[i]); + else + syslog(LOG_WARNING, "Expected hostname string after -h option!"); + } + break; + + case 'o' : /* Option */ + if (argv[i][2]) + num_defaults = cupsParseOptions(argv[i] + 2, num_defaults, + &defaults); + else + { + i ++; + if (i < argc) + num_defaults = cupsParseOptions(argv[i], num_defaults, + &defaults); + else + syslog(LOG_WARNING, "Expected option string after -o option!"); + } + break; + + case 'n' : /* Don't do hostname lookups */ + hostlookups = 0; + break; + + default : + syslog(LOG_WARNING, "Unknown option \"%c\" ignored!", argv[i][1]); + break; + } + } + else + syslog(LOG_WARNING, "Unknown command-line option \"%s\" ignored!", + argv[i]); + + /* + * Get the address of the client... + */ + + hostlen = sizeof(hostaddr); + + if (getpeername(0, (struct sockaddr *)&hostaddr, &hostlen)) + { + syslog(LOG_WARNING, "Unable to get client address - %s", strerror(errno)); + strlcpy(hostname, "unknown", sizeof(hostname)); + } + else + { + httpAddrString(&hostaddr, hostip, sizeof(hostip)); + + if (hostlookups) + httpAddrLookup(&hostaddr, hostname, sizeof(hostname)); + else + strlcpy(hostname, hostip, sizeof(hostname)); + +#ifdef AF_INET6 + if (hostaddr.addr.sa_family == AF_INET6) + hostfamily = "IPv6"; + else +#endif /* AF_INET6 */ + hostfamily = "IPv4"; + + syslog(LOG_INFO, "Connection from %s (%s %s)", hostname, hostfamily, + hostip); + } + + num_defaults = cupsAddOption("job-originating-host-name", hostname, + num_defaults, &defaults); + + /* + * RFC1179 specifies that only 1 daemon command can be received for + * every connection. + */ + + if (smart_gets(line, sizeof(line), stdin) == NULL) + { + /* + * Unable to get command from client! Send an error status and return. + */ + + syslog(LOG_ERR, "Unable to get command line from client!"); + putchar(1); + +#ifdef __APPLE__ + xpc_transaction_end(); +#endif /* __APPLE__ */ + + return (1); + } + + /* + * The first byte is the command byte. After that will be the queue name, + * resource list, and/or user name. + */ + + if ((command = line[0]) == '\0') + dest = line; + else + dest = line + 1; + + if (command == 0x02) + list = NULL; + else + { + for (list = dest; *list && !isspace(*list & 255); list ++); + + while (isspace(*list & 255)) + *list++ = '\0'; + } + + /* + * Do the command... + */ + + switch (command) + { + default : /* Unknown command */ + syslog(LOG_ERR, "Unknown LPD command 0x%02X!", command); + syslog(LOG_ERR, "Command line = %s", line + 1); + putchar(1); + + status = 1; + break; + + case 0x01 : /* Print any waiting jobs */ + syslog(LOG_INFO, "Print waiting jobs (no-op)"); + putchar(0); + + status = 0; + break; + + case 0x02 : /* Receive a printer job */ + syslog(LOG_INFO, "Receive print job for %s", dest); + /* recv_print_job() sends initial status byte */ + + status = (char)recv_print_job(dest, num_defaults, defaults); + break; + + case 0x03 : /* Send queue state (short) */ + syslog(LOG_INFO, "Send queue state (short) for %s %s", dest, list); + /* no status byte for this command */ + + status = (char)send_state(dest, list, 0); + break; + + case 0x04 : /* Send queue state (long) */ + syslog(LOG_INFO, "Send queue state (long) for %s %s", dest, list); + /* no status byte for this command */ + + status = (char)send_state(dest, list, 1); + break; + + case 0x05 : /* Remove jobs */ + if (list) + { + /* + * Grab the agent and skip to the list of users and/or jobs. + */ + + agent = list; + + for (; *list && !isspace(*list & 255); list ++); + while (isspace(*list & 255)) + *list++ = '\0'; + + syslog(LOG_INFO, "Remove jobs %s on %s by %s", list, dest, agent); + + status = (char)remove_jobs(dest, agent, list); + } + else + status = 1; + + putchar(status); + break; + } + + syslog(LOG_INFO, "Closing connection"); + closelog(); + +#ifdef __APPLE__ + xpc_transaction_end(); +#endif /* __APPLE__ */ + + return (status); +} + + +/* + * 'create_job()' - Create a new print job. + */ + +static int /* O - Job ID or -1 on error */ +create_job(http_t *http, /* I - HTTP connection */ + const char *dest, /* I - Destination name */ + const char *title, /* I - job-name */ + const char *user, /* I - requesting-user-name */ + int num_options, /* I - Number of options for job */ + cups_option_t *options) /* I - Options for job */ +{ + ipp_t *request; /* IPP request */ + ipp_t *response; /* IPP response */ + ipp_attribute_t *attr; /* IPP attribute */ + char uri[HTTP_MAX_URI]; /* Printer URI */ + int id; /* Job ID */ + + + /* + * Setup the Create-Job request... + */ + + request = ippNewRequest(IPP_OP_CREATE_JOB); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", dest); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + + if (title[0]) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "job-name", + NULL, title); + + cupsEncodeOptions(request, num_options, options); + + /* + * Do the request... + */ + + snprintf(uri, sizeof(uri), "/printers/%s", dest); + + response = cupsDoRequest(http, request, uri); + + if (!response || cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + syslog(LOG_ERR, "Unable to create job - %s", cupsLastErrorString()); + + ippDelete(response); + + return (-1); + } + + /* + * Get the job-id value from the response and return it... + */ + + if ((attr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER)) == NULL) + { + id = -1; + + syslog(LOG_ERR, "No job-id attribute found in response from server!"); + } + else + { + id = attr->values[0].integer; + + syslog(LOG_INFO, "Print file - job ID = %d", id); + } + + ippDelete(response); + + return (id); +} + + +/* + * 'get_printer()' - Get the named printer and its options. + */ + +static int /* O - Number of options or -1 on error */ +get_printer(http_t *http, /* I - HTTP connection */ + const char *name, /* I - Printer name from request */ + char *dest, /* I - Destination buffer */ + size_t destsize, /* I - Size of destination buffer */ + cups_option_t **options, /* O - Printer options */ + int *accepting, /* O - printer-is-accepting-jobs value */ + int *shared, /* O - printer-is-shared value */ + ipp_pstate_t *state) /* O - printer-state value */ +{ + int num_options; /* Number of options */ + cups_file_t *fp; /* lpoptions file */ + char line[1024], /* Line from lpoptions file */ + *value, /* Pointer to value on line */ + *optptr; /* Pointer to options on line */ + int linenum; /* Line number in file */ + const char *cups_serverroot; /* CUPS_SERVERROOT env var */ + ipp_t *request; /* IPP request */ + ipp_t *response; /* IPP response */ + ipp_attribute_t *attr; /* IPP attribute */ + char uri[HTTP_MAX_URI]; /* Printer URI */ + static const char * const requested[] = + { /* Requested attributes */ + "printer-info", + "printer-is-accepting-jobs", + "printer-is-shared", + "printer-name", + "printer-state" + }; + + + /* + * Initialize everything... + */ + + if (accepting) + *accepting = 0; + if (shared) + *shared = 0; + if (state) + *state = IPP_PSTATE_STOPPED; + if (options) + *options = NULL; + + /* + * See if the name is a queue name optionally with an instance name. + */ + + strlcpy(dest, name, destsize); + if ((value = strchr(dest, '/')) != NULL) + *value = '\0'; + + /* + * Setup the Get-Printer-Attributes request... + */ + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", dest); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + (int)(sizeof(requested) / sizeof(requested[0])), + NULL, requested); + + /* + * Do the request... + */ + + response = cupsDoRequest(http, request, "/"); + + if (!response || cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + /* + * If we can't find the printer by name, look up the printer-name + * using the printer-info values... + */ + + ipp_attribute_t *accepting_attr,/* printer-is-accepting-jobs */ + *info_attr, /* printer-info */ + *name_attr, /* printer-name */ + *shared_attr, /* printer-is-shared */ + *state_attr; /* printer-state */ + + + ippDelete(response); + + /* + * Setup the CUPS-Get-Printers request... + */ + + request = ippNewRequest(IPP_OP_CUPS_GET_PRINTERS); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + (int)(sizeof(requested) / sizeof(requested[0])), + NULL, requested); + + /* + * Do the request... + */ + + response = cupsDoRequest(http, request, "/"); + + if (!response || cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + syslog(LOG_ERR, "Unable to get list of printers - %s", + cupsLastErrorString()); + + ippDelete(response); + + return (-1); + } + + /* + * Scan the response for printers... + */ + + *dest = '\0'; + attr = response->attrs; + + while (attr) + { + /* + * Skip to the next printer... + */ + + while (attr && attr->group_tag != IPP_TAG_PRINTER) + attr = attr->next; + + if (!attr) + break; + + /* + * Get all of the attributes for the current printer... + */ + + accepting_attr = NULL; + info_attr = NULL; + name_attr = NULL; + shared_attr = NULL; + state_attr = NULL; + + while (attr && attr->group_tag == IPP_TAG_PRINTER) + { + if (!strcmp(attr->name, "printer-is-accepting-jobs") && + attr->value_tag == IPP_TAG_BOOLEAN) + accepting_attr = attr; + else if (!strcmp(attr->name, "printer-info") && + attr->value_tag == IPP_TAG_TEXT) + info_attr = attr; + else if (!strcmp(attr->name, "printer-name") && + attr->value_tag == IPP_TAG_NAME) + name_attr = attr; + else if (!strcmp(attr->name, "printer-is-shared") && + attr->value_tag == IPP_TAG_BOOLEAN) + shared_attr = attr; + else if (!strcmp(attr->name, "printer-state") && + attr->value_tag == IPP_TAG_ENUM) + state_attr = attr; + + attr = attr->next; + } + + if (info_attr && name_attr && + !_cups_strcasecmp(name, info_attr->values[0].string.text)) + { + /* + * Found a match, use this one! + */ + + strlcpy(dest, name_attr->values[0].string.text, destsize); + + if (accepting && accepting_attr) + *accepting = accepting_attr->values[0].boolean; + + if (shared && shared_attr) + *shared = shared_attr->values[0].boolean; + + if (state && state_attr) + *state = (ipp_pstate_t)state_attr->values[0].integer; + + break; + } + } + + ippDelete(response); + + if (!*dest) + { + syslog(LOG_ERR, "Unable to find \"%s\" in list of printers!", name); + + return (-1); + } + + name = dest; + } + else + { + /* + * Get values from the response... + */ + + if (accepting) + { + if ((attr = ippFindAttribute(response, "printer-is-accepting-jobs", + IPP_TAG_BOOLEAN)) == NULL) + syslog(LOG_ERR, "No printer-is-accepting-jobs attribute found in " + "response from server!"); + else + *accepting = attr->values[0].boolean; + } + + if (shared) + { + if ((attr = ippFindAttribute(response, "printer-is-shared", + IPP_TAG_BOOLEAN)) == NULL) + { + syslog(LOG_ERR, "No printer-is-shared attribute found in " + "response from server!"); + *shared = 1; + } + else + *shared = attr->values[0].boolean; + } + + if (state) + { + if ((attr = ippFindAttribute(response, "printer-state", + IPP_TAG_ENUM)) == NULL) + syslog(LOG_ERR, "No printer-state attribute found in " + "response from server!"); + else + *state = (ipp_pstate_t)attr->values[0].integer; + } + + ippDelete(response); + } + + /* + * Next look for the printer in the lpoptions file... + */ + + num_options = 0; + + if (options && shared && accepting) + { + if ((cups_serverroot = getenv("CUPS_SERVERROOT")) == NULL) + cups_serverroot = CUPS_SERVERROOT; + + snprintf(line, sizeof(line), "%s/lpoptions", cups_serverroot); + if ((fp = cupsFileOpen(line, "r")) != NULL) + { + linenum = 0; + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + /* + * Make sure we have "Dest name options" or "Default name options"... + */ + + if ((_cups_strcasecmp(line, "Dest") && _cups_strcasecmp(line, "Default")) || !value) + continue; + + /* + * Separate destination name from options... + */ + + for (optptr = value; *optptr && !isspace(*optptr & 255); optptr ++); + + while (*optptr == ' ') + *optptr++ = '\0'; + + /* + * If this is our destination, parse the options and break out of + * the loop - we're done! + */ + + if (!_cups_strcasecmp(value, name)) + { + num_options = cupsParseOptions(optptr, num_options, options); + break; + } + } + + cupsFileClose(fp); + } + } + else if (options) + *options = NULL; + + /* + * Return the number of options for this destination... + */ + + return (num_options); +} + + +/* + * 'print_file()' - Add a file to the current job. + */ + +static int /* O - 0 on success, -1 on failure */ +print_file(http_t *http, /* I - HTTP connection */ + int id, /* I - Job ID */ + const char *filename, /* I - File to print */ + const char *docname, /* I - document-name */ + const char *user, /* I - requesting-user-name */ + const char *format, /* I - document-format */ + int last) /* I - 1 = last file in job */ +{ + ipp_t *request; /* IPP request */ + char uri[HTTP_MAX_URI]; /* Printer URI */ + + + /* + * Setup the Send-Document request... + */ + + request = ippNewRequest(IPP_OP_SEND_DOCUMENT); + + snprintf(uri, sizeof(uri), "ipp://localhost/jobs/%d", id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, uri); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + + if (docname) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "document-name", NULL, docname); + + if (format) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, + "document-format", NULL, format); + + ippAddBoolean(request, IPP_TAG_OPERATION, "last-document", (char)last); + + /* + * Do the request... + */ + + snprintf(uri, sizeof(uri), "/jobs/%d", id); + + ippDelete(cupsDoFileRequest(http, request, uri, filename)); + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + syslog(LOG_ERR, "Unable to send document - %s", cupsLastErrorString()); + + return (-1); + } + + return (0); +} + + +/* + * 'recv_print_job()' - Receive a print job from the client. + */ + +static int /* O - Command status */ +recv_print_job( + const char *queue, /* I - Printer name */ + int num_defaults, /* I - Number of default options */ + cups_option_t *defaults) /* I - Default options */ +{ + http_t *http; /* HTTP connection */ + int i; /* Looping var */ + int status; /* Command status */ + int fd; /* Temporary file */ + FILE *fp; /* File pointer */ + char filename[1024]; /* Temporary filename */ + ssize_t bytes; /* Bytes received */ + size_t total; /* Total bytes */ + char line[256], /* Line from file/stdin */ + command, /* Command from line */ + *count, /* Number of bytes */ + *name; /* Name of file */ + const char *job_sheets; /* Job sheets */ + int num_data; /* Number of data files */ + char control[1024], /* Control filename */ + data[100][256], /* Data files */ + temp[100][1024]; /* Temporary files */ + char user[1024], /* User name */ + title[1024], /* Job title */ + docname[1024], /* Document name */ + dest[256]; /* Printer/class queue */ + int accepting, /* printer-is-accepting */ + shared, /* printer-is-shared */ + num_options; /* Number of options */ + cups_option_t *options; /* Options */ + int id; /* Job ID */ + int docnumber, /* Current document number */ + doccount; /* Count of documents */ + + + /* + * Connect to the server... + */ + + http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, cupsEncryption(), 1, 30000, NULL); + if (!http) + { + syslog(LOG_ERR, "Unable to connect to server: %s", strerror(errno)); + + putchar(1); + + return (1); + } + + /* + * See if the printer is available... + */ + + num_options = get_printer(http, queue, dest, sizeof(dest), &options, + &accepting, &shared, NULL); + + if (num_options < 0 || !accepting || !shared) + { + if (dest[0]) + syslog(LOG_INFO, "Rejecting job because \"%s\" is not %s", dest, + !accepting ? "accepting jobs" : "shared"); + else + syslog(LOG_ERR, "Unable to get printer information for \"%s\"", queue); + + httpClose(http); + + putchar(1); + + return (1); + } + + putchar(0); /* OK so far... */ + + /* + * Read the request... + */ + + status = 0; + num_data = 0; + fd = -1; + + control[0] = '\0'; + + while (smart_gets(line, sizeof(line), stdin) != NULL) + { + if (strlen(line) < 2) + { + status = 1; + break; + } + + command = line[0]; + count = line + 1; + + for (name = count + 1; *name && !isspace(*name & 255); name ++); + while (isspace(*name & 255)) + *name++ = '\0'; + + switch (command) + { + default : + case 0x01 : /* Abort */ + status = 1; + break; + + case 0x02 : /* Receive control file */ + if (strlen(name) < 2) + { + syslog(LOG_ERR, "Bad control file name \"%s\"", name); + putchar(1); + status = 1; + break; + } + + if (control[0]) + { + /* + * Append to the existing control file - the LPD spec is + * not entirely clear, but at least the OS/2 LPD code sends + * multiple control files per connection... + */ + + if ((fd = open(control, O_WRONLY)) < 0) + { + syslog(LOG_ERR, + "Unable to append to temporary control file \"%s\" - %s", + control, strerror(errno)); + putchar(1); + status = 1; + break; + } + + lseek(fd, 0, SEEK_END); + } + else + { + if ((fd = cupsTempFd(control, sizeof(control))) < 0) + { + syslog(LOG_ERR, "Unable to open temporary control file \"%s\" - %s", + control, strerror(errno)); + putchar(1); + status = 1; + break; + } + + strlcpy(filename, control, sizeof(filename)); + } + break; + + case 0x03 : /* Receive data file */ + if (strlen(name) < 2) + { + syslog(LOG_ERR, "Bad data file name \"%s\"", name); + putchar(1); + status = 1; + break; + } + + if (num_data >= (int)(sizeof(data) / sizeof(data[0]))) + { + /* + * Too many data files... + */ + + syslog(LOG_ERR, "Too many data files (%d)", num_data); + putchar(1); + status = 1; + break; + } + + strlcpy(data[num_data], name, sizeof(data[0])); + + if ((fd = cupsTempFd(temp[num_data], sizeof(temp[0]))) < 0) + { + syslog(LOG_ERR, "Unable to open temporary data file \"%s\" - %s", + temp[num_data], strerror(errno)); + putchar(1); + status = 1; + break; + } + + strlcpy(filename, temp[num_data], sizeof(filename)); + + num_data ++; + break; + } + + putchar(status); + + if (status) + break; + + /* + * Copy the data or control file from the client... + */ + + for (total = (size_t)strtoll(count, NULL, 10); total > 0; total -= (size_t)bytes) + { + if (total > sizeof(line)) + bytes = (ssize_t)sizeof(line); + else + bytes = (ssize_t)total; + + if ((bytes = (ssize_t)fread(line, 1, (size_t)bytes, stdin)) > 0) + bytes = write(fd, line, (size_t)bytes); + + if (bytes < 1) + { + syslog(LOG_ERR, "Error while reading file - %s", + strerror(errno)); + status = 1; + break; + } + } + + /* + * Read trailing nul... + */ + + if (!status) + { + if (fread(line, 1, 1, stdin) < 1) + { + status = 1; + syslog(LOG_ERR, "Error while reading trailing nul - %s", + strerror(errno)); + } + else if (line[0]) + { + status = 1; + syslog(LOG_ERR, "Trailing character after file is not nul (%02X)!", + line[0]); + } + } + + /* + * Close the file and send an acknowledgement... + */ + + close(fd); + + putchar(status); + + if (status) + break; + } + + if (!status) + { + /* + * Process the control file and print stuff... + */ + + if ((fp = fopen(control, "rb")) == NULL) + status = 1; + else + { + /* + * Copy the default options... + */ + + for (i = 0; i < num_defaults; i ++) + num_options = cupsAddOption(defaults[i].name, + defaults[i].value, + num_options, &options); + + /* + * Grab the job information... + */ + + title[0] = '\0'; + user[0] = '\0'; + docname[0] = '\0'; + doccount = 0; + + while (smart_gets(line, sizeof(line), fp) != NULL) + { + /* + * Process control lines... + */ + + switch (line[0]) + { + case 'J' : /* Job name */ + smart_strlcpy(title, line + 1, sizeof(title)); + break; + + case 'N' : /* Document name */ + smart_strlcpy(docname, line + 1, sizeof(docname)); + break; + + case 'P' : /* User identification */ + smart_strlcpy(user, line + 1, sizeof(user)); + break; + + case 'L' : /* Print banner page */ + /* + * If a banner was requested and it's not overridden by a + * command line option and the destination's default is none + * then add the standard banner... + */ + + if (cupsGetOption("job-sheets", num_defaults, defaults) == NULL && + ((job_sheets = cupsGetOption("job-sheets", num_options, + options)) == NULL || + !strcmp(job_sheets, "none,none"))) + { + num_options = cupsAddOption("job-sheets", "standard", + num_options, &options); + } + break; + + case 'c' : /* Plot CIF file */ + case 'd' : /* Print DVI file */ + case 'f' : /* Print formatted file */ + case 'g' : /* Plot file */ + case 'l' : /* Print file leaving control characters (raw) */ + case 'n' : /* Print ditroff output file */ + case 'o' : /* Print PostScript output file */ + case 'p' : /* Print file with 'pr' format (prettyprint) */ + case 'r' : /* File to print with FORTRAN carriage control */ + case 't' : /* Print troff output file */ + case 'v' : /* Print raster file */ + doccount ++; + + if (line[0] == 'l' && + !cupsGetOption("document-format", num_options, options)) + num_options = cupsAddOption("raw", "", num_options, &options); + + if (line[0] == 'p') + num_options = cupsAddOption("prettyprint", "", num_options, + &options); + break; + } + + if (status) + break; + } + + /* + * Check that we have a username... + */ + + if (!user[0]) + { + syslog(LOG_WARNING, "No username specified by client! " + "Using \"anonymous\"..."); + strlcpy(user, "anonymous", sizeof(user)); + } + + /* + * Create the job... + */ + + if ((id = create_job(http, dest, title, user, num_options, options)) < 0) + status = 1; + else + { + /* + * Then print the job files... + */ + + rewind(fp); + + docname[0] = '\0'; + docnumber = 0; + + while (smart_gets(line, sizeof(line), fp) != NULL) + { + /* + * Process control lines... + */ + + switch (line[0]) + { + case 'N' : /* Document name */ + smart_strlcpy(docname, line + 1, sizeof(docname)); + break; + + case 'c' : /* Plot CIF file */ + case 'd' : /* Print DVI file */ + case 'f' : /* Print formatted file */ + case 'g' : /* Plot file */ + case 'l' : /* Print file leaving control characters (raw) */ + case 'n' : /* Print ditroff output file */ + case 'o' : /* Print PostScript output file */ + case 'p' : /* Print file with 'pr' format (prettyprint) */ + case 'r' : /* File to print with FORTRAN carriage control */ + case 't' : /* Print troff output file */ + case 'v' : /* Print raster file */ + /* + * Figure out which file we are printing... + */ + + for (i = 0; i < num_data; i ++) + if (!strcmp(data[i], line + 1)) + break; + + if (i >= num_data) + { + status = 1; + break; + } + + /* + * Send the print file... + */ + + docnumber ++; + + if (print_file(http, id, temp[i], docname, user, + cupsGetOption("document-format", num_options, + options), + docnumber == doccount)) + status = 1; + else + status = 0; + + break; + } + + if (status) + break; + } + } + + fclose(fp); + } + } + + cupsFreeOptions(num_options, options); + + httpClose(http); + + /* + * Clean up all temporary files and return... + */ + + unlink(control); + + for (i = 0; i < num_data; i ++) + unlink(temp[i]); + + return (status); +} + + +/* + * 'remove_jobs()' - Cancel one or more jobs. + */ + +static int /* O - Command status */ +remove_jobs(const char *dest, /* I - Destination */ + const char *agent, /* I - User agent */ + const char *list) /* I - List of jobs or users */ +{ + int id; /* Job ID */ + http_t *http; /* HTTP server connection */ + ipp_t *request; /* IPP Request */ + char uri[HTTP_MAX_URI]; /* Job URI */ + + + (void)dest; /* Suppress compiler warnings... */ + + /* + * Try connecting to the local server... + */ + + if ((http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, cupsEncryption(), 1, 30000, NULL)) == NULL) + { + syslog(LOG_ERR, "Unable to connect to server %s: %s", cupsServer(), + strerror(errno)); + return (1); + } + + /* + * Loop for each job... + */ + + while ((id = atoi(list)) > 0) + { + /* + * Skip job ID in list... + */ + + while (isdigit(*list & 255)) + list ++; + while (isspace(*list & 255)) + list ++; + + /* + * Build an IPP_OP_CANCEL_JOB request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * job-uri + * requesting-user-name + */ + + request = ippNewRequest(IPP_OP_CANCEL_JOB); + + sprintf(uri, "ipp://localhost/jobs/%d", id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, uri); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, agent); + + /* + * Do the request and get back a response... + */ + + ippDelete(cupsDoRequest(http, request, "/jobs")); + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + syslog(LOG_WARNING, "Cancel of job ID %d failed: %s\n", id, + cupsLastErrorString()); + httpClose(http); + return (1); + } + else + syslog(LOG_INFO, "Job ID %d canceled", id); + } + + httpClose(http); + + return (0); +} + + +/* + * 'send_state()' - Send the queue state. + */ + +static int /* O - Command status */ +send_state(const char *queue, /* I - Destination */ + const char *list, /* I - Job or user */ + int longstatus) /* I - List of jobs or users */ +{ + int id; /* Job ID from list */ + http_t *http; /* HTTP server connection */ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr; /* Current attribute */ + ipp_pstate_t state; /* Printer state */ + const char *jobdest, /* Pointer into job-printer-uri */ + *jobuser, /* Pointer to job-originating-user-name */ + *jobname; /* Pointer to job-name */ + ipp_jstate_t jobstate; /* job-state */ + int jobid, /* job-id */ + jobsize, /* job-k-octets */ + jobcount, /* Number of jobs */ + jobcopies, /* Number of copies */ + rank; /* Rank of job */ + char rankstr[255]; /* Rank string */ + char namestr[1024]; /* Job name string */ + char uri[HTTP_MAX_URI]; /* Printer URI */ + char dest[256]; /* Printer/class queue */ + static const char * const ranks[10] = /* Ranking strings */ + { + "th", + "st", + "nd", + "rd", + "th", + "th", + "th", + "th", + "th", + "th" + }; + static const char * const requested[] = + { /* Requested attributes */ + "job-id", + "job-k-octets", + "job-state", + "job-printer-uri", + "job-originating-user-name", + "job-name", + "copies" + }; + + + /* + * Try connecting to the local server... + */ + + if ((http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, cupsEncryption(), 1, 30000, NULL)) == NULL) + { + syslog(LOG_ERR, "Unable to connect to server %s: %s", cupsServer(), + strerror(errno)); + printf("Unable to connect to server %s: %s", cupsServer(), strerror(errno)); + return (1); + } + + /* + * Get the actual destination name and printer state... + */ + + if (get_printer(http, queue, dest, sizeof(dest), NULL, NULL, NULL, &state)) + { + syslog(LOG_ERR, "Unable to get printer %s: %s", queue, + cupsLastErrorString()); + printf("Unable to get printer %s: %s", queue, cupsLastErrorString()); + return (1); + } + + /* + * Show the queue state... + */ + + switch (state) + { + case IPP_PSTATE_IDLE : + printf("%s is ready\n", dest); + break; + case IPP_PSTATE_PROCESSING : + printf("%s is ready and printing\n", dest); + break; + case IPP_PSTATE_STOPPED : + printf("%s is not ready\n", dest); + break; + } + + /* + * Build an IPP_OP_GET_JOBS or IPP_OP_GET_JOB_ATTRIBUTES request, which requires + * the following attributes: + * + * attributes-charset + * attributes-natural-language + * job-uri or printer-uri + */ + + id = atoi(list); + + request = ippNewRequest(id ? IPP_OP_GET_JOB_ATTRIBUTES : IPP_OP_GET_JOBS); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", dest); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, uri); + + if (id) + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", id); + else + { + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, list); + ippAddBoolean(request, IPP_TAG_OPERATION, "my-jobs", 1); + } + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + sizeof(requested) / sizeof(requested[0]), + NULL, requested); + + /* + * Do the request and get back a response... + */ + + jobcount = 0; + response = cupsDoRequest(http, request, "/"); + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + printf("get-jobs failed: %s\n", cupsLastErrorString()); + ippDelete(response); + return (1); + } + + /* + * Loop through the job list and display them... + */ + + for (attr = response->attrs, rank = 1; attr; attr = attr->next) + { + /* + * Skip leading attributes until we hit a job... + */ + + while (attr && (attr->group_tag != IPP_TAG_JOB || !attr->name)) + attr = attr->next; + + if (!attr) + break; + + /* + * Pull the needed attributes from this job... + */ + + jobid = 0; + jobsize = 0; + jobstate = IPP_JSTATE_PENDING; + jobname = "untitled"; + jobuser = NULL; + jobdest = NULL; + jobcopies = 1; + + while (attr && attr->group_tag == IPP_TAG_JOB) + { + if (!strcmp(attr->name, "job-id") && + attr->value_tag == IPP_TAG_INTEGER) + jobid = attr->values[0].integer; + + if (!strcmp(attr->name, "job-k-octets") && + attr->value_tag == IPP_TAG_INTEGER) + jobsize = attr->values[0].integer; + + if (!strcmp(attr->name, "job-state") && + attr->value_tag == IPP_TAG_ENUM) + jobstate = (ipp_jstate_t)attr->values[0].integer; + + if (!strcmp(attr->name, "job-printer-uri") && + attr->value_tag == IPP_TAG_URI) + if ((jobdest = strrchr(attr->values[0].string.text, '/')) != NULL) + jobdest ++; + + if (!strcmp(attr->name, "job-originating-user-name") && + attr->value_tag == IPP_TAG_NAME) + jobuser = attr->values[0].string.text; + + if (!strcmp(attr->name, "job-name") && + attr->value_tag == IPP_TAG_NAME) + jobname = attr->values[0].string.text; + + if (!strcmp(attr->name, "copies") && + attr->value_tag == IPP_TAG_INTEGER) + jobcopies = attr->values[0].integer; + + attr = attr->next; + } + + /* + * See if we have everything needed... + */ + + if (!jobdest || !jobid) + { + if (!attr) + break; + else + continue; + } + + if (!longstatus && jobcount == 0) + puts("Rank Owner Job File(s) Total Size"); + + jobcount ++; + + /* + * Display the job... + */ + + if (jobstate == IPP_JSTATE_PROCESSING) + strlcpy(rankstr, "active", sizeof(rankstr)); + else + { + snprintf(rankstr, sizeof(rankstr), "%d%s", rank, ranks[rank % 10]); + rank ++; + } + + if (longstatus) + { + puts(""); + + if (jobcopies > 1) + snprintf(namestr, sizeof(namestr), "%d copies of %s", jobcopies, + jobname); + else + strlcpy(namestr, jobname, sizeof(namestr)); + + printf("%s: %-33.33s [job %d localhost]\n", jobuser, rankstr, jobid); + printf(" %-39.39s %.0f bytes\n", namestr, 1024.0 * jobsize); + } + else + printf("%-7s %-7.7s %-7d %-31.31s %.0f bytes\n", rankstr, jobuser, + jobid, jobname, 1024.0 * jobsize); + + if (!attr) + break; + } + + ippDelete(response); + + if (jobcount == 0) + puts("no entries"); + + httpClose(http); + + return (0); +} + + +/* + * 'smart_gets()' - Get a line of text, removing the trailing CR and/or LF. + */ + +static char * /* O - Line read or NULL */ +smart_gets(char *s, /* I - Pointer to line buffer */ + int len, /* I - Size of line buffer */ + FILE *fp) /* I - File to read from */ +{ + char *ptr, /* Pointer into line */ + *end; /* End of line */ + int ch; /* Character from file */ + + + /* + * Read the line; unlike fgets(), we read the entire line but dump + * characters that go past the end of the buffer. Also, we accept + * CR, LF, or CR LF for the line endings to be "safe", although + * RFC 1179 specifically says "just use LF". + */ + + ptr = s; + end = s + len - 1; + + while ((ch = getc(fp)) != EOF) + { + if (ch == '\n') + break; + else if (ch == '\r') + { + /* + * See if a LF follows... + */ + + ch = getc(fp); + + if (ch != '\n') + ungetc(ch, fp); + + break; + } + else if (ptr < end) + *ptr++ = (char)ch; + } + + *ptr = '\0'; + + if (ch == EOF && ptr == s) + return (NULL); + else + return (s); +} + + +/* + * 'smart_strlcpy()' - Copy a string and convert from ISO-8859-1 to UTF-8 as needed. + */ + +static void +smart_strlcpy(char *dst, /* I - Output buffer */ + const char *src, /* I - Input string */ + size_t dstsize) /* I - Size of output buffer */ +{ + const unsigned char *srcptr; /* Pointer into input string */ + unsigned char *dstptr, /* Pointer into output buffer */ + *dstend; /* End of output buffer */ + int saw_8859 = 0; /* Saw an extended character that was not UTF-8? */ + + + for (srcptr = (unsigned char *)src, dstptr = (unsigned char *)dst, dstend = dstptr + dstsize - 1; *srcptr;) + { + if (*srcptr < 0x80) + *dstptr++ = *srcptr++; /* ASCII */ + else if (saw_8859) + { + /* + * Map ISO-8859-1 (most likely character set for legacy LPD clients) to + * UTF-8... + */ + + if (dstptr > (dstend - 2)) + break; + + *dstptr++ = 0xc0 | (*srcptr >> 6); + *dstptr++ = 0x80 | (*srcptr++ & 0x3f); + } + else if ((*srcptr & 0xe0) == 0xc0 && (srcptr[1] & 0xc0) == 0x80) + { + /* + * 2-byte UTF-8 sequence... + */ + + if (dstptr > (dstend - 2)) + break; + + *dstptr++ = *srcptr++; + *dstptr++ = *srcptr++; + } + else if ((*srcptr & 0xf0) == 0xe0 && (srcptr[1] & 0xc0) == 0x80 && (srcptr[2] & 0xc0) == 0x80) + { + /* + * 3-byte UTF-8 sequence... + */ + + if (dstptr > (dstend - 3)) + break; + + *dstptr++ = *srcptr++; + *dstptr++ = *srcptr++; + *dstptr++ = *srcptr++; + } + else if ((*srcptr & 0xf8) == 0xf0 && (srcptr[1] & 0xc0) == 0x80 && (srcptr[2] & 0xc0) == 0x80 && (srcptr[3] & 0xc0) == 0x80) + { + /* + * 4-byte UTF-8 sequence... + */ + + if (dstptr > (dstend - 4)) + break; + + *dstptr++ = *srcptr++; + *dstptr++ = *srcptr++; + *dstptr++ = *srcptr++; + *dstptr++ = *srcptr++; + } + else + { + /* + * Bad UTF-8 sequence, this must be an ISO-8859-1 string... + */ + + saw_8859 = 1; + + if (dstptr > (dstend - 2)) + break; + + *dstptr++ = 0xc0 | (*srcptr >> 6); + *dstptr++ = 0x80 | (*srcptr++ & 0x3f); + } + } + + *dstptr = '\0'; +} diff --git a/scheduler/cups-lpd.xinetd.in b/scheduler/cups-lpd.xinetd.in new file mode 100644 index 0000000..05fbba7 --- /dev/null +++ b/scheduler/cups-lpd.xinetd.in @@ -0,0 +1,12 @@ +service printer +{ + disable = yes + socket_type = stream + protocol = tcp + wait = no + user = @CUPS_USER@ + group = @CUPS_GROUP@ + passenv = + server = @CUPS_SERVERBIN@/daemon/cups-lpd + server_args = -o document-format=application/octet-stream +} diff --git a/scheduler/cups.sh.in b/scheduler/cups.sh.in new file mode 100644 index 0000000..89ac36d --- /dev/null +++ b/scheduler/cups.sh.in @@ -0,0 +1,194 @@ +#!/bin/sh +# +# Startup/shutdown script for CUPS. +# +# Copyright © 2007-2013 by Apple Inc. +# Copyright © 1997-2007 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +#### OS-Dependent Information + +# +# Linux chkconfig stuff: +# +# chkconfig: 235 99 00 +# description: Startup/shutdown script for CUPS. +# + +# +# NetBSD 1.5+ rcorder script lines. The format of the following two +# lines is very strict -- please don't add additional spaces! +# +# PROVIDE: cups +# REQUIRE: DAEMON +# + + +#### OS-Dependent Configuration + +case "`uname`" in + *BSD*) + IS_ON=: + ECHO=echo + ECHO_OK=: + ECHO_ERROR=: + ;; + + Darwin*) + . /etc/rc.common + + if test "${CUPS:=-YES-}" = "-NO-"; then + exit 0 + fi + + IS_ON=: + ECHO=ConsoleMessage + ECHO_OK=: + ECHO_ERROR=: + ;; + + Linux*) + IS_ON=/bin/true + if test -f /etc/init.d/functions; then + . /etc/init.d/functions + ECHO=echo + ECHO_OK="echo_success" + ECHO_ERROR="echo_failure" + else + ECHO=echo + ECHO_OK=: + ECHO_ERROR=: + fi + ;; + + *) + IS_ON=/bin/true + ECHO=echo + ECHO_OK=: + ECHO_ERROR=: + ;; +esac + +#### OS-Independent Stuff + +# +# Set the timezone, if possible... This allows the scheduler and +# all child processes to know the local timezone when reporting +# dates and times to the user. If no timezone information is +# found, then Greenwich Mean Time (GMT) will probably be used. +# + +for file in /etc/TIMEZONE /etc/rc.config /etc/sysconfig/clock; do + if test -f $file; then + . $file + fi +done + +if test "x$ZONE" != x; then + TZ="$ZONE" +fi + +if test "x$TIMEZONE" != x; then + TZ="$TIMEZONE" +fi + +if test "x$TZ" != x; then + export TZ +fi + +# +# Don't use TMPDIR environment variable from init script, as that can +# cause cupsd to set TempDir to a user's temporary directory instead +# of the default... +# + +unset TMPDIR + + +# +# Make sure we have the standard program directories in the path +# since some operating systems don't provide a standard path on boot-up... +# + +if test "x$PATH" = x; then + PATH="/bin:/usr/bin:/sbin:/usr/sbin" +else + PATH="/bin:/usr/bin:/sbin:/usr/sbin:$PATH" +fi + +export PATH + +# +# See if the CUPS server (cupsd) is running... +# + +case "`uname`" in + SunOS*) + pid=`ps -e | nawk '{if (match($4, ".*/cupsd$") || $4 == "cupsd") print $1}'` + ;; + Linux* | *BSD* | Darwin*) + pid=`ps ax | awk '{if (match($5, ".*/cupsd$") || $5 == "cupsd") print $1}'` + ;; + *) + pid="" + ;; +esac + +# +# Start or stop the CUPS server based upon the first argument to the script. +# + +case $1 in + start | restart | reload) + if $IS_ON cups; then + if test -x /sbin/portrelease; then + /sbin/portrelease cups + fi + + if test "$pid" != ""; then + kill -HUP $pid + else + prefix=@prefix@ + exec_prefix=@exec_prefix@ + @sbindir@/cupsd + if test $? != 0; then + $ECHO_FAIL + $ECHO "cups: unable to $1 scheduler." + exit 1 + fi + fi + $ECHO_OK + $ECHO "cups: ${1}ed scheduler." + fi + ;; + + stop) + if test "$pid" != ""; then + kill $pid + $ECHO_OK + $ECHO "cups: stopped scheduler." + fi + ;; + + status) + if test "$pid" != ""; then + echo "cups: scheduler is running." + else + echo "cups: scheduler is not running." + fi + ;; + + *) + echo "Usage: cups {reload|restart|start|status|stop}" + exit 1 + ;; +esac + +# +# Exit with no errors. +# + +exit 0 diff --git a/scheduler/cups.xml.in b/scheduler/cups.xml.in new file mode 100644 index 0000000..f797960 --- /dev/null +++ b/scheduler/cups.xml.in @@ -0,0 +1,212 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/scheduler/cupsd.h b/scheduler/cupsd.h new file mode 100644 index 0000000..bc1350e --- /dev/null +++ b/scheduler/cupsd.h @@ -0,0 +1,222 @@ +/* + * Main header file for the CUPS scheduler. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + + +/* + * Include necessary headers. + */ + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef _WIN32 +# include +#else +# include +#endif /* _WIN32 */ + +#include "mime.h" + +#if defined(HAVE_CDSASSL) +# include +#endif /* HAVE_CDSASSL */ + + +/* + * Some OS's don't have hstrerror(), most notably Solaris... + */ + +#ifndef HAVE_HSTRERROR +# ifdef hstrerror +# undef hstrerror +# endif /* hstrerror */ +# define hstrerror cups_hstrerror + +extern const char *cups_hstrerror(int); +#endif /* !HAVE_HSTRERROR */ + + +/* + * Common constants. + */ + +#ifndef FALSE +# define FALSE 0 +# define TRUE (!FALSE) +#endif /* !FALSE */ + + +/* + * Implementation limits... + */ + +#define MAX_ENV 100 /* Maximum number of environment strings */ +#define MAX_USERPASS 33 /* Maximum size of username/password */ +#define MAX_FILTERS 20 /* Maximum number of filters */ +#define MAX_SYSTEM_GROUPS 32 /* Maximum number of system groups */ + + +/* + * Defaults... + */ + +#define DEFAULT_HISTORY INT_MAX /* Preserve job history? */ +#define DEFAULT_FILES 86400 /* Preserve job files? */ +#define DEFAULT_TIMEOUT 300 /* Timeout during requests/updates */ +#define DEFAULT_KEEPALIVE 30 /* Timeout between requests */ + + +/* + * Global variable macros... + */ + +#ifdef _MAIN_C_ +# define VAR +# define VALUE(x) =x +# define VALUE2(x,y) ={x,y} +#else +# define VAR extern +# define VALUE(x) +# define VALUE2(x,y) +#endif /* _MAIN_C */ + + +/* + * Other stuff for the scheduler... + */ + +#include "sysman.h" +#include "statbuf.h" +#include "cert.h" +#include "auth.h" +#include "client.h" +#include "policy.h" +#include "printers.h" +#include "classes.h" +#include "job.h" +#include "colorman.h" +#include "conf.h" +#include "banners.h" +#include "dirsvc.h" +#include "network.h" +#include "subscriptions.h" + + +/* + * Reload types... + */ + +#define RELOAD_NONE 0 /* No reload needed */ +#define RELOAD_ALL 1 /* Reload everything */ +#define RELOAD_CUPSD 2 /* Reload only cupsd.conf */ + + +/* + * Select callback function type... + */ + +typedef void (*cupsd_selfunc_t)(void *data); + + +/* + * Globals... + */ + +VAR int TestConfigFile VALUE(0); + /* Test the cupsd.conf file? */ +VAR int MaxFDs VALUE(0); + /* Maximum number of files */ + +VAR time_t ReloadTime VALUE(0); + /* Time of reload request... */ +VAR int NeedReload VALUE(RELOAD_ALL), + /* Need to load configuration? */ + DoingShutdown VALUE(0); + /* Shutting down the scheduler? */ +VAR void *DefaultProfile VALUE(0); + /* Default security profile */ + +#ifdef HAVE_ONDEMAND +VAR int OnDemand VALUE(0); + /* Launched on demand */ +#endif /* HAVE_ONDEMAND */ + + +/* + * Prototypes... + */ + +/* env.c */ +extern void cupsdInitEnv(void); +extern int cupsdLoadEnv(char *envp[], int envmax); +extern void cupsdSetEnv(const char *name, const char *value); +extern void cupsdSetEnvf(const char *name, const char *value, ...) _CUPS_FORMAT(2, 3); +extern void cupsdUpdateEnv(void); + +/* file.c */ +extern void cupsdCleanFiles(const char *path, const char *pattern); +extern int cupsdCloseCreatedConfFile(cups_file_t *fp, + const char *filename); +extern void cupsdClosePipe(int *fds); +extern cups_file_t *cupsdCreateConfFile(const char *filename, mode_t mode); +extern cups_file_t *cupsdOpenConfFile(const char *filename); +extern int cupsdOpenPipe(int *fds); +extern int cupsdRemoveFile(const char *filename); +extern int cupsdUnlinkOrRemoveFile(const char *filename); + +/* main.c */ +extern int cupsdAddString(cups_array_t **a, const char *s); +extern void cupsdCheckProcess(void); +extern void cupsdClearString(char **s); +extern void cupsdFreeStrings(cups_array_t **a); +extern void cupsdHoldSignals(void); +extern char *cupsdMakeUUID(const char *name, int number, + char *buffer, size_t bufsize); +extern void cupsdReleaseSignals(void); +extern void cupsdSetString(char **s, const char *v); +extern void cupsdSetStringf(char **s, const char *f, ...) + __attribute__ ((__format__ (__printf__, 2, 3))); + +/* process.c */ +extern void *cupsdCreateProfile(int job_id, int allow_networking); +extern void cupsdDestroyProfile(void *profile); +extern int cupsdEndProcess(int pid, int force); +extern const char *cupsdFinishProcess(int pid, char *name, size_t namelen, int *job_id); +extern int cupsdStartProcess(const char *command, char *argv[], + char *envp[], int infd, int outfd, + int errfd, int backfd, int sidefd, + int root, void *profile, + cupsd_job_t *job, int *pid); + +/* select.c */ +extern int cupsdAddSelect(int fd, cupsd_selfunc_t read_cb, + cupsd_selfunc_t write_cb, void *data); +extern int cupsdDoSelect(long timeout); +#ifdef CUPSD_IS_SELECTING +extern int cupsdIsSelecting(int fd); +#endif /* CUPSD_IS_SELECTING */ +extern void cupsdRemoveSelect(int fd); +extern void cupsdStartSelect(void); +extern void cupsdStopSelect(void); + +/* server.c */ +extern void cupsdStartServer(void); +extern void cupsdStopServer(void); diff --git a/scheduler/cupsfilter.c b/scheduler/cupsfilter.c new file mode 100644 index 0000000..fa914d2 --- /dev/null +++ b/scheduler/cupsfilter.c @@ -0,0 +1,1494 @@ +/* + * Filtering program for CUPS. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include "mime.h" +#include +#include +#include +#include +#include +#if defined(__APPLE__) +# include +#endif /* __APPLE__ */ + + +/* + * Local globals... + */ + +static char *DataDir = NULL;/* CUPS_DATADIR environment variable */ +static char *FontPath = NULL; + /* CUPS_FONTPATH environment variable */ +static mime_filter_t GZIPFilter = /* gziptoany filter */ +{ + NULL, /* Source type */ + NULL, /* Destination type */ + 0, /* Cost */ + "gziptoany" /* Filter program to run */ +}; +static char *Path = NULL; /* PATH environment variable */ +static char *ServerBin = NULL; + /* CUPS_SERVERBIN environment variable */ +static char *ServerRoot = NULL; + /* CUPS_SERVERROOT environment variable */ +static char *RIPCache = NULL; + /* RIP_MAX_CACHE environment variable */ +static char TempFile[1024] = ""; + /* Temporary file */ + + +/* + * Local functions... + */ + +static void add_printer_filter(const char *command, mime_t *mime, + mime_type_t *printer_type, + const char *filter); +static mime_type_t *add_printer_filters(const char *command, + mime_t *mime, const char *printer, + const char *ppdfile, + mime_type_t **prefilter_type); +static void check_cb(void *context, _cups_fc_result_t result, + const char *message); +static int compare_pids(mime_filter_t *a, mime_filter_t *b); +static char *escape_options(int num_options, cups_option_t *options); +static int exec_filter(const char *filter, char **argv, + char **envp, int infd, int outfd); +static int exec_filters(mime_type_t *srctype, + cups_array_t *filters, const char *infile, + const char *outfile, const char *ppdfile, + const char *printer, const char *user, + const char *title, int num_options, + cups_option_t *options); +static void get_job_file(const char *job); +static int open_pipe(int *fds); +static int read_cups_files_conf(const char *filename); +static void set_string(char **s, const char *val); +static void sighandler(int sig); +static void usage(const char *opt) _CUPS_NORETURN; + + +/* + * 'main()' - Main entry for the test program. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i, /* Looping vars */ + list_filters = 0; /* Just list the filters? */ + const char *command, /* Command name */ + *opt, /* Current option */ + *printer; /* Printer name */ + mime_type_t *printer_type, /* Printer MIME type */ + *prefilter_type; /* Printer prefilter MIME type */ + char *srctype, /* Source type */ + *dsttype, /* Destination type */ + super[MIME_MAX_SUPER], /* Super-type name */ + type[MIME_MAX_TYPE]; /* Type name */ + int compression; /* Compression of file */ + int cost; /* Cost of filters */ + mime_t *mime; /* MIME database */ + char mimedir[1024]; /* MIME directory */ + char *infile, /* File to filter */ + *outfile; /* File to create */ + char cupsfilesconf[1024]; /* cups-files.conf file */ + const char *server_root; /* CUPS_SERVERROOT environment variable */ + mime_type_t *src, /* Source type */ + *dst; /* Destination type */ + cups_array_t *filters; /* Filters for the file */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ + const char *ppdfile; /* PPD file */ + const char *title, /* Title string */ + *user; /* Username */ + int all_filters, /* Use all filters */ + removeppd, /* Remove PPD file */ + removeinfile; /* Remove input file */ + int status; /* Execution status */ + + + /* + * Setup defaults... + */ + + if ((command = strrchr(argv[0], '/')) != NULL) + command ++; + else + command = argv[0]; + + printer = !strcmp(command, "convert") ? "tofile" : "cupsfilter"; + mime = NULL; + srctype = NULL; + compression = 0; + dsttype = "application/pdf"; + infile = NULL; + outfile = NULL; + num_options = 0; + options = NULL; + ppdfile = NULL; + title = NULL; + user = cupsUser(); + all_filters = 0; + removeppd = 0; + removeinfile = 0; + + if ((server_root = getenv("CUPS_SERVERROOT")) == NULL) + server_root = CUPS_SERVERROOT; + + snprintf(cupsfilesconf, sizeof(cupsfilesconf), "%s/cups-files.conf", server_root); + + /* + * Process command-line arguments... + */ + + _cupsSetLocale(argv); + + for (i = 1; i < argc; i ++) + { + if (argv[i][0] == '-') + { + if (!strcmp(argv[i], "--list-filters")) + { + list_filters = 1; + } + else if (!strcmp(argv[i], "--")) + { + i ++; + if (i < argc && !infile) + infile = argv[i]; + else + usage(NULL); + } + else + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'a' : /* Specify option... */ + i ++; + if (i < argc) + num_options = cupsParseOptions(argv[i], num_options, &options); + else + usage(opt); + break; + + case 'c' : /* Specify cups-files.conf file location... */ + i ++; + if (i < argc) + { + if (!strcmp(command, "convert")) + num_options = cupsAddOption("copies", argv[i], num_options, &options); + else + strlcpy(cupsfilesconf, argv[i], sizeof(cupsfilesconf)); + } + else + usage(opt); + break; + + case 'd' : /* Specify the real printer name */ + i ++; + if (i < argc) + printer = argv[i]; + else + usage(opt); + break; + + case 'D' : /* Delete input file after conversion */ + removeinfile = 1; + break; + + case 'e' : /* Use every filter from the PPD file */ + all_filters = 1; + break; + + case 'f' : /* Specify input file... */ + i ++; + if (i < argc && !infile) + infile = argv[i]; + else + usage(opt); + break; + + case 'i' : /* Specify source MIME type... */ + i ++; + if (i < argc) + { + if (sscanf(argv[i], "%15[^/]/%255s", super, type) != 2) + usage(opt); + + srctype = argv[i]; + } + else + usage(opt); + break; + + case 'j' : /* Get job file or specify destination MIME type... */ + if (strcmp(command, "convert")) + { + i ++; + if (i < argc) + { + get_job_file(argv[i]); + infile = TempFile; + } + else + usage(opt); + + break; + } + + case 'm' : /* Specify destination MIME type... */ + i ++; + if (i < argc) + { + if (sscanf(argv[i], "%15[^/]/%255s", super, type) != 2) + usage(opt); + + dsttype = argv[i]; + } + else + usage(opt); + break; + + case 'n' : /* Specify number of copies... */ + i ++; + if (i < argc) + num_options = cupsAddOption("copies", argv[i], num_options, &options); + else + usage(opt); + break; + + case 'o' : /* Specify option(s) or output filename */ + i ++; + if (i < argc) + { + if (!strcmp(command, "convert")) + { + if (outfile) + usage(NULL); + else + outfile = argv[i]; + } + else + num_options = cupsParseOptions(argv[i], num_options, &options); + } + else + usage(opt); + break; + + case 'p' : /* Specify PPD file... */ + case 'P' : /* Specify PPD file... */ + i ++; + if (i < argc) + ppdfile = argv[i]; + else + usage(opt); + break; + + case 't' : /* Specify title... */ + case 'J' : /* Specify title... */ + i ++; + if (i < argc) + title = argv[i]; + else + usage(opt); + break; + + case 'u' : /* Delete PPD file after conversion */ + removeppd = 1; + break; + + case 'U' : /* Specify username... */ + i ++; + if (i < argc) + user = argv[i]; + else + usage(opt); + break; + + default : /* Something we don't understand... */ + usage(opt); + break; + } + } + } + } + else if (!infile) + { + if (strcmp(command, "convert")) + infile = argv[i]; + else + usage(NULL); + } + else + { + _cupsLangPuts(stderr, + _("cupsfilter: Only one filename can be specified.")); + usage(NULL); + } + } + + if (!infile && !srctype) + usage(NULL); + + if (!title) + { + if (!infile) + title = "(stdin)"; + else if ((title = strrchr(infile, '/')) != NULL) + title ++; + else + title = infile; + } + + /* + * Load the cups-files.conf file and create the MIME database... + */ + + if (read_cups_files_conf(cupsfilesconf)) + return (1); + + snprintf(mimedir, sizeof(mimedir), "%s/mime", DataDir); + + mime = mimeLoadTypes(NULL, mimedir); + mime = mimeLoadTypes(mime, ServerRoot); + mime = mimeLoadFilters(mime, mimedir, Path); + mime = mimeLoadFilters(mime, ServerRoot, Path); + + if (!mime) + { + _cupsLangPrintf(stderr, + _("%s: Unable to read MIME database from \"%s\" or " + "\"%s\"."), + command, mimedir, ServerRoot); + return (1); + } + + prefilter_type = NULL; + + if (all_filters) + printer_type = add_printer_filters(command, mime, printer, ppdfile, + &prefilter_type); + else + printer_type = mimeType(mime, "application", "vnd.cups-postscript"); + + /* + * Get the source and destination types... + */ + + if (srctype) + { + /* sscanf return value already checked above */ + sscanf(srctype, "%15[^/]/%255s", super, type); + if ((src = mimeType(mime, super, type)) == NULL) + { + _cupsLangPrintf(stderr, + _("%s: Unknown source MIME type %s/%s."), + command, super, type); + return (1); + } + } + else if ((src = mimeFileType(mime, infile, infile, &compression)) == NULL) + { + _cupsLangPrintf(stderr, + _("%s: Unable to determine MIME type of \"%s\"."), + command, infile); + return (1); + } + + /* sscanf return value already checked above */ + sscanf(dsttype, "%15[^/]/%255s", super, type); + if (!_cups_strcasecmp(super, "printer")) + dst = printer_type; + else if ((dst = mimeType(mime, super, type)) == NULL) + { + _cupsLangPrintf(stderr, + _("%s: Unknown destination MIME type %s/%s."), + command, super, type); + return (1); + } + + /* + * Figure out how to filter the file... + */ + + if (src == dst) + { + /* + * Special case - no filtering needed... + */ + + filters = cupsArrayNew(NULL, NULL); + cupsArrayAdd(filters, &GZIPFilter); + GZIPFilter.src = src; + GZIPFilter.dst = dst; + } + else if ((filters = mimeFilter(mime, src, dst, &cost)) == NULL) + { + _cupsLangPrintf(stderr, + _("%s: No filter to convert from %s/%s to %s/%s."), + command, src->super, src->type, dst->super, dst->type); + return (1); + } + else if (compression) + cupsArrayInsert(filters, &GZIPFilter); + + if (prefilter_type) + { + /* + * Add pre-filters... + */ + + mime_filter_t *filter, /* Current filter */ + *prefilter; /* Current pre-filter */ + cups_array_t *prefilters = cupsArrayNew(NULL, NULL); + /* New filters array */ + + + for (filter = (mime_filter_t *)cupsArrayFirst(filters); + filter; + filter = (mime_filter_t *)cupsArrayNext(filters)) + { + if ((prefilter = mimeFilterLookup(mime, filter->src, + prefilter_type)) != NULL) + cupsArrayAdd(prefilters, prefilter); + + cupsArrayAdd(prefilters, filter); + } + + cupsArrayDelete(filters); + filters = prefilters; + } + + if (list_filters) + { + /* + * List filters... + */ + + mime_filter_t *filter; /* Current filter */ + + for (filter = (mime_filter_t *)cupsArrayFirst(filters); + filter; + filter = (mime_filter_t *)cupsArrayNext(filters)) + if (strcmp(filter->filter, "-")) + _cupsLangPuts(stdout, filter->filter); + + status = 0; + } + else + { + /* + * Run filters... + */ + + status = exec_filters(src, filters, infile, outfile, ppdfile, printer, user, + title, num_options, options); + } + + /* + * Remove files as needed, then exit... + */ + + if (TempFile[0]) + unlink(TempFile); + + if (removeppd && ppdfile) + unlink(ppdfile); + + if (removeinfile && infile) + unlink(infile); + + return (status); +} + + +/* + * 'add_printer_filter()' - Add a single filters from a PPD file. + */ + +static void +add_printer_filter( + const char *command, /* I - Command name */ + mime_t *mime, /* I - MIME database */ + mime_type_t *filtertype, /* I - Printer or prefilter MIME type */ + const char *filter) /* I - Filter to add */ +{ + char super[MIME_MAX_SUPER], /* Super-type for filter */ + type[MIME_MAX_TYPE], /* Type for filter */ + dsuper[MIME_MAX_SUPER], /* Destination super-type for filter */ + dtype[MIME_MAX_TYPE], /* Destination type for filter */ + dest[MIME_MAX_SUPER + MIME_MAX_TYPE + 2], + /* Destination super/type */ + program[1024]; /* Program/filter name */ + int cost; /* Cost of filter */ + size_t maxsize = 0; /* Maximum supported file size */ + mime_type_t *temptype, /* MIME type looping var */ + *desttype; /* Destination MIME type */ + mime_filter_t *filterptr; /* MIME filter */ + + + /* + * Parse the filter string; it should be in one of the following formats: + * + * source/type cost program + * source/type cost maxsize(nnnn) program + * source/type dest/type cost program + * source/type dest/type cost maxsize(nnnn) program + */ + + if (sscanf(filter, "%15[^/]/%255s%*[ \t]%15[^/]/%255s%d%*[ \t]%1023[^\n]", + super, type, dsuper, dtype, &cost, program) == 6) + { + snprintf(dest, sizeof(dest), "%s/%s/%s", filtertype->type, dsuper, dtype); + + if ((desttype = mimeType(mime, "printer", dest)) == NULL) + desttype = mimeAddType(mime, "printer", dest); + } + else + { + if (sscanf(filter, "%15[^/]/%255s%d%*[ \t]%1023[^\n]", super, type, &cost, + program) == 4) + { + desttype = filtertype; + } + else + { + _cupsLangPrintf(stderr, _("%s: Invalid filter string \"%s\"."), command, + filter); + return; + } + } + + if (!strncmp(program, "maxsize(", 8)) + { + char *ptr; /* Pointer into maxsize(nnnn) program */ + + maxsize = (size_t)strtoll(program + 8, &ptr, 10); + + if (*ptr != ')') + { + printf("testmime: Invalid filter string \"%s\".\n", filter); + return; + } + + ptr ++; + while (_cups_isspace(*ptr)) + ptr ++; + + _cups_strcpy(program, ptr); + } + + /* + * See if the filter program exists; if not, stop the printer and flag + * the error! + */ + + if (strcmp(program, "-")) + { + char filename[1024]; /* Full path to program */ + + if (program[0] == '/') + strlcpy(filename, program, sizeof(filename)); + else + snprintf(filename, sizeof(filename), "%s/filter/%s", ServerBin, program); + + if (_cupsFileCheck(filename, _CUPS_FILE_CHECK_PROGRAM, !geteuid(), check_cb, + (void *)command)) + return; + } + + /* + * Add the filter to the MIME database, supporting wildcards as needed... + */ + + for (temptype = mimeFirstType(mime); + temptype; + temptype = mimeNextType(mime)) + if (((super[0] == '*' && _cups_strcasecmp(temptype->super, "printer")) || + !_cups_strcasecmp(temptype->super, super)) && + (type[0] == '*' || !_cups_strcasecmp(temptype->type, type))) + { + if (desttype != filtertype) + { + filterptr = mimeAddFilter(mime, temptype, desttype, cost, program); + + if (!mimeFilterLookup(mime, desttype, filtertype)) + mimeAddFilter(mime, desttype, filtertype, 0, "-"); + } + else + filterptr = mimeAddFilter(mime, temptype, filtertype, cost, program); + + if (filterptr) + filterptr->maxsize = maxsize; + } +} + + +/* + * 'add_printer_filters()' - Add filters from a PPD file. + */ + +static mime_type_t * /* O - Printer type or NULL on error */ +add_printer_filters( + const char *command, /* I - Command name */ + mime_t *mime, /* I - MIME database */ + const char *printer, /* I - Printer name */ + const char *ppdfile, /* I - PPD file */ + mime_type_t **prefilter_type) /* O - Prefilter type */ +{ + ppd_file_t *ppd; /* PPD file data */ + _ppd_cache_t *pc; /* Cache data for PPD */ + const char *value; /* Filter definition value */ + mime_type_t *printer_type; /* Printer filter type */ + + + if ((ppd = _ppdOpenFile(ppdfile, _PPD_LOCALIZATION_NONE)) == NULL) + { + ppd_status_t status; /* PPD load status */ + int linenum; /* Line number */ + + status = ppdLastError(&linenum); + _cupsLangPrintf(stderr, _("%s: Unable to open PPD file: %s on line %d."), + command, ppdErrorString(status), linenum); + return (NULL); + } + + pc = _ppdCacheCreateWithPPD(ppd); + if (!pc) + return (NULL); + + printer_type = mimeAddType(mime, "printer", printer); + *prefilter_type = NULL; + + if (pc->filters) + { + for (value = (const char *)cupsArrayFirst(pc->filters); + value; + value = (const char *)cupsArrayNext(pc->filters)) + add_printer_filter(command, mime, printer_type, value); + } + else + { + add_printer_filter(command, mime, printer_type, + "application/vnd.cups-raw 0 -"); + add_printer_filter(command, mime, printer_type, + "application/vnd.cups-postscript 0 -"); + } + + if (pc->prefilters) + { + *prefilter_type = mimeAddType(mime, "prefilter", printer); + + for (value = (const char *)cupsArrayFirst(pc->prefilters); + value; + value = (const char *)cupsArrayNext(pc->prefilters)) + add_printer_filter(command, mime, *prefilter_type, value); + } + + return (printer_type); +} + + +/* + * 'check_cb()' - Callback function for _cupsFileCheck. + */ + +static void +check_cb(void *context, /* I - Context (command name) */ + _cups_fc_result_t result, /* I - Result of check */ + const char *message) /* I - Localized message */ +{ + (void)result; + + _cupsLangPrintf(stderr, _("%s: %s"), (char *)context, message); +} + + +/* + * 'compare_pids()' - Compare two filter PIDs... + */ + +static int /* O - Result of comparison */ +compare_pids(mime_filter_t *a, /* I - First filter */ + mime_filter_t *b) /* I - Second filter */ +{ + /* + * Because we're particularly lazy, we store the process ID in the "cost" + * variable... + */ + + return (a->cost - b->cost); +} + + +/* + * 'escape_options()' - Convert an options array to a string. + */ + +static char * /* O - Option string */ +escape_options( + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + int i; /* Looping var */ + cups_option_t *option; /* Current option */ + size_t bytes; /* Number of bytes needed */ + char *s, /* Option string */ + *sptr, /* Pointer into string */ + *vptr; /* Pointer into value */ + + + /* + * Figure out the worst-case number of bytes we need for the option string. + */ + + for (i = num_options, option = options, bytes = 1; i > 0; i --, option ++) + bytes += 2 * (strlen(option->name) + strlen(option->value)) + 2; + + if ((s = malloc(bytes)) == NULL) + return (NULL); + + /* + * Copy the options to the string... + */ + + for (i = num_options, option = options, sptr = s; i > 0; i --, option ++) + { + if (!strcmp(option->name, "copies")) + continue; + + if (sptr > s) + *sptr++ = ' '; + + strlcpy(sptr, option->name, bytes - (size_t)(sptr - s)); + sptr += strlen(sptr); + *sptr++ = '='; + + for (vptr = option->value; *vptr;) + { + if (strchr("\\ \t\n", *vptr)) + *sptr++ = '\\'; + + *sptr++ = *vptr++; + } + } + + *sptr = '\0'; + + return (s); +} + + +/* + * 'exec_filter()' - Execute a single filter. + */ + +static int /* O - Process ID or -1 on error */ +exec_filter(const char *filter, /* I - Filter to execute */ + char **argv, /* I - Argument list */ + char **envp, /* I - Environment list */ + int infd, /* I - Stdin file descriptor */ + int outfd) /* I - Stdout file descriptor */ +{ + int pid, /* Process ID */ + fd; /* Temporary file descriptor */ +#if defined(__APPLE__) + char processPath[1024], /* CFProcessPath environment variable */ + linkpath[1024]; /* Link path for symlinks... */ + int linkbytes; /* Bytes for link path */ + + + /* + * Add special voodoo magic for macOS - this allows macOS + * programs to access their bundle resources properly... + */ + + if ((linkbytes = readlink(filter, linkpath, sizeof(linkpath) - 1)) > 0) + { + /* + * Yes, this is a symlink to the actual program, nul-terminate and + * use it... + */ + + linkpath[linkbytes] = '\0'; + + if (linkpath[0] == '/') + snprintf(processPath, sizeof(processPath), "CFProcessPath=%s", + linkpath); + else + snprintf(processPath, sizeof(processPath), "CFProcessPath=%s/%s", + dirname((char *)filter), linkpath); + } + else + snprintf(processPath, sizeof(processPath), "CFProcessPath=%s", filter); + + envp[0] = processPath; /* Replace string */ +#endif /* __APPLE__ */ + + if ((pid = fork()) == 0) + { + /* + * Child process goes here... + * + * Update stdin/stdout/stderr as needed... + */ + + if (infd != 0) + { + if (infd < 0) + infd = open("/dev/null", O_RDONLY); + + if (infd > 0) + { + dup2(infd, 0); + close(infd); + } + } + + if (outfd != 1) + { + if (outfd < 0) + outfd = open("/dev/null", O_WRONLY); + + if (outfd > 1) + { + dup2(outfd, 1); + close(outfd); + } + } + + if ((fd = open("/dev/null", O_RDWR)) > 3) + { + dup2(fd, 3); + close(fd); + } + fcntl(3, F_SETFL, O_NDELAY); + + if ((fd = open("/dev/null", O_RDWR)) > 4) + { + dup2(fd, 4); + close(fd); + } + fcntl(4, F_SETFL, O_NDELAY); + + /* + * Execute command... + */ + + execve(filter, argv, envp); + + perror(filter); + + exit(errno); + } + + return (pid); +} + + +/* + * 'exec_filters()' - Execute filters for the given file and options. + */ + +static int /* O - 0 on success, 1 on error */ +exec_filters(mime_type_t *srctype, /* I - Source type */ + cups_array_t *filters, /* I - Array of filters to run */ + const char *infile, /* I - File to filter */ + const char *outfile, /* I - File to create */ + const char *ppdfile, /* I - PPD file, if any */ + const char *printer, /* I - Printer name */ + const char *user, /* I - Username */ + const char *title, /* I - Job title */ + int num_options, /* I - Number of filter options */ + cups_option_t *options) /* I - Filter options */ +{ + int i; /* Looping var */ + const char *argv[8], /* Command-line arguments */ + *envp[17], /* Environment variables */ + *temp; /* Temporary string */ + char *optstr, /* Filter options */ + content_type[1024], /* CONTENT_TYPE */ + cups_datadir[1024], /* CUPS_DATADIR */ + cups_fontpath[1024], /* CUPS_FONTPATH */ + cups_serverbin[1024], /* CUPS_SERVERBIN */ + cups_serverroot[1024], /* CUPS_SERVERROOT */ + final_content_type[1024] = "", + /* FINAL_CONTENT_TYPE */ + lang[1024], /* LANG */ + path[1024], /* PATH */ + ppd[1024], /* PPD */ + printer_info[255], /* PRINTER_INFO env variable */ + printer_location[255], /* PRINTER_LOCATION env variable */ + printer_name[255], /* PRINTER env variable */ + rip_max_cache[1024], /* RIP_MAX_CACHE */ + userenv[1024], /* USER */ + program[1024]; /* Program to run */ + mime_filter_t *filter, /* Current filter */ + *next; /* Next filter */ + int current, /* Current filter */ + filterfds[2][2], /* Pipes for filters */ + pid, /* Process ID of filter */ + status, /* Exit status */ + retval; /* Return value */ + cups_array_t *pids; /* Executed filters array */ + mime_filter_t key; /* Search key for filters */ + cups_lang_t *language; /* Current language */ + cups_dest_t *dest; /* Destination information */ + + + /* + * Figure out the final content type... + */ + + for (filter = (mime_filter_t *)cupsArrayLast(filters); + filter && filter->dst; + filter = (mime_filter_t *)cupsArrayPrev(filters)) + if (strcmp(filter->dst->super, "printer")) + break; + + if (filter && filter->dst) + { + const char *ptr; /* Pointer in type name */ + + if ((ptr = strchr(filter->dst->type, '/')) != NULL) + snprintf(final_content_type, sizeof(final_content_type), + "FINAL_CONTENT_TYPE=%s", ptr + 1); + else + snprintf(final_content_type, sizeof(final_content_type), + "FINAL_CONTENT_TYPE=%s/%s", filter->dst->super, + filter->dst->type); + } + + /* + * Remove NULL ("-") filters... + */ + + for (filter = (mime_filter_t *)cupsArrayFirst(filters); + filter; + filter = (mime_filter_t *)cupsArrayNext(filters)) + if (!strcmp(filter->filter, "-")) + cupsArrayRemove(filters, filter); + + /* + * Setup the filter environment and command-line... + */ + + optstr = escape_options(num_options, options); + + snprintf(content_type, sizeof(content_type), "CONTENT_TYPE=%s/%s", + srctype->super, srctype->type); + snprintf(cups_datadir, sizeof(cups_datadir), "CUPS_DATADIR=%s", DataDir); + snprintf(cups_fontpath, sizeof(cups_fontpath), "CUPS_FONTPATH=%s", FontPath); + snprintf(cups_serverbin, sizeof(cups_serverbin), "CUPS_SERVERBIN=%s", + ServerBin); + snprintf(cups_serverroot, sizeof(cups_serverroot), "CUPS_SERVERROOT=%s", + ServerRoot); + language = cupsLangDefault(); + snprintf(lang, sizeof(lang), "LANG=%s.UTF8", language->language); + snprintf(path, sizeof(path), "PATH=%s", Path); + if (ppdfile) + snprintf(ppd, sizeof(ppd), "PPD=%s", ppdfile); + else if ((temp = getenv("PPD")) != NULL) + snprintf(ppd, sizeof(ppd), "PPD=%s", temp); + else +#ifdef __APPLE__ + if (!access("/System/Library/Frameworks/ApplicationServices.framework/" + "Versions/A/Frameworks/PrintCore.framework/Versions/A/" + "Resources/English.lproj/Generic.ppd", 0)) + strlcpy(ppd, "PPD=/System/Library/Frameworks/ApplicationServices.framework/" + "Versions/A/Frameworks/PrintCore.framework/Versions/A/" + "Resources/English.lproj/Generic.ppd", sizeof(ppd)); + else + strlcpy(ppd, "PPD=/System/Library/Frameworks/ApplicationServices.framework/" + "Versions/A/Frameworks/PrintCore.framework/Versions/A/" + "Resources/Generic.ppd", sizeof(ppd)); +#else + snprintf(ppd, sizeof(ppd), "PPD=%s/model/laserjet.ppd", DataDir); +#endif /* __APPLE__ */ + snprintf(rip_max_cache, sizeof(rip_max_cache), "RIP_MAX_CACHE=%s", RIPCache); + snprintf(userenv, sizeof(userenv), "USER=%s", user); + + if (printer && + (dest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, printer, NULL)) != NULL) + { + if ((temp = cupsGetOption("printer-info", dest->num_options, + dest->options)) != NULL) + snprintf(printer_info, sizeof(printer_info), "PRINTER_INFO=%s", temp); + else + snprintf(printer_info, sizeof(printer_info), "PRINTER_INFO=%s", printer); + + if ((temp = cupsGetOption("printer-location", dest->num_options, + dest->options)) != NULL) + snprintf(printer_location, sizeof(printer_location), + "PRINTER_LOCATION=%s", temp); + else + strlcpy(printer_location, "PRINTER_LOCATION=Unknown", + sizeof(printer_location)); + } + else + { + snprintf(printer_info, sizeof(printer_info), "PRINTER_INFO=%s", + printer ? printer : "Unknown"); + strlcpy(printer_location, "PRINTER_LOCATION=Unknown", + sizeof(printer_location)); + } + + snprintf(printer_name, sizeof(printer_name), "PRINTER=%s", + printer ? printer : "Unknown"); + + argv[0] = (char *)printer; + argv[1] = "1"; + argv[2] = user; + argv[3] = title; + argv[4] = cupsGetOption("copies", num_options, options); + argv[5] = optstr; + argv[6] = infile; + argv[7] = NULL; + + if (!argv[4]) + argv[4] = "1"; + + envp[0] = ""; + envp[1] = content_type; + envp[2] = cups_datadir; + envp[3] = cups_fontpath; + envp[4] = cups_serverbin; + envp[5] = cups_serverroot; + envp[6] = lang; + envp[7] = path; + envp[8] = ppd; + envp[9] = printer_info; + envp[10] = printer_location; + envp[11] = printer_name; + envp[12] = rip_max_cache; + envp[13] = userenv; + envp[14] = "CHARSET=utf-8"; + if (final_content_type[0]) + { + envp[15] = final_content_type; + envp[16] = NULL; + } + else + envp[15] = NULL; + + for (i = 0; argv[i]; i ++) + fprintf(stderr, "DEBUG: argv[%d]=\"%s\"\n", i, argv[i]); + + for (i = 0; envp[i]; i ++) + fprintf(stderr, "DEBUG: envp[%d]=\"%s\"\n", i, envp[i]); + + /* + * Execute all of the filters... + */ + + pids = cupsArrayNew((cups_array_func_t)compare_pids, NULL); + current = 0; + filterfds[0][0] = -1; + filterfds[0][1] = -1; + filterfds[1][0] = -1; + filterfds[1][1] = -1; + + if (!infile) + filterfds[0][0] = 0; + + for (filter = (mime_filter_t *)cupsArrayFirst(filters); + filter; + filter = next, current = 1 - current) + { + next = (mime_filter_t *)cupsArrayNext(filters); + + if (filter->filter[0] == '/') + strlcpy(program, filter->filter, sizeof(program)); + else + snprintf(program, sizeof(program), "%s/filter/%s", ServerBin, + filter->filter); + + if (filterfds[!current][1] > 1) + { + close(filterfds[1 - current][0]); + close(filterfds[1 - current][1]); + + filterfds[1 - current][0] = -1; + filterfds[1 - current][0] = -1; + } + + if (next) + open_pipe(filterfds[1 - current]); + else if (outfile) + { + filterfds[1 - current][1] = open(outfile, O_CREAT | O_TRUNC | O_WRONLY, + 0666); + + if (filterfds[1 - current][1] < 0) + fprintf(stderr, "ERROR: Unable to create \"%s\" - %s\n", outfile, + strerror(errno)); + } + else + filterfds[1 - current][1] = 1; + + pid = exec_filter(program, (char **)argv, (char **)envp, + filterfds[current][0], filterfds[1 - current][1]); + + if (pid > 0) + { + fprintf(stderr, "INFO: %s (PID %d) started.\n", filter->filter, pid); + + filter->cost = pid; + cupsArrayAdd(pids, filter); + } + else + break; + + argv[6] = NULL; + } + + /* + * Close remaining pipes... + */ + + if (filterfds[0][1] > 1) + { + close(filterfds[0][0]); + close(filterfds[0][1]); + } + + if (filterfds[1][1] > 1) + { + close(filterfds[1][0]); + close(filterfds[1][1]); + } + + /* + * Wait for the children to exit... + */ + + retval = 0; + + while (cupsArrayCount(pids) > 0) + { + if ((pid = wait(&status)) < 0) + continue; + + key.cost = pid; + if ((filter = (mime_filter_t *)cupsArrayFind(pids, &key)) != NULL) + { + cupsArrayRemove(pids, filter); + + if (status) + { + if (WIFEXITED(status)) + fprintf(stderr, "ERROR: %s (PID %d) stopped with status %d\n", + filter->filter, pid, WEXITSTATUS(status)); + else + fprintf(stderr, "ERROR: %s (PID %d) crashed on signal %d\n", + filter->filter, pid, WTERMSIG(status)); + + retval = 1; + } + else + fprintf(stderr, "INFO: %s (PID %d) exited with no errors.\n", + filter->filter, pid); + } + } + + cupsArrayDelete(pids); + + return (retval); +} + + +/* + * 'get_job_file()' - Get the specified job file. + */ + +static void +get_job_file(const char *job) /* I - Job ID */ +{ + long jobid, /* Job ID */ + docnum; /* Document number */ + const char *jobptr; /* Pointer into job ID string */ + char uri[1024]; /* job-uri */ + http_t *http; /* Connection to server */ + ipp_t *request; /* Request data */ + int tempfd; /* Temporary file */ + + + /* + * Get the job ID and document number, if any... + */ + + if ((jobptr = strrchr(job, '-')) != NULL) + jobptr ++; + else + jobptr = job; + + jobid = strtol(jobptr, (char **)&jobptr, 10); + + if (*jobptr == ',') + docnum = strtol(jobptr + 1, NULL, 10); + else + docnum = 1; + + if (jobid < 1 || jobid > INT_MAX) + { + _cupsLangPrintf(stderr, _("cupsfilter: Invalid job ID %d."), (int)jobid); + exit(1); + } + + if (docnum < 1 || docnum > INT_MAX) + { + _cupsLangPrintf(stderr, _("cupsfilter: Invalid document number %d."), + (int)docnum); + exit(1); + } + + /* + * Ask the server for the document file... + */ + + if ((http = httpConnectEncrypt(cupsServer(), ippPort(), + cupsEncryption())) == NULL) + { + _cupsLangPrintf(stderr, _("%s: Unable to connect to server."), + "cupsfilter"); + exit(1); + } + + request = ippNewRequest(CUPS_GET_DOCUMENT); + + snprintf(uri, sizeof(uri), "ipp://localhost/jobs/%d", (int)jobid); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, uri); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "document-number", + (int)docnum); + + if ((tempfd = cupsTempFd(TempFile, sizeof(TempFile))) == -1) + { + _cupsLangPrintError("ERROR", _("Unable to create temporary file")); + httpClose(http); + exit(1); + } + + signal(SIGTERM, sighandler); + + ippDelete(cupsDoIORequest(http, request, "/", -1, tempfd)); + + close(tempfd); + + httpClose(http); + + if (cupsLastError() != IPP_OK) + { + _cupsLangPrintf(stderr, _("cupsfilter: Unable to get job file - %s"), + cupsLastErrorString()); + unlink(TempFile); + exit(1); + } +} + + +/* + * 'open_pipe()' - Create a pipe which is closed on exec. + */ + +static int /* O - 0 on success, -1 on error */ +open_pipe(int *fds) /* O - Pipe file descriptors (2) */ +{ + /* + * Create the pipe... + */ + + if (pipe(fds)) + { + fds[0] = -1; + fds[1] = -1; + + return (-1); + } + + /* + * Set the "close on exec" flag on each end of the pipe... + */ + + if (fcntl(fds[0], F_SETFD, fcntl(fds[0], F_GETFD) | FD_CLOEXEC)) + { + close(fds[0]); + close(fds[1]); + + fds[0] = -1; + fds[1] = -1; + + return (-1); + } + + if (fcntl(fds[1], F_SETFD, fcntl(fds[1], F_GETFD) | FD_CLOEXEC)) + { + close(fds[0]); + close(fds[1]); + + fds[0] = -1; + fds[1] = -1; + + return (-1); + } + + /* + * Return 0 indicating success... + */ + + return (0); +} + + +/* + * 'read_cups_files_conf()' - Read the cups-files.conf file to get the filter settings. + */ + +static int /* O - 0 on success, 1 on error */ +read_cups_files_conf( + const char *filename) /* I - File to read */ +{ + cups_file_t *fp; /* cups-files.conf file */ + const char *temp; /* Temporary string */ + char line[1024], /* Line from file */ + *ptr; /* Pointer into line */ + int linenum; /* Current line number */ + + + if ((temp = getenv("CUPS_DATADIR")) != NULL) + set_string(&DataDir, temp); + else + set_string(&DataDir, CUPS_DATADIR); + + if ((temp = getenv("CUPS_FONTPATH")) != NULL) + set_string(&FontPath, temp); + else + set_string(&FontPath, CUPS_FONTPATH); + + set_string(&RIPCache, "128m"); + + if ((temp = getenv("CUPS_SERVERBIN")) != NULL) + set_string(&ServerBin, temp); + else + set_string(&ServerBin, CUPS_SERVERBIN); + + strlcpy(line, filename, sizeof(line)); + if ((ptr = strrchr(line, '/')) != NULL) + *ptr = '\0'; + else + getcwd(line, sizeof(line)); + + set_string(&ServerRoot, line); + + if ((fp = cupsFileOpen(filename, "r")) != NULL) + { + linenum = 0; + + while (cupsFileGetConf(fp, line, sizeof(line), &ptr, &linenum)) + { + if (!_cups_strcasecmp(line, "DataDir")) + set_string(&DataDir, ptr); + else if (!_cups_strcasecmp(line, "FontPath")) + set_string(&FontPath, ptr); + else if (!_cups_strcasecmp(line, "RIPCache")) + set_string(&RIPCache, ptr); + else if (!_cups_strcasecmp(line, "ServerBin")) + set_string(&ServerBin, ptr); + else if (!_cups_strcasecmp(line, "ServerRoot")) + set_string(&ServerRoot, ptr); + } + + cupsFileClose(fp); + } + + snprintf(line, sizeof(line), "%s/filter:" CUPS_BINDIR ":" CUPS_SBINDIR ":/bin:/usr/bin", ServerBin); + set_string(&Path, line); + + return (0); +} + + +/* + * 'set_string()' - Copy and set a string. + */ + +static void +set_string(char **s, /* O - Copy of string */ + const char *val) /* I - String to copy */ +{ + if (*s) + free(*s); + + *s = strdup(val); +} + + +/* + * 'sighandler()' - Signal catcher for when we print from stdin... + */ + +static void +sighandler(int s) /* I - Signal number */ +{ + /* + * Remove the temporary file we're using to print a job file... + */ + + if (TempFile[0]) + unlink(TempFile); + + /* + * Exit... + */ + + exit(s); +} + + +/* + * 'usage()' - Show program usage... + */ + +static void +usage(const char *opt) /* I - Incorrect option, if any */ +{ + if (opt) + _cupsLangPrintf(stderr, _("%s: Unknown option \"%c\"."), "cupsfilter", *opt); + + _cupsLangPuts(stdout, _("Usage: cupsfilter [ options ] [ -- ] filename")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _(" --list-filters List filters that will be used.")); + _cupsLangPuts(stdout, _(" -D Remove the input file when finished.")); + _cupsLangPuts(stdout, _(" -P filename.ppd Set PPD file.")); + _cupsLangPuts(stdout, _(" -U username Specify username.")); + _cupsLangPuts(stdout, _(" -c cups-files.conf Set cups-files.conf file to use.")); + _cupsLangPuts(stdout, _(" -d printer Use the named printer.")); + _cupsLangPuts(stdout, _(" -e Use every filter from the PPD file.")); + _cupsLangPuts(stdout, _(" -i mime/type Set input MIME type (otherwise auto-typed).")); + _cupsLangPuts(stdout, _(" -j job-id[,N] Filter file N from the specified job (default is file 1).")); + _cupsLangPuts(stdout, _(" -m mime/type Set output MIME type (otherwise application/pdf).")); + _cupsLangPuts(stdout, _(" -n copies Set number of copies.")); + _cupsLangPuts(stdout, _(" -o name=value Set option(s).")); + _cupsLangPuts(stdout, _(" -p filename.ppd Set PPD file.")); + _cupsLangPuts(stdout, _(" -t title Set title.")); + _cupsLangPuts(stdout, _(" -u Remove the PPD file when finished.")); + + exit(1); +} diff --git a/scheduler/dirsvc.c b/scheduler/dirsvc.c new file mode 100644 index 0000000..ddd3701 --- /dev/null +++ b/scheduler/dirsvc.c @@ -0,0 +1,1868 @@ +/* + * Directory services routines for the CUPS scheduler. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include + +#if defined(HAVE_DNSSD) && defined(__APPLE__) +# include +# include +# include +#endif /* HAVE_DNSSD && __APPLE__ */ + + +/* + * Local globals... + */ + +#ifdef HAVE_AVAHI +static int avahi_running = 0; +#endif /* HAVE_AVAHI */ + + +/* + * Local functions... + */ + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) +static char *get_auth_info_required(cupsd_printer_t *p, + char *buffer, size_t bufsize); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ +#ifdef __APPLE__ +static int get_hostconfig(const char *name); +#endif /* __APPLE__ */ +static void update_lpd(int onoff); +static void update_smb(int onoff); + + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) +# ifdef __APPLE__ +static void dnssdAddAlias(const void *key, const void *value, + void *context); +# endif /* __APPLE__ */ +static cupsd_txt_t dnssdBuildTxtRecord(cupsd_printer_t *p, int for_lpd); +# ifdef HAVE_AVAHI +static void dnssdClientCallback(AvahiClient *c, AvahiClientState state, void *userdata); +# endif /* HAVE_AVAHI */ +static void dnssdDeregisterAllPrinters(int from_callback); +static void dnssdDeregisterInstance(cupsd_srv_t *srv, int from_callback); +static void dnssdDeregisterPrinter(cupsd_printer_t *p, int clear_name, int from_callback); +static const char *dnssdErrorString(int error); +static void dnssdFreeTxtRecord(cupsd_txt_t *txt); +static void dnssdRegisterAllPrinters(int from_callback); +# ifdef HAVE_DNSSD +static void dnssdRegisterCallback(DNSServiceRef sdRef, + DNSServiceFlags flags, + DNSServiceErrorType errorCode, + const char *name, + const char *regtype, + const char *domain, + void *context); +# else +static void dnssdRegisterCallback(AvahiEntryGroup *p, + AvahiEntryGroupState state, + void *context); +# endif /* HAVE_DNSSD */ +static int dnssdRegisterInstance(cupsd_srv_t *srv, cupsd_printer_t *p, char *name, const char *type, const char *subtypes, int port, cupsd_txt_t *txt, int commit, int from_callback); +static void dnssdRegisterPrinter(cupsd_printer_t *p, int from_callback); +static void dnssdStop(void); +# ifdef HAVE_DNSSD +static void dnssdUpdate(void); +# endif /* HAVE_DNSSD */ +static void dnssdUpdateDNSSDName(int from_callback); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + +/* + * 'cupsdDeregisterPrinter()' - Stop sending broadcast information for a + * local printer and remove any pending + * references to remote printers. + */ + +void +cupsdDeregisterPrinter( + cupsd_printer_t *p, /* I - Printer to register */ + int removeit) /* I - Printer being permanently removed */ +{ + /* + * Only deregister if browsing is enabled and it's a local printer... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdDeregisterPrinter(p=%p(%s), removeit=%d)", p, p->name, + removeit); + + if (!Browsing || !p->shared || + (p->type & (CUPS_PRINTER_REMOTE | CUPS_PRINTER_SCANNER))) + return; + + /* + * Announce the deletion... + */ + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + if (removeit && (BrowseLocalProtocols & BROWSE_DNSSD) && DNSSDMaster) + dnssdDeregisterPrinter(p, 1, 0); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ +} + + +/* + * 'cupsdRegisterPrinter()' - Start sending broadcast information for a + * printer or update the broadcast contents. + */ + +void +cupsdRegisterPrinter(cupsd_printer_t *p)/* I - Printer */ +{ + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdRegisterPrinter(p=%p(%s))", p, + p->name); + + if (!Browsing || !BrowseLocalProtocols || + (p->type & (CUPS_PRINTER_REMOTE | CUPS_PRINTER_SCANNER))) + return; + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + if ((BrowseLocalProtocols & BROWSE_DNSSD) && DNSSDMaster) + dnssdRegisterPrinter(p, 0); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ +} + + +/* + * 'cupsdStartBrowsing()' - Start sending and receiving broadcast information. + */ + +void +cupsdStartBrowsing(void) +{ + if (!Browsing || !BrowseLocalProtocols) + return; + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + if (BrowseLocalProtocols & BROWSE_DNSSD) + { +# ifdef HAVE_DNSSD + DNSServiceErrorType error; /* Error from service creation */ + + /* + * First create a "master" connection for all registrations... + */ + + if ((error = DNSServiceCreateConnection(&DNSSDMaster)) + != kDNSServiceErr_NoError) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to create master DNS-SD reference: %d", error); + + if (FatalErrors & CUPSD_FATAL_BROWSE) + cupsdEndProcess(getpid(), 0); + } + else + { + /* + * Add the master connection to the select list... + */ + + int fd = DNSServiceRefSockFD(DNSSDMaster); + + fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); + + cupsdAddSelect(fd, (cupsd_selfunc_t)dnssdUpdate, NULL, NULL); + } + + /* + * Set the computer name and register the web interface... + */ + + DNSSDPort = 0; + cupsdUpdateDNSSDName(); + +# else /* HAVE_AVAHI */ + if ((DNSSDMaster = avahi_threaded_poll_new()) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to create DNS-SD thread."); + + if (FatalErrors & CUPSD_FATAL_BROWSE) + cupsdEndProcess(getpid(), 0); + } + else + { + int error; /* Error code, if any */ + + DNSSDClient = avahi_client_new(avahi_threaded_poll_get(DNSSDMaster), AVAHI_CLIENT_NO_FAIL, dnssdClientCallback, NULL, &error); + + if (DNSSDClient == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to communicate with avahi-daemon: %s", + dnssdErrorString(error)); + + if (FatalErrors & CUPSD_FATAL_BROWSE) + cupsdEndProcess(getpid(), 0); + + avahi_threaded_poll_free(DNSSDMaster); + DNSSDMaster = NULL; + } + else + avahi_threaded_poll_start(DNSSDMaster); + } +# endif /* HAVE_DNSSD */ + } +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + /* + * Enable LPD and SMB printer sharing as needed through external programs... + */ + + if (BrowseLocalProtocols & BROWSE_LPD) + update_lpd(1); + + if (BrowseLocalProtocols & BROWSE_SMB) + update_smb(1); + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + /* + * Register the individual printers + */ + + dnssdRegisterAllPrinters(0); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ +} + + +/* + * 'cupsdStopBrowsing()' - Stop sending and receiving broadcast information. + */ + +void +cupsdStopBrowsing(void) +{ + if (!Browsing || !BrowseLocalProtocols) + return; + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + /* + * De-register the individual printers + */ + + dnssdDeregisterAllPrinters(0); + + /* + * Shut down browsing sockets... + */ + + if ((BrowseLocalProtocols & BROWSE_DNSSD) && DNSSDMaster) + dnssdStop(); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + /* + * Disable LPD and SMB printer sharing as needed through external programs... + */ + + if (BrowseLocalProtocols & BROWSE_LPD) + update_lpd(0); + + if (BrowseLocalProtocols & BROWSE_SMB) + update_smb(0); +} + + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) +/* + * 'cupsdUpdateDNSSDName()' - Update the computer name we use for browsing... + */ + +void +cupsdUpdateDNSSDName(void) +{ + dnssdUpdateDNSSDName(0); +} + + +# ifdef __APPLE__ +/* + * 'dnssdAddAlias()' - Add a DNS-SD alias name. + */ + +static void +dnssdAddAlias(const void *key, /* I - Key */ + const void *value, /* I - Value (domain) */ + void *context) /* I - Unused */ +{ + char valueStr[1024], /* Domain string */ + hostname[1024], /* Complete hostname */ + *hostptr; /* Pointer into hostname */ + + + (void)key; + (void)context; + + if (CFGetTypeID((CFStringRef)value) == CFStringGetTypeID() && + CFStringGetCString((CFStringRef)value, valueStr, sizeof(valueStr), + kCFStringEncodingUTF8)) + { + snprintf(hostname, sizeof(hostname), "%s.%s", DNSSDHostName, valueStr); + hostptr = hostname + strlen(hostname) - 1; + if (*hostptr == '.') + *hostptr = '\0'; /* Strip trailing dot */ + + if (!DNSSDAlias) + DNSSDAlias = cupsArrayNew(NULL, NULL); + + cupsdAddAlias(DNSSDAlias, hostname); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added Back to My Mac ServerAlias %s", + hostname); + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad Back to My Mac domain in dynamic store!"); +} +# endif /* __APPLE__ */ + + +/* + * 'dnssdBuildTxtRecord()' - Build a TXT record from printer info. + */ + +static cupsd_txt_t /* O - TXT record */ +dnssdBuildTxtRecord( + cupsd_printer_t *p, /* I - Printer information */ + int for_lpd) /* I - 1 = LPD, 0 = IPP */ +{ + int i, /* Looping var */ + count; /* Count of key/value pairs */ + char admin_hostname[256], /* Hostname for admin page */ + adminurl_str[256], /* URL for the admin page */ + type_str[32], /* Type to string buffer */ + state_str[32], /* State to string buffer */ + rp_str[1024], /* Queue name string buffer */ + air_str[1024], /* auth-info-required string buffer */ + *keyvalue[32][2], /* Table of key/value pairs */ + *ptr; /* Pointer in string */ + cupsd_txt_t txt; /* TXT record */ + cupsd_listener_t *lis; /* Current listener */ + const char *admin_scheme = "http"; /* Admin page URL scheme */ + + + /* + * Load up the key value pairs... + */ + + count = 0; + + if (!for_lpd || (BrowseLocalProtocols & BROWSE_LPD)) + { + keyvalue[count ][0] = "txtvers"; + keyvalue[count++][1] = "1"; + + keyvalue[count ][0] = "qtotal"; + keyvalue[count++][1] = "1"; + + keyvalue[count ][0] = "rp"; + keyvalue[count++][1] = rp_str; + if (for_lpd) + strlcpy(rp_str, p->name, sizeof(rp_str)); + else + snprintf(rp_str, sizeof(rp_str), "%s/%s", + (p->type & CUPS_PRINTER_CLASS) ? "classes" : "printers", + p->name); + + keyvalue[count ][0] = "ty"; + keyvalue[count++][1] = p->make_model ? p->make_model : "Unknown"; + + /* + * Get the hostname for the admin page... + */ + + if (strchr(DNSSDHostName, '.')) + { + /* + * Use the provided hostname, but make sure it ends with a period... + */ + + if ((ptr = DNSSDHostName + strlen(DNSSDHostName) - 1) >= DNSSDHostName && *ptr == '.') + strlcpy(admin_hostname, DNSSDHostName, sizeof(admin_hostname)); + else + snprintf(admin_hostname, sizeof(admin_hostname), "%s.", DNSSDHostName); + } + else + { + /* + * Unqualified hostname gets ".local." added to it... + */ + + snprintf(admin_hostname, sizeof(admin_hostname), "%s.local.", DNSSDHostName); + } + + /* + * Get the URL scheme for the admin page... + */ + +# ifdef HAVE_SSL + for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); lis; lis = (cupsd_listener_t *)cupsArrayNext(Listeners)) + { + if (lis->encryption != HTTP_ENCRYPTION_NEVER) + { + admin_scheme = "https"; + break; + } + } +# endif /* HAVE_SSL */ + + httpAssembleURIf(HTTP_URI_CODING_ALL, adminurl_str, sizeof(adminurl_str), admin_scheme, NULL, admin_hostname, DNSSDPort, "/%s/%s", (p->type & CUPS_PRINTER_CLASS) ? "classes" : "printers", p->name); + keyvalue[count ][0] = "adminurl"; + keyvalue[count++][1] = adminurl_str; + + if (p->location) + { + keyvalue[count ][0] = "note"; + keyvalue[count++][1] = p->location; + } + + keyvalue[count ][0] = "priority"; + keyvalue[count++][1] = for_lpd ? "100" : "0"; + + keyvalue[count ][0] = "product"; + keyvalue[count++][1] = p->pc && p->pc->product ? p->pc->product : "Unknown"; + + keyvalue[count ][0] = "pdl"; + keyvalue[count++][1] = p->pdl ? p->pdl : "application/postscript"; + + if (get_auth_info_required(p, air_str, sizeof(air_str))) + { + keyvalue[count ][0] = "air"; + keyvalue[count++][1] = air_str; + } + + keyvalue[count ][0] = "UUID"; + keyvalue[count++][1] = p->uuid + 9; + + #ifdef HAVE_SSL + keyvalue[count ][0] = "TLS"; + keyvalue[count++][1] = "1.2"; + #endif /* HAVE_SSL */ + + if (p->type & CUPS_PRINTER_FAX) + { + keyvalue[count ][0] = "Fax"; + keyvalue[count++][1] = "T"; + keyvalue[count ][0] = "rfo"; + keyvalue[count++][1] = rp_str; + } + + if (p->type & CUPS_PRINTER_COLOR) + { + keyvalue[count ][0] = "Color"; + keyvalue[count++][1] = (p->type & CUPS_PRINTER_COLOR) ? "T" : "F"; + } + + if (p->type & CUPS_PRINTER_DUPLEX) + { + keyvalue[count ][0] = "Duplex"; + keyvalue[count++][1] = (p->type & CUPS_PRINTER_DUPLEX) ? "T" : "F"; + } + + if (p->type & CUPS_PRINTER_STAPLE) + { + keyvalue[count ][0] = "Staple"; + keyvalue[count++][1] = (p->type & CUPS_PRINTER_STAPLE) ? "T" : "F"; + } + + if (p->type & CUPS_PRINTER_COPIES) + { + keyvalue[count ][0] = "Copies"; + keyvalue[count++][1] = (p->type & CUPS_PRINTER_COPIES) ? "T" : "F"; + } + + if (p->type & CUPS_PRINTER_COLLATE) + { + keyvalue[count ][0] = "Collate"; + keyvalue[count++][1] = (p->type & CUPS_PRINTER_COLLATE) ? "T" : "F"; + } + + if (p->type & CUPS_PRINTER_PUNCH) + { + keyvalue[count ][0] = "Punch"; + keyvalue[count++][1] = (p->type & CUPS_PRINTER_PUNCH) ? "T" : "F"; + } + + if (p->type & CUPS_PRINTER_BIND) + { + keyvalue[count ][0] = "Bind"; + keyvalue[count++][1] = (p->type & CUPS_PRINTER_BIND) ? "T" : "F"; + } + + if (p->type & CUPS_PRINTER_SORT) + { + keyvalue[count ][0] = "Sort"; + keyvalue[count++][1] = (p->type & CUPS_PRINTER_SORT) ? "T" : "F"; + } + + if (p->type & CUPS_PRINTER_MFP) + { + keyvalue[count ][0] = "Scan"; + keyvalue[count++][1] = (p->type & CUPS_PRINTER_MFP) ? "T" : "F"; + } + + snprintf(type_str, sizeof(type_str), "0x%X", p->type | CUPS_PRINTER_REMOTE); + snprintf(state_str, sizeof(state_str), "%d", p->state); + + keyvalue[count ][0] = "printer-state"; + keyvalue[count++][1] = state_str; + + keyvalue[count ][0] = "printer-type"; + keyvalue[count++][1] = type_str; + } + + /* + * Then pack them into a proper txt record... + */ + +# ifdef HAVE_DNSSD + TXTRecordCreate(&txt, 0, NULL); + + for (i = 0; i < count; i ++) + { + size_t len = strlen(keyvalue[i][1]); + + if (len < 256) + TXTRecordSetValue(&txt, keyvalue[i][0], (uint8_t)len, keyvalue[i][1]); + } + +# else + for (i = 0, txt = NULL; i < count; i ++) + txt = avahi_string_list_add_printf(txt, "%s=%s", keyvalue[i][0], + keyvalue[i][1]); +# endif /* HAVE_DNSSD */ + + return (txt); +} + + +# ifdef HAVE_AVAHI +/* + * 'dnssdClientCallback()' - Client callback for Avahi. + * + * Called whenever the client or server state changes... + */ + +static void +dnssdClientCallback( + AvahiClient *c, /* I - Client */ + AvahiClientState state, /* I - Current state */ + void *userdata) /* I - User data (unused) */ +{ + int error; /* Error code, if any */ + + + (void)userdata; + + if (!c) + return; + + /* + * Make sure DNSSDClient is already set also if this callback function is + * already running before avahi_client_new() in dnssdStartBrowsing() + * finishes. + */ + + if (!DNSSDClient) + DNSSDClient = c; + + switch (state) + { + case AVAHI_CLIENT_S_REGISTERING: + case AVAHI_CLIENT_S_RUNNING: + case AVAHI_CLIENT_S_COLLISION: + cupsdLogMessage(CUPSD_LOG_DEBUG, "Avahi server connection now available, registering printers for Bonjour broadcasting."); + + /* + * Mark that Avahi server is running... + */ + + avahi_running = 1; + + /* + * Set the computer name and register the web interface... + */ + + DNSSDPort = 0; + dnssdUpdateDNSSDName(1); + + /* + * Register the individual printers + */ + + dnssdRegisterAllPrinters(1); + break; + + case AVAHI_CLIENT_FAILURE: + if (avahi_client_errno(c) == AVAHI_ERR_DISCONNECTED) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "Avahi server disappeared, unregistering printers for Bonjour broadcasting."); + + /* + * Unregister everything and close the client... + */ + + dnssdDeregisterAllPrinters(1); + dnssdDeregisterInstance(&WebIFSrv, 1); + avahi_client_free(DNSSDClient); + DNSSDClient = NULL; + + /* + * Mark that Avahi server is not running... + */ + + avahi_running = 0; + + /* + * Renew Avahi client... + */ + + DNSSDClient = avahi_client_new(avahi_threaded_poll_get(DNSSDMaster), AVAHI_CLIENT_NO_FAIL, dnssdClientCallback, NULL, &error); + + if (!DNSSDClient) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to communicate with avahi-daemon: %s", dnssdErrorString(error)); + if (FatalErrors & CUPSD_FATAL_BROWSE) + cupsdEndProcess(getpid(), 0); + } + } + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Communication with avahi-daemon has failed: %s", avahi_strerror(avahi_client_errno(c))); + if (FatalErrors & CUPSD_FATAL_BROWSE) + cupsdEndProcess(getpid(), 0); + } + break; + + default: + break; + } +} +# endif /* HAVE_AVAHI */ + + +/* + * 'dnssdDeregisterAllPrinters()' - Deregister all printers. + */ + +static void +dnssdDeregisterAllPrinters( + int from_callback) /* I - Deregistering because of callback? */ +{ + cupsd_printer_t *p; /* Current printer */ + + + if (!DNSSDMaster) + return; + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + if (!(p->type & (CUPS_PRINTER_REMOTE | CUPS_PRINTER_SCANNER))) + dnssdDeregisterPrinter(p, 1, from_callback); +} + + +/* + * 'dnssdDeregisterInstance()' - Deregister a DNS-SD service instance. + */ + +static void +dnssdDeregisterInstance( + cupsd_srv_t *srv, /* I - Service */ + int from_callback) /* I - Called from callback? */ +{ + if (!srv || !*srv) + return; + +# ifdef HAVE_DNSSD + (void)from_callback; + + DNSServiceRefDeallocate(*srv); + + *srv = NULL; + +# else /* HAVE_AVAHI */ + if (!from_callback) + avahi_threaded_poll_lock(DNSSDMaster); + + if (*srv) + { + avahi_entry_group_free(*srv); + *srv = NULL; + } + + if (!from_callback) + avahi_threaded_poll_unlock(DNSSDMaster); +# endif /* HAVE_DNSSD */ +} + + +/* + * 'dnssdDeregisterPrinter()' - Deregister all services for a printer. + */ + +static void +dnssdDeregisterPrinter( + cupsd_printer_t *p, /* I - Printer */ + int clear_name, /* I - Clear the name? */ + int from_callback) /* I - Called from callback? */ + +{ + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "dnssdDeregisterPrinter(p=%p(%s), clear_name=%d)", p, p->name, + clear_name); + + if (p->ipp_srv) + { + dnssdDeregisterInstance(&p->ipp_srv, from_callback); + +# ifdef HAVE_DNSSD +# ifdef HAVE_SSL + dnssdDeregisterInstance(&p->ipps_srv, from_callback); +# endif /* HAVE_SSL */ + dnssdDeregisterInstance(&p->printer_srv, from_callback); +# endif /* HAVE_DNSSD */ + } + + /* + * Remove the printer from the array of DNS-SD printers but keep the + * registered name... + */ + + cupsArrayRemove(DNSSDPrinters, p); + + /* + * Optionally clear the service name... + */ + + if (clear_name) + cupsdClearString(&p->reg_name); +} + + +/* + * 'dnssdErrorString()' - Return an error string for an error code. + */ + +static const char * /* O - Error message */ +dnssdErrorString(int error) /* I - Error number */ +{ +# ifdef HAVE_DNSSD + switch (error) + { + case kDNSServiceErr_NoError : + return ("OK."); + + default : + case kDNSServiceErr_Unknown : + return ("Unknown error."); + + case kDNSServiceErr_NoSuchName : + return ("Service not found."); + + case kDNSServiceErr_NoMemory : + return ("Out of memory."); + + case kDNSServiceErr_BadParam : + return ("Bad parameter."); + + case kDNSServiceErr_BadReference : + return ("Bad service reference."); + + case kDNSServiceErr_BadState : + return ("Bad state."); + + case kDNSServiceErr_BadFlags : + return ("Bad flags."); + + case kDNSServiceErr_Unsupported : + return ("Unsupported."); + + case kDNSServiceErr_NotInitialized : + return ("Not initialized."); + + case kDNSServiceErr_AlreadyRegistered : + return ("Already registered."); + + case kDNSServiceErr_NameConflict : + return ("Name conflict."); + + case kDNSServiceErr_Invalid : + return ("Invalid name."); + + case kDNSServiceErr_Firewall : + return ("Firewall prevents registration."); + + case kDNSServiceErr_Incompatible : + return ("Client library incompatible."); + + case kDNSServiceErr_BadInterfaceIndex : + return ("Bad interface index."); + + case kDNSServiceErr_Refused : + return ("Server prevents registration."); + + case kDNSServiceErr_NoSuchRecord : + return ("Record not found."); + + case kDNSServiceErr_NoAuth : + return ("Authentication required."); + + case kDNSServiceErr_NoSuchKey : + return ("Encryption key not found."); + + case kDNSServiceErr_NATTraversal : + return ("Unable to traverse NAT boundary."); + + case kDNSServiceErr_DoubleNAT : + return ("Unable to traverse double-NAT boundary."); + + case kDNSServiceErr_BadTime : + return ("Bad system time."); + + case kDNSServiceErr_BadSig : + return ("Bad signature."); + + case kDNSServiceErr_BadKey : + return ("Bad encryption key."); + + case kDNSServiceErr_Transient : + return ("Transient error occurred - please try again."); + + case kDNSServiceErr_ServiceNotRunning : + return ("Server not running."); + + case kDNSServiceErr_NATPortMappingUnsupported : + return ("NAT doesn't support NAT-PMP or UPnP."); + + case kDNSServiceErr_NATPortMappingDisabled : + return ("NAT supports NAT-PNP or UPnP but it is disabled."); + + case kDNSServiceErr_NoRouter : + return ("No Internet/default router configured."); + + case kDNSServiceErr_PollingMode : + return ("Service polling mode error."); + + case kDNSServiceErr_Timeout : + return ("Service timeout."); + } + +# else /* HAVE_AVAHI */ + return (avahi_strerror(error)); +# endif /* HAVE_DNSSD */ +} + + +/* + * 'dnssdRegisterCallback()' - Free a TXT record. + */ + +static void +dnssdFreeTxtRecord(cupsd_txt_t *txt) /* I - TXT record */ +{ +# ifdef HAVE_DNSSD + TXTRecordDeallocate(txt); + +# else /* HAVE_AVAHI */ + avahi_string_list_free(*txt); + *txt = NULL; +# endif /* HAVE_DNSSD */ +} + + +/* + * 'dnssdRegisterAllPrinters()' - Register all printers. + */ + +static void +dnssdRegisterAllPrinters(int from_callback) /* I - Called from callback? */ +{ + cupsd_printer_t *p; /* Current printer */ + + + if (!DNSSDMaster) + return; + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + if (!(p->type & (CUPS_PRINTER_REMOTE | CUPS_PRINTER_SCANNER))) + dnssdRegisterPrinter(p, from_callback); +} + + +/* + * 'dnssdRegisterCallback()' - DNSServiceRegister callback. + */ + +# ifdef HAVE_DNSSD +static void +dnssdRegisterCallback( + DNSServiceRef sdRef, /* I - DNS Service reference */ + DNSServiceFlags flags, /* I - Reserved for future use */ + DNSServiceErrorType errorCode, /* I - Error code */ + const char *name, /* I - Service name */ + const char *regtype, /* I - Service type */ + const char *domain, /* I - Domain. ".local" for now */ + void *context) /* I - Printer */ +{ + cupsd_printer_t *p = (cupsd_printer_t *)context; + /* Current printer */ + + + (void)sdRef; + (void)flags; + (void)domain; + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "dnssdRegisterCallback(%s, %s) for %s (%s)", + name, regtype, p ? p->name : "Web Interface", + p ? (p->reg_name ? p->reg_name : "(null)") : "NA"); + + if (errorCode) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "DNSServiceRegister failed with error %d", (int)errorCode); + return; + } + else if (p && (!p->reg_name || _cups_strcasecmp(name, p->reg_name))) + { + cupsdLogMessage(CUPSD_LOG_INFO, "Using service name \"%s\" for \"%s\"", + name, p->name); + + cupsArrayRemove(DNSSDPrinters, p); + cupsdSetString(&p->reg_name, name); + cupsArrayAdd(DNSSDPrinters, p); + + LastEvent |= CUPSD_EVENT_PRINTER_MODIFIED; + } +} + +# else /* HAVE_AVAHI */ +static void +dnssdRegisterCallback( + AvahiEntryGroup *srv, /* I - Service */ + AvahiEntryGroupState state, /* I - Registration state */ + void *context) /* I - Printer */ +{ + cupsd_printer_t *p = (cupsd_printer_t *)context; + /* Current printer */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "dnssdRegisterCallback(srv=%p, state=%d, context=%p) " + "for %s (%s)", srv, state, context, + p ? p->name : "Web Interface", + p ? (p->reg_name ? p->reg_name : "(null)") : "NA"); + + /* TODO: Handle collisions with avahi_alternate_service_name(p->reg_name)? */ +} +# endif /* HAVE_DNSSD */ + + +/* + * 'dnssdRegisterInstance()' - Register an instance of a printer service. + */ + +static int /* O - 1 on success, 0 on failure */ +dnssdRegisterInstance( + cupsd_srv_t *srv, /* O - Service */ + cupsd_printer_t *p, /* I - Printer */ + char *name, /* I - DNS-SD service name */ + const char *type, /* I - DNS-SD service type */ + const char *subtypes, /* I - Subtypes to register or NULL */ + int port, /* I - Port number or 0 */ + cupsd_txt_t *txt, /* I - TXT record */ + int commit, /* I - Commit registration? */ + int from_callback) /* I - Called from callback? */ +{ + char temp[256], /* Temporary string */ + *ptr; /* Pointer into string */ + int error; /* Any error */ + + +# ifdef HAVE_DNSSD + (void)from_callback; +# endif /* HAVE_DNSSD */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Registering \"%s\" with DNS-SD type \"%s\".", name, type); + + if (p && !srv) + { + /* + * Assign the correct pointer for "srv"... + */ + +# ifdef HAVE_DNSSD + if (!strcmp(type, "_printer._tcp")) + srv = &p->printer_srv; /* Target LPD service */ +# ifdef HAVE_SSL + else if (!strcmp(type, "_ipps._tcp")) + srv = &p->ipps_srv; /* Target IPPS service */ +# endif /* HAVE_SSL */ + else + srv = &p->ipp_srv; /* Target IPP service */ + +# else /* HAVE_AVAHI */ + srv = &p->ipp_srv; /* Target service group */ +# endif /* HAVE_DNSSD */ + } + +# ifdef HAVE_DNSSD + (void)commit; + +# else /* HAVE_AVAHI */ + if (!from_callback) + avahi_threaded_poll_lock(DNSSDMaster); + + if (!*srv) + *srv = avahi_entry_group_new(DNSSDClient, dnssdRegisterCallback, NULL); + if (!*srv) + { + if (!from_callback) + avahi_threaded_poll_unlock(DNSSDMaster); + + cupsdLogMessage(CUPSD_LOG_WARN, "DNS-SD registration of \"%s\" failed: %s", + name, dnssdErrorString(avahi_client_errno(DNSSDClient))); + return (0); + } +# endif /* HAVE_DNSSD */ + + /* + * Make sure the name is <= 63 octets, and when we truncate be sure to + * properly truncate any UTF-8 characters... + */ + + ptr = name + strlen(name); + while ((ptr - name) > 63) + { + do + { + ptr --; + } + while (ptr > name && (*ptr & 0xc0) == 0x80); + + if (ptr > name) + *ptr = '\0'; + } + + /* + * Register the service... + */ + +# ifdef HAVE_DNSSD + if (subtypes) + snprintf(temp, sizeof(temp), "%s,%s", type, subtypes); + else + strlcpy(temp, type, sizeof(temp)); + + *srv = DNSSDMaster; + error = DNSServiceRegister(srv, kDNSServiceFlagsShareConnection, + 0, name, temp, NULL, DNSSDHostName, htons(port), + txt ? TXTRecordGetLength(txt) : 0, + txt ? TXTRecordGetBytesPtr(txt) : NULL, + dnssdRegisterCallback, p); + +# else /* HAVE_AVAHI */ + if (txt) + { + AvahiStringList *temptxt; + for (temptxt = *txt; temptxt; temptxt = temptxt->next) + cupsdLogMessage(CUPSD_LOG_DEBUG, "DNS_SD \"%s\" %s", name, temptxt->text); + } + + error = avahi_entry_group_add_service_strlst(*srv, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, 0, name, + type, NULL, DNSSDHostName, port, + txt ? *txt : NULL); + if (error) + cupsdLogMessage(CUPSD_LOG_DEBUG, "DNS-SD service add for \"%s\" failed.", + name); + + if (!error && subtypes) + { + /* + * Register all of the subtypes... + */ + + char *start, /* Start of subtype */ + subtype[256]; /* Subtype string */ + + strlcpy(temp, subtypes, sizeof(temp)); + + for (start = temp; *start; start = ptr) + { + /* + * Skip leading whitespace... + */ + + while (*start && isspace(*start & 255)) + start ++; + + /* + * Grab everything up to the next comma or the end of the string... + */ + + for (ptr = start; *ptr && *ptr != ','; ptr ++); + + if (*ptr) + *ptr++ = '\0'; + + if (!*start) + break; + + /* + * Register the subtype... + */ + + snprintf(subtype, sizeof(subtype), "%s._sub.%s", start, type); + + error = avahi_entry_group_add_service_subtype(*srv, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, 0, + name, type, NULL, subtype); + if (error) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, + "DNS-SD subtype %s registration for \"%s\" failed." , + subtype, name); + break; + } + } + } + + if (!error && commit) + { + if ((error = avahi_entry_group_commit(*srv)) != 0) + cupsdLogMessage(CUPSD_LOG_DEBUG, "DNS-SD commit of \"%s\" failed.", + name); + } + + if (!from_callback) + avahi_threaded_poll_unlock(DNSSDMaster); +# endif /* HAVE_DNSSD */ + + if (error) + { + cupsdLogMessage(CUPSD_LOG_WARN, "DNS-SD registration of \"%s\" failed: %s", + name, dnssdErrorString(error)); + cupsdLogMessage(CUPSD_LOG_DEBUG, "DNS-SD type: %s", type); + if (subtypes) + cupsdLogMessage(CUPSD_LOG_DEBUG, "DNS-SD sub-types: %s", subtypes); + } + + return (!error); +} + + +/* + * 'dnssdRegisterPrinter()' - Start sending broadcast information for a printer + * or update the broadcast contents. + */ + +static void +dnssdRegisterPrinter( + cupsd_printer_t *p, /* I - Printer */ + int from_callback) /* I - Called from callback? */ +{ + char name[256]; /* Service name */ + int printer_port; /* LPD port number */ + int status; /* Registration status */ + cupsd_txt_t ipp_txt, /* IPP(S) TXT record */ + printer_txt; /* LPD TXT record */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "dnssdRegisterPrinter(%s) %s", p->name, + !p->ipp_srv ? "new" : "update"); + +# ifdef HAVE_AVAHI + if (!avahi_running) + return; +# endif /* HAVE_AVAHI */ + + /* + * Remove the current registrations if we have them and then return if + * per-printer sharing was just disabled... + */ + + dnssdDeregisterPrinter(p, 0, from_callback); + + if (!p->shared) + return; + + /* + * Set the registered name as needed; the registered name takes the form of + * " @ "... + */ + + if (!p->reg_name) + { + if (p->info && strlen(p->info) > 0) + { + if (DNSSDComputerName) + snprintf(name, sizeof(name), "%s @ %s", p->info, DNSSDComputerName); + else + strlcpy(name, p->info, sizeof(name)); + } + else if (DNSSDComputerName) + snprintf(name, sizeof(name), "%s @ %s", p->name, DNSSDComputerName); + else + strlcpy(name, p->name, sizeof(name)); + } + else + strlcpy(name, p->reg_name, sizeof(name)); + + /* + * Register IPP and LPD... + * + * We always must register the "_printer" service type in order to reserve + * our name, but use port number 0 if we haven't actually configured cups-lpd + * to share via LPD... + */ + + ipp_txt = dnssdBuildTxtRecord(p, 0); + printer_txt = dnssdBuildTxtRecord(p, 1); + + if (BrowseLocalProtocols & BROWSE_LPD) + printer_port = 515; + else + printer_port = 0; + + status = dnssdRegisterInstance(NULL, p, name, "_printer._tcp", NULL, printer_port, &printer_txt, 0, from_callback); + +# ifdef HAVE_SSL + if (status) + dnssdRegisterInstance(NULL, p, name, "_ipps._tcp", DNSSDSubTypes, DNSSDPort, &ipp_txt, 0, from_callback); +# endif /* HAVE_SSL */ + + if (status) + { + /* + * Use the "_fax-ipp" service type for fax queues, otherwise use "_ipp"... + */ + + if (p->type & CUPS_PRINTER_FAX) + status = dnssdRegisterInstance(NULL, p, name, "_fax-ipp._tcp", DNSSDSubTypes, DNSSDPort, &ipp_txt, 1, from_callback); + else + status = dnssdRegisterInstance(NULL, p, name, "_ipp._tcp", DNSSDSubTypes, DNSSDPort, &ipp_txt, 1, from_callback); + } + + dnssdFreeTxtRecord(&ipp_txt); + dnssdFreeTxtRecord(&printer_txt); + + if (status) + { + /* + * Save the registered name and add the printer to the array of DNS-SD + * printers... + */ + + cupsdSetString(&p->reg_name, name); + cupsArrayAdd(DNSSDPrinters, p); + } + else + { + /* + * Registration failed for this printer... + */ + + dnssdDeregisterInstance(&p->ipp_srv, from_callback); + +# ifdef HAVE_DNSSD +# ifdef HAVE_SSL + dnssdDeregisterInstance(&p->ipps_srv, from_callback); +# endif /* HAVE_SSL */ + dnssdDeregisterInstance(&p->printer_srv, from_callback); +# endif /* HAVE_DNSSD */ + } +} + + +/* + * 'dnssdStop()' - Stop all DNS-SD registrations. + */ + +static void +dnssdStop(void) +{ + cupsd_printer_t *p; /* Current printer */ + + + /* + * De-register the individual printers + */ + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + dnssdDeregisterPrinter(p, 1, 0); + + /* + * Shutdown the rest of the service refs... + */ + + dnssdDeregisterInstance(&WebIFSrv, 0); + +# ifdef HAVE_DNSSD + cupsdRemoveSelect(DNSServiceRefSockFD(DNSSDMaster)); + + DNSServiceRefDeallocate(DNSSDMaster); + DNSSDMaster = NULL; + +# else /* HAVE_AVAHI */ + if (DNSSDMaster) + avahi_threaded_poll_stop(DNSSDMaster); + + if (DNSSDClient) + { + avahi_client_free(DNSSDClient); + DNSSDClient = NULL; + } + + if (DNSSDMaster) + { + avahi_threaded_poll_free(DNSSDMaster); + DNSSDMaster = NULL; + } +# endif /* HAVE_DNSSD */ + + cupsArrayDelete(DNSSDPrinters); + DNSSDPrinters = NULL; + + DNSSDPort = 0; +} + + +# ifdef HAVE_DNSSD +/* + * 'dnssdUpdate()' - Handle DNS-SD queries. + */ + +static void +dnssdUpdate(void) +{ + DNSServiceErrorType sdErr; /* Service discovery error */ + + + if ((sdErr = DNSServiceProcessResult(DNSSDMaster)) != kDNSServiceErr_NoError) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "DNS Service Discovery registration error %d!", + sdErr); + dnssdStop(); + } +} +# endif /* HAVE_DNSSD */ + + +/* + * 'dnssdUpdateDNSSDName()' - Update the listen port, computer name, and web interface registration. + */ + +static void +dnssdUpdateDNSSDName(int from_callback) /* I - Called from callback? */ +{ + char webif[1024]; /* Web interface share name */ +# ifdef __APPLE__ + SCDynamicStoreRef sc; /* Context for dynamic store */ + CFDictionaryRef btmm; /* Back-to-My-Mac domains */ + CFStringEncoding nameEncoding; /* Encoding of computer name */ + CFStringRef nameRef; /* Host name CFString */ + char nameBuffer[1024]; /* C-string buffer */ +# endif /* __APPLE__ */ + + + /* + * Only share the web interface and printers when non-local listening is + * enabled... + */ + + if (!DNSSDPort) + { + /* + * Get the port we use for registrations. If we are not listening on any + * non-local ports, there is no sense sharing local printers via Bonjour... + */ + + cupsd_listener_t *lis; /* Current listening socket */ + + for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); + lis; + lis = (cupsd_listener_t *)cupsArrayNext(Listeners)) + { + if (httpAddrLocalhost(&(lis->address))) + continue; + + DNSSDPort = httpAddrPort(&(lis->address)); + break; + } + } + + if (!DNSSDPort) + return; + + /* + * Get the computer name as a c-string... + */ + +# ifdef __APPLE__ + sc = SCDynamicStoreCreate(kCFAllocatorDefault, CFSTR("cupsd"), NULL, NULL); + + if (sc) + { + /* + * Get the computer name from the dynamic store... + */ + + cupsdClearString(&DNSSDComputerName); + + if ((nameRef = SCDynamicStoreCopyComputerName(sc, &nameEncoding)) != NULL) + { + if (CFStringGetCString(nameRef, nameBuffer, sizeof(nameBuffer), + kCFStringEncodingUTF8)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Dynamic store computer name is \"%s\".", nameBuffer); + cupsdSetString(&DNSSDComputerName, nameBuffer); + } + + CFRelease(nameRef); + } + + if (!DNSSDComputerName) + { + /* + * Use the ServerName instead... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Using ServerName \"%s\" as computer name.", ServerName); + cupsdSetString(&DNSSDComputerName, ServerName); + } + + if (!DNSSDHostName) + { + /* + * Get the local hostname from the dynamic store... + */ + + if ((nameRef = SCDynamicStoreCopyLocalHostName(sc)) != NULL) + { + if (CFStringGetCString(nameRef, nameBuffer, sizeof(nameBuffer), + kCFStringEncodingUTF8)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "Dynamic store host name is \"%s\".", nameBuffer); + + if (strchr(nameBuffer, '.')) + cupsdSetString(&DNSSDHostName, nameBuffer); + else + cupsdSetStringf(&DNSSDHostName, "%s.local", nameBuffer); + + cupsdLogMessage(CUPSD_LOG_INFO, "Defaulting to \"DNSSDHostName %s\".", DNSSDHostName); + } + + CFRelease(nameRef); + } + } + + if (!DNSSDHostName) + { + /* + * Use the ServerName instead... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Using ServerName \"%s\" as host name.", ServerName); + cupsdSetString(&DNSSDHostName, ServerName); + + cupsdLogMessage(CUPSD_LOG_INFO, "Defaulting to \"DNSSDHostName %s\".", DNSSDHostName); + } + + /* + * Get any Back-to-My-Mac domains and add them as aliases... + */ + + cupsdFreeAliases(DNSSDAlias); + DNSSDAlias = NULL; + + btmm = SCDynamicStoreCopyValue(sc, CFSTR("Setup:/Network/BackToMyMac")); + if (btmm && CFGetTypeID(btmm) == CFDictionaryGetTypeID()) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "%d Back to My Mac aliases to add.", + (int)CFDictionaryGetCount(btmm)); + CFDictionaryApplyFunction(btmm, dnssdAddAlias, NULL); + } + else if (btmm) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad Back to My Mac data in dynamic store!"); + else + cupsdLogMessage(CUPSD_LOG_DEBUG, "No Back to My Mac aliases to add."); + + if (btmm) + CFRelease(btmm); + + CFRelease(sc); + } + else +# endif /* __APPLE__ */ +# ifdef HAVE_AVAHI + if (DNSSDClient) + { + const char *host_name = avahi_client_get_host_name(DNSSDClient); + + cupsdSetString(&DNSSDComputerName, host_name ? host_name : ServerName); + + if (!DNSSDHostName) + { + const char *host_fqdn = avahi_client_get_host_name_fqdn(DNSSDClient); + + if (host_fqdn) + cupsdSetString(&DNSSDHostName, host_fqdn); + else if (strchr(ServerName, '.')) + cupsdSetString(&DNSSDHostName, ServerName); + else + cupsdSetStringf(&DNSSDHostName, "%s.local", ServerName); + + cupsdLogMessage(CUPSD_LOG_INFO, "Defaulting to \"DNSSDHostName %s\".", DNSSDHostName); + } + } + else +# endif /* HAVE_AVAHI */ + { + cupsdSetString(&DNSSDComputerName, ServerName); + + if (!DNSSDHostName) + { + if (strchr(ServerName, '.')) + cupsdSetString(&DNSSDHostName, ServerName); + else + cupsdSetStringf(&DNSSDHostName, "%s.local", ServerName); + + cupsdLogMessage(CUPSD_LOG_INFO, "Defaulting to \"DNSSDHostName %s\".", DNSSDHostName); + } + } + + /* + * Then (re)register the web interface if enabled... + */ + + if (BrowseWebIF) + { + if (DNSSDComputerName) + snprintf(webif, sizeof(webif), "CUPS @ %s", DNSSDComputerName); + else + strlcpy(webif, "CUPS", sizeof(webif)); + + dnssdDeregisterInstance(&WebIFSrv, from_callback); + dnssdRegisterInstance(&WebIFSrv, NULL, webif, "_http._tcp", "_printer", DNSSDPort, NULL, 1, from_callback); + } +} + + +/* + * 'get_auth_info_required()' - Get the auth-info-required value to advertise. + */ + +static char * /* O - String or NULL if none */ +get_auth_info_required( + cupsd_printer_t *p, /* I - Printer */ + char *buffer, /* I - Value buffer */ + size_t bufsize) /* I - Size of value buffer */ +{ + cupsd_location_t *auth; /* Pointer to authentication element */ + char resource[1024]; /* Printer/class resource path */ + + + /* + * If auth-info-required is set for this printer, return that... + */ + + if (p->num_auth_info_required > 0 && strcmp(p->auth_info_required[0], "none")) + { + int i; /* Looping var */ + char *bufptr; /* Pointer into buffer */ + + for (i = 0, bufptr = buffer; i < p->num_auth_info_required; i ++) + { + if (bufptr >= (buffer + bufsize - 2)) + break; + + if (i) + *bufptr++ = ','; + + strlcpy(bufptr, p->auth_info_required[i], bufsize - (size_t)(bufptr - buffer)); + bufptr += strlen(bufptr); + } + + return (buffer); + } + + /* + * Figure out the authentication data requirements to advertise... + */ + + if (p->type & CUPS_PRINTER_CLASS) + snprintf(resource, sizeof(resource), "/classes/%s", p->name); + else + snprintf(resource, sizeof(resource), "/printers/%s", p->name); + + if ((auth = cupsdFindBest(resource, HTTP_POST)) == NULL || + auth->type == CUPSD_AUTH_NONE) + auth = cupsdFindPolicyOp(p->op_policy_ptr, IPP_PRINT_JOB); + + if (auth) + { + int auth_type; /* Authentication type */ + + if ((auth_type = auth->type) == CUPSD_AUTH_DEFAULT) + auth_type = cupsdDefaultAuthType(); + + switch (auth_type) + { + case CUPSD_AUTH_NONE : + return (NULL); + + case CUPSD_AUTH_NEGOTIATE : + strlcpy(buffer, "negotiate", bufsize); + break; + + default : + strlcpy(buffer, "username,password", bufsize); + break; + } + + return (buffer); + } + + return ("none"); +} +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + +#ifdef __APPLE__ +/* + * 'get_hostconfig()' - Get an /etc/hostconfig service setting. + */ + +static int /* O - 1 for YES or AUTOMATIC, 0 for NO */ +get_hostconfig(const char *name) /* I - Name of service */ +{ + cups_file_t *fp; /* Hostconfig file */ + char line[1024], /* Line from file */ + *ptr; /* Pointer to value */ + int state = 1; /* State of service */ + + + /* + * Try opening the /etc/hostconfig file; if we can't open it, assume that + * the service is enabled/auto. + */ + + if ((fp = cupsFileOpen("/etc/hostconfig", "r")) != NULL) + { + /* + * Read lines from the file until we find the service... + */ + + while (cupsFileGets(fp, line, sizeof(line))) + { + if (line[0] == '#' || (ptr = strchr(line, '=')) == NULL) + continue; + + *ptr++ = '\0'; + + if (!_cups_strcasecmp(line, name)) + { + /* + * Found the service, see if it is set to "-NO-"... + */ + + if (!_cups_strncasecmp(ptr, "-NO-", 4)) + state = 0; + break; + } + } + + cupsFileClose(fp); + } + + return (state); +} +#endif /* __APPLE__ */ + + +/* + * 'update_lpd()' - Update the LPD configuration as needed. + */ + +static void +update_lpd(int onoff) /* - 1 = turn on, 0 = turn off */ +{ + if (!LPDConfigFile) + return; + +#ifdef __APPLE__ + /* + * Allow /etc/hostconfig CUPS_LPD service setting to override cupsd.conf + * setting for backwards-compatibility. + */ + + if (onoff && !get_hostconfig("CUPS_LPD")) + onoff = 0; +#endif /* __APPLE__ */ + + if (!strncmp(LPDConfigFile, "xinetd:///", 10)) + { + /* + * Enable/disable LPD via the xinetd.d config file for cups-lpd... + */ + + char newfile[1024]; /* New cups-lpd.N file */ + cups_file_t *ofp, /* Original file pointer */ + *nfp; /* New file pointer */ + char line[1024]; /* Line from file */ + + + snprintf(newfile, sizeof(newfile), "%s.N", LPDConfigFile + 9); + + if ((ofp = cupsFileOpen(LPDConfigFile + 9, "r")) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to open \"%s\" - %s", + LPDConfigFile + 9, strerror(errno)); + return; + } + + if ((nfp = cupsFileOpen(newfile, "w")) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to create \"%s\" - %s", + newfile, strerror(errno)); + cupsFileClose(ofp); + return; + } + + /* + * Copy all of the lines from the cups-lpd file... + */ + + while (cupsFileGets(ofp, line, sizeof(line))) + { + if (line[0] == '{') + { + cupsFilePrintf(nfp, "%s\n", line); + snprintf(line, sizeof(line), "\tdisable = %s", + onoff ? "no" : "yes"); + } + else if (!strstr(line, "disable =")) + cupsFilePrintf(nfp, "%s\n", line); + } + + cupsFileClose(nfp); + cupsFileClose(ofp); + rename(newfile, LPDConfigFile + 9); + } +#ifdef __APPLE__ + else if (!strncmp(LPDConfigFile, "launchd:///", 11)) + { + /* + * Enable/disable LPD via the launchctl command... + */ + + char *argv[5], /* Arguments for command */ + *envp[MAX_ENV]; /* Environment for command */ + int pid; /* Process ID */ + + + cupsdLoadEnv(envp, (int)(sizeof(envp) / sizeof(envp[0]))); + argv[0] = (char *)"launchctl"; + argv[1] = (char *)(onoff ? "load" : "unload"); + argv[2] = (char *)"-w"; + argv[3] = LPDConfigFile + 10; + argv[4] = NULL; + + cupsdStartProcess("/bin/launchctl", argv, envp, -1, -1, -1, -1, -1, 1, + NULL, NULL, &pid); + } +#endif /* __APPLE__ */ + else + cupsdLogMessage(CUPSD_LOG_INFO, "Unknown LPDConfigFile scheme!"); +} + + +/* + * 'update_smb()' - Update the SMB configuration as needed. + */ + +static void +update_smb(int onoff) /* I - 1 = turn on, 0 = turn off */ +{ + if (!SMBConfigFile) + return; + + if (!strncmp(SMBConfigFile, "samba:///", 9)) + { + /* + * Enable/disable SMB via the specified smb.conf config file... + */ + + char newfile[1024]; /* New smb.conf.N file */ + cups_file_t *ofp, /* Original file pointer */ + *nfp; /* New file pointer */ + char line[1024]; /* Line from file */ + int in_printers; /* In [printers] section? */ + + + snprintf(newfile, sizeof(newfile), "%s.N", SMBConfigFile + 8); + + if ((ofp = cupsFileOpen(SMBConfigFile + 8, "r")) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to open \"%s\" - %s", + SMBConfigFile + 8, strerror(errno)); + return; + } + + if ((nfp = cupsFileOpen(newfile, "w")) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to create \"%s\" - %s", + newfile, strerror(errno)); + cupsFileClose(ofp); + return; + } + + /* + * Copy all of the lines from the smb.conf file... + */ + + in_printers = 0; + + while (cupsFileGets(ofp, line, sizeof(line))) + { + if (in_printers && strstr(line, "printable =")) + snprintf(line, sizeof(line), " printable = %s", + onoff ? "yes" : "no"); + + cupsFilePrintf(nfp, "%s\n", line); + + if (line[0] == '[') + in_printers = !strcmp(line, "[printers]"); + } + + cupsFileClose(nfp); + cupsFileClose(ofp); + rename(newfile, SMBConfigFile + 8); + } + else + cupsdLogMessage(CUPSD_LOG_INFO, "Unknown SMBConfigFile scheme!"); +} diff --git a/scheduler/dirsvc.h b/scheduler/dirsvc.h new file mode 100644 index 0000000..07f8008 --- /dev/null +++ b/scheduler/dirsvc.h @@ -0,0 +1,73 @@ +/* + * Directory services definitions for the CUPS scheduler. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Browse protocols... + */ + +#define BROWSE_DNSSD 1 /* DNS Service Discovery (aka Bonjour) */ +#define BROWSE_SMB 2 /* SMB/Samba */ +#define BROWSE_LPD 4 /* LPD via xinetd or launchd */ +#define BROWSE_ALL 7 /* All protocols */ + + +/* + * Globals... + */ + +VAR int Browsing VALUE(TRUE), + /* Whether or not browsing is enabled */ + BrowseWebIF VALUE(FALSE), + /* Whether the web interface is advertised */ + BrowseLocalProtocols + VALUE(BROWSE_ALL); + /* Protocols to support for local printers */ +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) +VAR char *DNSSDComputerName VALUE(NULL), + /* Computer/server name */ + *DNSSDHostName VALUE(NULL), + /* Hostname */ + *DNSSDSubTypes VALUE(NULL); + /* Bonjour registration subtypes */ +VAR cups_array_t *DNSSDAlias VALUE(NULL); + /* List of dynamic ServerAlias's */ +VAR int DNSSDPort VALUE(0); + /* Port number to register */ +VAR cups_array_t *DNSSDPrinters VALUE(NULL); + /* Printers we have registered */ +# ifdef HAVE_DNSSD +VAR DNSServiceRef DNSSDMaster VALUE(NULL); + /* Master DNS-SD service reference */ +# else /* HAVE_AVAHI */ +VAR AvahiThreadedPoll *DNSSDMaster VALUE(NULL); + /* Master polling interface for Avahi */ +VAR AvahiClient *DNSSDClient VALUE(NULL); + /* Client information */ +# endif /* HAVE_DNSSD */ +VAR cupsd_srv_t WebIFSrv VALUE(NULL); + /* Service reference for the web interface */ +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + +VAR char *LPDConfigFile VALUE(NULL), + /* LPD configuration file */ + *SMBConfigFile VALUE(NULL); + /* SMB configuration file */ + + +/* + * Prototypes... + */ + +extern void cupsdDeregisterPrinter(cupsd_printer_t *p, int removeit); +extern void cupsdRegisterPrinter(cupsd_printer_t *p); +extern void cupsdStartBrowsing(void); +extern void cupsdStopBrowsing(void); +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) +extern void cupsdUpdateDNSSDName(void); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ diff --git a/scheduler/env.c b/scheduler/env.c new file mode 100644 index 0000000..71ab98d --- /dev/null +++ b/scheduler/env.c @@ -0,0 +1,259 @@ +/* + * Environment management routines for the CUPS scheduler. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" + + +/* + * Local globals... + */ + +static int num_common_env = 0; /* Number of common env vars */ +static char *common_env[MAX_ENV]; /* Common env vars */ + + +/* + * Local functions... + */ + +static void clear_env(void); +static int find_env(const char *name); + + +/* + * 'cupsdInitEnv()' - Initialize the current environment with standard variables. + */ + +void +cupsdInitEnv(void) +{ + /* + * Clear existing environment variables... + */ + + clear_env(); + +#if defined(__APPLE__) + /* + * Add special voodoo magic for macOS - this allows macOS + * programs to access their bundle resources properly... + * + * This string is replaced in cupsdStartProcess()... + */ + + cupsdSetString(common_env, ""); + num_common_env = 1; +#endif /* __APPLE__ */ +} + + +/* + * 'cupsdLoadEnv()' - Copy common environment variables into an array. + */ + +int /* O - Number of environment variables */ +cupsdLoadEnv(char *envp[], /* I - Environment array */ + int envmax) /* I - Maximum number of elements */ +{ + int i; /* Looping var */ + + + /* + * Leave room for a NULL pointer at the end... + */ + + envmax --; + + /* + * Copy pointers to the environment... + */ + + for (i = 0; i < num_common_env && i < envmax; i ++) + envp[i] = common_env[i]; + + /* + * NULL terminate the environment array and return the number of + * elements we added... + */ + + envp[i] = NULL; + + return (i); +} + + +/* + * 'cupsdSetEnv()' - Set a common environment variable. + */ + +void +cupsdSetEnv(const char *name, /* I - Name of variable */ + const char *value) /* I - Value of variable */ +{ + int i; /* Index into environent array */ + + + /* + * If "value" is NULL, try getting value from current environment... + */ + + if (!value) + value = getenv(name); + + if (!value) + return; + + /* + * Do not allow dynamic linker variables when running as root... + */ + + if (!RunUser && (!strncmp(name, "DYLD_", 5) || !strncmp(name, "LD_", 3))) + return; + + /* + * See if this variable has already been defined... + */ + + if ((i = find_env(name)) < 0) + { + /* + * Check for room... + */ + + if (num_common_env >= (int)(sizeof(common_env) / sizeof(common_env[0]))) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "cupsdSetEnv: Too many environment variables set!"); + return; + } + + i = num_common_env; + num_common_env ++; + } + + /* + * Set the new environment variable... + */ + + cupsdSetStringf(common_env + i, "%s=%s", name, value); + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdSetEnv: %s", common_env[i]); +} + + +/* + * 'cupsdSetEnvf()' - Set a formatted common environment variable. + */ + +void +cupsdSetEnvf(const char *name, /* I - Name of variable */ + const char *value, /* I - Printf-style value of variable */ + ...) /* I - Additional args as needed */ +{ + char v[4096]; /* Formatting string value */ + va_list ap; /* Argument pointer */ + + + /* + * Format the value string... + */ + + va_start(ap, value); + vsnprintf(v, sizeof(v), value, ap); + va_end(ap); + + /* + * Set the env variable... + */ + + cupsdSetEnv(name, v); +} + + +/* + * 'cupsdUpdateEnv()' - Update the environment for the configured directories. + */ + +void +cupsdUpdateEnv(void) +{ + /* + * Set common variables... + */ + +#define set_if_undefined(name,value) if (find_env(name) < 0) cupsdSetEnv(name,value) + + set_if_undefined("CUPS_CACHEDIR", CacheDir); + set_if_undefined("CUPS_DATADIR", DataDir); + set_if_undefined("CUPS_DOCROOT", DocumentRoot); + set_if_undefined("CUPS_FONTPATH", FontPath); + set_if_undefined("CUPS_REQUESTROOT", RequestRoot); + set_if_undefined("CUPS_SERVERBIN", ServerBin); + set_if_undefined("CUPS_SERVERROOT", ServerRoot); + set_if_undefined("CUPS_STATEDIR", StateDir); + set_if_undefined("DYLD_INSERT_LIBRARIES", NULL); + set_if_undefined("DYLD_LIBRARY_PATH", NULL); + set_if_undefined("HOME", TempDir); + set_if_undefined("LD_ASSUME_KERNEL", NULL); + set_if_undefined("LD_LIBRARY_PATH", NULL); + set_if_undefined("LD_PRELOAD", NULL); + set_if_undefined("NLSPATH", NULL); + if (find_env("PATH") < 0) + cupsdSetEnvf("PATH", "%s/filter:" CUPS_BINDIR ":" CUPS_SBINDIR + ":/bin:/usr/bin", ServerBin); + set_if_undefined("SERVER_ADMIN", ServerAdmin); + set_if_undefined("SHLIB_PATH", NULL); + set_if_undefined("SOFTWARE", CUPS_MINIMAL); + set_if_undefined("TMPDIR", TempDir); + set_if_undefined("TZ", NULL); + set_if_undefined("USER", "root"); + set_if_undefined("VG_ARGS", NULL); + + cupsdSetEnvf("CUPS_MAX_MESSAGE", "%d", CUPSD_SB_BUFFER_SIZE - 1); +} + + +/* + * 'clear_env()' - Clear common environment variables. + */ + +static void +clear_env(void) +{ + int i; /* Looping var */ + + + for (i = 0; i < num_common_env; i ++) + cupsdClearString(common_env + i); + + num_common_env = 0; +} + + +/* + * 'find_env()' - Find a common environment variable. + */ + +static int /* O - Index or -1 if not found */ +find_env(const char *name) /* I - Variable name */ +{ + int i; /* Looping var */ + size_t namelen; /* Length of name */ + + + for (i = 0, namelen = strlen(name); i < num_common_env; i ++) + if (!strncmp(common_env[i], name, namelen) && common_env[i][namelen] == '=') + return (i); + + return (-1); +} diff --git a/scheduler/file.c b/scheduler/file.c new file mode 100644 index 0000000..a2f723a --- /dev/null +++ b/scheduler/file.c @@ -0,0 +1,441 @@ +/* + * File functions for the CUPS scheduler. + * + * Copyright © 2007-2014 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include +#include +#ifdef HAVE_REMOVEFILE +# include +#else +static int overwrite_data(int fd, const char *buffer, int bufsize, + int filesize); +#endif /* HAVE_REMOVEFILE */ + + +/* + * 'cupsdCleanFiles()' - Clean out old files. + */ + +void +cupsdCleanFiles(const char *path, /* I - Directory to clean */ + const char *pattern) /* I - Filename pattern or NULL */ +{ + cups_dir_t *dir; /* Directory */ + cups_dentry_t *dent; /* Directory entry */ + char filename[1024]; /* Filename */ + int status; /* Status from unlink/rmdir */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdCleanFiles(path=\"%s\", pattern=\"%s\")", path, + pattern ? pattern : "(null)"); + + if ((dir = cupsDirOpen(path)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to open directory \"%s\" - %s", + path, strerror(errno)); + return; + } + + cupsdLogMessage(CUPSD_LOG_INFO, "Cleaning out old files in \"%s\".", path); + + while ((dent = cupsDirRead(dir)) != NULL) + { + if (pattern && fnmatch(pattern, dent->filename, 0)) + continue; + + snprintf(filename, sizeof(filename), "%s/%s", path, dent->filename); + + if (S_ISDIR(dent->fileinfo.st_mode)) + { + cupsdCleanFiles(filename, pattern); + + status = rmdir(filename); + } + else + status = cupsdUnlinkOrRemoveFile(filename); + + if (status) + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to remove \"%s\" - %s", filename, + strerror(errno)); + } + + cupsDirClose(dir); +} + + +/* + * 'cupsdCloseCreatedConfFile()' - Close a created configuration file and move + * into place. + */ + +int /* O - 0 on success, -1 on error */ +cupsdCloseCreatedConfFile( + cups_file_t *fp, /* I - File to close */ + const char *filename) /* I - Filename */ +{ + char newfile[1024], /* filename.N */ + oldfile[1024]; /* filename.O */ + + + /* + * Synchronize changes to disk if SyncOnClose is enabled. + */ + + if (SyncOnClose) + { + if (cupsFileFlush(fp)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to write changes to \"%s\": %s", + filename, strerror(errno)); + cupsFileClose(fp); + return (-1); + } + + if (fsync(cupsFileNumber(fp))) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to sync changes to \"%s\": %s", + filename, strerror(errno)); + cupsFileClose(fp); + return (-1); + } + } + + /* + * First close the file... + */ + + if (cupsFileClose(fp)) + return (-1); + + /* + * Then remove "filename.O", rename "filename" to "filename.O", and rename + * "filename.N" to "filename". + */ + + snprintf(newfile, sizeof(newfile), "%s.N", filename); + snprintf(oldfile, sizeof(oldfile), "%s.O", filename); + + if ((cupsdUnlinkOrRemoveFile(oldfile) && errno != ENOENT) || + (rename(filename, oldfile) && errno != ENOENT) || + rename(newfile, filename)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to finalize \"%s\": %s", + filename, strerror(errno)); + return (-1); + } + + return (0); +} + + +/* + * 'cupsdClosePipe()' - Close a pipe as necessary. + */ + +void +cupsdClosePipe(int *fds) /* I - Pipe file descriptors (2) */ +{ + /* + * Close file descriptors as needed... + */ + + if (fds[0] >= 0) + { + close(fds[0]); + fds[0] = -1; + } + + if (fds[1] >= 0) + { + close(fds[1]); + fds[1] = -1; + } +} + + +/* + * 'cupsdCreateConfFile()' - Create a configuration file safely. + */ + +cups_file_t * /* O - File pointer */ +cupsdCreateConfFile( + const char *filename, /* I - Filename */ + mode_t mode) /* I - Permissions */ +{ + cups_file_t *fp; /* File pointer */ + char newfile[1024]; /* filename.N */ + + + snprintf(newfile, sizeof(newfile), "%s.N", filename); + if ((fp = cupsFileOpen(newfile, "w")) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to create \"%s\": %s", newfile, + strerror(errno)); + } + else + { + if (!getuid() && fchown(cupsFileNumber(fp), getuid(), Group)) + cupsdLogMessage(CUPSD_LOG_WARN, "Unable to change group for \"%s\": %s", + newfile, strerror(errno)); + + if (fchmod(cupsFileNumber(fp), mode)) + cupsdLogMessage(CUPSD_LOG_WARN, + "Unable to change permissions for \"%s\": %s", + newfile, strerror(errno)); + } + + return (fp); +} + + +/* + * 'cupsdOpenConfFile()' - Open a configuration file. + * + * This function looks for "filename.O" if "filename" does not exist and does + * a rename as needed. + */ + +cups_file_t * /* O - File pointer */ +cupsdOpenConfFile(const char *filename) /* I - Filename */ +{ + cups_file_t *fp; /* File pointer */ + + + if ((fp = cupsFileOpen(filename, "r")) == NULL) + { + if (errno == ENOENT) + { + /* + * Try opening the backup file... + */ + + char oldfile[1024]; /* filename.O */ + + snprintf(oldfile, sizeof(oldfile), "%s.O", filename); + fp = cupsFileOpen(oldfile, "r"); + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to open \"%s\": %s", filename, + strerror(errno)); + } + + return (fp); +} + + +/* + * 'cupsdOpenPipe()' - Create a pipe which is closed on exec. + */ + +int /* O - 0 on success, -1 on error */ +cupsdOpenPipe(int *fds) /* O - Pipe file descriptors (2) */ +{ + /* + * Create the pipe... + */ + + if (pipe(fds)) + { + fds[0] = -1; + fds[1] = -1; + + return (-1); + } + + /* + * Set the "close on exec" flag on each end of the pipe... + */ + + if (fcntl(fds[0], F_SETFD, fcntl(fds[0], F_GETFD) | FD_CLOEXEC)) + { + close(fds[0]); + close(fds[1]); + + fds[0] = -1; + fds[1] = -1; + + return (-1); + } + + if (fcntl(fds[1], F_SETFD, fcntl(fds[1], F_GETFD) | FD_CLOEXEC)) + { + close(fds[0]); + close(fds[1]); + + fds[0] = -1; + fds[1] = -1; + + return (-1); + } + + /* + * Return 0 indicating success... + */ + + return (0); +} + + +/* + * 'cupsdRemoveFile()' - Remove a file securely. + */ + +int /* O - 0 on success, -1 on error */ +cupsdRemoveFile(const char *filename) /* I - File to remove */ +{ +#ifdef HAVE_REMOVEFILE + /* + * See if the file exists... + */ + + if (access(filename, 0)) + return (0); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Securely removing \"%s\".", filename); + + /* + * Remove the file... + */ + + return (removefile(filename, NULL, REMOVEFILE_SECURE_1_PASS)); + +#else + int fd; /* File descriptor */ + struct stat info; /* File information */ + char buffer[512]; /* Data buffer */ + int i; /* Looping var */ + + + /* + * See if the file exists... + */ + + if (access(filename, 0)) + return (0); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Securely removing \"%s\".", filename); + + /* + * First open the file for writing in exclusive mode. + */ + + if ((fd = open(filename, O_WRONLY | O_EXCL)) < 0) + return (-1); + + /* + * Delete the file now - it will still be around as long as the file is + * open... + */ + + if (unlink(filename)) + { + close(fd); + return (-1); + } + + /* + * Then get the file size... + */ + + if (fstat(fd, &info)) + { + close(fd); + return (-1); + } + + /* + * Overwrite the file with random data. + */ + + CUPS_SRAND(time(NULL)); + + for (i = 0; i < sizeof(buffer); i ++) + buffer[i] = CUPS_RAND(); + if (overwrite_data(fd, buffer, sizeof(buffer), (int)info.st_size)) + { + close(fd); + return (-1); + } + + /* + * Close the file, which will lead to the actual deletion, and return... + */ + + return (close(fd)); +#endif /* HAVE_REMOVEFILE */ +} + + +/* + * 'cupsdUnlinkOrRemoveFile()' - Unlink or securely remove a file depending + * on the configuration. + */ + +int /* O - 0 on success, -1 on error */ +cupsdUnlinkOrRemoveFile( + const char *filename) /* I - Filename */ +{ + if (Classification) + return (cupsdRemoveFile(filename)); + else + return (unlink(filename)); +} + + +#ifndef HAVE_REMOVEFILE +/* + * 'overwrite_data()' - Overwrite the data in a file. + */ + +static int /* O - 0 on success, -1 on error */ +overwrite_data(int fd, /* I - File descriptor */ + const char *buffer, /* I - Buffer to write */ + int bufsize, /* I - Size of buffer */ + int filesize) /* I - Size of file */ +{ + int bytes; /* Bytes to write/written */ + + + /* + * Start at the beginning of the file... + */ + + if (lseek(fd, 0, SEEK_SET) < 0) + return (-1); + + /* + * Fill the file with the provided data... + */ + + while (filesize > 0) + { + if (filesize > bufsize) + bytes = bufsize; + else + bytes = filesize; + + if ((bytes = write(fd, buffer, (size_t)bytes)) < 0) + return (-1); + + filesize -= bytes; + } + + /* + * Force the changes to disk... + */ + + return (fsync(fd)); +} +#endif /* HAVE_REMOVEFILE */ diff --git a/scheduler/filter.c b/scheduler/filter.c new file mode 100644 index 0000000..5596d62 --- /dev/null +++ b/scheduler/filter.c @@ -0,0 +1,487 @@ +/* + * File type conversion routines for CUPS. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include "mime.h" + + +/* + * Debug macros that used to be private API... + */ + +#define DEBUG_puts(x) +#define DEBUG_printf(...) + + +/* + * Local types... + */ + +typedef struct _mime_typelist_s /**** List of source types ****/ +{ + struct _mime_typelist_s *next; /* Next source type */ + mime_type_t *src; /* Source type */ +} _mime_typelist_t; + + +/* + * Local functions... + */ + +static int mime_compare_filters(mime_filter_t *, mime_filter_t *); +static int mime_compare_srcs(mime_filter_t *, mime_filter_t *); +static cups_array_t *mime_find_filters(mime_t *mime, mime_type_t *src, + size_t srcsize, mime_type_t *dst, + int *cost, _mime_typelist_t *visited); + + +/* + * 'mimeAddFilter()' - Add a filter to the current MIME database. + */ + +mime_filter_t * /* O - New filter */ +mimeAddFilter(mime_t *mime, /* I - MIME database */ + mime_type_t *src, /* I - Source type */ + mime_type_t *dst, /* I - Destination type */ + int cost, /* I - Relative time/resource cost */ + const char *filter) /* I - Filter program to run */ +{ + mime_filter_t *temp; /* New filter */ + + + DEBUG_printf(("mimeAddFilter(mime=%p, src=%p(%s/%s), dst=%p(%s/%s), cost=%d, " + "filter=\"%s\")", mime, + src, src ? src->super : "???", src ? src->type : "???", + dst, dst ? dst->super : "???", dst ? dst->type : "???", + cost, filter)); + + /* + * Range-check the input... + */ + + if (!mime || !src || !dst || !filter) + { + DEBUG_puts("1mimeAddFilter: Returning NULL."); + return (NULL); + } + + /* + * See if we already have an existing filter for the given source and + * destination... + */ + + if ((temp = mimeFilterLookup(mime, src, dst)) != NULL) + { + /* + * Yup, does the existing filter have a higher cost? If so, copy the + * filter and cost to the existing filter entry and return it... + */ + + if (temp->cost > cost) + { + DEBUG_printf(("1mimeAddFilter: Replacing filter \"%s\", cost %d.", + temp->filter, temp->cost)); + temp->cost = cost; + strlcpy(temp->filter, filter, sizeof(temp->filter)); + } + } + else + { + /* + * Nope, add a new one... + */ + + if (!mime->filters) + mime->filters = cupsArrayNew((cups_array_func_t)mime_compare_filters, NULL); + + if (!mime->filters) + return (NULL); + + if ((temp = calloc(1, sizeof(mime_filter_t))) == NULL) + return (NULL); + + /* + * Copy the information over and sort if necessary... + */ + + temp->src = src; + temp->dst = dst; + temp->cost = cost; + strlcpy(temp->filter, filter, sizeof(temp->filter)); + + DEBUG_puts("1mimeAddFilter: Adding new filter."); + cupsArrayAdd(mime->filters, temp); + cupsArrayAdd(mime->srcs, temp); + } + + /* + * Return the new/updated filter... + */ + + DEBUG_printf(("1mimeAddFilter: Returning %p.", temp)); + + return (temp); +} + + +/* + * 'mimeFilter()' - Find the fastest way to convert from one type to another. + */ + +cups_array_t * /* O - Array of filters to run */ +mimeFilter(mime_t *mime, /* I - MIME database */ + mime_type_t *src, /* I - Source file type */ + mime_type_t *dst, /* I - Destination file type */ + int *cost) /* O - Cost of filters */ +{ + DEBUG_printf(("mimeFilter(mime=%p, src=%p(%s/%s), dst=%p(%s/%s), " + "cost=%p(%d))", mime, + src, src ? src->super : "???", src ? src->type : "???", + dst, dst ? dst->super : "???", dst ? dst->type : "???", + cost, cost ? *cost : 0)); + + return (mimeFilter2(mime, src, 0, dst, cost)); +} + + +/* + * 'mimeFilter2()' - Find the fastest way to convert from one type to another, + * including file size. + */ + +cups_array_t * /* O - Array of filters to run */ +mimeFilter2(mime_t *mime, /* I - MIME database */ + mime_type_t *src, /* I - Source file type */ + size_t srcsize, /* I - Size of source file */ + mime_type_t *dst, /* I - Destination file type */ + int *cost) /* O - Cost of filters */ +{ + cups_array_t *filters; /* Array of filters to run */ + + + /* + * Range-check the input... + */ + + DEBUG_printf(("mimeFilter2(mime=%p, src=%p(%s/%s), srcsize=" CUPS_LLFMT + ", dst=%p(%s/%s), cost=%p(%d))", mime, + src, src ? src->super : "???", src ? src->type : "???", + CUPS_LLCAST srcsize, + dst, dst ? dst->super : "???", dst ? dst->type : "???", + cost, cost ? *cost : 0)); + + if (cost) + *cost = 0; + + if (!mime || !src || !dst) + return (NULL); + + /* + * (Re)build the source lookup array as needed... + */ + + if (!mime->srcs) + { + mime_filter_t *current; /* Current filter */ + + mime->srcs = cupsArrayNew((cups_array_func_t)mime_compare_srcs, NULL); + + for (current = mimeFirstFilter(mime); + current; + current = mimeNextFilter(mime)) + cupsArrayAdd(mime->srcs, current); + } + + /* + * Find the filters... + */ + + filters = mime_find_filters(mime, src, srcsize, dst, cost, NULL); + + DEBUG_printf(("1mimeFilter2: Returning %d filter(s), cost %d:", + cupsArrayCount(filters), cost ? *cost : -1)); +#ifdef DEBUG + { + mime_filter_t *filter; /* Current filter */ + + for (filter = (mime_filter_t *)cupsArrayFirst(filters); + filter; + filter = (mime_filter_t *)cupsArrayNext(filters)) + DEBUG_printf(("1mimeFilter2: %s/%s %s/%s %d %s", filter->src->super, + filter->src->type, filter->dst->super, filter->dst->type, + filter->cost, filter->filter)); + } +#endif /* DEBUG */ + + return (filters); +} + + +/* + * 'mimeFilterLookup()' - Lookup a filter. + */ + +mime_filter_t * /* O - Filter for src->dst */ +mimeFilterLookup(mime_t *mime, /* I - MIME database */ + mime_type_t *src, /* I - Source type */ + mime_type_t *dst) /* I - Destination type */ +{ + mime_filter_t key, /* Key record for filter search */ + *filter; /* Matching filter */ + + + DEBUG_printf(("2mimeFilterLookup(mime=%p, src=%p(%s/%s), dst=%p(%s/%s))", mime, + src, src ? src->super : "???", src ? src->type : "???", + dst, dst ? dst->super : "???", dst ? dst->type : "???")); + + key.src = src; + key.dst = dst; + + filter = (mime_filter_t *)cupsArrayFind(mime->filters, &key); + DEBUG_printf(("3mimeFilterLookup: Returning %p(%s).", filter, + filter ? filter->filter : "???")); + return (filter); +} + + +/* + * 'mime_compare_filters()' - Compare two filters. + */ + +static int /* O - Comparison result */ +mime_compare_filters(mime_filter_t *f0, /* I - First filter */ + mime_filter_t *f1) /* I - Second filter */ +{ + int i; /* Result of comparison */ + + + if ((i = strcmp(f0->src->super, f1->src->super)) == 0) + if ((i = strcmp(f0->src->type, f1->src->type)) == 0) + if ((i = strcmp(f0->dst->super, f1->dst->super)) == 0) + i = strcmp(f0->dst->type, f1->dst->type); + + return (i); +} + + +/* + * 'mime_compare_srcs()' - Compare two filter source types. + */ + +static int /* O - Comparison result */ +mime_compare_srcs(mime_filter_t *f0, /* I - First filter */ + mime_filter_t *f1) /* I - Second filter */ +{ + int i; /* Result of comparison */ + + + if ((i = strcmp(f0->src->super, f1->src->super)) == 0) + i = strcmp(f0->src->type, f1->src->type); + + return (i); +} + + +/* + * 'mime_find_filters()' - Find the filters to convert from one type to another. + */ + +static cups_array_t * /* O - Array of filters to run */ +mime_find_filters( + mime_t *mime, /* I - MIME database */ + mime_type_t *src, /* I - Source file type */ + size_t srcsize, /* I - Size of source file */ + mime_type_t *dst, /* I - Destination file type */ + int *cost, /* O - Cost of filters */ + _mime_typelist_t *list) /* I - Source types we've used */ +{ + int tempcost, /* Temporary cost */ + mincost; /* Current minimum */ + cups_array_t *temp, /* Temporary filter */ + *mintemp; /* Current minimum */ + mime_filter_t *current, /* Current filter */ + srckey; /* Source type key */ + _mime_typelist_t listnode, /* New list node */ + *listptr; /* Pointer in list */ + + + DEBUG_printf(("2mime_find_filters(mime=%p, src=%p(%s/%s), srcsize=" CUPS_LLFMT + ", dst=%p(%s/%s), cost=%p, list=%p)", mime, src, src->super, + src->type, CUPS_LLCAST srcsize, dst, dst->super, dst->type, + cost, list)); + + /* + * See if there is a filter that can convert the files directly... + */ + + if ((current = mimeFilterLookup(mime, src, dst)) != NULL && + (current->maxsize == 0 || srcsize <= current->maxsize)) + { + /* + * Got a direct filter! + */ + + DEBUG_puts("3mime_find_filters: Direct filter found."); + + if ((mintemp = cupsArrayNew(NULL, NULL)) == NULL) + { + DEBUG_puts("3mime_find_filters: Returning NULL (out of memory)."); + return (NULL); + } + + cupsArrayAdd(mintemp, current); + + mincost = current->cost; + + if (!cost) + { + DEBUG_printf(("3mime_find_filters: Returning 1 filter, cost %d:", + mincost)); + DEBUG_printf(("3mime_find_filters: %s/%s %s/%s %d %s", + current->src->super, current->src->type, + current->dst->super, current->dst->type, + current->cost, current->filter)); + return (mintemp); + } + } + else + { + /* + * No direct filter... + */ + + mintemp = NULL; + mincost = 9999999; + } + + /* + * Initialize this node in the type list... + */ + + listnode.next = list; + + /* + * OK, now look for filters from the source type to any other type... + */ + + srckey.src = src; + + for (current = (mime_filter_t *)cupsArrayFind(mime->srcs, &srckey); + current && current->src == src; + current = (mime_filter_t *)cupsArrayNext(mime->srcs)) + { + /* + * See if we have already tried the destination type as a source + * type (this avoids extra filter looping...) + */ + + mime_type_t *current_dst; /* Current destination type */ + + if (current->maxsize > 0 && srcsize > current->maxsize) + continue; + + for (listptr = list, current_dst = current->dst; + listptr; + listptr = listptr->next) + if (current_dst == listptr->src) + break; + + if (listptr) + continue; + + /* + * See if we have any filters that can convert from the destination type + * of this filter to the final type... + */ + + listnode.src = current->src; + + cupsArraySave(mime->srcs); + temp = mime_find_filters(mime, current->dst, srcsize, dst, &tempcost, + &listnode); + cupsArrayRestore(mime->srcs); + + if (!temp) + continue; + + if (!cost) + { + DEBUG_printf(("3mime_find_filters: Returning %d filter(s), cost %d:", + cupsArrayCount(temp), tempcost)); + +#ifdef DEBUG + for (current = (mime_filter_t *)cupsArrayFirst(temp); + current; + current = (mime_filter_t *)cupsArrayNext(temp)) + DEBUG_printf(("3mime_find_filters: %s/%s %s/%s %d %s", + current->src->super, current->src->type, + current->dst->super, current->dst->type, + current->cost, current->filter)); +#endif /* DEBUG */ + + return (temp); + } + + /* + * Found a match; see if this one is less costly than the last (if + * any...) + */ + + tempcost += current->cost; + + if (tempcost < mincost) + { + cupsArrayDelete(mintemp); + + /* + * Hey, we got a match! Add the current filter to the beginning of the + * filter list... + */ + + mintemp = temp; + mincost = tempcost; + cupsArrayInsert(mintemp, current); + } + else + cupsArrayDelete(temp); + } + + if (mintemp) + { + /* + * Hey, we got a match! + */ + + DEBUG_printf(("3mime_find_filters: Returning %d filter(s), cost %d:", + cupsArrayCount(mintemp), mincost)); + +#ifdef DEBUG + for (current = (mime_filter_t *)cupsArrayFirst(mintemp); + current; + current = (mime_filter_t *)cupsArrayNext(mintemp)) + DEBUG_printf(("3mime_find_filters: %s/%s %s/%s %d %s", + current->src->super, current->src->type, + current->dst->super, current->dst->type, + current->cost, current->filter)); +#endif /* DEBUG */ + + if (cost) + *cost = mincost; + + return (mintemp); + } + + DEBUG_puts("3mime_find_filters: Returning NULL (no matches)."); + + return (NULL); +} diff --git a/scheduler/ipp.c b/scheduler/ipp.c new file mode 100644 index 0000000..2fe3bf2 --- /dev/null +++ b/scheduler/ipp.c @@ -0,0 +1,11456 @@ +/* + * IPP routines for the CUPS scheduler. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * This file contains Kerberos support code, copyright 2006 by + * Jelmer Vernooij. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include + +#ifdef __APPLE__ +# ifdef HAVE_MEMBERSHIP_H +# include +# endif /* HAVE_MEMBERSHIP_H */ +extern int mbr_user_name_to_uuid(const char* name, uuid_t uu); +extern int mbr_group_name_to_uuid(const char* name, uuid_t uu); +extern int mbr_check_membership_by_id(uuid_t user, gid_t group, int* ismember); +#endif /* __APPLE__ */ + + +/* + * Local functions... + */ + +static void accept_jobs(cupsd_client_t *con, ipp_attribute_t *uri); +static void add_class(cupsd_client_t *con, ipp_attribute_t *uri); +static int add_file(cupsd_client_t *con, cupsd_job_t *job, + mime_type_t *filetype, int compression); +static cupsd_job_t *add_job(cupsd_client_t *con, cupsd_printer_t *printer, + mime_type_t *filetype); +static void add_job_subscriptions(cupsd_client_t *con, cupsd_job_t *job); +static void add_job_uuid(cupsd_job_t *job); +static void add_printer(cupsd_client_t *con, ipp_attribute_t *uri); +static void add_printer_state_reasons(cupsd_client_t *con, + cupsd_printer_t *p); +static void add_queued_job_count(cupsd_client_t *con, cupsd_printer_t *p); +static void apply_printer_defaults(cupsd_printer_t *printer, + cupsd_job_t *job); +static void authenticate_job(cupsd_client_t *con, ipp_attribute_t *uri); +static void cancel_all_jobs(cupsd_client_t *con, ipp_attribute_t *uri); +static void cancel_job(cupsd_client_t *con, ipp_attribute_t *uri); +static void cancel_subscription(cupsd_client_t *con, int id); +static int check_rss_recipient(const char *recipient); +static int check_quotas(cupsd_client_t *con, cupsd_printer_t *p); +static void close_job(cupsd_client_t *con, ipp_attribute_t *uri); +static void copy_attrs(ipp_t *to, ipp_t *from, cups_array_t *ra, + ipp_tag_t group, int quickcopy, + cups_array_t *exclude); +static int copy_banner(cupsd_client_t *con, cupsd_job_t *job, + const char *name); +static int copy_file(const char *from, const char *to, mode_t mode); +static int copy_model(cupsd_client_t *con, const char *from, + const char *to); +static void copy_job_attrs(cupsd_client_t *con, + cupsd_job_t *job, + cups_array_t *ra, cups_array_t *exclude); +static void copy_printer_attrs(cupsd_client_t *con, + cupsd_printer_t *printer, + cups_array_t *ra); +static void copy_subscription_attrs(cupsd_client_t *con, + cupsd_subscription_t *sub, + cups_array_t *ra, + cups_array_t *exclude); +static void create_job(cupsd_client_t *con, ipp_attribute_t *uri); +static void create_local_printer(cupsd_client_t *con); +static cups_array_t *create_requested_array(ipp_t *request); +static void create_subscriptions(cupsd_client_t *con, ipp_attribute_t *uri); +static void delete_printer(cupsd_client_t *con, ipp_attribute_t *uri); +static void get_default(cupsd_client_t *con); +static void get_devices(cupsd_client_t *con); +static void get_document(cupsd_client_t *con, ipp_attribute_t *uri); +static void get_jobs(cupsd_client_t *con, ipp_attribute_t *uri); +static void get_job_attrs(cupsd_client_t *con, ipp_attribute_t *uri); +static void get_notifications(cupsd_client_t *con); +static void get_ppd(cupsd_client_t *con, ipp_attribute_t *uri); +static void get_ppds(cupsd_client_t *con); +static void get_printers(cupsd_client_t *con, int type); +static void get_printer_attrs(cupsd_client_t *con, ipp_attribute_t *uri); +static void get_printer_supported(cupsd_client_t *con, ipp_attribute_t *uri); +static void get_subscription_attrs(cupsd_client_t *con, int sub_id); +static void get_subscriptions(cupsd_client_t *con, ipp_attribute_t *uri); +static const char *get_username(cupsd_client_t *con); +static void hold_job(cupsd_client_t *con, ipp_attribute_t *uri); +static void hold_new_jobs(cupsd_client_t *con, ipp_attribute_t *uri); +static void move_job(cupsd_client_t *con, ipp_attribute_t *uri); +static int ppd_parse_line(const char *line, char *option, int olen, + char *choice, int clen); +static void print_job(cupsd_client_t *con, ipp_attribute_t *uri); +static void read_job_ticket(cupsd_client_t *con); +static void reject_jobs(cupsd_client_t *con, ipp_attribute_t *uri); +static void release_held_new_jobs(cupsd_client_t *con, + ipp_attribute_t *uri); +static void release_job(cupsd_client_t *con, ipp_attribute_t *uri); +static void renew_subscription(cupsd_client_t *con, int sub_id); +static void restart_job(cupsd_client_t *con, ipp_attribute_t *uri); +static void save_auth_info(cupsd_client_t *con, cupsd_job_t *job, + ipp_attribute_t *auth_info); +static void send_document(cupsd_client_t *con, ipp_attribute_t *uri); +static void send_http_error(cupsd_client_t *con, http_status_t status, + cupsd_printer_t *printer); +static void send_ipp_status(cupsd_client_t *con, ipp_status_t status, const char *message, ...) _CUPS_FORMAT(3, 4); +static void set_default(cupsd_client_t *con, ipp_attribute_t *uri); +static void set_job_attrs(cupsd_client_t *con, ipp_attribute_t *uri); +static void set_printer_attrs(cupsd_client_t *con, ipp_attribute_t *uri); +static int set_printer_defaults(cupsd_client_t *con, cupsd_printer_t *printer); +static void start_printer(cupsd_client_t *con, ipp_attribute_t *uri); +static void stop_printer(cupsd_client_t *con, ipp_attribute_t *uri); +static void url_encode_attr(ipp_attribute_t *attr, char *buffer, size_t bufsize); +static char *url_encode_string(const char *s, char *buffer, size_t bufsize); +static int user_allowed(cupsd_printer_t *p, const char *username); +static void validate_job(cupsd_client_t *con, ipp_attribute_t *uri); +static int validate_name(const char *name); +static int validate_user(cupsd_job_t *job, cupsd_client_t *con, const char *owner, char *username, size_t userlen); + + +/* + * 'cupsdProcessIPPRequest()' - Process an incoming IPP request. + */ + +int /* O - 1 on success, 0 on failure */ +cupsdProcessIPPRequest( + cupsd_client_t *con) /* I - Client connection */ +{ + ipp_tag_t group; /* Current group tag */ + ipp_attribute_t *attr; /* Current attribute */ + ipp_attribute_t *charset; /* Character set attribute */ + ipp_attribute_t *language; /* Language attribute */ + ipp_attribute_t *uri = NULL; /* Printer or job URI attribute */ + ipp_attribute_t *username; /* requesting-user-name attr */ + int sub_id; /* Subscription ID */ + int valid = 1; /* Valid request? */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdProcessIPPRequest(%p[%d]): operation_id=%04x(%s)", con, con->number, con->request->request.op.operation_id, ippOpString(con->request->request.op.operation_id)); + + if (LogLevel >= CUPSD_LOG_DEBUG2) + { + for (group = IPP_TAG_ZERO, attr = ippFirstAttribute(con->request); attr; attr = ippNextAttribute(con->request)) + { + const char *name; /* Attribute name */ + char value[1024]; /* Attribute value */ + + if (group != ippGetGroupTag(attr)) + { + group = ippGetGroupTag(attr); + if (group != IPP_TAG_ZERO) + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdProcessIPPRequest: %s", ippTagString(group)); + } + + if ((name = ippGetName(attr)) == NULL) + continue; + + ippAttributeString(attr, value, sizeof(value)); + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdProcessIPPRequest: %s %s%s '%s'", name, ippGetCount(attr) > 1 ? "1setOf " : "", ippTagString(ippGetValueTag(attr)), value); + } + } + + /* + * First build an empty response message for this request... + */ + + con->response = ippNew(); + + con->response->request.status.version[0] = con->request->request.op.version[0]; + con->response->request.status.version[1] = con->request->request.op.version[1]; + con->response->request.status.request_id = con->request->request.op.request_id; + + /* + * Then validate the request header and required attributes... + */ + + if (con->request->request.any.version[0] != 1 && con->request->request.any.version[0] != 2) + { + /* + * Return an error, since we only support IPP 1.x and 2.x. + */ + + cupsdAddEvent(CUPSD_EVENT_SERVER_AUDIT, NULL, NULL, "%04X %s Bad request version number %d.%d.", IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED, con->http->hostname, con->request->request.any.version[0], con->request->request.any.version[1]); + + send_ipp_status(con, IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED, _("Bad request version number %d.%d."), con->request->request.any.version[0], con->request->request.any.version[1]); + } + else if (con->request->request.any.request_id < 1) + { + /* + * Return an error, since request IDs must be between 1 and 2^31-1 + */ + + cupsdAddEvent(CUPSD_EVENT_SERVER_AUDIT, NULL, NULL, "%04X %s Bad request ID %d.", IPP_STATUS_ERROR_BAD_REQUEST, con->http->hostname, con->request->request.any.request_id); + + send_ipp_status(con, IPP_STATUS_ERROR_BAD_REQUEST, _("Bad request ID %d."), con->request->request.any.request_id); + } + else if (!con->request->attrs) + { + cupsdAddEvent(CUPSD_EVENT_SERVER_AUDIT, NULL, NULL, "%04X %s No attributes in request.", IPP_STATUS_ERROR_BAD_REQUEST, con->http->hostname); + + send_ipp_status(con, IPP_STATUS_ERROR_BAD_REQUEST, _("No attributes in request.")); + } + else + { + /* + * Make sure that the attributes are provided in the correct order and + * don't repeat groups... + */ + + for (attr = con->request->attrs, group = attr->group_tag; + attr; + attr = attr->next) + if (attr->group_tag < group && attr->group_tag != IPP_TAG_ZERO) + { + /* + * Out of order; return an error... + */ + + cupsdAddEvent(CUPSD_EVENT_SERVER_AUDIT, NULL, NULL, "%04X %s Attribute groups are out of order", IPP_STATUS_ERROR_BAD_REQUEST, con->http->hostname); + + send_ipp_status(con, IPP_STATUS_ERROR_BAD_REQUEST, _("Attribute groups are out of order (%x < %x)."), attr->group_tag, group); + break; + } + else + group = attr->group_tag; + + if (!attr) + { + /* + * Then make sure that the first three attributes are: + * + * attributes-charset + * attributes-natural-language + * printer-uri/job-uri + */ + + attr = con->request->attrs; + if (attr && attr->name && !strcmp(attr->name, "attributes-charset") && (attr->value_tag & IPP_TAG_MASK) == IPP_TAG_CHARSET && attr->group_tag == IPP_TAG_OPERATION) + charset = attr; + else + charset = NULL; + + if (attr) + attr = attr->next; + + if (attr && attr->name && !strcmp(attr->name, "attributes-natural-language") && (attr->value_tag & IPP_TAG_MASK) == IPP_TAG_LANGUAGE && attr->group_tag == IPP_TAG_OPERATION) + { + language = attr; + + /* + * Reset language for this request if different from Accept-Language. + */ + + if (!con->language || + strcmp(attr->values[0].string.text, con->language->language)) + { + cupsLangFree(con->language); + con->language = cupsLangGet(attr->values[0].string.text); + } + } + else + language = NULL; + + if ((attr = ippFindAttribute(con->request, "printer-uri", IPP_TAG_URI)) != NULL && attr->group_tag == IPP_TAG_OPERATION) + uri = attr; + else if ((attr = ippFindAttribute(con->request, "job-uri", IPP_TAG_URI)) != NULL && attr->group_tag == IPP_TAG_OPERATION) + uri = attr; + else if (con->request->request.op.operation_id == CUPS_GET_PPD && (attr = ippFindAttribute(con->request, "ppd-name", IPP_TAG_NAME)) != NULL && attr->group_tag == IPP_TAG_OPERATION) + uri = attr; + else + uri = NULL; + + if (charset) + ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_CHARSET, "attributes-charset", NULL, charset->values[0].string.text); + else + ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_CHARSET, "attributes-charset", NULL, "utf-8"); + + if (language) + ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, "attributes-natural-language", NULL, language->values[0].string.text); + else + ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, "attributes-natural-language", NULL, DefaultLanguage); + + if (charset && _cups_strcasecmp(charset->values[0].string.text, "us-ascii") && _cups_strcasecmp(charset->values[0].string.text, "utf-8")) + { + /* + * Bad character set... + */ + + cupsdLogMessage(CUPSD_LOG_ERROR, "Unsupported character set \"%s\"", + charset->values[0].string.text); + cupsdAddEvent(CUPSD_EVENT_SERVER_AUDIT, NULL, NULL, "%04X %s Unsupported attributes-charset value \"%s\".", IPP_STATUS_ERROR_CHARSET, con->http->hostname, charset->values[0].string.text); + send_ipp_status(con, IPP_STATUS_ERROR_CHARSET, _("Unsupported character set \"%s\"."), charset->values[0].string.text); + } + else if (!charset || !language || + (!uri && + con->request->request.op.operation_id != CUPS_GET_DEFAULT && + con->request->request.op.operation_id != CUPS_GET_PRINTERS && + con->request->request.op.operation_id != CUPS_GET_CLASSES && + con->request->request.op.operation_id != CUPS_GET_DEVICES && + con->request->request.op.operation_id != CUPS_GET_PPDS)) + { + /* + * Return an error, since attributes-charset, + * attributes-natural-language, and printer-uri/job-uri are required + * for all operations. + */ + + if (!charset) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Missing attributes-charset attribute."); + + cupsdAddEvent(CUPSD_EVENT_SERVER_AUDIT, NULL, NULL, "%04X %s Missing attributes-charset attribute.", IPP_STATUS_ERROR_BAD_REQUEST, con->http->hostname); + } + + if (!language) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Missing attributes-natural-language attribute."); + + cupsdAddEvent(CUPSD_EVENT_SERVER_AUDIT, NULL, NULL, "%04X %s Missing attributes-natural-language attribute.", IPP_STATUS_ERROR_BAD_REQUEST, con->http->hostname); + } + + if (!uri) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Missing printer-uri, job-uri, or ppd-name attribute."); + + cupsdAddEvent(CUPSD_EVENT_SERVER_AUDIT, NULL, NULL, "%04X %s Missing printer-uri, job-uri, or ppd-name attribute.", IPP_STATUS_ERROR_BAD_REQUEST, con->http->hostname); + } + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Request attributes follow..."); + + for (attr = con->request->attrs; attr; attr = attr->next) + cupsdLogMessage(CUPSD_LOG_DEBUG, + "attr \"%s\": group_tag = %x, value_tag = %x", + attr->name ? attr->name : "(null)", attr->group_tag, + attr->value_tag); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "End of attributes..."); + + send_ipp_status(con, IPP_BAD_REQUEST, + _("Missing required attributes.")); + } + else + { + /* + * OK, all the checks pass so far; validate "requesting-user-name" + * attribute value... + */ + + if ((username = ippFindAttribute(con->request, "requesting-user-name", IPP_TAG_ZERO)) != NULL) + { + /* + * Validate "requesting-user-name"... + */ + + if (username->group_tag != IPP_TAG_OPERATION && StrictConformance) + { + cupsdAddEvent(CUPSD_EVENT_SERVER_AUDIT, NULL, NULL, "%04X %s \"requesting-user-name\" attribute in wrong group.", IPP_STATUS_ERROR_BAD_REQUEST, con->http->hostname); + send_ipp_status(con, IPP_STATUS_ERROR_BAD_REQUEST, _("\"requesting-user-name\" attribute in wrong group.")); + valid = 0; + } + else if (username->value_tag != IPP_TAG_NAME && username->value_tag != IPP_TAG_NAMELANG) + { + cupsdAddEvent(CUPSD_EVENT_SERVER_AUDIT, NULL, NULL, "%04X %s \"requesting-user-name\" attribute with wrong syntax.", IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, con->http->hostname); + send_ipp_status(con, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, _("\"requesting-user-name\" attribute with wrong syntax.")); + if ((attr = ippCopyAttribute(con->response, username, 0)) != NULL) + attr->group_tag = IPP_TAG_UNSUPPORTED_GROUP; + valid = 0; + } + else if (!ippValidateAttribute(username)) + { + cupsdAddEvent(CUPSD_EVENT_SERVER_AUDIT, NULL, NULL, "%04X %s \"requesting-user-name\" attribute with bad value.", IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, con->http->hostname); + + if (StrictConformance) + { + /* + * Throw an error... + */ + + send_ipp_status(con, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, _("\"requesting-user-name\" attribute with wrong syntax.")); + if ((attr = ippCopyAttribute(con->response, username, 0)) != NULL) + attr->group_tag = IPP_TAG_UNSUPPORTED_GROUP; + valid = 0; + } + else + { + /* + * Map bad "requesting-user-name" to 'anonymous'... + */ + + ippSetString(con->request, &username, 0, "anonymous"); + } + } + else if (!strcmp(username->values[0].string.text, "root") && _cups_strcasecmp(con->http->hostname, "localhost") && strcmp(con->username, "root")) + { + /* + * Remote unauthenticated user masquerading as local root... + */ + + ippSetString(con->request, &username, 0, RemoteRoot); + } + } + + if ((attr = ippFindAttribute(con->request, "notify-subscription-id", IPP_TAG_INTEGER)) != NULL) + sub_id = attr->values[0].integer; + else + sub_id = 0; + + if (valid) + { + /* + * Try processing the operation... + */ + + if (uri) + cupsdLogMessage(CUPSD_LOG_DEBUG, "%s %s", ippOpString(con->request->request.op.operation_id), uri->values[0].string.text); + else + cupsdLogMessage(CUPSD_LOG_DEBUG, "%s", ippOpString(con->request->request.op.operation_id)); + + switch (con->request->request.op.operation_id) + { + case IPP_OP_PRINT_JOB : + print_job(con, uri); + break; + + case IPP_OP_VALIDATE_JOB : + validate_job(con, uri); + break; + + case IPP_OP_CREATE_JOB : + create_job(con, uri); + break; + + case IPP_OP_SEND_DOCUMENT : + send_document(con, uri); + break; + + case IPP_OP_CANCEL_JOB : + cancel_job(con, uri); + break; + + case IPP_OP_GET_JOB_ATTRIBUTES : + get_job_attrs(con, uri); + break; + + case IPP_OP_GET_JOBS : + get_jobs(con, uri); + break; + + case IPP_OP_GET_PRINTER_ATTRIBUTES : + get_printer_attrs(con, uri); + break; + + case IPP_OP_GET_PRINTER_SUPPORTED_VALUES : + get_printer_supported(con, uri); + break; + + case IPP_OP_HOLD_JOB : + hold_job(con, uri); + break; + + case IPP_OP_RELEASE_JOB : + release_job(con, uri); + break; + + case IPP_OP_RESTART_JOB : + restart_job(con, uri); + break; + + case IPP_OP_PAUSE_PRINTER : + stop_printer(con, uri); + break; + + case IPP_OP_RESUME_PRINTER : + start_printer(con, uri); + break; + + case IPP_OP_PURGE_JOBS : + case IPP_OP_CANCEL_JOBS : + case IPP_OP_CANCEL_MY_JOBS : + cancel_all_jobs(con, uri); + break; + + case IPP_OP_SET_JOB_ATTRIBUTES : + set_job_attrs(con, uri); + break; + + case IPP_OP_SET_PRINTER_ATTRIBUTES : + set_printer_attrs(con, uri); + break; + + case IPP_OP_HOLD_NEW_JOBS : + hold_new_jobs(con, uri); + break; + + case IPP_OP_RELEASE_HELD_NEW_JOBS : + release_held_new_jobs(con, uri); + break; + + case IPP_OP_CLOSE_JOB : + close_job(con, uri); + break; + + case IPP_OP_CUPS_GET_DEFAULT : + get_default(con); + break; + + case IPP_OP_CUPS_GET_PRINTERS : + get_printers(con, 0); + break; + + case IPP_OP_CUPS_GET_CLASSES : + get_printers(con, CUPS_PRINTER_CLASS); + break; + + case IPP_OP_CUPS_ADD_MODIFY_PRINTER : + add_printer(con, uri); + break; + + case IPP_OP_CUPS_DELETE_PRINTER : + delete_printer(con, uri); + break; + + case IPP_OP_CUPS_ADD_MODIFY_CLASS : + add_class(con, uri); + break; + + case IPP_OP_CUPS_DELETE_CLASS : + delete_printer(con, uri); + break; + + case IPP_OP_CUPS_ACCEPT_JOBS : + case IPP_OP_ENABLE_PRINTER : + accept_jobs(con, uri); + break; + + case IPP_OP_CUPS_REJECT_JOBS : + case IPP_OP_DISABLE_PRINTER : + reject_jobs(con, uri); + break; + + case IPP_OP_CUPS_SET_DEFAULT : + set_default(con, uri); + break; + + case IPP_OP_CUPS_GET_DEVICES : + get_devices(con); + break; + + case IPP_OP_CUPS_GET_DOCUMENT : + get_document(con, uri); + break; + + case IPP_OP_CUPS_GET_PPD : + get_ppd(con, uri); + break; + + case IPP_OP_CUPS_GET_PPDS : + get_ppds(con); + break; + + case IPP_OP_CUPS_MOVE_JOB : + move_job(con, uri); + break; + + case IPP_OP_CUPS_AUTHENTICATE_JOB : + authenticate_job(con, uri); + break; + + case IPP_OP_CREATE_PRINTER_SUBSCRIPTIONS : + case IPP_OP_CREATE_JOB_SUBSCRIPTIONS : + create_subscriptions(con, uri); + break; + + case IPP_OP_GET_SUBSCRIPTION_ATTRIBUTES : + get_subscription_attrs(con, sub_id); + break; + + case IPP_OP_GET_SUBSCRIPTIONS : + get_subscriptions(con, uri); + break; + + case IPP_OP_RENEW_SUBSCRIPTION : + renew_subscription(con, sub_id); + break; + + case IPP_OP_CANCEL_SUBSCRIPTION : + cancel_subscription(con, sub_id); + break; + + case IPP_OP_GET_NOTIFICATIONS : + get_notifications(con); + break; + + case IPP_OP_CUPS_CREATE_LOCAL_PRINTER : + create_local_printer(con); + break; + + default : + cupsdAddEvent(CUPSD_EVENT_SERVER_AUDIT, NULL, NULL, "%04X %s Operation %04X (%s) not supported.", IPP_STATUS_ERROR_OPERATION_NOT_SUPPORTED, con->http->hostname, con->request->request.op.operation_id, ippOpString(con->request->request.op.operation_id)); + + send_ipp_status(con, IPP_STATUS_ERROR_OPERATION_NOT_SUPPORTED, _("%s not supported."), ippOpString(con->request->request.op.operation_id)); + break; + } + } + } + } + } + + if (con->response) + { + /* + * Sending data from the scheduler... + */ + + cupsdLogClient(con, con->response->request.status.status_code >= IPP_STATUS_ERROR_BAD_REQUEST && con->response->request.status.status_code != IPP_STATUS_ERROR_NOT_FOUND ? CUPSD_LOG_ERROR : CUPSD_LOG_DEBUG, "Returning IPP %s for %s (%s) from %s.", ippErrorString(con->response->request.status.status_code), ippOpString(con->request->request.op.operation_id), uri ? uri->values[0].string.text : "no URI", con->http->hostname); + + httpClearFields(con->http); + +#ifdef CUPSD_USE_CHUNKING + /* + * Because older versions of CUPS (1.1.17 and older) and some IPP + * clients do not implement chunking properly, we cannot use + * chunking by default. This may become the default in future + * CUPS releases, or we might add a configuration directive for + * it. + */ + + if (con->http->version == HTTP_1_1) + { + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Transfer-Encoding: chunked"); + cupsdSetLength(con->http, 0); + } + else +#endif /* CUPSD_USE_CHUNKING */ + { + size_t length; /* Length of response */ + + + length = ippLength(con->response); + + if (con->file >= 0 && !con->pipe_pid) + { + struct stat fileinfo; /* File information */ + + if (!fstat(con->file, &fileinfo)) + length += (size_t)fileinfo.st_size; + } + + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Content-Length: " CUPS_LLFMT, CUPS_LLCAST length); + httpSetLength(con->http, length); + } + + if (cupsdSendHeader(con, HTTP_OK, "application/ipp", CUPSD_AUTH_NONE)) + { + /* + * Tell the caller the response header was sent successfully... + */ + + cupsdAddSelect(httpGetFd(con->http), (cupsd_selfunc_t)cupsdReadClient, (cupsd_selfunc_t)cupsdWriteClient, con); + + return (1); + } + else + { + /* + * Tell the caller the response header could not be sent... + */ + + return (0); + } + } + else + { + /* + * Sending data from a subprocess like cups-deviced; tell the caller + * everything is A-OK so far... + */ + + return (1); + } +} + + +/* + * 'cupsdTimeoutJob()' - Timeout a job waiting on job files. + */ + +int /* O - 0 on success, -1 on error */ +cupsdTimeoutJob(cupsd_job_t *job) /* I - Job to timeout */ +{ + cupsd_printer_t *printer; /* Destination printer or class */ + ipp_attribute_t *attr; /* job-sheets attribute */ + int kbytes; /* Kilobytes in banner */ + + + job->pending_timeout = 0; + + /* + * See if we need to add the ending sheet... + */ + + if (!cupsdLoadJob(job)) + return (-1); + + printer = cupsdFindDest(job->dest); + attr = ippFindAttribute(job->attrs, "job-sheets", IPP_TAG_NAME); + + if (printer && !(printer->type & CUPS_PRINTER_REMOTE) && + attr && attr->num_values > 1) + { + /* + * Yes... + */ + + cupsdLogJob(job, CUPSD_LOG_INFO, "Adding end banner page \"%s\".", + attr->values[1].string.text); + + if ((kbytes = copy_banner(NULL, job, attr->values[1].string.text)) < 0) + return (-1); + + cupsdUpdateQuota(printer, job->username, 0, kbytes); + } + + return (0); +} + + +/* + * 'accept_jobs()' - Accept print jobs to a printer. + */ + +static void +accept_jobs(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer or class URI */ +{ + http_status_t status; /* Policy status */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cupsd_printer_t *printer; /* Printer data */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "accept_jobs(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + + /* + * Accept jobs sent to the printer... + */ + + printer->accepting = 1; + printer->state_message[0] = '\0'; + + cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, printer, NULL, + "Now accepting jobs."); + + if (dtype & CUPS_PRINTER_CLASS) + { + cupsdMarkDirty(CUPSD_DIRTY_CLASSES); + + cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" now accepting jobs (\"%s\").", + printer->name, get_username(con)); + } + else + { + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + + cupsdLogMessage(CUPSD_LOG_INFO, + "Printer \"%s\" now accepting jobs (\"%s\").", + printer->name, get_username(con)); + } + + /* + * Everything was ok, so return OK status... + */ + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'add_class()' - Add a class to the system. + */ + +static void +add_class(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - URI of class */ +{ + http_status_t status; /* Policy status */ + int i; /* Looping var */ + char scheme[HTTP_MAX_URI], /* Method portion of URI */ + username[HTTP_MAX_URI], /* Username portion of URI */ + host[HTTP_MAX_URI], /* Host portion of URI */ + resource[HTTP_MAX_URI]; /* Resource portion of URI */ + int port; /* Port portion of URI */ + cupsd_printer_t *pclass, /* Class */ + *member; /* Member printer/class */ + cups_ptype_t dtype; /* Destination type */ + ipp_attribute_t *attr; /* Printer attribute */ + int modify; /* Non-zero if we just modified */ + int need_restart_job; /* Need to restart job? */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "add_class(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Do we have a valid URI? + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + + if (strncmp(resource, "/classes/", 9) || strlen(resource) == 9) + { + /* + * No, return an error... + */ + + send_ipp_status(con, IPP_BAD_REQUEST, + _("The printer-uri must be of the form " + "\"ipp://HOSTNAME/classes/CLASSNAME\".")); + return; + } + + /* + * Do we have a valid printer name? + */ + + if (!validate_name(resource + 9)) + { + /* + * No, return an error... + */ + + send_ipp_status(con, IPP_BAD_REQUEST, + _("The printer-uri \"%s\" contains invalid characters."), + uri->values[0].string.text); + return; + } + + /* + * See if the class already exists; if not, create a new class... + */ + + if ((pclass = cupsdFindClass(resource + 9)) == NULL) + { + /* + * Class doesn't exist; see if we have a printer of the same name... + */ + + if ((pclass = cupsdFindPrinter(resource + 9)) != NULL) + { + /* + * Yes, return an error... + */ + + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("A printer named \"%s\" already exists."), + resource + 9); + return; + } + + /* + * No, check the default policy and then add the class... + */ + + if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + pclass = cupsdAddClass(resource + 9); + modify = 0; + + pclass->printer_id = NextPrinterId ++; + } + else if ((status = cupsdCheckPolicy(pclass->op_policy_ptr, con, + NULL)) != HTTP_OK) + { + send_http_error(con, status, pclass); + return; + } + else + modify = 1; + + /* + * Look for attributes and copy them over as needed... + */ + + need_restart_job = 0; + + if ((attr = ippFindAttribute(con->request, "printer-location", IPP_TAG_TEXT)) != NULL) + cupsdSetString(&pclass->location, attr->values[0].string.text); + + if ((attr = ippFindAttribute(con->request, "printer-geo-location", IPP_TAG_URI)) != NULL && !strncmp(attr->values[0].string.text, "geo:", 4)) + cupsdSetString(&pclass->geo_location, attr->values[0].string.text); + + if ((attr = ippFindAttribute(con->request, "printer-organization", IPP_TAG_TEXT)) != NULL) + cupsdSetString(&pclass->organization, attr->values[0].string.text); + + if ((attr = ippFindAttribute(con->request, "printer-organizational-unit", IPP_TAG_TEXT)) != NULL) + cupsdSetString(&pclass->organizational_unit, attr->values[0].string.text); + + if ((attr = ippFindAttribute(con->request, "printer-info", + IPP_TAG_TEXT)) != NULL) + cupsdSetString(&pclass->info, attr->values[0].string.text); + + if ((attr = ippFindAttribute(con->request, "printer-is-accepting-jobs", + IPP_TAG_BOOLEAN)) != NULL && + attr->values[0].boolean != pclass->accepting) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "Setting %s printer-is-accepting-jobs to %d (was %d.)", + pclass->name, attr->values[0].boolean, pclass->accepting); + + pclass->accepting = attr->values[0].boolean; + + cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, pclass, NULL, "%s accepting jobs.", + pclass->accepting ? "Now" : "No longer"); + } + + if ((attr = ippFindAttribute(con->request, "printer-is-shared", IPP_TAG_BOOLEAN)) != NULL) + { + if (pclass->type & CUPS_PRINTER_REMOTE) + { + /* + * Cannot re-share remote printers. + */ + + send_ipp_status(con, IPP_BAD_REQUEST, _("Cannot change printer-is-shared for remote queues.")); + if (!modify) + cupsdDeletePrinter(pclass, 0); + + return; + } + + if (pclass->shared && !ippGetBoolean(attr, 0)) + cupsdDeregisterPrinter(pclass, 1); + + cupsdLogMessage(CUPSD_LOG_INFO, + "Setting %s printer-is-shared to %d (was %d.)", + pclass->name, attr->values[0].boolean, pclass->shared); + + pclass->shared = ippGetBoolean(attr, 0); + } + + if ((attr = ippFindAttribute(con->request, "printer-state", + IPP_TAG_ENUM)) != NULL) + { + if (attr->values[0].integer != IPP_PRINTER_IDLE && + attr->values[0].integer != IPP_PRINTER_STOPPED) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Attempt to set %s printer-state to bad value %d."), + pclass->name, attr->values[0].integer); + if (!modify) + cupsdDeletePrinter(pclass, 0); + + return; + } + + cupsdLogMessage(CUPSD_LOG_INFO, "Setting %s printer-state to %d (was %d.)", + pclass->name, attr->values[0].integer, pclass->state); + + if (attr->values[0].integer == IPP_PRINTER_STOPPED) + cupsdStopPrinter(pclass, 0); + else + { + cupsdSetPrinterState(pclass, (ipp_pstate_t)(attr->values[0].integer), 0); + need_restart_job = 1; + } + } + if ((attr = ippFindAttribute(con->request, "printer-state-message", + IPP_TAG_TEXT)) != NULL) + { + strlcpy(pclass->state_message, attr->values[0].string.text, + sizeof(pclass->state_message)); + + cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, pclass, NULL, "%s", + pclass->state_message); + } + if ((attr = ippFindAttribute(con->request, "member-uris", + IPP_TAG_URI)) != NULL) + { + /* + * Clear the printer array as needed... + */ + + need_restart_job = 1; + + if (pclass->num_printers > 0) + { + free(pclass->printers); + pclass->num_printers = 0; + } + + /* + * Add each printer or class that is listed... + */ + + for (i = 0; i < attr->num_values; i ++) + { + /* + * Search for the printer or class URI... + */ + + if (!cupsdValidateDest(attr->values[i].string.text, &dtype, &member)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + if (!modify) + cupsdDeletePrinter(pclass, 0); + + return; + } + else if (dtype & CUPS_PRINTER_CLASS) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Nested classes are not allowed.")); + if (!modify) + cupsdDeletePrinter(pclass, 0); + + return; + } + + /* + * Add it to the class... + */ + + cupsdAddPrinterToClass(pclass, member); + } + } + + if (!set_printer_defaults(con, pclass)) + { + if (!modify) + cupsdDeletePrinter(pclass, 0); + + return; + } + + if ((attr = ippFindAttribute(con->request, "auth-info-required", + IPP_TAG_KEYWORD)) != NULL) + cupsdSetAuthInfoRequired(pclass, NULL, attr); + + pclass->config_time = time(NULL); + + /* + * Update the printer class attributes and return... + */ + + cupsdSetPrinterAttrs(pclass); + cupsdMarkDirty(CUPSD_DIRTY_CLASSES); + + if (need_restart_job && pclass->job) + { + /* + * Reset the current job to a "pending" status... + */ + + cupsdSetJobState(pclass->job, IPP_JOB_PENDING, CUPSD_JOB_FORCE, + "Job restarted because the class was modified."); + } + + cupsdMarkDirty(CUPSD_DIRTY_PRINTCAP); + + if (modify) + { + cupsdAddEvent(CUPSD_EVENT_PRINTER_MODIFIED, + pclass, NULL, "Class \"%s\" modified by \"%s\".", + pclass->name, get_username(con)); + + cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" modified by \"%s\".", + pclass->name, get_username(con)); + } + else + { + cupsdAddEvent(CUPSD_EVENT_PRINTER_ADDED, + pclass, NULL, "New class \"%s\" added by \"%s\".", + pclass->name, get_username(con)); + + cupsdLogMessage(CUPSD_LOG_INFO, "New class \"%s\" added by \"%s\".", + pclass->name, get_username(con)); + } + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'add_file()' - Add a file to a job. + */ + +static int /* O - 0 on success, -1 on error */ +add_file(cupsd_client_t *con, /* I - Connection to client */ + cupsd_job_t *job, /* I - Job to add to */ + mime_type_t *filetype, /* I - Type of file */ + int compression) /* I - Compression */ +{ + mime_type_t **filetypes; /* New filetypes array... */ + int *compressions; /* New compressions array... */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "add_file(con=%p[%d], job=%d, filetype=%s/%s, " + "compression=%d)", con, con ? con->number : -1, job->id, + filetype->super, filetype->type, compression); + + /* + * Add the file to the job... + */ + + if (job->num_files == 0) + { + compressions = (int *)malloc(sizeof(int)); + filetypes = (mime_type_t **)malloc(sizeof(mime_type_t *)); + } + else + { + compressions = (int *)realloc(job->compressions, + (size_t)(job->num_files + 1) * sizeof(int)); + filetypes = (mime_type_t **)realloc(job->filetypes, + (size_t)(job->num_files + 1) * + sizeof(mime_type_t *)); + } + + if (compressions) + job->compressions = compressions; + + if (filetypes) + job->filetypes = filetypes; + + if (!compressions || !filetypes) + { + cupsdSetJobState(job, IPP_JOB_ABORTED, CUPSD_JOB_PURGE, + "Job aborted because the scheduler ran out of memory."); + + if (con) + send_ipp_status(con, IPP_INTERNAL_ERROR, + _("Unable to allocate memory for file types.")); + + return (-1); + } + + job->compressions[job->num_files] = compression; + job->filetypes[job->num_files] = filetype; + + job->num_files ++; + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + + return (0); +} + + +/* + * 'add_job()' - Add a job to a print queue. + */ + +static cupsd_job_t * /* O - Job object */ +add_job(cupsd_client_t *con, /* I - Client connection */ + cupsd_printer_t *printer, /* I - Destination printer */ + mime_type_t *filetype) /* I - First print file type, if any */ +{ + http_status_t status; /* Policy status */ + ipp_attribute_t *attr, /* Current attribute */ + *auth_info; /* auth-info attribute */ + const char *mandatory; /* Current mandatory job attribute */ + const char *val; /* Default option value */ + int priority; /* Job priority */ + cupsd_job_t *job; /* Current job */ + char job_uri[HTTP_MAX_URI]; /* Job URI */ + int kbytes; /* Size of print file */ + int i; /* Looping var */ + int lowerpagerange; /* Page range bound */ + int exact; /* Did we have an exact match? */ + ipp_attribute_t *media_col, /* media-col attribute */ + *media_margin; /* media-*-margin attribute */ + ipp_t *unsup_col; /* media-col in unsupported response */ + static const char * const readonly[] =/* List of read-only attributes */ + { + "date-time-at-completed", + "date-time-at-creation", + "date-time-at-processing", + "job-detailed-status-messages", + "job-document-access-errors", + "job-id", + "job-impressions-completed", + "job-k-octets-completed", + "job-media-sheets-completed", + "job-pages-completed", + "job-printer-up-time", + "job-printer-uri", + "job-state", + "job-state-message", + "job-state-reasons", + "job-uri", + "number-of-documents", + "number-of-intervening-jobs", + "output-device-assigned", + "time-at-completed", + "time-at-creation", + "time-at-processing" + }; + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "add_job(%p[%d], %p(%s), %p(%s/%s))", + con, con->number, printer, printer->name, + filetype, filetype ? filetype->super : "none", + filetype ? filetype->type : "none"); + + /* + * Check remote printing to non-shared printer... + */ + + if (!printer->shared && + _cups_strcasecmp(con->http->hostname, "localhost") && + _cups_strcasecmp(con->http->hostname, ServerName)) + { + send_ipp_status(con, IPP_NOT_AUTHORIZED, + _("The printer or class is not shared.")); + return (NULL); + } + + /* + * Check policy... + */ + + auth_info = ippFindAttribute(con->request, "auth-info", IPP_TAG_TEXT); + + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return (NULL); + } + else if (printer->num_auth_info_required == 1 && + !strcmp(printer->auth_info_required[0], "negotiate") && + !con->username[0]) + { + send_http_error(con, HTTP_UNAUTHORIZED, printer); + return (NULL); + } +#ifdef HAVE_SSL + else if (auth_info && !con->http->tls && + !httpAddrLocalhost(con->http->hostaddr)) + { + /* + * Require encryption of auth-info over non-local connections... + */ + + send_http_error(con, HTTP_UPGRADE_REQUIRED, printer); + return (NULL); + } +#endif /* HAVE_SSL */ + + /* + * See if the printer is accepting jobs... + */ + + if (!printer->accepting) + { + send_ipp_status(con, IPP_NOT_ACCEPTING, + _("Destination \"%s\" is not accepting jobs."), + printer->name); + return (NULL); + } + + /* + * Validate job template attributes; for now just document-format, + * copies, job-sheets, number-up, page-ranges, mandatory attributes, and + * media... + */ + + for (i = 0; i < (int)(sizeof(readonly) / sizeof(readonly[0])); i ++) + { + if ((attr = ippFindAttribute(con->request, readonly[i], IPP_TAG_ZERO)) != NULL) + { + ippDeleteAttribute(con->request, attr); + + if (StrictConformance) + { + send_ipp_status(con, IPP_BAD_REQUEST, _("The '%s' Job Status attribute cannot be supplied in a job creation request."), readonly[i]); + return (NULL); + } + + cupsdLogMessage(CUPSD_LOG_INFO, "Unexpected '%s' Job Status attribute in a job creation request.", readonly[i]); + } + } + + if (printer->pc) + { + for (mandatory = (char *)cupsArrayFirst(printer->pc->mandatory); + mandatory; + mandatory = (char *)cupsArrayNext(printer->pc->mandatory)) + { + if (!ippFindAttribute(con->request, mandatory, IPP_TAG_ZERO)) + { + /* + * Missing a required attribute... + */ + + send_ipp_status(con, IPP_CONFLICT, + _("The \"%s\" attribute is required for print jobs."), + mandatory); + return (NULL); + } + } + } + + if (filetype && printer->filetypes && + !cupsArrayFind(printer->filetypes, filetype)) + { + char mimetype[MIME_MAX_SUPER + MIME_MAX_TYPE + 2]; + /* MIME media type string */ + + + snprintf(mimetype, sizeof(mimetype), "%s/%s", filetype->super, + filetype->type); + + send_ipp_status(con, IPP_DOCUMENT_FORMAT, + _("Unsupported format \"%s\"."), mimetype); + + ippAddString(con->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_MIMETYPE, + "document-format", NULL, mimetype); + + return (NULL); + } + + if ((attr = ippFindAttribute(con->request, "copies", + IPP_TAG_INTEGER)) != NULL) + { + if (attr->values[0].integer < 1 || attr->values[0].integer > MaxCopies) + { + send_ipp_status(con, IPP_ATTRIBUTES, _("Bad copies value %d."), + attr->values[0].integer); + ippAddInteger(con->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_INTEGER, + "copies", attr->values[0].integer); + return (NULL); + } + } + + if ((attr = ippFindAttribute(con->request, "job-sheets", + IPP_TAG_ZERO)) != NULL) + { + if (attr->value_tag != IPP_TAG_KEYWORD && + attr->value_tag != IPP_TAG_NAME) + { + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad job-sheets value type.")); + return (NULL); + } + + if (attr->num_values > 2) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Too many job-sheets values (%d > 2)."), + attr->num_values); + return (NULL); + } + + for (i = 0; i < attr->num_values; i ++) + if (strcmp(attr->values[i].string.text, "none") && + !cupsdFindBanner(attr->values[i].string.text)) + { + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad job-sheets value \"%s\"."), + attr->values[i].string.text); + return (NULL); + } + } + + if ((attr = ippFindAttribute(con->request, "number-up", + IPP_TAG_INTEGER)) != NULL) + { + if (attr->values[0].integer != 1 && + attr->values[0].integer != 2 && + attr->values[0].integer != 4 && + attr->values[0].integer != 6 && + attr->values[0].integer != 9 && + attr->values[0].integer != 16) + { + send_ipp_status(con, IPP_ATTRIBUTES, _("Bad number-up value %d."), + attr->values[0].integer); + ippAddInteger(con->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_INTEGER, + "number-up", attr->values[0].integer); + return (NULL); + } + } + + if ((attr = ippFindAttribute(con->request, "page-ranges", + IPP_TAG_RANGE)) != NULL) + { + for (i = 0, lowerpagerange = 1; i < attr->num_values; i ++) + { + if (attr->values[i].range.lower < lowerpagerange || + attr->values[i].range.lower > attr->values[i].range.upper) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Bad page-ranges values %d-%d."), + attr->values[i].range.lower, + attr->values[i].range.upper); + return (NULL); + } + + lowerpagerange = attr->values[i].range.upper + 1; + } + } + + /* + * Do media selection as needed... + */ + + if (!ippFindAttribute(con->request, "PageRegion", IPP_TAG_ZERO) && + !ippFindAttribute(con->request, "PageSize", IPP_TAG_ZERO) && + _ppdCacheGetPageSize(printer->pc, con->request, NULL, &exact)) + { + if (!exact && + (media_col = ippFindAttribute(con->request, "media-col", + IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + send_ipp_status(con, IPP_OK_SUBST, _("Unsupported margins.")); + + unsup_col = ippNew(); + if ((media_margin = ippFindAttribute(media_col->values[0].collection, + "media-bottom-margin", + IPP_TAG_INTEGER)) != NULL) + ippAddInteger(unsup_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, + "media-bottom-margin", media_margin->values[0].integer); + + if ((media_margin = ippFindAttribute(media_col->values[0].collection, + "media-left-margin", + IPP_TAG_INTEGER)) != NULL) + ippAddInteger(unsup_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, + "media-left-margin", media_margin->values[0].integer); + + if ((media_margin = ippFindAttribute(media_col->values[0].collection, + "media-right-margin", + IPP_TAG_INTEGER)) != NULL) + ippAddInteger(unsup_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, + "media-right-margin", media_margin->values[0].integer); + + if ((media_margin = ippFindAttribute(media_col->values[0].collection, + "media-top-margin", + IPP_TAG_INTEGER)) != NULL) + ippAddInteger(unsup_col, IPP_TAG_ZERO, IPP_TAG_INTEGER, + "media-top-margin", media_margin->values[0].integer); + + ippAddCollection(con->response, IPP_TAG_UNSUPPORTED_GROUP, "media-col", + unsup_col); + ippDelete(unsup_col); + } + } + + /* + * Make sure we aren't over our limit... + */ + + if (MaxJobs && cupsArrayCount(Jobs) >= MaxJobs) + cupsdCleanJobs(); + + if (MaxJobs && cupsArrayCount(Jobs) >= MaxJobs) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, _("Too many active jobs.")); + return (NULL); + } + + if ((i = check_quotas(con, printer)) < 0) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, _("Quota limit reached.")); + return (NULL); + } + else if (i == 0) + { + send_ipp_status(con, IPP_NOT_AUTHORIZED, _("Not allowed to print.")); + return (NULL); + } + + /* + * Create the job and set things up... + */ + + if ((attr = ippFindAttribute(con->request, "job-priority", + IPP_TAG_INTEGER)) != NULL) + priority = attr->values[0].integer; + else + { + if ((val = cupsGetOption("job-priority", printer->num_options, + printer->options)) != NULL) + priority = atoi(val); + else + priority = 50; + + ippAddInteger(con->request, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-priority", + priority); + } + + if ((attr = ippFindAttribute(con->request, "job-name", IPP_TAG_ZERO)) == NULL) + ippAddString(con->request, IPP_TAG_JOB, IPP_TAG_NAME, "job-name", NULL, "Untitled"); + else if ((attr->value_tag != IPP_TAG_NAME && + attr->value_tag != IPP_TAG_NAMELANG) || + attr->num_values != 1) + { + send_ipp_status(con, IPP_ATTRIBUTES, + _("Bad job-name value: Wrong type or count.")); + if ((attr = ippCopyAttribute(con->response, attr, 0)) != NULL) + attr->group_tag = IPP_TAG_UNSUPPORTED_GROUP; + + if (StrictConformance) + return (NULL); + + /* Don't use invalid attribute */ + ippDeleteAttribute(con->request, attr); + + ippAddString(con->request, IPP_TAG_JOB, IPP_TAG_NAME, "job-name", NULL, "Untitled"); + } + else if (!ippValidateAttribute(attr)) + { + send_ipp_status(con, IPP_ATTRIBUTES, _("Bad job-name value: %s"), + cupsLastErrorString()); + + if ((attr = ippCopyAttribute(con->response, attr, 0)) != NULL) + attr->group_tag = IPP_TAG_UNSUPPORTED_GROUP; + + if (StrictConformance) + return (NULL); + + /* Don't use invalid attribute */ + ippDeleteAttribute(con->request, attr); + + ippAddString(con->request, IPP_TAG_JOB, IPP_TAG_NAME, "job-name", NULL, "Untitled"); + } + + attr = ippFindAttribute(con->request, "requesting-user-name", IPP_TAG_NAME); + + if ((job = cupsdAddJob(priority, printer->name)) == NULL) + { + send_ipp_status(con, IPP_INTERNAL_ERROR, + _("Unable to add job for destination \"%s\"."), + printer->name); + return (NULL); + } + + job->dtype = printer->type & (CUPS_PRINTER_CLASS | CUPS_PRINTER_REMOTE); + job->attrs = con->request; + job->dirty = 1; + con->request = ippNewRequest(job->attrs->request.op.operation_id); + + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + + add_job_uuid(job); + apply_printer_defaults(printer, job); + + if (con->username[0]) + { + cupsdSetString(&job->username, con->username); + + if (attr) + ippSetString(job->attrs, &attr, 0, con->username); + } + else if (attr) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, + "add_job: requesting-user-name=\"%s\"", + attr->values[0].string.text); + + cupsdSetString(&job->username, attr->values[0].string.text); + } + else + cupsdSetString(&job->username, "anonymous"); + + if (!attr) + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_NAME, + "job-originating-user-name", NULL, job->username); + else + { + ippSetGroupTag(job->attrs, &attr, IPP_TAG_JOB); + ippSetName(job->attrs, &attr, "job-originating-user-name"); + } + + if (con->username[0] || auth_info) + { + save_auth_info(con, job, auth_info); + + /* + * Remove the auth-info attribute from the attribute data... + */ + + if (auth_info) + ippDeleteAttribute(job->attrs, auth_info); + } + + if ((attr = ippFindAttribute(con->request, "job-name", IPP_TAG_NAME)) != NULL) + cupsdSetString(&(job->name), attr->values[0].string.text); + + if ((attr = ippFindAttribute(job->attrs, "job-originating-host-name", + IPP_TAG_ZERO)) != NULL) + { + /* + * Request contains a job-originating-host-name attribute; validate it... + */ + + if (attr->value_tag != IPP_TAG_NAME || + attr->num_values != 1 || + strcmp(con->http->hostname, "localhost")) + { + /* + * Can't override the value if we aren't connected via localhost. + * Also, we can only have 1 value and it must be a name value. + */ + + ippDeleteAttribute(job->attrs, attr); + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_NAME, "job-originating-host-name", NULL, con->http->hostname); + } + else + ippSetGroupTag(job->attrs, &attr, IPP_TAG_JOB); + } + else + { + /* + * No job-originating-host-name attribute, so use the hostname from + * the connection... + */ + + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_NAME, + "job-originating-host-name", NULL, con->http->hostname); + } + + ippAddOutOfBand(job->attrs, IPP_TAG_JOB, IPP_TAG_NOVALUE, "date-time-at-completed"); + ippAddDate(job->attrs, IPP_TAG_JOB, "date-time-at-creation", ippTimeToDate(time(NULL))); + ippAddOutOfBand(job->attrs, IPP_TAG_JOB, IPP_TAG_NOVALUE, "date-time-at-processing"); + ippAddOutOfBand(job->attrs, IPP_TAG_JOB, IPP_TAG_NOVALUE, "time-at-completed"); + ippAddInteger(job->attrs, IPP_TAG_JOB, IPP_TAG_INTEGER, "time-at-creation", time(NULL)); + ippAddOutOfBand(job->attrs, IPP_TAG_JOB, IPP_TAG_NOVALUE, "time-at-processing"); + + /* + * Add remaining job attributes... + */ + + ippAddInteger(job->attrs, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-id", job->id); + job->state = ippAddInteger(job->attrs, IPP_TAG_JOB, IPP_TAG_ENUM, + "job-state", IPP_JOB_STOPPED); + job->state_value = (ipp_jstate_t)job->state->values[0].integer; + job->reasons = ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_KEYWORD, + "job-state-reasons", NULL, "job-incoming"); + job->impressions = ippAddInteger(job->attrs, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-impressions-completed", 0); + job->sheets = ippAddInteger(job->attrs, IPP_TAG_JOB, IPP_TAG_INTEGER, + "job-media-sheets-completed", 0); + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_URI, "job-printer-uri", NULL, + printer->uri); + + if ((attr = ippFindAttribute(job->attrs, "job-k-octets", IPP_TAG_INTEGER)) != NULL) + attr->values[0].integer = 0; + else + ippAddInteger(job->attrs, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-k-octets", 0); + + if ((attr = ippFindAttribute(job->attrs, "job-hold-until", + IPP_TAG_KEYWORD)) == NULL) + attr = ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_NAME); + if (!attr) + { + if ((val = cupsGetOption("job-hold-until", printer->num_options, + printer->options)) == NULL) + val = "no-hold"; + + attr = ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_KEYWORD, + "job-hold-until", NULL, val); + } + + if (printer->holding_new_jobs) + { + /* + * Hold all new jobs on this printer... + */ + + if (attr && strcmp(attr->values[0].string.text, "no-hold")) + cupsdSetJobHoldUntil(job, ippGetString(attr, 0, NULL), 0); + else + cupsdSetJobHoldUntil(job, "indefinite", 0); + + job->state->values[0].integer = IPP_JOB_HELD; + job->state_value = IPP_JOB_HELD; + + ippSetString(job->attrs, &job->reasons, 0, "job-held-on-create"); + } + else if (attr && strcmp(attr->values[0].string.text, "no-hold")) + { + /* + * Hold job until specified time... + */ + + cupsdSetJobHoldUntil(job, attr->values[0].string.text, 0); + + job->state->values[0].integer = IPP_JOB_HELD; + job->state_value = IPP_JOB_HELD; + + ippSetString(job->attrs, &job->reasons, 0, "job-hold-until-specified"); + } + else if (job->attrs->request.op.operation_id == IPP_CREATE_JOB) + { + job->hold_until = time(NULL) + MultipleOperationTimeout; + job->state->values[0].integer = IPP_JOB_HELD; + job->state_value = IPP_JOB_HELD; + } + else + { + job->state->values[0].integer = IPP_JOB_PENDING; + job->state_value = IPP_JOB_PENDING; + + ippSetString(job->attrs, &job->reasons, 0, "none"); + } + + if (!(printer->type & CUPS_PRINTER_REMOTE) || Classification) + { + /* + * Add job sheets options... + */ + + if ((attr = ippFindAttribute(job->attrs, "job-sheets", + IPP_TAG_ZERO)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Adding default job-sheets values \"%s,%s\"...", + printer->job_sheets[0], printer->job_sheets[1]); + + attr = ippAddStrings(job->attrs, IPP_TAG_JOB, IPP_TAG_NAME, "job-sheets", + 2, NULL, NULL); + ippSetString(job->attrs, &attr, 0, printer->job_sheets[0]); + ippSetString(job->attrs, &attr, 1, printer->job_sheets[1]); + } + + job->job_sheets = attr; + + /* + * Enforce classification level if set... + */ + + if (Classification) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "Classification=\"%s\", ClassifyOverride=%d", + Classification ? Classification : "(null)", + ClassifyOverride); + + if (ClassifyOverride) + { + if (!strcmp(attr->values[0].string.text, "none") && + (attr->num_values == 1 || + !strcmp(attr->values[1].string.text, "none"))) + { + /* + * Force the leading banner to have the classification on it... + */ + + ippSetString(job->attrs, &attr, 0, Classification); + + cupsdLogJob(job, CUPSD_LOG_NOTICE, "CLASSIFICATION FORCED " + "job-sheets=\"%s,none\", " + "job-originating-user-name=\"%s\"", + Classification, job->username); + } + else if (attr->num_values == 2 && + strcmp(attr->values[0].string.text, + attr->values[1].string.text) && + strcmp(attr->values[0].string.text, "none") && + strcmp(attr->values[1].string.text, "none")) + { + /* + * Can't put two different security markings on the same document! + */ + + ippSetString(job->attrs, &attr, 1, attr->values[0].string.text); + + cupsdLogJob(job, CUPSD_LOG_NOTICE, "CLASSIFICATION FORCED " + "job-sheets=\"%s,%s\", " + "job-originating-user-name=\"%s\"", + attr->values[0].string.text, + attr->values[1].string.text, job->username); + } + else if (strcmp(attr->values[0].string.text, Classification) && + strcmp(attr->values[0].string.text, "none") && + (attr->num_values == 1 || + (strcmp(attr->values[1].string.text, Classification) && + strcmp(attr->values[1].string.text, "none")))) + { + if (attr->num_values == 1) + cupsdLogJob(job, CUPSD_LOG_NOTICE, + "CLASSIFICATION OVERRIDDEN " + "job-sheets=\"%s\", " + "job-originating-user-name=\"%s\"", + attr->values[0].string.text, job->username); + else + cupsdLogJob(job, CUPSD_LOG_NOTICE, + "CLASSIFICATION OVERRIDDEN " + "job-sheets=\"%s,%s\",fffff " + "job-originating-user-name=\"%s\"", + attr->values[0].string.text, + attr->values[1].string.text, job->username); + } + } + else if (strcmp(attr->values[0].string.text, Classification) && + (attr->num_values == 1 || + strcmp(attr->values[1].string.text, Classification))) + { + /* + * Force the banner to have the classification on it... + */ + + if (attr->num_values > 1 && + !strcmp(attr->values[0].string.text, attr->values[1].string.text)) + { + ippSetString(job->attrs, &attr, 0, Classification); + ippSetString(job->attrs, &attr, 1, Classification); + } + else + { + if (attr->num_values == 1 || + strcmp(attr->values[0].string.text, "none")) + ippSetString(job->attrs, &attr, 0, Classification); + + if (attr->num_values > 1 && + strcmp(attr->values[1].string.text, "none")) + ippSetString(job->attrs, &attr, 1, Classification); + } + + if (attr->num_values > 1) + cupsdLogJob(job, CUPSD_LOG_NOTICE, + "CLASSIFICATION FORCED " + "job-sheets=\"%s,%s\", " + "job-originating-user-name=\"%s\"", + attr->values[0].string.text, + attr->values[1].string.text, job->username); + else + cupsdLogJob(job, CUPSD_LOG_NOTICE, + "CLASSIFICATION FORCED " + "job-sheets=\"%s\", " + "job-originating-user-name=\"%s\"", + Classification, job->username); + } + } + + /* + * See if we need to add the starting sheet... + */ + + if (!(printer->type & CUPS_PRINTER_REMOTE)) + { + cupsdLogJob(job, CUPSD_LOG_INFO, "Adding start banner page \"%s\".", + attr->values[0].string.text); + + if ((kbytes = copy_banner(con, job, attr->values[0].string.text)) < 0) + { + cupsdSetJobState(job, IPP_JOB_ABORTED, CUPSD_JOB_PURGE, + "Aborting job because the start banner could not be " + "copied."); + return (NULL); + } + + cupsdUpdateQuota(printer, job->username, 0, kbytes); + } + } + else if ((attr = ippFindAttribute(job->attrs, "job-sheets", + IPP_TAG_ZERO)) != NULL) + job->job_sheets = attr; + + /* + * Fill in the response info... + */ + + httpAssembleURIf(HTTP_URI_CODING_ALL, job_uri, sizeof(job_uri), "ipp", NULL, con->clientname, con->clientport, "/jobs/%d", job->id); + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_URI, "job-uri", NULL, job_uri); + + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-id", job->id); + + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_ENUM, "job-state", (int)job->state_value); + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_TEXT, "job-state-message", NULL, ""); + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_KEYWORD, "job-state-reasons", NULL, job->reasons->values[0].string.text); + + con->response->request.status.status_code = IPP_OK; + + /* + * Add any job subscriptions... + */ + + add_job_subscriptions(con, job); + + /* + * Set all but the first two attributes to the job attributes group... + */ + + for (attr = job->attrs->attrs->next->next; attr; attr = attr->next) + attr->group_tag = IPP_TAG_JOB; + + /* + * Fire the "job created" event... + */ + + cupsdAddEvent(CUPSD_EVENT_JOB_CREATED, printer, job, "Job created."); + + /* + * Return the new job... + */ + + return (job); +} + + +/* + * 'add_job_subscriptions()' - Add any subscriptions for a job. + */ + +static void +add_job_subscriptions( + cupsd_client_t *con, /* I - Client connection */ + cupsd_job_t *job) /* I - Newly created job */ +{ + int i; /* Looping var */ + ipp_attribute_t *prev, /* Previous attribute */ + *next, /* Next attribute */ + *attr; /* Current attribute */ + cupsd_subscription_t *sub; /* Subscription object */ + const char *recipient, /* notify-recipient-uri */ + *pullmethod; /* notify-pull-method */ + ipp_attribute_t *user_data; /* notify-user-data */ + int interval; /* notify-time-interval */ + unsigned mask; /* notify-events */ + + + /* + * Find the first subscription group attribute; return if we have + * none... + */ + + for (attr = job->attrs->attrs; attr; attr = attr->next) + if (attr->group_tag == IPP_TAG_SUBSCRIPTION) + break; + + if (!attr) + return; + + /* + * Process the subscription attributes in the request... + */ + + while (attr) + { + recipient = NULL; + pullmethod = NULL; + user_data = NULL; + interval = 0; + mask = CUPSD_EVENT_NONE; + + while (attr && attr->group_tag != IPP_TAG_ZERO) + { + if (!strcmp(attr->name, "notify-recipient-uri") && + attr->value_tag == IPP_TAG_URI) + { + /* + * Validate the recipient scheme against the ServerBin/notifier + * directory... + */ + + char notifier[1024], /* Notifier filename */ + scheme[HTTP_MAX_URI], /* Scheme portion of URI */ + userpass[HTTP_MAX_URI], /* Username portion of URI */ + host[HTTP_MAX_URI], /* Host portion of URI */ + resource[HTTP_MAX_URI]; /* Resource portion of URI */ + int port; /* Port portion of URI */ + struct stat info; /* File information */ + + recipient = attr->values[0].string.text; + + if (httpSeparateURI(HTTP_URI_CODING_ALL, recipient, + scheme, sizeof(scheme), userpass, sizeof(userpass), + host, sizeof(host), &port, + resource, sizeof(resource)) < HTTP_URI_OK) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Bad notify-recipient-uri \"%s\"."), recipient); + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_ENUM, + "notify-status-code", IPP_URI_SCHEME); + return; + } + + snprintf(notifier, sizeof(notifier), "%s/notifier/%s", ServerBin, scheme); + if (access(notifier, X_OK) || stat(notifier, &info) || !S_ISREG(info.st_mode)) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("notify-recipient-uri URI \"%s\" uses unknown " + "scheme."), recipient); + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_ENUM, + "notify-status-code", IPP_URI_SCHEME); + return; + } + + if (!strcmp(scheme, "rss") && !check_rss_recipient(recipient)) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("notify-recipient-uri URI \"%s\" is already used."), + recipient); + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_ENUM, + "notify-status-code", IPP_ATTRIBUTES); + return; + } + } + else if (!strcmp(attr->name, "notify-pull-method") && + attr->value_tag == IPP_TAG_KEYWORD) + { + pullmethod = attr->values[0].string.text; + + if (strcmp(pullmethod, "ippget")) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Bad notify-pull-method \"%s\"."), pullmethod); + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_ENUM, + "notify-status-code", IPP_ATTRIBUTES); + return; + } + } + else if (!strcmp(attr->name, "notify-charset") && + attr->value_tag == IPP_TAG_CHARSET && + strcmp(attr->values[0].string.text, "us-ascii") && + strcmp(attr->values[0].string.text, "utf-8")) + { + send_ipp_status(con, IPP_CHARSET, + _("Character set \"%s\" not supported."), + attr->values[0].string.text); + return; + } + else if (!strcmp(attr->name, "notify-natural-language") && + (attr->value_tag != IPP_TAG_LANGUAGE || + strcmp(attr->values[0].string.text, DefaultLanguage))) + { + send_ipp_status(con, IPP_CHARSET, + _("Language \"%s\" not supported."), + attr->values[0].string.text); + return; + } + else if (!strcmp(attr->name, "notify-user-data") && + attr->value_tag == IPP_TAG_STRING) + { + if (attr->num_values > 1 || attr->values[0].unknown.length > 63) + { + send_ipp_status(con, IPP_REQUEST_VALUE, + _("The notify-user-data value is too large " + "(%d > 63 octets)."), + attr->values[0].unknown.length); + return; + } + + user_data = attr; + } + else if (!strcmp(attr->name, "notify-events") && + attr->value_tag == IPP_TAG_KEYWORD) + { + for (i = 0; i < attr->num_values; i ++) + mask |= cupsdEventValue(attr->values[i].string.text); + } + else if (!strcmp(attr->name, "notify-lease-duration")) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("The notify-lease-duration attribute cannot be " + "used with job subscriptions.")); + return; + } + else if (!strcmp(attr->name, "notify-time-interval") && + attr->value_tag == IPP_TAG_INTEGER) + interval = attr->values[0].integer; + + attr = attr->next; + } + + if (!recipient && !pullmethod) + break; + + if (mask == CUPSD_EVENT_NONE) + mask = CUPSD_EVENT_JOB_COMPLETED; + + if ((sub = cupsdAddSubscription(mask, cupsdFindDest(job->dest), job, + recipient, 0)) != NULL) + { + sub->interval = interval; + + cupsdSetString(&sub->owner, job->username); + + if (user_data) + { + sub->user_data_len = user_data->values[0].unknown.length; + memcpy(sub->user_data, user_data->values[0].unknown.data, + (size_t)sub->user_data_len); + } + + ippAddSeparator(con->response); + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_INTEGER, + "notify-subscription-id", sub->id); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added subscription %d for job %d", + sub->id, job->id); + } + + if (attr) + attr = attr->next; + } + + cupsdMarkDirty(CUPSD_DIRTY_SUBSCRIPTIONS); + + /* + * Remove all of the subscription attributes from the job request... + * + * TODO: Optimize this since subscription groups have to come at the + * end of the request... + */ + + for (attr = job->attrs->attrs, prev = NULL; attr; attr = next) + { + next = attr->next; + + if (attr->group_tag == IPP_TAG_SUBSCRIPTION || + attr->group_tag == IPP_TAG_ZERO) + { + /* + * Free and remove this attribute... + */ + + ippDeleteAttribute(NULL, attr); + + if (prev) + prev->next = next; + else + job->attrs->attrs = next; + } + else + prev = attr; + } + + job->attrs->last = prev; + job->attrs->current = prev; +} + + +/* + * 'add_job_uuid()' - Add job-uuid attribute to a job. + * + * See RFC 4122 for the definition of UUIDs and the format. + */ + +static void +add_job_uuid(cupsd_job_t *job) /* I - Job */ +{ + char uuid[64]; /* job-uuid string */ + + + /* + * Add a job-uuid attribute if none exists... + */ + + if (!ippFindAttribute(job->attrs, "job-uuid", IPP_TAG_URI)) + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_URI, "job-uuid", NULL, + httpAssembleUUID(ServerName, RemotePort, job->dest, job->id, + uuid, sizeof(uuid))); +} + + +/* + * 'add_printer()' - Add a printer to the system. + */ + +static void +add_printer(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - URI of printer */ +{ + http_status_t status; /* Policy status */ + int i; /* Looping var */ + char scheme[HTTP_MAX_URI], /* Method portion of URI */ + username[HTTP_MAX_URI], /* Username portion of URI */ + host[HTTP_MAX_URI], /* Host portion of URI */ + resource[HTTP_MAX_URI]; /* Resource portion of URI */ + int port; /* Port portion of URI */ + cupsd_printer_t *printer; /* Printer/class */ + ipp_attribute_t *attr; /* Printer attribute */ + cups_file_t *fp; /* Script/PPD file */ + char line[1024]; /* Line from file... */ + char srcfile[1024], /* Source Script/PPD file */ + dstfile[1024]; /* Destination Script/PPD file */ + int modify; /* Non-zero if we are modifying */ + int changed_driver, /* Changed the PPD? */ + need_restart_job, /* Need to restart job? */ + set_device_uri, /* Did we set the device URI? */ + set_port_monitor; /* Did we set the port monitor? */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "add_printer(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Do we have a valid URI? + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (strncmp(resource, "/printers/", 10) || strlen(resource) == 10) + { + /* + * No, return an error... + */ + + send_ipp_status(con, IPP_BAD_REQUEST, + _("The printer-uri must be of the form " + "\"ipp://HOSTNAME/printers/PRINTERNAME\".")); + return; + } + + /* + * Do we have a valid printer name? + */ + + if (!validate_name(resource + 10)) + { + /* + * No, return an error... + */ + + send_ipp_status(con, IPP_BAD_REQUEST, + _("The printer-uri \"%s\" contains invalid characters."), + uri->values[0].string.text); + return; + } + + /* + * See if the printer already exists; if not, create a new printer... + */ + + if ((printer = cupsdFindPrinter(resource + 10)) == NULL) + { + /* + * Printer doesn't exist; see if we have a class of the same name... + */ + + if ((printer = cupsdFindClass(resource + 10)) != NULL) + { + /* + * Yes, return an error... + */ + + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("A class named \"%s\" already exists."), + resource + 10); + return; + } + + /* + * No, check the default policy then add the printer... + */ + + if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + printer = cupsdAddPrinter(resource + 10); + modify = 0; + + printer->printer_id = NextPrinterId ++; + } + else if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, + NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + else + modify = 1; + + /* + * Look for attributes and copy them over as needed... + */ + + changed_driver = 0; + need_restart_job = 0; + + if ((attr = ippFindAttribute(con->request, "printer-is-temporary", IPP_TAG_BOOLEAN)) != NULL) + printer->temporary = ippGetBoolean(attr, 0); + + if ((attr = ippFindAttribute(con->request, "printer-location", + IPP_TAG_TEXT)) != NULL) + cupsdSetString(&printer->location, attr->values[0].string.text); + + if ((attr = ippFindAttribute(con->request, "printer-geo-location", IPP_TAG_URI)) != NULL && !strncmp(attr->values[0].string.text, "geo:", 4)) + cupsdSetString(&printer->geo_location, attr->values[0].string.text); + + if ((attr = ippFindAttribute(con->request, "printer-organization", IPP_TAG_TEXT)) != NULL) + cupsdSetString(&printer->organization, attr->values[0].string.text); + + if ((attr = ippFindAttribute(con->request, "printer-organizational-unit", IPP_TAG_TEXT)) != NULL) + cupsdSetString(&printer->organizational_unit, attr->values[0].string.text); + + if ((attr = ippFindAttribute(con->request, "printer-info", + IPP_TAG_TEXT)) != NULL) + cupsdSetString(&printer->info, attr->values[0].string.text); + + set_device_uri = 0; + + if ((attr = ippFindAttribute(con->request, "device-uri", + IPP_TAG_URI)) != NULL) + { + /* + * Do we have a valid device URI? + */ + + http_uri_status_t uri_status; /* URI separation status */ + char old_device_uri[1024]; + /* Old device URI */ + + need_restart_job = 1; + + uri_status = httpSeparateURI(HTTP_URI_CODING_ALL, + attr->values[0].string.text, + scheme, sizeof(scheme), + username, sizeof(username), + host, sizeof(host), &port, + resource, sizeof(resource)); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "%s device-uri: %s", printer->name, httpURIStatusString(uri_status)); + + if (uri_status < HTTP_URI_OK) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, _("Bad device-uri \"%s\"."), + attr->values[0].string.text); + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + + if (!strcmp(scheme, "file")) + { + /* + * See if the administrator has enabled file devices... + */ + + if (!FileDevice && strcmp(resource, "/dev/null")) + { + /* + * File devices are disabled and the URL is not file:/dev/null... + */ + + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("File device URIs have been disabled. " + "To enable, see the FileDevice directive in " + "\"%s/cups-files.conf\"."), + ServerRoot); + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + } + else + { + /* + * See if the backend exists and is executable... + */ + + snprintf(srcfile, sizeof(srcfile), "%s/backend/%s", ServerBin, scheme); + if (access(srcfile, X_OK)) + { + /* + * Could not find device in list! + */ + + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Bad device-uri scheme \"%s\"."), scheme); + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + } + + if (printer->sanitized_device_uri) + strlcpy(old_device_uri, printer->sanitized_device_uri, + sizeof(old_device_uri)); + else + old_device_uri[0] = '\0'; + + cupsdSetDeviceURI(printer, attr->values[0].string.text); + + cupsdLogMessage(CUPSD_LOG_INFO, + "Setting %s device-uri to \"%s\" (was \"%s\".)", + printer->name, printer->sanitized_device_uri, + old_device_uri); + + set_device_uri = 1; + } + + set_port_monitor = 0; + + if ((attr = ippFindAttribute(con->request, "port-monitor", + IPP_TAG_NAME)) != NULL) + { + ipp_attribute_t *supported; /* port-monitor-supported attribute */ + + + need_restart_job = 1; + + supported = ippFindAttribute(printer->ppd_attrs, "port-monitor-supported", + IPP_TAG_NAME); + if (supported) + { + for (i = 0; i < supported->num_values; i ++) + if (!strcmp(supported->values[i].string.text, + attr->values[0].string.text)) + break; + } + + if (!supported || i >= supported->num_values) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, _("Bad port-monitor \"%s\"."), + attr->values[0].string.text); + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + + cupsdLogMessage(CUPSD_LOG_INFO, + "Setting %s port-monitor to \"%s\" (was \"%s\".)", + printer->name, attr->values[0].string.text, + printer->port_monitor ? printer->port_monitor : "none"); + + if (strcmp(attr->values[0].string.text, "none")) + cupsdSetString(&printer->port_monitor, attr->values[0].string.text); + else + cupsdClearString(&printer->port_monitor); + + set_port_monitor = 1; + } + + if ((attr = ippFindAttribute(con->request, "printer-is-accepting-jobs", + IPP_TAG_BOOLEAN)) != NULL && + attr->values[0].boolean != printer->accepting) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "Setting %s printer-is-accepting-jobs to %d (was %d.)", + printer->name, attr->values[0].boolean, printer->accepting); + + printer->accepting = attr->values[0].boolean; + + cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, printer, NULL, + "%s accepting jobs.", + printer->accepting ? "Now" : "No longer"); + } + + if ((attr = ippFindAttribute(con->request, "printer-is-shared", IPP_TAG_BOOLEAN)) != NULL) + { + if (ippGetBoolean(attr, 0) && + printer->num_auth_info_required == 1 && + !strcmp(printer->auth_info_required[0], "negotiate")) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Cannot share a remote Kerberized printer.")); + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + + if (printer->type & CUPS_PRINTER_REMOTE) + { + /* + * Cannot re-share remote printers. + */ + + send_ipp_status(con, IPP_BAD_REQUEST, _("Cannot change printer-is-shared for remote queues.")); + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + + if (printer->shared && !ippGetBoolean(attr, 0)) + cupsdDeregisterPrinter(printer, 1); + + cupsdLogMessage(CUPSD_LOG_INFO, + "Setting %s printer-is-shared to %d (was %d.)", + printer->name, attr->values[0].boolean, printer->shared); + + printer->shared = ippGetBoolean(attr, 0); + if (printer->shared && printer->temporary) + printer->temporary = 0; + } + + if ((attr = ippFindAttribute(con->request, "printer-state", + IPP_TAG_ENUM)) != NULL) + { + if (attr->values[0].integer != IPP_PRINTER_IDLE && + attr->values[0].integer != IPP_PRINTER_STOPPED) + { + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad printer-state value %d."), + attr->values[0].integer); + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + + cupsdLogMessage(CUPSD_LOG_INFO, "Setting %s printer-state to %d (was %d.)", + printer->name, attr->values[0].integer, printer->state); + + if (attr->values[0].integer == IPP_PRINTER_STOPPED) + cupsdStopPrinter(printer, 0); + else + { + need_restart_job = 1; + cupsdSetPrinterState(printer, (ipp_pstate_t)(attr->values[0].integer), 0); + } + } + + if ((attr = ippFindAttribute(con->request, "printer-state-message", + IPP_TAG_TEXT)) != NULL) + { + strlcpy(printer->state_message, attr->values[0].string.text, + sizeof(printer->state_message)); + + cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, printer, NULL, "%s", + printer->state_message); + } + + if ((attr = ippFindAttribute(con->request, "printer-state-reasons", + IPP_TAG_KEYWORD)) != NULL) + { + if (attr->num_values > + (int)(sizeof(printer->reasons) / sizeof(printer->reasons[0]))) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Too many printer-state-reasons values (%d > %d)."), + attr->num_values, + (int)(sizeof(printer->reasons) / + sizeof(printer->reasons[0]))); + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + + for (i = 0; i < printer->num_reasons; i ++) + _cupsStrFree(printer->reasons[i]); + + printer->num_reasons = 0; + for (i = 0; i < attr->num_values; i ++) + { + if (!strcmp(attr->values[i].string.text, "none")) + continue; + + printer->reasons[printer->num_reasons] = _cupsStrAlloc(attr->values[i].string.text); + printer->num_reasons ++; + + if (!strcmp(attr->values[i].string.text, "paused") && + printer->state != IPP_PRINTER_STOPPED) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "Setting %s printer-state to %d (was %d.)", + printer->name, IPP_PRINTER_STOPPED, printer->state); + cupsdStopPrinter(printer, 0); + } + } + + if (PrintcapFormat == PRINTCAP_PLIST) + cupsdMarkDirty(CUPSD_DIRTY_PRINTCAP); + + cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, printer, NULL, + "Printer \"%s\" state changed.", printer->name); + } + + if (!set_printer_defaults(con, printer)) + { + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + + if ((attr = ippFindAttribute(con->request, "auth-info-required", + IPP_TAG_KEYWORD)) != NULL) + cupsdSetAuthInfoRequired(printer, NULL, attr); + + /* + * See if we have all required attributes... + */ + + if (!printer->device_uri) + cupsdSetString(&printer->device_uri, "file:///dev/null"); + + /* + * See if we have a PPD file attached to the request... + */ + + if (con->filename) + { + need_restart_job = 1; + changed_driver = 1; + + strlcpy(srcfile, con->filename, sizeof(srcfile)); + + if ((fp = cupsFileOpen(srcfile, "rb"))) + { + /* + * Yes; get the first line from it... + */ + + line[0] = '\0'; + cupsFileGets(fp, line, sizeof(line)); + cupsFileClose(fp); + + /* + * Then see what kind of file it is... + */ + + if (strncmp(line, "*PPD-Adobe", 10)) + { + send_ipp_status(con, IPP_STATUS_ERROR_DOCUMENT_FORMAT_NOT_SUPPORTED, _("Bad PPD file.")); + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + + snprintf(dstfile, sizeof(dstfile), "%s/ppd/%s.ppd", ServerRoot, + printer->name); + + /* + * The new file is a PPD file, so move the file over to the ppd + * directory... + */ + + if (copy_file(srcfile, dstfile, ConfigFilePerm)) + { + send_ipp_status(con, IPP_INTERNAL_ERROR, _("Unable to copy PPD file - %s"), strerror(errno)); + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Copied PPD file successfully"); + } + } + else if ((attr = ippFindAttribute(con->request, "ppd-name", IPP_TAG_NAME)) != NULL) + { + const char *ppd_name = ippGetString(attr, 0, NULL); + /* ppd-name value */ + + need_restart_job = 1; + changed_driver = 1; + + if (!strcmp(ppd_name, "raw")) + { + /* + * Raw driver, remove any existing PPD file. + */ + + snprintf(dstfile, sizeof(dstfile), "%s/ppd/%s.ppd", ServerRoot, printer->name); + unlink(dstfile); + } + else if (strstr(ppd_name, "../")) + { + send_ipp_status(con, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, _("Invalid ppd-name value.")); + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + else + { + /* + * PPD model file... + */ + + snprintf(dstfile, sizeof(dstfile), "%s/ppd/%s.ppd", ServerRoot, printer->name); + + if (copy_model(con, ppd_name, dstfile)) + { + send_ipp_status(con, IPP_INTERNAL_ERROR, _("Unable to copy PPD file.")); + if (!modify) + cupsdDeletePrinter(printer, 0); + + return; + } + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Copied PPD file successfully"); + } + } + + if (changed_driver) + { + /* + * If we changed the PPD, then remove the printer's cache file and clear the + * printer-state-reasons... + */ + + char cache_name[1024]; /* Cache filename for printer attrs */ + + snprintf(cache_name, sizeof(cache_name), "%s/%s.data", CacheDir, printer->name); + unlink(cache_name); + + cupsdSetPrinterReasons(printer, "none"); + + /* + * (Re)register color profiles... + */ + + cupsdRegisterColor(printer); + } + + /* + * If we set the device URI but not the port monitor, check which port + * monitor to use by default... + */ + + if (set_device_uri && !set_port_monitor) + { + ppd_file_t *ppd; /* PPD file */ + ppd_attr_t *ppdattr; /* cupsPortMonitor attribute */ + + + httpSeparateURI(HTTP_URI_CODING_ALL, printer->device_uri, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + snprintf(srcfile, sizeof(srcfile), "%s/ppd/%s.ppd", ServerRoot, + printer->name); + if ((ppd = _ppdOpenFile(srcfile, _PPD_LOCALIZATION_NONE)) != NULL) + { + for (ppdattr = ppdFindAttr(ppd, "cupsPortMonitor", NULL); + ppdattr; + ppdattr = ppdFindNextAttr(ppd, "cupsPortMonitor", NULL)) + if (!strcmp(scheme, ppdattr->spec)) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "Setting %s port-monitor to \"%s\" (was \"%s\".)", + printer->name, ppdattr->value, + printer->port_monitor ? printer->port_monitor + : "none"); + + if (strcmp(ppdattr->value, "none")) + cupsdSetString(&printer->port_monitor, ppdattr->value); + else + cupsdClearString(&printer->port_monitor); + + break; + } + + ppdClose(ppd); + } + } + + printer->config_time = time(NULL); + + /* + * Update the printer attributes and return... + */ + + if (!printer->temporary) + { + if (!printer->printer_id) + printer->printer_id = NextPrinterId ++; + + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + } + + cupsdSetPrinterAttrs(printer); + + if (need_restart_job && printer->job) + { + /* + * Restart the current job... + */ + + cupsdSetJobState(printer->job, IPP_JOB_PENDING, CUPSD_JOB_FORCE, + "Job restarted because the printer was modified."); + } + + cupsdMarkDirty(CUPSD_DIRTY_PRINTCAP); + + if (modify) + { + cupsdAddEvent(CUPSD_EVENT_PRINTER_MODIFIED, + printer, NULL, "Printer \"%s\" modified by \"%s\".", + printer->name, get_username(con)); + + cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" modified by \"%s\".", + printer->name, get_username(con)); + } + else + { + cupsdAddEvent(CUPSD_EVENT_PRINTER_ADDED, + printer, NULL, "New printer \"%s\" added by \"%s\".", + printer->name, get_username(con)); + + cupsdLogMessage(CUPSD_LOG_INFO, "New printer \"%s\" added by \"%s\".", + printer->name, get_username(con)); + } + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'add_printer_state_reasons()' - Add the "printer-state-reasons" attribute + * based upon the printer state... + */ + +static void +add_printer_state_reasons( + cupsd_client_t *con, /* I - Client connection */ + cupsd_printer_t *p) /* I - Printer info */ +{ + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "add_printer_state_reasons(%p[%d], %p[%s])", + con, con->number, p, p->name); + + if (p->num_reasons == 0) + ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "printer-state-reasons", NULL, "none"); + else + ippAddStrings(con->response, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "printer-state-reasons", p->num_reasons, NULL, + (const char * const *)p->reasons); +} + + +/* + * 'add_queued_job_count()' - Add the "queued-job-count" attribute for + * the specified printer or class. + */ + +static void +add_queued_job_count( + cupsd_client_t *con, /* I - Client connection */ + cupsd_printer_t *p) /* I - Printer or class */ +{ + int count; /* Number of jobs on destination */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "add_queued_job_count(%p[%d], %p[%s])", + con, con->number, p, p->name); + + count = cupsdGetPrinterJobCount(p->name); + + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "queued-job-count", count); +} + + +/* + * 'apply_printer_defaults()' - Apply printer default options to a job. + */ + +static void +apply_printer_defaults( + cupsd_printer_t *printer, /* I - Printer */ + cupsd_job_t *job) /* I - Job */ +{ + int i, /* Looping var */ + num_options; /* Number of default options */ + cups_option_t *options, /* Default options */ + *option; /* Current option */ + + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Applying default options..."); + + /* + * Collect all of the default options and add the missing ones to the + * job object... + */ + + for (i = printer->num_options, num_options = 0, options = NULL, + option = printer->options; + i > 0; + i --, option ++) + if (!ippFindAttribute(job->attrs, option->name, IPP_TAG_ZERO)) + { + if (!strcmp(option->name, "print-quality") && ippFindAttribute(job->attrs, "cupsPrintQuality", IPP_TAG_NAME)) + continue; /* Don't override cupsPrintQuality */ + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Adding default %s=%s", option->name, option->value); + + num_options = cupsAddOption(option->name, option->value, num_options, &options); + } + + /* + * Encode these options as attributes in the job object... + */ + + cupsEncodeOptions2(job->attrs, num_options, options, IPP_TAG_JOB); + cupsFreeOptions(num_options, options); +} + + +/* + * 'authenticate_job()' - Set job authentication info. + */ + +static void +authenticate_job(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Job URI */ +{ + ipp_attribute_t *attr, /* job-id attribute */ + *auth_info; /* auth-info attribute */ + int jobid; /* Job ID */ + cupsd_job_t *job; /* Current job */ + char scheme[HTTP_MAX_URI], + /* Method portion of URI */ + username[HTTP_MAX_URI], + /* Username portion of URI */ + host[HTTP_MAX_URI], + /* Host portion of URI */ + resource[HTTP_MAX_URI]; + /* Resource portion of URI */ + int port; /* Port portion of URI */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "authenticate_job(%p[%d], %s)", + con, con->number, uri->values[0].string.text); + + /* + * Start with "everything is OK" status... + */ + + con->response->request.status.status_code = IPP_OK; + + /* + * See if we have a job URI or a printer URI... + */ + + if (!strcmp(uri->name, "printer-uri")) + { + /* + * Got a printer URI; see if we also have a job-id attribute... + */ + + if ((attr = ippFindAttribute(con->request, "job-id", + IPP_TAG_INTEGER)) == NULL) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Got a printer-uri attribute but no job-id.")); + return; + } + + jobid = attr->values[0].integer; + } + else + { + /* + * Got a job URI; parse it to get the job ID... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (strncmp(resource, "/jobs/", 6)) + { + /* + * Not a valid URI! + */ + + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad job-uri \"%s\"."), + uri->values[0].string.text); + return; + } + + jobid = atoi(resource + 6); + } + + /* + * See if the job exists... + */ + + if ((job = cupsdFindJob(jobid)) == NULL) + { + /* + * Nope - return a "not found" error... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), jobid); + return; + } + + /* + * See if the job has been completed... + */ + + if (job->state_value != IPP_JOB_HELD) + { + /* + * Return a "not-possible" error... + */ + + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job #%d is not held for authentication."), + jobid); + return; + } + + /* + * See if we have already authenticated... + */ + + auth_info = ippFindAttribute(con->request, "auth-info", IPP_TAG_TEXT); + + if (!con->username[0] && !auth_info) + { + cupsd_printer_t *printer; /* Job destination */ + + /* + * No auth data. If we need to authenticate via Kerberos, send a + * HTTP auth challenge, otherwise just return an IPP error... + */ + + printer = cupsdFindDest(job->dest); + + if (printer && printer->num_auth_info_required > 0 && + !strcmp(printer->auth_info_required[0], "negotiate")) + send_http_error(con, HTTP_UNAUTHORIZED, printer); + else + send_ipp_status(con, IPP_NOT_AUTHORIZED, + _("No authentication information provided.")); + return; + } + + /* + * See if the job is owned by the requesting user... + */ + + if (!validate_user(job, con, job->username, username, sizeof(username))) + { + send_http_error(con, con->username[0] ? HTTP_FORBIDDEN : HTTP_UNAUTHORIZED, + cupsdFindDest(job->dest)); + return; + } + + /* + * Save the authentication information for this job... + */ + + save_auth_info(con, job, auth_info); + + /* + * Reset the job-hold-until value to "no-hold"... + */ + + if ((attr = ippFindAttribute(job->attrs, "job-hold-until", + IPP_TAG_KEYWORD)) == NULL) + attr = ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_NAME); + + if (attr) + { + ippSetValueTag(job->attrs, &attr, IPP_TAG_KEYWORD); + ippSetString(job->attrs, &attr, 0, "no-hold"); + } + + /* + * Release the job and return... + */ + + cupsdReleaseJob(job); + + cupsdAddEvent(CUPSD_EVENT_JOB_STATE, NULL, job, "Job authenticated by user"); + + cupsdLogJob(job, CUPSD_LOG_INFO, "Authenticated by \"%s\".", con->username); + + cupsdCheckJobs(); +} + + +/* + * 'cancel_all_jobs()' - Cancel all or selected print jobs. + */ + +static void +cancel_all_jobs(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Job or Printer URI */ +{ + int i; /* Looping var */ + http_status_t status; /* Policy status */ + cups_ptype_t dtype; /* Destination type */ + char scheme[HTTP_MAX_URI], /* Scheme portion of URI */ + userpass[HTTP_MAX_URI], /* Username portion of URI */ + hostname[HTTP_MAX_URI], /* Host portion of URI */ + resource[HTTP_MAX_URI]; /* Resource portion of URI */ + int port; /* Port portion of URI */ + ipp_attribute_t *attr; /* Attribute in request */ + const char *username = NULL; /* Username */ + cupsd_jobaction_t purge = CUPSD_JOB_DEFAULT; + /* Purge? */ + cupsd_printer_t *printer; /* Printer */ + ipp_attribute_t *job_ids; /* job-ids attribute */ + cupsd_job_t *job; /* Job */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cancel_all_jobs(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Get the jobs to cancel/purge... + */ + + switch (con->request->request.op.operation_id) + { + case IPP_PURGE_JOBS : + /* + * Get the username (if any) for the jobs we want to cancel (only if + * "my-jobs" is specified... + */ + + if ((attr = ippFindAttribute(con->request, "my-jobs", + IPP_TAG_BOOLEAN)) != NULL && + attr->values[0].boolean) + { + if ((attr = ippFindAttribute(con->request, "requesting-user-name", + IPP_TAG_NAME)) != NULL) + username = attr->values[0].string.text; + else + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Missing requesting-user-name attribute.")); + return; + } + } + + /* + * Look for the "purge-jobs" attribute... + */ + + if ((attr = ippFindAttribute(con->request, "purge-jobs", + IPP_TAG_BOOLEAN)) != NULL) + purge = attr->values[0].boolean ? CUPSD_JOB_PURGE : CUPSD_JOB_DEFAULT; + else + purge = CUPSD_JOB_PURGE; + break; + + case IPP_CANCEL_MY_JOBS : + if (con->username[0]) + username = con->username; + else if ((attr = ippFindAttribute(con->request, "requesting-user-name", + IPP_TAG_NAME)) != NULL) + username = attr->values[0].string.text; + else + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Missing requesting-user-name attribute.")); + return; + } + + default : + break; + } + + job_ids = ippFindAttribute(con->request, "job-ids", IPP_TAG_INTEGER); + + /* + * See if we have a printer URI... + */ + + if (strcmp(uri->name, "printer-uri")) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("The printer-uri attribute is required.")); + return; + } + + /* + * And if the destination is valid... + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI? + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, + scheme, sizeof(scheme), userpass, sizeof(userpass), + hostname, sizeof(hostname), &port, + resource, sizeof(resource)); + + if ((!strncmp(resource, "/printers/", 10) && resource[10]) || + (!strncmp(resource, "/classes/", 9) && resource[9])) + { + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + if (job_ids) + { + for (i = 0; i < job_ids->num_values; i ++) + { + if ((job = cupsdFindJob(job_ids->values[i].integer)) == NULL) + break; + + if (con->request->request.op.operation_id == IPP_CANCEL_MY_JOBS && + _cups_strcasecmp(job->username, username)) + break; + } + + if (i < job_ids->num_values) + { + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), + job_ids->values[i].integer); + return; + } + + for (i = 0; i < job_ids->num_values; i ++) + { + job = cupsdFindJob(job_ids->values[i].integer); + + cupsdSetJobState(job, IPP_JOB_CANCELED, purge, + purge == CUPSD_JOB_PURGE ? "Job purged by user." : + "Job canceled by user."); + } + + cupsdLogMessage(CUPSD_LOG_INFO, "Selected jobs were %s by \"%s\".", + purge == CUPSD_JOB_PURGE ? "purged" : "canceled", + get_username(con)); + } + else + { + /* + * Cancel all jobs on all printers... + */ + + cupsdCancelJobs(NULL, username, purge != CUPSD_JOB_DEFAULT); + + cupsdLogMessage(CUPSD_LOG_INFO, "All jobs were %s by \"%s\".", + purge == CUPSD_JOB_PURGE ? "purged" : "canceled", + get_username(con)); + } + } + else + { + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, + NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + + if (job_ids) + { + for (i = 0; i < job_ids->num_values; i ++) + { + if ((job = cupsdFindJob(job_ids->values[i].integer)) == NULL || + _cups_strcasecmp(job->dest, printer->name)) + break; + + if (con->request->request.op.operation_id == IPP_CANCEL_MY_JOBS && + _cups_strcasecmp(job->username, username)) + break; + } + + if (i < job_ids->num_values) + { + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), + job_ids->values[i].integer); + return; + } + + for (i = 0; i < job_ids->num_values; i ++) + { + job = cupsdFindJob(job_ids->values[i].integer); + + cupsdSetJobState(job, IPP_JOB_CANCELED, purge, + purge == CUPSD_JOB_PURGE ? "Job purged by user." : + "Job canceled by user."); + } + + cupsdLogMessage(CUPSD_LOG_INFO, "Selected jobs were %s by \"%s\".", + purge == CUPSD_JOB_PURGE ? "purged" : "canceled", + get_username(con)); + } + else + { + /* + * Cancel all of the jobs on the named printer... + */ + + cupsdCancelJobs(printer->name, username, purge != CUPSD_JOB_DEFAULT); + + cupsdLogMessage(CUPSD_LOG_INFO, "All jobs on \"%s\" were %s by \"%s\".", + printer->name, + purge == CUPSD_JOB_PURGE ? "purged" : "canceled", + get_username(con)); + } + } + + con->response->request.status.status_code = IPP_OK; + + cupsdCheckJobs(); +} + + +/* + * 'cancel_job()' - Cancel a print job. + */ + +static void +cancel_job(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Job or Printer URI */ +{ + ipp_attribute_t *attr; /* Current attribute */ + int jobid; /* Job ID */ + char scheme[HTTP_MAX_URI], /* Scheme portion of URI */ + username[HTTP_MAX_URI], /* Username portion of URI */ + host[HTTP_MAX_URI], /* Host portion of URI */ + resource[HTTP_MAX_URI]; /* Resource portion of URI */ + int port; /* Port portion of URI */ + cupsd_job_t *job; /* Job information */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cupsd_printer_t *printer; /* Printer data */ + cupsd_jobaction_t purge; /* Purge the job? */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cancel_job(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * See if we have a job URI or a printer URI... + */ + + if (!strcmp(uri->name, "printer-uri")) + { + /* + * Got a printer URI; see if we also have a job-id attribute... + */ + + if ((attr = ippFindAttribute(con->request, "job-id", + IPP_TAG_INTEGER)) == NULL) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Got a printer-uri attribute but no job-id.")); + return; + } + + if ((jobid = attr->values[0].integer) == 0) + { + /* + * Find the current job on the specified printer... + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * See if there are any pending jobs... + */ + + for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs); + job; + job = (cupsd_job_t *)cupsArrayNext(ActiveJobs)) + if (job->state_value <= IPP_JOB_PROCESSING && + !_cups_strcasecmp(job->dest, printer->name)) + break; + + if (job) + jobid = job->id; + else + { + /* + * No, try stopped jobs... + */ + + for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs); + job; + job = (cupsd_job_t *)cupsArrayNext(ActiveJobs)) + if (job->state_value == IPP_JOB_STOPPED && + !_cups_strcasecmp(job->dest, printer->name)) + break; + + if (job) + jobid = job->id; + else + { + send_ipp_status(con, IPP_NOT_POSSIBLE, _("No active jobs on %s."), + printer->name); + return; + } + } + } + } + else + { + /* + * Got a job URI; parse it to get the job ID... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (strncmp(resource, "/jobs/", 6)) + { + /* + * Not a valid URI! + */ + + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad job-uri \"%s\"."), + uri->values[0].string.text); + return; + } + + jobid = atoi(resource + 6); + } + + /* + * Look for the "purge-job" attribute... + */ + + if ((attr = ippFindAttribute(con->request, "purge-job", + IPP_TAG_BOOLEAN)) != NULL) + purge = attr->values[0].boolean ? CUPSD_JOB_PURGE : CUPSD_JOB_DEFAULT; + else + purge = CUPSD_JOB_DEFAULT; + + /* + * See if the job exists... + */ + + if ((job = cupsdFindJob(jobid)) == NULL) + { + /* + * Nope - return a "not found" error... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), jobid); + return; + } + + /* + * See if the job is owned by the requesting user... + */ + + if (!validate_user(job, con, job->username, username, sizeof(username))) + { + send_http_error(con, con->username[0] ? HTTP_FORBIDDEN : HTTP_UNAUTHORIZED, + cupsdFindDest(job->dest)); + return; + } + + /* + * See if the job is already completed, canceled, or aborted; if so, + * we can't cancel... + */ + + if (job->state_value >= IPP_JOB_CANCELED && purge != CUPSD_JOB_PURGE) + { + switch (job->state_value) + { + case IPP_JOB_CANCELED : + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job #%d is already canceled - can\'t cancel."), + jobid); + break; + + case IPP_JOB_ABORTED : + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job #%d is already aborted - can\'t cancel."), + jobid); + break; + + default : + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job #%d is already completed - can\'t cancel."), + jobid); + break; + } + + return; + } + + /* + * Cancel the job and return... + */ + + cupsdSetJobState(job, IPP_JOB_CANCELED, purge, + purge == CUPSD_JOB_PURGE ? "Job purged by \"%s\"" : + "Job canceled by \"%s\"", + username); + cupsdCheckJobs(); + + if (purge == CUPSD_JOB_PURGE) + cupsdLogMessage(CUPSD_LOG_INFO, "[Job %d] Purged by \"%s\".", jobid, + username); + else + cupsdLogMessage(CUPSD_LOG_INFO, "[Job %d] Canceled by \"%s\".", jobid, + username); + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'cancel_subscription()' - Cancel a subscription. + */ + +static void +cancel_subscription( + cupsd_client_t *con, /* I - Client connection */ + int sub_id) /* I - Subscription ID */ +{ + http_status_t status; /* Policy status */ + cupsd_subscription_t *sub; /* Subscription */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cancel_subscription(con=%p[%d], sub_id=%d)", + con, con->number, sub_id); + + /* + * Is the subscription ID valid? + */ + + if ((sub = cupsdFindSubscription(sub_id)) == NULL) + { + /* + * Bad subscription ID... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("Subscription #%d does not exist."), sub_id); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(sub->dest ? sub->dest->op_policy_ptr : + DefaultPolicyPtr, + con, sub->owner)) != HTTP_OK) + { + send_http_error(con, status, sub->dest); + return; + } + + /* + * Cancel the subscription... + */ + + cupsdDeleteSubscription(sub, 1); + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'check_rss_recipient()' - Check that we do not have a duplicate RSS feed URI. + */ + +static int /* O - 1 if OK, 0 if not */ +check_rss_recipient( + const char *recipient) /* I - Recipient URI */ +{ + cupsd_subscription_t *sub; /* Current subscription */ + + + for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); + sub; + sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) + if (sub->recipient) + { + /* + * Compare the URIs up to the first ?... + */ + + const char *r1, *r2; + + for (r1 = recipient, r2 = sub->recipient; + *r1 == *r2 && *r1 && *r1 != '?' && *r2 && *r2 != '?'; + r1 ++, r2 ++); + + if (*r1 == *r2) + return (0); + } + + return (1); +} + + +/* + * 'check_quotas()' - Check quotas for a printer and user. + */ + +static int /* O - 1 if OK, 0 if forbidden, + -1 if limit reached */ +check_quotas(cupsd_client_t *con, /* I - Client connection */ + cupsd_printer_t *p) /* I - Printer or class */ +{ + char username[33], /* Username */ + *name; /* Current user name */ + cupsd_quota_t *q; /* Quota data */ +#ifdef HAVE_MBR_UID_TO_UUID + /* + * Use Apple membership APIs which require that all names represent + * valid user account or group records accessible by the server. + */ + + uuid_t usr_uuid; /* UUID for job requesting user */ + uuid_t usr2_uuid; /* UUID for ACL user name entry */ + uuid_t grp_uuid; /* UUID for ACL group name entry */ + int mbr_err; /* Error from membership function */ + int is_member; /* Is this user a member? */ +#else + /* + * Use standard POSIX APIs for checking users and groups... + */ + + struct passwd *pw; /* User password data */ +#endif /* HAVE_MBR_UID_TO_UUID */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "check_quotas(%p[%d], %p[%s])", + con, con->number, p, p->name); + + /* + * Figure out who is printing... + */ + + strlcpy(username, get_username(con), sizeof(username)); + + if ((name = strchr(username, '@')) != NULL) + *name = '\0'; /* Strip @REALM */ + + /* + * Check global active job limits for printers and users... + */ + + if (MaxJobsPerPrinter) + { + /* + * Check if there are too many pending jobs on this printer... + */ + + if (cupsdGetPrinterJobCount(p->name) >= MaxJobsPerPrinter) + { + cupsdLogMessage(CUPSD_LOG_INFO, "Too many jobs for printer \"%s\"...", + p->name); + return (-1); + } + } + + if (MaxJobsPerUser) + { + /* + * Check if there are too many pending jobs for this user... + */ + + if (cupsdGetUserJobCount(username) >= MaxJobsPerUser) + { + cupsdLogMessage(CUPSD_LOG_INFO, "Too many jobs for user \"%s\"...", + username); + return (-1); + } + } + + /* + * Check against users... + */ + + if (cupsArrayCount(p->users) == 0 && p->k_limit == 0 && p->page_limit == 0) + return (1); + + if (cupsArrayCount(p->users)) + { +#ifdef HAVE_MBR_UID_TO_UUID + /* + * Get UUID for job requesting user... + */ + + if (mbr_user_name_to_uuid((char *)username, usr_uuid)) + { + /* + * Unknown user... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "check_quotas: UUID lookup failed for user \"%s\"", + username); + cupsdLogMessage(CUPSD_LOG_INFO, + "Denying user \"%s\" access to printer \"%s\" " + "(unknown user)...", + username, p->name); + return (0); + } +#else + /* + * Get UID and GID of requesting user... + */ + + pw = getpwnam(username); + endpwent(); +#endif /* HAVE_MBR_UID_TO_UUID */ + + for (name = (char *)cupsArrayFirst(p->users); + name; + name = (char *)cupsArrayNext(p->users)) + if (name[0] == '@') + { + /* + * Check group membership... + */ + +#ifdef HAVE_MBR_UID_TO_UUID + if (name[1] == '#') + { + if (uuid_parse(name + 2, grp_uuid)) + uuid_clear(grp_uuid); + } + else if ((mbr_err = mbr_group_name_to_uuid(name + 1, grp_uuid)) != 0) + { + /* + * Invalid ACL entries are ignored for matching; just record a + * warning in the log... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "check_quotas: UUID lookup failed for ACL entry " + "\"%s\" (err=%d)", name, mbr_err); + cupsdLogMessage(CUPSD_LOG_WARN, + "Access control entry \"%s\" not a valid group name; " + "entry ignored", name); + } + + if ((mbr_err = mbr_check_membership(usr_uuid, grp_uuid, + &is_member)) != 0) + { + /* + * At this point, there should be no errors, but check anyways... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "check_quotas: group \"%s\" membership check " + "failed (err=%d)", name + 1, mbr_err); + is_member = 0; + } + + /* + * Stop if we found a match... + */ + + if (is_member) + break; + +#else + if (cupsdCheckGroup(username, pw, name + 1)) + break; +#endif /* HAVE_MBR_UID_TO_UUID */ + } +#ifdef HAVE_MBR_UID_TO_UUID + else + { + if (name[0] == '#') + { + if (uuid_parse(name + 1, usr2_uuid)) + uuid_clear(usr2_uuid); + } + else if ((mbr_err = mbr_user_name_to_uuid(name, usr2_uuid)) != 0) + { + /* + * Invalid ACL entries are ignored for matching; just record a + * warning in the log... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "check_quotas: UUID lookup failed for ACL entry " + "\"%s\" (err=%d)", name, mbr_err); + cupsdLogMessage(CUPSD_LOG_WARN, + "Access control entry \"%s\" not a valid user name; " + "entry ignored", name); + } + + if (!uuid_compare(usr_uuid, usr2_uuid)) + break; + } +#else + else if (!_cups_strcasecmp(username, name)) + break; +#endif /* HAVE_MBR_UID_TO_UUID */ + + if ((name != NULL) == p->deny_users) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "Denying user \"%s\" access to printer \"%s\"...", + username, p->name); + return (0); + } + } + + /* + * Check quotas... + */ + + if (p->k_limit || p->page_limit) + { + if ((q = cupsdUpdateQuota(p, username, 0, 0)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate quota data for user \"%s\"", + username); + return (-1); + } + + if ((q->k_count >= p->k_limit && p->k_limit) || + (q->page_count >= p->page_limit && p->page_limit)) + { + cupsdLogMessage(CUPSD_LOG_INFO, "User \"%s\" is over the quota limit...", + username); + return (-1); + } + } + + /* + * If we have gotten this far, we're done! + */ + + return (1); +} + + +/* + * 'close_job()' - Close a multi-file job. + */ + +static void +close_job(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + cupsd_job_t *job; /* Job */ + ipp_attribute_t *attr; /* Attribute */ + char job_uri[HTTP_MAX_URI], + /* Job URI */ + username[256]; /* User name */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "close_job(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * See if we have a job URI or a printer URI... + */ + + if (strcmp(uri->name, "printer-uri")) + { + /* + * job-uri is not supported by Close-Job! + */ + + send_ipp_status(con, IPP_BAD_REQUEST, + _("Close-Job doesn't support the job-uri attribute.")); + return; + } + + /* + * Got a printer URI; see if we also have a job-id attribute... + */ + + if ((attr = ippFindAttribute(con->request, "job-id", + IPP_TAG_INTEGER)) == NULL) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Got a printer-uri attribute but no job-id.")); + return; + } + + if ((job = cupsdFindJob(attr->values[0].integer)) == NULL) + { + /* + * Nope - return a "not found" error... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), + attr->values[0].integer); + return; + } + + /* + * See if the job is owned by the requesting user... + */ + + if (!validate_user(job, con, job->username, username, sizeof(username))) + { + send_http_error(con, con->username[0] ? HTTP_FORBIDDEN : HTTP_UNAUTHORIZED, + cupsdFindDest(job->dest)); + return; + } + + /* + * Add any ending sheet... + */ + + if (cupsdTimeoutJob(job)) + return; + + if (job->state_value == IPP_JOB_STOPPED) + { + job->state->values[0].integer = IPP_JOB_PENDING; + job->state_value = IPP_JOB_PENDING; + } + else if (job->state_value == IPP_JOB_HELD) + { + if ((attr = ippFindAttribute(job->attrs, "job-hold-until", + IPP_TAG_KEYWORD)) == NULL) + attr = ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_NAME); + + if (!attr || !strcmp(attr->values[0].string.text, "no-hold")) + { + job->state->values[0].integer = IPP_JOB_PENDING; + job->state_value = IPP_JOB_PENDING; + } + } + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + + /* + * Fill in the response info... + */ + + httpAssembleURIf(HTTP_URI_CODING_ALL, job_uri, sizeof(job_uri), "ipp", NULL, + con->clientname, con->clientport, "/jobs/%d", job->id); + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_URI, "job-uri", NULL, + job_uri); + + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-id", job->id); + + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_ENUM, "job-state", (int)job->state_value); + + con->response->request.status.status_code = IPP_OK; + + /* + * Start the job if necessary... + */ + + cupsdCheckJobs(); +} + + +/* + * 'copy_attrs()' - Copy attributes from one request to another. + */ + +static void +copy_attrs(ipp_t *to, /* I - Destination request */ + ipp_t *from, /* I - Source request */ + cups_array_t *ra, /* I - Requested attributes */ + ipp_tag_t group, /* I - Group to copy */ + int quickcopy, /* I - Do a quick copy? */ + cups_array_t *exclude) /* I - Attributes to exclude? */ +{ + ipp_attribute_t *fromattr; /* Source attribute */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "copy_attrs(to=%p, from=%p, ra=%p, group=%x, quickcopy=%d)", + to, from, ra, group, quickcopy); + + if (!to || !from) + return; + + for (fromattr = from->attrs; fromattr; fromattr = fromattr->next) + { + /* + * Filter attributes as needed... + */ + + if ((group != IPP_TAG_ZERO && fromattr->group_tag != group && + fromattr->group_tag != IPP_TAG_ZERO) || !fromattr->name) + continue; + + if (!strcmp(fromattr->name, "document-password") || + !strcmp(fromattr->name, "job-authorization-uri") || + !strcmp(fromattr->name, "job-password") || + !strcmp(fromattr->name, "job-password-encryption") || + !strcmp(fromattr->name, "job-printer-uri")) + continue; + + if (exclude && + (cupsArrayFind(exclude, fromattr->name) || + cupsArrayFind(exclude, "all"))) + { + /* + * We need to exclude this attribute for security reasons; we require the + * job-id attribute regardless of the security settings for IPP + * conformance. + * + * The job-printer-uri attribute is handled by copy_job_attrs(). + * + * Subscription attribute security is handled by copy_subscription_attrs(). + */ + + if (strcmp(fromattr->name, "job-id")) + continue; + } + + if (!ra || cupsArrayFind(ra, fromattr->name)) + { + /* + * Don't send collection attributes by default to IPP/1.x clients + * since many do not support collections. Also don't send + * media-col-database unless specifically requested by the client. + */ + + if (fromattr->value_tag == IPP_TAG_BEGIN_COLLECTION && + !ra && + (to->request.status.version[0] == 1 || + !strcmp(fromattr->name, "media-col-database"))) + continue; + + ippCopyAttribute(to, fromattr, quickcopy); + } + } +} + + +/* + * 'copy_banner()' - Copy a banner file to the requests directory for the + * specified job. + */ + +static int /* O - Size of banner file in kbytes */ +copy_banner(cupsd_client_t *con, /* I - Client connection */ + cupsd_job_t *job, /* I - Job information */ + const char *name) /* I - Name of banner */ +{ + int i; /* Looping var */ + int kbytes; /* Size of banner file in kbytes */ + char filename[1024]; /* Job filename */ + cupsd_banner_t *banner; /* Pointer to banner */ + cups_file_t *in; /* Input file */ + cups_file_t *out; /* Output file */ + int ch; /* Character from file */ + char attrname[255], /* Name of attribute */ + *s; /* Pointer into name */ + ipp_attribute_t *attr; /* Attribute */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "copy_banner(con=%p[%d], job=%p[%d], name=\"%s\")", + con, con ? con->number : -1, job, job->id, + name ? name : "(null)"); + + /* + * Find the banner; return if not found or "none"... + */ + + if (!name || !strcmp(name, "none") || + (banner = cupsdFindBanner(name)) == NULL) + return (0); + + /* + * Open the banner and job files... + */ + + if (add_file(con, job, banner->filetype, 0)) + return (-1); + + snprintf(filename, sizeof(filename), "%s/d%05d-%03d", RequestRoot, job->id, + job->num_files); + if ((out = cupsFileOpen(filename, "w")) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to create banner job file %s - %s", + filename, strerror(errno)); + job->num_files --; + return (0); + } + + fchmod(cupsFileNumber(out), 0640); + fchown(cupsFileNumber(out), RunUser, Group); + + /* + * Try the localized banner file under the subdirectory... + */ + + strlcpy(attrname, job->attrs->attrs->next->values[0].string.text, + sizeof(attrname)); + if (strlen(attrname) > 2 && attrname[2] == '-') + { + /* + * Convert ll-cc to ll_CC... + */ + + attrname[2] = '_'; + attrname[3] = (char)toupper(attrname[3] & 255); + attrname[4] = (char)toupper(attrname[4] & 255); + } + + snprintf(filename, sizeof(filename), "%s/banners/%s/%s", DataDir, + attrname, name); + + if (access(filename, 0) && strlen(attrname) > 2) + { + /* + * Wasn't able to find "ll_CC" locale file; try the non-national + * localization banner directory. + */ + + attrname[2] = '\0'; + + snprintf(filename, sizeof(filename), "%s/banners/%s/%s", DataDir, + attrname, name); + } + + if (access(filename, 0)) + { + /* + * Use the non-localized banner file. + */ + + snprintf(filename, sizeof(filename), "%s/banners/%s", DataDir, name); + } + + if ((in = cupsFileOpen(filename, "r")) == NULL) + { + cupsFileClose(out); + unlink(filename); + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to open banner template file %s - %s", + filename, strerror(errno)); + job->num_files --; + return (0); + } + + /* + * Parse the file to the end... + */ + + while ((ch = cupsFileGetChar(in)) != EOF) + if (ch == '{') + { + /* + * Get an attribute name... + */ + + for (s = attrname; (ch = cupsFileGetChar(in)) != EOF;) + if (!isalpha(ch & 255) && ch != '-' && ch != '?') + break; + else if (s < (attrname + sizeof(attrname) - 1)) + *s++ = (char)ch; + else + break; + + *s = '\0'; + + if (ch != '}') + { + /* + * Ignore { followed by stuff that is not an attribute name... + */ + + cupsFilePrintf(out, "{%s%c", attrname, ch); + continue; + } + + /* + * See if it is defined... + */ + + if (attrname[0] == '?') + s = attrname + 1; + else + s = attrname; + + if (!strcmp(s, "printer-name")) + { + cupsFilePuts(out, job->dest); + continue; + } + else if ((attr = ippFindAttribute(job->attrs, s, IPP_TAG_ZERO)) == NULL) + { + /* + * See if we have a leading question mark... + */ + + if (attrname[0] != '?') + { + /* + * Nope, write to file as-is; probably a PostScript procedure... + */ + + cupsFilePrintf(out, "{%s}", attrname); + } + + continue; + } + + /* + * Output value(s)... + */ + + for (i = 0; i < attr->num_values; i ++) + { + if (i) + cupsFilePutChar(out, ','); + + switch (attr->value_tag) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + if (!strncmp(s, "time-at-", 8)) + { + struct timeval tv; /* Time value */ + + tv.tv_sec = attr->values[i].integer; + tv.tv_usec = 0; + + cupsFilePuts(out, cupsdGetDateTime(&tv, CUPSD_TIME_STANDARD)); + } + else + cupsFilePrintf(out, "%d", attr->values[i].integer); + break; + + case IPP_TAG_BOOLEAN : + cupsFilePrintf(out, "%d", attr->values[i].boolean); + break; + + case IPP_TAG_NOVALUE : + cupsFilePuts(out, "novalue"); + break; + + case IPP_TAG_RANGE : + cupsFilePrintf(out, "%d-%d", attr->values[i].range.lower, + attr->values[i].range.upper); + break; + + case IPP_TAG_RESOLUTION : + cupsFilePrintf(out, "%dx%d%s", attr->values[i].resolution.xres, + attr->values[i].resolution.yres, + attr->values[i].resolution.units == IPP_RES_PER_INCH ? + "dpi" : "dpcm"); + break; + + case IPP_TAG_URI : + case IPP_TAG_STRING : + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + if (!_cups_strcasecmp(banner->filetype->type, "postscript")) + { + /* + * Need to quote strings for PS banners... + */ + + const char *p; + + for (p = attr->values[i].string.text; *p; p ++) + { + if (*p == '(' || *p == ')' || *p == '\\') + { + cupsFilePutChar(out, '\\'); + cupsFilePutChar(out, *p); + } + else if (*p < 32 || *p > 126) + cupsFilePrintf(out, "\\%03o", *p & 255); + else + cupsFilePutChar(out, *p); + } + } + else + cupsFilePuts(out, attr->values[i].string.text); + break; + + default : + break; /* anti-compiler-warning-code */ + } + } + } + else if (ch == '\\') /* Quoted char */ + { + ch = cupsFileGetChar(in); + + if (ch != '{') /* Only do special handling for \{ */ + cupsFilePutChar(out, '\\'); + + cupsFilePutChar(out, ch); + } + else + cupsFilePutChar(out, ch); + + cupsFileClose(in); + + kbytes = (cupsFileTell(out) + 1023) / 1024; + + job->koctets += kbytes; + + if ((attr = ippFindAttribute(job->attrs, "job-k-octets", IPP_TAG_INTEGER)) != NULL) + attr->values[0].integer += kbytes; + + cupsFileClose(out); + + return (kbytes); +} + + +/* + * 'copy_file()' - Copy a PPD file... + */ + +static int /* O - 0 = success, -1 = error */ +copy_file(const char *from, /* I - Source file */ + const char *to, /* I - Destination file */ + mode_t mode) /* I - Permissions */ +{ + cups_file_t *src, /* Source file */ + *dst; /* Destination file */ + int bytes; /* Bytes to read/write */ + char buffer[2048]; /* Copy buffer */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "copy_file(\"%s\", \"%s\")", from, to); + + /* + * Open the source and destination file for a copy... + */ + + if ((src = cupsFileOpen(from, "rb")) == NULL) + return (-1); + + if ((dst = cupsdCreateConfFile(to, mode)) == NULL) + { + cupsFileClose(src); + return (-1); + } + + /* + * Copy the source file to the destination... + */ + + while ((bytes = cupsFileRead(src, buffer, sizeof(buffer))) > 0) + if (cupsFileWrite(dst, buffer, (size_t)bytes) < bytes) + { + cupsFileClose(src); + cupsFileClose(dst); + return (-1); + } + + /* + * Close both files and return... + */ + + cupsFileClose(src); + + return (cupsdCloseCreatedConfFile(dst, to)); +} + + +/* + * 'copy_model()' - Copy a PPD model file, substituting default values + * as needed... + */ + +static int /* O - 0 = success, -1 = error */ +copy_model(cupsd_client_t *con, /* I - Client connection */ + const char *from, /* I - Source file */ + const char *to) /* I - Destination file */ +{ + fd_set input; /* select() input set */ + struct timeval timeout; /* select() timeout */ + int maxfd; /* Max file descriptor for select() */ + char tempfile[1024]; /* Temporary PPD file */ + int tempfd; /* Temporary PPD file descriptor */ + int temppid; /* Process ID of cups-driverd */ + int temppipe[2]; /* Temporary pipes */ + char *argv[4], /* Command-line arguments */ + *envp[MAX_ENV]; /* Environment */ + cups_file_t *src, /* Source file */ + *dst; /* Destination file */ + ppd_file_t *ppd; /* PPD file */ + int bytes, /* Bytes from pipe */ + total; /* Total bytes from pipe */ + char buffer[2048]; /* Copy buffer */ + int i; /* Looping var */ + char option[PPD_MAX_NAME], /* Option name */ + choice[PPD_MAX_NAME]; /* Choice name */ + ppd_size_t *size; /* Default size */ + int num_defaults; /* Number of default options */ + cups_option_t *defaults; /* Default options */ + char cups_protocol[PPD_MAX_LINE]; + /* cupsProtocol attribute */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "copy_model(con=%p, from=\"%s\", to=\"%s\")", con, from, to); + + /* + * Run cups-driverd to get the PPD file... + */ + + argv[0] = "cups-driverd"; + argv[1] = "cat"; + argv[2] = (char *)from; + argv[3] = NULL; + + cupsdLoadEnv(envp, (int)(sizeof(envp) / sizeof(envp[0]))); + + snprintf(buffer, sizeof(buffer), "%s/daemon/cups-driverd", ServerBin); + snprintf(tempfile, sizeof(tempfile), "%s/%d.ppd", TempDir, con->number); + tempfd = open(tempfile, O_WRONLY | O_CREAT | O_TRUNC, 0600); + if (tempfd < 0 || cupsdOpenPipe(temppipe)) + return (-1); + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "copy_model: Running \"cups-driverd cat %s\"...", from); + + if (!cupsdStartProcess(buffer, argv, envp, -1, temppipe[1], CGIPipes[1], + -1, -1, 0, DefaultProfile, NULL, &temppid)) + { + close(tempfd); + unlink(tempfile); + + return (-1); + } + + close(temppipe[1]); + + /* + * Wait up to 30 seconds for the PPD file to be copied... + */ + + total = 0; + + if (temppipe[0] > CGIPipes[0]) + maxfd = temppipe[0] + 1; + else + maxfd = CGIPipes[0] + 1; + + for (;;) + { + /* + * See if we have data ready... + */ + + FD_ZERO(&input); + FD_SET(temppipe[0], &input); + FD_SET(CGIPipes[0], &input); + + timeout.tv_sec = 30; + timeout.tv_usec = 0; + + if ((i = select(maxfd, &input, NULL, NULL, &timeout)) < 0) + { + if (errno == EINTR) + continue; + else + break; + } + else if (i == 0) + { + /* + * We have timed out... + */ + + break; + } + + if (FD_ISSET(temppipe[0], &input)) + { + /* + * Read the PPD file from the pipe, and write it to the PPD file. + */ + + if ((bytes = read(temppipe[0], buffer, sizeof(buffer))) > 0) + { + if (write(tempfd, buffer, (size_t)bytes) < bytes) + break; + + total += bytes; + } + else + break; + } + + if (FD_ISSET(CGIPipes[0], &input)) + cupsdUpdateCGI(); + } + + close(temppipe[0]); + close(tempfd); + + if (!total) + { + /* + * No data from cups-deviced... + */ + + cupsdLogMessage(CUPSD_LOG_ERROR, "copy_model: empty PPD file"); + unlink(tempfile); + return (-1); + } + + /* + * Open the source file for a copy... + */ + + if ((src = cupsFileOpen(tempfile, "rb")) == NULL) + { + unlink(tempfile); + return (-1); + } + + /* + * Read the source file and see what page sizes are supported... + */ + + if ((ppd = _ppdOpen(src, _PPD_LOCALIZATION_NONE)) == NULL) + { + cupsFileClose(src); + unlink(tempfile); + return (-1); + } + + /* + * Open the destination (if possible) and set the default options... + */ + + num_defaults = 0; + defaults = NULL; + cups_protocol[0] = '\0'; + + if ((dst = cupsFileOpen(to, "rb")) != NULL) + { + /* + * Read all of the default lines from the old PPD... + */ + + while (cupsFileGets(dst, buffer, sizeof(buffer))) + if (!strncmp(buffer, "*Default", 8)) + { + /* + * Add the default option... + */ + + if (!ppd_parse_line(buffer, option, sizeof(option), + choice, sizeof(choice))) + { + ppd_option_t *ppdo; /* PPD option */ + + + /* + * Only add the default if the default hasn't already been + * set and the choice exists in the new PPD... + */ + + if (!cupsGetOption(option, num_defaults, defaults) && + (ppdo = ppdFindOption(ppd, option)) != NULL && + ppdFindChoice(ppdo, choice)) + num_defaults = cupsAddOption(option, choice, num_defaults, + &defaults); + } + } + else if (!strncmp(buffer, "*cupsProtocol:", 14)) + strlcpy(cups_protocol, buffer, sizeof(cups_protocol)); + + cupsFileClose(dst); + } + else if ((size = ppdPageSize(ppd, DefaultPaperSize)) != NULL) + { + /* + * Add the default media sizes... + */ + + num_defaults = cupsAddOption("PageSize", size->name, + num_defaults, &defaults); + num_defaults = cupsAddOption("PageRegion", size->name, + num_defaults, &defaults); + num_defaults = cupsAddOption("PaperDimension", size->name, + num_defaults, &defaults); + num_defaults = cupsAddOption("ImageableArea", size->name, + num_defaults, &defaults); + } + + ppdClose(ppd); + + /* + * Open the destination file for a copy... + */ + + if ((dst = cupsdCreateConfFile(to, ConfigFilePerm)) == NULL) + { + cupsFreeOptions(num_defaults, defaults); + cupsFileClose(src); + unlink(tempfile); + return (-1); + } + + /* + * Copy the source file to the destination... + */ + + cupsFileRewind(src); + + while (cupsFileGets(src, buffer, sizeof(buffer))) + { + if (!strncmp(buffer, "*Default", 8)) + { + /* + * Check for an previous default option choice... + */ + + if (!ppd_parse_line(buffer, option, sizeof(option), + choice, sizeof(choice))) + { + const char *val; /* Default option value */ + + + if ((val = cupsGetOption(option, num_defaults, defaults)) != NULL) + { + /* + * Substitute the previous choice... + */ + + snprintf(buffer, sizeof(buffer), "*Default%s: %s", option, val); + } + } + } + + cupsFilePrintf(dst, "%s\n", buffer); + } + + if (cups_protocol[0]) + cupsFilePrintf(dst, "%s\n", cups_protocol); + + cupsFreeOptions(num_defaults, defaults); + + /* + * Close both files and return... + */ + + cupsFileClose(src); + + unlink(tempfile); + + return (cupsdCloseCreatedConfFile(dst, to)); +} + + +/* + * 'copy_job_attrs()' - Copy job attributes. + */ + +static void +copy_job_attrs(cupsd_client_t *con, /* I - Client connection */ + cupsd_job_t *job, /* I - Job */ + cups_array_t *ra, /* I - Requested attributes array */ + cups_array_t *exclude) /* I - Private attributes array */ +{ + char job_uri[HTTP_MAX_URI]; /* Job URI */ + + + /* + * Send the requested attributes for each job... + */ + + if (!cupsArrayFind(exclude, "all")) + { + if ((!exclude || !cupsArrayFind(exclude, "number-of-documents")) && + (!ra || cupsArrayFind(ra, "number-of-documents"))) + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_INTEGER, + "number-of-documents", job->num_files); + + if ((!exclude || !cupsArrayFind(exclude, "job-media-progress")) && + (!ra || cupsArrayFind(ra, "job-media-progress"))) + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_INTEGER, + "job-media-progress", job->progress); + + if ((!exclude || !cupsArrayFind(exclude, "job-more-info")) && + (!ra || cupsArrayFind(ra, "job-more-info"))) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, job_uri, sizeof(job_uri), "http", + NULL, con->clientname, con->clientport, "/jobs/%d", + job->id); + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_URI, + "job-more-info", NULL, job_uri); + } + + if (job->state_value > IPP_JOB_PROCESSING && + (!exclude || !cupsArrayFind(exclude, "job-preserved")) && + (!ra || cupsArrayFind(ra, "job-preserved"))) + ippAddBoolean(con->response, IPP_TAG_JOB, "job-preserved", + job->num_files > 0); + + if ((!exclude || !cupsArrayFind(exclude, "job-printer-up-time")) && + (!ra || cupsArrayFind(ra, "job-printer-up-time"))) + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_INTEGER, + "job-printer-up-time", time(NULL)); + } + + if (!ra || cupsArrayFind(ra, "job-printer-uri")) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, job_uri, sizeof(job_uri), "ipp", NULL, + con->clientname, con->clientport, + (job->dtype & CUPS_PRINTER_CLASS) ? "/classes/%s" : + "/printers/%s", + job->dest); + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_URI, + "job-printer-uri", NULL, job_uri); + } + + if (!ra || cupsArrayFind(ra, "job-uri")) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, job_uri, sizeof(job_uri), "ipp", NULL, + con->clientname, con->clientport, "/jobs/%d", + job->id); + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_URI, + "job-uri", NULL, job_uri); + } + + if (job->attrs) + { + copy_attrs(con->response, job->attrs, ra, IPP_TAG_JOB, 0, exclude); + } + else + { + /* + * Generate attributes from the job structure... + */ + + if (job->completed_time && (!ra || cupsArrayFind(ra, "date-time-at-completed"))) + ippAddDate(con->response, IPP_TAG_JOB, "date-time-at-completed", ippTimeToDate(job->completed_time)); + + if (job->creation_time && (!ra || cupsArrayFind(ra, "date-time-at-creation"))) + ippAddDate(con->response, IPP_TAG_JOB, "date-time-at-creation", ippTimeToDate(job->creation_time)); + + if (!ra || cupsArrayFind(ra, "job-id")) + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-id", job->id); + + if (!ra || cupsArrayFind(ra, "job-k-octets")) + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-k-octets", job->koctets); + + if (job->name && (!ra || cupsArrayFind(ra, "job-name"))) + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_NAME, "job-name", NULL, job->name); + + if (job->username && (!ra || cupsArrayFind(ra, "job-originating-user-name"))) + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_NAME, "job-originating-user-name", NULL, job->username); + + if (!ra || cupsArrayFind(ra, "job-state")) + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_ENUM, "job-state", (int)job->state_value); + + if (!ra || cupsArrayFind(ra, "job-state-reasons")) + { + switch (job->state_value) + { + default : /* Should never get here for processing, pending, held, or stopped jobs since they don't get unloaded... */ + break; + case IPP_JSTATE_ABORTED : + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_KEYWORD, "job-state-reasons", NULL, "job-aborted-by-system"); + break; + case IPP_JSTATE_CANCELED : + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_KEYWORD, "job-state-reasons", NULL, "job-canceled-by-user"); + break; + case IPP_JSTATE_COMPLETED : + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_KEYWORD, "job-state-reasons", NULL, "job-completed-successfully"); + break; + } + } + + if (job->completed_time && (!ra || cupsArrayFind(ra, "time-at-completed"))) + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_INTEGER, "time-at-completed", (int)job->completed_time); + + if (job->creation_time && (!ra || cupsArrayFind(ra, "time-at-creation"))) + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_INTEGER, "time-at-creation", (int)job->creation_time); + } +} + + +/* + * 'copy_printer_attrs()' - Copy printer attributes. + */ + +static void +copy_printer_attrs( + cupsd_client_t *con, /* I - Client connection */ + cupsd_printer_t *printer, /* I - Printer */ + cups_array_t *ra) /* I - Requested attributes array */ +{ + char uri[HTTP_MAX_URI]; /* URI value */ + time_t curtime; /* Current time */ + int i; /* Looping var */ + int is_encrypted = httpIsEncrypted(con->http); + /* Is the connection encrypted? */ + + + /* + * Copy the printer attributes to the response using requested-attributes + * and document-format attributes that may be provided by the client. + */ + + _cupsRWLockRead(&printer->lock); + + curtime = time(NULL); + + if (!ra || cupsArrayFind(ra, "marker-change-time")) + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "marker-change-time", printer->marker_time); + + if (printer->num_printers > 0 && (!ra || cupsArrayFind(ra, "member-uris"))) + { + ipp_attribute_t *member_uris; /* member-uris attribute */ + cupsd_printer_t *p2; /* Printer in class */ + ipp_attribute_t *p2_uri; /* printer-uri-supported for class printer */ + + + if ((member_uris = ippAddStrings(con->response, IPP_TAG_PRINTER, IPP_TAG_URI, "member-uris", printer->num_printers, NULL, NULL)) != NULL) + { + for (i = 0; i < printer->num_printers; i ++) + { + p2 = printer->printers[i]; + + if ((p2_uri = ippFindAttribute(p2->attrs, "printer-uri-supported", IPP_TAG_URI)) != NULL) + { + member_uris->values[i].string.text = _cupsStrAlloc(p2_uri->values[0].string.text); + } + else + { + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), is_encrypted ? "ipps" : "ipp", NULL, con->clientname, con->clientport, (p2->type & CUPS_PRINTER_CLASS) ? "/classes/%s" : "/printers/%s", p2->name); + member_uris->values[i].string.text = _cupsStrAlloc(uri); + } + } + } + } + + if (printer->alert && (!ra || cupsArrayFind(ra, "printer-alert"))) + ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_STRING, "printer-alert", NULL, printer->alert); + + if (printer->alert_description && (!ra || cupsArrayFind(ra, "printer-alert-description"))) + ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-alert-description", NULL, printer->alert_description); + + if (!ra || cupsArrayFind(ra, "printer-config-change-date-time")) + ippAddDate(con->response, IPP_TAG_PRINTER, "printer-config-change-date-time", ippTimeToDate(printer->config_time)); + + if (!ra || cupsArrayFind(ra, "printer-config-change-time")) + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "printer-config-change-time", printer->config_time); + + if (!ra || cupsArrayFind(ra, "printer-current-time")) + ippAddDate(con->response, IPP_TAG_PRINTER, "printer-current-time", ippTimeToDate(curtime)); + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + if (!ra || cupsArrayFind(ra, "printer-dns-sd-name")) + { + if (printer->reg_name) + ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_NAME, "printer-dns-sd-name", NULL, printer->reg_name); + else + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_NOVALUE, "printer-dns-sd-name", 0); + } +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + if (!ra || cupsArrayFind(ra, "printer-error-policy")) + ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_NAME, "printer-error-policy", NULL, printer->error_policy); + + if (!ra || cupsArrayFind(ra, "printer-error-policy-supported")) + { + static const char * const errors[] =/* printer-error-policy-supported values */ + { + "abort-job", + "retry-current-job", + "retry-job", + "stop-printer" + }; + + if (printer->type & CUPS_PRINTER_CLASS) + ippAddString(con->response, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_NAME), "printer-error-policy-supported", NULL, "retry-current-job"); + else + ippAddStrings(con->response, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_NAME), "printer-error-policy-supported", sizeof(errors) / sizeof(errors[0]), NULL, errors); + } + + if (!ra || cupsArrayFind(ra, "printer-icons")) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), is_encrypted ? "https" : "http", NULL, con->clientname, con->clientport, "/icons/%s.png", printer->name); + ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-icons", NULL, uri); + cupsdLogMessage(CUPSD_LOG_DEBUG2, "printer-icons=\"%s\"", uri); + } + + if (!ra || cupsArrayFind(ra, "printer-is-accepting-jobs")) + ippAddBoolean(con->response, IPP_TAG_PRINTER, "printer-is-accepting-jobs", (char)printer->accepting); + + if (!ra || cupsArrayFind(ra, "printer-is-shared")) + ippAddBoolean(con->response, IPP_TAG_PRINTER, "printer-is-shared", (char)printer->shared); + + if (!ra || cupsArrayFind(ra, "printer-is-temporary")) + ippAddBoolean(con->response, IPP_TAG_PRINTER, "printer-is-temporary", (char)printer->temporary); + + if (!ra || cupsArrayFind(ra, "printer-more-info")) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), is_encrypted ? "https" : "http", NULL, con->clientname, con->clientport, (printer->type & CUPS_PRINTER_CLASS) ? "/classes/%s" : "/printers/%s", printer->name); + ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-more-info", NULL, uri); + } + + if (!ra || cupsArrayFind(ra, "printer-op-policy")) + ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_NAME, "printer-op-policy", NULL, printer->op_policy); + + if (!ra || cupsArrayFind(ra, "printer-state")) + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_ENUM, "printer-state", (int)printer->state); + + if (!ra || cupsArrayFind(ra, "printer-state-change-date-time")) + ippAddDate(con->response, IPP_TAG_PRINTER, "printer-state-change-date-time", ippTimeToDate(printer->state_time)); + + if (!ra || cupsArrayFind(ra, "printer-state-change-time")) + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "printer-state-change-time", printer->state_time); + + if (!ra || cupsArrayFind(ra, "printer-state-message")) + ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-state-message", NULL, printer->state_message); + + if (!ra || cupsArrayFind(ra, "printer-state-reasons")) + add_printer_state_reasons(con, printer); + + if (!ra || cupsArrayFind(ra, "printer-strings-uri")) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), is_encrypted ? "https" : "http", NULL, con->clientname, con->clientport, "/strings/%s.strings", printer->name); + ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-strings-uri", NULL, uri); + cupsdLogMessage(CUPSD_LOG_DEBUG2, "printer-strings-uri=\"%s\"", uri); + } + + if (!ra || cupsArrayFind(ra, "printer-type")) + { + cups_ptype_t type; /* printer-type value */ + + /* + * Add the CUPS-specific printer-type attribute... + */ + + type = printer->type; + + if (printer == DefaultPrinter) + type |= CUPS_PRINTER_DEFAULT; + + if (!printer->accepting) + type |= CUPS_PRINTER_REJECTING; + + if (!printer->shared) + type |= CUPS_PRINTER_NOT_SHARED; + + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_ENUM, "printer-type", (int)type); + } + + if (!ra || cupsArrayFind(ra, "printer-up-time")) + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "printer-up-time", curtime); + + if (!ra || cupsArrayFind(ra, "printer-uri-supported")) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), is_encrypted ? "ipps" : "ipp", NULL, con->clientname, con->clientport, (printer->type & CUPS_PRINTER_CLASS) ? "/classes/%s" : "/printers/%s", printer->name); + ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-uri-supported", NULL, uri); + cupsdLogMessage(CUPSD_LOG_DEBUG2, "printer-uri-supported=\"%s\"", uri); + } + + if (!ra || cupsArrayFind(ra, "queued-job-count")) + add_queued_job_count(con, printer); + + copy_attrs(con->response, printer->attrs, ra, IPP_TAG_ZERO, 0, NULL); + if (printer->ppd_attrs) + copy_attrs(con->response, printer->ppd_attrs, ra, IPP_TAG_ZERO, 0, NULL); + copy_attrs(con->response, CommonData, ra, IPP_TAG_ZERO, IPP_TAG_COPY, NULL); + + _cupsRWUnlock(&printer->lock); +} + + +/* + * 'copy_subscription_attrs()' - Copy subscription attributes. + */ + +static void +copy_subscription_attrs( + cupsd_client_t *con, /* I - Client connection */ + cupsd_subscription_t *sub, /* I - Subscription */ + cups_array_t *ra, /* I - Requested attributes array */ + cups_array_t *exclude) /* I - Private attributes array */ +{ + ipp_attribute_t *attr; /* Current attribute */ + char printer_uri[HTTP_MAX_URI]; + /* Printer URI */ + int count; /* Number of events */ + unsigned mask; /* Current event mask */ + const char *name; /* Current event name */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "copy_subscription_attrs(con=%p, sub=%p, ra=%p, exclude=%p)", + con, sub, ra, exclude); + + /* + * Copy the subscription attributes to the response using the + * requested-attributes attribute that may be provided by the client. + */ + + if (!exclude || !cupsArrayFind(exclude, "all")) + { + if ((!exclude || !cupsArrayFind(exclude, "notify-events")) && + (!ra || cupsArrayFind(ra, "notify-events"))) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "copy_subscription_attrs: notify-events"); + + if ((name = cupsdEventName((cupsd_eventmask_t)sub->mask)) != NULL) + { + /* + * Simple event list... + */ + + ippAddString(con->response, IPP_TAG_SUBSCRIPTION, IPP_CONST_TAG(IPP_TAG_KEYWORD), "notify-events", NULL, name); + } + else + { + /* + * Complex event list... + */ + + for (mask = 1, count = 0; mask < CUPSD_EVENT_ALL; mask <<= 1) + if (sub->mask & mask) + count ++; + + attr = ippAddStrings(con->response, IPP_TAG_SUBSCRIPTION, IPP_CONST_TAG(IPP_TAG_KEYWORD), "notify-events", count, NULL, NULL); + + for (mask = 1, count = 0; mask < CUPSD_EVENT_ALL; mask <<= 1) + if (sub->mask & mask) + { + attr->values[count].string.text = (char *)cupsdEventName((cupsd_eventmask_t)mask); + + count ++; + } + } + } + + if ((!exclude || !cupsArrayFind(exclude, "notify-lease-duration")) && + (!sub->job && (!ra || cupsArrayFind(ra, "notify-lease-duration")))) + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_INTEGER, + "notify-lease-duration", sub->lease); + + if ((!exclude || !cupsArrayFind(exclude, "notify-recipient-uri")) && + (sub->recipient && (!ra || cupsArrayFind(ra, "notify-recipient-uri")))) + ippAddString(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_URI, + "notify-recipient-uri", NULL, sub->recipient); + else if ((!exclude || !cupsArrayFind(exclude, "notify-pull-method")) && + (!ra || cupsArrayFind(ra, "notify-pull-method"))) + ippAddString(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_KEYWORD, + "notify-pull-method", NULL, "ippget"); + + if ((!exclude || !cupsArrayFind(exclude, "notify-subscriber-user-name")) && + (!ra || cupsArrayFind(ra, "notify-subscriber-user-name"))) + ippAddString(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_NAME, + "notify-subscriber-user-name", NULL, sub->owner); + + if ((!exclude || !cupsArrayFind(exclude, "notify-time-interval")) && + (!ra || cupsArrayFind(ra, "notify-time-interval"))) + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_INTEGER, + "notify-time-interval", sub->interval); + + if (sub->user_data_len > 0 && + (!exclude || !cupsArrayFind(exclude, "notify-user-data")) && + (!ra || cupsArrayFind(ra, "notify-user-data"))) + ippAddOctetString(con->response, IPP_TAG_SUBSCRIPTION, "notify-user-data", + sub->user_data, sub->user_data_len); + } + + if (sub->job && (!ra || cupsArrayFind(ra, "notify-job-id"))) + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_INTEGER, + "notify-job-id", sub->job->id); + + if (sub->dest && (!ra || cupsArrayFind(ra, "notify-printer-uri"))) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, printer_uri, sizeof(printer_uri), + "ipp", NULL, con->clientname, con->clientport, + "/printers/%s", sub->dest->name); + ippAddString(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_URI, + "notify-printer-uri", NULL, printer_uri); + } + + if (!ra || cupsArrayFind(ra, "notify-subscription-id")) + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_INTEGER, + "notify-subscription-id", sub->id); +} + + +/* + * 'create_job()' - Print a file to a printer or class. + */ + +static void +create_job(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + int i; /* Looping var */ + cupsd_printer_t *printer; /* Printer */ + cupsd_job_t *job; /* New job */ + static const char * const forbidden_attrs[] = + { /* List of forbidden attributes */ + "compression", + "document-format", + "document-name", + "document-natural-language" + }; + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "create_job(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, NULL, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check for invalid Create-Job attributes and log a warning or error depending + * on whether cupsd is running in "strict conformance" mode... + */ + + for (i = 0; + i < (int)(sizeof(forbidden_attrs) / sizeof(forbidden_attrs[0])); + i ++) + if (ippFindAttribute(con->request, forbidden_attrs[i], IPP_TAG_ZERO)) + { + if (StrictConformance) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("The '%s' operation attribute cannot be supplied in a " + "Create-Job request."), forbidden_attrs[i]); + return; + } + + cupsdLogMessage(CUPSD_LOG_WARN, + "Unexpected '%s' operation attribute in a Create-Job " + "request.", forbidden_attrs[i]); + } + + /* + * Create the job object... + */ + + if ((job = add_job(con, printer, NULL)) == NULL) + return; + + job->pending_timeout = 1; + + /* + * Save and log the job... + */ + + cupsdLogJob(job, CUPSD_LOG_INFO, "Queued on \"%s\" by \"%s\".", + job->dest, job->username); +} + + +/* + * 'create_local_bg_thread()' - Background thread for creating a local print queue. + */ + +static void * /* O - Exit status */ +create_local_bg_thread( + cupsd_printer_t *printer) /* I - Printer */ +{ + cups_file_t *from, /* Source file */ + *to; /* Destination file */ + char fromppd[1024], /* Source PPD */ + toppd[1024], /* Destination PPD */ + scheme[32], /* URI scheme */ + userpass[256], /* User:pass */ + host[256], /* Hostname */ + resource[1024], /* Resource path */ + line[1024]; /* Line from PPD */ + int port; /* Port number */ + http_encryption_t encryption; /* Type of encryption to use */ + http_t *http; /* Connection to printer */ + ipp_t *request, /* Request to printer */ + *response; /* Response from printer */ + ipp_attribute_t *attr; /* Attribute in response */ + ipp_status_t status; /* Status code */ + static const char * const pattrs[] = /* Printer attributes we need */ + { + "all", + "media-col-database" + }; + + + /* + * Try connecting to the printer... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "%s: Generating PPD file from \"%s\"...", printer->name, printer->device_uri); + + if (httpSeparateURI(HTTP_URI_CODING_ALL, printer->device_uri, scheme, sizeof(scheme), userpass, sizeof(userpass), host, sizeof(host), &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "%s: Bad device URI \"%s\".", printer->name, printer->device_uri); + return (NULL); + } + + if (!strcmp(scheme, "ipps") || port == 443) + encryption = HTTP_ENCRYPTION_ALWAYS; + else + encryption = HTTP_ENCRYPTION_IF_REQUESTED; + + if ((http = httpConnect2(host, port, NULL, AF_UNSPEC, encryption, 1, 30000, NULL)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "%s: Unable to connect to %s:%d: %s", printer->name, host, port, cupsLastErrorString()); + return (NULL); + } + + /* + * Query the printer for its capabilities... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "%s: Connected to %s:%d, sending Get-Printer-Attributes request...", printer->name, host, port); + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippSetVersion(request, 2, 0); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, printer->device_uri); + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", (int)(sizeof(pattrs) / sizeof(pattrs[0])), NULL, pattrs); + + response = cupsDoRequest(http, request, resource); + status = cupsLastError(); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "%s: Get-Printer-Attributes returned %s (%s)", printer->name, ippErrorString(cupsLastError()), cupsLastErrorString()); + + if (status == IPP_STATUS_ERROR_BAD_REQUEST || status == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + /* + * Try request using IPP/1.1, in case we are talking to an old CUPS server or + * printer... + */ + + ippDelete(response); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "%s: Re-sending Get-Printer-Attributes request using IPP/1.1...", printer->name); + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippSetVersion(request, 1, 1); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, printer->device_uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", NULL, "all"); + + response = cupsDoRequest(http, request, resource); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "%s: IPP/1.1 Get-Printer-Attributes returned %s (%s)", printer->name, ippErrorString(cupsLastError()), cupsLastErrorString()); + } + + // TODO: Grab printer icon file... + httpClose(http); + + /* + * Write the PPD for the queue... + */ + + if (_ppdCreateFromIPP(fromppd, sizeof(fromppd), response)) + { + _cupsRWLockWrite(&printer->lock); + + if ((!printer->info || !*(printer->info)) && (attr = ippFindAttribute(response, "printer-info", IPP_TAG_TEXT)) != NULL) + cupsdSetString(&printer->info, ippGetString(attr, 0, NULL)); + + if ((!printer->location || !*(printer->location)) && (attr = ippFindAttribute(response, "printer-location", IPP_TAG_TEXT)) != NULL) + cupsdSetString(&printer->location, ippGetString(attr, 0, NULL)); + + if ((!printer->geo_location || !*(printer->geo_location)) && (attr = ippFindAttribute(response, "printer-geo-location", IPP_TAG_URI)) != NULL) + cupsdSetString(&printer->geo_location, ippGetString(attr, 0, NULL)); + + _cupsRWUnlock(&printer->lock); + + if ((from = cupsFileOpen(fromppd, "r")) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "%s: Unable to read generated PPD: %s", printer->name, strerror(errno)); + return (NULL); + } + + snprintf(toppd, sizeof(toppd), "%s/ppd/%s.ppd", ServerRoot, printer->name); + if ((to = cupsdCreateConfFile(toppd, ConfigFilePerm)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "%s: Unable to create PPD for printer: %s", printer->name, strerror(errno)); + cupsFileClose(from); + return (NULL); + } + + while (cupsFileGets(from, line, sizeof(line))) + cupsFilePrintf(to, "%s\n", line); + + cupsFileClose(from); + if (!cupsdCloseCreatedConfFile(to, toppd)) + { + printer->config_time = time(NULL); + printer->state = IPP_PSTATE_IDLE; + printer->accepting = 1; + + cupsdSetPrinterAttrs(printer); + + cupsdAddEvent(CUPSD_EVENT_PRINTER_CONFIG, printer, NULL, "Printer \"%s\" is now available.", printer->name); + cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" is now available.", printer->name); + } + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, "%s: PPD creation failed: %s", printer->name, cupsLastErrorString()); + + return (NULL); +} + + +/* + * 'create_local_printer()' - Create a local (temporary) print queue. + */ + +static void +create_local_printer( + cupsd_client_t *con) /* I - Client connection */ +{ + ipp_attribute_t *device_uri, /* device-uri attribute */ + *printer_geo_location, /* printer-geo-location attribute */ + *printer_info, /* printer-info attribute */ + *printer_location, /* printer-location attribute */ + *printer_name; /* printer-name attribute */ + cupsd_printer_t *printer; /* New printer */ + http_status_t status; /* Policy status */ + char name[128], /* Sanitized printer name */ + *nameptr, /* Pointer into name */ + uri[1024]; /* printer-uri-supported value */ + const char *ptr; /* Pointer into attribute value */ + + + /* + * Require local access to create a local printer... + */ + + if (!httpAddrLocalhost(httpGetAddress(con->http))) + { + send_ipp_status(con, IPP_STATUS_ERROR_FORBIDDEN, _("Only local users can create a local printer.")); + return; + } + + /* + * Check any other policy limits... + */ + + if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + /* + * Grab needed attributes... + */ + + if ((printer_name = ippFindAttribute(con->request, "printer-name", IPP_TAG_ZERO)) == NULL || ippGetGroupTag(printer_name) != IPP_TAG_PRINTER || ippGetValueTag(printer_name) != IPP_TAG_NAME) + { + if (!printer_name) + send_ipp_status(con, IPP_STATUS_ERROR_BAD_REQUEST, _("Missing required attribute \"%s\"."), "printer-name"); + else if (ippGetGroupTag(printer_name) != IPP_TAG_PRINTER) + send_ipp_status(con, IPP_STATUS_ERROR_BAD_REQUEST, _("Attribute \"%s\" is in the wrong group."), "printer-name"); + else + send_ipp_status(con, IPP_STATUS_ERROR_BAD_REQUEST, _("Attribute \"%s\" is the wrong value type."), "printer-name"); + + return; + } + + for (nameptr = name, ptr = ippGetString(printer_name, 0, NULL); *ptr && nameptr < (name + sizeof(name) - 1); ptr ++) + { + /* + * Sanitize the printer name... + */ + + if (_cups_isalnum(*ptr)) + *nameptr++ = *ptr; + else if (nameptr == name || nameptr[-1] != '_') + *nameptr++ = '_'; + } + + *nameptr = '\0'; + + if ((device_uri = ippFindAttribute(con->request, "device-uri", IPP_TAG_ZERO)) == NULL || ippGetGroupTag(device_uri) != IPP_TAG_PRINTER || ippGetValueTag(device_uri) != IPP_TAG_URI) + { + if (!device_uri) + send_ipp_status(con, IPP_STATUS_ERROR_BAD_REQUEST, _("Missing required attribute \"%s\"."), "device-uri"); + else if (ippGetGroupTag(device_uri) != IPP_TAG_PRINTER) + send_ipp_status(con, IPP_STATUS_ERROR_BAD_REQUEST, _("Attribute \"%s\" is in the wrong group."), "device-uri"); + else + send_ipp_status(con, IPP_STATUS_ERROR_BAD_REQUEST, _("Attribute \"%s\" is the wrong value type."), "device-uri"); + + return; + } + + printer_geo_location = ippFindAttribute(con->request, "printer-geo-location", IPP_TAG_URI); + printer_info = ippFindAttribute(con->request, "printer-info", IPP_TAG_TEXT); + printer_location = ippFindAttribute(con->request, "printer-location", IPP_TAG_TEXT); + + /* + * See if the printer already exists... + */ + + if ((printer = cupsdFindDest(name)) != NULL) + { + send_ipp_status(con, IPP_STATUS_ERROR_NOT_POSSIBLE, _("Printer \"%s\" already exists."), name); + goto add_printer_attributes; + } + + /* + * Create the printer... + */ + + if ((printer = cupsdAddPrinter(name)) == NULL) + { + send_ipp_status(con, IPP_STATUS_ERROR_INTERNAL, _("Unable to create printer.")); + return; + } + + printer->shared = 0; + printer->temporary = 1; + + cupsdSetDeviceURI(printer, ippGetString(device_uri, 0, NULL)); + + if (printer_geo_location) + cupsdSetString(&printer->geo_location, ippGetString(printer_geo_location, 0, NULL)); + if (printer_info) + cupsdSetString(&printer->info, ippGetString(printer_info, 0, NULL)); + if (printer_location) + cupsdSetString(&printer->location, ippGetString(printer_location, 0, NULL)); + + cupsdSetPrinterAttrs(printer); + + /* + * Run a background thread to create the PPD... + */ + + _cupsThreadCreate((_cups_thread_func_t)create_local_bg_thread, printer); + + /* + * Return printer attributes... + */ + + send_ipp_status(con, IPP_STATUS_OK, _("Local printer created.")); + + add_printer_attributes: + + ippAddBoolean(con->response, IPP_TAG_PRINTER, "printer-is-accepting-jobs", (char)printer->accepting); + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_ENUM, "printer-state", (int)printer->state); + add_printer_state_reasons(con, printer); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), httpIsEncrypted(con->http) ? "ipps" : "ipp", NULL, con->clientname, con->clientport, "/printers/%s", printer->name); + ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-uri-supported", NULL, uri); +} + + +/* + * 'create_requested_array()' - Create an array for the requested-attributes. + */ + +static cups_array_t * /* O - Array of attributes or NULL */ +create_requested_array(ipp_t *request) /* I - IPP request */ +{ + cups_array_t *ra; /* Requested attributes array */ + + + /* + * Create the array for standard attributes... + */ + + ra = ippCreateRequestedArray(request); + + /* + * Add CUPS defaults as needed... + */ + + if (cupsArrayFind(ra, "printer-defaults")) + { + /* + * Include user-set defaults... + */ + + char *name; /* Option name */ + + cupsArrayRemove(ra, "printer-defaults"); + + for (name = (char *)cupsArrayFirst(CommonDefaults); + name; + name = (char *)cupsArrayNext(CommonDefaults)) + if (!cupsArrayFind(ra, name)) + cupsArrayAdd(ra, name); + } + + return (ra); +} + + +/* + * 'create_subscriptions()' - Create one or more notification subscriptions. + */ + +static void +create_subscriptions( + cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + http_status_t status; /* Policy status */ + int i; /* Looping var */ + ipp_attribute_t *attr; /* Current attribute */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + char scheme[HTTP_MAX_URI], + /* Scheme portion of URI */ + userpass[HTTP_MAX_URI], + /* Username portion of URI */ + host[HTTP_MAX_URI], + /* Host portion of URI */ + resource[HTTP_MAX_URI]; + /* Resource portion of URI */ + int port; /* Port portion of URI */ + cupsd_printer_t *printer; /* Printer/class */ + cupsd_job_t *job; /* Job */ + int jobid; /* Job ID */ + cupsd_subscription_t *sub; /* Subscription object */ + const char *username, /* requesting-user-name or + authenticated username */ + *recipient, /* notify-recipient-uri */ + *pullmethod; /* notify-pull-method */ + ipp_attribute_t *user_data; /* notify-user-data */ + int interval, /* notify-time-interval */ + lease; /* notify-lease-duration */ + unsigned mask; /* notify-events */ + ipp_attribute_t *notify_events,/* notify-events(-default) */ + *notify_lease; /* notify-lease-duration(-default) */ + + +#ifdef DEBUG + for (attr = con->request->attrs; attr; attr = attr->next) + { + if (attr->group_tag != IPP_TAG_ZERO) + cupsdLogMessage(CUPSD_LOG_DEBUG2, "g%04x v%04x %s", attr->group_tag, + attr->value_tag, attr->name); + else + cupsdLogMessage(CUPSD_LOG_DEBUG2, "----SEP----"); + } +#endif /* DEBUG */ + + /* + * Is the destination valid? + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "create_subscriptions(con=%p(%d), uri=\"%s\")", con, con->number, uri->values[0].string.text); + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), userpass, sizeof(userpass), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (!strcmp(resource, "/")) + { + dtype = (cups_ptype_t)0; + printer = NULL; + } + else if (!strncmp(resource, "/printers", 9) && strlen(resource) <= 10) + { + dtype = (cups_ptype_t)0; + printer = NULL; + } + else if (!strncmp(resource, "/classes", 8) && strlen(resource) <= 9) + { + dtype = CUPS_PRINTER_CLASS; + printer = NULL; + } + else if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if (printer) + { + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, + NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + } + else if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + /* + * Get the user that is requesting the subscription... + */ + + username = get_username(con); + + /* + * Find the first subscription group attribute; return if we have + * none... + */ + + for (attr = con->request->attrs; attr; attr = attr->next) + if (attr->group_tag == IPP_TAG_SUBSCRIPTION) + break; + + if (!attr) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("No subscription attributes in request.")); + return; + } + + /* + * Process the subscription attributes in the request... + */ + + con->response->request.status.status_code = IPP_BAD_REQUEST; + + while (attr) + { + recipient = NULL; + pullmethod = NULL; + user_data = NULL; + interval = 0; + lease = DefaultLeaseDuration; + jobid = 0; + mask = CUPSD_EVENT_NONE; + + if (printer) + { + notify_events = ippFindAttribute(printer->attrs, "notify-events-default", + IPP_TAG_KEYWORD); + notify_lease = ippFindAttribute(printer->attrs, + "notify-lease-duration-default", + IPP_TAG_INTEGER); + + if (notify_lease) + lease = notify_lease->values[0].integer; + } + else + { + notify_events = NULL; + notify_lease = NULL; + } + + while (attr && attr->group_tag != IPP_TAG_ZERO) + { + if (!strcmp(attr->name, "notify-recipient-uri") && + attr->value_tag == IPP_TAG_URI) + { + /* + * Validate the recipient scheme against the ServerBin/notifier + * directory... + */ + + char notifier[1024]; /* Notifier filename */ + + + recipient = attr->values[0].string.text; + + if (httpSeparateURI(HTTP_URI_CODING_ALL, recipient, + scheme, sizeof(scheme), userpass, sizeof(userpass), + host, sizeof(host), &port, + resource, sizeof(resource)) < HTTP_URI_OK) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Bad notify-recipient-uri \"%s\"."), recipient); + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_ENUM, + "notify-status-code", IPP_URI_SCHEME); + return; + } + + snprintf(notifier, sizeof(notifier), "%s/notifier/%s", ServerBin, + scheme); + if (access(notifier, X_OK) || !strcmp(scheme, ".") || !strcmp(scheme, "..")) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("notify-recipient-uri URI \"%s\" uses unknown " + "scheme."), recipient); + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_ENUM, + "notify-status-code", IPP_URI_SCHEME); + return; + } + + if (!strcmp(scheme, "rss") && !check_rss_recipient(recipient)) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("notify-recipient-uri URI \"%s\" is already used."), + recipient); + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_ENUM, + "notify-status-code", IPP_ATTRIBUTES); + return; + } + } + else if (!strcmp(attr->name, "notify-pull-method") && + attr->value_tag == IPP_TAG_KEYWORD) + { + pullmethod = attr->values[0].string.text; + + if (strcmp(pullmethod, "ippget")) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Bad notify-pull-method \"%s\"."), pullmethod); + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_ENUM, + "notify-status-code", IPP_ATTRIBUTES); + return; + } + } + else if (!strcmp(attr->name, "notify-charset") && + attr->value_tag == IPP_TAG_CHARSET && + strcmp(attr->values[0].string.text, "us-ascii") && + strcmp(attr->values[0].string.text, "utf-8")) + { + send_ipp_status(con, IPP_CHARSET, + _("Character set \"%s\" not supported."), + attr->values[0].string.text); + return; + } + else if (!strcmp(attr->name, "notify-natural-language") && + (attr->value_tag != IPP_TAG_LANGUAGE || + strcmp(attr->values[0].string.text, DefaultLanguage))) + { + send_ipp_status(con, IPP_CHARSET, + _("Language \"%s\" not supported."), + attr->values[0].string.text); + return; + } + else if (!strcmp(attr->name, "notify-user-data") && + attr->value_tag == IPP_TAG_STRING) + { + if (attr->num_values > 1 || attr->values[0].unknown.length > 63) + { + send_ipp_status(con, IPP_REQUEST_VALUE, + _("The notify-user-data value is too large " + "(%d > 63 octets)."), + attr->values[0].unknown.length); + return; + } + + user_data = attr; + } + else if (!strcmp(attr->name, "notify-events") && + attr->value_tag == IPP_TAG_KEYWORD) + notify_events = attr; + else if (!strcmp(attr->name, "notify-lease-duration") && + attr->value_tag == IPP_TAG_INTEGER) + lease = attr->values[0].integer; + else if (!strcmp(attr->name, "notify-time-interval") && + attr->value_tag == IPP_TAG_INTEGER) + interval = attr->values[0].integer; + else if (!strcmp(attr->name, "notify-job-id") && + attr->value_tag == IPP_TAG_INTEGER) + jobid = attr->values[0].integer; + + attr = attr->next; + } + + if (notify_events) + { + for (i = 0; i < notify_events->num_values; i ++) + mask |= cupsdEventValue(notify_events->values[i].string.text); + } + + if (recipient) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "recipient=\"%s\"", recipient); + + + if (!strncmp(recipient, "mailto:", 7) && user_data) + { + char temp[64]; /* Temporary string */ + + memcpy(temp, user_data->values[0].unknown.data, (size_t)user_data->values[0].unknown.length); + temp[user_data->values[0].unknown.length] = '\0'; + + if (httpSeparateURI(HTTP_URI_CODING_ALL, temp, scheme, sizeof(scheme), userpass, sizeof(userpass), host, sizeof(host), &port, resource, sizeof(resource)) < HTTP_URI_OK) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, _("Bad notify-user-data \"%s\"."), temp); + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_ENUM, "notify-status-code", IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES); + return; + } + } + } + + if (pullmethod) + cupsdLogMessage(CUPSD_LOG_DEBUG, "pullmethod=\"%s\"", pullmethod); + cupsdLogMessage(CUPSD_LOG_DEBUG, "notify-lease-duration=%d", lease); + cupsdLogMessage(CUPSD_LOG_DEBUG, "notify-time-interval=%d", interval); + + if (!recipient && !pullmethod) + break; + + if (mask == CUPSD_EVENT_NONE) + { + if (jobid) + mask = CUPSD_EVENT_JOB_COMPLETED; + else if (printer) + mask = CUPSD_EVENT_PRINTER_STATE_CHANGED; + else + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("notify-events not specified.")); + return; + } + } + + if (MaxLeaseDuration && (lease == 0 || lease > MaxLeaseDuration)) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "create_subscriptions: Limiting notify-lease-duration to " + "%d seconds.", + MaxLeaseDuration); + lease = MaxLeaseDuration; + } + + if (jobid) + { + if ((job = cupsdFindJob(jobid)) == NULL) + { + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), + jobid); + return; + } + } + else + job = NULL; + + if ((sub = cupsdAddSubscription(mask, printer, job, recipient, 0)) == NULL) + { + send_ipp_status(con, IPP_TOO_MANY_SUBSCRIPTIONS, + _("There are too many subscriptions.")); + return; + } + + if (job) + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added subscription #%d for job %d.", + sub->id, job->id); + else if (printer) + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Added subscription #%d for printer \"%s\".", + sub->id, printer->name); + else + cupsdLogMessage(CUPSD_LOG_DEBUG, "Added subscription #%d for server.", + sub->id); + + sub->interval = interval; + sub->lease = lease; + sub->expire = lease ? time(NULL) + lease : 0; + + cupsdSetString(&sub->owner, username); + + if (user_data) + { + sub->user_data_len = user_data->values[0].unknown.length; + memcpy(sub->user_data, user_data->values[0].unknown.data, + (size_t)sub->user_data_len); + } + + ippAddSeparator(con->response); + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_INTEGER, + "notify-subscription-id", sub->id); + + con->response->request.status.status_code = IPP_OK; + + if (attr) + attr = attr->next; + } + + cupsdMarkDirty(CUPSD_DIRTY_SUBSCRIPTIONS); +} + + +/* + * 'delete_printer()' - Remove a printer or class from the system. + */ + +static void +delete_printer(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - URI of printer or class */ +{ + http_status_t status; /* Policy status */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cupsd_printer_t *printer; /* Printer/class */ + char filename[1024]; /* Script/PPD filename */ + int temporary; /* Temporary queue? */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "delete_printer(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Do we have a valid URI? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + /* + * Remove old jobs... + */ + + cupsdCancelJobs(printer->name, NULL, 1); + + /* + * Remove old subscriptions and send a "deleted printer" event... + */ + + cupsdAddEvent(CUPSD_EVENT_PRINTER_DELETED, printer, NULL, + "%s \"%s\" deleted by \"%s\".", + (dtype & CUPS_PRINTER_CLASS) ? "Class" : "Printer", + printer->name, get_username(con)); + + cupsdExpireSubscriptions(printer, NULL); + + /* + * Remove any old PPD or script files... + */ + + snprintf(filename, sizeof(filename), "%s/ppd/%s.ppd", ServerRoot, + printer->name); + unlink(filename); + snprintf(filename, sizeof(filename), "%s/ppd/%s.ppd.O", ServerRoot, + printer->name); + unlink(filename); + + snprintf(filename, sizeof(filename), "%s/%s.png", CacheDir, printer->name); + unlink(filename); + + snprintf(filename, sizeof(filename), "%s/%s.data", CacheDir, printer->name); + unlink(filename); + + /* + * Unregister color profiles... + */ + + cupsdUnregisterColor(printer); + + temporary = printer->temporary; + + if (dtype & CUPS_PRINTER_CLASS) + { + cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" deleted by \"%s\".", + printer->name, get_username(con)); + + cupsdDeletePrinter(printer, 0); + if (!temporary) + cupsdMarkDirty(CUPSD_DIRTY_CLASSES); + } + else + { + cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" deleted by \"%s\".", + printer->name, get_username(con)); + + if (cupsdDeletePrinter(printer, 0) && !temporary) + cupsdMarkDirty(CUPSD_DIRTY_CLASSES); + + if (!temporary) + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + } + + if (!temporary) + cupsdMarkDirty(CUPSD_DIRTY_PRINTCAP); + + /* + * Return with no errors... + */ + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'get_default()' - Get the default destination. + */ + +static void +get_default(cupsd_client_t *con) /* I - Client connection */ +{ + http_status_t status; /* Policy status */ + cups_array_t *ra; /* Requested attributes array */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_default(%p[%d])", con, con->number); + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + if (DefaultPrinter) + { + ra = create_requested_array(con->request); + + copy_printer_attrs(con, DefaultPrinter, ra); + + cupsArrayDelete(ra); + + con->response->request.status.status_code = IPP_OK; + } + else + send_ipp_status(con, IPP_NOT_FOUND, _("No default printer.")); +} + + +/* + * 'get_devices()' - Get the list of available devices on the local system. + */ + +static void +get_devices(cupsd_client_t *con) /* I - Client connection */ +{ + http_status_t status; /* Policy status */ + ipp_attribute_t *limit, /* limit attribute */ + *timeout, /* timeout attribute */ + *requested, /* requested-attributes attribute */ + *exclude, /* exclude-schemes attribute */ + *include; /* include-schemes attribute */ + char command[1024], /* cups-deviced command */ + options[2048], /* Options to pass to command */ + requested_str[256], + /* String for requested attributes */ + exclude_str[512], + /* String for excluded schemes */ + include_str[512]; + /* String for included schemes */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_devices(%p[%d])", con, con->number); + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + /* + * Run cups-deviced command with the given options... + */ + + limit = ippFindAttribute(con->request, "limit", IPP_TAG_INTEGER); + timeout = ippFindAttribute(con->request, "timeout", IPP_TAG_INTEGER); + requested = ippFindAttribute(con->request, "requested-attributes", + IPP_TAG_KEYWORD); + exclude = ippFindAttribute(con->request, "exclude-schemes", IPP_TAG_NAME); + include = ippFindAttribute(con->request, "include-schemes", IPP_TAG_NAME); + + if (requested) + url_encode_attr(requested, requested_str, sizeof(requested_str)); + else + strlcpy(requested_str, "requested-attributes=all", sizeof(requested_str)); + + if (exclude) + url_encode_attr(exclude, exclude_str, sizeof(exclude_str)); + else + exclude_str[0] = '\0'; + + if (include) + url_encode_attr(include, include_str, sizeof(include_str)); + else + include_str[0] = '\0'; + + snprintf(command, sizeof(command), "%s/daemon/cups-deviced", ServerBin); + snprintf(options, sizeof(options), + "%d+%d+%d+%d+%s%s%s%s%s", + con->request->request.op.request_id, + limit ? limit->values[0].integer : 0, + timeout ? timeout->values[0].integer : 15, + (int)User, + requested_str, + exclude_str[0] ? "%20" : "", exclude_str, + include_str[0] ? "%20" : "", include_str); + + if (cupsdSendCommand(con, command, options, 1)) + { + /* + * Command started successfully, don't send an IPP response here... + */ + + ippDelete(con->response); + con->response = NULL; + } + else + { + /* + * Command failed, return "internal error" so the user knows something + * went wrong... + */ + + send_ipp_status(con, IPP_INTERNAL_ERROR, + _("cups-deviced failed to execute.")); + } +} + + +/* + * 'get_document()' - Get a copy of a job file. + */ + +static void +get_document(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Job URI */ +{ + http_status_t status; /* Policy status */ + ipp_attribute_t *attr; /* Current attribute */ + int jobid; /* Job ID */ + int docnum; /* Document number */ + cupsd_job_t *job; /* Current job */ + char scheme[HTTP_MAX_URI], /* Method portion of URI */ + username[HTTP_MAX_URI], /* Username portion of URI */ + host[HTTP_MAX_URI], /* Host portion of URI */ + resource[HTTP_MAX_URI]; /* Resource portion of URI */ + int port; /* Port portion of URI */ + char filename[1024], /* Filename for document */ + format[1024]; /* Format for document */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_document(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * See if we have a job URI or a printer URI... + */ + + if (!strcmp(uri->name, "printer-uri")) + { + /* + * Got a printer URI; see if we also have a job-id attribute... + */ + + if ((attr = ippFindAttribute(con->request, "job-id", + IPP_TAG_INTEGER)) == NULL) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Got a printer-uri attribute but no job-id.")); + return; + } + + jobid = attr->values[0].integer; + } + else + { + /* + * Got a job URI; parse it to get the job ID... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (strncmp(resource, "/jobs/", 6)) + { + /* + * Not a valid URI! + */ + + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad job-uri \"%s\"."), + uri->values[0].string.text); + return; + } + + jobid = atoi(resource + 6); + } + + /* + * See if the job exists... + */ + + if ((job = cupsdFindJob(jobid)) == NULL) + { + /* + * Nope - return a "not found" error... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), jobid); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, + job->username)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + /* + * Get the document number... + */ + + if ((attr = ippFindAttribute(con->request, "document-number", + IPP_TAG_INTEGER)) == NULL) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Missing document-number attribute.")); + return; + } + + if ((docnum = attr->values[0].integer) < 1 || docnum > job->num_files || + attr->num_values > 1) + { + send_ipp_status(con, IPP_NOT_FOUND, + _("Document #%d does not exist in job #%d."), docnum, + jobid); + return; + } + + snprintf(filename, sizeof(filename), "%s/d%05d-%03d", RequestRoot, jobid, + docnum); + if ((con->file = open(filename, O_RDONLY)) == -1) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to open document %d in job %d - %s", docnum, jobid, + strerror(errno)); + send_ipp_status(con, IPP_NOT_FOUND, + _("Unable to open document #%d in job #%d."), docnum, + jobid); + return; + } + + fcntl(con->file, F_SETFD, fcntl(con->file, F_GETFD) | FD_CLOEXEC); + + cupsdLoadJob(job); + + snprintf(format, sizeof(format), "%s/%s", job->filetypes[docnum - 1]->super, + job->filetypes[docnum - 1]->type); + + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_MIMETYPE, "document-format", + NULL, format); + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_INTEGER, "document-number", + docnum); + if ((attr = ippFindAttribute(job->attrs, "document-name", + IPP_TAG_NAME)) != NULL) + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_NAME, "document-name", + NULL, attr->values[0].string.text); +} + + +/* + * 'get_job_attrs()' - Get job attributes. + */ + +static void +get_job_attrs(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Job URI */ +{ + http_status_t status; /* Policy status */ + ipp_attribute_t *attr; /* Current attribute */ + int jobid; /* Job ID */ + cupsd_job_t *job; /* Current job */ + cupsd_printer_t *printer; /* Current printer */ + cupsd_policy_t *policy; /* Current security policy */ + char scheme[HTTP_MAX_URI], /* Scheme portion of URI */ + username[HTTP_MAX_URI], /* Username portion of URI */ + host[HTTP_MAX_URI], /* Host portion of URI */ + resource[HTTP_MAX_URI]; /* Resource portion of URI */ + int port; /* Port portion of URI */ + cups_array_t *ra, /* Requested attributes array */ + *exclude; /* Private attributes array */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_job_attrs(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * See if we have a job URI or a printer URI... + */ + + if (!strcmp(uri->name, "printer-uri")) + { + /* + * Got a printer URI; see if we also have a job-id attribute... + */ + + if ((attr = ippFindAttribute(con->request, "job-id", + IPP_TAG_INTEGER)) == NULL) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Got a printer-uri attribute but no job-id.")); + return; + } + + jobid = attr->values[0].integer; + } + else + { + /* + * Got a job URI; parse it to get the job ID... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (strncmp(resource, "/jobs/", 6)) + { + /* + * Not a valid URI! + */ + + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad job-uri \"%s\"."), + uri->values[0].string.text); + return; + } + + jobid = atoi(resource + 6); + } + + /* + * See if the job exists... + */ + + if ((job = cupsdFindJob(jobid)) == NULL) + { + /* + * Nope - return a "not found" error... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), jobid); + return; + } + + /* + * Check policy... + */ + + if ((printer = job->printer) == NULL) + printer = cupsdFindDest(job->dest); + + if (printer) + policy = printer->op_policy_ptr; + else + policy = DefaultPolicyPtr; + + if ((status = cupsdCheckPolicy(policy, con, job->username)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + exclude = cupsdGetPrivateAttrs(policy, con, printer, job->username); + + /* + * Copy attributes... + */ + + cupsdLoadJob(job); + + ra = create_requested_array(con->request); + copy_job_attrs(con, job, ra, exclude); + cupsArrayDelete(ra); + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'get_jobs()' - Get a list of jobs for the specified printer. + */ + +static void +get_jobs(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + http_status_t status; /* Policy status */ + ipp_attribute_t *attr; /* Current attribute */ + const char *dest; /* Destination */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cups_ptype_t dmask; /* Destination type mask */ + char scheme[HTTP_MAX_URI], /* Scheme portion of URI */ + username[HTTP_MAX_URI], /* Username portion of URI */ + host[HTTP_MAX_URI], /* Host portion of URI */ + resource[HTTP_MAX_URI]; /* Resource portion of URI */ + int port; /* Port portion of URI */ + int job_comparison; /* Job comparison */ + ipp_jstate_t job_state; /* job-state value */ + int first_job_id = 1, /* First job ID */ + first_index = 1, /* First index */ + limit = 0, /* Maximum number of jobs to return */ + count, /* Number of jobs that match */ + need_load_job = 0; /* Do we need to load the job? */ + const char *job_attr; /* Job attribute requested */ + ipp_attribute_t *job_ids; /* job-ids attribute */ + cupsd_job_t *job; /* Current job pointer */ + cupsd_printer_t *printer; /* Printer */ + cups_array_t *list; /* Which job list... */ + int delete_list = 0; /* Delete the list afterwards? */ + cups_array_t *ra, /* Requested attributes array */ + *exclude; /* Private attributes array */ + cupsd_policy_t *policy; /* Current policy */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_jobs(%p[%d], %s)", con, con->number, + uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + if (strcmp(uri->name, "printer-uri")) + { + send_ipp_status(con, IPP_BAD_REQUEST, _("No printer-uri in request.")); + return; + } + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (!strcmp(resource, "/") || !strcmp(resource, "/jobs")) + { + dest = NULL; + dtype = (cups_ptype_t)0; + dmask = (cups_ptype_t)0; + printer = NULL; + } + else if (!strncmp(resource, "/printers", 9) && strlen(resource) <= 10) + { + dest = NULL; + dtype = (cups_ptype_t)0; + dmask = CUPS_PRINTER_CLASS; + printer = NULL; + } + else if (!strncmp(resource, "/classes", 8) && strlen(resource) <= 9) + { + dest = NULL; + dtype = CUPS_PRINTER_CLASS; + dmask = CUPS_PRINTER_CLASS; + printer = NULL; + } + else if ((dest = cupsdValidateDest(uri->values[0].string.text, &dtype, + &printer)) == NULL) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + else + { + dtype &= CUPS_PRINTER_CLASS; + dmask = CUPS_PRINTER_CLASS; + } + + /* + * Check policy... + */ + + if (printer) + policy = printer->op_policy_ptr; + else + policy = DefaultPolicyPtr; + + if ((status = cupsdCheckPolicy(policy, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + job_ids = ippFindAttribute(con->request, "job-ids", IPP_TAG_INTEGER); + + /* + * See if the "which-jobs" attribute have been specified... + */ + + if ((attr = ippFindAttribute(con->request, "which-jobs", + IPP_TAG_KEYWORD)) != NULL && job_ids) + { + send_ipp_status(con, IPP_CONFLICT, + _("The %s attribute cannot be provided with job-ids."), + "which-jobs"); + return; + } + else if (!attr || !strcmp(attr->values[0].string.text, "not-completed")) + { + job_comparison = -1; + job_state = IPP_JOB_STOPPED; + list = ActiveJobs; + } + else if (!strcmp(attr->values[0].string.text, "completed")) + { + job_comparison = 1; + job_state = IPP_JOB_CANCELED; + list = cupsdGetCompletedJobs(printer); + delete_list = 1; + } + else if (!strcmp(attr->values[0].string.text, "aborted")) + { + job_comparison = 0; + job_state = IPP_JOB_ABORTED; + list = cupsdGetCompletedJobs(printer); + delete_list = 1; + } + else if (!strcmp(attr->values[0].string.text, "all")) + { + job_comparison = 1; + job_state = IPP_JOB_PENDING; + list = Jobs; + } + else if (!strcmp(attr->values[0].string.text, "canceled")) + { + job_comparison = 0; + job_state = IPP_JOB_CANCELED; + list = cupsdGetCompletedJobs(printer); + delete_list = 1; + } + else if (!strcmp(attr->values[0].string.text, "pending")) + { + job_comparison = 0; + job_state = IPP_JOB_PENDING; + list = ActiveJobs; + } + else if (!strcmp(attr->values[0].string.text, "pending-held")) + { + job_comparison = 0; + job_state = IPP_JOB_HELD; + list = ActiveJobs; + } + else if (!strcmp(attr->values[0].string.text, "processing")) + { + job_comparison = 0; + job_state = IPP_JOB_PROCESSING; + list = PrintingJobs; + } + else if (!strcmp(attr->values[0].string.text, "processing-stopped")) + { + job_comparison = 0; + job_state = IPP_JOB_STOPPED; + list = ActiveJobs; + } + else + { + send_ipp_status(con, IPP_ATTRIBUTES, + _("The which-jobs value \"%s\" is not supported."), + attr->values[0].string.text); + ippAddString(con->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_KEYWORD, + "which-jobs", NULL, attr->values[0].string.text); + return; + } + + /* + * See if they want to limit the number of jobs reported... + */ + + if ((attr = ippFindAttribute(con->request, "limit", IPP_TAG_INTEGER)) != NULL) + { + if (job_ids) + { + send_ipp_status(con, IPP_CONFLICT, + _("The %s attribute cannot be provided with job-ids."), + "limit"); + return; + } + + limit = attr->values[0].integer; + } + + if ((attr = ippFindAttribute(con->request, "first-index", IPP_TAG_INTEGER)) != NULL) + { + if (job_ids) + { + send_ipp_status(con, IPP_CONFLICT, + _("The %s attribute cannot be provided with job-ids."), + "first-index"); + return; + } + + first_index = attr->values[0].integer; + } + else if ((attr = ippFindAttribute(con->request, "first-job-id", IPP_TAG_INTEGER)) != NULL) + { + if (job_ids) + { + send_ipp_status(con, IPP_CONFLICT, + _("The %s attribute cannot be provided with job-ids."), + "first-job-id"); + return; + } + + first_job_id = attr->values[0].integer; + } + + /* + * See if we only want to see jobs for a specific user... + */ + + if ((attr = ippFindAttribute(con->request, "my-jobs", IPP_TAG_BOOLEAN)) != NULL && job_ids) + { + send_ipp_status(con, IPP_CONFLICT, + _("The %s attribute cannot be provided with job-ids."), + "my-jobs"); + return; + } + else if (attr && attr->values[0].boolean) + strlcpy(username, get_username(con), sizeof(username)); + else + username[0] = '\0'; + + ra = create_requested_array(con->request); + for (job_attr = (char *)cupsArrayFirst(ra); job_attr; job_attr = (char *)cupsArrayNext(ra)) + if (strcmp(job_attr, "job-id") && + strcmp(job_attr, "job-k-octets") && + strcmp(job_attr, "job-media-progress") && + strcmp(job_attr, "job-more-info") && + strcmp(job_attr, "job-name") && + strcmp(job_attr, "job-originating-user-name") && + strcmp(job_attr, "job-preserved") && + strcmp(job_attr, "job-printer-up-time") && + strcmp(job_attr, "job-printer-uri") && + strcmp(job_attr, "job-state") && + strcmp(job_attr, "job-state-reasons") && + strcmp(job_attr, "job-uri") && + strcmp(job_attr, "time-at-completed") && + strcmp(job_attr, "time-at-creation") && + strcmp(job_attr, "number-of-documents")) + { + need_load_job = 1; + break; + } + + if (need_load_job && (limit == 0 || limit > 500) && (list == Jobs || delete_list)) + { + /* + * Limit expensive Get-Jobs for job history to 500 jobs... + */ + + ippAddInteger(con->response, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "limit", 500); + + if (limit) + ippAddInteger(con->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_INTEGER, "limit", limit); + + limit = 500; + + cupsdLogClient(con, CUPSD_LOG_INFO, "Limiting Get-Jobs response to %d jobs.", limit); + } + + /* + * OK, build a list of jobs for this printer... + */ + + if (job_ids) + { + int i; /* Looping var */ + + for (i = 0; i < job_ids->num_values; i ++) + { + if (!cupsdFindJob(job_ids->values[i].integer)) + break; + } + + if (i < job_ids->num_values) + { + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), + job_ids->values[i].integer); + return; + } + + for (i = 0; i < job_ids->num_values; i ++) + { + job = cupsdFindJob(job_ids->values[i].integer); + + if (need_load_job && !job->attrs) + { + cupsdLoadJob(job); + + if (!job->attrs) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_jobs: No attributes for job %d", job->id); + continue; + } + } + + if (i > 0) + ippAddSeparator(con->response); + + exclude = cupsdGetPrivateAttrs(job->printer ? + job->printer->op_policy_ptr : + policy, con, job->printer, + job->username); + + copy_job_attrs(con, job, ra, exclude); + } + } + else + { + if (first_index > 1) + job = (cupsd_job_t *)cupsArrayIndex(list, first_index - 1); + else + job = (cupsd_job_t *)cupsArrayFirst(list); + + for (count = 0; (limit <= 0 || count < limit) && job; job = (cupsd_job_t *)cupsArrayNext(list)) + { + /* + * Filter out jobs that don't match... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "get_jobs: job->id=%d, dest=\"%s\", username=\"%s\", " + "state_value=%d, attrs=%p", job->id, job->dest, + job->username, job->state_value, job->attrs); + + if (!job->dest || !job->username) + cupsdLoadJob(job); + + if (!job->dest || !job->username) + continue; + + if ((dest && strcmp(job->dest, dest)) && + (!job->printer || !dest || strcmp(job->printer->name, dest))) + continue; + if ((job->dtype & dmask) != dtype && + (!job->printer || (job->printer->type & dmask) != dtype)) + continue; + + if ((job_comparison < 0 && job->state_value > job_state) || + (job_comparison == 0 && job->state_value != job_state) || + (job_comparison > 0 && job->state_value < job_state)) + continue; + + if (job->id < first_job_id) + continue; + + if (need_load_job && !job->attrs) + { + cupsdLoadJob(job); + + if (!job->attrs) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_jobs: No attributes for job %d", job->id); + continue; + } + } + + if (username[0] && _cups_strcasecmp(username, job->username)) + continue; + + if (count > 0) + ippAddSeparator(con->response); + + count ++; + + exclude = cupsdGetPrivateAttrs(job->printer ? + job->printer->op_policy_ptr : + policy, con, job->printer, + job->username); + + copy_job_attrs(con, job, ra, exclude); + } + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_jobs: count=%d", count); + } + + cupsArrayDelete(ra); + + if (delete_list) + cupsArrayDelete(list); + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'get_notifications()' - Get events for a subscription. + */ + +static void +get_notifications(cupsd_client_t *con) /* I - Client connection */ +{ + int i, j; /* Looping vars */ + http_status_t status; /* Policy status */ + cupsd_subscription_t *sub; /* Subscription */ + ipp_attribute_t *ids, /* notify-subscription-ids */ + *sequences; /* notify-sequence-numbers */ + int min_seq; /* Minimum sequence number */ + int interval; /* Poll interval */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_notifications(con=%p[%d])", + con, con->number); + + /* + * Get subscription attributes... + */ + + ids = ippFindAttribute(con->request, "notify-subscription-ids", + IPP_TAG_INTEGER); + sequences = ippFindAttribute(con->request, "notify-sequence-numbers", + IPP_TAG_INTEGER); + + if (!ids) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Missing notify-subscription-ids attribute.")); + return; + } + + /* + * Are the subscription IDs valid? + */ + + for (i = 0, interval = 60; i < ids->num_values; i ++) + { + if ((sub = cupsdFindSubscription(ids->values[i].integer)) == NULL) + { + /* + * Bad subscription ID... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Subscription #%d does not exist."), + ids->values[i].integer); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(sub->dest ? sub->dest->op_policy_ptr : + DefaultPolicyPtr, + con, sub->owner)) != HTTP_OK) + { + send_http_error(con, status, sub->dest); + return; + } + + /* + * Check the subscription type and update the interval accordingly. + */ + + if (sub->job && sub->job->state_value == IPP_JOB_PROCESSING && + interval > 10) + interval = 10; + else if (sub->job && sub->job->state_value >= IPP_JOB_STOPPED) + interval = 0; + else if (sub->dest && sub->dest->state == IPP_PRINTER_PROCESSING && + interval > 30) + interval = 30; + } + + /* + * Tell the client to poll again in N seconds... + */ + + if (interval > 0) + ippAddInteger(con->response, IPP_TAG_OPERATION, IPP_TAG_INTEGER, + "notify-get-interval", interval); + + ippAddInteger(con->response, IPP_TAG_OPERATION, IPP_TAG_INTEGER, + "printer-up-time", time(NULL)); + + /* + * Copy the subscription event attributes to the response. + */ + + con->response->request.status.status_code = + interval ? IPP_OK : IPP_OK_EVENTS_COMPLETE; + + for (i = 0; i < ids->num_values; i ++) + { + /* + * Get the subscription and sequence number... + */ + + sub = cupsdFindSubscription(ids->values[i].integer); + + if (sequences && i < sequences->num_values) + min_seq = sequences->values[i].integer; + else + min_seq = 1; + + /* + * If we don't have any new events, nothing to do here... + */ + + if (min_seq > (sub->first_event_id + cupsArrayCount(sub->events))) + continue; + + /* + * Otherwise copy all of the new events... + */ + + if (sub->first_event_id > min_seq) + j = 0; + else + j = min_seq - sub->first_event_id; + + for (; j < cupsArrayCount(sub->events); j ++) + { + ippAddSeparator(con->response); + + copy_attrs(con->response, + ((cupsd_event_t *)cupsArrayIndex(sub->events, j))->attrs, NULL, + IPP_TAG_EVENT_NOTIFICATION, 0, NULL); + } + } +} + + +/* + * 'get_ppd()' - Get a named PPD from the local system. + */ + +static void +get_ppd(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI or PPD name */ +{ + http_status_t status; /* Policy status */ + cupsd_printer_t *dest; /* Destination */ + cups_ptype_t dtype; /* Destination type */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_ppd(%p[%d], %p[%s=%s])", con, + con->number, uri, uri->name, uri->values[0].string.text); + + if (!strcmp(ippGetName(uri), "ppd-name")) + { + /* + * Return a PPD file from cups-driverd... + */ + + const char *ppd_name = ippGetString(uri, 0, NULL); + /* ppd-name value */ + char command[1024], /* cups-driverd command */ + options[1024], /* Options to pass to command */ + oppd_name[1024]; /* Escaped ppd-name */ + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + /* + * Check ppd-name value... + */ + + if (strstr(ppd_name, "../")) + { + send_ipp_status(con, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, _("Invalid ppd-name value.")); + return; + } + + /* + * Run cups-driverd command with the given options... + */ + + snprintf(command, sizeof(command), "%s/daemon/cups-driverd", ServerBin); + url_encode_string(ppd_name, oppd_name, sizeof(oppd_name)); + snprintf(options, sizeof(options), "get+%d+%s", ippGetRequestId(con->request), oppd_name); + + if (cupsdSendCommand(con, command, options, 0)) + { + /* + * Command started successfully, don't send an IPP response here... + */ + + ippDelete(con->response); + con->response = NULL; + } + else + { + /* + * Command failed, return "internal error" so the user knows something + * went wrong... + */ + + send_ipp_status(con, IPP_INTERNAL_ERROR, _("cups-driverd failed to execute.")); + } + } + else if (!strcmp(ippGetName(uri), "printer-uri") && cupsdValidateDest(ippGetString(uri, 0, NULL), &dtype, &dest)) + { + int i; /* Looping var */ + char filename[1024]; /* PPD filename */ + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(dest->op_policy_ptr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, dest); + return; + } + + /* + * See if we need the PPD for a class or remote printer... + */ + + snprintf(filename, sizeof(filename), "%s/ppd/%s.ppd", ServerRoot, dest->name); + + if ((dtype & CUPS_PRINTER_REMOTE) && access(filename, 0)) + { + send_ipp_status(con, IPP_STATUS_CUPS_SEE_OTHER, _("See remote printer.")); + ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, dest->uri); + return; + } + else if (dtype & CUPS_PRINTER_CLASS) + { + for (i = 0; i < dest->num_printers; i ++) + if (!(dest->printers[i]->type & CUPS_PRINTER_CLASS)) + { + snprintf(filename, sizeof(filename), "%s/ppd/%s.ppd", ServerRoot, dest->printers[i]->name); + + if (!access(filename, 0)) + break; + } + + if (i < dest->num_printers) + dest = dest->printers[i]; + else + { + send_ipp_status(con, IPP_STATUS_CUPS_SEE_OTHER, _("See remote printer.")); + ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, dest->printers[0]->uri); + return; + } + } + + /* + * Found the printer with the PPD file, now see if there is one... + */ + + if ((con->file = open(filename, O_RDONLY)) < 0) + { + send_ipp_status(con, IPP_STATUS_ERROR_NOT_FOUND, _("The PPD file \"%s\" could not be opened: %s"), ippGetString(uri, 0, NULL), strerror(errno)); + return; + } + + fcntl(con->file, F_SETFD, fcntl(con->file, F_GETFD) | FD_CLOEXEC); + + con->pipe_pid = 0; + + ippSetStatusCode(con->response, IPP_STATUS_OK); + } + else + send_ipp_status(con, IPP_STATUS_ERROR_NOT_FOUND, _("The PPD file \"%s\" could not be found."), ippGetString(uri, 0, NULL)); +} + + +/* + * 'get_ppds()' - Get the list of PPD files on the local system. + */ + +static void +get_ppds(cupsd_client_t *con) /* I - Client connection */ +{ + http_status_t status; /* Policy status */ + ipp_attribute_t *limit, /* Limit attribute */ + *device, /* ppd-device-id attribute */ + *language, /* ppd-natural-language attribute */ + *make, /* ppd-make attribute */ + *model, /* ppd-make-and-model attribute */ + *model_number, /* ppd-model-number attribute */ + *product, /* ppd-product attribute */ + *psversion, /* ppd-psverion attribute */ + *type, /* ppd-type attribute */ + *requested, /* requested-attributes attribute */ + *exclude, /* exclude-schemes attribute */ + *include; /* include-schemes attribute */ + char command[1024], /* cups-driverd command */ + options[4096], /* Options to pass to command */ + device_str[256],/* Escaped ppd-device-id string */ + language_str[256], + /* Escaped ppd-natural-language */ + make_str[256], /* Escaped ppd-make string */ + model_str[256], /* Escaped ppd-make-and-model string */ + model_number_str[256], + /* ppd-model-number string */ + product_str[256], + /* Escaped ppd-product string */ + psversion_str[256], + /* Escaped ppd-psversion string */ + type_str[256], /* Escaped ppd-type string */ + requested_str[256], + /* String for requested attributes */ + exclude_str[512], + /* String for excluded schemes */ + include_str[512]; + /* String for included schemes */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_ppds(%p[%d])", con, con->number); + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + /* + * Run cups-driverd command with the given options... + */ + + limit = ippFindAttribute(con->request, "limit", IPP_TAG_INTEGER); + device = ippFindAttribute(con->request, "ppd-device-id", IPP_TAG_TEXT); + language = ippFindAttribute(con->request, "ppd-natural-language", + IPP_TAG_LANGUAGE); + make = ippFindAttribute(con->request, "ppd-make", IPP_TAG_TEXT); + model = ippFindAttribute(con->request, "ppd-make-and-model", + IPP_TAG_TEXT); + model_number = ippFindAttribute(con->request, "ppd-model-number", + IPP_TAG_INTEGER); + product = ippFindAttribute(con->request, "ppd-product", IPP_TAG_TEXT); + psversion = ippFindAttribute(con->request, "ppd-psversion", IPP_TAG_TEXT); + type = ippFindAttribute(con->request, "ppd-type", IPP_TAG_KEYWORD); + requested = ippFindAttribute(con->request, "requested-attributes", + IPP_TAG_KEYWORD); + exclude = ippFindAttribute(con->request, "exclude-schemes", + IPP_TAG_NAME); + include = ippFindAttribute(con->request, "include-schemes", + IPP_TAG_NAME); + + if (requested) + url_encode_attr(requested, requested_str, sizeof(requested_str)); + else + strlcpy(requested_str, "requested-attributes=all", sizeof(requested_str)); + + if (device) + url_encode_attr(device, device_str, sizeof(device_str)); + else + device_str[0] = '\0'; + + if (language) + url_encode_attr(language, language_str, sizeof(language_str)); + else + language_str[0] = '\0'; + + if (make) + url_encode_attr(make, make_str, sizeof(make_str)); + else + make_str[0] = '\0'; + + if (model) + url_encode_attr(model, model_str, sizeof(model_str)); + else + model_str[0] = '\0'; + + if (model_number) + snprintf(model_number_str, sizeof(model_number_str), "ppd-model-number=%d", + model_number->values[0].integer); + else + model_number_str[0] = '\0'; + + if (product) + url_encode_attr(product, product_str, sizeof(product_str)); + else + product_str[0] = '\0'; + + if (psversion) + url_encode_attr(psversion, psversion_str, sizeof(psversion_str)); + else + psversion_str[0] = '\0'; + + if (type) + url_encode_attr(type, type_str, sizeof(type_str)); + else + type_str[0] = '\0'; + + if (exclude) + url_encode_attr(exclude, exclude_str, sizeof(exclude_str)); + else + exclude_str[0] = '\0'; + + if (include) + url_encode_attr(include, include_str, sizeof(include_str)); + else + include_str[0] = '\0'; + + snprintf(command, sizeof(command), "%s/daemon/cups-driverd", ServerBin); + snprintf(options, sizeof(options), + "list+%d+%d+%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s", + con->request->request.op.request_id, + limit ? limit->values[0].integer : 0, + requested_str, + device ? "%20" : "", device_str, + language ? "%20" : "", language_str, + make ? "%20" : "", make_str, + model ? "%20" : "", model_str, + model_number ? "%20" : "", model_number_str, + product ? "%20" : "", product_str, + psversion ? "%20" : "", psversion_str, + type ? "%20" : "", type_str, + exclude_str[0] ? "%20" : "", exclude_str, + include_str[0] ? "%20" : "", include_str); + + if (cupsdSendCommand(con, command, options, 0)) + { + /* + * Command started successfully, don't send an IPP response here... + */ + + ippDelete(con->response); + con->response = NULL; + } + else + { + /* + * Command failed, return "internal error" so the user knows something + * went wrong... + */ + + send_ipp_status(con, IPP_INTERNAL_ERROR, + _("cups-driverd failed to execute.")); + } +} + + +/* + * 'get_printer_attrs()' - Get printer attributes. + */ + +static void +get_printer_attrs(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + http_status_t status; /* Policy status */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cupsd_printer_t *printer; /* Printer/class */ + cups_array_t *ra; /* Requested attributes array */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_printer_attrs(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + + /* + * Send the attributes... + */ + + ra = create_requested_array(con->request); + + copy_printer_attrs(con, printer, ra); + + cupsArrayDelete(ra); + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'get_printer_supported()' - Get printer supported values. + */ + +static void +get_printer_supported( + cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + http_status_t status; /* Policy status */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cupsd_printer_t *printer; /* Printer/class */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_printer_supported(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + + /* + * Return a list of attributes that can be set via Set-Printer-Attributes. + */ + + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_ADMINDEFINE, + "printer-geo-location", 0); + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_ADMINDEFINE, + "printer-info", 0); + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_ADMINDEFINE, + "printer-location", 0); + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_ADMINDEFINE, + "printer-organization", 0); + ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_ADMINDEFINE, + "printer-organizational-unit", 0); + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'get_printers()' - Get a list of printers or classes. + */ + +static void +get_printers(cupsd_client_t *con, /* I - Client connection */ + int type) /* I - 0 or CUPS_PRINTER_CLASS */ +{ + http_status_t status; /* Policy status */ + ipp_attribute_t *attr; /* Current attribute */ + int limit; /* Max number of printers to return */ + int count; /* Number of printers that match */ + int printer_id; /* Printer we are interested in */ + cupsd_printer_t *printer; /* Current printer pointer */ + cups_ptype_t printer_type, /* printer-type attribute */ + printer_mask; /* printer-type-mask attribute */ + char *location; /* Location string */ + const char *username; /* Current user */ + char *first_printer_name; /* first-printer-name attribute */ + cups_array_t *ra; /* Requested attributes array */ + int local; /* Local connection? */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "get_printers(%p[%d], %x)", con, + con->number, type); + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + /* + * Check for printers... + */ + + if (!Printers || !cupsArrayCount(Printers)) + { + send_ipp_status(con, IPP_NOT_FOUND, _("No destinations added.")); + return; + } + + /* + * See if they want to limit the number of printers reported... + */ + + if ((attr = ippFindAttribute(con->request, "limit", + IPP_TAG_INTEGER)) != NULL) + limit = attr->values[0].integer; + else + limit = 10000000; + + if ((attr = ippFindAttribute(con->request, "first-printer-name", + IPP_TAG_NAME)) != NULL) + first_printer_name = attr->values[0].string.text; + else + first_printer_name = NULL; + + /* + * Support filtering... + */ + + if ((attr = ippFindAttribute(con->request, "printer-id", IPP_TAG_INTEGER)) != NULL) + { + if ((printer_id = ippGetInteger(attr, 0)) <= 0) + { + send_ipp_status(con, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, _("Bad \"printer-id\" value %d."), printer_id); + return; + } + } + else + printer_id = 0; + + if ((attr = ippFindAttribute(con->request, "printer-type", + IPP_TAG_ENUM)) != NULL) + printer_type = (cups_ptype_t)attr->values[0].integer; + else + printer_type = (cups_ptype_t)0; + + if ((attr = ippFindAttribute(con->request, "printer-type-mask", + IPP_TAG_ENUM)) != NULL) + printer_mask = (cups_ptype_t)attr->values[0].integer; + else + printer_mask = (cups_ptype_t)0; + + local = httpAddrLocalhost(&(con->clientaddr)); + + if ((attr = ippFindAttribute(con->request, "printer-location", + IPP_TAG_TEXT)) != NULL) + location = attr->values[0].string.text; + else + location = NULL; + + if (con->username[0]) + username = con->username; + else if ((attr = ippFindAttribute(con->request, "requesting-user-name", + IPP_TAG_NAME)) != NULL) + username = attr->values[0].string.text; + else + username = NULL; + + ra = create_requested_array(con->request); + + /* + * OK, build a list of printers for this printer... + */ + + if (first_printer_name) + { + if ((printer = cupsdFindDest(first_printer_name)) == NULL) + printer = (cupsd_printer_t *)cupsArrayFirst(Printers); + } + else + printer = (cupsd_printer_t *)cupsArrayFirst(Printers); + + for (count = 0; + count < limit && printer; + printer = (cupsd_printer_t *)cupsArrayNext(Printers)) + { + if (!local && !printer->shared) + continue; + + if (printer_id && printer->printer_id != printer_id) + continue; + + if ((!type || (printer->type & CUPS_PRINTER_CLASS) == type) && + (printer->type & printer_mask) == printer_type && + (!location || + (printer->location && !_cups_strcasecmp(printer->location, location)))) + { + /* + * If a username is specified, see if it is allowed or denied + * access... + */ + + if (cupsArrayCount(printer->users) && username && + !user_allowed(printer, username)) + continue; + + /* + * Add the group separator as needed... + */ + + if (count > 0) + ippAddSeparator(con->response); + + count ++; + + /* + * Send the attributes... + */ + + copy_printer_attrs(con, printer, ra); + } + } + + cupsArrayDelete(ra); + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'get_subscription_attrs()' - Get subscription attributes. + */ + +static void +get_subscription_attrs( + cupsd_client_t *con, /* I - Client connection */ + int sub_id) /* I - Subscription ID */ +{ + http_status_t status; /* Policy status */ + cupsd_subscription_t *sub; /* Subscription */ + cupsd_policy_t *policy; /* Current security policy */ + cups_array_t *ra, /* Requested attributes array */ + *exclude; /* Private attributes array */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "get_subscription_attrs(con=%p[%d], sub_id=%d)", + con, con->number, sub_id); + + /* + * Expire subscriptions as needed... + */ + + cupsdExpireSubscriptions(NULL, NULL); + + /* + * Is the subscription ID valid? + */ + + if ((sub = cupsdFindSubscription(sub_id)) == NULL) + { + /* + * Bad subscription ID... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Subscription #%d does not exist."), + sub_id); + return; + } + + /* + * Check policy... + */ + + if (sub->dest) + policy = sub->dest->op_policy_ptr; + else + policy = DefaultPolicyPtr; + + if ((status = cupsdCheckPolicy(policy, con, sub->owner)) != HTTP_OK) + { + send_http_error(con, status, sub->dest); + return; + } + + exclude = cupsdGetPrivateAttrs(policy, con, sub->dest, sub->owner); + + /* + * Copy the subscription attributes to the response using the + * requested-attributes attribute that may be provided by the client. + */ + + ra = create_requested_array(con->request); + + copy_subscription_attrs(con, sub, ra, exclude); + + cupsArrayDelete(ra); + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'get_subscriptions()' - Get subscriptions. + */ + +static void +get_subscriptions(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer/job URI */ +{ + http_status_t status; /* Policy status */ + int count; /* Number of subscriptions */ + int limit; /* Limit */ + cupsd_subscription_t *sub; /* Subscription */ + cups_array_t *ra; /* Requested attributes array */ + ipp_attribute_t *attr; /* Attribute */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + char scheme[HTTP_MAX_URI], + /* Scheme portion of URI */ + username[HTTP_MAX_URI], + /* Username portion of URI */ + host[HTTP_MAX_URI], + /* Host portion of URI */ + resource[HTTP_MAX_URI]; + /* Resource portion of URI */ + int port; /* Port portion of URI */ + cupsd_job_t *job; /* Job pointer */ + cupsd_printer_t *printer; /* Printer */ + cupsd_policy_t *policy; /* Policy */ + cups_array_t *exclude; /* Private attributes array */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "get_subscriptions(con=%p[%d], uri=%s)", + con, con->number, uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (!strcmp(resource, "/") || + (!strncmp(resource, "/jobs", 5) && strlen(resource) <= 6) || + (!strncmp(resource, "/printers", 9) && strlen(resource) <= 10) || + (!strncmp(resource, "/classes", 8) && strlen(resource) <= 9)) + { + printer = NULL; + job = NULL; + } + else if (!strncmp(resource, "/jobs/", 6) && resource[6]) + { + printer = NULL; + job = cupsdFindJob(atoi(resource + 6)); + + if (!job) + { + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), + atoi(resource + 6)); + return; + } + } + else if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + else if ((attr = ippFindAttribute(con->request, "notify-job-id", + IPP_TAG_INTEGER)) != NULL) + { + job = cupsdFindJob(attr->values[0].integer); + + if (!job) + { + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), + attr->values[0].integer); + return; + } + } + else + job = NULL; + + /* + * Check policy... + */ + + if (printer) + policy = printer->op_policy_ptr; + else + policy = DefaultPolicyPtr; + + if ((status = cupsdCheckPolicy(policy, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + + /* + * Expire subscriptions as needed... + */ + + cupsdExpireSubscriptions(NULL, NULL); + + /* + * Copy the subscription attributes to the response using the + * requested-attributes attribute that may be provided by the client. + */ + + ra = create_requested_array(con->request); + + if ((attr = ippFindAttribute(con->request, "limit", + IPP_TAG_INTEGER)) != NULL) + limit = attr->values[0].integer; + else + limit = 0; + + /* + * See if we only want to see subscriptions for a specific user... + */ + + if ((attr = ippFindAttribute(con->request, "my-subscriptions", + IPP_TAG_BOOLEAN)) != NULL && + attr->values[0].boolean) + strlcpy(username, get_username(con), sizeof(username)); + else + username[0] = '\0'; + + for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions), count = 0; + sub; + sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) + if ((!printer || sub->dest == printer) && (!job || sub->job == job) && + (!username[0] || !_cups_strcasecmp(username, sub->owner))) + { + ippAddSeparator(con->response); + + exclude = cupsdGetPrivateAttrs(sub->dest ? sub->dest->op_policy_ptr : + policy, con, sub->dest, + sub->owner); + + copy_subscription_attrs(con, sub, ra, exclude); + + count ++; + if (limit && count >= limit) + break; + } + + cupsArrayDelete(ra); + + if (count) + con->response->request.status.status_code = IPP_OK; + else + send_ipp_status(con, IPP_NOT_FOUND, _("No subscriptions found.")); +} + + +/* + * 'get_username()' - Get the username associated with a request. + */ + +static const char * /* O - Username */ +get_username(cupsd_client_t *con) /* I - Connection */ +{ + ipp_attribute_t *attr; /* Attribute */ + + + if (con->username[0]) + return (con->username); + else if ((attr = ippFindAttribute(con->request, "requesting-user-name", + IPP_TAG_NAME)) != NULL) + return (attr->values[0].string.text); + else + return ("anonymous"); +} + + +/* + * 'hold_job()' - Hold a print job. + */ + +static void +hold_job(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Job or Printer URI */ +{ + ipp_attribute_t *attr; /* Current job-hold-until */ + const char *when; /* New value */ + int jobid; /* Job ID */ + char scheme[HTTP_MAX_URI], /* Method portion of URI */ + username[HTTP_MAX_URI], /* Username portion of URI */ + host[HTTP_MAX_URI], /* Host portion of URI */ + resource[HTTP_MAX_URI]; /* Resource portion of URI */ + int port; /* Port portion of URI */ + cupsd_job_t *job; /* Job information */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "hold_job(%p[%d], %s)", con, con->number, + uri->values[0].string.text); + + /* + * See if we have a job URI or a printer URI... + */ + + if (!strcmp(uri->name, "printer-uri")) + { + /* + * Got a printer URI; see if we also have a job-id attribute... + */ + + if ((attr = ippFindAttribute(con->request, "job-id", + IPP_TAG_INTEGER)) == NULL) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Got a printer-uri attribute but no job-id.")); + return; + } + + jobid = attr->values[0].integer; + } + else + { + /* + * Got a job URI; parse it to get the job ID... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (strncmp(resource, "/jobs/", 6)) + { + /* + * Not a valid URI! + */ + + send_ipp_status(con, IPP_BAD_REQUEST, + _("Bad job-uri \"%s\"."), + uri->values[0].string.text); + return; + } + + jobid = atoi(resource + 6); + } + + /* + * See if the job exists... + */ + + if ((job = cupsdFindJob(jobid)) == NULL) + { + /* + * Nope - return a "not found" error... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), jobid); + return; + } + + /* + * See if the job is owned by the requesting user... + */ + + if (!validate_user(job, con, job->username, username, sizeof(username))) + { + send_http_error(con, con->username[0] ? HTTP_FORBIDDEN : HTTP_UNAUTHORIZED, + cupsdFindDest(job->dest)); + return; + } + + /* + * See if the job is in a state that allows holding... + */ + + if (job->state_value > IPP_JOB_STOPPED) + { + /* + * Return a "not-possible" error... + */ + + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job #%d is finished and cannot be altered."), + job->id); + return; + } + + /* + * Hold the job and return... + */ + + if ((attr = ippFindAttribute(con->request, "job-hold-until", IPP_TAG_ZERO)) != NULL) + { + if ((ippGetValueTag(attr) != IPP_TAG_KEYWORD && ippGetValueTag(attr) != IPP_TAG_NAME && ippGetValueTag(attr) != IPP_TAG_NAMELANG) || ippGetCount(attr) != 1 || !ippValidateAttribute(attr)) + { + send_ipp_status(con, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, _("Unsupported 'job-hold-until' value.")); + ippCopyAttribute(con->response, attr, 0); + return; + } + + when = ippGetString(attr, 0, NULL); + + cupsdAddEvent(CUPSD_EVENT_JOB_CONFIG_CHANGED, cupsdFindDest(job->dest), job, + "Job job-hold-until value changed by user."); + } + else + when = "indefinite"; + + cupsdSetJobHoldUntil(job, when, 1); + cupsdSetJobState(job, IPP_JOB_HELD, CUPSD_JOB_DEFAULT, "Job held by \"%s\".", + username); + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'hold_new_jobs()' - Hold pending/new jobs on a printer or class. + */ + +static void +hold_new_jobs(cupsd_client_t *con, /* I - Connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + http_status_t status; /* Policy status */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cupsd_printer_t *printer; /* Printer data */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "hold_new_jobs(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + + /* + * Hold pending/new jobs sent to the printer... + */ + + printer->holding_new_jobs = 1; + + cupsdSetPrinterReasons(printer, "+hold-new-jobs"); + + if (dtype & CUPS_PRINTER_CLASS) + cupsdLogMessage(CUPSD_LOG_INFO, + "Class \"%s\" now holding pending/new jobs (\"%s\").", + printer->name, get_username(con)); + else + cupsdLogMessage(CUPSD_LOG_INFO, + "Printer \"%s\" now holding pending/new jobs (\"%s\").", + printer->name, get_username(con)); + + /* + * Everything was ok, so return OK status... + */ + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'move_job()' - Move a job to a new destination. + */ + +static void +move_job(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Job URI */ +{ + http_status_t status; /* Policy status */ + ipp_attribute_t *attr; /* Current attribute */ + int jobid; /* Job ID */ + cupsd_job_t *job; /* Current job */ + const char *src; /* Source printer/class */ + cups_ptype_t stype, /* Source type (printer or class) */ + dtype; /* Destination type (printer/class) */ + char scheme[HTTP_MAX_URI], /* Scheme portion of URI */ + username[HTTP_MAX_URI], /* Username portion of URI */ + host[HTTP_MAX_URI], /* Host portion of URI */ + resource[HTTP_MAX_URI]; /* Resource portion of URI */ + int port; /* Port portion of URI */ + cupsd_printer_t *sprinter, /* Source printer */ + *dprinter; /* Destination printer */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "move_job(%p[%d], %s)", con, con->number, + uri->values[0].string.text); + + /* + * Get the new printer or class... + */ + + if ((attr = ippFindAttribute(con->request, "job-printer-uri", + IPP_TAG_URI)) == NULL) + { + /* + * Need job-printer-uri... + */ + + send_ipp_status(con, IPP_BAD_REQUEST, + _("job-printer-uri attribute missing.")); + return; + } + + if (!cupsdValidateDest(attr->values[0].string.text, &dtype, &dprinter)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * See if we have a job URI or a printer URI... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (!strcmp(uri->name, "printer-uri")) + { + /* + * Got a printer URI; see if we also have a job-id attribute... + */ + + if ((attr = ippFindAttribute(con->request, "job-id", + IPP_TAG_INTEGER)) == NULL) + { + /* + * Move all jobs... + */ + + if ((src = cupsdValidateDest(uri->values[0].string.text, &stype, + &sprinter)) == NULL) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + job = NULL; + } + else + { + /* + * Otherwise, just move a single job... + */ + + if ((job = cupsdFindJob(attr->values[0].integer)) == NULL) + { + /* + * Nope - return a "not found" error... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("Job #%d does not exist."), attr->values[0].integer); + return; + } + else + { + /* + * Job found, initialize source pointers... + */ + + src = NULL; + sprinter = NULL; + } + } + } + else + { + /* + * Got a job URI; parse it to get the job ID... + */ + + if (strncmp(resource, "/jobs/", 6)) + { + /* + * Not a valid URI! + */ + + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad job-uri \"%s\"."), + uri->values[0].string.text); + return; + } + + /* + * See if the job exists... + */ + + jobid = atoi(resource + 6); + + if ((job = cupsdFindJob(jobid)) == NULL) + { + /* + * Nope - return a "not found" error... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), jobid); + return; + } + else + { + /* + * Job found, initialize source pointers... + */ + + src = NULL; + sprinter = NULL; + } + } + + /* + * Check the policy of the destination printer... + */ + + if ((status = cupsdCheckPolicy(dprinter->op_policy_ptr, con, + job ? job->username : NULL)) != HTTP_OK) + { + send_http_error(con, status, dprinter); + return; + } + + /* + * Now move the job or jobs... + */ + + if (job) + { + /* + * See if the job has been completed... + */ + + if (job->state_value > IPP_JOB_STOPPED) + { + /* + * Return a "not-possible" error... + */ + + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job #%d is finished and cannot be altered."), + job->id); + return; + } + + /* + * See if the job is owned by the requesting user... + */ + + if (!validate_user(job, con, job->username, username, sizeof(username))) + { + send_http_error(con, con->username[0] ? HTTP_FORBIDDEN : HTTP_UNAUTHORIZED, + cupsdFindDest(job->dest)); + return; + } + + /* + * Move the job to a different printer or class... + */ + + cupsdMoveJob(job, dprinter); + } + else + { + /* + * Got the source printer, now look through the jobs... + */ + + for (job = (cupsd_job_t *)cupsArrayFirst(Jobs); + job; + job = (cupsd_job_t *)cupsArrayNext(Jobs)) + { + /* + * See if the job is pointing at the source printer or has not been + * completed... + */ + + if (_cups_strcasecmp(job->dest, src) || + job->state_value > IPP_JOB_STOPPED) + continue; + + /* + * See if the job can be moved by the requesting user... + */ + + if (!validate_user(job, con, job->username, username, sizeof(username))) + continue; + + /* + * Move the job to a different printer or class... + */ + + cupsdMoveJob(job, dprinter); + } + } + + /* + * Start jobs if possible... + */ + + cupsdCheckJobs(); + + /* + * Return with "everything is OK" status... + */ + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'ppd_parse_line()' - Parse a PPD default line. + */ + +static int /* O - 0 on success, -1 on failure */ +ppd_parse_line(const char *line, /* I - Line */ + char *option, /* O - Option name */ + int olen, /* I - Size of option name */ + char *choice, /* O - Choice name */ + int clen) /* I - Size of choice name */ +{ + /* + * Verify this is a default option line... + */ + + if (strncmp(line, "*Default", 8)) + return (-1); + + /* + * Read the option name... + */ + + for (line += 8, olen --; + *line > ' ' && *line < 0x7f && *line != ':' && *line != '/'; + line ++) + if (olen > 0) + { + *option++ = *line; + olen --; + } + + *option = '\0'; + + /* + * Skip everything else up to the colon (:)... + */ + + while (*line && *line != ':') + line ++; + + if (!*line) + return (-1); + + line ++; + + /* + * Now grab the option choice, skipping leading whitespace... + */ + + while (isspace(*line & 255)) + line ++; + + for (clen --; + *line > ' ' && *line < 0x7f && *line != ':' && *line != '/'; + line ++) + if (clen > 0) + { + *choice++ = *line; + clen --; + } + + *choice = '\0'; + + /* + * Return with no errors... + */ + + return (0); +} + + +/* + * 'print_job()' - Print a file to a printer or class. + */ + +static void +print_job(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + ipp_attribute_t *attr; /* Current attribute */ + ipp_attribute_t *doc_name; /* document-name attribute */ + ipp_attribute_t *format; /* Document-format attribute */ + const char *default_format; /* document-format-default value */ + cupsd_job_t *job; /* New job */ + char filename[1024]; /* Job filename */ + mime_type_t *filetype; /* Type of file */ + char super[MIME_MAX_SUPER], /* Supertype of file */ + type[MIME_MAX_TYPE], /* Subtype of file */ + mimetype[MIME_MAX_SUPER + MIME_MAX_TYPE + 2]; + /* Textual name of mime type */ + cupsd_printer_t *printer; /* Printer data */ + struct stat fileinfo; /* File information */ + int kbytes; /* Size of file */ + int compression; /* Document compression */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "print_job(%p[%d], %s)", con, con->number, + uri->values[0].string.text); + + /* + * Validate print file attributes, for now just document-format and + * compression (CUPS only supports "none" and "gzip")... + */ + + compression = CUPS_FILE_NONE; + + if ((attr = ippFindAttribute(con->request, "compression", + IPP_TAG_KEYWORD)) != NULL) + { + if (strcmp(attr->values[0].string.text, "none") +#ifdef HAVE_LIBZ + && strcmp(attr->values[0].string.text, "gzip") +#endif /* HAVE_LIBZ */ + ) + { + send_ipp_status(con, IPP_ATTRIBUTES, + _("Unsupported compression \"%s\"."), + attr->values[0].string.text); + ippAddString(con->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_KEYWORD, + "compression", NULL, attr->values[0].string.text); + return; + } + +#ifdef HAVE_LIBZ + if (!strcmp(attr->values[0].string.text, "gzip")) + compression = CUPS_FILE_GZIP; +#endif /* HAVE_LIBZ */ + } + + /* + * Do we have a file to print? + */ + + if (!con->filename) + { + send_ipp_status(con, IPP_BAD_REQUEST, _("No file in print request.")); + return; + } + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, NULL, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Is it a format we support? + */ + + doc_name = ippFindAttribute(con->request, "document-name", IPP_TAG_NAME); + if (doc_name) + ippSetName(con->request, &doc_name, "document-name-supplied"); + + if ((format = ippFindAttribute(con->request, "document-format", + IPP_TAG_MIMETYPE)) != NULL) + { + /* + * Grab format from client... + */ + + if (sscanf(format->values[0].string.text, "%15[^/]/%255[^;]", super, + type) != 2) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Bad document-format \"%s\"."), + format->values[0].string.text); + return; + } + + ippAddString(con->request, IPP_TAG_JOB, IPP_TAG_MIMETYPE, "document-format-supplied", NULL, ippGetString(format, 0, NULL)); + } + else if ((default_format = cupsGetOption("document-format", + printer->num_options, + printer->options)) != NULL) + { + /* + * Use default document format... + */ + + if (sscanf(default_format, "%15[^/]/%255[^;]", super, type) != 2) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Bad document-format \"%s\"."), + default_format); + return; + } + } + else + { + /* + * Auto-type it! + */ + + strlcpy(super, "application", sizeof(super)); + strlcpy(type, "octet-stream", sizeof(type)); + } + + if (!strcmp(super, "application") && !strcmp(type, "octet-stream")) + { + /* + * Auto-type the file... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "[Job ???] Auto-typing file..."); + + + filetype = mimeFileType(MimeDatabase, con->filename, + doc_name ? doc_name->values[0].string.text : NULL, + &compression); + + if (!filetype) + filetype = mimeType(MimeDatabase, super, type); + + cupsdLogMessage(CUPSD_LOG_INFO, "[Job ???] Request file type is %s/%s.", + filetype->super, filetype->type); + + snprintf(mimetype, sizeof(mimetype), "%s/%s", filetype->super, filetype->type); + ippAddString(con->request, IPP_TAG_JOB, IPP_TAG_MIMETYPE, "document-format-detected", NULL, mimetype); + } + else + filetype = mimeType(MimeDatabase, super, type); + + if (filetype && + (!format || + (!strcmp(super, "application") && !strcmp(type, "octet-stream")))) + { + /* + * Replace the document-format attribute value with the auto-typed or + * default one. + */ + + snprintf(mimetype, sizeof(mimetype), "%s/%s", filetype->super, + filetype->type); + + if (format) + ippSetString(con->request, &format, 0, mimetype); + else + ippAddString(con->request, IPP_TAG_JOB, IPP_TAG_MIMETYPE, + "document-format", NULL, mimetype); + } + else if (!filetype) + { + send_ipp_status(con, IPP_DOCUMENT_FORMAT, + _("Unsupported document-format \"%s\"."), + format ? format->values[0].string.text : + "application/octet-stream"); + cupsdLogMessage(CUPSD_LOG_INFO, + "Hint: Do you have the raw file printing rules enabled?"); + + if (format) + ippAddString(con->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_MIMETYPE, + "document-format", NULL, format->values[0].string.text); + + return; + } + + /* + * Read any embedded job ticket info from PS files... + */ + + if (!_cups_strcasecmp(filetype->super, "application") && + (!_cups_strcasecmp(filetype->type, "postscript") || + !_cups_strcasecmp(filetype->type, "pdf"))) + read_job_ticket(con); + + /* + * Create the job object... + */ + + if ((job = add_job(con, printer, filetype)) == NULL) + return; + + /* + * Update quota data... + */ + + if (stat(con->filename, &fileinfo)) + kbytes = 0; + else + kbytes = (fileinfo.st_size + 1023) / 1024; + + cupsdUpdateQuota(printer, job->username, 0, kbytes); + + job->koctets += kbytes; + + if ((attr = ippFindAttribute(job->attrs, "job-k-octets", IPP_TAG_INTEGER)) != NULL) + attr->values[0].integer += kbytes; + + /* + * Add the job file... + */ + + if (add_file(con, job, filetype, compression)) + return; + + snprintf(filename, sizeof(filename), "%s/d%05d-%03d", RequestRoot, job->id, job->num_files); + if (rename(con->filename, filename)) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, "Unable to rename job document file \"%s\": %s", filename, strerror(errno)); + + send_ipp_status(con, IPP_INTERNAL_ERROR, _("Unable to rename job document file.")); + return; + } + + cupsdClearString(&con->filename); + + /* + * See if we need to add the ending sheet... + */ + + if (cupsdTimeoutJob(job)) + return; + + /* + * Log and save the job... + */ + + cupsdLogJob(job, CUPSD_LOG_INFO, + "File of type %s/%s queued by \"%s\".", + filetype->super, filetype->type, job->username); + cupsdLogJob(job, CUPSD_LOG_DEBUG, "hold_until=%d", (int)job->hold_until); + cupsdLogJob(job, CUPSD_LOG_INFO, "Queued on \"%s\" by \"%s\".", + job->dest, job->username); + + /* + * Start the job if possible... + */ + + cupsdCheckJobs(); +} + + +/* + * 'read_job_ticket()' - Read a job ticket embedded in a print file. + * + * This function only gets called when printing a single PDF or PostScript + * file using the Print-Job operation. It doesn't work for Create-Job + + * Send-File, since the job attributes need to be set at job creation + * time for banners to work. The embedded job ticket stuff is here + * primarily to allow the Windows printer driver for CUPS to pass in JCL + * options and IPP attributes which otherwise would be lost. + * + * The format of a job ticket is simple: + * + * %cupsJobTicket: attr1=value1 attr2=value2 ... attrN=valueN + * + * %cupsJobTicket: attr1=value1 + * %cupsJobTicket: attr2=value2 + * ... + * %cupsJobTicket: attrN=valueN + * + * Job ticket lines must appear immediately after the first line that + * specifies PostScript (%!PS-Adobe-3.0) or PDF (%PDF) format, and CUPS + * stops looking for job ticket info when it finds a line that does not begin + * with "%cupsJobTicket:". + * + * The maximum length of a job ticket line, including the prefix, is + * 255 characters to conform with the Adobe DSC. + * + * Read-only attributes are rejected with a notice to the error log in + * case a malicious user tries anything. Since the job ticket is read + * prior to attribute validation in print_job(), job ticket attributes + * will go through the same validation as IPP attributes... + */ + +static void +read_job_ticket(cupsd_client_t *con) /* I - Client connection */ +{ + cups_file_t *fp; /* File to read from */ + char line[256]; /* Line data */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ + ipp_t *ticket; /* New attributes */ + ipp_attribute_t *attr, /* Current attribute */ + *attr2, /* Job attribute */ + *prev2; /* Previous job attribute */ + + + /* + * First open the print file... + */ + + if ((fp = cupsFileOpen(con->filename, "rb")) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to open print file for job ticket - %s", + strerror(errno)); + return; + } + + /* + * Skip the first line... + */ + + if (cupsFileGets(fp, line, sizeof(line)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to read from print file for job ticket - %s", + strerror(errno)); + cupsFileClose(fp); + return; + } + + if (strncmp(line, "%!PS-Adobe-", 11) && strncmp(line, "%PDF-", 5)) + { + /* + * Not a DSC-compliant file, so no job ticket info will be available... + */ + + cupsFileClose(fp); + return; + } + + /* + * Read job ticket info from the file... + */ + + num_options = 0; + options = NULL; + + while (cupsFileGets(fp, line, sizeof(line))) + { + /* + * Stop at the first non-ticket line... + */ + + if (strncmp(line, "%cupsJobTicket:", 15)) + break; + + /* + * Add the options to the option array... + */ + + num_options = cupsParseOptions(line + 15, num_options, &options); + } + + /* + * Done with the file; see if we have any options... + */ + + cupsFileClose(fp); + + if (num_options == 0) + return; + + /* + * OK, convert the options to an attribute list, and apply them to + * the request... + */ + + ticket = ippNew(); + cupsEncodeOptions(ticket, num_options, options); + + /* + * See what the user wants to change. + */ + + for (attr = ticket->attrs; attr; attr = attr->next) + { + if (attr->group_tag != IPP_TAG_JOB || !attr->name) + continue; + + if (!strncmp(attr->name, "date-time-at-", 13) || + !strcmp(attr->name, "job-impressions-completed") || + !strcmp(attr->name, "job-media-sheets-completed") || + !strncmp(attr->name, "job-k-octets", 12) || + !strcmp(attr->name, "job-id") || + !strcmp(attr->name, "job-originating-host-name") || + !strcmp(attr->name, "job-originating-user-name") || + !strcmp(attr->name, "job-pages-completed") || + !strcmp(attr->name, "job-printer-uri") || + !strncmp(attr->name, "job-state", 9) || + !strcmp(attr->name, "job-uri") || + !strncmp(attr->name, "time-at-", 8)) + continue; /* Read-only attrs */ + + if ((attr2 = ippFindAttribute(con->request, attr->name, + IPP_TAG_ZERO)) != NULL) + { + /* + * Some other value; first free the old value... + */ + + if (con->request->attrs == attr2) + { + con->request->attrs = attr2->next; + prev2 = NULL; + } + else + { + for (prev2 = con->request->attrs; prev2; prev2 = prev2->next) + if (prev2->next == attr2) + { + prev2->next = attr2->next; + break; + } + } + + if (con->request->last == attr2) + con->request->last = prev2; + + ippDeleteAttribute(NULL, attr2); + } + + /* + * Add new option by copying it... + */ + + ippCopyAttribute(con->request, attr, 0); + } + + /* + * Then free the attribute list and option array... + */ + + ippDelete(ticket); + cupsFreeOptions(num_options, options); +} + + +/* + * 'reject_jobs()' - Reject print jobs to a printer. + */ + +static void +reject_jobs(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer or class URI */ +{ + http_status_t status; /* Policy status */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cupsd_printer_t *printer; /* Printer data */ + ipp_attribute_t *attr; /* printer-state-message text */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "reject_jobs(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + + /* + * Reject jobs sent to the printer... + */ + + printer->accepting = 0; + + if ((attr = ippFindAttribute(con->request, "printer-state-message", + IPP_TAG_TEXT)) == NULL) + strlcpy(printer->state_message, "Rejecting Jobs", + sizeof(printer->state_message)); + else + strlcpy(printer->state_message, attr->values[0].string.text, + sizeof(printer->state_message)); + + cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, printer, NULL, + "No longer accepting jobs."); + + if (dtype & CUPS_PRINTER_CLASS) + { + cupsdMarkDirty(CUPSD_DIRTY_CLASSES); + + cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" rejecting jobs (\"%s\").", + printer->name, get_username(con)); + } + else + { + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + + cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" rejecting jobs (\"%s\").", + printer->name, get_username(con)); + } + + /* + * Everything was ok, so return OK status... + */ + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'release_held_new_jobs()' - Release pending/new jobs on a printer or class. + */ + +static void +release_held_new_jobs( + cupsd_client_t *con, /* I - Connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + http_status_t status; /* Policy status */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cupsd_printer_t *printer; /* Printer data */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "release_held_new_jobs(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + + /* + * Hold pending/new jobs sent to the printer... + */ + + printer->holding_new_jobs = 0; + + cupsdSetPrinterReasons(printer, "-hold-new-jobs"); + + if (dtype & CUPS_PRINTER_CLASS) + cupsdLogMessage(CUPSD_LOG_INFO, + "Class \"%s\" now printing pending/new jobs (\"%s\").", + printer->name, get_username(con)); + else + cupsdLogMessage(CUPSD_LOG_INFO, + "Printer \"%s\" now printing pending/new jobs (\"%s\").", + printer->name, get_username(con)); + + cupsdCheckJobs(); + + /* + * Everything was ok, so return OK status... + */ + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'release_job()' - Release a held print job. + */ + +static void +release_job(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Job or Printer URI */ +{ + ipp_attribute_t *attr; /* Current attribute */ + int jobid; /* Job ID */ + char scheme[HTTP_MAX_URI], /* Method portion of URI */ + username[HTTP_MAX_URI], /* Username portion of URI */ + host[HTTP_MAX_URI], /* Host portion of URI */ + resource[HTTP_MAX_URI]; /* Resource portion of URI */ + int port; /* Port portion of URI */ + cupsd_job_t *job; /* Job information */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "release_job(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * See if we have a job URI or a printer URI... + */ + + if (!strcmp(uri->name, "printer-uri")) + { + /* + * Got a printer URI; see if we also have a job-id attribute... + */ + + if ((attr = ippFindAttribute(con->request, "job-id", + IPP_TAG_INTEGER)) == NULL) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Got a printer-uri attribute but no job-id.")); + return; + } + + jobid = attr->values[0].integer; + } + else + { + /* + * Got a job URI; parse it to get the job ID... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (strncmp(resource, "/jobs/", 6)) + { + /* + * Not a valid URI! + */ + + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad job-uri \"%s\"."), + uri->values[0].string.text); + return; + } + + jobid = atoi(resource + 6); + } + + /* + * See if the job exists... + */ + + if ((job = cupsdFindJob(jobid)) == NULL) + { + /* + * Nope - return a "not found" error... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), jobid); + return; + } + + /* + * See if job is "held"... + */ + + if (job->state_value != IPP_JOB_HELD) + { + /* + * Nope - return a "not possible" error... + */ + + send_ipp_status(con, IPP_NOT_POSSIBLE, _("Job #%d is not held."), jobid); + return; + } + + /* + * See if the job is owned by the requesting user... + */ + + if (!validate_user(job, con, job->username, username, sizeof(username))) + { + send_http_error(con, con->username[0] ? HTTP_FORBIDDEN : HTTP_UNAUTHORIZED, + cupsdFindDest(job->dest)); + return; + } + + /* + * Reset the job-hold-until value to "no-hold"... + */ + + if ((attr = ippFindAttribute(job->attrs, "job-hold-until", + IPP_TAG_KEYWORD)) == NULL) + attr = ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_NAME); + + if (attr) + { + ippSetValueTag(job->attrs, &attr, IPP_TAG_KEYWORD); + ippSetString(job->attrs, &attr, 0, "no-hold"); + + cupsdAddEvent(CUPSD_EVENT_JOB_CONFIG_CHANGED, cupsdFindDest(job->dest), job, + "Job job-hold-until value changed by user."); + ippSetString(job->attrs, &job->reasons, 0, "none"); + } + + /* + * Release the job and return... + */ + + cupsdReleaseJob(job); + + cupsdAddEvent(CUPSD_EVENT_JOB_STATE, cupsdFindDest(job->dest), job, + "Job released by user."); + + cupsdLogJob(job, CUPSD_LOG_INFO, "Released by \"%s\".", username); + + con->response->request.status.status_code = IPP_OK; + + cupsdCheckJobs(); +} + + +/* + * 'renew_subscription()' - Renew an existing subscription... + */ + +static void +renew_subscription( + cupsd_client_t *con, /* I - Client connection */ + int sub_id) /* I - Subscription ID */ +{ + http_status_t status; /* Policy status */ + cupsd_subscription_t *sub; /* Subscription */ + ipp_attribute_t *lease; /* notify-lease-duration */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "renew_subscription(con=%p[%d], sub_id=%d)", + con, con->number, sub_id); + + /* + * Is the subscription ID valid? + */ + + if ((sub = cupsdFindSubscription(sub_id)) == NULL) + { + /* + * Bad subscription ID... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Subscription #%d does not exist."), + sub_id); + return; + } + + if (sub->job) + { + /* + * Job subscriptions cannot be renewed... + */ + + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job subscriptions cannot be renewed.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(sub->dest ? sub->dest->op_policy_ptr : + DefaultPolicyPtr, + con, sub->owner)) != HTTP_OK) + { + send_http_error(con, status, sub->dest); + return; + } + + /* + * Renew the subscription... + */ + + lease = ippFindAttribute(con->request, "notify-lease-duration", + IPP_TAG_INTEGER); + + sub->lease = lease ? lease->values[0].integer : DefaultLeaseDuration; + + if (MaxLeaseDuration && (sub->lease == 0 || sub->lease > MaxLeaseDuration)) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "renew_subscription: Limiting notify-lease-duration to " + "%d seconds.", + MaxLeaseDuration); + sub->lease = MaxLeaseDuration; + } + + sub->expire = sub->lease ? time(NULL) + sub->lease : 0; + + cupsdMarkDirty(CUPSD_DIRTY_SUBSCRIPTIONS); + + con->response->request.status.status_code = IPP_OK; + + ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_INTEGER, + "notify-lease-duration", sub->lease); +} + + +/* + * 'restart_job()' - Restart an old print job. + */ + +static void +restart_job(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Job or Printer URI */ +{ + ipp_attribute_t *attr; /* Current attribute */ + int jobid; /* Job ID */ + cupsd_job_t *job; /* Job information */ + char scheme[HTTP_MAX_URI], /* Method portion of URI */ + username[HTTP_MAX_URI], /* Username portion of URI */ + host[HTTP_MAX_URI], /* Host portion of URI */ + resource[HTTP_MAX_URI]; /* Resource portion of URI */ + int port; /* Port portion of URI */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "restart_job(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * See if we have a job URI or a printer URI... + */ + + if (!strcmp(uri->name, "printer-uri")) + { + /* + * Got a printer URI; see if we also have a job-id attribute... + */ + + if ((attr = ippFindAttribute(con->request, "job-id", + IPP_TAG_INTEGER)) == NULL) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Got a printer-uri attribute but no job-id.")); + return; + } + + jobid = attr->values[0].integer; + } + else + { + /* + * Got a job URI; parse it to get the job ID... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (strncmp(resource, "/jobs/", 6)) + { + /* + * Not a valid URI! + */ + + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad job-uri \"%s\"."), + uri->values[0].string.text); + return; + } + + jobid = atoi(resource + 6); + } + + /* + * See if the job exists... + */ + + if ((job = cupsdFindJob(jobid)) == NULL) + { + /* + * Nope - return a "not found" error... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), jobid); + return; + } + + /* + * See if job is in any of the "completed" states... + */ + + if (job->state_value <= IPP_JOB_PROCESSING) + { + /* + * Nope - return a "not possible" error... + */ + + send_ipp_status(con, IPP_NOT_POSSIBLE, _("Job #%d is not complete."), + jobid); + return; + } + + /* + * See if we have retained the job files... + */ + + cupsdLoadJob(job); + + if (!job->attrs || job->num_files == 0) + { + /* + * Nope - return a "not possible" error... + */ + + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job #%d cannot be restarted - no files."), jobid); + return; + } + + /* + * See if the job is owned by the requesting user... + */ + + if (!validate_user(job, con, job->username, username, sizeof(username))) + { + send_http_error(con, con->username[0] ? HTTP_FORBIDDEN : HTTP_UNAUTHORIZED, + cupsdFindDest(job->dest)); + return; + } + + /* + * See if the job-hold-until attribute is specified... + */ + + if ((attr = ippFindAttribute(con->request, "job-hold-until", + IPP_TAG_KEYWORD)) == NULL) + attr = ippFindAttribute(con->request, "job-hold-until", IPP_TAG_NAME); + + if (attr && strcmp(attr->values[0].string.text, "no-hold")) + { + /* + * Return the job to a held state... + */ + + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "Restarted by \"%s\" with job-hold-until=%s.", + username, attr->values[0].string.text); + cupsdSetJobHoldUntil(job, attr->values[0].string.text, 0); + + cupsdAddEvent(CUPSD_EVENT_JOB_CONFIG_CHANGED | CUPSD_EVENT_JOB_STATE, + NULL, job, "Job restarted by user with job-hold-until=%s", + attr->values[0].string.text); + } + else + { + /* + * Restart the job... + */ + + cupsdRestartJob(job); + cupsdCheckJobs(); + } + + cupsdLogJob(job, CUPSD_LOG_INFO, "Restarted by \"%s\".", username); + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'save_auth_info()' - Save authentication information for a job. + */ + +static void +save_auth_info( + cupsd_client_t *con, /* I - Client connection */ + cupsd_job_t *job, /* I - Job */ + ipp_attribute_t *auth_info) /* I - auth-info attribute, if any */ +{ + int i; /* Looping var */ + char filename[1024]; /* Job authentication filename */ + cups_file_t *fp; /* Job authentication file */ + char line[65536]; /* Line for file */ + cupsd_printer_t *dest; /* Destination printer/class */ + + + /* + * This function saves the in-memory authentication information for + * a job so that it can be used to authenticate with a remote host. + * The information is stored in a file that is readable only by the + * root user. The fields are Base-64 encoded, each on a separate line, + * followed by random number (up to 1024) of newlines to limit the + * amount of information that is exposed. + * + * Because of the potential for exposing of authentication information, + * this functionality is only enabled when running cupsd as root. + * + * This caching only works for the Basic and BasicDigest authentication + * types. Digest authentication cannot be cached this way, and in + * the future Kerberos authentication may make all of this obsolete. + * + * Authentication information is saved whenever an authenticated + * Print-Job, Create-Job, or CUPS-Authenticate-Job operation is + * performed. + * + * This information is deleted after a job is completed or canceled, + * so reprints may require subsequent re-authentication. + */ + + if (RunUser) + return; + + if ((dest = cupsdFindDest(job->dest)) == NULL) + return; + + /* + * Create the authentication file and change permissions... + */ + + snprintf(filename, sizeof(filename), "%s/a%05d", RequestRoot, job->id); + if ((fp = cupsFileOpen(filename, "w")) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to save authentication info to \"%s\" - %s", + filename, strerror(errno)); + return; + } + + fchown(cupsFileNumber(fp), 0, 0); + fchmod(cupsFileNumber(fp), 0400); + + cupsFilePuts(fp, "CUPSD-AUTH-V3\n"); + + for (i = 0; + i < (int)(sizeof(job->auth_env) / sizeof(job->auth_env[0])); + i ++) + cupsdClearString(job->auth_env + i); + + if (auth_info && auth_info->num_values == dest->num_auth_info_required) + { + /* + * Write 1 to 3 auth values... + */ + + for (i = 0; + i < auth_info->num_values && + i < (int)(sizeof(job->auth_env) / sizeof(job->auth_env[0])); + i ++) + { + if (strcmp(dest->auth_info_required[i], "negotiate")) + { + httpEncode64_2(line, sizeof(line), auth_info->values[i].string.text, (int)strlen(auth_info->values[i].string.text)); + cupsFilePutConf(fp, dest->auth_info_required[i], line); + } + else + cupsFilePutConf(fp, dest->auth_info_required[i], + auth_info->values[i].string.text); + + if (!strcmp(dest->auth_info_required[i], "username")) + cupsdSetStringf(job->auth_env + i, "AUTH_USERNAME=%s", + auth_info->values[i].string.text); + else if (!strcmp(dest->auth_info_required[i], "domain")) + cupsdSetStringf(job->auth_env + i, "AUTH_DOMAIN=%s", + auth_info->values[i].string.text); + else if (!strcmp(dest->auth_info_required[i], "password")) + cupsdSetStringf(job->auth_env + i, "AUTH_PASSWORD=%s", + auth_info->values[i].string.text); + else if (!strcmp(dest->auth_info_required[i], "negotiate")) + cupsdSetStringf(job->auth_env + i, "AUTH_NEGOTIATE=%s", + auth_info->values[i].string.text); + else + i --; + } + } + else if (auth_info && auth_info->num_values == 2 && + dest->num_auth_info_required == 1 && + !strcmp(dest->auth_info_required[0], "negotiate")) + { + /* + * Allow fallback to username+password for Kerberized queues... + */ + + httpEncode64_2(line, sizeof(line), auth_info->values[0].string.text, (int)strlen(auth_info->values[0].string.text)); + cupsFilePutConf(fp, "username", line); + + cupsdSetStringf(job->auth_env + 0, "AUTH_USERNAME=%s", + auth_info->values[0].string.text); + + httpEncode64_2(line, sizeof(line), auth_info->values[1].string.text, (int)strlen(auth_info->values[1].string.text)); + cupsFilePutConf(fp, "password", line); + + cupsdSetStringf(job->auth_env + 1, "AUTH_PASSWORD=%s", + auth_info->values[1].string.text); + } + else if (con->username[0]) + { + /* + * Write the authenticated username... + */ + + httpEncode64_2(line, sizeof(line), con->username, (int)strlen(con->username)); + cupsFilePutConf(fp, "username", line); + + cupsdSetStringf(job->auth_env + 0, "AUTH_USERNAME=%s", con->username); + + /* + * Write the authenticated password... + */ + + httpEncode64_2(line, sizeof(line), con->password, (int)strlen(con->password)); + cupsFilePutConf(fp, "password", line); + + cupsdSetStringf(job->auth_env + 1, "AUTH_PASSWORD=%s", con->password); + } + +#ifdef HAVE_GSSAPI + if (con->gss_uid > 0) + { + cupsFilePrintf(fp, "uid %d\n", (int)con->gss_uid); + cupsdSetStringf(&job->auth_uid, "AUTH_UID=%d", (int)con->gss_uid); + } +#endif /* HAVE_GSSAPI */ + + /* + * Write a random number of newlines to the end of the file... + */ + + for (i = (CUPS_RAND() % 1024); i >= 0; i --) + cupsFilePutChar(fp, '\n'); + + /* + * Close the file and return... + */ + + cupsFileClose(fp); +} + + +/* + * 'send_document()' - Send a file to a printer or class. + */ + +static void +send_document(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + ipp_attribute_t *attr; /* Current attribute */ + ipp_attribute_t *format; /* Request's document-format attribute */ + ipp_attribute_t *jformat; /* Job's document-format attribute */ + const char *default_format;/* document-format-default value */ + int jobid; /* Job ID number */ + cupsd_job_t *job; /* Current job */ + char job_uri[HTTP_MAX_URI], + /* Job URI */ + scheme[HTTP_MAX_URI], + /* Method portion of URI */ + username[HTTP_MAX_URI], + /* Username portion of URI */ + host[HTTP_MAX_URI], + /* Host portion of URI */ + resource[HTTP_MAX_URI]; + /* Resource portion of URI */ + int port; /* Port portion of URI */ + mime_type_t *filetype; /* Type of file */ + char super[MIME_MAX_SUPER], + /* Supertype of file */ + type[MIME_MAX_TYPE], + /* Subtype of file */ + mimetype[MIME_MAX_SUPER + MIME_MAX_TYPE + 2]; + /* Textual name of mime type */ + char filename[1024]; /* Job filename */ + cupsd_printer_t *printer; /* Current printer */ + struct stat fileinfo; /* File information */ + int kbytes; /* Size of file */ + int compression; /* Type of compression */ + int start_job; /* Start the job? */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "send_document(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * See if we have a job URI or a printer URI... + */ + + if (!strcmp(uri->name, "printer-uri")) + { + /* + * Got a printer URI; see if we also have a job-id attribute... + */ + + if ((attr = ippFindAttribute(con->request, "job-id", + IPP_TAG_INTEGER)) == NULL) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Got a printer-uri attribute but no job-id.")); + return; + } + + jobid = attr->values[0].integer; + } + else + { + /* + * Got a job URI; parse it to get the job ID... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (strncmp(resource, "/jobs/", 6)) + { + /* + * Not a valid URI! + */ + + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad job-uri \"%s\"."), + uri->values[0].string.text); + return; + } + + jobid = atoi(resource + 6); + } + + /* + * See if the job exists... + */ + + if ((job = cupsdFindJob(jobid)) == NULL) + { + /* + * Nope - return a "not found" error... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), jobid); + return; + } + + printer = cupsdFindDest(job->dest); + + /* + * See if the job is owned by the requesting user... + */ + + if (!validate_user(job, con, job->username, username, sizeof(username))) + { + send_http_error(con, con->username[0] ? HTTP_FORBIDDEN : HTTP_UNAUTHORIZED, + cupsdFindDest(job->dest)); + return; + } + + /* + * OK, see if the client is sending the document compressed - CUPS + * only supports "none" and "gzip". + */ + + compression = CUPS_FILE_NONE; + + if ((attr = ippFindAttribute(con->request, "compression", + IPP_TAG_KEYWORD)) != NULL) + { + if (strcmp(attr->values[0].string.text, "none") +#ifdef HAVE_LIBZ + && strcmp(attr->values[0].string.text, "gzip") +#endif /* HAVE_LIBZ */ + ) + { + send_ipp_status(con, IPP_ATTRIBUTES, _("Unsupported compression \"%s\"."), + attr->values[0].string.text); + ippAddString(con->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_KEYWORD, + "compression", NULL, attr->values[0].string.text); + return; + } + +#ifdef HAVE_LIBZ + if (!strcmp(attr->values[0].string.text, "gzip")) + compression = CUPS_FILE_GZIP; +#endif /* HAVE_LIBZ */ + } + + /* + * Do we have a file to print? + */ + + if ((attr = ippFindAttribute(con->request, "last-document", + IPP_TAG_BOOLEAN)) == NULL) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Missing last-document attribute in request.")); + return; + } + + if (!con->filename) + { + /* + * Check for an empty request with "last-document" set to true, which is + * used to close an "open" job by RFC 2911, section 3.3.2. + */ + + if (job->num_files > 0 && attr->values[0].boolean) + goto last_document; + + send_ipp_status(con, IPP_BAD_REQUEST, _("No file in print request.")); + return; + } + + /* + * Is it a format we support? + */ + + cupsdLoadJob(job); + + if ((format = ippFindAttribute(con->request, "document-format", + IPP_TAG_MIMETYPE)) != NULL) + { + /* + * Grab format from client... + */ + + if (sscanf(format->values[0].string.text, "%15[^/]/%255[^;]", + super, type) != 2) + { + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad document-format \"%s\"."), + format->values[0].string.text); + return; + } + + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_MIMETYPE, "document-format-supplied", NULL, ippGetString(format, 0, NULL)); + } + else if ((default_format = cupsGetOption("document-format", + printer->num_options, + printer->options)) != NULL) + { + /* + * Use default document format... + */ + + if (sscanf(default_format, "%15[^/]/%255[^;]", super, type) != 2) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Bad document-format-default \"%s\"."), default_format); + return; + } + } + else + { + /* + * No document format attribute? Auto-type it! + */ + + strlcpy(super, "application", sizeof(super)); + strlcpy(type, "octet-stream", sizeof(type)); + } + + if (!strcmp(super, "application") && !strcmp(type, "octet-stream")) + { + /* + * Auto-type the file... + */ + + ipp_attribute_t *doc_name; /* document-name attribute */ + + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Auto-typing file..."); + + doc_name = ippFindAttribute(con->request, "document-name", IPP_TAG_NAME); + filetype = mimeFileType(MimeDatabase, con->filename, + doc_name ? doc_name->values[0].string.text : NULL, + &compression); + + if (!filetype) + filetype = mimeType(MimeDatabase, super, type); + + if (filetype) + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Request file type is %s/%s.", + filetype->super, filetype->type); + + snprintf(mimetype, sizeof(mimetype), "%s/%s", filetype->super, filetype->type); + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_MIMETYPE, "document-format-detected", NULL, mimetype); + } + else + filetype = mimeType(MimeDatabase, super, type); + + if (filetype) + { + /* + * Replace the document-format attribute value with the auto-typed or + * default one. + */ + + snprintf(mimetype, sizeof(mimetype), "%s/%s", filetype->super, + filetype->type); + + if ((jformat = ippFindAttribute(job->attrs, "document-format", + IPP_TAG_MIMETYPE)) != NULL) + ippSetString(job->attrs, &jformat, 0, mimetype); + else + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_MIMETYPE, + "document-format", NULL, mimetype); + } + else if (!filetype) + { + send_ipp_status(con, IPP_DOCUMENT_FORMAT, + _("Unsupported document-format \"%s/%s\"."), super, type); + cupsdLogMessage(CUPSD_LOG_INFO, + "Hint: Do you have the raw file printing rules enabled?"); + + if (format) + ippAddString(con->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_MIMETYPE, + "document-format", NULL, format->values[0].string.text); + + return; + } + + if (printer->filetypes && !cupsArrayFind(printer->filetypes, filetype)) + { + snprintf(mimetype, sizeof(mimetype), "%s/%s", filetype->super, + filetype->type); + + send_ipp_status(con, IPP_DOCUMENT_FORMAT, + _("Unsupported document-format \"%s\"."), mimetype); + + ippAddString(con->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_MIMETYPE, + "document-format", NULL, mimetype); + + return; + } + + /* + * Add the file to the job... + */ + + if (add_file(con, job, filetype, compression)) + return; + + if ((attr = ippFindAttribute(con->request, "document-name", IPP_TAG_NAME)) != NULL) + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_NAME, "document-name-supplied", NULL, ippGetString(attr, 0, NULL)); + + if (stat(con->filename, &fileinfo)) + kbytes = 0; + else + kbytes = (fileinfo.st_size + 1023) / 1024; + + cupsdUpdateQuota(printer, job->username, 0, kbytes); + + job->koctets += kbytes; + + if ((attr = ippFindAttribute(job->attrs, "job-k-octets", IPP_TAG_INTEGER)) != NULL) + attr->values[0].integer += kbytes; + + snprintf(filename, sizeof(filename), "%s/d%05d-%03d", RequestRoot, job->id, job->num_files); + if (rename(con->filename, filename)) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, "Unable to rename job document file \"%s\": %s", filename, strerror(errno)); + + send_ipp_status(con, IPP_INTERNAL_ERROR, _("Unable to rename job document file.")); + return; + } + + cupsdClearString(&con->filename); + + cupsdLogJob(job, CUPSD_LOG_INFO, "File of type %s/%s queued by \"%s\".", + filetype->super, filetype->type, job->username); + + /* + * Start the job if this is the last document... + */ + + last_document: + + if ((attr = ippFindAttribute(con->request, "last-document", + IPP_TAG_BOOLEAN)) != NULL && + attr->values[0].boolean) + { + /* + * See if we need to add the ending sheet... + */ + + if (cupsdTimeoutJob(job)) + return; + + if (job->state_value == IPP_JOB_STOPPED) + { + job->state->values[0].integer = IPP_JOB_PENDING; + job->state_value = IPP_JOB_PENDING; + + ippSetString(job->attrs, &job->reasons, 0, "none"); + } + else if (job->state_value == IPP_JOB_HELD) + { + if ((attr = ippFindAttribute(job->attrs, "job-hold-until", + IPP_TAG_KEYWORD)) == NULL) + attr = ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_NAME); + + if (!attr || !strcmp(attr->values[0].string.text, "no-hold")) + { + job->state->values[0].integer = IPP_JOB_PENDING; + job->state_value = IPP_JOB_PENDING; + + ippSetString(job->attrs, &job->reasons, 0, "none"); + } + else + ippSetString(job->attrs, &job->reasons, 0, "job-hold-until-specified"); + } + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + + start_job = 1; + } + else + { + if ((attr = ippFindAttribute(job->attrs, "job-hold-until", + IPP_TAG_KEYWORD)) == NULL) + attr = ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_NAME); + + if (!attr || !strcmp(attr->values[0].string.text, "no-hold")) + { + job->state->values[0].integer = IPP_JOB_HELD; + job->state_value = IPP_JOB_HELD; + job->hold_until = time(NULL) + MultipleOperationTimeout; + + ippSetString(job->attrs, &job->reasons, 0, "job-incoming"); + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + } + + start_job = 0; + } + + /* + * Fill in the response info... + */ + + httpAssembleURIf(HTTP_URI_CODING_ALL, job_uri, sizeof(job_uri), "ipp", NULL, con->clientname, con->clientport, "/jobs/%d", jobid); + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_URI, "job-uri", NULL, job_uri); + + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-id", jobid); + + ippAddInteger(con->response, IPP_TAG_JOB, IPP_TAG_ENUM, "job-state", (int)job->state_value); + ippAddString(con->response, IPP_TAG_JOB, IPP_TAG_KEYWORD, "job-state-reasons", NULL, job->reasons->values[0].string.text); + + con->response->request.status.status_code = IPP_OK; + + /* + * Start the job if necessary... + */ + + if (start_job) + cupsdCheckJobs(); +} + + +/* + * 'send_http_error()' - Send a HTTP error back to the IPP client. + */ + +static void +send_http_error( + cupsd_client_t *con, /* I - Client connection */ + http_status_t status, /* I - HTTP status code */ + cupsd_printer_t *printer) /* I - Printer, if any */ +{ + ipp_attribute_t *uri; /* Request URI, if any */ + + + if ((uri = ippFindAttribute(con->request, "printer-uri", + IPP_TAG_URI)) == NULL) + uri = ippFindAttribute(con->request, "job-uri", IPP_TAG_URI); + + cupsdLogMessage(status == HTTP_FORBIDDEN ? CUPSD_LOG_ERROR : CUPSD_LOG_DEBUG, + "[Client %d] Returning HTTP %s for %s (%s) from %s", + con->number, httpStatus(status), + con->request ? + ippOpString(con->request->request.op.operation_id) : + "no operation-id", + uri ? uri->values[0].string.text : "no URI", + con->http->hostname); + + if (printer) + { + int auth_type; /* Type of authentication required */ + + + auth_type = CUPSD_AUTH_NONE; + + if (status == HTTP_UNAUTHORIZED && + printer->num_auth_info_required > 0 && + !strcmp(printer->auth_info_required[0], "negotiate") && + con->request && + (con->request->request.op.operation_id == IPP_PRINT_JOB || + con->request->request.op.operation_id == IPP_CREATE_JOB || + con->request->request.op.operation_id == CUPS_AUTHENTICATE_JOB)) + { + /* + * Creating and authenticating jobs requires Kerberos... + */ + + auth_type = CUPSD_AUTH_NEGOTIATE; + } + else + { + /* + * Use policy/location-defined authentication requirements... + */ + + char resource[HTTP_MAX_URI]; /* Resource portion of URI */ + cupsd_location_t *auth; /* Pointer to authentication element */ + + + if (printer->type & CUPS_PRINTER_CLASS) + snprintf(resource, sizeof(resource), "/classes/%s", printer->name); + else + snprintf(resource, sizeof(resource), "/printers/%s", printer->name); + + if ((auth = cupsdFindBest(resource, HTTP_POST)) == NULL || + auth->type == CUPSD_AUTH_NONE) + auth = cupsdFindPolicyOp(printer->op_policy_ptr, + con->request ? + con->request->request.op.operation_id : + IPP_PRINT_JOB); + + if (auth) + { + if (auth->type == CUPSD_AUTH_DEFAULT) + auth_type = cupsdDefaultAuthType(); + else + auth_type = auth->type; + } + } + + cupsdSendError(con, status, auth_type); + } + else + cupsdSendError(con, status, CUPSD_AUTH_NONE); + + ippDelete(con->response); + con->response = NULL; + + return; +} + + +/* + * 'send_ipp_status()' - Send a status back to the IPP client. + */ + +static void +send_ipp_status(cupsd_client_t *con, /* I - Client connection */ + ipp_status_t status, /* I - IPP status code */ + const char *message,/* I - Status message */ + ...) /* I - Additional args as needed */ +{ + va_list ap; /* Pointer to additional args */ + char formatted[1024]; /* Formatted errror message */ + + + va_start(ap, message); + vsnprintf(formatted, sizeof(formatted), + _cupsLangString(con->language, message), ap); + va_end(ap); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "%s %s: %s", + ippOpString(con->request->request.op.operation_id), + ippErrorString(status), formatted); + + con->response->request.status.status_code = status; + + if (ippFindAttribute(con->response, "attributes-charset", + IPP_TAG_ZERO) == NULL) + ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_CHARSET, + "attributes-charset", NULL, "utf-8"); + + if (ippFindAttribute(con->response, "attributes-natural-language", + IPP_TAG_ZERO) == NULL) + ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, + "attributes-natural-language", NULL, DefaultLanguage); + + ippAddString(con->response, IPP_TAG_OPERATION, IPP_TAG_TEXT, + "status-message", NULL, formatted); +} + + +/* + * 'set_default()' - Set the default destination... + */ + +static void +set_default(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + http_status_t status; /* Policy status */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cupsd_printer_t *printer, /* Printer */ + *oldprinter; /* Old default printer */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "set_default(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(DefaultPolicyPtr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, NULL); + return; + } + + /* + * Set it as the default... + */ + + oldprinter = DefaultPrinter; + DefaultPrinter = printer; + + if (oldprinter) + cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, oldprinter, NULL, + "%s is no longer the default printer.", oldprinter->name); + + cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, printer, NULL, + "%s is now the default printer.", printer->name); + + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS | CUPSD_DIRTY_CLASSES | + CUPSD_DIRTY_PRINTCAP); + + cupsdLogMessage(CUPSD_LOG_INFO, + "Default destination set to \"%s\" by \"%s\".", + printer->name, get_username(con)); + + /* + * Everything was ok, so return OK status... + */ + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'set_job_attrs()' - Set job attributes. + */ + +static void +set_job_attrs(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Job URI */ +{ + ipp_attribute_t *attr, /* Current attribute */ + *attr2; /* Job attribute */ + int jobid; /* Job ID */ + cupsd_job_t *job; /* Current job */ + char scheme[HTTP_MAX_URI], + /* Method portion of URI */ + username[HTTP_MAX_URI], + /* Username portion of URI */ + host[HTTP_MAX_URI], + /* Host portion of URI */ + resource[HTTP_MAX_URI]; + /* Resource portion of URI */ + int port; /* Port portion of URI */ + int event; /* Events? */ + int check_jobs; /* Check jobs? */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "set_job_attrs(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Start with "everything is OK" status... + */ + + con->response->request.status.status_code = IPP_OK; + + /* + * See if we have a job URI or a printer URI... + */ + + if (!strcmp(uri->name, "printer-uri")) + { + /* + * Got a printer URI; see if we also have a job-id attribute... + */ + + if ((attr = ippFindAttribute(con->request, "job-id", + IPP_TAG_INTEGER)) == NULL) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Got a printer-uri attribute but no job-id.")); + return; + } + + jobid = attr->values[0].integer; + } + else + { + /* + * Got a job URI; parse it to get the job ID... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, + sizeof(scheme), username, sizeof(username), host, + sizeof(host), &port, resource, sizeof(resource)); + + if (strncmp(resource, "/jobs/", 6)) + { + /* + * Not a valid URI! + */ + + send_ipp_status(con, IPP_BAD_REQUEST, _("Bad job-uri \"%s\"."), + uri->values[0].string.text); + return; + } + + jobid = atoi(resource + 6); + } + + /* + * See if the job exists... + */ + + if ((job = cupsdFindJob(jobid)) == NULL) + { + /* + * Nope - return a "not found" error... + */ + + send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), jobid); + return; + } + + /* + * See if the job has been completed... + */ + + if (job->state_value > IPP_JOB_STOPPED) + { + /* + * Return a "not-possible" error... + */ + + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job #%d is finished and cannot be altered."), jobid); + return; + } + + /* + * See if the job is owned by the requesting user... + */ + + if (!validate_user(job, con, job->username, username, sizeof(username))) + { + send_http_error(con, con->username[0] ? HTTP_FORBIDDEN : HTTP_UNAUTHORIZED, + cupsdFindDest(job->dest)); + return; + } + + /* + * See what the user wants to change. + */ + + cupsdLoadJob(job); + + check_jobs = 0; + event = 0; + + for (attr = con->request->attrs; attr; attr = attr->next) + { + if (attr->group_tag != IPP_TAG_JOB || !attr->name) + continue; + + if (!strcmp(attr->name, "attributes-charset") || + !strcmp(attr->name, "attributes-natural-language") || + !strncmp(attr->name, "date-time-at-", 13) || + !strncmp(attr->name, "document-compression", 20) || + !strncmp(attr->name, "document-format", 15) || + !strcmp(attr->name, "job-detailed-status-messages") || + !strcmp(attr->name, "job-document-access-errors") || + !strcmp(attr->name, "job-id") || + !strcmp(attr->name, "job-impressions-completed") || + !strcmp(attr->name, "job-k-octets-completed") || + !strcmp(attr->name, "job-media-sheets-completed") || + !strcmp(attr->name, "job-originating-host-name") || + !strcmp(attr->name, "job-originating-user-name") || + !strcmp(attr->name, "job-pages-completed") || + !strcmp(attr->name, "job-printer-up-time") || + !strcmp(attr->name, "job-printer-uri") || + !strcmp(attr->name, "job-sheets") || + !strcmp(attr->name, "job-state-message") || + !strcmp(attr->name, "job-state-reasons") || + !strcmp(attr->name, "job-uri") || + !strcmp(attr->name, "number-of-documents") || + !strcmp(attr->name, "number-of-intervening-jobs") || + !strcmp(attr->name, "output-device-assigned") || + !strncmp(attr->name, "time-at-", 8)) + { + /* + * Read-only attrs! + */ + + send_ipp_status(con, IPP_ATTRIBUTES_NOT_SETTABLE, + _("%s cannot be changed."), attr->name); + + attr2 = ippCopyAttribute(con->response, attr, 0); + ippSetGroupTag(con->response, &attr2, IPP_TAG_UNSUPPORTED_GROUP); + continue; + } + + if (!ippValidateAttribute(attr)) + { + send_ipp_status(con, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, _("Bad '%s' value."), attr->name); + ippCopyAttribute(con->response, attr, 0); + return; + } + + if (!strcmp(attr->name, "job-hold-until")) + { + const char *when = ippGetString(attr, 0, NULL); + /* job-hold-until value */ + + if ((ippGetValueTag(attr) != IPP_TAG_KEYWORD && ippGetValueTag(attr) != IPP_TAG_NAME && ippGetValueTag(attr) != IPP_TAG_NAMELANG) || ippGetCount(attr) != 1) + { + send_ipp_status(con, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, _("Unsupported 'job-hold-until' value.")); + ippCopyAttribute(con->response, attr, 0); + return; + } + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Setting job-hold-until to %s", when); + cupsdSetJobHoldUntil(job, when, 0); + + if (!strcmp(when, "no-hold")) + { + cupsdReleaseJob(job); + check_jobs = 1; + } + else + cupsdSetJobState(job, IPP_JOB_HELD, CUPSD_JOB_DEFAULT, "Job held by \"%s\".", username); + + event |= CUPSD_EVENT_JOB_CONFIG_CHANGED | CUPSD_EVENT_JOB_STATE; + } + else if (!strcmp(attr->name, "job-priority")) + { + /* + * Change the job priority... + */ + + if (attr->value_tag != IPP_TAG_INTEGER) + { + send_ipp_status(con, IPP_REQUEST_VALUE, _("Bad job-priority value.")); + + attr2 = ippCopyAttribute(con->response, attr, 0); + ippSetGroupTag(con->response, &attr2, IPP_TAG_UNSUPPORTED_GROUP); + } + else if (job->state_value >= IPP_JOB_PROCESSING) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job is completed and cannot be changed.")); + return; + } + else if (con->response->request.status.status_code == IPP_OK) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Setting job-priority to %d", + attr->values[0].integer); + cupsdSetJobPriority(job, attr->values[0].integer); + + check_jobs = 1; + event |= CUPSD_EVENT_JOB_CONFIG_CHANGED | + CUPSD_EVENT_PRINTER_QUEUE_ORDER_CHANGED; + } + } + else if (!strcmp(attr->name, "job-state")) + { + /* + * Change the job state... + */ + + if (attr->value_tag != IPP_TAG_ENUM) + { + send_ipp_status(con, IPP_REQUEST_VALUE, _("Bad job-state value.")); + + attr2 = ippCopyAttribute(con->response, attr, 0); + ippSetGroupTag(con->response, &attr2, IPP_TAG_UNSUPPORTED_GROUP); + } + else + { + switch (attr->values[0].integer) + { + case IPP_JOB_PENDING : + case IPP_JOB_HELD : + if (job->state_value > IPP_JOB_HELD) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job state cannot be changed.")); + return; + } + else if (con->response->request.status.status_code == IPP_OK) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Setting job-state to %d", + attr->values[0].integer); + cupsdSetJobState(job, (ipp_jstate_t)attr->values[0].integer, CUPSD_JOB_DEFAULT, "Job state changed by \"%s\"", username); + check_jobs = 1; + } + break; + + case IPP_JOB_PROCESSING : + case IPP_JOB_STOPPED : + if (job->state_value != (ipp_jstate_t)attr->values[0].integer) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job state cannot be changed.")); + return; + } + break; + + case IPP_JOB_CANCELED : + case IPP_JOB_ABORTED : + case IPP_JOB_COMPLETED : + if (job->state_value > IPP_JOB_PROCESSING) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Job state cannot be changed.")); + return; + } + else if (con->response->request.status.status_code == IPP_OK) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Setting job-state to %d", + attr->values[0].integer); + cupsdSetJobState(job, (ipp_jstate_t)attr->values[0].integer, + CUPSD_JOB_DEFAULT, + "Job state changed by \"%s\"", username); + check_jobs = 1; + } + break; + } + } + } + else if (con->response->request.status.status_code != IPP_OK) + continue; + else if ((attr2 = ippFindAttribute(job->attrs, attr->name, + IPP_TAG_ZERO)) != NULL) + { + /* + * Some other value; first free the old value... + */ + + if (job->attrs->prev) + job->attrs->prev->next = attr2->next; + else + job->attrs->attrs = attr2->next; + + if (job->attrs->last == attr2) + job->attrs->last = job->attrs->prev; + + ippDeleteAttribute(NULL, attr2); + + /* + * Then copy the attribute... + */ + + ippCopyAttribute(job->attrs, attr, 0); + } + else if (attr->value_tag == IPP_TAG_DELETEATTR) + { + /* + * Delete the attribute... + */ + + if ((attr2 = ippFindAttribute(job->attrs, attr->name, + IPP_TAG_ZERO)) != NULL) + { + if (job->attrs->prev) + job->attrs->prev->next = attr2->next; + else + job->attrs->attrs = attr2->next; + + if (attr2 == job->attrs->last) + job->attrs->last = job->attrs->prev; + + ippDeleteAttribute(NULL, attr2); + + event |= CUPSD_EVENT_JOB_CONFIG_CHANGED; + } + } + else + { + /* + * Add new option by copying it... + */ + + ippCopyAttribute(job->attrs, attr, 0); + + event |= CUPSD_EVENT_JOB_CONFIG_CHANGED; + } + } + + /* + * Save the job... + */ + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + + /* + * Send events as needed... + */ + + if (event & CUPSD_EVENT_PRINTER_QUEUE_ORDER_CHANGED) + cupsdAddEvent(CUPSD_EVENT_PRINTER_QUEUE_ORDER_CHANGED, + cupsdFindDest(job->dest), job, + "Job priority changed by user."); + + if (event & CUPSD_EVENT_JOB_STATE) + cupsdAddEvent(CUPSD_EVENT_JOB_STATE, cupsdFindDest(job->dest), job, + job->state_value == IPP_JOB_HELD ? + "Job held by user." : "Job restarted by user."); + + if (event & CUPSD_EVENT_JOB_CONFIG_CHANGED) + cupsdAddEvent(CUPSD_EVENT_JOB_CONFIG_CHANGED, cupsdFindDest(job->dest), job, + "Job options changed by user."); + + /* + * Start jobs if possible... + */ + + if (check_jobs) + cupsdCheckJobs(); +} + + +/* + * 'set_printer_attrs()' - Set printer attributes. + */ + +static void +set_printer_attrs(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer */ +{ + http_status_t status; /* Policy status */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cupsd_printer_t *printer; /* Printer/class */ + ipp_attribute_t *attr; /* Printer attribute */ + int changed = 0; /* Was anything changed? */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "set_printer_attrs(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + + /* + * Return a list of attributes that can be set via Set-Printer-Attributes. + */ + + if ((attr = ippFindAttribute(con->request, "printer-location", + IPP_TAG_TEXT)) != NULL) + { + cupsdSetString(&printer->location, attr->values[0].string.text); + changed = 1; + } + + if ((attr = ippFindAttribute(con->request, "printer-geo-location", IPP_TAG_URI)) != NULL && !strncmp(attr->values[0].string.text, "geo:", 4)) + { + cupsdSetString(&printer->geo_location, attr->values[0].string.text); + changed = 1; + } + + if ((attr = ippFindAttribute(con->request, "printer-organization", IPP_TAG_TEXT)) != NULL) + { + cupsdSetString(&printer->organization, attr->values[0].string.text); + changed = 1; + } + + if ((attr = ippFindAttribute(con->request, "printer-organizational-unit", IPP_TAG_TEXT)) != NULL) + { + cupsdSetString(&printer->organizational_unit, attr->values[0].string.text); + changed = 1; + } + + if ((attr = ippFindAttribute(con->request, "printer-info", + IPP_TAG_TEXT)) != NULL) + { + cupsdSetString(&printer->info, attr->values[0].string.text); + changed = 1; + } + + /* + * Update the printer attributes and return... + */ + + if (changed) + { + printer->config_time = time(NULL); + + cupsdSetPrinterAttrs(printer); + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + + cupsdAddEvent(CUPSD_EVENT_PRINTER_CONFIG, printer, NULL, + "Printer \"%s\" description or location changed by \"%s\".", + printer->name, get_username(con)); + + cupsdLogMessage(CUPSD_LOG_INFO, + "Printer \"%s\" description or location changed by \"%s\".", + printer->name, get_username(con)); + } + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'set_printer_defaults()' - Set printer default options from a request. + */ + +static int /* O - 1 on success, 0 on failure */ +set_printer_defaults( + cupsd_client_t *con, /* I - Client connection */ + cupsd_printer_t *printer) /* I - Printer */ +{ + int i; /* Looping var */ + ipp_attribute_t *attr; /* Current attribute */ + size_t namelen; /* Length of attribute name */ + char name[256], /* New attribute name */ + value[256]; /* String version of integer attrs */ + + + for (attr = con->request->attrs; attr; attr = attr->next) + { + /* + * Skip non-printer attributes... + */ + + if (attr->group_tag != IPP_TAG_PRINTER || !attr->name) + continue; + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "set_printer_defaults: %s", attr->name); + + if (!strcmp(attr->name, "job-sheets-default")) + { + /* + * Only allow keywords and names... + */ + + if (attr->value_tag != IPP_TAG_NAME && attr->value_tag != IPP_TAG_KEYWORD) + continue; + + /* + * Only allow job-sheets-default to be set when running without a + * system high classification level... + */ + + if (Classification) + continue; + + cupsdSetString(&printer->job_sheets[0], attr->values[0].string.text); + + if (attr->num_values > 1) + cupsdSetString(&printer->job_sheets[1], attr->values[1].string.text); + else + cupsdSetString(&printer->job_sheets[1], "none"); + } + else if (!strcmp(attr->name, "requesting-user-name-allowed")) + { + cupsdFreeStrings(&(printer->users)); + + printer->deny_users = 0; + + if (attr->value_tag == IPP_TAG_NAME && + (attr->num_values > 1 || + strcmp(attr->values[0].string.text, "all"))) + { + for (i = 0; i < attr->num_values; i ++) + cupsdAddString(&(printer->users), attr->values[i].string.text); + } + } + else if (!strcmp(attr->name, "requesting-user-name-denied")) + { + cupsdFreeStrings(&(printer->users)); + + printer->deny_users = 1; + + if (attr->value_tag == IPP_TAG_NAME && + (attr->num_values > 1 || + strcmp(attr->values[0].string.text, "none"))) + { + for (i = 0; i < attr->num_values; i ++) + cupsdAddString(&(printer->users), attr->values[i].string.text); + } + } + else if (!strcmp(attr->name, "job-quota-period")) + { + if (attr->value_tag != IPP_TAG_INTEGER) + continue; + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Setting job-quota-period to %d...", + attr->values[0].integer); + cupsdFreeQuotas(printer); + + printer->quota_period = attr->values[0].integer; + } + else if (!strcmp(attr->name, "job-k-limit")) + { + if (attr->value_tag != IPP_TAG_INTEGER) + continue; + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Setting job-k-limit to %d...", + attr->values[0].integer); + cupsdFreeQuotas(printer); + + printer->k_limit = attr->values[0].integer; + } + else if (!strcmp(attr->name, "job-page-limit")) + { + if (attr->value_tag != IPP_TAG_INTEGER) + continue; + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Setting job-page-limit to %d...", + attr->values[0].integer); + cupsdFreeQuotas(printer); + + printer->page_limit = attr->values[0].integer; + } + else if (!strcmp(attr->name, "printer-op-policy")) + { + cupsd_policy_t *p; /* Policy */ + + + if (attr->value_tag != IPP_TAG_NAME) + continue; + + if ((p = cupsdFindPolicy(attr->values[0].string.text)) != NULL) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Setting printer-op-policy to \"%s\"...", + attr->values[0].string.text); + cupsdSetString(&printer->op_policy, attr->values[0].string.text); + printer->op_policy_ptr = p; + } + else + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Unknown printer-op-policy \"%s\"."), + attr->values[0].string.text); + return (0); + } + } + else if (!strcmp(attr->name, "printer-error-policy")) + { + if (attr->value_tag != IPP_TAG_NAME && attr->value_tag != IPP_TAG_KEYWORD) + continue; + + if (strcmp(attr->values[0].string.text, "retry-current-job") && + ((printer->type & CUPS_PRINTER_CLASS) || + (strcmp(attr->values[0].string.text, "abort-job") && + strcmp(attr->values[0].string.text, "retry-job") && + strcmp(attr->values[0].string.text, "stop-printer")))) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, + _("Unknown printer-error-policy \"%s\"."), + attr->values[0].string.text); + return (0); + } + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Setting printer-error-policy to \"%s\"...", + attr->values[0].string.text); + cupsdSetString(&printer->error_policy, attr->values[0].string.text); + } + + /* + * Skip any other non-default attributes... + */ + + namelen = strlen(attr->name); + if (namelen < 9 || strcmp(attr->name + namelen - 8, "-default") || + namelen > (sizeof(name) - 1) || attr->num_values != 1) + continue; + + /* + * OK, anything else must be a user-defined default... + */ + + strlcpy(name, attr->name, sizeof(name)); + name[namelen - 8] = '\0'; /* Strip "-default" */ + + switch (attr->value_tag) + { + case IPP_TAG_DELETEATTR : + printer->num_options = cupsRemoveOption(name, + printer->num_options, + &(printer->options)); + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Deleting %s", attr->name); + break; + + case IPP_TAG_NAME : + case IPP_TAG_TEXT : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + printer->num_options = cupsAddOption(name, + attr->values[0].string.text, + printer->num_options, + &(printer->options)); + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Setting %s to \"%s\"...", attr->name, + attr->values[0].string.text); + break; + + case IPP_TAG_BOOLEAN : + printer->num_options = cupsAddOption(name, + attr->values[0].boolean ? + "true" : "false", + printer->num_options, + &(printer->options)); + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Setting %s to %s...", attr->name, + attr->values[0].boolean ? "true" : "false"); + break; + + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + sprintf(value, "%d", attr->values[0].integer); + printer->num_options = cupsAddOption(name, value, + printer->num_options, + &(printer->options)); + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Setting %s to %s...", attr->name, value); + break; + + case IPP_TAG_RANGE : + sprintf(value, "%d-%d", attr->values[0].range.lower, + attr->values[0].range.upper); + printer->num_options = cupsAddOption(name, value, + printer->num_options, + &(printer->options)); + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Setting %s to %s...", attr->name, value); + break; + + case IPP_TAG_RESOLUTION : + sprintf(value, "%dx%d%s", attr->values[0].resolution.xres, + attr->values[0].resolution.yres, + attr->values[0].resolution.units == IPP_RES_PER_INCH ? + "dpi" : "dpcm"); + printer->num_options = cupsAddOption(name, value, + printer->num_options, + &(printer->options)); + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Setting %s to %s...", attr->name, value); + break; + + default : + /* Do nothing for other values */ + break; + } + } + + return (1); +} + + +/* + * 'start_printer()' - Start a printer. + */ + +static void +start_printer(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + int i; /* Temporary variable */ + http_status_t status; /* Policy status */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cupsd_printer_t *printer; /* Printer data */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "start_printer(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + + /* + * Start the printer... + */ + + printer->state_message[0] = '\0'; + + cupsdStartPrinter(printer, 1); + + if (dtype & CUPS_PRINTER_CLASS) + cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" started by \"%s\".", + printer->name, get_username(con)); + else + cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" started by \"%s\".", + printer->name, get_username(con)); + + cupsdCheckJobs(); + + /* + * Check quotas... + */ + + if ((i = check_quotas(con, printer)) < 0) + { + send_ipp_status(con, IPP_NOT_POSSIBLE, _("Quota limit reached.")); + return; + } + else if (i == 0) + { + send_ipp_status(con, IPP_NOT_AUTHORIZED, _("Not allowed to print.")); + return; + } + + /* + * Everything was ok, so return OK status... + */ + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'stop_printer()' - Stop a printer. + */ + +static void +stop_printer(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + http_status_t status; /* Policy status */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + cupsd_printer_t *printer; /* Printer data */ + ipp_attribute_t *attr; /* printer-state-message attribute */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "stop_printer(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + + /* + * Stop the printer... + */ + + if ((attr = ippFindAttribute(con->request, "printer-state-message", + IPP_TAG_TEXT)) == NULL) + strlcpy(printer->state_message, "Paused", sizeof(printer->state_message)); + else + { + strlcpy(printer->state_message, attr->values[0].string.text, + sizeof(printer->state_message)); + } + + cupsdStopPrinter(printer, 1); + + if (dtype & CUPS_PRINTER_CLASS) + cupsdLogMessage(CUPSD_LOG_INFO, "Class \"%s\" stopped by \"%s\".", + printer->name, get_username(con)); + else + cupsdLogMessage(CUPSD_LOG_INFO, "Printer \"%s\" stopped by \"%s\".", + printer->name, get_username(con)); + + /* + * Everything was ok, so return OK status... + */ + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'url_encode_attr()' - URL-encode a string attribute. + */ + +static void +url_encode_attr(ipp_attribute_t *attr, /* I - Attribute */ + char *buffer,/* I - String buffer */ + size_t bufsize)/* I - Size of buffer */ +{ + int i; /* Looping var */ + char *bufptr, /* Pointer into buffer */ + *bufend; /* End of buffer */ + + + strlcpy(buffer, attr->name, bufsize); + bufptr = buffer + strlen(buffer); + bufend = buffer + bufsize - 1; + + for (i = 0; i < attr->num_values; i ++) + { + if (bufptr >= bufend) + break; + + if (i) + *bufptr++ = ','; + else + *bufptr++ = '='; + + if (bufptr >= bufend) + break; + + *bufptr++ = '\''; + + bufptr = url_encode_string(attr->values[i].string.text, bufptr, (size_t)(bufend - bufptr + 1)); + + if (bufptr >= bufend) + break; + + *bufptr++ = '\''; + } + + *bufptr = '\0'; +} + + +/* + * 'url_encode_string()' - URL-encode a string. + */ + +static char * /* O - End of string */ +url_encode_string(const char *s, /* I - String */ + char *buffer, /* I - String buffer */ + size_t bufsize) /* I - Size of buffer */ +{ + char *bufptr, /* Pointer into buffer */ + *bufend; /* End of buffer */ + static const char *hex = "0123456789ABCDEF"; + /* Hex digits */ + + + bufptr = buffer; + bufend = buffer + bufsize - 1; + + while (*s && bufptr < bufend) + { + if (*s == ' ' || *s == '%' || *s == '+') + { + if (bufptr >= (bufend - 2)) + break; + + *bufptr++ = '%'; + *bufptr++ = hex[(*s >> 4) & 15]; + *bufptr++ = hex[*s & 15]; + + s ++; + } + else if (*s == '\'' || *s == '\\') + { + if (bufptr >= (bufend - 1)) + break; + + *bufptr++ = '\\'; + *bufptr++ = *s++; + } + else + *bufptr++ = *s++; + } + + *bufptr = '\0'; + + return (bufptr); +} + + +/* + * 'user_allowed()' - See if a user is allowed to print to a queue. + */ + +static int /* O - 0 if not allowed, 1 if allowed */ +user_allowed(cupsd_printer_t *p, /* I - Printer or class */ + const char *username) /* I - Username */ +{ + struct passwd *pw; /* User password data */ + char baseuser[256], /* Base username */ + *baseptr, /* Pointer to "@" in base username */ + *name; /* Current user name */ + + + if (cupsArrayCount(p->users) == 0) + return (1); + + if (!strcmp(username, "root")) + return (1); + + if (strchr(username, '@')) + { + /* + * Strip @REALM for username check... + */ + + strlcpy(baseuser, username, sizeof(baseuser)); + + if ((baseptr = strchr(baseuser, '@')) != NULL) + *baseptr = '\0'; + + username = baseuser; + } + + pw = getpwnam(username); + endpwent(); + + for (name = (char *)cupsArrayFirst(p->users); + name; + name = (char *)cupsArrayNext(p->users)) + { + if (name[0] == '@') + { + /* + * Check group membership... + */ + + if (cupsdCheckGroup(username, pw, name + 1)) + break; + } + else if (name[0] == '#') + { + /* + * Check UUID... + */ + + if (cupsdCheckGroup(username, pw, name)) + break; + } + else if (!_cups_strcasecmp(username, name)) + break; + } + + return ((name != NULL) != p->deny_users); +} + + +/* + * 'validate_job()' - Validate printer options and destination. + */ + +static void +validate_job(cupsd_client_t *con, /* I - Client connection */ + ipp_attribute_t *uri) /* I - Printer URI */ +{ + http_status_t status; /* Policy status */ + ipp_attribute_t *attr; /* Current attribute */ +#ifdef HAVE_SSL + ipp_attribute_t *auth_info; /* auth-info attribute */ +#endif /* HAVE_SSL */ + ipp_attribute_t *format, /* Document-format attribute */ + *name; /* Job-name attribute */ + cups_ptype_t dtype; /* Destination type (printer/class) */ + char super[MIME_MAX_SUPER], + /* Supertype of file */ + type[MIME_MAX_TYPE]; + /* Subtype of file */ + cupsd_printer_t *printer; /* Printer */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "validate_job(%p[%d], %s)", con, + con->number, uri->values[0].string.text); + + /* + * OK, see if the client is sending the document compressed - CUPS + * doesn't support compression yet... + */ + + if ((attr = ippFindAttribute(con->request, "compression", + IPP_TAG_KEYWORD)) != NULL) + { + if (strcmp(attr->values[0].string.text, "none") +#ifdef HAVE_LIBZ + && strcmp(attr->values[0].string.text, "gzip") +#endif /* HAVE_LIBZ */ + ) + { + send_ipp_status(con, IPP_ATTRIBUTES, + _("Unsupported 'compression' value \"%s\"."), + attr->values[0].string.text); + ippAddString(con->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_KEYWORD, + "compression", NULL, attr->values[0].string.text); + return; + } + } + + /* + * Is it a format we support? + */ + + if ((format = ippFindAttribute(con->request, "document-format", + IPP_TAG_MIMETYPE)) != NULL) + { + if (sscanf(format->values[0].string.text, "%15[^/]/%255[^;]", + super, type) != 2) + { + send_ipp_status(con, IPP_BAD_REQUEST, + _("Bad 'document-format' value \"%s\"."), + format->values[0].string.text); + return; + } + + if ((strcmp(super, "application") || strcmp(type, "octet-stream")) && + !mimeType(MimeDatabase, super, type)) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "Hint: Do you have the raw file printing rules enabled?"); + send_ipp_status(con, IPP_DOCUMENT_FORMAT, + _("Unsupported 'document-format' value \"%s\"."), + format->values[0].string.text); + ippAddString(con->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_MIMETYPE, + "document-format", NULL, format->values[0].string.text); + return; + } + } + + /* + * Is the job-hold-until value valid? + */ + + if ((attr = ippFindAttribute(con->request, "job-hold-until", IPP_TAG_ZERO)) != NULL && ((ippGetValueTag(attr) != IPP_TAG_KEYWORD && ippGetValueTag(attr) != IPP_TAG_NAME && ippGetValueTag(attr) != IPP_TAG_NAMELANG) || ippGetCount(attr) != 1 || !ippValidateAttribute(attr))) + { + send_ipp_status(con, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, _("Unsupported 'job-hold-until' value.")); + ippCopyAttribute(con->response, attr, 0); + return; + } + + /* + * Is the job-name valid? + */ + + if ((name = ippFindAttribute(con->request, "job-name", IPP_TAG_ZERO)) != NULL) + { + if ((name->value_tag != IPP_TAG_NAME && name->value_tag != IPP_TAG_NAMELANG) || + name->num_values != 1 || !ippValidateAttribute(name)) + { + if (StrictConformance) + { + send_ipp_status(con, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, _("Unsupported 'job-name' value.")); + ippCopyAttribute(con->response, name, 0); + return; + } + else + { + cupsdLogMessage(CUPSD_LOG_WARN, "Unsupported 'job-name' value, deleting from request."); + ippDeleteAttribute(con->request, name); + } + } + } + + /* + * Is the destination valid? + */ + + if (!cupsdValidateDest(uri->values[0].string.text, &dtype, &printer)) + { + /* + * Bad URI... + */ + + send_ipp_status(con, IPP_NOT_FOUND, + _("The printer or class does not exist.")); + return; + } + + /* + * Check policy... + */ + +#ifdef HAVE_SSL + auth_info = ippFindAttribute(con->request, "auth-info", IPP_TAG_TEXT); +#endif /* HAVE_SSL */ + + if ((status = cupsdCheckPolicy(printer->op_policy_ptr, con, NULL)) != HTTP_OK) + { + send_http_error(con, status, printer); + return; + } + else if (printer->num_auth_info_required == 1 && + !strcmp(printer->auth_info_required[0], "negotiate") && + !con->username[0]) + { + send_http_error(con, HTTP_UNAUTHORIZED, printer); + return; + } +#ifdef HAVE_SSL + else if (auth_info && !con->http->tls && + !httpAddrLocalhost(con->http->hostaddr)) + { + /* + * Require encryption of auth-info over non-local connections... + */ + + send_http_error(con, HTTP_UPGRADE_REQUIRED, printer); + return; + } +#endif /* HAVE_SSL */ + + /* + * Everything was ok, so return OK status... + */ + + con->response->request.status.status_code = IPP_OK; +} + + +/* + * 'validate_name()' - Make sure the printer name only contains valid chars. + */ + +static int /* O - 0 if name is no good, 1 if good */ +validate_name(const char *name) /* I - Name to check */ +{ + const char *ptr; /* Pointer into name */ + + + /* + * Scan the whole name... + */ + + for (ptr = name; *ptr; ptr ++) + if ((*ptr > 0 && *ptr <= ' ') || *ptr == 127 || *ptr == '/' || *ptr == '#') + return (0); + + /* + * All the characters are good; validate the length, too... + */ + + return ((ptr - name) < 128); +} + + +/* + * 'validate_user()' - Validate the user for the request. + */ + +static int /* O - 1 if permitted, 0 otherwise */ +validate_user(cupsd_job_t *job, /* I - Job */ + cupsd_client_t *con, /* I - Client connection */ + const char *owner, /* I - Owner of job/resource */ + char *username, /* O - Authenticated username */ + size_t userlen) /* I - Length of username */ +{ + cupsd_printer_t *printer; /* Printer for job */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "validate_user(job=%d, con=%d, owner=\"%s\", username=%p, userlen=" CUPS_LLFMT ")", job->id, con ? con->number : 0, owner ? owner : "(null)", username, CUPS_LLCAST userlen); + + /* + * Validate input... + */ + + if (!con || !owner || !username || userlen <= 0) + return (0); + + /* + * Get the best authenticated username that is available. + */ + + strlcpy(username, get_username(con), userlen); + + /* + * Check the username against the owner... + */ + + printer = cupsdFindDest(job->dest); + + return (cupsdCheckPolicy(printer ? printer->op_policy_ptr : DefaultPolicyPtr, + con, owner) == HTTP_OK); +} diff --git a/scheduler/job.c b/scheduler/job.c new file mode 100644 index 0000000..e20e7c5 --- /dev/null +++ b/scheduler/job.c @@ -0,0 +1,5581 @@ +/* + * Job management routines for the CUPS scheduler. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include +#include +#include +#ifdef __APPLE__ +# include +# ifdef HAVE_IOKIT_PWR_MGT_IOPMLIBPRIVATE_H +# include +# endif /* HAVE_IOKIT_PWR_MGT_IOPMLIBPRIVATE_H */ +#endif /* __APPLE__ */ + + +/* + * Design Notes for Job Management + * ------------------------------- + * + * STATE CHANGES + * + * pending Do nothing/check jobs + * pending-held Send SIGTERM to filters and backend + * processing Do nothing/start job + * stopped Send SIGKILL to filters and backend + * canceled Send SIGTERM to filters and backend + * aborted Finalize + * completed Finalize + * + * Finalize clears the printer <-> job association, deletes the status + * buffer, closes all of the pipes, etc. and doesn't get run until all of + * the print processes are finished. + * + * UNLOADING OF JOBS (cupsdUnloadCompletedJobs) + * + * We unload the job attributes when they are not needed to reduce overall + * memory consumption. We don't unload jobs where job->state_value < + * IPP_JOB_STOPPED, job->printer != NULL, or job->access_time is recent. + * + * STARTING OF JOBS (start_job) + * + * When a job is started, a status buffer, several pipes, a security + * profile, and a backend process are created for the life of that job. + * These are shared for every file in a job. For remote print jobs, the + * IPP backend is provided with every file in the job and no filters are + * run. + * + * The job->printer member tracks which printer is printing a job, which + * can be different than the destination in job->dest for classes. The + * printer object also has a job pointer to track which job is being + * printed. + * + * PRINTING OF JOB FILES (cupsdContinueJob) + * + * Each file in a job is filtered by 0 or more programs. After getting the + * list of filters needed and the total cost, the job is either passed or + * put back to the processing state until the current FilterLevel comes down + * enough to allow printing. + * + * If we can print, we build a string for the print options and run each of + * the filters, piping the output from one into the next. + * + * JOB STATUS UPDATES (update_job) + * + * The update_job function gets called whenever there are pending messages + * on the status pipe. These generally are updates to the marker-*, + * printer-state-message, or printer-state-reasons attributes. On EOF, + * finalize_job is called to clean up. + * + * FINALIZING JOBS (finalize_job) + * + * When all filters and the backend are done, we set the job state to + * completed (no errors), aborted (filter errors or abort-job policy), + * pending-held (auth required or retry-job policy), or pending + * (retry-current-job or stop-printer policies) as appropriate. + * + * Then we close the pipes and free the status buffers and profiles. + * + * JOB FILE COMPLETION (process_children in main.c) + * + * For multiple-file jobs, process_children (in main.c) sees that all + * filters have exited and calls in to print the next file if there are + * more files in the job, otherwise it waits for the backend to exit and + * update_job to do the cleanup. + */ + + +/* + * Local globals... + */ + +static mime_filter_t gziptoany_filter = + { + NULL, /* Source type */ + NULL, /* Destination type */ + 0, /* Cost */ + "gziptoany" /* Filter program to run */ + }; + + +/* + * Local functions... + */ + +static int compare_active_jobs(void *first, void *second, void *data); +static int compare_completed_jobs(void *first, void *second, void *data); +static int compare_jobs(void *first, void *second, void *data); +static void dump_job_history(cupsd_job_t *job); +static void finalize_job(cupsd_job_t *job, int set_job_state); +static void free_job_history(cupsd_job_t *job); +static char *get_options(cupsd_job_t *job, int banner_page, char *copies, + size_t copies_size, char *title, + size_t title_size); +static size_t ipp_length(ipp_t *ipp); +static void load_job_cache(const char *filename); +static void load_next_job_id(const char *filename); +static void load_request_root(void); +static void remove_job_files(cupsd_job_t *job); +static void remove_job_history(cupsd_job_t *job); +static void set_time(cupsd_job_t *job, const char *name); +static void start_job(cupsd_job_t *job, cupsd_printer_t *printer); +static void stop_job(cupsd_job_t *job, cupsd_jobaction_t action); +static void unload_job(cupsd_job_t *job); +static void update_job(cupsd_job_t *job); +static void update_job_attrs(cupsd_job_t *job, int do_message); + + +/* + * 'cupsdAddJob()' - Add a new job to the job queue. + */ + +cupsd_job_t * /* O - New job record */ +cupsdAddJob(int priority, /* I - Job priority */ + const char *dest) /* I - Job destination */ +{ + cupsd_job_t *job; /* New job record */ + + + if ((job = calloc(sizeof(cupsd_job_t), 1)) == NULL) + return (NULL); + + job->id = NextJobId ++; + job->priority = priority; + job->back_pipes[0] = -1; + job->back_pipes[1] = -1; + job->print_pipes[0] = -1; + job->print_pipes[1] = -1; + job->side_pipes[0] = -1; + job->side_pipes[1] = -1; + job->status_pipes[0] = -1; + job->status_pipes[1] = -1; + + cupsdSetString(&job->dest, dest); + + /* + * Add the new job to the "all jobs" and "active jobs" lists... + */ + + cupsArrayAdd(Jobs, job); + cupsArrayAdd(ActiveJobs, job); + + return (job); +} + + +/* + * 'cupsdCancelJobs()' - Cancel all jobs for the given destination/user. + */ + +void +cupsdCancelJobs(const char *dest, /* I - Destination to cancel */ + const char *username, /* I - Username or NULL */ + int purge) /* I - Purge jobs? */ +{ + cupsd_job_t *job; /* Current job */ + + + for (job = (cupsd_job_t *)cupsArrayFirst(Jobs); + job; + job = (cupsd_job_t *)cupsArrayNext(Jobs)) + { + if ((!job->dest || !job->username) && !cupsdLoadJob(job)) + continue; + + if ((!dest || !strcmp(job->dest, dest)) && + (!username || !strcmp(job->username, username))) + { + /* + * Cancel all jobs matching this destination/user... + */ + + if (purge) + cupsdSetJobState(job, IPP_JOB_CANCELED, CUPSD_JOB_PURGE, + "Job purged by user."); + else if (job->state_value < IPP_JOB_CANCELED) + cupsdSetJobState(job, IPP_JOB_CANCELED, CUPSD_JOB_DEFAULT, + "Job canceled by user."); + } + } +} + + +/* + * 'cupsdCheckJobs()' - Check the pending jobs and start any if the destination + * is available. + */ + +void +cupsdCheckJobs(void) +{ + cupsd_job_t *job; /* Current job in queue */ + cupsd_printer_t *printer, /* Printer destination */ + *pclass; /* Printer class destination */ + ipp_attribute_t *attr; /* Job attribute */ + time_t curtime; /* Current time */ + const char *reasons; /* job-state-reasons value */ + + + curtime = time(NULL); + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCheckJobs: %d active jobs, sleeping=%d, ac-power=%d, reload=%d, curtime=%ld", cupsArrayCount(ActiveJobs), Sleeping, ACPower, NeedReload, (long)curtime); + + for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs); + job; + job = (cupsd_job_t *)cupsArrayNext(ActiveJobs)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdCheckJobs: Job %d - dest=\"%s\", printer=%p, " + "state=%d, cancel_time=%ld, hold_until=%ld, kill_time=%ld, " + "pending_cost=%d, pending_timeout=%ld", job->id, job->dest, + job->printer, job->state_value, (long)job->cancel_time, + (long)job->hold_until, (long)job->kill_time, + job->pending_cost, (long)job->pending_timeout); + + /* + * Kill jobs if they are unresponsive... + */ + + if (job->kill_time && job->kill_time <= curtime) + { + if (!job->completed) + cupsdLogJob(job, CUPSD_LOG_ERROR, "Stopping unresponsive job."); + + stop_job(job, CUPSD_JOB_FORCE); + continue; + } + + /* + * Cancel stuck jobs... + */ + + if (job->cancel_time && job->cancel_time <= curtime) + { + int cancel_after; /* job-cancel-after value */ + + attr = ippFindAttribute(job->attrs, "job-cancel-after", IPP_TAG_INTEGER); + cancel_after = attr ? ippGetInteger(attr, 0) : MaxJobTime; + + if (job->completed) + cupsdSetJobState(job, IPP_JOB_CANCELED, CUPSD_JOB_FORCE, "Marking stuck job as completed after %d seconds.", cancel_after); + else + cupsdSetJobState(job, IPP_JOB_CANCELED, CUPSD_JOB_DEFAULT, "Canceling stuck job after %d seconds.", cancel_after); + continue; + } + + /* + * Start held jobs if they are ready... + */ + + if (job->state_value == IPP_JOB_HELD && + job->hold_until && + job->hold_until < curtime) + { + if (job->pending_timeout) + { + /* + * This job is pending; check that we don't have an active Send-Document + * operation in progress on any of the client connections, then timeout + * the job so we can start printing... + */ + + cupsd_client_t *con; /* Current client connection */ + + for (con = (cupsd_client_t *)cupsArrayFirst(Clients); + con; + con = (cupsd_client_t *)cupsArrayNext(Clients)) + if (con->request && + con->request->request.op.operation_id == IPP_SEND_DOCUMENT) + break; + + if (con) + continue; + + if (cupsdTimeoutJob(job)) + continue; + + cupsdSetJobState(job, IPP_JOB_PENDING, CUPSD_JOB_DEFAULT, "Job submission timed out."); + cupsdLogJob(job, CUPSD_LOG_ERROR, "Job submission timed out."); + } + else + cupsdSetJobState(job, IPP_JOB_PENDING, CUPSD_JOB_DEFAULT, "Job hold expired."); + } + + /* + * Continue jobs that are waiting on the FilterLimit... + */ + + if (job->pending_cost > 0 && + ((FilterLevel + job->pending_cost) < FilterLimit || FilterLevel == 0)) + cupsdContinueJob(job); + + /* + * Skip jobs that where held-on-create + */ + + reasons = ippGetString(job->reasons, 0, NULL); + if (reasons && !strcmp(reasons, "job-held-on-create")) + { + /* + * Check whether the printer is still holding new jobs... + */ + + printer = cupsdFindDest(job->dest); + + if (printer->holding_new_jobs) + continue; + + ippSetString(job->attrs, &job->reasons, 0, "none"); + } + + /* + * Start pending jobs if the destination is available... + */ + + if (job->state_value == IPP_JOB_PENDING && !NeedReload && + (!Sleeping || ACPower) && !DoingShutdown && !job->printer) + { + printer = cupsdFindDest(job->dest); + pclass = NULL; + + while (printer && (printer->type & CUPS_PRINTER_CLASS)) + { + /* + * If the class is remote, just pass it to the remote server... + */ + + pclass = printer; + + if (pclass->state == IPP_PRINTER_STOPPED) + printer = NULL; + else if (pclass->type & CUPS_PRINTER_REMOTE) + break; + else + printer = cupsdFindAvailablePrinter(printer->name); + } + + if (!printer && !pclass) + { + /* + * Whoa, the printer and/or class for this destination went away; + * cancel the job... + */ + + cupsdSetJobState(job, IPP_JOB_ABORTED, CUPSD_JOB_PURGE, + "Job aborted because the destination printer/class " + "has gone away."); + } + else if (printer) + { + /* + * See if the printer is available or remote and not printing a job; + * if so, start the job... + */ + + if (pclass) + { + /* + * Add/update a job-printer-uri-actual attribute for this job + * so that we know which printer actually printed the job... + */ + + if ((attr = ippFindAttribute(job->attrs, "job-printer-uri-actual", IPP_TAG_URI)) != NULL) + ippSetString(job->attrs, &attr, 0, printer->uri); + else + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_URI, "job-printer-uri-actual", NULL, printer->uri); + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + } + + if (!printer->job && printer->state == IPP_PRINTER_IDLE) + { + /* + * Start the job... + */ + + cupsArraySave(ActiveJobs); + start_job(job, printer); + cupsArrayRestore(ActiveJobs); + } + } + } + } +} + + +/* + * 'cupsdCleanJobs()' - Clean out old jobs. + */ + +void +cupsdCleanJobs(void) +{ + cupsd_job_t *job; /* Current job */ + time_t curtime; /* Current time */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdCleanJobs: MaxJobs=%d, JobHistory=%d, JobFiles=%d", + MaxJobs, JobHistory, JobFiles); + + if (MaxJobs <= 0 && JobHistory == INT_MAX && JobFiles == INT_MAX) + return; + + curtime = time(NULL); + JobHistoryUpdate = 0; + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCleanJobs: curtime=%d", (int)curtime); + + for (job = (cupsd_job_t *)cupsArrayFirst(Jobs); + job; + job = (cupsd_job_t *)cupsArrayNext(Jobs)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCleanJobs: Job %d, state=%d, printer=%p, history_time=%d, file_time=%d", job->id, (int)job->state_value, (void *)job->printer, (int)job->history_time, (int)job->file_time); + + if ((job->history_time && job->history_time < JobHistoryUpdate) || !JobHistoryUpdate) + JobHistoryUpdate = job->history_time; + + if ((job->file_time && job->file_time < JobHistoryUpdate) || !JobHistoryUpdate) + JobHistoryUpdate = job->file_time; + + if (job->state_value >= IPP_JOB_CANCELED && !job->printer) + { + /* + * Expire old jobs (or job files)... + */ + + if ((MaxJobs > 0 && cupsArrayCount(Jobs) >= MaxJobs) || + (job->history_time && job->history_time <= curtime)) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Removing from history."); + cupsdDeleteJob(job, CUPSD_JOB_PURGE); + } + else if (job->file_time && job->file_time <= curtime && job->num_files > 0) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Removing document files."); + remove_job_files(job); + + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + } + } + } + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCleanJobs: JobHistoryUpdate=%ld", + (long)JobHistoryUpdate); +} + + +/* + * 'cupsdContinueJob()' - Continue printing with the next file in a job. + */ + +void +cupsdContinueJob(cupsd_job_t *job) /* I - Job */ +{ + int i; /* Looping var */ + int slot; /* Pipe slot */ + cups_array_t *filters = NULL,/* Filters for job */ + *prefilters; /* Filters with prefilters */ + mime_filter_t *filter, /* Current filter */ + *prefilter, /* Prefilter */ + port_monitor; /* Port monitor filter */ + char scheme[255]; /* Device URI scheme */ + ipp_attribute_t *attr; /* Current attribute */ + const char *ptr, /* Pointer into value */ + *abort_message; /* Abort message */ + ipp_jstate_t abort_state = IPP_JOB_STOPPED; + /* New job state on abort */ + struct stat backinfo; /* Backend file information */ + int backroot; /* Run backend as root? */ + int pid; /* Process ID of new filter process */ + int banner_page; /* 1 if banner page, 0 otherwise */ + int filterfds[2][2] = { { -1, -1 }, { -1, -1 } }; + /* Pipes used between filters */ + int envc; /* Number of environment variables */ + struct stat fileinfo; /* Job file information */ + int argc = 0; /* Number of arguments */ + char **argv = NULL, /* Filter command-line arguments */ + filename[1024], /* Job filename */ + command[1024], /* Full path to command */ + jobid[255], /* Job ID string */ + title[IPP_MAX_NAME], + /* Job title string */ + copies[255], /* # copies string */ + *options, /* Options string */ + *envp[MAX_ENV + 21], + /* Environment variables */ + charset[255], /* CHARSET env variable */ + class_name[255],/* CLASS env variable */ + classification[1024], + /* CLASSIFICATION env variable */ + content_type[1024], + /* CONTENT_TYPE env variable */ + device_uri[1024], + /* DEVICE_URI env variable */ + final_content_type[1024] = "", + /* FINAL_CONTENT_TYPE env variable */ + lang[255], /* LANG env variable */ +#ifdef __APPLE__ + apple_language[255], + /* APPLE_LANGUAGE env variable */ +#endif /* __APPLE__ */ + auth_info_required[255], + /* AUTH_INFO_REQUIRED env variable */ + ppd[1024], /* PPD env variable */ + printer_info[255], + /* PRINTER_INFO env variable */ + printer_location[255], + /* PRINTER_LOCATION env variable */ + printer_name[255], + /* PRINTER env variable */ + *printer_state_reasons = NULL, + /* PRINTER_STATE_REASONS env var */ + rip_max_cache[255]; + /* RIP_MAX_CACHE env variable */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdContinueJob(job=%p(%d)): current_file=%d, num_files=%d", + job, job->id, job->current_file, job->num_files); + + /* + * Figure out what filters are required to convert from + * the source to the destination type... + */ + + FilterLevel -= job->cost; + + job->cost = 0; + job->pending_cost = 0; + + memset(job->filters, 0, sizeof(job->filters)); + + if (job->printer->raw) + { + /* + * Remote jobs and raw queues go directly to the printer without + * filtering... + */ + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Sending job to queue tagged as raw..."); + } + else + { + /* + * Local jobs get filtered... + */ + + mime_type_t *dst = job->printer->filetype; + /* Destination file type */ + + snprintf(filename, sizeof(filename), "%s/d%05d-%03d", RequestRoot, + job->id, job->current_file + 1); + if (stat(filename, &fileinfo)) + fileinfo.st_size = 0; + + if (job->retry_as_raster) + { + /* + * Need to figure out whether the printer supports image/pwg-raster or + * image/urf, and use the corresponding type... + */ + + char type[MIME_MAX_TYPE]; /* MIME media type for printer */ + + snprintf(type, sizeof(type), "%s/image/urf", job->printer->name); + if ((dst = mimeType(MimeDatabase, "printer", type)) == NULL) + { + snprintf(type, sizeof(type), "%s/image/pwg-raster", job->printer->name); + dst = mimeType(MimeDatabase, "printer", type); + } + + if (dst) + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Retrying job as \"%s\".", strchr(dst->type, '/') + 1); + else + cupsdLogJob(job, CUPSD_LOG_ERROR, "Unable to retry job using a supported raster format."); + } + + filters = mimeFilter2(MimeDatabase, job->filetypes[job->current_file], (size_t)fileinfo.st_size, dst, &(job->cost)); + + if (!filters) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, + "Unable to convert file %d to printable format.", + job->current_file); + + abort_message = "Aborting job because it cannot be printed."; + abort_state = IPP_JOB_ABORTED; + + ippSetString(job->attrs, &job->reasons, 0, "document-unprintable-error"); + goto abort_job; + } + + /* + * Figure out the final content type... + */ + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "%d filters for job:", + cupsArrayCount(filters)); + for (filter = (mime_filter_t *)cupsArrayFirst(filters); + filter; + filter = (mime_filter_t *)cupsArrayNext(filters)) + cupsdLogJob(job, CUPSD_LOG_DEBUG, "%s (%s/%s to %s/%s, cost %d)", + filter->filter, + filter->src ? filter->src->super : "???", + filter->src ? filter->src->type : "???", + filter->dst ? filter->dst->super : "???", + filter->dst ? filter->dst->type : "???", + filter->cost); + + if (!job->printer->remote) + { + for (filter = (mime_filter_t *)cupsArrayLast(filters); + filter && filter->dst; + filter = (mime_filter_t *)cupsArrayPrev(filters)) + if (strcmp(filter->dst->super, "printer") || + strcmp(filter->dst->type, job->printer->name)) + break; + + if (filter && filter->dst) + { + if ((ptr = strchr(filter->dst->type, '/')) != NULL) + snprintf(final_content_type, sizeof(final_content_type), + "FINAL_CONTENT_TYPE=%s", ptr + 1); + else + snprintf(final_content_type, sizeof(final_content_type), + "FINAL_CONTENT_TYPE=%s/%s", filter->dst->super, + filter->dst->type); + } + else + snprintf(final_content_type, sizeof(final_content_type), + "FINAL_CONTENT_TYPE=printer/%s", job->printer->name); + } + + /* + * Remove NULL ("-") filters... + */ + + for (filter = (mime_filter_t *)cupsArrayFirst(filters); + filter; + filter = (mime_filter_t *)cupsArrayNext(filters)) + if (!strcmp(filter->filter, "-")) + cupsArrayRemove(filters, filter); + + if (cupsArrayCount(filters) == 0) + { + cupsArrayDelete(filters); + filters = NULL; + } + + /* + * If this printer has any pre-filters, insert the required pre-filter + * in the filters array... + */ + + if (job->printer->prefiltertype && filters) + { + prefilters = cupsArrayNew(NULL, NULL); + + for (filter = (mime_filter_t *)cupsArrayFirst(filters); + filter; + filter = (mime_filter_t *)cupsArrayNext(filters)) + { + if ((prefilter = mimeFilterLookup(MimeDatabase, filter->src, + job->printer->prefiltertype))) + { + cupsArrayAdd(prefilters, prefilter); + job->cost += prefilter->cost; + } + + cupsArrayAdd(prefilters, filter); + } + + cupsArrayDelete(filters); + filters = prefilters; + } + } + + /* + * Set a minimum cost of 100 for all jobs so that FilterLimit + * works with raw queues and other low-cost paths. + */ + + if (job->cost < 100) + job->cost = 100; + + /* + * See if the filter cost is too high... + */ + + if ((FilterLevel + job->cost) > FilterLimit && FilterLevel > 0 && + FilterLimit > 0) + { + /* + * Don't print this job quite yet... + */ + + cupsArrayDelete(filters); + + cupsdLogJob(job, CUPSD_LOG_INFO, + "Holding because filter limit has been reached."); + cupsdLogJob(job, CUPSD_LOG_DEBUG2, + "cupsdContinueJob: file=%d, cost=%d, level=%d, limit=%d", + job->current_file, job->cost, FilterLevel, + FilterLimit); + + job->pending_cost = job->cost; + job->cost = 0; + return; + } + + FilterLevel += job->cost; + + /* + * Add decompression/raw filter as needed... + */ + + if ((job->compressions[job->current_file] && (!job->printer->remote || job->num_files == 1)) || + (!job->printer->remote && job->printer->raw && job->num_files > 1)) + { + /* + * Add gziptoany filter to the front of the list... + */ + + if (!filters) + filters = cupsArrayNew(NULL, NULL); + + if (!cupsArrayInsert(filters, &gziptoany_filter)) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "Unable to add decompression filter - %s", strerror(errno)); + + cupsArrayDelete(filters); + + abort_message = "Stopping job because the scheduler ran out of memory."; + + goto abort_job; + } + } + + /* + * Add port monitor, if any... + */ + + if (job->printer->port_monitor) + { + /* + * Add port monitor to the end of the list... + */ + + if (!filters) + filters = cupsArrayNew(NULL, NULL); + + port_monitor.src = NULL; + port_monitor.dst = NULL; + port_monitor.cost = 0; + + snprintf(port_monitor.filter, sizeof(port_monitor.filter), + "%s/monitor/%s", ServerBin, job->printer->port_monitor); + + if (!cupsArrayAdd(filters, &port_monitor)) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "Unable to add port monitor - %s", strerror(errno)); + + abort_message = "Stopping job because the scheduler ran out of memory."; + + goto abort_job; + } + } + + /* + * Make sure we don't go over the "MAX_FILTERS" limit... + */ + + if (cupsArrayCount(filters) > MAX_FILTERS) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "Too many filters (%d > %d), unable to print.", + cupsArrayCount(filters), MAX_FILTERS); + + abort_message = "Aborting job because it needs too many filters to print."; + abort_state = IPP_JOB_ABORTED; + + ippSetString(job->attrs, &job->reasons, 0, "document-unprintable-error"); + + goto abort_job; + } + + /* + * Determine if we are printing a banner page or not... + */ + + if (job->job_sheets == NULL) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, "No job-sheets attribute."); + if ((job->job_sheets = + ippFindAttribute(job->attrs, "job-sheets", IPP_TAG_ZERO)) != NULL) + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "... but someone added one without setting job_sheets."); + } + else if (job->job_sheets->num_values == 1) + cupsdLogJob(job, CUPSD_LOG_DEBUG, "job-sheets=%s", + job->job_sheets->values[0].string.text); + else + cupsdLogJob(job, CUPSD_LOG_DEBUG, "job-sheets=%s,%s", + job->job_sheets->values[0].string.text, + job->job_sheets->values[1].string.text); + + if (job->printer->type & CUPS_PRINTER_REMOTE) + banner_page = 0; + else if (job->job_sheets == NULL) + banner_page = 0; + else if (_cups_strcasecmp(job->job_sheets->values[0].string.text, "none") != 0 && + job->current_file == 0) + banner_page = 1; + else if (job->job_sheets->num_values > 1 && + _cups_strcasecmp(job->job_sheets->values[1].string.text, "none") != 0 && + job->current_file == (job->num_files - 1)) + banner_page = 1; + else + banner_page = 0; + + if ((options = get_options(job, banner_page, copies, sizeof(copies), title, + sizeof(title))) == NULL) + { + abort_message = "Stopping job because the scheduler ran out of memory."; + + goto abort_job; + } + + /* + * Build the command-line arguments for the filters. Each filter + * has 6 or 7 arguments: + * + * argv[0] = printer + * argv[1] = job ID + * argv[2] = username + * argv[3] = title + * argv[4] = # copies + * argv[5] = options + * argv[6] = filename (optional; normally stdin) + * + * This allows legacy printer drivers that use the old System V + * printing interface to be used by CUPS. + * + * For remote jobs, we send all of the files in the argument list. + */ + + if (job->printer->remote) + argc = 6 + job->num_files; + else + argc = 7; + + if ((argv = calloc((size_t)argc + 1, sizeof(char *))) == NULL) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "Unable to allocate argument array - %s", + strerror(errno)); + + abort_message = "Stopping job because the scheduler ran out of memory."; + + goto abort_job; + } + + sprintf(jobid, "%d", job->id); + + argv[0] = job->printer->name; + argv[1] = jobid; + argv[2] = job->username; + argv[3] = title; + argv[4] = copies; + argv[5] = options; + + if (job->printer->remote && job->num_files > 1) + { + for (i = 0; i < job->num_files; i ++) + { + snprintf(filename, sizeof(filename), "%s/d%05d-%03d", RequestRoot, + job->id, i + 1); + argv[6 + i] = strdup(filename); + } + } + else + { + snprintf(filename, sizeof(filename), "%s/d%05d-%03d", RequestRoot, + job->id, job->current_file + 1); + argv[6] = strdup(filename); + } + + for (i = 0; argv[i]; i ++) + cupsdLogJob(job, CUPSD_LOG_DEBUG, "argv[%d]=\"%s\"", i, argv[i]); + + /* + * Create environment variable strings for the filters... + */ + + attr = ippFindAttribute(job->attrs, "attributes-natural-language", + IPP_TAG_LANGUAGE); + +#ifdef __APPLE__ + strlcpy(apple_language, "APPLE_LANGUAGE=", sizeof(apple_language)); + _cupsAppleLanguage(attr->values[0].string.text, + apple_language + 15, sizeof(apple_language) - 15); +#endif /* __APPLE__ */ + + switch (strlen(attr->values[0].string.text)) + { + default : + /* + * This is an unknown or badly formatted language code; use + * the POSIX locale... + */ + + strlcpy(lang, "LANG=C", sizeof(lang)); + break; + + case 2 : + /* + * Just the language code (ll)... + */ + + snprintf(lang, sizeof(lang), "LANG=%s.UTF-8", + attr->values[0].string.text); + break; + + case 5 : + /* + * Language and country code (ll-cc)... + */ + + snprintf(lang, sizeof(lang), "LANG=%c%c_%c%c.UTF-8", + attr->values[0].string.text[0], + attr->values[0].string.text[1], + toupper(attr->values[0].string.text[3] & 255), + toupper(attr->values[0].string.text[4] & 255)); + break; + } + + if ((attr = ippFindAttribute(job->attrs, "document-format", + IPP_TAG_MIMETYPE)) != NULL && + (ptr = strstr(attr->values[0].string.text, "charset=")) != NULL) + snprintf(charset, sizeof(charset), "CHARSET=%s", ptr + 8); + else + strlcpy(charset, "CHARSET=utf-8", sizeof(charset)); + + snprintf(content_type, sizeof(content_type), "CONTENT_TYPE=%s/%s", + job->filetypes[job->current_file]->super, + job->filetypes[job->current_file]->type); + snprintf(device_uri, sizeof(device_uri), "DEVICE_URI=%s", + job->printer->device_uri); + snprintf(ppd, sizeof(ppd), "PPD=%s/ppd/%s.ppd", ServerRoot, + job->printer->name); + snprintf(printer_info, sizeof(printer_name), "PRINTER_INFO=%s", + job->printer->info ? job->printer->info : ""); + snprintf(printer_location, sizeof(printer_name), "PRINTER_LOCATION=%s", + job->printer->location ? job->printer->location : ""); + snprintf(printer_name, sizeof(printer_name), "PRINTER=%s", job->printer->name); + if (job->printer->num_reasons > 0) + { + char *psrptr; /* Pointer into PRINTER_STATE_REASONS */ + size_t psrlen; /* Size of PRINTER_STATE_REASONS */ + + for (psrlen = 22, i = 0; i < job->printer->num_reasons; i ++) + psrlen += strlen(job->printer->reasons[i]) + 1; + + if ((printer_state_reasons = malloc(psrlen)) != NULL) + { + /* + * All of these strcpy's are safe because we allocated the psr string... + */ + + strlcpy(printer_state_reasons, "PRINTER_STATE_REASONS=", psrlen); + for (psrptr = printer_state_reasons + 22, i = 0; + i < job->printer->num_reasons; + i ++) + { + if (i) + *psrptr++ = ','; + strlcpy(psrptr, job->printer->reasons[i], psrlen - (size_t)(psrptr - printer_state_reasons)); + psrptr += strlen(psrptr); + } + } + } + snprintf(rip_max_cache, sizeof(rip_max_cache), "RIP_MAX_CACHE=%s", RIPCache); + + if (job->printer->num_auth_info_required == 1) + snprintf(auth_info_required, sizeof(auth_info_required), + "AUTH_INFO_REQUIRED=%s", + job->printer->auth_info_required[0]); + else if (job->printer->num_auth_info_required == 2) + snprintf(auth_info_required, sizeof(auth_info_required), + "AUTH_INFO_REQUIRED=%s,%s", + job->printer->auth_info_required[0], + job->printer->auth_info_required[1]); + else if (job->printer->num_auth_info_required == 3) + snprintf(auth_info_required, sizeof(auth_info_required), + "AUTH_INFO_REQUIRED=%s,%s,%s", + job->printer->auth_info_required[0], + job->printer->auth_info_required[1], + job->printer->auth_info_required[2]); + else if (job->printer->num_auth_info_required == 4) + snprintf(auth_info_required, sizeof(auth_info_required), + "AUTH_INFO_REQUIRED=%s,%s,%s,%s", + job->printer->auth_info_required[0], + job->printer->auth_info_required[1], + job->printer->auth_info_required[2], + job->printer->auth_info_required[3]); + else + strlcpy(auth_info_required, "AUTH_INFO_REQUIRED=none", + sizeof(auth_info_required)); + + envc = cupsdLoadEnv(envp, (int)(sizeof(envp) / sizeof(envp[0]))); + + envp[envc ++] = charset; + envp[envc ++] = lang; +#ifdef __APPLE__ + envp[envc ++] = apple_language; +#endif /* __APPLE__ */ + envp[envc ++] = ppd; + envp[envc ++] = rip_max_cache; + envp[envc ++] = content_type; + envp[envc ++] = device_uri; + envp[envc ++] = printer_info; + envp[envc ++] = printer_location; + envp[envc ++] = printer_name; + envp[envc ++] = printer_state_reasons ? printer_state_reasons : + "PRINTER_STATE_REASONS=none"; + envp[envc ++] = banner_page ? "CUPS_FILETYPE=job-sheet" : + "CUPS_FILETYPE=document"; + + if (final_content_type[0]) + envp[envc ++] = final_content_type; + + if (Classification && !banner_page) + { + if ((attr = ippFindAttribute(job->attrs, "job-sheets", + IPP_TAG_NAME)) == NULL) + snprintf(classification, sizeof(classification), "CLASSIFICATION=%s", + Classification); + else if (attr->num_values > 1 && + strcmp(attr->values[1].string.text, "none") != 0) + snprintf(classification, sizeof(classification), "CLASSIFICATION=%s", + attr->values[1].string.text); + else + snprintf(classification, sizeof(classification), "CLASSIFICATION=%s", + attr->values[0].string.text); + + envp[envc ++] = classification; + } + + if (job->dtype & CUPS_PRINTER_CLASS) + { + snprintf(class_name, sizeof(class_name), "CLASS=%s", job->dest); + envp[envc ++] = class_name; + } + + envp[envc ++] = auth_info_required; + + for (i = 0; + i < (int)(sizeof(job->auth_env) / sizeof(job->auth_env[0])); + i ++) + if (job->auth_env[i]) + envp[envc ++] = job->auth_env[i]; + else + break; + + if (job->auth_uid) + envp[envc ++] = job->auth_uid; + + envp[envc] = NULL; + + for (i = 0; i < envc; i ++) + if (!strncmp(envp[i], "AUTH_", 5)) + cupsdLogJob(job, CUPSD_LOG_DEBUG, "envp[%d]=\"AUTH_%c****\"", i, + envp[i][5]); + else if (strncmp(envp[i], "DEVICE_URI=", 11)) + cupsdLogJob(job, CUPSD_LOG_DEBUG, "envp[%d]=\"%s\"", i, envp[i]); + else + cupsdLogJob(job, CUPSD_LOG_DEBUG, "envp[%d]=\"DEVICE_URI=%s\"", i, + job->printer->sanitized_device_uri); + + if (job->printer->remote) + job->current_file = job->num_files; + else + job->current_file ++; + + /* + * Now create processes for all of the filters... + */ + + for (i = 0, slot = 0, filter = (mime_filter_t *)cupsArrayFirst(filters); + filter; + i ++, filter = (mime_filter_t *)cupsArrayNext(filters)) + { + if (filter->filter[0] != '/') + snprintf(command, sizeof(command), "%s/filter/%s", ServerBin, + filter->filter); + else + strlcpy(command, filter->filter, sizeof(command)); + + if (i < (cupsArrayCount(filters) - 1)) + { + if (cupsdOpenPipe(filterfds[slot])) + { + abort_message = "Stopping job because the scheduler could not create " + "the filter pipes."; + + goto abort_job; + } + } + else + { + if (job->current_file == 1 || + (job->printer->pc && job->printer->pc->single_file)) + { + if (strncmp(job->printer->device_uri, "file:", 5) != 0) + { + if (cupsdOpenPipe(job->print_pipes)) + { + abort_message = "Stopping job because the scheduler could not " + "create the backend pipes."; + + goto abort_job; + } + } + else + { + job->print_pipes[0] = -1; + if (!strcmp(job->printer->device_uri, "file:/dev/null") || + !strcmp(job->printer->device_uri, "file:///dev/null")) + job->print_pipes[1] = -1; + else + { + if (!strncmp(job->printer->device_uri, "file:/dev/", 10)) + job->print_pipes[1] = open(job->printer->device_uri + 5, + O_WRONLY | O_EXCL); + else if (!strncmp(job->printer->device_uri, "file:///dev/", 12)) + job->print_pipes[1] = open(job->printer->device_uri + 7, + O_WRONLY | O_EXCL); + else if (!strncmp(job->printer->device_uri, "file:///", 8)) + job->print_pipes[1] = open(job->printer->device_uri + 7, + O_WRONLY | O_CREAT | O_TRUNC, 0600); + else + job->print_pipes[1] = open(job->printer->device_uri + 5, + O_WRONLY | O_CREAT | O_TRUNC, 0600); + + if (job->print_pipes[1] < 0) + { + abort_message = "Stopping job because the scheduler could not " + "open the output file."; + + goto abort_job; + } + + fcntl(job->print_pipes[1], F_SETFD, + fcntl(job->print_pipes[1], F_GETFD) | FD_CLOEXEC); + } + } + } + + filterfds[slot][0] = job->print_pipes[0]; + filterfds[slot][1] = job->print_pipes[1]; + } + + pid = cupsdStartProcess(command, argv, envp, filterfds[!slot][0], + filterfds[slot][1], job->status_pipes[1], + job->back_pipes[0], job->side_pipes[0], 0, + job->profile, job, job->filters + i); + + cupsdClosePipe(filterfds[!slot]); + + if (pid == 0) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, "Unable to start filter \"%s\" - %s.", + filter->filter, strerror(errno)); + + abort_message = "Stopping job because the scheduler could not execute a " + "filter."; + + goto abort_job; + } + + cupsdLogJob(job, CUPSD_LOG_INFO, "Started filter %s (PID %d)", command, + pid); + + if (argv[6]) + { + free(argv[6]); + argv[6] = NULL; + } + + slot = !slot; + } + + cupsArrayDelete(filters); + filters = NULL; + + /* + * Finally, pipe the final output into a backend process if needed... + */ + + if (strncmp(job->printer->device_uri, "file:", 5) != 0) + { + if (job->current_file == 1 || job->printer->remote || + (job->printer->pc && job->printer->pc->single_file)) + { + sscanf(job->printer->device_uri, "%254[^:]", scheme); + snprintf(command, sizeof(command), "%s/backend/%s", ServerBin, scheme); + + /* + * See if the backend needs to run as root... + */ + + if (RunUser) + backroot = 0; + else if (stat(command, &backinfo)) + backroot = 0; + else + backroot = !(backinfo.st_mode & (S_IWGRP | S_IRWXO)); + + argv[0] = job->printer->sanitized_device_uri; + + filterfds[slot][0] = -1; + filterfds[slot][1] = -1; + + pid = cupsdStartProcess(command, argv, envp, filterfds[!slot][0], + filterfds[slot][1], job->status_pipes[1], + job->back_pipes[1], job->side_pipes[1], + backroot, job->bprofile, job, &(job->backend)); + + if (pid == 0) + { + abort_message = "Stopping job because the sheduler could not execute " + "the backend."; + + goto abort_job; + } + else + { + cupsdLogJob(job, CUPSD_LOG_INFO, "Started backend %s (PID %d)", + command, pid); + } + } + + if (job->current_file == job->num_files || + (job->printer->pc && job->printer->pc->single_file)) + cupsdClosePipe(job->print_pipes); + + if (job->current_file == job->num_files) + { + cupsdClosePipe(job->back_pipes); + cupsdClosePipe(job->side_pipes); + + close(job->status_pipes[1]); + job->status_pipes[1] = -1; + } + } + else + { + filterfds[slot][0] = -1; + filterfds[slot][1] = -1; + + if (job->current_file == job->num_files || + (job->printer->pc && job->printer->pc->single_file)) + cupsdClosePipe(job->print_pipes); + + if (job->current_file == job->num_files) + { + close(job->status_pipes[1]); + job->status_pipes[1] = -1; + } + } + + cupsdClosePipe(filterfds[slot]); + + for (i = 6; i < argc; i ++) + free(argv[i]); + free(argv); + + if (printer_state_reasons) + free(printer_state_reasons); + + cupsdAddSelect(job->status_buffer->fd, (cupsd_selfunc_t)update_job, NULL, + job); + + cupsdAddEvent(CUPSD_EVENT_JOB_STATE, job->printer, job, "Job #%d started.", + job->id); + + return; + + + /* + * If we get here, we need to abort the current job and close out all + * files and pipes... + */ + + abort_job: + + FilterLevel -= job->cost; + job->cost = 0; + + for (slot = 0; slot < 2; slot ++) + cupsdClosePipe(filterfds[slot]); + + cupsArrayDelete(filters); + + if (argv) + { + for (i = 6; i < argc; i ++) + free(argv[i]); + + free(argv); + } + + if (printer_state_reasons) + free(printer_state_reasons); + + cupsdClosePipe(job->print_pipes); + cupsdClosePipe(job->back_pipes); + cupsdClosePipe(job->side_pipes); + + cupsdRemoveSelect(job->status_pipes[0]); + cupsdClosePipe(job->status_pipes); + cupsdStatBufDelete(job->status_buffer); + job->status_buffer = NULL; + + /* + * Update the printer and job state. + */ + + cupsdSetJobState(job, abort_state, CUPSD_JOB_DEFAULT, "%s", abort_message); + cupsdSetPrinterState(job->printer, IPP_PRINTER_IDLE, 0); + update_job_attrs(job, 0); + + if (job->history) + free_job_history(job); + + cupsArrayRemove(PrintingJobs, job); + + /* + * Clear the printer <-> job association... + */ + + job->printer->job = NULL; + job->printer = NULL; +} + + +/* + * 'cupsdDeleteJob()' - Free all memory used by a job. + */ + +void +cupsdDeleteJob(cupsd_job_t *job, /* I - Job */ + cupsd_jobaction_t action)/* I - Action */ +{ + int i; /* Looping var */ + + + if (job->printer) + finalize_job(job, 1); + + if (action == CUPSD_JOB_PURGE) + remove_job_history(job); + + cupsdClearString(&job->username); + cupsdClearString(&job->dest); + for (i = 0; + i < (int)(sizeof(job->auth_env) / sizeof(job->auth_env[0])); + i ++) + cupsdClearString(job->auth_env + i); + cupsdClearString(&job->auth_uid); + + if (action == CUPSD_JOB_PURGE) + remove_job_files(job); + else if (job->num_files > 0) + { + free(job->compressions); + free(job->filetypes); + + job->num_files = 0; + } + + if (job->history) + free_job_history(job); + + unload_job(job); + + cupsArrayRemove(Jobs, job); + cupsArrayRemove(ActiveJobs, job); + cupsArrayRemove(PrintingJobs, job); + + free(job); +} + + +/* + * 'cupsdFreeAllJobs()' - Free all jobs from memory. + */ + +void +cupsdFreeAllJobs(void) +{ + cupsd_job_t *job; /* Current job */ + + + if (!Jobs) + return; + + cupsdHoldSignals(); + + cupsdStopAllJobs(CUPSD_JOB_FORCE, 0); + cupsdSaveAllJobs(); + + for (job = (cupsd_job_t *)cupsArrayFirst(Jobs); + job; + job = (cupsd_job_t *)cupsArrayNext(Jobs)) + cupsdDeleteJob(job, CUPSD_JOB_DEFAULT); + + cupsdReleaseSignals(); +} + + +/* + * 'cupsdFindJob()' - Find the specified job. + */ + +cupsd_job_t * /* O - Job data */ +cupsdFindJob(int id) /* I - Job ID */ +{ + cupsd_job_t key; /* Search key */ + + + key.id = id; + + return ((cupsd_job_t *)cupsArrayFind(Jobs, &key)); +} + + +/* + * 'cupsdGetCompletedJobs()'- Generate a completed jobs list. + */ + +cups_array_t * /* O - Array of jobs */ +cupsdGetCompletedJobs( + cupsd_printer_t *p) /* I - Printer */ +{ + cups_array_t *list; /* Array of jobs */ + cupsd_job_t *job; /* Current job */ + + + list = cupsArrayNew(compare_completed_jobs, NULL); + + for (job = (cupsd_job_t *)cupsArrayFirst(Jobs); + job; + job = (cupsd_job_t *)cupsArrayNext(Jobs)) + if ((!p || !_cups_strcasecmp(p->name, job->dest)) && job->state_value >= IPP_JOB_STOPPED && job->completed_time) + cupsArrayAdd(list, job); + + return (list); +} + + +/* + * 'cupsdGetPrinterJobCount()' - Get the number of pending, processing, + * or held jobs in a printer or class. + */ + +int /* O - Job count */ +cupsdGetPrinterJobCount( + const char *dest) /* I - Printer or class name */ +{ + int count; /* Job count */ + cupsd_job_t *job; /* Current job */ + + + for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs), count = 0; + job; + job = (cupsd_job_t *)cupsArrayNext(ActiveJobs)) + if (job->dest && !_cups_strcasecmp(job->dest, dest)) + count ++; + + return (count); +} + + +/* + * 'cupsdGetUserJobCount()' - Get the number of pending, processing, + * or held jobs for a user. + */ + +int /* O - Job count */ +cupsdGetUserJobCount( + const char *username) /* I - Username */ +{ + int count; /* Job count */ + cupsd_job_t *job; /* Current job */ + + + for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs), count = 0; + job; + job = (cupsd_job_t *)cupsArrayNext(ActiveJobs)) + if (!_cups_strcasecmp(job->username, username)) + count ++; + + return (count); +} + + +/* + * 'cupsdLoadAllJobs()' - Load all jobs from disk. + */ + +void +cupsdLoadAllJobs(void) +{ + char filename[1024]; /* Full filename of job.cache file */ + struct stat fileinfo; /* Information on job.cache file */ + cups_dir_t *dir; /* RequestRoot dir */ + cups_dentry_t *dent; /* Entry in RequestRoot */ + int load_cache = 1; /* Load the job.cache file? */ + + + /* + * Create the job arrays as needed... + */ + + if (!Jobs) + Jobs = cupsArrayNew(compare_jobs, NULL); + + if (!ActiveJobs) + ActiveJobs = cupsArrayNew(compare_active_jobs, NULL); + + if (!PrintingJobs) + PrintingJobs = cupsArrayNew(compare_jobs, NULL); + + /* + * See whether the job.cache file is older than the RequestRoot directory... + */ + + snprintf(filename, sizeof(filename), "%s/job.cache", CacheDir); + + if (stat(filename, &fileinfo)) + { + /* + * No job.cache file... + */ + + load_cache = 0; + + if (errno != ENOENT) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to get file information for \"%s\" - %s", + filename, strerror(errno)); + } + else if ((dir = cupsDirOpen(RequestRoot)) == NULL) + { + /* + * No spool directory... + */ + + load_cache = 0; + } + else + { + while ((dent = cupsDirRead(dir)) != NULL) + { + if (strlen(dent->filename) >= 6 && dent->filename[0] == 'c' && dent->fileinfo.st_mtime > fileinfo.st_mtime) + { + /* + * Job history file is newer than job.cache file... + */ + + load_cache = 0; + break; + } + } + + cupsDirClose(dir); + } + + /* + * Load the most recent source for job data... + */ + + if (load_cache) + { + /* + * Load the job.cache file... + */ + + load_job_cache(filename); + } + else + { + /* + * Load the job history files... + */ + + load_request_root(); + + load_next_job_id(filename); + } + + /* + * Clean out old jobs as needed... + */ + + if (MaxJobs > 0 && cupsArrayCount(Jobs) >= MaxJobs) + cupsdCleanJobs(); +} + + +/* + * 'cupsdLoadJob()' - Load a single job. + */ + +int /* O - 1 on success, 0 on failure */ +cupsdLoadJob(cupsd_job_t *job) /* I - Job */ +{ + int i; /* Looping var */ + char jobfile[1024]; /* Job filename */ + cups_file_t *fp; /* Job file */ + int fileid; /* Current file ID */ + ipp_attribute_t *attr; /* Job attribute */ + const char *dest; /* Destination name */ + cupsd_printer_t *destptr; /* Pointer to destination */ + mime_type_t **filetypes; /* New filetypes array */ + int *compressions; /* New compressions array */ + + + if (job->attrs) + { + if (job->state_value > IPP_JOB_STOPPED) + job->access_time = time(NULL); + + return (1); + } + + if ((job->attrs = ippNew()) == NULL) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, "Ran out of memory for job attributes."); + return (0); + } + + /* + * Load job attributes... + */ + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Loading attributes..."); + + snprintf(jobfile, sizeof(jobfile), "%s/c%05d", RequestRoot, job->id); + if ((fp = cupsdOpenConfFile(jobfile)) == NULL) + goto error; + + if (ippReadIO(fp, (ipp_iocb_t)cupsFileRead, 1, NULL, job->attrs) != IPP_DATA) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, + "Unable to read job control file \"%s\".", jobfile); + cupsFileClose(fp); + goto error; + } + + cupsFileClose(fp); + + /* + * Copy attribute data to the job object... + */ + + if (!ippFindAttribute(job->attrs, "time-at-creation", IPP_TAG_INTEGER)) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, + "Missing or bad time-at-creation attribute in control file."); + goto error; + } + + if ((job->state = ippFindAttribute(job->attrs, "job-state", + IPP_TAG_ENUM)) == NULL) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, + "Missing or bad job-state attribute in control file."); + goto error; + } + + job->state_value = (ipp_jstate_t)job->state->values[0].integer; + job->file_time = 0; + job->history_time = 0; + + if ((attr = ippFindAttribute(job->attrs, "time-at-creation", IPP_TAG_INTEGER)) != NULL) + job->creation_time = attr->values[0].integer; + + if (job->state_value >= IPP_JOB_CANCELED && (attr = ippFindAttribute(job->attrs, "time-at-completed", IPP_TAG_INTEGER)) != NULL) + { + job->completed_time = attr->values[0].integer; + + if (JobHistory < INT_MAX) + job->history_time = job->completed_time + JobHistory; + else + job->history_time = INT_MAX; + + if (job->history_time < time(NULL)) + goto error; /* Expired, remove from history */ + + if (job->history_time < JobHistoryUpdate || !JobHistoryUpdate) + JobHistoryUpdate = job->history_time; + + if (JobFiles < INT_MAX) + job->file_time = job->completed_time + JobFiles; + else + job->file_time = INT_MAX; + + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "cupsdLoadJob: job->file_time=%ld, time-at-completed=%ld, JobFiles=%d", (long)job->file_time, (long)attr->values[0].integer, JobFiles); + + if (job->file_time < JobHistoryUpdate || !JobHistoryUpdate) + JobHistoryUpdate = job->file_time; + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdLoadJob: JobHistoryUpdate=%ld", + (long)JobHistoryUpdate); + } + + if (!job->dest) + { + if ((attr = ippFindAttribute(job->attrs, "job-printer-uri", + IPP_TAG_URI)) == NULL) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, + "No job-printer-uri attribute in control file."); + goto error; + } + + if ((dest = cupsdValidateDest(attr->values[0].string.text, &(job->dtype), + &destptr)) == NULL) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, + "Unable to queue job for destination \"%s\".", + attr->values[0].string.text); + goto error; + } + + cupsdSetString(&job->dest, dest); + } + else if ((destptr = cupsdFindDest(job->dest)) == NULL) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, + "Unable to queue job for destination \"%s\".", + job->dest); + goto error; + } + + if ((job->reasons = ippFindAttribute(job->attrs, "job-state-reasons", + IPP_TAG_KEYWORD)) == NULL) + { + const char *reason; /* job-state-reason keyword */ + + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "Adding missing job-state-reasons attribute to control file."); + + switch (job->state_value) + { + default : + case IPP_JOB_PENDING : + if (destptr->state == IPP_PRINTER_STOPPED) + reason = "printer-stopped"; + else + reason = "none"; + break; + + case IPP_JOB_HELD : + if ((attr = ippFindAttribute(job->attrs, "job-hold-until", + IPP_TAG_ZERO)) != NULL && + (attr->value_tag == IPP_TAG_NAME || + attr->value_tag == IPP_TAG_NAMELANG || + attr->value_tag == IPP_TAG_KEYWORD) && + strcmp(attr->values[0].string.text, "no-hold")) + reason = "job-hold-until-specified"; + else + reason = "job-incoming"; + break; + + case IPP_JOB_PROCESSING : + reason = "job-printing"; + break; + + case IPP_JOB_STOPPED : + reason = "job-stopped"; + break; + + case IPP_JOB_CANCELED : + reason = "job-canceled-by-user"; + break; + + case IPP_JOB_ABORTED : + reason = "aborted-by-system"; + break; + + case IPP_JOB_COMPLETED : + reason = "job-completed-successfully"; + break; + } + + job->reasons = ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_KEYWORD, + "job-state-reasons", NULL, reason); + } + else if (job->state_value == IPP_JOB_PENDING) + { + if (destptr->state == IPP_PRINTER_STOPPED) + ippSetString(job->attrs, &job->reasons, 0, "printer-stopped"); + else + ippSetString(job->attrs, &job->reasons, 0, "none"); + } + + job->impressions = ippFindAttribute(job->attrs, "job-impressions-completed", IPP_TAG_INTEGER); + job->sheets = ippFindAttribute(job->attrs, "job-media-sheets-completed", IPP_TAG_INTEGER); + job->job_sheets = ippFindAttribute(job->attrs, "job-sheets", IPP_TAG_NAME); + + if (!job->impressions) + job->impressions = ippAddInteger(job->attrs, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-impressions-completed", 0); + if (!job->sheets) + job->sheets = ippAddInteger(job->attrs, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-media-sheets-completed", 0); + + if (!job->priority) + { + if ((attr = ippFindAttribute(job->attrs, "job-priority", + IPP_TAG_INTEGER)) == NULL) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, + "Missing or bad job-priority attribute in control file."); + goto error; + } + + job->priority = attr->values[0].integer; + } + + if (!job->username) + { + if ((attr = ippFindAttribute(job->attrs, "job-originating-user-name", + IPP_TAG_NAME)) == NULL) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, + "Missing or bad job-originating-user-name " + "attribute in control file."); + goto error; + } + + cupsdSetString(&job->username, attr->values[0].string.text); + } + + if (!job->name) + { + if ((attr = ippFindAttribute(job->attrs, "job-name", IPP_TAG_NAME)) != NULL) + cupsdSetString(&job->name, attr->values[0].string.text); + } + + /* + * Set the job hold-until time and state... + */ + + if (job->state_value == IPP_JOB_HELD) + { + if ((attr = ippFindAttribute(job->attrs, "job-hold-until", + IPP_TAG_KEYWORD)) == NULL) + attr = ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_NAME); + + if (attr) + cupsdSetJobHoldUntil(job, attr->values[0].string.text, CUPSD_JOB_DEFAULT); + else + { + job->state->values[0].integer = IPP_JOB_PENDING; + job->state_value = IPP_JOB_PENDING; + } + } + else if (job->state_value == IPP_JOB_PROCESSING) + { + job->state->values[0].integer = IPP_JOB_PENDING; + job->state_value = IPP_JOB_PENDING; + } + + if ((attr = ippFindAttribute(job->attrs, "job-k-octets", IPP_TAG_INTEGER)) != NULL) + job->koctets = attr->values[0].integer; + + if (!job->num_files) + { + /* + * Find all the d##### files... + */ + + for (fileid = 1; fileid < 10000; fileid ++) + { + snprintf(jobfile, sizeof(jobfile), "%s/d%05d-%03d", RequestRoot, + job->id, fileid); + + if (access(jobfile, 0)) + break; + + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "Auto-typing document file \"%s\"...", jobfile); + + if (fileid > job->num_files) + { + if (job->num_files == 0) + { + compressions = (int *)calloc((size_t)fileid, sizeof(int)); + filetypes = (mime_type_t **)calloc((size_t)fileid, sizeof(mime_type_t *)); + } + else + { + compressions = (int *)realloc(job->compressions, sizeof(int) * (size_t)fileid); + filetypes = (mime_type_t **)realloc(job->filetypes, sizeof(mime_type_t *) * (size_t)fileid); + } + + if (compressions) + job->compressions = compressions; + + if (filetypes) + job->filetypes = filetypes; + + if (!compressions || !filetypes) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, + "Ran out of memory for job file types."); + + ippDelete(job->attrs); + job->attrs = NULL; + + if (job->compressions) + { + free(job->compressions); + job->compressions = NULL; + } + + if (job->filetypes) + { + free(job->filetypes); + job->filetypes = NULL; + } + + job->num_files = 0; + return (0); + } + + job->num_files = fileid; + } + + job->filetypes[fileid - 1] = mimeFileType(MimeDatabase, jobfile, NULL, + job->compressions + fileid - 1); + + if (!job->filetypes[fileid - 1]) + job->filetypes[fileid - 1] = mimeType(MimeDatabase, "application", + "vnd.cups-raw"); + } + } + + /* + * Load authentication information as needed... + */ + + if (job->state_value < IPP_JOB_STOPPED) + { + snprintf(jobfile, sizeof(jobfile), "%s/a%05d", RequestRoot, job->id); + + for (i = 0; + i < (int)(sizeof(job->auth_env) / sizeof(job->auth_env[0])); + i ++) + cupsdClearString(job->auth_env + i); + cupsdClearString(&job->auth_uid); + + if ((fp = cupsFileOpen(jobfile, "r")) != NULL) + { + int bytes, /* Size of auth data */ + linenum = 1; /* Current line number */ + char line[65536], /* Line from file */ + *value, /* Value from line */ + data[65536]; /* Decoded data */ + + + if (cupsFileGets(fp, line, sizeof(line)) && + !strcmp(line, "CUPSD-AUTH-V3")) + { + i = 0; + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + /* + * Decode value... + */ + + if (strcmp(line, "negotiate") && strcmp(line, "uid")) + { + bytes = sizeof(data); + httpDecode64_2(data, &bytes, value); + } + + /* + * Assign environment variables... + */ + + if (!strcmp(line, "uid")) + { + cupsdSetStringf(&job->auth_uid, "AUTH_UID=%s", value); + continue; + } + else if (i >= (int)(sizeof(job->auth_env) / sizeof(job->auth_env[0]))) + break; + + if (!strcmp(line, "username")) + cupsdSetStringf(job->auth_env + i, "AUTH_USERNAME=%s", data); + else if (!strcmp(line, "domain")) + cupsdSetStringf(job->auth_env + i, "AUTH_DOMAIN=%s", data); + else if (!strcmp(line, "password")) + cupsdSetStringf(job->auth_env + i, "AUTH_PASSWORD=%s", data); + else if (!strcmp(line, "negotiate")) + cupsdSetStringf(job->auth_env + i, "AUTH_NEGOTIATE=%s", value); + else + continue; + + i ++; + } + } + + cupsFileClose(fp); + } + } + + job->access_time = time(NULL); + return (1); + + /* + * If we get here then something bad happened... + */ + + error: + + ippDelete(job->attrs); + job->attrs = NULL; + + remove_job_history(job); + remove_job_files(job); + + return (0); +} + + +/* + * 'cupsdMoveJob()' - Move the specified job to a different destination. + */ + +void +cupsdMoveJob(cupsd_job_t *job, /* I - Job */ + cupsd_printer_t *p) /* I - Destination printer or class */ +{ + ipp_attribute_t *attr; /* job-printer-uri attribute */ + const char *olddest; /* Old destination */ + cupsd_printer_t *oldp; /* Old pointer */ + + + /* + * Don't move completed jobs... + */ + + if (job->state_value > IPP_JOB_STOPPED) + return; + + /* + * Get the old destination... + */ + + olddest = job->dest; + + if (job->printer) + oldp = job->printer; + else + oldp = cupsdFindDest(olddest); + + /* + * Change the destination information... + */ + + if (job->state_value > IPP_JOB_HELD) + cupsdSetJobState(job, IPP_JOB_PENDING, CUPSD_JOB_DEFAULT, + "Stopping job prior to move."); + + cupsdAddEvent(CUPSD_EVENT_JOB_CONFIG_CHANGED, oldp, job, + "Job #%d moved from %s to %s.", job->id, olddest, + p->name); + + cupsdSetString(&job->dest, p->name); + job->dtype = p->type & (CUPS_PRINTER_CLASS | CUPS_PRINTER_REMOTE); + + if ((attr = ippFindAttribute(job->attrs, "job-printer-uri", + IPP_TAG_URI)) != NULL) + ippSetString(job->attrs, &attr, 0, p->uri); + + cupsdAddEvent(CUPSD_EVENT_JOB_STOPPED, p, job, + "Job #%d moved from %s to %s.", job->id, olddest, + p->name); + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); +} + + +/* + * 'cupsdReleaseJob()' - Release the specified job. + */ + +void +cupsdReleaseJob(cupsd_job_t *job) /* I - Job */ +{ + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdReleaseJob(job=%p(%d))", job, + job->id); + + if (job->state_value == IPP_JOB_HELD) + { + /* + * Add trailing banner as needed... + */ + + if (job->pending_timeout) + cupsdTimeoutJob(job); + + cupsdSetJobState(job, IPP_JOB_PENDING, CUPSD_JOB_DEFAULT, + "Job released by user."); + } +} + + +/* + * 'cupsdRestartJob()' - Restart the specified job. + */ + +void +cupsdRestartJob(cupsd_job_t *job) /* I - Job */ +{ + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdRestartJob(job=%p(%d))", job, + job->id); + + if (job->state_value == IPP_JOB_STOPPED || job->num_files) + cupsdSetJobState(job, IPP_JOB_PENDING, CUPSD_JOB_DEFAULT, + "Job restarted by user."); +} + + +/* + * 'cupsdSaveAllJobs()' - Save a summary of all jobs to disk. + */ + +void +cupsdSaveAllJobs(void) +{ + int i; /* Looping var */ + cups_file_t *fp; /* job.cache file */ + char filename[1024], /* job.cache filename */ + temp[1024]; /* Temporary string */ + cupsd_job_t *job; /* Current job */ + time_t curtime; /* Current time */ + struct tm curdate; /* Current date */ + + + snprintf(filename, sizeof(filename), "%s/job.cache", CacheDir); + if ((fp = cupsdCreateConfFile(filename, ConfigFilePerm)) == NULL) + return; + + cupsdLogMessage(CUPSD_LOG_INFO, "Saving job.cache..."); + + /* + * Write a small header to the file... + */ + + time(&curtime); + localtime_r(&curtime, &curdate); + strftime(temp, sizeof(temp) - 1, "%Y-%m-%d %H:%M", &curdate); + + cupsFilePuts(fp, "# Job cache file for " CUPS_SVERSION "\n"); + cupsFilePrintf(fp, "# Written by cupsd on %s\n", temp); + cupsFilePrintf(fp, "NextJobId %d\n", NextJobId); + + /* + * Write each job known to the system... + */ + + for (job = (cupsd_job_t *)cupsArrayFirst(Jobs); + job; + job = (cupsd_job_t *)cupsArrayNext(Jobs)) + { + if (job->printer && job->printer->temporary) + { + /* + * Don't save jobs on temporary printers... + */ + + continue; + } + + cupsFilePrintf(fp, "\n", job->id); + cupsFilePrintf(fp, "State %d\n", job->state_value); + cupsFilePrintf(fp, "Created %ld\n", (long)job->creation_time); + if (job->completed_time) + cupsFilePrintf(fp, "Completed %ld\n", (long)job->completed_time); + cupsFilePrintf(fp, "Priority %d\n", job->priority); + if (job->hold_until) + cupsFilePrintf(fp, "HoldUntil %ld\n", (long)job->hold_until); + cupsFilePrintf(fp, "Username %s\n", job->username); + if (job->name) + cupsFilePutConf(fp, "Name", job->name); + cupsFilePrintf(fp, "Destination %s\n", job->dest); + cupsFilePrintf(fp, "DestType %d\n", job->dtype); + cupsFilePrintf(fp, "KOctets %d\n", job->koctets); + cupsFilePrintf(fp, "NumFiles %d\n", job->num_files); + for (i = 0; i < job->num_files; i ++) + cupsFilePrintf(fp, "File %d %s/%s %d\n", i + 1, job->filetypes[i]->super, + job->filetypes[i]->type, job->compressions[i]); + cupsFilePuts(fp, "\n"); + } + + cupsdCloseCreatedConfFile(fp, filename); +} + + +/* + * 'cupsdSaveJob()' - Save a job to disk. + */ + +void +cupsdSaveJob(cupsd_job_t *job) /* I - Job */ +{ + char filename[1024]; /* Job control filename */ + cups_file_t *fp; /* Job file */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdSaveJob(job=%p(%d)): job->attrs=%p", + job, job->id, job->attrs); + + if (job->printer && job->printer->temporary) + { + /* + * Don't save jobs on temporary printers... + */ + + job->dirty = 0; + return; + } + + snprintf(filename, sizeof(filename), "%s/c%05d", RequestRoot, job->id); + + if ((fp = cupsdCreateConfFile(filename, ConfigFilePerm & 0600)) == NULL) + return; + + fchown(cupsFileNumber(fp), RunUser, Group); + + job->attrs->state = IPP_IDLE; + + if (ippWriteIO(fp, (ipp_iocb_t)cupsFileWrite, 1, NULL, + job->attrs) != IPP_DATA) + { + cupsdLogJob(job, CUPSD_LOG_ERROR, "Unable to write job control file."); + cupsFileClose(fp); + return; + } + + if (!cupsdCloseCreatedConfFile(fp, filename)) + { + /* + * Remove backup file and mark this job as clean... + */ + + strlcat(filename, ".O", sizeof(filename)); + unlink(filename); + + job->dirty = 0; + } +} + + +/* + * 'cupsdSetJobHoldUntil()' - Set the hold time for a job. + */ + +void +cupsdSetJobHoldUntil(cupsd_job_t *job, /* I - Job */ + const char *when, /* I - When to resume */ + int update)/* I - Update job-hold-until attr? */ +{ + time_t curtime; /* Current time */ + struct tm curdate; /* Current date */ + int hour; /* Hold hour */ + int minute; /* Hold minute */ + int second = 0; /* Hold second */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdSetJobHoldUntil(job=%p(%d), when=\"%s\", update=%d)", + job, job->id, when, update); + + if (update) + { + /* + * Update the job-hold-until attribute... + */ + + ipp_attribute_t *attr; /* job-hold-until attribute */ + + if ((attr = ippFindAttribute(job->attrs, "job-hold-until", + IPP_TAG_KEYWORD)) == NULL) + attr = ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_NAME); + + if (attr) + ippSetString(job->attrs, &attr, 0, when); + else + attr = ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_KEYWORD, + "job-hold-until", NULL, when); + + if (attr) + { + if (isdigit(when[0] & 255)) + attr->value_tag = IPP_TAG_NAME; + else + attr->value_tag = IPP_TAG_KEYWORD; + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + } + + } + + if (strcmp(when, "no-hold")) + ippSetString(job->attrs, &job->reasons, 0, "job-hold-until-specified"); + else + ippSetString(job->attrs, &job->reasons, 0, "none"); + + /* + * Update the hold time... + */ + + job->cancel_time = 0; + + if (!strcmp(when, "indefinite") || !strcmp(when, "auth-info-required")) + { + /* + * Hold indefinitely... + */ + + job->hold_until = 0; + + if (MaxHoldTime > 0) + job->cancel_time = time(NULL) + MaxHoldTime; + } + else if (!strcmp(when, "day-time")) + { + /* + * Hold to 6am the next morning unless local time is < 6pm. + */ + + time(&curtime); + localtime_r(&curtime, &curdate); + + if (curdate.tm_hour < 18) + job->hold_until = curtime; + else + job->hold_until = curtime + + ((29 - curdate.tm_hour) * 60 + 59 - + curdate.tm_min) * 60 + 60 - curdate.tm_sec; + } + else if (!strcmp(when, "evening") || !strcmp(when, "night")) + { + /* + * Hold to 6pm unless local time is > 6pm or < 6am. + */ + + time(&curtime); + localtime_r(&curtime, &curdate); + + if (curdate.tm_hour < 6 || curdate.tm_hour >= 18) + job->hold_until = curtime; + else + job->hold_until = curtime + + ((17 - curdate.tm_hour) * 60 + 59 - + curdate.tm_min) * 60 + 60 - curdate.tm_sec; + } + else if (!strcmp(when, "second-shift")) + { + /* + * Hold to 4pm unless local time is > 4pm. + */ + + time(&curtime); + localtime_r(&curtime, &curdate); + + if (curdate.tm_hour >= 16) + job->hold_until = curtime; + else + job->hold_until = curtime + + ((15 - curdate.tm_hour) * 60 + 59 - + curdate.tm_min) * 60 + 60 - curdate.tm_sec; + } + else if (!strcmp(when, "third-shift")) + { + /* + * Hold to 12am unless local time is < 8am. + */ + + time(&curtime); + localtime_r(&curtime, &curdate); + + if (curdate.tm_hour < 8) + job->hold_until = curtime; + else + job->hold_until = curtime + + ((23 - curdate.tm_hour) * 60 + 59 - + curdate.tm_min) * 60 + 60 - curdate.tm_sec; + } + else if (!strcmp(when, "weekend")) + { + /* + * Hold to weekend unless we are in the weekend. + */ + + time(&curtime); + localtime_r(&curtime, &curdate); + + if (curdate.tm_wday == 0 || curdate.tm_wday == 6) + job->hold_until = curtime; + else + job->hold_until = curtime + + (((5 - curdate.tm_wday) * 24 + + (17 - curdate.tm_hour)) * 60 + 59 - + curdate.tm_min) * 60 + 60 - curdate.tm_sec; + } + else if (sscanf(when, "%d:%d:%d", &hour, &minute, &second) >= 2) + { + /* + * Hold to specified GMT time (HH:MM or HH:MM:SS)... + */ + + time(&curtime); + gmtime_r(&curtime, &curdate); + + job->hold_until = curtime + + ((hour - curdate.tm_hour) * 60 + minute - + curdate.tm_min) * 60 + second - curdate.tm_sec; + + /* + * Hold until next day as needed... + */ + + if (job->hold_until < curtime) + job->hold_until += 24 * 60 * 60; + } + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdSetJobHoldUntil: hold_until=%d", + (int)job->hold_until); +} + + +/* + * 'cupsdSetJobPriority()' - Set the priority of a job, moving it up/down in + * the list as needed. + */ + +void +cupsdSetJobPriority( + cupsd_job_t *job, /* I - Job ID */ + int priority) /* I - New priority (0 to 100) */ +{ + ipp_attribute_t *attr; /* Job attribute */ + + + /* + * Don't change completed jobs... + */ + + if (job->state_value >= IPP_JOB_PROCESSING) + return; + + /* + * Set the new priority and re-add the job into the active list... + */ + + cupsArrayRemove(ActiveJobs, job); + + job->priority = priority; + + if ((attr = ippFindAttribute(job->attrs, "job-priority", + IPP_TAG_INTEGER)) != NULL) + attr->values[0].integer = priority; + else + ippAddInteger(job->attrs, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-priority", + priority); + + cupsArrayAdd(ActiveJobs, job); + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); +} + + +/* + * 'cupsdSetJobState()' - Set the state of the specified print job. + */ + +void +cupsdSetJobState( + cupsd_job_t *job, /* I - Job to cancel */ + ipp_jstate_t newstate, /* I - New job state */ + cupsd_jobaction_t action, /* I - Action to take */ + const char *message, /* I - Message to log */ + ...) /* I - Additional arguments as needed */ +{ + int i; /* Looping var */ + ipp_jstate_t oldstate; /* Old state */ + char filename[1024]; /* Job filename */ + ipp_attribute_t *attr; /* Job attribute */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdSetJobState(job=%p(%d), state=%d, newstate=%d, " + "action=%d, message=\"%s\")", job, job->id, job->state_value, + newstate, action, message ? message : "(null)"); + + + /* + * Make sure we have the job attributes... + */ + + if (!cupsdLoadJob(job)) + return; + + /* + * Don't do anything if the state is unchanged and we aren't purging the + * job... + */ + + oldstate = job->state_value; + if (newstate == oldstate && action != CUPSD_JOB_PURGE) + return; + + /* + * Stop any processes that are working on the current job... + */ + + if (oldstate == IPP_JOB_PROCESSING) + stop_job(job, action); + + /* + * Set the new job state... + */ + + job->state_value = newstate; + + if (job->state) + job->state->values[0].integer = (int)newstate; + + switch (newstate) + { + case IPP_JOB_PENDING : + /* + * Update job-hold-until as needed... + */ + + if ((attr = ippFindAttribute(job->attrs, "job-hold-until", + IPP_TAG_KEYWORD)) == NULL) + attr = ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_NAME); + + if (attr) + { + ippSetValueTag(job->attrs, &attr, IPP_TAG_KEYWORD); + ippSetString(job->attrs, &attr, 0, "no-hold"); + } + + default : + break; + + case IPP_JOB_ABORTED : + case IPP_JOB_CANCELED : + case IPP_JOB_COMPLETED : + set_time(job, "time-at-completed"); + ippSetString(job->attrs, &job->reasons, 0, "processing-to-stop-point"); + break; + } + + /* + * Log message as needed... + */ + + if (message) + { + char buffer[2048]; /* Message buffer */ + va_list ap; /* Pointer to additional arguments */ + + va_start(ap, message); + vsnprintf(buffer, sizeof(buffer), message, ap); + va_end(ap); + + if (newstate > IPP_JOB_STOPPED) + cupsdAddEvent(CUPSD_EVENT_JOB_COMPLETED, job->printer, job, "%s", buffer); + else + cupsdAddEvent(CUPSD_EVENT_JOB_STATE, job->printer, job, "%s", buffer); + + if (newstate == IPP_JOB_STOPPED || newstate == IPP_JOB_ABORTED || newstate == IPP_JOB_HELD) + cupsdLogJob(job, CUPSD_LOG_ERROR, "%s", buffer); + else + cupsdLogJob(job, CUPSD_LOG_INFO, "%s", buffer); + } + + /* + * Handle post-state-change actions... + */ + + switch (newstate) + { + case IPP_JOB_PROCESSING : + /* + * Add the job to the "printing" list... + */ + + if (!cupsArrayFind(PrintingJobs, job)) + cupsArrayAdd(PrintingJobs, job); + + /* + * Set the processing time... + */ + + set_time(job, "time-at-processing"); + + case IPP_JOB_PENDING : + case IPP_JOB_HELD : + case IPP_JOB_STOPPED : + /* + * Make sure the job is in the active list... + */ + + if (!cupsArrayFind(ActiveJobs, job)) + cupsArrayAdd(ActiveJobs, job); + + /* + * Save the job state to disk... + */ + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + break; + + case IPP_JOB_ABORTED : + case IPP_JOB_CANCELED : + case IPP_JOB_COMPLETED : + if (newstate == IPP_JOB_CANCELED) + { + /* + * Remove the job from the active list if there are no processes still + * running for it... + */ + + for (i = 0; job->filters[i] < 0; i++); + + if (!job->filters[i] && job->backend <= 0) + cupsArrayRemove(ActiveJobs, job); + } + else + { + /* + * Otherwise just remove the job from the active list immediately... + */ + + cupsArrayRemove(ActiveJobs, job); + } + + /* + * Expire job subscriptions since the job is now "completed"... + */ + + cupsdExpireSubscriptions(NULL, job); + +#ifdef __APPLE__ + /* + * If we are going to sleep and the PrintingJobs count is now 0, allow the + * sleep to happen immediately... + */ + + if (Sleeping && cupsArrayCount(PrintingJobs) == 0) + cupsdAllowSleep(); +#endif /* __APPLE__ */ + + /* + * Remove any authentication data... + */ + + snprintf(filename, sizeof(filename), "%s/a%05d", RequestRoot, job->id); + if (cupsdRemoveFile(filename) && errno != ENOENT) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to remove authentication cache: %s", + strerror(errno)); + + for (i = 0; + i < (int)(sizeof(job->auth_env) / sizeof(job->auth_env[0])); + i ++) + cupsdClearString(job->auth_env + i); + + cupsdClearString(&job->auth_uid); + + /* + * Remove the print file for good if we aren't preserving jobs or + * files... + */ + + if (!JobHistory || !JobFiles || action == CUPSD_JOB_PURGE) + remove_job_files(job); + + if (JobHistory && action != CUPSD_JOB_PURGE) + { + /* + * Save job state info... + */ + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + } + else if (!job->printer) + { + /* + * Delete the job immediately if not actively printing... + */ + + cupsdDeleteJob(job, CUPSD_JOB_PURGE); + job = NULL; + } + break; + } + + /* + * Finalize the job immediately if we forced things... + */ + + if (action >= CUPSD_JOB_FORCE && job && job->printer) + finalize_job(job, 0); + + /* + * Update the server "busy" state... + */ + + cupsdSetBusyState(0); +} + + +/* + * 'cupsdStopAllJobs()' - Stop all print jobs. + */ + +void +cupsdStopAllJobs( + cupsd_jobaction_t action, /* I - Action */ + int kill_delay) /* I - Number of seconds before we kill */ +{ + cupsd_job_t *job; /* Current job */ + + + for (job = (cupsd_job_t *)cupsArrayFirst(PrintingJobs); + job; + job = (cupsd_job_t *)cupsArrayNext(PrintingJobs)) + { + if (job->completed) + { + cupsdSetJobState(job, IPP_JOB_COMPLETED, CUPSD_JOB_FORCE, NULL); + } + else + { + if (kill_delay) + job->kill_time = time(NULL) + kill_delay; + + cupsdSetJobState(job, IPP_JOB_PENDING, action, NULL); + } + } +} + + +/* + * 'cupsdUnloadCompletedJobs()' - Flush completed job history from memory. + */ + +void +cupsdUnloadCompletedJobs(void) +{ + cupsd_job_t *job; /* Current job */ + time_t expire; /* Expiration time */ + + + expire = time(NULL) - 60; + + for (job = (cupsd_job_t *)cupsArrayFirst(Jobs); + job; + job = (cupsd_job_t *)cupsArrayNext(Jobs)) + if (job->attrs && job->state_value >= IPP_JOB_STOPPED && !job->printer && + job->access_time < expire) + { + if (job->dirty) + cupsdSaveJob(job); + + if (!job->dirty) + unload_job(job); + } +} + + +/* + * 'cupsdUpdateJobs()' - Update the history/file files for all jobs. + */ + +void +cupsdUpdateJobs(void) +{ + cupsd_job_t *job; /* Current job */ + time_t curtime; /* Current time */ + ipp_attribute_t *attr; /* time-at-completed attribute */ + + + curtime = time(NULL); + JobHistoryUpdate = 0; + + for (job = (cupsd_job_t *)cupsArrayFirst(Jobs); + job; + job = (cupsd_job_t *)cupsArrayNext(Jobs)) + { + if (job->state_value >= IPP_JOB_CANCELED && + (attr = ippFindAttribute(job->attrs, "time-at-completed", + IPP_TAG_INTEGER)) != NULL) + { + /* + * Update history/file expiration times... + */ + + job->completed_time = attr->values[0].integer; + + if (JobHistory < INT_MAX) + job->history_time = job->completed_time + JobHistory; + else + job->history_time = INT_MAX; + + if (job->history_time < curtime) + { + cupsdDeleteJob(job, CUPSD_JOB_PURGE); + continue; + } + + if (job->history_time < JobHistoryUpdate || !JobHistoryUpdate) + JobHistoryUpdate = job->history_time; + + if (JobFiles < INT_MAX) + job->file_time = job->completed_time + JobFiles; + else + job->file_time = INT_MAX; + + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "cupsdUpdateJobs: job->file_time=%ld, time-at-completed=%ld, JobFiles=%d", (long)job->file_time, (long)attr->values[0].integer, JobFiles); + + if (job->file_time < JobHistoryUpdate || !JobHistoryUpdate) + JobHistoryUpdate = job->file_time; + } + } + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdUpdateJobs: JobHistoryUpdate=%ld", + (long)JobHistoryUpdate); +} + + +/* + * 'compare_active_jobs()' - Compare the job IDs and priorities of two jobs. + */ + +static int /* O - Difference */ +compare_active_jobs(void *first, /* I - First job */ + void *second, /* I - Second job */ + void *data) /* I - App data (not used) */ +{ + int diff; /* Difference */ + + + (void)data; + + if ((diff = ((cupsd_job_t *)second)->priority - + ((cupsd_job_t *)first)->priority) != 0) + return (diff); + else + return (((cupsd_job_t *)first)->id - ((cupsd_job_t *)second)->id); +} + + +/* + * 'compare_completed_jobs()' - Compare the job IDs and completion times of two jobs. + */ + +static int /* O - Difference */ +compare_completed_jobs(void *first, /* I - First job */ + void *second, /* I - Second job */ + void *data) /* I - App data (not used) */ +{ + int diff; /* Difference */ + + + (void)data; + + if ((diff = ((cupsd_job_t *)second)->completed_time - + ((cupsd_job_t *)first)->completed_time) != 0) + return (diff); + else + return (((cupsd_job_t *)first)->id - ((cupsd_job_t *)second)->id); +} + + +/* + * 'compare_jobs()' - Compare the job IDs of two jobs. + */ + +static int /* O - Difference */ +compare_jobs(void *first, /* I - First job */ + void *second, /* I - Second job */ + void *data) /* I - App data (not used) */ +{ + (void)data; + + return (((cupsd_job_t *)first)->id - ((cupsd_job_t *)second)->id); +} + + +/* + * 'dump_job_history()' - Dump any debug messages for a job. + */ + +static void +dump_job_history(cupsd_job_t *job) /* I - Job */ +{ + int i, /* Looping var */ + oldsize; /* Current MaxLogSize */ + struct tm date; /* Date/time value */ + cupsd_joblog_t *message; /* Current message */ + char temp[2048], /* Log message */ + *ptr, /* Pointer into log message */ + start[256], /* Start time */ + end[256]; /* End time */ + cupsd_printer_t *printer; /* Printer for job */ + + + /* + * See if we have anything to dump... + */ + + if (!job->history) + return; + + /* + * Disable log rotation temporarily... + */ + + oldsize = MaxLogSize; + MaxLogSize = 0; + + /* + * Copy the debug messages to the log... + */ + + message = (cupsd_joblog_t *)cupsArrayFirst(job->history); + localtime_r(&(message->time), &date); + strftime(start, sizeof(start), "%X", &date); + + message = (cupsd_joblog_t *)cupsArrayLast(job->history); + localtime_r(&(message->time), &date); + strftime(end, sizeof(end), "%X", &date); + + snprintf(temp, sizeof(temp), + "[Job %d] The following messages were recorded from %s to %s", + job->id, start, end); + cupsdWriteErrorLog(CUPSD_LOG_DEBUG, temp); + + for (message = (cupsd_joblog_t *)cupsArrayFirst(job->history); + message; + message = (cupsd_joblog_t *)cupsArrayNext(job->history)) + cupsdWriteErrorLog(CUPSD_LOG_DEBUG, message->message); + + snprintf(temp, sizeof(temp), "[Job %d] End of messages", job->id); + cupsdWriteErrorLog(CUPSD_LOG_DEBUG, temp); + + /* + * Log the printer state values... + */ + + if ((printer = job->printer) == NULL) + printer = cupsdFindDest(job->dest); + + if (printer) + { + snprintf(temp, sizeof(temp), "[Job %d] printer-state=%d(%s)", job->id, + printer->state, + printer->state == IPP_PRINTER_IDLE ? "idle" : + printer->state == IPP_PRINTER_PROCESSING ? "processing" : + "stopped"); + cupsdWriteErrorLog(CUPSD_LOG_DEBUG, temp); + + snprintf(temp, sizeof(temp), "[Job %d] printer-state-message=\"%s\"", + job->id, printer->state_message); + cupsdWriteErrorLog(CUPSD_LOG_DEBUG, temp); + + snprintf(temp, sizeof(temp), "[Job %d] printer-state-reasons=", job->id); + ptr = temp + strlen(temp); + if (printer->num_reasons == 0) + strlcpy(ptr, "none", sizeof(temp) - (size_t)(ptr - temp)); + else + { + for (i = 0; + i < printer->num_reasons && ptr < (temp + sizeof(temp) - 2); + i ++) + { + if (i) + *ptr++ = ','; + + strlcpy(ptr, printer->reasons[i], sizeof(temp) - (size_t)(ptr - temp)); + ptr += strlen(ptr); + } + } + cupsdWriteErrorLog(CUPSD_LOG_DEBUG, temp); + } + + /* + * Restore log file rotation... + */ + + MaxLogSize = oldsize; + + /* + * Free all messages... + */ + + free_job_history(job); +} + + +/* + * 'free_job_history()' - Free any log history. + */ + +static void +free_job_history(cupsd_job_t *job) /* I - Job */ +{ + char *message; /* Current message */ + + + if (!job->history) + return; + + for (message = (char *)cupsArrayFirst(job->history); + message; + message = (char *)cupsArrayNext(job->history)) + free(message); + + cupsArrayDelete(job->history); + job->history = NULL; +} + + +/* + * 'finalize_job()' - Cleanup after job filter processes and support data. + */ + +static void +finalize_job(cupsd_job_t *job, /* I - Job */ + int set_job_state) /* I - 1 = set the job state */ +{ + ipp_pstate_t printer_state; /* New printer state value */ + ipp_jstate_t job_state; /* New job state value */ + const char *message; /* Message for job state */ + char buffer[1024]; /* Buffer for formatted messages */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "finalize_job(job=%p(%d))", job, job->id); + + /* + * Clear the "connecting-to-device" and "cups-waiting-for-job-completed" + * reasons, which are only valid when a printer is processing, along with any + * remote printing job state... + */ + + cupsdSetPrinterReasons(job->printer, "-connecting-to-device," + "cups-waiting-for-job-completed," + "cups-remote-pending," + "cups-remote-pending-held," + "cups-remote-processing," + "cups-remote-stopped," + "cups-remote-canceled," + "cups-remote-aborted," + "cups-remote-completed"); + + /* + * Similarly, clear the "offline-report" reason for non-USB devices since we + * rarely have current information for network devices... + */ + + if (strncmp(job->printer->device_uri, "usb:", 4) && + strncmp(job->printer->device_uri, "ippusb:", 7)) + cupsdSetPrinterReasons(job->printer, "-offline-report"); + + /* + * Free the security profile... + */ + + cupsdDestroyProfile(job->profile); + job->profile = NULL; + cupsdDestroyProfile(job->bprofile); + job->bprofile = NULL; + + /* + * Clear the unresponsive job watchdog timers... + */ + + job->cancel_time = 0; + job->kill_time = 0; + + /* + * Close pipes and status buffer... + */ + + cupsdClosePipe(job->print_pipes); + cupsdClosePipe(job->back_pipes); + cupsdClosePipe(job->side_pipes); + + cupsdRemoveSelect(job->status_pipes[0]); + cupsdClosePipe(job->status_pipes); + cupsdStatBufDelete(job->status_buffer); + job->status_buffer = NULL; + + /* + * Log the final impression (page) count... + */ + + snprintf(buffer, sizeof(buffer), "total %d", ippGetInteger(job->impressions, 0)); + cupsdLogPage(job, buffer); + + /* + * Process the exit status... + */ + + if (job->printer->state == IPP_PRINTER_PROCESSING) + printer_state = IPP_PRINTER_IDLE; + else + printer_state = job->printer->state; + + switch (job_state = job->state_value) + { + case IPP_JOB_PENDING : + message = "Job paused."; + break; + + case IPP_JOB_HELD : + message = "Job held."; + break; + + default : + case IPP_JOB_PROCESSING : + case IPP_JOB_COMPLETED : + job_state = IPP_JOB_COMPLETED; + message = "Job completed."; + + if (!job->status) + ippSetString(job->attrs, &job->reasons, 0, + "job-completed-successfully"); + break; + + case IPP_JOB_STOPPED : + message = "Job stopped."; + + ippSetString(job->attrs, &job->reasons, 0, "job-stopped"); + break; + + case IPP_JOB_CANCELED : + message = "Job canceled."; + + ippSetString(job->attrs, &job->reasons, 0, "job-canceled-by-user"); + break; + + case IPP_JOB_ABORTED : + message = "Job aborted."; + break; + } + + if (job->status < 0) + { + /* + * Backend had errors... + */ + + int exit_code; /* Exit code from backend */ + + /* + * Convert the status to an exit code. Due to the way the W* macros are + * implemented on macOS (bug?), we have to store the exit status in a + * variable first and then convert... + */ + + exit_code = -job->status; + if (WIFEXITED(exit_code)) + exit_code = WEXITSTATUS(exit_code); + else + { + ippSetString(job->attrs, &job->reasons, 0, "cups-backend-crashed"); + exit_code = job->status; + } + + cupsdLogJob(job, CUPSD_LOG_INFO, "Backend returned status %d (%s)", + exit_code, + exit_code == CUPS_BACKEND_FAILED ? "failed" : + exit_code == CUPS_BACKEND_AUTH_REQUIRED ? + "authentication required" : + exit_code == CUPS_BACKEND_HOLD ? "hold job" : + exit_code == CUPS_BACKEND_STOP ? "stop printer" : + exit_code == CUPS_BACKEND_CANCEL ? "cancel job" : + exit_code == CUPS_BACKEND_RETRY ? "retry job later" : + exit_code == CUPS_BACKEND_RETRY_CURRENT ? "retry job immediately" : + exit_code < 0 ? "crashed" : "unknown"); + + /* + * Do what needs to be done... + */ + + switch (exit_code) + { + default : + case CUPS_BACKEND_FAILED : + /* + * Backend failure, use the error-policy to determine how to + * act... + */ + + if (job->dtype & CUPS_PRINTER_CLASS) + { + /* + * Queued on a class - mark the job as pending and we'll retry on + * another printer... + */ + + if (job_state == IPP_JOB_COMPLETED) + { + job_state = IPP_JOB_PENDING; + message = "Retrying job on another printer."; + + ippSetString(job->attrs, &job->reasons, 0, + "resources-are-not-ready"); + } + } + else if (!strcmp(job->printer->error_policy, "retry-current-job")) + { + /* + * The error policy is "retry-current-job" - mark the job as pending + * and we'll retry on the same printer... + */ + + if (job_state == IPP_JOB_COMPLETED) + { + job_state = IPP_JOB_PENDING; + message = "Retrying job on same printer."; + + ippSetString(job->attrs, &job->reasons, 0, "none"); + } + } + else if ((job->printer->type & CUPS_PRINTER_FAX) || + !strcmp(job->printer->error_policy, "retry-job")) + { + if (job_state == IPP_JOB_COMPLETED) + { + /* + * The job was queued on a fax or the error policy is "retry-job" - + * hold the job if the number of retries is less than the + * JobRetryLimit, otherwise abort the job. + */ + + job->tries ++; + + if (job->tries > JobRetryLimit && JobRetryLimit > 0) + { + /* + * Too many tries... + */ + + snprintf(buffer, sizeof(buffer), + "Job aborted after %d unsuccessful attempts.", + JobRetryLimit); + job_state = IPP_JOB_ABORTED; + message = buffer; + + ippSetString(job->attrs, &job->reasons, 0, "aborted-by-system"); + } + else + { + /* + * Try again in N seconds... + */ + + snprintf(buffer, sizeof(buffer), + "Job held for %d seconds since it could not be sent.", + JobRetryInterval); + + job->hold_until = time(NULL) + JobRetryInterval; + job_state = IPP_JOB_HELD; + message = buffer; + + ippSetString(job->attrs, &job->reasons, 0, + "resources-are-not-ready"); + } + } + } + else if (!strcmp(job->printer->error_policy, "abort-job") && + job_state == IPP_JOB_COMPLETED) + { + job_state = IPP_JOB_ABORTED; + + if (ErrorLog) + { + snprintf(buffer, sizeof(buffer), "Job aborted due to backend errors; please consult the %s file for details.", ErrorLog); + message = buffer; + } + else + message = "Job aborted due to backend errors."; + + ippSetString(job->attrs, &job->reasons, 0, "aborted-by-system"); + } + else if (job->state_value == IPP_JOB_PROCESSING) + { + job_state = IPP_JOB_PENDING; + printer_state = IPP_PRINTER_STOPPED; + + if (ErrorLog) + { + snprintf(buffer, sizeof(buffer), "Printer stopped due to backend errors; please consult the %s file for details.", ErrorLog); + message = buffer; + } + else + message = "Printer stopped due to backend errors."; + + ippSetString(job->attrs, &job->reasons, 0, "none"); + } + break; + + case CUPS_BACKEND_CANCEL : + /* + * Cancel the job... + */ + + if (job_state == IPP_JOB_COMPLETED) + { + job_state = IPP_JOB_CANCELED; + message = "Job canceled at printer."; + + ippSetString(job->attrs, &job->reasons, 0, "canceled-at-device"); + } + break; + + case CUPS_BACKEND_HOLD : + if (job_state == IPP_JOB_COMPLETED) + { + /* + * Hold the job... + */ + + const char *reason = ippGetString(job->reasons, 0, NULL); + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "job-state-reasons=\"%s\"", + reason); + + if (!reason || strncmp(reason, "account-", 8)) + { + cupsdSetJobHoldUntil(job, "indefinite", 1); + + ippSetString(job->attrs, &job->reasons, 0, + "job-hold-until-specified"); + + if (ErrorLog) + { + snprintf(buffer, sizeof(buffer), "Job held indefinitely due to backend errors; please consult the %s file for details.", ErrorLog); + message = buffer; + } + else + message = "Job held indefinitely due to backend errors."; + } + else if (!strcmp(reason, "account-info-needed")) + { + cupsdSetJobHoldUntil(job, "indefinite", 0); + + message = "Job held indefinitely - account information is required."; + } + else if (!strcmp(reason, "account-closed")) + { + cupsdSetJobHoldUntil(job, "indefinite", 0); + + message = "Job held indefinitely - account has been closed."; + } + else if (!strcmp(reason, "account-limit-reached")) + { + cupsdSetJobHoldUntil(job, "indefinite", 0); + + message = "Job held indefinitely - account limit has been reached."; + } + else + { + cupsdSetJobHoldUntil(job, "indefinite", 0); + + message = "Job held indefinitely - account authorization failed."; + } + + job_state = IPP_JOB_HELD; + } + break; + + case CUPS_BACKEND_STOP : + /* + * Stop the printer... + */ + + if (job_state == IPP_JSTATE_CANCELED || job_state == IPP_JSTATE_ABORTED) + { + cupsdLogJob(job, CUPSD_LOG_INFO, "Ignored STOP from backend since the job is %s.", job_state == IPP_JSTATE_CANCELED ? "canceled" : "aborted"); + break; + } + + printer_state = IPP_PRINTER_STOPPED; + + if (ErrorLog) + { + snprintf(buffer, sizeof(buffer), "Printer stopped due to backend errors; please consult the %s file for details.", ErrorLog); + message = buffer; + } + else + message = "Printer stopped due to backend errors."; + + if (job_state == IPP_JOB_COMPLETED) + { + job_state = IPP_JOB_PENDING; + + ippSetString(job->attrs, &job->reasons, 0, "resources-are-not-ready"); + } + break; + + case CUPS_BACKEND_AUTH_REQUIRED : + /* + * Hold the job for authentication... + */ + + if (job_state == IPP_JOB_COMPLETED) + { + cupsdSetJobHoldUntil(job, "auth-info-required", 1); + + job_state = IPP_JOB_HELD; + message = "Job held for authentication."; + + if (strncmp(job->reasons->values[0].string.text, "account-", 8)) + ippSetString(job->attrs, &job->reasons, 0, + "cups-held-for-authentication"); + } + break; + + case CUPS_BACKEND_RETRY : + if (job_state == IPP_JOB_COMPLETED) + { + /* + * Hold the job if the number of retries is less than the + * JobRetryLimit, otherwise abort the job. + */ + + job->tries ++; + + if (job->tries > JobRetryLimit && JobRetryLimit > 0) + { + /* + * Too many tries... + */ + + snprintf(buffer, sizeof(buffer), + "Job aborted after %d unsuccessful attempts.", + JobRetryLimit); + job_state = IPP_JOB_ABORTED; + message = buffer; + + ippSetString(job->attrs, &job->reasons, 0, "aborted-by-system"); + } + else + { + /* + * Try again in N seconds... + */ + + snprintf(buffer, sizeof(buffer), + "Job held for %d seconds since it could not be sent.", + JobRetryInterval); + + job->hold_until = time(NULL) + JobRetryInterval; + job_state = IPP_JOB_HELD; + message = buffer; + + ippSetString(job->attrs, &job->reasons, 0, + "resources-are-not-ready"); + } + } + break; + + case CUPS_BACKEND_RETRY_CURRENT : + /* + * Mark the job as pending and retry on the same printer... + */ + + if (job_state == IPP_JOB_COMPLETED) + { + job_state = IPP_JOB_PENDING; + message = "Retrying job on same printer."; + + ippSetString(job->attrs, &job->reasons, 0, "none"); + } + break; + } + } + else if (job->status > 0) + { + /* + * Filter had errors; stop job... + */ + + if (job_state == IPP_JOB_COMPLETED) + { + job_state = IPP_JOB_STOPPED; + + if (ErrorLog) + { + snprintf(buffer, sizeof(buffer), "Job stopped due to filter errors; please consult the %s file for details.", ErrorLog); + message = buffer; + } + else + message = "Job stopped due to filter errors."; + + if (WIFSIGNALED(job->status)) + ippSetString(job->attrs, &job->reasons, 0, "cups-filter-crashed"); + else + ippSetString(job->attrs, &job->reasons, 0, "job-completed-with-errors"); + } + } + + /* + * Update the printer and job state. + */ + + if (set_job_state && job_state != job->state_value) + cupsdSetJobState(job, job_state, CUPSD_JOB_DEFAULT, "%s", message); + + cupsdSetPrinterState(job->printer, printer_state, + printer_state == IPP_PRINTER_STOPPED); + update_job_attrs(job, 0); + + if (job->history) + { + if (job->status && + (job->state_value == IPP_JOB_ABORTED || + job->state_value == IPP_JOB_STOPPED)) + dump_job_history(job); + else + free_job_history(job); + } + + cupsArrayRemove(PrintingJobs, job); + + /* + * Clear informational messages... + */ + + if (job->status_level > CUPSD_LOG_ERROR) + job->printer->state_message[0] = '\0'; + + /* + * Apply any PPD updates... + */ + + if (job->num_keywords) + { + if (cupsdUpdatePrinterPPD(job->printer, job->num_keywords, job->keywords)) + cupsdSetPrinterAttrs(job->printer); + + cupsFreeOptions(job->num_keywords, job->keywords); + + job->num_keywords = 0; + job->keywords = NULL; + } + + /* + * Clear the printer <-> job association... + */ + + job->printer->job = NULL; + job->printer = NULL; +} + + +/* + * 'get_options()' - Get a string containing the job options. + */ + +static char * /* O - Options string */ +get_options(cupsd_job_t *job, /* I - Job */ + int banner_page, /* I - Printing a banner page? */ + char *copies, /* I - Copies buffer */ + size_t copies_size, /* I - Size of copies buffer */ + char *title, /* I - Title buffer */ + size_t title_size) /* I - Size of title buffer */ +{ + int i; /* Looping var */ + size_t newlength; /* New option buffer length */ + char *optptr, /* Pointer to options */ + *valptr; /* Pointer in value string */ + ipp_attribute_t *attr; /* Current attribute */ + _ppd_cache_t *pc; /* PPD cache and mapping data */ + int num_pwgppds; /* Number of PWG->PPD options */ + cups_option_t *pwgppds, /* PWG->PPD options */ + *pwgppd, /* Current PWG->PPD option */ + *preset; /* Current preset option */ + int print_color_mode, + /* Output mode (if any) */ + print_quality; /* Print quality (if any) */ + const char *ppd; /* PPD option choice */ + int exact; /* Did we get an exact match? */ + static char *options = NULL;/* Full list of options */ + static size_t optlength = 0; /* Length of option buffer */ + + + /* + * Building the options string is harder than it needs to be, but for the + * moment we need to pass strings for command-line args and not IPP attribute + * pointers... :) + * + * First build an options array for any PWG->PPD mapped option/choice pairs. + */ + + pc = job->printer->pc; + num_pwgppds = 0; + pwgppds = NULL; + + if (pc && + !ippFindAttribute(job->attrs, "com.apple.print.DocumentTicket.PMSpoolFormat", IPP_TAG_ZERO) && + !ippFindAttribute(job->attrs, "APPrinterPreset", IPP_TAG_ZERO) && + (ippFindAttribute(job->attrs, "print-color-mode", IPP_TAG_ZERO) || ippFindAttribute(job->attrs, "print-quality", IPP_TAG_ZERO) || ippFindAttribute(job->attrs, "cupsPrintQuality", IPP_TAG_ZERO))) + { + /* + * Map print-color-mode and print-quality to a preset... + */ + + if ((attr = ippFindAttribute(job->attrs, "print-color-mode", + IPP_TAG_KEYWORD)) != NULL && + !strcmp(attr->values[0].string.text, "monochrome")) + print_color_mode = _PWG_PRINT_COLOR_MODE_MONOCHROME; + else + print_color_mode = _PWG_PRINT_COLOR_MODE_COLOR; + + if ((attr = ippFindAttribute(job->attrs, "print-quality", IPP_TAG_ENUM)) != NULL) + { + ipp_quality_t pq = (ipp_quality_t)ippGetInteger(attr, 0); + + if (pq >= IPP_QUALITY_DRAFT && pq <= IPP_QUALITY_HIGH) + print_quality = attr->values[0].integer - IPP_QUALITY_DRAFT; + else + print_quality = _PWG_PRINT_QUALITY_NORMAL; + } + else if ((attr = ippFindAttribute(job->attrs, "cupsPrintQuality", IPP_TAG_NAME)) != NULL) + { + const char *pq = ippGetString(attr, 0, NULL); + + if (!_cups_strcasecmp(pq, "draft")) + print_quality = _PWG_PRINT_QUALITY_DRAFT; + else if (!_cups_strcasecmp(pq, "high")) + print_quality = _PWG_PRINT_QUALITY_HIGH; + else + print_quality = _PWG_PRINT_QUALITY_NORMAL; + + if (!ippFindAttribute(job->attrs, "print-quality", IPP_TAG_ENUM)) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "Mapping cupsPrintQuality=%s to print-quality=%d", pq, print_quality + IPP_QUALITY_DRAFT); + num_pwgppds = cupsAddIntegerOption("print-quality", print_quality + IPP_QUALITY_DRAFT, num_pwgppds, &pwgppds); + } + } + else + { + print_quality = _PWG_PRINT_QUALITY_NORMAL; + } + + if (pc->num_presets[print_color_mode][print_quality] == 0) + { + /* + * Try to find a preset that works so that we maximize the chances of us + * getting a good print using IPP attributes. + */ + + if (pc->num_presets[print_color_mode][_PWG_PRINT_QUALITY_NORMAL] > 0) + print_quality = _PWG_PRINT_QUALITY_NORMAL; + else if (pc->num_presets[_PWG_PRINT_COLOR_MODE_COLOR][print_quality] > 0) + print_color_mode = _PWG_PRINT_COLOR_MODE_COLOR; + else + { + print_quality = _PWG_PRINT_QUALITY_NORMAL; + print_color_mode = _PWG_PRINT_COLOR_MODE_COLOR; + } + } + + if (pc->num_presets[print_color_mode][print_quality] > 0) + { + /* + * Copy the preset options as long as the corresponding names are not + * already defined in the IPP request... + */ + + for (i = pc->num_presets[print_color_mode][print_quality], + preset = pc->presets[print_color_mode][print_quality]; + i > 0; + i --, preset ++) + { + if (!ippFindAttribute(job->attrs, preset->name, IPP_TAG_ZERO)) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "Adding preset option %s=%s", preset->name, preset->value); + + num_pwgppds = cupsAddOption(preset->name, preset->value, num_pwgppds, &pwgppds); + } + } + } + } + + if (pc) + { + if ((attr = ippFindAttribute(job->attrs, "print-quality", IPP_TAG_ENUM)) != NULL) + { + int pq = ippGetInteger(attr, 0); + static const char * const pqs[] = { "Draft", "Normal", "High" }; + + if (pq >= IPP_QUALITY_DRAFT && pq <= IPP_QUALITY_HIGH) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "Mapping print-quality=%d to cupsPrintQuality=%s", pq, pqs[pq - IPP_QUALITY_DRAFT]); + + num_pwgppds = cupsAddOption("cupsPrintQuality", pqs[pq - IPP_QUALITY_DRAFT], num_pwgppds, &pwgppds); + } + } + + if (!ippFindAttribute(job->attrs, "InputSlot", IPP_TAG_ZERO) && + !ippFindAttribute(job->attrs, "HPPaperSource", IPP_TAG_ZERO)) + { + if ((ppd = _ppdCacheGetInputSlot(pc, job->attrs, NULL)) != NULL) + num_pwgppds = cupsAddOption(pc->source_option, ppd, num_pwgppds, + &pwgppds); + } + if (!ippFindAttribute(job->attrs, "MediaType", IPP_TAG_ZERO) && + (ppd = _ppdCacheGetMediaType(pc, job->attrs, NULL)) != NULL) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "Mapping media to MediaType=%s", ppd); + + num_pwgppds = cupsAddOption("MediaType", ppd, num_pwgppds, &pwgppds); + } + + if (!ippFindAttribute(job->attrs, "PageRegion", IPP_TAG_ZERO) && + !ippFindAttribute(job->attrs, "PageSize", IPP_TAG_ZERO) && + (ppd = _ppdCacheGetPageSize(pc, job->attrs, NULL, &exact)) != NULL) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "Mapping media to Pagesize=%s", ppd); + + num_pwgppds = cupsAddOption("PageSize", ppd, num_pwgppds, &pwgppds); + + if (!ippFindAttribute(job->attrs, "media", IPP_TAG_ZERO)) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "Adding media=%s", ppd); + + num_pwgppds = cupsAddOption("media", ppd, num_pwgppds, &pwgppds); + } + } + + if (!ippFindAttribute(job->attrs, "OutputBin", IPP_TAG_ZERO) && + (attr = ippFindAttribute(job->attrs, "output-bin", + IPP_TAG_ZERO)) != NULL && + (attr->value_tag == IPP_TAG_KEYWORD || + attr->value_tag == IPP_TAG_NAME) && + (ppd = _ppdCacheGetOutputBin(pc, attr->values[0].string.text)) != NULL) + { + /* + * Map output-bin to OutputBin option... + */ + + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "Mapping output-bin to OutputBin=%s", ppd); + + num_pwgppds = cupsAddOption("OutputBin", ppd, num_pwgppds, &pwgppds); + } + + if (pc->sides_option && + !ippFindAttribute(job->attrs, pc->sides_option, IPP_TAG_ZERO) && + (attr = ippFindAttribute(job->attrs, "sides", IPP_TAG_KEYWORD)) != NULL) + { + /* + * Map sides to duplex option... + */ + + if (!strcmp(attr->values[0].string.text, "one-sided")) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "Mapping sizes to Duplex=%s", pc->sides_1sided); + + num_pwgppds = cupsAddOption(pc->sides_option, pc->sides_1sided, num_pwgppds, &pwgppds); + } + else if (!strcmp(attr->values[0].string.text, "two-sided-long-edge")) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "Mapping sizes to Duplex=%s", pc->sides_2sided_long); + + num_pwgppds = cupsAddOption(pc->sides_option, pc->sides_2sided_long, num_pwgppds, &pwgppds); + } + else if (!strcmp(attr->values[0].string.text, "two-sided-short-edge")) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "Mapping sizes to Duplex=%s", pc->sides_2sided_short); + + num_pwgppds = cupsAddOption(pc->sides_option, pc->sides_2sided_short, num_pwgppds, &pwgppds); + } + } + + /* + * Map finishings values... + */ + + num_pwgppds = _ppdCacheGetFinishingOptions(pc, job->attrs, IPP_FINISHINGS_NONE, num_pwgppds, &pwgppds); + + for (i = num_pwgppds, pwgppd = pwgppds; i > 0; i --, pwgppd ++) + cupsdLogJob(job, CUPSD_LOG_DEBUG2, "After mapping finishings %s=%s", pwgppd->name, pwgppd->value); + } + + /* + * Map page-delivery values... + */ + + if ((attr = ippFindAttribute(job->attrs, "page-delivery", IPP_TAG_KEYWORD)) != NULL && !ippFindAttribute(job->attrs, "outputorder", IPP_TAG_ZERO)) + { + const char *page_delivery = ippGetString(attr, 0, NULL); + + if (!strncmp(page_delivery, "same-order", 10)) + num_pwgppds = cupsAddOption("OutputOrder", "Normal", num_pwgppds, &pwgppds); + else if (!strncmp(page_delivery, "reverse-order", 13)) + num_pwgppds = cupsAddOption("OutputOrder", "Reverse", num_pwgppds, &pwgppds); + } + + /* + * Figure out how much room we need... + */ + + newlength = ipp_length(job->attrs); + + for (i = num_pwgppds, pwgppd = pwgppds; i > 0; i --, pwgppd ++) + newlength += 1 + strlen(pwgppd->name) + 1 + strlen(pwgppd->value); + + /* + * Then allocate/reallocate the option buffer as needed... + */ + + if (newlength == 0) /* This can never happen, but Clang */ + newlength = 1; /* thinks it can... */ + + if (newlength > optlength || !options) + { + if (!options) + optptr = malloc(newlength); + else + optptr = realloc(options, newlength); + + if (!optptr) + { + cupsdLogJob(job, CUPSD_LOG_CRIT, + "Unable to allocate " CUPS_LLFMT " bytes for option buffer.", + CUPS_LLCAST newlength); + return (NULL); + } + + options = optptr; + optlength = newlength; + } + + /* + * Now loop through the attributes and convert them to the textual + * representation used by the filters... + */ + + optptr = options; + *optptr = '\0'; + + snprintf(title, title_size, "%s-%d", job->printer->name, job->id); + strlcpy(copies, "1", copies_size); + + for (attr = job->attrs->attrs; attr != NULL; attr = attr->next) + { + if (!strcmp(attr->name, "copies") && + attr->value_tag == IPP_TAG_INTEGER) + { + /* + * Don't use the # copies attribute if we are printing the job sheets... + */ + + if (!banner_page) + snprintf(copies, copies_size, "%d", attr->values[0].integer); + } + else if (!strcmp(attr->name, "job-name") && + (attr->value_tag == IPP_TAG_NAME || + attr->value_tag == IPP_TAG_NAMELANG)) + strlcpy(title, attr->values[0].string.text, title_size); + else if (attr->group_tag == IPP_TAG_JOB) + { + /* + * Filter out other unwanted attributes... + */ + + if (attr->value_tag == IPP_TAG_NOVALUE || + attr->value_tag == IPP_TAG_MIMETYPE || + attr->value_tag == IPP_TAG_NAMELANG || + attr->value_tag == IPP_TAG_TEXTLANG || + (attr->value_tag == IPP_TAG_URI && strcmp(attr->name, "job-uuid") && + strcmp(attr->name, "job-authorization-uri")) || + attr->value_tag == IPP_TAG_URISCHEME || + attr->value_tag == IPP_TAG_BEGIN_COLLECTION) /* Not yet supported */ + continue; + + if (!strcmp(attr->name, "job-hold-until") || + !strcmp(attr->name, "job-id") || + !strcmp(attr->name, "job-k-octets") || + !strcmp(attr->name, "job-media-sheets") || + !strcmp(attr->name, "job-media-sheets-completed") || + !strcmp(attr->name, "job-state") || + !strcmp(attr->name, "job-state-reasons")) + continue; + + if (!strncmp(attr->name, "job-", 4) && + strcmp(attr->name, "job-account-id") && + strcmp(attr->name, "job-accounting-user-id") && + strcmp(attr->name, "job-authorization-uri") && + strcmp(attr->name, "job-billing") && + strcmp(attr->name, "job-impressions") && + strcmp(attr->name, "job-originating-host-name") && + strcmp(attr->name, "job-password") && + strcmp(attr->name, "job-password-encryption") && + strcmp(attr->name, "job-uuid") && + !(job->printer->type & CUPS_PRINTER_REMOTE)) + continue; + + if ((!strcmp(attr->name, "job-impressions") || + !strcmp(attr->name, "page-label") || + !strcmp(attr->name, "page-border") || + !strncmp(attr->name, "number-up", 9) || + !strcmp(attr->name, "page-ranges") || + !strcmp(attr->name, "page-set") || + !_cups_strcasecmp(attr->name, "AP_FIRSTPAGE_InputSlot") || + !_cups_strcasecmp(attr->name, "AP_FIRSTPAGE_ManualFeed") || + !_cups_strcasecmp(attr->name, "com.apple.print.PrintSettings." + "PMTotalSidesImaged..n.") || + !_cups_strcasecmp(attr->name, "com.apple.print.PrintSettings." + "PMTotalBeginPages..n.")) && + banner_page) + continue; + + /* + * Otherwise add them to the list... + */ + + if (optptr > options) + strlcat(optptr, " ", optlength - (size_t)(optptr - options)); + + if (attr->value_tag != IPP_TAG_BOOLEAN) + { + strlcat(optptr, attr->name, optlength - (size_t)(optptr - options)); + strlcat(optptr, "=", optlength - (size_t)(optptr - options)); + } + + for (i = 0; i < attr->num_values; i ++) + { + if (i) + strlcat(optptr, ",", optlength - (size_t)(optptr - options)); + + optptr += strlen(optptr); + + switch (attr->value_tag) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + snprintf(optptr, optlength - (size_t)(optptr - options), + "%d", attr->values[i].integer); + break; + + case IPP_TAG_BOOLEAN : + if (!attr->values[i].boolean) + strlcat(optptr, "no", optlength - (size_t)(optptr - options)); + + strlcat(optptr, attr->name, optlength - (size_t)(optptr - options)); + break; + + case IPP_TAG_RANGE : + if (attr->values[i].range.lower == attr->values[i].range.upper) + snprintf(optptr, optlength - (size_t)(optptr - options) - 1, + "%d", attr->values[i].range.lower); + else + snprintf(optptr, optlength - (size_t)(optptr - options) - 1, + "%d-%d", attr->values[i].range.lower, + attr->values[i].range.upper); + break; + + case IPP_TAG_RESOLUTION : + snprintf(optptr, optlength - (size_t)(optptr - options) - 1, + "%dx%d%s", attr->values[i].resolution.xres, + attr->values[i].resolution.yres, + attr->values[i].resolution.units == IPP_RES_PER_INCH ? + "dpi" : "dpcm"); + break; + + case IPP_TAG_STRING : + { + int length = attr->values[i].unknown.length; + + for (valptr = attr->values[i].unknown.data; length > 0; length --) + { + if ((*valptr & 255) < 0x20 || *valptr == 0x7f) + break; + } + + if (length > 0) + { + /* + * Encode this string as hex characters... + */ + + *optptr++ = '<'; + + for (valptr = attr->values[i].unknown.data, length = attr->values[i].unknown.length; length > 0; length --) + { + snprintf(optptr, optlength - (size_t)(optptr - options) - 1, "%02X", *valptr & 255); + optptr += 2; + } + + *optptr++ = '>'; + } + else + { + for (valptr = attr->values[i].unknown.data, length = attr->values[i].unknown.length; length > 0; length --) + { + if (strchr(" \t\n\\\'\"", *valptr)) + *optptr++ = '\\'; + *optptr++ = *valptr++; + } + } + } + + *optptr = '\0'; + break; + + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_URI : + for (valptr = attr->values[i].string.text; *valptr;) + { + if (strchr(" \t\n\\\'\"", *valptr)) + *optptr++ = '\\'; + *optptr++ = *valptr++; + } + + *optptr = '\0'; + break; + + default : + break; /* anti-compiler-warning-code */ + } + } + + optptr += strlen(optptr); + } + } + + /* + * Finally loop through the PWG->PPD mapped options and add them... + */ + + for (i = num_pwgppds, pwgppd = pwgppds; i > 0; i --, pwgppd ++) + { + *optptr++ = ' '; + strlcpy(optptr, pwgppd->name, optlength - (size_t)(optptr - options)); + optptr += strlen(optptr); + *optptr++ = '='; + strlcpy(optptr, pwgppd->value, optlength - (size_t)(optptr - options)); + optptr += strlen(optptr); + } + + cupsFreeOptions(num_pwgppds, pwgppds); + + /* + * Return the options string... + */ + + return (options); +} + + +/* + * 'ipp_length()' - Compute the size of the buffer needed to hold + * the textual IPP attributes. + */ + +static size_t /* O - Size of attribute buffer */ +ipp_length(ipp_t *ipp) /* I - IPP request */ +{ + size_t bytes; /* Number of bytes */ + int i; /* Looping var */ + ipp_attribute_t *attr; /* Current attribute */ + + + /* + * Loop through all attributes... + */ + + bytes = 0; + + for (attr = ipp->attrs; attr != NULL; attr = attr->next) + { + /* + * Skip attributes that won't be sent to filters... + */ + + if (attr->value_tag == IPP_TAG_NOVALUE || + attr->value_tag == IPP_TAG_MIMETYPE || + attr->value_tag == IPP_TAG_NAMELANG || + attr->value_tag == IPP_TAG_TEXTLANG || + attr->value_tag == IPP_TAG_URI || + attr->value_tag == IPP_TAG_URISCHEME) + continue; + + /* + * Add space for a leading space and commas between each value. + * For the first attribute, the leading space isn't used, so the + * extra byte can be used as the nul terminator... + */ + + bytes ++; /* " " separator */ + bytes += (size_t)attr->num_values; /* "," separators */ + + /* + * Boolean attributes appear as "foo,nofoo,foo,nofoo", while + * other attributes appear as "foo=value1,value2,...,valueN". + */ + + if (attr->value_tag != IPP_TAG_BOOLEAN) + bytes += strlen(attr->name); + else + bytes += (size_t)attr->num_values * strlen(attr->name); + + /* + * Now add the size required for each value in the attribute... + */ + + switch (attr->value_tag) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + /* + * Minimum value of a signed integer is -2147483647, or 11 digits. + */ + + bytes += (size_t)attr->num_values * 11; + break; + + case IPP_TAG_BOOLEAN : + /* + * Add two bytes for each false ("no") value... + */ + + for (i = 0; i < attr->num_values; i ++) + if (!attr->values[i].boolean) + bytes += 2; + break; + + case IPP_TAG_RANGE : + /* + * A range is two signed integers separated by a hyphen, or + * 23 characters max. + */ + + bytes += (size_t)attr->num_values * 23; + break; + + case IPP_TAG_RESOLUTION : + /* + * A resolution is two signed integers separated by an "x" and + * suffixed by the units, or 26 characters max. + */ + + bytes += (size_t)attr->num_values * 26; + break; + + case IPP_TAG_STRING : + /* + * Octet strings can contain characters that need quoting. We need + * at least 2 * len + 2 characters to cover the quotes and any + * backslashes in the string. + */ + + for (i = 0; i < attr->num_values; i ++) + bytes += 2 * (size_t)attr->values[i].unknown.length + 2; + break; + + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_URI : + /* + * Strings can contain characters that need quoting. We need + * at least 2 * len + 2 characters to cover the quotes and + * any backslashes in the string. + */ + + for (i = 0; i < attr->num_values; i ++) + bytes += 2 * strlen(attr->values[i].string.text) + 2; + break; + + default : + break; /* anti-compiler-warning-code */ + } + } + + return (bytes); +} + + +/* + * 'load_job_cache()' - Load jobs from the job.cache file. + */ + +static void +load_job_cache(const char *filename) /* I - job.cache filename */ +{ + cups_file_t *fp; /* job.cache file */ + char line[1024], /* Line buffer */ + *value; /* Value on line */ + int linenum; /* Line number in file */ + cupsd_job_t *job; /* Current job */ + int jobid; /* Job ID */ + char jobfile[1024]; /* Job filename */ + + + /* + * Open the job.cache file... + */ + + if ((fp = cupsdOpenConfFile(filename)) == NULL) + { + load_request_root(); + return; + } + + /* + * Read entries from the job cache file and create jobs as needed. + */ + + cupsdLogMessage(CUPSD_LOG_INFO, "Loading job cache file \"%s\"...", + filename); + + linenum = 0; + job = NULL; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + if (!_cups_strcasecmp(line, "NextJobId")) + { + if (value) + NextJobId = atoi(value); + } + else if (!_cups_strcasecmp(line, " directive on line %d of %s.", linenum, filename); + continue; + } + + if (!value) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Missing job ID on line %d of %s.", linenum, filename); + continue; + } + + jobid = atoi(value); + + if (jobid < 1) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Bad job ID %d on line %d of %s.", jobid, linenum, filename); + continue; + } + + snprintf(jobfile, sizeof(jobfile), "%s/c%05d", RequestRoot, jobid); + if (access(jobfile, 0)) + { + snprintf(jobfile, sizeof(jobfile), "%s/c%05d.N", RequestRoot, jobid); + if (access(jobfile, 0)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "[Job %d] Files have gone away.", + jobid); + + /* + * job.cache file is out-of-date compared to spool directory; load + * that instead... + */ + + cupsFileClose(fp); + load_request_root(); + return; + } + } + + job = calloc(1, sizeof(cupsd_job_t)); + if (!job) + { + cupsdLogMessage(CUPSD_LOG_EMERG, + "[Job %d] Unable to allocate memory for job.", jobid); + break; + } + + job->id = jobid; + job->back_pipes[0] = -1; + job->back_pipes[1] = -1; + job->print_pipes[0] = -1; + job->print_pipes[1] = -1; + job->side_pipes[0] = -1; + job->side_pipes[1] = -1; + job->status_pipes[0] = -1; + job->status_pipes[1] = -1; + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Loading from cache..."); + } + else if (!job) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Missing directive on line %d of %s.", linenum, filename); + continue; + } + else if (!_cups_strcasecmp(line, "")) + { + cupsArrayAdd(Jobs, job); + + if (job->state_value <= IPP_JOB_STOPPED && cupsdLoadJob(job)) + cupsArrayAdd(ActiveJobs, job); + else if (job->state_value > IPP_JOB_STOPPED) + { + if (!job->completed_time || !job->creation_time || !job->name || !job->koctets) + { + cupsdLoadJob(job); + unload_job(job); + } + } + + job = NULL; + } + else if (!value) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Missing value on line %d of %s.", linenum, filename); + continue; + } + else if (!_cups_strcasecmp(line, "State")) + { + job->state_value = (ipp_jstate_t)atoi(value); + + if (job->state_value < IPP_JOB_PENDING) + job->state_value = IPP_JOB_PENDING; + else if (job->state_value > IPP_JOB_COMPLETED) + job->state_value = IPP_JOB_COMPLETED; + } + else if (!_cups_strcasecmp(line, "Name")) + { + cupsdSetString(&(job->name), value); + } + else if (!_cups_strcasecmp(line, "Created")) + { + job->creation_time = strtol(value, NULL, 10); + } + else if (!_cups_strcasecmp(line, "Completed")) + { + job->completed_time = strtol(value, NULL, 10); + } + else if (!_cups_strcasecmp(line, "HoldUntil")) + { + job->hold_until = strtol(value, NULL, 10); + } + else if (!_cups_strcasecmp(line, "Priority")) + { + job->priority = atoi(value); + } + else if (!_cups_strcasecmp(line, "Username")) + { + cupsdSetString(&job->username, value); + } + else if (!_cups_strcasecmp(line, "Destination")) + { + cupsdSetString(&job->dest, value); + } + else if (!_cups_strcasecmp(line, "DestType")) + { + job->dtype = (cups_ptype_t)atoi(value); + } + else if (!_cups_strcasecmp(line, "KOctets")) + { + job->koctets = atoi(value); + } + else if (!_cups_strcasecmp(line, "NumFiles")) + { + job->num_files = atoi(value); + + if (job->num_files < 0) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Bad NumFiles value %d on line %d of %s.", job->num_files, linenum, filename); + job->num_files = 0; + continue; + } + + if (job->num_files > 0) + { + snprintf(jobfile, sizeof(jobfile), "%s/d%05d-001", RequestRoot, + job->id); + if (access(jobfile, 0)) + { + cupsdLogJob(job, CUPSD_LOG_INFO, "Data files have gone away."); + job->num_files = 0; + continue; + } + + job->filetypes = calloc((size_t)job->num_files, sizeof(mime_type_t *)); + job->compressions = calloc((size_t)job->num_files, sizeof(int)); + + if (!job->filetypes || !job->compressions) + { + cupsdLogJob(job, CUPSD_LOG_EMERG, + "Unable to allocate memory for %d files.", + job->num_files); + break; + } + } + } + else if (!_cups_strcasecmp(line, "File")) + { + int number, /* File number */ + compression; /* Compression value */ + char super[MIME_MAX_SUPER], /* MIME super type */ + type[MIME_MAX_TYPE]; /* MIME type */ + + + if (sscanf(value, "%d%*[ \t]%15[^/]/%255s%d", &number, super, type, + &compression) != 4) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Bad File on line %d of %s.", linenum, filename); + continue; + } + + if (number < 1 || number > job->num_files) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Bad File number %d on line %d of %s.", number, linenum, filename); + continue; + } + + number --; + + job->compressions[number] = compression; + job->filetypes[number] = mimeType(MimeDatabase, super, type); + + if (!job->filetypes[number]) + { + /* + * If the original MIME type is unknown, auto-type it! + */ + + cupsdLogJob(job, CUPSD_LOG_ERROR, + "Unknown MIME type %s/%s for file %d.", + super, type, number + 1); + + snprintf(jobfile, sizeof(jobfile), "%s/d%05d-%03d", RequestRoot, + job->id, number + 1); + job->filetypes[number] = mimeFileType(MimeDatabase, jobfile, NULL, + job->compressions + number); + + /* + * If that didn't work, assume it is raw... + */ + + if (!job->filetypes[number]) + job->filetypes[number] = mimeType(MimeDatabase, "application", + "vnd.cups-raw"); + } + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, "Unknown %s directive on line %d of %s.", line, linenum, filename); + } + + if (job) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Missing directive on line %d of %s.", linenum, filename); + cupsdDeleteJob(job, CUPSD_JOB_PURGE); + } + + cupsFileClose(fp); +} + + +/* + * 'load_next_job_id()' - Load the NextJobId value from the job.cache file. + */ + +static void +load_next_job_id(const char *filename) /* I - job.cache filename */ +{ + cups_file_t *fp; /* job.cache file */ + char line[1024], /* Line buffer */ + *value; /* Value on line */ + int linenum; /* Line number in file */ + int next_job_id; /* NextJobId value from line */ + + + /* + * Read the NextJobId directive from the job.cache file and use + * the value (if any). + */ + + if ((fp = cupsFileOpen(filename, "r")) == NULL) + { + if (errno != ENOENT) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to open job cache file \"%s\": %s", + filename, strerror(errno)); + + return; + } + + cupsdLogMessage(CUPSD_LOG_INFO, + "Loading NextJobId from job cache file \"%s\"...", filename); + + linenum = 0; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + if (!_cups_strcasecmp(line, "NextJobId")) + { + if (value) + { + next_job_id = atoi(value); + + if (next_job_id > NextJobId) + NextJobId = next_job_id; + } + break; + } + } + + cupsFileClose(fp); +} + + +/* + * 'load_request_root()' - Load jobs from the RequestRoot directory. + */ + +static void +load_request_root(void) +{ + cups_dir_t *dir; /* Directory */ + cups_dentry_t *dent; /* Directory entry */ + cupsd_job_t *job; /* New job */ + + + /* + * Open the requests directory... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Scanning %s for jobs...", RequestRoot); + + if ((dir = cupsDirOpen(RequestRoot)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to open spool directory \"%s\": %s", + RequestRoot, strerror(errno)); + return; + } + + /* + * Read all the c##### files... + */ + + while ((dent = cupsDirRead(dir)) != NULL) + if (strlen(dent->filename) >= 6 && dent->filename[0] == 'c') + { + /* + * Allocate memory for the job... + */ + + if ((job = calloc(sizeof(cupsd_job_t), 1)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Ran out of memory for jobs."); + cupsDirClose(dir); + return; + } + + /* + * Assign the job ID... + */ + + job->id = atoi(dent->filename + 1); + job->back_pipes[0] = -1; + job->back_pipes[1] = -1; + job->print_pipes[0] = -1; + job->print_pipes[1] = -1; + job->side_pipes[0] = -1; + job->side_pipes[1] = -1; + job->status_pipes[0] = -1; + job->status_pipes[1] = -1; + + if (job->id >= NextJobId) + NextJobId = job->id + 1; + + /* + * Load the job... + */ + + if (cupsdLoadJob(job)) + { + /* + * Insert the job into the array, sorting by job priority and ID... + */ + + cupsArrayAdd(Jobs, job); + + if (job->state_value <= IPP_JOB_STOPPED) + cupsArrayAdd(ActiveJobs, job); + else + unload_job(job); + } + else + free(job); + } + + cupsDirClose(dir); +} + + +/* + * 'remove_job_files()' - Remove the document files for a job. + */ + +static void +remove_job_files(cupsd_job_t *job) /* I - Job */ +{ + int i; /* Looping var */ + char filename[1024]; /* Document filename */ + + + if (job->num_files <= 0) + return; + + for (i = 1; i <= job->num_files; i ++) + { + snprintf(filename, sizeof(filename), "%s/d%05d-%03d", RequestRoot, + job->id, i); + cupsdUnlinkOrRemoveFile(filename); + } + + free(job->filetypes); + free(job->compressions); + + job->file_time = 0; + job->num_files = 0; + job->filetypes = NULL; + job->compressions = NULL; + + LastEvent |= CUPSD_EVENT_PRINTER_STATE_CHANGED; +} + + +/* + * 'remove_job_history()' - Remove the control file for a job. + */ + +static void +remove_job_history(cupsd_job_t *job) /* I - Job */ +{ + char filename[1024]; /* Control filename */ + + + /* + * Remove the job info file... + */ + + snprintf(filename, sizeof(filename), "%s/c%05d", RequestRoot, + job->id); + cupsdUnlinkOrRemoveFile(filename); + + LastEvent |= CUPSD_EVENT_PRINTER_STATE_CHANGED; +} + + +/* + * 'set_time()' - Set one of the "time-at-xyz" attributes. + */ + +static void +set_time(cupsd_job_t *job, /* I - Job to update */ + const char *name) /* I - Name of attribute */ +{ + char date_name[128]; /* date-time-at-xxx */ + ipp_attribute_t *attr; /* Time attribute */ + time_t curtime; /* Current time */ + + + curtime = time(NULL); + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "%s=%ld", name, (long)curtime); + + if ((attr = ippFindAttribute(job->attrs, name, IPP_TAG_ZERO)) != NULL) + { + attr->value_tag = IPP_TAG_INTEGER; + attr->values[0].integer = curtime; + } + + snprintf(date_name, sizeof(date_name), "date-%s", name); + + if ((attr = ippFindAttribute(job->attrs, date_name, IPP_TAG_ZERO)) != NULL) + { + attr->value_tag = IPP_TAG_DATE; + ippSetDate(job->attrs, &attr, 0, ippTimeToDate(curtime)); + } + + if (!strcmp(name, "time-at-completed")) + { + job->completed_time = curtime; + + if (JobHistory < INT_MAX && attr) + job->history_time = job->completed_time + JobHistory; + else + job->history_time = INT_MAX; + + if (job->history_time < JobHistoryUpdate || !JobHistoryUpdate) + JobHistoryUpdate = job->history_time; + + if (JobFiles < INT_MAX && attr) + job->file_time = job->completed_time + JobFiles; + else + job->file_time = INT_MAX; + + if (job->file_time < JobHistoryUpdate || !JobHistoryUpdate) + JobHistoryUpdate = job->file_time; + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "set_time: JobHistoryUpdate=%ld", + (long)JobHistoryUpdate); + } +} + + +/* + * 'start_job()' - Start a print job. + */ + +static void +start_job(cupsd_job_t *job, /* I - Job ID */ + cupsd_printer_t *printer) /* I - Printer to print job */ +{ + const char *filename; /* Support filename */ + ipp_attribute_t *cancel_after = ippFindAttribute(job->attrs, + "job-cancel-after", + IPP_TAG_INTEGER); + /* job-cancel-after attribute */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "start_job(job=%p(%d), printer=%p(%s))", + job, job->id, printer, printer->name); + + /* + * Make sure we have some files around before we try to print... + */ + + if (job->num_files == 0) + { + ippSetString(job->attrs, &job->reasons, 0, "aborted-by-system"); + cupsdSetJobState(job, IPP_JOB_ABORTED, CUPSD_JOB_DEFAULT, + "Aborting job because it has no files."); + return; + } + + /* + * Update the printer and job state to "processing"... + */ + + if (!cupsdLoadJob(job)) + return; + + if (!job->printer_message) + job->printer_message = ippFindAttribute(job->attrs, + "job-printer-state-message", + IPP_TAG_TEXT); + if (job->printer_message) + ippSetString(job->attrs, &job->printer_message, 0, ""); + + ippSetString(job->attrs, &job->reasons, 0, "job-printing"); + cupsdSetJobState(job, IPP_JOB_PROCESSING, CUPSD_JOB_DEFAULT, NULL); + cupsdSetPrinterState(printer, IPP_PRINTER_PROCESSING, 0); + cupsdSetPrinterReasons(printer, "-cups-remote-pending," + "cups-remote-pending-held," + "cups-remote-processing," + "cups-remote-stopped," + "cups-remote-canceled," + "cups-remote-aborted," + "cups-remote-completed"); + + job->cost = 0; + job->current_file = 0; + job->file_time = 0; + job->history_time = 0; + job->progress = 0; + job->printer = printer; + printer->job = job; + + if (cancel_after) + job->cancel_time = time(NULL) + ippGetInteger(cancel_after, 0); + else if (MaxJobTime > 0) + job->cancel_time = time(NULL) + MaxJobTime; + else + job->cancel_time = 0; + + /* + * Check for support files... + */ + + cupsdSetPrinterReasons(job->printer, "-cups-missing-filter-warning," + "cups-insecure-filter-warning"); + + if (printer->pc) + { + for (filename = (const char *)cupsArrayFirst(printer->pc->support_files); + filename; + filename = (const char *)cupsArrayNext(printer->pc->support_files)) + { + if (_cupsFileCheck(filename, _CUPS_FILE_CHECK_FILE, !RunUser, + cupsdLogFCMessage, printer)) + break; + } + } + + /* + * Setup the last exit status and security profiles... + */ + + job->status = 0; + job->profile = cupsdCreateProfile(job->id, 0); + job->bprofile = cupsdCreateProfile(job->id, 1); + +#ifdef HAVE_SANDBOX_H + if ((!job->profile || !job->bprofile) && UseSandboxing && Sandboxing != CUPSD_SANDBOXING_OFF) + { + /* + * Failure to create the sandbox profile means something really bad has + * happened and we need to shutdown immediately. + */ + + return; + } +#endif /* HAVE_SANDBOX_H */ + + /* + * Create the status pipes and buffer... + */ + + if (cupsdOpenPipe(job->status_pipes)) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "Unable to create job status pipes - %s.", strerror(errno)); + + cupsdSetJobState(job, IPP_JOB_STOPPED, CUPSD_JOB_DEFAULT, + "Job stopped because the scheduler could not create the " + "job status pipes."); + + cupsdDestroyProfile(job->profile); + job->profile = NULL; + cupsdDestroyProfile(job->bprofile); + job->bprofile = NULL; + return; + } + + job->status_buffer = cupsdStatBufNew(job->status_pipes[0], NULL); + job->status_level = CUPSD_LOG_INFO; + + /* + * Create the backchannel pipes and make them non-blocking... + */ + + if (cupsdOpenPipe(job->back_pipes)) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "Unable to create back-channel pipes - %s.", strerror(errno)); + + cupsdSetJobState(job, IPP_JOB_STOPPED, CUPSD_JOB_DEFAULT, + "Job stopped because the scheduler could not create the " + "back-channel pipes."); + + cupsdClosePipe(job->status_pipes); + cupsdStatBufDelete(job->status_buffer); + job->status_buffer = NULL; + + cupsdDestroyProfile(job->profile); + job->profile = NULL; + cupsdDestroyProfile(job->bprofile); + job->bprofile = NULL; + return; + } + + fcntl(job->back_pipes[0], F_SETFL, + fcntl(job->back_pipes[0], F_GETFL) | O_NONBLOCK); + fcntl(job->back_pipes[1], F_SETFL, + fcntl(job->back_pipes[1], F_GETFL) | O_NONBLOCK); + + /* + * Create the side-channel pipes and make them non-blocking... + */ + + if (socketpair(AF_LOCAL, SOCK_STREAM, 0, job->side_pipes)) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "Unable to create side-channel pipes - %s.", strerror(errno)); + + cupsdSetJobState(job, IPP_JOB_STOPPED, CUPSD_JOB_DEFAULT, + "Job stopped because the scheduler could not create the " + "side-channel pipes."); + + cupsdClosePipe(job->back_pipes); + + cupsdClosePipe(job->status_pipes); + cupsdStatBufDelete(job->status_buffer); + job->status_buffer = NULL; + + cupsdDestroyProfile(job->profile); + job->profile = NULL; + cupsdDestroyProfile(job->bprofile); + job->bprofile = NULL; + return; + } + + fcntl(job->side_pipes[0], F_SETFL, + fcntl(job->side_pipes[0], F_GETFL) | O_NONBLOCK); + fcntl(job->side_pipes[1], F_SETFL, + fcntl(job->side_pipes[1], F_GETFL) | O_NONBLOCK); + + fcntl(job->side_pipes[0], F_SETFD, + fcntl(job->side_pipes[0], F_GETFD) | FD_CLOEXEC); + fcntl(job->side_pipes[1], F_SETFD, + fcntl(job->side_pipes[1], F_GETFD) | FD_CLOEXEC); + + /* + * Now start the first file in the job... + */ + + cupsdContinueJob(job); +} + + +/* + * 'stop_job()' - Stop a print job. + */ + +static void +stop_job(cupsd_job_t *job, /* I - Job */ + cupsd_jobaction_t action) /* I - Action */ +{ + int i; /* Looping var */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "stop_job(job=%p(%d), action=%d)", job, + job->id, action); + + FilterLevel -= job->cost; + job->cost = 0; + + if (action == CUPSD_JOB_DEFAULT && !job->kill_time && job->backend > 0) + job->kill_time = time(NULL) + JobKillDelay; + else if (action >= CUPSD_JOB_FORCE) + job->kill_time = 0; + + for (i = 0; job->filters[i]; i ++) + if (job->filters[i] > 0) + { + cupsdEndProcess(job->filters[i], action >= CUPSD_JOB_FORCE); + + if (action >= CUPSD_JOB_FORCE) + job->filters[i] = -job->filters[i]; + } + + if (job->backend > 0) + { + cupsdEndProcess(job->backend, action >= CUPSD_JOB_FORCE); + + if (action >= CUPSD_JOB_FORCE) + job->backend = -job->backend; + } + + if (action >= CUPSD_JOB_FORCE) + { + /* + * Clear job status... + */ + + job->status = 0; + } +} + + +/* + * 'unload_job()' - Unload a job from memory. + */ + +static void +unload_job(cupsd_job_t *job) /* I - Job */ +{ + if (!job->attrs) + return; + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "Unloading..."); + + ippDelete(job->attrs); + + job->attrs = NULL; + job->state = NULL; + job->reasons = NULL; + job->impressions = NULL; + job->sheets = NULL; + job->job_sheets = NULL; + job->printer_message = NULL; + job->printer_reasons = NULL; +} + + +/* + * 'update_job()' - Read a status update from a job's filters. + */ + +void +update_job(cupsd_job_t *job) /* I - Job to check */ +{ + int i; /* Looping var */ + char message[CUPSD_SB_BUFFER_SIZE], + /* Message text */ + *ptr; /* Pointer update... */ + int loglevel, /* Log level for message */ + event = 0; /* Events? */ + cupsd_printer_t *printer = job->printer; + /* Printer */ + static const char * const levels[] = /* Log levels */ + { + "NONE", + "EMERG", + "ALERT", + "CRIT", + "ERROR", + "WARN", + "NOTICE", + "INFO", + "DEBUG", + "DEBUG2" + }; + + + /* + * Get the printer associated with this job; if the printer is stopped for + * any reason then job->printer will be reset to NULL, so make sure we have + * a valid pointer... + */ + + while ((ptr = cupsdStatBufUpdate(job->status_buffer, &loglevel, + message, sizeof(message))) != NULL) + { + /* + * Process page and printer state messages as needed... + */ + + if (loglevel == CUPSD_LOG_PAGE) + { + int impressions = ippGetInteger(job->impressions, 0); + /* Number of impressions printed */ + int delta; /* Number of impressions added */ + + /* + * Page message; send the message to the page_log file and update the + * job sheet count... + */ + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "PAGE: %s", message); + + if (!_cups_strncasecmp(message, "total ", 6)) + { + /* + * Got a total count of pages from a backend or filter... + */ + + int total = atoi(message + 6); /* Total impressions */ + + if (total > impressions) + { + delta = total - impressions; + impressions = total; + } + else + delta = 0; + } + else + { + /* + * Add the number of copies to the impression count... + */ + + int copies; /* Number of copies */ + + if (!sscanf(message, "%*d%d", &copies) || copies <= 0) + copies = 1; + + delta = copies; + impressions += copies; + } + + if (job->impressions) + ippSetInteger(job->attrs, &job->impressions, 0, impressions); + + if (job->sheets) + { + const char *sides = ippGetString(ippFindAttribute(job->attrs, "sides", IPP_TAG_KEYWORD), 0, NULL); + + if (sides && strcmp(sides, "one-sided")) + ippSetInteger(job->attrs, &job->sheets, 0, impressions / 2); + else + ippSetInteger(job->attrs, &job->sheets, 0, impressions); + + cupsdAddEvent(CUPSD_EVENT_JOB_PROGRESS, job->printer, job, "Printed %d page(s).", ippGetInteger(job->sheets, 0)); + } + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + + if (job->printer->page_limit) + cupsdUpdateQuota(job->printer, job->username, delta, 0); + } + else if (loglevel == CUPSD_LOG_JOBSTATE) + { + /* + * Support "keyword" to set job-state-reasons to the specified keyword. + * This is sufficient for the current paid printing stuff. + */ + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "JOBSTATE: %s", message); + + if (!strcmp(message, "cups-retry-as-raster")) + job->retry_as_raster = 1; + else + ippSetString(job->attrs, &job->reasons, 0, message); + } + else if (loglevel == CUPSD_LOG_STATE) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, "STATE: %s", message); + + if (!strcmp(message, "paused")) + { + cupsdStopPrinter(job->printer, 1); + return; + } + else if (message[0] && cupsdSetPrinterReasons(job->printer, message)) + { + event |= CUPSD_EVENT_PRINTER_STATE; + + if (MaxJobTime > 0) + { + /* + * Reset cancel time after connecting to the device... + */ + + for (i = 0; i < job->printer->num_reasons; i ++) + if (!strcmp(job->printer->reasons[i], "connecting-to-device")) + break; + + if (i >= job->printer->num_reasons) + { + ipp_attribute_t *cancel_after = ippFindAttribute(job->attrs, + "job-cancel-after", + IPP_TAG_INTEGER); + /* job-cancel-after attribute */ + + if (cancel_after) + job->cancel_time = time(NULL) + ippGetInteger(cancel_after, 0); + else if (MaxJobTime > 0) + job->cancel_time = time(NULL) + MaxJobTime; + else + job->cancel_time = 0; + } + } + } + + update_job_attrs(job, 0); + } + else if (loglevel == CUPSD_LOG_ATTR) + { + /* + * Set attribute(s)... + */ + + int num_attrs; /* Number of attributes */ + cups_option_t *attrs; /* Attributes */ + const char *attr; /* Attribute */ + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "ATTR: %s", message); + + num_attrs = cupsParseOptions(message, 0, &attrs); + + if ((attr = cupsGetOption("auth-info-default", num_attrs, + attrs)) != NULL) + { + job->printer->num_options = cupsAddOption("auth-info", attr, + job->printer->num_options, + &(job->printer->options)); + cupsdSetPrinterAttrs(job->printer); + + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + } + + if ((attr = cupsGetOption("auth-info-required", num_attrs, + attrs)) != NULL) + { + cupsdSetAuthInfoRequired(job->printer, attr, NULL); + cupsdSetPrinterAttrs(job->printer); + + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + } + + if ((attr = cupsGetOption("job-media-progress", num_attrs, + attrs)) != NULL) + { + int progress = atoi(attr); + + + if (progress >= 0 && progress <= 100) + { + job->progress = progress; + + if (job->sheets) + cupsdAddEvent(CUPSD_EVENT_JOB_PROGRESS, job->printer, job, + "Printing page %d, %d%%", + job->sheets->values[0].integer, job->progress); + } + } + + if ((attr = cupsGetOption("printer-alert", num_attrs, attrs)) != NULL) + { + cupsdSetString(&job->printer->alert, attr); + event |= CUPSD_EVENT_PRINTER_STATE; + } + + if ((attr = cupsGetOption("printer-alert-description", num_attrs, + attrs)) != NULL) + { + cupsdSetString(&job->printer->alert_description, attr); + event |= CUPSD_EVENT_PRINTER_STATE; + } + + if ((attr = cupsGetOption("marker-colors", num_attrs, attrs)) != NULL) + { + cupsdSetPrinterAttr(job->printer, "marker-colors", (char *)attr); + job->printer->marker_time = time(NULL); + event |= CUPSD_EVENT_PRINTER_STATE; + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + } + + if ((attr = cupsGetOption("marker-levels", num_attrs, attrs)) != NULL) + { + cupsdSetPrinterAttr(job->printer, "marker-levels", (char *)attr); + job->printer->marker_time = time(NULL); + event |= CUPSD_EVENT_PRINTER_STATE; + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + } + + if ((attr = cupsGetOption("marker-low-levels", num_attrs, attrs)) != NULL) + { + cupsdSetPrinterAttr(job->printer, "marker-low-levels", (char *)attr); + job->printer->marker_time = time(NULL); + event |= CUPSD_EVENT_PRINTER_STATE; + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + } + + if ((attr = cupsGetOption("marker-high-levels", num_attrs, attrs)) != NULL) + { + cupsdSetPrinterAttr(job->printer, "marker-high-levels", (char *)attr); + job->printer->marker_time = time(NULL); + event |= CUPSD_EVENT_PRINTER_STATE; + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + } + + if ((attr = cupsGetOption("marker-message", num_attrs, attrs)) != NULL) + { + cupsdSetPrinterAttr(job->printer, "marker-message", (char *)attr); + job->printer->marker_time = time(NULL); + event |= CUPSD_EVENT_PRINTER_STATE; + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + } + + if ((attr = cupsGetOption("marker-names", num_attrs, attrs)) != NULL) + { + cupsdSetPrinterAttr(job->printer, "marker-names", (char *)attr); + job->printer->marker_time = time(NULL); + event |= CUPSD_EVENT_PRINTER_STATE; + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + } + + if ((attr = cupsGetOption("marker-types", num_attrs, attrs)) != NULL) + { + cupsdSetPrinterAttr(job->printer, "marker-types", (char *)attr); + job->printer->marker_time = time(NULL); + event |= CUPSD_EVENT_PRINTER_STATE; + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + } + + cupsFreeOptions(num_attrs, attrs); + } + else if (loglevel == CUPSD_LOG_PPD) + { + /* + * Set attribute(s)... + */ + + cupsdLogJob(job, CUPSD_LOG_DEBUG, "PPD: %s", message); + + job->num_keywords = cupsParseOptions(message, job->num_keywords, + &job->keywords); + } + else + { + /* + * Strip legacy message prefix... + */ + + if (!strncmp(message, "recoverable:", 12)) + { + ptr = message + 12; + while (isspace(*ptr & 255)) + ptr ++; + } + else if (!strncmp(message, "recovered:", 10)) + { + ptr = message + 10; + while (isspace(*ptr & 255)) + ptr ++; + } + else + ptr = message; + + if (*ptr) + cupsdLogJob(job, loglevel == CUPSD_LOG_INFO ? CUPSD_LOG_DEBUG : loglevel, "%s", ptr); + + if (loglevel < CUPSD_LOG_DEBUG && + strcmp(job->printer->state_message, ptr)) + { + strlcpy(job->printer->state_message, ptr, + sizeof(job->printer->state_message)); + + event |= CUPSD_EVENT_PRINTER_STATE | CUPSD_EVENT_JOB_PROGRESS; + + if (loglevel <= job->status_level && job->status_level > CUPSD_LOG_ERROR) + { + /* + * Some messages show in the job-printer-state-message attribute... + */ + + if (loglevel != CUPSD_LOG_NOTICE) + job->status_level = loglevel; + + update_job_attrs(job, 1); + + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "Set job-printer-state-message to \"%s\", " + "current level=%s", + job->printer_message->values[0].string.text, + levels[job->status_level]); + } + } + } + + if (!strchr(job->status_buffer->buffer, '\n')) + break; + } + + if (event & CUPSD_EVENT_JOB_PROGRESS) + cupsdAddEvent(CUPSD_EVENT_JOB_PROGRESS, job->printer, job, + "%s", job->printer->state_message); + if (event & CUPSD_EVENT_PRINTER_STATE) + cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, job->printer, NULL, + (job->printer->type & CUPS_PRINTER_CLASS) ? + "Class \"%s\" state changed." : + "Printer \"%s\" state changed.", + job->printer->name); + + + if (ptr == NULL && !job->status_buffer->bufused) + { + /* + * See if all of the filters and the backend have returned their + * exit statuses. + */ + + for (i = 0; job->filters[i] < 0; i ++); + + if (job->filters[i]) + { + /* + * EOF but we haven't collected the exit status of all filters... + */ + + cupsdCheckProcess(); + return; + } + + if (job->current_file >= job->num_files && job->backend > 0) + { + /* + * EOF but we haven't collected the exit status of the backend... + */ + + cupsdCheckProcess(); + return; + } + + /* + * Handle the end of job stuff... + */ + + finalize_job(job, 1); + + /* + * Try printing another job... + */ + + if (printer->state != IPP_PRINTER_STOPPED) + cupsdCheckJobs(); + } +} + + +/* + * 'update_job_attrs()' - Update the job-printer-* attributes. + */ + +void +update_job_attrs(cupsd_job_t *job, /* I - Job to update */ + int do_message)/* I - 1 = copy job-printer-state message */ +{ + int i; /* Looping var */ + int num_reasons; /* Actual number of reasons */ + const char * const *reasons; /* Reasons */ + static const char *none = "none"; /* "none" reason */ + + + /* + * Get/create the job-printer-state-* attributes... + */ + + if (!job->printer_message) + { + if ((job->printer_message = ippFindAttribute(job->attrs, + "job-printer-state-message", + IPP_TAG_TEXT)) == NULL) + job->printer_message = ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_TEXT, + "job-printer-state-message", + NULL, ""); + } + + if (!job->printer_reasons) + job->printer_reasons = ippFindAttribute(job->attrs, + "job-printer-state-reasons", + IPP_TAG_KEYWORD); + + /* + * Copy or clear the printer-state-message value as needed... + */ + + if (job->state_value != IPP_JOB_PROCESSING && + job->status_level == CUPSD_LOG_INFO) + { + ippSetString(job->attrs, &job->printer_message, 0, ""); + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + } + else if (job->printer->state_message[0] && do_message) + { + ippSetString(job->attrs, &job->printer_message, 0, job->printer->state_message); + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); + } + + /* + * ... and the printer-state-reasons value... + */ + + if (job->printer->num_reasons == 0) + { + num_reasons = 1; + reasons = &none; + } + else + { + num_reasons = job->printer->num_reasons; + reasons = (const char * const *)job->printer->reasons; + } + + if (!job->printer_reasons || job->printer_reasons->num_values != num_reasons) + { + /* + * Replace/create a job-printer-state-reasons attribute... + */ + + ippDeleteAttribute(job->attrs, job->printer_reasons); + + job->printer_reasons = ippAddStrings(job->attrs, + IPP_TAG_JOB, IPP_TAG_KEYWORD, + "job-printer-state-reasons", + num_reasons, NULL, NULL); + } + else + { + /* + * Don't bother clearing the reason strings if they are the same... + */ + + for (i = 0; i < num_reasons; i ++) + if (strcmp(job->printer_reasons->values[i].string.text, reasons[i])) + break; + + if (i >= num_reasons) + return; + + /* + * Not the same, so free the current strings... + */ + + for (i = 0; i < num_reasons; i ++) + _cupsStrFree(job->printer_reasons->values[i].string.text); + } + + /* + * Copy the reasons... + */ + + for (i = 0; i < num_reasons; i ++) + job->printer_reasons->values[i].string.text = _cupsStrAlloc(reasons[i]); + + job->dirty = 1; + cupsdMarkDirty(CUPSD_DIRTY_JOBS); +} diff --git a/scheduler/job.h b/scheduler/job.h new file mode 100644 index 0000000..2400ea9 --- /dev/null +++ b/scheduler/job.h @@ -0,0 +1,173 @@ +/* + * Print job definitions for the CUPS scheduler. + * + * Copyright 2007-2015 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Constants... + */ + +typedef enum cupsd_jobaction_e /**** Actions for state changes ****/ +{ + CUPSD_JOB_DEFAULT, /* Use default action */ + CUPSD_JOB_FORCE, /* Force the change */ + CUPSD_JOB_PURGE /* Force the change and purge */ +} cupsd_jobaction_t; + + +/* + * Job request structure... + */ + +struct cupsd_job_s /**** Job request ****/ +{ + int id, /* Job ID */ + priority, /* Job priority */ + dirty; /* Do we need to write the "c" file? */ + ipp_jstate_t state_value; /* Cached job-state */ + int pending_timeout;/* Non-zero if the job was created and + * waiting on files */ + char *username; /* Printing user */ + char *dest; /* Destination printer or class */ + char *name; /* Job name/title */ + int koctets; /* job-k-octets */ + cups_ptype_t dtype; /* Destination type */ + cupsd_printer_t *printer; /* Printer this job is assigned to */ + int num_files; /* Number of files in job */ + mime_type_t **filetypes; /* File types */ + int *compressions; /* Compression status of each file */ + ipp_attribute_t *impressions, /* job-impressions-completed */ + *sheets; /* job-media-sheets-completed */ + time_t access_time, /* Last access time */ + cancel_time, /* When to cancel/send SIGTERM */ + creation_time, /* When job was created */ + completed_time, /* When job was completed (0 if not) */ + file_time, /* Job file retain time */ + history_time, /* Job history retain time */ + hold_until, /* Hold expiration date/time */ + kill_time; /* When to send SIGKILL */ + ipp_attribute_t *state; /* Job state */ + ipp_attribute_t *reasons; /* Job state reasons */ + ipp_attribute_t *job_sheets; /* Job sheets (NULL if none) */ + ipp_attribute_t *printer_message, + /* job-printer-state-message */ + *printer_reasons; + /* job-printer-state-reasons */ + int current_file; /* Current file in job */ + ipp_t *attrs; /* Job attributes */ + int print_pipes[2], /* Print data pipes */ + back_pipes[2], /* Backchannel pipes */ + side_pipes[2], /* Sidechannel pipes */ + status_pipes[2];/* Status pipes */ + cupsd_statbuf_t *status_buffer; /* Status buffer for this job */ + int status_level; /* Highest log level in a status + * message */ + int cost; /* Filtering cost */ + int pending_cost; /* Waiting for FilterLimit */ + int filters[MAX_FILTERS + 1]; + /* Filter process IDs, 0 terminated */ + int backend; /* Backend process ID */ + int status; /* Status code from filters */ + int tries; /* Number of tries for this job */ + int completed; /* cups-waiting-for-job-completed seen */ + int retry_as_raster;/* Need to retry the job as raster */ + char *auth_env[3], /* AUTH_xxx environment variables, + * if any */ + *auth_uid; /* AUTH_UID environment variable */ + void *profile, /* Security profile for filters */ + *bprofile; /* Security profile for backend */ + cups_array_t *history; /* Debug log history */ + int progress; /* Printing progress */ + int num_keywords; /* Number of PPD keywords */ + cups_option_t *keywords; /* PPD keywords */ +}; + +typedef struct cupsd_joblog_s /**** Job log message ****/ +{ + time_t time; /* Time of message */ + char message[1]; /* Message string */ +} cupsd_joblog_t; + + +/* + * Globals... + */ + +VAR int JobHistory VALUE(INT_MAX); + /* Preserve job history? */ +VAR int JobFiles VALUE(86400); + /* Preserve job files? */ +VAR time_t JobHistoryUpdate VALUE(0); + /* Time for next job history update */ +VAR int MaxJobs VALUE(0), + /* Max number of jobs */ + MaxActiveJobs VALUE(0), + /* Max number of active jobs */ + MaxHoldTime VALUE(0), + /* Max time for indefinite hold */ + MaxJobsPerUser VALUE(0), + /* Max jobs per user */ + MaxJobsPerPrinter VALUE(0), + /* Max jobs per printer */ + MaxJobTime VALUE(3 * 60 * 60); + /* Max time for a job */ +VAR int JobAutoPurge VALUE(0); + /* Automatically purge jobs */ +VAR cups_array_t *Jobs VALUE(NULL), + /* List of current jobs */ + *ActiveJobs VALUE(NULL), + /* List of active jobs */ + *PrintingJobs VALUE(NULL); + /* List of jobs that are printing */ +VAR int NextJobId VALUE(1); + /* Next job ID to use */ +VAR int JobKillDelay VALUE(DEFAULT_TIMEOUT), + /* Delay before killing jobs */ + JobRetryLimit VALUE(5), + /* Max number of tries */ + JobRetryInterval VALUE(300); + /* Seconds between retries */ + + +/* + * Prototypes... + */ + +extern cupsd_job_t *cupsdAddJob(int priority, const char *dest); +extern void cupsdCancelJobs(const char *dest, const char *username, + int purge); +extern void cupsdCheckJobs(void); +extern void cupsdCleanJobs(void); +extern void cupsdContinueJob(cupsd_job_t *job); +extern void cupsdDeleteJob(cupsd_job_t *job, + cupsd_jobaction_t action); +extern cupsd_job_t *cupsdFindJob(int id); +extern void cupsdFreeAllJobs(void); +extern cups_array_t *cupsdGetCompletedJobs(cupsd_printer_t *p); +extern int cupsdGetPrinterJobCount(const char *dest); +extern int cupsdGetUserJobCount(const char *username); +extern void cupsdLoadAllJobs(void); +extern int cupsdLoadJob(cupsd_job_t *job); +extern void cupsdMoveJob(cupsd_job_t *job, cupsd_printer_t *p); +extern void cupsdReleaseJob(cupsd_job_t *job); +extern void cupsdRestartJob(cupsd_job_t *job); +extern void cupsdSaveAllJobs(void); +extern void cupsdSaveJob(cupsd_job_t *job); +extern void cupsdSetJobHoldUntil(cupsd_job_t *job, + const char *when, int update); +extern void cupsdSetJobPriority(cupsd_job_t *job, int priority); +extern void cupsdSetJobState(cupsd_job_t *job, + ipp_jstate_t newstate, + cupsd_jobaction_t action, + const char *message, ...) + __attribute__((__format__(__printf__, + 4, 5))); +extern void cupsdStopAllJobs(cupsd_jobaction_t action, + int kill_delay); +extern int cupsdTimeoutJob(cupsd_job_t *job); +extern void cupsdUnloadCompletedJobs(void); +extern void cupsdUpdateJobs(void); diff --git a/scheduler/libcupsmime.exp b/scheduler/libcupsmime.exp new file mode 100644 index 0000000..cd02a6f --- /dev/null +++ b/scheduler/libcupsmime.exp @@ -0,0 +1,22 @@ +_mimeAddFilter +_mimeAddType +_mimeAddTypeRule +_mimeDelete +_mimeDeleteFilter +_mimeDeleteType +_mimeFileType +_mimeFilter +_mimeFilter2 +_mimeFilterLookup +_mimeFirstFilter +_mimeFirstType +_mimeLoad +_mimeLoadFilters +_mimeLoadTypes +_mimeNew +_mimeNextFilter +_mimeNextType +_mimeNumFilters +_mimeNumTypes +_mimeSetErrorCallback +_mimeType diff --git a/scheduler/listen.c b/scheduler/listen.c new file mode 100644 index 0000000..92c7c62 --- /dev/null +++ b/scheduler/listen.c @@ -0,0 +1,295 @@ +/* + * Server listening routines for the CUPS scheduler. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" + + +/* + * Make sure the IPV6_V6ONLY is defined on Linux - older versions of + * glibc don't define it even if the kernel supports it... + */ + +#if defined(__linux) && !defined(IPV6_V6ONLY) +# define IPV6_V6ONLY 26 +#endif /* __linux && !IPV6_V6ONLY */ + + +/* + * 'cupsdDeleteAllListeners()' - Delete all listeners. + */ + +void +cupsdDeleteAllListeners(void) +{ + cupsd_listener_t *lis; /* Current listening socket */ + + + for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); + lis; + lis = (cupsd_listener_t *)cupsArrayNext(Listeners)) +#ifdef HAVE_ONDEMAND + if (!lis->on_demand) +#endif /* HAVE_ONDEMAND */ + { + cupsArrayRemove(Listeners, lis); + free(lis); + } + + if (cupsArrayCount(Listeners) == 0) + { + cupsArrayDelete(Listeners); + Listeners = NULL; + } +} + + +/* + * 'cupsdPauseListening()' - Clear input polling on all listening sockets... + */ + +void +cupsdPauseListening(void) +{ + cupsd_listener_t *lis; /* Current listening socket */ + + + if (cupsArrayCount(Listeners) < 1) + return; + + if (cupsArrayCount(Clients) == MaxClients) + cupsdLogMessage(CUPSD_LOG_WARN, + "Max clients reached, holding new connections..."); + else if (errno == ENFILE || errno == EMFILE) + cupsdLogMessage(CUPSD_LOG_WARN, + "Too many open files, holding new connections for " + "30 seconds..."); + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdPauseListening: Clearing input bits..."); + + for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); + lis; + lis = (cupsd_listener_t *)cupsArrayNext(Listeners)) + cupsdRemoveSelect(lis->fd); + + ListeningPaused = time(NULL) + 30; +} + + +/* + * 'cupsdResumeListening()' - Set input polling on all listening sockets... + */ + +void +cupsdResumeListening(void) +{ + cupsd_listener_t *lis; /* Current listening socket */ + + + if (cupsArrayCount(Listeners) < 1) + return; + + cupsdLogMessage(CUPSD_LOG_INFO, "Resuming new connection processing..."); + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdResumeListening: Setting input bits..."); + + for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); + lis; + lis = (cupsd_listener_t *)cupsArrayNext(Listeners)) + cupsdAddSelect(lis->fd, (cupsd_selfunc_t)cupsdAcceptClient, NULL, lis); + + ListeningPaused = 0; +} + + +/* + * 'cupsdStartListening()' - Create all listening sockets... + */ + +void +cupsdStartListening(void) +{ + int p; /* Port number */ + cupsd_listener_t *lis; /* Current listening socket */ + char s[256]; /* String addresss */ + const char *have_domain; /* Have a domain socket? */ + static const char * const encryptions[] = + { /* Encryption values */ + "IfRequested", + "Never", + "Required", + "Always" + }; + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdStartListening: %d Listeners", + cupsArrayCount(Listeners)); + + /* + * Setup socket listeners... + */ + + for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners), LocalPort = 0, + have_domain = NULL; + lis; + lis = (cupsd_listener_t *)cupsArrayNext(Listeners)) + { + httpAddrString(&(lis->address), s, sizeof(s)); + p = httpAddrPort(&(lis->address)); + + /* + * If needed, create a socket for listening... + */ + + if (lis->fd == -1) + { + /* + * Create a socket for listening... + */ + + lis->fd = httpAddrListen(&(lis->address), p); + + if (lis->fd == -1) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to open listen socket for address %s:%d - %s.", + s, p, strerror(errno)); + +#ifdef AF_INET6 + /* + * IPv6 is often disabled while DNS returns IPv6 addresses... + */ + + if (lis->address.addr.sa_family != AF_INET6 && + (FatalErrors & CUPSD_FATAL_LISTEN)) + cupsdEndProcess(getpid(), 0); +#else + if (FatalErrors & CUPSD_FATAL_LISTEN) + cupsdEndProcess(getpid(), 0); +#endif /* AF_INET6 */ + + continue; + } + } + + if (p) + cupsdLogMessage(CUPSD_LOG_INFO, "Listening to %s:%d on fd %d...", + s, p, lis->fd); + else + cupsdLogMessage(CUPSD_LOG_INFO, "Listening to %s on fd %d...", + s, lis->fd); + + /* + * Save the first port that is bound to the local loopback or + * "any" address... + */ + + if ((!LocalPort || LocalEncryption == HTTP_ENCRYPT_ALWAYS) && p > 0 && + (httpAddrLocalhost(&(lis->address)) || + httpAddrAny(&(lis->address)))) + { + LocalPort = p; + LocalEncryption = lis->encryption; + } + +#ifdef AF_LOCAL + if (lis->address.addr.sa_family == AF_LOCAL && !have_domain) + have_domain = lis->address.un.sun_path; +#endif /* AF_LOCAL */ + } + + /* + * Make sure that we are listening on localhost! + */ + + if (!LocalPort && !have_domain) + { + cupsdLogMessage(CUPSD_LOG_EMERG, + "No Listen or Port lines were found to allow access via " + "localhost."); + + if (FatalErrors & (CUPSD_FATAL_CONFIG | CUPSD_FATAL_LISTEN)) + cupsdEndProcess(getpid(), 0); + } + + /* + * Set the CUPS_SERVER, IPP_PORT, and CUPS_ENCRYPTION variables based on + * the listeners... + */ + + if (have_domain) + { + /* + * Use domain sockets for the local connection... + */ + + cupsdSetEnv("CUPS_SERVER", have_domain); + + LocalEncryption = HTTP_ENCRYPT_IF_REQUESTED; + } + else + { + /* + * Use the default local loopback address for the server... + */ + + cupsdSetEnv("CUPS_SERVER", "localhost"); + } + + cupsdSetEnv("CUPS_ENCRYPTION", encryptions[LocalEncryption]); + + if (LocalPort) + cupsdSetEnvf("IPP_PORT", "%d", LocalPort); + + /* + * Resume listening for connections... + */ + + cupsdResumeListening(); +} + + +/* + * 'cupsdStopListening()' - Close all listening sockets... + */ + +void +cupsdStopListening(void) +{ + cupsd_listener_t *lis; /* Current listening socket */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdStopListening: closing all listen sockets."); + + cupsdPauseListening(); + + for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); + lis; + lis = (cupsd_listener_t *)cupsArrayNext(Listeners)) + { +#ifdef HAVE_ONDEMAND + if (!lis->on_demand && lis->fd != -1) + { + httpAddrClose(&(lis->address), lis->fd); + lis->fd = -1; + } + +#else + if (lis->fd != -1) + { + httpAddrClose(&(lis->address), lis->fd); + lis->fd = -1; + } +#endif /* HAVE_ONDEMAND */ + } +} diff --git a/scheduler/log.c b/scheduler/log.c new file mode 100644 index 0000000..2bd1952 --- /dev/null +++ b/scheduler/log.c @@ -0,0 +1,1343 @@ +/* + * Log file routines for the CUPS scheduler. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include +#ifdef HAVE_ASL_H +# include +#elif defined(HAVE_SYSTEMD_SD_JOURNAL_H) +# define SD_JOURNAL_SUPPRESS_LOCATION +# include +#endif /* HAVE_ASL_H */ +#include + + +/* + * Constants for log keys from PWG 5110.3 (PWG Common Log Format)... + */ + +#define PWG_DeviceUUID "DUU" +#define PWG_Event "E" +#define PWG_LogNaturalLanguage "NL" +#define PWG_Status "S" +#define PWG_ServiceURI "URI" +#define PWG_UserHost "UH" +#define PWG_UserName "UN" +#define PWG_UserURI "UU" +#define PWG_ServiceIsAcceptingJobs "IAJ" +#define PWG_ServiceState "ST" +#define PWG_ServiceStateReasons "SR" +#define PWG_ServiceUUID "SUU" +#define PWG_JobID "JID" +#define PWG_JobUUID "JUU" +#define PWG_JobImagesCompleted "JIM" +#define PWG_JobImpressionsCompleted "JIC" +#define PWG_JobDestinationURI "JD" +#define PWG_JobState "JS" +#define PWG_JobStateReasons "JR" +#define PWG_JobAccountingID "JA" +#define PWG_JobAcountingUserName "JAUN" +#define PWG_JobAccountingUserURI "JAUU" + + +/* + * Local globals... + */ + +static _cups_mutex_t log_mutex = _CUPS_MUTEX_INITIALIZER; + /* Mutex for logging */ +static size_t log_linesize = 0; /* Size of line for output file */ +static char *log_line = NULL; /* Line for output file */ + +#ifdef HAVE_ASL_H +static const int log_levels[] = /* ASL levels... */ + { + ASL_LEVEL_EMERG, + ASL_LEVEL_EMERG, + ASL_LEVEL_ALERT, + ASL_LEVEL_CRIT, + ASL_LEVEL_ERR, + ASL_LEVEL_WARNING, + ASL_LEVEL_NOTICE, + ASL_LEVEL_INFO, + ASL_LEVEL_DEBUG, + ASL_LEVEL_DEBUG + }; +#elif defined(HAVE_VSYSLOG) || defined(HAVE_SYSTEMD_SD_JOURNAL_H) +static const int log_levels[] = /* SYSLOG levels... */ + { + 0, + LOG_EMERG, + LOG_ALERT, + LOG_CRIT, + LOG_ERR, + LOG_WARNING, + LOG_NOTICE, + LOG_INFO, + LOG_DEBUG, + LOG_DEBUG + }; +#endif /* HAVE_ASL_H */ + + +/* + * Local functions... + */ + +static int format_log_line(const char *message, va_list ap); + + +/* + * 'cupsdCheckLogFile()' - Open/rotate a log file if it needs it. + */ + +int /* O - 1 if log file open */ +cupsdCheckLogFile(cups_file_t **lf, /* IO - Log file */ + const char *logname) /* I - Log filename */ +{ + char backname[1024], /* Backup log filename */ + filename[1024], /* Formatted log filename */ + *ptr; /* Pointer into filename */ + const char *logptr; /* Pointer into log filename */ + + + /* + * See if we have a log file to check... + */ + + if (!lf || !logname || !logname[0]) + return (1); + + /* + * Handle logging to stderr... + */ + + if (!strcmp(logname, "stderr")) + { + *lf = LogStderr; + return (1); + } + + /* + * Format the filename as needed... + */ + + if (!*lf || + (strncmp(logname, "/dev/", 5) && cupsFileTell(*lf) > MaxLogSize && + MaxLogSize > 0)) + { + /* + * Handle format strings... + */ + + filename[sizeof(filename) - 1] = '\0'; + + if (logname[0] != '/') + { + strlcpy(filename, ServerRoot, sizeof(filename)); + strlcat(filename, "/", sizeof(filename)); + } + else + filename[0] = '\0'; + + for (logptr = logname, ptr = filename + strlen(filename); + *logptr && ptr < (filename + sizeof(filename) - 1); + logptr ++) + if (*logptr == '%') + { + /* + * Format spec... + */ + + logptr ++; + if (*logptr == 's') + { + /* + * Insert the server name... + */ + + strlcpy(ptr, ServerName, sizeof(filename) - (size_t)(ptr - filename)); + ptr += strlen(ptr); + } + else + { + /* + * Otherwise just insert the character... + */ + + *ptr++ = *logptr; + } + } + else + *ptr++ = *logptr; + + *ptr = '\0'; + } + + /* + * See if the log file is open... + */ + + if (!*lf) + { + /* + * Nope, open the log file... + */ + + if ((*lf = cupsFileOpen(filename, "a")) == NULL) + { + /* + * If the file is in CUPS_LOGDIR then try to create a missing directory... + */ + + if (!strncmp(filename, CUPS_LOGDIR, strlen(CUPS_LOGDIR))) + { + /* + * Try updating the permissions of the containing log directory, using + * the log file permissions as a basis... + */ + + mode_t log_dir_perm = (mode_t)(0300 | LogFilePerm); + /* LogFilePerm + owner write/search */ + if (log_dir_perm & 0040) + log_dir_perm |= 0010; /* Add group search */ + if (log_dir_perm & 0004) + log_dir_perm |= 0001; /* Add other search */ + + cupsdCheckPermissions(CUPS_LOGDIR, NULL, log_dir_perm, RunUser, Group, 1, -1); + + *lf = cupsFileOpen(filename, "a"); + } + + if (*lf == NULL) + { +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + sd_journal_print(LOG_ERR, "Unable to open log file \"%s\" - %s", filename, strerror(errno)); +#else + syslog(LOG_ERR, "Unable to open log file \"%s\" - %s", filename, strerror(errno)); +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + if (FatalErrors & CUPSD_FATAL_LOG) + cupsdEndProcess(getpid(), 0); + + return (0); + } + } + + if (strncmp(filename, "/dev/", 5)) + { + /* + * Change ownership and permissions of non-device logs... + */ + + fchown(cupsFileNumber(*lf), RunUser, Group); + fchmod(cupsFileNumber(*lf), LogFilePerm); + } + } + + /* + * Do we need to rotate the log? + */ + + if (strncmp(logname, "/dev/", 5) && cupsFileTell(*lf) > MaxLogSize && + MaxLogSize > 0) + { + /* + * Rotate log file... + */ + + cupsFileClose(*lf); + + strlcpy(backname, filename, sizeof(backname)); + strlcat(backname, ".O", sizeof(backname)); + + unlink(backname); + rename(filename, backname); + + if ((*lf = cupsFileOpen(filename, "a")) == NULL) + { +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + sd_journal_print(LOG_ERR, "Unable to open log file \"%s\" - %s", filename, strerror(errno)); + +#else + syslog(LOG_ERR, "Unable to open log file \"%s\" - %s", filename, strerror(errno)); +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + if (FatalErrors & CUPSD_FATAL_LOG) + cupsdEndProcess(getpid(), 0); + + return (0); + } + + /* + * Change ownership and permissions of non-device logs... + */ + + fchown(cupsFileNumber(*lf), RunUser, Group); + fchmod(cupsFileNumber(*lf), LogFilePerm); + } + + return (1); +} + + +/* + * 'cupsdGetDateTime()' - Returns a pointer to a date/time string. + */ + +char * /* O - Date/time string */ +cupsdGetDateTime(struct timeval *t, /* I - Time value or NULL for current */ + cupsd_time_t format) /* I - Format to use */ +{ + struct timeval curtime; /* Current time value */ + struct tm date; /* Date/time value */ + static struct timeval last_time = { 0, 0 }; + /* Last time we formatted */ + static char s[1024]; /* Date/time string */ + static const char * const months[12] =/* Months */ + { + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec" + }; + + + /* + * Make sure we have a valid time... + */ + + if (!t) + { + gettimeofday(&curtime, NULL); + t = &curtime; + } + + if (t->tv_sec != last_time.tv_sec || + (LogTimeFormat == CUPSD_TIME_USECS && t->tv_usec != last_time.tv_usec)) + { + last_time = *t; + + /* + * Get the date and time from the UNIX time value, and then format it + * into a string. Note that we *can't* use the strftime() function since + * it is localized and will seriously confuse automatic programs if the + * month names are in the wrong language! + * + * Also, we use the "timezone" variable that contains the current timezone + * offset from GMT in seconds so that we are reporting local time in the + * log files. If you want GMT, set the TZ environment variable accordingly + * before starting the scheduler. + * + * (*BSD and Darwin store the timezone offset in the tm structure) + */ + + localtime_r(&(t->tv_sec), &date); + + if (format == CUPSD_TIME_STANDARD) + snprintf(s, sizeof(s), "[%02d/%s/%04d:%02d:%02d:%02d %+03ld%02ld]", + date.tm_mday, months[date.tm_mon], 1900 + date.tm_year, + date.tm_hour, date.tm_min, date.tm_sec, +#ifdef HAVE_TM_GMTOFF + date.tm_gmtoff / 3600, (date.tm_gmtoff / 60) % 60); +#else + timezone / 3600, (timezone / 60) % 60); +#endif /* HAVE_TM_GMTOFF */ + else + snprintf(s, sizeof(s), "[%02d/%s/%04d:%02d:%02d:%02d.%06d %+03ld%02ld]", + date.tm_mday, months[date.tm_mon], 1900 + date.tm_year, + date.tm_hour, date.tm_min, date.tm_sec, (int)t->tv_usec, +#ifdef HAVE_TM_GMTOFF + date.tm_gmtoff / 3600, (date.tm_gmtoff / 60) % 60); +#else + timezone / 3600, (timezone / 60) % 60); +#endif /* HAVE_TM_GMTOFF */ + } + + return (s); +} + + +/* + * 'cupsdLogFCMessage()' - Log a file checking message. + */ + +void +cupsdLogFCMessage( + void *context, /* I - Printer (if any) */ + _cups_fc_result_t result, /* I - Check result */ + const char *message) /* I - Message to log */ +{ + cupsd_printer_t *p = (cupsd_printer_t *)context; + /* Printer */ + cupsd_loglevel_t level; /* Log level */ + + + if (result == _CUPS_FILE_CHECK_OK) + level = CUPSD_LOG_DEBUG2; + else + level = CUPSD_LOG_ERROR; + + if (p) + { + cupsdLogMessage(level, "%s: %s", p->name, message); + + if (result == _CUPS_FILE_CHECK_MISSING || + result == _CUPS_FILE_CHECK_WRONG_TYPE) + { + strlcpy(p->state_message, message, sizeof(p->state_message)); + + if (cupsdSetPrinterReasons(p, "+cups-missing-filter-warning")) + cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, p, NULL, "%s", message); + } + else if (result == _CUPS_FILE_CHECK_PERMISSIONS || + result == _CUPS_FILE_CHECK_RELATIVE_PATH) + { + strlcpy(p->state_message, message, sizeof(p->state_message)); + + if (cupsdSetPrinterReasons(p, "+cups-insecure-filter-warning")) + cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, p, NULL, "%s", message); + } + } + else + cupsdLogMessage(level, "%s", message); +} + + +#ifdef HAVE_GSSAPI +/* + * 'cupsdLogGSSMessage()' - Log a GSSAPI error... + */ + +int /* O - 1 on success, 0 on error */ +cupsdLogGSSMessage( + int level, /* I - Log level */ + OM_uint32 major_status, /* I - Major GSSAPI status */ + OM_uint32 minor_status, /* I - Minor GSSAPI status */ + const char *message, /* I - printf-style message string */ + ...) /* I - Additional args as needed */ +{ + OM_uint32 err_major_status, /* Major status code for display */ + err_minor_status; /* Minor status code for display */ + OM_uint32 msg_ctx; /* Message context */ + gss_buffer_desc major_status_string = GSS_C_EMPTY_BUFFER, + /* Major status message */ + minor_status_string = GSS_C_EMPTY_BUFFER; + /* Minor status message */ + int ret; /* Return value */ + char buffer[8192]; /* Buffer for vsnprintf */ + + + if (strchr(message, '%')) + { + /* + * Format the message string... + */ + + va_list ap; /* Pointer to arguments */ + + va_start(ap, message); + vsnprintf(buffer, sizeof(buffer), message, ap); + va_end(ap); + + message = buffer; + } + + msg_ctx = 0; + err_major_status = gss_display_status(&err_minor_status, + major_status, + GSS_C_GSS_CODE, + GSS_C_NO_OID, + &msg_ctx, + &major_status_string); + + if (!GSS_ERROR(err_major_status)) + gss_display_status(&err_minor_status, minor_status, GSS_C_MECH_CODE, + GSS_C_NULL_OID, &msg_ctx, &minor_status_string); + + ret = cupsdLogMessage(level, "%s: %s, %s", message, + (char *)major_status_string.value, + (char *)minor_status_string.value); + gss_release_buffer(&err_minor_status, &major_status_string); + gss_release_buffer(&err_minor_status, &minor_status_string); + + return (ret); +} +#endif /* HAVE_GSSAPI */ + + +/* + * 'cupsdLogClient()' - Log a client message. + */ + +int /* O - 1 on success, 0 on error */ +cupsdLogClient(cupsd_client_t *con, /* I - Client connection */ + int level, /* I - Log level */ + const char *message, /* I - Printf-style message string */ + ...) /* I - Additional arguments as needed */ +{ + va_list ap, ap2; /* Argument pointers */ + char clientmsg[1024];/* Format string for client message */ + int status; /* Formatting status */ + + + /* + * See if we want to log this message... + */ + + if (TestConfigFile || !ErrorLog) + return (1); + + if (level > LogLevel) + return (1); + + /* + * Format and write the log message... + */ + + if (con) + snprintf(clientmsg, sizeof(clientmsg), "[Client %d] %s", con->number, + message); + else + strlcpy(clientmsg, message, sizeof(clientmsg)); + + va_start(ap, message); + + do + { + va_copy(ap2, ap); + status = format_log_line(clientmsg, ap2); + va_end(ap2); + } + while (status == 0); + + va_end(ap); + + if (status > 0) + return (cupsdWriteErrorLog(level, log_line)); + else + return (cupsdWriteErrorLog(CUPSD_LOG_ERROR, + "Unable to allocate memory for log line.")); +} + + +/* + * 'cupsdLogJob()' - Log a job message. + */ + +int /* O - 1 on success, 0 on error */ +cupsdLogJob(cupsd_job_t *job, /* I - Job */ + int level, /* I - Log level */ + const char *message, /* I - Printf-style message string */ + ...) /* I - Additional arguments as needed */ +{ + va_list ap, ap2; /* Argument pointers */ + char jobmsg[1024]; /* Format string for job message */ + int status; /* Formatting status */ + + + /* + * See if we want to log this message... + */ + + if (TestConfigFile || !ErrorLog) + return (1); + + if (level > LogLevel && LogDebugHistory <= 0) + return (1); + + /* + * Format and write the log message... + */ + +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + if (job && strcmp(ErrorLog, "syslog")) +#else + if (job) +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + snprintf(jobmsg, sizeof(jobmsg), "[Job %d] %s", job->id, message); + else + strlcpy(jobmsg, message, sizeof(jobmsg)); + + va_start(ap, message); + + do + { + va_copy(ap2, ap); + status = format_log_line(jobmsg, ap2); + va_end(ap2); + } + while (status == 0); + + va_end(ap); + + if (status > 0) + { + if (job && level > LogLevel && LogDebugHistory > 0) + { + /* + * Add message to the job history... + */ + + cupsd_joblog_t *temp; /* Copy of log message */ + size_t log_len = strlen(log_line); + /* Length of log message */ + + if ((temp = malloc(sizeof(cupsd_joblog_t) + log_len)) != NULL) + { + temp->time = time(NULL); + memcpy(temp->message, log_line, log_len + 1); + } + + if (!job->history) + job->history = cupsArrayNew(NULL, NULL); + + if (job->history && temp) + { + cupsArrayAdd(job->history, temp); + + if (cupsArrayCount(job->history) > LogDebugHistory) + { + /* + * Remove excess messages... + */ + + temp = cupsArrayFirst(job->history); + cupsArrayRemove(job->history, temp); + free(temp); + } + } + else if (temp) + free(temp); + + return (1); + } + else if (level <= LogLevel) + { +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + if (!strcmp(ErrorLog, "syslog")) + { + cupsd_printer_t *printer = job ? (job->printer ? job->printer : (job->dest ? cupsdFindDest(job->dest) : NULL)) : NULL; + static const char * const job_states[] = + { /* job-state strings */ + "Pending", + "PendingHeld", + "Processing", + "ProcessingStopped", + "Canceled", + "Aborted", + "Completed" + }; + + if (job) + sd_journal_send("MESSAGE=%s", log_line, + "PRIORITY=%i", log_levels[level], + PWG_Event"=JobStateChanged", + PWG_ServiceURI"=%s", printer ? printer->uri : "", + PWG_JobID"=%d", job->id, + PWG_JobState"=%s", job->state_value < IPP_JSTATE_PENDING ? "" : job_states[job->state_value - IPP_JSTATE_PENDING], + PWG_JobImpressionsCompleted"=%d", ippGetInteger(job->impressions, 0), + NULL); + else + sd_journal_send("MESSAGE=%s", log_line, + "PRIORITY=%i", log_levels[level], + NULL); + + return (1); + } + else +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + return (cupsdWriteErrorLog(level, log_line)); + } + else + return (1); + } + else + return (cupsdWriteErrorLog(CUPSD_LOG_ERROR, + "Unable to allocate memory for log line.")); +} + + +/* + * 'cupsdLogMessage()' - Log a message to the error log file. + */ + +int /* O - 1 on success, 0 on error */ +cupsdLogMessage(int level, /* I - Log level */ + const char *message, /* I - printf-style message string */ + ...) /* I - Additional args as needed */ +{ + va_list ap, ap2; /* Argument pointers */ + int status; /* Formatting status */ + + + /* + * See if we want to log this message... + */ + + if (TestConfigFile && level <= CUPSD_LOG_WARN) + { + va_start(ap, message); + + vfprintf(stderr, message, ap); + putc('\n', stderr); + + va_end(ap); + + return (1); + } + else if (!ErrorLog && level <= CUPSD_LOG_WARN) + { + va_start(ap, message); + +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + sd_journal_printv(log_levels[level], message, ap); + +#elif defined(HAVE_VSYSLOG) + vsyslog(LOG_LPR | log_levels[level], message, ap); + +#else + vfprintf(stderr, message, ap); + putc('\n', stderr); +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + va_end(ap); + + return (1); + } + else if (level > LogLevel || !ErrorLog) + return (1); + +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + else if (!strcmp(ErrorLog, "syslog")) + { + va_start(ap, message); + sd_journal_printv(log_levels[level], message, ap); + va_end(ap); + return (1); + } +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + /* + * Format and write the log message... + */ + + va_start(ap, message); + + do + { + va_copy(ap2, ap); + status = format_log_line(message, ap2); + va_end(ap2); + } + while (status == 0); + + va_end(ap); + + if (status > 0) + return (cupsdWriteErrorLog(level, log_line)); + else + return (cupsdWriteErrorLog(CUPSD_LOG_ERROR, + "Unable to allocate memory for log line!")); +} + + +/* + * 'cupsdLogPage()' - Log a page to the page log file. + */ + +int /* O - 1 on success, 0 on error */ +cupsdLogPage(cupsd_job_t *job, /* I - Job being printed */ + const char *page) /* I - Page being printed */ +{ + int i; /* Looping var */ + char buffer[2048], /* Buffer for page log */ + *bufptr, /* Pointer into buffer */ + name[256]; /* Attribute name */ + const char *format, /* Pointer into PageLogFormat */ + *nameend; /* End of attribute name */ + ipp_attribute_t *attr; /* Current attribute */ + char number[256]; /* Page number */ + int copies; /* Number of copies */ + + + /* + * Format the line going into the page log... + */ + + if (!PageLogFormat) + return (1); + + strlcpy(number, "1", sizeof(number)); + copies = 1; + sscanf(page, "%255s%d", number, &copies); + + for (format = PageLogFormat, bufptr = buffer; *format; format ++) + { + if (*format == '%') + { + format ++; + + switch (*format) + { + case '%' : /* Literal % */ + if (bufptr < (buffer + sizeof(buffer) - 1)) + *bufptr++ = '%'; + break; + + case 'p' : /* Printer name */ + strlcpy(bufptr, job->dest, sizeof(buffer) - (size_t)(bufptr - buffer)); + bufptr += strlen(bufptr); + break; + + case 'j' : /* Job ID */ + snprintf(bufptr, sizeof(buffer) - (size_t)(bufptr - buffer), "%d", job->id); + bufptr += strlen(bufptr); + break; + + case 'u' : /* Username */ + strlcpy(bufptr, job->username ? job->username : "-", sizeof(buffer) - (size_t)(bufptr - buffer)); + bufptr += strlen(bufptr); + break; + + case 'T' : /* Date and time */ + strlcpy(bufptr, cupsdGetDateTime(NULL, LogTimeFormat), sizeof(buffer) - (size_t)(bufptr - buffer)); + bufptr += strlen(bufptr); + break; + + case 'P' : /* Page number */ + strlcpy(bufptr, number, sizeof(buffer) - (size_t)(bufptr - buffer)); + bufptr += strlen(bufptr); + break; + + case 'C' : /* Number of copies */ + snprintf(bufptr, sizeof(buffer) - (size_t)(bufptr - buffer), "%d", copies); + bufptr += strlen(bufptr); + break; + + case '{' : /* {attribute} */ + if ((nameend = strchr(format, '}')) != NULL && (size_t)(nameend - format - 2) < (sizeof(name) - 1)) + { + /* + * Pull the name from inside the brackets... + */ + + memcpy(name, format + 1, (size_t)(nameend - format - 1)); + name[nameend - format - 1] = '\0'; + + format = nameend; + + attr = ippFindAttribute(job->attrs, name, IPP_TAG_ZERO); + if (!attr && !strcmp(name, "job-billing")) + { + /* + * Handle alias "job-account-id" (which was standardized after + * "job-billing" was defined for CUPS... + */ + + attr = ippFindAttribute(job->attrs, "job-account-id", IPP_TAG_ZERO); + } + else if (!attr && !strcmp(name, "media")) + { + /* + * Handle alias "media-col" which uses dimensions instead of + * names... + */ + + attr = ippFindAttribute(job->attrs, "media-col/media-size", IPP_TAG_BEGIN_COLLECTION); + } + + if (attr) + { + /* + * Add the attribute value... + */ + + for (i = 0; + i < attr->num_values && + bufptr < (buffer + sizeof(buffer) - 1); + i ++) + { + if (i) + *bufptr++ = ','; + + switch (attr->value_tag) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + snprintf(bufptr, sizeof(buffer) - (size_t)(bufptr - buffer), "%d", attr->values[i].integer); + bufptr += strlen(bufptr); + break; + + case IPP_TAG_BOOLEAN : + snprintf(bufptr, sizeof(buffer) - (size_t)(bufptr - buffer), "%d", attr->values[i].boolean); + bufptr += strlen(bufptr); + break; + + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + strlcpy(bufptr, attr->values[i].string.text, sizeof(buffer) - (size_t)(bufptr - buffer)); + bufptr += strlen(bufptr); + break; + + case IPP_TAG_BEGIN_COLLECTION : + if (!strcmp(attr->name, "media-size")) + { + ipp_attribute_t *x_dimension = ippFindAttribute(ippGetCollection(attr, 0), "x-dimension", IPP_TAG_INTEGER); + ipp_attribute_t *y_dimension = ippFindAttribute(ippGetCollection(attr, 0), "y-dimension", IPP_TAG_INTEGER); + /* Media dimensions */ + + if (x_dimension && y_dimension) + { + pwg_media_t *pwg = pwgMediaForSize(ippGetInteger(x_dimension, 0), ippGetInteger(y_dimension, 0)); + /* PWG media name */ + strlcpy(bufptr, pwg->pwg, sizeof(buffer) - (size_t)(bufptr - buffer)); + break; + } + } + + default : + strlcpy(bufptr, "???", sizeof(buffer) - (size_t)(bufptr - buffer)); + bufptr += strlen(bufptr); + break; + } + } + } + else if (bufptr < (buffer + sizeof(buffer) - 1)) + *bufptr++ = '-'; + break; + } + + default : + if (bufptr < (buffer + sizeof(buffer) - 2)) + { + *bufptr++ = '%'; + *bufptr++ = *format; + } + break; + } + } + else if (bufptr < (buffer + sizeof(buffer) - 1)) + *bufptr++ = *format; + } + + *bufptr = '\0'; + +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + if (!strcmp(PageLog, "syslog")) + { + static const char * const job_states[] = + { /* job-state strings */ + "Pending", + "PendingHeld", + "Processing", + "ProcessingStopped", + "Canceled", + "Aborted", + "Completed" + }; + + sd_journal_send("MESSAGE=%s", buffer, + "PRIORITY=%i", LOG_INFO, + PWG_Event"=JobStateChanged", + PWG_ServiceURI"=%s", job->printer->uri, + PWG_JobID"=%d", job->id, + PWG_JobState"=%s", job_states[job->state_value - IPP_JSTATE_PENDING], + PWG_JobImpressionsCompleted"=%d", ippGetInteger(job->impressions, 0), + NULL); + return (1); + } + +#elif defined(HAVE_VSYSLOG) + /* + * See if we are logging pages via syslog... + */ + + if (!strcmp(PageLog, "syslog")) + { + syslog(LOG_INFO, "%s", buffer); + + return (1); + } +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + /* + * Not using syslog; check the log file... + */ + + if (!cupsdCheckLogFile(&PageFile, PageLog)) + return (0); + + /* + * Print a page log entry of the form: + * + * printer user job-id [DD/MON/YYYY:HH:MM:SS +TTTT] page num-copies \ + * billing hostname + */ + + cupsFilePrintf(PageFile, "%s\n", buffer); + cupsFileFlush(PageFile); + + return (1); +} + + +/* + * 'cupsdLogRequest()' - Log an HTTP request in Common Log Format. + */ + +int /* O - 1 on success, 0 on error */ +cupsdLogRequest(cupsd_client_t *con, /* I - Request to log */ + http_status_t code) /* I - Response code */ +{ + char temp[2048]; /* Temporary string for URI */ + static const char * const states[] = /* HTTP client states... */ + { + "WAITING", + "OPTIONS", + "GET", + "GET", + "HEAD", + "POST", + "POST", + "POST", + "PUT", + "PUT", + "DELETE", + "TRACE", + "CLOSE", + "STATUS" + }; + + + /* + * Filter requests as needed... + */ + + if (AccessLogLevel == CUPSD_ACCESSLOG_NONE || !AccessLog) + return (1); + else if (AccessLogLevel < CUPSD_ACCESSLOG_ALL) + { + /* + * Eliminate simple GET, POST, and PUT requests... + */ + + if ((con->operation == HTTP_GET && + strncmp(con->uri, "/admin/conf", 11) && + strncmp(con->uri, "/admin/log", 10)) || + (con->operation == HTTP_POST && !con->request && + strncmp(con->uri, "/admin", 6)) || + (con->operation != HTTP_GET && con->operation != HTTP_POST && + con->operation != HTTP_PUT)) + return (1); + + if (con->request && con->response && + (con->response->request.status.status_code < IPP_REDIRECTION_OTHER_SITE || + con->response->request.status.status_code == IPP_NOT_FOUND)) + { + /* + * Check successful requests... + */ + + ipp_op_t op = con->request->request.op.operation_id; + static cupsd_accesslog_t standard_ops[] = + { + CUPSD_ACCESSLOG_ALL, /* reserved */ + CUPSD_ACCESSLOG_ALL, /* reserved */ + CUPSD_ACCESSLOG_ACTIONS,/* Print-Job */ + CUPSD_ACCESSLOG_ACTIONS,/* Print-URI */ + CUPSD_ACCESSLOG_ACTIONS,/* Validate-Job */ + CUPSD_ACCESSLOG_ACTIONS,/* Create-Job */ + CUPSD_ACCESSLOG_ACTIONS,/* Send-Document */ + CUPSD_ACCESSLOG_ACTIONS,/* Send-URI */ + CUPSD_ACCESSLOG_ACTIONS,/* Cancel-Job */ + CUPSD_ACCESSLOG_ALL, /* Get-Job-Attributes */ + CUPSD_ACCESSLOG_ALL, /* Get-Jobs */ + CUPSD_ACCESSLOG_ALL, /* Get-Printer-Attributes */ + CUPSD_ACCESSLOG_ACTIONS,/* Hold-Job */ + CUPSD_ACCESSLOG_ACTIONS,/* Release-Job */ + CUPSD_ACCESSLOG_ACTIONS,/* Restart-Job */ + CUPSD_ACCESSLOG_ALL, /* reserved */ + CUPSD_ACCESSLOG_CONFIG, /* Pause-Printer */ + CUPSD_ACCESSLOG_CONFIG, /* Resume-Printer */ + CUPSD_ACCESSLOG_CONFIG, /* Purge-Jobs */ + CUPSD_ACCESSLOG_CONFIG, /* Set-Printer-Attributes */ + CUPSD_ACCESSLOG_ACTIONS,/* Set-Job-Attributes */ + CUPSD_ACCESSLOG_CONFIG, /* Get-Printer-Supported-Values */ + CUPSD_ACCESSLOG_ACTIONS,/* Create-Printer-Subscription */ + CUPSD_ACCESSLOG_ACTIONS,/* Create-Job-Subscription */ + CUPSD_ACCESSLOG_ALL, /* Get-Subscription-Attributes */ + CUPSD_ACCESSLOG_ALL, /* Get-Subscriptions */ + CUPSD_ACCESSLOG_ACTIONS,/* Renew-Subscription */ + CUPSD_ACCESSLOG_ACTIONS,/* Cancel-Subscription */ + CUPSD_ACCESSLOG_ALL, /* Get-Notifications */ + CUPSD_ACCESSLOG_ACTIONS,/* Send-Notifications */ + CUPSD_ACCESSLOG_ALL, /* reserved */ + CUPSD_ACCESSLOG_ALL, /* reserved */ + CUPSD_ACCESSLOG_ALL, /* reserved */ + CUPSD_ACCESSLOG_ALL, /* Get-Print-Support-Files */ + CUPSD_ACCESSLOG_CONFIG, /* Enable-Printer */ + CUPSD_ACCESSLOG_CONFIG, /* Disable-Printer */ + CUPSD_ACCESSLOG_CONFIG, /* Pause-Printer-After-Current-Job */ + CUPSD_ACCESSLOG_ACTIONS,/* Hold-New-Jobs */ + CUPSD_ACCESSLOG_ACTIONS,/* Release-Held-New-Jobs */ + CUPSD_ACCESSLOG_CONFIG, /* Deactivate-Printer */ + CUPSD_ACCESSLOG_CONFIG, /* Activate-Printer */ + CUPSD_ACCESSLOG_CONFIG, /* Restart-Printer */ + CUPSD_ACCESSLOG_CONFIG, /* Shutdown-Printer */ + CUPSD_ACCESSLOG_CONFIG, /* Startup-Printer */ + CUPSD_ACCESSLOG_ACTIONS,/* Reprocess-Job */ + CUPSD_ACCESSLOG_ACTIONS,/* Cancel-Current-Job */ + CUPSD_ACCESSLOG_ACTIONS,/* Suspend-Current-Job */ + CUPSD_ACCESSLOG_ACTIONS,/* Resume-Job */ + CUPSD_ACCESSLOG_ACTIONS,/* Promote-Job */ + CUPSD_ACCESSLOG_ACTIONS /* Schedule-Job-After */ + }; + static cupsd_accesslog_t cups_ops[] = + { + CUPSD_ACCESSLOG_ALL, /* CUPS-Get-Default */ + CUPSD_ACCESSLOG_ALL, /* CUPS-Get-Printers */ + CUPSD_ACCESSLOG_CONFIG, /* CUPS-Add-Modify-Printer */ + CUPSD_ACCESSLOG_CONFIG, /* CUPS-Delete-Printer */ + CUPSD_ACCESSLOG_ALL, /* CUPS-Get-Classes */ + CUPSD_ACCESSLOG_CONFIG, /* CUPS-Add-Modify-Class */ + CUPSD_ACCESSLOG_CONFIG, /* CUPS-Delete-Class */ + CUPSD_ACCESSLOG_CONFIG, /* CUPS-Accept-Jobs */ + CUPSD_ACCESSLOG_CONFIG, /* CUPS-Reject-Jobs */ + CUPSD_ACCESSLOG_CONFIG, /* CUPS-Set-Default */ + CUPSD_ACCESSLOG_CONFIG, /* CUPS-Get-Devices */ + CUPSD_ACCESSLOG_CONFIG, /* CUPS-Get-PPDs */ + CUPSD_ACCESSLOG_ACTIONS,/* CUPS-Move-Job */ + CUPSD_ACCESSLOG_ACTIONS,/* CUPS-Authenticate-Job */ + CUPSD_ACCESSLOG_ALL /* CUPS-Get-PPD */ + }; + + + if ((op <= IPP_SCHEDULE_JOB_AFTER && standard_ops[op] > AccessLogLevel) || + (op >= CUPS_GET_DEFAULT && op <= CUPS_GET_PPD && + cups_ops[op - CUPS_GET_DEFAULT] > AccessLogLevel)) + return (1); + } + } + +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + if (!strcmp(AccessLog, "syslog")) + { + sd_journal_print(LOG_INFO, "REQUEST %s - %s \"%s %s HTTP/%d.%d\" %d " CUPS_LLFMT " %s %s", con->http->hostname, con->username[0] != '\0' ? con->username : "-", states[con->operation], _httpEncodeURI(temp, con->uri, sizeof(temp)), con->http->version / 100, con->http->version % 100, code, CUPS_LLCAST con->bytes, con->request ? ippOpString(con->request->request.op.operation_id) : "-", con->response ? ippErrorString(con->response->request.status.status_code) : "-"); + return (1); + } + +#elif defined(HAVE_VSYSLOG) + /* + * See if we are logging accesses via syslog... + */ + + if (!strcmp(AccessLog, "syslog")) + { + syslog(LOG_INFO, + "REQUEST %s - %s \"%s %s HTTP/%d.%d\" %d " CUPS_LLFMT " %s %s\n", + con->http->hostname, con->username[0] != '\0' ? con->username : "-", + states[con->operation], _httpEncodeURI(temp, con->uri, sizeof(temp)), + con->http->version / 100, con->http->version % 100, + code, CUPS_LLCAST con->bytes, + con->request ? + ippOpString(con->request->request.op.operation_id) : "-", + con->response ? + ippErrorString(con->response->request.status.status_code) : "-"); + + return (1); + } +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + /* + * Not using syslog; check the log file... + */ + + if (!cupsdCheckLogFile(&AccessFile, AccessLog)) + return (0); + + /* + * Write a log of the request in "common log format"... + */ + + cupsFilePrintf(AccessFile, + "%s - %s %s \"%s %s HTTP/%d.%d\" %d " CUPS_LLFMT " %s %s\n", + con->http->hostname, + con->username[0] != '\0' ? con->username : "-", + cupsdGetDateTime(&(con->start), LogTimeFormat), + states[con->operation], + _httpEncodeURI(temp, con->uri, sizeof(temp)), + con->http->version / 100, con->http->version % 100, + code, CUPS_LLCAST con->bytes, + con->request ? + ippOpString(con->request->request.op.operation_id) : "-", + con->response ? + ippErrorString(con->response->request.status.status_code) : + "-"); + + cupsFileFlush(AccessFile); + + return (1); +} + + +/* + * 'cupsdWriteErrorLog()' - Write a line to the ErrorLog. + */ + +int /* O - 1 on success, 0 on failure */ +cupsdWriteErrorLog(int level, /* I - Log level */ + const char *message) /* I - Message string */ +{ + int ret = 1; /* Return value */ + static const char levels[] = /* Log levels... */ + { + ' ', + 'X', + 'A', + 'C', + 'E', + 'W', + 'N', + 'I', + 'D', + 'd' + }; + + +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + if (!strcmp(ErrorLog, "syslog")) + { + sd_journal_print(log_levels[level], "%s", message); + return (1); + } + +#elif defined(HAVE_VSYSLOG) + /* + * See if we are logging errors via syslog... + */ + + if (!strcmp(ErrorLog, "syslog")) + { + syslog(log_levels[level], "%s", message); + return (1); + } +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + /* + * Not using syslog; check the log file... + */ + + _cupsMutexLock(&log_mutex); + + if (!cupsdCheckLogFile(&ErrorFile, ErrorLog)) + { + ret = 0; + } + else + { + /* + * Write the log message... + */ + + cupsFilePrintf(ErrorFile, "%c %s %s\n", levels[level], + cupsdGetDateTime(NULL, LogTimeFormat), message); + cupsFileFlush(ErrorFile); + } + + _cupsMutexUnlock(&log_mutex); + + return (ret); +} + + +/* + * 'format_log_line()' - Format a line for a log file. + * + * This function resizes a global string buffer as needed. Each call returns + * a pointer to this buffer, so the contents are only good until the next call + * to format_log_line()... + */ + +static int /* O - -1 for fatal, 0 for retry, 1 for success */ +format_log_line(const char *message, /* I - Printf-style format string */ + va_list ap) /* I - Argument list */ +{ + ssize_t len; /* Length of formatted line */ + + + /* + * Allocate the line buffer as needed... + */ + + if (!log_linesize) + { + log_linesize = 8192; + log_line = malloc(log_linesize); + + if (!log_line) + return (-1); + } + + /* + * Format the log message... + */ + + len = _cups_safe_vsnprintf(log_line, log_linesize, message, ap); + + /* + * Resize the buffer as needed... + */ + + if ((size_t)len >= log_linesize && log_linesize < 65536) + { + char *temp; /* Temporary string pointer */ + + len ++; + + if (len < 8192) + len = 8192; + else if (len > 65536) + len = 65536; + + temp = realloc(log_line, (size_t)len); + + if (temp) + { + log_line = temp; + log_linesize = (size_t)len; + + return (0); + } + } + + return (1); +} diff --git a/scheduler/main.c b/scheduler/main.c new file mode 100644 index 0000000..d5fdf97 --- /dev/null +++ b/scheduler/main.c @@ -0,0 +1,2147 @@ +/* + * Main loop for the CUPS scheduler. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#define _MAIN_C_ +#include "cupsd.h" +#include +#ifdef __APPLE__ +# include +# include +#endif /* __APPLE__ */ +#ifdef HAVE_ASL_H +# include +#elif defined(HAVE_SYSTEMD_SD_JOURNAL_H) +# define SD_JOURNAL_SUPPRESS_LOCATION +# include +#endif /* HAVE_ASL_H */ +#include +#include + +#ifdef HAVE_LAUNCH_H +# include +#endif /* HAVE_LAUNCH_H */ + +#ifdef HAVE_SYSTEMD +# include +#endif /* HAVE_SYSTEMD */ + +#ifdef HAVE_ONDEMAND +# define CUPS_KEEPALIVE CUPS_CACHEDIR "/org.cups.cupsd" + /* Name of the KeepAlive file */ +#endif /* HAVE_ONDEMAND */ + +#if defined(HAVE_MALLOC_H) && defined(HAVE_MALLINFO) +# include +#endif /* HAVE_MALLOC_H && HAVE_MALLINFO */ + +#ifdef HAVE_NOTIFY_H +# include +#endif /* HAVE_NOTIFY_H */ + +#ifdef HAVE_DBUS +# include +#endif /* HAVE_DBUS */ + +#ifdef HAVE_SYS_PARAM_H +# include +#endif /* HAVE_SYS_PARAM_H */ + + +/* + * Local functions... + */ + +static void parent_handler(int sig); +static void process_children(void); +static void sigchld_handler(int sig); +static void sighup_handler(int sig); +static void sigterm_handler(int sig); +static long select_timeout(int fds); +static void service_checkin(void); +static void service_checkout(int shutdown); +static void usage(int status) _CUPS_NORETURN; + + +/* + * Local globals... + */ + +static int parent_signal = 0; + /* Set to signal number from child */ +static int holdcount = 0; /* Number of times "hold" was called */ +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) +static sigset_t holdmask; /* Old POSIX signal mask */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ +static int dead_children = 0; + /* Dead children? */ +static int stop_scheduler = 0; + /* Should the scheduler stop? */ +static time_t local_timeout = 0; + /* Next local printer timeout */ + + +/* + * 'main()' - Main entry for the CUPS scheduler. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + char *opt; /* Option character */ + int close_all = 1, /* Close all file descriptors? */ + disconnect = 1, /* Disconnect from controlling terminal? */ + fg = 0, /* Run in foreground? */ + run_as_child = 0, + /* Running as child process? */ + print_profile = 0; + /* Print the sandbox profile to stdout? */ + int fds; /* Number of ready descriptors */ + cupsd_client_t *con; /* Current client */ + cupsd_job_t *job; /* Current job */ + cupsd_listener_t *lis; /* Current listener */ + time_t current_time, /* Current time */ + activity, /* Client activity timer */ + senddoc_time, /* Send-Document time */ + expire_time, /* Subscription expire time */ + report_time, /* Malloc/client/job report time */ + event_time; /* Last event notification time */ + long timeout; /* Timeout for cupsdDoSelect() */ + struct rlimit limit; /* Runtime limit */ +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* Actions for POSIX signals */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ +#ifdef __APPLE__ + int use_sysman = 1; /* Use system management functions? */ +#else + time_t netif_time = 0; /* Time since last network update */ +#endif /* __APPLE__ */ +#if defined(HAVE_ONDEMAND) + int service_idle_exit = 0; + /* Idle exit on select timeout? */ +#endif /* HAVE_ONDEMAND */ + + +#ifdef HAVE_GETEUID + /* + * Check for setuid invocation, which we do not support! + */ + + if (getuid() != geteuid()) + { + fputs("cupsd: Cannot run as a setuid program.\n", stderr); + return (1); + } +#endif /* HAVE_GETEUID */ + + /* + * Check for command-line arguments... + */ + + fg = 0; + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + usage(0); + else if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt != '\0'; opt ++) + { + switch (*opt) + { + case 'C' : /* Run as child with config file */ + run_as_child = 1; + fg = 1; + close_all = 0; + + case 'c' : /* Configuration file */ + i ++; + if (i >= argc) + { + _cupsLangPuts(stderr, _("cupsd: Expected config filename " + "after \"-c\" option.")); + usage(1); + } + + if (argv[i][0] == '/') + { + /* + * Absolute directory... + */ + + cupsdSetString(&ConfigurationFile, argv[i]); + } + else + { + /* + * Relative directory... + */ + + char *current; /* Current directory */ + + /* + * Allocate a buffer for the current working directory to + * reduce run-time stack usage; this approximates the + * behavior of some implementations of getcwd() when they + * are passed a NULL pointer. + */ + + if ((current = malloc(1024)) == NULL) + { + _cupsLangPuts(stderr, + _("cupsd: Unable to get current directory.")); + return (1); + } + + if (!getcwd(current, 1024)) + { + _cupsLangPuts(stderr, + _("cupsd: Unable to get current directory.")); + free(current); + return (1); + } + + cupsdSetStringf(&ConfigurationFile, "%s/%s", current, argv[i]); + free(current); + } + break; + + case 'f' : /* Run in foreground... */ + fg = 1; + disconnect = 0; + close_all = 0; + break; + + case 'F' : /* Run in foreground, but disconnect from terminal... */ + fg = 1; + close_all = 0; + break; + + case 'h' : /* Show usage/help */ + usage(0); + break; + + case 'l' : /* Started by launchd/systemd/upstart... */ +#ifdef HAVE_ONDEMAND + OnDemand = 1; + fg = 1; + close_all = 0; + disconnect = 0; +#else + _cupsLangPuts(stderr, _("cupsd: On-demand support not compiled " + "in, running in normal mode.")); + fg = 0; + disconnect = 1; + close_all = 1; +#endif /* HAVE_ONDEMAND */ + break; + + case 'p' : /* Stop immediately for profiling */ + fputs("cupsd: -p (startup profiling) is for internal testing " + "use only!\n", stderr); + stop_scheduler = 1; + fg = 1; + disconnect = 0; + close_all = 0; + break; + + case 'P' : /* Disable security profiles */ + fputs("cupsd: -P (disable sandboxing) is for internal testing use only.\n", stderr); + UseSandboxing = 0; + break; + + case 's' : /* Set cups-files.conf location */ + i ++; + if (i >= argc) + { + _cupsLangPuts(stderr, _("cupsd: Expected cups-files.conf " + "filename after \"-s\" option.")); + usage(1); + } + + if (argv[i][0] != '/') + { + /* + * Relative filename not allowed... + */ + + _cupsLangPuts(stderr, _("cupsd: Relative cups-files.conf " + "filename not allowed.")); + usage(1); + } + + cupsdSetString(&CupsFilesFile, argv[i]); + break; + +#ifdef __APPLE__ + case 'S' : /* Disable system management functions */ + fputs("cupsd: -S (disable system management) for internal " + "testing use only!\n", stderr); + use_sysman = 0; + break; +#endif /* __APPLE__ */ + + case 't' : /* Test the cupsd.conf file... */ + TestConfigFile = 1; + fg = 1; + disconnect = 0; + close_all = 0; + break; + + case 'T' : /* Print security profile */ + print_profile = 1; + fg = 1; + disconnect = 0; + close_all = 0; + break; + + default : /* Unknown option */ + _cupsLangPrintf(stderr, _("cupsd: Unknown option \"%c\" - " + "aborting."), *opt); + usage(1); + break; + } + } + } + else + { + _cupsLangPrintf(stderr, _("cupsd: Unknown argument \"%s\" - aborting."), + argv[i]); + usage(1); + } + } + + if (!ConfigurationFile) + cupsdSetString(&ConfigurationFile, CUPS_SERVERROOT "/cupsd.conf"); + + if (!CupsFilesFile) + { + char *filename, /* Copy of cupsd.conf filename */ + *slash; /* Final slash in cupsd.conf filename */ + size_t len; /* Size of buffer */ + + len = strlen(ConfigurationFile) + 15; + if ((filename = malloc(len)) == NULL) + { + _cupsLangPrintf(stderr, + _("cupsd: Unable to get path to " + "cups-files.conf file.")); + return (1); + } + + strlcpy(filename, ConfigurationFile, len); + if ((slash = strrchr(filename, '/')) == NULL) + { + free(filename); + _cupsLangPrintf(stderr, + _("cupsd: Unable to get path to " + "cups-files.conf file.")); + return (1); + } + + strlcpy(slash, "/cups-files.conf", len - (size_t)(slash - filename)); + cupsdSetString(&CupsFilesFile, filename); + free(filename); + } + + if (disconnect) + { + /* + * Make sure we aren't tying up any filesystems... + */ + + chdir("/"); + + /* + * Disconnect from the controlling terminal... + */ + + setsid(); + } + + if (close_all) + { + /* + * Close all open files... + */ + + getrlimit(RLIMIT_NOFILE, &limit); + + for (i = 0; i < (int)limit.rlim_cur && i < 1024; i ++) + close(i); + + /* + * Redirect stdin/out/err to /dev/null... + */ + + if ((i = open("/dev/null", O_RDONLY)) != 0) + { + dup2(i, 0); + close(i); + } + + if ((i = open("/dev/null", O_WRONLY)) != 1) + { + dup2(i, 1); + close(i); + } + + if ((i = open("/dev/null", O_WRONLY)) != 2) + { + dup2(i, 2); + close(i); + } + } + else + LogStderr = cupsFileStderr(); + + /* + * Run in the background as needed... + */ + + if (!fg) + { + /* + * Setup signal handlers for the parent... + */ + +#ifdef HAVE_SIGSET /* Use System V signals over POSIX to avoid bugs */ + sigset(SIGUSR1, parent_handler); + sigset(SIGCHLD, parent_handler); + + sigset(SIGHUP, SIG_IGN); +#elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + sigemptyset(&action.sa_mask); + sigaddset(&action.sa_mask, SIGUSR1); + action.sa_handler = parent_handler; + sigaction(SIGUSR1, &action, NULL); + sigaction(SIGCHLD, &action, NULL); + + sigemptyset(&action.sa_mask); + action.sa_handler = SIG_IGN; + sigaction(SIGHUP, &action, NULL); +#else + signal(SIGUSR1, parent_handler); + signal(SIGCLD, parent_handler); + + signal(SIGHUP, SIG_IGN); +#endif /* HAVE_SIGSET */ + + if (fork() > 0) + { + /* + * OK, wait for the child to startup and send us SIGUSR1 or to crash + * and the OS send us SIGCHLD... We also need to ignore SIGHUP which + * might be sent by the init script to restart the scheduler... + */ + + for (; parent_signal == 0;) + sleep(1); + + if (parent_signal == SIGUSR1) + return (0); + + if (wait(&i) < 0) + { + perror("cupsd"); + return (1); + } + else if (WIFEXITED(i)) + { + fprintf(stderr, "cupsd: Child exited with status %d\n", + WEXITSTATUS(i)); + return (2); + } + else + { + fprintf(stderr, "cupsd: Child exited on signal %d\n", WTERMSIG(i)); + return (3); + } + } + +#if defined(__OpenBSD__) && OpenBSD < 201211 + /* + * Call _thread_sys_closefrom() so the child process doesn't reset the + * parent's file descriptors to be blocking. This is a workaround for a + * limitation of userland libpthread on older versions of OpenBSD. + */ + + _thread_sys_closefrom(0); +#endif /* __OpenBSD__ && OpenBSD < 201211 */ + + /* + * Since many system libraries create fork-unsafe data on execution of a + * program, we need to re-execute the background cupsd with the "-C" and "-s" + * options to avoid problems. Unfortunately, we also have to assume that + * argv[0] contains the name of the cupsd executable - there is no portable + * way to get the real pathname... + */ + + execlp(argv[0], argv[0], "-C", ConfigurationFile, "-s", CupsFilesFile, (char *)0); + exit(errno); + } + + /* + * Let the system know we are busy while we bring up cupsd... + */ + + cupsdSetBusyState(1); + + /* + * Set the timezone info... + */ + + tzset(); + +#ifdef LC_TIME + setlocale(LC_TIME, ""); +#endif /* LC_TIME */ + +#ifdef HAVE_DBUS_THREADS_INIT + /* + * Enable threading support for D-BUS... + */ + + dbus_threads_init_default(); +#endif /* HAVE_DBUS_THREADS_INIT */ + + /* + * Set the maximum number of files... + */ + + getrlimit(RLIMIT_NOFILE, &limit); + +#if !defined(HAVE_POLL) && !defined(HAVE_EPOLL) && !defined(HAVE_KQUEUE) + if (limit.rlim_max > FD_SETSIZE) + MaxFDs = FD_SETSIZE; + else +#endif /* !HAVE_POLL && !HAVE_EPOLL && !HAVE_KQUEUE */ +#ifdef RLIM_INFINITY + if (limit.rlim_max == RLIM_INFINITY) + MaxFDs = 16384; + else +#endif /* RLIM_INFINITY */ + MaxFDs = limit.rlim_max; + + limit.rlim_cur = (rlim_t)MaxFDs; + + setrlimit(RLIMIT_NOFILE, &limit); + + cupsdStartSelect(); + + /* + * Read configuration... + */ + + if (!cupsdReadConfiguration()) + return (1); + else if (TestConfigFile) + { + printf("\"%s\" is OK.\n", CupsFilesFile); + printf("\"%s\" is OK.\n", ConfigurationFile); + return (0); + } + else if (print_profile) + { + cups_file_t *fp; /* File pointer */ + const char *profile = cupsdCreateProfile(42, 0); + /* Profile */ + char line[1024]; /* Line from file */ + + + if ((fp = cupsFileOpen(profile, "r")) == NULL) + { + printf("Unable to open profile file \"%s\": %s\n", profile ? profile : "(null)", strerror(errno)); + return (1); + } + + while (cupsFileGets(fp, line, sizeof(line))) + puts(line); + + cupsFileClose(fp); + + return (0); + } + + /* + * Clean out old temp files and printer cache data. + */ + + if (!strncmp(TempDir, RequestRoot, strlen(RequestRoot))) + cupsdCleanFiles(TempDir, NULL); + + cupsdCleanFiles(CacheDir, "*.ipp"); + + /* + * If we were started on demand by launchd or systemd get the listen sockets + * file descriptors... + */ + + service_checkin(); + service_checkout(0); + + /* + * Startup the server... + */ + + httpInitialize(); + + cupsdStartServer(); + + /* + * Catch hangup and child signals and ignore broken pipes... + */ + +#ifdef HAVE_SIGSET /* Use System V signals over POSIX to avoid bugs */ + sigset(SIGCHLD, sigchld_handler); + sigset(SIGHUP, sighup_handler); + sigset(SIGPIPE, SIG_IGN); + sigset(SIGTERM, sigterm_handler); +#elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + + sigemptyset(&action.sa_mask); + sigaddset(&action.sa_mask, SIGTERM); + sigaddset(&action.sa_mask, SIGCHLD); + action.sa_handler = sigchld_handler; + sigaction(SIGCHLD, &action, NULL); + + sigemptyset(&action.sa_mask); + sigaddset(&action.sa_mask, SIGHUP); + action.sa_handler = sighup_handler; + sigaction(SIGHUP, &action, NULL); + + sigemptyset(&action.sa_mask); + action.sa_handler = SIG_IGN; + sigaction(SIGPIPE, &action, NULL); + + sigemptyset(&action.sa_mask); + sigaddset(&action.sa_mask, SIGTERM); + sigaddset(&action.sa_mask, SIGCHLD); + action.sa_handler = sigterm_handler; + sigaction(SIGTERM, &action, NULL); +#else + signal(SIGCLD, sigchld_handler); /* No, SIGCLD isn't a typo... */ + signal(SIGHUP, sighup_handler); + signal(SIGPIPE, SIG_IGN); + signal(SIGTERM, sigterm_handler); +#endif /* HAVE_SIGSET */ + + /* + * Initialize authentication certificates... + */ + + cupsdInitCerts(); + + /* + * If we are running in the background, signal the parent process that + * we are up and running... + */ + + if (!fg || run_as_child) + { + /* + * Send a signal to the parent process, but only if the parent is + * not PID 1 (init). This avoids accidentally shutting down the + * system on OpenBSD if you CTRL-C the server before it is up... + */ + + i = getppid(); /* Save parent PID to avoid race condition */ + + if (i != 1) + kill(i, SIGUSR1); + } + +#ifdef __APPLE__ + /* + * Start power management framework... + */ + + if (use_sysman) + cupsdStartSystemMonitor(); +#endif /* __APPLE__ */ + + /* + * Send server-started event... + */ + +#ifdef HAVE_ONDEMAND + if (OnDemand) + cupsdAddEvent(CUPSD_EVENT_SERVER_STARTED, NULL, NULL, "Scheduler started on demand."); + else +#endif /* HAVE_ONDEMAND */ + if (fg) + cupsdAddEvent(CUPSD_EVENT_SERVER_STARTED, NULL, NULL, "Scheduler started in foreground."); + else + cupsdAddEvent(CUPSD_EVENT_SERVER_STARTED, NULL, NULL, "Scheduler started in background."); + + cupsdSetBusyState(0); + + /* + * Start any pending print jobs... + */ + + cupsdCheckJobs(); + + /* + * Loop forever... + */ + + current_time = time(NULL); + event_time = current_time; + expire_time = current_time; + local_timeout = 0; + fds = 1; + report_time = 0; + senddoc_time = current_time; + + while (!stop_scheduler) + { + /* + * Check if there are dead children to handle... + */ + + if (dead_children) + process_children(); + + /* + * Check if we need to load the server configuration file... + */ + + if (NeedReload) + { + /* + * Close any idle clients... + */ + + if (cupsArrayCount(Clients) > 0) + { + for (con = (cupsd_client_t *)cupsArrayFirst(Clients); + con; + con = (cupsd_client_t *)cupsArrayNext(Clients)) + if (httpGetState(con->http) == HTTP_WAITING) + cupsdCloseClient(con); + else + con->http->keep_alive = HTTP_KEEPALIVE_OFF; + + cupsdPauseListening(); + } + + /* + * Restart if all clients are closed and all jobs finished, or + * if the reload timeout has elapsed... + */ + + if ((cupsArrayCount(Clients) == 0 && + (cupsArrayCount(PrintingJobs) == 0 || NeedReload != RELOAD_ALL)) || + (time(NULL) - ReloadTime) >= ReloadTimeout) + { + /* + * Shutdown the server... + */ + +#ifdef HAVE_ONDEMAND + if (OnDemand) + { +# ifndef HAVE_SYSTEMD /* Issue #5640: systemd doesn't actually support launch-on-demand services, need to fake it */ + stop_scheduler = 1; +# endif /* HAVE_SYSTEMD */ + break; + } +#endif /* HAVE_ONDEMAND */ + + DoingShutdown = 1; + + cupsdStopServer(); + + /* + * Read configuration... + */ + + if (!cupsdReadConfiguration()) + { +#ifdef HAVE_SYSTEMD_SD_JOURNAL_H + sd_journal_print(LOG_ERR, "Unable to read configuration file \"%s\" - exiting.", ConfigurationFile); +#else + syslog(LOG_LPR, "Unable to read configuration file \'%s\' - exiting.", ConfigurationFile); +#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ + + break; + } + + /* + * Startup the server... + */ + + DoingShutdown = 0; + + cupsdStartServer(); + + /* + * Send a server-restarted event... + */ + + cupsdAddEvent(CUPSD_EVENT_SERVER_RESTARTED, NULL, NULL, + "Scheduler restarted."); + } + } + + /* + * Check for available input or ready output. If cupsdDoSelect() + * returns 0 or -1, something bad happened and we should exit + * immediately. + * + * Note that we at least have one listening socket open at all + * times. + */ + + if ((timeout = select_timeout(fds)) > 1 && LastEvent) + timeout = 1; + +#ifdef HAVE_ONDEMAND + /* + * If no other work is scheduled and we're being controlled by launchd, + * systemd, etc. then timeout after 'IdleExitTimeout' seconds of + * inactivity... + */ + + if (timeout == 86400 && OnDemand && IdleExitTimeout && +# ifdef HAVE_SYSTEMD + !WebInterface && +# endif /* HAVE_SYSTEMD */ + !cupsArrayCount(ActiveJobs)) + { + cupsd_printer_t *p = NULL; /* Current printer */ + + if (Browsing && BrowseLocalProtocols) + { + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); p; p = (cupsd_printer_t *)cupsArrayNext(Printers)) + if (p->shared) + break; + } + + if (!p) + { + timeout = IdleExitTimeout; + service_idle_exit = 1; + } + } + else + service_idle_exit = 0; +#endif /* HAVE_ONDEMAND */ + + if ((fds = cupsdDoSelect(timeout)) < 0) + { + /* + * Got an error from select! + */ + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + cupsd_printer_t *p; /* Current printer */ +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + if (errno == EINTR) /* Just interrupted by a signal */ + continue; + + /* + * Log all sorts of debug info to help track down the problem. + */ + + cupsdLogMessage(CUPSD_LOG_EMERG, "cupsdDoSelect() failed - %s!", + strerror(errno)); + + for (i = 0, con = (cupsd_client_t *)cupsArrayFirst(Clients); + con; + i ++, con = (cupsd_client_t *)cupsArrayNext(Clients)) + cupsdLogMessage(CUPSD_LOG_EMERG, + "Clients[%d] = %d, file = %d, state = %d", + i, con->number, con->file, httpGetState(con->http)); + + for (i = 0, lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); + lis; + i ++, lis = (cupsd_listener_t *)cupsArrayNext(Listeners)) + cupsdLogMessage(CUPSD_LOG_EMERG, "Listeners[%d] = %d", i, lis->fd); + + cupsdLogMessage(CUPSD_LOG_EMERG, "CGIPipes[0] = %d", CGIPipes[0]); + +#ifdef __APPLE__ + cupsdLogMessage(CUPSD_LOG_EMERG, "SysEventPipes[0] = %d", + SysEventPipes[0]); +#endif /* __APPLE__ */ + + for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs); + job; + job = (cupsd_job_t *)cupsArrayNext(ActiveJobs)) + cupsdLogMessage(CUPSD_LOG_EMERG, "Jobs[%d] = %d < [%d %d] > [%d %d]", + job->id, + job->status_buffer ? job->status_buffer->fd : -1, + job->print_pipes[0], job->print_pipes[1], + job->back_pipes[0], job->back_pipes[1]); + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + cupsdLogMessage(CUPSD_LOG_EMERG, "printer[%s] reg_name=\"%s\"", p->name, + p->reg_name ? p->reg_name : "(null)"); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + break; + } + + current_time = time(NULL); + + /* + * Write dirty config/state files... + */ + + if (DirtyCleanTime && current_time >= DirtyCleanTime) + cupsdCleanDirty(); + +#ifdef __APPLE__ + /* + * If we are going to sleep and still have pending jobs, stop them after + * a period of time... + */ + + if (SleepJobs > 0 && current_time >= SleepJobs && + cupsArrayCount(PrintingJobs) > 0) + { + SleepJobs = 0; + cupsdStopAllJobs(CUPSD_JOB_DEFAULT, 5); + } +#endif /* __APPLE__ */ + +#ifndef __APPLE__ + /* + * Update the network interfaces once a minute... + */ + + if ((current_time - netif_time) >= 60) + { + netif_time = current_time; + NetIFUpdate = 1; + } +#endif /* !__APPLE__ */ + +#ifdef HAVE_ONDEMAND + /* + * If no other work was scheduled and we're being controlled by launchd, + * systemd, or upstart then timeout after 'LaunchdTimeout' seconds of + * inactivity... + */ + + if (!fds && service_idle_exit) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "Printer sharing is off and there are no jobs pending, " + "will restart on demand."); + stop_scheduler = 1; + break; + } +#endif /* HAVE_ONDEMAND */ + + /* + * Resume listening for new connections as needed... + */ + + if (ListeningPaused && ListeningPaused <= current_time && + cupsArrayCount(Clients) < MaxClients) + cupsdResumeListening(); + + /* + * Expire subscriptions and unload completed jobs as needed... + */ + + if (current_time > expire_time) + { + cupsdExpireSubscriptions(NULL, NULL); + + cupsdUnloadCompletedJobs(); + + expire_time = current_time; + } + + /* + * Delete stale local printers... + */ + + if (current_time >= local_timeout) + { + cupsdDeleteTemporaryPrinters(0); + local_timeout = 0; + } + +#ifndef HAVE_AUTHORIZATION_H + /* + * Update the root certificate once every 5 minutes if we have client + * connections... + */ + + if ((current_time - RootCertTime) >= RootCertDuration && RootCertDuration && + !RunUser && cupsArrayCount(Clients)) + { + /* + * Update the root certificate... + */ + + cupsdDeleteCert(0); + cupsdAddCert(0, "root", cupsdDefaultAuthType()); + } +#endif /* !HAVE_AUTHORIZATION_H */ + + /* + * Clean job history... + */ + + if (JobHistoryUpdate && current_time >= JobHistoryUpdate) + cupsdCleanJobs(); + + /* + * Update any pending multi-file documents... + */ + + if ((current_time - senddoc_time) >= 10) + { + cupsdCheckJobs(); + senddoc_time = current_time; + } + + /* + * Check for new data on the client sockets... + */ + + for (con = (cupsd_client_t *)cupsArrayFirst(Clients); + con; + con = (cupsd_client_t *)cupsArrayNext(Clients)) + { + /* + * Process pending data in the input buffer... + */ + + if (httpGetReady(con->http)) + { + cupsdReadClient(con); + continue; + } + + /* + * Check the activity and close old clients... + */ + + activity = current_time - Timeout; + if (httpGetActivity(con->http) < activity && !con->pipe_pid) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "Closing client %d after %d seconds of inactivity.", con->number, Timeout); + + cupsdCloseClient(con); + continue; + } + } + + /* + * Log statistics at most once a minute when in debug mode... + */ + + if ((current_time - report_time) >= 60 && LogLevel >= CUPSD_LOG_DEBUG) + { + size_t string_count, /* String count */ + alloc_bytes, /* Allocated string bytes */ + total_bytes; /* Total string bytes */ +#ifdef HAVE_MALLINFO + struct mallinfo mem; /* Malloc information */ + + + mem = mallinfo(); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Report: malloc-arena=%lu", mem.arena); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Report: malloc-used=%lu", + mem.usmblks + mem.uordblks); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Report: malloc-free=%lu", + mem.fsmblks + mem.fordblks); +#endif /* HAVE_MALLINFO */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Report: clients=%d", + cupsArrayCount(Clients)); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Report: jobs=%d", + cupsArrayCount(Jobs)); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Report: jobs-active=%d", + cupsArrayCount(ActiveJobs)); + cupsdLogMessage(CUPSD_LOG_DEBUG, "Report: printers=%d", + cupsArrayCount(Printers)); + + string_count = _cupsStrStatistics(&alloc_bytes, &total_bytes); + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Report: stringpool-string-count=" CUPS_LLFMT, + CUPS_LLCAST string_count); + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Report: stringpool-alloc-bytes=" CUPS_LLFMT, + CUPS_LLCAST alloc_bytes); + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Report: stringpool-total-bytes=" CUPS_LLFMT, + CUPS_LLCAST total_bytes); + + report_time = current_time; + } + + /* + * Handle OS-specific event notification for any events that have + * accumulated. Don't send these more than once a second... + */ + + if (LastEvent && (current_time - event_time) >= 1) + { +#ifdef HAVE_NOTIFY_POST + if (LastEvent & (CUPSD_EVENT_PRINTER_ADDED | + CUPSD_EVENT_PRINTER_DELETED | + CUPSD_EVENT_PRINTER_MODIFIED)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "notify_post(\"com.apple.printerListChange\")"); + notify_post("com.apple.printerListChange"); + } + + if (LastEvent & CUPSD_EVENT_PRINTER_STATE_CHANGED) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "notify_post(\"com.apple.printerHistoryChange\")"); + notify_post("com.apple.printerHistoryChange"); + } + + if (LastEvent & (CUPSD_EVENT_JOB_STATE_CHANGED | + CUPSD_EVENT_JOB_CONFIG_CHANGED | + CUPSD_EVENT_JOB_PROGRESS)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "notify_post(\"com.apple.jobChange\")"); + notify_post("com.apple.jobChange"); + } +#endif /* HAVE_NOTIFY_POST */ + + /* + * Reset the accumulated events... + */ + + LastEvent = CUPSD_EVENT_NONE; + event_time = current_time; + } + } + + /* + * Log a message based on what happened... + */ + + if (stop_scheduler) + { + cupsdLogMessage(CUPSD_LOG_INFO, "Scheduler shutting down normally."); + cupsdAddEvent(CUPSD_EVENT_SERVER_STOPPED, NULL, NULL, + "Scheduler shutting down normally."); + } + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Scheduler shutting down due to program error."); + cupsdAddEvent(CUPSD_EVENT_SERVER_STOPPED, NULL, NULL, + "Scheduler shutting down due to program error."); + } + + /* + * Close all network clients... + */ + + DoingShutdown = 1; + + cupsdStopServer(); + + /* + * Update the KeepAlive/PID file as needed... + */ + + service_checkout(1); + + /* + * Stop all jobs... + */ + + cupsdFreeAllJobs(); + + /* + * Delete all temporary printers... + */ + + cupsdDeleteTemporaryPrinters(1); + +#ifdef __APPLE__ + /* + * Stop monitoring system event monitoring... + */ + + if (use_sysman) + cupsdStopSystemMonitor(); +#endif /* __APPLE__ */ + + cupsdStopSelect(); + + return (!stop_scheduler); +} + + +/* + * 'cupsdAddString()' - Copy and add a string to an array. + */ + +int /* O - 1 on success, 0 on failure */ +cupsdAddString(cups_array_t **a, /* IO - String array */ + const char *s) /* I - String to copy and add */ +{ + if (!*a) + *a = cupsArrayNew3((cups_array_func_t)strcmp, NULL, + (cups_ahash_func_t)NULL, 0, + (cups_acopy_func_t)strdup, + (cups_afree_func_t)free); + + return (cupsArrayAdd(*a, (char *)s)); +} + + +/* + * 'cupsdCheckProcess()' - Tell the main loop to check for dead children. + */ + +void +cupsdCheckProcess(void) +{ + /* + * Flag that we have dead children... + */ + + dead_children = 1; +} + + +/* + * 'cupsdClearString()' - Clear a string. + */ + +void +cupsdClearString(char **s) /* O - String value */ +{ + if (s && *s) + { + free(*s); + *s = NULL; + } +} + + +/* + * 'cupsdFreeStrings()' - Free an array of strings. + */ + +void +cupsdFreeStrings(cups_array_t **a) /* IO - String array */ +{ + if (*a) + { + cupsArrayDelete(*a); + *a = NULL; + } +} + + +/* + * 'cupsdHoldSignals()' - Hold child and termination signals. + */ + +void +cupsdHoldSignals(void) +{ +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + sigset_t newmask; /* New POSIX signal mask */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ + + + holdcount ++; + if (holdcount > 1) + return; + +#ifdef HAVE_SIGSET + sighold(SIGTERM); + sighold(SIGCHLD); +#elif defined(HAVE_SIGACTION) + sigemptyset(&newmask); + sigaddset(&newmask, SIGTERM); + sigaddset(&newmask, SIGCHLD); + sigprocmask(SIG_BLOCK, &newmask, &holdmask); +#endif /* HAVE_SIGSET */ +} + + +/* + * 'cupsdReleaseSignals()' - Release signals for delivery. + */ + +void +cupsdReleaseSignals(void) +{ + holdcount --; + if (holdcount > 0) + return; + +#ifdef HAVE_SIGSET + sigrelse(SIGTERM); + sigrelse(SIGCHLD); +#elif defined(HAVE_SIGACTION) + sigprocmask(SIG_SETMASK, &holdmask, NULL); +#endif /* HAVE_SIGSET */ +} + + +/* + * 'cupsdSetString()' - Set a string value. + */ + +void +cupsdSetString(char **s, /* O - New string */ + const char *v) /* I - String value */ +{ + if (!s || *s == v) + return; + + if (*s) + free(*s); + + if (v) + *s = strdup(v); + else + *s = NULL; +} + + +/* + * 'cupsdSetStringf()' - Set a formatted string value. + */ + +void +cupsdSetStringf(char **s, /* O - New string */ + const char *f, /* I - Printf-style format string */ + ...) /* I - Additional args as needed */ +{ + char v[65536 + 64]; /* Formatting string value */ + va_list ap; /* Argument pointer */ + char *olds; /* Old string */ + + + if (!s) + return; + + olds = *s; + + if (f) + { + va_start(ap, f); + vsnprintf(v, sizeof(v), f, ap); + va_end(ap); + + *s = strdup(v); + } + else + *s = NULL; + + if (olds) + free(olds); +} + + +/* + * 'parent_handler()' - Catch USR1/CHLD signals... + */ + +static void +parent_handler(int sig) /* I - Signal */ +{ + /* + * Store the signal we got from the OS and return... + */ + + parent_signal = sig; +} + + +/* + * 'process_children()' - Process all dead children... + */ + +static void +process_children(void) +{ + int status; /* Exit status of child */ + int pid, /* Process ID of child */ + job_id; /* Job ID of child */ + cupsd_job_t *job; /* Current job */ + int i; /* Looping var */ + char name[1024]; /* Process name */ + const char *type; /* Type of program */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "process_children()"); + + /* + * Reset the dead_children flag... + */ + + dead_children = 0; + + /* + * Collect the exit status of some children... + */ + +#ifdef HAVE_WAITPID + while ((pid = waitpid(-1, &status, WNOHANG)) > 0) +#elif defined(HAVE_WAIT3) + while ((pid = wait3(&status, WNOHANG, NULL)) > 0) +#else + if ((pid = wait(&status)) > 0) +#endif /* HAVE_WAITPID */ + { + /* + * Collect the name of the process that finished... + */ + + cupsdFinishProcess(pid, name, sizeof(name), &job_id); + + /* + * Delete certificates for CGI processes... + */ + + if (pid) + cupsdDeleteCert(pid); + + /* + * Handle completed job filters... + */ + + if (job_id > 0) + job = cupsdFindJob(job_id); + else + job = NULL; + + if (job) + { + for (i = 0; job->filters[i]; i ++) + if (job->filters[i] == pid) + break; + + if (job->filters[i] || job->backend == pid) + { + /* + * OK, this process has gone away; what's left? + */ + + if (job->filters[i]) + { + job->filters[i] = -pid; + type = "Filter"; + } + else + { + job->backend = -pid; + type = "Backend"; + } + + if (status && status != SIGTERM && status != SIGKILL && + status != SIGPIPE) + { + /* + * An error occurred; save the exit status so we know to stop + * the printer or cancel the job when all of the filters finish... + * + * A negative status indicates that the backend failed and the + * printer needs to be stopped. + * + * In order to preserve the most serious status, we always log + * when a process dies due to a signal (e.g. SIGABRT, SIGSEGV, + * and SIGBUS) and prefer to log the backend exit status over a + * filter's. + */ + + int old_status = abs(job->status); + + if (WIFSIGNALED(status) || /* This process crashed, or */ + !job->status || /* No process had a status, or */ + (!job->filters[i] && WIFEXITED(old_status))) + { /* Backend and filter didn't crash */ + if (job->filters[i]) + { + job->status = status; /* Filter failed */ + } + else + { + job->status = -status; /* Backend failed */ + + if (job->current_file < job->num_files) + cupsdSetJobState(job, IPP_JOB_ABORTED, CUPSD_JOB_FORCE, "Canceling multi-file job due to backend failure."); + } + } + + if (job->state_value == IPP_JOB_PROCESSING && + job->status_level > CUPSD_LOG_ERROR && + (job->filters[i] || !WIFEXITED(status))) + { + char message[1024]; /* New printer-state-message */ + + + job->status_level = CUPSD_LOG_ERROR; + + snprintf(message, sizeof(message), "%s failed", type); + + if (job->printer) + { + strlcpy(job->printer->state_message, message, + sizeof(job->printer->state_message)); + } + + if (!job->attrs) + cupsdLoadJob(job); + + if (!job->printer_message && job->attrs) + { + if ((job->printer_message = + ippFindAttribute(job->attrs, "job-printer-state-message", + IPP_TAG_TEXT)) == NULL) + job->printer_message = ippAddString(job->attrs, IPP_TAG_JOB, + IPP_TAG_TEXT, + "job-printer-state-message", + NULL, NULL); + } + + if (job->printer_message) + ippSetString(job->attrs, &job->printer_message, 0, message); + } + } + + /* + * If this is not the last file in a job, see if all of the + * filters are done, and if so move to the next file. + */ + + if (job->state_value >= IPP_JOB_CANCELED) + { + /* + * Remove the job from the active list if there are no processes still + * running for it... + */ + + for (i = 0; job->filters[i] < 0; i++); + + if (!job->filters[i] && job->backend <= 0) + cupsArrayRemove(ActiveJobs, job); + } + else if (job->current_file < job->num_files && job->printer) + { + for (i = 0; job->filters[i] < 0; i ++); + + if (!job->filters[i] && + (!job->printer->pc || !job->printer->pc->single_file || + job->backend <= 0)) + { + /* + * Process the next file... + */ + + cupsdContinueJob(job); + } + } + } + } + + /* + * Show the exit status as needed, ignoring SIGTERM and SIGKILL errors + * since they come when we kill/end a process... + */ + + if (status == SIGTERM || status == SIGKILL) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "PID %d (%s) was terminated normally with signal %d.", pid, + name, status); + } + else if (status == SIGPIPE) + { + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "PID %d (%s) did not catch or ignore signal %d.", pid, name, + status); + } + else if (status) + { + if (WIFEXITED(status)) + { + int code = WEXITSTATUS(status); /* Exit code */ + + if (code > 100) + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "PID %d (%s) stopped with status %d (%s)", pid, name, + code, strerror(code - 100)); + else + cupsdLogJob(job, CUPSD_LOG_DEBUG, + "PID %d (%s) stopped with status %d.", pid, name, code); + } + else + cupsdLogJob(job, CUPSD_LOG_DEBUG, "PID %d (%s) crashed on signal %d.", + pid, name, WTERMSIG(status)); + + if (LogLevel < CUPSD_LOG_DEBUG) + cupsdLogJob(job, CUPSD_LOG_INFO, + "Hint: Try setting the LogLevel to \"debug\" to find out " + "more."); + } + else + cupsdLogJob(job, CUPSD_LOG_DEBUG, "PID %d (%s) exited with no errors.", + pid, name); + } + + /* + * If wait*() is interrupted by a signal, tell main() to call us again... + */ + + if (pid < 0 && errno == EINTR) + dead_children = 1; +} + + +/* + * 'select_timeout()' - Calculate the select timeout value. + * + */ + +static long /* O - Number of seconds */ +select_timeout(int fds) /* I - Number of descriptors returned */ +{ + long timeout; /* Timeout for select */ + time_t now; /* Current time */ + cupsd_client_t *con; /* Client information */ + cupsd_job_t *job; /* Job information */ + const char *why; /* Debugging aid */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "select_timeout: JobHistoryUpdate=%ld", + (long)JobHistoryUpdate); + + /* + * Check to see if any of the clients have pending data to be + * processed; if so, the timeout should be 0... + */ + + for (con = (cupsd_client_t *)cupsArrayFirst(Clients); + con; + con = (cupsd_client_t *)cupsArrayNext(Clients)) + if (httpGetReady(con->http)) + return (0); + + /* + * If select has been active in the last second (fds > 0) or we have + * many resources in use then don't bother trying to optimize the + * timeout, just make it 1 second. + */ + + if (fds > 0 || cupsArrayCount(Clients) > 50) + return (1); + + /* + * Otherwise, check all of the possible events that we need to wake for... + */ + + now = time(NULL); + timeout = now + 86400; /* 86400 == 1 day */ + why = "do nothing"; + +#ifdef __APPLE__ + /* + * When going to sleep, wake up to abort jobs that don't complete in time. + */ + + if (SleepJobs > 0 && SleepJobs < timeout) + { + timeout = SleepJobs; + why = "abort jobs before sleeping"; + } +#endif /* __APPLE__ */ + + /* + * Check whether we are accepting new connections... + */ + + if (ListeningPaused > 0 && cupsArrayCount(Clients) < MaxClients && + ListeningPaused < timeout) + { + if (ListeningPaused <= now) + timeout = now; + else + timeout = ListeningPaused; + + why = "resume listening"; + } + + /* + * Check the activity and close old clients... + */ + + for (con = (cupsd_client_t *)cupsArrayFirst(Clients); + con; + con = (cupsd_client_t *)cupsArrayNext(Clients)) + if ((httpGetActivity(con->http) + Timeout) < timeout) + { + timeout = httpGetActivity(con->http) + Timeout; + why = "timeout a client connection"; + } + + /* + * Write out changes to configuration and state files... + */ + + if (DirtyCleanTime && timeout > DirtyCleanTime) + { + timeout = DirtyCleanTime; + why = "write dirty config/state files"; + } + + /* + * Check for any job activity... + */ + + for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs); + job; + job = (cupsd_job_t *)cupsArrayNext(ActiveJobs)) + { + if (job->cancel_time && job->cancel_time < timeout) + { + timeout = job->cancel_time; + why = "cancel stuck jobs"; + } + + if (job->kill_time && job->kill_time < timeout) + { + timeout = job->kill_time; + why = "kill unresponsive jobs"; + } + + if (job->state_value == IPP_JOB_HELD && job->hold_until < timeout) + { + timeout = job->hold_until; + why = "release held jobs"; + } + + if (job->state_value == IPP_JOB_PENDING && timeout > (now + 10)) + { + timeout = now + 10; + why = "start pending jobs"; + break; + } + } + + /* + * Adjust from absolute to relative time. We add 1 second to the timeout since + * events occur after the timeout expires, and limit the timeout to 86400 + * seconds (1 day) to avoid select() timeout limits present on some operating + * systems... + */ + + timeout = timeout - now + 1; + + if (timeout < 1) + timeout = 1; + else if (timeout > 86400) + timeout = 86400; + + /* + * Log and return the timeout value... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "select_timeout(%d): %ld seconds to %s", + fds, timeout, why); + + return (timeout); +} + + +/* + * 'sigchld_handler()' - Handle 'child' signals from old processes. + */ + +static void +sigchld_handler(int sig) /* I - Signal number */ +{ + (void)sig; + + /* + * Flag that we have dead children... + */ + + dead_children = 1; + + /* + * Reset the signal handler as needed... + */ + +#if !defined(HAVE_SIGSET) && !defined(HAVE_SIGACTION) + signal(SIGCLD, sigchld_handler); +#endif /* !HAVE_SIGSET && !HAVE_SIGACTION */ +} + + +/* + * 'sighup_handler()' - Handle 'hangup' signals to reconfigure the scheduler. + */ + +static void +sighup_handler(int sig) /* I - Signal number */ +{ + (void)sig; + + NeedReload = RELOAD_ALL; + ReloadTime = time(NULL); + +#if !defined(HAVE_SIGSET) && !defined(HAVE_SIGACTION) + signal(SIGHUP, sighup_handler); +#endif /* !HAVE_SIGSET && !HAVE_SIGACTION */ +} + + +/* + * 'sigterm_handler()' - Handle 'terminate' signals that stop the scheduler. + */ + +static void +sigterm_handler(int sig) /* I - Signal number */ +{ + (void)sig; /* remove compiler warnings... */ + + /* + * Flag that we should stop and return... + */ + + stop_scheduler = 1; +} + + +#ifdef HAVE_ONDEMAND +/* + * 'service_add_listener()' - Bind an open fd as a Listener. + */ + +static void +service_add_listener(int fd, /* I - Socket file descriptor */ + int idx) /* I - Listener number, for logging */ +{ + cupsd_listener_t *lis; /* Listeners array */ + http_addr_t addr; /* Address variable */ + socklen_t addrlen; /* Length of address */ + char s[256]; /* String addresss */ + + + addrlen = sizeof(addr); + + if (getsockname(fd, (struct sockaddr *)&addr, &addrlen)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "service_add_listener: Unable to get local address for listener #%d: %s", idx + 1, strerror(errno)); + return; + } + + cupsdLogMessage(CUPSD_LOG_DEBUG, "service_add_listener: Listener #%d at fd %d, \"%s\".", idx + 1, fd, httpAddrString(&addr, s, sizeof(s))); + + /* + * Try to match the on-demand socket address to one of the listeners... + */ + + for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); + lis; + lis = (cupsd_listener_t *)cupsArrayNext(Listeners)) + if (httpAddrEqual(&lis->address, &addr)) + break; + + /* + * Add a new listener If there's no match... + */ + + if (lis) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "service_add_listener: Matched existing listener #%d to %s.", idx + 1, httpAddrString(&(lis->address), s, sizeof(s))); + } + else + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "service_add_listener: Adding new listener #%d for %s.", idx + 1, httpAddrString(&addr, s, sizeof(s))); + + if ((lis = calloc(1, sizeof(cupsd_listener_t))) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "service_add_listener: Unable to allocate listener: %s.", strerror(errno)); + exit(EXIT_FAILURE); + return; + } + + cupsArrayAdd(Listeners, lis); + + memcpy(&lis->address, &addr, sizeof(lis->address)); + } + + lis->fd = fd; + lis->on_demand = 1; + +# ifdef HAVE_SSL + if (httpAddrPort(&(lis->address)) == 443) + lis->encryption = HTTP_ENCRYPT_ALWAYS; +# endif /* HAVE_SSL */ +} +#endif /* HAVE_ONDEMAND */ + + +/* + * 'service_checkin()' - Check-in with launchd and collect the listening fds. + */ + +static void +service_checkin(void) +{ + cupsdLogMessage(CUPSD_LOG_DEBUG, "service_checkin: pid=%d", (int)getpid()); + +#ifdef HAVE_LAUNCHD + if (OnDemand) + { + int error; /* Check-in error, if any */ + size_t i, /* Looping var */ + count; /* Number of listeners */ + int *ld_sockets; /* Listener sockets */ + +# ifdef __APPLE__ + /* + * Force "user initiated" priority for the main thread... + */ + + pthread_set_qos_class_self_np(QOS_CLASS_USER_INITIATED, 0); +# endif /* __APPLE__ */ + + /* + * Check-in with launchd... + */ + + if ((error = launch_activate_socket("Listeners", &ld_sockets, &count)) != 0) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "service_checkin: Unable to get listener sockets: %s", strerror(error)); + exit(EXIT_FAILURE); + return; /* anti-compiler-warning */ + } + + /* + * Try to match the launchd sockets to the cupsd listeners... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "service_checkin: %d listeners.", (int)count); + + for (i = 0; i < count; i ++) + service_add_listener(ld_sockets[i], (int)i); + + free(ld_sockets); + +# ifdef __APPLE__ + xpc_transaction_begin(); +# endif /* __APPLE__ */ + } + +#elif defined(HAVE_SYSTEMD) + if (OnDemand) + { + int i, /* Looping var */ + count; /* Number of listeners */ + + /* + * Check-in with systemd... + */ + + if ((count = sd_listen_fds(0)) < 0) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "service_checkin: Unable to get listener sockets: %s", strerror(-count)); + exit(EXIT_FAILURE); + return; /* anti-compiler-warning */ + } + + /* + * Try to match the systemd sockets to the cupsd listeners... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "service_checkin: %d listeners.", count); + + for (i = 0; i < count; i ++) + service_add_listener(SD_LISTEN_FDS_START + i, i); + } + +#elif defined(HAVE_UPSTART) + if (OnDemand) + { + const char *e; /* Environment var */ + int fd; /* File descriptor */ + + + if (!(e = getenv("UPSTART_EVENTS"))) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "service_checkin: We did not get started via Upstart."); + exit(EXIT_FAILURE); + return; + } + + if (strcasecmp(e, "socket")) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "service_checkin: We did not get triggered via an Upstart socket event."); + exit(EXIT_FAILURE); + return; + } + + if ((e = getenv("UPSTART_FDS")) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "service_checkin: Unable to get listener sockets from UPSTART_FDS."); + exit(EXIT_FAILURE); + return; + } + + cupsdLogMessage(CUPSD_LOG_DEBUG, "service_checkin: UPSTART_FDS=%s", e); + + fd = (int)strtol(e, NULL, 10); + if (fd < 0) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "service_checkin: Could not parse UPSTART_FDS: %s", strerror(errno)); + exit(EXIT_FAILURE); + return; + } + + /* + * Upstart only supportst a single on-demand socket file descriptor... + */ + + service_add_listener(fd, 0); + } +#endif /* HAVE_LAUNCHD */ +} + + +/* + * 'service_checkout()' - Update the KeepAlive/PID file as needed. + */ + +static void +service_checkout(int shutdown) /* I - Shutting down? */ +{ + cups_file_t *fp; /* File */ + char pidfile[1024]; /* PID/KeepAlive file */ + + + /* + * When running on-demand, use the KeepAlive file, otherwise write a PID file + * to StateDir... + */ + +#ifdef HAVE_ONDEMAND + if (OnDemand) + { + int shared_printers = 0; /* Do we have shared printers? */ + + strlcpy(pidfile, CUPS_KEEPALIVE, sizeof(pidfile)); + + /* + * If printer sharing is on see if there are any actual shared printers... + */ + + if (Browsing && BrowseLocalProtocols) + { + cupsd_printer_t *p = NULL; /* Current printer */ + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); p; p = (cupsd_printer_t *)cupsArrayNext(Printers)) + { + if (p->shared) + break; + } + + shared_printers = (p != NULL); + } + + if (cupsArrayCount(ActiveJobs) || /* Active jobs */ + WebInterface || /* Web interface enabled */ + NeedReload || /* Doing a reload */ + shared_printers) /* Printers being shared */ + { + /* + * Create or remove the "keep-alive" file based on whether there are active + * jobs or shared printers to advertise... + */ + + shutdown = 0; + } + } + else +#endif /* HAVE_ONDEMAND */ + snprintf(pidfile, sizeof(pidfile), "%s/cupsd.pid", StateDir); + + if (shutdown) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "Removing KeepAlive/PID file \"%s\".", pidfile); + + unlink(pidfile); + } + else + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "Creating KeepAlive/PID file \"%s\".", pidfile); + + if ((fp = cupsFileOpen(pidfile, "w")) != NULL) + { + /* + * Save the PID in the file... + */ + + cupsFilePrintf(fp, "%d\n", (int)getpid()); + cupsFileClose(fp); + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to create KeepAlive/PID file \"%s\": %s", pidfile, strerror(errno)); + } + +# ifdef __APPLE__ + if (OnDemand && shutdown) + xpc_transaction_end(); +# endif /* __APPLE__ */ +} + + +/* + * 'usage()' - Show scheduler usage. + */ + +static void +usage(int status) /* O - Exit status */ +{ + FILE *fp = status ? stderr : stdout; /* Output file */ + + + _cupsLangPuts(fp, _("Usage: cupsd [options]")); + _cupsLangPuts(fp, _("Options:")); + _cupsLangPuts(fp, _("-c cupsd.conf Set cupsd.conf file to use.")); + _cupsLangPuts(fp, _("-f Run in the foreground.")); + _cupsLangPuts(fp, _("-F Run in the foreground but detach from console.")); + _cupsLangPuts(fp, _("-h Show this usage message.")); +#ifdef HAVE_ONDEMAND + _cupsLangPuts(fp, _("-l Run cupsd on demand.")); +#endif /* HAVE_ONDEMAND */ + _cupsLangPuts(fp, _("-s cups-files.conf Set cups-files.conf file to use.")); + _cupsLangPuts(fp, _("-t Test the configuration file.")); + + exit(status); +} diff --git a/scheduler/mime-private.h b/scheduler/mime-private.h new file mode 100644 index 0000000..9ca5dc9 --- /dev/null +++ b/scheduler/mime-private.h @@ -0,0 +1,35 @@ +/* + * Private MIME type/conversion database definitions for CUPS. + * + * Copyright © 2011-2018 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_MIME_PRIVATE_H_ +# define _CUPS_MIME_PRIVATE_H_ + +# include "mime.h" + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Prototypes... + */ + +extern void _mimeError(mime_t *mime, const char *format, ...) _CUPS_FORMAT(2, 3); + + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_MIME_PRIVATE_H_ */ diff --git a/scheduler/mime.c b/scheduler/mime.c new file mode 100644 index 0000000..d60d4ef --- /dev/null +++ b/scheduler/mime.c @@ -0,0 +1,935 @@ +/* + * MIME database file routines for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include "mime-private.h" + + +/* + * Debug macros that used to be private API... + */ + +#define DEBUG_puts(x) +#define DEBUG_printf(...) + + +/* + * Local types... + */ + +typedef struct _mime_fcache_s /**** Filter cache structure ****/ +{ + char *name, /* Filter name */ + *path; /* Full path to filter if available */ +} _mime_fcache_t; + + +/* + * Local functions... + */ + +static const char *mime_add_fcache(cups_array_t *filtercache, const char *name, + const char *filterpath); +static int mime_compare_fcache(_mime_fcache_t *a, _mime_fcache_t *b); +static void mime_delete_fcache(cups_array_t *filtercache); +static void mime_delete_rules(mime_magic_t *rules); +static void mime_load_convs(mime_t *mime, const char *filename, + const char *filterpath, + cups_array_t *filtercache); +static void mime_load_types(mime_t *mime, const char *filename); + + +/* + * 'mimeDelete()' - Delete (free) a MIME database. + */ + +void +mimeDelete(mime_t *mime) /* I - MIME database */ +{ + mime_type_t *type; /* Current type */ + mime_filter_t *filter; /* Current filter */ + + + DEBUG_printf(("mimeDelete(mime=%p)", mime)); + + if (!mime) + return; + + /* + * Loop through filters and free them... + */ + + for (filter = (mime_filter_t *)cupsArrayFirst(mime->filters); + filter; + filter = (mime_filter_t *)cupsArrayNext(mime->filters)) + mimeDeleteFilter(mime, filter); + + /* + * Loop through the file types and delete any rules... + */ + + for (type = (mime_type_t *)cupsArrayFirst(mime->types); + type; + type = (mime_type_t *)cupsArrayNext(mime->types)) + mimeDeleteType(mime, type); + + /* + * Free the types and filters arrays, and then the MIME database structure. + */ + + cupsArrayDelete(mime->types); + cupsArrayDelete(mime->filters); + cupsArrayDelete(mime->srcs); + free(mime); +} + + +/* + * 'mimeDeleteFilter()' - Delete a filter from the MIME database. + */ + +void +mimeDeleteFilter(mime_t *mime, /* I - MIME database */ + mime_filter_t *filter) /* I - Filter */ +{ + DEBUG_printf(("mimeDeleteFilter(mime=%p, filter=%p(%s/%s->%s/%s, cost=%d, " + "maxsize=" CUPS_LLFMT "))", mime, filter, + filter ? filter->src->super : "???", + filter ? filter->src->type : "???", + filter ? filter->dst->super : "???", + filter ? filter->dst->super : "???", + filter ? filter->cost : -1, + filter ? CUPS_LLCAST filter->maxsize : CUPS_LLCAST -1)); + + if (!mime || !filter) + return; + +#ifdef DEBUG + if (!cupsArrayFind(mime->filters, filter)) + DEBUG_puts("1mimeDeleteFilter: Filter not in MIME database."); +#endif /* DEBUG */ + + cupsArrayRemove(mime->filters, filter); + free(filter); + + /* + * Deleting a filter invalidates the source lookup cache used by + * mimeFilter()... + */ + + if (mime->srcs) + { + DEBUG_puts("1mimeDeleteFilter: Deleting source lookup cache."); + cupsArrayDelete(mime->srcs); + mime->srcs = NULL; + } +} + + +/* + * 'mimeDeleteType()' - Delete a type from the MIME database. + */ + +void +mimeDeleteType(mime_t *mime, /* I - MIME database */ + mime_type_t *mt) /* I - Type */ +{ + DEBUG_printf(("mimeDeleteType(mime=%p, mt=%p(%s/%s))", mime, mt, + mt ? mt->super : "???", mt ? mt->type : "???")); + + if (!mime || !mt) + return; + +#ifdef DEBUG + if (!cupsArrayFind(mime->types, mt)) + DEBUG_puts("1mimeDeleteFilter: Type not in MIME database."); +#endif /* DEBUG */ + + cupsArrayRemove(mime->types, mt); + + mime_delete_rules(mt->rules); + free(mt); +} + + +/* + * '_mimeError()' - Show an error message. + */ + +void +_mimeError(mime_t *mime, /* I - MIME database */ + const char *message, /* I - Printf-style message string */ + ...) /* I - Additional arguments as needed */ +{ + va_list ap; /* Argument pointer */ + char buffer[8192]; /* Message buffer */ + + + if (mime->error_cb) + { + va_start(ap, message); + vsnprintf(buffer, sizeof(buffer), message, ap); + va_end(ap); + + (*mime->error_cb)(mime->error_ctx, buffer); + } +} + + +/* + * 'mimeFirstFilter()' - Get the first filter in the MIME database. + */ + +mime_filter_t * /* O - Filter or NULL */ +mimeFirstFilter(mime_t *mime) /* I - MIME database */ +{ + DEBUG_printf(("6mimeFirstFilter(mime=%p)", mime)); + + if (!mime) + { + DEBUG_puts("7mimeFirstFilter: Returning NULL."); + return (NULL); + } + else + { + mime_filter_t *first = (mime_filter_t *)cupsArrayFirst(mime->filters); + /* First filter */ + + DEBUG_printf(("7mimeFirstFilter: Returning %p.", first)); + return (first); + } +} + + +/* + * 'mimeFirstType()' - Get the first type in the MIME database. + */ + +mime_type_t * /* O - Type or NULL */ +mimeFirstType(mime_t *mime) /* I - MIME database */ +{ + DEBUG_printf(("6mimeFirstType(mime=%p)", mime)); + + if (!mime) + { + DEBUG_puts("7mimeFirstType: Returning NULL."); + return (NULL); + } + else + { + mime_type_t *first = (mime_type_t *)cupsArrayFirst(mime->types); + /* First type */ + + DEBUG_printf(("7mimeFirstType: Returning %p.", first)); + return (first); + } +} + + +/* + * 'mimeLoad()' - Create a new MIME database from disk. + * + * This function uses @link mimeLoadFilters@ and @link mimeLoadTypes@ to + * create a MIME database from a single directory. + */ + +mime_t * /* O - New MIME database */ +mimeLoad(const char *pathname, /* I - Directory to load */ + const char *filterpath) /* I - Directory to load */ +{ + mime_t *mime; /* New MIME database */ + + DEBUG_printf(("mimeLoad(pathname=\"%s\", filterpath=\"%s\")", pathname, + filterpath)); + + mime = mimeLoadFilters(mimeLoadTypes(NULL, pathname), pathname, filterpath); + DEBUG_printf(("1mimeLoad: Returning %p.", mime)); + + return (mime); +} + + +/* + * 'mimeLoadFilters()' - Load filter definitions from disk. + * + * This function loads all of the .convs files from the specified directory. + * Use @link mimeLoadTypes@ to load all types before you load the filters. + */ + +mime_t * /* O - MIME database */ +mimeLoadFilters(mime_t *mime, /* I - MIME database */ + const char *pathname, /* I - Directory to load from */ + const char *filterpath) /* I - Default filter program directory */ +{ + cups_dir_t *dir; /* Directory */ + cups_dentry_t *dent; /* Directory entry */ + char filename[1024]; /* Full filename of .convs file */ + cups_array_t *filtercache; /* Filter cache */ + + + DEBUG_printf(("mimeLoadFilters(mime=%p, pathname=\"%s\", filterpath=\"%s\")", + mime, pathname, filterpath)); + + /* + * Range check input... + */ + + if (!mime || !pathname || !filterpath) + { + DEBUG_puts("1mimeLoadFilters: Bad arguments."); + return (mime); + } + + /* + * Then open the directory specified by pathname... + */ + + if ((dir = cupsDirOpen(pathname)) == NULL) + { + DEBUG_printf(("1mimeLoadFilters: Unable to open \"%s\": %s", pathname, + strerror(errno))); + _mimeError(mime, "Unable to open \"%s\": %s", pathname, strerror(errno)); + return (mime); + } + + /* + * Read all the .convs files... + */ + + filtercache = cupsArrayNew((cups_array_func_t)mime_compare_fcache, NULL); + + while ((dent = cupsDirRead(dir)) != NULL) + { + if (strlen(dent->filename) > 6 && + !strcmp(dent->filename + strlen(dent->filename) - 6, ".convs")) + { + /* + * Load a mime.convs file... + */ + + snprintf(filename, sizeof(filename), "%s/%s", pathname, dent->filename); + DEBUG_printf(("1mimeLoadFilters: Loading \"%s\".", filename)); + mime_load_convs(mime, filename, filterpath, filtercache); + } + } + + mime_delete_fcache(filtercache); + + cupsDirClose(dir); + + return (mime); +} + + +/* + * 'mimeLoadTypes()' - Load type definitions from disk. + * + * This function loads all of the .types files from the specified directory. + * Use @link mimeLoadFilters@ to load all filters after you load the types. + */ + +mime_t * /* O - MIME database */ +mimeLoadTypes(mime_t *mime, /* I - MIME database or @code NULL@ to create a new one */ + const char *pathname) /* I - Directory to load from */ +{ + cups_dir_t *dir; /* Directory */ + cups_dentry_t *dent; /* Directory entry */ + char filename[1024]; /* Full filename of .types file */ + + + DEBUG_printf(("mimeLoadTypes(mime=%p, pathname=\"%s\")", mime, pathname)); + + /* + * First open the directory specified by pathname... + */ + + if ((dir = cupsDirOpen(pathname)) == NULL) + { + DEBUG_printf(("1mimeLoadTypes: Unable to open \"%s\": %s", pathname, + strerror(errno))); + DEBUG_printf(("1mimeLoadTypes: Returning %p.", mime)); + _mimeError(mime, "Unable to open \"%s\": %s", pathname, strerror(errno)); + return (mime); + } + + /* + * If "mime" is NULL, make a new, empty database... + */ + + if (!mime) + mime = mimeNew(); + + if (!mime) + { + cupsDirClose(dir); + DEBUG_puts("1mimeLoadTypes: Returning NULL."); + return (NULL); + } + + /* + * Read all the .types files... + */ + + while ((dent = cupsDirRead(dir)) != NULL) + { + if (strlen(dent->filename) > 6 && + !strcmp(dent->filename + strlen(dent->filename) - 6, ".types")) + { + /* + * Load a mime.types file... + */ + + snprintf(filename, sizeof(filename), "%s/%s", pathname, dent->filename); + DEBUG_printf(("1mimeLoadTypes: Loading \"%s\".", filename)); + mime_load_types(mime, filename); + } + } + + cupsDirClose(dir); + + DEBUG_printf(("1mimeLoadTypes: Returning %p.", mime)); + + return (mime); +} + + +/* + * 'mimeNew()' - Create a new, empty MIME database. + */ + +mime_t * /* O - MIME database */ +mimeNew(void) +{ + return ((mime_t *)calloc(1, sizeof(mime_t))); +} + + +/* + * 'mimeNextFilter()' - Get the next filter in the MIME database. + */ + +mime_filter_t * /* O - Filter or NULL */ +mimeNextFilter(mime_t *mime) /* I - MIME database */ +{ + DEBUG_printf(("6mimeNextFilter(mime=%p)", mime)); + + if (!mime) + { + DEBUG_puts("7mimeNextFilter: Returning NULL."); + return (NULL); + } + else + { + mime_filter_t *next = (mime_filter_t *)cupsArrayNext(mime->filters); + /* Next filter */ + + DEBUG_printf(("7mimeNextFilter: Returning %p.", next)); + return (next); + } +} + + +/* + * 'mimeNextType()' - Get the next type in the MIME database. + */ + +mime_type_t * /* O - Type or NULL */ +mimeNextType(mime_t *mime) /* I - MIME database */ +{ + DEBUG_printf(("6mimeNextType(mime=%p)", mime)); + + if (!mime) + { + DEBUG_puts("7mimeNextType: Returning NULL."); + return (NULL); + } + else + { + mime_type_t *next = (mime_type_t *)cupsArrayNext(mime->types); + /* Next type */ + + DEBUG_printf(("7mimeNextType: Returning %p.", next)); + return (next); + } +} + + +/* + * 'mimeNumFilters()' - Get the number of filters in a MIME database. + */ + +int +mimeNumFilters(mime_t *mime) /* I - MIME database */ +{ + DEBUG_printf(("mimeNumFilters(mime=%p)", mime)); + + if (!mime) + { + DEBUG_puts("1mimeNumFilters: Returning 0."); + return (0); + } + else + { + DEBUG_printf(("1mimeNumFilters: Returning %d.", + cupsArrayCount(mime->filters))); + return (cupsArrayCount(mime->filters)); + } +} + + +/* + * 'mimeNumTypes()' - Get the number of types in a MIME database. + */ + +int +mimeNumTypes(mime_t *mime) /* I - MIME database */ +{ + DEBUG_printf(("mimeNumTypes(mime=%p)", mime)); + + if (!mime) + { + DEBUG_puts("1mimeNumTypes: Returning 0."); + return (0); + } + else + { + DEBUG_printf(("1mimeNumTypes: Returning %d.", + cupsArrayCount(mime->types))); + return (cupsArrayCount(mime->types)); + } +} + + +/* + * 'mimeSetErrorCallback()' - Set the callback for error messages. + */ + +void +mimeSetErrorCallback( + mime_t *mime, /* I - MIME database */ + mime_error_cb_t cb, /* I - Callback function */ + void *ctx) /* I - Context pointer for callback */ +{ + if (mime) + { + mime->error_cb = cb; + mime->error_ctx = ctx; + } +} + + +/* + * 'mime_add_fcache()' - Add a filter to the filter cache. + */ + +static const char * /* O - Full path to filter or NULL */ +mime_add_fcache( + cups_array_t *filtercache, /* I - Filter cache */ + const char *name, /* I - Filter name */ + const char *filterpath) /* I - Filter path */ +{ + _mime_fcache_t key, /* Search key */ + *temp; /* New filter cache */ + char path[1024]; /* Full path to filter */ + + + DEBUG_printf(("2mime_add_fcache(filtercache=%p, name=\"%s\", " + "filterpath=\"%s\")", filtercache, name, filterpath)); + + key.name = (char *)name; + if ((temp = (_mime_fcache_t *)cupsArrayFind(filtercache, &key)) != NULL) + { + DEBUG_printf(("3mime_add_fcache: Returning \"%s\".", temp->path)); + return (temp->path); + } + + if ((temp = calloc(1, sizeof(_mime_fcache_t))) == NULL) + { + DEBUG_puts("3mime_add_fcache: Returning NULL."); + return (NULL); + } + + temp->name = strdup(name); + + if (cupsFileFind(name, filterpath, 1, path, sizeof(path))) + temp->path = strdup(path); + + cupsArrayAdd(filtercache, temp); + + DEBUG_printf(("3mime_add_fcache: Returning \"%s\".", temp->path)); + return (temp->path); +} + + +/* + * 'mime_compare_fcache()' - Compare two filter cache entries. + */ + +static int /* O - Result of comparison */ +mime_compare_fcache(_mime_fcache_t *a, /* I - First entry */ + _mime_fcache_t *b) /* I - Second entry */ +{ + return (strcmp(a->name, b->name)); +} + + +/* + * 'mime_delete_fcache()' - Free all memory used by the filter cache. + */ + +static void +mime_delete_fcache( + cups_array_t *filtercache) /* I - Filter cache */ +{ + _mime_fcache_t *current; /* Current cache entry */ + + + DEBUG_printf(("2mime_delete_fcache(filtercache=%p)", filtercache)); + + for (current = (_mime_fcache_t *)cupsArrayFirst(filtercache); + current; + current = (_mime_fcache_t *)cupsArrayNext(filtercache)) + { + free(current->name); + + if (current->path) + free(current->path); + + free(current); + } + + cupsArrayDelete(filtercache); +} + + +/* + * 'mime_delete_rules()' - Free all memory for the given rule tree. + */ + +static void +mime_delete_rules(mime_magic_t *rules) /* I - Rules to free */ +{ + mime_magic_t *next; /* Next rule to free */ + + + DEBUG_printf(("2mime_delete_rules(rules=%p)", rules)); + + /* + * Free the rules list, descending recursively to free any child rules. + */ + + while (rules != NULL) + { + next = rules->next; + + if (rules->child != NULL) + mime_delete_rules(rules->child); + + if (rules->op == MIME_MAGIC_REGEX) + regfree(&(rules->value.rev)); + + free(rules); + rules = next; + } +} + + +/* + * 'mime_load_convs()' - Load a xyz.convs file. + */ + +static void +mime_load_convs( + mime_t *mime, /* I - MIME database */ + const char *filename, /* I - Convs file to load */ + const char *filterpath, /* I - Path for filters */ + cups_array_t *filtercache) /* I - Filter program cache */ +{ + cups_file_t *fp; /* Convs file */ + char line[1024], /* Input line from file */ + *lineptr, /* Current position in line */ + super[MIME_MAX_SUPER], /* Super-type name */ + type[MIME_MAX_TYPE], /* Type name */ + *temp, /* Temporary pointer */ + *filter; /* Filter program */ + mime_type_t *temptype, /* MIME type looping var */ + *dsttype; /* Destination MIME type */ + int cost; /* Cost of filter */ + + + DEBUG_printf(("2mime_load_convs(mime=%p, filename=\"%s\", filterpath=\"%s\", " + "filtercache=%p)", mime, filename, filterpath, filtercache)); + + /* + * First try to open the file... + */ + + if ((fp = cupsFileOpen(filename, "r")) == NULL) + { + DEBUG_printf(("3mime_load_convs: Unable to open \"%s\": %s", filename, + strerror(errno))); + _mimeError(mime, "Unable to open \"%s\": %s", filename, strerror(errno)); + return; + } + + /* + * Then read each line from the file, skipping any comments in the file... + */ + + while (cupsFileGets(fp, line, sizeof(line)) != NULL) + { + /* + * Skip blank lines and lines starting with a #... + */ + + if (!line[0] || line[0] == '#') + continue; + + /* + * Strip trailing whitespace... + */ + + for (lineptr = line + strlen(line) - 1; + lineptr >= line && isspace(*lineptr & 255); + lineptr --) + *lineptr = '\0'; + + /* + * Extract the destination super-type and type names from the middle of + * the line. + */ + + lineptr = line; + while (*lineptr != ' ' && *lineptr != '\t' && *lineptr != '\0') + lineptr ++; + + while (*lineptr == ' ' || *lineptr == '\t') + lineptr ++; + + temp = super; + + while (*lineptr != '/' && *lineptr != '\n' && *lineptr != '\0' && + (temp - super + 1) < MIME_MAX_SUPER) + *temp++ = (char)tolower(*lineptr++ & 255); + + *temp = '\0'; + + if (*lineptr != '/') + continue; + + lineptr ++; + temp = type; + + while (*lineptr != ' ' && *lineptr != '\t' && *lineptr != '\n' && + *lineptr != '\0' && (temp - type + 1) < MIME_MAX_TYPE) + *temp++ = (char)tolower(*lineptr++ & 255); + + *temp = '\0'; + + if (*lineptr == '\0' || *lineptr == '\n') + continue; + + if ((dsttype = mimeType(mime, super, type)) == NULL) + { + DEBUG_printf(("3mime_load_convs: Destination type %s/%s not found.", + super, type)); + continue; + } + + /* + * Then get the cost and filter program... + */ + + while (*lineptr == ' ' || *lineptr == '\t') + lineptr ++; + + if (*lineptr < '0' || *lineptr > '9') + continue; + + cost = atoi(lineptr); + + while (*lineptr != ' ' && *lineptr != '\t' && *lineptr != '\0') + lineptr ++; + while (*lineptr == ' ' || *lineptr == '\t') + lineptr ++; + + if (*lineptr == '\0' || *lineptr == '\n') + continue; + + filter = lineptr; + + if (strcmp(filter, "-")) + { + /* + * Verify that the filter exists and is executable... + */ + + if (!mime_add_fcache(filtercache, filter, filterpath)) + { + DEBUG_printf(("mime_load_convs: Filter %s not found in %s.", filter, + filterpath)); + _mimeError(mime, "Filter \"%s\" not found.", filter); + continue; + } + } + + /* + * Finally, get the source super-type and type names from the beginning of + * the line. We do it here so we can support wildcards... + */ + + lineptr = line; + temp = super; + + while (*lineptr != '/' && *lineptr != '\n' && *lineptr != '\0' && + (temp - super + 1) < MIME_MAX_SUPER) + *temp++ = (char)tolower(*lineptr++ & 255); + + *temp = '\0'; + + if (*lineptr != '/') + continue; + + lineptr ++; + temp = type; + + while (*lineptr != ' ' && *lineptr != '\t' && *lineptr != '\n' && + *lineptr != '\0' && (temp - type + 1) < MIME_MAX_TYPE) + *temp++ = (char)tolower(*lineptr++ & 255); + + *temp = '\0'; + + if (!strcmp(super, "*") && !strcmp(type, "*")) + { + /* + * Force * / * to be "application/octet-stream"... + */ + + strlcpy(super, "application", sizeof(super)); + strlcpy(type, "octet-stream", sizeof(type)); + } + + /* + * Add the filter to the MIME database, supporting wildcards as needed... + */ + + for (temptype = (mime_type_t *)cupsArrayFirst(mime->types); + temptype; + temptype = (mime_type_t *)cupsArrayNext(mime->types)) + if ((super[0] == '*' || !strcmp(temptype->super, super)) && + (type[0] == '*' || !strcmp(temptype->type, type))) + mimeAddFilter(mime, temptype, dsttype, cost, filter); + } + + cupsFileClose(fp); +} + + +/* + * 'mime_load_types()' - Load a xyz.types file. + */ + +static void +mime_load_types(mime_t *mime, /* I - MIME database */ + const char *filename) /* I - Types file to load */ +{ + cups_file_t *fp; /* Types file */ + size_t linelen; /* Length of line */ + char line[32768], /* Input line from file */ + *lineptr, /* Current position in line */ + super[MIME_MAX_SUPER], /* Super-type name */ + type[MIME_MAX_TYPE], /* Type name */ + *temp; /* Temporary pointer */ + mime_type_t *typeptr; /* New MIME type */ + + + DEBUG_printf(("2mime_load_types(mime=%p, filename=\"%s\")", mime, filename)); + + /* + * First try to open the file... + */ + + if ((fp = cupsFileOpen(filename, "r")) == NULL) + { + DEBUG_printf(("3mime_load_types: Unable to open \"%s\": %s", filename, + strerror(errno))); + _mimeError(mime, "Unable to open \"%s\": %s", filename, strerror(errno)); + return; + } + + /* + * Then read each line from the file, skipping any comments in the file... + */ + + while (cupsFileGets(fp, line, sizeof(line)) != NULL) + { + /* + * Skip blank lines and lines starting with a #... + */ + + if (!line[0] || line[0] == '#') + continue; + + /* + * While the last character in the line is a backslash, continue on to the + * next line (and the next, etc.) + */ + + linelen = strlen(line); + + while (line[linelen - 1] == '\\') + { + linelen --; + + if (cupsFileGets(fp, line + linelen, sizeof(line) - linelen) == NULL) + line[linelen] = '\0'; + else + linelen += strlen(line + linelen); + } + + /* + * Extract the super-type and type names from the beginning of the line. + */ + + lineptr = line; + temp = super; + + while (*lineptr != '/' && *lineptr != '\n' && *lineptr != '\0' && + (temp - super + 1) < MIME_MAX_SUPER) + *temp++ = (char)tolower(*lineptr++ & 255); + + *temp = '\0'; + + if (*lineptr != '/') + continue; + + lineptr ++; + temp = type; + + while (*lineptr != ' ' && *lineptr != '\t' && *lineptr != '\n' && + *lineptr != '\0' && (temp - type + 1) < MIME_MAX_TYPE) + *temp++ = (char)tolower(*lineptr++ & 255); + + *temp = '\0'; + + /* + * Add the type and rules to the MIME database... + */ + + typeptr = mimeAddType(mime, super, type); + mimeAddTypeRule(typeptr, lineptr); + } + + cupsFileClose(fp); +} diff --git a/scheduler/mime.h b/scheduler/mime.h new file mode 100644 index 0000000..7e43ac3 --- /dev/null +++ b/scheduler/mime.h @@ -0,0 +1,155 @@ +/* + * MIME type/conversion database definitions for CUPS. + * + * Copyright 2007-2013 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_MIME_H_ +# define _CUPS_MIME_H_ + +# include +# include +# include +# include + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Constants... + */ + +# define MIME_MAX_SUPER 16 /* Maximum size of supertype name */ +# define MIME_MAX_TYPE IPP_MAX_NAME /* Maximum size of type name */ +# define MIME_MAX_FILTER 256 /* Maximum size of filter pathname */ +# define MIME_MAX_BUFFER 4096 /* Maximum size of file buffer */ + + +/* + * Types/structures... + */ + +typedef enum +{ + MIME_MAGIC_NOP, /* No operation */ + MIME_MAGIC_AND, /* Logical AND of all children */ + MIME_MAGIC_OR, /* Logical OR of all children */ + MIME_MAGIC_MATCH, /* Filename match */ + MIME_MAGIC_ASCII, /* ASCII characters in range */ + MIME_MAGIC_PRINTABLE, /* Printable characters (32-255) in range */ + MIME_MAGIC_STRING, /* String matches */ + MIME_MAGIC_CHAR, /* Character/byte matches */ + MIME_MAGIC_SHORT, /* Short/16-bit word matches */ + MIME_MAGIC_INT, /* Integer/32-bit word matches */ + MIME_MAGIC_LOCALE, /* Current locale matches string */ + MIME_MAGIC_CONTAINS, /* File contains a string */ + MIME_MAGIC_ISTRING, /* Case-insensitive string matches */ + MIME_MAGIC_REGEX /* Regular expression matches */ +} mime_op_t; + +typedef struct _mime_magic_s /**** MIME Magic Data ****/ +{ + struct _mime_magic_s *prev, /* Previous rule */ + *next, /* Next rule */ + *parent, /* Parent rules */ + *child; /* Child rules */ + short op, /* Operation code (see above) */ + invert; /* Invert the result */ + int offset, /* Offset in file */ + region, /* Region length */ + length; /* Length of data */ + union + { + char matchv[64]; /* Match value */ + char localev[64]; /* Locale value */ + char stringv[64]; /* String value */ + unsigned char charv; /* Byte value */ + unsigned short shortv; /* Short value */ + unsigned intv; /* Integer value */ + regex_t rev; /* Regular expression value */ + } value; +} mime_magic_t; + +typedef struct _mime_type_s /**** MIME Type Data ****/ +{ + mime_magic_t *rules; /* Rules used to detect this type */ + int priority; /* Priority of this type */ + char super[MIME_MAX_SUPER], /* Super-type name ("image", "application", etc.) */ + type[MIME_MAX_TYPE]; /* Type name ("png", "postscript", etc.) */ +} mime_type_t; + +typedef struct _mime_filter_s /**** MIME Conversion Filter Data ****/ +{ + mime_type_t *src, /* Source type */ + *dst; /* Destination type */ + int cost; /* Relative cost */ + char filter[MIME_MAX_FILTER];/* Filter program to use */ + size_t maxsize; /* Maximum file size for this filter */ +} mime_filter_t; + +typedef void (*mime_error_cb_t)(void *ctx, const char *message); + +typedef struct _mime_s /**** MIME Database ****/ +{ + cups_array_t *types; /* File types */ + cups_array_t *filters; /* Type conversion filters */ + cups_array_t *srcs; /* Filters sorted by source type */ + mime_error_cb_t error_cb; /* Error message callback */ + void *error_ctx; /* Pointer for callback */ +} mime_t; + + +/* + * Functions... + */ + +extern void mimeDelete(mime_t *mime); +extern mime_t *mimeNew(void) _CUPS_API_1_5; +extern mime_t *mimeLoad(const char *pathname, const char *filterpath); +extern mime_t *mimeLoadFilters(mime_t *mime, const char *pathname, + const char *filterpath); +extern mime_t *mimeLoadTypes(mime_t *mime, const char *pathname); + +extern mime_type_t *mimeAddType(mime_t *mime, const char *super, + const char *type); +extern int mimeAddTypeRule(mime_type_t *mt, const char *rule); +extern void mimeDeleteType(mime_t *mime, mime_type_t *mt); +extern mime_type_t *mimeFileType(mime_t *mime, const char *pathname, + const char *filename, int *compression); +extern mime_type_t *mimeFirstType(mime_t *mime); +extern mime_type_t *mimeNextType(mime_t *mime); +extern int mimeNumTypes(mime_t *mime); +extern mime_type_t *mimeType(mime_t *mime, const char *super, + const char *type); + +extern mime_filter_t *mimeAddFilter(mime_t *mime, mime_type_t *src, + mime_type_t *dst, int cost, + const char *filter); +extern void mimeDeleteFilter(mime_t *mime, mime_filter_t *filter); +extern cups_array_t *mimeFilter(mime_t *mime, mime_type_t *src, + mime_type_t *dst, int *cost); +extern cups_array_t *mimeFilter2(mime_t *mime, mime_type_t *src, + size_t srcsize, mime_type_t *dst, + int *cost); +extern mime_filter_t *mimeFilterLookup(mime_t *mime, mime_type_t *src, + mime_type_t *dst); +extern mime_filter_t *mimeFirstFilter(mime_t *mime); +extern mime_filter_t *mimeNextFilter(mime_t *mime); +extern int mimeNumFilters(mime_t *mime); +extern void mimeSetErrorCallback(mime_t *mime, mime_error_cb_t cb, + void *context) _CUPS_API_1_5; + +# ifdef __cplusplus +} +# endif /* __cplusplus */ +#endif /* !_CUPS_MIME_H_ */ diff --git a/scheduler/network.c b/scheduler/network.c new file mode 100644 index 0000000..5ba00a1 --- /dev/null +++ b/scheduler/network.c @@ -0,0 +1,293 @@ +/* + * Network interface functions for the CUPS scheduler. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#include +#include "cupsd.h" +#include + + +/* + * Local functions... + */ + +static void cupsdNetIFFree(void); +static int compare_netif(cupsd_netif_t *a, cupsd_netif_t *b); + + +/* + * 'cupsdNetIFFind()' - Find a network interface. + */ + +cupsd_netif_t * /* O - Network interface data */ +cupsdNetIFFind(const char *name) /* I - Name of interface */ +{ + cupsd_netif_t key; /* Search key */ + + + /* + * Update the interface list as needed... + */ + + if (NetIFUpdate) + cupsdNetIFUpdate(); + + /* + * Search for the named interface... + */ + + strlcpy(key.name, name, sizeof(key.name)); + + return ((cupsd_netif_t *)cupsArrayFind(NetIFList, &key)); +} + + +/* + * 'cupsdNetIFFree()' - Free the current network interface list. + */ + +static void +cupsdNetIFFree(void) +{ + cupsd_netif_t *current; /* Current interface in array */ + + + /* + * Loop through the interface list and free all the records... + */ + + for (current = (cupsd_netif_t *)cupsArrayFirst(NetIFList); + current; + current = (cupsd_netif_t *)cupsArrayNext(NetIFList)) + { + cupsArrayRemove(NetIFList, current); + free(current); + } +} + + +/* + * 'cupsdNetIFUpdate()' - Update the network interface list as needed... + */ + +void +cupsdNetIFUpdate(void) +{ + int match; /* Matching address? */ + cupsd_listener_t *lis; /* Listen address */ + cupsd_netif_t *temp; /* New interface */ + struct ifaddrs *addrs, /* Interface address list */ + *addr; /* Current interface address */ + char hostname[1024]; /* Hostname for address */ + size_t hostlen; /* Length of hostname */ + + + /* + * Only update the list if we need to... + */ + + if (!NetIFUpdate) + return; + + NetIFUpdate = 0; + + /* + * Free the old interfaces... + */ + + cupsdNetIFFree(); + + /* + * Make sure we have an array... + */ + + if (!NetIFList) + NetIFList = cupsArrayNew((cups_array_func_t)compare_netif, NULL); + + if (!NetIFList) + return; + + /* + * Grab a new list of interfaces... + */ + + if (getifaddrs(&addrs) < 0) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdNetIFUpdate: Unable to get interface list - %s", strerror(errno)); + return; + } + + for (addr = addrs; addr != NULL; addr = addr->ifa_next) + { + /* + * See if this interface address is IPv4 or IPv6... + */ + + if (addr->ifa_addr == NULL || + (addr->ifa_addr->sa_family != AF_INET +#ifdef AF_INET6 + && addr->ifa_addr->sa_family != AF_INET6 +#endif + ) || + addr->ifa_netmask == NULL || addr->ifa_name == NULL) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdNetIFUpdate: Ignoring \"%s\".", addr->ifa_name); + continue; + } + + /* + * Try looking up the hostname for the address as needed... + */ + + if (HostNameLookups) + httpAddrLookup((http_addr_t *)(addr->ifa_addr), hostname, + sizeof(hostname)); + else + { + /* + * Map the default server address and localhost to the server name + * and localhost, respectively; for all other addresses, use the + * numeric address... + */ + + if (httpAddrLocalhost((http_addr_t *)(addr->ifa_addr))) + strlcpy(hostname, "localhost", sizeof(hostname)); + else + httpAddrString((http_addr_t *)(addr->ifa_addr), hostname, + sizeof(hostname)); + } + + /* + * Create a new address element... + */ + + hostlen = strlen(hostname); + if ((temp = calloc(1, sizeof(cupsd_netif_t) + hostlen)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdNetIFUpdate: Unable to allocate memory for interface."); + break; + } + + /* + * Copy all of the information... + */ + + strlcpy(temp->name, addr->ifa_name, sizeof(temp->name)); + temp->hostlen = hostlen; + memcpy(temp->hostname, hostname, hostlen + 1); + + if (addr->ifa_addr->sa_family == AF_INET) + { + /* + * Copy IPv4 addresses... + */ + + memcpy(&(temp->address), addr->ifa_addr, sizeof(struct sockaddr_in)); + memcpy(&(temp->mask), addr->ifa_netmask, sizeof(struct sockaddr_in)); + + if (addr->ifa_dstaddr) + memcpy(&(temp->broadcast), addr->ifa_dstaddr, + sizeof(struct sockaddr_in)); + } +#ifdef AF_INET6 + else + { + /* + * Copy IPv6 addresses... + */ + + memcpy(&(temp->address), addr->ifa_addr, sizeof(struct sockaddr_in6)); + memcpy(&(temp->mask), addr->ifa_netmask, sizeof(struct sockaddr_in6)); + + if (addr->ifa_dstaddr) + memcpy(&(temp->broadcast), addr->ifa_dstaddr, + sizeof(struct sockaddr_in6)); + } +#endif /* AF_INET6 */ + + if (!(addr->ifa_flags & IFF_POINTOPOINT) && + !httpAddrLocalhost(&(temp->address))) + temp->is_local = 1; + + /* + * Determine which port to use when advertising printers... + */ + + for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); + lis; + lis = (cupsd_listener_t *)cupsArrayNext(Listeners)) + { + match = 0; + + if (httpAddrAny(&(lis->address))) + match = 1; + else if (addr->ifa_addr->sa_family == AF_INET && + lis->address.addr.sa_family == AF_INET && + (lis->address.ipv4.sin_addr.s_addr & + temp->mask.ipv4.sin_addr.s_addr) == + (temp->address.ipv4.sin_addr.s_addr & + temp->mask.ipv4.sin_addr.s_addr)) + match = 1; +#ifdef AF_INET6 + else if (addr->ifa_addr->sa_family == AF_INET6 && + lis->address.addr.sa_family == AF_INET6 && + (lis->address.ipv6.sin6_addr.s6_addr[0] & + temp->mask.ipv6.sin6_addr.s6_addr[0]) == + (temp->address.ipv6.sin6_addr.s6_addr[0] & + temp->mask.ipv6.sin6_addr.s6_addr[0]) && + (lis->address.ipv6.sin6_addr.s6_addr[1] & + temp->mask.ipv6.sin6_addr.s6_addr[1]) == + (temp->address.ipv6.sin6_addr.s6_addr[1] & + temp->mask.ipv6.sin6_addr.s6_addr[1]) && + (lis->address.ipv6.sin6_addr.s6_addr[2] & + temp->mask.ipv6.sin6_addr.s6_addr[2]) == + (temp->address.ipv6.sin6_addr.s6_addr[2] & + temp->mask.ipv6.sin6_addr.s6_addr[2]) && + (lis->address.ipv6.sin6_addr.s6_addr[3] & + temp->mask.ipv6.sin6_addr.s6_addr[3]) == + (temp->address.ipv6.sin6_addr.s6_addr[3] & + temp->mask.ipv6.sin6_addr.s6_addr[3])) + match = 1; +#endif /* AF_INET6 */ + + if (match) + { + temp->port = httpAddrPort(&(lis->address)); + break; + } + } + + /* + * Add it to the array... + */ + + cupsArrayAdd(NetIFList, temp); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdNetIFUpdate: \"%s\" = %s:%d", + temp->name, temp->hostname, temp->port); + } + + freeifaddrs(addrs); +} + + +/* + * 'compare_netif()' - Compare two network interfaces. + */ + +static int /* O - Result of comparison */ +compare_netif(cupsd_netif_t *a, /* I - First network interface */ + cupsd_netif_t *b) /* I - Second network interface */ +{ + return (strcmp(a->name, b->name)); +} diff --git a/scheduler/network.h b/scheduler/network.h new file mode 100644 index 0000000..2d0d1a3 --- /dev/null +++ b/scheduler/network.h @@ -0,0 +1,42 @@ +/* + * Network interface definitions for the CUPS scheduler. + * + * Copyright © 2007-2010 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Structures... + */ + +typedef struct cupsd_netif_s /**** Network interface data ****/ +{ + int is_local, /* Local (not point-to-point) interface? */ + port; /* Listen port */ + http_addr_t address, /* Network address */ + mask, /* Network mask */ + broadcast; /* Broadcast address */ + size_t hostlen; /* Length of hostname */ + char name[32], /* Network interface name */ + hostname[1]; /* Hostname associated with interface */ +} cupsd_netif_t; + + +/* + * Globals... + */ + +VAR int NetIFUpdate VALUE(1); + /* Network interface list needs updating */ +VAR cups_array_t *NetIFList VALUE(NULL); + /* Array of network interfaces */ + +/* + * Prototypes... + */ + +extern cupsd_netif_t *cupsdNetIFFind(const char *name); +extern void cupsdNetIFUpdate(void); diff --git a/scheduler/org.cups.cups-lpd.plist.in b/scheduler/org.cups.cups-lpd.plist.in new file mode 100644 index 0000000..0866b15 --- /dev/null +++ b/scheduler/org.cups.cups-lpd.plist.in @@ -0,0 +1,39 @@ + + + + + Disabled + + Label + org.cups.cups-lpd + ProcessType + Adaptive + EnableTransactions + + EnablePressuredExit + + ProgramArguments + + /usr/libexec/cups/daemon/cups-lpd + -o + document-format=application/octet-stream + + Sockets + + Listeners + + SockServiceName + printer + SockType + stream + + + UserName + @CUPS_USER@ + inetdCompatibility + + Wait + + + + diff --git a/scheduler/org.cups.cups-lpd.socket b/scheduler/org.cups.cups-lpd.socket new file mode 100644 index 0000000..ed23f9d --- /dev/null +++ b/scheduler/org.cups.cups-lpd.socket @@ -0,0 +1,10 @@ +[Unit] +Description=CUPS LPD Server Socket +PartOf=org.cups.cups-lpd.service + +[Socket] +ListenStream=515 +Accept=yes + +[Install] +WantedBy=sockets.target diff --git a/scheduler/org.cups.cups-lpdAT.service.in b/scheduler/org.cups.cups-lpdAT.service.in new file mode 100644 index 0000000..5c78273 --- /dev/null +++ b/scheduler/org.cups.cups-lpdAT.service.in @@ -0,0 +1,9 @@ +[Unit] +Description=CUPS LPD server +Documentation=man:cups-lpd(8) + +[Service] +ExecStart=-@CUPS_SERVERBIN@/daemon/cups-lpd +StandardInput=socket +User=@CUPS_USER@ + diff --git a/scheduler/org.cups.cupsd.path.in b/scheduler/org.cups.cupsd.path.in new file mode 100644 index 0000000..0f1cc46 --- /dev/null +++ b/scheduler/org.cups.cupsd.path.in @@ -0,0 +1,9 @@ +[Unit] +Description=CUPS Scheduler +PartOf=org.cups.cupsd.service + +[Path] +PathExists=@CUPS_CACHEDIR@/org.cups.cupsd + +[Install] +WantedBy=multi-user.target diff --git a/scheduler/org.cups.cupsd.plist b/scheduler/org.cups.cupsd.plist new file mode 100644 index 0000000..0d9d405 --- /dev/null +++ b/scheduler/org.cups.cupsd.plist @@ -0,0 +1,50 @@ + + + + + Label + org.cups.cupsd + ProcessType + Interactive + EnableTransactions + + TransactionTimeLimitEnabled + + ExitTimeOut + 60 + KeepAlive + + PathState + + /private/var/spool/cups/cache/org.cups.cupsd + + + + ProgramArguments + + /usr/sbin/cupsd + -l + + EnvironmentVariables + + CUPS_DEBUG_LOG + /var/log/cups/debug_log + CUPS_DEBUG_LEVEL + 3 + CUPS_DEBUG_FILTER + ^(cupsDo|cupsGet|cupsMake|cupsSet|http|_http|ipp|_ipp|mime).* + + Sockets + + Listeners + + + SockPathMode + 49663 + SockPathName + /private/var/run/cupsd + + + + + diff --git a/scheduler/org.cups.cupsd.service.in b/scheduler/org.cups.cupsd.service.in new file mode 100644 index 0000000..5273762 --- /dev/null +++ b/scheduler/org.cups.cupsd.service.in @@ -0,0 +1,13 @@ +[Unit] +Description=CUPS Scheduler +Documentation=man:cupsd(8) +After=sssd.service + +[Service] +ExecStart=@sbindir@/cupsd -l +Type=simple +Restart=on-failure + +[Install] +Also=org.cups.cupsd.socket org.cups.cupsd.path +WantedBy=printer.target diff --git a/scheduler/org.cups.cupsd.socket.in b/scheduler/org.cups.cupsd.socket.in new file mode 100644 index 0000000..613b977 --- /dev/null +++ b/scheduler/org.cups.cupsd.socket.in @@ -0,0 +1,9 @@ +[Unit] +Description=CUPS Scheduler +PartOf=org.cups.cupsd.service + +[Socket] +ListenStream=@CUPS_DEFAULT_DOMAINSOCKET@ + +[Install] +WantedBy=sockets.target diff --git a/scheduler/policy.c b/scheduler/policy.c new file mode 100644 index 0000000..dda14d7 --- /dev/null +++ b/scheduler/policy.c @@ -0,0 +1,496 @@ +/* + * Policy routines for the CUPS scheduler. + * + * Copyright 2007-2011, 2014 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include + + +/* + * Local functions... + */ + +static int compare_ops(cupsd_location_t *a, cupsd_location_t *b); +static int compare_policies(cupsd_policy_t *a, cupsd_policy_t *b); +static void free_policy(cupsd_policy_t *p); +static int hash_op(cupsd_location_t *op); + + +/* + * 'cupsdAddPolicy()' - Add a policy to the system. + */ + +cupsd_policy_t * /* O - Policy */ +cupsdAddPolicy(const char *policy) /* I - Name of policy */ +{ + cupsd_policy_t *temp; /* Pointer to policy */ + + + if (!policy) + return (NULL); + + if (!Policies) + Policies = cupsArrayNew3((cups_array_func_t)compare_policies, NULL, + (cups_ahash_func_t)NULL, 0, + (cups_acopy_func_t)NULL, + (cups_afree_func_t)free_policy); + + if (!Policies) + return (NULL); + + if ((temp = calloc(1, sizeof(cupsd_policy_t))) != NULL) + { + cupsdSetString(&temp->name, policy); + cupsArrayAdd(Policies, temp); + } + + return (temp); +} + + +/* + * 'cupsdAddPolicyOp()' - Add an operation to a policy. + */ + +cupsd_location_t * /* O - New policy operation */ +cupsdAddPolicyOp(cupsd_policy_t *p, /* I - Policy */ + cupsd_location_t *po, /* I - Policy operation to copy */ + ipp_op_t op) /* I - IPP operation code */ +{ + cupsd_location_t *temp; /* New policy operation */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdAddPolicyOp(p=%p, po=%p, op=%x(%s))", + p, po, op, ippOpString(op)); + + if (!p) + return (NULL); + + if (!p->ops) + p->ops = cupsArrayNew3((cups_array_func_t)compare_ops, NULL, + (cups_ahash_func_t)hash_op, 128, + (cups_acopy_func_t)NULL, + (cups_afree_func_t)cupsdFreeLocation); + + if (!p->ops) + return (NULL); + + if ((temp = cupsdCopyLocation(po)) != NULL) + { + temp->op = op; + temp->limit = CUPSD_AUTH_LIMIT_IPP; + + cupsArrayAdd(p->ops, temp); + } + + return (temp); +} + + +/* + * 'cupsdCheckPolicy()' - Check the IPP operation and username against a policy. + */ + +http_status_t /* I - 1 if OK, 0 otherwise */ +cupsdCheckPolicy(cupsd_policy_t *p, /* I - Policy */ + cupsd_client_t *con, /* I - Client connection */ + const char *owner) /* I - Owner of object */ +{ + cupsd_location_t *po; /* Current policy operation */ + + + /* + * Range check... + */ + + if (!p || !con) + { + cupsdLogMessage(CUPSD_LOG_CRIT, "cupsdCheckPolicy: p=%p, con=%p.", p, con); + + return ((http_status_t)0); + } + + /* + * Find a match for the operation... + */ + + if ((po = cupsdFindPolicyOp(p, con->request->request.op.operation_id)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCheckPolicy: No matching operation, returning 0."); + return ((http_status_t)0); + } + + con->best = po; + + /* + * Return the status of the check... + */ + + return (cupsdIsAuthorized(con, owner)); +} + + +/* + * 'cupsdDeleteAllPolicies()' - Delete all policies in memory. + */ + +void +cupsdDeleteAllPolicies(void) +{ + cupsd_printer_t *printer; /* Current printer */ + + + if (!Policies) + return; + + /* + * First clear the policy pointers for all printers... + */ + + for (printer = (cupsd_printer_t *)cupsArrayFirst(Printers); + printer; + printer = (cupsd_printer_t *)cupsArrayNext(Printers)) + printer->op_policy_ptr = NULL; + + DefaultPolicyPtr = NULL; + + /* + * Then free all of the policies... + */ + + cupsArrayDelete(Policies); + + Policies = NULL; +} + + +/* + * 'cupsdFindPolicy()' - Find a named policy. + */ + +cupsd_policy_t * /* O - Policy */ +cupsdFindPolicy(const char *policy) /* I - Name of policy */ +{ + cupsd_policy_t key; /* Search key */ + + + /* + * Range check... + */ + + if (!policy) + return (NULL); + + /* + * Look it up... + */ + + key.name = (char *)policy; + return ((cupsd_policy_t *)cupsArrayFind(Policies, &key)); +} + + +/* + * 'cupsdFindPolicyOp()' - Find a policy operation. + */ + +cupsd_location_t * /* O - Policy operation */ +cupsdFindPolicyOp(cupsd_policy_t *p, /* I - Policy */ + ipp_op_t op) /* I - IPP operation */ +{ + cupsd_location_t key, /* Search key... */ + *po; /* Current policy operation */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdFindPolicyOp(p=%p, op=%x(%s))", + p, op, ippOpString(op)); + + /* + * Range check... + */ + + if (!p) + return (NULL); + + /* + * Check the operation against the available policies... + */ + + key.op = op; + if ((po = (cupsd_location_t *)cupsArrayFind(p->ops, &key)) != NULL) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdFindPolicyOp: Found exact match..."); + return (po); + } + + key.op = IPP_ANY_OPERATION; + if ((po = (cupsd_location_t *)cupsArrayFind(p->ops, &key)) != NULL) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdFindPolicyOp: Found wildcard match..."); + return (po); + } + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdFindPolicyOp: No match found."); + + return (NULL); +} + + +/* + * 'cupsdGetPrivateAttrs()' - Get the private attributes for the current + * request. + */ + +cups_array_t * /* O - Array or NULL for no restrictions */ +cupsdGetPrivateAttrs( + cupsd_policy_t *policy, /* I - Policy */ + cupsd_client_t *con, /* I - Client connection */ + cupsd_printer_t *printer, /* I - Printer, if any */ + const char *owner) /* I - Owner of object */ +{ + char *name; /* Current name in access list */ + cups_array_t *access_ptr, /* Access array */ + *attrs_ptr; /* Attributes array */ + const char *username; /* Username associated with request */ + ipp_attribute_t *attr; /* Attribute from request */ + struct passwd *pw; /* User info */ + + +#ifdef DEBUG + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdGetPrivateAttrs(policy=%p(%s), con=%p(%d), " + "printer=%p(%s), owner=\"%s\")", policy, policy->name, con, + con->number, printer, printer ? printer->name : "", owner); +#endif /* DEBUG */ + + if (!policy) + { + cupsdLogMessage(CUPSD_LOG_CRIT, "cupsdGetPrivateAttrs: policy=%p, con=%p, printer=%p, owner=\"%s\", DefaultPolicyPtr=%p: This should never happen, please report a bug.", policy, con, printer, owner, DefaultPolicyPtr); + policy = DefaultPolicyPtr; + } + + /* + * Get the access and attributes lists that correspond to the request... + */ + +#ifdef DEBUG + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdGetPrivateAttrs: %s", + ippOpString(con->request->request.op.operation_id)); +#endif /* DEBUG */ + + switch (con->request->request.op.operation_id) + { + case IPP_GET_SUBSCRIPTIONS : + case IPP_GET_SUBSCRIPTION_ATTRIBUTES : + case IPP_GET_NOTIFICATIONS : + access_ptr = policy->sub_access; + attrs_ptr = policy->sub_attrs; + break; + + default : + access_ptr = policy->job_access; + attrs_ptr = policy->job_attrs; + break; + } + + /* + * If none of the attributes are private, return NULL now... + */ + + if ((name = (char *)cupsArrayFirst(attrs_ptr)) != NULL && + !_cups_strcasecmp(name, "none")) + { +#ifdef DEBUG + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdGetPrivateAttrs: Returning NULL."); +#endif /* DEBUG */ + + return (NULL); + } + + /* + * Otherwise check the user against the access list... + */ + + if (con->username[0]) + username = con->username; + else if ((attr = ippFindAttribute(con->request, "requesting-user-name", + IPP_TAG_NAME)) != NULL) + username = attr->values[0].string.text; + else + username = "anonymous"; + + if (username[0]) + { + pw = getpwnam(username); + endpwent(); + } + else + pw = NULL; + +#ifdef DEBUG + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdGetPrivateAttrs: username=\"%s\"", + username); +#endif /* DEBUG */ + + /* + * Otherwise check the user against the access list... + */ + + for (name = (char *)cupsArrayFirst(access_ptr); + name; + name = (char *)cupsArrayNext(access_ptr)) + { +#ifdef DEBUG + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdGetPrivateAttrs: name=%s", name); +#endif /* DEBUG */ + + if (printer && !_cups_strcasecmp(name, "@ACL")) + { + char *acl; /* Current ACL user/group */ + + for (acl = (char *)cupsArrayFirst(printer->users); + acl; + acl = (char *)cupsArrayNext(printer->users)) + { + if (acl[0] == '@') + { + /* + * Check group membership... + */ + + if (cupsdCheckGroup(username, pw, acl + 1)) + break; + } + else if (acl[0] == '#') + { + /* + * Check UUID... + */ + + if (cupsdCheckGroup(username, pw, acl)) + break; + } + else if (!_cups_strcasecmp(username, acl)) + break; + } + } + else if (owner && !_cups_strcasecmp(name, "@OWNER") && + !_cups_strcasecmp(username, owner)) + { +#ifdef DEBUG + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdGetPrivateAttrs: Returning NULL."); +#endif /* DEBUG */ + + return (NULL); + } + else if (!_cups_strcasecmp(name, "@SYSTEM")) + { + int i; /* Looping var */ + + for (i = 0; i < NumSystemGroups; i ++) + if (cupsdCheckGroup(username, pw, SystemGroups[i])) + { +#ifdef DEBUG + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdGetPrivateAttrs: Returning NULL."); +#endif /* DEBUG */ + + return (NULL); + } + } + else if (name[0] == '@') + { + if (cupsdCheckGroup(username, pw, name + 1)) + { +#ifdef DEBUG + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdGetPrivateAttrs: Returning NULL."); +#endif /* DEBUG */ + + return (NULL); + } + } + else if (!_cups_strcasecmp(username, name)) + { +#ifdef DEBUG + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdGetPrivateAttrs: Returning NULL."); +#endif /* DEBUG */ + + return (NULL); + } + } + + /* + * No direct access, so return private attributes list... + */ + +#ifdef DEBUG + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdGetPrivateAttrs: Returning list."); +#endif /* DEBUG */ + + return (attrs_ptr); +} + + +/* + * 'compare_ops()' - Compare two operations. + */ + +static int /* O - Result of comparison */ +compare_ops(cupsd_location_t *a, /* I - First operation */ + cupsd_location_t *b) /* I - Second operation */ +{ + return (a->op - b->op); +} + + +/* + * 'compare_policies()' - Compare two policies. + */ + +static int /* O - Result of comparison */ +compare_policies(cupsd_policy_t *a, /* I - First policy */ + cupsd_policy_t *b) /* I - Second policy */ +{ + return (_cups_strcasecmp(a->name, b->name)); +} + + +/* + * 'free_policy()' - Free the memory used by a policy. + */ + +static void +free_policy(cupsd_policy_t *p) /* I - Policy to free */ +{ + cupsArrayDelete(p->job_access); + cupsArrayDelete(p->job_attrs); + cupsArrayDelete(p->sub_access); + cupsArrayDelete(p->sub_attrs); + cupsArrayDelete(p->ops); + cupsdClearString(&p->name); + free(p); +} + + +/* + * 'hash_op()' - Generate a lookup hash for the operation. + */ + +static int /* O - Hash value */ +hash_op(cupsd_location_t *op) /* I - Operation */ +{ + return (((op->op >> 6) & 0x40) | (op->op & 0x3f)); +} diff --git a/scheduler/policy.h b/scheduler/policy.h new file mode 100644 index 0000000..74a7ff4 --- /dev/null +++ b/scheduler/policy.h @@ -0,0 +1,52 @@ +/* + * Policy definitions for the CUPS scheduler. + * + * Copyright 2007-2010 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + + +/* + * Policy structure... + */ + +typedef struct +{ + char *name; /* Policy name */ + cups_array_t *job_access, /* Private users/groups for jobs */ + *job_attrs, /* Private attributes for jobs */ + *sub_access, /* Private users/groups for subscriptions */ + *sub_attrs, /* Private attributes for subscriptions */ + *ops; /* Operations */ +} cupsd_policy_t; + +typedef struct cupsd_printer_s cupsd_printer_t; + + +/* + * Globals... + */ + +VAR cups_array_t *Policies VALUE(NULL); + /* Policies */ + + +/* + * Prototypes... + */ + +extern cupsd_policy_t *cupsdAddPolicy(const char *policy); +extern cupsd_location_t *cupsdAddPolicyOp(cupsd_policy_t *p, + cupsd_location_t *po, + ipp_op_t op); +extern http_status_t cupsdCheckPolicy(cupsd_policy_t *p, cupsd_client_t *con, + const char *owner); +extern void cupsdDeleteAllPolicies(void); +extern cupsd_policy_t *cupsdFindPolicy(const char *policy); +extern cupsd_location_t *cupsdFindPolicyOp(cupsd_policy_t *p, ipp_op_t op); +extern cups_array_t *cupsdGetPrivateAttrs(cupsd_policy_t *p, + cupsd_client_t *con, + cupsd_printer_t *printer, + const char *owner); diff --git a/scheduler/printers.c b/scheduler/printers.c new file mode 100644 index 0000000..8069039 --- /dev/null +++ b/scheduler/printers.c @@ -0,0 +1,5106 @@ +/* + * Printer routines for the CUPS scheduler. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include +#ifdef HAVE_APPLICATIONSERVICES_H +# include +#endif /* HAVE_APPLICATIONSERVICES_H */ +#ifdef HAVE_SYS_MOUNT_H +# include +#endif /* HAVE_SYS_MOUNT_H */ +#ifdef HAVE_SYS_STATVFS_H +# include +#elif defined(HAVE_SYS_STATFS_H) +# include +#endif /* HAVE_SYS_STATVFS_H */ +#ifdef HAVE_SYS_VFS_H +# include +#endif /* HAVE_SYS_VFS_H */ +#ifdef __APPLE__ +# include +#endif /* __APPLE__ */ + + +/* + * Local functions... + */ + +static void add_printer_defaults(cupsd_printer_t *p); +static void add_printer_filter(cupsd_printer_t *p, mime_type_t *type, + const char *filter); +static void add_printer_formats(cupsd_printer_t *p); +static int compare_printers(void *first, void *second, void *data); +static void delete_printer_filters(cupsd_printer_t *p); +static void dirty_printer(cupsd_printer_t *p); +static void load_ppd(cupsd_printer_t *p); +static ipp_t *new_media_col(pwg_size_t *size); +static void write_xml_string(cups_file_t *fp, const char *s); + + +/* + * 'cupsdAddPrinter()' - Add a printer to the system. + */ + +cupsd_printer_t * /* O - New printer */ +cupsdAddPrinter(const char *name) /* I - Name of printer */ +{ + cupsd_printer_t *p; /* New printer */ + char uri[1024], /* Printer URI */ + uuid[64]; /* Printer UUID */ + + + /* + * Range check input... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdAddPrinter(\"%s\")", name); + + /* + * Create a new printer entity... + */ + + if ((p = calloc(1, sizeof(cupsd_printer_t))) == NULL) + { + cupsdLogMessage(CUPSD_LOG_CRIT, "Unable to allocate memory for printer - %s", + strerror(errno)); + return (NULL); + } + + _cupsRWInit(&p->lock); + + cupsdSetString(&p->name, name); + cupsdSetString(&p->info, name); + cupsdSetString(&p->hostname, ServerName); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + ServerName, RemotePort, "/printers/%s", name); + cupsdSetString(&p->uri, uri); + cupsdSetString(&p->uuid, httpAssembleUUID(ServerName, RemotePort, name, 0, + uuid, sizeof(uuid))); + cupsdSetDeviceURI(p, "file:///dev/null"); + + p->config_time = time(NULL); + p->state = IPP_PRINTER_STOPPED; + p->state_time = time(NULL); + p->accepting = 0; + p->shared = DefaultShared; + p->filetype = mimeAddType(MimeDatabase, "printer", name); + + cupsdSetString(&p->job_sheets[0], "none"); + cupsdSetString(&p->job_sheets[1], "none"); + + cupsdSetString(&p->error_policy, ErrorPolicy); + cupsdSetString(&p->op_policy, DefaultPolicy); + + p->op_policy_ptr = DefaultPolicyPtr; + + /* + * Insert the printer in the printer list alphabetically... + */ + + if (!Printers) + Printers = cupsArrayNew(compare_printers, NULL); + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdAddPrinter: Adding %s to Printers", p->name); + cupsArrayAdd(Printers, p); + + /* + * Return the new printer... + */ + + return (p); +} + + +/* + * 'cupsdCreateCommonData()' - Create the common printer data. + */ + +void +cupsdCreateCommonData(void) +{ + int i; /* Looping var */ + ipp_attribute_t *attr; /* Attribute data */ + cups_dir_t *dir; /* Notifier directory */ + cups_dentry_t *dent; /* Notifier directory entry */ + cups_array_t *notifiers; /* Notifier array */ + char filename[1024], /* Filename */ + *notifier; /* Current notifier */ + cupsd_policy_t *p; /* Current policy */ + int k_supported; /* Maximum file size supported */ +#ifdef HAVE_STATVFS + struct statvfs spoolinfo; /* FS info for spool directory */ + double spoolsize; /* FS size */ +#elif defined(HAVE_STATFS) + struct statfs spoolinfo; /* FS info for spool directory */ + double spoolsize; /* FS size */ +#endif /* HAVE_STATVFS */ + static const char * const page_delivery[] = + { /* page-delivery-supported values */ + "reverse-order", + "same-order" + }; + static const char * const print_scaling[] = + { /* print-scaling-supported values */ + "auto", + "auto-fit", + "fill", + "fit", + "none" + }; + static const int number_up[] = /* number-up-supported values */ + { 1, 2, 4, 6, 9, 16 }; + static const char * const number_up_layout[] = + { /* number-up-layout-supported values */ + "btlr", + "btrl", + "lrbt", + "lrtb", + "rlbt", + "rltb", + "tblr", + "tbrl" + }; + static const int orients[4] =/* orientation-requested-supported values */ + { + IPP_PORTRAIT, + IPP_LANDSCAPE, + IPP_REVERSE_LANDSCAPE, + IPP_REVERSE_PORTRAIT + }; + static const char * const holds[] = /* job-hold-until-supported values */ + { + "no-hold", + "indefinite", + "day-time", + "evening", + "night", + "second-shift", + "third-shift", + "weekend" + }; + static const char * const features[] =/* ipp-features-supported values */ + { + "subscription-object" + }; + static const char * const versions[] =/* ipp-versions-supported values */ + { + "1.0", + "1.1", + "2.0", + "2.1" + }; + static const int ops[] = /* operations-supported values */ + { + IPP_OP_PRINT_JOB, + IPP_OP_VALIDATE_JOB, + IPP_OP_CREATE_JOB, + IPP_OP_SEND_DOCUMENT, + IPP_OP_CANCEL_JOB, + IPP_OP_GET_JOB_ATTRIBUTES, + IPP_OP_GET_JOBS, + IPP_OP_GET_PRINTER_ATTRIBUTES, + IPP_OP_HOLD_JOB, + IPP_OP_RELEASE_JOB, + IPP_OP_PAUSE_PRINTER, + IPP_OP_RESUME_PRINTER, + IPP_OP_PURGE_JOBS, + IPP_OP_SET_PRINTER_ATTRIBUTES, + IPP_OP_SET_JOB_ATTRIBUTES, + IPP_OP_GET_PRINTER_SUPPORTED_VALUES, + IPP_OP_CREATE_PRINTER_SUBSCRIPTIONS, + IPP_OP_CREATE_JOB_SUBSCRIPTIONS, + IPP_OP_GET_SUBSCRIPTION_ATTRIBUTES, + IPP_OP_GET_SUBSCRIPTIONS, + IPP_OP_RENEW_SUBSCRIPTION, + IPP_OP_CANCEL_SUBSCRIPTION, + IPP_OP_GET_NOTIFICATIONS, + IPP_OP_ENABLE_PRINTER, + IPP_OP_DISABLE_PRINTER, + IPP_OP_HOLD_NEW_JOBS, + IPP_OP_RELEASE_HELD_NEW_JOBS, + IPP_OP_CANCEL_JOBS, + IPP_OP_CANCEL_MY_JOBS, + IPP_OP_CLOSE_JOB, + IPP_OP_CUPS_GET_DEFAULT, + IPP_OP_CUPS_GET_PRINTERS, + IPP_OP_CUPS_ADD_MODIFY_PRINTER, + IPP_OP_CUPS_DELETE_PRINTER, + IPP_OP_CUPS_GET_CLASSES, + IPP_OP_CUPS_ADD_MODIFY_CLASS, + IPP_OP_CUPS_DELETE_CLASS, + IPP_OP_CUPS_ACCEPT_JOBS, + IPP_OP_CUPS_REJECT_JOBS, + IPP_OP_CUPS_SET_DEFAULT, + IPP_OP_CUPS_GET_DEVICES, + IPP_OP_CUPS_GET_PPDS, + IPP_OP_CUPS_MOVE_JOB, + IPP_OP_CUPS_AUTHENTICATE_JOB, + IPP_OP_CUPS_GET_PPD, + IPP_OP_CUPS_GET_DOCUMENT, + IPP_OP_RESTART_JOB + }; + static const char * const charsets[] =/* charset-supported values */ + { + "us-ascii", + "utf-8" + }; + static const char * const compressions[] = + { /* document-compression-supported values */ + "none" +#ifdef HAVE_LIBZ + ,"gzip" +#endif /* HAVE_LIBZ */ + }; + static const char * const media_col_supported[] = + { /* media-col-supported values */ + "media-bottom-margin", + "media-left-margin", + "media-right-margin", + "media-size", + "media-source", + "media-top-margin", + "media-type" + }; + static const char * const multiple_document_handling[] = + { /* multiple-document-handling-supported values */ + "separate-documents-uncollated-copies", + "separate-documents-collated-copies" + }; + static const char * const notify_attrs[] = + { /* notify-attributes-supported values */ + "printer-state-change-time", + "notify-lease-expiration-time", + "notify-subscriber-user-name" + }; + static const char * const notify_events[] = + { /* notify-events-supported values */ + "job-completed", + "job-config-changed", + "job-created", + "job-progress", + "job-state-changed", + "job-stopped", + "printer-added", + "printer-changed", + "printer-config-changed", + "printer-deleted", + "printer-finishings-changed", + "printer-media-changed", + "printer-modified", + "printer-restarted", + "printer-shutdown", + "printer-state-changed", + "printer-stopped", + "server-audit", + "server-restarted", + "server-started", + "server-stopped" + }; + static const char * const job_creation[] = + { /* job-creation-attributes-supported */ + "copies", + "finishings", + "finishings-col", + "ipp-attribute-fidelity", + "job-hold-until", + "job-name", + "job-priority", + "job-sheets", + "media", + "media-col", + "multiple-document-handling", + "number-up", + "number-up-layout", + "orientation-requested", + "output-bin", + "page-delivery", + "page-ranges", + "print-color-mode", + "print-quality", + "print-scaling", + "printer-resolution", + "sides" + }; + static const char * const job_settable[] = + { /* job-settable-attributes-supported */ + "copies", + "finishings", + "job-hold-until", + "job-name", + "job-priority", + "media", + "media-col", + "multiple-document-handling", + "number-up", + "output-bin", + "orientation-requested", + "page-ranges", + "print-color-mode", + "print-quality", + "printer-resolution", + "sides" + }; + static const char * const pdf_versions[] = + { /* pdf-versions-supported */ + "adobe-1.2", + "adobe-1.3", + "adobe-1.4", + "adobe-1.5", + "adobe-1.6", + "adobe-1.7", + "iso-19005-1_2005", + "iso-32000-1_2008", + "pwg-5102.3" + }; + static const char * const printer_settable[] = + { /* printer-settable-attributes-supported */ + "printer-geo-location", + "printer-info", + "printer-location", + "printer-organization", + "printer-organizational-unit" + }; + static const char * const which_jobs[] = + { /* which-jobs-supported values */ + "completed", + "not-completed", + "aborted", + "all", + "canceled", + "pending", + "pending-held", + "processing", + "processing-stopped" + }; + + + if (CommonData) + ippDelete(CommonData); + + CommonData = ippNew(); + + /* + * Get the maximum spool size based on the size of the filesystem used for + * the RequestRoot directory. If the host OS doesn't support the statfs call + * or the filesystem is larger than 2TiB, always report INT_MAX. + */ + +#ifdef HAVE_STATVFS + if (statvfs(RequestRoot, &spoolinfo)) + k_supported = INT_MAX; + else if ((spoolsize = (double)spoolinfo.f_frsize * spoolinfo.f_blocks / 1024) > + INT_MAX) + k_supported = INT_MAX; + else + k_supported = (int)spoolsize; + +#elif defined(HAVE_STATFS) + if (statfs(RequestRoot, &spoolinfo)) + k_supported = INT_MAX; + else if ((spoolsize = (double)spoolinfo.f_bsize * spoolinfo.f_blocks / 1024) > + INT_MAX) + k_supported = INT_MAX; + else + k_supported = (int)spoolsize; + +#else + k_supported = INT_MAX; +#endif /* HAVE_STATVFS */ + + /* + * This list of attributes is sorted to improve performance when the + * client provides a requested-attributes attribute... + */ + + /* charset-configured */ + ippAddString(CommonData, IPP_TAG_PRINTER, IPP_TAG_CHARSET | IPP_TAG_COPY, + "charset-configured", NULL, "utf-8"); + + /* charset-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_CHARSET | IPP_TAG_COPY, + "charset-supported", sizeof(charsets) / sizeof(charsets[0]), + NULL, charsets); + + /* compression-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "compression-supported", + sizeof(compressions) / sizeof(compressions[0]), + NULL, compressions); + + /* copies-supported */ + ippAddRange(CommonData, IPP_TAG_PRINTER, "copies-supported", 1, MaxCopies); + + /* cups-version */ + ippAddString(CommonData, IPP_TAG_PRINTER, IPP_TAG_TEXT | IPP_TAG_COPY, + "cups-version", NULL, CUPS_SVERSION + 6); + + /* generated-natural-language-supported (no IPP_TAG_COPY) */ + ippAddString(CommonData, IPP_TAG_PRINTER, IPP_TAG_LANGUAGE, + "generated-natural-language-supported", NULL, DefaultLanguage); + + /* ipp-features-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "ipp-features-supported", sizeof(features) / sizeof(features[0]), NULL, features); + + /* ipp-versions-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "ipp-versions-supported", sizeof(versions) / sizeof(versions[0]), + NULL, versions); + + /* ippget-event-life */ + ippAddInteger(CommonData, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "ippget-event-life", 15); + + /* job-cancel-after-supported */ + ippAddRange(CommonData, IPP_TAG_PRINTER, "job-cancel-after-supported", + 0, INT_MAX); + + /* job-creation-attributes-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "job-creation-attributes-supported", + sizeof(job_creation) / sizeof(job_creation[0]), + NULL, job_creation); + + /* job-hold-until-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "job-hold-until-supported", sizeof(holds) / sizeof(holds[0]), + NULL, holds); + + /* job-ids-supported */ + ippAddBoolean(CommonData, IPP_TAG_PRINTER, "job-ids-supported", 1); + + /* job-k-octets-supported */ + ippAddRange(CommonData, IPP_TAG_PRINTER, "job-k-octets-supported", 0, + k_supported); + + /* job-priority-supported */ + ippAddInteger(CommonData, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "job-priority-supported", 100); + + /* job-settable-attributes-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "job-settable-attributes-supported", + sizeof(job_settable) / sizeof(job_settable[0]), + NULL, job_settable); + + /* job-sheets-supported */ + if (cupsArrayCount(Banners) > 0) + { + /* + * Setup the job-sheets-supported attribute... + */ + + if (Classification && !ClassifyOverride) + attr = ippAddString(CommonData, IPP_TAG_PRINTER, + IPP_TAG_NAME | IPP_TAG_COPY, + "job-sheets-supported", NULL, Classification); + else + attr = ippAddStrings(CommonData, IPP_TAG_PRINTER, + IPP_TAG_NAME | IPP_TAG_COPY, + "job-sheets-supported", cupsArrayCount(Banners) + 1, + NULL, NULL); + + if (attr == NULL) + cupsdLogMessage(CUPSD_LOG_EMERG, + "Unable to allocate memory for " + "job-sheets-supported attribute: %s!", strerror(errno)); + else if (!Classification || ClassifyOverride) + { + cupsd_banner_t *banner; /* Current banner */ + + + attr->values[0].string.text = _cupsStrAlloc("none"); + + for (i = 1, banner = (cupsd_banner_t *)cupsArrayFirst(Banners); + banner; + i ++, banner = (cupsd_banner_t *)cupsArrayNext(Banners)) + attr->values[i].string.text = banner->name; + } + } + else + ippAddString(CommonData, IPP_TAG_PRINTER, IPP_TAG_NAME | IPP_TAG_COPY, + "job-sheets-supported", NULL, "none"); + + /* jpeg-k-octets-supported */ + ippAddRange(CommonData, IPP_TAG_PRINTER, "jpeg-k-octets-supported", 0, + k_supported); + + /* jpeg-x-dimension-supported */ + ippAddRange(CommonData, IPP_TAG_PRINTER, "jpeg-x-dimension-supported", 0, + 65535); + + /* jpeg-y-dimension-supported */ + ippAddRange(CommonData, IPP_TAG_PRINTER, "jpeg-y-dimension-supported", 1, + 65535); + + /* media-col-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "media-col-supported", + sizeof(media_col_supported) / + sizeof(media_col_supported[0]), NULL, + media_col_supported); + + /* multiple-document-handling-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "multiple-document-handling-supported", + sizeof(multiple_document_handling) / + sizeof(multiple_document_handling[0]), NULL, + multiple_document_handling); + + /* multiple-document-jobs-supported */ + ippAddBoolean(CommonData, IPP_TAG_PRINTER, + "multiple-document-jobs-supported", 1); + + /* multiple-operation-time-out */ + ippAddInteger(CommonData, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "multiple-operation-time-out", MultipleOperationTimeout); + + /* multiple-operation-time-out-action */ + ippAddString(CommonData, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "multiple-operation-time-out-action", NULL, "process-job"); + + /* natural-language-configured (no IPP_TAG_COPY) */ + ippAddString(CommonData, IPP_TAG_PRINTER, IPP_TAG_LANGUAGE, + "natural-language-configured", NULL, DefaultLanguage); + + /* notify-attributes-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "notify-attributes-supported", + (int)(sizeof(notify_attrs) / sizeof(notify_attrs[0])), + NULL, notify_attrs); + + /* notify-lease-duration-supported */ + ippAddRange(CommonData, IPP_TAG_PRINTER, + "notify-lease-duration-supported", 0, + MaxLeaseDuration ? MaxLeaseDuration : 2147483647); + + /* notify-max-events-supported */ + ippAddInteger(CommonData, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "notify-max-events-supported", MaxEvents); + + /* notify-events-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "notify-events-supported", + (int)(sizeof(notify_events) / sizeof(notify_events[0])), + NULL, notify_events); + + /* notify-pull-method-supported */ + ippAddString(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "notify-pull-method-supported", NULL, "ippget"); + + /* notify-schemes-supported */ + snprintf(filename, sizeof(filename), "%s/notifier", ServerBin); + if ((dir = cupsDirOpen(filename)) != NULL) + { + notifiers = cupsArrayNew((cups_array_func_t)strcmp, NULL); + + while ((dent = cupsDirRead(dir)) != NULL) + if (S_ISREG(dent->fileinfo.st_mode) && + (dent->fileinfo.st_mode & S_IXOTH) != 0) + cupsArrayAdd(notifiers, _cupsStrAlloc(dent->filename)); + + if (cupsArrayCount(notifiers) > 0) + { + attr = ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "notify-schemes-supported", + cupsArrayCount(notifiers), NULL, NULL); + + for (i = 0, notifier = (char *)cupsArrayFirst(notifiers); + notifier; + i ++, notifier = (char *)cupsArrayNext(notifiers)) + attr->values[i].string.text = notifier; + } + + cupsArrayDelete(notifiers); + cupsDirClose(dir); + } + + /* number-up-supported */ + ippAddIntegers(CommonData, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "number-up-supported", sizeof(number_up) / sizeof(number_up[0]), number_up); + + /* number-up-layout-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "number-up-layout-supported", sizeof(number_up_layout) / sizeof(number_up_layout[0]), NULL, number_up_layout); + + /* operations-supported */ + ippAddIntegers(CommonData, IPP_TAG_PRINTER, IPP_TAG_ENUM, + "operations-supported", sizeof(ops) / sizeof(ops[0]), ops); + + /* orientation-requested-supported */ + ippAddIntegers(CommonData, IPP_TAG_PRINTER, IPP_TAG_ENUM, + "orientation-requested-supported", 4, orients); + + /* page-delivery-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "page-delivery-supported", sizeof(page_delivery) / sizeof(page_delivery[0]), NULL, page_delivery); + + /* page-ranges-supported */ + ippAddBoolean(CommonData, IPP_TAG_PRINTER, "page-ranges-supported", 1); + + /* pdf-k-octets-supported */ + ippAddRange(CommonData, IPP_TAG_PRINTER, "pdf-k-octets-supported", 0, + k_supported); + + /* pdf-versions-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "pdf-versions-supported", + sizeof(pdf_versions) / sizeof(pdf_versions[0]), NULL, + pdf_versions); + + /* pdl-override-supported */ + ippAddString(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "pdl-override-supported", NULL, "attempted"); + + /* print-scaling-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-scaling-supported", sizeof(print_scaling) / sizeof(print_scaling[0]), NULL, print_scaling); + + /* printer-get-attributes-supported */ + ippAddString(CommonData, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "printer-get-attributes-supported", NULL, "document-format"); + + /* printer-op-policy-supported */ + attr = ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_NAME | IPP_TAG_COPY, + "printer-op-policy-supported", cupsArrayCount(Policies), + NULL, NULL); + for (i = 0, p = (cupsd_policy_t *)cupsArrayFirst(Policies); + p; + i ++, p = (cupsd_policy_t *)cupsArrayNext(Policies)) + attr->values[i].string.text = p->name; + + /* printer-settable-attributes-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "printer-settable-attributes-supported", + sizeof(printer_settable) / sizeof(printer_settable[0]), + NULL, printer_settable); + + /* server-is-sharing-printers */ + ippAddBoolean(CommonData, IPP_TAG_PRINTER, "server-is-sharing-printers", + BrowseLocalProtocols != 0 && Browsing); + + /* which-jobs-supported */ + ippAddStrings(CommonData, IPP_TAG_PRINTER, IPP_TAG_KEYWORD | IPP_TAG_COPY, + "which-jobs-supported", + sizeof(which_jobs) / sizeof(which_jobs[0]), NULL, which_jobs); +} + + +/* + * 'cupsdDeleteAllPrinters()' - Delete all printers from the system. + */ + +void +cupsdDeleteAllPrinters(void) +{ + cupsd_printer_t *p; /* Pointer to current printer/class */ + + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + { + p->op_policy_ptr = DefaultPolicyPtr; + cupsdDeletePrinter(p, 0); + } +} + + +/* + * 'cupsdDeletePrinter()' - Delete a printer from the system. + */ + +int /* O - 1 if classes affected, 0 otherwise */ +cupsdDeletePrinter( + cupsd_printer_t *p, /* I - Printer to delete */ + int update) /* I - Update printers.conf? */ +{ + int i, /* Looping var */ + changed = 0; /* Class changed? */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdDeletePrinter(p=%p(%s), update=%d)", + p, p->name, update); + + /* + * Save the current position in the Printers array... + */ + + cupsArraySave(Printers); + + /* + * Stop printing on this printer... + */ + + cupsdSetPrinterState(p, IPP_PRINTER_STOPPED, update); + + p->state = IPP_PRINTER_STOPPED; /* Force for browsed printers */ + + if (p->job) + cupsdSetJobState(p->job, IPP_JOB_PENDING, CUPSD_JOB_FORCE, + update ? "Job stopped due to printer being deleted." : + "Job stopped."); + + /* + * Remove the printer from the list... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdDeletePrinter: Removing %s from Printers", p->name); + cupsArrayRemove(Printers, p); + + /* + * If p is the default printer, assign a different one... + */ + + if (p == DefaultPrinter) + DefaultPrinter = NULL; + + /* + * Remove this printer from any classes... + */ + + changed = cupsdDeletePrinterFromClasses(p); + + /* + * Deregister from any browse protocols... + */ + + cupsdDeregisterPrinter(p, 1); + + /* + * Remove support files if this is a temporary queue and deregister color + * profiles... + */ + + if (p->temporary) + { + char filename[1024]; /* Script/PPD filename */ + + /* + * Remove any old PPD or script files... + */ + + snprintf(filename, sizeof(filename), "%s/ppd/%s.ppd", ServerRoot, p->name); + unlink(filename); + snprintf(filename, sizeof(filename), "%s/ppd/%s.ppd.O", ServerRoot, p->name); + unlink(filename); + + snprintf(filename, sizeof(filename), "%s/%s.png", CacheDir, p->name); + unlink(filename); + + snprintf(filename, sizeof(filename), "%s/%s.data", CacheDir, p->name); + unlink(filename); + + /* + * Unregister color profiles... + */ + + cupsdUnregisterColor(p); + } + + /* + * Free all memory used by the printer... + */ + + if (p->printers != NULL) + free(p->printers); + + delete_printer_filters(p); + + for (i = 0; i < p->num_reasons; i ++) + _cupsStrFree(p->reasons[i]); + + ippDelete(p->attrs); + ippDelete(p->ppd_attrs); + + mimeDeleteType(MimeDatabase, p->filetype); + mimeDeleteType(MimeDatabase, p->prefiltertype); + + cupsdFreeStrings(&(p->users)); + cupsdFreeQuotas(p); + + cupsdClearString(&p->uri); + cupsdClearString(&p->hostname); + cupsdClearString(&p->name); + cupsdClearString(&p->location); + cupsdClearString(&p->geo_location); + cupsdClearString(&p->make_model); + cupsdClearString(&p->info); + cupsdClearString(&p->job_sheets[0]); + cupsdClearString(&p->job_sheets[1]); + cupsdClearString(&p->device_uri); + cupsdClearString(&p->sanitized_device_uri); + cupsdClearString(&p->port_monitor); + cupsdClearString(&p->op_policy); + cupsdClearString(&p->error_policy); + cupsdClearString(&p->strings); + + cupsdClearString(&p->alert); + cupsdClearString(&p->alert_description); + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + cupsdClearString(&p->pdl); + cupsdClearString(&p->reg_name); +#endif /* HAVE_DNSSD || HAVE_AVAHI */ + + cupsArrayDelete(p->filetypes); + + cupsFreeOptions(p->num_options, p->options); + + free(p); + + /* + * Restore the previous position in the Printers array... + */ + + cupsArrayRestore(Printers); + + return (changed); +} + + +/* + * 'cupsdDeleteTemporaryPrinters()' - Delete unneeded temporary printers. + */ + +void +cupsdDeleteTemporaryPrinters(int force) /* I - Force deletion instead of auto? */ +{ + cupsd_printer_t *p; /* Current printer */ + time_t unused_time; /* Last time for printer state change */ + + + /* + * Allow temporary printers to stick around for 60 seconds after the last job + * completes. + */ + + unused_time = time(NULL) - 60; + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); p; p = (cupsd_printer_t *)cupsArrayNext(Printers)) + { + if (p->temporary && (force || p->state_time < unused_time)) + cupsdDeletePrinter(p, 0); + } +} + + +/* + * 'cupsdFindDest()' - Find a destination in the list. + */ + +cupsd_printer_t * /* O - Destination in list */ +cupsdFindDest(const char *name) /* I - Name of printer or class to find */ +{ + cupsd_printer_t key; /* Search key */ + + + key.name = (char *)name; + return ((cupsd_printer_t *)cupsArrayFind(Printers, &key)); +} + + +/* + * 'cupsdFindPrinter()' - Find a printer in the list. + */ + +cupsd_printer_t * /* O - Printer in list */ +cupsdFindPrinter(const char *name) /* I - Name of printer to find */ +{ + cupsd_printer_t *p; /* Printer in list */ + + + if ((p = cupsdFindDest(name)) != NULL && (p->type & CUPS_PRINTER_CLASS)) + return (NULL); + else + return (p); +} + + +/* + * 'cupsdLoadAllPrinters()' - Load printers from the printers.conf file. + */ + +void +cupsdLoadAllPrinters(void) +{ + int i; /* Looping var */ + cups_file_t *fp; /* printers.conf file */ + int linenum; /* Current line number */ + char line[4096], /* Line from file */ + *value, /* Pointer to value */ + *valueptr; /* Pointer into value */ + cupsd_printer_t *p; /* Current printer */ + + + /* + * Open the printers.conf file... + */ + + snprintf(line, sizeof(line), "%s/printers.conf", ServerRoot); + if ((fp = cupsdOpenConfFile(line)) == NULL) + return; + + /* + * Read printer configurations until we hit EOF... + */ + + linenum = 0; + p = NULL; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + /* + * Decode the directive... + */ + + if (!_cups_strcasecmp(line, "NextPrinterId")) + { + if (value && (i = atoi(value)) > 0) + NextPrinterId = i; + else + cupsdLogMessage(CUPSD_LOG_ERROR, "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, " or + */ + + if (p == NULL && value) + { + /* + * Add the printer and a base file type... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Loading printer %s...", value); + + p = cupsdAddPrinter(value); + p->accepting = 1; + p->state = IPP_PRINTER_IDLE; + + /* + * Set the default printer as needed... + */ + + if (!_cups_strcasecmp(line, "") || !_cups_strcasecmp(line, "")) + { + if (p != NULL) + { + /* + * Close out the current printer... + */ + + if (!p->printer_id) + { + p->printer_id = NextPrinterId ++; + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + } + + cupsdSetPrinterAttrs(p); + + if (strncmp(p->device_uri, "file:", 5) && p->state != IPP_PRINTER_STOPPED) + { + /* + * See if the backend exists... + */ + + snprintf(line, sizeof(line), "%s/backend/%s", ServerBin, p->device_uri); + + if ((valueptr = strchr(line + strlen(ServerBin), ':')) != NULL) + *valueptr = '\0'; /* Chop everything but URI scheme */ + + if (access(line, 0)) + { + /* + * Backend does not exist, stop printer... + */ + + p->state = IPP_PRINTER_STOPPED; + snprintf(p->state_message, sizeof(p->state_message), "Backend %s does not exist!", line); + } + } + + p = NULL; + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!p) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "PrinterId")) + { + if (value && (i = atoi(value)) > 0) + p->printer_id = i; + else + cupsdLogMessage(CUPSD_LOG_ERROR, "Bad PrinterId on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "UUID")) + { + if (value && !strncmp(value, "urn:uuid:", 9)) + cupsdSetString(&(p->uuid), value); + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad UUID on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "AuthInfoRequired")) + { + if (!cupsdSetAuthInfoRequired(p, value, NULL)) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad AuthInfoRequired on line %d of printers.conf.", + linenum); + } + else if (!_cups_strcasecmp(line, "Info")) + { + cupsdSetString(&p->info, value ? value : ""); + } + else if (!_cups_strcasecmp(line, "MakeModel")) + { + if (value) + cupsdSetString(&p->make_model, value); + } + else if (!_cups_strcasecmp(line, "Location")) + { + cupsdSetString(&p->location, value ? value : ""); + } + else if (!_cups_strcasecmp(line, "GeoLocation")) + { + cupsdSetString(&p->geo_location, value ? value : ""); + } + else if (!_cups_strcasecmp(line, "Organization")) + { + cupsdSetString(&p->organization, value ? value : ""); + } + else if (!_cups_strcasecmp(line, "OrganizationalUnit")) + { + cupsdSetString(&p->organizational_unit, value ? value : ""); + } + else if (!_cups_strcasecmp(line, "DeviceURI")) + { + if (value) + cupsdSetDeviceURI(p, value); + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "Option") && value) + { + /* + * Option name value + */ + + for (valueptr = value; *valueptr && !isspace(*valueptr & 255); valueptr ++); + + if (!*valueptr) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + else + { + for (; *valueptr && isspace(*valueptr & 255); *valueptr++ = '\0'); + + p->num_options = cupsAddOption(value, valueptr, p->num_options, + &(p->options)); + } + } + else if (!_cups_strcasecmp(line, "PortMonitor")) + { + if (value && strcmp(value, "none")) + cupsdSetString(&p->port_monitor, value); + else if (value) + cupsdClearString(&p->port_monitor); + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "Reason")) + { + if (value && + strcmp(value, "connecting-to-device") && + strcmp(value, "cups-insecure-filter-warning") && + strcmp(value, "cups-missing-filter-warning")) + { + for (i = 0 ; i < p->num_reasons; i ++) + if (!strcmp(value, p->reasons[i])) + break; + + if (i >= p->num_reasons && + p->num_reasons < (int)(sizeof(p->reasons) / sizeof(p->reasons[0]))) + { + p->reasons[p->num_reasons] = _cupsStrAlloc(value); + p->num_reasons ++; + } + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "State")) + { + /* + * Set the initial queue state... + */ + + if (value && !_cups_strcasecmp(value, "idle")) + p->state = IPP_PRINTER_IDLE; + else if (value && !_cups_strcasecmp(value, "stopped")) + { + p->state = IPP_PRINTER_STOPPED; + + for (i = 0 ; i < p->num_reasons; i ++) + if (!strcmp("paused", p->reasons[i])) + break; + + if (i >= p->num_reasons && + p->num_reasons < (int)(sizeof(p->reasons) / sizeof(p->reasons[0]))) + { + p->reasons[p->num_reasons] = _cupsStrAlloc("paused"); + p->num_reasons ++; + } + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "StateMessage")) + { + /* + * Set the initial queue state message... + */ + + if (value) + strlcpy(p->state_message, value, sizeof(p->state_message)); + } + else if (!_cups_strcasecmp(line, "StateTime")) + { + /* + * Set the state time... + */ + + if (value) + p->state_time = atoi(value); + } + else if (!_cups_strcasecmp(line, "ConfigTime")) + { + /* + * Set the config time... + */ + + if (value) + p->config_time = atoi(value); + } + else if (!_cups_strcasecmp(line, "Accepting")) + { + /* + * Set the initial accepting state... + */ + + if (value && + (!_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "true"))) + p->accepting = 1; + else if (value && + (!_cups_strcasecmp(value, "no") || + !_cups_strcasecmp(value, "off") || + !_cups_strcasecmp(value, "false"))) + p->accepting = 0; + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "Type")) + { + if (value) + p->type = (cups_ptype_t)atoi(value); + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "Shared")) + { + /* + * Set the initial shared state... + */ + + if (value && + (!_cups_strcasecmp(value, "yes") || + !_cups_strcasecmp(value, "on") || + !_cups_strcasecmp(value, "true"))) + p->shared = 1; + else if (value && + (!_cups_strcasecmp(value, "no") || + !_cups_strcasecmp(value, "off") || + !_cups_strcasecmp(value, "false"))) + p->shared = 0; + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "JobSheets")) + { + /* + * Set the initial job sheets... + */ + + if (value) + { + for (valueptr = value; *valueptr && !isspace(*valueptr & 255); valueptr ++); + + if (*valueptr) + *valueptr++ = '\0'; + + cupsdSetString(&p->job_sheets[0], value); + + while (isspace(*valueptr & 255)) + valueptr ++; + + if (*valueptr) + { + for (value = valueptr; *valueptr && !isspace(*valueptr & 255); valueptr ++); + + if (*valueptr) + *valueptr = '\0'; + + cupsdSetString(&p->job_sheets[1], value); + } + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "AllowUser")) + { + if (value) + { + p->deny_users = 0; + cupsdAddString(&(p->users), value); + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "DenyUser")) + { + if (value) + { + p->deny_users = 1; + cupsdAddString(&(p->users), value); + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "QuotaPeriod")) + { + if (value) + p->quota_period = atoi(value); + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "PageLimit")) + { + if (value) + p->page_limit = atoi(value); + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "KLimit")) + { + if (value) + p->k_limit = atoi(value); + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "OpPolicy")) + { + if (value) + { + cupsd_policy_t *pol; /* Policy */ + + + if ((pol = cupsdFindPolicy(value)) != NULL) + { + cupsdSetString(&p->op_policy, value); + p->op_policy_ptr = pol; + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad policy \"%s\" on line %d of printers.conf", + value, linenum); + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "ErrorPolicy")) + { + if (value) + { + if (strcmp(value, "retry-current-job") && + strcmp(value, "abort-job") && + strcmp(value, "retry-job") && + strcmp(value, "stop-printer")) + cupsdLogMessage(CUPSD_LOG_ALERT, "Invalid ErrorPolicy \"%s\" on line %d or printers.conf.", ErrorPolicy, linenum); + else + cupsdSetString(&p->error_policy, value); + } + else + cupsdLogMessage(CUPSD_LOG_ERROR, "Syntax error on line %d of printers.conf.", linenum); + } + else if (!_cups_strcasecmp(line, "Attribute") && value) + { + for (valueptr = value; *valueptr && !isspace(*valueptr & 255); valueptr ++); + + if (!*valueptr) + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of printers.conf.", linenum); + else + { + for (; *valueptr && isspace(*valueptr & 255); *valueptr++ = '\0'); + + if (!p->attrs) + cupsdSetPrinterAttrs(p); + + if (!strcmp(value, "marker-change-time")) + p->marker_time = atoi(valueptr); + else + cupsdSetPrinterAttr(p, value, valueptr); + } + } + else if (_cups_strcasecmp(line, "Filter") && + _cups_strcasecmp(line, "Prefilter") && + _cups_strcasecmp(line, "Product")) + { + /* + * Something else we don't understand (and that wasn't used in a prior + * release of CUPS... + */ + + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown configuration directive %s on line %d of " + "printers.conf.", line, linenum); + } + } + + cupsFileClose(fp); +} + + +/* + * 'cupsdRenamePrinter()' - Rename a printer. + */ + +void +cupsdRenamePrinter( + cupsd_printer_t *p, /* I - Printer */ + const char *name) /* I - New name */ +{ + /* + * Remove the printer from the array(s) first... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdRenamePrinter: Removing %s from Printers", p->name); + cupsArrayRemove(Printers, p); + + /* + * Rename the printer type... + */ + + mimeDeleteType(MimeDatabase, p->filetype); + p->filetype = mimeAddType(MimeDatabase, "printer", name); + + if (p->prefiltertype) + { + mimeDeleteType(MimeDatabase, p->prefiltertype); + p->prefiltertype = mimeAddType(MimeDatabase, "prefilter", name); + } + + /* + * Rename the printer... + */ + + cupsdSetString(&p->name, name); + + /* + * Reset printer attributes... + */ + + cupsdSetPrinterAttrs(p); + + /* + * Add the printer back to the printer array(s)... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdRenamePrinter: Adding %s to Printers", p->name); + cupsArrayAdd(Printers, p); +} + + +/* + * 'cupsdSaveAllPrinters()' - Save all printer definitions to the printers.conf + * file. + */ + +void +cupsdSaveAllPrinters(void) +{ + int i; /* Looping var */ + cups_file_t *fp; /* printers.conf file */ + char filename[1024], /* printers.conf filename */ + temp[1024], /* Temporary string */ + value[2048], /* Value string */ + *ptr, /* Pointer into value */ + *name; /* Current user/group name */ + cupsd_printer_t *printer; /* Current printer class */ + time_t curtime; /* Current time */ + struct tm curdate; /* Current date */ + cups_option_t *option; /* Current option */ + ipp_attribute_t *marker; /* Current marker attribute */ + + + /* + * Create the printers.conf file... + */ + + snprintf(filename, sizeof(filename), "%s/printers.conf", ServerRoot); + + if ((fp = cupsdCreateConfFile(filename, ConfigFilePerm & 0600)) == NULL) + return; + + cupsdLogMessage(CUPSD_LOG_INFO, "Saving printers.conf..."); + + /* + * Write a small header to the file... + */ + + time(&curtime); + localtime_r(&curtime, &curdate); + strftime(temp, sizeof(temp) - 1, "%Y-%m-%d %H:%M", &curdate); + + cupsFilePuts(fp, "# Printer configuration file for " CUPS_SVERSION "\n"); + cupsFilePrintf(fp, "# Written by cupsd on %s\n", temp); + cupsFilePuts(fp, "# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING\n"); + + cupsFilePrintf(fp, "NextPrinterId %d\n", NextPrinterId); + + /* + * Write each local printer known to the system... + */ + + for (printer = (cupsd_printer_t *)cupsArrayFirst(Printers); + printer; + printer = (cupsd_printer_t *)cupsArrayNext(Printers)) + { + /* + * Skip printer classes and temporary queues... + */ + + if ((printer->type & CUPS_PRINTER_CLASS) || printer->temporary) + continue; + + /* + * Write printers as needed... + */ + + if (printer == DefaultPrinter) + cupsFilePrintf(fp, "\n", printer->name); + else + cupsFilePrintf(fp, "\n", printer->name); + + if (printer->printer_id) + cupsFilePrintf(fp, "PrinterId %d\n", printer->printer_id); + + cupsFilePrintf(fp, "UUID %s\n", printer->uuid); + + if (printer->num_auth_info_required > 0) + { + switch (printer->num_auth_info_required) + { + case 1 : + strlcpy(value, printer->auth_info_required[0], sizeof(value)); + break; + + case 2 : + snprintf(value, sizeof(value), "%s,%s", + printer->auth_info_required[0], + printer->auth_info_required[1]); + break; + + case 3 : + default : + snprintf(value, sizeof(value), "%s,%s,%s", + printer->auth_info_required[0], + printer->auth_info_required[1], + printer->auth_info_required[2]); + break; + } + + cupsFilePutConf(fp, "AuthInfoRequired", value); + } + + if (printer->info) + cupsFilePutConf(fp, "Info", printer->info); + + if (printer->location) + cupsFilePutConf(fp, "Location", printer->location); + + if (printer->geo_location) + cupsFilePutConf(fp, "GeoLocation", printer->geo_location); + + if (printer->make_model) + cupsFilePutConf(fp, "MakeModel", printer->make_model); + + if (printer->organization) + cupsFilePutConf(fp, "Organization", printer->organization); + + if (printer->organizational_unit) + cupsFilePutConf(fp, "OrganizationalUnit", printer->organizational_unit); + + cupsFilePutConf(fp, "DeviceURI", printer->device_uri); + + if (printer->port_monitor) + cupsFilePutConf(fp, "PortMonitor", printer->port_monitor); + + if (printer->state == IPP_PRINTER_STOPPED) + { + cupsFilePuts(fp, "State Stopped\n"); + + if (printer->state_message[0]) + cupsFilePutConf(fp, "StateMessage", printer->state_message); + } + else + cupsFilePuts(fp, "State Idle\n"); + + cupsFilePrintf(fp, "StateTime %d\n", (int)printer->state_time); + cupsFilePrintf(fp, "ConfigTime %d\n", (int)printer->config_time); + + for (i = 0; i < printer->num_reasons; i ++) + if (strcmp(printer->reasons[i], "connecting-to-device") && + strcmp(printer->reasons[i], "cups-insecure-filter-warning") && + strcmp(printer->reasons[i], "cups-missing-filter-warning")) + cupsFilePutConf(fp, "Reason", printer->reasons[i]); + + cupsFilePrintf(fp, "Type %d\n", printer->type); + + if (printer->accepting) + cupsFilePuts(fp, "Accepting Yes\n"); + else + cupsFilePuts(fp, "Accepting No\n"); + + if (printer->shared) + cupsFilePuts(fp, "Shared Yes\n"); + else + cupsFilePuts(fp, "Shared No\n"); + + snprintf(value, sizeof(value), "%s %s", printer->job_sheets[0], + printer->job_sheets[1]); + cupsFilePutConf(fp, "JobSheets", value); + + cupsFilePrintf(fp, "QuotaPeriod %d\n", printer->quota_period); + cupsFilePrintf(fp, "PageLimit %d\n", printer->page_limit); + cupsFilePrintf(fp, "KLimit %d\n", printer->k_limit); + + for (name = (char *)cupsArrayFirst(printer->users); + name; + name = (char *)cupsArrayNext(printer->users)) + cupsFilePutConf(fp, printer->deny_users ? "DenyUser" : "AllowUser", name); + + if (printer->op_policy) + cupsFilePutConf(fp, "OpPolicy", printer->op_policy); + if (printer->error_policy) + cupsFilePutConf(fp, "ErrorPolicy", printer->error_policy); + + for (i = printer->num_options, option = printer->options; + i > 0; + i --, option ++) + { + snprintf(value, sizeof(value), "%s %s", option->name, option->value); + cupsFilePutConf(fp, "Option", value); + } + + if ((marker = ippFindAttribute(printer->attrs, "marker-colors", + IPP_TAG_NAME)) != NULL) + { + snprintf(value, sizeof(value), "%s ", marker->name); + + for (i = 0, ptr = value + strlen(value); + i < marker->num_values && ptr < (value + sizeof(value) - 1); + i ++) + { + if (i) + *ptr++ = ','; + + strlcpy(ptr, marker->values[i].string.text, (size_t)(value + sizeof(value) - ptr)); + ptr += strlen(ptr); + } + + *ptr = '\0'; + cupsFilePutConf(fp, "Attribute", value); + } + + if ((marker = ippFindAttribute(printer->attrs, "marker-levels", + IPP_TAG_INTEGER)) != NULL) + { + cupsFilePrintf(fp, "Attribute %s %d", marker->name, + marker->values[0].integer); + for (i = 1; i < marker->num_values; i ++) + cupsFilePrintf(fp, ",%d", marker->values[i].integer); + cupsFilePuts(fp, "\n"); + } + + if ((marker = ippFindAttribute(printer->attrs, "marker-low-levels", + IPP_TAG_INTEGER)) != NULL) + { + cupsFilePrintf(fp, "Attribute %s %d", marker->name, + marker->values[0].integer); + for (i = 1; i < marker->num_values; i ++) + cupsFilePrintf(fp, ",%d", marker->values[i].integer); + cupsFilePuts(fp, "\n"); + } + + if ((marker = ippFindAttribute(printer->attrs, "marker-high-levels", + IPP_TAG_INTEGER)) != NULL) + { + cupsFilePrintf(fp, "Attribute %s %d", marker->name, + marker->values[0].integer); + for (i = 1; i < marker->num_values; i ++) + cupsFilePrintf(fp, ",%d", marker->values[i].integer); + cupsFilePuts(fp, "\n"); + } + + if ((marker = ippFindAttribute(printer->attrs, "marker-message", + IPP_TAG_TEXT)) != NULL) + { + snprintf(value, sizeof(value), "%s %s", marker->name, + marker->values[0].string.text); + + cupsFilePutConf(fp, "Attribute", value); + } + + if ((marker = ippFindAttribute(printer->attrs, "marker-names", + IPP_TAG_NAME)) != NULL) + { + snprintf(value, sizeof(value), "%s ", marker->name); + + for (i = 0, ptr = value + strlen(value); + i < marker->num_values && ptr < (value + sizeof(value) - 1); + i ++) + { + if (i) + *ptr++ = ','; + + strlcpy(ptr, marker->values[i].string.text, (size_t)(value + sizeof(value) - ptr)); + ptr += strlen(ptr); + } + + *ptr = '\0'; + cupsFilePutConf(fp, "Attribute", value); + } + + if ((marker = ippFindAttribute(printer->attrs, "marker-types", + IPP_TAG_KEYWORD)) != NULL) + { + snprintf(value, sizeof(value), "%s ", marker->name); + + for (i = 0, ptr = value + strlen(value); + i < marker->num_values && ptr < (value + sizeof(value) - 1); + i ++) + { + if (i) + *ptr++ = ','; + + strlcpy(ptr, marker->values[i].string.text, (size_t)(value + sizeof(value) - ptr)); + ptr += strlen(ptr); + } + + *ptr = '\0'; + cupsFilePutConf(fp, "Attribute", value); + } + + if (printer->marker_time) + cupsFilePrintf(fp, "Attribute marker-change-time %ld\n", + (long)printer->marker_time); + + if (printer == DefaultPrinter) + cupsFilePuts(fp, "\n"); + else + cupsFilePuts(fp, "\n"); + } + + cupsdCloseCreatedConfFile(fp, filename); +} + + +/* + * 'cupsdSetAuthInfoRequired()' - Set the required authentication info. + */ + +int /* O - 1 if value OK, 0 otherwise */ +cupsdSetAuthInfoRequired( + cupsd_printer_t *p, /* I - Printer */ + const char *values, /* I - Plain text value (or NULL) */ + ipp_attribute_t *attr) /* I - IPP attribute value (or NULL) */ +{ + int i; /* Looping var */ + + + p->num_auth_info_required = 0; + + /* + * Do we have a plain text value? + */ + + if (values) + { + /* + * Yes, grab the keywords... + */ + + const char *end; /* End of current value */ + + + while (*values && p->num_auth_info_required < 4) + { + if ((end = strchr(values, ',')) == NULL) + end = values + strlen(values); + + if ((end - values) == 4 && !strncmp(values, "none", 4)) + { + if (p->num_auth_info_required != 0 || *end) + return (0); + + p->auth_info_required[p->num_auth_info_required] = "none"; + p->num_auth_info_required ++; + + return (1); + } + else if ((end - values) == 9 && !strncmp(values, "negotiate", 9)) + { + if (p->num_auth_info_required != 0 || *end) + return (0); + + p->auth_info_required[p->num_auth_info_required] = "negotiate"; + p->num_auth_info_required ++; + + /* + * Don't allow sharing of queues that require Kerberos authentication. + */ + + if (p->shared) + { + cupsdDeregisterPrinter(p, 1); + p->shared = 0; + } + } + else if ((end - values) == 6 && !strncmp(values, "domain", 6)) + { + p->auth_info_required[p->num_auth_info_required] = "domain"; + p->num_auth_info_required ++; + } + else if ((end - values) == 8 && !strncmp(values, "password", 8)) + { + p->auth_info_required[p->num_auth_info_required] = "password"; + p->num_auth_info_required ++; + } + else if ((end - values) == 8 && !strncmp(values, "username", 8)) + { + p->auth_info_required[p->num_auth_info_required] = "username"; + p->num_auth_info_required ++; + } + else + return (0); + + values = (*end) ? end + 1 : end; + } + + if (p->num_auth_info_required == 0) + { + p->auth_info_required[0] = "none"; + p->num_auth_info_required = 1; + } + + /* + * Update the printer-type value as needed... + */ + + if (p->num_auth_info_required > 1 || + strcmp(p->auth_info_required[0], "none")) + p->type |= CUPS_PRINTER_AUTHENTICATED; + else + p->type &= (cups_ptype_t)~CUPS_PRINTER_AUTHENTICATED; + + return (1); + } + + /* + * Grab values from an attribute instead... + */ + + if (!attr || attr->num_values > 4) + return (0); + + for (i = 0; i < attr->num_values; i ++) + { + if (!strcmp(attr->values[i].string.text, "none")) + { + if (p->num_auth_info_required != 0 || attr->num_values != 1) + return (0); + + p->auth_info_required[p->num_auth_info_required] = "none"; + p->num_auth_info_required ++; + + return (1); + } + else if (!strcmp(attr->values[i].string.text, "negotiate")) + { + if (p->num_auth_info_required != 0 || attr->num_values != 1) + return (0); + + p->auth_info_required[p->num_auth_info_required] = "negotiate"; + p->num_auth_info_required ++; + + /* + * Don't allow sharing of queues that require Kerberos authentication. + */ + + if (p->shared) + { + cupsdDeregisterPrinter(p, 1); + p->shared = 0; + } + + return (1); + } + else if (!strcmp(attr->values[i].string.text, "domain")) + { + p->auth_info_required[p->num_auth_info_required] = "domain"; + p->num_auth_info_required ++; + } + else if (!strcmp(attr->values[i].string.text, "password")) + { + p->auth_info_required[p->num_auth_info_required] = "password"; + p->num_auth_info_required ++; + } + else if (!strcmp(attr->values[i].string.text, "username")) + { + p->auth_info_required[p->num_auth_info_required] = "username"; + p->num_auth_info_required ++; + } + else + return (0); + } + + return (1); +} + + +/* + * 'cupsdSetDeviceURI()' - Set the device URI for a printer. + */ + +void +cupsdSetDeviceURI(cupsd_printer_t *p, /* I - Printer */ + const char *uri) /* I - Device URI */ +{ + char buffer[1024], /* URI buffer */ + *start, /* Start of data after scheme */ + *slash, /* First slash after scheme:// */ + *ptr; /* Pointer into user@host:port part */ + + + /* + * Set the full device URI.. + */ + + cupsdSetString(&(p->device_uri), uri); + + /* + * Copy the device URI to a temporary buffer so we can sanitize any auth + * info in it... + */ + + strlcpy(buffer, uri, sizeof(buffer)); + + /* + * Find the end of the scheme:// part... + */ + + if ((ptr = strchr(buffer, ':')) != NULL) + { + for (start = ptr + 1; *start; start ++) + if (*start != '/') + break; + + /* + * Find the next slash (/) in the URI... + */ + + if ((slash = strchr(start, '/')) == NULL) + slash = start + strlen(start); /* No slash, point to the end */ + + /* + * Check for an @ sign before the slash... + */ + + if ((ptr = strchr(start, '@')) != NULL && ptr < slash) + { + /* + * Found an @ sign and it is before the resource part, so we have + * an authentication string. Copy the remaining URI over the + * authentication string... + */ + + _cups_strcpy(start, ptr + 1); + } + } + + /* + * Save the sanitized URI... + */ + + cupsdSetString(&(p->sanitized_device_uri), buffer); +} + + +/* + * 'cupsdSetPrinterAttr()' - Set a printer attribute. + */ + +void +cupsdSetPrinterAttr( + cupsd_printer_t *p, /* I - Printer */ + const char *name, /* I - Attribute name */ + const char *value) /* I - Attribute value string */ +{ + ipp_attribute_t *attr; /* Attribute */ + int i, /* Looping var */ + count; /* Number of values */ + char *temp, /* Temporary copy of value string */ + *ptr, /* Pointer into value */ + *start, /* Start of value */ + quote; /* Quote character */ + ipp_tag_t value_tag; /* Value tag for this attribute */ + + + /* + * Don't allow empty values... + */ + + if (!*value && strcmp(name, "marker-message")) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Ignoring empty \"%s\" attribute", name); + return; + } + + /* + * Copy the value string so we can do what we want with it... + */ + + if ((temp = strdup(value)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to duplicate value for \"%s\" attribute.", name); + return; + } + + /* + * Count the number of values... + */ + + for (count = 1, quote = '\0', ptr = temp; + *ptr; + ptr ++) + { + if (*ptr == quote) + quote = '\0'; + else if (quote) + continue; + else if (*ptr == '\\' && ptr[1]) + ptr ++; + else if (*ptr == '\'' || *ptr == '\"') + quote = *ptr; + else if (*ptr == ',') + count ++; + } + + /* + * Then add or update the attribute as needed... + */ + + if (!strcmp(name, "marker-levels") || !strcmp(name, "marker-low-levels") || + !strcmp(name, "marker-high-levels")) + { + /* + * Integer values... + */ + + if ((attr = ippFindAttribute(p->attrs, name, IPP_TAG_INTEGER)) != NULL && + attr->num_values < count) + { + ippDeleteAttribute(p->attrs, attr); + attr = NULL; + } + + if (attr) + attr->num_values = count; + else + attr = ippAddIntegers(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, name, + count, NULL); + + if (!attr) + { + free(temp); + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for printer attribute " + "(%d values)", count); + return; + } + + for (i = 0, start = temp; i < count; i ++) + { + if ((ptr = strchr(start, ',')) != NULL) + *ptr++ = '\0'; + + attr->values[i].integer = strtol(start, NULL, 10); + + if (ptr) + start = ptr; + } + } + else + { + /* + * Name or keyword values... + */ + + if (!strcmp(name, "marker-types")) + value_tag = IPP_TAG_KEYWORD; + else if (!strcmp(name, "marker-message")) + value_tag = IPP_TAG_TEXT; + else + value_tag = IPP_TAG_NAME; + + if ((attr = ippFindAttribute(p->attrs, name, value_tag)) != NULL && + attr->num_values < count) + { + ippDeleteAttribute(p->attrs, attr); + attr = NULL; + } + + if (attr) + { + for (i = 0; i < attr->num_values; i ++) + _cupsStrFree(attr->values[i].string.text); + + attr->num_values = count; + } + else + attr = ippAddStrings(p->attrs, IPP_TAG_PRINTER, value_tag, name, + count, NULL, NULL); + + if (!attr) + { + free(temp); + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to allocate memory for printer attribute " + "(%d values)", count); + return; + } + + for (i = 0, quote = '\0', ptr = temp; i < count; i ++) + { + for (start = ptr; *ptr; ptr ++) + { + if (*ptr == quote) + *ptr = quote = '\0'; + else if (quote) + continue; + else if (*ptr == '\\' && ptr[1]) + _cups_strcpy(ptr, ptr + 1); + else if (*ptr == '\'' || *ptr == '\"') + { + quote = *ptr; + + if (ptr == start) + start ++; + else + _cups_strcpy(ptr, ptr + 1); + } + else if (*ptr == ',') + { + *ptr++ = '\0'; + break; + } + } + + attr->values[i].string.text = _cupsStrAlloc(start); + } + } + + free(temp); + + /* + * Update the printer-supply and printer-supply-description, as needed... + */ + + if (!strcmp(name, "marker-names")) + { + ipp_attribute_t *supply_desc = ippFindAttribute(p->attrs, "printer-supply-description", IPP_TAG_TEXT); + /* printer-supply-description attribute */ + + if (supply_desc != NULL) + ippDeleteAttribute(p->attrs, supply_desc); + + supply_desc = ippCopyAttribute(p->attrs, attr, 0); + ippSetName(p->attrs, &supply_desc, "printer-supply-description"); + ippSetValueTag(p->attrs, &supply_desc, IPP_TAG_TEXT); + } + else if (!strcmp(name, "marker-colors") || !strcmp(name, "marker-levels") || !strcmp(name, "marker-types")) + { + char buffer[256], /* printer-supply values */ + pstype[64], /* printer-supply type value */ + *psptr; /* Pointer into type */ + const char *color, /* marker-colors value */ + *type; /* marker-types value */ + int level; /* marker-levels value */ + ipp_attribute_t *colors = ippFindAttribute(p->attrs, "marker-colors", IPP_TAG_NAME); + /* marker-colors attribute */ + ipp_attribute_t *levels = ippFindAttribute(p->attrs, "marker-levels", IPP_TAG_INTEGER); + /* marker-levels attribute */ + ipp_attribute_t *types = ippFindAttribute(p->attrs, "marker-types", IPP_TAG_KEYWORD); + /* marker-types attribute */ + ipp_attribute_t *supply = ippFindAttribute(p->attrs, "printer-supply", IPP_TAG_STRING); + /* printer-supply attribute */ + + if (supply != NULL) + { + ippDeleteAttribute(p->attrs, supply); + supply = NULL; + } + + if (!colors || !levels || !types) + return; + + count = ippGetCount(colors); + if (count != ippGetCount(levels) || count != ippGetCount(types)) + return; + + for (i = 0; i < count; i ++) + { + color = ippGetString(colors, i, NULL); + level = ippGetInteger(levels, i); + type = ippGetString(types, i, NULL); + + for (psptr = pstype; *type && psptr < (pstype + sizeof(pstype) - 1); type ++) + if (*type == '-') + { + type ++; + *psptr++ = (char)toupper(*type & 255); + } + else + *psptr++ = *type; + *psptr = '\0'; + + snprintf(buffer, sizeof(buffer), "index=%d;class=%s;type=%s;unit=percent;maxcapacity=100;level=%d;colorantname=%s;", i + 1, strncmp(pstype, "waste", 5) ? "supplyThatIsConsumed" : "receptacleThatIsFilled", pstype, level, color); + + if (!i) + supply = ippAddOctetString(p->attrs, IPP_TAG_PRINTER, "printer-supply", buffer, (int)strlen(buffer)); + else + ippSetOctetString(p->attrs, &supply, i, buffer, (int)strlen(buffer)); + } + } +} + + +/* + * 'cupsdSetPrinterAttrs()' - Set printer attributes based upon the PPD file. + */ + +void +cupsdSetPrinterAttrs(cupsd_printer_t *p)/* I - Printer to setup */ +{ + int i; /* Looping var */ + char resource[HTTP_MAX_URI]; /* Resource portion of URI */ + cupsd_location_t *auth; /* Pointer to authentication element */ + const char *auth_supported; /* Authentication supported */ + ipp_t *oldattrs; /* Old printer attributes */ + ipp_attribute_t *attr; /* Attribute data */ + char *name, /* Current user/group name */ + *filter; /* Current filter */ + + + /* + * Make sure that we have the common attributes defined... + */ + + if (!CommonData) + cupsdCreateCommonData(); + + _cupsRWLockWrite(&p->lock); + + /* + * Clear out old filters, if any... + */ + + delete_printer_filters(p); + + /* + * Figure out the authentication that is required for the printer. + */ + + auth_supported = "requesting-user-name"; + + if (p->type & CUPS_PRINTER_CLASS) + snprintf(resource, sizeof(resource), "/classes/%s", p->name); + else + snprintf(resource, sizeof(resource), "/printers/%s", p->name); + + if ((auth = cupsdFindBest(resource, HTTP_POST)) == NULL || + auth->type == CUPSD_AUTH_NONE) + auth = cupsdFindPolicyOp(p->op_policy_ptr, IPP_PRINT_JOB); + + if (auth) + { + int auth_type; /* Authentication type */ + + + if ((auth_type = auth->type) == CUPSD_AUTH_DEFAULT) + auth_type = cupsdDefaultAuthType(); + + if (auth_type == CUPSD_AUTH_BASIC) + auth_supported = "basic"; +#ifdef HAVE_GSSAPI + else if (auth_type == CUPSD_AUTH_NEGOTIATE) + auth_supported = "negotiate"; +#endif /* HAVE_GSSAPI */ + + if (auth_type != CUPSD_AUTH_NONE) + p->type |= CUPS_PRINTER_AUTHENTICATED; + else + p->type &= (cups_ptype_t)~CUPS_PRINTER_AUTHENTICATED; + } + else + p->type &= (cups_ptype_t)~CUPS_PRINTER_AUTHENTICATED; + + /* + * Create the required IPP attributes for a printer... + */ + + oldattrs = p->attrs; + p->attrs = ippNew(); + + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "uri-authentication-supported", NULL, auth_supported); + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "uri-security-supported", NULL, "none"); + if (p->printer_id) + ippAddInteger(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "printer-id", p->printer_id); + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_NAME, "printer-name", NULL, + p->name); + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-location", + NULL, p->location ? p->location : ""); + if (p->geo_location) + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-geo-location", NULL, p->geo_location); + else + ippAddOutOfBand(p->attrs, IPP_TAG_PRINTER, IPP_TAG_UNKNOWN, "printer-geo-location"); + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-info", + NULL, p->info ? p->info : ""); + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-organization", NULL, p->organization ? p->organization : ""); + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-organizational-unit", NULL, p->organizational_unit ? p->organizational_unit : ""); + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-uuid", NULL, p->uuid); + + if (cupsArrayCount(p->users) > 0) + { + if (p->deny_users) + attr = ippAddStrings(p->attrs, IPP_TAG_PRINTER, IPP_TAG_NAME, + "requesting-user-name-denied", + cupsArrayCount(p->users), NULL, NULL); + else + attr = ippAddStrings(p->attrs, IPP_TAG_PRINTER, IPP_TAG_NAME, + "requesting-user-name-allowed", + cupsArrayCount(p->users), NULL, NULL); + + for (i = 0, name = (char *)cupsArrayFirst(p->users); + name; + i ++, name = (char *)cupsArrayNext(p->users)) + attr->values[i].string.text = _cupsStrAlloc(name); + } + + ippAddInteger(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "job-quota-period", p->quota_period); + ippAddInteger(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "job-k-limit", p->k_limit); + ippAddInteger(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "job-page-limit", p->page_limit); + if (p->num_auth_info_required > 0 && strcmp(p->auth_info_required[0], "none")) + ippAddStrings(p->attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "auth-info-required", p->num_auth_info_required, NULL, + p->auth_info_required); + + if (cupsArrayCount(Banners) > 0) + { + /* + * Setup the job-sheets-default attribute... + */ + + attr = ippAddStrings(p->attrs, IPP_TAG_PRINTER, IPP_TAG_NAME, + "job-sheets-default", 2, NULL, NULL); + + if (attr != NULL) + { + attr->values[0].string.text = _cupsStrAlloc(Classification ? + Classification : p->job_sheets[0]); + attr->values[1].string.text = _cupsStrAlloc(Classification ? + Classification : p->job_sheets[1]); + } + } + + p->raw = 0; + p->remote = 0; + + /* + * Assign additional attributes depending on whether this is a printer + * or class... + */ + + if (p->type & CUPS_PRINTER_CLASS) + { + p->raw = 1; + p->type &= (cups_ptype_t)~CUPS_PRINTER_OPTIONS; + + /* + * Add class-specific attributes... + */ + + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, + "printer-make-and-model", NULL, "Local Printer Class"); + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_URI, "device-uri", NULL, + "file:///dev/null"); + + if (p->num_printers > 0) + { + /* + * Add a list of member names; URIs are added in copy_printer_attrs... + */ + + attr = ippAddStrings(p->attrs, IPP_TAG_PRINTER, IPP_TAG_NAME, + "member-names", p->num_printers, NULL, NULL); + p->type |= CUPS_PRINTER_OPTIONS; + + for (i = 0; i < p->num_printers; i ++) + { + if (attr != NULL) + attr->values[i].string.text = _cupsStrAlloc(p->printers[i]->name); + + p->type &= (cups_ptype_t)~CUPS_PRINTER_OPTIONS | p->printers[i]->type; + } + } + } + else + { + /* + * Add printer-specific attributes... + */ + + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_URI, "device-uri", NULL, + p->sanitized_device_uri); + + /* + * Assign additional attributes from the PPD file (if any)... + */ + + load_ppd(p); + + /* + * Add filters for printer... + */ + + cupsdSetPrinterReasons(p, "-cups-missing-filter-warning," + "cups-insecure-filter-warning"); + + if (p->pc && p->pc->filters) + { + for (filter = (char *)cupsArrayFirst(p->pc->filters); + filter; + filter = (char *)cupsArrayNext(p->pc->filters)) + add_printer_filter(p, p->filetype, filter); + } + else if (!(p->type & CUPS_PRINTER_REMOTE)) + { + /* + * Add a filter from application/vnd.cups-raw to printer/name to + * handle "raw" printing by users. + */ + + add_printer_filter(p, p->filetype, "application/vnd.cups-raw 0 -"); + + /* + * Add a PostScript filter, since this is still possibly PS printer. + */ + + add_printer_filter(p, p->filetype, + "application/vnd.cups-postscript 0 -"); + } + + if (p->pc && p->pc->prefilters) + { + if (!p->prefiltertype) + p->prefiltertype = mimeAddType(MimeDatabase, "prefilter", p->name); + + for (filter = (char *)cupsArrayFirst(p->pc->prefilters); + filter; + filter = (char *)cupsArrayNext(p->pc->prefilters)) + add_printer_filter(p, p->prefiltertype, filter); + } + } + + /* + * Copy marker attributes as needed... + */ + + if (oldattrs) + { + ipp_attribute_t *oldattr; /* Old attribute */ + + + if ((oldattr = ippFindAttribute(oldattrs, "marker-colors", + IPP_TAG_NAME)) != NULL) + { + if ((attr = ippAddStrings(p->attrs, IPP_TAG_PRINTER, IPP_TAG_NAME, + "marker-colors", oldattr->num_values, NULL, + NULL)) != NULL) + { + for (i = 0; i < oldattr->num_values; i ++) + attr->values[i].string.text = + _cupsStrAlloc(oldattr->values[i].string.text); + } + } + + if ((oldattr = ippFindAttribute(oldattrs, "marker-levels", + IPP_TAG_INTEGER)) != NULL) + { + if ((attr = ippAddIntegers(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "marker-levels", oldattr->num_values, + NULL)) != NULL) + { + for (i = 0; i < oldattr->num_values; i ++) + attr->values[i].integer = oldattr->values[i].integer; + } + } + + if ((oldattr = ippFindAttribute(oldattrs, "marker-message", + IPP_TAG_TEXT)) != NULL) + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "marker-message", + NULL, oldattr->values[0].string.text); + + if ((oldattr = ippFindAttribute(oldattrs, "marker-low-levels", + IPP_TAG_INTEGER)) != NULL) + { + if ((attr = ippAddIntegers(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "marker-low-levels", oldattr->num_values, + NULL)) != NULL) + { + for (i = 0; i < oldattr->num_values; i ++) + attr->values[i].integer = oldattr->values[i].integer; + } + } + + if ((oldattr = ippFindAttribute(oldattrs, "marker-high-levels", + IPP_TAG_INTEGER)) != NULL) + { + if ((attr = ippAddIntegers(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "marker-high-levels", oldattr->num_values, + NULL)) != NULL) + { + for (i = 0; i < oldattr->num_values; i ++) + attr->values[i].integer = oldattr->values[i].integer; + } + } + + if ((oldattr = ippFindAttribute(oldattrs, "marker-names", + IPP_TAG_NAME)) != NULL) + { + if ((attr = ippAddStrings(p->attrs, IPP_TAG_PRINTER, IPP_TAG_NAME, + "marker-names", oldattr->num_values, NULL, + NULL)) != NULL) + { + for (i = 0; i < oldattr->num_values; i ++) + attr->values[i].string.text = + _cupsStrAlloc(oldattr->values[i].string.text); + } + } + + if ((oldattr = ippFindAttribute(oldattrs, "marker-types", + IPP_TAG_KEYWORD)) != NULL) + { + if ((attr = ippAddStrings(p->attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "marker-types", oldattr->num_values, NULL, + NULL)) != NULL) + { + for (i = 0; i < oldattr->num_values; i ++) + attr->values[i].string.text = + _cupsStrAlloc(oldattr->values[i].string.text); + } + } + + ippDelete(oldattrs); + } + + /* + * Force sharing off for remote queues... + */ + + if (p->type & CUPS_PRINTER_REMOTE) + p->shared = 0; + + /* + * Populate the document-format-supported attribute... + */ + + add_printer_formats(p); + + /* + * Add name-default attributes... + */ + + add_printer_defaults(p); + + _cupsRWUnlock(&p->lock); + + /* + * Let the browse protocols reflect the change + */ + + cupsdRegisterPrinter(p); +} + + +/* + * 'cupsdSetPrinterReasons()' - Set/update the reasons strings. + */ + +int /* O - 1 if something changed, 0 otherwise */ +cupsdSetPrinterReasons( + cupsd_printer_t *p, /* I - Printer */ + const char *s) /* I - Reasons strings */ +{ + int i, /* Looping var */ + changed = 0; /* Did something change? */ + const char *sptr; /* Pointer into reasons */ + char reason[255], /* Reason string */ + *rptr; /* Pointer into reason */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdSetPrinterReasons(p=%p(%s),s=\"%s\"", p, p->name, s); + + if (s[0] == '-' || s[0] == '+') + { + /* + * Add/remove reasons... + */ + + sptr = s + 1; + } + else + { + /* + * Replace reasons... + */ + + sptr = s; + + for (i = 0; i < p->num_reasons; i ++) + _cupsStrFree(p->reasons[i]); + + p->num_reasons = 0; + changed = 1; + + dirty_printer(p); + } + + if (!strcmp(s, "none")) + return (changed); + + /* + * Loop through all of the reasons... + */ + + while (*sptr) + { + /* + * Skip leading whitespace and commas... + */ + + while (isspace(*sptr & 255) || *sptr == ',') + sptr ++; + + for (rptr = reason; *sptr && !isspace(*sptr & 255) && *sptr != ','; sptr ++) + if (rptr < (reason + sizeof(reason) - 1)) + *rptr++ = *sptr; + + if (rptr == reason) + break; + + *rptr = '\0'; + + if (s[0] == '-') + { + /* + * Remove reason... + */ + + for (i = 0; i < p->num_reasons; i ++) + if (!strcmp(reason, p->reasons[i])) + { + /* + * Found a match, so remove it... + */ + + p->num_reasons --; + changed = 1; + _cupsStrFree(p->reasons[i]); + + if (i < p->num_reasons) + memmove(p->reasons + i, p->reasons + i + 1, (size_t)(p->num_reasons - i) * sizeof(char *)); + + if (!strcmp(reason, "paused") && p->state == IPP_PRINTER_STOPPED) + cupsdSetPrinterState(p, IPP_PRINTER_IDLE, 1); + + if (!strcmp(reason, "cups-waiting-for-job-completed") && p->job) + p->job->completed = 0; + + if (strcmp(reason, "connecting-to-device")) + dirty_printer(p); + + break; + } + } + else if (p->num_reasons < (int)(sizeof(p->reasons) / sizeof(p->reasons[0]))) + { + /* + * Add reason... + */ + + for (i = 0; i < p->num_reasons; i ++) + if (!strcmp(reason, p->reasons[i])) + break; + + if (i >= p->num_reasons) + { + if (i >= (int)(sizeof(p->reasons) / sizeof(p->reasons[0]))) + { + cupsdLogMessage(CUPSD_LOG_ALERT, + "Too many printer-state-reasons values for %s (%d)", + p->name, i + 1); + return (changed); + } + + p->reasons[i] = _cupsStrAlloc(reason); + p->num_reasons ++; + changed = 1; + + if (!strcmp(reason, "paused") && p->state != IPP_PRINTER_STOPPED) + cupsdSetPrinterState(p, IPP_PRINTER_STOPPED, 1); + + if (!strcmp(reason, "cups-waiting-for-job-completed") && p->job) + p->job->completed = 1; + + if (strcmp(reason, "connecting-to-device")) + dirty_printer(p); + } + } + } + + return (changed); +} + + +/* + * 'cupsdSetPrinterState()' - Update the current state of a printer. + */ + +void +cupsdSetPrinterState( + cupsd_printer_t *p, /* I - Printer to change */ + ipp_pstate_t s, /* I - New state */ + int update) /* I - Update printers.conf? */ +{ + cupsd_job_t *job; /* Current job */ + ipp_pstate_t old_state; /* Old printer state */ + static const char * const printer_states[] = + { /* State strings */ + "idle", + "processing", + "stopped" + }; + + + /* + * Set the new state... + */ + + old_state = p->state; + p->state = s; + + if (old_state != s) + { + cupsdAddEvent(s == IPP_PRINTER_STOPPED ? CUPSD_EVENT_PRINTER_STOPPED : + CUPSD_EVENT_PRINTER_STATE, p, NULL, + "%s \"%s\" state changed to %s.", + (p->type & CUPS_PRINTER_CLASS) ? "Class" : "Printer", + p->name, printer_states[p->state - IPP_PRINTER_IDLE]); + + /* + * Let the browse code know this needs to be updated... + */ + + p->state_time = time(NULL); + } + + /* + * Set/clear the paused reason as needed... + */ + + if (s == IPP_PRINTER_STOPPED) + cupsdSetPrinterReasons(p, "+paused"); + else + cupsdSetPrinterReasons(p, "-paused"); + + if (old_state != s) + { + for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs); + job; + job = (cupsd_job_t *)cupsArrayNext(ActiveJobs)) + if (job->reasons && job->state_value == IPP_JOB_PENDING && + !_cups_strcasecmp(job->dest, p->name)) + ippSetString(job->attrs, &job->reasons, 0, + s == IPP_PRINTER_STOPPED ? "printer-stopped" : "none"); + } + + /* + * Clear the message for the queue when going to processing... + */ + + if (s == IPP_PRINTER_PROCESSING) + p->state_message[0] = '\0'; + + /* + * Let the browse protocols reflect the change... + */ + + if (update) + cupsdRegisterPrinter(p); + + /* + * Save the printer configuration if a printer goes from idle or processing + * to stopped (or visa-versa)... + */ + + if (update && + (old_state == IPP_PRINTER_STOPPED) != (s == IPP_PRINTER_STOPPED)) + dirty_printer(p); +} + + +/* + * 'cupsdStopPrinter()' - Stop a printer from printing any jobs... + */ + +void +cupsdStopPrinter(cupsd_printer_t *p, /* I - Printer to stop */ + int update)/* I - Update printers.conf? */ +{ + /* + * Set the printer state... + */ + + cupsdSetPrinterState(p, IPP_PRINTER_STOPPED, update); + + /* + * See if we have a job printing on this printer... + */ + + if (p->job && p->job->state_value == IPP_JOB_PROCESSING) + cupsdSetJobState(p->job, IPP_JOB_PENDING, CUPSD_JOB_DEFAULT, + "Job stopped due to printer being paused."); +} + + +/* + * 'cupsdUpdatePrinterPPD()' - Update keywords in a printer's PPD file. + */ + +int /* O - 1 if successful, 0 otherwise */ +cupsdUpdatePrinterPPD( + cupsd_printer_t *p, /* I - Printer */ + int num_keywords, /* I - Number of keywords */ + cups_option_t *keywords) /* I - Keywords */ +{ + int i; /* Looping var */ + cups_file_t *src, /* Original file */ + *dst; /* New file */ + char srcfile[1024], /* Original filename */ + dstfile[1024], /* New filename */ + line[1024], /* Line from file */ + keystring[41]; /* Keyword from line */ + cups_option_t *keyword; /* Current keyword */ + + + cupsdLogMessage(CUPSD_LOG_INFO, "Updating keywords in PPD file for %s...", + p->name); + + /* + * Get the old and new PPD filenames... + */ + + snprintf(srcfile, sizeof(srcfile), "%s/ppd/%s.ppd.O", ServerRoot, p->name); + snprintf(dstfile, sizeof(srcfile), "%s/ppd/%s.ppd", ServerRoot, p->name); + + /* + * Rename the old file and open the old and new... + */ + + if (rename(dstfile, srcfile)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to backup PPD file for %s: %s", + p->name, strerror(errno)); + return (0); + } + + if ((src = cupsFileOpen(srcfile, "r")) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to open PPD file \"%s\": %s", + srcfile, strerror(errno)); + rename(srcfile, dstfile); + return (0); + } + + if ((dst = cupsFileOpen(dstfile, "w")) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to create PPD file \"%s\": %s", + dstfile, strerror(errno)); + cupsFileClose(src); + rename(srcfile, dstfile); + return (0); + } + + /* + * Copy the first line and then write out all of the keywords... + */ + + if (!cupsFileGets(src, line, sizeof(line))) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to read PPD file \"%s\": %s", + srcfile, strerror(errno)); + cupsFileClose(src); + cupsFileClose(dst); + rename(srcfile, dstfile); + return (0); + } + + cupsFilePrintf(dst, "%s\n", line); + + for (i = num_keywords, keyword = keywords; i > 0; i --, keyword ++) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "*%s: %s", keyword->name, keyword->value); + cupsFilePrintf(dst, "*%s: %s\n", keyword->name, keyword->value); + } + + /* + * Then copy the rest of the PPD file, dropping any keywords we changed. + */ + + while (cupsFileGets(src, line, sizeof(line))) + { + /* + * Skip keywords we've already set... + */ + + if (sscanf(line, "*%40[^:]:", keystring) == 1 && + cupsGetOption(keystring, num_keywords, keywords)) + continue; + + /* + * Otherwise write the line... + */ + + cupsFilePrintf(dst, "%s\n", line); + } + + /* + * Close files and return... + */ + + cupsFileClose(src); + cupsFileClose(dst); + + return (1); +} + + +/* + * 'cupsdUpdatePrinters()' - Update printers after a partial reload. + */ + +void +cupsdUpdatePrinters(void) +{ + cupsd_printer_t *p; /* Current printer */ + + + /* + * Loop through the printers and recreate the printer attributes + * for any local printers since the policy and/or access control + * stuff may have changed. Also, if browsing is disabled, remove + * any remote printers... + */ + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + { + /* + * Update the operation policy pointer... + */ + + if ((p->op_policy_ptr = cupsdFindPolicy(p->op_policy)) == NULL) + p->op_policy_ptr = DefaultPolicyPtr; + + /* + * Update printer attributes... + */ + + cupsdSetPrinterAttrs(p); + } +} + + +/* + * 'cupsdValidateDest()' - Validate a printer/class destination. + */ + +const char * /* O - Printer or class name */ +cupsdValidateDest( + const char *uri, /* I - Printer URI */ + cups_ptype_t *dtype, /* O - Type (printer or class) */ + cupsd_printer_t **printer) /* O - Printer pointer */ +{ + cupsd_printer_t *p; /* Current printer */ + char localname[1024],/* Localized hostname */ + *lptr, /* Pointer into localized hostname */ + *sptr, /* Pointer into server name */ + *rptr, /* Pointer into resource */ + scheme[32], /* Scheme portion of URI */ + username[64], /* Username portion of URI */ + hostname[HTTP_MAX_HOST], + /* Host portion of URI */ + resource[HTTP_MAX_URI]; + /* Resource portion of URI */ + int port; /* Port portion of URI */ + + + /* + * Initialize return values... + */ + + if (printer) + *printer = NULL; + + if (dtype) + *dtype = (cups_ptype_t)0; + + /* + * Pull the hostname and resource from the URI... + */ + + httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, sizeof(scheme), + username, sizeof(username), hostname, sizeof(hostname), + &port, resource, sizeof(resource)); + + /* + * See if the resource is a class or printer... + */ + + if (!strncmp(resource, "/classes/", 9)) + { + /* + * Class... + */ + + rptr = resource + 9; + } + else if (!strncmp(resource, "/printers/", 10)) + { + /* + * Printer... + */ + + rptr = resource + 10; + } + else + { + /* + * Bad resource name... + */ + + return (NULL); + } + + /* + * See if the printer or class name exists... + */ + + p = cupsdFindDest(rptr); + + if (p == NULL && strchr(rptr, '@') == NULL) + return (NULL); + else if (p != NULL) + { + if (printer) + *printer = p; + + if (dtype) + *dtype = p->type & (CUPS_PRINTER_CLASS | CUPS_PRINTER_REMOTE); + + return (p->name); + } + + /* + * Change localhost to the server name... + */ + + if (!_cups_strcasecmp(hostname, "localhost")) + strlcpy(hostname, ServerName, sizeof(hostname)); + + strlcpy(localname, hostname, sizeof(localname)); + + if (!_cups_strcasecmp(hostname, ServerName)) + { + /* + * Localize the hostname... + */ + + lptr = strchr(localname, '.'); + sptr = strchr(ServerName, '.'); + + if (sptr != NULL && lptr != NULL) + { + /* + * Strip the common domain name components... + */ + + while (lptr != NULL) + { + if (!_cups_strcasecmp(lptr, sptr)) + { + *lptr = '\0'; + break; + } + else + lptr = strchr(lptr + 1, '.'); + } + } + } + + /* + * Find a matching printer or class... + */ + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + if (!_cups_strcasecmp(p->hostname, localname) && + !_cups_strcasecmp(p->name, rptr)) + { + if (printer) + *printer = p; + + if (dtype) + *dtype = p->type & (CUPS_PRINTER_CLASS | CUPS_PRINTER_REMOTE); + + return (p->name); + } + + return (NULL); +} + + +/* + * 'cupsdWritePrintcap()' - Write a pseudo-printcap file for older applications + * that need it... + */ + +void +cupsdWritePrintcap(void) +{ + int i; /* Looping var */ + cups_file_t *fp; /* Printcap file */ + cupsd_printer_t *p; /* Current printer */ + + + /* + * See if we have a printcap file; if not, don't bother writing it. + */ + + if (!Printcap || !*Printcap) + return; + + cupsdLogMessage(CUPSD_LOG_INFO, "Generating printcap %s...", Printcap); + + /* + * Open the printcap file... + */ + + if ((fp = cupsFileOpen(Printcap, "w")) == NULL) + return; + + /* + * Put a comment header at the top so that users will know where the + * data has come from... + */ + + if (PrintcapFormat != PRINTCAP_PLIST) + cupsFilePrintf(fp, "# This file was automatically generated by cupsd(8) " + "from the\n" + "# %s/printers.conf file. All changes to this file\n" + "# will be lost.\n", ServerRoot); + + /* + * Write a new printcap with the current list of printers. + */ + + switch (PrintcapFormat) + { + case PRINTCAP_BSD : + /* + * Each printer is put in the file as: + * + * Printer1: + * Printer2: + * Printer3: + * ... + * PrinterN: + */ + + if (DefaultPrinter) + cupsFilePrintf(fp, "%s|%s:rm=%s:rp=%s:\n", DefaultPrinter->name, + DefaultPrinter->info, ServerName, + DefaultPrinter->name); + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + if (p != DefaultPrinter) + cupsFilePrintf(fp, "%s|%s:rm=%s:rp=%s:\n", p->name, p->info, + ServerName, p->name); + break; + + case PRINTCAP_PLIST : + /* + * Each printer is written as a dictionary in a plist file. + * Currently the printer-name, printer-info, printer-is-accepting-jobs, + * printer-location, printer-make-and-model, printer-state, + * printer-state-reasons, printer-type, and (sanitized) device-uri. + */ + + cupsFilePuts(fp, "\n" + "\n" + "\n" + "\n"); + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + { + cupsFilePuts(fp, "\t\n" + "\t\tprinter-name\n" + "\t\t"); + write_xml_string(fp, p->name); + cupsFilePuts(fp, "\n" + "\t\tprinter-info\n" + "\t\t"); + write_xml_string(fp, p->info); + cupsFilePrintf(fp, "\n" + "\t\tprinter-is-accepting-jobs\n" + "\t\t<%s/>\n" + "\t\tprinter-location\n" + "\t\t", p->accepting ? "true" : "false"); + write_xml_string(fp, p->location); + cupsFilePuts(fp, "\n" + "\t\tprinter-make-and-model\n" + "\t\t"); + write_xml_string(fp, p->make_model); + cupsFilePrintf(fp, "\n" + "\t\tprinter-state\n" + "\t\t%d\n" + "\t\tprinter-state-reasons\n" + "\t\t\n", p->state); + for (i = 0; i < p->num_reasons; i ++) + { + cupsFilePuts(fp, "\t\t\t"); + write_xml_string(fp, p->reasons[i]); + cupsFilePuts(fp, "\n"); + } + cupsFilePrintf(fp, "\t\t\n" + "\t\tprinter-type\n" + "\t\t%d\n" + "\t\tdevice-uri\n" + "\t\t", p->type); + write_xml_string(fp, p->sanitized_device_uri); + cupsFilePuts(fp, "\n" + "\t\n"); + } + cupsFilePuts(fp, "\n" + "\n"); + break; + + case PRINTCAP_SOLARIS : + /* + * Each printer is put in the file as: + * + * _all:all=Printer1,Printer2,Printer3,...,PrinterN + * _default:use=DefaultPrinter + * Printer1:\ + * :bsdaddr=ServerName,Printer1:\ + * :description=Description: + * Printer2: + * :bsdaddr=ServerName,Printer2:\ + * :description=Description: + * Printer3: + * :bsdaddr=ServerName,Printer3:\ + * :description=Description: + * ... + * PrinterN: + * :bsdaddr=ServerName,PrinterN:\ + * :description=Description: + */ + + cupsFilePuts(fp, "_all:all="); + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayCurrent(Printers)) + cupsFilePrintf(fp, "%s%c", p->name, + cupsArrayNext(Printers) ? ',' : '\n'); + + if (DefaultPrinter) + cupsFilePrintf(fp, "_default:use=%s\n", DefaultPrinter->name); + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + cupsFilePrintf(fp, "%s:\\\n" + "\t:bsdaddr=%s,%s:\\\n" + "\t:description=%s:\n", + p->name, ServerName, p->name, + p->info ? p->info : ""); + break; + } + + /* + * Close the file... + */ + + cupsFileClose(fp); +} + + +/* + * 'add_printer_defaults()' - Add name-default attributes to the printer attributes. + */ + +static void +add_printer_defaults(cupsd_printer_t *p)/* I - Printer */ +{ + int i; /* Looping var */ + int num_options; /* Number of default options */ + cups_option_t *options, /* Default options */ + *option; /* Current option */ + char name[256]; /* name-default */ + + + /* + * Maintain a common array of default attribute names... + */ + + if (!CommonDefaults) + { + CommonDefaults = cupsArrayNew((cups_array_func_t)strcmp, NULL); + + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("copies-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("document-format-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("finishings-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("job-account-id-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("job-accounting-user-id-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("job-cancel-after-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("job-hold-until-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("job-priority-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("job-sheets-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("media-col-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("notify-lease-duration-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("notify-events-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("number-up-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("orientation-requested-default")); + cupsArrayAdd(CommonDefaults, _cupsStrAlloc("print-quality-default")); + } + + /* + * Add all of the default options from the .conf files... + */ + + for (num_options = 0, options = NULL, i = p->num_options, option = p->options; + i > 0; + i --, option ++) + { + if (strcmp(option->name, "ipp-options") && + strcmp(option->name, "job-sheets") && + strcmp(option->name, "lease-duration")) + { + snprintf(name, sizeof(name), "%s-default", option->name); + num_options = cupsAddOption(name, option->value, num_options, &options); + + if (!cupsArrayFind(CommonDefaults, name)) + cupsArrayAdd(CommonDefaults, _cupsStrAlloc(name)); + } + } + + /* + * Convert options to IPP attributes... + */ + + cupsEncodeOptions2(p->attrs, num_options, options, IPP_TAG_PRINTER); + cupsFreeOptions(num_options, options); + + /* + * Add standard -default attributes as needed... + */ + + if (!cupsGetOption("copies", p->num_options, p->options)) + ippAddInteger(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "copies-default", + 1); + + if (!cupsGetOption("document-format", p->num_options, p->options)) + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_MIMETYPE, + "document-format-default", NULL, "application/octet-stream"); + + if (!cupsGetOption("job-cancel-after", p->num_options, p->options)) + ippAddInteger(p->attrs, IPP_TAG_PRINTER, MaxJobTime > 0 ? IPP_TAG_INTEGER : IPP_TAG_NOVALUE, + "job-cancel-after-default", MaxJobTime); + + if (!cupsGetOption("job-hold-until", p->num_options, p->options)) + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "job-hold-until-default", NULL, "no-hold"); + + if (!cupsGetOption("job-priority", p->num_options, p->options)) + ippAddInteger(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "job-priority-default", 50); + + if (!cupsGetOption("number-up", p->num_options, p->options)) + ippAddInteger(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "number-up-default", 1); + + if (!cupsGetOption("notify-lease-duration", p->num_options, p->options)) + ippAddInteger(p->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "notify-lease-duration-default", DefaultLeaseDuration); + + if (!cupsGetOption("notify-events", p->num_options, p->options)) + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "notify-events-default", NULL, "job-completed"); + + if (!cupsGetOption("orientation-requested", p->num_options, p->options)) + ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_TAG_NOVALUE, + "orientation-requested-default", NULL, NULL); + + if (!cupsGetOption("print-quality", p->num_options, p->options)) + ippAddInteger(p->attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, + "print-quality-default", IPP_QUALITY_NORMAL); +} + + +/* + * 'add_printer_filter()' - Add a MIME filter for a printer. + */ + +static void +add_printer_filter( + cupsd_printer_t *p, /* I - Printer to add to */ + mime_type_t *filtertype, /* I - Filter or prefilter MIME type */ + const char *filter) /* I - Filter to add */ +{ + char super[MIME_MAX_SUPER], /* Super-type for filter */ + type[MIME_MAX_TYPE], /* Type for filter */ + dsuper[MIME_MAX_SUPER], /* Destination super-type for filter */ + dtype[MIME_MAX_TYPE], /* Destination type for filter */ + dest[MIME_MAX_SUPER + MIME_MAX_TYPE + 2], + /* Destination super/type */ + program[1024]; /* Program/filter name */ + int cost; /* Cost of filter */ + size_t maxsize = 0; /* Maximum supported file size */ + mime_type_t *temptype, /* MIME type looping var */ + *desttype; /* Destination MIME type */ + mime_filter_t *filterptr; /* MIME filter */ + char filename[1024]; /* Full filter filename */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "add_printer_filter(p=%p(%s), filtertype=%p(%s/%s), " + "filter=\"%s\")", p, p->name, filtertype, filtertype->super, + filtertype->type, filter); + + /* + * Parse the filter string; it should be in one of the following formats: + * + * source/type cost program + * source/type cost maxsize(nnnn) program + * source/type dest/type cost program + * source/type dest/type cost maxsize(nnnn) program + */ + + if (sscanf(filter, "%15[^/]/%255s%*[ \t]%15[^/]/%255s%d%*[ \t]%1023[^\n]", + super, type, dsuper, dtype, &cost, program) == 6) + { + snprintf(dest, sizeof(dest), "%s/%s/%s", p->name, dsuper, dtype); + + if ((desttype = mimeType(MimeDatabase, "printer", dest)) == NULL) + { + desttype = mimeAddType(MimeDatabase, "printer", dest); + if (!p->dest_types) + p->dest_types = cupsArrayNew(NULL, NULL); + + cupsArrayAdd(p->dest_types, desttype); + } + + } + else + { + if (sscanf(filter, "%15[^/]/%255s%d%*[ \t]%1023[^\n]", super, type, &cost, + program) == 4) + { + desttype = filtertype; + } + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, "%s: invalid filter string \"%s\"!", + p->name, filter); + return; + } + } + + if (!strncmp(program, "maxsize(", 8)) + { + char *ptr; /* Pointer into maxsize(nnnn) program */ + + maxsize = (size_t)strtoll(program + 8, &ptr, 10); + + if (*ptr != ')') + { + cupsdLogMessage(CUPSD_LOG_ERROR, "%s: invalid filter string \"%s\"!", + p->name, filter); + return; + } + + ptr ++; + while (_cups_isspace(*ptr)) + ptr ++; + + _cups_strcpy(program, ptr); + } + + /* + * Check permissions on the filter and its containing directory... + */ + + if (strcmp(program, "-")) + { + if (program[0] == '/') + strlcpy(filename, program, sizeof(filename)); + else + snprintf(filename, sizeof(filename), "%s/filter/%s", ServerBin, program); + + _cupsFileCheck(filename, _CUPS_FILE_CHECK_PROGRAM, !RunUser, + cupsdLogFCMessage, p); + } + + /* + * Add the filter to the MIME database, supporting wildcards as needed... + */ + + for (temptype = mimeFirstType(MimeDatabase); + temptype; + temptype = mimeNextType(MimeDatabase)) + if (((super[0] == '*' && _cups_strcasecmp(temptype->super, "printer")) || + !_cups_strcasecmp(temptype->super, super)) && + (type[0] == '*' || !_cups_strcasecmp(temptype->type, type))) + { + if (desttype != filtertype) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "add_printer_filter: %s: adding filter %s/%s %s/%s %d " + "%s", p->name, temptype->super, temptype->type, + desttype->super, desttype->type, + cost, program); + filterptr = mimeAddFilter(MimeDatabase, temptype, desttype, cost, + program); + + if (!mimeFilterLookup(MimeDatabase, desttype, filtertype)) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "add_printer_filter: %s: adding filter %s/%s %s/%s " + "0 -", p->name, desttype->super, desttype->type, + filtertype->super, filtertype->type); + mimeAddFilter(MimeDatabase, desttype, filtertype, 0, "-"); + } + } + else + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "add_printer_filter: %s: adding filter %s/%s %s/%s %d " + "%s", p->name, temptype->super, temptype->type, + filtertype->super, filtertype->type, + cost, program); + filterptr = mimeAddFilter(MimeDatabase, temptype, filtertype, cost, + program); + } + + if (filterptr) + filterptr->maxsize = maxsize; + } +} + + +/* + * 'add_printer_formats()' - Add document-format-supported values for a printer. + */ + +static void +add_printer_formats(cupsd_printer_t *p) /* I - Printer */ +{ + int i; /* Looping var */ + mime_type_t *type; /* Current MIME type */ + cups_array_t *filters; /* Filters */ + ipp_attribute_t *attr; /* document-format-supported attribute */ + char mimetype[MIME_MAX_SUPER + MIME_MAX_TYPE + 2]; + /* MIME type name */ + + + /* + * Raw (and remote) queues advertise all of the supported MIME + * types... + */ + + cupsArrayDelete(p->filetypes); + p->filetypes = NULL; + + if (p->raw) + { + ippAddStrings(p->attrs, IPP_TAG_PRINTER, + (ipp_tag_t)(IPP_TAG_MIMETYPE | IPP_TAG_COPY), + "document-format-supported", NumMimeTypes, NULL, MimeTypes); + return; + } + + /* + * Otherwise, loop through the supported MIME types and see if there + * are filters for them... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "add_printer_formats: %d types, %d filters", + mimeNumTypes(MimeDatabase), mimeNumFilters(MimeDatabase)); + + p->filetypes = cupsArrayNew(NULL, NULL); + + for (type = mimeFirstType(MimeDatabase); + type; + type = mimeNextType(MimeDatabase)) + { + if (!_cups_strcasecmp(type->super, "printer")) + continue; + + snprintf(mimetype, sizeof(mimetype), "%s/%s", type->super, type->type); + + if ((filters = mimeFilter(MimeDatabase, type, p->filetype, NULL)) != NULL) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "add_printer_formats: %s: %s needs %d filters", + p->name, mimetype, cupsArrayCount(filters)); + + cupsArrayDelete(filters); + cupsArrayAdd(p->filetypes, type); + } + else + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "add_printer_formats: %s: %s not supported", + p->name, mimetype); + } + + /* + * Add the file formats that can be filtered... + */ + + if ((type = mimeType(MimeDatabase, "application", "octet-stream")) == NULL || + !cupsArrayFind(p->filetypes, type)) + i = 1; + else + i = 0; + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "add_printer_formats: %s: %d supported types", + p->name, cupsArrayCount(p->filetypes) + i); + + attr = ippAddStrings(p->attrs, IPP_TAG_PRINTER, IPP_TAG_MIMETYPE, + "document-format-supported", + cupsArrayCount(p->filetypes) + i, NULL, NULL); + + if (i) + attr->values[0].string.text = _cupsStrAlloc("application/octet-stream"); + + for (type = (mime_type_t *)cupsArrayFirst(p->filetypes); + type; + i ++, type = (mime_type_t *)cupsArrayNext(p->filetypes)) + { + snprintf(mimetype, sizeof(mimetype), "%s/%s", type->super, type->type); + + attr->values[i].string.text = _cupsStrAlloc(mimetype); + } + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + { + char pdl[1024]; /* Buffer to build pdl list */ + mime_filter_t *filter; /* MIME filter looping var */ + + + /* + * We only support raw printing if this is not a Tioga PrintJobMgr based + * queue and if application/octet-stream is a known type... + */ + + for (filter = (mime_filter_t *)cupsArrayFirst(MimeDatabase->filters); + filter; + filter = (mime_filter_t *)cupsArrayNext(MimeDatabase->filters)) + { + if (filter->dst == p->filetype && strstr(filter->filter, "PrintJobMgr")) + break; + } + + pdl[0] = '\0'; + + if (!filter && mimeType(MimeDatabase, "application", "octet-stream")) + strlcat(pdl, "application/octet-stream,", sizeof(pdl)); + + /* + * Then list a bunch of formats that are supported by the printer... + */ + + for (type = (mime_type_t *)cupsArrayFirst(p->filetypes); + type; + type = (mime_type_t *)cupsArrayNext(p->filetypes)) + { + if (!_cups_strcasecmp(type->super, "application")) + { + if (!_cups_strcasecmp(type->type, "pdf")) + strlcat(pdl, "application/pdf,", sizeof(pdl)); + else if (!_cups_strcasecmp(type->type, "postscript")) + strlcat(pdl, "application/postscript,", sizeof(pdl)); + } + else if (!_cups_strcasecmp(type->super, "image")) + { + if (!_cups_strcasecmp(type->type, "jpeg")) + strlcat(pdl, "image/jpeg,", sizeof(pdl)); + else if (!_cups_strcasecmp(type->type, "png")) + strlcat(pdl, "image/png,", sizeof(pdl)); + else if (!_cups_strcasecmp(type->type, "pwg-raster")) + strlcat(pdl, "image/pwg-raster,", sizeof(pdl)); + } + } + + if (pdl[0]) + pdl[strlen(pdl) - 1] = '\0'; /* Remove trailing comma */ + + cupsdSetString(&p->pdl, pdl); + } +#endif /* HAVE_DNSSD || HAVE_AVAHI */ +} + + +/* + * 'compare_printers()' - Compare two printers. + */ + +static int /* O - Result of comparison */ +compare_printers(void *first, /* I - First printer */ + void *second, /* I - Second printer */ + void *data) /* I - App data (not used) */ +{ + (void)data; + + return (_cups_strcasecmp(((cupsd_printer_t *)first)->name, + ((cupsd_printer_t *)second)->name)); +} + + +/* + * 'delete_printer_filters()' - Delete all MIME filters for a printer. + */ + +static void +delete_printer_filters( + cupsd_printer_t *p) /* I - Printer to remove from */ +{ + mime_filter_t *filter; /* MIME filter looping var */ + mime_type_t *type; /* Destination types for filters */ + + + /* + * Range check input... + */ + + if (p == NULL) + return; + + /* + * Remove all filters from the MIME database that have a destination + * type == printer... + */ + + for (filter = mimeFirstFilter(MimeDatabase); + filter; + filter = mimeNextFilter(MimeDatabase)) + if (filter->dst == p->filetype || filter->dst == p->prefiltertype || + cupsArrayFind(p->dest_types, filter->dst)) + { + /* + * Delete the current filter... + */ + + mimeDeleteFilter(MimeDatabase, filter); + } + + for (type = (mime_type_t *)cupsArrayFirst(p->dest_types); + type; + type = (mime_type_t *)cupsArrayNext(p->dest_types)) + mimeDeleteType(MimeDatabase, type); + + cupsArrayDelete(p->dest_types); + p->dest_types = NULL; + + cupsdSetPrinterReasons(p, "-cups-insecure-filter-warning" + ",cups-missing-filter-warning"); +} + + +/* + * 'dirty_printer()' - Mark config and state files dirty for the specified + * printer. + */ + +static void +dirty_printer(cupsd_printer_t *p) /* I - Printer */ +{ + if (p->type & CUPS_PRINTER_CLASS) + cupsdMarkDirty(CUPSD_DIRTY_CLASSES); + else + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + + if (PrintcapFormat == PRINTCAP_PLIST) + cupsdMarkDirty(CUPSD_DIRTY_PRINTCAP); +} + + +/* + * 'load_ppd()' - Load a cached PPD file, updating the cache as needed. + */ + +static void +load_ppd(cupsd_printer_t *p) /* I - Printer */ +{ + int i, j; /* Looping vars */ + char cache_name[1024]; /* Cache filename */ + struct stat cache_info; /* Cache file info */ + ppd_file_t *ppd; /* PPD file */ + char ppd_name[1024]; /* PPD filename */ + struct stat ppd_info; /* PPD file info */ + char strings_name[1024]; /* Strings filename */ + int num_media; /* Number of media values */ + ppd_size_t *size; /* Current PPD size */ + ppd_option_t *duplex, /* Duplex option */ + *output_bin, /* OutputBin option */ + *output_mode, /* OutputMode option */ + *resolution; /* (Set|JCL|)Resolution option */ + ppd_choice_t *choice; /* Current PPD choice */ + ppd_attr_t *ppd_attr; /* PPD attribute */ + int xdpi, /* Horizontal resolution */ + ydpi; /* Vertical resolution */ + const char *resptr; /* Pointer into resolution keyword */ + pwg_size_t *pwgsize; /* Current PWG size */ + pwg_map_t *pwgsource, /* Current PWG source */ + *pwgtype; /* Current PWG type */ + ipp_attribute_t *attr; /* Attribute data */ + _ipp_value_t *val; /* Attribute value */ + int num_finishings, /* Number of finishings */ + finishings[100]; /* finishings-supported values */ + int num_qualities, /* Number of print-quality values */ + qualities[3]; /* print-quality values */ + int num_margins, /* Number of media-*-margin-supported values */ + margins[16]; /* media-*-margin-supported values */ + const char *filter, /* Current filter */ + *mandatory; /* Current mandatory attribute */ + static const char * const pwg_raster_document_types[] = + { + "black_1", + "sgray_8", + "srgb_8" + }; + static const char * const sides[3] = /* sides-supported values */ + { + "one-sided", + "two-sided-long-edge", + "two-sided-short-edge" + }; + static const char * const standard_commands[] = + { /* Standard CUPS commands */ + "AutoConfigure", + "Clean", + "PrintSelfTestPage" + }; + + + /* + * Check to see if the cache is up-to-date... + */ + + snprintf(cache_name, sizeof(cache_name), "%s/%s.data", CacheDir, p->name); + if (stat(cache_name, &cache_info)) + cache_info.st_mtime = 0; + + snprintf(ppd_name, sizeof(ppd_name), "%s/ppd/%s.ppd", ServerRoot, p->name); + if (stat(ppd_name, &ppd_info)) + ppd_info.st_mtime = 1; + + snprintf(strings_name, sizeof(strings_name), "%s/%s.strings", CacheDir, p->name); + + ippDelete(p->ppd_attrs); + p->ppd_attrs = NULL; + + _ppdCacheDestroy(p->pc); + p->pc = NULL; + + if (cache_info.st_mtime >= ppd_info.st_mtime) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "load_ppd: Loading %s...", cache_name); + + if ((p->pc = _ppdCacheCreateWithFile(cache_name, &p->ppd_attrs)) != NULL && + p->ppd_attrs) + { + /* + * Loaded successfully! + */ + + return; + } + } + + /* + * Reload PPD attributes from disk... + */ + + cupsdMarkDirty(CUPSD_DIRTY_PRINTERS); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "load_ppd: Loading %s...", ppd_name); + + cupsdClearString(&(p->make_model)); + + p->type &= (cups_ptype_t)~CUPS_PRINTER_OPTIONS; + p->type |= CUPS_PRINTER_BW; + + finishings[0] = IPP_FINISHINGS_NONE; + num_finishings = 1; + + p->ppd_attrs = ippNew(); + + if ((ppd = _ppdOpenFile(ppd_name, _PPD_LOCALIZATION_NONE)) != NULL) + { + /* + * Add make/model and other various attributes... + */ + + p->pc = _ppdCacheCreateWithPPD(ppd); + + if (!p->pc) + cupsdLogMessage(CUPSD_LOG_WARN, "Unable to create cache of \"%s\": %s", + ppd_name, cupsLastErrorString()); + + ppdMarkDefaults(ppd); + + if (ppd->color_device) + p->type |= CUPS_PRINTER_COLOR; + if (ppd->variable_sizes) + p->type |= CUPS_PRINTER_VARIABLE; + if (!ppd->manual_copies) + p->type |= CUPS_PRINTER_COPIES; + if ((ppd_attr = ppdFindAttr(ppd, "cupsFax", NULL)) != NULL) + if (ppd_attr->value && !_cups_strcasecmp(ppd_attr->value, "true")) + p->type |= CUPS_PRINTER_FAX; + + ippAddBoolean(p->ppd_attrs, IPP_TAG_PRINTER, "color-supported", (char)ppd->color_device); + + if (p->pc && p->pc->charge_info_uri) + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_URI, + "printer-charge-info-uri", NULL, p->pc->charge_info_uri); + + if (p->pc && p->pc->account_id) + ippAddBoolean(p->ppd_attrs, IPP_TAG_PRINTER, "job-account-id-supported", + 1); + + if (p->pc && p->pc->accounting_user_id) + ippAddBoolean(p->ppd_attrs, IPP_TAG_PRINTER, + "job-accounting-user-id-supported", 1); + + if (p->pc && p->pc->password) + { + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "job-password-encryption-supported", NULL, "none"); + ippAddInteger(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "job-password-supported", (int)strlen(p->pc->password)); + } + + if (ppd->throughput) + { + ippAddInteger(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "pages-per-minute", ppd->throughput); + if (ppd->color_device) + ippAddInteger(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "pages-per-minute-color", ppd->throughput); + } + else + { + /* + * When there is no speed information, just say "1 page per minute". + */ + + ippAddInteger(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "pages-per-minute", 1); + if (ppd->color_device) + ippAddInteger(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "pages-per-minute-color", 1); + } + + if ((ppd_attr = ppdFindAttr(ppd, "1284DeviceId", NULL)) != NULL) + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-device-id", NULL, ppd_attr->value); + + num_qualities = 0; + + if ((output_mode = ppdFindOption(ppd, "OutputMode")) != NULL) + { + if (ppdFindChoice(output_mode, "draft") || + ppdFindChoice(output_mode, "fast")) + qualities[num_qualities ++] = IPP_QUALITY_DRAFT; + + qualities[num_qualities ++] = IPP_QUALITY_NORMAL; + + if (ppdFindChoice(output_mode, "best") || + ppdFindChoice(output_mode, "high")) + qualities[num_qualities ++] = IPP_QUALITY_HIGH; + } + else if ((ppd_attr = ppdFindAttr(ppd, "APPrinterPreset", NULL)) != NULL) + { + do + { + if (strstr(ppd_attr->spec, "draft") || + strstr(ppd_attr->spec, "Draft")) + { + qualities[num_qualities ++] = IPP_QUALITY_DRAFT; + break; + } + } + while ((ppd_attr = ppdFindNextAttr(ppd, "APPrinterPreset", + NULL)) != NULL); + + qualities[num_qualities ++] = IPP_QUALITY_NORMAL; + qualities[num_qualities ++] = IPP_QUALITY_HIGH; + } + else + qualities[num_qualities ++] = IPP_QUALITY_NORMAL; + + ippAddIntegers(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, + "print-quality-supported", num_qualities, qualities); + + if (ppd->nickname) + { + /* + * The NickName can be localized in the character set specified + * by the LanugageEncoding attribute. However, ppdOpen2() has + * already converted the ppd->nickname member to UTF-8 for us + * (the original attribute value is available separately) + */ + + cupsdSetString(&p->make_model, ppd->nickname); + } + else if (ppd->modelname) + { + /* + * Model name can only contain specific characters... + */ + + cupsdSetString(&p->make_model, ppd->modelname); + } + else + cupsdSetString(&p->make_model, "Bad PPD File"); + + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, + "printer-make-and-model", NULL, p->make_model); + + if (p->pc && p->pc->strings) + _cupsMessageSave(strings_name, _CUPS_MESSAGE_STRINGS, p->pc->strings); + + if (!access(strings_name, R_OK)) + cupsdSetString(&p->strings, strings_name); + else + cupsdClearString(&p->strings); + + /* + * Add media options from the PPD file... + */ + + if (ppd->num_sizes == 0 || !p->pc) + { + if (!ppdFindAttr(ppd, "APScannerOnly", NULL) && !ppdFindAttr(ppd, "cups3D", NULL)) + cupsdLogMessage(CUPSD_LOG_CRIT, + "The PPD file for printer %s contains no media " + "options and is therefore invalid.", p->name); + + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "media-default", NULL, "unknown"); + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "media-supported", NULL, "unknown"); + } + else + { + /* + * media-default + */ + + if ((size = ppdPageSize(ppd, NULL)) != NULL) + pwgsize = _ppdCacheGetSize(p->pc, size->name); + else + pwgsize = NULL; + + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "media-default", NULL, + pwgsize ? pwgsize->map.pwg : "unknown"); + + /* + * media-col-default + */ + + if (pwgsize) + { + ipp_t *col; /* Collection value */ + + col = new_media_col(pwgsize); + ippAddCollection(p->ppd_attrs, IPP_TAG_PRINTER, "media-col-default", col); + ippDelete(col); + } + + /* + * media-supported + */ + + num_media = p->pc->num_sizes; + if (p->pc->custom_min_keyword) + num_media += 2; + + if ((attr = ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "media-supported", num_media, NULL, + NULL)) != NULL) + { + val = attr->values; + + for (i = p->pc->num_sizes, pwgsize = p->pc->sizes; + i > 0; + i --, pwgsize ++, val ++) + val->string.text = _cupsStrAlloc(pwgsize->map.pwg); + + if (p->pc->custom_min_keyword) + { + val->string.text = _cupsStrAlloc(p->pc->custom_min_keyword); + val ++; + val->string.text = _cupsStrAlloc(p->pc->custom_max_keyword); + } + } + + /* + * media-size-supported + */ + + num_media = p->pc->num_sizes; + if (p->pc->custom_min_keyword) + num_media ++; + + if ((attr = ippAddCollections(p->ppd_attrs, IPP_TAG_PRINTER, + "media-size-supported", num_media, + NULL)) != NULL) + { + val = attr->values; + + for (i = p->pc->num_sizes, pwgsize = p->pc->sizes; + i > 0; + i --, pwgsize ++, val ++) + { + val->collection = ippNew(); + ippAddInteger(val->collection, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "x-dimension", pwgsize->width); + ippAddInteger(val->collection, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "y-dimension", pwgsize->length); + } + + if (p->pc->custom_min_keyword) + { + val->collection = ippNew(); + ippAddRange(val->collection, IPP_TAG_PRINTER, "x-dimension", + p->pc->custom_min_width, p->pc->custom_max_width); + ippAddRange(val->collection, IPP_TAG_PRINTER, "y-dimension", + p->pc->custom_min_length, p->pc->custom_max_length); + } + } + + /* + * media-source-supported + */ + + if (p->pc->num_sources > 0 && + (attr = ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "media-source-supported", p->pc->num_sources, + NULL, NULL)) != NULL) + { + for (i = p->pc->num_sources, pwgsource = p->pc->sources, + val = attr->values; + i > 0; + i --, pwgsource ++, val ++) + val->string.text = _cupsStrAlloc(pwgsource->pwg); + } + + /* + * media-type-supported + */ + + if (p->pc->num_types > 0 && + (attr = ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "media-type-supported", p->pc->num_types, + NULL, NULL)) != NULL) + { + for (i = p->pc->num_types, pwgtype = p->pc->types, + val = attr->values; + i > 0; + i --, pwgtype ++, val ++) + val->string.text = _cupsStrAlloc(pwgtype->pwg); + } + + /* + * media-*-margin-supported + */ + + for (i = p->pc->num_sizes, pwgsize = p->pc->sizes, num_margins = 0; + i > 0 && num_margins < (int)(sizeof(margins) / sizeof(margins[0])); + i --, pwgsize ++) + { + for (j = 0; j < num_margins; j ++) + if (pwgsize->bottom == margins[j]) + break; + + if (j >= num_margins) + { + margins[num_margins] = pwgsize->bottom; + num_margins ++; + } + } + + if (num_margins > 0) + ippAddIntegers(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "media-bottom-margin-supported", num_margins, margins); + else + ippAddInteger(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "media-bottom-margin-supported", 0); + + for (i = p->pc->num_sizes, pwgsize = p->pc->sizes, num_margins = 0; + i > 0 && num_margins < (int)(sizeof(margins) / sizeof(margins[0])); + i --, pwgsize ++) + { + for (j = 0; j < num_margins; j ++) + if (pwgsize->left == margins[j]) + break; + + if (j >= num_margins) + { + margins[num_margins] = pwgsize->left; + num_margins ++; + } + } + + if (num_margins > 0) + ippAddIntegers(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "media-left-margin-supported", num_margins, margins); + else + ippAddInteger(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "media-left-margin-supported", 0); + + for (i = p->pc->num_sizes, pwgsize = p->pc->sizes, num_margins = 0; + i > 0 && num_margins < (int)(sizeof(margins) / sizeof(margins[0])); + i --, pwgsize ++) + { + for (j = 0; j < num_margins; j ++) + if (pwgsize->right == margins[j]) + break; + + if (j >= num_margins) + { + margins[num_margins] = pwgsize->right; + num_margins ++; + } + } + + if (num_margins > 0) + ippAddIntegers(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "media-right-margin-supported", num_margins, margins); + else + ippAddInteger(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "media-right-margin-supported", 0); + + for (i = p->pc->num_sizes, pwgsize = p->pc->sizes, num_margins = 0; + i > 0 && num_margins < (int)(sizeof(margins) / sizeof(margins[0])); + i --, pwgsize ++) + { + for (j = 0; j < num_margins; j ++) + if (pwgsize->top == margins[j]) + break; + + if (j >= num_margins) + { + margins[num_margins] = pwgsize->top; + num_margins ++; + } + } + + if (num_margins > 0) + ippAddIntegers(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "media-top-margin-supported", num_margins, margins); + else + ippAddInteger(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, + "media-top-margin-supported", 0); + + /* + * media-col-database + */ + + if ((attr = ippAddCollections(p->ppd_attrs, IPP_TAG_PRINTER, "media-col-database", p->pc->num_sizes, NULL)) != NULL) + { + /* + * Add each page size without source or type... + */ + + for (i = 0, pwgsize = p->pc->sizes; i < p->pc->num_sizes; i ++, pwgsize ++) + { + ipp_t *col = new_media_col(pwgsize); + + ippSetCollection(p->ppd_attrs, &attr, i, col); + ippDelete(col); + } + } + } + + /* + * Output bin... + */ + + if (p->pc && p->pc->num_bins > 0) + { + attr = ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "output-bin-supported", p->pc->num_bins, + NULL, NULL); + + if (attr != NULL) + { + for (i = 0, val = attr->values; + i < p->pc->num_bins; + i ++, val ++) + val->string.text = _cupsStrAlloc(p->pc->bins[i].pwg); + } + + if ((output_bin = ppdFindOption(ppd, "OutputBin")) != NULL) + { + for (i = 0; i < p->pc->num_bins; i ++) + if (!strcmp(p->pc->bins[i].ppd, output_bin->defchoice)) + break; + + if (i >= p->pc->num_bins) + i = 0; + + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "output-bin-default", NULL, p->pc->bins[i].pwg); + } + else + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "output-bin-default", NULL, p->pc->bins[0].pwg); + } + else if (((ppd_attr = ppdFindAttr(ppd, "DefaultOutputOrder", + NULL)) != NULL && + !_cups_strcasecmp(ppd_attr->value, "Reverse")) || + (!ppd_attr && ppd->manufacturer && /* "Compatibility heuristic" */ + (!_cups_strcasecmp(ppd->manufacturer, "epson") || + !_cups_strcasecmp(ppd->manufacturer, "lexmark")))) + { + /* + * Report that this printer has a single output bin that leaves pages face + * up. + */ + + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "output-bin-supported", NULL, "face-up"); + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "output-bin-default", NULL, "face-up"); + } + else + { + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "output-bin-supported", NULL, "face-down"); + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "output-bin-default", NULL, "face-down"); + } + + /* + * print-color-mode... + */ + + if (ppd->color_device) + { + static const char * const color_modes[] = + { + "monochrome", + "color" + }; + + ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "print-color-mode-supported", 2, NULL, color_modes); + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "print-color-mode-default", NULL, "color"); + ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "pwg-raster-document-type-supported", 3, NULL, pwg_raster_document_types); + } + else + { + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "print-color-mode-supported", NULL, "monochrome"); + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "print-color-mode-default", NULL, "monochrome"); + ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "pwg-raster-document-type-supported", 2, NULL, pwg_raster_document_types); + } + + /* + * Mandatory job attributes, if any... + */ + + if (p->pc && cupsArrayCount(p->pc->mandatory) > 0) + { + int count = cupsArrayCount(p->pc->mandatory); + /* Number of mandatory attributes */ + + attr = ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "printer-mandatory-job-attributes", count, NULL, + NULL); + + for (val = attr->values, + mandatory = (char *)cupsArrayFirst(p->pc->mandatory); + mandatory; + val ++, mandatory = (char *)cupsArrayNext(p->pc->mandatory)) + val->string.text = _cupsStrAlloc(mandatory); + } + + /* + * Printer resolutions... + */ + + if ((resolution = ppdFindOption(ppd, "Resolution")) == NULL) + if ((resolution = ppdFindOption(ppd, "JCLResolution")) == NULL) + if ((resolution = ppdFindOption(ppd, "SetResolution")) == NULL) + resolution = ppdFindOption(ppd, "CNRes_PGP"); + + if (resolution) + { + /* + * Report all supported resolutions... + */ + + attr = ippAddResolutions(p->ppd_attrs, IPP_TAG_PRINTER, "printer-resolution-supported", resolution->num_choices, IPP_RES_PER_INCH, NULL, NULL); + + for (i = 0, choice = resolution->choices; + i < resolution->num_choices; + i ++, choice ++) + { + xdpi = ydpi = (int)strtol(choice->choice, (char **)&resptr, 10); + if (resptr > choice->choice && xdpi > 0 && *resptr == 'x') + ydpi = (int)strtol(resptr + 1, (char **)&resptr, 10); + + if (xdpi <= 0 || ydpi <= 0) + { + cupsdLogMessage(CUPSD_LOG_WARN, + "Bad resolution \"%s\" for printer %s.", + choice->choice, p->name); + xdpi = ydpi = 300; + } + + attr->values[i].resolution.xres = xdpi; + attr->values[i].resolution.yres = ydpi; + attr->values[i].resolution.units = IPP_RES_PER_INCH; + + if (choice->marked) + ippAddResolution(p->ppd_attrs, IPP_TAG_PRINTER, "printer-resolution-default", IPP_RES_PER_INCH, xdpi, ydpi); + + if (i == 0) + ippAddResolution(p->ppd_attrs, IPP_TAG_PRINTER, "pwg-raster-document-resolution-supported", IPP_RES_PER_INCH, xdpi, ydpi); + } + } + else if ((ppd_attr = ppdFindAttr(ppd, "DefaultResolution", NULL)) != NULL && + ppd_attr->value) + { + /* + * Just the DefaultResolution to report... + */ + + xdpi = ydpi = (int)strtol(ppd_attr->value, (char **)&resptr, 10); + if (resptr > ppd_attr->value && xdpi > 0) + { + if (*resptr == 'x') + ydpi = (int)strtol(resptr + 1, (char **)&resptr, 10); + else + ydpi = xdpi; + } + + if (xdpi <= 0 || ydpi <= 0) + { + cupsdLogMessage(CUPSD_LOG_WARN, + "Bad default resolution \"%s\" for printer %s.", + ppd_attr->value, p->name); + xdpi = ydpi = 300; + } + + ippAddResolution(p->ppd_attrs, IPP_TAG_PRINTER, + "printer-resolution-default", IPP_RES_PER_INCH, + xdpi, ydpi); + ippAddResolution(p->ppd_attrs, IPP_TAG_PRINTER, + "printer-resolution-supported", IPP_RES_PER_INCH, + xdpi, ydpi); + ippAddResolution(p->ppd_attrs, IPP_TAG_PRINTER, "pwg-raster-document-resolution-supported", IPP_RES_PER_INCH, xdpi, ydpi); + } + else + { + /* + * No resolutions in PPD - make one up... + */ + + ippAddResolution(p->ppd_attrs, IPP_TAG_PRINTER, + "printer-resolution-default", IPP_RES_PER_INCH, + 300, 300); + ippAddResolution(p->ppd_attrs, IPP_TAG_PRINTER, + "printer-resolution-supported", IPP_RES_PER_INCH, + 300, 300); + ippAddResolution(p->ppd_attrs, IPP_TAG_PRINTER, "pwg-raster-document-resolution-supported", IPP_RES_PER_INCH, 300, 300); + } + + /* + * Duplexing, etc... + */ + + ppdMarkDefaults(ppd); + + if ((duplex = ppdFindOption(ppd, "Duplex")) == NULL) + if ((duplex = ppdFindOption(ppd, "EFDuplex")) == NULL) + if ((duplex = ppdFindOption(ppd, "EFDuplexing")) == NULL) + if ((duplex = ppdFindOption(ppd, "KD03Duplex")) == NULL) + duplex = ppdFindOption(ppd, "JCLDuplex"); + + if (duplex && duplex->num_choices > 1 && + !ppdInstallableConflict(ppd, duplex->keyword, "DuplexTumble")) + { + p->type |= CUPS_PRINTER_DUPLEX; + + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "pwg-raster-document-sheet-back", NULL, "normal"); + + ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "sides-supported", 3, NULL, sides); + + if (!_cups_strcasecmp(duplex->defchoice, "DuplexTumble")) + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "sides-default", NULL, "two-sided-short-edge"); + else if (!_cups_strcasecmp(duplex->defchoice, "DuplexNoTumble")) + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "sides-default", NULL, "two-sided-long-edge"); + else + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "sides-default", NULL, "one-sided"); + } + else + { + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "sides-supported", NULL, "one-sided"); + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "sides-default", NULL, "one-sided"); + } + + if (ppdFindOption(ppd, "Collate") != NULL) + p->type |= CUPS_PRINTER_COLLATE; + + if (p->pc && p->pc->finishings) + { + _pwg_finishings_t *fin; /* Current finishing value */ + + for (fin = (_pwg_finishings_t *)cupsArrayFirst(p->pc->finishings); fin; fin = (_pwg_finishings_t *)cupsArrayNext(p->pc->finishings)) + { + if (num_finishings < (int)(sizeof(finishings) / sizeof(finishings[0]))) + finishings[num_finishings++] = (int)fin->value; + + switch (fin->value) + { + case IPP_FINISHINGS_BIND : + case IPP_FINISHINGS_BIND_LEFT : + case IPP_FINISHINGS_BIND_TOP : + case IPP_FINISHINGS_BIND_RIGHT : + case IPP_FINISHINGS_BIND_BOTTOM : + case IPP_FINISHINGS_EDGE_STITCH : + case IPP_FINISHINGS_EDGE_STITCH_LEFT : + case IPP_FINISHINGS_EDGE_STITCH_TOP : + case IPP_FINISHINGS_EDGE_STITCH_RIGHT : + case IPP_FINISHINGS_EDGE_STITCH_BOTTOM : + p->type |= CUPS_PRINTER_BIND; + break; + + case IPP_FINISHINGS_COVER : + p->type |= CUPS_PRINTER_COVER; + break; + + case IPP_FINISHINGS_PUNCH : + case IPP_FINISHINGS_PUNCH_TOP_LEFT : + case IPP_FINISHINGS_PUNCH_BOTTOM_LEFT : + case IPP_FINISHINGS_PUNCH_TOP_RIGHT : + case IPP_FINISHINGS_PUNCH_BOTTOM_RIGHT : + case IPP_FINISHINGS_PUNCH_DUAL_LEFT : + case IPP_FINISHINGS_PUNCH_DUAL_TOP : + case IPP_FINISHINGS_PUNCH_DUAL_RIGHT : + case IPP_FINISHINGS_PUNCH_DUAL_BOTTOM : + case IPP_FINISHINGS_PUNCH_TRIPLE_LEFT : + case IPP_FINISHINGS_PUNCH_TRIPLE_TOP : + case IPP_FINISHINGS_PUNCH_TRIPLE_RIGHT : + case IPP_FINISHINGS_PUNCH_TRIPLE_BOTTOM : + case IPP_FINISHINGS_PUNCH_QUAD_LEFT : + case IPP_FINISHINGS_PUNCH_QUAD_TOP : + case IPP_FINISHINGS_PUNCH_QUAD_RIGHT : + case IPP_FINISHINGS_PUNCH_QUAD_BOTTOM : + p->type |= CUPS_PRINTER_PUNCH; + break; + + case IPP_FINISHINGS_STAPLE : + case IPP_FINISHINGS_STAPLE_TOP_LEFT : + case IPP_FINISHINGS_STAPLE_BOTTOM_LEFT : + case IPP_FINISHINGS_STAPLE_TOP_RIGHT : + case IPP_FINISHINGS_STAPLE_BOTTOM_RIGHT : + case IPP_FINISHINGS_STAPLE_DUAL_LEFT : + case IPP_FINISHINGS_STAPLE_DUAL_TOP : + case IPP_FINISHINGS_STAPLE_DUAL_RIGHT : + case IPP_FINISHINGS_STAPLE_DUAL_BOTTOM : + case IPP_FINISHINGS_STAPLE_TRIPLE_LEFT : + case IPP_FINISHINGS_STAPLE_TRIPLE_TOP : + case IPP_FINISHINGS_STAPLE_TRIPLE_RIGHT : + case IPP_FINISHINGS_STAPLE_TRIPLE_BOTTOM : + p->type |= CUPS_PRINTER_STAPLE; + break; + + default : + break; + } + } + } + + if (p->pc && p->pc->templates) + { + const char *template; /* Finishing template */ + ipp_attribute_t *fin_col_db; /* finishings-col-database attribute */ + ipp_t *fin_col; /* finishings-col value */ + + fin_col_db = ippAddCollections(p->ppd_attrs, IPP_TAG_PRINTER, "finishings-col-database", cupsArrayCount(p->pc->templates), NULL); + for (i = 0, template = (const char *)cupsArrayFirst(p->pc->templates); template; i ++, template = (const char *)cupsArrayNext(p->pc->templates)) + { + fin_col = ippNew(); + ippAddString(fin_col, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "finishing-template", NULL, template); + ippSetCollection(p->ppd_attrs, &fin_col_db, i, fin_col); + ippDelete(fin_col); + } + } + + for (i = 0; i < ppd->num_sizes; i ++) + if (ppd->sizes[i].length > 1728) + p->type |= CUPS_PRINTER_LARGE; + else if (ppd->sizes[i].length > 1008) + p->type |= CUPS_PRINTER_MEDIUM; + else + p->type |= CUPS_PRINTER_SMALL; + + if ((ppd_attr = ppdFindAttr(ppd, "APICADriver", NULL)) != NULL && + ppd_attr->value && !_cups_strcasecmp(ppd_attr->value, "true")) + { + if ((ppd_attr = ppdFindAttr(ppd, "APScannerOnly", NULL)) != NULL && + ppd_attr->value && !_cups_strcasecmp(ppd_attr->value, "true")) + p->type |= CUPS_PRINTER_SCANNER; + else + p->type |= CUPS_PRINTER_MFP; + } + + /* + * Scan the filters in the PPD file... + */ + + if (p->pc) + { + for (filter = (const char *)cupsArrayFirst(p->pc->filters); + filter; + filter = (const char *)cupsArrayNext(p->pc->filters)) + { + if (!_cups_strncasecmp(filter, "application/vnd.cups-command", 28) && + _cups_isspace(filter[28])) + { + p->type |= CUPS_PRINTER_COMMANDS; + break; + } + } + } + + if (p->type & CUPS_PRINTER_COMMANDS) + { + char *commands, /* Copy of commands */ + *start, /* Start of name */ + *end; /* End of name */ + int count; /* Number of commands */ + + if ((ppd_attr = ppdFindAttr(ppd, "cupsCommands", NULL)) != NULL) + { + for (count = 0, start = ppd_attr->value; *start; count ++) + { + while (_cups_isspace(*start)) + start ++; + + if (!*start) + break; + + while (*start && !isspace(*start & 255)) + start ++; + } + } + else + count = 0; + + if (count > 0) + { + /* + * Make a copy of the commands string and count how many commands there + * are... + */ + + attr = ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "printer-commands", count, NULL, NULL); + + commands = strdup(ppd_attr->value); + + for (count = 0, start = commands; *start; count ++) + { + while (isspace(*start & 255)) + start ++; + + if (!*start) + break; + + end = start; + while (*end && !isspace(*end & 255)) + end ++; + + if (*end) + *end++ = '\0'; + + attr->values[count].string.text = _cupsStrAlloc(start); + + start = end; + } + + free(commands); + } + else + { + /* + * Add the standard list of commands... + */ + + ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "printer-commands", + (int)(sizeof(standard_commands) / + sizeof(standard_commands[0])), NULL, + standard_commands); + } + } + else + { + /* + * No commands supported... + */ + + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, + "printer-commands", NULL, "none"); + } + + /* + * Show current and available port monitors for this printer... + */ + + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_NAME, "port-monitor", + NULL, p->port_monitor ? p->port_monitor : "none"); + + for (i = 1, ppd_attr = ppdFindAttr(ppd, "cupsPortMonitor", NULL); + ppd_attr; + i ++, ppd_attr = ppdFindNextAttr(ppd, "cupsPortMonitor", NULL)); + + if (ppd->protocols) + { + if (strstr(ppd->protocols, "TBCP")) + i ++; + else if (strstr(ppd->protocols, "BCP")) + i ++; + } + + attr = ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_NAME, + "port-monitor-supported", i, NULL, NULL); + + attr->values[0].string.text = _cupsStrAlloc("none"); + + for (i = 1, ppd_attr = ppdFindAttr(ppd, "cupsPortMonitor", NULL); + ppd_attr; + i ++, ppd_attr = ppdFindNextAttr(ppd, "cupsPortMonitor", NULL)) + attr->values[i].string.text = _cupsStrAlloc(ppd_attr->value); + + if (ppd->protocols) + { + if (strstr(ppd->protocols, "TBCP")) + attr->values[i].string.text = _cupsStrAlloc("tbcp"); + else if (strstr(ppd->protocols, "BCP")) + attr->values[i].string.text = _cupsStrAlloc("bcp"); + } + + if (ppdFindAttr(ppd, "APRemoteQueueID", NULL)) + p->type |= CUPS_PRINTER_REMOTE; + +#ifdef HAVE_APPLICATIONSERVICES_H + /* + * Convert the file referenced in APPrinterIconPath to a 128x128 PNG + * and save it as cacheDir/printername.png + */ + + if ((ppd_attr = ppdFindAttr(ppd, "APPrinterIconPath", NULL)) != NULL && + ppd_attr->value && + !_cupsFileCheck(ppd_attr->value, _CUPS_FILE_CHECK_FILE, !RunUser, + cupsdLogFCMessage, p)) + { + CGImageRef imageRef = NULL;/* Current icon image */ + CGImageRef biggestIconRef = NULL; + /* Biggest icon image */ + CGImageRef closestTo128IconRef = NULL; + /* Icon image closest to and >= 128 */ + CGImageSourceRef sourceRef; /* The file's image source */ + char outPath[HTTP_MAX_URI]; + /* The path to the PNG file */ + CFURLRef outUrl; /* The URL made from the outPath */ + CFURLRef icnsFileUrl; /* The URL of the original ICNS icon file */ + CGImageDestinationRef destRef; /* The image destination to write */ + size_t bytesPerRow; /* The bytes per row used for resizing */ + CGContextRef context; /* The CG context used for resizing */ + + snprintf(outPath, sizeof(outPath), "%s/%s.png", CacheDir, p->name); + outUrl = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault, (UInt8 *)outPath, (CFIndex)strlen(outPath), FALSE); + icnsFileUrl = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault, (UInt8 *)ppd_attr->value, (CFIndex)strlen(ppd_attr->value), FALSE); + if (outUrl && icnsFileUrl) + { + sourceRef = CGImageSourceCreateWithURL(icnsFileUrl, NULL); + if (sourceRef) + { + for (i = 0; i < (int)CGImageSourceGetCount(sourceRef); i ++) + { + imageRef = CGImageSourceCreateImageAtIndex(sourceRef, (size_t)i, NULL); + if (!imageRef) + continue; + + if (CGImageGetWidth(imageRef) == CGImageGetHeight(imageRef)) + { + /* + * Loop through remembering the icon closest to 128 but >= 128 + * and then remember the largest icon. + */ + + if (CGImageGetWidth(imageRef) >= 128 && + (!closestTo128IconRef || + CGImageGetWidth(imageRef) < + CGImageGetWidth(closestTo128IconRef))) + { + CGImageRelease(closestTo128IconRef); + CGImageRetain(imageRef); + closestTo128IconRef = imageRef; + } + + if (!biggestIconRef || + CGImageGetWidth(imageRef) > CGImageGetWidth(biggestIconRef)) + { + CGImageRelease(biggestIconRef); + CGImageRetain(imageRef); + biggestIconRef = imageRef; + } + } + + CGImageRelease(imageRef); + } + + if (biggestIconRef) + { + /* + * If biggestIconRef is NULL, we found no icons. Otherwise we first + * want the closest to 128, but if none are larger than 128, we want + * the largest icon available. + */ + + imageRef = closestTo128IconRef ? closestTo128IconRef : + biggestIconRef; + CGImageRetain(imageRef); + CGImageRelease(biggestIconRef); + if (closestTo128IconRef) + CGImageRelease(closestTo128IconRef); + destRef = CGImageDestinationCreateWithURL(outUrl, kUTTypePNG, 1, + NULL); + if (destRef) + { + if (CGImageGetWidth(imageRef) != 128) + { + bytesPerRow = CGImageGetBytesPerRow(imageRef) / + CGImageGetWidth(imageRef) * 128; + context = CGBitmapContextCreate(NULL, 128, 128, + CGImageGetBitsPerComponent(imageRef), + bytesPerRow, + CGImageGetColorSpace(imageRef), + kCGImageAlphaPremultipliedFirst); + if (context) + { + CGContextDrawImage(context, CGRectMake(0, 0, 128, 128), + imageRef); + CGImageRelease(imageRef); + imageRef = CGBitmapContextCreateImage(context); + CGContextRelease(context); + } + } + + CGImageDestinationAddImage(destRef, imageRef, NULL); + CGImageDestinationFinalize(destRef); + CFRelease(destRef); + } + + CGImageRelease(imageRef); + } + + CFRelease(sourceRef); + } + } + + if (outUrl) + CFRelease(outUrl); + + if (icnsFileUrl) + CFRelease(icnsFileUrl); + } +#endif /* HAVE_APPLICATIONSERVICES_H */ + + /* + * Close the PPD and set the type... + */ + + ppdClose(ppd); + } + else if (!access(ppd_name, 0)) + { + int pline; /* PPD line number */ + ppd_status_t pstatus; /* PPD load status */ + + + pstatus = ppdLastError(&pline); + + cupsdLogMessage(CUPSD_LOG_ERROR, "PPD file for %s cannot be loaded.", p->name); + + if (pstatus <= PPD_ALLOC_ERROR) + cupsdLogMessage(CUPSD_LOG_ERROR, "%s: %s", ppd_name, strerror(errno)); + else + cupsdLogMessage(CUPSD_LOG_ERROR, "%s on line %d of %s.", ppdErrorString(pstatus), pline, ppd_name); + + cupsdLogMessage(CUPSD_LOG_INFO, + "Hint: Run \"cupstestppd %s\" and fix any errors.", + ppd_name); + } + else + { + if (((!strncmp(p->device_uri, "ipp://", 6) || + !strncmp(p->device_uri, "ipps://", 7)) && + (strstr(p->device_uri, "/printers/") != NULL || + strstr(p->device_uri, "/classes/") != NULL)) || + ((strstr(p->device_uri, "._ipp.") != NULL || + strstr(p->device_uri, "._ipps.") != NULL) && + !strcmp(p->device_uri + strlen(p->device_uri) - 5, "/cups"))) + { + /* + * Tell the client this is really a hard-wired remote printer. + */ + + p->type |= CUPS_PRINTER_REMOTE; + + /* + * Then set the make-and-model accordingly... + */ + + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, + "printer-make-and-model", NULL, "Remote Printer"); + + /* + * Print all files directly... + */ + + p->raw = 1; + p->remote = 1; + } + else + { + /* + * Otherwise we have neither - treat this as a "dumb" printer + * with no PPD file... + */ + + ippAddString(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, + "printer-make-and-model", NULL, "Local Raw Printer"); + + p->raw = 1; + } + } + + ippAddIntegers(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, + "finishings-supported", num_finishings, finishings); + ippAddInteger(p->ppd_attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, + "finishings-default", IPP_FINISHINGS_NONE); + + if (ppd && p->pc) + { + /* + * Save cached PPD attributes to disk... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "load_ppd: Saving %s...", cache_name); + + _ppdCacheWriteFile(p->pc, cache_name, p->ppd_attrs); + } + else + { + /* + * Remove cache files... + */ + + if (cache_info.st_mtime) + unlink(cache_name); + } +} + + +/* + * 'new_media_col()' - Create a media-col collection value. + */ + +static ipp_t * /* O - Collection value */ +new_media_col(pwg_size_t *size) /* I - media-size/margin values */ +{ + ipp_t *media_col, /* Collection value */ + *media_size; /* media-size value */ + + + media_col = ippNew(); + + media_size = ippNew(); + ippAddInteger(media_size, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "x-dimension", size->width); + ippAddInteger(media_size, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "y-dimension", size->length); + ippAddCollection(media_col, IPP_TAG_PRINTER, "media-size", media_size); + ippDelete(media_size); + + ippAddInteger(media_col, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-bottom-margin", size->bottom); + ippAddInteger(media_col, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-left-margin", size->left); + ippAddInteger(media_col, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-right-margin", size->right); + ippAddInteger(media_col, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-top-margin", size->top); + + return (media_col); +} + + +/* + * 'write_xml_string()' - Write a string with XML escaping. + */ + +static void +write_xml_string(cups_file_t *fp, /* I - File to write to */ + const char *s) /* I - String to write */ +{ + const char *start; /* Start of current sequence */ + + + if (!s) + return; + + for (start = s; *s; s ++) + { + if (*s == '&') + { + if (s > start) + cupsFileWrite(fp, start, (size_t)(s - start)); + + cupsFilePuts(fp, "&"); + start = s + 1; + } + else if (*s == '<') + { + if (s > start) + cupsFileWrite(fp, start, (size_t)(s - start)); + + cupsFilePuts(fp, "<"); + start = s + 1; + } + } + + if (s > start) + cupsFilePuts(fp, start); +} diff --git a/scheduler/printers.h b/scheduler/printers.h new file mode 100644 index 0000000..4959bf2 --- /dev/null +++ b/scheduler/printers.h @@ -0,0 +1,194 @@ +/* + * Printer definitions for the CUPS scheduler. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifdef HAVE_DNSSD +# include +#elif defined(HAVE_AVAHI) +# include +# include +# include +# include +#endif /* HAVE_DNSSD */ +#include + + +/* + * Quota data... + */ + +typedef struct +{ + char username[33]; /* User data */ + time_t next_update; /* Next update time */ + int page_count, /* Count of pages */ + k_count; /* Count of kilobytes */ +} cupsd_quota_t; + + +/* + * DNS-SD types to make the code cleaner/clearer... + */ + +#ifdef HAVE_DNSSD +typedef DNSServiceRef cupsd_srv_t; /* Service reference */ +typedef TXTRecordRef cupsd_txt_t; /* TXT record */ + +#elif defined(HAVE_AVAHI) +typedef AvahiEntryGroup *cupsd_srv_t; /* Service reference */ +typedef AvahiStringList *cupsd_txt_t; /* TXT record */ +#endif /* HAVE_DNSSD */ + + +/* + * Printer/class information structure... + */ + +typedef struct cupsd_job_s cupsd_job_t; + +struct cupsd_printer_s +{ + _cups_rwlock_t lock; /* Concurrency lock for background updates */ + int printer_id; /* Printer ID */ + char *uri, /* Printer URI */ + *uuid, /* Printer UUID */ + *hostname, /* Host printer resides on */ + *name, /* Printer name */ + *location, /* Location string */ + *geo_location, /* Geographic location URI */ + *make_model, /* Make and model */ + *info, /* Description */ + *organization, /* Organization name */ + *organizational_unit, /* Organizational unit (department, etc.) */ + *strings, /* Strings file, if any */ + *op_policy, /* Operation policy name */ + *error_policy; /* Error policy */ + cupsd_policy_t *op_policy_ptr; /* Pointer to operation policy */ + int shared; /* Shared? */ + int temporary; /* Temporary queue? */ + int accepting; /* Accepting jobs? */ + int holding_new_jobs; /* Holding new jobs for printing? */ + int in_implicit_class; /* In an implicit class? */ + ipp_pstate_t state; /* Printer state */ + char state_message[1024]; /* Printer state message */ + int num_reasons; /* Number of printer-state-reasons */ + char *reasons[64]; /* printer-state-reasons strings */ + time_t config_time, /* Time at this configuration */ + state_time; /* Time at this state */ + char *job_sheets[2]; /* Banners/job sheets */ + cups_ptype_t type; /* Printer type (color, small, etc.) */ + char *device_uri; /* Device URI */ + char *sanitized_device_uri; /* Sanitized device URI */ + char *port_monitor; /* Port monitor */ + int raw; /* Raw queue? */ + int remote; /* Remote queue? */ + mime_type_t *filetype, /* Pseudo-filetype for printer */ + *prefiltertype; /* Pseudo-filetype for pre-filters */ + cups_array_t *filetypes, /* Supported file types */ + *dest_types; /* Destination types for queue */ + cupsd_job_t *job; /* Current job in queue */ + ipp_t *attrs, /* Attributes supported by this printer */ + *ppd_attrs; /* Attributes based on the PPD */ + int num_printers, /* Number of printers in class */ + last_printer; /* Last printer job was sent to */ + struct cupsd_printer_s **printers; /* Printers in class */ + int quota_period, /* Period for quotas */ + page_limit, /* Maximum number of pages */ + k_limit; /* Maximum number of kilobytes */ + cups_array_t *quotas; /* Quota records */ + int deny_users; /* 1 = deny, 0 = allow */ + cups_array_t *users; /* Allowed/denied users */ + int sequence_number; /* Increasing sequence number */ + int num_options; /* Number of default options */ + cups_option_t *options; /* Default options */ + int num_auth_info_required; /* Number of required auth fields */ + const char *auth_info_required[4]; /* Required authentication fields */ + char *alert, /* PSX printer-alert value */ + *alert_description; /* PSX printer-alert-description value */ + time_t marker_time; /* Last time marker attributes were updated */ + _ppd_cache_t *pc; /* PPD cache and mapping data */ + +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + char *reg_name, /* Name used for service registration */ + *pdl; /* pdl value for TXT record */ + cupsd_srv_t ipp_srv; /* IPP service(s) */ +# ifdef HAVE_DNSSD +# ifdef HAVE_SSL + cupsd_srv_t ipps_srv; /* IPPS service(s) */ +# endif /* HAVE_SSL */ + cupsd_srv_t printer_srv; /* LPD service */ +# endif /* HAVE_DNSSD */ +#endif /* HAVE_DNSSD || HAVE_AVAHI */ +}; + + +/* + * Globals... + */ + +VAR ipp_t *CommonData VALUE(NULL); + /* Common printer object attrs */ +VAR cups_array_t *CommonDefaults VALUE(NULL); + /* Common -default option names */ +VAR int NextPrinterId VALUE(1); + /* Next printer-id value */ +VAR cups_array_t *Printers VALUE(NULL); + /* Printer list */ +VAR cupsd_printer_t *DefaultPrinter VALUE(NULL); + /* Default printer */ +VAR char *DefaultPolicy VALUE(NULL); + /* Default policy name */ +VAR cupsd_policy_t *DefaultPolicyPtr + VALUE(NULL); + /* Pointer to default policy */ + + +/* + * Prototypes... + */ + +extern cupsd_printer_t *cupsdAddPrinter(const char *name); +extern void cupsdCreateCommonData(void); +extern void cupsdDeleteAllPrinters(void); +extern int cupsdDeletePrinter(cupsd_printer_t *p, int update); +extern void cupsdDeleteTemporaryPrinters(int force); +extern cupsd_printer_t *cupsdFindDest(const char *name); +extern cupsd_printer_t *cupsdFindPrinter(const char *name); +extern cupsd_quota_t *cupsdFindQuota(cupsd_printer_t *p, + const char *username); +extern void cupsdFreeQuotas(cupsd_printer_t *p); +extern void cupsdLoadAllPrinters(void); +extern void cupsdRenamePrinter(cupsd_printer_t *p, + const char *name); +extern void cupsdSaveAllPrinters(void); +extern int cupsdSetAuthInfoRequired(cupsd_printer_t *p, + const char *values, + ipp_attribute_t *attr); +extern void cupsdSetDeviceURI(cupsd_printer_t *p, const char *uri); +extern void cupsdSetPrinterAttr(cupsd_printer_t *p, + const char *name, + const char *value); +extern void cupsdSetPrinterAttrs(cupsd_printer_t *p); +extern int cupsdSetPrinterReasons(cupsd_printer_t *p, + const char *s); +extern void cupsdSetPrinterState(cupsd_printer_t *p, ipp_pstate_t s, + int update); +#define cupsdStartPrinter(p,u) cupsdSetPrinterState((p), \ + IPP_PRINTER_IDLE, (u)) +extern void cupsdStopPrinter(cupsd_printer_t *p, int update); +extern int cupsdUpdatePrinterPPD(cupsd_printer_t *p, + int num_keywords, + cups_option_t *keywords); +extern void cupsdUpdatePrinters(void); +extern cupsd_quota_t *cupsdUpdateQuota(cupsd_printer_t *p, + const char *username, int pages, + int k); +extern const char *cupsdValidateDest(const char *uri, + cups_ptype_t *dtype, + cupsd_printer_t **printer); +extern void cupsdWritePrintcap(void); diff --git a/scheduler/process.c b/scheduler/process.c new file mode 100644 index 0000000..3c1c6ba --- /dev/null +++ b/scheduler/process.c @@ -0,0 +1,891 @@ +/* + * Process management routines for the CUPS scheduler. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include +#ifdef __APPLE__ +# include +#endif /* __APPLE__ */ +#ifdef HAVE_POSIX_SPAWN +# include +extern char **environ; +/* Don't use posix_spawn on systems with bugs in their implementations... */ +# if defined(OpenBSD) && OpenBSD < 201505 +# define USE_POSIX_SPAWN 0 +# elif defined(__UCLIBC__) && __UCLIBC_MAJOR__ == 1 && __UCLIBC_MINOR__ == 0 && __UCLIBC_SUBLEVEL__ < 27 +# define USE_POSIX_SPAWN 0 +# elif defined(__UCLIBC__) && __UCLIBC_MAJOR__ < 1 +# define USE_POSIX_SPAWN 0 +# else /* All other platforms */ +# define USE_POSIX_SPAWN 1 +# endif /* ... */ +#else +# define USE_POSIX_SPAWN 0 +#endif /* HAVE_POSIX_SPAWN */ + + +/* + * Process structure... + */ + +typedef struct +{ + int pid, /* Process ID */ + job_id; /* Job associated with process */ + char name[1]; /* Name of process */ +} cupsd_proc_t; + + +/* + * Local globals... + */ + +static cups_array_t *process_array = NULL; + + +/* + * Local functions... + */ + +static int compare_procs(cupsd_proc_t *a, cupsd_proc_t *b); +#ifdef HAVE_SANDBOX_H +static char *cupsd_requote(char *dst, const char *src, size_t dstsize); +#endif /* HAVE_SANDBOX_H */ + + +/* + * 'cupsdCreateProfile()' - Create an execution profile for a subprocess. + */ + +void * /* O - Profile or NULL on error */ +cupsdCreateProfile(int job_id, /* I - Job ID or 0 for none */ + int allow_networking)/* I - Allow networking off machine? */ +{ +#ifdef HAVE_SANDBOX_H + cups_file_t *fp; /* File pointer */ + char profile[1024], /* File containing the profile */ + bin[1024], /* Quoted ServerBin */ + cache[1024], /* Quoted CacheDir */ + domain[1024], /* Domain socket, if any */ + request[1024], /* Quoted RequestRoot */ + root[1024], /* Quoted ServerRoot */ + state[1024], /* Quoted StateDir */ + temp[1024]; /* Quoted TempDir */ + const char *nodebug; /* " (with no-log)" for no debug */ + cupsd_listener_t *lis; /* Current listening socket */ + + + if (!UseSandboxing || Sandboxing == CUPSD_SANDBOXING_OFF) + { + /* + * Only use sandbox profiles as root... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCreateProfile(job_id=%d, allow_networking=%d) = NULL", job_id, allow_networking); + + return (NULL); + } + + if ((fp = cupsTempFile2(profile, sizeof(profile))) == NULL) + { + /* + * This should never happen, and is fatal when sandboxing is enabled. + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCreateProfile(job_id=%d, allow_networking=%d) = NULL", job_id, allow_networking); + cupsdLogMessage(CUPSD_LOG_EMERG, "Unable to create security profile: %s", strerror(errno)); + kill(getpid(), SIGTERM); + return (NULL); + } + + fchown(cupsFileNumber(fp), RunUser, Group); + fchmod(cupsFileNumber(fp), 0640); + + cupsd_requote(bin, ServerBin, sizeof(bin)); + cupsd_requote(cache, CacheDir, sizeof(cache)); + cupsd_requote(request, RequestRoot, sizeof(request)); + cupsd_requote(root, ServerRoot, sizeof(root)); + cupsd_requote(state, StateDir, sizeof(state)); + cupsd_requote(temp, TempDir, sizeof(temp)); + + nodebug = LogLevel < CUPSD_LOG_DEBUG ? " (with no-log)" : ""; + + cupsFilePuts(fp, "(version 1)\n"); + if (Sandboxing == CUPSD_SANDBOXING_STRICT) + cupsFilePuts(fp, "(deny default)\n"); + else + cupsFilePuts(fp, "(allow default)\n"); + if (LogLevel >= CUPSD_LOG_DEBUG) + cupsFilePuts(fp, "(debug deny)\n"); + cupsFilePuts(fp, "(import \"system.sb\")\n"); + cupsFilePuts(fp, "(import \"com.apple.corefoundation.sb\")\n"); + cupsFilePuts(fp, "(system-network)\n"); + cupsFilePuts(fp, "(allow mach-per-user-lookup)\n"); + cupsFilePuts(fp, "(allow ipc-posix-sem)\n"); + cupsFilePuts(fp, "(allow ipc-posix-shm)\n"); + cupsFilePuts(fp, "(allow ipc-sysv-shm)\n"); + cupsFilePuts(fp, "(allow mach-lookup)\n"); + if (!RunUser) + cupsFilePrintf(fp, + "(deny file-write* file-read-data file-read-metadata\n" + " (regex" + " #\"^/Users$\"" + " #\"^/Users/\"" + ")%s)\n", nodebug); + cupsFilePrintf(fp, + "(deny file-write*\n" + " (regex" + " #\"^%s$\"" /* ServerRoot */ + " #\"^%s/\"" /* ServerRoot/... */ + " #\"^/private/etc$\"" + " #\"^/private/etc/\"" + " #\"^/usr/local/etc$\"" + " #\"^/usr/local/etc/\"" + " #\"^/Library$\"" + " #\"^/Library/\"" + " #\"^/System$\"" + " #\"^/System/\"" + ")%s)\n", + root, root, nodebug); + /* Specifically allow applications to stat RequestRoot and some other system folders */ + cupsFilePrintf(fp, + "(allow file-read-metadata\n" + " (regex" + " #\"^/$\"" /* / */ + " #\"^/usr$\"" /* /usr */ + " #\"^/Library$\"" /* /Library */ + " #\"^/Library/Printers$\"" /* /Library/Printers */ + " #\"^%s$\"" /* RequestRoot */ + "))\n", + request); + /* Read and write TempDir, CacheDir, and other common folders */ + cupsFilePuts(fp, + "(allow file-write* file-read-data file-read-metadata\n" + " (regex" + " #\"^/private/var/db/\"" + " #\"^/private/var/folders/\"" + " #\"^/private/var/lib/\"" + " #\"^/private/var/log/\"" + " #\"^/private/var/mysql/\"" + " #\"^/private/var/run/\"" + " #\"^/private/var/spool/\"" + " #\"^/Library/Application Support/\"" + " #\"^/Library/Caches/\"" + " #\"^/Library/Logs/\"" + " #\"^/Library/Preferences/\"" + " #\"^/Library/WebServer/\"" + " #\"^/Users/Shared/\"" + "))\n"); + cupsFilePrintf(fp, + "(deny file-write*\n" + " (regex #\"^%s$\")%s)\n", + request, nodebug); + cupsFilePrintf(fp, + "(deny file-write* file-read-data file-read-metadata\n" + " (regex #\"^%s/\")%s)\n", + request, nodebug); + cupsFilePrintf(fp, + "(allow file-write* file-read-data file-read-metadata\n" + " (regex" + " #\"^%s$\"" /* TempDir */ + " #\"^%s/\"" /* TempDir/... */ + " #\"^%s$\"" /* CacheDir */ + " #\"^%s/\"" /* CacheDir/... */ + "))\n", + temp, temp, cache, cache); + /* Read common folders */ + cupsFilePrintf(fp, + "(allow file-read-data file-read-metadata\n" + " (regex" + " #\"^/AppleInternal$\"" + " #\"^/AppleInternal/\"" + " #\"^/bin$\"" /* /bin */ + " #\"^/bin/\"" /* /bin/... */ + " #\"^/private$\"" + " #\"^/private/etc$\"" + " #\"^/private/etc/\"" + " #\"^/private/tmp$\"" + " #\"^/private/tmp/\"" + " #\"^/private/var$\"" + " #\"^/private/var/db$\"" + " #\"^/private/var/folders$\"" + " #\"^/private/var/lib$\"" + " #\"^/private/var/log$\"" + " #\"^/private/var/mysql$\"" + " #\"^/private/var/run$\"" + " #\"^/private/var/spool$\"" + " #\"^/private/var/tmp$\"" + " #\"^/private/var/tmp/\"" + " #\"^/usr/bin$\"" /* /usr/bin */ + " #\"^/usr/bin/\"" /* /usr/bin/... */ + " #\"^/usr/libexec/cups$\"" /* /usr/libexec/cups */ + " #\"^/usr/libexec/cups/\"" /* /usr/libexec/cups/... */ + " #\"^/usr/libexec/fax$\"" /* /usr/libexec/fax */ + " #\"^/usr/libexec/fax/\"" /* /usr/libexec/fax/... */ + " #\"^/usr/sbin$\"" /* /usr/sbin */ + " #\"^/usr/sbin/\"" /* /usr/sbin/... */ + " #\"^/Library$\"" /* /Library */ + " #\"^/Library/\"" /* /Library/... */ + " #\"^/System$\"" /* /System */ + " #\"^/System/\"" /* /System/... */ + " #\"^%s/Library$\"" /* RequestRoot/Library */ + " #\"^%s/Library/\"" /* RequestRoot/Library/... */ + " #\"^%s$\"" /* ServerBin */ + " #\"^%s/\"" /* ServerBin/... */ + " #\"^%s$\"" /* ServerRoot */ + " #\"^%s/\"" /* ServerRoot/... */ + " #\"^%s$\"" /* StateDir */ + " #\"^%s/\"" /* StateDir/... */ + "))\n", + request, request, bin, bin, root, root, state, state); + if (Sandboxing == CUPSD_SANDBOXING_RELAXED) + { + /* Limited write access to /Library/Printers/... */ + cupsFilePuts(fp, + "(allow file-write*\n" + " (regex" + " #\"^/Library/Printers/.*/\"" + "))\n"); + cupsFilePrintf(fp, + "(deny file-write*\n" + " (regex" + " #\"^/Library/Printers/PPDs$\"" + " #\"^/Library/Printers/PPDs/\"" + " #\"^/Library/Printers/PPD Plugins$\"" + " #\"^/Library/Printers/PPD Plugins/\"" + ")%s)\n", nodebug); + } + /* Allow execution of child processes as long as the programs are not in a user directory */ + cupsFilePuts(fp, "(allow process*)\n"); + cupsFilePuts(fp, "(deny process-exec (regex #\"^/Users/\"))\n"); + if (RunUser && getenv("CUPS_TESTROOT")) + { + /* Allow source directory access in "make test" environment */ + char testroot[1024]; /* Root directory of test files */ + + cupsd_requote(testroot, getenv("CUPS_TESTROOT"), sizeof(testroot)); + + cupsFilePrintf(fp, + "(allow file-write* file-read-data file-read-metadata\n" + " (regex" + " #\"^%s$\"" /* CUPS_TESTROOT */ + " #\"^%s/\"" /* CUPS_TESTROOT/... */ + "))\n", + testroot, testroot); + cupsFilePrintf(fp, + "(allow process-exec\n" + " (regex" + " #\"^%s/\"" /* CUPS_TESTROOT/... */ + "))\n", + testroot); + cupsFilePrintf(fp, "(allow sysctl*)\n"); + } + if (job_id) + { + /* Allow job filters to read the current job files... */ + cupsFilePrintf(fp, + "(allow file-read-data file-read-metadata\n" + " (regex #\"^%s/([ac]%05d|d%05d-[0-9][0-9][0-9])$\"))\n", + request, job_id, job_id); + } + else + { + /* Allow email notifications from notifiers... */ + cupsFilePuts(fp, + "(allow process-exec\n" + " (literal \"/usr/sbin/sendmail\")\n" + " (with no-sandbox))\n"); + } + /* Allow access to Bluetooth, USB, and notify_post. */ + cupsFilePuts(fp, "(allow iokit*)\n"); + cupsFilePuts(fp, "(allow distributed-notification-post)\n"); + /* Allow outbound networking to local services */ + cupsFilePuts(fp, "(allow network-outbound" + "\n (regex #\"^/private/var/run/\" #\"^/private/tmp/\" #\"^/private/var/tmp/\")"); + for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); + lis; + lis = (cupsd_listener_t *)cupsArrayNext(Listeners)) + { + if (httpAddrFamily(&(lis->address)) == AF_LOCAL) + { + httpAddrString(&(lis->address), domain, sizeof(domain)); + cupsFilePrintf(fp, "\n (literal \"%s\")", domain); + } + } + if (allow_networking) + { + /* Allow TCP and UDP networking off the machine... */ + cupsFilePuts(fp, "\n (remote tcp))\n"); + cupsFilePuts(fp, "(allow network-bind)\n"); /* for LPD resvport */ + cupsFilePuts(fp, "(allow network*\n" + " (local udp \"*:*\")\n" + " (remote udp \"*:*\"))\n"); + + /* Also allow access to device files... */ + cupsFilePuts(fp, "(allow file-write* file-read-data file-read-metadata file-ioctl\n" + " (regex #\"^/dev/\"))\n"); + + /* And allow kernel extensions to be loaded, e.g., SMB */ + cupsFilePuts(fp, "(allow system-kext-load)\n"); + } + else + { + /* Only allow SNMP (UDP) and LPD (TCP) off the machine... */ + cupsFilePuts(fp, ")\n"); + cupsFilePuts(fp, "(allow network-outbound\n" + " (remote udp \"*:161\")\n" + " (remote tcp \"*:515\"))\n"); + cupsFilePuts(fp, "(allow network-inbound\n" + " (local udp \"localhost:*\"))\n"); + } + cupsFileClose(fp); + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCreateProfile(job_id=%d,allow_networking=%d) = \"%s\"", job_id, allow_networking, profile); + return ((void *)strdup(profile)); + +#else + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdCreateProfile(job_id=%d, allow_networking=%d) = NULL", job_id, allow_networking); + + return (NULL); +#endif /* HAVE_SANDBOX_H */ +} + + +/* + * 'cupsdDestroyProfile()' - Delete an execution profile. + */ + +void +cupsdDestroyProfile(void *profile) /* I - Profile */ +{ + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdDeleteProfile(profile=\"%s\")", + profile ? (char *)profile : "(null)"); + +#ifdef HAVE_SANDBOX_H + if (profile) + { + unlink((char *)profile); + free(profile); + } +#endif /* HAVE_SANDBOX_H */ +} + + +/* + * 'cupsdEndProcess()' - End a process. + */ + +int /* O - 0 on success, -1 on failure */ +cupsdEndProcess(int pid, /* I - Process ID */ + int force) /* I - Force child to die */ +{ + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdEndProcess(pid=%d, force=%d)", pid, + force); + + if (!pid) + return (0); + + if (!RunUser) + { + /* + * When running as root, cupsd puts child processes in their own process + * group. Using "-pid" sends a signal to all processes in the group. + */ + + pid = -pid; + } + + if (force) + return (kill(pid, SIGKILL)); + else + return (kill(pid, SIGTERM)); +} + + +/* + * 'cupsdFinishProcess()' - Finish a process and get its name. + */ + +const char * /* O - Process name */ +cupsdFinishProcess(int pid, /* I - Process ID */ + char *name, /* I - Name buffer */ + size_t namelen, /* I - Size of name buffer */ + int *job_id) /* O - Job ID pointer or NULL */ +{ + cupsd_proc_t key, /* Search key */ + *proc; /* Matching process */ + + + key.pid = pid; + + if ((proc = (cupsd_proc_t *)cupsArrayFind(process_array, &key)) != NULL) + { + if (job_id) + *job_id = proc->job_id; + + strlcpy(name, proc->name, namelen); + cupsArrayRemove(process_array, proc); + free(proc); + } + else + { + if (job_id) + *job_id = 0; + + strlcpy(name, "unknown", namelen); + } + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdFinishProcess(pid=%d, name=%p, namelen=" CUPS_LLFMT ", job_id=%p(%d)) = \"%s\"", pid, name, CUPS_LLCAST namelen, job_id, job_id ? *job_id : 0, name); + + return (name); +} + + +/* + * 'cupsdStartProcess()' - Start a process. + */ + +int /* O - Process ID or 0 */ +cupsdStartProcess( + const char *command, /* I - Full path to command */ + char *argv[], /* I - Command-line arguments */ + char *envp[], /* I - Environment */ + int infd, /* I - Standard input file descriptor */ + int outfd, /* I - Standard output file descriptor */ + int errfd, /* I - Standard error file descriptor */ + int backfd, /* I - Backchannel file descriptor */ + int sidefd, /* I - Sidechannel file descriptor */ + int root, /* I - Run as root? */ + void *profile, /* I - Security profile to use */ + cupsd_job_t *job, /* I - Job associated with process */ + int *pid) /* O - Process ID */ +{ + int i; /* Looping var */ + const char *exec_path = command; /* Command to be exec'd */ + char *real_argv[110], /* Real command-line arguments */ + cups_exec[1024], /* Path to "cups-exec" program */ + user_str[16], /* User string */ + group_str[16], /* Group string */ + nice_str[16]; /* FilterNice string */ + uid_t user; /* Command UID */ + cupsd_proc_t *proc; /* New process record */ +#if USE_POSIX_SPAWN + posix_spawn_file_actions_t actions; /* Spawn file actions */ + posix_spawnattr_t attrs; /* Spawn attributes */ + sigset_t defsignals; /* Default signals */ +#elif defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* POSIX signal handler */ +#endif /* USE_POSIX_SPAWN */ +#if defined(__APPLE__) + char processPath[1024], /* CFProcessPath environment variable */ + linkpath[1024]; /* Link path for symlinks... */ + int linkbytes; /* Bytes for link path */ +#endif /* __APPLE__ */ + + + *pid = 0; + + /* + * Figure out the UID for the child process... + */ + + if (RunUser) + user = RunUser; + else if (root) + user = 0; + else + user = User; + + /* + * Check the permissions of the command we are running... + */ + + if (_cupsFileCheck(command, _CUPS_FILE_CHECK_PROGRAM, !RunUser, + cupsdLogFCMessage, job ? job->printer : NULL)) + return (0); + +#if defined(__APPLE__) + if (envp) + { + /* + * Add special voodoo magic for macOS - this allows macOS programs to access + * their bundle resources properly... + */ + + if ((linkbytes = readlink(command, linkpath, sizeof(linkpath) - 1)) > 0) + { + /* + * Yes, this is a symlink to the actual program, nul-terminate and + * use it... + */ + + linkpath[linkbytes] = '\0'; + + if (linkpath[0] == '/') + snprintf(processPath, sizeof(processPath), "CFProcessPath=%s", + linkpath); + else + snprintf(processPath, sizeof(processPath), "CFProcessPath=%s/%s", + dirname((char *)command), linkpath); + } + else + snprintf(processPath, sizeof(processPath), "CFProcessPath=%s", command); + + envp[0] = processPath; /* Replace string */ + } +#endif /* __APPLE__ */ + + /* + * Use helper program when we have a sandbox profile... + */ + +#if !USE_POSIX_SPAWN + if (profile) +#endif /* !USE_POSIX_SPAWN */ + { + snprintf(cups_exec, sizeof(cups_exec), "%s/daemon/cups-exec", ServerBin); + snprintf(user_str, sizeof(user_str), "%d", user); + snprintf(group_str, sizeof(group_str), "%d", Group); + snprintf(nice_str, sizeof(nice_str), "%d", FilterNice); + + real_argv[0] = cups_exec; + real_argv[1] = (char *)"-g"; + real_argv[2] = group_str; + real_argv[3] = (char *)"-n"; + real_argv[4] = nice_str; + real_argv[5] = (char *)"-u"; + real_argv[6] = user_str; + real_argv[7] = profile ? profile : "none"; + real_argv[8] = (char *)command; + + for (i = 0; + i < (int)(sizeof(real_argv) / sizeof(real_argv[0]) - 10) && argv[i]; + i ++) + real_argv[i + 9] = argv[i]; + + real_argv[i + 9] = NULL; + + argv = real_argv; + exec_path = cups_exec; + } + + if (LogLevel == CUPSD_LOG_DEBUG2) + { + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdStartProcess: Preparing to start \"%s\", arguments:", command); + + for (i = 0; argv[i]; i ++) + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdStartProcess: argv[%d] = \"%s\"", i, argv[i]); + } + +#if USE_POSIX_SPAWN + /* + * Setup attributes and file actions for the spawn... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdStartProcess: Setting spawn attributes."); + sigemptyset(&defsignals); + sigaddset(&defsignals, SIGTERM); + sigaddset(&defsignals, SIGCHLD); + sigaddset(&defsignals, SIGPIPE); + + posix_spawnattr_init(&attrs); + posix_spawnattr_setflags(&attrs, POSIX_SPAWN_SETPGROUP | POSIX_SPAWN_SETSIGDEF); + posix_spawnattr_setpgroup(&attrs, 0); + posix_spawnattr_setsigdefault(&attrs, &defsignals); + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdStartProcess: Setting file actions."); + posix_spawn_file_actions_init(&actions); + if (infd != 0) + { + if (infd < 0) + posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_RDONLY, 0); + else + posix_spawn_file_actions_adddup2(&actions, infd, 0); + } + + if (outfd != 1) + { + if (outfd < 0) + posix_spawn_file_actions_addopen(&actions, 1, "/dev/null", O_WRONLY, 0); + else + posix_spawn_file_actions_adddup2(&actions, outfd, 1); + } + + if (errfd != 2) + { + if (errfd < 0) + posix_spawn_file_actions_addopen(&actions, 2, "/dev/null", O_WRONLY, 0); + else + posix_spawn_file_actions_adddup2(&actions, errfd, 2); + } + + if (backfd != 3 && backfd >= 0) + posix_spawn_file_actions_adddup2(&actions, backfd, 3); + + if (sidefd != 4 && sidefd >= 0) + posix_spawn_file_actions_adddup2(&actions, sidefd, 4); + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdStartProcess: Calling posix_spawn."); + + if (posix_spawn(pid, exec_path, &actions, &attrs, argv, envp ? envp : environ)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to fork %s - %s.", command, strerror(errno)); + + *pid = 0; + } + else + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdStartProcess: pid=%d", (int)*pid); + + posix_spawn_file_actions_destroy(&actions); + posix_spawnattr_destroy(&attrs); + +#else + /* + * Block signals before forking... + */ + + cupsdHoldSignals(); + + if ((*pid = fork()) == 0) + { + /* + * Child process goes here; update stderr as needed... + */ + + if (errfd != 2) + { + if (errfd < 0) + errfd = open("/dev/null", O_WRONLY); + + if (errfd != 2) + { + dup2(errfd, 2); + close(errfd); + } + } + + /* + * Put this process in its own process group so that we can kill any child + * processes it creates. + */ + +# ifdef HAVE_SETPGID + if (!RunUser && setpgid(0, 0)) + exit(errno + 100); +# else + if (!RunUser && setpgrp()) + exit(errno + 100); +# endif /* HAVE_SETPGID */ + + /* + * Update the remaining file descriptors as needed... + */ + + if (infd != 0) + { + if (infd < 0) + infd = open("/dev/null", O_RDONLY); + + if (infd != 0) + { + dup2(infd, 0); + close(infd); + } + } + + if (outfd != 1) + { + if (outfd < 0) + outfd = open("/dev/null", O_WRONLY); + + if (outfd != 1) + { + dup2(outfd, 1); + close(outfd); + } + } + + if (backfd != 3 && backfd >= 0) + { + dup2(backfd, 3); + close(backfd); + fcntl(3, F_SETFL, O_NDELAY); + } + + if (sidefd != 4 && sidefd >= 0) + { + dup2(sidefd, 4); + close(sidefd); + fcntl(4, F_SETFL, O_NDELAY); + } + + /* + * Change the priority of the process based on the FilterNice setting. + * (this is not done for root processes...) + */ + + if (!root) + nice(FilterNice); + + /* + * Reset group membership to just the main one we belong to. + */ + + if (!RunUser && setgid(Group)) + exit(errno + 100); + + if (!RunUser && setgroups(1, &Group)) + exit(errno + 100); + + /* + * Change user to something "safe"... + */ + + if (!RunUser && user && setuid(user)) + exit(errno + 100); + + /* + * Change umask to restrict permissions on created files... + */ + + umask(077); + + /* + * Unblock signals before doing the exec... + */ + +# ifdef HAVE_SIGSET + sigset(SIGTERM, SIG_DFL); + sigset(SIGCHLD, SIG_DFL); + sigset(SIGPIPE, SIG_DFL); +# elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + + sigemptyset(&action.sa_mask); + action.sa_handler = SIG_DFL; + + sigaction(SIGTERM, &action, NULL); + sigaction(SIGCHLD, &action, NULL); + sigaction(SIGPIPE, &action, NULL); +# else + signal(SIGTERM, SIG_DFL); + signal(SIGCHLD, SIG_DFL); + signal(SIGPIPE, SIG_DFL); +# endif /* HAVE_SIGSET */ + + cupsdReleaseSignals(); + + /* + * Execute the command; if for some reason this doesn't work, log an error + * exit with a non-zero value... + */ + + if (envp) + execve(exec_path, argv, envp); + else + execv(exec_path, argv); + + exit(errno + 100); + } + else if (*pid < 0) + { + /* + * Error - couldn't fork a new process! + */ + + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to fork %s - %s.", command, + strerror(errno)); + + *pid = 0; + } + + cupsdReleaseSignals(); +#endif /* USE_POSIX_SPAWN */ + + if (*pid) + { + if (!process_array) + process_array = cupsArrayNew((cups_array_func_t)compare_procs, NULL); + + if (process_array) + { + if ((proc = calloc(1, sizeof(cupsd_proc_t) + strlen(command))) != NULL) + { + proc->pid = *pid; + proc->job_id = job ? job->id : 0; + _cups_strcpy(proc->name, command); + + cupsArrayAdd(process_array, proc); + } + } + } + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdStartProcess(command=\"%s\", argv=%p, envp=%p, " + "infd=%d, outfd=%d, errfd=%d, backfd=%d, sidefd=%d, root=%d, " + "profile=%p, job=%p(%d), pid=%p) = %d", + command, argv, envp, infd, outfd, errfd, backfd, sidefd, + root, profile, job, job ? job->id : 0, pid, *pid); + + return (*pid); +} + + +/* + * 'compare_procs()' - Compare two processes. + */ + +static int /* O - Result of comparison */ +compare_procs(cupsd_proc_t *a, /* I - First process */ + cupsd_proc_t *b) /* I - Second process */ +{ + return (a->pid - b->pid); +} + + +#ifdef HAVE_SANDBOX_H +/* + * 'cupsd_requote()' - Make a regular-expression version of a string. + */ + +static char * /* O - Quoted string */ +cupsd_requote(char *dst, /* I - Destination buffer */ + const char *src, /* I - Source string */ + size_t dstsize) /* I - Size of destination buffer */ +{ + int ch; /* Current character */ + char *dstptr, /* Current position in buffer */ + *dstend; /* End of destination buffer */ + + + dstptr = dst; + dstend = dst + dstsize - 2; + + while (*src && dstptr < dstend) + { + ch = *src++; + + if (ch == '/' && !*src) + break; /* Don't add trailing slash */ + + if (strchr(".?*()[]^$\\\"", ch)) + *dstptr++ = '\\'; + + *dstptr++ = (char)ch; + } + + *dstptr = '\0'; + + return (dst); +} +#endif /* HAVE_SANDBOX_H */ diff --git a/scheduler/quotas.c b/scheduler/quotas.c new file mode 100644 index 0000000..d649dcb --- /dev/null +++ b/scheduler/quotas.c @@ -0,0 +1,225 @@ +/* + * Quota routines for the CUPS scheduler. + * + * Copyright 2007-2011 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" + + +/* + * Local functions... + */ + +static cupsd_quota_t *add_quota(cupsd_printer_t *p, const char *username); +static int compare_quotas(const cupsd_quota_t *q1, + const cupsd_quota_t *q2); + + +/* + * 'cupsdFindQuota()' - Find a quota record. + */ + +cupsd_quota_t * /* O - Quota data */ +cupsdFindQuota( + cupsd_printer_t *p, /* I - Printer */ + const char *username) /* I - User */ +{ + cupsd_quota_t *q, /* Quota data pointer */ + match; /* Search data */ + char *ptr; /* Pointer into username */ + + + if (!p || !username) + return (NULL); + + strlcpy(match.username, username, sizeof(match.username)); + if ((ptr = strchr(match.username, '@')) != NULL) + *ptr = '\0'; /* Strip @domain/@KDC */ + + if ((q = (cupsd_quota_t *)cupsArrayFind(p->quotas, &match)) != NULL) + return (q); + else + return (add_quota(p, username)); +} + + +/* + * 'cupsdFreeQuotas()' - Free quotas for a printer. + */ + +void +cupsdFreeQuotas(cupsd_printer_t *p) /* I - Printer */ +{ + cupsd_quota_t *q; /* Current quota record */ + + + if (!p) + return; + + for (q = (cupsd_quota_t *)cupsArrayFirst(p->quotas); + q; + q = (cupsd_quota_t *)cupsArrayNext(p->quotas)) + free(q); + + cupsArrayDelete(p->quotas); + + p->quotas = NULL; +} + + +/* + * 'cupsdUpdateQuota()' - Update quota data for the specified printer and user. + */ + +cupsd_quota_t * /* O - Quota data */ +cupsdUpdateQuota( + cupsd_printer_t *p, /* I - Printer */ + const char *username, /* I - User */ + int pages, /* I - Number of pages */ + int k) /* I - Number of kilobytes */ +{ + cupsd_quota_t *q; /* Quota data */ + cupsd_job_t *job; /* Current job */ + time_t curtime; /* Current time */ + ipp_attribute_t *attr; /* Job attribute */ + + + if (!p || !username) + return (NULL); + + if (!p->k_limit && !p->page_limit) + return (NULL); + + if ((q = cupsdFindQuota(p, username)) == NULL) + return (NULL); + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdUpdateQuota: p=%s username=%s pages=%d k=%d", + p->name, username, pages, k); + + curtime = time(NULL); + + if (curtime < q->next_update) + { + q->page_count += pages; + q->k_count += k; + + return (q); + } + + if (p->quota_period) + curtime -= p->quota_period; + else + curtime = 0; + + q->next_update = 0; + q->page_count = 0; + q->k_count = 0; + + for (job = (cupsd_job_t *)cupsArrayFirst(Jobs); + job; + job = (cupsd_job_t *)cupsArrayNext(Jobs)) + { + /* + * We only care about the current printer/class and user... + */ + + if (_cups_strcasecmp(job->dest, p->name) != 0 || + _cups_strcasecmp(job->username, q->username) != 0) + continue; + + /* + * Make sure attributes are loaded; we always call cupsdLoadJob() to ensure + * the access_time member is updated so the job isn't unloaded right away... + */ + + if (!cupsdLoadJob(job)) + continue; + + if ((attr = ippFindAttribute(job->attrs, "time-at-completion", + IPP_TAG_INTEGER)) == NULL) + if ((attr = ippFindAttribute(job->attrs, "time-at-processing", + IPP_TAG_INTEGER)) == NULL) + attr = ippFindAttribute(job->attrs, "time-at-creation", + IPP_TAG_INTEGER); + + if (attr->values[0].integer < curtime) + { + /* + * This job is too old to count towards the quota, ignore it... + */ + + if (JobAutoPurge && !job->printer && job->state_value > IPP_JOB_STOPPED) + cupsdDeleteJob(job, CUPSD_JOB_PURGE); + + continue; + } + + if (q->next_update == 0) + q->next_update = attr->values[0].integer + p->quota_period; + + if ((attr = ippFindAttribute(job->attrs, "job-media-sheets-completed", + IPP_TAG_INTEGER)) != NULL) + q->page_count += attr->values[0].integer; + + if ((attr = ippFindAttribute(job->attrs, "job-k-octets", + IPP_TAG_INTEGER)) != NULL) + q->k_count += attr->values[0].integer; + } + + return (q); +} + + +/* + * 'add_quota()' - Add a quota record for this printer and user. + */ + +static cupsd_quota_t * /* O - Quota data */ +add_quota(cupsd_printer_t *p, /* I - Printer */ + const char *username) /* I - User */ +{ + cupsd_quota_t *q; /* New quota data */ + char *ptr; /* Pointer into username */ + + + if (!p || !username) + return (NULL); + + if (!p->quotas) + p->quotas = cupsArrayNew((cups_array_func_t)compare_quotas, NULL); + + if (!p->quotas) + return (NULL); + + if ((q = calloc(1, sizeof(cupsd_quota_t))) == NULL) + return (NULL); + + strlcpy(q->username, username, sizeof(q->username)); + if ((ptr = strchr(q->username, '@')) != NULL) + *ptr = '\0'; /* Strip @domain/@KDC */ + + cupsArrayAdd(p->quotas, q); + + return (q); +} + + +/* + * 'compare_quotas()' - Compare two quota records... + */ + +static int /* O - Result of comparison */ +compare_quotas(const cupsd_quota_t *q1, /* I - First quota record */ + const cupsd_quota_t *q2) /* I - Second quota record */ +{ + return (_cups_strcasecmp(q1->username, q2->username)); +} diff --git a/scheduler/select.c b/scheduler/select.c new file mode 100644 index 0000000..06079c3 --- /dev/null +++ b/scheduler/select.c @@ -0,0 +1,923 @@ +/* + * Select abstraction functions for the CUPS scheduler. + * + * Copyright 2007-2016 by Apple Inc. + * Copyright 2006-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" + +#ifdef HAVE_EPOLL +# include +# include +#elif defined(HAVE_KQUEUE) +# include +# include +#elif defined(HAVE_POLL) +# include +#else +# include +#endif /* HAVE_EPOLL */ + + +/* + * Design Notes for Poll/Select API in CUPSD + * ----------------------------------------- + * + * SUPPORTED APIS + * + * OS select poll epoll kqueue /dev/poll + * -------------- ------ ------ ------ ------ --------- + * AIX YES YES NO NO NO + * FreeBSD YES YES NO YES NO + * HP-UX YES YES NO NO NO + * Linux YES YES YES NO NO + * macOS YES YES NO YES NO + * NetBSD YES YES NO YES NO + * OpenBSD YES YES NO YES NO + * Solaris YES YES NO NO YES + * Tru64 YES YES NO NO NO + * Windows YES NO NO NO NO + * + * + * HIGH-LEVEL API + * + * typedef void (*cupsd_selfunc_t)(void *data); + * + * void cupsdStartSelect(void); + * void cupsdStopSelect(void); + * void cupsdAddSelect(int fd, cupsd_selfunc_t read_cb, + * cupsd_selfunc_t write_cb, void *data); + * void cupsdRemoveSelect(int fd); + * int cupsdDoSelect(int timeout); + * + * + * IMPLEMENTATION STRATEGY + * + * 0. Common Stuff + * a. CUPS array of file descriptor to callback functions + * and data + temporary array of removed fd's. + * b. cupsdStartSelect() creates the arrays + * c. cupsdStopSelect() destroys the arrays and all elements. + * d. cupsdAddSelect() adds to the array and allocates a + * new callback element. + * e. cupsdRemoveSelect() removes from the active array and + * adds to the inactive array. + * f. _cupsd_fd_t provides a reference-counted structure for + * tracking file descriptors that are monitored. + * g. cupsdDoSelect() frees all inactive FDs. + * + * 1. select() O(n) + * a. Input/Output fd_set variables, copied to working + * copies and then used with select(). + * b. Loop through CUPS array, using FD_ISSET and calling + * the read/write callbacks as needed. + * c. cupsdRemoveSelect() clears fd_set bit from main and + * working sets. + * d. cupsdStopSelect() frees all of the memory used by the + * CUPS array and fd_set's. + * + * 2. poll() - O(n log n) + * a. Regular array of pollfd, sorted the same as the CUPS + * array. + * b. Loop through pollfd array, call the corresponding + * read/write callbacks as needed. + * c. cupsdAddSelect() adds first to CUPS array and flags the + * pollfd array as invalid. + * d. cupsdDoSelect() rebuilds pollfd array as needed, calls + * poll(), then loops through the pollfd array looking up + * as needed. + * e. cupsdRemoveSelect() flags the pollfd array as invalid. + * f. cupsdStopSelect() frees all of the memory used by the + * CUPS array and pollfd array. + * + * 3. epoll() - O(n) + * a. cupsdStartSelect() creates epoll file descriptor using + * epoll_create() with the maximum fd count, and + * allocates an events buffer for the maximum fd count. + * b. cupsdAdd/RemoveSelect() uses epoll_ctl() to add + * (EPOLL_CTL_ADD) or remove (EPOLL_CTL_DEL) a single + * event using the level-triggered semantics. The event + * user data field is a pointer to the new callback array + * element. + * c. cupsdDoSelect() uses epoll_wait() with the global event + * buffer allocated in cupsdStartSelect() and then loops + * through the events, using the user data field to find + * the callback record. + * d. cupsdStopSelect() closes the epoll file descriptor and + * frees all of the memory used by the event buffer. + * + * 4. kqueue() - O(n) + * b. cupsdStartSelect() creates kqueue file descriptor + * using kqueue() function and allocates a global event + * buffer. + * c. cupsdAdd/RemoveSelect() uses EV_SET and kevent() to + * register the changes. The event user data field is a + * pointer to the new callback array element. + * d. cupsdDoSelect() uses kevent() to poll for events and + * loops through the events, using the user data field to + * find the callback record. + * e. cupsdStopSelect() closes the kqueue() file descriptor + * and frees all of the memory used by the event buffer. + * + * 5. /dev/poll - O(n log n) - NOT YET IMPLEMENTED + * a. cupsdStartSelect() opens /dev/poll and allocates an + * array of pollfd structs; on failure to open /dev/poll, + * revert to poll() system call. + * b. cupsdAddSelect() writes a single pollfd struct to + * /dev/poll with the new file descriptor and the + * POLLIN/POLLOUT flags. + * c. cupsdRemoveSelect() writes a single pollfd struct to + * /dev/poll with the file descriptor and the POLLREMOVE + * flag. + * d. cupsdDoSelect() uses the DP_POLL ioctl to retrieve + * events from /dev/poll and then loops through the + * returned pollfd array, looking up the file descriptors + * as needed. + * e. cupsdStopSelect() closes /dev/poll and frees the + * pollfd array. + * + * PERFORMANCE + * + * In tests using the "make test" target with option 0 (keep cupsd + * running) and the "testspeed" program with "-c 50 -r 1000", epoll() + * performed 5.5% slower than select(), followed by kqueue() at 16% + * slower than select() and poll() at 18% slower than select(). Similar + * results were seen with twice the number of client connections. + * + * The epoll() and kqueue() performance is likely limited by the + * number of system calls used to add/modify/remove file + * descriptors dynamically. Further optimizations may be possible + * in the area of limiting use of cupsdAddSelect() and + * cupsdRemoveSelect(), however extreme care will be needed to avoid + * excess CPU usage and deadlock conditions. + * + * We may be able to improve the poll() implementation simply by + * keeping the pollfd array sync'd with the _cupsd_fd_t array, as that + * will eliminate the rebuilding of the array whenever there is a + * change and eliminate the fd array lookups in the inner loop of + * cupsdDoSelect(). + * + * Since /dev/poll will never be able to use a shadow array, it may + * not make sense to implement support for it. ioctl() overhead will + * impact performance as well, so my guess would be that, for CUPS, + * /dev/poll will yield a net performance loss. + */ + +/* + * Local structures... + */ + +typedef struct _cupsd_fd_s +{ + int fd, /* File descriptor */ + use; /* Use count */ + cupsd_selfunc_t read_cb, /* Read callback */ + write_cb; /* Write callback */ + void *data; /* Data pointer for callbacks */ +} _cupsd_fd_t; + + +/* + * Local globals... + */ + +static cups_array_t *cupsd_fds = NULL; +#if defined(HAVE_EPOLL) || defined(HAVE_KQUEUE) +static cups_array_t *cupsd_inactive_fds = NULL; +static int cupsd_in_select = 0; +#endif /* HAVE_EPOLL || HAVE_KQUEUE */ + +#ifdef HAVE_KQUEUE +static int cupsd_kqueue_fd = -1, + cupsd_kqueue_changes = 0; +static struct kevent *cupsd_kqueue_events = NULL; +#elif defined(HAVE_POLL) +static int cupsd_alloc_pollfds = 0, + cupsd_update_pollfds = 0; +static struct pollfd *cupsd_pollfds = NULL; +# ifdef HAVE_EPOLL +static int cupsd_epoll_fd = -1; +static struct epoll_event *cupsd_epoll_events = NULL; +# endif /* HAVE_EPOLL */ +#else /* select() */ +static fd_set cupsd_global_input, + cupsd_global_output, + cupsd_current_input, + cupsd_current_output; +#endif /* HAVE_KQUEUE */ + + +/* + * Local functions... + */ + +static int compare_fds(_cupsd_fd_t *a, _cupsd_fd_t *b); +static _cupsd_fd_t *find_fd(int fd); +#define release_fd(f) { \ + (f)->use --; \ + if (!(f)->use) free((f));\ + } +#define retain_fd(f) (f)->use++ + + +/* + * 'cupsdAddSelect()' - Add a file descriptor to the list. + */ + +int /* O - 1 on success, 0 on error */ +cupsdAddSelect(int fd, /* I - File descriptor */ + cupsd_selfunc_t read_cb, /* I - Read callback */ + cupsd_selfunc_t write_cb,/* I - Write callback */ + void *data) /* I - Data to pass to callback */ +{ + _cupsd_fd_t *fdptr; /* File descriptor record */ +#ifdef HAVE_EPOLL + int added; /* 1 if added, 0 if modified */ +#endif /* HAVE_EPOLL */ + + + /* + * Range check input... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdAddSelect(fd=%d, read_cb=%p, write_cb=%p, data=%p)", + fd, read_cb, write_cb, data); + + if (fd < 0) + return (0); + + /* + * See if this FD has already been added... + */ + + if ((fdptr = find_fd(fd)) == NULL) + { + /* + * No, add a new entry... + */ + + if ((fdptr = calloc(1, sizeof(_cupsd_fd_t))) == NULL) + return (0); + + fdptr->fd = fd; + fdptr->use = 1; + + if (!cupsArrayAdd(cupsd_fds, fdptr)) + { + cupsdLogMessage(CUPSD_LOG_EMERG, "Unable to add fd %d to array!", fd); + free(fdptr); + return (0); + } + +#ifdef HAVE_EPOLL + added = 1; + } + else + added = 0; +#else + } +#endif /* HAVE_EPOLL */ + +#ifdef HAVE_KQUEUE + { + struct kevent event; /* Event data */ + struct timespec timeout; /* Timeout value */ + + + timeout.tv_sec = 0; + timeout.tv_nsec = 0; + + if (fdptr->read_cb != read_cb) + { + if (read_cb) + EV_SET(&event, fd, EVFILT_READ, EV_ADD, 0, 0, fdptr); + else + EV_SET(&event, fd, EVFILT_READ, EV_DELETE, 0, 0, fdptr); + + if (kevent(cupsd_kqueue_fd, &event, 1, NULL, 0, &timeout)) + { + cupsdLogMessage(CUPSD_LOG_EMERG, "kevent() returned %s", + strerror(errno)); + return (0); + } + } + + if (fdptr->write_cb != write_cb) + { + if (write_cb) + EV_SET(&event, fd, EVFILT_WRITE, EV_ADD, 0, 0, fdptr); + else + EV_SET(&event, fd, EVFILT_WRITE, EV_DELETE, 0, 0, fdptr); + + if (kevent(cupsd_kqueue_fd, &event, 1, NULL, 0, &timeout)) + { + cupsdLogMessage(CUPSD_LOG_EMERG, "kevent() returned %s", + strerror(errno)); + return (0); + } + } + } + +#elif defined(HAVE_POLL) +# ifdef HAVE_EPOLL + if (cupsd_epoll_fd >= 0) + { + struct epoll_event event; /* Event data */ + + + event.events = 0; + + if (read_cb) + event.events |= EPOLLIN; + + if (write_cb) + event.events |= EPOLLOUT; + + event.data.ptr = fdptr; + + if (epoll_ctl(cupsd_epoll_fd, added ? EPOLL_CTL_ADD : EPOLL_CTL_MOD, fd, + &event)) + { + close(cupsd_epoll_fd); + cupsd_epoll_fd = -1; + cupsd_update_pollfds = 1; + } + } + else +# endif /* HAVE_EPOLL */ + + cupsd_update_pollfds = 1; + +#else /* select() */ + /* + * Add or remove the file descriptor in the input and output sets + * for select()... + */ + + if (read_cb) + FD_SET(fd, &cupsd_global_input); + else + { + FD_CLR(fd, &cupsd_global_input); + FD_CLR(fd, &cupsd_current_input); + } + + if (write_cb) + FD_SET(fd, &cupsd_global_output); + else + { + FD_CLR(fd, &cupsd_global_output); + FD_CLR(fd, &cupsd_current_output); + } +#endif /* HAVE_KQUEUE */ + + /* + * Save the (new) read and write callbacks... + */ + + fdptr->read_cb = read_cb; + fdptr->write_cb = write_cb; + fdptr->data = data; + + return (1); +} + + +/* + * 'cupsdDoSelect()' - Do a select-like operation. + */ + +int /* O - Number of files or -1 on error */ +cupsdDoSelect(long timeout) /* I - Timeout in seconds */ +{ + int nfds; /* Number of file descriptors */ + _cupsd_fd_t *fdptr; /* Current file descriptor */ +#ifdef HAVE_KQUEUE + int i; /* Looping var */ + struct kevent *event; /* Current event */ + struct timespec ktimeout; /* kevent() timeout */ + + + cupsd_in_select = 1; + + if (timeout >= 0 && timeout < 86400) + { + ktimeout.tv_sec = timeout; + ktimeout.tv_nsec = 0; + + nfds = kevent(cupsd_kqueue_fd, NULL, 0, cupsd_kqueue_events, MaxFDs, + &ktimeout); + } + else + nfds = kevent(cupsd_kqueue_fd, NULL, 0, cupsd_kqueue_events, MaxFDs, NULL); + + cupsd_kqueue_changes = 0; + + for (i = nfds, event = cupsd_kqueue_events; i > 0; i --, event ++) + { + fdptr = (_cupsd_fd_t *)event->udata; + + if (cupsArrayFind(cupsd_inactive_fds, fdptr)) + continue; + + retain_fd(fdptr); + + if (fdptr->read_cb && event->filter == EVFILT_READ) + (*(fdptr->read_cb))(fdptr->data); + + if (fdptr->use > 1 && fdptr->write_cb && event->filter == EVFILT_WRITE && + !cupsArrayFind(cupsd_inactive_fds, fdptr)) + (*(fdptr->write_cb))(fdptr->data); + + release_fd(fdptr); + } + +#elif defined(HAVE_POLL) + struct pollfd *pfd; /* Current pollfd structure */ + int count; /* Number of file descriptors */ + + +# ifdef HAVE_EPOLL + cupsd_in_select = 1; + + if (cupsd_epoll_fd >= 0) + { + int i; /* Looping var */ + struct epoll_event *event; /* Current event */ + + + if (timeout >= 0 && timeout < 86400) + nfds = epoll_wait(cupsd_epoll_fd, cupsd_epoll_events, MaxFDs, + timeout * 1000); + else + nfds = epoll_wait(cupsd_epoll_fd, cupsd_epoll_events, MaxFDs, -1); + + if (nfds < 0 && errno != EINTR) + { + close(cupsd_epoll_fd); + cupsd_epoll_fd = -1; + } + else + { + for (i = nfds, event = cupsd_epoll_events; i > 0; i --, event ++) + { + fdptr = (_cupsd_fd_t *)event->data.ptr; + + if (cupsArrayFind(cupsd_inactive_fds, fdptr)) + continue; + + retain_fd(fdptr); + + if (fdptr->read_cb && (event->events & (EPOLLIN | EPOLLERR | EPOLLHUP))) + (*(fdptr->read_cb))(fdptr->data); + + if (fdptr->use > 1 && fdptr->write_cb && + (event->events & (EPOLLOUT | EPOLLERR | EPOLLHUP)) && + !cupsArrayFind(cupsd_inactive_fds, fdptr)) + (*(fdptr->write_cb))(fdptr->data); + + release_fd(fdptr); + } + + goto release_inactive; + } + } +# endif /* HAVE_EPOLL */ + + count = cupsArrayCount(cupsd_fds); + + if (cupsd_update_pollfds) + { + /* + * Update the cupsd_pollfds array to match the current FD array... + */ + + cupsd_update_pollfds = 0; + + /* + * (Re)allocate memory as needed... + */ + + if (count > cupsd_alloc_pollfds) + { + int allocfds = count + 16; + + + if (cupsd_pollfds) + pfd = realloc(cupsd_pollfds, (size_t)allocfds * sizeof(struct pollfd)); + else + pfd = malloc((size_t)allocfds * sizeof(struct pollfd)); + + if (!pfd) + { + cupsdLogMessage(CUPSD_LOG_EMERG, "Unable to allocate %d bytes for polling.", (int)((size_t)allocfds * sizeof(struct pollfd))); + + return (-1); + } + + cupsd_pollfds = pfd; + cupsd_alloc_pollfds = allocfds; + } + + /* + * Rebuild the array... + */ + + for (fdptr = (_cupsd_fd_t *)cupsArrayFirst(cupsd_fds), pfd = cupsd_pollfds; + fdptr; + fdptr = (_cupsd_fd_t *)cupsArrayNext(cupsd_fds), pfd ++) + { + pfd->fd = fdptr->fd; + pfd->events = 0; + + if (fdptr->read_cb) + pfd->events |= POLLIN; + + if (fdptr->write_cb) + pfd->events |= POLLOUT; + } + } + + if (timeout >= 0 && timeout < 86400) + nfds = poll(cupsd_pollfds, (nfds_t)count, timeout * 1000); + else + nfds = poll(cupsd_pollfds, (nfds_t)count, -1); + + if (nfds > 0) + { + /* + * Do callbacks for each file descriptor... + */ + + for (pfd = cupsd_pollfds; count > 0; pfd ++, count --) + { + if (!pfd->revents) + continue; + + if ((fdptr = find_fd(pfd->fd)) == NULL) + continue; + + retain_fd(fdptr); + + if (fdptr->read_cb && (pfd->revents & (POLLIN | POLLERR | POLLHUP))) + (*(fdptr->read_cb))(fdptr->data); + + if (fdptr->use > 1 && fdptr->write_cb && + (pfd->revents & (POLLOUT | POLLERR | POLLHUP))) + (*(fdptr->write_cb))(fdptr->data); + + release_fd(fdptr); + } + } + +#else /* select() */ + struct timeval stimeout; /* Timeout for select() */ + int maxfd; /* Maximum file descriptor */ + + + /* + * Figure out the highest file descriptor number... + */ + + if ((fdptr = (_cupsd_fd_t *)cupsArrayLast(cupsd_fds)) == NULL) + maxfd = 1; + else + maxfd = fdptr->fd + 1; + + /* + * Do the select()... + */ + + cupsd_current_input = cupsd_global_input; + cupsd_current_output = cupsd_global_output; + + if (timeout >= 0 && timeout < 86400) + { + stimeout.tv_sec = timeout; + stimeout.tv_usec = 0; + + nfds = select(maxfd, &cupsd_current_input, &cupsd_current_output, NULL, + &stimeout); + } + else + nfds = select(maxfd, &cupsd_current_input, &cupsd_current_output, NULL, + NULL); + + if (nfds > 0) + { + /* + * Do callbacks for each file descriptor... + */ + + for (fdptr = (_cupsd_fd_t *)cupsArrayFirst(cupsd_fds); + fdptr; + fdptr = (_cupsd_fd_t *)cupsArrayNext(cupsd_fds)) + { + retain_fd(fdptr); + + if (fdptr->read_cb && FD_ISSET(fdptr->fd, &cupsd_current_input)) + (*(fdptr->read_cb))(fdptr->data); + + if (fdptr->use > 1 && fdptr->write_cb && + FD_ISSET(fdptr->fd, &cupsd_current_output)) + (*(fdptr->write_cb))(fdptr->data); + + release_fd(fdptr); + } + } + +#endif /* HAVE_KQUEUE */ + +#if defined(HAVE_EPOLL) || defined(HAVE_KQUEUE) + /* + * Release all inactive file descriptors... + */ + +# ifndef HAVE_KQUEUE + release_inactive: +# endif /* !HAVE_KQUEUE */ + + cupsd_in_select = 0; + + for (fdptr = (_cupsd_fd_t *)cupsArrayFirst(cupsd_inactive_fds); + fdptr; + fdptr = (_cupsd_fd_t *)cupsArrayNext(cupsd_inactive_fds)) + { + cupsArrayRemove(cupsd_inactive_fds, fdptr); + release_fd(fdptr); + } +#endif /* HAVE_EPOLL || HAVE_KQUEUE */ + + /* + * Return the number of file descriptors handled... + */ + + return (nfds); +} + + +#ifdef CUPSD_IS_SELECTING +/* + * 'cupsdIsSelecting()' - Determine whether we are monitoring a file + * descriptor. + */ + +int /* O - 1 if selecting, 0 otherwise */ +cupsdIsSelecting(int fd) /* I - File descriptor */ +{ + return (find_fd(fd) != NULL); +} +#endif /* CUPSD_IS_SELECTING */ + + +/* + * 'cupsdRemoveSelect()' - Remove a file descriptor from the list. + */ + +void +cupsdRemoveSelect(int fd) /* I - File descriptor */ +{ + _cupsd_fd_t *fdptr; /* File descriptor record */ +#ifdef HAVE_EPOLL + struct epoll_event event; /* Event data */ +#elif defined(HAVE_KQUEUE) + struct kevent event; /* Event data */ + struct timespec timeout; /* Timeout value */ +#elif defined(HAVE_POLL) + /* No variables for poll() */ +#endif /* HAVE_EPOLL */ + + + /* + * Range check input... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdRemoveSelect(fd=%d)", fd); + + if (fd < 0) + return; + + /* + * Find the file descriptor... + */ + + if ((fdptr = find_fd(fd)) == NULL) + return; + +#ifdef HAVE_EPOLL + if (epoll_ctl(cupsd_epoll_fd, EPOLL_CTL_DEL, fd, &event)) + { + close(cupsd_epoll_fd); + cupsd_epoll_fd = -1; + cupsd_update_pollfds = 1; + } + +#elif defined(HAVE_KQUEUE) + timeout.tv_sec = 0; + timeout.tv_nsec = 0; + + if (fdptr->read_cb) + { + EV_SET(&event, fd, EVFILT_READ, EV_DELETE, 0, 0, fdptr); + + if (kevent(cupsd_kqueue_fd, &event, 1, NULL, 0, &timeout)) + { + cupsdLogMessage(CUPSD_LOG_EMERG, "kevent() returned %s", + strerror(errno)); + goto cleanup; + } + } + + if (fdptr->write_cb) + { + EV_SET(&event, fd, EVFILT_WRITE, EV_DELETE, 0, 0, fdptr); + + if (kevent(cupsd_kqueue_fd, &event, 1, NULL, 0, &timeout)) + { + cupsdLogMessage(CUPSD_LOG_EMERG, "kevent() returned %s", + strerror(errno)); + goto cleanup; + } + } + +#elif defined(HAVE_POLL) + /* + * Update the pollfds array... + */ + + cupsd_update_pollfds = 1; + +#else /* select() */ + FD_CLR(fd, &cupsd_global_input); + FD_CLR(fd, &cupsd_global_output); + FD_CLR(fd, &cupsd_current_input); + FD_CLR(fd, &cupsd_current_output); +#endif /* HAVE_EPOLL */ + +#ifdef HAVE_KQUEUE + cleanup: +#endif /* HAVE_KQUEUE */ + + /* + * Remove the file descriptor from the active array and add to the + * inactive array (or release, if we don't need the inactive array...) + */ + + cupsArrayRemove(cupsd_fds, fdptr); + +#if defined(HAVE_EPOLL) || defined(HAVE_KQUEUE) + if (cupsd_in_select) + cupsArrayAdd(cupsd_inactive_fds, fdptr); + else +#endif /* HAVE_EPOLL || HAVE_KQUEUE */ + + release_fd(fdptr); +} + + +/* + * 'cupsdStartSelect()' - Initialize the file polling engine. + */ + +void +cupsdStartSelect(void) +{ + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdStartSelect()"); + + cupsd_fds = cupsArrayNew((cups_array_func_t)compare_fds, NULL); + +#if defined(HAVE_EPOLL) || defined(HAVE_KQUEUE) + cupsd_inactive_fds = cupsArrayNew((cups_array_func_t)compare_fds, NULL); +#endif /* HAVE_EPOLL || HAVE_KQUEUE */ + +#ifdef HAVE_EPOLL + cupsd_epoll_fd = epoll_create(MaxFDs); + cupsd_epoll_events = calloc((size_t)MaxFDs, sizeof(struct epoll_event)); + cupsd_update_pollfds = 0; + +#elif defined(HAVE_KQUEUE) + cupsd_kqueue_fd = kqueue(); + cupsd_kqueue_changes = 0; + cupsd_kqueue_events = calloc((size_t)MaxFDs, sizeof(struct kevent)); + +#elif defined(HAVE_POLL) + cupsd_update_pollfds = 0; + +#else /* select() */ + FD_ZERO(&cupsd_global_input); + FD_ZERO(&cupsd_global_output); +#endif /* HAVE_EPOLL */ +} + + +/* + * 'cupsdStopSelect()' - Shutdown the file polling engine. + */ + +void +cupsdStopSelect(void) +{ + _cupsd_fd_t *fdptr; /* Current file descriptor */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdStopSelect()"); + + for (fdptr = (_cupsd_fd_t *)cupsArrayFirst(cupsd_fds); + fdptr; + fdptr = (_cupsd_fd_t *)cupsArrayNext(cupsd_fds)) + free(fdptr); + + cupsArrayDelete(cupsd_fds); + cupsd_fds = NULL; + +#if defined(HAVE_EPOLL) || defined(HAVE_KQUEUE) + cupsArrayDelete(cupsd_inactive_fds); + cupsd_inactive_fds = NULL; +#endif /* HAVE_EPOLL || HAVE_KQUEUE */ + +#ifdef HAVE_KQUEUE + if (cupsd_kqueue_events) + { + free(cupsd_kqueue_events); + cupsd_kqueue_events = NULL; + } + + if (cupsd_kqueue_fd >= 0) + { + close(cupsd_kqueue_fd); + cupsd_kqueue_fd = -1; + } + + cupsd_kqueue_changes = 0; + +#elif defined(HAVE_POLL) +# ifdef HAVE_EPOLL + if (cupsd_epoll_events) + { + free(cupsd_epoll_events); + cupsd_epoll_events = NULL; + } + + if (cupsd_epoll_fd >= 0) + { + close(cupsd_epoll_fd); + cupsd_epoll_fd = -1; + } +# endif /* HAVE_EPOLL */ + + if (cupsd_pollfds) + { + free(cupsd_pollfds); + cupsd_pollfds = NULL; + cupsd_alloc_pollfds = 0; + } + + cupsd_update_pollfds = 0; + +#else /* select() */ + FD_ZERO(&cupsd_global_input); + FD_ZERO(&cupsd_global_output); +#endif /* HAVE_EPOLL */ +} + + +/* + * 'compare_fds()' - Compare file descriptors. + */ + +static int /* O - Result of comparison */ +compare_fds(_cupsd_fd_t *a, /* I - First file descriptor */ + _cupsd_fd_t *b) /* I - Second file descriptor */ +{ + return (a->fd - b->fd); +} + + +/* + * 'find_fd()' - Find an existing file descriptor record. + */ + +static _cupsd_fd_t * /* O - FD record pointer or NULL */ +find_fd(int fd) /* I - File descriptor */ +{ + _cupsd_fd_t *fdptr, /* Matching record (if any) */ + key; /* Search key */ + + + cupsArraySave(cupsd_fds); + + key.fd = fd; + fdptr = (_cupsd_fd_t *)cupsArrayFind(cupsd_fds, &key); + + cupsArrayRestore(cupsd_fds); + + return (fdptr); +} diff --git a/scheduler/server.c b/scheduler/server.c new file mode 100644 index 0000000..bb646d8 --- /dev/null +++ b/scheduler/server.c @@ -0,0 +1,192 @@ +/* + * Server start/stop routines for the CUPS scheduler. + * + * Copyright 2007-2019 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include "cupsd.h" +#include +#ifdef HAVE_NOTIFY_H +# include +#endif /* HAVE_NOTIFY_H */ + + +/* + * Local globals... + */ + +static int started = 0; /* Did we start the server already? */ + + +/* + * 'cupsdStartServer()' - Start the server. + */ + +void +cupsdStartServer(void) +{ + /* + * Create the default security profile... + */ + + DefaultProfile = cupsdCreateProfile(0, 1); + +#ifdef HAVE_SANDBOX_H + if (!DefaultProfile && UseSandboxing && Sandboxing != CUPSD_SANDBOXING_OFF) + { + /* + * Failure to create the sandbox profile means something really bad has + * happened and we need to shutdown immediately. + */ + + return; + } +#endif /* HAVE_SANDBOX_H */ + + /* + * Start color management (as needed)... + */ + + cupsdStartColor(); + + /* + * Startup all the networking stuff... + */ + + cupsdStartListening(); + cupsdStartBrowsing(); + + /* + * Create a pipe for CGI processes... + */ + + if (cupsdOpenPipe(CGIPipes)) + cupsdLogMessage(CUPSD_LOG_ERROR, + "cupsdStartServer: Unable to create pipes for CGI status!"); + else + { + CGIStatusBuffer = cupsdStatBufNew(CGIPipes[0], "[CGI]"); + + cupsdAddSelect(CGIPipes[0], (cupsd_selfunc_t)cupsdUpdateCGI, NULL, NULL); + } + + /* + * Mark that the server has started and printers and jobs may be changed... + */ + + LastEvent = CUPSD_EVENT_PRINTER_CHANGED | CUPSD_EVENT_JOB_STATE_CHANGED | + CUPSD_EVENT_SERVER_STARTED; + started = 1; + + cupsdSetBusyState(0); +} + + +/* + * 'cupsdStopServer()' - Stop the server. + */ + +void +cupsdStopServer(void) +{ + if (!started) + return; + + /* + * Stop color management (as needed)... + */ + + cupsdStopColor(); + + /* + * Close all network clients... + */ + + cupsdCloseAllClients(); + cupsdStopListening(); + cupsdStopBrowsing(); + cupsdStopAllNotifiers(); + cupsdDeleteAllCerts(); + + if (Clients) + { + cupsArrayDelete(Clients); + Clients = NULL; + } + + /* + * Close the pipe for CGI processes... + */ + + if (CGIPipes[0] >= 0) + { + cupsdRemoveSelect(CGIPipes[0]); + + cupsdStatBufDelete(CGIStatusBuffer); + close(CGIPipes[1]); + + CGIPipes[0] = -1; + CGIPipes[1] = -1; + } + + /* + * Close all log files... + */ + + if (AccessFile != NULL) + { + if (AccessFile != LogStderr) + cupsFileClose(AccessFile); + + AccessFile = NULL; + } + + if (ErrorFile != NULL) + { + if (ErrorFile != LogStderr) + cupsFileClose(ErrorFile); + + ErrorFile = NULL; + } + + if (PageFile != NULL) + { + if (PageFile != LogStderr) + cupsFileClose(PageFile); + + PageFile = NULL; + } + + /* + * Delete the default security profile... + */ + + cupsdDestroyProfile(DefaultProfile); + DefaultProfile = NULL; + + /* + * Expire subscriptions and clean out old jobs... + */ + + cupsdExpireSubscriptions(NULL, NULL); + + if (JobHistoryUpdate) + cupsdCleanJobs(); + + /* + * Write out any dirty files... + */ + + if (DirtyFiles) + cupsdCleanDirty(); + + started = 0; +} diff --git a/scheduler/statbuf.c b/scheduler/statbuf.c new file mode 100644 index 0000000..db9d98d --- /dev/null +++ b/scheduler/statbuf.c @@ -0,0 +1,317 @@ +/* + * Status buffer routines for the CUPS scheduler. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#include + + +/* + * 'cupsdStatBufDelete()' - Destroy a status buffer. + */ + +void +cupsdStatBufDelete(cupsd_statbuf_t *sb) /* I - Status buffer */ +{ + /* + * Range check input... + */ + + if (!sb) + return; + + /* + * Close the status pipe and free memory used... + */ + + close(sb->fd); + + free(sb); +} + + +/* + * 'cupsdStatBufNew()' - Create a new status buffer. + */ + +cupsd_statbuf_t * /* O - New status buffer */ +cupsdStatBufNew(int fd, /* I - File descriptor of pipe */ + const char *prefix, /* I - Printf-style prefix string */ + ...) /* I - Additional args as needed */ +{ + cupsd_statbuf_t *sb; /* New status buffer */ + va_list ap; /* Argument list */ + + + /* + * Range check input... + */ + + if (fd < 0) + return (NULL); + + /* + * Allocate the status buffer... + */ + + if ((sb = calloc(1, sizeof(cupsd_statbuf_t))) != NULL) + { + /* + * Assign the file descriptor... + */ + + sb->fd = fd; + + /* + * Format the prefix string, if any. This is usually "[Job 123]" + * or "[Sub 123]", and so forth. + */ + + if (prefix) + { + /* + * Printf-style prefix string... + */ + + va_start(ap, prefix); + vsnprintf(sb->prefix, sizeof(sb->prefix), prefix, ap); + va_end(ap); + } + else + { + /* + * No prefix string... + */ + + sb->prefix[0] = '\0'; + } + } + + return (sb); +} + + +/* + * 'cupsdStatBufUpdate()' - Update the status buffer. + */ + +char * /* O - Line from buffer, "", or NULL */ +cupsdStatBufUpdate( + cupsd_statbuf_t *sb, /* I - Status buffer */ + int *loglevel, /* O - Log level */ + char *line, /* I - Line buffer */ + int linelen) /* I - Size of line buffer */ +{ + int bytes; /* Number of bytes read */ + char *lineptr, /* Pointer to end of line in buffer */ + *message; /* Pointer to message text */ + + + /* + * Check if the buffer already contains a full line... + */ + + if ((lineptr = strchr(sb->buffer, '\n')) == NULL) + { + /* + * No, read more data... + */ + + if ((bytes = read(sb->fd, sb->buffer + sb->bufused, (size_t)(CUPSD_SB_BUFFER_SIZE - sb->bufused - 1))) > 0) + { + sb->bufused += bytes; + sb->buffer[sb->bufused] = '\0'; + + /* + * Guard against a line longer than the max buffer size... + */ + + if ((lineptr = strchr(sb->buffer, '\n')) == NULL && + sb->bufused == (CUPSD_SB_BUFFER_SIZE - 1)) + lineptr = sb->buffer + sb->bufused; + } + else if (bytes < 0 && errno == EINTR) + { + /* + * Return an empty line if we are interrupted... + */ + + *loglevel = CUPSD_LOG_NONE; + line[0] = '\0'; + + return (line); + } + else + { + /* + * End-of-file, so use the whole buffer... + */ + + lineptr = sb->buffer + sb->bufused; + *lineptr = '\0'; + } + + /* + * Final check for end-of-file... + */ + + if (sb->bufused == 0 && bytes == 0) + lineptr = NULL; + } + + if (!lineptr) + { + /* + * End of file... + */ + + *loglevel = CUPSD_LOG_NONE; + line[0] = '\0'; + + return (NULL); + } + + /* + * Terminate the line and process it... + */ + + *lineptr++ = '\0'; + + /* + * Figure out the logging level... + */ + + if (!strncmp(sb->buffer, "EMERG:", 6)) + { + *loglevel = CUPSD_LOG_EMERG; + message = sb->buffer + 6; + } + else if (!strncmp(sb->buffer, "ALERT:", 6)) + { + *loglevel = CUPSD_LOG_ALERT; + message = sb->buffer + 6; + } + else if (!strncmp(sb->buffer, "CRIT:", 5)) + { + *loglevel = CUPSD_LOG_CRIT; + message = sb->buffer + 5; + } + else if (!strncmp(sb->buffer, "ERROR:", 6)) + { + *loglevel = CUPSD_LOG_ERROR; + message = sb->buffer + 6; + } + else if (!strncmp(sb->buffer, "WARNING:", 8)) + { + *loglevel = CUPSD_LOG_WARN; + message = sb->buffer + 8; + } + else if (!strncmp(sb->buffer, "NOTICE:", 7)) + { + *loglevel = CUPSD_LOG_NOTICE; + message = sb->buffer + 7; + } + else if (!strncmp(sb->buffer, "INFO:", 5)) + { + *loglevel = CUPSD_LOG_INFO; + message = sb->buffer + 5; + } + else if (!strncmp(sb->buffer, "DEBUG:", 6)) + { + *loglevel = CUPSD_LOG_DEBUG; + message = sb->buffer + 6; + } + else if (!strncmp(sb->buffer, "DEBUG2:", 7)) + { + *loglevel = CUPSD_LOG_DEBUG2; + message = sb->buffer + 7; + } + else if (!strncmp(sb->buffer, "PAGE:", 5)) + { + *loglevel = CUPSD_LOG_PAGE; + message = sb->buffer + 5; + } + else if (!strncmp(sb->buffer, "STATE:", 6)) + { + *loglevel = CUPSD_LOG_STATE; + message = sb->buffer + 6; + } + else if (!strncmp(sb->buffer, "JOBSTATE:", 9)) + { + *loglevel = CUPSD_LOG_JOBSTATE; + message = sb->buffer + 9; + } + else if (!strncmp(sb->buffer, "ATTR:", 5)) + { + *loglevel = CUPSD_LOG_ATTR; + message = sb->buffer + 5; + } + else if (!strncmp(sb->buffer, "PPD:", 4)) + { + *loglevel = CUPSD_LOG_PPD; + message = sb->buffer + 4; + } + else + { + *loglevel = CUPSD_LOG_DEBUG; + message = sb->buffer; + } + + /* + * Skip leading whitespace in the message... + */ + + while (isspace(*message & 255)) + message ++; + + /* + * Send it to the log file as needed... + */ + + if (sb->prefix[0]) + { + if (*loglevel > CUPSD_LOG_NONE && + (*loglevel != CUPSD_LOG_INFO || LogLevel >= CUPSD_LOG_DEBUG)) + { + /* + * General status message; send it to the error_log file... + */ + + if (message[0] == '[') + cupsdLogMessage(*loglevel, "%s", message); + else + cupsdLogMessage(*loglevel, "%s %s", sb->prefix, message); + } + else if (*loglevel < CUPSD_LOG_NONE && LogLevel >= CUPSD_LOG_DEBUG) + cupsdLogMessage(CUPSD_LOG_DEBUG2, "%s %s", sb->prefix, sb->buffer); + } + + /* + * Copy the message to the line buffer... + */ + + strlcpy(line, message, (size_t)linelen); + + /* + * Copy over the buffer data we've used up... + */ + + if (lineptr < sb->buffer + sb->bufused) + _cups_strcpy(sb->buffer, lineptr); + + sb->bufused -= lineptr - sb->buffer; + + if (sb->bufused < 0) + sb->bufused = 0; + + return (line); +} diff --git a/scheduler/statbuf.h b/scheduler/statbuf.h new file mode 100644 index 0000000..4ac7c81 --- /dev/null +++ b/scheduler/statbuf.h @@ -0,0 +1,38 @@ +/* + * Status buffer definitions for the CUPS scheduler. + * + * Copyright 2007-2010 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + + +/* + * Constants... + */ + +#define CUPSD_SB_BUFFER_SIZE 2048 /* Bytes for job status buffer */ + + +/* + * Types and structures... + */ + +typedef struct /**** Status buffer */ +{ + int fd; /* File descriptor to read from */ + char prefix[64]; /* Prefix for log messages */ + int bufused; /* How much is used in buffer */ + char buffer[CUPSD_SB_BUFFER_SIZE]; /* Buffer */ +} cupsd_statbuf_t; + + +/* + * Prototypes... + */ + +extern void cupsdStatBufDelete(cupsd_statbuf_t *sb); +extern cupsd_statbuf_t *cupsdStatBufNew(int fd, const char *prefix, ...); +extern char *cupsdStatBufUpdate(cupsd_statbuf_t *sb, int *loglevel, + char *line, int linelen); diff --git a/scheduler/subscriptions.c b/scheduler/subscriptions.c new file mode 100644 index 0000000..15acedc --- /dev/null +++ b/scheduler/subscriptions.c @@ -0,0 +1,1580 @@ +/* + * Subscription routines for the CUPS scheduler. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#ifdef HAVE_DBUS +# include +# ifdef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND +# define dbus_message_append_iter_init dbus_message_iter_init_append +# define dbus_message_iter_append_string(i,v) dbus_message_iter_append_basic(i, DBUS_TYPE_STRING, &(v)) +# define dbus_message_iter_append_uint32(i,v) dbus_message_iter_append_basic(i, DBUS_TYPE_UINT32, &(v)) +# endif /* HAVE_DBUS_MESSAGE_ITER_INIT_APPEND */ +#endif /* HAVE_DBUS */ + + +/* + * Local functions... + */ + +static int cupsd_compare_subscriptions(cupsd_subscription_t *first, + cupsd_subscription_t *second, + void *unused); +static void cupsd_delete_event(cupsd_event_t *event); +#ifdef HAVE_DBUS +static void cupsd_send_dbus(cupsd_eventmask_t event, cupsd_printer_t *dest, + cupsd_job_t *job); +#endif /* HAVE_DBUS */ +static void cupsd_send_notification(cupsd_subscription_t *sub, + cupsd_event_t *event); +static void cupsd_start_notifier(cupsd_subscription_t *sub); +static void cupsd_update_notifier(void); + + +/* + * 'cupsdAddEvent()' - Add an event to the global event cache. + */ + +void +cupsdAddEvent( + cupsd_eventmask_t event, /* I - Event */ + cupsd_printer_t *dest, /* I - Printer associated with event */ + cupsd_job_t *job, /* I - Job associated with event */ + const char *text, /* I - Notification text */ + ...) /* I - Additional arguments as needed */ +{ + va_list ap; /* Pointer to additional arguments */ + char ftext[1024]; /* Formatted text buffer */ + ipp_attribute_t *attr; /* Printer/job attribute */ + cupsd_event_t *temp; /* New event pointer */ + cupsd_subscription_t *sub; /* Current subscription */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsdAddEvent(event=%s, dest=%p(%s), job=%p(%d), text=\"%s\", ...)", + cupsdEventName(event), dest, dest ? dest->name : "", + job, job ? job->id : 0, text); + + /* + * Keep track of events with any OS-supplied notification mechanisms... + */ + + LastEvent |= event; + +#ifdef HAVE_DBUS + cupsd_send_dbus(event, dest, job); +#endif /* HAVE_DBUS */ + + /* + * Return if we aren't keeping events... + */ + + if (MaxEvents <= 0) + { + cupsdLogMessage(CUPSD_LOG_WARN, + "cupsdAddEvent: Discarding %s event since MaxEvents is %d!", + cupsdEventName(event), MaxEvents); + return; + } + + /* + * Then loop through the subscriptions and add the event to the corresponding + * caches... + */ + + for (temp = NULL, sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); + sub; + sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) + { + /* + * Check if this subscription requires this event... + */ + + if ((sub->mask & event) != 0 && (sub->dest == dest || !sub->dest || sub->job == job)) + { + /* + * Need this event, so create a new event record... + */ + + if ((temp = (cupsd_event_t *)calloc(1, sizeof(cupsd_event_t))) == NULL) + { + cupsdLogMessage(CUPSD_LOG_CRIT, + "Unable to allocate memory for event - %s", + strerror(errno)); + return; + } + + temp->event = event; + temp->time = time(NULL); + temp->attrs = ippNew(); + temp->job = job; + + if (dest) + temp->dest = dest; + else if (job) + temp->dest = dest = cupsdFindPrinter(job->dest); + + /* + * Add common event notification attributes... + */ + + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_CHARSET, + "notify-charset", NULL, "utf-8"); + + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_LANGUAGE, + "notify-natural-language", NULL, "en-US"); + + ippAddInteger(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_INTEGER, + "notify-subscription-id", sub->id); + + ippAddInteger(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_INTEGER, + "notify-sequence-number", sub->next_event_id); + + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, + "notify-subscribed-event", NULL, cupsdEventName(event)); + + if (sub->user_data_len > 0) + ippAddOctetString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, + "notify-user-data", sub->user_data, + sub->user_data_len); + + ippAddInteger(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_INTEGER, + "printer-up-time", time(NULL)); + + va_start(ap, text); + vsnprintf(ftext, sizeof(ftext), text, ap); + va_end(ap); + + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_TEXT, + "notify-text", NULL, ftext); + + if (dest) + { + /* + * Add printer attributes... + */ + + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_URI, "notify-printer-uri", NULL, dest->uri); + + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_NAME, "printer-name", NULL, dest->name); + + ippAddInteger(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_ENUM, "printer-state", (int)dest->state); + + if (dest->num_reasons == 0) + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, "printer-state-reasons", NULL, dest->state == IPP_PRINTER_STOPPED ? "paused" : "none"); + else + ippAddStrings(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, "printer-state-reasons", dest->num_reasons, NULL, (const char * const *)dest->reasons); + + ippAddBoolean(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, "printer-is-accepting-jobs", (char)dest->accepting); + } + + if (job) + { + /* + * Add job attributes... + */ + + ippAddInteger(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_INTEGER, "notify-job-id", job->id); + ippAddInteger(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_ENUM, "job-state", (int)job->state_value); + + if ((attr = ippFindAttribute(job->attrs, "job-name", IPP_TAG_NAME)) != NULL) + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_NAME, "job-name", NULL, attr->values[0].string.text); + + switch (job->state_value) + { + case IPP_JOB_PENDING : + if (dest && dest->state == IPP_PRINTER_STOPPED) + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, "job-state-reasons", NULL, "printer-stopped"); + else + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, "job-state-reasons", NULL, "none"); + break; + + case IPP_JOB_HELD : + if (ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_KEYWORD) != NULL || + ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_NAME) != NULL) + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, "job-state-reasons", NULL, "job-hold-until-specified"); + else + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, "job-state-reasons", NULL, "job-incoming"); + break; + + case IPP_JOB_PROCESSING : + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, "job-state-reasons", NULL, "job-printing"); + break; + + case IPP_JOB_STOPPED : + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, "job-state-reasons", NULL, "job-stopped"); + break; + + case IPP_JOB_CANCELED : + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, "job-state-reasons", NULL, "job-canceled-by-user"); + break; + + case IPP_JOB_ABORTED : + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, "job-state-reasons", NULL, "aborted-by-system"); + break; + + case IPP_JOB_COMPLETED : + ippAddString(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, "job-state-reasons", NULL, "job-completed-successfully"); + break; + } + + ippAddInteger(temp->attrs, IPP_TAG_EVENT_NOTIFICATION, IPP_TAG_INTEGER, "job-impressions-completed", job->sheets ? job->sheets->values[0].integer : 0); + } + + /* + * Send the notification for this subscription... + */ + + cupsd_send_notification(sub, temp); + } + } + + if (temp) + cupsdMarkDirty(CUPSD_DIRTY_SUBSCRIPTIONS); + else + cupsdLogMessage(CUPSD_LOG_DEBUG, "Discarding unused %s event...", cupsdEventName(event)); +} + + +/* + * 'cupsdAddSubscription()' - Add a new subscription object. + */ + +cupsd_subscription_t * /* O - New subscription object */ +cupsdAddSubscription( + unsigned mask, /* I - Event mask */ + cupsd_printer_t *dest, /* I - Printer, if any */ + cupsd_job_t *job, /* I - Job, if any */ + const char *uri, /* I - notify-recipient-uri, if any */ + int sub_id) /* I - notify-subscription-id or 0 */ +{ + cupsd_subscription_t *temp; /* New subscription object */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdAddSubscription(mask=%x, dest=%p(%s), job=%p(%d), " + "uri=\"%s\")", + mask, dest, dest ? dest->name : "", job, job ? job->id : 0, + uri ? uri : "(null)"); + + if (!Subscriptions) + Subscriptions = cupsArrayNew((cups_array_func_t)cupsd_compare_subscriptions, + NULL); + + if (!Subscriptions) + { + cupsdLogMessage(CUPSD_LOG_CRIT, + "Unable to allocate memory for subscriptions - %s", + strerror(errno)); + return (NULL); + } + + /* + * Limit the number of subscriptions... + */ + + if (MaxSubscriptions > 0 && cupsArrayCount(Subscriptions) >= MaxSubscriptions) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdAddSubscription: Reached MaxSubscriptions %d " + "(count=%d)", MaxSubscriptions, + cupsArrayCount(Subscriptions)); + return (NULL); + } + + if (MaxSubscriptionsPerJob > 0 && job) + { + int count; /* Number of job subscriptions */ + + for (temp = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions), + count = 0; + temp; + temp = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) + if (temp->job == job) + count ++; + + if (count >= MaxSubscriptionsPerJob) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdAddSubscription: Reached MaxSubscriptionsPerJob %d " + "for job #%d (count=%d)", MaxSubscriptionsPerJob, + job->id, count); + return (NULL); + } + } + + if (MaxSubscriptionsPerPrinter > 0 && dest) + { + int count; /* Number of printer subscriptions */ + + for (temp = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions), + count = 0; + temp; + temp = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) + if (temp->dest == dest) + count ++; + + if (count >= MaxSubscriptionsPerPrinter) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdAddSubscription: Reached " + "MaxSubscriptionsPerPrinter %d for %s (count=%d)", + MaxSubscriptionsPerPrinter, dest->name, count); + return (NULL); + } + } + + /* + * Allocate memory for this subscription... + */ + + if ((temp = calloc(1, sizeof(cupsd_subscription_t))) == NULL) + { + cupsdLogMessage(CUPSD_LOG_CRIT, + "Unable to allocate memory for subscription object - %s", + strerror(errno)); + return (NULL); + } + + /* + * Fill in common data... + */ + + if (sub_id) + { + temp->id = sub_id; + + if (sub_id >= NextSubscriptionId) + NextSubscriptionId = sub_id + 1; + } + else + { + temp->id = NextSubscriptionId; + + NextSubscriptionId ++; + } + + temp->mask = mask; + temp->dest = dest; + temp->job = job; + temp->pipe = -1; + temp->first_event_id = 1; + temp->next_event_id = 1; + + cupsdSetString(&(temp->recipient), uri); + + /* + * Add the subscription to the array... + */ + + cupsArrayAdd(Subscriptions, temp); + + /* + * For RSS subscriptions, run the notifier immediately... + */ + + if (uri && !strncmp(uri, "rss:", 4)) + cupsd_start_notifier(temp); + + return (temp); +} + + +/* + * 'cupsdDeleteAllSubscriptions()' - Delete all subscriptions. + */ + +void +cupsdDeleteAllSubscriptions(void) +{ + cupsd_subscription_t *sub; /* Subscription */ + + + if (!Subscriptions) + return; + + for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); + sub; + sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) + cupsdDeleteSubscription(sub, 0); + + cupsArrayDelete(Subscriptions); + Subscriptions = NULL; +} + + +/* + * 'cupsdDeleteSubscription()' - Delete a subscription object. + */ + +void +cupsdDeleteSubscription( + cupsd_subscription_t *sub, /* I - Subscription object */ + int update) /* I - 1 = update subscriptions.conf */ +{ + /* + * Close the pipe to the notifier as needed... + */ + + if (sub->pipe >= 0) + close(sub->pipe); + + /* + * Remove subscription from array... + */ + + cupsArrayRemove(Subscriptions, sub); + + /* + * Free memory... + */ + + cupsdClearString(&(sub->owner)); + cupsdClearString(&(sub->recipient)); + + cupsArrayDelete(sub->events); + + free(sub); + + /* + * Update the subscriptions as needed... + */ + + if (update) + cupsdMarkDirty(CUPSD_DIRTY_SUBSCRIPTIONS); +} + + +/* + * 'cupsdEventName()' - Return a single event name. + */ + +const char * /* O - Event name */ +cupsdEventName( + cupsd_eventmask_t event) /* I - Event value */ +{ + switch (event) + { + default : + return (NULL); + + case CUPSD_EVENT_PRINTER_RESTARTED : + return ("printer-restarted"); + + case CUPSD_EVENT_PRINTER_SHUTDOWN : + return ("printer-shutdown"); + + case CUPSD_EVENT_PRINTER_STOPPED : + return ("printer-stopped"); + + case CUPSD_EVENT_PRINTER_FINISHINGS_CHANGED : + return ("printer-finishings-changed"); + + case CUPSD_EVENT_PRINTER_MEDIA_CHANGED : + return ("printer-media-changed"); + + case CUPSD_EVENT_PRINTER_ADDED : + return ("printer-added"); + + case CUPSD_EVENT_PRINTER_DELETED : + return ("printer-deleted"); + + case CUPSD_EVENT_PRINTER_MODIFIED : + return ("printer-modified"); + + case CUPSD_EVENT_PRINTER_QUEUE_ORDER_CHANGED : + return ("printer-queue-order-changed"); + + case CUPSD_EVENT_PRINTER_STATE : + case CUPSD_EVENT_PRINTER_STATE_CHANGED : + return ("printer-state-changed"); + + case CUPSD_EVENT_PRINTER_CONFIG : + case CUPSD_EVENT_PRINTER_CONFIG_CHANGED : + return ("printer-config-changed"); + + case CUPSD_EVENT_PRINTER_CHANGED : + return ("printer-changed"); + + case CUPSD_EVENT_JOB_CREATED : + return ("job-created"); + + case CUPSD_EVENT_JOB_COMPLETED : + return ("job-completed"); + + case CUPSD_EVENT_JOB_STOPPED : + return ("job-stopped"); + + case CUPSD_EVENT_JOB_CONFIG_CHANGED : + return ("job-config-changed"); + + case CUPSD_EVENT_JOB_PROGRESS : + return ("job-progress"); + + case CUPSD_EVENT_JOB_STATE : + case CUPSD_EVENT_JOB_STATE_CHANGED : + return ("job-state-changed"); + + case CUPSD_EVENT_SERVER_RESTARTED : + return ("server-restarted"); + + case CUPSD_EVENT_SERVER_STARTED : + return ("server-started"); + + case CUPSD_EVENT_SERVER_STOPPED : + return ("server-stopped"); + + case CUPSD_EVENT_SERVER_AUDIT : + return ("server-audit"); + + case CUPSD_EVENT_ALL : + return ("all"); + } +} + + +/* + * 'cupsdEventValue()' - Return the event mask value for a name. + */ + +cupsd_eventmask_t /* O - Event mask value */ +cupsdEventValue(const char *name) /* I - Name of event */ +{ + if (!strcmp(name, "all")) + return (CUPSD_EVENT_ALL); + else if (!strcmp(name, "printer-restarted")) + return (CUPSD_EVENT_PRINTER_RESTARTED); + else if (!strcmp(name, "printer-shutdown")) + return (CUPSD_EVENT_PRINTER_SHUTDOWN); + else if (!strcmp(name, "printer-stopped")) + return (CUPSD_EVENT_PRINTER_STOPPED); + else if (!strcmp(name, "printer-finishings-changed")) + return (CUPSD_EVENT_PRINTER_FINISHINGS_CHANGED); + else if (!strcmp(name, "printer-media-changed")) + return (CUPSD_EVENT_PRINTER_MEDIA_CHANGED); + else if (!strcmp(name, "printer-added")) + return (CUPSD_EVENT_PRINTER_ADDED); + else if (!strcmp(name, "printer-deleted")) + return (CUPSD_EVENT_PRINTER_DELETED); + else if (!strcmp(name, "printer-modified")) + return (CUPSD_EVENT_PRINTER_MODIFIED); + else if (!strcmp(name, "printer-queue-order-changed")) + return (CUPSD_EVENT_PRINTER_QUEUE_ORDER_CHANGED); + else if (!strcmp(name, "printer-state-changed")) + return (CUPSD_EVENT_PRINTER_STATE_CHANGED); + else if (!strcmp(name, "printer-config-changed")) + return (CUPSD_EVENT_PRINTER_CONFIG_CHANGED); + else if (!strcmp(name, "printer-changed")) + return (CUPSD_EVENT_PRINTER_CHANGED); + else if (!strcmp(name, "job-created")) + return (CUPSD_EVENT_JOB_CREATED); + else if (!strcmp(name, "job-completed")) + return (CUPSD_EVENT_JOB_COMPLETED); + else if (!strcmp(name, "job-stopped")) + return (CUPSD_EVENT_JOB_STOPPED); + else if (!strcmp(name, "job-config-changed")) + return (CUPSD_EVENT_JOB_CONFIG_CHANGED); + else if (!strcmp(name, "job-progress")) + return (CUPSD_EVENT_JOB_PROGRESS); + else if (!strcmp(name, "job-state-changed")) + return (CUPSD_EVENT_JOB_STATE_CHANGED); + else if (!strcmp(name, "server-restarted")) + return (CUPSD_EVENT_SERVER_RESTARTED); + else if (!strcmp(name, "server-started")) + return (CUPSD_EVENT_SERVER_STARTED); + else if (!strcmp(name, "server-stopped")) + return (CUPSD_EVENT_SERVER_STOPPED); + else if (!strcmp(name, "server-audit")) + return (CUPSD_EVENT_SERVER_AUDIT); + else + return (CUPSD_EVENT_NONE); +} + + +/* + * 'cupsdExpireSubscriptions()' - Expire old subscription objects. + */ + +void +cupsdExpireSubscriptions( + cupsd_printer_t *dest, /* I - Printer, if any */ + cupsd_job_t *job) /* I - Job, if any */ +{ + cupsd_subscription_t *sub; /* Current subscription */ + int update; /* Update subscriptions.conf? */ + time_t curtime; /* Current time */ + + + if (cupsArrayCount(Subscriptions) == 0) + return; + + curtime = time(NULL); + update = 0; + + cupsdLogMessage(CUPSD_LOG_INFO, "Expiring subscriptions..."); + + for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); + sub; + sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) + if ((!sub->job && !dest && sub->expire && sub->expire <= curtime) || + (dest && sub->dest == dest) || + (job && sub->job == job)) + { + cupsdLogMessage(CUPSD_LOG_INFO, "Subscription %d has expired...", + sub->id); + + cupsdDeleteSubscription(sub, 0); + + update = 1; + } + + if (update) + cupsdMarkDirty(CUPSD_DIRTY_SUBSCRIPTIONS); +} + + +/* + * 'cupsdFindSubscription()' - Find a subscription by ID. + */ + +cupsd_subscription_t * /* O - Subscription object */ +cupsdFindSubscription(int id) /* I - Subscription ID */ +{ + cupsd_subscription_t sub; /* Subscription template */ + + + sub.id = id; + + return ((cupsd_subscription_t *)cupsArrayFind(Subscriptions, &sub)); +} + + +/* + * 'cupsdLoadAllSubscriptions()' - Load all subscriptions from the .conf file. + */ + +void +cupsdLoadAllSubscriptions(void) +{ + int i; /* Looping var */ + cups_file_t *fp; /* subscriptions.conf file */ + int linenum; /* Current line number */ + char line[1024], /* Line from file */ + *value, /* Pointer to value */ + *valueptr; /* Pointer into value */ + cupsd_subscription_t *sub; /* Current subscription */ + int hex; /* Non-zero if reading hex data */ + int delete_sub; /* Delete subscription? */ + + + /* + * Open the subscriptions.conf file... + */ + + snprintf(line, sizeof(line), "%s/subscriptions.conf", ServerRoot); + if ((fp = cupsdOpenConfFile(line)) == NULL) + return; + + /* + * Read all of the lines from the file... + */ + + linenum = 0; + sub = NULL; + delete_sub = 0; + + while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) + { + if (!_cups_strcasecmp(line, "NextSubscriptionId") && value) + { + /* + * NextSubscriptionId NNN + */ + + i = atoi(value); + if (i >= NextSubscriptionId && i > 0) + NextSubscriptionId = i; + } + else if (!_cups_strcasecmp(line, " + */ + + if (!sub && value && isdigit(value[0] & 255)) + { + sub = cupsdAddSubscription(CUPSD_EVENT_NONE, NULL, NULL, NULL, + atoi(value)); + } + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + break; + } + } + else if (!_cups_strcasecmp(line, "")) + { + if (!sub) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + break; + } + + if (delete_sub) + cupsdDeleteSubscription(sub, 0); + + sub = NULL; + delete_sub = 0; + } + else if (!sub) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + } + else if (!_cups_strcasecmp(line, "Events")) + { + /* + * Events name + * Events name name name ... + */ + + if (!value) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + break; + } + + while (*value) + { + /* + * Separate event names... + */ + + for (valueptr = value; !isspace(*valueptr) && *valueptr; valueptr ++); + + while (isspace(*valueptr & 255)) + *valueptr++ = '\0'; + + /* + * See if the name exists... + */ + + if ((sub->mask |= cupsdEventValue(value)) == CUPSD_EVENT_NONE) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown event name \'%s\' on line %d of subscriptions.conf.", + value, linenum); + break; + } + + value = valueptr; + } + } + else if (!_cups_strcasecmp(line, "Owner")) + { + /* + * Owner + */ + + if (value) + cupsdSetString(&sub->owner, value); + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + break; + } + } + else if (!_cups_strcasecmp(line, "Recipient")) + { + /* + * Recipient uri + */ + + if (value) + cupsdSetString(&sub->recipient, value); + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + break; + } + } + else if (!_cups_strcasecmp(line, "JobId")) + { + /* + * JobId # + */ + + if (value && isdigit(*value & 255)) + { + if ((sub->job = cupsdFindJob(atoi(value))) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Job %s not found on line %d of subscriptions.conf.", + value, linenum); + delete_sub = 1; + } + } + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + break; + } + } + else if (!_cups_strcasecmp(line, "PrinterName")) + { + /* + * PrinterName name + */ + + if (value) + { + if ((sub->dest = cupsdFindDest(value)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Printer \'%s\' not found on line %d of subscriptions.conf.", + value, linenum); + delete_sub = 1; + } + } + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + break; + } + } + else if (!_cups_strcasecmp(line, "UserData")) + { + /* + * UserData encoded-string + */ + + if (value) + { + for (i = 0, valueptr = value, hex = 0; i < 63 && *valueptr; i ++) + { + if (*valueptr == '<' && !hex) + { + hex = 1; + valueptr ++; + } + + if (hex) + { + if (isxdigit(valueptr[0]) && isxdigit(valueptr[1])) + { + if (isdigit(valueptr[0])) + sub->user_data[i] = (unsigned char)((valueptr[0] - '0') << 4); + else + sub->user_data[i] = (unsigned char)((tolower(valueptr[0]) - 'a' + 10) << 4); + + if (isdigit(valueptr[1])) + sub->user_data[i] |= valueptr[1] - '0'; + else + sub->user_data[i] |= tolower(valueptr[1]) - 'a' + 10; + + valueptr += 2; + + if (*valueptr == '>') + { + hex = 0; + valueptr ++; + } + } + else + break; + } + else + sub->user_data[i] = (unsigned char)*valueptr++; + } + + if (*valueptr) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Bad UserData \'%s\' on line %d of subscriptions.conf.", + value, linenum); + } + else + sub->user_data_len = i; + } + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + break; + } + } + else if (!_cups_strcasecmp(line, "LeaseDuration")) + { + /* + * LeaseDuration # + */ + + if (value && isdigit(*value & 255)) + { + sub->lease = atoi(value); + sub->expire = sub->lease ? time(NULL) + sub->lease : 0; + } + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + break; + } + } + else if (!_cups_strcasecmp(line, "Interval")) + { + /* + * Interval # + */ + + if (value && isdigit(*value & 255)) + sub->interval = atoi(value); + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + break; + } + } + else if (!_cups_strcasecmp(line, "ExpirationTime")) + { + /* + * ExpirationTime # + */ + + if (value && isdigit(*value & 255)) + sub->expire = atoi(value); + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + break; + } + } + else if (!_cups_strcasecmp(line, "NextEventId")) + { + /* + * NextEventId # + */ + + if (value && isdigit(*value & 255)) + sub->next_event_id = sub->first_event_id = atoi(value); + else + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Syntax error on line %d of subscriptions.conf.", + linenum); + break; + } + } + else + { + /* + * Something else we don't understand... + */ + + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unknown configuration directive %s on line %d of subscriptions.conf.", + line, linenum); + } + } + + cupsFileClose(fp); +} + + +/* + * 'cupsdSaveAllSubscriptions()' - Save all subscriptions to the .conf file. + */ + +void +cupsdSaveAllSubscriptions(void) +{ + int i; /* Looping var */ + cups_file_t *fp; /* subscriptions.conf file */ + char filename[1024], /* subscriptions.conf filename */ + temp[1024]; /* Temporary string */ + cupsd_subscription_t *sub; /* Current subscription */ + time_t curtime; /* Current time */ + struct tm curdate; /* Current date */ + unsigned mask; /* Current event mask */ + const char *name; /* Current event name */ + int hex; /* Non-zero if we are writing hex data */ + + + /* + * Create the subscriptions.conf file... + */ + + snprintf(filename, sizeof(filename), "%s/subscriptions.conf", ServerRoot); + + if ((fp = cupsdCreateConfFile(filename, ConfigFilePerm)) == NULL) + return; + + cupsdLogMessage(CUPSD_LOG_INFO, "Saving subscriptions.conf..."); + + /* + * Write a small header to the file... + */ + + time(&curtime); + localtime_r(&curtime, &curdate); + strftime(temp, sizeof(temp) - 1, "%Y-%m-%d %H:%M", &curdate); + + cupsFilePuts(fp, "# Subscription configuration file for " CUPS_SVERSION "\n"); + cupsFilePrintf(fp, "# Written by cupsd on %s\n", temp); + + cupsFilePrintf(fp, "NextSubscriptionId %d\n", NextSubscriptionId); + + /* + * Write every subscription known to the system... + */ + + for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); + sub; + sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) + { + cupsFilePrintf(fp, "\n", sub->id); + + if ((name = cupsdEventName((cupsd_eventmask_t)sub->mask)) != NULL) + { + /* + * Simple event list... + */ + + cupsFilePrintf(fp, "Events %s\n", name); + } + else + { + /* + * Complex event list... + */ + + cupsFilePuts(fp, "Events"); + + for (mask = 1; mask < CUPSD_EVENT_ALL; mask <<= 1) + if (sub->mask & mask) + cupsFilePrintf(fp, " %s", cupsdEventName((cupsd_eventmask_t)mask)); + + cupsFilePuts(fp, "\n"); + } + + if (sub->owner) + cupsFilePrintf(fp, "Owner %s\n", sub->owner); + if (sub->recipient) + cupsFilePrintf(fp, "Recipient %s\n", sub->recipient); + if (sub->job) + cupsFilePrintf(fp, "JobId %d\n", sub->job->id); + if (sub->dest) + cupsFilePrintf(fp, "PrinterName %s\n", sub->dest->name); + + if (sub->user_data_len > 0) + { + cupsFilePuts(fp, "UserData "); + + for (i = 0, hex = 0; i < sub->user_data_len; i ++) + { + if (sub->user_data[i] < ' ' || + sub->user_data[i] > 0x7f || + sub->user_data[i] == '<') + { + if (!hex) + { + cupsFilePrintf(fp, "<%02X", sub->user_data[i]); + hex = 1; + } + else + cupsFilePrintf(fp, "%02X", sub->user_data[i]); + } + else + { + if (hex) + { + cupsFilePrintf(fp, ">%c", sub->user_data[i]); + hex = 0; + } + else + cupsFilePutChar(fp, sub->user_data[i]); + } + } + + if (hex) + cupsFilePuts(fp, ">\n"); + else + cupsFilePutChar(fp, '\n'); + } + + cupsFilePrintf(fp, "LeaseDuration %d\n", sub->lease); + cupsFilePrintf(fp, "Interval %d\n", sub->interval); + cupsFilePrintf(fp, "ExpirationTime %ld\n", (long)sub->expire); + cupsFilePrintf(fp, "NextEventId %d\n", sub->next_event_id); + + cupsFilePuts(fp, "\n"); + } + + cupsdCloseCreatedConfFile(fp, filename); +} + + +/* + * 'cupsdStopAllNotifiers()' - Stop all notifier processes. + */ + +void +cupsdStopAllNotifiers(void) +{ + cupsd_subscription_t *sub; /* Current subscription */ + + + /* + * See if we have started any notifiers... + */ + + if (!NotifierStatusBuffer) + return; + + /* + * Yes, kill any processes that are left... + */ + + for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); + sub; + sub = (cupsd_subscription_t *)cupsArrayNext(Subscriptions)) + if (sub->pid) + { + cupsdEndProcess(sub->pid, 0); + + close(sub->pipe); + sub->pipe = -1; + } + + /* + * Close the status pipes... + */ + + if (NotifierPipes[0] >= 0) + { + cupsdRemoveSelect(NotifierPipes[0]); + + cupsdStatBufDelete(NotifierStatusBuffer); + + close(NotifierPipes[0]); + close(NotifierPipes[1]); + + NotifierPipes[0] = -1; + NotifierPipes[1] = -1; + NotifierStatusBuffer = NULL; + } +} + + +/* + * 'cupsd_compare_subscriptions()' - Compare two subscriptions. + */ + +static int /* O - Result of comparison */ +cupsd_compare_subscriptions( + cupsd_subscription_t *first, /* I - First subscription object */ + cupsd_subscription_t *second, /* I - Second subscription object */ + void *unused) /* I - Unused user data pointer */ +{ + (void)unused; + + return (first->id - second->id); +} + + +/* + * 'cupsd_delete_event()' - Delete a single event... + * + * Oldest events must be deleted first, otherwise the subscription cache + * flushing code will not work properly. + */ + +static void +cupsd_delete_event(cupsd_event_t *event)/* I - Event to delete */ +{ + /* + * Free memory... + */ + + ippDelete(event->attrs); + free(event); +} + + +#ifdef HAVE_DBUS +/* + * 'cupsd_send_dbus()' - Send a DBUS notification... + */ + +static void +cupsd_send_dbus(cupsd_eventmask_t event,/* I - Event to send */ + cupsd_printer_t *dest,/* I - Destination, if any */ + cupsd_job_t *job) /* I - Job, if any */ +{ + DBusError error; /* Error, if any */ + DBusMessage *message; /* Message to send */ + DBusMessageIter iter; /* Iterator for message data */ + const char *what; /* What to send */ + static DBusConnection *con = NULL; /* Connection to DBUS server */ + + + /* + * Figure out what to send, if anything... + */ + + if (event & CUPSD_EVENT_PRINTER_ADDED) + what = "PrinterAdded"; + else if (event & CUPSD_EVENT_PRINTER_DELETED) + what = "PrinterRemoved"; + else if (event & CUPSD_EVENT_PRINTER_CHANGED) + what = "QueueChanged"; + else if (event & CUPSD_EVENT_JOB_CREATED) + what = "JobQueuedLocal"; + else if ((event & CUPSD_EVENT_JOB_STATE) && job && + job->state_value == IPP_JOB_PROCESSING) + what = "JobStartedLocal"; + else + return; + + /* + * Verify connection to DBUS server... + */ + + if (con && !dbus_connection_get_is_connected(con)) + { + dbus_connection_unref(con); + con = NULL; + } + + if (!con) + { + dbus_error_init(&error); + + con = dbus_bus_get(getuid() ? DBUS_BUS_SESSION : DBUS_BUS_SYSTEM, &error); + if (!con) + { + dbus_error_free(&error); + return; + } + } + + /* + * Create and send the new message... + */ + + message = dbus_message_new_signal("/com/redhat/PrinterSpooler", + "com.redhat.PrinterSpooler", what); + + dbus_message_append_iter_init(message, &iter); + if (dest) + dbus_message_iter_append_string(&iter, dest->name); + if (job) + { + dbus_message_iter_append_uint32(&iter, job->id); + dbus_message_iter_append_string(&iter, job->username); + } + + dbus_connection_send(con, message, NULL); + dbus_connection_flush(con); + dbus_message_unref(message); +} +#endif /* HAVE_DBUS */ + + +/* + * 'cupsd_send_notification()' - Send a notification for the specified event. + */ + +static void +cupsd_send_notification( + cupsd_subscription_t *sub, /* I - Subscription object */ + cupsd_event_t *event) /* I - Event to send */ +{ + ipp_state_t state; /* IPP event state */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, + "cupsd_send_notification(sub=%p(%d), event=%p(%s))", + sub, sub->id, event, cupsdEventName(event->event)); + + /* + * Allocate the events array as needed... + */ + + if (!sub->events) + { + sub->events = cupsArrayNew3((cups_array_func_t)NULL, NULL, + (cups_ahash_func_t)NULL, 0, + (cups_acopy_func_t)NULL, + (cups_afree_func_t)cupsd_delete_event); + + if (!sub->events) + { + cupsdLogMessage(CUPSD_LOG_CRIT, + "Unable to allocate memory for subscription #%d!", + sub->id); + return; + } + } + + /* + * Purge an old event as needed... + */ + + if (cupsArrayCount(sub->events) >= MaxEvents) + { + /* + * Purge the oldest event in the cache... + */ + + cupsArrayRemove(sub->events, cupsArrayFirst(sub->events)); + + sub->first_event_id ++; + } + + /* + * Add the event to the subscription. Since the events array is + * always MaxEvents in length, and since we will have already + * removed an event from the subscription cache if we hit the + * event cache limit, we don't need to check for overflow here... + */ + + cupsArrayAdd(sub->events, event); + + /* + * Deliver the event... + */ + + if (sub->recipient) + { + for (;;) + { + if (sub->pipe < 0) + cupsd_start_notifier(sub); + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "sub->pipe=%d", sub->pipe); + + if (sub->pipe < 0) + break; + + event->attrs->state = IPP_IDLE; + + while ((state = ippWriteFile(sub->pipe, event->attrs)) != IPP_DATA) + if (state == IPP_ERROR) + break; + + if (state == IPP_ERROR) + { + if (errno == EPIPE) + { + /* + * Notifier died, try restarting it... + */ + + cupsdLogMessage(CUPSD_LOG_WARN, + "Notifier for subscription %d (%s) went away, " + "retrying!", + sub->id, sub->recipient); + cupsdEndProcess(sub->pid, 0); + + close(sub->pipe); + sub->pipe = -1; + continue; + } + + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to send event for subscription %d (%s)!", + sub->id, sub->recipient); + } + + /* + * If we get this far, break out of the loop... + */ + + break; + } + } + + /* + * Bump the event sequence number... + */ + + sub->next_event_id ++; +} + + +/* + * 'cupsd_start_notifier()' - Start a notifier subprocess... + */ + +static void +cupsd_start_notifier( + cupsd_subscription_t *sub) /* I - Subscription object */ +{ + int pid; /* Notifier process ID */ + int fds[2]; /* Pipe file descriptors */ + char *argv[4], /* Command-line arguments */ + *envp[MAX_ENV], /* Environment variables */ + user_data[128], /* Base-64 encoded user data */ + scheme[256], /* notify-recipient-uri scheme */ + *ptr, /* Pointer into scheme */ + command[1024]; /* Notifier command */ + + + /* + * Extract the scheme name from the recipient URI and point to the + * notifier program... + */ + + strlcpy(scheme, sub->recipient, sizeof(scheme)); + if ((ptr = strchr(scheme, ':')) != NULL) + *ptr = '\0'; + + snprintf(command, sizeof(command), "%s/notifier/%s", ServerBin, scheme); + + /* + * Base-64 encode the user data... + */ + + httpEncode64_2(user_data, sizeof(user_data), (char *)sub->user_data, + sub->user_data_len); + + /* + * Setup the argument array... + */ + + argv[0] = command; + argv[1] = sub->recipient; + argv[2] = user_data; + argv[3] = NULL; + + /* + * Setup the environment... + */ + + cupsdLoadEnv(envp, (int)(sizeof(envp) / sizeof(envp[0]))); + + /* + * Create pipes as needed... + */ + + if (!NotifierStatusBuffer) + { + /* + * Create the status pipe... + */ + + if (cupsdOpenPipe(NotifierPipes)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to create pipes for notifier status - %s", + strerror(errno)); + return; + } + + NotifierStatusBuffer = cupsdStatBufNew(NotifierPipes[0], "[Notifier]"); + + cupsdAddSelect(NotifierPipes[0], (cupsd_selfunc_t)cupsd_update_notifier, + NULL, NULL); + } + + if (cupsdOpenPipe(fds)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, + "Unable to create pipes for notifier %s - %s", + scheme, strerror(errno)); + return; + } + + /* + * Make sure the delivery pipe is non-blocking... + */ + + fcntl(fds[1], F_SETFL, fcntl(fds[1], F_GETFL) | O_NONBLOCK); + + /* + * Create the notifier process... + */ + + if (cupsdStartProcess(command, argv, envp, fds[0], -1, NotifierPipes[1], + -1, -1, 0, DefaultProfile, NULL, &pid) < 0) + { + /* + * Error - can't fork! + */ + + cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to fork for notifier %s - %s", + scheme, strerror(errno)); + + cupsdClosePipe(fds); + } + else + { + /* + * Fork successful - return the PID... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Notifier %s started - PID = %d", + scheme, pid); + + sub->pid = pid; + sub->pipe = fds[1]; + sub->status = 0; + + close(fds[0]); + } +} + + +/* + * 'cupsd_update_notifier()' - Read messages from notifiers. + */ + +void +cupsd_update_notifier(void) +{ + char message[1024]; /* Pointer to message text */ + int loglevel; /* Log level for message */ + + + while (cupsdStatBufUpdate(NotifierStatusBuffer, &loglevel, + message, sizeof(message))) + { + if (loglevel == CUPSD_LOG_INFO) + cupsdLogMessage(CUPSD_LOG_INFO, "%s", message); + + if (!strchr(NotifierStatusBuffer->buffer, '\n')) + break; + } +} diff --git a/scheduler/subscriptions.h b/scheduler/subscriptions.h new file mode 100644 index 0000000..9be5fe6 --- /dev/null +++ b/scheduler/subscriptions.h @@ -0,0 +1,155 @@ +/* + * Subscription definitions for the CUPS scheduler. + * + * Copyright 2007-2010 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Event mask enumeration... + */ + +typedef enum +{ + /* Individual printer events... */ + CUPSD_EVENT_PRINTER_STATE = 0x0001, /* Sent after generic printer state change */ + CUPSD_EVENT_PRINTER_RESTARTED = 0x0002, + /* Sent after printer restarted */ + CUPSD_EVENT_PRINTER_SHUTDOWN = 0x0004,/* Sent after printer shutdown */ + CUPSD_EVENT_PRINTER_STOPPED = 0x0008, /* Sent after printer stopped */ + + CUPSD_EVENT_PRINTER_CONFIG = 0x0010, /* Send after add/modify changes attrs */ + CUPSD_EVENT_PRINTER_FINISHINGS_CHANGED = 0x0020, + /* Sent after finishings-supported changed */ + CUPSD_EVENT_PRINTER_MEDIA_CHANGED = 0x0040, + /* Sent after media-supported changed */ + CUPSD_EVENT_PRINTER_ADDED = 0x0080, /* Sent after printer added */ + CUPSD_EVENT_PRINTER_DELETED = 0x0100, /* Sent after printer deleted */ + CUPSD_EVENT_PRINTER_MODIFIED = 0x0200,/* Sent after printer modified */ + CUPSD_EVENT_PRINTER_QUEUE_ORDER_CHANGED = 0x0400, + /* Sent when the order of jobs is changed */ + + /* Convenience printer event groupings... */ + CUPSD_EVENT_PRINTER_STATE_CHANGED = 0x000f, + /* STATE + RESTARTED + SHUTDOWN + STOPPED */ + CUPSD_EVENT_PRINTER_CONFIG_CHANGED = 0x0070, + /* CONFIG + FINISHINGS_CHANGED + MEDIA_CHANGED */ + CUPSD_EVENT_PRINTER_CHANGED = 0x07ff, /* All of the above */ + + /* Individual job events... */ + CUPSD_EVENT_JOB_STATE = 0x0800, /* Any state change */ + CUPSD_EVENT_JOB_CREATED = 0x1000, /* Send after job is created */ + CUPSD_EVENT_JOB_COMPLETED = 0x2000, /* Sent after job is completed */ + CUPSD_EVENT_JOB_STOPPED = 0x4000, /* Sent after job is stopped */ + CUPSD_EVENT_JOB_CONFIG_CHANGED = 0x8000, + /* Sent after set-job-attributes */ + CUPSD_EVENT_JOB_PROGRESS = 0x10000, /* Sent for each page */ + + /* Convenience job event grouping... */ + CUPSD_EVENT_JOB_STATE_CHANGED = 0x7800, + /* STATE + CREATED + COMPLETED + STOPPED */ + + /* Server events... */ + CUPSD_EVENT_SERVER_RESTARTED = 0x20000,/* Sent after server restarts */ + CUPSD_EVENT_SERVER_STARTED = 0x40000, /* Sent when server first starts */ + CUPSD_EVENT_SERVER_STOPPED = 0x80000, /* Sent when server is stopped */ + CUPSD_EVENT_SERVER_AUDIT = 0x100000, /* Security-related stuff */ + + /* Everything and nothing... */ + CUPSD_EVENT_NONE = 0, /* Nothing */ + CUPSD_EVENT_ALL = 0x1fffff /* Everything */ +} cupsd_eventmask_t; + + +/* + * Notiification support structures... + */ + +typedef struct cupsd_event_s /**** Event structure ****/ +{ + cupsd_eventmask_t event; /* Event */ + time_t time; /* Time of event */ + ipp_t *attrs; /* Notification message */ + cupsd_printer_t *dest; /* Associated printer, if any */ + cupsd_job_t *job; /* Associated job, if any */ +} cupsd_event_t; + +typedef struct cupsd_subscription_s /**** Subscription structure ****/ +{ + int id; /* subscription-id */ + unsigned mask; /* Event mask */ + char *owner; /* notify-subscriber-user-name */ + char *recipient; /* notify-recipient-uri, if applicable */ + unsigned char user_data[64]; /* notify-user-data */ + int user_data_len; /* Length of notify-user-data */ + int lease; /* notify-lease-duration */ + int interval; /* notify-time-interval */ + cupsd_printer_t *dest; /* notify-printer-uri, if any */ + cupsd_job_t *job; /* notify-job-id, if any */ + int pid; /* Process ID of notifier */ + int pipe; /* Pipe to notifier */ + int status; /* Exit status of notifier */ + time_t last; /* Time of last notification */ + time_t expire; /* Lease expiration time */ + int first_event_id, /* First event-id in cache */ + next_event_id; /* Next event-id to use */ + cups_array_t *events; /* Cached events */ +} cupsd_subscription_t; + + +/* + * Globals... + */ + +VAR int MaxSubscriptions VALUE(100), + /* Overall subscription limit */ + MaxSubscriptionsPerJob VALUE(0), + /* Per-job subscription limit */ + MaxSubscriptionsPerPrinter VALUE(0), + /* Per-printer subscription limit */ + MaxSubscriptionsPerUser VALUE(0), + /* Per-user subscription limit */ + NextSubscriptionId VALUE(1), + /* Next subscription ID */ + DefaultLeaseDuration VALUE(86400), + /* Default notify-lease-duration */ + MaxLeaseDuration VALUE(0); + /* Maximum notify-lease-duration */ +VAR cups_array_t *Subscriptions VALUE(NULL); + /* Active subscriptions */ + +VAR int MaxEvents VALUE(100); /* Maximum number of events */ + +VAR unsigned LastEvent VALUE(0); /* Last event(s) processed */ +VAR int NotifierPipes[2] VALUE2(-1, -1); + /* Pipes for notifier error/debug output */ +VAR cupsd_statbuf_t *NotifierStatusBuffer VALUE(NULL); + /* Status buffer for pipes */ + + +/* + * Prototypes... + */ + +extern void cupsdAddEvent(cupsd_eventmask_t event, cupsd_printer_t *dest, + cupsd_job_t *job, const char *text, ...); +extern cupsd_subscription_t * + cupsdAddSubscription(unsigned mask, cupsd_printer_t *dest, + cupsd_job_t *job, const char *uri, + int sub_id); +extern void cupsdDeleteAllSubscriptions(void); +extern void cupsdDeleteSubscription(cupsd_subscription_t *sub, int update); +extern const char * + cupsdEventName(cupsd_eventmask_t event); +extern cupsd_eventmask_t + cupsdEventValue(const char *name); + +extern cupsd_subscription_t * + cupsdFindSubscription(int id); +extern void cupsdExpireSubscriptions(cupsd_printer_t *dest, + cupsd_job_t *job); +extern void cupsdLoadAllSubscriptions(void); +extern void cupsdSaveAllSubscriptions(void); +extern void cupsdStopAllNotifiers(void); diff --git a/scheduler/sysman.c b/scheduler/sysman.c new file mode 100644 index 0000000..56eb4e3 --- /dev/null +++ b/scheduler/sysman.c @@ -0,0 +1,1039 @@ +/* + * System management functions for the CUPS scheduler. + * + * Copyright 2007-2018 by Apple Inc. + * Copyright 2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + + +/* + * Include necessary headers... + */ + +#include "cupsd.h" +#ifdef __APPLE__ +# include +#endif /* __APPLE__ */ + + +/* + * The system management functions cover disk and power management which + * are primarily used for portable computers. + * + * Disk management involves delaying the write of certain configuration + * and state files to minimize the number of times the disk has to spin + * up or flash to be written to. + * + * Power management support is currently only implemented on macOS, but + * essentially we use four functions to let the OS know when it is OK to + * put the system to sleep, typically when we are not in the middle of + * printing a job. And on macOS we can also "sleep print" - basically the + * system only wakes up long enough to service network requests and process + * print jobs. + */ + + +/* + * 'cupsdCleanDirty()' - Write dirty config and state files. + */ + +void +cupsdCleanDirty(void) +{ + if (DirtyFiles & CUPSD_DIRTY_PRINTERS) + cupsdSaveAllPrinters(); + + if (DirtyFiles & CUPSD_DIRTY_CLASSES) + cupsdSaveAllClasses(); + + if (DirtyFiles & CUPSD_DIRTY_PRINTCAP) + cupsdWritePrintcap(); + + if (DirtyFiles & CUPSD_DIRTY_JOBS) + { + cupsd_job_t *job; /* Current job */ + + cupsdSaveAllJobs(); + + for (job = (cupsd_job_t *)cupsArrayFirst(Jobs); + job; + job = (cupsd_job_t *)cupsArrayNext(Jobs)) + if (job->dirty) + cupsdSaveJob(job); + } + + if (DirtyFiles & CUPSD_DIRTY_SUBSCRIPTIONS) + cupsdSaveAllSubscriptions(); + + DirtyFiles = CUPSD_DIRTY_NONE; + DirtyCleanTime = 0; + + cupsdSetBusyState(0); +} + + +/* + * 'cupsdMarkDirty()' - Mark config or state files as needing a write. + */ + +void +cupsdMarkDirty(int what) /* I - What file(s) are dirty? */ +{ + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdMarkDirty(%c%c%c%c%c)", + (what & CUPSD_DIRTY_PRINTERS) ? 'P' : '-', + (what & CUPSD_DIRTY_CLASSES) ? 'C' : '-', + (what & CUPSD_DIRTY_PRINTCAP) ? 'p' : '-', + (what & CUPSD_DIRTY_JOBS) ? 'J' : '-', + (what & CUPSD_DIRTY_SUBSCRIPTIONS) ? 'S' : '-'); + + if (what == CUPSD_DIRTY_PRINTCAP && !Printcap) + return; + + DirtyFiles |= what; + + if (!DirtyCleanTime) + DirtyCleanTime = time(NULL) + DirtyCleanInterval; + + cupsdSetBusyState(0); +} + + +/* + * 'cupsdSetBusyState()' - Let the system know when we are busy doing something. + */ + +void +cupsdSetBusyState(int working) /* I - Doing significant work? */ +{ + int i; /* Looping var */ + cupsd_job_t *job; /* Current job */ + cupsd_printer_t *p; /* Current printer */ + int newbusy; /* New busy state */ + static int busy = 0; /* Current busy state */ + static const char * const busy_text[] = + { /* Text for busy states */ + "Not busy", + "Dirty files", + "Printing jobs", + "Printing jobs and dirty files", + "Active clients", + "Active clients and dirty files", + "Active clients and printing jobs", + "Active clients, printing jobs, and dirty files" + }; +#ifdef __APPLE__ + static IOPMAssertionID keep_awake = 0;/* Keep the system awake while printing */ +#endif /* __APPLE__ */ + + + /* + * Figure out how busy we are... + */ + + newbusy = (DirtyCleanTime ? 1 : 0) | + ((working || cupsArrayCount(ActiveClients) > 0) ? 4 : 0); + + for (job = (cupsd_job_t *)cupsArrayFirst(PrintingJobs); + job; + job = (cupsd_job_t *)cupsArrayNext(PrintingJobs)) + { + if ((p = job->printer) != NULL) + { + for (i = 0; i < p->num_reasons; i ++) + if (!strcmp(p->reasons[i], "connecting-to-device")) + break; + + if (!p->num_reasons || i >= p->num_reasons) + break; + } + } + + if (job) + newbusy |= 2; + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "cupsdSetBusyState: newbusy=\"%s\", busy=\"%s\"", + busy_text[newbusy], busy_text[busy]); + + /* + * Manage state changes... + */ + + if (newbusy != busy) + busy = newbusy; + +#ifdef __APPLE__ + if (cupsArrayCount(PrintingJobs) > 0 && !keep_awake) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "Asserting NetworkClientActive."); + + IOPMAssertionCreateWithName(kIOPMAssertNetworkClientActive, + kIOPMAssertionLevelOn, + CFSTR("org.cups.cupsd"), &keep_awake); + } + else if (cupsArrayCount(PrintingJobs) == 0 && keep_awake) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "Releasing power assertion."); + IOPMAssertionRelease(keep_awake); + keep_awake = 0; + } +#endif /* __APPLE__ */ +} + + +#ifdef __APPLE__ +/* + * This is the Apple-specific system event code. It works by creating + * a worker thread that waits for events from the OS and relays them + * to the main thread via a traditional pipe. + */ + +/* + * Include MacOS-specific headers... + */ + +# include +# include +# include +# include +# include +# include +# include + + +/* + * Constants... + */ + +# define SYSEVENT_CANSLEEP 0x1 /* Decide whether to allow sleep or not */ +# define SYSEVENT_WILLSLEEP 0x2 /* Computer will go to sleep */ +# define SYSEVENT_WOKE 0x4 /* Computer woke from sleep */ +# define SYSEVENT_NETCHANGED 0x8 /* Network changed */ +# define SYSEVENT_NAMECHANGED 0x10 /* Computer name changed */ + + +/* + * Structures... + */ + +typedef struct cupsd_sysevent_s /*** System event data ****/ +{ + unsigned char event; /* Event bit field */ + io_connect_t powerKernelPort; /* Power context data */ + long powerNotificationID; /* Power event data */ +} cupsd_sysevent_t; + + +typedef struct cupsd_thread_data_s /*** Thread context data ****/ +{ + cupsd_sysevent_t sysevent; /* System event */ + CFRunLoopTimerRef timerRef; /* Timer to delay some change * + * notifications */ +} cupsd_thread_data_t; + + +/* + * Local globals... + */ + +static pthread_t SysEventThread = NULL; + /* Thread to host a runloop */ +static pthread_mutex_t SysEventThreadMutex = { 0 }; + /* Coordinates access to shared gloabals */ +static pthread_cond_t SysEventThreadCond = { 0 }; + /* Thread initialization complete condition */ +static CFRunLoopRef SysEventRunloop = NULL; + /* The runloop. Access must be protected! */ +static CFStringRef ComputerNameKey = NULL, + /* Computer name key */ + BTMMKey = NULL, /* Back to My Mac key */ + NetworkGlobalKeyIPv4 = NULL, + /* Network global IPv4 key */ + NetworkGlobalKeyIPv6 = NULL, + /* Network global IPv6 key */ + NetworkGlobalKeyDNS = NULL, + /* Network global DNS key */ + HostNamesKey = NULL, + /* Host name key */ + NetworkInterfaceKeyIPv4 = NULL, + /* Netowrk interface key */ + NetworkInterfaceKeyIPv6 = NULL; + /* Netowrk interface key */ +static cupsd_sysevent_t LastSysEvent; /* Last system event (for delayed sleep) */ +static int NameChanged = 0;/* Did we get a 'name changed' event during sleep? */ +static int PSToken = 0; /* Power source notifications */ + + +/* + * Local functions... + */ + +static void *sysEventThreadEntry(void); +static void sysEventPowerNotifier(void *context, io_service_t service, + natural_t messageType, + void *messageArgument); +static void sysEventConfigurationNotifier(SCDynamicStoreRef store, + CFArrayRef changedKeys, + void *context); +static void sysEventTimerNotifier(CFRunLoopTimerRef timer, void *context); +static void sysUpdate(void); +static void sysUpdateNames(void); + + +/* + * 'cupsdAllowSleep()' - Tell the OS it is now OK to sleep. + */ + +void +cupsdAllowSleep(void) +{ + cupsdCleanDirty(); + + cupsdLogMessage(CUPSD_LOG_DEBUG, "Allowing system sleep."); + IOAllowPowerChange(LastSysEvent.powerKernelPort, + LastSysEvent.powerNotificationID); +} + + +/* + * 'cupsdStartSystemMonitor()' - Start monitoring for system change. + */ + +void +cupsdStartSystemMonitor(void) +{ + int flags; /* fcntl flags on pipe */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdStartSystemMonitor()"); + + if (cupsdOpenPipe(SysEventPipes)) + { + cupsdLogMessage(CUPSD_LOG_ERROR, "System event monitor pipe() failed - %s!", + strerror(errno)); + return; + } + + cupsdAddSelect(SysEventPipes[0], (cupsd_selfunc_t)sysUpdate, NULL, NULL); + + /* + * Set non-blocking mode on the descriptor we will be receiving notification + * events on. + */ + + flags = fcntl(SysEventPipes[0], F_GETFL, 0); + fcntl(SysEventPipes[0], F_SETFL, flags | O_NONBLOCK); + + /* + * Start the thread that runs the runloop... + */ + + pthread_mutex_init(&SysEventThreadMutex, NULL); + pthread_cond_init(&SysEventThreadCond, NULL); + pthread_create(&SysEventThread, NULL, (void *(*)(void *))sysEventThreadEntry, NULL); + + /* + * Monitor for power source changes via dispatch queue... + */ + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdStartSystemMonitor: IOPSGetTimeRemainingEstimate=%f", IOPSGetTimeRemainingEstimate()); + ACPower = IOPSGetTimeRemainingEstimate() == kIOPSTimeRemainingUnlimited; + notify_register_dispatch(kIOPSNotifyPowerSource, &PSToken, dispatch_get_main_queue(), ^(int t) { (void)t; + ACPower = IOPSGetTimeRemainingEstimate() == kIOPSTimeRemainingUnlimited; }); +} + + +/* + * 'cupsdStopSystemMonitor()' - Stop monitoring for system change. + */ + +void +cupsdStopSystemMonitor(void) +{ + CFRunLoopRef rl; /* The event handler runloop */ + + + cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdStopSystemMonitor()"); + + if (SysEventThread) + { + /* + * Make sure the thread has completed it's initialization and + * stored it's runloop reference in the shared global. + */ + + pthread_mutex_lock(&SysEventThreadMutex); + + if (!SysEventRunloop) + pthread_cond_wait(&SysEventThreadCond, &SysEventThreadMutex); + + rl = SysEventRunloop; + SysEventRunloop = NULL; + + pthread_mutex_unlock(&SysEventThreadMutex); + + if (rl) + CFRunLoopStop(rl); + + pthread_join(SysEventThread, NULL); + pthread_mutex_destroy(&SysEventThreadMutex); + pthread_cond_destroy(&SysEventThreadCond); + } + + if (SysEventPipes[0] >= 0) + { + cupsdRemoveSelect(SysEventPipes[0]); + cupsdClosePipe(SysEventPipes); + } + + if (PSToken != 0) + { + notify_cancel(PSToken); + PSToken = 0; + } +} + + +/* + * 'sysEventThreadEntry()' - A thread to receive power and computer name + * change notifications. + */ + +static void * /* O - Return status/value */ +sysEventThreadEntry(void) +{ + io_object_t powerNotifierObj; + /* Power notifier object */ + IONotificationPortRef powerNotifierPort; + /* Power notifier port */ + SCDynamicStoreRef store = NULL;/* System Config dynamic store */ + CFRunLoopSourceRef powerRLS = NULL,/* Power runloop source */ + storeRLS = NULL;/* System Config runloop source */ + CFStringRef key[6], /* System Config keys */ + pattern[2]; /* System Config patterns */ + CFArrayRef keys = NULL, /* System Config key array*/ + patterns = NULL;/* System Config pattern array */ + SCDynamicStoreContext storeContext; /* Dynamic store context */ + CFRunLoopTimerContext timerContext; /* Timer context */ + cupsd_thread_data_t threadData; /* Thread context data for the * + * runloop notifiers */ + + + /* + * Register for power state change notifications + */ + + bzero(&threadData, sizeof(threadData)); + + threadData.sysevent.powerKernelPort = + IORegisterForSystemPower(&threadData, &powerNotifierPort, + sysEventPowerNotifier, &powerNotifierObj); + + if (threadData.sysevent.powerKernelPort) + { + powerRLS = IONotificationPortGetRunLoopSource(powerNotifierPort); + CFRunLoopAddSource(CFRunLoopGetCurrent(), powerRLS, kCFRunLoopDefaultMode); + } + + /* + * Register for system configuration change notifications + */ + + bzero(&storeContext, sizeof(storeContext)); + storeContext.info = &threadData; + + store = SCDynamicStoreCreate(kCFAllocatorDefault, CFSTR("cupsd"), + sysEventConfigurationNotifier, &storeContext); + + if (!ComputerNameKey) + ComputerNameKey = SCDynamicStoreKeyCreateComputerName(kCFAllocatorDefault); + + if (!BTMMKey) + BTMMKey = SCDynamicStoreKeyCreate(kCFAllocatorDefault, + CFSTR("Setup:/Network/BackToMyMac")); + + if (!NetworkGlobalKeyIPv4) + NetworkGlobalKeyIPv4 = + SCDynamicStoreKeyCreateNetworkGlobalEntity(kCFAllocatorDefault, + kSCDynamicStoreDomainState, + kSCEntNetIPv4); + + if (!NetworkGlobalKeyIPv6) + NetworkGlobalKeyIPv6 = + SCDynamicStoreKeyCreateNetworkGlobalEntity(kCFAllocatorDefault, + kSCDynamicStoreDomainState, + kSCEntNetIPv6); + + if (!NetworkGlobalKeyDNS) + NetworkGlobalKeyDNS = + SCDynamicStoreKeyCreateNetworkGlobalEntity(kCFAllocatorDefault, + kSCDynamicStoreDomainState, + kSCEntNetDNS); + + if (!HostNamesKey) + HostNamesKey = SCDynamicStoreKeyCreateHostNames(kCFAllocatorDefault); + + if (!NetworkInterfaceKeyIPv4) + NetworkInterfaceKeyIPv4 = + SCDynamicStoreKeyCreateNetworkInterfaceEntity(kCFAllocatorDefault, + kSCDynamicStoreDomainState, + kSCCompAnyRegex, + kSCEntNetIPv4); + + if (!NetworkInterfaceKeyIPv6) + NetworkInterfaceKeyIPv6 = + SCDynamicStoreKeyCreateNetworkInterfaceEntity(kCFAllocatorDefault, + kSCDynamicStoreDomainState, + kSCCompAnyRegex, + kSCEntNetIPv6); + + if (store && ComputerNameKey && HostNamesKey && + NetworkGlobalKeyIPv4 && NetworkGlobalKeyIPv6 && NetworkGlobalKeyDNS && + NetworkInterfaceKeyIPv4 && NetworkInterfaceKeyIPv6) + { + key[0] = ComputerNameKey; + key[1] = BTMMKey; + key[2] = NetworkGlobalKeyIPv4; + key[3] = NetworkGlobalKeyIPv6; + key[4] = NetworkGlobalKeyDNS; + key[5] = HostNamesKey; + + pattern[0] = NetworkInterfaceKeyIPv4; + pattern[1] = NetworkInterfaceKeyIPv6; + + keys = CFArrayCreate(kCFAllocatorDefault, (const void **)key, + sizeof(key) / sizeof(key[0]), + &kCFTypeArrayCallBacks); + + patterns = CFArrayCreate(kCFAllocatorDefault, (const void **)pattern, + sizeof(pattern) / sizeof(pattern[0]), + &kCFTypeArrayCallBacks); + + if (keys && patterns && + SCDynamicStoreSetNotificationKeys(store, keys, patterns)) + { + if ((storeRLS = SCDynamicStoreCreateRunLoopSource(kCFAllocatorDefault, + store, 0)) != NULL) + { + CFRunLoopAddSource(CFRunLoopGetCurrent(), storeRLS, + kCFRunLoopDefaultMode); + } + } + } + + if (keys) + CFRelease(keys); + + if (patterns) + CFRelease(patterns); + + /* + * Set up a timer to delay the wake change notifications. + * + * The initial time is set a decade or so into the future, we'll adjust + * this later. + */ + + bzero(&timerContext, sizeof(timerContext)); + timerContext.info = &threadData; + + threadData.timerRef = + CFRunLoopTimerCreate(kCFAllocatorDefault, + CFAbsoluteTimeGetCurrent() + (86400L * 365L * 10L), + 86400L * 365L * 10L, 0, 0, sysEventTimerNotifier, + &timerContext); + CFRunLoopAddTimer(CFRunLoopGetCurrent(), threadData.timerRef, + kCFRunLoopDefaultMode); + + /* + * Store our runloop in a global so the main thread can use it to stop us. + */ + + pthread_mutex_lock(&SysEventThreadMutex); + + SysEventRunloop = CFRunLoopGetCurrent(); + + pthread_cond_signal(&SysEventThreadCond); + pthread_mutex_unlock(&SysEventThreadMutex); + + /* + * Disappear into the runloop until it's stopped by the main thread. + */ + + CFRunLoopRun(); + + /* + * Clean up before exiting. + */ + + if (threadData.timerRef) + { + CFRunLoopRemoveTimer(CFRunLoopGetCurrent(), threadData.timerRef, + kCFRunLoopDefaultMode); + CFRelease(threadData.timerRef); + } + + if (threadData.sysevent.powerKernelPort) + { + CFRunLoopRemoveSource(CFRunLoopGetCurrent(), powerRLS, + kCFRunLoopDefaultMode); + IODeregisterForSystemPower(&powerNotifierObj); + IOServiceClose(threadData.sysevent.powerKernelPort); + IONotificationPortDestroy(powerNotifierPort); + } + + if (storeRLS) + { + CFRunLoopRemoveSource(CFRunLoopGetCurrent(), storeRLS, + kCFRunLoopDefaultMode); + CFRunLoopSourceInvalidate(storeRLS); + CFRelease(storeRLS); + } + + if (store) + CFRelease(store); + + pthread_exit(NULL); +} + + +/* + * 'sysEventPowerNotifier()' - Handle power notification events. + */ + +static void +sysEventPowerNotifier( + void *context, /* I - Thread context data */ + io_service_t service, /* I - Unused service info */ + natural_t messageType, /* I - Type of message */ + void *messageArgument) /* I - Message data */ +{ + int sendit = 1; /* Send event to main thread? * + * (0 = no, 1 = yes, 2 = delayed */ + cupsd_thread_data_t *threadData; /* Thread context data */ + + + threadData = (cupsd_thread_data_t *)context; + + (void)service; /* anti-compiler-warning-code */ + + switch (messageType) + { + case kIOMessageCanSystemPowerOff : + case kIOMessageCanSystemSleep : + threadData->sysevent.event |= SYSEVENT_CANSLEEP; + break; + + case kIOMessageSystemWillRestart : + case kIOMessageSystemWillPowerOff : + case kIOMessageSystemWillSleep : + threadData->sysevent.event |= SYSEVENT_WILLSLEEP; + threadData->sysevent.event &= ~SYSEVENT_WOKE; + break; + + case kIOMessageSystemHasPoweredOn : + /* + * Because powered on is followed by a net-changed event, delay + * before sending it. + */ + + sendit = 2; + threadData->sysevent.event |= SYSEVENT_WOKE; + break; + + case kIOMessageSystemWillNotPowerOff : + case kIOMessageSystemWillNotSleep : +# ifdef kIOMessageSystemWillPowerOn + case kIOMessageSystemWillPowerOn : +# endif /* kIOMessageSystemWillPowerOn */ + default: + sendit = 0; + break; + } + + switch (messageType) + { + case kIOMessageCanSystemPowerOff : + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Got kIOMessageCanSystemPowerOff message."); + break; + case kIOMessageCanSystemSleep : + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Got kIOMessageCannSystemSleep message."); + break; + case kIOMessageSystemWillRestart : + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Got kIOMessageSystemWillRestart message."); + break; + case kIOMessageSystemWillPowerOff : + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Got kIOMessageSystemWillPowerOff message."); + break; + case kIOMessageSystemWillSleep : + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Got kIOMessageSystemWillSleep message."); + break; + case kIOMessageSystemHasPoweredOn : + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Got kIOMessageSystemHasPoweredOn message."); + break; + case kIOMessageSystemWillNotPowerOff : + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Got kIOMessageSystemWillNotPowerOff message."); + break; + case kIOMessageSystemWillNotSleep : + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Got kIOMessageSystemWillNotSleep message."); + break; +# ifdef kIOMessageSystemWillPowerOn + case kIOMessageSystemWillPowerOn : + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Got kIOMessageSystemWillPowerOn message."); + break; +# endif /* kIOMessageSystemWillPowerOn */ + default: + cupsdLogMessage(CUPSD_LOG_DEBUG, "Got unknown power message %d.", + (int)messageType); + break; + } + + if (sendit == 0) + IOAllowPowerChange(threadData->sysevent.powerKernelPort, + (long)messageArgument); + else + { + threadData->sysevent.powerNotificationID = (long)messageArgument; + + if (sendit == 1) + { + /* + * Send the event to the main thread now. + */ + + write(SysEventPipes[1], &threadData->sysevent, + sizeof(threadData->sysevent)); + threadData->sysevent.event = 0; + } + else + { + /* + * Send the event to the main thread after 1 to 2 seconds. + */ + + CFRunLoopTimerSetNextFireDate(threadData->timerRef, + CFAbsoluteTimeGetCurrent() + 2); + } + } +} + + +/* + * 'sysEventConfigurationNotifier()' - Network configuration change notification + * callback. + */ + +static void +sysEventConfigurationNotifier( + SCDynamicStoreRef store, /* I - System data (unused) */ + CFArrayRef changedKeys, /* I - Changed data */ + void *context) /* I - Thread context data */ +{ + cupsd_thread_data_t *threadData; /* Thread context data */ + + + threadData = (cupsd_thread_data_t *)context; + + (void)store; /* anti-compiler-warning-code */ + + CFRange range = CFRangeMake(0, CFArrayGetCount(changedKeys)); + + if (CFArrayContainsValue(changedKeys, range, ComputerNameKey) || + CFArrayContainsValue(changedKeys, range, BTMMKey)) + threadData->sysevent.event |= SYSEVENT_NAMECHANGED; + else + { + threadData->sysevent.event |= SYSEVENT_NETCHANGED; + + /* + * Indicate the network interface list needs updating... + */ + + NetIFUpdate = 1; + } + + /* + * Because we registered for several different kinds of change notifications + * this callback usually gets called several times in a row. We use a timer to + * de-bounce these so we only end up generating one event for the main thread. + */ + + CFRunLoopTimerSetNextFireDate(threadData->timerRef, + CFAbsoluteTimeGetCurrent() + 5); +} + + +/* + * 'sysEventTimerNotifier()' - Handle delayed event notifications. + */ + +static void +sysEventTimerNotifier( + CFRunLoopTimerRef timer, /* I - Timer information */ + void *context) /* I - Thread context data */ +{ + cupsd_thread_data_t *threadData; /* Thread context data */ + + + (void)timer; + + threadData = (cupsd_thread_data_t *)context; + + /* + * If an event is still pending send it to the main thread. + */ + + if (threadData->sysevent.event) + { + write(SysEventPipes[1], &threadData->sysevent, + sizeof(threadData->sysevent)); + threadData->sysevent.event = 0; + } +} + + +/* + * 'sysUpdate()' - Update the current system state. + */ + +static void +sysUpdate(void) +{ + int i; /* Looping var */ + cupsd_sysevent_t sysevent; /* The system event */ + cupsd_printer_t *p; /* Printer information */ + + + /* + * Drain the event pipe... + */ + + while (read((int)SysEventPipes[0], &sysevent, sizeof(sysevent)) + == sizeof(sysevent)) + { + if (sysevent.event & SYSEVENT_CANSLEEP) + { + /* + * If there are active printers that don't have the connecting-to-device + * or cups-waiting-for-job-completed printer-state-reason then cancel the + * sleep request, i.e., these reasons indicate a job that is not actively + * doing anything... + */ + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + { + if (p->job) + { + for (i = 0; i < p->num_reasons; i ++) + if (!strcmp(p->reasons[i], "connecting-to-device") || + !strcmp(p->reasons[i], "cups-waiting-for-job-completed")) + break; + + if (!p->num_reasons || i >= p->num_reasons) + break; + } + } + + if (p) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "System sleep canceled because printer %s is active.", + p->name); + IOCancelPowerChange(sysevent.powerKernelPort, + sysevent.powerNotificationID); + } + else + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "System wants to sleep."); + IOAllowPowerChange(sysevent.powerKernelPort, + sysevent.powerNotificationID); + } + } + + if (sysevent.event & SYSEVENT_WILLSLEEP) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "System going to sleep."); + + Sleeping = 1; + + cupsdCleanDirty(); + + /* + * If we have no printing jobs, allow the power change immediately. + * Otherwise set the SleepJobs time to 10 seconds in the future when + * we'll take more drastic measures... + */ + + if (cupsArrayCount(PrintingJobs) == 0) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "Allowing system sleep."); + IOAllowPowerChange(sysevent.powerKernelPort, + sysevent.powerNotificationID); + } + else + { + /* + * If there are active printers that don't have the connecting-to-device + * or cups-waiting-for-job-completed printer-state-reasons then delay the + * sleep request, i.e., these reasons indicate a job is active... + */ + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + { + if (p->job) + { + for (i = 0; i < p->num_reasons; i ++) + if (!strcmp(p->reasons[i], "connecting-to-device") || + !strcmp(p->reasons[i], "cups-waiting-for-job-completed")) + break; + + if (!p->num_reasons || i >= p->num_reasons) + break; + } + } + + if (p) + { + cupsdLogMessage(CUPSD_LOG_INFO, + "System sleep delayed because printer %s is active.", + p->name); + + LastSysEvent = sysevent; + SleepJobs = time(NULL) + 10; + } + else + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "Allowing system sleep."); + IOAllowPowerChange(sysevent.powerKernelPort, + sysevent.powerNotificationID); + } + } + } + + if (sysevent.event & SYSEVENT_WOKE) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "System woke from sleep."); + IOAllowPowerChange(sysevent.powerKernelPort, + sysevent.powerNotificationID); + Sleeping = 0; + + /* + * Make sure jobs that were queued prior to the system going to sleep don't + * get canceled right away... + */ + + if (MaxJobTime > 0) + { + cupsd_job_t *job; /* Current job */ + + for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs); + job; + job = (cupsd_job_t *)cupsArrayNext(ActiveJobs)) + { + if (job->cancel_time) + { + ipp_attribute_t *cancel_after = ippFindAttribute(job->attrs, + "job-cancel-after", + IPP_TAG_INTEGER); + + if (cancel_after) + job->cancel_time = time(NULL) + ippGetInteger(cancel_after, 0); + else + job->cancel_time = time(NULL) + MaxJobTime; + } + } + } + + if (NameChanged) + sysUpdateNames(); + + cupsdCheckJobs(); + } + + if (sysevent.event & SYSEVENT_NETCHANGED) + { + if (Sleeping) + cupsdLogMessage(CUPSD_LOG_DEBUG, + "System network configuration changed - " + "ignored while sleeping."); + else + cupsdLogMessage(CUPSD_LOG_DEBUG, + "System network configuration changed."); + } + + if (sysevent.event & SYSEVENT_NAMECHANGED) + { + if (Sleeping) + { + NameChanged = 1; + + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Computer name or BTMM domains changed - ignored while " + "sleeping."); + } + else + { + cupsdLogMessage(CUPSD_LOG_DEBUG, + "Computer name or BTMM domains changed."); + + sysUpdateNames(); + } + } + } +} + + +/* + * 'sysUpdateNames()' - Update computer and/or BTMM domains. + */ + +static void +sysUpdateNames(void) +{ + cupsd_printer_t *p; /* Current printer */ + + + NameChanged = 0; + + /* + * De-register the individual printers... + */ + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + cupsdDeregisterPrinter(p, 1); + +# if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + /* + * Update the computer name and BTMM domain list... + */ + + cupsdUpdateDNSSDName(); +# endif /* HAVE_DNSSD || HAVE_AVAHI */ + + /* + * Now re-register them... + */ + + for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); + p; + p = (cupsd_printer_t *)cupsArrayNext(Printers)) + cupsdRegisterPrinter(p); +} +#endif /* __APPLE__ */ diff --git a/scheduler/sysman.h b/scheduler/sysman.h new file mode 100644 index 0000000..c1a37f3 --- /dev/null +++ b/scheduler/sysman.h @@ -0,0 +1,55 @@ +/* + * System management definitions for the CUPS scheduler. + * + * Copyright 2007-2017 by Apple Inc. + * Copyright 2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Constants... + */ + +#define CUPSD_DIRTY_NONE 0 /* Nothing is dirty */ +#define CUPSD_DIRTY_PRINTERS 1 /* printers.conf is dirty */ +#define CUPSD_DIRTY_CLASSES 2 /* classes.conf is dirty */ +#define CUPSD_DIRTY_PRINTCAP 4 /* printcap is dirty */ +#define CUPSD_DIRTY_JOBS 8 /* jobs.cache or "c" file(s) are dirty */ +#define CUPSD_DIRTY_SUBSCRIPTIONS 16 /* subscriptions.conf is dirty */ + + +/* + * Globals... + */ + +VAR int DirtyFiles VALUE(CUPSD_DIRTY_NONE), + /* What files are dirty? */ + DirtyCleanInterval VALUE(DEFAULT_KEEPALIVE); + /* How often do we write dirty files? */ +VAR time_t DirtyCleanTime VALUE(0); + /* When to clean dirty files next */ +VAR int ACPower VALUE(-1), + /* Is the system on AC power? */ + Sleeping VALUE(0); + /* Non-zero if machine is entering or * + * in a sleep state... */ +VAR time_t SleepJobs VALUE(0); + /* Time when all jobs must be * + * canceled for system sleep. */ +#ifdef __APPLE__ +VAR int SysEventPipes[2] VALUE2(-1,-1); + /* System event notification pipes */ +#endif /* __APPLE__ */ + + +/* + * Prototypes... + */ + +extern void cupsdAllowSleep(void); +extern void cupsdCleanDirty(void); +extern void cupsdMarkDirty(int what); +extern void cupsdSetBusyState(int working); +extern void cupsdStartSystemMonitor(void); +extern void cupsdStopSystemMonitor(void); diff --git a/scheduler/testlpd.c b/scheduler/testlpd.c new file mode 100644 index 0000000..d974c52 --- /dev/null +++ b/scheduler/testlpd.c @@ -0,0 +1,528 @@ +/* + * cups-lpd test program for CUPS. + * + * Copyright 2007-2015 by Apple Inc. + * Copyright 2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include +#include +#include + + +/* + * Local functions... + */ + +static int do_command(int outfd, int infd, const char *command); +static int print_job(int outfd, int infd, char *dest, char **args) _CUPS_NONNULL(4); +static int print_waiting(int outfd, int infd, char *dest); +static int remove_job(int outfd, int infd, char *dest, char **args) _CUPS_NONNULL(4); +static int status_long(int outfd, int infd, char *dest, char **args) _CUPS_NONNULL(4); +static int status_short(int outfd, int infd, char *dest, char **args) _CUPS_NONNULL(4); +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Simulate an LPD client. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + int status; /* Test status */ + char *op, /* Operation to test */ + **opargs, /* Remaining arguments */ + *dest; /* Destination */ + int cupslpd_argc; /* Argument count for cups-lpd */ + char *cupslpd_argv[1000]; /* Arguments for cups-lpd */ + int cupslpd_stdin[2], /* Standard input for cups-lpd */ + cupslpd_stdout[2], /* Standard output for cups-lpd */ + cupslpd_pid, /* Process ID for cups-lpd */ + cupslpd_status; /* Status of cups-lpd process */ + + + /* + * Collect command-line arguments... + */ + + op = NULL; + opargs = argv + argc; + dest = NULL; + cupslpd_argc = 1; + cupslpd_argv[0] = (char *)"cups-lpd"; + + for (i = 1; i < argc; i ++) + if (!strncmp(argv[i], "-o", 2)) + { + cupslpd_argv[cupslpd_argc++] = argv[i]; + + if (!argv[i][2]) + { + i ++; + + if (i >= argc) + usage(); + + cupslpd_argv[cupslpd_argc++] = argv[i]; + } + } + else if (argv[i][0] == '-') + usage(); + else if (!op) + op = argv[i]; + else if (!dest) + dest = argv[i]; + else + { + opargs = argv + i; + break; + } + + if (!op || + (!strcmp(op, "print-job") && (!dest || !opargs)) || + (!strcmp(op, "remove-job") && (!dest || !opargs)) || + (strcmp(op, "print-job") && strcmp(op, "print-waiting") && + strcmp(op, "remove-job") && strcmp(op, "status-long") && + strcmp(op, "status-short"))) + { + printf("op=\"%s\", dest=\"%s\", opargs=%p\n", op, dest, opargs); + usage(); + } + + /* + * Run the cups-lpd program using pipes... + */ + + cupslpd_argv[cupslpd_argc] = NULL; + + pipe(cupslpd_stdin); + pipe(cupslpd_stdout); + + if ((cupslpd_pid = fork()) < 0) + { + /* + * Error! + */ + + perror("testlpd: Unable to fork"); + return (1); + } + else if (cupslpd_pid == 0) + { + /* + * Child goes here... + */ + + dup2(cupslpd_stdin[0], 0); + close(cupslpd_stdin[0]); + close(cupslpd_stdin[1]); + + dup2(cupslpd_stdout[1], 1); + close(cupslpd_stdout[0]); + close(cupslpd_stdout[1]); + + execv("./cups-lpd", cupslpd_argv); + + perror("testlpd: Unable to exec ./cups-lpd"); + exit(errno); + } + else + { + close(cupslpd_stdin[0]); + close(cupslpd_stdout[1]); + } + + /* + * Do the operation test... + */ + + if (!strcmp(op, "print-job")) + status = print_job(cupslpd_stdin[1], cupslpd_stdout[0], dest, opargs); + else if (!strcmp(op, "print-waiting")) + status = print_waiting(cupslpd_stdin[1], cupslpd_stdout[0], dest); + else if (!strcmp(op, "remove-job")) + status = remove_job(cupslpd_stdin[1], cupslpd_stdout[0], dest, opargs); + else if (!strcmp(op, "status-long")) + status = status_long(cupslpd_stdin[1], cupslpd_stdout[0], dest, opargs); + else if (!strcmp(op, "status-short")) + status = status_short(cupslpd_stdin[1], cupslpd_stdout[0], dest, opargs); + else + { + printf("Unknown operation \"%s\"!\n", op); + status = 1; + } + + /* + * Kill the test program... + */ + + close(cupslpd_stdin[1]); + close(cupslpd_stdout[0]); + + while (wait(&cupslpd_status) != cupslpd_pid); + + printf("cups-lpd exit status was %d...\n", cupslpd_status); + + /* + * Return the test status... + */ + + return (status); +} + + +/* + * 'do_command()' - Send the LPD command and wait for a response. + */ + +static int /* O - Status from cups-lpd */ +do_command(int outfd, /* I - Command file descriptor */ + int infd, /* I - Response file descriptor */ + const char *command) /* I - Command line to send */ +{ + size_t len; /* Length of command line */ + char status; /* Status byte */ + + + printf("COMMAND: %02X %s", command[0], command + 1); + + len = strlen(command); + + if ((size_t)write(outfd, command, len) < len) + { + puts(" Write failed!"); + return (-1); + } + + if (read(infd, &status, 1) < 1) + puts("STATUS: ERROR"); + else + printf("STATUS: %d\n", status); + + return (status); +} + + +/* + * 'print_job()' - Submit a file for printing. + */ + +static int /* O - Status from cups-lpd */ +print_job(int outfd, /* I - Command file descriptor */ + int infd, /* I - Response file descriptor */ + char *dest, /* I - Destination */ + char **args) /* I - Arguments */ +{ + int fd; /* Print file descriptor */ + char command[1024], /* Command buffer */ + control[1024], /* Control file */ + buffer[8192]; /* Print buffer */ + int status; /* Status of command */ + struct stat fileinfo; /* File information */ + char *jobname; /* Job name */ + int sequence; /* Sequence number */ + ssize_t bytes; /* Bytes read/written */ + + + /* + * Check the print file... + */ + + if (stat(args[0], &fileinfo)) + { + perror(args[0]); + return (-1); + } + + if ((fd = open(args[0], O_RDONLY)) < 0) + { + perror(args[0]); + return (-1); + } + + /* + * Send the "receive print job" command... + */ + + snprintf(command, sizeof(command), "\002%s\n", dest); + if ((status = do_command(outfd, infd, command)) != 0) + { + close(fd); + return (status); + } + + /* + * Format a control file string that will be used to submit the job... + */ + + if ((jobname = strrchr(args[0], '/')) != NULL) + jobname ++; + else + jobname = args[0]; + + sequence = (int)getpid() % 1000; + + snprintf(control, sizeof(control), + "Hlocalhost\n" + "P%s\n" + "J%s\n" + "ldfA%03dlocalhost\n" + "UdfA%03dlocalhost\n" + "N%s\n", + cupsUser(), jobname, sequence, sequence, jobname); + + /* + * Send the control file... + */ + + bytes = (ssize_t)strlen(control); + + snprintf(command, sizeof(command), "\002%d cfA%03dlocalhost\n", + (int)bytes, sequence); + + if ((status = do_command(outfd, infd, command)) != 0) + { + close(fd); + return (status); + } + + bytes ++; + + if (write(outfd, control, (size_t)bytes) < bytes) + { + printf("CONTROL: Unable to write %d bytes!\n", (int)bytes); + close(fd); + return (-1); + } + + printf("CONTROL: Wrote %d bytes.\n", (int)bytes); + + if (read(infd, command, 1) < 1) + { + puts("STATUS: ERROR"); + close(fd); + return (-1); + } + else + { + status = command[0]; + + printf("STATUS: %d\n", status); + } + + /* + * Send the data file... + */ + + snprintf(command, sizeof(command), "\003%d dfA%03dlocalhost\n", + (int)fileinfo.st_size, sequence); + + if ((status = do_command(outfd, infd, command)) != 0) + { + close(fd); + return (status); + } + + while ((bytes = read(fd, buffer, sizeof(buffer))) > 0) + { + if (write(outfd, buffer, (size_t)bytes) < bytes) + { + printf("DATA: Unable to write %d bytes!\n", (int)bytes); + close(fd); + return (-1); + } + } + + write(outfd, "", 1); + + close(fd); + + printf("DATA: Wrote %d bytes.\n", (int)fileinfo.st_size); + + if (read(infd, command, 1) < 1) + { + puts("STATUS: ERROR"); + close(fd); + return (-1); + } + else + { + status = command[0]; + + printf("STATUS: %d\n", status); + } + + return (status); +} + + +/* + * 'print_waiting()' - Print waiting jobs. + */ + +static int /* O - Status from cups-lpd */ +print_waiting(int outfd, /* I - Command file descriptor */ + int infd, /* I - Response file descriptor */ + char *dest) /* I - Destination */ +{ + char command[1024]; /* Command buffer */ + + + /* + * Send the "print waiting jobs" command... + */ + + snprintf(command, sizeof(command), "\001%s\n", dest); + + return (do_command(outfd, infd, command)); +} + + +/* + * 'remove_job()' - Cancel a print job. + */ + +static int /* O - Status from cups-lpd */ +remove_job(int outfd, /* I - Command file descriptor */ + int infd, /* I - Response file descriptor */ + char *dest, /* I - Destination */ + char **args) /* I - Arguments */ +{ + int i; /* Looping var */ + char command[1024]; /* Command buffer */ + + /* + * Send the "remove jobs" command... + */ + + snprintf(command, sizeof(command), "\005%s", dest); + + for (i = 0; args[i]; i ++) + { + strlcat(command, " ", sizeof(command)); + strlcat(command, args[i], sizeof(command)); + } + + strlcat(command, "\n", sizeof(command)); + + return (do_command(outfd, infd, command)); +} + + +/* + * 'status_long()' - Show the long printer status. + */ + +static int /* O - Status from cups-lpd */ +status_long(int outfd, /* I - Command file descriptor */ + int infd, /* I - Response file descriptor */ + char *dest, /* I - Destination */ + char **args) /* I - Arguments */ +{ + char command[1024], /* Command buffer */ + buffer[8192]; /* Status buffer */ + ssize_t bytes; /* Bytes read/written */ + + + /* + * Send the "send short status" command... + */ + + if (args[0]) + snprintf(command, sizeof(command), "\004%s %s\n", dest, args[0]); + else + snprintf(command, sizeof(command), "\004%s\n", dest); + + bytes = (ssize_t)strlen(command); + + if (write(outfd, command, (size_t)bytes) < bytes) + return (-1); + + /* + * Read the status back... + */ + + while ((bytes = read(infd, buffer, sizeof(buffer))) > 0) + { + fwrite(buffer, 1, (size_t)bytes, stdout); + fflush(stdout); + } + + return (0); +} + + +/* + * 'status_short()' - Show the short printer status. + */ + +static int /* O - Status from cups-lpd */ +status_short(int outfd, /* I - Command file descriptor */ + int infd, /* I - Response file descriptor */ + char *dest, /* I - Destination */ + char **args) /* I - Arguments */ +{ + char command[1024], /* Command buffer */ + buffer[8192]; /* Status buffer */ + ssize_t bytes; /* Bytes read/written */ + + + /* + * Send the "send short status" command... + */ + + if (args[0]) + snprintf(command, sizeof(command), "\003%s %s\n", dest, args[0]); + else + snprintf(command, sizeof(command), "\003%s\n", dest); + + bytes = (ssize_t)strlen(command); + + if (write(outfd, command, (size_t)bytes) < bytes) + return (-1); + + /* + * Read the status back... + */ + + while ((bytes = read(infd, buffer, sizeof(buffer))) > 0) + { + fwrite(buffer, 1, (size_t)bytes, stdout); + fflush(stdout); + } + + return (0); +} + + +/* + * 'usage()' - Show program usage... + */ + +static void +usage(void) +{ + puts("Usage: testlpd [options] print-job printer filename [... filename]"); + puts(" testlpd [options] print-waiting [printer or user]"); + puts(" testlpd [options] remove-job printer [user [job-id]]"); + puts(" testlpd [options] status-long [printer or user]"); + puts(" testlpd [options] status-short [printer or user]"); + puts(""); + puts("Options:"); + puts(" -o name=value"); + + exit(0); +} diff --git a/scheduler/testmime.c b/scheduler/testmime.c new file mode 100644 index 0000000..221a65a --- /dev/null +++ b/scheduler/testmime.c @@ -0,0 +1,496 @@ +/* + * MIME test program for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include "mime.h" + + +/* + * Local functions... + */ + +static void add_ppd_filter(mime_t *mime, mime_type_t *filtertype, + const char *filter); +static void add_ppd_filters(mime_t *mime, ppd_file_t *ppd); +static void print_rules(mime_magic_t *rules); +static void type_dir(mime_t *mime, const char *dirname); + + +/* + * 'main()' - Main entry for the test program. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping vars */ + const char *filter_path; /* Filter path */ + char super[MIME_MAX_SUPER], /* Super-type name */ + type[MIME_MAX_TYPE]; /* Type name */ + int compression; /* Compression of file */ + int cost; /* Cost of filters */ + mime_t *mime; /* MIME database */ + mime_type_t *src, /* Source type */ + *dst; /* Destination type */ + struct stat srcinfo; /* Source information */ + ppd_file_t *ppd; /* PPD file */ + cups_array_t *filters; /* Filters for the file */ + mime_filter_t *filter; /* Current filter */ + + + mime = NULL; + src = NULL; + dst = NULL; + ppd = NULL; + filter_path = "../filter:" CUPS_SERVERBIN "/filter"; + + srcinfo.st_size = 0; + + for (i = 1; i < argc; i ++) + if (!strcmp(argv[i], "-d")) + { + i ++; + + if (i < argc) + { + mime = mimeLoad(argv[i], filter_path); + + if (ppd) + add_ppd_filters(mime, ppd); + } + } + else if (!strcmp(argv[i], "-f")) + { + i ++; + + if (i < argc) + filter_path = argv[i]; + } + else if (!strcmp(argv[i], "-p")) + { + i ++; + + if (i < argc) + { + ppd = ppdOpenFile(argv[i]); + + if (mime) + add_ppd_filters(mime, ppd); + } + } + else if (!src) + { + if (!mime) + mime = mimeLoad("../conf", filter_path); + + if (ppd) + add_ppd_filters(mime, ppd); + + src = mimeFileType(mime, argv[i], NULL, &compression); + stat(argv[i], &srcinfo); + + if (src) + printf("%s: %s/%s%s\n", argv[i], src->super, src->type, + compression ? " (gzipped)" : ""); + else if ((src = mimeType(mime, "application", "octet-stream")) != NULL) + printf("%s: application/octet-stream\n", argv[i]); + else + { + printf("%s: unknown\n", argv[i]); + if (mime) + mimeDelete(mime); + return (1); + } + } + else + { + sscanf(argv[i], "%15[^/]/%255s", super, type); + dst = mimeType(mime, super, type); + + filters = mimeFilter2(mime, src, (size_t)srcinfo.st_size, dst, &cost); + + if (!filters) + { + printf("No filters to convert from %s/%s to %s.\n", src->super, + src->type, argv[i]); + } + else + { + int first = 1; /* First filter shown? */ + + printf("Filter cost = %d\n", cost); + + for (filter = (mime_filter_t *)cupsArrayFirst(filters); + filter; + filter = (mime_filter_t *)cupsArrayNext(filters)) + { + if (!strcmp(filter->filter, "-")) + continue; + + if (first) + { + first = 0; + fputs(filter->filter, stdout); + } + else + printf(" | %s", filter->filter); + } + + putchar('\n'); + + cupsArrayDelete(filters); + } + } + + if (!mime) + { + mime = mimeLoad("../conf", filter_path); + if (ppd) + add_ppd_filters(mime, ppd); + } + + if (!src) + { + puts("MIME database types:"); + for (src = mimeFirstType(mime); src; src = mimeNextType(mime)) + { + printf("\t%s/%s (%d):\n", src->super, src->type, src->priority); + print_rules(src->rules); + puts(""); + } + + puts(""); + + puts("MIME database filters:"); + for (filter = mimeFirstFilter(mime); filter; filter = mimeNextFilter(mime)) + printf("\t%s/%s to %s/%s: %s (%d)\n", + filter->src->super, filter->src->type, + filter->dst->super, filter->dst->type, + filter->filter, filter->cost); + + type_dir(mime, "../doc"); + } + + return (0); +} + + +/* + * 'add_printer_filter()' - Add a printer filter from a PPD. + */ + +static void +add_ppd_filter(mime_t *mime, /* I - MIME database */ + mime_type_t *filtertype, /* I - Filter or prefilter MIME type */ + const char *filter) /* I - Filter to add */ +{ + char super[MIME_MAX_SUPER], /* Super-type for filter */ + type[MIME_MAX_TYPE], /* Type for filter */ + dsuper[MIME_MAX_SUPER], /* Destination super-type for filter */ + dtype[MIME_MAX_TYPE], /* Destination type for filter */ + dest[MIME_MAX_SUPER + MIME_MAX_TYPE + 2], + /* Destination super/type */ + program[1024]; /* Program/filter name */ + int cost; /* Cost of filter */ + size_t maxsize = 0; /* Maximum supported file size */ + mime_type_t *temptype, /* MIME type looping var */ + *desttype; /* Destination MIME type */ + mime_filter_t *filterptr; /* MIME filter */ + + + /* + * Parse the filter string; it should be in one of the following formats: + * + * source/type cost program + * source/type cost maxsize(nnnn) program + * source/type dest/type cost program + * source/type dest/type cost maxsize(nnnn) program + */ + + if (sscanf(filter, "%15[^/]/%255s%*[ \t]%15[^/]/%255s%d%*[ \t]%1023[^\n]", + super, type, dsuper, dtype, &cost, program) == 6) + { + snprintf(dest, sizeof(dest), "test/%s/%s", dsuper, dtype); + + if ((desttype = mimeType(mime, "printer", dest)) == NULL) + desttype = mimeAddType(mime, "printer", dest); + } + else + { + if (sscanf(filter, "%15[^/]/%255s%d%*[ \t]%1023[^\n]", super, type, &cost, + program) == 4) + { + desttype = filtertype; + } + else + { + printf("testmime: Invalid filter string \"%s\".\n", filter); + return; + } + } + + if (!strncmp(program, "maxsize(", 8)) + { + char *ptr; /* Pointer into maxsize(nnnn) program */ + + maxsize = (size_t)strtoll(program + 8, &ptr, 10); + + if (*ptr != ')') + { + printf("testmime: Invalid filter string \"%s\".\n", filter); + return; + } + + ptr ++; + while (_cups_isspace(*ptr)) + ptr ++; + + _cups_strcpy(program, ptr); + } + + /* + * Add the filter to the MIME database, supporting wildcards as needed... + */ + + for (temptype = mimeFirstType(mime); + temptype; + temptype = mimeNextType(mime)) + if (((super[0] == '*' && _cups_strcasecmp(temptype->super, "printer")) || + !_cups_strcasecmp(temptype->super, super)) && + (type[0] == '*' || !_cups_strcasecmp(temptype->type, type))) + { + if (desttype != filtertype) + { + filterptr = mimeAddFilter(mime, temptype, desttype, cost, program); + + if (!mimeFilterLookup(mime, desttype, filtertype)) + mimeAddFilter(mime, desttype, filtertype, 0, "-"); + } + else + filterptr = mimeAddFilter(mime, temptype, filtertype, cost, program); + + if (filterptr) + filterptr->maxsize = maxsize; + } +} + + +/* + * 'add_ppd_filters()' - Add all filters from a PPD. + */ + +static void +add_ppd_filters(mime_t *mime, /* I - MIME database */ + ppd_file_t *ppd) /* I - PPD file */ +{ + _ppd_cache_t *pc; /* Cache data for PPD */ + const char *value; /* Filter definition value */ + mime_type_t *filter, /* Filter type */ + *prefilter; /* Pre-filter type */ + + + pc = _ppdCacheCreateWithPPD(ppd); + if (!pc) + return; + + filter = mimeAddType(mime, "printer", "test"); + + if (pc->filters) + { + for (value = (const char *)cupsArrayFirst(pc->filters); + value; + value = (const char *)cupsArrayNext(pc->filters)) + add_ppd_filter(mime, filter, value); + } + else + { + add_ppd_filter(mime, filter, "application/vnd.cups-raw 0 -"); + add_ppd_filter(mime, filter, "application/vnd.cups-postscript 0 -"); + } + + if (pc->prefilters) + { + prefilter = mimeAddType(mime, "prefilter", "test"); + + for (value = (const char *)cupsArrayFirst(pc->prefilters); + value; + value = (const char *)cupsArrayNext(pc->prefilters)) + add_ppd_filter(mime, prefilter, value); + } +} + + +/* + * 'print_rules()' - Print the rules for a file type... + */ + +static void +print_rules(mime_magic_t *rules) /* I - Rules to print */ +{ + int i; /* Looping var */ + static char indent[255] = "\t"; /* Indentation for rules */ + + + if (rules == NULL) + return; + + while (rules != NULL) + { + printf("%s[%p] ", indent, rules); + + if (rules->invert) + printf("NOT "); + + switch (rules->op) + { + case MIME_MAGIC_MATCH : + printf("match(%s)", rules->value.matchv); + break; + case MIME_MAGIC_LOCALE : + printf("locale(%s)", rules->value.localev); + break; + case MIME_MAGIC_ASCII : + printf("ascii(%d,%d)", rules->offset, rules->length); + break; + case MIME_MAGIC_PRINTABLE : + printf("printable(%d,%d)", rules->offset, rules->length); + break; + case MIME_MAGIC_STRING : + printf("string(%d,", rules->offset); + for (i = 0; i < rules->length; i ++) + if (rules->value.stringv[i] < ' ' || + rules->value.stringv[i] > 126) + printf("<%02X>", rules->value.stringv[i]); + else + putchar(rules->value.stringv[i]); + putchar(')'); + break; + case MIME_MAGIC_CHAR : + printf("char(%d,%d)", rules->offset, rules->value.charv); + break; + case MIME_MAGIC_SHORT : + printf("short(%d,%d)", rules->offset, rules->value.shortv); + break; + case MIME_MAGIC_INT : + printf("int(%d,%d)", rules->offset, rules->value.intv); + break; + case MIME_MAGIC_CONTAINS : + printf("contains(%d,%d,", rules->offset, rules->region); + for (i = 0; i < rules->length; i ++) + if (rules->value.stringv[i] < ' ' || + rules->value.stringv[i] > 126) + printf("<%02X>", rules->value.stringv[i]); + else + putchar(rules->value.stringv[i]); + putchar(')'); + break; + default : + break; + } + + if (rules->child != NULL) + { + if (rules->op == MIME_MAGIC_OR) + puts("OR ("); + else + puts("AND ("); + + strcat(indent, "\t"); + print_rules(rules->child); + indent[strlen(indent) - 1] = '\0'; + printf("%s)\n", indent); + } + else + putchar('\n'); + + rules = rules->next; + } +} + + +/* + * 'type_dir()' - Show the MIME types for a given directory. + */ + +static void +type_dir(mime_t *mime, /* I - MIME database */ + const char *dirname) /* I - Directory */ +{ + cups_dir_t *dir; /* Directory */ + cups_dentry_t *dent; /* Directory entry */ + char filename[1024]; /* File to type */ + mime_type_t *filetype; /* File type */ + int compression; /* Compressed file? */ + mime_type_t *pstype; /* application/vnd.cups-postscript */ + cups_array_t *filters; /* Filters to pstype */ + mime_filter_t *filter; /* Current filter */ + int cost; /* Filter cost */ + + + dir = cupsDirOpen(dirname); + if (!dir) + return; + + pstype = mimeType(mime, "application", "vnd.cups-postscript"); + + while ((dent = cupsDirRead(dir)) != NULL) + { + if (dent->filename[0] == '.') + continue; + + snprintf(filename, sizeof(filename), "%s/%s", dirname, dent->filename); + + if (S_ISDIR(dent->fileinfo.st_mode)) + type_dir(mime, filename); + + if (!S_ISREG(dent->fileinfo.st_mode)) + continue; + + filetype = mimeFileType(mime, filename, NULL, &compression); + + if (filetype) + { + printf("%s: %s/%s%s\n", filename, filetype->super, filetype->type, + compression ? " (compressed)" : ""); + + filters = mimeFilter(mime, filetype, pstype, &cost); + + if (!filters) + puts(" No filters to convert application/vnd.cups-postscript."); + else + { + printf(" Filter cost = %d\n", cost); + + filter = (mime_filter_t *)cupsArrayFirst(filters); + printf(" %s", filter->filter); + + for (filter = (mime_filter_t *)cupsArrayNext(filters); + filter; + filter = (mime_filter_t *)cupsArrayNext(filters)) + printf(" | %s", filter->filter); + + putchar('\n'); + + cupsArrayDelete(filters); + } + } + else + printf("%s: unknown%s\n", filename, compression ? " (compressed)" : ""); + } + + cupsDirClose(dir); +} diff --git a/scheduler/testspeed.c b/scheduler/testspeed.c new file mode 100644 index 0000000..7cd875c --- /dev/null +++ b/scheduler/testspeed.c @@ -0,0 +1,368 @@ +/* + * Scheduler speed test for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include +#include +#include + + +/* + * Local functions... + */ + +static int do_test(const char *server, int port, + http_encryption_t encryption, int requests, + const char *opstring, int verbose); +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Send multiple IPP requests and report on the average response + * time. + */ + +int +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + char *server, /* Server to use */ + *ptr; /* Pointer to port in server */ + int port; /* Port to use */ + http_encryption_t encryption; /* Encryption to use */ + int requests; /* Number of requests to send */ + int children; /* Number of children to fork */ + int good_children; /* Number of children that exited normally */ + int pid; /* Child PID */ + int status; /* Child status */ + time_t start, /* Start time */ + end; /* End time */ + double elapsed; /* Elapsed time */ + int verbose; /* Verbosity */ + const char *opstring; /* Operation name */ + + + /* + * Parse command-line options... + */ + + requests = 100; + children = 5; + server = (char *)cupsServer(); + port = ippPort(); + encryption = HTTP_ENCRYPT_IF_REQUESTED; + verbose = 0; + opstring = NULL; + + for (i = 1; i < argc; i ++) + if (argv[i][0] == '-') + { + for (ptr = argv[i] + 1; *ptr; ptr ++) + switch (*ptr) + { + case 'E' : /* Enable encryption */ + encryption = HTTP_ENCRYPT_REQUIRED; + break; + + case 'c' : /* Number of children */ + i ++; + if (i >= argc) + usage(); + + children = atoi(argv[i]); + break; + + case 'o' : /* Operation */ + i ++; + if (i >= argc) + usage(); + + opstring = argv[i]; + break; + + case 'r' : /* Number of requests */ + i ++; + if (i >= argc) + usage(); + + requests = atoi(argv[i]); + break; + + case 'v' : /* Verbose logging */ + verbose ++; + break; + + default : + usage(); + break; + } + } + else + { + server = argv[i]; + + if (server[0] != '/' && (ptr = strrchr(server, ':')) != NULL) + { + *ptr++ = '\0'; + port = atoi(ptr); + } + } + + /* + * Then create child processes to act as clients... + */ + + if (children > 0) + { + printf("testspeed: Simulating %d clients with %d requests to %s with " + "%sencryption...\n", children, requests, server, + encryption == HTTP_ENCRYPT_IF_REQUESTED ? "no " : ""); + } + + start = time(NULL); + + if (children < 1) + return (do_test(server, port, encryption, requests, opstring, verbose)); + else if (children == 1) + good_children = do_test(server, port, encryption, requests, opstring, + verbose) ? 0 : 1; + else + { + char options[255], /* Command-line options for child */ + reqstr[255], /* Requests string for child */ + serverstr[255]; /* Server:port string for child */ + + + snprintf(reqstr, sizeof(reqstr), "%d", requests); + + if (port == 631 || server[0] == '/') + strlcpy(serverstr, server, sizeof(serverstr)); + else + snprintf(serverstr, sizeof(serverstr), "%s:%d", server, port); + + strlcpy(options, "-cr", sizeof(options)); + + if (encryption == HTTP_ENCRYPT_REQUIRED) + strlcat(options, "E", sizeof(options)); + + if (verbose) + strlcat(options, "v", sizeof(options)); + + for (i = 0; i < children; i ++) + { + fflush(stdout); + + if ((pid = fork()) == 0) + { + /* + * Child goes here... + */ + + if (opstring) + execlp(argv[0], argv[0], options, "0", reqstr, "-o", opstring, + serverstr, (char *)NULL); + else + execlp(argv[0], argv[0], options, "0", reqstr, serverstr, (char *)NULL); + + exit(errno); + } + else if (pid < 0) + { + printf("testspeed: Fork failed: %s\n", strerror(errno)); + break; + } + else + printf("testspeed: Started child %d...\n", pid); + } + + /* + * Wait for children to finish... + */ + + puts("testspeed: Waiting for children to finish..."); + + for (good_children = 0;;) + { + pid = wait(&status); + + if (pid < 0 && errno != EINTR) + break; + + printf("testspeed: Ended child %d (%d)...\n", pid, status / 256); + + if (!status) + good_children ++; + } + } + + /* + * Compute the total run time... + */ + + if (good_children > 0) + { + end = time(NULL); + elapsed = end - start; + i = good_children * requests; + + printf("testspeed: %dx%d=%d requests in %.1fs (%.3fs/r, %.1fr/s)\n", + good_children, requests, i, elapsed, elapsed / i, i / elapsed); + } + + /* + * Exit with no errors... + */ + + return (0); +} + + +/* + * 'do_test()' - Run a test on a specific host... + */ + +static int /* O - Exit status */ +do_test(const char *server, /* I - Server to use */ + int port, /* I - Port number to use */ + http_encryption_t encryption, /* I - Encryption to use */ + int requests, /* I - Number of requests to send */ + const char *opstring, /* I - Operation string */ + int verbose) /* I - Verbose output? */ +{ + int i; /* Looping var */ + http_t *http; /* Connection to server */ + ipp_t *request; /* IPP Request */ + struct timeval start, /* Start time */ + end; /* End time */ + double reqtime, /* Time for this request */ + elapsed; /* Elapsed time */ + int op; /* Current operation */ + static ipp_op_t ops[5] = /* Operations to test... */ + { + IPP_PRINT_JOB, + CUPS_GET_DEFAULT, + CUPS_GET_PRINTERS, + CUPS_GET_CLASSES, + IPP_GET_JOBS + }; + + + /* + * Connect to the server... + */ + + if ((http = httpConnectEncrypt(server, port, encryption)) == NULL) + { + printf("testspeed(%d): unable to connect to server - %s\n", (int)getpid(), + strerror(errno)); + return (1); + } + + /* + * Do multiple requests... + */ + + for (elapsed = 0.0, i = 0; i < requests; i ++) + { + /* + * Build a request which requires the following attributes: + * + * attributes-charset + * attributes-natural-language + * + * In addition, IPP_GET_JOBS needs a printer-uri attribute. + */ + + if (opstring) + op = ippOpValue(opstring); + else + op = ops[i % (int)(sizeof(ops) / sizeof(ops[0]))]; + + request = ippNewRequest(op); + + gettimeofday(&start, NULL); + + if (verbose) + printf("testspeed(%d): %.6f %s ", (int)getpid(), elapsed, + ippOpString(op)); + + switch (op) + { + case IPP_GET_JOBS : + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, "ipp://localhost/printers/"); + + default : + ippDelete(cupsDoRequest(http, request, "/")); + break; + + case IPP_PRINT_JOB : + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, "ipp://localhost/printers/test"); + ippDelete(cupsDoFileRequest(http, request, "/printers/test", + "../data/testprint.ps")); + break; + } + + gettimeofday(&end, NULL); + + reqtime = (end.tv_sec - start.tv_sec) + + 0.000001 * (end.tv_usec - start.tv_usec); + elapsed += reqtime; + + switch (cupsLastError()) + { + case IPP_OK : + case IPP_NOT_FOUND : + if (verbose) + { + printf("succeeded: %s (%.6f)\n", cupsLastErrorString(), reqtime); + fflush(stdout); + } + break; + + default : + if (!verbose) + printf("testspeed(%d): %s ", (int)getpid(), + ippOpString(ops[i & 3])); + + printf("failed: %s\n", cupsLastErrorString()); + httpClose(http); + return (1); + } + } + + httpClose(http); + + printf("testspeed(%d): %d requests in %.1fs (%.3fs/r, %.1fr/s)\n", + (int)getpid(), i, elapsed, elapsed / i, i / elapsed); + + return (0); +} + + +/* + * 'usage()' - Show program usage... + */ + +static void +usage(void) +{ + puts("Usage: testspeed [-c children] [-h] [-o operation] [-r requests] [-v] " + "[-E] hostname[:port]"); + exit(0); +} diff --git a/scheduler/testsub.c b/scheduler/testsub.c new file mode 100644 index 0000000..19d9dff --- /dev/null +++ b/scheduler/testsub.c @@ -0,0 +1,497 @@ +/* + * Scheduler notification tester for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 2006-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include /* TODO: Update so we don't need this */ + + +/* + * Local globals... + */ + +static int terminate = 0; + + +/* + * Local functions... + */ + +static void print_attributes(ipp_t *ipp, int indent); +static void sigterm_handler(int sig); +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Subscribe to the . + */ + +int +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + const char *uri; /* URI to use */ + int num_events; /* Number of events */ + const char *events[100]; /* Events */ + int subscription_id, /* notify-subscription-id */ + sequence_number, /* notify-sequence-number */ + interval; /* Interval between polls */ + http_t *http; /* HTTP connection */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* Current attribute */ +#if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) + struct sigaction action; /* Actions for POSIX signals */ +#endif /* HAVE_SIGACTION && !HAVE_SIGSET */ + + + /* + * Parse command-line... + */ + + num_events = 0; + uri = NULL; + + for (i = 1; i < argc; i ++) + if (!strcmp(argv[i], "-E")) + cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); + else if (!strcmp(argv[i], "-e")) + { + i ++; + if (i >= argc || num_events >= 100) + usage(); + + events[num_events] = argv[i]; + num_events ++; + } + else if (!strcmp(argv[i], "-h")) + { + i ++; + if (i >= argc) + usage(); + + cupsSetServer(argv[i]); + } + else if (uri || strncmp(argv[i], "ipp://", 6)) + usage(); + else + uri = argv[i]; + + if (!uri) + usage(); + + if (num_events == 0) + { + events[0] = "all"; + num_events = 1; + } + + /* + * Connect to the server... + */ + + if ((http = httpConnectEncrypt(cupsServer(), ippPort(), + cupsEncryption())) == NULL) + { + perror(cupsServer()); + return (1); + } + + /* + * Catch CTRL-C and SIGTERM... + */ + +#ifdef HAVE_SIGSET /* Use System V signals over POSIX to avoid bugs */ + sigset(SIGINT, sigterm_handler); + sigset(SIGTERM, sigterm_handler); +#elif defined(HAVE_SIGACTION) + memset(&action, 0, sizeof(action)); + + sigemptyset(&action.sa_mask); + action.sa_handler = sigterm_handler; + sigaction(SIGINT, &action, NULL); + sigaction(SIGTERM, &action, NULL); +#else + signal(SIGINT, sigterm_handler); + signal(SIGTERM, sigterm_handler); +#endif /* HAVE_SIGSET */ + + /* + * Create the subscription... + */ + + if (strstr(uri, "/jobs/")) + { + request = ippNewRequest(IPP_CREATE_JOB_SUBSCRIPTION); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, uri); + } + else + { + request = ippNewRequest(IPP_CREATE_PRINTER_SUBSCRIPTION); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, + uri); + } + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + ippAddStrings(request, IPP_TAG_SUBSCRIPTION, IPP_TAG_KEYWORD, "notify-events", + num_events, NULL, events); + ippAddString(request, IPP_TAG_SUBSCRIPTION, IPP_TAG_KEYWORD, + "notify-pull-method", NULL, "ippget"); + + response = cupsDoRequest(http, request, uri); + if (cupsLastError() >= IPP_BAD_REQUEST) + { + fprintf(stderr, "Create-%s-Subscription: %s\n", + strstr(uri, "/jobs") ? "Job" : "Printer", cupsLastErrorString()); + ippDelete(response); + httpClose(http); + return (1); + } + + if ((attr = ippFindAttribute(response, "notify-subscription-id", + IPP_TAG_INTEGER)) == NULL) + { + fputs("ERROR: No notify-subscription-id in response!\n", stderr); + ippDelete(response); + httpClose(http); + return (1); + } + + subscription_id = attr->values[0].integer; + + printf("Create-%s-Subscription: notify-subscription-id=%d\n", + strstr(uri, "/jobs/") ? "Job" : "Printer", subscription_id); + + ippDelete(response); + + /* + * Monitor for events... + */ + + sequence_number = 0; + + while (!terminate) + { + /* + * Get the current events... + */ + + printf("\nGet-Notifications(%d,%d):", subscription_id, sequence_number); + fflush(stdout); + + request = ippNewRequest(IPP_GET_NOTIFICATIONS); + + if (strstr(uri, "/jobs/")) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, uri); + else + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, + uri); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, + "notify-subscription-ids", subscription_id); + if (sequence_number) + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, + "notify-sequence-numbers", sequence_number + 1); + + response = cupsDoRequest(http, request, uri); + + printf(" %s\n", ippErrorString(cupsLastError())); + + if (cupsLastError() >= IPP_BAD_REQUEST) + fprintf(stderr, "Get-Notifications: %s\n", cupsLastErrorString()); + else if (response) + { + print_attributes(response, 0); + + for (attr = ippFindAttribute(response, "notify-sequence-number", + IPP_TAG_INTEGER); + attr; + attr = ippFindNextAttribute(response, "notify-sequence-number", + IPP_TAG_INTEGER)) + if (attr->values[0].integer > sequence_number) + sequence_number = attr->values[0].integer; + } + + if ((attr = ippFindAttribute(response, "notify-get-interval", + IPP_TAG_INTEGER)) != NULL && + attr->values[0].integer > 0) + interval = attr->values[0].integer; + else + interval = 5; + + ippDelete(response); + sleep((unsigned)interval); + } + + /* + * Cancel the subscription... + */ + + printf("\nCancel-Subscription:"); + fflush(stdout); + + request = ippNewRequest(IPP_CANCEL_SUBSCRIPTION); + + if (strstr(uri, "/jobs/")) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, uri); + else + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, + uri); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, + "notify-subscription-id", subscription_id); + + ippDelete(cupsDoRequest(http, request, uri)); + + printf(" %s\n", ippErrorString(cupsLastError())); + + if (cupsLastError() >= IPP_BAD_REQUEST) + fprintf(stderr, "Cancel-Subscription: %s\n", cupsLastErrorString()); + + /* + * Close the connection and return... + */ + + httpClose(http); + + return (0); +} + + +/* + * 'print_attributes()' - Print the attributes in a request... + */ + +static void +print_attributes(ipp_t *ipp, /* I - IPP request */ + int indent) /* I - Indentation */ +{ + int i; /* Looping var */ + ipp_tag_t group; /* Current group */ + ipp_attribute_t *attr; /* Current attribute */ + _ipp_value_t *val; /* Current value */ + static const char * const tags[] = /* Value/group tag strings */ + { + "reserved-00", + "operation-attributes-tag", + "job-attributes-tag", + "end-of-attributes-tag", + "printer-attributes-tag", + "unsupported-attributes-tag", + "subscription-attributes-tag", + "event-attributes-tag", + "reserved-08", + "reserved-09", + "reserved-0A", + "reserved-0B", + "reserved-0C", + "reserved-0D", + "reserved-0E", + "reserved-0F", + "unsupported", + "default", + "unknown", + "no-value", + "reserved-14", + "not-settable", + "delete-attr", + "admin-define", + "reserved-18", + "reserved-19", + "reserved-1A", + "reserved-1B", + "reserved-1C", + "reserved-1D", + "reserved-1E", + "reserved-1F", + "reserved-20", + "integer", + "boolean", + "enum", + "reserved-24", + "reserved-25", + "reserved-26", + "reserved-27", + "reserved-28", + "reserved-29", + "reserved-2a", + "reserved-2b", + "reserved-2c", + "reserved-2d", + "reserved-2e", + "reserved-2f", + "octetString", + "dateTime", + "resolution", + "rangeOfInteger", + "begCollection", + "textWithLanguage", + "nameWithLanguage", + "endCollection", + "reserved-38", + "reserved-39", + "reserved-3a", + "reserved-3b", + "reserved-3c", + "reserved-3d", + "reserved-3e", + "reserved-3f", + "reserved-40", + "textWithoutLanguage", + "nameWithoutLanguage", + "reserved-43", + "keyword", + "uri", + "uriScheme", + "charset", + "naturalLanguage", + "mimeMediaType", + "memberName" + }; + + + for (group = IPP_TAG_ZERO, attr = ipp->attrs; attr; attr = attr->next) + { + if ((attr->group_tag == IPP_TAG_ZERO && indent <= 8) || !attr->name) + { + group = IPP_TAG_ZERO; + putchar('\n'); + continue; + } + + if (group != attr->group_tag) + { + group = attr->group_tag; + + putchar('\n'); + for (i = 4; i < indent; i ++) + putchar(' '); + + printf("%s:\n\n", tags[group]); + } + + for (i = 0; i < indent; i ++) + putchar(' '); + + printf("%s (", attr->name); + if (attr->num_values > 1) + printf("1setOf "); + printf("%s):", tags[attr->value_tag]); + + switch (attr->value_tag) + { + case IPP_TAG_ENUM : + case IPP_TAG_INTEGER : + for (i = 0, val = attr->values; i < attr->num_values; i ++, val ++) + printf(" %d", val->integer); + putchar('\n'); + break; + + case IPP_TAG_BOOLEAN : + for (i = 0, val = attr->values; i < attr->num_values; i ++, val ++) + printf(" %s", val->boolean ? "true" : "false"); + putchar('\n'); + break; + + case IPP_TAG_RANGE : + for (i = 0, val = attr->values; i < attr->num_values; i ++, val ++) + printf(" %d-%d", val->range.lower, val->range.upper); + putchar('\n'); + break; + + case IPP_TAG_DATE : + { + char vstring[256]; /* Formatted time */ + + for (i = 0, val = attr->values; i < attr->num_values; i ++, val ++) + printf(" (%s)", _cupsStrDate(vstring, sizeof(vstring), ippDateToTime(val->date))); + } + putchar('\n'); + break; + + case IPP_TAG_RESOLUTION : + for (i = 0, val = attr->values; i < attr->num_values; i ++, val ++) + printf(" %dx%d%s", val->resolution.xres, val->resolution.yres, + val->resolution.units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + putchar('\n'); + break; + + case IPP_TAG_STRING : + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + for (i = 0, val = attr->values; i < attr->num_values; i ++, val ++) + printf(" \"%s\"", val->string.text); + putchar('\n'); + break; + + case IPP_TAG_BEGIN_COLLECTION : + putchar('\n'); + + for (i = 0, val = attr->values; i < attr->num_values; i ++, val ++) + { + if (i) + putchar('\n'); + print_attributes(val->collection, indent + 4); + } + break; + + default : + printf("UNKNOWN (%d values)\n", attr->num_values); + break; + } + } +} + + +/* + * 'sigterm_handler()' - Flag when the user hits CTRL-C... + */ + +static void +sigterm_handler(int sig) /* I - Signal number (unused) */ +{ + (void)sig; + + terminate = 1; +} + + +/* + * 'usage()' - Show program usage... + */ + +static void +usage(void) +{ + puts("Usage: testsub [-E] [-e event ... -e eventN] [-h hostname] URI"); + exit(0); +} diff --git a/scheduler/type.c b/scheduler/type.c new file mode 100644 index 0000000..f547b83 --- /dev/null +++ b/scheduler/type.c @@ -0,0 +1,1284 @@ +/* + * MIME typing routines for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include "mime.h" + + +/* + * Debug macros that used to be private API... + */ + +#define DEBUG_puts(x) +#define DEBUG_printf(...) + + +/* + * Local types... + */ + +typedef struct _mime_filebuf_s /**** File buffer for MIME typing ****/ +{ + cups_file_t *fp; /* File pointer */ + int offset, /* Offset in file */ + length; /* Length of buffered data */ + unsigned char buffer[MIME_MAX_BUFFER];/* Buffered data */ +} _mime_filebuf_t; + + +/* + * Local functions... + */ + +static int mime_compare_types(mime_type_t *t0, mime_type_t *t1); +static int mime_check_rules(const char *filename, _mime_filebuf_t *fb, + mime_magic_t *rules); +static int mime_patmatch(const char *s, const char *pat); + + +/* + * Local globals... + */ + +#ifdef MIME_DEBUG +static const char * const debug_ops[] = + { /* Test names... */ + "NOP", /* No operation */ + "AND", /* Logical AND of all children */ + "OR", /* Logical OR of all children */ + "MATCH", /* Filename match */ + "ASCII", /* ASCII characters in range */ + "PRINTABLE", /* Printable characters (32-255) */ + "STRING", /* String matches */ + "CHAR", /* Character/byte matches */ + "SHORT", /* Short/16-bit word matches */ + "INT", /* Integer/32-bit word matches */ + "LOCALE", /* Current locale matches string */ + "CONTAINS", /* File contains a string */ + "ISTRING", /* Case-insensitive string matches */ + "REGEX" /* Regular expression matches */ + }; +#endif /* DEBUG */ + + +/* + * 'mimeAddType()' - Add a MIME type to a database. + */ + +mime_type_t * /* O - New (or existing) MIME type */ +mimeAddType(mime_t *mime, /* I - MIME database */ + const char *super, /* I - Super-type name */ + const char *type) /* I - Type name */ +{ + mime_type_t *temp; /* New MIME type */ + size_t typelen; /* Length of type name */ + + + DEBUG_printf(("mimeAddType(mime=%p, super=\"%s\", type=\"%s\")", mime, super, + type)); + + /* + * Range check input... + */ + + if (!mime || !super || !type) + { + DEBUG_puts("1mimeAddType: Returning NULL (bad arguments)."); + return (NULL); + } + + /* + * See if the type already exists; if so, return the existing type... + */ + + if ((temp = mimeType(mime, super, type)) != NULL) + { + DEBUG_printf(("1mimeAddType: Returning %p (existing).", temp)); + return (temp); + } + + /* + * The type doesn't exist; add it... + */ + + if (!mime->types) + mime->types = cupsArrayNew((cups_array_func_t)mime_compare_types, NULL); + + if (!mime->types) + { + DEBUG_puts("1mimeAddType: Returning NULL (no types)."); + return (NULL); + } + + typelen = strlen(type) + 1; + + if ((temp = calloc(1, sizeof(mime_type_t) - MIME_MAX_TYPE + typelen)) == NULL) + { + DEBUG_puts("1mimeAddType: Returning NULL (out of memory)."); + return (NULL); + } + + strlcpy(temp->super, super, sizeof(temp->super)); + memcpy(temp->type, type, typelen); + temp->priority = 100; + + cupsArrayAdd(mime->types, temp); + + DEBUG_printf(("1mimeAddType: Returning %p (new).", temp)); + return (temp); +} + + +/* + * 'mimeAddTypeRule()' - Add a detection rule for a file type. + */ + +int /* O - 0 on success, -1 on failure */ +mimeAddTypeRule(mime_type_t *mt, /* I - Type to add to */ + const char *rule) /* I - Rule to add */ +{ + int num_values, /* Number of values seen */ + op, /* Operation code */ + logic, /* Logic for next rule */ + invert; /* Invert following rule? */ + char name[255], /* Name in rule string */ + value[3][255], /* Value in rule string */ + *ptr, /* Position in name or value */ + quote; /* Quote character */ + int length[3]; /* Length of each parameter */ + mime_magic_t *temp, /* New rule */ + *current; /* Current rule */ + + + DEBUG_printf(("mimeAddTypeRule(mt=%p(%s/%s), rule=\"%s\")", mt, + mt ? mt->super : "???", mt ? mt->type : "???", rule)); + + /* + * Range check input... + */ + + if (!mt || !rule) + return (-1); + + /* + * Find the last rule in the top-level of the rules tree. + */ + + for (current = mt->rules; current; current = current->next) + if (!current->next) + break; + + /* + * Parse the rules string. Most rules are either a file extension or a + * comparison function: + * + * extension + * function(parameters) + */ + + logic = MIME_MAGIC_NOP; + invert = 0; + + while (*rule != '\0') + { + while (isspace(*rule & 255)) + rule ++; + + if (*rule == '(') + { + DEBUG_puts("1mimeAddTypeRule: New parenthesis group"); + logic = MIME_MAGIC_NOP; + rule ++; + } + else if (*rule == ')') + { + DEBUG_puts("1mimeAddTypeRule: Close paren..."); + if (current == NULL || current->parent == NULL) + return (-1); + + current = current->parent; + + if (current->parent == NULL) + logic = MIME_MAGIC_OR; + else + logic = current->parent->op; + + rule ++; + } + else if (*rule == '+' && current != NULL) + { + if (logic != MIME_MAGIC_AND && + current != NULL && current->prev != NULL) + { + /* + * OK, we have more than 1 rule in the current tree level... Make a + * new group tree and move the previous rule to it... + */ + + if ((temp = calloc(1, sizeof(mime_magic_t))) == NULL) + return (-1); + + temp->op = MIME_MAGIC_AND; + temp->child = current; + temp->parent = current->parent; + current->prev->next = temp; + temp->prev = current->prev; + + current->prev = NULL; + current->parent = temp; + + DEBUG_printf(("1mimeAddTypeRule: Creating new AND group %p.", temp)); + } + else if (current->parent) + { + DEBUG_printf(("1mimeAddTypeRule: Setting group %p op to AND.", + current->parent)); + current->parent->op = MIME_MAGIC_AND; + } + + logic = MIME_MAGIC_AND; + rule ++; + } + else if (*rule == ',') + { + if (logic != MIME_MAGIC_OR && current != NULL) + { + /* + * OK, we have two possibilities; either this is the top-level rule or + * we have a bunch of AND rules at this level. + */ + + if (current->parent == NULL) + { + /* + * This is the top-level rule; we have to move *all* of the AND rules + * down a level, as AND has precedence over OR. + */ + + if ((temp = calloc(1, sizeof(mime_magic_t))) == NULL) + return (-1); + + DEBUG_printf(("1mimeAddTypeRule: Creating new AND group %p inside OR " + "group.", temp)); + + while (current->prev != NULL) + { + current->parent = temp; + current = current->prev; + } + + current->parent = temp; + temp->op = MIME_MAGIC_AND; + temp->child = current; + + mt->rules = current = temp; + } + else + { + /* + * This isn't the top rule, so go up one level... + */ + + DEBUG_puts("1mimeAddTypeRule: Going up one level."); + current = current->parent; + } + } + + logic = MIME_MAGIC_OR; + rule ++; + } + else if (*rule == '!') + { + DEBUG_puts("1mimeAddTypeRule: NOT"); + invert = 1; + rule ++; + } + else if (isalnum(*rule & 255)) + { + /* + * Read an extension name or a function... + */ + + ptr = name; + while (isalnum(*rule & 255) && (size_t)(ptr - name) < (sizeof(name) - 1)) + *ptr++ = *rule++; + + *ptr = '\0'; + + if (*rule == '(') + { + /* + * Read function parameters... + */ + + rule ++; + for (num_values = 0; + num_values < (int)(sizeof(value) / sizeof(value[0])); + num_values ++) + { + ptr = value[num_values]; + + while ((size_t)(ptr - value[num_values]) < (sizeof(value[0]) - 1) && + *rule != '\0' && *rule != ',' && *rule != ')') + { + if (isspace(*rule & 255)) + { + /* + * Ignore whitespace... + */ + + rule ++; + continue; + } + else if (*rule == '\"' || *rule == '\'') + { + /* + * Copy quoted strings literally... + */ + + quote = *rule++; + + while (*rule != '\0' && *rule != quote && + (size_t)(ptr - value[num_values]) < (sizeof(value[0]) - 1)) + *ptr++ = *rule++; + + if (*rule == quote) + rule ++; + else + return (-1); + } + else if (*rule == '<') + { + rule ++; + + while (*rule != '>' && *rule != '\0' && + (size_t)(ptr - value[num_values]) < (sizeof(value[0]) - 1)) + { + if (isxdigit(rule[0] & 255) && isxdigit(rule[1] & 255)) + { + if (isdigit(*rule)) + *ptr = (char)((*rule++ - '0') << 4); + else + *ptr = (char)((tolower(*rule++) - 'a' + 10) << 4); + + if (isdigit(*rule)) + *ptr++ |= *rule++ - '0'; + else + *ptr++ |= tolower(*rule++) - 'a' + 10; + } + else + return (-1); + } + + if (*rule == '>') + rule ++; + else + return (-1); + } + else + *ptr++ = *rule++; + } + + *ptr = '\0'; + length[num_values] = ptr - value[num_values]; + + if (*rule != ',') + { + num_values ++; + break; + } + + rule ++; + } + + if (*rule != ')') + return (-1); + + rule ++; + + /* + * Figure out the function... + */ + + if (!strcmp(name, "match")) + op = MIME_MAGIC_MATCH; + else if (!strcmp(name, "ascii")) + op = MIME_MAGIC_ASCII; + else if (!strcmp(name, "printable")) + op = MIME_MAGIC_PRINTABLE; + else if (!strcmp(name, "regex")) + op = MIME_MAGIC_REGEX; + else if (!strcmp(name, "string")) + op = MIME_MAGIC_STRING; + else if (!strcmp(name, "istring")) + op = MIME_MAGIC_ISTRING; + else if (!strcmp(name, "char")) + op = MIME_MAGIC_CHAR; + else if (!strcmp(name, "short")) + op = MIME_MAGIC_SHORT; + else if (!strcmp(name, "int")) + op = MIME_MAGIC_INT; + else if (!strcmp(name, "locale")) + op = MIME_MAGIC_LOCALE; + else if (!strcmp(name, "contains")) + op = MIME_MAGIC_CONTAINS; + else if (!strcmp(name, "priority") && num_values == 1) + { + mt->priority = atoi(value[0]); + continue; + } + else + return (-1); + } + else + { + /* + * This is just a filename match on the extension... + */ + + snprintf(value[0], sizeof(value[0]), "*.%s", name); + length[0] = (int)strlen(value[0]); + op = MIME_MAGIC_MATCH; + num_values = 1; + } + + /* + * Add a rule for this operation. + */ + + if ((temp = calloc(1, sizeof(mime_magic_t))) == NULL) + return (-1); + + temp->invert = (short)invert; + if (current != NULL) + { + temp->parent = current->parent; + current->next = temp; + } + else + mt->rules = temp; + + temp->prev = current; + + if (logic == MIME_MAGIC_NOP) + { + /* + * Add parenthetical grouping... + */ + + DEBUG_printf(("1mimeAddTypeRule: Making new OR group %p for " + "parenthesis.", temp)); + + temp->op = MIME_MAGIC_OR; + + if ((temp->child = calloc(1, sizeof(mime_magic_t))) == NULL) + return (-1); + + temp->child->parent = temp; + temp->child->invert = temp->invert; + temp->invert = 0; + + temp = temp->child; + logic = MIME_MAGIC_OR; + } + + DEBUG_printf(("1mimeAddTypeRule: Adding %p: %s, op=MIME_MAGIC_%s(%d), " + "logic=MIME_MAGIC_%s, invert=%d.", temp, name, + debug_ops[op], op, debug_ops[logic], invert)); + + /* + * Fill in data for the rule... + */ + + current = temp; + temp->op = (short)op; + invert = 0; + + switch (op) + { + case MIME_MAGIC_MATCH : + if ((size_t)length[0] > (sizeof(temp->value.matchv) - 1)) + return (-1); + strlcpy(temp->value.matchv, value[0], sizeof(temp->value.matchv)); + break; + case MIME_MAGIC_ASCII : + case MIME_MAGIC_PRINTABLE : + temp->offset = strtol(value[0], NULL, 0); + temp->length = strtol(value[1], NULL, 0); + if (temp->length > MIME_MAX_BUFFER) + temp->length = MIME_MAX_BUFFER; + break; + case MIME_MAGIC_REGEX : + temp->offset = strtol(value[0], NULL, 0); + temp->length = MIME_MAX_BUFFER; + if (regcomp(&(temp->value.rev), value[1], REG_NOSUB | REG_EXTENDED)) + return (-1); + break; + case MIME_MAGIC_STRING : + case MIME_MAGIC_ISTRING : + temp->offset = strtol(value[0], NULL, 0); + if (num_values < 2 || (size_t)length[1] > sizeof(temp->value.stringv)) + return (-1); + temp->length = length[1]; + memcpy(temp->value.stringv, value[1], (size_t)length[1]); + break; + case MIME_MAGIC_CHAR : + temp->offset = strtol(value[0], NULL, 0); + if (num_values < 2) + return (-1); + else if (length[1] == 1) + temp->value.charv = (unsigned char)value[1][0]; + else + temp->value.charv = (unsigned char)strtol(value[1], NULL, 0); + + DEBUG_printf(("1mimeAddTypeRule: CHAR(%d,0x%02x)", temp->offset, + temp->value.charv)); + break; + case MIME_MAGIC_SHORT : + temp->offset = strtol(value[0], NULL, 0); + temp->value.shortv = (unsigned short)strtol(value[1], NULL, 0); + break; + case MIME_MAGIC_INT : + temp->offset = strtol(value[0], NULL, 0); + temp->value.intv = (unsigned)strtol(value[1], NULL, 0); + break; + case MIME_MAGIC_LOCALE : + if ((size_t)length[0] > (sizeof(temp->value.localev) - 1)) + return (-1); + + strlcpy(temp->value.localev, value[0], sizeof(temp->value.localev)); + break; + case MIME_MAGIC_CONTAINS : + temp->offset = strtol(value[0], NULL, 0); + temp->region = strtol(value[1], NULL, 0); + if (num_values < 3 || (size_t)length[2] > sizeof(temp->value.stringv)) + return (-1); + temp->length = length[2]; + memcpy(temp->value.stringv, value[2], (size_t)length[2]); + break; + } + } + else + break; + } + + return (0); +} + + +/* + * 'mimeFileType()' - Determine the type of a file. + */ + +mime_type_t * /* O - Type of file */ +mimeFileType(mime_t *mime, /* I - MIME database */ + const char *pathname, /* I - Name of file to check on disk */ + const char *filename, /* I - Original filename or NULL */ + int *compression) /* O - Is the file compressed? */ +{ + _mime_filebuf_t fb; /* File buffer */ + const char *base; /* Base filename of file */ + mime_type_t *type, /* File type */ + *best; /* Best match */ + + + DEBUG_printf(("mimeFileType(mime=%p, pathname=\"%s\", filename=\"%s\", " + "compression=%p)", mime, pathname, filename, compression)); + + /* + * Range check input parameters... + */ + + if (!mime || !pathname) + { + DEBUG_puts("1mimeFileType: Returning NULL."); + return (NULL); + } + + /* + * Try to open the file... + */ + + if ((fb.fp = cupsFileOpen(pathname, "r")) == NULL) + { + DEBUG_printf(("1mimeFileType: Unable to open \"%s\": %s", pathname, + strerror(errno))); + DEBUG_puts("1mimeFileType: Returning NULL."); + return (NULL); + } + + /* + * Then preload the first MIME_MAX_BUFFER bytes of the file into the file + * buffer, returning an error if we can't read anything... + */ + + fb.offset = 0; + fb.length = (int)cupsFileRead(fb.fp, (char *)fb.buffer, MIME_MAX_BUFFER); + + if (fb.length <= 0) + { + DEBUG_printf(("1mimeFileType: Unable to read from \"%s\": %s", pathname, strerror(errno))); + DEBUG_puts("1mimeFileType: Returning NULL."); + + cupsFileClose(fb.fp); + + return (NULL); + } + + /* + * Figure out the base filename (without directory portion)... + */ + + if (filename) + { + if ((base = strrchr(filename, '/')) != NULL) + base ++; + else + base = filename; + } + else if ((base = strrchr(pathname, '/')) != NULL) + base ++; + else + base = pathname; + + /* + * Then check it against all known types... + */ + + for (type = (mime_type_t *)cupsArrayFirst(mime->types), best = NULL; + type; + type = (mime_type_t *)cupsArrayNext(mime->types)) + if (mime_check_rules(base, &fb, type->rules)) + { + if (!best || type->priority > best->priority) + best = type; + } + + /* + * Finally, close the file and return a match (if any)... + */ + + if (compression) + { + *compression = cupsFileCompression(fb.fp); + DEBUG_printf(("1mimeFileType: *compression=%d", *compression)); + } + + cupsFileClose(fb.fp); + + DEBUG_printf(("1mimeFileType: Returning %p(%s/%s).", best, + best ? best->super : "???", best ? best->type : "???")); + return (best); +} + + +/* + * 'mimeType()' - Lookup a file type. + */ + +mime_type_t * /* O - Matching file type definition */ +mimeType(mime_t *mime, /* I - MIME database */ + const char *super, /* I - Super-type name */ + const char *type) /* I - Type name */ +{ + mime_type_t key, /* MIME type search key */ + *mt; /* Matching type */ + + + DEBUG_printf(("mimeType(mime=%p, super=\"%s\", type=\"%s\")", mime, super, + type)); + + /* + * Range check input... + */ + + if (!mime || !super || !type) + { + DEBUG_puts("1mimeType: Returning NULL."); + return (NULL); + } + + /* + * Lookup the type in the array... + */ + + strlcpy(key.super, super, sizeof(key.super)); + strlcpy(key.type, type, sizeof(key.type)); + + mt = (mime_type_t *)cupsArrayFind(mime->types, &key); + DEBUG_printf(("1mimeType: Returning %p.", mt)); + return (mt); +} + + +/* + * 'mime_compare_types()' - Compare two MIME super/type names. + */ + +static int /* O - Result of comparison */ +mime_compare_types(mime_type_t *t0, /* I - First type */ + mime_type_t *t1) /* I - Second type */ +{ + int i; /* Result of comparison */ + + + if ((i = _cups_strcasecmp(t0->super, t1->super)) == 0) + i = _cups_strcasecmp(t0->type, t1->type); + + return (i); +} + + +/* + * 'mime_check_rules()' - Check each rule in a list. + */ + +static int /* O - 1 if match, 0 if no match */ +mime_check_rules( + const char *filename, /* I - Filename */ + _mime_filebuf_t *fb, /* I - File to check */ + mime_magic_t *rules) /* I - Rules to check */ +{ + int n; /* Looping var */ + int region; /* Region to look at */ + int logic, /* Logic to apply */ + result; /* Result of test */ + unsigned intv; /* Integer value */ + short shortv; /* Short value */ + unsigned char *bufptr; /* Pointer into buffer */ + + + DEBUG_printf(("4mime_check_rules(filename=\"%s\", fb=%p, rules=%p)", filename, + fb, rules)); + + if (rules == NULL) + return (0); + + if (rules->parent == NULL) + logic = MIME_MAGIC_OR; + else + logic = rules->parent->op; + + result = 0; + + while (rules != NULL) + { + /* + * Compute the result of this rule... + */ + + switch (rules->op) + { + case MIME_MAGIC_MATCH : + result = mime_patmatch(filename, rules->value.matchv); + break; + + case MIME_MAGIC_ASCII : + /* + * Load the buffer if necessary... + */ + + if (fb->offset < 0 || rules->offset < fb->offset || + (rules->offset + rules->length) > (fb->offset + fb->length)) + { + /* + * Reload file buffer... + */ + + cupsFileSeek(fb->fp, rules->offset); + fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, + sizeof(fb->buffer)); + fb->offset = rules->offset; + + DEBUG_printf(("4mime_check_rules: MIME_MAGIC_ASCII fb->length=%d", fb->length)); + } + + /* + * Test for ASCII printable characters plus standard control chars. + */ + + if ((rules->offset + rules->length) > (fb->offset + fb->length)) + n = fb->offset + fb->length - rules->offset; + else + n = rules->length; + + bufptr = fb->buffer + rules->offset - fb->offset; + while (n > 0) + if ((*bufptr >= 32 && *bufptr <= 126) || + (*bufptr >= 8 && *bufptr <= 13) || + *bufptr == 26 || *bufptr == 27) + { + n --; + bufptr ++; + } + else + break; + + result = (n == 0); + break; + + case MIME_MAGIC_PRINTABLE : + /* + * Load the buffer if necessary... + */ + + if (fb->offset < 0 || rules->offset < fb->offset || + (rules->offset + rules->length) > (fb->offset + fb->length)) + { + /* + * Reload file buffer... + */ + + cupsFileSeek(fb->fp, rules->offset); + fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, + sizeof(fb->buffer)); + fb->offset = rules->offset; + + DEBUG_printf(("4mime_check_rules: MIME_MAGIC_PRINTABLE fb->length=%d", fb->length)); + } + + /* + * Test for 8-bit printable characters plus standard control chars. + */ + + if ((rules->offset + rules->length) > (fb->offset + fb->length)) + n = fb->offset + fb->length - rules->offset; + else + n = rules->length; + + bufptr = fb->buffer + rules->offset - fb->offset; + + while (n > 0) + if (*bufptr >= 128 || + (*bufptr >= 32 && *bufptr <= 126) || + (*bufptr >= 8 && *bufptr <= 13) || + *bufptr == 26 || *bufptr == 27) + { + n --; + bufptr ++; + } + else + break; + + result = (n == 0); + break; + + case MIME_MAGIC_REGEX : + DEBUG_printf(("5mime_check_rules: regex(%d, \"%s\")", rules->offset, + rules->value.stringv)); + + /* + * Load the buffer if necessary... + */ + + if (fb->offset < 0 || rules->offset < fb->offset || + (rules->offset + rules->length) > (fb->offset + fb->length)) + { + /* + * Reload file buffer... + */ + + cupsFileSeek(fb->fp, rules->offset); + fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, + sizeof(fb->buffer)); + fb->offset = rules->offset; + + DEBUG_printf(("4mime_check_rules: MIME_MAGIC_REGEX fb->length=%d", fb->length)); + + DEBUG_printf(("5mime_check_rules: loaded %d byte fb->buffer at %d, starts " + "with \"%c%c%c%c\".", + fb->length, fb->offset, fb->buffer[0], fb->buffer[1], + fb->buffer[2], fb->buffer[3])); + } + + /* + * Compare the buffer against the string. If the file is too + * short then don't compare - it can't match... + */ + + if (fb->length > 0) + { + char temp[MIME_MAX_BUFFER + 1]; + /* Temporary buffer */ + + memcpy(temp, fb->buffer, (size_t)fb->length); + temp[fb->length] = '\0'; + result = !regexec(&(rules->value.rev), temp, 0, NULL, 0); + } + + DEBUG_printf(("5mime_check_rules: result=%d", result)); + break; + + case MIME_MAGIC_STRING : + DEBUG_printf(("5mime_check_rules: string(%d, \"%s\")", rules->offset, + rules->value.stringv)); + + /* + * Load the buffer if necessary... + */ + + if (fb->offset < 0 || rules->offset < fb->offset || + (rules->offset + rules->length) > (fb->offset + fb->length)) + { + /* + * Reload file buffer... + */ + + cupsFileSeek(fb->fp, rules->offset); + fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, + sizeof(fb->buffer)); + fb->offset = rules->offset; + + DEBUG_printf(("4mime_check_rules: MIME_MAGIC_STRING fb->length=%d", fb->length)); + + DEBUG_printf(("5mime_check_rules: loaded %d byte fb->buffer at %d, starts " + "with \"%c%c%c%c\".", + fb->length, fb->offset, fb->buffer[0], fb->buffer[1], + fb->buffer[2], fb->buffer[3])); + } + + /* + * Compare the buffer against the string. If the file is too + * short then don't compare - it can't match... + */ + + if ((rules->offset + rules->length) > (fb->offset + fb->length)) + result = 0; + else + result = !memcmp(fb->buffer + rules->offset - fb->offset, rules->value.stringv, (size_t)rules->length); + DEBUG_printf(("5mime_check_rules: result=%d", result)); + break; + + case MIME_MAGIC_ISTRING : + /* + * Load the buffer if necessary... + */ + + if (fb->offset < 0 || rules->offset < fb->offset || + (rules->offset + rules->length) > (fb->offset + fb->length)) + { + /* + * Reload file buffer... + */ + + cupsFileSeek(fb->fp, rules->offset); + fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, + sizeof(fb->buffer)); + fb->offset = rules->offset; + + DEBUG_printf(("4mime_check_rules: MIME_MAGIC_ISTRING fb->length=%d", fb->length)); + } + + /* + * Compare the buffer against the string. If the file is too + * short then don't compare - it can't match... + */ + + if ((rules->offset + rules->length) > (fb->offset + fb->length)) + result = 0; + else + result = !_cups_strncasecmp((char *)fb->buffer + rules->offset - fb->offset, rules->value.stringv, (size_t)rules->length); + break; + + case MIME_MAGIC_CHAR : + /* + * Load the buffer if necessary... + */ + + if (fb->offset < 0 || rules->offset < fb->offset) + { + /* + * Reload file buffer... + */ + + cupsFileSeek(fb->fp, rules->offset); + fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, + sizeof(fb->buffer)); + fb->offset = rules->offset; + + DEBUG_printf(("4mime_check_rules: MIME_MAGIC_CHAR fb->length=%d", fb->length)); + } + + /* + * Compare the character values; if the file is too short, it + * can't match... + */ + + if (fb->length < 1) + result = 0; + else + result = (fb->buffer[rules->offset - fb->offset] == + rules->value.charv); + break; + + case MIME_MAGIC_SHORT : + /* + * Load the buffer if necessary... + */ + + if (fb->offset < 0 || rules->offset < fb->offset || + (rules->offset + 2) > (fb->offset + fb->length)) + { + /* + * Reload file buffer... + */ + + cupsFileSeek(fb->fp, rules->offset); + fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, + sizeof(fb->buffer)); + fb->offset = rules->offset; + + DEBUG_printf(("4mime_check_rules: MIME_MAGIC_SHORT fb->length=%d", fb->length)); + } + + /* + * Compare the short values; if the file is too short, it + * can't match... + */ + + if (fb->length < 2) + result = 0; + else + { + bufptr = fb->buffer + rules->offset - fb->offset; + shortv = (short)((bufptr[0] << 8) | bufptr[1]); + result = (shortv == rules->value.shortv); + } + break; + + case MIME_MAGIC_INT : + /* + * Load the buffer if necessary... + */ + + if (fb->offset < 0 || rules->offset < fb->offset || + (rules->offset + 4) > (fb->offset + fb->length)) + { + /* + * Reload file buffer... + */ + + cupsFileSeek(fb->fp, rules->offset); + fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, + sizeof(fb->buffer)); + fb->offset = rules->offset; + + DEBUG_printf(("4mime_check_rules: MIME_MAGIC_INT fb->length=%d", fb->length)); + } + + /* + * Compare the int values; if the file is too short, it + * can't match... + */ + + if (fb->length < 4) + result = 0; + else + { + bufptr = fb->buffer + rules->offset - fb->offset; + intv = (unsigned)((((((bufptr[0] << 8) | bufptr[1]) << 8) | bufptr[2]) << 8) | bufptr[3]); + result = (intv == rules->value.intv); + } + break; + + case MIME_MAGIC_LOCALE : +#if defined(_WIN32) || defined(__EMX__) || defined(__APPLE__) + result = !strcmp(rules->value.localev, setlocale(LC_ALL, "")); +#else + result = !strcmp(rules->value.localev, setlocale(LC_MESSAGES, "")); +#endif /* __APPLE__ */ + break; + + case MIME_MAGIC_CONTAINS : + /* + * Load the buffer if necessary... + */ + + if (fb->offset < 0 || rules->offset < fb->offset || + (rules->offset + rules->region) > (fb->offset + fb->length)) + { + /* + * Reload file buffer... + */ + + cupsFileSeek(fb->fp, rules->offset); + fb->length = cupsFileRead(fb->fp, (char *)fb->buffer, + sizeof(fb->buffer)); + fb->offset = rules->offset; + + DEBUG_printf(("4mime_check_rules: MIME_MAGIC_CONTAINS fb->length=%d", fb->length)); + } + + /* + * Compare the buffer against the string. If the file is too + * short then don't compare - it can't match... + */ + + if ((rules->offset + rules->length) > (fb->offset + fb->length)) + result = 0; + else + { + if (fb->length > rules->region) + region = rules->region - rules->length; + else + region = fb->length - rules->length; + + for (n = 0; n < region; n ++) + if ((result = (memcmp(fb->buffer + rules->offset - fb->offset + n, rules->value.stringv, (size_t)rules->length) == 0)) != 0) + break; + } + break; + + default : + if (rules->child != NULL) + result = mime_check_rules(filename, fb, rules->child); + else + result = 0; + break; + } + + /* + * If the logic is inverted, invert the result... + */ + + if (rules->invert) + result = !result; + + /* + * OK, now if the current logic is OR and this result is true, the this + * rule set is true. If the current logic is AND and this result is false, + * the the rule set is false... + */ + + DEBUG_printf(("5mime_check_rules: result of test %p (MIME_MAGIC_%s) is %d", + rules, debug_ops[rules->op], result)); + + if ((result && logic == MIME_MAGIC_OR) || + (!result && logic == MIME_MAGIC_AND)) + return (result); + + /* + * Otherwise the jury is still out on this one, so move to the next rule. + */ + + rules = rules->next; + } + + return (result); +} + + +/* + * 'mime_patmatch()' - Pattern matching. + */ + +static int /* O - 1 if match, 0 if no match */ +mime_patmatch(const char *s, /* I - String to match against */ + const char *pat) /* I - Pattern to match against */ +{ + /* + * Range check the input... + */ + + if (s == NULL || pat == NULL) + return (0); + + /* + * Loop through the pattern and match strings, and stop if we come to a + * point where the strings don't match or we find a complete match. + */ + + while (*s != '\0' && *pat != '\0') + { + if (*pat == '*') + { + /* + * Wildcard - 0 or more characters... + */ + + pat ++; + if (*pat == '\0') + return (1); /* Last pattern char is *, so everything matches... */ + + /* + * Test all remaining combinations until we get to the end of the string. + */ + + while (*s != '\0') + { + if (mime_patmatch(s, pat)) + return (1); + + s ++; + } + } + else if (*pat == '?') + { + /* + * Wildcard - 1 character... + */ + + pat ++; + s ++; + continue; + } + else if (*pat == '[') + { + /* + * Match a character from the input set [chars]... + */ + + pat ++; + while (*pat != ']' && *pat != '\0') + if (*s == *pat) + break; + else + pat ++; + + if (*pat == ']' || *pat == '\0') + return (0); + + while (*pat != ']' && *pat != '\0') + pat ++; + + if (*pat == ']') + pat ++; + + continue; + } + else if (*pat == '\\') + { + /* + * Handle quoted characters... + */ + + pat ++; + } + + /* + * Stop if the pattern and string don't match... + */ + + if (*pat++ != *s++) + return (0); + } + + /* + * Done parsing the pattern and string; return 1 if the last character + * matches and 0 otherwise... + */ + + return (*s == *pat); +} diff --git a/scheduler/util.c b/scheduler/util.c new file mode 100644 index 0000000..8656904 --- /dev/null +++ b/scheduler/util.c @@ -0,0 +1,448 @@ +/* + * Mini-daemon utility functions for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +/* + * Include necessary headers... + */ + +#include "util.h" +#include +#include +#include +#ifdef __APPLE__ +# include +extern char **environ; +#endif /* __APPLE__ */ + + +/* + * 'cupsdCompareNames()' - Compare two names. + * + * This function basically does a _cups_strcasecmp() of the two strings, + * but is also aware of numbers so that "a2" < "a100". + */ + +int /* O - Result of comparison */ +cupsdCompareNames(const char *s, /* I - First string */ + const char *t) /* I - Second string */ +{ + int diff, /* Difference between digits */ + digits; /* Number of digits */ + + + /* + * Loop through both names, returning only when a difference is + * seen. Also, compare whole numbers rather than just characters, too! + */ + + while (*s && *t) + { + if (isdigit(*s & 255) && isdigit(*t & 255)) + { + /* + * Got a number; start by skipping leading 0's... + */ + + while (*s == '0') + s ++; + while (*t == '0') + t ++; + + /* + * Skip equal digits... + */ + + while (isdigit(*s & 255) && *s == *t) + { + s ++; + t ++; + } + + /* + * Bounce out if *s and *t aren't both digits... + */ + + if (isdigit(*s & 255) && !isdigit(*t & 255)) + return (1); + else if (!isdigit(*s & 255) && isdigit(*t & 255)) + return (-1); + else if (!isdigit(*s & 255) || !isdigit(*t & 255)) + continue; + + if (*s < *t) + diff = -1; + else + diff = 1; + + /* + * Figure out how many more digits there are... + */ + + digits = 0; + s ++; + t ++; + + while (isdigit(*s & 255)) + { + digits ++; + s ++; + } + + while (isdigit(*t & 255)) + { + digits --; + t ++; + } + + /* + * Return if the number or value of the digits is different... + */ + + if (digits < 0) + return (-1); + else if (digits > 0) + return (1); + else if (diff) + return (diff); + } + else if (tolower(*s) < tolower(*t)) + return (-1); + else if (tolower(*s) > tolower(*t)) + return (1); + else + { + s ++; + t ++; + } + } + + /* + * Return the results of the final comparison... + */ + + if (*s) + return (1); + else if (*t) + return (-1); + else + return (0); +} + + +/* + * 'cupsdCreateStringsArray()' - Create a CUPS array of strings. + */ + +cups_array_t * /* O - CUPS array */ +cupsdCreateStringsArray(const char *s) /* I - Comma-delimited strings */ +{ + if (!s || !*s) + return (NULL); + else + return (_cupsArrayNewStrings(s, ',')); +} + + +/* + * 'cupsdExec()' - Run a program with the correct environment. + * + * On macOS, we need to update the CFProcessPath environment variable that + * is passed in the environment so the child can access its bundled resources. + */ + +int /* O - exec() status */ +cupsdExec(const char *command, /* I - Full path to program */ + char **argv) /* I - Command-line arguments */ +{ +#ifdef __APPLE__ + int i, j; /* Looping vars */ + char *envp[500], /* Array of environment variables */ + cfprocesspath[1024], /* CFProcessPath environment variable */ + linkpath[1024]; /* Link path for symlinks... */ + int linkbytes; /* Bytes for link path */ + + + /* + * Some macOS programs are bundled and need the CFProcessPath environment + * variable defined. If the command is a symlink, resolve the link and point + * to the resolved location, otherwise, use the command path itself. + */ + + if ((linkbytes = readlink(command, linkpath, sizeof(linkpath) - 1)) > 0) + { + /* + * Yes, this is a symlink to the actual program, nul-terminate and + * use it... + */ + + linkpath[linkbytes] = '\0'; + + if (linkpath[0] == '/') + snprintf(cfprocesspath, sizeof(cfprocesspath), "CFProcessPath=%s", + linkpath); + else + snprintf(cfprocesspath, sizeof(cfprocesspath), "CFProcessPath=%s/%s", + dirname((char *)command), linkpath); + } + else + snprintf(cfprocesspath, sizeof(cfprocesspath), "CFProcessPath=%s", command); + + envp[0] = cfprocesspath; + + /* + * Copy the rest of the environment except for any CFProcessPath that may + * already be there... + */ + + for (i = 1, j = 0; + environ[j] && i < (int)(sizeof(envp) / sizeof(envp[0]) - 1); + j ++) + if (strncmp(environ[j], "CFProcessPath=", 14)) + envp[i ++] = environ[j]; + + envp[i] = NULL; + + /* + * Use execve() to run the program... + */ + + return (execve(command, argv, envp)); + +#else + /* + * On other operating systems, just call execv() to use the same environment + * variables as the parent... + */ + + return (execv(command, argv)); +#endif /* __APPLE__ */ +} + + +/* + * 'cupsdPipeCommand()' - Read output from a command. + */ + +cups_file_t * /* O - CUPS file or NULL on error */ +cupsdPipeCommand(int *pid, /* O - Process ID or 0 on error */ + const char *command, /* I - Command to run */ + char **argv, /* I - Arguments to pass to command */ + uid_t user) /* I - User to run as or 0 for current */ +{ + int fd, /* Temporary file descriptor */ + fds[2]; /* Pipe file descriptors */ + + + /* + * First create the pipe... + */ + + if (pipe(fds)) + { + *pid = 0; + return (NULL); + } + + /* + * Set the "close on exec" flag on each end of the pipe... + */ + + if (fcntl(fds[0], F_SETFD, fcntl(fds[0], F_GETFD) | FD_CLOEXEC)) + { + close(fds[0]); + close(fds[1]); + + *pid = 0; + + return (NULL); + } + + if (fcntl(fds[1], F_SETFD, fcntl(fds[1], F_GETFD) | FD_CLOEXEC)) + { + close(fds[0]); + close(fds[1]); + + *pid = 0; + + return (NULL); + } + + /* + * Then run the command... + */ + + if ((*pid = fork()) < 0) + { + /* + * Unable to fork! + */ + + *pid = 0; + close(fds[0]); + close(fds[1]); + + return (NULL); + } + else if (!*pid) + { + /* + * Child comes here... + */ + + if (!getuid() && user) + setuid(user); /* Run as restricted user */ + + if ((fd = open("/dev/null", O_RDONLY)) > 0) + { + dup2(fd, 0); /* pipe */ + close(fds[1]); + + cupsdExec(command, argv); + exit(errno); + } + + /* + * Parent comes here, open the input side of the pipe... + */ + + close(fds[1]); + + return (cupsFileOpenFd(fds[0], "r")); +} + + +/* + * 'cupsdSendIPPGroup()' - Send a group tag. + */ + +void +cupsdSendIPPGroup(ipp_tag_t group_tag) /* I - Group tag */ +{ + /* + * Send IPP group tag (1 byte)... + */ + + putchar(group_tag); +} + + +/* + * 'cupsdSendIPPHeader()' - Send the IPP response header. + */ + +void +cupsdSendIPPHeader( + ipp_status_t status_code, /* I - Status code */ + int request_id) /* I - Request ID */ +{ + /* + * Send IPP/1.1 response header: version number (2 bytes), status code + * (2 bytes), and request ID (4 bytes)... + * + * TODO: Add version number (IPP/2.x and IPP/1.0) support. + */ + + putchar(1); + putchar(1); + + putchar(status_code >> 8); + putchar(status_code); + + putchar(request_id >> 24); + putchar(request_id >> 16); + putchar(request_id >> 8); + putchar(request_id); +} + + +/* + * 'cupsdSendIPPInteger()' - Send an integer attribute. + */ + +void +cupsdSendIPPInteger( + ipp_tag_t value_tag, /* I - Value tag */ + const char *name, /* I - Attribute name */ + int value) /* I - Attribute value */ +{ + size_t len; /* Length of attribute name */ + + + /* + * Send IPP integer value: value tag (1 byte), name length (2 bytes), + * name string (without nul), value length (2 bytes), and value (4 bytes)... + */ + + putchar(value_tag); + + len = strlen(name); + putchar((int)(len >> 8)); + putchar((int)len); + + fputs(name, stdout); + + putchar(0); + putchar(4); + + putchar(value >> 24); + putchar(value >> 16); + putchar(value >> 8); + putchar(value); +} + + +/* + * 'cupsdSendIPPString()' - Send a string attribute. + */ + +void +cupsdSendIPPString( + ipp_tag_t value_tag, /* I - Value tag */ + const char *name, /* I - Attribute name */ + const char *value) /* I - Attribute value */ +{ + size_t len; /* Length of attribute name */ + + + /* + * Send IPP string value: value tag (1 byte), name length (2 bytes), + * name string (without nul), value length (2 bytes), and value string + * (without nul)... + */ + + putchar(value_tag); + + len = strlen(name); + putchar((int)(len >> 8)); + putchar((int)len); + + fputs(name, stdout); + + len = strlen(value); + putchar((int)(len >> 8)); + putchar((int)len); + + fputs(value, stdout); +} + + +/* + * 'cupsdSendIPPTrailer()' - Send the end-of-message tag. + */ + +void +cupsdSendIPPTrailer(void) +{ + putchar(IPP_TAG_END); + fflush(stdout); +} diff --git a/scheduler/util.h b/scheduler/util.h new file mode 100644 index 0000000..6fa8dfd --- /dev/null +++ b/scheduler/util.h @@ -0,0 +1,61 @@ +/* + * Mini-daemon utility definitions for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2005 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPSD_UTIL_H_ +# define _CUPSD_UTIL_H_ + +/* + * Include necessary headers... + */ + +# include +# include +# include + + +/* + * C++ magic... + */ + +# ifdef __cplusplus +extern "C" { +# endif /* __cplusplus */ + + +/* + * Types... + */ + +typedef int (*cupsd_compare_func_t)(const void *, const void *); + + +/* + * Prototypes... + */ + +extern int cupsdCompareNames(const char *s, const char *t); +extern cups_array_t *cupsdCreateStringsArray(const char *s); +extern int cupsdExec(const char *command, char **argv); +extern cups_file_t *cupsdPipeCommand(int *pid, const char *command, + char **argv, uid_t user); +extern void cupsdSendIPPGroup(ipp_tag_t group_tag); +extern void cupsdSendIPPHeader(ipp_status_t status_code, + int request_id); +extern void cupsdSendIPPInteger(ipp_tag_t value_tag, + const char *name, int value); +extern void cupsdSendIPPString(ipp_tag_t value_tag, + const char *name, const char *value); +extern void cupsdSendIPPTrailer(void); + + +# ifdef __cplusplus +} +# endif /* __cplusplus */ + +#endif /* !_CUPSD_UTIL_H_ */ diff --git a/systemv/Dependencies b/systemv/Dependencies new file mode 100644 index 0000000..1971cdf --- /dev/null +++ b/systemv/Dependencies @@ -0,0 +1,65 @@ +cancel.o: cancel.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h +cupsaccept.o: cupsaccept.c ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +cupsctl.o: cupsctl.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/adminutil.h +cupstestppd.o: cupstestppd.c ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/dir.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h +lp.o: lp.c ../cups/cups-private.h ../cups/string-private.h ../config.h \ + ../cups/versioning.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +lpadmin.o: lpadmin.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h +lpinfo.o: lpinfo.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/adminutil.h +lpmove.o: lpmove.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h +lpoptions.o: lpoptions.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/raster.h +lpstat.o: lpstat.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h diff --git a/systemv/Makefile b/systemv/Makefile new file mode 100644 index 0000000..d11dc59 --- /dev/null +++ b/systemv/Makefile @@ -0,0 +1,255 @@ +# +# System V commands makefile for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2006 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +include ../Makedefs + +TARGETS = cancel cupsaccept cupsctl cupstestppd \ + lp lpadmin lpinfo lpmove lpoptions lpstat +OBJS = cancel.o cupsaccept.o cupsctl.o \ + cupstestppd.o lp.o lpadmin.o lpinfo.o lpmove.o lpoptions.o \ + lpstat.o + + +# +# Make all targets... +# + +all: $(TARGETS) + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Clean all object files... +# + +clean: + $(RM) $(OBJS) $(TARGETS) + $(RM) cupsdisable cupsenable cupsreject + + +# +# Update dependencies (without system header dependencies...) +# + +depend: + $(CC) -MM $(ALL_CFLAGS) $(OBJS:.o=.c) >Dependencies + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + + +# +# Install programs... +# + +install-exec: + echo Installing System V admin printing commands in $(SBINDIR) + $(INSTALL_DIR) -m 755 $(SBINDIR) + $(INSTALL_BIN) cupsaccept $(SBINDIR) + $(INSTALL_BIN) cupsctl $(SBINDIR) + $(INSTALL_BIN) lpadmin $(SBINDIR) + $(INSTALL_BIN) lpinfo $(SBINDIR) + $(INSTALL_BIN) lpmove $(SBINDIR) + $(RM) $(SBINDIR)/cupsdisable + $(LN) cupsaccept $(SBINDIR)/cupsdisable + $(RM) $(SBINDIR)/cupsenable + $(LN) cupsaccept $(SBINDIR)/cupsenable + $(RM) $(SBINDIR)/cupsreject + $(LN) cupsaccept $(SBINDIR)/cupsreject + echo Installing System V user printing commands in $(BINDIR) + $(INSTALL_DIR) -m 755 $(BINDIR) + $(INSTALL_BIN) cancel $(BINDIR) + $(INSTALL_BIN) cupstestppd $(BINDIR) + $(INSTALL_BIN) lp $(BINDIR) + $(INSTALL_BIN) lpoptions $(BINDIR) + $(INSTALL_BIN) lpstat $(BINDIR) + if test "x$(SYMROOT)" != "x"; then \ + $(INSTALL_DIR) $(SYMROOT); \ + for file in $(TARGETS); do \ + cp $$file $(SYMROOT); \ + dsymutil $(SYMROOT)/$$file; \ + done \ + fi + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall all targets... +# + +uninstall: + $(RM) $(BINDIR)/cancel + $(RM) $(BINDIR)/cupstestppd + $(RM) $(BINDIR)/lp + $(RM) $(BINDIR)/lpoptions + $(RM) $(BINDIR)/lpstat + -$(RMDIR) $(BINDIR) + $(RM) $(SBINDIR)/cupsaccept + $(RM) $(SBINDIR)/cupsaccept + $(RM) $(SBINDIR)/cupsdisable + $(RM) $(SBINDIR)/cupsenable + $(RM) $(SBINDIR)/cupsreject + $(RM) $(SBINDIR)/lpadmin + $(RM) $(SBINDIR)/lpinfo + $(RM) $(SBINDIR)/lpmove + -$(RMDIR) $(SBINDIR) + + +# +# cancel +# + +cancel: cancel.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o cancel cancel.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# cupsaccept +# + +cupsaccept: cupsaccept.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o cupsaccept cupsaccept.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + for file in cupsenable cupsdisable cupsreject; do \ + $(RM) $$file; \ + $(LN) cupsaccept $$file; \ + done + + +# +# cupsctl +# + +cupsctl: cupsctl.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o cupsctl cupsctl.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# cupstestppd +# + +cupstestppd: cupstestppd.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ cupstestppd.o -lm $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + +cupstestppd-static: cupstestppd.o ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ cupstestppd.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# lp +# + +lp: lp.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o lp lp.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# lpadmin +# + +lpadmin: lpadmin.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o lpadmin lpadmin.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# lpinfo +# + +lpinfo: lpinfo.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o lpinfo lpinfo.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# lpmove +# + +lpmove: lpmove.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o lpmove lpmove.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# lpoptions +# + +lpoptions: lpoptions.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o lpoptions lpoptions.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# lpstat +# + +lpstat: lpstat.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o lpstat lpstat.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Dependencies... +# + +include Dependencies diff --git a/systemv/cancel.c b/systemv/cancel.c new file mode 100644 index 0000000..c85a86e --- /dev/null +++ b/systemv/cancel.c @@ -0,0 +1,410 @@ +/* + * "cancel" command for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include + + +/* + * Local functions... + */ + +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Parse options and cancel jobs. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + http_t *http; /* HTTP connection to server */ + int i; /* Looping var */ + int job_id; /* Job ID */ + int num_dests; /* Number of destinations */ + cups_dest_t *dests; /* Destinations */ + char *opt, /* Option pointer */ + *dest, /* Destination printer */ + *job, /* Job ID pointer */ + *user; /* Cancel jobs for a user */ + int purge; /* Purge or cancel jobs? */ + char uri[1024]; /* Printer or job URI */ + ipp_t *request; /* IPP request */ + ipp_t *response; /* IPP response */ + ipp_op_t op; /* Operation */ + + + _cupsSetLocale(argv); + + /* + * Setup to cancel individual print jobs... + */ + + op = IPP_CANCEL_JOB; + purge = 0; + dest = NULL; + user = NULL; + http = NULL; + num_dests = 0; + dests = NULL; + + + /* + * Process command-line arguments... + */ + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + usage(); + else if (argv[i][0] == '-' && argv[i][1]) + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'E' : /* Encrypt */ +#ifdef HAVE_SSL + cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); + + if (http) + httpEncryption(http, HTTP_ENCRYPT_REQUIRED); +#else + _cupsLangPrintf(stderr, _("%s: Sorry, no encryption support."), argv[0]); +#endif /* HAVE_SSL */ + break; + + case 'U' : /* Username */ + if (opt[1] != '\0') + { + cupsSetUser(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected username after \"-U\" option."), argv[0]); + usage(); + } + + cupsSetUser(argv[i]); + } + break; + + case 'a' : /* Cancel all jobs */ + op = purge ? IPP_PURGE_JOBS : IPP_CANCEL_JOBS; + break; + + case 'h' : /* Connect to host */ + if (http != NULL) + { + httpClose(http); + http = NULL; + } + + if (opt[1] != '\0') + { + cupsSetServer(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected hostname after \"-h\" option."), argv[0]); + usage(); + } + else + cupsSetServer(argv[i]); + } + break; + + case 'u' : /* Username */ + op = IPP_CANCEL_MY_JOBS; + + if (opt[1] != '\0') + { + user = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected username after \"-u\" option."), argv[0]); + usage(); + } + else + user = argv[i]; + } + break; + + case 'x' : /* Purge job(s) */ + purge = 1; + + if (op == IPP_CANCEL_JOBS) + op = IPP_PURGE_JOBS; + break; + + default : + _cupsLangPrintf(stderr, _("%s: Error - unknown option \"%c\"."), argv[0], *opt); + return (1); + } + } + } + else + { + /* + * Cancel a job or printer... + */ + + if (num_dests == 0) + num_dests = cupsGetDests(&dests); + + if (!strcmp(argv[i], "-")) + { + /* + * Delete the current job... + */ + + dest = ""; + job_id = 0; + } + else if (cupsGetDest(argv[i], NULL, num_dests, dests) != NULL) + { + /* + * Delete the current job on the named destination... + */ + + dest = argv[i]; + job_id = 0; + } + else if ((job = strrchr(argv[i], '-')) != NULL && isdigit(job[1] & 255)) + { + /* + * Delete the specified job ID. + */ + + dest = NULL; + op = IPP_CANCEL_JOB; + job_id = atoi(job + 1); + } + else if (isdigit(argv[i][0] & 255)) + { + /* + * Delete the specified job ID. + */ + + dest = NULL; + op = IPP_CANCEL_JOB; + job_id = atoi(argv[i]); + } + else + { + /* + * Bad printer name! + */ + + _cupsLangPrintf(stderr, + _("%s: Error - unknown destination \"%s\"."), + argv[0], argv[i]); + return (1); + } + + /* + * For Solaris LP compatibility, ignore a destination name after + * cancelling a specific job ID... + */ + + if (job_id && (i + 1) < argc && + cupsGetDest(argv[i + 1], NULL, num_dests, dests) != NULL) + i ++; + + /* + * Open a connection to the server... + */ + + if (http == NULL) + if ((http = httpConnectEncrypt(cupsServer(), ippPort(), + cupsEncryption())) == NULL) + { + _cupsLangPrintf(stderr, + _("%s: Unable to connect to server."), argv[0]); + return (1); + } + + /* + * Build an IPP request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + job-id *or* job-uri + * [requesting-user-name] + */ + + request = ippNewRequest(op); + + if (dest) + { + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", dest); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_INTEGER, "job-id", + job_id); + } + else + { + sprintf(uri, "ipp://localhost/jobs/%d", job_id); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, + uri); + } + + if (user) + { + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + ippAddBoolean(request, IPP_TAG_OPERATION, "my-jobs", 1); + + if (op == IPP_CANCEL_JOBS) + op = IPP_CANCEL_MY_JOBS; + } + else + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + + if (purge) + ippAddBoolean(request, IPP_TAG_OPERATION, "purge-jobs", (char)purge); + + /* + * Do the request and get back a response... + */ + + if (op == IPP_CANCEL_JOBS && (!user || _cups_strcasecmp(user, cupsUser()))) + response = cupsDoRequest(http, request, "/admin/"); + else + response = cupsDoRequest(http, request, "/jobs/"); + + if (response == NULL || + response->request.status.status_code > IPP_OK_CONFLICT) + { + _cupsLangPrintf(stderr, _("%s: %s failed: %s"), argv[0], + op == IPP_PURGE_JOBS ? "purge-jobs" : "cancel-job", + cupsLastErrorString()); + + if (response) + ippDelete(response); + + return (1); + } + + ippDelete(response); + } + } + + if (num_dests == 0 && op != IPP_CANCEL_JOB) + { + /* + * Open a connection to the server... + */ + + if (http == NULL) + if ((http = httpConnectEncrypt(cupsServer(), ippPort(), + cupsEncryption())) == NULL) + { + _cupsLangPrintf(stderr, _("%s: Unable to contact server."), argv[0]); + return (1); + } + + /* + * Build an IPP request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + job-id *or* job-uri + * [requesting-user-name] + */ + + request = ippNewRequest(op); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, "ipp://localhost/printers/"); + + if (user) + { + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, user); + ippAddBoolean(request, IPP_TAG_OPERATION, "my-jobs", 1); + } + else + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + + ippAddBoolean(request, IPP_TAG_OPERATION, "purge-jobs", (char)purge); + + /* + * Do the request and get back a response... + */ + + response = cupsDoRequest(http, request, "/admin/"); + + if (response == NULL || + response->request.status.status_code > IPP_OK_CONFLICT) + { + _cupsLangPrintf(stderr, _("%s: %s failed: %s"), argv[0], + op == IPP_PURGE_JOBS ? "purge-jobs" : "cancel-job", + cupsLastErrorString()); + + if (response) + ippDelete(response); + + return (1); + } + + ippDelete(response); + } + + return (0); +} + + +/* + * 'usage()' - Show program usage and exit. + */ + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: cancel [options] [id]\n" + " cancel [options] [destination]\n" + " cancel [options] [destination-id]")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("-a Cancel all jobs")); + _cupsLangPuts(stdout, _("-E Encrypt the connection to the server")); + _cupsLangPuts(stdout, _("-h server[:port] Connect to the named server and port")); + _cupsLangPuts(stdout, _("-u owner Specify the owner to use for jobs")); + _cupsLangPuts(stdout, _("-U username Specify the username to use for authentication")); + _cupsLangPuts(stdout, _("-x Purge jobs rather than just canceling")); + + exit(1); +} diff --git a/systemv/cupsaccept.c b/systemv/cupsaccept.c new file mode 100644 index 0000000..22fb01b --- /dev/null +++ b/systemv/cupsaccept.c @@ -0,0 +1,254 @@ +/* + * "cupsaccept", "cupsdisable", "cupsenable", and "cupsreject" commands for + * CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include + + +/* + * Local functions... + */ + +static void usage(const char *command) _CUPS_NORETURN; + + +/* + * 'main()' - Parse options and accept/reject jobs or disable/enable printers. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + char *command, /* Command to do */ + *opt, /* Option pointer */ + uri[1024], /* Printer URI */ + *reason; /* Reason for reject/disable */ + ipp_t *request; /* IPP request */ + ipp_op_t op; /* Operation */ + int cancel; /* Cancel jobs? */ + + + _cupsSetLocale(argv); + + /* + * See what operation we're supposed to do... + */ + + if ((command = strrchr(argv[0], '/')) != NULL) + command ++; + else + command = argv[0]; + + cancel = 0; + + if (!strcmp(command, "cupsaccept")) + op = CUPS_ACCEPT_JOBS; + else if (!strcmp(command, "cupsreject")) + op = CUPS_REJECT_JOBS; + else if (!strcmp(command, "cupsdisable")) + op = IPP_PAUSE_PRINTER; + else if (!strcmp(command, "cupsenable")) + op = IPP_RESUME_PRINTER; + else + { + _cupsLangPrintf(stderr, _("%s: Don't know what to do."), command); + return (1); + } + + reason = NULL; + + /* + * Process command-line arguments... + */ + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + usage(command); + else if (!strcmp(argv[i], "--hold")) + op = IPP_HOLD_NEW_JOBS; + else if (!strcmp(argv[i], "--release")) + op = IPP_RELEASE_HELD_NEW_JOBS; + else if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'E' : /* Encrypt */ +#ifdef HAVE_SSL + cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); +#else + _cupsLangPrintf(stderr, _("%s: Sorry, no encryption support."), command); +#endif /* HAVE_SSL */ + break; + + case 'U' : /* Username */ + if (opt[1] != '\0') + { + cupsSetUser(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected username after \"-U\" option."), command); + usage(command); + } + + cupsSetUser(argv[i]); + } + break; + + case 'c' : /* Cancel jobs */ + cancel = 1; + break; + + case 'h' : /* Connect to host */ + if (opt[1] != '\0') + { + cupsSetServer(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected hostname after \"-h\" option."), command); + usage(command); + } + + cupsSetServer(argv[i]); + } + break; + + case 'r' : /* Reason for cancellation */ + if (opt[1] != '\0') + { + reason = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected reason text after \"-r\" option."), command); + usage(command); + } + + reason = argv[i]; + } + break; + + default : + _cupsLangPrintf(stderr, _("%s: Error - unknown option \"%c\"."), command, *opt); + usage(command); + } + } + } + else + { + /* + * Accept/disable/enable/reject a destination... + */ + + request = ippNewRequest(op); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", argv[i]); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + + if (reason != NULL) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_TEXT, + "printer-state-message", NULL, reason); + + /* + * Do the request and get back a response... + */ + + ippDelete(cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/admin/")); + + if (cupsLastError() > IPP_OK_CONFLICT) + { + _cupsLangPrintf(stderr, + _("%s: Operation failed: %s"), + command, ippErrorString(cupsLastError())); + return (1); + } + + /* + * Cancel all jobs if requested... + */ + + if (cancel) + { + /* + * Build an IPP_PURGE_JOBS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + */ + + request = ippNewRequest(IPP_PURGE_JOBS); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + + ippDelete(cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/admin/")); + + if (cupsLastError() > IPP_OK_CONFLICT) + { + _cupsLangPrintf(stderr, "%s: %s", command, cupsLastErrorString()); + return (1); + } + } + } + } + + return (0); +} + + +/* + * 'usage()' - Show program usage and exit. + */ + +static void +usage(const char *command) /* I - Command name */ +{ + _cupsLangPrintf(stdout, _("Usage: %s [options] destination(s)"), command); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("-E Encrypt the connection to the server")); + _cupsLangPuts(stdout, _("-h server[:port] Connect to the named server and port")); + _cupsLangPuts(stdout, _("-r reason Specify a reason message that others can see")); + _cupsLangPuts(stdout, _("-U username Specify the username to use for authentication")); + if (!strcmp(command, "cupsdisable")) + _cupsLangPuts(stdout, _("--hold Hold new jobs")); + if (!strcmp(command, "cupsenable")) + _cupsLangPuts(stdout, _("--release Release previously held jobs")); + + exit(1); +} diff --git a/systemv/cupsctl.c b/systemv/cupsctl.c new file mode 100644 index 0000000..3b5b4c5 --- /dev/null +++ b/systemv/cupsctl.c @@ -0,0 +1,243 @@ +/* + * Scheduler control program for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 2006-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include + + +/* + * Local functions... + */ + +static void usage(const char *opt) _CUPS_NORETURN; + + +/* + * 'main()' - Get/set server settings. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i, j, /* Looping vars */ + num_settings; /* Number of settings */ + cups_option_t *settings, /* Settings */ + *setting; /* Current setting */ + const char *opt; /* Current option character */ + http_t *http; /* Connection to server */ + static const char * const disallowed[] = + { /* List of disallowed directives for cupsd.conf */ + "AccessLog", + "CacheDir", + "ConfigFilePerm", + "DataDir", + "DocumentRoot", + "ErrorLog", + "FatalErrors", + "FileDevice", + "FontPath", + "Group", + "Listen", + "LogFilePerm", + "LPDConfigFile", + "PageLog", + "PassEnv", + "Port", + "Printcap", + "PrintcapFormat", + "RemoteRoot", + "RequestRoot", + "ServerBin", + "ServerCertificate", + "ServerKey", + "ServerKeychain", + "ServerRoot", + "SetEnv", + "SMBConfigFile", + "StateDir", + "SystemGroup", + "SystemGroupAuthKey", + "TempDir", + "User" + }; + + + /* + * Process the command-line... + */ + + _cupsSetLocale(argv); + + num_settings = 0; + settings = NULL; + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + usage(NULL); + else if (argv[i][0] == '-') + { + if (argv[i][1] == '-') + { + if (!strcmp(argv[i], "--debug-logging")) + num_settings = cupsAddOption(CUPS_SERVER_DEBUG_LOGGING, "1", + num_settings, &settings); + else if (!strcmp(argv[i], "--no-debug-logging")) + num_settings = cupsAddOption(CUPS_SERVER_DEBUG_LOGGING, "0", + num_settings, &settings); + else if (!strcmp(argv[i], "--remote-admin")) + num_settings = cupsAddOption(CUPS_SERVER_REMOTE_ADMIN, "1", + num_settings, &settings); + else if (!strcmp(argv[i], "--no-remote-admin")) + num_settings = cupsAddOption(CUPS_SERVER_REMOTE_ADMIN, "0", + num_settings, &settings); + else if (!strcmp(argv[i], "--remote-any")) + num_settings = cupsAddOption(CUPS_SERVER_REMOTE_ANY, "1", + num_settings, &settings); + else if (!strcmp(argv[i], "--no-remote-any")) + num_settings = cupsAddOption(CUPS_SERVER_REMOTE_ANY, "0", + num_settings, &settings); + else if (!strcmp(argv[i], "--share-printers")) + num_settings = cupsAddOption(CUPS_SERVER_SHARE_PRINTERS, "1", + num_settings, &settings); + else if (!strcmp(argv[i], "--no-share-printers")) + num_settings = cupsAddOption(CUPS_SERVER_SHARE_PRINTERS, "0", + num_settings, &settings); + else if (!strcmp(argv[i], "--user-cancel-any")) + num_settings = cupsAddOption(CUPS_SERVER_USER_CANCEL_ANY, "1", + num_settings, &settings); + else if (!strcmp(argv[i], "--no-user-cancel-any")) + num_settings = cupsAddOption(CUPS_SERVER_USER_CANCEL_ANY, "0", + num_settings, &settings); + else + usage(argv[i]); + } + else + { + for (opt = argv[i] + 1; *opt; opt ++) + switch (*opt) + { + case 'E' : + cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); + break; + + case 'U' : + i ++; + if (i >= argc) + usage(NULL); + + cupsSetUser(argv[i]); + break; + + case 'h' : + i ++; + if (i >= argc) + usage(NULL); + + cupsSetServer(argv[i]); + break; + + default : + usage(opt); + break; + } + } + } + else if (strchr(argv[i], '=')) + num_settings = cupsParseOptions(argv[i], num_settings, &settings); + else + usage(argv[i]); + } + + for (i = num_settings, setting = settings; i > 0; i --, setting ++) + { + for (j = 0; j < (int)(sizeof(disallowed) / sizeof(disallowed[0])); j ++) + { + if (!_cups_strcasecmp(setting->name, disallowed[j])) + { + _cupsLangPrintf(stderr, _("cupsctl: Cannot set %s directly."), disallowed[j]); + return (1); + } + } + } + + /* + * Connect to the server using the defaults... + */ + + if ((http = httpConnectEncrypt(cupsServer(), ippPort(), + cupsEncryption())) == NULL) + { + _cupsLangPrintf(stderr, _("cupsctl: Unable to connect to server: %s"), + strerror(errno)); + return (1); + } + + /* + * Set the current configuration if we have anything on the command-line... + */ + + if (num_settings > 0) + { + if (!cupsAdminSetServerSettings(http, num_settings, settings)) + { + _cupsLangPrintf(stderr, "cupsctl: %s", cupsLastErrorString()); + return (1); + } + } + else if (!cupsAdminGetServerSettings(http, &num_settings, &settings)) + { + _cupsLangPrintf(stderr, "cupsctl: %s", cupsLastErrorString()); + return (1); + } + else + { + for (i = 0; i < num_settings; i ++) + _cupsLangPrintf(stdout, "%s=%s", settings[i].name, settings[i].value); + } + + cupsFreeOptions(num_settings, settings); + return (0); +} + + +/* + * 'usage()' - Show program usage. + */ + +static void +usage(const char *opt) /* I - Option character/string */ +{ + if (opt) + { + if (*opt == '-') + _cupsLangPrintf(stderr, _("cupsctl: Unknown option \"%s\""), opt); + else + _cupsLangPrintf(stderr, _("cupsctl: Unknown option \"-%c\""), *opt); + } + + _cupsLangPuts(stdout, _("Usage: cupsctl [options] [param=value ... paramN=valueN]")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("-E Encrypt the connection to the server")); + _cupsLangPuts(stdout, _("-h server[:port] Connect to the named server and port")); + _cupsLangPuts(stdout, _("-U username Specify username to use for authentication")); + _cupsLangPuts(stdout, _("--[no-]debug-logging Turn debug logging on/off")); + _cupsLangPuts(stdout, _("--[no-]remote-admin Turn remote administration on/off")); + _cupsLangPuts(stdout, _("--[no-]remote-any Allow/prevent access from the Internet")); + _cupsLangPuts(stdout, _("--[no-]share-printers Turn printer sharing on/off")); + _cupsLangPuts(stdout, _("--[no-]user-cancel-any Allow/prevent users to cancel any job")); + + exit(1); +} diff --git a/systemv/cupstestppd.c b/systemv/cupstestppd.c new file mode 100644 index 0000000..b94cae9 --- /dev/null +++ b/systemv/cupstestppd.c @@ -0,0 +1,4028 @@ +/* + * PPD test program for CUPS. + * + * THIS PROGRAM IS DEPRECATED AND WILL BE REMOVED IN A FUTURE VERSION OF CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + * + * PostScript is a trademark of Adobe Systems, Inc. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include +#ifdef _WIN32 +# define X_OK 0 +#endif /* _WIN32 */ + + +/* + * Error warning overrides... + */ + +enum +{ + WARN_NONE = 0, + WARN_CONSTRAINTS = 1, + WARN_DEFAULTS = 2, + WARN_FILTERS = 4, + WARN_PROFILES = 8, + WARN_TRANSLATIONS = 16, + WARN_DUPLEX = 32, + WARN_SIZES = 64, + WARN_FILENAME = 128, + WARN_ALL = 255 +}; + + +/* + * Error codes... + */ + +enum +{ + ERROR_NONE = 0, + ERROR_USAGE, + ERROR_FILE_OPEN, + ERROR_PPD_FORMAT, + ERROR_CONFORMANCE +}; + + +/* + * Line endings... + */ + +enum +{ + EOL_NONE = 0, + EOL_CR, + EOL_LF, + EOL_CRLF +}; + + +/* + * File permissions... + */ + +#define MODE_WRITE 0022 /* Group/other write */ +#define MODE_MASK 0555 /* Owner/group/other read+exec/search */ +#define MODE_DATAFILE 0444 /* Owner/group/other read */ +#define MODE_DIRECTORY 0555 /* Owner/group/other read+search */ +#define MODE_PROGRAM 0555 /* Owner/group/other read+exec */ + + +/* + * Local functions... + */ + +static void check_basics(const char *filename); +static int check_constraints(ppd_file_t *ppd, int errors, int verbose, + int warn); +static int check_case(ppd_file_t *ppd, int errors, int verbose); +static int check_defaults(ppd_file_t *ppd, int errors, int verbose, + int warn); +static int check_duplex(ppd_file_t *ppd, int errors, int verbose, + int warn); +static int check_filters(ppd_file_t *ppd, const char *root, int errors, + int verbose, int warn); +static int check_profiles(ppd_file_t *ppd, const char *root, int errors, + int verbose, int warn); +static int check_sizes(ppd_file_t *ppd, int errors, int verbose, int warn); +static int check_translations(ppd_file_t *ppd, int errors, int verbose, + int warn); +static void show_conflicts(ppd_file_t *ppd, const char *prefix); +static int test_raster(ppd_file_t *ppd, int verbose); +static void usage(void) _CUPS_NORETURN; +static int valid_path(const char *keyword, const char *path, int errors, + int verbose, int warn); +static int valid_utf8(const char *s); + + +/* + * 'main()' - Main entry for test program. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i, j, k, m, n; /* Looping vars */ + size_t len; /* Length of option name */ + char *opt; /* Option character */ + const char *ptr; /* Pointer into string */ + cups_file_t *fp; /* PPD file */ + int files; /* Number of files */ + int verbose; /* Want verbose output? */ + int warn; /* Which errors to just warn about */ + int ignore; /* Which errors to ignore */ + int status; /* Exit status */ + int errors; /* Number of conformance errors */ + int ppdversion; /* PPD spec version in PPD file */ + ppd_status_t error; /* Status of ppdOpen*() */ + int line; /* Line number for error */ + char *root; /* Root directory */ + int xdpi, /* X resolution */ + ydpi; /* Y resolution */ + ppd_file_t *ppd; /* PPD file record */ + ppd_attr_t *attr; /* PPD attribute */ + ppd_size_t *size; /* Size record */ + ppd_group_t *group; /* UI group */ + ppd_option_t *option; /* Standard UI option */ + ppd_group_t *group2; /* UI group */ + ppd_option_t *option2; /* Standard UI option */ + ppd_choice_t *choice; /* Standard UI option choice */ + struct lconv *loc; /* Locale data */ + static char *uis[] = { "BOOLEAN", "PICKONE", "PICKMANY" }; + static char *sections[] = { "ANY", "DOCUMENT", "EXIT", + "JCL", "PAGE", "PROLOG" }; + + + _cupsSetLocale(argv); + loc = localeconv(); + + /* + * Display PPD files for each file listed on the command-line... + */ + + ppdSetConformance(PPD_CONFORM_STRICT); + + verbose = 0; + ppd = NULL; + files = 0; + status = ERROR_NONE; + root = ""; + warn = WARN_NONE; + ignore = WARN_NONE; + + for (i = 1; i < argc; i ++) + if (!strcmp(argv[i], "--help")) + usage(); + else if (argv[i][0] == '-' && argv[i][1]) + { + for (opt = argv[i] + 1; *opt; opt ++) + switch (*opt) + { + case 'I' : /* Ignore errors */ + i ++; + + if (i >= argc) + usage(); + + if (!strcmp(argv[i], "none")) + ignore = WARN_NONE; + else if (!strcmp(argv[i], "filename")) + ignore |= WARN_FILENAME; + else if (!strcmp(argv[i], "filters")) + ignore |= WARN_FILTERS; + else if (!strcmp(argv[i], "profiles")) + ignore |= WARN_PROFILES; + else if (!strcmp(argv[i], "all")) + ignore = WARN_FILTERS | WARN_PROFILES; + else + usage(); + break; + + case 'R' : /* Alternate root directory */ + i ++; + + if (i >= argc) + usage(); + + root = argv[i]; + break; + + case 'W' : /* Turn errors into warnings */ + i ++; + + if (i >= argc) + usage(); + + if (!strcmp(argv[i], "none")) + warn = WARN_NONE; + else if (!strcmp(argv[i], "constraints")) + warn |= WARN_CONSTRAINTS; + else if (!strcmp(argv[i], "defaults")) + warn |= WARN_DEFAULTS; + else if (!strcmp(argv[i], "duplex")) + warn |= WARN_DUPLEX; + else if (!strcmp(argv[i], "filters")) + warn |= WARN_FILTERS; + else if (!strcmp(argv[i], "profiles")) + warn |= WARN_PROFILES; + else if (!strcmp(argv[i], "sizes")) + warn |= WARN_SIZES; + else if (!strcmp(argv[i], "translations")) + warn |= WARN_TRANSLATIONS; + else if (!strcmp(argv[i], "all")) + warn = WARN_ALL; + else + usage(); + break; + + case 'q' : /* Quiet mode */ + if (verbose > 0) + { + _cupsLangPuts(stderr, + _("cupstestppd: The -q option is incompatible " + "with the -v option.")); + return (1); + } + + verbose --; + break; + + case 'r' : /* Relaxed mode */ + ppdSetConformance(PPD_CONFORM_RELAXED); + break; + + case 'v' : /* Verbose mode */ + if (verbose < 0) + { + _cupsLangPuts(stderr, + _("cupstestppd: The -v option is incompatible " + "with the -q option.")); + return (1); + } + + verbose ++; + break; + + default : + usage(); + break; + } + } + else + { + /* + * Open the PPD file... + */ + + if (files && verbose >= 0) + puts(""); + + files ++; + + if (argv[i][0] == '-') + { + /* + * Read from stdin... + */ + + ppd = _ppdOpen(cupsFileStdin(), _PPD_LOCALIZATION_ALL); + + if (verbose >= 0) + printf("%s:", (ppd && ppd->pcfilename) ? ppd->pcfilename : "(stdin)"); + } + else + { + /* + * Read from a file... + */ + + if (verbose >= 0) + printf("%s:", argv[i]); + + if ((fp = cupsFileOpen(argv[i], "r")) != NULL) + { + ppd = _ppdOpen(fp, _PPD_LOCALIZATION_ALL); + cupsFileClose(fp); + } + else + { + status = ERROR_FILE_OPEN; + + if (verbose >= 0) + { + _cupsLangPuts(stdout, _(" FAIL")); + _cupsLangPrintf(stdout, + _(" **FAIL** Unable to open PPD file - %s on " + "line %d."), strerror(errno), 0); + continue; + } + } + } + + if (ppd == NULL) + { + error = ppdLastError(&line); + + if (error <= PPD_ALLOC_ERROR) + { + status = ERROR_FILE_OPEN; + + if (verbose >= 0) + { + _cupsLangPuts(stdout, _(" FAIL")); + _cupsLangPrintf(stdout, + _(" **FAIL** Unable to open PPD file - %s on " + "line %d."), strerror(errno), 0); + } + } + else + { + status = ERROR_PPD_FORMAT; + + if (verbose >= 0) + { + _cupsLangPuts(stdout, _(" FAIL")); + _cupsLangPrintf(stdout, + _(" **FAIL** Unable to open PPD file - " + "%s on line %d."), + ppdErrorString(error), line); + + switch (error) + { + case PPD_MISSING_PPDADOBE4 : + _cupsLangPuts(stdout, + _(" REF: Page 42, section " + "5.2.")); + break; + case PPD_MISSING_VALUE : + _cupsLangPuts(stdout, + _(" REF: Page 20, section " + "3.4.")); + break; + case PPD_BAD_OPEN_GROUP : + case PPD_NESTED_OPEN_GROUP : + _cupsLangPuts(stdout, + _(" REF: Pages 45-46, section " + "5.2.")); + break; + case PPD_BAD_OPEN_UI : + case PPD_NESTED_OPEN_UI : + _cupsLangPuts(stdout, + _(" REF: Pages 42-45, section " + "5.2.")); + break; + case PPD_BAD_ORDER_DEPENDENCY : + _cupsLangPuts(stdout, + _(" REF: Pages 48-49, section " + "5.2.")); + break; + case PPD_BAD_UI_CONSTRAINTS : + _cupsLangPuts(stdout, + _(" REF: Pages 52-54, section " + "5.2.")); + break; + case PPD_MISSING_ASTERISK : + _cupsLangPuts(stdout, + _(" REF: Page 15, section " + "3.2.")); + break; + case PPD_LINE_TOO_LONG : + _cupsLangPuts(stdout, + _(" REF: Page 15, section " + "3.1.")); + break; + case PPD_ILLEGAL_CHARACTER : + _cupsLangPuts(stdout, + _(" REF: Page 15, section " + "3.1.")); + break; + case PPD_ILLEGAL_MAIN_KEYWORD : + _cupsLangPuts(stdout, + _(" REF: Pages 16-17, section " + "3.2.")); + break; + case PPD_ILLEGAL_OPTION_KEYWORD : + _cupsLangPuts(stdout, + _(" REF: Page 19, section " + "3.3.")); + break; + case PPD_ILLEGAL_TRANSLATION : + _cupsLangPuts(stdout, + _(" REF: Page 27, section " + "3.5.")); + break; + default : + break; + } + + check_basics(argv[i]); + } + } + + continue; + } + + /* + * Show the header and then perform basic conformance tests (limited + * only by what the CUPS PPD functions actually load...) + */ + + errors = 0; + ppdversion = 43; + + if (verbose > 0) + _cupsLangPuts(stdout, + _("\n DETAILED CONFORMANCE TEST RESULTS")); + + if ((attr = ppdFindAttr(ppd, "FormatVersion", NULL)) != NULL && + attr->value) + ppdversion = (int)(10 * _cupsStrScand(attr->value, NULL, loc) + 0.5); + + if ((attr = ppdFindAttr(ppd, "cupsFilter2", NULL)) != NULL) + { + do + { + if (strstr(attr->value, "application/vnd.cups-raster")) + { + if (!test_raster(ppd, verbose)) + errors ++; + break; + } + } + while ((attr = ppdFindNextAttr(ppd, "cupsFilter2", NULL)) != NULL); + } + else + { + for (j = 0; j < ppd->num_filters; j ++) + if (strstr(ppd->filters[j], "application/vnd.cups-raster")) + { + if (!test_raster(ppd, verbose)) + errors ++; + break; + } + } + + /* + * Look for default keywords with no matching option... + */ + + if (!(warn & WARN_DEFAULTS)) + errors = check_defaults(ppd, errors, verbose, 0); + + if ((attr = ppdFindAttr(ppd, "DefaultImageableArea", NULL)) == NULL) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED DefaultImageableArea\n" + " REF: Page 102, section 5.15.")); + } + + errors ++; + } + else if (ppdPageSize(ppd, attr->value) == NULL && + strcmp(attr->value, "Unknown")) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** Bad DefaultImageableArea %s\n" + " REF: Page 102, section 5.15."), + attr->value); + } + + errors ++; + } + else + { + if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS DefaultImageableArea")); + } + + if ((attr = ppdFindAttr(ppd, "DefaultPaperDimension", NULL)) == NULL) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED DefaultPaperDimension\n" + " REF: Page 103, section 5.15.")); + } + + errors ++; + } + else if (ppdPageSize(ppd, attr->value) == NULL && + strcmp(attr->value, "Unknown")) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** Bad DefaultPaperDimension %s\n" + " REF: Page 103, section 5.15."), + attr->value); + } + + errors ++; + } + else if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS DefaultPaperDimension")); + + for (j = 0, group = ppd->groups; j < ppd->num_groups; j ++, group ++) + for (k = 0, option = group->options; + k < group->num_options; + k ++, option ++) + { + /* + * Verify that we have a default choice... + */ + + if (option->defchoice[0]) + { + if (ppdFindChoice(option, option->defchoice) == NULL && + strcmp(option->defchoice, "Unknown")) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** Bad Default%s %s\n" + " REF: Page 40, section 4.5."), + option->keyword, option->defchoice); + } + + errors ++; + } + else if (verbose > 0) + _cupsLangPrintf(stdout, + _(" PASS Default%s"), + option->keyword); + } + else + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** REQUIRED Default%s\n" + " REF: Page 40, section 4.5."), + option->keyword); + } + + errors ++; + } + } + + if ((attr = ppdFindAttr(ppd, "FileVersion", NULL)) != NULL) + { + for (ptr = attr->value; *ptr; ptr ++) + if (!isdigit(*ptr & 255) && *ptr != '.') + break; + + if (*ptr) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** Bad FileVersion \"%s\"\n" + " REF: Page 56, section 5.3."), + attr->value); + } + + errors ++; + } + else if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS FileVersion")); + } + else + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED FileVersion\n" + " REF: Page 56, section 5.3.")); + } + + errors ++; + } + + if ((attr = ppdFindAttr(ppd, "FormatVersion", NULL)) != NULL) + { + ptr = attr->value; + if (*ptr == '4' && ptr[1] == '.') + { + + for (ptr += 2; *ptr; ptr ++) + if (!isdigit(*ptr & 255)) + break; + } + + if (*ptr) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** Bad FormatVersion \"%s\"\n" + " REF: Page 56, section 5.3."), + attr->value); + } + + errors ++; + } + else if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS FormatVersion")); + } + else + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED FormatVersion\n" + " REF: Page 56, section 5.3.")); + } + + errors ++; + } + + if (ppd->lang_encoding != NULL) + { + if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS LanguageEncoding")); + } + else if (ppdversion > 40) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED LanguageEncoding\n" + " REF: Pages 56-57, section 5.3.")); + } + + errors ++; + } + + if (ppd->lang_version != NULL) + { + if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS LanguageVersion")); + } + else + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED LanguageVersion\n" + " REF: Pages 57-58, section 5.3.")); + } + + errors ++; + } + + if (ppd->manufacturer != NULL) + { + if (!_cups_strncasecmp(ppd->manufacturer, "Hewlett-Packard", 15) || + !_cups_strncasecmp(ppd->manufacturer, "Hewlett Packard", 15)) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** Bad Manufacturer (should be " + "\"%s\")\n" + " REF: Page 211, table D.1."), + "HP"); + } + + errors ++; + } + else if (!_cups_strncasecmp(ppd->manufacturer, "OkiData", 7) || + !_cups_strncasecmp(ppd->manufacturer, "Oki Data", 8)) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** Bad Manufacturer (should be " + "\"%s\")\n" + " REF: Page 211, table D.1."), + "Oki"); + } + + errors ++; + } + else if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS Manufacturer")); + } + else if (ppdversion >= 43) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED Manufacturer\n" + " REF: Pages 58-59, section 5.3.")); + } + + errors ++; + } + + if (ppd->modelname != NULL) + { + for (ptr = ppd->modelname; *ptr; ptr ++) + if (!isalnum(*ptr & 255) && !strchr(" ./-+", *ptr)) + break; + + if (*ptr) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** Bad ModelName - \"%c\" not " + "allowed in string.\n" + " REF: Pages 59-60, section 5.3."), + *ptr); + } + + errors ++; + } + else if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS ModelName")); + } + else + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED ModelName\n" + " REF: Pages 59-60, section 5.3.")); + } + + errors ++; + } + + if (ppd->nickname != NULL) + { + if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS NickName")); + } + else + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED NickName\n" + " REF: Page 60, section 5.3.")); + } + + errors ++; + } + + if (ppdFindOption(ppd, "PageSize") != NULL) + { + if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS PageSize")); + } + else + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED PageSize\n" + " REF: Pages 99-100, section 5.14.")); + } + + errors ++; + } + + if (ppdFindOption(ppd, "PageRegion") != NULL) + { + if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS PageRegion")); + } + else + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED PageRegion\n" + " REF: Page 100, section 5.14.")); + } + + errors ++; + } + + if (ppd->pcfilename != NULL) + { + if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS PCFileName")); + } + else if (!(ignore & WARN_FILENAME)) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED PCFileName\n" + " REF: Pages 61-62, section 5.3.")); + } + + errors ++; + } + + if (ppd->product != NULL) + { + if (ppd->product[0] != '(' || + ppd->product[strlen(ppd->product) - 1] != ')') + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** Bad Product - not \"(string)\".\n" + " REF: Page 62, section 5.3.")); + } + + errors ++; + } + else if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS Product")); + } + else + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED Product\n" + " REF: Page 62, section 5.3.")); + } + + errors ++; + } + + if ((attr = ppdFindAttr(ppd, "PSVersion", NULL)) != NULL && + attr->value != NULL) + { + char junkstr[255]; /* Temp string */ + int junkint; /* Temp integer */ + + + if (sscanf(attr->value, "(%254[^)\n])%d", junkstr, &junkint) != 2) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** Bad PSVersion - not \"(string) " + "int\".\n" + " REF: Pages 62-64, section 5.3.")); + } + + errors ++; + } + else if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS PSVersion")); + } + else + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED PSVersion\n" + " REF: Pages 62-64, section 5.3.")); + } + + errors ++; + } + + if (ppd->shortnickname != NULL) + { + if (strlen(ppd->shortnickname) > 31) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** Bad ShortNickName - longer " + "than 31 chars.\n" + " REF: Pages 64-65, section 5.3.")); + } + + errors ++; + } + else if (verbose > 0) + _cupsLangPuts(stdout, _(" PASS ShortNickName")); + } + else if (ppdversion >= 43) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED ShortNickName\n" + " REF: Page 64-65, section 5.3.")); + } + + errors ++; + } + + if (ppd->patches != NULL && strchr(ppd->patches, '\"') && + strstr(ppd->patches, "*End")) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** Bad JobPatchFile attribute in file\n" + " REF: Page 24, section 3.4.")); + } + + errors ++; + } + + /* + * Check for page sizes without the corresponding ImageableArea or + * PaperDimension values... + */ + + if (ppd->num_sizes == 0) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPuts(stdout, + _(" **FAIL** REQUIRED PageSize\n" + " REF: Page 41, section 5.\n" + " REF: Page 99, section 5.14.")); + } + + errors ++; + } + else + { + for (j = 0, size = ppd->sizes; j < ppd->num_sizes; j ++, size ++) + { + /* + * Don't check custom size... + */ + + if (!strcmp(size->name, "Custom")) + continue; + + /* + * Check for ImageableArea... + */ + + if (size->left == 0.0 && size->bottom == 0.0 && + size->right == 0.0 && size->top == 0.0) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** REQUIRED ImageableArea for " + "PageSize %s\n" + " REF: Page 41, section 5.\n" + " REF: Page 102, section 5.15."), + size->name); + } + + errors ++; + } + + /* + * Check for PaperDimension... + */ + + if (size->width <= 0.0 && size->length <= 0.0) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** REQUIRED PaperDimension " + "for PageSize %s\n" + " REF: Page 41, section 5.\n" + " REF: Page 103, section 5.15."), + size->name); + } + + errors ++; + } + } + } + + /* + * Check for valid Resolution, JCLResolution, or SetResolution values... + */ + + if ((option = ppdFindOption(ppd, "Resolution")) == NULL) + if ((option = ppdFindOption(ppd, "JCLResolution")) == NULL) + option = ppdFindOption(ppd, "SetResolution"); + + if (option != NULL) + { + for (j = option->num_choices, choice = option->choices; + j > 0; + j --, choice ++) + { + /* + * Verify that all resolution options are of the form NNNdpi + * or NNNxNNNdpi... + */ + + xdpi = strtol(choice->choice, (char **)&ptr, 10); + if (ptr > choice->choice && xdpi > 0) + { + if (*ptr == 'x') + ydpi = strtol(ptr + 1, (char **)&ptr, 10); + else + ydpi = xdpi; + } + else + ydpi = xdpi; + + if (xdpi <= 0 || xdpi > 99999 || ydpi <= 0 || ydpi > 99999 || + strcmp(ptr, "dpi")) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** Bad option %s choice %s\n" + " REF: Page 84, section 5.9"), + option->keyword, choice->choice); + } + + errors ++; + } + } + } + + if ((attr = ppdFindAttr(ppd, "1284DeviceID", NULL)) && + strcmp(attr->name, "1284DeviceID")) + { + if (verbose >= 0) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" **FAIL** %s must be 1284DeviceID\n" + " REF: Page 72, section 5.5"), + attr->name); + } + + errors ++; + } + + errors = check_case(ppd, errors, verbose); + + if (!(warn & WARN_CONSTRAINTS)) + errors = check_constraints(ppd, errors, verbose, 0); + + if (!(warn & WARN_FILTERS) && !(ignore & WARN_FILTERS)) + errors = check_filters(ppd, root, errors, verbose, 0); + + if (!(warn & WARN_PROFILES) && !(ignore & WARN_PROFILES)) + errors = check_profiles(ppd, root, errors, verbose, 0); + + if (!(warn & WARN_SIZES)) + errors = check_sizes(ppd, errors, verbose, 0); + + if (!(warn & WARN_TRANSLATIONS)) + errors = check_translations(ppd, errors, verbose, 0); + + if (!(warn & WARN_DUPLEX)) + errors = check_duplex(ppd, errors, verbose, 0); + + if ((attr = ppdFindAttr(ppd, "cupsLanguages", NULL)) != NULL && + attr->value) + { + /* + * This file contains localizations, check for conformance of the + * base translation... + */ + + if ((attr = ppdFindAttr(ppd, "LanguageEncoding", NULL)) != NULL) + { + if (!attr->value || strcmp(attr->value, "ISOLatin1")) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" **FAIL** Bad LanguageEncoding %s - " + "must be ISOLatin1."), + attr->value ? attr->value : "(null)"); + + errors ++; + } + + if (!ppd->lang_version || strcmp(ppd->lang_version, "English")) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" **FAIL** Bad LanguageVersion %s - " + "must be English."), + ppd->lang_version ? ppd->lang_version : "(null)"); + + errors ++; + } + + /* + * Loop through all options and choices... + */ + + for (option = ppdFirstOption(ppd); + option; + option = ppdNextOption(ppd)) + { + /* + * Check for special characters outside A0 to BF, F7, or F8 + * that are used for languages other than English. + */ + + for (ptr = option->text; *ptr; ptr ++) + if ((*ptr & 0x80) && (*ptr & 0xe0) != 0xa0 && + (*ptr & 0xff) != 0xf7 && (*ptr & 0xff) != 0xf8) + break; + + if (*ptr) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" **FAIL** Default translation " + "string for option %s contains 8-bit " + "characters."), + option->keyword); + + errors ++; + } + + for (j = 0; j < option->num_choices; j ++) + { + /* + * Check for special characters outside A0 to BF, F7, or F8 + * that are used for languages other than English. + */ + + for (ptr = option->choices[j].text; *ptr; ptr ++) + if ((*ptr & 0x80) && (*ptr & 0xe0) != 0xa0 && + (*ptr & 0xff) != 0xf7 && (*ptr & 0xff) != 0xf8) + break; + + if (*ptr) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" **FAIL** Default translation " + "string for option %s choice %s contains " + "8-bit characters."), + option->keyword, + option->choices[j].choice); + + errors ++; + } + } + } + } + } + + /* + * Final pass/fail notification... + */ + + if (errors) + status = ERROR_CONFORMANCE; + else if (!verbose) + _cupsLangPuts(stdout, _(" PASS")); + + if (verbose >= 0) + { + check_basics(argv[i]); + + if (warn & WARN_DEFAULTS) + errors = check_defaults(ppd, errors, verbose, 1); + + if (warn & WARN_CONSTRAINTS) + errors = check_constraints(ppd, errors, verbose, 1); + + if ((warn & WARN_FILTERS) && !(ignore & WARN_FILTERS)) + errors = check_filters(ppd, root, errors, verbose, 1); + + if ((warn & WARN_PROFILES) && !(ignore & WARN_PROFILES)) + errors = check_profiles(ppd, root, errors, verbose, 1); + + if (warn & WARN_SIZES) + errors = check_sizes(ppd, errors, verbose, 1); + else + errors = check_sizes(ppd, errors, verbose, 2); + + if (warn & WARN_TRANSLATIONS) + errors = check_translations(ppd, errors, verbose, 1); + + if (warn & WARN_DUPLEX) + errors = check_duplex(ppd, errors, verbose, 1); + + /* + * Look for legacy duplex keywords... + */ + + if ((option = ppdFindOption(ppd, "JCLDuplex")) == NULL) + if ((option = ppdFindOption(ppd, "EFDuplex")) == NULL) + option = ppdFindOption(ppd, "KD03Duplex"); + + if (option) + _cupsLangPrintf(stdout, + _(" WARN Duplex option keyword %s may not " + "work as expected and should be named Duplex.\n" + " REF: Page 122, section 5.17"), + option->keyword); + + /* + * Look for default keywords with no corresponding option... + */ + + for (j = 0; j < ppd->num_attrs; j ++) + { + attr = ppd->attrs[j]; + + if (!strcmp(attr->name, "DefaultColorSpace") || + !strcmp(attr->name, "DefaultColorSep") || + !strcmp(attr->name, "DefaultFont") || + !strcmp(attr->name, "DefaultHalftoneType") || + !strcmp(attr->name, "DefaultImageableArea") || + !strcmp(attr->name, "DefaultLeadingEdge") || + !strcmp(attr->name, "DefaultOutputOrder") || + !strcmp(attr->name, "DefaultPaperDimension") || + !strcmp(attr->name, "DefaultResolution") || + !strcmp(attr->name, "DefaultScreenProc") || + !strcmp(attr->name, "DefaultTransfer")) + continue; + + if (!strncmp(attr->name, "Default", 7) && + !ppdFindOption(ppd, attr->name + 7)) + _cupsLangPrintf(stdout, + _(" WARN %s has no corresponding " + "options."), + attr->name); + } + + if (ppdversion < 43) + { + _cupsLangPrintf(stdout, + _(" WARN Obsolete PPD version %.1f.\n" + " REF: Page 42, section 5.2."), + 0.1f * ppdversion); + } + + if (!ppd->lang_encoding && ppdversion < 41) + { + _cupsLangPuts(stdout, + _(" WARN LanguageEncoding required by PPD " + "4.3 spec.\n" + " REF: Pages 56-57, section 5.3.")); + } + + if (!ppd->manufacturer && ppdversion < 43) + { + _cupsLangPuts(stdout, + _(" WARN Manufacturer required by PPD " + "4.3 spec.\n" + " REF: Pages 58-59, section 5.3.")); + } + + /* + * Treat a PCFileName attribute longer than 12 characters as + * a warning and not a hard error... + */ + + if (!(ignore & WARN_FILENAME) && ppd->pcfilename) + { + if (strlen(ppd->pcfilename) > 12) + { + _cupsLangPuts(stdout, + _(" WARN PCFileName longer than 8.3 in " + "violation of PPD spec.\n" + " REF: Pages 61-62, section " + "5.3.")); + } + + if (!_cups_strcasecmp(ppd->pcfilename, "unused.ppd")) + _cupsLangPuts(stdout, + _(" WARN PCFileName should contain a " + "unique filename.\n" + " REF: Pages 61-62, section " + "5.3.")); + } + + if (!ppd->shortnickname && ppdversion < 43) + { + _cupsLangPuts(stdout, + _(" WARN ShortNickName required by PPD " + "4.3 spec.\n" + " REF: Pages 64-65, section 5.3.")); + } + + /* + * Check the Protocols line and flag PJL + BCP since TBCP is + * usually used with PJL... + */ + + if (ppd->protocols) + { + if (strstr(ppd->protocols, "PJL") && + strstr(ppd->protocols, "BCP") && + !strstr(ppd->protocols, "TBCP")) + { + _cupsLangPuts(stdout, + _(" WARN Protocols contains both PJL " + "and BCP; expected TBCP.\n" + " REF: Pages 78-79, section 5.7.")); + } + + if (strstr(ppd->protocols, "PJL") && + (!ppd->jcl_begin || !ppd->jcl_end || !ppd->jcl_ps)) + { + _cupsLangPuts(stdout, + _(" WARN Protocols contains PJL but JCL " + "attributes are not set.\n" + " REF: Pages 78-79, section 5.7.")); + } + } + + /* + * Check for options with a common prefix, e.g. Duplex and Duplexer, + * which are errors according to the spec but won't cause problems + * with CUPS specifically... + */ + + for (j = 0, group = ppd->groups; j < ppd->num_groups; j ++, group ++) + for (k = 0, option = group->options; + k < group->num_options; + k ++, option ++) + { + len = strlen(option->keyword); + + for (m = 0, group2 = ppd->groups; + m < ppd->num_groups; + m ++, group2 ++) + for (n = 0, option2 = group2->options; + n < group2->num_options; + n ++, option2 ++) + if (option != option2 && + len < strlen(option2->keyword) && + !strncmp(option->keyword, option2->keyword, len)) + { + _cupsLangPrintf(stdout, + _(" WARN %s shares a common " + "prefix with %s\n" + " REF: Page 15, section " + "3.2."), + option->keyword, option2->keyword); + } + } + } + + if (verbose > 0) + { + if (errors) + _cupsLangPrintf(stdout, _(" %d ERRORS FOUND"), errors); + else + _cupsLangPuts(stdout, _(" NO ERRORS FOUND")); + } + + /* + * Then list the options, if "-v" was provided... + */ + + if (verbose > 1) + { + _cupsLangPrintf(stdout, + "\n" + " language_level = %d\n" + " color_device = %s\n" + " variable_sizes = %s\n" + " landscape = %d", + ppd->language_level, + ppd->color_device ? "TRUE" : "FALSE", + ppd->variable_sizes ? "TRUE" : "FALSE", + ppd->landscape); + + switch (ppd->colorspace) + { + case PPD_CS_CMYK : + _cupsLangPuts(stdout, " colorspace = PPD_CS_CMYK"); + break; + case PPD_CS_CMY : + _cupsLangPuts(stdout, " colorspace = PPD_CS_CMY"); + break; + case PPD_CS_GRAY : + _cupsLangPuts(stdout, " colorspace = PPD_CS_GRAY"); + break; + case PPD_CS_RGB : + _cupsLangPuts(stdout, " colorspace = PPD_CS_RGB"); + break; + default : + _cupsLangPuts(stdout, " colorspace = "); + break; + } + + _cupsLangPrintf(stdout, " num_emulations = %d", + ppd->num_emulations); + for (j = 0; j < ppd->num_emulations; j ++) + _cupsLangPrintf(stdout, " emulations[%d] = %s", + j, ppd->emulations[j].name); + + _cupsLangPrintf(stdout, " lang_encoding = %s", + ppd->lang_encoding); + _cupsLangPrintf(stdout, " lang_version = %s", + ppd->lang_version); + _cupsLangPrintf(stdout, " modelname = %s", ppd->modelname); + _cupsLangPrintf(stdout, " ttrasterizer = %s", + ppd->ttrasterizer == NULL ? "None" : ppd->ttrasterizer); + _cupsLangPrintf(stdout, " manufacturer = %s", + ppd->manufacturer); + _cupsLangPrintf(stdout, " product = %s", ppd->product); + _cupsLangPrintf(stdout, " nickname = %s", ppd->nickname); + _cupsLangPrintf(stdout, " shortnickname = %s", + ppd->shortnickname); + _cupsLangPrintf(stdout, " patches = %d bytes", + ppd->patches == NULL ? 0 : (int)strlen(ppd->patches)); + + _cupsLangPrintf(stdout, " num_groups = %d", ppd->num_groups); + for (j = 0, group = ppd->groups; j < ppd->num_groups; j ++, group ++) + { + _cupsLangPrintf(stdout, " group[%d] = %s", + j, group->text); + + for (k = 0, option = group->options; k < group->num_options; k ++, option ++) + { + _cupsLangPrintf(stdout, + " options[%d] = %s (%s) %s %s %.0f " + "(%d choices)", + k, option->keyword, option->text, uis[option->ui], + sections[option->section], option->order, + option->num_choices); + + if (!strcmp(option->keyword, "PageSize") || + !strcmp(option->keyword, "PageRegion")) + { + for (m = option->num_choices, choice = option->choices; + m > 0; + m --, choice ++) + { + size = ppdPageSize(ppd, choice->choice); + + if (size == NULL) + _cupsLangPrintf(stdout, + " %s (%s) = ERROR%s", + choice->choice, choice->text, + !strcmp(option->defchoice, choice->choice) + ? " *" : ""); + else + _cupsLangPrintf(stdout, + " %s (%s) = %.2fx%.2fin " + "(%.1f,%.1f,%.1f,%.1f)%s", + choice->choice, choice->text, + size->width / 72.0, size->length / 72.0, + size->left / 72.0, size->bottom / 72.0, + size->right / 72.0, size->top / 72.0, + !strcmp(option->defchoice, choice->choice) + ? " *" : ""); + } + } + else + { + for (m = option->num_choices, choice = option->choices; + m > 0; + m --, choice ++) + { + _cupsLangPrintf(stdout, " %s (%s)%s", + choice->choice, choice->text, + !strcmp(option->defchoice, choice->choice) + ? " *" : ""); + } + } + } + } + + _cupsLangPrintf(stdout, " num_consts = %d", + ppd->num_consts); + for (j = 0; j < ppd->num_consts; j ++) + _cupsLangPrintf(stdout, + " consts[%d] = *%s %s *%s %s", + j, ppd->consts[j].option1, ppd->consts[j].choice1, + ppd->consts[j].option2, ppd->consts[j].choice2); + + _cupsLangPrintf(stdout, " num_profiles = %d", + ppd->num_profiles); + for (j = 0; j < ppd->num_profiles; j ++) + _cupsLangPrintf(stdout, + " profiles[%d] = %s/%s %.3f %.3f " + "[ %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f %.3f ]", + j, ppd->profiles[j].resolution, + ppd->profiles[j].media_type, + ppd->profiles[j].gamma, ppd->profiles[j].density, + ppd->profiles[j].matrix[0][0], + ppd->profiles[j].matrix[0][1], + ppd->profiles[j].matrix[0][2], + ppd->profiles[j].matrix[1][0], + ppd->profiles[j].matrix[1][1], + ppd->profiles[j].matrix[1][2], + ppd->profiles[j].matrix[2][0], + ppd->profiles[j].matrix[2][1], + ppd->profiles[j].matrix[2][2]); + + _cupsLangPrintf(stdout, " num_fonts = %d", ppd->num_fonts); + for (j = 0; j < ppd->num_fonts; j ++) + _cupsLangPrintf(stdout, " fonts[%d] = %s", + j, ppd->fonts[j]); + + _cupsLangPrintf(stdout, " num_attrs = %d", ppd->num_attrs); + for (j = 0; j < ppd->num_attrs; j ++) + _cupsLangPrintf(stdout, + " attrs[%d] = %s %s%s%s: \"%s\"", j, + ppd->attrs[j]->name, ppd->attrs[j]->spec, + ppd->attrs[j]->text[0] ? "/" : "", + ppd->attrs[j]->text, + ppd->attrs[j]->value ? + ppd->attrs[j]->value : "(null)"); + } + + ppdClose(ppd); + } + + if (!files) + usage(); + + return (status); +} + + +/* + * 'check_basics()' - Check for CR LF, mixed line endings, and blank lines. + */ + +static void +check_basics(const char *filename) /* I - PPD file to check */ +{ + cups_file_t *fp; /* File pointer */ + int ch; /* Current character */ + int col, /* Current column */ + whitespace; /* Only seen whitespace? */ + int eol; /* Line endings */ + int linenum; /* Line number */ + int mixed; /* Mixed line endings? */ + + + if ((fp = cupsFileOpen(filename, "r")) == NULL) + return; + + linenum = 1; + col = 0; + eol = EOL_NONE; + mixed = 0; + whitespace = 1; + + while ((ch = cupsFileGetChar(fp)) != EOF) + { + if (ch == '\r' || ch == '\n') + { + if (ch == '\n') + { + if (eol == EOL_NONE) + eol = EOL_LF; + else if (eol != EOL_LF) + mixed = 1; + } + else if (ch == '\r') + { + if (cupsFilePeekChar(fp) == '\n') + { + cupsFileGetChar(fp); + + if (eol == EOL_NONE) + eol = EOL_CRLF; + else if (eol != EOL_CRLF) + mixed = 1; + } + else if (eol == EOL_NONE) + eol = EOL_CR; + else if (eol != EOL_CR) + mixed = 1; + } + + if (col > 0 && whitespace) + _cupsLangPrintf(stdout, + _(" WARN Line %d only contains whitespace."), + linenum); + + linenum ++; + col = 0; + whitespace = 1; + } + else + { + if (ch != ' ' && ch != '\t') + whitespace = 0; + + col ++; + } + } + + if (mixed) + _cupsLangPuts(stdout, + _(" WARN File contains a mix of CR, LF, and " + "CR LF line endings.")); + + if (eol == EOL_CRLF) + _cupsLangPuts(stdout, + _(" WARN Non-Windows PPD files should use lines " + "ending with only LF, not CR LF.")); + + cupsFileClose(fp); +} + + +/* + * 'check_constraints()' - Check UIConstraints in the PPD file. + */ + +static int /* O - Errors found */ +check_constraints(ppd_file_t *ppd, /* I - PPD file */ + int errors, /* I - Errors found */ + int verbose, /* I - Verbosity level */ + int warn) /* I - Warnings only? */ +{ + int i; /* Looping var */ + const char *prefix; /* WARN/FAIL prefix */ + ppd_const_t *c; /* Current UIConstraints data */ + ppd_attr_t *constattr; /* Current cupsUIConstraints attribute */ + const char *vptr; /* Pointer into constraint value */ + char option[PPD_MAX_NAME], + /* Option name/MainKeyword */ + choice[PPD_MAX_NAME], + /* Choice/OptionKeyword */ + *ptr; /* Pointer into option or choice */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ + ppd_option_t *o; /* PPD option */ + + + prefix = warn ? " WARN " : "**FAIL**"; + + + /* + * See what kind of constraint data we have in the PPD... + */ + + if ((constattr = ppdFindAttr(ppd, "cupsUIConstraints", NULL)) != NULL) + { + /* + * Check new-style cupsUIConstraints data... + */ + + for (; constattr; + constattr = ppdFindNextAttr(ppd, "cupsUIConstraints", NULL)) + { + if (!constattr->value) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s Empty cupsUIConstraints %s"), + prefix, constattr->spec); + + if (!warn) + errors ++; + + continue; + } + + for (i = 0, vptr = strchr(constattr->value, '*'); + vptr; + i ++, vptr = strchr(vptr + 1, '*')); + + if (i == 0) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s Bad cupsUIConstraints %s: \"%s\""), + prefix, constattr->spec, constattr->value); + + if (!warn) + errors ++; + + continue; + } + + cupsArraySave(ppd->sorted_attrs); + + if (constattr->spec[0] && + !ppdFindAttr(ppd, "cupsUIResolver", constattr->spec)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s Missing cupsUIResolver %s"), + prefix, constattr->spec); + + if (!warn) + errors ++; + } + + cupsArrayRestore(ppd->sorted_attrs); + + num_options = 0; + options = NULL; + + for (vptr = strchr(constattr->value, '*'); + vptr; + vptr = strchr(vptr, '*')) + { + /* + * Extract "*Option Choice" or just "*Option"... + */ + + for (vptr ++, ptr = option; *vptr && !isspace(*vptr & 255); vptr ++) + if (ptr < (option + sizeof(option) - 1)) + *ptr++ = *vptr; + + *ptr = '\0'; + + while (isspace(*vptr & 255)) + vptr ++; + + if (*vptr == '*') + choice[0] = '\0'; + else + { + for (ptr = choice; *vptr && !isspace(*vptr & 255); vptr ++) + if (ptr < (choice + sizeof(choice) - 1)) + *ptr++ = *vptr; + + *ptr = '\0'; + } + + if (!_cups_strncasecmp(option, "Custom", 6) && !_cups_strcasecmp(choice, "True")) + { + _cups_strcpy(option, option + 6); + strlcpy(choice, "Custom", sizeof(choice)); + } + + if ((o = ppdFindOption(ppd, option)) == NULL) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s Missing option %s in " + "cupsUIConstraints %s: \"%s\""), + prefix, option, constattr->spec, constattr->value); + + if (!warn) + errors ++; + + continue; + } + + if (choice[0] && !ppdFindChoice(o, choice)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s Missing choice *%s %s in " + "cupsUIConstraints %s: \"%s\""), + prefix, option, choice, constattr->spec, + constattr->value); + + if (!warn) + errors ++; + + continue; + } + + if (choice[0]) + num_options = cupsAddOption(option, choice, num_options, &options); + else + { + for (i = 0; i < o->num_choices; i ++) + if (_cups_strcasecmp(o->choices[i].choice, "None") && + _cups_strcasecmp(o->choices[i].choice, "Off") && + _cups_strcasecmp(o->choices[i].choice, "False")) + { + num_options = cupsAddOption(option, o->choices[i].choice, + num_options, &options); + break; + } + } + } + + /* + * Resolvers must list at least two options... + */ + + if (num_options < 2) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s cupsUIResolver %s does not list at least " + "two different options."), + prefix, constattr->spec); + + if (!warn) + errors ++; + } + + /* + * Test the resolver... + */ + + if (!cupsResolveConflicts(ppd, NULL, NULL, &num_options, &options)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s cupsUIResolver %s causes a loop."), + prefix, constattr->spec); + + if (!warn) + errors ++; + } + + cupsFreeOptions(num_options, options); + } + } + else + { + /* + * Check old-style [Non]UIConstraints data... + */ + + for (i = ppd->num_consts, c = ppd->consts; i > 0; i --, c ++) + { + if (!_cups_strncasecmp(c->option1, "Custom", 6) && + !_cups_strcasecmp(c->choice1, "True")) + { + strlcpy(option, c->option1 + 6, sizeof(option)); + strlcpy(choice, "Custom", sizeof(choice)); + } + else + { + strlcpy(option, c->option1, sizeof(option)); + strlcpy(choice, c->choice1, sizeof(choice)); + } + + if ((o = ppdFindOption(ppd, option)) == NULL) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s Missing option %s in " + "UIConstraints \"*%s %s *%s %s\"."), + prefix, c->option1, + c->option1, c->choice1, c->option2, c->choice2); + + if (!warn) + errors ++; + } + else if (choice[0] && !ppdFindChoice(o, choice)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s Missing choice *%s %s in " + "UIConstraints \"*%s %s *%s %s\"."), + prefix, c->option1, c->choice1, + c->option1, c->choice1, c->option2, c->choice2); + + if (!warn) + errors ++; + } + + if (!_cups_strncasecmp(c->option2, "Custom", 6) && + !_cups_strcasecmp(c->choice2, "True")) + { + strlcpy(option, c->option2 + 6, sizeof(option)); + strlcpy(choice, "Custom", sizeof(choice)); + } + else + { + strlcpy(option, c->option2, sizeof(option)); + strlcpy(choice, c->choice2, sizeof(choice)); + } + + if ((o = ppdFindOption(ppd, option)) == NULL) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s Missing option %s in " + "UIConstraints \"*%s %s *%s %s\"."), + prefix, c->option2, + c->option1, c->choice1, c->option2, c->choice2); + + if (!warn) + errors ++; + } + else if (choice[0] && !ppdFindChoice(o, choice)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s Missing choice *%s %s in " + "UIConstraints \"*%s %s *%s %s\"."), + prefix, c->option2, c->choice2, + c->option1, c->choice1, c->option2, c->choice2); + + if (!warn) + errors ++; + } + } + } + + return (errors); +} + + +/* + * 'check_case()' - Check that there are no duplicate groups, options, + * or choices that differ only by case. + */ + +static int /* O - Errors found */ +check_case(ppd_file_t *ppd, /* I - PPD file */ + int errors, /* I - Errors found */ + int verbose) /* I - Verbosity level */ +{ + int i, j; /* Looping vars */ + ppd_group_t *groupa, /* First group */ + *groupb; /* Second group */ + ppd_option_t *optiona, /* First option */ + *optionb; /* Second option */ + ppd_choice_t *choicea, /* First choice */ + *choiceb; /* Second choice */ + + + /* + * Check that the groups do not have any duplicate names... + */ + + for (i = ppd->num_groups, groupa = ppd->groups; i > 1; i --, groupa ++) + for (j = i - 1, groupb = groupa + 1; j > 0; j --, groupb ++) + if (!_cups_strcasecmp(groupa->name, groupb->name)) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" **FAIL** Group names %s and %s differ only " + "by case."), + groupa->name, groupb->name); + + errors ++; + } + + /* + * Check that the options do not have any duplicate names... + */ + + for (optiona = ppdFirstOption(ppd); optiona; optiona = ppdNextOption(ppd)) + { + cupsArraySave(ppd->options); + for (optionb = ppdNextOption(ppd); optionb; optionb = ppdNextOption(ppd)) + if (!_cups_strcasecmp(optiona->keyword, optionb->keyword)) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" **FAIL** Option names %s and %s differ only " + "by case."), + optiona->keyword, optionb->keyword); + + errors ++; + } + cupsArrayRestore(ppd->options); + + /* + * Then the choices... + */ + + for (i = optiona->num_choices, choicea = optiona->choices; + i > 1; + i --, choicea ++) + for (j = i - 1, choiceb = choicea + 1; j > 0; j --, choiceb ++) + if (!strcmp(choicea->choice, choiceb->choice)) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" **FAIL** Multiple occurrences of " + "option %s choice name %s."), + optiona->keyword, choicea->choice); + + errors ++; + + choicea ++; + i --; + break; + } + else if (!_cups_strcasecmp(choicea->choice, choiceb->choice)) + { + if (!errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" **FAIL** Option %s choice names %s and " + "%s differ only by case."), + optiona->keyword, choicea->choice, choiceb->choice); + + errors ++; + } + } + + /* + * Return the number of errors found... + */ + + return (errors); +} + + +/* + * 'check_defaults()' - Check default option keywords in the PPD file. + */ + +static int /* O - Errors found */ +check_defaults(ppd_file_t *ppd, /* I - PPD file */ + int errors, /* I - Errors found */ + int verbose, /* I - Verbosity level */ + int warn) /* I - Warnings only? */ +{ + int j, k; /* Looping vars */ + ppd_attr_t *attr; /* PPD attribute */ + ppd_option_t *option; /* Standard UI option */ + const char *prefix; /* WARN/FAIL prefix */ + + + prefix = warn ? " WARN " : "**FAIL**"; + + ppdMarkDefaults(ppd); + if (ppdConflicts(ppd)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Default choices conflicting."), prefix); + + show_conflicts(ppd, prefix); + + if (!warn) + errors ++; + } + + for (j = 0; j < ppd->num_attrs; j ++) + { + attr = ppd->attrs[j]; + + if (!strcmp(attr->name, "DefaultColorSpace") || + !strcmp(attr->name, "DefaultFont") || + !strcmp(attr->name, "DefaultHalftoneType") || + !strcmp(attr->name, "DefaultImageableArea") || + !strcmp(attr->name, "DefaultLeadingEdge") || + !strcmp(attr->name, "DefaultOutputOrder") || + !strcmp(attr->name, "DefaultPaperDimension") || + !strcmp(attr->name, "DefaultResolution") || + !strcmp(attr->name, "DefaultTransfer")) + continue; + + if (!strncmp(attr->name, "Default", 7)) + { + if ((option = ppdFindOption(ppd, attr->name + 7)) != NULL && + strcmp(attr->value, "Unknown")) + { + /* + * Check that the default option value matches a choice... + */ + + for (k = 0; k < option->num_choices; k ++) + if (!strcmp(option->choices[k].choice, attr->value)) + break; + + if (k >= option->num_choices) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s %s %s does not exist."), + prefix, attr->name, attr->value); + + if (!warn) + errors ++; + } + } + } + } + + return (errors); +} + + +/* + * 'check_duplex()' - Check duplex keywords in the PPD file. + */ + +static int /* O - Errors found */ +check_duplex(ppd_file_t *ppd, /* I - PPD file */ + int errors, /* I - Error found */ + int verbose, /* I - Verbosity level */ + int warn) /* I - Warnings only? */ +{ + int i; /* Looping var */ + ppd_option_t *option; /* PPD option */ + ppd_choice_t *choice; /* Current choice */ + const char *prefix; /* Message prefix */ + + + prefix = warn ? " WARN " : "**FAIL**"; + + /* + * Check for a duplex option, and for standard values... + */ + + if ((option = ppdFindOption(ppd, "Duplex")) != NULL) + { + if (!ppdFindChoice(option, "None")) + { + if (verbose >= 0) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s REQUIRED %s does not define " + "choice None.\n" + " REF: Page 122, section 5.17"), + prefix, option->keyword); + } + + if (!warn) + errors ++; + } + + for (i = option->num_choices, choice = option->choices; + i > 0; + i --, choice ++) + if (strcmp(choice->choice, "None") && + strcmp(choice->choice, "DuplexNoTumble") && + strcmp(choice->choice, "DuplexTumble") && + strcmp(choice->choice, "SimplexTumble")) + { + if (verbose >= 0) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + _cupsLangPrintf(stdout, + _(" %s Bad %s choice %s.\n" + " REF: Page 122, section 5.17"), + prefix, option->keyword, choice->choice); + } + + if (!warn) + errors ++; + } + } + + return (errors); +} + + +/* + * 'check_filters()' - Check filters in the PPD file. + */ + +static int /* O - Errors found */ +check_filters(ppd_file_t *ppd, /* I - PPD file */ + const char *root, /* I - Root directory */ + int errors, /* I - Errors found */ + int verbose, /* I - Verbosity level */ + int warn) /* I - Warnings only? */ +{ + ppd_attr_t *attr; /* PPD attribute */ + const char *ptr; /* Pointer into string */ + char super[16], /* Super-type for filter */ + type[256], /* Type for filter */ + dstsuper[16], /* Destination super-type for filter */ + dsttype[256], /* Destination type for filter */ + program[1024], /* Program/filter name */ + pathprog[1024]; /* Complete path to program/filter */ + int cost; /* Cost of filter */ + const char *prefix; /* WARN/FAIL prefix */ + struct stat fileinfo; /* File information */ + + + prefix = warn ? " WARN " : "**FAIL**"; + + /* + * cupsFilter + */ + + for (attr = ppdFindAttr(ppd, "cupsFilter", NULL); + attr; + attr = ppdFindNextAttr(ppd, "cupsFilter", NULL)) + { + if (strcmp(attr->name, "cupsFilter")) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad spelling of %s - should be %s."), + prefix, attr->name, "cupsFilter"); + + if (!warn) + errors ++; + } + + if (!attr->value || + sscanf(attr->value, "%15[^/]/%255s%d%*[ \t]%1023[^\n]", super, type, + &cost, program) != 4) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad cupsFilter value \"%s\"."), + prefix, attr->value); + + if (!warn) + errors ++; + + continue; + } + + if (!strncmp(program, "maxsize(", 8)) + { + char *mptr; /* Pointer into maxsize(nnnn) program */ + + strtoll(program + 8, &mptr, 10); + + if (*mptr != ')') + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad cupsFilter value \"%s\"."), + prefix, attr->value); + + if (!warn) + errors ++; + + continue; + } + + mptr ++; + while (_cups_isspace(*mptr)) + mptr ++; + + _cups_strcpy(program, mptr); + } + + if (strcmp(program, "-")) + { + if (program[0] == '/') + snprintf(pathprog, sizeof(pathprog), "%s%s", root, program); + else + { + if ((ptr = getenv("CUPS_SERVERBIN")) == NULL) + ptr = CUPS_SERVERBIN; + + if (*ptr == '/' || !*root) + snprintf(pathprog, sizeof(pathprog), "%s%s/filter/%s", root, ptr, + program); + else + snprintf(pathprog, sizeof(pathprog), "%s/%s/filter/%s", root, ptr, + program); + } + + if (stat(pathprog, &fileinfo)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, _(" %s Missing %s file \"%s\"."), + prefix, "cupsFilter", pathprog); + + if (!warn) + errors ++; + } + else if (fileinfo.st_uid != 0 || + (fileinfo.st_mode & MODE_WRITE) || + (fileinfo.st_mode & MODE_MASK) != MODE_PROGRAM) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad permissions on %s file \"%s\"."), + prefix, "cupsFilter", pathprog); + + if (!warn) + errors ++; + } + else + errors = valid_path("cupsFilter", pathprog, errors, verbose, warn); + } + } + + /* + * cupsFilter2 + */ + + for (attr = ppdFindAttr(ppd, "cupsFilter2", NULL); + attr; + attr = ppdFindNextAttr(ppd, "cupsFilter2", NULL)) + { + if (strcmp(attr->name, "cupsFilter2")) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad spelling of %s - should be %s."), + prefix, attr->name, "cupsFilter2"); + + if (!warn) + errors ++; + } + + if (!attr->value || + sscanf(attr->value, "%15[^/]/%255s%*[ \t]%15[^/]/%255s%d%*[ \t]%1023[^\n]", + super, type, dstsuper, dsttype, &cost, program) != 6) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad cupsFilter2 value \"%s\"."), + prefix, attr->value); + + if (!warn) + errors ++; + + continue; + } + + if (!strncmp(program, "maxsize(", 8)) + { + char *mptr; /* Pointer into maxsize(nnnn) program */ + + strtoll(program + 8, &mptr, 10); + + if (*mptr != ')') + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad cupsFilter2 value \"%s\"."), + prefix, attr->value); + + if (!warn) + errors ++; + + continue; + } + + mptr ++; + while (_cups_isspace(*mptr)) + mptr ++; + + _cups_strcpy(program, mptr); + } + + if (strcmp(program, "-")) + { + if (strncmp(program, "maxsize(", 8) && + (ptr = strchr(program + 8, ')')) != NULL) + { + ptr ++; + while (_cups_isspace(*ptr)) + ptr ++; + + _cups_strcpy(program, ptr); + } + + if (program[0] == '/') + snprintf(pathprog, sizeof(pathprog), "%s%s", root, program); + else + { + if ((ptr = getenv("CUPS_SERVERBIN")) == NULL) + ptr = CUPS_SERVERBIN; + + if (*ptr == '/' || !*root) + snprintf(pathprog, sizeof(pathprog), "%s%s/filter/%s", root, ptr, + program); + else + snprintf(pathprog, sizeof(pathprog), "%s/%s/filter/%s", root, ptr, + program); + } + + if (stat(pathprog, &fileinfo)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, _(" %s Missing %s file \"%s\"."), + prefix, "cupsFilter2", pathprog); + + if (!warn) + errors ++; + } + else if (fileinfo.st_uid != 0 || + (fileinfo.st_mode & MODE_WRITE) || + (fileinfo.st_mode & MODE_MASK) != MODE_PROGRAM) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad permissions on %s file \"%s\"."), + prefix, "cupsFilter2", pathprog); + + if (!warn) + errors ++; + } + else + errors = valid_path("cupsFilter2", pathprog, errors, verbose, warn); + } + } + + /* + * cupsPreFilter + */ + + for (attr = ppdFindAttr(ppd, "cupsPreFilter", NULL); + attr; + attr = ppdFindNextAttr(ppd, "cupsPreFilter", NULL)) + { + if (strcmp(attr->name, "cupsPreFilter")) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad spelling of %s - should be %s."), + prefix, attr->name, "cupsPreFilter"); + + if (!warn) + errors ++; + } + + if (!attr->value || + sscanf(attr->value, "%15[^/]/%255s%d%*[ \t]%1023[^\n]", super, type, + &cost, program) != 4) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad cupsPreFilter value \"%s\"."), + prefix, attr->value ? attr->value : ""); + + if (!warn) + errors ++; + } + else if (strcmp(program, "-")) + { + if (program[0] == '/') + snprintf(pathprog, sizeof(pathprog), "%s%s", root, program); + else + { + if ((ptr = getenv("CUPS_SERVERBIN")) == NULL) + ptr = CUPS_SERVERBIN; + + if (*ptr == '/' || !*root) + snprintf(pathprog, sizeof(pathprog), "%s%s/filter/%s", root, ptr, + program); + else + snprintf(pathprog, sizeof(pathprog), "%s/%s/filter/%s", root, ptr, + program); + } + + if (stat(pathprog, &fileinfo)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, _(" %s Missing %s file \"%s\"."), + prefix, "cupsPreFilter", pathprog); + + if (!warn) + errors ++; + } + else if (fileinfo.st_uid != 0 || + (fileinfo.st_mode & MODE_WRITE) || + (fileinfo.st_mode & MODE_MASK) != MODE_PROGRAM) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad permissions on %s file \"%s\"."), + prefix, "cupsPreFilter", pathprog); + + if (!warn) + errors ++; + } + else + errors = valid_path("cupsPreFilter", pathprog, errors, verbose, warn); + } + } + +#ifdef __APPLE__ + /* + * APDialogExtension + */ + + for (attr = ppdFindAttr(ppd, "APDialogExtension", NULL); + attr != NULL; + attr = ppdFindNextAttr(ppd, "APDialogExtension", NULL)) + { + if (strcmp(attr->name, "APDialogExtension")) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad spelling of %s - should be %s."), + prefix, attr->name, "APDialogExtension"); + + if (!warn) + errors ++; + } + + snprintf(pathprog, sizeof(pathprog), "%s%s", root, + attr->value ? attr->value : "(null)"); + + if (!attr->value || stat(pathprog, &fileinfo)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, _(" %s Missing %s file \"%s\"."), + prefix, "APDialogExtension", pathprog); + + if (!warn) + errors ++; + } + else if (fileinfo.st_uid != 0 || + (fileinfo.st_mode & MODE_WRITE) || + (fileinfo.st_mode & MODE_MASK) != MODE_DIRECTORY) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad permissions on %s file \"%s\"."), + prefix, "APDialogExtension", pathprog); + + if (!warn) + errors ++; + } + else + errors = valid_path("APDialogExtension", pathprog, errors, verbose, + warn); + } + + /* + * APPrinterIconPath + */ + + if ((attr = ppdFindAttr(ppd, "APPrinterIconPath", NULL)) != NULL) + { + if (strcmp(attr->name, "APPrinterIconPath")) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad spelling of %s - should be %s."), + prefix, attr->name, "APPrinterIconPath"); + + if (!warn) + errors ++; + } + + snprintf(pathprog, sizeof(pathprog), "%s%s", root, + attr->value ? attr->value : "(null)"); + + if (!attr->value || stat(pathprog, &fileinfo)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, _(" %s Missing %s file \"%s\"."), + prefix, "APPrinterIconPath", pathprog); + + if (!warn) + errors ++; + } + else if (fileinfo.st_uid != 0 || + (fileinfo.st_mode & MODE_WRITE) || + (fileinfo.st_mode & MODE_MASK) != MODE_DATAFILE) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad permissions on %s file \"%s\"."), + prefix, "APPrinterIconPath", pathprog); + + if (!warn) + errors ++; + } + else + errors = valid_path("APPrinterIconPath", pathprog, errors, verbose, + warn); + } + + /* + * APPrinterLowInkTool + */ + + if ((attr = ppdFindAttr(ppd, "APPrinterLowInkTool", NULL)) != NULL) + { + if (strcmp(attr->name, "APPrinterLowInkTool")) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad spelling of %s - should be %s."), + prefix, attr->name, "APPrinterLowInkTool"); + + if (!warn) + errors ++; + } + + snprintf(pathprog, sizeof(pathprog), "%s%s", root, + attr->value ? attr->value : "(null)"); + + if (!attr->value || stat(pathprog, &fileinfo)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, _(" %s Missing %s file \"%s\"."), + prefix, "APPrinterLowInkTool", pathprog); + + if (!warn) + errors ++; + } + else if (fileinfo.st_uid != 0 || + (fileinfo.st_mode & MODE_WRITE) || + (fileinfo.st_mode & MODE_MASK) != MODE_DIRECTORY) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad permissions on %s file \"%s\"."), + prefix, "APPrinterLowInkTool", pathprog); + + if (!warn) + errors ++; + } + else + errors = valid_path("APPrinterLowInkTool", pathprog, errors, verbose, + warn); + } + + /* + * APPrinterUtilityPath + */ + + if ((attr = ppdFindAttr(ppd, "APPrinterUtilityPath", NULL)) != NULL) + { + if (strcmp(attr->name, "APPrinterUtilityPath")) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad spelling of %s - should be %s."), + prefix, attr->name, "APPrinterUtilityPath"); + + if (!warn) + errors ++; + } + + snprintf(pathprog, sizeof(pathprog), "%s%s", root, + attr->value ? attr->value : "(null)"); + + if (!attr->value || stat(pathprog, &fileinfo)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, _(" %s Missing %s file \"%s\"."), + prefix, "APPrinterUtilityPath", pathprog); + + if (!warn) + errors ++; + } + else if (fileinfo.st_uid != 0 || + (fileinfo.st_mode & MODE_WRITE) || + (fileinfo.st_mode & MODE_MASK) != MODE_DIRECTORY) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad permissions on %s file \"%s\"."), + prefix, "APPrinterUtilityPath", pathprog); + + if (!warn) + errors ++; + } + else + errors = valid_path("APPrinterUtilityPath", pathprog, errors, verbose, + warn); + } + + /* + * APScanAppBundleID and APScanAppPath + */ + + if ((attr = ppdFindAttr(ppd, "APScanAppPath", NULL)) != NULL) + { + if (strcmp(attr->name, "APScanAppPath")) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad spelling of %s - should be %s."), + prefix, attr->name, "APScanAppPath"); + + if (!warn) + errors ++; + } + + if (!attr->value || stat(attr->value, &fileinfo)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, _(" %s Missing %s file \"%s\"."), + prefix, "APScanAppPath", + attr->value ? attr->value : ""); + + if (!warn) + errors ++; + } + else if (fileinfo.st_uid != 0 || + (fileinfo.st_mode & MODE_WRITE) || + (fileinfo.st_mode & MODE_MASK) != MODE_DIRECTORY) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad permissions on %s file \"%s\"."), + prefix, "APScanAppPath", attr->value); + + if (!warn) + errors ++; + } + else + errors = valid_path("APScanAppPath", attr->value, errors, verbose, + warn); + + if (ppdFindAttr(ppd, "APScanAppBundleID", NULL)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, _(" %s Cannot provide both " + "APScanAppPath and APScanAppBundleID."), + prefix); + + if (!warn) + errors ++; + } + } +#endif /* __APPLE__ */ + + return (errors); +} + + +/* + * 'check_profiles()' - Check ICC color profiles in the PPD file. + */ + +static int /* O - Errors found */ +check_profiles(ppd_file_t *ppd, /* I - PPD file */ + const char *root, /* I - Root directory */ + int errors, /* I - Errors found */ + int verbose, /* I - Verbosity level */ + int warn) /* I - Warnings only? */ +{ + int i; /* Looping var */ + ppd_attr_t *attr; /* PPD attribute */ + const char *ptr; /* Pointer into string */ + const char *prefix; /* WARN/FAIL prefix */ + char filename[1024]; /* Profile filename */ + struct stat fileinfo; /* File information */ + int num_profiles = 0; /* Number of profiles */ + unsigned hash, /* Current hash value */ + hashes[1000]; /* Hash values of profile names */ + const char *specs[1000]; /* Specifiers for profiles */ + + + prefix = warn ? " WARN " : "**FAIL**"; + + for (attr = ppdFindAttr(ppd, "cupsICCProfile", NULL); + attr; + attr = ppdFindNextAttr(ppd, "cupsICCProfile", NULL)) + { + /* + * Check for valid selector... + */ + + for (i = 0, ptr = strchr(attr->spec, '.'); ptr; ptr = strchr(ptr + 1, '.')) + i ++; + + if (!attr->value || i < 2) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad cupsICCProfile %s."), + prefix, attr->spec); + + if (!warn) + errors ++; + + continue; + } + + /* + * Check for valid profile filename... + */ + + if (attr->value[0] == '/') + snprintf(filename, sizeof(filename), "%s%s", root, attr->value); + else + { + if ((ptr = getenv("CUPS_DATADIR")) == NULL) + ptr = CUPS_DATADIR; + + if (*ptr == '/' || !*root) + snprintf(filename, sizeof(filename), "%s%s/profiles/%s", root, ptr, + attr->value); + else + snprintf(filename, sizeof(filename), "%s/%s/profiles/%s", root, ptr, + attr->value); + } + + if (stat(filename, &fileinfo)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, _(" %s Missing %s file \"%s\"."), + prefix, "cupsICCProfile", filename); + + if (!warn) + errors ++; + } + else if (fileinfo.st_uid != 0 || + (fileinfo.st_mode & MODE_WRITE) || + (fileinfo.st_mode & MODE_MASK) != MODE_DATAFILE) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad permissions on %s file \"%s\"."), + prefix, "cupsICCProfile", filename); + + if (!warn) + errors ++; + } + else + errors = valid_path("cupsICCProfile", filename, errors, verbose, warn); + + /* + * Check for hash collisions... + */ + + hash = _ppdHashName(attr->spec); + + if (num_profiles > 0) + { + for (i = 0; i < num_profiles; i ++) + if (hashes[i] == hash) + break; + + if (i < num_profiles) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s cupsICCProfile %s hash value " + "collides with %s."), prefix, attr->spec, + specs[i]); + + if (!warn) + errors ++; + } + } + + /* + * Remember up to 1000 profiles... + */ + + if (num_profiles < 1000) + { + hashes[num_profiles] = hash; + specs[num_profiles] = attr->spec; + num_profiles ++; + } + } + + return (errors); +} + + +/* + * 'check_sizes()' - Check media sizes in the PPD file. + */ + +static int /* O - Errors found */ +check_sizes(ppd_file_t *ppd, /* I - PPD file */ + int errors, /* I - Errors found */ + int verbose, /* I - Verbosity level */ + int warn) /* I - Warnings only? */ +{ + int i; /* Looping var */ + ppd_size_t *size; /* Current size */ + int width, /* Custom width */ + length; /* Custom length */ + const char *prefix; /* WARN/FAIL prefix */ + ppd_option_t *page_size, /* PageSize option */ + *page_region; /* PageRegion option */ + pwg_media_t *pwg_media; /* PWG media */ + char buf[PPD_MAX_NAME]; /* PapeSize name that is supposed to be */ + const char *ptr; /* Pointer into string */ + int width_2540ths, /* PageSize width in 2540ths */ + length_2540ths; /* PageSize length in 2540ths */ + int is_ok; /* Flag for PageSize name verification */ + double width_tmp, /* Width after rounded up */ + length_tmp, /* Length after rounded up */ + width_inch, /* Width in inches */ + length_inch, /* Length in inches */ + width_mm, /* Width in millimeters */ + length_mm; /* Length in millimeters */ + + + prefix = warn ? " WARN " : "**FAIL**"; + + if ((page_size = ppdFindOption(ppd, "PageSize")) == NULL && warn != 2) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Missing REQUIRED PageSize option.\n" + " REF: Page 99, section 5.14."), + prefix); + + if (!warn) + errors ++; + } + + if ((page_region = ppdFindOption(ppd, "PageRegion")) == NULL && warn != 2) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Missing REQUIRED PageRegion option.\n" + " REF: Page 100, section 5.14."), + prefix); + + if (!warn) + errors ++; + } + + for (i = ppd->num_sizes, size = ppd->sizes; i > 0; i --, size ++) + { + /* + * Check that the size name is standard... + */ + + if (!strcmp(size->name, "Custom")) + { + /* + * Skip custom page size... + */ + + continue; + } + + if (warn != 2 && size->name[0] == 'w' && + sscanf(size->name, "w%dh%d", &width, &length) == 2) + { + /* + * Validate device-specific size wNNNhNNN should have proper width and + * length... + */ + + if (fabs(width - size->width) >= 1.0 || + fabs(length - size->length) >= 1.0) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Size \"%s\" has unexpected dimensions " + "(%gx%g)."), + prefix, size->name, size->width, size->length); + + if (!warn) + errors ++; + } + } + + /* + * Verify that the size is defined for both PageSize and PageRegion... + */ + + if (warn != 2 && !ppdFindChoice(page_size, size->name)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Size \"%s\" defined for %s but not for " + "%s."), + prefix, size->name, "PageRegion", "PageSize"); + + if (!warn) + errors ++; + } + else if (warn != 2 && !ppdFindChoice(page_region, size->name)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Size \"%s\" defined for %s but not for " + "%s."), + prefix, size->name, "PageSize", "PageRegion"); + + if (!warn) + errors ++; + } + + /* + * Verify that the size name is Adobe standard name if it's a standard size + * and the dimentional name if it's not a standard size. Suffix should be + * .Fullbleed, etc., or numeric, e.g., Letter, Letter.Fullbleed, + * Letter.Transverse, Letter1, Letter2, 4x8, 55x91mm, 55x91mm.Fullbleed, etc. + */ + + if (warn != 0) + { + is_ok = 1; + width_2540ths = (size->length > size->width) ? + PWG_FROM_POINTS(size->width) : + PWG_FROM_POINTS(size->length); + length_2540ths = (size->length > size->width) ? + PWG_FROM_POINTS(size->length) : + PWG_FROM_POINTS(size->width); + pwg_media = pwgMediaForSize(width_2540ths, length_2540ths); + + if (pwg_media && + (abs(pwg_media->width - width_2540ths) > 34 || + abs(pwg_media->length - length_2540ths) > 34)) + pwg_media = NULL; /* Only flag matches within a point */ + + if (pwg_media && pwg_media->ppd && + (pwg_media->ppd[0] < 'a' || pwg_media->ppd[0] > 'z')) + { + size_t ppdlen = strlen(pwg_media->ppd); + /* Length of standard PPD name */ + + strlcpy(buf, pwg_media->ppd, sizeof(buf)); + + if (strcmp(size->name, buf) && size->width > size->length) + { + if (!strcmp(pwg_media->ppd, "DoublePostcardRotated")) + strlcpy(buf, "DoublePostcard", sizeof(buf)); + else if (strstr(size->name, ".Transverse")) + snprintf(buf, sizeof(buf), "%s.Transverse", pwg_media->ppd); + else + snprintf(buf, sizeof(buf), "%sRotated", pwg_media->ppd); + + ppdlen = strlen(buf); + } + + if (size->left == 0 && size->bottom == 0 && + size->right == size->width && size->top == size->length) + { + strlcat(buf, ".Fullbleed", sizeof(buf) - strlen(buf)); + if (_cups_strcasecmp(size->name, buf)) + { + /* + * Allow an additional qualifier such as ".WithTab"... + */ + + size_t buflen = strlen(buf);/* Length of full bleed name */ + + if (_cups_strncasecmp(size->name, buf, buflen) || + size->name[buflen] != '.') + is_ok = 0; + } + } + else if (!strncmp(size->name, pwg_media->ppd, ppdlen)) + { + /* + * Check for a proper qualifier (number, "Small", or .something)... + */ + + ptr = size->name + ppdlen; + + if (isdigit(*ptr & 255)) + { + for (ptr ++; *ptr; ptr ++) + { + if (!isdigit(*ptr & 255)) + { + is_ok = 0; + break; + } + } + } + else if (*ptr != '.' && *ptr && strcmp(ptr, "Small")) + is_ok = 0; + } + else + { + /* + * Check for EnvSizeName as well... + */ + + if (strncmp(pwg_media->ppd, "Env", 3) && + !strncmp(size->name, "Env", 3)) + snprintf(buf, sizeof(buf), "Env%s", pwg_media->ppd); + + if (strcmp(size->name, buf)) + is_ok = 0; + } + + if (!is_ok) + _cupsLangPrintf(stdout, + _(" %s Size \"%s\" should be the Adobe " + "standard name \"%s\"."), + prefix, size->name, buf); + } + else + { + width_tmp = (fabs(size->width - ceil(size->width)) < 0.1) ? + ceil(size->width) : size->width; + length_tmp = (fabs(size->length - ceil(size->length)) < 0.1) ? + ceil(size->length) : size->length; + + if (fmod(width_tmp, 9.0) == 0.0 && fmod(length_tmp, 9.0) == 0.0) + { + width_inch = width_tmp / 72.0; + length_inch = length_tmp / 72.0; + + snprintf(buf, sizeof(buf), "%gx%g", width_inch, length_inch); + } + else + { + width_mm = size->width / 72.0 * 25.4; + length_mm = size->length / 72.0 * 25.4; + + snprintf(buf, sizeof(buf), "%.0fx%.0fmm", width_mm, length_mm); + } + + if (size->left == 0 && size->bottom == 0 && + size->right == size->width && size->top == size->length) + strlcat(buf, ".Fullbleed", sizeof(buf)); + else if (size->width > size->length) + strlcat(buf, ".Transverse", sizeof(buf)); + + if (_cups_strcasecmp(size->name, buf)) + { + size_t buflen = strlen(buf); + /* Length of proposed name */ + + if (_cups_strncasecmp(size->name, buf, buflen) || + (strcmp(size->name + buflen, "in") && + size->name[buflen] != '.')) + { + char altbuf[PPD_MAX_NAME]; + /* Alternate "wNNNhNNN" name */ + size_t altlen; /* Length of alternate name */ + + snprintf(altbuf, sizeof(altbuf), "w%.0fh%.0f", size->width, + size->length); + altlen = strlen(altbuf); + if (_cups_strncasecmp(size->name, altbuf, altlen) || + (size->name[altlen] && size->name[altlen] != '.')) + _cupsLangPrintf(stdout, + _(" %s Size \"%s\" should be \"%s\"."), + prefix, size->name, buf); + } + } + } + } + } + + return (errors); +} + + +/* + * 'check_translations()' - Check translations in the PPD file. + */ + +static int /* O - Errors found */ +check_translations(ppd_file_t *ppd, /* I - PPD file */ + int errors, /* I - Errors found */ + int verbose, /* I - Verbosity level */ + int warn) /* I - Warnings only? */ +{ + int j; /* Looping var */ + ppd_attr_t *attr; /* PPD attribute */ + cups_array_t *languages; /* Array of languages */ + int langlen; /* Length of language */ + char *language, /* Current language */ + keyword[PPD_MAX_NAME], /* Localization keyword (full) */ + llkeyword[PPD_MAX_NAME],/* Localization keyword (base) */ + ckeyword[PPD_MAX_NAME], /* Custom option keyword (full) */ + cllkeyword[PPD_MAX_NAME]; + /* Custom option keyword (base) */ + ppd_option_t *option; /* Standard UI option */ + ppd_coption_t *coption; /* Custom option */ + ppd_cparam_t *cparam; /* Custom parameter */ + char ll[3]; /* Base language */ + const char *prefix; /* WARN/FAIL prefix */ + const char *text; /* Pointer into UI text */ + + + prefix = warn ? " WARN " : "**FAIL**"; + + if ((languages = _ppdGetLanguages(ppd)) != NULL) + { + /* + * This file contains localizations, check them... + */ + + for (language = (char *)cupsArrayFirst(languages); + language; + language = (char *)cupsArrayNext(languages)) + { + langlen = (int)strlen(language); + if (langlen != 2 && langlen != 5) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad language \"%s\"."), + prefix, language); + + if (!warn) + errors ++; + + continue; + } + + if (!strcmp(language, "en")) + continue; + + strlcpy(ll, language, sizeof(ll)); + + /* + * Loop through all options and choices... + */ + + for (option = ppdFirstOption(ppd); + option; + option = ppdNextOption(ppd)) + { + if (!strcmp(option->keyword, "PageRegion")) + continue; + + snprintf(keyword, sizeof(keyword), "%s.Translation", language); + snprintf(llkeyword, sizeof(llkeyword), "%s.Translation", ll); + + if ((attr = ppdFindAttr(ppd, keyword, option->keyword)) == NULL && + (attr = ppdFindAttr(ppd, llkeyword, option->keyword)) == NULL) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Missing \"%s\" translation " + "string for option %s."), + prefix, language, option->keyword); + + if (!warn) + errors ++; + } + else if (!valid_utf8(attr->text)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad UTF-8 \"%s\" translation " + "string for option %s."), + prefix, language, option->keyword); + + if (!warn) + errors ++; + } + + snprintf(keyword, sizeof(keyword), "%s.%s", language, + option->keyword); + snprintf(llkeyword, sizeof(llkeyword), "%s.%s", ll, + option->keyword); + + for (j = 0; j < option->num_choices; j ++) + { + /* + * First see if this choice is a number; if so, don't require + * translation... + */ + + for (text = option->choices[j].text; *text; text ++) + if (!strchr("0123456789-+.", *text)) + break; + + if (!*text) + continue; + + /* + * Check custom choices differently... + */ + + if (!_cups_strcasecmp(option->choices[j].choice, "Custom") && + (coption = ppdFindCustomOption(ppd, + option->keyword)) != NULL) + { + snprintf(ckeyword, sizeof(ckeyword), "%s.Custom%s", + language, option->keyword); + + if ((attr = ppdFindAttr(ppd, ckeyword, "True")) != NULL && + !valid_utf8(attr->text)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad UTF-8 \"%s\" " + "translation string for option %s, " + "choice %s."), + prefix, language, + ckeyword + 1 + strlen(language), + "True"); + + if (!warn) + errors ++; + } + + if (_cups_strcasecmp(option->keyword, "PageSize")) + { + for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); + cparam; + cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) + { + snprintf(ckeyword, sizeof(ckeyword), "%s.ParamCustom%s", + language, option->keyword); + snprintf(cllkeyword, sizeof(cllkeyword), "%s.ParamCustom%s", + ll, option->keyword); + + if ((attr = ppdFindAttr(ppd, ckeyword, + cparam->name)) == NULL && + (attr = ppdFindAttr(ppd, cllkeyword, + cparam->name)) == NULL) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Missing \"%s\" " + "translation string for option %s, " + "choice %s."), + prefix, language, + ckeyword + 1 + strlen(language), + cparam->name); + + if (!warn) + errors ++; + } + else if (!valid_utf8(attr->text)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad UTF-8 \"%s\" " + "translation string for option %s, " + "choice %s."), + prefix, language, + ckeyword + 1 + strlen(language), + cparam->name); + + if (!warn) + errors ++; + } + } + } + } + else if ((attr = ppdFindAttr(ppd, keyword, + option->choices[j].choice)) == NULL && + (attr = ppdFindAttr(ppd, llkeyword, + option->choices[j].choice)) == NULL) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Missing \"%s\" " + "translation string for option %s, " + "choice %s."), + prefix, language, option->keyword, + option->choices[j].choice); + + if (!warn) + errors ++; + } + else if (!valid_utf8(attr->text)) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s Bad UTF-8 \"%s\" " + "translation string for option %s, " + "choice %s."), + prefix, language, option->keyword, + option->choices[j].choice); + + if (!warn) + errors ++; + } + } + } + } + + /* + * Verify that we have the base language for each localized one... + */ + + for (language = (char *)cupsArrayFirst(languages); + language; + language = (char *)cupsArrayNext(languages)) + if (language[2]) + { + /* + * Lookup the base language... + */ + + cupsArraySave(languages); + + strlcpy(ll, language, sizeof(ll)); + + if (!cupsArrayFind(languages, ll) && + strcmp(ll, "zh") && strcmp(ll, "en")) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s No base translation \"%s\" " + "is included in file."), prefix, ll); + + if (!warn) + errors ++; + } + + cupsArrayRestore(languages); + } + + /* + * Free memory used for the languages... + */ + + _ppdFreeLanguages(languages); + } + + return (errors); +} + + +/* + * 'show_conflicts()' - Show option conflicts in a PPD file. + */ + +static void +show_conflicts(ppd_file_t *ppd, /* I - PPD to check */ + const char *prefix) /* I - Prefix string */ +{ + int i, j; /* Looping variables */ + ppd_const_t *c; /* Current constraint */ + ppd_option_t *o1, *o2; /* Options */ + ppd_choice_t *c1, *c2; /* Choices */ + + + /* + * Loop through all of the UI constraints and report any options + * that conflict... + */ + + for (i = ppd->num_consts, c = ppd->consts; i > 0; i --, c ++) + { + /* + * Grab pointers to the first option... + */ + + o1 = ppdFindOption(ppd, c->option1); + + if (o1 == NULL) + continue; + else if (c->choice1[0] != '\0') + { + /* + * This constraint maps to a specific choice. + */ + + c1 = ppdFindChoice(o1, c->choice1); + } + else + { + /* + * This constraint applies to any choice for this option. + */ + + for (j = o1->num_choices, c1 = o1->choices; j > 0; j --, c1 ++) + if (c1->marked) + break; + + if (j == 0 || + !_cups_strcasecmp(c1->choice, "None") || + !_cups_strcasecmp(c1->choice, "Off") || + !_cups_strcasecmp(c1->choice, "False")) + c1 = NULL; + } + + /* + * Grab pointers to the second option... + */ + + o2 = ppdFindOption(ppd, c->option2); + + if (o2 == NULL) + continue; + else if (c->choice2[0] != '\0') + { + /* + * This constraint maps to a specific choice. + */ + + c2 = ppdFindChoice(o2, c->choice2); + } + else + { + /* + * This constraint applies to any choice for this option. + */ + + for (j = o2->num_choices, c2 = o2->choices; j > 0; j --, c2 ++) + if (c2->marked) + break; + + if (j == 0 || + !_cups_strcasecmp(c2->choice, "None") || + !_cups_strcasecmp(c2->choice, "Off") || + !_cups_strcasecmp(c2->choice, "False")) + c2 = NULL; + } + + /* + * If both options are marked then there is a conflict... + */ + + if (c1 != NULL && c1->marked && c2 != NULL && c2->marked) + _cupsLangPrintf(stdout, + _(" %s \"%s %s\" conflicts with \"%s %s\"\n" + " (constraint=\"%s %s %s %s\")."), + prefix, o1->keyword, c1->choice, o2->keyword, c2->choice, + c->option1, c->choice1, c->option2, c->choice2); + } +} + + +/* + * 'test_raster()' - Test PostScript commands for raster printers. + */ + +static int /* O - 1 on success, 0 on failure */ +test_raster(ppd_file_t *ppd, /* I - PPD file */ + int verbose) /* I - Verbosity */ +{ + cups_page_header2_t header; /* Page header */ + + + ppdMarkDefaults(ppd); + if (cupsRasterInterpretPPD(&header, ppd, 0, NULL, 0)) + { + if (!verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" **FAIL** Default option code cannot be " + "interpreted: %s"), cupsRasterErrorString()); + + return (0); + } + + /* + * Try a test of custom page size code, if available... + */ + + if (!ppdPageSize(ppd, "Custom.612x792")) + return (1); + + ppdMarkOption(ppd, "PageSize", "Custom.612x792"); + + if (cupsRasterInterpretPPD(&header, ppd, 0, NULL, 0)) + { + if (!verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" **FAIL** Default option code cannot be " + "interpreted: %s"), cupsRasterErrorString()); + + return (0); + } + + return (1); +} + + +/* + * 'usage()' - Show program usage. + */ + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Warning: This program will be removed in a future version of CUPS.")); + _cupsLangPuts(stdout, _("Usage: cupstestppd [options] filename1.ppd[.gz] [... filenameN.ppd[.gz]]\n" + " program | cupstestppd [options] -")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("-I {filename,filters,none,profiles}\n" + " Ignore specific warnings")); + _cupsLangPuts(stdout, _("-R root-directory Set alternate root")); + _cupsLangPuts(stdout, _("-W {all,none,constraints,defaults,duplex,filters,profiles,sizes,translations}\n" + " Issue warnings instead of errors")); + _cupsLangPuts(stdout, _("-q Run silently")); + _cupsLangPuts(stdout, _("-r Use 'relaxed' open mode")); + _cupsLangPuts(stdout, _("-v Be verbose")); + _cupsLangPuts(stdout, _("-vv Be very verbose")); + + exit(ERROR_USAGE); +} + + +/* + * 'valid_path()' - Check whether a path has the correct capitalization. + */ + +static int /* O - Errors found */ +valid_path(const char *keyword, /* I - Keyword using path */ + const char *path, /* I - Path to check */ + int errors, /* I - Errors found */ + int verbose, /* I - Verbosity level */ + int warn) /* I - Warnings only? */ +{ + cups_dir_t *dir; /* Current directory */ + cups_dentry_t *dentry; /* Current directory entry */ + char temp[1024], /* Temporary path */ + *ptr; /* Pointer into temporary path */ + const char *prefix; /* WARN/FAIL prefix */ + + + prefix = warn ? " WARN " : "**FAIL**"; + + /* + * Loop over the components of the path, checking that the entry exists with + * the same capitalization... + */ + + strlcpy(temp, path, sizeof(temp)); + + while ((ptr = strrchr(temp, '/')) != NULL) + { + /* + * Chop off the trailing component so temp == dirname and ptr == basename. + */ + + *ptr++ = '\0'; + + /* + * Try opening the directory containing the base name... + */ + + if (temp[0]) + dir = cupsDirOpen(temp); + else + dir = cupsDirOpen("/"); + + if (!dir) + dentry = NULL; + else + { + while ((dentry = cupsDirRead(dir)) != NULL) + { + if (!strcmp(dentry->filename, ptr)) + break; + } + + cupsDirClose(dir); + } + + /* + * Display an error if the filename doesn't exist with the same + * capitalization... + */ + + if (!dentry) + { + if (!warn && !errors && !verbose) + _cupsLangPuts(stdout, _(" FAIL")); + + if (verbose >= 0) + _cupsLangPrintf(stdout, + _(" %s %s file \"%s\" has the wrong " + "capitalization."), prefix, keyword, path); + + if (!warn) + errors ++; + + break; + } + } + + return (errors); +} + + +/* + * 'valid_utf8()' - Check whether a string contains valid UTF-8 text. + */ + +static int /* O - 1 if valid, 0 if not */ +valid_utf8(const char *s) /* I - String to check */ +{ + while (*s) + { + if (*s & 0x80) + { + /* + * Check for valid UTF-8 sequence... + */ + + if ((*s & 0xc0) == 0x80) + return (0); /* Illegal suffix byte */ + else if ((*s & 0xe0) == 0xc0) + { + /* + * 2-byte sequence... + */ + + s ++; + + if ((*s & 0xc0) != 0x80) + return (0); /* Missing suffix byte */ + } + else if ((*s & 0xf0) == 0xe0) + { + /* + * 3-byte sequence... + */ + + s ++; + + if ((*s & 0xc0) != 0x80) + return (0); /* Missing suffix byte */ + + s ++; + + if ((*s & 0xc0) != 0x80) + return (0); /* Missing suffix byte */ + } + else if ((*s & 0xf8) == 0xf0) + { + /* + * 4-byte sequence... + */ + + s ++; + + if ((*s & 0xc0) != 0x80) + return (0); /* Missing suffix byte */ + + s ++; + + if ((*s & 0xc0) != 0x80) + return (0); /* Missing suffix byte */ + + s ++; + + if ((*s & 0xc0) != 0x80) + return (0); /* Missing suffix byte */ + } + else + return (0); /* Bad sequence */ + } + + s ++; + } + + return (1); +} diff --git a/systemv/lp.c b/systemv/lp.c new file mode 100644 index 0000000..298c158 --- /dev/null +++ b/systemv/lp.c @@ -0,0 +1,783 @@ +/* + * "lp" command for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include + + +/* + * Local functions. + */ + +static int restart_job(const char *command, int job_id); +static int set_job_attrs(const char *command, int job_id, int num_options, cups_option_t *options); +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Parse options and send files for printing. + */ + +int +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i, j; /* Looping vars */ + int job_id; /* Job ID */ + char *printer, /* Printer name */ + *instance, /* Instance name */ + *opt, /* Option pointer */ + *val, /* Option value */ + *title; /* Job title */ + int priority; /* Job priority (1-100) */ + int num_copies; /* Number of copies per file */ + int num_files; /* Number of files to print */ + const char *files[1000]; /* Files to print */ + cups_dest_t *dest; /* Selected destination */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ + int end_options; /* No more options? */ + int silent; /* Silent or verbose output? */ + char buffer[8192]; /* Copy buffer */ + + +#ifdef __sun + /* + * Solaris does some rather strange things to re-queue remote print + * jobs. On bootup, the "lp" command is run as "printd" to re-spool + * any remote jobs in /var/spool/print. Since CUPS doesn't need this + * nonsense, we just need to add the necessary check here to prevent + * lp from causing boot problems... + */ + + if ((val = strrchr(argv[0], '/')) != NULL) + val ++; + else + val = argv[0]; + + if (!strcmp(val, "printd")) + return (0); +#endif /* __sun */ + + _cupsSetLocale(argv); + + silent = 0; + printer = NULL; + dest = NULL; + num_options = 0; + options = NULL; + num_files = 0; + title = NULL; + job_id = 0; + end_options = 0; + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + usage(); + else if (argv[i][0] == '-' && argv[i][1] && !end_options) + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'E' : /* Encrypt */ +#ifdef HAVE_SSL + cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); +#else + _cupsLangPrintf(stderr, _("%s: Sorry, no encryption support."), argv[0]); +#endif /* HAVE_SSL */ + break; + + case 'U' : /* Username */ + if (opt[1] != '\0') + { + cupsSetUser(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected username after \"-U\" option."), argv[0]); + usage(); + } + + cupsSetUser(argv[i]); + } + break; + + case 'c' : /* Copy to spool dir (always enabled) */ + break; + + case 'd' : /* Destination printer or class */ + if (opt[1] != '\0') + { + printer = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected destination after \"-d\" option."), argv[0]); + usage(); + } + + printer = argv[i]; + } + + if ((instance = strrchr(printer, '/')) != NULL) + *instance++ = '\0'; + + if ((dest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, printer, + instance)) != NULL) + { + for (j = 0; j < dest->num_options; j ++) + if (cupsGetOption(dest->options[j].name, num_options, + options) == NULL) + num_options = cupsAddOption(dest->options[j].name, + dest->options[j].value, + num_options, &options); + } + else if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server " + "name."), argv[0]); + return (1); + } + break; + + case 'f' : /* Form */ + if (opt[1] != '\0') + { + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected form after \"-f\" option."), argv[0]); + usage(); + } + } + + _cupsLangPrintf(stderr, _("%s: Warning - form option ignored."), argv[0]); + break; + + case 'h' : /* Destination host */ + if (opt[1] != '\0') + { + cupsSetServer(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected hostname after \"-h\" option."), argv[0]); + usage(); + } + + cupsSetServer(argv[i]); + } + break; + + case 'i' : /* Change job */ + if (opt[1] != '\0') + { + val = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Expected job ID after \"-i\" option."), argv[0]); + usage(); + } + + val = argv[i]; + } + + if (num_files > 0) + { + _cupsLangPrintf(stderr, _("%s: Error - cannot print files and alter jobs simultaneously."), argv[0]); + return (1); + } + + if (strrchr(val, '-') != NULL) + job_id = atoi(strrchr(val, '-') + 1); + else + job_id = atoi(val); + + if (job_id < 0) + { + _cupsLangPrintf(stderr, _("%s: Error - bad job ID."), argv[0]); + break; + } + break; + + case 'm' : /* Send email when job is done */ +#ifdef __sun + case 'p' : /* Notify on completion */ +#endif /* __sun */ + case 'w' : /* Write to console or email */ + { + char email[1024]; /* EMail address */ + + + snprintf(email, sizeof(email), "mailto:%s@%s", cupsUser(), httpGetHostname(NULL, buffer, sizeof(buffer))); + num_options = cupsAddOption("notify-recipient-uri", email, num_options, &options); + } + + silent = 1; + break; + + case 'n' : /* Number of copies */ + if (opt[1] != '\0') + { + num_copies = atoi(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected copies after \"-n\" option."), argv[0]); + usage(); + } + + num_copies = atoi(argv[i]); + } + + if (num_copies < 1) + { + _cupsLangPrintf(stderr, _("%s: Error - copies must be 1 or more."), argv[0]); + return (1); + } + + sprintf(buffer, "%d", num_copies); + num_options = cupsAddOption("copies", buffer, num_options, + &options); + break; + + case 'o' : /* Option */ + if (opt[1] != '\0') + { + num_options = cupsParseOptions(opt + 1, num_options, &options); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected option=value after \"-o\" option."), argv[0]); + usage(); + } + + num_options = cupsParseOptions(argv[i], num_options, &options); + } + break; + +#ifndef __sun + case 'p' : /* Queue priority */ +#endif /* !__sun */ + case 'q' : /* Queue priority */ + if (opt[1] != '\0') + { + priority = atoi(opt + 1); + opt += strlen(opt) - 1; + } + else + { + if ((i + 1) >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected priority after \"-%c\" option."), argv[0], *opt); + usage(); + } + + i ++; + + priority = atoi(argv[i]); + } + + /* + * For 100% Solaris compatibility, need to add: + * + * priority = 99 * (39 - priority) / 39 + 1; + * + * However, to keep CUPS lp the same across all platforms + * we will break compatibility this far... + */ + + if (priority < 1 || priority > 100) + { + _cupsLangPrintf(stderr, _("%s: Error - priority must be between 1 and 100."), argv[0]); + return (1); + } + + sprintf(buffer, "%d", priority); + num_options = cupsAddOption("job-priority", buffer, num_options, + &options); + break; + + case 's' : /* Silent */ + silent = 1; + break; + + case 't' : /* Title */ + if (opt[1] != '\0') + { + title = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected title after \"-t\" option."), argv[0]); + usage(); + } + + title = argv[i]; + } + break; + + case 'y' : /* mode-list */ + if (opt[1] != '\0') + { + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected mode list after \"-y\" option."), argv[0]); + usage(); + } + } + + _cupsLangPrintf(stderr, _("%s: Warning - mode option ignored."), argv[0]); + break; + + case 'H' : /* Hold job */ + if (opt[1] != '\0') + { + val = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected hold name after \"-H\" option."), argv[0]); + usage(); + } + + val = argv[i]; + } + + if (!strcmp(val, "hold")) + num_options = cupsAddOption("job-hold-until", "indefinite", num_options, &options); + else if (!strcmp(val, "resume") || !strcmp(val, "release")) + num_options = cupsAddOption("job-hold-until", "no-hold", num_options, &options); + else if (!strcmp(val, "immediate")) + { + num_options = cupsAddOption("job-hold-until", "no-hold", num_options, &options); + num_options = cupsAddOption("job-priority", "100", num_options, &options); + } + else if (!strcmp(val, "restart")) + { + if (job_id < 1) + { + _cupsLangPrintf(stderr, _("%s: Need job ID (\"-i jobid\") before \"-H restart\"."), argv[0]); + return (1); + } + + if (restart_job(argv[0], job_id)) + return (1); + } + else + num_options = cupsAddOption("job-hold-until", val, num_options, &options); + break; + + case 'P' : /* Page list */ + if (opt[1] != '\0') + { + val = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected page list after \"-P\" option."), argv[0]); + usage(); + } + + val = argv[i]; + } + + num_options = cupsAddOption("page-ranges", val, num_options, &options); + break; + + case 'S' : /* character set */ + if (opt[1] != '\0') + { + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected character set after \"-S\" option."), argv[0]); + usage(); + } + } + + _cupsLangPrintf(stderr, _("%s: Warning - character set option ignored."), argv[0]); + break; + + case 'T' : /* Content-Type */ + if (opt[1] != '\0') + { + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected content type after \"-T\" option."), argv[0]); + usage(); + } + } + + _cupsLangPrintf(stderr, _("%s: Warning - content type option ignored."), argv[0]); + break; + + case '-' : /* Stop processing options */ + if (opt[1] != '\0') + { + _cupsLangPrintf(stderr, _("%s: Error - unknown option \"%s\"."), argv[0], argv[i]); + usage(); + } + + end_options = 1; + break; + + default : + _cupsLangPrintf(stderr, _("%s: Error - unknown option \"%c\"."), argv[0], *opt); + usage(); + } + } + } + else if (!strcmp(argv[i], "-")) + { + if (num_files || job_id) + { + _cupsLangPrintf(stderr, + _("%s: Error - cannot print from stdin if files or a " + "job ID are provided."), argv[0]); + return (1); + } + + break; + } + else if (num_files < 1000 && job_id == 0) + { + /* + * Print a file... + */ + + if (access(argv[i], R_OK) != 0) + { + _cupsLangPrintf(stderr, _("%s: Error - unable to access \"%s\" - %s"), argv[0], argv[i], strerror(errno)); + return (1); + } + + files[num_files] = argv[i]; + num_files ++; + + if (title == NULL) + { + if ((title = strrchr(argv[i], '/')) != NULL) + title ++; + else + title = argv[i]; + } + } + else + { + _cupsLangPrintf(stderr, _("%s: Error - too many files - \"%s\"."), argv[0], argv[i]); + } + } + + /* + * See if we are altering an existing job... + */ + + if (job_id) + return (set_job_attrs(argv[0], job_id, num_options, options)); + + /* + * See if we have any files to print; if not, print from stdin... + */ + + if (printer == NULL) + { + if ((dest = cupsGetNamedDest(NULL, NULL, NULL)) != NULL) + { + printer = dest->name; + + for (j = 0; j < dest->num_options; j ++) + if (cupsGetOption(dest->options[j].name, num_options, options) == NULL) + num_options = cupsAddOption(dest->options[j].name, + dest->options[j].value, + num_options, &options); + } + else if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server " + "name."), argv[0]); + return (1); + } + } + + if (printer == NULL) + { + if (!cupsGetNamedDest(NULL, NULL, NULL) && cupsLastError() == IPP_STATUS_ERROR_NOT_FOUND) + _cupsLangPrintf(stderr, _("%s: Error - %s"), argv[0], cupsLastErrorString()); + else + _cupsLangPrintf(stderr, _("%s: Error - scheduler not responding."), argv[0]); + + return (1); + } + + if (num_files > 0) + job_id = cupsPrintFiles(printer, num_files, files, title, num_options, options); + else if ((job_id = cupsCreateJob(CUPS_HTTP_DEFAULT, printer, + title ? title : "(stdin)", + num_options, options)) > 0) + { + http_status_t status; /* Write status */ + const char *format; /* Document format */ + ssize_t bytes; /* Bytes read */ + + if (cupsGetOption("raw", num_options, options)) + format = CUPS_FORMAT_RAW; + else if ((format = cupsGetOption("document-format", num_options, + options)) == NULL) + format = CUPS_FORMAT_AUTO; + + status = cupsStartDocument(CUPS_HTTP_DEFAULT, printer, job_id, NULL, + format, 1); + + while (status == HTTP_CONTINUE && + (bytes = read(0, buffer, sizeof(buffer))) > 0) + status = cupsWriteRequestData(CUPS_HTTP_DEFAULT, buffer, (size_t)bytes); + + if (status != HTTP_CONTINUE) + { + _cupsLangPrintf(stderr, _("%s: Error - unable to queue from stdin - %s."), + argv[0], httpStatus(status)); + cupsFinishDocument(CUPS_HTTP_DEFAULT, printer); + cupsCancelJob2(CUPS_HTTP_DEFAULT, printer, job_id, 0); + return (1); + } + + if (cupsFinishDocument(CUPS_HTTP_DEFAULT, printer) != IPP_OK) + { + _cupsLangPrintf(stderr, "%s: %s", argv[0], cupsLastErrorString()); + cupsCancelJob2(CUPS_HTTP_DEFAULT, printer, job_id, 0); + return (1); + } + } + + if (job_id < 1) + { + _cupsLangPrintf(stderr, "%s: %s", argv[0], cupsLastErrorString()); + return (1); + } + else if (!silent) + _cupsLangPrintf(stdout, _("request id is %s-%d (%d file(s))"), + printer, job_id, num_files); + + return (0); +} + + +/* + * 'restart_job()' - Restart a job. + */ + +static int /* O - Exit status */ +restart_job(const char *command, /* I - Command name */ + int job_id) /* I - Job ID */ +{ + ipp_t *request; /* IPP request */ + char uri[HTTP_MAX_URI]; /* URI for job */ + + + request = ippNewRequest(IPP_RESTART_JOB); + + sprintf(uri, "ipp://localhost/jobs/%d", job_id); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "job-uri", NULL, uri); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + + ippDelete(cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/jobs")); + + if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server " + "name."), command); + return (1); + } + else if (cupsLastError() > IPP_OK_CONFLICT) + { + _cupsLangPrintf(stderr, "%s: %s", command, cupsLastErrorString()); + return (1); + } + + return (0); +} + + +/* + * 'set_job_attrs()' - Set job attributes. + */ + +static int /* O - Exit status */ +set_job_attrs( + const char *command, /* I - Command name */ + int job_id, /* I - Job ID */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - Options */ +{ + ipp_t *request; /* IPP request */ + char uri[HTTP_MAX_URI]; /* URI for job */ + + + if (num_options == 0) + return (0); + + request = ippNewRequest(IPP_SET_JOB_ATTRIBUTES); + + sprintf(uri, "ipp://localhost/jobs/%d", job_id); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "job-uri", NULL, uri); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + + cupsEncodeOptions(request, num_options, options); + + ippDelete(cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/jobs")); + + if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server " + "name."), command); + return (1); + } + else if (cupsLastError() > IPP_OK_CONFLICT) + { + _cupsLangPrintf(stderr, "%s: %s", command, cupsLastErrorString()); + return (1); + } + + return (0); +} + + +/* + * 'usage()' - Show program usage and exit. + */ + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: lp [options] [--] [file(s)]\n" + " lp [options] -i id")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("-c Make a copy of the print file(s)")); + _cupsLangPuts(stdout, _("-d destination Specify the destination")); + _cupsLangPuts(stdout, _("-E Encrypt the connection to the server")); + _cupsLangPuts(stdout, _("-h server[:port] Connect to the named server and port")); + _cupsLangPuts(stdout, _("-H HH:MM Hold the job until the specified UTC time")); + _cupsLangPuts(stdout, _("-H hold Hold the job until released/resumed")); + _cupsLangPuts(stdout, _("-H immediate Print the job as soon as possible")); + _cupsLangPuts(stdout, _("-H restart Reprint the job")); + _cupsLangPuts(stdout, _("-H resume Resume a held job")); + _cupsLangPuts(stdout, _("-i id Specify an existing job ID to modify")); + _cupsLangPuts(stdout, _("-m Send an email notification when the job completes")); + _cupsLangPuts(stdout, _("-n num-copies Specify the number of copies to print")); + _cupsLangPuts(stdout, _("-o option[=value] Specify a printer-specific option")); + _cupsLangPuts(stdout, _("-o job-sheets=standard Print a banner page with the job")); + _cupsLangPuts(stdout, _("-o media=size Specify the media size to use")); + _cupsLangPuts(stdout, _("-o number-up=N Specify that input pages should be printed N-up (1, 2, 4, 6, 9, and 16 are supported)")); + _cupsLangPuts(stdout, _("-o orientation-requested=N\n" + " Specify portrait (3) or landscape (4) orientation")); + _cupsLangPuts(stdout, _("-o print-quality=N Specify the print quality - draft (3), normal (4), or best (5)")); + _cupsLangPuts(stdout, _("-o sides=one-sided Specify 1-sided printing")); + _cupsLangPuts(stdout, _("-o sides=two-sided-long-edge\n" + " Specify 2-sided portrait printing")); + _cupsLangPuts(stdout, _("-o sides=two-sided-short-edge\n" + " Specify 2-sided landscape printing")); + _cupsLangPuts(stdout, _("-P page-list Specify a list of pages to print")); + _cupsLangPuts(stdout, _("-q priority Specify the priority from low (1) to high (100)")); + _cupsLangPuts(stdout, _("-s Be silent")); + _cupsLangPuts(stdout, _("-t title Specify the job title")); + _cupsLangPuts(stdout, _("-U username Specify the username to use for authentication")); + + + exit(1); +} diff --git a/systemv/lpadmin.c b/systemv/lpadmin.c new file mode 100644 index 0000000..ca6d386 --- /dev/null +++ b/systemv/lpadmin.c @@ -0,0 +1,1685 @@ +/* + * "lpadmin" command for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include + + +/* + * Local functions... + */ + +static int add_printer_to_class(http_t *http, char *printer, char *pclass); +static int default_printer(http_t *http, char *printer); +static int delete_printer(http_t *http, char *printer); +static int delete_printer_from_class(http_t *http, char *printer, + char *pclass); +static int delete_printer_option(http_t *http, char *printer, + char *option); +static int enable_printer(http_t *http, char *printer); +static char *get_printer_ppd(const char *uri, char *buffer, size_t bufsize, int *num_options, cups_option_t **options); +static cups_ptype_t get_printer_type(http_t *http, char *printer, char *uri, + size_t urisize); +static int set_printer_options(http_t *http, char *printer, + int num_options, cups_option_t *options, + char *file, int enable); +static void usage(void) _CUPS_NORETURN; +static int validate_name(const char *name); + + +/* + * 'main()' - Parse options and configure the scheduler. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + http_t *http; /* Connection to server */ + char *printer, /* Destination printer */ + *pclass, /* Printer class name */ + *opt, /* Option pointer */ + *val; /* Pointer to allow/deny value */ + int enable = 0; /* Enable/resume printer? */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ + char *file, /* New PPD file */ + evefile[1024] = ""; /* IPP Everywhere PPD */ + const char *ppd_name, /* ppd-name value */ + *device_uri; /* device-uri value */ + + + _cupsSetLocale(argv); + + http = NULL; + printer = NULL; + num_options = 0; + options = NULL; + file = NULL; + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + usage(); + else if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'c' : /* Add printer to class */ + if (!http) + { + http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, cupsEncryption(), 1, 30000, NULL); + + if (http == NULL) + { + _cupsLangPrintf(stderr, _("lpadmin: Unable to connect to server: %s"), strerror(errno)); + return (1); + } + } + + if (printer == NULL) + { + _cupsLangPuts(stderr, + _("lpadmin: Unable to add a printer to the class:\n" + " You must specify a printer name first.")); + return (1); + } + + if (opt[1] != '\0') + { + pclass = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected class name after \"-c\" option.")); + usage(); + } + + pclass = argv[i]; + } + + if (!validate_name(pclass)) + { + _cupsLangPuts(stderr, + _("lpadmin: Class name can only contain printable " + "characters.")); + return (1); + } + + if (add_printer_to_class(http, printer, pclass)) + return (1); + break; + + case 'd' : /* Set as default destination */ + if (!http) + { + http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, cupsEncryption(), 1, 30000, NULL); + + if (http == NULL) + { + _cupsLangPrintf(stderr, _("lpadmin: Unable to connect to server: %s"), strerror(errno)); + return (1); + } + } + + if (opt[1] != '\0') + { + printer = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected printer name after \"-d\" option.")); + usage(); + } + + printer = argv[i]; + } + + if (!validate_name(printer)) + { + _cupsLangPuts(stderr, _("lpadmin: Printer name can only contain printable characters.")); + return (1); + } + + if (default_printer(http, printer)) + return (1); + + i = argc; + break; + + case 'h' : /* Connect to host */ + if (http) + { + httpClose(http); + http = NULL; + } + + if (opt[1] != '\0') + { + cupsSetServer(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected hostname after \"-h\" option.")); + usage(); + } + + cupsSetServer(argv[i]); + } + break; + + case 'P' : /* Use the specified PPD file */ + case 'i' : /* Use the specified PPD file */ + if (opt[1] != '\0') + { + file = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("lpadmin: Expected PPD after \"-%c\" option."), argv[i - 1][1]); + usage(); + } + + file = argv[i]; + } + + if (*opt == 'i') + { + /* + * Check to see that the specified file is, in fact, a PPD... + */ + + cups_file_t *fp = cupsFileOpen(file, "r"); + char line[256]; + + if (!cupsFileGets(fp, line, sizeof(line)) || strncmp(line, "*PPD-Adobe", 10)) + { + _cupsLangPuts(stderr, _("lpadmin: System V interface scripts are no longer supported for security reasons.")); + cupsFileClose(fp); + return (1); + } + + cupsFileClose(fp); + } + break; + + case 'E' : /* Enable the printer/enable encryption */ + if (printer == NULL) + { +#ifdef HAVE_SSL + cupsSetEncryption(HTTP_ENCRYPTION_REQUIRED); + + if (http) + httpEncryption(http, HTTP_ENCRYPTION_REQUIRED); +#else + _cupsLangPrintf(stderr, _("%s: Sorry, no encryption support."), argv[0]); +#endif /* HAVE_SSL */ + break; + } + + if (!http) + { + http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, cupsEncryption(), 1, 30000, NULL); + + if (http == NULL) + { + _cupsLangPrintf(stderr, + _("lpadmin: Unable to connect to server: %s"), + strerror(errno)); + return (1); + } + } + + enable = 1; + break; + + case 'm' : /* Use the specified standard script/PPD file */ + if (opt[1] != '\0') + { + num_options = cupsAddOption("ppd-name", opt + 1, num_options, &options); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected model after \"-m\" option.")); + usage(); + } + + num_options = cupsAddOption("ppd-name", argv[i], num_options, &options); + } + break; + + case 'o' : /* Set option */ + if (opt[1] != '\0') + { + num_options = cupsParseOptions(opt + 1, num_options, &options); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected name=value after \"-o\" option.")); + usage(); + } + + num_options = cupsParseOptions(argv[i], num_options, &options); + } + break; + + case 'p' : /* Add/modify a printer */ + if (opt[1] != '\0') + { + printer = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected printer after \"-p\" option.")); + usage(); + } + + printer = argv[i]; + } + + if (!validate_name(printer)) + { + _cupsLangPuts(stderr, _("lpadmin: Printer name can only contain printable characters.")); + return (1); + } + break; + + case 'r' : /* Remove printer from class */ + if (!http) + { + http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, cupsEncryption(), 1, 30000, NULL); + + if (http == NULL) + { + _cupsLangPrintf(stderr, + _("lpadmin: Unable to connect to server: %s"), + strerror(errno)); + return (1); + } + } + + if (printer == NULL) + { + _cupsLangPuts(stderr, + _("lpadmin: Unable to remove a printer from the class:\n" + " You must specify a printer name first.")); + return (1); + } + + if (opt[1] != '\0') + { + pclass = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected class after \"-r\" option.")); + usage(); + } + + pclass = argv[i]; + } + + if (!validate_name(pclass)) + { + _cupsLangPuts(stderr, _("lpadmin: Class name can only contain printable characters.")); + return (1); + } + + if (delete_printer_from_class(http, printer, pclass)) + return (1); + break; + + case 'R' : /* Remove option */ + if (!http) + { + http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, cupsEncryption(), 1, 30000, NULL); + + if (http == NULL) + { + _cupsLangPrintf(stderr, _("lpadmin: Unable to connect to server: %s"), strerror(errno)); + return (1); + } + } + + if (printer == NULL) + { + _cupsLangPuts(stderr, + _("lpadmin: Unable to delete option:\n" + " You must specify a printer name first.")); + return (1); + } + + if (opt[1] != '\0') + { + val = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected name after \"-R\" option.")); + usage(); + } + + val = argv[i]; + } + + if (delete_printer_option(http, printer, val)) + return (1); + break; + + case 'U' : /* Username */ + if (opt[1] != '\0') + { + cupsSetUser(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected username after \"-U\" option."), argv[0]); + usage(); + } + + cupsSetUser(argv[i]); + } + break; + + case 'u' : /* Allow/deny users */ + if (opt[1] != '\0') + { + val = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected allow/deny:userlist after \"-u\" option.")); + usage(); + } + + val = argv[i]; + } + + if (!_cups_strncasecmp(val, "allow:", 6)) + num_options = cupsAddOption("requesting-user-name-allowed", val + 6, num_options, &options); + else if (!_cups_strncasecmp(val, "deny:", 5)) + num_options = cupsAddOption("requesting-user-name-denied", val + 5, num_options, &options); + else + { + _cupsLangPrintf(stderr, _("lpadmin: Unknown allow/deny option \"%s\"."), val); + return (1); + } + break; + + case 'v' : /* Set the device-uri attribute */ + if (opt[1] != '\0') + { + num_options = cupsAddOption("device-uri", opt + 1, num_options, &options); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected device URI after \"-v\" option.")); + usage(); + } + + num_options = cupsAddOption("device-uri", argv[i], num_options, &options); + } + break; + + case 'x' : /* Delete a printer */ + if (!http) + { + http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, cupsEncryption(), 1, 30000, NULL); + + if (http == NULL) + { + _cupsLangPrintf(stderr, + _("lpadmin: Unable to connect to server: %s"), + strerror(errno)); + return (1); + } + } + + if (opt[1] != '\0') + { + printer = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected printer or class after \"-x\" option.")); + usage(); + } + + printer = argv[i]; + } + + if (!validate_name(printer)) + { + _cupsLangPuts(stderr, _("lpadmin: Printer name can only contain printable characters.")); + return (1); + } + + if (delete_printer(http, printer)) + return (1); + + i = argc; + break; + + case 'D' : /* Set the printer-info attribute */ + if (opt[1] != '\0') + { + num_options = cupsAddOption("printer-info", opt + 1, num_options, &options); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected description after \"-D\" option.")); + usage(); + } + + num_options = cupsAddOption("printer-info", argv[i], num_options, &options); + } + break; + + case 'I' : /* Set the supported file types (ignored) */ + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected file type(s) after \"-I\" option.")); + usage(); + } + + _cupsLangPuts(stderr, _("lpadmin: Warning - content type list ignored.")); + break; + + case 'L' : /* Set the printer-location attribute */ + if (opt[1] != '\0') + { + num_options = cupsAddOption("printer-location", opt + 1, num_options, &options); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("lpadmin: Expected location after \"-L\" option.")); + usage(); + } + + num_options = cupsAddOption("printer-location", argv[i], num_options, &options); + } + break; + + default : + _cupsLangPrintf(stderr, _("lpadmin: Unknown option \"%c\"."), *opt); + usage(); + } + } + } + else + { + _cupsLangPrintf(stderr, _("lpadmin: Unknown argument \"%s\"."), argv[i]); + usage(); + } + } + + /* + * Set options as needed... + */ + + ppd_name = cupsGetOption("ppd-name", num_options, options); + device_uri = cupsGetOption("device-uri", num_options, options); + + if (ppd_name && !strcmp(ppd_name, "raw")) + { +#ifdef __APPLE__ + _cupsLangPuts(stderr, _("lpadmin: Raw queues are no longer supported on macOS.")); +#else + _cupsLangPuts(stderr, _("lpadmin: Raw queues are deprecated and will stop working in a future version of CUPS.")); +#endif /* __APPLE__ */ + + if (device_uri && (!strncmp(device_uri, "ipp://", 6) || !strncmp(device_uri, "ipps://", 7)) && strstr(device_uri, "/printers/")) + _cupsLangPuts(stderr, _("lpadmin: Use the 'everywhere' model for shared printers.")); + +#ifdef __APPLE__ + return (1); +#endif /* __APPLE__ */ + } + else if (ppd_name && !strcmp(ppd_name, "everywhere") && device_uri) + { + if ((file = get_printer_ppd(device_uri, evefile, sizeof(evefile), &num_options, &options)) == NULL) + return (1); + + num_options = cupsRemoveOption("ppd-name", num_options, &options); + } + else if (ppd_name || file) + { + _cupsLangPuts(stderr, _("lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.")); + } + + if (num_options || file) + { + if (printer == NULL) + { + _cupsLangPuts(stderr, + _("lpadmin: Unable to set the printer options:\n" + " You must specify a printer name first.")); + return (1); + } + + if (!http) + { + http = httpConnect2(cupsServer(), ippPort(), NULL, AF_UNSPEC, + cupsEncryption(), 1, 30000, NULL); + + if (http == NULL) { + _cupsLangPrintf(stderr, _("lpadmin: Unable to connect to server: %s"), + strerror(errno)); + return (1); + } + } + + if (set_printer_options(http, printer, num_options, options, file, enable)) + return (1); + } + else if (enable && enable_printer(http, printer)) + return (1); + + if (evefile[0]) + unlink(evefile); + + if (printer == NULL) + usage(); + + if (http) + httpClose(http); + + return (0); +} + + +/* + * 'add_printer_to_class()' - Add a printer to a class. + */ + +static int /* O - 0 on success, 1 on fail */ +add_printer_to_class(http_t *http, /* I - Server connection */ + char *printer, /* I - Printer to add */ + char *pclass) /* I - Class to add to */ +{ + int i; /* Looping var */ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr, /* Current attribute */ + *members; /* Members in class */ + char uri[HTTP_MAX_URI]; /* URI for printer/class */ + + + /* + * Build an IPP_OP_GET_PRINTER_ATTRIBUTES request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name + */ + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/classes/%s", pclass); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + /* + * Do the request and get back a response... + */ + + response = cupsDoRequest(http, request, "/"); + + /* + * Build a CUPS-Add-Modify-Class request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name + * member-uris + */ + + request = ippNewRequest(IPP_OP_CUPS_ADD_MODIFY_CLASS); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + /* + * See if the printer is already in the class... + */ + + if (response != NULL && + (members = ippFindAttribute(response, "member-names", + IPP_TAG_NAME)) != NULL) + for (i = 0; i < members->num_values; i ++) + if (_cups_strcasecmp(printer, members->values[i].string.text) == 0) + { + _cupsLangPrintf(stderr, + _("lpadmin: Printer %s is already a member of class " + "%s."), printer, pclass); + ippDelete(request); + ippDelete(response); + return (0); + } + + /* + * OK, the printer isn't part of the class, so add it... + */ + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", printer); + + if (response != NULL && + (members = ippFindAttribute(response, "member-uris", + IPP_TAG_URI)) != NULL) + { + /* + * Add the printer to the existing list... + */ + + attr = ippAddStrings(request, IPP_TAG_PRINTER, IPP_TAG_URI, + "member-uris", members->num_values + 1, NULL, NULL); + for (i = 0; i < members->num_values; i ++) + attr->values[i].string.text = + _cupsStrAlloc(members->values[i].string.text); + + attr->values[i].string.text = _cupsStrAlloc(uri); + } + else + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_URI, "member-uris", NULL, + uri); + + /* + * Then send the request... + */ + + ippDelete(response); + + ippDelete(cupsDoRequest(http, request, "/admin/")); + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, _("%s: %s"), "lpadmin", cupsLastErrorString()); + + return (1); + } + else + return (0); +} + + +/* + * 'default_printer()' - Set the default printing destination. + */ + +static int /* O - 0 on success, 1 on fail */ +default_printer(http_t *http, /* I - Server connection */ + char *printer) /* I - Printer name */ +{ + ipp_t *request; /* IPP Request */ + char uri[HTTP_MAX_URI]; /* URI for printer/class */ + + + /* + * Build a CUPS-Set-Default request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name + */ + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", printer); + + request = ippNewRequest(IPP_OP_CUPS_SET_DEFAULT); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + /* + * Do the request and get back a response... + */ + + ippDelete(cupsDoRequest(http, request, "/admin/")); + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, _("%s: %s"), "lpadmin", cupsLastErrorString()); + + return (1); + } + else + return (0); +} + + +/* + * 'delete_printer()' - Delete a printer from the system... + */ + +static int /* O - 0 on success, 1 on fail */ +delete_printer(http_t *http, /* I - Server connection */ + char *printer) /* I - Printer to delete */ +{ + ipp_t *request; /* IPP Request */ + char uri[HTTP_MAX_URI]; /* URI for printer/class */ + + + /* + * Build a CUPS-Delete-Printer request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name + */ + + request = ippNewRequest(IPP_OP_CUPS_DELETE_PRINTER); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/printers/%s", printer); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + /* + * Do the request and get back a response... + */ + + ippDelete(cupsDoRequest(http, request, "/admin/")); + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, _("%s: %s"), "lpadmin", cupsLastErrorString()); + + return (1); + } + else + return (0); +} + + +/* + * 'delete_printer_from_class()' - Delete a printer from a class. + */ + +static int /* O - 0 on success, 1 on fail */ +delete_printer_from_class( + http_t *http, /* I - Server connection */ + char *printer, /* I - Printer to remove */ + char *pclass) /* I - Class to remove from */ +{ + int i, j, k; /* Looping vars */ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr, /* Current attribute */ + *members; /* Members in class */ + char uri[HTTP_MAX_URI]; /* URI for printer/class */ + + + /* + * Build an IPP_OP_GET_PRINTER_ATTRIBUTES request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name + */ + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, + "localhost", 0, "/classes/%s", pclass); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(http, request, "/classes/")) == NULL || + response->request.status.status_code == IPP_STATUS_ERROR_NOT_FOUND) + { + _cupsLangPrintf(stderr, _("%s: %s"), "lpadmin", cupsLastErrorString()); + + ippDelete(response); + + return (1); + } + + /* + * See if the printer is already in the class... + */ + + if ((members = ippFindAttribute(response, "member-names", IPP_TAG_NAME)) == NULL) + { + _cupsLangPuts(stderr, _("lpadmin: No member names were seen.")); + + ippDelete(response); + + return (1); + } + + for (i = 0; i < members->num_values; i ++) + if (!_cups_strcasecmp(printer, members->values[i].string.text)) + break; + + if (i >= members->num_values) + { + _cupsLangPrintf(stderr, + _("lpadmin: Printer %s is not a member of class %s."), + printer, pclass); + + ippDelete(response); + + return (1); + } + + if (members->num_values == 1) + { + /* + * Build a CUPS-Delete-Class request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name + */ + + request = ippNewRequest(IPP_OP_CUPS_DELETE_CLASS); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + } + else + { + /* + * Build a IPP_OP_CUPS_ADD_MODIFY_CLASS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name + * member-uris + */ + + request = ippNewRequest(IPP_OP_CUPS_ADD_MODIFY_CLASS); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + + /* + * Delete the printer from the class... + */ + + members = ippFindAttribute(response, "member-uris", IPP_TAG_URI); + attr = ippAddStrings(request, IPP_TAG_PRINTER, IPP_TAG_URI, + "member-uris", members->num_values - 1, NULL, NULL); + + for (j = 0, k = 0; j < members->num_values; j ++) + if (j != i) + attr->values[k ++].string.text = + _cupsStrAlloc(members->values[j].string.text); + } + + /* + * Then send the request... + */ + + ippDelete(response); + + ippDelete(cupsDoRequest(http, request, "/admin/")); + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, _("%s: %s"), "lpadmin", cupsLastErrorString()); + + return (1); + } + else + return (0); +} + + +/* + * 'delete_printer_option()' - Delete a printer option. + */ + +static int /* O - 0 on success, 1 on fail */ +delete_printer_option(http_t *http, /* I - Server connection */ + char *printer, /* I - Printer */ + char *option) /* I - Option to delete */ +{ + ipp_t *request; /* IPP request */ + char uri[HTTP_MAX_URI]; /* URI for printer/class */ + + + /* + * Build a IPP_OP_CUPS_ADD_MODIFY_PRINTER or IPP_OP_CUPS_ADD_MODIFY_CLASS request, which + * requires the following attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name + * option with deleteAttr tag + */ + + if (get_printer_type(http, printer, uri, sizeof(uri)) & CUPS_PRINTER_CLASS) + request = ippNewRequest(IPP_OP_CUPS_ADD_MODIFY_CLASS); + else + request = ippNewRequest(IPP_OP_CUPS_ADD_MODIFY_PRINTER); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + ippAddInteger(request, IPP_TAG_PRINTER, IPP_TAG_DELETEATTR, option, 0); + + /* + * Do the request and get back a response... + */ + + ippDelete(cupsDoRequest(http, request, "/admin/")); + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, _("%s: %s"), "lpadmin", cupsLastErrorString()); + + return (1); + } + else + return (0); +} + + +/* + * 'enable_printer()' - Enable a printer... + */ + +static int /* O - 0 on success, 1 on fail */ +enable_printer(http_t *http, /* I - Server connection */ + char *printer) /* I - Printer to enable */ +{ + ipp_t *request; /* IPP Request */ + char uri[HTTP_MAX_URI]; /* URI for printer/class */ + + + /* + * Send IPP_OP_ENABLE_PRINTER and IPP_OP_RESUME_PRINTER requests, which + * require the following attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name + */ + + request = ippNewRequest(IPP_OP_ENABLE_PRINTER); + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, "localhost", ippPort(), "/printers/%s", printer); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + + ippDelete(cupsDoRequest(http, request, "/admin/")); + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, _("%s: %s"), "lpadmin", cupsLastErrorString()); + + return (1); + } + + request = ippNewRequest(IPP_OP_RESUME_PRINTER); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + + ippDelete(cupsDoRequest(http, request, "/admin/")); + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, _("%s: %s"), "lpadmin", cupsLastErrorString()); + + return (1); + } + + return (0); +} + + +/* + * 'get_printer_ppd()' - Get an IPP Everywhere PPD file for the given URI. + */ + +static char * /* O - Filename or NULL */ +get_printer_ppd( + const char *uri, /* I - Printer URI */ + char *buffer, /* I - Filename buffer */ + size_t bufsize, /* I - Size of filename buffer */ + int *num_options, /* IO - Number of options */ + cups_option_t **options) /* IO - Options */ +{ + http_t *http; /* Connection to printer */ + ipp_t *request, /* Get-Printer-Attributes request */ + *response; /* Get-Printer-Attributes response */ + ipp_attribute_t *attr; /* Attribute from response */ + char resolved[1024], /* Resolved URI */ + scheme[32], /* URI scheme */ + userpass[256], /* Username:password */ + host[256], /* Hostname */ + resource[256]; /* Resource path */ + int port; /* Port number */ + static const char * const pattrs[] = /* Attributes to use */ + { + "all", + "media-col-database" + }; + + + /* + * Connect to the printer... + */ + + if (strstr(uri, "._tcp")) + { + /* + * Resolve URI... + */ + + if (!_httpResolveURI(uri, resolved, sizeof(resolved), _HTTP_RESOLVE_DEFAULT, NULL, NULL)) + { + _cupsLangPrintf(stderr, _("%s: Unable to resolve \"%s\"."), "lpadmin", uri); + return (NULL); + } + + uri = resolved; + } + + if (httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, sizeof(scheme), userpass, sizeof(userpass), host, sizeof(host), &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK) + { + _cupsLangPrintf(stderr, _("%s: Bad printer URI \"%s\"."), "lpadmin", uri); + return (NULL); + } + + http = httpConnect2(host, port, NULL, AF_UNSPEC, !strcmp(scheme, "ipps") ? HTTP_ENCRYPTION_ALWAYS : HTTP_ENCRYPTION_IF_REQUESTED, 1, 30000, NULL); + if (!http) + { + _cupsLangPrintf(stderr, _("%s: Unable to connect to \"%s:%d\": %s"), "lpadmin", host, port, cupsLastErrorString()); + return (NULL); + } + + /* + * Send a Get-Printer-Attributes request... + */ + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri); + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", sizeof(pattrs) / sizeof(pattrs[0]), NULL, pattrs); + response = cupsDoRequest(http, request, resource); + + if (cupsLastError() >= IPP_STATUS_REDIRECTION_OTHER_SITE) + { + _cupsLangPrintf(stderr, _("%s: Unable to query printer: %s"), "lpadmin", cupsLastErrorString()); + buffer[0] = '\0'; + } + else if (_ppdCreateFromIPP(buffer, bufsize, response)) + { + if (!cupsGetOption("printer-geo-location", *num_options, *options) && (attr = ippFindAttribute(response, "printer-geo-location", IPP_TAG_URI)) != NULL) + *num_options = cupsAddOption("printer-geo-location", ippGetString(attr, 0, NULL), *num_options, options); + + if (!cupsGetOption("printer-info", *num_options, *options) && (attr = ippFindAttribute(response, "printer-info", IPP_TAG_TEXT)) != NULL) + *num_options = cupsAddOption("printer-info", ippGetString(attr, 0, NULL), *num_options, options); + + if (!cupsGetOption("printer-location", *num_options, *options) && (attr = ippFindAttribute(response, "printer-location", IPP_TAG_TEXT)) != NULL) + *num_options = cupsAddOption("printer-location", ippGetString(attr, 0, NULL), *num_options, options); + } + else + _cupsLangPrintf(stderr, _("%s: Unable to create PPD file: %s"), "lpadmin", strerror(errno)); + + ippDelete(response); + httpClose(http); + + if (buffer[0]) + return (buffer); + else + return (NULL); +} + + +/* + * 'get_printer_type()' - Determine the printer type and URI. + */ + +static cups_ptype_t /* O - printer-type value */ +get_printer_type(http_t *http, /* I - Server connection */ + char *printer, /* I - Printer name */ + char *uri, /* I - URI buffer */ + size_t urisize) /* I - Size of URI buffer */ +{ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* printer-type attribute */ + cups_ptype_t type; /* printer-type value */ + + + /* + * Build a GET_PRINTER_ATTRIBUTES request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requested-attributes + * requesting-user-name + */ + + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, (int)urisize, "ipp", NULL, "localhost", ippPort(), "/printers/%s", printer); + + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", NULL, "printer-type"); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + + /* + * Do the request... + */ + + response = cupsDoRequest(http, request, "/"); + if ((attr = ippFindAttribute(response, "printer-type", + IPP_TAG_ENUM)) != NULL) + { + type = (cups_ptype_t)attr->values[0].integer; + + if (type & CUPS_PRINTER_CLASS) + httpAssembleURIf(HTTP_URI_CODING_ALL, uri, (int)urisize, "ipp", NULL, "localhost", ippPort(), "/classes/%s", printer); + } + else + type = CUPS_PRINTER_LOCAL; + + ippDelete(response); + + return (type); +} + + +/* + * 'set_printer_options()' - Set the printer options. + */ + +static int /* O - 0 on success, 1 on fail */ +set_printer_options( + http_t *http, /* I - Server connection */ + char *printer, /* I - Printer */ + int num_options, /* I - Number of options */ + cups_option_t *options, /* I - Options */ + char *file, /* I - PPD file */ + int enable) /* I - Enable printer? */ +{ + ipp_t *request; /* IPP Request */ + const char *ppdfile; /* PPD filename */ + int ppdchanged = 0; /* PPD changed? */ + ppd_file_t *ppd; /* PPD file */ + ppd_choice_t *choice; /* Marked choice */ + char uri[HTTP_MAX_URI], /* URI for printer/class */ + line[1024], /* Line from PPD file */ + keyword[1024], /* Keyword from Default line */ + *keyptr, /* Pointer into keyword... */ + tempfile[1024]; /* Temporary filename */ + cups_file_t *in, /* PPD file */ + *out; /* Temporary file */ + const char *ppdname, /* ppd-name value */ + *protocol, /* Old protocol option */ + *customval, /* Custom option value */ + *boolval; /* Boolean value */ + int wrote_ipp_supplies = 0, /* Wrote cupsIPPSupplies keyword? */ + wrote_snmp_supplies = 0,/* Wrote cupsSNMPSupplies keyword? */ + copied_options = 0; /* Copied options? */ + + + /* + * Build a CUPS-Add-Modify-Printer or CUPS-Add-Modify-Class request, + * which requires the following attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requesting-user-name + * other options + */ + + if (get_printer_type(http, printer, uri, sizeof(uri)) & CUPS_PRINTER_CLASS) + request = ippNewRequest(IPP_OP_CUPS_ADD_MODIFY_CLASS); + else + request = ippNewRequest(IPP_OP_CUPS_ADD_MODIFY_PRINTER); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsUser()); + + /* + * Add the options... + */ + + if (file) + ppdfile = file; + else if ((ppdname = cupsGetOption("ppd-name", num_options, options)) != NULL && strcmp(ppdname, "raw") && num_options > 1) + { + if ((ppdfile = cupsGetServerPPD(http, ppdname)) != NULL) + { + /* + * Copy options array and remove ppd-name from it... + */ + + cups_option_t *temp = NULL, *optr; + int i, num_temp = 0; + for (i = num_options, optr = options; i > 0; i --, optr ++) + if (strcmp(optr->name, "ppd-name")) + num_temp = cupsAddOption(optr->name, optr->value, num_temp, &temp); + + copied_options = 1; + ppdchanged = 1; + num_options = num_temp; + options = temp; + } + } + else if (request->request.op.operation_id == IPP_OP_CUPS_ADD_MODIFY_PRINTER) + ppdfile = cupsGetPPD(printer); + else + ppdfile = NULL; + + cupsEncodeOptions2(request, num_options, options, IPP_TAG_OPERATION); + + if (enable) + { + ippAddInteger(request, IPP_TAG_PRINTER, IPP_TAG_ENUM, "printer-state", IPP_PSTATE_IDLE); + ippAddBoolean(request, IPP_TAG_PRINTER, "printer-is-accepting-jobs", 1); + } + + cupsEncodeOptions2(request, num_options, options, IPP_TAG_PRINTER); + + if ((protocol = cupsGetOption("protocol", num_options, options)) != NULL) + { + if (!_cups_strcasecmp(protocol, "bcp")) + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_NAME, "port-monitor", + NULL, "bcp"); + else if (!_cups_strcasecmp(protocol, "tbcp")) + ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_NAME, "port-monitor", + NULL, "tbcp"); + } + + if (ppdfile) + { + /* + * Set default options in the PPD file... + */ + + if ((ppd = ppdOpenFile(ppdfile)) == NULL) + { + int linenum; /* Line number of error */ + ppd_status_t status = ppdLastError(&linenum); + /* Status code */ + + _cupsLangPrintf(stderr, _("lpadmin: Unable to open PPD \"%s\": %s on line %d."), ppdfile, ppdErrorString(status), linenum); + return (1); + } + + ppdMarkDefaults(ppd); + cupsMarkOptions(ppd, num_options, options); + + if ((out = cupsTempFile2(tempfile, sizeof(tempfile))) == NULL) + { + _cupsLangPrintError(NULL, _("lpadmin: Unable to create temporary file")); + ippDelete(request); + if (ppdfile != file) + unlink(ppdfile); + if (copied_options) + cupsFreeOptions(num_options, options); + return (1); + } + + if ((in = cupsFileOpen(ppdfile, "r")) == NULL) + { + _cupsLangPrintf(stderr, _("lpadmin: Unable to open PPD \"%s\": %s"), ppdfile, strerror(errno)); + ippDelete(request); + if (ppdfile != file) + unlink(ppdfile); + if (copied_options) + cupsFreeOptions(num_options, options); + cupsFileClose(out); + unlink(tempfile); + return (1); + } + + while (cupsFileGets(in, line, sizeof(line))) + { + if (!strncmp(line, "*cupsIPPSupplies:", 17) && + (boolval = cupsGetOption("cupsIPPSupplies", num_options, + options)) != NULL) + { + ppdchanged = 1; + wrote_ipp_supplies = 1; + cupsFilePrintf(out, "*cupsIPPSupplies: %s\n", + (!_cups_strcasecmp(boolval, "true") || + !_cups_strcasecmp(boolval, "yes") || + !_cups_strcasecmp(boolval, "on")) ? "True" : "False"); + } + else if (!strncmp(line, "*cupsSNMPSupplies:", 18) && + (boolval = cupsGetOption("cupsSNMPSupplies", num_options, + options)) != NULL) + { + ppdchanged = 1; + wrote_snmp_supplies = 1; + cupsFilePrintf(out, "*cupsSNMPSupplies: %s\n", + (!_cups_strcasecmp(boolval, "true") || + !_cups_strcasecmp(boolval, "yes") || + !_cups_strcasecmp(boolval, "on")) ? "True" : "False"); + } + else if (strncmp(line, "*Default", 8)) + cupsFilePrintf(out, "%s\n", line); + else + { + /* + * Get default option name... + */ + + strlcpy(keyword, line + 8, sizeof(keyword)); + + for (keyptr = keyword; *keyptr; keyptr ++) + if (*keyptr == ':' || isspace(*keyptr & 255)) + break; + + *keyptr++ = '\0'; + while (isspace(*keyptr & 255)) + keyptr ++; + + if (!strcmp(keyword, "PageRegion") || + !strcmp(keyword, "PageSize") || + !strcmp(keyword, "PaperDimension") || + !strcmp(keyword, "ImageableArea")) + { + if ((choice = ppdFindMarkedChoice(ppd, "PageSize")) == NULL) + choice = ppdFindMarkedChoice(ppd, "PageRegion"); + } + else + choice = ppdFindMarkedChoice(ppd, keyword); + + if (choice && strcmp(choice->choice, keyptr)) + { + if (strcmp(choice->choice, "Custom")) + { + cupsFilePrintf(out, "*Default%s: %s\n", keyword, choice->choice); + ppdchanged = 1; + } + else if ((customval = cupsGetOption(keyword, num_options, + options)) != NULL) + { + cupsFilePrintf(out, "*Default%s: %s\n", keyword, customval); + ppdchanged = 1; + } + else + cupsFilePrintf(out, "%s\n", line); + } + else + cupsFilePrintf(out, "%s\n", line); + } + } + + if (!wrote_ipp_supplies && + (boolval = cupsGetOption("cupsIPPSupplies", num_options, + options)) != NULL) + { + ppdchanged = 1; + + cupsFilePrintf(out, "*cupsIPPSupplies: %s\n", + (!_cups_strcasecmp(boolval, "true") || + !_cups_strcasecmp(boolval, "yes") || + !_cups_strcasecmp(boolval, "on")) ? "True" : "False"); + } + + if (!wrote_snmp_supplies && + (boolval = cupsGetOption("cupsSNMPSupplies", num_options, + options)) != NULL) + { + ppdchanged = 1; + + cupsFilePrintf(out, "*cupsSNMPSupplies: %s\n", + (!_cups_strcasecmp(boolval, "true") || + !_cups_strcasecmp(boolval, "yes") || + !_cups_strcasecmp(boolval, "on")) ? "True" : "False"); + } + + cupsFileClose(in); + cupsFileClose(out); + ppdClose(ppd); + + /* + * Do the request... + */ + + ippDelete(cupsDoFileRequest(http, request, "/admin/", ppdchanged ? tempfile : file)); + + /* + * Clean up temp files... (TODO: catch signals in case we CTRL-C during + * lpadmin) + */ + + if (ppdfile != file) + unlink(ppdfile); + unlink(tempfile); + } + else + { + /* + * No PPD file - just set the options... + */ + + ippDelete(cupsDoRequest(http, request, "/admin/")); + } + + if (copied_options) + cupsFreeOptions(num_options, options); + + /* + * Check the response... + */ + + if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, _("%s: %s"), "lpadmin", cupsLastErrorString()); + + return (1); + } + else + return (0); +} + + +/* + * 'usage()' - Show program usage and exit. + */ + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: lpadmin [options] -d destination\n" + " lpadmin [options] -p destination\n" + " lpadmin [options] -p destination -c class\n" + " lpadmin [options] -p destination -r class\n" + " lpadmin [options] -x destination")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("-c class Add the named destination to a class")); + _cupsLangPuts(stdout, _("-d destination Set the named destination as the server default")); + _cupsLangPuts(stdout, _("-D description Specify the textual description of the printer")); + _cupsLangPuts(stdout, _("-E Encrypt the connection to the server")); + _cupsLangPuts(stdout, _("-E Enable and accept jobs on the printer (after -p)")); + _cupsLangPuts(stdout, _("-h server[:port] Connect to the named server and port")); + _cupsLangPuts(stdout, _("-i ppd-file Specify a PPD file for the printer")); + _cupsLangPuts(stdout, _("-L location Specify the textual location of the printer")); + _cupsLangPuts(stdout, _("-m model Specify a standard model/PPD file for the printer")); + _cupsLangPuts(stdout, _("-m everywhere Specify the printer is compatible with IPP Everywhere")); + _cupsLangPuts(stdout, _("-o name-default=value Specify the default value for the named option")); + _cupsLangPuts(stdout, _("-o Name=Value Specify the default value for the named PPD option ")); + _cupsLangPuts(stdout, _("-o cupsIPPSupplies=false\n" + " Disable supply level reporting via IPP")); + _cupsLangPuts(stdout, _("-o cupsSNMPSupplies=false\n" + " Disable supply level reporting via SNMP")); + _cupsLangPuts(stdout, _("-o job-k-limit=N Specify the kilobyte limit for per-user quotas")); + _cupsLangPuts(stdout, _("-o job-page-limit=N Specify the page limit for per-user quotas")); + _cupsLangPuts(stdout, _("-o job-quota-period=N Specify the per-user quota period in seconds")); + _cupsLangPuts(stdout, _("-o printer-error-policy=name\n" + " Specify the printer error policy")); + _cupsLangPuts(stdout, _("-o printer-is-shared=true\n" + " Share the printer")); + _cupsLangPuts(stdout, _("-o printer-op-policy=name\n" + " Specify the printer operation policy")); + _cupsLangPuts(stdout, _("-p destination Specify/add the named destination")); + _cupsLangPuts(stdout, _("-r class Remove the named destination from a class")); + _cupsLangPuts(stdout, _("-R name-default Remove the default value for the named option")); + _cupsLangPuts(stdout, _("-u allow:all Allow all users to print")); + _cupsLangPuts(stdout, _("-u allow:list Allow the list of users or groups (@name) to print")); + _cupsLangPuts(stdout, _("-u deny:list Prevent the list of users or groups (@name) to print")); + _cupsLangPuts(stdout, _("-U username Specify the username to use for authentication")); + _cupsLangPuts(stdout, _("-v device-uri Specify the device URI for the printer")); + _cupsLangPuts(stdout, _("-x destination Remove the named destination")); + + exit(1); +} + + +/* + * 'validate_name()' - Make sure the printer name only contains valid chars. + */ + +static int /* O - 0 if name is no good, 1 if name is good */ +validate_name(const char *name) /* I - Name to check */ +{ + const char *ptr; /* Pointer into name */ + + + /* + * Scan the whole name... + */ + + for (ptr = name; *ptr; ptr ++) + if (*ptr == '@') + break; + else if ((*ptr >= 0 && *ptr <= ' ') || *ptr == 127 || *ptr == '/' || *ptr == '\\' || *ptr == '?' || *ptr == '\'' || *ptr == '\"' || *ptr == '#') + return (0); + + /* + * All the characters are good; validate the length, too... + */ + + return ((ptr - name) < 128); +} diff --git a/systemv/lpinfo.c b/systemv/lpinfo.c new file mode 100644 index 0000000..bb4db59 --- /dev/null +++ b/systemv/lpinfo.c @@ -0,0 +1,515 @@ +/* + * "lpinfo" command for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include + + +/* + * Local functions... + */ + +static void device_cb(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); +static int show_devices(int long_status, int timeout, + const char *include_schemes, + const char *exclude_schemes); +static int show_models(int long_status, + const char *device_id, const char *language, + const char *make_model, const char *product, + const char *include_schemes, + const char *exclude_schemes); +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Parse options and show status information. + */ + +int +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + int long_status; /* Long listing? */ + const char *opt, /* Option pointer */ + *device_id, /* 1284 device ID */ + *language, /* Language */ + *make_model, /* Make and model */ + *product, /* Product */ + *include_schemes, /* Schemes to include */ + *exclude_schemes; /* Schemes to exclude */ + int timeout; /* Device timeout */ + + + _cupsSetLocale(argv); + + long_status = 0; + device_id = NULL; + language = NULL; + make_model = NULL; + product = NULL; + include_schemes = CUPS_INCLUDE_ALL; + exclude_schemes = CUPS_EXCLUDE_NONE; + timeout = CUPS_TIMEOUT_DEFAULT; + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--device-id")) + { + i ++; + + if (i < argc) + device_id = argv[i]; + else + { + _cupsLangPuts(stderr, _("lpinfo: Expected 1284 device ID string after \"--device-id\".")); + usage(); + } + } + else if (!strncmp(argv[i], "--device-id=", 12) && argv[i][12]) + { + device_id = argv[i] + 12; + } + else if (!strcmp(argv[i], "--exclude-schemes")) + { + i ++; + + if (i < argc) + exclude_schemes = argv[i]; + else + { + _cupsLangPuts(stderr, _("lpinfo: Expected scheme list after \"--exclude-schemes\".")); + usage(); + } + } + else if (!strncmp(argv[i], "--exclude-schemes=", 18) && argv[i][18]) + { + exclude_schemes = argv[i] + 18; + } + else if (!strcmp(argv[i], "--help")) + usage(); + else if (!strcmp(argv[i], "--include-schemes")) + { + i ++; + + if (i < argc) + include_schemes = argv[i]; + else + { + _cupsLangPuts(stderr, _("lpinfo: Expected scheme list after \"--include-schemes\".")); + usage(); + } + } + else if (!strncmp(argv[i], "--include-schemes=", 18) && argv[i][18]) + { + include_schemes = argv[i] + 18; + } + else if (!strcmp(argv[i], "--language")) + { + i ++; + if (i < argc) + language = argv[i]; + else + { + _cupsLangPuts(stderr, _("lpinfo: Expected language after \"--language\".")); + usage(); + } + } + else if (!strncmp(argv[i], "--language=", 11) && argv[i][11]) + { + language = argv[i] + 11; + } + else if (!strcmp(argv[i], "--make-and-model")) + { + i ++; + if (i < argc) + make_model= argv[i]; + else + { + _cupsLangPuts(stderr, _("lpinfo: Expected make and model after \"--make-and-model\".")); + usage(); + } + } + else if (!strncmp(argv[i], "--make-and-model=", 17) && argv[i][17]) + { + make_model = argv[i] + 17; + } + else if (!strcmp(argv[i], "--product")) + { + i ++; + if (i < argc) + product = argv[i]; + else + { + _cupsLangPuts(stderr, _("lpinfo: Expected product string after \"--product\".")); + usage(); + } + } + else if (!strncmp(argv[i], "--product=", 10) && argv[i][10]) + { + product = argv[i] + 10; + } + else if (!strcmp(argv[i], "--timeout")) + { + i ++; + if (i < argc) + timeout = atoi(argv[i]); + else + { + _cupsLangPuts(stderr, _("lpinfo: Expected timeout after \"--timeout\".")); + usage(); + } + } + else if (!strncmp(argv[i], "--timeout=", 10) && argv[i][10]) + { + timeout = atoi(argv[i] + 10); + } + else if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'E' : /* Encrypt */ +#ifdef HAVE_SSL + cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); +#else + _cupsLangPrintf(stderr, _("%s: Sorry, no encryption support."), argv[0]); +#endif /* HAVE_SSL */ + break; + + case 'h' : /* Connect to host */ + if (opt[1] != '\0') + { + cupsSetServer(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("Error: need hostname after \"-h\" option.")); + usage(); + } + + cupsSetServer(argv[i]); + } + break; + + case 'l' : /* Show long listing */ + long_status = 1; + break; + + case 'm' : /* Show models */ + if (show_models(long_status, device_id, language, make_model, product, include_schemes, exclude_schemes)) + return (1); + break; + + case 'v' : /* Show available devices */ + if (show_devices(long_status, timeout, include_schemes, exclude_schemes)) + return (1); + break; + + default : + _cupsLangPrintf(stderr, _("%s: Unknown option \"%c\"."), argv[0], *opt); + usage(); + } + } + } + else + { + _cupsLangPrintf(stderr, _("%s: Unknown argument \"%s\"."), argv[0], argv[i]); + usage(); + } + } + + return (0); +} + + +/* + * 'device_cb()' - Device callback. + */ + +static void +device_cb( + const char *device_class, /* I - device-class string */ + const char *device_id, /* I - device-id string */ + const char *device_info, /* I - device-info string */ + const char *device_make_and_model, /* I - device-make-and-model string */ + const char *device_uri, /* I - device-uri string */ + const char *device_location, /* I - device-location string */ + void *user_data) /* I - User data */ +{ + int *long_status; /* Show verbose info? */ + + + /* + * Display the device... + */ + + long_status = (int *)user_data; + + if (*long_status) + { + _cupsLangPrintf(stdout, + _("Device: uri = %s\n" + " class = %s\n" + " info = %s\n" + " make-and-model = %s\n" + " device-id = %s\n" + " location = %s"), + device_uri, device_class, device_info, + device_make_and_model, device_id, device_location); + } + else + _cupsLangPrintf(stdout, "%s %s", device_class, device_uri); +} + + +/* + * 'show_devices()' - Show available devices. + */ + +static int /* O - 0 on success, 1 on failure */ +show_devices( + int long_status, /* I - Long status report? */ + int timeout, /* I - Timeout */ + const char *include_schemes, /* I - List of schemes to include */ + const char *exclude_schemes) /* I - List of schemes to exclude */ +{ + if (cupsGetDevices(CUPS_HTTP_DEFAULT, timeout, include_schemes, + exclude_schemes, device_cb, &long_status) != IPP_OK) + { + _cupsLangPrintf(stderr, "lpinfo: %s", cupsLastErrorString()); + return (1); + } + + return (0); +} + + +/* + * 'show_models()' - Show available PPDs. + */ + +static int /* O - 0 on success, 1 on failure */ +show_models( + int long_status, /* I - Long status report? */ + const char *device_id, /* I - 1284 device ID */ + const char *language, /* I - Language */ + const char *make_model, /* I - Make and model */ + const char *product, /* I - Product */ + const char *include_schemes, /* I - List of schemes to include */ + const char *exclude_schemes) /* I - List of schemes to exclude */ +{ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr; /* Current attribute */ + const char *ppd_device_id, /* Pointer to ppd-device-id */ + *ppd_language, /* Pointer to ppd-natural-language */ + *ppd_make_model, /* Pointer to ppd-make-and-model */ + *ppd_name; /* Pointer to ppd-name */ + cups_option_t option; /* in/exclude-schemes option */ + + + /* + * Build a CUPS_GET_PPDS request... + */ + + request = ippNewRequest(CUPS_GET_PPDS); + + if (device_id) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_TEXT, "ppd-device-id", + NULL, device_id); + if (language) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, "ppd-language", + NULL, language); + if (make_model) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_TEXT, "ppd-make-and-model", + NULL, make_model); + if (product) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_TEXT, "ppd-product", + NULL, product); + + if (include_schemes) + { + option.name = "include-schemes"; + option.value = (char *)include_schemes; + + cupsEncodeOptions2(request, 1, &option, IPP_TAG_OPERATION); + } + + if (exclude_schemes) + { + option.name = "exclude-schemes"; + option.value = (char *)exclude_schemes; + + cupsEncodeOptions2(request, 1, &option, IPP_TAG_OPERATION); + } + + /* + * Do the request and get back a response... + */ + + if ((response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/")) != NULL) + { + /* + * Loop through the device list and display them... + */ + + if (response->request.status.status_code > IPP_OK_CONFLICT) + { + _cupsLangPrintf(stderr, "lpinfo: %s", cupsLastErrorString()); + ippDelete(response); + return (1); + } + + for (attr = response->attrs; attr != NULL; attr = attr->next) + { + /* + * Skip leading attributes until we hit a PPD... + */ + + while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) + attr = attr->next; + + if (attr == NULL) + break; + + /* + * Pull the needed attributes from this PPD... + */ + + ppd_device_id = "NONE"; + ppd_language = NULL; + ppd_make_model = NULL; + ppd_name = NULL; + + while (attr != NULL && attr->group_tag == IPP_TAG_PRINTER) + { + if (!strcmp(attr->name, "ppd-device-id") && + attr->value_tag == IPP_TAG_TEXT) + ppd_device_id = attr->values[0].string.text; + else if (!strcmp(attr->name, "ppd-natural-language") && + attr->value_tag == IPP_TAG_LANGUAGE) + ppd_language = attr->values[0].string.text; + else if (!strcmp(attr->name, "ppd-make-and-model") && + attr->value_tag == IPP_TAG_TEXT) + ppd_make_model = attr->values[0].string.text; + else if (!strcmp(attr->name, "ppd-name") && + attr->value_tag == IPP_TAG_NAME) + ppd_name = attr->values[0].string.text; + + attr = attr->next; + } + + /* + * See if we have everything needed... + */ + + if (ppd_language == NULL || ppd_make_model == NULL || ppd_name == NULL) + { + if (attr == NULL) + break; + else + continue; + } + + /* + * Display the device... + */ + + if (long_status) + { + _cupsLangPrintf(stdout, + _("Model: name = %s\n" + " natural_language = %s\n" + " make-and-model = %s\n" + " device-id = %s"), + ppd_name, ppd_language, ppd_make_model, ppd_device_id); + } + else + _cupsLangPrintf(stdout, "%s %s", ppd_name, ppd_make_model); + + if (attr == NULL) + break; + } + + ippDelete(response); + + /* + * Show the "everywhere" model, which is handled by the lpadmin command... + */ + + if ((!include_schemes || strstr(include_schemes, "everywhere")) && (!exclude_schemes || !strstr(exclude_schemes, "everywhere"))) + { + if (long_status) + { + _cupsLangPrintf(stdout, + _("Model: name = %s\n" + " natural_language = %s\n" + " make-and-model = %s\n" + " device-id = %s"), + "everywhere", cupsLangDefault()->language, "IPP Everywhere™", "CMD:PwgRaster"); + } + else + _cupsLangPuts(stdout, "everywhere IPP Everywhere"); + } + } + else + { + _cupsLangPrintf(stderr, "lpinfo: %s", cupsLastErrorString()); + + return (1); + } + + return (0); +} + + +/* + * 'usage()' - Show program usage and exit. + */ + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: lpinfo [options] -m\n" + " lpinfo [options] -v")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("-E Encrypt the connection to the server")); + _cupsLangPuts(stdout, _("-h server[:port] Connect to the named server and port")); + _cupsLangPuts(stdout, _("-l Show verbose (long) output")); + _cupsLangPuts(stdout, _("-m Show models")); + _cupsLangPuts(stdout, _("-U username Specify the username to use for authentication")); + _cupsLangPuts(stdout, _("-v Show devices")); + _cupsLangPuts(stdout, _("--device-id device-id Show models matching the given IEEE 1284 device ID")); + _cupsLangPuts(stdout, _("--exclude-schemes scheme-list\n" + " Exclude the specified URI schemes")); + _cupsLangPuts(stdout, _("--include-schemes scheme-list\n" + " Include only the specified URI schemes")); + _cupsLangPuts(stdout, _("--language locale Show models matching the given locale")); + _cupsLangPuts(stdout, _("--make-and-model name Show models matching the given make and model name")); + _cupsLangPuts(stdout, _("--product name Show models matching the given PostScript product")); + _cupsLangPuts(stdout, _("--timeout seconds Specify the maximum number of seconds to discover devices")); + + exit(1); +} diff --git a/systemv/lpmove.c b/systemv/lpmove.c new file mode 100644 index 0000000..126db5f --- /dev/null +++ b/systemv/lpmove.c @@ -0,0 +1,222 @@ +/* + * "lpmove" command for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include + + +/* + * Local functions... + */ + +static int move_job(http_t *http, const char *src, int jobid, const char *dest); +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Parse options and show status information. + */ + +int +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + http_t *http; /* Connection to server */ + const char *opt, /* Option pointer */ + *job; /* Job name */ + int jobid; /* Job ID */ + int num_dests; /* Number of destinations */ + cups_dest_t *dests; /* Destinations */ + const char *src, /* Original queue */ + *dest; /* New destination */ + + + _cupsSetLocale(argv); + + dest = NULL; + dests = NULL; + job = NULL; + jobid = 0; + num_dests = 0; + src = NULL; + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + usage(); + else if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'E' : /* Encrypt */ +#ifdef HAVE_SSL + cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); + +#else + _cupsLangPrintf(stderr, _("%s: Sorry, no encryption support."), argv[0]); +#endif /* HAVE_SSL */ + break; + + case 'h' : /* Connect to host */ + if (opt[1] != '\0') + { + cupsSetServer(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("Error: need hostname after \"-h\" option.")); + usage(); + } + + cupsSetServer(argv[i]); + } + break; + + default : + _cupsLangPrintf(stderr, _("%s: Unknown option \"%c\"."), argv[0], *opt); + usage(); + } + } + } + else if (!jobid && !src) + { + if (num_dests == 0) + num_dests = cupsGetDests(&dests); + + if ((job = strrchr(argv[i], '-')) != NULL && + cupsGetDest(argv[i], NULL, num_dests, dests) == NULL) + jobid = atoi(job + 1); + else if (isdigit(argv[i][0] & 255) && + !cupsGetDest(argv[i], NULL, num_dests, dests)) + jobid = atoi(argv[i]); + else + src = argv[i]; + } + else if (dest == NULL) + dest = argv[i]; + else + { + _cupsLangPrintf(stderr, _("lpmove: Unknown argument \"%s\"."), argv[i]); + usage(); + } + } + + if ((!jobid && !src) || !dest) + usage(); + + http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption()); + + if (http == NULL) + { + _cupsLangPrintf(stderr, _("lpmove: Unable to connect to server: %s"), + strerror(errno)); + return (1); + } + + return (move_job(http, src, jobid, dest)); +} + + +/* + * 'move_job()' - Move a job. + */ + +static int /* O - 0 on success, 1 on error */ +move_job(http_t *http, /* I - HTTP connection to server */ + const char *src, /* I - Source queue */ + int jobid, /* I - Job ID */ + const char *dest) /* I - Destination queue */ +{ + ipp_t *request; /* IPP Request */ + char job_uri[HTTP_MAX_URI], /* job-uri */ + printer_uri[HTTP_MAX_URI]; /* job-printer-uri */ + + + if (!http) + return (1); + + /* + * Build a CUPS_MOVE_JOB request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * job-uri/printer-uri + * job-printer-uri + * requesting-user-name + */ + + request = ippNewRequest(CUPS_MOVE_JOB); + + if (jobid) + { + snprintf(job_uri, sizeof(job_uri), "ipp://localhost/jobs/%d", jobid); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, + job_uri); + } + else + { + httpAssembleURIf(HTTP_URI_CODING_ALL, job_uri, sizeof(job_uri), "ipp", NULL, + "localhost", 0, "/printers/%s", src); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, + job_uri); + } + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + httpAssembleURIf(HTTP_URI_CODING_ALL, printer_uri, sizeof(printer_uri), + "ipp", NULL, "localhost", 0, "/printers/%s", dest); + ippAddString(request, IPP_TAG_JOB, IPP_TAG_URI, "job-printer-uri", + NULL, printer_uri); + + /* + * Do the request and get back a response... + */ + + ippDelete(cupsDoRequest(http, request, "/jobs")); + + if (cupsLastError() > IPP_OK_CONFLICT) + { + _cupsLangPrintf(stderr, "lpmove: %s", cupsLastErrorString()); + return (1); + } + else + return (0); +} + + +/* + * 'usage()' - Show program usage and exit. + */ + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: lpmove [options] job destination\n" + " lpmove [options] source-destination destination")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("-E Encrypt the connection to the server")); + _cupsLangPuts(stdout, _("-h server[:port] Connect to the named server and port")); + _cupsLangPuts(stdout, _("-U username Specify the username to use for authentication")); + + exit(1); +} diff --git a/systemv/lpoptions.c b/systemv/lpoptions.c new file mode 100644 index 0000000..08746c0 --- /dev/null +++ b/systemv/lpoptions.c @@ -0,0 +1,549 @@ +/* + * Printer option program for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include + + +/* + * Local functions... + */ + +static void list_group(ppd_file_t *ppd, ppd_group_t *group); +static void list_options(cups_dest_t *dest); +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Main entry. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i, j; /* Looping vars */ + int changes; /* Did we make changes? */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ + int num_dests; /* Number of destinations */ + cups_dest_t *dests; /* Destinations */ + cups_dest_t *dest; /* Current destination */ + char *opt, /* Option pointer */ + *printer, /* Printer name */ + *instance, /* Instance name */ + *option; /* Current option */ + + + _cupsSetLocale(argv); + + /* + * Loop through the command-line arguments... + */ + + dest = NULL; + num_dests = 0; + dests = NULL; + num_options = 0; + options = NULL; + changes = 0; + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + usage(); + else if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'd' : /* -d printer */ + if (opt[1] != '\0') + { + printer = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + usage(); + + printer = argv[i]; + } + + if ((instance = strrchr(printer, '/')) != NULL) + *instance++ = '\0'; + + if (num_dests == 0) + num_dests = cupsGetDests(&dests); + + if (num_dests == 0 || !dests || (dest = cupsGetDest(printer, instance, num_dests, dests)) == NULL) + { + _cupsLangPuts(stderr, _("lpoptions: Unknown printer or class.")); + return (1); + } + + /* + * Set the default destination... + */ + + for (j = 0; j < num_dests; j ++) + dests[j].is_default = 0; + + dest->is_default = 1; + + cupsSetDests(num_dests, dests); + + for (j = 0; j < dest->num_options; j ++) + if (cupsGetOption(dest->options[j].name, num_options, + options) == NULL) + num_options = cupsAddOption(dest->options[j].name, + dest->options[j].value, + num_options, &options); + break; + + case 'h' : /* -h server */ + if (opt[1] != '\0') + { + cupsSetServer(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + usage(); + + cupsSetServer(argv[i]); + } + break; + + case 'E' : /* Encrypt connection */ + cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); + break; + + case 'l' : /* -l (list options) */ + if (dest == NULL) + { + if (num_dests == 0) + num_dests = cupsGetDests(&dests); + + if ((dest = cupsGetDest(NULL, NULL, num_dests, dests)) == NULL) + dest = dests; + } + + if (dest == NULL) + _cupsLangPuts(stderr, _("lpoptions: No printers.")); + else + list_options(dest); + + changes = -1; + break; + + case 'o' : /* -o option[=value] */ + if (dest == NULL) + { + if (num_dests == 0) + num_dests = cupsGetDests(&dests); + + if ((dest = cupsGetDest(NULL, NULL, num_dests, dests)) == NULL) + dest = dests; + + if (dest == NULL) + { + _cupsLangPuts(stderr, _("lpoptions: No printers.")); + return (1); + } + + for (j = 0; j < dest->num_options; j ++) + if (cupsGetOption(dest->options[j].name, num_options, options) == NULL) + num_options = cupsAddOption(dest->options[j].name, + dest->options[j].value, + num_options, &options); + } + + if (opt[1] != '\0') + { + num_options = cupsParseOptions(opt + 1, num_options, &options); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + usage(); + + num_options = cupsParseOptions(argv[i], num_options, &options); + } + + changes = 1; + break; + + case 'p' : /* -p printer */ + if (opt[1] != '\0') + { + printer = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + usage(); + + printer = argv[i]; + } + + if ((instance = strrchr(printer, '/')) != NULL) + *instance++ = '\0'; + + if (num_dests == 0) + num_dests = cupsGetDests(&dests); + + if ((dest = cupsGetDest(printer, instance, num_dests, dests)) == NULL) + { + num_dests = cupsAddDest(printer, instance, num_dests, &dests); + dest = cupsGetDest(printer, instance, num_dests, dests); + + if (dest == NULL) + { + _cupsLangPrintf(stderr, _("lpoptions: Unable to add printer or instance: %s"), strerror(errno)); + return (1); + } + } + + for (j = 0; j < dest->num_options; j ++) + if (cupsGetOption(dest->options[j].name, num_options, options) == NULL) + num_options = cupsAddOption(dest->options[j].name, + dest->options[j].value, + num_options, &options); + break; + + case 'r' : /* -r option (remove) */ + if (dest == NULL) + { + if (num_dests == 0) + num_dests = cupsGetDests(&dests); + + if ((dest = cupsGetDest(NULL, NULL, num_dests, dests)) == NULL) + dest = dests; + + if (dest == NULL) + { + _cupsLangPuts(stderr, _("lpoptions: No printers.")); + return (1); + } + + for (j = 0; j < dest->num_options; j ++) + if (cupsGetOption(dest->options[j].name, num_options, + options) == NULL) + num_options = cupsAddOption(dest->options[j].name, + dest->options[j].value, + num_options, &options); + } + + if (opt[1] != '\0') + { + option = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + usage(); + + option = argv[i]; + } + + num_options = cupsRemoveOption(option, num_options, &options); + + changes = 1; + break; + + case 'x' : /* -x printer */ + if (opt[1] != '\0') + { + printer = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + usage(); + + printer = argv[i]; + } + + if ((instance = strrchr(printer, '/')) != NULL) + *instance++ = '\0'; + + if (num_dests == 0) + num_dests = cupsGetDests(&dests); + + num_dests = cupsRemoveDest(printer, instance, num_dests, &dests); + + cupsSetDests(num_dests, dests); + dest = NULL; + changes = -1; + break; + + default : + usage(); + } + } + } + else + { + usage(); + } + } + + if (num_dests == 0) + num_dests = cupsGetDests(&dests); + + if (dest == NULL) + { + if ((dest = cupsGetDest(NULL, NULL, num_dests, dests)) != NULL) + { + for (j = 0; j < dest->num_options; j ++) + if (cupsGetOption(dest->options[j].name, num_options, options) == NULL) + num_options = cupsAddOption(dest->options[j].name, + dest->options[j].value, + num_options, &options); + } + } + + if (dest == NULL) + return (0); + + if (changes > 0) + { + /* + * Set printer options... + */ + + cupsFreeOptions(dest->num_options, dest->options); + + dest->num_options = num_options; + dest->options = options; + + cupsSetDests(num_dests, dests); + } + else if (changes == 0) + { + char buffer[10240], /* String for options */ + *ptr; /* Pointer into string */ + + num_options = dest->num_options; + options = dest->options; + + for (i = 0, ptr = buffer; + ptr < (buffer + sizeof(buffer) - 1) && i < num_options; + i ++) + { + if (i) + *ptr++ = ' '; + + if (!options[i].value[0]) + strlcpy(ptr, options[i].name, sizeof(buffer) - (size_t)(ptr - buffer)); + else if (strchr(options[i].value, ' ') != NULL || + strchr(options[i].value, '\t') != NULL) + snprintf(ptr, sizeof(buffer) - (size_t)(ptr - buffer), "%s=\'%s\'", options[i].name, options[i].value); + else + snprintf(ptr, sizeof(buffer) - (size_t)(ptr - buffer), "%s=%s", options[i].name, options[i].value); + + ptr += strlen(ptr); + } + + _cupsLangPuts(stdout, buffer); + } + + return (0); +} + +/* + * 'list_group()' - List printer-specific options from the PPD group. + */ + +static void +list_group(ppd_file_t *ppd, /* I - PPD file */ + ppd_group_t *group) /* I - Group to show */ +{ + int i, j; /* Looping vars */ + ppd_option_t *option; /* Current option */ + ppd_choice_t *choice; /* Current choice */ + ppd_group_t *subgroup; /* Current subgroup */ + char buffer[10240], /* Option string buffer */ + *ptr; /* Pointer into option string */ + + + for (i = group->num_options, option = group->options; i > 0; i --, option ++) + { + if (!_cups_strcasecmp(option->keyword, "PageRegion")) + continue; + + snprintf(buffer, sizeof(buffer), "%s/%s:", option->keyword, option->text); + + for (j = option->num_choices, choice = option->choices, + ptr = buffer + strlen(buffer); + j > 0 && ptr < (buffer + sizeof(buffer) - 1); + j --, choice ++) + { + if (!_cups_strcasecmp(choice->choice, "Custom")) + { + ppd_coption_t *coption; /* Custom option */ + ppd_cparam_t *cparam; /* Custom parameter */ + static const char * const types[] = + { /* Parameter types */ + "CURVE", + "INTEGER", + "INVCURVE", + "PASSCODE", + "PASSWORD", + "POINTS", + "REAL", + "STRING" + }; + + + if ((coption = ppdFindCustomOption(ppd, option->keyword)) == NULL || + cupsArrayCount(coption->params) == 0) + snprintf(ptr, sizeof(buffer) - (size_t)(ptr - buffer), " %sCustom", choice->marked ? "*" : ""); + else if (!_cups_strcasecmp(option->keyword, "PageSize") || + !_cups_strcasecmp(option->keyword, "PageRegion")) + snprintf(ptr, sizeof(buffer) - (size_t)(ptr - buffer), " %sCustom.WIDTHxHEIGHT", choice->marked ? "*" : ""); + else + { + cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); + + if (cupsArrayCount(coption->params) == 1) + snprintf(ptr, sizeof(buffer) - (size_t)(ptr - buffer), " %sCustom.%s", choice->marked ? "*" : "", types[cparam->type]); + else + { + const char *prefix; /* Prefix string */ + + + if (choice->marked) + prefix = " *{"; + else + prefix = " {"; + + while (cparam) + { + snprintf(ptr, sizeof(buffer) - (size_t)(ptr - buffer), "%s%s=%s", prefix, cparam->name, types[cparam->type]); + cparam = (ppd_cparam_t *)cupsArrayNext(coption->params); + prefix = " "; + ptr += strlen(ptr); + } + + if (ptr < (buffer + sizeof(buffer) - 1)) + strlcpy(ptr, "}", sizeof(buffer) - (size_t)(ptr - buffer)); + } + } + } + else if (choice->marked) + snprintf(ptr, sizeof(buffer) - (size_t)(ptr - buffer), " *%s", choice->choice); + else + snprintf(ptr, sizeof(buffer) - (size_t)(ptr - buffer), " %s", choice->choice); + + ptr += strlen(ptr); + } + + _cupsLangPuts(stdout, buffer); + } + + for (i = group->num_subgroups, subgroup = group->subgroups; i > 0; i --, subgroup ++) + list_group(ppd, subgroup); +} + + +/* + * 'list_options()' - List printer-specific options from the PPD file. + */ + +static void +list_options(cups_dest_t *dest) /* I - Destination to list */ +{ + http_t *http; /* Connection to destination */ + char resource[1024]; /* Resource path */ + int i; /* Looping var */ + const char *filename; /* PPD filename */ + ppd_file_t *ppd; /* PPD data */ + ppd_group_t *group; /* Current group */ + + + if ((http = cupsConnectDest(dest, CUPS_DEST_FLAGS_NONE, 30000, NULL, resource, sizeof(resource), NULL, NULL)) == NULL) + { + _cupsLangPrintf(stderr, _("lpoptions: Unable to get PPD file for %s: %s"), + dest->name, cupsLastErrorString()); + return; + } + + if ((filename = cupsGetPPD2(http, dest->name)) == NULL) + { + httpClose(http); + + _cupsLangPrintf(stderr, _("lpoptions: Unable to get PPD file for %s: %s"), + dest->name, cupsLastErrorString()); + return; + } + + httpClose(http); + + if ((ppd = ppdOpenFile(filename)) == NULL) + { + unlink(filename); + _cupsLangPrintf(stderr, _("lpoptions: Unable to open PPD file for %s."), + dest->name); + return; + } + + ppdMarkDefaults(ppd); + cupsMarkOptions(ppd, dest->num_options, dest->options); + + for (i = ppd->num_groups, group = ppd->groups; i > 0; i --, group ++) + list_group(ppd, group); + + ppdClose(ppd); + unlink(filename); +} + + +/* + * 'usage()' - Show program usage and exit. + */ + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: lpoptions [options] -d destination\n" + " lpoptions [options] [-p destination] [-l]\n" + " lpoptions [options] [-p destination] -o option[=value]\n" + " lpoptions [options] -x destination")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("-d destination Set default destination")); + _cupsLangPuts(stdout, _("-E Encrypt the connection to the server")); + _cupsLangPuts(stdout, _("-h server[:port] Connect to the named server and port")); + _cupsLangPuts(stdout, _("-l Show supported options and values")); + _cupsLangPuts(stdout, _("-o name[=value] Set default option and value")); + _cupsLangPuts(stdout, _("-p destination Specify a destination")); + _cupsLangPuts(stdout, _("-U username Specify the username to use for authentication")); + _cupsLangPuts(stdout, _("-x destination Remove default options for destination")); + + exit(1); +} diff --git a/systemv/lpstat.c b/systemv/lpstat.c new file mode 100644 index 0000000..1d14cb8 --- /dev/null +++ b/systemv/lpstat.c @@ -0,0 +1,2067 @@ +/* + * "lpstat" command for CUPS. + * + * Copyright © 2007-2018 by Apple Inc. + * Copyright © 1997-2006 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include + + +/* + * Local functions... + */ + +static void check_dest(const char *command, const char *name, + int *num_dests, cups_dest_t **dests); +static int match_list(const char *list, const char *name); +static int show_accepting(const char *printers, int num_dests, + cups_dest_t *dests); +static int show_classes(const char *dests); +static void show_default(cups_dest_t *dest); +static int show_devices(const char *printers, int num_dests, + cups_dest_t *dests); +static int show_jobs(const char *dests, const char *users, int long_status, + int ranking, const char *which); +static int show_printers(const char *printers, int num_dests, + cups_dest_t *dests, int long_status); +static void show_scheduler(void); +static void usage(void) _CUPS_NORETURN; + + +/* + * 'main()' - Parse options and show status information. + */ + +int +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + int i, /* Looping var */ + status; /* Exit status */ + char *opt; /* Option pointer */ + int num_dests; /* Number of user destinations */ + cups_dest_t *dests; /* User destinations */ + int long_status; /* Long status report? */ + int ranking; /* Show job ranking? */ + const char *which; /* Which jobs to show? */ + char op; /* Last operation on command-line */ + + + _cupsSetLocale(argv); + + /* + * Parse command-line options... + */ + + num_dests = 0; + dests = NULL; + long_status = 0; + ranking = 0; + status = 0; + which = "not-completed"; + op = 0; + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + usage(); + else if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case 'D' : /* Show description */ + long_status = 1; + break; + + case 'E' : /* Encrypt */ +#ifdef HAVE_SSL + cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); +#else + _cupsLangPrintf(stderr, + _("%s: Sorry, no encryption support."), + argv[0]); +#endif /* HAVE_SSL */ + break; + + case 'H' : /* Show server and port */ + if (cupsServer()[0] == '/') + _cupsLangPuts(stdout, cupsServer()); + else + _cupsLangPrintf(stdout, "%s:%d", cupsServer(), ippPort()); + op = 'H'; + break; + + case 'P' : /* Show paper types */ + op = 'P'; + break; + + case 'R' : /* Show ranking */ + ranking = 1; + break; + + case 'S' : /* Show charsets */ + op = 'S'; + if (!argv[i][2]) + i ++; + break; + + case 'U' : /* Username */ + if (opt[1] != '\0') + { + cupsSetUser(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected username after \"-U\" option."), argv[0]); + usage(); + } + + cupsSetUser(argv[i]); + } + break; + + case 'W' : /* Show which jobs? */ + if (opt[1] != '\0') + { + which = opt + 1; + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" option."), argv[0]); + usage(); + } + + which = argv[i]; + } + + if (strcmp(which, "completed") && strcmp(which, "not-completed") && strcmp(which, "all")) + { + _cupsLangPrintf(stderr, _("%s: Error - need \"completed\", \"not-completed\", or \"all\" after \"-W\" option."), argv[0]); + usage(); + } + break; + + case 'a' : /* Show acceptance status */ + op = 'a'; + + if (opt[1] != '\0') + { + check_dest(argv[0], opt + 1, &num_dests, &dests); + + status |= show_accepting(opt + 1, num_dests, dests); + opt += strlen(opt) - 1; + } + else if ((i + 1) < argc && argv[i + 1][0] != '-') + { + i ++; + + check_dest(argv[0], argv[i], &num_dests, &dests); + + status |= show_accepting(argv[i], num_dests, dests); + } + else + { + if (num_dests <= 1) + { + cupsFreeDests(num_dests, dests); + num_dests = cupsGetDests(&dests); + + if (num_dests == 0 && (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED)) + { + _cupsLangPrintf(stderr, _("%s: Error - add '/version=1.1' to server name."), argv[0]); + return (1); + } + } + + status |= show_accepting(NULL, num_dests, dests); + } + break; + + case 'c' : /* Show classes and members */ + op = 'c'; + + if (opt[1] != '\0') + { + check_dest(argv[0], opt + 1, &num_dests, &dests); + + status |= show_classes(opt + 1); + opt += strlen(opt) - 1; + } + else if ((i + 1) < argc && argv[i + 1][0] != '-') + { + i ++; + + check_dest(argv[0], argv[i], &num_dests, &dests); + + status |= show_classes(argv[i]); + } + else + status |= show_classes(NULL); + break; + + case 'd' : /* Show default destination */ + op = 'd'; + + if (num_dests != 1 || !dests[0].is_default) + { + cupsFreeDests(num_dests, dests); + + dests = cupsGetNamedDest(CUPS_HTTP_DEFAULT, NULL, NULL); + num_dests = dests ? 1 : 0; + + if (num_dests == 0 && + (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED)) + { + _cupsLangPrintf(stderr, _("%s: Error - add '/version=1.1' to server name."), argv[0]); + return (1); + } + } + + show_default(dests); + break; + + case 'e' : /* List destinations */ + { + cups_dest_t *temp = NULL, *dest; + int j, num_temp = cupsGetDests(&temp); + + op = 'e'; + + for (j = num_temp, dest = temp; j > 0; j --, dest ++) + { + if (dest->instance) + printf("%s/%s", dest->name, dest->instance); + else + fputs(dest->name, stdout); + + if (long_status) + { + const char *printer_uri_supported = cupsGetOption("printer-uri-supported", dest->num_options, dest->options); + const char *printer_is_temporary = cupsGetOption("printer-is-temporary", dest->num_options, dest->options); + const char *type = "network"; + + if (printer_is_temporary && !strcmp(printer_is_temporary, "true")) + type = "temporary"; + else if (printer_uri_supported) + type = "permanent"; + + printf(" %s %s %s\n", type, printer_uri_supported ? printer_uri_supported : "none", cupsGetOption("device-uri", dest->num_options, dest->options)); + } + else + putchar('\n'); + } + + cupsFreeDests(num_temp, temp); + } + break; + + case 'f' : /* Show forms */ + op = 'f'; + if (opt[1] != '\0') + { + opt += strlen(opt) - 1; + } + else + { + i ++; + if (i >= argc) + return (1); + } + break; + + case 'h' : /* Connect to host */ + if (opt[1] != '\0') + { + cupsSetServer(opt + 1); + opt += strlen(opt) - 1; + } + else + { + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Error - expected hostname after \"-h\" option."), argv[0]); + return (1); + } + + cupsSetServer(argv[i]); + } + break; + + case 'l' : /* Long status or long job status */ + long_status = 2; + break; + + case 'o' : /* Show jobs by destination */ + op = 'o'; + + if (opt[1]) + { + check_dest(argv[0], opt + 1, &num_dests, &dests); + + status |= show_jobs(opt + 1, NULL, long_status, ranking, which); + opt += strlen(opt) - 1; + } + else if ((i + 1) < argc && argv[i + 1][0] != '-') + { + i ++; + + check_dest(argv[0], argv[i], &num_dests, &dests); + + status |= show_jobs(argv[i], NULL, long_status, ranking, which); + } + else + status |= show_jobs(NULL, NULL, long_status, ranking, which); + break; + + case 'p' : /* Show printers */ + op = 'p'; + + if (opt[1] != '\0') + { + check_dest(argv[0], opt + 1, &num_dests, &dests); + + status |= show_printers(opt + 1, num_dests, dests, + long_status); + opt += strlen(opt) - 1; + } + else if ((i + 1) < argc && argv[i + 1][0] != '-') + { + i ++; + + check_dest(argv[0], argv[i], &num_dests, &dests); + + status |= show_printers(argv[i], num_dests, dests, long_status); + } + else + { + if (num_dests <= 1) + { + cupsFreeDests(num_dests, dests); + num_dests = cupsGetDests(&dests); + + if (num_dests == 0 && + (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED)) + { + _cupsLangPrintf(stderr, _("%s: Error - add '/version=1.1' to server name."), argv[0]); + return (1); + } + } + + status |= show_printers(NULL, num_dests, dests, long_status); + } + break; + + case 'r' : /* Show scheduler status */ + op = 'r'; + + show_scheduler(); + break; + + case 's' : /* Show summary */ + op = 's'; + + if (num_dests <= 1) + { + cupsFreeDests(num_dests, dests); + num_dests = cupsGetDests(&dests); + + if (num_dests == 0 && + (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED)) + { + _cupsLangPrintf(stderr, _("%s: Error - add '/version=1.1' to server name."), argv[0]); + return (1); + } + } + + show_default(cupsGetDest(NULL, NULL, num_dests, dests)); + status |= show_classes(NULL); + status |= show_devices(NULL, num_dests, dests); + break; + + case 't' : /* Show all info */ + op = 't'; + + if (num_dests <= 1) + { + cupsFreeDests(num_dests, dests); + num_dests = cupsGetDests(&dests); + + if (num_dests == 0 && + (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED)) + { + _cupsLangPrintf(stderr, _("%s: Error - add '/version=1.1' to server name."), argv[0]); + return (1); + } + } + + show_scheduler(); + show_default(cupsGetDest(NULL, NULL, num_dests, dests)); + status |= show_classes(NULL); + status |= show_devices(NULL, num_dests, dests); + status |= show_accepting(NULL, num_dests, dests); + status |= show_printers(NULL, num_dests, dests, long_status); + status |= show_jobs(NULL, NULL, long_status, ranking, which); + break; + + case 'u' : /* Show jobs by user */ + op = 'u'; + + if (opt[1] != '\0') + { + status |= show_jobs(NULL, opt + 1, long_status, ranking, which); + opt += strlen(opt) - 1; + } + else if ((i + 1) < argc && argv[i + 1][0] != '-') + { + i ++; + status |= show_jobs(NULL, argv[i], long_status, ranking, which); + } + else + status |= show_jobs(NULL, NULL, long_status, ranking, which); + break; + + case 'v' : /* Show printer devices */ + op = 'v'; + + if (opt[1] != '\0') + { + check_dest(argv[0], opt + 1, &num_dests, &dests); + + status |= show_devices(opt + 1, num_dests, dests); + opt += strlen(opt) - 1; + } + else if ((i + 1) < argc && argv[i + 1][0] != '-') + { + i ++; + + check_dest(argv[0], argv[i], &num_dests, &dests); + + status |= show_devices(argv[i], num_dests, dests); + } + else + { + if (num_dests <= 1) + { + cupsFreeDests(num_dests, dests); + num_dests = cupsGetDests(&dests); + + if (num_dests == 0 && + (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED)) + { + _cupsLangPrintf(stderr, _("%s: Error - add '/version=1.1' to server name."), argv[0]); + return (1); + } + } + + status |= show_devices(NULL, num_dests, dests); + } + break; + + default : + _cupsLangPrintf(stderr, _("%s: Error - unknown option \"%c\"."), argv[0], argv[i][1]); + usage(); + } + } + } + else + { + status |= show_jobs(argv[i], NULL, long_status, ranking, which); + op = 'o'; + } + } + + if (!op) + status |= show_jobs(NULL, cupsUser(), long_status, ranking, which); + + return (status); +} + + +/* + * 'check_dest()' - Verify that the named destination(s) exists. + */ + +static void +check_dest(const char *command, /* I - Command name */ + const char *name, /* I - List of printer/class names */ + int *num_dests, /* IO - Number of destinations */ + cups_dest_t **dests) /* IO - Destinations */ +{ + const char *dptr; /* Pointer into name */ + char *pptr, /* Pointer into printer */ + printer[1024]; /* Current printer/class name */ + + + /* + * Load the destination list as necessary... + */ + + if (*num_dests <= 1) + { + if (*num_dests) + cupsFreeDests(*num_dests, *dests); + + if (strchr(name, ',')) + *num_dests = cupsGetDests(dests); + else + { + strlcpy(printer, name, sizeof(printer)); + if ((pptr = strchr(printer, '/')) != NULL) + *pptr++ = '\0'; + + if ((*dests = cupsGetNamedDest(CUPS_HTTP_DEFAULT, printer, pptr)) == NULL) + { + if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server name."), + command); + else + _cupsLangPrintf(stderr, + _("%s: Invalid destination name in list \"%s\"."), + command, name); + + exit(1); + } + else + { + *num_dests = 1; + return; + } + } + } + + /* + * Scan the name string for printer/class name(s)... + */ + + for (dptr = name; *dptr;) + { + /* + * Skip leading whitespace and commas... + */ + + while (isspace(*dptr & 255) || *dptr == ',') + dptr ++; + + if (!*dptr) + break; + + /* + * Extract a single destination name from the name string... + */ + + for (pptr = printer; !isspace(*dptr & 255) && *dptr != ',' && *dptr;) + { + if ((size_t)(pptr - printer) < (sizeof(printer) - 1)) + *pptr++ = *dptr++; + else + { + _cupsLangPrintf(stderr, + _("%s: Invalid destination name in list \"%s\"."), + command, name); + exit(1); + } + } + + *pptr = '\0'; + + /* + * Check the destination... + */ + + if (!cupsGetDest(printer, NULL, *num_dests, *dests)) + { + if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server name."), + command); + else + _cupsLangPrintf(stderr, + _("%s: Unknown destination \"%s\"."), command, printer); + + exit(1); + } + } +} + + +/* + * 'match_list()' - Match a name from a list of comma or space-separated names. + */ + +static int /* O - 1 on match, 0 on no match */ +match_list(const char *list, /* I - List of names */ + const char *name) /* I - Name to find */ +{ + const char *nameptr; /* Pointer into name */ + + + /* + * An empty list always matches... + */ + + if (!list || !*list) + return (1); + + if (!name) + return (0); + + while (*list) + { + /* + * Skip leading whitespace and commas... + */ + + while (isspace(*list & 255) || *list == ',') + list ++; + + if (!*list) + break; + + /* + * Compare names... + */ + + for (nameptr = name; + *nameptr && *list && tolower(*nameptr & 255) == tolower(*list & 255); + nameptr ++, list ++); + + if (!*nameptr && (!*list || *list == ',' || isspace(*list & 255))) + return (1); + + while (*list && !isspace(*list & 255) && *list != ',') + list ++; + } + + return (0); +} + + +/* + * 'show_accepting()' - Show acceptance status. + */ + +static int /* O - 0 on success, 1 on fail */ +show_accepting(const char *printers, /* I - Destinations */ + int num_dests, /* I - Number of user-defined dests */ + cups_dest_t *dests) /* I - User-defined destinations */ +{ + int i; /* Looping var */ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr; /* Current attribute */ + const char *printer, /* Printer name */ + *message; /* Printer device URI */ + int accepting; /* Accepting requests? */ + time_t ptime; /* Printer state time */ + char printer_state_time[255];/* Printer state time */ + static const char *pattrs[] = /* Attributes we need for printers... */ + { + "printer-name", + "printer-state-change-time", + "printer-state-message", + "printer-is-accepting-jobs" + }; + + + if (printers != NULL && !strcmp(printers, "all")) + printers = NULL; + + /* + * Build a CUPS_GET_PRINTERS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * requested-attributes + * requesting-user-name + */ + + request = ippNewRequest(CUPS_GET_PRINTERS); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", sizeof(pattrs) / sizeof(pattrs[0]), + NULL, pattrs); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + /* + * Do the request and get back a response... + */ + + response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/"); + + if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server name."), + "lpstat"); + ippDelete(response); + return (1); + } + else if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, "lpstat: %s", cupsLastErrorString()); + ippDelete(response); + return (1); + } + + if (response) + { + /* + * Loop through the printers returned in the list and display + * their devices... + */ + + for (attr = response->attrs; attr != NULL; attr = attr->next) + { + /* + * Skip leading attributes until we hit a printer... + */ + + while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) + attr = attr->next; + + if (attr == NULL) + break; + + /* + * Pull the needed attributes from this printer... + */ + + printer = NULL; + message = NULL; + accepting = 1; + ptime = 0; + + while (attr != NULL && attr->group_tag == IPP_TAG_PRINTER) + { + if (!strcmp(attr->name, "printer-name") && + attr->value_tag == IPP_TAG_NAME) + printer = attr->values[0].string.text; + else if (!strcmp(attr->name, "printer-state-change-time") && + attr->value_tag == IPP_TAG_INTEGER) + ptime = (time_t)attr->values[0].integer; + else if (!strcmp(attr->name, "printer-state-message") && + attr->value_tag == IPP_TAG_TEXT) + message = attr->values[0].string.text; + else if (!strcmp(attr->name, "printer-is-accepting-jobs") && + attr->value_tag == IPP_TAG_BOOLEAN) + accepting = attr->values[0].boolean; + + attr = attr->next; + } + + /* + * See if we have everything needed... + */ + + if (printer == NULL) + { + if (attr == NULL) + break; + else + continue; + } + + /* + * Display the printer entry if needed... + */ + + if (match_list(printers, printer)) + { + _cupsStrDate(printer_state_time, sizeof(printer_state_time), ptime); + + if (accepting) + _cupsLangPrintf(stdout, _("%s accepting requests since %s"), + printer, printer_state_time); + else + { + _cupsLangPrintf(stdout, _("%s not accepting requests since %s -"), + printer, printer_state_time); + _cupsLangPrintf(stdout, _("\t%s"), + (message == NULL || !*message) ? + "reason unknown" : message); + } + + for (i = 0; i < num_dests; i ++) + if (!_cups_strcasecmp(dests[i].name, printer) && dests[i].instance) + { + if (accepting) + _cupsLangPrintf(stdout, _("%s/%s accepting requests since %s"), + printer, dests[i].instance, printer_state_time); + else + { + _cupsLangPrintf(stdout, + _("%s/%s not accepting requests since %s -"), + printer, dests[i].instance, printer_state_time); + _cupsLangPrintf(stdout, _("\t%s"), + (message == NULL || !*message) ? + "reason unknown" : message); + } + } + } + + if (attr == NULL) + break; + } + + ippDelete(response); + } + + return (0); +} + + +/* + * 'show_classes()' - Show printer classes. + */ + +static int /* O - 0 on success, 1 on fail */ +show_classes(const char *dests) /* I - Destinations */ +{ + int i; /* Looping var */ + ipp_t *request, /* IPP Request */ + *response, /* IPP Response */ + *response2; /* IPP response from remote server */ + http_t *http2; /* Remote server */ + ipp_attribute_t *attr; /* Current attribute */ + const char *printer, /* Printer class name */ + *printer_uri; /* Printer class URI */ + ipp_attribute_t *members; /* Printer members */ + char method[HTTP_MAX_URI], /* Request method */ + username[HTTP_MAX_URI], /* Username:password */ + server[HTTP_MAX_URI], /* Server name */ + resource[HTTP_MAX_URI]; /* Resource name */ + int port; /* Port number */ + static const char *cattrs[] = /* Attributes we need for classes... */ + { + "printer-name", + "printer-uri-supported", + "member-names" + }; + + + if (dests != NULL && !strcmp(dests, "all")) + dests = NULL; + + /* + * Build a CUPS_GET_CLASSES request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * requested-attributes + * requesting-user-name + */ + + request = ippNewRequest(CUPS_GET_CLASSES); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", sizeof(cattrs) / sizeof(cattrs[0]), + NULL, cattrs); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + /* + * Do the request and get back a response... + */ + + response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/"); + + if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server name."), + "lpstat"); + ippDelete(response); + return (1); + } + else if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, "lpstat: %s", cupsLastErrorString()); + ippDelete(response); + return (1); + } + + if (response) + { + if (response->request.status.status_code > IPP_OK_CONFLICT) + { + _cupsLangPrintf(stderr, "lpstat: %s", cupsLastErrorString()); + ippDelete(response); + return (1); + } + + /* + * Loop through the printers returned in the list and display + * their devices... + */ + + for (attr = response->attrs; attr != NULL; attr = attr->next) + { + /* + * Skip leading attributes until we hit a job... + */ + + while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) + attr = attr->next; + + if (attr == NULL) + break; + + /* + * Pull the needed attributes from this job... + */ + + printer = NULL; + printer_uri = NULL; + members = NULL; + + while (attr != NULL && attr->group_tag == IPP_TAG_PRINTER) + { + if (!strcmp(attr->name, "printer-name") && + attr->value_tag == IPP_TAG_NAME) + printer = attr->values[0].string.text; + + if (!strcmp(attr->name, "printer-uri-supported") && + attr->value_tag == IPP_TAG_URI) + printer_uri = attr->values[0].string.text; + + if (!strcmp(attr->name, "member-names") && + attr->value_tag == IPP_TAG_NAME) + members = attr; + + attr = attr->next; + } + + /* + * If this is a remote class, grab the class info from the + * remote server... + */ + + response2 = NULL; + if (members == NULL && printer_uri != NULL) + { + httpSeparateURI(HTTP_URI_CODING_ALL, printer_uri, method, sizeof(method), + username, sizeof(username), server, sizeof(server), + &port, resource, sizeof(resource)); + + if (!_cups_strcasecmp(server, cupsServer())) + http2 = CUPS_HTTP_DEFAULT; + else + http2 = httpConnectEncrypt(server, port, cupsEncryption()); + + /* + * Build an IPP_GET_PRINTER_ATTRIBUTES request, which requires the + * following attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requested-attributes + */ + + request = ippNewRequest(IPP_GET_PRINTER_ATTRIBUTES); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, printer_uri); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + sizeof(cattrs) / sizeof(cattrs[0]), + NULL, cattrs); + + if ((response2 = cupsDoRequest(http2, request, "/")) != NULL) + members = ippFindAttribute(response2, "member-names", IPP_TAG_NAME); + + if (http2) + httpClose(http2); + } + + /* + * See if we have everything needed... + */ + + if (printer == NULL) + { + if (response2) + ippDelete(response2); + + if (attr == NULL) + break; + else + continue; + } + + /* + * Display the printer entry if needed... + */ + + if (match_list(dests, printer)) + { + _cupsLangPrintf(stdout, _("members of class %s:"), printer); + + if (members) + { + for (i = 0; i < members->num_values; i ++) + _cupsLangPrintf(stdout, "\t%s", members->values[i].string.text); + } + else + _cupsLangPuts(stdout, "\tunknown"); + } + + if (response2) + ippDelete(response2); + + if (attr == NULL) + break; + } + + ippDelete(response); + } + + return (0); +} + + +/* + * 'show_default()' - Show default destination. + */ + +static void +show_default(cups_dest_t *dest) /* I - Default destination */ +{ + const char *printer, /* Printer name */ + *val; /* Environment variable name */ + + + if (dest) + { + if (dest->instance) + _cupsLangPrintf(stdout, _("system default destination: %s/%s"), + dest->name, dest->instance); + else + _cupsLangPrintf(stdout, _("system default destination: %s"), + dest->name); + } + else + { + val = NULL; + + if ((printer = getenv("LPDEST")) == NULL) + { + if ((printer = getenv("PRINTER")) != NULL) + { + if (!strcmp(printer, "lp")) + printer = NULL; + else + val = "PRINTER"; + } + } + else + val = "LPDEST"; + + if (printer) + _cupsLangPrintf(stdout, + _("lpstat: error - %s environment variable names " + "non-existent destination \"%s\"."), + val, printer); + else + _cupsLangPuts(stdout, _("no system default destination")); + } +} + + +/* + * 'show_devices()' - Show printer devices. + */ + +static int /* O - 0 on success, 1 on fail */ +show_devices(const char *printers, /* I - Destinations */ + int num_dests, /* I - Number of user-defined dests */ + cups_dest_t *dests) /* I - User-defined destinations */ +{ + int i; /* Looping var */ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr; /* Current attribute */ + const char *printer, /* Printer name */ + *uri, /* Printer URI */ + *device; /* Printer device URI */ + static const char *pattrs[] = /* Attributes we need for printers... */ + { + "printer-name", + "printer-uri-supported", + "device-uri" + }; + + + if (printers != NULL && !strcmp(printers, "all")) + printers = NULL; + + /* + * Build a CUPS_GET_PRINTERS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * requested-attributes + * requesting-user-name + */ + + request = ippNewRequest(CUPS_GET_PRINTERS); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", sizeof(pattrs) / sizeof(pattrs[0]), + NULL, pattrs); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + /* + * Do the request and get back a response... + */ + + response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/"); + + if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server name."), + "lpstat"); + ippDelete(response); + return (1); + } + else if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, "lpstat: %s", cupsLastErrorString()); + ippDelete(response); + return (1); + } + + if (response) + { + /* + * Loop through the printers returned in the list and display + * their devices... + */ + + for (attr = response->attrs; attr != NULL; attr = attr->next) + { + /* + * Skip leading attributes until we hit a job... + */ + + while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) + attr = attr->next; + + if (attr == NULL) + break; + + /* + * Pull the needed attributes from this job... + */ + + printer = NULL; + device = NULL; + uri = NULL; + + while (attr != NULL && attr->group_tag == IPP_TAG_PRINTER) + { + if (!strcmp(attr->name, "printer-name") && + attr->value_tag == IPP_TAG_NAME) + printer = attr->values[0].string.text; + + if (!strcmp(attr->name, "printer-uri-supported") && + attr->value_tag == IPP_TAG_URI) + uri = attr->values[0].string.text; + + if (!strcmp(attr->name, "device-uri") && + attr->value_tag == IPP_TAG_URI) + device = attr->values[0].string.text; + + attr = attr->next; + } + + /* + * See if we have everything needed... + */ + + if (printer == NULL) + { + if (attr == NULL) + break; + else + continue; + } + + /* + * Display the printer entry if needed... + */ + + if (match_list(printers, printer)) + { + if (device == NULL) + _cupsLangPrintf(stdout, _("device for %s: %s"), + printer, uri); + else if (!strncmp(device, "file:", 5)) + _cupsLangPrintf(stdout, _("device for %s: %s"), + printer, device + 5); + else + _cupsLangPrintf(stdout, _("device for %s: %s"), + printer, device); + + for (i = 0; i < num_dests; i ++) + { + if (!_cups_strcasecmp(printer, dests[i].name) && dests[i].instance) + { + if (device == NULL) + _cupsLangPrintf(stdout, _("device for %s/%s: %s"), + printer, dests[i].instance, uri); + else if (!strncmp(device, "file:", 5)) + _cupsLangPrintf(stdout, _("device for %s/%s: %s"), + printer, dests[i].instance, device + 5); + else + _cupsLangPrintf(stdout, _("device for %s/%s: %s"), + printer, dests[i].instance, device); + } + } + } + + if (attr == NULL) + break; + } + + ippDelete(response); + } + + return (0); +} + + +/* + * 'show_jobs()' - Show active print jobs. + */ + +static int /* O - 0 on success, 1 on fail */ +show_jobs(const char *dests, /* I - Destinations */ + const char *users, /* I - Users */ + int long_status, /* I - Show long status? */ + int ranking, /* I - Show job ranking? */ + const char *which) /* I - Show which jobs? */ +{ + int i; /* Looping var */ + ipp_t *request, /* IPP Request */ + *response; /* IPP Response */ + ipp_attribute_t *attr, /* Current attribute */ + *reasons; /* Job state reasons attribute */ + const char *dest, /* Pointer into job-printer-uri */ + *username, /* Pointer to job-originating-user-name */ + *message, /* Pointer to job-printer-state-message */ + *time_at; /* time-at-xxx attribute name to use */ + int rank, /* Rank in queue */ + jobid, /* job-id */ + size; /* job-k-octets */ + time_t jobtime; /* time-at-creation */ + char temp[255], /* Temporary buffer */ + date[255]; /* Date buffer */ + static const char *jattrs[] = /* Attributes we need for jobs... */ + { + "job-id", + "job-k-octets", + "job-name", + "job-originating-user-name", + "job-printer-state-message", + "job-printer-uri", + "job-state-reasons", + "time-at-creation", + "time-at-completed" + }; + + + if (dests != NULL && !strcmp(dests, "all")) + dests = NULL; + + /* + * Build a IPP_GET_JOBS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * requested-attributes + * requesting-user-name + * which-jobs + */ + + request = ippNewRequest(IPP_GET_JOBS); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", + NULL, "ipp://localhost/"); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", sizeof(jattrs) / sizeof(jattrs[0]), + NULL, jattrs); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "which-jobs", + NULL, which); + + /* + * Do the request and get back a response... + */ + + response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/"); + + if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server name."), + "lpstat"); + ippDelete(response); + return (1); + } + else if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, "lpstat: %s", cupsLastErrorString()); + ippDelete(response); + return (1); + } + + if (response) + { + /* + * Loop through the job list and display them... + */ + + if (!strcmp(which, "aborted") || + !strcmp(which, "canceled") || + !strcmp(which, "completed")) + time_at = "time-at-completed"; + else + time_at = "time-at-creation"; + + rank = -1; + + for (attr = response->attrs; attr != NULL; attr = attr->next) + { + /* + * Skip leading attributes until we hit a job... + */ + + while (attr != NULL && attr->group_tag != IPP_TAG_JOB) + attr = attr->next; + + if (attr == NULL) + break; + + /* + * Pull the needed attributes from this job... + */ + + jobid = 0; + size = 0; + username = NULL; + dest = NULL; + jobtime = 0; + message = NULL; + reasons = NULL; + + while (attr != NULL && attr->group_tag == IPP_TAG_JOB) + { + if (!strcmp(attr->name, "job-id") && + attr->value_tag == IPP_TAG_INTEGER) + jobid = attr->values[0].integer; + else if (!strcmp(attr->name, "job-k-octets") && + attr->value_tag == IPP_TAG_INTEGER) + size = attr->values[0].integer; + else if (!strcmp(attr->name, time_at) && attr->value_tag == IPP_TAG_INTEGER) + jobtime = attr->values[0].integer; + else if (!strcmp(attr->name, "job-printer-state-message") && + attr->value_tag == IPP_TAG_TEXT) + message = attr->values[0].string.text; + else if (!strcmp(attr->name, "job-printer-uri") && + attr->value_tag == IPP_TAG_URI) + { + if ((dest = strrchr(attr->values[0].string.text, '/')) != NULL) + dest ++; + } + else if (!strcmp(attr->name, "job-originating-user-name") && + attr->value_tag == IPP_TAG_NAME) + username = attr->values[0].string.text; + else if (!strcmp(attr->name, "job-state-reasons") && + attr->value_tag == IPP_TAG_KEYWORD) + reasons = attr; + + attr = attr->next; + } + + /* + * See if we have everything needed... + */ + + if (dest == NULL || jobid == 0) + { + if (attr == NULL) + break; + else + continue; + } + + /* + * Display the job... + */ + + rank ++; + + if (match_list(dests, dest) && match_list(users, username)) + { + snprintf(temp, sizeof(temp), "%s-%d", dest, jobid); + + _cupsStrDate(date, sizeof(date), jobtime); + + if (ranking) + _cupsLangPrintf(stdout, "%3d %-21s %-13s %8.0f %s", + rank, temp, username ? username : "unknown", + 1024.0 * size, date); + else + _cupsLangPrintf(stdout, "%-23s %-13s %8.0f %s", + temp, username ? username : "unknown", + 1024.0 * size, date); + if (long_status) + { + if (message) + _cupsLangPrintf(stdout, _("\tStatus: %s"), message); + + if (reasons) + { + char alerts[1024], /* Alerts string */ + *aptr; /* Pointer into alerts string */ + + for (i = 0, aptr = alerts; i < reasons->num_values; i ++) + { + if (i) + snprintf(aptr, sizeof(alerts) - (size_t)(aptr - alerts), " %s", reasons->values[i].string.text); + else + strlcpy(alerts, reasons->values[i].string.text, sizeof(alerts)); + + aptr += strlen(aptr); + } + + _cupsLangPrintf(stdout, _("\tAlerts: %s"), alerts); + } + + _cupsLangPrintf(stdout, _("\tqueued for %s"), dest); + } + } + + if (attr == NULL) + break; + } + + ippDelete(response); + } + + return (0); +} + + +/* + * 'show_printers()' - Show printers. + */ + +static int /* O - 0 on success, 1 on fail */ +show_printers(const char *printers, /* I - Destinations */ + int num_dests, /* I - Number of user-defined dests */ + cups_dest_t *dests, /* I - User-defined destinations */ + int long_status) /* I - Show long status? */ +{ + int i, j; /* Looping vars */ + ipp_t *request, /* IPP Request */ + *response, /* IPP Response */ + *jobs; /* IPP Get Jobs response */ + ipp_attribute_t *attr, /* Current attribute */ + *jobattr, /* Job ID attribute */ + *reasons; /* Job state reasons attribute */ + const char *printer, /* Printer name */ + *message, /* Printer state message */ + *description, /* Description of printer */ + *location, /* Location of printer */ + *make_model, /* Make and model of printer */ + *uri; /* URI of printer */ + ipp_attribute_t *allowed, /* requesting-user-name-allowed */ + *denied; /* requestint-user-name-denied */ + ipp_pstate_t pstate; /* Printer state */ + cups_ptype_t ptype; /* Printer type */ + time_t ptime; /* Printer state time */ + int jobid; /* Job ID of current job */ + char printer_uri[HTTP_MAX_URI], + /* Printer URI */ + printer_state_time[255];/* Printer state time */ + _cups_globals_t *cg = _cupsGlobals(); /* Global data */ + static const char *pattrs[] = /* Attributes we need for printers... */ + { + "printer-name", + "printer-state", + "printer-state-message", + "printer-state-reasons", + "printer-state-change-time", + "printer-type", + "printer-info", + "printer-location", + "printer-make-and-model", + "printer-uri-supported", + "requesting-user-name-allowed", + "requesting-user-name-denied" + }; + static const char *jattrs[] = /* Attributes we need for jobs... */ + { + "job-id", + "job-state" + }; + + + if (printers != NULL && !strcmp(printers, "all")) + printers = NULL; + + /* + * Build a CUPS_GET_PRINTERS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * requested-attributes + * requesting-user-name + */ + + request = ippNewRequest(CUPS_GET_PRINTERS); + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", sizeof(pattrs) / sizeof(pattrs[0]), + NULL, pattrs); + + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", + NULL, cupsUser()); + + /* + * Do the request and get back a response... + */ + + response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/"); + + if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST || + cupsLastError() == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED) + { + _cupsLangPrintf(stderr, + _("%s: Error - add '/version=1.1' to server name."), + "lpstat"); + ippDelete(response); + return (1); + } + else if (cupsLastError() > IPP_STATUS_OK_CONFLICTING) + { + _cupsLangPrintf(stderr, "lpstat: %s", cupsLastErrorString()); + ippDelete(response); + return (1); + } + + if (response) + { + /* + * Loop through the printers returned in the list and display + * their status... + */ + + for (attr = response->attrs; attr != NULL; attr = attr->next) + { + /* + * Skip leading attributes until we hit a job... + */ + + while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) + attr = attr->next; + + if (attr == NULL) + break; + + /* + * Pull the needed attributes from this job... + */ + + printer = NULL; + ptime = 0; + ptype = CUPS_PRINTER_LOCAL; + pstate = IPP_PRINTER_IDLE; + message = NULL; + description = NULL; + location = NULL; + make_model = NULL; + reasons = NULL; + uri = NULL; + jobid = 0; + allowed = NULL; + denied = NULL; + + while (attr != NULL && attr->group_tag == IPP_TAG_PRINTER) + { + if (!strcmp(attr->name, "printer-name") && + attr->value_tag == IPP_TAG_NAME) + printer = attr->values[0].string.text; + else if (!strcmp(attr->name, "printer-state") && + attr->value_tag == IPP_TAG_ENUM) + pstate = (ipp_pstate_t)attr->values[0].integer; + else if (!strcmp(attr->name, "printer-type") && + attr->value_tag == IPP_TAG_ENUM) + ptype = (cups_ptype_t)attr->values[0].integer; + else if (!strcmp(attr->name, "printer-state-message") && + attr->value_tag == IPP_TAG_TEXT) + message = attr->values[0].string.text; + else if (!strcmp(attr->name, "printer-state-change-time") && + attr->value_tag == IPP_TAG_INTEGER) + ptime = (time_t)attr->values[0].integer; + else if (!strcmp(attr->name, "printer-info") && + attr->value_tag == IPP_TAG_TEXT) + description = attr->values[0].string.text; + else if (!strcmp(attr->name, "printer-location") && + attr->value_tag == IPP_TAG_TEXT) + location = attr->values[0].string.text; + else if (!strcmp(attr->name, "printer-make-and-model") && + attr->value_tag == IPP_TAG_TEXT) + make_model = attr->values[0].string.text; + else if (!strcmp(attr->name, "printer-uri-supported") && + attr->value_tag == IPP_TAG_URI) + uri = attr->values[0].string.text; + else if (!strcmp(attr->name, "printer-state-reasons") && + attr->value_tag == IPP_TAG_KEYWORD) + reasons = attr; + else if (!strcmp(attr->name, "requesting-user-name-allowed") && + attr->value_tag == IPP_TAG_NAME) + allowed = attr; + else if (!strcmp(attr->name, "requesting-user-name-denied") && + attr->value_tag == IPP_TAG_NAME) + denied = attr; + + attr = attr->next; + } + + /* + * See if we have everything needed... + */ + + if (printer == NULL) + { + if (attr == NULL) + break; + else + continue; + } + + /* + * Display the printer entry if needed... + */ + + if (match_list(printers, printer)) + { + /* + * If the printer state is "IPP_PRINTER_PROCESSING", then grab the + * current job for the printer. + */ + + if (pstate == IPP_PRINTER_PROCESSING) + { + /* + * Build an IPP_GET_JOBS request, which requires the following + * attributes: + * + * attributes-charset + * attributes-natural-language + * printer-uri + * limit + * requested-attributes + */ + + request = ippNewRequest(IPP_GET_JOBS); + + request->request.op.operation_id = IPP_GET_JOBS; + request->request.op.request_id = 1; + + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + sizeof(jattrs) / sizeof(jattrs[0]), NULL, jattrs); + + httpAssembleURIf(HTTP_URI_CODING_ALL, printer_uri, sizeof(printer_uri), + "ipp", NULL, "localhost", 0, "/printers/%s", printer); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, + "printer-uri", NULL, printer_uri); + + if ((jobs = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/")) != NULL) + { + /* + * Get the current active job on this queue... + */ + + ipp_jstate_t jobstate = IPP_JOB_PENDING; + jobid = 0; + + for (jobattr = jobs->attrs; jobattr; jobattr = jobattr->next) + { + if (!jobattr->name) + { + if (jobstate == IPP_JOB_PROCESSING) + break; + else + continue; + } + + if (!strcmp(jobattr->name, "job-id") && + jobattr->value_tag == IPP_TAG_INTEGER) + jobid = jobattr->values[0].integer; + else if (!strcmp(jobattr->name, "job-state") && + jobattr->value_tag == IPP_TAG_ENUM) + jobstate = (ipp_jstate_t)jobattr->values[0].integer; + } + + if (jobstate != IPP_JOB_PROCESSING) + jobid = 0; + + ippDelete(jobs); + } + } + + /* + * Display it... + */ + + _cupsStrDate(printer_state_time, sizeof(printer_state_time), ptime); + + switch (pstate) + { + case IPP_PRINTER_IDLE : + if (ippContainsString(reasons, "hold-new-jobs")) + _cupsLangPrintf(stdout, _("printer %s is holding new jobs. enabled since %s"), printer, printer_state_time); + else + _cupsLangPrintf(stdout, _("printer %s is idle. enabled since %s"), printer, printer_state_time); + break; + case IPP_PRINTER_PROCESSING : + _cupsLangPrintf(stdout, _("printer %s now printing %s-%d. enabled since %s"), printer, printer, jobid, printer_state_time); + break; + case IPP_PRINTER_STOPPED : + _cupsLangPrintf(stdout, _("printer %s disabled since %s -"), printer, printer_state_time); + break; + } + + if ((message && *message) || pstate == IPP_PRINTER_STOPPED) + { + if (!message || !*message) + _cupsLangPuts(stdout, _("\treason unknown")); + else + _cupsLangPrintf(stdout, "\t%s", message); + } + + if (long_status > 1) + { + _cupsLangPuts(stdout, _("\tForm mounted:")); + _cupsLangPuts(stdout, _("\tContent types: any")); + _cupsLangPuts(stdout, _("\tPrinter types: unknown")); + } + + if (long_status) + { + _cupsLangPrintf(stdout, _("\tDescription: %s"), + description ? description : ""); + + if (reasons) + { + char alerts[1024], /* Alerts string */ + *aptr; /* Pointer into alerts string */ + + for (i = 0, aptr = alerts; i < reasons->num_values; i ++) + { + if (i) + snprintf(aptr, sizeof(alerts) - (size_t)(aptr - alerts), " %s", reasons->values[i].string.text); + else + strlcpy(alerts, reasons->values[i].string.text, sizeof(alerts)); + + aptr += strlen(aptr); + } + + _cupsLangPrintf(stdout, _("\tAlerts: %s"), alerts); + } + } + if (long_status > 1) + { + _cupsLangPrintf(stdout, _("\tLocation: %s"), + location ? location : ""); + + if (ptype & CUPS_PRINTER_REMOTE) + { + _cupsLangPuts(stdout, _("\tConnection: remote")); + + if (make_model && !strstr(make_model, "System V Printer") && + !strstr(make_model, "Raw Printer") && uri) + _cupsLangPrintf(stdout, _("\tInterface: %s.ppd"), + uri); + } + else + { + _cupsLangPuts(stdout, _("\tConnection: direct")); + + if (make_model && !strstr(make_model, "Raw Printer")) + _cupsLangPrintf(stdout, + _("\tInterface: %s/ppd/%s.ppd"), + cg->cups_serverroot, printer); + } + _cupsLangPuts(stdout, _("\tOn fault: no alert")); + _cupsLangPuts(stdout, _("\tAfter fault: continue")); + /* TODO update to use printer-error-policy */ + if (allowed) + { + _cupsLangPuts(stdout, _("\tUsers allowed:")); + for (j = 0; j < allowed->num_values; j ++) + _cupsLangPrintf(stdout, "\t\t%s", + allowed->values[j].string.text); + } + else if (denied) + { + _cupsLangPuts(stdout, _("\tUsers denied:")); + for (j = 0; j < denied->num_values; j ++) + _cupsLangPrintf(stdout, "\t\t%s", + denied->values[j].string.text); + } + else + { + _cupsLangPuts(stdout, _("\tUsers allowed:")); + _cupsLangPuts(stdout, _("\t\t(all)")); + } + _cupsLangPuts(stdout, _("\tForms allowed:")); + _cupsLangPuts(stdout, _("\t\t(none)")); + _cupsLangPuts(stdout, _("\tBanner required")); + _cupsLangPuts(stdout, _("\tCharset sets:")); + _cupsLangPuts(stdout, _("\t\t(none)")); + _cupsLangPuts(stdout, _("\tDefault pitch:")); + _cupsLangPuts(stdout, _("\tDefault page size:")); + _cupsLangPuts(stdout, _("\tDefault port settings:")); + } + + for (i = 0; i < num_dests; i ++) + if (!_cups_strcasecmp(printer, dests[i].name) && dests[i].instance) + { + switch (pstate) + { + case IPP_PRINTER_IDLE : + _cupsLangPrintf(stdout, + _("printer %s/%s is idle. " + "enabled since %s"), + printer, dests[i].instance, + printer_state_time); + break; + case IPP_PRINTER_PROCESSING : + _cupsLangPrintf(stdout, + _("printer %s/%s now printing %s-%d. " + "enabled since %s"), + printer, dests[i].instance, printer, jobid, + printer_state_time); + break; + case IPP_PRINTER_STOPPED : + _cupsLangPrintf(stdout, + _("printer %s/%s disabled since %s -"), + printer, dests[i].instance, + printer_state_time); + break; + } + + if ((message && *message) || pstate == IPP_PRINTER_STOPPED) + { + if (!message || !*message) + _cupsLangPuts(stdout, _("\treason unknown")); + else + _cupsLangPrintf(stdout, "\t%s", message); + } + + if (long_status > 1) + { + _cupsLangPuts(stdout, _("\tForm mounted:")); + _cupsLangPuts(stdout, _("\tContent types: any")); + _cupsLangPuts(stdout, _("\tPrinter types: unknown")); + } + + if (long_status) + { + _cupsLangPrintf(stdout, _("\tDescription: %s"), + description ? description : ""); + + if (reasons) + { + char alerts[1024], /* Alerts string */ + *aptr; /* Pointer into alerts string */ + + for (i = 0, aptr = alerts; i < reasons->num_values; i ++) + { + if (i) + snprintf(aptr, sizeof(alerts) - (size_t)(aptr - alerts), " %s", reasons->values[i].string.text); + else + strlcpy(alerts, reasons->values[i].string.text, sizeof(alerts)); + + aptr += strlen(aptr); + } + + _cupsLangPrintf(stdout, _("\tAlerts: %s"), alerts); + } + } + if (long_status > 1) + { + _cupsLangPrintf(stdout, _("\tLocation: %s"), + location ? location : ""); + + if (ptype & CUPS_PRINTER_REMOTE) + { + _cupsLangPuts(stdout, _("\tConnection: remote")); + + if (make_model && !strstr(make_model, "System V Printer") && + !strstr(make_model, "Raw Printer") && uri) + _cupsLangPrintf(stdout, _("\tInterface: %s.ppd"), uri); + } + else + { + _cupsLangPuts(stdout, _("\tConnection: direct")); + + if (make_model && !strstr(make_model, "Raw Printer")) + _cupsLangPrintf(stdout, + _("\tInterface: %s/ppd/%s.ppd"), + cg->cups_serverroot, printer); + } + _cupsLangPuts(stdout, _("\tOn fault: no alert")); + _cupsLangPuts(stdout, _("\tAfter fault: continue")); + /* TODO update to use printer-error-policy */ + if (allowed) + { + _cupsLangPuts(stdout, _("\tUsers allowed:")); + for (j = 0; j < allowed->num_values; j ++) + _cupsLangPrintf(stdout, "\t\t%s", + allowed->values[j].string.text); + } + else if (denied) + { + _cupsLangPuts(stdout, _("\tUsers denied:")); + for (j = 0; j < denied->num_values; j ++) + _cupsLangPrintf(stdout, "\t\t%s", + denied->values[j].string.text); + } + else + { + _cupsLangPuts(stdout, _("\tUsers allowed:")); + _cupsLangPuts(stdout, _("\t\t(all)")); + } + _cupsLangPuts(stdout, _("\tForms allowed:")); + _cupsLangPuts(stdout, _("\t\t(none)")); + _cupsLangPuts(stdout, _("\tBanner required")); + _cupsLangPuts(stdout, _("\tCharset sets:")); + _cupsLangPuts(stdout, _("\t\t(none)")); + _cupsLangPuts(stdout, _("\tDefault pitch:")); + _cupsLangPuts(stdout, _("\tDefault page size:")); + _cupsLangPuts(stdout, _("\tDefault port settings:")); + } + } + } + + if (attr == NULL) + break; + } + + ippDelete(response); + } + + return (0); +} + + +/* + * 'show_scheduler()' - Show scheduler status. + */ + +static void +show_scheduler(void) +{ + http_t *http; /* Connection to server */ + + + if ((http = httpConnectEncrypt(cupsServer(), ippPort(), + cupsEncryption())) != NULL) + { + _cupsLangPuts(stdout, _("scheduler is running")); + httpClose(http); + } + else + _cupsLangPuts(stdout, _("scheduler is not running")); +} + + +/* + * 'usage()' - Show program usage and exit. + */ + +static void +usage(void) +{ + _cupsLangPuts(stdout, _("Usage: lpstat [options]")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("-E Encrypt the connection to the server")); + _cupsLangPuts(stdout, _("-h server[:port] Connect to the named server and port")); + _cupsLangPuts(stdout, _("-l Show verbose (long) output")); + _cupsLangPuts(stdout, _("-U username Specify the username to use for authentication")); + + _cupsLangPuts(stdout, _("-H Show the default server and port")); + _cupsLangPuts(stdout, _("-W completed Show completed jobs")); + _cupsLangPuts(stdout, _("-W not-completed Show pending jobs")); + _cupsLangPuts(stdout, _("-a [destination(s)] Show the accepting state of destinations")); + _cupsLangPuts(stdout, _("-c [class(es)] Show classes and their member printers")); + _cupsLangPuts(stdout, _("-d Show the default destination")); + _cupsLangPuts(stdout, _("-e Show available destinations on the network")); + _cupsLangPuts(stdout, _("-o [destination(s)] Show jobs")); + _cupsLangPuts(stdout, _("-p [printer(s)] Show the processing state of destinations")); + _cupsLangPuts(stdout, _("-r Show whether the CUPS server is running")); + _cupsLangPuts(stdout, _("-R Show the ranking of jobs")); + _cupsLangPuts(stdout, _("-s Show a status summary")); + _cupsLangPuts(stdout, _("-t Show all status information")); + _cupsLangPuts(stdout, _("-u [user(s)] Show jobs queued by the current or specified users")); + _cupsLangPuts(stdout, _("-v [printer(s)] Show the devices for each destination")); + + exit(1); +} diff --git a/templates/Makefile b/templates/Makefile new file mode 100644 index 0000000..59720bd --- /dev/null +++ b/templates/Makefile @@ -0,0 +1,190 @@ +# +# Template makefile for CUPS. +# +# Copyright 2007-2017 by Apple Inc. +# Copyright 1993-2007 by Easy Software Products. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more information. +# + +include ../Makedefs + +# +# Template files... +# + +FILES = \ + add-class.tmpl \ + add-printer.tmpl \ + admin.tmpl \ + choose-device.tmpl \ + choose-make.tmpl \ + choose-model.tmpl \ + choose-serial.tmpl \ + choose-uri.tmpl \ + class.tmpl \ + class-added.tmpl \ + class-confirm.tmpl \ + class-deleted.tmpl \ + class-jobs-header.tmpl \ + class-modified.tmpl \ + classes.tmpl \ + classes-header.tmpl \ + command.tmpl \ + edit-config.tmpl \ + error.tmpl \ + error-op.tmpl \ + header.tmpl \ + help-header.tmpl \ + help-trailer.tmpl \ + help-printable.tmpl \ + job-cancel.tmpl \ + job-hold.tmpl \ + job-move.tmpl \ + job-moved.tmpl \ + job-release.tmpl \ + job-restart.tmpl \ + jobs.tmpl \ + jobs-header.tmpl \ + list-available-printers.tmpl \ + modify-class.tmpl \ + modify-printer.tmpl \ + norestart.tmpl \ + option-boolean.tmpl \ + option-conflict.tmpl \ + option-header.tmpl \ + option-pickmany.tmpl \ + option-pickone.tmpl \ + option-trailer.tmpl \ + pager.tmpl \ + printer.tmpl \ + printer-accept.tmpl \ + printer-added.tmpl \ + printer-cancel-jobs.tmpl \ + printer-configured.tmpl \ + printer-confirm.tmpl \ + printer-default.tmpl \ + printer-deleted.tmpl \ + printer-jobs-header.tmpl \ + printer-modified.tmpl \ + printer-reject.tmpl \ + printer-start.tmpl \ + printer-stop.tmpl \ + printers.tmpl \ + printers-header.tmpl \ + restart.tmpl \ + samba-export.tmpl \ + samba-exported.tmpl \ + search.tmpl \ + set-printer-options-header.tmpl \ + set-printer-options-trailer.tmpl \ + test-page.tmpl \ + trailer.tmpl \ + users.tmpl + + +# +# Make everything... +# + +all: + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Clean all config and object files... +# + +clean: + + +# +# Dummy depend... +# + +depend: + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: $(INSTALL_LANGUAGES) + $(INSTALL_DIR) -m 755 $(DATADIR)/templates + for file in $(FILES); do \ + $(INSTALL_DATA) $$file $(DATADIR)/templates; \ + done + +install-languages: + for lang in $(LANGUAGES); do \ + if test -d $$lang; then \ + $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \ + for file in $(FILES); do \ + $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang >/dev/null 2>&1 || true; \ + done \ + fi \ + done + +install-langbundle: + + +# +# Install programs... +# + +install-exec: + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Uninstall files... +# + +uninstall: $(UNINSTALL_LANGUAGES) + for file in $(FILES); do \ + $(RM) $(DATADIR)/templates/$$file; \ + done + -$(RMDIR) $(DATADIR)/templates + +uninstall-languages: + for lang in $(LANGUAGES); do \ + for file in $(FILES); do \ + $(RM) $(DATADIR)/templates/$$lang/$$file; \ + done \ + $(RMDIR) $(DATADIR)/templates/$$lang; \ + done + +uninstall-langbundle: diff --git a/templates/add-class.tmpl b/templates/add-class.tmpl new file mode 100644 index 0000000..3deaf26 --- /dev/null +++ b/templates/add-class.tmpl @@ -0,0 +1,37 @@ +

    Add Class

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Name:
    +(May contain any printable characters except "/", "#", and space)
    Description:
    +(Human-readable description such as "HP LaserJet with Duplexer")
    Location:
    +(Human-readable location such as "Lab 1")
    Members: + +
    + +
    diff --git a/templates/add-printer.tmpl b/templates/add-printer.tmpl new file mode 100644 index 0000000..339fe66 --- /dev/null +++ b/templates/add-printer.tmpl @@ -0,0 +1,44 @@ +

    Add Printer

    + +
    + + + + + + +{?current_make!?:} +{?current_make_and_model!?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Name:
    +(May contain any printable characters except "/", "#", and space)
    Description:
    +(Human-readable description such as "HP LaserJet with Duplexer")
    Location:
    +(Human-readable location such as "Lab 1")
    Connection:{device_uri}
    Sharing: +
    + +
    diff --git a/templates/admin.tmpl b/templates/admin.tmpl new file mode 100644 index 0000000..b8f5287 --- /dev/null +++ b/templates/admin.tmpl @@ -0,0 +1,77 @@ +
    +
    +

    Printers

    + +

    +

    +
    +
    +

    + +

    Classes

    + +

    +

    +
    +

    + +

    Jobs

    + +

    +

    +

    +
    +
    +

    Server

    + +

    +

    +

    + + {SETTINGS_ERROR?

    {SETTINGS_MESSAGE}

    +
    {SETTINGS_ERROR}
    : + +
    + + + {ADVANCEDSETTINGS?

    Server Settings\:

    + +

    Advanced
    + + +
    +         Max clients\: +
    +         
    +         
    +
    + {have_gssapi?
    :} +
    +
    +         Maximum jobs (0 for no limit)\: +
    +         Retain Metadata\: +
    +         Retain Documents\: +
    +
    +         Max log file size\: +

    + + :

    Server Settings:

    + +

    Advanced
    + +
    +         
    +
    + {have_gssapi?
    :} +
    +

    + + } +

    + +
    } +
    +
    diff --git a/templates/choose-device.tmpl b/templates/choose-device.tmpl new file mode 100644 index 0000000..27c8726 --- /dev/null +++ b/templates/choose-device.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?Modify {printer_name}:Add Printer}

    + +{CUPS_GET_DEVICES_DONE?
    + + +{printer_name?:} + + +{op=add-printer?: + + +} + + + + + + + + + + + + + + + + + +
    Current Connection\: +
    Local Printers\: +{[device_uri]{device_class!network? +
    +:}} +
    Discovered Network Printers\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://? +
    +:}:}} +
    Other Network Printers\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://?: +
    +}:}} +
    + +
    :

    Looking for printers...

    } diff --git a/templates/choose-make.tmpl b/templates/choose-make.tmpl new file mode 100644 index 0000000..a5c80aa --- /dev/null +++ b/templates/choose-make.tmpl @@ -0,0 +1,61 @@ +

    {op=modify-printer?Modify {printer_name}:Add Printer}

    + +
    + + +{printer_name?:} + + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Name:{printer_name}
    Description:{printer_info}
    Location:{printer_location}
    Connection:{device_uri}
    Sharing: +{?printer_is_shared=?Do Not:{?printer_is_shared=0?Do Not:}} Share This Printer
    Make: + +
     
    Or Provide a PPD File:
    + +
    diff --git a/templates/choose-model.tmpl b/templates/choose-model.tmpl new file mode 100644 index 0000000..e916cf8 --- /dev/null +++ b/templates/choose-model.tmpl @@ -0,0 +1,58 @@ +

    {op=modify-printer?Modify {printer_name}:Add Printer}

    + +
    + + +{printer_name?:} + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Name:{printer_name}
    Description:{printer_info}
    Location:{printer_location}
    Connection:{device_uri}
    Sharing: +{?printer_is_shared=?Do Not:{?printer_is_shared=0?Do Not:}} Share This Printer
    Make:{PPD_MAKE}
    Model: + +
    Or Provide a PPD File:
    + +
    diff --git a/templates/choose-serial.tmpl b/templates/choose-serial.tmpl new file mode 100644 index 0000000..89a5eaf --- /dev/null +++ b/templates/choose-serial.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?Modify {printer_name}:Add Printer}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Connection:{device_uri}
    Baud Rate:
    Parity:
    Data Bits:
    Flow Control:
    + +
    diff --git a/templates/choose-uri.tmpl b/templates/choose-uri.tmpl new file mode 100644 index 0000000..0c7f454 --- /dev/null +++ b/templates/choose-uri.tmpl @@ -0,0 +1,41 @@ +

    {op=modify-printer?Modify {printer_name}:Add Printer}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + +
    Connection:
    Examples: +
    +    http://hostname:631/ipp/
    +    http://hostname:631/ipp/port1
    +
    +    ipp://hostname/ipp/
    +    ipp://hostname/ipp/port1
    +
    +    lpd://hostname/queue
    +
    +    socket://hostname
    +    socket://hostname:9100
    +
    + +

    See "Network +Printers" for the correct URI to use with your printer.

    + +
    + +
    diff --git a/templates/class-added.tmpl b/templates/class-added.tmpl new file mode 100644 index 0000000..6afd302 --- /dev/null +++ b/templates/class-added.tmpl @@ -0,0 +1,4 @@ +

    Add Class

    + +

    Class {printer_name} has been added +successfully. diff --git a/templates/class-confirm.tmpl b/templates/class-confirm.tmpl new file mode 100644 index 0000000..e564379 --- /dev/null +++ b/templates/class-confirm.tmpl @@ -0,0 +1,6 @@ +

    Delete Class {printer_name}

    + +

    Warning: Are you sure you want to delete class +{printer_name}?

    + +

    diff --git a/templates/class-deleted.tmpl b/templates/class-deleted.tmpl new file mode 100644 index 0000000..6c44468 --- /dev/null +++ b/templates/class-deleted.tmpl @@ -0,0 +1,3 @@ +

    Delete Class {printer_name}

    + +

    Class {printer_name} has been deleted successfully. diff --git a/templates/class-jobs-header.tmpl b/templates/class-jobs-header.tmpl new file mode 100644 index 0000000..61e5151 --- /dev/null +++ b/templates/class-jobs-header.tmpl @@ -0,0 +1 @@ +

    Jobs

    diff --git a/templates/class-modified.tmpl b/templates/class-modified.tmpl new file mode 100644 index 0000000..02b9895 --- /dev/null +++ b/templates/class-modified.tmpl @@ -0,0 +1,4 @@ +

    Modify Class {printer_name}

    + +

    Class {printer_name} has been +modified successfully. diff --git a/templates/class.tmpl b/templates/class.tmpl new file mode 100644 index 0000000..0afb0d3 --- /dev/null +++ b/templates/class.tmpl @@ -0,0 +1,41 @@ +

    {printer_name} +({printer_state=3?Idle:{printer_state=4?Processing:Paused}}, +{printer_is_accepting_jobs=0?Rejecting Jobs:Accepting Jobs}, +{server_is_sharing_printers=0?Not:{printer_is_shared=0?Not:}} Shared{default_name={printer_name}?, Server Default:})

    + +
    + + + +
    + +
    + + + + + +
    + + + + + + +
    Description:{printer_info}
    Location:{printer_location}
    Members:{?member_uris=?None:{member_uris}}
    Defaults:job-sheets={job_sheets_default} +media={media_default?{media_default}:unknown} +{sides_default?sides={sides_default}:}
    diff --git a/templates/classes-header.tmpl b/templates/classes-header.tmpl new file mode 100644 index 0000000..7ac98fb --- /dev/null +++ b/templates/classes-header.tmpl @@ -0,0 +1 @@ +

    {total=0?No classes:Showing {#printer_name} of {total} class{total=1?:es}}.

    diff --git a/templates/classes.tmpl b/templates/classes.tmpl new file mode 100644 index 0000000..d19f433 --- /dev/null +++ b/templates/classes.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    Queue NameDescriptionLocationMembersStatus
    {printer_name}{printer_info}{printer_location}{?member_uris=?None:{member_uris}}{printer_state=3?Idle:{printer_state=4?Processing:Paused}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/command.tmpl b/templates/command.tmpl new file mode 100644 index 0000000..a8dc6ff --- /dev/null +++ b/templates/command.tmpl @@ -0,0 +1,8 @@ +

    {title} On {printer_name}

    + +

    {job_state>5?:Busy Indicator }Printer command job +{job_state=3?pending:{job_state=4?held: +{job_state=5?processing:{job_state=6?stopped: +{job_state=7?canceled:{job_state=8?aborted:completed}}}}}}{job_state=9?:{job_printer_state_message?, +"{job_printer_state_message}":}}

    diff --git a/templates/da/add-class.tmpl b/templates/da/add-class.tmpl new file mode 100644 index 0000000..c27a680 --- /dev/null +++ b/templates/da/add-class.tmpl @@ -0,0 +1,37 @@ +

    Tilføj klasse

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Navn:
    +(må indeholde alle tegn der kan udskrives, undtagen "/", "#" og mellemrum)
    Beskrivelse:
    +(beskrivelse der kan læses af mennesker, såsom "HP LaserJet med Duplexer")
    Placering:
    +(placering der kan læses af mennesker, såsom "Rum 1")
    Medlemmer: + +
    + +
    diff --git a/templates/da/add-printer.tmpl b/templates/da/add-printer.tmpl new file mode 100644 index 0000000..ed20667 --- /dev/null +++ b/templates/da/add-printer.tmpl @@ -0,0 +1,44 @@ +

    Tilføj printer

    + +
    + + + + + + +{?current_make!?:} +{?current_make_and_model!?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Navn:
    +(må indeholde alle tegn der kan udskrives, undtagen "/", "#" og mellemrum)
    Beskrivelse:
    +(beskrivelse der kan læses af mennesker, såsom "HP LaserJet med Duplexer")
    Placering:
    +(placering der kan læses af mennesker, såsom "Rum 1")
    Forbindelse:{device_uri}
    Deling: +
    + +
    diff --git a/templates/da/admin.tmpl b/templates/da/admin.tmpl new file mode 100644 index 0000000..87f83e0 --- /dev/null +++ b/templates/da/admin.tmpl @@ -0,0 +1,77 @@ +
    +
    +

    Printere

    + +

    +

    +
    +
    +

    + +

    Klasser

    + +

    +

    +
    +

    + +

    Jobs

    + +

    +

    +

    +
    +
    +

    Server

    + +

    +

    +

    + + {SETTINGS_ERROR?

    {SETTINGS_MESSAGE}

    +
    {SETTINGS_ERROR}
    : + +
    + + + {ADVANCEDSETTINGS?

    Serverindstillinger\:

    + +

    Avanceret
    + + +
    +         Maks. klienter\: +
    +         
    +         
    +
    + {have_gssapi?
    :} +
    +
    +         Maksimum jobs (0 for ubegrænset)\: +
    +         Bevar metadata\: +
    +         Bevar dokumenter\: +
    +
    +         Maks. størrelse på logfil\: +

    + + :

    Serverindstillinger:

    + +

    Avanceret
    + +
    +         
    +
    + {have_gssapi?
    :} +
    +

    + + } +

    + +
    } +
    +
    diff --git a/templates/da/choose-device.tmpl b/templates/da/choose-device.tmpl new file mode 100644 index 0000000..b1ab9fd --- /dev/null +++ b/templates/da/choose-device.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?Rediger {printer_name}:Tilføj printer}

    + +{CUPS_GET_DEVICES_DONE?
    + + +{printer_name?:} + + +{op=add-printer?: + + +} + + + + + + + + + + + + + + + + + +
    Nuværende forbindelse\: +
    Lokale printere\: +{[device_uri]{device_class!network? +
    +:}} +
    Opdagede netværksprintere\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://? +
    +:}:}} +
    Andre netværksprintere\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://?: +
    +}:}} +
    + +
    :

    Leder efter printere...

    } diff --git a/templates/da/choose-make.tmpl b/templates/da/choose-make.tmpl new file mode 100644 index 0000000..2b349f7 --- /dev/null +++ b/templates/da/choose-make.tmpl @@ -0,0 +1,61 @@ +

    {op=modify-printer?Rediger {printer_name}:Tilføj printer}

    + +
    + + +{printer_name?:} + + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Navn:{printer_name}
    Beskrivelse:{printer_info}
    Placering:{printer_location}
    Forbindelse:{device_uri}
    Deling: +Del {?printer_is_shared=?ikke:{?printer_is_shared=0?ikke:}} printeren
    Producent: + +
     
    Eller angiv en PPD-fil:
    + +
    diff --git a/templates/da/choose-model.tmpl b/templates/da/choose-model.tmpl new file mode 100644 index 0000000..087ca8e --- /dev/null +++ b/templates/da/choose-model.tmpl @@ -0,0 +1,58 @@ +

    {op=modify-printer?Rediger {printer_name}:Tilføj printer}

    + +
    + + +{printer_name?:} + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Navn:{printer_name}
    Beskrivelse:{printer_info}
    Placering:{printer_location}
    Forbindelse:{device_uri}
    Deling: +Del {?printer_is_shared=?ikke:{?printer_is_shared=0?ikke:}} printeren
    Producent:{PPD_MAKE}
    Model: + +
    Eller angiv en PPD-fil:
    + +
    diff --git a/templates/da/choose-serial.tmpl b/templates/da/choose-serial.tmpl new file mode 100644 index 0000000..d60525c --- /dev/null +++ b/templates/da/choose-serial.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?Rediger {printer_name}:Tilføj printer}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Forbindelse:{device_uri}
    Baudhastighed:
    Parity:
    Databit:
    Flowstyring:
    + +
    diff --git a/templates/da/choose-uri.tmpl b/templates/da/choose-uri.tmpl new file mode 100644 index 0000000..873f811 --- /dev/null +++ b/templates/da/choose-uri.tmpl @@ -0,0 +1,41 @@ +

    {op=modify-printer?Rediger {printer_name}:Tilføj printer}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + +
    Forbindelse:
    Eksempler: +
    +    http://værtsnavn:631/ipp/
    +    http://værtsnavn:631/ipp/port1
    +
    +    ipp://værtsnavn/ipp/
    +    ipp://værtsnavn/ipp/port1
    +
    +    lpd://værtsnavn/kø
    +
    +    socket://værtsnavn
    +    socket://værtsnavn:9100
    +
    + +

    Se "Netværksprintere +" for den korrekte URI til brug med din printer.

    + +
    + +
    diff --git a/templates/da/class-added.tmpl b/templates/da/class-added.tmpl new file mode 100644 index 0000000..11c99da --- /dev/null +++ b/templates/da/class-added.tmpl @@ -0,0 +1,4 @@ +

    Tilføj klasse

    + +

    Klassen {printer_name} blev +tilføjet. diff --git a/templates/da/class-confirm.tmpl b/templates/da/class-confirm.tmpl new file mode 100644 index 0000000..85a6972 --- /dev/null +++ b/templates/da/class-confirm.tmpl @@ -0,0 +1,6 @@ +

    Slet klassen {printer_name}

    + +

    Advarsel: Er du sikker på, at du vil slette klassen +{printer_name}?

    + +

    diff --git a/templates/da/class-deleted.tmpl b/templates/da/class-deleted.tmpl new file mode 100644 index 0000000..70eb7e9 --- /dev/null +++ b/templates/da/class-deleted.tmpl @@ -0,0 +1,3 @@ +

    Slet klassen {printer_name}

    + +

    Klassen {printer_name} blev slettet. diff --git a/templates/da/class-jobs-header.tmpl b/templates/da/class-jobs-header.tmpl new file mode 100644 index 0000000..61e5151 --- /dev/null +++ b/templates/da/class-jobs-header.tmpl @@ -0,0 +1 @@ +

    Jobs

    diff --git a/templates/da/class-modified.tmpl b/templates/da/class-modified.tmpl new file mode 100644 index 0000000..96ca6c0 --- /dev/null +++ b/templates/da/class-modified.tmpl @@ -0,0 +1,4 @@ +

    Rediger klassen {printer_name}

    + +

    Klassen {printer_name} blev +ændret. diff --git a/templates/da/class.tmpl b/templates/da/class.tmpl new file mode 100644 index 0000000..dbbf8d5 --- /dev/null +++ b/templates/da/class.tmpl @@ -0,0 +1,41 @@ +

    {printer_name} +({printer_state=3?Inaktiv:{printer_state=4?Behandler:Sat på pause}}, +{printer_is_accepting_jobs=0?Afviser jobs:Accepterer jobs}, +{server_is_sharing_printers=0?Ikke:{printer_is_shared=0?Ikke:}} Delt{default_name={printer_name}?, Server Default:})

    + +
    + + + +
    + +
    + + + + + +
    + + + + + + +
    Beskrivelse:{printer_info}
    Placering:{printer_location}
    Medlemmer:{?member_uris=?None:{member_uris}}
    Standarder:job-sheets={job_sheets_default} +media={media_default?{media_default}:ukendt} +{sides_default?sides={sides_default}:}
    diff --git a/templates/da/classes-header.tmpl b/templates/da/classes-header.tmpl new file mode 100644 index 0000000..8297eaa --- /dev/null +++ b/templates/da/classes-header.tmpl @@ -0,0 +1 @@ +

    {total=0?Ingen klasser:Viser {#printer_name} af {total} klasse{total=1?:r}}.

    diff --git a/templates/da/classes.tmpl b/templates/da/classes.tmpl new file mode 100644 index 0000000..8698464 --- /dev/null +++ b/templates/da/classes.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    KønavnBeskrivelsePlaceringMedlemmerStatus
    {printer_name}{printer_info}{printer_location}{?member_uris=?Ingen:{member_uris}}{printer_state=3?Inaktiv:{printer_state=4?Behandler:Sat på pause}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/da/command.tmpl b/templates/da/command.tmpl new file mode 100644 index 0000000..93b4d37 --- /dev/null +++ b/templates/da/command.tmpl @@ -0,0 +1,8 @@ +

    {title} på {printer_name}

    + +

    {job_state>5?:Optaget-indikator }Printerkommandojob +{job_state=3?afventer:{job_state=4?tilbageholdt: +{job_state=5?behandler:{job_state=6?stoppet: +{job_state=7?annulleret:{job_state=8?afbrudt:fuldført}}}}}}{job_state=9?:{job_printer_state_message?, +"{job_printer_state_message}":}}

    diff --git a/templates/da/edit-config.tmpl b/templates/da/edit-config.tmpl new file mode 100644 index 0000000..400ed7d --- /dev/null +++ b/templates/da/edit-config.tmpl @@ -0,0 +1,20 @@ + + +

    Rediger konfigurationsfil

    + +
    + + + + + +

    +

    + +
    diff --git a/templates/da/error-op.tmpl b/templates/da/error-op.tmpl new file mode 100644 index 0000000..c3a7264 --- /dev/null +++ b/templates/da/error-op.tmpl @@ -0,0 +1,5 @@ +

    Fejl ved {?title} {?printer_name}

    + +

    Fejl:

    + +
    Ukendt handling "{op}"!
    diff --git a/templates/da/error.tmpl b/templates/da/error.tmpl new file mode 100644 index 0000000..3d4908a --- /dev/null +++ b/templates/da/error.tmpl @@ -0,0 +1,5 @@ +

    Fejl ved {?title} {?printer_name}

    + +

    {?message?{message}:Fejl}:

    + +
    {error}
    diff --git a/templates/da/header.tmpl.in b/templates/da/header.tmpl.in new file mode 100644 index 0000000..80e3bed --- /dev/null +++ b/templates/da/header.tmpl.in @@ -0,0 +1,43 @@ + + + + + + + + {refresh_page?:} + + + + + {title} - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
    +
    +

    {title}

    diff --git a/templates/da/help-header.tmpl b/templates/da/help-header.tmpl new file mode 100644 index 0000000..2048941 --- /dev/null +++ b/templates/da/help-header.tmpl @@ -0,0 +1,41 @@ +
    +{TOPIC?:} + +

    Søg i +{HELPTITLE?{HELPTITLE}:{TOPIC?{TOPIC}:Alle dokumenter}}: + +

    + +
    + + + + +{QUERY?

    Søg efter resultater i {HELPFILE?{HELPTITLE}:{TOPIC?{TOPIC}:Alle dokumenter}}\:

    +{QTEXT?:} +:

    Ingen match fundet.

    } +
    :} +{HELPTITLE?
    : + +

    Onlinehjælp

    + +

    Dette er grænsefladen til CUPS-onlinehjælp. Indtast søgeord ovenfor eller klik på dokumentationenslinkene for at vise information om onlinehjælp.

    + +

    Hvis CUPS er nyt for dig, så læs "Oversigt over CUPS"-siden.

    + +

    CUPS-hjemmesiden giver også mange ressourcer, inklusiv fora til brugerdiskussion, svar på oftest stillede spørgsmål, og en formular til indsendelse af fejlrapporter og anmodninger om funktionaliteter.

    } diff --git a/templates/da/help-printable.tmpl b/templates/da/help-printable.tmpl new file mode 100644 index 0000000..2463c16 --- /dev/null +++ b/templates/da/help-printable.tmpl @@ -0,0 +1,9 @@ + + + + + {HELPTITLE} + + + + diff --git a/templates/da/help-trailer.tmpl b/templates/da/help-trailer.tmpl new file mode 100644 index 0000000..e69de29 diff --git a/templates/da/job-cancel.tmpl b/templates/da/job-cancel.tmpl new file mode 100644 index 0000000..aebb460 --- /dev/null +++ b/templates/da/job-cancel.tmpl @@ -0,0 +1,3 @@ +

    Annuller jobbet {job_id}

    + +

    Jobbet {job_id} blev annulleret. diff --git a/templates/da/job-hold.tmpl b/templates/da/job-hold.tmpl new file mode 100644 index 0000000..eb8a542 --- /dev/null +++ b/templates/da/job-hold.tmpl @@ -0,0 +1,3 @@ +

    Tilbagehold jobbet {job_id}

    + +

    Jobbet {job_id} blev tilbageholdt fra udskrivning. diff --git a/templates/da/job-move.tmpl b/templates/da/job-move.tmpl new file mode 100644 index 0000000..9729316 --- /dev/null +++ b/templates/da/job-move.tmpl @@ -0,0 +1,23 @@ +

    + + +{job_id?:} + +

    {job_id?Flyt jobbet {job_id}:Flyt alle jobs}

    + + + + + + + + + + +
    Ny destination: + +
    + +
    diff --git a/templates/da/job-moved.tmpl b/templates/da/job-moved.tmpl new file mode 100644 index 0000000..3443db4 --- /dev/null +++ b/templates/da/job-moved.tmpl @@ -0,0 +1,4 @@ +

    {job_id?Flyt jobbet {job_id}:Flyt alle jobs}

    + +

    {job_id?Jobbet {job_id}:Alle jobs} flyttet til +{job_printer_name}.

    diff --git a/templates/da/job-release.tmpl b/templates/da/job-release.tmpl new file mode 100644 index 0000000..f0ea9e3 --- /dev/null +++ b/templates/da/job-release.tmpl @@ -0,0 +1,3 @@ +

    Frigiv jobbet {job_id}

    + +

    Jobbet {job_id} blev frigivet til udskrivning. diff --git a/templates/da/job-restart.tmpl b/templates/da/job-restart.tmpl new file mode 100644 index 0000000..398659e --- /dev/null +++ b/templates/da/job-restart.tmpl @@ -0,0 +1,3 @@ +

    Udskriv jobbet {job_id} igen

    + +

    Jobbet {job_id} blev genstartet. diff --git a/templates/da/jobs-header.tmpl b/templates/da/jobs-header.tmpl new file mode 100644 index 0000000..6700c4e --- /dev/null +++ b/templates/da/jobs-header.tmpl @@ -0,0 +1,5 @@ +{?which_jobs=?:

    } +{?which_jobs=completed?:
    } +{?which_jobs=all?:
    } + +

    {?which_jobs=?Jobs oplistet i udskrivningsrækkefølge - tilbageholdte jobs vises først.:{which_jobs=Jobs oplistes i stigende rækkefølge.?:Jobs oplistes i faldende rækkefølge.}}

    diff --git a/templates/da/jobs.tmpl b/templates/da/jobs.tmpl new file mode 100644 index 0000000..db4a0c0 --- /dev/null +++ b/templates/da/jobs.tmpl @@ -0,0 +1,36 @@ +{#job_id=0?: + + + + + +{[job_id] + + + + + + + + + +} + +
    IDNavnBrugerStørrelseSiderTilstandStyring
    {job_printer_name}-{job_id}{?phone? ({phone}):} {?job_name=?Ukendt:{job_name}} {?job_originating_user_name=?Tilbageholdt:{job_originating_user_name}} {job_k_octets}k {job_impressions_completed=0?Ukendt:{?job_impressions_completed}} {job_state=3?afventer siden
    {?time_at_creation=?Ukendt:{time_at_creation}}:{job_state=4?tilbageholdt siden
    {?time_at_creation=?Ukendt:{time_at_creation}}: +{job_state=5?behandler siden
    {?time_at_processing=?Ukendt:{time_at_processing}}:{job_state=6?stoppet: +{job_state=7?annulleret ved
    {?time_at_completed=?Ukendt:{time_at_completed}}:{job_state=8?afbrudt:fuldtført ved
    {?time_at_completed=?Ukendt:{time_at_completed}}}}}}}} {job_printer_state_message?
    +"{job_printer_state_message}":}
    +{job_preserved>0?{job_state>5? +
    :}:} +{job_state=4? +
    +
    :} +{job_state=3? +
    +
    :} +{job_state<7? +
    +
    +
    :} + 
    +} diff --git a/templates/da/list-available-printers.tmpl b/templates/da/list-available-printers.tmpl new file mode 100644 index 0000000..f24e65a --- /dev/null +++ b/templates/da/list-available-printers.tmpl @@ -0,0 +1,7 @@ +

    Tilgængelige printere

    + +{#device_uri=0?

    Ingen printere fundet.

    +:
      {[device_uri] +
    • +{device_make_and_model} ({device_info})
    • +}
    } diff --git a/templates/da/modify-class.tmpl b/templates/da/modify-class.tmpl new file mode 100644 index 0000000..79a7305 --- /dev/null +++ b/templates/da/modify-class.tmpl @@ -0,0 +1,31 @@ +

    Rediger klassen {printer_name}

    + +
    + + + + + + + + + + + + + + + + + + + + + +
    Beskrivelse:
    Placering:
    Medlemmer: + +
    + +
    diff --git a/templates/da/modify-printer.tmpl b/templates/da/modify-printer.tmpl new file mode 100644 index 0000000..9eb32af --- /dev/null +++ b/templates/da/modify-printer.tmpl @@ -0,0 +1,39 @@ +

    Rediger {printer_name}

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Beskrivelse:
    +(beskrivelse der kan læses af mennesker, såsom "HP LaserJet med Duplexer")
    Placering:
    +(placering der kan læses af mennesker, såsom "Rum 1")
    Forbindelse:{device_uri}
    Deling: +
    + +
    diff --git a/templates/da/norestart.tmpl b/templates/da/norestart.tmpl new file mode 100644 index 0000000..4856028 --- /dev/null +++ b/templates/da/norestart.tmpl @@ -0,0 +1,4 @@ +

    Skift indstillinger

    + +

    Serveren blev ikke genstartet fordi der ikke blev foretaget nogen ændringer +i konfigurationen...

    diff --git a/templates/da/option-boolean.tmpl b/templates/da/option-boolean.tmpl new file mode 100644 index 0000000..ce9b6af --- /dev/null +++ b/templates/da/option-boolean.tmpl @@ -0,0 +1,6 @@ + +{keytext}: + +{[choices]} + + diff --git a/templates/da/option-conflict.tmpl b/templates/da/option-conflict.tmpl new file mode 100644 index 0000000..19ba198 --- /dev/null +++ b/templates/da/option-conflict.tmpl @@ -0,0 +1,7 @@ +

    Fejl: Følgende tilvalg er i konflikt:

    + + + +

    Ændr venligst en eller flere af tilvalgene for at løse konflikterne.

    diff --git a/templates/da/option-header.tmpl b/templates/da/option-header.tmpl new file mode 100644 index 0000000..464726a --- /dev/null +++ b/templates/da/option-header.tmpl @@ -0,0 +1,5 @@ +
    + +

    {group}

    + + diff --git a/templates/da/option-pickmany.tmpl b/templates/da/option-pickmany.tmpl new file mode 100644 index 0000000..0da75e5 --- /dev/null +++ b/templates/da/option-pickmany.tmpl @@ -0,0 +1,6 @@ + + + + diff --git a/templates/da/option-pickone.tmpl b/templates/da/option-pickone.tmpl new file mode 100644 index 0000000..1059afc --- /dev/null +++ b/templates/da/option-pickone.tmpl @@ -0,0 +1,18 @@ + + +:} + diff --git a/templates/da/option-trailer.tmpl b/templates/da/option-trailer.tmpl new file mode 100644 index 0000000..e6f68c8 --- /dev/null +++ b/templates/da/option-trailer.tmpl @@ -0,0 +1,5 @@ +
    {keytext}:
    {keytext}: +{iscustom=1?{[params] + + +}
    {paramtext}:{params=Units?:}
    +
    + +

    + +
    \ No newline at end of file diff --git a/templates/da/pager.tmpl b/templates/da/pager.tmpl new file mode 100644 index 0000000..1e7f78a --- /dev/null +++ b/templates/da/pager.tmpl @@ -0,0 +1,7 @@ + + + + + +
    {PREV?{PREV>0?
    :}
    : }
    {NEXT?
    : } + {LAST?
    :}
    diff --git a/templates/da/printer-accept.tmpl b/templates/da/printer-accept.tmpl new file mode 100644 index 0000000..9ffd831 --- /dev/null +++ b/templates/da/printer-accept.tmpl @@ -0,0 +1,5 @@ +

    Accepter jobs på {is_class?klassen:printeren} {printer_name}

    + +

    {is_class?Klassen:Printeren} {printer_name} +accepterer nu jobs.

    diff --git a/templates/da/printer-added.tmpl b/templates/da/printer-added.tmpl new file mode 100644 index 0000000..e06260c --- /dev/null +++ b/templates/da/printer-added.tmpl @@ -0,0 +1,4 @@ +

    Tilføj printer

    + +

    Printeren {printer_name} blev +tilføjet. diff --git a/templates/da/printer-cancel-jobs.tmpl b/templates/da/printer-cancel-jobs.tmpl new file mode 100644 index 0000000..accef10 --- /dev/null +++ b/templates/da/printer-cancel-jobs.tmpl @@ -0,0 +1,5 @@ +

    Annuller jobs på {is_class?klassen:printeren} {printer_name}

    + +

    Alle jobs på {is_class?klassen:printeren} {printer_name} +blev annulleret.

    diff --git a/templates/da/printer-configured.tmpl b/templates/da/printer-configured.tmpl new file mode 100644 index 0000000..f538acc --- /dev/null +++ b/templates/da/printer-configured.tmpl @@ -0,0 +1,4 @@ +

    Indstil standardtilvalg for {printer_name}

    + +

    {OP=set-class-options?Klasse :Printer }{printer_name} +standardtilvalg blev indstillet. diff --git a/templates/da/printer-confirm.tmpl b/templates/da/printer-confirm.tmpl new file mode 100644 index 0000000..9e0a293 --- /dev/null +++ b/templates/da/printer-confirm.tmpl @@ -0,0 +1,6 @@ +

    Slet printeren {printer_name}

    + +

    Advarsel: Er du sikker på, at du vil slette printeren +{printer_name}?

    + +

    diff --git a/templates/da/printer-default.tmpl b/templates/da/printer-default.tmpl new file mode 100644 index 0000000..3139474 --- /dev/null +++ b/templates/da/printer-default.tmpl @@ -0,0 +1,9 @@ +

    Indstil {is_class?klassen:printeren} {printer_name} som standard

    + +

    {is_class?Klassen:Printeren} {printer_name} +blev gjort til standardprinteren på serveren.

    + +
    Bemærk: Brugerstandarder som blev indstillet via +lpoptions-kommandoen tilsidesætter +standardindstillingen.
    diff --git a/templates/da/printer-deleted.tmpl b/templates/da/printer-deleted.tmpl new file mode 100644 index 0000000..85c9063 --- /dev/null +++ b/templates/da/printer-deleted.tmpl @@ -0,0 +1,3 @@ +

    Slet printeren {printer_name}

    + +

    Printeren {printer_name} blev slettet. diff --git a/templates/da/printer-jobs-header.tmpl b/templates/da/printer-jobs-header.tmpl new file mode 100644 index 0000000..61e5151 --- /dev/null +++ b/templates/da/printer-jobs-header.tmpl @@ -0,0 +1 @@ +

    Jobs

    diff --git a/templates/da/printer-modified.tmpl b/templates/da/printer-modified.tmpl new file mode 100644 index 0000000..f926cd4 --- /dev/null +++ b/templates/da/printer-modified.tmpl @@ -0,0 +1,4 @@ +

    Rediger printeren {printer_name}

    + +

    Printeren {printer_name} blev +ændret. diff --git a/templates/da/printer-reject.tmpl b/templates/da/printer-reject.tmpl new file mode 100644 index 0000000..fd67203 --- /dev/null +++ b/templates/da/printer-reject.tmpl @@ -0,0 +1,5 @@ +

    Afvis jobs på {is_class?klassen:printeren} {printer_name}

    + +

    {is_class?Klassen:Printeren} {printer_name} +accepterer ikke længere jobs.

    diff --git a/templates/da/printer-start.tmpl b/templates/da/printer-start.tmpl new file mode 100644 index 0000000..d0759b9 --- /dev/null +++ b/templates/da/printer-start.tmpl @@ -0,0 +1,5 @@ +

    Genoptag {is_class?klassen:printeren} {printer_name}

    + +

    {is_class?Klassen:Printeren} {printer_name} +blev genoptaget.

    diff --git a/templates/da/printer-stop.tmpl b/templates/da/printer-stop.tmpl new file mode 100644 index 0000000..1aff072 --- /dev/null +++ b/templates/da/printer-stop.tmpl @@ -0,0 +1,5 @@ +

    Sæt {is_class?klassen:printeren} {printer_name} på pause

    + +

    {is_class?Klassen:Printeren} {printer_name} +blev sat på pause.

    diff --git a/templates/da/printer.tmpl b/templates/da/printer.tmpl new file mode 100644 index 0000000..7f95ef9 --- /dev/null +++ b/templates/da/printer.tmpl @@ -0,0 +1,43 @@ +

    {printer_name} +({printer_state=3?Inaktiv:{printer_state=4?Behandler:Sat på pause}}, +{printer_is_accepting_jobs=0?Afviser jobs:Accepterer jobs}, +{server_is_sharing_printers=0?Ikke:{printer_is_shared=0?Ikke:}} Delt{default_name={printer_name}?, Server Default:})

    + +
    + + + +
    + +
    + + + + +
    + + + + + + +
    Beskrivelse:{printer_info}
    Placering:{printer_location}
    Driver:{printer_make_and_model} ({color_supported=1?farve:gråtone}{sides_supported=one-sided?:, tosidet udskrivning})
    +
    Forbindelse:{device_uri}
    Standarder:job-sheets={job_sheets_default} +media={media_default?{media_default}:ukendt} +{sides_default?sides={sides_default}:}
    diff --git a/templates/da/printers-header.tmpl b/templates/da/printers-header.tmpl new file mode 100644 index 0000000..2dd1dd7 --- /dev/null +++ b/templates/da/printers-header.tmpl @@ -0,0 +1 @@ +

    {total=0?Ingen printere:Viser {#printer_name} af {total} printer{total=1?:e}}.

    diff --git a/templates/da/printers.tmpl b/templates/da/printers.tmpl new file mode 100644 index 0000000..b4f8085 --- /dev/null +++ b/templates/da/printers.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    KønavnBeskrivelsePlaceringProducent og modelStatus
    {printer_name}{printer_info}{printer_location}{printer_make_and_model}{printer_state=3?Inaktiv:{printer_state=4?Behandler:Sat på pause}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/da/restart.tmpl b/templates/da/restart.tmpl new file mode 100644 index 0000000..51872c1 --- /dev/null +++ b/templates/da/restart.tmpl @@ -0,0 +1,4 @@ +

    Skift indstillinger

    + +

    Vent venligst, mens serveren genstartes...

    diff --git a/templates/da/search.tmpl b/templates/da/search.tmpl new file mode 100644 index 0000000..d740531 --- /dev/null +++ b/templates/da/search.tmpl @@ -0,0 +1,10 @@ +
    +{WHICH_JOBS?:} +{ORDER?:} + +

    Søg i +{SEARCH_DEST?{SEARCH_DEST}:{SECTION=classes?klasser:{SECTION=jobs?jobs:printere}}}: +

    + +
    diff --git a/templates/da/set-printer-options-header.tmpl b/templates/da/set-printer-options-header.tmpl new file mode 100644 index 0000000..36ec7fe --- /dev/null +++ b/templates/da/set-printer-options-header.tmpl @@ -0,0 +1,24 @@ +

    Indstil standardtilvalg for {printer_name}

    + +
    + + + +{HAVE_AUTOCONFIGURE?:} + + + +

    {[group_id] +{group}     }

    + +
    diff --git a/templates/da/set-printer-options-trailer.tmpl b/templates/da/set-printer-options-trailer.tmpl new file mode 100644 index 0000000..b92988a --- /dev/null +++ b/templates/da/set-printer-options-trailer.tmpl @@ -0,0 +1,14 @@ +
    + + +
    diff --git a/templates/da/test-page.tmpl b/templates/da/test-page.tmpl new file mode 100644 index 0000000..85826f1 --- /dev/null +++ b/templates/da/test-page.tmpl @@ -0,0 +1,4 @@ +

    Udskriv testside på {printer_name}

    + +

    Testside sendt - job-ID'et er +{printer_name}-{job_id}.

    diff --git a/templates/da/trailer.tmpl b/templates/da/trailer.tmpl new file mode 100644 index 0000000..aede375 --- /dev/null +++ b/templates/da/trailer.tmpl @@ -0,0 +1,5 @@ +
    + + + + diff --git a/templates/da/users.tmpl b/templates/da/users.tmpl new file mode 100644 index 0000000..255490f --- /dev/null +++ b/templates/da/users.tmpl @@ -0,0 +1,27 @@ +
    + + + +{IS_CLASS?:} + +

    Tilladte brugere for {printer_name}

    + + + + + + + + + + +
    Brugere: + +
    + + +
    + +
    + +
    diff --git a/templates/de/add-class.tmpl b/templates/de/add-class.tmpl new file mode 100644 index 0000000..dc2cf10 --- /dev/null +++ b/templates/de/add-class.tmpl @@ -0,0 +1,37 @@ +

    Klasse hinzufügen

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Name:
    +(Darf alle druckbaren Zeichen außer "/", "#", und Leerzeichen enthalten)
    Beschreibung:
    +(Menschenlesbare Beschreibung wie etwa "HP LaserJet mit Duplexer")
    Ort:
    +(Menschenlesbarer Ort wie etwa "Labor 1")
    Mitglieder: + +
    + +
    diff --git a/templates/de/add-printer.tmpl b/templates/de/add-printer.tmpl new file mode 100644 index 0000000..b54fb22 --- /dev/null +++ b/templates/de/add-printer.tmpl @@ -0,0 +1,44 @@ +

    Drucker hinzufügen (Schritt 3/5)

    + +
    + + + + + + +{?current_make!?:} +{?current_make_and_model!?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Name:
    +(Darf alle druckbaren Zeichen außer "/", "#", und Leerzeichen enthalten)
    Beschreibung:
    +(Menschenlesbare Beschreibung wie etwa "HP LaserJet mit Duplexer")
    Ort:
    +(Menschenlesbarer Ort wie etwa "Labor 1")
    Verbindung:{device_uri}
    Freigabe: +
    + +
    diff --git a/templates/de/admin.tmpl b/templates/de/admin.tmpl new file mode 100644 index 0000000..bbfa2b0 --- /dev/null +++ b/templates/de/admin.tmpl @@ -0,0 +1,77 @@ +
    +
    +

    Drucker

    + +

    +

    +
    +
    +

    + +

    Klassen

    + +

    +

    +
    +

    + +

    Aufträge

    + +

    +

    +

    +
    +
    +

    Server

    + +

    +

    +

    + + {SETTINGS_ERROR?

    {SETTINGS_MESSAGE}

    +
    {SETTINGS_ERROR}
    : + +
    + + + {ADVANCEDSETTINGS?

    Server-Einstellungen\:

    + +

    Erweitert
    + + +
    +         Maximale Anzahl an Clients\: +
    +         
    +         
    +
    + {have_gssapi?
    :} +
    +
    +         Maximale Auftragsanzahl (0 für unbegrenzt)\: +
    +         Metadaten aufbewahren\: +
    +         Dokumente aufbewahren\: +
    +
    +         Maximale Protokoll-Dateigröße\: +

    + + :

    Server-Einstellungen:

    + +

    Erweitert
    + +
    +         
    +
    + {have_gssapi?
    :} +
    +

    + + } +

    + +
    } +
    +
    diff --git a/templates/de/choose-device.tmpl b/templates/de/choose-device.tmpl new file mode 100644 index 0000000..0cd3f85 --- /dev/null +++ b/templates/de/choose-device.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?{printer_name} ändern:Drucker hinzufügen (Schritt 1/5)}

    + +{CUPS_GET_DEVICES_DONE?
    + + +{printer_name?:} + + +{op=add-printer?: + + +} + + + + + + + + + + + + + + + + + +
    Aktuelle Verbindung\: +
    Lokale Drucker\: +{[device_uri]{device_class!network? +
    +:}} +
    Gefundene Netzwerkdrucker\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://? +
    +:}:}} +
    Andere Netzwerkdrucker\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://?: +
    +}:}} +
    + +
    :

    Suche nach Druckern…

    } diff --git a/templates/de/choose-make.tmpl b/templates/de/choose-make.tmpl new file mode 100644 index 0000000..8ba15aa --- /dev/null +++ b/templates/de/choose-make.tmpl @@ -0,0 +1,61 @@ +

    {op=modify-printer?{printer_name} ändern:Drucker hinzufügen (Schritt 4/5)}

    + +
    + + +{printer_name?:} + + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Name:{printer_name}
    Beschreibung:{printer_info}
    Ort:{printer_location}
    Verbindung:{device_uri}
    Freigabe: +Drucker {?printer_is_shared=?nicht:{?printer_is_shared=0?nicht:}} im Netzwerk freigeben
    Hersteller: + +
     
    Oder PPD-Datei bereitstellen:
    + +
    diff --git a/templates/de/choose-model.tmpl b/templates/de/choose-model.tmpl new file mode 100644 index 0000000..7c853fa --- /dev/null +++ b/templates/de/choose-model.tmpl @@ -0,0 +1,58 @@ +

    {op=modify-printer?{printer_name} ändern:Drucker hinzufügen (Schritt 5/5)}

    + +
    + + +{printer_name?:} + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Name:{printer_name}
    Beschreibung:{printer_info}
    Ort:{printer_location}
    Verbindung:{device_uri}
    Freigabe: +Drucker {?printer_is_shared=?nicht:{?printer_is_shared=0?nicht:}} im Netzwerk freigeben
    Hersteller:{PPD_MAKE}
    Modell: + +
    Oder PPD-Datei bereitstellen:
    + +
    diff --git a/templates/de/choose-serial.tmpl b/templates/de/choose-serial.tmpl new file mode 100644 index 0000000..430a397 --- /dev/null +++ b/templates/de/choose-serial.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?{printer_name} ändern:Drucker hinzufügen}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Verbindung:{device_uri}
    Baudrate:
    Parität:
    Datenbits:
    Flusskontrolle:
    + +
    diff --git a/templates/de/choose-uri.tmpl b/templates/de/choose-uri.tmpl new file mode 100644 index 0000000..2096a32 --- /dev/null +++ b/templates/de/choose-uri.tmpl @@ -0,0 +1,41 @@ +

    {op=modify-printer?{printer_name} ändern:Drucker hinzufügen (Schritt 2/5)}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + +
    Verbindung:
    Beispiele: +
    +    http://hostname:631/ipp/
    +    http://hostname:631/ipp/port1
    +
    +    ipp://hostname/ipp/
    +    ipp://hostname/ipp/port1
    +
    +    lpd://hostname/queue
    +
    +    socket://hostname
    +    socket://hostname:9100
    +
    + +

    Beispiele und gängige URIs finden sich in der Hilfe unter +"Netzwerkdrucker".

    + +
    + +
    diff --git a/templates/de/class-added.tmpl b/templates/de/class-added.tmpl new file mode 100644 index 0000000..85027e9 --- /dev/null +++ b/templates/de/class-added.tmpl @@ -0,0 +1,3 @@ +

    Klasse hinzufügen

    + +

    Die Klasse {printer_name} wurde erfolgreich hinzugefügt. diff --git a/templates/de/class-confirm.tmpl b/templates/de/class-confirm.tmpl new file mode 100644 index 0000000..9e72535 --- /dev/null +++ b/templates/de/class-confirm.tmpl @@ -0,0 +1,5 @@ +

    Klasse {printer_name} löschen

    + +

    Warnung: Sind Sie sicher, dass Sie die Klasse {printer_name} wirklich löschen möchten?

    + +

    diff --git a/templates/de/class-deleted.tmpl b/templates/de/class-deleted.tmpl new file mode 100644 index 0000000..6d09f98 --- /dev/null +++ b/templates/de/class-deleted.tmpl @@ -0,0 +1,3 @@ +

    Klasse {printer_name} löschen

    + +

    Die Klasse {printer_name} wurde erfolgreich gelöscht. diff --git a/templates/de/class-jobs-header.tmpl b/templates/de/class-jobs-header.tmpl new file mode 100644 index 0000000..0834c9c --- /dev/null +++ b/templates/de/class-jobs-header.tmpl @@ -0,0 +1 @@ +

    Aufträge

    diff --git a/templates/de/class-modified.tmpl b/templates/de/class-modified.tmpl new file mode 100644 index 0000000..7a2c497 --- /dev/null +++ b/templates/de/class-modified.tmpl @@ -0,0 +1,4 @@ +

    Klasse {printer_name} ändern

    + +

    Die Klasse {printer_name} wurde +erfolgreich geändert. diff --git a/templates/de/class.tmpl b/templates/de/class.tmpl new file mode 100644 index 0000000..eecb47b --- /dev/null +++ b/templates/de/class.tmpl @@ -0,0 +1,41 @@ +

    {printer_name} +({printer_state=3?Leerlauf:{printer_state=4?Beschäftigt:Angehalten}}, +{printer_is_accepting_jobs=0?Aufträge ablehnen:Aufträge annehmen}, +{server_is_sharing_printers=0?keine:{printer_is_shared=0?keine:}} Netzwerkfreigabe{default_name={printer_name}?, Standardklasse:})

    + +
    + + + +
    + +
    + + + + + +
    + + + + + + +
    Beschreibung:{printer_info}
    Ort:{printer_location}
    Mitglieder:{?member_uris=?Keine:{member_uris}}
    Standardeinstellungen:job-sheets={job_sheets_default} +media={media_default?{media_default}:unbekannt} +{sides_default?sides={sides_default}:}
    diff --git a/templates/de/classes-header.tmpl b/templates/de/classes-header.tmpl new file mode 100644 index 0000000..5fa4d4a --- /dev/null +++ b/templates/de/classes-header.tmpl @@ -0,0 +1 @@ +

    {total=0?Keine Klassen:Zeige {#printer_name} von {total} Klasse{total=1?:n}}.

    diff --git a/templates/de/classes.tmpl b/templates/de/classes.tmpl new file mode 100644 index 0000000..4d2a3fd --- /dev/null +++ b/templates/de/classes.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    KlasseBeschreibungOrtMitgliederStatus
    {printer_name}{printer_info}{printer_location}{?member_uris=?Keine:{member_uris}}{printer_state=3?Leerlauf:{printer_state=4?Beschäftigt:Angehalten}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/de/command.tmpl b/templates/de/command.tmpl new file mode 100644 index 0000000..fd793b3 --- /dev/null +++ b/templates/de/command.tmpl @@ -0,0 +1,8 @@ +

    {title} auf {printer_name}

    + +

    {job_state>5?:Beschäftigungsanzeige }Drucker Befehlsauftrag +{job_state=3?unerledigt:{job_state=4?gehalten: +{job_state=5?verarbeite:{job_state=6?gestoppt: +{job_state=7?gelöscht:{job_state=8?abgebrochen:beendet}}}}}}{job_state=9?:{job_printer_state_message?, +"{job_printer_state_message}":}}

    diff --git a/templates/de/edit-config.tmpl b/templates/de/edit-config.tmpl new file mode 100644 index 0000000..6d8279c --- /dev/null +++ b/templates/de/edit-config.tmpl @@ -0,0 +1,20 @@ + + +

    Konfigurationsdatei bearbeiten

    + +
    + + + + + +

    +

    + +
    diff --git a/templates/de/error-op.tmpl b/templates/de/error-op.tmpl new file mode 100644 index 0000000..9267c50 --- /dev/null +++ b/templates/de/error-op.tmpl @@ -0,0 +1,6 @@ +

    {?title} {?printer_name} Fehler

    + +

    Fehler:

    + +
    Unbekannte Operation "{op}"!
    + diff --git a/templates/de/error.tmpl b/templates/de/error.tmpl new file mode 100644 index 0000000..42d0f19 --- /dev/null +++ b/templates/de/error.tmpl @@ -0,0 +1,5 @@ +

    {?title} {?printer_name} Error

    + +

    {?message?{message}:Fehler:}

    + +
    {error}
    diff --git a/templates/de/header.tmpl.in b/templates/de/header.tmpl.in new file mode 100644 index 0000000..e0b8352 --- /dev/null +++ b/templates/de/header.tmpl.in @@ -0,0 +1,43 @@ + + + + + + + + {refresh_page?:} + + + + + {title} - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
    +
    +

    {title}

    diff --git a/templates/de/help-header.tmpl b/templates/de/help-header.tmpl new file mode 100644 index 0000000..4cc0229 --- /dev/null +++ b/templates/de/help-header.tmpl @@ -0,0 +1,41 @@ +
    +{TOPIC?:} + +

    Suche in +{HELPTITLE?{HELPTITLE}:{TOPIC?{TOPIC}:allen Dokumenten}}: + +

    + +
    + + + + +{QUERY?

    Suchergebnisse in {HELPFILE?{HELPTITLE}:{TOPIC?{TOPIC}:allen Dokumenten}}\:

    +{QTEXT?:} +:

    Keine Übereinstimmung gefunden.

    } +
    :} +{HELPTITLE?
    : + +

    CUPS-Hilfesystem

    + +

    Dies ist das CUPS-Hilfesystem. Geben Sie Ihren Suchbegriff bzw. Ihre Suchbegriffe oben ein oder klicken Sie auf einen der Dokumentationslinks um einen bestimmten Bereich der Dokumentation anzuzeigen.

    + +

    Wenn Sie noch unerfahren im Umgang mit CUPS sind, lesen Sie die "CUPS-Übersicht". Erfahrene Benutzer sollten "Was ist neu in CUPS 2.0" lesen.

    + +

    Die CUPS-Webseite bietet ebenfalls viele Informationen, einschließlich Diskussionsforen für Benutzer, Antworten auf häufig gestellte Fragen sowie ein Formular für Fehlerberichte und Wünsche.

    } diff --git a/templates/de/help-printable.tmpl b/templates/de/help-printable.tmpl new file mode 100644 index 0000000..2463c16 --- /dev/null +++ b/templates/de/help-printable.tmpl @@ -0,0 +1,9 @@ + + + + + {HELPTITLE} + + + + diff --git a/templates/de/help-trailer.tmpl b/templates/de/help-trailer.tmpl new file mode 100644 index 0000000..e69de29 diff --git a/templates/de/job-cancel.tmpl b/templates/de/job-cancel.tmpl new file mode 100644 index 0000000..63fc385 --- /dev/null +++ b/templates/de/job-cancel.tmpl @@ -0,0 +1,3 @@ +

    Auftrag {job_id} löschen

    + +

    Auftrag {job_id} wurde gelöscht. diff --git a/templates/de/job-hold.tmpl b/templates/de/job-hold.tmpl new file mode 100644 index 0000000..15d43a4 --- /dev/null +++ b/templates/de/job-hold.tmpl @@ -0,0 +1,3 @@ +

    Auftrag {job_id} anhalten

    + +

    Auftrag {job_id} wurde vom Drucken abgehalten. diff --git a/templates/de/job-move.tmpl b/templates/de/job-move.tmpl new file mode 100644 index 0000000..ba790ff --- /dev/null +++ b/templates/de/job-move.tmpl @@ -0,0 +1,23 @@ +

    + + +{job_id?:} + +

    {job_id?Auftrag {job_id} verschieben:Alle Aufträge verschieben}

    + + + + + + + + + + +
    Neues Ziel: + +
    + +
    diff --git a/templates/de/job-moved.tmpl b/templates/de/job-moved.tmpl new file mode 100644 index 0000000..795db20 --- /dev/null +++ b/templates/de/job-moved.tmpl @@ -0,0 +1,4 @@ +

    {job_id?Auftrag {job_id} verschieben:Alle Aufträge verschieben}

    + +

    {job_id?Auftrag {job_id}:Alle Aufträge} nach +{job_printer_name} verschoben.

    diff --git a/templates/de/job-release.tmpl b/templates/de/job-release.tmpl new file mode 100644 index 0000000..5b3c6e4 --- /dev/null +++ b/templates/de/job-release.tmpl @@ -0,0 +1,3 @@ +

    Auftrag {job_id} freigeben

    + +

    Auftrag {job_id} wurde zum Drucken freigegeben. diff --git a/templates/de/job-restart.tmpl b/templates/de/job-restart.tmpl new file mode 100644 index 0000000..7904376 --- /dev/null +++ b/templates/de/job-restart.tmpl @@ -0,0 +1,3 @@ +

    Auftrag {job_id} neu starten

    + +

    Auftrag {job_id} wurde neu gestartet. diff --git a/templates/de/jobs-header.tmpl b/templates/de/jobs-header.tmpl new file mode 100644 index 0000000..9f2c522 --- /dev/null +++ b/templates/de/jobs-header.tmpl @@ -0,0 +1,5 @@ +{?which_jobs=?:

    } +{?which_jobs=completed?:
    } +{?which_jobs=all?:
    } + +

    {?which_jobs=?Jobs listed in print order; held jobs appear first.:{which_jobs=Jobs listed in ascending order.?:Jobs listed in descending order.}}

    diff --git a/templates/de/jobs.tmpl b/templates/de/jobs.tmpl new file mode 100644 index 0000000..52eff2b --- /dev/null +++ b/templates/de/jobs.tmpl @@ -0,0 +1,37 @@ +{#job_id=0?: + + + + + +{[job_id] + + + + + + + + + +} + +
    IDNameBenutzerGrößeSeitenStatusSteuerung
    {job_printer_name}-{job_id}{?phone? ({phone}):} {?job_name=?Unbekannt:{job_name}} {?job_originating_user_name=?Zurückbehalten:{job_originating_user_name}} {job_k_octets}k {job_impressions_completed=0?Unbekannt:{?job_impressions_completed}} {job_state=3?unerledigt seit
    {?time_at_creation=?Unknown:{time_at_creation}}:{job_state=4?angehalten seit
    {?time_at_creation=?Unknown:{time_at_creation}}: +{job_state=5?verarbeitet seit
    {?time_at_processing=?Unknown:{time_at_processing}}:{job_state=6?angehalten: +{job_state=7?gelöscht am
    {?time_at_completed=?Unknown:{time_at_completed}}:{job_state=8?abgebrochen:beendet am
    {?time_at_completed=?Unknown:{time_at_completed}}}}}}}} {job_printer_state_message?
    +"{job_printer_state_message}":}
    +{job_preserved>0?{job_state>5? +
    +
    :}:} +{job_state=4? +
    +
    :} +{job_state=3? +
    +
    :} +{job_state<7? +
    +
    +
    :} + 
    +} diff --git a/templates/de/list-available-printers.tmpl b/templates/de/list-available-printers.tmpl new file mode 100644 index 0000000..a19bf5b --- /dev/null +++ b/templates/de/list-available-printers.tmpl @@ -0,0 +1,7 @@ +

    Verfügbare Drucker

    + +{#device_uri=0?

    Keine Drucker gefunden.

    +:
      {[device_uri] +
    • +{device_make_and_model} ({device_info})
    • +}
    } diff --git a/templates/de/modify-class.tmpl b/templates/de/modify-class.tmpl new file mode 100644 index 0000000..fd0aa9a --- /dev/null +++ b/templates/de/modify-class.tmpl @@ -0,0 +1,31 @@ +

    Klasse {printer_name} ändern

    + +
    + + + + + + + + + + + + + + + + + + + + + +
    Beschreibung:
    Ort:
    Mitglieder: + +
    + +
    diff --git a/templates/de/modify-printer.tmpl b/templates/de/modify-printer.tmpl new file mode 100644 index 0000000..8844bfa --- /dev/null +++ b/templates/de/modify-printer.tmpl @@ -0,0 +1,39 @@ +

    {printer_name} ändern

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Beschreibung:
    +(Menschenlesbare Beschreibung wie etwa "HP LaserJet mit Duplexer")
    Ort:
    +(Menschenlesbarer Ort wie etwa "Labor 1")
    Verbindung:{device_uri}
    Freigabe: +
    + +
    diff --git a/templates/de/norestart.tmpl b/templates/de/norestart.tmpl new file mode 100644 index 0000000..3d017ce --- /dev/null +++ b/templates/de/norestart.tmpl @@ -0,0 +1,3 @@ +

    Einstellungen ändern

    + +

    Der Server wurde nicht neu gestartet, da die Konfiguration nicht geändert wurde…

    diff --git a/templates/de/option-boolean.tmpl b/templates/de/option-boolean.tmpl new file mode 100644 index 0000000..ce9b6af --- /dev/null +++ b/templates/de/option-boolean.tmpl @@ -0,0 +1,6 @@ + +{keytext}: + +{[choices]} + + diff --git a/templates/de/option-conflict.tmpl b/templates/de/option-conflict.tmpl new file mode 100644 index 0000000..ae019a4 --- /dev/null +++ b/templates/de/option-conflict.tmpl @@ -0,0 +1,7 @@ +

    Fehler: Die folgenden Optionen stehen im Konflikt:

    + + + +

    Bitte ändern Sie eine oder mehrere Einstellungen um die Konflikte zu lösen.

    diff --git a/templates/de/option-header.tmpl b/templates/de/option-header.tmpl new file mode 100644 index 0000000..464726a --- /dev/null +++ b/templates/de/option-header.tmpl @@ -0,0 +1,5 @@ +
    + +

    {group}

    + + diff --git a/templates/de/option-pickmany.tmpl b/templates/de/option-pickmany.tmpl new file mode 100644 index 0000000..0da75e5 --- /dev/null +++ b/templates/de/option-pickmany.tmpl @@ -0,0 +1,6 @@ + + + + diff --git a/templates/de/option-pickone.tmpl b/templates/de/option-pickone.tmpl new file mode 100644 index 0000000..fe4133e --- /dev/null +++ b/templates/de/option-pickone.tmpl @@ -0,0 +1,18 @@ + + +:} + diff --git a/templates/de/option-trailer.tmpl b/templates/de/option-trailer.tmpl new file mode 100644 index 0000000..7da5573 --- /dev/null +++ b/templates/de/option-trailer.tmpl @@ -0,0 +1,5 @@ +
    {keytext}:
    {keytext}: +{iscustom=1?{[params] + + +}
    {paramtext}:{params=Units?:}
    +
    + +

    + +
    \ No newline at end of file diff --git a/templates/de/pager.tmpl b/templates/de/pager.tmpl new file mode 100644 index 0000000..298f92e --- /dev/null +++ b/templates/de/pager.tmpl @@ -0,0 +1,7 @@ + + + + + +
    {PREV?{PREV>0?
    :}
    : }
    {NEXT?
    : } + {LAST?
    :}
    diff --git a/templates/de/printer-accept.tmpl b/templates/de/printer-accept.tmpl new file mode 100644 index 0000000..a9d4bc6 --- /dev/null +++ b/templates/de/printer-accept.tmpl @@ -0,0 +1,5 @@ +

    Aufträge für {is_class?Klasse:Drucker} {printer_name} annehmen

    + +

    {is_class?Die Klasse:Der Drucker} {printer_name} +nimmt jetzt Aufträge an.

    diff --git a/templates/de/printer-added.tmpl b/templates/de/printer-added.tmpl new file mode 100644 index 0000000..b34529c --- /dev/null +++ b/templates/de/printer-added.tmpl @@ -0,0 +1,4 @@ +

    Drucker hinzufügen

    + +

    Drucker {printer_name} wurde erfolgreich +hinzufügt. diff --git a/templates/de/printer-cancel-jobs.tmpl b/templates/de/printer-cancel-jobs.tmpl new file mode 100644 index 0000000..364284d --- /dev/null +++ b/templates/de/printer-cancel-jobs.tmpl @@ -0,0 +1,5 @@ +

    Aufträge auf {is_class?Class:Printer} {printer_name} löschen

    + +

    Alle Aufträge auf {is_class?class:printer} {printer_name} +wurden gelöscht.

    diff --git a/templates/de/printer-configured.tmpl b/templates/de/printer-configured.tmpl new file mode 100644 index 0000000..fff957b --- /dev/null +++ b/templates/de/printer-configured.tmpl @@ -0,0 +1,4 @@ +

    Standardeinstellungen für {printer_name} festlegen

    + +

    Standardeinstellungen für {OP=set-class-options?Klasse :Drucker }{printer_name} +wurden erfolgreich gesetzt. diff --git a/templates/de/printer-confirm.tmpl b/templates/de/printer-confirm.tmpl new file mode 100644 index 0000000..42a32f8 --- /dev/null +++ b/templates/de/printer-confirm.tmpl @@ -0,0 +1,5 @@ +

    Drucker {printer_name} löschen

    + +

    Warnung: Sind Sie sicher, dass Sie den Drucker {printer_name} wirklich löschen möchten?

    + +

    diff --git a/templates/de/printer-default.tmpl b/templates/de/printer-default.tmpl new file mode 100644 index 0000000..8459fad --- /dev/null +++ b/templates/de/printer-default.tmpl @@ -0,0 +1,9 @@ +

    {is_class?Klasse:Drucker} {printer_name} als Standard festlegen

    + +

    {is_class?Die Klasse:Der Drucker} {printer_name} +wurde {is_class?zur Standardklasse:zum Standarddrucker} gemacht.

    + +
    Hinweis: Die Einstellungen {is_class?der Standardklasse:des Standarddruckers} +welche von Benutzern mittels dem lpoptions Befehl gesetzt wurden, +überschreiben diese Einstellung.
    diff --git a/templates/de/printer-deleted.tmpl b/templates/de/printer-deleted.tmpl new file mode 100644 index 0000000..c123e50 --- /dev/null +++ b/templates/de/printer-deleted.tmpl @@ -0,0 +1,3 @@ +

    Drucker {printer_name} löschen

    + +

    Drucker {printer_name} wurde erfolgreich gelöscht. diff --git a/templates/de/printer-jobs-header.tmpl b/templates/de/printer-jobs-header.tmpl new file mode 100644 index 0000000..0834c9c --- /dev/null +++ b/templates/de/printer-jobs-header.tmpl @@ -0,0 +1 @@ +

    Aufträge

    diff --git a/templates/de/printer-modified.tmpl b/templates/de/printer-modified.tmpl new file mode 100644 index 0000000..0289f9f --- /dev/null +++ b/templates/de/printer-modified.tmpl @@ -0,0 +1,4 @@ +

    Drucker {printer_name} ändern

    + +

    Drucker {printer_name} wurde +erfolgreich geändert. diff --git a/templates/de/printer-reject.tmpl b/templates/de/printer-reject.tmpl new file mode 100644 index 0000000..6a7d130 --- /dev/null +++ b/templates/de/printer-reject.tmpl @@ -0,0 +1,5 @@ +

    Aufträge für {is_class?Klasse:Drucker} {printer_name} ablehnen

    + +

    {is_class?Die Klasse:Der Drucker} {printer_name} +akzeptiert keine weiteren Aufträge.

    diff --git a/templates/de/printer-start.tmpl b/templates/de/printer-start.tmpl new file mode 100644 index 0000000..6934db3 --- /dev/null +++ b/templates/de/printer-start.tmpl @@ -0,0 +1,5 @@ +

    {is_class?Klasse:Drucker} {printer_name} starten

    + +

    {is_class?Die Klasse:Der Drucker} {printer_name} +wird gestartet.

    diff --git a/templates/de/printer-stop.tmpl b/templates/de/printer-stop.tmpl new file mode 100644 index 0000000..62e3e9f --- /dev/null +++ b/templates/de/printer-stop.tmpl @@ -0,0 +1,5 @@ +

    {is_class?Klasse:Drucker} {printer_name} anhalten

    + +

    {is_class?Die Klasse:Der Drucker} {printer_name} +wurde angehalten.

    diff --git a/templates/de/printer.tmpl b/templates/de/printer.tmpl new file mode 100644 index 0000000..89206ac --- /dev/null +++ b/templates/de/printer.tmpl @@ -0,0 +1,43 @@ +

    {printer_name} +({printer_state=3?Leerlauf:{printer_state=4?Beschäftigt:Angehalten}}, +{printer_is_accepting_jobs=0?Aufträge ablehnen:Aufträge annehmen}, +{server_is_sharing_printers=0?keine:{printer_is_shared=0?keine:}} Netzwerkfreigabe{default_name={printer_name}?, Standarddrucker:}, {printer_is_colormanaged=0?kein Farbmanagement:Farbmanagement})

    + +
    + + + +
    + +
    + + + + +
    + + + + + + +
    Beschreibung:{printer_info}
    Ort:{printer_location}
    Treiber:{printer_make_and_model} ({color_supported=1?farbig:schwarz-weiß}{sides_supported?, 2-seitiges Drucken:})
    +
    Verbindung:{device_uri}
    Standardeinstellungen:job-sheets={job_sheets_default} +media={media_default?{media_default}:unbekannt} +{sides_default?sides={sides_default}:}
    diff --git a/templates/de/printers-header.tmpl b/templates/de/printers-header.tmpl new file mode 100644 index 0000000..7ee520e --- /dev/null +++ b/templates/de/printers-header.tmpl @@ -0,0 +1 @@ +

    {total=0?Keine Drucker:Zeige {#printer_name} von {total} Drucker{total=1?:n}}.

    diff --git a/templates/de/printers.tmpl b/templates/de/printers.tmpl new file mode 100644 index 0000000..76285cf --- /dev/null +++ b/templates/de/printers.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    WarteschlangeBeschreibungOrtHersteller und ModellStatus
    {printer_name}{printer_info}{printer_location}{printer_make_and_model}{printer_state=3?Leerlauf:{printer_state=4?Beschäftigt:Angehalten}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/de/restart.tmpl b/templates/de/restart.tmpl new file mode 100644 index 0000000..7cdf98a --- /dev/null +++ b/templates/de/restart.tmpl @@ -0,0 +1,4 @@ +

    Einstellungen ändern

    + +

    Bitte warten Sie bis der Server neu gestartet ist…

    diff --git a/templates/de/search.tmpl b/templates/de/search.tmpl new file mode 100644 index 0000000..a60ac86 --- /dev/null +++ b/templates/de/search.tmpl @@ -0,0 +1,10 @@ +
    +{WHICH_JOBS?:} +{ORDER?:} + +

    Suche in +{SEARCH_DEST?{SEARCH_DEST}:{SECTION=classes?Klassen:{SECTION=jobs?Aufträgen:Druckern}}}: +

    + +
    diff --git a/templates/de/set-printer-options-header.tmpl b/templates/de/set-printer-options-header.tmpl new file mode 100644 index 0000000..246236a --- /dev/null +++ b/templates/de/set-printer-options-header.tmpl @@ -0,0 +1,24 @@ +

    Standardeinstellungen für {printer_name} festlegen

    + +
    + + + +{HAVE_AUTOCONFIGURE?:} + + + +

    {[group_id] +{group}     }

    + +
    diff --git a/templates/de/set-printer-options-trailer.tmpl b/templates/de/set-printer-options-trailer.tmpl new file mode 100644 index 0000000..b92988a --- /dev/null +++ b/templates/de/set-printer-options-trailer.tmpl @@ -0,0 +1,14 @@ +
    + + +
    diff --git a/templates/de/test-page.tmpl b/templates/de/test-page.tmpl new file mode 100644 index 0000000..2f0fa9f --- /dev/null +++ b/templates/de/test-page.tmpl @@ -0,0 +1,4 @@ +

    Testseite für Drucker {printer_name}

    + +

    Testseite wurde gesendet; Auftragsnummer lautet +{printer_name}-{job_id}.

    diff --git a/templates/de/trailer.tmpl b/templates/de/trailer.tmpl new file mode 100644 index 0000000..c1f5d38 --- /dev/null +++ b/templates/de/trailer.tmpl @@ -0,0 +1,5 @@ +
    + + + + diff --git a/templates/de/users.tmpl b/templates/de/users.tmpl new file mode 100644 index 0000000..a35dcdc --- /dev/null +++ b/templates/de/users.tmpl @@ -0,0 +1,27 @@ +
    + + + +{IS_CLASS?:} + +

    Erlaubte Benutzer für {printer_name}

    + + + + + + + + + + +
    Benutzer: + +
    + + +
    + +
    + +
    diff --git a/templates/edit-config.tmpl b/templates/edit-config.tmpl new file mode 100644 index 0000000..d8f9bb1 --- /dev/null +++ b/templates/edit-config.tmpl @@ -0,0 +1,20 @@ + + +

    Edit Configuration File

    + +
    + + + + + +

    +

    + +
    diff --git a/templates/error-op.tmpl b/templates/error-op.tmpl new file mode 100644 index 0000000..652537b --- /dev/null +++ b/templates/error-op.tmpl @@ -0,0 +1,5 @@ +

    {?title} {?printer_name} Error

    + +

    Error:

    + +
    Unknown operation "{op}"!
    diff --git a/templates/error.tmpl b/templates/error.tmpl new file mode 100644 index 0000000..2ac1b8f --- /dev/null +++ b/templates/error.tmpl @@ -0,0 +1,5 @@ +

    {?title} {?printer_name} Error

    + +

    {?message?{message}:Error}:

    + +
    {error}
    diff --git a/templates/es/add-class.tmpl b/templates/es/add-class.tmpl new file mode 100644 index 0000000..f163d28 --- /dev/null +++ b/templates/es/add-class.tmpl @@ -0,0 +1,37 @@ +

    Añadir clase

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Nombre:
    +(Puede contener cualquier carácter imprimible excepto "/", "#", y espacio)
    Descripción:
    +(Descripción fácilmente leíble tal como "HP LaserJet de doble cara")
    Ubicación:
    +(Ubicación fácilmente leíble tal como "Lab 1")
    Miembros: + +
    + +
    diff --git a/templates/es/add-printer.tmpl b/templates/es/add-printer.tmpl new file mode 100644 index 0000000..05bf421 --- /dev/null +++ b/templates/es/add-printer.tmpl @@ -0,0 +1,44 @@ +

    Añadir impresora

    + +
    + + + + + + +{?current_make!?:} +{?current_make_and_model!?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nombre:
    +(Puede contener cualquier carácter imprimible excepto "/", "#", y espacio)
    Descripción:
    +(Descripción fácilmente leíble tal como "HP LaserJet de doble cara")
    Ubicación:
    +(Ubicación fácilmente leíble tal como "Lab 1")
    Conexión:{device_uri}
    Compartición: +
    + +
    diff --git a/templates/es/admin.tmpl b/templates/es/admin.tmpl new file mode 100644 index 0000000..d75c8ad --- /dev/null +++ b/templates/es/admin.tmpl @@ -0,0 +1,77 @@ +
    +
    +

    Impresoras

    + +

    +

    +
    +
    +

    + +

    Clases

    + +

    +

    +
    +

    + +

    Trabajos

    + +

    +

    +

    +
    +
    +

    Servidor

    + +

    +

    +

    + + {SETTINGS_ERROR?

    {SETTINGS_MESSAGE}

    +
    {SETTINGS_ERROR}
    : + +
    + + + {ADVANCEDSETTINGS?

    Configuración del servidor\:

    + +

    Avanzada
    + + +
    +         Número máximo de clientes\: +
    +         
    +         
    +
    + {have_gssapi?
    :} +
    +
    +         Número máximo de trabajos (0 sin límite)\: +
    +         Retener metadatos\: +
    +         Retener documentos\: +
    +
    +         Tamaño máximo del archivo de registro\: +

    + + :

    Configuración del servidor:

    + +

    Avanzada
    + +
    +         
    +
    + {have_gssapi?
    :} +
    +

    + + } +

    + +
    } +
    +
    diff --git a/templates/es/choose-device.tmpl b/templates/es/choose-device.tmpl new file mode 100644 index 0000000..feea2e9 --- /dev/null +++ b/templates/es/choose-device.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?Modificar {printer_name}:Añadir impresora}

    + +{CUPS_GET_DEVICES_DONE?
    + + +{printer_name?:} + + +{op=add-printer?: + + +} + + + + + + + + + + + + + + + + + +
    Conexión actual\: +
    Impresoras locales\: +{[device_uri]{device_class!network? +
    +:}} +
    Impresoras en red descubiertas\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://? +
    +:}:}} +
    Otras impresoras en red\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://?: +
    +}:}} +
    + +
    :

    Buscando impresoras...

    } diff --git a/templates/es/choose-make.tmpl b/templates/es/choose-make.tmpl new file mode 100644 index 0000000..93ef242 --- /dev/null +++ b/templates/es/choose-make.tmpl @@ -0,0 +1,61 @@ +

    {op=modify-printer?Modificar {printer_name}:Añadir impresora}

    + +
    + + +{printer_name?:} + + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nombre:{printer_name}
    Descripción:{printer_info}
    Ubicación:{printer_location}
    Conexión:{device_uri}
    Compartición: +{?printer_is_shared=?No:{?printer_is_shared=0?No:}} compartir esta impresora
    Marca: + +
     
    O proporcione un archivo PPD:
    + +
    diff --git a/templates/es/choose-model.tmpl b/templates/es/choose-model.tmpl new file mode 100644 index 0000000..bb8f3f5 --- /dev/null +++ b/templates/es/choose-model.tmpl @@ -0,0 +1,58 @@ +

    {op=modify-printer?Modificar {printer_name}:Añadir impresora}

    + +
    + + +{printer_name?:} + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nombre:{printer_name}
    Descripción:{printer_info}
    Ubicación:{printer_location}
    Conexión:{device_uri}
    Compartición: +{?printer_is_shared=?No:{?printer_is_shared=0?No:}} compartir esta impresora
    Marca:{PPD_MAKE}
    Modelo: + +
    O proporcione un archivo PPD:
    + +
    diff --git a/templates/es/choose-serial.tmpl b/templates/es/choose-serial.tmpl new file mode 100644 index 0000000..0b05302 --- /dev/null +++ b/templates/es/choose-serial.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?Modificar {printer_name}:Añadir impresora}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Conexión:{device_uri}
    Baudios:
    Paridad:
    Bits de datos:
    Control de flujo:
    + +
    diff --git a/templates/es/choose-uri.tmpl b/templates/es/choose-uri.tmpl new file mode 100644 index 0000000..3b6e783 --- /dev/null +++ b/templates/es/choose-uri.tmpl @@ -0,0 +1,41 @@ +

    {op=modify-printer?Modificar {printer_name}:Añadir impresora}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + +
    Conexión:
    Ejemplos: +
    +    http://nombre_ordenador:631/ipp/
    +    http://nombre_ordenador:631/ipp/puerto1
    +
    +    ipp://nombre_ordenador/ipp/
    +    ipp://nombre_ordenador/ipp/puerto1
    +
    +    lpd://nombre_ordenador/cola
    +
    +    socket://nombre_ordenador
    +    socket://nombre_ordenador:9100
    +
    + +

    Vea "Impresoras +en red" para escoger el URI adecuado a usar con su impresora.

    + +
    + +
    diff --git a/templates/es/class-added.tmpl b/templates/es/class-added.tmpl new file mode 100644 index 0000000..0767e80 --- /dev/null +++ b/templates/es/class-added.tmpl @@ -0,0 +1,4 @@ +

    Añadir clase

    + +

    Se ha añadido con éxito la clase {printer_name}. + diff --git a/templates/es/class-confirm.tmpl b/templates/es/class-confirm.tmpl new file mode 100644 index 0000000..26f62c4 --- /dev/null +++ b/templates/es/class-confirm.tmpl @@ -0,0 +1,6 @@ +

    Borrar clase {printer_name}

    + +

    Advertencia: ¿Está seguro de querer borrar la clase +{printer_name}?

    + +

    diff --git a/templates/es/class-deleted.tmpl b/templates/es/class-deleted.tmpl new file mode 100644 index 0000000..248a7de --- /dev/null +++ b/templates/es/class-deleted.tmpl @@ -0,0 +1,3 @@ +

    Borrar clase {printer_name}

    + +

    Se ha borrado con éxito la clase {printer_name}. diff --git a/templates/es/class-jobs-header.tmpl b/templates/es/class-jobs-header.tmpl new file mode 100644 index 0000000..f571813 --- /dev/null +++ b/templates/es/class-jobs-header.tmpl @@ -0,0 +1 @@ +

    Trabajos

    diff --git a/templates/es/class-modified.tmpl b/templates/es/class-modified.tmpl new file mode 100644 index 0000000..42db8da --- /dev/null +++ b/templates/es/class-modified.tmpl @@ -0,0 +1,3 @@ +

    Modificar clase {printer_name}

    + +

    Se ha modificado con éxito la clase {printer_name}. diff --git a/templates/es/class.tmpl b/templates/es/class.tmpl new file mode 100644 index 0000000..d89983c --- /dev/null +++ b/templates/es/class.tmpl @@ -0,0 +1,41 @@ +

    {printer_name} +({printer_state=3?inactiva:{printer_state=4?procesando:en pausa}}, +{printer_is_accepting_jobs=0?rechazando trabajos:aceptando trabajos}, +{server_is_sharing_printers=0?no:{printer_is_shared=0?no:}} compartida{default_name={printer_name}?, predeterminada del servidor:})

    + +
    + + + +
    + +
    + + + + + +
    + + + + + + +
    Descripción:{printer_info}
    Ubicación:{printer_location}
    Miembros:{?member_uris=?Ninguno:{member_uris}}
    Opciones predeterminadas:job-sheets={job_sheets_default} +media={media_default?{media_default}:desconocido} +{sides_default?sides={sides_default}:}
    diff --git a/templates/es/classes-header.tmpl b/templates/es/classes-header.tmpl new file mode 100644 index 0000000..714ab89 --- /dev/null +++ b/templates/es/classes-header.tmpl @@ -0,0 +1 @@ +

    {total=0?No hay clases:Mostrando {#printer_name} de {total} clase{total=1?:s}}.

    diff --git a/templates/es/classes.tmpl b/templates/es/classes.tmpl new file mode 100644 index 0000000..30d4adb --- /dev/null +++ b/templates/es/classes.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    Nombre de la colaDescripciónUbicaciónMiembrosEstado
    {printer_name}{printer_info}{printer_location}{?member_uris=?Ninguna:{member_uris}}{printer_state=3?Inactiva:{printer_state=4?Procesando:En pausa}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/es/command.tmpl b/templates/es/command.tmpl new file mode 100644 index 0000000..fa843a7 --- /dev/null +++ b/templates/es/command.tmpl @@ -0,0 +1,8 @@ +

    {title} en {printer_name}

    + +

    {job_state>5?:Indicador de ocupado }Trabajo de comando de impresora +{job_state=3?pendiente:{job_state=4?retenido: +{job_state=5?procesando:{job_state=6?parado: +{job_state=7?cancelado:{job_state=8?interrumpido:completado}}}}}}{job_state=9?:{job_printer_state_message?, +"{job_printer_state_message}":}}

    diff --git a/templates/es/edit-config.tmpl b/templates/es/edit-config.tmpl new file mode 100644 index 0000000..817f8cc --- /dev/null +++ b/templates/es/edit-config.tmpl @@ -0,0 +1,20 @@ + + +

    Editar archivo de configuración

    + +
    + + + + + +

    +

    + +
    diff --git a/templates/es/error-op.tmpl b/templates/es/error-op.tmpl new file mode 100644 index 0000000..f75743b --- /dev/null +++ b/templates/es/error-op.tmpl @@ -0,0 +1,5 @@ +

    Error en {?printer_name}: {?title}

    + +

    Error:

    + +
    ¡Operación desconocida "{op}"!
    diff --git a/templates/es/error.tmpl b/templates/es/error.tmpl new file mode 100644 index 0000000..f149a1b --- /dev/null +++ b/templates/es/error.tmpl @@ -0,0 +1,5 @@ +

    Error en {?printer_name}: {?title}

    + +

    {?message?{message}:Error}:

    + +
    {error}
    diff --git a/templates/es/header.tmpl.in b/templates/es/header.tmpl.in new file mode 100644 index 0000000..c164cfe --- /dev/null +++ b/templates/es/header.tmpl.in @@ -0,0 +1,43 @@ + + + + + + + + {refresh_page?:} + + + + + {title} - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
    +
    +

    {title}

    diff --git a/templates/es/help-header.tmpl b/templates/es/help-header.tmpl new file mode 100644 index 0000000..b05b4b1 --- /dev/null +++ b/templates/es/help-header.tmpl @@ -0,0 +1,41 @@ +
    +{TOPIC?:} + +

    Buscar en +{HELPTITLE?{HELPTITLE}:{TOPIC?{TOPIC}:todos los documentos}}: + +

    + +
    + + + + +{QUERY?

    Buscar resultados en {HELPFILE?{HELPTITLE}:{TOPIC?{TOPIC}:todos los documentos}}\:

    +{QTEXT?:} +:

    No hay coincidencias.

    } +
    :} +{HELPTITLE?
    : + +

    Ayuda en línea

    + +

    Esta es la interfaz de ayuda en línea de CUPS. Introduzca las palabras a buscar aquí encima o haga clic en cualquiera de los enlaces de la documentación para visualizar la información de ayuda en línea.

    + +

    Si es nuevo en CUPS, lea la página "Información general de CUPS".

    + +

    La página de inicio de CUPS también proporciona muchos recursos, incluyendo foros de discusión de usuarios, respuestas a preguntas frecuentes, y un formulario para el envío de informes de errores y peticiones de mejoras.

    } diff --git a/templates/es/help-printable.tmpl b/templates/es/help-printable.tmpl new file mode 100644 index 0000000..2463c16 --- /dev/null +++ b/templates/es/help-printable.tmpl @@ -0,0 +1,9 @@ + + + + + {HELPTITLE} + + + + diff --git a/templates/es/help-trailer.tmpl b/templates/es/help-trailer.tmpl new file mode 100644 index 0000000..e69de29 diff --git a/templates/es/job-cancel.tmpl b/templates/es/job-cancel.tmpl new file mode 100644 index 0000000..b8b6ea1 --- /dev/null +++ b/templates/es/job-cancel.tmpl @@ -0,0 +1,3 @@ +

    Cancelar trabajo {job_id}

    + +

    Se ha cancelado el Trabajo {job_id}. diff --git a/templates/es/job-hold.tmpl b/templates/es/job-hold.tmpl new file mode 100644 index 0000000..74257e6 --- /dev/null +++ b/templates/es/job-hold.tmpl @@ -0,0 +1,3 @@ +

    Retener trabajo {job_id}

    + +

    Se ha retenido el Trabajo {job_id}. diff --git a/templates/es/job-move.tmpl b/templates/es/job-move.tmpl new file mode 100644 index 0000000..02639b3 --- /dev/null +++ b/templates/es/job-move.tmpl @@ -0,0 +1,23 @@ +

    + + +{job_id?:} + +

    {job_id?Mover trabajo {job_id}:Mover todos los trabajos}

    + + + + + + + + + + +
    Nuevo destino: + +
    + +
    diff --git a/templates/es/job-moved.tmpl b/templates/es/job-moved.tmpl new file mode 100644 index 0000000..e85c970 --- /dev/null +++ b/templates/es/job-moved.tmpl @@ -0,0 +1,4 @@ +

    {job_id?Mover trabajo {job_id}:Mover todos los trabajos}

    + +

    Se {job_id?ha movido el Trabajo {job_id}:han movido todos los trabajos} a +{job_printer_name}.

    diff --git a/templates/es/job-release.tmpl b/templates/es/job-release.tmpl new file mode 100644 index 0000000..0b56ba5 --- /dev/null +++ b/templates/es/job-release.tmpl @@ -0,0 +1,3 @@ +

    Liberar trabajo {job_id}

    + +

    Se ha liberado el Trabajo {job_id}. diff --git a/templates/es/job-restart.tmpl b/templates/es/job-restart.tmpl new file mode 100644 index 0000000..6e71de4 --- /dev/null +++ b/templates/es/job-restart.tmpl @@ -0,0 +1,3 @@ +

    Reimprimir trabajo {job_id}

    + +

    Se ha reiniciado el Trabajo {job_id}. diff --git a/templates/es/jobs-header.tmpl b/templates/es/jobs-header.tmpl new file mode 100644 index 0000000..d7adfd9 --- /dev/null +++ b/templates/es/jobs-header.tmpl @@ -0,0 +1,5 @@ +{?which_jobs=?:

    } +{?which_jobs=completed?:
    } +{?which_jobs=all?:
    } + +

    {?which_jobs=?Jobs listed in print order; held jobs appear first.:{which_jobs=Jobs listed in ascending order.?:Jobs listed in descending order.}}

    diff --git a/templates/es/jobs.tmpl b/templates/es/jobs.tmpl new file mode 100644 index 0000000..aba2c51 --- /dev/null +++ b/templates/es/jobs.tmpl @@ -0,0 +1,37 @@ +{#job_id=0?: + + + + + +{[job_id] + + + + + + + + + +} + +
    IDNombreUsuarioTamañoPáginasEstadoControl
    {job_printer_name}-{job_id}{?phone? ({phone}):} {?job_name=?Desconocido:{job_name}} {?job_originating_user_name=?Retenido:{job_originating_user_name}} {job_k_octets}k {job_impressions_completed=0?Desconocido:{?job_impressions_completed}} {job_state=3?pendiente desde
    {?time_at_creation=?Unknown:{time_at_creation}}:{job_state=4?retenido desde
    {?time_at_creation=?Unknown:{time_at_creation}}: +{job_state=5?en proceso desde
    {?time_at_processing=?Unknown:{time_at_processing}}:{job_state=6?parado: +{job_state=7?cancelado el
    {?time_at_completed=?Unknown:{time_at_completed}}:{job_state=8?interrumpido:completado el
    {?time_at_completed=?Unknown:{time_at_completed}}}}}}}} {job_printer_state_message?
    +"{job_printer_state_message}":}
    +{job_preserved>0?{job_state>5? +
    +
    :}:} +{job_state=4? +
    +
    :} +{job_state=3? +
    +
    :} +{job_state<7? +
    +
    +
    :} + 
    +} diff --git a/templates/es/list-available-printers.tmpl b/templates/es/list-available-printers.tmpl new file mode 100644 index 0000000..5ae28ce --- /dev/null +++ b/templates/es/list-available-printers.tmpl @@ -0,0 +1,7 @@ +

    Impresoras disponibles

    + +{#device_uri=0?

    No se encuentran impresoras.

    +:
      {[device_uri] +
    • +{device_make_and_model} ({device_info})
    • +}
    } diff --git a/templates/es/modify-class.tmpl b/templates/es/modify-class.tmpl new file mode 100644 index 0000000..2e1da3d --- /dev/null +++ b/templates/es/modify-class.tmpl @@ -0,0 +1,31 @@ +

    Modificar clase {printer_name}

    + +
    + + + + + + + + + + + + + + + + + + + + + +
    Descripción:
    Ubicación:
    Miembros: + +
    + +
    diff --git a/templates/es/modify-printer.tmpl b/templates/es/modify-printer.tmpl new file mode 100644 index 0000000..1da5bb6 --- /dev/null +++ b/templates/es/modify-printer.tmpl @@ -0,0 +1,39 @@ +

    Modificar {printer_name}

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Descripción:
    +(Descripción fácilmente leíble tal como "HP LaserJet de doble cara")
    Ubicación:
    +(Ubicación fácilmente leíble tal como "Lab 1")
    Conexión:{device_uri}
    Compartida: +
    + +
    diff --git a/templates/es/norestart.tmpl b/templates/es/norestart.tmpl new file mode 100644 index 0000000..5923a67 --- /dev/null +++ b/templates/es/norestart.tmpl @@ -0,0 +1,4 @@ +

    Cambiar especificaciones

    + +

    No se ha reiniciado el servidor debido a que no se han hecho +cambios en la configuración...

    diff --git a/templates/es/option-boolean.tmpl b/templates/es/option-boolean.tmpl new file mode 100644 index 0000000..ce9b6af --- /dev/null +++ b/templates/es/option-boolean.tmpl @@ -0,0 +1,6 @@ + +{keytext}: + +{[choices]} + + diff --git a/templates/es/option-conflict.tmpl b/templates/es/option-conflict.tmpl new file mode 100644 index 0000000..adeb436 --- /dev/null +++ b/templates/es/option-conflict.tmpl @@ -0,0 +1,7 @@ +

    Error: Las siguientes opciones están en conflicto:

    + + + +

    Cambie una o más de las opciones para resolver el problema.

    diff --git a/templates/es/option-header.tmpl b/templates/es/option-header.tmpl new file mode 100644 index 0000000..464726a --- /dev/null +++ b/templates/es/option-header.tmpl @@ -0,0 +1,5 @@ +
    + +

    {group}

    + + diff --git a/templates/es/option-pickmany.tmpl b/templates/es/option-pickmany.tmpl new file mode 100644 index 0000000..0da75e5 --- /dev/null +++ b/templates/es/option-pickmany.tmpl @@ -0,0 +1,6 @@ + + + + diff --git a/templates/es/option-pickone.tmpl b/templates/es/option-pickone.tmpl new file mode 100644 index 0000000..40fd124 --- /dev/null +++ b/templates/es/option-pickone.tmpl @@ -0,0 +1,18 @@ + + +:} + diff --git a/templates/es/option-trailer.tmpl b/templates/es/option-trailer.tmpl new file mode 100644 index 0000000..ff8f2b2 --- /dev/null +++ b/templates/es/option-trailer.tmpl @@ -0,0 +1,5 @@ +
    {keytext}:
    {keytext}: +{iscustom=1?{[params] + + +}
    {paramtext}:{params=Units?:}
    +
    + +

    + +
    \ No newline at end of file diff --git a/templates/es/pager.tmpl b/templates/es/pager.tmpl new file mode 100644 index 0000000..e3e90b4 --- /dev/null +++ b/templates/es/pager.tmpl @@ -0,0 +1,7 @@ + + + + + +
    {PREV?{PREV>0?
    :}
    : }
    {NEXT?
    : } + {LAST?
    :}
    diff --git a/templates/es/printer-accept.tmpl b/templates/es/printer-accept.tmpl new file mode 100644 index 0000000..f9a8efe --- /dev/null +++ b/templates/es/printer-accept.tmpl @@ -0,0 +1,5 @@ +

    Aceptar trabajos de la {is_class?clase:impresora} {printer_name}

    + +

    La {is_class?clase:impresora} {printer_name} +ahora acepta trabajos.

    diff --git a/templates/es/printer-added.tmpl b/templates/es/printer-added.tmpl new file mode 100644 index 0000000..4661e65 --- /dev/null +++ b/templates/es/printer-added.tmpl @@ -0,0 +1,3 @@ +

    Añadir impresora

    + +

    Se ha añadido con éxito la impresora {printer_name}. diff --git a/templates/es/printer-cancel-jobs.tmpl b/templates/es/printer-cancel-jobs.tmpl new file mode 100644 index 0000000..35abeb4 --- /dev/null +++ b/templates/es/printer-cancel-jobs.tmpl @@ -0,0 +1,4 @@ +

    Cancelar trabajos en {is_class?clase:impresora} {printer_name}

    + +

    Se han cancelado todos los trabajos de la {is_class?clase:impresora} {printer_name}.

    diff --git a/templates/es/printer-configured.tmpl b/templates/es/printer-configured.tmpl new file mode 100644 index 0000000..026677f --- /dev/null +++ b/templates/es/printer-configured.tmpl @@ -0,0 +1,4 @@ +

    Cambiar opciones predeterminadas de {printer_name}

    + +

    Se han establecido con éxito las opciones predeterminadas de la +{OP=set-class-options?clase :impresora }{printer_name}. diff --git a/templates/es/printer-confirm.tmpl b/templates/es/printer-confirm.tmpl new file mode 100644 index 0000000..71e4793 --- /dev/null +++ b/templates/es/printer-confirm.tmpl @@ -0,0 +1,6 @@ +

    Borrar impresora {printer_name}

    + +

    Advertencia: ¿Está seguro de querer borrar la impresora +{printer_name}?

    + +

    diff --git a/templates/es/printer-default.tmpl b/templates/es/printer-default.tmpl new file mode 100644 index 0000000..87a3c3c --- /dev/null +++ b/templates/es/printer-default.tmpl @@ -0,0 +1,9 @@ +

    Poner la {is_class?clase:impresora} {printer_name} como predeterminada

    + +

    Se ha puesto como predeterminada en el servidor la {is_class?clase:impresora} {printer_name}.

    + +
    Nota: cualquier opción de usuario +que haya sido activada por mediación del comando +lpoptions tiene mayor preferencia que este ajuste +predeterminado.
    diff --git a/templates/es/printer-deleted.tmpl b/templates/es/printer-deleted.tmpl new file mode 100644 index 0000000..2cda454 --- /dev/null +++ b/templates/es/printer-deleted.tmpl @@ -0,0 +1,3 @@ +

    Borrar impresora {printer_name}

    + +

    Se ha borrado con éxito la impresora {printer_name}. diff --git a/templates/es/printer-jobs-header.tmpl b/templates/es/printer-jobs-header.tmpl new file mode 100644 index 0000000..f571813 --- /dev/null +++ b/templates/es/printer-jobs-header.tmpl @@ -0,0 +1 @@ +

    Trabajos

    diff --git a/templates/es/printer-modified.tmpl b/templates/es/printer-modified.tmpl new file mode 100644 index 0000000..328c6ea --- /dev/null +++ b/templates/es/printer-modified.tmpl @@ -0,0 +1,3 @@ +

    Modificar impresora {printer_name}

    + +

    Se ha modificado con éxito la impresora {printer_name}. diff --git a/templates/es/printer-reject.tmpl b/templates/es/printer-reject.tmpl new file mode 100644 index 0000000..8890935 --- /dev/null +++ b/templates/es/printer-reject.tmpl @@ -0,0 +1,5 @@ +

    Rechazar trabajos de la {is_class?clase:impresora} {printer_name}

    + +

    La {is_class?clase:impresora} {printer_name} +ya no acepta trabajos.

    diff --git a/templates/es/printer-start.tmpl b/templates/es/printer-start.tmpl new file mode 100644 index 0000000..79695f6 --- /dev/null +++ b/templates/es/printer-start.tmpl @@ -0,0 +1,5 @@ +

    Reanudar la {is_class?clase:impresora} {printer_name}

    + +

    La {is_class?clase:impresora} {printer_name} +ha sido reanudada.

    diff --git a/templates/es/printer-stop.tmpl b/templates/es/printer-stop.tmpl new file mode 100644 index 0000000..0e9e267 --- /dev/null +++ b/templates/es/printer-stop.tmpl @@ -0,0 +1,5 @@ +

    Pausar la {is_class?clase:impresora} {printer_name}

    + +

    La {is_class?clase:impresora} {printer_name} +ha sido puesta en pausa.

    diff --git a/templates/es/printer.tmpl b/templates/es/printer.tmpl new file mode 100644 index 0000000..74b4e95 --- /dev/null +++ b/templates/es/printer.tmpl @@ -0,0 +1,43 @@ +

    {printer_name} +({printer_state=3?inactiva:{printer_state=4?procesando:en pausa}}, +{printer_is_accepting_jobs=0?rechazando trabajos:aceptando trabajos}, +{server_is_sharing_printers=0?no:{printer_is_shared=0?no:}} compartida{default_name={printer_name}?, predeterminada del servidor:})

    + +
    + + + +
    + +
    + + + + +
    + + + + + + +
    Descripción:{printer_info}
    Ubicación:{printer_location}
    Controlador:{printer_make_and_model} ({color_supported=1?color:escala de grises}{sides_supported=one-sided?:, dúplex})
    +
    Conexión:{device_uri}
    Opciones predeterminadas:rótulos={job_sheets_default} +papel={media_default?{media_default}:desconocido} +{sides_default?caras={sides_default}:}
    diff --git a/templates/es/printers-header.tmpl b/templates/es/printers-header.tmpl new file mode 100644 index 0000000..7280687 --- /dev/null +++ b/templates/es/printers-header.tmpl @@ -0,0 +1 @@ +

    {total=0?No hay impresoras:Mostrando {#printer_name} de {total} impresora{total=1?:s}}.

    diff --git a/templates/es/printers.tmpl b/templates/es/printers.tmpl new file mode 100644 index 0000000..5d84b1a --- /dev/null +++ b/templates/es/printers.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    Nombre de la colaDescripciónUbicaciónMarca y modeloEstado
    {printer_name}{printer_info}{printer_location}{printer_make_and_model}{printer_state=3?Inactiva:{printer_state=4?Procesando:En pausa}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/es/restart.tmpl b/templates/es/restart.tmpl new file mode 100644 index 0000000..0a20077 --- /dev/null +++ b/templates/es/restart.tmpl @@ -0,0 +1,4 @@ +

    Cambiar especificaciones

    + +

    Por favor espere mientras se reinicia el servidor...

    diff --git a/templates/es/search.tmpl b/templates/es/search.tmpl new file mode 100644 index 0000000..3f43068 --- /dev/null +++ b/templates/es/search.tmpl @@ -0,0 +1,10 @@ +
    +{WHICH_JOBS?:} +{ORDER?:} + +

    Buscar en +{SEARCH_DEST?{SEARCH_DEST}:{SECTION=classes?clases:{SECTION=jobs?trabajos:impresoras}}}: +

    + +
    diff --git a/templates/es/set-printer-options-header.tmpl b/templates/es/set-printer-options-header.tmpl new file mode 100644 index 0000000..91a6074 --- /dev/null +++ b/templates/es/set-printer-options-header.tmpl @@ -0,0 +1,24 @@ +

    Establecer opciones predeterminadas de {printer_name}

    + +
    + + + +{HAVE_AUTOCONFIGURE?:} + + + +

    {[group_id] +{group}     }

    + +
    diff --git a/templates/es/set-printer-options-trailer.tmpl b/templates/es/set-printer-options-trailer.tmpl new file mode 100644 index 0000000..b92988a --- /dev/null +++ b/templates/es/set-printer-options-trailer.tmpl @@ -0,0 +1,14 @@ +
    + + +
    diff --git a/templates/es/test-page.tmpl b/templates/es/test-page.tmpl new file mode 100644 index 0000000..d4fbffa --- /dev/null +++ b/templates/es/test-page.tmpl @@ -0,0 +1,4 @@ +

    Imprimir página de prueba en {printer_name}

    + +

    Página de prueba enviada; el número del trabajo es el +{printer_name}-{job_id}.

    diff --git a/templates/es/trailer.tmpl b/templates/es/trailer.tmpl new file mode 100644 index 0000000..c1cb58f --- /dev/null +++ b/templates/es/trailer.tmpl @@ -0,0 +1,5 @@ +
    + + + + diff --git a/templates/es/users.tmpl b/templates/es/users.tmpl new file mode 100644 index 0000000..200b4c2 --- /dev/null +++ b/templates/es/users.tmpl @@ -0,0 +1,27 @@ +
    + + + +{IS_CLASS?:} + +

    Usuarios permitidos para {printer_name}

    + + + + + + + + + + +
    Usuarios: + +
    + + +
    + +
    + +
    diff --git a/templates/fr/add-class.tmpl b/templates/fr/add-class.tmpl new file mode 100644 index 0000000..59b5092 --- /dev/null +++ b/templates/fr/add-class.tmpl @@ -0,0 +1,37 @@ +

    Ajouter une classe

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Nom :
    +(Peut contenir n'importe quel caractère sauf "/", "#", et espace)
    Description :
    +(Description compréhensible comme "HP LaserJet Recto/Verso")
    Emplacement :
    +(Emplacement compréhensible comme "Lab 1")
    Membres : + +
    + +
    diff --git a/templates/fr/add-printer.tmpl b/templates/fr/add-printer.tmpl new file mode 100644 index 0000000..b3a35f5 --- /dev/null +++ b/templates/fr/add-printer.tmpl @@ -0,0 +1,44 @@ +

    Ajouter une imprimante

    + +
    + + + + + + +{?current_make!?:} +{?current_make_and_model!?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nom \:
    +(Peut contenir n'importe quel caractère sauf "/", "#", et espace)
    Description :
    +(Description compréhensible comme "HP LaserJet Recto/Verso")
    Emplacement :
    +(Emplacement compréhensible comme "Lab 1")
    Connexion :{device_uri}
    Partage : +
    + +
    diff --git a/templates/fr/admin.tmpl b/templates/fr/admin.tmpl new file mode 100644 index 0000000..a2dd617 --- /dev/null +++ b/templates/fr/admin.tmpl @@ -0,0 +1,77 @@ +
    +
    +

    Imprimantes

    + +

    +

    +
    +
    +

    + +

    Classes

    + +

    +

    +
    +

    + +

    Tâches

    + +

    +

    +

    +
    +
    +

    Serveur

    + +

    +

    +

    + + {SETTINGS_ERROR?

    {SETTINGS_MESSAGE}

    +
    {SETTINGS_ERROR}
    : + +
    + + + {ADVANCEDSETTINGS?

    Paramètres du serveur \:

    + +

    Avancé
    + + +
    +         Nombre maximum de clients \: +
    +         
    +         
    +
    + {have_gssapi?
    :} +
    +
    +         Nombre maximum de tâches (0 pour aucune limite)\: +
    +         Conserver les méta-données \: +
    +         Conserver les documents \: +
    +
    +         Taille maximum du journal système \: +

    + + :

    Paramètres du serveur \:

    + +

    Avancé
    + +
    +         
    +
    + {have_gssapi?
    :} +
    +

    + + } +

    + +
    } +
    +
    diff --git a/templates/fr/choose-device.tmpl b/templates/fr/choose-device.tmpl new file mode 100644 index 0000000..9319328 --- /dev/null +++ b/templates/fr/choose-device.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?Modifier {printer_name}:Ajouter une imprimante}

    + +{CUPS_GET_DEVICES_DONE?
    + + +{printer_name?:} + + +{op=add-printer?: + + +} + + + + + + + + + + + + + + + + + +
    Connexion courante \: +
    Imprimantes locales \: +{[device_uri]{device_class!network? +
    +:}} +
    Imprimantes réseau découvertes \: +{[device_uri]{device_class=network?{device_uri~[a-z]+://? +
    +:}:}} +
    Autres imprimantes réseau \: +{[device_uri]{device_class=network?{device_uri~[a-z]+://?: +
    +}:}} +
    + +
    :

    Recherche en cours...

    } diff --git a/templates/fr/choose-make.tmpl b/templates/fr/choose-make.tmpl new file mode 100755 index 0000000..51df757 --- /dev/null +++ b/templates/fr/choose-make.tmpl @@ -0,0 +1,61 @@ +

    {op=modify-printer?Modifier {printer_name}:Ajouter une imprimante}

    + +
    + + +{printer_name?:} + + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nom :{printer_name}
    Description :{printer_info}
    Emplacement :{printer_location}
    Connexion :{device_uri}
    Partage : +{?printer_is_shared=?Ne pas:{?printer_is_shared=0?Do Not:}} partager cette imprimante
    Marque : + +
     
    Ou donner un fichier PPD :
    + +
    diff --git a/templates/fr/choose-model.tmpl b/templates/fr/choose-model.tmpl new file mode 100644 index 0000000..63ddabf --- /dev/null +++ b/templates/fr/choose-model.tmpl @@ -0,0 +1,58 @@ +

    {op=modify-printer?Modifier {printer_name}:Ajouter une imprimante}

    + +
    + + +{printer_name?:} + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nom :{printer_name}
    Description :{printer_info}
    Emplacement :{printer_location}
    Connexion :{device_uri}
    Partage : +{?printer_is_shared=?Ne pas p:{?printer_is_shared=0?Ne pas p:P}}artager cette imprimante
    Marque :{PPD_MAKE}
    Modèle : + +
    Ou donner un fichier PPD :
    + +
    diff --git a/templates/fr/choose-serial.tmpl b/templates/fr/choose-serial.tmpl new file mode 100644 index 0000000..b6ff921 --- /dev/null +++ b/templates/fr/choose-serial.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?Modifier {printer_name}:Ajouter une imprimante}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Connexion :{device_uri}
    Baud/s :
    Parité :
    Bits de données :
    Contrôle de flux :
    + +
    diff --git a/templates/fr/choose-uri.tmpl b/templates/fr/choose-uri.tmpl new file mode 100644 index 0000000..1efe5f7 --- /dev/null +++ b/templates/fr/choose-uri.tmpl @@ -0,0 +1,40 @@ +

    {op=modify-printer?Modifier {printer_name}:Ajouter une imprimante}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + +
    Connexion :
    Exemples : +
    +    http://hostname:631/ipp/
    +    http://hostname:631/ipp/port1
    +
    +    ipp://hostname/ipp/
    +    ipp://hostname/ipp/port1
    +
    +    lpd://hostname/queue
    +
    +    socket://hostname
    +    socket://hostname:9100
    +
    + +

    Voir "Imprimantes réseaux" pour construire l'URI à employer avec votre imprimante.

    + +
    + +
    diff --git a/templates/fr/class-added.tmpl b/templates/fr/class-added.tmpl new file mode 100644 index 0000000..a300848 --- /dev/null +++ b/templates/fr/class-added.tmpl @@ -0,0 +1,4 @@ +

    Ajouter une classe

    + +

    La classe {printer_name} a été ajoutée +avec succès. diff --git a/templates/fr/class-confirm.tmpl b/templates/fr/class-confirm.tmpl new file mode 100644 index 0000000..e3d17c3 --- /dev/null +++ b/templates/fr/class-confirm.tmpl @@ -0,0 +1,6 @@ +

    Supprimer la classe {printer_name}

    + +

    Attention: Êtes-vous sur(e) de vouloir supprimer la classe +{printer_name}?

    + +

    diff --git a/templates/fr/class-deleted.tmpl b/templates/fr/class-deleted.tmpl new file mode 100644 index 0000000..c76a050 --- /dev/null +++ b/templates/fr/class-deleted.tmpl @@ -0,0 +1,3 @@ +

    Supprimer la classe {printer_name}

    + +

    La classe {printer_name} a été supprimée avec succès. diff --git a/templates/fr/class-jobs-header.tmpl b/templates/fr/class-jobs-header.tmpl new file mode 100644 index 0000000..3cbc5f1 --- /dev/null +++ b/templates/fr/class-jobs-header.tmpl @@ -0,0 +1 @@ +

    Tâches

    diff --git a/templates/fr/class-modified.tmpl b/templates/fr/class-modified.tmpl new file mode 100644 index 0000000..ff17c90 --- /dev/null +++ b/templates/fr/class-modified.tmpl @@ -0,0 +1,3 @@ +

    Modifier la classe {printer_name}

    + +

    La classe {printer_name} a été modifiée avec succès. diff --git a/templates/fr/class.tmpl b/templates/fr/class.tmpl new file mode 100644 index 0000000..d48c05d --- /dev/null +++ b/templates/fr/class.tmpl @@ -0,0 +1,41 @@ +

    {printer_name} +({printer_state=3?En attente:{printer_state=4?En cours d'impression:Arrêtée}}, +{printer_is_accepting_jobs=0?rejette les tâches:accepte les tâches}, +{server_is_sharing_printers=0?Non p:{printer_is_shared=0?Non p:P}}artagée{default_name={printer_name}?, imprimante par défaut:})

    + +
    + + + +
    + +
    + + + + + +
    + + + + + + +
    Description :{printer_info}
    Emplacement :{printer_location}
    Membres :{?member_uris=?Aucun:{member_uris}}
    Par défaut :job-sheets={job_sheets_default} +media={media_default?{media_default}:inconnu} +{sides_default?sides={sides_default}:}
    diff --git a/templates/fr/classes-header.tmpl b/templates/fr/classes-header.tmpl new file mode 100644 index 0000000..0c5fe8c --- /dev/null +++ b/templates/fr/classes-header.tmpl @@ -0,0 +1 @@ +

    {total=0?Pas de classes:Affichage de {#printer_name} sur {total} classe{total=1?:s}}.

    diff --git a/templates/fr/classes.tmpl b/templates/fr/classes.tmpl new file mode 100644 index 0000000..b3432ac --- /dev/null +++ b/templates/fr/classes.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    Nom de la fileDescriptionEmplacementMembresÉtat
    {printer_name}{printer_info}{printer_location}{?member_uris=?Aucun:{member_uris}}{printer_state=3?Inoccupée:{printer_state=4?En cours d'impression:En pause}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/fr/command.tmpl b/templates/fr/command.tmpl new file mode 100644 index 0000000..dd73ebb --- /dev/null +++ b/templates/fr/command.tmpl @@ -0,0 +1,8 @@ +

    {title} sur {printer_name}

    + +

    {job_state>5?:Busy Indicator }Commandes de tâche d'impression +{job_state=3?en attente:{job_state=4?retenu: +{job_state=5?en cours d'impression:{job_state=6?annulé: +{job_state=7?canceled:{job_state=8?annulé:terminé}}}}}}{job_state=9?:{job_printer_state_message?, +"{job_printer_state_message}":}}

    diff --git a/templates/fr/edit-config.tmpl b/templates/fr/edit-config.tmpl new file mode 100644 index 0000000..bbc2f75 --- /dev/null +++ b/templates/fr/edit-config.tmpl @@ -0,0 +1,20 @@ + + +

    Édition du fichier de configuration

    + +
    + + + + + +

    + +
    diff --git a/templates/fr/error-op.tmpl b/templates/fr/error-op.tmpl new file mode 100644 index 0000000..395f3b3 --- /dev/null +++ b/templates/fr/error-op.tmpl @@ -0,0 +1,5 @@ +

    {?title} {?printer_name} Erreur

    + +

    Erreur:

    + +
    Opération inconnue "{op}"!
    diff --git a/templates/fr/error.tmpl b/templates/fr/error.tmpl new file mode 100644 index 0000000..a72d8b4 --- /dev/null +++ b/templates/fr/error.tmpl @@ -0,0 +1,5 @@ +

    {?title} {?printer_name} Erreur

    + +

    {?message?{message}:Erreur}:

    + +
    {error}
    diff --git a/templates/fr/header.tmpl.in b/templates/fr/header.tmpl.in new file mode 100644 index 0000000..ec576db --- /dev/null +++ b/templates/fr/header.tmpl.in @@ -0,0 +1,43 @@ + + + + + + + + {refresh_page?:} + + + + + {title} - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
    +
    +

    {title}

    diff --git a/templates/fr/help-header.tmpl b/templates/fr/help-header.tmpl new file mode 100644 index 0000000..696c70d --- /dev/null +++ b/templates/fr/help-header.tmpl @@ -0,0 +1,41 @@ +
    +{TOPIC?:} + +

    Rechercher dans +{HELPTITLE?{HELPTITLE}:{TOPIC?{TOPIC}:Tous les documents}}: + +

    + +
    + + + + +{QUERY?

    Résultats de la recherche dans {HELPFILE?{HELPTITLE}:{TOPIC?{TOPIC}:Tous les documents}}\:

    +{QTEXT?:} +:

    Aucun résultat.

    } +
    :} +{HELPTITLE?
    : + +

    Aide en ligne

    + +

    Ceci est l'interface d'aide en ligne de CUPS. Entrez vos termes de recherch ci-dessus ou cliquez sur un des liens vers la documentation pour voir les informations d'aide en ligne.

    + +

    Si vous êtes un nouvel utilisateur de CUPS, lisez la page "Aperçu de CUPS".

    + +

    La page d'accueil CUPS procure aussi beaucoup de ressources dont des forums, des FAQ, et un formulaire pour les rapports de bugs et les demandes de fonctionnalités.

    } diff --git a/templates/fr/help-printable.tmpl b/templates/fr/help-printable.tmpl new file mode 100644 index 0000000..2463c16 --- /dev/null +++ b/templates/fr/help-printable.tmpl @@ -0,0 +1,9 @@ + + + + + {HELPTITLE} + + + + diff --git a/templates/fr/help-trailer.tmpl b/templates/fr/help-trailer.tmpl new file mode 100644 index 0000000..e69de29 diff --git a/templates/fr/job-cancel.tmpl b/templates/fr/job-cancel.tmpl new file mode 100644 index 0000000..abd049c --- /dev/null +++ b/templates/fr/job-cancel.tmpl @@ -0,0 +1,3 @@ +

    Annuler la Tâche {job_id}

    + +

    La tâche {job_id} a été annulée. diff --git a/templates/fr/job-hold.tmpl b/templates/fr/job-hold.tmpl new file mode 100644 index 0000000..9048157 --- /dev/null +++ b/templates/fr/job-hold.tmpl @@ -0,0 +1,3 @@ +

    Retenir la tâche {job_id}

    + +

    La tâche {job_id} a été retenue. diff --git a/templates/fr/job-move.tmpl b/templates/fr/job-move.tmpl new file mode 100644 index 0000000..505313d --- /dev/null +++ b/templates/fr/job-move.tmpl @@ -0,0 +1,23 @@ +

    + + +{job_id?:} + +

    {job_id?Transférer la tâche {job_id}:Transférer toutes les tâches}

    + + + + + + + + + + +
    Nouvelle destination: + +
    + +
    diff --git a/templates/fr/job-moved.tmpl b/templates/fr/job-moved.tmpl new file mode 100644 index 0000000..27d0722 --- /dev/null +++ b/templates/fr/job-moved.tmpl @@ -0,0 +1,4 @@ +

    {job_id?Transférer la tâche {job_id}:Transférer toutes les tâches}

    + +

    {job_id?Tâche {job_id}:Toutes les tâches} transférée(s) vers +{job_printer_name}.

    diff --git a/templates/fr/job-release.tmpl b/templates/fr/job-release.tmpl new file mode 100644 index 0000000..0622543 --- /dev/null +++ b/templates/fr/job-release.tmpl @@ -0,0 +1,3 @@ +

    Libérer la Tâche {job_id}

    + +

    La tâche {job_id} a été libérée. diff --git a/templates/fr/job-restart.tmpl b/templates/fr/job-restart.tmpl new file mode 100644 index 0000000..408744f --- /dev/null +++ b/templates/fr/job-restart.tmpl @@ -0,0 +1,3 @@ +

    Réimprimer la Tâche {job_id}

    + +

    La tâche {job_id} a été relancée. diff --git a/templates/fr/jobs-header.tmpl b/templates/fr/jobs-header.tmpl new file mode 100644 index 0000000..4072aa6 --- /dev/null +++ b/templates/fr/jobs-header.tmpl @@ -0,0 +1,5 @@ +{?which_jobs=?:

    } +{?which_jobs=completed?:
    } +{?which_jobs=all?:
    } + +

    {?which_jobs=?Affichage des tâches en ordre d'impression; les tâches maintenues apparaissent en premier.:{which_jobs=Affichage des tâches dans l'ordre croissant.?:Affichage des tâches dans l'ordre décroissant.}}

    diff --git a/templates/fr/jobs.tmpl b/templates/fr/jobs.tmpl new file mode 100644 index 0000000..d10e68b --- /dev/null +++ b/templates/fr/jobs.tmpl @@ -0,0 +1,36 @@ +{#job_id=0?: + + + + + +{[job_id] + + + + + + + + + +} + +
    IDNomUtilisateurTaillePagesÉtatContrôle
    {job_printer_name}-{job_id}{?phone? ({phone}):} {?job_name=?Inconnu:{job_name}} {?job_originating_user_name=?Caché:{job_originating_user_name}} {job_k_octets}k {job_impressions_completed=0?Inconnu:{?job_impressions_completed}} {job_state=3?en attente depuis
    {?time_at_creation=?Inconnu:{time_at_creation}}:{job_state=4?retenu depuis le
    {?time_at_creation=?Inconnu:{time_at_creation}}: +{job_state=5?en cours d'impression depuis
    {?time_at_processing=?Inconnu:{time_at_processing}}:{job_state=6?arrêté: +{job_state=7?annulé depuis
    {?time_at_completed=?Inconnu:{time_at_completed}}:{job_state=8?annulé:terminé depuis
    {?time_at_completed=?Inconnu:{time_at_completed}}}}}}}} {job_printer_state_message?
    +"{job_printer_state_message}":}
    +{job_preserved>0?{job_state>5? +
    :}:} +{job_state=4? +
    +
    :} +{job_state=3? +
    +
    :} +{job_state<7? +
    +
    +
    :} + 
    +} diff --git a/templates/fr/list-available-printers.tmpl b/templates/fr/list-available-printers.tmpl new file mode 100644 index 0000000..474fcaf --- /dev/null +++ b/templates/fr/list-available-printers.tmpl @@ -0,0 +1,7 @@ +

    Imprimantes disponibles

    + +{#device_uri=0?

    Aucune imprimante trouvée.

    +:
      {[device_uri] +
    • +{device_make_and_model} ({device_info})
    • +}
    } diff --git a/templates/fr/modify-class.tmpl b/templates/fr/modify-class.tmpl new file mode 100644 index 0000000..d064d2d --- /dev/null +++ b/templates/fr/modify-class.tmpl @@ -0,0 +1,31 @@ +

    Modifier la classe {printer_name}

    + +
    + + + + + + + + + + + + + + + + + + + + + +
    Description :
    Emplacement :
    Membres : + +
    + +
    diff --git a/templates/fr/modify-printer.tmpl b/templates/fr/modify-printer.tmpl new file mode 100644 index 0000000..5637691 --- /dev/null +++ b/templates/fr/modify-printer.tmpl @@ -0,0 +1,39 @@ +

    Modifier {printer_name}

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Description :
    +(Description compréhensible comme "HP LaserJet Recto/Verso")
    Emplacement :
    +(Emplacement compréhensible comme "Lab 1")
    Connexion :{device_uri}
    Partage : +
    + +
    diff --git a/templates/fr/norestart.tmpl b/templates/fr/norestart.tmpl new file mode 100644 index 0000000..ede221f --- /dev/null +++ b/templates/fr/norestart.tmpl @@ -0,0 +1,3 @@ +

    Modifier les paramètres

    + +

    Le serveur n'a pas été redémarré car la configuration n'a pas été modifiée...

    diff --git a/templates/fr/option-boolean.tmpl b/templates/fr/option-boolean.tmpl new file mode 100644 index 0000000..ce9b6af --- /dev/null +++ b/templates/fr/option-boolean.tmpl @@ -0,0 +1,6 @@ + +{keytext}: + +{[choices]} + + diff --git a/templates/fr/option-conflict.tmpl b/templates/fr/option-conflict.tmpl new file mode 100644 index 0000000..e568449 --- /dev/null +++ b/templates/fr/option-conflict.tmpl @@ -0,0 +1,7 @@ +

    Error: Les options suivantes sont incompatibles entre elles :

    + + + +

    Veuillez modifier une ou plusieurs de ces options pour résoudre les conflits.

    diff --git a/templates/fr/option-header.tmpl b/templates/fr/option-header.tmpl new file mode 100644 index 0000000..464726a --- /dev/null +++ b/templates/fr/option-header.tmpl @@ -0,0 +1,5 @@ +
    + +

    {group}

    + + diff --git a/templates/fr/option-pickmany.tmpl b/templates/fr/option-pickmany.tmpl new file mode 100644 index 0000000..0da75e5 --- /dev/null +++ b/templates/fr/option-pickmany.tmpl @@ -0,0 +1,6 @@ + + + + diff --git a/templates/fr/option-pickone.tmpl b/templates/fr/option-pickone.tmpl new file mode 100644 index 0000000..3e3deeb --- /dev/null +++ b/templates/fr/option-pickone.tmpl @@ -0,0 +1,18 @@ + + +:} + diff --git a/templates/fr/option-trailer.tmpl b/templates/fr/option-trailer.tmpl new file mode 100644 index 0000000..5dad006 --- /dev/null +++ b/templates/fr/option-trailer.tmpl @@ -0,0 +1,5 @@ +
    {keytext}:
    {keytext}: +{iscustom=1?{[params] + + +}
    {paramtext}:{params=Units?:}
    +
    + +

    + +
    diff --git a/templates/fr/pager.tmpl b/templates/fr/pager.tmpl new file mode 100644 index 0000000..4f74968 --- /dev/null +++ b/templates/fr/pager.tmpl @@ -0,0 +1,7 @@ + + + + + +
    {PREV?{PREV>0?
    :}
    : }
    {NEXT?
    : } + {LAST?
    :}
    diff --git a/templates/fr/printer-accept.tmpl b/templates/fr/printer-accept.tmpl new file mode 100644 index 0000000..015a710 --- /dev/null +++ b/templates/fr/printer-accept.tmpl @@ -0,0 +1,5 @@ +H2 CLASS="title">Accepte les Tâches sur {is_class?la classe:l'imprimante} {printer_name} + +

    {is_class?La classe:L'imprimante} {printer_name} +accepte désormais les tâches d'impression.

    diff --git a/templates/fr/printer-added.tmpl b/templates/fr/printer-added.tmpl new file mode 100644 index 0000000..9c1013c --- /dev/null +++ b/templates/fr/printer-added.tmpl @@ -0,0 +1,4 @@ +

    Ajouter une imprimante

    + +

    L'imprimante {printer_name} a été ajoutée +avec succès. diff --git a/templates/fr/printer-cancel-jobs.tmpl b/templates/fr/printer-cancel-jobs.tmpl new file mode 100644 index 0000000..c8af113 --- /dev/null +++ b/templates/fr/printer-cancel-jobs.tmpl @@ -0,0 +1,4 @@ +

    Annuler la tâche sur {is_class?la classe:l'imprimante} {printer_name}

    + +

    Toutes les tâches sur {is_class?la classe:l'imprimante} {printer_name} ont été annulée.

    diff --git a/templates/fr/printer-configured.tmpl b/templates/fr/printer-configured.tmpl new file mode 100644 index 0000000..e68d095 --- /dev/null +++ b/templates/fr/printer-configured.tmpl @@ -0,0 +1,4 @@ +

    Définir les options par défaut pour {printer_name}

    + +

    {OP=set-class-options?Class :L'imprimante }{printer_name} + a été configurée avec succès. diff --git a/templates/fr/printer-confirm.tmpl b/templates/fr/printer-confirm.tmpl new file mode 100644 index 0000000..79c65f2 --- /dev/null +++ b/templates/fr/printer-confirm.tmpl @@ -0,0 +1,5 @@ +

    Supprimer l'imprimante {printer_name}

    + +

    Avertissement : Êtes-vous sûr(e) de vouloir supprimer l'imprimante {printer_name} ?

    + +

    diff --git a/templates/fr/printer-default.tmpl b/templates/fr/printer-default.tmpl new file mode 100644 index 0000000..dc1ea6f --- /dev/null +++ b/templates/fr/printer-default.tmpl @@ -0,0 +1,8 @@ +

    Définir {is_class?la classe:l'imprimante} {printer_name} comme {is_class?classe:imprimante} par défaut

    + +

    {is_class?La classe:L'imprimante} {printer_name} +a été définie comme {is_class?classe:imprimante} par défaut du serveur.

    + +
    Note: Tout paramètre utilisateur défini via la commande lpoptions sera prioritaire sur le paramètre défini içi. +
    diff --git a/templates/fr/printer-deleted.tmpl b/templates/fr/printer-deleted.tmpl new file mode 100644 index 0000000..4df978a --- /dev/null +++ b/templates/fr/printer-deleted.tmpl @@ -0,0 +1,3 @@ +

    Supprimer l'imprimante {printer_name}

    + +

    L'imprimante {printer_name} a été supprimée avec succès. diff --git a/templates/fr/printer-jobs-header.tmpl b/templates/fr/printer-jobs-header.tmpl new file mode 100644 index 0000000..3cbc5f1 --- /dev/null +++ b/templates/fr/printer-jobs-header.tmpl @@ -0,0 +1 @@ +

    Tâches

    diff --git a/templates/fr/printer-modified.tmpl b/templates/fr/printer-modified.tmpl new file mode 100644 index 0000000..7d2a4b5 --- /dev/null +++ b/templates/fr/printer-modified.tmpl @@ -0,0 +1,3 @@ +

    Modifier l'Imprimante {printer_name}

    + +

    L'imprimante {printer_name} a été modifiée avec succès. diff --git a/templates/fr/printer-reject.tmpl b/templates/fr/printer-reject.tmpl new file mode 100644 index 0000000..22e7d23 --- /dev/null +++ b/templates/fr/printer-reject.tmpl @@ -0,0 +1,5 @@ +

    Rejeter les Tâches sur {is_class?Classe:Imprimante} {printer_name}

    + +

    {is_class?La classe:L'imprimante} {printer_name} +n'accepte plus les tâches d'impression.

    diff --git a/templates/fr/printer-start.tmpl b/templates/fr/printer-start.tmpl new file mode 100644 index 0000000..38d5d0f --- /dev/null +++ b/templates/fr/printer-start.tmpl @@ -0,0 +1,5 @@ +

    Démarrer {is_class?La classe:l'imprimante} {printer_name}

    + +

    {is_class?La classe:l'imprimante} {printer_name} +a été démarrée.

    diff --git a/templates/fr/printer-stop.tmpl b/templates/fr/printer-stop.tmpl new file mode 100644 index 0000000..344e599 --- /dev/null +++ b/templates/fr/printer-stop.tmpl @@ -0,0 +1,5 @@ +

    Arrêter {is_class?La classe:l'imprimante} {printer_name}

    + +

    {is_class?La classe:l'imprimante} {printer_name} +a été arrêtée.

    diff --git a/templates/fr/printer.tmpl b/templates/fr/printer.tmpl new file mode 100644 index 0000000..50acad4 --- /dev/null +++ b/templates/fr/printer.tmpl @@ -0,0 +1,43 @@ +

    {printer_name} +({printer_state=3?Inoccupée :{printer_state=4?En cours d'impression:En pause}}, +{printer_is_accepting_jobs=0?Rejette les tâches:Accepte les tâches}, +{server_is_sharing_printers=0?non:{printer_is_shared=0?non:}} partagée{default_name={printer_name}?, imprimante par défaut :})

    + +
    + + + +
    + +
    + + + + +
    + + + + + + +
    Description :{printer_info}
    Emplacement :{printer_location}
    Pilote :{printer_make_and_model} ({color_supported=1?color:grayscale}{sides_supported=one-sided?:, 2-sided printing})
    +
    Connexion :{device_uri}
    Par défaut :job-sheets={job_sheets_default} +media={media_default?{media_default}:inconnu} +{sides_default?sides={sides_default}:}
    diff --git a/templates/fr/printers-header.tmpl b/templates/fr/printers-header.tmpl new file mode 100644 index 0000000..e7cee9f --- /dev/null +++ b/templates/fr/printers-header.tmpl @@ -0,0 +1 @@ +

    {total=0?Pas d'imprimante:Affichage de {#printer_name} sur {total} imprimante{total=1?:s}}.

    diff --git a/templates/fr/printers.tmpl b/templates/fr/printers.tmpl new file mode 100644 index 0000000..0a46651 --- /dev/null +++ b/templates/fr/printers.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    Nom de la fileDescriptionEmplacementMarque et modèleÉtat
    {printer_name}{printer_info}{printer_location}{printer_make_and_model}{printer_state=3?Inoccupée:{printer_state=4?En cours d'impression:En pause}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/fr/restart.tmpl b/templates/fr/restart.tmpl new file mode 100644 index 0000000..d6618d0 --- /dev/null +++ b/templates/fr/restart.tmpl @@ -0,0 +1,4 @@ +

    Modifier les paramètres

    + +

    Veuillez patienter pendant que le serveur redémarre...

    diff --git a/templates/fr/search.tmpl b/templates/fr/search.tmpl new file mode 100644 index 0000000..1137c6f --- /dev/null +++ b/templates/fr/search.tmpl @@ -0,0 +1,10 @@ +
    +{WHICH_JOBS?:} +{ORDER?:} + +

    Rechercher dans +{SEARCH_DEST?{SEARCH_DEST}:{SECTION=classes?les classes:{SECTION=jobs?les tâches:les imprimantes}}} : +

    + +
    diff --git a/templates/fr/set-printer-options-header.tmpl b/templates/fr/set-printer-options-header.tmpl new file mode 100644 index 0000000..6e9694c --- /dev/null +++ b/templates/fr/set-printer-options-header.tmpl @@ -0,0 +1,24 @@ +

    Définir les Options pour {printer_name}

    + +
    + + + +{HAVE_AUTOCONFIGURE?:} + + + +

    {[group_id] +{group}     }

    + +
    diff --git a/templates/fr/set-printer-options-trailer.tmpl b/templates/fr/set-printer-options-trailer.tmpl new file mode 100644 index 0000000..b92988a --- /dev/null +++ b/templates/fr/set-printer-options-trailer.tmpl @@ -0,0 +1,14 @@ +
    + + +
    diff --git a/templates/fr/test-page.tmpl b/templates/fr/test-page.tmpl new file mode 100644 index 0000000..e82fa43 --- /dev/null +++ b/templates/fr/test-page.tmpl @@ -0,0 +1,4 @@ +

    Imprimer une Page de Test sur {printer_name}

    + +

    La page de test a été envoyée; l'identifiant de la tâche est +{printer_name}-{job_id}.

    diff --git a/templates/fr/trailer.tmpl b/templates/fr/trailer.tmpl new file mode 100644 index 0000000..6e9b8b1 --- /dev/null +++ b/templates/fr/trailer.tmpl @@ -0,0 +1,5 @@ +
    + + + + diff --git a/templates/fr/users.tmpl b/templates/fr/users.tmpl new file mode 100644 index 0000000..f9fb8b0 --- /dev/null +++ b/templates/fr/users.tmpl @@ -0,0 +1,27 @@ +
    + + + +{IS_CLASS?:} + +

    Utilisateurs autorisés à utiliser {printer_name}

    + + + + + + + + + + +
    Utilisateurs : + +
    + + +
    + +
    + +
    diff --git a/templates/header.tmpl.in b/templates/header.tmpl.in new file mode 100644 index 0000000..a4beb53 --- /dev/null +++ b/templates/header.tmpl.in @@ -0,0 +1,43 @@ + + + + + + + + {refresh_page?:} + + + + + {title} - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
    +
    +

    {title}

    diff --git a/templates/help-header.tmpl b/templates/help-header.tmpl new file mode 100644 index 0000000..86343e7 --- /dev/null +++ b/templates/help-header.tmpl @@ -0,0 +1,41 @@ +
    +{TOPIC?:} + +

    Search in +{HELPTITLE?{HELPTITLE}:{TOPIC?{TOPIC}:All Documents}}: + +

    + +
    + + + + +{QUERY?

    Search Results in {HELPFILE?{HELPTITLE}:{TOPIC?{TOPIC}:All Documents}}\:

    +{QTEXT?:} +:

    No matches found.

    } +
    :} +{HELPTITLE?
    : + +

    Online Help

    + +

    This is the CUPS online help interface. Enter search words above or click on any of the documentation links to display online help information.

    + +

    If you are new to CUPS, read the "Overview of CUPS" page.

    + +

    The CUPS home page also provides many resources including user discussion forums, answers to frequently-asked questions, and a form for submitting bug reports and feature requests.

    } diff --git a/templates/help-printable.tmpl b/templates/help-printable.tmpl new file mode 100644 index 0000000..2463c16 --- /dev/null +++ b/templates/help-printable.tmpl @@ -0,0 +1,9 @@ + + + + + {HELPTITLE} + + + + diff --git a/templates/help-trailer.tmpl b/templates/help-trailer.tmpl new file mode 100644 index 0000000..e69de29 diff --git a/templates/ja/add-class.tmpl b/templates/ja/add-class.tmpl new file mode 100644 index 0000000..7dfa642 --- /dev/null +++ b/templates/ja/add-class.tmpl @@ -0,0 +1,37 @@ +

    クラスの追加

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    名前:
    +
    説明:
    +("両面ありHP LaserJet" のように人が読みやすい説明)
    場所:
    +("研究室1" のように人が読みやすい場所)
    メンバー: + +
    + +
    diff --git a/templates/ja/add-printer.tmpl b/templates/ja/add-printer.tmpl new file mode 100644 index 0000000..450624a --- /dev/null +++ b/templates/ja/add-printer.tmpl @@ -0,0 +1,44 @@ +

    新しいプリンターの追加

    + +
    + + + + + + +{?current_make!?:} +{?current_make_and_model!?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    名前:
    +("/"、"#"、スペースを除く表示可能文字を含めることができます)
    説明:
    +("両面ありHP LaserJet" のように人が読みやすい説明)
    場所:
    +("研究室1" のように人が読みやすい場所)
    接続:{device_uri}
    共有: +
    + +
    diff --git a/templates/ja/admin.tmpl b/templates/ja/admin.tmpl new file mode 100644 index 0000000..15faa91 --- /dev/null +++ b/templates/ja/admin.tmpl @@ -0,0 +1,77 @@ +
    +
    +

    プリンター

    + +

    +

    +
    +
    +

    + +

    クラス

    + +

    +

    +
    +

    + +

    ジョブ

    + +

    +

    +

    +
    +
    +

    サーバー

    + +

    +

    +

    + + {SETTINGS_ERROR?

    {SETTINGS_MESSAGE}

    +
    {SETTINGS_ERROR}
    : + +
    + + + {ADVANCEDSETTINGS?

    サーバー設定\:

    + +

    詳細
    + + +
    +         最大クライアント数\: +
    +         
    +         
    +
    + {have_gssapi?
    :} +
    +
    +         最大ジョブ数 (0 は無制限)\: +
    +         メタデータを保持\: +
    +         ドキュメントを保持\: +
    +
    +         最大ログファイルサイズ\: +

    + + :

    サーバー設定:

    + +

    詳細
    + +
    +         
    +
    + {have_gssapi?
    :} +
    +

    + + } +

    + +
    } +
    +
    diff --git a/templates/ja/choose-device.tmpl b/templates/ja/choose-device.tmpl new file mode 100644 index 0000000..30bdc3b --- /dev/null +++ b/templates/ja/choose-device.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?{printer_name} の変更:プリンターの追加}

    + +{CUPS_GET_DEVICES_DONE?
    + + +{printer_name?:} + + +{op=add-printer?: + + +} + + + + + + + + + + + + + + + + + +
    現在の接続\: +
    ローカルプリンター\: +{[device_uri]{device_class!network? +
    +:}} +
    発見されたネットワークプリンター\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://? +
    +:}:}} +
    その他のネットワークプリンター\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://?: +
    +}:}} +
    + +
    :

    プリンターを探しています...

    } diff --git a/templates/ja/choose-make.tmpl b/templates/ja/choose-make.tmpl new file mode 100644 index 0000000..eacc7d5 --- /dev/null +++ b/templates/ja/choose-make.tmpl @@ -0,0 +1,61 @@ +

    {op=modify-printer?{printer_name}の変更:プリンターの追加}

    + +
    + + +{printer_name?:} + + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    名前:{printer_name}
    説明:{printer_info}
    場所:{printer_location}
    接続:{device_uri}
    共有: +このプリンターを共有{?printer_is_shared=?しない:{?printer_is_shared=0?しない:する}}
    メーカー: + +
     
    または PPD ファイルを提供:
    + +
    diff --git a/templates/ja/choose-model.tmpl b/templates/ja/choose-model.tmpl new file mode 100644 index 0000000..2054cef --- /dev/null +++ b/templates/ja/choose-model.tmpl @@ -0,0 +1,58 @@ +

    {op=modify-printer?{printer_name}の変更:プリンターの追加}

    + +
    + + +{printer_name?:} + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    名前:{printer_name}
    説明:{printer_info}
    場所:{printer_location}
    接続:{device_uri}
    共有: +このプリンターを共有{?printer_is_shared=?しない:{?printer_is_shared=0?しない:する}}
    メーカー:{PPD_MAKE}
    モデル: + +
    または PPD ファイルを提供:
    + +
    diff --git a/templates/ja/choose-serial.tmpl b/templates/ja/choose-serial.tmpl new file mode 100644 index 0000000..48b4a66 --- /dev/null +++ b/templates/ja/choose-serial.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?{printer_name}の変更:プリンターの追加}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    接続:{device_uri}
    ボーレート:
    パリティ:
    データビット:
    フロー制御:
    + +
    diff --git a/templates/ja/choose-uri.tmpl b/templates/ja/choose-uri.tmpl new file mode 100644 index 0000000..cf44206 --- /dev/null +++ b/templates/ja/choose-uri.tmpl @@ -0,0 +1,40 @@ +

    {op=modify-printer?{printer_name}の変更:プリンターの追加}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + +
    接続:
    例: +
    +    http://hostname:631/ipp/
    +    http://hostname:631/ipp/port1
    +
    +    ipp://hostname/ipp/
    +    ipp://hostname/ipp/port1
    +
    +    lpd://hostname/queue
    +
    +    socket://hostname
    +    socket://hostname:9100
    +
    + +

    あなたのプリンターにふさわしい URI については、"ネットワークプリンター"を参照してください。

    + +
    + +
    diff --git a/templates/ja/class-added.tmpl b/templates/ja/class-added.tmpl new file mode 100644 index 0000000..f444cf6 --- /dev/null +++ b/templates/ja/class-added.tmpl @@ -0,0 +1,3 @@ +

    クラスの追加

    + +

    クラス {printer_name} は正しく追加されました。 diff --git a/templates/ja/class-confirm.tmpl b/templates/ja/class-confirm.tmpl new file mode 100644 index 0000000..c275afa --- /dev/null +++ b/templates/ja/class-confirm.tmpl @@ -0,0 +1,6 @@ +

    クラス {printer_name} の削除

    + +

    警告: 本当にクラス +{printer_name} を削除してもよいですか?

    + +

    diff --git a/templates/ja/class-deleted.tmpl b/templates/ja/class-deleted.tmpl new file mode 100644 index 0000000..be9b5e8 --- /dev/null +++ b/templates/ja/class-deleted.tmpl @@ -0,0 +1,3 @@ +

    クラス {printer_name} の削除

    + +

    クラス {printer_name} は正しく削除されました。 diff --git a/templates/ja/class-jobs-header.tmpl b/templates/ja/class-jobs-header.tmpl new file mode 100644 index 0000000..d12840e --- /dev/null +++ b/templates/ja/class-jobs-header.tmpl @@ -0,0 +1 @@ +

    ジョブ

    diff --git a/templates/ja/class-modified.tmpl b/templates/ja/class-modified.tmpl new file mode 100644 index 0000000..6c9256b --- /dev/null +++ b/templates/ja/class-modified.tmpl @@ -0,0 +1,3 @@ +

    クラス {printer_name} の変更

    + +

    クラス {printer_name} は正しく変更されました。 diff --git a/templates/ja/class.tmpl b/templates/ja/class.tmpl new file mode 100644 index 0000000..a5becb6 --- /dev/null +++ b/templates/ja/class.tmpl @@ -0,0 +1,41 @@ +

    {printer_name} +({printer_state=3?待機中:{printer_state=4?処理中:停止}}, +{printer_is_accepting_jobs=0?ジョブを拒否中:ジョブを受け付け中}, +{server_is_sharing_printers=0?非:{printer_is_shared=0?非:}} 共有{default_name={printer_name}?, サーバーのデフォルト:})

    + +
    + + + +
    + +
    + + + + + +
    + + + + + + +
    説明:{printer_info}
    場所:{printer_location}
    メンバー:{?member_uris=?なし:{member_uris}}
    デフォルト:job-sheets={job_sheets_default} +media={media_default?{media_default}:不明} +{sides_default?sides={sides_default}:}
    diff --git a/templates/ja/classes-header.tmpl b/templates/ja/classes-header.tmpl new file mode 100644 index 0000000..506603c --- /dev/null +++ b/templates/ja/classes-header.tmpl @@ -0,0 +1 @@ +

    {total=0?クラスはありません:{total} 個のクラスのうち {#printer_name} 個を表示中}。

    diff --git a/templates/ja/classes.tmpl b/templates/ja/classes.tmpl new file mode 100644 index 0000000..64cd8c0 --- /dev/null +++ b/templates/ja/classes.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    キュー名説明場所メンバー状態
    {printer_name}{printer_info}{printer_location}{?member_uris=?なし:{member_uris}}{printer_state=3?待機中:{printer_state=4?処理中:停止}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/ja/command.tmpl b/templates/ja/command.tmpl new file mode 100644 index 0000000..0aa3a39 --- /dev/null +++ b/templates/ja/command.tmpl @@ -0,0 +1,8 @@ +

    {printer_name} の {title}

    + +

    {job_state>5?:Busy Indicator }プリンターコマンドジョブ +{job_state=3?ペンディング中:{job_state=4?ホールド中: +{job_state=5?処理中:{job_state=6?停止中: +{job_state=7?キャンセル:{job_state=8?破棄:完了}}}}}}{job_state=9?:{job_printer_state_message?, +"{job_printer_state_message}":}}

    diff --git a/templates/ja/edit-config.tmpl b/templates/ja/edit-config.tmpl new file mode 100644 index 0000000..b2a4b8f --- /dev/null +++ b/templates/ja/edit-config.tmpl @@ -0,0 +1,20 @@ + + +

    設定ファイルの編集

    + +
    + + + + + +

    +

    + +
    diff --git a/templates/ja/error-op.tmpl b/templates/ja/error-op.tmpl new file mode 100644 index 0000000..b5e94fb --- /dev/null +++ b/templates/ja/error-op.tmpl @@ -0,0 +1,6 @@ +

    {?title} {?printer_name} のエラー

    + +

    エラー:

    + +
    "{op}" は未知の操作です!
    + diff --git a/templates/ja/error.tmpl b/templates/ja/error.tmpl new file mode 100644 index 0000000..0ed35fc --- /dev/null +++ b/templates/ja/error.tmpl @@ -0,0 +1,5 @@ +

    {?title} {?printer_name} のエラー

    + +

    {?message?{message}:エラー}:

    + +
    {error}
    diff --git a/templates/ja/header.tmpl.in b/templates/ja/header.tmpl.in new file mode 100644 index 0000000..86298ac --- /dev/null +++ b/templates/ja/header.tmpl.in @@ -0,0 +1,35 @@ + + + + + + + + {refresh_page?:} + + + + {title} - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
    +
    +

    {title}

    diff --git a/templates/ja/help-header.tmpl b/templates/ja/help-header.tmpl new file mode 100644 index 0000000..118d15c --- /dev/null +++ b/templates/ja/help-header.tmpl @@ -0,0 +1,47 @@ +
    +{TOPIC?:} + +

    +{HELPTITLE?{HELPTITLE}:{TOPIC?{TOPIC}:すべてのドキュメント}}内を検索: + +

    + +
    + + + + +{QUERY?

    {HELPFILE?{HELPTITLE}:{TOPIC?{TOPIC}:すべてのドキュメント}}の検索結果\:

    +{QTEXT?:} +:

    マッチするものは見つかりませんでした。

    } +
    :} +{HELPTITLE?
    : + +

    オンラインヘルプ

    + +

    これは、CUPS のオンラインヘルプインターフェイスです。 +オンラインヘルプ情報を表示するには、検索語句を上に入力するか、 +ドキュメントリンクのいずれかをクリックしてください。

    + +

    あなたが CUPS について初心者なら、 "CUPS の概要" ページを読んでください。

    + +

    CUPS ホームページ でも、 +ユーザーディスカッションフォーラム、FAQ、 +バグ報告や機能リクエストを申請するフォームといった、 +多くのリソースを提供しています。

    } diff --git a/templates/ja/help-printable.tmpl b/templates/ja/help-printable.tmpl new file mode 100644 index 0000000..2463c16 --- /dev/null +++ b/templates/ja/help-printable.tmpl @@ -0,0 +1,9 @@ + + + + + {HELPTITLE} + + + + diff --git a/templates/ja/help-trailer.tmpl b/templates/ja/help-trailer.tmpl new file mode 100644 index 0000000..e69de29 diff --git a/templates/ja/job-cancel.tmpl b/templates/ja/job-cancel.tmpl new file mode 100644 index 0000000..c6fd085 --- /dev/null +++ b/templates/ja/job-cancel.tmpl @@ -0,0 +1,3 @@ +

    ジョブ {job_id} のキャンセル

    + +

    ジョブ {job_id} はキャンセルされました。 diff --git a/templates/ja/job-hold.tmpl b/templates/ja/job-hold.tmpl new file mode 100644 index 0000000..014a48f --- /dev/null +++ b/templates/ja/job-hold.tmpl @@ -0,0 +1,3 @@ +

    ジョブ {job_id} の保留

    + +

    ジョブ {job_id} は印刷を保留されました。 diff --git a/templates/ja/job-move.tmpl b/templates/ja/job-move.tmpl new file mode 100644 index 0000000..ce3072e --- /dev/null +++ b/templates/ja/job-move.tmpl @@ -0,0 +1,23 @@ +

    + + +{job_id?:} + +

    {job_id?ジョブ {job_id} の移動:すべてのジョブの移動}

    + + + + + + + + + + +
    新しい宛先: + +
    + +
    diff --git a/templates/ja/job-moved.tmpl b/templates/ja/job-moved.tmpl new file mode 100644 index 0000000..b76b64d --- /dev/null +++ b/templates/ja/job-moved.tmpl @@ -0,0 +1,5 @@ +

    {job_id?ジョブ {job_id} の移動:すべてのジョブの移動}

    + +

    {job_id?ジョブ {job_id}:すべてのジョブ} は +{job_printer_name} に移動しました。

    + diff --git a/templates/ja/job-release.tmpl b/templates/ja/job-release.tmpl new file mode 100644 index 0000000..025571f --- /dev/null +++ b/templates/ja/job-release.tmpl @@ -0,0 +1,3 @@ +

    ジョブ {job_id} の解放

    + +

    ジョブ {job_id} は印刷から解放されました。 diff --git a/templates/ja/job-restart.tmpl b/templates/ja/job-restart.tmpl new file mode 100644 index 0000000..8b8c0f6 --- /dev/null +++ b/templates/ja/job-restart.tmpl @@ -0,0 +1,3 @@ +

    ジョブ {job_id} の再印刷

    + +

    ジョブ {job_id} は再印刷されました。 diff --git a/templates/ja/jobs-header.tmpl b/templates/ja/jobs-header.tmpl new file mode 100644 index 0000000..7a0b14e --- /dev/null +++ b/templates/ja/jobs-header.tmpl @@ -0,0 +1,5 @@ +{?which_jobs=?:

    } +{?which_jobs=completed?:
    } +{?which_jobs=all?:
    } + +

    {?which_jobs=?Jobs listed in print order; held jobs appear first.:{which_jobs=Jobs listed in ascending order.?:Jobs listed in descending order.}}

    diff --git a/templates/ja/jobs.tmpl b/templates/ja/jobs.tmpl new file mode 100644 index 0000000..a420f0a --- /dev/null +++ b/templates/ja/jobs.tmpl @@ -0,0 +1,36 @@ +{#job_id=0?: + + + + + +{[job_id] + + + + + + + + + +} + +
    ID名前ユーザーサイズページ状態制御
    {job_printer_name}-{job_id}{?phone? ({phone}):} {?job_name=?未知:{job_name}} {?job_originating_user_name=?隠匿:{job_originating_user_name}} {job_k_octets}k {job_impressions_completed=0?不明:{?job_impressions_completed}} {job_state=3?{?time_at_creation=?Unknown:{time_at_creation}}
    から保留中:{job_state=4?{?time_at_creation=?Unknown:{time_at_creation}}
    から保留中: +{job_state=5?{?time_at_processing=?Unknown:{time_at_processing}}
    から処理中:{job_state=6?に停止: +{job_state=7?{?time_at_completed=?Unknown:{time_at_completed}}
    にキャンセル:{job_state=8?に中断:{?time_at_completed=?Unknown:{time_at_completed}}
    に完了}}}}}} {job_printer_state_message?
    +"{job_printer_state_message}":}
    +{job_preserved>0?{job_state>5? +
    :}:} +{job_state=4? +
    +
    :} +{job_state=3? +
    +
    :} +{job_state<7? +
    +
    +
    :} + 
    +} diff --git a/templates/ja/list-available-printers.tmpl b/templates/ja/list-available-printers.tmpl new file mode 100644 index 0000000..e84227d --- /dev/null +++ b/templates/ja/list-available-printers.tmpl @@ -0,0 +1,7 @@ +

    利用可能なプリンター

    + +{#device_uri=0?

    プリンターが見つかりません。

    +:
      {[device_uri] +
    • +{device_make_and_model} ({device_info})
    • +}
    } diff --git a/templates/ja/modify-class.tmpl b/templates/ja/modify-class.tmpl new file mode 100644 index 0000000..f552bdf --- /dev/null +++ b/templates/ja/modify-class.tmpl @@ -0,0 +1,31 @@ +

    クラス {printer_name} の変更

    + +
    + + + + + + + + + + + + + + + + + + + + + +
    説明:
    場所:
    メンバー: + +
    + +
    diff --git a/templates/ja/modify-printer.tmpl b/templates/ja/modify-printer.tmpl new file mode 100644 index 0000000..a3ac716 --- /dev/null +++ b/templates/ja/modify-printer.tmpl @@ -0,0 +1,39 @@ +

    {printer_name} の変更

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    説明:
    +("両面ありHP LaserJet" のように人が読みやすい説明)
    場所:
    +("研究室1" のように人が読みやすい場所)
    接続:{device_uri}
    共有: +
    + +
    diff --git a/templates/ja/norestart.tmpl b/templates/ja/norestart.tmpl new file mode 100644 index 0000000..7007f3b --- /dev/null +++ b/templates/ja/norestart.tmpl @@ -0,0 +1,4 @@ +

    設定変更

    + +

    設定に何も変更が行われなかったため、サーバーは再起動されませんでした...

    + diff --git a/templates/ja/option-boolean.tmpl b/templates/ja/option-boolean.tmpl new file mode 100644 index 0000000..ce9b6af --- /dev/null +++ b/templates/ja/option-boolean.tmpl @@ -0,0 +1,6 @@ + +{keytext}: + +{[choices]} + + diff --git a/templates/ja/option-conflict.tmpl b/templates/ja/option-conflict.tmpl new file mode 100644 index 0000000..4f782ac --- /dev/null +++ b/templates/ja/option-conflict.tmpl @@ -0,0 +1,7 @@ +

    エラー: 以下のオプションは競合します:

    + + + +

    競合を解決するために、1 つ以上のオプションを変更してください。

    diff --git a/templates/ja/option-header.tmpl b/templates/ja/option-header.tmpl new file mode 100644 index 0000000..464726a --- /dev/null +++ b/templates/ja/option-header.tmpl @@ -0,0 +1,5 @@ +
    + +

    {group}

    + + diff --git a/templates/ja/option-pickmany.tmpl b/templates/ja/option-pickmany.tmpl new file mode 100644 index 0000000..0da75e5 --- /dev/null +++ b/templates/ja/option-pickmany.tmpl @@ -0,0 +1,6 @@ + + + + diff --git a/templates/ja/option-pickone.tmpl b/templates/ja/option-pickone.tmpl new file mode 100644 index 0000000..514e2ab --- /dev/null +++ b/templates/ja/option-pickone.tmpl @@ -0,0 +1,18 @@ + + +:} + diff --git a/templates/ja/option-trailer.tmpl b/templates/ja/option-trailer.tmpl new file mode 100644 index 0000000..da2db1e --- /dev/null +++ b/templates/ja/option-trailer.tmpl @@ -0,0 +1,5 @@ +
    {keytext}:
    {keytext}: +{iscustom=1?{[params] + + +}
    {paramtext}:{params=Units?:}
    +
    + +

    + +
    \ No newline at end of file diff --git a/templates/ja/pager.tmpl b/templates/ja/pager.tmpl new file mode 100644 index 0000000..ff7e976 --- /dev/null +++ b/templates/ja/pager.tmpl @@ -0,0 +1,7 @@ + + + + + +
    {PREV?{PREV>0?
    :}
    : }
    {NEXT?
    : } + {LAST?
    :}
    diff --git a/templates/ja/printer-accept.tmpl b/templates/ja/printer-accept.tmpl new file mode 100644 index 0000000..6a97d85 --- /dev/null +++ b/templates/ja/printer-accept.tmpl @@ -0,0 +1,5 @@ +

    {is_class?クラス:プリンター} {printer_name} のジョブの受け付け

    + +

    {is_class?クラス:プリンター} {printer_name} +はジョブを受け付けるようになりました。

    diff --git a/templates/ja/printer-added.tmpl b/templates/ja/printer-added.tmpl new file mode 100644 index 0000000..be475f2 --- /dev/null +++ b/templates/ja/printer-added.tmpl @@ -0,0 +1,4 @@ +

    プリンターの追加

    + +

    プリンター {printer_name} は正しく追加されました。 + diff --git a/templates/ja/printer-cancel-jobs.tmpl b/templates/ja/printer-cancel-jobs.tmpl new file mode 100644 index 0000000..f6a1598 --- /dev/null +++ b/templates/ja/printer-cancel-jobs.tmpl @@ -0,0 +1,5 @@ +

    Cancel Jobs On {is_class?クラス:プリンター} {printer_name} のジョブのキャンセル

    + +

    {is_class?クラス:プリンター} {printer_name} +のすべてのジョブはキャンセルされました。

    diff --git a/templates/ja/printer-configured.tmpl b/templates/ja/printer-configured.tmpl new file mode 100644 index 0000000..190fb9b --- /dev/null +++ b/templates/ja/printer-configured.tmpl @@ -0,0 +1,4 @@ +

    {printer_name} のデフォルトオプションの設定

    + +

    {OP=set-class-options?クラス :プリンター }{printer_name} +のデフォルトオプションは正しく設定されました。 diff --git a/templates/ja/printer-confirm.tmpl b/templates/ja/printer-confirm.tmpl new file mode 100644 index 0000000..bdbaf3d --- /dev/null +++ b/templates/ja/printer-confirm.tmpl @@ -0,0 +1,5 @@ +

    プリンター {printer_name} の削除

    + +

    警告: 本当にプリンター {printer_name} を削除してよいですか?

    + +

    diff --git a/templates/ja/printer-default.tmpl b/templates/ja/printer-default.tmpl new file mode 100644 index 0000000..cc5398c --- /dev/null +++ b/templates/ja/printer-default.tmpl @@ -0,0 +1,8 @@ +

    {is_class?クラス:プリンター} {printer_name} をデフォルトに設定

    + +

    {is_class?クラス:プリンター} {printer_name} +をサーバーのデフォルトプリンターに設定しました。

    + +
    注意: lpoptions コマンドで設定されたユーザーのデフォルトは、 +このサーバーのデフォルト設定を上書きします。
    diff --git a/templates/ja/printer-deleted.tmpl b/templates/ja/printer-deleted.tmpl new file mode 100644 index 0000000..0aa3adb --- /dev/null +++ b/templates/ja/printer-deleted.tmpl @@ -0,0 +1,3 @@ +

    プリンター {printer_name} の削除

    + +

    プリンター {printer_name} は正しく削除されました。 diff --git a/templates/ja/printer-jobs-header.tmpl b/templates/ja/printer-jobs-header.tmpl new file mode 100644 index 0000000..d12840e --- /dev/null +++ b/templates/ja/printer-jobs-header.tmpl @@ -0,0 +1 @@ +

    ジョブ

    diff --git a/templates/ja/printer-modified.tmpl b/templates/ja/printer-modified.tmpl new file mode 100644 index 0000000..d2ed7b5 --- /dev/null +++ b/templates/ja/printer-modified.tmpl @@ -0,0 +1,4 @@ +

    プリンター {printer_name} の変更

    + +

    プリンター {printer_name} +は正しく変更されました。 diff --git a/templates/ja/printer-reject.tmpl b/templates/ja/printer-reject.tmpl new file mode 100644 index 0000000..cc64bbc --- /dev/null +++ b/templates/ja/printer-reject.tmpl @@ -0,0 +1,5 @@ +

    {is_class?クラス:プリンター} {printer_name} のジョブの拒否

    + +

    {is_class?クラス:プリンター} {printer_name} +はジョブを受け付けなくなりました。

    diff --git a/templates/ja/printer-start.tmpl b/templates/ja/printer-start.tmpl new file mode 100644 index 0000000..a13725f --- /dev/null +++ b/templates/ja/printer-start.tmpl @@ -0,0 +1,5 @@ +

    {is_class?クラス:プリンター} {printer_name} の再開

    + +

    {is_class?クラス:プリンター} {printer_name} +は再開しました。

    diff --git a/templates/ja/printer-stop.tmpl b/templates/ja/printer-stop.tmpl new file mode 100644 index 0000000..6c3cbd1 --- /dev/null +++ b/templates/ja/printer-stop.tmpl @@ -0,0 +1,5 @@ +

    {is_class?クラス:プリンター} {printer_name} の停止

    + +

    {is_class?クラス:プリンター} {printer_name} +は停止しました。

    diff --git a/templates/ja/printer.tmpl b/templates/ja/printer.tmpl new file mode 100644 index 0000000..184bba2 --- /dev/null +++ b/templates/ja/printer.tmpl @@ -0,0 +1,43 @@ +

    {printer_name} +({printer_state=3?待機中:{printer_state=4?処理中:一時停止中}}, +{printer_is_accepting_jobs=0?ジョブを拒否中:ジョブを受け付け中}, +{server_is_sharing_printers=0?非:{printer_is_shared=0?非:}} 共有{default_name={printer_name}?, サーバーのデフォルト:})

    + +
    + + + +
    + +
    + + + + +
    + + + + + + +
    説明:{printer_info}
    場所:{printer_location}
    プリンタードライバー:{printer_make_and_model} ({color_supported=1?カラー:白黒}{sides_supported=one-sided?:, 両面可})
    +
    接続:{device_uri}
    デフォルト設定:バナー={job_sheets_default} +用紙サイズ={media_default?{media_default}:不明} +{sides_default?両面指定={sides_default}:}
    diff --git a/templates/ja/printers-header.tmpl b/templates/ja/printers-header.tmpl new file mode 100644 index 0000000..1342eff --- /dev/null +++ b/templates/ja/printers-header.tmpl @@ -0,0 +1 @@ +

    {total=0?プリンターはありません:{total} 台のプリンターのうち {#printer_name} 台を表示中}。

    diff --git a/templates/ja/printers.tmpl b/templates/ja/printers.tmpl new file mode 100644 index 0000000..70bbc81 --- /dev/null +++ b/templates/ja/printers.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    キュー名説明場所メーカーとモデル状態
    {printer_name}{printer_info}{printer_location}{printer_make_and_model}{printer_state=3?待機中:{printer_state=4?処理中:停止}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/ja/restart.tmpl b/templates/ja/restart.tmpl new file mode 100644 index 0000000..70c537e --- /dev/null +++ b/templates/ja/restart.tmpl @@ -0,0 +1,4 @@ +

    設定の変更

    + +

    サーバーが再起動する間しばらくお待ちください...

    diff --git a/templates/ja/search.tmpl b/templates/ja/search.tmpl new file mode 100644 index 0000000..3e81995 --- /dev/null +++ b/templates/ja/search.tmpl @@ -0,0 +1,10 @@ +
    +{WHICH_JOBS?:} +{ORDER?:} + +

    +{SEARCH_DEST?{SEARCH_DEST}:{SECTION=classes?クラス:{SECTION=jobs?ジョブ:プリンター}}} 内を検索: +

    + +
    diff --git a/templates/ja/set-printer-options-header.tmpl b/templates/ja/set-printer-options-header.tmpl new file mode 100644 index 0000000..4ab07db --- /dev/null +++ b/templates/ja/set-printer-options-header.tmpl @@ -0,0 +1,24 @@ +

    {printer_name} のデフォルトオプションの変更

    + +
    + + + +{HAVE_AUTOCONFIGURE?:} + + + +

    {[group_id] +{group}     }

    + +
    diff --git a/templates/ja/set-printer-options-trailer.tmpl b/templates/ja/set-printer-options-trailer.tmpl new file mode 100644 index 0000000..b92988a --- /dev/null +++ b/templates/ja/set-printer-options-trailer.tmpl @@ -0,0 +1,14 @@ +
    + + +
    diff --git a/templates/ja/test-page.tmpl b/templates/ja/test-page.tmpl new file mode 100644 index 0000000..b460010 --- /dev/null +++ b/templates/ja/test-page.tmpl @@ -0,0 +1,4 @@ +

    {printer_name} のテストページ印刷

    + +

    テストページを送信しました; ジョブ ID は +{printer_name}-{job_id} です。

    diff --git a/templates/ja/trailer.tmpl b/templates/ja/trailer.tmpl new file mode 100644 index 0000000..a4f86b1 --- /dev/null +++ b/templates/ja/trailer.tmpl @@ -0,0 +1,5 @@ +
    +
    + + + diff --git a/templates/ja/users.tmpl b/templates/ja/users.tmpl new file mode 100644 index 0000000..fc695d8 --- /dev/null +++ b/templates/ja/users.tmpl @@ -0,0 +1,27 @@ +
    + + + +{IS_CLASS?:} + +

    {printer_name} に許可するユーザー

    + + + + + + + + + + +
    ユーザー: + +
    + + +
    + +
    + +
    diff --git a/templates/job-cancel.tmpl b/templates/job-cancel.tmpl new file mode 100644 index 0000000..0b0106e --- /dev/null +++ b/templates/job-cancel.tmpl @@ -0,0 +1,3 @@ +

    Cancel Job {job_id}

    + +

    Job {job_id} has been canceled. diff --git a/templates/job-hold.tmpl b/templates/job-hold.tmpl new file mode 100644 index 0000000..3b5cd6a --- /dev/null +++ b/templates/job-hold.tmpl @@ -0,0 +1,3 @@ +

    Hold Job {job_id}

    + +

    Job {job_id} has been held from printing. diff --git a/templates/job-move.tmpl b/templates/job-move.tmpl new file mode 100644 index 0000000..c2f7046 --- /dev/null +++ b/templates/job-move.tmpl @@ -0,0 +1,23 @@ +

    + + +{job_id?:} + +

    {job_id?Move Job {job_id}:Move All Jobs}

    + + + + + + + + + + +
    New Destination: + +
    + +
    diff --git a/templates/job-moved.tmpl b/templates/job-moved.tmpl new file mode 100644 index 0000000..4893e24 --- /dev/null +++ b/templates/job-moved.tmpl @@ -0,0 +1,4 @@ +

    {job_id?Move Job {job_id}:Move All Jobs}

    + +

    {job_id?Job {job_id}:All jobs} moved to +{job_printer_name}.

    diff --git a/templates/job-release.tmpl b/templates/job-release.tmpl new file mode 100644 index 0000000..fe93793 --- /dev/null +++ b/templates/job-release.tmpl @@ -0,0 +1,3 @@ +

    Release Job {job_id}

    + +

    Job {job_id} has been released for printing. diff --git a/templates/job-restart.tmpl b/templates/job-restart.tmpl new file mode 100644 index 0000000..b5dfd95 --- /dev/null +++ b/templates/job-restart.tmpl @@ -0,0 +1,3 @@ +

    Reprint Job {job_id}

    + +

    Job {job_id} has been restarted. diff --git a/templates/jobs-header.tmpl b/templates/jobs-header.tmpl new file mode 100644 index 0000000..3b9a73a --- /dev/null +++ b/templates/jobs-header.tmpl @@ -0,0 +1,5 @@ +{?which_jobs=?:

    } +{?which_jobs=completed?:
    } +{?which_jobs=all?:
    } + +

    {?which_jobs=?Jobs listed in print order; held jobs appear first.:{which_jobs=Jobs listed in ascending order.?:Jobs listed in descending order.}}

    diff --git a/templates/jobs.tmpl b/templates/jobs.tmpl new file mode 100644 index 0000000..353767c --- /dev/null +++ b/templates/jobs.tmpl @@ -0,0 +1,36 @@ +{#job_id=0?: + + + + + +{[job_id] + + + + + + + + + +} + +
    IDNameUserSizePagesStateControl
    {job_printer_name}-{job_id}{?phone? ({phone}):} {?job_name=?Unknown:{job_name}} {?job_originating_user_name=?Withheld:{job_originating_user_name}} {job_k_octets}k {job_impressions_completed=0?Unknown:{?job_impressions_completed}} {job_state=3?pending since
    {?time_at_creation=?Unknown:{time_at_creation}}:{job_state=4?held since
    {?time_at_creation=?Unknown:{time_at_creation}}: +{job_state=5?processing since
    {?time_at_processing=?Unknown:{time_at_processing}}:{job_state=6?stopped: +{job_state=7?canceled at
    {?time_at_completed=?Unknown:{time_at_completed}}:{job_state=8?aborted:completed at
    {?time_at_completed=?Unknown:{time_at_completed}}}}}}}} {job_printer_state_message?
    +"{job_printer_state_message}":}
    +{job_preserved>0?{job_state>5? +
    :}:} +{job_state=4?{job_hold_until=auth-info-required?Held for authentication.: +
    +
    :}:} +{job_state=3? +
    +
    :} +{job_state<7? +
    +
    +
    :} + 
    +} diff --git a/templates/list-available-printers.tmpl b/templates/list-available-printers.tmpl new file mode 100644 index 0000000..9fe7b12 --- /dev/null +++ b/templates/list-available-printers.tmpl @@ -0,0 +1,7 @@ +

    Available Printers

    + +{#device_uri=0?

    No printers found.

    +:
      {[device_uri] +
    • +{device_make_and_model} ({device_info})
    • +}
    } diff --git a/templates/modify-class.tmpl b/templates/modify-class.tmpl new file mode 100644 index 0000000..1aa4fe6 --- /dev/null +++ b/templates/modify-class.tmpl @@ -0,0 +1,31 @@ +

    Modify Class {printer_name}

    + +
    + + + + + + + + + + + + + + + + + + + + + +
    Description:
    Location:
    Members: + +
    + +
    diff --git a/templates/modify-printer.tmpl b/templates/modify-printer.tmpl new file mode 100644 index 0000000..1aed9f3 --- /dev/null +++ b/templates/modify-printer.tmpl @@ -0,0 +1,39 @@ +

    Modify {printer_name}

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Description:
    +(Human-readable description such as "HP LaserJet with Duplexer")
    Location:
    +(Human-readable location such as "Lab 1")
    Connection:{device_uri}
    Sharing: +
    + +
    diff --git a/templates/norestart.tmpl b/templates/norestart.tmpl new file mode 100644 index 0000000..70bf3d3 --- /dev/null +++ b/templates/norestart.tmpl @@ -0,0 +1,4 @@ +

    Change Settings

    + +

    The server was not restarted because no changes were made to +the configuration...

    diff --git a/templates/option-boolean.tmpl b/templates/option-boolean.tmpl new file mode 100644 index 0000000..ce9b6af --- /dev/null +++ b/templates/option-boolean.tmpl @@ -0,0 +1,6 @@ + +{keytext}: + +{[choices]} + + diff --git a/templates/option-conflict.tmpl b/templates/option-conflict.tmpl new file mode 100644 index 0000000..3772295 --- /dev/null +++ b/templates/option-conflict.tmpl @@ -0,0 +1,7 @@ +

    Error: The following options are conflicting:

    + + + +

    Please change one or more of the options to resolve the conflicts.

    diff --git a/templates/option-header.tmpl b/templates/option-header.tmpl new file mode 100644 index 0000000..464726a --- /dev/null +++ b/templates/option-header.tmpl @@ -0,0 +1,5 @@ +
    + +

    {group}

    + + diff --git a/templates/option-pickmany.tmpl b/templates/option-pickmany.tmpl new file mode 100644 index 0000000..0da75e5 --- /dev/null +++ b/templates/option-pickmany.tmpl @@ -0,0 +1,6 @@ + + + + diff --git a/templates/option-pickone.tmpl b/templates/option-pickone.tmpl new file mode 100644 index 0000000..890ef4e --- /dev/null +++ b/templates/option-pickone.tmpl @@ -0,0 +1,18 @@ + + +:} + diff --git a/templates/option-trailer.tmpl b/templates/option-trailer.tmpl new file mode 100644 index 0000000..17c9281 --- /dev/null +++ b/templates/option-trailer.tmpl @@ -0,0 +1,5 @@ +
    {keytext}:
    {keytext}: +{iscustom=1?{[params] + + +}
    {paramtext}:{params=Units?:}
    +
    + +

    + +
    \ No newline at end of file diff --git a/templates/pager.tmpl b/templates/pager.tmpl new file mode 100644 index 0000000..76e0167 --- /dev/null +++ b/templates/pager.tmpl @@ -0,0 +1,7 @@ + + + + + +
    {PREV?{PREV>0?
    :}
    : }
    {NEXT?
    : } + {LAST?
    :}
    diff --git a/templates/printer-accept.tmpl b/templates/printer-accept.tmpl new file mode 100644 index 0000000..db5d8da --- /dev/null +++ b/templates/printer-accept.tmpl @@ -0,0 +1,5 @@ +

    Accept Jobs On {is_class?Class:Printer} {printer_name}

    + +

    {is_class?Class:Printer} {printer_name} +is now accepting jobs.

    diff --git a/templates/printer-added.tmpl b/templates/printer-added.tmpl new file mode 100644 index 0000000..0ccf6d3 --- /dev/null +++ b/templates/printer-added.tmpl @@ -0,0 +1,4 @@ +

    Add Printer

    + +

    Printer {printer_name} has been added +successfully. diff --git a/templates/printer-cancel-jobs.tmpl b/templates/printer-cancel-jobs.tmpl new file mode 100644 index 0000000..4376646 --- /dev/null +++ b/templates/printer-cancel-jobs.tmpl @@ -0,0 +1,5 @@ +

    Cancel Jobs On {is_class?Class:Printer} {printer_name}

    + +

    All jobs on {is_class?class:printer} {printer_name} +have been canceled.

    diff --git a/templates/printer-configured.tmpl b/templates/printer-configured.tmpl new file mode 100644 index 0000000..7bce3f9 --- /dev/null +++ b/templates/printer-configured.tmpl @@ -0,0 +1,4 @@ +

    Set Default Options for {printer_name}

    + +

    {OP=set-class-options?Class :Printer }{printer_name} +default options have been set successfully. diff --git a/templates/printer-confirm.tmpl b/templates/printer-confirm.tmpl new file mode 100644 index 0000000..c1b2b17 --- /dev/null +++ b/templates/printer-confirm.tmpl @@ -0,0 +1,6 @@ +

    Delete Printer {printer_name}

    + +

    Warning: Are you sure you want to delete printer +{printer_name}?

    + +

    diff --git a/templates/printer-default.tmpl b/templates/printer-default.tmpl new file mode 100644 index 0000000..af21dca --- /dev/null +++ b/templates/printer-default.tmpl @@ -0,0 +1,9 @@ +

    Set {is_class?Class:Printer} {printer_name} As Default

    + +

    {is_class?Class:Printer} {printer_name} +has been made the default printer on the server.

    + +
    Note: Any user default that has been set via +the lpoptions command will override this default +setting.
    diff --git a/templates/printer-deleted.tmpl b/templates/printer-deleted.tmpl new file mode 100644 index 0000000..ea462ce --- /dev/null +++ b/templates/printer-deleted.tmpl @@ -0,0 +1,3 @@ +

    Delete Printer {printer_name}

    + +

    Printer {printer_name} has been deleted successfully. diff --git a/templates/printer-jobs-header.tmpl b/templates/printer-jobs-header.tmpl new file mode 100644 index 0000000..61e5151 --- /dev/null +++ b/templates/printer-jobs-header.tmpl @@ -0,0 +1 @@ +

    Jobs

    diff --git a/templates/printer-modified.tmpl b/templates/printer-modified.tmpl new file mode 100644 index 0000000..1193a48 --- /dev/null +++ b/templates/printer-modified.tmpl @@ -0,0 +1,4 @@ +

    Modify Printer {printer_name}

    + +

    Printer {printer_name} has been +modified successfully. diff --git a/templates/printer-reject.tmpl b/templates/printer-reject.tmpl new file mode 100644 index 0000000..823c7e5 --- /dev/null +++ b/templates/printer-reject.tmpl @@ -0,0 +1,5 @@ +

    Reject Jobs On {is_class?Class:Printer} {printer_name}

    + +

    {is_class?Class:Printer} {printer_name} +is no longer accepting jobs.

    diff --git a/templates/printer-start.tmpl b/templates/printer-start.tmpl new file mode 100644 index 0000000..76d44ed --- /dev/null +++ b/templates/printer-start.tmpl @@ -0,0 +1,5 @@ +

    Resume {is_class?Class:Printer} {printer_name}

    + +

    {is_class?Class:Printer} {printer_name} +has been resumed.

    diff --git a/templates/printer-stop.tmpl b/templates/printer-stop.tmpl new file mode 100644 index 0000000..8c264b2 --- /dev/null +++ b/templates/printer-stop.tmpl @@ -0,0 +1,5 @@ +

    Pause {is_class?Class:Printer} {printer_name}

    + +

    {is_class?Class:Printer} {printer_name} +has been paused.

    diff --git a/templates/printer.tmpl b/templates/printer.tmpl new file mode 100644 index 0000000..705f69f --- /dev/null +++ b/templates/printer.tmpl @@ -0,0 +1,43 @@ +

    {printer_name} +({printer_state=3?Idle:{printer_state=4?Processing:Paused}}, +{printer_is_accepting_jobs=0?Rejecting Jobs:Accepting Jobs}, +{server_is_sharing_printers=0?Not:{printer_is_shared=0?Not:}} Shared{default_name={printer_name}?, Server Default:})

    + +
    + + + +
    + +
    + + + + +
    + + + + + + +
    Description:{printer_info}
    Location:{printer_location}
    Driver:{printer_make_and_model} ({color_supported=1?color:grayscale}{sides_supported=one-sided?:, 2-sided printing})
    +
    Connection:{device_uri}
    Defaults:job-sheets={job_sheets_default} +media={media_default?{media_default}:unknown} +{sides_default?sides={sides_default}:}
    diff --git a/templates/printers-header.tmpl b/templates/printers-header.tmpl new file mode 100644 index 0000000..5196be1 --- /dev/null +++ b/templates/printers-header.tmpl @@ -0,0 +1 @@ +

    {total=0?No printers:Showing {#printer_name} of {total} printer{total=1?:s}}.

    diff --git a/templates/printers.tmpl b/templates/printers.tmpl new file mode 100644 index 0000000..a80763e --- /dev/null +++ b/templates/printers.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    Queue NameDescriptionLocationMake and ModelStatus
    {printer_name}{printer_info}{printer_location}{printer_make_and_model}{printer_state=3?Idle:{printer_state=4?Processing:Paused}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/pt_BR/add-class.tmpl b/templates/pt_BR/add-class.tmpl new file mode 100644 index 0000000..69efa3f --- /dev/null +++ b/templates/pt_BR/add-class.tmpl @@ -0,0 +1,37 @@ +

    Adicionar classe

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Nome:
    +(Pode conter qualquer caractere imprimível, exceto "/", "#", e espaço em branco)
    Descrição:
    +(Descrição legível para humanos, tal como "HP LaserJet com Duplexador")
    Localização:
    +(Localização legível para humanos, tal como "Laboratório 1")
    Membros: + +
    + +
    diff --git a/templates/pt_BR/add-printer.tmpl b/templates/pt_BR/add-printer.tmpl new file mode 100644 index 0000000..ce82480 --- /dev/null +++ b/templates/pt_BR/add-printer.tmpl @@ -0,0 +1,44 @@ +

    Adicionar impressora

    + +
    + + + + + + +{?current_make!?:} +{?current_make_and_model!?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nome:
    +(Pode conter qualquer caractere imprimível, exceto "/", "#" e espaço em branco)
    Descrição:
    +(Descrição legível para humanos, tal como "HP LaserJet com Duplexador")
    Localização:
    +(Localização legível para humanos, tal como "Laboratório 1")
    Conexão:{device_uri}
    Compartilhamento: +
    + +
    diff --git a/templates/pt_BR/admin.tmpl b/templates/pt_BR/admin.tmpl new file mode 100644 index 0000000..7dedf03 --- /dev/null +++ b/templates/pt_BR/admin.tmpl @@ -0,0 +1,77 @@ +
    +
    +

    Impressoras

    + +

    +

    +
    +
    +

    + +

    Classes

    + +

    +

    +
    +

    + +

    Trabalhos

    + +

    +

    +

    +
    +
    +

    Servidor

    + +

    +

    +

    + + {SETTINGS_ERROR?

    {SETTINGS_MESSAGE}

    +
    {SETTINGS_ERROR}
    : + +
    + + + {ADVANCEDSETTINGS?

    Configurações do servidor\:

    + +

    Avançado
    + + +
    +         Máximo de clientes\: +
    +         
    +         
    +
    + {have_gssapi?
    :} +
    +
    +         Máximo de trabalhos (0 para sem limite)\: +
    +         Reter metadados\: +
    +         Reter documentos\: +
    +
    +         Tamanho máximo do arquivo de log\: +

    + + :

    Configurações do servidor:

    + +

    Avançado
    + +
    +         
    +
    + {have_gssapi?
    :} +
    +

    + + } +

    + +
    } +
    +
    diff --git a/templates/pt_BR/choose-device.tmpl b/templates/pt_BR/choose-device.tmpl new file mode 100644 index 0000000..fa8f74b --- /dev/null +++ b/templates/pt_BR/choose-device.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?Modificar {printer_name}:Adicionar impressora}

    + +{CUPS_GET_DEVICES_DONE?
    + + +{printer_name?:} + + +{op=add-printer?: + + +} + + + + + + + + + + + + + + + + + +
    Conexão atual\: +
    Impressoras locais\: +{[device_uri]{device_class!network? +
    +:}} +
    Impressoras de rede descobertas\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://? +
    +:}:}} +
    Outras impressoras de rede\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://?: +
    +}:}} +
    + +
    :

    Procurando impressoras...

    } diff --git a/templates/pt_BR/choose-make.tmpl b/templates/pt_BR/choose-make.tmpl new file mode 100644 index 0000000..33c3aad --- /dev/null +++ b/templates/pt_BR/choose-make.tmpl @@ -0,0 +1,61 @@ +

    {op=modify-printer?Modificar {printer_name}:Adicionar impressora}

    + +
    + + +{printer_name?:} + + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nome:{printer_name}
    Descrição:{printer_info}
    Localização:{printer_location}
    Conexão:{device_uri}
    Compartilhamento: +{?printer_is_shared=?Não compartilhar:{?printer_is_shared=0?Não compartilhar:Compartilhar}} esta impressora
    Fabricante: + +
     
    Ou forneça um arquivo PPD:
    + +
    diff --git a/templates/pt_BR/choose-model.tmpl b/templates/pt_BR/choose-model.tmpl new file mode 100644 index 0000000..2dc68ab --- /dev/null +++ b/templates/pt_BR/choose-model.tmpl @@ -0,0 +1,58 @@ +

    {op=modify-printer?Modificar {printer_name}:Adicionar impressora}

    + +
    + + +{printer_name?:} + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Nome:{printer_name}
    Descrição:{printer_info}
    Localização:{printer_location}
    Conexão:{device_uri}
    Compartilhamento: +{?printer_is_shared=?Não compartilhar:{?printer_is_shared=0?Não compartilhar:Compartilhar}} esta impressora
    Fabricante:{PPD_MAKE}
    Modelo: + +
    Ou forneça um arquivo PPD:
    + +
    diff --git a/templates/pt_BR/choose-serial.tmpl b/templates/pt_BR/choose-serial.tmpl new file mode 100644 index 0000000..743d83e --- /dev/null +++ b/templates/pt_BR/choose-serial.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?Modificar {printer_name}:Adicionar impressora}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Conexão:{device_uri}
    Taxa de dados (Baud Rate):
    Paridade:
    Bits de Dados:
    Controle de Fluxo:
    + +
    diff --git a/templates/pt_BR/choose-uri.tmpl b/templates/pt_BR/choose-uri.tmpl new file mode 100644 index 0000000..8399576 --- /dev/null +++ b/templates/pt_BR/choose-uri.tmpl @@ -0,0 +1,41 @@ +

    {op=modify-printer?Modificar {printer_name}:Adicionar impressora}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + +
    Conexão:
    Exemplos: +
    +    http://hostname:631/ipp/
    +    http://hostname:631/ipp/port1
    +
    +    ipp://hostname/ipp/
    +    ipp://hostname/ipp/port1
    +
    +    lpd://hostname/queue
    +
    +    socket://hostname
    +    socket://hostname:9100
    +
    + +

    Veja "Network +Printers" para a URI correta a ser usada para sua impressora.

    + +
    + +
    diff --git a/templates/pt_BR/class-added.tmpl b/templates/pt_BR/class-added.tmpl new file mode 100644 index 0000000..1321ed4 --- /dev/null +++ b/templates/pt_BR/class-added.tmpl @@ -0,0 +1,3 @@ +

    Adicionar classe

    + +

    A classe {printer_name} foi adicionada com sucesso. diff --git a/templates/pt_BR/class-confirm.tmpl b/templates/pt_BR/class-confirm.tmpl new file mode 100644 index 0000000..324a720 --- /dev/null +++ b/templates/pt_BR/class-confirm.tmpl @@ -0,0 +1,5 @@ +

    Excluir classe {printer_name}

    + +

    Aviso: Você tem certeza que quer excluir a classe {printer_name}?

    + +

    diff --git a/templates/pt_BR/class-deleted.tmpl b/templates/pt_BR/class-deleted.tmpl new file mode 100644 index 0000000..44d4dc2 --- /dev/null +++ b/templates/pt_BR/class-deleted.tmpl @@ -0,0 +1,3 @@ +

    Excluir classe {printer_name}

    + +

    A classe {printer_name} foi excluída com sucesso. diff --git a/templates/pt_BR/class-jobs-header.tmpl b/templates/pt_BR/class-jobs-header.tmpl new file mode 100644 index 0000000..89186cb --- /dev/null +++ b/templates/pt_BR/class-jobs-header.tmpl @@ -0,0 +1 @@ +

    Trabalhos

    diff --git a/templates/pt_BR/class-modified.tmpl b/templates/pt_BR/class-modified.tmpl new file mode 100644 index 0000000..44ee17a --- /dev/null +++ b/templates/pt_BR/class-modified.tmpl @@ -0,0 +1,3 @@ +

    Modificar classe {printer_name}

    + +

    A classe {printer_name} foi modificada com sucesso. diff --git a/templates/pt_BR/class.tmpl b/templates/pt_BR/class.tmpl new file mode 100644 index 0000000..dc50377 --- /dev/null +++ b/templates/pt_BR/class.tmpl @@ -0,0 +1,41 @@ +

    {printer_name} +({printer_state=3?ociosa:{printer_state=4?processando:pausada}}, +{printer_is_accepting_jobs=0?rejeitando trabalhos:aceitando trabalhos}, +{server_is_sharing_printers=0?não compartilhada:{printer_is_shared=0?não compartilhada:compartilhada}} {default_name={printer_name}?, padrão do servidor:})

    + +
    + + + +
    + +
    + + + + + +
    + + + + + + +
    Descrição:{printer_info}
    Localização:{printer_location}
    Membros:{?member_uris=?None:{member_uris}}
    Padrões:job-sheets={job_sheets_default} +media={media_default?{media_default}:desconhecido} +{sides_default?sides={sides_default}:}
    diff --git a/templates/pt_BR/classes-header.tmpl b/templates/pt_BR/classes-header.tmpl new file mode 100644 index 0000000..acac395 --- /dev/null +++ b/templates/pt_BR/classes-header.tmpl @@ -0,0 +1 @@ +

    {total=0?Nenhuma classe:Mostrando {#printer_name} de {total} classe{total=1?:s}}.

    diff --git a/templates/pt_BR/classes.tmpl b/templates/pt_BR/classes.tmpl new file mode 100644 index 0000000..7240151 --- /dev/null +++ b/templates/pt_BR/classes.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    Nome da filaDescriçãoLocalizaçãoMembrosEstado
    {printer_name}{printer_info}{printer_location}{?member_uris=?Nenhum:{member_uris}}{printer_state=3?ociosa:{printer_state=4?processando:pausada}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/pt_BR/command.tmpl b/templates/pt_BR/command.tmpl new file mode 100644 index 0000000..d89cafc --- /dev/null +++ b/templates/pt_BR/command.tmpl @@ -0,0 +1,8 @@ +

    {title} em {printer_name}

    + +

    {job_state>5?:Busy Indicator }Trabalho de comando de impressora +{job_state=3?pendente:{job_state=4?retido: +{job_state=5?processando:{job_state=6?parado: +{job_state=7?cancelado:{job_state=8?abortado:completo}}}}}}{job_state=9?:{job_printer_state_message?, +"{job_printer_state_message}":}}

    diff --git a/templates/pt_BR/edit-config.tmpl b/templates/pt_BR/edit-config.tmpl new file mode 100644 index 0000000..8c5e282 --- /dev/null +++ b/templates/pt_BR/edit-config.tmpl @@ -0,0 +1,20 @@ + + +

    Editar arquivo de configuração

    + +
    + + + + + +

    +

    + +
    diff --git a/templates/pt_BR/error-op.tmpl b/templates/pt_BR/error-op.tmpl new file mode 100644 index 0000000..cdc4b14 --- /dev/null +++ b/templates/pt_BR/error-op.tmpl @@ -0,0 +1,5 @@ +

    Erro {?title} {?printer_name}

    + +

    Erro:

    + +
    Operação desconhecida "{op}"!
    diff --git a/templates/pt_BR/error.tmpl b/templates/pt_BR/error.tmpl new file mode 100644 index 0000000..af1c046 --- /dev/null +++ b/templates/pt_BR/error.tmpl @@ -0,0 +1,5 @@ +

    Erro {?title} {?printer_name}

    + +

    {?message?{message}:Erro}:

    + +
    {error}
    diff --git a/templates/pt_BR/header.tmpl.in b/templates/pt_BR/header.tmpl.in new file mode 100644 index 0000000..4263b77 --- /dev/null +++ b/templates/pt_BR/header.tmpl.in @@ -0,0 +1,43 @@ + + + + + + + + {refresh_page?:} + + + + + {title} - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
    +
    +

    {title}

    diff --git a/templates/pt_BR/help-header.tmpl b/templates/pt_BR/help-header.tmpl new file mode 100644 index 0000000..d6a43fe --- /dev/null +++ b/templates/pt_BR/help-header.tmpl @@ -0,0 +1,42 @@ +
    +{TOPIC?:} + +

    Pesquisar em +{HELPTITLE?{HELPTITLE}:{TOPIC?{TOPIC}:todos os documentos}}: + +

    + +
    + + + + +{QUERY?

    Pesquisar resultados em {HELPFILE?{HELPTITLE}:{TOPIC?{TOPIC}:Todos os documentos}}\:

    +{QTEXT?:} +:

    Nenhum resultado encontrado.

    } +
    :} +{HELPTITLE?

    {HELPTITLE}

    +
    : + +

    Ajuda online

    + +

    Essa é a interface de ajuda online do CUPS. Forneça expressões de pesquisa acima ou clique em qualquer um dos links de documentação para mostrar a informação de ajuda online.

    + +

    Se você é novo no CUPS, leia a página "Visão geral do CUPS".

    + +

    A página inicial do CUPS também fornece muitos recursos incluindo fórums de discussão de usuários, respostas a perguntas frequentes e um formulário para enviar registros de erros e pedidos de melhorias.

    } diff --git a/templates/pt_BR/help-printable.tmpl b/templates/pt_BR/help-printable.tmpl new file mode 100644 index 0000000..2463c16 --- /dev/null +++ b/templates/pt_BR/help-printable.tmpl @@ -0,0 +1,9 @@ + + + + + {HELPTITLE} + + + + diff --git a/templates/pt_BR/help-trailer.tmpl b/templates/pt_BR/help-trailer.tmpl new file mode 100644 index 0000000..e69de29 diff --git a/templates/pt_BR/job-cancel.tmpl b/templates/pt_BR/job-cancel.tmpl new file mode 100644 index 0000000..1c6acbf --- /dev/null +++ b/templates/pt_BR/job-cancel.tmpl @@ -0,0 +1,3 @@ +

    Cancelar trabalho {job_id}

    + +

    Trabalho {job_id} foi cancelado. diff --git a/templates/pt_BR/job-hold.tmpl b/templates/pt_BR/job-hold.tmpl new file mode 100644 index 0000000..2465207 --- /dev/null +++ b/templates/pt_BR/job-hold.tmpl @@ -0,0 +1,3 @@ +

    Reter trabalho {job_id}

    + +

    Trabalho {job_id} foi retido para não ser impresso. diff --git a/templates/pt_BR/job-move.tmpl b/templates/pt_BR/job-move.tmpl new file mode 100644 index 0000000..32e0f38 --- /dev/null +++ b/templates/pt_BR/job-move.tmpl @@ -0,0 +1,23 @@ +

    + + +{job_id?:} + +

    {job_id?Mover trabalho {job_id}:Mover todos trabalhos}

    + + + + + + + + + + +
    Novo destino: + +
    + +
    diff --git a/templates/pt_BR/job-moved.tmpl b/templates/pt_BR/job-moved.tmpl new file mode 100644 index 0000000..df0440e --- /dev/null +++ b/templates/pt_BR/job-moved.tmpl @@ -0,0 +1,4 @@ +

    {job_id?Mover trabalho {job_id}:Mover trabalhos}

    + +

    {job_id?Trabalho {job_id} for movido:Todos trabalhos foram movidos} para +{job_printer_name}.

    diff --git a/templates/pt_BR/job-release.tmpl b/templates/pt_BR/job-release.tmpl new file mode 100644 index 0000000..d2c76d0 --- /dev/null +++ b/templates/pt_BR/job-release.tmpl @@ -0,0 +1,3 @@ +

    Liberar trabalho {job_id}

    + +

    Trabalho {job_id} foi liberado para impressão. diff --git a/templates/pt_BR/job-restart.tmpl b/templates/pt_BR/job-restart.tmpl new file mode 100644 index 0000000..40699d6 --- /dev/null +++ b/templates/pt_BR/job-restart.tmpl @@ -0,0 +1,3 @@ +

    Reimprimir trabalho {job_id}

    + +

    Trabalho {job_id} foi reiniciado. diff --git a/templates/pt_BR/jobs-header.tmpl b/templates/pt_BR/jobs-header.tmpl new file mode 100644 index 0000000..91f061a --- /dev/null +++ b/templates/pt_BR/jobs-header.tmpl @@ -0,0 +1,5 @@ +{?which_jobs=?:

    } +{?which_jobs=completed?:
    } +{?which_jobs=all?:
    } + +

    {?which_jobs=?Jobs listed in print order; held jobs appear first.:{which_jobs=Jobs listed in ascending order.?:Jobs listed in descending order.}}

    diff --git a/templates/pt_BR/jobs.tmpl b/templates/pt_BR/jobs.tmpl new file mode 100644 index 0000000..af5826f --- /dev/null +++ b/templates/pt_BR/jobs.tmpl @@ -0,0 +1,36 @@ +{#job_id=0?: + + + + + +{[job_id] + + + + + + + + + +} + +
    IDNomeUsuárioTamanhoPáginasEstadoControle
    {job_printer_name}-{job_id}{?phone? ({phone}):} {?job_name=?Desconhecido:{job_name}} {?job_originating_user_name=?Retido:{job_originating_user_name}} {job_k_octets}k {job_impressions_completed=0?Desconhecido:{?job_impressions_completed}} {job_state=3?Pendente desde
    {?time_at_creation=?Unknown:{time_at_creation}}:{job_state=4?Retido desde
    {?time_at_creation=?Unknown:{time_at_creation}}: +{job_state=5?Processando desde
    {?time_at_processing=?Unknown:{time_at_processing}}:{job_state=6?parado: +{job_state=7?Cancelado em
    {?time_at_completed=?Unknown:{time_at_completed}}:{job_state=8?Abortado:Concluído em
    {?time_at_completed=?Unknown:{time_at_completed}}}}}}}} {job_printer_state_message?
    +"{job_printer_state_message}":}
    +{job_preserved>0?{job_state>5? +
    :}:} +{job_state=4? +
    +
    :} +{job_state=3? +
    +
    :} +{job_state<7? +
    +
    +
    :} + 
    +} diff --git a/templates/pt_BR/list-available-printers.tmpl b/templates/pt_BR/list-available-printers.tmpl new file mode 100644 index 0000000..9152ed4 --- /dev/null +++ b/templates/pt_BR/list-available-printers.tmpl @@ -0,0 +1,7 @@ +

    Impressoras disponíveis

    + +{#device_uri=0?

    Nenhuma impressora encontrada.

    +:
      {[device_uri] +
    • +{device_make_and_model} ({device_info})
    • +}
    } diff --git a/templates/pt_BR/modify-class.tmpl b/templates/pt_BR/modify-class.tmpl new file mode 100644 index 0000000..54c524d --- /dev/null +++ b/templates/pt_BR/modify-class.tmpl @@ -0,0 +1,31 @@ +

    Modificar classe {printer_name}

    + +
    + + + + + + + + + + + + + + + + + + + + + +
    Descrição:
    Localização:
    Membros: + +
    + +
    diff --git a/templates/pt_BR/modify-printer.tmpl b/templates/pt_BR/modify-printer.tmpl new file mode 100644 index 0000000..bb753af --- /dev/null +++ b/templates/pt_BR/modify-printer.tmpl @@ -0,0 +1,39 @@ +

    Modificar {printer_name}

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Descrição:
    +(Descrição legível para humanos, tal como "HP LaserJet com Duplexador")
    Localização:
    +(Localização legível para humanos, tal como "Laboratório 1")
    Conexão:{device_uri}
    Compartilhamento: +
    + +
    diff --git a/templates/pt_BR/norestart.tmpl b/templates/pt_BR/norestart.tmpl new file mode 100644 index 0000000..a72facd --- /dev/null +++ b/templates/pt_BR/norestart.tmpl @@ -0,0 +1,3 @@ +

    Alterar configurações

    + +

    O servidor não foi reiniciado porque nenhuma alteração foi feita na configuração...

    diff --git a/templates/pt_BR/option-boolean.tmpl b/templates/pt_BR/option-boolean.tmpl new file mode 100644 index 0000000..ce9b6af --- /dev/null +++ b/templates/pt_BR/option-boolean.tmpl @@ -0,0 +1,6 @@ + +{keytext}: + +{[choices]} + + diff --git a/templates/pt_BR/option-conflict.tmpl b/templates/pt_BR/option-conflict.tmpl new file mode 100644 index 0000000..f649044 --- /dev/null +++ b/templates/pt_BR/option-conflict.tmpl @@ -0,0 +1,7 @@ +

    Erro: As seguintes opções estão conflitando:

    + + + +

    Por favor, altere uma ou mais opções para resolver os conflitos.

    diff --git a/templates/pt_BR/option-header.tmpl b/templates/pt_BR/option-header.tmpl new file mode 100644 index 0000000..464726a --- /dev/null +++ b/templates/pt_BR/option-header.tmpl @@ -0,0 +1,5 @@ +
    + +

    {group}

    + + diff --git a/templates/pt_BR/option-pickmany.tmpl b/templates/pt_BR/option-pickmany.tmpl new file mode 100644 index 0000000..0da75e5 --- /dev/null +++ b/templates/pt_BR/option-pickmany.tmpl @@ -0,0 +1,6 @@ + + + + diff --git a/templates/pt_BR/option-pickone.tmpl b/templates/pt_BR/option-pickone.tmpl new file mode 100644 index 0000000..d46555e --- /dev/null +++ b/templates/pt_BR/option-pickone.tmpl @@ -0,0 +1,18 @@ + + +:} + diff --git a/templates/pt_BR/option-trailer.tmpl b/templates/pt_BR/option-trailer.tmpl new file mode 100644 index 0000000..8e7e494 --- /dev/null +++ b/templates/pt_BR/option-trailer.tmpl @@ -0,0 +1,5 @@ +
    {keytext}:
    {keytext}: +{iscustom=1?{[params] + + +}
    {paramtext}:{params=Units?:}
    +
    + +

    + +
    \ No newline at end of file diff --git a/templates/pt_BR/pager.tmpl b/templates/pt_BR/pager.tmpl new file mode 100644 index 0000000..b388105 --- /dev/null +++ b/templates/pt_BR/pager.tmpl @@ -0,0 +1,7 @@ + + + + + +
    {PREV?{PREV>0?
    :}
    : }
    {NEXT?
    : } + {LAST?
    :}
    diff --git a/templates/pt_BR/printer-accept.tmpl b/templates/pt_BR/printer-accept.tmpl new file mode 100644 index 0000000..15ffa0f --- /dev/null +++ b/templates/pt_BR/printer-accept.tmpl @@ -0,0 +1,4 @@ +

    Aceitar trabalhos na {is_class?classe:impressora} {printer_name}

    + +

    A {is_class?classe:impressora} {printer_name} +agora está aceitando trabalhos.

    diff --git a/templates/pt_BR/printer-added.tmpl b/templates/pt_BR/printer-added.tmpl new file mode 100644 index 0000000..011c8b4 --- /dev/null +++ b/templates/pt_BR/printer-added.tmpl @@ -0,0 +1,4 @@ +

    Adicionar impressora

    + +

    A impressora {printer_name} foi adicionada +com sucesso. diff --git a/templates/pt_BR/printer-cancel-jobs.tmpl b/templates/pt_BR/printer-cancel-jobs.tmpl new file mode 100644 index 0000000..32a22da --- /dev/null +++ b/templates/pt_BR/printer-cancel-jobs.tmpl @@ -0,0 +1,5 @@ +

    Cancelar trabalhos na {is_class?classe:impressora} {printer_name}

    + +

    Todos os trabalhos da {is_class?classe:impressora} {printer_name} +foram cancelados.

    diff --git a/templates/pt_BR/printer-configured.tmpl b/templates/pt_BR/printer-configured.tmpl new file mode 100644 index 0000000..c151f2b --- /dev/null +++ b/templates/pt_BR/printer-configured.tmpl @@ -0,0 +1,4 @@ +

    Configurar opções padrão para {printer_name}

    + +

    As opções padrões da {OP=set-class-options?classe :impressora }{printer_name} +foram configuradas com sucesso. diff --git a/templates/pt_BR/printer-confirm.tmpl b/templates/pt_BR/printer-confirm.tmpl new file mode 100644 index 0000000..29b79e0 --- /dev/null +++ b/templates/pt_BR/printer-confirm.tmpl @@ -0,0 +1,5 @@ +

    Excluir impressora {printer_name}

    + +

    Aviso: Tem certeza que deseja excluir a impressora {printer_name}?

    + +

    diff --git a/templates/pt_BR/printer-default.tmpl b/templates/pt_BR/printer-default.tmpl new file mode 100644 index 0000000..0e4e856 --- /dev/null +++ b/templates/pt_BR/printer-default.tmpl @@ -0,0 +1,8 @@ +

    Definir a {is_class?classe:impressora} {printer_name} como padrão

    + +

    A {is_class?classe:impressora} {printer_name} +foi definida como a impressora padrão no servidor.

    + +
    Nota: O padrão de qualquer usuário que tenha sido configurado via +do comando lpoptions vai sobrepor esta configuração padrão.
    diff --git a/templates/pt_BR/printer-deleted.tmpl b/templates/pt_BR/printer-deleted.tmpl new file mode 100644 index 0000000..40e012e --- /dev/null +++ b/templates/pt_BR/printer-deleted.tmpl @@ -0,0 +1,3 @@ +

    Excluir Impressora {printer_name}

    + +

    A impressora {printer_name} foi excluída com sucesso. \ No newline at end of file diff --git a/templates/pt_BR/printer-jobs-header.tmpl b/templates/pt_BR/printer-jobs-header.tmpl new file mode 100644 index 0000000..89186cb --- /dev/null +++ b/templates/pt_BR/printer-jobs-header.tmpl @@ -0,0 +1 @@ +

    Trabalhos

    diff --git a/templates/pt_BR/printer-modified.tmpl b/templates/pt_BR/printer-modified.tmpl new file mode 100644 index 0000000..de4994d --- /dev/null +++ b/templates/pt_BR/printer-modified.tmpl @@ -0,0 +1,4 @@ +

    Modificar impressora {printer_name}

    + +

    A impressora {printer_name} foi +modificada com sucesso. \ No newline at end of file diff --git a/templates/pt_BR/printer-reject.tmpl b/templates/pt_BR/printer-reject.tmpl new file mode 100644 index 0000000..eb969cb --- /dev/null +++ b/templates/pt_BR/printer-reject.tmpl @@ -0,0 +1,5 @@ +

    Rejeitar trabalhos na {is_class?classe:impressora} {printer_name}

    + +

    A {is_class?classe:impressora} {printer_name} +não está mais aceitando trabalhos.

    diff --git a/templates/pt_BR/printer-start.tmpl b/templates/pt_BR/printer-start.tmpl new file mode 100644 index 0000000..2216239 --- /dev/null +++ b/templates/pt_BR/printer-start.tmpl @@ -0,0 +1,5 @@ +

    Resumir a {is_class?classe:impressora} {printer_name}

    + +

    A {is_class?classe:impressora} {printer_name} +foi resumida com sucesso.

    \ No newline at end of file diff --git a/templates/pt_BR/printer-stop.tmpl b/templates/pt_BR/printer-stop.tmpl new file mode 100644 index 0000000..984aedf --- /dev/null +++ b/templates/pt_BR/printer-stop.tmpl @@ -0,0 +1,5 @@ +

    Pausar a {is_class?classe:impressora} {printer_name}

    + +

    A {is_class?classe:impressora} {printer_name} +foi pausada.

    \ No newline at end of file diff --git a/templates/pt_BR/printer.tmpl b/templates/pt_BR/printer.tmpl new file mode 100644 index 0000000..996b4a4 --- /dev/null +++ b/templates/pt_BR/printer.tmpl @@ -0,0 +1,43 @@ +

    {printer_name} +({printer_state=3?ociosa:{printer_state=4?processando:pausada}}, +{printer_is_accepting_jobs=0?rejeitando trabalhos:aceitando trabalhos}, +{server_is_sharing_printers=0?não compartilhada:{printer_is_shared=0?não compartilhada:compartilhada}} {default_name={printer_name}?, padrão do servidor:})

    + +
    + + + +
    + +
    + + + + +
    + + + + + + +
    Descrição:{printer_info}
    Localização:{printer_location}
    Driver:{printer_make_and_model} ({color_supported=1?color:grayscale}{sides_supported?, 2-sided printing:})
    +
    Conexão:{device_uri}
    Padrões:job-sheets={job_sheets_default} +media={media_default?{media_default}:desconhecido} +{sides_default?sides={sides_default}:}
    diff --git a/templates/pt_BR/printers-header.tmpl b/templates/pt_BR/printers-header.tmpl new file mode 100644 index 0000000..c5d0a74 --- /dev/null +++ b/templates/pt_BR/printers-header.tmpl @@ -0,0 +1 @@ +

    {total=0?Nenhuma impressora:Mostrando {#printer_name} de {total} impressora{total=1?:s}}.

    diff --git a/templates/pt_BR/printers.tmpl b/templates/pt_BR/printers.tmpl new file mode 100644 index 0000000..74e62a2 --- /dev/null +++ b/templates/pt_BR/printers.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    Nome da filaDescriçãoLocalizaçãoMarca e modeloEstado
    {printer_name}{printer_info}{printer_location}{printer_make_and_model}{printer_state=3?Ociosa:{printer_state=4?Processando:Pausada}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/pt_BR/restart.tmpl b/templates/pt_BR/restart.tmpl new file mode 100644 index 0000000..41e889d --- /dev/null +++ b/templates/pt_BR/restart.tmpl @@ -0,0 +1,4 @@ +

    Alterar configurações

    + +

    Por favor, aguarde enquanto o servidor é reiniciado...

    diff --git a/templates/pt_BR/search.tmpl b/templates/pt_BR/search.tmpl new file mode 100644 index 0000000..1a16c35 --- /dev/null +++ b/templates/pt_BR/search.tmpl @@ -0,0 +1,10 @@ +
    +{WHICH_JOBS?:} +{ORDER?:} + +

    Pesquisar em +{SEARCH_DEST?{SEARCH_DEST}:{SECTION=classes?classes:{SECTION=jobs?trabalhos:impressoras}}}: +

    + +
    diff --git a/templates/pt_BR/set-printer-options-header.tmpl b/templates/pt_BR/set-printer-options-header.tmpl new file mode 100644 index 0000000..9c1b064 --- /dev/null +++ b/templates/pt_BR/set-printer-options-header.tmpl @@ -0,0 +1,24 @@ +

    Definir opções padrões para {printer_name}

    + +
    + + + +{HAVE_AUTOCONFIGURE?:} + + + +

    {[group_id] +{group}     }

    + +
    diff --git a/templates/pt_BR/set-printer-options-trailer.tmpl b/templates/pt_BR/set-printer-options-trailer.tmpl new file mode 100644 index 0000000..b92988a --- /dev/null +++ b/templates/pt_BR/set-printer-options-trailer.tmpl @@ -0,0 +1,14 @@ +
    + + +
    diff --git a/templates/pt_BR/test-page.tmpl b/templates/pt_BR/test-page.tmpl new file mode 100644 index 0000000..87ccde8 --- /dev/null +++ b/templates/pt_BR/test-page.tmpl @@ -0,0 +1,4 @@ +

    Imprimir página de teste em {printer_name}

    + +

    Página de teste enviada; o ID do trabalho é +{printer_name}-{job_id}.

    diff --git a/templates/pt_BR/trailer.tmpl b/templates/pt_BR/trailer.tmpl new file mode 100644 index 0000000..673a555 --- /dev/null +++ b/templates/pt_BR/trailer.tmpl @@ -0,0 +1,5 @@ +
    + + + + diff --git a/templates/pt_BR/users.tmpl b/templates/pt_BR/users.tmpl new file mode 100644 index 0000000..f6c9311 --- /dev/null +++ b/templates/pt_BR/users.tmpl @@ -0,0 +1,27 @@ +
    + + + +{IS_CLASS?:} + +

    Usuários permitidos para {printer_name}

    + + + + + + + + + + +
    Usuários: + +
    + + +
    + +
    + +
    diff --git a/templates/restart.tmpl b/templates/restart.tmpl new file mode 100644 index 0000000..47d39d0 --- /dev/null +++ b/templates/restart.tmpl @@ -0,0 +1,4 @@ +

    Change Settings

    + +

    Please stand by while the server restarts...

    diff --git a/templates/ru/add-class.tmpl b/templates/ru/add-class.tmpl new file mode 100644 index 0000000..d67c4ad --- /dev/null +++ b/templates/ru/add-class.tmpl @@ -0,0 +1,37 @@ +

    Новая группа

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Название:
    +(может содержать любые символы, кроме "/", "#" и пробела)
    Описание:
    +(Расширенное описание группы, например, "Дуплексный принтер")
    Расположение:
    +(Месторасположение группы, например, "Кабинет 55")
    Состав группы: + +
    + +
    diff --git a/templates/ru/add-printer.tmpl b/templates/ru/add-printer.tmpl new file mode 100644 index 0000000..9a6d043 --- /dev/null +++ b/templates/ru/add-printer.tmpl @@ -0,0 +1,44 @@ +

    Добавление принтера

    + +
    + + + + + + +{?current_make!?:} +{?current_make_and_model!?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Название:
    +(может содержать любые символы, кроме "/","#" и пробела)
    Описание:
    +(расширенное описание, например, "HP LaserJet с дуплексной печатью")
    Расположение:
    +(месторасположение принтера, например, "Кабинет 55")
    Подключение:{device_uri}
    Совместный доступ: +
    + +
    diff --git a/templates/ru/admin.tmpl b/templates/ru/admin.tmpl new file mode 100644 index 0000000..0e7fa4d --- /dev/null +++ b/templates/ru/admin.tmpl @@ -0,0 +1,77 @@ +
    +
    +

    Принтеры

    +

    +

    +
    +
    +

    + +

    Группы

    + +

    +

    +
    +

    + +

    Задания

    + +

    +

    +

    +
    +
    +

    Сервер

    + +

    +

    +

    + + {SETTINGS_ERROR?

    {SETTINGS_MESSAGE}

    +
    {SETTINGS_ERROR}
    : + +
    + + + {ADVANCEDSETTINGS?

    Параметры сервера\:

    + +

    Дополнительные параметры
    + + +
    +        Максимум клиентов\: +
    +         
    +         
    +
    + {have_gssapi?
    :} +
    +
    +        Количество заданий (0 без ограничений)\: +
    +         Записывать метаданные(Retain Metadata)\: +
    +         Существующие документы(Retain Documents)\: +
    +
    +         Максимальный размер журнала\: +

    + + :

    Параметры сервера:

    + +

    Дополнительные параметры
    + +
    +         
    +
    + {have_gssapi?
    :} +
    +

    + + } +

    + +
    } +
    +
    diff --git a/templates/ru/choose-device.tmpl b/templates/ru/choose-device.tmpl new file mode 100644 index 0000000..539c601 --- /dev/null +++ b/templates/ru/choose-device.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?Изменение {printer_name}:Добавление принтера}

    + +{CUPS_GET_DEVICES_DONE?
    + + +{printer_name?:} + + +{op=add-printer?: + + +} + + + + + + + + + + + + + + + + + +
    Сейчас подключен\: +
    Установленные принтеры\: +{[device_uri]{device_class!network? +
    +:}} +
    Найденные сетевые принтеры\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://? +
    +:}:}} +
    Другие сетевые принтеры\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://?: +
    +}:}} +
    + +
    :

    Поиск принтеров...

    } diff --git a/templates/ru/choose-make.tmpl b/templates/ru/choose-make.tmpl new file mode 100644 index 0000000..d5ef7fe --- /dev/null +++ b/templates/ru/choose-make.tmpl @@ -0,0 +1,61 @@ +

    {op=modify-printer?Изменение {printer_name}:Добавление принтера}

    + +
    + + +{printer_name?:} + + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Название:{printer_name}
    Описание:{printer_info}
    Расположение:{printer_location}
    Подключение:{device_uri}
    Совместный доступ: +{?printer_is_shared=?Нет совместного доступа:{?printer_is_shared=0?Нет совместного доступа:Разрешить совместный доступ}} к этому принтеру
    Создать: + +
     
    или использовать файл PPD:
    + +
    diff --git a/templates/ru/choose-model.tmpl b/templates/ru/choose-model.tmpl new file mode 100644 index 0000000..c352a73 --- /dev/null +++ b/templates/ru/choose-model.tmpl @@ -0,0 +1,58 @@ +

    {op=modify-printer?Изменение {printer_name}:Добавление принтера}

    + +
    + + +{printer_name?:} + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Название:{printer_name}
    Описание:{printer_info}
    Расположение:{printer_location}
    Подключение:{device_uri}
    Совместный доступ: +{?printer_is_shared=?Нет совместного доступа:{?printer_is_shared=0?Нет совместного доступа:Разрешить совместный доступ}} к этому принтеру
    Создать:{PPD_MAKE}
    Модель: + +
    или использовать файл PPD:
    + +
    diff --git a/templates/ru/choose-serial.tmpl b/templates/ru/choose-serial.tmpl new file mode 100644 index 0000000..2c8d6c7 --- /dev/null +++ b/templates/ru/choose-serial.tmpl @@ -0,0 +1,49 @@ +

    {op=modify-printer?Изменение {printer_name}:Добавление принтера}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Подключение:{device_uri}
    Скорость передачи:
    Четность:
    Биты данных:
    Управление:
    + +
    diff --git a/templates/ru/choose-uri.tmpl b/templates/ru/choose-uri.tmpl new file mode 100644 index 0000000..fff9231 --- /dev/null +++ b/templates/ru/choose-uri.tmpl @@ -0,0 +1,40 @@ +

    {op=modify-printer?Изменение {printer_name}:Добавление принтера}

    + +
    + + +{printer_name?:} + + + + + + + + + + + + + + + +
    Подключение:
    Примеры: +
    +    http://hostname:631/ipp/
    +    http://hostname:631/ipp/port1
    +
    +    ipp://hostname/ipp/
    +    ipp://hostname/ipp/port1
    +
    +    lpd://hostname/queue
    +
    +    socket://hostname
    +    socket://hostname:9100
    +
    + +

    Смотрите раздел "Сетевые принтеры" для выяснения правильного адреса вашего принтера.

    + +
    + +
    diff --git a/templates/ru/class-added.tmpl b/templates/ru/class-added.tmpl new file mode 100644 index 0000000..f0bf6cd --- /dev/null +++ b/templates/ru/class-added.tmpl @@ -0,0 +1,3 @@ +

    Новая группа

    + +

    Группа {printer_name} успешно добавлена. diff --git a/templates/ru/class-confirm.tmpl b/templates/ru/class-confirm.tmpl new file mode 100644 index 0000000..9ea80aa --- /dev/null +++ b/templates/ru/class-confirm.tmpl @@ -0,0 +1,6 @@ +

    Удаление группы {printer_name}

    + +

    Предупреждение: Вы действительно хотите удалить группу +{printer_name}?

    + +

    diff --git a/templates/ru/class-deleted.tmpl b/templates/ru/class-deleted.tmpl new file mode 100644 index 0000000..c0b64d9 --- /dev/null +++ b/templates/ru/class-deleted.tmpl @@ -0,0 +1,3 @@ +

    Удаление группы {printer_name}

    + +

    Группа {printer_name} успешно удалена. diff --git a/templates/ru/class-jobs-header.tmpl b/templates/ru/class-jobs-header.tmpl new file mode 100644 index 0000000..8bcaa81 --- /dev/null +++ b/templates/ru/class-jobs-header.tmpl @@ -0,0 +1 @@ +

    Задания

    diff --git a/templates/ru/class-modified.tmpl b/templates/ru/class-modified.tmpl new file mode 100644 index 0000000..5f23e08 --- /dev/null +++ b/templates/ru/class-modified.tmpl @@ -0,0 +1,3 @@ +

    Изменение группы {printer_name}

    + +

    Группа {printer_name} успешно изменена. diff --git a/templates/ru/class.tmpl b/templates/ru/class.tmpl new file mode 100644 index 0000000..a5aadff --- /dev/null +++ b/templates/ru/class.tmpl @@ -0,0 +1,41 @@ +

    {printer_name} +({printer_state=3?ожидает:{printer_state=4?печать:приостановлен}}, +{printer_is_accepting_jobs=0?не принимает задания:принимает задания}, +{server_is_sharing_printers=0?нет совместного доступа:{printer_is_shared=0?нет совместного доступа:разрешен совместный доступ}} {default_name={printer_name}?, Сервер по умолчанию:})

    + +
    + + + +
    + +
    + + + + + +
    + + + + + + +
    Описание:{printer_info}
    Расположение:{printer_location}
    Состав:{?member_uris=?Нет принтеров:{member_uris}}
    По умолчанию:job-sheets={job_sheets_default} +media={media_default?{media_default}:неизвестный} +{sides_default?sides={sides_default}:}
    diff --git a/templates/ru/classes-header.tmpl b/templates/ru/classes-header.tmpl new file mode 100644 index 0000000..51012c5 --- /dev/null +++ b/templates/ru/classes-header.tmpl @@ -0,0 +1 @@ +

    {total=0?Нет групп:Показать {#printer_name} из {total} группы{total=1?:es}}.

    diff --git a/templates/ru/classes.tmpl b/templates/ru/classes.tmpl new file mode 100644 index 0000000..a482ec7 --- /dev/null +++ b/templates/ru/classes.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    НаименованиеОписаниеРасположениеСоставСтатус
    {printer_name}{printer_info}{printer_location}{?member_uris=?Нет принтеров:{member_uris}}{printer_state=3?ожидает:{printer_state=4?печатает:приостановлен}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/ru/command.tmpl b/templates/ru/command.tmpl new file mode 100644 index 0000000..09c26fd --- /dev/null +++ b/templates/ru/command.tmpl @@ -0,0 +1,8 @@ +

    {title} для {printer_name}

    + +

    {job_state>5?:Ожидание }Обработка задания +{job_state=3?в очереди:{job_state=4?удерживается: +{job_state=5?обрабатывается:{job_state=6?остановлено: +{job_state=7?отменено:{job_state=8?прервано:завершено}}}}}}{job_state=9?:{job_printer_state_message?, +"{job_printer_state_message}":}}

    diff --git a/templates/ru/edit-config.tmpl b/templates/ru/edit-config.tmpl new file mode 100644 index 0000000..69ebd0f --- /dev/null +++ b/templates/ru/edit-config.tmpl @@ -0,0 +1,20 @@ + + +

    Редактирование файла конфигурации

    + +
    + + + + + +

    +

    + +
    diff --git a/templates/ru/error-op.tmpl b/templates/ru/error-op.tmpl new file mode 100644 index 0000000..6e7dfb1 --- /dev/null +++ b/templates/ru/error-op.tmpl @@ -0,0 +1,5 @@ +

    {?title} {?printer_name} - ошибка

    + +

    Ошибка:

    + +
    Неизвестная операция "{op}"!
    diff --git a/templates/ru/error.tmpl b/templates/ru/error.tmpl new file mode 100644 index 0000000..da563c3 --- /dev/null +++ b/templates/ru/error.tmpl @@ -0,0 +1,5 @@ +

    {?title} {?printer_name} - ошибка

    + +

    {?message?{message}:Ошибка}:

    + +
    {error}
    diff --git a/templates/ru/header.tmpl.in b/templates/ru/header.tmpl.in new file mode 100644 index 0000000..e5f0689 --- /dev/null +++ b/templates/ru/header.tmpl.in @@ -0,0 +1,43 @@ + + + + + + + + {refresh_page?:} + + + + + {title} - CUPS @CUPS_VERSION@@CUPS_REVISION@ + + + +
    +
    +

    {title}

    diff --git a/templates/ru/help-header.tmpl b/templates/ru/help-header.tmpl new file mode 100644 index 0000000..fdd361a --- /dev/null +++ b/templates/ru/help-header.tmpl @@ -0,0 +1,43 @@ +
    +{TOPIC?:} + +

    Поиск +{HELPTITLE?в {HELPTITLE}:{TOPIC?в {TOPIC}:по справке}}: + +

    + +
    + + + + +{QUERY?

    Результаты поиска в {HELPFILE?{HELPTITLE}:{TOPIC?{TOPIC}:всей справке}}\:

    +{QTEXT?:} +:

    Не найдено совпадений.

    } +
    :} +{HELPTITLE?
    : + +

    Справка

    + +

    Это справка CUPS. Введите выше слова для поиска в справке и нажмите "Поиск", чтобы показать результаты поиска.

    + +

    Если вы пока мало знакомы с CUPS, прочтите раздел "Введение в CUPS". Опытные пользователи +могут обратиться к разделу "Что нового в CUPS 1.6".

    + +

    Веб-сайт CUPS так же содержит большое количество ресурсов для пользователей, включая форум, ответы на часто задаваемые вопросы и форму для регистрации ошибок и пожеланий.

    } diff --git a/templates/ru/help-printable.tmpl b/templates/ru/help-printable.tmpl new file mode 100644 index 0000000..2463c16 --- /dev/null +++ b/templates/ru/help-printable.tmpl @@ -0,0 +1,9 @@ + + + + + {HELPTITLE} + + + + diff --git a/templates/ru/help-trailer.tmpl b/templates/ru/help-trailer.tmpl new file mode 100644 index 0000000..e69de29 diff --git a/templates/ru/job-cancel.tmpl b/templates/ru/job-cancel.tmpl new file mode 100644 index 0000000..5cd5fd5 --- /dev/null +++ b/templates/ru/job-cancel.tmpl @@ -0,0 +1,3 @@ +

    Отмена задания {job_id}

    + +

    Задание {job_id} отменено. diff --git a/templates/ru/job-hold.tmpl b/templates/ru/job-hold.tmpl new file mode 100644 index 0000000..ea56f5b --- /dev/null +++ b/templates/ru/job-hold.tmpl @@ -0,0 +1,3 @@ +

    Приостановка задания {job_id}

    + +

    Задание {job_id} приостановлено. diff --git a/templates/ru/job-move.tmpl b/templates/ru/job-move.tmpl new file mode 100644 index 0000000..3c4e0be --- /dev/null +++ b/templates/ru/job-move.tmpl @@ -0,0 +1,23 @@ +

    + + +{job_id?:} + +

    {job_id?Перемещение задания {job_id}:Перемещение всех заданий}

    + + + + + + + + + + +
    Переместить на принтер: + +
    + +
    diff --git a/templates/ru/job-moved.tmpl b/templates/ru/job-moved.tmpl new file mode 100644 index 0000000..66ecf8e --- /dev/null +++ b/templates/ru/job-moved.tmpl @@ -0,0 +1,4 @@ +

    {job_id?Перемещение задания {job_id}:Перемещение всех заданий}

    + +

    {job_id?Задание {job_id}:Все задания} перемещены на +{job_printer_name}.

    diff --git a/templates/ru/job-release.tmpl b/templates/ru/job-release.tmpl new file mode 100644 index 0000000..379cd81 --- /dev/null +++ b/templates/ru/job-release.tmpl @@ -0,0 +1,3 @@ +

    Разблокирование задания {job_id}

    + +

    Задание {job_id} разблокировано. diff --git a/templates/ru/job-restart.tmpl b/templates/ru/job-restart.tmpl new file mode 100644 index 0000000..2a1810c --- /dev/null +++ b/templates/ru/job-restart.tmpl @@ -0,0 +1,3 @@ +

    Перезапуск задания {job_id}

    + +

    Задание {job_id} запущено заново. diff --git a/templates/ru/jobs-header.tmpl b/templates/ru/jobs-header.tmpl new file mode 100644 index 0000000..ed68f53 --- /dev/null +++ b/templates/ru/jobs-header.tmpl @@ -0,0 +1,5 @@ +{?which_jobs=?:

    } +{?which_jobs=completed?:
    } +{?which_jobs=all?:
    } + +

    {?which_jobs=?Jobs listed in print order; held jobs appear first.:{which_jobs=Jobs listed in ascending order.?:Jobs listed in descending order.}}

    diff --git a/templates/ru/jobs.tmpl b/templates/ru/jobs.tmpl new file mode 100644 index 0000000..9340f1c --- /dev/null +++ b/templates/ru/jobs.tmpl @@ -0,0 +1,36 @@ +{#job_id=0?: + + + + + +{[job_id] + + + + + + + + + +} + +
    НомерНазваниеПользовательРазмерСтраницСтатусУправление
    {job_printer_name}-{job_id}{?phone? ({phone}):} {?job_name=?Неизвестное:{job_name}} {?job_originating_user_name=?Приостановлено пользователем:{job_originating_user_name}} {job_k_octets}k {job_impressions_completed=0?Неизвестно:{?job_impressions_completed}} {job_state=3?В очереди
    {?time_at_creation=?Unknown:{time_at_creation}}:{job_state=4?Приостановлено с
    {?time_at_creation=?Unknown:{time_at_creation}}: +{job_state=5?Создано
    {?time_at_processing=?Unknown:{time_at_processing}}:{job_state=6?Остановлено: +{job_state=7?Отменено
    {?time_at_completed=?Unknown:{time_at_completed}}:{job_state=8?Прервано:Завершено
    {?time_at_completed=?Unknown:{time_at_completed}}}}}}}} {job_printer_state_message?
    +"{job_printer_state_message}":}
    +{job_preserved>0?{job_state>5? +
    :}:} +{job_state=4? +
    +
    :} +{job_state=3? +
    +
    :} +{job_state<7? +
    +
    +
    :} + 
    +} diff --git a/templates/ru/list-available-printers.tmpl b/templates/ru/list-available-printers.tmpl new file mode 100644 index 0000000..651de12 --- /dev/null +++ b/templates/ru/list-available-printers.tmpl @@ -0,0 +1,7 @@ +

    Доступные принтеры

    + +{#device_uri=0?

    Не обнаружено ни одного принтера.

    +:
      {[device_uri] +
    • +{device_make_and_model} ({device_info})
    • +}
    } diff --git a/templates/ru/modify-class.tmpl b/templates/ru/modify-class.tmpl new file mode 100644 index 0000000..6549bc6 --- /dev/null +++ b/templates/ru/modify-class.tmpl @@ -0,0 +1,31 @@ +

    Изменение группы {printer_name}

    + +
    + + + + + + + + + + + + + + + + + + + + + +
    Описание:
    Расположение:
    Состав группы: + +
    + +
    diff --git a/templates/ru/modify-printer.tmpl b/templates/ru/modify-printer.tmpl new file mode 100644 index 0000000..811c2d8 --- /dev/null +++ b/templates/ru/modify-printer.tmpl @@ -0,0 +1,39 @@ +

    Изменение принтера {printer_name}

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Описание:
    +(расширенное описание принтера, например, "HP LaserJet с дуплексной печатью")
    Расположение:
    +(местоположение принтера, например, "Кабинет 55")
    Подключение:{device_uri}
    Совместный доступ: +
    + +
    diff --git a/templates/ru/norestart.tmpl b/templates/ru/norestart.tmpl new file mode 100644 index 0000000..b567976 --- /dev/null +++ b/templates/ru/norestart.tmpl @@ -0,0 +1,3 @@ +

    Применение изменений

    + +

    Сервер не был перезапущен,поскольку не произошло изменений в конфигурации...

    diff --git a/templates/ru/option-boolean.tmpl b/templates/ru/option-boolean.tmpl new file mode 100644 index 0000000..ce9b6af --- /dev/null +++ b/templates/ru/option-boolean.tmpl @@ -0,0 +1,6 @@ + +{keytext}: + +{[choices]} + + diff --git a/templates/ru/option-conflict.tmpl b/templates/ru/option-conflict.tmpl new file mode 100644 index 0000000..9497fb7 --- /dev/null +++ b/templates/ru/option-conflict.tmpl @@ -0,0 +1,7 @@ +

    Ошибка: следующие параметры конфликтуют:

    + + + +

    Измените один или несколько параметров для того, чтобы избежать конфликта.

    diff --git a/templates/ru/option-header.tmpl b/templates/ru/option-header.tmpl new file mode 100644 index 0000000..464726a --- /dev/null +++ b/templates/ru/option-header.tmpl @@ -0,0 +1,5 @@ +
    + +

    {group}

    + + diff --git a/templates/ru/option-pickmany.tmpl b/templates/ru/option-pickmany.tmpl new file mode 100644 index 0000000..0da75e5 --- /dev/null +++ b/templates/ru/option-pickmany.tmpl @@ -0,0 +1,6 @@ + + + + diff --git a/templates/ru/option-pickone.tmpl b/templates/ru/option-pickone.tmpl new file mode 100644 index 0000000..49a9929 --- /dev/null +++ b/templates/ru/option-pickone.tmpl @@ -0,0 +1,18 @@ + + +:} + diff --git a/templates/ru/option-trailer.tmpl b/templates/ru/option-trailer.tmpl new file mode 100644 index 0000000..9fb252e --- /dev/null +++ b/templates/ru/option-trailer.tmpl @@ -0,0 +1,5 @@ +
    {keytext}:
    {keytext}: +{iscustom=1?{[params] + + +}
    {paramtext}:{params=Units?:}
    +
    + +

    + +
    \ No newline at end of file diff --git a/templates/ru/pager.tmpl b/templates/ru/pager.tmpl new file mode 100644 index 0000000..14eac86 --- /dev/null +++ b/templates/ru/pager.tmpl @@ -0,0 +1,7 @@ + + + + + +
    {PREV?{PREV>0?
    :}
    : }
    {NEXT?
    : } + {LAST?
    :}
    diff --git a/templates/ru/printer-accept.tmpl b/templates/ru/printer-accept.tmpl new file mode 100644 index 0000000..4818dff --- /dev/null +++ b/templates/ru/printer-accept.tmpl @@ -0,0 +1,5 @@ +

    Прием заданий {is_class?в группу:на принтер} {printer_name}

    + +

    {is_class?Группа:Принтер} {printer_name} +теперь принимает задания.

    diff --git a/templates/ru/printer-added.tmpl b/templates/ru/printer-added.tmpl new file mode 100644 index 0000000..c2b3df2 --- /dev/null +++ b/templates/ru/printer-added.tmpl @@ -0,0 +1,3 @@ +

    Добавить принтер

    + +

    Принтер {printer_name} успешно добавлен. diff --git a/templates/ru/printer-cancel-jobs.tmpl b/templates/ru/printer-cancel-jobs.tmpl new file mode 100644 index 0000000..cd2ad45 --- /dev/null +++ b/templates/ru/printer-cancel-jobs.tmpl @@ -0,0 +1,5 @@ +

    Отмена заданий для {is_class?Class:Printer} {printer_name}

    + +

    Все задания для {is_class?class:printer} {printer_name} +были отменены.

    diff --git a/templates/ru/printer-configured.tmpl b/templates/ru/printer-configured.tmpl new file mode 100644 index 0000000..74da095 --- /dev/null +++ b/templates/ru/printer-configured.tmpl @@ -0,0 +1,4 @@ +

    Настройки по умолчанию для {printer_name}

    + +

    {OP=set-class-options?Группа :Принтер }{printer_name} +теперь использует параметры по умолчанию. diff --git a/templates/ru/printer-confirm.tmpl b/templates/ru/printer-confirm.tmpl new file mode 100644 index 0000000..3d502d3 --- /dev/null +++ b/templates/ru/printer-confirm.tmpl @@ -0,0 +1,6 @@ +

    Удаление принтера {printer_name}

    + +

    Предупреждение: вы действительно хотите удалить принтер +{printer_name}?

    + +

    diff --git a/templates/ru/printer-default.tmpl b/templates/ru/printer-default.tmpl new file mode 100644 index 0000000..fd77139 --- /dev/null +++ b/templates/ru/printer-default.tmpl @@ -0,0 +1,8 @@ +

    Установка {is_class?группы:принтера} {printer_name} по умолчанию

    + +

    {is_class?Группа:Принтер} {printer_name} +установлены на сервере по умолчанию для новых заданий.

    + +
    Примечания: вы можете переопределить это поведение с помощью команды + lpoptions.
    diff --git a/templates/ru/printer-deleted.tmpl b/templates/ru/printer-deleted.tmpl new file mode 100644 index 0000000..4b28027 --- /dev/null +++ b/templates/ru/printer-deleted.tmpl @@ -0,0 +1,3 @@ +

    Удаление принтера {printer_name}

    + +

    Принтер {printer_name} успешно удален. diff --git a/templates/ru/printer-jobs-header.tmpl b/templates/ru/printer-jobs-header.tmpl new file mode 100644 index 0000000..8bcaa81 --- /dev/null +++ b/templates/ru/printer-jobs-header.tmpl @@ -0,0 +1 @@ +

    Задания

    diff --git a/templates/ru/printer-modified.tmpl b/templates/ru/printer-modified.tmpl new file mode 100644 index 0000000..93df272 --- /dev/null +++ b/templates/ru/printer-modified.tmpl @@ -0,0 +1,3 @@ +

    Изменение принтера {printer_name}

    + +

    Параметры принтера {printer_name} успешно изменены. \ No newline at end of file diff --git a/templates/ru/printer-reject.tmpl b/templates/ru/printer-reject.tmpl new file mode 100644 index 0000000..d8a4722 --- /dev/null +++ b/templates/ru/printer-reject.tmpl @@ -0,0 +1,5 @@ +

    Отмена заданий для {is_class?группы:принтера} {printer_name}

    + +

    {is_class?Группа:Принтер} {printer_name} +больше не принимает задания.

    diff --git a/templates/ru/printer-start.tmpl b/templates/ru/printer-start.tmpl new file mode 100644 index 0000000..d7e8fb8 --- /dev/null +++ b/templates/ru/printer-start.tmpl @@ -0,0 +1,5 @@ +

    Возобновить работу {is_class?группы:принтера} {printer_name}

    + +

    {is_class?Группа:Принтер} {printer_name} +теперь принимает задания.

    diff --git a/templates/ru/printer-stop.tmpl b/templates/ru/printer-stop.tmpl new file mode 100644 index 0000000..d9b5035 --- /dev/null +++ b/templates/ru/printer-stop.tmpl @@ -0,0 +1,5 @@ +

    Приостановить {is_class?группу:принтер} {printer_name}

    + +

    {is_class?Группа:Принтер} {printer_name} +{is_class?была приостановлена:был приостановлен}.

    diff --git a/templates/ru/printer.tmpl b/templates/ru/printer.tmpl new file mode 100644 index 0000000..105e643 --- /dev/null +++ b/templates/ru/printer.tmpl @@ -0,0 +1,43 @@ +

    {printer_name} +({printer_state=3?ожидает:{printer_state=4?печать:приостановлен}}, +{printer_is_accepting_jobs=0?не принимает задания:принимает задания}, +{server_is_sharing_printers=0?нет совместного доступа:{printer_is_shared=0?нет совместного доступа:разрешен совместный доступ}} {default_name={printer_name}?, По умолчанию:})

    + +
    + + + +
    + +
    + + + + +
    + + + + + + +
    Описание:{printer_info}
    Расположение:{printer_location}
    Драйвер:{printer_make_and_model} ({color_supported=1?цветной:черно-белый}{sides_supported=one-sided?:, дуплексная печать})
    +
    Подключение:{device_uri}
    По умолчанию:job-sheets={job_sheets_default} +media={media_default?{media_default}:unknown} +{sides_default?sides={sides_default}:}
    diff --git a/templates/ru/printers-header.tmpl b/templates/ru/printers-header.tmpl new file mode 100644 index 0000000..6621e06 --- /dev/null +++ b/templates/ru/printers-header.tmpl @@ -0,0 +1 @@ +

    {total=0?Нет принтеров:Принтер {#printer_name} из {total}}.

    diff --git a/templates/ru/printers.tmpl b/templates/ru/printers.tmpl new file mode 100644 index 0000000..d71c51e --- /dev/null +++ b/templates/ru/printers.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
    НаименованиеОписаниеРасположениеДрайверСтатус
    {printer_name}{printer_info}{printer_location}{printer_make_and_model}{printer_state=3?ожидает:{printer_state=4?печатает:приостановлен}}{printer_state_message? - "{printer_state_message}":}
    } diff --git a/templates/ru/restart.tmpl b/templates/ru/restart.tmpl new file mode 100644 index 0000000..c8fb265 --- /dev/null +++ b/templates/ru/restart.tmpl @@ -0,0 +1,4 @@ +

    Применение изменений параметров

    + +

    Дождитесь перезапуска сервера...

    diff --git a/templates/ru/search.tmpl b/templates/ru/search.tmpl new file mode 100644 index 0000000..b5f136c --- /dev/null +++ b/templates/ru/search.tmpl @@ -0,0 +1,10 @@ +
    +{WHICH_JOBS?:} +{ORDER?:} + +

    Поиск +{SEARCH_DEST?{SEARCH_DEST}:{SECTION=classes?группы:{SECTION=jobs?задания:принтера}}}: +

    + +
    diff --git a/templates/ru/set-printer-options-header.tmpl b/templates/ru/set-printer-options-header.tmpl new file mode 100644 index 0000000..59a5a79 --- /dev/null +++ b/templates/ru/set-printer-options-header.tmpl @@ -0,0 +1,24 @@ +

    Установить параметры по умолчанию для {printer_name}

    + +
    + + + +{HAVE_AUTOCONFIGURE?:} + + + +

    {[group_id] +{group}     }

    + +
    diff --git a/templates/ru/set-printer-options-trailer.tmpl b/templates/ru/set-printer-options-trailer.tmpl new file mode 100644 index 0000000..b92988a --- /dev/null +++ b/templates/ru/set-printer-options-trailer.tmpl @@ -0,0 +1,14 @@ +
    + + +
    diff --git a/templates/ru/test-page.tmpl b/templates/ru/test-page.tmpl new file mode 100644 index 0000000..ce8837c --- /dev/null +++ b/templates/ru/test-page.tmpl @@ -0,0 +1,4 @@ +

    Печать пробной страницы на {printer_name}

    + +

    Пробная страница отправлена на печать;Номер задания +{printer_name}-{job_id}.

    diff --git a/templates/ru/trailer.tmpl b/templates/ru/trailer.tmpl new file mode 100644 index 0000000..260d0e9 --- /dev/null +++ b/templates/ru/trailer.tmpl @@ -0,0 +1,6 @@ +
    + + + + diff --git a/templates/ru/users.tmpl b/templates/ru/users.tmpl new file mode 100644 index 0000000..71db892 --- /dev/null +++ b/templates/ru/users.tmpl @@ -0,0 +1,27 @@ +
    + + + +{IS_CLASS?:} + +

    Доступ пользователей на {printer_name}

    + + + + + + + + + + +
    Пользователи: + +
    + + +
    + +
    + +
    diff --git a/templates/search.tmpl b/templates/search.tmpl new file mode 100644 index 0000000..755269e --- /dev/null +++ b/templates/search.tmpl @@ -0,0 +1,10 @@ +
    +{WHICH_JOBS?:} +{ORDER?:} + +

    Search in +{SEARCH_DEST?{SEARCH_DEST}:{SECTION=classes?Classes:{SECTION=jobs?Jobs:Printers}}}: +

    + +
    diff --git a/templates/set-printer-options-header.tmpl b/templates/set-printer-options-header.tmpl new file mode 100644 index 0000000..91e0981 --- /dev/null +++ b/templates/set-printer-options-header.tmpl @@ -0,0 +1,24 @@ +

    Set Default Options for {printer_name}

    + +
    + + + +{HAVE_AUTOCONFIGURE?:} + + + +

    {[group_id] +{group}     }

    + +
    diff --git a/templates/set-printer-options-trailer.tmpl b/templates/set-printer-options-trailer.tmpl new file mode 100644 index 0000000..b92988a --- /dev/null +++ b/templates/set-printer-options-trailer.tmpl @@ -0,0 +1,14 @@ +
    + + +
    diff --git a/templates/test-page.tmpl b/templates/test-page.tmpl new file mode 100644 index 0000000..44a74f2 --- /dev/null +++ b/templates/test-page.tmpl @@ -0,0 +1,4 @@ +

    Print Test Page On {printer_name}

    + +

    Test page sent; job ID is +{printer_name}-{job_id}.

    diff --git a/templates/trailer.tmpl b/templates/trailer.tmpl new file mode 100644 index 0000000..a4f86b1 --- /dev/null +++ b/templates/trailer.tmpl @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/users.tmpl b/templates/users.tmpl new file mode 100644 index 0000000..a97b313 --- /dev/null +++ b/templates/users.tmpl @@ -0,0 +1,27 @@ +
    + + + +{IS_CLASS?:} + +

    Allowed Users For {printer_name}

    + + + + + + + + + + +
    Users: + +
    + + +
    + +
    + +
    diff --git a/test/4.1-requests.test b/test/4.1-requests.test new file mode 100644 index 0000000..e655054 --- /dev/null +++ b/test/4.1-requests.test @@ -0,0 +1,163 @@ +# +# Verify that the server requires the following attributes: +# +# attributes-charset +# attributes-natural-language +# printer-uri/job-uri +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 2001-2006 by Easy Software Products. All rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +{ + # The name of the test... + NAME "No Attributes" + + # The operation to use + OPERATION get-jobs + + # What statuses are OK? + STATUS client-error-bad-request + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Charset Attribute" + + # The operation to use + OPERATION get-jobs + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + + # What statuses are OK? + STATUS client-error-bad-request + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Language Attribute" + + # The operation to use + OPERATION get-jobs + + # The attributes to send + GROUP operation + ATTR language attributes-natural-language en + + # What statuses are OK? + STATUS client-error-bad-request + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Language + Charset Attributes" + + # The operation to use + OPERATION get-jobs + + # The attributes to send + GROUP operation + ATTR language attributes-natural-language en + ATTR charset attributes-charset utf-8 + + # What statuses are OK? + STATUS client-error-bad-request + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Charset + Language Attributes" + + # The operation to use + OPERATION get-jobs + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + + # What statuses are OK? + STATUS client-error-bad-request + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Charset + Language + Printer URI Attributes" + + # The operation to use + OPERATION get-jobs + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Charset + Language + Job URI Attributes" + + # The operation to use + OPERATION get-jobs + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri job-uri $scheme://$hostname:$port/jobs + + # What statuses are OK? + STATUS client-error-bad-request + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Bad IPP Version" + + # The operation to use + OPERATION get-jobs + + # The version number to use + VERSION 0.0 + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri ipp://localhost/printers + + # What statuses are OK? + STATUS server-error-version-not-supported +} +# +# End of "$Id$" +# diff --git a/test/4.2-cups-printer-ops.test b/test/4.2-cups-printer-ops.test new file mode 100644 index 0000000..e13fcbb --- /dev/null +++ b/test/4.2-cups-printer-ops.test @@ -0,0 +1,328 @@ +# +# Verify that the CUPS printer operations work. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 2001-2006 by Easy Software Products. All rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +{ + # The name of the test... + NAME "Add Printer Test1" + + # The operation to use + OPERATION cups-add-printer + RESOURCE /admin/ + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + + FILE testhp.ppd + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Verify Printer Test1 Added" + + # The operation to use + OPERATION get-printer-attributes + RESOURCE / + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Delete Printer Test1" + + # The operation to use + OPERATION cups-delete-printer + RESOURCE /admin/ + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Verify Printer Test1 Deleted" + + # The operation to use + OPERATION get-printer-attributes + RESOURCE / + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + + # What statuses are OK? + STATUS client-error-not-found + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Subscribe to Printer Events" + + # The operation to use + OPERATION Create-Printer-Subscription + RESOURCE / + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/ + ATTR name requesting-user-name $user + + GROUP subscription + ATTR uri notify-recipient-uri testnotify:// + ATTR keyword notify-events printer-added,printer-modified,printer-deleted + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT notify-subscription-id +} +{ + # The name of the test... + NAME "Add Printer Test2" + + # The operation to use + OPERATION cups-add-printer + RESOURCE /admin/ + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test2 + + FILE testhp.ppd + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Verify Printer Test2 Added" + + # The operation to use + OPERATION get-printer-attributes + RESOURCE / + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test2 + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Modify Printer Test2" + + # The operation to use + OPERATION cups-add-printer + RESOURCE /admin/ + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test2 + + GROUP printer + ATTR uri device-uri file:/tmp/Test2 + ATTR enum printer-state 3 + ATTR boolean printer-is-accepting-jobs true + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Re-Add Printer Test1" + + # The operation to use + OPERATION cups-add-printer + RESOURCE /admin/ + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + + GROUP printer + ATTR uri device-uri file:/tmp/Test1 + ATTR enum printer-state 3 + ATTR boolean printer-is-accepting-jobs true + ATTR text printer-info "Test Printer 1" + + FILE testps.ppd + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Verify Printer Test1 Re-Added" + + # The operation to use + OPERATION get-printer-attributes + RESOURCE / + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Get Default Printer with no default set" + + # The operation to use + OPERATION cups-get-default + RESOURCE / + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + + # What statuses are OK? + STATUS client-error-not-found + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Set Default Printer to Test1" + + # The operation to use + OPERATION cups-set-default + RESOURCE /admin/ + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Get Default Printer" + + # The operation to use + OPERATION cups-get-default + RESOURCE / + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT printer-name + EXPECT printer-uri-supported +} +{ + # The name of the test... + NAME "Get IPP/2.x Attributes for Printer Test1" + + # The operation to use + OPERATION get-printer-attributes + RESOURCE / + + # The IPP version to use + VERSION 2.0 + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT media-col-default +} diff --git a/test/4.3-job-ops.test b/test/4.3-job-ops.test new file mode 100644 index 0000000..f92801f --- /dev/null +++ b/test/4.3-job-ops.test @@ -0,0 +1,330 @@ +# +# Verify that the IPP job operations work. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 2001-2006 by Easy Software Products. All rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +{ + # The name of the test... + NAME "Print PostScript Job with bad job-sheets value to Test1" + + # The operation to use + OPERATION print-job + RESOURCE /printers/Test1 + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + ATTR name requesting-user-name $user + ATTR name job-sheets "none\,none" + + FILE ../examples/testfile.ps + + # What statuses are OK? + STATUS client-error-bad-request +} +{ + # The name of the test... + NAME "Print PostScript Job to Test1" + + # The operation to use + OPERATION print-job + RESOURCE /printers/Test1 + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + ATTR name requesting-user-name $user + + FILE ../examples/testfile.ps + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT job-id +} +{ + # The name of the test... + NAME "Get Job Attributes" + + # The operation to use + OPERATION get-job-attributes + RESOURCE /jobs + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + ATTR integer job-id $job-id + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT job-id + EXPECT job-uri + EXPECT job-state +} +{ + # The name of the test... + NAME "Print JPEG Job to Test2" + + # The operation to use + OPERATION print-job + RESOURCE /printers/Test2 + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test2 + ATTR name requesting-user-name $user + + GROUP subscription + ATTR uri notify-recipient-uri testnotify:/// + + FILE ../examples/testfile.jpg + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT job-id + EXPECT notify-subscription-id +} +{ + # The name of the test... + NAME "Get Job Attributes" + + # The operation to use + OPERATION get-job-attributes + RESOURCE /jobs + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test2 + ATTR integer job-id $job-id + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT job-id + EXPECT job-uri + EXPECT job-state +} +{ + # The name of the test... + NAME "Print Text Job to Test1" + + # The operation to use + OPERATION print-job + RESOURCE /printers/Test1 + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + ATTR name requesting-user-name $user + + FILE ../examples/testfile.txt + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT job-id +} +{ + # The name of the test... + NAME "Print PDF Job to Test1" + + # The operation to use + OPERATION print-job + RESOURCE /printers/Test1 + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + ATTR name requesting-user-name $user + + GROUP job + ATTR keyword job-hold-until weekend + + FILE ../examples/testfile.pdf + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT job-id +} +{ + # The name of the test... + NAME "Hold Job on Test1" + + # The operation to use + OPERATION hold-job + RESOURCE /printers/Test1 + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + ATTR integer job-id $job-id + ATTR name requesting-user-name $user + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Release Job on Test1" + + # The operation to use + OPERATION release-job + RESOURCE /printers/Test1 + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + ATTR integer job-id $job-id + ATTR name requesting-user-name $user + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Print Held Image Job to Test1" + + # The operation to use + OPERATION print-job + RESOURCE /printers/Test1 + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + ATTR name requesting-user-name $user + GROUP job + ATTR keyword job-hold-until indefinite + + FILE ../examples/testfile.jpg + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT job-id +} +{ + # The name of the test... + NAME "Cancel Job" + + # The operation to use + OPERATION cancel-job + RESOURCE /jobs + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri job-uri $method://$hostname:$port/jobs/$job-id + ATTR name requesting-user-name $user + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Get Job List on Test1" + + # The operation to use + OPERATION get-jobs + RESOURCE /printers/Test1 + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $method://$hostname:$port/printers/Test1 + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT !job-printer-uri +} +{ + # The name of the test... + NAME "Get All Jobs" + + # The operation to use + OPERATION get-jobs + RESOURCE /jobs + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $scheme://$hostname:$port/ + ATTR keyword requested-attributes all + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT job-uri + EXPECT job-id + EXPECT job-state + EXPECT job-printer-uri +} diff --git a/test/4.4-subscription-ops.test b/test/4.4-subscription-ops.test new file mode 100644 index 0000000..45c3ce1 --- /dev/null +++ b/test/4.4-subscription-ops.test @@ -0,0 +1,153 @@ +# +# Verify that the CUPS subscription operations work. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 2001-2006 by Easy Software Products. All rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# +{ + # The name of the test... + NAME "Add Printer Subscription w/Lease" + + # The operation to use + OPERATION Create-Printer-Subscription + RESOURCE / + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $scheme://$hostname:$port/printers/Test1 + ATTR name requesting-user-name $user + + GROUP subscription + ATTR uri notify-recipient-uri testnotify:// + ATTR keyword notify-events printer-state-changed + ATTR integer notify-lease-duration 5 + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT notify-subscription-id + DISPLAY notify-subscription-id +} +{ + # The name of the test... + NAME "Verify Subscription Expiration" + + # Delay test for 7 seconds to allow lease to expire... + DELAY 7 + + # The operation to use + OPERATION Get-Subscription-Attributes + RESOURCE / + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $scheme://$hostname:$port/printers/Test1 + ATTR integer notify-subscription-id $notify-subscription-id + ATTR name requesting-user-name $user + + # What statuses are OK? + STATUS client-error-not-found + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} +{ + # The name of the test... + NAME "Add 2 Printer Subscriptions w/Lease" + + # The operation to use + OPERATION Create-Printer-Subscription + RESOURCE / + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $scheme://$hostname:$port/printers/Test1 + ATTR name requesting-user-name $user + + GROUP subscription + ATTR uri notify-recipient-uri testnotify:// + ATTR keyword notify-events printer-state-changed + ATTR integer notify-lease-duration 5 + + GROUP subscription + ATTR uri notify-recipient-uri testnotify:// + ATTR keyword notify-events printer-config-changed + ATTR integer notify-lease-duration 5 + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT notify-subscription-id + DISPLAY notify-subscription-id +} +{ + # The name of the test... + NAME "List Printer Subscriptions" + + # The operation to use + OPERATION Get-Subscriptions + RESOURCE / + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $scheme://$hostname:$port/printers/Test1 + ATTR name requesting-user-name $user + + # What statuses are OK? + STATUS successful-ok + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language + EXPECT notify-subscription-id + DISPLAY notify-subscription-id + EXPECT notify-printer-uri + DISPLAY notify-printer-uri + EXPECT notify-events + DISPLAY notify-events +} +{ + # The name of the test... + NAME "Check MaxSubscriptions limits" + + # The operation to use + OPERATION Create-Printer-Subscription + RESOURCE / + + # The attributes to send + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $scheme://$hostname:$port/printers/Test1 + ATTR name requesting-user-name $user + + GROUP subscription + ATTR uri notify-recipient-uri testnotify:// + ATTR keyword notify-events printer-state-changed + ATTR integer notify-lease-duration 5 + + # What statuses are OK? + STATUS client-error-too-many-subscriptions + + # What attributes do we expect? + EXPECT attributes-charset + EXPECT attributes-natural-language +} diff --git a/test/5.1-lpadmin.sh b/test/5.1-lpadmin.sh new file mode 100644 index 0000000..7efc398 --- /dev/null +++ b/test/5.1-lpadmin.sh @@ -0,0 +1,63 @@ +#!/bin/sh +# +# Test the lpadmin command. +# +# Copyright © 2007-2018 by Apple Inc. +# Copyright © 1997-2005 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +echo "Add Printer Test" +echo "" +echo " lpadmin -p Test3 -v file:/dev/null -E -m drv:///sample.drv/deskjet.ppd" +$runcups $VALGRIND ../systemv/lpadmin -p Test3 -v file:/dev/null -E -m drv:///sample.drv/deskjet.ppd 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + if test -f $CUPS_SERVERROOT/ppd/Test3.ppd; then + echo " PASSED" + else + echo " FAILED (No PPD)" + exit 1 + fi +fi +echo "" + +echo "Modify Printer Test" +echo "" +echo " lpadmin -p Test3 -v file:/tmp/Test3 -o PageSize=A4" +$runcups $VALGRIND ../systemv/lpadmin -p Test3 -v file:/tmp/Test3 -o PageSize=A4 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "Delete Printer Test" +echo "" +echo " lpadmin -x Test3" +$runcups $VALGRIND ../systemv/lpadmin -x Test3 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "Add Shared Printer Test" +echo "" +echo " lpadmin -p Test3 -E -v ipp://localhost:$IPP_PORT/printers/Test2 -m everywhere" +$runcups $VALGRIND ../systemv/lpadmin -p Test3 -E -v ipp://localhost:$IPP_PORT/printers/Test2 -m everywhere 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" diff --git a/test/5.2-lpc.sh b/test/5.2-lpc.sh new file mode 100644 index 0000000..155a157 --- /dev/null +++ b/test/5.2-lpc.sh @@ -0,0 +1,22 @@ +#!/bin/sh +# +# Test the lpc command. +# +# Copyright © 2007 by Apple Inc. +# Copyright © 1997-2005 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +echo "LPC Test" +echo "" +echo " lpc status" +$runcups $VALGRIND ../berkeley/lpc status 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" diff --git a/test/5.3-lpq.sh b/test/5.3-lpq.sh new file mode 100644 index 0000000..02ddbd9 --- /dev/null +++ b/test/5.3-lpq.sh @@ -0,0 +1,22 @@ +#!/bin/sh +# +# Test the lpq command. +# +# Copyright © 2007 by Apple Inc. +# Copyright © 1997-2005 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +echo "LPQ Test" +echo "" +echo " lpq -P Test1" +$runcups $VALGRIND ../berkeley/lpq -P Test1 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" diff --git a/test/5.4-lpstat.sh b/test/5.4-lpstat.sh new file mode 100644 index 0000000..b8918c8 --- /dev/null +++ b/test/5.4-lpstat.sh @@ -0,0 +1,49 @@ +#!/bin/sh +# +# Test the lpstat command. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2005 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +echo "LPSTAT Basic Test" +echo "" +echo " lpstat -t" +$runcups $VALGRIND ../systemv/lpstat -t 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "LPSTAT Enumeration Test" +echo "" +echo " lpstat -e" +printers="`$runcups $VALGRIND ../systemv/lpstat -e 2>&1`" +if test $? != 0 -o "x$printers" = x; then + echo " FAILED" + exit 1 +else + for printer in $printers; do + echo $printer + done + echo " PASSED" +fi +echo "" + +echo "LPSTAT Get Host Test" +echo "" +echo " lpstat -H" +server="`$runcups $VALGRIND ../systemv/lpstat -H 2>&1`" +if test $? != 0 -o "x$server" != x$CUPS_SERVER; then + echo " FAILED ($server)" + exit 1 +else + echo " PASSED ($server)" +fi +echo "" diff --git a/test/5.5-lp.sh b/test/5.5-lp.sh new file mode 100644 index 0000000..03adc5f --- /dev/null +++ b/test/5.5-lp.sh @@ -0,0 +1,89 @@ +#!/bin/sh +# +# Test the lp command. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2005 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +echo "LP Default Test" +echo "" +echo " lp testfile.pdf" +$runcups $VALGRIND ../systemv/lp ../examples/testfile.pdf 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "LP Destination Test" +echo "" +echo " lp -d Test3 -o fit-to-page testfile.jpg" +$runcups $VALGRIND ../systemv/lp -d Test3 -o fit-to-page ../examples/testfile.jpg 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "LP Options Test" +echo "" +echo " lp -d Test1 -P 1-4 -o job-sheets=classified,classified testfile.pdf" +$runcups $VALGRIND ../systemv/lp -d Test1 -P 1-4 -o job-sheets=classified,classified ../examples/testfile.pdf 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "LP Flood Test ($1 times in parallel)" +echo "" +echo " lp -d Test1 testfile.jpg" +echo " lp -d Test2 testfile.jpg" +i=0 +pids="" +while test $i -lt $1; do + j=1 + while test $j -le $2; do + $runcups $VALGRIND ../systemv/lp -d test-$j ../examples/testfile.jpg 2>&1 + j=`expr $j + 1` + done + + $runcups $VALGRIND ../systemv/lp -d Test1 ../examples/testfile.jpg 2>&1 & + pids="$pids $!" + $runcups $VALGRIND ../systemv/lp -d Test2 ../examples/testfile.jpg 2>&1 & + pids="$pids $!" + + i=`expr $i + 1` +done +wait $pids +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +./waitjobs.sh + +echo "LPSTAT Completed Jobs Order Test" +echo "" +echo " lpstat -W completed -o" +$runcups $VALGRIND ../systemv/lpstat -W completed -o | tee $BASE/lpstat-completed.txt +if test "`uniq -d $BASE/lpstat-completed.txt`" != ""; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" diff --git a/test/5.6-lpr.sh b/test/5.6-lpr.sh new file mode 100644 index 0000000..98c8d69 --- /dev/null +++ b/test/5.6-lpr.sh @@ -0,0 +1,77 @@ +#!/bin/sh +# +# Test the lpr command. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2005 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +echo "LPR Default Test" +echo "" +echo " lpr testfile.pdf" +$runcups $VALGRIND ../berkeley/lpr ../examples/testfile.pdf 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "LPR Destination Test" +echo "" +echo " lpr -P Test3 -o fit-to-page testfile.jpg" +$runcups $VALGRIND ../berkeley/lpr -P Test3 -o fit-to-page ../examples/testfile.jpg 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "LPR Options Test" +echo "" +echo " lpr -P Test1 -o number-up=4 -o job-sheets=standard,none testfile.pdf" +$runcups $VALGRIND ../berkeley/lpr -P Test1 -o number-up=4 -o job-sheets=standard,none ../examples/testfile.pdf 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "LPR Flood Test ($1 times in parallel)" +echo "" +echo " lpr -P Test1 testfile.jpg" +echo " lpr -P Test2 testfile.jpg" +i=0 +pids="" +while test $i -lt $1; do + j=1 + while test $j -le $2; do + $runcups $VALGRIND ../berkeley/lpr -P test-$j ../examples/testfile.jpg 2>&1 + j=`expr $j + 1` + done + + $runcups $VALGRIND ../berkeley/lpr -P Test1 ../examples/testfile.jpg 2>&1 & + pids="$pids $!" + $runcups $VALGRIND ../berkeley/lpr -P Test2 ../examples/testfile.jpg 2>&1 & + pids="$pids $!" + + i=`expr $i + 1` +done +wait $pids +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +./waitjobs.sh diff --git a/test/5.7-lprm.sh b/test/5.7-lprm.sh new file mode 100644 index 0000000..8958dea --- /dev/null +++ b/test/5.7-lprm.sh @@ -0,0 +1,38 @@ +#!/bin/sh +# +# Test the lprm command. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2005 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +echo "LPRM Current Test" +echo "" +echo " lpr -o job-hold-until=indefinite testfile.jpg" +$runcups $VALGRIND ../berkeley/lpr -o job-hold-until=indefinite ../examples/testfile.jpg 2>&1 +echo " lprm" +$runcups $VALGRIND ../berkeley/lprm 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "LPRM Destination Test" +echo "" +echo " lpr -P Test1 -o job-hold-until=indefinite testfile.jpg" +$runcups $VALGRIND ../berkeley/lpr -P Test1 -o job-hold-until=indefinite ../examples/testfile.jpg 2>&1 +echo " lprm Test1" +$runcups $VALGRIND ../berkeley/lprm Test1 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" diff --git a/test/5.8-cancel.sh b/test/5.8-cancel.sh new file mode 100644 index 0000000..4304197 --- /dev/null +++ b/test/5.8-cancel.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# +# Test the cancel command. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2006 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +echo "Cancel Destination Test" +echo "" +echo " lp -d Test1 -o job-hold-until=indefinite testfile.jpg" +$runcups $VALGRIND ../systemv/lp -d Test1 -o job-hold-until=indefinite ../examples/testfile.jpg 2>&1 +echo " cancel Test1" +$runcups $VALGRIND ../systemv/cancel Test1 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "Cancel All Test" +echo "" +echo " cancel -a" +$runcups $VALGRIND ../systemv/cancel -a 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "Purge All Test" +echo "" +echo " cancel -a -x" +$runcups $VALGRIND ../systemv/cancel -a -x 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" diff --git a/test/5.9-lpinfo.sh b/test/5.9-lpinfo.sh new file mode 100644 index 0000000..5c76f22 --- /dev/null +++ b/test/5.9-lpinfo.sh @@ -0,0 +1,46 @@ +#!/bin/sh +# +# Test the lpinfo command. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2005 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +echo "LPINFO Devices Test" +echo "" +echo " lpinfo -v" +$runcups $VALGRIND ../systemv/lpinfo -v 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "LPINFO Drivers Test" +echo "" +echo " lpinfo -m" +$runcups $VALGRIND ../systemv/lpinfo -m 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" + +echo "LPINFO Drivers Test" +echo "" +echo " lpinfo -m | grep -q sample.drv" +$runcups $VALGRIND ../systemv/lpinfo -m | grep -q sample.drv 2>&1 +if test $? != 0; then + echo " FAILED" + exit 1 +else + echo " PASSED" +fi +echo "" diff --git a/test/run-stp-tests.sh b/test/run-stp-tests.sh new file mode 100755 index 0000000..2f9630f --- /dev/null +++ b/test/run-stp-tests.sh @@ -0,0 +1,1161 @@ +#!/bin/sh +# +# Perform the complete set of IPP compliance tests specified in the +# CUPS Software Test Plan. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2007 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +argcount=$# + +# +# Don't allow "make check" or "make test" to be run by root... +# + +if test "x`id -u`" = x0; then + echo Please run this as a normal user. Not supported when run as root. + exit 1 +fi + +# +# Force the permissions of the files we create... +# + +umask 022 + +# +# Make the IPP test program... +# + +make + +# +# Solaris has a non-POSIX grep in /bin... +# + +if test -x /usr/xpg4/bin/grep; then + GREP=/usr/xpg4/bin/grep +else + GREP=grep +fi + +# +# Figure out the proper echo options... +# + +if (echo "testing\c"; echo 1,2,3) | $GREP c >/dev/null; then + ac_n=-n + ac_c= +else + ac_n= + ac_c='\c' +fi + +# +# Greet the tester... +# + +echo "Welcome to the CUPS Automated Test Script." +echo "" +echo "Before we begin, it is important that you understand that the larger" +echo "tests require significant amounts of RAM and disk space. If you" +echo "attempt to run one of the big tests on a system that lacks sufficient" +echo "disk and virtual memory, the UNIX kernel might decide to kill one or" +echo "more system processes that you've grown attached to, like the X" +echo "server. The question you may want to ask yourself before running a" +echo "large test is: Do you feel lucky?" +echo "" +echo "OK, now that we have the Dirty Harry quote out of the way, please" +echo "choose the type of test you wish to perform:" +echo "" +echo "0 - No testing, keep the scheduler running for me (all systems)" +echo "1 - Basic conformance test, no load testing (all systems)" +echo "2 - Basic conformance test, some load testing (minimum 256MB VM, 50MB disk)" +echo "3 - Basic conformance test, extreme load testing (minimum 1GB VM, 500MB disk)" +echo "4 - Basic conformance test, torture load testing (minimum 2GB VM, 1GB disk)" +echo "" +echo $ac_n "Enter the number of the test you wish to perform: [1] $ac_c" + +if test $# -gt 0; then + testtype=$1 + shift +else + read testtype +fi +echo "" + +case "$testtype" in + 0) + echo "Running in test mode (0)" + nprinters=0 + pjobs=0 + pprinters=0 + loglevel="debug2" + ;; + 2) + echo "Running the medium tests (2)" + nprinters=20 + pjobs=20 + pprinters=10 + loglevel="debug" + ;; + 3) + echo "Running the extreme tests (3)" + nprinters=1000 + pjobs=100 + pprinters=50 + loglevel="debug" + ;; + 4) + echo "Running the torture tests (4)" + nprinters=20000 + pjobs=200 + pprinters=100 + loglevel="debug" + ;; + *) + echo "Running the timid tests (1)" + nprinters=0 + pjobs=10 + pprinters=0 + loglevel="debug2" + testtype="1" + ;; +esac + +# +# See if we want to do SSL testing... +# + +echo "" +echo "Now you can choose whether to create a SSL/TLS encryption key and" +echo "certificate for testing:" +echo "" +echo "0 - Do not do SSL/TLS encryption tests" +echo "1 - Test but do not require encryption" +echo "2 - Test and require encryption" +echo "" +echo $ac_n "Enter the number of the SSL/TLS tests to perform: [0] $ac_c" + +if test $# -gt 0; then + ssltype=$1 + shift +else + read ssltype +fi +echo "" + +case "$ssltype" in + 1) + echo "Will test but not require encryption (1)" + ;; + 2) + echo "Will test and require encryption (2)" + ;; + *) + echo "Not using SSL/TLS (0)" + ssltype=0 + ;; +esac + +# +# Information for the server/tests... +# + +user="$USER" +if test -z "$user"; then + if test -x /usr/ucb/whoami; then + user=`/usr/ucb/whoami` + else + user=`whoami` + fi + + if test -z "$user"; then + user="unknown" + fi +fi + +port="${CUPS_TESTPORT:=8631}" +cwd=`pwd` +root=`dirname $cwd` +CUPS_TESTROOT="$root"; export CUPS_TESTROOT + +BASE="${CUPS_TESTBASE:=}" +if test -z "$BASE"; then + if test -d /private/tmp; then + BASE=/private/tmp/cups-$user + else + BASE=/tmp/cups-$user + fi +fi +export BASE + +# +# Make sure that the LPDEST and PRINTER environment variables are +# not included in the environment that is passed to the tests. These +# will usually cause tests to fail erroneously... +# + +unset LPDEST +unset PRINTER + +# +# See if we want to use valgrind... +# + +echo "" +echo "This test script can use the Valgrind software from:" +echo "" +echo " http://developer.kde.org/~sewardj/" +echo "" +echo $ac_n "Enter Y to use Valgrind or N to not use Valgrind: [N] $ac_c" + +if test $# -gt 0; then + usevalgrind=$1 + shift +else + read usevalgrind +fi +echo "" + +case "$usevalgrind" in + Y* | y*) + VALGRIND="valgrind --tool=memcheck --log-file=$BASE/log/valgrind.%p --error-limit=no --leak-check=yes --trace-children=yes" + if test `uname` = Darwin; then + VALGRIND="$VALGRIND --dsymutil=yes" + fi + export VALGRIND + echo "Using Valgrind; log files can be found in $BASE/log..." + ;; + + *) + VALGRIND="" + export VALGRIND + ;; +esac + +# +# See if we want to do debug logging of the libraries... +# + +echo "" +echo "If CUPS was built with the --enable-debug-printfs configure option, you" +echo "can enable debug logging of the libraries." +echo "" +echo $ac_n "Enter Y or a number from 0 to 9 to enable debug logging or N to not: [N] $ac_c" + +if test $# -gt 0; then + usedebugprintfs=$1 + shift +else + read usedebugprintfs +fi +echo "" + +case "$usedebugprintfs" in + Y* | y*) + echo "Enabling debug printfs (level 5); log files can be found in $BASE/log..." + CUPS_DEBUG_LOG="$BASE/log/debug_printfs.%d"; export CUPS_DEBUG_LOG + CUPS_DEBUG_LEVEL=5; export CUPS_DEBUG_LEVEL + CUPS_DEBUG_FILTER='^(http|_http|ipp|_ipp|cups.*Request|cupsGetResponse|cupsSend).*$'; export CUPS_DEBUG_FILTER + ;; + + 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9) + echo "Enabling debug printfs (level $usedebugprintfs); log files can be found in $BASE/log..." + CUPS_DEBUG_LOG="$BASE/log/debug_printfs.%d"; export CUPS_DEBUG_LOG + CUPS_DEBUG_LEVEL="$usedebugprintfs"; export CUPS_DEBUG_LEVEL + CUPS_DEBUG_FILTER='^(http|_http|ipp|_ipp|cups.*Request|cupsGetResponse|cupsSend|mime).*$'; export CUPS_DEBUG_FILTER + ;; + + *) + ;; +esac + +# +# Start by creating temporary directories for the tests... +# + +echo "Creating directories for test..." + +rm -rf $BASE +mkdir $BASE +mkdir $BASE/bin +mkdir $BASE/bin/backend +mkdir $BASE/bin/driver +mkdir $BASE/bin/filter +mkdir $BASE/certs +mkdir $BASE/share +mkdir $BASE/share/banners +mkdir $BASE/share/drv +mkdir $BASE/share/locale +for file in ../locale/cups_*.po; do + loc=`basename $file .po | cut -c 6-` + mkdir $BASE/share/locale/$loc + ln -s $root/locale/cups_$loc.po $BASE/share/locale/$loc +done +mkdir $BASE/share/locale/en +ln -s $root/locale/cups.pot $BASE/share/locale/en/cups_en.po +mkdir $BASE/share/mime +mkdir $BASE/share/model +mkdir $BASE/share/ppdc +mkdir $BASE/interfaces +mkdir $BASE/log +mkdir $BASE/ppd +mkdir $BASE/spool +mkdir $BASE/spool/temp +mkdir $BASE/ssl + +ln -s $root/backend/dnssd $BASE/bin/backend +ln -s $root/backend/http $BASE/bin/backend +ln -s $root/backend/ipp $BASE/bin/backend +ln -s ipp $BASE/bin/backend/ipps +ln -s $root/backend/lpd $BASE/bin/backend +ln -s $root/backend/mdns $BASE/bin/backend +ln -s $root/backend/pseudo $BASE/bin/backend +ln -s $root/backend/snmp $BASE/bin/backend +ln -s $root/backend/socket $BASE/bin/backend +ln -s $root/backend/usb $BASE/bin/backend +ln -s $root/cgi-bin $BASE/bin +ln -s $root/monitor $BASE/bin +ln -s $root/notifier $BASE/bin +ln -s $root/scheduler $BASE/bin/daemon +ln -s $root/filter/commandtops $BASE/bin/filter +ln -s $root/filter/gziptoany $BASE/bin/filter +ln -s $root/filter/pstops $BASE/bin/filter +ln -s $root/filter/rastertoepson $BASE/bin/filter +ln -s $root/filter/rastertohp $BASE/bin/filter +ln -s $root/filter/rastertolabel $BASE/bin/filter +ln -s $root/filter/rastertopwg $BASE/bin/filter +cat >$BASE/share/banners/standard <$BASE/share/banners/classified <"$BASE/bin/filter/$dst" </dev/null +case "\$5" in + *media=a4* | *media=iso_a4* | *PageSize=A4*) + gziptoany "$1" "$2" "$3" "$4" "$5" "$root/examples/onepage-a4.pdf" + ;; + *) + gziptoany "$1" "$2" "$3" "$4" "$5" "$root/examples/onepage-letter.pdf" + ;; +esac +EOF + chmod +x "$BASE/bin/filter/$dst" + ;; + ps) + cat >"$BASE/bin/filter/$dst" </dev/null +case "\$5" in + *media=a4* | *media=iso_a4* | *PageSize=A4*) + gziptoany "$1" "$2" "$3" "$4" "$5" "$root/examples/onepage-a4.ps" + ;; + *) + gziptoany "$1" "$2" "$3" "$4" "$5" "$root/examples/onepage-letter.ps" + ;; +esac +EOF + chmod +x "$BASE/bin/filter/$dst" + ;; + raster) + cat >"$BASE/bin/filter/$dst" </dev/null +case "\$5" in + *media=a4* | *media=iso_a4* | *PageSize=A4*) + gziptoany "$1" "$2" "$3" "$4" "$5" "$root/examples/onepage-a4-300-black-1.pwg" + ;; + *) + gziptoany "$1" "$2" "$3" "$4" "$5" "$root/examples/onepage-letter-300-black-1.pwg" + ;; +esac +EOF + chmod +x "$BASE/bin/filter/$dst" + ;; + esac +} + +ln -s $root/test/test.convs $BASE/share/mime +ln -s $root/test/test.types $BASE/share/mime + +if test `uname` = Darwin; then + instfilter cgimagetopdf imagetopdf pdf + instfilter cgpdftopdf pdftopdf passthru + instfilter cgpdftops pdftops ps + instfilter cgpdftoraster pdftoraster raster + instfilter cgpdftoraster pdftourf raster + instfilter cgtexttopdf texttopdf pdf + instfilter pstocupsraster pstoraster raster +else + instfilter imagetopdf imagetopdf pdf + instfilter pdftopdf pdftopdf passthru + instfilter pdftops pdftops ps + instfilter pdftoraster pdftoraster raster + instfilter pdftoraster pdftourf raster + instfilter pstoraster pstoraster raster + instfilter texttopdf texttopdf pdf + + if test -d /usr/share/cups/charsets; then + ln -s /usr/share/cups/charsets $BASE/share + fi +fi + +# +# Then create the necessary config files... +# + +echo "Creating cupsd.conf for test..." + +if test $ssltype = 2; then + encryption="Encryption Required" +else + encryption="" +fi + +if test $testtype = 0; then + jobhistory="30m" + jobfiles="5m" +else + jobhistory="30" + jobfiles="Off" +fi + +cat >$BASE/cupsd.conf < + +Order Allow,Deny +$encryption + + +EOF + +if test $testtype = 0; then + echo WebInterface yes >>$BASE/cupsd.conf +fi + +cat >$BASE/cups-files.conf <> $BASE/cups-files.conf +fi + +# +# Setup lots of test queues with PPD files... +# + +echo "Creating printers.conf for test..." + +i=1 +while test $i -le $nprinters; do + cat >>$BASE/printers.conf < +Accepting Yes +DeviceURI file:/dev/null +Info Test PS printer $i +JobSheets none none +Location CUPS test suite +State Idle +StateMessage Printer $1 is idle. + +EOF + + cp testps.ppd $BASE/ppd/test-$i.ppd + + i=`expr $i + 1` +done + +if test -f $BASE/printers.conf; then + cp $BASE/printers.conf $BASE/printers.conf.orig +else + touch $BASE/printers.conf.orig +fi + +# +# Create a helper script to run programs with... +# + +echo "Setting up environment variables for test..." + +if test "x$ASAN_OPTIONS" = x; then + # AddressSanitizer on Linux reports memory leaks from the main function + # which is basically useless - in general, programs do not need to free + # every object before exit since the OS will recover the process's + # memory. + ASAN_OPTIONS="detect_leaks=false" + export ASAN_OPTIONS +fi + +if test -f "$root/cups/libcups.so.2"; then + if test "x$LD_LIBRARY_PATH" = x; then + LD_LIBRARY_PATH="$root/cups" + else + LD_LIBRARY_PATH="$root/cups:$LD_LIBRARY_PATH" + fi + + LD_PRELOAD="$root/cups/libcups.so.2:$root/cups/libcupsimage.so.2" + if test `uname` = SunOS -a -r /usr/lib/libCrun.so.1; then + LD_PRELOAD="/usr/lib/libCrun.so.1:$LD_PRELOAD" + fi +fi + +if test -f "$root/cups/libcups.2.dylib"; then + if test "x$DYLD_INSERT_LIBRARIES" = x; then + DYLD_INSERT_LIBRARIES="$root/cups/libcups.2.dylib:$root/cups/libcupsimage.2.dylib" + else + DYLD_INSERT_LIBRARIES="$root/cups/libcups.2.dylib:$root/cups/libcupsimage.2.dylib:$DYLD_INSERT_LIBRARIES" + fi + + if test "x$DYLD_LIBRARY_PATH" = x; then + DYLD_LIBRARY_PATH="$root/cups" + else + DYLD_LIBRARY_PATH="$root/cups:$DYLD_LIBRARY_PATH" + fi +fi + +# These get exported because they don't have side-effects... +CUPS_DISABLE_APPLE_DEFAULT=yes; export CUPS_DISABLE_APPLE_DEFAULT +CUPS_SERVER=localhost:$port; export CUPS_SERVER +CUPS_SERVERROOT=$BASE; export CUPS_SERVERROOT +CUPS_STATEDIR=$BASE; export CUPS_STATEDIR +CUPS_DATADIR=$BASE/share; export CUPS_DATADIR +IPP_PORT=$port; export IPP_PORT +LOCALEDIR=$BASE/share/locale; export LOCALEDIR + +echo "Creating wrapper script..." + +runcups="$BASE/runcups"; export runcups + +echo "#!/bin/sh" >$runcups +echo "# Helper script for running CUPS test instance." >>$runcups +echo "" >>$runcups +echo "# Set required environment variables..." >>$runcups +echo "CUPS_DATADIR=\"$CUPS_DATADIR\"; export CUPS_DATADIR" >>$runcups +echo "CUPS_SERVER=\"$CUPS_SERVER\"; export CUPS_SERVER" >>$runcups +echo "CUPS_SERVERROOT=\"$CUPS_SERVERROOT\"; export CUPS_SERVERROOT" >>$runcups +echo "CUPS_STATEDIR=\"$CUPS_STATEDIR\"; export CUPS_STATEDIR" >>$runcups +echo "DYLD_INSERT_LIBRARIES=\"$DYLD_INSERT_LIBRARIES\"; export DYLD_INSERT_LIBRARIES" >>$runcups +echo "DYLD_LIBRARY_PATH=\"$DYLD_LIBRARY_PATH\"; export DYLD_LIBRARY_PATH" >>$runcups +# IPP_PORT=$port; export IPP_PORT +echo "LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"; export LD_LIBRARY_PATH" >>$runcups +echo "LD_PRELOAD=\"$LD_PRELOAD\"; export LD_PRELOAD" >>$runcups +echo "LOCALEDIR=\"$LOCALEDIR\"; export LOCALEDIR" >>$runcups +if test "x$CUPS_DEBUG_LEVEL" != x; then + echo "CUPS_DEBUG_FILTER='$CUPS_DEBUG_FILTER'; export CUPS_DEBUG_FILTER" >>$runcups + echo "CUPS_DEBUG_LEVEL=$CUPS_DEBUG_LEVEL; export CUPS_DEBUG_LEVEL" >>$runcups + echo "CUPS_DEBUG_LOG='$CUPS_DEBUG_LOG'; export CUPS_DEBUG_LOG" >>$runcups +fi +echo "" >>$runcups +echo "# Run command..." >>$runcups +echo "exec \"\$@\"" >>$runcups + +chmod +x $runcups + +# +# Set a new home directory to avoid getting user options mixed in... +# + +HOME=$BASE +export HOME + +# +# Force POSIX locale for tests... +# + +LANG=C +export LANG + +LC_MESSAGES=C +export LC_MESSAGES + +# +# Start the server; run as foreground daemon in the background... +# + +echo "Starting scheduler:" +echo " $runcups $VALGRIND ../scheduler/cupsd -c $BASE/cupsd.conf -f >$BASE/log/debug_log 2>&1 &" +echo "" + +$runcups $VALGRIND ../scheduler/cupsd -c $BASE/cupsd.conf -f >$BASE/log/debug_log 2>&1 & + +cupsd=$! + +if test "x$testtype" = x0; then + # Not running tests... + echo "Scheduler is PID $cupsd and is listening on port $port." + echo "" + + echo "The $runcups helper script can be used to test programs" + echo "with the server." + exit 0 +fi + +if test $argcount -eq 0; then + echo "Scheduler is PID $cupsd; run debugger now if you need to." + echo "" + echo $ac_n "Press ENTER to continue... $ac_c" + read junk +else + echo "Scheduler is PID $cupsd." + sleep 2 +fi + +while true; do + running=`$runcups ../systemv/lpstat -r 2>/dev/null` + if test "x$running" = "xscheduler is running"; then + break + fi + + echo "Waiting for scheduler to become ready..." + sleep 10 +done + +# +# Create the test report source file... +# + +date=`date "+%Y-%m-%d"` + +strfile=$BASE/cups-str-$date-$user.html + +rm -f $strfile +cat str-header.html >$strfile + +# +# Run the IPP tests... +# + +echo "" +echo "Running IPP compliance tests..." + +echo "

    1 - IPP Compliance Tests

    " >>$strfile +echo "

    This section provides the results to the IPP compliance tests" >>$strfile +echo " outlined in the CUPS Software Test Plan. These tests were run on" >>$strfile +echo " $date by $user on `hostname`." >>$strfile +echo "

    " >>$strfile
    +
    +fail=0
    +for file in 4*.test ../examples/ipp-2.1.test; do
    +	echo $ac_n "Performing `basename $file`: $ac_c"
    +	echo "" >>$strfile
    +        echo $ac_n "`date '+[%d/%b/%Y:%H:%M:%S %z]'` $ac_c" >>$strfile
    +
    +	if test $file = ../examples/ipp-2.1.test; then
    +		uri="ipp://localhost:$port/printers/Test1"
    +		options="-V 2.1 -d NOPRINT=1 -f testfile.ps"
    +	else
    +		uri="ipp://localhost:$port/printers"
    +		options=""
    +	fi
    +	$runcups $VALGRIND ../tools/ipptool -tI $options $uri $file >> $strfile
    +	status=$?
    +
    +	if test $status != 0; then
    +		echo FAIL
    +		fail=`expr $fail + 1`
    +	else
    +		echo PASS
    +	fi
    +done
    +
    +echo "    
    " >>$strfile + +# +# Run the command tests... +# + +echo "" +echo "Running command tests..." + +echo "

    2 - Command Tests

    " >>$strfile +echo "

    This section provides the results to the command tests" >>$strfile +echo " outlined in the CUPS Software Test Plan. These tests were run on" >>$strfile +echo " $date by $user on `hostname`." >>$strfile +echo "

    " >>$strfile
    +
    +for file in 5*.sh; do
    +	echo $ac_n "Performing $file: $ac_c"
    +	echo "" >>$strfile
    +        echo "`date '+[%d/%b/%Y:%H:%M:%S %z]'` \"$file\":" >>$strfile
    +
    +	sh $file $pjobs $pprinters >> $strfile
    +	status=$?
    +
    +	if test $status != 0; then
    +		echo FAIL
    +		fail=`expr $fail + 1`
    +	else
    +		echo PASS
    +	fi
    +done
    +
    +#
    +# Restart the server...
    +#
    +
    +echo $ac_n "Performing restart test: $ac_c"
    +echo "" >>$strfile
    +echo "`date '+[%d/%b/%Y:%H:%M:%S %z]'` \"5.10-restart\":" >>$strfile
    +
    +kill -HUP $cupsd
    +
    +while true; do
    +	sleep 10
    +
    +	running=`$runcups ../systemv/lpstat -r 2>/dev/null`
    +	if test "x$running" = "xscheduler is running"; then
    +		break
    +	fi
    +done
    +
    +description="`$runcups ../systemv/lpstat -l -p Test1 | grep Description | sed -e '1,$s/^[^:]*: //g'`"
    +if test "x$description" != "xTest Printer 1"; then
    +	echo "Failed, printer-info for Test1 is '$description', expected 'Test Printer 1'." >>$strfile
    +	echo "FAIL (got '$description', expected 'Test Printer 1')"
    +	fail=`expr $fail + 1`
    +else
    +	echo "Passed." >>$strfile
    +	echo PASS
    +fi
    +
    +
    +#
    +# Perform job history test...
    +#
    +
    +echo $ac_n "Starting history test: $ac_c"
    +echo "" >>$strfile
    +echo "`date '+[%d/%b/%Y:%H:%M:%S %z]'` \"5.11-history\":" >>$strfile
    +
    +echo "    lp -d Test1 testfile.jpg" >>$strfile
    +
    +$runcups ../systemv/lp -d Test1 ../examples/testfile.jpg 2>&1 >>$strfile
    +if test $? != 0; then
    +	echo "FAIL (unable to queue test job)"
    +	echo "    FAILED" >>$strfile
    +	fail=`expr $fail + 1`
    +else
    +	echo "PASS"
    +	echo "    PASSED" >>$strfile
    +
    +	./waitjobs.sh >>$strfile
    +
    +        echo $ac_n "Verifying that history still exists: $ac_c"
    +
    +	echo "    ls -l $BASE/spool" >>$strfile
    +	count=`ls -1 $BASE/spool | wc -l`
    +	if test $count = 1; then
    +		echo "FAIL"
    +		echo "    FAILED (job control files not present)" >>$strfile
    +		ls -l $BASE/spool >>$strfile
    +		fail=`expr $fail + 1`
    +	else
    +		echo "PASS"
    +		echo "    PASSED" >>$strfile
    +
    +		echo $ac_n "Waiting for job history to expire: $ac_c"
    +		echo "" >>$strfile
    +		echo "    sleep 35" >>$strfile
    +		sleep 35
    +
    +		echo "    lpstat" >>$strfile
    +		$runcups ../systemv/lpstat 2>&1 >>$strfile
    +
    +		echo "    ls -l $BASE/spool" >>$strfile
    +		count=`ls -1 $BASE/spool | wc -l`
    +		if test $count != 1; then
    +			echo "FAIL"
    +			echo "    FAILED (job control files still present)" >>$strfile
    +			ls -l $BASE/spool >>$strfile
    +			fail=`expr $fail + 1`
    +		else
    +			echo "PASS"
    +			echo "    PASSED" >>$strfile
    +		fi
    +	fi
    +fi
    +
    +
    +#
    +# Stop the server...
    +#
    +
    +echo "    
    " >>$strfile + +kill $cupsd +wait $cupsd +cupsdstatus=$? + +# +# Verify counts... +# + +echo "Test Summary" +echo "" +echo "

    3 - Test Summary

    " >>$strfile + +if test $cupsdstatus != 0; then + echo "FAIL: cupsd failed with exit status $cupsdstatus." + echo "

    FAIL: cupsd failed with exit status $cupsdstatus.

    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: cupsd exited with no errors." + echo "

    PASS: cupsd exited with no errors.

    " >>$strfile +fi + +# Job control files +count=`ls -1 $BASE/spool | wc -l` +count=`expr $count - 1` +if test $count != 0; then + echo "FAIL: $count job control files were not purged." + echo "

    FAIL: $count job control files were not purged.

    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: All job control files purged." + echo "

    PASS: All job control files purged.

    " >>$strfile +fi + +# Pages printed on Test1 (within 1 page for timing-dependent cancel issues) +count=`$GREP '^Test1 ' $BASE/log/page_log | awk 'BEGIN{count=0}{count=count+$7}END{print count}'` +expected=`expr $pjobs \* 2 + 34` +expected2=`expr $expected + 2` +if test $count -lt $expected -a $count -gt $expected2; then + echo "FAIL: Printer 'Test1' produced $count page(s), expected $expected." + echo "

    FAIL: Printer 'Test1' produced $count page(s), expected $expected.

    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: Printer 'Test1' correctly produced $count page(s)." + echo "

    PASS: Printer 'Test1' correctly produced $count page(s).

    " >>$strfile +fi + +# Paged printed on Test2 +count=`$GREP '^Test2 ' $BASE/log/page_log | awk 'BEGIN{count=0}{count=count+$7}END{print count}'` +expected=`expr $pjobs \* 2 + 3` +if test $count != $expected; then + echo "FAIL: Printer 'Test2' produced $count page(s), expected $expected." + echo "

    FAIL: Printer 'Test2' produced $count page(s), expected $expected.

    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: Printer 'Test2' correctly produced $count page(s)." + echo "

    PASS: Printer 'Test2' correctly produced $count page(s).

    " >>$strfile +fi + +# Paged printed on Test3 +count=`$GREP '^Test3 ' $BASE/log/page_log | awk 'BEGIN{count=0}{count=count+$7}END{print count}'` +expected=2 +if test $count != $expected; then + echo "FAIL: Printer 'Test3' produced $count page(s), expected $expected." + echo "

    FAIL: Printer 'Test3' produced $count page(s), expected $expected.

    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: Printer 'Test3' correctly produced $count page(s)." + echo "

    PASS: Printer 'Test3' correctly produced $count page(s).

    " >>$strfile +fi + +# Requests logged +count=`wc -l $BASE/log/access_log | awk '{print $1}'` +expected=`expr 35 + 18 + 30 + $pjobs \* 8 + $pprinters \* $pjobs \* 4 + 2` +if test $count != $expected; then + echo "FAIL: $count requests logged, expected $expected." + echo "

    FAIL: $count requests logged, expected $expected.

    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: $count requests logged." + echo "

    PASS: $count requests logged.

    " >>$strfile +fi + +# Did CUPS-Get-Default get logged? +if $GREP -q CUPS-Get-Default $BASE/log/access_log; then + echo "FAIL: CUPS-Get-Default logged with 'AccessLogLevel actions'" + echo "

    FAIL: CUPS-Get-Default logged with 'AccessLogLevel actions'

    " >>$strfile + echo "
    " >>$strfile
    +	$GREP CUPS-Get-Default $BASE/log/access_log | sed -e '1,$s/&/&/g' -e '1,$s/>$strfile
    +	echo "    
    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: CUPS-Get-Default not logged." + echo "

    PASS: CUPS-Get-Default not logged.

    " >>$strfile +fi + +# Emergency log messages +count=`$GREP '^X ' $BASE/log/error_log | wc -l | awk '{print $1}'` +if test $count != 0; then + echo "FAIL: $count emergency messages, expected 0." + $GREP '^X ' $BASE/log/error_log + echo "

    FAIL: $count emergency messages, expected 0.

    " >>$strfile + echo "
    " >>$strfile
    +	$GREP '^X ' $BASE/log/error_log | sed -e '1,$s/&/&/g' -e '1,$s/>$strfile
    +	echo "    
    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: $count emergency messages." + echo "

    PASS: $count emergency messages.

    " >>$strfile +fi + +# Alert log messages +count=`$GREP '^A ' $BASE/log/error_log | wc -l | awk '{print $1}'` +if test $count != 0; then + echo "FAIL: $count alert messages, expected 0." + $GREP '^A ' $BASE/log/error_log + echo "

    FAIL: $count alert messages, expected 0.

    " >>$strfile + echo "
    " >>$strfile
    +	$GREP '^A ' $BASE/log/error_log | sed -e '1,$s/&/&/g' -e '1,$s/>$strfile
    +	echo "    
    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: $count alert messages." + echo "

    PASS: $count alert messages.

    " >>$strfile +fi + +# Critical log messages +count=`$GREP '^C ' $BASE/log/error_log | wc -l | awk '{print $1}'` +if test $count != 0; then + echo "FAIL: $count critical messages, expected 0." + $GREP '^C ' $BASE/log/error_log + echo "

    FAIL: $count critical messages, expected 0.

    " >>$strfile + echo "
    " >>$strfile
    +	$GREP '^C ' $BASE/log/error_log | sed -e '1,$s/&/&/g' -e '1,$s/>$strfile
    +	echo "    
    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: $count critical messages." + echo "

    PASS: $count critical messages.

    " >>$strfile +fi + +# Error log messages +count=`$GREP '^E ' $BASE/log/error_log | $GREP -v 'Unknown default SystemGroup' | wc -l | awk '{print $1}'` +if test $count != 33; then + echo "FAIL: $count error messages, expected 33." + $GREP '^E ' $BASE/log/error_log + echo "

    FAIL: $count error messages, expected 33.

    " >>$strfile + echo "
    " >>$strfile
    +	$GREP '^E ' $BASE/log/error_log | sed -e '1,$s/&/&/g' -e '1,$s/>$strfile
    +	echo "    
    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: $count error messages." + echo "

    PASS: $count error messages.

    " >>$strfile +fi + +# Warning log messages +count=`$GREP '^W ' $BASE/log/error_log | $GREP -v CreateProfile | wc -l | awk '{print $1}'` +if test $count != 8; then + echo "FAIL: $count warning messages, expected 8." + $GREP '^W ' $BASE/log/error_log + echo "

    FAIL: $count warning messages, expected 8.

    " >>$strfile + echo "
    " >>$strfile
    +	$GREP '^W ' $BASE/log/error_log | sed -e '1,$s/&/&/g' -e '1,$s/>$strfile
    +	echo "    
    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: $count warning messages." + echo "

    PASS: $count warning messages.

    " >>$strfile +fi + +# Notice log messages +count=`$GREP '^N ' $BASE/log/error_log | wc -l | awk '{print $1}'` +if test $count != 0; then + echo "FAIL: $count notice messages, expected 0." + $GREP '^N ' $BASE/log/error_log + echo "

    FAIL: $count notice messages, expected 0.

    " >>$strfile + echo "
    " >>$strfile
    +	$GREP '^N ' $BASE/log/error_log | sed -e '1,$s/&/&/g' -e '1,$s/>$strfile
    +	echo "    
    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: $count notice messages." + echo "

    PASS: $count notice messages.

    " >>$strfile +fi + +# Info log messages +count=`$GREP '^I ' $BASE/log/error_log | wc -l | awk '{print $1}'` +if test $count = 0; then + echo "FAIL: $count info messages, expected more than 0." + echo "

    FAIL: $count info messages, expected more than 0.

    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: $count info messages." + echo "

    PASS: $count info messages.

    " >>$strfile +fi + +# Debug log messages +count=`$GREP '^D ' $BASE/log/error_log | wc -l | awk '{print $1}'` +if test $count = 0; then + echo "FAIL: $count debug messages, expected more than 0." + echo "

    FAIL: $count debug messages, expected more than 0.

    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: $count debug messages." + echo "

    PASS: $count debug messages.

    " >>$strfile +fi + +# Debug2 log messages +count=`$GREP '^d ' $BASE/log/error_log | wc -l | awk '{print $1}'` +if test $count = 0 -a $loglevel = debug2; then + echo "FAIL: $count debug2 messages, expected more than 0." + echo "

    FAIL: $count debug2 messages, expected more than 0.

    " >>$strfile + fail=`expr $fail + 1` +elif test $count != 0 -a $loglevel = debug; then + echo "FAIL: $count debug2 messages, expected 0." + echo "

    FAIL: $count debug2 messages, expected 0.

    " >>$strfile + fail=`expr $fail + 1` +else + echo "PASS: $count debug2 messages." + echo "

    PASS: $count debug2 messages.

    " >>$strfile +fi + +# +# Log files... +# + +echo "

    4 - Log Files

    " >>$strfile + +for file in $BASE/log/*_log; do + baselog=`basename $file` + + echo "

    $baselog

    " >>$strfile + case $baselog in + error_log) + echo "
    Note: debug2 messages have been filtered out of the HTML report.
    " >>$strfile + echo "
    " >>$strfile
    +                        $GREP -v '^d' $BASE/log/error_log | sed -e '1,$s/&/&/g' -e '1,$s/>$strfile
    +                        echo "    
    " >>$strfile + ;; + + *) + echo "
    " >>$strfile
    +                        sed -e '1,$s/&/&/g' -e '1,$s/>$strfile
    +                        echo "    
    " >>$strfile + ;; + esac +done + +# +# Format the reports and tell the user where to find them... +# + +cat str-trailer.html >>$strfile + +echo "" +for file in $BASE/log/*_log; do + baselog=`basename $file` + cp $file $baselog-$date-$user + echo "Copied log file \"$baselog-$date-$user\" to test directory." +done +cp $strfile . +echo "Copied report file \"cups-str-$date-$user.html\" to test directory." + +# Clean out old failure log files after 1 week... +find . -name \*_log-\*-$user -a -mtime +7 -print -exec rm -f '{}' \; | awk '{print "Removed old log file \"" substr($1,3) "\" from test directory."}' +find . -name cups-str-\*-$user.html -a -mtime +7 -print -exec rm -f '{}' \; | awk '{print "Removed old report file \"" $1 "\" from test directory."}' + +echo "" + +if test $fail != 0; then + echo "$fail tests failed." + exit 1 +else + echo "All tests were successful." +fi diff --git a/test/str-header.html b/test/str-header.html new file mode 100644 index 0000000..17e9597 --- /dev/null +++ b/test/str-header.html @@ -0,0 +1,43 @@ + + + + + + + CUPS Software Test Report + + + +

    CUPS Software Test Report

    + +

    This software test report provides detailed test results that are used to evaluate the stability and standards compliance of the CUPS software.

    + +

    Document Overview

    + +

    This software test plan is organized into the following sections:

    + + diff --git a/test/str-trailer.html b/test/str-trailer.html new file mode 100644 index 0000000..b605728 --- /dev/null +++ b/test/str-trailer.html @@ -0,0 +1,2 @@ + + diff --git a/test/test.convs b/test/test.convs new file mode 100644 index 0000000..77a9ce0 --- /dev/null +++ b/test/test.convs @@ -0,0 +1,9 @@ +# Test file listing potential filters for conversions +application/pdf application/vnd.cups-pdf 100 pdftopdf +application/pdf application/postscript 100 pdftops +application/pdf application/vnd.cups-raster 100 pdftoraster +application/pdf image/urf 100 pdftourf +application/postscript application/vnd.cups-raster 100 pstoraster +image/jpeg application/pdf 100 imagetopdf +text/plain application/pdf 100 texttopdf + diff --git a/test/test.types b/test/test.types new file mode 100644 index 0000000..914081c --- /dev/null +++ b/test/test.types @@ -0,0 +1,2 @@ +# Test file listing potential MIME media types that are not in the standard mime.types file +image/urf \ No newline at end of file diff --git a/test/testhp.ppd b/test/testhp.ppd new file mode 100644 index 0000000..c6c5b65 --- /dev/null +++ b/test/testhp.ppd @@ -0,0 +1,180 @@ +*PPD-Adobe: "4.3" +*% +*% Test HP PPD file for CUPS. +*% +*% Copyright © 2007-2018 by Apple Inc. +*% Copyright © 1997-2005 by Easy Software Products. +*% +*% Licensed under Apache License v2.0. See the file "LICENSE" for more +*% information. +*% +*FormatVersion: "4.3" +*FileVersion: "2.3" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "TESTHP.PPD" +*Manufacturer: "ESP" +*Product: "(CUPS v2.3)" +*cupsVersion: 2.3 +*cupsManualCopies: True +*cupsFilter: "application/vnd.cups-raster 50 rastertohp" +*cupsFilter2: "application/vnd.cups-raster application/vnd.hp-pcl 50 rastertohp" +*ModelName: "Test HP Printer" +*ShortNickName: "Test HP Printer" +*NickName: "Test HP Printer CUPS v2.3" +*PSVersion: "(3010.000) 550" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*VariablePaperSize: False +*TTRasterizer: Type42 + +*UIConstraints: *PageSize Executive *InputSlot Envelope +*UIConstraints: *PageSize Letter *InputSlot Envelope +*UIConstraints: *PageSize Legal *InputSlot Envelope +*UIConstraints: *PageSize Tabloid *InputSlot Envelope +*UIConstraints: *PageSize A3 *InputSlot Envelope +*UIConstraints: *PageSize A4 *InputSlot Envelope +*UIConstraints: *PageSize A5 *InputSlot Envelope +*UIConstraints: *PageSize B5 *InputSlot Envelope +*UIConstraints: *Resolution 600dpi *ColorModel CMYK + +*OpenUI *PageSize/Media Size: PickOne +*OrderDependency: 10 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/US Letter: "<>setpagedevice" +*PageSize Legal/US Legal: "<>setpagedevice" +*PageSize Executive/US Executive: "<>setpagedevice" +*PageSize Tabloid/US Tabloid: "<>setpagedevice" +*PageSize A3/A3: "<>setpagedevice" +*PageSize A4/A4: "<>setpagedevice" +*PageSize A5/A5: "<>setpagedevice" +*PageSize B5/B5 (JIS): "<>setpagedevice" +*PageSize EnvISOB5/Envelope B5: "<>setpagedevice" +*PageSize Env10/Envelope #10: "<>setpagedevice" +*PageSize EnvC5/Envelope C5: "<>setpagedevice" +*PageSize EnvDL/Envelope DL: "<>setpagedevice" +*PageSize EnvMonarch/Envelope Monarch: "<>setpagedevice" +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 10 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/US Letter: "<>setpagedevice" +*PageRegion Legal/US Legal: "<>setpagedevice" +*PageRegion Executive/US Executive: "<>setpagedevice" +*PageRegion Tabloid/US Tabloid: "<>setpagedevice" +*PageRegion A3/A3: "<>setpagedevice" +*PageRegion A4/A4: "<>setpagedevice" +*PageRegion A5/A5: "<>setpagedevice" +*PageRegion B5/B5 (JIS): "<>setpagedevice" +*PageRegion EnvISOB5/Envelope B5: "<>setpagedevice" +*PageRegion Env10/Envelope #10: "<>setpagedevice" +*PageRegion EnvC5/Envelope C5: "<>setpagedevice" +*PageRegion EnvDL/Envelope DL: "<>setpagedevice" +*PageRegion EnvMonarch/Envelope Monarch: "<>setpagedevice" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/US Letter: "18 36 594 756" +*ImageableArea Legal/US Legal: "18 36 594 972" +*ImageableArea Executive/US Executive: "18 36 504 684" +*ImageableArea Tabloid/US Tabloid: "18 36 774 1188" +*ImageableArea A3/A3: "18 36 824 1155" +*ImageableArea A4/A4: "18 36 577 806" +*ImageableArea A5/A5: "18 36 403 559" +*ImageableArea B5/JIS B5: "18 36 498 693" +*ImageableArea EnvISOB5/B5 (ISO): "18 36 463 673" +*ImageableArea Env10/Com-10: "18 36 279 648" +*ImageableArea EnvC5/EnvC5: "18 36 441 613" +*ImageableArea EnvDL/EnvDL: "18 36 294 588" +*ImageableArea EnvMonarch/Envelope Monarch: "18 36 261 504" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/US Letter: "612 792" +*PaperDimension Legal/US Legal: "612 1008" +*PaperDimension Executive/US Executive: "522 756" +*PaperDimension Tabloid/US Tabloid: "792 1224" +*PaperDimension A3/A3: "842 1191" +*PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "421 595" +*PaperDimension B5/B5 (JIS): "516 729" +*PaperDimension EnvISOB5/Envelope B5: "499 709" +*PaperDimension Env10/Envelope #10: "297 684" +*PaperDimension EnvC5/Envelope C5: "459 649" +*PaperDimension EnvDL/Envelope DL: "312 624" +*PaperDimension EnvMonarch/Envelope Monarch: "279 540" + +*OpenUI *MediaType/Media Type: PickOne +*OrderDependency: 10 AnySetup *MediaType +*DefaultMediaType: Plain +*MediaType Plain/Plain Paper: "<>setpagedevice" +*MediaType Bond/Bond Paper: "<>setpagedevice" +*MediaType Special/Special Paper: "<>setpagedevice" +*MediaType Transparency/Transparency: "<>setpagedevice" +*MediaType Glossy/Glossy Paper: "<>setpagedevice" +*CloseUI: *MediaType + +*OpenUI *InputSlot/Media Source: PickOne +*OrderDependency: 10 AnySetup *InputSlot +*DefaultInputSlot: Tray +*InputSlot Tray/Tray: "<>setpagedevice" +*InputSlot Manual/Manual Feed: "<>setpagedevice" +*InputSlot Envelope/Envelope Feed: "<>setpagedevice" +*CloseUI: *InputSlot + +*OpenUI *Resolution/Output Resolution: PickOne +*OrderDependency: 20 AnySetup *Resolution +*DefaultResolution: 300dpi +*Resolution 150dpi/150 DPI: "<>setpagedevice" +*Resolution 300dpi/300 DPI: "<>setpagedevice" +*Resolution 600dpi/600 DPI: "<>setpagedevice" +*CloseUI: *Resolution + +*OpenUI *ColorModel/Output Mode: PickOne +*OrderDependency: 10 AnySetup *ColorModel +*DefaultColorModel: CMYK +*ColorModel CMYK/CMYK Color: "<>setpagedevice" +*ColorModel RGB/CMY Color: "<>setpagedevice" +*ColorModel Gray/Grayscale: "<>setpagedevice" +*CloseUI: *ColorModel + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM diff --git a/test/testps.ppd b/test/testps.ppd new file mode 100644 index 0000000..e011515 --- /dev/null +++ b/test/testps.ppd @@ -0,0 +1,175 @@ +*PPD-Adobe: "4.3" +*% +*% Test PS PPD file for CUPS. +*% +*% Copyright © 2007-2018 by Apple Inc. +*% Copyright © 1997-2005 by Easy Software Products. +*% +*% Licensed under Apache License v2.0. See the file "LICENSE" for more +*% information. +*% +*FormatVersion: "4.3" +*FileVersion: "2.3" +*LanguageVersion: English +*LanguageEncoding: ISOLatin1 +*PCFileName: "TESTPS.PPD" +*Manufacturer: "Apple" +*Product: "(CUPS v2.3)" +*ModelName: "Test PS Printer" +*ShortNickName: "Test PS Printer" +*NickName: "Test PS Printer CUPS v2.3" +*PSVersion: "(3010.000) 550" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: RGB +*FileSystem: False +*Throughput: "1" +*LandscapeOrientation: Plus90 +*VariablePaperSize: False +*TTRasterizer: Type42 + +*UIConstraints: *PageSize Executive *InputSlot Envelope +*UIConstraints: *PageSize Letter *InputSlot Envelope +*UIConstraints: *PageSize Legal *InputSlot Envelope +*UIConstraints: *PageSize Tabloid *InputSlot Envelope +*UIConstraints: *PageSize A3 *InputSlot Envelope +*UIConstraints: *PageSize A4 *InputSlot Envelope +*UIConstraints: *PageSize A5 *InputSlot Envelope +*UIConstraints: *PageSize B5 *InputSlot Envelope +*UIConstraints: *Resolution 600dpi *ColorModel CMYK + +*OpenUI *PageSize/Media Size: PickOne +*OrderDependency: 10 AnySetup *PageSize +*DefaultPageSize: Letter +*PageSize Letter/US Letter: "<>setpagedevice" +*PageSize Legal/US Legal: "<>setpagedevice" +*PageSize Executive/US Executive: "<>setpagedevice" +*PageSize Tabloid/US Tabloid: "<>setpagedevice" +*PageSize A3/A3: "<>setpagedevice" +*PageSize A4/A4: "<>setpagedevice" +*PageSize A5/A5: "<>setpagedevice" +*PageSize B5/B5 (JIS): "<>setpagedevice" +*PageSize EnvISOB5/Envelope B5: "<>setpagedevice" +*PageSize Env10/Envelope #10: "<>setpagedevice" +*PageSize EnvC5/Envelope C5: "<>setpagedevice" +*PageSize EnvDL/Envelope DL: "<>setpagedevice" +*PageSize EnvMonarch/Envelope Monarch: "<>setpagedevice" +*CloseUI: *PageSize + +*OpenUI *PageRegion: PickOne +*OrderDependency: 10 AnySetup *PageRegion +*DefaultPageRegion: Letter +*PageRegion Letter/US Letter: "<>setpagedevice" +*PageRegion Legal/US Legal: "<>setpagedevice" +*PageRegion Executive/US Executive: "<>setpagedevice" +*PageRegion Tabloid/US Tabloid: "<>setpagedevice" +*PageRegion A3/A3: "<>setpagedevice" +*PageRegion A4/A4: "<>setpagedevice" +*PageRegion A5/A5: "<>setpagedevice" +*PageRegion B5/B5 (JIS): "<>setpagedevice" +*PageRegion EnvISOB5/Envelope B5: "<>setpagedevice" +*PageRegion Env10/Envelope #10: "<>setpagedevice" +*PageRegion EnvC5/Envelope C5: "<>setpagedevice" +*PageRegion EnvDL/Envelope DL: "<>setpagedevice" +*PageRegion EnvMonarch/Envelope Monarch: "<>setpagedevice" +*CloseUI: *PageRegion + +*DefaultImageableArea: Letter +*ImageableArea Letter/US Letter: "18 36 594 756" +*ImageableArea Legal/US Legal: "18 36 594 972" +*ImageableArea Executive/US Executive: "18 36 504 684" +*ImageableArea Tabloid/US Tabloid: "18 36 774 1188" +*ImageableArea A3/A3: "18 36 824 1155" +*ImageableArea A4/A4: "18 36 577 806" +*ImageableArea A5/A5: "18 36 403 559" +*ImageableArea B5/JIS B5: "18 36 498 693" +*ImageableArea EnvISOB5/B5 (ISO): "18 36 463 673" +*ImageableArea Env10/Com-10: "18 36 279 648" +*ImageableArea EnvC5/EnvC5: "18 36 441 613" +*ImageableArea EnvDL/EnvDL: "18 36 294 588" +*ImageableArea EnvMonarch/Envelope Monarch: "18 36 261 504" + +*DefaultPaperDimension: Letter +*PaperDimension Letter/US Letter: "612 792" +*PaperDimension Legal/US Legal: "612 1008" +*PaperDimension Executive/US Executive: "522 756" +*PaperDimension Tabloid/US Tabloid: "792 1224" +*PaperDimension A3/A3: "842 1191" +*PaperDimension A4/A4: "595 842" +*PaperDimension A5/A5: "421 595" +*PaperDimension B5/B5 (JIS): "516 729" +*PaperDimension EnvISOB5/Envelope B5: "499 709" +*PaperDimension Env10/Envelope #10: "297 684" +*PaperDimension EnvC5/Envelope C5: "459 649" +*PaperDimension EnvDL/Envelope DL: "312 624" +*PaperDimension EnvMonarch/Envelope Monarch: "279 540" + +*OpenUI *MediaType/Media Type: PickOne +*OrderDependency: 10 AnySetup *MediaType +*DefaultMediaType: Plain +*MediaType Plain/Plain Paper: "<>setpagedevice" +*MediaType Bond/Bond Paper: "<>setpagedevice" +*MediaType Special/Special Paper: "<>setpagedevice" +*MediaType Transparency/Transparency: "<>setpagedevice" +*MediaType Glossy/Glossy Paper: "<>setpagedevice" +*CloseUI: *MediaType + +*OpenUI *InputSlot/Media Source: PickOne +*OrderDependency: 10 AnySetup *InputSlot +*DefaultInputSlot: Tray +*InputSlot Tray/Tray: "<>setpagedevice" +*InputSlot Manual/Manual Feed: "<>setpagedevice" +*InputSlot Envelope/Envelope Feed: "<>setpagedevice" +*CloseUI: *InputSlot + +*OpenUI *Resolution/Output Resolution: PickOne +*OrderDependency: 20 AnySetup *Resolution +*DefaultResolution: 100dpi +*Resolution 75dpi/75 DPI: "<>setpagedevice" +*Resolution 100dpi/100 DPI: "<>setpagedevice" +*CloseUI: *Resolution + +*OpenUI *ColorModel/Output Mode: PickOne +*OrderDependency: 10 AnySetup *ColorModel +*DefaultColorModel: CMYK +*ColorModel CMYK/CMYK Color: "<>setpagedevice" +*ColorModel RGB/CMY Color: "<>setpagedevice" +*ColorModel Gray/Grayscale: "<>setpagedevice" +*CloseUI: *ColorModel + +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM +*Font Bookman-Demi: Standard "(001.004S)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM +*Font Bookman-Light: Standard "(001.004S)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM +*Font Courier: Standard "(002.004S)" Standard ROM +*Font Courier-Bold: Standard "(002.004S)" Standard ROM +*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM +*Font Courier-Oblique: Standard "(002.004S)" Standard ROM +*Font Helvetica: Standard "(001.006S)" Standard ROM +*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM +*Font Palatino-Bold: Standard "(001.005S)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM +*Font Palatino-Italic: Standard "(001.005S)" Standard ROM +*Font Palatino-Roman: Standard "(001.005S)" Standard ROM +*Font Symbol: Special "(001.007S)" Special ROM +*Font Times-Bold: Standard "(001.007S)" Standard ROM +*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM +*Font Times-Italic: Standard "(001.007S)" Standard ROM +*Font Times-Roman: Standard "(001.007S)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM +*Font ZapfDingbats: Special "(001.004S)" Standard ROM diff --git a/test/waitjobs.sh b/test/waitjobs.sh new file mode 100755 index 0000000..79c1ab0 --- /dev/null +++ b/test/waitjobs.sh @@ -0,0 +1,51 @@ +#!/bin/sh +# +# Script to wait for jobs to complete. +# +# Copyright © 2008-2019 by Apple Inc. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +# +# Get timeout from command-line +# + +if test $# = 1; then + timeout=$1 +else + timeout=360 +fi + +# +# Figure out the proper echo options... +# + +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then + ac_n=-n + ac_c= +else + ac_n= + ac_c='\c' +fi + +echo $ac_n "Waiting for jobs to complete...$ac_c" +oldjobs=0 + +while test $timeout -gt 0; do + jobs=`$runcups ../systemv/lpstat 2>/dev/null | wc -l | tr -d ' '` + if test $jobs = 0; then + break + fi + + if test $jobs != $oldjobs; then + echo $ac_n "$jobs...$ac_c" + oldjobs=$jobs + fi + + sleep 5 + timeout=`expr $timeout - 5` +done + +echo "" diff --git a/tools/Dependencies b/tools/Dependencies new file mode 100644 index 0000000..9a1043d --- /dev/null +++ b/tools/Dependencies @@ -0,0 +1,29 @@ +ippevepcl.o: ippevepcl.c ippevecommon.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h ../cups/raster.h \ + ../cups/string-private.h ../config.h dither.h +ippeveprinter.o: ippeveprinter.c ../cups/cups-private.h \ + ../cups/string-private.h ../config.h ../cups/versioning.h \ + ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ + ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ + ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h ../cups/ppd-private.h ../cups/ppd.h \ + ../cups/raster.h printer-png.h +ippeveps.o: ippeveps.c ippevecommon.h ../cups/cups.h ../cups/file.h \ + ../cups/versioning.h ../cups/ipp.h ../cups/http.h ../cups/array.h \ + ../cups/language.h ../cups/pwg.h ../cups/raster.h \ + ../cups/string-private.h ../config.h ../cups/ppd-private.h \ + ../cups/ppd.h ../cups/pwg-private.h +ippfind.o: ippfind.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h +ipptool.o: ipptool.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ + ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ + ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ + ../cups/pwg-private.h ../cups/thread-private.h diff --git a/tools/Makefile b/tools/Makefile new file mode 100644 index 0000000..f1781ef --- /dev/null +++ b/tools/Makefile @@ -0,0 +1,240 @@ +# +# IPP tools makefile for CUPS. +# +# Copyright © 2007-2019 by Apple Inc. +# Copyright © 1997-2006 by Easy Software Products, all rights reserved. +# +# Licensed under Apache License v2.0. See the file "LICENSE" for more +# information. +# + +include ../Makedefs + + +OBJS = \ + ippevepcl.o \ + ippeveprinter.o \ + ippeveps.o \ + ippfind.o \ + ipptool.o +IPPTOOLS = \ + ippeveprinter \ + $(IPPFIND_BIN) \ + ipptool +TARGETS = \ + $(IPPEVECOMMANDS) \ + $(IPPTOOLS) \ + $(LOCALTARGET) + + +# +# Make all targets... +# + +all: $(TARGETS) + + +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + +# +# Clean all object files... +# + +clean: + $(RM) $(IPPTOOLS) $(IPPEVECOMMANDS) $(OBJS) + $(RM) ippeveprinter-static ippfind-static ipptool-static + + +# +# Update dependencies (without system header dependencies...) +# + +depend: + $(CC) -MM $(ALL_CFLAGS) $(OBJS:.o=.c) >Dependencies + + +# +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... +# + +install-data: + + +# +# Install programs... +# + +install-exec: + echo Installing IPP tools in $(BINDIR)... + $(INSTALL_DIR) -m 755 $(BINDIR) + for file in $(IPPTOOLS); do \ + $(INSTALL_BIN) $$file $(BINDIR); \ + done + echo Installing printer commands in $(SERVERBIN)/command... + $(INSTALL_DIR) -m 755 $(SERVERBIN)/command + for file in $(IPPEVECOMMANDS); do \ + $(INSTALL_BIN) $$file $(SERVERBIN)/command; \ + done + if test "x$(SYMROOT)" != "x"; then \ + $(INSTALL_DIR) $(SYMROOT); \ + for file in $(IPPTOOLS) $(IPPEVECOMMANDS); do \ + cp $$file $(SYMROOT); \ + dsymutil $(SYMROOT)/$$file; \ + done; \ + fi + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + +# +# Unnstall all targets... +# + +uninstall: + echo Uninstalling IPP tools from $(BINDIR)... + for file in $(IPPTOOLS); do \ + $(RM) $(BINDIR)/$$file; \ + done + -$(RMDIR) $(BINDIR) + echo Uninstalling print commands from $(SERVERBIN)/command... + for file in $(IPPEVECOMMANDS); do \ + $(RM) $(SERVERBIN)/command/$$file; \ + done + -$(RMDIR) $(SERVERBIN)/ippeveprinter + + +# +# Local programs (not built when cross-compiling...) +# + +local: ippeveprinter-static ipptool-static + + +# +# ippeveprinter +# + +ippeveprinter: ippeveprinter.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ ippeveprinter.o $(DNSSDLIBS) $(PAMLIBS) $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# ippeveprinter-static +# + +ippeveprinter-static: ippeveprinter.o ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ ippeveprinter.o $(PAMLIBS) $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# ippevepcl +# + +ippevepcl: ippevepcl.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ ippevepcl.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# ippeveps +# + +ippeveps: ippeveps.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ ippeveps.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# ippfind +# + +ippfind: ippfind.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ ippfind.o $(DNSSDLIBS) $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# ippfind-static +# + +ippfind-static: ippfind.o ../cups/$(LIBCUPSSTATIC) + echo Linking $@ + $(LD_CC) $(ALL_LDFLAGS) -o $@ ippfind.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# ipptool +# + +ipptool: ipptool.o ../cups/$(LIBCUPS) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ ipptool.o $(LINKCUPS) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# ipptool-static +# + +ipptool-static: ipptool.o ../cups/$(LIBCUPSSTATIC) + echo Linking $@... + $(LD_CC) $(ALL_LDFLAGS) -o $@ ipptool.o $(LINKCUPSSTATIC) + $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ + + +# +# Generate the header containing the data for printer.png... +# + +pngheader: + echo "Generating printer-png.h from printer.png..." + echo "static const unsigned char printer_png[] =" >printer-png.h + echo "{" >>printer-png.h + od -t x1 printer.png | cut -b12- | awk '{printf(" "); for (i = 1; i <= NF; i ++) printf("0x%s,", $$i); print "";}' >>printer-png.h + echo "};" >>printer-png.h + + +# +# Dependencies... +# + +include Dependencies diff --git a/tools/dither.h b/tools/dither.h new file mode 100644 index 0000000..e723d4e --- /dev/null +++ b/tools/dither.h @@ -0,0 +1,68 @@ +/* Simple ordered dither threshold matrix */ +const unsigned char threshold[64][64] = +{ + { 0, 235, 138, 22, 45, 98, 217, 2, 45, 98, 7, 185, 45, 97, 6, 192, 110, 37, 110, 37, 97, 45, 18, 148, 109, 37, 97, 45, 7, 185, 45, 97, 6, 192, 109, 37, 57, 82, 165, 12, 26, 130, 190, 6, 119, 31, 97, 45, 179, 8, 109, 37, 97, 45, 140, 22, 109, 37, 57, 82, 9, 177, 24, 135 }, + { 109, 37, 57, 82, 20, 143, 57, 82, 146, 19, 57, 82, 15, 158, 87, 53, 20, 144, 13, 162, 138, 22, 53, 87, 162, 13, 138, 22, 57, 82, 22, 140, 57, 82, 153, 16, 119, 31, 109, 37, 109, 37, 57, 81, 19, 147, 213, 2, 53, 87, 21, 142, 13, 164, 53, 87, 187, 6, 152, 17, 119, 32, 110, 37 }, + { 24, 135, 12, 167, 97, 45, 17, 151, 45, 97, 32, 119, 26, 130, 119, 32, 81, 58, 30, 121, 81, 58, 181, 8, 119, 32, 97, 45, 17, 151, 45, 97, 161, 14, 45, 97, 213, 2, 135, 24, 7, 183, 138, 22, 109, 37, 58, 81, 121, 30, 109, 37, 58, 81, 30, 121, 58, 81, 127, 27, 58, 81, 165, 12 }, + { 58, 81, 31, 119, 5, 197, 58, 81, 9, 175, 206, 3, 58, 81, 10, 174, 222, 1, 45, 97, 206, 3, 124, 29, 58, 81, 4, 200, 58, 81, 2, 217, 58, 81, 27, 127, 108, 37, 58, 81, 30, 121, 58, 81, 167, 12, 25, 132, 15, 158, 5, 197, 135, 24, 206, 3, 142, 21, 45, 97, 203, 3, 119, 32 }, + { 6, 190, 108, 38, 97, 45, 143, 20, 108, 38, 97, 45, 148, 18, 108, 38, 58, 81, 148, 18, 119, 32, 97, 45, 16, 153, 97, 45, 143, 20, 46, 97, 32, 119, 6, 187, 25, 132, 13, 164, 46, 97, 1, 222, 119, 32, 108, 38, 108, 38, 108, 38, 108, 38, 108, 38, 58, 81, 8, 179, 123, 29, 97, 46 }, + { 58, 81, 161, 14, 147, 19, 53, 87, 22, 138, 14, 159, 87, 53, 22, 138, 14, 159, 108, 38, 87, 53, 177, 9, 53, 87, 14, 161, 58, 81, 22, 137, 12, 167, 108, 38, 108, 38, 81, 58, 153, 16, 123, 29, 53, 87, 187, 6, 162, 13, 132, 25, 11, 168, 25, 132, 12, 165, 119, 32, 81, 58, 14, 161 }, + { 140, 22, 108, 38, 81, 58, 8, 181, 108, 38, 97, 46, 8, 181, 58, 81, 31, 119, 7, 185, 147, 19, 58, 81, 127, 27, 97, 46, 8, 179, 108, 38, 58, 81, 21, 142, 13, 162, 5, 194, 108, 38, 58, 81, 15, 156, 87, 53, 30, 121, 108, 38, 108, 38, 58, 81, 127, 27, 97, 46, 16, 153, 97, 46 }, + { 58, 81, 2, 217, 123, 29, 36, 111, 1, 227, 138, 22, 97, 46, 4, 203, 108, 38, 108, 38, 97, 46, 23, 137, 222, 1, 112, 36, 58, 81, 6, 192, 137, 23, 53, 87, 30, 121, 58, 80, 23, 137, 183, 7, 36, 111, 26, 130, 59, 80, 0, 235, 130, 26, 192, 6, 46, 97, 222, 1, 53, 87, 194, 5 }, + { 17, 151, 46, 97, 172, 10, 59, 80, 27, 127, 59, 80, 18, 148, 59, 80, 172, 10, 24, 135, 4, 200, 80, 59, 36, 112, 167, 12, 137, 23, 108, 38, 97, 46, 0, 235, 46, 97, 144, 20, 46, 97, 127, 27, 53, 87, 3, 206, 147, 19, 108, 38, 108, 38, 80, 59, 151, 17, 80, 59, 27, 127, 96, 46 }, + { 58, 81, 126, 27, 96, 46, 15, 156, 46, 97, 172, 10, 46, 96, 14, 159, 119, 32, 59, 80, 32, 119, 156, 15, 53, 87, 27, 127, 59, 80, 21, 142, 10, 172, 80, 59, 177, 9, 80, 59, 2, 213, 59, 80, 14, 161, 108, 38, 59, 79, 23, 137, 11, 168, 137, 23, 46, 96, 32, 119, 13, 164, 140, 22 }, + { 6, 190, 152, 17, 112, 36, 59, 79, 6, 187, 59, 79, 30, 121, 108, 38, 96, 46, 15, 156, 46, 96, 29, 123, 183, 7, 46, 96, 209, 3, 46, 96, 32, 118, 26, 130, 96, 46, 15, 158, 46, 96, 16, 153, 46, 96, 32, 118, 10, 172, 108, 38, 108, 38, 59, 79, 179, 8, 141, 21, 59, 79, 32, 119 }, + { 87, 53, 36, 112, 203, 4, 137, 23, 96, 46, 23, 137, 4, 200, 24, 135, 235, 0, 87, 53, 8, 179, 108, 38, 87, 53, 15, 156, 53, 87, 156, 15, 59, 79, 156, 15, 119, 32, 59, 79, 30, 121, 59, 79, 6, 190, 151, 17, 59, 79, 187, 6, 26, 130, 3, 206, 108, 38, 96, 46, 206, 3, 110, 37 }, + { 142, 21, 59, 79, 28, 126, 59, 79, 144, 20, 59, 79, 119, 32, 60, 79, 32, 118, 27, 129, 87, 53, 3, 209, 118, 32, 60, 79, 126, 28, 96, 46, 5, 194, 46, 96, 197, 5, 134, 24, 7, 183, 137, 23, 46, 96, 36, 112, 28, 126, 108, 38, 108, 38, 60, 79, 148, 18, 118, 32, 60, 79, 167, 12 }, + { 37, 109, 174, 10, 46, 95, 10, 174, 47, 95, 170, 11, 47, 95, 9, 177, 47, 95, 14, 159, 118, 32, 60, 79, 170, 11, 134, 24, 183, 7, 112, 36, 79, 60, 140, 22, 108, 38, 107, 38, 107, 39, 79, 60, 17, 149, 60, 79, 213, 2, 24, 135, 177, 9, 159, 14, 47, 95, 9, 175, 137, 23, 47, 95 }, + { 0, 235, 60, 79, 18, 149, 87, 53, 217, 2, 53, 87, 156, 15, 86, 53, 16, 153, 54, 86, 167, 12, 137, 23, 107, 39, 60, 79, 36, 112, 172, 10, 147, 19, 47, 95, 19, 147, 9, 175, 132, 25, 1, 227, 36, 110, 9, 175, 112, 36, 60, 79, 30, 121, 60, 79, 126, 28, 112, 36, 60, 79, 19, 147 }, + { 37, 109, 140, 22, 47, 95, 30, 121, 60, 78, 30, 121, 61, 78, 32, 118, 61, 78, 200, 4, 112, 36, 61, 78, 19, 147, 227, 1, 47, 95, 27, 129, 86, 54, 2, 217, 54, 86, 28, 126, 61, 78, 126, 28, 61, 78, 129, 26, 95, 47, 15, 158, 47, 95, 20, 144, 1, 222, 95, 47, 6, 190, 47, 95 }, + { 13, 164, 61, 78, 4, 200, 162, 13, 24, 134, 183, 7, 24, 134, 213, 2, 142, 21, 123, 29, 95, 47, 192, 6, 107, 39, 86, 54, 153, 16, 54, 86, 30, 121, 61, 78, 30, 121, 95, 47, 170, 11, 47, 95, 10, 172, 47, 94, 179, 8, 61, 78, 4, 200, 107, 39, 61, 78, 22, 140, 61, 78, 23, 137 }, + { 37, 109, 31, 120, 107, 39, 107, 39, 107, 39, 107, 39, 61, 78, 121, 30, 107, 39, 61, 78, 19, 146, 86, 54, 23, 137, 13, 164, 61, 77, 200, 4, 159, 14, 131, 25, 13, 164, 4, 200, 86, 54, 18, 148, 54, 86, 203, 4, 94, 47, 19, 146, 47, 94, 23, 137, 13, 161, 47, 94, 17, 151, 47, 94 }, + { 26, 131, 6, 187, 158, 15, 26, 131, 4, 203, 26, 131, 177, 9, 47, 94, 14, 159, 10, 174, 94, 47, 151, 17, 61, 77, 32, 118, 27, 129, 118, 32, 107, 39, 107, 39, 86, 54, 126, 28, 118, 32, 61, 77, 31, 120, 77, 61, 126, 28, 86, 54, 14, 161, 107, 39, 77, 61, 6, 190, 61, 77, 3, 206 }, + { 107, 39, 61, 77, 121, 30, 86, 54, 121, 30, 107, 39, 61, 77, 16, 153, 107, 39, 86, 54, 1, 222, 94, 47, 8, 179, 47, 94, 174, 10, 54, 86, 11, 168, 5, 194, 144, 20, 86, 54, 17, 152, 3, 209, 162, 13, 134, 24, 12, 167, 123, 29, 61, 77, 7, 185, 136, 23, 47, 94, 32, 118, 27, 127 }, + { 164, 13, 144, 20, 94, 47, 174, 10, 61, 77, 11, 170, 123, 29, 37, 110, 5, 194, 123, 29, 86, 54, 20, 143, 61, 77, 3, 206, 61, 77, 18, 148, 118, 32, 85, 54, 32, 118, 177, 9, 85, 55, 28, 126, 106, 39, 106, 39, 61, 77, 0, 235, 118, 32, 106, 39, 61, 77, 19, 147, 177, 9, 81, 58 }, + { 106, 39, 77, 61, 222, 1, 94, 47, 18, 149, 48, 93, 227, 1, 85, 55, 29, 123, 168, 11, 112, 36, 85, 55, 33, 117, 27, 129, 117, 33, 106, 39, 94, 47, 149, 18, 77, 61, 27, 129, 117, 33, 61, 77, 20, 144, 6, 190, 117, 33, 55, 85, 159, 14, 26, 131, 3, 209, 117, 32, 94, 47, 16, 153 }, + { 5, 194, 123, 29, 55, 85, 19, 146, 62, 77, 126, 28, 37, 110, 156, 15, 62, 77, 36, 112, 17, 151, 194, 5, 151, 17, 77, 62, 17, 152, 2, 217, 175, 9, 93, 47, 227, 0, 48, 93, 6, 192, 168, 11, 117, 33, 77, 62, 161, 14, 140, 22, 106, 39, 106, 39, 106, 39, 62, 77, 28, 126, 81, 58 }, + { 47, 94, 153, 16, 123, 29, 85, 55, 5, 197, 152, 17, 62, 77, 29, 123, 10, 174, 48, 93, 28, 126, 106, 39, 93, 48, 8, 181, 106, 39, 62, 77, 33, 117, 144, 20, 62, 77, 18, 148, 106, 39, 106, 39, 93, 48, 18, 147, 48, 93, 33, 117, 192, 6, 164, 13, 131, 26, 14, 158, 227, 1, 140, 22 }, + { 13, 164, 85, 55, 10, 174, 117, 33, 106, 39, 93, 48, 10, 172, 106, 39, 62, 77, 2, 209, 62, 77, 161, 14, 142, 21, 62, 77, 33, 117, 143, 20, 106, 39, 93, 48, 22, 138, 48, 93, 158, 15, 131, 26, 1, 217, 85, 55, 200, 4, 106, 39, 105, 39, 105, 40, 105, 40, 105, 40, 105, 40, 87, 53 }, + { 85, 55, 120, 31, 62, 77, 6, 187, 142, 21, 123, 29, 85, 55, 5, 194, 123, 29, 37, 110, 179, 8, 117, 33, 85, 55, 23, 136, 6, 192, 62, 77, 10, 174, 5, 197, 62, 77, 8, 179, 105, 40, 105, 40, 85, 55, 120, 31, 62, 77, 167, 12, 26, 131, 15, 158, 5, 194, 168, 11, 147, 19, 118, 32 }, + { 135, 24, 3, 209, 136, 23, 105, 40, 62, 76, 209, 3, 123, 29, 63, 76, 15, 155, 63, 76, 27, 129, 93, 48, 0, 235, 105, 40, 93, 48, 17, 151, 48, 93, 33, 116, 16, 155, 37, 110, 4, 203, 162, 13, 24, 134, 11, 168, 136, 23, 105, 40, 105, 40, 105, 40, 63, 76, 126, 28, 85, 55, 6, 190 }, + { 37, 109, 33, 117, 63, 76, 21, 142, 12, 165, 48, 93, 16, 155, 123, 29, 93, 48, 11, 170, 48, 93, 16, 155, 55, 85, 170, 11, 136, 23, 63, 76, 146, 19, 63, 76, 27, 129, 76, 63, 27, 129, 116, 33, 76, 63, 33, 117, 63, 76, 19, 147, 217, 2, 168, 11, 142, 21, 48, 93, 120, 31, 80, 59 }, + { 175, 9, 93, 49, 10, 172, 105, 40, 63, 76, 125, 28, 85, 55, 8, 179, 117, 33, 84, 55, 197, 5, 55, 84, 27, 129, 116, 33, 93, 49, 213, 2, 49, 93, 11, 170, 49, 93, 172, 10, 105, 40, 93, 49, 5, 194, 49, 93, 192, 6, 116, 33, 63, 76, 120, 31, 63, 76, 3, 206, 162, 13, 26, 131 }, + { 37, 109, 18, 149, 63, 76, 0, 235, 131, 26, 187, 6, 116, 33, 84, 55, 1, 222, 140, 22, 63, 76, 33, 116, 8, 179, 84, 55, 158, 15, 55, 84, 27, 129, 84, 55, 217, 2, 55, 84, 20, 144, 10, 174, 55, 84, 149, 18, 122, 29, 93, 49, 20, 143, 49, 93, 15, 158, 116, 33, 105, 40, 80, 59 }, + { 138, 22, 93, 49, 22, 138, 105, 40, 105, 40, 63, 76, 159, 14, 136, 23, 63, 75, 33, 116, 164, 13, 144, 20, 93, 49, 5, 194, 63, 75, 33, 116, 185, 7, 116, 33, 75, 63, 31, 120, 104, 40, 75, 63, 31, 120, 104, 41, 75, 63, 181, 8, 84, 55, 6, 192, 104, 41, 84, 55, 21, 142, 217, 2 }, + { 84, 55, 197, 5, 55, 84, 19, 146, 13, 164, 140, 22, 104, 41, 93, 49, 18, 149, 49, 93, 28, 125, 63, 75, 125, 28, 93, 49, 21, 141, 11, 168, 63, 75, 165, 12, 24, 134, 15, 158, 209, 3, 26, 131, 15, 158, 1, 227, 144, 20, 49, 93, 16, 153, 63, 75, 23, 136, 10, 172, 63, 75, 120, 30 }, + { 14, 161, 75, 63, 177, 8, 116, 33, 75, 63, 33, 116, 2, 213, 175, 9, 63, 75, 190, 6, 92, 49, 2, 213, 152, 17, 111, 36, 63, 75, 36, 112, 27, 129, 111, 36, 104, 41, 104, 41, 104, 41, 104, 41, 104, 41, 104, 41, 75, 63, 125, 28, 92, 49, 14, 161, 104, 41, 92, 49, 7, 185, 49, 92 }, + { 47, 94, 144, 20, 122, 30, 92, 49, 5, 197, 49, 92, 28, 125, 92, 49, 143, 20, 49, 92, 18, 149, 75, 63, 36, 112, 11, 168, 222, 1, 49, 92, 203, 4, 55, 84, 190, 6, 162, 13, 26, 130, 190, 6, 164, 13, 26, 130, 13, 162, 206, 3, 122, 30, 84, 55, 0, 235, 122, 30, 84, 55, 16, 152 }, + { 6, 192, 116, 33, 75, 63, 16, 155, 63, 74, 15, 156, 64, 74, 20, 143, 84, 55, 22, 138, 92, 49, 143, 20, 49, 92, 27, 129, 55, 84, 156, 15, 56, 84, 16, 155, 116, 33, 104, 41, 104, 41, 104, 41, 104, 41, 104, 41, 103, 41, 64, 74, 181, 8, 115, 33, 64, 74, 152, 17, 122, 30, 80, 59 }, + { 103, 41, 92, 49, 213, 2, 49, 92, 28, 125, 92, 49, 6, 185, 92, 49, 3, 206, 64, 74, 7, 185, 64, 74, 190, 6, 64, 74, 31, 120, 64, 74, 33, 117, 103, 41, 64, 74, 20, 144, 8, 181, 24, 134, 15, 158, 5, 197, 141, 21, 122, 30, 56, 84, 19, 146, 13, 164, 50, 91, 203, 4, 112, 36 }, + { 24, 134, 12, 167, 56, 84, 34, 115, 172, 10, 136, 23, 64, 74, 18, 149, 92, 49, 18, 149, 91, 49, 15, 156, 50, 91, 20, 144, 7, 183, 24, 134, 183, 7, 24, 134, 235, 0, 50, 91, 31, 120, 64, 74, 125, 28, 115, 34, 64, 74, 161, 14, 115, 34, 103, 41, 64, 74, 125, 28, 37, 110, 165, 12 }, + { 103, 41, 64, 74, 23, 136, 185, 7, 103, 41, 91, 50, 20, 143, 50, 91, 22, 138, 56, 84, 31, 120, 64, 74, 31, 120, 103, 41, 103, 41, 64, 74, 31, 120, 103, 41, 64, 74, 125, 28, 91, 50, 217, 2, 103, 41, 91, 50, 10, 174, 50, 91, 22, 140, 200, 4, 134, 24, 7, 183, 65, 74, 28, 126 }, + { 227, 1, 146, 19, 103, 41, 65, 74, 21, 142, 227, 1, 65, 74, 6, 190, 65, 74, 9, 175, 0, 235, 24, 134, 206, 3, 162, 13, 130, 26, 213, 2, 50, 91, 13, 162, 131, 26, 185, 7, 152, 17, 65, 74, 170, 11, 144, 20, 56, 84, 1, 222, 103, 41, 103, 41, 103, 41, 91, 50, 175, 9, 50, 91 }, + { 49, 93, 33, 116, 6, 187, 136, 23, 50, 91, 33, 116, 18, 149, 50, 91, 19, 147, 103, 41, 103, 41, 102, 41, 102, 42, 102, 42, 102, 42, 65, 74, 21, 141, 102, 42, 102, 42, 65, 74, 125, 28, 115, 34, 102, 42, 65, 74, 31, 119, 65, 74, 167, 12, 26, 130, 12, 165, 115, 34, 84, 56, 151, 17 }, + { 148, 18, 102, 42, 102, 42, 84, 56, 174, 10, 102, 42, 65, 74, 22, 140, 65, 74, 159, 14, 131, 26, 11, 168, 26, 131, 15, 158, 7, 185, 159, 14, 50, 91, 5, 197, 168, 11, 141, 21, 50, 91, 179, 8, 24, 134, 4, 203, 162, 13, 142, 21, 102, 42, 102, 42, 65, 74, 2, 217, 140, 22, 80, 59 }, + { 49, 92, 9, 175, 24, 133, 3, 209, 65, 74, 19, 146, 185, 7, 90, 50, 3, 209, 102, 42, 65, 74, 31, 120, 102, 42, 65, 74, 31, 120, 65, 73, 34, 115, 27, 129, 115, 34, 56, 84, 203, 4, 111, 36, 65, 73, 125, 28, 102, 42, 65, 73, 23, 136, 192, 6, 136, 23, 102, 42, 90, 50, 6, 187 }, + { 31, 119, 102, 42, 102, 42, 90, 50, 138, 22, 102, 42, 65, 73, 125, 28, 65, 73, 21, 141, 194, 5, 50, 90, 192, 6, 141, 21, 50, 90, 21, 141, 6, 187, 102, 42, 65, 73, 16, 155, 122, 30, 90, 50, 14, 161, 50, 90, 34, 115, 200, 4, 102, 42, 102, 42, 84, 56, 18, 149, 115, 34, 79, 59 }, + { 209, 3, 25, 133, 6, 187, 146, 19, 65, 73, 203, 4, 134, 24, 11, 168, 111, 36, 102, 42, 65, 73, 19, 147, 102, 42, 65, 73, 1, 227, 102, 42, 65, 73, 19, 146, 217, 2, 115, 34, 56, 84, 17, 152, 73, 65, 177, 9, 151, 17, 73, 65, 165, 12, 131, 26, 175, 9, 73, 65, 9, 174, 24, 134 }, + { 33, 117, 102, 42, 65, 73, 34, 115, 11, 170, 115, 34, 65, 73, 36, 111, 181, 7, 168, 11, 136, 23, 50, 90, 161, 14, 146, 19, 50, 90, 159, 14, 136, 23, 102, 42, 102, 42, 73, 65, 7, 183, 90, 50, 1, 227, 50, 90, 36, 111, 27, 129, 115, 34, 72, 65, 34, 115, 27, 127, 111, 36, 79, 59 }, + { 50, 90, 164, 13, 141, 21, 102, 42, 102, 42, 90, 50, 15, 156, 50, 90, 27, 127, 115, 34, 66, 72, 2, 217, 102, 42, 66, 72, 22, 138, 102, 42, 66, 72, 167, 12, 133, 25, 12, 165, 37, 110, 28, 125, 72, 66, 143, 20, 72, 66, 179, 8, 90, 50, 235, 0, 51, 90, 203, 4, 90, 50, 7, 183 }, + { 17, 152, 101, 42, 66, 72, 235, 0, 25, 133, 8, 181, 66, 72, 222, 1, 101, 43, 90, 50, 17, 152, 51, 90, 23, 136, 185, 7, 51, 90, 9, 175, 203, 4, 114, 34, 72, 66, 125, 28, 72, 66, 172, 10, 146, 19, 90, 51, 209, 3, 51, 90, 153, 16, 56, 84, 16, 155, 56, 84, 16, 155, 87, 53 }, + { 84, 56, 6, 192, 151, 17, 114, 35, 72, 66, 35, 114, 27, 127, 37, 110, 17, 152, 197, 5, 84, 56, 14, 161, 101, 43, 72, 66, 18, 149, 72, 66, 125, 28, 90, 51, 190, 6, 51, 90, 3, 206, 51, 90, 35, 114, 11, 170, 66, 72, 159, 14, 66, 72, 28, 125, 66, 72, 31, 119, 66, 72, 127, 27 }, + { 111, 36, 66, 72, 124, 28, 90, 51, 16, 155, 51, 90, 16, 155, 66, 72, 29, 124, 66, 72, 124, 29, 66, 72, 5, 192, 136, 23, 51, 90, 144, 19, 51, 90, 149, 18, 56, 83, 18, 149, 66, 72, 142, 20, 101, 43, 84, 56, 31, 119, 83, 56, 35, 114, 170, 10, 25, 133, 183, 7, 133, 25, 1, 222 }, + { 172, 10, 141, 21, 51, 90, 170, 11, 83, 56, 4, 200, 89, 51, 11, 170, 52, 89, 21, 141, 183, 7, 114, 35, 101, 43, 66, 72, 2, 213, 66, 72, 8, 179, 66, 72, 22, 140, 52, 89, 147, 19, 52, 89, 203, 4, 133, 25, 8, 181, 25, 133, 4, 200, 101, 43, 66, 72, 114, 35, 83, 56, 36, 111 }, + { 28, 126, 66, 72, 3, 206, 37, 110, 29, 124, 72, 66, 31, 119, 71, 66, 4, 203, 101, 43, 67, 71, 167, 12, 25, 133, 12, 165, 52, 89, 29, 124, 89, 52, 0, 235, 52, 89, 177, 9, 56, 83, 11, 170, 114, 35, 67, 71, 35, 114, 101, 43, 67, 71, 35, 114, 2, 213, 52, 89, 177, 9, 79, 59 }, + { 51, 90, 15, 156, 122, 30, 67, 71, 8, 181, 133, 25, 185, 7, 141, 21, 52, 89, 16, 155, 114, 35, 101, 43, 101, 43, 67, 71, 36, 111, 165, 12, 136, 23, 56, 83, 31, 119, 67, 71, 35, 114, 127, 27, 89, 52, 15, 156, 52, 89, 167, 12, 133, 25, 12, 165, 83, 56, 16, 155, 89, 52, 15, 156 }, + { 6, 192, 101, 43, 89, 52, 148, 18, 101, 43, 101, 43, 101, 43, 67, 71, 124, 29, 67, 71, 0, 235, 25, 133, 200, 4, 133, 25, 183, 7, 101, 43, 67, 71, 19, 146, 187, 6, 133, 25, 217, 2, 67, 71, 8, 181, 67, 71, 1, 222, 114, 35, 101, 43, 67, 71, 31, 119, 67, 71, 31, 119, 79, 59 }, + { 51, 90, 23, 135, 10, 172, 67, 71, 24, 135, 222, 1, 26, 130, 15, 158, 10, 174, 114, 35, 100, 43, 67, 71, 31, 119, 67, 70, 35, 114, 21, 141, 5, 194, 114, 35, 100, 43, 100, 43, 89, 52, 16, 155, 52, 89, 27, 127, 122, 30, 56, 83, 197, 5, 132, 25, 8, 181, 25, 133, 206, 3, 137, 23 }, + { 18, 149, 100, 43, 89, 52, 194, 5, 100, 43, 100, 43, 100, 43, 100, 43, 68, 70, 7, 185, 26, 131, 175, 9, 52, 88, 11, 170, 100, 43, 100, 43, 100, 43, 68, 70, 21, 141, 12, 165, 111, 36, 68, 70, 35, 113, 16, 155, 56, 83, 16, 155, 113, 35, 68, 70, 35, 113, 68, 70, 113, 35, 79, 59 }, + { 52, 88, 227, 1, 135, 24, 68, 70, 167, 12, 26, 130, 13, 162, 209, 3, 135, 24, 100, 43, 100, 43, 83, 56, 18, 148, 56, 83, 1, 222, 162, 13, 132, 25, 12, 167, 52, 88, 35, 113, 7, 183, 25, 133, 4, 203, 56, 83, 175, 9, 122, 30, 88, 52, 15, 156, 52, 88, 168, 11, 52, 88, 181, 8 }, + { 27, 129, 113, 35, 88, 52, 20, 143, 100, 43, 100, 43, 100, 43, 99, 43, 68, 70, 19, 146, 5, 194, 113, 35, 68, 70, 35, 113, 29, 124, 99, 44, 99, 44, 68, 70, 2, 213, 68, 70, 29, 124, 99, 44, 68, 70, 31, 119, 99, 44, 70, 68, 177, 9, 70, 68, 227, 1, 83, 56, 16, 153, 56, 83 }, + { 170, 11, 70, 68, 10, 174, 68, 70, 19, 146, 197, 5, 158, 15, 130, 26, 175, 9, 113, 35, 56, 83, 21, 140, 3, 209, 152, 17, 56, 83, 21, 141, 4, 197, 122, 30, 88, 52, 16, 153, 52, 88, 165, 12, 132, 25, 183, 7, 25, 132, 213, 2, 88, 52, 143, 20, 52, 88, 119, 31, 68, 70, 32, 118 }, + { 88, 52, 19, 147, 88, 52, 213, 2, 99, 44, 99, 44, 99, 44, 99, 44, 99, 44, 68, 70, 161, 14, 111, 36, 99, 44, 68, 70, 7, 183, 99, 44, 70, 68, 16, 153, 122, 30, 70, 68, 5, 197, 113, 35, 68, 70, 35, 113, 68, 70, 35, 113, 29, 124, 68, 70, 24, 135, 187, 6, 25, 132, 3, 209 }, + { 31, 119, 70, 68, 124, 29, 82, 57, 21, 141, 13, 164, 132, 25, 187, 6, 25, 132, 217, 2, 122, 30, 70, 68, 18, 148, 122, 30, 37, 110, 16, 153, 122, 30, 56, 82, 10, 172, 113, 35, 99, 44, 88, 52, 0, 235, 52, 88, 14, 159, 52, 88, 17, 152, 5, 194, 99, 44, 99, 44, 99, 44, 79, 60 }, + { 13, 162, 200, 4, 167, 11, 111, 36, 68, 70, 119, 31, 68, 70, 119, 31, 98, 44, 98, 45, 87, 52, 6, 190, 53, 87, 9, 177, 57, 82, 30, 122, 8, 179, 113, 35, 69, 68, 7, 185, 132, 25, 12, 164, 57, 82, 17, 152, 69, 69, 177, 9, 69, 69, 35, 113, 165, 12, 26, 130, 11, 168, 132, 25 }, + { 37, 109, 69, 69, 36, 111, 17, 151, 190, 6, 53, 87, 1, 227, 53, 87, 10, 174, 130, 26, 14, 159, 69, 69, 20, 143, 69, 69, 206, 3, 98, 45, 69, 69, 1, 227, 142, 21, 98, 45, 98, 45, 69, 69, 124, 29, 37, 110, 5, 197, 87, 53, 20, 143, 53, 87, 29, 124, 98, 45, 98, 45, 79, 60 }, + { 26, 130, 14, 159, 53, 87, 29, 124, 82, 57, 18, 148, 82, 57, 18, 148, 98, 45, 98, 45, 87, 53, 138, 22, 53, 87, 124, 29, 37, 110, 165, 12, 142, 21, 98, 45, 69, 69, 24, 135, 3, 209, 132, 25, 181, 8, 82, 57, 27, 127, 113, 35, 82, 57, 177, 9, 57, 82, 213, 2, 25, 132, 6, 187 }, + { 37, 109, 61, 78, 8, 179, 61, 78, 20, 143, 66, 72, 22, 138, 66, 72, 24, 135, 4, 200, 175, 9, 72, 66, 1, 227, 151, 17, 72, 66, 29, 124, 68, 70, 24, 135, 181, 8, 98, 45, 98, 45, 98, 45, 68, 70, 18, 148, 70, 68, 17, 151, 222, 1, 70, 68, 18, 148, 112, 35, 98, 45, 78, 61 } +}; diff --git a/tools/ippevecommon.h b/tools/ippevecommon.h new file mode 100644 index 0000000..627cc74 --- /dev/null +++ b/tools/ippevecommon.h @@ -0,0 +1,26 @@ +/* + * Common header for IPP Everywhere printer commands for CUPS. + * + * Copyright © 2019 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include +#include +#include +#include + + +/* + * Prototypes... + */ diff --git a/tools/ippevepcl.c b/tools/ippevepcl.c new file mode 100644 index 0000000..f15ea51 --- /dev/null +++ b/tools/ippevepcl.c @@ -0,0 +1,530 @@ +/* + * Generic HP PCL printer command for ippeveprinter/CUPS. + * + * Copyright © 2019 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "ippevecommon.h" +#include "dither.h" + + +/* + * Local globals... + */ + +static unsigned pcl_bottom, /* Bottom line */ + pcl_left, /* Left offset in line */ + pcl_right, /* Right offset in line */ + pcl_top, /* Top line */ + pcl_blanks; /* Number of blank lines to skip */ +static unsigned char pcl_white, /* White color */ + *pcl_line, /* Line buffer */ + *pcl_comp; /* Compression buffer */ + +/* + * Local functions... + */ + +static void pcl_end_page(cups_page_header2_t *header, unsigned page); +static void pcl_start_page(cups_page_header2_t *header, unsigned page); +static int pcl_to_pcl(const char *filename); +static void pcl_write_line(cups_page_header2_t *header, unsigned y, const unsigned char *line); +static int raster_to_pcl(const char *filename); + + +/* + * 'main()' - Main entry for PCL printer command. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + const char *content_type; /* Content type to print */ + + + /* + * Print it... + */ + + if (argc > 2) + { + fputs("ERROR: Too many arguments supplied, aborting.\n", stderr); + return (1); + } + else if ((content_type = getenv("CONTENT_TYPE")) == NULL) + { + fputs("ERROR: CONTENT_TYPE environment variable not set, aborting.\n", stderr); + return (1); + } + else if (!strcasecmp(content_type, "application/vnd.hp-pcl")) + { + return (pcl_to_pcl(argv[1])); + } + else if (!strcasecmp(content_type, "image/pwg-raster") || !strcasecmp(content_type, "image/urf")) + { + return (raster_to_pcl(argv[1])); + } + else + { + fprintf(stderr, "ERROR: CONTENT_TYPE %s not supported.\n", content_type); + return (1); + } +} + + +/* + * 'pcl_end_page()' - End of PCL page. + */ + +static void +pcl_end_page( + cups_page_header2_t *header, /* I - Page header */ + unsigned page) /* I - Current page */ +{ + /* + * End graphics... + */ + + fputs("\033*r0B", stdout); + + /* + * Formfeed as needed... + */ + + if (!(header->Duplex && (page & 1))) + putchar('\f'); + + /* + * Free the output buffers... + */ + + free(pcl_line); + free(pcl_comp); +} + + +/* + * 'pcl_start_page()' - Start a PCL page. + */ + +static void +pcl_start_page( + cups_page_header2_t *header, /* I - Page header */ + unsigned page) /* I - Current page */ +{ + /* + * Setup margins to be 1/6" top and bottom and 1/4" or .135" on the + * left and right. + */ + + pcl_top = header->HWResolution[1] / 6; + pcl_bottom = header->cupsHeight - header->HWResolution[1] / 6 - 1; + + if (header->PageSize[1] == 842) + { + /* A4 gets special side margins to expose an 8" print area */ + pcl_left = (header->cupsWidth - 8 * header->HWResolution[0]) / 2; + pcl_right = pcl_left + 8 * header->HWResolution[0] - 1; + } + else + { + /* All other sizes get 1/4" margins */ + pcl_left = header->HWResolution[0] / 4; + pcl_right = header->cupsWidth - header->HWResolution[0] / 4 - 1; + } + + if (!header->Duplex || (page & 1)) + { + /* + * Set the media size... + */ + + printf("\033&l12D\033&k12H"); /* Set 12 LPI, 10 CPI */ + printf("\033&l0O"); /* Set portrait orientation */ + + switch (header->PageSize[1]) + { + case 540 : /* Monarch Envelope */ + printf("\033&l80A"); + break; + + case 595 : /* A5 */ + printf("\033&l25A"); + break; + + case 624 : /* DL Envelope */ + printf("\033&l90A"); + break; + + case 649 : /* C5 Envelope */ + printf("\033&l91A"); + break; + + case 684 : /* COM-10 Envelope */ + printf("\033&l81A"); + break; + + case 709 : /* B5 Envelope */ + printf("\033&l100A"); + break; + + case 756 : /* Executive */ + printf("\033&l1A"); + break; + + case 792 : /* Letter */ + printf("\033&l2A"); + break; + + case 842 : /* A4 */ + printf("\033&l26A"); + break; + + case 1008 : /* Legal */ + printf("\033&l3A"); + break; + + case 1191 : /* A3 */ + printf("\033&l27A"); + break; + + case 1224 : /* Tabloid */ + printf("\033&l6A"); + break; + } + + /* + * Set top margin and turn off perforation skip... + */ + + printf("\033&l%uE\033&l0L", 12 * pcl_top / header->HWResolution[1]); + + if (header->Duplex) + { + int mode = header->Duplex ? 1 + header->Tumble != 0 : 0; + + printf("\033&l%dS", mode); /* Set duplex mode */ + } + } + else if (header->Duplex) + printf("\033&a2G"); /* Print on back side */ + + /* + * Set graphics mode... + */ + + printf("\033*t%uR", header->HWResolution[0]); + /* Set resolution */ + printf("\033*r%uS", pcl_right - pcl_left + 1); + /* Set width */ + printf("\033*r%uT", pcl_bottom - pcl_top + 1); + /* Set height */ + printf("\033&a0H\033&a%uV", 720 * pcl_top / header->HWResolution[1]); + /* Set position */ + + printf("\033*b2M"); /* Use PackBits compression */ + printf("\033*r1A"); /* Start graphics */ + + /* + * Allocate the output buffers... + */ + + pcl_white = header->cupsBitsPerColor == 1 ? 0 : 255; + pcl_blanks = 0; + pcl_line = malloc(header->cupsWidth / 8 + 1); + pcl_comp = malloc(2 * header->cupsBytesPerLine + 2); + + fprintf(stderr, "ATTR: job-impressions-completed=%d\n", page); +} + + +/* + * 'pcl_to_pcl()' - Pass through PCL data. + */ + +static int /* O - Exit status */ +pcl_to_pcl(const char *filename) /* I - File to print or NULL for stdin */ +{ + int fd; /* File to read from */ + char buffer[65536]; /* Copy buffer */ + ssize_t bytes; /* Bytes to write */ + + + /* + * Open the input file... + */ + + if (filename) + { + if ((fd = open(filename, O_RDONLY)) < 0) + { + fprintf(stderr, "ERROR: Unable to open \"%s\": %s\n", filename, strerror(errno)); + return (1); + } + } + else + { + fd = 0; + } + + fputs("ATTR: job-impressions=unknown\n", stderr); + + /* + * Copy to stdout... + */ + + while ((bytes = read(fd, buffer, sizeof(buffer))) > 0) + write(1, buffer, (size_t)bytes); + + /* + * Close the input file... + */ + + if (fd > 0) + close(fd); + + return (0); +} + + +/* + * 'pcl_write_line()' - Write a line of raster data. + */ + +static void +pcl_write_line( + cups_page_header2_t *header, /* I - Raster information */ + unsigned y, /* I - Line number */ + const unsigned char *line) /* I - Pixels on line */ +{ + unsigned x; /* Column number */ + unsigned char bit, /* Current bit */ + byte, /* Current byte */ + *outptr, /* Pointer into output buffer */ + *outend, /* End of output buffer */ + *start, /* Start of sequence */ + *compptr; /* Pointer into compression buffer */ + unsigned count; /* Count of bytes for output */ + const unsigned char *ditherline; /* Pointer into dither table */ + + + if (line[0] == pcl_white && !memcmp(line, line + 1, header->cupsBytesPerLine - 1)) + { + /* + * Skip blank line... + */ + + pcl_blanks ++; + return; + } + + if (header->cupsBitsPerPixel == 1) + { + /* + * B&W bitmap data can be used directly... + */ + + outend = (unsigned char *)line + (pcl_right + 7) / 8; + outptr = (unsigned char *)line + pcl_left / 8; + } + else + { + /* + * Dither 8-bit grayscale to B&W... + */ + + y &= 63; + ditherline = threshold[y]; + + for (x = pcl_left, bit = 128, byte = 0, outptr = pcl_line; x <= pcl_right; x ++, line ++) + { + if (*line <= ditherline[x & 63]) + byte |= bit; + + if (bit == 1) + { + *outptr++ = byte; + byte = 0; + bit = 128; + } + else + bit >>= 1; + } + + if (bit != 128) + *outptr++ = byte; + + outend = outptr; + outptr = pcl_line; + } + + /* + * Apply compression... + */ + + compptr = pcl_comp; + + while (outptr < outend) + { + if ((outptr + 1) >= outend) + { + /* + * Single byte on the end... + */ + + *compptr++ = 0x00; + *compptr++ = *outptr++; + } + else if (outptr[0] == outptr[1]) + { + /* + * Repeated sequence... + */ + + outptr ++; + count = 2; + + while (outptr < (outend - 1) && + outptr[0] == outptr[1] && + count < 127) + { + outptr ++; + count ++; + } + + *compptr++ = (unsigned char)(257 - count); + *compptr++ = *outptr++; + } + else + { + /* + * Non-repeated sequence... + */ + + start = outptr; + outptr ++; + count = 1; + + while (outptr < (outend - 1) && + outptr[0] != outptr[1] && + count < 127) + { + outptr ++; + count ++; + } + + *compptr++ = (unsigned char)(count - 1); + + memcpy(compptr, start, count); + compptr += count; + } + } + + /* + * Output the line... + */ + + if (pcl_blanks > 0) + { + /* + * Skip blank lines first... + */ + + printf("\033*b%dY", pcl_blanks); + pcl_blanks = 0; + } + + printf("\033*b%dW", (int)(compptr - pcl_comp)); + fwrite(pcl_comp, 1, (size_t)(compptr - pcl_comp), stdout); +} + + +/* + * 'raster_to_pcl()' - Convert raster data to PCL. + */ + +static int /* O - Exit status */ +raster_to_pcl(const char *filename) /* I - File to print (NULL for stdin) */ +{ + int fd; /* Input file */ + cups_raster_t *ras; /* Raster stream */ + cups_page_header2_t header; /* Page header */ + unsigned page = 0, /* Current page */ + y; /* Current line */ + unsigned char *line; /* Line buffer */ + + + + /* + * Open the input file... + */ + + if (filename) + { + if ((fd = open(filename, O_RDONLY)) < 0) + { + fprintf(stderr, "ERROR: Unable to open \"%s\": %s\n", filename, strerror(errno)); + return (1); + } + } + else + { + fd = 0; + } + + /* + * Open the raster stream and send pages... + */ + + if ((ras = cupsRasterOpen(fd, CUPS_RASTER_READ)) == NULL) + { + fputs("ERROR: Unable to read raster data, aborting.\n", stderr); + return (1); + } + + fputs("\033E", stdout); + + while (cupsRasterReadHeader2(ras, &header)) + { + page ++; + + if (header.cupsColorSpace != CUPS_CSPACE_W && header.cupsColorSpace != CUPS_CSPACE_SW && header.cupsColorSpace != CUPS_CSPACE_K) + { + fputs("ERROR: Unsupported color space, aborting.\n", stderr); + break; + } + else if (header.cupsBitsPerColor != 1 && header.cupsBitsPerColor != 8) + { + fputs("ERROR: Unsupported bit depth, aborting.\n", stderr); + break; + } + + line = malloc(header.cupsBytesPerLine); + + pcl_start_page(&header, page); + for (y = 0; y < header.cupsHeight; y ++) + { + if (cupsRasterReadPixels(ras, line, header.cupsBytesPerLine)) + pcl_write_line(&header, y, line); + else + break; + } + pcl_end_page(&header, page); + + free(line); + } + + cupsRasterClose(ras); + + fprintf(stderr, "ATTR: job-impressions=%d\n", page); + + return (0); +} diff --git a/tools/ippeveprinter.c b/tools/ippeveprinter.c new file mode 100644 index 0000000..41954a5 --- /dev/null +++ b/tools/ippeveprinter.c @@ -0,0 +1,8417 @@ +/* + * IPP Everywhere printer application for CUPS. + * + * Copyright © 2010-2019 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information.º + * + * Note: This program began life as the "ippserver" sample code that first + * appeared in CUPS 1.4. The name has been changed in order to distinguish it + * from the PWG's much more ambitious "ippserver" program, which supports + * different kinds of IPP services and multiple services per instance - the + * "ippeveprinter" program exposes a single print service conforming to the + * current IPP Everywhere specification, thus the new name. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#if !CUPS_LITE +# include +#endif /* !CUPS_LITE */ + +#include +#include + +#ifdef _WIN32 +# include +# include +# include +# define WEXITSTATUS(s) (s) +# include +typedef ULONG nfds_t; +# define poll WSAPoll +#else +extern char **environ; + +# include +# include +# include +#endif /* _WIN32 */ + +#ifdef HAVE_DNSSD +# include +#elif defined(HAVE_AVAHI) +# include +# include +# include +# include +#endif /* HAVE_DNSSD */ + +#ifdef HAVE_SYS_MOUNT_H +# include +#endif /* HAVE_SYS_MOUNT_H */ +#ifdef HAVE_SYS_STATFS_H +# include +#endif /* HAVE_SYS_STATFS_H */ +#ifdef HAVE_SYS_STATVFS_H +# include +#endif /* HAVE_SYS_STATVFS_H */ +#ifdef HAVE_SYS_VFS_H +# include +#endif /* HAVE_SYS_VFS_H */ + +#if HAVE_LIBPAM +# ifdef HAVE_PAM_PAM_APPL_H +# include +# else +# include +# endif /* HAVE_PAM_PAM_APPL_H */ +#endif /* HAVE_LIBPAM */ + +#include "printer-png.h" + + +/* + * Constants... + */ + +enum ippeve_preason_e /* printer-state-reasons bit values */ +{ + IPPEVE_PREASON_NONE = 0x0000, /* none */ + IPPEVE_PREASON_OTHER = 0x0001, /* other */ + IPPEVE_PREASON_COVER_OPEN = 0x0002, /* cover-open */ + IPPEVE_PREASON_INPUT_TRAY_MISSING = 0x0004, + /* input-tray-missing */ + IPPEVE_PREASON_MARKER_SUPPLY_EMPTY = 0x0008, + /* marker-supply-empty */ + IPPEVE_PREASON_MARKER_SUPPLY_LOW = 0x0010, + /* marker-supply-low */ + IPPEVE_PREASON_MARKER_WASTE_ALMOST_FULL = 0x0020, + /* marker-waste-almost-full */ + IPPEVE_PREASON_MARKER_WASTE_FULL = 0x0040, + /* marker-waste-full */ + IPPEVE_PREASON_MEDIA_EMPTY = 0x0080, /* media-empty */ + IPPEVE_PREASON_MEDIA_JAM = 0x0100, /* media-jam */ + IPPEVE_PREASON_MEDIA_LOW = 0x0200, /* media-low */ + IPPEVE_PREASON_MEDIA_NEEDED = 0x0400, /* media-needed */ + IPPEVE_PREASON_MOVING_TO_PAUSED = 0x0800, + /* moving-to-paused */ + IPPEVE_PREASON_PAUSED = 0x1000, /* paused */ + IPPEVE_PREASON_SPOOL_AREA_FULL = 0x2000,/* spool-area-full */ + IPPEVE_PREASON_TONER_EMPTY = 0x4000, /* toner-empty */ + IPPEVE_PREASON_TONER_LOW = 0x8000 /* toner-low */ +}; +typedef unsigned int ippeve_preason_t; /* Bitfield for printer-state-reasons */ +static const char * const ippeve_preason_strings[] = +{ /* Strings for each bit */ + /* "none" is implied for no bits set */ + "other", + "cover-open", + "input-tray-missing", + "marker-supply-empty", + "marker-supply-low", + "marker-waste-almost-full", + "marker-waste-full", + "media-empty", + "media-jam", + "media-low", + "media-needed", + "moving-to-paused", + "paused", + "spool-area-full", + "toner-empty", + "toner-low" +}; + + +/* + * URL scheme for web resources... + */ + +#ifdef HAVE_SSL +# define WEB_SCHEME "https" +#else +# define WEB_SCHEME "http" +#endif /* HAVE_SSL */ + + +/* + * Structures... + */ + +#ifdef HAVE_DNSSD +typedef DNSServiceRef ippeve_srv_t; /* Service reference */ +typedef TXTRecordRef ippeve_txt_t; /* TXT record */ + +#elif defined(HAVE_AVAHI) +typedef AvahiEntryGroup *ippeve_srv_t; /* Service reference */ +typedef AvahiStringList *ippeve_txt_t; /* TXT record */ + +#else +typedef void *ippeve_srv_t; /* Service reference */ +typedef void *ippeve_txt_t; /* TXT record */ +#endif /* HAVE_DNSSD */ + +#if HAVE_LIBPAM +typedef struct ippeve_authdata_s /* Authentication data */ +{ + char username[HTTP_MAX_VALUE], /* Username string */ + *password; /* Password string */ +} ippeve_authdata_t; +#endif /* HAVE_LIBPAM */ + +typedef struct ippeve_filter_s /**** Attribute filter ****/ +{ + cups_array_t *ra; /* Requested attributes */ + ipp_tag_t group_tag; /* Group to copy */ +} ippeve_filter_t; + +typedef struct ippeve_job_s ippeve_job_t; + +typedef struct ippeve_printer_s /**** Printer data ****/ +{ + /* TODO: One IPv4 and one IPv6 listener are really not sufficient */ + int ipv4, /* IPv4 listener */ + ipv6; /* IPv6 listener */ + ippeve_srv_t ipp_ref, /* Bonjour IPP service */ + ipps_ref, /* Bonjour IPPS service */ + http_ref, /* Bonjour HTTP service */ + printer_ref; /* Bonjour LPD service */ + char *dnssd_name, /* printer-dnssd-name */ + *name, /* printer-name */ + *icon, /* Icon filename */ + *directory, /* Spool directory */ + *hostname, /* Hostname */ + *uri, /* printer-uri-supported */ + *device_uri, /* Device URI (if any) */ + *output_format, /* Output format */ +#if !CUPS_LITE + *ppdfile, /* PPD file (if any) */ +#endif /* !CUPS_LITE */ + *command; /* Command to run with job file */ + int port; /* Port */ + int web_forms; /* Enable web interface forms? */ + size_t urilen; /* Length of printer URI */ + ipp_t *attrs; /* Static attributes */ + time_t start_time; /* Startup time */ + time_t config_time; /* printer-config-change-time */ + ipp_pstate_t state; /* printer-state value */ + ippeve_preason_t state_reasons; /* printer-state-reasons values */ + time_t state_time; /* printer-state-change-time */ + cups_array_t *jobs; /* Jobs */ + ippeve_job_t *active_job; /* Current active/pending job */ + int next_job_id; /* Next job-id value */ + _cups_rwlock_t rwlock; /* Printer lock */ +} ippeve_printer_t; + +struct ippeve_job_s /**** Job data ****/ +{ + int id; /* Job ID */ + const char *name, /* job-name */ + *username, /* job-originating-user-name */ + *format; /* document-format */ + ipp_jstate_t state; /* job-state value */ + char *message; /* job-state-message value */ + int msglevel; /* job-state-message log level (0=error, 1=info) */ + time_t created, /* time-at-creation value */ + processing, /* time-at-processing value */ + completed; /* time-at-completed value */ + int impressions, /* job-impressions value */ + impcompleted; /* job-impressions-completed value */ + ipp_t *attrs; /* Static attributes */ + int cancel; /* Non-zero when job canceled */ + char *filename; /* Print file name */ + int fd; /* Print file descriptor */ + ippeve_printer_t *printer; /* Printer */ +}; + +typedef struct ippeve_client_s /**** Client data ****/ +{ + http_t *http; /* HTTP connection */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + time_t start; /* Request start time */ + http_state_t operation; /* Request operation */ + ipp_op_t operation_id; /* IPP operation-id */ + char uri[1024], /* Request URI */ + *options; /* URI options */ + http_addr_t addr; /* Client address */ + char hostname[256], /* Client hostname */ + username[HTTP_MAX_VALUE]; + /* Authenticated username, if any */ + ippeve_printer_t *printer; /* Printer */ + ippeve_job_t *job; /* Current job, if any */ +} ippeve_client_t; + + +/* + * Local functions... + */ + +static http_status_t authenticate_request(ippeve_client_t *client); +static void clean_jobs(ippeve_printer_t *printer); +static int compare_jobs(ippeve_job_t *a, ippeve_job_t *b); +static void copy_attributes(ipp_t *to, ipp_t *from, cups_array_t *ra, ipp_tag_t group_tag, int quickcopy); +static void copy_job_attributes(ippeve_client_t *client, ippeve_job_t *job, cups_array_t *ra); +static ippeve_client_t *create_client(ippeve_printer_t *printer, int sock); +static ippeve_job_t *create_job(ippeve_client_t *client); +static int create_job_file(ippeve_job_t *job, char *fname, size_t fnamesize, const char *dir, const char *ext); +static int create_listener(const char *name, int port, int family); +static ipp_t *create_media_col(const char *media, const char *source, const char *type, int width, int length, int bottom, int left, int right, int top); +static ipp_t *create_media_size(int width, int length); +static ippeve_printer_t *create_printer(const char *servername, int serverport, const char *name, const char *location, const char *icon, cups_array_t *docformats, const char *subtypes, const char *directory, const char *command, const char *device_uri, const char *output_format, ipp_t *attrs); +static void debug_attributes(const char *title, ipp_t *ipp, int response); +static void delete_client(ippeve_client_t *client); +static void delete_job(ippeve_job_t *job); +static void delete_printer(ippeve_printer_t *printer); +#ifdef HAVE_DNSSD +static void DNSSD_API dnssd_callback(DNSServiceRef sdRef, DNSServiceFlags flags, DNSServiceErrorType errorCode, const char *name, const char *regtype, const char *domain, ippeve_printer_t *printer); +#elif defined(HAVE_AVAHI) +static void dnssd_callback(AvahiEntryGroup *p, AvahiEntryGroupState state, void *context); +static void dnssd_client_cb(AvahiClient *c, AvahiClientState state, void *userdata); +#endif /* HAVE_DNSSD */ +static void dnssd_init(void); +static int filter_cb(ippeve_filter_t *filter, ipp_t *dst, ipp_attribute_t *attr); +static ippeve_job_t *find_job(ippeve_client_t *client); +static void finish_document_data(ippeve_client_t *client, ippeve_job_t *job); +static void finish_document_uri(ippeve_client_t *client, ippeve_job_t *job); +static void html_escape(ippeve_client_t *client, const char *s, size_t slen); +static void html_footer(ippeve_client_t *client); +static void html_header(ippeve_client_t *client, const char *title, int refresh); +static void html_printf(ippeve_client_t *client, const char *format, ...) _CUPS_FORMAT(2, 3); +static void ipp_cancel_job(ippeve_client_t *client); +static void ipp_close_job(ippeve_client_t *client); +static void ipp_create_job(ippeve_client_t *client); +static void ipp_get_job_attributes(ippeve_client_t *client); +static void ipp_get_jobs(ippeve_client_t *client); +static void ipp_get_printer_attributes(ippeve_client_t *client); +static void ipp_identify_printer(ippeve_client_t *client); +static void ipp_print_job(ippeve_client_t *client); +static void ipp_print_uri(ippeve_client_t *client); +static void ipp_send_document(ippeve_client_t *client); +static void ipp_send_uri(ippeve_client_t *client); +static void ipp_validate_job(ippeve_client_t *client); +static ipp_t *load_ippserver_attributes(const char *servername, int serverport, const char *filename, cups_array_t *docformats); +static ipp_t *load_legacy_attributes(const char *make, const char *model, int ppm, int ppm_color, int duplex, cups_array_t *docformats); +#if !CUPS_LITE +static ipp_t *load_ppd_attributes(const char *ppdfile, cups_array_t *docformats); +#endif /* !CUPS_LITE */ +#if HAVE_LIBPAM +static int pam_func(int, const struct pam_message **, struct pam_response **, void *); +#endif /* HAVE_LIBPAM */ +static int parse_options(ippeve_client_t *client, cups_option_t **options); +static void process_attr_message(ippeve_job_t *job, char *message); +static void *process_client(ippeve_client_t *client); +static int process_http(ippeve_client_t *client); +static int process_ipp(ippeve_client_t *client); +static void *process_job(ippeve_job_t *job); +static void process_state_message(ippeve_job_t *job, char *message); +static int register_printer(ippeve_printer_t *printer, const char *subtypes); +static int respond_http(ippeve_client_t *client, http_status_t code, const char *content_coding, const char *type, size_t length); +static void respond_ipp(ippeve_client_t *client, ipp_status_t status, const char *message, ...) _CUPS_FORMAT(3, 4); +static void respond_unsupported(ippeve_client_t *client, ipp_attribute_t *attr); +static void run_printer(ippeve_printer_t *printer); +static int show_media(ippeve_client_t *client); +static int show_status(ippeve_client_t *client); +static int show_supplies(ippeve_client_t *client); +static char *time_string(time_t tv, char *buffer, size_t bufsize); +static void usage(int status) _CUPS_NORETURN; +static int valid_doc_attributes(ippeve_client_t *client); +static int valid_job_attributes(ippeve_client_t *client); + + +/* + * Globals... + */ + +#ifdef HAVE_DNSSD +static DNSServiceRef DNSSDMaster = NULL; +#elif defined(HAVE_AVAHI) +static AvahiThreadedPoll *DNSSDMaster = NULL; +static AvahiClient *DNSSDClient = NULL; +#endif /* HAVE_DNSSD */ + +static int KeepFiles = 0, /* Keep spooled job files? */ + MaxVersion = 20,/* Maximum IPP version (20 = 2.0, 11 = 1.1, etc.) */ + Verbosity = 0; /* Verbosity level */ +static const char *PAMService = NULL; + /* PAM service */ + + +/* + * 'main()' - Main entry to the sample server. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + const char *opt, /* Current option character */ + *attrfile = NULL, /* ippserver attributes file */ + *command = NULL, /* Command to run with job files */ + *device_uri = NULL, /* Device URI */ + *output_format = NULL, /* Output format */ + *icon = NULL, /* Icon file */ +#ifdef HAVE_SSL + *keypath = NULL, /* Keychain path */ +#endif /* HAVE_SSL */ + *location = "", /* Location of printer */ + *make = "Example", /* Manufacturer */ + *model = "Printer", /* Model */ + *name = NULL, /* Printer name */ +#if !CUPS_LITE + *ppdfile = NULL, /* PPD file */ +#endif /* !CUPS_LITE */ + *subtypes = "_print"; /* DNS-SD service subtype */ + int legacy = 0, /* Legacy mode? */ + duplex = 0, /* Duplex mode */ + ppm = 10, /* Pages per minute for mono */ + ppm_color = 0, /* Pages per minute for color */ + web_forms = 1; /* Enable web site forms? */ + ipp_t *attrs = NULL; /* Printer attributes */ + char directory[1024] = ""; /* Spool directory */ + cups_array_t *docformats = NULL; /* Supported formats */ + const char *servername = NULL; /* Server host name */ + int serverport = 0; /* Server port number (0 = auto) */ + ippeve_printer_t *printer; /* Printer object */ + + + /* + * Parse command-line arguments... + */ + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + { + usage(0); + } + else if (!strcmp(argv[i], "--no-web-forms")) + { + web_forms = 0; + } + else if (!strcmp(argv[i], "--pam-service")) + { + i ++; + if (i >= argc) + usage(1); + + PAMService = argv[i]; + } + else if (!strcmp(argv[i], "--version")) + { + puts(CUPS_SVERSION); + return (0); + } + else if (!strncmp(argv[i], "--", 2)) + { + _cupsLangPrintf(stderr, _("%s: Unknown option \"%s\"."), argv[0], argv[i]); + usage(1); + } + else if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case '2' : /* -2 (enable 2-sided printing) */ + duplex = 1; + legacy = 1; + break; + + case 'A' : /* -A (enable authentication) */ + if (!PAMService) + PAMService = "cups"; + break; + + case 'D' : /* -D device-uri */ + i ++; + if (i >= argc) + usage(1); + + device_uri = argv[i]; + break; + + case 'F' : /* -F output/format */ + i ++; + if (i >= argc) + usage(1); + + output_format = argv[i]; + break; + +#ifdef HAVE_SSL + case 'K' : /* -K keypath */ + i ++; + if (i >= argc) + usage(1); + + keypath = argv[i]; + break; +#endif /* HAVE_SSL */ + + case 'M' : /* -M manufacturer */ + i ++; + if (i >= argc) + usage(1); + + make = argv[i]; + legacy = 1; + break; + +#if !CUPS_LITE + case 'P' : /* -P filename.ppd */ + i ++; + if (i >= argc) + usage(1); + + ppdfile = argv[i]; + break; +#endif /* !CUPS_LITE */ + + case 'V' : /* -V max-version */ + i ++; + if (i >= argc) + usage(1); + + if (!strcmp(argv[i], "2.0")) + MaxVersion = 20; + else if (!strcmp(argv[i], "1.1")) + MaxVersion = 11; + else + usage(1); + break; + + case 'a' : /* -a attributes-file */ + i ++; + if (i >= argc) + usage(1); + + attrfile = argv[i]; + break; + + case 'c' : /* -c command */ + i ++; + if (i >= argc) + usage(1); + + command = argv[i]; + break; + + case 'd' : /* -d spool-directory */ + i ++; + if (i >= argc) + usage(1); + + strlcpy(directory, argv[i], sizeof(directory)); + break; + + case 'f' : /* -f type/subtype[,...] */ + i ++; + if (i >= argc) + usage(1); + + docformats = _cupsArrayNewStrings(argv[i], ','); + legacy = 1; + break; + + case 'i' : /* -i icon.png */ + i ++; + if (i >= argc) + usage(1); + + icon = argv[i]; + break; + + case 'k' : /* -k (keep files) */ + KeepFiles = 1; + break; + + case 'l' : /* -l location */ + i ++; + if (i >= argc) + usage(1); + + location = argv[i]; + break; + + case 'm' : /* -m model */ + i ++; + if (i >= argc) + usage(1); + + model = argv[i]; + legacy = 1; + break; + + case 'n' : /* -n hostname */ + i ++; + if (i >= argc) + usage(1); + + servername = argv[i]; + break; + + case 'p' : /* -p port */ + i ++; + if (i >= argc || !isdigit(argv[i][0] & 255)) + usage(1); + + serverport = atoi(argv[i]); + break; + + case 'r' : /* -r subtype */ + i ++; + if (i >= argc) + usage(1); + + subtypes = argv[i]; + break; + + case 's' : /* -s speed[,color-speed] */ + i ++; + if (i >= argc) + usage(1); + + if (sscanf(argv[i], "%d,%d", &ppm, &ppm_color) < 1) + usage(1); + + legacy = 1; + break; + + case 'v' : /* -v (be verbose) */ + Verbosity ++; + break; + + default : /* Unknown */ + _cupsLangPrintf(stderr, _("%s: Unknown option \"-%c\"."), argv[0], *opt); + usage(1); + } + } + } + else if (!name) + { + name = argv[i]; + } + else + { + _cupsLangPrintf(stderr, _("%s: Unknown option \"%s\"."), argv[0], argv[i]); + usage(1); + } + } + + if (!name) + usage(1); + +#if CUPS_LITE + if (attrfile != NULL && legacy) + usage(1); +#else + if (((ppdfile != NULL) + (attrfile != NULL) + legacy) > 1) + usage(1); +#endif /* CUPS_LITE */ + + /* + * Apply defaults as needed... + */ + + if (!serverport) + { +#ifdef _WIN32 + /* + * Windows is almost always used as a single user system, so use a default + * port number of 8631. + */ + + serverport = 8631; + +#else + /* + * Use 8000 + UID mod 1000 for the default port number... + */ + + serverport = 8000 + ((int)getuid() % 1000); +#endif /* _WIN32 */ + + _cupsLangPrintf(stderr, _("Listening on port %d."), serverport); + } + + if (!directory[0]) + { + const char *tmpdir; /* Temporary directory */ + +#ifdef _WIN32 + if ((tmpdir = getenv("TEMP")) == NULL) + tmpdir = "C:/TEMP"; +#elif defined(__APPLE__) && TARGET_OS_OSX + if ((tmpdir = getenv("TMPDIR")) == NULL) + tmpdir = "/private/tmp"; +#else + if ((tmpdir = getenv("TMPDIR")) == NULL) + tmpdir = "/tmp"; +#endif /* _WIN32 */ + + snprintf(directory, sizeof(directory), "%s/ippeveprinter.%d", tmpdir, (int)getpid()); + + if (mkdir(directory, 0755) && errno != EEXIST) + { + _cupsLangPrintf(stderr, _("Unable to create spool directory \"%s\": %s"), directory, strerror(errno)); + usage(1); + } + + if (Verbosity) + _cupsLangPrintf(stderr, _("Using spool directory \"%s\"."), directory); + } + + /* + * Initialize DNS-SD... + */ + + dnssd_init(); + + /* + * Create the printer... + */ + + if (!docformats) + docformats = _cupsArrayNewStrings(ppm_color > 0 ? "image/jpeg,image/pwg-raster,image/urf": "image/pwg-raster,image/urf", ','); + + if (attrfile) + attrs = load_ippserver_attributes(servername, serverport, attrfile, docformats); +#if !CUPS_LITE + else if (ppdfile) + { + attrs = load_ppd_attributes(ppdfile, docformats); + + if (!command) + command = "ippeveps"; + + if (!output_format) + output_format = "application/postscript"; + } +#endif /* !CUPS_LITE */ + else + attrs = load_legacy_attributes(make, model, ppm, ppm_color, duplex, docformats); + + if ((printer = create_printer(servername, serverport, name, location, icon, docformats, subtypes, directory, command, device_uri, output_format, attrs)) == NULL) + return (1); + + printer->web_forms = web_forms; + +#if !CUPS_LITE + if (ppdfile) + printer->ppdfile = strdup(ppdfile); +#endif /* !CUPS_LITE */ + +#ifdef HAVE_SSL + cupsSetServerCredentials(keypath, printer->hostname, 1); +#endif /* HAVE_SSL */ + + /* + * Run the print service... + */ + + run_printer(printer); + + /* + * Destroy the printer and exit... + */ + + delete_printer(printer); + + return (0); +} + + +/* + * 'authenticate_request()' - Try to authenticate the request. + */ + +static http_status_t /* O - HTTP_STATUS_CONTINUE to keep going, otherwise status to return */ +authenticate_request( + ippeve_client_t *client) /* I - Client */ +{ +#if HAVE_LIBPAM + /* + * If PAM isn't enabled, return 'continue' now... + */ + + const char *authorization; /* Pointer into Authorization string */ + int userlen; /* Username:password length */ + pam_handle_t *pamh; /* PAM authentication handle */ + int pamerr; /* PAM error code */ + struct pam_conv pamdata; /* PAM conversation data */ + ippeve_authdata_t data; /* Authentication data */ + + + if (!PAMService) + return (HTTP_STATUS_CONTINUE); + + /* + * Try authenticating using PAM... + */ + + authorization = httpGetField(client->http, HTTP_FIELD_AUTHORIZATION); + + if (!*authorization) + return (HTTP_STATUS_UNAUTHORIZED); + + if (strncmp(authorization, "Basic ", 6)) + { + fputs("Unsupported scheme in Authorization header.\n", stderr); + return (HTTP_STATUS_BAD_REQUEST); + } + + authorization += 5; + while (isspace(*authorization & 255)) + authorization ++; + + userlen = sizeof(data.username); + httpDecode64_2(data.username, &userlen, authorization); + + if ((data.password = strchr(data.username, ':')) == NULL) + { + fputs("No password in Authorization header.\n", stderr); + return (HTTP_STATUS_BAD_REQUEST); + } + + *(data.password)++ = '\0'; + + if (!data.username[0]) + { + fputs("No username in Authorization header.\n", stderr); + return (HTTP_STATUS_BAD_REQUEST); + } + + pamdata.conv = pam_func; + pamdata.appdata_ptr = &data; + + if ((pamerr = pam_start(PAMService, data.username, &pamdata, &pamh)) != PAM_SUCCESS) + { + fprintf(stderr, "pam_start() returned %d (%s)\n", pamerr, pam_strerror(pamh, pamerr)); + return (HTTP_STATUS_SERVER_ERROR); + } + + if ((pamerr = pam_authenticate(pamh, PAM_SILENT)) != PAM_SUCCESS) + { + fprintf(stderr, "pam_authenticate() returned %d (%s)\n", pamerr, pam_strerror(pamh, pamerr)); + pam_end(pamh, 0); + return (HTTP_STATUS_UNAUTHORIZED); + } + + if ((pamerr = pam_acct_mgmt(pamh, PAM_SILENT)) != PAM_SUCCESS) + { + fprintf(stderr, "pam_acct_mgmt() returned %d (%s)\n", pamerr, pam_strerror(pamh, pamerr)); + pam_end(pamh, 0); + return (HTTP_STATUS_SERVER_ERROR); + } + + strlcpy(client->username, data.username, sizeof(client->username)); + + pam_end(pamh, PAM_SUCCESS); + + return (HTTP_STATUS_CONTINUE); + +#else + /* + * No authentication support built-in, return 'continue'... + */ + + return (HTTP_STATUS_CONTINUE); +#endif /* HAVE_LIBPAM */ +} + + +/* + * 'clean_jobs()' - Clean out old (completed) jobs. + */ + +static void +clean_jobs(ippeve_printer_t *printer) /* I - Printer */ +{ + ippeve_job_t *job; /* Current job */ + time_t cleantime; /* Clean time */ + + + if (cupsArrayCount(printer->jobs) == 0) + return; + + cleantime = time(NULL) - 60; + + _cupsRWLockWrite(&(printer->rwlock)); + for (job = (ippeve_job_t *)cupsArrayFirst(printer->jobs); + job; + job = (ippeve_job_t *)cupsArrayNext(printer->jobs)) + if (job->completed && job->completed < cleantime) + { + cupsArrayRemove(printer->jobs, job); + delete_job(job); + } + else + break; + _cupsRWUnlock(&(printer->rwlock)); +} + + +/* + * 'compare_jobs()' - Compare two jobs. + */ + +static int /* O - Result of comparison */ +compare_jobs(ippeve_job_t *a, /* I - First job */ + ippeve_job_t *b) /* I - Second job */ +{ + return (b->id - a->id); +} + + +/* + * 'copy_attributes()' - Copy attributes from one request to another. + */ + +static void +copy_attributes(ipp_t *to, /* I - Destination request */ + ipp_t *from, /* I - Source request */ + cups_array_t *ra, /* I - Requested attributes */ + ipp_tag_t group_tag, /* I - Group to copy */ + int quickcopy) /* I - Do a quick copy? */ +{ + ippeve_filter_t filter; /* Filter data */ + + + filter.ra = ra; + filter.group_tag = group_tag; + + ippCopyAttributes(to, from, quickcopy, (ipp_copycb_t)filter_cb, &filter); +} + + +/* + * 'copy_job_attrs()' - Copy job attributes to the response. + */ + +static void +copy_job_attributes( + ippeve_client_t *client, /* I - Client */ + ippeve_job_t *job, /* I - Job */ + cups_array_t *ra) /* I - requested-attributes */ +{ + copy_attributes(client->response, job->attrs, ra, IPP_TAG_JOB, 0); + + if (!ra || cupsArrayFind(ra, "date-time-at-completed")) + { + if (job->completed) + ippAddDate(client->response, IPP_TAG_JOB, "date-time-at-completed", ippTimeToDate(job->completed)); + else + ippAddOutOfBand(client->response, IPP_TAG_JOB, IPP_TAG_NOVALUE, "date-time-at-completed"); + } + + if (!ra || cupsArrayFind(ra, "date-time-at-processing")) + { + if (job->processing) + ippAddDate(client->response, IPP_TAG_JOB, "date-time-at-processing", ippTimeToDate(job->processing)); + else + ippAddOutOfBand(client->response, IPP_TAG_JOB, IPP_TAG_NOVALUE, "date-time-at-processing"); + } + + if (!ra || cupsArrayFind(ra, "job-impressions")) + ippAddInteger(client->response, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-impressions", job->impressions); + + if (!ra || cupsArrayFind(ra, "job-impressions-completed")) + ippAddInteger(client->response, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-impressions-completed", job->impcompleted); + + if (!ra || cupsArrayFind(ra, "job-printer-up-time")) + ippAddInteger(client->response, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-printer-up-time", (int)(time(NULL) - client->printer->start_time)); + + if (!ra || cupsArrayFind(ra, "job-state")) + ippAddInteger(client->response, IPP_TAG_JOB, IPP_TAG_ENUM, "job-state", (int)job->state); + + if (!ra || cupsArrayFind(ra, "job-state-message")) + { + if (job->message) + { + ippAddString(client->response, IPP_TAG_JOB, IPP_TAG_TEXT, "job-state-message", NULL, job->message); + } + else + { + switch (job->state) + { + case IPP_JSTATE_PENDING : + ippAddString(client->response, IPP_TAG_JOB, IPP_CONST_TAG(IPP_TAG_TEXT), "job-state-message", NULL, "Job pending."); + break; + + case IPP_JSTATE_HELD : + if (job->fd >= 0) + ippAddString(client->response, IPP_TAG_JOB, IPP_CONST_TAG(IPP_TAG_TEXT), "job-state-message", NULL, "Job incoming."); + else if (ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_ZERO)) + ippAddString(client->response, IPP_TAG_JOB, IPP_CONST_TAG(IPP_TAG_TEXT), "job-state-message", NULL, "Job held."); + else + ippAddString(client->response, IPP_TAG_JOB, IPP_CONST_TAG(IPP_TAG_TEXT), "job-state-message", NULL, "Job created."); + break; + + case IPP_JSTATE_PROCESSING : + if (job->cancel) + ippAddString(client->response, IPP_TAG_JOB, IPP_CONST_TAG(IPP_TAG_TEXT), "job-state-message", NULL, "Job canceling."); + else + ippAddString(client->response, IPP_TAG_JOB, IPP_CONST_TAG(IPP_TAG_TEXT), "job-state-message", NULL, "Job printing."); + break; + + case IPP_JSTATE_STOPPED : + ippAddString(client->response, IPP_TAG_JOB, IPP_CONST_TAG(IPP_TAG_TEXT), "job-state-message", NULL, "Job stopped."); + break; + + case IPP_JSTATE_CANCELED : + ippAddString(client->response, IPP_TAG_JOB, IPP_CONST_TAG(IPP_TAG_TEXT), "job-state-message", NULL, "Job canceled."); + break; + + case IPP_JSTATE_ABORTED : + ippAddString(client->response, IPP_TAG_JOB, IPP_CONST_TAG(IPP_TAG_TEXT), "job-state-message", NULL, "Job aborted."); + break; + + case IPP_JSTATE_COMPLETED : + ippAddString(client->response, IPP_TAG_JOB, IPP_CONST_TAG(IPP_TAG_TEXT), "job-state-message", NULL, "Job completed."); + break; + } + } + } + + if (!ra || cupsArrayFind(ra, "job-state-reasons")) + { + switch (job->state) + { + case IPP_JSTATE_PENDING : + ippAddString(client->response, IPP_TAG_JOB, + IPP_CONST_TAG(IPP_TAG_KEYWORD), "job-state-reasons", + NULL, "none"); + break; + + case IPP_JSTATE_HELD : + if (job->fd >= 0) + ippAddString(client->response, IPP_TAG_JOB, + IPP_CONST_TAG(IPP_TAG_KEYWORD), + "job-state-reasons", NULL, "job-incoming"); + else if (ippFindAttribute(job->attrs, "job-hold-until", IPP_TAG_ZERO)) + ippAddString(client->response, IPP_TAG_JOB, + IPP_CONST_TAG(IPP_TAG_KEYWORD), + "job-state-reasons", NULL, "job-hold-until-specified"); + else + ippAddString(client->response, IPP_TAG_JOB, + IPP_CONST_TAG(IPP_TAG_KEYWORD), + "job-state-reasons", NULL, "job-data-insufficient"); + break; + + case IPP_JSTATE_PROCESSING : + if (job->cancel) + ippAddString(client->response, IPP_TAG_JOB, + IPP_CONST_TAG(IPP_TAG_KEYWORD), + "job-state-reasons", NULL, "processing-to-stop-point"); + else + ippAddString(client->response, IPP_TAG_JOB, + IPP_CONST_TAG(IPP_TAG_KEYWORD), + "job-state-reasons", NULL, "job-printing"); + break; + + case IPP_JSTATE_STOPPED : + ippAddString(client->response, IPP_TAG_JOB, + IPP_CONST_TAG(IPP_TAG_KEYWORD), "job-state-reasons", + NULL, "job-stopped"); + break; + + case IPP_JSTATE_CANCELED : + ippAddString(client->response, IPP_TAG_JOB, + IPP_CONST_TAG(IPP_TAG_KEYWORD), "job-state-reasons", + NULL, "job-canceled-by-user"); + break; + + case IPP_JSTATE_ABORTED : + ippAddString(client->response, IPP_TAG_JOB, + IPP_CONST_TAG(IPP_TAG_KEYWORD), "job-state-reasons", + NULL, "aborted-by-system"); + break; + + case IPP_JSTATE_COMPLETED : + ippAddString(client->response, IPP_TAG_JOB, + IPP_CONST_TAG(IPP_TAG_KEYWORD), "job-state-reasons", + NULL, "job-completed-successfully"); + break; + } + } + + if (!ra || cupsArrayFind(ra, "time-at-completed")) + ippAddInteger(client->response, IPP_TAG_JOB, + job->completed ? IPP_TAG_INTEGER : IPP_TAG_NOVALUE, + "time-at-completed", (int)(job->completed - client->printer->start_time)); + + if (!ra || cupsArrayFind(ra, "time-at-processing")) + ippAddInteger(client->response, IPP_TAG_JOB, + job->processing ? IPP_TAG_INTEGER : IPP_TAG_NOVALUE, + "time-at-processing", (int)(job->processing - client->printer->start_time)); +} + + +/* + * 'create_client()' - Accept a new network connection and create a client + * object. + */ + +static ippeve_client_t * /* O - Client */ +create_client(ippeve_printer_t *printer, /* I - Printer */ + int sock) /* I - Listen socket */ +{ + ippeve_client_t *client; /* Client */ + + + if ((client = calloc(1, sizeof(ippeve_client_t))) == NULL) + { + perror("Unable to allocate memory for client"); + return (NULL); + } + + client->printer = printer; + + /* + * Accept the client and get the remote address... + */ + + if ((client->http = httpAcceptConnection(sock, 1)) == NULL) + { + perror("Unable to accept client connection"); + + free(client); + + return (NULL); + } + + httpGetHostname(client->http, client->hostname, sizeof(client->hostname)); + + if (Verbosity) + fprintf(stderr, "Accepted connection from %s\n", client->hostname); + + return (client); +} + + +/* + * 'create_job()' - Create a new job object from a Print-Job or Create-Job + * request. + */ + +static ippeve_job_t * /* O - Job */ +create_job(ippeve_client_t *client) /* I - Client */ +{ + ippeve_job_t *job; /* Job */ + ipp_attribute_t *attr; /* Job attribute */ + char uri[1024], /* job-uri value */ + uuid[64]; /* job-uuid value */ + + + _cupsRWLockWrite(&(client->printer->rwlock)); + if (client->printer->active_job && + client->printer->active_job->state < IPP_JSTATE_CANCELED) + { + /* + * Only accept a single job at a time... + */ + + _cupsRWUnlock(&(client->printer->rwlock)); + return (NULL); + } + + /* + * Allocate and initialize the job object... + */ + + if ((job = calloc(1, sizeof(ippeve_job_t))) == NULL) + { + perror("Unable to allocate memory for job"); + return (NULL); + } + + job->printer = client->printer; + job->attrs = ippNew(); + job->state = IPP_JSTATE_HELD; + job->fd = -1; + + /* + * Copy all of the job attributes... + */ + + copy_attributes(job->attrs, client->request, NULL, IPP_TAG_JOB, 0); + + /* + * Get the requesting-user-name, document format, and priority... + */ + + if ((attr = ippFindAttribute(client->request, "requesting-user-name", IPP_TAG_NAME)) != NULL) + job->username = ippGetString(attr, 0, NULL); + else + job->username = "anonymous"; + + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_NAME, "job-originating-user-name", NULL, job->username); + + if (ippGetOperation(client->request) != IPP_OP_CREATE_JOB) + { + if ((attr = ippFindAttribute(job->attrs, "document-format-detected", IPP_TAG_MIMETYPE)) != NULL) + job->format = ippGetString(attr, 0, NULL); + else if ((attr = ippFindAttribute(job->attrs, "document-format-supplied", IPP_TAG_MIMETYPE)) != NULL) + job->format = ippGetString(attr, 0, NULL); + else + job->format = "application/octet-stream"; + } + + if ((attr = ippFindAttribute(client->request, "job-impressions", IPP_TAG_INTEGER)) != NULL) + job->impressions = ippGetInteger(attr, 0); + + if ((attr = ippFindAttribute(client->request, "job-name", IPP_TAG_NAME)) != NULL) + job->name = ippGetString(attr, 0, NULL); + + /* + * Add job description attributes and add to the jobs array... + */ + + job->id = client->printer->next_job_id ++; + + snprintf(uri, sizeof(uri), "%s/%d", client->printer->uri, job->id); + httpAssembleUUID(client->printer->hostname, client->printer->port, client->printer->name, job->id, uuid, sizeof(uuid)); + + ippAddDate(job->attrs, IPP_TAG_JOB, "date-time-at-creation", ippTimeToDate(time(&job->created))); + ippAddInteger(job->attrs, IPP_TAG_JOB, IPP_TAG_INTEGER, "job-id", job->id); + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_URI, "job-uri", NULL, uri); + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_URI, "job-uuid", NULL, uuid); + if ((attr = ippFindAttribute(client->request, "printer-uri", IPP_TAG_URI)) != NULL) + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_URI, "job-printer-uri", NULL, ippGetString(attr, 0, NULL)); + else + ippAddString(job->attrs, IPP_TAG_JOB, IPP_TAG_URI, "job-printer-uri", NULL, client->printer->uri); + ippAddInteger(job->attrs, IPP_TAG_JOB, IPP_TAG_INTEGER, "time-at-creation", (int)(job->created - client->printer->start_time)); + + cupsArrayAdd(client->printer->jobs, job); + client->printer->active_job = job; + + _cupsRWUnlock(&(client->printer->rwlock)); + + return (job); +} + + +/* + * 'create_job_file()' - Create a file for the document in a job. + */ + +static int /* O - File descriptor or -1 on error */ +create_job_file( + ippeve_job_t *job, /* I - Job */ + char *fname, /* I - Filename buffer */ + size_t fnamesize, /* I - Size of filename buffer */ + const char *directory, /* I - Directory to store in */ + const char *ext) /* I - Extension (`NULL` for default) */ +{ + char name[256], /* "Safe" filename */ + *nameptr; /* Pointer into filename */ + const char *job_name; /* job-name value */ + + + /* + * Make a name from the job-name attribute... + */ + + if ((job_name = ippGetString(ippFindAttribute(job->attrs, "job-name", IPP_TAG_NAME), 0, NULL)) == NULL) + job_name = "untitled"; + + for (nameptr = name; *job_name && nameptr < (name + sizeof(name) - 1); job_name ++) + { + if (isalnum(*job_name & 255) || *job_name == '-') + { + *nameptr++ = (char)tolower(*job_name & 255); + } + else + { + *nameptr++ = '_'; + + while (job_name[1] && !isalnum(job_name[1] & 255) && job_name[1] != '-') + job_name ++; + } + } + + *nameptr = '\0'; + + /* + * Figure out the extension... + */ + + if (!ext) + { + if (!strcasecmp(job->format, "image/jpeg")) + ext = "jpg"; + else if (!strcasecmp(job->format, "image/png")) + ext = "png"; + else if (!strcasecmp(job->format, "image/pwg-raster")) + ext = "pwg"; + else if (!strcasecmp(job->format, "image/urf")) + ext = "urf"; + else if (!strcasecmp(job->format, "application/pdf")) + ext = "pdf"; + else if (!strcasecmp(job->format, "application/postscript")) + ext = "ps"; + else if (!strcasecmp(job->format, "application/vnd.hp-pcl")) + ext = "pcl"; + else + ext = "dat"; + } + + /* + * Create a filename with the job-id, job-name, and document-format (extension)... + */ + + snprintf(fname, fnamesize, "%s/%d-%s.%s", directory, job->id, name, ext); + + return (open(fname, O_WRONLY | O_CREAT | O_TRUNC, 0666)); +} + + +/* + * 'create_listener()' - Create a listener socket. + */ + +static int /* O - Listener socket or -1 on error */ +create_listener(const char *name, /* I - Host name (`NULL` for any address) */ + int port, /* I - Port number */ + int family) /* I - Address family */ +{ + int sock; /* Listener socket */ + http_addrlist_t *addrlist; /* Listen address */ + char service[255]; /* Service port */ + + + snprintf(service, sizeof(service), "%d", port); + if ((addrlist = httpAddrGetList(name, family, service)) == NULL) + return (-1); + + sock = httpAddrListen(&(addrlist->addr), port); + + httpAddrFreeList(addrlist); + + return (sock); +} + + +/* + * 'create_media_col()' - Create a media-col value. + */ + +static ipp_t * /* O - media-col collection */ +create_media_col(const char *media, /* I - Media name */ + const char *source, /* I - Media source, if any */ + const char *type, /* I - Media type, if any */ + int width, /* I - x-dimension in 2540ths */ + int length, /* I - y-dimension in 2540ths */ + int bottom, /* I - Bottom margin in 2540ths */ + int left, /* I - Left margin in 2540ths */ + int right, /* I - Right margin in 2540ths */ + int top) /* I - Top margin in 2540ths */ +{ + ipp_t *media_col = ippNew(), /* media-col value */ + *media_size = create_media_size(width, length); + /* media-size value */ + char media_key[256]; /* media-key value */ + const char *media_key_suffix = ""; /* media-key suffix */ + + + if (bottom == 0 && left == 0 && right == 0 && top == 0) + media_key_suffix = "_borderless"; + + if (type && source) + snprintf(media_key, sizeof(media_key), "%s_%s_%s%s", media, source, type, media_key_suffix); + else if (type) + snprintf(media_key, sizeof(media_key), "%s__%s%s", media, type, media_key_suffix); + else if (source) + snprintf(media_key, sizeof(media_key), "%s_%s%s", media, source, media_key_suffix); + else + snprintf(media_key, sizeof(media_key), "%s%s", media, media_key_suffix); + + ippAddString(media_col, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "media-key", NULL, media_key); + ippAddCollection(media_col, IPP_TAG_PRINTER, "media-size", media_size); + ippAddString(media_col, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "media-size-name", NULL, media); + if (bottom >= 0) + ippAddInteger(media_col, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-bottom-margin", bottom); + if (left >= 0) + ippAddInteger(media_col, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-left-margin", left); + if (right >= 0) + ippAddInteger(media_col, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-right-margin", right); + if (top >= 0) + ippAddInteger(media_col, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-top-margin", top); + if (source) + ippAddString(media_col, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "media-source", NULL, source); + if (type) + ippAddString(media_col, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "media-type", NULL, type); + + ippDelete(media_size); + + return (media_col); +} + + +/* + * 'create_media_size()' - Create a media-size value. + */ + +static ipp_t * /* O - media-col collection */ +create_media_size(int width, /* I - x-dimension in 2540ths */ + int length) /* I - y-dimension in 2540ths */ +{ + ipp_t *media_size = ippNew(); /* media-size value */ + + + ippAddInteger(media_size, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "x-dimension", width); + ippAddInteger(media_size, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "y-dimension", length); + + return (media_size); +} + + +/* + * 'create_printer()' - Create, register, and listen for connections to a + * printer object. + */ + +static ippeve_printer_t * /* O - Printer */ +create_printer( + const char *servername, /* I - Server hostname (NULL for default) */ + int serverport, /* I - Server port */ + const char *name, /* I - printer-name */ + const char *location, /* I - printer-location */ + const char *icon, /* I - printer-icons */ + cups_array_t *docformats, /* I - document-format-supported */ + const char *subtypes, /* I - Bonjour service subtype(s) */ + const char *directory, /* I - Spool directory */ + const char *command, /* I - Command to run on job files, if any */ + const char *device_uri, /* I - Output device, if any */ + const char *output_format, /* I - Output format, if any */ + ipp_t *attrs) /* I - Capability attributes */ +{ + ippeve_printer_t *printer; /* Printer */ + int i; /* Looping var */ +#ifndef _WIN32 + char path[1024]; /* Full path to command */ +#endif /* !_WIN32 */ + char uri[1024], /* Printer URI */ +#ifdef HAVE_SSL + securi[1024], /* Secure printer URI */ + *uris[2], /* All URIs */ +#endif /* HAVE_SSL */ + icons[1024], /* printer-icons URI */ + adminurl[1024], /* printer-more-info URI */ + supplyurl[1024],/* printer-supply-info-uri URI */ + uuid[128]; /* printer-uuid */ + int k_supported; /* Maximum file size supported */ + int num_formats; /* Number of supported document formats */ + const char *formats[100], /* Supported document formats */ + *format; /* Current format */ + int num_sup_attrs; /* Number of supported attributes */ + const char *sup_attrs[100];/* Supported attributes */ + char xxx_supported[256]; + /* Name of -supported attribute */ + _cups_globals_t *cg = _cupsGlobals(); + /* Global path values */ +#ifdef HAVE_STATVFS + struct statvfs spoolinfo; /* FS info for spool directory */ + double spoolsize; /* FS size */ +#elif defined(HAVE_STATFS) + struct statfs spoolinfo; /* FS info for spool directory */ + double spoolsize; /* FS size */ +#endif /* HAVE_STATVFS */ + static const char * const versions[] =/* ipp-versions-supported values */ + { + "1.1", + "2.0" + }; + static const char * const features[] =/* ipp-features-supported values */ + { + "ipp-everywhere" + }; + static const int ops[] = /* operations-supported values */ + { + IPP_OP_PRINT_JOB, + IPP_OP_PRINT_URI, + IPP_OP_VALIDATE_JOB, + IPP_OP_CREATE_JOB, + IPP_OP_SEND_DOCUMENT, + IPP_OP_SEND_URI, + IPP_OP_CANCEL_JOB, + IPP_OP_GET_JOB_ATTRIBUTES, + IPP_OP_GET_JOBS, + IPP_OP_GET_PRINTER_ATTRIBUTES, + IPP_OP_CANCEL_MY_JOBS, + IPP_OP_CLOSE_JOB, + IPP_OP_IDENTIFY_PRINTER + }; + static const char * const charsets[] =/* charset-supported values */ + { + "us-ascii", + "utf-8" + }; + static const char * const compressions[] =/* compression-supported values */ + { +#ifdef HAVE_LIBZ + "deflate", + "gzip", +#endif /* HAVE_LIBZ */ + "none" + }; + static const char * const identify_actions[] = + { + "display", + "sound" + }; + static const char * const job_creation[] = + { /* job-creation-attributes-supported values */ + "copies", + "document-access", + "document-charset", + "document-format", + "document-message", + "document-metadata", + "document-name", + "document-natural-language", + "document-password", + "finishings", + "finishings-col", + "ipp-attribute-fidelity", + "job-account-id", + "job-account-type", + "job-accouunting-sheets", + "job-accounting-user-id", + "job-authorization-uri", + "job-error-action", + "job-error-sheet", + "job-hold-until", + "job-hold-until-time", + "job-mandatory-attributes", + "job-message-to-operator", + "job-name", + "job-pages-per-set", + "job-password", + "job-password-encryption", + "job-phone-number", + "job-priority", + "job-recipient-name", + "job-resource-ids", + "job-sheet-message", + "job-sheets", + "job-sheets-col", + "media", + "media-col", + "multiple-document-handling", + "number-up", + "orientation-requested", + "output-bin", + "output-device", + "overrides", + "page-delivery", + "page-ranges", + "presentation-direction-number-up", + "print-color-mode", + "print-content-optimize", + "print-quality", + "print-rendering-intent", + "print-scaling", + "printer-resolution", + "proof-print", + "separator-sheets", + "sides", + "x-image-position", + "x-image-shift", + "x-side1-image-shift", + "x-side2-image-shift", + "y-image-position", + "y-image-shift", + "y-side1-image-shift", + "y-side2-image-shift" + }; + static const char * const media_col_supported[] = + { /* media-col-supported values */ + "media-bottom-margin", + "media-left-margin", + "media-right-margin", + "media-size", + "media-size-name", + "media-source", + "media-top-margin", + "media-type" + }; + static const char * const multiple_document_handling[] = + { /* multiple-document-handling-supported values */ + "separate-documents-uncollated-copies", + "separate-documents-collated-copies" + }; + static const char * const reference_uri_schemes_supported[] = + { /* reference-uri-schemes-supported */ + "file", + "ftp", + "http" +#ifdef HAVE_SSL + , "https" +#endif /* HAVE_SSL */ + }; +#ifdef HAVE_SSL + static const char * const uri_authentication_supported[] = + { /* uri-authentication-supported values */ + "none", + "none" + }; + static const char * const uri_authentication_basic[] = + { /* uri-authentication-supported values with authentication */ + "basic", + "basic" + }; + static const char * const uri_security_supported[] = + { /* uri-security-supported values */ + "none", + "tls" + }; +#endif /* HAVE_SSL */ + static const char * const which_jobs[] = + { /* which-jobs-supported values */ + "completed", + "not-completed", + "aborted", + "all", + "canceled", + "pending", + "pending-held", + "processing", + "processing-stopped" + }; + + +#ifndef _WIN32 + /* + * If a command was specified, make sure it exists and is executable... + */ + + if (command) + { + if (*command == '/' || !strncmp(command, "./", 2)) + { + if (access(command, X_OK)) + { + _cupsLangPrintf(stderr, _("Unable to execute command \"%s\": %s"), command, strerror(errno)); + return (NULL); + } + } + else + { + snprintf(path, sizeof(path), "%s/command/%s", cg->cups_serverbin, command); + + if (access(command, X_OK)) + { + _cupsLangPrintf(stderr, _("Unable to execute command \"%s\": %s"), command, strerror(errno)); + return (NULL); + } + + command = path; + } + } +#endif /* !_WIN32 */ + + /* + * Allocate memory for the printer... + */ + + if ((printer = calloc(1, sizeof(ippeve_printer_t))) == NULL) + { + _cupsLangPrintError(NULL, _("Unable to allocate memory for printer")); + return (NULL); + } + + printer->ipv4 = -1; + printer->ipv6 = -1; + printer->name = strdup(name); + printer->dnssd_name = strdup(name); + printer->command = command ? strdup(command) : NULL; + printer->device_uri = device_uri ? strdup(device_uri) : NULL; + printer->output_format = output_format ? strdup(output_format) : NULL; + printer->directory = strdup(directory); + printer->icon = icon ? strdup(icon) : NULL; + printer->port = serverport; + printer->start_time = time(NULL); + printer->config_time = printer->start_time; + printer->state = IPP_PSTATE_IDLE; + printer->state_reasons = IPPEVE_PREASON_NONE; + printer->state_time = printer->start_time; + printer->jobs = cupsArrayNew((cups_array_func_t)compare_jobs, NULL); + printer->next_job_id = 1; + + if (servername) + { + printer->hostname = strdup(servername); + } + else + { + char temp[1024]; /* Temporary string */ + + printer->hostname = strdup(httpGetHostname(NULL, temp, sizeof(temp))); + } + + _cupsRWInit(&(printer->rwlock)); + + /* + * Create the listener sockets... + */ + + if ((printer->ipv4 = create_listener(servername, printer->port, AF_INET)) < 0) + { + perror("Unable to create IPv4 listener"); + goto bad_printer; + } + + if ((printer->ipv6 = create_listener(servername, printer->port, AF_INET6)) < 0) + { + perror("Unable to create IPv6 listener"); + goto bad_printer; + } + + /* + * Prepare URI values for the printer attributes... + */ + + httpAssembleURI(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, printer->hostname, printer->port, "/ipp/print"); + printer->uri = strdup(uri); + printer->urilen = strlen(uri); + +#ifdef HAVE_SSL + httpAssembleURI(HTTP_URI_CODING_ALL, securi, sizeof(securi), "ipps", NULL, printer->hostname, printer->port, "/ipp/print"); +#endif /* HAVE_SSL */ + + httpAssembleURI(HTTP_URI_CODING_ALL, icons, sizeof(icons), WEB_SCHEME, NULL, printer->hostname, printer->port, "/icon.png"); + httpAssembleURI(HTTP_URI_CODING_ALL, adminurl, sizeof(adminurl), WEB_SCHEME, NULL, printer->hostname, printer->port, "/"); + httpAssembleURI(HTTP_URI_CODING_ALL, supplyurl, sizeof(supplyurl), WEB_SCHEME, NULL, printer->hostname, printer->port, "/supplies"); + httpAssembleUUID(printer->hostname, serverport, name, 0, uuid, sizeof(uuid)); + + if (Verbosity) + { + fprintf(stderr, "printer-more-info=\"%s\"\n", adminurl); + fprintf(stderr, "printer-supply-info-uri=\"%s\"\n", supplyurl); +#ifdef HAVE_SSL + fprintf(stderr, "printer-uri=\"%s\",\"%s\"\n", uri, securi); +#else + fprintf(stderr, "printer-uri=\"%s\"\n", uri); +#endif /* HAVE_SSL */ + } + + /* + * Get the maximum spool size based on the size of the filesystem used for + * the spool directory. If the host OS doesn't support the statfs call + * or the filesystem is larger than 2TiB, always report INT_MAX. + */ + +#ifdef HAVE_STATVFS + if (statvfs(printer->directory, &spoolinfo)) + k_supported = INT_MAX; + else if ((spoolsize = (double)spoolinfo.f_frsize * + spoolinfo.f_blocks / 1024) > INT_MAX) + k_supported = INT_MAX; + else + k_supported = (int)spoolsize; + +#elif defined(HAVE_STATFS) + if (statfs(printer->directory, &spoolinfo)) + k_supported = INT_MAX; + else if ((spoolsize = (double)spoolinfo.f_bsize * + spoolinfo.f_blocks / 1024) > INT_MAX) + k_supported = INT_MAX; + else + k_supported = (int)spoolsize; + +#else + k_supported = INT_MAX; +#endif /* HAVE_STATVFS */ + + /* + * Assemble the final list of document formats... + */ + + if (!cupsArrayFind(docformats, (void *)"application/octet-stream")) + cupsArrayAdd(docformats, (void *)"application/octet-stream"); + + for (num_formats = 0, format = (const char *)cupsArrayFirst(docformats); format && num_formats < (int)(sizeof(formats) / sizeof(formats[0])); format = (const char *)cupsArrayNext(docformats)) + formats[num_formats ++] = format; + + /* + * Get the list of attributes that can be used when creating a job... + */ + + num_sup_attrs = 0; + sup_attrs[num_sup_attrs ++] = "document-access"; + sup_attrs[num_sup_attrs ++] = "document-charset"; + sup_attrs[num_sup_attrs ++] = "document-format"; + sup_attrs[num_sup_attrs ++] = "document-message"; + sup_attrs[num_sup_attrs ++] = "document-metadata"; + sup_attrs[num_sup_attrs ++] = "document-name"; + sup_attrs[num_sup_attrs ++] = "document-natural-language"; + sup_attrs[num_sup_attrs ++] = "ipp-attribute-fidelity"; + sup_attrs[num_sup_attrs ++] = "job-name"; + sup_attrs[num_sup_attrs ++] = "job-priority"; + + for (i = 0; i < (int)(sizeof(job_creation) / sizeof(job_creation[0])) && num_sup_attrs < (int)(sizeof(sup_attrs) / sizeof(sup_attrs[0])); i ++) + { + snprintf(xxx_supported, sizeof(xxx_supported), "%s-supported", job_creation[i]); + if (ippFindAttribute(attrs, xxx_supported, IPP_TAG_ZERO)) + sup_attrs[num_sup_attrs ++] = job_creation[i]; + } + + /* + * Fill out the rest of the printer attributes. + */ + + printer->attrs = attrs; + + /* charset-configured */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_CHARSET), "charset-configured", NULL, "utf-8"); + + /* charset-supported */ + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_CHARSET), "charset-supported", sizeof(charsets) / sizeof(charsets[0]), NULL, charsets); + + /* compression-supported */ + if (!ippFindAttribute(printer->attrs, "compression-supported", IPP_TAG_ZERO)) + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "compression-supported", (int)(sizeof(compressions) / sizeof(compressions[0])), NULL, compressions); + + /* document-format-default */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_MIMETYPE), "document-format-default", NULL, "application/octet-stream"); + + /* document-format-supported */ + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_MIMETYPE, "document-format-supported", num_formats, NULL, formats); + + /* generated-natural-language-supported */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_LANGUAGE), "generated-natural-language-supported", NULL, "en"); + + /* identify-actions-default */ + ippAddString (printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "identify-actions-default", NULL, "sound"); + + /* identify-actions-supported */ + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "identify-actions-supported", sizeof(identify_actions) / sizeof(identify_actions[0]), NULL, identify_actions); + + /* ipp-features-supported */ + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "ipp-features-supported", sizeof(features) / sizeof(features[0]), NULL, features); + + /* ipp-versions-supported */ + if (MaxVersion == 11) + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "ipp-versions-supported", NULL, "1.1"); + else + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "ipp-versions-supported", (int)(sizeof(versions) / sizeof(versions[0])), NULL, versions); + + /* job-creation-attributes-supported */ + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "job-creation-attributes-supported", num_sup_attrs, NULL, sup_attrs); + + /* job-ids-supported */ + ippAddBoolean(printer->attrs, IPP_TAG_PRINTER, "job-ids-supported", 1); + + /* job-k-octets-supported */ + ippAddRange(printer->attrs, IPP_TAG_PRINTER, "job-k-octets-supported", 0, k_supported); + + /* job-priority-default */ + ippAddInteger(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "job-priority-default", 50); + + /* job-priority-supported */ + ippAddInteger(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "job-priority-supported", 1); + + /* job-sheets-default */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_NAME), "job-sheets-default", NULL, "none"); + + /* job-sheets-supported */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_NAME), "job-sheets-supported", NULL, "none"); + + /* media-col-supported */ + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "media-col-supported", (int)(sizeof(media_col_supported) / sizeof(media_col_supported[0])), NULL, media_col_supported); + + /* multiple-document-handling-supported */ + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "multiple-document-handling-supported", sizeof(multiple_document_handling) / sizeof(multiple_document_handling[0]), NULL, multiple_document_handling); + + /* multiple-document-jobs-supported */ + ippAddBoolean(printer->attrs, IPP_TAG_PRINTER, "multiple-document-jobs-supported", 0); + + /* multiple-operation-time-out */ + ippAddInteger(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "multiple-operation-time-out", 60); + + /* multiple-operation-time-out-action */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "multiple-operation-time-out-action", NULL, "abort-job"); + + /* natural-language-configured */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_LANGUAGE), "natural-language-configured", NULL, "en"); + + /* operations-supported */ + ippAddIntegers(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "operations-supported", sizeof(ops) / sizeof(ops[0]), ops); + + /* pdl-override-supported */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "pdl-override-supported", NULL, "attempted"); + + /* preferred-attributes-supported */ + ippAddBoolean(printer->attrs, IPP_TAG_PRINTER, "preferred-attributes-supported", 0); + + /* printer-get-attributes-supported */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "printer-get-attributes-supported", NULL, "document-format"); + + /* printer-geo-location */ + ippAddOutOfBand(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_UNKNOWN, "printer-geo-location"); + + /* printer-icons */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-icons", NULL, icons); + + /* printer-is-accepting-jobs */ + ippAddBoolean(printer->attrs, IPP_TAG_PRINTER, "printer-is-accepting-jobs", 1); + + /* printer-info */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-info", NULL, name); + + /* printer-location */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-location", NULL, location); + + /* printer-more-info */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-more-info", NULL, adminurl); + + /* printer-name */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_NAME, "printer-name", NULL, name); + + /* printer-organization */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_TEXT), "printer-organization", NULL, ""); + + /* printer-organizational-unit */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_TEXT), "printer-organizational-unit", NULL, ""); + + /* printer-supply-info-uri */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-supply-info-uri", NULL, supplyurl); + + /* printer-uri-supported */ +#ifdef HAVE_SSL + uris[0] = uri; + uris[1] = securi; + + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-uri-supported", 2, NULL, (const char **)uris); + +#else + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-uri-supported", NULL, uri); +#endif /* HAVE_SSL */ + + /* printer-uuid */ + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_URI, "printer-uuid", NULL, uuid); + + /* reference-uri-scheme-supported */ + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_URISCHEME), "reference-uri-schemes-supported", (int)(sizeof(reference_uri_schemes_supported) / sizeof(reference_uri_schemes_supported[0])), NULL, reference_uri_schemes_supported); + + /* uri-authentication-supported */ +#ifdef HAVE_SSL + if (PAMService) + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "uri-authentication-supported", 2, NULL, uri_authentication_basic); + else + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "uri-authentication-supported", 2, NULL, uri_authentication_supported); +#else + if (PAMService) + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "uri-authentication-supported", NULL, "basic"); + else + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "uri-authentication-supported", NULL, "none"); +#endif /* HAVE_SSL */ + + /* uri-security-supported */ +#ifdef HAVE_SSL + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "uri-security-supported", 2, NULL, uri_security_supported); +#else + ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "uri-security-supported", NULL, "none"); +#endif /* HAVE_SSL */ + + /* which-jobs-supported */ + ippAddStrings(printer->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "which-jobs-supported", sizeof(which_jobs) / sizeof(which_jobs[0]), NULL, which_jobs); + + debug_attributes("Printer", printer->attrs, 0); + + /* + * Register the printer with Bonjour... + */ + + if (!register_printer(printer, subtypes)) + goto bad_printer; + + /* + * Return it! + */ + + return (printer); + + + /* + * If we get here we were unable to create the printer... + */ + + bad_printer: + + delete_printer(printer); + + return (NULL); +} + + +/* + * 'debug_attributes()' - Print attributes in a request or response. + */ + +static void +debug_attributes(const char *title, /* I - Title */ + ipp_t *ipp, /* I - Request/response */ + int type) /* I - 0 = object, 1 = request, 2 = response */ +{ + ipp_tag_t group_tag; /* Current group */ + ipp_attribute_t *attr; /* Current attribute */ + char buffer[2048]; /* String buffer for value */ + int major, minor; /* Version */ + + + if (Verbosity <= 1) + return; + + fprintf(stderr, "%s:\n", title); + major = ippGetVersion(ipp, &minor); + fprintf(stderr, " version=%d.%d\n", major, minor); + if (type == 1) + fprintf(stderr, " operation-id=%s(%04x)\n", + ippOpString(ippGetOperation(ipp)), ippGetOperation(ipp)); + else if (type == 2) + fprintf(stderr, " status-code=%s(%04x)\n", + ippErrorString(ippGetStatusCode(ipp)), ippGetStatusCode(ipp)); + fprintf(stderr, " request-id=%d\n\n", ippGetRequestId(ipp)); + + for (attr = ippFirstAttribute(ipp), group_tag = IPP_TAG_ZERO; + attr; + attr = ippNextAttribute(ipp)) + { + if (ippGetGroupTag(attr) != group_tag) + { + group_tag = ippGetGroupTag(attr); + fprintf(stderr, " %s\n", ippTagString(group_tag)); + } + + if (ippGetName(attr)) + { + ippAttributeString(attr, buffer, sizeof(buffer)); + fprintf(stderr, " %s (%s%s) %s\n", ippGetName(attr), + ippGetCount(attr) > 1 ? "1setOf " : "", + ippTagString(ippGetValueTag(attr)), buffer); + } + } +} + + +/* + * 'delete_client()' - Close the socket and free all memory used by a client + * object. + */ + +static void +delete_client(ippeve_client_t *client) /* I - Client */ +{ + if (Verbosity) + fprintf(stderr, "Closing connection from %s\n", client->hostname); + + /* + * Flush pending writes before closing... + */ + + httpFlushWrite(client->http); + + /* + * Free memory... + */ + + httpClose(client->http); + + ippDelete(client->request); + ippDelete(client->response); + + free(client); +} + + +/* + * 'delete_job()' - Remove from the printer and free all memory used by a job + * object. + */ + +static void +delete_job(ippeve_job_t *job) /* I - Job */ +{ + if (Verbosity) + fprintf(stderr, "[Job %d] Removing job from history.\n", job->id); + + ippDelete(job->attrs); + + if (job->message) + free(job->message); + + if (job->filename) + { + if (!KeepFiles) + unlink(job->filename); + + free(job->filename); + } + + free(job); +} + + +/* + * 'delete_printer()' - Unregister, close listen sockets, and free all memory + * used by a printer object. + */ + +static void +delete_printer(ippeve_printer_t *printer) /* I - Printer */ +{ + if (printer->ipv4 >= 0) + close(printer->ipv4); + + if (printer->ipv6 >= 0) + close(printer->ipv6); + +#if HAVE_DNSSD + if (printer->printer_ref) + DNSServiceRefDeallocate(printer->printer_ref); + if (printer->ipp_ref) + DNSServiceRefDeallocate(printer->ipp_ref); + if (printer->ipps_ref) + DNSServiceRefDeallocate(printer->ipps_ref); + if (printer->http_ref) + DNSServiceRefDeallocate(printer->http_ref); +#elif defined(HAVE_AVAHI) + avahi_threaded_poll_lock(DNSSDMaster); + + if (printer->printer_ref) + avahi_entry_group_free(printer->printer_ref); + if (printer->ipp_ref) + avahi_entry_group_free(printer->ipp_ref); + if (printer->ipps_ref) + avahi_entry_group_free(printer->ipps_ref); + if (printer->http_ref) + avahi_entry_group_free(printer->http_ref); + + avahi_threaded_poll_unlock(DNSSDMaster); +#endif /* HAVE_DNSSD */ + + if (printer->dnssd_name) + free(printer->dnssd_name); + if (printer->name) + free(printer->name); + if (printer->icon) + free(printer->icon); + if (printer->command) + free(printer->command); + if (printer->device_uri) + free(printer->device_uri); +#if !CUPS_LITE + if (printer->ppdfile) + free(printer->ppdfile); +#endif /* !CUPS_LITE */ + if (printer->directory) + free(printer->directory); + if (printer->hostname) + free(printer->hostname); + if (printer->uri) + free(printer->uri); + + ippDelete(printer->attrs); + cupsArrayDelete(printer->jobs); + + free(printer); +} + + +#ifdef HAVE_DNSSD +/* + * 'dnssd_callback()' - Handle Bonjour registration events. + */ + +static void DNSSD_API +dnssd_callback( + DNSServiceRef sdRef, /* I - Service reference */ + DNSServiceFlags flags, /* I - Status flags */ + DNSServiceErrorType errorCode, /* I - Error, if any */ + const char *name, /* I - Service name */ + const char *regtype, /* I - Service type */ + const char *domain, /* I - Domain for service */ + ippeve_printer_t *printer) /* I - Printer */ +{ + (void)sdRef; + (void)flags; + (void)domain; + + if (errorCode) + { + fprintf(stderr, "DNSServiceRegister for %s failed with error %d.\n", regtype, (int)errorCode); + return; + } + else if (strcasecmp(name, printer->dnssd_name)) + { + if (Verbosity) + fprintf(stderr, "Now using DNS-SD service name \"%s\".\n", name); + + /* No lock needed since only the main thread accesses/changes this */ + free(printer->dnssd_name); + printer->dnssd_name = strdup(name); + } +} + + +#elif defined(HAVE_AVAHI) +/* + * 'dnssd_callback()' - Handle Bonjour registration events. + */ + +static void +dnssd_callback( + AvahiEntryGroup *srv, /* I - Service */ + AvahiEntryGroupState state, /* I - Registration state */ + void *context) /* I - Printer */ +{ + (void)srv; + (void)state; + (void)context; +} + + +/* + * 'dnssd_client_cb()' - Client callback for Avahi. + * + * Called whenever the client or server state changes... + */ + +static void +dnssd_client_cb( + AvahiClient *c, /* I - Client */ + AvahiClientState state, /* I - Current state */ + void *userdata) /* I - User data (unused) */ +{ + (void)userdata; + + if (!c) + return; + + switch (state) + { + default : + fprintf(stderr, "Ignored Avahi state %d.\n", state); + break; + + case AVAHI_CLIENT_FAILURE: + if (avahi_client_errno(c) == AVAHI_ERR_DISCONNECTED) + { + fputs("Avahi server crashed, exiting.\n", stderr); + exit(1); + } + break; + } +} +#endif /* HAVE_DNSSD */ + + +/* + * 'dnssd_init()' - Initialize the DNS-SD service connections... + */ + +static void +dnssd_init(void) +{ +#ifdef HAVE_DNSSD + if (DNSServiceCreateConnection(&DNSSDMaster) != kDNSServiceErr_NoError) + { + fputs("Error: Unable to initialize Bonjour.\n", stderr); + exit(1); + } + +#elif defined(HAVE_AVAHI) + int error; /* Error code, if any */ + + if ((DNSSDMaster = avahi_threaded_poll_new()) == NULL) + { + fputs("Error: Unable to initialize Bonjour.\n", stderr); + exit(1); + } + + if ((DNSSDClient = avahi_client_new(avahi_threaded_poll_get(DNSSDMaster), AVAHI_CLIENT_NO_FAIL, dnssd_client_cb, NULL, &error)) == NULL) + { + fputs("Error: Unable to initialize Bonjour.\n", stderr); + exit(1); + } + + avahi_threaded_poll_start(DNSSDMaster); +#endif /* HAVE_DNSSD */ +} + + +/* + * 'filter_cb()' - Filter printer attributes based on the requested array. + */ + +static int /* O - 1 to copy, 0 to ignore */ +filter_cb(ippeve_filter_t *filter, /* I - Filter parameters */ + ipp_t *dst, /* I - Destination (unused) */ + ipp_attribute_t *attr) /* I - Source attribute */ +{ + /* + * Filter attributes as needed... + */ + +#ifndef _WIN32 /* Avoid MS compiler bug */ + (void)dst; +#endif /* !_WIN32 */ + + ipp_tag_t group = ippGetGroupTag(attr); + const char *name = ippGetName(attr); + + if ((filter->group_tag != IPP_TAG_ZERO && group != filter->group_tag && group != IPP_TAG_ZERO) || !name || (!strcmp(name, "media-col-database") && !cupsArrayFind(filter->ra, (void *)name))) + return (0); + + return (!filter->ra || cupsArrayFind(filter->ra, (void *)name) != NULL); +} + + +/* + * 'find_job()' - Find a job specified in a request. + */ + +static ippeve_job_t * /* O - Job or NULL */ +find_job(ippeve_client_t *client) /* I - Client */ +{ + ipp_attribute_t *attr; /* job-id or job-uri attribute */ + ippeve_job_t key, /* Job search key */ + *job; /* Matching job, if any */ + + + if ((attr = ippFindAttribute(client->request, "job-uri", IPP_TAG_URI)) != NULL) + { + const char *uri = ippGetString(attr, 0, NULL); + + if (!strncmp(uri, client->printer->uri, client->printer->urilen) && + uri[client->printer->urilen] == '/') + key.id = atoi(uri + client->printer->urilen + 1); + else + return (NULL); + } + else if ((attr = ippFindAttribute(client->request, "job-id", IPP_TAG_INTEGER)) != NULL) + key.id = ippGetInteger(attr, 0); + + _cupsRWLockRead(&(client->printer->rwlock)); + job = (ippeve_job_t *)cupsArrayFind(client->printer->jobs, &key); + _cupsRWUnlock(&(client->printer->rwlock)); + + return (job); +} + + +/* + * 'finish_document()' - Finish receiving a document file and start processing. + */ + +static void +finish_document_data( + ippeve_client_t *client, /* I - Client */ + ippeve_job_t *job) /* I - Job */ +{ + char filename[1024], /* Filename buffer */ + buffer[4096]; /* Copy buffer */ + ssize_t bytes; /* Bytes read */ + cups_array_t *ra; /* Attributes to send in response */ + _cups_thread_t t; /* Thread */ + + + /* + * Create a file for the request data... + * + * TODO: Update code to support piping large raster data to the print command. + */ + + if ((job->fd = create_job_file(job, filename, sizeof(filename), client->printer->directory, NULL)) < 0) + { + respond_ipp(client, IPP_STATUS_ERROR_INTERNAL, "Unable to create print file: %s", strerror(errno)); + + goto abort_job; + } + + if (Verbosity) + fprintf(stderr, "Created job file \"%s\", format \"%s\".\n", filename, job->format); + + while ((bytes = httpRead2(client->http, buffer, sizeof(buffer))) > 0) + { + if (write(job->fd, buffer, (size_t)bytes) < bytes) + { + int error = errno; /* Write error */ + + close(job->fd); + job->fd = -1; + + unlink(filename); + + respond_ipp(client, IPP_STATUS_ERROR_INTERNAL, "Unable to write print file: %s", strerror(error)); + + goto abort_job; + } + } + + if (bytes < 0) + { + /* + * Got an error while reading the print data, so abort this job. + */ + + close(job->fd); + job->fd = -1; + + unlink(filename); + + respond_ipp(client, IPP_STATUS_ERROR_INTERNAL, "Unable to read print file."); + + goto abort_job; + } + + if (close(job->fd)) + { + int error = errno; /* Write error */ + + job->fd = -1; + + unlink(filename); + + respond_ipp(client, IPP_STATUS_ERROR_INTERNAL, "Unable to write print file: %s", strerror(error)); + + goto abort_job; + } + + job->fd = -1; + job->filename = strdup(filename); + job->state = IPP_JSTATE_PENDING; + + /* + * Process the job... + */ + + t = _cupsThreadCreate((_cups_thread_func_t)process_job, job); + + if (t) + { + _cupsThreadDetach(t); + } + else + { + respond_ipp(client, IPP_STATUS_ERROR_INTERNAL, "Unable to process job."); + goto abort_job; + } + + /* + * Return the job info... + */ + + respond_ipp(client, IPP_STATUS_OK, NULL); + + ra = cupsArrayNew((cups_array_func_t)strcmp, NULL); + cupsArrayAdd(ra, "job-id"); + cupsArrayAdd(ra, "job-state"); + cupsArrayAdd(ra, "job-state-message"); + cupsArrayAdd(ra, "job-state-reasons"); + cupsArrayAdd(ra, "job-uri"); + + copy_job_attributes(client, job, ra); + cupsArrayDelete(ra); + return; + + /* + * If we get here we had to abort the job... + */ + + abort_job: + + job->state = IPP_JSTATE_ABORTED; + job->completed = time(NULL); + + ra = cupsArrayNew((cups_array_func_t)strcmp, NULL); + cupsArrayAdd(ra, "job-id"); + cupsArrayAdd(ra, "job-state"); + cupsArrayAdd(ra, "job-state-reasons"); + cupsArrayAdd(ra, "job-uri"); + + copy_job_attributes(client, job, ra); + cupsArrayDelete(ra); +} + + +/* + * 'finish_uri()' - Finish fetching a document URI and start processing. + */ + +static void +finish_document_uri( + ippeve_client_t *client, /* I - Client */ + ippeve_job_t *job) /* I - Job */ +{ + ipp_attribute_t *uri; /* document-uri */ + char scheme[256], /* URI scheme */ + userpass[256], /* Username and password info */ + hostname[256], /* Hostname */ + resource[1024]; /* Resource path */ + int port; /* Port number */ + http_uri_status_t uri_status; /* URI decode status */ + http_encryption_t encryption; /* Encryption to use, if any */ + http_t *http; /* Connection for http/https URIs */ + http_status_t status; /* Access status for http/https URIs */ + int infile; /* Input file for local file URIs */ + char filename[1024], /* Filename buffer */ + buffer[4096]; /* Copy buffer */ + ssize_t bytes; /* Bytes read */ + ipp_attribute_t *attr; /* Current attribute */ + cups_array_t *ra; /* Attributes to send in response */ + + + /* + * Do we have a file to print? + */ + + if (httpGetState(client->http) == HTTP_STATE_POST_RECV) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, "Unexpected document data following request."); + + goto abort_job; + } + + /* + * Do we have a document URI? + */ + + if ((uri = ippFindAttribute(client->request, "document-uri", IPP_TAG_URI)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, "Missing document-uri."); + + goto abort_job; + } + + if (ippGetCount(uri) != 1) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, "Too many document-uri values."); + + goto abort_job; + } + + uri_status = httpSeparateURI(HTTP_URI_CODING_ALL, ippGetString(uri, 0, NULL), + scheme, sizeof(scheme), userpass, + sizeof(userpass), hostname, sizeof(hostname), + &port, resource, sizeof(resource)); + if (uri_status < HTTP_URI_STATUS_OK) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, "Bad document-uri: %s", httpURIStatusString(uri_status)); + + goto abort_job; + } + + if (strcmp(scheme, "file") && +#ifdef HAVE_SSL + strcmp(scheme, "https") && +#endif /* HAVE_SSL */ + strcmp(scheme, "http")) + { + respond_ipp(client, IPP_STATUS_ERROR_URI_SCHEME, "URI scheme \"%s\" not supported.", scheme); + + goto abort_job; + } + + if (!strcmp(scheme, "file") && access(resource, R_OK)) + { + respond_ipp(client, IPP_STATUS_ERROR_DOCUMENT_ACCESS, "Unable to access URI: %s", strerror(errno)); + + goto abort_job; + } + + /* + * Get the document format for the job... + */ + + _cupsRWLockWrite(&(client->printer->rwlock)); + + if ((attr = ippFindAttribute(job->attrs, "document-format", IPP_TAG_MIMETYPE)) != NULL) + job->format = ippGetString(attr, 0, NULL); + else + job->format = "application/octet-stream"; + + /* + * Create a file for the request data... + */ + + if ((job->fd = create_job_file(job, filename, sizeof(filename), client->printer->directory, NULL)) < 0) + { + _cupsRWUnlock(&(client->printer->rwlock)); + + respond_ipp(client, IPP_STATUS_ERROR_INTERNAL, "Unable to create print file: %s", strerror(errno)); + + goto abort_job; + } + + _cupsRWUnlock(&(client->printer->rwlock)); + + if (!strcmp(scheme, "file")) + { + if ((infile = open(resource, O_RDONLY)) < 0) + { + respond_ipp(client, IPP_STATUS_ERROR_DOCUMENT_ACCESS, "Unable to access URI: %s", strerror(errno)); + + goto abort_job; + } + + do + { + if ((bytes = read(infile, buffer, sizeof(buffer))) < 0 && + (errno == EAGAIN || errno == EINTR)) + { + bytes = 1; + } + else if (bytes > 0 && write(job->fd, buffer, (size_t)bytes) < bytes) + { + int error = errno; /* Write error */ + + close(job->fd); + job->fd = -1; + + unlink(filename); + close(infile); + + respond_ipp(client, IPP_STATUS_ERROR_INTERNAL, "Unable to write print file: %s", strerror(error)); + + goto abort_job; + } + } + while (bytes > 0); + + close(infile); + } + else + { +#ifdef HAVE_SSL + if (port == 443 || !strcmp(scheme, "https")) + encryption = HTTP_ENCRYPTION_ALWAYS; + else +#endif /* HAVE_SSL */ + encryption = HTTP_ENCRYPTION_IF_REQUESTED; + + if ((http = httpConnect2(hostname, port, NULL, AF_UNSPEC, encryption, 1, 30000, NULL)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_DOCUMENT_ACCESS, "Unable to connect to %s: %s", hostname, cupsLastErrorString()); + + close(job->fd); + job->fd = -1; + + unlink(filename); + + goto abort_job; + } + + httpClearFields(http); + httpSetField(http, HTTP_FIELD_ACCEPT_LANGUAGE, "en"); + if (httpGet(http, resource)) + { + respond_ipp(client, IPP_STATUS_ERROR_DOCUMENT_ACCESS, "Unable to GET URI: %s", strerror(errno)); + + close(job->fd); + job->fd = -1; + + unlink(filename); + httpClose(http); + + goto abort_job; + } + + while ((status = httpUpdate(http)) == HTTP_STATUS_CONTINUE); + + if (status != HTTP_STATUS_OK) + { + respond_ipp(client, IPP_STATUS_ERROR_DOCUMENT_ACCESS, "Unable to GET URI: %s", httpStatus(status)); + + close(job->fd); + job->fd = -1; + + unlink(filename); + httpClose(http); + + goto abort_job; + } + + while ((bytes = httpRead2(http, buffer, sizeof(buffer))) > 0) + { + if (write(job->fd, buffer, (size_t)bytes) < bytes) + { + int error = errno; /* Write error */ + + close(job->fd); + job->fd = -1; + + unlink(filename); + httpClose(http); + + respond_ipp(client, IPP_STATUS_ERROR_INTERNAL, + "Unable to write print file: %s", strerror(error)); + + goto abort_job; + } + } + + httpClose(http); + } + + if (close(job->fd)) + { + int error = errno; /* Write error */ + + job->fd = -1; + + unlink(filename); + + respond_ipp(client, IPP_STATUS_ERROR_INTERNAL, "Unable to write print file: %s", strerror(error)); + + goto abort_job; + } + + _cupsRWLockWrite(&(client->printer->rwlock)); + + job->fd = -1; + job->filename = strdup(filename); + job->state = IPP_JSTATE_PENDING; + + _cupsRWUnlock(&(client->printer->rwlock)); + + /* + * Process the job... + */ + + process_job(job); + + /* + * Return the job info... + */ + + respond_ipp(client, IPP_STATUS_OK, NULL); + + ra = cupsArrayNew((cups_array_func_t)strcmp, NULL); + cupsArrayAdd(ra, "job-id"); + cupsArrayAdd(ra, "job-state"); + cupsArrayAdd(ra, "job-state-reasons"); + cupsArrayAdd(ra, "job-uri"); + + copy_job_attributes(client, job, ra); + cupsArrayDelete(ra); + return; + + /* + * If we get here we had to abort the job... + */ + + abort_job: + + job->state = IPP_JSTATE_ABORTED; + job->completed = time(NULL); + + ra = cupsArrayNew((cups_array_func_t)strcmp, NULL); + cupsArrayAdd(ra, "job-id"); + cupsArrayAdd(ra, "job-state"); + cupsArrayAdd(ra, "job-state-reasons"); + cupsArrayAdd(ra, "job-uri"); + + copy_job_attributes(client, job, ra); + cupsArrayDelete(ra); +} + + +/* + * 'html_escape()' - Write a HTML-safe string. + */ + +static void +html_escape(ippeve_client_t *client, /* I - Client */ + const char *s, /* I - String to write */ + size_t slen) /* I - Number of characters to write */ +{ + const char *start, /* Start of segment */ + *end; /* End of string */ + + + start = s; + end = s + (slen > 0 ? slen : strlen(s)); + + while (*s && s < end) + { + if (*s == '&' || *s == '<') + { + if (s > start) + httpWrite2(client->http, start, (size_t)(s - start)); + + if (*s == '&') + httpWrite2(client->http, "&", 5); + else + httpWrite2(client->http, "<", 4); + + start = s + 1; + } + + s ++; + } + + if (s > start) + httpWrite2(client->http, start, (size_t)(s - start)); +} + + +/* + * 'html_footer()' - Show the web interface footer. + * + * This function also writes the trailing 0-length chunk. + */ + +static void +html_footer(ippeve_client_t *client) /* I - Client */ +{ + html_printf(client, + "\n" + "\n" + "\n"); + httpWrite2(client->http, "", 0); +} + + +/* + * 'html_header()' - Show the web interface header and title. + */ + +static void +html_header(ippeve_client_t *client, /* I - Client */ + const char *title, /* I - Title */ + int refresh) /* I - Refresh timer, if any */ +{ + html_printf(client, + "\n" + "\n" + "\n" + "%s\n" + "\n" + "\n" + "\n", title); + if (refresh > 0) + html_printf(client, "\n", refresh); + html_printf(client, + "\n" + "\n" + "\n" + "\n" + "" + "" + "" + "" + "
    StatusSuppliesMedia
    \n" + "
    \n", !strcmp(client->uri, "/") ? " sel" : "", !strcmp(client->uri, "/supplies") ? " sel" : "", !strcmp(client->uri, "/media") ? " sel" : ""); +} + + +/* + * 'html_printf()' - Send formatted text to the client, quoting as needed. + */ + +static void +html_printf(ippeve_client_t *client, /* I - Client */ + const char *format, /* I - Printf-style format string */ + ...) /* I - Additional arguments as needed */ +{ + va_list ap; /* Pointer to arguments */ + const char *start; /* Start of string */ + char size, /* Size character (h, l, L) */ + type; /* Format type character */ + int width, /* Width of field */ + prec; /* Number of characters of precision */ + char tformat[100], /* Temporary format string for sprintf() */ + *tptr, /* Pointer into temporary format */ + temp[1024]; /* Buffer for formatted numbers */ + char *s; /* Pointer to string */ + + + /* + * Loop through the format string, formatting as needed... + */ + + va_start(ap, format); + start = format; + + while (*format) + { + if (*format == '%') + { + if (format > start) + httpWrite2(client->http, start, (size_t)(format - start)); + + tptr = tformat; + *tptr++ = *format++; + + if (*format == '%') + { + httpWrite2(client->http, "%", 1); + format ++; + start = format; + continue; + } + else if (strchr(" -+#\'", *format)) + *tptr++ = *format++; + + if (*format == '*') + { + /* + * Get width from argument... + */ + + format ++; + width = va_arg(ap, int); + + snprintf(tptr, sizeof(tformat) - (size_t)(tptr - tformat), "%d", width); + tptr += strlen(tptr); + } + else + { + width = 0; + + while (isdigit(*format & 255)) + { + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + width = width * 10 + *format++ - '0'; + } + } + + if (*format == '.') + { + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + format ++; + + if (*format == '*') + { + /* + * Get precision from argument... + */ + + format ++; + prec = va_arg(ap, int); + + snprintf(tptr, sizeof(tformat) - (size_t)(tptr - tformat), "%d", prec); + tptr += strlen(tptr); + } + else + { + prec = 0; + + while (isdigit(*format & 255)) + { + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + prec = prec * 10 + *format++ - '0'; + } + } + } + + if (*format == 'l' && format[1] == 'l') + { + size = 'L'; + + if (tptr < (tformat + sizeof(tformat) - 2)) + { + *tptr++ = 'l'; + *tptr++ = 'l'; + } + + format += 2; + } + else if (*format == 'h' || *format == 'l' || *format == 'L') + { + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + size = *format++; + } + else + size = 0; + + + if (!*format) + { + start = format; + break; + } + + if (tptr < (tformat + sizeof(tformat) - 1)) + *tptr++ = *format; + + type = *format++; + *tptr = '\0'; + start = format; + + switch (type) + { + case 'E' : /* Floating point formats */ + case 'G' : + case 'e' : + case 'f' : + case 'g' : + if ((size_t)(width + 2) > sizeof(temp)) + break; + + sprintf(temp, tformat, va_arg(ap, double)); + + httpWrite2(client->http, temp, strlen(temp)); + break; + + case 'B' : /* Integer formats */ + case 'X' : + case 'b' : + case 'd' : + case 'i' : + case 'o' : + case 'u' : + case 'x' : + if ((size_t)(width + 2) > sizeof(temp)) + break; + +# ifdef HAVE_LONG_LONG + if (size == 'L') + sprintf(temp, tformat, va_arg(ap, long long)); + else +# endif /* HAVE_LONG_LONG */ + if (size == 'l') + sprintf(temp, tformat, va_arg(ap, long)); + else + sprintf(temp, tformat, va_arg(ap, int)); + + httpWrite2(client->http, temp, strlen(temp)); + break; + + case 'p' : /* Pointer value */ + if ((size_t)(width + 2) > sizeof(temp)) + break; + + sprintf(temp, tformat, va_arg(ap, void *)); + + httpWrite2(client->http, temp, strlen(temp)); + break; + + case 'c' : /* Character or character array */ + if (width <= 1) + { + temp[0] = (char)va_arg(ap, int); + temp[1] = '\0'; + html_escape(client, temp, 1); + } + else + html_escape(client, va_arg(ap, char *), (size_t)width); + break; + + case 's' : /* String */ + if ((s = va_arg(ap, char *)) == NULL) + s = "(null)"; + + html_escape(client, s, strlen(s)); + break; + } + } + else + format ++; + } + + if (format > start) + httpWrite2(client->http, start, (size_t)(format - start)); + + va_end(ap); +} + + +/* + * 'ipp_cancel_job()' - Cancel a job. + */ + +static void +ipp_cancel_job(ippeve_client_t *client) /* I - Client */ +{ + ippeve_job_t *job; /* Job information */ + + + /* + * Get the job... + */ + + if ((job = find_job(client)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_NOT_FOUND, "Job does not exist."); + return; + } + + /* + * See if the job is already completed, canceled, or aborted; if so, + * we can't cancel... + */ + + switch (job->state) + { + case IPP_JSTATE_CANCELED : + respond_ipp(client, IPP_STATUS_ERROR_NOT_POSSIBLE, + "Job #%d is already canceled - can\'t cancel.", job->id); + break; + + case IPP_JSTATE_ABORTED : + respond_ipp(client, IPP_STATUS_ERROR_NOT_POSSIBLE, + "Job #%d is already aborted - can\'t cancel.", job->id); + break; + + case IPP_JSTATE_COMPLETED : + respond_ipp(client, IPP_STATUS_ERROR_NOT_POSSIBLE, + "Job #%d is already completed - can\'t cancel.", job->id); + break; + + default : + /* + * Cancel the job... + */ + + _cupsRWLockWrite(&(client->printer->rwlock)); + + if (job->state == IPP_JSTATE_PROCESSING || + (job->state == IPP_JSTATE_HELD && job->fd >= 0)) + job->cancel = 1; + else + { + job->state = IPP_JSTATE_CANCELED; + job->completed = time(NULL); + } + + _cupsRWUnlock(&(client->printer->rwlock)); + + respond_ipp(client, IPP_STATUS_OK, NULL); + break; + } +} + + +/* + * 'ipp_close_job()' - Close an open job. + */ + +static void +ipp_close_job(ippeve_client_t *client) /* I - Client */ +{ + ippeve_job_t *job; /* Job information */ + + + /* + * Get the job... + */ + + if ((job = find_job(client)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_NOT_FOUND, "Job does not exist."); + return; + } + + /* + * See if the job is already completed, canceled, or aborted; if so, + * we can't cancel... + */ + + switch (job->state) + { + case IPP_JSTATE_CANCELED : + respond_ipp(client, IPP_STATUS_ERROR_NOT_POSSIBLE, + "Job #%d is canceled - can\'t close.", job->id); + break; + + case IPP_JSTATE_ABORTED : + respond_ipp(client, IPP_STATUS_ERROR_NOT_POSSIBLE, + "Job #%d is aborted - can\'t close.", job->id); + break; + + case IPP_JSTATE_COMPLETED : + respond_ipp(client, IPP_STATUS_ERROR_NOT_POSSIBLE, + "Job #%d is completed - can\'t close.", job->id); + break; + + case IPP_JSTATE_PROCESSING : + case IPP_JSTATE_STOPPED : + respond_ipp(client, IPP_STATUS_ERROR_NOT_POSSIBLE, + "Job #%d is already closed.", job->id); + break; + + default : + respond_ipp(client, IPP_STATUS_OK, NULL); + break; + } +} + + +/* + * 'ipp_create_job()' - Create a job object. + */ + +static void +ipp_create_job(ippeve_client_t *client) /* I - Client */ +{ + ippeve_job_t *job; /* New job */ + cups_array_t *ra; /* Attributes to send in response */ + + + /* + * Validate print job attributes... + */ + + if (!valid_job_attributes(client)) + { + httpFlush(client->http); + return; + } + + /* + * Do we have a file to print? + */ + + if (httpGetState(client->http) == HTTP_STATE_POST_RECV) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, + "Unexpected document data following request."); + return; + } + + /* + * Create the job... + */ + + if ((job = create_job(client)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_BUSY, + "Currently printing another job."); + return; + } + + /* + * Return the job info... + */ + + respond_ipp(client, IPP_STATUS_OK, NULL); + + ra = cupsArrayNew((cups_array_func_t)strcmp, NULL); + cupsArrayAdd(ra, "job-id"); + cupsArrayAdd(ra, "job-state"); + cupsArrayAdd(ra, "job-state-message"); + cupsArrayAdd(ra, "job-state-reasons"); + cupsArrayAdd(ra, "job-uri"); + + copy_job_attributes(client, job, ra); + cupsArrayDelete(ra); +} + + +/* + * 'ipp_get_job_attributes()' - Get the attributes for a job object. + */ + +static void +ipp_get_job_attributes( + ippeve_client_t *client) /* I - Client */ +{ + ippeve_job_t *job; /* Job */ + cups_array_t *ra; /* requested-attributes */ + + + if ((job = find_job(client)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_NOT_FOUND, "Job not found."); + return; + } + + respond_ipp(client, IPP_STATUS_OK, NULL); + + ra = ippCreateRequestedArray(client->request); + copy_job_attributes(client, job, ra); + cupsArrayDelete(ra); +} + + +/* + * 'ipp_get_jobs()' - Get a list of job objects. + */ + +static void +ipp_get_jobs(ippeve_client_t *client) /* I - Client */ +{ + ipp_attribute_t *attr; /* Current attribute */ + const char *which_jobs = NULL; + /* which-jobs values */ + int job_comparison; /* Job comparison */ + ipp_jstate_t job_state; /* job-state value */ + int first_job_id, /* First job ID */ + limit, /* Maximum number of jobs to return */ + count; /* Number of jobs that match */ + const char *username; /* Username */ + ippeve_job_t *job; /* Current job pointer */ + cups_array_t *ra; /* Requested attributes array */ + + + /* + * See if the "which-jobs" attribute have been specified... + */ + + if ((attr = ippFindAttribute(client->request, "which-jobs", + IPP_TAG_KEYWORD)) != NULL) + { + which_jobs = ippGetString(attr, 0, NULL); + fprintf(stderr, "%s Get-Jobs which-jobs=%s", client->hostname, which_jobs); + } + + if (!which_jobs || !strcmp(which_jobs, "not-completed")) + { + job_comparison = -1; + job_state = IPP_JSTATE_STOPPED; + } + else if (!strcmp(which_jobs, "completed")) + { + job_comparison = 1; + job_state = IPP_JSTATE_CANCELED; + } + else if (!strcmp(which_jobs, "aborted")) + { + job_comparison = 0; + job_state = IPP_JSTATE_ABORTED; + } + else if (!strcmp(which_jobs, "all")) + { + job_comparison = 1; + job_state = IPP_JSTATE_PENDING; + } + else if (!strcmp(which_jobs, "canceled")) + { + job_comparison = 0; + job_state = IPP_JSTATE_CANCELED; + } + else if (!strcmp(which_jobs, "pending")) + { + job_comparison = 0; + job_state = IPP_JSTATE_PENDING; + } + else if (!strcmp(which_jobs, "pending-held")) + { + job_comparison = 0; + job_state = IPP_JSTATE_HELD; + } + else if (!strcmp(which_jobs, "processing")) + { + job_comparison = 0; + job_state = IPP_JSTATE_PROCESSING; + } + else if (!strcmp(which_jobs, "processing-stopped")) + { + job_comparison = 0; + job_state = IPP_JSTATE_STOPPED; + } + else + { + respond_ipp(client, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, + "The which-jobs value \"%s\" is not supported.", which_jobs); + ippAddString(client->response, IPP_TAG_UNSUPPORTED_GROUP, IPP_TAG_KEYWORD, + "which-jobs", NULL, which_jobs); + return; + } + + /* + * See if they want to limit the number of jobs reported... + */ + + if ((attr = ippFindAttribute(client->request, "limit", + IPP_TAG_INTEGER)) != NULL) + { + limit = ippGetInteger(attr, 0); + + fprintf(stderr, "%s Get-Jobs limit=%d", client->hostname, limit); + } + else + limit = 0; + + if ((attr = ippFindAttribute(client->request, "first-job-id", + IPP_TAG_INTEGER)) != NULL) + { + first_job_id = ippGetInteger(attr, 0); + + fprintf(stderr, "%s Get-Jobs first-job-id=%d", client->hostname, first_job_id); + } + else + first_job_id = 1; + + /* + * See if we only want to see jobs for a specific user... + */ + + username = NULL; + + if ((attr = ippFindAttribute(client->request, "my-jobs", + IPP_TAG_BOOLEAN)) != NULL) + { + int my_jobs = ippGetBoolean(attr, 0); + + fprintf(stderr, "%s Get-Jobs my-jobs=%s\n", client->hostname, my_jobs ? "true" : "false"); + + if (my_jobs) + { + if ((attr = ippFindAttribute(client->request, "requesting-user-name", + IPP_TAG_NAME)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, + "Need requesting-user-name with my-jobs."); + return; + } + + username = ippGetString(attr, 0, NULL); + + fprintf(stderr, "%s Get-Jobs requesting-user-name=\"%s\"\n", client->hostname, username); + } + } + + /* + * OK, build a list of jobs for this printer... + */ + + ra = ippCreateRequestedArray(client->request); + + respond_ipp(client, IPP_STATUS_OK, NULL); + + _cupsRWLockRead(&(client->printer->rwlock)); + + for (count = 0, job = (ippeve_job_t *)cupsArrayFirst(client->printer->jobs); + (limit <= 0 || count < limit) && job; + job = (ippeve_job_t *)cupsArrayNext(client->printer->jobs)) + { + /* + * Filter out jobs that don't match... + */ + + if ((job_comparison < 0 && job->state > job_state) || + (job_comparison == 0 && job->state != job_state) || + (job_comparison > 0 && job->state < job_state) || + job->id < first_job_id || + (username && job->username && + strcasecmp(username, job->username))) + continue; + + if (count > 0) + ippAddSeparator(client->response); + + count ++; + copy_job_attributes(client, job, ra); + } + + cupsArrayDelete(ra); + + _cupsRWUnlock(&(client->printer->rwlock)); +} + + +/* + * 'ipp_get_printer_attributes()' - Get the attributes for a printer object. + */ + +static void +ipp_get_printer_attributes( + ippeve_client_t *client) /* I - Client */ +{ + cups_array_t *ra; /* Requested attributes array */ + ippeve_printer_t *printer; /* Printer */ + + + /* + * Send the attributes... + */ + + ra = ippCreateRequestedArray(client->request); + printer = client->printer; + + respond_ipp(client, IPP_STATUS_OK, NULL); + + _cupsRWLockRead(&(printer->rwlock)); + + copy_attributes(client->response, printer->attrs, ra, IPP_TAG_ZERO, + IPP_TAG_CUPS_CONST); + + if (!ra || cupsArrayFind(ra, "printer-config-change-date-time")) + ippAddDate(client->response, IPP_TAG_PRINTER, "printer-config-change-date-time", ippTimeToDate(printer->config_time)); + + if (!ra || cupsArrayFind(ra, "printer-config-change-time")) + ippAddInteger(client->response, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "printer-config-change-time", (int)(printer->config_time - printer->start_time)); + + if (!ra || cupsArrayFind(ra, "printer-current-time")) + ippAddDate(client->response, IPP_TAG_PRINTER, "printer-current-time", ippTimeToDate(time(NULL))); + + + if (!ra || cupsArrayFind(ra, "printer-state")) + ippAddInteger(client->response, IPP_TAG_PRINTER, IPP_TAG_ENUM, "printer-state", (int)printer->state); + + if (!ra || cupsArrayFind(ra, "printer-state-change-date-time")) + ippAddDate(client->response, IPP_TAG_PRINTER, "printer-state-change-date-time", ippTimeToDate(printer->state_time)); + + if (!ra || cupsArrayFind(ra, "printer-state-change-time")) + ippAddInteger(client->response, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "printer-state-change-time", (int)(printer->state_time - printer->start_time)); + + if (!ra || cupsArrayFind(ra, "printer-state-message")) + { + static const char * const messages[] = { "Idle.", "Printing.", "Stopped." }; + + ippAddString(client->response, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_TEXT), "printer-state-message", NULL, messages[printer->state - IPP_PSTATE_IDLE]); + } + + if (!ra || cupsArrayFind(ra, "printer-state-reasons")) + { + if (printer->state_reasons == IPPEVE_PREASON_NONE) + { + ippAddString(client->response, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "printer-state-reasons", NULL, "none"); + } + else + { + ipp_attribute_t *attr = NULL; /* printer-state-reasons */ + ippeve_preason_t bit; /* Reason bit */ + int i; /* Looping var */ + char reason[32]; /* Reason string */ + + for (i = 0, bit = 1; i < (int)(sizeof(ippeve_preason_strings) / sizeof(ippeve_preason_strings[0])); i ++, bit *= 2) + { + if (printer->state_reasons & bit) + { + snprintf(reason, sizeof(reason), "%s-%s", ippeve_preason_strings[i], printer->state == IPP_PSTATE_IDLE ? "report" : printer->state == IPP_PSTATE_PROCESSING ? "warning" : "error"); + if (attr) + ippSetString(client->response, &attr, ippGetCount(attr), reason); + else + attr = ippAddString(client->response, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "printer-state-reasons", NULL, reason); + } + } + } + } + + if (!ra || cupsArrayFind(ra, "printer-up-time")) + ippAddInteger(client->response, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "printer-up-time", (int)(time(NULL) - printer->start_time)); + + if (!ra || cupsArrayFind(ra, "queued-job-count")) + ippAddInteger(client->response, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "queued-job-count", printer->active_job && printer->active_job->state < IPP_JSTATE_CANCELED); + + _cupsRWUnlock(&(printer->rwlock)); + + cupsArrayDelete(ra); +} + + +/* + * 'ipp_identify_printer()' - Beep or display a message. + */ + +static void +ipp_identify_printer( + ippeve_client_t *client) /* I - Client */ +{ + ipp_attribute_t *actions, /* identify-actions */ + *message; /* message */ + + + actions = ippFindAttribute(client->request, "identify-actions", IPP_TAG_KEYWORD); + message = ippFindAttribute(client->request, "message", IPP_TAG_TEXT); + + if (!actions || ippContainsString(actions, "sound")) + { + putchar(0x07); + fflush(stdout); + } + + if (ippContainsString(actions, "display")) + printf("IDENTIFY from %s: %s\n", client->hostname, message ? ippGetString(message, 0, NULL) : "No message supplied"); + + respond_ipp(client, IPP_STATUS_OK, NULL); +} + + +/* + * 'ipp_print_job()' - Create a job object with an attached document. + */ + +static void +ipp_print_job(ippeve_client_t *client) /* I - Client */ +{ + ippeve_job_t *job; /* New job */ + + + /* + * Validate print job attributes... + */ + + if (!valid_job_attributes(client)) + { + httpFlush(client->http); + return; + } + + /* + * Do we have a file to print? + */ + + if (httpGetState(client->http) == HTTP_STATE_POST_SEND) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, "No file in request."); + return; + } + + /* + * Create the job... + */ + + if ((job = create_job(client)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_BUSY, "Currently printing another job."); + return; + } + + /* + * Then finish getting the document data and process things... + */ + + finish_document_data(client, job); +} + + +/* + * 'ipp_print_uri()' - Create a job object with a referenced document. + */ + +static void +ipp_print_uri(ippeve_client_t *client) /* I - Client */ +{ + ippeve_job_t *job; /* New job */ + + + /* + * Validate print job attributes... + */ + + if (!valid_job_attributes(client)) + { + httpFlush(client->http); + return; + } + + /* + * Create the job... + */ + + if ((job = create_job(client)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_BUSY, "Currently printing another job."); + return; + } + + /* + * Then finish getting the document data and process things... + */ + + finish_document_uri(client, job); +} + + +/* + * 'ipp_send_document()' - Add an attached document to a job object created with + * Create-Job. + */ + +static void +ipp_send_document( + ippeve_client_t *client) /* I - Client */ +{ + ippeve_job_t *job; /* Job information */ + ipp_attribute_t *attr; /* Current attribute */ + + + /* + * Get the job... + */ + + if ((job = find_job(client)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_NOT_FOUND, "Job does not exist."); + httpFlush(client->http); + return; + } + + /* + * See if we already have a document for this job or the job has already + * in a non-pending state... + */ + + if (job->state > IPP_JSTATE_HELD) + { + respond_ipp(client, IPP_STATUS_ERROR_NOT_POSSIBLE, "Job is not in a pending state."); + httpFlush(client->http); + return; + } + else if (job->filename || job->fd >= 0) + { + respond_ipp(client, IPP_STATUS_ERROR_MULTIPLE_JOBS_NOT_SUPPORTED, "Multiple document jobs are not supported."); + httpFlush(client->http); + return; + } + + /* + * Make sure we have the "last-document" operation attribute... + */ + + if ((attr = ippFindAttribute(client->request, "last-document", IPP_TAG_ZERO)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, "Missing required last-document attribute."); + httpFlush(client->http); + return; + } + else if (ippGetGroupTag(attr) != IPP_TAG_OPERATION) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, "The last-document attribute is not in the operation group."); + httpFlush(client->http); + return; + } + else if (ippGetValueTag(attr) != IPP_TAG_BOOLEAN || ippGetCount(attr) != 1 || !ippGetBoolean(attr, 0)) + { + respond_unsupported(client, attr); + httpFlush(client->http); + return; + } + + /* + * Validate document attributes... + */ + + if (!valid_doc_attributes(client)) + { + httpFlush(client->http); + return; + } + + /* + * Then finish getting the document data and process things... + */ + + _cupsRWLockWrite(&(client->printer->rwlock)); + + copy_attributes(job->attrs, client->request, NULL, IPP_TAG_JOB, 0); + + if ((attr = ippFindAttribute(job->attrs, "document-format-detected", IPP_TAG_MIMETYPE)) != NULL) + job->format = ippGetString(attr, 0, NULL); + else if ((attr = ippFindAttribute(job->attrs, "document-format-supplied", IPP_TAG_MIMETYPE)) != NULL) + job->format = ippGetString(attr, 0, NULL); + else + job->format = "application/octet-stream"; + + _cupsRWUnlock(&(client->printer->rwlock)); + + finish_document_data(client, job); +} + + +/* + * 'ipp_send_uri()' - Add a referenced document to a job object created with + * Create-Job. + */ + +static void +ipp_send_uri(ippeve_client_t *client) /* I - Client */ +{ + ippeve_job_t *job; /* Job information */ + ipp_attribute_t *attr; /* Current attribute */ + + + /* + * Get the job... + */ + + if ((job = find_job(client)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_NOT_FOUND, "Job does not exist."); + httpFlush(client->http); + return; + } + + /* + * See if we already have a document for this job or the job has already + * in a non-pending state... + */ + + if (job->state > IPP_JSTATE_HELD) + { + respond_ipp(client, IPP_STATUS_ERROR_NOT_POSSIBLE, "Job is not in a pending state."); + httpFlush(client->http); + return; + } + else if (job->filename || job->fd >= 0) + { + respond_ipp(client, IPP_STATUS_ERROR_MULTIPLE_JOBS_NOT_SUPPORTED, "Multiple document jobs are not supported."); + httpFlush(client->http); + return; + } + + if ((attr = ippFindAttribute(client->request, "last-document", IPP_TAG_ZERO)) == NULL) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, "Missing required last-document attribute."); + httpFlush(client->http); + return; + } + else if (ippGetGroupTag(attr) != IPP_TAG_OPERATION) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, "The last-document attribute is not in the operation group."); + httpFlush(client->http); + return; + } + else if (ippGetValueTag(attr) != IPP_TAG_BOOLEAN || ippGetCount(attr) != 1 || !ippGetBoolean(attr, 0)) + { + respond_unsupported(client, attr); + httpFlush(client->http); + return; + } + + /* + * Validate document attributes... + */ + + if (!valid_doc_attributes(client)) + { + httpFlush(client->http); + return; + } + + /* + * Then finish getting the document data and process things... + */ + + _cupsRWLockWrite(&(client->printer->rwlock)); + + copy_attributes(job->attrs, client->request, NULL, IPP_TAG_JOB, 0); + + if ((attr = ippFindAttribute(job->attrs, "document-format-detected", IPP_TAG_MIMETYPE)) != NULL) + job->format = ippGetString(attr, 0, NULL); + else if ((attr = ippFindAttribute(job->attrs, "document-format-supplied", IPP_TAG_MIMETYPE)) != NULL) + job->format = ippGetString(attr, 0, NULL); + else + job->format = "application/octet-stream"; + + _cupsRWUnlock(&(client->printer->rwlock)); + + finish_document_uri(client, job); +} + + +/* + * 'ipp_validate_job()' - Validate job creation attributes. + */ + +static void +ipp_validate_job(ippeve_client_t *client) /* I - Client */ +{ + if (valid_job_attributes(client)) + respond_ipp(client, IPP_STATUS_OK, NULL); +} + + +/* + * 'ippserver_attr_cb()' - Determine whether an attribute should be loaded. + */ + +static int /* O - 1 to use, 0 to ignore */ +ippserver_attr_cb( + _ipp_file_t *f, /* I - IPP file */ + void *user_data, /* I - User data pointer (unused) */ + const char *attr) /* I - Attribute name */ +{ + int i, /* Current element */ + result; /* Result of comparison */ + static const char * const ignored[] = + { /* Ignored attributes */ + "attributes-charset", + "attributes-natural-language", + "charset-configured", + "charset-supported", + "device-service-count", + "device-uuid", + "document-format-varying-attributes", + "generated-natural-language-supported", + "identify-actions-default", + "identify-actions-supported", + "ipp-features-supported", + "ipp-versions-supproted", + "ippget-event-life", + "job-hold-until-supported", + "job-hold-until-time-supported", + "job-ids-supported", + "job-k-octets-supported", + "job-settable-attributes-supported", + "multiple-document-jobs-supported", + "multiple-operation-time-out", + "multiple-operation-time-out-action", + "natural-language-configured", + "notify-attributes-supported", + "notify-events-default", + "notify-events-supported", + "notify-lease-duration-default", + "notify-lease-duration-supported", + "notify-max-events-supported", + "notify-pull-method-supported", + "operations-supported", + "printer-alert", + "printer-alert-description", + "printer-camera-image-uri", + "printer-charge-info", + "printer-charge-info-uri", + "printer-config-change-date-time", + "printer-config-change-time", + "printer-current-time", + "printer-detailed-status-messages", + "printer-dns-sd-name", + "printer-fax-log-uri", + "printer-get-attributes-supported", + "printer-icons", + "printer-id", + "printer-info", + "printer-is-accepting-jobs", + "printer-message-date-time", + "printer-message-from-operator", + "printer-message-time", + "printer-more-info", + "printer-service-type", + "printer-settable-attributes-supported", + "printer-state", + "printer-state-message", + "printer-state-reasons", + "printer-static-resource-directory-uri", + "printer-static-resource-k-octets-free", + "printer-static-resource-k-octets-supported", + "printer-strings-languages-supported", + "printer-strings-uri", + "printer-supply-info-uri", + "printer-up-time", + "printer-uri-supported", + "printer-xri-supported", + "queued-job-count", + "reference-uri-scheme-supported", + "uri-authentication-supported", + "uri-security-supported", + "which-jobs-supported", + "xri-authentication-supported", + "xri-security-supported", + "xri-uri-scheme-supported" + }; + + + (void)f; + (void)user_data; + + for (i = 0, result = 1; i < (int)(sizeof(ignored) / sizeof(ignored[0])); i ++) + { + if ((result = strcmp(attr, ignored[i])) <= 0) + break; + } + + return (result != 0); +} + + +/* + * 'ippserver_error_cb()' - Log an error message. + */ + +static int /* O - 1 to continue, 0 to stop */ +ippserver_error_cb( + _ipp_file_t *f, /* I - IPP file data */ + void *user_data, /* I - User data pointer (unused) */ + const char *error) /* I - Error message */ +{ + (void)f; + (void)user_data; + + _cupsLangPrintf(stderr, "%s\n", error); + + return (1); +} + + +/* + * 'ippserver_token_cb()' - Process ippserver-specific config file tokens. + */ + +static int /* O - 1 to continue, 0 to stop */ +ippserver_token_cb( + _ipp_file_t *f, /* I - IPP file data */ + _ipp_vars_t *vars, /* I - IPP variables */ + void *user_data, /* I - User data pointer (unused) */ + const char *token) /* I - Current token */ +{ + (void)vars; + (void)user_data; + + if (!token) + { + /* + * NULL token means do the initial setup - create an empty IPP message and + * return... + */ + + f->attrs = ippNew(); + f->group_tag = IPP_TAG_PRINTER; + } + else + { + _cupsLangPrintf(stderr, _("Unknown directive \"%s\" on line %d of \"%s\" ignored."), token, f->linenum, f->filename); + } + + return (1); +} + + +/* + * 'load_ippserver_attributes()' - Load IPP attributes from an ippserver file. + */ + +static ipp_t * /* O - IPP attributes or `NULL` on error */ +load_ippserver_attributes( + const char *servername, /* I - Server name or `NULL` for default */ + int serverport, /* I - Server port number */ + const char *filename, /* I - ippserver attribute filename */ + cups_array_t *docformats) /* I - document-format-supported values */ +{ + ipp_t *attrs; /* IPP attributes */ + _ipp_vars_t vars; /* IPP variables */ + char temp[256]; /* Temporary string */ + + + (void)docformats; /* for now */ + + /* + * Setup callbacks and variables for the printer configuration file... + * + * The following additional variables are supported: + * + * - SERVERNAME: The host name of the server. + * - SERVERPORT: The default port of the server. + */ + + _ippVarsInit(&vars, (_ipp_fattr_cb_t)ippserver_attr_cb, (_ipp_ferror_cb_t)ippserver_error_cb, (_ipp_ftoken_cb_t)ippserver_token_cb); + + if (servername) + { + _ippVarsSet(&vars, "SERVERNAME", servername); + } + else + { + httpGetHostname(NULL, temp, sizeof(temp)); + _ippVarsSet(&vars, "SERVERNAME", temp); + } + + snprintf(temp, sizeof(temp), "%d", serverport); + _ippVarsSet(&vars, "SERVERPORT", temp); + + /* + * Load attributes and values for the printer... + */ + + attrs = _ippFileParse(&vars, filename, NULL); + + /* + * Free memory and return... + */ + + _ippVarsDeinit(&vars); + + return (attrs); +} + + +/* + * 'load_legacy_attributes()' - Load IPP attributes using the old ippserver + * options. + */ + +static ipp_t * /* O - IPP attributes or `NULL` on error */ +load_legacy_attributes( + const char *make, /* I - Manufacturer name */ + const char *model, /* I - Model name */ + int ppm, /* I - pages-per-minute */ + int ppm_color, /* I - pages-per-minute-color */ + int duplex, /* I - Duplex support? */ + cups_array_t *docformats) /* I - document-format-supported values */ +{ + int i; /* Looping var */ + ipp_t *attrs, /* IPP attributes */ + *col; /* Collection value */ + ipp_attribute_t *attr; /* Current attribute */ + char device_id[1024],/* printer-device-id */ + *ptr, /* Pointer into device ID */ + make_model[128];/* printer-make-and-model */ + const char *format, /* Current document format */ + *prefix; /* Prefix for device ID */ + int num_media; /* Number of media */ + const char * const *media; /* List of media */ + int num_ready; /* Number of loaded media */ + const char * const *ready; /* List of loaded media */ + pwg_media_t *pwg; /* PWG media size information */ + static const char * const media_supported[] = + { /* media-supported values */ + "na_letter_8.5x11in", /* Letter */ + "na_legal_8.5x14in", /* Legal */ + "iso_a4_210x297mm", /* A4 */ + "na_number-10_4.125x9.5in", /* #10 Envelope */ + "iso_dl_110x220mm" /* DL Envelope */ + }; + static const char * const media_supported_color[] = + { /* media-supported values */ + "na_letter_8.5x11in", /* Letter */ + "na_legal_8.5x14in", /* Legal */ + "iso_a4_210x297mm", /* A4 */ + "na_number-10_4.125x9.5in", /* #10 Envelope */ + "iso_dl_110x220mm", /* DL Envelope */ + "na_index-3x5_3x5in", /* Photo 3x5 */ + "oe_photo-l_3.5x5in", /* Photo L */ + "na_index-4x6_4x6in", /* Photo 4x6 */ + "iso_a6_105x148mm", /* A6 */ + "na_5x7_5x7in" /* Photo 5x7 aka 2L */ + "iso_a5_148x210mm", /* A5 */ + }; + static const char * const media_ready[] = + { /* media-ready values */ + "na_letter_8.5x11in", /* Letter */ + "na_number-10_4.125x9.5in" /* #10 */ + }; + static const char * const media_ready_color[] = + { /* media-ready values */ + "na_letter_8.5x11in", /* Letter */ + "na_index-4x6_4x6in" /* Photo 4x6 */ + }; + static const char * const media_source_supported[] = + { /* media-source-supported values */ + "auto", + "main", + "manual", + "by-pass-tray" /* AKA multi-purpose tray */ + }; + static const char * const media_source_supported_color[] = + { /* media-source-supported values */ + "auto", + "main", + "photo" + }; + static const char * const media_type_supported[] = + { /* media-type-supported values */ + "auto", + "cardstock", + "envelope", + "labels", + "other", + "stationery", + "stationery-letterhead", + "transparency" + }; + static const char * const media_type_supported_color[] = + { /* media-type-supported values */ + "auto", + "cardstock", + "envelope", + "labels", + "other", + "stationery", + "stationery-letterhead", + "transparency", + "photographic-glossy", + "photographic-high-gloss", + "photographic-matte", + "photographic-satin", + "photographic-semi-gloss" + }; + static const int media_bottom_margin_supported[] = + { /* media-bottom-margin-supported values */ + 635 /* 1/4" */ + }; + static const int media_bottom_margin_supported_color[] = + { /* media-bottom/top-margin-supported values */ + 0, /* Borderless */ + 1168 /* 0.46" (common HP inkjet bottom margin) */ + }; + static const int media_lr_margin_supported[] = + { /* media-left/right-margin-supported values */ + 340, /* 3.4mm (historical HP PCL A4 margin) */ + 635 /* 1/4" */ + }; + static const int media_lr_margin_supported_color[] = + { /* media-left/right-margin-supported values */ + 0, /* Borderless */ + 340, /* 3.4mm (historical HP PCL A4 margin) */ + 635 /* 1/4" */ + }; + static const int media_top_margin_supported[] = + { /* media-top-margin-supported values */ + 635 /* 1/4" */ + }; + static const int media_top_margin_supported_color[] = + { /* media-top/top-margin-supported values */ + 0, /* Borderless */ + 102 /* 0.04" (common HP inkjet top margin */ + }; + static const int orientation_requested_supported[4] = + { /* orientation-requested-supported values */ + IPP_ORIENT_PORTRAIT, + IPP_ORIENT_LANDSCAPE, + IPP_ORIENT_REVERSE_LANDSCAPE, + IPP_ORIENT_REVERSE_PORTRAIT + }; + static const char * const overrides_supported[] = + { /* overrides-supported values */ + "document-numbers", + "media", + "media-col", + "orientation-requested", + "pages" + }; + static const char * const print_color_mode_supported[] = + { /* print-color-mode-supported values */ + "monochrome" + }; + static const char * const print_color_mode_supported_color[] = + { /* print-color-mode-supported values */ + "auto", + "color", + "monochrome" + }; + static const int print_quality_supported[] = + { /* print-quality-supported values */ + IPP_QUALITY_DRAFT, + IPP_QUALITY_NORMAL, + IPP_QUALITY_HIGH + }; + static const char * const printer_input_tray[] = + { /* printer-input-tray values */ + "type=sheetFeedAutoRemovableTray;mediafeed=0;mediaxfeed=0;maxcapacity=-2;level=-2;status=0;name=auto", + "type=sheetFeedAutoRemovableTray;mediafeed=0;mediaxfeed=0;maxcapacity=250;level=100;status=0;name=main", + "type=sheetFeedManual;mediafeed=0;mediaxfeed=0;maxcapacity=1;level=-2;status=0;name=manual", + "type=sheetFeedAutoNonRemovableTray;mediafeed=0;mediaxfeed=0;maxcapacity=25;level=-2;status=0;name=by-pass-tray" + }; + static const char * const printer_input_tray_color[] = + { /* printer-input-tray values */ + "type=sheetFeedAutoRemovableTray;mediafeed=0;mediaxfeed=0;maxcapacity=-2;level=-2;status=0;name=auto", + "type=sheetFeedAutoRemovableTray;mediafeed=0;mediaxfeed=0;maxcapacity=250;level=-2;status=0;name=main", + "type=sheetFeedAutoRemovableTray;mediafeed=0;mediaxfeed=0;maxcapacity=25;level=-2;status=0;name=photo" + }; + static const char * const printer_supply[] = + { /* printer-supply values */ + "index=1;class=receptacleThatIsFilled;type=wasteToner;unit=percent;" + "maxcapacity=100;level=25;colorantname=unknown;", + "index=2;class=supplyThatIsConsumed;type=toner;unit=percent;" + "maxcapacity=100;level=75;colorantname=black;" + }; + static const char * const printer_supply_color[] = + { /* printer-supply values */ + "index=1;class=receptacleThatIsFilled;type=wasteInk;unit=percent;" + "maxcapacity=100;level=25;colorantname=unknown;", + "index=2;class=supplyThatIsConsumed;type=ink;unit=percent;" + "maxcapacity=100;level=75;colorantname=black;", + "index=3;class=supplyThatIsConsumed;type=ink;unit=percent;" + "maxcapacity=100;level=50;colorantname=cyan;", + "index=4;class=supplyThatIsConsumed;type=ink;unit=percent;" + "maxcapacity=100;level=33;colorantname=magenta;", + "index=5;class=supplyThatIsConsumed;type=ink;unit=percent;" + "maxcapacity=100;level=67;colorantname=yellow;" + }; + static const char * const printer_supply_description[] = + { /* printer-supply-description values */ + "Toner Waste Tank", + "Black Toner" + }; + static const char * const printer_supply_description_color[] = + { /* printer-supply-description values */ + "Ink Waste Tank", + "Black Ink", + "Cyan Ink", + "Magenta Ink", + "Yellow Ink" + }; + static const int pwg_raster_document_resolution_supported[] = + { + 300, + 600 + }; + static const char * const pwg_raster_document_type_supported[] = + { + "black_1", + "sgray_8" + }; + static const char * const pwg_raster_document_type_supported_color[] = + { + "black_1", + "sgray_8", + "srgb_8", + "srgb_16" + }; + static const char * const sides_supported[] = + { /* sides-supported values */ + "one-sided", + "two-sided-long-edge", + "two-sided-short-edge" + }; + static const char * const urf_supported[] = + { /* urf-supported values */ + "CP1", + "IS1-4-5-19", + "MT1-2-3-4-5-6", + "RS600", + "V1.4", + "W8" + }; + static const char * const urf_supported_color[] = + { /* urf-supported values */ + "CP1", + "IS1-4-5-7-19", + "MT1-2-3-4-5-6-8-9-10-11-12-13", + "RS600", + "SRGB24", + "V1.4", + "W8" + }; + static const char * const urf_supported_color_duplex[] = + { /* urf-supported values */ + "CP1", + "IS1-4-5-7-19", + "MT1-2-3-4-5-6-8-9-10-11-12-13", + "RS600", + "SRGB24", + "V1.4", + "W8", + "DM3" + }; + static const char * const urf_supported_duplex[] = + { /* urf-supported values */ + "CP1", + "IS1-4-5-19", + "MT1-2-3-4-5-6", + "RS600", + "V1.4", + "W8", + "DM1" + }; + + + attrs = ippNew(); + + if (ppm_color > 0) + { + num_media = (int)(sizeof(media_supported_color) / sizeof(media_supported_color[0])); + media = media_supported_color; + num_ready = (int)(sizeof(media_ready_color) / sizeof(media_ready_color[0])); + ready = media_ready_color; + } + else + { + num_media = (int)(sizeof(media_supported) / sizeof(media_supported[0])); + media = media_supported; + num_ready = (int)(sizeof(media_ready) / sizeof(media_ready[0])); + ready = media_ready; + } + + /* color-supported */ + ippAddBoolean(attrs, IPP_TAG_PRINTER, "color-supported", ppm_color > 0); + + /* copies-default */ + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "copies-default", 1); + + /* copies-supported */ + ippAddRange(attrs, IPP_TAG_PRINTER, "copies-supported", 1, (cupsArrayFind(docformats, (void *)"application/pdf") != NULL || cupsArrayFind(docformats, (void *)"image/jpeg") != NULL) ? 999 : 1); + + /* document-password-supported */ + if (cupsArrayFind(docformats, (void *)"application/pdf")) + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "document-password-supported", 1023); + + /* finishings-default */ + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "finishings-default", IPP_FINISHINGS_NONE); + + /* finishings-supported */ + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "finishings-supported", IPP_FINISHINGS_NONE); + + /* media-bottom-margin-supported */ + if (ppm_color > 0) + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-bottom-margin-supported", (int)(sizeof(media_bottom_margin_supported) / sizeof(media_bottom_margin_supported[0])), media_bottom_margin_supported); + else + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-bottom-margin-supported", (int)(sizeof(media_bottom_margin_supported_color) / sizeof(media_bottom_margin_supported_color[0])), media_bottom_margin_supported_color); + + /* media-col-database and media-col-default */ + attr = ippAddCollections(attrs, IPP_TAG_PRINTER, "media-col-database", num_media, NULL); + for (i = 0; i < num_media; i ++) + { + int bottom, left, /* media-xxx-margins */ + right, top; + const char *source; /* media-source, if any */ + + pwg = pwgMediaForPWG(media[i]); + + if (pwg->width < 21000 && pwg->length < 21000) + { + source = "photo"; /* Photo size media from photo tray */ + bottom = /* Borderless margins */ + left = + right = + top = 0; + } + else if (pwg->width < 21000) + { + source = "by-pass-tray"; /* Envelopes from multi-purpose tray */ + bottom = ppm_color > 0 ? media_bottom_margin_supported_color[1] : media_bottom_margin_supported[0]; + left = /* Left/right margins are standard */ + right = media_lr_margin_supported[1]; + top = ppm_color > 0 ? media_top_margin_supported_color[1] : media_top_margin_supported[0]; + } + else if (pwg->width == 21000) + { + source = NULL; /* A4 from any tray */ + bottom = ppm_color > 0 ? media_bottom_margin_supported_color[1] : media_bottom_margin_supported[0]; + left = /* Left/right margins are reduced */ + right = media_lr_margin_supported[0]; + top = ppm_color > 0 ? media_top_margin_supported_color[1] : media_top_margin_supported[0]; + } + else + { + source = NULL; /* Other size media from any tray */ + bottom = ppm_color > 0 ? media_bottom_margin_supported_color[1] : media_bottom_margin_supported[0]; + left = /* Left/right margins are standard */ + right = media_lr_margin_supported[1]; + top = ppm_color > 0 ? media_top_margin_supported_color[1] : media_top_margin_supported[0]; + } + + col = create_media_col(media[i], source, NULL, pwg->width, pwg->length, bottom, left, right, top); + ippSetCollection(attrs, &attr, i, col); + + ippDelete(col); + } + + /* media-col-default */ + pwg = pwgMediaForPWG(ready[0]); + + if (pwg->width == 21000) + col = create_media_col(ready[0], "main", "stationery", pwg->width, pwg->length, ppm_color > 0 ? media_bottom_margin_supported_color[1] : media_bottom_margin_supported[0], media_lr_margin_supported[0], media_lr_margin_supported[0], ppm_color > 0 ? media_top_margin_supported_color[1] : media_top_margin_supported[0]); + else + col = create_media_col(ready[0], "main", "stationery", pwg->width, pwg->length, ppm_color > 0 ? media_bottom_margin_supported_color[1] : media_bottom_margin_supported[0], media_lr_margin_supported[1], media_lr_margin_supported[1], ppm_color > 0 ? media_top_margin_supported_color[1] : media_top_margin_supported[0]); + + ippAddCollection(attrs, IPP_TAG_PRINTER, "media-col-default", col); + + ippDelete(col); + + /* media-col-ready */ + attr = ippAddCollections(attrs, IPP_TAG_PRINTER, "media-col-ready", num_ready, NULL); + for (i = 0; i < num_ready; i ++) + { + int bottom, left, /* media-xxx-margins */ + right, top; + const char *source, /* media-source */ + *type; /* media-type */ + + pwg = pwgMediaForPWG(ready[i]); + + if (pwg->width < 21000 && pwg->length < 21000) + { + source = "photo"; /* Photo size media from photo tray */ + type = "photographic-glossy"; /* Glossy photo paper */ + bottom = /* Borderless margins */ + left = + right = + top = 0; + } + else if (pwg->width < 21000) + { + source = "by-pass-tray"; /* Envelopes from multi-purpose tray */ + type = "envelope"; /* Envelope */ + bottom = ppm_color > 0 ? media_bottom_margin_supported_color[1] : media_bottom_margin_supported[0]; + left = /* Left/right margins are standard */ + right = media_lr_margin_supported[1]; + top = ppm_color > 0 ? media_top_margin_supported_color[1] : media_top_margin_supported[0]; + } + else if (pwg->width == 21000) + { + source = "main"; /* A4 from main tray */ + type = "stationery"; /* Plain paper */ + bottom = ppm_color > 0 ? media_bottom_margin_supported_color[1] : media_bottom_margin_supported[0]; + left = /* Left/right margins are reduced */ + right = media_lr_margin_supported[0]; + top = ppm_color > 0 ? media_top_margin_supported_color[1] : media_top_margin_supported[0]; + } + else + { + source = "main"; /* A4 from main tray */ + type = "stationery"; /* Plain paper */ + bottom = ppm_color > 0 ? media_bottom_margin_supported_color[1] : media_bottom_margin_supported[0]; + left = /* Left/right margins are standard */ + right = media_lr_margin_supported[1]; + top = ppm_color > 0 ? media_top_margin_supported_color[1] : media_top_margin_supported[0]; + } + + col = create_media_col(ready[i], source, type, pwg->width, pwg->length, bottom, left, right, top); + ippSetCollection(attrs, &attr, i, col); + ippDelete(col); + } + + /* media-default */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "media-default", NULL, media[0]); + + /* media-left/right-margin-supported */ + if (ppm_color > 0) + { + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-left-margin-supported", (int)(sizeof(media_lr_margin_supported_color) / sizeof(media_lr_margin_supported_color[0])), media_lr_margin_supported_color); + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-right-margin-supported", (int)(sizeof(media_lr_margin_supported_color) / sizeof(media_lr_margin_supported_color[0])), media_lr_margin_supported_color); + } + else + { + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-left-margin-supported", (int)(sizeof(media_lr_margin_supported) / sizeof(media_lr_margin_supported[0])), media_lr_margin_supported); + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-right-margin-supported", (int)(sizeof(media_lr_margin_supported) / sizeof(media_lr_margin_supported[0])), media_lr_margin_supported); + } + + /* media-ready */ + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "media-ready", num_ready, NULL, ready); + + /* media-supported */ + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "media-supported", num_media, NULL, media); + + /* media-size-supported */ + attr = ippAddCollections(attrs, IPP_TAG_PRINTER, "media-size-supported", num_media, NULL); + for (i = 0; i < num_media; i ++) + { + pwg = pwgMediaForPWG(media[i]); + col = create_media_size(pwg->width, pwg->length); + + ippSetCollection(attrs, &attr, i, col); + ippDelete(col); + } + + /* media-source-supported */ + if (ppm_color > 0) + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "media-source-supported", (int)(sizeof(media_source_supported_color) / sizeof(media_source_supported_color[0])), NULL, media_source_supported_color); + else + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "media-source-supported", (int)(sizeof(media_source_supported) / sizeof(media_source_supported[0])), NULL, media_source_supported); + + /* media-top-margin-supported */ + if (ppm_color > 0) + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-top-margin-supported", (int)(sizeof(media_top_margin_supported) / sizeof(media_top_margin_supported[0])), media_top_margin_supported); + else + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-top-margin-supported", (int)(sizeof(media_top_margin_supported_color) / sizeof(media_top_margin_supported_color[0])), media_top_margin_supported_color); + + /* media-type-supported */ + if (ppm_color > 0) + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "media-type-supported", (int)(sizeof(media_type_supported_color) / sizeof(media_type_supported_color[0])), NULL, media_type_supported_color); + else + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "media-type-supported", (int)(sizeof(media_type_supported) / sizeof(media_type_supported[0])), NULL, media_type_supported); + + /* orientation-requested-default */ + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "orientation-requested-default", IPP_ORIENT_PORTRAIT); + + /* orientation-requested-supported */ + if (cupsArrayFind(docformats, (void *)"application/pdf") || cupsArrayFind(docformats, (void *)"image/jpeg")) + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "orientation-requested-supported", (int)(sizeof(orientation_requested_supported) / sizeof(orientation_requested_supported[0])), orientation_requested_supported); + else + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "orientation-requested-supported", IPP_ORIENT_PORTRAIT); + + /* output-bin-default */ + if (ppm_color > 0) + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "output-bin-default", NULL, "face-up"); + else + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "output-bin-default", NULL, "face-down"); + + /* output-bin-supported */ + if (ppm_color > 0) + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "output-bin-supported", NULL, "face-up"); + else + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "output-bin-supported", NULL, "face-down"); + + /* overrides-supported */ + if (cupsArrayFind(docformats, (void *)"application/pdf")) + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "overrides-supported", (int)(sizeof(overrides_supported) / sizeof(overrides_supported[0])), NULL, overrides_supported); + + /* page-ranges-supported */ + ippAddBoolean(attrs, IPP_TAG_PRINTER, "page-ranges-supported", cupsArrayFind(docformats, (void *)"application/pdf") != NULL); + + /* pages-per-minute */ + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "pages-per-minute", ppm); + + /* pages-per-minute-color */ + if (ppm_color > 0) + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "pages-per-minute-color", ppm_color); + + /* print-color-mode-default */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-color-mode-default", NULL, ppm_color > 0 ? "auto" : "monochrome"); + + /* print-color-mode-supported */ + if (ppm_color > 0) + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-color-mode-supported", (int)(sizeof(print_color_mode_supported_color) / sizeof(print_color_mode_supported_color[0])), NULL, print_color_mode_supported_color); + else + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-color-mode-supported", (int)(sizeof(print_color_mode_supported) / sizeof(print_color_mode_supported[0])), NULL, print_color_mode_supported); + + /* print-content-optimize-default */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-content-optimize-default", NULL, "auto"); + + /* print-content-optimize-supported */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-content-optimize-supported", NULL, "auto"); + + /* print-quality-default */ + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "print-quality-default", IPP_QUALITY_NORMAL); + + /* print-quality-supported */ + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "print-quality-supported", (int)(sizeof(print_quality_supported) / sizeof(print_quality_supported[0])), print_quality_supported); + + /* print-rendering-intent-default */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-rendering-intent-default", NULL, "auto"); + + /* print-rendering-intent-supported */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-rendering-intent-supported", NULL, "auto"); + + /* printer-device-id */ + snprintf(device_id, sizeof(device_id), "MFG:%s;MDL:%s;", make, model); + ptr = device_id + strlen(device_id); + prefix = "CMD:"; + for (format = (const char *)cupsArrayFirst(docformats); format; format = (const char *)cupsArrayNext(docformats)) + { + if (!strcasecmp(format, "application/pdf")) + snprintf(ptr, sizeof(device_id) - (size_t)(ptr - device_id), "%sPDF", prefix); + else if (!strcasecmp(format, "application/postscript")) + snprintf(ptr, sizeof(device_id) - (size_t)(ptr - device_id), "%sPS", prefix); + else if (!strcasecmp(format, "application/vnd.hp-PCL")) + snprintf(ptr, sizeof(device_id) - (size_t)(ptr - device_id), "%sPCL", prefix); + else if (!strcasecmp(format, "image/jpeg")) + snprintf(ptr, sizeof(device_id) - (size_t)(ptr - device_id), "%sJPEG", prefix); + else if (!strcasecmp(format, "image/png")) + snprintf(ptr, sizeof(device_id) - (size_t)(ptr - device_id), "%sPNG", prefix); + else if (!strcasecmp(format, "image/pwg-raster")) + snprintf(ptr, sizeof(device_id) - (size_t)(ptr - device_id), "%sPWG", prefix); + else if (!strcasecmp(format, "image/urf")) + snprintf(ptr, sizeof(device_id) - (size_t)(ptr - device_id), "%sURF", prefix); + else + continue; + + ptr += strlen(ptr); + prefix = ","; + } + if (ptr < (device_id + sizeof(device_id) - 1)) + { + *ptr++ = ';'; + *ptr = '\0'; + } + ippAddString(attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-device-id", NULL, device_id); + + /* printer-input-tray */ + if (ppm_color > 0) + { + attr = ippAddOctetString(attrs, IPP_TAG_PRINTER, "printer-input-tray", printer_input_tray_color[0], (int)strlen(printer_input_tray_color[0])); + for (i = 1; i < (int)(sizeof(printer_input_tray_color) / sizeof(printer_input_tray_color[0])); i ++) + ippSetOctetString(attrs, &attr, i, printer_input_tray_color[i], (int)strlen(printer_input_tray_color[i])); + } + else + { + attr = ippAddOctetString(attrs, IPP_TAG_PRINTER, "printer-input-tray", printer_input_tray[0], (int)strlen(printer_input_tray[0])); + for (i = 1; i < (int)(sizeof(printer_input_tray) / sizeof(printer_input_tray[0])); i ++) + ippSetOctetString(attrs, &attr, i, printer_input_tray[i], (int)strlen(printer_input_tray[i])); + } + + /* printer-make-and-model */ + snprintf(make_model, sizeof(make_model), "%s %s", make, model); + ippAddString(attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-make-and-model", NULL, make_model); + + /* printer-resolution-default */ + ippAddResolution(attrs, IPP_TAG_PRINTER, "printer-resolution-default", IPP_RES_PER_INCH, 600, 600); + + /* printer-resolution-supported */ + ippAddResolution(attrs, IPP_TAG_PRINTER, "printer-resolution-supported", IPP_RES_PER_INCH, 600, 600); + + /* printer-supply and printer-supply-description */ + if (ppm_color > 0) + { + attr = ippAddOctetString(attrs, IPP_TAG_PRINTER, "printer-supply", printer_supply_color[0], (int)strlen(printer_supply_color[0])); + for (i = 1; i < (int)(sizeof(printer_supply_color) / sizeof(printer_supply_color[0])); i ++) + ippSetOctetString(attrs, &attr, i, printer_supply_color[i], (int)strlen(printer_supply_color[i])); + + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_TEXT), "printer-supply-description", (int)(sizeof(printer_supply_description_color) / sizeof(printer_supply_description_color[0])), NULL, printer_supply_description_color); + } + else + { + attr = ippAddOctetString(attrs, IPP_TAG_PRINTER, "printer-supply", printer_supply[0], (int)strlen(printer_supply[0])); + for (i = 1; i < (int)(sizeof(printer_supply) / sizeof(printer_supply[0])); i ++) + ippSetOctetString(attrs, &attr, i, printer_supply[i], (int)strlen(printer_supply[i])); + + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_TEXT), "printer-supply-description", (int)(sizeof(printer_supply_description) / sizeof(printer_supply_description[0])), NULL, printer_supply_description); + } + + /* pwg-raster-document-xxx-supported */ + if (cupsArrayFind(docformats, (void *)"image/pwg-raster")) + { + ippAddResolutions(attrs, IPP_TAG_PRINTER, "pwg-raster-document-resolution-supported", (int)(sizeof(pwg_raster_document_resolution_supported) / sizeof(pwg_raster_document_resolution_supported[0])), IPP_RES_PER_INCH, pwg_raster_document_resolution_supported, pwg_raster_document_resolution_supported); + + if (ppm_color > 0 && duplex) + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "pwg-raster-document-sheet-back", NULL, "rotated"); + else if (duplex) + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "pwg-raster-document-sheet-back", NULL, "normal"); + + if (ppm_color > 0) + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "pwg-raster-document-type-supported", (int)(sizeof(pwg_raster_document_type_supported_color) / sizeof(pwg_raster_document_type_supported_color[0])), NULL, pwg_raster_document_type_supported_color); + else + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "pwg-raster-document-type-supported", (int)(sizeof(pwg_raster_document_type_supported) / sizeof(pwg_raster_document_type_supported[0])), NULL, pwg_raster_document_type_supported); + } + + /* sides-default */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "sides-default", NULL, "one-sided"); + + /* sides-supported */ + if (duplex) + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "sides-supported", (int)(sizeof(sides_supported) / sizeof(sides_supported[0])), NULL, sides_supported); + else + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "sides-supported", NULL, "one-sided"); + + /* urf-supported */ + if (cupsArrayFind(docformats, (void *)"image/urf")) + { + if (ppm_color > 0) + { + if (duplex) + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "urf-supported", (int)(sizeof(urf_supported_color_duplex) / sizeof(urf_supported_color_duplex[0])), NULL, urf_supported_color_duplex); + else + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "urf-supported", (int)(sizeof(urf_supported_color) / sizeof(urf_supported_color[0])), NULL, urf_supported_color); + } + else if (duplex) + { + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "urf-supported", (int)(sizeof(urf_supported_duplex) / sizeof(urf_supported_duplex[0])), NULL, urf_supported_duplex); + } + else + { + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "urf-supported", (int)(sizeof(urf_supported) / sizeof(urf_supported[0])), NULL, urf_supported); + } + } + + return (attrs); +} + + +#if !CUPS_LITE +/* + * 'load_ppd_attributes()' - Load IPP attributes from a PPD file. + */ + +static ipp_t * /* O - IPP attributes or `NULL` on error */ +load_ppd_attributes( + const char *ppdfile, /* I - PPD filename */ + cups_array_t *docformats) /* I - document-format-supported values */ +{ + int i, j; /* Looping vars */ + ipp_t *attrs; /* Attributes */ + ipp_attribute_t *attr; /* Current attribute */ + ipp_t *col; /* Current collection value */ + ppd_file_t *ppd; /* PPD data */ + ppd_attr_t *ppd_attr; /* PPD attribute */ + ppd_choice_t *ppd_choice; /* PPD choice */ + ppd_size_t *ppd_size; /* Default PPD size */ + pwg_size_t *pwg_size, /* Current PWG size */ + *default_size = NULL; /* Default PWG size */ + const char *default_source = NULL, /* Default media source */ + *default_type = NULL; /* Default media type */ + pwg_map_t *pwg_map; /* Mapping from PWG to PPD keywords */ + _ppd_cache_t *pc; /* PPD cache */ + _pwg_finishings_t *finishings; /* Current finishings value */ + const char *template; /* Current finishings-template value */ + int num_margins; /* Number of media-xxx-margin-supported values */ + int margins[10]; /* media-xxx-margin-supported values */ + int xres, /* Default horizontal resolution */ + yres; /* Default vertical resolution */ + int num_urf; /* Number of urf-supported values */ + const char *urf[10]; /* urf-supported values */ + char urf_rs[32]; /* RS value */ + static const int orientation_requested_supported[4] = + { /* orientation-requested-supported values */ + IPP_ORIENT_PORTRAIT, + IPP_ORIENT_LANDSCAPE, + IPP_ORIENT_REVERSE_LANDSCAPE, + IPP_ORIENT_REVERSE_PORTRAIT + }; + static const char * const overrides_supported[] = + { /* overrides-supported */ + "document-numbers", + "media", + "media-col", + "orientation-requested", + "pages" + }; + static const char * const print_color_mode_supported[] = + { /* print-color-mode-supported values */ + "monochrome" + }; + static const char * const print_color_mode_supported_color[] = + { /* print-color-mode-supported values */ + "auto", + "color", + "monochrome" + }; + static const int print_quality_supported[] = + { /* print-quality-supported values */ + IPP_QUALITY_DRAFT, + IPP_QUALITY_NORMAL, + IPP_QUALITY_HIGH + }; + static const char * const printer_supply[] = + { /* printer-supply values */ + "index=1;class=receptacleThatIsFilled;type=wasteToner;unit=percent;" + "maxcapacity=100;level=25;colorantname=unknown;", + "index=2;class=supplyThatIsConsumed;type=toner;unit=percent;" + "maxcapacity=100;level=75;colorantname=black;" + }; + static const char * const printer_supply_color[] = + { /* printer-supply values */ + "index=1;class=receptacleThatIsFilled;type=wasteInk;unit=percent;" + "maxcapacity=100;level=25;colorantname=unknown;", + "index=2;class=supplyThatIsConsumed;type=ink;unit=percent;" + "maxcapacity=100;level=75;colorantname=black;", + "index=3;class=supplyThatIsConsumed;type=ink;unit=percent;" + "maxcapacity=100;level=50;colorantname=cyan;", + "index=4;class=supplyThatIsConsumed;type=ink;unit=percent;" + "maxcapacity=100;level=33;colorantname=magenta;", + "index=5;class=supplyThatIsConsumed;type=ink;unit=percent;" + "maxcapacity=100;level=67;colorantname=yellow;" + }; + static const char * const printer_supply_description[] = + { /* printer-supply-description values */ + "Toner Waste Tank", + "Black Toner" + }; + static const char * const printer_supply_description_color[] = + { /* printer-supply-description values */ + "Ink Waste Tank", + "Black Ink", + "Cyan Ink", + "Magenta Ink", + "Yellow Ink" + }; + static const char * const pwg_raster_document_type_supported[] = + { + "black_1", + "sgray_8" + }; + static const char * const pwg_raster_document_type_supported_color[] = + { + "black_1", + "sgray_8", + "srgb_8", + "srgb_16" + }; + static const char * const sides_supported[] = + { /* sides-supported values */ + "one-sided", + "two-sided-long-edge", + "two-sided-short-edge" + }; + + + /* + * Open the PPD file... + */ + + if ((ppd = ppdOpenFile(ppdfile)) == NULL) + { + ppd_status_t status; /* Load error */ + + status = ppdLastError(&i); + _cupsLangPrintf(stderr, _("ippeveprinter: Unable to open \"%s\": %s on line %d."), ppdfile, ppdErrorString(status), i); + return (NULL); + } + + ppdMarkDefaults(ppd); + + pc = _ppdCacheCreateWithPPD(ppd); + + if ((ppd_size = ppdPageSize(ppd, NULL)) != NULL) + { + /* + * Look up default size... + */ + + for (i = 0, pwg_size = pc->sizes; i < pc->num_sizes; i ++, pwg_size ++) + { + if (!strcmp(pwg_size->map.ppd, ppd_size->name)) + { + default_size = pwg_size; + break; + } + } + } + + if (!default_size) + { + /* + * Default to A4 or Letter... + */ + + for (i = 0, pwg_size = pc->sizes; i < pc->num_sizes; i ++, pwg_size ++) + { + if (!strcmp(pwg_size->map.ppd, "Letter") || !strcmp(pwg_size->map.ppd, "A4")) + { + default_size = pwg_size; + break; + } + } + + if (!default_size) + default_size = pc->sizes; /* Last resort: first size */ + } + + if ((ppd_choice = ppdFindMarkedChoice(ppd, "InputSlot")) != NULL) + default_source = _ppdCacheGetSource(pc, ppd_choice->choice); + + if ((ppd_choice = ppdFindMarkedChoice(ppd, "MediaType")) != NULL) + default_source = _ppdCacheGetType(pc, ppd_choice->choice); + + if ((ppd_attr = ppdFindAttr(ppd, "DefaultResolution", NULL)) != NULL) + { + /* + * Use the PPD-defined default resolution... + */ + + if ((i = sscanf(ppd_attr->value, "%dx%d", &xres, &yres)) == 1) + yres = xres; + else if (i < 0) + xres = yres = 300; + } + else + { + /* + * Use default of 300dpi... + */ + + xres = yres = 300; + } + + snprintf(urf_rs, sizeof(urf_rs), "RS%d", yres < xres ? yres : xres); + + num_urf = 0; + urf[num_urf ++] = "V1.4"; + urf[num_urf ++] = "CP1"; + urf[num_urf ++] = urf_rs; + urf[num_urf ++] = "W8"; + if (pc->sides_2sided_long) + urf[num_urf ++] = "DM1"; + if (ppd->color_device) + urf[num_urf ++] = "SRGB24"; + + /* + * PostScript printers accept PDF via one of the CUPS PDF to PostScript + * filters, along with PostScript (of course) and JPEG... + */ + + cupsArrayAdd(docformats, "application/pdf"); + cupsArrayAdd(docformats, "application/postscript"); + cupsArrayAdd(docformats, "image/jpeg"); + + /* + * Create the attributes... + */ + + attrs = ippNew(); + + /* color-supported */ + ippAddBoolean(attrs, IPP_TAG_PRINTER, "color-supported", (char)ppd->color_device); + + /* copies-default */ + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "copies-default", 1); + + /* copies-supported */ + ippAddRange(attrs, IPP_TAG_PRINTER, "copies-supported", 1, 999); + + /* document-password-supported */ + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "document-password-supported", 127); + + /* finishing-template-supported */ + attr = ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "finishing-template-supported", cupsArrayCount(pc->templates) + 1, NULL, NULL); + ippSetString(attrs, &attr, 0, "none"); + for (i = 1, template = (const char *)cupsArrayFirst(pc->templates); template; i ++, template = (const char *)cupsArrayNext(pc->templates)) + ippSetString(attrs, &attr, i, template); + + /* finishings-col-database */ + attr = ippAddCollections(attrs, IPP_TAG_PRINTER, "finishings-col-database", cupsArrayCount(pc->templates) + 1, NULL); + + col = ippNew(); + ippAddString(col, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "finishing-template", NULL, "none"); + ippSetCollection(attrs, &attr, 0, col); + ippDelete(col); + + for (i = 1, template = (const char *)cupsArrayFirst(pc->templates); template; i ++, template = (const char *)cupsArrayNext(pc->templates)) + { + col = ippNew(); + ippAddString(col, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "finishing-template", NULL, template); + ippSetCollection(attrs, &attr, i, col); + ippDelete(col); + } + + /* finishings-col-default */ + col = ippNew(); + ippAddString(col, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "finishing-template", NULL, "none"); + ippAddCollection(attrs, IPP_TAG_PRINTER, "finishings-col-default", col); + ippDelete(col); + + /* finishings-col-ready */ + attr = ippAddCollections(attrs, IPP_TAG_PRINTER, "finishings-col-ready", cupsArrayCount(pc->templates) + 1, NULL); + + col = ippNew(); + ippAddString(col, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "finishing-template", NULL, "none"); + ippSetCollection(attrs, &attr, 0, col); + ippDelete(col); + + for (i = 1, template = (const char *)cupsArrayFirst(pc->templates); template; i ++, template = (const char *)cupsArrayNext(pc->templates)) + { + col = ippNew(); + ippAddString(col, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "finishing-template", NULL, template); + ippSetCollection(attrs, &attr, i, col); + ippDelete(col); + } + + /* finishings-col-supported */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "finishings-col-supported", NULL, "finishing-template"); + + /* finishings-default */ + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "finishings-default", IPP_FINISHINGS_NONE); + + /* finishings-ready */ + attr = ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "finishings-ready", cupsArrayCount(pc->finishings) + 1, NULL); + ippSetInteger(attrs, &attr, 0, IPP_FINISHINGS_NONE); + for (i = 1, finishings = (_pwg_finishings_t *)cupsArrayFirst(pc->finishings); finishings; i ++, finishings = (_pwg_finishings_t *)cupsArrayNext(pc->finishings)) + ippSetInteger(attrs, &attr, i, (int)finishings->value); + + /* finishings-supported */ + attr = ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "finishings-supported", cupsArrayCount(pc->finishings) + 1, NULL); + ippSetInteger(attrs, &attr, 0, IPP_FINISHINGS_NONE); + for (i = 1, finishings = (_pwg_finishings_t *)cupsArrayFirst(pc->finishings); finishings; i ++, finishings = (_pwg_finishings_t *)cupsArrayNext(pc->finishings)) + ippSetInteger(attrs, &attr, i, (int)finishings->value); + + /* media-bottom-margin-supported */ + for (i = 0, num_margins = 0, pwg_size = pc->sizes; i < pc->num_sizes && num_margins < (int)(sizeof(margins) / sizeof(margins[0])); i ++, pwg_size ++) + { + for (j = 0; j < num_margins; j ++) + { + if (margins[j] == pwg_size->bottom) + break; + } + + if (j >= num_margins) + margins[num_margins ++] = pwg_size->bottom; + } + + for (i = 0; i < (num_margins - 1); i ++) + { + for (j = i + 1; j < num_margins; j ++) + { + if (margins[i] > margins[j]) + { + int mtemp = margins[i]; + + margins[i] = margins[j]; + margins[j] = mtemp; + } + } + } + + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-bottom-margin-supported", num_margins, margins); + + /* media-col-database */ + attr = ippAddCollections(attrs, IPP_TAG_PRINTER, "media-col-database", pc->num_sizes, NULL); + for (i = 0, pwg_size = pc->sizes; i < pc->num_sizes; i ++, pwg_size ++) + { + col = create_media_col(pwg_size->map.pwg, NULL, NULL, pwg_size->width, pwg_size->length, pwg_size->bottom, pwg_size->left, pwg_size->right, pwg_size->top); + ippSetCollection(attrs, &attr, i, col); + ippDelete(col); + } + + /* media-col-default */ + col = create_media_col(default_size->map.pwg, default_source, default_type, default_size->width, default_size->length, default_size->bottom, default_size->left, default_size->right, default_size->top); + ippAddCollection(attrs, IPP_TAG_PRINTER, "media-col-default", col); + ippDelete(col); + + /* media-col-ready */ + col = create_media_col(default_size->map.pwg, default_source, default_type, default_size->width, default_size->length, default_size->bottom, default_size->left, default_size->right, default_size->top); + ippAddCollection(attrs, IPP_TAG_PRINTER, "media-col-ready", col); + ippDelete(col); + + /* media-default */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "media-default", NULL, default_size->map.pwg); + + /* media-left-margin-supported */ + for (i = 0, num_margins = 0, pwg_size = pc->sizes; i < pc->num_sizes && num_margins < (int)(sizeof(margins) / sizeof(margins[0])); i ++, pwg_size ++) + { + for (j = 0; j < num_margins; j ++) + { + if (margins[j] == pwg_size->left) + break; + } + + if (j >= num_margins) + margins[num_margins ++] = pwg_size->left; + } + + for (i = 0; i < (num_margins - 1); i ++) + { + for (j = i + 1; j < num_margins; j ++) + { + if (margins[i] > margins[j]) + { + int mtemp = margins[i]; + + margins[i] = margins[j]; + margins[j] = mtemp; + } + } + } + + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-left-margin-supported", num_margins, margins); + + /* media-ready */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "media-ready", NULL, default_size->map.pwg); + + /* media-right-margin-supported */ + for (i = 0, num_margins = 0, pwg_size = pc->sizes; i < pc->num_sizes && num_margins < (int)(sizeof(margins) / sizeof(margins[0])); i ++, pwg_size ++) + { + for (j = 0; j < num_margins; j ++) + { + if (margins[j] == pwg_size->right) + break; + } + + if (j >= num_margins) + margins[num_margins ++] = pwg_size->right; + } + + for (i = 0; i < (num_margins - 1); i ++) + { + for (j = i + 1; j < num_margins; j ++) + { + if (margins[i] > margins[j]) + { + int mtemp = margins[i]; + + margins[i] = margins[j]; + margins[j] = mtemp; + } + } + } + + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-right-margin-supported", num_margins, margins); + + /* media-supported */ + attr = ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "media-supported", pc->num_sizes, NULL, NULL); + for (i = 0, pwg_size = pc->sizes; i < pc->num_sizes; i ++, pwg_size ++) + ippSetString(attrs, &attr, i, pwg_size->map.pwg); + + /* media-size-supported */ + attr = ippAddCollections(attrs, IPP_TAG_PRINTER, "media-size-supported", pc->num_sizes, NULL); + for (i = 0, pwg_size = pc->sizes; i < pc->num_sizes; i ++, pwg_size ++) + { + col = create_media_size(pwg_size->width, pwg_size->length); + ippSetCollection(attrs, &attr, i, col); + ippDelete(col); + } + + /* media-source-supported */ + if (pc->num_sources > 0) + { + attr = ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "media-source-supported", pc->num_sources, NULL, NULL); + for (i = 0, pwg_map = pc->sources; i < pc->num_sources; i ++, pwg_map ++) + ippSetString(attrs, &attr, i, pwg_map->pwg); + } + else + { + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "media-source-supported", NULL, "auto"); + } + + /* media-top-margin-supported */ + for (i = 0, num_margins = 0, pwg_size = pc->sizes; i < pc->num_sizes && num_margins < (int)(sizeof(margins) / sizeof(margins[0])); i ++, pwg_size ++) + { + for (j = 0; j < num_margins; j ++) + { + if (margins[j] == pwg_size->top) + break; + } + + if (j >= num_margins) + margins[num_margins ++] = pwg_size->top; + } + + for (i = 0; i < (num_margins - 1); i ++) + { + for (j = i + 1; j < num_margins; j ++) + { + if (margins[i] > margins[j]) + { + int mtemp = margins[i]; + + margins[i] = margins[j]; + margins[j] = mtemp; + } + } + } + + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "media-top-margin-supported", num_margins, margins); + + /* media-type-supported */ + if (pc->num_types > 0) + { + attr = ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "media-type-supported", pc->num_types, NULL, NULL); + for (i = 0, pwg_map = pc->types; i < pc->num_types; i ++, pwg_map ++) + ippSetString(attrs, &attr, i, pwg_map->pwg); + } + else + { + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "media-type-supported", NULL, "auto"); + } + + /* orientation-requested-default */ + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "orientation-requested-default", IPP_ORIENT_PORTRAIT); + + /* orientation-requested-supported */ + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "orientation-requested-supported", (int)(sizeof(orientation_requested_supported) / sizeof(orientation_requested_supported[0])), orientation_requested_supported); + + /* output-bin-default */ + if (pc->num_bins > 0) + ippAddString(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "output-bin-default", NULL, pc->bins->pwg); + else + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "output-bin-default", NULL, "face-down"); + + /* output-bin-supported */ + if (pc->num_bins > 0) + { + attr = ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "output-bin-supported", pc->num_bins, NULL, NULL); + for (i = 0, pwg_map = pc->bins; i < pc->num_bins; i ++, pwg_map ++) + ippSetString(attrs, &attr, i, pwg_map->pwg); + } + else + { + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "output-bin-supported", NULL, "face-down"); + } + + /* overrides-supported */ + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "overrides-supported", (int)(sizeof(overrides_supported) / sizeof(overrides_supported[0])), NULL, overrides_supported); + + /* page-ranges-supported */ + ippAddBoolean(attrs, IPP_TAG_PRINTER, "page-ranges-supported", 1); + + /* pages-per-minute */ + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "pages-per-minute", ppd->throughput); + + /* pages-per-minute-color */ + if (ppd->color_device) + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_INTEGER, "pages-per-minute-color", ppd->throughput); + + /* print-color-mode-default */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-color-mode-default", NULL, ppd->color_device ? "auto" : "monochrome"); + + /* print-color-mode-supported */ + if (ppd->color_device) + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-color-mode-supported", (int)(sizeof(print_color_mode_supported_color) / sizeof(print_color_mode_supported_color[0])), NULL, print_color_mode_supported_color); + else + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-color-mode-supported", (int)(sizeof(print_color_mode_supported) / sizeof(print_color_mode_supported[0])), NULL, print_color_mode_supported); + + /* print-content-optimize-default */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-content-optimize-default", NULL, "auto"); + + /* print-content-optimize-supported */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-content-optimize-supported", NULL, "auto"); + + /* print-quality-default */ + ippAddInteger(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "print-quality-default", IPP_QUALITY_NORMAL); + + /* print-quality-supported */ + ippAddIntegers(attrs, IPP_TAG_PRINTER, IPP_TAG_ENUM, "print-quality-supported", (int)(sizeof(print_quality_supported) / sizeof(print_quality_supported[0])), print_quality_supported); + + /* print-rendering-intent-default */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-rendering-intent-default", NULL, "auto"); + + /* print-rendering-intent-supported */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "print-rendering-intent-supported", NULL, "auto"); + + /* printer-device-id */ + if ((ppd_attr = ppdFindAttr(ppd, "1284DeviceId", NULL)) != NULL) + { + /* + * Use the device ID string from the PPD... + */ + + ippAddString(attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-device-id", NULL, ppd_attr->value); + } + else + { + /* + * Synthesize a device ID string... + */ + + char device_id[1024]; /* Device ID string */ + + snprintf(device_id, sizeof(device_id), "MFG:%s;MDL:%s;CMD:PS;", ppd->manufacturer, ppd->modelname); + + ippAddString(attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-device-id", NULL, device_id); + } + + /* printer-input-tray */ + if (pc->num_sources > 0) + { + for (i = 0, attr = NULL; i < pc->num_sources; i ++) + { + char input_tray[1024]; /* printer-input-tray value */ + + if (!strcmp(pc->sources[i].pwg, "manual") || strstr(pc->sources[i].pwg, "-man") != NULL) + snprintf(input_tray, sizeof(input_tray), "type=sheetFeedManual;mediafeed=0;mediaxfeed=0;maxcapacity=1;level=-2;status=0;name=%s", pc->sources[i].pwg); + else + snprintf(input_tray, sizeof(input_tray), "type=sheetFeedAutoRemovableTray;mediafeed=0;mediaxfeed=0;maxcapacity=250;level=125;status=0;name=%s", pc->sources[i].pwg); + + if (attr) + ippSetOctetString(attrs, &attr, i, input_tray, (int)strlen(input_tray)); + else + attr = ippAddOctetString(attrs, IPP_TAG_PRINTER, "printer-input-tray", input_tray, (int)strlen(input_tray)); + } + } + else + { + static const char *printer_input_tray = "type=sheetFeedAutoRemovableTray;mediafeed=0;mediaxfeed=0;maxcapacity=-2;level=-2;status=0;name=auto"; + + ippAddOctetString(attrs, IPP_TAG_PRINTER, "printer-input-tray", printer_input_tray, (int)strlen(printer_input_tray)); + } + + /* printer-make-and-model */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-make-and-model", NULL, ppd->nickname); + + /* printer-resolution-default */ + ippAddResolution(attrs, IPP_TAG_PRINTER, "printer-resolution-default", IPP_RES_PER_INCH, xres, yres); + + /* printer-resolution-supported */ + ippAddResolution(attrs, IPP_TAG_PRINTER, "printer-resolution-supported", IPP_RES_PER_INCH, xres, yres); + + /* printer-supply and printer-supply-description */ + if (ppd->color_device) + { + attr = ippAddOctetString(attrs, IPP_TAG_PRINTER, "printer-supply", printer_supply_color[0], (int)strlen(printer_supply_color[0])); + for (i = 1; i < (int)(sizeof(printer_supply_color) / sizeof(printer_supply_color[0])); i ++) + ippSetOctetString(attrs, &attr, i, printer_supply_color[i], (int)strlen(printer_supply_color[i])); + + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_TEXT), "printer-supply-description", (int)(sizeof(printer_supply_description_color) / sizeof(printer_supply_description_color[0])), NULL, printer_supply_description_color); + } + else + { + attr = ippAddOctetString(attrs, IPP_TAG_PRINTER, "printer-supply", printer_supply[0], (int)strlen(printer_supply[0])); + for (i = 1; i < (int)(sizeof(printer_supply) / sizeof(printer_supply[0])); i ++) + ippSetOctetString(attrs, &attr, i, printer_supply[i], (int)strlen(printer_supply[i])); + + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_TEXT), "printer-supply-description", (int)(sizeof(printer_supply_description) / sizeof(printer_supply_description[0])), NULL, printer_supply_description); + } + + /* pwg-raster-document-xxx-supported */ + if (cupsArrayFind(docformats, (void *)"image/pwg-raster")) + { + ippAddResolution(attrs, IPP_TAG_PRINTER, "pwg-raster-document-resolution-supported", IPP_RES_PER_INCH, xres, yres); + + if (pc->sides_2sided_long) + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "pwg-raster-document-sheet-back", NULL, "normal"); + + if (ppd->color_device) + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "pwg-raster-document-type-supported", (int)(sizeof(pwg_raster_document_type_supported_color) / sizeof(pwg_raster_document_type_supported_color[0])), NULL, pwg_raster_document_type_supported_color); + else + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "pwg-raster-document-type-supported", (int)(sizeof(pwg_raster_document_type_supported) / sizeof(pwg_raster_document_type_supported[0])), NULL, pwg_raster_document_type_supported); + } + + /* sides-default */ + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "sides-default", NULL, "one-sided"); + + /* sides-supported */ + if (pc->sides_2sided_long) + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "sides-supported", (int)(sizeof(sides_supported) / sizeof(sides_supported[0])), NULL, sides_supported); + else + ippAddString(attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "sides-supported", NULL, "one-sided"); + + /* urf-supported */ + if (cupsArrayFind(docformats, (void *)"image/urf")) + ippAddStrings(attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "urf-supported", num_urf, NULL, urf); + + /* + * Free the PPD file and return the attributes... + */ + + _ppdCacheDestroy(pc); + + ppdClose(ppd); + + return (attrs); +} +#endif /* !CUPS_LITE */ + + +#if HAVE_LIBPAM +/* + * 'pam_func()' - PAM conversation function. + */ + +static int /* O - Success or failure */ +pam_func( + int num_msg, /* I - Number of messages */ + const struct pam_message **msg, /* I - Messages */ + struct pam_response **resp, /* O - Responses */ + void *appdata_ptr) + /* I - Pointer to connection */ +{ + int i; /* Looping var */ + struct pam_response *replies; /* Replies */ + ippeve_authdata_t *data; /* Pointer to auth data */ + + + /* + * Allocate memory for the responses... + */ + + if ((replies = malloc(sizeof(struct pam_response) * (size_t)num_msg)) == NULL) + return (PAM_CONV_ERR); + + /* + * Answer all of the messages... + */ + + data = (ippeve_authdata_t *)appdata_ptr; + + for (i = 0; i < num_msg; i ++) + { + switch (msg[i]->msg_style) + { + case PAM_PROMPT_ECHO_ON: + replies[i].resp_retcode = PAM_SUCCESS; + replies[i].resp = strdup(data->username); + break; + + case PAM_PROMPT_ECHO_OFF: + replies[i].resp_retcode = PAM_SUCCESS; + replies[i].resp = strdup(data->password); + break; + + case PAM_TEXT_INFO: + replies[i].resp_retcode = PAM_SUCCESS; + replies[i].resp = NULL; + break; + + case PAM_ERROR_MSG: + replies[i].resp_retcode = PAM_SUCCESS; + replies[i].resp = NULL; + break; + + default: + free(replies); + return (PAM_CONV_ERR); + } + } + + /* + * Return the responses back to PAM... + */ + + *resp = replies; + + return (PAM_SUCCESS); +} +#endif /* HAVE_LIBPAM */ + + +/* + * 'parse_options()' - Parse URL options into CUPS options. + * + * The client->options string is destroyed by this function. + */ + +static int /* O - Number of options */ +parse_options(ippeve_client_t *client, /* I - Client */ + cups_option_t **options)/* O - Options */ +{ + char *name, /* Name */ + *value, /* Value */ + *next; /* Next name=value pair */ + int num_options = 0; /* Number of options */ + + + *options = NULL; + + for (name = client->options; name && *name; name = next) + { + if ((value = strchr(name, '=')) == NULL) + break; + + *value++ = '\0'; + if ((next = strchr(value, '&')) != NULL) + *next++ = '\0'; + + num_options = cupsAddOption(name, value, num_options, options); + } + + return (num_options); +} + + +/* + * 'process_attr_message()' - Process an ATTR: message from a command. + */ + +static void +process_attr_message( + ippeve_job_t *job, /* I - Job */ + char *message) /* I - Message */ +{ + int i, /* Looping var */ + num_options = 0; /* Number of name=value pairs */ + cups_option_t *options = NULL, /* name=value pairs from message */ + *option; /* Current option */ + ipp_attribute_t *attr; /* Current attribute */ + + + /* + * Grab attributes from the message line... + */ + + num_options = cupsParseOptions(message + 5, num_options, &options); + + /* + * Loop through the options and record them in the printer or job objects... + */ + + for (i = num_options, option = options; i > 0; i --, option ++) + { + if (!strcmp(option->name, "job-impressions")) + { + /* + * Update job-impressions attribute... + */ + + job->impressions = atoi(option->value); + } + else if (!strcmp(option->name, "job-impressions-completed")) + { + /* + * Update job-impressions-completed attribute... + */ + + job->impcompleted = atoi(option->value); + } + else if (!strncmp(option->name, "marker-", 7) || !strcmp(option->name, "printer-alert") || !strcmp(option->name, "printer-alert-description") || !strcmp(option->name, "printer-supply") || !strcmp(option->name, "printer-supply-description")) + { + /* + * Update Printer Status attribute... + */ + + _cupsRWLockWrite(&job->printer->rwlock); + + if ((attr = ippFindAttribute(job->printer->attrs, option->name, IPP_TAG_ZERO)) != NULL) + ippDeleteAttribute(job->printer->attrs, attr); + + cupsEncodeOption(job->printer->attrs, IPP_TAG_PRINTER, option->name, option->value); + + _cupsRWUnlock(&job->printer->rwlock); + } + else + { + /* + * Something else that isn't currently supported... + */ + + fprintf(stderr, "[Job %d] Ignoring update of attribute \"%s\" with value \"%s\".\n", job->id, option->name, option->value); + } + } + + cupsFreeOptions(num_options, options); +} + + +/* + * 'process_client()' - Process client requests on a thread. + */ + +static void * /* O - Exit status */ +process_client(ippeve_client_t *client) /* I - Client */ +{ + /* + * Loop until we are out of requests or timeout (30 seconds)... + */ + +#ifdef HAVE_SSL + int first_time = 1; /* First time request? */ +#endif /* HAVE_SSL */ + + while (httpWait(client->http, 30000)) + { +#ifdef HAVE_SSL + if (first_time) + { + /* + * See if we need to negotiate a TLS connection... + */ + + char buf[1]; /* First byte from client */ + + if (recv(httpGetFd(client->http), buf, 1, MSG_PEEK) == 1 && (!buf[0] || !strchr("DGHOPT", buf[0]))) + { + fprintf(stderr, "%s Starting HTTPS session.\n", client->hostname); + + if (httpEncryption(client->http, HTTP_ENCRYPTION_ALWAYS)) + { + fprintf(stderr, "%s Unable to encrypt connection: %s\n", client->hostname, cupsLastErrorString()); + break; + } + + fprintf(stderr, "%s Connection now encrypted.\n", client->hostname); + } + + first_time = 0; + } +#endif /* HAVE_SSL */ + + if (!process_http(client)) + break; + } + + /* + * Close the conection to the client and return... + */ + + delete_client(client); + + return (NULL); +} + + +/* + * 'process_http()' - Process a HTTP request. + */ + +int /* O - 1 on success, 0 on failure */ +process_http(ippeve_client_t *client) /* I - Client connection */ +{ + char uri[1024]; /* URI */ + http_state_t http_state; /* HTTP state */ + http_status_t http_status; /* HTTP status */ + ipp_state_t ipp_state; /* State of IPP transfer */ + char scheme[32], /* Method/scheme */ + userpass[128], /* Username:password */ + hostname[HTTP_MAX_HOST]; + /* Hostname */ + int port; /* Port number */ + static const char * const http_states[] = + { /* Strings for logging HTTP method */ + "WAITING", + "OPTIONS", + "GET", + "GET_SEND", + "HEAD", + "POST", + "POST_RECV", + "POST_SEND", + "PUT", + "PUT_RECV", + "DELETE", + "TRACE", + "CONNECT", + "STATUS", + "UNKNOWN_METHOD", + "UNKNOWN_VERSION" + }; + + + /* + * Clear state variables... + */ + + client->username[0] = '\0'; + + ippDelete(client->request); + ippDelete(client->response); + + client->request = NULL; + client->response = NULL; + client->operation = HTTP_STATE_WAITING; + + /* + * Read a request from the connection... + */ + + while ((http_state = httpReadRequest(client->http, uri, + sizeof(uri))) == HTTP_STATE_WAITING) + usleep(1); + + /* + * Parse the request line... + */ + + if (http_state == HTTP_STATE_ERROR) + { + if (httpError(client->http) == EPIPE) + fprintf(stderr, "%s Client closed connection.\n", client->hostname); + else + fprintf(stderr, "%s Bad request line (%s).\n", client->hostname, strerror(httpError(client->http))); + + return (0); + } + else if (http_state == HTTP_STATE_UNKNOWN_METHOD) + { + fprintf(stderr, "%s Bad/unknown operation.\n", client->hostname); + respond_http(client, HTTP_STATUS_BAD_REQUEST, NULL, NULL, 0); + return (0); + } + else if (http_state == HTTP_STATE_UNKNOWN_VERSION) + { + fprintf(stderr, "%s Bad HTTP version.\n", client->hostname); + respond_http(client, HTTP_STATUS_BAD_REQUEST, NULL, NULL, 0); + return (0); + } + + fprintf(stderr, "%s %s %s\n", client->hostname, http_states[http_state], uri); + + /* + * Separate the URI into its components... + */ + + if (httpSeparateURI(HTTP_URI_CODING_MOST, uri, scheme, sizeof(scheme), + userpass, sizeof(userpass), + hostname, sizeof(hostname), &port, + client->uri, sizeof(client->uri)) < HTTP_URI_STATUS_OK && + (http_state != HTTP_STATE_OPTIONS || strcmp(uri, "*"))) + { + fprintf(stderr, "%s Bad URI \"%s\".\n", client->hostname, uri); + respond_http(client, HTTP_STATUS_BAD_REQUEST, NULL, NULL, 0); + return (0); + } + + if ((client->options = strchr(client->uri, '?')) != NULL) + *(client->options)++ = '\0'; + + /* + * Process the request... + */ + + client->start = time(NULL); + client->operation = httpGetState(client->http); + + /* + * Parse incoming parameters until the status changes... + */ + + while ((http_status = httpUpdate(client->http)) == HTTP_STATUS_CONTINUE); + + if (http_status != HTTP_STATUS_OK) + { + respond_http(client, HTTP_STATUS_BAD_REQUEST, NULL, NULL, 0); + return (0); + } + + if (!httpGetField(client->http, HTTP_FIELD_HOST)[0] && + httpGetVersion(client->http) >= HTTP_VERSION_1_1) + { + /* + * HTTP/1.1 and higher require the "Host:" field... + */ + + respond_http(client, HTTP_STATUS_BAD_REQUEST, NULL, NULL, 0); + return (0); + } + + /* + * Handle HTTP Upgrade... + */ + + if (!strcasecmp(httpGetField(client->http, HTTP_FIELD_CONNECTION), "Upgrade")) + { +#ifdef HAVE_SSL + if (strstr(httpGetField(client->http, HTTP_FIELD_UPGRADE), "TLS/") != NULL && !httpIsEncrypted(client->http)) + { + if (!respond_http(client, HTTP_STATUS_SWITCHING_PROTOCOLS, NULL, NULL, 0)) + return (0); + + fprintf(stderr, "%s Upgrading to encrypted connection.\n", client->hostname); + + if (httpEncryption(client->http, HTTP_ENCRYPTION_REQUIRED)) + { + fprintf(stderr, "%s Unable to encrypt connection: %s\n", client->hostname, cupsLastErrorString()); + return (0); + } + + fprintf(stderr, "%s Connection now encrypted.\n", client->hostname); + } + else +#endif /* HAVE_SSL */ + + if (!respond_http(client, HTTP_STATUS_NOT_IMPLEMENTED, NULL, NULL, 0)) + return (0); + } + + /* + * Handle new transfers... + */ + + switch (client->operation) + { + case HTTP_STATE_OPTIONS : + /* + * Do OPTIONS command... + */ + + return (respond_http(client, HTTP_STATUS_OK, NULL, NULL, 0)); + + case HTTP_STATE_HEAD : + if (!strcmp(client->uri, "/icon.png")) + return (respond_http(client, HTTP_STATUS_OK, NULL, "image/png", 0)); + else if (!strcmp(client->uri, "/") || !strcmp(client->uri, "/media") || !strcmp(client->uri, "/supplies")) + return (respond_http(client, HTTP_STATUS_OK, NULL, "text/html", 0)); + else + return (respond_http(client, HTTP_STATUS_NOT_FOUND, NULL, NULL, 0)); + + case HTTP_STATE_GET : + if (!strcmp(client->uri, "/icon.png")) + { + /* + * Send PNG icon file. + */ + + if (client->printer->icon) + { + int fd; /* Icon file */ + struct stat fileinfo; /* Icon file information */ + char buffer[4096]; /* Copy buffer */ + ssize_t bytes; /* Bytes */ + + fprintf(stderr, "Icon file is \"%s\".\n", client->printer->icon); + + if (!stat(client->printer->icon, &fileinfo) && (fd = open(client->printer->icon, O_RDONLY)) >= 0) + { + if (!respond_http(client, HTTP_STATUS_OK, NULL, "image/png", (size_t)fileinfo.st_size)) + { + close(fd); + return (0); + } + + while ((bytes = read(fd, buffer, sizeof(buffer))) > 0) + httpWrite2(client->http, buffer, (size_t)bytes); + + httpFlushWrite(client->http); + + close(fd); + } + else + return (respond_http(client, HTTP_STATUS_NOT_FOUND, NULL, NULL, 0)); + } + else + { + fputs("Icon file is internal printer.png.\n", stderr); + + if (!respond_http(client, HTTP_STATUS_OK, NULL, "image/png", sizeof(printer_png))) + return (0); + + httpWrite2(client->http, (const char *)printer_png, sizeof(printer_png)); + httpFlushWrite(client->http); + } + } + else + { + /* + * Authenticate if needed... + */ + + if ((http_status = authenticate_request(client)) != HTTP_STATUS_CONTINUE) + { + return (respond_http(client, http_status, NULL, NULL, 0)); + } + + if (!strcmp(client->uri, "/")) + { + /* + * Show web status page... + */ + + return (show_status(client)); + } + else if (!strcmp(client->uri, "/media")) + { + /* + * Show web media page... + */ + + return (show_media(client)); + } + else if (!strcmp(client->uri, "/supplies")) + { + /* + * Show web supplies page... + */ + + return (show_supplies(client)); + } + else + return (respond_http(client, HTTP_STATUS_NOT_FOUND, NULL, NULL, 0)); + } + break; + + case HTTP_STATE_POST : + if (strcmp(httpGetField(client->http, HTTP_FIELD_CONTENT_TYPE), + "application/ipp")) + { + /* + * Not an IPP request... + */ + + return (respond_http(client, HTTP_STATUS_BAD_REQUEST, NULL, NULL, 0)); + } + + /* + * Read the IPP request... + */ + + client->request = ippNew(); + + while ((ipp_state = ippRead(client->http, + client->request)) != IPP_STATE_DATA) + { + if (ipp_state == IPP_STATE_ERROR) + { + fprintf(stderr, "%s IPP read error (%s).\n", client->hostname, cupsLastErrorString()); + respond_http(client, HTTP_STATUS_BAD_REQUEST, NULL, NULL, 0); + return (0); + } + } + + /* + * Now that we have the IPP request, process the request... + */ + + return (process_ipp(client)); + + default : + break; /* Anti-compiler-warning-code */ + } + + return (1); +} + + +/* + * 'process_ipp()' - Process an IPP request. + */ + +static int /* O - 1 on success, 0 on error */ +process_ipp(ippeve_client_t *client) /* I - Client */ +{ + ipp_tag_t group; /* Current group tag */ + ipp_attribute_t *attr; /* Current attribute */ + ipp_attribute_t *charset; /* Character set attribute */ + ipp_attribute_t *language; /* Language attribute */ + ipp_attribute_t *uri; /* Printer URI attribute */ + int major, minor; /* Version number */ + const char *name; /* Name of attribute */ + http_status_t status; /* Authentication status */ + + + debug_attributes("Request", client->request, 1); + + /* + * First build an empty response message for this request... + */ + + client->operation_id = ippGetOperation(client->request); + client->response = ippNewResponse(client->request); + + /* + * Then validate the request header and required attributes... + */ + + major = ippGetVersion(client->request, &minor); + + if (major < 1 || major > 2) + { + /* + * Return an error, since we only support IPP 1.x and 2.x. + */ + + respond_ipp(client, IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED, "Bad request version number %d.%d.", major, minor); + } + else if ((major * 10 + minor) > MaxVersion) + { + if (httpGetState(client->http) != HTTP_STATE_POST_SEND) + httpFlush(client->http); /* Flush trailing (junk) data */ + + respond_http(client, HTTP_STATUS_BAD_REQUEST, NULL, NULL, 0); + return (0); + } + else if (ippGetRequestId(client->request) <= 0) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, "Bad request-id %d.", ippGetRequestId(client->request)); + } + else if (!ippFirstAttribute(client->request)) + { + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, "No attributes in request."); + } + else + { + /* + * Make sure that the attributes are provided in the correct order and + * don't repeat groups... + */ + + for (attr = ippFirstAttribute(client->request), + group = ippGetGroupTag(attr); + attr; + attr = ippNextAttribute(client->request)) + { + if (ippGetGroupTag(attr) < group && ippGetGroupTag(attr) != IPP_TAG_ZERO) + { + /* + * Out of order; return an error... + */ + + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, + "Attribute groups are out of order (%x < %x).", + ippGetGroupTag(attr), group); + break; + } + else + group = ippGetGroupTag(attr); + } + + if (!attr) + { + /* + * Then make sure that the first three attributes are: + * + * attributes-charset + * attributes-natural-language + * printer-uri/job-uri + */ + + attr = ippFirstAttribute(client->request); + name = ippGetName(attr); + if (attr && name && !strcmp(name, "attributes-charset") && + ippGetValueTag(attr) == IPP_TAG_CHARSET) + charset = attr; + else + charset = NULL; + + attr = ippNextAttribute(client->request); + name = ippGetName(attr); + + if (attr && name && !strcmp(name, "attributes-natural-language") && + ippGetValueTag(attr) == IPP_TAG_LANGUAGE) + language = attr; + else + language = NULL; + + if ((attr = ippFindAttribute(client->request, "printer-uri", + IPP_TAG_URI)) != NULL) + uri = attr; + else if ((attr = ippFindAttribute(client->request, "job-uri", + IPP_TAG_URI)) != NULL) + uri = attr; + else + uri = NULL; + + if (charset && + strcasecmp(ippGetString(charset, 0, NULL), "us-ascii") && + strcasecmp(ippGetString(charset, 0, NULL), "utf-8")) + { + /* + * Bad character set... + */ + + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, + "Unsupported character set \"%s\".", + ippGetString(charset, 0, NULL)); + } + else if (!charset || !language || !uri) + { + /* + * Return an error, since attributes-charset, + * attributes-natural-language, and printer-uri/job-uri are required + * for all operations. + */ + + respond_ipp(client, IPP_STATUS_ERROR_BAD_REQUEST, + "Missing required attributes."); + } + else + { + char scheme[32], /* URI scheme */ + userpass[32], /* Username/password in URI */ + host[256], /* Host name in URI */ + resource[256]; /* Resource path in URI */ + int port; /* Port number in URI */ + + name = ippGetName(uri); + + if (httpSeparateURI(HTTP_URI_CODING_ALL, ippGetString(uri, 0, NULL), + scheme, sizeof(scheme), + userpass, sizeof(userpass), + host, sizeof(host), &port, + resource, sizeof(resource)) < HTTP_URI_STATUS_OK) + respond_ipp(client, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, + "Bad %s value '%s'.", name, ippGetString(uri, 0, NULL)); + else if ((!strcmp(name, "job-uri") && + strncmp(resource, "/ipp/print/", 11)) || + (!strcmp(name, "printer-uri") && + strcmp(resource, "/ipp/print"))) + respond_ipp(client, IPP_STATUS_ERROR_NOT_FOUND, "%s %s not found.", + name, ippGetString(uri, 0, NULL)); + else if (client->operation_id != IPP_OP_GET_PRINTER_ATTRIBUTES && (status = authenticate_request(client)) != HTTP_STATUS_CONTINUE) + { + httpFlush(client->http); + + return (respond_http(client, status, NULL, NULL, 0)); + } + else + { + /* + * Handle HTTP Expect... + */ + + if (httpGetExpect(client->http)) + { + if (httpGetExpect(client->http) == HTTP_STATUS_CONTINUE) + { + /* + * Send 100-continue header... + */ + + if (!respond_http(client, HTTP_STATUS_CONTINUE, NULL, NULL, 0)) + return (0); + } + else + { + /* + * Send 417-expectation-failed header... + */ + + if (!respond_http(client, HTTP_STATUS_EXPECTATION_FAILED, NULL, NULL, 0)) + return (0); + + httpFlush(client->http); + return (1); + } + } + + /* + * Try processing the operation... + */ + + switch (client->operation_id) + { + case IPP_OP_PRINT_JOB : + ipp_print_job(client); + break; + + case IPP_OP_PRINT_URI : + ipp_print_uri(client); + break; + + case IPP_OP_VALIDATE_JOB : + ipp_validate_job(client); + break; + + case IPP_OP_CREATE_JOB : + ipp_create_job(client); + break; + + case IPP_OP_SEND_DOCUMENT : + ipp_send_document(client); + break; + + case IPP_OP_SEND_URI : + ipp_send_uri(client); + break; + + case IPP_OP_CANCEL_JOB : + ipp_cancel_job(client); + break; + + case IPP_OP_GET_JOB_ATTRIBUTES : + ipp_get_job_attributes(client); + break; + + case IPP_OP_GET_JOBS : + ipp_get_jobs(client); + break; + + case IPP_OP_GET_PRINTER_ATTRIBUTES : + ipp_get_printer_attributes(client); + break; + + case IPP_OP_CLOSE_JOB : + ipp_close_job(client); + break; + + case IPP_OP_IDENTIFY_PRINTER : + ipp_identify_printer(client); + break; + + default : + respond_ipp(client, IPP_STATUS_ERROR_OPERATION_NOT_SUPPORTED, + "Operation not supported."); + break; + } + } + } + } + } + + /* + * Send the HTTP header and return... + */ + + if (httpGetState(client->http) != HTTP_STATE_POST_SEND) + httpFlush(client->http); /* Flush trailing (junk) data */ + + return (respond_http(client, HTTP_STATUS_OK, NULL, "application/ipp", + ippLength(client->response))); +} + + +/* + * 'process_job()' - Process a print job. + */ + +static void * /* O - Thread exit status */ +process_job(ippeve_job_t *job) /* I - Job */ +{ + job->state = IPP_JSTATE_PROCESSING; + job->printer->state = IPP_PSTATE_PROCESSING; + job->processing = time(NULL); + + while (job->printer->state_reasons & IPPEVE_PREASON_MEDIA_EMPTY) + { + job->printer->state_reasons |= IPPEVE_PREASON_MEDIA_NEEDED; + + sleep(1); + } + + job->printer->state_reasons &= (ippeve_preason_t)~IPPEVE_PREASON_MEDIA_NEEDED; + + if (job->printer->command) + { + /* + * Execute a command with the job spool file and wait for it to complete... + */ + + int pid, /* Process ID */ + status; /* Exit status */ + struct timeval start, /* Start time */ + end; /* End time */ + char *myargv[3], /* Command-line arguments */ + *myenvp[400]; /* Environment variables */ + int myenvc; /* Number of environment variables */ + ipp_attribute_t *attr; /* Job attribute */ + char val[1280], /* IPP_NAME=value */ + *valptr; /* Pointer into string */ +#ifndef _WIN32 + int mystdout = -1; /* File for stdout */ + int mypipe[2]; /* Pipe for stderr */ + char line[2048], /* Line from stderr */ + *ptr, /* Pointer into line */ + *endptr; /* End of line */ + ssize_t bytes; /* Bytes read */ +#endif /* !_WIN32 */ + + fprintf(stderr, "[Job %d] Running command \"%s %s\".\n", job->id, job->printer->command, job->filename); + gettimeofday(&start, NULL); + + /* + * Setup the command-line arguments... + */ + + myargv[0] = job->printer->command; + myargv[1] = job->filename; + myargv[2] = NULL; + + /* + * Copy the current environment, then add environment variables for every + * Job attribute and Printer -default attributes... + */ + + for (myenvc = 0; environ[myenvc] && myenvc < (int)(sizeof(myenvp) / sizeof(myenvp[0]) - 1); myenvc ++) + myenvp[myenvc] = strdup(environ[myenvc]); + + if (myenvc > (int)(sizeof(myenvp) / sizeof(myenvp[0]) - 32)) + { + fprintf(stderr, "[Job %d] Too many environment variables to process job.\n", job->id); + job->state = IPP_JSTATE_ABORTED; + goto error; + } + + snprintf(val, sizeof(val), "CONTENT_TYPE=%s", job->format); + myenvp[myenvc ++] = strdup(val); + + if (job->printer->device_uri) + { + snprintf(val, sizeof(val), "DEVICE_URI=%s", job->printer->device_uri); + myenvp[myenvc ++] = strdup(val); + } + + if (job->printer->output_format) + { + snprintf(val, sizeof(val), "OUTPUT_TYPE=%s", job->printer->output_format); + myenvp[myenvc ++] = strdup(val); + } + +#if !CUPS_LITE + if (job->printer->ppdfile) + { + snprintf(val, sizeof(val), "PPD=%s", job->printer->ppdfile); + myenvp[myenvc++] = strdup(val); + } +#endif /* !CUPS_LITE */ + + for (attr = ippFirstAttribute(job->printer->attrs); attr && myenvc < (int)(sizeof(myenvp) / sizeof(myenvp[0]) - 1); attr = ippNextAttribute(job->printer->attrs)) + { + /* + * Convert "attribute-name-default" to "IPP_ATTRIBUTE_NAME_DEFAULT=" and + * "pwg-xxx" to "IPP_PWG_XXX", then add the value(s) from the attribute. + */ + + const char *name = ippGetName(attr), + /* Attribute name */ + *suffix = strstr(name, "-default"); + /* Suffix on attribute name */ + + if (strncmp(name, "pwg-", 4) && (!suffix || suffix[8])) + continue; + + valptr = val; + *valptr++ = 'I'; + *valptr++ = 'P'; + *valptr++ = 'P'; + *valptr++ = '_'; + while (*name && valptr < (val + sizeof(val) - 2)) + { + if (*name == '-') + *valptr++ = '_'; + else + *valptr++ = (char)toupper(*name & 255); + + name ++; + } + *valptr++ = '='; + ippAttributeString(attr, valptr, sizeof(val) - (size_t)(valptr - val)); + + myenvp[myenvc++] = strdup(val); + } + + for (attr = ippFirstAttribute(job->attrs); attr && myenvc < (int)(sizeof(myenvp) / sizeof(myenvp[0]) - 1); attr = ippNextAttribute(job->attrs)) + { + /* + * Convert "attribute-name" to "IPP_ATTRIBUTE_NAME=" and then add the + * value(s) from the attribute. + */ + + const char *name = ippGetName(attr); + /* Attribute name */ + + if (!name) + continue; + + valptr = val; + *valptr++ = 'I'; + *valptr++ = 'P'; + *valptr++ = 'P'; + *valptr++ = '_'; + while (*name && valptr < (val + sizeof(val) - 2)) + { + if (*name == '-') + *valptr++ = '_'; + else + *valptr++ = (char)toupper(*name & 255); + + name ++; + } + *valptr++ = '='; + ippAttributeString(attr, valptr, sizeof(val) - (size_t)(valptr - val)); + + myenvp[myenvc++] = strdup(val); + } + + if (attr) + { + fprintf(stderr, "[Job %d] Too many environment variables to process job.\n", job->id); + job->state = IPP_JSTATE_ABORTED; + goto error; + } + + myenvp[myenvc] = NULL; + + /* + * Now run the program... + */ + +#ifdef _WIN32 + status = _spawnvpe(_P_WAIT, job->printer->command, myargv, myenvp); + +#else + if (job->printer->device_uri) + { + char scheme[32], /* URI scheme */ + userpass[256], /* username:password (unused) */ + host[256], /* Hostname or IP address */ + resource[256]; /* Resource path */ + int port; /* Port number */ + + + if (httpSeparateURI(HTTP_URI_CODING_ALL, job->printer->device_uri, scheme, sizeof(scheme), userpass, sizeof(userpass), host, sizeof(host), &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK) + { + fprintf(stderr, "[Job %d] Bad device URI \"%s\".\n", job->id, job->printer->device_uri); + } + else if (!strcmp(scheme, "file")) + { + struct stat fileinfo; /* See if this is a file or directory... */ + + if (stat(resource, &fileinfo)) + { + if (errno == ENOENT) + { + if ((mystdout = open(resource, O_WRONLY | O_CREAT | O_TRUNC, 0666)) >= 0) + fprintf(stderr, "[Job %d] Saving print command output to \"%s\".\n", job->id, resource); + else + fprintf(stderr, "[Job %d] Unable to create \"%s\": %s\n", job->id, resource, strerror(errno)); + } + else + fprintf(stderr, "[Job %d] Unable to access \"%s\": %s\n", job->id, resource, strerror(errno)); + } + else if (S_ISDIR(fileinfo.st_mode)) + { + if ((mystdout = create_job_file(job, line, sizeof(line), resource, "prn")) >= 0) + fprintf(stderr, "[Job %d] Saving print command output to \"%s\".\n", job->id, line); + else + fprintf(stderr, "[Job %d] Unable to create \"%s\": %s\n", job->id, line, strerror(errno)); + } + else if (!S_ISREG(fileinfo.st_mode)) + { + if ((mystdout = open(resource, O_WRONLY | O_CREAT | O_TRUNC, 0666)) >= 0) + fprintf(stderr, "[Job %d] Saving print command output to \"%s\".\n", job->id, resource); + else + fprintf(stderr, "[Job %d] Unable to create \"%s\": %s\n", job->id, resource, strerror(errno)); + } + else if ((mystdout = open(resource, O_WRONLY)) >= 0) + fprintf(stderr, "[Job %d] Saving print command output to \"%s\".\n", job->id, resource); + else + fprintf(stderr, "[Job %d] Unable to open \"%s\": %s\n", job->id, resource, strerror(errno)); + } + else if (!strcmp(scheme, "socket")) + { + http_addrlist_t *addrlist; /* List of addresses */ + char service[32]; /* Service number */ + + snprintf(service, sizeof(service), "%d", port); + + if ((addrlist = httpAddrGetList(host, AF_UNSPEC, service)) == NULL) + fprintf(stderr, "[Job %d] Unable to find \"%s\": %s\n", job->id, host, cupsLastErrorString()); + else if (!httpAddrConnect2(addrlist, &mystdout, 30000, &(job->cancel))) + fprintf(stderr, "[Job %d] Unable to connect to \"%s\": %s\n", job->id, host, cupsLastErrorString()); + + httpAddrFreeList(addrlist); + } + else + { + fprintf(stderr, "[Job %d] Unsupported device URI scheme \"%s\".\n", job->id, scheme); + } + } + else if ((mystdout = create_job_file(job, line, sizeof(line), job->printer->directory, "prn")) >= 0) + { + fprintf(stderr, "[Job %d] Saving print command output to \"%s\".\n", job->id, line); + } + + if (mystdout < 0) + mystdout = open("/dev/null", O_WRONLY); + + if (pipe(mypipe)) + { + fprintf(stderr, "[Job %d] Unable to create pipe for stderr: %s\n", job->id, strerror(errno)); + mypipe[0] = mypipe[1] = -1; + } + + if ((pid = fork()) == 0) + { + /* + * Child comes here... + */ + + close(1); + dup2(mystdout, 1); + close(mystdout); + + close(2); + dup2(mypipe[1], 2); + close(mypipe[0]); + close(mypipe[1]); + + execve(job->printer->command, myargv, myenvp); + exit(errno); + } + else if (pid < 0) + { + /* + * Unable to fork process... + */ + + fprintf(stderr, "[Job %d] Unable to start job processing command: %s\n", job->id, strerror(errno)); + status = -1; + + close(mystdout); + close(mypipe[0]); + close(mypipe[1]); + + /* + * Free memory used for environment... + */ + + while (myenvc > 0) + free(myenvp[-- myenvc]); + } + else + { + /* + * Free memory used for environment... + */ + + while (myenvc > 0) + free(myenvp[-- myenvc]); + + /* + * Close the output file in the parent process... + */ + + close(mystdout); + + /* + * If the pipe exists, read from it until EOF... + */ + + if (mypipe[0] >= 0) + { + close(mypipe[1]); + + endptr = line; + while ((bytes = read(mypipe[0], endptr, sizeof(line) - (size_t)(endptr - line) - 1)) > 0) + { + endptr += bytes; + *endptr = '\0'; + + while ((ptr = strchr(line, '\n')) != NULL) + { + int level = 3; /* Message log level */ + + *ptr++ = '\0'; + + if (!strncmp(line, "ATTR:", 5)) + { + /* + * Process job/printer attribute updates. + */ + + process_attr_message(job, line); + } + else if (!strncmp(line, "DEBUG:", 6)) + { + /* + * Debug message... + */ + + level = 2; + } + else if (!strncmp(line, "ERROR:", 6)) + { + /* + * Error message... + */ + + level = 0; + job->message = strdup(line + 6); + job->msglevel = 0; + } + else if (!strncmp(line, "INFO:", 5)) + { + /* + * Informational/progress message... + */ + + level = 1; + if (job->msglevel) + { + job->message = strdup(line + 5); + job->msglevel = 1; + } + } + else if (!strncmp(line, "STATE:", 6)) + { + /* + * Process printer-state-reasons keywords. + */ + + process_state_message(job, line); + } + + if (Verbosity >= level) + fprintf(stderr, "[Job %d] Command - %s\n", job->id, line); + + bytes = ptr - line; + if (ptr < endptr) + memmove(line, ptr, (size_t)(endptr - ptr)); + endptr -= bytes; + *endptr = '\0'; + } + } + + close(mypipe[0]); + } + + /* + * Wait for child to complete... + */ + +# ifdef HAVE_WAITPID + while (waitpid(pid, &status, 0) < 0); +# else + while (wait(&status) < 0); +# endif /* HAVE_WAITPID */ + } +#endif /* _WIN32 */ + + if (status) + { +#ifndef _WIN32 + if (WIFEXITED(status)) +#endif /* !_WIN32 */ + fprintf(stderr, "[Job %d] Command \"%s\" exited with status %d.\n", job->id, job->printer->command, WEXITSTATUS(status)); +#ifndef _WIN32 + else + fprintf(stderr, "[Job %d] Command \"%s\" terminated with signal %d.\n", job->id, job->printer->command, WTERMSIG(status)); +#endif /* !_WIN32 */ + job->state = IPP_JSTATE_ABORTED; + } + else if (status < 0) + job->state = IPP_JSTATE_ABORTED; + else + fprintf(stderr, "[Job %d] Command \"%s\" completed successfully.\n", job->id, job->printer->command); + + /* + * Report the total processing time... + */ + + gettimeofday(&end, NULL); + + fprintf(stderr, "[Job %d] Processing time was %.3f seconds.\n", job->id, end.tv_sec - start.tv_sec + 0.000001 * (end.tv_usec - start.tv_usec)); + } + else + { + /* + * Sleep for a random amount of time to simulate job processing. + */ + + sleep((unsigned)(5 + (CUPS_RAND() % 11))); + } + + if (job->cancel) + job->state = IPP_JSTATE_CANCELED; + else if (job->state == IPP_JSTATE_PROCESSING) + job->state = IPP_JSTATE_COMPLETED; + + error: + + job->completed = time(NULL); + job->printer->state = IPP_PSTATE_IDLE; + job->printer->active_job = NULL; + + return (NULL); +} + + +/* + * 'process_state_message()' - Process a STATE: message from a command. + */ + +static void +process_state_message( + ippeve_job_t *job, /* I - Job */ + char *message) /* I - Message */ +{ + int i; /* Looping var */ + ippeve_preason_t state_reasons, /* printer-state-reasons values */ + bit; /* Current reason bit */ + char *ptr, /* Pointer into message */ + *next; /* Next keyword in message */ + int remove; /* Non-zero if we are removing keywords */ + + + /* + * Skip leading "STATE:" and any whitespace... + */ + + for (message += 6; *message; message ++) + if (*message != ' ' && *message != '\t') + break; + + /* + * Support the following forms of message: + * + * "keyword[,keyword,...]" to set the printer-state-reasons value(s). + * + * "-keyword[,keyword,...]" to remove keywords. + * + * "+keyword[,keyword,...]" to add keywords. + * + * Keywords may or may not have a suffix (-report, -warning, -error) per + * RFC 8011. + */ + + if (*message == '-') + { + remove = 1; + state_reasons = job->printer->state_reasons; + message ++; + } + else if (*message == '+') + { + remove = 0; + state_reasons = job->printer->state_reasons; + message ++; + } + else + { + remove = 0; + state_reasons = IPPEVE_PREASON_NONE; + } + + while (*message) + { + if ((next = strchr(message, ',')) != NULL) + *next++ = '\0'; + + if ((ptr = strstr(message, "-error")) != NULL) + *ptr = '\0'; + else if ((ptr = strstr(message, "-report")) != NULL) + *ptr = '\0'; + else if ((ptr = strstr(message, "-warning")) != NULL) + *ptr = '\0'; + + for (i = 0, bit = 1; i < (int)(sizeof(ippeve_preason_strings) / sizeof(ippeve_preason_strings[0])); i ++, bit *= 2) + { + if (!strcmp(message, ippeve_preason_strings[i])) + { + if (remove) + state_reasons &= ~bit; + else + state_reasons |= bit; + } + } + + if (next) + message = next; + else + break; + } + + job->printer->state_reasons = state_reasons; +} + + +/* + * 'register_printer()' - Register a printer object via Bonjour. + */ + +static int /* O - 1 on success, 0 on error */ +register_printer( + ippeve_printer_t *printer, /* I - Printer */ + const char *subtypes) /* I - Service subtype(s) */ +{ +#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) + ippeve_txt_t ipp_txt; /* Bonjour IPP TXT record */ + int i, /* Looping var */ + count; /* Number of values */ + ipp_attribute_t *color_supported, + *document_format_supported, + *printer_location, + *printer_make_and_model, + *printer_more_info, + *printer_uuid, + *sides_supported, + *urf_supported; /* Printer attributes */ + const char *value; /* Value string */ + char formats[252], /* List of supported formats */ + urf[252], /* List of supported URF values */ + *ptr; /* Pointer into string */ + + + if (!strcmp(subtypes, "off")) + return (1); + + color_supported = ippFindAttribute(printer->attrs, "color-supported", IPP_TAG_BOOLEAN); + document_format_supported = ippFindAttribute(printer->attrs, "document-format-supported", IPP_TAG_MIMETYPE); + printer_location = ippFindAttribute(printer->attrs, "printer-location", IPP_TAG_TEXT); + printer_make_and_model = ippFindAttribute(printer->attrs, "printer-make-and-model", IPP_TAG_TEXT); + printer_more_info = ippFindAttribute(printer->attrs, "printer-more-info", IPP_TAG_URI); + printer_uuid = ippFindAttribute(printer->attrs, "printer-uuid", IPP_TAG_URI); + sides_supported = ippFindAttribute(printer->attrs, "sides-supported", IPP_TAG_KEYWORD); + urf_supported = ippFindAttribute(printer->attrs, "urf-supported", IPP_TAG_KEYWORD); + + for (i = 0, count = ippGetCount(document_format_supported), ptr = formats; i < count; i ++) + { + value = ippGetString(document_format_supported, i, NULL); + + if (!strcasecmp(value, "application/octet-stream")) + continue; + + if (ptr > formats && ptr < (formats + sizeof(formats) - 1)) + *ptr++ = ','; + + strlcpy(ptr, value, sizeof(formats) - (size_t)(ptr - formats)); + ptr += strlen(ptr); + + if (ptr >= (formats + sizeof(formats) - 1)) + break; + } + + urf[0] = '\0'; + for (i = 0, count = ippGetCount(urf_supported), ptr = urf; i < count; i ++) + { + value = ippGetString(urf_supported, i, NULL); + + if (ptr > urf && ptr < (urf + sizeof(urf) - 1)) + *ptr++ = ','; + + strlcpy(ptr, value, sizeof(urf) - (size_t)(ptr - urf)); + ptr += strlen(ptr); + + if (ptr >= (urf + sizeof(urf) - 1)) + break; + } + +#endif /* HAVE_DNSSD || HAVE_AVAHI */ +#ifdef HAVE_DNSSD + DNSServiceErrorType error; /* Error from Bonjour */ + char regtype[256]; /* Bonjour service type */ + uint32_t interface; /* Interface index */ + + + /* + * Build the TXT record for IPP... + */ + + TXTRecordCreate(&ipp_txt, 1024, NULL); + TXTRecordSetValue(&ipp_txt, "rp", 9, "ipp/print"); + if ((value = ippGetString(printer_make_and_model, 0, NULL)) != NULL) + TXTRecordSetValue(&ipp_txt, "ty", (uint8_t)strlen(value), value); + if ((value = ippGetString(printer_more_info, 0, NULL)) != NULL) + TXTRecordSetValue(&ipp_txt, "adminurl", (uint8_t)strlen(value), value); + if ((value = ippGetString(printer_location, 0, NULL)) != NULL) + TXTRecordSetValue(&ipp_txt, "note", (uint8_t)strlen(value), value); + TXTRecordSetValue(&ipp_txt, "pdl", (uint8_t)strlen(formats), formats); + TXTRecordSetValue(&ipp_txt, "Color", 1, ippGetBoolean(color_supported, 0) ? "T" : "F"); + TXTRecordSetValue(&ipp_txt, "Duplex", 1, ippGetCount(sides_supported) > 1 ? "T" : "F"); + if ((value = ippGetString(printer_uuid, 0, NULL)) != NULL) + TXTRecordSetValue(&ipp_txt, "UUID", (uint8_t)strlen(value) - 9, value + 9); +# ifdef HAVE_SSL + TXTRecordSetValue(&ipp_txt, "TLS", 3, "1.2"); +# endif /* HAVE_SSL */ + if (urf[0]) + TXTRecordSetValue(&ipp_txt, "URF", (uint8_t)strlen(urf), urf); + TXTRecordSetValue(&ipp_txt, "txtvers", 1, "1"); + TXTRecordSetValue(&ipp_txt, "qtotal", 1, "1"); + + /* + * Register the _printer._tcp (LPD) service type with a port number of 0 to + * defend our service name but not actually support LPD... + */ + + interface = !strcmp(printer->hostname, "localhost") ? kDNSServiceInterfaceIndexLocalOnly : kDNSServiceInterfaceIndexAny; + + printer->printer_ref = DNSSDMaster; + + if ((error = DNSServiceRegister(&(printer->printer_ref), kDNSServiceFlagsShareConnection, interface, printer->dnssd_name, "_printer._tcp", NULL /* domain */, NULL /* host */, 0 /* port */, 0 /* txtLen */, NULL /* txtRecord */, (DNSServiceRegisterReply)dnssd_callback, printer)) != kDNSServiceErr_NoError) + { + _cupsLangPrintf(stderr, _("Unable to register \"%s.%s\": %d"), printer->dnssd_name, "_printer._tcp", error); + return (0); + } + + /* + * Then register the _ipp._tcp (IPP) service type with the real port number to + * advertise our IPP printer... + */ + + printer->ipp_ref = DNSSDMaster; + + if (subtypes && *subtypes) + snprintf(regtype, sizeof(regtype), "_ipp._tcp,%s", subtypes); + else + strlcpy(regtype, "_ipp._tcp", sizeof(regtype)); + + if ((error = DNSServiceRegister(&(printer->ipp_ref), kDNSServiceFlagsShareConnection, interface, printer->dnssd_name, regtype, NULL /* domain */, NULL /* host */, htons(printer->port), TXTRecordGetLength(&ipp_txt), TXTRecordGetBytesPtr(&ipp_txt), (DNSServiceRegisterReply)dnssd_callback, printer)) != kDNSServiceErr_NoError) + { + _cupsLangPrintf(stderr, _("Unable to register \"%s.%s\": %d"), printer->dnssd_name, regtype, error); + return (0); + } + +# ifdef HAVE_SSL + /* + * Then register the _ipps._tcp (IPP) service type with the real port number to + * advertise our IPPS printer... + */ + + printer->ipps_ref = DNSSDMaster; + + if (subtypes && *subtypes) + snprintf(regtype, sizeof(regtype), "_ipps._tcp,%s", subtypes); + else + strlcpy(regtype, "_ipps._tcp", sizeof(regtype)); + + if ((error = DNSServiceRegister(&(printer->ipps_ref), kDNSServiceFlagsShareConnection, interface, printer->dnssd_name, regtype, NULL /* domain */, NULL /* host */, htons(printer->port), TXTRecordGetLength(&ipp_txt), TXTRecordGetBytesPtr(&ipp_txt), (DNSServiceRegisterReply)dnssd_callback, printer)) != kDNSServiceErr_NoError) + { + _cupsLangPrintf(stderr, _("Unable to register \"%s.%s\": %d"), printer->dnssd_name, regtype, error); + return (0); + } +# endif /* HAVE_SSL */ + + /* + * Similarly, register the _http._tcp,_printer (HTTP) service type with the + * real port number to advertise our IPP printer... + */ + + printer->http_ref = DNSSDMaster; + + if ((error = DNSServiceRegister(&(printer->http_ref), kDNSServiceFlagsShareConnection, interface, printer->dnssd_name, "_http._tcp,_printer", NULL /* domain */, NULL /* host */, htons(printer->port), 0 /* txtLen */, NULL /* txtRecord */, (DNSServiceRegisterReply)dnssd_callback, printer)) != kDNSServiceErr_NoError) + { + _cupsLangPrintf(stderr, _("Unable to register \"%s.%s\": %d"), printer->dnssd_name, "_http._tcp,_printer", error); + return (0); + } + + TXTRecordDeallocate(&ipp_txt); + +#elif defined(HAVE_AVAHI) + char temp[256]; /* Subtype service string */ + + /* + * Create the TXT record... + */ + + ipp_txt = NULL; + ipp_txt = avahi_string_list_add_printf(ipp_txt, "rp=ipp/print"); + if ((value = ippGetString(printer_make_and_model, 0, NULL)) != NULL) + ipp_txt = avahi_string_list_add_printf(ipp_txt, "ty=%s", value); + if ((value = ippGetString(printer_more_info, 0, NULL)) != NULL) + ipp_txt = avahi_string_list_add_printf(ipp_txt, "adminurl=%s", value); + if ((value = ippGetString(printer_location, 0, NULL)) != NULL) + ipp_txt = avahi_string_list_add_printf(ipp_txt, "note=%s", value); + ipp_txt = avahi_string_list_add_printf(ipp_txt, "pdl=%s", formats); + ipp_txt = avahi_string_list_add_printf(ipp_txt, "Color=%s", ippGetBoolean(color_supported, 0) ? "T" : "F"); + ipp_txt = avahi_string_list_add_printf(ipp_txt, "Duplex=%s", ippGetCount(sides_supported) > 1 ? "T" : "F"); + if ((value = ippGetString(printer_uuid, 0, NULL)) != NULL) + ipp_txt = avahi_string_list_add_printf(ipp_txt, "UUID=%s", value + 9); +# ifdef HAVE_SSL + ipp_txt = avahi_string_list_add_printf(ipp_txt, "TLS=1.2"); +# endif /* HAVE_SSL */ + if (urf[0]) + ipp_txt = avahi_string_list_add_printf(ipp_txt, "URF=%s", urf); + ipp_txt = avahi_string_list_add_printf(ipp_txt, "txtvers=1"); + ipp_txt = avahi_string_list_add_printf(ipp_txt, "qtotal=1"); + + /* + * Register _printer._tcp (LPD) with port 0 to reserve the service name... + */ + + avahi_threaded_poll_lock(DNSSDMaster); + + printer->ipp_ref = avahi_entry_group_new(DNSSDClient, dnssd_callback, NULL); + + avahi_entry_group_add_service_strlst(printer->ipp_ref, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, printer->dnssd_name, "_printer._tcp", NULL, NULL, 0, NULL); + + /* + * Then register the _ipp._tcp (IPP)... + */ + + avahi_entry_group_add_service_strlst(printer->ipp_ref, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, printer->dnssd_name, "_ipp._tcp", NULL, NULL, printer->port, ipp_txt); + if (subtypes && *subtypes) + { + char *temptypes = strdup(subtypes), *start, *end; + + for (start = temptypes; *start; start = end) + { + if ((end = strchr(start, ',')) != NULL) + *end++ = '\0'; + else + end = start + strlen(start); + + snprintf(temp, sizeof(temp), "%s._sub._ipp._tcp", start); + avahi_entry_group_add_service_subtype(printer->ipp_ref, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, printer->dnssd_name, "_ipp._tcp", NULL, temp); + } + + free(temptypes); + } + +#ifdef HAVE_SSL + /* + * _ipps._tcp (IPPS) for secure printing... + */ + + avahi_entry_group_add_service_strlst(printer->ipp_ref, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, printer->dnssd_name, "_ipps._tcp", NULL, NULL, printer->port, ipp_txt); + if (subtypes && *subtypes) + { + char *temptypes = strdup(subtypes), *start, *end; + + for (start = temptypes; *start; start = end) + { + if ((end = strchr(start, ',')) != NULL) + *end++ = '\0'; + else + end = start + strlen(start); + + snprintf(temp, sizeof(temp), "%s._sub._ipps._tcp", start); + avahi_entry_group_add_service_subtype(printer->ipp_ref, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, printer->dnssd_name, "_ipps._tcp", NULL, temp); + } + + free(temptypes); + } +#endif /* HAVE_SSL */ + + /* + * Finally _http.tcp (HTTP) for the web interface... + */ + + avahi_entry_group_add_service_strlst(printer->ipp_ref, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, printer->dnssd_name, "_http._tcp", NULL, NULL, printer->port, NULL); + avahi_entry_group_add_service_subtype(printer->ipp_ref, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, printer->dnssd_name, "_http._tcp", NULL, "_printer._sub._http._tcp"); + + /* + * Commit it... + */ + + avahi_entry_group_commit(printer->ipp_ref); + avahi_threaded_poll_unlock(DNSSDMaster); + + avahi_string_list_free(ipp_txt); +#endif /* HAVE_DNSSD */ + + return (1); +} + + +/* + * 'respond_http()' - Send a HTTP response. + */ + +int /* O - 1 on success, 0 on failure */ +respond_http( + ippeve_client_t *client, /* I - Client */ + http_status_t code, /* I - HTTP status of response */ + const char *content_encoding, /* I - Content-Encoding of response */ + const char *type, /* I - MIME media type of response */ + size_t length) /* I - Length of response */ +{ + char message[1024]; /* Text message */ + + + fprintf(stderr, "%s %s\n", client->hostname, httpStatus(code)); + + if (code == HTTP_STATUS_CONTINUE) + { + /* + * 100-continue doesn't send any headers... + */ + + return (httpWriteResponse(client->http, HTTP_STATUS_CONTINUE) == 0); + } + + /* + * Format an error message... + */ + + if (!type && !length && code != HTTP_STATUS_OK && code != HTTP_STATUS_SWITCHING_PROTOCOLS) + { + snprintf(message, sizeof(message), "%d - %s\n", code, httpStatus(code)); + + type = "text/plain"; + length = strlen(message); + } + else + message[0] = '\0'; + + /* + * Send the HTTP response header... + */ + + httpClearFields(client->http); + + if (code == HTTP_STATUS_METHOD_NOT_ALLOWED || + client->operation == HTTP_STATE_OPTIONS) + httpSetField(client->http, HTTP_FIELD_ALLOW, "GET, HEAD, OPTIONS, POST"); + + if (code == HTTP_STATUS_UNAUTHORIZED) + { + char value[256]; /* WWW-Authenticate value */ + + snprintf(value, sizeof(value), "Basic realm=\"%s\"", PAMService); + httpSetField(client->http, HTTP_FIELD_WWW_AUTHENTICATE, value); + } + + if (type) + { + if (!strcmp(type, "text/html")) + httpSetField(client->http, HTTP_FIELD_CONTENT_TYPE, + "text/html; charset=utf-8"); + else + httpSetField(client->http, HTTP_FIELD_CONTENT_TYPE, type); + + if (content_encoding) + httpSetField(client->http, HTTP_FIELD_CONTENT_ENCODING, content_encoding); + } + + httpSetLength(client->http, length); + + if (httpWriteResponse(client->http, code) < 0) + return (0); + + /* + * Send the response data... + */ + + if (message[0]) + { + /* + * Send a plain text message. + */ + + if (httpPrintf(client->http, "%s", message) < 0) + return (0); + + if (httpWrite2(client->http, "", 0) < 0) + return (0); + } + else if (client->response) + { + /* + * Send an IPP response... + */ + + debug_attributes("Response", client->response, 2); + + ippSetState(client->response, IPP_STATE_IDLE); + + if (ippWrite(client->http, client->response) != IPP_STATE_DATA) + return (0); + } + + return (1); +} + + +/* + * 'respond_ipp()' - Send an IPP response. + */ + +static void +respond_ipp(ippeve_client_t *client, /* I - Client */ + ipp_status_t status, /* I - status-code */ + const char *message, /* I - printf-style status-message */ + ...) /* I - Additional args as needed */ +{ + const char *formatted = NULL; /* Formatted message */ + + + ippSetStatusCode(client->response, status); + + if (message) + { + va_list ap; /* Pointer to additional args */ + ipp_attribute_t *attr; /* New status-message attribute */ + + va_start(ap, message); + if ((attr = ippFindAttribute(client->response, "status-message", IPP_TAG_TEXT)) != NULL) + ippSetStringfv(client->response, &attr, 0, message, ap); + else + attr = ippAddStringfv(client->response, IPP_TAG_OPERATION, IPP_TAG_TEXT, "status-message", NULL, message, ap); + va_end(ap); + + formatted = ippGetString(attr, 0, NULL); + } + + if (formatted) + fprintf(stderr, "%s %s %s (%s)\n", client->hostname, ippOpString(client->operation_id), ippErrorString(status), formatted); + else + fprintf(stderr, "%s %s %s\n", client->hostname, ippOpString(client->operation_id), ippErrorString(status)); +} + + +/* + * 'respond_unsupported()' - Respond with an unsupported attribute. + */ + +static void +respond_unsupported( + ippeve_client_t *client, /* I - Client */ + ipp_attribute_t *attr) /* I - Atribute */ +{ + ipp_attribute_t *temp; /* Copy of attribute */ + + + respond_ipp(client, IPP_STATUS_ERROR_ATTRIBUTES_OR_VALUES, "Unsupported %s %s%s value.", ippGetName(attr), ippGetCount(attr) > 1 ? "1setOf " : "", ippTagString(ippGetValueTag(attr))); + + temp = ippCopyAttribute(client->response, attr, 0); + ippSetGroupTag(client->response, &temp, IPP_TAG_UNSUPPORTED_GROUP); +} + + +/* + * 'run_printer()' - Run the printer service. + */ + +static void +run_printer(ippeve_printer_t *printer) /* I - Printer */ +{ + int num_fds; /* Number of file descriptors */ + struct pollfd polldata[3]; /* poll() data */ + int timeout; /* Timeout for poll() */ + ippeve_client_t *client; /* New client */ + + + /* + * Setup poll() data for the Bonjour service socket and IPv4/6 listeners... + */ + + polldata[0].fd = printer->ipv4; + polldata[0].events = POLLIN; + + polldata[1].fd = printer->ipv6; + polldata[1].events = POLLIN; + + num_fds = 2; + +#ifdef HAVE_DNSSD + polldata[num_fds ].fd = DNSServiceRefSockFD(DNSSDMaster); + polldata[num_fds ++].events = POLLIN; +#endif /* HAVE_DNSSD */ + + /* + * Loop until we are killed or have a hard error... + */ + + for (;;) + { + if (cupsArrayCount(printer->jobs)) + timeout = 10; + else + timeout = -1; + + if (poll(polldata, (nfds_t)num_fds, timeout) < 0 && errno != EINTR) + { + perror("poll() failed"); + break; + } + + if (polldata[0].revents & POLLIN) + { + if ((client = create_client(printer, printer->ipv4)) != NULL) + { + _cups_thread_t t = _cupsThreadCreate((_cups_thread_func_t)process_client, client); + + if (t) + { + _cupsThreadDetach(t); + } + else + { + perror("Unable to create client thread"); + delete_client(client); + } + } + } + + if (polldata[1].revents & POLLIN) + { + if ((client = create_client(printer, printer->ipv6)) != NULL) + { + _cups_thread_t t = _cupsThreadCreate((_cups_thread_func_t)process_client, client); + + if (t) + { + _cupsThreadDetach(t); + } + else + { + perror("Unable to create client thread"); + delete_client(client); + } + } + } + +#ifdef HAVE_DNSSD + if (polldata[2].revents & POLLIN) + DNSServiceProcessResult(DNSSDMaster); +#endif /* HAVE_DNSSD */ + + /* + * Clean out old jobs... + */ + + clean_jobs(printer); + } +} + + +/* + * 'show_media()' - Show media load state. + */ + +static int /* O - 1 on success, 0 on failure */ +show_media(ippeve_client_t *client) /* I - Client connection */ +{ + ippeve_printer_t *printer = client->printer; + /* Printer */ + int i, j, /* Looping vars */ + num_ready, /* Number of ready media */ + num_sizes, /* Number of media sizes */ + num_sources, /* Number of media sources */ + num_types; /* Number of media types */ + ipp_attribute_t *media_col_ready,/* media-col-ready attribute */ + *media_ready, /* media-ready attribute */ + *media_sizes, /* media-supported attribute */ + *media_sources, /* media-source-supported attribute */ + *media_types, /* media-type-supported attribute */ + *input_tray; /* printer-input-tray attribute */ + ipp_t *media_col; /* media-col value */ + const char *media_size, /* media value */ + *media_source, /* media-source value */ + *media_type, /* media-type value */ + *ready_size, /* media-col-ready media-size[-name] value */ + *ready_source, /* media-col-ready media-source value */ + *ready_tray, /* printer-input-tray value */ + *ready_type; /* media-col-ready media-type value */ + char tray_str[1024], /* printer-input-tray string value */ + *tray_ptr; /* Pointer into value */ + int tray_len; /* Length of printer-input-tray value */ + int ready_sheets; /* printer-input-tray sheets value */ + int num_options = 0;/* Number of form options */ + cups_option_t *options = NULL;/* Form options */ + static const int sheets[] = /* Number of sheets */ + { + 250, + 125, + 50, + 25, + 5, + 0, + -2 + }; + + + if (!respond_http(client, HTTP_STATUS_OK, NULL, "text/html", 0)) + return (0); + + html_header(client, printer->name, 0); + + if ((media_col_ready = ippFindAttribute(printer->attrs, "media-col-ready", IPP_TAG_BEGIN_COLLECTION)) == NULL) + { + html_printf(client, "

    Error: No media-col-ready defined for printer.

    \n"); + html_footer(client); + return (1); + } + + media_ready = ippFindAttribute(printer->attrs, "media-ready", IPP_TAG_ZERO); + + if ((media_sizes = ippFindAttribute(printer->attrs, "media-supported", IPP_TAG_ZERO)) == NULL) + { + html_printf(client, "

    Error: No media-supported defined for printer.

    \n"); + html_footer(client); + return (1); + } + + if ((media_sources = ippFindAttribute(printer->attrs, "media-source-supported", IPP_TAG_ZERO)) == NULL) + { + html_printf(client, "

    Error: No media-source-supported defined for printer.

    \n"); + html_footer(client); + return (1); + } + + if ((media_types = ippFindAttribute(printer->attrs, "media-type-supported", IPP_TAG_ZERO)) == NULL) + { + html_printf(client, "

    Error: No media-type-supported defined for printer.

    \n"); + html_footer(client); + return (1); + } + + if ((input_tray = ippFindAttribute(printer->attrs, "printer-input-tray", IPP_TAG_STRING)) == NULL) + { + html_printf(client, "

    Error: No printer-input-tray defined for printer.

    \n"); + html_footer(client); + return (1); + } + + num_ready = ippGetCount(media_col_ready); + num_sizes = ippGetCount(media_sizes); + num_sources = ippGetCount(media_sources); + num_types = ippGetCount(media_types); + + if (num_sources != ippGetCount(input_tray)) + { + html_printf(client, "

    Error: Different number of trays in media-source-supported and printer-input-tray defined for printer.

    \n"); + html_footer(client); + return (1); + } + + /* + * Process form data if present... + */ + + if (printer->web_forms) + num_options = parse_options(client, &options); + + if (num_options > 0) + { + /* + * WARNING: A real printer/server implementation MUST NOT implement + * media updates via a GET request - GET requests are supposed to be + * idempotent (without side-effects) and we obviously are not + * authenticating access here. This form is provided solely to + * enable testing and development! + */ + + char name[255]; /* Form name */ + const char *val; /* Form value */ + pwg_media_t *media; /* Media info */ + + _cupsRWLockWrite(&printer->rwlock); + + ippDeleteAttribute(printer->attrs, media_col_ready); + media_col_ready = NULL; + + if (media_ready) + { + ippDeleteAttribute(printer->attrs, media_ready); + media_ready = NULL; + } + + printer->state_reasons &= (ippeve_preason_t)~(IPPEVE_PREASON_MEDIA_LOW | IPPEVE_PREASON_MEDIA_EMPTY | IPPEVE_PREASON_MEDIA_NEEDED); + + for (i = 0; i < num_sources; i ++) + { + media_source = ippGetString(media_sources, i, NULL); + + if (!strcmp(media_source, "auto") || !strcmp(media_source, "manual") || strstr(media_source, "-man") != NULL) + continue; + + snprintf(name, sizeof(name), "size%d", i); + if ((media_size = cupsGetOption(name, num_options, options)) != NULL && (media = pwgMediaForPWG(media_size)) != NULL) + { + snprintf(name, sizeof(name), "type%d", i); + if ((media_type = cupsGetOption(name, num_options, options)) != NULL && !*media_type) + media_type = NULL; + + if (media_ready) + ippSetString(printer->attrs, &media_ready, ippGetCount(media_ready), media_size); + else + media_ready = ippAddString(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_KEYWORD, "media-ready", NULL, media_size); + + media_col = create_media_col(media_size, media_source, media_type, media->width, media->length, -1, -1, -1, -1); + + if (media_col_ready) + ippSetCollection(printer->attrs, &media_col_ready, ippGetCount(media_col_ready), media_col); + else + media_col_ready = ippAddCollection(printer->attrs, IPP_TAG_PRINTER, "media-col-ready", media_col); + ippDelete(media_col); + } + else + media = NULL; + + snprintf(name, sizeof(name), "level%d", i); + if ((val = cupsGetOption(name, num_options, options)) != NULL) + ready_sheets = atoi(val); + else + ready_sheets = 0; + + snprintf(tray_str, sizeof(tray_str), "type=sheetFeedAuto%sRemovableTray;mediafeed=%d;mediaxfeed=%d;maxcapacity=%d;level=%d;status=0;name=%s;", !strcmp(media_source, "by-pass-tray") ? "Non" : "", media ? media->length : 0, media ? media->width : 0, strcmp(media_source, "by-pass-tray") ? 250 : 25, ready_sheets, media_source); + + ippSetOctetString(printer->attrs, &input_tray, i, tray_str, (int)strlen(tray_str)); + + if (ready_sheets == 0) + { + printer->state_reasons |= IPPEVE_PREASON_MEDIA_EMPTY; + if (printer->active_job) + printer->state_reasons |= IPPEVE_PREASON_MEDIA_NEEDED; + } + else if (ready_sheets < 25 && ready_sheets > 0) + printer->state_reasons |= IPPEVE_PREASON_MEDIA_LOW; + } + + if (!media_col_ready) + media_col_ready = ippAddOutOfBand(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_NOVALUE, "media-col-ready"); + + if (!media_ready) + media_ready = ippAddOutOfBand(printer->attrs, IPP_TAG_PRINTER, IPP_TAG_NOVALUE, "media-ready"); + + _cupsRWUnlock(&printer->rwlock); + } + + if (printer->web_forms) + html_printf(client, "
    \n"); + + html_printf(client, "\n"); + for (i = 0; i < num_sources; i ++) + { + media_source = ippGetString(media_sources, i, NULL); + + if (!strcmp(media_source, "auto") || !strcmp(media_source, "manual") || strstr(media_source, "-man") != NULL) + continue; + + for (j = 0, ready_size = NULL, ready_type = NULL; j < num_ready; j ++) + { + media_col = ippGetCollection(media_col_ready, j); + ready_size = ippGetString(ippFindAttribute(media_col, "media-size-name", IPP_TAG_ZERO), 0, NULL); + ready_source = ippGetString(ippFindAttribute(media_col, "media-source", IPP_TAG_ZERO), 0, NULL); + ready_type = ippGetString(ippFindAttribute(media_col, "media-type", IPP_TAG_ZERO), 0, NULL); + + if (ready_source && !strcmp(ready_source, media_source)) + break; + + ready_source = NULL; + ready_size = NULL; + ready_type = NULL; + } + + html_printf(client, "", media_source); + + /* + * Media size... + */ + + if (printer->web_forms) + { + html_printf(client, "\n"); + } + else if (ready_sheets == 1) + html_printf(client, ", 1 sheet\n"); + else if (ready_sheets > 0) + html_printf(client, ", %d sheets\n", ready_sheets); + else + html_printf(client, "\n"); + } + + if (printer->web_forms) + { + html_printf(client, "
    %s:"); + } + else + html_printf(client, "%s", ready_size); + + /* + * Media type... + */ + + if (printer->web_forms) + { + html_printf(client, " "); + } + else if (ready_type) + html_printf(client, ", %s", ready_type); + + /* + * Level/sheets loaded... + */ + + if ((ready_tray = ippGetOctetString(input_tray, i, &tray_len)) != NULL) + { + if (tray_len > (int)(sizeof(tray_str) - 1)) + tray_len = (int)sizeof(tray_str) - 1; + memcpy(tray_str, ready_tray, (size_t)tray_len); + tray_str[tray_len] = '\0'; + + if ((tray_ptr = strstr(tray_str, "level=")) != NULL) + ready_sheets = atoi(tray_ptr + 6); + else + ready_sheets = 0; + } + else + ready_sheets = 0; + + if (printer->web_forms) + { + html_printf(client, "
    "); + if (num_options > 0) + html_printf(client, " Media updated.\n"); + html_printf(client, "
    \n"); + + if (num_options > 0) + html_printf(client, "\n"); + } + else + html_printf(client, "\n"); + + html_footer(client); + + return (1); +} + + +/* + * 'show_status()' - Show printer/system state. + */ + +static int /* O - 1 on success, 0 on failure */ +show_status(ippeve_client_t *client) /* I - Client connection */ +{ + ippeve_printer_t *printer = client->printer; + /* Printer */ + ippeve_job_t *job; /* Current job */ + int i; /* Looping var */ + ippeve_preason_t reason; /* Current reason */ + static const char * const reasons[] = /* Reason strings */ + { + "Other", + "Cover Open", + "Input Tray Missing", + "Marker Supply Empty", + "Marker Supply Low", + "Marker Waste Almost Full", + "Marker Waste Full", + "Media Empty", + "Media Jam", + "Media Low", + "Media Needed", + "Moving to Paused", + "Paused", + "Spool Area Full", + "Toner Empty", + "Toner Low" + }; + static const char * const state_colors[] = + { /* State colors */ + "#0C0", /* Idle */ + "#EE0", /* Processing */ + "#C00" /* Stopped */ + }; + + + if (!respond_http(client, HTTP_STATUS_OK, NULL, "text/html", 0)) + return (0); + + html_header(client, printer->name, printer->state == IPP_PSTATE_PROCESSING ? 5 : 15); + html_printf(client, "

    %s Jobs

    \n", state_colors[printer->state - IPP_PSTATE_IDLE], printer->name); + html_printf(client, "

    %s, %d job(s).", printer->state == IPP_PSTATE_IDLE ? "Idle" : printer->state == IPP_PSTATE_PROCESSING ? "Printing" : "Stopped", cupsArrayCount(printer->jobs)); + for (i = 0, reason = 1; i < (int)(sizeof(reasons) / sizeof(reasons[0])); i ++, reason <<= 1) + if (printer->state_reasons & reason) + html_printf(client, "\n
        %s", reasons[i]); + html_printf(client, "

    \n"); + + if (cupsArrayCount(printer->jobs) > 0) + { + _cupsRWLockRead(&(printer->rwlock)); + + html_printf(client, "\n"); + for (job = (ippeve_job_t *)cupsArrayFirst(printer->jobs); job; job = (ippeve_job_t *)cupsArrayNext(printer->jobs)) + { + char when[256], /* When job queued/started/finished */ + hhmmss[64]; /* Time HH:MM:SS */ + + switch (job->state) + { + case IPP_JSTATE_PENDING : + case IPP_JSTATE_HELD : + snprintf(when, sizeof(when), "Queued at %s", time_string(job->created, hhmmss, sizeof(hhmmss))); + break; + case IPP_JSTATE_PROCESSING : + case IPP_JSTATE_STOPPED : + snprintf(when, sizeof(when), "Started at %s", time_string(job->processing, hhmmss, sizeof(hhmmss))); + break; + case IPP_JSTATE_ABORTED : + snprintf(when, sizeof(when), "Aborted at %s", time_string(job->completed, hhmmss, sizeof(hhmmss))); + break; + case IPP_JSTATE_CANCELED : + snprintf(when, sizeof(when), "Canceled at %s", time_string(job->completed, hhmmss, sizeof(hhmmss))); + break; + case IPP_JSTATE_COMPLETED : + snprintf(when, sizeof(when), "Completed at %s", time_string(job->completed, hhmmss, sizeof(hhmmss))); + break; + } + + html_printf(client, "\n", job->id, job->name, job->username, when); + } + html_printf(client, "
    Job #NameOwnerStatus
    %d%s%s%s
    \n"); + + _cupsRWUnlock(&(printer->rwlock)); + } + + html_footer(client); + + return (1); +} + + +/* + * 'show_supplies()' - Show printer supplies. + */ + +static int /* O - 1 on success, 0 on failure */ +show_supplies( + ippeve_client_t *client) /* I - Client connection */ +{ + ippeve_printer_t *printer = client->printer; + /* Printer */ + int i, /* Looping var */ + num_supply; /* Number of supplies */ + ipp_attribute_t *supply, /* printer-supply attribute */ + *supply_desc; /* printer-supply-description attribute */ + int num_options = 0; /* Number of form options */ + cups_option_t *options = NULL; /* Form options */ + int supply_len, /* Length of supply value */ + level; /* Supply level */ + const char *supply_value; /* Supply value */ + char supply_text[1024], /* Supply string */ + *supply_ptr; /* Pointer into supply string */ + static const char * const printer_supply[] = + { /* printer-supply values */ + "index=1;class=receptacleThatIsFilled;type=wasteToner;unit=percent;" + "maxcapacity=100;level=%d;colorantname=unknown;", + "index=2;class=supplyThatIsConsumed;type=toner;unit=percent;" + "maxcapacity=100;level=%d;colorantname=black;", + "index=3;class=supplyThatIsConsumed;type=toner;unit=percent;" + "maxcapacity=100;level=%d;colorantname=cyan;", + "index=4;class=supplyThatIsConsumed;type=toner;unit=percent;" + "maxcapacity=100;level=%d;colorantname=magenta;", + "index=5;class=supplyThatIsConsumed;type=toner;unit=percent;" + "maxcapacity=100;level=%d;colorantname=yellow;" + }; + static const char * const backgrounds[] = + { /* Background colors for the supply-level bars */ + "#777 linear-gradient(#333,#777)", + "#000 linear-gradient(#666,#000)", + "#0FF linear-gradient(#6FF,#0FF)", + "#F0F linear-gradient(#F6F,#F0F)", + "#CC0 linear-gradient(#EE6,#EE0)" + }; + static const char * const colors[] = /* Text colors for the supply-level bars */ + { + "#fff", + "#fff", + "#000", + "#000", + "#000" + }; + + + if (!respond_http(client, HTTP_STATUS_OK, NULL, "text/html", 0)) + return (0); + + html_header(client, printer->name, 0); + + if ((supply = ippFindAttribute(printer->attrs, "printer-supply", IPP_TAG_STRING)) == NULL) + { + html_printf(client, "

    Error: No printer-supply defined for printer.

    \n"); + html_footer(client); + return (1); + } + + num_supply = ippGetCount(supply); + + if ((supply_desc = ippFindAttribute(printer->attrs, "printer-supply-description", IPP_TAG_TEXT)) == NULL) + { + html_printf(client, "

    Error: No printer-supply-description defined for printer.

    \n"); + html_footer(client); + return (1); + } + + if (num_supply != ippGetCount(supply_desc)) + { + html_printf(client, "

    Error: Different number of values for printer-supply and printer-supply-description defined for printer.

    \n"); + html_footer(client); + return (1); + } + + if (printer->web_forms) + num_options = parse_options(client, &options); + + if (num_options > 0) + { + /* + * WARNING: A real printer/server implementation MUST NOT implement + * supply updates via a GET request - GET requests are supposed to be + * idempotent (without side-effects) and we obviously are not + * authenticating access here. This form is provided solely to + * enable testing and development! + */ + + char name[64]; /* Form field */ + const char *val; /* Form value */ + + _cupsRWLockWrite(&printer->rwlock); + + ippDeleteAttribute(printer->attrs, supply); + supply = NULL; + + printer->state_reasons &= (ippeve_preason_t)~(IPPEVE_PREASON_MARKER_SUPPLY_EMPTY | IPPEVE_PREASON_MARKER_SUPPLY_LOW | IPPEVE_PREASON_MARKER_WASTE_ALMOST_FULL | IPPEVE_PREASON_MARKER_WASTE_FULL | IPPEVE_PREASON_TONER_EMPTY | IPPEVE_PREASON_TONER_LOW); + + for (i = 0; i < num_supply; i ++) + { + snprintf(name, sizeof(name), "supply%d", i); + if ((val = cupsGetOption(name, num_options, options)) != NULL) + { + level = atoi(val); /* New level */ + + snprintf(supply_text, sizeof(supply_text), printer_supply[i], level); + if (supply) + ippSetOctetString(printer->attrs, &supply, ippGetCount(supply), supply_text, (int)strlen(supply_text)); + else + supply = ippAddOctetString(printer->attrs, IPP_TAG_PRINTER, "printer-supply", supply_text, (int)strlen(supply_text)); + + if (i == 0) + { + if (level == 100) + printer->state_reasons |= IPPEVE_PREASON_MARKER_WASTE_FULL; + else if (level > 90) + printer->state_reasons |= IPPEVE_PREASON_MARKER_WASTE_ALMOST_FULL; + } + else + { + if (level == 0) + printer->state_reasons |= IPPEVE_PREASON_TONER_EMPTY; + else if (level < 10) + printer->state_reasons |= IPPEVE_PREASON_TONER_LOW; + } + } + } + + _cupsRWUnlock(&printer->rwlock); + } + + if (printer->web_forms) + html_printf(client, "
    \n"); + + html_printf(client, "\n"); + for (i = 0; i < num_supply; i ++) + { + supply_value = ippGetOctetString(supply, i, &supply_len); + if (supply_len > (int)(sizeof(supply_text) - 1)) + supply_len = (int)sizeof(supply_text) - 1; + + memcpy(supply_text, supply_value, (size_t)supply_len); + supply_text[supply_len] = '\0'; + + if ((supply_ptr = strstr(supply_text, "level=")) != NULL) + level = atoi(supply_ptr + 6); + else + level = 50; + + if (printer->web_forms) + html_printf(client, "", ippGetString(supply_desc, i, NULL), i, level); + else + html_printf(client, "", ippGetString(supply_desc, i, NULL)); + + if (level < 10) + html_printf(client, "\n", backgrounds[i], level * 2, level); + else + html_printf(client, "\n", backgrounds[i], colors[i], level * 2, level); + } + + if (printer->web_forms) + { + html_printf(client, "\n
    %s:
    %s: %d%%
    %d%%
    "); + if (num_options > 0) + html_printf(client, " Supplies updated.\n"); + html_printf(client, "
    \n
    \n"); + + if (num_options > 0) + html_printf(client, "\n"); + } + else + html_printf(client, "\n"); + + html_footer(client); + + return (1); +} + + +/* + * 'time_string()' - Return the local time in hours, minutes, and seconds. + */ + +static char * +time_string(time_t tv, /* I - Time value */ + char *buffer, /* I - Buffer */ + size_t bufsize) /* I - Size of buffer */ +{ + struct tm date; /* Local time and date */ + + localtime_r(&tv, &date); + + strftime(buffer, bufsize, "%X", &date); + + return (buffer); +} + + +/* + * 'usage()' - Show program usage. + */ + +static void +usage(int status) /* O - Exit status */ +{ + _cupsLangPuts(stdout, _("Usage: ippeveprinter [options] \"name\"")); + _cupsLangPuts(stdout, _("Options:")); + _cupsLangPuts(stdout, _("--help Show program help")); + _cupsLangPuts(stdout, _("--no-web-forms Disable web forms for media and supplies")); + _cupsLangPuts(stdout, _("--pam-service service Use the named PAM service")); + _cupsLangPuts(stdout, _("--version Show program version")); + _cupsLangPuts(stdout, _("-2 Set 2-sided printing support (default=1-sided)")); + _cupsLangPuts(stdout, _("-A Enable authentication")); + _cupsLangPuts(stdout, _("-D device-uri Set the device URI for the printer")); + _cupsLangPuts(stdout, _("-F output-type/subtype Set the output format for the printer")); +#ifdef HAVE_SSL + _cupsLangPuts(stdout, _("-K keypath Set location of server X.509 certificates and keys.")); +#endif /* HAVE_SSL */ + _cupsLangPuts(stdout, _("-M manufacturer Set manufacturer name (default=Test)")); + _cupsLangPuts(stdout, _("-P filename.ppd Load printer attributes from PPD file")); + _cupsLangPuts(stdout, _("-V version Set default IPP version")); + _cupsLangPuts(stdout, _("-a filename.conf Load printer attributes from conf file")); + _cupsLangPuts(stdout, _("-c command Set print command")); + _cupsLangPuts(stdout, _("-d spool-directory Set spool directory")); + _cupsLangPuts(stdout, _("-f type/subtype[,...] Set supported file types")); + _cupsLangPuts(stdout, _("-i iconfile.png Set icon file")); + _cupsLangPuts(stdout, _("-k Keep job spool files")); + _cupsLangPuts(stdout, _("-l location Set location of printer")); + _cupsLangPuts(stdout, _("-m model Set model name (default=Printer)")); + _cupsLangPuts(stdout, _("-n hostname Set hostname for printer")); + _cupsLangPuts(stdout, _("-p port Set port number for printer")); + _cupsLangPuts(stdout, _("-r subtype,[subtype] Set DNS-SD service subtype")); + _cupsLangPuts(stdout, _("-s speed[,color-speed] Set speed in pages per minute")); + _cupsLangPuts(stdout, _("-v Be verbose")); + + exit(status); +} + + +/* + * 'valid_doc_attributes()' - Determine whether the document attributes are + * valid. + * + * When one or more document attributes are invalid, this function adds a + * suitable response and attributes to the unsupported group. + */ + +static int /* O - 1 if valid, 0 if not */ +valid_doc_attributes( + ippeve_client_t *client) /* I - Client */ +{ + int valid = 1; /* Valid attributes? */ + ipp_op_t op = ippGetOperation(client->request); + /* IPP operation */ + const char *op_name = ippOpString(op); + /* IPP operation name */ + ipp_attribute_t *attr, /* Current attribute */ + *supported; /* xxx-supported attribute */ + const char *compression = NULL, + /* compression value */ + *format = NULL; /* document-format value */ + + + /* + * Check operation attributes... + */ + + if ((attr = ippFindAttribute(client->request, "compression", IPP_TAG_ZERO)) != NULL) + { + /* + * If compression is specified, only accept a supported value in a Print-Job + * or Send-Document request... + */ + + compression = ippGetString(attr, 0, NULL); + supported = ippFindAttribute(client->printer->attrs, + "compression-supported", IPP_TAG_KEYWORD); + + if (ippGetCount(attr) != 1 || ippGetValueTag(attr) != IPP_TAG_KEYWORD || + ippGetGroupTag(attr) != IPP_TAG_OPERATION || + (op != IPP_OP_PRINT_JOB && op != IPP_OP_SEND_DOCUMENT && + op != IPP_OP_VALIDATE_JOB) || + !ippContainsString(supported, compression)) + { + respond_unsupported(client, attr); + valid = 0; + } + else + { + fprintf(stderr, "%s %s compression=\"%s\"\n", client->hostname, op_name, compression); + + ippAddString(client->request, IPP_TAG_JOB, IPP_TAG_KEYWORD, "compression-supplied", NULL, compression); + + if (strcmp(compression, "none")) + { + if (Verbosity) + fprintf(stderr, "Receiving job file with \"%s\" compression.\n", compression); + httpSetField(client->http, HTTP_FIELD_CONTENT_ENCODING, compression); + } + } + } + + /* + * Is it a format we support? + */ + + if ((attr = ippFindAttribute(client->request, "document-format", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(attr) != 1 || ippGetValueTag(attr) != IPP_TAG_MIMETYPE || + ippGetGroupTag(attr) != IPP_TAG_OPERATION) + { + respond_unsupported(client, attr); + valid = 0; + } + else + { + format = ippGetString(attr, 0, NULL); + + fprintf(stderr, "%s %s document-format=\"%s\"\n", client->hostname, op_name, format); + + ippAddString(client->request, IPP_TAG_JOB, IPP_TAG_MIMETYPE, "document-format-supplied", NULL, format); + } + } + else + { + format = ippGetString(ippFindAttribute(client->printer->attrs, "document-format-default", IPP_TAG_MIMETYPE), 0, NULL); + if (!format) + format = "application/octet-stream"; /* Should never happen */ + + attr = ippAddString(client->request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, "document-format", NULL, format); + } + + if (format && !strcmp(format, "application/octet-stream") && (ippGetOperation(client->request) == IPP_OP_PRINT_JOB || ippGetOperation(client->request) == IPP_OP_SEND_DOCUMENT)) + { + /* + * Auto-type the file using the first 8 bytes of the file... + */ + + unsigned char header[8]; /* First 8 bytes of file */ + + memset(header, 0, sizeof(header)); + httpPeek(client->http, (char *)header, sizeof(header)); + + if (!memcmp(header, "%PDF", 4)) + format = "application/pdf"; + else if (!memcmp(header, "%!", 2)) + format = "application/postscript"; + else if (!memcmp(header, "\377\330\377", 3) && header[3] >= 0xe0 && header[3] <= 0xef) + format = "image/jpeg"; + else if (!memcmp(header, "\211PNG", 4)) + format = "image/png"; + else if (!memcmp(header, "RAS2", 4)) + format = "image/pwg-raster"; + else if (!memcmp(header, "UNIRAST", 8)) + format = "image/urf"; + else + format = NULL; + + if (format) + { + fprintf(stderr, "%s %s Auto-typed document-format=\"%s\"\n", client->hostname, op_name, format); + + ippAddString(client->request, IPP_TAG_JOB, IPP_TAG_MIMETYPE, "document-format-detected", NULL, format); + } + } + + if (op != IPP_OP_CREATE_JOB && (supported = ippFindAttribute(client->printer->attrs, "document-format-supported", IPP_TAG_MIMETYPE)) != NULL && !ippContainsString(supported, format)) + { + respond_unsupported(client, attr); + valid = 0; + } + + /* + * document-name + */ + + if ((attr = ippFindAttribute(client->request, "document-name", IPP_TAG_NAME)) != NULL) + ippAddString(client->request, IPP_TAG_JOB, IPP_TAG_NAME, "document-name-supplied", NULL, ippGetString(attr, 0, NULL)); + + return (valid); +} + + +/* + * 'valid_job_attributes()' - Determine whether the job attributes are valid. + * + * When one or more job attributes are invalid, this function adds a suitable + * response and attributes to the unsupported group. + */ + +static int /* O - 1 if valid, 0 if not */ +valid_job_attributes( + ippeve_client_t *client) /* I - Client */ +{ + int i, /* Looping var */ + count, /* Number of values */ + valid = 1; /* Valid attributes? */ + ipp_attribute_t *attr, /* Current attribute */ + *supported; /* xxx-supported attribute */ + + + /* + * Check operation attributes... + */ + + valid = valid_doc_attributes(client); + + /* + * Check the various job template attributes... + */ + + if ((attr = ippFindAttribute(client->request, "copies", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(attr) != 1 || ippGetValueTag(attr) != IPP_TAG_INTEGER || + ippGetInteger(attr, 0) < 1 || ippGetInteger(attr, 0) > 999) + { + respond_unsupported(client, attr); + valid = 0; + } + } + + if ((attr = ippFindAttribute(client->request, "ipp-attribute-fidelity", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(attr) != 1 || ippGetValueTag(attr) != IPP_TAG_BOOLEAN) + { + respond_unsupported(client, attr); + valid = 0; + } + } + + if ((attr = ippFindAttribute(client->request, "job-hold-until", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(attr) != 1 || + (ippGetValueTag(attr) != IPP_TAG_NAME && + ippGetValueTag(attr) != IPP_TAG_NAMELANG && + ippGetValueTag(attr) != IPP_TAG_KEYWORD) || + strcmp(ippGetString(attr, 0, NULL), "no-hold")) + { + respond_unsupported(client, attr); + valid = 0; + } + } + + if ((attr = ippFindAttribute(client->request, "job-impressions", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(attr) != 1 || ippGetValueTag(attr) != IPP_TAG_INTEGER || ippGetInteger(attr, 0) < 0) + { + respond_unsupported(client, attr); + valid = 0; + } + } + + if ((attr = ippFindAttribute(client->request, "job-name", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(attr) != 1 || + (ippGetValueTag(attr) != IPP_TAG_NAME && + ippGetValueTag(attr) != IPP_TAG_NAMELANG)) + { + respond_unsupported(client, attr); + valid = 0; + } + + ippSetGroupTag(client->request, &attr, IPP_TAG_JOB); + } + else + ippAddString(client->request, IPP_TAG_JOB, IPP_TAG_NAME, "job-name", NULL, "Untitled"); + + if ((attr = ippFindAttribute(client->request, "job-priority", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(attr) != 1 || ippGetValueTag(attr) != IPP_TAG_INTEGER || + ippGetInteger(attr, 0) < 1 || ippGetInteger(attr, 0) > 100) + { + respond_unsupported(client, attr); + valid = 0; + } + } + + if ((attr = ippFindAttribute(client->request, "job-sheets", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(attr) != 1 || + (ippGetValueTag(attr) != IPP_TAG_NAME && + ippGetValueTag(attr) != IPP_TAG_NAMELANG && + ippGetValueTag(attr) != IPP_TAG_KEYWORD) || + strcmp(ippGetString(attr, 0, NULL), "none")) + { + respond_unsupported(client, attr); + valid = 0; + } + } + + if ((attr = ippFindAttribute(client->request, "media", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(attr) != 1 || + (ippGetValueTag(attr) != IPP_TAG_NAME && + ippGetValueTag(attr) != IPP_TAG_NAMELANG && + ippGetValueTag(attr) != IPP_TAG_KEYWORD)) + { + respond_unsupported(client, attr); + valid = 0; + } + else + { + supported = ippFindAttribute(client->printer->attrs, "media-supported", IPP_TAG_KEYWORD); + + if (!ippContainsString(supported, ippGetString(attr, 0, NULL))) + { + respond_unsupported(client, attr); + valid = 0; + } + } + } + + if ((attr = ippFindAttribute(client->request, "media-col", IPP_TAG_ZERO)) != NULL) + { + ipp_t *col, /* media-col collection */ + *size; /* media-size collection */ + ipp_attribute_t *member, /* Member attribute */ + *x_dim, /* x-dimension */ + *y_dim; /* y-dimension */ + int x_value, /* y-dimension value */ + y_value; /* x-dimension value */ + + if (ippGetCount(attr) != 1 || + ippGetValueTag(attr) != IPP_TAG_BEGIN_COLLECTION) + { + respond_unsupported(client, attr); + valid = 0; + } + + col = ippGetCollection(attr, 0); + + if ((member = ippFindAttribute(col, "media-size-name", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(member) != 1 || + (ippGetValueTag(member) != IPP_TAG_NAME && + ippGetValueTag(member) != IPP_TAG_NAMELANG && + ippGetValueTag(member) != IPP_TAG_KEYWORD)) + { + respond_unsupported(client, attr); + valid = 0; + } + else + { + supported = ippFindAttribute(client->printer->attrs, "media-supported", IPP_TAG_KEYWORD); + + if (!ippContainsString(supported, ippGetString(member, 0, NULL))) + { + respond_unsupported(client, attr); + valid = 0; + } + } + } + else if ((member = ippFindAttribute(col, "media-size", IPP_TAG_BEGIN_COLLECTION)) != NULL) + { + if (ippGetCount(member) != 1) + { + respond_unsupported(client, attr); + valid = 0; + } + else + { + size = ippGetCollection(member, 0); + + if ((x_dim = ippFindAttribute(size, "x-dimension", IPP_TAG_INTEGER)) == NULL || ippGetCount(x_dim) != 1 || + (y_dim = ippFindAttribute(size, "y-dimension", IPP_TAG_INTEGER)) == NULL || ippGetCount(y_dim) != 1) + { + respond_unsupported(client, attr); + valid = 0; + } + else + { + x_value = ippGetInteger(x_dim, 0); + y_value = ippGetInteger(y_dim, 0); + supported = ippFindAttribute(client->printer->attrs, "media-size-supported", IPP_TAG_BEGIN_COLLECTION); + count = ippGetCount(supported); + + for (i = 0; i < count ; i ++) + { + size = ippGetCollection(supported, i); + x_dim = ippFindAttribute(size, "x-dimension", IPP_TAG_ZERO); + y_dim = ippFindAttribute(size, "y-dimension", IPP_TAG_ZERO); + + if (ippContainsInteger(x_dim, x_value) && ippContainsInteger(y_dim, y_value)) + break; + } + + if (i >= count) + { + respond_unsupported(client, attr); + valid = 0; + } + } + } + } + } + + if ((attr = ippFindAttribute(client->request, "multiple-document-handling", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(attr) != 1 || ippGetValueTag(attr) != IPP_TAG_KEYWORD || + (strcmp(ippGetString(attr, 0, NULL), + "separate-documents-uncollated-copies") && + strcmp(ippGetString(attr, 0, NULL), + "separate-documents-collated-copies"))) + { + respond_unsupported(client, attr); + valid = 0; + } + } + + if ((attr = ippFindAttribute(client->request, "orientation-requested", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(attr) != 1 || ippGetValueTag(attr) != IPP_TAG_ENUM || + ippGetInteger(attr, 0) < IPP_ORIENT_PORTRAIT || + ippGetInteger(attr, 0) > IPP_ORIENT_REVERSE_PORTRAIT) + { + respond_unsupported(client, attr); + valid = 0; + } + } + + if ((attr = ippFindAttribute(client->request, "page-ranges", IPP_TAG_ZERO)) != NULL) + { + if (ippGetValueTag(attr) != IPP_TAG_RANGE) + { + respond_unsupported(client, attr); + valid = 0; + } + } + + if ((attr = ippFindAttribute(client->request, "print-quality", IPP_TAG_ZERO)) != NULL) + { + if (ippGetCount(attr) != 1 || ippGetValueTag(attr) != IPP_TAG_ENUM || + ippGetInteger(attr, 0) < IPP_QUALITY_DRAFT || + ippGetInteger(attr, 0) > IPP_QUALITY_HIGH) + { + respond_unsupported(client, attr); + valid = 0; + } + } + + if ((attr = ippFindAttribute(client->request, "printer-resolution", IPP_TAG_ZERO)) != NULL) + { + supported = ippFindAttribute(client->printer->attrs, "printer-resolution-supported", IPP_TAG_RESOLUTION); + + if (ippGetCount(attr) != 1 || ippGetValueTag(attr) != IPP_TAG_RESOLUTION || + !supported) + { + respond_unsupported(client, attr); + valid = 0; + } + else + { + int xdpi, /* Horizontal resolution for job template attribute */ + ydpi, /* Vertical resolution for job template attribute */ + sydpi; /* Vertical resolution for supported value */ + ipp_res_t units, /* Units for job template attribute */ + sunits; /* Units for supported value */ + + xdpi = ippGetResolution(attr, 0, &ydpi, &units); + count = ippGetCount(supported); + + for (i = 0; i < count; i ++) + { + if (xdpi == ippGetResolution(supported, i, &sydpi, &sunits) && ydpi == sydpi && units == sunits) + break; + } + + if (i >= count) + { + respond_unsupported(client, attr); + valid = 0; + } + } + } + + if ((attr = ippFindAttribute(client->request, "sides", IPP_TAG_ZERO)) != NULL) + { + const char *sides = ippGetString(attr, 0, NULL); + /* "sides" value... */ + + if (ippGetCount(attr) != 1 || ippGetValueTag(attr) != IPP_TAG_KEYWORD) + { + respond_unsupported(client, attr); + valid = 0; + } + else if ((supported = ippFindAttribute(client->printer->attrs, "sides-supported", IPP_TAG_KEYWORD)) != NULL) + { + if (!ippContainsString(supported, sides)) + { + respond_unsupported(client, attr); + valid = 0; + } + } + else if (strcmp(sides, "one-sided")) + { + respond_unsupported(client, attr); + valid = 0; + } + } + + return (valid); +} diff --git a/tools/ippeveps.c b/tools/ippeveps.c new file mode 100644 index 0000000..52e14ee --- /dev/null +++ b/tools/ippeveps.c @@ -0,0 +1,1139 @@ +/* + * Generic Adobe PostScript printer command for ippeveprinter/CUPS. + * + * Copyright © 2019 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include "ippevecommon.h" +#if !CUPS_LITE +# include +#endif /* !CUPS_LITE */ +#include +#include + +#ifdef __APPLE__ +# define PDFTOPS CUPS_SERVERBIN "/filter/cgpdftops" +#else +# define PDFTOPS CUPS_SERVERBIN "/filter/pdftops" +#endif /* __APPLE__ */ + + +/* + * Local globals... + */ + +#if !CUPS_LITE +static ppd_file_t *ppd = NULL; /* PPD file data */ +static _ppd_cache_t *ppd_cache = NULL; + /* IPP to PPD cache data */ +#endif /* !CUPS_LITE */ + + +/* + * Local functions... + */ + +static void ascii85(const unsigned char *data, int length, int eod); +static void dsc_header(int num_pages); +static void dsc_page(int page); +static void dsc_trailer(int num_pages); +static int get_options(cups_option_t **options); +static int jpeg_to_ps(const char *filename, int copies); +static int pdf_to_ps(const char *filename, int copies, int num_options, cups_option_t *options); +static int ps_to_ps(const char *filename, int copies); +static int raster_to_ps(const char *filename); + + +/* + * 'main()' - Main entry for PostScript printer command. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line arguments */ + char *argv[]) /* I - Command-line arguments */ +{ + const char *content_type, /* Content type to print */ + *ipp_copies; /* IPP_COPIES value */ + int copies; /* Number of copies */ + int num_options; /* Number of options */ + cups_option_t *options; /* Options */ + + + /* + * Get print options... + */ + + num_options = get_options(&options); + if ((ipp_copies = getenv("IPP_COPIES")) != NULL) + copies = atoi(ipp_copies); + else + copies = 1; + + /* + * Print it... + */ + + if (argc > 2) + { + fputs("ERROR: Too many arguments supplied, aborting.\n", stderr); + return (1); + } + else if ((content_type = getenv("CONTENT_TYPE")) == NULL) + { + fputs("ERROR: CONTENT_TYPE environment variable not set, aborting.\n", stderr); + return (1); + } + else if (!strcasecmp(content_type, "application/pdf")) + { + return (pdf_to_ps(argv[1], copies, num_options, options)); + } + else if (!strcasecmp(content_type, "application/postscript")) + { + return (ps_to_ps(argv[1], copies)); + } + else if (!strcasecmp(content_type, "image/jpeg")) + { + return (jpeg_to_ps(argv[1], copies)); + } + else if (!strcasecmp(content_type, "image/pwg-raster") || !strcasecmp(content_type, "image/urf")) + { + return (raster_to_ps(argv[1])); + } + else + { + fprintf(stderr, "ERROR: CONTENT_TYPE %s not supported.\n", content_type); + return (1); + } +} + + +/* + * 'ascii85()' - Write binary data using a Base85 encoding... + */ + +static void +ascii85(const unsigned char *data, /* I - Data to write */ + int length, /* I - Number of bytes to write */ + int eod) /* I - 1 if this is the end, 0 otherwise */ +{ + unsigned b = 0; /* Current 32-bit word */ + unsigned char c[5]; /* Base-85 encoded characters */ + static int col = 0; /* Column */ + static unsigned char leftdata[4]; /* Leftover data at the end */ + static int leftcount = 0; /* Size of leftover data */ + + + length += leftcount; + + while (length > 3) + { + switch (leftcount) + { + case 0 : + b = (unsigned)((((((data[0] << 8) | data[1]) << 8) | data[2]) << 8) | data[3]); + break; + case 1 : + b = (unsigned)((((((leftdata[0] << 8) | data[0]) << 8) | data[1]) << 8) | data[2]); + break; + case 2 : + b = (unsigned)((((((leftdata[0] << 8) | leftdata[1]) << 8) | data[0]) << 8) | data[1]); + break; + case 3 : + b = (unsigned)((((((leftdata[0] << 8) | leftdata[1]) << 8) | leftdata[2]) << 8) | data[0]); + break; + } + + if (col >= 76) + { + col = 0; + putchar('\n'); + } + + if (b == 0) + { + putchar('z'); + col ++; + } + else + { + c[4] = (b % 85) + '!'; + b /= 85; + c[3] = (b % 85) + '!'; + b /= 85; + c[2] = (b % 85) + '!'; + b /= 85; + c[1] = (b % 85) + '!'; + b /= 85; + c[0] = (unsigned char)(b + '!'); + + fwrite(c, 1, 5, stdout); + col += 5; + } + + data += 4 - leftcount; + length -= 4 - leftcount; + leftcount = 0; + } + + if (length > 0) + { + // Copy any remainder into the leftdata array... + if ((length - leftcount) > 0) + memcpy(leftdata + leftcount, data, (size_t)(length - leftcount)); + + memset(leftdata + length, 0, (size_t)(4 - length)); + + leftcount = length; + } + + if (eod) + { + // Do the end-of-data dance... + if (col >= 76) + { + col = 0; + putchar('\n'); + } + + if (leftcount > 0) + { + // Write the remaining bytes as needed... + b = (unsigned)((((((leftdata[0] << 8) | leftdata[1]) << 8) | leftdata[2]) << 8) | leftdata[3]); + + c[4] = (b % 85) + '!'; + b /= 85; + c[3] = (b % 85) + '!'; + b /= 85; + c[2] = (b % 85) + '!'; + b /= 85; + c[1] = (b % 85) + '!'; + b /= 85; + c[0] = (unsigned char)(b + '!'); + + fwrite(c, (size_t)(leftcount + 1), 1, stdout); + + leftcount = 0; + } + + puts("~>"); + col = 0; + } +} + + +/* + * 'dsc_header()' - Write out a standard Document Structuring Conventions + * PostScript header. + */ + +static void +dsc_header(int num_pages) /* I - Number of pages or 0 if not known */ +{ + const char *job_name = getenv("IPP_JOB_NAME"); + /* job-name value */ + + +#if !CUPS_LITE + const char *job_id = getenv("IPP_JOB_ID"); + /* job-id value */ + + ppdEmitJCL(ppd, stdout, job_id ? atoi(job_id) : 0, cupsUser(), job_name ? job_name : "Unknown"); +#endif /* !CUPS_LITE */ + + puts("%!PS-Adobe-3.0"); + puts("%%LanguageLevel: 2"); + printf("%%%%Creator: ippeveps/%d.%d.%d\n", CUPS_VERSION_MAJOR, CUPS_VERSION_MINOR, CUPS_VERSION_PATCH); + if (job_name) + { + fputs("%%Title: ", stdout); + while (*job_name) + { + if (*job_name >= 0x20 && *job_name < 0x7f) + putchar(*job_name); + else + putchar('?'); + + job_name ++; + } + putchar('\n'); + } + if (num_pages > 0) + printf("%%%%Pages: %d\n", num_pages); + else + puts("%%Pages: (atend)"); + puts("%%EndComments"); + +#if !CUPS_LITE + if (ppd) + { + puts("%%BeginProlog"); + if (ppd->patches) + { + puts("%%BeginFeature: *JobPatchFile 1"); + puts(ppd->patches); + puts("%%EndFeature"); + } + ppdEmit(ppd, stdout, PPD_ORDER_PROLOG); + puts("%%EndProlog"); + + puts("%%BeginSetup"); + ppdEmit(ppd, stdout, PPD_ORDER_DOCUMENT); + ppdEmit(ppd, stdout, PPD_ORDER_ANY); + puts("%%EndSetup"); + } +#endif /* !CUPS_LITE */ +} + + +/* + * 'dsc_page()' - Mark the start of a page. + */ + +static void +dsc_page(int page) /* I - Page numebr (1-based) */ +{ + printf("%%%%Page: (%d) %d\n", page, page); + + fprintf(stderr, "ATTR: job-impressions-completed=%d\n", page); + +#if !CUPS_LITE + if (ppd) + { + puts("%%BeginPageSetup"); + ppdEmit(ppd, stdout, PPD_ORDER_PAGE); + puts("%%EndPageSetup"); + } +#endif /* !CUPS_LITE */ +} + + +/* + * 'dsc_trailer()' - Mark the end of the document. + */ + +static void +dsc_trailer(int num_pages) /* I - Number of pages */ +{ + if (num_pages > 0) + { + puts("%%Trailer"); + printf("%%%%Pages: %d\n", num_pages); + puts("%%EOF"); + } + +#if !CUPS_LITE + if (ppd && ppd->jcl_end) + ppdEmitJCLEnd(ppd, stdout); + else +#endif /* !CUPS_LITE */ + putchar(0x04); +} + + +/* + * 'get_options()' - Get the PPD options corresponding to the IPP Job Template + * attributes. + */ + +static int /* O - Number of options */ +get_options(cups_option_t **options) /* O - Options */ +{ + int num_options = 0; /* Number of options */ + const char *value; /* Option value */ + pwg_media_t *media = NULL; /* Media mapping */ + int num_media_col = 0; /* Number of media-col values */ + cups_option_t *media_col = NULL; /* media-col values */ +#if !CUPS_LITE + const char *choice; /* PPD choice */ +#endif /* !CUPS_LITE */ + + + /* + * No options to start... + */ + + *options = NULL; + + /* + * Media... + */ + + if ((value = getenv("IPP_MEDIA")) == NULL) + if ((value = getenv("IPP_MEDIA_COL")) == NULL) + if ((value = getenv("IPP_MEDIA_DEFAULT")) == NULL) + value = getenv("IPP_MEDIA_COL_DEFAULT"); + + if (value) + { + if (*value == '{') + { + /* + * media-col value... + */ + + num_media_col = cupsParseOptions(value, 0, &media_col); + } + else + { + /* + * media value - map to media-col.media-size-name... + */ + + num_media_col = cupsAddOption("media-size-name", value, 0, &media_col); + } + } + + if ((value = cupsGetOption("media-size-name", num_media_col, media_col)) != NULL) + { + media = pwgMediaForPWG(value); + } + else if ((value = cupsGetOption("media-size", num_media_col, media_col)) != NULL) + { + int num_media_size; /* Number of media-size values */ + cups_option_t *media_size; /* media-size values */ + const char *x_dimension, /* x-dimension value */ + *y_dimension; /* y-dimension value */ + + num_media_size = cupsParseOptions(value, 0, &media_size); + + if ((x_dimension = cupsGetOption("x-dimension", num_media_size, media_size)) != NULL && (y_dimension = cupsGetOption("y-dimension", num_media_size, media_size)) != NULL) + media = pwgMediaForSize(atoi(x_dimension), atoi(y_dimension)); + + cupsFreeOptions(num_media_size, media_size); + } + + if (media) + num_options = cupsAddOption("PageSize", media->ppd, num_options, options); + +#if !CUPS_LITE + /* + * Load PPD file and the corresponding IPP <-> PPD cache data... + */ + + if ((ppd = ppdOpenFile(getenv("PPD"))) != NULL) + { + ppd_cache = _ppdCacheCreateWithPPD(ppd); + + /* TODO: Fix me - values are names, not numbers... Also need to support finishings-col */ + if ((value = getenv("IPP_FINISHINGS")) == NULL) + value = getenv("IPP_FINISHINGS_DEFAULT"); + + if (value) + { + char *ptr; /* Pointer into value */ + int fin; /* Current value */ + + for (fin = strtol(value, &ptr, 10); fin > 0; fin = strtol(ptr + 1, &ptr, 10)) + { + num_options = _ppdCacheGetFinishingOptions(ppd_cache, NULL, (ipp_finishings_t)fin, num_options, options); + + if (*ptr != ',') + break; + } + } + + if ((value = cupsGetOption("media-source", num_media_col, media_col)) != NULL) + { + if ((choice = _ppdCacheGetInputSlot(ppd_cache, NULL, value)) != NULL) + num_options = cupsAddOption("InputSlot", choice, num_options, options); + } + + if ((value = cupsGetOption("media-type", num_media_col, media_col)) != NULL) + { + if ((choice = _ppdCacheGetMediaType(ppd_cache, NULL, value)) != NULL) + num_options = cupsAddOption("MediaType", choice, num_options, options); + } + + if ((value = getenv("IPP_OUTPUT_BIN")) == NULL) + value = getenv("IPP_OUTPUT_BIN_DEFAULT"); + + if (value) + { + if ((choice = _ppdCacheGetOutputBin(ppd_cache, value)) != NULL) + num_options = cupsAddOption("OutputBin", choice, num_options, options); + } + + if ((value = getenv("IPP_SIDES")) == NULL) + value = getenv("IPP_SIDES_DEFAULT"); + + if (value && ppd_cache->sides_option) + { + if (!strcmp(value, "one-sided") && ppd_cache->sides_1sided) + num_options = cupsAddOption(ppd_cache->sides_option, ppd_cache->sides_1sided, num_options, options); + else if (!strcmp(value, "two-sided-long-edge") && ppd_cache->sides_2sided_long) + num_options = cupsAddOption(ppd_cache->sides_option, ppd_cache->sides_2sided_long, num_options, options); + else if (!strcmp(value, "two-sided-short-edge") && ppd_cache->sides_2sided_short) + num_options = cupsAddOption(ppd_cache->sides_option, ppd_cache->sides_2sided_short, num_options, options); + } + + if ((value = getenv("IPP_PRINT_QUALITY")) == NULL) + value = getenv("IPP_PRINT_QUALITY_DEFAULT"); + + if (value) + { + int i; /* Looping var */ + int pq; /* Print quality (0-2) */ + int pcm = 1; /* Print color model (0 = mono, 1 = color) */ + int num_presets; /* Number of presets */ + cups_option_t *presets; /* Presets */ + + if (!strcmp(value, "draft")) + pq = 0; + else if (!strcmp(value, "high")) + pq = 2; + else + pq = 1; + + if ((value = getenv("IPP_PRINT_COLOR_MODE")) == NULL) + value = getenv("IPP_PRINT_COLOR_MODE_DEFAULT"); + + if (value && !strcmp(value, "monochrome")) + pcm = 0; + + num_presets = ppd_cache->num_presets[pcm][pq]; + presets = ppd_cache->presets[pcm][pq]; + + for (i = 0; i < num_presets; i ++) + num_options = cupsAddOption(presets[i].name, presets[i].value, num_options, options); + } + + /* + * Mark the PPD with the options... + */ + + ppdMarkDefaults(ppd); + cupsMarkOptions(ppd, num_options, *options); + } +#endif /* !CUPS_LITE */ + + cupsFreeOptions(num_media_col, media_col); + + return (num_options); +} + + +/* + * 'jpeg_to_ps()' - Convert a JPEG file to PostScript. + */ + +static int /* O - Exit status */ +jpeg_to_ps(const char *filename, /* I - Filename */ + int copies) /* I - Number of copies */ +{ + int fd; /* JPEG file descriptor */ + int copy; /* Current copy */ + int width = 0, /* Width */ + height = 0, /* Height */ + depth = 0, /* Number of colors */ + length; /* Length of marker */ + unsigned char buffer[65536], /* Copy buffer */ + *bufptr, /* Pointer info buffer */ + *bufend; /* End of buffer */ + ssize_t bytes; /* Bytes in buffer */ + const char *decode; /* Decode array */ + float page_left, /* Left margin */ + page_top, /* Top margin */ + page_width, /* Page width in points */ + page_height, /* Page heigth in points */ + x_factor, /* X image scaling factor */ + y_factor, /* Y image scaling factor */ + page_scaling; /* Image scaling factor */ +#if !CUPS_LITE + ppd_size_t *page_size; /* Current page size */ +#endif /* !CUPS_LITE */ + + + /* + * Open the input file... + */ + + if (filename) + { + if ((fd = open(filename, O_RDONLY)) < 0) + { + fprintf(stderr, "ERROR: Unable to open \"%s\": %s\n", filename, strerror(errno)); + return (1); + } + } + else + { + fd = 0; + copies = 1; + } + + /* + * Read the JPEG dimensions... + */ + + bytes = read(fd, buffer, sizeof(buffer)); + + if (bytes < 3 || memcmp(buffer, "\377\330\377", 3)) + { + fputs("ERROR: Not a JPEG image.\n", stderr); + + if (fd > 0) + close(fd); + + return (1); + } + + for (bufptr = buffer + 2, bufend = buffer + bytes; bufptr < bufend;) + { + /* + * Scan the file for a SOFn marker, then we can get the dimensions... + */ + + if (*bufptr == 0xff) + { + bufptr ++; + + if (bufptr >= bufend) + { + /* + * If we are at the end of the current buffer, re-fill and continue... + */ + + if ((bytes = read(fd, buffer, sizeof(buffer))) <= 0) + break; + + bufptr = buffer; + bufend = buffer + bytes; + } + + if (*bufptr == 0xff) + continue; + + if ((bufptr + 16) >= bufend) + { + /* + * Read more of the marker... + */ + + bytes = bufend - bufptr; + + memmove(buffer, bufptr, (size_t)bytes); + bufptr = buffer; + bufend = buffer + bytes; + + if ((bytes = read(fd, bufend, sizeof(buffer) - (size_t)bytes)) <= 0) + break; + + bufend += bytes; + } + + length = (size_t)((bufptr[1] << 8) | bufptr[2]); + + if ((*bufptr >= 0xc0 && *bufptr <= 0xc3) || (*bufptr >= 0xc5 && *bufptr <= 0xc7) || (*bufptr >= 0xc9 && *bufptr <= 0xcb) || (*bufptr >= 0xcd && *bufptr <= 0xcf)) + { + /* + * SOFn marker, look for dimensions... + */ + + width = (bufptr[6] << 8) | bufptr[7]; + height = (bufptr[4] << 8) | bufptr[5]; + depth = bufptr[8]; + break; + } + + /* + * Skip past this marker... + */ + + bufptr ++; + bytes = bufend - bufptr; + + while (length >= bytes) + { + length -= bytes; + + if ((bytes = read(fd, buffer, sizeof(buffer))) <= 0) + break; + + bufptr = buffer; + bufend = buffer + bytes; + } + + if (length > bytes) + break; + + bufptr += length; + } + } + + fprintf(stderr, "DEBUG: JPEG dimensions are %dx%dx%d\n", width, height, depth); + + if (width <= 0 || height <= 0 || depth <= 0) + { + fputs("ERROR: No valid image data in JPEG file.\n", stderr); + + if (fd > 0) + close(fd); + + return (1); + } + + fputs("ATTR: job-impressions=1\n", stderr); + + /* + * Figure out the dimensions/scaling of the final image... + */ + +#if CUPS_LITE + page_left = 18.0f; + page_top = 756.0f; + page_width = 576.0f; + page_height = 720.0f; + +#else + if ((page_size = ppdPageSize(ppd, NULL)) != NULL) + { + page_left = page_size->left; + page_top = page_size->top; + page_width = page_size->right - page_left; + page_height = page_top - page_size->bottom; + } + else + { + page_left = 18.0f; + page_top = 756.0f; + page_width = 576.0f; + page_height = 720.0f; + } +#endif /* CUPS_LITE */ + + fprintf(stderr, "DEBUG: page_left=%.2f, page_top=%.2f, page_width=%.2f, page_height=%.2f\n", page_left, page_top, page_width, page_height); + + /* TODO: Support orientation/rotation, different print-scaling modes */ + x_factor = page_width / width; + y_factor = page_height / height; + + if (x_factor > y_factor && (height * x_factor) <= page_height) + page_scaling = x_factor; + else + page_scaling = y_factor; + + fprintf(stderr, "DEBUG: Scaled dimensions are %.2fx%.2f\n", width * page_scaling, height * page_scaling); + + /* + * Write pages... + */ + + dsc_header(copies); + + for (copy = 1; copy <= copies; copy ++) + { + dsc_page(copy); + + if (depth == 1) + { + puts("/DeviceGray setcolorspace"); + decode = "0 1"; + } + else if (depth == 3) + { + puts("/DeviceRGB setcolorspace"); + decode = "0 1 0 1 0 1"; + } + else + { + puts("/DeviceCMYK setcolorspace"); + decode = "0 1 0 1 0 1 0 1"; + } + + printf("gsave %.3f %.3f translate %.3f %.3f scale\n", page_left + 0.5f * (page_width - width * page_scaling), page_top - 0.5f * (page_height - height * page_scaling), page_scaling, page_scaling); + printf("<>image\n", width, height, decode); + + if (fd > 0) + lseek(fd, 0, SEEK_SET); + + while ((bytes = read(fd, buffer, sizeof(buffer))) > 0) + ascii85(buffer, (int)bytes, 0); + + ascii85(buffer, 0, 1); + + puts("grestore showpage"); + } + + dsc_trailer(0); + + return (0); +} + + +/* + * 'pdf_to_ps()' - Convert a PDF file to PostScript. + */ + +static int /* O - Exit status */ +pdf_to_ps(const char *filename, /* I - Filename */ + int copies, /* I - Number of copies */ + int num_options, /* I - Number of options */ + cups_option_t *options) /* I - options */ +{ + int status; /* Exit status */ + char tempfile[1024]; /* Temporary file */ + int tempfd; /* Temporary file descriptor */ + int pid; /* Process ID */ + const char *pdf_argv[8]; /* Command-line arguments */ + char pdf_options[1024]; /* Options */ + const char *value; /* Option value */ + const char *job_id, /* job-id value */ + *job_name; /* job-name value */ + + + /* + * Create a temporary file for the PostScript version... + */ + + if ((tempfd = cupsTempFd(tempfile, sizeof(tempfile))) < 0) + { + fprintf(stderr, "ERROR: Unable to create temporary file: %s\n", strerror(errno)); + return (1); + } + + /* + * Run cgpdftops or pdftops in the filter directory... + */ + + if ((value = cupsGetOption("PageSize", num_options, options)) != NULL) + snprintf(pdf_options, sizeof(pdf_options), "PageSize=%s", value); + else + pdf_options[0] = '\0'; + + if ((job_id = getenv("IPP_JOB_ID")) == NULL) + job_id = "42"; + if ((job_name = getenv("IPP_JOB_NAME")) == NULL) + job_name = "untitled"; + + pdf_argv[0] = "printer"; + pdf_argv[1] = job_id; + pdf_argv[2] = cupsUser(); + pdf_argv[3] = job_name; + pdf_argv[4] = "1"; + pdf_argv[5] = pdf_options; + pdf_argv[6] = filename; + pdf_argv[7] = NULL; + + if ((pid = fork()) == 0) + { + /* + * Child comes here... + */ + + close(1); + dup2(tempfd, 1); + close(tempfd); + + execv(PDFTOPS, (char * const *)pdf_argv); + exit(errno); + } + else if (pid < 0) + { + /* + * Unable to fork process... + */ + + perror("ERROR: Unable to start PDF filter"); + + close(tempfd); + unlink(tempfile); + + return (1); + } + else + { + /* + * Wait for the filter to complete... + */ + + close(tempfd); + +# ifdef HAVE_WAITPID + while (waitpid(pid, &status, 0) < 0); +# else + while (wait(&status) < 0); +# endif /* HAVE_WAITPID */ + + if (status) + { + if (WIFEXITED(status)) + fprintf(stderr, "ERROR: " PDFTOPS " exited with status %d.\n", WEXITSTATUS(status)); + else + fprintf(stderr, "ERROR: " PDFTOPS " terminated with signal %d.\n", WTERMSIG(status)); + + unlink(tempfile); + return (1); + } + } + + /* + * Copy the PostScript output from the command... + */ + + status = ps_to_ps(tempfile, copies); + + unlink(tempfile); + + return (status); +} + + +/* + * 'ps_to_ps()' - Copy PostScript to the standard output. + */ + +static int /* O - Exit status */ +ps_to_ps(const char *filename, /* I - Filename */ + int copies) /* I - Number of copies */ +{ + FILE *fp; /* File to read from */ + int copy, /* Current copy */ + page, /* Current page number */ + num_pages = 0, /* Total number of pages */ + first_page, /* First page */ + last_page; /* Last page */ + const char *page_ranges; /* page-ranges option */ + long first_pos = -1; /* Offset for first page */ + char line[1024]; /* Line from file */ + + + /* + * Open the print file... + */ + + if (filename) + { + if ((fp = fopen(filename, "rb")) == NULL) + { + fprintf(stderr, "ERROR: Unable to open \"%s\": %s\n", filename, strerror(errno)); + return (1); + } + } + else + { + copies = 1; + fp = stdin; + } + + /* + * Check page ranges... + */ + + if ((page_ranges = getenv("IPP_PAGE_RANGES")) != NULL) + { + if (sscanf(page_ranges, "%d-%d", &first_page, &last_page) != 2) + { + first_page = 1; + last_page = INT_MAX; + } + } + else + { + first_page = 1; + last_page = INT_MAX; + } + + /* + * Write the PostScript header for the document... + */ + + dsc_header(0); + + first_pos = 0; + + while (fgets(line, sizeof(line), fp)) + { + if (!strncmp(line, "%%Page:", 7)) + break; + + first_pos = ftell(fp); + + if (line[0] != '%') + fputs(line, stdout); + } + + if (!strncmp(line, "%%Page:", 7)) + { + for (copy = 0; copy < copies; copy ++) + { + int copy_page = 0; /* Do we copy the page data? */ + + if (fp != stdin) + fseek(fp, first_pos, SEEK_SET); + + page = 0; + while (fgets(line, sizeof(line), fp)) + { + if (!strncmp(line, "%%Page:", 7)) + { + page ++; + copy_page = page >= first_page && page <= last_page; + + if (copy_page) + { + num_pages ++; + dsc_page(num_pages); + } + } + else if (copy_page) + fputs(line, stdout); + } + } + } + + dsc_trailer(num_pages); + + fprintf(stderr, "ATTR: job-impressions=%d\n", num_pages / copies); + + if (fp != stdin) + fclose(fp); + + return (0); +} + + +/* + * 'raster_to_ps()' - Convert PWG Raster/Apple Raster to PostScript. + * + * The current implementation locally-decodes the raster data and then writes + * whole, non-blank lines as 1-line high images with base-85 encoding, resulting + * in between 10 and 20 times larger output. A alternate implementation (if it + * is deemed necessary) would be to implement a PostScript decode procedure that + * handles the modified packbits decompression so that we just have the base-85 + * encoding overhead (25%). Furthermore, Level 3 PostScript printers also + * support Flate compression. + * + * That said, the most efficient path with the highest quality is for Clients + * to supply PDF files and us to use the existing PDF to PostScript conversion + * filters. + */ + +static int /* O - Exit status */ +raster_to_ps(const char *filename) /* I - Filename */ +{ + int fd; /* Input file */ + cups_raster_t *ras; /* Raster stream */ + cups_page_header2_t header; /* Page header */ + int page = 0; /* Current page */ + unsigned y; /* Current line */ + unsigned char *line; /* Line buffer */ + unsigned char white; /* White color */ + const char *decode; /* Image decode array */ + + + /* + * Open the input file... + */ + + if (filename) + { + if ((fd = open(filename, O_RDONLY)) < 0) + { + fprintf(stderr, "ERROR: Unable to open \"%s\": %s\n", filename, strerror(errno)); + return (1); + } + } + else + { + fd = 0; + } + + /* + * Open the raster stream and send pages... + */ + + if ((ras = cupsRasterOpen(fd, CUPS_RASTER_READ)) == NULL) + { + fputs("ERROR: Unable to read raster data, aborting.\n", stderr); + return (1); + } + + dsc_header(0); + + while (cupsRasterReadHeader2(ras, &header)) + { + page ++; + + fprintf(stderr, "DEBUG: Page %d: %ux%ux%u\n", page, header.cupsWidth, header.cupsHeight, header.cupsBitsPerPixel); + + if (header.cupsColorSpace != CUPS_CSPACE_W && header.cupsColorSpace != CUPS_CSPACE_SW && header.cupsColorSpace != CUPS_CSPACE_K && header.cupsColorSpace != CUPS_CSPACE_RGB && header.cupsColorSpace != CUPS_CSPACE_SRGB) + { + fputs("ERROR: Unsupported color space, aborting.\n", stderr); + break; + } + else if (header.cupsBitsPerColor != 1 && header.cupsBitsPerColor != 8) + { + fputs("ERROR: Unsupported bit depth, aborting.\n", stderr); + break; + } + + line = malloc(header.cupsBytesPerLine); + + dsc_page(page); + + puts("gsave"); + printf("%.6f %.6f scale\n", 72.0f / header.HWResolution[0], 72.0f / header.HWResolution[1]); + + switch (header.cupsColorSpace) + { + case CUPS_CSPACE_W : + case CUPS_CSPACE_SW : + decode = "0 1"; + puts("/DeviceGray setcolorspace"); + white = 255; + break; + + case CUPS_CSPACE_K : + decode = "0 1"; + puts("/DeviceGray setcolorspace"); + white = 0; + break; + + default : + decode = "0 1 0 1 0 1"; + puts("/DeviceRGB setcolorspace"); + white = 255; + break; + } + + printf("gsave /L{grestore gsave 0 exch translate <>image}bind def\n", header.cupsWidth, header.cupsBitsPerColor, decode); + + for (y = header.cupsHeight; y > 0; y --) + { + if (cupsRasterReadPixels(ras, line, header.cupsBytesPerLine)) + { + if (line[0] != white || memcmp(line, line + 1, header.cupsBytesPerLine - 1)) + { + printf("%d L\n", y - 1); + ascii85(line, (int)header.cupsBytesPerLine, 1); + } + } + else + break; + } + + fprintf(stderr, "DEBUG: y=%d at end...\n", y); + + puts("grestore grestore"); + puts("showpage"); + + free(line); + } + + cupsRasterClose(ras); + + dsc_trailer(page); + + fprintf(stderr, "ATTR: job-impressions=%d\n", page); + + return (0); +} + + diff --git a/tools/ippfind.c b/tools/ippfind.c new file mode 100644 index 0000000..246ab4d --- /dev/null +++ b/tools/ippfind.c @@ -0,0 +1,2847 @@ +/* + * Utility to find IPP printers via Bonjour/DNS-SD and optionally run + * commands such as IPP and Bonjour conformance tests. This tool is + * inspired by the UNIX "find" command, thus its name. + * + * Copyright © 2008-2018 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers. + */ + +#define _CUPS_NO_DEPRECATED +#include +#ifdef _WIN32 +# include +# include +#else +# include +#endif /* _WIN32 */ +#include +#ifdef HAVE_DNSSD +# include +#elif defined(HAVE_AVAHI) +# include +# include +# include +# include +# include +# include +# define kDNSServiceMaxDomainName AVAHI_DOMAIN_NAME_MAX +#endif /* HAVE_DNSSD */ + +#ifndef _WIN32 +extern char **environ; /* Process environment variables */ +#endif /* !_WIN32 */ + + +/* + * Structures... + */ + +typedef enum ippfind_exit_e /* Exit codes */ +{ + IPPFIND_EXIT_TRUE = 0, /* OK and result is true */ + IPPFIND_EXIT_FALSE, /* OK but result is false*/ + IPPFIND_EXIT_BONJOUR, /* Browse/resolve failure */ + IPPFIND_EXIT_SYNTAX, /* Bad option or syntax error */ + IPPFIND_EXIT_MEMORY /* Out of memory */ +} ippfind_exit_t; + +typedef enum ippfind_op_e /* Operations for expressions */ +{ + /* "Evaluation" operations */ + IPPFIND_OP_NONE, /* No operation */ + IPPFIND_OP_AND, /* Logical AND of all children */ + IPPFIND_OP_OR, /* Logical OR of all children */ + IPPFIND_OP_TRUE, /* Always true */ + IPPFIND_OP_FALSE, /* Always false */ + IPPFIND_OP_IS_LOCAL, /* Is a local service */ + IPPFIND_OP_IS_REMOTE, /* Is a remote service */ + IPPFIND_OP_DOMAIN_REGEX, /* Domain matches regular expression */ + IPPFIND_OP_NAME_REGEX, /* Name matches regular expression */ + IPPFIND_OP_NAME_LITERAL, /* Name matches literal string */ + IPPFIND_OP_HOST_REGEX, /* Hostname matches regular expression */ + IPPFIND_OP_PORT_RANGE, /* Port matches range */ + IPPFIND_OP_PATH_REGEX, /* Path matches regular expression */ + IPPFIND_OP_TXT_EXISTS, /* TXT record key exists */ + IPPFIND_OP_TXT_REGEX, /* TXT record key matches regular expression */ + IPPFIND_OP_URI_REGEX, /* URI matches regular expression */ + + /* "Output" operations */ + IPPFIND_OP_EXEC, /* Execute when true */ + IPPFIND_OP_LIST, /* List when true */ + IPPFIND_OP_PRINT_NAME, /* Print URI when true */ + IPPFIND_OP_PRINT_URI, /* Print name when true */ + IPPFIND_OP_QUIET /* No output when true */ +} ippfind_op_t; + +typedef struct ippfind_expr_s /* Expression */ +{ + struct ippfind_expr_s + *prev, /* Previous expression */ + *next, /* Next expression */ + *parent, /* Parent expressions */ + *child; /* Child expressions */ + ippfind_op_t op; /* Operation code (see above) */ + int invert; /* Invert the result */ + char *name; /* TXT record key or literal name */ + regex_t re; /* Regular expression for matching */ + int range[2]; /* Port number range */ + int num_args; /* Number of arguments for exec */ + char **args; /* Arguments for exec */ +} ippfind_expr_t; + +typedef struct ippfind_srv_s /* Service information */ +{ +#ifdef HAVE_DNSSD + DNSServiceRef ref; /* Service reference for query */ +#elif defined(HAVE_AVAHI) + AvahiServiceResolver *ref; /* Resolver */ +#endif /* HAVE_DNSSD */ + char *name, /* Service name */ + *domain, /* Domain name */ + *regtype, /* Registration type */ + *fullName, /* Full name */ + *host, /* Hostname */ + *resource, /* Resource path */ + *uri; /* URI */ + int num_txt; /* Number of TXT record keys */ + cups_option_t *txt; /* TXT record keys */ + int port, /* Port number */ + is_local, /* Is a local service? */ + is_processed, /* Did we process the service? */ + is_resolved; /* Got the resolve data? */ +} ippfind_srv_t; + + +/* + * Local globals... + */ + +#ifdef HAVE_DNSSD +static DNSServiceRef dnssd_ref; /* Master service reference */ +#elif defined(HAVE_AVAHI) +static AvahiClient *avahi_client = NULL;/* Client information */ +static int avahi_got_data = 0; /* Got data from poll? */ +static AvahiSimplePoll *avahi_poll = NULL; + /* Poll information */ +#endif /* HAVE_DNSSD */ + +static int address_family = AF_UNSPEC; + /* Address family for LIST */ +static int bonjour_error = 0; /* Error browsing/resolving? */ +static double bonjour_timeout = 1.0; /* Timeout in seconds */ +static int ipp_version = 20; /* IPP version for LIST */ + + +/* + * Local functions... + */ + +#ifdef HAVE_DNSSD +static void DNSSD_API browse_callback(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *serviceName, const char *regtype, const char *replyDomain, void *context) _CUPS_NONNULL(1,5,6,7,8); +static void DNSSD_API browse_local_callback(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *serviceName, const char *regtype, const char *replyDomain, void *context) _CUPS_NONNULL(1,5,6,7,8); +#elif defined(HAVE_AVAHI) +static void browse_callback(AvahiServiceBrowser *browser, + AvahiIfIndex interface, + AvahiProtocol protocol, + AvahiBrowserEvent event, + const char *serviceName, + const char *regtype, + const char *replyDomain, + AvahiLookupResultFlags flags, + void *context); +static void client_callback(AvahiClient *client, + AvahiClientState state, + void *context); +#endif /* HAVE_AVAHI */ + +static int compare_services(ippfind_srv_t *a, ippfind_srv_t *b); +static const char *dnssd_error_string(int error); +static int eval_expr(ippfind_srv_t *service, + ippfind_expr_t *expressions); +static int exec_program(ippfind_srv_t *service, int num_args, + char **args); +static ippfind_srv_t *get_service(cups_array_t *services, const char *serviceName, const char *regtype, const char *replyDomain) _CUPS_NONNULL(1,2,3,4); +static double get_time(void); +static int list_service(ippfind_srv_t *service); +static ippfind_expr_t *new_expr(ippfind_op_t op, int invert, + const char *value, const char *regex, + char **args); +#ifdef HAVE_DNSSD +static void DNSSD_API resolve_callback(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *fullName, const char *hostTarget, uint16_t port, uint16_t txtLen, const unsigned char *txtRecord, void *context) _CUPS_NONNULL(1,5,6,9, 10); +#elif defined(HAVE_AVAHI) +static int poll_callback(struct pollfd *pollfds, + unsigned int num_pollfds, int timeout, + void *context); +static void resolve_callback(AvahiServiceResolver *res, + AvahiIfIndex interface, + AvahiProtocol protocol, + AvahiResolverEvent event, + const char *serviceName, + const char *regtype, + const char *replyDomain, + const char *host_name, + const AvahiAddress *address, + uint16_t port, + AvahiStringList *txt, + AvahiLookupResultFlags flags, + void *context); +#endif /* HAVE_DNSSD */ +static void set_service_uri(ippfind_srv_t *service); +static void show_usage(void) _CUPS_NORETURN; +static void show_version(void) _CUPS_NORETURN; + + +/* + * 'main()' - Browse for printers. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i, /* Looping var */ + have_output = 0,/* Have output expression */ + status = IPPFIND_EXIT_FALSE; + /* Exit status */ + const char *opt, /* Option character */ + *search; /* Current browse/resolve string */ + cups_array_t *searches; /* Things to browse/resolve */ + cups_array_t *services; /* Service array */ + ippfind_srv_t *service; /* Current service */ + ippfind_expr_t *expressions = NULL, + /* Expression tree */ + *temp = NULL, /* New expression */ + *parent = NULL, /* Parent expression */ + *current = NULL,/* Current expression */ + *parens[100]; /* Markers for parenthesis */ + int num_parens = 0; /* Number of parenthesis */ + ippfind_op_t logic = IPPFIND_OP_AND; + /* Logic for next expression */ + int invert = 0; /* Invert expression? */ + int err; /* DNS-SD error */ +#ifdef HAVE_DNSSD + fd_set sinput; /* Input set for select() */ + struct timeval stimeout; /* Timeout for select() */ +#endif /* HAVE_DNSSD */ + double endtime; /* End time */ + static const char * const ops[] = /* Node operation names */ + { + "NONE", + "AND", + "OR", + "TRUE", + "FALSE", + "IS_LOCAL", + "IS_REMOTE", + "DOMAIN_REGEX", + "NAME_REGEX", + "NAME_LITERAL", + "HOST_REGEX", + "PORT_RANGE", + "PATH_REGEX", + "TXT_EXISTS", + "TXT_REGEX", + "URI_REGEX", + "EXEC", + "LIST", + "PRINT_NAME", + "PRINT_URI", + "QUIET" + }; + + + /* + * Initialize the locale... + */ + + _cupsSetLocale(argv); + + /* + * Create arrays to track services and things we want to browse/resolve... + */ + + searches = cupsArrayNew(NULL, NULL); + services = cupsArrayNew((cups_array_func_t)compare_services, NULL); + + /* + * Parse command-line... + */ + + if (getenv("IPPFIND_DEBUG")) + for (i = 1; i < argc; i ++) + fprintf(stderr, "argv[%d]=\"%s\"\n", i, argv[i]); + + for (i = 1; i < argc; i ++) + { + if (argv[i][0] == '-') + { + if (argv[i][1] == '-') + { + /* + * Parse --option options... + */ + + if (!strcmp(argv[i], "--and")) + { + if (logic == IPPFIND_OP_OR) + { + _cupsLangPuts(stderr, _("ippfind: Cannot use --and after --or.")); + show_usage(); + } + + if (!current) + { + _cupsLangPuts(stderr, + _("ippfind: Missing expression before \"--and\".")); + show_usage(); + } + + temp = NULL; + } + else if (!strcmp(argv[i], "--domain")) + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing regular expression after %s."), + "--domain"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_DOMAIN_REGEX, invert, NULL, argv[i], + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strcmp(argv[i], "--exec")) + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("ippfind: Expected program after %s."), + "--exec"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_EXEC, invert, NULL, NULL, + argv + i)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + while (i < argc) + if (!strcmp(argv[i], ";")) + break; + else + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("ippfind: Expected semi-colon after %s."), + "--exec"); + show_usage(); + } + + have_output = 1; + } + else if (!strcmp(argv[i], "--false")) + { + if ((temp = new_expr(IPPFIND_OP_FALSE, invert, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strcmp(argv[i], "--help")) + { + show_usage(); + } + else if (!strcmp(argv[i], "--host")) + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing regular expression after %s."), + "--host"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_HOST_REGEX, invert, NULL, argv[i], + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strcmp(argv[i], "--ls")) + { + if ((temp = new_expr(IPPFIND_OP_LIST, invert, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + have_output = 1; + } + else if (!strcmp(argv[i], "--local")) + { + if ((temp = new_expr(IPPFIND_OP_IS_LOCAL, invert, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strcmp(argv[i], "--literal-name")) + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("ippfind: Missing name after %s."), "--literal-name"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_NAME_LITERAL, invert, argv[i], NULL, NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strcmp(argv[i], "--name")) + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing regular expression after %s."), + "--name"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_NAME_REGEX, invert, NULL, argv[i], + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strcmp(argv[i], "--not")) + { + invert = 1; + } + else if (!strcmp(argv[i], "--or")) + { + if (!current) + { + _cupsLangPuts(stderr, + _("ippfind: Missing expression before \"--or\".")); + show_usage(); + } + + logic = IPPFIND_OP_OR; + + if (parent && parent->op == IPPFIND_OP_OR) + { + /* + * Already setup to do "foo --or bar --or baz"... + */ + + temp = NULL; + } + else if (!current->prev && parent) + { + /* + * Change parent node into an OR node... + */ + + parent->op = IPPFIND_OP_OR; + temp = NULL; + } + else if (!current->prev) + { + /* + * Need to group "current" in a new OR node... + */ + + if ((temp = new_expr(IPPFIND_OP_OR, 0, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + temp->parent = parent; + temp->child = current; + current->parent = temp; + + if (parent) + parent->child = temp; + else + expressions = temp; + + parent = temp; + temp = NULL; + } + else + { + /* + * Need to group previous expressions in an AND node, and then + * put that in an OR node... + */ + + if ((temp = new_expr(IPPFIND_OP_AND, 0, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + while (current->prev) + { + current->parent = temp; + current = current->prev; + } + + current->parent = temp; + temp->child = current; + current = temp; + + if ((temp = new_expr(IPPFIND_OP_OR, 0, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + temp->parent = parent; + current->parent = temp; + + if (parent) + parent->child = temp; + else + expressions = temp; + + parent = temp; + temp = NULL; + } + } + else if (!strcmp(argv[i], "--path")) + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing regular expression after %s."), + "--path"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_PATH_REGEX, invert, NULL, argv[i], + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strcmp(argv[i], "--port")) + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Expected port range after %s."), + "--port"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_PORT_RANGE, invert, argv[i], NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strcmp(argv[i], "--print")) + { + if ((temp = new_expr(IPPFIND_OP_PRINT_URI, invert, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + have_output = 1; + } + else if (!strcmp(argv[i], "--print-name")) + { + if ((temp = new_expr(IPPFIND_OP_PRINT_NAME, invert, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + have_output = 1; + } + else if (!strcmp(argv[i], "--quiet")) + { + if ((temp = new_expr(IPPFIND_OP_QUIET, invert, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + have_output = 1; + } + else if (!strcmp(argv[i], "--remote")) + { + if ((temp = new_expr(IPPFIND_OP_IS_REMOTE, invert, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strcmp(argv[i], "--true")) + { + if ((temp = new_expr(IPPFIND_OP_TRUE, invert, NULL, argv[i], + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strcmp(argv[i], "--txt")) + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("ippfind: Expected key name after %s."), + "--txt"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_TXT_EXISTS, invert, argv[i], NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strncmp(argv[i], "--txt-", 6)) + { + const char *key = argv[i] + 6;/* TXT key */ + + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing regular expression after %s."), + argv[i - 1]); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_TXT_REGEX, invert, key, argv[i], + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strcmp(argv[i], "--uri")) + { + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing regular expression after %s."), + "--uri"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_URI_REGEX, invert, NULL, argv[i], + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + } + else if (!strcmp(argv[i], "--version")) + { + show_version(); + } + else + { + _cupsLangPrintf(stderr, _("%s: Unknown option \"%s\"."), + "ippfind", argv[i]); + show_usage(); + } + + if (temp) + { + /* + * Add new expression... + */ + + if (logic == IPPFIND_OP_AND && + current && current->prev && + parent && parent->op != IPPFIND_OP_AND) + { + /* + * Need to re-group "current" in a new AND node... + */ + + ippfind_expr_t *tempand; /* Temporary AND node */ + + if ((tempand = new_expr(IPPFIND_OP_AND, 0, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + /* + * Replace "current" with new AND node at the end of this list... + */ + + current->prev->next = tempand; + tempand->prev = current->prev; + tempand->parent = parent; + + /* + * Add "current to the new AND node... + */ + + tempand->child = current; + current->parent = tempand; + current->prev = NULL; + parent = tempand; + } + + /* + * Add the new node at current level... + */ + + temp->parent = parent; + temp->prev = current; + + if (current) + current->next = temp; + else if (parent) + parent->child = temp; + else + expressions = temp; + + current = temp; + invert = 0; + logic = IPPFIND_OP_AND; + temp = NULL; + } + } + else + { + /* + * Parse -o options + */ + + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case '4' : + address_family = AF_INET; + break; + + case '6' : + address_family = AF_INET6; + break; + + case 'N' : /* Literal name */ + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, _("ippfind: Missing name after %s."), "-N"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_NAME_LITERAL, invert, argv[i], NULL, NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + break; + + case 'P' : + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Expected port range after %s."), + "-P"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_PORT_RANGE, invert, argv[i], + NULL, NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + break; + + case 'T' : + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("%s: Missing timeout for \"-T\"."), + "ippfind"); + show_usage(); + } + + bonjour_timeout = atof(argv[i]); + break; + + case 'V' : + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("%s: Missing version for \"-V\"."), + "ippfind"); + show_usage(); + } + + if (!strcmp(argv[i], "1.1")) + ipp_version = 11; + else if (!strcmp(argv[i], "2.0")) + ipp_version = 20; + else if (!strcmp(argv[i], "2.1")) + ipp_version = 21; + else if (!strcmp(argv[i], "2.2")) + ipp_version = 22; + else + { + _cupsLangPrintf(stderr, _("%s: Bad version %s for \"-V\"."), + "ippfind", argv[i]); + show_usage(); + } + break; + + case 'd' : + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing regular expression after " + "%s."), "-d"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_DOMAIN_REGEX, invert, NULL, + argv[i], NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + break; + + case 'h' : + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing regular expression after " + "%s."), "-h"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_HOST_REGEX, invert, NULL, + argv[i], NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + break; + + case 'l' : + if ((temp = new_expr(IPPFIND_OP_LIST, invert, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + have_output = 1; + break; + + case 'n' : + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing regular expression after " + "%s."), "-n"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_NAME_REGEX, invert, NULL, + argv[i], NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + break; + + case 'p' : + if ((temp = new_expr(IPPFIND_OP_PRINT_URI, invert, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + have_output = 1; + break; + + case 'q' : + if ((temp = new_expr(IPPFIND_OP_QUIET, invert, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + have_output = 1; + break; + + case 'r' : + if ((temp = new_expr(IPPFIND_OP_IS_REMOTE, invert, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + break; + + case 's' : + if ((temp = new_expr(IPPFIND_OP_PRINT_NAME, invert, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + have_output = 1; + break; + + case 't' : + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing key name after %s."), + "-t"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_TXT_EXISTS, invert, argv[i], + NULL, NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + break; + + case 'u' : + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing regular expression after " + "%s."), "-u"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_URI_REGEX, invert, NULL, + argv[i], NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + break; + + case 'x' : + i ++; + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing program after %s."), + "-x"); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_EXEC, invert, NULL, NULL, + argv + i)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + while (i < argc) + if (!strcmp(argv[i], ";")) + break; + else + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("ippfind: Missing semi-colon after %s."), + "-x"); + show_usage(); + } + + have_output = 1; + break; + + default : + _cupsLangPrintf(stderr, _("%s: Unknown option \"-%c\"."), + "ippfind", *opt); + show_usage(); + } + + if (temp) + { + /* + * Add new expression... + */ + + if (logic == IPPFIND_OP_AND && + current && current->prev && + parent && parent->op != IPPFIND_OP_AND) + { + /* + * Need to re-group "current" in a new AND node... + */ + + ippfind_expr_t *tempand; /* Temporary AND node */ + + if ((tempand = new_expr(IPPFIND_OP_AND, 0, NULL, NULL, + NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + /* + * Replace "current" with new AND node at the end of this list... + */ + + current->prev->next = tempand; + tempand->prev = current->prev; + tempand->parent = parent; + + /* + * Add "current to the new AND node... + */ + + tempand->child = current; + current->parent = tempand; + current->prev = NULL; + parent = tempand; + } + + /* + * Add the new node at current level... + */ + + temp->parent = parent; + temp->prev = current; + + if (current) + current->next = temp; + else if (parent) + parent->child = temp; + else + expressions = temp; + + current = temp; + invert = 0; + logic = IPPFIND_OP_AND; + temp = NULL; + } + } + } + } + else if (!strcmp(argv[i], "(")) + { + if (num_parens >= 100) + { + _cupsLangPuts(stderr, _("ippfind: Too many parenthesis.")); + show_usage(); + } + + if ((temp = new_expr(IPPFIND_OP_AND, invert, NULL, NULL, NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + parens[num_parens++] = temp; + + if (current) + { + temp->parent = current->parent; + current->next = temp; + temp->prev = current; + } + else + expressions = temp; + + parent = temp; + current = NULL; + invert = 0; + logic = IPPFIND_OP_AND; + } + else if (!strcmp(argv[i], ")")) + { + if (num_parens <= 0) + { + _cupsLangPuts(stderr, _("ippfind: Missing open parenthesis.")); + show_usage(); + } + + current = parens[--num_parens]; + parent = current->parent; + invert = 0; + logic = IPPFIND_OP_AND; + } + else if (!strcmp(argv[i], "!")) + { + invert = 1; + } + else + { + /* + * _regtype._tcp[,subtype][.domain] + * + * OR + * + * service-name[._regtype._tcp[.domain]] + */ + + cupsArrayAdd(searches, argv[i]); + } + } + + if (num_parens > 0) + { + _cupsLangPuts(stderr, _("ippfind: Missing close parenthesis.")); + show_usage(); + } + + if (!have_output) + { + /* + * Add an implicit --print-uri to the end... + */ + + if ((temp = new_expr(IPPFIND_OP_PRINT_URI, 0, NULL, NULL, NULL)) == NULL) + return (IPPFIND_EXIT_MEMORY); + + if (current) + { + while (current->parent) + current = current->parent; + + current->next = temp; + temp->prev = current; + } + else + expressions = temp; + } + + if (cupsArrayCount(searches) == 0) + { + /* + * Add an implicit browse for IPP printers ("_ipp._tcp")... + */ + + cupsArrayAdd(searches, "_ipp._tcp"); + } + + if (getenv("IPPFIND_DEBUG")) + { + int indent = 4; /* Indentation */ + + puts("Expression tree:"); + current = expressions; + while (current) + { + /* + * Print the current node... + */ + + printf("%*s%s%s\n", indent, "", current->invert ? "!" : "", + ops[current->op]); + + /* + * Advance to the next node... + */ + + if (current->child) + { + current = current->child; + indent += 4; + } + else if (current->next) + current = current->next; + else if (current->parent) + { + while (current->parent) + { + indent -= 4; + current = current->parent; + if (current->next) + break; + } + + current = current->next; + } + else + current = NULL; + } + + puts("\nSearch items:"); + for (search = (const char *)cupsArrayFirst(searches); + search; + search = (const char *)cupsArrayNext(searches)) + printf(" %s\n", search); + } + + /* + * Start up browsing/resolving... + */ + +#ifdef HAVE_DNSSD + if ((err = DNSServiceCreateConnection(&dnssd_ref)) != kDNSServiceErr_NoError) + { + _cupsLangPrintf(stderr, _("ippfind: Unable to use Bonjour: %s"), + dnssd_error_string(err)); + return (IPPFIND_EXIT_BONJOUR); + } + +#elif defined(HAVE_AVAHI) + if ((avahi_poll = avahi_simple_poll_new()) == NULL) + { + _cupsLangPrintf(stderr, _("ippfind: Unable to use Bonjour: %s"), + strerror(errno)); + return (IPPFIND_EXIT_BONJOUR); + } + + avahi_simple_poll_set_func(avahi_poll, poll_callback, NULL); + + avahi_client = avahi_client_new(avahi_simple_poll_get(avahi_poll), + 0, client_callback, avahi_poll, &err); + if (!avahi_client) + { + _cupsLangPrintf(stderr, _("ippfind: Unable to use Bonjour: %s"), + dnssd_error_string(err)); + return (IPPFIND_EXIT_BONJOUR); + } +#endif /* HAVE_DNSSD */ + + for (search = (const char *)cupsArrayFirst(searches); + search; + search = (const char *)cupsArrayNext(searches)) + { + char buf[1024], /* Full name string */ + *name = NULL, /* Service instance name */ + *regtype, /* Registration type */ + *domain; /* Domain, if any */ + + strlcpy(buf, search, sizeof(buf)); + + if (!strncmp(buf, "_http._", 7) || !strncmp(buf, "_https._", 8) || !strncmp(buf, "_ipp._", 6) || !strncmp(buf, "_ipps._", 7)) + { + regtype = buf; + } + else if ((regtype = strstr(buf, "._")) != NULL) + { + if (strcmp(regtype, "._tcp")) + { + /* + * "something._protocol._tcp" -> search for something with the given + * protocol... + */ + + name = buf; + *regtype++ = '\0'; + } + else + { + /* + * "_protocol._tcp" -> search for everything with the given protocol... + */ + + /* name = NULL; */ + regtype = buf; + } + } + else + { + /* + * "something" -> search for something with IPP protocol... + */ + + name = buf; + regtype = "_ipp._tcp"; + } + + for (domain = regtype; *domain; domain ++) + { + if (*domain == '.' && domain[1] != '_') + { + *domain++ = '\0'; + break; + } + } + + if (!*domain) + domain = NULL; + + if (name) + { + /* + * Resolve the given service instance name, regtype, and domain... + */ + + if (!domain) + domain = "local."; + + service = get_service(services, name, regtype, domain); + + if (getenv("IPPFIND_DEBUG")) + fprintf(stderr, "Resolving name=\"%s\", regtype=\"%s\", domain=\"%s\"\n", name, regtype, domain); + +#ifdef HAVE_DNSSD + service->ref = dnssd_ref; + err = DNSServiceResolve(&(service->ref), + kDNSServiceFlagsShareConnection, 0, name, + regtype, domain, resolve_callback, + service); + +#elif defined(HAVE_AVAHI) + service->ref = avahi_service_resolver_new(avahi_client, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, name, + regtype, domain, + AVAHI_PROTO_UNSPEC, 0, + resolve_callback, service); + if (service->ref) + err = 0; + else + err = avahi_client_errno(avahi_client); +#endif /* HAVE_DNSSD */ + } + else + { + /* + * Browse for services of the given type... + */ + + if (getenv("IPPFIND_DEBUG")) + fprintf(stderr, "Browsing for regtype=\"%s\", domain=\"%s\"\n", regtype, domain); + +#ifdef HAVE_DNSSD + DNSServiceRef ref; /* Browse reference */ + + ref = dnssd_ref; + err = DNSServiceBrowse(&ref, kDNSServiceFlagsShareConnection, 0, regtype, + domain, browse_callback, services); + + if (!err) + { + ref = dnssd_ref; + err = DNSServiceBrowse(&ref, kDNSServiceFlagsShareConnection, + kDNSServiceInterfaceIndexLocalOnly, regtype, + domain, browse_local_callback, services); + } + +#elif defined(HAVE_AVAHI) + if (avahi_service_browser_new(avahi_client, AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, regtype, domain, 0, + browse_callback, services)) + err = 0; + else + err = avahi_client_errno(avahi_client); +#endif /* HAVE_DNSSD */ + } + + if (err) + { + _cupsLangPrintf(stderr, _("ippfind: Unable to browse or resolve: %s"), + dnssd_error_string(err)); + + return (IPPFIND_EXIT_BONJOUR); + } + } + + /* + * Process browse/resolve requests... + */ + + if (bonjour_timeout > 1.0) + endtime = get_time() + bonjour_timeout; + else + endtime = get_time() + 300.0; + + while (get_time() < endtime) + { + int process = 0; /* Process services? */ + +#ifdef HAVE_DNSSD + int fd = DNSServiceRefSockFD(dnssd_ref); + /* File descriptor for DNS-SD */ + + FD_ZERO(&sinput); + FD_SET(fd, &sinput); + + stimeout.tv_sec = 0; + stimeout.tv_usec = 500000; + + if (select(fd + 1, &sinput, NULL, NULL, &stimeout) < 0) + continue; + + if (FD_ISSET(fd, &sinput)) + { + /* + * Process responses... + */ + + DNSServiceProcessResult(dnssd_ref); + } + else + { + /* + * Time to process services... + */ + + process = 1; + } + +#elif defined(HAVE_AVAHI) + avahi_got_data = 0; + + if (avahi_simple_poll_iterate(avahi_poll, 500) > 0) + { + /* + * We've been told to exit the loop. Perhaps the connection to + * Avahi failed. + */ + + return (IPPFIND_EXIT_BONJOUR); + } + + if (!avahi_got_data) + { + /* + * Time to process services... + */ + + process = 1; + } +#endif /* HAVE_DNSSD */ + + if (process) + { + /* + * Process any services that we have found... + */ + + int active = 0, /* Number of active resolves */ + resolved = 0, /* Number of resolved services */ + processed = 0; /* Number of processed services */ + + for (service = (ippfind_srv_t *)cupsArrayFirst(services); + service; + service = (ippfind_srv_t *)cupsArrayNext(services)) + { + if (service->is_processed) + processed ++; + + if (service->is_resolved) + resolved ++; + + if (!service->ref && !service->is_resolved) + { + /* + * Found a service, now resolve it (but limit to 50 active resolves...) + */ + + if (active < 50) + { +#ifdef HAVE_DNSSD + service->ref = dnssd_ref; + err = DNSServiceResolve(&(service->ref), + kDNSServiceFlagsShareConnection, 0, + service->name, service->regtype, + service->domain, resolve_callback, + service); + +#elif defined(HAVE_AVAHI) + service->ref = avahi_service_resolver_new(avahi_client, + AVAHI_IF_UNSPEC, + AVAHI_PROTO_UNSPEC, + service->name, + service->regtype, + service->domain, + AVAHI_PROTO_UNSPEC, 0, + resolve_callback, + service); + if (service->ref) + err = 0; + else + err = avahi_client_errno(avahi_client); +#endif /* HAVE_DNSSD */ + + if (err) + { + _cupsLangPrintf(stderr, + _("ippfind: Unable to browse or resolve: %s"), + dnssd_error_string(err)); + return (IPPFIND_EXIT_BONJOUR); + } + + active ++; + } + } + else if (service->is_resolved && !service->is_processed) + { + /* + * Resolved, not process this service against the expressions... + */ + + if (service->ref) + { +#ifdef HAVE_DNSSD + DNSServiceRefDeallocate(service->ref); +#else + avahi_service_resolver_free(service->ref); +#endif /* HAVE_DNSSD */ + + service->ref = NULL; + } + + if (eval_expr(service, expressions)) + status = IPPFIND_EXIT_TRUE; + + service->is_processed = 1; + } + else if (service->ref) + active ++; + } + + /* + * If we have processed all services we have discovered, then we are done. + */ + + if (processed == cupsArrayCount(services) && bonjour_timeout <= 1.0) + break; + } + } + + if (bonjour_error) + return (IPPFIND_EXIT_BONJOUR); + else + return (status); +} + + +#ifdef HAVE_DNSSD +/* + * 'browse_callback()' - Browse devices. + */ + +static void DNSSD_API +browse_callback( + DNSServiceRef sdRef, /* I - Service reference */ + DNSServiceFlags flags, /* I - Option flags */ + uint32_t interfaceIndex, /* I - Interface number */ + DNSServiceErrorType errorCode, /* I - Error, if any */ + const char *serviceName, /* I - Name of service/device */ + const char *regtype, /* I - Type of service */ + const char *replyDomain, /* I - Service domain */ + void *context) /* I - Services array */ +{ + /* + * Only process "add" data... + */ + + (void)sdRef; + (void)interfaceIndex; + + if (errorCode != kDNSServiceErr_NoError || !(flags & kDNSServiceFlagsAdd)) + return; + + /* + * Get the device... + */ + + get_service((cups_array_t *)context, serviceName, regtype, replyDomain); +} + + +/* + * 'browse_local_callback()' - Browse local devices. + */ + +static void DNSSD_API +browse_local_callback( + DNSServiceRef sdRef, /* I - Service reference */ + DNSServiceFlags flags, /* I - Option flags */ + uint32_t interfaceIndex, /* I - Interface number */ + DNSServiceErrorType errorCode, /* I - Error, if any */ + const char *serviceName, /* I - Name of service/device */ + const char *regtype, /* I - Type of service */ + const char *replyDomain, /* I - Service domain */ + void *context) /* I - Services array */ +{ + ippfind_srv_t *service; /* Service */ + + + /* + * Only process "add" data... + */ + + (void)sdRef; + (void)interfaceIndex; + + if (errorCode != kDNSServiceErr_NoError || !(flags & kDNSServiceFlagsAdd)) + return; + + /* + * Get the device... + */ + + service = get_service((cups_array_t *)context, serviceName, regtype, + replyDomain); + service->is_local = 1; +} +#endif /* HAVE_DNSSD */ + + +#ifdef HAVE_AVAHI +/* + * 'browse_callback()' - Browse devices. + */ + +static void +browse_callback( + AvahiServiceBrowser *browser, /* I - Browser */ + AvahiIfIndex interface, /* I - Interface index (unused) */ + AvahiProtocol protocol, /* I - Network protocol (unused) */ + AvahiBrowserEvent event, /* I - What happened */ + const char *name, /* I - Service name */ + const char *type, /* I - Registration type */ + const char *domain, /* I - Domain */ + AvahiLookupResultFlags flags, /* I - Flags */ + void *context) /* I - Services array */ +{ + AvahiClient *client = avahi_service_browser_get_client(browser); + /* Client information */ + ippfind_srv_t *service; /* Service information */ + + + (void)interface; + (void)protocol; + (void)context; + + switch (event) + { + case AVAHI_BROWSER_FAILURE: + fprintf(stderr, "DEBUG: browse_callback: %s\n", + avahi_strerror(avahi_client_errno(client))); + bonjour_error = 1; + avahi_simple_poll_quit(avahi_poll); + break; + + case AVAHI_BROWSER_NEW: + /* + * This object is new on the network. Create a device entry for it if + * it doesn't yet exist. + */ + + service = get_service((cups_array_t *)context, name, type, domain); + + if (flags & AVAHI_LOOKUP_RESULT_LOCAL) + service->is_local = 1; + break; + + case AVAHI_BROWSER_REMOVE: + case AVAHI_BROWSER_ALL_FOR_NOW: + case AVAHI_BROWSER_CACHE_EXHAUSTED: + break; + } +} + + +/* + * 'client_callback()' - Avahi client callback function. + */ + +static void +client_callback( + AvahiClient *client, /* I - Client information (unused) */ + AvahiClientState state, /* I - Current state */ + void *context) /* I - User data (unused) */ +{ + (void)client; + (void)context; + + /* + * If the connection drops, quit. + */ + + if (state == AVAHI_CLIENT_FAILURE) + { + fputs("DEBUG: Avahi connection failed.\n", stderr); + bonjour_error = 1; + avahi_simple_poll_quit(avahi_poll); + } +} +#endif /* HAVE_AVAHI */ + + +/* + * 'compare_services()' - Compare two devices. + */ + +static int /* O - Result of comparison */ +compare_services(ippfind_srv_t *a, /* I - First device */ + ippfind_srv_t *b) /* I - Second device */ +{ + return (strcmp(a->name, b->name)); +} + + +/* + * 'dnssd_error_string()' - Return an error string for an error code. + */ + +static const char * /* O - Error message */ +dnssd_error_string(int error) /* I - Error number */ +{ +# ifdef HAVE_DNSSD + switch (error) + { + case kDNSServiceErr_NoError : + return ("OK."); + + default : + case kDNSServiceErr_Unknown : + return ("Unknown error."); + + case kDNSServiceErr_NoSuchName : + return ("Service not found."); + + case kDNSServiceErr_NoMemory : + return ("Out of memory."); + + case kDNSServiceErr_BadParam : + return ("Bad parameter."); + + case kDNSServiceErr_BadReference : + return ("Bad service reference."); + + case kDNSServiceErr_BadState : + return ("Bad state."); + + case kDNSServiceErr_BadFlags : + return ("Bad flags."); + + case kDNSServiceErr_Unsupported : + return ("Unsupported."); + + case kDNSServiceErr_NotInitialized : + return ("Not initialized."); + + case kDNSServiceErr_AlreadyRegistered : + return ("Already registered."); + + case kDNSServiceErr_NameConflict : + return ("Name conflict."); + + case kDNSServiceErr_Invalid : + return ("Invalid name."); + + case kDNSServiceErr_Firewall : + return ("Firewall prevents registration."); + + case kDNSServiceErr_Incompatible : + return ("Client library incompatible."); + + case kDNSServiceErr_BadInterfaceIndex : + return ("Bad interface index."); + + case kDNSServiceErr_Refused : + return ("Server prevents registration."); + + case kDNSServiceErr_NoSuchRecord : + return ("Record not found."); + + case kDNSServiceErr_NoAuth : + return ("Authentication required."); + + case kDNSServiceErr_NoSuchKey : + return ("Encryption key not found."); + + case kDNSServiceErr_NATTraversal : + return ("Unable to traverse NAT boundary."); + + case kDNSServiceErr_DoubleNAT : + return ("Unable to traverse double-NAT boundary."); + + case kDNSServiceErr_BadTime : + return ("Bad system time."); + + case kDNSServiceErr_BadSig : + return ("Bad signature."); + + case kDNSServiceErr_BadKey : + return ("Bad encryption key."); + + case kDNSServiceErr_Transient : + return ("Transient error occurred - please try again."); + + case kDNSServiceErr_ServiceNotRunning : + return ("Server not running."); + + case kDNSServiceErr_NATPortMappingUnsupported : + return ("NAT doesn't support NAT-PMP or UPnP."); + + case kDNSServiceErr_NATPortMappingDisabled : + return ("NAT supports NAT-PNP or UPnP but it is disabled."); + + case kDNSServiceErr_NoRouter : + return ("No Internet/default router configured."); + + case kDNSServiceErr_PollingMode : + return ("Service polling mode error."); + +#ifndef _WIN32 + case kDNSServiceErr_Timeout : + return ("Service timeout."); +#endif /* !_WIN32 */ + } + +# elif defined(HAVE_AVAHI) + return (avahi_strerror(error)); +# endif /* HAVE_DNSSD */ +} + + +/* + * 'eval_expr()' - Evaluate the expressions against the specified service. + * + * Returns 1 for true and 0 for false. + */ + +static int /* O - Result of evaluation */ +eval_expr(ippfind_srv_t *service, /* I - Service */ + ippfind_expr_t *expressions) /* I - Expressions */ +{ + ippfind_op_t logic; /* Logical operation */ + int result; /* Result of current expression */ + ippfind_expr_t *expression; /* Current expression */ + const char *val; /* TXT value */ + + /* + * Loop through the expressions... + */ + + if (expressions && expressions->parent) + logic = expressions->parent->op; + else + logic = IPPFIND_OP_AND; + + for (expression = expressions; expression; expression = expression->next) + { + switch (expression->op) + { + default : + case IPPFIND_OP_AND : + case IPPFIND_OP_OR : + if (expression->child) + result = eval_expr(service, expression->child); + else + result = expression->op == IPPFIND_OP_AND; + break; + case IPPFIND_OP_TRUE : + result = 1; + break; + case IPPFIND_OP_FALSE : + result = 0; + break; + case IPPFIND_OP_IS_LOCAL : + result = service->is_local; + break; + case IPPFIND_OP_IS_REMOTE : + result = !service->is_local; + break; + case IPPFIND_OP_DOMAIN_REGEX : + result = !regexec(&(expression->re), service->domain, 0, NULL, 0); + break; + case IPPFIND_OP_NAME_REGEX : + result = !regexec(&(expression->re), service->name, 0, NULL, 0); + break; + case IPPFIND_OP_NAME_LITERAL : + result = !_cups_strcasecmp(expression->name, service->name); + break; + case IPPFIND_OP_HOST_REGEX : + result = !regexec(&(expression->re), service->host, 0, NULL, 0); + break; + case IPPFIND_OP_PORT_RANGE : + result = service->port >= expression->range[0] && + service->port <= expression->range[1]; + break; + case IPPFIND_OP_PATH_REGEX : + result = !regexec(&(expression->re), service->resource, 0, NULL, 0); + break; + case IPPFIND_OP_TXT_EXISTS : + result = cupsGetOption(expression->name, service->num_txt, + service->txt) != NULL; + break; + case IPPFIND_OP_TXT_REGEX : + val = cupsGetOption(expression->name, service->num_txt, + service->txt); + if (val) + result = !regexec(&(expression->re), val, 0, NULL, 0); + else + result = 0; + + if (getenv("IPPFIND_DEBUG")) + printf("TXT_REGEX of \"%s\": %d\n", val, result); + break; + case IPPFIND_OP_URI_REGEX : + result = !regexec(&(expression->re), service->uri, 0, NULL, 0); + break; + case IPPFIND_OP_EXEC : + result = exec_program(service, expression->num_args, + expression->args); + break; + case IPPFIND_OP_LIST : + result = list_service(service); + break; + case IPPFIND_OP_PRINT_NAME : + _cupsLangPuts(stdout, service->name); + result = 1; + break; + case IPPFIND_OP_PRINT_URI : + _cupsLangPuts(stdout, service->uri); + result = 1; + break; + case IPPFIND_OP_QUIET : + result = 1; + break; + } + + if (expression->invert) + result = !result; + + if (logic == IPPFIND_OP_AND && !result) + return (0); + else if (logic == IPPFIND_OP_OR && result) + return (1); + } + + return (logic == IPPFIND_OP_AND); +} + + +/* + * 'exec_program()' - Execute a program for a service. + */ + +static int /* O - 1 if program terminated + successfully, 0 otherwise. */ +exec_program(ippfind_srv_t *service, /* I - Service */ + int num_args, /* I - Number of command-line args */ + char **args) /* I - Command-line arguments */ +{ + char **myargv, /* Command-line arguments */ + **myenvp, /* Environment variables */ + *ptr, /* Pointer into variable */ + domain[1024], /* IPPFIND_SERVICE_DOMAIN */ + hostname[1024], /* IPPFIND_SERVICE_HOSTNAME */ + name[256], /* IPPFIND_SERVICE_NAME */ + port[32], /* IPPFIND_SERVICE_PORT */ + regtype[256], /* IPPFIND_SERVICE_REGTYPE */ + scheme[128], /* IPPFIND_SERVICE_SCHEME */ + uri[1024], /* IPPFIND_SERVICE_URI */ + txt[100][256]; /* IPPFIND_TXT_foo */ + int i, /* Looping var */ + myenvc, /* Number of environment variables */ + status; /* Exit status of program */ +#ifndef _WIN32 + char program[1024]; /* Program to execute */ + int pid; /* Process ID */ +#endif /* !_WIN32 */ + + + /* + * Environment variables... + */ + + snprintf(domain, sizeof(domain), "IPPFIND_SERVICE_DOMAIN=%s", + service->domain); + snprintf(hostname, sizeof(hostname), "IPPFIND_SERVICE_HOSTNAME=%s", + service->host); + snprintf(name, sizeof(name), "IPPFIND_SERVICE_NAME=%s", service->name); + snprintf(port, sizeof(port), "IPPFIND_SERVICE_PORT=%d", service->port); + snprintf(regtype, sizeof(regtype), "IPPFIND_SERVICE_REGTYPE=%s", + service->regtype); + snprintf(scheme, sizeof(scheme), "IPPFIND_SERVICE_SCHEME=%s", + !strncmp(service->regtype, "_http._tcp", 10) ? "http" : + !strncmp(service->regtype, "_https._tcp", 11) ? "https" : + !strncmp(service->regtype, "_ipp._tcp", 9) ? "ipp" : + !strncmp(service->regtype, "_ipps._tcp", 10) ? "ipps" : "lpd"); + snprintf(uri, sizeof(uri), "IPPFIND_SERVICE_URI=%s", service->uri); + for (i = 0; i < service->num_txt && i < 100; i ++) + { + snprintf(txt[i], sizeof(txt[i]), "IPPFIND_TXT_%s=%s", service->txt[i].name, + service->txt[i].value); + for (ptr = txt[i] + 12; *ptr && *ptr != '='; ptr ++) + *ptr = (char)_cups_toupper(*ptr); + } + + for (i = 0, myenvc = 7 + service->num_txt; environ[i]; i ++) + if (strncmp(environ[i], "IPPFIND_", 8)) + myenvc ++; + + if ((myenvp = calloc(sizeof(char *), (size_t)(myenvc + 1))) == NULL) + { + _cupsLangPuts(stderr, _("ippfind: Out of memory.")); + exit(IPPFIND_EXIT_MEMORY); + } + + for (i = 0, myenvc = 0; environ[i]; i ++) + if (strncmp(environ[i], "IPPFIND_", 8)) + myenvp[myenvc++] = environ[i]; + + myenvp[myenvc++] = domain; + myenvp[myenvc++] = hostname; + myenvp[myenvc++] = name; + myenvp[myenvc++] = port; + myenvp[myenvc++] = regtype; + myenvp[myenvc++] = scheme; + myenvp[myenvc++] = uri; + + for (i = 0; i < service->num_txt && i < 100; i ++) + myenvp[myenvc++] = txt[i]; + + /* + * Allocate and copy command-line arguments... + */ + + if ((myargv = calloc(sizeof(char *), (size_t)(num_args + 1))) == NULL) + { + _cupsLangPuts(stderr, _("ippfind: Out of memory.")); + exit(IPPFIND_EXIT_MEMORY); + } + + for (i = 0; i < num_args; i ++) + { + if (strchr(args[i], '{')) + { + char temp[2048], /* Temporary string */ + *tptr, /* Pointer into temporary string */ + keyword[256], /* {keyword} */ + *kptr; /* Pointer into keyword */ + + for (ptr = args[i], tptr = temp; *ptr; ptr ++) + { + if (*ptr == '{') + { + /* + * Do a {var} substitution... + */ + + for (kptr = keyword, ptr ++; *ptr && *ptr != '}'; ptr ++) + if (kptr < (keyword + sizeof(keyword) - 1)) + *kptr++ = *ptr; + + if (*ptr != '}') + { + _cupsLangPuts(stderr, + _("ippfind: Missing close brace in substitution.")); + exit(IPPFIND_EXIT_SYNTAX); + } + + *kptr = '\0'; + if (!keyword[0] || !strcmp(keyword, "service_uri")) + strlcpy(tptr, service->uri, sizeof(temp) - (size_t)(tptr - temp)); + else if (!strcmp(keyword, "service_domain")) + strlcpy(tptr, service->domain, sizeof(temp) - (size_t)(tptr - temp)); + else if (!strcmp(keyword, "service_hostname")) + strlcpy(tptr, service->host, sizeof(temp) - (size_t)(tptr - temp)); + else if (!strcmp(keyword, "service_name")) + strlcpy(tptr, service->name, sizeof(temp) - (size_t)(tptr - temp)); + else if (!strcmp(keyword, "service_path")) + strlcpy(tptr, service->resource, sizeof(temp) - (size_t)(tptr - temp)); + else if (!strcmp(keyword, "service_port")) + strlcpy(tptr, port + 21, sizeof(temp) - (size_t)(tptr - temp)); + else if (!strcmp(keyword, "service_scheme")) + strlcpy(tptr, scheme + 22, sizeof(temp) - (size_t)(tptr - temp)); + else if (!strncmp(keyword, "txt_", 4)) + { + const char *val = cupsGetOption(keyword + 4, service->num_txt, service->txt); + if (val) + strlcpy(tptr, val, sizeof(temp) - (size_t)(tptr - temp)); + else + *tptr = '\0'; + } + else + { + _cupsLangPrintf(stderr, _("ippfind: Unknown variable \"{%s}\"."), + keyword); + exit(IPPFIND_EXIT_SYNTAX); + } + + tptr += strlen(tptr); + } + else if (tptr < (temp + sizeof(temp) - 1)) + *tptr++ = *ptr; + } + + *tptr = '\0'; + myargv[i] = strdup(temp); + } + else + myargv[i] = strdup(args[i]); + } + +#ifdef _WIN32 + if (getenv("IPPFIND_DEBUG")) + { + printf("\nProgram:\n %s\n", args[0]); + puts("\nArguments:"); + for (i = 0; i < num_args; i ++) + printf(" %s\n", myargv[i]); + puts("\nEnvironment:"); + for (i = 0; i < myenvc; i ++) + printf(" %s\n", myenvp[i]); + } + + status = _spawnvpe(_P_WAIT, args[0], myargv, myenvp); + +#else + /* + * Execute the program... + */ + + if (strchr(args[0], '/') && !access(args[0], X_OK)) + strlcpy(program, args[0], sizeof(program)); + else if (!cupsFileFind(args[0], getenv("PATH"), 1, program, sizeof(program))) + { + _cupsLangPrintf(stderr, _("ippfind: Unable to execute \"%s\": %s"), + args[0], strerror(ENOENT)); + exit(IPPFIND_EXIT_SYNTAX); + } + + if (getenv("IPPFIND_DEBUG")) + { + printf("\nProgram:\n %s\n", program); + puts("\nArguments:"); + for (i = 0; i < num_args; i ++) + printf(" %s\n", myargv[i]); + puts("\nEnvironment:"); + for (i = 0; i < myenvc; i ++) + printf(" %s\n", myenvp[i]); + } + + if ((pid = fork()) == 0) + { + /* + * Child comes here... + */ + + execve(program, myargv, myenvp); + exit(1); + } + else if (pid < 0) + { + _cupsLangPrintf(stderr, _("ippfind: Unable to execute \"%s\": %s"), + args[0], strerror(errno)); + exit(IPPFIND_EXIT_SYNTAX); + } + else + { + /* + * Wait for it to complete... + */ + + while (wait(&status) != pid) + ; + } +#endif /* _WIN32 */ + + /* + * Free memory... + */ + + for (i = 0; i < num_args; i ++) + free(myargv[i]); + + free(myargv); + free(myenvp); + + /* + * Return whether the program succeeded or crashed... + */ + + if (getenv("IPPFIND_DEBUG")) + { +#ifdef _WIN32 + printf("Exit Status: %d\n", status); +#else + if (WIFEXITED(status)) + printf("Exit Status: %d\n", WEXITSTATUS(status)); + else + printf("Terminating Signal: %d\n", WTERMSIG(status)); +#endif /* _WIN32 */ + } + + return (status == 0); +} + + +/* + * 'get_service()' - Create or update a device. + */ + +static ippfind_srv_t * /* O - Service */ +get_service(cups_array_t *services, /* I - Service array */ + const char *serviceName, /* I - Name of service/device */ + const char *regtype, /* I - Type of service */ + const char *replyDomain) /* I - Service domain */ +{ + ippfind_srv_t key, /* Search key */ + *service; /* Service */ + char fullName[kDNSServiceMaxDomainName]; + /* Full name for query */ + + + /* + * See if this is a new device... + */ + + key.name = (char *)serviceName; + key.regtype = (char *)regtype; + + for (service = cupsArrayFind(services, &key); + service; + service = cupsArrayNext(services)) + if (_cups_strcasecmp(service->name, key.name)) + break; + else if (!strcmp(service->regtype, key.regtype)) + return (service); + + /* + * Yes, add the service... + */ + + service = calloc(sizeof(ippfind_srv_t), 1); + service->name = strdup(serviceName); + service->domain = strdup(replyDomain); + service->regtype = strdup(regtype); + + cupsArrayAdd(services, service); + + /* + * Set the "full name" of this service, which is used for queries and + * resolves... + */ + +#ifdef HAVE_DNSSD + DNSServiceConstructFullName(fullName, serviceName, regtype, replyDomain); +#else /* HAVE_AVAHI */ + avahi_service_name_join(fullName, kDNSServiceMaxDomainName, serviceName, + regtype, replyDomain); +#endif /* HAVE_DNSSD */ + + service->fullName = strdup(fullName); + + return (service); +} + + +/* + * 'get_time()' - Get the current time-of-day in seconds. + */ + +static double +get_time(void) +{ +#ifdef _WIN32 + struct _timeb curtime; /* Current Windows time */ + + _ftime(&curtime); + + return (curtime.time + 0.001 * curtime.millitm); + +#else + struct timeval curtime; /* Current UNIX time */ + + if (gettimeofday(&curtime, NULL)) + return (0.0); + else + return (curtime.tv_sec + 0.000001 * curtime.tv_usec); +#endif /* _WIN32 */ +} + + +/* + * 'list_service()' - List the contents of a service. + */ + +static int /* O - 1 if successful, 0 otherwise */ +list_service(ippfind_srv_t *service) /* I - Service */ +{ + http_addrlist_t *addrlist; /* Address(es) of service */ + char port[10]; /* Port number of service */ + + + snprintf(port, sizeof(port), "%d", service->port); + + if ((addrlist = httpAddrGetList(service->host, address_family, port)) == NULL) + { + _cupsLangPrintf(stdout, "%s unreachable", service->uri); + return (0); + } + + if (!strncmp(service->regtype, "_ipp._tcp", 9) || + !strncmp(service->regtype, "_ipps._tcp", 10)) + { + /* + * IPP/IPPS printer + */ + + http_t *http; /* HTTP connection */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + ipp_attribute_t *attr; /* IPP attribute */ + int i, /* Looping var */ + count, /* Number of values */ + version, /* IPP version */ + paccepting; /* printer-is-accepting-jobs value */ + ipp_pstate_t pstate; /* printer-state value */ + char preasons[1024], /* Comma-delimited printer-state-reasons */ + *ptr, /* Pointer into reasons */ + *end; /* End of reasons buffer */ + static const char * const rattrs[] =/* Requested attributes */ + { + "printer-is-accepting-jobs", + "printer-state", + "printer-state-reasons" + }; + + /* + * Connect to the printer... + */ + + http = httpConnect2(service->host, service->port, addrlist, address_family, + !strncmp(service->regtype, "_ipps._tcp", 10) ? + HTTP_ENCRYPTION_ALWAYS : + HTTP_ENCRYPTION_IF_REQUESTED, + 1, 30000, NULL); + + httpAddrFreeList(addrlist); + + if (!http) + { + _cupsLangPrintf(stdout, "%s unavailable", service->uri); + return (0); + } + + /* + * Get the current printer state... + */ + + response = NULL; + version = ipp_version; + + do + { + request = ippNewRequest(IPP_OP_GET_PRINTER_ATTRIBUTES); + ippSetVersion(request, version / 10, version % 10); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, + service->uri); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "requesting-user-name", NULL, cupsUser()); + ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "requested-attributes", + (int)(sizeof(rattrs) / sizeof(rattrs[0])), NULL, rattrs); + + response = cupsDoRequest(http, request, service->resource); + + if (cupsLastError() == IPP_STATUS_ERROR_BAD_REQUEST && version > 11) + version = 11; + } + while (cupsLastError() > IPP_STATUS_OK_EVENTS_COMPLETE && version > 11); + + /* + * Show results... + */ + + if (cupsLastError() > IPP_STATUS_OK_EVENTS_COMPLETE) + { + _cupsLangPrintf(stdout, "%s: unavailable", service->uri); + return (0); + } + + if ((attr = ippFindAttribute(response, "printer-state", + IPP_TAG_ENUM)) != NULL) + pstate = (ipp_pstate_t)ippGetInteger(attr, 0); + else + pstate = IPP_PSTATE_STOPPED; + + if ((attr = ippFindAttribute(response, "printer-is-accepting-jobs", + IPP_TAG_BOOLEAN)) != NULL) + paccepting = ippGetBoolean(attr, 0); + else + paccepting = 0; + + if ((attr = ippFindAttribute(response, "printer-state-reasons", + IPP_TAG_KEYWORD)) != NULL) + { + strlcpy(preasons, ippGetString(attr, 0, NULL), sizeof(preasons)); + + for (i = 1, count = ippGetCount(attr), ptr = preasons + strlen(preasons), + end = preasons + sizeof(preasons) - 1; + i < count && ptr < end; + i ++, ptr += strlen(ptr)) + { + *ptr++ = ','; + strlcpy(ptr, ippGetString(attr, i, NULL), (size_t)(end - ptr + 1)); + } + } + else + strlcpy(preasons, "none", sizeof(preasons)); + + ippDelete(response); + httpClose(http); + + _cupsLangPrintf(stdout, "%s %s %s %s", service->uri, ippEnumString("printer-state", (int)pstate), paccepting ? "accepting-jobs" : "not-accepting-jobs", preasons); + } + else if (!strncmp(service->regtype, "_http._tcp", 10) || + !strncmp(service->regtype, "_https._tcp", 11)) + { + /* + * HTTP/HTTPS web page + */ + + http_t *http; /* HTTP connection */ + http_status_t status; /* HEAD status */ + + + /* + * Connect to the web server... + */ + + http = httpConnect2(service->host, service->port, addrlist, address_family, + !strncmp(service->regtype, "_ipps._tcp", 10) ? + HTTP_ENCRYPTION_ALWAYS : + HTTP_ENCRYPTION_IF_REQUESTED, + 1, 30000, NULL); + + httpAddrFreeList(addrlist); + + if (!http) + { + _cupsLangPrintf(stdout, "%s unavailable", service->uri); + return (0); + } + + if (httpGet(http, service->resource)) + { + _cupsLangPrintf(stdout, "%s unavailable", service->uri); + return (0); + } + + do + { + status = httpUpdate(http); + } + while (status == HTTP_STATUS_CONTINUE); + + httpFlush(http); + httpClose(http); + + if (status >= HTTP_STATUS_BAD_REQUEST) + { + _cupsLangPrintf(stdout, "%s unavailable", service->uri); + return (0); + } + + _cupsLangPrintf(stdout, "%s available", service->uri); + } + else if (!strncmp(service->regtype, "_printer._tcp", 13)) + { + /* + * LPD printer + */ + + int sock; /* Socket */ + + + if (!httpAddrConnect(addrlist, &sock)) + { + _cupsLangPrintf(stdout, "%s unavailable", service->uri); + httpAddrFreeList(addrlist); + return (0); + } + + _cupsLangPrintf(stdout, "%s available", service->uri); + httpAddrFreeList(addrlist); + + httpAddrClose(NULL, sock); + } + else + { + _cupsLangPrintf(stdout, "%s unsupported", service->uri); + httpAddrFreeList(addrlist); + return (0); + } + + return (1); +} + + +/* + * 'new_expr()' - Create a new expression. + */ + +static ippfind_expr_t * /* O - New expression */ +new_expr(ippfind_op_t op, /* I - Operation */ + int invert, /* I - Invert result? */ + const char *value, /* I - TXT key or port range */ + const char *regex, /* I - Regular expression */ + char **args) /* I - Pointer to argument strings */ +{ + ippfind_expr_t *temp; /* New expression */ + + + if ((temp = calloc(1, sizeof(ippfind_expr_t))) == NULL) + return (NULL); + + temp->op = op; + temp->invert = invert; + + if (op == IPPFIND_OP_TXT_EXISTS || op == IPPFIND_OP_TXT_REGEX || op == IPPFIND_OP_NAME_LITERAL) + temp->name = (char *)value; + else if (op == IPPFIND_OP_PORT_RANGE) + { + /* + * Pull port number range of the form "number", "-number" (0-number), + * "number-" (number-65535), and "number-number". + */ + + if (*value == '-') + { + temp->range[1] = atoi(value + 1); + } + else if (strchr(value, '-')) + { + if (sscanf(value, "%d-%d", temp->range, temp->range + 1) == 1) + temp->range[1] = 65535; + } + else + { + temp->range[0] = temp->range[1] = atoi(value); + } + } + + if (regex) + { + int err = regcomp(&(temp->re), regex, REG_NOSUB | REG_ICASE | REG_EXTENDED); + + if (err) + { + char message[256]; /* Error message */ + + regerror(err, &(temp->re), message, sizeof(message)); + _cupsLangPrintf(stderr, _("ippfind: Bad regular expression: %s"), + message); + exit(IPPFIND_EXIT_SYNTAX); + } + } + + if (args) + { + int num_args; /* Number of arguments */ + + for (num_args = 1; args[num_args]; num_args ++) + if (!strcmp(args[num_args], ";")) + break; + + temp->num_args = num_args; + temp->args = malloc((size_t)num_args * sizeof(char *)); + memcpy(temp->args, args, (size_t)num_args * sizeof(char *)); + } + + return (temp); +} + + +#ifdef HAVE_AVAHI +/* + * 'poll_callback()' - Wait for input on the specified file descriptors. + * + * Note: This function is needed because avahi_simple_poll_iterate is broken + * and always uses a timeout of 0 (!) milliseconds. + * (Avahi Ticket #364) + */ + +static int /* O - Number of file descriptors matching */ +poll_callback( + struct pollfd *pollfds, /* I - File descriptors */ + unsigned int num_pollfds, /* I - Number of file descriptors */ + int timeout, /* I - Timeout in milliseconds (unused) */ + void *context) /* I - User data (unused) */ +{ + int val; /* Return value */ + + + (void)timeout; + (void)context; + + val = poll(pollfds, num_pollfds, 500); + + if (val > 0) + avahi_got_data = 1; + + return (val); +} +#endif /* HAVE_AVAHI */ + + +/* + * 'resolve_callback()' - Process resolve data. + */ + +#ifdef HAVE_DNSSD +static void DNSSD_API +resolve_callback( + DNSServiceRef sdRef, /* I - Service reference */ + DNSServiceFlags flags, /* I - Data flags */ + uint32_t interfaceIndex, /* I - Interface */ + DNSServiceErrorType errorCode, /* I - Error, if any */ + const char *fullName, /* I - Full service name */ + const char *hostTarget, /* I - Hostname */ + uint16_t port, /* I - Port number (network byte order) */ + uint16_t txtLen, /* I - Length of TXT record data */ + const unsigned char *txtRecord, /* I - TXT record data */ + void *context) /* I - Service */ +{ + char key[256], /* TXT key value */ + *value; /* Value from TXT record */ + const unsigned char *txtEnd; /* End of TXT record */ + uint8_t valueLen; /* Length of value */ + ippfind_srv_t *service = (ippfind_srv_t *)context; + /* Service */ + + + /* + * Only process "add" data... + */ + + (void)sdRef; + (void)flags; + (void)interfaceIndex; + (void)fullName; + + if (errorCode != kDNSServiceErr_NoError) + { + _cupsLangPrintf(stderr, _("ippfind: Unable to browse or resolve: %s"), + dnssd_error_string(errorCode)); + bonjour_error = 1; + return; + } + + service->is_resolved = 1; + service->host = strdup(hostTarget); + service->port = ntohs(port); + + value = service->host + strlen(service->host) - 1; + if (value >= service->host && *value == '.') + *value = '\0'; + + /* + * Loop through the TXT key/value pairs and add them to an array... + */ + + for (txtEnd = txtRecord + txtLen; txtRecord < txtEnd; txtRecord += valueLen) + { + /* + * Ignore bogus strings... + */ + + valueLen = *txtRecord++; + + memcpy(key, txtRecord, valueLen); + key[valueLen] = '\0'; + + if ((value = strchr(key, '=')) == NULL) + continue; + + *value++ = '\0'; + + /* + * Add to array of TXT values... + */ + + service->num_txt = cupsAddOption(key, value, service->num_txt, + &(service->txt)); + } + + set_service_uri(service); +} + + +#elif defined(HAVE_AVAHI) +static void +resolve_callback( + AvahiServiceResolver *resolver, /* I - Resolver */ + AvahiIfIndex interface, /* I - Interface */ + AvahiProtocol protocol, /* I - Address protocol */ + AvahiResolverEvent event, /* I - Event */ + const char *serviceName,/* I - Service name */ + const char *regtype, /* I - Registration type */ + const char *replyDomain,/* I - Domain name */ + const char *hostTarget, /* I - FQDN */ + const AvahiAddress *address, /* I - Address */ + uint16_t port, /* I - Port number */ + AvahiStringList *txt, /* I - TXT records */ + AvahiLookupResultFlags flags, /* I - Lookup flags */ + void *context) /* I - Service */ +{ + char key[256], /* TXT key */ + *value; /* TXT value */ + ippfind_srv_t *service = (ippfind_srv_t *)context; + /* Service */ + AvahiStringList *current; /* Current TXT key/value pair */ + + + (void)address; + + if (event != AVAHI_RESOLVER_FOUND) + { + bonjour_error = 1; + + avahi_service_resolver_free(resolver); + avahi_simple_poll_quit(avahi_poll); + return; + } + + service->is_resolved = 1; + service->host = strdup(hostTarget); + service->port = port; + + value = service->host + strlen(service->host) - 1; + if (value >= service->host && *value == '.') + *value = '\0'; + + /* + * Loop through the TXT key/value pairs and add them to an array... + */ + + for (current = txt; current; current = current->next) + { + /* + * Ignore bogus strings... + */ + + if (current->size > (sizeof(key) - 1)) + continue; + + memcpy(key, current->text, current->size); + key[current->size] = '\0'; + + if ((value = strchr(key, '=')) == NULL) + continue; + + *value++ = '\0'; + + /* + * Add to array of TXT values... + */ + + service->num_txt = cupsAddOption(key, value, service->num_txt, + &(service->txt)); + } + + set_service_uri(service); +} +#endif /* HAVE_DNSSD */ + + +/* + * 'set_service_uri()' - Set the URI of the service. + */ + +static void +set_service_uri(ippfind_srv_t *service) /* I - Service */ +{ + char uri[1024]; /* URI */ + const char *path, /* Resource path */ + *scheme; /* URI scheme */ + + + if (!strncmp(service->regtype, "_http.", 6)) + { + scheme = "http"; + path = cupsGetOption("path", service->num_txt, service->txt); + } + else if (!strncmp(service->regtype, "_https.", 7)) + { + scheme = "https"; + path = cupsGetOption("path", service->num_txt, service->txt); + } + else if (!strncmp(service->regtype, "_ipp.", 5)) + { + scheme = "ipp"; + path = cupsGetOption("rp", service->num_txt, service->txt); + } + else if (!strncmp(service->regtype, "_ipps.", 6)) + { + scheme = "ipps"; + path = cupsGetOption("rp", service->num_txt, service->txt); + } + else if (!strncmp(service->regtype, "_printer.", 9)) + { + scheme = "lpd"; + path = cupsGetOption("rp", service->num_txt, service->txt); + } + else + return; + + if (!path || !*path) + path = "/"; + + if (*path == '/') + { + service->resource = strdup(path); + } + else + { + snprintf(uri, sizeof(uri), "/%s", path); + service->resource = strdup(uri); + } + + httpAssembleURI(HTTP_URI_CODING_ALL, uri, sizeof(uri), scheme, NULL, + service->host, service->port, service->resource); + service->uri = strdup(uri); +} + + +/* + * 'show_usage()' - Show program usage. + */ + +static void +show_usage(void) +{ + _cupsLangPuts(stderr, _("Usage: ippfind [options] regtype[,subtype]" + "[.domain.] ... [expression]\n" + " ippfind [options] name[.regtype[.domain.]] " + "... [expression]\n" + " ippfind --help\n" + " ippfind --version")); + _cupsLangPuts(stderr, _("Options:")); + _cupsLangPuts(stderr, _("-4 Connect using IPv4")); + _cupsLangPuts(stderr, _("-6 Connect using IPv6")); + _cupsLangPuts(stderr, _("-T seconds Set the browse timeout in seconds")); + _cupsLangPuts(stderr, _("-V version Set default IPP version")); + _cupsLangPuts(stderr, _("--version Show program version")); + _cupsLangPuts(stderr, _("Expressions:")); + _cupsLangPuts(stderr, _("-P number[-number] Match port to number or range")); + _cupsLangPuts(stderr, _("-d regex Match domain to regular expression")); + _cupsLangPuts(stderr, _("-h regex Match hostname to regular expression")); + _cupsLangPuts(stderr, _("-l List attributes")); + _cupsLangPuts(stderr, _("-n regex Match service name to regular expression")); + _cupsLangPuts(stderr, _("-p Print URI if true")); + _cupsLangPuts(stderr, _("-q Quietly report match via exit code")); + _cupsLangPuts(stderr, _("-r True if service is remote")); + _cupsLangPuts(stderr, _("-s Print service name if true")); + _cupsLangPuts(stderr, _("-t key True if the TXT record contains the key")); + _cupsLangPuts(stderr, _("-u regex Match URI to regular expression")); + _cupsLangPuts(stderr, _("-x utility [argument ...] ;\n" + " Execute program if true")); + _cupsLangPuts(stderr, _("--domain regex Match domain to regular expression")); + _cupsLangPuts(stderr, _("--exec utility [argument ...] ;\n" + " Execute program if true")); + _cupsLangPuts(stderr, _("--host regex Match hostname to regular expression")); + _cupsLangPuts(stderr, _("--ls List attributes")); + _cupsLangPuts(stderr, _("--local True if service is local")); + _cupsLangPuts(stderr, _("--name regex Match service name to regular expression")); + _cupsLangPuts(stderr, _("--path regex Match resource path to regular expression")); + _cupsLangPuts(stderr, _("--port number[-number] Match port to number or range")); + _cupsLangPuts(stderr, _("--print Print URI if true")); + _cupsLangPuts(stderr, _("--print-name Print service name if true")); + _cupsLangPuts(stderr, _("--quiet Quietly report match via exit code")); + _cupsLangPuts(stderr, _("--remote True if service is remote")); + _cupsLangPuts(stderr, _("--txt key True if the TXT record contains the key")); + _cupsLangPuts(stderr, _("--txt-* regex Match TXT record key to regular expression")); + _cupsLangPuts(stderr, _("--uri regex Match URI to regular expression")); + _cupsLangPuts(stderr, _("Modifiers:")); + _cupsLangPuts(stderr, _("( expressions ) Group expressions")); + _cupsLangPuts(stderr, _("! expression Unary NOT of expression")); + _cupsLangPuts(stderr, _("--not expression Unary NOT of expression")); + _cupsLangPuts(stderr, _("--false Always false")); + _cupsLangPuts(stderr, _("--true Always true")); + _cupsLangPuts(stderr, _("expression expression Logical AND")); + _cupsLangPuts(stderr, _("expression --and expression\n" + " Logical AND")); + _cupsLangPuts(stderr, _("expression --or expression\n" + " Logical OR")); + _cupsLangPuts(stderr, _("Substitutions:")); + _cupsLangPuts(stderr, _("{} URI")); + _cupsLangPuts(stderr, _("{service_domain} Domain name")); + _cupsLangPuts(stderr, _("{service_hostname} Fully-qualified domain name")); + _cupsLangPuts(stderr, _("{service_name} Service instance name")); + _cupsLangPuts(stderr, _("{service_port} Port number")); + _cupsLangPuts(stderr, _("{service_regtype} DNS-SD registration type")); + _cupsLangPuts(stderr, _("{service_scheme} URI scheme")); + _cupsLangPuts(stderr, _("{service_uri} URI")); + _cupsLangPuts(stderr, _("{txt_*} Value of TXT record key")); + _cupsLangPuts(stderr, _("Environment Variables:")); + _cupsLangPuts(stderr, _("IPPFIND_SERVICE_DOMAIN Domain name")); + _cupsLangPuts(stderr, _("IPPFIND_SERVICE_HOSTNAME\n" + " Fully-qualified domain name")); + _cupsLangPuts(stderr, _("IPPFIND_SERVICE_NAME Service instance name")); + _cupsLangPuts(stderr, _("IPPFIND_SERVICE_PORT Port number")); + _cupsLangPuts(stderr, _("IPPFIND_SERVICE_REGTYPE DNS-SD registration type")); + _cupsLangPuts(stderr, _("IPPFIND_SERVICE_SCHEME URI scheme")); + _cupsLangPuts(stderr, _("IPPFIND_SERVICE_URI URI")); + _cupsLangPuts(stderr, _("IPPFIND_TXT_* Value of TXT record key")); + + exit(IPPFIND_EXIT_TRUE); +} + + +/* + * 'show_version()' - Show program version. + */ + +static void +show_version(void) +{ + _cupsLangPuts(stderr, CUPS_SVERSION); + + exit(IPPFIND_EXIT_TRUE); +} diff --git a/tools/ipptool.c b/tools/ipptool.c new file mode 100644 index 0000000..a3a694d --- /dev/null +++ b/tools/ipptool.c @@ -0,0 +1,5129 @@ +/* + * ipptool command for CUPS. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#ifdef _WIN32 +# include +# ifndef R_OK +# define R_OK 0 +# endif /* !R_OK */ +#else +# include +# include +#endif /* _WIN32 */ +#ifndef O_BINARY +# define O_BINARY 0 +#endif /* !O_BINARY */ + + +/* + * Types... + */ + +typedef enum _cups_transfer_e /**** How to send request data ****/ +{ + _CUPS_TRANSFER_AUTO, /* Chunk for files, length for static */ + _CUPS_TRANSFER_CHUNKED, /* Chunk always */ + _CUPS_TRANSFER_LENGTH /* Length always */ +} _cups_transfer_t; + +typedef enum _cups_output_e /**** Output mode ****/ +{ + _CUPS_OUTPUT_QUIET, /* No output */ + _CUPS_OUTPUT_TEST, /* Traditional CUPS test output */ + _CUPS_OUTPUT_PLIST, /* XML plist test output */ + _CUPS_OUTPUT_IPPSERVER, /* ippserver attribute file output */ + _CUPS_OUTPUT_LIST, /* Tabular list output */ + _CUPS_OUTPUT_CSV /* Comma-separated values output */ +} _cups_output_t; + +typedef enum _cups_with_e /**** WITH flags ****/ +{ + _CUPS_WITH_LITERAL = 0, /* Match string is a literal value */ + _CUPS_WITH_ALL = 1, /* Must match all values */ + _CUPS_WITH_REGEX = 2, /* Match string is a regular expression */ + _CUPS_WITH_HOSTNAME = 4, /* Match string is a URI hostname */ + _CUPS_WITH_RESOURCE = 8, /* Match string is a URI resource */ + _CUPS_WITH_SCHEME = 16 /* Match string is a URI scheme */ +} _cups_with_t; + +typedef struct _cups_expect_s /**** Expected attribute info ****/ +{ + int optional, /* Optional attribute? */ + not_expect, /* Don't expect attribute? */ + expect_all; /* Expect all attributes to match/not match */ + char *name, /* Attribute name */ + *of_type, /* Type name */ + *same_count_as, /* Parallel attribute name */ + *if_defined, /* Only required if variable defined */ + *if_not_defined, /* Only required if variable is not defined */ + *with_value, /* Attribute must include this value */ + *with_value_from, /* Attribute must have one of the values in this attribute */ + *define_match, /* Variable to define on match */ + *define_no_match, /* Variable to define on no-match */ + *define_value; /* Variable to define with value */ + int repeat_limit, /* Maximum number of times to repeat */ + repeat_match, /* Repeat test on match */ + repeat_no_match, /* Repeat test on no match */ + with_flags, /* WITH flags */ + count; /* Expected count if > 0 */ + ipp_tag_t in_group; /* IN-GROUP value */ +} _cups_expect_t; + +typedef struct _cups_status_s /**** Status info ****/ +{ + ipp_status_t status; /* Expected status code */ + char *if_defined, /* Only if variable is defined */ + *if_not_defined, /* Only if variable is not defined */ + *define_match, /* Variable to define on match */ + *define_no_match, /* Variable to define on no-match */ + *define_value; /* Variable to define with value */ + int repeat_limit, /* Maximum number of times to repeat */ + repeat_match, /* Repeat the test when it does not match */ + repeat_no_match; /* Repeat the test when it matches */ +} _cups_status_t; + +typedef struct _cups_testdata_s /**** Test Data ****/ +{ + /* Global Options */ + http_encryption_t encryption; /* Encryption for connection */ + int family; /* Address family */ + _cups_output_t output; /* Output mode */ + int stop_after_include_error; + /* Stop after include errors? */ + double timeout; /* Timeout for connection */ + int validate_headers, /* Validate HTTP headers in response? */ + verbosity; /* Show all attributes? */ + + /* Test Defaults */ + int def_ignore_errors; /* Default IGNORE-ERRORS value */ + _cups_transfer_t def_transfer; /* Default TRANSFER value */ + int def_version; /* Default IPP version */ + + /* Global State */ + http_t *http; /* HTTP connection to printer/server */ + cups_file_t *outfile; /* Output file */ + int show_header, /* Show the test header? */ + xml_header; /* 1 if XML plist header was written */ + int pass, /* Have we passed all tests? */ + test_count, /* Number of tests (total) */ + pass_count, /* Number of tests that passed */ + fail_count, /* Number of tests that failed */ + skip_count; /* Number of tests that were skipped */ + + /* Per-Test State */ + cups_array_t *errors; /* Errors array */ + int prev_pass, /* Result of previous test */ + skip_previous; /* Skip on previous test failure? */ + char compression[16]; /* COMPRESSION value */ + useconds_t delay; /* Initial delay */ + int num_displayed; /* Number of displayed attributes */ + char *displayed[200]; /* Displayed attributes */ + int num_expects; /* Number of expected attributes */ + _cups_expect_t expects[200], /* Expected attributes */ + *expect, /* Current expected attribute */ + *last_expect; /* Last EXPECT (for predicates) */ + char file[1024], /* Data filename */ + file_id[1024]; /* File identifier */ + int ignore_errors; /* Ignore test failures? */ + char name[1024]; /* Test name */ + useconds_t repeat_interval; /* Repeat interval (delay) */ + int request_id; /* Current request ID */ + char resource[512]; /* Resource for request */ + int skip_test, /* Skip this test? */ + num_statuses; /* Number of valid status codes */ + _cups_status_t statuses[100], /* Valid status codes */ + *last_status; /* Last STATUS (for predicates) */ + char test_id[1024]; /* Test identifier */ + _cups_transfer_t transfer; /* To chunk or not to chunk */ + int version; /* IPP version number to use */ +} _cups_testdata_t; + + +/* + * Globals... + */ + +static int Cancel = 0; /* Cancel test? */ + + +/* + * Local functions... + */ + +static void add_stringf(cups_array_t *a, const char *s, ...) _CUPS_FORMAT(2, 3); +static int compare_uris(const char *a, const char *b); +static void copy_hex_string(char *buffer, unsigned char *data, int datalen, size_t bufsize); +static int do_test(_ipp_file_t *f, _ipp_vars_t *vars, _cups_testdata_t *data); +static int do_tests(const char *testfile, _ipp_vars_t *vars, _cups_testdata_t *data); +static int error_cb(_ipp_file_t *f, _cups_testdata_t *data, const char *error); +static int expect_matches(_cups_expect_t *expect, ipp_tag_t value_tag); +static char *get_filename(const char *testfile, char *dst, const char *src, size_t dstsize); +static const char *get_string(ipp_attribute_t *attr, int element, int flags, char *buffer, size_t bufsize); +static void init_data(_cups_testdata_t *data); +static char *iso_date(const ipp_uchar_t *date); +static void pause_message(const char *message); +static void print_attr(cups_file_t *outfile, _cups_output_t output, ipp_attribute_t *attr, ipp_tag_t *group); +static void print_csv(_cups_testdata_t *data, ipp_t *ipp, ipp_attribute_t *attr, int num_displayed, char **displayed, size_t *widths); +static void print_fatal_error(_cups_testdata_t *data, const char *s, ...) _CUPS_FORMAT(2, 3); +static void print_ippserver_attr(_cups_testdata_t *data, ipp_attribute_t *attr, int indent); +static void print_ippserver_string(_cups_testdata_t *data, const char *s, size_t len); +static void print_line(_cups_testdata_t *data, ipp_t *ipp, ipp_attribute_t *attr, int num_displayed, char **displayed, size_t *widths); +static void print_xml_header(_cups_testdata_t *data); +static void print_xml_string(cups_file_t *outfile, const char *element, const char *s); +static void print_xml_trailer(_cups_testdata_t *data, int success, const char *message); +#ifndef _WIN32 +static void sigterm_handler(int sig); +#endif /* _WIN32 */ +static int timeout_cb(http_t *http, void *user_data); +static int token_cb(_ipp_file_t *f, _ipp_vars_t *vars, _cups_testdata_t *data, const char *token); +static void usage(void) _CUPS_NORETURN; +static const char *with_flags_string(int flags); +static int with_value(_cups_testdata_t *data, cups_array_t *errors, char *value, int flags, ipp_attribute_t *attr, char *matchbuf, size_t matchlen); +static int with_value_from(cups_array_t *errors, ipp_attribute_t *fromattr, ipp_attribute_t *attr, char *matchbuf, size_t matchlen); + + +/* + * 'main()' - Parse options and do tests. + */ + +int /* O - Exit status */ +main(int argc, /* I - Number of command-line args */ + char *argv[]) /* I - Command-line arguments */ +{ + int i; /* Looping var */ + int status; /* Status of tests... */ + char *opt, /* Current option */ + name[1024], /* Name/value buffer */ + *value, /* Pointer to value */ + filename[1024], /* Real filename */ + testname[1024]; /* Real test filename */ + const char *ext, /* Extension on filename */ + *testfile; /* Test file to use */ + int interval, /* Test interval in microseconds */ + repeat; /* Repeat count */ + _cups_testdata_t data; /* Test data */ + _ipp_vars_t vars; /* Variables */ + _cups_globals_t *cg = _cupsGlobals(); + /* Global data */ + + +#ifndef _WIN32 + /* + * Catch SIGINT and SIGTERM... + */ + + signal(SIGINT, sigterm_handler); + signal(SIGTERM, sigterm_handler); +#endif /* !_WIN32 */ + + /* + * Initialize the locale and variables... + */ + + _cupsSetLocale(argv); + + init_data(&data); + + _ippVarsInit(&vars, NULL, (_ipp_ferror_cb_t)error_cb, (_ipp_ftoken_cb_t)token_cb); + + _ippVarsSet(&vars, "date-start", iso_date(ippTimeToDate(time(NULL)))); + + /* + * We need at least: + * + * ipptool URI testfile + */ + + interval = 0; + repeat = 0; + status = 0; + testfile = NULL; + + for (i = 1; i < argc; i ++) + { + if (!strcmp(argv[i], "--help")) + { + usage(); + } + else if (!strcmp(argv[i], "--ippserver")) + { + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("ipptool: Missing filename for \"--ippserver\".")); + usage(); + } + + if (data.outfile != cupsFileStdout()) + usage(); + + if ((data.outfile = cupsFileOpen(argv[i], "w")) == NULL) + { + _cupsLangPrintf(stderr, _("%s: Unable to open \"%s\": %s"), "ipptool", argv[i], strerror(errno)); + exit(1); + } + + data.output = _CUPS_OUTPUT_IPPSERVER; + } + else if (!strcmp(argv[i], "--stop-after-include-error")) + { + data.stop_after_include_error = 1; + } + else if (!strcmp(argv[i], "--version")) + { + puts(CUPS_SVERSION); + return (0); + } + else if (argv[i][0] == '-') + { + for (opt = argv[i] + 1; *opt; opt ++) + { + switch (*opt) + { + case '4' : /* Connect using IPv4 only */ + data.family = AF_INET; + break; + +#ifdef AF_INET6 + case '6' : /* Connect using IPv6 only */ + data.family = AF_INET6; + break; +#endif /* AF_INET6 */ + + case 'C' : /* Enable HTTP chunking */ + data.def_transfer = _CUPS_TRANSFER_CHUNKED; + break; + + case 'E' : /* Encrypt with TLS */ +#ifdef HAVE_SSL + data.encryption = HTTP_ENCRYPT_REQUIRED; +#else + _cupsLangPrintf(stderr, _("%s: Sorry, no encryption support."), + argv[0]); +#endif /* HAVE_SSL */ + break; + + case 'I' : /* Ignore errors */ + data.def_ignore_errors = 1; + break; + + case 'L' : /* Disable HTTP chunking */ + data.def_transfer = _CUPS_TRANSFER_LENGTH; + break; + + case 'P' : /* Output to plist file */ + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, _("%s: Missing filename for \"-P\"."), "ipptool"); + usage(); + } + + if (data.outfile != cupsFileStdout()) + usage(); + + if ((data.outfile = cupsFileOpen(argv[i], "w")) == NULL) + { + _cupsLangPrintf(stderr, _("%s: Unable to open \"%s\": %s"), "ipptool", argv[i], strerror(errno)); + exit(1); + } + + data.output = _CUPS_OUTPUT_PLIST; + + if (interval || repeat) + { + _cupsLangPuts(stderr, _("ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\".")); + usage(); + } + break; + + case 'S' : /* Encrypt with SSL */ +#ifdef HAVE_SSL + data.encryption = HTTP_ENCRYPT_ALWAYS; +#else + _cupsLangPrintf(stderr, _("%s: Sorry, no encryption support."), + argv[0]); +#endif /* HAVE_SSL */ + break; + + case 'T' : /* Set timeout */ + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("%s: Missing timeout for \"-T\"."), + "ipptool"); + usage(); + } + + data.timeout = _cupsStrScand(argv[i], NULL, localeconv()); + break; + + case 'V' : /* Set IPP version */ + i ++; + + if (i >= argc) + { + _cupsLangPrintf(stderr, + _("%s: Missing version for \"-V\"."), + "ipptool"); + usage(); + } + + if (!strcmp(argv[i], "1.0")) + { + data.def_version = 10; + } + else if (!strcmp(argv[i], "1.1")) + { + data.def_version = 11; + } + else if (!strcmp(argv[i], "2.0")) + { + data.def_version = 20; + } + else if (!strcmp(argv[i], "2.1")) + { + data.def_version = 21; + } + else if (!strcmp(argv[i], "2.2")) + { + data.def_version = 22; + } + else + { + _cupsLangPrintf(stderr, _("%s: Bad version %s for \"-V\"."), "ipptool", argv[i]); + usage(); + } + break; + + case 'X' : /* Produce XML output */ + data.output = _CUPS_OUTPUT_PLIST; + + if (interval || repeat) + { + _cupsLangPuts(stderr, _("ipptool: \"-i\" and \"-n\" are incompatible with \"-P\" and \"-X\".")); + usage(); + } + break; + + case 'c' : /* CSV output */ + data.output = _CUPS_OUTPUT_CSV; + break; + + case 'd' : /* Define a variable */ + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, + _("ipptool: Missing name=value for \"-d\".")); + usage(); + } + + strlcpy(name, argv[i], sizeof(name)); + if ((value = strchr(name, '=')) != NULL) + *value++ = '\0'; + else + value = name + strlen(name); + + _ippVarsSet(&vars, name, value); + break; + + case 'f' : /* Set the default test filename */ + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, + _("ipptool: Missing filename for \"-f\".")); + usage(); + } + + if (access(argv[i], 0)) + { + /* + * Try filename.gz... + */ + + snprintf(filename, sizeof(filename), "%s.gz", argv[i]); + if (access(filename, 0) && filename[0] != '/' +#ifdef _WIN32 + && (!isalpha(filename[0] & 255) || filename[1] != ':') +#endif /* _WIN32 */ + ) + { + snprintf(filename, sizeof(filename), "%s/ipptool/%s", cg->cups_datadir, argv[i]); + if (access(filename, 0)) + { + snprintf(filename, sizeof(filename), "%s/ipptool/%s.gz", cg->cups_datadir, argv[i]); + if (access(filename, 0)) + strlcpy(filename, argv[i], sizeof(filename)); + } + } + } + else + strlcpy(filename, argv[i], sizeof(filename)); + + _ippVarsSet(&vars, "filename", filename); + + if ((ext = strrchr(filename, '.')) != NULL) + { + /* + * Guess the MIME media type based on the extension... + */ + + if (!_cups_strcasecmp(ext, ".gif")) + _ippVarsSet(&vars, "filetype", "image/gif"); + else if (!_cups_strcasecmp(ext, ".htm") || + !_cups_strcasecmp(ext, ".htm.gz") || + !_cups_strcasecmp(ext, ".html") || + !_cups_strcasecmp(ext, ".html.gz")) + _ippVarsSet(&vars, "filetype", "text/html"); + else if (!_cups_strcasecmp(ext, ".jpg") || + !_cups_strcasecmp(ext, ".jpeg")) + _ippVarsSet(&vars, "filetype", "image/jpeg"); + else if (!_cups_strcasecmp(ext, ".pcl") || + !_cups_strcasecmp(ext, ".pcl.gz")) + _ippVarsSet(&vars, "filetype", "application/vnd.hp-PCL"); + else if (!_cups_strcasecmp(ext, ".pdf")) + _ippVarsSet(&vars, "filetype", "application/pdf"); + else if (!_cups_strcasecmp(ext, ".png")) + _ippVarsSet(&vars, "filetype", "image/png"); + else if (!_cups_strcasecmp(ext, ".ps") || + !_cups_strcasecmp(ext, ".ps.gz")) + _ippVarsSet(&vars, "filetype", "application/postscript"); + else if (!_cups_strcasecmp(ext, ".pwg") || + !_cups_strcasecmp(ext, ".pwg.gz") || + !_cups_strcasecmp(ext, ".ras") || + !_cups_strcasecmp(ext, ".ras.gz")) + _ippVarsSet(&vars, "filetype", "image/pwg-raster"); + else if (!_cups_strcasecmp(ext, ".tif") || + !_cups_strcasecmp(ext, ".tiff")) + _ippVarsSet(&vars, "filetype", "image/tiff"); + else if (!_cups_strcasecmp(ext, ".txt") || + !_cups_strcasecmp(ext, ".txt.gz")) + _ippVarsSet(&vars, "filetype", "text/plain"); + else if (!_cups_strcasecmp(ext, ".urf") || + !_cups_strcasecmp(ext, ".urf.gz")) + _ippVarsSet(&vars, "filetype", "image/urf"); + else if (!_cups_strcasecmp(ext, ".xps")) + _ippVarsSet(&vars, "filetype", "application/openxps"); + else + _ippVarsSet(&vars, "filetype", "application/octet-stream"); + } + else + { + /* + * Use the "auto-type" MIME media type... + */ + + _ippVarsSet(&vars, "filetype", "application/octet-stream"); + } + break; + + case 'h' : /* Validate response headers */ + data.validate_headers = 1; + break; + + case 'i' : /* Test every N seconds */ + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("ipptool: Missing seconds for \"-i\".")); + usage(); + } + else + { + interval = (int)(_cupsStrScand(argv[i], NULL, localeconv()) * 1000000.0); + if (interval <= 0) + { + _cupsLangPuts(stderr, _("ipptool: Invalid seconds for \"-i\".")); + usage(); + } + } + + if ((data.output == _CUPS_OUTPUT_PLIST || data.output == _CUPS_OUTPUT_IPPSERVER) && interval) + { + _cupsLangPuts(stderr, _("ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", and \"-X\".")); + usage(); + } + break; + + case 'l' : /* List as a table */ + data.output = _CUPS_OUTPUT_LIST; + break; + + case 'n' : /* Repeat count */ + i ++; + + if (i >= argc) + { + _cupsLangPuts(stderr, _("ipptool: Missing count for \"-n\".")); + usage(); + } + else + repeat = atoi(argv[i]); + + if ((data.output == _CUPS_OUTPUT_PLIST || data.output == _CUPS_OUTPUT_IPPSERVER) && repeat) + { + _cupsLangPuts(stderr, _("ipptool: \"-i\" and \"-n\" are incompatible with \"--ippserver\", \"-P\", and \"-X\".")); + usage(); + } + break; + + case 'q' : /* Be quiet */ + data.output = _CUPS_OUTPUT_QUIET; + break; + + case 't' : /* CUPS test output */ + data.output = _CUPS_OUTPUT_TEST; + break; + + case 'v' : /* Be verbose */ + data.verbosity ++; + break; + + default : + _cupsLangPrintf(stderr, _("%s: Unknown option \"-%c\"."), "ipptool", *opt); + usage(); + } + } + } + else if (!strncmp(argv[i], "ipp://", 6) || !strncmp(argv[i], "http://", 7) +#ifdef HAVE_SSL + || !strncmp(argv[i], "ipps://", 7) || !strncmp(argv[i], "https://", 8) +#endif /* HAVE_SSL */ + ) + { + /* + * Set URI... + */ + + if (vars.uri) + { + _cupsLangPuts(stderr, _("ipptool: May only specify a single URI.")); + usage(); + } + +#ifdef HAVE_SSL + if (!strncmp(argv[i], "ipps://", 7) || !strncmp(argv[i], "https://", 8)) + data.encryption = HTTP_ENCRYPT_ALWAYS; +#endif /* HAVE_SSL */ + + if (!_ippVarsSet(&vars, "uri", argv[i])) + { + _cupsLangPrintf(stderr, _("ipptool: Bad URI \"%s\"."), argv[i]); + return (1); + } + + if (vars.username[0] && vars.password) + cupsSetPasswordCB2(_ippVarsPasswordCB, &vars); + } + else + { + /* + * Run test... + */ + + if (!vars.uri) + { + _cupsLangPuts(stderr, _("ipptool: URI required before test file.")); + _cupsLangPuts(stderr, argv[i]); + usage(); + } + + if (access(argv[i], 0) && argv[i][0] != '/' +#ifdef _WIN32 + && (!isalpha(argv[i][0] & 255) || argv[i][1] != ':') +#endif /* _WIN32 */ + ) + { + snprintf(testname, sizeof(testname), "%s/ipptool/%s", cg->cups_datadir, argv[i]); + if (access(testname, 0)) + testfile = argv[i]; + else + testfile = testname; + } + else + testfile = argv[i]; + + if (!do_tests(testfile, &vars, &data)) + status = 1; + } + } + + if (!vars.uri || !testfile) + usage(); + + /* + * Loop if the interval is set... + */ + + if (data.output == _CUPS_OUTPUT_PLIST) + print_xml_trailer(&data, !status, NULL); + else if (interval > 0 && repeat > 0) + { + while (repeat > 1) + { + usleep((useconds_t)interval); + do_tests(testfile, &vars, &data); + repeat --; + } + } + else if (interval > 0) + { + for (;;) + { + usleep((useconds_t)interval); + do_tests(testfile, &vars, &data); + } + } + + if ((data.output == _CUPS_OUTPUT_TEST || (data.output == _CUPS_OUTPUT_PLIST && data.outfile)) && data.test_count > 1) + { + /* + * Show a summary report if there were multiple tests... + */ + + cupsFilePrintf(cupsFileStdout(), "\nSummary: %d tests, %d passed, %d failed, %d skipped\nScore: %d%%\n", data.test_count, data.pass_count, data.fail_count, data.skip_count, 100 * (data.pass_count + data.skip_count) / data.test_count); + } + + cupsFileClose(data.outfile); + +/* + * Exit... + */ + + return (status); +} + + +/* + * 'add_stringf()' - Add a formatted string to an array. + */ + +static void +add_stringf(cups_array_t *a, /* I - Array */ + const char *s, /* I - Printf-style format string */ + ...) /* I - Additional args as needed */ +{ + char buffer[10240]; /* Format buffer */ + va_list ap; /* Argument pointer */ + + + /* + * Don't bother is the array is NULL... + */ + + if (!a) + return; + + /* + * Format the message... + */ + + va_start(ap, s); + vsnprintf(buffer, sizeof(buffer), s, ap); + va_end(ap); + + /* + * Add it to the array... + */ + + cupsArrayAdd(a, buffer); +} + + +/* + * 'compare_uris()' - Compare two URIs... + */ + +static int /* O - Result of comparison */ +compare_uris(const char *a, /* I - First URI */ + const char *b) /* I - Second URI */ +{ + char ascheme[32], /* Components of first URI */ + auserpass[256], + ahost[256], + aresource[256]; + int aport; + char bscheme[32], /* Components of second URI */ + buserpass[256], + bhost[256], + bresource[256]; + int bport; + char *ptr; /* Pointer into string */ + int result; /* Result of comparison */ + + + /* + * Separate the URIs into their components... + */ + + if (httpSeparateURI(HTTP_URI_CODING_ALL, a, ascheme, sizeof(ascheme), auserpass, sizeof(auserpass), ahost, sizeof(ahost), &aport, aresource, sizeof(aresource)) < HTTP_URI_STATUS_OK) + return (-1); + + if (httpSeparateURI(HTTP_URI_CODING_ALL, b, bscheme, sizeof(bscheme), buserpass, sizeof(buserpass), bhost, sizeof(bhost), &bport, bresource, sizeof(bresource)) < HTTP_URI_STATUS_OK) + return (-1); + + /* + * Strip trailing dots from the host components, if present... + */ + + if ((ptr = ahost + strlen(ahost) - 1) > ahost && *ptr == '.') + *ptr = '\0'; + + if ((ptr = bhost + strlen(bhost) - 1) > bhost && *ptr == '.') + *ptr = '\0'; + + /* + * Compare each component... + */ + + if ((result = _cups_strcasecmp(ascheme, bscheme)) != 0) + return (result); + + if ((result = strcmp(auserpass, buserpass)) != 0) + return (result); + + if ((result = _cups_strcasecmp(ahost, bhost)) != 0) + return (result); + + if (aport != bport) + return (aport - bport); + + if (!_cups_strcasecmp(ascheme, "mailto") || !_cups_strcasecmp(ascheme, "urn")) + return (_cups_strcasecmp(aresource, bresource)); + else + return (strcmp(aresource, bresource)); +} + + +/* + * 'copy_hex_string()' - Copy an octetString to a C string and encode as hex if + * needed. + */ + +static void +copy_hex_string(char *buffer, /* I - String buffer */ + unsigned char *data, /* I - octetString data */ + int datalen, /* I - octetString length */ + size_t bufsize) /* I - Size of string buffer */ +{ + char *bufptr, /* Pointer into string buffer */ + *bufend = buffer + bufsize - 2; + /* End of string buffer */ + unsigned char *dataptr, /* Pointer into octetString data */ + *dataend = data + datalen; + /* End of octetString data */ + static const char *hexdigits = "0123456789ABCDEF"; + /* Hex digits */ + + + /* + * First see if there are any non-ASCII bytes in the octetString... + */ + + for (dataptr = data; dataptr < dataend; dataptr ++) + if (*dataptr < 0x20 || *dataptr >= 0x7f) + break; + + if (dataptr < dataend) + { + /* + * Yes, encode as hex... + */ + + *buffer = '<'; + + for (bufptr = buffer + 1, dataptr = data; bufptr < bufend && dataptr < dataend; dataptr ++) + { + *bufptr++ = hexdigits[*dataptr >> 4]; + *bufptr++ = hexdigits[*dataptr & 15]; + } + + if (bufptr < bufend) + *bufptr++ = '>'; + + *bufptr = '\0'; + } + else + { + /* + * No, copy as a string... + */ + + if ((size_t)datalen > bufsize) + datalen = (int)bufsize - 1; + + memcpy(buffer, data, (size_t)datalen); + buffer[datalen] = '\0'; + } +} + + +/* + * 'do_test()' - Do a single test from the test file. + */ + +static int /* O - 1 on success, 0 on failure */ +do_test(_ipp_file_t *f, /* I - IPP data file */ + _ipp_vars_t *vars, /* I - IPP variables */ + _cups_testdata_t *data) /* I - Test data */ + +{ + int i, /* Looping var */ + status_ok, /* Did we get a matching status? */ + repeat_count = 0, /* Repeat count */ + repeat_test; /* Repeat the test? */ + _cups_expect_t *expect; /* Current expected attribute */ + ipp_t *request, /* IPP request */ + *response; /* IPP response */ + size_t length; /* Length of IPP request */ + http_status_t status; /* HTTP status */ + cups_array_t *a; /* Duplicate attribute array */ + ipp_tag_t group; /* Current group */ + ipp_attribute_t *attrptr, /* Attribute pointer */ + *found; /* Found attribute */ + char temp[1024]; /* Temporary string */ + cups_file_t *reqfile; /* File to send */ + ssize_t bytes; /* Bytes read/written */ + char buffer[131072]; /* Copy buffer */ + size_t widths[200]; /* Width of columns */ + const char *error; /* Current error */ + + + if (Cancel) + return (0); + + /* + * Take over control of the attributes in the request... + */ + + request = f->attrs; + f->attrs = NULL; + + /* + * Submit the IPP request... + */ + + data->test_count ++; + + ippSetVersion(request, data->version / 10, data->version % 10); + ippSetRequestId(request, data->request_id); + + if (data->output == _CUPS_OUTPUT_PLIST) + { + cupsFilePuts(data->outfile, "\n"); + cupsFilePuts(data->outfile, "Name\n"); + print_xml_string(data->outfile, "string", data->name); + if (data->file_id[0]) + { + cupsFilePuts(data->outfile, "FileId\n"); + print_xml_string(data->outfile, "string", data->file_id); + } + if (data->test_id[0]) + { + cupsFilePuts(data->outfile, "TestId\n"); + print_xml_string(data->outfile, "string", data->test_id); + } + cupsFilePuts(data->outfile, "Version\n"); + cupsFilePrintf(data->outfile, "%d.%d\n", data->version / 10, data->version % 10); + cupsFilePuts(data->outfile, "Operation\n"); + print_xml_string(data->outfile, "string", ippOpString(ippGetOperation(request))); + cupsFilePuts(data->outfile, "RequestId\n"); + cupsFilePrintf(data->outfile, "%d\n", data->request_id); + cupsFilePuts(data->outfile, "RequestAttributes\n"); + cupsFilePuts(data->outfile, "\n"); + if (ippFirstAttribute(request)) + { + cupsFilePuts(data->outfile, "\n"); + for (attrptr = ippFirstAttribute(request), group = ippGetGroupTag(attrptr); attrptr; attrptr = ippNextAttribute(request)) + print_attr(data->outfile, data->output, attrptr, &group); + cupsFilePuts(data->outfile, "\n"); + } + cupsFilePuts(data->outfile, "\n"); + } + + if (data->output == _CUPS_OUTPUT_TEST || (data->output == _CUPS_OUTPUT_PLIST && data->outfile != cupsFileStdout())) + { + if (data->verbosity) + { + cupsFilePrintf(cupsFileStdout(), " %s:\n", ippOpString(ippGetOperation(request))); + + for (attrptr = ippFirstAttribute(request); attrptr; attrptr = ippNextAttribute(request)) + print_attr(cupsFileStdout(), _CUPS_OUTPUT_TEST, attrptr, NULL); + } + + cupsFilePrintf(cupsFileStdout(), " %-68.68s [", data->name); + } + + if ((data->skip_previous && !data->prev_pass) || data->skip_test) + { + data->skip_count ++; + + ippDelete(request); + request = NULL; + response = NULL; + + if (data->output == _CUPS_OUTPUT_PLIST) + { + cupsFilePuts(data->outfile, "Successful\n"); + cupsFilePuts(data->outfile, "\n"); + cupsFilePuts(data->outfile, "Skipped\n"); + cupsFilePuts(data->outfile, "\n"); + cupsFilePuts(data->outfile, "StatusCode\n"); + print_xml_string(data->outfile, "string", "skip"); + cupsFilePuts(data->outfile, "ResponseAttributes\n"); + cupsFilePuts(data->outfile, "\n"); + } + + if (data->output == _CUPS_OUTPUT_TEST || (data->output == _CUPS_OUTPUT_PLIST && data->outfile != cupsFileStdout())) + cupsFilePuts(cupsFileStdout(), "SKIP]\n"); + + goto skip_error; + } + + vars->password_tries = 0; + + do + { + if (data->delay > 0) + usleep(data->delay); + + data->delay = data->repeat_interval; + repeat_count ++; + + status = HTTP_STATUS_OK; + + if (data->transfer == _CUPS_TRANSFER_CHUNKED || (data->transfer == _CUPS_TRANSFER_AUTO && data->file[0])) + { + /* + * Send request using chunking - a 0 length means "chunk". + */ + + length = 0; + } + else + { + /* + * Send request using content length... + */ + + length = ippLength(request); + + if (data->file[0] && (reqfile = cupsFileOpen(data->file, "r")) != NULL) + { + /* + * Read the file to get the uncompressed file size... + */ + + while ((bytes = cupsFileRead(reqfile, buffer, sizeof(buffer))) > 0) + length += (size_t)bytes; + + cupsFileClose(reqfile); + } + } + + /* + * Send the request... + */ + + data->prev_pass = 1; + repeat_test = 0; + response = NULL; + + if (status != HTTP_STATUS_ERROR) + { + while (!response && !Cancel && data->prev_pass) + { + status = cupsSendRequest(data->http, request, data->resource, length); + +#ifdef HAVE_LIBZ + if (data->compression[0]) + httpSetField(data->http, HTTP_FIELD_CONTENT_ENCODING, data->compression); +#endif /* HAVE_LIBZ */ + + if (!Cancel && status == HTTP_STATUS_CONTINUE && ippGetState(request) == IPP_DATA && data->file[0]) + { + if ((reqfile = cupsFileOpen(data->file, "r")) != NULL) + { + while (!Cancel && (bytes = cupsFileRead(reqfile, buffer, sizeof(buffer))) > 0) + { + if ((status = cupsWriteRequestData(data->http, buffer, (size_t)bytes)) != HTTP_STATUS_CONTINUE) + break; + } + + cupsFileClose(reqfile); + } + else + { + snprintf(buffer, sizeof(buffer), "%s: %s", data->file, strerror(errno)); + _cupsSetError(IPP_INTERNAL_ERROR, buffer, 0); + + status = HTTP_STATUS_ERROR; + } + } + + /* + * Get the server's response... + */ + + if (!Cancel && status != HTTP_STATUS_ERROR) + { + response = cupsGetResponse(data->http, data->resource); + status = httpGetStatus(data->http); + } + + if (!Cancel && status == HTTP_STATUS_ERROR && httpError(data->http) != EINVAL && +#ifdef _WIN32 + httpError(data->http) != WSAETIMEDOUT) +#else + httpError(data->http) != ETIMEDOUT) +#endif /* _WIN32 */ + { + if (httpReconnect2(data->http, 30000, NULL)) + data->prev_pass = 0; + } + else if (status == HTTP_STATUS_ERROR || status == HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED) + { + data->prev_pass = 0; + break; + } + else if (status != HTTP_STATUS_OK) + { + httpFlush(data->http); + + if (status == HTTP_STATUS_UNAUTHORIZED) + continue; + + break; + } + } + } + + if (!Cancel && status == HTTP_STATUS_ERROR && httpError(data->http) != EINVAL && +#ifdef _WIN32 + httpError(data->http) != WSAETIMEDOUT) +#else + httpError(data->http) != ETIMEDOUT) +#endif /* _WIN32 */ + { + if (httpReconnect2(data->http, 30000, NULL)) + data->prev_pass = 0; + } + else if (status == HTTP_STATUS_ERROR) + { + if (!Cancel) + httpReconnect2(data->http, 30000, NULL); + + data->prev_pass = 0; + } + else if (status != HTTP_STATUS_OK) + { + httpFlush(data->http); + data->prev_pass = 0; + } + + /* + * Check results of request... + */ + + cupsArrayClear(data->errors); + + if (httpGetVersion(data->http) != HTTP_1_1) + { + int version = (int)httpGetVersion(data->http); + + add_stringf(data->errors, "Bad HTTP version (%d.%d)", version / 100, version % 100); + } + + if (data->validate_headers) + { + const char *header; /* HTTP header value */ + + if ((header = httpGetField(data->http, HTTP_FIELD_CONTENT_TYPE)) == NULL || _cups_strcasecmp(header, "application/ipp")) + add_stringf(data->errors, "Bad HTTP Content-Type in response (%s)", header && *header ? header : ""); + + if ((header = httpGetField(data->http, HTTP_FIELD_DATE)) != NULL && *header && httpGetDateTime(header) == 0) + add_stringf(data->errors, "Bad HTTP Date in response (%s)", header); + } + + if (!response) + { + /* + * No response, log error... + */ + + add_stringf(data->errors, "IPP request failed with status %s (%s)", ippErrorString(cupsLastError()), cupsLastErrorString()); + } + else + { + /* + * Collect common attribute values... + */ + + if ((attrptr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER)) != NULL) + { + snprintf(temp, sizeof(temp), "%d", ippGetInteger(attrptr, 0)); + _ippVarsSet(vars, "job-id", temp); + } + + if ((attrptr = ippFindAttribute(response, "job-uri", IPP_TAG_URI)) != NULL) + _ippVarsSet(vars, "job-uri", ippGetString(attrptr, 0, NULL)); + + if ((attrptr = ippFindAttribute(response, "notify-subscription-id", IPP_TAG_INTEGER)) != NULL) + { + snprintf(temp, sizeof(temp), "%d", ippGetInteger(attrptr, 0)); + _ippVarsSet(vars, "notify-subscription-id", temp); + } + + /* + * Check response, validating groups and attributes and logging errors + * as needed... + */ + + if (ippGetState(response) != IPP_DATA) + add_stringf(data->errors, "Missing end-of-attributes-tag in response (RFC 2910 section 3.5.1)"); + + if (data->version) + { + int major, minor; /* IPP version */ + + major = ippGetVersion(response, &minor); + + if (major != (data->version / 10) || minor != (data->version % 10)) + add_stringf(data->errors, "Bad version %d.%d in response - expected %d.%d (RFC 2911 section 3.1.8).", major, minor, data->version / 10, data->version % 10); + } + + if (ippGetRequestId(response) != data->request_id) + add_stringf(data->errors, "Bad request ID %d in response - expected %d (RFC 2911 section 3.1.1)", ippGetRequestId(response), data->request_id); + + attrptr = ippFirstAttribute(response); + if (!attrptr) + { + add_stringf(data->errors, "Missing first attribute \"attributes-charset (charset)\" in group operation-attributes-tag (RFC 2911 section 3.1.4)."); + } + else + { + if (!ippGetName(attrptr) || ippGetValueTag(attrptr) != IPP_TAG_CHARSET || ippGetGroupTag(attrptr) != IPP_TAG_OPERATION || ippGetCount(attrptr) != 1 ||strcmp(ippGetName(attrptr), "attributes-charset")) + add_stringf(data->errors, "Bad first attribute \"%s (%s%s)\" in group %s, expected \"attributes-charset (charset)\" in group operation-attributes-tag (RFC 2911 section 3.1.4).", ippGetName(attrptr) ? ippGetName(attrptr) : "(null)", ippGetCount(attrptr) > 1 ? "1setOf " : "", ippTagString(ippGetValueTag(attrptr)), ippTagString(ippGetGroupTag(attrptr))); + + attrptr = ippNextAttribute(response); + if (!attrptr) + add_stringf(data->errors, "Missing second attribute \"attributes-natural-language (naturalLanguage)\" in group operation-attributes-tag (RFC 2911 section 3.1.4)."); + else if (!ippGetName(attrptr) || ippGetValueTag(attrptr) != IPP_TAG_LANGUAGE || ippGetGroupTag(attrptr) != IPP_TAG_OPERATION || ippGetCount(attrptr) != 1 || strcmp(ippGetName(attrptr), "attributes-natural-language")) + add_stringf(data->errors, "Bad first attribute \"%s (%s%s)\" in group %s, expected \"attributes-natural-language (naturalLanguage)\" in group operation-attributes-tag (RFC 2911 section 3.1.4).", ippGetName(attrptr) ? ippGetName(attrptr) : "(null)", ippGetCount(attrptr) > 1 ? "1setOf " : "", ippTagString(ippGetValueTag(attrptr)), ippTagString(ippGetGroupTag(attrptr))); + } + + if ((attrptr = ippFindAttribute(response, "status-message", IPP_TAG_ZERO)) != NULL) + { + const char *status_message = ippGetString(attrptr, 0, NULL); + /* String value */ + + if (ippGetValueTag(attrptr) != IPP_TAG_TEXT) + add_stringf(data->errors, "status-message (text(255)) has wrong value tag %s (RFC 2911 section 3.1.6.2).", ippTagString(ippGetValueTag(attrptr))); + if (ippGetGroupTag(attrptr) != IPP_TAG_OPERATION) + add_stringf(data->errors, "status-message (text(255)) has wrong group tag %s (RFC 2911 section 3.1.6.2).", ippTagString(ippGetGroupTag(attrptr))); + if (ippGetCount(attrptr) != 1) + add_stringf(data->errors, "status-message (text(255)) has %d values (RFC 2911 section 3.1.6.2).", ippGetCount(attrptr)); + if (status_message && strlen(status_message) > 255) + add_stringf(data->errors, "status-message (text(255)) has bad length %d (RFC 2911 section 3.1.6.2).", (int)strlen(status_message)); + } + + if ((attrptr = ippFindAttribute(response, "detailed-status-message", + IPP_TAG_ZERO)) != NULL) + { + const char *detailed_status_message = ippGetString(attrptr, 0, NULL); + /* String value */ + + if (ippGetValueTag(attrptr) != IPP_TAG_TEXT) + add_stringf(data->errors, + "detailed-status-message (text(MAX)) has wrong " + "value tag %s (RFC 2911 section 3.1.6.3).", + ippTagString(ippGetValueTag(attrptr))); + if (ippGetGroupTag(attrptr) != IPP_TAG_OPERATION) + add_stringf(data->errors, + "detailed-status-message (text(MAX)) has wrong " + "group tag %s (RFC 2911 section 3.1.6.3).", + ippTagString(ippGetGroupTag(attrptr))); + if (ippGetCount(attrptr) != 1) + add_stringf(data->errors, + "detailed-status-message (text(MAX)) has %d values" + " (RFC 2911 section 3.1.6.3).", + ippGetCount(attrptr)); + if (detailed_status_message && strlen(detailed_status_message) > 1023) + add_stringf(data->errors, + "detailed-status-message (text(MAX)) has bad " + "length %d (RFC 2911 section 3.1.6.3).", + (int)strlen(detailed_status_message)); + } + + a = cupsArrayNew((cups_array_func_t)strcmp, NULL); + + for (attrptr = ippFirstAttribute(response), group = ippGetGroupTag(attrptr); + attrptr; + attrptr = ippNextAttribute(response)) + { + if (ippGetGroupTag(attrptr) != group) + { + int out_of_order = 0; /* Are attribute groups out-of-order? */ + cupsArrayClear(a); + + switch (ippGetGroupTag(attrptr)) + { + case IPP_TAG_ZERO : + break; + + case IPP_TAG_OPERATION : + out_of_order = 1; + break; + + case IPP_TAG_UNSUPPORTED_GROUP : + if (group != IPP_TAG_OPERATION) + out_of_order = 1; + break; + + case IPP_TAG_JOB : + case IPP_TAG_PRINTER : + if (group != IPP_TAG_OPERATION && group != IPP_TAG_UNSUPPORTED_GROUP) + out_of_order = 1; + break; + + case IPP_TAG_SUBSCRIPTION : + if (group > ippGetGroupTag(attrptr) && group != IPP_TAG_DOCUMENT) + out_of_order = 1; + break; + + default : + if (group > ippGetGroupTag(attrptr)) + out_of_order = 1; + break; + } + + if (out_of_order) + add_stringf(data->errors, "Attribute groups out of order (%s < %s)", + ippTagString(ippGetGroupTag(attrptr)), + ippTagString(group)); + + if (ippGetGroupTag(attrptr) != IPP_TAG_ZERO) + group = ippGetGroupTag(attrptr); + } + + if (!ippValidateAttribute(attrptr)) + cupsArrayAdd(data->errors, (void *)cupsLastErrorString()); + + if (ippGetName(attrptr)) + { + if (cupsArrayFind(a, (void *)ippGetName(attrptr)) && data->output < _CUPS_OUTPUT_LIST) + add_stringf(data->errors, "Duplicate \"%s\" attribute in %s group", + ippGetName(attrptr), ippTagString(group)); + + cupsArrayAdd(a, (void *)ippGetName(attrptr)); + } + } + + cupsArrayDelete(a); + + /* + * Now check the test-defined expected status-code and attribute + * values... + */ + + for (i = 0, status_ok = 0; i < data->num_statuses; i ++) + { + if (data->statuses[i].if_defined && + !_ippVarsGet(vars, data->statuses[i].if_defined)) + continue; + + if (data->statuses[i].if_not_defined && + _ippVarsGet(vars, data->statuses[i].if_not_defined)) + continue; + + if (ippGetStatusCode(response) == data->statuses[i].status) + { + status_ok = 1; + + if (data->statuses[i].repeat_match && repeat_count < data->statuses[i].repeat_limit) + repeat_test = 1; + + if (data->statuses[i].define_match) + _ippVarsSet(vars, data->statuses[i].define_match, "1"); + } + else + { + if (data->statuses[i].repeat_no_match && repeat_count < data->statuses[i].repeat_limit) + repeat_test = 1; + + if (data->statuses[i].define_no_match) + { + _ippVarsSet(vars, data->statuses[i].define_no_match, "1"); + status_ok = 1; + } + } + } + + if (!status_ok && data->num_statuses > 0) + { + for (i = 0; i < data->num_statuses; i ++) + { + if (data->statuses[i].if_defined && + !_ippVarsGet(vars, data->statuses[i].if_defined)) + continue; + + if (data->statuses[i].if_not_defined && + _ippVarsGet(vars, data->statuses[i].if_not_defined)) + continue; + + if (!data->statuses[i].repeat_match || repeat_count >= data->statuses[i].repeat_limit) + add_stringf(data->errors, "EXPECTED: STATUS %s (got %s)", + ippErrorString(data->statuses[i].status), + ippErrorString(cupsLastError())); + } + + if ((attrptr = ippFindAttribute(response, "status-message", + IPP_TAG_TEXT)) != NULL) + add_stringf(data->errors, "status-message=\"%s\"", ippGetString(attrptr, 0, NULL)); + } + + for (i = data->num_expects, expect = data->expects; i > 0; i --, expect ++) + { + ipp_attribute_t *group_found; /* Found parent attribute for group tests */ + + if (expect->if_defined && !_ippVarsGet(vars, expect->if_defined)) + continue; + + if (expect->if_not_defined && + _ippVarsGet(vars, expect->if_not_defined)) + continue; + + if ((found = ippFindAttribute(response, expect->name, IPP_TAG_ZERO)) != NULL && expect->in_group && expect->in_group != ippGetGroupTag(found)) + { + while ((found = ippFindNextAttribute(response, expect->name, IPP_TAG_ZERO)) != NULL) + if (expect->in_group == ippGetGroupTag(found)) + break; + } + + do + { + group_found = found; + + if (expect->in_group && strchr(expect->name, '/')) + { + char group_name[256],/* Parent attribute name */ + *group_ptr; /* Pointer into parent attribute name */ + + strlcpy(group_name, expect->name, sizeof(group_name)); + if ((group_ptr = strchr(group_name, '/')) != NULL) + *group_ptr = '\0'; + + group_found = ippFindAttribute(response, group_name, IPP_TAG_ZERO); + } + + if ((found && expect->not_expect) || + (!found && !(expect->not_expect || expect->optional)) || + (found && !expect_matches(expect, ippGetValueTag(found))) || + (group_found && expect->in_group && ippGetGroupTag(group_found) != expect->in_group)) + { + if (expect->define_no_match) + _ippVarsSet(vars, expect->define_no_match, "1"); + else if (!expect->define_match && !expect->define_value) + { + if (found && expect->not_expect && !expect->with_value && !expect->with_value_from) + add_stringf(data->errors, "NOT EXPECTED: %s", expect->name); + else if (!found && !(expect->not_expect || expect->optional)) + add_stringf(data->errors, "EXPECTED: %s", expect->name); + else if (found) + { + if (!expect_matches(expect, ippGetValueTag(found))) + add_stringf(data->errors, "EXPECTED: %s OF-TYPE %s (got %s)", + expect->name, expect->of_type, + ippTagString(ippGetValueTag(found))); + + if (expect->in_group && ippGetGroupTag(group_found) != expect->in_group) + add_stringf(data->errors, "EXPECTED: %s IN-GROUP %s (got %s).", + expect->name, ippTagString(expect->in_group), + ippTagString(ippGetGroupTag(group_found))); + } + } + + if (expect->repeat_no_match && repeat_count < expect->repeat_limit) + repeat_test = 1; + break; + } + + if (found) + ippAttributeString(found, buffer, sizeof(buffer)); + + if (found && expect->with_value_from && !with_value_from(NULL, ippFindAttribute(response, expect->with_value_from, IPP_TAG_ZERO), found, buffer, sizeof(buffer))) + { + if (expect->define_no_match) + _ippVarsSet(vars, expect->define_no_match, "1"); + else if (!expect->define_match && !expect->define_value && ((!expect->repeat_match && !expect->repeat_no_match) || repeat_count >= expect->repeat_limit)) + { + add_stringf(data->errors, "EXPECTED: %s WITH-VALUES-FROM %s", expect->name, expect->with_value_from); + + with_value_from(data->errors, ippFindAttribute(response, expect->with_value_from, IPP_TAG_ZERO), found, buffer, sizeof(buffer)); + } + + if (expect->repeat_no_match && repeat_count < expect->repeat_limit) + repeat_test = 1; + + break; + } + else if (found && !with_value(data, NULL, expect->with_value, expect->with_flags, found, buffer, sizeof(buffer))) + { + if (expect->define_no_match) + _ippVarsSet(vars, expect->define_no_match, "1"); + else if (!expect->define_match && !expect->define_value && + !expect->repeat_match && (!expect->repeat_no_match || repeat_count >= expect->repeat_limit)) + { + if (expect->with_flags & _CUPS_WITH_REGEX) + add_stringf(data->errors, "EXPECTED: %s %s /%s/", expect->name, with_flags_string(expect->with_flags), expect->with_value); + else + add_stringf(data->errors, "EXPECTED: %s %s \"%s\"", expect->name, with_flags_string(expect->with_flags), expect->with_value); + + with_value(data, data->errors, expect->with_value, expect->with_flags, found, buffer, sizeof(buffer)); + } + + if (expect->repeat_no_match && + repeat_count < expect->repeat_limit) + repeat_test = 1; + + break; + } + + if (found && expect->count > 0 && ippGetCount(found) != expect->count) + { + if (expect->define_no_match) + _ippVarsSet(vars, expect->define_no_match, "1"); + else if (!expect->define_match && !expect->define_value) + { + add_stringf(data->errors, "EXPECTED: %s COUNT %d (got %d)", expect->name, + expect->count, ippGetCount(found)); + } + + if (expect->repeat_no_match && + repeat_count < expect->repeat_limit) + repeat_test = 1; + + break; + } + + if (found && expect->same_count_as) + { + attrptr = ippFindAttribute(response, expect->same_count_as, + IPP_TAG_ZERO); + + if (!attrptr || ippGetCount(attrptr) != ippGetCount(found)) + { + if (expect->define_no_match) + _ippVarsSet(vars, expect->define_no_match, "1"); + else if (!expect->define_match && !expect->define_value) + { + if (!attrptr) + add_stringf(data->errors, + "EXPECTED: %s (%d values) SAME-COUNT-AS %s " + "(not returned)", expect->name, + ippGetCount(found), expect->same_count_as); + else if (ippGetCount(attrptr) != ippGetCount(found)) + add_stringf(data->errors, + "EXPECTED: %s (%d values) SAME-COUNT-AS %s " + "(%d values)", expect->name, ippGetCount(found), + expect->same_count_as, ippGetCount(attrptr)); + } + + if (expect->repeat_no_match && + repeat_count < expect->repeat_limit) + repeat_test = 1; + + break; + } + } + + if (found && expect->define_match) + _ippVarsSet(vars, expect->define_match, "1"); + + if (found && expect->define_value) + { + if (!expect->with_value) + { + int last = ippGetCount(found) - 1; + /* Last element in attribute */ + + switch (ippGetValueTag(found)) + { + case IPP_TAG_ENUM : + case IPP_TAG_INTEGER : + snprintf(buffer, sizeof(buffer), "%d", ippGetInteger(found, last)); + break; + + case IPP_TAG_BOOLEAN : + if (ippGetBoolean(found, last)) + strlcpy(buffer, "true", sizeof(buffer)); + else + strlcpy(buffer, "false", sizeof(buffer)); + break; + + case IPP_TAG_RESOLUTION : + { + int xres, /* Horizontal resolution */ + yres; /* Vertical resolution */ + ipp_res_t units; /* Resolution units */ + + xres = ippGetResolution(found, last, &yres, &units); + + if (xres == yres) + snprintf(buffer, sizeof(buffer), "%d%s", xres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + else + snprintf(buffer, sizeof(buffer), "%dx%d%s", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + } + break; + + case IPP_TAG_CHARSET : + case IPP_TAG_KEYWORD : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + case IPP_TAG_NAME : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_TEXTLANG : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + strlcpy(buffer, ippGetString(found, last, NULL), sizeof(buffer)); + break; + + default : + ippAttributeString(found, buffer, sizeof(buffer)); + break; + } + } + + _ippVarsSet(vars, expect->define_value, buffer); + } + + if (found && expect->repeat_match && + repeat_count < expect->repeat_limit) + repeat_test = 1; + } + while (expect->expect_all && (found = ippFindNextAttribute(response, expect->name, IPP_TAG_ZERO)) != NULL); + } + } + + /* + * If we are going to repeat this test, display intermediate results... + */ + + if (repeat_test) + { + if (data->output == _CUPS_OUTPUT_TEST || (data->output == _CUPS_OUTPUT_PLIST && data->outfile != cupsFileStdout())) + { + cupsFilePrintf(cupsFileStdout(), "%04d]\n", repeat_count); +\ + if (data->num_displayed > 0) + { + for (attrptr = ippFirstAttribute(response); attrptr; attrptr = ippNextAttribute(response)) + { + const char *attrname = ippGetName(attrptr); + if (attrname) + { + for (i = 0; i < data->num_displayed; i ++) + { + if (!strcmp(data->displayed[i], attrname)) + { + print_attr(cupsFileStdout(), _CUPS_OUTPUT_TEST, attrptr, NULL); + break; + } + } + } + } + } + } + + if (data->output == _CUPS_OUTPUT_TEST || (data->output == _CUPS_OUTPUT_PLIST && data->outfile != cupsFileStdout())) + { + cupsFilePrintf(cupsFileStdout(), " %-68.68s [", data->name); + } + + ippDelete(response); + response = NULL; + } + } + while (repeat_test); + + ippDelete(request); + + request = NULL; + + if (cupsArrayCount(data->errors) > 0) + data->prev_pass = data->pass = 0; + + if (data->prev_pass) + data->pass_count ++; + else + data->fail_count ++; + + if (data->output == _CUPS_OUTPUT_PLIST) + { + cupsFilePuts(data->outfile, "Successful\n"); + cupsFilePuts(data->outfile, data->prev_pass ? "\n" : "\n"); + cupsFilePuts(data->outfile, "StatusCode\n"); + print_xml_string(data->outfile, "string", ippErrorString(cupsLastError())); + cupsFilePuts(data->outfile, "ResponseAttributes\n"); + cupsFilePuts(data->outfile, "\n"); + cupsFilePuts(data->outfile, "\n"); + for (attrptr = ippFirstAttribute(response), group = ippGetGroupTag(attrptr); + attrptr; + attrptr = ippNextAttribute(response)) + print_attr(data->outfile, data->output, attrptr, &group); + cupsFilePuts(data->outfile, "\n"); + cupsFilePuts(data->outfile, "\n"); + } + else if (data->output == _CUPS_OUTPUT_IPPSERVER && response) + { + for (attrptr = ippFirstAttribute(response); attrptr; attrptr = ippNextAttribute(response)) + { + if (!ippGetName(attrptr) || ippGetGroupTag(attrptr) != IPP_TAG_PRINTER) + continue; + + print_ippserver_attr(data, attrptr, 0); + } + } + + if (data->output == _CUPS_OUTPUT_TEST || (data->output == _CUPS_OUTPUT_PLIST && data->outfile != cupsFileStdout())) + { + cupsFilePuts(cupsFileStdout(), data->prev_pass ? "PASS]\n" : "FAIL]\n"); + + if (!data->prev_pass || (data->verbosity && response)) + { + cupsFilePrintf(cupsFileStdout(), " RECEIVED: %lu bytes in response\n", (unsigned long)ippLength(response)); + cupsFilePrintf(cupsFileStdout(), " status-code = %s (%s)\n", ippErrorString(cupsLastError()), cupsLastErrorString()); + + if (data->verbosity && response) + { + for (attrptr = ippFirstAttribute(response); attrptr; attrptr = ippNextAttribute(response)) + print_attr(cupsFileStdout(), _CUPS_OUTPUT_TEST, attrptr, NULL); + } + } + } + else if (!data->prev_pass && data->output != _CUPS_OUTPUT_QUIET) + fprintf(stderr, "%s\n", cupsLastErrorString()); + + if (data->prev_pass && data->output >= _CUPS_OUTPUT_LIST && !data->verbosity && data->num_displayed > 0) + { + size_t width; /* Length of value */ + + for (i = 0; i < data->num_displayed; i ++) + { + widths[i] = strlen(data->displayed[i]); + + for (attrptr = ippFindAttribute(response, data->displayed[i], IPP_TAG_ZERO); + attrptr; + attrptr = ippFindNextAttribute(response, data->displayed[i], IPP_TAG_ZERO)) + { + width = ippAttributeString(attrptr, NULL, 0); + if (width > widths[i]) + widths[i] = width; + } + } + + if (data->output == _CUPS_OUTPUT_CSV) + print_csv(data, NULL, NULL, data->num_displayed, data->displayed, widths); + else + print_line(data, NULL, NULL, data->num_displayed, data->displayed, widths); + + attrptr = ippFirstAttribute(response); + + while (attrptr) + { + while (attrptr && ippGetGroupTag(attrptr) <= IPP_TAG_OPERATION) + attrptr = ippNextAttribute(response); + + if (attrptr) + { + if (data->output == _CUPS_OUTPUT_CSV) + print_csv(data, response, attrptr, data->num_displayed, data->displayed, widths); + else + print_line(data, response, attrptr, data->num_displayed, data->displayed, widths); + + while (attrptr && ippGetGroupTag(attrptr) > IPP_TAG_OPERATION) + attrptr = ippNextAttribute(response); + } + } + } + else if (!data->prev_pass) + { + if (data->output == _CUPS_OUTPUT_PLIST) + { + cupsFilePuts(data->outfile, "Errors\n"); + cupsFilePuts(data->outfile, "\n"); + + for (error = (char *)cupsArrayFirst(data->errors); + error; + error = (char *)cupsArrayNext(data->errors)) + print_xml_string(data->outfile, "string", error); + + cupsFilePuts(data->outfile, "\n"); + } + + if (data->output == _CUPS_OUTPUT_TEST || (data->output == _CUPS_OUTPUT_PLIST && data->outfile != cupsFileStdout())) + { + for (error = (char *)cupsArrayFirst(data->errors); + error; + error = (char *)cupsArrayNext(data->errors)) + cupsFilePrintf(cupsFileStdout(), " %s\n", error); + } + } + + if (data->num_displayed > 0 && !data->verbosity && response && (data->output == _CUPS_OUTPUT_TEST || (data->output == _CUPS_OUTPUT_PLIST && data->outfile != cupsFileStdout()))) + { + for (attrptr = ippFirstAttribute(response); attrptr; attrptr = ippNextAttribute(response)) + { + if (ippGetName(attrptr)) + { + for (i = 0; i < data->num_displayed; i ++) + { + if (!strcmp(data->displayed[i], ippGetName(attrptr))) + { + print_attr(data->outfile, data->output, attrptr, NULL); + break; + } + } + } + } + } + + skip_error: + + if (data->output == _CUPS_OUTPUT_PLIST) + cupsFilePuts(data->outfile, "\n"); + + ippDelete(response); + response = NULL; + + for (i = 0; i < data->num_statuses; i ++) + { + if (data->statuses[i].if_defined) + free(data->statuses[i].if_defined); + if (data->statuses[i].if_not_defined) + free(data->statuses[i].if_not_defined); + if (data->statuses[i].define_match) + free(data->statuses[i].define_match); + if (data->statuses[i].define_no_match) + free(data->statuses[i].define_no_match); + } + data->num_statuses = 0; + + for (i = data->num_expects, expect = data->expects; i > 0; i --, expect ++) + { + free(expect->name); + if (expect->of_type) + free(expect->of_type); + if (expect->same_count_as) + free(expect->same_count_as); + if (expect->if_defined) + free(expect->if_defined); + if (expect->if_not_defined) + free(expect->if_not_defined); + if (expect->with_value) + free(expect->with_value); + if (expect->define_match) + free(expect->define_match); + if (expect->define_no_match) + free(expect->define_no_match); + if (expect->define_value) + free(expect->define_value); + } + data->num_expects = 0; + + for (i = 0; i < data->num_displayed; i ++) + free(data->displayed[i]); + data->num_displayed = 0; + + return (data->ignore_errors || data->prev_pass); +} + + +/* + * 'do_tests()' - Do tests as specified in the test file. + */ + +static int /* O - 1 on success, 0 on failure */ +do_tests(const char *testfile, /* I - Test file to use */ + _ipp_vars_t *vars, /* I - Variables */ + _cups_testdata_t *data) /* I - Test data */ +{ + http_encryption_t encryption; /* Encryption mode */ + + + /* + * Connect to the printer/server... + */ + + if (!_cups_strcasecmp(vars->scheme, "https") || !_cups_strcasecmp(vars->scheme, "ipps")) + encryption = HTTP_ENCRYPTION_ALWAYS; + else + encryption = data->encryption; + + if ((data->http = httpConnect2(vars->host, vars->port, NULL, data->family, encryption, 1, 30000, NULL)) == NULL) + { + print_fatal_error(data, "Unable to connect to \"%s\" on port %d - %s", vars->host, vars->port, cupsLastErrorString()); + return (0); + } + +#ifdef HAVE_LIBZ + httpSetDefaultField(data->http, HTTP_FIELD_ACCEPT_ENCODING, "deflate, gzip, identity"); +#else + httpSetDefaultField(data->http, HTTP_FIELD_ACCEPT_ENCODING, "identity"); +#endif /* HAVE_LIBZ */ + + if (data->timeout > 0.0) + httpSetTimeout(data->http, data->timeout, timeout_cb, NULL); + + /* + * Run tests... + */ + + _ippFileParse(vars, testfile, (void *)data); + + /* + * Close connection and return... + */ + + httpClose(data->http); + data->http = NULL; + + return (data->pass); +} + + +/* + * 'error_cb()' - Print/add an error message. + */ + +static int /* O - 1 to continue, 0 to stop */ +error_cb(_ipp_file_t *f, /* I - IPP file data */ + _cups_testdata_t *data, /* I - Test data */ + const char *error) /* I - Error message */ +{ + (void)f; + + print_fatal_error(data, "%s", error); + + return (1); +} + + +/* + * 'expect_matches()' - Return true if the tag matches the specification. + */ + +static int /* O - 1 if matches, 0 otherwise */ +expect_matches( + _cups_expect_t *expect, /* I - Expected attribute */ + ipp_tag_t value_tag) /* I - Value tag for attribute */ +{ + int match; /* Match? */ + char *of_type, /* Type name to match */ + *next, /* Next name to match */ + sep; /* Separator character */ + + + /* + * If we don't expect a particular type, return immediately... + */ + + if (!expect->of_type) + return (1); + + /* + * Parse the "of_type" value since the string can contain multiple attribute + * types separated by "," or "|"... + */ + + for (of_type = expect->of_type, match = 0; !match && *of_type; of_type = next) + { + /* + * Find the next separator, and set it (temporarily) to nul if present. + */ + + for (next = of_type; *next && *next != '|' && *next != ','; next ++); + + if ((sep = *next) != '\0') + *next = '\0'; + + /* + * Support some meta-types to make it easier to write the test file. + */ + + if (!strcmp(of_type, "text")) + match = value_tag == IPP_TAG_TEXTLANG || value_tag == IPP_TAG_TEXT; + else if (!strcmp(of_type, "name")) + match = value_tag == IPP_TAG_NAMELANG || value_tag == IPP_TAG_NAME; + else if (!strcmp(of_type, "collection")) + match = value_tag == IPP_TAG_BEGIN_COLLECTION; + else + match = value_tag == ippTagValue(of_type); + + /* + * Restore the separator if we have one... + */ + + if (sep) + *next++ = sep; + } + + return (match); +} + + +/* + * 'get_filename()' - Get a filename based on the current test file. + */ + +static char * /* O - Filename */ +get_filename(const char *testfile, /* I - Current test file */ + char *dst, /* I - Destination filename */ + const char *src, /* I - Source filename */ + size_t dstsize) /* I - Size of destination buffer */ +{ + char *dstptr; /* Pointer into destination */ + _cups_globals_t *cg = _cupsGlobals(); + /* Global data */ + + + if (*src == '<' && src[strlen(src) - 1] == '>') + { + /* + * Map to CUPS_DATADIR/ipptool/filename... + */ + + snprintf(dst, dstsize, "%s/ipptool/%s", cg->cups_datadir, src + 1); + dstptr = dst + strlen(dst) - 1; + if (*dstptr == '>') + *dstptr = '\0'; + } + else if (!access(src, R_OK) || *src == '/' +#ifdef _WIN32 + || (isalpha(*src & 255) && src[1] == ':') +#endif /* _WIN32 */ + ) + { + /* + * Use the path as-is... + */ + + strlcpy(dst, src, dstsize); + } + else + { + /* + * Make path relative to testfile... + */ + + strlcpy(dst, testfile, dstsize); + if ((dstptr = strrchr(dst, '/')) != NULL) + dstptr ++; + else + dstptr = dst; /* Should never happen */ + + strlcpy(dstptr, src, dstsize - (size_t)(dstptr - dst)); + } + + return (dst); +} + + +/* + * 'get_string()' - Get a pointer to a string value or the portion of interest. + */ + +static const char * /* O - Pointer to string */ +get_string(ipp_attribute_t *attr, /* I - IPP attribute */ + int element, /* I - Element to fetch */ + int flags, /* I - Value ("with") flags */ + char *buffer, /* I - Temporary buffer */ + size_t bufsize) /* I - Size of temporary buffer */ +{ + const char *value; /* Value */ + char *ptr, /* Pointer into value */ + scheme[256], /* URI scheme */ + userpass[256], /* Username/password */ + hostname[256], /* Hostname */ + resource[1024]; /* Resource */ + int port; /* Port number */ + + + value = ippGetString(attr, element, NULL); + + if (flags & _CUPS_WITH_HOSTNAME) + { + if (httpSeparateURI(HTTP_URI_CODING_ALL, value, scheme, sizeof(scheme), userpass, sizeof(userpass), buffer, (int)bufsize, &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK) + buffer[0] = '\0'; + + ptr = buffer + strlen(buffer) - 1; + if (ptr >= buffer && *ptr == '.') + *ptr = '\0'; /* Drop trailing "." */ + + return (buffer); + } + else if (flags & _CUPS_WITH_RESOURCE) + { + if (httpSeparateURI(HTTP_URI_CODING_ALL, value, scheme, sizeof(scheme), userpass, sizeof(userpass), hostname, sizeof(hostname), &port, buffer, (int)bufsize) < HTTP_URI_STATUS_OK) + buffer[0] = '\0'; + + return (buffer); + } + else if (flags & _CUPS_WITH_SCHEME) + { + if (httpSeparateURI(HTTP_URI_CODING_ALL, value, buffer, (int)bufsize, userpass, sizeof(userpass), hostname, sizeof(hostname), &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK) + buffer[0] = '\0'; + + return (buffer); + } + else if (ippGetValueTag(attr) == IPP_TAG_URI && (!strncmp(value, "ipp://", 6) || !strncmp(value, "http://", 7) || !strncmp(value, "ipps://", 7) || !strncmp(value, "https://", 8))) + { + http_uri_status_t status = httpSeparateURI(HTTP_URI_CODING_ALL, value, scheme, sizeof(scheme), userpass, sizeof(userpass), hostname, sizeof(hostname), &port, resource, sizeof(resource)); + + if (status < HTTP_URI_STATUS_OK) + { + /* + * Bad URI... + */ + + buffer[0] = '\0'; + } + else + { + /* + * Normalize URI with no trailing dot... + */ + + if ((ptr = hostname + strlen(hostname) - 1) >= hostname && *ptr == '.') + *ptr = '\0'; + + httpAssembleURI(HTTP_URI_CODING_ALL, buffer, (int)bufsize, scheme, userpass, hostname, port, resource); + } + + return (buffer); + } + else + return (value); +} + + +/* + * 'init_data()' - Initialize test data. + */ + +static void +init_data(_cups_testdata_t *data) /* I - Data */ +{ + memset(data, 0, sizeof(_cups_testdata_t)); + + data->output = _CUPS_OUTPUT_LIST; + data->outfile = cupsFileStdout(); + data->family = AF_UNSPEC; + data->def_transfer = _CUPS_TRANSFER_AUTO; + data->def_version = 11; + data->errors = cupsArrayNew3(NULL, NULL, NULL, 0, (cups_acopy_func_t)strdup, (cups_afree_func_t)free); + data->pass = 1; + data->prev_pass = 1; + data->request_id = (CUPS_RAND() % 1000) * 137 + 1; + data->show_header = 1; +} + + +/* + * 'iso_date()' - Return an ISO 8601 date/time string for the given IPP dateTime + * value. + */ + +static char * /* O - ISO 8601 date/time string */ +iso_date(const ipp_uchar_t *date) /* I - IPP (RFC 1903) date/time value */ +{ + time_t utctime; /* UTC time since 1970 */ + struct tm utcdate; /* UTC date/time */ + static char buffer[255]; /* String buffer */ + + + utctime = ippDateToTime(date); + gmtime_r(&utctime, &utcdate); + + snprintf(buffer, sizeof(buffer), "%04d-%02d-%02dT%02d:%02d:%02dZ", + utcdate.tm_year + 1900, utcdate.tm_mon + 1, utcdate.tm_mday, + utcdate.tm_hour, utcdate.tm_min, utcdate.tm_sec); + + return (buffer); +} + + +/* + * 'pause_message()' - Display the message and pause until the user presses a key. + */ + +static void +pause_message(const char *message) /* I - Message */ +{ +#ifdef _WIN32 + HANDLE tty; /* Console handle */ + DWORD mode; /* Console mode */ + char key; /* Key press */ + DWORD bytes; /* Bytes read for key press */ + + + /* + * Disable input echo and set raw input... + */ + + if ((tty = GetStdHandle(STD_INPUT_HANDLE)) == INVALID_HANDLE_VALUE) + return; + + if (!GetConsoleMode(tty, &mode)) + return; + + if (!SetConsoleMode(tty, 0)) + return; + +#else + int tty; /* /dev/tty - never read from stdin */ + struct termios original, /* Original input mode */ + noecho; /* No echo input mode */ + char key; /* Current key press */ + + + /* + * Disable input echo and set raw input... + */ + + if ((tty = open("/dev/tty", O_RDONLY)) < 0) + return; + + if (tcgetattr(tty, &original)) + { + close(tty); + return; + } + + noecho = original; + noecho.c_lflag &= (tcflag_t)~(ICANON | ECHO | ECHOE | ISIG); + + if (tcsetattr(tty, TCSAFLUSH, &noecho)) + { + close(tty); + return; + } +#endif /* _WIN32 */ + + /* + * Display the prompt... + */ + + cupsFilePrintf(cupsFileStdout(), "%s\n---- PRESS ANY KEY ----", message); + +#ifdef _WIN32 + /* + * Read a key... + */ + + ReadFile(tty, &key, 1, &bytes, NULL); + + /* + * Cleanup... + */ + + SetConsoleMode(tty, mode); + +#else + /* + * Read a key... + */ + + read(tty, &key, 1); + + /* + * Cleanup... + */ + + tcsetattr(tty, TCSAFLUSH, &original); + close(tty); +#endif /* _WIN32 */ + + /* + * Erase the "press any key" prompt... + */ + + cupsFilePuts(cupsFileStdout(), "\r \r"); +} + + +/* + * 'print_attr()' - Print an attribute on the screen. + */ + +static void +print_attr(cups_file_t *outfile, /* I - Output file */ + _cups_output_t output, /* I - Output format */ + ipp_attribute_t *attr, /* I - Attribute to print */ + ipp_tag_t *group) /* IO - Current group */ +{ + int i, /* Looping var */ + count; /* Number of values */ + ipp_attribute_t *colattr; /* Collection attribute */ + + + if (output == _CUPS_OUTPUT_PLIST) + { + if (!ippGetName(attr) || (group && *group != ippGetGroupTag(attr))) + { + if (ippGetGroupTag(attr) != IPP_TAG_ZERO) + { + cupsFilePuts(outfile, "\n"); + cupsFilePuts(outfile, "\n"); + } + + if (group) + *group = ippGetGroupTag(attr); + } + + if (!ippGetName(attr)) + return; + + print_xml_string(outfile, "key", ippGetName(attr)); + if ((count = ippGetCount(attr)) > 1) + cupsFilePuts(outfile, "\n"); + + switch (ippGetValueTag(attr)) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + for (i = 0; i < count; i ++) + cupsFilePrintf(outfile, "%d\n", ippGetInteger(attr, i)); + break; + + case IPP_TAG_BOOLEAN : + for (i = 0; i < count; i ++) + cupsFilePuts(outfile, ippGetBoolean(attr, i) ? "\n" : "\n"); + break; + + case IPP_TAG_RANGE : + for (i = 0; i < count; i ++) + { + int lower, upper; /* Lower and upper ranges */ + + lower = ippGetRange(attr, i, &upper); + cupsFilePrintf(outfile, "lower%dupper%d\n", lower, upper); + } + break; + + case IPP_TAG_RESOLUTION : + for (i = 0; i < count; i ++) + { + int xres, yres; /* Resolution values */ + ipp_res_t units; /* Resolution units */ + + xres = ippGetResolution(attr, i, &yres, &units); + cupsFilePrintf(outfile, "xres%dyres%dunits%s\n", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + } + break; + + case IPP_TAG_DATE : + for (i = 0; i < count; i ++) + cupsFilePrintf(outfile, "%s\n", iso_date(ippGetDate(attr, i))); + break; + + case IPP_TAG_STRING : + for (i = 0; i < count; i ++) + { + int datalen; /* Length of data */ + void *data = ippGetOctetString(attr, i, &datalen); + /* Data */ + char buffer[IPP_MAX_LENGTH * 5 / 4 + 1]; + /* Base64 output buffer */ + + cupsFilePrintf(outfile, "%s\n", httpEncode64_2(buffer, sizeof(buffer), data, datalen)); + } + break; + + case IPP_TAG_TEXT : + case IPP_TAG_NAME : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + for (i = 0; i < count; i ++) + print_xml_string(outfile, "string", ippGetString(attr, i, NULL)); + break; + + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAMELANG : + for (i = 0; i < count; i ++) + { + const char *s, /* String */ + *lang; /* Language */ + + s = ippGetString(attr, i, &lang); + cupsFilePuts(outfile, "language"); + print_xml_string(outfile, NULL, lang); + cupsFilePuts(outfile, "string"); + print_xml_string(outfile, NULL, s); + cupsFilePuts(outfile, "\n"); + } + break; + + case IPP_TAG_BEGIN_COLLECTION : + for (i = 0; i < count; i ++) + { + ipp_t *col = ippGetCollection(attr, i); + /* Collection value */ + + cupsFilePuts(outfile, "\n"); + for (colattr = ippFirstAttribute(col); colattr; colattr = ippNextAttribute(col)) + print_attr(outfile, output, colattr, NULL); + cupsFilePuts(outfile, "\n"); + } + break; + + default : + cupsFilePrintf(outfile, "<<%s>>\n", ippTagString(ippGetValueTag(attr))); + break; + } + + if (count > 1) + cupsFilePuts(outfile, "\n"); + } + else + { + char buffer[131072]; /* Value buffer */ + + if (output == _CUPS_OUTPUT_TEST) + { + if (!ippGetName(attr)) + { + cupsFilePuts(outfile, " -- separator --\n"); + return; + } + + cupsFilePrintf(outfile, " %s (%s%s) = ", ippGetName(attr), ippGetCount(attr) > 1 ? "1setOf " : "", ippTagString(ippGetValueTag(attr))); + } + + ippAttributeString(attr, buffer, sizeof(buffer)); + cupsFilePrintf(outfile, "%s\n", buffer); + } +} + + +/* + * 'print_csv()' - Print a line of CSV text. + */ + +static void +print_csv( + _cups_testdata_t *data, /* I - Test data */ + ipp_t *ipp, /* I - Response message */ + ipp_attribute_t *attr, /* I - First attribute for line */ + int num_displayed, /* I - Number of attributes to display */ + char **displayed, /* I - Attributes to display */ + size_t *widths) /* I - Column widths */ +{ + int i; /* Looping var */ + size_t maxlength; /* Max length of all columns */ + char *buffer, /* String buffer */ + *bufptr; /* Pointer into buffer */ + ipp_attribute_t *current; /* Current attribute */ + + + /* + * Get the maximum string length we have to show and allocate... + */ + + for (i = 1, maxlength = widths[0]; i < num_displayed; i ++) + if (widths[i] > maxlength) + maxlength = widths[i]; + + maxlength += 2; + + if ((buffer = malloc(maxlength)) == NULL) + return; + + /* + * Loop through the attributes to display... + */ + + if (attr) + { + for (i = 0; i < num_displayed; i ++) + { + if (i) + cupsFilePutChar(data->outfile, ','); + + buffer[0] = '\0'; + + for (current = attr; current; current = ippNextAttribute(ipp)) + { + if (!ippGetName(current)) + break; + else if (!strcmp(ippGetName(current), displayed[i])) + { + ippAttributeString(current, buffer, maxlength); + break; + } + } + + if (strchr(buffer, ',') != NULL || strchr(buffer, '\"') != NULL || + strchr(buffer, '\\') != NULL) + { + cupsFilePutChar(cupsFileStdout(), '\"'); + for (bufptr = buffer; *bufptr; bufptr ++) + { + if (*bufptr == '\\' || *bufptr == '\"') + cupsFilePutChar(cupsFileStdout(), '\\'); + cupsFilePutChar(cupsFileStdout(), *bufptr); + } + cupsFilePutChar(cupsFileStdout(), '\"'); + } + else + cupsFilePuts(data->outfile, buffer); + } + cupsFilePutChar(cupsFileStdout(), '\n'); + } + else + { + for (i = 0; i < num_displayed; i ++) + { + if (i) + cupsFilePutChar(cupsFileStdout(), ','); + + cupsFilePuts(data->outfile, displayed[i]); + } + cupsFilePutChar(cupsFileStdout(), '\n'); + } + + free(buffer); +} + + +/* + * 'print_fatal_error()' - Print a fatal error message. + */ + +static void +print_fatal_error( + _cups_testdata_t *data, /* I - Test data */ + const char *s, /* I - Printf-style format string */ + ...) /* I - Additional arguments as needed */ +{ + char buffer[10240]; /* Format buffer */ + va_list ap; /* Pointer to arguments */ + + + /* + * Format the error message... + */ + + va_start(ap, s); + vsnprintf(buffer, sizeof(buffer), s, ap); + va_end(ap); + + /* + * Then output it... + */ + + if (data->output == _CUPS_OUTPUT_PLIST) + { + print_xml_header(data); + print_xml_trailer(data, 0, buffer); + } + + _cupsLangPrintf(stderr, "ipptool: %s", buffer); +} + + +/* + * 'print_ippserver_attr()' - Print a attribute suitable for use by ippserver. + */ + +static void +print_ippserver_attr( + _cups_testdata_t *data, /* I - Test data */ + ipp_attribute_t *attr, /* I - Attribute to print */ + int indent) /* I - Indentation level */ +{ + int i, /* Looping var */ + count = ippGetCount(attr); + /* Number of values */ + ipp_attribute_t *colattr; /* Collection attribute */ + + + if (indent == 0) + cupsFilePrintf(data->outfile, "ATTR %s %s", ippTagString(ippGetValueTag(attr)), ippGetName(attr)); + else + cupsFilePrintf(data->outfile, "%*sMEMBER %s %s", indent, "", ippTagString(ippGetValueTag(attr)), ippGetName(attr)); + + switch (ippGetValueTag(attr)) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + for (i = 0; i < count; i ++) + cupsFilePrintf(data->outfile, "%s%d", i ? "," : " ", ippGetInteger(attr, i)); + break; + + case IPP_TAG_BOOLEAN : + cupsFilePuts(data->outfile, ippGetBoolean(attr, 0) ? " true" : " false"); + + for (i = 1; i < count; i ++) + cupsFilePuts(data->outfile, ippGetBoolean(attr, 1) ? ",true" : ",false"); + break; + + case IPP_TAG_RANGE : + for (i = 0; i < count; i ++) + { + int upper, lower = ippGetRange(attr, i, &upper); + + cupsFilePrintf(data->outfile, "%s%d-%d", i ? "," : " ", lower, upper); + } + break; + + case IPP_TAG_RESOLUTION : + for (i = 0; i < count; i ++) + { + ipp_res_t units; + int yres, xres = ippGetResolution(attr, i, &yres, &units); + + cupsFilePrintf(data->outfile, "%s%dx%d%s", i ? "," : " ", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + } + break; + + case IPP_TAG_DATE : + for (i = 0; i < count; i ++) + cupsFilePrintf(data->outfile, "%s%s", i ? "," : " ", iso_date(ippGetDate(attr, i))); + break; + + case IPP_TAG_STRING : + for (i = 0; i < count; i ++) + { + int len; + const char *s = (const char *)ippGetOctetString(attr, i, &len); + + cupsFilePuts(data->outfile, i ? "," : " "); + print_ippserver_string(data, s, (size_t)len); + } + break; + + case IPP_TAG_TEXT : + case IPP_TAG_TEXTLANG : + case IPP_TAG_NAME : + case IPP_TAG_NAMELANG : + case IPP_TAG_KEYWORD : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + case IPP_TAG_CHARSET : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + for (i = 0; i < count; i ++) + { + const char *s = ippGetString(attr, i, NULL); + + cupsFilePuts(data->outfile, i ? "," : " "); + print_ippserver_string(data, s, strlen(s)); + } + break; + + case IPP_TAG_BEGIN_COLLECTION : + for (i = 0; i < count; i ++) + { + ipp_t *col = ippGetCollection(attr, i); + + cupsFilePuts(data->outfile, i ? ",{\n" : " {\n"); + for (colattr = ippFirstAttribute(col); colattr; colattr = ippNextAttribute(col)) + print_ippserver_attr(data, colattr, indent + 4); + cupsFilePrintf(data->outfile, "%*s}", indent, ""); + } + break; + + default : + /* Out-of-band value */ + break; + } + + cupsFilePuts(data->outfile, "\n"); +} + + +/* + * 'print_ippserver_string()' - Print a string suitable for use by ippserver. + */ + +static void +print_ippserver_string( + _cups_testdata_t *data, /* I - Test data */ + const char *s, /* I - String to print */ + size_t len) /* I - Length of string */ +{ + cupsFilePutChar(data->outfile, '\"'); + while (len > 0) + { + if (*s == '\"') + cupsFilePutChar(data->outfile, '\\'); + cupsFilePutChar(data->outfile, *s); + + s ++; + len --; + } + cupsFilePutChar(data->outfile, '\"'); +} + + +/* + * 'print_line()' - Print a line of formatted or CSV text. + */ + +static void +print_line( + _cups_testdata_t *data, /* I - Test data */ + ipp_t *ipp, /* I - Response message */ + ipp_attribute_t *attr, /* I - First attribute for line */ + int num_displayed, /* I - Number of attributes to display */ + char **displayed, /* I - Attributes to display */ + size_t *widths) /* I - Column widths */ +{ + int i; /* Looping var */ + size_t maxlength; /* Max length of all columns */ + char *buffer; /* String buffer */ + ipp_attribute_t *current; /* Current attribute */ + + + /* + * Get the maximum string length we have to show and allocate... + */ + + for (i = 1, maxlength = widths[0]; i < num_displayed; i ++) + if (widths[i] > maxlength) + maxlength = widths[i]; + + maxlength += 2; + + if ((buffer = malloc(maxlength)) == NULL) + return; + + /* + * Loop through the attributes to display... + */ + + if (attr) + { + for (i = 0; i < num_displayed; i ++) + { + if (i) + cupsFilePutChar(cupsFileStdout(), ' '); + + buffer[0] = '\0'; + + for (current = attr; current; current = ippNextAttribute(ipp)) + { + if (!ippGetName(current)) + break; + else if (!strcmp(ippGetName(current), displayed[i])) + { + ippAttributeString(current, buffer, maxlength); + break; + } + } + + cupsFilePrintf(data->outfile, "%*s", (int)-widths[i], buffer); + } + cupsFilePutChar(cupsFileStdout(), '\n'); + } + else + { + for (i = 0; i < num_displayed; i ++) + { + if (i) + cupsFilePutChar(cupsFileStdout(), ' '); + + cupsFilePrintf(data->outfile, "%*s", (int)-widths[i], displayed[i]); + } + cupsFilePutChar(cupsFileStdout(), '\n'); + + for (i = 0; i < num_displayed; i ++) + { + if (i) + cupsFilePutChar(cupsFileStdout(), ' '); + + memset(buffer, '-', widths[i]); + buffer[widths[i]] = '\0'; + cupsFilePuts(data->outfile, buffer); + } + cupsFilePutChar(cupsFileStdout(), '\n'); + } + + free(buffer); +} + + +/* + * 'print_xml_header()' - Print a standard XML plist header. + */ + +static void +print_xml_header(_cups_testdata_t *data)/* I - Test data */ +{ + if (!data->xml_header) + { + cupsFilePuts(data->outfile, "\n"); + cupsFilePuts(data->outfile, "\n"); + cupsFilePuts(data->outfile, "\n"); + cupsFilePuts(data->outfile, "\n"); + cupsFilePuts(data->outfile, "ipptoolVersion\n"); + cupsFilePuts(data->outfile, "" CUPS_SVERSION "\n"); + cupsFilePuts(data->outfile, "Transfer\n"); + cupsFilePrintf(data->outfile, "%s\n", data->transfer == _CUPS_TRANSFER_AUTO ? "auto" : data->transfer == _CUPS_TRANSFER_CHUNKED ? "chunked" : "length"); + cupsFilePuts(data->outfile, "Tests\n"); + cupsFilePuts(data->outfile, "\n"); + + data->xml_header = 1; + } +} + + +/* + * 'print_xml_string()' - Print an XML string with escaping. + */ + +static void +print_xml_string(cups_file_t *outfile, /* I - Test data */ + const char *element, /* I - Element name or NULL */ + const char *s) /* I - String to print */ +{ + if (element) + cupsFilePrintf(outfile, "<%s>", element); + + while (*s) + { + if (*s == '&') + cupsFilePuts(outfile, "&"); + else if (*s == '<') + cupsFilePuts(outfile, "<"); + else if (*s == '>') + cupsFilePuts(outfile, ">"); + else if ((*s & 0xe0) == 0xc0) + { + /* + * Validate UTF-8 two-byte sequence... + */ + + if ((s[1] & 0xc0) != 0x80) + { + cupsFilePutChar(outfile, '?'); + s ++; + } + else + { + cupsFilePutChar(outfile, *s++); + cupsFilePutChar(outfile, *s); + } + } + else if ((*s & 0xf0) == 0xe0) + { + /* + * Validate UTF-8 three-byte sequence... + */ + + if ((s[1] & 0xc0) != 0x80 || (s[2] & 0xc0) != 0x80) + { + cupsFilePutChar(outfile, '?'); + s += 2; + } + else + { + cupsFilePutChar(outfile, *s++); + cupsFilePutChar(outfile, *s++); + cupsFilePutChar(outfile, *s); + } + } + else if ((*s & 0xf8) == 0xf0) + { + /* + * Validate UTF-8 four-byte sequence... + */ + + if ((s[1] & 0xc0) != 0x80 || (s[2] & 0xc0) != 0x80 || + (s[3] & 0xc0) != 0x80) + { + cupsFilePutChar(outfile, '?'); + s += 3; + } + else + { + cupsFilePutChar(outfile, *s++); + cupsFilePutChar(outfile, *s++); + cupsFilePutChar(outfile, *s++); + cupsFilePutChar(outfile, *s); + } + } + else if ((*s & 0x80) || (*s < ' ' && !isspace(*s & 255))) + { + /* + * Invalid control character... + */ + + cupsFilePutChar(outfile, '?'); + } + else + cupsFilePutChar(outfile, *s); + + s ++; + } + + if (element) + cupsFilePrintf(outfile, "\n", element); +} + + +/* + * 'print_xml_trailer()' - Print the XML trailer with success/fail value. + */ + +static void +print_xml_trailer( + _cups_testdata_t *data, /* I - Test data */ + int success, /* I - 1 on success, 0 on failure */ + const char *message) /* I - Error message or NULL */ +{ + if (data->xml_header) + { + cupsFilePuts(data->outfile, "\n"); + cupsFilePuts(data->outfile, "Successful\n"); + cupsFilePuts(data->outfile, success ? "\n" : "\n"); + if (message) + { + cupsFilePuts(data->outfile, "ErrorMessage\n"); + print_xml_string(data->outfile, "string", message); + } + cupsFilePuts(data->outfile, "\n"); + cupsFilePuts(data->outfile, "\n"); + + data->xml_header = 0; + } +} + + +#ifndef _WIN32 +/* + * 'sigterm_handler()' - Handle SIGINT and SIGTERM. + */ + +static void +sigterm_handler(int sig) /* I - Signal number (unused) */ +{ + (void)sig; + + Cancel = 1; + + signal(SIGINT, SIG_DFL); + signal(SIGTERM, SIG_DFL); +} +#endif /* !_WIN32 */ + + +/* + * 'timeout_cb()' - Handle HTTP timeouts. + */ + +static int /* O - 1 to continue, 0 to cancel */ +timeout_cb(http_t *http, /* I - Connection to server */ + void *user_data) /* I - User data (unused) */ +{ + int buffered = 0; /* Bytes buffered but not yet sent */ + + + (void)user_data; + + /* + * If the socket still have data waiting to be sent to the printer (as can + * happen if the printer runs out of paper), continue to wait until the output + * buffer is empty... + */ + +#ifdef SO_NWRITE /* macOS and some versions of Linux */ + socklen_t len = sizeof(buffered); /* Size of return value */ + + if (getsockopt(httpGetFd(http), SOL_SOCKET, SO_NWRITE, &buffered, &len)) + buffered = 0; + +#elif defined(SIOCOUTQ) /* Others except Windows */ + if (ioctl(httpGetFd(http), SIOCOUTQ, &buffered)) + buffered = 0; + +#else /* Windows (not possible) */ + (void)http; +#endif /* SO_NWRITE */ + + return (buffered > 0); +} + + +/* + * 'token_cb()' - Parse test file-specific tokens and run tests. + */ + +static int /* O - 1 to continue, 0 to stop */ +token_cb(_ipp_file_t *f, /* I - IPP file data */ + _ipp_vars_t *vars, /* I - IPP variables */ + _cups_testdata_t *data, /* I - Test data */ + const char *token) /* I - Current token */ +{ + char name[1024], /* Name string */ + temp[1024], /* Temporary string */ + value[1024], /* Value string */ + *ptr; /* Pointer into value */ + + + if (!token) + { + /* + * Initialize state as needed (nothing for now...) + */ + + return (1); + } + else if (f->attrs) + { + /* + * Parse until we see a close brace... + */ + + if (_cups_strcasecmp(token, "COUNT") && + _cups_strcasecmp(token, "DEFINE-MATCH") && + _cups_strcasecmp(token, "DEFINE-NO-MATCH") && + _cups_strcasecmp(token, "DEFINE-VALUE") && + _cups_strcasecmp(token, "IF-DEFINED") && + _cups_strcasecmp(token, "IF-NOT-DEFINED") && + _cups_strcasecmp(token, "IN-GROUP") && + _cups_strcasecmp(token, "OF-TYPE") && + _cups_strcasecmp(token, "REPEAT-LIMIT") && + _cups_strcasecmp(token, "REPEAT-MATCH") && + _cups_strcasecmp(token, "REPEAT-NO-MATCH") && + _cups_strcasecmp(token, "SAME-COUNT-AS") && + _cups_strcasecmp(token, "WITH-ALL-VALUES") && + _cups_strcasecmp(token, "WITH-ALL-HOSTNAMES") && + _cups_strcasecmp(token, "WITH-ALL-RESOURCES") && + _cups_strcasecmp(token, "WITH-ALL-SCHEMES") && + _cups_strcasecmp(token, "WITH-HOSTNAME") && + _cups_strcasecmp(token, "WITH-RESOURCE") && + _cups_strcasecmp(token, "WITH-SCHEME") && + _cups_strcasecmp(token, "WITH-VALUE") && + _cups_strcasecmp(token, "WITH-VALUE-FROM")) + data->last_expect = NULL; + + if (_cups_strcasecmp(token, "DEFINE-MATCH") && + _cups_strcasecmp(token, "DEFINE-NO-MATCH") && + _cups_strcasecmp(token, "IF-DEFINED") && + _cups_strcasecmp(token, "IF-NOT-DEFINED") && + _cups_strcasecmp(token, "REPEAT-LIMIT") && + _cups_strcasecmp(token, "REPEAT-MATCH") && + _cups_strcasecmp(token, "REPEAT-NO-MATCH")) + data->last_status = NULL; + + if (!strcmp(token, "}")) + { + return (do_test(f, vars, data)); + } + else if (!strcmp(token, "COMPRESSION")) + { + /* + * COMPRESSION none + * COMPRESSION deflate + * COMPRESSION gzip + */ + + if (_ippFileReadToken(f, temp, sizeof(temp))) + { + _ippVarsExpand(vars, data->compression, temp, sizeof(data->compression)); +#ifdef HAVE_LIBZ + if (strcmp(data->compression, "none") && strcmp(data->compression, "deflate") && + strcmp(data->compression, "gzip")) +#else + if (strcmp(data->compression, "none")) +#endif /* HAVE_LIBZ */ + { + print_fatal_error(data, "Unsupported COMPRESSION value \"%s\" on line %d of \"%s\".", data->compression, f->linenum, f->filename); + return (0); + } + + if (!strcmp(data->compression, "none")) + data->compression[0] = '\0'; + } + else + { + print_fatal_error(data, "Missing COMPRESSION value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "DEFINE")) + { + /* + * DEFINE name value + */ + + if (_ippFileReadToken(f, name, sizeof(name)) && _ippFileReadToken(f, temp, sizeof(temp))) + { + _ippVarsExpand(vars, value, temp, sizeof(value)); + _ippVarsSet(vars, name, value); + } + else + { + print_fatal_error(data, "Missing DEFINE name and/or value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "IGNORE-ERRORS")) + { + /* + * IGNORE-ERRORS yes + * IGNORE-ERRORS no + */ + + if (_ippFileReadToken(f, temp, sizeof(temp)) && (!_cups_strcasecmp(temp, "yes") || !_cups_strcasecmp(temp, "no"))) + { + data->ignore_errors = !_cups_strcasecmp(temp, "yes"); + } + else + { + print_fatal_error(data, "Missing IGNORE-ERRORS value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "NAME")) + { + /* + * Name of test... + */ + + _ippFileReadToken(f, temp, sizeof(temp)); + _ippVarsExpand(vars, data->name, temp, sizeof(data->name)); + } + else if (!_cups_strcasecmp(token, "PAUSE")) + { + /* + * Pause with a message... + */ + + if (_ippFileReadToken(f, temp, sizeof(temp))) + { + pause_message(temp); + } + else + { + print_fatal_error(data, "Missing PAUSE message on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "REQUEST-ID")) + { + /* + * REQUEST-ID # + * REQUEST-ID random + */ + + if (_ippFileReadToken(f, temp, sizeof(temp))) + { + if (isdigit(temp[0] & 255)) + { + data->request_id = atoi(temp); + } + else if (!_cups_strcasecmp(temp, "random")) + { + data->request_id = (CUPS_RAND() % 1000) * 137 + 1; + } + else + { + print_fatal_error(data, "Bad REQUEST-ID value \"%s\" on line %d of \"%s\".", temp, f->linenum, f->filename); + return (0); + } + } + else + { + print_fatal_error(data, "Missing REQUEST-ID value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "SKIP-IF-DEFINED")) + { + /* + * SKIP-IF-DEFINED variable + */ + + if (_ippFileReadToken(f, name, sizeof(name))) + { + if (_ippVarsGet(vars, name)) + data->skip_test = 1; + } + else + { + print_fatal_error(data, "Missing SKIP-IF-DEFINED value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "SKIP-IF-MISSING")) + { + /* + * SKIP-IF-MISSING filename + */ + + if (_ippFileReadToken(f, temp, sizeof(temp))) + { + char filename[1024]; /* Filename */ + + _ippVarsExpand(vars, value, temp, sizeof(value)); + get_filename(f->filename, filename, temp, sizeof(filename)); + + if (access(filename, R_OK)) + data->skip_test = 1; + } + else + { + print_fatal_error(data, "Missing SKIP-IF-MISSING filename on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "SKIP-IF-NOT-DEFINED")) + { + /* + * SKIP-IF-NOT-DEFINED variable + */ + + if (_ippFileReadToken(f, name, sizeof(name))) + { + if (!_ippVarsGet(vars, name)) + data->skip_test = 1; + } + else + { + print_fatal_error(data, "Missing SKIP-IF-NOT-DEFINED value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "SKIP-PREVIOUS-ERROR")) + { + /* + * SKIP-PREVIOUS-ERROR yes + * SKIP-PREVIOUS-ERROR no + */ + + if (_ippFileReadToken(f, temp, sizeof(temp)) && (!_cups_strcasecmp(temp, "yes") || !_cups_strcasecmp(temp, "no"))) + { + data->skip_previous = !_cups_strcasecmp(temp, "yes"); + } + else + { + print_fatal_error(data, "Missing SKIP-PREVIOUS-ERROR value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "TEST-ID")) + { + /* + * TEST-ID "string" + */ + + if (_ippFileReadToken(f, temp, sizeof(temp))) + { + _ippVarsExpand(vars, data->test_id, temp, sizeof(data->test_id)); + } + else + { + print_fatal_error(data, "Missing TEST-ID value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "TRANSFER")) + { + /* + * TRANSFER auto + * TRANSFER chunked + * TRANSFER length + */ + + if (_ippFileReadToken(f, temp, sizeof(temp))) + { + if (!strcmp(temp, "auto")) + { + data->transfer = _CUPS_TRANSFER_AUTO; + } + else if (!strcmp(temp, "chunked")) + { + data->transfer = _CUPS_TRANSFER_CHUNKED; + } + else if (!strcmp(temp, "length")) + { + data->transfer = _CUPS_TRANSFER_LENGTH; + } + else + { + print_fatal_error(data, "Bad TRANSFER value \"%s\" on line %d of \"%s\".", temp, f->linenum, f->filename); + return (0); + } + } + else + { + print_fatal_error(data, "Missing TRANSFER value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "VERSION")) + { + if (_ippFileReadToken(f, temp, sizeof(temp))) + { + if (!strcmp(temp, "0.0")) + { + data->version = 0; + } + else if (!strcmp(temp, "1.0")) + { + data->version = 10; + } + else if (!strcmp(temp, "1.1")) + { + data->version = 11; + } + else if (!strcmp(temp, "2.0")) + { + data->version = 20; + } + else if (!strcmp(temp, "2.1")) + { + data->version = 21; + } + else if (!strcmp(temp, "2.2")) + { + data->version = 22; + } + else + { + print_fatal_error(data, "Bad VERSION \"%s\" on line %d of \"%s\".", temp, f->linenum, f->filename); + return (0); + } + } + else + { + print_fatal_error(data, "Missing VERSION number on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "RESOURCE")) + { + /* + * Resource name... + */ + + if (!_ippFileReadToken(f, data->resource, sizeof(data->resource))) + { + print_fatal_error(data, "Missing RESOURCE path on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "OPERATION")) + { + /* + * Operation... + */ + + ipp_op_t op; /* Operation code */ + + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing OPERATION code on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + _ippVarsExpand(vars, value, temp, sizeof(value)); + + if ((op = ippOpValue(value)) == (ipp_op_t)-1 && (op = (ipp_op_t)strtol(value, NULL, 0)) == 0) + { + print_fatal_error(data, "Bad OPERATION code \"%s\" on line %d of \"%s\".", temp, f->linenum, f->filename); + return (0); + } + + ippSetOperation(f->attrs, op); + } + else if (!_cups_strcasecmp(token, "GROUP")) + { + /* + * Attribute group... + */ + + ipp_tag_t group_tag; /* Group tag */ + + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing GROUP tag on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if ((group_tag = ippTagValue(temp)) == IPP_TAG_ZERO || group_tag >= IPP_TAG_UNSUPPORTED_VALUE) + { + print_fatal_error(data, "Bad GROUP tag \"%s\" on line %d of \"%s\".", temp, f->linenum, f->filename); + return (0); + } + + if (group_tag == f->group_tag) + ippAddSeparator(f->attrs); + + f->group_tag = group_tag; + } + else if (!_cups_strcasecmp(token, "DELAY")) + { + /* + * Delay before operation... + */ + + double dval; /* Delay value */ + + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing DELAY value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + _ippVarsExpand(vars, value, temp, sizeof(value)); + + if ((dval = _cupsStrScand(value, &ptr, localeconv())) < 0.0 || (*ptr && *ptr != ',')) + { + print_fatal_error(data, "Bad DELAY value \"%s\" on line %d of \"%s\".", value, f->linenum, f->filename); + return (0); + } + + data->delay = (useconds_t)(1000000.0 * dval); + + if (*ptr == ',') + { + if ((dval = _cupsStrScand(ptr + 1, &ptr, localeconv())) <= 0.0 || *ptr) + { + print_fatal_error(data, "Bad DELAY value \"%s\" on line %d of \"%s\".", value, f->linenum, f->filename); + return (0); + } + + data->repeat_interval = (useconds_t)(1000000.0 * dval); + } + else + data->repeat_interval = data->delay; + } + else if (!_cups_strcasecmp(token, "FILE")) + { + /* + * File... + */ + + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing FILE filename on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + _ippVarsExpand(vars, value, temp, sizeof(value)); + get_filename(f->filename, data->file, value, sizeof(data->file)); + + if (access(data->file, R_OK)) + { + print_fatal_error(data, "Filename \"%s\" (mapped to \"%s\") on line %d of \"%s\" cannot be read.", value, data->file, f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "STATUS")) + { + /* + * Status... + */ + + if (data->num_statuses >= (int)(sizeof(data->statuses) / sizeof(data->statuses[0]))) + { + print_fatal_error(data, "Too many STATUS's on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing STATUS code on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if ((data->statuses[data->num_statuses].status = ippErrorValue(temp)) == (ipp_status_t)-1 && (data->statuses[data->num_statuses].status = (ipp_status_t)strtol(temp, NULL, 0)) == 0) + { + print_fatal_error(data, "Bad STATUS code \"%s\" on line %d of \"%s\".", temp, f->linenum, f->filename); + return (0); + } + + data->last_status = data->statuses + data->num_statuses; + data->num_statuses ++; + + data->last_status->define_match = NULL; + data->last_status->define_no_match = NULL; + data->last_status->if_defined = NULL; + data->last_status->if_not_defined = NULL; + data->last_status->repeat_limit = 1000; + data->last_status->repeat_match = 0; + data->last_status->repeat_no_match = 0; + } + else if (!_cups_strcasecmp(token, "EXPECT") || !_cups_strcasecmp(token, "EXPECT-ALL")) + { + /* + * Expected attributes... + */ + + int expect_all = !_cups_strcasecmp(token, "EXPECT-ALL"); + + if (data->num_expects >= (int)(sizeof(data->expects) / sizeof(data->expects[0]))) + { + print_fatal_error(data, "Too many EXPECT's on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if (!_ippFileReadToken(f, name, sizeof(name))) + { + print_fatal_error(data, "Missing EXPECT name on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + data->last_expect = data->expects + data->num_expects; + data->num_expects ++; + + memset(data->last_expect, 0, sizeof(_cups_expect_t)); + data->last_expect->repeat_limit = 1000; + data->last_expect->expect_all = expect_all; + + if (name[0] == '!') + { + data->last_expect->not_expect = 1; + data->last_expect->name = strdup(name + 1); + } + else if (name[0] == '?') + { + data->last_expect->optional = 1; + data->last_expect->name = strdup(name + 1); + } + else + data->last_expect->name = strdup(name); + } + else if (!_cups_strcasecmp(token, "COUNT")) + { + int count; /* Count value */ + + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing COUNT number on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if ((count = atoi(temp)) <= 0) + { + print_fatal_error(data, "Bad COUNT \"%s\" on line %d of \"%s\".", temp, f->linenum, f->filename); + return (0); + } + + if (data->last_expect) + { + data->last_expect->count = count; + } + else + { + print_fatal_error(data, "COUNT without a preceding EXPECT on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "DEFINE-MATCH")) + { + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing DEFINE-MATCH variable on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if (data->last_expect) + { + data->last_expect->define_match = strdup(temp); + } + else if (data->last_status) + { + data->last_status->define_match = strdup(temp); + } + else + { + print_fatal_error(data, "DEFINE-MATCH without a preceding EXPECT or STATUS on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "DEFINE-NO-MATCH")) + { + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing DEFINE-NO-MATCH variable on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if (data->last_expect) + { + data->last_expect->define_no_match = strdup(temp); + } + else if (data->last_status) + { + data->last_status->define_no_match = strdup(temp); + } + else + { + print_fatal_error(data, "DEFINE-NO-MATCH without a preceding EXPECT or STATUS on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "DEFINE-VALUE")) + { + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing DEFINE-VALUE variable on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if (data->last_expect) + { + data->last_expect->define_value = strdup(temp); + } + else + { + print_fatal_error(data, "DEFINE-VALUE without a preceding EXPECT on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "OF-TYPE")) + { + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing OF-TYPE value tag(s) on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if (data->last_expect) + { + data->last_expect->of_type = strdup(temp); + } + else + { + print_fatal_error(data, "OF-TYPE without a preceding EXPECT on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "IN-GROUP")) + { + ipp_tag_t in_group; /* IN-GROUP value */ + + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing IN-GROUP group tag on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if ((in_group = ippTagValue(temp)) == IPP_TAG_ZERO || in_group >= IPP_TAG_UNSUPPORTED_VALUE) + { + print_fatal_error(data, "Bad IN-GROUP group tag \"%s\" on line %d of \"%s\".", temp, f->linenum, f->filename); + return (0); + } + else if (data->last_expect) + { + data->last_expect->in_group = in_group; + } + else + { + print_fatal_error(data, "IN-GROUP without a preceding EXPECT on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "REPEAT-LIMIT")) + { + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing REPEAT-LIMIT value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + else if (atoi(temp) <= 0) + { + print_fatal_error(data, "Bad REPEAT-LIMIT value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if (data->last_status) + { + data->last_status->repeat_limit = atoi(temp); + } + else if (data->last_expect) + { + data->last_expect->repeat_limit = atoi(temp); + } + else + { + print_fatal_error(data, "REPEAT-LIMIT without a preceding EXPECT or STATUS on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "REPEAT-MATCH")) + { + if (data->last_status) + { + data->last_status->repeat_match = 1; + } + else if (data->last_expect) + { + data->last_expect->repeat_match = 1; + } + else + { + print_fatal_error(data, "REPEAT-MATCH without a preceding EXPECT or STATUS on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "REPEAT-NO-MATCH")) + { + if (data->last_status) + { + data->last_status->repeat_no_match = 1; + } + else if (data->last_expect) + { + data->last_expect->repeat_no_match = 1; + } + else + { + print_fatal_error(data, "REPEAT-NO-MATCH without a preceding EXPECT or STATUS on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "SAME-COUNT-AS")) + { + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing SAME-COUNT-AS name on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if (data->last_expect) + { + data->last_expect->same_count_as = strdup(temp); + } + else + { + print_fatal_error(data, "SAME-COUNT-AS without a preceding EXPECT on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "IF-DEFINED")) + { + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing IF-DEFINED name on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if (data->last_expect) + { + data->last_expect->if_defined = strdup(temp); + } + else if (data->last_status) + { + data->last_status->if_defined = strdup(temp); + } + else + { + print_fatal_error(data, "IF-DEFINED without a preceding EXPECT or STATUS on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "IF-NOT-DEFINED")) + { + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing IF-NOT-DEFINED name on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if (data->last_expect) + { + data->last_expect->if_not_defined = strdup(temp); + } + else if (data->last_status) + { + data->last_status->if_not_defined = strdup(temp); + } + else + { + print_fatal_error(data, "IF-NOT-DEFINED without a preceding EXPECT or STATUS on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "WITH-ALL-VALUES") || + !_cups_strcasecmp(token, "WITH-ALL-HOSTNAMES") || + !_cups_strcasecmp(token, "WITH-ALL-RESOURCES") || + !_cups_strcasecmp(token, "WITH-ALL-SCHEMES") || + !_cups_strcasecmp(token, "WITH-HOSTNAME") || + !_cups_strcasecmp(token, "WITH-RESOURCE") || + !_cups_strcasecmp(token, "WITH-SCHEME") || + !_cups_strcasecmp(token, "WITH-VALUE")) + { + off_t lastpos; /* Last file position */ + int lastline; /* Last line number */ + + if (data->last_expect) + { + if (!_cups_strcasecmp(token, "WITH-ALL-HOSTNAMES") || !_cups_strcasecmp(token, "WITH-HOSTNAME")) + data->last_expect->with_flags = _CUPS_WITH_HOSTNAME; + else if (!_cups_strcasecmp(token, "WITH-ALL-RESOURCES") || !_cups_strcasecmp(token, "WITH-RESOURCE")) + data->last_expect->with_flags = _CUPS_WITH_RESOURCE; + else if (!_cups_strcasecmp(token, "WITH-ALL-SCHEMES") || !_cups_strcasecmp(token, "WITH-SCHEME")) + data->last_expect->with_flags = _CUPS_WITH_SCHEME; + + if (!_cups_strncasecmp(token, "WITH-ALL-", 9)) + data->last_expect->with_flags |= _CUPS_WITH_ALL; + } + + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing %s value on line %d of \"%s\".", token, f->linenum, f->filename); + return (0); + } + + /* + * Read additional comma-delimited values - needed since legacy test files + * will have unquoted WITH-VALUE values with commas... + */ + + ptr = temp + strlen(temp); + + for (;;) + { + lastpos = cupsFileTell(f->fp); + lastline = f->linenum; + ptr += strlen(ptr); + + if (!_ippFileReadToken(f, ptr, (sizeof(temp) - (size_t)(ptr - temp)))) + break; + + if (!strcmp(ptr, ",")) + { + /* + * Append a value... + */ + + ptr += strlen(ptr); + + if (!_ippFileReadToken(f, ptr, (sizeof(temp) - (size_t)(ptr - temp)))) + break; + } + else + { + /* + * Not another value, stop here... + */ + + cupsFileSeek(f->fp, lastpos); + f->linenum = lastline; + *ptr = '\0'; + break; + } + } + + if (data->last_expect) + { + /* + * Expand any variables in the value and then save it. + */ + + _ippVarsExpand(vars, value, temp, sizeof(value)); + + ptr = value + strlen(value) - 1; + + if (value[0] == '/' && ptr > value && *ptr == '/') + { + /* + * WITH-VALUE is a POSIX extended regular expression. + */ + + data->last_expect->with_value = calloc(1, (size_t)(ptr - value)); + data->last_expect->with_flags |= _CUPS_WITH_REGEX; + + if (data->last_expect->with_value) + memcpy(data->last_expect->with_value, value + 1, (size_t)(ptr - value - 1)); + } + else + { + /* + * WITH-VALUE is a literal value... + */ + + for (ptr = value; *ptr; ptr ++) + { + if (*ptr == '\\' && ptr[1]) + { + /* + * Remove \ from \foo... + */ + + _cups_strcpy(ptr, ptr + 1); + } + } + + data->last_expect->with_value = strdup(value); + data->last_expect->with_flags |= _CUPS_WITH_LITERAL; + } + } + else + { + print_fatal_error(data, "%s without a preceding EXPECT on line %d of \"%s\".", token, f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "WITH-VALUE-FROM")) + { + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing %s value on line %d of \"%s\".", token, f->linenum, f->filename); + return (0); + } + + if (data->last_expect) + { + /* + * Expand any variables in the value and then save it. + */ + + _ippVarsExpand(vars, value, temp, sizeof(value)); + + data->last_expect->with_value_from = strdup(value); + data->last_expect->with_flags = _CUPS_WITH_LITERAL; + } + else + { + print_fatal_error(data, "%s without a preceding EXPECT on line %d of \"%s\".", token, f->linenum, f->filename); + return (0); + } + } + else if (!_cups_strcasecmp(token, "DISPLAY")) + { + /* + * Display attributes... + */ + + if (data->num_displayed >= (int)(sizeof(data->displayed) / sizeof(data->displayed[0]))) + { + print_fatal_error(data, "Too many DISPLAY's on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + if (!_ippFileReadToken(f, temp, sizeof(temp))) + { + print_fatal_error(data, "Missing DISPLAY name on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + data->displayed[data->num_displayed] = strdup(temp); + data->num_displayed ++; + } + else + { + print_fatal_error(data, "Unexpected token %s seen on line %d of \"%s\".", token, f->linenum, f->filename); + return (0); + } + } + else + { + /* + * Scan for the start of a test (open brace)... + */ + + if (!strcmp(token, "{")) + { + /* + * Start new test... + */ + + if (data->show_header) + { + if (data->output == _CUPS_OUTPUT_PLIST) + print_xml_header(data); + + if (data->output == _CUPS_OUTPUT_TEST || (data->output == _CUPS_OUTPUT_PLIST && data->outfile != cupsFileStdout())) + cupsFilePrintf(cupsFileStdout(), "\"%s\":\n", f->filename); + + data->show_header = 0; + } + + data->compression[0] = '\0'; + data->delay = 0; + data->num_expects = 0; + data->last_expect = NULL; + data->file[0] = '\0'; + data->ignore_errors = data->def_ignore_errors; + strlcpy(data->name, f->filename, sizeof(data->name)); + if ((ptr = strrchr(data->name, '.')) != NULL) + *ptr = '\0'; + data->repeat_interval = 5000000; + data->request_id ++; + strlcpy(data->resource, vars->resource, sizeof(data->resource)); + data->skip_previous = 0; + data->skip_test = 0; + data->num_statuses = 0; + data->last_status = NULL; + data->test_id[0] = '\0'; + data->transfer = data->def_transfer; + data->version = data->def_version; + + _ippVarsSet(vars, "date-current", iso_date(ippTimeToDate(time(NULL)))); + + f->attrs = ippNew(); + f->group_tag = IPP_TAG_ZERO; + } + else if (!strcmp(token, "DEFINE")) + { + /* + * DEFINE name value + */ + + if (_ippFileReadToken(f, name, sizeof(name)) && _ippFileReadToken(f, temp, sizeof(temp))) + { + _ippVarsSet(vars, "date-current", iso_date(ippTimeToDate(time(NULL)))); + _ippVarsExpand(vars, value, temp, sizeof(value)); + _ippVarsSet(vars, name, value); + } + else + { + print_fatal_error(data, "Missing DEFINE name and/or value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "DEFINE-DEFAULT")) + { + /* + * DEFINE-DEFAULT name value + */ + + if (_ippFileReadToken(f, name, sizeof(name)) && _ippFileReadToken(f, temp, sizeof(temp))) + { + if (!_ippVarsGet(vars, name)) + { + _ippVarsSet(vars, "date-current", iso_date(ippTimeToDate(time(NULL)))); + _ippVarsExpand(vars, value, temp, sizeof(value)); + _ippVarsSet(vars, name, value); + } + } + else + { + print_fatal_error(data, "Missing DEFINE-DEFAULT name and/or value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "FILE-ID")) + { + /* + * FILE-ID "string" + */ + + if (_ippFileReadToken(f, temp, sizeof(temp))) + { + _ippVarsSet(vars, "date-current", iso_date(ippTimeToDate(time(NULL)))); + _ippVarsExpand(vars, data->file_id, temp, sizeof(data->file_id)); + } + else + { + print_fatal_error(data, "Missing FILE-ID value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "IGNORE-ERRORS")) + { + /* + * IGNORE-ERRORS yes + * IGNORE-ERRORS no + */ + + if (_ippFileReadToken(f, temp, sizeof(temp)) && (!_cups_strcasecmp(temp, "yes") || !_cups_strcasecmp(temp, "no"))) + { + data->def_ignore_errors = !_cups_strcasecmp(temp, "yes"); + } + else + { + print_fatal_error(data, "Missing IGNORE-ERRORS value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "INCLUDE")) + { + /* + * INCLUDE "filename" + * INCLUDE + */ + + if (_ippFileReadToken(f, temp, sizeof(temp))) + { + /* + * Map the filename to and then run the tests... + */ + + _cups_testdata_t inc_data; /* Data for included file */ + char filename[1024]; /* Mapped filename */ + + memcpy(&inc_data, data, sizeof(inc_data)); + inc_data.http = NULL; + inc_data.pass = 1; + inc_data.prev_pass = 1; + inc_data.show_header = 1; + + if (!do_tests(get_filename(f->filename, filename, temp, sizeof(filename)), vars, &inc_data) && data->stop_after_include_error) + { + data->pass = data->prev_pass = 0; + return (0); + } + } + else + { + print_fatal_error(data, "Missing INCLUDE filename on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + data->show_header = 1; + } + else if (!strcmp(token, "INCLUDE-IF-DEFINED")) + { + /* + * INCLUDE-IF-DEFINED name "filename" + * INCLUDE-IF-DEFINED name + */ + + if (_ippFileReadToken(f, name, sizeof(name)) && _ippFileReadToken(f, temp, sizeof(temp))) + { + /* + * Map the filename to and then run the tests... + */ + + _cups_testdata_t inc_data; /* Data for included file */ + char filename[1024]; /* Mapped filename */ + + memcpy(&inc_data, data, sizeof(inc_data)); + inc_data.http = NULL; + inc_data.pass = 1; + inc_data.prev_pass = 1; + inc_data.show_header = 1; + + if (!do_tests(get_filename(f->filename, filename, temp, sizeof(filename)), vars, &inc_data) && data->stop_after_include_error) + { + data->pass = data->prev_pass = 0; + return (0); + } + } + else + { + print_fatal_error(data, "Missing INCLUDE-IF-DEFINED name or filename on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + data->show_header = 1; + } + else if (!strcmp(token, "INCLUDE-IF-NOT-DEFINED")) + { + /* + * INCLUDE-IF-NOT-DEFINED name "filename" + * INCLUDE-IF-NOT-DEFINED name + */ + + if (_ippFileReadToken(f, name, sizeof(name)) && _ippFileReadToken(f, temp, sizeof(temp))) + { + /* + * Map the filename to and then run the tests... + */ + + _cups_testdata_t inc_data; /* Data for included file */ + char filename[1024]; /* Mapped filename */ + + memcpy(&inc_data, data, sizeof(inc_data)); + inc_data.http = NULL; + inc_data.pass = 1; + inc_data.prev_pass = 1; + inc_data.show_header = 1; + + if (!do_tests(get_filename(f->filename, filename, temp, sizeof(filename)), vars, &inc_data) && data->stop_after_include_error) + { + data->pass = data->prev_pass = 0; + return (0); + } + } + else + { + print_fatal_error(data, "Missing INCLUDE-IF-NOT-DEFINED name or filename on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + + data->show_header = 1; + } + else if (!strcmp(token, "SKIP-IF-DEFINED")) + { + /* + * SKIP-IF-DEFINED variable + */ + + if (_ippFileReadToken(f, name, sizeof(name))) + { + if (_ippVarsGet(vars, name)) + data->skip_test = 1; + } + else + { + print_fatal_error(data, "Missing SKIP-IF-DEFINED variable on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "SKIP-IF-NOT-DEFINED")) + { + /* + * SKIP-IF-NOT-DEFINED variable + */ + + if (_ippFileReadToken(f, name, sizeof(name))) + { + if (!_ippVarsGet(vars, name)) + data->skip_test = 1; + } + else + { + print_fatal_error(data, "Missing SKIP-IF-NOT-DEFINED variable on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "STOP-AFTER-INCLUDE-ERROR")) + { + /* + * STOP-AFTER-INCLUDE-ERROR yes + * STOP-AFTER-INCLUDE-ERROR no + */ + + if (_ippFileReadToken(f, temp, sizeof(temp)) && (!_cups_strcasecmp(temp, "yes") || !_cups_strcasecmp(temp, "no"))) + { + data->stop_after_include_error = !_cups_strcasecmp(temp, "yes"); + } + else + { + print_fatal_error(data, "Missing STOP-AFTER-INCLUDE-ERROR value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "TRANSFER")) + { + /* + * TRANSFER auto + * TRANSFER chunked + * TRANSFER length + */ + + if (_ippFileReadToken(f, temp, sizeof(temp))) + { + if (!strcmp(temp, "auto")) + data->def_transfer = _CUPS_TRANSFER_AUTO; + else if (!strcmp(temp, "chunked")) + data->def_transfer = _CUPS_TRANSFER_CHUNKED; + else if (!strcmp(temp, "length")) + data->def_transfer = _CUPS_TRANSFER_LENGTH; + else + { + print_fatal_error(data, "Bad TRANSFER value \"%s\" on line %d of \"%s\".", temp, f->linenum, f->filename); + return (0); + } + } + else + { + print_fatal_error(data, "Missing TRANSFER value on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else if (!strcmp(token, "VERSION")) + { + if (_ippFileReadToken(f, temp, sizeof(temp))) + { + if (!strcmp(temp, "1.0")) + data->def_version = 10; + else if (!strcmp(temp, "1.1")) + data->def_version = 11; + else if (!strcmp(temp, "2.0")) + data->def_version = 20; + else if (!strcmp(temp, "2.1")) + data->def_version = 21; + else if (!strcmp(temp, "2.2")) + data->def_version = 22; + else + { + print_fatal_error(data, "Bad VERSION \"%s\" on line %d of \"%s\".", temp, f->linenum, f->filename); + return (0); + } + } + else + { + print_fatal_error(data, "Missing VERSION number on line %d of \"%s\".", f->linenum, f->filename); + return (0); + } + } + else + { + print_fatal_error(data, "Unexpected token %s seen on line %d of \"%s\".", token, f->linenum, f->filename); + return (0); + } + } + + return (1); +} + + +/* + * 'usage()' - Show program usage. + */ + +static void +usage(void) +{ + _cupsLangPuts(stderr, _("Usage: ipptool [options] URI filename [ ... filenameN ]")); + _cupsLangPuts(stderr, _("Options:")); + _cupsLangPuts(stderr, _("--ippserver filename Produce ippserver attribute file")); + _cupsLangPuts(stderr, _("--stop-after-include-error\n" + " Stop tests after a failed INCLUDE")); + _cupsLangPuts(stderr, _("--version Show version")); + _cupsLangPuts(stderr, _("-4 Connect using IPv4")); + _cupsLangPuts(stderr, _("-6 Connect using IPv6")); + _cupsLangPuts(stderr, _("-C Send requests using chunking (default)")); + _cupsLangPuts(stderr, _("-E Test with encryption using HTTP Upgrade to TLS")); + _cupsLangPuts(stderr, _("-I Ignore errors")); + _cupsLangPuts(stderr, _("-L Send requests using content-length")); + _cupsLangPuts(stderr, _("-P filename.plist Produce XML plist to a file and test report to standard output")); + _cupsLangPuts(stderr, _("-S Test with encryption using HTTPS")); + _cupsLangPuts(stderr, _("-T seconds Set the receive/send timeout in seconds")); + _cupsLangPuts(stderr, _("-V version Set default IPP version")); + _cupsLangPuts(stderr, _("-X Produce XML plist instead of plain text")); + _cupsLangPuts(stderr, _("-c Produce CSV output")); + _cupsLangPuts(stderr, _("-d name=value Set named variable to value")); + _cupsLangPuts(stderr, _("-f filename Set default request filename")); + _cupsLangPuts(stderr, _("-h Validate HTTP response headers")); + _cupsLangPuts(stderr, _("-i seconds Repeat the last file with the given time interval")); + _cupsLangPuts(stderr, _("-l Produce plain text output")); + _cupsLangPuts(stderr, _("-n count Repeat the last file the given number of times")); + _cupsLangPuts(stderr, _("-q Run silently")); + _cupsLangPuts(stderr, _("-t Produce a test report")); + _cupsLangPuts(stderr, _("-v Be verbose")); + + exit(1); +} + + +/* + * 'with_flags_string()' - Return the "WITH-xxx" predicate that corresponds to + the flags. + */ + +static const char * /* O - WITH-xxx string */ +with_flags_string(int flags) /* I - WITH flags */ +{ + if (flags & _CUPS_WITH_ALL) + { + if (flags & _CUPS_WITH_HOSTNAME) + return ("WITH-ALL-HOSTNAMES"); + else if (flags & _CUPS_WITH_RESOURCE) + return ("WITH-ALL-RESOURCES"); + else if (flags & _CUPS_WITH_SCHEME) + return ("WITH-ALL-SCHEMES"); + else + return ("WITH-ALL-VALUES"); + } + else if (flags & _CUPS_WITH_HOSTNAME) + return ("WITH-HOSTNAME"); + else if (flags & _CUPS_WITH_RESOURCE) + return ("WITH-RESOURCE"); + else if (flags & _CUPS_WITH_SCHEME) + return ("WITH-SCHEME"); + else + return ("WITH-VALUE"); +} + + +/* + * 'with_value()' - Test a WITH-VALUE predicate. + */ + +static int /* O - 1 on match, 0 on non-match */ +with_value(_cups_testdata_t *data, /* I - Test data */ + cups_array_t *errors, /* I - Errors array */ + char *value, /* I - Value string */ + int flags, /* I - Flags for match */ + ipp_attribute_t *attr, /* I - Attribute to compare */ + char *matchbuf, /* I - Buffer to hold matching value */ + size_t matchlen) /* I - Length of match buffer */ +{ + int i, /* Looping var */ + count, /* Number of values */ + match; /* Match? */ + char temp[1024], /* Temporary value string */ + *valptr; /* Pointer into value */ + const char *name; /* Attribute name */ + + + *matchbuf = '\0'; + match = (flags & _CUPS_WITH_ALL) ? 1 : 0; + + /* + * NULL matches everything. + */ + + if (!value || !*value) + return (1); + + /* + * Compare the value string to the attribute value. + */ + + name = ippGetName(attr); + count = ippGetCount(attr); + + switch (ippGetValueTag(attr)) + { + case IPP_TAG_INTEGER : + case IPP_TAG_ENUM : + for (i = 0; i < count; i ++) + { + char op, /* Comparison operator */ + *nextptr; /* Next pointer */ + int intvalue, /* Integer value */ + attrvalue = ippGetInteger(attr, i), + /* Attribute value */ + valmatch = 0; /* Does the current value match? */ + + valptr = value; + + while (isspace(*valptr & 255) || isdigit(*valptr & 255) || + *valptr == '-' || *valptr == ',' || *valptr == '<' || + *valptr == '=' || *valptr == '>') + { + op = '='; + while (*valptr && !isdigit(*valptr & 255) && *valptr != '-') + { + if (*valptr == '<' || *valptr == '>' || *valptr == '=') + op = *valptr; + valptr ++; + } + + if (!*valptr) + break; + + intvalue = (int)strtol(valptr, &nextptr, 0); + if (nextptr == valptr) + break; + valptr = nextptr; + + if ((op == '=' && attrvalue == intvalue) || + (op == '<' && attrvalue < intvalue) || + (op == '>' && attrvalue > intvalue)) + { + if (!matchbuf[0]) + snprintf(matchbuf, matchlen, "%d", attrvalue); + + valmatch = 1; + break; + } + } + + if (flags & _CUPS_WITH_ALL) + { + if (!valmatch) + { + match = 0; + break; + } + } + else if (valmatch) + { + match = 1; + break; + } + } + + if (!match && errors) + { + for (i = 0; i < count; i ++) + add_stringf(data->errors, "GOT: %s=%d", name, ippGetInteger(attr, i)); + } + break; + + case IPP_TAG_RANGE : + for (i = 0; i < count; i ++) + { + char op, /* Comparison operator */ + *nextptr; /* Next pointer */ + int intvalue, /* Integer value */ + lower, /* Lower range */ + upper, /* Upper range */ + valmatch = 0; /* Does the current value match? */ + + lower = ippGetRange(attr, i, &upper); + valptr = value; + + while (isspace(*valptr & 255) || isdigit(*valptr & 255) || + *valptr == '-' || *valptr == ',' || *valptr == '<' || + *valptr == '=' || *valptr == '>') + { + op = '='; + while (*valptr && !isdigit(*valptr & 255) && *valptr != '-') + { + if (*valptr == '<' || *valptr == '>' || *valptr == '=') + op = *valptr; + valptr ++; + } + + if (!*valptr) + break; + + intvalue = (int)strtol(valptr, &nextptr, 0); + if (nextptr == valptr) + break; + valptr = nextptr; + + if ((op == '=' && (lower == intvalue || upper == intvalue)) || + (op == '<' && upper < intvalue) || + (op == '>' && upper > intvalue)) + { + if (!matchbuf[0]) + snprintf(matchbuf, matchlen, "%d-%d", lower, upper); + + valmatch = 1; + break; + } + } + + if (flags & _CUPS_WITH_ALL) + { + if (!valmatch) + { + match = 0; + break; + } + } + else if (valmatch) + { + match = 1; + break; + } + } + + if (!match && errors) + { + for (i = 0; i < count; i ++) + { + int lower, upper; /* Range values */ + + lower = ippGetRange(attr, i, &upper); + add_stringf(data->errors, "GOT: %s=%d-%d", name, lower, upper); + } + } + break; + + case IPP_TAG_BOOLEAN : + for (i = 0; i < count; i ++) + { + if ((!strcmp(value, "true") || !strcmp(value, "1")) == ippGetBoolean(attr, i)) + { + if (!matchbuf[0]) + strlcpy(matchbuf, value, matchlen); + + if (!(flags & _CUPS_WITH_ALL)) + { + match = 1; + break; + } + } + else if (flags & _CUPS_WITH_ALL) + { + match = 0; + break; + } + } + + if (!match && errors) + { + for (i = 0; i < count; i ++) + add_stringf(data->errors, "GOT: %s=%s", name, ippGetBoolean(attr, i) ? "true" : "false"); + } + break; + + case IPP_TAG_RESOLUTION : + for (i = 0; i < count; i ++) + { + int xres, yres; /* Resolution values */ + ipp_res_t units; /* Resolution units */ + + xres = ippGetResolution(attr, i, &yres, &units); + if (xres == yres) + snprintf(temp, sizeof(temp), "%d%s", xres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + else + snprintf(temp, sizeof(temp), "%dx%d%s", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + + if (!strcmp(value, temp)) + { + if (!matchbuf[0]) + strlcpy(matchbuf, value, matchlen); + + if (!(flags & _CUPS_WITH_ALL)) + { + match = 1; + break; + } + } + else if (flags & _CUPS_WITH_ALL) + { + match = 0; + break; + } + } + + if (!match && errors) + { + for (i = 0; i < count; i ++) + { + int xres, yres; /* Resolution values */ + ipp_res_t units; /* Resolution units */ + + xres = ippGetResolution(attr, i, &yres, &units); + if (xres == yres) + snprintf(temp, sizeof(temp), "%d%s", xres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + else + snprintf(temp, sizeof(temp), "%dx%d%s", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + + if (strcmp(value, temp)) + add_stringf(data->errors, "GOT: %s=%s", name, temp); + } + } + break; + + case IPP_TAG_NOVALUE : + case IPP_TAG_UNKNOWN : + return (1); + + case IPP_TAG_CHARSET : + case IPP_TAG_KEYWORD : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + case IPP_TAG_NAME : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_TEXTLANG : + case IPP_TAG_URI : + case IPP_TAG_URISCHEME : + if (flags & _CUPS_WITH_REGEX) + { + /* + * Value is an extended, case-sensitive POSIX regular expression... + */ + + regex_t re; /* Regular expression */ + + if ((i = regcomp(&re, value, REG_EXTENDED | REG_NOSUB)) != 0) + { + regerror(i, &re, temp, sizeof(temp)); + + print_fatal_error(data, "Unable to compile WITH-VALUE regular expression \"%s\" - %s", value, temp); + return (0); + } + + /* + * See if ALL of the values match the given regular expression. + */ + + for (i = 0; i < count; i ++) + { + if (!regexec(&re, get_string(attr, i, flags, temp, sizeof(temp)), + 0, NULL, 0)) + { + if (!matchbuf[0]) + strlcpy(matchbuf, get_string(attr, i, flags, temp, sizeof(temp)), matchlen); + + if (!(flags & _CUPS_WITH_ALL)) + { + match = 1; + break; + } + } + else if (flags & _CUPS_WITH_ALL) + { + match = 0; + break; + } + } + + regfree(&re); + } + else if (ippGetValueTag(attr) == IPP_TAG_URI && !(flags & (_CUPS_WITH_SCHEME | _CUPS_WITH_HOSTNAME | _CUPS_WITH_RESOURCE))) + { + /* + * Value is a literal URI string, see if the value(s) match... + */ + + for (i = 0; i < count; i ++) + { + if (!compare_uris(value, get_string(attr, i, flags, temp, sizeof(temp)))) + { + if (!matchbuf[0]) + strlcpy(matchbuf, get_string(attr, i, flags, temp, sizeof(temp)), matchlen); + + if (!(flags & _CUPS_WITH_ALL)) + { + match = 1; + break; + } + } + else if (flags & _CUPS_WITH_ALL) + { + match = 0; + break; + } + } + } + else + { + /* + * Value is a literal string, see if the value(s) match... + */ + + for (i = 0; i < count; i ++) + { + int result; + + switch (ippGetValueTag(attr)) + { + case IPP_TAG_URI : + /* + * Some URI components are case-sensitive, some not... + */ + + if (flags & (_CUPS_WITH_SCHEME | _CUPS_WITH_HOSTNAME)) + result = _cups_strcasecmp(value, get_string(attr, i, flags, temp, sizeof(temp))); + else + result = strcmp(value, get_string(attr, i, flags, temp, sizeof(temp))); + break; + + case IPP_TAG_MIMETYPE : + case IPP_TAG_NAME : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_TEXTLANG : + /* + * mimeMediaType, nameWithoutLanguage, nameWithLanguage, + * textWithoutLanguage, and textWithLanguage are defined to + * be case-insensitive strings... + */ + + result = _cups_strcasecmp(value, get_string(attr, i, flags, temp, sizeof(temp))); + break; + + default : + /* + * Other string syntaxes are defined as lowercased so we use + * case-sensitive comparisons to catch problems... + */ + + result = strcmp(value, get_string(attr, i, flags, temp, sizeof(temp))); + break; + } + + if (!result) + { + if (!matchbuf[0]) + strlcpy(matchbuf, get_string(attr, i, flags, temp, sizeof(temp)), matchlen); + + if (!(flags & _CUPS_WITH_ALL)) + { + match = 1; + break; + } + } + else if (flags & _CUPS_WITH_ALL) + { + match = 0; + break; + } + } + } + + if (!match && errors) + { + for (i = 0; i < count; i ++) + add_stringf(data->errors, "GOT: %s=\"%s\"", name, ippGetString(attr, i, NULL)); + } + break; + + case IPP_TAG_STRING : + if (flags & _CUPS_WITH_REGEX) + { + /* + * Value is an extended, case-sensitive POSIX regular expression... + */ + + void *adata; /* Pointer to octetString data */ + int adatalen; /* Length of octetString */ + regex_t re; /* Regular expression */ + + if ((i = regcomp(&re, value, REG_EXTENDED | REG_NOSUB)) != 0) + { + regerror(i, &re, temp, sizeof(temp)); + + print_fatal_error(data, "Unable to compile WITH-VALUE regular expression \"%s\" - %s", value, temp); + return (0); + } + + /* + * See if ALL of the values match the given regular expression. + */ + + for (i = 0; i < count; i ++) + { + if ((adata = ippGetOctetString(attr, i, &adatalen)) == NULL || adatalen >= (int)sizeof(temp)) + { + match = 0; + break; + } + memcpy(temp, adata, (size_t)adatalen); + temp[adatalen] = '\0'; + + if (!regexec(&re, temp, 0, NULL, 0)) + { + if (!matchbuf[0]) + strlcpy(matchbuf, temp, matchlen); + + if (!(flags & _CUPS_WITH_ALL)) + { + match = 1; + break; + } + } + else if (flags & _CUPS_WITH_ALL) + { + match = 0; + break; + } + } + + regfree(&re); + + if (!match && errors) + { + for (i = 0; i < count; i ++) + { + adata = ippGetOctetString(attr, i, &adatalen); + copy_hex_string(temp, adata, adatalen, sizeof(temp)); + add_stringf(data->errors, "GOT: %s=\"%s\"", name, temp); + } + } + } + else + { + /* + * Value is a literal or hex-encoded string... + */ + + unsigned char withdata[1023], /* WITH-VALUE data */ + *adata; /* Pointer to octetString data */ + int withlen, /* Length of WITH-VALUE data */ + adatalen; /* Length of octetString */ + + if (*value == '<') + { + /* + * Grab hex-encoded value... + */ + + if ((withlen = (int)strlen(value)) & 1 || withlen > (int)(2 * (sizeof(withdata) + 1))) + { + print_fatal_error(data, "Bad WITH-VALUE hex value."); + return (0); + } + + withlen = withlen / 2 - 1; + + for (valptr = value + 1, adata = withdata; *valptr; valptr += 2) + { + int ch; /* Current character/byte */ + + if (isdigit(valptr[0])) + ch = (valptr[0] - '0') << 4; + else if (isalpha(valptr[0])) + ch = (tolower(valptr[0]) - 'a' + 10) << 4; + else + break; + + if (isdigit(valptr[1])) + ch |= valptr[1] - '0'; + else if (isalpha(valptr[1])) + ch |= tolower(valptr[1]) - 'a' + 10; + else + break; + + *adata++ = (unsigned char)ch; + } + + if (*valptr) + { + print_fatal_error(data, "Bad WITH-VALUE hex value."); + return (0); + } + } + else + { + /* + * Copy literal string value... + */ + + withlen = (int)strlen(value); + + memcpy(withdata, value, (size_t)withlen); + } + + for (i = 0; i < count; i ++) + { + adata = ippGetOctetString(attr, i, &adatalen); + + if (withlen == adatalen && !memcmp(withdata, adata, (size_t)withlen)) + { + if (!matchbuf[0]) + copy_hex_string(matchbuf, adata, adatalen, matchlen); + + if (!(flags & _CUPS_WITH_ALL)) + { + match = 1; + break; + } + } + else if (flags & _CUPS_WITH_ALL) + { + match = 0; + break; + } + } + + if (!match && errors) + { + for (i = 0; i < count; i ++) + { + adata = ippGetOctetString(attr, i, &adatalen); + copy_hex_string(temp, adata, adatalen, sizeof(temp)); + add_stringf(data->errors, "GOT: %s=\"%s\"", name, temp); + } + } + } + break; + + default : + break; + } + + return (match); +} + + +/* + * 'with_value_from()' - Test a WITH-VALUE-FROM predicate. + */ + +static int /* O - 1 on match, 0 on non-match */ +with_value_from( + cups_array_t *errors, /* I - Errors array */ + ipp_attribute_t *fromattr, /* I - "From" attribute */ + ipp_attribute_t *attr, /* I - Attribute to compare */ + char *matchbuf, /* I - Buffer to hold matching value */ + size_t matchlen) /* I - Length of match buffer */ +{ + int i, j, /* Looping vars */ + count = ippGetCount(attr), /* Number of attribute values */ + match = 1; /* Match? */ + + + *matchbuf = '\0'; + + /* + * Compare the from value(s) to the attribute value(s)... + */ + + switch (ippGetValueTag(attr)) + { + case IPP_TAG_INTEGER : + if (ippGetValueTag(fromattr) != IPP_TAG_INTEGER && ippGetValueTag(fromattr) != IPP_TAG_RANGE) + goto wrong_value_tag; + + for (i = 0; i < count; i ++) + { + int value = ippGetInteger(attr, i); + /* Current integer value */ + + if (ippContainsInteger(fromattr, value)) + { + if (!matchbuf[0]) + snprintf(matchbuf, matchlen, "%d", value); + } + else + { + add_stringf(errors, "GOT: %s=%d", ippGetName(attr), value); + match = 0; + } + } + break; + + case IPP_TAG_ENUM : + if (ippGetValueTag(fromattr) != IPP_TAG_ENUM) + goto wrong_value_tag; + + for (i = 0; i < count; i ++) + { + int value = ippGetInteger(attr, i); + /* Current integer value */ + + if (ippContainsInteger(fromattr, value)) + { + if (!matchbuf[0]) + snprintf(matchbuf, matchlen, "%d", value); + } + else + { + add_stringf(errors, "GOT: %s=%d", ippGetName(attr), value); + match = 0; + } + } + break; + + case IPP_TAG_RESOLUTION : + if (ippGetValueTag(fromattr) != IPP_TAG_RESOLUTION) + goto wrong_value_tag; + + for (i = 0; i < count; i ++) + { + int xres, yres; + ipp_res_t units; + int fromcount = ippGetCount(fromattr); + int fromxres, fromyres; + ipp_res_t fromunits; + + xres = ippGetResolution(attr, i, &yres, &units); + + for (j = 0; j < fromcount; j ++) + { + fromxres = ippGetResolution(fromattr, j, &fromyres, &fromunits); + if (fromxres == xres && fromyres == yres && fromunits == units) + break; + } + + if (j < fromcount) + { + if (!matchbuf[0]) + { + if (xres == yres) + snprintf(matchbuf, matchlen, "%d%s", xres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + else + snprintf(matchbuf, matchlen, "%dx%d%s", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + } + } + else + { + if (xres == yres) + add_stringf(errors, "GOT: %s=%d%s", ippGetName(attr), xres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + else + add_stringf(errors, "GOT: %s=%dx%d%s", ippGetName(attr), xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); + + match = 0; + } + } + break; + + case IPP_TAG_NOVALUE : + case IPP_TAG_UNKNOWN : + return (1); + + case IPP_TAG_CHARSET : + case IPP_TAG_KEYWORD : + case IPP_TAG_LANGUAGE : + case IPP_TAG_MIMETYPE : + case IPP_TAG_NAME : + case IPP_TAG_NAMELANG : + case IPP_TAG_TEXT : + case IPP_TAG_TEXTLANG : + case IPP_TAG_URISCHEME : + for (i = 0; i < count; i ++) + { + const char *value = ippGetString(attr, i, NULL); + /* Current string value */ + + if (ippContainsString(fromattr, value)) + { + if (!matchbuf[0]) + strlcpy(matchbuf, value, matchlen); + } + else + { + add_stringf(errors, "GOT: %s='%s'", ippGetName(attr), value); + match = 0; + } + } + break; + + case IPP_TAG_URI : + for (i = 0; i < count; i ++) + { + const char *value = ippGetString(attr, i, NULL); + /* Current string value */ + int fromcount = ippGetCount(fromattr); + + for (j = 0; j < fromcount; j ++) + { + if (!compare_uris(value, ippGetString(fromattr, j, NULL))) + { + if (!matchbuf[0]) + strlcpy(matchbuf, value, matchlen); + break; + } + } + + if (j >= fromcount) + { + add_stringf(errors, "GOT: %s='%s'", ippGetName(attr), value); + match = 0; + } + } + break; + + default : + match = 0; + break; + } + + return (match); + + /* value tag mismatch between fromattr and attr */ + wrong_value_tag : + + add_stringf(errors, "GOT: %s OF-TYPE %s", ippGetName(attr), ippTagString(ippGetValueTag(attr))); + + return (0); +} diff --git a/tools/printer-png.h b/tools/printer-png.h new file mode 100644 index 0000000..95c42c5 --- /dev/null +++ b/tools/printer-png.h @@ -0,0 +1,305 @@ +static const unsigned char printer_png[] = +{ + 0x89,0x50,0x4e,0x47,0x0d,0x0a,0x1a,0x0a,0x00,0x00,0x00,0x0d,0x49,0x48,0x44,0x52, + 0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x80,0x08,0x06,0x00,0x00,0x00,0xc3,0x3e,0x61, + 0xcb,0x00,0x00,0x12,0x8c,0x49,0x44,0x41,0x54,0x78,0x01,0xec,0xd5,0x01,0x44,0x2c, + 0x51,0x14,0xc6,0xf1,0xcf,0x06,0x10,0x25,0x45,0xa9,0x01,0x12,0x48,0x02,0x01,0x10, + 0x64,0x42,0x28,0x28,0x03,0xa1,0x24,0x01,0xc5,0x14,0x04,0x29,0x50,0x29,0x54,0x01, + 0x50,0x51,0xa0,0xc8,0xc0,0x50,0xa1,0x28,0x80,0x0a,0x02,0x01,0xad,0x10,0xb2,0xc4, + 0x32,0xbb,0xcb,0xff,0xed,0xbb,0x76,0xc7,0x1a,0xdb,0xbe,0x17,0xc0,0x6d,0x7e,0x1c, + 0xec,0x39,0xe3,0x0c,0xf7,0xdb,0xbb,0xab,0x46,0x00,0x07,0xf0,0x81,0x10,0xc8,0x02, + 0x11,0x16,0xb0,0x5c,0x54,0xc9,0x2a,0xac,0x64,0xe7,0xe8,0xa7,0x80,0x6e,0xe0,0x18, + 0x28,0x61,0x3b,0xfb,0x95,0x2a,0x59,0x76,0xff,0x6f,0xf8,0x2e,0x90,0xc3,0x36,0xa9, + 0x1c,0xe0,0xaa,0x11,0x60,0xce,0xea,0x5b,0x9f,0x2a,0x01,0x73,0x8d,0x6e,0x7e,0x09, + 0xdb,0xa5,0x4a,0x80,0x5b,0xef,0x3f,0x3f,0xc7,0x6f,0x91,0xca,0x01,0xdd,0xaa,0x02, + 0x8e,0x49,0x18,0x1c,0x1c,0xa4,0xa7,0xa7,0x87,0xf5,0xf5,0x75,0xac,0x94,0x3a,0x56, + 0x59,0x06,0x70,0x24,0x79,0x4a,0xc8,0x66,0xb3,0xa6,0x3e,0x3f,0x3f,0x65,0xa5,0x94, + 0x67,0xb2,0x07,0x7c,0xea,0x58,0x5e,0x5e,0x66,0x7e,0x7e,0x9e,0xf3,0xf3,0x73,0x52, + 0xd6,0xf2,0x05,0x84,0xa4,0x7e,0xab,0x30,0x23,0xa9,0x5f,0x75,0x1c,0x1c,0x1c,0x68, + 0x73,0x73,0x53,0xb7,0xb7,0xb7,0xaa,0xf5,0xfc,0xfc,0x6c,0xfa,0x5b,0x5b,0x5b,0x2a, + 0x16,0x8b,0xfa,0xf8,0xf8,0xd0,0xc9,0xc9,0x89,0xa6,0xa7,0xa7,0x35,0x35,0x35,0xa5, + 0xed,0xed,0x6d,0xbd,0xbf,0xbf,0xeb,0x5f,0x3b,0x01,0x3d,0x3c,0x3c,0x68,0x6d,0x6d, + 0x4d,0x63,0x63,0x63,0x5a,0x5a,0x5a,0x52,0x10,0x04,0x6a,0xe4,0xed,0xed,0x4d,0xbb, + 0xbb,0xbb,0xf2,0x3c,0x4f,0x13,0x13,0x13,0xda,0xd8,0xd8,0xd0,0xeb,0xeb,0xab,0x6a, + 0xed,0xed,0xed,0x99,0x77,0x5c,0x5d,0x5d,0xe9,0x3b,0x37,0x37,0x37,0xe6,0x99,0xa3, + 0xa3,0x23,0x25,0x5d,0x5e,0x5e,0xca,0xf7,0x7d,0x8d,0x8e,0x8e,0x6a,0x61,0x61,0x41, + 0xa7,0xa7,0xa7,0x02,0x64,0xa9,0x7e,0x01,0x11,0x75,0xb4,0xb7,0xb7,0x23,0x89,0xc5, + 0xc5,0x45,0x6a,0xed,0xef,0xef,0x23,0xc9,0xd4,0xd3,0xd3,0x13,0x9d,0x9d,0x9d,0x48, + 0xaa,0x2d,0xd3,0x2b,0x87,0xdb,0x70,0xe7,0xca,0xca,0x0a,0x92,0x48,0xd6,0xec,0xec, + 0x2c,0x85,0x42,0x81,0xa4,0x30,0x0c,0x69,0x6b,0x6b,0x23,0xf9,0x7c,0x4b,0x4b,0x8b, + 0x99,0x55,0xb9,0xae,0x6b,0xfa,0xbd,0xbd,0xbd,0x7c,0xa7,0xaf,0xaf,0x0f,0x49,0x94, + 0x03,0xa6,0xea,0xeb,0xeb,0x8b,0xc9,0xc9,0x49,0xd3,0x4f,0xd6,0xf8,0xf8,0x38,0xf9, + 0x7c,0x1e,0x0b,0x45,0x22,0xf6,0xf3,0x2f,0x40,0x57,0x57,0x17,0x99,0x4c,0x86,0xa1, + 0xa1,0x21,0x73,0x98,0xc3,0xc3,0xc3,0xf1,0xcc,0x71,0x1c,0xa2,0x28,0xaa,0xbb,0xb3, + 0xb5,0xb5,0x15,0x49,0x7f,0x3f,0x9b,0x43,0x9f,0x99,0x99,0xa9,0xce,0x4c,0x1d,0x1e, + 0x1e,0x52,0xeb,0xe5,0xe5,0x85,0xa6,0xa6,0x26,0x33,0x1b,0x19,0x19,0x21,0x08,0x02, + 0x2e,0x2e,0x2e,0x18,0x18,0x18,0x30,0xbd,0x8e,0x8e,0x8e,0x38,0xa0,0xb3,0xb3,0xb3, + 0x78,0xcf,0xfd,0xfd,0x3d,0x49,0x77,0x77,0x77,0xf1,0xfc,0xf1,0xf1,0x91,0x2a,0xcf, + 0xf3,0x4c,0xaf,0xb9,0xb9,0x99,0x9d,0x9d,0x1d,0xae,0xaf,0xaf,0x59,0x5d,0x5d,0x8d, + 0xdf,0x5b,0xfe,0xc5,0xc3,0x46,0x7f,0xd8,0x33,0x03,0x8f,0xda,0x82,0x20,0x8c,0x7f, + 0x3d,0xb7,0xaa,0x22,0x88,0x50,0x54,0x49,0x52,0x10,0x08,0x55,0x55,0x10,0x08,0x22, + 0x80,0x0a,0xa8,0xa0,0x84,0x82,0x42,0xe8,0x9f,0xa8,0x92,0x84,0x90,0x00,0xa9,0x28, + 0x54,0x14,0x92,0x84,0x40,0x44,0x29,0x52,0xa9,0x54,0x29,0x85,0x6a,0xde,0x67,0x98, + 0x63,0x9d,0xb7,0x75,0xea,0x7a,0x91,0xea,0xc7,0x70,0xdf,0xee,0xdb,0xdd,0x75,0x76, + 0x76,0x67,0xbe,0x29,0x6e,0x07,0xb0,0xdb,0xb7,0xb8,0xb8,0x28,0x0e,0xea,0x08,0xd6, + 0x3f,0x3a,0x3a,0xea,0x9b,0x53,0xad,0xb9,0xb9,0x59,0xee,0xef,0xef,0xc5,0xd8,0xdb, + 0xdb,0x93,0x8c,0x8c,0x8c,0xc0,0x79,0x18,0x5e,0xc4,0x68,0x6c,0x6c,0xd4,0xf6,0xd2, + 0xd2,0x52,0x79,0x7a,0x7a,0x12,0x83,0xa1,0x46,0x92,0x92,0x92,0xb4,0x8f,0xe1,0x45, + 0xdb,0x1e,0x1e,0x1e,0x74,0x5f,0x00,0xa4,0xb3,0xb3,0x53,0xc2,0x30,0x54,0x69,0x5f, + 0x79,0x79,0xb9,0x18,0x9b,0x9b,0x9b,0x92,0x90,0x90,0x20,0x00,0xd4,0x81,0x5c,0xba, + 0xba,0xba,0xcc,0xd9,0x6d,0x4f,0xc6,0xaf,0x03,0x6c,0x6f,0x6f,0x4b,0x98,0xe3,0xe3, + 0xe3,0xe0,0xd6,0xb4,0xb4,0xb4,0x78,0xe7,0x6c,0x6a,0x6a,0x92,0x97,0x97,0x17,0x09, + 0xa1,0xaa,0xc3,0xe6,0x66,0x6c,0xd7,0xb6,0xf3,0xf3,0xf3,0xa0,0x8d,0xf9,0x85,0x84, + 0xa9,0xaa,0xaa,0xd2,0xbe,0xb6,0xb6,0x36,0x31,0x3a,0x3a,0x3a,0x82,0x97,0xe6,0xf1, + 0xf1,0x51,0x8c,0x9b,0x9b,0x1b,0x49,0x4b,0x4b,0xd3,0xbe,0xb1,0xb1,0xb1,0xf0,0x21, + 0xab,0x03,0x86,0xf7,0xc5,0x5c,0x22,0x58,0x7f,0x7f,0x7f,0xdf,0xe9,0xf9,0x75,0x00, + 0xfd,0xa0,0x3e,0x72,0x73,0x73,0xb5,0x9f,0x87,0x13,0x39,0xa7,0xcb,0xc4,0xc4,0x84, + 0xcd,0xad,0x1f,0x9e,0xe8,0x33,0x6e,0x6d,0x65,0x65,0x65,0xc2,0xe4,0xcf,0x35,0xc9, + 0xcc,0xcc,0xd4,0xbe,0xfa,0xfa,0x7a,0x31,0xdc,0x31,0x33,0x33,0x33,0x62,0x8c,0x8c, + 0x8c,0xd8,0x33,0xaf,0x31,0xdf,0x68,0x68,0x68,0xd0,0xf6,0xc4,0xc4,0xc4,0x7f,0xe6, + 0xaf,0xae,0xae,0x0e,0xe6,0x5a,0x5d,0x5d,0x15,0x63,0x7a,0x7a,0x5a,0xd7,0x8c,0xb2, + 0x9e,0x9e,0x1e,0xf9,0xca,0xfc,0xc1,0x27,0xc0,0x83,0x06,0xc1,0xc5,0xc5,0x45,0x5c, + 0xe3,0xdc,0xb1,0xbc,0x75,0xae,0x02,0x01,0x63,0xbf,0x6b,0xb8,0xbc,0xbc,0x04,0x51, + 0x35,0x62,0x54,0x56,0x56,0xa2,0xa8,0xa8,0x08,0xc4,0xcd,0xf4,0x31,0x3e,0x3e,0x0e, + 0xa2,0x6a,0x85,0x4e,0x00,0xe2,0xae,0xa1,0xaa,0x26,0x3c,0xff,0xfa,0xfa,0x3a,0x0c, + 0x77,0x8d,0x83,0x83,0x03,0xd0,0x21,0x22,0x6d,0x6b,0x6b,0x0b,0x5f,0x99,0x4f,0x71, + 0x80,0xdb,0xdb,0x5b,0x10,0xb0,0x94,0x1c,0xd7,0x38,0x77,0x2c,0x13,0x3c,0x18,0x94, + 0x8c,0x58,0x59,0x59,0xf1,0xda,0xe4,0xe4,0x24,0x5c,0x18,0x12,0x40,0xc0,0x1c,0x05, + 0x67,0x67,0x67,0xea,0x3c,0x76,0x18,0xed,0xed,0xed,0x30,0xdc,0x35,0x0a,0x0a,0x0a, + 0xbc,0x73,0x9b,0xf1,0x46,0x83,0xd8,0x1c,0x3a,0x67,0x84,0xa9,0x44,0xfe,0xca,0xc4, + 0xf0,0x9f,0x61,0x92,0x86,0x93,0x93,0x93,0xe0,0x83,0x7e,0x84,0xa3,0xa3,0x23,0x18, + 0x36,0x96,0x89,0x1f,0x0c,0x11,0xb1,0x43,0x88,0xa4,0xb5,0xb5,0x15,0x83,0x83,0x83, + 0xba,0x1f,0x6a,0x79,0xbd,0xb1,0x04,0x54,0x0e,0xa0,0x6a,0x81,0x61,0x6b,0x6c,0x6c, + 0x6c,0xe8,0xbe,0x2b,0x2a,0x2a,0x90,0x9c,0x9c,0x8c,0x28,0x18,0x7a,0xd4,0xe2,0xe0, + 0xfb,0xbc,0x00,0xd4,0xeb,0x08,0x33,0x3f,0x3f,0x0f,0x66,0xf7,0x20,0x60,0x0e,0x10, + 0x3d,0xce,0x81,0xf1,0x3a,0x38,0xfc,0xec,0xec,0x6c,0x80,0x50,0x11,0x20,0x3f,0x3f, + 0x1f,0x20,0xc3,0xc3,0xc3,0xb8,0xbe,0xbe,0xc6,0x7b,0xc8,0xcb,0xcb,0x03,0x65,0x29, + 0x40,0x98,0xf0,0x61,0x6a,0x6a,0xca,0x77,0xfb,0x95,0x9a,0x9a,0x1a,0x80,0x30,0x61, + 0x04,0x25,0x20,0xe2,0xe0,0x67,0x3a,0x40,0x6d,0x6d,0xad,0x1b,0xe3,0xb4,0x52,0xc7, + 0x02,0x0f,0x88,0x1e,0x1a,0x55,0x00,0x7c,0x30,0x19,0x43,0x7f,0x7f,0xbf,0xeb,0x08, + 0x5a,0x99,0x63,0x61,0x09,0x20,0x03,0x03,0x03,0xa0,0x2c,0x83,0x5b,0xdd,0x23,0xfa, + 0x94,0xb3,0x28,0x83,0xc3,0xc3,0x43,0x18,0xcf,0xcf,0xcf,0x3a,0x6e,0x69,0x69,0x09, + 0x61,0x28,0xf9,0x00,0xb2,0xbb,0xbb,0x8b,0xab,0xab,0x2b,0xa4,0xa6,0xa6,0xfa,0xf6, + 0xa4,0xe1,0x82,0xb2,0x10,0x20,0x43,0x43,0x43,0xea,0x30,0x22,0x02,0x83,0x4a,0x04, + 0x73,0x73,0x73,0xfa,0x42,0x7c,0x3b,0xe2,0x55,0x01,0xae,0x15,0x17,0x17,0x0b,0x6f, + 0x91,0xa4,0xa7,0xa7,0xeb,0xbf,0xf9,0x84,0xca,0xec,0xec,0xec,0x6b,0x73,0x9a,0x69, + 0x36,0x5e,0x57,0x57,0xa7,0x55,0x3b,0x6b,0xa3,0x53,0x79,0x2b,0x81,0xdd,0xdd,0xdd, + 0xc1,0xff,0xa1,0xf6,0x57,0x45,0xc0,0xa7,0xdc,0xd6,0xd4,0xdf,0x61,0xee,0xee,0xee, + 0x74,0x0d,0x00,0x8e,0x54,0xf4,0xb3,0xb3,0xb3,0x23,0x39,0x39,0x39,0x6e,0x91,0x4b, + 0x55,0x4c,0x61,0x61,0x61,0xd0,0xb6,0xb0,0xb0,0xf0,0x73,0x64,0x60,0x56,0x56,0x96, + 0x00,0x90,0xde,0xde,0xde,0x57,0x1d,0x60,0x79,0x79,0x59,0x4a,0x4a,0x4a,0xdc,0x43, + 0xd5,0x0f,0xc6,0xcc,0xf9,0x2d,0xa7,0x52,0xdd,0xdd,0xd7,0xd7,0x27,0x29,0x29,0x29, + 0xc1,0x38,0xfe,0x16,0x3e,0xcf,0x56,0x3d,0xf4,0xc2,0x3a,0xbd,0xeb,0x2c,0x6a,0xb1, + 0x58,0x4c,0x0b,0x44,0x7c,0x79,0x44,0xf1,0x17,0x7e,0xd4,0xd6,0xd6,0xd6,0xe4,0x2d, + 0xf8,0xa7,0x6f,0xad,0x5d,0x58,0xad,0xc0,0x8c,0xb1,0x5e,0x25,0x1d,0x93,0xba,0x6f, + 0xea,0x00,0x1f,0xc0,0x57,0x07,0x38,0x3d,0x3d,0xd5,0x43,0xe7,0x13,0x29,0xca,0x3b, + 0x5f,0x15,0xde,0x74,0x2d,0xc7,0xd2,0xf4,0xf7,0x7b,0x61,0x1e,0x20,0x4c,0xda,0x74, + 0xdc,0x5f,0x76,0xce,0x40,0x23,0xde,0x26,0x0a,0xe3,0x07,0xdd,0x40,0xd7,0x51,0xa1, + 0x44,0x00,0x54,0x20,0x29,0x50,0x04,0xd0,0x05,0xa4,0x1b,0x88,0x80,0x82,0xa8,0x00, + 0xba,0x82,0x84,0x2e,0x23,0x21,0x20,0x52,0x74,0x2d,0xf3,0xfd,0x3c,0x3c,0x2c,0x8d, + 0xf5,0x1d,0xbb,0xfd,0x8d,0xed,0xfc,0x18,0x6f,0x6f,0xb3,0xdb,0xf6,0xce,0x9c,0x9d, + 0x99,0x39,0xe7,0x3c,0x23,0x47,0xcf,0x9c,0x61,0x5a,0x69,0x9f,0x9f,0x9f,0x0d,0x83, + 0x91,0xb7,0x71,0x3a,0x65,0x00,0xd3,0x48,0x39,0x82,0x8a,0xa1,0x1d,0x41,0x45,0xed, + 0x02,0x8a,0x32,0x00,0x56,0xed,0x71,0x7b,0x7b,0x1b,0x77,0x77,0x77,0xc1,0x62,0x29, + 0x32,0x5c,0x5d,0x5d,0xe9,0xbd,0xf8,0xd8,0xa3,0x18,0x84,0x56,0xfc,0x69,0xa2,0xf5, + 0x29,0xca,0x00,0x8a,0x32,0x80,0xa2,0x0c,0xa0,0x28,0x03,0x28,0xca,0x11,0x54,0xac, + 0xaf,0xaf,0x2b,0x34,0x8d,0x16,0xe1,0x2f,0xfa,0x01,0x8a,0xdf,0xd4,0x4a,0x92,0x88, + 0x3a,0xba,0x01,0x14,0xa7,0xa7,0xa7,0x41,0xd6,0x72,0x90,0x24,0x1a,0x73,0x42,0x0e, + 0xb1,0xe5,0xe5,0x65,0xe5,0x2d,0xfc,0x41,0x47,0x50,0xb1,0xb2,0xb2,0xd2,0x22,0x42, + 0xa2,0x94,0x24,0xb5,0x06,0x98,0x5d,0x77,0xd8,0xd7,0x3a,0x32,0xcc,0x2b,0xf5,0x0c, + 0xe1,0x8a,0x32,0x97,0xb2,0x5a,0x49,0x84,0x29,0xca,0x1e,0x3a,0x3b,0x3b,0x8b,0xc3, + 0xc3,0xc3,0x40,0x5d,0xe4,0xcc,0x65,0xe1,0x0c,0x25,0xde,0xa3,0x0c,0xa7,0x80,0xf7, + 0xf7,0xf7,0xe0,0x5e,0xe5,0xfe,0xfe,0x3e,0xaf,0x89,0xcc,0x3f,0xcf,0xe2,0x8d,0x00, + 0x39,0xdd,0x61,0x3f,0xbc,0x4d,0x8e,0x81,0x65,0x6b,0xd6,0x0e,0xa6,0x32,0xa4,0x48, + 0x3c,0x6d,0x9b,0x9b,0x9b,0xbe,0x9f,0xcc,0x2e,0x92,0xc0,0xc5,0x90,0x9f,0xd8,0xfd, + 0xff,0x9c,0x25,0x95,0xd7,0x44,0xe6,0x9f,0xc7,0x2c,0x9c,0x01,0x24,0x75,0x87,0x6e, + 0x30,0x6b,0x0c,0x2d,0x40,0x51,0x63,0xd1,0x51,0x09,0x03,0x90,0x20,0xd5,0x1d,0x2e, + 0x63,0x5b,0x5d,0x5d,0x75,0x9d,0x32,0xa0,0xcc,0xc7,0xc7,0x47,0xbb,0xbe,0xbe,0xf6, + 0xdf,0x6c,0x6b,0x6b,0x6b,0xba,0xa7,0x34,0x82,0x65,0x69,0x4d,0x64,0xe2,0x79,0x16, + 0xdb,0x00,0x12,0xba,0xc3,0x5e,0x83,0x49,0xe8,0xfa,0xfc,0xfc,0x3c,0x53,0x8e,0x24, + 0xd3,0x8d,0x32,0x8a,0x40,0x57,0xe7,0x24,0x92,0xa1,0x9c,0x5e,0x03,0x24,0x34,0x91, + 0x89,0xe7,0x59,0x70,0x3f,0x00,0xba,0xc3,0x78,0x7a,0x7a,0x72,0xa8,0x5a,0xf0,0xcd, + 0xd4,0xfc,0xe9,0xf9,0x54,0x59,0xc5,0x1d,0x98,0x37,0xf5,0xfe,0x59,0x76,0x0a,0x37, + 0x37,0x37,0x41,0xc3,0x07,0xe8,0xba,0xb1,0xb1,0x11,0xa0,0x75,0x40,0x06,0x94,0x51, + 0x4a,0xb1,0xf7,0xdf,0x65,0x24,0x08,0xc3,0x08,0xe3,0x2c,0xe6,0x78,0x7d,0x7d,0x0d, + 0x48,0x3c,0xcf,0x82,0x6f,0x03,0xd1,0x14,0x38,0xa5,0xdc,0x08,0x8b,0x41,0x2c,0xeb, + 0xea,0xc1,0xb0,0x1d,0x33,0xa0,0xce,0x37,0x86,0xb3,0x12,0x22,0x0d,0x7c,0x7d,0x7d, + 0x85,0x41,0x5d,0xa4,0x45,0xdc,0x64,0x61,0x21,0xf9,0x43,0x4c,0x93,0x7e,0x1e,0x58, + 0x8a,0x45,0x23,0xa1,0x3b,0x9c,0x37,0xfa,0xe6,0xcf,0x4e,0x4f,0x13,0xa9,0xd2,0x43, + 0x7a,0xc5,0x72,0x04,0xe5,0x75,0x87,0xa3,0x93,0xd3,0x44,0x4e,0xa1,0x46,0x80,0xbe, + 0xee,0x70,0x24,0xac,0x42,0x32,0x79,0x4d,0x64,0x8d,0x00,0x69,0xdd,0xe1,0x08,0x78, + 0x61,0xf7,0xfd,0xfd,0x1d,0x06,0xf2,0x9a,0xc8,0x32,0x80,0xbc,0xee,0x70,0x00,0xb4, + 0x3b,0x09,0x78,0x7b,0x7b,0xeb,0xcc,0xe5,0x09,0x4d,0xe4,0xe0,0x06,0xa0,0x68,0xd7, + 0xe3,0xe3,0xa3,0x24,0xdb,0x7b,0x7b,0x7b,0xe1,0xc2,0x89,0x5e,0x81,0x83,0x23,0x76, + 0x76,0x76,0x54,0x76,0x77,0x77,0x55,0xf8,0x9d,0x5c,0xb8,0x47,0x47,0x47,0x0a,0x94, + 0x70,0xca,0x46,0x5c,0x5e,0x5e,0x06,0x7b,0xdc,0x60,0x5f,0x1b,0x34,0x98,0xc4,0x9e, + 0x1d,0xd4,0x30,0x38,0x54,0x24,0xdd,0x66,0xd8,0xd4,0x41,0x11,0x78,0x06,0x2d,0x66, + 0xd5,0xdf,0x1b,0x04,0x3d,0xa3,0xff,0x67,0x9c,0x46,0xc1,0xbd,0x5c,0xc8,0x66,0x7f, + 0x7f,0x3f,0xd0,0x44,0x06,0xe8,0xb0,0x09,0x4e,0x37,0x0b,0x8e,0xf0,0x8d,0xad,0xad, + 0xad,0xc0,0x13,0xa8,0x10,0xf5,0xc5,0xc5,0xc5,0x98,0xc1,0x20,0x3a,0xbd,0xe1,0x37, + 0x97,0x53,0x86,0x8e,0x68,0x9c,0xbb,0xa7,0x42,0xa7,0xfb,0xda,0x2d,0xae,0x9b,0xf6, + 0x7a,0x4e,0x00,0x91,0x63,0x85,0x86,0xd3,0xe7,0xcc,0xa0,0x3b,0x94,0x67,0xd0,0xaf, + 0x63,0xa1,0xd8,0xfe,0x97,0x56,0x32,0xf1,0xfe,0x93,0x93,0x13,0xd5,0xd1,0x71,0xad, + 0x07,0x1d,0x68,0x51,0xaa,0x0a,0x9d,0x9b,0xd6,0x44,0xe6,0x9f,0x47,0x88,0xf8,0x8d, + 0x8e,0xe7,0xdb,0xd9,0x8e,0x8f,0x8f,0x1b,0xdf,0x6a,0x79,0xb3,0x26,0x0b,0x56,0xed, + 0xeb,0xe4,0xcf,0xbd,0xfa,0x1f,0x85,0x50,0xac,0x3a,0x1f,0xa3,0x52,0x21,0xf0,0x22, + 0x0f,0x19,0x9f,0x99,0xd0,0x1d,0x8e,0x86,0xda,0x4c,0xea,0x64,0x8e,0xb0,0x93,0x40, + 0x35,0xaf,0x89,0x1c,0x23,0x25,0x4c,0x5a,0x41,0x9c,0x16,0x8d,0x28,0x58,0x3b,0x38, + 0x38,0x98,0x57,0x51,0xc7,0xe3,0xf9,0xd2,0xe9,0x62,0x93,0x07,0x38,0xb1,0x9f,0x57, + 0x43,0x30,0x12,0xe4,0x75,0x87,0xa2,0x58,0x8a,0x39,0x40,0xa4,0x4b,0xe1,0x56,0x0e, + 0x57,0x0c,0x3a,0x64,0x5e,0x0e,0x11,0x39,0x6c,0xd0,0xf8,0x6b,0xdf,0xce,0x09,0x5e, + 0x61,0x0c,0x75,0x3a,0xce,0x85,0xe1,0x30,0x8a,0x7f,0xeb,0x07,0xd0,0xc2,0xe5,0xe5, + 0xe5,0x45,0xb1,0x6f,0x5c,0xab,0xba,0xf7,0xd6,0xa6,0xb5,0xd6,0x5d,0x69,0x83,0xeb, + 0x74,0x05,0xff,0xac,0xab,0xeb,0xf1,0x9b,0xcb,0xa8,0xd8,0x0a,0x69,0x31,0xe7,0xd7, + 0xf8,0x24,0x2f,0x46,0x1a,0x79,0xf6,0x98,0x02,0x82,0x29,0x40,0x75,0x22,0x4f,0x91, + 0x9d,0xab,0x58,0x81,0xb7,0xf3,0xf3,0x73,0x0d,0xc7,0x84,0x5b,0x7f,0x14,0xe6,0x7e, + 0x5f,0xbb,0xc5,0x75,0xbd,0xd7,0x33,0xcf,0xeb,0x1c,0xdf,0xed,0xed,0xed,0xc6,0xb6, + 0x47,0x9f,0xe1,0x2b,0x53,0x81,0x16,0x93,0x04,0x57,0x14,0xde,0xe4,0x77,0x9a,0x37, + 0x31,0x16,0x45,0xf7,0x1e,0x1e,0x1e,0x14,0x4a,0xfd,0xaf,0xbd,0x73,0x80,0xb5,0x2d, + 0x87,0xc2,0x70,0xc7,0x7c,0xf6,0xbb,0x1a,0xdb,0xb6,0xad,0x60,0x3c,0xc1,0xd8,0x88, + 0x86,0xe1,0x8d,0xed,0x0c,0xc3,0x61,0xcc,0xb1,0x1d,0x8c,0x6d,0xdb,0xf3,0x6c,0xf5, + 0x7b,0xc9,0x9f,0xa4,0x3b,0xdd,0x39,0x7d,0xa7,0xe9,0x3e,0xf7,0xec,0xbb,0xfe,0x64, + 0xa5,0x3d,0xdd,0x3c,0xfd,0x57,0xd7,0xaa,0x76,0xcb,0x37,0xfd,0x05,0x60,0x2e,0x00, + 0xd3,0xce,0x4c,0x14,0x46,0xa8,0x0a,0x42,0x3d,0x60,0x28,0xa6,0x9a,0x90,0x98,0x7a, + 0x4a,0x3d,0xa5,0x1f,0x4b,0x83,0x70,0x5c,0x92,0x31,0x90,0x63,0xd8,0x38,0xc1,0x42, + 0x40,0x3e,0xed,0xd3,0xd2,0xe4,0x83,0x80,0x58,0x3f,0xd9,0xc1,0xb1,0xf4,0x3c,0x75, + 0x01,0xde,0xc1,0x37,0xe3,0x1c,0x1d,0x3c,0x84,0xbd,0x06,0x4a,0xe8,0x57,0x46,0x71, + 0x7e,0x25,0x91,0xf6,0xd6,0x01,0x20,0x81,0x3f,0xca,0xa7,0xe0,0x6f,0xbf,0xfd,0x76, + 0x63,0xfd,0xe2,0x90,0x4c,0x89,0x87,0x68,0x9e,0x4f,0x88,0x25,0x20,0x8e,0xcf,0x27, + 0x2c,0x05,0xba,0x5c,0x21,0x56,0xc2,0xca,0x60,0x28,0x21,0xbd,0x70,0xcc,0xaf,0xa3, + 0x57,0x8e,0xa9,0xe1,0xbc,0x07,0x56,0xc7,0xef,0xac,0xa2,0x3a,0x4c,0xfb,0x14,0x80, + 0x4c,0xf7,0xb3,0x69,0xe8,0xc5,0x6b,0x74,0x60,0x84,0x6e,0x51,0x9e,0x2d,0xb2,0x31, + 0xfd,0x8a,0x13,0x72,0x0c,0x49,0x04,0xd6,0x23,0x20,0x54,0x71,0x48,0x65,0x82,0x08, + 0x69,0x58,0x19,0xc8,0xa7,0x05,0xc3,0x72,0x72,0x6a,0x59,0xe8,0xf9,0x00,0xc5,0xe4, + 0xfd,0x98,0xa0,0x01,0xf1,0x4c,0xcc,0xa0,0xd2,0xcb,0xbb,0x70,0x1d,0x4a,0xd0,0x1a, + 0x05,0x10,0x01,0x74,0xbd,0x36,0x5d,0xcb,0x26,0xa3,0xe5,0xeb,0x45,0x3c,0x69,0x22, + 0x5f,0x35,0x7f,0x08,0xc3,0x52,0x30,0xd4,0x8b,0xd2,0x40,0x2a,0x84,0x32,0xf2,0x47, + 0xa9,0x25,0x8d,0xd2,0x0a,0x81,0xcc,0x10,0xf2,0xd3,0xa8,0x20,0x4a,0x56,0x86,0x38, + 0x04,0x22,0x34,0x33,0x99,0xbc,0x11,0x90,0x28,0x05,0x40,0x81,0x68,0x71,0xd0,0x95, + 0xcd,0xb7,0x01,0x0c,0xd5,0x72,0x2f,0xd2,0x7c,0x2f,0x23,0xd7,0xa8,0xe9,0xdb,0x2a, + 0x05,0xc0,0xf4,0xf6,0x64,0xb1,0x63,0x99,0x7e,0x44,0xa4,0x4b,0x01,0xc8,0x78,0x32, + 0xdd,0xaf,0xd9,0xc7,0x78,0x38,0x71,0xc8,0x83,0xd4,0xa0,0x29,0x8a,0x50,0x8a,0x21, + 0x95,0x78,0x2a,0x20,0x53,0xf7,0x62,0xc5,0x53,0x2a,0xa0,0xbe,0x85,0xe2,0xce,0x3b, + 0xef,0x3c,0xe7,0x27,0x9c,0xf2,0x2e,0x28,0x9c,0xf3,0xeb,0x13,0x42,0x3a,0xef,0xd3, + 0xbe,0x3a,0x80,0x32,0x00,0x0d,0xf7,0xeb,0xff,0x37,0xdd,0x2c,0x0d,0x2c,0x80,0x94, + 0x00,0x62,0x10,0x4a,0x3d,0x5f,0xd3,0x30,0xc8,0x03,0xc1,0x9d,0xfa,0x15,0xaa,0xf7, + 0xd6,0xfd,0x24,0x58,0x07,0x14,0x84,0xf3,0x65,0x5d,0x28,0xf1,0xa4,0x33,0x18,0xe5, + 0x97,0x92,0x67,0x65,0x71,0x8e,0x51,0x29,0x85,0x78,0x07,0xa4,0x60,0xfd,0x6a,0xfa, + 0x85,0x8d,0x68,0x0b,0xc6,0x4a,0x3f,0xe4,0xe3,0x17,0x99,0x54,0xd8,0x24,0x18,0xab, + 0xf7,0x1b,0x51,0x88,0x0c,0x85,0x10,0x87,0xe9,0x85,0x7c,0x99,0x5b,0x91,0x1a,0x90, + 0xa9,0x50,0xd7,0xe8,0xb7,0xd2,0x20,0x8d,0xde,0x43,0x59,0x12,0x84,0xdf,0x31,0xa9, + 0x27,0x36,0xde,0x81,0xa5,0xb4,0xfa,0xf3,0xd3,0x3a,0xc8,0x72,0x81,0xd5,0xe2,0xff, + 0xfa,0xb1,0x05,0xee,0xd9,0x9d,0x05,0x20,0xb3,0x7a,0xd5,0xdc,0xc2,0x02,0xc8,0xec, + 0x53,0x1a,0xfd,0x87,0x11,0xf8,0x70,0x7d,0xe9,0x12,0x25,0x15,0x42,0x25,0x90,0xc7, + 0xf9,0x8a,0x13,0x4a,0xc8,0x90,0x14,0x2b,0xc4,0x7f,0xcf,0x21,0x38,0x83,0xd0,0x6e, + 0x15,0x48,0xf9,0x45,0xef,0x29,0x8a,0xcd,0x6f,0xf2,0x46,0x2e,0x30,0xdd,0x02,0x90, + 0xa9,0x7e,0x47,0x0d,0x2a,0x52,0x5a,0x5c,0xb9,0x09,0xf0,0xf2,0xf8,0x5d,0x2c,0x0f, + 0xa5,0x57,0x04,0xe2,0xe3,0x51,0x08,0xe2,0xf2,0xf9,0x1c,0x23,0x44,0xc8,0x94,0x08, + 0x01,0xe9,0xae,0xa1,0xfc,0xf9,0x65,0x15,0x48,0x95,0x64,0x2c,0xa4,0xf2,0x02,0x3c, + 0xfa,0xe8,0xa3,0x2a,0x08,0xa4,0xa5,0x5b,0x00,0xbd,0x00,0x99,0xde,0x14,0x78,0x16, + 0xcf,0xc4,0xb7,0xfb,0x0f,0x26,0xe4,0x93,0x35,0xf1,0x03,0xb3,0x9f,0xff,0x69,0x75, + 0x79,0xc2,0x1b,0xaf,0x2f,0xe1,0xaa,0xfd,0x5c,0x05,0x0a,0x42,0x90,0x2e,0x57,0x40, + 0x7a,0xdc,0x0a,0x24,0x28,0x00,0xd2,0x14,0xd4,0xfe,0xa6,0x94,0xf3,0x5c,0x2c,0x10, + 0x69,0x94,0x78,0x90,0x5b,0xc2,0x0b,0x12,0x5a,0xbe,0xc4,0x47,0xce,0xa7,0x25,0x42, + 0xab,0x84,0x3a,0x51,0xec,0x3a,0xf5,0xa4,0x4e,0x98,0x30,0x81,0x78,0x5f,0xcc,0x0a, + 0x46,0x53,0x71,0x03,0x68,0x2d,0xca,0x90,0x91,0x81,0x79,0xc7,0x13,0x90,0xa7,0x90, + 0x19,0xef,0x43,0xc1,0x20,0x7f,0x66,0xcd,0x9a,0x15,0xdc,0x2b,0xf6,0x7e,0xaa,0x4b, + 0xf5,0xcd,0xb4,0x70,0xea,0x1e,0x32,0xf9,0x06,0x21,0xf9,0x4b,0xa3,0xaa,0x32,0x49, + 0x5a,0x3a,0x2b,0xd8,0x20,0x72,0x43,0xa2,0x23,0xbf,0x4d,0x01,0x5a,0x48,0x3c,0xa2, + 0xb8,0x10,0x4b,0x2b,0xa6,0x00,0x34,0x2d,0x68,0x76,0x98,0x94,0x11,0xa6,0x7d,0x47, + 0x50,0x5b,0xd2,0xc3,0xb0,0xec,0x94,0x30,0x7c,0x0c,0x2f,0x48,0x65,0x24,0xb5,0x62, + 0x44,0x73,0x05,0xe9,0xf8,0x82,0x54,0xfe,0x68,0xbb,0xf6,0x15,0x0a,0x74,0x06,0x31, + 0xc8,0x15,0x83,0xee,0x59,0x7d,0x66,0xfc,0x78,0x21,0x0b,0x00,0x41,0x34,0xcf,0x34, + 0x9a,0x46,0x88,0xf0,0x60,0x85,0x8a,0x83,0xbf,0xfe,0x5e,0xe4,0x96,0x2c,0x1f,0x70, + 0xdb,0x4c,0x3a,0xc1,0xcb,0x89,0x0e,0xd9,0x76,0xb2,0x42,0xc4,0x8b,0x8f,0x6f,0xb9, + 0xed,0x91,0xfe,0xdc,0x95,0xea,0x9f,0xaf,0x4a,0xf5,0x79,0x41,0x5a,0x81,0xf3,0x25, + 0x75,0xd7,0xa7,0xfc,0x7f,0xc2,0xe4,0xe7,0x4b,0xf8,0xff,0xd4,0xe0,0x37,0xd4,0xff, + 0x57,0x95,0xaf,0x98,0x05,0xf0,0xab,0x6d,0x24,0x0f,0x7f,0xfe,0xfd,0xcf,0x02,0x37, + 0x77,0xe4,0x14,0x37,0x77,0x70,0x5f,0xe7,0x5f,0xd5,0xf9,0xac,0x71,0x80,0xc0,0xff, + 0x24,0x0c,0xb0,0x62,0xf9,0x6f,0x2c,0xa7,0xc0,0xfd,0xfb,0xb7,0x04,0xe7,0x7f,0xc9, + 0x9c,0x40,0x7e,0x7d,0x9a,0xe2,0x45,0x14,0x80,0x92,0xcf,0x88,0x58,0x0a,0xd0,0xe4, + 0xb5,0x9b,0x4c,0x75,0xbb,0xec,0x75,0xa4,0xdb,0xa8,0x23,0xa1,0x90,0xbf,0xc4,0xad, + 0x5e,0x33,0x0f,0x05,0x23,0xe3,0x73,0x08,0xeb,0x5b,0x97,0x41,0x3b,0x9f,0xee,0xf0, + 0xf8,0x54,0xf7,0xfa,0x52,0xae,0x74,0x42,0xc5,0x4b,0x28,0x00,0x3d,0x4b,0x98,0xa9, + 0xa4,0xce,0x8c,0xff,0xe7,0xcd,0x77,0x7b,0x1d,0x74,0xa1,0x9b,0x39,0x94,0xb6,0x4a, + 0xc6,0xd7,0x9f,0xbe,0xe9,0x26,0x6c,0xbd,0x9a,0xfb,0xa7,0x76,0xa6,0x60,0x29,0x82, + 0xe7,0x2b,0x2c,0xdf,0x59,0x53,0xe4,0x7e,0x9a,0x0d,0x95,0x66,0x01,0xe2,0xc7,0x8a, + 0xba,0x00,0x4a,0x3f,0x95,0xbf,0xa4,0x3f,0xb8,0x6a,0xed,0x96,0x6e,0xbb,0xdd,0xf6, + 0x71,0x13,0xa6,0x4c,0x8c,0xa9,0x3f,0x17,0x10,0x3a,0xb0,0x64,0xd1,0x3c,0xf7,0xc3, + 0x97,0x2f,0xb9,0x99,0x33,0xa6,0xa7,0x29,0x58,0x01,0xf4,0xb8,0x7b,0x19,0xd3,0x4f, + 0xe9,0x97,0xfb,0x4b,0xb7,0x00,0x21,0xf9,0x65,0x15,0x40,0x93,0x20,0x92,0xb0,0x66, + 0x99,0xfb,0xfa,0x93,0x57,0xdd,0xc0,0x0e,0x7b,0x05,0x99,0x53,0xad,0x02,0x2c,0x5e, + 0xf0,0x8f,0xfb,0xf2,0x83,0x17,0xdc,0xa4,0xad,0x56,0x78,0xe5,0xda,0xba,0xbc,0xc9, + 0x2f,0x74,0xbf,0x9c,0xe7,0x51,0xea,0x7f,0xf8,0xe1,0x07,0x92,0x89,0xeb,0x58,0xf2, + 0xb0,0x70,0x24,0xad,0x8c,0x02,0xa0,0xa1,0xb8,0x81,0x14,0x0c,0x0d,0xcc,0x72,0x7f, + 0x7d,0xf3,0xb2,0xfb,0xe3,0xab,0x17,0x6b,0x4b,0x88,0xfa,0x14,0x66,0xae,0x9f,0xe8, + 0x31,0xa1,0xe9,0x01,0x9b,0xc0,0x85,0x28,0x4e,0x98,0x8f,0xf4,0xe7,0x21,0xfe,0x83, + 0x4f,0xea,0x4c,0x1d,0x09,0xcd,0xef,0x00,0xca,0x54,0x00,0x96,0x28,0xc5,0x05,0xf0, + 0x69,0x16,0xa6,0x5a,0xa4,0x44,0x10,0x0c,0xea,0x44,0x50,0x74,0x00,0xa7,0xbc,0xcf, + 0xce,0x9f,0x05,0xc4,0xa4,0x13,0x26,0xb2,0xb2,0xe2,0x57,0x75,0xc8,0x56,0x33,0x8d, + 0x53,0xfa,0xfd,0xeb,0xd3,0x0b,0x35,0x03,0xd9,0x6b,0x1f,0x68,0xae,0x7e,0xea,0xc3, + 0x9a,0xaf,0x64,0x35,0x72,0x7e,0xce,0xff,0x87,0x78,0x5a,0x3d,0x01,0xf9,0xca,0xdb, + 0x84,0x0a,0x20,0xe7,0x05,0xef,0xa1,0x78,0xa9,0x3a,0x00,0x9d,0x40,0x9a,0x30,0x9a, + 0xdc,0xec,0x50,0x66,0x25,0xa7,0xe7,0xfb,0xda,0x84,0x4a,0x53,0xde,0x00,0x4c,0xee, + 0x71,0x08,0xd7,0x9c,0x44,0xde,0x2f,0x3f,0x5f,0x9a,0xa9,0x04,0xf2,0x62,0x68,0x2c, + 0x12,0x4c,0x1f,0xcf,0xce,0x5c,0x83,0x20,0x05,0x49,0xb1,0x42,0x4a,0x8b,0x59,0xce, + 0x66,0x46,0x03,0x35,0x6b,0x07,0x53,0xc6,0x43,0x0d,0xf9,0xf9,0xc9,0xac,0xa8,0x14, + 0xff,0x1f,0x49,0xcf,0xe8,0x07,0xc8,0x34,0xb9,0x45,0x3f,0x90,0x30,0xa4,0x5a,0x83, + 0x8c,0xe1,0xe0,0xd6,0xc0,0xe6,0x03,0x80,0xd6,0x29,0x80,0x21,0x7d,0x3e,0x80,0x59, + 0x80,0xf6,0x2b,0x80,0xc2,0x68,0x85,0xb0,0xfd,0x16,0xc0,0x90,0x3e,0x1f,0xc0,0x14, + 0xa0,0xa5,0xe4,0x27,0xa4,0xb5,0x4d,0x01,0x0c,0xa1,0xe9,0x4f,0xa8,0x03,0xb4,0x60, + 0xb9,0x78,0x43,0xde,0x7c,0x80,0xf6,0x5b,0x00,0x6b,0x05,0x44,0x49,0x6f,0x9f,0x02, + 0x18,0xa2,0xa6,0x3f,0x85,0x70,0x73,0x01,0xed,0xaf,0x00,0x8e,0xe3,0x8e,0x20,0xeb, + 0x0d,0x14,0xac,0x23,0x68,0x1c,0x12,0xaf,0x79,0x03,0x4a,0xb3,0x7e,0x80,0x71,0xaa, + 0x14,0xe5,0x46,0x03,0xf9,0x64,0xbb,0x3f,0x60,0x23,0x80,0xa4,0x87,0xf1,0x7c,0x05, + 0xe8,0x93,0xb5,0xf8,0xad,0x22,0x68,0xcd,0x40,0x1b,0x18,0x1a,0x17,0xeb,0x03,0x18, + 0x6c,0x3e,0x80,0x91,0x2f,0xd8,0x58,0x80,0x55,0x02,0x15,0x0f,0xd6,0x0c,0x54,0xfa, + 0xf8,0x50,0x00,0x53,0x04,0x48,0x8f,0xc5,0xcd,0x05,0xb4,0x14,0xfa,0x96,0x50,0x02, + 0xe9,0x92,0x60,0x6d,0xe5,0xf6,0x29,0x80,0x41,0x24,0x8b,0x68,0x91,0x1d,0x84,0xed, + 0x55,0x00,0x43,0x95,0xf8,0x5a,0x61,0xff,0xe5,0xf6,0x29,0x80,0x21,0x20,0xbe,0xae, + 0xf4,0x8f,0x8c,0x8c,0xb8,0xa3,0x8f,0x3e,0x5a,0x6b,0x14,0x65,0x29,0xc0,0x18,0x5b, + 0xb1,0xcb,0xcc,0xbf,0x56,0x06,0xaf,0xf3,0xfb,0x2c,0xad,0xef,0xb7,0xd5,0xd5,0x2a, + 0xeb,0xfa,0x82,0xbb,0x7b,0x05,0x60,0x4d,0x5a,0xc3,0xd8,0x40,0xb5,0xa4,0x57,0xdd, + 0x81,0xdf,0x61,0xdc,0x5d,0x72,0xc9,0x25,0xac,0xdf,0x80,0x68,0xf3,0xab,0xee,0x14, + 0x80,0x8b,0x90,0xbd,0xf7,0xde,0xdb,0xf5,0x1c,0x06,0x11,0x0e,0xd1,0x0a,0x83,0xb4, + 0x53,0x4f,0x3d,0x15,0xbf,0xcf,0x0a,0xe2,0x6c,0x18,0xc1,0x2a,0xe2,0x5a,0xce,0xa7, + 0x7b,0x05,0xc0,0x7c,0xb0,0x93,0x27,0x61,0xef,0x60,0xd0,0x3e,0x46,0xd5,0x5a,0x3e, + 0x04,0xb3,0xa7,0xd1,0xd5,0x57,0x5f,0xed,0x76,0xdd,0x75,0x57,0xcc,0x3f,0x7b,0x07, + 0x60,0xb5,0x51,0x00,0x2c,0x40,0x77,0x2e,0x40,0xe4,0x63,0x3e,0xb8,0xd1,0x69,0xa7, + 0x9d,0xe6,0x7a,0x02,0x83,0xb6,0x81,0x09,0x9a,0x7f,0xfb,0xed,0xb7,0x1f,0x5b,0xd8, + 0xb9,0x8b,0x2f,0xbe,0xd8,0xed,0xb8,0xe3,0x8e,0x70,0xc4,0x8a,0x2d,0xac,0x24,0x8e, + 0x10,0xc7,0x05,0x68,0x9b,0xbc,0x8e,0x3d,0x81,0x2b,0x58,0xa6,0x27,0xa6,0x00,0x54, + 0x24,0xd0,0xa2,0xdd,0x76,0xdb,0x8d,0xe5,0xcb,0x1a,0xda,0x3d,0xd4,0x20,0x68,0xbb, + 0x5c,0xd5,0xc5,0x0e,0x3b,0xec,0x30,0x42,0xed,0x73,0xc8,0x67,0xf9,0x54,0xd2,0x59, + 0xab,0x81,0xd2,0x0f,0xf1,0x84,0x90,0x0f,0x77,0x1d,0x4b,0x3f,0xdc,0xa3,0x1e,0x7f, + 0xc7,0x2c,0x00,0xa5,0x1f,0xf2,0xb9,0x19,0x0f,0x38,0xf0,0xc0,0x03,0xf1,0x31,0xe6, + 0x0e,0x1a,0x24,0x1f,0xa1,0x84,0x5f,0x76,0xd9,0x65,0xec,0xde,0xc6,0x76,0xfa,0x6c, + 0x61,0x07,0xc9,0x28,0x02,0x3b,0xac,0x91,0xe6,0x86,0x87,0x87,0xdd,0xc0,0xc0,0x00, + 0x8b,0x4c,0xc3,0x55,0x2a,0xf9,0xe0,0x6f,0x36,0x8d,0x7a,0xc6,0x47,0x4e,0x8d,0xf9, + 0x1d,0xb6,0x1c,0x61,0x2f,0x7f,0xf6,0x0e,0xd4,0x26,0xce,0xa4,0x61,0x0d,0xbe,0xfa, + 0xea,0x2b,0xf6,0xf8,0xe7,0xb7,0xcb,0x87,0x41,0x80,0x60,0x0a,0x1e,0x15,0xb9,0x7d, + 0xf6,0xd9,0x47,0x3b,0xa2,0x51,0xda,0x49,0xc7,0xef,0x73,0x4e,0x20,0xa4,0x71,0x8c, + 0x73,0x36,0x70,0x2f,0xc3,0x67,0x71,0x01,0x2f,0xc6,0x14,0x40,0x2e,0x00,0x0b,0x80, + 0x69,0x41,0x21,0x00,0x3b,0x7a,0x70,0x8c,0x34,0x6d,0xe3,0x0e,0x08,0x0d,0xf9,0xeb, + 0x1a,0x11,0x42,0xa0,0x88,0x17,0xe9,0xf0,0x00,0xd9,0x84,0xfc,0xc6,0xf4,0x73,0x4c, + 0xdb,0xe2,0x89,0x78,0x24,0x15,0x70,0xbf,0xc9,0xe8,0xe8,0xe8,0xcf,0x3e,0x72,0x0b, + 0x15,0xc2,0x48,0x33,0x10,0xb2,0x03,0xe1,0x41,0xda,0xae,0x4d,0xdb,0xba,0x21,0x68, + 0x9f,0x49,0xd7,0xa2,0x3c,0x0c,0x08,0x97,0x5f,0xc7,0xdc,0x53,0xbb,0xc7,0xc4,0x63, + 0x19,0x58,0xaa,0x9f,0xe3,0x28,0x41,0xa4,0xc3,0x27,0x15,0x0c,0x16,0x5c,0xbd,0xb1, + 0xbf,0x08,0x05,0x78,0xcc,0x45,0xa0,0xbd,0x71,0x65,0x05,0xf0,0x33,0xf8,0x1b,0x09, + 0xfe,0x67,0x70,0x70,0x10,0xe1,0x58,0x86,0x98,0x28,0x1f,0x11,0xf2,0x95,0xee,0x5c, + 0x09,0x69,0xec,0x54,0x8e,0x02,0xd0,0xce,0x57,0x27,0x4f,0x97,0xc4,0x0b,0x8f,0xc1, + 0xbd,0xe6,0x03,0xdc,0xe5,0xe5,0x1c,0x2f,0x93,0xaa,0x56,0x40,0x4a,0xa0,0x10,0xad, + 0xa3,0xd9,0x41,0xed,0x94,0x95,0x2d,0xb5,0xac,0xa9,0x21,0x1f,0xca,0x6f,0xb9,0x5f, + 0x44,0xd6,0x41,0x64,0xcb,0xbf,0x67,0x62,0x3e,0x9c,0x13,0xd1,0x9d,0x20,0x91,0xc6, + 0xfe,0x13,0xb8,0xff,0x9a,0x31,0xe8,0xea,0x20,0x44,0xc1,0x3a,0x80,0xd5,0x01,0xe4, + 0x6e,0x09,0x11,0xd2,0x91,0x4c,0xc8,0xf4,0x9f,0xe5,0xef,0xf5,0x8c,0x14,0x40,0x80, + 0xc4,0x6b,0x7c,0x70,0x4f,0x8d,0x12,0xe8,0x9c,0x40,0x0c,0x45,0x94,0x21,0x90,0x00, + 0xf9,0xe4,0xdf,0xe0,0xef,0xf9,0x80,0xab,0x03,0x96,0xc0,0xcb,0xbc,0xb5,0x6d,0x83, + 0x61,0x1e,0xdc,0xa6,0x4e,0x39,0x1a,0xf0,0xf2,0x90,0x97,0x55,0x96,0x6f,0x7d,0x0f, + 0x38,0x84,0xcb,0x81,0x6e,0xe6,0x9e,0x0d,0x79,0xb9,0x8d,0xce,0x22,0x2f,0xbf,0x78, + 0x59,0x6e,0xf9,0x39,0xe6,0xb1,0x1c,0xae,0xe0,0x0c,0xee,0xe0,0xd0,0xd5,0xc3,0xad, + 0x03,0x63,0x75,0xc1,0xae,0xdd,0xd9,0xb0,0x20,0x00,0x00,0x00,0x00,0x49,0x45,0x4e, + 0x44,0xae,0x42,0x60,0x82, + +}; diff --git a/tools/printer.opacity b/tools/printer.opacity new file mode 100644 index 0000000..6551295 Binary files /dev/null and b/tools/printer.opacity differ diff --git a/tools/printer.png b/tools/printer.png new file mode 100644 index 0000000..9bb5196 Binary files /dev/null and b/tools/printer.png differ diff --git a/vcnet/README.txt b/vcnet/README.txt new file mode 100644 index 0000000..280bffb --- /dev/null +++ b/vcnet/README.txt @@ -0,0 +1,6 @@ +README - CUPS on Windows - 2019-05-15 +===================================== + +This directory contains Visual Studio 2017 project and solution files for +building the CUPS library and cupstestppd, ippeveprinter, ippfind, ipptool, +testfile, and testhttp programs on Windows. diff --git a/vcnet/config.h b/vcnet/config.h new file mode 100644 index 0000000..4ad1dc8 --- /dev/null +++ b/vcnet/config.h @@ -0,0 +1,762 @@ +/* + * Configuration file for CUPS on Windows. + * + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +#ifndef _CUPS_CONFIG_H_ +#define _CUPS_CONFIG_H_ + +/* + * Include necessary headers... + */ + +#include +#include +#include +#include +#include +#include + + +/* + * Microsoft renames the POSIX functions to _name, and introduces + * a broken compatibility layer using the original names. As a result, + * random crashes can occur when, for example, strdup() allocates memory + * from a different heap than used by malloc() and free(). + * + * To avoid moronic problems like this, we #define the POSIX function + * names to the corresponding non-standard Microsoft names. + */ + +#define access _access +#define close _close +#define fileno _fileno +#define lseek _lseek +#define mkdir(d,p) _mkdir(d) +#define open _open +#define read _read +#define rmdir _rmdir +#define strdup _strdup +#define unlink _unlink +#define write _write + + +/* + * Microsoft "safe" functions use a different argument order than POSIX... + */ + +#define gmtime_r(t,tm) gmtime_s(tm,t) +#define localtime_r(t,tm) localtime_s(tm,t) + + +/* + * Map the POSIX strcasecmp() and strncasecmp() functions to the Win32 + * _stricmp() and _strnicmp() functions... + */ + +#define strcasecmp _stricmp +#define strncasecmp _strnicmp + + +/* + * Map the POSIX sleep() and usleep() functions to the Win32 Sleep() function... + */ + +typedef unsigned long useconds_t; +#define sleep(X) Sleep(1000 * (X)) +#define usleep(X) Sleep((X)/1000) + + +/* + * Map various parameters to Posix style system calls + */ + +# define F_OK 00 +# define W_OK 02 +# define R_OK 04 +# define O_RDONLY _O_RDONLY +# define O_WRONLY _O_WRONLY +# define O_CREAT _O_CREAT +# define O_TRUNC _O_TRUNC + + +/* + * Compiler stuff... + */ + +#undef const +#undef __CHAR_UNSIGNED__ + + +/* + * Version of software... + */ + +#define CUPS_SVERSION "CUPS v2.3.1" +#define CUPS_MINIMAL "CUPS/2.3.1" + + +/* + * Default user and groups... + */ + +#define CUPS_DEFAULT_USER "" +#define CUPS_DEFAULT_GROUP "" +#define CUPS_DEFAULT_SYSTEM_GROUPS "" +#define CUPS_DEFAULT_PRINTOPERATOR_AUTH "" +#define CUPS_DEFAULT_SYSTEM_AUTHKEY "" + + +/* + * Default file permissions... + */ + +#define CUPS_DEFAULT_CONFIG_FILE_PERM 0644 +#define CUPS_DEFAULT_LOG_FILE_PERM 0644 + + +/* + * Default logging settings... + */ + +#define CUPS_DEFAULT_LOG_LEVEL "warn" +#define CUPS_DEFAULT_ACCESS_LOG_LEVEL "none" + + +/* + * Default fatal error settings... + */ + +#define CUPS_DEFAULT_FATAL_ERRORS "config" + + +/* + * Default browsing settings... + */ + +#define CUPS_DEFAULT_BROWSING 1 +#define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "dnssd" +#define CUPS_DEFAULT_DEFAULT_SHARED 1 + + +/* + * Default IPP port... + */ + +#define CUPS_DEFAULT_IPP_PORT 631 + + +/* + * Default printcap file... + */ + +#define CUPS_DEFAULT_PRINTCAP "" + + +/* + * Default Samba and LPD config files... + */ + +#define CUPS_DEFAULT_SMB_CONFIG_FILE "" +#define CUPS_DEFAULT_LPD_CONFIG_FILE "" + + +/* + * Default MaxCopies value... + */ + +#define CUPS_DEFAULT_MAX_COPIES 9999 + + +/* + * Do we have domain socket support, and if so what is the default one? + */ + +#undef CUPS_DEFAULT_DOMAINSOCKET + + +/* + * Default WebInterface value... + */ + +#define CUPS_DEFAULT_WEBIF 0 + + +/* + * Where are files stored? + * + * Note: These are defaults, which can be overridden by environment + * variables at run-time... + */ + +#define CUPS_BINDIR "C:/CUPS/bin" +#define CUPS_CACHEDIR "C:/CUPS/cache" +#define CUPS_DATADIR "C:/CUPS/share" +#define CUPS_DOCROOT "C:/CUPS/share/doc" +#define CUPS_FONTPATH "C:/CUPS/share/fonts" +#define CUPS_LOCALEDIR "C:/CUPS/locale" +#define CUPS_LOGDIR "C:/CUPS/logs" +#define CUPS_REQUESTS "C:/CUPS/spool" +#define CUPS_SBINDIR "C:/CUPS/sbin" +#define CUPS_SERVERBIN "C:/CUPS/lib" +#define CUPS_SERVERROOT "C:/CUPS/etc" +#define CUPS_STATEDIR "C:/CUPS/run" + + +/* + * Do we have posix_spawn? + */ + +/* #undef HAVE_POSIX_SPAWN */ + + +/* + * Do we have ZLIB? + */ + +#define HAVE_LIBZ 1 +#define HAVE_INFLATECOPY 1 + + +/* + * Do we have PAM stuff? + */ + +#define HAVE_LIBPAM 0 +/* #undef HAVE_PAM_PAM_APPL_H */ +/* #undef HAVE_PAM_SET_ITEM */ +/* #undef HAVE_PAM_SETCRED */ + + +/* + * Do we have ? + */ + +/* #undef HAVE_SHADOW_H */ + + +/* + * Do we have ? + */ + +/* #undef HAVE_CRYPT_H */ + + +/* + * Use ? + */ + +/* #undef HAVE_STDINT_H */ + + +/* + * Use , , and/or ? + */ + +#define HAVE_STRING_H 1 +/* #undef HAVE_STRINGS_H */ +/* #undef HAVE_BSTRING_H */ + + +/* + * Do we have the long long type? + */ + +/* #undef HAVE_LONG_LONG */ + +#ifdef HAVE_LONG_LONG +# define CUPS_LLFMT "%lld" +# define CUPS_LLCAST (long long) +#else +# define CUPS_LLFMT "%ld" +# define CUPS_LLCAST (long) +#endif /* HAVE_LONG_LONG */ + + +/* + * Do we have the strtoll() function? + */ + +/* #undef HAVE_STRTOLL */ + +#ifndef HAVE_STRTOLL +# define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base)) +#endif /* !HAVE_STRTOLL */ + + +/* + * Do we have the strXXX() functions? + */ + +#define HAVE_STRDUP 1 +/* #undef HAVE_STRLCAT */ +/* #undef HAVE_STRLCPY */ + + +/* + * Do we have the geteuid() function? + */ + +/* #undef HAVE_GETEUID */ + + +/* + * Do we have the setpgid() function? + */ + +/* #undef HAVE_SETPGID */ + + +/* + * Do we have the vsyslog() function? + */ + +/* #undef HAVE_VSYSLOG */ + + +/* + * Do we have the systemd journal functions? + */ + +/* #undef HAVE_SYSTEMD_SD_JOURNAL_H */ + + +/* + * Do we have the (v)snprintf() functions? + */ + +/* Windows snprintf/vsnprintf are non-conforming */ +/* #undef HAVE_SNPRINTF */ +/* #undef HAVE_VSNPRINTF */ + + +/* + * What signal functions to use? + */ + +/* #undef HAVE_SIGSET */ +/* #undef HAVE_SIGACTION */ + + +/* + * What wait functions to use? + */ + +/* #undef HAVE_WAITPID */ +/* #undef HAVE_WAIT3 */ + + +/* + * Do we have the mallinfo function and malloc.h? + */ + +/* #undef HAVE_MALLINFO */ +/* #undef HAVE_MALLOC_H */ + + +/* + * Do we have the POSIX ACL functions? + */ + +/* #undef HAVE_ACL_INIT */ + + +/* + * Do we have the langinfo.h header file? + */ + +/* #undef HAVE_LANGINFO_H */ + + +/* + * Which encryption libraries do we have? + */ + +/* #undef HAVE_CDSASSL */ +/* #undef HAVE_GNUTLS */ +#define HAVE_SSPISSL 1 +#define HAVE_SSL 1 + + +/* + * Do we have the gnutls_transport_set_pull_timeout_function function? + */ + +/* #undef HAVE_GNUTLS_TRANSPORT_SET_PULL_TIMEOUT_FUNCTION */ + + +/* + * Do we have the gnutls_priority_set_direct function? + */ + +/* #undef HAVE_GNUTLS_PRIORITY_SET_DIRECT */ + + +/* + * What Security framework headers do we have? + */ + +/* #undef HAVE_AUTHORIZATION_H */ +/* #undef HAVE_SECCERTIFICATE_H */ +/* #undef HAVE_SECITEM_H */ +/* #undef HAVE_SECPOLICY_H */ + + +/* + * Do we have the SecGenerateSelfSignedCertificate function? + */ + +/* #undef HAVE_SECGENERATESELFSIGNEDCERTIFICATE */ + + +/* + * Do we have libpaper? + */ + +/* #undef HAVE_LIBPAPER */ + + +/* + * Do we have mDNSResponder for DNS Service Discovery (aka Bonjour)? + */ + +#define HAVE_DNSSD 1 + + +/* + * Do we have Avahi for DNS Service Discovery (aka Bonjour)? + */ + +#undef HAVE_AVAHI + + +/* + * Do we have ? + */ + +#undef HAVE_SYS_IOCTL_H + + +/* + * Does the "stat" structure contain the "st_gen" member? + */ + +/* #undef HAVE_ST_GEN */ + + +/* + * Does the "tm" structure contain the "tm_gmtoff" member? + */ + +/* #undef HAVE_TM_GMTOFF */ + + +/* + * Do we have rresvport_af()? + */ + +/* #undef HAVE_RRESVPORT_AF */ + + +/* + * Do we have getaddrinfo()? + */ + +#define HAVE_GETADDRINFO 1 + + +/* + * Do we have getnameinfo()? + */ + +#define HAVE_GETNAMEINFO 1 + + +/* + * Do we have getifaddrs()? + */ + +/* #undef HAVE_GETIFADDRS */ + + +/* + * Do we have hstrerror()? + */ + +/* #undef HAVE_HSTRERROR */ + + +/* + * Do we have res_init()? + */ + +/* #undef HAVE_RES_INIT */ + + +/* + * Do we have + */ + +/* #undef HAVE_RESOLV_H */ + + +/* + * Do we have the header file? + */ + +/* #undef HAVE_SYS_SOCKIO_H */ + + +/* + * Does the sockaddr structure contain an sa_len parameter? + */ + +/* #undef HAVE_STRUCT_SOCKADDR_SA_LEN */ + + +/* + * Do we have pthread support? + */ + +/* #undef HAVE_PTHREAD_H */ + + +/* + * Do we have on-demand support (launchd/systemd/upstart)? + */ + +/* #undef HAVE_ONDEMAND */ + + +/* + * Do we have launchd support? + */ + +/* #undef HAVE_LAUNCH_H */ +/* #undef HAVE_LAUNCHD */ + + +/* + * Do we have systemd support? + */ + +/* #undef HAVE_SYSTEMD */ + + +/* + * Do we have upstart support? + */ + +/* #undef HAVE_UPSTART */ + + +/* + * Do we have CoreFoundation public headers? + */ + +/* #undef HAVE_COREFOUNDATION_H */ + + +/* + * Do we have ApplicationServices public headers? + */ + +/* #undef HAVE_APPLICATIONSERVICES_H */ + + +/* + * Do we have the SCDynamicStoreCopyComputerName function? + */ + +/* #undef HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME */ + + +/* + * Do we have the getgrouplist() function? + */ + +#undef HAVE_GETGROUPLIST + + +/* + * Do we have macOS 10.4's mbr_XXX functions? + */ + +/* #undef HAVE_MEMBERSHIP_H */ +/* #undef HAVE_MBR_UID_TO_UUID */ + + +/* + * Do we have Darwin's notify_post header and function? + */ + +/* #undef HAVE_NOTIFY_H */ +/* #undef HAVE_NOTIFY_POST */ + + +/* + * Do we have DBUS? + */ + +/* #undef HAVE_DBUS */ +/* #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND */ +/* #undef HAVE_DBUS_THREADS_INIT */ + + +/* + * Do we have the GSSAPI support library (for Kerberos support)? + */ + +/* #undef HAVE_GSS_ACQUIRE_CRED_EX_F */ +/* #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE */ +/* #undef HAVE_GSS_GSSAPI_H */ +/* #undef HAVE_GSS_GSSAPI_SPI_H */ +/* #undef HAVE_GSSAPI */ +/* #undef HAVE_GSSAPI_GSSAPI_H */ +/* #undef HAVE_GSSAPI_H */ + + +/* + * Default GSS service name... + */ + +#define CUPS_DEFAULT_GSSSERVICENAME "host" + + +/* + * Select/poll interfaces... + */ + +/* #undef HAVE_POLL */ +/* #undef HAVE_EPOLL */ +/* #undef HAVE_KQUEUE */ + + +/* + * Do we have the header? + */ + +/* #undef HAVE_DLFCN_H */ + + +/* + * Do we have ? + */ + +/* #undef HAVE_SYS_PARAM_H */ + + +/* + * Do we have ? + */ + +/* #undef HAVE_SYS_UCRED_H */ + + +/* + * Do we have removefile()? + */ + +/* #undef HAVE_REMOVEFILE */ + + +/* + * Do we have ? + */ + +/* #undef HAVE_SANDBOX_H */ + + +/* + * Which random number generator function to use... + */ + +/* #undef HAVE_ARC4RANDOM */ +/* #undef HAVE_RANDOM */ +/* #undef HAVE_LRAND48 */ + +#ifdef HAVE_ARC4RANDOM +# define CUPS_RAND() arc4random() +# define CUPS_SRAND(v) +#elif defined(HAVE_RANDOM) +# define CUPS_RAND() random() +# define CUPS_SRAND(v) srandom(v) +#elif defined(HAVE_LRAND48) +# define CUPS_RAND() lrand48() +# define CUPS_SRAND(v) srand48(v) +#else +# define CUPS_RAND() rand() +# define CUPS_SRAND(v) srand(v) +#endif /* HAVE_ARC4RANDOM */ + + +/* + * Do we have libusb? + */ + +/* #undef HAVE_LIBUSB */ + + +/* + * Do we have libwrap and tcpd.h? + */ + +/* #undef HAVE_TCPD_H */ + + +/* + * Do we have ? + */ + +/* #undef HAVE_ICONV_H */ + + +/* + * Do we have statfs or statvfs and one of the corresponding headers? + */ + +/* #undef HAVE_STATFS */ +/* #undef HAVE_STATVFS */ +/* #undef HAVE_SYS_MOUNT_H */ +/* #undef HAVE_SYS_STATFS_H */ +/* #undef HAVE_SYS_STATVFS_H */ +/* #undef HAVE_SYS_VFS_H */ + + +/* + * Location of macOS localization bundle, if any. + */ + +/* #undef CUPS_BUNDLEDIR */ + + +/* + * Do we have XPC? + */ + +/* #undef HAVE_XPC */ + + +/* + * Do we have the C99 abs() function? + */ + +/* #undef HAVE_ABS */ +#if !defined(HAVE_ABS) && !defined(abs) +# if defined(__GNUC__) || __STDC_VERSION__ >= 199901L +# define abs(x) _cups_abs(x) +static inline int _cups_abs(int i) { return (i < 0 ? -i : i); } +# elif defined(_MSC_VER) +# define abs(x) _cups_abs(x) +static __inline int _cups_abs(int i) { return (i < 0 ? -i : i); } +# else +# define abs(x) ((x) < 0 ? -(x) : (x)) +# endif /* __GNUC__ || __STDC_VERSION__ */ +#endif /* !HAVE_ABS && !abs */ + +#endif /* !_CUPS_CONFIG_H_ */ diff --git a/vcnet/cups.sln b/vcnet/cups.sln new file mode 100644 index 0000000..a9045e4 --- /dev/null +++ b/vcnet/cups.sln @@ -0,0 +1,90 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.28010.2036 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcups2", "libcups2.vcxproj", "{CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}" + ProjectSection(ProjectDependencies) = postProject + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} = {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testfile", "testfile.vcxproj", "{CE75FC5F-E0CF-45DC-AD27-84666D3FBA30}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testhttp", "testhttp.vcxproj", "{90B0058C-8393-411F-BD3B-E2C831D4E883}" + ProjectSection(ProjectDependencies) = postProject + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} = {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cupstestppd", "cupstestppd.vcxproj", "{6BE0CDD3-4ED7-409C-A80F-19DF73664B1F}" + ProjectSection(ProjectDependencies) = postProject + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} = {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ipptool", "ipptool.vcxproj", "{B246D91E-61F2-4433-BFD2-6C2A96FBD4D4}" + ProjectSection(ProjectDependencies) = postProject + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} = {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "regex", "regex.vcxproj", "{18950A1B-D37A-40C7-B2DF-C12986C0526E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ippfind", "ippfind.vcxproj", "{B484DA0C-62C8-4C32-83B6-CCEB58968B85}" + ProjectSection(ProjectDependencies) = postProject + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} = {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ippeveprinter", "ippeveprinter.vcxproj", "{82A03BC7-0746-4B85-8908-3C7A3FAA58A9}" + ProjectSection(ProjectDependencies) = postProject + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} = {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dnssdstub", "dnssdstub.vcxproj", "{C0899B3A-43E7-4BC3-A785-659E1FD2EA83}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}.Debug|x64.ActiveCfg = Debug|x64 + {CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}.Debug|x64.Build.0 = Debug|x64 + {CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}.Release|x64.ActiveCfg = Release|x64 + {CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}.Release|x64.Build.0 = Release|x64 + {CE75FC5F-E0CF-45DC-AD27-84666D3FBA30}.Debug|x64.ActiveCfg = Debug|x64 + {CE75FC5F-E0CF-45DC-AD27-84666D3FBA30}.Debug|x64.Build.0 = Debug|x64 + {CE75FC5F-E0CF-45DC-AD27-84666D3FBA30}.Release|x64.ActiveCfg = Release|x64 + {CE75FC5F-E0CF-45DC-AD27-84666D3FBA30}.Release|x64.Build.0 = Release|x64 + {90B0058C-8393-411F-BD3B-E2C831D4E883}.Debug|x64.ActiveCfg = Debug|x64 + {90B0058C-8393-411F-BD3B-E2C831D4E883}.Debug|x64.Build.0 = Debug|x64 + {90B0058C-8393-411F-BD3B-E2C831D4E883}.Release|x64.ActiveCfg = Release|x64 + {90B0058C-8393-411F-BD3B-E2C831D4E883}.Release|x64.Build.0 = Release|x64 + {6BE0CDD3-4ED7-409C-A80F-19DF73664B1F}.Debug|x64.ActiveCfg = Debug|x64 + {6BE0CDD3-4ED7-409C-A80F-19DF73664B1F}.Debug|x64.Build.0 = Debug|x64 + {6BE0CDD3-4ED7-409C-A80F-19DF73664B1F}.Release|x64.ActiveCfg = Release|x64 + {6BE0CDD3-4ED7-409C-A80F-19DF73664B1F}.Release|x64.Build.0 = Release|x64 + {B246D91E-61F2-4433-BFD2-6C2A96FBD4D4}.Debug|x64.ActiveCfg = Debug|x64 + {B246D91E-61F2-4433-BFD2-6C2A96FBD4D4}.Debug|x64.Build.0 = Debug|x64 + {B246D91E-61F2-4433-BFD2-6C2A96FBD4D4}.Release|x64.ActiveCfg = Release|x64 + {B246D91E-61F2-4433-BFD2-6C2A96FBD4D4}.Release|x64.Build.0 = Release|x64 + {18950A1B-D37A-40C7-B2DF-C12986C0526E}.Debug|x64.ActiveCfg = Debug|x64 + {18950A1B-D37A-40C7-B2DF-C12986C0526E}.Debug|x64.Build.0 = Debug|x64 + {18950A1B-D37A-40C7-B2DF-C12986C0526E}.Release|x64.ActiveCfg = Release|x64 + {18950A1B-D37A-40C7-B2DF-C12986C0526E}.Release|x64.Build.0 = Release|x64 + {B484DA0C-62C8-4C32-83B6-CCEB58968B85}.Debug|x64.ActiveCfg = Debug|x64 + {B484DA0C-62C8-4C32-83B6-CCEB58968B85}.Debug|x64.Build.0 = Debug|x64 + {B484DA0C-62C8-4C32-83B6-CCEB58968B85}.Release|x64.ActiveCfg = Release|x64 + {B484DA0C-62C8-4C32-83B6-CCEB58968B85}.Release|x64.Build.0 = Release|x64 + {82A03BC7-0746-4B85-8908-3C7A3FAA58A9}.Debug|x64.ActiveCfg = Debug|x64 + {82A03BC7-0746-4B85-8908-3C7A3FAA58A9}.Debug|x64.Build.0 = Debug|x64 + {82A03BC7-0746-4B85-8908-3C7A3FAA58A9}.Release|x64.ActiveCfg = Release|x64 + {82A03BC7-0746-4B85-8908-3C7A3FAA58A9}.Release|x64.Build.0 = Release|x64 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83}.Debug|x64.ActiveCfg = Debug|x64 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83}.Debug|x64.Build.0 = Debug|x64 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83}.Release|x64.ActiveCfg = Release|x64 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {32935B57-C6C7-4226-8BEE-63542B7B793F} + EndGlobalSection +EndGlobal diff --git a/vcnet/cupstestppd.vcxproj b/vcnet/cupstestppd.vcxproj new file mode 100644 index 0000000..ad2ea8c --- /dev/null +++ b/vcnet/cupstestppd.vcxproj @@ -0,0 +1,111 @@ + + + + + Debug + x64 + + + Release + x64 + + + + {6BE0CDD3-4ED7-409C-A80F-19DF73664B1F} + cupstestppd + Win32Proj + 10.0.17763.0 + + + + Application + v141 + Unicode + true + + + Application + v141 + Unicode + + + + + + + + + + + + + <_ProjectFileVersion>12.0.30501.0 + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + true + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + false + + + + X64 + + + Disabled + ..;..\vcnet;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level1 + ProgramDatabase + + + true + Console + false + + MachineX64 + + + + + X64 + + + ..;..\vcnet;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + MultiThreadedDLL + + Level1 + ProgramDatabase + + + true + Console + true + true + false + + MachineX64 + + + + + + + + {cb4aa6f2-3e84-45be-b505-95cd375e8be3} + false + + + + + + \ No newline at end of file diff --git a/vcnet/cupstestppd.vcxproj.filters b/vcnet/cupstestppd.vcxproj.filters new file mode 100644 index 0000000..5fa7a5a --- /dev/null +++ b/vcnet/cupstestppd.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + \ No newline at end of file diff --git a/vcnet/cupstestppd.vcxproj.user b/vcnet/cupstestppd.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/cupstestppd.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/dns_sd.c b/vcnet/dns_sd.c new file mode 100644 index 0000000..25131dd --- /dev/null +++ b/vcnet/dns_sd.c @@ -0,0 +1,444 @@ +/* + * Dynamic wrapper for Bonjour SDK for Windows. + * + * Copyright 2018 by Apple Inc. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. + */ + +//#include +#include +#include "dns_sd.h" + + +/* + * Pointers for functions... + */ + +static int dnssd_initialized = 0; +static _cups_mutex_t dnssd_mutex = _CUPS_MUTEX_INITIALIZER; +static DNSServiceErrorType (*dnssd_add_record)(DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl); +static DNSServiceErrorType (*dnssd_browse)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *regtype, const char *domain, DNSServiceBrowseReply callBack, void *context); +static DNSServiceErrorType (*dnssd_construct_full_name)(char * const fullName, const char * const service, const char * const regtype, const char * const domain); +static DNSServiceErrorType (*dnssd_create_connection)(DNSServiceRef *sdRef); +static DNSServiceErrorType (*dnssd_process_result)(DNSServiceRef sdRef); +static DNSServiceErrorType (*dnssd_query_record)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, DNSServiceQueryRecordReply callBack, void *context); +static void (*dnssd_deallocate)(DNSServiceRef sdRef); +static int (*dnssd_sock_fd)(DNSServiceRef sdRef); +static DNSServiceErrorType (*dnssd_register)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, const char *regtype, const char *domain, const char *host, uint16_t port, uint16_t txtLen, const void *txtRecord, DNSServiceRegisterReply callBack, void *context); +static DNSServiceErrorType (*dnssd_remove_record)(DNSServiceRef sdRef, DNSRecordRef RecordRef, DNSServiceFlags flags); +static DNSServiceErrorType (*dnssd_resolve)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, const char *regtype, const char *domain, DNSServiceResolveReply callBack, void *context); +static DNSServiceErrorType (*dnssd_update_record)(DNSServiceRef sdRef, DNSRecordRef RecordRef, DNSServiceFlags flags, uint16_t rdlen, const void *rdata, uint32_t ttl); + +static void (*dnssd_txt_create)(TXTRecordRef *txtRecord, uint16_t bufferLen, void *buffer); +static void (*dnssd_txt_deallocate)(TXTRecordRef *txtRecord); +static const void *(*dnssd_txt_get_bytes_ptr)(const TXTRecordRef *txtRecord); +static uint16_t (*dnssd_txt_get_count)(uint16_t txtLen, const void *txtRecord); +static uint16_t (*dnssd_txt_get_length)(const TXTRecordRef *txtRecord); +static DNSServiceErrorType (*dnssd_txt_get_item_at_index)(uint16_t txtLen, const void *txtRecord, uint16_t itemIndex, uint16_t keyBufLen, char *key, uint8_t *valueLen, const void **value); +static const void *(*dnssd_txt_get_value_ptr)(uint16_t txtLen, const void *txtRecord, const char *key, uint8_t *valueLen); +static DNSServiceErrorType (*dnssd_txt_set_value)(TXTRecordRef *txtRecord, const char *key, uint8_t valueSize, const void *value); + + +/* + * Function to initialize pointers... + */ + +static void +dnssd_init(void) +{ + _cupsMutexLock(&dnssd_mutex); + if (!dnssd_initialized) + { + HINSTANCE dll_handle = LoadLibraryA("dnssd.dll"); + + if (dll_handle) + { + dnssd_add_record = (DNSServiceErrorType (*)(DNSServiceRef, DNSRecordRef *, DNSServiceFlags, uint16_t, uint16_t, const void *, uint32_t))GetProcAddress(dll_handle, "DNSServiceAddRecord"); + dnssd_browse = (DNSServiceErrorType(*)(DNSServiceRef *, DNSServiceFlags, uint32_t, const char *, const char *, DNSServiceBrowseReply, void *))GetProcAddress(dll_handle, "DNSServiceBrowse"); + dnssd_construct_full_name = (DNSServiceErrorType(*)(char * const, const char * const, const char * const, const char * const))GetProcAddress(dll_handle, "DNSServiceConstructFullName"); + dnssd_create_connection = (DNSServiceErrorType(*)(DNSServiceRef *))GetProcAddress(dll_handle, "DNSServiceCreateConnection"); + dnssd_deallocate = (DNSServiceErrorType(*)(DNSServiceRef))GetProcAddress(dll_handle, "DNSServiceRefDeallocate"); + dnssd_process_result = (DNSServiceErrorType(*)(DNSServiceRef))GetProcAddress(dll_handle, "DNSServiceProcessResult"); + dnssd_query_record = (DNSServiceErrorType(*)(DNSServiceRef *, DNSServiceFlags, uint32_t, const char *, uint16_t, uint16_t, DNSServiceQueryRecordReply, void *))GetProcAddress(dll_handle, "DNSServiceQueryRecord"); + dnssd_register = (DNSServiceErrorType(*)(DNSServiceRef *, DNSServiceFlags, uint32_t, const char *, const char *, const char *, const char *, uint16_t, uint16_t, const void *, DNSServiceRegisterReply, void *))GetProcAddress(dll_handle, "DNSServiceRegister"); + dnssd_remove_record = (DNSServiceErrorType(*)(DNSServiceRef, DNSRecordRef, DNSServiceFlags))GetProcAddress(dll_handle, "DNSServiceRemoveRecord"); + dnssd_resolve = (DNSServiceErrorType(*)(DNSServiceRef *, DNSServiceFlags, uint32_t, const char *, const char *, const char *, DNSServiceResolveReply, void *))GetProcAddress(dll_handle, "DNSServiceResolve"); + dnssd_sock_fd = (int(*)(DNSServiceRef))GetProcAddress(dll_handle, "DNSServiceRefSockFD"); + dnssd_update_record = (DNSServiceErrorType(*)(DNSServiceRef, DNSRecordRef, DNSServiceFlags, uint16_t, const void *, uint32_t))GetProcAddress(dll_handle, "DNSServiceUpdateRecord"); + + dnssd_txt_create = (void (*)(TXTRecordRef *, uint16_t, void *))GetProcAddress(dll_handle, "TXTRecordCreate"); + dnssd_txt_deallocate = (void (*)(TXTRecordRef *))GetProcAddress(dll_handle, "TXTRecordDeallocate"); + dnssd_txt_get_bytes_ptr = (const void *(*)(const TXTRecordRef *))GetProcAddress(dll_handle, "TXTRecordGetBytesPtr"); + dnssd_txt_get_count = (uint16_t (*)(uint16_t, const void *))GetProcAddress(dll_handle, "TXTRecordGetCount"); + dnssd_txt_get_item_at_index = (DNSServiceErrorType (*)(uint16_t, const void *, uint16_t, uint16_t, char *, uint8_t *, const void **))GetProcAddress(dll_handle, "TXTRecordGetItemAtIndex"); + dnssd_txt_get_length = (uint16_t (*)(const TXTRecordRef *))GetProcAddress(dll_handle, "TXTRecordGetLength"); + dnssd_txt_get_value_ptr = (const void *(*)(uint16_t, const void *, const char *, uint8_t *))GetProcAddress(dll_handle, "TXTRecordGetValuePtr"); + dnssd_txt_set_value = (DNSServiceErrorType (*)(TXTRecordRef *, const char *, uint8_t, const void *))GetProcAddress(dll_handle, "TXTRecordSetValue"); + } + + dnssd_initialized = 1; + } + _cupsMutexUnlock(&dnssd_mutex); +} + + +// DNSServiceAddRecord +DNSServiceErrorType DNSSD_API DNSServiceAddRecord + ( + DNSServiceRef sdRef, + DNSRecordRef *RecordRef, + DNSServiceFlags flags, + uint16_t rrtype, + uint16_t rdlen, + const void *rdata, + uint32_t ttl + ) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_add_record) + return (*dnssd_add_record)(sdRef, RecordRef, flags, rrtype, rdlen, rdata, ttl); + else + return (-1); +} + + +// DNSServiceBrowse +DNSServiceErrorType DNSSD_API DNSServiceBrowse + ( + DNSServiceRef *sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + const char *regtype, + const char *domain, /* may be NULL */ + DNSServiceBrowseReply callBack, + void *context /* may be NULL */ + ) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_browse) + return (*dnssd_browse)(sdRef, flags, interfaceIndex, regtype, domain, callBack, context); + else + return (-1); +} + + +// DNSServiceConstructFullName +DNSServiceErrorType DNSSD_API DNSServiceConstructFullName + ( + char * const fullName, + const char * const service, /* may be NULL */ + const char * const regtype, + const char * const domain + ) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_construct_full_name) + return (*dnssd_construct_full_name)(fullName, service, regtype, domain); + else + return (-1); +} + + +// DNSServiceCreateConnection +DNSServiceErrorType DNSSD_API DNSServiceCreateConnection(DNSServiceRef *sdRef) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_create_connection) + return (*dnssd_create_connection)(sdRef); + else + return (-1); +} + + +// DNSServiceProcessResult +DNSServiceErrorType DNSSD_API DNSServiceProcessResult(DNSServiceRef sdRef) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_process_result) + return (*dnssd_process_result)(sdRef); + else + return (-1); +} + + +// DNSServiceQueryRecord +DNSServiceErrorType DNSSD_API DNSServiceQueryRecord + ( + DNSServiceRef *sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + const char *fullname, + uint16_t rrtype, + uint16_t rrclass, + DNSServiceQueryRecordReply callBack, + void *context /* may be NULL */ + ) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_query_record) + return (*dnssd_query_record)(sdRef, flags, interfaceIndex, fullname, rrtype, rrclass, callBack, context); + else + return (-1); +} + + +// DNSServiceRefDeallocate +void DNSSD_API DNSServiceRefDeallocate(DNSServiceRef sdRef) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_deallocate) + (*dnssd_deallocate)(sdRef); +} + + +// DNSServiceRefSockFD +int DNSSD_API DNSServiceRefSockFD(DNSServiceRef sdRef) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_sock_fd) + return (*dnssd_sock_fd)(sdRef); + else + return (-1); +} + + +// DNSServiceRegister +DNSServiceErrorType DNSSD_API DNSServiceRegister + ( + DNSServiceRef *sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + const char *name, /* may be NULL */ + const char *regtype, + const char *domain, /* may be NULL */ + const char *host, /* may be NULL */ + uint16_t port, /* In network byte order */ + uint16_t txtLen, + const void *txtRecord, /* may be NULL */ + DNSServiceRegisterReply callBack, /* may be NULL */ + void *context /* may be NULL */ + ) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_register) + return (*dnssd_register)(sdRef, flags, interfaceIndex, name, regtype, domain, host, port, txtLen, txtRecord, callBack, context); + else + return (-1); +} + + +// DNSServiceRemoveRecord +DNSServiceErrorType DNSSD_API DNSServiceRemoveRecord + ( + DNSServiceRef sdRef, + DNSRecordRef RecordRef, + DNSServiceFlags flags + ) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_remove_record) + return (*dnssd_remove_record)(sdRef, RecordRef, flags); + else + return (-1); +} + + +// DNSServiceResolve +DNSServiceErrorType DNSSD_API DNSServiceResolve + ( + DNSServiceRef *sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + const char *name, + const char *regtype, + const char *domain, + DNSServiceResolveReply callBack, + void *context /* may be NULL */ + ) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_resolve) + return (*dnssd_resolve)(sdRef, flags, interfaceIndex, name, regtype, domain, callBack, context); + else + return (-1); +} + + +// DNSServiceUpdateRecord +DNSServiceErrorType DNSSD_API DNSServiceUpdateRecord + ( + DNSServiceRef sdRef, + DNSRecordRef RecordRef, /* may be NULL */ + DNSServiceFlags flags, + uint16_t rdlen, + const void *rdata, + uint32_t ttl + ) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_update_record) + return (*dnssd_update_record)(sdRef, RecordRef, flags, rdlen, rdata, ttl); + else + return (-1); +} + + +// TXTRecordCreate +void DNSSD_API +TXTRecordCreate( + TXTRecordRef *txtRecord, + uint16_t bufferLen, + void *buffer) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_txt_create) + (*dnssd_txt_create)(txtRecord, bufferLen, buffer); +} + + +// TXTRecordDeallocate +void DNSSD_API TXTRecordDeallocate + ( + TXTRecordRef *txtRecord + ) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_txt_deallocate) + (*dnssd_txt_deallocate)(txtRecord); +} + + +// TXTRecordGetBytesPtr +const void * DNSSD_API TXTRecordGetBytesPtr + ( + const TXTRecordRef *txtRecord + ) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_txt_get_bytes_ptr) + return (*dnssd_txt_get_bytes_ptr)(txtRecord); + else + return (NULL); +} + + +// TXTRecordGetLength +uint16_t DNSSD_API TXTRecordGetLength + ( + const TXTRecordRef *txtRecord + ) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_txt_get_length) + return (*dnssd_txt_get_length)(txtRecord); + else + return (0); +} + + +// TXTRecordSetValue +DNSServiceErrorType DNSSD_API TXTRecordSetValue + ( + TXTRecordRef *txtRecord, + const char *key, + uint8_t valueSize, /* may be zero */ + const void *value /* may be NULL */ + ) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_txt_set_value) + return (*dnssd_txt_set_value)(txtRecord, key, valueSize, value); + else + return (-1); +} + + +// TXTRecordGetCount +uint16_t DNSSD_API +TXTRecordGetCount( + uint16_t txtLen, + const void *txtRecord) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_txt_get_count) + return (*dnssd_txt_get_count)(txtLen, txtRecord); + else + return (0); +} + + +// TXTRecordGetItemAtIndex +DNSServiceErrorType DNSSD_API +TXTRecordGetItemAtIndex( + uint16_t txtLen, + const void *txtRecord, + uint16_t itemIndex, + uint16_t keyBufLen, + char *key, + uint8_t *valueLen, + const void **value) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_txt_get_item_at_index) + return (*dnssd_txt_get_item_at_index)(txtLen, txtRecord, itemIndex, keyBufLen, key, valueLen, value); + else + return (-1); +} + + +// TXTRecordGetValuePtr +const void * DNSSD_API +TXTRecordGetValuePtr( + uint16_t txtLen, + const void *txtRecord, + const char *key, + uint8_t *valueLen) +{ + if (!dnssd_initialized) + dnssd_init(); + + if (dnssd_txt_get_value_ptr) + return (*dnssd_txt_get_value_ptr)(txtLen, txtRecord, key, valueLen); + else + return (NULL); +} diff --git a/vcnet/dns_sd.h b/vcnet/dns_sd.h new file mode 100644 index 0000000..54f4e11 --- /dev/null +++ b/vcnet/dns_sd.h @@ -0,0 +1,2434 @@ +/* -*- Mode: C; tab-width: 4 -*- + * + * Copyright (c) 2003-2004, Apple Computer, Inc. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of its + * contributors may be used to endorse or promote products derived from this + * software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + +/*! @header DNS Service Discovery + * + * @discussion This section describes the functions, callbacks, and data structures + * that make up the DNS Service Discovery API. + * + * The DNS Service Discovery API is part of Bonjour, Apple's implementation + * of zero-configuration networking (ZEROCONF). + * + * Bonjour allows you to register a network service, such as a + * printer or file server, so that it can be found by name or browsed + * for by service type and domain. Using Bonjour, applications can + * discover what services are available on the network, along with + * all the information -- such as name, IP address, and port -- + * necessary to access a particular service. + * + * In effect, Bonjour combines the functions of a local DNS server and + * AppleTalk. Bonjour allows applications to provide user-friendly printer + * and server browsing, among other things, over standard IP networks. + * This behavior is a result of combining protocols such as multicast and + * DNS to add new functionality to the network (such as multicast DNS). + * + * Bonjour gives applications easy access to services over local IP + * networks without requiring the service or the application to support + * an AppleTalk or a Netbeui stack, and without requiring a DNS server + * for the local network. + */ + + +/* _DNS_SD_H contains the mDNSResponder version number for this header file, formatted as follows: + * Major part of the build number * 10000 + + * minor part of the build number * 100 + * For example, Mac OS X 10.4.9 has mDNSResponder-108.4, which would be represented as + * version 1080400. This allows C code to do simple greater-than and less-than comparisons: + * e.g. an application that requires the DNSServiceGetProperty() call (new in mDNSResponder-126) can check: + * + * #if _DNS_SD_H+0 >= 1260000 + * ... some C code that calls DNSServiceGetProperty() ... + * #endif + * + * The version defined in this header file symbol allows for compile-time + * checking, so that C code building with earlier versions of the header file + * can avoid compile errors trying to use functions that aren't even defined + * in those earlier versions. Similar checks may also be performed at run-time: + * => weak linking -- to avoid link failures if run with an earlier + * version of the library that's missing some desired symbol, or + * => DNSServiceGetProperty(DaemonVersion) -- to verify whether the running daemon + * ("system service" on Windows) meets some required minimum functionality level. + */ + +#ifndef _DNS_SD_H +#define _DNS_SD_H 3331000 + +#ifdef __cplusplus + extern "C" { +#endif + +/* Set to 1 if libdispatch is supported + * Note: May also be set by project and/or Makefile + */ +#ifndef _DNS_SD_LIBDISPATCH +#define _DNS_SD_LIBDISPATCH 0 +#endif /* ndef _DNS_SD_LIBDISPATCH */ + +/* standard calling convention under Win32 is __stdcall */ +/* Note: When compiling Intel EFI (Extensible Firmware Interface) under MS Visual Studio, the */ +/* _WIN32 symbol is defined by the compiler even though it's NOT compiling code for Windows32 */ +#if defined(_WIN32) && !defined(EFI32) && !defined(EFI64) +#define DNSSD_API __stdcall +#else +#define DNSSD_API +#endif + +/* stdint.h does not exist on FreeBSD 4.x; its types are defined in sys/types.h instead */ +#if defined(__FreeBSD__) && (__FreeBSD__ < 5) +#include + +/* Likewise, on Sun, standard integer types are in sys/types.h */ +#elif defined(__sun__) +#include + +/* EFI does not have stdint.h, or anything else equivalent */ +#elif defined(EFI32) || defined(EFI64) || defined(EFIX64) +#include "Tiano.h" +#if !defined(_STDINT_H_) +typedef UINT8 uint8_t; +typedef INT8 int8_t; +typedef UINT16 uint16_t; +typedef INT16 int16_t; +typedef UINT32 uint32_t; +typedef INT32 int32_t; +#endif +/* Windows has its own differences */ +#elif defined(_WIN32) +#include +#define _UNUSED +#ifndef _MSL_STDINT_H +typedef UINT8 uint8_t; +typedef INT8 int8_t; +typedef UINT16 uint16_t; +typedef INT16 int16_t; +typedef UINT32 uint32_t; +typedef INT32 int32_t; +#endif + +/* All other Posix platforms use stdint.h */ +#else +#include +#endif + +#if _DNS_SD_LIBDISPATCH +#include +#endif + +/* DNSServiceRef, DNSRecordRef + * + * Opaque internal data types. + * Note: client is responsible for serializing access to these structures if + * they are shared between concurrent threads. + */ + +typedef struct _DNSServiceRef_t *DNSServiceRef; +typedef struct _DNSRecordRef_t *DNSRecordRef; + +struct sockaddr; + +/*! @enum General flags + * Most DNS-SD API functions and callbacks include a DNSServiceFlags parameter. + * As a general rule, any given bit in the 32-bit flags field has a specific fixed meaning, + * regardless of the function or callback being used. For any given function or callback, + * typically only a subset of the possible flags are meaningful, and all others should be zero. + * The discussion section for each API call describes which flags are valid for that call + * and callback. In some cases, for a particular call, it may be that no flags are currently + * defined, in which case the DNSServiceFlags parameter exists purely to allow future expansion. + * In all cases, developers should expect that in future releases, it is possible that new flag + * values will be defined, and write code with this in mind. For example, code that tests + * if (flags == kDNSServiceFlagsAdd) ... + * will fail if, in a future release, another bit in the 32-bit flags field is also set. + * The reliable way to test whether a particular bit is set is not with an equality test, + * but with a bitwise mask: + * if (flags & kDNSServiceFlagsAdd) ... + */ +enum + { + kDNSServiceFlagsMoreComing = 0x1, + /* MoreComing indicates to a callback that at least one more result is + * queued and will be delivered following immediately after this one. + * When the MoreComing flag is set, applications should not immediately + * update their UI, because this can result in a great deal of ugly flickering + * on the screen, and can waste a great deal of CPU time repeatedly updating + * the screen with content that is then immediately erased, over and over. + * Applications should wait until until MoreComing is not set, and then + * update their UI when no more changes are imminent. + * When MoreComing is not set, that doesn't mean there will be no more + * answers EVER, just that there are no more answers immediately + * available right now at this instant. If more answers become available + * in the future they will be delivered as usual. + */ + + kDNSServiceFlagsAdd = 0x2, + kDNSServiceFlagsDefault = 0x4, + /* Flags for domain enumeration and browse/query reply callbacks. + * "Default" applies only to enumeration and is only valid in + * conjunction with "Add". An enumeration callback with the "Add" + * flag NOT set indicates a "Remove", i.e. the domain is no longer + * valid. + */ + + kDNSServiceFlagsNoAutoRename = 0x8, + /* Flag for specifying renaming behavior on name conflict when registering + * non-shared records. By default, name conflicts are automatically handled + * by renaming the service. NoAutoRename overrides this behavior - with this + * flag set, name conflicts will result in a callback. The NoAutorename flag + * is only valid if a name is explicitly specified when registering a service + * (i.e. the default name is not used.) + */ + + kDNSServiceFlagsShared = 0x10, + kDNSServiceFlagsUnique = 0x20, + /* Flag for registering individual records on a connected + * DNSServiceRef. Shared indicates that there may be multiple records + * with this name on the network (e.g. PTR records). Unique indicates that the + * record's name is to be unique on the network (e.g. SRV records). + */ + + kDNSServiceFlagsBrowseDomains = 0x40, + kDNSServiceFlagsRegistrationDomains = 0x80, + /* Flags for specifying domain enumeration type in DNSServiceEnumerateDomains. + * BrowseDomains enumerates domains recommended for browsing, RegistrationDomains + * enumerates domains recommended for registration. + */ + + kDNSServiceFlagsLongLivedQuery = 0x100, + /* Flag for creating a long-lived unicast query for the DNSServiceQueryRecord call. */ + + kDNSServiceFlagsAllowRemoteQuery = 0x200, + /* Flag for creating a record for which we will answer remote queries + * (queries from hosts more than one hop away; hosts not directly connected to the local link). + */ + + kDNSServiceFlagsForceMulticast = 0x400, + /* Flag for signifying that a query or registration should be performed exclusively via multicast + * DNS, even for a name in a domain (e.g. foo.apple.com.) that would normally imply unicast DNS. + */ + + kDNSServiceFlagsForce = 0x800, + /* Flag for signifying a "stronger" variant of an operation. + * Currently defined only for DNSServiceReconfirmRecord(), where it forces a record to + * be removed from the cache immediately, instead of querying for a few seconds before + * concluding that the record is no longer valid and then removing it. This flag should + * be used with caution because if a service browsing PTR record is indeed still valid + * on the network, forcing its removal will result in a user-interface flap -- the + * discovered service instance will disappear, and then re-appear moments later. + */ + + kDNSServiceFlagsReturnIntermediates = 0x1000, + /* Flag for returning intermediate results. + * For example, if a query results in an authoritative NXDomain (name does not exist) + * then that result is returned to the client. However the query is not implicitly + * cancelled -- it remains active and if the answer subsequently changes + * (e.g. because a VPN tunnel is subsequently established) then that positive + * result will still be returned to the client. + * Similarly, if a query results in a CNAME record, then in addition to following + * the CNAME referral, the intermediate CNAME result is also returned to the client. + * When this flag is not set, NXDomain errors are not returned, and CNAME records + * are followed silently without informing the client of the intermediate steps. + * (In earlier builds this flag was briefly calledkDNSServiceFlagsReturnCNAME) + */ + + kDNSServiceFlagsNonBrowsable = 0x2000, + /* A service registered with the NonBrowsable flag set can be resolved using + * DNSServiceResolve(), but will not be discoverable using DNSServiceBrowse(). + * This is for cases where the name is actually a GUID; it is found by other means; + * there is no end-user benefit to browsing to find a long list of opaque GUIDs. + * Using the NonBrowsable flag creates SRV+TXT without the cost of also advertising + * an associated PTR record. + */ + + kDNSServiceFlagsShareConnection = 0x4000, + /* For efficiency, clients that perform many concurrent operations may want to use a + * single Unix Domain Socket connection with the background daemon, instead of having a + * separate connection for each independent operation. To use this mode, clients first + * call DNSServiceCreateConnection(&MainRef) to initialize the main DNSServiceRef. + * For each subsequent operation that is to share that same connection, the client copies + * the MainRef, and then passes the address of that copy, setting the ShareConnection flag + * to tell the library that this DNSServiceRef is not a typical uninitialized DNSServiceRef; + * it's a copy of an existing DNSServiceRef whose connection information should be reused. + * + * For example: + * + * DNSServiceErrorType error; + * DNSServiceRef MainRef; + * error = DNSServiceCreateConnection(&MainRef); + * if (error) ... + * DNSServiceRef BrowseRef = MainRef; // Important: COPY the primary DNSServiceRef first... + * error = DNSServiceBrowse(&BrowseRef, kDNSServiceFlagsShareConnection, ...); // then use the copy + * if (error) ... + * ... + * DNSServiceRefDeallocate(BrowseRef); // Terminate the browse operation + * DNSServiceRefDeallocate(MainRef); // Terminate the shared connection + * + * Notes: + * + * 1. Collective kDNSServiceFlagsMoreComing flag + * When callbacks are invoked using a shared DNSServiceRef, the + * kDNSServiceFlagsMoreComing flag applies collectively to *all* active + * operations sharing the same parent DNSServiceRef. If the MoreComing flag is + * set it means that there are more results queued on this parent DNSServiceRef, + * but not necessarily more results for this particular callback function. + * The implication of this for client programmers is that when a callback + * is invoked with the MoreComing flag set, the code should update its + * internal data structures with the new result, and set a variable indicating + * that its UI needs to be updated. Then, later when a callback is eventually + * invoked with the MoreComing flag not set, the code should update *all* + * stale UI elements related to that shared parent DNSServiceRef that need + * updating, not just the UI elements related to the particular callback + * that happened to be the last one to be invoked. + * + * 2. Canceling operations and kDNSServiceFlagsMoreComing + * Whenever you cancel any operation for which you had deferred UI updates + * waiting because of a kDNSServiceFlagsMoreComing flag, you should perform + * those deferred UI updates. This is because, after cancelling the operation, + * you can no longer wait for a callback *without* MoreComing set, to tell + * you do perform your deferred UI updates (the operation has been canceled, + * so there will be no more callbacks). An implication of the collective + * kDNSServiceFlagsMoreComing flag for shared connections is that this + * guideline applies more broadly -- any time you cancel an operation on + * a shared connection, you should perform all deferred UI updates for all + * operations sharing that connection. This is because the MoreComing flag + * might have been referring to events coming for the operation you canceled, + * which will now not be coming because the operation has been canceled. + * + * 3. Only share DNSServiceRef's created with DNSServiceCreateConnection + * Calling DNSServiceCreateConnection(&ref) creates a special shareable DNSServiceRef. + * DNSServiceRef's created by other calls like DNSServiceBrowse() or DNSServiceResolve() + * cannot be shared by copying them and using kDNSServiceFlagsShareConnection. + * + * 4. Don't Double-Deallocate + * Calling DNSServiceRefDeallocate(ref) for a particular operation's DNSServiceRef terminates + * just that operation. Calling DNSServiceRefDeallocate(ref) for the main shared DNSServiceRef + * (the parent DNSServiceRef, originally created by DNSServiceCreateConnection(&ref)) + * automatically terminates the shared connection and all operations that were still using it. + * After doing this, DO NOT then attempt to deallocate any remaining subordinate DNSServiceRef's. + * The memory used by those subordinate DNSServiceRef's has already been freed, so any attempt + * to do a DNSServiceRefDeallocate (or any other operation) on them will result in accesses + * to freed memory, leading to crashes or other equally undesirable results. + * + * 5. Thread Safety + * The dns_sd.h API does not presuppose any particular threading model, and consequently + * does no locking of its own (which would require linking some specific threading library). + * If client code calls API routines on the same DNSServiceRef concurrently + * from multiple threads, it is the client's responsibility to use a mutext + * lock or take similar appropriate precautions to serialize those calls. + */ + + kDNSServiceFlagsSuppressUnusable = 0x8000, + /* + * This flag is meaningful only in DNSServiceQueryRecord which suppresses unusable queries on the + * wire. If "hostname" is a wide-area unicast DNS hostname (i.e. not a ".local." name) + * but this host has no routable IPv6 address, then the call will not try to look up IPv6 addresses + * for "hostname", since any addresses it found would be unlikely to be of any use anyway. Similarly, + * if this host has no routable IPv4 address, the call will not try to look up IPv4 addresses for + * "hostname". + */ + + kDNSServiceFlagsTimeout = 0x10000, + /* + * When kDNServiceFlagsTimeout is passed to DNSServiceQueryRecord or DNSServiceGetAddrInfo, the query is + * stopped after a certain number of seconds have elapsed. The time at which the query will be stopped + * is determined by the system and cannot be configured by the user. The query will be stopped irrespective + * of whether a response was given earlier or not. When the query is stopped, the callback will be called + * with an error code of kDNSServiceErr_Timeout and a NULL sockaddr will be returned for DNSServiceGetAddrInfo + * and zero length rdata will be returned for DNSServiceQueryRecord. + */ + + kDNSServiceFlagsIncludeP2P = 0x20000, + /* + * Include P2P interfaces when kDNSServiceInterfaceIndexAny is specified. + * By default, specifying kDNSServiceInterfaceIndexAny does not include P2P interfaces. + */ + kDNSServiceFlagsWakeOnResolve = 0x40000 + /* + * This flag is meaningful only in DNSServiceResolve. When set, it tries to send a magic packet + * to wake up the client. + */ + }; + +/* Possible protocols for DNSServiceNATPortMappingCreate(). */ +enum + { + kDNSServiceProtocol_IPv4 = 0x01, + kDNSServiceProtocol_IPv6 = 0x02, + /* 0x04 and 0x08 reserved for future internetwork protocols */ + + kDNSServiceProtocol_UDP = 0x10, + kDNSServiceProtocol_TCP = 0x20 + /* 0x40 and 0x80 reserved for future transport protocols, e.g. SCTP [RFC 2960] + * or DCCP [RFC 4340]. If future NAT gateways are created that support port + * mappings for these protocols, new constants will be defined here. + */ + }; + +/* + * The values for DNS Classes and Types are listed in RFC 1035, and are available + * on every OS in its DNS header file. Unfortunately every OS does not have the + * same header file containing DNS Class and Type constants, and the names of + * the constants are not consistent. For example, BIND 8 uses "T_A", + * BIND 9 uses "ns_t_a", Windows uses "DNS_TYPE_A", etc. + * For this reason, these constants are also listed here, so that code using + * the DNS-SD programming APIs can use these constants, so that the same code + * can compile on all our supported platforms. + */ + +enum + { + kDNSServiceClass_IN = 1 /* Internet */ + }; + +enum + { + kDNSServiceType_A = 1, /* Host address. */ + kDNSServiceType_NS = 2, /* Authoritative server. */ + kDNSServiceType_MD = 3, /* Mail destination. */ + kDNSServiceType_MF = 4, /* Mail forwarder. */ + kDNSServiceType_CNAME = 5, /* Canonical name. */ + kDNSServiceType_SOA = 6, /* Start of authority zone. */ + kDNSServiceType_MB = 7, /* Mailbox domain name. */ + kDNSServiceType_MG = 8, /* Mail group member. */ + kDNSServiceType_MR = 9, /* Mail rename name. */ + kDNSServiceType_NULL = 10, /* Null resource record. */ + kDNSServiceType_WKS = 11, /* Well known service. */ + kDNSServiceType_PTR = 12, /* Domain name pointer. */ + kDNSServiceType_HINFO = 13, /* Host information. */ + kDNSServiceType_MINFO = 14, /* Mailbox information. */ + kDNSServiceType_MX = 15, /* Mail routing information. */ + kDNSServiceType_TXT = 16, /* One or more text strings (NOT "zero or more..."). */ + kDNSServiceType_RP = 17, /* Responsible person. */ + kDNSServiceType_AFSDB = 18, /* AFS cell database. */ + kDNSServiceType_X25 = 19, /* X_25 calling address. */ + kDNSServiceType_ISDN = 20, /* ISDN calling address. */ + kDNSServiceType_RT = 21, /* Router. */ + kDNSServiceType_NSAP = 22, /* NSAP address. */ + kDNSServiceType_NSAP_PTR = 23, /* Reverse NSAP lookup (deprecated). */ + kDNSServiceType_SIG = 24, /* Security signature. */ + kDNSServiceType_KEY = 25, /* Security key. */ + kDNSServiceType_PX = 26, /* X.400 mail mapping. */ + kDNSServiceType_GPOS = 27, /* Geographical position (withdrawn). */ + kDNSServiceType_AAAA = 28, /* IPv6 Address. */ + kDNSServiceType_LOC = 29, /* Location Information. */ + kDNSServiceType_NXT = 30, /* Next domain (security). */ + kDNSServiceType_EID = 31, /* Endpoint identifier. */ + kDNSServiceType_NIMLOC = 32, /* Nimrod Locator. */ + kDNSServiceType_SRV = 33, /* Server Selection. */ + kDNSServiceType_ATMA = 34, /* ATM Address */ + kDNSServiceType_NAPTR = 35, /* Naming Authority PoinTeR */ + kDNSServiceType_KX = 36, /* Key Exchange */ + kDNSServiceType_CERT = 37, /* Certification record */ + kDNSServiceType_A6 = 38, /* IPv6 Address (deprecated) */ + kDNSServiceType_DNAME = 39, /* Non-terminal DNAME (for IPv6) */ + kDNSServiceType_SINK = 40, /* Kitchen sink (experimental) */ + kDNSServiceType_OPT = 41, /* EDNS0 option (meta-RR) */ + kDNSServiceType_APL = 42, /* Address Prefix List */ + kDNSServiceType_DS = 43, /* Delegation Signer */ + kDNSServiceType_SSHFP = 44, /* SSH Key Fingerprint */ + kDNSServiceType_IPSECKEY = 45, /* IPSECKEY */ + kDNSServiceType_RRSIG = 46, /* RRSIG */ + kDNSServiceType_NSEC = 47, /* Denial of Existence */ + kDNSServiceType_DNSKEY = 48, /* DNSKEY */ + kDNSServiceType_DHCID = 49, /* DHCP Client Identifier */ + kDNSServiceType_NSEC3 = 50, /* Hashed Authenticated Denial of Existence */ + kDNSServiceType_NSEC3PARAM = 51, /* Hashed Authenticated Denial of Existence */ + + kDNSServiceType_HIP = 55, /* Host Identity Protocol */ + + kDNSServiceType_SPF = 99, /* Sender Policy Framework for E-Mail */ + kDNSServiceType_UINFO = 100, /* IANA-Reserved */ + kDNSServiceType_UID = 101, /* IANA-Reserved */ + kDNSServiceType_GID = 102, /* IANA-Reserved */ + kDNSServiceType_UNSPEC = 103, /* IANA-Reserved */ + + kDNSServiceType_TKEY = 249, /* Transaction key */ + kDNSServiceType_TSIG = 250, /* Transaction signature. */ + kDNSServiceType_IXFR = 251, /* Incremental zone transfer. */ + kDNSServiceType_AXFR = 252, /* Transfer zone of authority. */ + kDNSServiceType_MAILB = 253, /* Transfer mailbox records. */ + kDNSServiceType_MAILA = 254, /* Transfer mail agent records. */ + kDNSServiceType_ANY = 255 /* Wildcard match. */ + }; + +/* possible error code values */ +enum + { + kDNSServiceErr_NoError = 0, + kDNSServiceErr_Unknown = -65537, /* 0xFFFE FFFF */ + kDNSServiceErr_NoSuchName = -65538, + kDNSServiceErr_NoMemory = -65539, + kDNSServiceErr_BadParam = -65540, + kDNSServiceErr_BadReference = -65541, + kDNSServiceErr_BadState = -65542, + kDNSServiceErr_BadFlags = -65543, + kDNSServiceErr_Unsupported = -65544, + kDNSServiceErr_NotInitialized = -65545, + kDNSServiceErr_AlreadyRegistered = -65547, + kDNSServiceErr_NameConflict = -65548, + kDNSServiceErr_Invalid = -65549, + kDNSServiceErr_Firewall = -65550, + kDNSServiceErr_Incompatible = -65551, /* client library incompatible with daemon */ + kDNSServiceErr_BadInterfaceIndex = -65552, + kDNSServiceErr_Refused = -65553, + kDNSServiceErr_NoSuchRecord = -65554, + kDNSServiceErr_NoAuth = -65555, + kDNSServiceErr_NoSuchKey = -65556, + kDNSServiceErr_NATTraversal = -65557, + kDNSServiceErr_DoubleNAT = -65558, + kDNSServiceErr_BadTime = -65559, /* Codes up to here existed in Tiger */ + kDNSServiceErr_BadSig = -65560, + kDNSServiceErr_BadKey = -65561, + kDNSServiceErr_Transient = -65562, + kDNSServiceErr_ServiceNotRunning = -65563, /* Background daemon not running */ + kDNSServiceErr_NATPortMappingUnsupported = -65564, /* NAT doesn't support NAT-PMP or UPnP */ + kDNSServiceErr_NATPortMappingDisabled = -65565, /* NAT supports NAT-PMP or UPnP but it's disabled by the administrator */ + kDNSServiceErr_NoRouter = -65566, /* No router currently configured (probably no network connectivity) */ + kDNSServiceErr_PollingMode = -65567, + kDNSServiceErr_Timeout = -65568 + + /* mDNS Error codes are in the range + * FFFE FF00 (-65792) to FFFE FFFF (-65537) */ + }; + +/* Maximum length, in bytes, of a service name represented as a */ +/* literal C-String, including the terminating NULL at the end. */ + +#define kDNSServiceMaxServiceName 64 + +/* Maximum length, in bytes, of a domain name represented as an *escaped* C-String */ +/* including the final trailing dot, and the C-String terminating NULL at the end. */ + +#define kDNSServiceMaxDomainName 1009 + +/* + * Notes on DNS Name Escaping + * -- or -- + * "Why is kDNSServiceMaxDomainName 1009, when the maximum legal domain name is 256 bytes?" + * + * All strings used in the DNS-SD APIs are UTF-8 strings. Apart from the exceptions noted below, + * the APIs expect the strings to be properly escaped, using the conventional DNS escaping rules: + * + * '\\' represents a single literal '\' in the name + * '\.' represents a single literal '.' in the name + * '\ddd', where ddd is a three-digit decimal value from 000 to 255, + * represents a single literal byte with that value. + * A bare unescaped '.' is a label separator, marking a boundary between domain and subdomain. + * + * The exceptions, that do not use escaping, are the routines where the full + * DNS name of a resource is broken, for convenience, into servicename/regtype/domain. + * In these routines, the "servicename" is NOT escaped. It does not need to be, since + * it is, by definition, just a single literal string. Any characters in that string + * represent exactly what they are. The "regtype" portion is, technically speaking, + * escaped, but since legal regtypes are only allowed to contain letters, digits, + * and hyphens, there is nothing to escape, so the issue is moot. The "domain" + * portion is also escaped, though most domains in use on the public Internet + * today, like regtypes, don't contain any characters that need to be escaped. + * As DNS-SD becomes more popular, rich-text domains for service discovery will + * become common, so software should be written to cope with domains with escaping. + * + * The servicename may be up to 63 bytes of UTF-8 text (not counting the C-String + * terminating NULL at the end). The regtype is of the form _service._tcp or + * _service._udp, where the "service" part is 1-15 characters, which may be + * letters, digits, or hyphens. The domain part of the three-part name may be + * any legal domain, providing that the resulting servicename+regtype+domain + * name does not exceed 256 bytes. + * + * For most software, these issues are transparent. When browsing, the discovered + * servicenames should simply be displayed as-is. When resolving, the discovered + * servicename/regtype/domain are simply passed unchanged to DNSServiceResolve(). + * When a DNSServiceResolve() succeeds, the returned fullname is already in + * the correct format to pass to standard system DNS APIs such as res_query(). + * For converting from servicename/regtype/domain to a single properly-escaped + * full DNS name, the helper function DNSServiceConstructFullName() is provided. + * + * The following (highly contrived) example illustrates the escaping process. + * Suppose you have an service called "Dr. Smith\Dr. Johnson", of type "_ftp._tcp" + * in subdomain "4th. Floor" of subdomain "Building 2" of domain "apple.com." + * The full (escaped) DNS name of this service's SRV record would be: + * Dr\.\032Smith\\Dr\.\032Johnson._ftp._tcp.4th\.\032Floor.Building\0322.apple.com. + */ + + +/* + * Constants for specifying an interface index + * + * Specific interface indexes are identified via a 32-bit unsigned integer returned + * by the if_nametoindex() family of calls. + * + * If the client passes 0 for interface index, that means "do the right thing", + * which (at present) means, "if the name is in an mDNS local multicast domain + * (e.g. 'local.', '254.169.in-addr.arpa.', '{8,9,A,B}.E.F.ip6.arpa.') then multicast + * on all applicable interfaces, otherwise send via unicast to the appropriate + * DNS server." Normally, most clients will use 0 for interface index to + * automatically get the default sensible behaviour. + * + * If the client passes a positive interface index, then for multicast names that + * indicates to do the operation only on that one interface. For unicast names the + * interface index is ignored unless kDNSServiceFlagsForceMulticast is also set. + * + * If the client passes kDNSServiceInterfaceIndexLocalOnly when registering + * a service, then that service will be found *only* by other local clients + * on the same machine that are browsing using kDNSServiceInterfaceIndexLocalOnly + * or kDNSServiceInterfaceIndexAny. + * If a client has a 'private' service, accessible only to other processes + * running on the same machine, this allows the client to advertise that service + * in a way such that it does not inadvertently appear in service lists on + * all the other machines on the network. + * + * If the client passes kDNSServiceInterfaceIndexLocalOnly when browsing + * then it will find *all* records registered on that same local machine. + * Clients explicitly wishing to discover *only* LocalOnly services can + * accomplish this by inspecting the interfaceIndex of each service reported + * to their DNSServiceBrowseReply() callback function, and discarding those + * where the interface index is not kDNSServiceInterfaceIndexLocalOnly. + * + * kDNSServiceInterfaceIndexP2P is meaningful only in Browse, QueryRecord, + * and Resolve operations. It should not be used in other DNSService APIs. + * + * - If kDNSServiceInterfaceIndexP2P is passed to DNSServiceBrowse or + * DNSServiceQueryRecord, it restricts the operation to P2P. + * + * - If kDNSServiceInterfaceIndexP2P is passed to DNSServiceResolve, it is + * mapped internally to kDNSServiceInterfaceIndexAny, because resolving + * a P2P service may create and/or enable an interface whose index is not + * known a priori. The resolve callback will indicate the index of the + * interface via which the service can be accessed. + * + * If applications pass kDNSServiceInterfaceIndexAny to DNSServiceBrowse + * or DNSServiceQueryRecord, they must set the kDNSServiceFlagsIncludeP2P flag + * to include P2P. In this case, if a service instance or the record being queried + * is found over P2P, the resulting ADD event will indicate kDNSServiceInterfaceIndexP2P + * as the interface index. + */ + +#define kDNSServiceInterfaceIndexAny 0 +#define kDNSServiceInterfaceIndexLocalOnly ((uint32_t)-1) +#define kDNSServiceInterfaceIndexUnicast ((uint32_t)-2) +#define kDNSServiceInterfaceIndexP2P ((uint32_t)-3) + +typedef uint32_t DNSServiceFlags; +typedef uint32_t DNSServiceProtocol; +typedef int32_t DNSServiceErrorType; + + +/********************************************************************************************* + * + * Version checking + * + *********************************************************************************************/ + +/* DNSServiceGetProperty() Parameters: + * + * property: The requested property. + * Currently the only property defined is kDNSServiceProperty_DaemonVersion. + * + * result: Place to store result. + * For retrieving DaemonVersion, this should be the address of a uint32_t. + * + * size: Pointer to uint32_t containing size of the result location. + * For retrieving DaemonVersion, this should be sizeof(uint32_t). + * On return the uint32_t is updated to the size of the data returned. + * For DaemonVersion, the returned size is always sizeof(uint32_t), but + * future properties could be defined which return variable-sized results. + * + * return value: Returns kDNSServiceErr_NoError on success, or kDNSServiceErr_ServiceNotRunning + * if the daemon (or "system service" on Windows) is not running. + */ + +DNSServiceErrorType DNSSD_API DNSServiceGetProperty + ( + const char *property, /* Requested property (i.e. kDNSServiceProperty_DaemonVersion) */ + void *result, /* Pointer to place to store result */ + uint32_t *size /* size of result location */ + ); + +/* + * When requesting kDNSServiceProperty_DaemonVersion, the result pointer must point + * to a 32-bit unsigned integer, and the size parameter must be set to sizeof(uint32_t). + * + * On return, the 32-bit unsigned integer contains the version number, formatted as follows: + * Major part of the build number * 10000 + + * minor part of the build number * 100 + * + * For example, Mac OS X 10.4.9 has mDNSResponder-108.4, which would be represented as + * version 1080400. This allows applications to do simple greater-than and less-than comparisons: + * e.g. an application that requires at least mDNSResponder-108.4 can check: + * + * if (version >= 1080400) ... + * + * Example usage: + * + * uint32_t version; + * uint32_t size = sizeof(version); + * DNSServiceErrorType err = DNSServiceGetProperty(kDNSServiceProperty_DaemonVersion, &version, &size); + * if (!err) printf("Bonjour version is %d.%d\n", version / 10000, version / 100 % 100); + */ + +#define kDNSServiceProperty_DaemonVersion "DaemonVersion" + + +/********************************************************************************************* + * + * Unix Domain Socket access, DNSServiceRef deallocation, and data processing functions + * + *********************************************************************************************/ + +/* DNSServiceRefSockFD() + * + * Access underlying Unix domain socket for an initialized DNSServiceRef. + * The DNS Service Discovery implementation uses this socket to communicate between the client and + * the mDNSResponder daemon. The application MUST NOT directly read from or write to this socket. + * Access to the socket is provided so that it can be used as a kqueue event source, a CFRunLoop + * event source, in a select() loop, etc. When the underlying event management subsystem (kqueue/ + * select/CFRunLoop etc.) indicates to the client that data is available for reading on the + * socket, the client should call DNSServiceProcessResult(), which will extract the daemon's + * reply from the socket, and pass it to the appropriate application callback. By using a run + * loop or select(), results from the daemon can be processed asynchronously. Alternatively, + * a client can choose to fork a thread and have it loop calling "DNSServiceProcessResult(ref);" + * If DNSServiceProcessResult() is called when no data is available for reading on the socket, it + * will block until data does become available, and then process the data and return to the caller. + * When data arrives on the socket, the client is responsible for calling DNSServiceProcessResult(ref) + * in a timely fashion -- if the client allows a large backlog of data to build up the daemon + * may terminate the connection. + * + * sdRef: A DNSServiceRef initialized by any of the DNSService calls. + * + * return value: The DNSServiceRef's underlying socket descriptor, or -1 on + * error. + */ + +int DNSSD_API DNSServiceRefSockFD(DNSServiceRef sdRef); + + +/* DNSServiceProcessResult() + * + * Read a reply from the daemon, calling the appropriate application callback. This call will + * block until the daemon's response is received. Use DNSServiceRefSockFD() in + * conjunction with a run loop or select() to determine the presence of a response from the + * server before calling this function to process the reply without blocking. Call this function + * at any point if it is acceptable to block until the daemon's response arrives. Note that the + * client is responsible for ensuring that DNSServiceProcessResult() is called whenever there is + * a reply from the daemon - the daemon may terminate its connection with a client that does not + * process the daemon's responses. + * + * sdRef: A DNSServiceRef initialized by any of the DNSService calls + * that take a callback parameter. + * + * return value: Returns kDNSServiceErr_NoError on success, otherwise returns + * an error code indicating the specific failure that occurred. + */ + +DNSServiceErrorType DNSSD_API DNSServiceProcessResult(DNSServiceRef sdRef); + + +/* DNSServiceRefDeallocate() + * + * Terminate a connection with the daemon and free memory associated with the DNSServiceRef. + * Any services or records registered with this DNSServiceRef will be deregistered. Any + * Browse, Resolve, or Query operations called with this reference will be terminated. + * + * Note: If the reference's underlying socket is used in a run loop or select() call, it should + * be removed BEFORE DNSServiceRefDeallocate() is called, as this function closes the reference's + * socket. + * + * Note: If the reference was initialized with DNSServiceCreateConnection(), any DNSRecordRefs + * created via this reference will be invalidated by this call - the resource records are + * deregistered, and their DNSRecordRefs may not be used in subsequent functions. Similarly, + * if the reference was initialized with DNSServiceRegister, and an extra resource record was + * added to the service via DNSServiceAddRecord(), the DNSRecordRef created by the Add() call + * is invalidated when this function is called - the DNSRecordRef may not be used in subsequent + * functions. + * + * Note: This call is to be used only with the DNSServiceRef defined by this API. It is + * not compatible with dns_service_discovery_ref objects defined in the legacy Mach-based + * DNSServiceDiscovery.h API. + * + * sdRef: A DNSServiceRef initialized by any of the DNSService calls. + * + */ + +void DNSSD_API DNSServiceRefDeallocate(DNSServiceRef sdRef); + + +/********************************************************************************************* + * + * Domain Enumeration + * + *********************************************************************************************/ + +/* DNSServiceEnumerateDomains() + * + * Asynchronously enumerate domains available for browsing and registration. + * + * The enumeration MUST be cancelled via DNSServiceRefDeallocate() when no more domains + * are to be found. + * + * Note that the names returned are (like all of DNS-SD) UTF-8 strings, + * and are escaped using standard DNS escaping rules. + * (See "Notes on DNS Name Escaping" earlier in this file for more details.) + * A graphical browser displaying a hierarchical tree-structured view should cut + * the names at the bare dots to yield individual labels, then de-escape each + * label according to the escaping rules, and then display the resulting UTF-8 text. + * + * DNSServiceDomainEnumReply Callback Parameters: + * + * sdRef: The DNSServiceRef initialized by DNSServiceEnumerateDomains(). + * + * flags: Possible values are: + * kDNSServiceFlagsMoreComing + * kDNSServiceFlagsAdd + * kDNSServiceFlagsDefault + * + * interfaceIndex: Specifies the interface on which the domain exists. (The index for a given + * interface is determined via the if_nametoindex() family of calls.) + * + * errorCode: Will be kDNSServiceErr_NoError (0) on success, otherwise indicates + * the failure that occurred (other parameters are undefined if errorCode is nonzero). + * + * replyDomain: The name of the domain. + * + * context: The context pointer passed to DNSServiceEnumerateDomains. + * + */ + +typedef void (DNSSD_API *DNSServiceDomainEnumReply) + ( + DNSServiceRef sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + DNSServiceErrorType errorCode, + const char *replyDomain, + void *context + ); + + +/* DNSServiceEnumerateDomains() Parameters: + * + * sdRef: A pointer to an uninitialized DNSServiceRef. If the call succeeds + * then it initializes the DNSServiceRef, returns kDNSServiceErr_NoError, + * and the enumeration operation will run indefinitely until the client + * terminates it by passing this DNSServiceRef to DNSServiceRefDeallocate(). + * + * flags: Possible values are: + * kDNSServiceFlagsBrowseDomains to enumerate domains recommended for browsing. + * kDNSServiceFlagsRegistrationDomains to enumerate domains recommended + * for registration. + * + * interfaceIndex: If non-zero, specifies the interface on which to look for domains. + * (the index for a given interface is determined via the if_nametoindex() + * family of calls.) Most applications will pass 0 to enumerate domains on + * all interfaces. See "Constants for specifying an interface index" for more details. + * + * callBack: The function to be called when a domain is found or the call asynchronously + * fails. + * + * context: An application context pointer which is passed to the callback function + * (may be NULL). + * + * return value: Returns kDNSServiceErr_NoError on success (any subsequent, asynchronous + * errors are delivered to the callback), otherwise returns an error code indicating + * the error that occurred (the callback is not invoked and the DNSServiceRef + * is not initialized). + */ + +DNSServiceErrorType DNSSD_API DNSServiceEnumerateDomains + ( + DNSServiceRef *sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + DNSServiceDomainEnumReply callBack, + void *context /* may be NULL */ + ); + + +/********************************************************************************************* + * + * Service Registration + * + *********************************************************************************************/ + +/* Register a service that is discovered via Browse() and Resolve() calls. + * + * DNSServiceRegisterReply() Callback Parameters: + * + * sdRef: The DNSServiceRef initialized by DNSServiceRegister(). + * + * flags: When a name is successfully registered, the callback will be + * invoked with the kDNSServiceFlagsAdd flag set. When Wide-Area + * DNS-SD is in use, it is possible for a single service to get + * more than one success callback (e.g. one in the "local" multicast + * DNS domain, and another in a wide-area unicast DNS domain). + * If a successfully-registered name later suffers a name conflict + * or similar problem and has to be deregistered, the callback will + * be invoked with the kDNSServiceFlagsAdd flag not set. The callback + * is *not* invoked in the case where the caller explicitly terminates + * the service registration by calling DNSServiceRefDeallocate(ref); + * + * errorCode: Will be kDNSServiceErr_NoError on success, otherwise will + * indicate the failure that occurred (including name conflicts, + * if the kDNSServiceFlagsNoAutoRename flag was used when registering.) + * Other parameters are undefined if errorCode is nonzero. + * + * name: The service name registered (if the application did not specify a name in + * DNSServiceRegister(), this indicates what name was automatically chosen). + * + * regtype: The type of service registered, as it was passed to the callout. + * + * domain: The domain on which the service was registered (if the application did not + * specify a domain in DNSServiceRegister(), this indicates the default domain + * on which the service was registered). + * + * context: The context pointer that was passed to the callout. + * + */ + +typedef void (DNSSD_API *DNSServiceRegisterReply) + ( + DNSServiceRef sdRef, + DNSServiceFlags flags, + DNSServiceErrorType errorCode, + const char *name, + const char *regtype, + const char *domain, + void *context + ); + + +/* DNSServiceRegister() Parameters: + * + * sdRef: A pointer to an uninitialized DNSServiceRef. If the call succeeds + * then it initializes the DNSServiceRef, returns kDNSServiceErr_NoError, + * and the registration will remain active indefinitely until the client + * terminates it by passing this DNSServiceRef to DNSServiceRefDeallocate(). + * + * interfaceIndex: If non-zero, specifies the interface on which to register the service + * (the index for a given interface is determined via the if_nametoindex() + * family of calls.) Most applications will pass 0 to register on all + * available interfaces. See "Constants for specifying an interface index" for more details. + * + * flags: Indicates the renaming behavior on name conflict (most applications + * will pass 0). See flag definitions above for details. + * + * name: If non-NULL, specifies the service name to be registered. + * Most applications will not specify a name, in which case the computer + * name is used (this name is communicated to the client via the callback). + * If a name is specified, it must be 1-63 bytes of UTF-8 text. + * If the name is longer than 63 bytes it will be automatically truncated + * to a legal length, unless the NoAutoRename flag is set, + * in which case kDNSServiceErr_BadParam will be returned. + * + * regtype: The service type followed by the protocol, separated by a dot + * (e.g. "_ftp._tcp"). The service type must be an underscore, followed + * by 1-15 characters, which may be letters, digits, or hyphens. + * The transport protocol must be "_tcp" or "_udp". New service types + * should be registered at . + * + * Additional subtypes of the primary service type (where a service + * type has defined subtypes) follow the primary service type in a + * comma-separated list, with no additional spaces, e.g. + * "_primarytype._tcp,_subtype1,_subtype2,_subtype3" + * Subtypes provide a mechanism for filtered browsing: A client browsing + * for "_primarytype._tcp" will discover all instances of this type; + * a client browsing for "_primarytype._tcp,_subtype2" will discover only + * those instances that were registered with "_subtype2" in their list of + * registered subtypes. + * + * The subtype mechanism can be illustrated with some examples using the + * dns-sd command-line tool: + * + * % dns-sd -R Simple _test._tcp "" 1001 & + * % dns-sd -R Better _test._tcp,HasFeatureA "" 1002 & + * % dns-sd -R Best _test._tcp,HasFeatureA,HasFeatureB "" 1003 & + * + * Now: + * % dns-sd -B _test._tcp # will find all three services + * % dns-sd -B _test._tcp,HasFeatureA # finds "Better" and "Best" + * % dns-sd -B _test._tcp,HasFeatureB # finds only "Best" + * + * Subtype labels may be up to 63 bytes long, and may contain any eight- + * bit byte values, including zero bytes. However, due to the nature of + * using a C-string-based API, conventional DNS escaping must be used for + * dots ('.'), commas (','), backslashes ('\') and zero bytes, as shown below: + * + * % dns-sd -R Test '_test._tcp,s\.one,s\,two,s\\three,s\000four' local 123 + * + * domain: If non-NULL, specifies the domain on which to advertise the service. + * Most applications will not specify a domain, instead automatically + * registering in the default domain(s). + * + * host: If non-NULL, specifies the SRV target host name. Most applications + * will not specify a host, instead automatically using the machine's + * default host name(s). Note that specifying a non-NULL host does NOT + * create an address record for that host - the application is responsible + * for ensuring that the appropriate address record exists, or creating it + * via DNSServiceRegisterRecord(). + * + * port: The port, in network byte order, on which the service accepts connections. + * Pass 0 for a "placeholder" service (i.e. a service that will not be discovered + * by browsing, but will cause a name conflict if another client tries to + * register that same name). Most clients will not use placeholder services. + * + * txtLen: The length of the txtRecord, in bytes. Must be zero if the txtRecord is NULL. + * + * txtRecord: The TXT record rdata. A non-NULL txtRecord MUST be a properly formatted DNS + * TXT record, i.e. ... + * Passing NULL for the txtRecord is allowed as a synonym for txtLen=1, txtRecord="", + * i.e. it creates a TXT record of length one containing a single empty string. + * RFC 1035 doesn't allow a TXT record to contain *zero* strings, so a single empty + * string is the smallest legal DNS TXT record. + * As with the other parameters, the DNSServiceRegister call copies the txtRecord + * data; e.g. if you allocated the storage for the txtRecord parameter with malloc() + * then you can safely free that memory right after the DNSServiceRegister call returns. + * + * callBack: The function to be called when the registration completes or asynchronously + * fails. The client MAY pass NULL for the callback - The client will NOT be notified + * of the default values picked on its behalf, and the client will NOT be notified of any + * asynchronous errors (e.g. out of memory errors, etc.) that may prevent the registration + * of the service. The client may NOT pass the NoAutoRename flag if the callback is NULL. + * The client may still deregister the service at any time via DNSServiceRefDeallocate(). + * + * context: An application context pointer which is passed to the callback function + * (may be NULL). + * + * return value: Returns kDNSServiceErr_NoError on success (any subsequent, asynchronous + * errors are delivered to the callback), otherwise returns an error code indicating + * the error that occurred (the callback is never invoked and the DNSServiceRef + * is not initialized). + */ + +DNSServiceErrorType DNSSD_API DNSServiceRegister + ( + DNSServiceRef *sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + const char *name, /* may be NULL */ + const char *regtype, + const char *domain, /* may be NULL */ + const char *host, /* may be NULL */ + uint16_t port, /* In network byte order */ + uint16_t txtLen, + const void *txtRecord, /* may be NULL */ + DNSServiceRegisterReply callBack, /* may be NULL */ + void *context /* may be NULL */ + ); + + +/* DNSServiceAddRecord() + * + * Add a record to a registered service. The name of the record will be the same as the + * registered service's name. + * The record can later be updated or deregistered by passing the RecordRef initialized + * by this function to DNSServiceUpdateRecord() or DNSServiceRemoveRecord(). + * + * Note that the DNSServiceAddRecord/UpdateRecord/RemoveRecord are *NOT* thread-safe + * with respect to a single DNSServiceRef. If you plan to have multiple threads + * in your program simultaneously add, update, or remove records from the same + * DNSServiceRef, then it's the caller's responsibility to use a mutext lock + * or take similar appropriate precautions to serialize those calls. + * + * Parameters; + * + * sdRef: A DNSServiceRef initialized by DNSServiceRegister(). + * + * RecordRef: A pointer to an uninitialized DNSRecordRef. Upon succesfull completion of this + * call, this ref may be passed to DNSServiceUpdateRecord() or DNSServiceRemoveRecord(). + * If the above DNSServiceRef is passed to DNSServiceRefDeallocate(), RecordRef is also + * invalidated and may not be used further. + * + * flags: Currently ignored, reserved for future use. + * + * rrtype: The type of the record (e.g. kDNSServiceType_TXT, kDNSServiceType_SRV, etc) + * + * rdlen: The length, in bytes, of the rdata. + * + * rdata: The raw rdata to be contained in the added resource record. + * + * ttl: The time to live of the resource record, in seconds. + * Most clients should pass 0 to indicate that the system should + * select a sensible default value. + * + * return value: Returns kDNSServiceErr_NoError on success, otherwise returns an + * error code indicating the error that occurred (the RecordRef is not initialized). + */ + +DNSServiceErrorType DNSSD_API DNSServiceAddRecord + ( + DNSServiceRef sdRef, + DNSRecordRef *RecordRef, + DNSServiceFlags flags, + uint16_t rrtype, + uint16_t rdlen, + const void *rdata, + uint32_t ttl + ); + + +/* DNSServiceUpdateRecord + * + * Update a registered resource record. The record must either be: + * - The primary txt record of a service registered via DNSServiceRegister() + * - A record added to a registered service via DNSServiceAddRecord() + * - An individual record registered by DNSServiceRegisterRecord() + * + * Parameters: + * + * sdRef: A DNSServiceRef that was initialized by DNSServiceRegister() + * or DNSServiceCreateConnection(). + * + * RecordRef: A DNSRecordRef initialized by DNSServiceAddRecord, or NULL to update the + * service's primary txt record. + * + * flags: Currently ignored, reserved for future use. + * + * rdlen: The length, in bytes, of the new rdata. + * + * rdata: The new rdata to be contained in the updated resource record. + * + * ttl: The time to live of the updated resource record, in seconds. + * Most clients should pass 0 to indicate that the system should + * select a sensible default value. + * + * return value: Returns kDNSServiceErr_NoError on success, otherwise returns an + * error code indicating the error that occurred. + */ + +DNSServiceErrorType DNSSD_API DNSServiceUpdateRecord + ( + DNSServiceRef sdRef, + DNSRecordRef RecordRef, /* may be NULL */ + DNSServiceFlags flags, + uint16_t rdlen, + const void *rdata, + uint32_t ttl + ); + + +/* DNSServiceRemoveRecord + * + * Remove a record previously added to a service record set via DNSServiceAddRecord(), or deregister + * an record registered individually via DNSServiceRegisterRecord(). + * + * Parameters: + * + * sdRef: A DNSServiceRef initialized by DNSServiceRegister() (if the + * record being removed was registered via DNSServiceAddRecord()) or by + * DNSServiceCreateConnection() (if the record being removed was registered via + * DNSServiceRegisterRecord()). + * + * recordRef: A DNSRecordRef initialized by a successful call to DNSServiceAddRecord() + * or DNSServiceRegisterRecord(). + * + * flags: Currently ignored, reserved for future use. + * + * return value: Returns kDNSServiceErr_NoError on success, otherwise returns an + * error code indicating the error that occurred. + */ + +DNSServiceErrorType DNSSD_API DNSServiceRemoveRecord + ( + DNSServiceRef sdRef, + DNSRecordRef RecordRef, + DNSServiceFlags flags + ); + + +/********************************************************************************************* + * + * Service Discovery + * + *********************************************************************************************/ + +/* Browse for instances of a service. + * + * DNSServiceBrowseReply() Parameters: + * + * sdRef: The DNSServiceRef initialized by DNSServiceBrowse(). + * + * flags: Possible values are kDNSServiceFlagsMoreComing and kDNSServiceFlagsAdd. + * See flag definitions for details. + * + * interfaceIndex: The interface on which the service is advertised. This index should + * be passed to DNSServiceResolve() when resolving the service. + * + * errorCode: Will be kDNSServiceErr_NoError (0) on success, otherwise will + * indicate the failure that occurred. Other parameters are undefined if + * the errorCode is nonzero. + * + * serviceName: The discovered service name. This name should be displayed to the user, + * and stored for subsequent use in the DNSServiceResolve() call. + * + * regtype: The service type, which is usually (but not always) the same as was passed + * to DNSServiceBrowse(). One case where the discovered service type may + * not be the same as the requested service type is when using subtypes: + * The client may want to browse for only those ftp servers that allow + * anonymous connections. The client will pass the string "_ftp._tcp,_anon" + * to DNSServiceBrowse(), but the type of the service that's discovered + * is simply "_ftp._tcp". The regtype for each discovered service instance + * should be stored along with the name, so that it can be passed to + * DNSServiceResolve() when the service is later resolved. + * + * domain: The domain of the discovered service instance. This may or may not be the + * same as the domain that was passed to DNSServiceBrowse(). The domain for each + * discovered service instance should be stored along with the name, so that + * it can be passed to DNSServiceResolve() when the service is later resolved. + * + * context: The context pointer that was passed to the callout. + * + */ + +typedef void (DNSSD_API *DNSServiceBrowseReply) + ( + DNSServiceRef sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + DNSServiceErrorType errorCode, + const char *serviceName, + const char *regtype, + const char *replyDomain, + void *context + ); + + +/* DNSServiceBrowse() Parameters: + * + * sdRef: A pointer to an uninitialized DNSServiceRef. If the call succeeds + * then it initializes the DNSServiceRef, returns kDNSServiceErr_NoError, + * and the browse operation will run indefinitely until the client + * terminates it by passing this DNSServiceRef to DNSServiceRefDeallocate(). + * + * flags: Currently ignored, reserved for future use. + * + * interfaceIndex: If non-zero, specifies the interface on which to browse for services + * (the index for a given interface is determined via the if_nametoindex() + * family of calls.) Most applications will pass 0 to browse on all available + * interfaces. See "Constants for specifying an interface index" for more details. + * + * regtype: The service type being browsed for followed by the protocol, separated by a + * dot (e.g. "_ftp._tcp"). The transport protocol must be "_tcp" or "_udp". + * A client may optionally specify a single subtype to perform filtered browsing: + * e.g. browsing for "_primarytype._tcp,_subtype" will discover only those + * instances of "_primarytype._tcp" that were registered specifying "_subtype" + * in their list of registered subtypes. + * + * domain: If non-NULL, specifies the domain on which to browse for services. + * Most applications will not specify a domain, instead browsing on the + * default domain(s). + * + * callBack: The function to be called when an instance of the service being browsed for + * is found, or if the call asynchronously fails. + * + * context: An application context pointer which is passed to the callback function + * (may be NULL). + * + * return value: Returns kDNSServiceErr_NoError on success (any subsequent, asynchronous + * errors are delivered to the callback), otherwise returns an error code indicating + * the error that occurred (the callback is not invoked and the DNSServiceRef + * is not initialized). + */ + +DNSServiceErrorType DNSSD_API DNSServiceBrowse + ( + DNSServiceRef *sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + const char *regtype, + const char *domain, /* may be NULL */ + DNSServiceBrowseReply callBack, + void *context /* may be NULL */ + ); + + +/* DNSServiceResolve() + * + * Resolve a service name discovered via DNSServiceBrowse() to a target host name, port number, and + * txt record. + * + * Note: Applications should NOT use DNSServiceResolve() solely for txt record monitoring - use + * DNSServiceQueryRecord() instead, as it is more efficient for this task. + * + * Note: When the desired results have been returned, the client MUST terminate the resolve by calling + * DNSServiceRefDeallocate(). + * + * Note: DNSServiceResolve() behaves correctly for typical services that have a single SRV record + * and a single TXT record. To resolve non-standard services with multiple SRV or TXT records, + * DNSServiceQueryRecord() should be used. + * + * DNSServiceResolveReply Callback Parameters: + * + * sdRef: The DNSServiceRef initialized by DNSServiceResolve(). + * + * flags: Possible values: kDNSServiceFlagsMoreComing + * + * interfaceIndex: The interface on which the service was resolved. + * + * errorCode: Will be kDNSServiceErr_NoError (0) on success, otherwise will + * indicate the failure that occurred. Other parameters are undefined if + * the errorCode is nonzero. + * + * fullname: The full service domain name, in the form ... + * (This name is escaped following standard DNS rules, making it suitable for + * passing to standard system DNS APIs such as res_query(), or to the + * special-purpose functions included in this API that take fullname parameters. + * See "Notes on DNS Name Escaping" earlier in this file for more details.) + * + * hosttarget: The target hostname of the machine providing the service. This name can + * be passed to functions like gethostbyname() to identify the host's IP address. + * + * port: The port, in network byte order, on which connections are accepted for this service. + * + * txtLen: The length of the txt record, in bytes. + * + * txtRecord: The service's primary txt record, in standard txt record format. + * + * context: The context pointer that was passed to the callout. + * + * NOTE: In earlier versions of this header file, the txtRecord parameter was declared "const char *" + * This is incorrect, since it contains length bytes which are values in the range 0 to 255, not -128 to +127. + * Depending on your compiler settings, this change may cause signed/unsigned mismatch warnings. + * These should be fixed by updating your own callback function definition to match the corrected + * function signature using "const unsigned char *txtRecord". Making this change may also fix inadvertent + * bugs in your callback function, where it could have incorrectly interpreted a length byte with value 250 + * as being -6 instead, with various bad consequences ranging from incorrect operation to software crashes. + * If you need to maintain portable code that will compile cleanly with both the old and new versions of + * this header file, you should update your callback function definition to use the correct unsigned value, + * and then in the place where you pass your callback function to DNSServiceResolve(), use a cast to eliminate + * the compiler warning, e.g.: + * DNSServiceResolve(sd, flags, index, name, regtype, domain, (DNSServiceResolveReply)MyCallback, context); + * This will ensure that your code compiles cleanly without warnings (and more importantly, works correctly) + * with both the old header and with the new corrected version. + * + */ + +typedef void (DNSSD_API *DNSServiceResolveReply) + ( + DNSServiceRef sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + DNSServiceErrorType errorCode, + const char *fullname, + const char *hosttarget, + uint16_t port, /* In network byte order */ + uint16_t txtLen, + const unsigned char *txtRecord, + void *context + ); + + +/* DNSServiceResolve() Parameters + * + * sdRef: A pointer to an uninitialized DNSServiceRef. If the call succeeds + * then it initializes the DNSServiceRef, returns kDNSServiceErr_NoError, + * and the resolve operation will run indefinitely until the client + * terminates it by passing this DNSServiceRef to DNSServiceRefDeallocate(). + * + * flags: Specifying kDNSServiceFlagsForceMulticast will cause query to be + * performed with a link-local mDNS query, even if the name is an + * apparently non-local name (i.e. a name not ending in ".local.") + * + * interfaceIndex: The interface on which to resolve the service. If this resolve call is + * as a result of a currently active DNSServiceBrowse() operation, then the + * interfaceIndex should be the index reported in the DNSServiceBrowseReply + * callback. If this resolve call is using information previously saved + * (e.g. in a preference file) for later use, then use interfaceIndex 0, because + * the desired service may now be reachable via a different physical interface. + * See "Constants for specifying an interface index" for more details. + * + * name: The name of the service instance to be resolved, as reported to the + * DNSServiceBrowseReply() callback. + * + * regtype: The type of the service instance to be resolved, as reported to the + * DNSServiceBrowseReply() callback. + * + * domain: The domain of the service instance to be resolved, as reported to the + * DNSServiceBrowseReply() callback. + * + * callBack: The function to be called when a result is found, or if the call + * asynchronously fails. + * + * context: An application context pointer which is passed to the callback function + * (may be NULL). + * + * return value: Returns kDNSServiceErr_NoError on success (any subsequent, asynchronous + * errors are delivered to the callback), otherwise returns an error code indicating + * the error that occurred (the callback is never invoked and the DNSServiceRef + * is not initialized). + */ + +DNSServiceErrorType DNSSD_API DNSServiceResolve + ( + DNSServiceRef *sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + const char *name, + const char *regtype, + const char *domain, + DNSServiceResolveReply callBack, + void *context /* may be NULL */ + ); + + +/********************************************************************************************* + * + * Querying Individual Specific Records + * + *********************************************************************************************/ + +/* DNSServiceQueryRecord + * + * Query for an arbitrary DNS record. + * + * DNSServiceQueryRecordReply() Callback Parameters: + * + * sdRef: The DNSServiceRef initialized by DNSServiceQueryRecord(). + * + * flags: Possible values are kDNSServiceFlagsMoreComing and + * kDNSServiceFlagsAdd. The Add flag is NOT set for PTR records + * with a ttl of 0, i.e. "Remove" events. + * + * interfaceIndex: The interface on which the query was resolved (the index for a given + * interface is determined via the if_nametoindex() family of calls). + * See "Constants for specifying an interface index" for more details. + * + * errorCode: Will be kDNSServiceErr_NoError on success, otherwise will + * indicate the failure that occurred. Other parameters are undefined if + * errorCode is nonzero. + * + * fullname: The resource record's full domain name. + * + * rrtype: The resource record's type (e.g. kDNSServiceType_PTR, kDNSServiceType_SRV, etc) + * + * rrclass: The class of the resource record (usually kDNSServiceClass_IN). + * + * rdlen: The length, in bytes, of the resource record rdata. + * + * rdata: The raw rdata of the resource record. + * + * ttl: If the client wishes to cache the result for performance reasons, + * the TTL indicates how long the client may legitimately hold onto + * this result, in seconds. After the TTL expires, the client should + * consider the result no longer valid, and if it requires this data + * again, it should be re-fetched with a new query. Of course, this + * only applies to clients that cancel the asynchronous operation when + * they get a result. Clients that leave the asynchronous operation + * running can safely assume that the data remains valid until they + * get another callback telling them otherwise. + * + * context: The context pointer that was passed to the callout. + * + */ + +typedef void (DNSSD_API *DNSServiceQueryRecordReply) + ( + DNSServiceRef sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + DNSServiceErrorType errorCode, + const char *fullname, + uint16_t rrtype, + uint16_t rrclass, + uint16_t rdlen, + const void *rdata, + uint32_t ttl, + void *context + ); + + +/* DNSServiceQueryRecord() Parameters: + * + * sdRef: A pointer to an uninitialized DNSServiceRef. If the call succeeds + * then it initializes the DNSServiceRef, returns kDNSServiceErr_NoError, + * and the query operation will run indefinitely until the client + * terminates it by passing this DNSServiceRef to DNSServiceRefDeallocate(). + * + * flags: kDNSServiceFlagsForceMulticast or kDNSServiceFlagsLongLivedQuery. + * Pass kDNSServiceFlagsLongLivedQuery to create a "long-lived" unicast + * query in a non-local domain. Without setting this flag, unicast queries + * will be one-shot - that is, only answers available at the time of the call + * will be returned. By setting this flag, answers (including Add and Remove + * events) that become available after the initial call is made will generate + * callbacks. This flag has no effect on link-local multicast queries. + * + * interfaceIndex: If non-zero, specifies the interface on which to issue the query + * (the index for a given interface is determined via the if_nametoindex() + * family of calls.) Passing 0 causes the name to be queried for on all + * interfaces. See "Constants for specifying an interface index" for more details. + * + * fullname: The full domain name of the resource record to be queried for. + * + * rrtype: The numerical type of the resource record to be queried for + * (e.g. kDNSServiceType_PTR, kDNSServiceType_SRV, etc) + * + * rrclass: The class of the resource record (usually kDNSServiceClass_IN). + * + * callBack: The function to be called when a result is found, or if the call + * asynchronously fails. + * + * context: An application context pointer which is passed to the callback function + * (may be NULL). + * + * return value: Returns kDNSServiceErr_NoError on success (any subsequent, asynchronous + * errors are delivered to the callback), otherwise returns an error code indicating + * the error that occurred (the callback is never invoked and the DNSServiceRef + * is not initialized). + */ + +DNSServiceErrorType DNSSD_API DNSServiceQueryRecord + ( + DNSServiceRef *sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + const char *fullname, + uint16_t rrtype, + uint16_t rrclass, + DNSServiceQueryRecordReply callBack, + void *context /* may be NULL */ + ); + + +/********************************************************************************************* + * + * Unified lookup of both IPv4 and IPv6 addresses for a fully qualified hostname + * + *********************************************************************************************/ + +/* DNSServiceGetAddrInfo + * + * Queries for the IP address of a hostname by using either Multicast or Unicast DNS. + * + * DNSServiceGetAddrInfoReply() parameters: + * + * sdRef: The DNSServiceRef initialized by DNSServiceGetAddrInfo(). + * + * flags: Possible values are kDNSServiceFlagsMoreComing and + * kDNSServiceFlagsAdd. + * + * interfaceIndex: The interface to which the answers pertain. + * + * errorCode: Will be kDNSServiceErr_NoError on success, otherwise will + * indicate the failure that occurred. Other parameters are + * undefined if errorCode is nonzero. + * + * hostname: The fully qualified domain name of the host to be queried for. + * + * address: IPv4 or IPv6 address. + * + * ttl: If the client wishes to cache the result for performance reasons, + * the TTL indicates how long the client may legitimately hold onto + * this result, in seconds. After the TTL expires, the client should + * consider the result no longer valid, and if it requires this data + * again, it should be re-fetched with a new query. Of course, this + * only applies to clients that cancel the asynchronous operation when + * they get a result. Clients that leave the asynchronous operation + * running can safely assume that the data remains valid until they + * get another callback telling them otherwise. + * + * context: The context pointer that was passed to the callout. + * + */ + +typedef void (DNSSD_API *DNSServiceGetAddrInfoReply) + ( + DNSServiceRef sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + DNSServiceErrorType errorCode, + const char *hostname, + const struct sockaddr *address, + uint32_t ttl, + void *context + ); + + +/* DNSServiceGetAddrInfo() Parameters: + * + * sdRef: A pointer to an uninitialized DNSServiceRef. If the call succeeds then it + * initializes the DNSServiceRef, returns kDNSServiceErr_NoError, and the query + * begins and will last indefinitely until the client terminates the query + * by passing this DNSServiceRef to DNSServiceRefDeallocate(). + * + * flags: kDNSServiceFlagsForceMulticast or kDNSServiceFlagsLongLivedQuery. + * Pass kDNSServiceFlagsLongLivedQuery to create a "long-lived" unicast + * query in a non-local domain. Without setting this flag, unicast queries + * will be one-shot - that is, only answers available at the time of the call + * will be returned. By setting this flag, answers (including Add and Remove + * events) that become available after the initial call is made will generate + * callbacks. This flag has no effect on link-local multicast queries. + * + * interfaceIndex: The interface on which to issue the query. Passing 0 causes the query to be + * sent on all active interfaces via Multicast or the primary interface via Unicast. + * + * protocol: Pass in kDNSServiceProtocol_IPv4 to look up IPv4 addresses, or kDNSServiceProtocol_IPv6 + * to look up IPv6 addresses, or both to look up both kinds. If neither flag is + * set, the system will apply an intelligent heuristic, which is (currently) + * that it will attempt to look up both, except: + * + * * If "hostname" is a wide-area unicast DNS hostname (i.e. not a ".local." name) + * but this host has no routable IPv6 address, then the call will not try to + * look up IPv6 addresses for "hostname", since any addresses it found would be + * unlikely to be of any use anyway. Similarly, if this host has no routable + * IPv4 address, the call will not try to look up IPv4 addresses for "hostname". + * + * hostname: The fully qualified domain name of the host to be queried for. + * + * callBack: The function to be called when the query succeeds or fails asynchronously. + * + * context: An application context pointer which is passed to the callback function + * (may be NULL). + * + * return value: Returns kDNSServiceErr_NoError on success (any subsequent, asynchronous + * errors are delivered to the callback), otherwise returns an error code indicating + * the error that occurred. + */ + +DNSServiceErrorType DNSSD_API DNSServiceGetAddrInfo + ( + DNSServiceRef *sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + DNSServiceProtocol protocol, + const char *hostname, + DNSServiceGetAddrInfoReply callBack, + void *context /* may be NULL */ + ); + + +/********************************************************************************************* + * + * Special Purpose Calls: + * DNSServiceCreateConnection(), DNSServiceRegisterRecord(), DNSServiceReconfirmRecord() + * (most applications will not use these) + * + *********************************************************************************************/ + +/* DNSServiceCreateConnection() + * + * Create a connection to the daemon allowing efficient registration of + * multiple individual records. + * + * Parameters: + * + * sdRef: A pointer to an uninitialized DNSServiceRef. Deallocating + * the reference (via DNSServiceRefDeallocate()) severs the + * connection and deregisters all records registered on this connection. + * + * return value: Returns kDNSServiceErr_NoError on success, otherwise returns + * an error code indicating the specific failure that occurred (in which + * case the DNSServiceRef is not initialized). + */ + +DNSServiceErrorType DNSSD_API DNSServiceCreateConnection(DNSServiceRef *sdRef); + + +/* DNSServiceRegisterRecord + * + * Register an individual resource record on a connected DNSServiceRef. + * + * Note that name conflicts occurring for records registered via this call must be handled + * by the client in the callback. + * + * DNSServiceRegisterRecordReply() parameters: + * + * sdRef: The connected DNSServiceRef initialized by + * DNSServiceCreateConnection(). + * + * RecordRef: The DNSRecordRef initialized by DNSServiceRegisterRecord(). If the above + * DNSServiceRef is passed to DNSServiceRefDeallocate(), this DNSRecordRef is + * invalidated, and may not be used further. + * + * flags: Currently unused, reserved for future use. + * + * errorCode: Will be kDNSServiceErr_NoError on success, otherwise will + * indicate the failure that occurred (including name conflicts.) + * Other parameters are undefined if errorCode is nonzero. + * + * context: The context pointer that was passed to the callout. + * + */ + + typedef void (DNSSD_API *DNSServiceRegisterRecordReply) + ( + DNSServiceRef sdRef, + DNSRecordRef RecordRef, + DNSServiceFlags flags, + DNSServiceErrorType errorCode, + void *context + ); + + +/* DNSServiceRegisterRecord() Parameters: + * + * sdRef: A DNSServiceRef initialized by DNSServiceCreateConnection(). + * + * RecordRef: A pointer to an uninitialized DNSRecordRef. Upon succesfull completion of this + * call, this ref may be passed to DNSServiceUpdateRecord() or DNSServiceRemoveRecord(). + * (To deregister ALL records registered on a single connected DNSServiceRef + * and deallocate each of their corresponding DNSServiceRecordRefs, call + * DNSServiceRefDeallocate()). + * + * flags: Possible values are kDNSServiceFlagsShared or kDNSServiceFlagsUnique + * (see flag type definitions for details). + * + * interfaceIndex: If non-zero, specifies the interface on which to register the record + * (the index for a given interface is determined via the if_nametoindex() + * family of calls.) Passing 0 causes the record to be registered on all interfaces. + * See "Constants for specifying an interface index" for more details. + * + * fullname: The full domain name of the resource record. + * + * rrtype: The numerical type of the resource record (e.g. kDNSServiceType_PTR, kDNSServiceType_SRV, etc) + * + * rrclass: The class of the resource record (usually kDNSServiceClass_IN) + * + * rdlen: Length, in bytes, of the rdata. + * + * rdata: A pointer to the raw rdata, as it is to appear in the DNS record. + * + * ttl: The time to live of the resource record, in seconds. + * Most clients should pass 0 to indicate that the system should + * select a sensible default value. + * + * callBack: The function to be called when a result is found, or if the call + * asynchronously fails (e.g. because of a name conflict.) + * + * context: An application context pointer which is passed to the callback function + * (may be NULL). + * + * return value: Returns kDNSServiceErr_NoError on success (any subsequent, asynchronous + * errors are delivered to the callback), otherwise returns an error code indicating + * the error that occurred (the callback is never invoked and the DNSRecordRef is + * not initialized). + */ + +DNSServiceErrorType DNSSD_API DNSServiceRegisterRecord + ( + DNSServiceRef sdRef, + DNSRecordRef *RecordRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + const char *fullname, + uint16_t rrtype, + uint16_t rrclass, + uint16_t rdlen, + const void *rdata, + uint32_t ttl, + DNSServiceRegisterRecordReply callBack, + void *context /* may be NULL */ + ); + + +/* DNSServiceReconfirmRecord + * + * Instruct the daemon to verify the validity of a resource record that appears + * to be out of date (e.g. because TCP connection to a service's target failed.) + * Causes the record to be flushed from the daemon's cache (as well as all other + * daemons' caches on the network) if the record is determined to be invalid. + * Use this routine conservatively. Reconfirming a record necessarily consumes + * network bandwidth, so this should not be done indiscriminately. + * + * Parameters: + * + * flags: Pass kDNSServiceFlagsForce to force immediate deletion of record, + * instead of after some number of reconfirmation queries have gone unanswered. + * + * interfaceIndex: Specifies the interface of the record in question. + * The caller must specify the interface. + * This API (by design) causes increased network traffic, so it requires + * the caller to be precise about which record should be reconfirmed. + * It is not possible to pass zero for the interface index to perform + * a "wildcard" reconfirmation, where *all* matching records are reconfirmed. + * + * fullname: The resource record's full domain name. + * + * rrtype: The resource record's type (e.g. kDNSServiceType_PTR, kDNSServiceType_SRV, etc) + * + * rrclass: The class of the resource record (usually kDNSServiceClass_IN). + * + * rdlen: The length, in bytes, of the resource record rdata. + * + * rdata: The raw rdata of the resource record. + * + */ + +DNSServiceErrorType DNSSD_API DNSServiceReconfirmRecord + ( + DNSServiceFlags flags, + uint32_t interfaceIndex, + const char *fullname, + uint16_t rrtype, + uint16_t rrclass, + uint16_t rdlen, + const void *rdata + ); + + +/********************************************************************************************* + * + * NAT Port Mapping + * + *********************************************************************************************/ + +/* DNSServiceNATPortMappingCreate + * + * Request a port mapping in the NAT gateway, which maps a port on the local machine + * to an external port on the NAT. The NAT should support either the NAT-PMP or the UPnP IGD + * protocol for this API to create a successful mapping. + * + * The port mapping will be renewed indefinitely until the client process exits, or + * explicitly terminates the port mapping request by calling DNSServiceRefDeallocate(). + * The client callback will be invoked, informing the client of the NAT gateway's + * external IP address and the external port that has been allocated for this client. + * The client should then record this external IP address and port using whatever + * directory service mechanism it is using to enable peers to connect to it. + * (Clients advertising services using Wide-Area DNS-SD DO NOT need to use this API + * -- when a client calls DNSServiceRegister() NAT mappings are automatically created + * and the external IP address and port for the service are recorded in the global DNS. + * Only clients using some directory mechanism other than Wide-Area DNS-SD need to use + * this API to explicitly map their own ports.) + * + * It's possible that the client callback could be called multiple times, for example + * if the NAT gateway's IP address changes, or if a configuration change results in a + * different external port being mapped for this client. Over the lifetime of any long-lived + * port mapping, the client should be prepared to handle these notifications of changes + * in the environment, and should update its recorded address and/or port as appropriate. + * + * NOTE: There are two unusual aspects of how the DNSServiceNATPortMappingCreate API works, + * which were intentionally designed to help simplify client code: + * + * 1. It's not an error to request a NAT mapping when the machine is not behind a NAT gateway. + * In other NAT mapping APIs, if you request a NAT mapping and the machine is not behind a NAT + * gateway, then the API returns an error code -- it can't get you a NAT mapping if there's no + * NAT gateway. The DNSServiceNATPortMappingCreate API takes a different view. Working out + * whether or not you need a NAT mapping can be tricky and non-obvious, particularly on + * a machine with multiple active network interfaces. Rather than make every client recreate + * this logic for deciding whether a NAT mapping is required, the PortMapping API does that + * work for you. If the client calls the PortMapping API when the machine already has a + * routable public IP address, then instead of complaining about it and giving an error, + * the PortMapping API just invokes your callback, giving the machine's public address + * and your own port number. This means you don't need to write code to work out whether + * your client needs to call the PortMapping API -- just call it anyway, and if it wasn't + * necessary, no harm is done: + * + * - If the machine already has a routable public IP address, then your callback + * will just be invoked giving your own address and port. + * - If a NAT mapping is required and obtained, then your callback will be invoked + * giving you the external address and port. + * - If a NAT mapping is required but not obtained from the local NAT gateway, + * or the machine has no network connectivity, then your callback will be + * invoked giving zero address and port. + * + * 2. In other NAT mapping APIs, if a laptop computer is put to sleep and woken up on a new + * network, it's the client's job to notice this, and work out whether a NAT mapping + * is required on the new network, and make a new NAT mapping request if necessary. + * The DNSServiceNATPortMappingCreate API does this for you, automatically. + * The client just needs to make one call to the PortMapping API, and its callback will + * be invoked any time the mapping state changes. This property complements point (1) above. + * If the client didn't make a NAT mapping request just because it determined that one was + * not required at that particular moment in time, the client would then have to monitor + * for network state changes to determine if a NAT port mapping later became necessary. + * By unconditionally making a NAT mapping request, even when a NAT mapping not to be + * necessary, the PortMapping API will then begin monitoring network state changes on behalf of + * the client, and if a NAT mapping later becomes necessary, it will automatically create a NAT + * mapping and inform the client with a new callback giving the new address and port information. + * + * DNSServiceNATPortMappingReply() parameters: + * + * sdRef: The DNSServiceRef initialized by DNSServiceNATPortMappingCreate(). + * + * flags: Currently unused, reserved for future use. + * + * interfaceIndex: The interface through which the NAT gateway is reached. + * + * errorCode: Will be kDNSServiceErr_NoError on success. + * Will be kDNSServiceErr_DoubleNAT when the NAT gateway is itself behind one or + * more layers of NAT, in which case the other parameters have the defined values. + * For other failures, will indicate the failure that occurred, and the other + * parameters are undefined. + * + * externalAddress: Four byte IPv4 address in network byte order. + * + * protocol: Will be kDNSServiceProtocol_UDP or kDNSServiceProtocol_TCP or both. + * + * internalPort: The port on the local machine that was mapped. + * + * externalPort: The actual external port in the NAT gateway that was mapped. + * This is likely to be different than the requested external port. + * + * ttl: The lifetime of the NAT port mapping created on the gateway. + * This controls how quickly stale mappings will be garbage-collected + * if the client machine crashes, suffers a power failure, is disconnected + * from the network, or suffers some other unfortunate demise which + * causes it to vanish without explicitly removing its NAT port mapping. + * It's possible that the ttl value will differ from the requested ttl value. + * + * context: The context pointer that was passed to the callout. + * + */ + +typedef void (DNSSD_API *DNSServiceNATPortMappingReply) + ( + DNSServiceRef sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + DNSServiceErrorType errorCode, + uint32_t externalAddress, /* four byte IPv4 address in network byte order */ + DNSServiceProtocol protocol, + uint16_t internalPort, /* In network byte order */ + uint16_t externalPort, /* In network byte order and may be different than the requested port */ + uint32_t ttl, /* may be different than the requested ttl */ + void *context + ); + + +/* DNSServiceNATPortMappingCreate() Parameters: + * + * sdRef: A pointer to an uninitialized DNSServiceRef. If the call succeeds then it + * initializes the DNSServiceRef, returns kDNSServiceErr_NoError, and the nat + * port mapping will last indefinitely until the client terminates the port + * mapping request by passing this DNSServiceRef to DNSServiceRefDeallocate(). + * + * flags: Currently ignored, reserved for future use. + * + * interfaceIndex: The interface on which to create port mappings in a NAT gateway. Passing 0 causes + * the port mapping request to be sent on the primary interface. + * + * protocol: To request a port mapping, pass in kDNSServiceProtocol_UDP, or kDNSServiceProtocol_TCP, + * or (kDNSServiceProtocol_UDP | kDNSServiceProtocol_TCP) to map both. + * The local listening port number must also be specified in the internalPort parameter. + * To just discover the NAT gateway's external IP address, pass zero for protocol, + * internalPort, externalPort and ttl. + * + * internalPort: The port number in network byte order on the local machine which is listening for packets. + * + * externalPort: The requested external port in network byte order in the NAT gateway that you would + * like to map to the internal port. Pass 0 if you don't care which external port is chosen for you. + * + * ttl: The requested renewal period of the NAT port mapping, in seconds. + * If the client machine crashes, suffers a power failure, is disconnected from + * the network, or suffers some other unfortunate demise which causes it to vanish + * unexpectedly without explicitly removing its NAT port mappings, then the NAT gateway + * will garbage-collect old stale NAT port mappings when their lifetime expires. + * Requesting a short TTL causes such orphaned mappings to be garbage-collected + * more promptly, but consumes system resources and network bandwidth with + * frequent renewal packets to keep the mapping from expiring. + * Requesting a long TTL is more efficient on the network, but in the event of the + * client vanishing, stale NAT port mappings will not be garbage-collected as quickly. + * Most clients should pass 0 to use a system-wide default value. + * + * callBack: The function to be called when the port mapping request succeeds or fails asynchronously. + * + * context: An application context pointer which is passed to the callback function + * (may be NULL). + * + * return value: Returns kDNSServiceErr_NoError on success (any subsequent, asynchronous + * errors are delivered to the callback), otherwise returns an error code indicating + * the error that occurred. + * + * If you don't actually want a port mapped, and are just calling the API + * because you want to find out the NAT's external IP address (e.g. for UI + * display) then pass zero for protocol, internalPort, externalPort and ttl. + */ + +DNSServiceErrorType DNSSD_API DNSServiceNATPortMappingCreate + ( + DNSServiceRef *sdRef, + DNSServiceFlags flags, + uint32_t interfaceIndex, + DNSServiceProtocol protocol, /* TCP and/or UDP */ + uint16_t internalPort, /* network byte order */ + uint16_t externalPort, /* network byte order */ + uint32_t ttl, /* time to live in seconds */ + DNSServiceNATPortMappingReply callBack, + void *context /* may be NULL */ + ); + + +/********************************************************************************************* + * + * General Utility Functions + * + *********************************************************************************************/ + +/* DNSServiceConstructFullName() + * + * Concatenate a three-part domain name (as returned by the above callbacks) into a + * properly-escaped full domain name. Note that callbacks in the above functions ALREADY ESCAPE + * strings where necessary. + * + * Parameters: + * + * fullName: A pointer to a buffer that where the resulting full domain name is to be written. + * The buffer must be kDNSServiceMaxDomainName (1009) bytes in length to + * accommodate the longest legal domain name without buffer overrun. + * + * service: The service name - any dots or backslashes must NOT be escaped. + * May be NULL (to construct a PTR record name, e.g. + * "_ftp._tcp.apple.com."). + * + * regtype: The service type followed by the protocol, separated by a dot + * (e.g. "_ftp._tcp"). + * + * domain: The domain name, e.g. "apple.com.". Literal dots or backslashes, + * if any, must be escaped, e.g. "1st\. Floor.apple.com." + * + * return value: Returns kDNSServiceErr_NoError (0) on success, kDNSServiceErr_BadParam on error. + * + */ + +DNSServiceErrorType DNSSD_API DNSServiceConstructFullName + ( + char * const fullName, + const char * const service, /* may be NULL */ + const char * const regtype, + const char * const domain + ); + + +/********************************************************************************************* + * + * TXT Record Construction Functions + * + *********************************************************************************************/ + +/* + * A typical calling sequence for TXT record construction is something like: + * + * Client allocates storage for TXTRecord data (e.g. declare buffer on the stack) + * TXTRecordCreate(); + * TXTRecordSetValue(); + * TXTRecordSetValue(); + * TXTRecordSetValue(); + * ... + * DNSServiceRegister( ... TXTRecordGetLength(), TXTRecordGetBytesPtr() ... ); + * TXTRecordDeallocate(); + * Explicitly deallocate storage for TXTRecord data (if not allocated on the stack) + */ + + +/* TXTRecordRef + * + * Opaque internal data type. + * Note: Represents a DNS-SD TXT record. + */ + +typedef union _TXTRecordRef_t { char PrivateData[16]; char *ForceNaturalAlignment; } TXTRecordRef; + + +/* TXTRecordCreate() + * + * Creates a new empty TXTRecordRef referencing the specified storage. + * + * If the buffer parameter is NULL, or the specified storage size is not + * large enough to hold a key subsequently added using TXTRecordSetValue(), + * then additional memory will be added as needed using malloc(). + * + * On some platforms, when memory is low, malloc() may fail. In this + * case, TXTRecordSetValue() will return kDNSServiceErr_NoMemory, and this + * error condition will need to be handled as appropriate by the caller. + * + * You can avoid the need to handle this error condition if you ensure + * that the storage you initially provide is large enough to hold all + * the key/value pairs that are to be added to the record. + * The caller can precompute the exact length required for all of the + * key/value pairs to be added, or simply provide a fixed-sized buffer + * known in advance to be large enough. + * A no-value (key-only) key requires (1 + key length) bytes. + * A key with empty value requires (1 + key length + 1) bytes. + * A key with non-empty value requires (1 + key length + 1 + value length). + * For most applications, DNS-SD TXT records are generally + * less than 100 bytes, so in most cases a simple fixed-sized + * 256-byte buffer will be more than sufficient. + * Recommended size limits for DNS-SD TXT Records are discussed in + * + * + * Note: When passing parameters to and from these TXT record APIs, + * the key name does not include the '=' character. The '=' character + * is the separator between the key and value in the on-the-wire + * packet format; it is not part of either the key or the value. + * + * txtRecord: A pointer to an uninitialized TXTRecordRef. + * + * bufferLen: The size of the storage provided in the "buffer" parameter. + * + * buffer: Optional caller-supplied storage used to hold the TXTRecord data. + * This storage must remain valid for as long as + * the TXTRecordRef. + */ + +void DNSSD_API TXTRecordCreate + ( + TXTRecordRef *txtRecord, + uint16_t bufferLen, + void *buffer + ); + + +/* TXTRecordDeallocate() + * + * Releases any resources allocated in the course of preparing a TXT Record + * using TXTRecordCreate()/TXTRecordSetValue()/TXTRecordRemoveValue(). + * Ownership of the buffer provided in TXTRecordCreate() returns to the client. + * + * txtRecord: A TXTRecordRef initialized by calling TXTRecordCreate(). + * + */ + +void DNSSD_API TXTRecordDeallocate + ( + TXTRecordRef *txtRecord + ); + + +/* TXTRecordSetValue() + * + * Adds a key (optionally with value) to a TXTRecordRef. If the "key" already + * exists in the TXTRecordRef, then the current value will be replaced with + * the new value. + * Keys may exist in four states with respect to a given TXT record: + * - Absent (key does not appear at all) + * - Present with no value ("key" appears alone) + * - Present with empty value ("key=" appears in TXT record) + * - Present with non-empty value ("key=value" appears in TXT record) + * For more details refer to "Data Syntax for DNS-SD TXT Records" in + * + * + * txtRecord: A TXTRecordRef initialized by calling TXTRecordCreate(). + * + * key: A null-terminated string which only contains printable ASCII + * values (0x20-0x7E), excluding '=' (0x3D). Keys should be + * 9 characters or fewer (not counting the terminating null). + * + * valueSize: The size of the value. + * + * value: Any binary value. For values that represent + * textual data, UTF-8 is STRONGLY recommended. + * For values that represent textual data, valueSize + * should NOT include the terminating null (if any) + * at the end of the string. + * If NULL, then "key" will be added with no value. + * If non-NULL but valueSize is zero, then "key=" will be + * added with empty value. + * + * return value: Returns kDNSServiceErr_NoError on success. + * Returns kDNSServiceErr_Invalid if the "key" string contains + * illegal characters. + * Returns kDNSServiceErr_NoMemory if adding this key would + * exceed the available storage. + */ + +DNSServiceErrorType DNSSD_API TXTRecordSetValue + ( + TXTRecordRef *txtRecord, + const char *key, + uint8_t valueSize, /* may be zero */ + const void *value /* may be NULL */ + ); + + +/* TXTRecordRemoveValue() + * + * Removes a key from a TXTRecordRef. The "key" must be an + * ASCII string which exists in the TXTRecordRef. + * + * txtRecord: A TXTRecordRef initialized by calling TXTRecordCreate(). + * + * key: A key name which exists in the TXTRecordRef. + * + * return value: Returns kDNSServiceErr_NoError on success. + * Returns kDNSServiceErr_NoSuchKey if the "key" does not + * exist in the TXTRecordRef. + */ + +DNSServiceErrorType DNSSD_API TXTRecordRemoveValue + ( + TXTRecordRef *txtRecord, + const char *key + ); + + +/* TXTRecordGetLength() + * + * Allows you to determine the length of the raw bytes within a TXTRecordRef. + * + * txtRecord: A TXTRecordRef initialized by calling TXTRecordCreate(). + * + * return value: Returns the size of the raw bytes inside a TXTRecordRef + * which you can pass directly to DNSServiceRegister() or + * to DNSServiceUpdateRecord(). + * Returns 0 if the TXTRecordRef is empty. + */ + +uint16_t DNSSD_API TXTRecordGetLength + ( + const TXTRecordRef *txtRecord + ); + + +/* TXTRecordGetBytesPtr() + * + * Allows you to retrieve a pointer to the raw bytes within a TXTRecordRef. + * + * txtRecord: A TXTRecordRef initialized by calling TXTRecordCreate(). + * + * return value: Returns a pointer to the raw bytes inside the TXTRecordRef + * which you can pass directly to DNSServiceRegister() or + * to DNSServiceUpdateRecord(). + */ + +const void * DNSSD_API TXTRecordGetBytesPtr + ( + const TXTRecordRef *txtRecord + ); + + +/********************************************************************************************* + * + * TXT Record Parsing Functions + * + *********************************************************************************************/ + +/* + * A typical calling sequence for TXT record parsing is something like: + * + * Receive TXT record data in DNSServiceResolve() callback + * if (TXTRecordContainsKey(txtLen, txtRecord, "key")) then do something + * val1ptr = TXTRecordGetValuePtr(txtLen, txtRecord, "key1", &len1); + * val2ptr = TXTRecordGetValuePtr(txtLen, txtRecord, "key2", &len2); + * ... + * memcpy(myval1, val1ptr, len1); + * memcpy(myval2, val2ptr, len2); + * ... + * return; + * + * If you wish to retain the values after return from the DNSServiceResolve() + * callback, then you need to copy the data to your own storage using memcpy() + * or similar, as shown in the example above. + * + * If for some reason you need to parse a TXT record you built yourself + * using the TXT record construction functions above, then you can do + * that using TXTRecordGetLength and TXTRecordGetBytesPtr calls: + * TXTRecordGetValue(TXTRecordGetLength(x), TXTRecordGetBytesPtr(x), key, &len); + * + * Most applications only fetch keys they know about from a TXT record and + * ignore the rest. + * However, some debugging tools wish to fetch and display all keys. + * To do that, use the TXTRecordGetCount() and TXTRecordGetItemAtIndex() calls. + */ + +/* TXTRecordContainsKey() + * + * Allows you to determine if a given TXT Record contains a specified key. + * + * txtLen: The size of the received TXT Record. + * + * txtRecord: Pointer to the received TXT Record bytes. + * + * key: A null-terminated ASCII string containing the key name. + * + * return value: Returns 1 if the TXT Record contains the specified key. + * Otherwise, it returns 0. + */ + +int DNSSD_API TXTRecordContainsKey + ( + uint16_t txtLen, + const void *txtRecord, + const char *key + ); + + +/* TXTRecordGetValuePtr() + * + * Allows you to retrieve the value for a given key from a TXT Record. + * + * txtLen: The size of the received TXT Record + * + * txtRecord: Pointer to the received TXT Record bytes. + * + * key: A null-terminated ASCII string containing the key name. + * + * valueLen: On output, will be set to the size of the "value" data. + * + * return value: Returns NULL if the key does not exist in this TXT record, + * or exists with no value (to differentiate between + * these two cases use TXTRecordContainsKey()). + * Returns pointer to location within TXT Record bytes + * if the key exists with empty or non-empty value. + * For empty value, valueLen will be zero. + * For non-empty value, valueLen will be length of value data. + */ + +const void * DNSSD_API TXTRecordGetValuePtr + ( + uint16_t txtLen, + const void *txtRecord, + const char *key, + uint8_t *valueLen + ); + + +/* TXTRecordGetCount() + * + * Returns the number of keys stored in the TXT Record. The count + * can be used with TXTRecordGetItemAtIndex() to iterate through the keys. + * + * txtLen: The size of the received TXT Record. + * + * txtRecord: Pointer to the received TXT Record bytes. + * + * return value: Returns the total number of keys in the TXT Record. + * + */ + +uint16_t DNSSD_API TXTRecordGetCount + ( + uint16_t txtLen, + const void *txtRecord + ); + + +/* TXTRecordGetItemAtIndex() + * + * Allows you to retrieve a key name and value pointer, given an index into + * a TXT Record. Legal index values range from zero to TXTRecordGetCount()-1. + * It's also possible to iterate through keys in a TXT record by simply + * calling TXTRecordGetItemAtIndex() repeatedly, beginning with index zero + * and increasing until TXTRecordGetItemAtIndex() returns kDNSServiceErr_Invalid. + * + * On return: + * For keys with no value, *value is set to NULL and *valueLen is zero. + * For keys with empty value, *value is non-NULL and *valueLen is zero. + * For keys with non-empty value, *value is non-NULL and *valueLen is non-zero. + * + * txtLen: The size of the received TXT Record. + * + * txtRecord: Pointer to the received TXT Record bytes. + * + * itemIndex: An index into the TXT Record. + * + * keyBufLen: The size of the string buffer being supplied. + * + * key: A string buffer used to store the key name. + * On return, the buffer contains a null-terminated C string + * giving the key name. DNS-SD TXT keys are usually + * 9 characters or fewer. To hold the maximum possible + * key name, the buffer should be 256 bytes long. + * + * valueLen: On output, will be set to the size of the "value" data. + * + * value: On output, *value is set to point to location within TXT + * Record bytes that holds the value data. + * + * return value: Returns kDNSServiceErr_NoError on success. + * Returns kDNSServiceErr_NoMemory if keyBufLen is too short. + * Returns kDNSServiceErr_Invalid if index is greater than + * TXTRecordGetCount()-1. + */ + +DNSServiceErrorType DNSSD_API TXTRecordGetItemAtIndex + ( + uint16_t txtLen, + const void *txtRecord, + uint16_t itemIndex, + uint16_t keyBufLen, + char *key, + uint8_t *valueLen, + const void **value + ); + +#if _DNS_SD_LIBDISPATCH +/* +* DNSServiceSetDispatchQueue +* +* Allows you to schedule a DNSServiceRef on a serial dispatch queue for receiving asynchronous +* callbacks. It's the clients responsibility to ensure that the provided dispatch queue is running. +* +* A typical application that uses CFRunLoopRun or dispatch_main on its main thread will +* usually schedule DNSServiceRefs on its main queue (which is always a serial queue) +* using "DNSServiceSetDispatchQueue(sdref, dispatch_get_main_queue());" +* +* If there is any error during the processing of events, the application callback will +* be called with an error code. For shared connections, each subordinate DNSServiceRef +* will get its own error callback. Currently these error callbacks only happen +* if the mDNSResponder daemon is manually terminated or crashes, and the error +* code in this case is kDNSServiceErr_ServiceNotRunning. The application must call +* DNSServiceRefDeallocate to free the DNSServiceRef when it gets such an error code. +* These error callbacks are rare and should not normally happen on customer machines, +* but application code should be written defensively to handle such error callbacks +* gracefully if they occur. +* +* After using DNSServiceSetDispatchQueue on a DNSServiceRef, calling DNSServiceProcessResult +* on the same DNSServiceRef will result in undefined behavior and should be avoided. +* +* Once the application successfully schedules a DNSServiceRef on a serial dispatch queue using +* DNSServiceSetDispatchQueue, it cannot remove the DNSServiceRef from the dispatch queue, or use +* DNSServiceSetDispatchQueue a second time to schedule the DNSServiceRef onto a different serial dispatch +* queue. Once scheduled onto a dispatch queue a DNSServiceRef will deliver events to that queue until +* the application no longer requires that operation and terminates it using DNSServiceRefDeallocate. +* +* service: DNSServiceRef that was allocated and returned to the application, when the +* application calls one of the DNSService API. +* +* queue: dispatch queue where the application callback will be scheduled +* +* return value: Returns kDNSServiceErr_NoError on success. +* Returns kDNSServiceErr_NoMemory if it cannot create a dispatch source +* Returns kDNSServiceErr_BadParam if the service param is invalid or the +* queue param is invalid +*/ + +DNSServiceErrorType DNSSD_API DNSServiceSetDispatchQueue + ( + DNSServiceRef service, + dispatch_queue_t queue + ); +#endif //_DNS_SD_LIBDISPATCH + +#ifdef __APPLE_API_PRIVATE + +#define kDNSServiceCompPrivateDNS "PrivateDNS" +#define kDNSServiceCompMulticastDNS "MulticastDNS" + +#endif //__APPLE_API_PRIVATE + +/* Some C compiler cleverness. We can make the compiler check certain things for us, + * and report errors at compile-time if anything is wrong. The usual way to do this would + * be to use a run-time "if" statement or the conventional run-time "assert" mechanism, but + * then you don't find out what's wrong until you run the software. This way, if the assertion + * condition is false, the array size is negative, and the complier complains immediately. + */ + +struct CompileTimeAssertionChecks_DNS_SD + { + char assert0[(sizeof(union _TXTRecordRef_t) == 16) ? 1 : -1]; + }; + +#ifdef __cplusplus + } +#endif + +#endif /* _DNS_SD_H */ diff --git a/vcnet/dnssdstub.vcxproj b/vcnet/dnssdstub.vcxproj new file mode 100644 index 0000000..2ea87cc --- /dev/null +++ b/vcnet/dnssdstub.vcxproj @@ -0,0 +1,101 @@ + + + + + Debug + x64 + + + Release + x64 + + + + + + + + + + 15.0 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} + Win32Proj + dnssdstub + 10.0.17763.0 + + + + StaticLibrary + true + v141 + Unicode + + + StaticLibrary + false + v141 + true + Unicode + + + + + + + + + + + + + + + true + $(Platform)/$(Configuration)/ + $(Platform)/$(Configuration)/$(ProjectName)/ + + + false + $(Platform)/$(Configuration)/ + $(Platform)/$(Configuration)/$(ProjectName)/ + + + + NotUsing + Level3 + Disabled + true + _DEBUG;_LIB;%(PreprocessorDefinitions) + true + + ..\vcnet;..;%(AdditionalIncludeDirectories) + + + Windows + true + + + + + NotUsing + Level3 + MaxSpeed + true + true + true + NDEBUG;_LIB;%(PreprocessorDefinitions) + true + + ..\vcnet;..;%(AdditionalIncludeDirectories) + + + Windows + true + true + true + + + + + + \ No newline at end of file diff --git a/vcnet/dnssdstub.vcxproj.filters b/vcnet/dnssdstub.vcxproj.filters new file mode 100644 index 0000000..1bbb2f0 --- /dev/null +++ b/vcnet/dnssdstub.vcxproj.filters @@ -0,0 +1,27 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + + + Header Files + + + \ No newline at end of file diff --git a/vcnet/dnssdstub.vcxproj.user b/vcnet/dnssdstub.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/dnssdstub.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/ippeveprinter.vcxproj b/vcnet/ippeveprinter.vcxproj new file mode 100644 index 0000000..483c724 --- /dev/null +++ b/vcnet/ippeveprinter.vcxproj @@ -0,0 +1,116 @@ + + + + + Debug + x64 + + + Release + x64 + + + + {82A03BC7-0746-4B85-8908-3C7A3FAA58A9} + ippeveprinter + Win32Proj + 10.0.17763.0 + + + + Application + v141 + Unicode + true + + + Application + v141 + Unicode + + + + + + + + + + + + + <_ProjectFileVersion>12.0.30501.0 + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + true + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + false + + + + X64 + + + Disabled + ..\vcnet;..;..\vcnet\regex;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level1 + ProgramDatabase + + + ws2_32.lib;%(AdditionalDependencies) + true + Console + false + + MachineX64 + + + + + X64 + + + ..\vcnet;..;..\vcnet\regex;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + MultiThreadedDLL + + Level1 + ProgramDatabase + + + ws2_32.lib;%(AdditionalDependencies) + true + Console + true + true + false + + MachineX64 + + + + + + + + {c0899b3a-43e7-4bc3-a785-659e1fd2ea83} + + + {cb4aa6f2-3e84-45be-b505-95cd375e8be3} + false + + + + + + \ No newline at end of file diff --git a/vcnet/ippeveprinter.vcxproj.filters b/vcnet/ippeveprinter.vcxproj.filters new file mode 100644 index 0000000..270c788 --- /dev/null +++ b/vcnet/ippeveprinter.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {5129820B-88C2-40AE-BE81-C7957F76540D} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {CAF4FFBF-7D66-4368-A03A-3FD0971B59A0} + h;hpp;hxx;hm;inl;inc;xsd + + + {17D3B9CD-53D2-47AF-9D2A-4516D777D695} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + \ No newline at end of file diff --git a/vcnet/ippeveprinter.vcxproj.user b/vcnet/ippeveprinter.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/ippeveprinter.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/ippfind.vcxproj b/vcnet/ippfind.vcxproj new file mode 100644 index 0000000..ab63cab --- /dev/null +++ b/vcnet/ippfind.vcxproj @@ -0,0 +1,120 @@ + + + + + Debug + x64 + + + Release + x64 + + + + {B484DA0C-62C8-4C32-83B6-CCEB58968B85} + ippfind + Win32Proj + 10.0.17763.0 + + + + Application + v141 + Unicode + true + + + Application + v141 + Unicode + + + + + + + + + + + + + <_ProjectFileVersion>12.0.30501.0 + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + true + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + false + + + + X64 + + + Disabled + ..\vcnet;..;..\vcnet\regex;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level1 + ProgramDatabase + + + ws2_32.lib;%(AdditionalDependencies) + true + Console + false + + MachineX64 + + + + + X64 + + + ..\vcnet;..;..\vcnet\regex;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + MultiThreadedDLL + + Level1 + ProgramDatabase + + + ws2_32.lib;%(AdditionalDependencies) + true + Console + true + true + false + + MachineX64 + + + + + + + + {c0899b3a-43e7-4bc3-a785-659e1fd2ea83} + + + {cb4aa6f2-3e84-45be-b505-95cd375e8be3} + false + + + {18950a1b-d37a-40c7-b2df-c12986c0526e} + false + + + + + + \ No newline at end of file diff --git a/vcnet/ippfind.vcxproj.filters b/vcnet/ippfind.vcxproj.filters new file mode 100644 index 0000000..b3fcae0 --- /dev/null +++ b/vcnet/ippfind.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {8C1A7322-AFBD-4611-A001-CF18E3B0F00C} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {5807291C-0541-4D9C-9290-628F88CF9119} + h;hpp;hxx;hm;inl;inc;xsd + + + {7767CEF5-1BED-4C4C-82A7-37DF77126FE3} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + \ No newline at end of file diff --git a/vcnet/ippfind.vcxproj.user b/vcnet/ippfind.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/ippfind.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/ipptool.vcxproj b/vcnet/ipptool.vcxproj new file mode 100644 index 0000000..71f28c5 --- /dev/null +++ b/vcnet/ipptool.vcxproj @@ -0,0 +1,115 @@ + + + + + Debug + x64 + + + Release + x64 + + + + {B246D91E-61F2-4433-BFD2-6C2A96FBD4D4} + ipptool + Win32Proj + 10.0.17763.0 + + + + Application + v141 + Unicode + true + + + Application + v141 + Unicode + + + + + + + + + + + + + <_ProjectFileVersion>12.0.30501.0 + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + true + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + false + + + + X64 + + + Disabled + ..\vcnet;..;..\vcnet\regex;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level1 + ProgramDatabase + + + true + Console + false + + MachineX64 + + + + + X64 + + + ..\vcnet;..;..\vcnet\regex;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + MultiThreadedDLL + + Level1 + ProgramDatabase + + + true + Console + true + true + false + + MachineX64 + + + + + + + + {cb4aa6f2-3e84-45be-b505-95cd375e8be3} + false + + + {18950a1b-d37a-40c7-b2df-c12986c0526e} + false + + + + + + \ No newline at end of file diff --git a/vcnet/ipptool.vcxproj.filters b/vcnet/ipptool.vcxproj.filters new file mode 100644 index 0000000..e32f30f --- /dev/null +++ b/vcnet/ipptool.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + \ No newline at end of file diff --git a/vcnet/ipptool.vcxproj.user b/vcnet/ipptool.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/ipptool.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/libcups2.vcxproj b/vcnet/libcups2.vcxproj new file mode 100644 index 0000000..d09266b --- /dev/null +++ b/vcnet/libcups2.vcxproj @@ -0,0 +1,302 @@ + + + + + Debug + x64 + + + Release + x64 + + + + {CB4AA6F2-3E84-45BE-B505-95CD375E8BE3} + libcups2 + Win32Proj + 10.0.17763.0 + + + + DynamicLibrary + v141 + MultiByte + + + DynamicLibrary + v141 + Unicode + + + + + + + + + + + + + + + <_ProjectFileVersion>12.0.30501.0 + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + true + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + false + + + + X64 + + + Disabled + ..\vcnet;..;..\vcnet\regex;%(AdditionalIncludeDirectories) + DEBUG;_DEBUG;_WINDOWS;_USRDLL;LIBCUPS2_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + true + + Level3 + ProgramDatabase + + + ws2_32.lib;advapi32.lib;%(AdditionalDependencies) + $(OutDir)libcups2.dll + ..\cups\libcups2.def + true + $(Platform)\$(Configuration)\libcups2.pdb + Windows + $(OutDir)libcups2.lib + MachineX64 + + + + + X64 + + + MinSpace + ..\vcnet;..;..\vcnet\regex;%(AdditionalIncludeDirectories) + DEBUG;NDEBUG;_WINDOWS;_USRDLL;LIBCUPS2_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + + Level3 + ProgramDatabase + + + ws2_32.lib;advapi32.lib;%(AdditionalDependencies) + $(OutDir)libcups2.dll + ..\cups\libcups2.def + true + $(Platform)\$(Configuration)\libcups2.pdb + Windows + true + true + $(OutDir)libcups2.lib + MachineX64 + + + if not "%25RC_XBS%25" == "YES" goto END +if not exist "$(DSTROOT)\Program Files\Bonjour\$(Platform)" mkdir "$(DSTROOT)\Program Files\Bonjour\$(Platform)" +xcopy /I/Y "$(TargetPath)" "$(DSTROOT)\Program Files\Bonjour\$(Platform)" +:END + + + + + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + + + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + + + + + + + + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + + + + + + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + WIN32;%(PreprocessorDefinitions) + WIN32;%(PreprocessorDefinitions) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {c0899b3a-43e7-4bc3-a785-659e1fd2ea83} + + + {18950a1b-d37a-40c7-b2df-c12986c0526e} + false + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + \ No newline at end of file diff --git a/vcnet/libcups2.vcxproj.filters b/vcnet/libcups2.vcxproj.filters new file mode 100644 index 0000000..348b721 --- /dev/null +++ b/vcnet/libcups2.vcxproj.filters @@ -0,0 +1,273 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Source Files + + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + \ No newline at end of file diff --git a/vcnet/libcups2.vcxproj.user b/vcnet/libcups2.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/libcups2.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/packages.config b/vcnet/packages.config new file mode 100644 index 0000000..17b6de8 --- /dev/null +++ b/vcnet/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/regex.vcxproj b/vcnet/regex.vcxproj new file mode 100644 index 0000000..41b7b60 --- /dev/null +++ b/vcnet/regex.vcxproj @@ -0,0 +1,117 @@ + + + + + Debug + x64 + + + Release + x64 + + + + {18950A1B-D37A-40C7-B2DF-C12986C0526E} + regex + Win32Proj + 10.0.17763.0 + + + + DynamicLibrary + v141 + Unicode + true + + + DynamicLibrary + v141 + Unicode + + + + + + + + + + + + + <_ProjectFileVersion>12.0.30501.0 + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + true + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + false + + + + X64 + + + Disabled + regex;%(AdditionalIncludeDirectories) + _CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_WINDOWS;_USRDLL;REGEX_EXPORTS;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level3 + ProgramDatabase + + + regex/regex.def + true + Windows + MachineX64 + + + + + X64 + + + MaxSpeed + true + regex;%(AdditionalIncludeDirectories) + _CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_WINDOWS;_USRDLL;REGEX_EXPORTS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + Level3 + ProgramDatabase + + + regex/regex.def + true + Windows + true + true + MachineX64 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vcnet/regex.vcxproj.filters b/vcnet/regex.vcxproj.filters new file mode 100644 index 0000000..562bdfb --- /dev/null +++ b/vcnet/regex.vcxproj.filters @@ -0,0 +1,47 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Source Files + + + + + Header Files + + + Header Files + + + \ No newline at end of file diff --git a/vcnet/regex.vcxproj.user b/vcnet/regex.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/regex.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/regex/COPYRIGHT b/vcnet/regex/COPYRIGHT new file mode 100644 index 0000000..30c1f7a --- /dev/null +++ b/vcnet/regex/COPYRIGHT @@ -0,0 +1,20 @@ +Copyright 1992, 1993, 1994, 1997 Henry Spencer. All rights reserved. +This software is not subject to any license of the American Telephone +and Telegraph Company or of the Regents of the University of California. + +Permission is granted to anyone to use this software for any purpose on +any computer system, and to alter it and redistribute it, subject +to the following restrictions: + +1. The author is not responsible for the consequences of use of this + software, no matter how awful, even if they arise from flaws in it. + +2. The origin of this software must not be misrepresented, either by + explicit claim or by omission. Since few users ever read sources, + credits must appear in the documentation. + +3. Altered versions must be plainly marked as such, and must not be + misrepresented as being the original software. Since few users + ever read sources, credits must appear in the documentation. + +4. This notice may not be removed or altered. diff --git a/vcnet/regex/Makefile b/vcnet/regex/Makefile new file mode 100644 index 0000000..3882b37 --- /dev/null +++ b/vcnet/regex/Makefile @@ -0,0 +1,130 @@ +# You probably want to take -DREDEBUG out of CFLAGS, and put something like +# -O in, *after* testing (-DREDEBUG strengthens testing by enabling a lot of +# internal assertion checking and some debugging facilities). +# Put -Dconst= in for a pre-ANSI compiler. +# Do not take -DPOSIX_MISTAKE out. +# REGCFLAGS isn't important to you (it's for my use in some special contexts). +CFLAGS=-I. -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS) + +# If you have a pre-ANSI compiler, put -o into MKHFLAGS. If you want +# the Berkeley __P macro, put -b in. +MKHFLAGS= + +# Flags for linking but not compiling, if any. +LDFLAGS= + +# Extra libraries for linking, if any. +LIBS= + +# Internal stuff, should not need changing. +OBJPRODN=regcomp.o regexec.o regerror.o regfree.o +OBJS=$(OBJPRODN) split.o debug.o main.o +H=cclass.h cname.h regex2.h utils.h +REGSRC=regcomp.c regerror.c regexec.c regfree.c +ALLSRC=$(REGSRC) engine.c debug.c main.c split.c + +# Stuff that matters only if you're trying to lint the package. +LINTFLAGS=-I. -Dstatic= -Dconst= -DREDEBUG +LINTC=regcomp.c regexec.c regerror.c regfree.c debug.c main.c +JUNKLINT=possible pointer alignment|null effect + +# arrangements to build forward-reference header files +.SUFFIXES: .ih .h +.c.ih: + sh ./mkh $(MKHFLAGS) -p $< >$@ + +default: r + +lib: purge $(OBJPRODN) + rm -f libregex.a + ar crv libregex.a $(OBJPRODN) + +purge: + rm -f *.o + +# stuff to build regex.h +REGEXH=regex.h +REGEXHSRC=regex2.h $(REGSRC) +$(REGEXH): $(REGEXHSRC) mkh + sh ./mkh $(MKHFLAGS) -i _REGEX_H_ $(REGEXHSRC) >regex.tmp + cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h + rm -f regex.tmp + +# dependencies +$(OBJPRODN) debug.o: utils.h regex.h regex2.h +regcomp.o: cclass.h cname.h regcomp.ih +regexec.o: engine.c engine.ih +regerror.o: regerror.ih +debug.o: debug.ih +main.o: main.ih + +# tester +re: $(OBJS) + $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ + +# regression test +r: re tests + ./re &1 | egrep -v '$(JUNKLINT)' | tee lint + +fullprint: + ti README WHATSNEW notes todo | list + ti *.h | list + list *.c + list regex.3 regex.7 + +print: + ti README WHATSNEW notes todo | list + ti *.h | list + list reg*.c engine.c + + +mf.tmp: Makefile + sed '/^REGEXH=/s/=.*/=regex.h/' Makefile | sed '/#DEL$$/d' >$@ + +DTRH=cclass.h cname.h regex2.h utils.h +PRE=COPYRIGHT README WHATSNEW +POST=mkh regex.3 regex.7 tests $(DTRH) $(ALLSRC) fake/*.[ch] +FILES=$(PRE) Makefile $(POST) +DTR=$(PRE) Makefile=mf.tmp $(POST) +dtr: $(FILES) mf.tmp + makedtr $(DTR) >$@ + rm mf.tmp + +cio: $(FILES) + cio $(FILES) + +rdf: $(FILES) + rcsdiff -c $(FILES) 2>&1 | p + +# various forms of cleanup +tidy: + rm -f junk* core core.* *.core dtr *.tmp lint + +clean: tidy + rm -f *.o *.s *.ih re libregex.a + +# don't do this one unless you know what you're doing +spotless: clean + rm -f mkh regex.h diff --git a/vcnet/regex/README b/vcnet/regex/README new file mode 100644 index 0000000..e6ce373 --- /dev/null +++ b/vcnet/regex/README @@ -0,0 +1,32 @@ +alpha3.8 release. +Tue Aug 10 15:51:48 EDT 1999 +henry@spsystems.net (formerly henry@zoo.toronto.edu) + +See WHATSNEW for change listing. + +installation notes: +-------- +Read the comments at the beginning of Makefile before running. + +Utils.h contains some things that just might have to be modified on +some systems, as well as a nested include (ugh) of . + +The "fake" directory contains quick-and-dirty fakes for some header +files and routines that old systems may not have. Note also that +-DUSEBCOPY will make utils.h substitute bcopy() for memmove(). + +After that, "make r" will build regcomp.o, regexec.o, regfree.o, +and regerror.o (the actual routines), bundle them together into a test +program, and run regression tests on them. No output is good output. + +"make lib" builds just the .o files for the actual routines (when +you're happy with testing and have adjusted CFLAGS for production), +and puts them together into libregex.a. You can pick up either the +library or *.o ("make lib" makes sure there are no other .o files left +around to confuse things). + +Main.c, debug.c, split.c are used for regression testing but are not part +of the RE routines themselves. + +Regex.h goes in /usr/include. All other .h files are internal only. +-------- diff --git a/vcnet/regex/WHATSNEW b/vcnet/regex/WHATSNEW new file mode 100644 index 0000000..1295343 --- /dev/null +++ b/vcnet/regex/WHATSNEW @@ -0,0 +1,108 @@ +New in alpha3.8: Bug fix for signed/unsigned mixup, found and fixed +by the FreeBSD folks. + +New in alpha3.7: A bit of cleanup aimed at maximizing portability, +possibly at slight cost in efficiency. "ul" suffixes and "unsigned long" +no longer appear, in particular. + +New in alpha3.6: A couple more portability glitches fixed. + +New in alpha3.5: Active development of this code has been stopped -- +I'm working on a complete reimplementation -- but folks have found some +minor portability glitches and the like, hence this release to fix them. +One penalty: slightly reduced compatibility with old compilers, because +the ANSI C `unsigned long' type and `ul' constant suffix are used in a +few places (I could avoid this but it would be considerably more work). + +New in alpha3.4: The complex bug alluded to below has been fixed (in a +slightly kludgey temporary way that may hurt efficiency a bit; this is +another "get it out the door for 4.4" release). The tests at the end of +the tests file have accordingly been uncommented. The primary sign of +the bug was that something like a?b matching ab matched b rather than ab. +(The bug was essentially specific to this exact situation, else it would +have shown up earlier.) + +New in alpha3.3: The definition of word boundaries has been altered +slightly, to more closely match the usual programming notion that "_" +is an alphabetic. Stuff used for pre-ANSI systems is now in a subdir, +and the makefile no longer alludes to it in mysterious ways. The +makefile has generally been cleaned up some. Fixes have been made +(again!) so that the regression test will run without -DREDEBUG, at +the cost of weaker checking. A workaround for a bug in some folks' + has been added. And some more things have been added to +tests, including a couple right at the end which are commented out +because the code currently flunks them (complex bug; fix coming). +Plus the usual minor cleanup. + +New in alpha3.2: Assorted bits of cleanup and portability improvement +(the development base is now a BSDI system using GCC instead of an ancient +Sun system, and the newer compiler exposed some glitches). Fix for a +serious bug that affected REs using many [] (including REG_ICASE REs +because of the way they are implemented), *sometimes*, depending on +memory-allocation patterns. The header-file prototypes no longer name +the parameters, avoiding possible name conflicts. The possibility that +some clot has defined CHAR_MIN as (say) `-128' instead of `(-128)' is +now handled gracefully. "uchar" is no longer used as an internal type +name (too many people have the same idea). Still the same old lousy +performance, alas. + +New in alpha3.1: Basically nothing, this release is just a bookkeeping +convenience. Stay tuned. + +New in alpha3.0: Performance is no better, alas, but some fixes have been +made and some functionality has been added. (This is basically the "get +it out the door in time for 4.4" release.) One bug fix: regfree() didn't +free the main internal structure (how embarrassing). It is now possible +to put NULs in either the RE or the target string, using (resp.) a new +REG_PEND flag and the old REG_STARTEND flag. The REG_NOSPEC flag to +regcomp() makes all characters ordinary, so you can match a literal +string easily (this will become more useful when performance improves!). +There are now primitives to match beginnings and ends of words, although +the syntax is disgusting and so is the implementation. The REG_ATOI +debugging interface has changed a bit. And there has been considerable +internal cleanup of various kinds. + +New in alpha2.3: Split change list out of README, and moved flags notes +into Makefile. Macro-ized the name of regex(7) in regex(3), since it has +to change for 4.4BSD. Cleanup work in engine.c, and some new regression +tests to catch tricky cases thereof. + +New in alpha2.2: Out-of-date manpages updated. Regerror() acquires two +small extensions -- REG_ITOA and REG_ATOI -- which avoid debugging kludges +in my own test program and might be useful to others for similar purposes. +The regression test will now compile (and run) without REDEBUG. The +BRE \$ bug is fixed. Most uses of "uchar" are gone; it's all chars now. +Char/uchar parameters are now written int/unsigned, to avoid possible +portability problems with unpromoted parameters. Some unsigned casts have +been introduced to minimize portability problems with shifting into sign +bits. + +New in alpha2.1: Lots of little stuff, cleanup and fixes. The one big +thing is that regex.h is now generated, using mkh, rather than being +supplied in the distribution; due to circularities in dependencies, +you have to build regex.h explicitly by "make h". The two known bugs +have been fixed (and the regression test now checks for them), as has a +problem with assertions not being suppressed in the absence of REDEBUG. +No performance work yet. + +New in alpha2: Backslash-anything is an ordinary character, not an +error (except, of course, for the handful of backslashed metacharacters +in BREs), which should reduce script breakage. The regression test +checks *where* null strings are supposed to match, and has generally +been tightened up somewhat. Small bug fixes in parameter passing (not +harmful, but technically errors) and some other areas. Debugging +invoked by defining REDEBUG rather than not defining NDEBUG. + +New in alpha+3: full prototyping for internal routines, using a little +helper program, mkh, which extracts prototypes given in stylized comments. +More minor cleanup. Buglet fix: it's CHAR_BIT, not CHAR_BITS. Simple +pre-screening of input when a literal string is known to be part of the +RE; this does wonders for performance. + +New in alpha+2: minor bits of cleanup. Notably, the number "32" for the +word width isn't hardwired into regexec.c any more, the public header +file prototypes the functions if __STDC__ is defined, and some small typos +in the manpages have been fixed. + +New in alpha+1: improvements to the manual pages, and an important +extension, the REG_STARTEND option to regexec(). diff --git a/vcnet/regex/cclass.h b/vcnet/regex/cclass.h new file mode 100644 index 0000000..0c29302 --- /dev/null +++ b/vcnet/regex/cclass.h @@ -0,0 +1,31 @@ +/* character-class table */ +static struct cclass { + char *name; + char *chars; + char *multis; +} cclasses[] = { + "alnum", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\ +0123456789", "", + "alpha", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", + "", + "blank", " \t", "", + "cntrl", "\007\b\t\n\v\f\r\1\2\3\4\5\6\16\17\20\21\22\23\24\ +\25\26\27\30\31\32\33\34\35\36\37\177", "", + "digit", "0123456789", "", + "graph", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\ +0123456789!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", + "", + "lower", "abcdefghijklmnopqrstuvwxyz", + "", + "print", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\ +0123456789!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~ ", + "", + "punct", "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", + "", + "space", "\t\n\v\f\r ", "", + "upper", "ABCDEFGHIJKLMNOPQRSTUVWXYZ", + "", + "xdigit", "0123456789ABCDEFabcdef", + "", + NULL, 0, "" +}; diff --git a/vcnet/regex/cname.h b/vcnet/regex/cname.h new file mode 100644 index 0000000..02e86e9 --- /dev/null +++ b/vcnet/regex/cname.h @@ -0,0 +1,102 @@ +/* character-name table */ +static struct cname { + char *name; + char code; +} cnames[] = { + "NUL", '\0', + "SOH", '\001', + "STX", '\002', + "ETX", '\003', + "EOT", '\004', + "ENQ", '\005', + "ACK", '\006', + "BEL", '\007', + "alert", '\007', + "BS", '\010', + "backspace", '\b', + "HT", '\011', + "tab", '\t', + "LF", '\012', + "newline", '\n', + "VT", '\013', + "vertical-tab", '\v', + "FF", '\014', + "form-feed", '\f', + "CR", '\015', + "carriage-return", '\r', + "SO", '\016', + "SI", '\017', + "DLE", '\020', + "DC1", '\021', + "DC2", '\022', + "DC3", '\023', + "DC4", '\024', + "NAK", '\025', + "SYN", '\026', + "ETB", '\027', + "CAN", '\030', + "EM", '\031', + "SUB", '\032', + "ESC", '\033', + "IS4", '\034', + "FS", '\034', + "IS3", '\035', + "GS", '\035', + "IS2", '\036', + "RS", '\036', + "IS1", '\037', + "US", '\037', + "space", ' ', + "exclamation-mark", '!', + "quotation-mark", '"', + "number-sign", '#', + "dollar-sign", '$', + "percent-sign", '%', + "ampersand", '&', + "apostrophe", '\'', + "left-parenthesis", '(', + "right-parenthesis", ')', + "asterisk", '*', + "plus-sign", '+', + "comma", ',', + "hyphen", '-', + "hyphen-minus", '-', + "period", '.', + "full-stop", '.', + "slash", '/', + "solidus", '/', + "zero", '0', + "one", '1', + "two", '2', + "three", '3', + "four", '4', + "five", '5', + "six", '6', + "seven", '7', + "eight", '8', + "nine", '9', + "colon", ':', + "semicolon", ';', + "less-than-sign", '<', + "equals-sign", '=', + "greater-than-sign", '>', + "question-mark", '?', + "commercial-at", '@', + "left-square-bracket", '[', + "backslash", '\\', + "reverse-solidus", '\\', + "right-square-bracket", ']', + "circumflex", '^', + "circumflex-accent", '^', + "underscore", '_', + "low-line", '_', + "grave-accent", '`', + "left-brace", '{', + "left-curly-bracket", '{', + "vertical-line", '|', + "right-brace", '}', + "right-curly-bracket", '}', + "tilde", '~', + "DEL", '\177', + NULL, 0, +}; diff --git a/vcnet/regex/debug.c b/vcnet/regex/debug.c new file mode 100644 index 0000000..99ce7da --- /dev/null +++ b/vcnet/regex/debug.c @@ -0,0 +1,242 @@ +#include +#include +#include +#include +#include +#include +#include + +#include "utils.h" +#include "regex2.h" +#include "debug.ih" + +/* + - regprint - print a regexp for debugging + == void regprint(regex_t *r, FILE *d); + */ +void +regprint(r, d) +regex_t *r; +FILE *d; +{ + register struct re_guts *g = r->re_g; + register int i; + register int c; + register int last; + int nincat[NC]; + + fprintf(d, "%ld states, %d categories", (long)g->nstates, + g->ncategories); + fprintf(d, ", first %ld last %ld", (long)g->firststate, + (long)g->laststate); + if (g->iflags&USEBOL) + fprintf(d, ", USEBOL"); + if (g->iflags&USEEOL) + fprintf(d, ", USEEOL"); + if (g->iflags&BAD) + fprintf(d, ", BAD"); + if (g->nsub > 0) + fprintf(d, ", nsub=%ld", (long)g->nsub); + if (g->must != NULL) + fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen, + g->must); + if (g->backrefs) + fprintf(d, ", backrefs"); + if (g->nplus > 0) + fprintf(d, ", nplus %ld", (long)g->nplus); + fprintf(d, "\n"); + s_print(g, d); + for (i = 0; i < g->ncategories; i++) { + nincat[i] = 0; + for (c = CHAR_MIN; c <= CHAR_MAX; c++) + if (g->categories[c] == i) + nincat[i]++; + } + fprintf(d, "cc0#%d", nincat[0]); + for (i = 1; i < g->ncategories; i++) + if (nincat[i] == 1) { + for (c = CHAR_MIN; c <= CHAR_MAX; c++) + if (g->categories[c] == i) + break; + fprintf(d, ", %d=%s", i, regchar(c)); + } + fprintf(d, "\n"); + for (i = 1; i < g->ncategories; i++) + if (nincat[i] != 1) { + fprintf(d, "cc%d\t", i); + last = -1; + for (c = CHAR_MIN; c <= CHAR_MAX+1; c++) /* +1 does flush */ + if (c <= CHAR_MAX && g->categories[c] == i) { + if (last < 0) { + fprintf(d, "%s", regchar(c)); + last = c; + } + } else { + if (last >= 0) { + if (last != c-1) + fprintf(d, "-%s", + regchar(c-1)); + last = -1; + } + } + fprintf(d, "\n"); + } +} + +/* + - s_print - print the strip for debugging + == static void s_print(register struct re_guts *g, FILE *d); + */ +static void +s_print(g, d) +register struct re_guts *g; +FILE *d; +{ + register sop *s; + register cset *cs; + register int i; + register int done = 0; + register sop opnd; + register int col = 0; + register int last; + register sopno offset = 2; +# define GAP() { if (offset % 5 == 0) { \ + if (col > 40) { \ + fprintf(d, "\n\t"); \ + col = 0; \ + } else { \ + fprintf(d, " "); \ + col++; \ + } \ + } else \ + col++; \ + offset++; \ + } + + if (OP(g->strip[0]) != OEND) + fprintf(d, "missing initial OEND!\n"); + for (s = &g->strip[1]; !done; s++) { + opnd = OPND(*s); + switch (OP(*s)) { + case OEND: + fprintf(d, "\n"); + done = 1; + break; + case OCHAR: + if (strchr("\\|()^$.[+*?{}!<> ", (char)opnd) != NULL) + fprintf(d, "\\%c", (char)opnd); + else + fprintf(d, "%s", regchar((char)opnd)); + break; + case OBOL: + fprintf(d, "^"); + break; + case OEOL: + fprintf(d, "$"); + break; + case OBOW: + fprintf(d, "\\{"); + break; + case OEOW: + fprintf(d, "\\}"); + break; + case OANY: + fprintf(d, "."); + break; + case OANYOF: + fprintf(d, "[(%ld)", (long)opnd); + cs = &g->sets[opnd]; + last = -1; + for (i = 0; i < g->csetsize+1; i++) /* +1 flushes */ + if (CHIN(cs, i) && i < g->csetsize) { + if (last < 0) { + fprintf(d, "%s", regchar(i)); + last = i; + } + } else { + if (last >= 0) { + if (last != i-1) + fprintf(d, "-%s", + regchar(i-1)); + last = -1; + } + } + fprintf(d, "]"); + break; + case OBACK_: + fprintf(d, "(\\<%ld>", (long)opnd); + break; + case O_BACK: + fprintf(d, "<%ld>\\)", (long)opnd); + break; + case OPLUS_: + fprintf(d, "(+"); + if (OP(*(s+opnd)) != O_PLUS) + fprintf(d, "<%ld>", (long)opnd); + break; + case O_PLUS: + if (OP(*(s-opnd)) != OPLUS_) + fprintf(d, "<%ld>", (long)opnd); + fprintf(d, "+)"); + break; + case OQUEST_: + fprintf(d, "(?"); + if (OP(*(s+opnd)) != O_QUEST) + fprintf(d, "<%ld>", (long)opnd); + break; + case O_QUEST: + if (OP(*(s-opnd)) != OQUEST_) + fprintf(d, "<%ld>", (long)opnd); + fprintf(d, "?)"); + break; + case OLPAREN: + fprintf(d, "((<%ld>", (long)opnd); + break; + case ORPAREN: + fprintf(d, "<%ld>))", (long)opnd); + break; + case OCH_: + fprintf(d, "<"); + if (OP(*(s+opnd)) != OOR2) + fprintf(d, "<%ld>", (long)opnd); + break; + case OOR1: + if (OP(*(s-opnd)) != OOR1 && OP(*(s-opnd)) != OCH_) + fprintf(d, "<%ld>", (long)opnd); + fprintf(d, "|"); + break; + case OOR2: + fprintf(d, "|"); + if (OP(*(s+opnd)) != OOR2 && OP(*(s+opnd)) != O_CH) + fprintf(d, "<%ld>", (long)opnd); + break; + case O_CH: + if (OP(*(s-opnd)) != OOR1) + fprintf(d, "<%ld>", (long)opnd); + fprintf(d, ">"); + break; + default: + fprintf(d, "!%d(%d)!", OP(*s), opnd); + break; + } + if (!done) + GAP(); + } +} + +/* + - regchar - make a character printable + == static char *regchar(int ch); + */ +static char * /* -> representation */ +regchar(ch) +int ch; +{ + static char buf[10]; + + if (isprint(ch) || ch == ' ') + sprintf(buf, "%c", ch); + else + sprintf(buf, "\\%o", ch); + return(buf); +} diff --git a/vcnet/regex/debug.ih b/vcnet/regex/debug.ih new file mode 100644 index 0000000..5f40ff7 --- /dev/null +++ b/vcnet/regex/debug.ih @@ -0,0 +1,14 @@ +/* ========= begin header generated by ./mkh ========= */ +#ifdef __cplusplus +extern "C" { +#endif + +/* === debug.c === */ +void regprint(regex_t *r, FILE *d); +static void s_print(register struct re_guts *g, FILE *d); +static char *regchar(int ch); + +#ifdef __cplusplus +} +#endif +/* ========= end header generated by ./mkh ========= */ diff --git a/vcnet/regex/engine.c b/vcnet/regex/engine.c new file mode 100644 index 0000000..0b88dcf --- /dev/null +++ b/vcnet/regex/engine.c @@ -0,0 +1,1019 @@ +/* + * The matching engine and friends. This file is #included by regexec.c + * after suitable #defines of a variety of macros used herein, so that + * different state representations can be used without duplicating masses + * of code. + */ + +#ifdef SNAMES +#define matcher smatcher +#define fast sfast +#define slow sslow +#define dissect sdissect +#define backref sbackref +#define step sstep +#define print sprint +#define at sat +#define match smat +#endif +#ifdef LNAMES +#define matcher lmatcher +#define fast lfast +#define slow lslow +#define dissect ldissect +#define backref lbackref +#define step lstep +#define print lprint +#define at lat +#define match lmat +#endif + +/* another structure passed up and down to avoid zillions of parameters */ +struct match { + struct re_guts *g; + int eflags; + regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ + char *offp; /* offsets work from here */ + char *beginp; /* start of string -- virtual NUL precedes */ + char *endp; /* end of string -- virtual NUL here */ + char *coldp; /* can be no match starting before here */ + char **lastpos; /* [nplus+1] */ + STATEVARS; + states st; /* current states */ + states fresh; /* states for a fresh start */ + states tmp; /* temporary */ + states empty; /* empty set of states */ +}; + +#include "engine.ih" + +#ifdef REDEBUG +#define SP(t, s, c) print(m, t, s, c, stdout) +#define AT(t, p1, p2, s1, s2) at(m, t, p1, p2, s1, s2) +#define NOTE(str) { if (m->eflags®_TRACE) printf("=%s\n", (str)); } +#else +#define SP(t, s, c) /* nothing */ +#define AT(t, p1, p2, s1, s2) /* nothing */ +#define NOTE(s) /* nothing */ +#endif + +/* + - matcher - the actual matching engine + == static int matcher(register struct re_guts *g, char *string, \ + == size_t nmatch, regmatch_t pmatch[], int eflags); + */ +static int /* 0 success, REG_NOMATCH failure */ +matcher(g, string, nmatch, pmatch, eflags) +register struct re_guts *g; +char *string; +size_t nmatch; +regmatch_t pmatch[]; +int eflags; +{ + register char *endp; + register size_t i; + struct match mv; + register struct match *m = &mv; + register char *dp; + const register sopno gf = g->firststate+1; /* +1 for OEND */ + const register sopno gl = g->laststate; + char *start; + char *stop; + + /* simplify the situation where possible */ + if (g->cflags®_NOSUB) + nmatch = 0; + if (eflags®_STARTEND) { + start = string + pmatch[0].rm_so; + stop = string + pmatch[0].rm_eo; + } else { + start = string; + stop = start + strlen(start); + } + if (stop < start) + return(REG_INVARG); + + /* prescreening; this does wonders for this rather slow code */ + if (g->must != NULL) { + for (dp = start; dp < stop; dp++) + if (*dp == g->must[0] && stop - dp >= g->mlen && + memcmp(dp, g->must, (size_t)g->mlen) == 0) + break; + if (dp == stop) /* we didn't find g->must */ + return(REG_NOMATCH); + } + + /* match struct setup */ + m->g = g; + m->eflags = eflags; + m->pmatch = NULL; + m->lastpos = NULL; + m->offp = string; + m->beginp = start; + m->endp = stop; + STATESETUP(m, 4); + SETUP(m->st); + SETUP(m->fresh); + SETUP(m->tmp); + SETUP(m->empty); + CLEAR(m->empty); + + /* this loop does only one repetition except for backrefs */ + for (;;) { + endp = fast(m, start, stop, gf, gl); + if (endp == NULL) { /* a miss */ + STATETEARDOWN(m); + return(REG_NOMATCH); + } + if (nmatch == 0 && !g->backrefs) + break; /* no further info needed */ + + /* where? */ + assert(m->coldp != NULL); + for (;;) { + NOTE("finding start"); + endp = slow(m, m->coldp, stop, gf, gl); + if (endp != NULL) + break; + assert(m->coldp < m->endp); + m->coldp++; + } + if (nmatch == 1 && !g->backrefs) + break; /* no further info needed */ + + /* oh my, he wants the subexpressions... */ + if (m->pmatch == NULL) + m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * + sizeof(regmatch_t)); + if (m->pmatch == NULL) { + STATETEARDOWN(m); + return(REG_ESPACE); + } + for (i = 1; i <= m->g->nsub; i++) + m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; + if (!g->backrefs && !(m->eflags®_BACKR)) { + NOTE("dissecting"); + dp = dissect(m, m->coldp, endp, gf, gl); + } else { + if (g->nplus > 0 && m->lastpos == NULL) + m->lastpos = (char **)malloc((g->nplus+1) * + sizeof(char *)); + if (g->nplus > 0 && m->lastpos == NULL) { + free(m->pmatch); + STATETEARDOWN(m); + return(REG_ESPACE); + } + NOTE("backref dissect"); + dp = backref(m, m->coldp, endp, gf, gl, (sopno)0); + } + if (dp != NULL) + break; + + /* uh-oh... we couldn't find a subexpression-level match */ + assert(g->backrefs); /* must be back references doing it */ + assert(g->nplus == 0 || m->lastpos != NULL); + for (;;) { + if (dp != NULL || endp <= m->coldp) + break; /* defeat */ + NOTE("backoff"); + endp = slow(m, m->coldp, endp-1, gf, gl); + if (endp == NULL) + break; /* defeat */ + /* try it on a shorter possibility */ +#ifndef NDEBUG + for (i = 1; i <= m->g->nsub; i++) { + assert(m->pmatch[i].rm_so == -1); + assert(m->pmatch[i].rm_eo == -1); + } +#endif + NOTE("backoff dissect"); + dp = backref(m, m->coldp, endp, gf, gl, (sopno)0); + } + assert(dp == NULL || dp == endp); + if (dp != NULL) /* found a shorter one */ + break; + + /* despite initial appearances, there is no match here */ + NOTE("false alarm"); + start = m->coldp + 1; /* recycle starting later */ + assert(start <= stop); + } + + /* fill in the details if requested */ + if (nmatch > 0) { + pmatch[0].rm_so = m->coldp - m->offp; + pmatch[0].rm_eo = endp - m->offp; + } + if (nmatch > 1) { + assert(m->pmatch != NULL); + for (i = 1; i < nmatch; i++) + if (i <= m->g->nsub) + pmatch[i] = m->pmatch[i]; + else { + pmatch[i].rm_so = -1; + pmatch[i].rm_eo = -1; + } + } + + if (m->pmatch != NULL) + free((char *)m->pmatch); + if (m->lastpos != NULL) + free((char *)m->lastpos); + STATETEARDOWN(m); + return(0); +} + +/* + - dissect - figure out what matched what, no back references + == static char *dissect(register struct match *m, char *start, \ + == char *stop, sopno startst, sopno stopst); + */ +static char * /* == stop (success) always */ +dissect(m, start, stop, startst, stopst) +register struct match *m; +char *start; +char *stop; +sopno startst; +sopno stopst; +{ + register int i; + register sopno ss; /* start sop of current subRE */ + register sopno es; /* end sop of current subRE */ + register char *sp; /* start of string matched by it */ + register char *stp; /* string matched by it cannot pass here */ + register char *rest; /* start of rest of string */ + register char *tail; /* string unmatched by rest of RE */ + register sopno ssub; /* start sop of subsubRE */ + register sopno esub; /* end sop of subsubRE */ + register char *ssp; /* start of string matched by subsubRE */ + register char *sep; /* end of string matched by subsubRE */ + register char *oldssp; /* previous ssp */ + register char *dp; + + AT("diss", start, stop, startst, stopst); + sp = start; + for (ss = startst; ss < stopst; ss = es) { + /* identify end of subRE */ + es = ss; + switch (OP(m->g->strip[es])) { + case OPLUS_: + case OQUEST_: + es += OPND(m->g->strip[es]); + break; + case OCH_: + while (OP(m->g->strip[es]) != O_CH) + es += OPND(m->g->strip[es]); + break; + } + es++; + + /* figure out what it matched */ + switch (OP(m->g->strip[ss])) { + case OEND: + assert(nope); + break; + case OCHAR: + sp++; + break; + case OBOL: + case OEOL: + case OBOW: + case OEOW: + break; + case OANY: + case OANYOF: + sp++; + break; + case OBACK_: + case O_BACK: + assert(nope); + break; + /* cases where length of match is hard to find */ + case OQUEST_: + stp = stop; + for (;;) { + /* how long could this one be? */ + rest = slow(m, sp, stp, ss, es); + assert(rest != NULL); /* it did match */ + /* could the rest match the rest? */ + tail = slow(m, rest, stop, es, stopst); + if (tail == stop) + break; /* yes! */ + /* no -- try a shorter match for this one */ + stp = rest - 1; + assert(stp >= sp); /* it did work */ + } + ssub = ss + 1; + esub = es - 1; + /* did innards match? */ + if (slow(m, sp, rest, ssub, esub) != NULL) { + dp = dissect(m, sp, rest, ssub, esub); + assert(dp == rest); + } else /* no */ + assert(sp == rest); + sp = rest; + break; + case OPLUS_: + stp = stop; + for (;;) { + /* how long could this one be? */ + rest = slow(m, sp, stp, ss, es); + assert(rest != NULL); /* it did match */ + /* could the rest match the rest? */ + tail = slow(m, rest, stop, es, stopst); + if (tail == stop) + break; /* yes! */ + /* no -- try a shorter match for this one */ + stp = rest - 1; + assert(stp >= sp); /* it did work */ + } + ssub = ss + 1; + esub = es - 1; + ssp = sp; + oldssp = ssp; + for (;;) { /* find last match of innards */ + sep = slow(m, ssp, rest, ssub, esub); + if (sep == NULL || sep == ssp) + break; /* failed or matched null */ + oldssp = ssp; /* on to next try */ + ssp = sep; + } + if (sep == NULL) { + /* last successful match */ + sep = ssp; + ssp = oldssp; + } + assert(sep == rest); /* must exhaust substring */ + assert(slow(m, ssp, sep, ssub, esub) == rest); + dp = dissect(m, ssp, sep, ssub, esub); + assert(dp == sep); + sp = rest; + break; + case OCH_: + stp = stop; + for (;;) { + /* how long could this one be? */ + rest = slow(m, sp, stp, ss, es); + assert(rest != NULL); /* it did match */ + /* could the rest match the rest? */ + tail = slow(m, rest, stop, es, stopst); + if (tail == stop) + break; /* yes! */ + /* no -- try a shorter match for this one */ + stp = rest - 1; + assert(stp >= sp); /* it did work */ + } + ssub = ss + 1; + esub = ss + OPND(m->g->strip[ss]) - 1; + assert(OP(m->g->strip[esub]) == OOR1); + for (;;) { /* find first matching branch */ + if (slow(m, sp, rest, ssub, esub) == rest) + break; /* it matched all of it */ + /* that one missed, try next one */ + assert(OP(m->g->strip[esub]) == OOR1); + esub++; + assert(OP(m->g->strip[esub]) == OOR2); + ssub = esub + 1; + esub += OPND(m->g->strip[esub]); + if (OP(m->g->strip[esub]) == OOR2) + esub--; + else + assert(OP(m->g->strip[esub]) == O_CH); + } + dp = dissect(m, sp, rest, ssub, esub); + assert(dp == rest); + sp = rest; + break; + case O_PLUS: + case O_QUEST: + case OOR1: + case OOR2: + case O_CH: + assert(nope); + break; + case OLPAREN: + i = OPND(m->g->strip[ss]); + assert(0 < i && i <= m->g->nsub); + m->pmatch[i].rm_so = sp - m->offp; + break; + case ORPAREN: + i = OPND(m->g->strip[ss]); + assert(0 < i && i <= m->g->nsub); + m->pmatch[i].rm_eo = sp - m->offp; + break; + default: /* uh oh */ + assert(nope); + break; + } + } + + assert(sp == stop); + return(sp); +} + +/* + - backref - figure out what matched what, figuring in back references + == static char *backref(register struct match *m, char *start, \ + == char *stop, sopno startst, sopno stopst, sopno lev); + */ +static char * /* == stop (success) or NULL (failure) */ +backref(m, start, stop, startst, stopst, lev) +register struct match *m; +char *start; +char *stop; +sopno startst; +sopno stopst; +sopno lev; /* PLUS nesting level */ +{ + register int i; + register sopno ss; /* start sop of current subRE */ + register char *sp; /* start of string matched by it */ + register sopno ssub; /* start sop of subsubRE */ + register sopno esub; /* end sop of subsubRE */ + register char *ssp; /* start of string matched by subsubRE */ + register char *dp; + register size_t len; + register int hard; + register sop s; + register regoff_t offsave; + register cset *cs; + + AT("back", start, stop, startst, stopst); + sp = start; + + /* get as far as we can with easy stuff */ + hard = 0; + for (ss = startst; !hard && ss < stopst; ss++) + switch (OP(s = m->g->strip[ss])) { + case OCHAR: + if (sp == stop || *sp++ != (char)OPND(s)) + return(NULL); + break; + case OANY: + if (sp == stop) + return(NULL); + sp++; + break; + case OANYOF: + cs = &m->g->sets[OPND(s)]; + if (sp == stop || !CHIN(cs, *sp++)) + return(NULL); + break; + case OBOL: + if ( (sp == m->beginp && !(m->eflags®_NOTBOL)) || + (sp < m->endp && *(sp-1) == '\n' && + (m->g->cflags®_NEWLINE)) ) + { /* yes */ } + else + return(NULL); + break; + case OEOL: + if ( (sp == m->endp && !(m->eflags®_NOTEOL)) || + (sp < m->endp && *sp == '\n' && + (m->g->cflags®_NEWLINE)) ) + { /* yes */ } + else + return(NULL); + break; + case OBOW: + if (( (sp == m->beginp && !(m->eflags®_NOTBOL)) || + (sp < m->endp && *(sp-1) == '\n' && + (m->g->cflags®_NEWLINE)) || + (sp > m->beginp && + !ISWORD(*(sp-1))) ) && + (sp < m->endp && ISWORD(*sp)) ) + { /* yes */ } + else + return(NULL); + break; + case OEOW: + if (( (sp == m->endp && !(m->eflags®_NOTEOL)) || + (sp < m->endp && *sp == '\n' && + (m->g->cflags®_NEWLINE)) || + (sp < m->endp && !ISWORD(*sp)) ) && + (sp > m->beginp && ISWORD(*(sp-1))) ) + { /* yes */ } + else + return(NULL); + break; + case O_QUEST: + break; + case OOR1: /* matches null but needs to skip */ + ss++; + s = m->g->strip[ss]; + do { + assert(OP(s) == OOR2); + ss += OPND(s); + } while (OP(s = m->g->strip[ss]) != O_CH); + /* note that the ss++ gets us past the O_CH */ + break; + default: /* have to make a choice */ + hard = 1; + break; + } + if (!hard) { /* that was it! */ + if (sp != stop) + return(NULL); + return(sp); + } + ss--; /* adjust for the for's final increment */ + + /* the hard stuff */ + AT("hard", sp, stop, ss, stopst); + s = m->g->strip[ss]; + switch (OP(s)) { + case OBACK_: /* the vilest depths */ + i = OPND(s); + assert(0 < i && i <= m->g->nsub); + if (m->pmatch[i].rm_eo == -1) + return(NULL); + assert(m->pmatch[i].rm_so != -1); + len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; + assert(stop - m->beginp >= len); + if (sp > stop - len) + return(NULL); /* not enough left to match */ + ssp = m->offp + m->pmatch[i].rm_so; + if (memcmp(sp, ssp, len) != 0) + return(NULL); + while (m->g->strip[ss] != SOP(O_BACK, i)) + ss++; + return(backref(m, sp+len, stop, ss+1, stopst, lev)); + break; + case OQUEST_: /* to null or not */ + dp = backref(m, sp, stop, ss+1, stopst, lev); + if (dp != NULL) + return(dp); /* not */ + return(backref(m, sp, stop, ss+OPND(s)+1, stopst, lev)); + break; + case OPLUS_: + assert(m->lastpos != NULL); + assert(lev+1 <= m->g->nplus); + m->lastpos[lev+1] = sp; + return(backref(m, sp, stop, ss+1, stopst, lev+1)); + break; + case O_PLUS: + if (sp == m->lastpos[lev]) /* last pass matched null */ + return(backref(m, sp, stop, ss+1, stopst, lev-1)); + /* try another pass */ + m->lastpos[lev] = sp; + dp = backref(m, sp, stop, ss-OPND(s)+1, stopst, lev); + if (dp == NULL) + return(backref(m, sp, stop, ss+1, stopst, lev-1)); + else + return(dp); + break; + case OCH_: /* find the right one, if any */ + ssub = ss + 1; + esub = ss + OPND(s) - 1; + assert(OP(m->g->strip[esub]) == OOR1); + for (;;) { /* find first matching branch */ + dp = backref(m, sp, stop, ssub, esub, lev); + if (dp != NULL) + return(dp); + /* that one missed, try next one */ + if (OP(m->g->strip[esub]) == O_CH) + return(NULL); /* there is none */ + esub++; + assert(OP(m->g->strip[esub]) == OOR2); + ssub = esub + 1; + esub += OPND(m->g->strip[esub]); + if (OP(m->g->strip[esub]) == OOR2) + esub--; + else + assert(OP(m->g->strip[esub]) == O_CH); + } + break; + case OLPAREN: /* must undo assignment if rest fails */ + i = OPND(s); + assert(0 < i && i <= m->g->nsub); + offsave = m->pmatch[i].rm_so; + m->pmatch[i].rm_so = sp - m->offp; + dp = backref(m, sp, stop, ss+1, stopst, lev); + if (dp != NULL) + return(dp); + m->pmatch[i].rm_so = offsave; + return(NULL); + break; + case ORPAREN: /* must undo assignment if rest fails */ + i = OPND(s); + assert(0 < i && i <= m->g->nsub); + offsave = m->pmatch[i].rm_eo; + m->pmatch[i].rm_eo = sp - m->offp; + dp = backref(m, sp, stop, ss+1, stopst, lev); + if (dp != NULL) + return(dp); + m->pmatch[i].rm_eo = offsave; + return(NULL); + break; + default: /* uh oh */ + assert(nope); + break; + } + + /* "can't happen" */ + assert(nope); + /* NOTREACHED */ + return((char *)NULL); /* dummy */ +} + +/* + - fast - step through the string at top speed + == static char *fast(register struct match *m, char *start, \ + == char *stop, sopno startst, sopno stopst); + */ +static char * /* where tentative match ended, or NULL */ +fast(m, start, stop, startst, stopst) +register struct match *m; +char *start; +char *stop; +sopno startst; +sopno stopst; +{ + register states st = m->st; + register states fresh = m->fresh; + register states tmp = m->tmp; + register char *p = start; + register int c = (start == m->beginp) ? OUT : *(start-1); + register int lastc; /* previous c */ + register int flagch; + register int i; + register char *coldp; /* last p after which no match was underway */ + + CLEAR(st); + SET1(st, startst); + st = step(m->g, startst, stopst, st, NOTHING, st); + ASSIGN(fresh, st); + SP("start", st, *p); + coldp = NULL; + for (;;) { + /* next character */ + lastc = c; + c = (p == m->endp) ? OUT : *p; + if (EQ(st, fresh)) + coldp = p; + + /* is there an EOL and/or BOL between lastc and c? */ + flagch = '\0'; + i = 0; + if ( (lastc == '\n' && m->g->cflags®_NEWLINE) || + (lastc == OUT && !(m->eflags®_NOTBOL)) ) { + flagch = BOL; + i = m->g->nbol; + } + if ( (c == '\n' && m->g->cflags®_NEWLINE) || + (c == OUT && !(m->eflags®_NOTEOL)) ) { + flagch = (flagch == BOL) ? BOLEOL : EOL; + i += m->g->neol; + } + if (i != 0) { + for (; i > 0; i--) + st = step(m->g, startst, stopst, st, flagch, st); + SP("boleol", st, c); + } + + /* how about a word boundary? */ + if ( (flagch == BOL || (lastc != OUT && !ISWORD(lastc))) && + (c != OUT && ISWORD(c)) ) { + flagch = BOW; + } + if ( (lastc != OUT && ISWORD(lastc)) && + (flagch == EOL || (c != OUT && !ISWORD(c))) ) { + flagch = EOW; + } + if (flagch == BOW || flagch == EOW) { + st = step(m->g, startst, stopst, st, flagch, st); + SP("boweow", st, c); + } + + /* are we done? */ + if (ISSET(st, stopst) || p == stop) + break; /* NOTE BREAK OUT */ + + /* no, we must deal with this character */ + ASSIGN(tmp, st); + ASSIGN(st, fresh); + assert(c != OUT); + st = step(m->g, startst, stopst, tmp, c, st); + SP("aft", st, c); + assert(EQ(step(m->g, startst, stopst, st, NOTHING, st), st)); + p++; + } + + assert(coldp != NULL); + m->coldp = coldp; + if (ISSET(st, stopst)) + return(p+1); + else + return(NULL); +} + +/* + - slow - step through the string more deliberately + == static char *slow(register struct match *m, char *start, \ + == char *stop, sopno startst, sopno stopst); + */ +static char * /* where it ended */ +slow(m, start, stop, startst, stopst) +register struct match *m; +char *start; +char *stop; +sopno startst; +sopno stopst; +{ + register states st = m->st; + register states empty = m->empty; + register states tmp = m->tmp; + register char *p = start; + register int c = (start == m->beginp) ? OUT : *(start-1); + register int lastc; /* previous c */ + register int flagch; + register int i; + register char *matchp; /* last p at which a match ended */ + + AT("slow", start, stop, startst, stopst); + CLEAR(st); + SET1(st, startst); + SP("sstart", st, *p); + st = step(m->g, startst, stopst, st, NOTHING, st); + matchp = NULL; + for (;;) { + /* next character */ + lastc = c; + c = (p == m->endp) ? OUT : *p; + + /* is there an EOL and/or BOL between lastc and c? */ + flagch = '\0'; + i = 0; + if ( (lastc == '\n' && m->g->cflags®_NEWLINE) || + (lastc == OUT && !(m->eflags®_NOTBOL)) ) { + flagch = BOL; + i = m->g->nbol; + } + if ( (c == '\n' && m->g->cflags®_NEWLINE) || + (c == OUT && !(m->eflags®_NOTEOL)) ) { + flagch = (flagch == BOL) ? BOLEOL : EOL; + i += m->g->neol; + } + if (i != 0) { + for (; i > 0; i--) + st = step(m->g, startst, stopst, st, flagch, st); + SP("sboleol", st, c); + } + + /* how about a word boundary? */ + if ( (flagch == BOL || (lastc != OUT && !ISWORD(lastc))) && + (c != OUT && ISWORD(c)) ) { + flagch = BOW; + } + if ( (lastc != OUT && ISWORD(lastc)) && + (flagch == EOL || (c != OUT && !ISWORD(c))) ) { + flagch = EOW; + } + if (flagch == BOW || flagch == EOW) { + st = step(m->g, startst, stopst, st, flagch, st); + SP("sboweow", st, c); + } + + /* are we done? */ + if (ISSET(st, stopst)) + matchp = p; + if (EQ(st, empty) || p == stop) + break; /* NOTE BREAK OUT */ + + /* no, we must deal with this character */ + ASSIGN(tmp, st); + ASSIGN(st, empty); + assert(c != OUT); + st = step(m->g, startst, stopst, tmp, c, st); + SP("saft", st, c); + assert(EQ(step(m->g, startst, stopst, st, NOTHING, st), st)); + p++; + } + + return(matchp); +} + + +/* + - step - map set of states reachable before char to set reachable after + == static states step(register struct re_guts *g, sopno start, sopno stop, \ + == register states bef, int ch, register states aft); + == #define BOL (OUT+1) + == #define EOL (BOL+1) + == #define BOLEOL (BOL+2) + == #define NOTHING (BOL+3) + == #define BOW (BOL+4) + == #define EOW (BOL+5) + == #define CODEMAX (BOL+5) // highest code used + == #define NONCHAR(c) ((c) > CHAR_MAX) + == #define NNONCHAR (CODEMAX-CHAR_MAX) + */ +static states +step(g, start, stop, bef, ch, aft) +register struct re_guts *g; +sopno start; /* start state within strip */ +sopno stop; /* state after stop state within strip */ +register states bef; /* states reachable before */ +int ch; /* character or NONCHAR code */ +register states aft; /* states already known reachable after */ +{ + register cset *cs; + register sop s; + register sopno pc; + register onestate here; /* note, macros know this name */ + register sopno look; + register long i; + + for (pc = start, INIT(here, pc); pc != stop; pc++, INC(here)) { + s = g->strip[pc]; + switch (OP(s)) { + case OEND: + assert(pc == stop-1); + break; + case OCHAR: + /* only characters can match */ + assert(!NONCHAR(ch) || ch != (char)OPND(s)); + if (ch == (char)OPND(s)) + FWD(aft, bef, 1); + break; + case OBOL: + if (ch == BOL || ch == BOLEOL) + FWD(aft, bef, 1); + break; + case OEOL: + if (ch == EOL || ch == BOLEOL) + FWD(aft, bef, 1); + break; + case OBOW: + if (ch == BOW) + FWD(aft, bef, 1); + break; + case OEOW: + if (ch == EOW) + FWD(aft, bef, 1); + break; + case OANY: + if (!NONCHAR(ch)) + FWD(aft, bef, 1); + break; + case OANYOF: + cs = &g->sets[OPND(s)]; + if (!NONCHAR(ch) && CHIN(cs, ch)) + FWD(aft, bef, 1); + break; + case OBACK_: /* ignored here */ + case O_BACK: + FWD(aft, aft, 1); + break; + case OPLUS_: /* forward, this is just an empty */ + FWD(aft, aft, 1); + break; + case O_PLUS: /* both forward and back */ + FWD(aft, aft, 1); + i = ISSETBACK(aft, OPND(s)); + BACK(aft, aft, OPND(s)); + if (!i && ISSETBACK(aft, OPND(s))) { + /* oho, must reconsider loop body */ + pc -= OPND(s) + 1; + INIT(here, pc); + } + break; + case OQUEST_: /* two branches, both forward */ + FWD(aft, aft, 1); + FWD(aft, aft, OPND(s)); + break; + case O_QUEST: /* just an empty */ + FWD(aft, aft, 1); + break; + case OLPAREN: /* not significant here */ + case ORPAREN: + FWD(aft, aft, 1); + break; + case OCH_: /* mark the first two branches */ + FWD(aft, aft, 1); + assert(OP(g->strip[pc+OPND(s)]) == OOR2); + FWD(aft, aft, OPND(s)); + break; + case OOR1: /* done a branch, find the O_CH */ + if (ISSTATEIN(aft, here)) { + for (look = 1; + OP(s = g->strip[pc+look]) != O_CH; + look += OPND(s)) + assert(OP(s) == OOR2); + FWD(aft, aft, look); + } + break; + case OOR2: /* propagate OCH_'s marking */ + FWD(aft, aft, 1); + if (OP(g->strip[pc+OPND(s)]) != O_CH) { + assert(OP(g->strip[pc+OPND(s)]) == OOR2); + FWD(aft, aft, OPND(s)); + } + break; + case O_CH: /* just empty */ + FWD(aft, aft, 1); + break; + default: /* ooooops... */ + assert(nope); + break; + } + } + + return(aft); +} + +#ifdef REDEBUG +/* + - print - print a set of states + == #ifdef REDEBUG + == static void print(struct match *m, char *caption, states st, \ + == int ch, FILE *d); + == #endif + */ +static void +print(m, caption, st, ch, d) +struct match *m; +char *caption; +states st; +int ch; +FILE *d; +{ + register struct re_guts *g = m->g; + register int i; + register int first = 1; + + if (!(m->eflags®_TRACE)) + return; + + fprintf(d, "%s", caption); + if (ch != '\0') + fprintf(d, " %s", pchar(ch)); + for (i = 0; i < g->nstates; i++) + if (ISSET(st, i)) { + fprintf(d, "%s%d", (first) ? "\t" : ", ", i); + first = 0; + } + fprintf(d, "\n"); +} + +/* + - at - print current situation + == #ifdef REDEBUG + == static void at(struct match *m, char *title, char *start, char *stop, \ + == sopno startst, sopno stopst); + == #endif + */ +static void +at(m, title, start, stop, startst, stopst) +struct match *m; +char *title; +char *start; +char *stop; +sopno startst; +sopno stopst; +{ + if (!(m->eflags®_TRACE)) + return; + + printf("%s %s-", title, pchar(*start)); + printf("%s ", pchar(*stop)); + printf("%ld-%ld\n", (long)startst, (long)stopst); +} + +#ifndef PCHARDONE +#define PCHARDONE /* never again */ +/* + - pchar - make a character printable + == #ifdef REDEBUG + == static char *pchar(int ch); + == #endif + * + * Is this identical to regchar() over in debug.c? Well, yes. But a + * duplicate here avoids having a debugging-capable regexec.o tied to + * a matching debug.o, and this is convenient. It all disappears in + * the non-debug compilation anyway, so it doesn't matter much. + */ +static char * /* -> representation */ +pchar(ch) +int ch; +{ + static char pbuf[10]; + + if (isprint(ch) || ch == ' ') + sprintf(pbuf, "%c", ch); + else + sprintf(pbuf, "\\%o", ch); + return(pbuf); +} +#endif +#endif + +#undef matcher +#undef fast +#undef slow +#undef dissect +#undef backref +#undef step +#undef print +#undef at +#undef match diff --git a/vcnet/regex/engine.ih b/vcnet/regex/engine.ih new file mode 100644 index 0000000..cc98334 --- /dev/null +++ b/vcnet/regex/engine.ih @@ -0,0 +1,35 @@ +/* ========= begin header generated by ./mkh ========= */ +#ifdef __cplusplus +extern "C" { +#endif + +/* === engine.c === */ +static int matcher(register struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], int eflags); +static char *dissect(register struct match *m, char *start, char *stop, sopno startst, sopno stopst); +static char *backref(register struct match *m, char *start, char *stop, sopno startst, sopno stopst, sopno lev); +static char *fast(register struct match *m, char *start, char *stop, sopno startst, sopno stopst); +static char *slow(register struct match *m, char *start, char *stop, sopno startst, sopno stopst); +static states step(register struct re_guts *g, sopno start, sopno stop, register states bef, int ch, register states aft); +#define BOL (OUT+1) +#define EOL (BOL+1) +#define BOLEOL (BOL+2) +#define NOTHING (BOL+3) +#define BOW (BOL+4) +#define EOW (BOL+5) +#define CODEMAX (BOL+5) /* highest code used */ +#define NONCHAR(c) ((c) > CHAR_MAX) +#define NNONCHAR (CODEMAX-CHAR_MAX) +#ifdef REDEBUG +static void print(struct match *m, char *caption, states st, int ch, FILE *d); +#endif +#ifdef REDEBUG +static void at(struct match *m, char *title, char *start, char *stop, sopno startst, sopno stopst); +#endif +#ifdef REDEBUG +static char *pchar(int ch); +#endif + +#ifdef __cplusplus +} +#endif +/* ========= end header generated by ./mkh ========= */ diff --git a/vcnet/regex/main.c b/vcnet/regex/main.c new file mode 100644 index 0000000..0221e77 --- /dev/null +++ b/vcnet/regex/main.c @@ -0,0 +1,510 @@ +#include +#include +#include +#include +#include + +#include "main.ih" + +char *progname; +int debug = 0; +int line = 0; +int status = 0; + +int copts = REG_EXTENDED; +int eopts = 0; +regoff_t startoff = 0; +regoff_t endoff = 0; + + +extern int split(); +extern void regprint(); + +/* + - main - do the simple case, hand off to regress() for regression + */ +main(argc, argv) +int argc; +char *argv[]; +{ + regex_t re; +# define NS 10 + regmatch_t subs[NS]; + char erbuf[100]; + int err; + size_t len; + int c; + int errflg = 0; + register int i; + extern int optind; + extern char *optarg; + + progname = argv[0]; + + while ((c = getopt(argc, argv, "c:e:S:E:x")) != EOF) + switch (c) { + case 'c': /* compile options */ + copts = options('c', optarg); + break; + case 'e': /* execute options */ + eopts = options('e', optarg); + break; + case 'S': /* start offset */ + startoff = (regoff_t)atoi(optarg); + break; + case 'E': /* end offset */ + endoff = (regoff_t)atoi(optarg); + break; + case 'x': /* Debugging. */ + debug++; + break; + case '?': + default: + errflg++; + break; + } + if (errflg) { + fprintf(stderr, "usage: %s ", progname); + fprintf(stderr, "[-c copt][-C][-d] [re]\n"); + exit(2); + } + + if (optind >= argc) { + regress(stdin); + exit(status); + } + + err = regcomp(&re, argv[optind++], copts); + if (err) { + len = regerror(err, &re, erbuf, sizeof(erbuf)); + fprintf(stderr, "error %s, %d/%d `%s'\n", + eprint(err), len, sizeof(erbuf), erbuf); + exit(status); + } + regprint(&re, stdout); + + if (optind >= argc) { + regfree(&re); + exit(status); + } + + if (eopts®_STARTEND) { + subs[0].rm_so = startoff; + subs[0].rm_eo = strlen(argv[optind]) - endoff; + } + err = regexec(&re, argv[optind], (size_t)NS, subs, eopts); + if (err) { + len = regerror(err, &re, erbuf, sizeof(erbuf)); + fprintf(stderr, "error %s, %d/%d `%s'\n", + eprint(err), len, sizeof(erbuf), erbuf); + exit(status); + } + if (!(copts®_NOSUB)) { + len = (int)(subs[0].rm_eo - subs[0].rm_so); + if (subs[0].rm_so != -1) { + if (len != 0) + printf("match `%.*s'\n", len, + argv[optind] + subs[0].rm_so); + else + printf("match `'@%.1s\n", + argv[optind] + subs[0].rm_so); + } + for (i = 1; i < NS; i++) + if (subs[i].rm_so != -1) + printf("(%d) `%.*s'\n", i, + (int)(subs[i].rm_eo - subs[i].rm_so), + argv[optind] + subs[i].rm_so); + } + exit(status); +} + +/* + - regress - main loop of regression test + == void regress(FILE *in); + */ +void +regress(in) +FILE *in; +{ + char inbuf[1000]; +# define MAXF 10 + char *f[MAXF]; + int nf; + int i; + char erbuf[100]; + size_t ne; + char *badpat = "invalid regular expression"; +# define SHORT 10 + char *bpname = "REG_BADPAT"; + regex_t re; + + while (fgets(inbuf, sizeof(inbuf), in) != NULL) { + line++; + if (inbuf[0] == '#' || inbuf[0] == '\n') + continue; /* NOTE CONTINUE */ + inbuf[strlen(inbuf)-1] = '\0'; /* get rid of stupid \n */ + if (debug) + fprintf(stdout, "%d:\n", line); + nf = split(inbuf, f, MAXF, "\t\t"); + if (nf < 3) { + fprintf(stderr, "bad input, line %d\n", line); + exit(1); + } + for (i = 0; i < nf; i++) + if (strcmp(f[i], "\"\"") == 0) + f[i] = ""; + if (nf <= 3) + f[3] = NULL; + if (nf <= 4) + f[4] = NULL; + try(f[0], f[1], f[2], f[3], f[4], options('c', f[1])); + if (opt('&', f[1])) /* try with either type of RE */ + try(f[0], f[1], f[2], f[3], f[4], + options('c', f[1]) &~ REG_EXTENDED); + } + + ne = regerror(REG_BADPAT, (regex_t *)NULL, erbuf, sizeof(erbuf)); + if (strcmp(erbuf, badpat) != 0 || ne != strlen(badpat)+1) { + fprintf(stderr, "end: regerror() test gave `%s' not `%s'\n", + erbuf, badpat); + status = 1; + } + ne = regerror(REG_BADPAT, (regex_t *)NULL, erbuf, (size_t)SHORT); + if (strncmp(erbuf, badpat, SHORT-1) != 0 || erbuf[SHORT-1] != '\0' || + ne != strlen(badpat)+1) { + fprintf(stderr, "end: regerror() short test gave `%s' not `%.*s'\n", + erbuf, SHORT-1, badpat); + status = 1; + } + ne = regerror(REG_ITOA|REG_BADPAT, (regex_t *)NULL, erbuf, sizeof(erbuf)); + if (strcmp(erbuf, bpname) != 0 || ne != strlen(bpname)+1) { + fprintf(stderr, "end: regerror() ITOA test gave `%s' not `%s'\n", + erbuf, bpname); + status = 1; + } + re.re_endp = bpname; + ne = regerror(REG_ATOI, &re, erbuf, sizeof(erbuf)); + if (atoi(erbuf) != (int)REG_BADPAT) { + fprintf(stderr, "end: regerror() ATOI test gave `%s' not `%ld'\n", + erbuf, (long)REG_BADPAT); + status = 1; + } else if (ne != strlen(erbuf)+1) { + fprintf(stderr, "end: regerror() ATOI test len(`%s') = %ld\n", + erbuf, (long)REG_BADPAT); + status = 1; + } +} + +/* + - try - try it, and report on problems + == void try(char *f0, char *f1, char *f2, char *f3, char *f4, int opts); + */ +void +try(f0, f1, f2, f3, f4, opts) +char *f0; +char *f1; +char *f2; +char *f3; +char *f4; +int opts; /* may not match f1 */ +{ + regex_t re; +# define NSUBS 10 + regmatch_t subs[NSUBS]; +# define NSHOULD 15 + char *should[NSHOULD]; + int nshould; + char erbuf[100]; + int err; + int len; + char *type = (opts & REG_EXTENDED) ? "ERE" : "BRE"; + register int i; + char *grump; + char f0copy[1000]; + char f2copy[1000]; + + strcpy(f0copy, f0); + re.re_endp = (opts®_PEND) ? f0copy + strlen(f0copy) : NULL; + fixstr(f0copy); + err = regcomp(&re, f0copy, opts); + if (err != 0 && (!opt('C', f1) || err != efind(f2))) { + /* unexpected error or wrong error */ + len = regerror(err, &re, erbuf, sizeof(erbuf)); + fprintf(stderr, "%d: %s error %s, %d/%d `%s'\n", + line, type, eprint(err), len, + sizeof(erbuf), erbuf); + status = 1; + } else if (err == 0 && opt('C', f1)) { + /* unexpected success */ + fprintf(stderr, "%d: %s should have given REG_%s\n", + line, type, f2); + status = 1; + err = 1; /* so we won't try regexec */ + } + + if (err != 0) { + regfree(&re); + return; + } + + strcpy(f2copy, f2); + fixstr(f2copy); + + if (options('e', f1)®_STARTEND) { + if (strchr(f2, '(') == NULL || strchr(f2, ')') == NULL) + fprintf(stderr, "%d: bad STARTEND syntax\n", line); + subs[0].rm_so = strchr(f2, '(') - f2 + 1; + subs[0].rm_eo = strchr(f2, ')') - f2; + } + err = regexec(&re, f2copy, NSUBS, subs, options('e', f1)); + + if (err != 0 && (f3 != NULL || err != REG_NOMATCH)) { + /* unexpected error or wrong error */ + len = regerror(err, &re, erbuf, sizeof(erbuf)); + fprintf(stderr, "%d: %s exec error %s, %d/%d `%s'\n", + line, type, eprint(err), len, + sizeof(erbuf), erbuf); + status = 1; + } else if (err != 0) { + /* nothing more to check */ + } else if (f3 == NULL) { + /* unexpected success */ + fprintf(stderr, "%d: %s exec should have failed\n", + line, type); + status = 1; + err = 1; /* just on principle */ + } else if (opts®_NOSUB) { + /* nothing more to check */ + } else if ((grump = check(f2, subs[0], f3)) != NULL) { + fprintf(stderr, "%d: %s %s\n", line, type, grump); + status = 1; + err = 1; + } + + if (err != 0 || f4 == NULL) { + regfree(&re); + return; + } + + for (i = 1; i < NSHOULD; i++) + should[i] = NULL; + nshould = split(f4, should+1, NSHOULD-1, ","); + if (nshould == 0) { + nshould = 1; + should[1] = ""; + } + for (i = 1; i < NSUBS; i++) { + grump = check(f2, subs[i], should[i]); + if (grump != NULL) { + fprintf(stderr, "%d: %s $%d %s\n", line, + type, i, grump); + status = 1; + err = 1; + } + } + + regfree(&re); +} + +/* + - options - pick options out of a regression-test string + == int options(int type, char *s); + */ +int +options(type, s) +int type; /* 'c' compile, 'e' exec */ +char *s; +{ + register char *p; + register int o = (type == 'c') ? copts : eopts; + register char *legal = (type == 'c') ? "bisnmp" : "^$#tl"; + + for (p = s; *p != '\0'; p++) + if (strchr(legal, *p) != NULL) + switch (*p) { + case 'b': + o &= ~REG_EXTENDED; + break; + case 'i': + o |= REG_ICASE; + break; + case 's': + o |= REG_NOSUB; + break; + case 'n': + o |= REG_NEWLINE; + break; + case 'm': + o &= ~REG_EXTENDED; + o |= REG_NOSPEC; + break; + case 'p': + o |= REG_PEND; + break; + case '^': + o |= REG_NOTBOL; + break; + case '$': + o |= REG_NOTEOL; + break; + case '#': + o |= REG_STARTEND; + break; + case 't': /* trace */ + o |= REG_TRACE; + break; + case 'l': /* force long representation */ + o |= REG_LARGE; + break; + case 'r': /* force backref use */ + o |= REG_BACKR; + break; + } + return(o); +} + +/* + - opt - is a particular option in a regression string? + == int opt(int c, char *s); + */ +int /* predicate */ +opt(c, s) +int c; +char *s; +{ + return(strchr(s, c) != NULL); +} + +/* + - fixstr - transform magic characters in strings + == void fixstr(register char *p); + */ +void +fixstr(p) +register char *p; +{ + if (p == NULL) + return; + + for (; *p != '\0'; p++) + if (*p == 'N') + *p = '\n'; + else if (*p == 'T') + *p = '\t'; + else if (*p == 'S') + *p = ' '; + else if (*p == 'Z') + *p = '\0'; +} + +/* + - check - check a substring match + == char *check(char *str, regmatch_t sub, char *should); + */ +char * /* NULL or complaint */ +check(str, sub, should) +char *str; +regmatch_t sub; +char *should; +{ + register int len; + register int shlen; + register char *p; + static char grump[500]; + register char *at = NULL; + + if (should != NULL && strcmp(should, "-") == 0) + should = NULL; + if (should != NULL && should[0] == '@') { + at = should + 1; + should = ""; + } + + /* check rm_so and rm_eo for consistency */ + if (sub.rm_so > sub.rm_eo || (sub.rm_so == -1 && sub.rm_eo != -1) || + (sub.rm_so != -1 && sub.rm_eo == -1) || + (sub.rm_so != -1 && sub.rm_so < 0) || + (sub.rm_eo != -1 && sub.rm_eo < 0) ) { + sprintf(grump, "start %ld end %ld", (long)sub.rm_so, + (long)sub.rm_eo); + return(grump); + } + + /* check for no match */ + if (sub.rm_so == -1 && should == NULL) + return(NULL); + if (sub.rm_so == -1) + return("did not match"); + + /* check for in range */ + if (sub.rm_eo > strlen(str)) { + sprintf(grump, "start %ld end %ld, past end of string", + (long)sub.rm_so, (long)sub.rm_eo); + return(grump); + } + + len = (int)(sub.rm_eo - sub.rm_so); + shlen = (int)strlen(should); + p = str + sub.rm_so; + + /* check for not supposed to match */ + if (should == NULL) { + sprintf(grump, "matched `%.*s'", len, p); + return(grump); + } + + /* check for wrong match */ + if (len != shlen || strncmp(p, should, (size_t)shlen) != 0) { + sprintf(grump, "matched `%.*s' instead", len, p); + return(grump); + } + if (shlen > 0) + return(NULL); + + /* check null match in right place */ + if (at == NULL) + return(NULL); + shlen = strlen(at); + if (shlen == 0) + shlen = 1; /* force check for end-of-string */ + if (strncmp(p, at, shlen) != 0) { + sprintf(grump, "matched null at `%.20s'", p); + return(grump); + } + return(NULL); +} + +/* + - eprint - convert error number to name + == static char *eprint(int err); + */ +static char * +eprint(err) +int err; +{ + static char epbuf[100]; + size_t len; + + len = regerror(REG_ITOA|err, (regex_t *)NULL, epbuf, sizeof(epbuf)); + assert(len <= sizeof(epbuf)); + return(epbuf); +} + +/* + - efind - convert error name to number + == static int efind(char *name); + */ +static int +efind(name) +char *name; +{ + static char efbuf[100]; + size_t n; + regex_t re; + + sprintf(efbuf, "REG_%s", name); + assert(strlen(efbuf) < sizeof(efbuf)); + re.re_endp = efbuf; + (void) regerror(REG_ATOI, &re, efbuf, sizeof(efbuf)); + return(atoi(efbuf)); +} diff --git a/vcnet/regex/main.ih b/vcnet/regex/main.ih new file mode 100644 index 0000000..5a0118a --- /dev/null +++ b/vcnet/regex/main.ih @@ -0,0 +1,19 @@ +/* ========= begin header generated by ./mkh ========= */ +#ifdef __cplusplus +extern "C" { +#endif + +/* === main.c === */ +void regress(FILE *in); +void try(char *f0, char *f1, char *f2, char *f3, char *f4, int opts); +int options(int type, char *s); +int opt(int c, char *s); +void fixstr(register char *p); +char *check(char *str, regmatch_t sub, char *should); +static char *eprint(int err); +static int efind(char *name); + +#ifdef __cplusplus +} +#endif +/* ========= end header generated by ./mkh ========= */ diff --git a/vcnet/regex/mkh b/vcnet/regex/mkh new file mode 100644 index 0000000..252b246 --- /dev/null +++ b/vcnet/regex/mkh @@ -0,0 +1,76 @@ +#! /bin/sh +# mkh - pull headers out of C source +PATH=/bin:/usr/bin ; export PATH + +# egrep pattern to pick out marked lines +egrep='^ =([ ]|$)' + +# Sed program to process marked lines into lines for the header file. +# The markers have already been removed. Two things are done here: removal +# of backslashed newlines, and some fudging of comments. The first is done +# because -o needs to have prototypes on one line to strip them down. +# Getting comments into the output is tricky; we turn C++-style // comments +# into /* */ comments, after altering any existing */'s to avoid trouble. +peel=' /\\$/N + /\\\n[ ]*/s///g + /\/\//s;\*/;* /;g + /\/\//s;//\(.*\);/*\1 */;' + +for a +do + case "$a" in + -o) # old (pre-function-prototype) compiler + # add code to comment out argument lists + peel="$peel + "'/^\([^#\/][^\/]*[a-zA-Z0-9_)]\)(\(.*\))/s;;\1(/*\2*/);' + shift + ;; + -b) # funny Berkeley __P macro + peel="$peel + "'/^\([^#\/][^\/]*[a-zA-Z0-9_)]\)(\(.*\))/s;;\1 __P((\2));' + shift + ;; + -s) # compiler doesn't like `static foo();' + # add code to get rid of the `static' + peel="$peel + "'/^static[ ][^\/]*[a-zA-Z0-9_)](.*)/s;static.;;' + shift + ;; + -p) # private declarations + egrep='^ ==([ ]|$)' + shift + ;; + -i) # wrap in #ifndef, argument is name + ifndef="$2" + shift ; shift + ;; + *) break + ;; + esac +done + +if test " $ifndef" != " " +then + echo "#ifndef $ifndef" + echo "#define $ifndef /* never again */" +fi +echo "/* ========= begin header generated by $0 ========= */" +echo '#ifdef __cplusplus' +echo 'extern "C" {' +echo '#endif' +for f +do + echo + echo "/* === $f === */" + egrep "$egrep" $f | sed 's/^ ==*[ ]//;s/^ ==*$//' | sed "$peel" + echo +done +echo '#ifdef __cplusplus' +echo '}' +echo '#endif' +echo "/* ========= end header generated by $0 ========= */" +if test " $ifndef" != " " +then + echo "#endif" +fi +exit 0 diff --git a/vcnet/regex/regcomp.c b/vcnet/regex/regcomp.c new file mode 100644 index 0000000..22e7433 --- /dev/null +++ b/vcnet/regex/regcomp.c @@ -0,0 +1,1603 @@ +#include +#include +#include +#include +#include +#include +#include + +#include "utils.h" +#include "regex2.h" + +#include "cclass.h" +#include "cname.h" + +/* + * parse structure, passed up and down to avoid global variables and + * other clumsinesses + */ +struct parse { + char *next; /* next character in RE */ + char *end; /* end of string (-> NUL normally) */ + int error; /* has an error been seen? */ + sop *strip; /* malloced strip */ + sopno ssize; /* malloced strip size (allocated) */ + sopno slen; /* malloced strip length (used) */ + int ncsalloc; /* number of csets allocated */ + struct re_guts *g; +# define NPAREN 10 /* we need to remember () 1-9 for back refs */ + sopno pbegin[NPAREN]; /* -> ( ([0] unused) */ + sopno pend[NPAREN]; /* -> ) ([0] unused) */ +}; + +#include "regcomp.ih" + +static char nuls[10]; /* place to point scanner in event of error */ + +/* + * macros for use with parse structure + * BEWARE: these know that the parse structure is named `p' !!! + */ +#define PEEK() (*p->next) +#define PEEK2() (*(p->next+1)) +#define MORE() (p->next < p->end) +#define MORE2() (p->next+1 < p->end) +#define SEE(c) (MORE() && PEEK() == (c)) +#define SEETWO(a, b) (MORE() && MORE2() && PEEK() == (a) && PEEK2() == (b)) +#define EAT(c) ((SEE(c)) ? (NEXT(), 1) : 0) +#define EATTWO(a, b) ((SEETWO(a, b)) ? (NEXT2(), 1) : 0) +#define NEXT() (p->next++) +#define NEXT2() (p->next += 2) +#define NEXTn(n) (p->next += (n)) +#define GETNEXT() (*p->next++) +#define SETERROR(e) seterr(p, (e)) +#define REQUIRE(co, e) ((co) || SETERROR(e)) +#define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e)) +#define MUSTEAT(c, e) (REQUIRE(MORE() && GETNEXT() == (c), e)) +#define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e)) +#define EMIT(op, sopnd) doemit(p, (sop)(op), (size_t)(sopnd)) +#define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos) +#define AHEAD(pos) dofwd(p, pos, HERE()-(pos)) +#define ASTERN(sop, pos) EMIT(sop, HERE()-pos) +#define HERE() (p->slen) +#define THERE() (p->slen - 1) +#define THERETHERE() (p->slen - 2) +#define DROP(n) (p->slen -= (n)) + +#ifndef NDEBUG +static int never = 0; /* for use in asserts; shuts lint up */ +#else +#define never 0 /* some s have bugs too */ +#endif + +/* + - regcomp - interface for parser and compilation + = extern int regcomp(regex_t *, const char *, int); + = #define REG_BASIC 0000 + = #define REG_EXTENDED 0001 + = #define REG_ICASE 0002 + = #define REG_NOSUB 0004 + = #define REG_NEWLINE 0010 + = #define REG_NOSPEC 0020 + = #define REG_PEND 0040 + = #define REG_DUMP 0200 + */ +int /* 0 success, otherwise REG_something */ +regcomp(preg, pattern, cflags) +regex_t *preg; +const char *pattern; +int cflags; +{ + struct parse pa; + register struct re_guts *g; + register struct parse *p = &pa; + register int i; + register size_t len; +#ifdef REDEBUG +# define GOODFLAGS(f) (f) +#else +# define GOODFLAGS(f) ((f)&~REG_DUMP) +#endif + + cflags = GOODFLAGS(cflags); + if ((cflags®_EXTENDED) && (cflags®_NOSPEC)) + return(REG_INVARG); + + if (cflags®_PEND) { + if (preg->re_endp < pattern) + return(REG_INVARG); + len = preg->re_endp - pattern; + } else + len = strlen((char *)pattern); + + /* do the mallocs early so failure handling is easy */ + g = (struct re_guts *)malloc(sizeof(struct re_guts) + + (NC-1)*sizeof(cat_t)); + if (g == NULL) + return(REG_ESPACE); + p->ssize = len/(size_t)2*(size_t)3 + (size_t)1; /* ugh */ + p->strip = (sop *)malloc(p->ssize * sizeof(sop)); + p->slen = 0; + if (p->strip == NULL) { + free((char *)g); + return(REG_ESPACE); + } + + /* set things up */ + p->g = g; + p->next = (char *)pattern; /* convenience; we do not modify it */ + p->end = p->next + len; + p->error = 0; + p->ncsalloc = 0; + for (i = 0; i < NPAREN; i++) { + p->pbegin[i] = 0; + p->pend[i] = 0; + } + g->csetsize = NC; + g->sets = NULL; + g->setbits = NULL; + g->ncsets = 0; + g->cflags = cflags; + g->iflags = 0; + g->nbol = 0; + g->neol = 0; + g->must = NULL; + g->mlen = 0; + g->nsub = 0; + g->ncategories = 1; /* category 0 is "everything else" */ + g->categories = &g->catspace[-(CHAR_MIN)]; + (void) memset((char *)g->catspace, 0, NC*sizeof(cat_t)); + g->backrefs = 0; + + /* do it */ + EMIT(OEND, 0); + g->firststate = THERE(); + if (cflags®_EXTENDED) + p_ere(p, OUT); + else if (cflags®_NOSPEC) + p_str(p); + else + p_bre(p, OUT, OUT); + EMIT(OEND, 0); + g->laststate = THERE(); + + /* tidy up loose ends and fill things in */ + categorize(p, g); + stripsnug(p, g); + findmust(p, g); + g->nplus = pluscount(p, g); + g->magic = MAGIC2; + preg->re_nsub = g->nsub; + preg->re_g = g; + preg->re_magic = MAGIC1; +#ifndef REDEBUG + /* not debugging, so can't rely on the assert() in regexec() */ + if (g->iflags&BAD) + SETERROR(REG_ASSERT); +#endif + + /* win or lose, we're done */ + if (p->error != 0) /* lose */ + regfree(preg); + return(p->error); +} + +/* + - p_ere - ERE parser top level, concatenation and alternation + == static void p_ere(register struct parse *p, int stop); + */ +static void +p_ere(p, stop) +register struct parse *p; +int stop; /* character this ERE should end at */ +{ + register char c; + register sopno prevback; + register sopno prevfwd; + register sopno conc; + register int first = 1; /* is this the first alternative? */ + + for (;;) { + /* do a bunch of concatenated expressions */ + conc = HERE(); + while (MORE() && (c = PEEK()) != '|' && c != stop) + p_ere_exp(p); + REQUIRE(HERE() != conc, REG_EMPTY); /* require nonempty */ + + if (!EAT('|')) + break; /* NOTE BREAK OUT */ + + if (first) { + INSERT(OCH_, conc); /* offset is wrong */ + prevfwd = conc; + prevback = conc; + first = 0; + } + ASTERN(OOR1, prevback); + prevback = THERE(); + AHEAD(prevfwd); /* fix previous offset */ + prevfwd = HERE(); + EMIT(OOR2, 0); /* offset is very wrong */ + } + + if (!first) { /* tail-end fixups */ + AHEAD(prevfwd); + ASTERN(O_CH, prevback); + } + + assert(!MORE() || SEE(stop)); +} + +/* + - p_ere_exp - parse one subERE, an atom possibly followed by a repetition op + == static void p_ere_exp(register struct parse *p); + */ +static void +p_ere_exp(p) +register struct parse *p; +{ + register char c; + register sopno pos; + register int count; + register int count2; + register sopno subno; + int wascaret = 0; + + assert(MORE()); /* caller should have ensured this */ + c = GETNEXT(); + + pos = HERE(); + switch (c) { + case '(': + REQUIRE(MORE(), REG_EPAREN); + p->g->nsub++; + subno = p->g->nsub; + if (subno < NPAREN) + p->pbegin[subno] = HERE(); + EMIT(OLPAREN, subno); + if (!SEE(')')) + p_ere(p, ')'); + if (subno < NPAREN) { + p->pend[subno] = HERE(); + assert(p->pend[subno] != 0); + } + EMIT(ORPAREN, subno); + MUSTEAT(')', REG_EPAREN); + break; +#ifndef POSIX_MISTAKE + case ')': /* happens only if no current unmatched ( */ + /* + * You may ask, why the ifndef? Because I didn't notice + * this until slightly too late for 1003.2, and none of the + * other 1003.2 regular-expression reviewers noticed it at + * all. So an unmatched ) is legal POSIX, at least until + * we can get it fixed. + */ + SETERROR(REG_EPAREN); + break; +#endif + case '^': + EMIT(OBOL, 0); + p->g->iflags |= USEBOL; + p->g->nbol++; + wascaret = 1; + break; + case '$': + EMIT(OEOL, 0); + p->g->iflags |= USEEOL; + p->g->neol++; + break; + case '|': + SETERROR(REG_EMPTY); + break; + case '*': + case '+': + case '?': + SETERROR(REG_BADRPT); + break; + case '.': + if (p->g->cflags®_NEWLINE) + nonnewline(p); + else + EMIT(OANY, 0); + break; + case '[': + p_bracket(p); + break; + case '\\': + REQUIRE(MORE(), REG_EESCAPE); + c = GETNEXT(); + ordinary(p, c); + break; + case '{': /* okay as ordinary except if digit follows */ + REQUIRE(!MORE() || !isdigit(PEEK()), REG_BADRPT); + /* FALLTHROUGH */ + default: + ordinary(p, c); + break; + } + + if (!MORE()) + return; + c = PEEK(); + /* we call { a repetition if followed by a digit */ + if (!( c == '*' || c == '+' || c == '?' || + (c == '{' && MORE2() && isdigit(PEEK2())) )) + return; /* no repetition, we're done */ + NEXT(); + + REQUIRE(!wascaret, REG_BADRPT); + switch (c) { + case '*': /* implemented as +? */ + /* this case does not require the (y|) trick, noKLUDGE */ + INSERT(OPLUS_, pos); + ASTERN(O_PLUS, pos); + INSERT(OQUEST_, pos); + ASTERN(O_QUEST, pos); + break; + case '+': + INSERT(OPLUS_, pos); + ASTERN(O_PLUS, pos); + break; + case '?': + /* KLUDGE: emit y? as (y|) until subtle bug gets fixed */ + INSERT(OCH_, pos); /* offset slightly wrong */ + ASTERN(OOR1, pos); /* this one's right */ + AHEAD(pos); /* fix the OCH_ */ + EMIT(OOR2, 0); /* offset very wrong... */ + AHEAD(THERE()); /* ...so fix it */ + ASTERN(O_CH, THERETHERE()); + break; + case '{': + count = p_count(p); + if (EAT(',')) { + if (isdigit(PEEK())) { + count2 = p_count(p); + REQUIRE(count <= count2, REG_BADBR); + } else /* single number with comma */ + count2 = INFINITY; + } else /* just a single number */ + count2 = count; + repeat(p, pos, count, count2); + if (!EAT('}')) { /* error heuristics */ + while (MORE() && PEEK() != '}') + NEXT(); + REQUIRE(MORE(), REG_EBRACE); + SETERROR(REG_BADBR); + } + break; + } + + if (!MORE()) + return; + c = PEEK(); + if (!( c == '*' || c == '+' || c == '?' || + (c == '{' && MORE2() && isdigit(PEEK2())) ) ) + return; + SETERROR(REG_BADRPT); +} + +/* + - p_str - string (no metacharacters) "parser" + == static void p_str(register struct parse *p); + */ +static void +p_str(p) +register struct parse *p; +{ + REQUIRE(MORE(), REG_EMPTY); + while (MORE()) + ordinary(p, GETNEXT()); +} + +/* + - p_bre - BRE parser top level, anchoring and concatenation + == static void p_bre(register struct parse *p, register int end1, \ + == register int end2); + * Giving end1 as OUT essentially eliminates the end1/end2 check. + * + * This implementation is a bit of a kludge, in that a trailing $ is first + * taken as an ordinary character and then revised to be an anchor. The + * only undesirable side effect is that '$' gets included as a character + * category in such cases. This is fairly harmless; not worth fixing. + * The amount of lookahead needed to avoid this kludge is excessive. + */ +static void +p_bre(p, end1, end2) +register struct parse *p; +register int end1; /* first terminating character */ +register int end2; /* second terminating character */ +{ + register sopno start = HERE(); + register int first = 1; /* first subexpression? */ + register int wasdollar = 0; + + if (EAT('^')) { + EMIT(OBOL, 0); + p->g->iflags |= USEBOL; + p->g->nbol++; + } + while (MORE() && !SEETWO(end1, end2)) { + wasdollar = p_simp_re(p, first); + first = 0; + } + if (wasdollar) { /* oops, that was a trailing anchor */ + DROP(1); + EMIT(OEOL, 0); + p->g->iflags |= USEEOL; + p->g->neol++; + } + + REQUIRE(HERE() != start, REG_EMPTY); /* require nonempty */ +} + +/* + - p_simp_re - parse a simple RE, an atom possibly followed by a repetition + == static int p_simp_re(register struct parse *p, int starordinary); + */ +static int /* was the simple RE an unbackslashed $? */ +p_simp_re(p, starordinary) +register struct parse *p; +int starordinary; /* is a leading * an ordinary character? */ +{ + register int c; + register int count; + register int count2; + register sopno pos; + register int i; + register sopno subno; +# define BACKSL (1<g->cflags®_NEWLINE) + nonnewline(p); + else + EMIT(OANY, 0); + break; + case '[': + p_bracket(p); + break; + case BACKSL|'{': + SETERROR(REG_BADRPT); + break; + case BACKSL|'(': + p->g->nsub++; + subno = p->g->nsub; + if (subno < NPAREN) + p->pbegin[subno] = HERE(); + EMIT(OLPAREN, subno); + /* the MORE here is an error heuristic */ + if (MORE() && !SEETWO('\\', ')')) + p_bre(p, '\\', ')'); + if (subno < NPAREN) { + p->pend[subno] = HERE(); + assert(p->pend[subno] != 0); + } + EMIT(ORPAREN, subno); + REQUIRE(EATTWO('\\', ')'), REG_EPAREN); + break; + case BACKSL|')': /* should not get here -- must be user */ + case BACKSL|'}': + SETERROR(REG_EPAREN); + break; + case BACKSL|'1': + case BACKSL|'2': + case BACKSL|'3': + case BACKSL|'4': + case BACKSL|'5': + case BACKSL|'6': + case BACKSL|'7': + case BACKSL|'8': + case BACKSL|'9': + i = (c&~BACKSL) - '0'; + assert(i < NPAREN); + if (p->pend[i] != 0) { + assert(i <= p->g->nsub); + EMIT(OBACK_, i); + assert(p->pbegin[i] != 0); + assert(OP(p->strip[p->pbegin[i]]) == OLPAREN); + assert(OP(p->strip[p->pend[i]]) == ORPAREN); + (void) dupl(p, p->pbegin[i]+1, p->pend[i]); + EMIT(O_BACK, i); + } else + SETERROR(REG_ESUBREG); + p->g->backrefs = 1; + break; + case '*': + REQUIRE(starordinary, REG_BADRPT); + /* FALLTHROUGH */ + default: + ordinary(p, (char)c); /* takes off BACKSL, if any */ + break; + } + + if (EAT('*')) { /* implemented as +? */ + /* this case does not require the (y|) trick, noKLUDGE */ + INSERT(OPLUS_, pos); + ASTERN(O_PLUS, pos); + INSERT(OQUEST_, pos); + ASTERN(O_QUEST, pos); + } else if (EATTWO('\\', '{')) { + count = p_count(p); + if (EAT(',')) { + if (MORE() && isdigit(PEEK())) { + count2 = p_count(p); + REQUIRE(count <= count2, REG_BADBR); + } else /* single number with comma */ + count2 = INFINITY; + } else /* just a single number */ + count2 = count; + repeat(p, pos, count, count2); + if (!EATTWO('\\', '}')) { /* error heuristics */ + while (MORE() && !SEETWO('\\', '}')) + NEXT(); + REQUIRE(MORE(), REG_EBRACE); + SETERROR(REG_BADBR); + } + } else if (c == (unsigned char)'$') /* $ (but not \$) ends it */ + return(1); + + return(0); +} + +/* + - p_count - parse a repetition count + == static int p_count(register struct parse *p); + */ +static int /* the value */ +p_count(p) +register struct parse *p; +{ + register int count = 0; + register int ndigits = 0; + + while (MORE() && isdigit(PEEK()) && count <= DUPMAX) { + count = count*10 + (GETNEXT() - '0'); + ndigits++; + } + + REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); + return(count); +} + +/* + - p_bracket - parse a bracketed character list + == static void p_bracket(register struct parse *p); + * + * Note a significant property of this code: if the allocset() did SETERROR, + * no set operations are done. + */ +static void +p_bracket(p) +register struct parse *p; +{ + register cset *cs = allocset(p); + register int invert = 0; + + /* Dept of Truly Sickening Special-Case Kludges */ + if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", 6) == 0) { + EMIT(OBOW, 0); + NEXTn(6); + return; + } + if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", 6) == 0) { + EMIT(OEOW, 0); + NEXTn(6); + return; + } + + if (EAT('^')) + invert++; /* make note to invert set at end */ + if (EAT(']')) + CHadd(cs, ']'); + else if (EAT('-')) + CHadd(cs, '-'); + while (MORE() && PEEK() != ']' && !SEETWO('-', ']')) + p_b_term(p, cs); + if (EAT('-')) + CHadd(cs, '-'); + MUSTEAT(']', REG_EBRACK); + + if (p->error != 0) /* don't mess things up further */ + return; + + if (p->g->cflags®_ICASE) { + register int i; + register int ci; + + for (i = p->g->csetsize - 1; i >= 0; i--) + if (CHIN(cs, i) && isalpha(i)) { + ci = othercase(i); + if (ci != i) + CHadd(cs, ci); + } + if (cs->multis != NULL) + mccase(p, cs); + } + if (invert) { + register int i; + + for (i = p->g->csetsize - 1; i >= 0; i--) + if (CHIN(cs, i)) + CHsub(cs, i); + else + CHadd(cs, i); + if (p->g->cflags®_NEWLINE) + CHsub(cs, '\n'); + if (cs->multis != NULL) + mcinvert(p, cs); + } + + assert(cs->multis == NULL); /* xxx */ + + if (nch(p, cs) == 1) { /* optimize singleton sets */ + ordinary(p, firstch(p, cs)); + freeset(p, cs); + } else + EMIT(OANYOF, freezeset(p, cs)); +} + +/* + - p_b_term - parse one term of a bracketed character list + == static void p_b_term(register struct parse *p, register cset *cs); + */ +static void +p_b_term(p, cs) +register struct parse *p; +register cset *cs; +{ + register char c; + register char start, finish; + register int i; + + /* classify what we've got */ + switch ((MORE()) ? PEEK() : '\0') { + case '[': + c = (MORE2()) ? PEEK2() : '\0'; + break; + case '-': + SETERROR(REG_ERANGE); + return; /* NOTE RETURN */ + break; + default: + c = '\0'; + break; + } + + switch (c) { + case ':': /* character class */ + NEXT2(); + REQUIRE(MORE(), REG_EBRACK); + c = PEEK(); + REQUIRE(c != '-' && c != ']', REG_ECTYPE); + p_b_cclass(p, cs); + REQUIRE(MORE(), REG_EBRACK); + REQUIRE(EATTWO(':', ']'), REG_ECTYPE); + break; + case '=': /* equivalence class */ + NEXT2(); + REQUIRE(MORE(), REG_EBRACK); + c = PEEK(); + REQUIRE(c != '-' && c != ']', REG_ECOLLATE); + p_b_eclass(p, cs); + REQUIRE(MORE(), REG_EBRACK); + REQUIRE(EATTWO('=', ']'), REG_ECOLLATE); + break; + default: /* symbol, ordinary character, or range */ +/* xxx revision needed for multichar stuff */ + start = p_b_symbol(p); + if (SEE('-') && MORE2() && PEEK2() != ']') { + /* range */ + NEXT(); + if (EAT('-')) + finish = '-'; + else + finish = p_b_symbol(p); + } else + finish = start; +/* xxx what about signed chars here... */ + REQUIRE(start <= finish, REG_ERANGE); + for (i = start; i <= finish; i++) + CHadd(cs, i); + break; + } +} + +/* + - p_b_cclass - parse a character-class name and deal with it + == static void p_b_cclass(register struct parse *p, register cset *cs); + */ +static void +p_b_cclass(p, cs) +register struct parse *p; +register cset *cs; +{ + register char *sp = p->next; + register struct cclass *cp; + register size_t len; + register char *u; + register char c; + + while (MORE() && isalpha(PEEK())) + NEXT(); + len = p->next - sp; + for (cp = cclasses; cp->name != NULL; cp++) + if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0') + break; + if (cp->name == NULL) { + /* oops, didn't find it */ + SETERROR(REG_ECTYPE); + return; + } + + u = cp->chars; + while ((c = *u++) != '\0') + CHadd(cs, c); + for (u = cp->multis; *u != '\0'; u += strlen(u) + 1) + MCadd(p, cs, u); +} + +/* + - p_b_eclass - parse an equivalence-class name and deal with it + == static void p_b_eclass(register struct parse *p, register cset *cs); + * + * This implementation is incomplete. xxx + */ +static void +p_b_eclass(p, cs) +register struct parse *p; +register cset *cs; +{ + register char c; + + c = p_b_coll_elem(p, '='); + CHadd(cs, c); +} + +/* + - p_b_symbol - parse a character or [..]ed multicharacter collating symbol + == static char p_b_symbol(register struct parse *p); + */ +static char /* value of symbol */ +p_b_symbol(p) +register struct parse *p; +{ + register char value; + + REQUIRE(MORE(), REG_EBRACK); + if (!EATTWO('[', '.')) + return(GETNEXT()); + + /* collating symbol */ + value = p_b_coll_elem(p, '.'); + REQUIRE(EATTWO('.', ']'), REG_ECOLLATE); + return(value); +} + +/* + - p_b_coll_elem - parse a collating-element name and look it up + == static char p_b_coll_elem(register struct parse *p, int endc); + */ +static char /* value of collating element */ +p_b_coll_elem(p, endc) +register struct parse *p; +int endc; /* name ended by endc,']' */ +{ + register char *sp = p->next; + register struct cname *cp; + register int len; + + while (MORE() && !SEETWO(endc, ']')) + NEXT(); + if (!MORE()) { + SETERROR(REG_EBRACK); + return(0); + } + len = p->next - sp; + for (cp = cnames; cp->name != NULL; cp++) + if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0') + return(cp->code); /* known name */ + if (len == 1) + return(*sp); /* single character */ + SETERROR(REG_ECOLLATE); /* neither */ + return(0); +} + +/* + - othercase - return the case counterpart of an alphabetic + == static char othercase(int ch); + */ +static char /* if no counterpart, return ch */ +othercase(ch) +int ch; +{ + assert(isalpha(ch)); + if (isupper(ch)) + return(tolower(ch)); + else if (islower(ch)) + return(toupper(ch)); + else /* peculiar, but could happen */ + return(ch); +} + +/* + - bothcases - emit a dualcase version of a two-case character + == static void bothcases(register struct parse *p, int ch); + * + * Boy, is this implementation ever a kludge... + */ +static void +bothcases(p, ch) +register struct parse *p; +int ch; +{ + register char *oldnext = p->next; + register char *oldend = p->end; + char bracket[3]; + + assert(othercase(ch) != ch); /* p_bracket() would recurse */ + p->next = bracket; + p->end = bracket+2; + bracket[0] = ch; + bracket[1] = ']'; + bracket[2] = '\0'; + p_bracket(p); + assert(p->next == bracket+2); + p->next = oldnext; + p->end = oldend; +} + +/* + - ordinary - emit an ordinary character + == static void ordinary(register struct parse *p, register int ch); + */ +static void +ordinary(p, ch) +register struct parse *p; +register int ch; +{ + register cat_t *cap = p->g->categories; + + if ((p->g->cflags®_ICASE) && isalpha(ch) && othercase(ch) != ch) + bothcases(p, ch); + else { + EMIT(OCHAR, (unsigned char)ch); + if (cap[ch] == 0) + cap[ch] = p->g->ncategories++; + } +} + +/* + - nonnewline - emit REG_NEWLINE version of OANY + == static void nonnewline(register struct parse *p); + * + * Boy, is this implementation ever a kludge... + */ +static void +nonnewline(p) +register struct parse *p; +{ + register char *oldnext = p->next; + register char *oldend = p->end; + char bracket[4]; + + p->next = bracket; + p->end = bracket+3; + bracket[0] = '^'; + bracket[1] = '\n'; + bracket[2] = ']'; + bracket[3] = '\0'; + p_bracket(p); + assert(p->next == bracket+3); + p->next = oldnext; + p->end = oldend; +} + +/* + - repeat - generate code for a bounded repetition, recursively if needed + == static void repeat(register struct parse *p, sopno start, int from, int to); + */ +static void +repeat(p, start, from, to) +register struct parse *p; +sopno start; /* operand from here to end of strip */ +int from; /* repeated from this number */ +int to; /* to this number of times (maybe INFINITY) */ +{ + register sopno finish = HERE(); +# define N 2 +# define INF 3 +# define REP(f, t) ((f)*8 + (t)) +# define MAP(n) (((n) <= 1) ? (n) : ((n) == INFINITY) ? INF : N) + register sopno copy; + + if (p->error != 0) /* head off possible runaway recursion */ + return; + + assert(from <= to); + + switch (REP(MAP(from), MAP(to))) { + case REP(0, 0): /* must be user doing this */ + DROP(finish-start); /* drop the operand */ + break; + case REP(0, 1): /* as x{1,1}? */ + case REP(0, N): /* as x{1,n}? */ + case REP(0, INF): /* as x{1,}? */ + /* KLUDGE: emit y? as (y|) until subtle bug gets fixed */ + INSERT(OCH_, start); /* offset is wrong... */ + repeat(p, start+1, 1, to); + ASTERN(OOR1, start); + AHEAD(start); /* ... fix it */ + EMIT(OOR2, 0); + AHEAD(THERE()); + ASTERN(O_CH, THERETHERE()); + break; + case REP(1, 1): /* trivial case */ + /* done */ + break; + case REP(1, N): /* as x?x{1,n-1} */ + /* KLUDGE: emit y? as (y|) until subtle bug gets fixed */ + INSERT(OCH_, start); + ASTERN(OOR1, start); + AHEAD(start); + EMIT(OOR2, 0); /* offset very wrong... */ + AHEAD(THERE()); /* ...so fix it */ + ASTERN(O_CH, THERETHERE()); + copy = dupl(p, start+1, finish+1); + assert(copy == finish+4); + repeat(p, copy, 1, to-1); + break; + case REP(1, INF): /* as x+ */ + INSERT(OPLUS_, start); + ASTERN(O_PLUS, start); + break; + case REP(N, N): /* as xx{m-1,n-1} */ + copy = dupl(p, start, finish); + repeat(p, copy, from-1, to-1); + break; + case REP(N, INF): /* as xx{n-1,INF} */ + copy = dupl(p, start, finish); + repeat(p, copy, from-1, to); + break; + default: /* "can't happen" */ + SETERROR(REG_ASSERT); /* just in case */ + break; + } +} + +/* + - seterr - set an error condition + == static int seterr(register struct parse *p, int e); + */ +static int /* useless but makes type checking happy */ +seterr(p, e) +register struct parse *p; +int e; +{ + if (p->error == 0) /* keep earliest error condition */ + p->error = e; + p->next = nuls; /* try to bring things to a halt */ + p->end = nuls; + return(0); /* make the return value well-defined */ +} + +/* + - allocset - allocate a set of characters for [] + == static cset *allocset(register struct parse *p); + */ +static cset * +allocset(p) +register struct parse *p; +{ + register int no = p->g->ncsets++; + register size_t nc; + register size_t nbytes; + register cset *cs; + register size_t css = (size_t)p->g->csetsize; + register int i; + + if (no >= p->ncsalloc) { /* need another column of space */ + p->ncsalloc += CHAR_BIT; + nc = p->ncsalloc; + assert(nc % CHAR_BIT == 0); + nbytes = nc / CHAR_BIT * css; + if (p->g->sets == NULL) + p->g->sets = (cset *)malloc(nc * sizeof(cset)); + else + p->g->sets = (cset *)realloc((char *)p->g->sets, + nc * sizeof(cset)); + if (p->g->setbits == NULL) + p->g->setbits = (uch *)malloc(nbytes); + else { + p->g->setbits = (uch *)realloc((char *)p->g->setbits, + nbytes); + /* xxx this isn't right if setbits is now NULL */ + for (i = 0; i < no; i++) + p->g->sets[i].ptr = p->g->setbits + css*(i/CHAR_BIT); + } + if (p->g->sets != NULL && p->g->setbits != NULL) + (void) memset((char *)p->g->setbits + (nbytes - css), + 0, css); + else { + no = 0; + SETERROR(REG_ESPACE); + /* caller's responsibility not to do set ops */ + } + } + + assert(p->g->sets != NULL); /* xxx */ + cs = &p->g->sets[no]; + cs->ptr = p->g->setbits + css*((no)/CHAR_BIT); + cs->mask = 1 << ((no) % CHAR_BIT); + cs->hash = 0; + cs->smultis = 0; + cs->multis = NULL; + + return(cs); +} + +/* + - freeset - free a now-unused set + == static void freeset(register struct parse *p, register cset *cs); + */ +static void +freeset(p, cs) +register struct parse *p; +register cset *cs; +{ + register size_t i; + register cset *top = &p->g->sets[p->g->ncsets]; + register size_t css = (size_t)p->g->csetsize; + + for (i = 0; i < css; i++) + CHsub(cs, i); + if (cs == top-1) /* recover only the easy case */ + p->g->ncsets--; +} + +/* + - freezeset - final processing on a set of characters + == static int freezeset(register struct parse *p, register cset *cs); + * + * The main task here is merging identical sets. This is usually a waste + * of time (although the hash code minimizes the overhead), but can win + * big if REG_ICASE is being used. REG_ICASE, by the way, is why the hash + * is done using addition rather than xor -- all ASCII [aA] sets xor to + * the same value! + */ +static int /* set number */ +freezeset(p, cs) +register struct parse *p; +register cset *cs; +{ + register uch h = cs->hash; + register size_t i; + register cset *top = &p->g->sets[p->g->ncsets]; + register cset *cs2; + register size_t css = (size_t)p->g->csetsize; + + /* look for an earlier one which is the same */ + for (cs2 = &p->g->sets[0]; cs2 < top; cs2++) + if (cs2->hash == h && cs2 != cs) { + /* maybe */ + for (i = 0; i < css; i++) + if (!!CHIN(cs2, i) != !!CHIN(cs, i)) + break; /* no */ + if (i == css) + break; /* yes */ + } + + if (cs2 < top) { /* found one */ + freeset(p, cs); + cs = cs2; + } + + return((int)(cs - p->g->sets)); +} + +/* + - firstch - return first character in a set (which must have at least one) + == static int firstch(register struct parse *p, register cset *cs); + */ +static int /* character; there is no "none" value */ +firstch(p, cs) +register struct parse *p; +register cset *cs; +{ + register size_t i; + register size_t css = (size_t)p->g->csetsize; + + for (i = 0; i < css; i++) + if (CHIN(cs, i)) + return((char)i); + assert(never); + return(0); /* arbitrary */ +} + +/* + - nch - number of characters in a set + == static int nch(register struct parse *p, register cset *cs); + */ +static int +nch(p, cs) +register struct parse *p; +register cset *cs; +{ + register size_t i; + register size_t css = (size_t)p->g->csetsize; + register int n = 0; + + for (i = 0; i < css; i++) + if (CHIN(cs, i)) + n++; + return(n); +} + +/* + - mcadd - add a collating element to a cset + == static void mcadd(register struct parse *p, register cset *cs, \ + == register char *cp); + */ +static void +mcadd(p, cs, cp) +register struct parse *p; +register cset *cs; +register char *cp; +{ + register size_t oldend = cs->smultis; + + cs->smultis += strlen(cp) + 1; + if (cs->multis == NULL) + cs->multis = malloc(cs->smultis); + else + cs->multis = realloc(cs->multis, cs->smultis); + if (cs->multis == NULL) { + SETERROR(REG_ESPACE); + return; + } + + (void) strcpy(cs->multis + oldend - 1, cp); + cs->multis[cs->smultis - 1] = '\0'; +} + +/* + - mcsub - subtract a collating element from a cset + == static void mcsub(register cset *cs, register char *cp); + */ +static void +mcsub(cs, cp) +register cset *cs; +register char *cp; +{ + register char *fp = mcfind(cs, cp); + register size_t len = strlen(fp); + + assert(fp != NULL); + (void) memmove(fp, fp + len + 1, + cs->smultis - (fp + len + 1 - cs->multis)); + cs->smultis -= len; + + if (cs->smultis == 0) { + free(cs->multis); + cs->multis = NULL; + return; + } + + cs->multis = realloc(cs->multis, cs->smultis); + assert(cs->multis != NULL); +} + +/* + - mcin - is a collating element in a cset? + == static int mcin(register cset *cs, register char *cp); + */ +static int +mcin(cs, cp) +register cset *cs; +register char *cp; +{ + return(mcfind(cs, cp) != NULL); +} + +/* + - mcfind - find a collating element in a cset + == static char *mcfind(register cset *cs, register char *cp); + */ +static char * +mcfind(cs, cp) +register cset *cs; +register char *cp; +{ + register char *p; + + if (cs->multis == NULL) + return(NULL); + for (p = cs->multis; *p != '\0'; p += strlen(p) + 1) + if (strcmp(cp, p) == 0) + return(p); + return(NULL); +} + +/* + - mcinvert - invert the list of collating elements in a cset + == static void mcinvert(register struct parse *p, register cset *cs); + * + * This would have to know the set of possibilities. Implementation + * is deferred. + */ +static void +mcinvert(p, cs) +register struct parse *p; +register cset *cs; +{ + assert(cs->multis == NULL); /* xxx */ +} + +/* + - mccase - add case counterparts of the list of collating elements in a cset + == static void mccase(register struct parse *p, register cset *cs); + * + * This would have to know the set of possibilities. Implementation + * is deferred. + */ +static void +mccase(p, cs) +register struct parse *p; +register cset *cs; +{ + assert(cs->multis == NULL); /* xxx */ +} + +/* + - isinsets - is this character in any sets? + == static int isinsets(register struct re_guts *g, int c); + */ +static int /* predicate */ +isinsets(g, c) +register struct re_guts *g; +int c; +{ + register uch *col; + register int i; + register int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; + register unsigned uc = (unsigned char)c; + + for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) + if (col[uc] != 0) + return(1); + return(0); +} + +/* + - samesets - are these two characters in exactly the same sets? + == static int samesets(register struct re_guts *g, int c1, int c2); + */ +static int /* predicate */ +samesets(g, c1, c2) +register struct re_guts *g; +int c1; +int c2; +{ + register uch *col; + register int i; + register int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; + register unsigned uc1 = (unsigned char)c1; + register unsigned uc2 = (unsigned char)c2; + + for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize) + if (col[uc1] != col[uc2]) + return(0); + return(1); +} + +/* + - categorize - sort out character categories + == static void categorize(struct parse *p, register struct re_guts *g); + */ +static void +categorize(p, g) +struct parse *p; +register struct re_guts *g; +{ + register cat_t *cats = g->categories; + register int c; + register int c2; + register cat_t cat; + + /* avoid making error situations worse */ + if (p->error != 0) + return; + + for (c = CHAR_MIN; c <= CHAR_MAX; c++) + if (cats[c] == 0 && isinsets(g, c)) { + cat = g->ncategories++; + cats[c] = cat; + for (c2 = c+1; c2 <= CHAR_MAX; c2++) + if (cats[c2] == 0 && samesets(g, c, c2)) + cats[c2] = cat; + } +} + +/* + - dupl - emit a duplicate of a bunch of sops + == static sopno dupl(register struct parse *p, sopno start, sopno finish); + */ +static sopno /* start of duplicate */ +dupl(p, start, finish) +register struct parse *p; +sopno start; /* from here */ +sopno finish; /* to this less one */ +{ + register sopno ret = HERE(); + register sopno len = finish - start; + + assert(finish >= start); + if (len == 0) + return(ret); + enlarge(p, p->ssize + len); /* this many unexpected additions */ + assert(p->ssize >= p->slen + len); + (void) memmove((char *)(p->strip + p->slen), + (char *)(p->strip + start), (size_t)len*sizeof(sop)); + p->slen += len; + return(ret); +} + +/* + - doemit - emit a strip operator + == static void doemit(register struct parse *p, sop op, size_t opnd); + * + * It might seem better to implement this as a macro with a function as + * hard-case backup, but it's just too big and messy unless there are + * some changes to the data structures. Maybe later. + */ +static void +doemit(p, op, opnd) +register struct parse *p; +sop op; +size_t opnd; +{ + /* avoid making error situations worse */ + if (p->error != 0) + return; + + /* deal with oversize operands ("can't happen", more or less) */ + assert(opnd < 1<slen >= p->ssize) + enlarge(p, (p->ssize+1) / 2 * 3); /* +50% */ + assert(p->slen < p->ssize); + + /* finally, it's all reduced to the easy case */ + p->strip[p->slen++] = SOP(op, opnd); +} + +/* + - doinsert - insert a sop into the strip + == static void doinsert(register struct parse *p, sop op, size_t opnd, sopno pos); + */ +static void +doinsert(p, op, opnd, pos) +register struct parse *p; +sop op; +size_t opnd; +sopno pos; +{ + register sopno sn; + register sop s; + register int i; + + /* avoid making error situations worse */ + if (p->error != 0) + return; + + sn = HERE(); + EMIT(op, opnd); /* do checks, ensure space */ + assert(HERE() == sn+1); + s = p->strip[sn]; + + /* adjust paren pointers */ + assert(pos > 0); + for (i = 1; i < NPAREN; i++) { + if (p->pbegin[i] >= pos) { + p->pbegin[i]++; + } + if (p->pend[i] >= pos) { + p->pend[i]++; + } + } + + memmove((char *)&p->strip[pos+1], (char *)&p->strip[pos], + (HERE()-pos-1)*sizeof(sop)); + p->strip[pos] = s; +} + +/* + - dofwd - complete a forward reference + == static void dofwd(register struct parse *p, sopno pos, sop value); + */ +static void +dofwd(p, pos, value) +register struct parse *p; +register sopno pos; +sop value; +{ + /* avoid making error situations worse */ + if (p->error != 0) + return; + + assert(value < 1<strip[pos] = OP(p->strip[pos]) | value; +} + +/* + - enlarge - enlarge the strip + == static void enlarge(register struct parse *p, sopno size); + */ +static void +enlarge(p, size) +register struct parse *p; +register sopno size; +{ + register sop *sp; + + if (p->ssize >= size) + return; + + sp = (sop *)realloc(p->strip, size*sizeof(sop)); + if (sp == NULL) { + SETERROR(REG_ESPACE); + return; + } + p->strip = sp; + p->ssize = size; +} + +/* + - stripsnug - compact the strip + == static void stripsnug(register struct parse *p, register struct re_guts *g); + */ +static void +stripsnug(p, g) +register struct parse *p; +register struct re_guts *g; +{ + g->nstates = p->slen; + g->strip = (sop *)realloc((char *)p->strip, p->slen * sizeof(sop)); + if (g->strip == NULL) { + SETERROR(REG_ESPACE); + g->strip = p->strip; + } +} + +/* + - findmust - fill in must and mlen with longest mandatory literal string + == static void findmust(register struct parse *p, register struct re_guts *g); + * + * This algorithm could do fancy things like analyzing the operands of | + * for common subsequences. Someday. This code is simple and finds most + * of the interesting cases. + * + * Note that must and mlen got initialized during setup. + */ +static void +findmust(p, g) +struct parse *p; +register struct re_guts *g; +{ + register sop *scan; + sop *start; + register sop *newstart; + register sopno newlen; + register sop s; + register char *cp; + register sopno i; + + /* avoid making error situations worse */ + if (p->error != 0) + return; + + /* find the longest OCHAR sequence in strip */ + newlen = 0; + scan = g->strip + 1; + do { + s = *scan++; + switch (OP(s)) { + case OCHAR: /* sequence member */ + if (newlen == 0) /* new sequence */ + newstart = scan - 1; + newlen++; + break; + case OPLUS_: /* things that don't break one */ + case OLPAREN: + case ORPAREN: + break; + case OQUEST_: /* things that must be skipped */ + case OCH_: + scan--; + do { + scan += OPND(s); + s = *scan; + /* assert() interferes w debug printouts */ + if (OP(s) != O_QUEST && OP(s) != O_CH && + OP(s) != OOR2) { + g->iflags |= BAD; + return; + } + } while (OP(s) != O_QUEST && OP(s) != O_CH); + /* fallthrough */ + default: /* things that break a sequence */ + if (newlen > g->mlen) { /* ends one */ + start = newstart; + g->mlen = newlen; + } + newlen = 0; + break; + } + } while (OP(s) != OEND); + + if (g->mlen == 0) /* there isn't one */ + return; + + /* turn it into a character string */ + g->must = malloc((size_t)g->mlen + 1); + if (g->must == NULL) { /* argh; just forget it */ + g->mlen = 0; + return; + } + cp = g->must; + scan = start; + for (i = g->mlen; i > 0; i--) { + while (OP(s = *scan++) != OCHAR) + continue; + assert(cp < g->must + g->mlen); + *cp++ = (char)OPND(s); + } + assert(cp == g->must + g->mlen); + *cp++ = '\0'; /* just on general principles */ +} + +/* + - pluscount - count + nesting + == static sopno pluscount(register struct parse *p, register struct re_guts *g); + */ +static sopno /* nesting depth */ +pluscount(p, g) +struct parse *p; +register struct re_guts *g; +{ + register sop *scan; + register sop s; + register sopno plusnest = 0; + register sopno maxnest = 0; + + if (p->error != 0) + return(0); /* there may not be an OEND */ + + scan = g->strip + 1; + do { + s = *scan++; + switch (OP(s)) { + case OPLUS_: + plusnest++; + break; + case O_PLUS: + if (plusnest > maxnest) + maxnest = plusnest; + plusnest--; + break; + } + } while (OP(s) != OEND); + if (plusnest != 0) + g->iflags |= BAD; + return(maxnest); +} diff --git a/vcnet/regex/regcomp.ih b/vcnet/regex/regcomp.ih new file mode 100644 index 0000000..0776e71 --- /dev/null +++ b/vcnet/regex/regcomp.ih @@ -0,0 +1,51 @@ +/* ========= begin header generated by ./mkh ========= */ +#ifdef __cplusplus +extern "C" { +#endif + +/* === regcomp.c === */ +static void p_ere(register struct parse *p, int stop); +static void p_ere_exp(register struct parse *p); +static void p_str(register struct parse *p); +static void p_bre(register struct parse *p, register int end1, register int end2); +static int p_simp_re(register struct parse *p, int starordinary); +static int p_count(register struct parse *p); +static void p_bracket(register struct parse *p); +static void p_b_term(register struct parse *p, register cset *cs); +static void p_b_cclass(register struct parse *p, register cset *cs); +static void p_b_eclass(register struct parse *p, register cset *cs); +static char p_b_symbol(register struct parse *p); +static char p_b_coll_elem(register struct parse *p, int endc); +static char othercase(int ch); +static void bothcases(register struct parse *p, int ch); +static void ordinary(register struct parse *p, register int ch); +static void nonnewline(register struct parse *p); +static void repeat(register struct parse *p, sopno start, int from, int to); +static int seterr(register struct parse *p, int e); +static cset *allocset(register struct parse *p); +static void freeset(register struct parse *p, register cset *cs); +static int freezeset(register struct parse *p, register cset *cs); +static int firstch(register struct parse *p, register cset *cs); +static int nch(register struct parse *p, register cset *cs); +static void mcadd(register struct parse *p, register cset *cs, register char *cp); +static void mcsub(register cset *cs, register char *cp); +static int mcin(register cset *cs, register char *cp); +static char *mcfind(register cset *cs, register char *cp); +static void mcinvert(register struct parse *p, register cset *cs); +static void mccase(register struct parse *p, register cset *cs); +static int isinsets(register struct re_guts *g, int c); +static int samesets(register struct re_guts *g, int c1, int c2); +static void categorize(struct parse *p, register struct re_guts *g); +static sopno dupl(register struct parse *p, sopno start, sopno finish); +static void doemit(register struct parse *p, sop op, size_t opnd); +static void doinsert(register struct parse *p, sop op, size_t opnd, sopno pos); +static void dofwd(register struct parse *p, sopno pos, sop value); +static void enlarge(register struct parse *p, sopno size); +static void stripsnug(register struct parse *p, register struct re_guts *g); +static void findmust(register struct parse *p, register struct re_guts *g); +static sopno pluscount(register struct parse *p, register struct re_guts *g); + +#ifdef __cplusplus +} +#endif +/* ========= end header generated by ./mkh ========= */ diff --git a/vcnet/regex/regerror.c b/vcnet/regex/regerror.c new file mode 100644 index 0000000..9ddd25c --- /dev/null +++ b/vcnet/regex/regerror.c @@ -0,0 +1,126 @@ +#include +#include +#include +#include +#include +#include +#include + +#include "utils.h" +#include "regerror.ih" + +/* + = #define REG_OKAY 0 + = #define REG_NOMATCH 1 + = #define REG_BADPAT 2 + = #define REG_ECOLLATE 3 + = #define REG_ECTYPE 4 + = #define REG_EESCAPE 5 + = #define REG_ESUBREG 6 + = #define REG_EBRACK 7 + = #define REG_EPAREN 8 + = #define REG_EBRACE 9 + = #define REG_BADBR 10 + = #define REG_ERANGE 11 + = #define REG_ESPACE 12 + = #define REG_BADRPT 13 + = #define REG_EMPTY 14 + = #define REG_ASSERT 15 + = #define REG_INVARG 16 + = #define REG_ATOI 255 // convert name to number (!) + = #define REG_ITOA 0400 // convert number to name (!) + */ +static struct rerr { + int code; + char *name; + char *explain; +} rerrs[] = { + REG_OKAY, "REG_OKAY", "no errors detected", + REG_NOMATCH, "REG_NOMATCH", "regexec() failed to match", + REG_BADPAT, "REG_BADPAT", "invalid regular expression", + REG_ECOLLATE, "REG_ECOLLATE", "invalid collating element", + REG_ECTYPE, "REG_ECTYPE", "invalid character class", + REG_EESCAPE, "REG_EESCAPE", "trailing backslash (\\)", + REG_ESUBREG, "REG_ESUBREG", "invalid backreference number", + REG_EBRACK, "REG_EBRACK", "brackets ([ ]) not balanced", + REG_EPAREN, "REG_EPAREN", "parentheses not balanced", + REG_EBRACE, "REG_EBRACE", "braces not balanced", + REG_BADBR, "REG_BADBR", "invalid repetition count(s)", + REG_ERANGE, "REG_ERANGE", "invalid character range", + REG_ESPACE, "REG_ESPACE", "out of memory", + REG_BADRPT, "REG_BADRPT", "repetition-operator operand invalid", + REG_EMPTY, "REG_EMPTY", "empty (sub)expression", + REG_ASSERT, "REG_ASSERT", "\"can't happen\" -- you found a bug", + REG_INVARG, "REG_INVARG", "invalid argument to regex routine", + -1, "", "*** unknown regexp error code ***", +}; + +/* + - regerror - the interface to error numbers + = extern size_t regerror(int, const regex_t *, char *, size_t); + */ +/* ARGSUSED */ +size_t +regerror( +int errcode, +const regex_t *preg, +char *errbuf, +size_t errbuf_size) +{ + register struct rerr *r; + register size_t len; + register int target = errcode &~ REG_ITOA; + register char *s; + char convbuf[50]; + + if (errcode == REG_ATOI) + s = regatoi(preg, convbuf); + else { + for (r = rerrs; r->code >= 0; r++) + if (r->code == target) + break; + + if (errcode®_ITOA) { + if (r->code >= 0) + (void) strcpy(convbuf, r->name); + else + sprintf(convbuf, "REG_0x%x", target); + assert(strlen(convbuf) < sizeof(convbuf)); + s = convbuf; + } else + s = r->explain; + } + + len = strlen(s) + 1; + if (errbuf_size > 0) { + if (errbuf_size > len) + (void) strcpy(errbuf, s); + else { + (void) strncpy(errbuf, s, errbuf_size-1); + errbuf[errbuf_size-1] = '\0'; + } + } + + return(len); +} + +/* + - regatoi - internal routine to implement REG_ATOI + == static char *regatoi(const regex_t *preg, char *localbuf); + */ +static char * +regatoi(preg, localbuf) +const regex_t *preg; +char *localbuf; +{ + register struct rerr *r; + + for (r = rerrs; r->code >= 0; r++) + if (strcmp(r->name, preg->re_endp) == 0) + break; + if (r->code < 0) + return("0"); + + sprintf(localbuf, "%d", r->code); + return(localbuf); +} diff --git a/vcnet/regex/regerror.ih b/vcnet/regex/regerror.ih new file mode 100644 index 0000000..2cb668c --- /dev/null +++ b/vcnet/regex/regerror.ih @@ -0,0 +1,12 @@ +/* ========= begin header generated by ./mkh ========= */ +#ifdef __cplusplus +extern "C" { +#endif + +/* === regerror.c === */ +static char *regatoi(const regex_t *preg, char *localbuf); + +#ifdef __cplusplus +} +#endif +/* ========= end header generated by ./mkh ========= */ diff --git a/vcnet/regex/regex.3 b/vcnet/regex/regex.3 new file mode 100644 index 0000000..bc74709 --- /dev/null +++ b/vcnet/regex/regex.3 @@ -0,0 +1,509 @@ +.TH REGEX 3 "25 Sept 1997" +.BY "Henry Spencer" +.de ZR +.\" one other place knows this name: the SEE ALSO section +.IR regex (7) \\$1 +.. +.SH NAME +regcomp, regexec, regerror, regfree \- regular-expression library +.SH SYNOPSIS +.ft B +.\".na +#include +.br +#include +.HP 10 +int regcomp(regex_t\ *preg, const\ char\ *pattern, int\ cflags); +.HP +int\ regexec(const\ regex_t\ *preg, const\ char\ *string, +size_t\ nmatch, regmatch_t\ pmatch[], int\ eflags); +.HP +size_t\ regerror(int\ errcode, const\ regex_t\ *preg, +char\ *errbuf, size_t\ errbuf_size); +.HP +void\ regfree(regex_t\ *preg); +.\".ad +.ft +.SH DESCRIPTION +These routines implement POSIX 1003.2 regular expressions (``RE''s); +see +.ZR . +.I Regcomp +compiles an RE written as a string into an internal form, +.I regexec +matches that internal form against a string and reports results, +.I regerror +transforms error codes from either into human-readable messages, +and +.I regfree +frees any dynamically-allocated storage used by the internal form +of an RE. +.PP +The header +.I +declares two structure types, +.I regex_t +and +.IR regmatch_t , +the former for compiled internal forms and the latter for match reporting. +It also declares the four functions, +a type +.IR regoff_t , +and a number of constants with names starting with ``REG_''. +.PP +.I Regcomp +compiles the regular expression contained in the +.I pattern +string, +subject to the flags in +.IR cflags , +and places the results in the +.I regex_t +structure pointed to by +.IR preg . +.I Cflags +is the bitwise OR of zero or more of the following flags: +.IP REG_EXTENDED \w'REG_EXTENDED'u+2n +Compile modern (``extended'') REs, +rather than the obsolete (``basic'') REs that +are the default. +.IP REG_BASIC +This is a synonym for 0, +provided as a counterpart to REG_EXTENDED to improve readability. +This is an extension, +compatible with but not specified by POSIX 1003.2, +and should be used with +caution in software intended to be portable to other systems. +.IP REG_NOSPEC +Compile with recognition of all special characters turned off. +All characters are thus considered ordinary, +so the ``RE'' is a literal string. +This is an extension, +compatible with but not specified by POSIX 1003.2, +and should be used with +caution in software intended to be portable to other systems. +REG_EXTENDED and REG_NOSPEC may not be used +in the same call to +.IR regcomp . +.IP REG_ICASE +Compile for matching that ignores upper/lower case distinctions. +See +.ZR . +.IP REG_NOSUB +Compile for matching that need only report success or failure, +not what was matched. +.IP REG_NEWLINE +Compile for newline-sensitive matching. +By default, newline is a completely ordinary character with no special +meaning in either REs or strings. +With this flag, +`[^' bracket expressions and `.' never match newline, +a `^' anchor matches the null string after any newline in the string +in addition to its normal function, +and the `$' anchor matches the null string before any newline in the +string in addition to its normal function. +.IP REG_PEND +The regular expression ends, +not at the first NUL, +but just before the character pointed to by the +.I re_endp +member of the structure pointed to by +.IR preg . +The +.I re_endp +member is of type +.IR const\ char\ * . +This flag permits inclusion of NULs in the RE; +they are considered ordinary characters. +This is an extension, +compatible with but not specified by POSIX 1003.2, +and should be used with +caution in software intended to be portable to other systems. +.PP +When successful, +.I regcomp +returns 0 and fills in the structure pointed to by +.IR preg . +One member of that structure +(other than +.IR re_endp ) +is publicized: +.IR re_nsub , +of type +.IR size_t , +contains the number of parenthesized subexpressions within the RE +(except that the value of this member is undefined if the +REG_NOSUB flag was used). +If +.I regcomp +fails, it returns a non-zero error code; +see DIAGNOSTICS. +.PP +.I Regexec +matches the compiled RE pointed to by +.I preg +against the +.IR string , +subject to the flags in +.IR eflags , +and reports results using +.IR nmatch , +.IR pmatch , +and the returned value. +The RE must have been compiled by a previous invocation of +.IR regcomp . +The compiled form is not altered during execution of +.IR regexec , +so a single compiled RE can be used simultaneously by multiple threads. +.PP +By default, +the NUL-terminated string pointed to by +.I string +is considered to be the text of an entire line, +with the NUL indicating the end of the line. +(That is, +any other end-of-line marker is considered to have been removed +and replaced by the NUL.) +The +.I eflags +argument is the bitwise OR of zero or more of the following flags: +.IP REG_NOTBOL \w'REG_STARTEND'u+2n +The first character of +the string +is not the beginning of a line, so the `^' anchor should not match before it. +This does not affect the behavior of newlines under REG_NEWLINE. +.IP REG_NOTEOL +The NUL terminating +the string +does not end a line, so the `$' anchor should not match before it. +This does not affect the behavior of newlines under REG_NEWLINE. +.IP REG_STARTEND +The string is considered to start at +\fIstring\fR\ + \fIpmatch\fR[0].\fIrm_so\fR +and to have a terminating NUL located at +\fIstring\fR\ + \fIpmatch\fR[0].\fIrm_eo\fR +(there need not actually be a NUL at that location), +regardless of the value of +.IR nmatch . +See below for the definition of +.IR pmatch +and +.IR nmatch . +This is an extension, +compatible with but not specified by POSIX 1003.2, +and should be used with +caution in software intended to be portable to other systems. +Note that a non-zero \fIrm_so\fR does not imply REG_NOTBOL; +REG_STARTEND affects only the location of the string, +not how it is matched. +.PP +See +.ZR +for a discussion of what is matched in situations where an RE or a +portion thereof could match any of several substrings of +.IR string . +.PP +Normally, +.I regexec +returns 0 for success and the non-zero code REG_NOMATCH for failure. +Other non-zero error codes may be returned in exceptional situations; +see DIAGNOSTICS. +.PP +If REG_NOSUB was specified in the compilation of the RE, +or if +.I nmatch +is 0, +.I regexec +ignores the +.I pmatch +argument (but see below for the case where REG_STARTEND is specified). +Otherwise, +.I pmatch +points to an array of +.I nmatch +structures of type +.IR regmatch_t . +Such a structure has at least the members +.I rm_so +and +.IR rm_eo , +both of type +.I regoff_t +(a signed arithmetic type at least as large as an +.I off_t +and a +.IR ssize_t ), +containing respectively the offset of the first character of a substring +and the offset of the first character after the end of the substring. +Offsets are measured from the beginning of the +.I string +argument given to +.IR regexec . +An empty substring is denoted by equal offsets, +both indicating the character following the empty substring. +.PP +The 0th member of the +.I pmatch +array is filled in to indicate what substring of +.I string +was matched by the entire RE. +Remaining members report what substring was matched by parenthesized +subexpressions within the RE; +member +.I i +reports subexpression +.IR i , +with subexpressions counted (starting at 1) by the order of their opening +parentheses in the RE, left to right. +Unused entries in the array\(emcorresponding either to subexpressions that +did not participate in the match at all, or to subexpressions that do not +exist in the RE (that is, \fIi\fR\ > \fIpreg\fR\->\fIre_nsub\fR)\(emhave both +.I rm_so +and +.I rm_eo +set to \-1. +If a subexpression participated in the match several times, +the reported substring is the last one it matched. +(Note, as an example in particular, that when the RE `(b*)+' matches `bbb', +the parenthesized subexpression matches the three `b's and then +an infinite number of empty strings following the last `b', +so the reported substring is one of the empties.) +.PP +If REG_STARTEND is specified, +.I pmatch +must point to at least one +.I regmatch_t +(even if +.I nmatch +is 0 or REG_NOSUB was specified), +to hold the input offsets for REG_STARTEND. +Use for output is still entirely controlled by +.IR nmatch ; +if +.I nmatch +is 0 or REG_NOSUB was specified, +the value of +.IR pmatch [0] +will not be changed by a successful +.IR regexec . +.PP +.I Regerror +maps a non-zero +.I errcode +from either +.I regcomp +or +.I regexec +to a human-readable, printable message. +If +.I preg +is non-NULL, +the error code should have arisen from use of +the +.I regex_t +pointed to by +.IR preg , +and if the error code came from +.IR regcomp , +it should have been the result from the most recent +.I regcomp +using that +.IR regex_t . +.RI ( Regerror +may be able to supply a more detailed message using information +from the +.IR regex_t .) +.I Regerror +places the NUL-terminated message into the buffer pointed to by +.IR errbuf , +limiting the length (including the NUL) to at most +.I errbuf_size +bytes. +If the whole message won't fit, +as much of it as will fit before the terminating NUL is supplied. +In any case, +the returned value is the size of buffer needed to hold the whole +message (including terminating NUL). +If +.I errbuf_size +is 0, +.I errbuf +is ignored but the return value is still correct. +.PP +If the +.I errcode +given to +.I regerror +is first ORed with REG_ITOA, +the ``message'' that results is the printable name of the error code, +e.g. ``REG_NOMATCH'', +rather than an explanation thereof. +If +.I errcode +is REG_ATOI, +then +.I preg +shall be non-NULL and the +.I re_endp +member of the structure it points to +must point to the printable name of an error code; +in this case, the result in +.I errbuf +is the decimal digits of +the numeric value of the error code +(0 if the name is not recognized). +REG_ITOA and REG_ATOI are intended primarily as debugging facilities; +they are extensions, +compatible with but not specified by POSIX 1003.2, +and should be used with +caution in software intended to be portable to other systems. +Be warned also that they are considered experimental and changes are possible. +.PP +.I Regfree +frees any dynamically-allocated storage associated with the compiled RE +pointed to by +.IR preg . +The remaining +.I regex_t +is no longer a valid compiled RE +and the effect of supplying it to +.I regexec +or +.I regerror +is undefined. +.PP +None of these functions references global variables except for tables +of constants; +all are safe for use from multiple threads if the arguments are safe. +.SH IMPLEMENTATION CHOICES +There are a number of decisions that 1003.2 leaves up to the implementor, +either by explicitly saying ``undefined'' or by virtue of them being +forbidden by the RE grammar. +This implementation treats them as follows. +.PP +See +.ZR +for a discussion of the definition of case-independent matching. +.PP +There is no particular limit on the length of REs, +except insofar as memory is limited. +Memory usage is approximately linear in RE size, and largely insensitive +to RE complexity, except for bounded repetitions. +See BUGS for one short RE using them +that will run almost any system out of memory. +.PP +A backslashed character other than one specifically given a magic meaning +by 1003.2 (such magic meanings occur only in obsolete [``basic''] REs) +is taken as an ordinary character. +.PP +Any unmatched [ is a REG_EBRACK error. +.PP +Equivalence classes cannot begin or end bracket-expression ranges. +The endpoint of one range cannot begin another. +.PP +RE_DUP_MAX, the limit on repetition counts in bounded repetitions, is 255. +.PP +A repetition operator (?, *, +, or bounds) cannot follow another +repetition operator. +A repetition operator cannot begin an expression or subexpression +or follow `^' or `|'. +.PP +`|' cannot appear first or last in a (sub)expression or after another `|', +i.e. an operand of `|' cannot be an empty subexpression. +An empty parenthesized subexpression, `()', is legal and matches an +empty (sub)string. +An empty string is not a legal RE. +.PP +A `{' followed by a digit is considered the beginning of bounds for a +bounded repetition, which must then follow the syntax for bounds. +A `{' \fInot\fR followed by a digit is considered an ordinary character. +.PP +`^' and `$' beginning and ending subexpressions in obsolete (``basic'') +REs are anchors, not ordinary characters. +.SH SEE ALSO +grep(1), regex(7) +.PP +POSIX 1003.2, sections 2.8 (Regular Expression Notation) +and +B.5 (C Binding for Regular Expression Matching). +.SH DIAGNOSTICS +Non-zero error codes from +.I regcomp +and +.I regexec +include the following: +.PP +.nf +.ta \w'REG_ECOLLATE'u+3n +REG_NOMATCH regexec() failed to match +REG_BADPAT invalid regular expression +REG_ECOLLATE invalid collating element +REG_ECTYPE invalid character class +REG_EESCAPE \e applied to unescapable character +REG_ESUBREG invalid backreference number +REG_EBRACK brackets [ ] not balanced +REG_EPAREN parentheses ( ) not balanced +REG_EBRACE braces { } not balanced +REG_BADBR invalid repetition count(s) in { } +REG_ERANGE invalid character range in [ ] +REG_ESPACE ran out of memory +REG_BADRPT ?, *, or + operand invalid +REG_EMPTY empty (sub)expression +REG_ASSERT ``can't happen''\(emyou found a bug +REG_INVARG invalid argument, e.g. negative-length string +.fi +.SH HISTORY +Written by Henry Spencer, +henry@zoo.toronto.edu. +.SH BUGS +This is an alpha release with known defects. +Please report problems. +.PP +There is one known functionality bug. +The implementation of internationalization is incomplete: +the locale is always assumed to be the default one of 1003.2, +and only the collating elements etc. of that locale are available. +.PP +The back-reference code is subtle and doubts linger about its correctness +in complex cases. +.PP +.I Regexec +performance is poor. +This will improve with later releases. +.I Nmatch +exceeding 0 is expensive; +.I nmatch +exceeding 1 is worse. +.I Regexec +is largely insensitive to RE complexity \fIexcept\fR that back +references are massively expensive. +RE length does matter; in particular, there is a strong speed bonus +for keeping RE length under about 30 characters, +with most special characters counting roughly double. +.PP +.I Regcomp +implements bounded repetitions by macro expansion, +which is costly in time and space if counts are large +or bounded repetitions are nested. +An RE like, say, +`((((a{1,100}){1,100}){1,100}){1,100}){1,100}' +will (eventually) run almost any existing machine out of swap space. +.PP +There are suspected problems with response to obscure error conditions. +Notably, +certain kinds of internal overflow, +produced only by truly enormous REs or by multiply nested bounded repetitions, +are probably not handled well. +.PP +Due to a mistake in 1003.2, things like `a)b' are legal REs because `)' is +a special character only in the presence of a previous unmatched `('. +This can't be fixed until the spec is fixed. +.PP +The standard's definition of back references is vague. +For example, does +`a\e(\e(b\e)*\e2\e)*d' match `abbbd'? +Until the standard is clarified, +behavior in such cases should not be relied on. +.PP +The implementation of word-boundary matching is a bit of a kludge, +and bugs may lurk in combinations of word-boundary matching and anchoring. diff --git a/vcnet/regex/regex.7 b/vcnet/regex/regex.7 new file mode 100644 index 0000000..0fa1802 --- /dev/null +++ b/vcnet/regex/regex.7 @@ -0,0 +1,235 @@ +.TH REGEX 7 "25 Oct 1995" +.BY "Henry Spencer" +.SH NAME +regex \- POSIX 1003.2 regular expressions +.SH DESCRIPTION +Regular expressions (``RE''s), +as defined in POSIX 1003.2, come in two forms: +modern REs (roughly those of +.IR egrep ; +1003.2 calls these ``extended'' REs) +and obsolete REs (roughly those of +.IR ed ; +1003.2 ``basic'' REs). +Obsolete REs mostly exist for backward compatibility in some old programs; +they will be discussed at the end. +1003.2 leaves some aspects of RE syntax and semantics open; +`\(dg' marks decisions on these aspects that +may not be fully portable to other 1003.2 implementations. +.PP +A (modern) RE is one\(dg or more non-empty\(dg \fIbranches\fR, +separated by `|'. +It matches anything that matches one of the branches. +.PP +A branch is one\(dg or more \fIpieces\fR, concatenated. +It matches a match for the first, followed by a match for the second, etc. +.PP +A piece is an \fIatom\fR possibly followed +by a single\(dg `*', `+', `?', or \fIbound\fR. +An atom followed by `*' matches a sequence of 0 or more matches of the atom. +An atom followed by `+' matches a sequence of 1 or more matches of the atom. +An atom followed by `?' matches a sequence of 0 or 1 matches of the atom. +.PP +A \fIbound\fR is `{' followed by an unsigned decimal integer, +possibly followed by `,' +possibly followed by another unsigned decimal integer, +always followed by `}'. +The integers must lie between 0 and RE_DUP_MAX (255\(dg) inclusive, +and if there are two of them, the first may not exceed the second. +An atom followed by a bound containing one integer \fIi\fR +and no comma matches +a sequence of exactly \fIi\fR matches of the atom. +An atom followed by a bound +containing one integer \fIi\fR and a comma matches +a sequence of \fIi\fR or more matches of the atom. +An atom followed by a bound +containing two integers \fIi\fR and \fIj\fR matches +a sequence of \fIi\fR through \fIj\fR (inclusive) matches of the atom. +.PP +An atom is a regular expression enclosed in `()' (matching a match for the +regular expression), +an empty set of `()' (matching the null string)\(dg, +a \fIbracket expression\fR (see below), `.' +(matching any single character), `^' (matching the null string at the +beginning of a line), `$' (matching the null string at the +end of a line), a `\e' followed by one of the characters +`^.[$()|*+?{\e' +(matching that character taken as an ordinary character), +a `\e' followed by any other character\(dg +(matching that character taken as an ordinary character, +as if the `\e' had not been present\(dg), +or a single character with no other significance (matching that character). +A `{' followed by a character other than a digit is an ordinary +character, not the beginning of a bound\(dg. +It is illegal to end an RE with `\e'. +.PP +A \fIbracket expression\fR is a list of characters enclosed in `[]'. +It normally matches any single character from the list (but see below). +If the list begins with `^', +it matches any single character +(but see below) \fInot\fR from the rest of the list. +If two characters in the list are separated by `\-', this is shorthand +for the full \fIrange\fR of characters between those two (inclusive) in the +collating sequence, +e.g. `[0\-9]' in ASCII matches any decimal digit. +It is illegal\(dg for two ranges to share an +endpoint, e.g. `a\-c\-e'. +Ranges are very collating-sequence-dependent, +and portable programs should avoid relying on them. +.PP +To include a literal `]' in the list, make it the first character +(following a possible `^'). +To include a literal `\-', make it the first or last character, +or the second endpoint of a range. +To use a literal `\-' as the first endpoint of a range, +enclose it in `[.' and `.]' to make it a collating element (see below). +With the exception of these and some combinations using `[' (see next +paragraphs), all other special characters, including `\e', lose their +special significance within a bracket expression. +.PP +Within a bracket expression, a collating element (a character, +a multi-character sequence that collates as if it were a single character, +or a collating-sequence name for either) +enclosed in `[.' and `.]' stands for the +sequence of characters of that collating element. +The sequence is a single element of the bracket expression's list. +A bracket expression containing a multi-character collating element +can thus match more than one character, +e.g. if the collating sequence includes a `ch' collating element, +then the RE `[[.ch.]]*c' matches the first five characters +of `chchcc'. +.PP +Within a bracket expression, a collating element enclosed in `[=' and +`=]' is an equivalence class, standing for the sequences of characters +of all collating elements equivalent to that one, including itself. +(If there are no other equivalent collating elements, +the treatment is as if the enclosing delimiters were `[.' and `.]'.) +For example, if o and \o'o^' are the members of an equivalence class, +then `[[=o=]]', `[[=\o'o^'=]]', and `[o\o'o^']' are all synonymous. +An equivalence class may not\(dg be an endpoint +of a range. +.PP +Within a bracket expression, the name of a \fIcharacter class\fR enclosed +in `[:' and `:]' stands for the list of all characters belonging to that +class. +Standard character class names are: +.PP +.RS +.nf +.ta 3c 6c 9c +alnum digit punct +alpha graph space +blank lower upper +cntrl print xdigit +.fi +.RE +.PP +These stand for the character classes defined in +.IR ctype (3). +A locale may provide others. +A character class may not be used as an endpoint of a range. +.PP +There are two special cases\(dg of bracket expressions: +the bracket expressions `[[:<:]]' and `[[:>:]]' match the null string at +the beginning and end of a word respectively. +A word is defined as a sequence of +word characters +which is neither preceded nor followed by +word characters. +A word character is an +.I alnum +character (as defined by +.IR ctype (3)) +or an underscore. +This is an extension, +compatible with but not specified by POSIX 1003.2, +and should be used with +caution in software intended to be portable to other systems. +.PP +In the event that an RE could match more than one substring of a given +string, +the RE matches the one starting earliest in the string. +If the RE could match more than one substring starting at that point, +it matches the longest. +Subexpressions also match the longest possible substrings, subject to +the constraint that the whole match be as long as possible, +with subexpressions starting earlier in the RE taking priority over +ones starting later. +Note that higher-level subexpressions thus take priority over +their lower-level component subexpressions. +.PP +Match lengths are measured in characters, not collating elements. +A null string is considered longer than no match at all. +For example, +`bb*' matches the three middle characters of `abbbc', +`(wee|week)(knights|nights)' matches all ten characters of `weeknights', +when `(.*).*' is matched against `abc' the parenthesized subexpression +matches all three characters, and +when `(a*)*' is matched against `bc' both the whole RE and the parenthesized +subexpression match the null string. +.PP +If case-independent matching is specified, +the effect is much as if all case distinctions had vanished from the +alphabet. +When an alphabetic that exists in multiple cases appears as an +ordinary character outside a bracket expression, it is effectively +transformed into a bracket expression containing both cases, +e.g. `x' becomes `[xX]'. +When it appears inside a bracket expression, all case counterparts +of it are added to the bracket expression, so that (e.g.) `[x]' +becomes `[xX]' and `[^x]' becomes `[^xX]'. +.PP +No particular limit is imposed on the length of REs\(dg. +Programs intended to be portable should not employ REs longer +than 256 bytes, +as an implementation can refuse to accept such REs and remain +POSIX-compliant. +.PP +Obsolete (``basic'') regular expressions differ in several respects. +`|', `+', and `?' are ordinary characters and there is no equivalent +for their functionality. +The delimiters for bounds are `\e{' and `\e}', +with `{' and `}' by themselves ordinary characters. +The parentheses for nested subexpressions are `\e(' and `\e)', +with `(' and `)' by themselves ordinary characters. +`^' is an ordinary character except at the beginning of the +RE or\(dg the beginning of a parenthesized subexpression, +`$' is an ordinary character except at the end of the +RE or\(dg the end of a parenthesized subexpression, +and `*' is an ordinary character if it appears at the beginning of the +RE or the beginning of a parenthesized subexpression +(after a possible leading `^'). +Finally, there is one new type of atom, a \fIback reference\fR: +`\e' followed by a non-zero decimal digit \fId\fR +matches the same sequence of characters +matched by the \fId\fRth parenthesized subexpression +(numbering subexpressions by the positions of their opening parentheses, +left to right), +so that (e.g.) `\e([bc]\e)\e1' matches `bb' or `cc' but not `bc'. +.SH SEE ALSO +regex(3) +.PP +POSIX 1003.2, section 2.8 (Regular Expression Notation). +.SH HISTORY +Written by Henry Spencer, based on the 1003.2 spec. +.SH BUGS +Having two kinds of REs is a botch. +.PP +The current 1003.2 spec says that `)' is an ordinary character in +the absence of an unmatched `('; +this was an unintentional result of a wording error, +and change is likely. +Avoid relying on it. +.PP +Back references are a dreadful botch, +posing major problems for efficient implementations. +They are also somewhat vaguely defined +(does +`a\e(\e(b\e)*\e2\e)*d' match `abbbd'?). +Avoid using them. +.PP +1003.2's specification of case-independent matching is vague. +The ``one case implies all cases'' definition given above +is current consensus among implementors as to the right interpretation. +.PP +The syntax for word boundaries is incredibly ugly. diff --git a/vcnet/regex/regex.def b/vcnet/regex/regex.def new file mode 100644 index 0000000..440f348 --- /dev/null +++ b/vcnet/regex/regex.def @@ -0,0 +1,7 @@ +LIBRARY regex +VERSION 1.0 +EXPORTS +regcomp +regerror +regexec +regfree diff --git a/vcnet/regex/regex.h b/vcnet/regex/regex.h new file mode 100644 index 0000000..6918a55 --- /dev/null +++ b/vcnet/regex/regex.h @@ -0,0 +1,74 @@ +#ifndef _REGEX_H_ +#define _REGEX_H_ /* never again */ +/* ========= begin header generated by ./mkh ========= */ +#ifdef __cplusplus +extern "C" { +#endif + +/* === regex2.h === */ +typedef long regoff_t; +typedef struct { + int re_magic; + size_t re_nsub; /* number of parenthesized subexpressions */ + const char *re_endp; /* end pointer for REG_PEND */ + struct re_guts *re_g; /* none of your business :-) */ +} regex_t; +typedef struct { + regoff_t rm_so; /* start of match */ + regoff_t rm_eo; /* end of match */ +} regmatch_t; + + +/* === regcomp.c === */ +extern int regcomp(regex_t *, const char *, int); +#define REG_BASIC 0000 +#define REG_EXTENDED 0001 +#define REG_ICASE 0002 +#define REG_NOSUB 0004 +#define REG_NEWLINE 0010 +#define REG_NOSPEC 0020 +#define REG_PEND 0040 +#define REG_DUMP 0200 + + +/* === regerror.c === */ +#define REG_OKAY 0 +#define REG_NOMATCH 1 +#define REG_BADPAT 2 +#define REG_ECOLLATE 3 +#define REG_ECTYPE 4 +#define REG_EESCAPE 5 +#define REG_ESUBREG 6 +#define REG_EBRACK 7 +#define REG_EPAREN 8 +#define REG_EBRACE 9 +#define REG_BADBR 10 +#define REG_ERANGE 11 +#define REG_ESPACE 12 +#define REG_BADRPT 13 +#define REG_EMPTY 14 +#define REG_ASSERT 15 +#define REG_INVARG 16 +#define REG_ATOI 255 /* convert name to number (!) */ +#define REG_ITOA 0400 /* convert number to name (!) */ +extern size_t regerror(int, const regex_t *, char *, size_t); + + +/* === regexec.c === */ +extern int regexec(const regex_t *, const char *, size_t, regmatch_t [], int); +#define REG_NOTBOL 00001 +#define REG_NOTEOL 00002 +#define REG_STARTEND 00004 +#define REG_TRACE 00400 /* tracing of execution */ +#define REG_LARGE 01000 /* force large representation */ +#define REG_BACKR 02000 /* force use of backref code */ + + +/* === regfree.c === */ +extern void regfree(regex_t *); + +#ifdef __cplusplus +} +#endif +/* ========= end header generated by ./mkh ========= */ +#endif diff --git a/vcnet/regex/regex2.h b/vcnet/regex/regex2.h new file mode 100644 index 0000000..58fd8d8 --- /dev/null +++ b/vcnet/regex/regex2.h @@ -0,0 +1,134 @@ +/* + * First, the stuff that ends up in the outside-world include file + = typedef off_t regoff_t; + = typedef struct { + = int re_magic; + = size_t re_nsub; // number of parenthesized subexpressions + = const char *re_endp; // end pointer for REG_PEND + = struct re_guts *re_g; // none of your business :-) + = } regex_t; + = typedef struct { + = regoff_t rm_so; // start of match + = regoff_t rm_eo; // end of match + = } regmatch_t; + */ +/* + * internals of regex_t + */ +#define MAGIC1 ((('r'^0200)<<8) | 'e') + +/* + * The internal representation is a *strip*, a sequence of + * operators ending with an endmarker. (Some terminology etc. is a + * historical relic of earlier versions which used multiple strips.) + * Certain oddities in the representation are there to permit running + * the machinery backwards; in particular, any deviation from sequential + * flow must be marked at both its source and its destination. Some + * fine points: + * + * - OPLUS_ and O_PLUS are *inside* the loop they create. + * - OQUEST_ and O_QUEST are *outside* the bypass they create. + * - OCH_ and O_CH are *outside* the multi-way branch they create, while + * OOR1 and OOR2 are respectively the end and the beginning of one of + * the branches. Note that there is an implicit OOR2 following OCH_ + * and an implicit OOR1 preceding O_CH. + * + * In state representations, an operator's bit is on to signify a state + * immediately *preceding* "execution" of that operator. + */ +typedef long sop; /* strip operator */ +typedef long sopno; +#define OPRMASK 0x7c000000 +#define OPDMASK 0x03ffffff +#define OPSHIFT (26) +#define OP(n) ((n)&OPRMASK) +#define OPND(n) ((n)&OPDMASK) +#define SOP(op, opnd) ((op)|(opnd)) +/* operators meaning operand */ +/* (back, fwd are offsets) */ +#define OEND (1< uch [csetsize] */ + uch mask; /* bit within array */ + uch hash; /* hash code */ + size_t smultis; + char *multis; /* -> char[smulti] ab\0cd\0ef\0\0 */ +} cset; +/* note that CHadd and CHsub are unsafe, and CHIN doesn't yield 0/1 */ +#define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c)) +#define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c)) +#define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask) +#define MCadd(p, cs, cp) mcadd(p, cs, cp) /* regcomp() internal fns */ +#define MCsub(p, cs, cp) mcsub(p, cs, cp) +#define MCin(p, cs, cp) mcin(p, cs, cp) + +/* stuff for character categories */ +typedef unsigned char cat_t; + +/* + * main compiled-expression structure + */ +struct re_guts { + int magic; +# define MAGIC2 ((('R'^0200)<<8)|'E') + sop *strip; /* malloced area for strip */ + int csetsize; /* number of bits in a cset vector */ + int ncsets; /* number of csets in use */ + cset *sets; /* -> cset [ncsets] */ + uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */ + int cflags; /* copy of regcomp() cflags argument */ + sopno nstates; /* = number of sops */ + sopno firststate; /* the initial OEND (normally 0) */ + sopno laststate; /* the final OEND */ + int iflags; /* internal flags */ +# define USEBOL 01 /* used ^ */ +# define USEEOL 02 /* used $ */ +# define BAD 04 /* something wrong */ + int nbol; /* number of ^ used */ + int neol; /* number of $ used */ + int ncategories; /* how many character categories */ + cat_t *categories; /* ->catspace[-CHAR_MIN] */ + char *must; /* match must contain this string */ + int mlen; /* length of must */ + size_t nsub; /* copy of re_nsub */ + int backrefs; /* does it use back references? */ + sopno nplus; /* how deep does it nest +s? */ + /* catspace must be last */ + cat_t catspace[1]; /* actually [NC] */ +}; + +/* misc utilities */ +#define OUT (CHAR_MAX+1) /* a non-character value */ +#define ISWORD(c) (isalnum(c) || (c) == '_') diff --git a/vcnet/regex/regexec.c b/vcnet/regex/regexec.c new file mode 100644 index 0000000..dcb11b2 --- /dev/null +++ b/vcnet/regex/regexec.c @@ -0,0 +1,138 @@ +/* + * the outer shell of regexec() + * + * This file includes engine.c *twice*, after muchos fiddling with the + * macros that code uses. This lets the same code operate on two different + * representations for state sets. + */ +#include +#include +#include +#include +#include +#include +#include + +#include "utils.h" +#include "regex2.h" + +static int nope = 0; /* for use in asserts; shuts lint up */ + +/* macros for manipulating states, small version */ +#define states unsigned +#define states1 unsigned /* for later use in regexec() decision */ +#define CLEAR(v) ((v) = 0) +#define SET0(v, n) ((v) &= ~((unsigned)1 << (n))) +#define SET1(v, n) ((v) |= (unsigned)1 << (n)) +#define ISSET(v, n) ((v) & ((unsigned)1 << (n))) +#define ASSIGN(d, s) ((d) = (s)) +#define EQ(a, b) ((a) == (b)) +#define STATEVARS int dummy /* dummy version */ +#define STATESETUP(m, n) /* nothing */ +#define STATETEARDOWN(m) /* nothing */ +#define SETUP(v) ((v) = 0) +#define onestate unsigned +#define INIT(o, n) ((o) = (unsigned)1 << (n)) +#define INC(o) ((o) <<= 1) +#define ISSTATEIN(v, o) ((v) & (o)) +/* some abbreviations; note that some of these know variable names! */ +/* do "if I'm here, I can also be there" etc without branches */ +#define FWD(dst, src, n) ((dst) |= ((unsigned)(src)&(here)) << (n)) +#define BACK(dst, src, n) ((dst) |= ((unsigned)(src)&(here)) >> (n)) +#define ISSETBACK(v, n) ((v) & ((unsigned)here >> (n))) +/* function names */ +#define SNAMES /* engine.c looks after details */ + +#include "engine.c" + +/* now undo things */ +#undef states +#undef CLEAR +#undef SET0 +#undef SET1 +#undef ISSET +#undef ASSIGN +#undef EQ +#undef STATEVARS +#undef STATESETUP +#undef STATETEARDOWN +#undef SETUP +#undef onestate +#undef INIT +#undef INC +#undef ISSTATEIN +#undef FWD +#undef BACK +#undef ISSETBACK +#undef SNAMES + +/* macros for manipulating states, large version */ +#define states char * +#define CLEAR(v) memset(v, 0, m->g->nstates) +#define SET0(v, n) ((v)[n] = 0) +#define SET1(v, n) ((v)[n] = 1) +#define ISSET(v, n) ((v)[n]) +#define ASSIGN(d, s) memcpy(d, s, m->g->nstates) +#define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0) +#define STATEVARS int vn; char *space +#define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \ + if ((m)->space == NULL) return(REG_ESPACE); \ + (m)->vn = 0; } +#define STATETEARDOWN(m) { free((m)->space); } +#define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates]) +#define onestate int +#define INIT(o, n) ((o) = (n)) +#define INC(o) ((o)++) +#define ISSTATEIN(v, o) ((v)[o]) +/* some abbreviations; note that some of these know variable names! */ +/* do "if I'm here, I can also be there" etc without branches */ +#define FWD(dst, src, n) ((dst)[here+(n)] |= (src)[here]) +#define BACK(dst, src, n) ((dst)[here-(n)] |= (src)[here]) +#define ISSETBACK(v, n) ((v)[here - (n)]) +/* function names */ +#define LNAMES /* flag */ + +#include "engine.c" + +/* + - regexec - interface for matching + = extern int regexec(const regex_t *, const char *, size_t, \ + = regmatch_t [], int); + = #define REG_NOTBOL 00001 + = #define REG_NOTEOL 00002 + = #define REG_STARTEND 00004 + = #define REG_TRACE 00400 // tracing of execution + = #define REG_LARGE 01000 // force large representation + = #define REG_BACKR 02000 // force use of backref code + * + * We put this here so we can exploit knowledge of the state representation + * when choosing which matcher to call. Also, by this point the matchers + * have been prototyped. + */ +int /* 0 success, REG_NOMATCH failure */ +regexec(preg, string, nmatch, pmatch, eflags) +const regex_t *preg; +const char *string; +size_t nmatch; +regmatch_t pmatch[]; +int eflags; +{ + register struct re_guts *g = preg->re_g; +#ifdef REDEBUG +# define GOODFLAGS(f) (f) +#else +# define GOODFLAGS(f) ((f)&(REG_NOTBOL|REG_NOTEOL|REG_STARTEND)) +#endif + + if (preg->re_magic != MAGIC1 || g->magic != MAGIC2) + return(REG_BADPAT); + assert(!(g->iflags&BAD)); + if (g->iflags&BAD) /* backstop for no-debug case */ + return(REG_BADPAT); + eflags = GOODFLAGS(eflags); + + if (g->nstates <= CHAR_BIT*sizeof(states1) && !(eflags®_LARGE)) + return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); + else + return(lmatcher(g, (char *)string, nmatch, pmatch, eflags)); +} diff --git a/vcnet/regex/regfree.c b/vcnet/regex/regfree.c new file mode 100644 index 0000000..9a6acf1 --- /dev/null +++ b/vcnet/regex/regfree.c @@ -0,0 +1,37 @@ +#include +#include +#include +#include + +#include "utils.h" +#include "regex2.h" + +/* + - regfree - free everything + = extern void regfree(regex_t *); + */ +void +regfree(preg) +regex_t *preg; +{ + register struct re_guts *g; + + if (preg->re_magic != MAGIC1) /* oops */ + return; /* nice to complain, but hard */ + + g = preg->re_g; + if (g == NULL || g->magic != MAGIC2) /* oops again */ + return; + preg->re_magic = 0; /* mark it invalid */ + g->magic = 0; /* mark it invalid */ + + if (g->strip != NULL) + free((char *)g->strip); + if (g->sets != NULL) + free((char *)g->sets); + if (g->setbits != NULL) + free((char *)g->setbits); + if (g->must != NULL) + free(g->must); + free((char *)g); +} diff --git a/vcnet/regex/split.c b/vcnet/regex/split.c new file mode 100644 index 0000000..188bdb7 --- /dev/null +++ b/vcnet/regex/split.c @@ -0,0 +1,316 @@ +#include +#include + +/* + - split - divide a string into fields, like awk split() + = int split(char *string, char *fields[], int nfields, char *sep); + */ +int /* number of fields, including overflow */ +split(string, fields, nfields, sep) +char *string; +char *fields[]; /* list is not NULL-terminated */ +int nfields; /* number of entries available in fields[] */ +char *sep; /* "" white, "c" single char, "ab" [ab]+ */ +{ + register char *p = string; + register char c; /* latest character */ + register char sepc = sep[0]; + register char sepc2; + register int fn; + register char **fp = fields; + register char *sepp; + register int trimtrail; + + /* white space */ + if (sepc == '\0') { + while ((c = *p++) == ' ' || c == '\t') + continue; + p--; + trimtrail = 1; + sep = " \t"; /* note, code below knows this is 2 long */ + sepc = ' '; + } else + trimtrail = 0; + sepc2 = sep[1]; /* now we can safely pick this up */ + + /* catch empties */ + if (*p == '\0') + return(0); + + /* single separator */ + if (sepc2 == '\0') { + fn = nfields; + for (;;) { + *fp++ = p; + fn--; + if (fn == 0) + break; + while ((c = *p++) != sepc) + if (c == '\0') + return(nfields - fn); + *(p-1) = '\0'; + } + /* we have overflowed the fields vector -- just count them */ + fn = nfields; + for (;;) { + while ((c = *p++) != sepc) + if (c == '\0') + return(fn); + fn++; + } + /* not reached */ + } + + /* two separators */ + if (sep[2] == '\0') { + fn = nfields; + for (;;) { + *fp++ = p; + fn--; + while ((c = *p++) != sepc && c != sepc2) + if (c == '\0') { + if (trimtrail && **(fp-1) == '\0') + fn++; + return(nfields - fn); + } + if (fn == 0) + break; + *(p-1) = '\0'; + while ((c = *p++) == sepc || c == sepc2) + continue; + p--; + } + /* we have overflowed the fields vector -- just count them */ + fn = nfields; + while (c != '\0') { + while ((c = *p++) == sepc || c == sepc2) + continue; + p--; + fn++; + while ((c = *p++) != '\0' && c != sepc && c != sepc2) + continue; + } + /* might have to trim trailing white space */ + if (trimtrail) { + p--; + while ((c = *--p) == sepc || c == sepc2) + continue; + p++; + if (*p != '\0') { + if (fn == nfields+1) + *p = '\0'; + fn--; + } + } + return(fn); + } + + /* n separators */ + fn = 0; + for (;;) { + if (fn < nfields) + *fp++ = p; + fn++; + for (;;) { + c = *p++; + if (c == '\0') + return(fn); + sepp = sep; + while ((sepc = *sepp++) != '\0' && sepc != c) + continue; + if (sepc != '\0') /* it was a separator */ + break; + } + if (fn < nfields) + *(p-1) = '\0'; + for (;;) { + c = *p++; + sepp = sep; + while ((sepc = *sepp++) != '\0' && sepc != c) + continue; + if (sepc == '\0') /* it wasn't a separator */ + break; + } + p--; + } + + /* not reached */ +} + +#ifdef TEST_SPLIT + + +/* + * test program + * pgm runs regression + * pgm sep splits stdin lines by sep + * pgm str sep splits str by sep + * pgm str sep n splits str by sep n times + */ +int +main(argc, argv) +int argc; +char *argv[]; +{ + char buf[512]; + register int n; +# define MNF 10 + char *fields[MNF]; + + if (argc > 4) + for (n = atoi(argv[3]); n > 0; n--) { + (void) strcpy(buf, argv[1]); + } + else if (argc > 3) + for (n = atoi(argv[3]); n > 0; n--) { + (void) strcpy(buf, argv[1]); + (void) split(buf, fields, MNF, argv[2]); + } + else if (argc > 2) + dosplit(argv[1], argv[2]); + else if (argc > 1) + while (fgets(buf, sizeof(buf), stdin) != NULL) { + buf[strlen(buf)-1] = '\0'; /* stomp newline */ + dosplit(buf, argv[1]); + } + else + regress(); + + exit(0); +} + +dosplit(string, seps) +char *string; +char *seps; +{ +# define NF 5 + char *fields[NF]; + register int nf; + + nf = split(string, fields, NF, seps); + print(nf, NF, fields); +} + +print(nf, nfp, fields) +int nf; +int nfp; +char *fields[]; +{ + register int fn; + register int bound; + + bound = (nf > nfp) ? nfp : nf; + printf("%d:\t", nf); + for (fn = 0; fn < bound; fn++) + printf("\"%s\"%s", fields[fn], (fn+1 < nf) ? ", " : "\n"); +} + +#define RNF 5 /* some table entries know this */ +struct { + char *str; + char *seps; + int nf; + char *fi[RNF]; +} tests[] = { + "", " ", 0, { "" }, + " ", " ", 2, { "", "" }, + "x", " ", 1, { "x" }, + "xy", " ", 1, { "xy" }, + "x y", " ", 2, { "x", "y" }, + "abc def g ", " ", 5, { "abc", "def", "", "g", "" }, + " a bcd", " ", 4, { "", "", "a", "bcd" }, + "a b c d e f", " ", 6, { "a", "b", "c", "d", "e f" }, + " a b c d ", " ", 6, { "", "a", "b", "c", "d " }, + + "", " _", 0, { "" }, + " ", " _", 2, { "", "" }, + "x", " _", 1, { "x" }, + "x y", " _", 2, { "x", "y" }, + "ab _ cd", " _", 2, { "ab", "cd" }, + " a_b c ", " _", 5, { "", "a", "b", "c", "" }, + "a b c_d e f", " _", 6, { "a", "b", "c", "d", "e f" }, + " a b c d ", " _", 6, { "", "a", "b", "c", "d " }, + + "", " _~", 0, { "" }, + " ", " _~", 2, { "", "" }, + "x", " _~", 1, { "x" }, + "x y", " _~", 2, { "x", "y" }, + "ab _~ cd", " _~", 2, { "ab", "cd" }, + " a_b c~", " _~", 5, { "", "a", "b", "c", "" }, + "a b_c d~e f", " _~", 6, { "a", "b", "c", "d", "e f" }, + "~a b c d ", " _~", 6, { "", "a", "b", "c", "d " }, + + "", " _~-", 0, { "" }, + " ", " _~-", 2, { "", "" }, + "x", " _~-", 1, { "x" }, + "x y", " _~-", 2, { "x", "y" }, + "ab _~- cd", " _~-", 2, { "ab", "cd" }, + " a_b c~", " _~-", 5, { "", "a", "b", "c", "" }, + "a b_c-d~e f", " _~-", 6, { "a", "b", "c", "d", "e f" }, + "~a-b c d ", " _~-", 6, { "", "a", "b", "c", "d " }, + + "", " ", 0, { "" }, + " ", " ", 2, { "", "" }, + "x", " ", 1, { "x" }, + "xy", " ", 1, { "xy" }, + "x y", " ", 2, { "x", "y" }, + "abc def g ", " ", 4, { "abc", "def", "g", "" }, + " a bcd", " ", 3, { "", "a", "bcd" }, + "a b c d e f", " ", 6, { "a", "b", "c", "d", "e f" }, + " a b c d ", " ", 6, { "", "a", "b", "c", "d " }, + + "", "", 0, { "" }, + " ", "", 0, { "" }, + "x", "", 1, { "x" }, + "xy", "", 1, { "xy" }, + "x y", "", 2, { "x", "y" }, + "abc def g ", "", 3, { "abc", "def", "g" }, + "\t a bcd", "", 2, { "a", "bcd" }, + " a \tb\t c ", "", 3, { "a", "b", "c" }, + "a b c d e ", "", 5, { "a", "b", "c", "d", "e" }, + "a b\tc d e f", "", 6, { "a", "b", "c", "d", "e f" }, + " a b c d e f ", "", 6, { "a", "b", "c", "d", "e f " }, + + NULL, NULL, 0, { NULL }, +}; + +regress() +{ + char buf[512]; + register int n; + char *fields[RNF+1]; + register int nf; + register int i; + register int printit; + register char *f; + + for (n = 0; tests[n].str != NULL; n++) { + (void) strcpy(buf, tests[n].str); + fields[RNF] = NULL; + nf = split(buf, fields, RNF, tests[n].seps); + printit = 0; + if (nf != tests[n].nf) { + printf("split `%s' by `%s' gave %d fields, not %d\n", + tests[n].str, tests[n].seps, nf, tests[n].nf); + printit = 1; + } else if (fields[RNF] != NULL) { + printf("split() went beyond array end\n"); + printit = 1; + } else { + for (i = 0; i < nf && i < RNF; i++) { + f = fields[i]; + if (f == NULL) + f = "(NULL)"; + if (strcmp(f, tests[n].fi[i]) != 0) { + printf("split `%s' by `%s', field %d is `%s', not `%s'\n", + tests[n].str, tests[n].seps, + i, fields[i], tests[n].fi[i]); + printit = 1; + } + } + } + if (printit) + print(nf, RNF, fields); + } +} +#endif diff --git a/vcnet/regex/tests b/vcnet/regex/tests new file mode 100644 index 0000000..e4d928d --- /dev/null +++ b/vcnet/regex/tests @@ -0,0 +1,477 @@ +# regular expression test set +# Lines are at least three fields, separated by one or more tabs. "" stands +# for an empty field. First field is an RE. Second field is flags. If +# C flag given, regcomp() is expected to fail, and the third field is the +# error name (minus the leading REG_). +# +# Otherwise it is expected to succeed, and the third field is the string to +# try matching it against. If there is no fourth field, the match is +# expected to fail. If there is a fourth field, it is the substring that +# the RE is expected to match. If there is a fifth field, it is a comma- +# separated list of what the subexpressions should match, with - indicating +# no match for that one. In both the fourth and fifth fields, a (sub)field +# starting with @ indicates that the (sub)expression is expected to match +# a null string followed by the stuff after the @; this provides a way to +# test where null strings match. The character `N' in REs and strings +# is newline, `S' is space, `T' is tab, `Z' is NUL. +# +# The full list of flags: +# - placeholder, does nothing +# b RE is a BRE, not an ERE +# & try it as both an ERE and a BRE +# C regcomp() error expected, third field is error name +# i REG_ICASE +# m ("mundane") REG_NOSPEC +# s REG_NOSUB (not really testable) +# n REG_NEWLINE +# ^ REG_NOTBOL +# $ REG_NOTEOL +# # REG_STARTEND (see below) +# p REG_PEND +# +# For REG_STARTEND, the start/end offsets are those of the substring +# enclosed in (). + +# basics +a & a a +abc & abc abc +abc|de - abc abc +a|b|c - abc a + +# parentheses and perversions thereof +a(b)c - abc abc +a\(b\)c b abc abc +a( C EPAREN +a( b a( a( +a\( - a( a( +a\( bC EPAREN +a\(b bC EPAREN +a(b C EPAREN +a(b b a(b a(b +# gag me with a right parenthesis -- 1003.2 goofed here (my fault, partly) +a) - a) a) +) - ) ) +# end gagging (in a just world, those *should* give EPAREN) +a) b a) a) +a\) bC EPAREN +\) bC EPAREN +a()b - ab ab +a\(\)b b ab ab + +# anchoring and REG_NEWLINE +^abc$ & abc abc +a^b - a^b +a^b b a^b a^b +a$b - a$b +a$b b a$b a$b +^ & abc @abc +$ & abc @ +^$ & "" @ +$^ - "" @ +\($\)\(^\) b "" @ +# stop retching, those are legitimate (although disgusting) +^^ - "" @ +$$ - "" @ +b$ & abNc +b$ &n abNc b +^b$ & aNbNc +^b$ &n aNbNc b +^$ &n aNNb @Nb +^$ n abc +^$ n abcN @ +$^ n aNNb @Nb +\($\)\(^\) bn aNNb @Nb +^^ n^ aNNb @Nb +$$ n aNNb @NN +^a ^ a +a$ $ a +^a ^n aNb +^b ^n aNb b +a$ $n bNa +b$ $n bNa b +a*(^b$)c* - b b +a*\(^b$\)c* b b b + +# certain syntax errors and non-errors +| C EMPTY +| b | | +* C BADRPT +* b * * ++ C BADRPT +? C BADRPT +"" &C EMPTY +() - abc @abc +\(\) b abc @abc +a||b C EMPTY +|ab C EMPTY +ab| C EMPTY +(|a)b C EMPTY +(a|)b C EMPTY +(*a) C BADRPT +(+a) C BADRPT +(?a) C BADRPT +({1}a) C BADRPT +\(\{1\}a\) bC BADRPT +(a|*b) C BADRPT +(a|+b) C BADRPT +(a|?b) C BADRPT +(a|{1}b) C BADRPT +^* C BADRPT +^* b * * +^+ C BADRPT +^? C BADRPT +^{1} C BADRPT +^\{1\} bC BADRPT + +# metacharacters, backslashes +a.c & abc abc +a[bc]d & abd abd +a\*c & a*c a*c +a\\b & a\b a\b +a\\\*b & a\*b a\*b +a\bc & abc abc +a\ &C EESCAPE +a\\bc & a\bc a\bc +\{ bC BADRPT +a\[b & a[b a[b +a[b &C EBRACK +# trailing $ is a peculiar special case for the BRE code +a$ & a a +a$ & a$ +a\$ & a +a\$ & a$ a$ +a\\$ & a +a\\$ & a$ +a\\$ & a\$ +a\\$ & a\ a\ + +# back references, ugh +a\(b\)\2c bC ESUBREG +a\(b\1\)c bC ESUBREG +a\(b*\)c\1d b abbcbbd abbcbbd bb +a\(b*\)c\1d b abbcbd +a\(b*\)c\1d b abbcbbbd +^\(.\)\1 b abc +a\([bc]\)\1d b abcdabbd abbd b +a\(\([bc]\)\2\)*d b abbccd abbccd +a\(\([bc]\)\2\)*d b abbcbd +# actually, this next one probably ought to fail, but the spec is unclear +a\(\(b\)*\2\)*d b abbbd abbbd +# here is a case that no NFA implementation does right +\(ab*\)[ab]*\1 b ababaaa ababaaa a +# check out normal matching in the presence of back refs +\(a\)\1bcd b aabcd aabcd +\(a\)\1bc*d b aabcd aabcd +\(a\)\1bc*d b aabd aabd +\(a\)\1bc*d b aabcccd aabcccd +\(a\)\1bc*[ce]d b aabcccd aabcccd +^\(a\)\1b\(c\)*cd$ b aabcccd aabcccd + +# ordinary repetitions +ab*c & abc abc +ab+c - abc abc +ab?c - abc abc +a\(*\)b b a*b a*b +a\(**\)b b ab ab +a\(***\)b bC BADRPT +*a b *a *a +**a b a a +***a bC BADRPT + +# the dreaded bounded repetitions +{ & { { +{abc & {abc {abc +{1 C BADRPT +{1} C BADRPT +a{b & a{b a{b +a{1}b - ab ab +a\{1\}b b ab ab +a{1,}b - ab ab +a\{1,\}b b ab ab +a{1,2}b - aab aab +a\{1,2\}b b aab aab +a{1 C EBRACE +a\{1 bC EBRACE +a{1a C EBRACE +a\{1a bC EBRACE +a{1a} C BADBR +a\{1a\} bC BADBR +a{,2} - a{,2} a{,2} +a\{,2\} bC BADBR +a{,} - a{,} a{,} +a\{,\} bC BADBR +a{1,x} C BADBR +a\{1,x\} bC BADBR +a{1,x C EBRACE +a\{1,x bC EBRACE +a{300} C BADBR +a\{300\} bC BADBR +a{1,0} C BADBR +a\{1,0\} bC BADBR +ab{0,0}c - abcac ac +ab\{0,0\}c b abcac ac +ab{0,1}c - abcac abc +ab\{0,1\}c b abcac abc +ab{0,3}c - abbcac abbc +ab\{0,3\}c b abbcac abbc +ab{1,1}c - acabc abc +ab\{1,1\}c b acabc abc +ab{1,3}c - acabc abc +ab\{1,3\}c b acabc abc +ab{2,2}c - abcabbc abbc +ab\{2,2\}c b abcabbc abbc +ab{2,4}c - abcabbc abbc +ab\{2,4\}c b abcabbc abbc +((a{1,10}){1,10}){1,10} - a a a,a + +# multiple repetitions +a** &C BADRPT +a++ C BADRPT +a?? C BADRPT +a*+ C BADRPT +a*? C BADRPT +a+* C BADRPT +a+? C BADRPT +a?* C BADRPT +a?+ C BADRPT +a{1}{1} C BADRPT +a*{1} C BADRPT +a+{1} C BADRPT +a?{1} C BADRPT +a{1}* C BADRPT +a{1}+ C BADRPT +a{1}? C BADRPT +a*{b} - a{b} a{b} +a\{1\}\{1\} bC BADRPT +a*\{1\} bC BADRPT +a\{1\}* bC BADRPT + +# brackets, and numerous perversions thereof +a[b]c & abc abc +a[ab]c & abc abc +a[^ab]c & adc adc +a[]b]c & a]c a]c +a[[b]c & a[c a[c +a[-b]c & a-c a-c +a[^]b]c & adc adc +a[^-b]c & adc adc +a[b-]c & a-c a-c +a[b &C EBRACK +a[] &C EBRACK +a[1-3]c & a2c a2c +a[3-1]c &C ERANGE +a[1-3-5]c &C ERANGE +a[[.-.]--]c & a-c a-c +a[1- &C ERANGE +a[[. &C EBRACK +a[[.x &C EBRACK +a[[.x. &C EBRACK +a[[.x.] &C EBRACK +a[[.x.]] & ax ax +a[[.x,.]] &C ECOLLATE +a[[.one.]]b & a1b a1b +a[[.notdef.]]b &C ECOLLATE +a[[.].]]b & a]b a]b +a[[:alpha:]]c & abc abc +a[[:notdef:]]c &C ECTYPE +a[[: &C EBRACK +a[[:alpha &C EBRACK +a[[:alpha:] &C EBRACK +a[[:alpha,:] &C ECTYPE +a[[:]:]]b &C ECTYPE +a[[:-:]]b &C ECTYPE +a[[:alph:]] &C ECTYPE +a[[:alphabet:]] &C ECTYPE +[[:alnum:]]+ - -%@a0X- a0X +[[:alpha:]]+ - -%@aX0- aX +[[:blank:]]+ - aSSTb SST +[[:cntrl:]]+ - aNTb NT +[[:digit:]]+ - a019b 019 +[[:graph:]]+ - Sa%bS a%b +[[:lower:]]+ - AabC ab +[[:print:]]+ - NaSbN aSb +[[:punct:]]+ - S%-&T %-& +[[:space:]]+ - aSNTb SNT +[[:upper:]]+ - aBCd BC +[[:xdigit:]]+ - p0f3Cq 0f3C +a[[=b=]]c & abc abc +a[[= &C EBRACK +a[[=b &C EBRACK +a[[=b= &C EBRACK +a[[=b=] &C EBRACK +a[[=b,=]] &C ECOLLATE +a[[=one=]]b & a1b a1b + +# complexities +a(((b)))c - abc abc +a(b|(c))d - abd abd +a(b*|c)d - abbd abbd +# just gotta have one DFA-buster, of course +a[ab]{20} - aaaaabaaaabaaaabaaaab aaaaabaaaabaaaabaaaab +# and an inline expansion in case somebody gets tricky +a[ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab] - aaaaabaaaabaaaabaaaab aaaaabaaaabaaaabaaaab +# and in case somebody just slips in an NFA... +a[ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab](wee|week)(knights|night) - aaaaabaaaabaaaabaaaabweeknights aaaaabaaaabaaaabaaaabweeknights +# fish for anomalies as the number of states passes 32 +12345678901234567890123456789 - a12345678901234567890123456789b 12345678901234567890123456789 +123456789012345678901234567890 - a123456789012345678901234567890b 123456789012345678901234567890 +1234567890123456789012345678901 - a1234567890123456789012345678901b 1234567890123456789012345678901 +12345678901234567890123456789012 - a12345678901234567890123456789012b 12345678901234567890123456789012 +123456789012345678901234567890123 - a123456789012345678901234567890123b 123456789012345678901234567890123 +# and one really big one, beyond any plausible word width +1234567890123456789012345678901234567890123456789012345678901234567890 - a1234567890123456789012345678901234567890123456789012345678901234567890b 1234567890123456789012345678901234567890123456789012345678901234567890 +# fish for problems as brackets go past 8 +[ab][cd][ef][gh][ij][kl][mn] - xacegikmoq acegikm +[ab][cd][ef][gh][ij][kl][mn][op] - xacegikmoq acegikmo +[ab][cd][ef][gh][ij][kl][mn][op][qr] - xacegikmoqy acegikmoq +[ab][cd][ef][gh][ij][kl][mn][op][q] - xacegikmoqy acegikmoq + +# subtleties of matching +abc & xabcy abc +a\(b\)?c\1d b acd +aBc i Abc Abc +a[Bc]*d i abBCcd abBCcd +0[[:upper:]]1 &i 0a1 0a1 +0[[:lower:]]1 &i 0A1 0A1 +a[^b]c &i abc +a[^b]c &i aBc +a[^b]c &i adc adc +[a]b[c] - abc abc +[a]b[a] - aba aba +[abc]b[abc] - abc abc +[abc]b[abd] - abd abd +a(b?c)+d - accd accd +(wee|week)(knights|night) - weeknights weeknights +(we|wee|week|frob)(knights|night|day) - weeknights weeknights +a[bc]d - xyzaaabcaababdacd abd +a[ab]c - aaabc abc +abc s abc abc +a* & b @b + +# Let's have some fun -- try to match a C comment. +# first the obvious, which looks okay at first glance... +/\*.*\*/ - /*x*/ /*x*/ +# but... +/\*.*\*/ - /*x*/y/*z*/ /*x*/y/*z*/ +# okay, we must not match */ inside; try to do that... +/\*([^*]|\*[^/])*\*/ - /*x*/ /*x*/ +/\*([^*]|\*[^/])*\*/ - /*x*/y/*z*/ /*x*/ +# but... +/\*([^*]|\*[^/])*\*/ - /*x**/y/*z*/ /*x**/y/*z*/ +# and a still fancier version, which does it right (I think)... +/\*([^*]|\*+[^*/])*\*+/ - /*x*/ /*x*/ +/\*([^*]|\*+[^*/])*\*+/ - /*x*/y/*z*/ /*x*/ +/\*([^*]|\*+[^*/])*\*+/ - /*x**/y/*z*/ /*x**/ +/\*([^*]|\*+[^*/])*\*+/ - /*x****/y/*z*/ /*x****/ +/\*([^*]|\*+[^*/])*\*+/ - /*x**x*/y/*z*/ /*x**x*/ +/\*([^*]|\*+[^*/])*\*+/ - /*x***x/y/*z*/ /*x***x/y/*z*/ + +# subexpressions +.* - abc abc - +a(b)(c)d - abcd abcd b,c +a(((b)))c - abc abc b,b,b +a(b|(c))d - abd abd b,- +a(b*|c|e)d - abbd abbd bb +a(b*|c|e)d - acd acd c +a(b*|c|e)d - ad ad @d +a(b?)c - abc abc b +a(b?)c - ac ac @c +a(b+)c - abc abc b +a(b+)c - abbbc abbbc bbb +a(b*)c - ac ac @c +(a|ab)(bc([de]+)f|cde) - abcdef abcdef a,bcdef,de +# the regression tester only asks for 9 subexpressions +a(b)(c)(d)(e)(f)(g)(h)(i)(j)k - abcdefghijk abcdefghijk b,c,d,e,f,g,h,i,j +a(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)l - abcdefghijkl abcdefghijkl b,c,d,e,f,g,h,i,j,k +a([bc]?)c - abc abc b +a([bc]?)c - ac ac @c +a([bc]+)c - abc abc b +a([bc]+)c - abcc abcc bc +a([bc]+)bc - abcbc abcbc bc +a(bb+|b)b - abb abb b +a(bbb+|bb+|b)b - abb abb b +a(bbb+|bb+|b)b - abbb abbb bb +a(bbb+|bb+|b)bb - abbb abbb b +(.*).* - abcdef abcdef abcdef +(a*)* - bc @b @b + +# do we get the right subexpression when it is used more than once? +a(b|c)*d - ad ad - +a(b|c)*d - abcd abcd c +a(b|c)+d - abd abd b +a(b|c)+d - abcd abcd c +a(b|c?)+d - ad ad @d +a(b|c?)+d - abcd abcd @d +a(b|c){0,0}d - ad ad - +a(b|c){0,1}d - ad ad - +a(b|c){0,1}d - abd abd b +a(b|c){0,2}d - ad ad - +a(b|c){0,2}d - abcd abcd c +a(b|c){0,}d - ad ad - +a(b|c){0,}d - abcd abcd c +a(b|c){1,1}d - abd abd b +a(b|c){1,1}d - acd acd c +a(b|c){1,2}d - abd abd b +a(b|c){1,2}d - abcd abcd c +a(b|c){1,}d - abd abd b +a(b|c){1,}d - abcd abcd c +a(b|c){2,2}d - acbd acbd b +a(b|c){2,2}d - abcd abcd c +a(b|c){2,4}d - abcd abcd c +a(b|c){2,4}d - abcbd abcbd b +a(b|c){2,4}d - abcbcd abcbcd c +a(b|c){2,}d - abcd abcd c +a(b|c){2,}d - abcbd abcbd b +a(b+|((c)*))+d - abd abd @d,@d,- +a(b+|((c)*))+d - abcd abcd @d,@d,- + +# check out the STARTEND option +[abc] &# a(b)c b +[abc] &# a(d)c +[abc] &# a(bc)d b +[abc] &# a(dc)d c +. &# a()c +b.*c &# b(bc)c bc +b.* &# b(bc)c bc +.*c &# b(bc)c bc + +# plain strings, with the NOSPEC flag +abc m abc abc +abc m xabcy abc +abc m xyz +a*b m aba*b a*b +a*b m ab +"" mC EMPTY + +# cases involving NULs +aZb & a a +aZb &p a +aZb &p# (aZb) aZb +aZ*b &p# (ab) ab +a.b &# (aZb) aZb +a.* &# (aZb)c aZb + +# word boundaries (ick) +[[:<:]]a & a a +[[:<:]]a & ba +[[:<:]]a & -a a +a[[:>:]] & a a +a[[:>:]] & ab +a[[:>:]] & a- a +[[:<:]]a.c[[:>:]] & axcd-dayc-dazce-abc abc +[[:<:]]a.c[[:>:]] & axcd-dayc-dazce-abc-q abc +[[:<:]]a.c[[:>:]] & axc-dayc-dazce-abc axc +[[:<:]]b.c[[:>:]] & a_bxc-byc_d-bzc-q bzc +[[:<:]].x..[[:>:]] & y_xa_-_xb_y-_xc_-axdc _xc_ +[[:<:]]a_b[[:>:]] & x_a_b + +# past problems, and suspected problems +(A[1])|(A[2])|(A[3])|(A[4])|(A[5])|(A[6])|(A[7])|(A[8])|(A[9])|(A[A]) - A1 A1 +abcdefghijklmnop i abcdefghijklmnop abcdefghijklmnop +abcdefghijklmnopqrstuv i abcdefghijklmnopqrstuv abcdefghijklmnopqrstuv +(ALAK)|(ALT[AB])|(CC[123]1)|(CM[123]1)|(GAMC)|(LC[23][EO ])|(SEM[1234])|(SL[ES][12])|(SLWW)|(SLF )|(SLDT)|(VWH[12])|(WH[34][EW])|(WP1[ESN]) - CC11 CC11 +CC[13]1|a{21}[23][EO][123][Es][12]a{15}aa[34][EW]aaaaaaa[X]a - CC11 CC11 +Char \([a-z0-9_]*\)\[.* b Char xyz[k Char xyz[k xyz +a?b - ab ab +-\{0,1\}[0-9]*$ b -5 -5 +a*a*a*a*a*a*a* & aaaaaa aaaaaa diff --git a/vcnet/regex/utils.h b/vcnet/regex/utils.h new file mode 100644 index 0000000..1a997ac --- /dev/null +++ b/vcnet/regex/utils.h @@ -0,0 +1,22 @@ +/* utility definitions */ +#ifdef _POSIX2_RE_DUP_MAX +#define DUPMAX _POSIX2_RE_DUP_MAX +#else +#define DUPMAX 255 +#endif +#define INFINITY (DUPMAX + 1) +#define NC (CHAR_MAX - CHAR_MIN + 1) +typedef unsigned char uch; + +/* switch off assertions (if not already off) if no REDEBUG */ +#ifndef REDEBUG +#ifndef NDEBUG +#define NDEBUG /* no assertions please */ +#endif +#endif +#include + +/* for old systems with bcopy() but no memmove() */ +#ifdef USEBCOPY +#define memmove(d, s, c) bcopy(s, d, c) +#endif diff --git a/vcnet/setdebug.bat b/vcnet/setdebug.bat new file mode 100644 index 0000000..dd1afa6 --- /dev/null +++ b/vcnet/setdebug.bat @@ -0,0 +1,5 @@ +@rem Script to enable debug logging for IPPTOOL +set CUPS_DEBUG_LOG=ipptool.log +set CUPS_DEBUG_LEVEL=6 +set "CUPS_DEBUG_FILTER=^(http|_http|ipp|_ipp|cupsDo|cupsGetResponse|cupsSend|cupsWrite)" + diff --git a/vcnet/testfile.vcxproj b/vcnet/testfile.vcxproj new file mode 100644 index 0000000..b034e43 --- /dev/null +++ b/vcnet/testfile.vcxproj @@ -0,0 +1,110 @@ + + + + + Debug + x64 + + + Release + x64 + + + + {CE75FC5F-E0CF-45DC-AD27-84666D3FBA30} + Win32Proj + 10.0.17763.0 + + + + Application + v141 + MultiByte + + + Application + v141 + MultiByte + + + + + + + + + + + + + + + <_ProjectFileVersion>12.0.30501.0 + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + true + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + false + + + + Disabled + ..\vcnet;..;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + + + Level3 + ProgramDatabase + + + $(OutDir)testfile.exe + true + $(OutDir)testfile.pdb + Console + false + + + + + + + ..\vcnet;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + MultiThreaded + + + Level3 + + + + + $(OutDir)testfile.exe + true + Console + true + true + false + + + + + + + + + + {cb4aa6f2-3e84-45be-b505-95cd375e8be3} + false + + + + + + \ No newline at end of file diff --git a/vcnet/testfile.vcxproj.filters b/vcnet/testfile.vcxproj.filters new file mode 100644 index 0000000..f12e547 --- /dev/null +++ b/vcnet/testfile.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx + + + + + Source Files + + + \ No newline at end of file diff --git a/vcnet/testfile.vcxproj.user b/vcnet/testfile.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/testfile.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/testhttp.vcxproj b/vcnet/testhttp.vcxproj new file mode 100644 index 0000000..41cbd3e --- /dev/null +++ b/vcnet/testhttp.vcxproj @@ -0,0 +1,110 @@ + + + + + Debug + x64 + + + Release + x64 + + + + {90B0058C-8393-411F-BD3B-E2C831D4E883} + Win32Proj + 10.0.17763.0 + + + + Application + v141 + MultiByte + + + Application + v141 + MultiByte + + + + + + + + + + + + + + + <_ProjectFileVersion>12.0.30501.0 + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + true + + + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ + false + + + + Disabled + ..\vcnet;..;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + + + Level3 + ProgramDatabase + + + $(OutDir)testhttp.exe + true + $(OutDir)testhttp.pdb + Console + false + + + + + + + ..\vcnet;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + MultiThreaded + + + Level3 + + + + + $(OutDir)testhttp.exe + true + Console + true + true + false + + + + + + + + + + {cb4aa6f2-3e84-45be-b505-95cd375e8be3} + false + + + + + + \ No newline at end of file diff --git a/vcnet/testhttp.vcxproj.filters b/vcnet/testhttp.vcxproj.filters new file mode 100644 index 0000000..b6de221 --- /dev/null +++ b/vcnet/testhttp.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx + + + + + Source Files + + + \ No newline at end of file diff --git a/vcnet/testhttp.vcxproj.user b/vcnet/testhttp.vcxproj.user new file mode 100644 index 0000000..be25078 --- /dev/null +++ b/vcnet/testhttp.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/xcode/CUPS.xcodeproj/project.pbxproj b/xcode/CUPS.xcodeproj/project.pbxproj new file mode 100644 index 0000000..21b1212 --- /dev/null +++ b/xcode/CUPS.xcodeproj/project.pbxproj @@ -0,0 +1,12647 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXAggregateTarget section */ + 273BF6D91333B6260022CAAB /* Tests */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 273BF6DA1333B6270022CAAB /* Build configuration list for PBXAggregateTarget "Tests" */; + buildPhases = ( + ); + dependencies = ( + 729181C12011560E005E7560 /* PBXTargetDependency */, + 729181C32011560E005E7560 /* PBXTargetDependency */, + 270D02281D707E5100EA9403 /* PBXTargetDependency */, + 271287361CC1411000E517C7 /* PBXTargetDependency */, + 2712871C1CC13FFA00E517C7 /* PBXTargetDependency */, + 271286DC1CC13EF400E517C7 /* PBXTargetDependency */, + 271286DE1CC13EF400E517C7 /* PBXTargetDependency */, + 271286E01CC13EF400E517C7 /* PBXTargetDependency */, + 271284911CC11FA500E517C7 /* PBXTargetDependency */, + 271284931CC11FA500E517C7 /* PBXTargetDependency */, + 271284951CC11FA500E517C7 /* PBXTargetDependency */, + 271284971CC11FA500E517C7 /* PBXTargetDependency */, + 271284991CC11FA500E517C7 /* PBXTargetDependency */, + 2712849B1CC11FA500E517C7 /* PBXTargetDependency */, + 2712849D1CC11FA500E517C7 /* PBXTargetDependency */, + 2712849F1CC11FA500E517C7 /* PBXTargetDependency */, + 271284A11CC11FA500E517C7 /* PBXTargetDependency */, + 271284A31CC11FA500E517C7 /* PBXTargetDependency */, + 271284A51CC11FA500E517C7 /* PBXTargetDependency */, + 271284A71CC11FA500E517C7 /* PBXTargetDependency */, + 271284A91CC11FA500E517C7 /* PBXTargetDependency */, + 271284AB1CC11FA500E517C7 /* PBXTargetDependency */, + 271284AD1CC11FA500E517C7 /* PBXTargetDependency */, + 271284AF1CC11FA500E517C7 /* PBXTargetDependency */, + 271284B11CC11FA500E517C7 /* PBXTargetDependency */, + 271284B31CC11FA500E517C7 /* PBXTargetDependency */, + 271284B51CC11FA500E517C7 /* PBXTargetDependency */, + 271284B71CC11FA500E517C7 /* PBXTargetDependency */, + 271284B91CC11FA500E517C7 /* PBXTargetDependency */, + 271284BB1CC11FA500E517C7 /* PBXTargetDependency */, + 271284BD1CC11FA500E517C7 /* PBXTargetDependency */, + 271284BF1CC11FA500E517C7 /* PBXTargetDependency */, + 271284C11CC11FA500E517C7 /* PBXTargetDependency */, + 271284C31CC11FA500E517C7 /* PBXTargetDependency */, + 271284C51CC11FA500E517C7 /* PBXTargetDependency */, + 271284C71CC11FA500E517C7 /* PBXTargetDependency */, + 274770E42345347D0089BC31 /* PBXTargetDependency */, + 271284C91CC11FA500E517C7 /* PBXTargetDependency */, + 726AD704135E8AA1002C930D /* PBXTargetDependency */, + 2767FC5419267469000F61D3 /* PBXTargetDependency */, + 273BF6DE1333B6370022CAAB /* PBXTargetDependency */, + 2767FC5619267469000F61D3 /* PBXTargetDependency */, + 278C58D6136B641D00836530 /* PBXTargetDependency */, + 270CCDB2135E3CDE00007BE2 /* PBXTargetDependency */, + ); + name = Tests; + productName = Tests; + }; + 274FF5DE13332D3000317ECB /* All */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 274FF5DF13332D3100317ECB /* Build configuration list for PBXAggregateTarget "All" */; + buildPhases = ( + ); + dependencies = ( + 273B1EC2226B3F2600428143 /* PBXTargetDependency */, + 273B1EC4226B3F2600428143 /* PBXTargetDependency */, + 271287061CC13F8F00E517C7 /* PBXTargetDependency */, + 271287081CC13F8F00E517C7 /* PBXTargetDependency */, + 271286E21CC13F0100E517C7 /* PBXTargetDependency */, + 271286E41CC13F0100E517C7 /* PBXTargetDependency */, + 271286351CC12F9000E517C7 /* PBXTargetDependency */, + 271286371CC12F9000E517C7 /* PBXTargetDependency */, + 271286391CC12F9000E517C7 /* PBXTargetDependency */, + 2712863B1CC12F9000E517C7 /* PBXTargetDependency */, + 2712863D1CC12F9000E517C7 /* PBXTargetDependency */, + 2712863F1CC12F9000E517C7 /* PBXTargetDependency */, + 271286411CC12F9000E517C7 /* PBXTargetDependency */, + 271286431CC12F9000E517C7 /* PBXTargetDependency */, + 271286451CC12F9000E517C7 /* PBXTargetDependency */, + 271286471CC12F9000E517C7 /* PBXTargetDependency */, + 2712857E1CC1295A00E517C7 /* PBXTargetDependency */, + 271285801CC1295A00E517C7 /* PBXTargetDependency */, + 271285841CC1295A00E517C7 /* PBXTargetDependency */, + 271285861CC1295A00E517C7 /* PBXTargetDependency */, + 271285881CC1295A00E517C7 /* PBXTargetDependency */, + 2712858A1CC1295A00E517C7 /* PBXTargetDependency */, + 2712858C1CC1295A00E517C7 /* PBXTargetDependency */, + 2712858E1CC1295A00E517C7 /* PBXTargetDependency */, + 271285901CC1295A00E517C7 /* PBXTargetDependency */, + 271285921CC1295A00E517C7 /* PBXTargetDependency */, + 271285941CC1295A00E517C7 /* PBXTargetDependency */, + 27A034871A8BDC6900650675 /* PBXTargetDependency */, + 274FF5E313332D4300317ECB /* PBXTargetDependency */, + 72BEA8D819AFA8BB0085F0F3 /* PBXTargetDependency */, + 72F75A711336FACD004BB496 /* PBXTargetDependency */, + 274FF5E513332D4300317ECB /* PBXTargetDependency */, + 274FF622133331D300317ECB /* PBXTargetDependency */, + 2766836B1337AA25000D33D0 /* PBXTargetDependency */, + 274FF5E713332D4300317ECB /* PBXTargetDependency */, + 274FF6E21333B33F00317ECB /* PBXTargetDependency */, + 72F75A731336FACD004BB496 /* PBXTargetDependency */, + 274FF6391333348400317ECB /* PBXTargetDependency */, + 274FF5E913332D4300317ECB /* PBXTargetDependency */, + 274FF648133335A300317ECB /* PBXTargetDependency */, + 274FF65E13333A3400317ECB /* PBXTargetDependency */, + 724379531333FECE009631B9 /* PBXTargetDependency */, + 724379111333E4EA009631B9 /* PBXTargetDependency */, + 72BEA8D619AFA8A00085F0F3 /* PBXTargetDependency */, + 72BEA8D419AFA89C0085F0F3 /* PBXTargetDependency */, + 276683FF1337F7C5000D33D0 /* PBXTargetDependency */, + 7243792B1333E962009631B9 /* PBXTargetDependency */, + 276683D71337B24A000D33D0 /* PBXTargetDependency */, + 276683D91337B24A000D33D0 /* PBXTargetDependency */, + 276683DB1337B24A000D33D0 /* PBXTargetDependency */, + 276683DD1337B24A000D33D0 /* PBXTargetDependency */, + 276683DF1337B24A000D33D0 /* PBXTargetDependency */, + 7258EAEF13459ADA009286F1 /* PBXTargetDependency */, + 720DD6D11358FDBE0064AA82 /* PBXTargetDependency */, + 7243793F1333FD23009631B9 /* PBXTargetDependency */, + 724379C31333FF7D009631B9 /* PBXTargetDependency */, + ); + name = All; + productName = All; + }; +/* End PBXAggregateTarget section */ + +/* Begin PBXBuildFile section */ + 270696001CADF3E200FFE5FB /* array.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EB81333056300FCA411 /* array.c */; }; + 270696021CADF3E200FFE5FB /* auth.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EBB1333056300FCA411 /* auth.c */; }; + 270696071CADF3E200FFE5FB /* debug.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED1133305BB00FCA411 /* debug.c */; }; + 270696081CADF3E200FFE5FB /* dest.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED2133305BB00FCA411 /* dest.c */; }; + 270696091CADF3E200FFE5FB /* dir.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED3133305BB00FCA411 /* dir.c */; }; + 2706960B1CADF3E200FFE5FB /* encode.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED6133305BB00FCA411 /* encode.c */; }; + 2706960C1CADF3E200FFE5FB /* file.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED8133305BB00FCA411 /* file.c */; }; + 2706960F1CADF3E200FFE5FB /* getputfile.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDC133305BB00FCA411 /* getputfile.c */; }; + 270696101CADF3E200FFE5FB /* globals.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDD133305BB00FCA411 /* globals.c */; }; + 270696111CADF3E200FFE5FB /* http-addr.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDE133305BB00FCA411 /* http-addr.c */; }; + 270696121CADF3E200FFE5FB /* http-addrlist.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDF133305BB00FCA411 /* http-addrlist.c */; }; + 270696131CADF3E200FFE5FB /* http-support.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE1133305BB00FCA411 /* http-support.c */; }; + 270696141CADF3E200FFE5FB /* http.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE2133305BB00FCA411 /* http.c */; }; + 270696161CADF3E200FFE5FB /* dest-options.c in Sources */ = {isa = PBXBuildFile; fileRef = 72CF95E218A13543000FCAE4 /* dest-options.c */; }; + 270696171CADF3E200FFE5FB /* ipp-support.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE5133305BB00FCA411 /* ipp-support.c */; }; + 270696181CADF3E200FFE5FB /* ipp.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE6133305BB00FCA411 /* ipp.c */; }; + 270696191CADF3E200FFE5FB /* langprintf.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE8133305BB00FCA411 /* langprintf.c */; }; + 2706961A1CADF3E200FFE5FB /* language.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EEA133305BB00FCA411 /* language.c */; }; + 2706961D1CADF3E200FFE5FB /* md5.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EEF133305BB00FCA411 /* md5.c */; }; + 2706961E1CADF3E200FFE5FB /* md5passwd.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF0133305BB00FCA411 /* md5passwd.c */; }; + 2706961F1CADF3E200FFE5FB /* hash.c in Sources */ = {isa = PBXBuildFile; fileRef = 7284F9EF1BFCCD940026F886 /* hash.c */; }; + 270696201CADF3E200FFE5FB /* notify.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF1133305BB00FCA411 /* notify.c */; }; + 270696211CADF3E200FFE5FB /* options.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF2133305BB00FCA411 /* options.c */; }; + 270696221CADF3E200FFE5FB /* tls.c in Sources */ = {isa = PBXBuildFile; fileRef = 727AD5B619100A58009F6862 /* tls.c */; }; + 270696251CADF3E200FFE5FB /* dest-job.c in Sources */ = {isa = PBXBuildFile; fileRef = 72CF95E018A13543000FCAE4 /* dest-job.c */; }; + 270696271CADF3E200FFE5FB /* pwg-media.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF8133305BB00FCA411 /* pwg-media.c */; }; + 270696281CADF3E200FFE5FB /* dest-localization.c in Sources */ = {isa = PBXBuildFile; fileRef = 72CF95E118A13543000FCAE4 /* dest-localization.c */; }; + 270696291CADF3E200FFE5FB /* request.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EFB133305BB00FCA411 /* request.c */; }; + 2706962C1CADF3E200FFE5FB /* snprintf.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F00133305BB00FCA411 /* snprintf.c */; }; + 2706962D1CADF3E200FFE5FB /* string.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F02133305BB00FCA411 /* string.c */; }; + 2706962E1CADF3E200FFE5FB /* tempfile.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F03133305BB00FCA411 /* tempfile.c */; }; + 2706962F1CADF3E200FFE5FB /* thread.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F05133305BB00FCA411 /* thread.c */; }; + 270696301CADF3E200FFE5FB /* transcode.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F06133305BB00FCA411 /* transcode.c */; }; + 270696311CADF3E200FFE5FB /* usersys.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F08133305BB00FCA411 /* usersys.c */; }; + 270696341CADF3E200FFE5FB /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 270696351CADF3E200FFE5FB /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 270696381CADF3E200FFE5FB /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EF1536167A005426E1 /* libiconv.dylib */; }; + 270696391CADF3E200FFE5FB /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7F01536167A005426E1 /* libresolv.dylib */; }; + 2706963A1CADF3E200FFE5FB /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EC1536161C005426E1 /* libz.dylib */; }; + 2706963B1CADF3E200FFE5FB /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 2706963E1CADF3E200FFE5FB /* array.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EB91333056300FCA411 /* array.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 270696401CADF3E200FFE5FB /* cups-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EC01333056300FCA411 /* cups-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 270696421CADF3E200FFE5FB /* file-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220ED7133305BB00FCA411 /* file-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 270696431CADF3E200FFE5FB /* http-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EE0133305BB00FCA411 /* http-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 270696441CADF3E200FFE5FB /* ipp-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EE4133305BB00FCA411 /* ipp-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 270696451CADF3E200FFE5FB /* language-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EE9133305BB00FCA411 /* language-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 270696461CADF3E200FFE5FB /* md5-internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EEE133305BB00FCA411 /* md5-internal.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 270696481CADF3E200FFE5FB /* pwg-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EF9133305BB00FCA411 /* pwg-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 2706964A1CADF3E200FFE5FB /* string-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220F01133305BB00FCA411 /* string-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 2706964B1CADF3E200FFE5FB /* thread-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220F04133305BB00FCA411 /* thread-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 2706964C1CADF3E200FFE5FB /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220F471333063D00FCA411 /* config.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 2706964D1CADF3E200FFE5FB /* cups.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EC11333056300FCA411 /* cups.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2706964E1CADF3E200FFE5FB /* dir.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220ED4133305BB00FCA411 /* dir.h */; settings = {ATTRIBUTES = (); }; }; + 2706964F1CADF3E200FFE5FB /* file.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220ED9133305BB00FCA411 /* file.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 270696501CADF3E200FFE5FB /* http.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EE3133305BB00FCA411 /* http.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 270696511CADF3E200FFE5FB /* ipp.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EE7133305BB00FCA411 /* ipp.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 270696521CADF3E200FFE5FB /* language.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EEB133305BB00FCA411 /* language.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 270696551CADF3E200FFE5FB /* transcode.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220F07133305BB00FCA411 /* transcode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 270696561CADF3E200FFE5FB /* versioning.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220F0A133305BB00FCA411 /* versioning.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2706965B1CAE1A9A00FFE5FB /* util.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F09133305BB00FCA411 /* util.c */; }; + 270CCDBC135E3D3E00007BE2 /* testmime.c in Sources */ = {isa = PBXBuildFile; fileRef = 270CCDBB135E3D3E00007BE2 /* testmime.c */; }; + 270D02191D707E0200EA9403 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 270D021A1D707E0200EA9403 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 270D021B1D707E0200EA9403 /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 270D021C1D707E0200EA9403 /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EF1536167A005426E1 /* libiconv.dylib */; }; + 270D021D1D707E0200EA9403 /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7F01536167A005426E1 /* libresolv.dylib */; }; + 270D021E1D707E0200EA9403 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EC1536161C005426E1 /* libz.dylib */; }; + 270D021F1D707E0200EA9403 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 270D02261D707E3700EA9403 /* testcreds.c in Sources */ = {isa = PBXBuildFile; fileRef = 270D02251D707E3700EA9403 /* testcreds.c */; }; + 271284D21CC1231300E517C7 /* snmp-supplies.c in Sources */ = {isa = PBXBuildFile; fileRef = 7243790C1333E4E3009631B9 /* snmp-supplies.c */; }; + 271284D71CC124D700E517C7 /* libcupscgi_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA76B1CC03AF60092477B /* libcupscgi_static.a */; }; + 271284D81CC124E300E517C7 /* libcupscgi_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA76B1CC03AF60092477B /* libcupscgi_static.a */; }; + 271284D91CC124F000E517C7 /* libcupsppdc_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA7401CC03AAF0092477B /* libcupsppdc_static.a */; }; + 271284DA1CC1251400E517C7 /* libcupsimage_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA70F1CC03A490092477B /* libcupsimage_static.a */; }; + 271284DB1CC1251F00E517C7 /* libcupscgi_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA76B1CC03AF60092477B /* libcupscgi_static.a */; }; + 271284DC1CC1254C00E517C7 /* libcupsmime_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA71F1CC03A990092477B /* libcupsmime_static.a */; }; + 271284E71CC1261900E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271284ED1CC1262C00E517C7 /* cancel.c in Sources */ = {isa = PBXBuildFile; fileRef = 2732E089137A3F5200FAFEF6 /* cancel.c */; }; + 271284F41CC1264B00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271284FA1CC1265800E517C7 /* cupsaccept.c in Sources */ = {isa = PBXBuildFile; fileRef = 2732E08A137A3F5200FAFEF6 /* cupsaccept.c */; }; + 2712850E1CC1267A00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271285141CC1269400E517C7 /* lp.c in Sources */ = {isa = PBXBuildFile; fileRef = 2732E08C137A3F5200FAFEF6 /* lp.c */; }; + 2712851B1CC1269700E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271285211CC126A700E517C7 /* lpc.c in Sources */ = {isa = PBXBuildFile; fileRef = 271284DD1CC125FC00E517C7 /* lpc.c */; }; + 271285281CC126AA00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 2712852E1CC126BC00E517C7 /* lpinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = 2732E08E137A3F5200FAFEF6 /* lpinfo.c */; }; + 271285351CC1270B00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 2712853B1CC1271B00E517C7 /* lpmove.c in Sources */ = {isa = PBXBuildFile; fileRef = 2732E08F137A3F5200FAFEF6 /* lpmove.c */; }; + 271285421CC1271E00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271285481CC1272900E517C7 /* lpoptions.c in Sources */ = {isa = PBXBuildFile; fileRef = 2732E090137A3F5200FAFEF6 /* lpoptions.c */; }; + 2712854F1CC1272D00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271285551CC1273C00E517C7 /* lpq.c in Sources */ = {isa = PBXBuildFile; fileRef = 271284DE1CC125FC00E517C7 /* lpq.c */; }; + 2712855C1CC1274300E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271285621CC1274F00E517C7 /* lpr.c in Sources */ = {isa = PBXBuildFile; fileRef = 271284DF1CC125FC00E517C7 /* lpr.c */; }; + 271285691CC1275200E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 2712856F1CC1276000E517C7 /* lprm.c in Sources */ = {isa = PBXBuildFile; fileRef = 271284E01CC125FC00E517C7 /* lprm.c */; }; + 271285761CC1276400E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 2712857C1CC1277000E517C7 /* lpstat.c in Sources */ = {isa = PBXBuildFile; fileRef = 2732E092137A3F5200FAFEF6 /* lpstat.c */; }; + 2712859B1CC12D1300E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271285A11CC12D2100E517C7 /* admin.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF02F192E3498001EF690 /* admin.c */; }; + 271285A21CC12D2900E517C7 /* libcupscgi.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA74F1CC03ACC0092477B /* libcupscgi.dylib */; }; + 271285A91CC12D3A00E517C7 /* libcupscgi.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA74F1CC03ACC0092477B /* libcupscgi.dylib */; }; + 271285AA1CC12D3A00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271285B01CC12D4A00E517C7 /* classes.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF032192E3498001EF690 /* classes.c */; }; + 271285B71CC12D4E00E517C7 /* libcupscgi.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA74F1CC03ACC0092477B /* libcupscgi.dylib */; }; + 271285B81CC12D4E00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271285BE1CC12D5C00E517C7 /* jobs.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF038192E3498001EF690 /* jobs.c */; }; + 271285C51CC12D5E00E517C7 /* libcupscgi.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA74F1CC03ACC0092477B /* libcupscgi.dylib */; }; + 271285C61CC12D5E00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271285CC1CC12D6D00E517C7 /* printers.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF03A192E3498001EF690 /* printers.c */; }; + 271285D31CC12DBF00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271285D91CC12DD000E517C7 /* commandtops.c in Sources */ = {isa = PBXBuildFile; fileRef = 7271881713746EA8001A2036 /* commandtops.c */; }; + 271285E01CC12DDF00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271285E61CC12DEF00E517C7 /* gziptoany.c in Sources */ = {isa = PBXBuildFile; fileRef = 7271881A13746EA8001A2036 /* gziptoany.c */; }; + 271285ED1CC12E2D00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271285F31CC12E3C00E517C7 /* pstops.c in Sources */ = {isa = PBXBuildFile; fileRef = 7271882013746EA8001A2036 /* pstops.c */; }; + 271285F41CC12E4200E517C7 /* common.c in Sources */ = {isa = PBXBuildFile; fileRef = 7271881813746EA8001A2036 /* common.c */; }; + 271285FB1CC12EEB00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271286011CC12EFA00E517C7 /* rastertoepson.c in Sources */ = {isa = PBXBuildFile; fileRef = 7271882113746EA8001A2036 /* rastertoepson.c */; }; + 271286041CC12F0800E517C7 /* libcupsimage.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72F75A611336F9A3004BB496 /* libcupsimage.dylib */; }; + 2712860D1CC12F0B00E517C7 /* libcupsimage.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72F75A611336F9A3004BB496 /* libcupsimage.dylib */; }; + 2712860E1CC12F0B00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271286141CC12F1800E517C7 /* rastertohp.c in Sources */ = {isa = PBXBuildFile; fileRef = 7271882213746EA8001A2036 /* rastertohp.c */; }; + 2712861D1CC12F1A00E517C7 /* libcupsimage.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72F75A611336F9A3004BB496 /* libcupsimage.dylib */; }; + 2712861E1CC12F1A00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271286241CC12F2600E517C7 /* rastertolabel.c in Sources */ = {isa = PBXBuildFile; fileRef = 7271882313746EA8001A2036 /* rastertolabel.c */; }; + 2712865D1CC1309000E517C7 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 2712865E1CC1309000E517C7 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 2712865F1CC1309000E517C7 /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 271286601CC1309000E517C7 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 271286611CC1309000E517C7 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 271286621CC1309000E517C7 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 271286691CC130C700E517C7 /* tlscheck.c in Sources */ = {isa = PBXBuildFile; fileRef = 271286681CC130BD00E517C7 /* tlscheck.c */; }; + 271286731CC1310E00E517C7 /* libcupsimage_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA70F1CC03A490092477B /* libcupsimage_static.a */; }; + 271286741CC1310E00E517C7 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 271286751CC1310E00E517C7 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 271286761CC1310E00E517C7 /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 271286771CC1310E00E517C7 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 271286781CC1310E00E517C7 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 2712867E1CC1311D00E517C7 /* rasterbench.c in Sources */ = {isa = PBXBuildFile; fileRef = 2712866A1CC130FF00E517C7 /* rasterbench.c */; }; + 2712868D1CC13DC000E517C7 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 2712868E1CC13DC000E517C7 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 2712868F1CC13DC000E517C7 /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 271286901CC13DC000E517C7 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 271286911CC13DC000E517C7 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 271286971CC13DEA00E517C7 /* checkpo.c in Sources */ = {isa = PBXBuildFile; fileRef = 271286831CC13D9600E517C7 /* checkpo.c */; }; + 2712869E1CC13DF100E517C7 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 2712869F1CC13DF100E517C7 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 271286A01CC13DF100E517C7 /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 271286A11CC13DF100E517C7 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 271286A21CC13DF100E517C7 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 271286A81CC13DFD00E517C7 /* po2strings.c in Sources */ = {isa = PBXBuildFile; fileRef = 271286851CC13D9600E517C7 /* po2strings.c */; }; + 271286AF1CC13DFF00E517C7 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 271286B01CC13DFF00E517C7 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 271286B11CC13DFF00E517C7 /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 271286B21CC13DFF00E517C7 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 271286B31CC13DFF00E517C7 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 271286B91CC13E1000E517C7 /* strings2po.c in Sources */ = {isa = PBXBuildFile; fileRef = 271286861CC13D9600E517C7 /* strings2po.c */; }; + 271286C11CC13E2100E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271286C21CC13E2100E517C7 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 271286C31CC13E2100E517C7 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72D53A2C15B4913D003F877F /* IOKit.framework */; }; + 271286C41CC13E2100E517C7 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 271286CA1CC13E2E00E517C7 /* bcp.c in Sources */ = {isa = PBXBuildFile; fileRef = 271286801CC1396100E517C7 /* bcp.c */; }; + 271286D11CC13E5B00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271286D21CC13E5B00E517C7 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 271286D31CC13E5B00E517C7 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72D53A2C15B4913D003F877F /* IOKit.framework */; }; + 271286D41CC13E5B00E517C7 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 271286DA1CC13E6A00E517C7 /* tbcp.c in Sources */ = {isa = PBXBuildFile; fileRef = 271286811CC1396100E517C7 /* tbcp.c */; }; + 271286EB1CC13F2000E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271286EC1CC13F2000E517C7 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 271286ED1CC13F2000E517C7 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72D53A2C15B4913D003F877F /* IOKit.framework */; }; + 271286EE1CC13F2000E517C7 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 271286F41CC13F2F00E517C7 /* mailto.c in Sources */ = {isa = PBXBuildFile; fileRef = 724FA6D51CC039D00092477B /* mailto.c */; }; + 271286FB1CC13F3F00E517C7 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 271286FC1CC13F3F00E517C7 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 271286FD1CC13F3F00E517C7 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72D53A2C15B4913D003F877F /* IOKit.framework */; }; + 271286FE1CC13F3F00E517C7 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 271287041CC13F4C00E517C7 /* rss.c in Sources */ = {isa = PBXBuildFile; fileRef = 724FA6D61CC039D00092477B /* rss.c */; }; + 2712870F1CC13FAB00E517C7 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 271287101CC13FAB00E517C7 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 271287111CC13FAB00E517C7 /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 271287121CC13FAB00E517C7 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 271287131CC13FAB00E517C7 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 2712871A1CC13FE800E517C7 /* mantohtml.c in Sources */ = {isa = PBXBuildFile; fileRef = 271287191CC13FDB00E517C7 /* mantohtml.c */; }; + 2712872D1CC140D200E517C7 /* genstrings.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 2712871D1CC140B400E517C7 /* genstrings.cxx */; }; + 271287321CC140EB00E517C7 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 271287331CC140EB00E517C7 /* libcupsppdc_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA7401CC03AAF0092477B /* libcupsppdc_static.a */; }; + 271287341CC140F500E517C7 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 273B1EA1226B3E4800428143 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 273B1EA2226B3E4800428143 /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 273B1EA3226B3E4800428143 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 273B1EA4226B3E4800428143 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 273B1EA5226B3E4800428143 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 273B1EB2226B3E5200428143 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 273B1EB3226B3E5200428143 /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 273B1EB4226B3E5200428143 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 273B1EB5226B3E5200428143 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 273B1EB6226B3E5200428143 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 273B1EBF226B3EF300428143 /* ippevepcl.c in Sources */ = {isa = PBXBuildFile; fileRef = 273B1EBE226B3EE300428143 /* ippevepcl.c */; }; + 273B1EC0226B3EFF00428143 /* ippeveps.c in Sources */ = {isa = PBXBuildFile; fileRef = 273B1EBC226B3EE300428143 /* ippeveps.c */; }; + 273B1EC7226B41F700428143 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 273B1ECA226B420C00428143 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 273B1ECD226B421E00428143 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 273BF6C71333B5370022CAAB /* testcups.c in Sources */ = {isa = PBXBuildFile; fileRef = 273BF6C61333B5370022CAAB /* testcups.c */; }; + 274770D72345342B0089BC31 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 274770D82345342B0089BC31 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 274770D92345342B0089BC31 /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 274770DA2345342B0089BC31 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 274770DB2345342B0089BC31 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 274770E2234534660089BC31 /* testthreads.c in Sources */ = {isa = PBXBuildFile; fileRef = 274770E1234534660089BC31 /* testthreads.c */; }; + 274FF5D913332CC700317ECB /* cups-driverd.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5D613332CC700317ECB /* cups-driverd.cxx */; }; + 274FF5DA13332CC700317ECB /* util.c in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5D713332CC700317ECB /* util.c */; }; + 274FF5DD13332D0600317ECB /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 274FF60A1333315100317ECB /* ppdc-array.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5F51333315100317ECB /* ppdc-array.cxx */; }; + 274FF60B1333315100317ECB /* ppdc-attr.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5F61333315100317ECB /* ppdc-attr.cxx */; }; + 274FF60C1333315100317ECB /* ppdc-catalog.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5F71333315100317ECB /* ppdc-catalog.cxx */; }; + 274FF60D1333315100317ECB /* ppdc-choice.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5F81333315100317ECB /* ppdc-choice.cxx */; }; + 274FF60E1333315100317ECB /* ppdc-constraint.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5F91333315100317ECB /* ppdc-constraint.cxx */; }; + 274FF60F1333315100317ECB /* ppdc-driver.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5FA1333315100317ECB /* ppdc-driver.cxx */; }; + 274FF6101333315100317ECB /* ppdc-file.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5FB1333315100317ECB /* ppdc-file.cxx */; }; + 274FF6111333315100317ECB /* ppdc-filter.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5FC1333315100317ECB /* ppdc-filter.cxx */; }; + 274FF6121333315100317ECB /* ppdc-font.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5FD1333315100317ECB /* ppdc-font.cxx */; }; + 274FF6131333315100317ECB /* ppdc-group.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5FE1333315100317ECB /* ppdc-group.cxx */; }; + 274FF6141333315100317ECB /* ppdc-import.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5FF1333315100317ECB /* ppdc-import.cxx */; }; + 274FF6151333315100317ECB /* ppdc-mediasize.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6001333315100317ECB /* ppdc-mediasize.cxx */; }; + 274FF6161333315100317ECB /* ppdc-message.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6011333315100317ECB /* ppdc-message.cxx */; }; + 274FF6171333315100317ECB /* ppdc-option.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6021333315100317ECB /* ppdc-option.cxx */; }; + 274FF6181333315100317ECB /* ppdc-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 274FF6031333315100317ECB /* ppdc-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 274FF6191333315100317ECB /* ppdc-profile.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6041333315100317ECB /* ppdc-profile.cxx */; }; + 274FF61A1333315100317ECB /* ppdc-shared.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6051333315100317ECB /* ppdc-shared.cxx */; }; + 274FF61B1333315100317ECB /* ppdc-source.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6061333315100317ECB /* ppdc-source.cxx */; }; + 274FF61C1333315100317ECB /* ppdc-string.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6071333315100317ECB /* ppdc-string.cxx */; }; + 274FF61D1333315100317ECB /* ppdc-variable.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6081333315100317ECB /* ppdc-variable.cxx */; }; + 274FF61E1333315100317ECB /* ppdc.h in Headers */ = {isa = PBXBuildFile; fileRef = 274FF6091333315100317ECB /* ppdc.h */; }; + 274FF6231333321400317ECB /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 274FF6241333323B00317ECB /* libcupsppdc.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 274FF5EE133330C800317ECB /* libcupsppdc.dylib */; }; + 274FF6321333334A00317ECB /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 274FF6361333344400317ECB /* cups-deviced.c in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6351333344400317ECB /* cups-deviced.c */; }; + 274FF6371333345900317ECB /* util.c in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5D713332CC700317ECB /* util.c */; }; + 274FF64A1333398D00317ECB /* cups-exec.c in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6491333398D00317ECB /* cups-exec.c */; }; + 274FF658133339D300317ECB /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 274FF65C133339FC00317ECB /* cups-lpd.c in Sources */ = {isa = PBXBuildFile; fileRef = 274FF65B133339FC00317ECB /* cups-lpd.c */; }; + 274FF68513333B4300317ECB /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 274FF68613333B4300317ECB /* libcupsmime.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220FAC13330B2200FCA411 /* libcupsmime.dylib */; }; + 274FF68813333B6E00317ECB /* cupsfilter.c in Sources */ = {isa = PBXBuildFile; fileRef = 274FF68713333B6E00317ECB /* cupsfilter.c */; }; + 274FF68B1333B1C400317ECB /* adminutil.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EB51333052D00FCA411 /* adminutil.c */; }; + 274FF68C1333B1C400317ECB /* array.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EB81333056300FCA411 /* array.c */; }; + 274FF68D1333B1C400317ECB /* ppd-attr.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EBA1333056300FCA411 /* ppd-attr.c */; }; + 274FF68E1333B1C400317ECB /* auth.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EBB1333056300FCA411 /* auth.c */; }; + 274FF68F1333B1C400317ECB /* backchannel.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EBC1333056300FCA411 /* backchannel.c */; }; + 274FF6901333B1C400317ECB /* backend.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EBD1333056300FCA411 /* backend.c */; }; + 274FF6911333B1C400317ECB /* ppd-conflicts.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EBF1333056300FCA411 /* ppd-conflicts.c */; }; + 274FF6921333B1C400317ECB /* ppd-custom.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EC21333056300FCA411 /* ppd-custom.c */; }; + 274FF6931333B1C400317ECB /* debug.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED1133305BB00FCA411 /* debug.c */; }; + 274FF6941333B1C400317ECB /* dest.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED2133305BB00FCA411 /* dest.c */; }; + 274FF6951333B1C400317ECB /* dir.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED3133305BB00FCA411 /* dir.c */; }; + 274FF6961333B1C400317ECB /* ppd-emit.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED5133305BB00FCA411 /* ppd-emit.c */; }; + 274FF6971333B1C400317ECB /* encode.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED6133305BB00FCA411 /* encode.c */; }; + 274FF6981333B1C400317ECB /* file.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED8133305BB00FCA411 /* file.c */; }; + 274FF6991333B1C400317ECB /* getdevices.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDA133305BB00FCA411 /* getdevices.c */; }; + 274FF69A1333B1C400317ECB /* getifaddrs.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDB133305BB00FCA411 /* getifaddrs.c */; }; + 274FF69B1333B1C400317ECB /* getputfile.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDC133305BB00FCA411 /* getputfile.c */; }; + 274FF69C1333B1C400317ECB /* globals.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDD133305BB00FCA411 /* globals.c */; }; + 274FF69D1333B1C400317ECB /* http-addr.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDE133305BB00FCA411 /* http-addr.c */; }; + 274FF69E1333B1C400317ECB /* http-addrlist.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDF133305BB00FCA411 /* http-addrlist.c */; }; + 274FF69F1333B1C400317ECB /* http-support.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE1133305BB00FCA411 /* http-support.c */; }; + 274FF6A01333B1C400317ECB /* http.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE2133305BB00FCA411 /* http.c */; }; + 274FF6A11333B1C400317ECB /* ipp-support.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE5133305BB00FCA411 /* ipp-support.c */; }; + 274FF6A21333B1C400317ECB /* ipp.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE6133305BB00FCA411 /* ipp.c */; }; + 274FF6A31333B1C400317ECB /* langprintf.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE8133305BB00FCA411 /* langprintf.c */; }; + 274FF6A41333B1C400317ECB /* language.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EEA133305BB00FCA411 /* language.c */; }; + 274FF6A51333B1C400317ECB /* ppd-localize.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EEC133305BB00FCA411 /* ppd-localize.c */; }; + 274FF6A61333B1C400317ECB /* ppd-mark.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EED133305BB00FCA411 /* ppd-mark.c */; }; + 274FF6A71333B1C400317ECB /* md5.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EEF133305BB00FCA411 /* md5.c */; }; + 274FF6A81333B1C400317ECB /* md5passwd.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF0133305BB00FCA411 /* md5passwd.c */; }; + 274FF6A91333B1C400317ECB /* notify.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF1133305BB00FCA411 /* notify.c */; }; + 274FF6AA1333B1C400317ECB /* options.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF2133305BB00FCA411 /* options.c */; }; + 274FF6AB1333B1C400317ECB /* ppd-page.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF3133305BB00FCA411 /* ppd-page.c */; }; + 274FF6AC1333B1C400317ECB /* ppd-cache.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF4133305BB00FCA411 /* ppd-cache.c */; }; + 274FF6AD1333B1C400317ECB /* ppd.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF6133305BB00FCA411 /* ppd.c */; }; + 274FF6AE1333B1C400317ECB /* pwg-media.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF8133305BB00FCA411 /* pwg-media.c */; }; + 274FF6AF1333B1C400317ECB /* request.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EFB133305BB00FCA411 /* request.c */; }; + 274FF6B01333B1C400317ECB /* sidechannel.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EFC133305BB00FCA411 /* sidechannel.c */; }; + 274FF6B11333B1C400317ECB /* snmp.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EFF133305BB00FCA411 /* snmp.c */; }; + 274FF6B21333B1C400317ECB /* snprintf.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F00133305BB00FCA411 /* snprintf.c */; }; + 274FF6B31333B1C400317ECB /* string.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F02133305BB00FCA411 /* string.c */; }; + 274FF6B41333B1C400317ECB /* tempfile.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F03133305BB00FCA411 /* tempfile.c */; }; + 274FF6B51333B1C400317ECB /* thread.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F05133305BB00FCA411 /* thread.c */; }; + 274FF6B61333B1C400317ECB /* transcode.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F06133305BB00FCA411 /* transcode.c */; }; + 274FF6B71333B1C400317ECB /* usersys.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F08133305BB00FCA411 /* usersys.c */; }; + 274FF6B81333B1C400317ECB /* util.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F09133305BB00FCA411 /* util.c */; }; + 274FF6C61333B1C400317ECB /* dir.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220ED4133305BB00FCA411 /* dir.h */; settings = {ATTRIBUTES = (); }; }; + 276683671337A9E0000D33D0 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 276683691337AA00000D33D0 /* cupsctl.c in Sources */ = {isa = PBXBuildFile; fileRef = 276683681337AA00000D33D0 /* cupsctl.c */; }; + 276683B11337AD06000D33D0 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 276683B21337AD06000D33D0 /* libcupsppdc.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 274FF5EE133330C800317ECB /* libcupsppdc.dylib */; }; + 276683B71337AD23000D33D0 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 276683B81337AD23000D33D0 /* libcupsppdc.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 274FF5EE133330C800317ECB /* libcupsppdc.dylib */; }; + 276683B91337AD31000D33D0 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 276683BA1337AD31000D33D0 /* libcupsppdc.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 274FF5EE133330C800317ECB /* libcupsppdc.dylib */; }; + 276683C31337B1B3000D33D0 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 276683C41337B1B3000D33D0 /* libcupsppdc.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 274FF5EE133330C800317ECB /* libcupsppdc.dylib */; }; + 276683C91337B1C1000D33D0 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 276683CA1337B1C1000D33D0 /* libcupsppdc.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 274FF5EE133330C800317ECB /* libcupsppdc.dylib */; }; + 276683CD1337B201000D33D0 /* ppdc.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 276683CC1337B201000D33D0 /* ppdc.cxx */; }; + 276683CF1337B20D000D33D0 /* ppdhtml.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 276683CE1337B20D000D33D0 /* ppdhtml.cxx */; }; + 276683D11337B21A000D33D0 /* ppdi.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 276683D01337B21A000D33D0 /* ppdi.cxx */; }; + 276683D31337B228000D33D0 /* ppdmerge.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 276683D21337B228000D33D0 /* ppdmerge.cxx */; }; + 276683D51337B237000D33D0 /* ppdpo.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 276683D41337B237000D33D0 /* ppdpo.cxx */; }; + 276683E21337B29C000D33D0 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 276683E51337B2BE000D33D0 /* libcupsimage.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72F75A611336F9A3004BB496 /* libcupsimage.dylib */; }; + 276683FA1337F7A9000D33D0 /* ipptool.c in Sources */ = {isa = PBXBuildFile; fileRef = 276683F91337F7A9000D33D0 /* ipptool.c */; }; + 276683FD1337F7B8000D33D0 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 2767FC5219266A36000F61D3 /* testdest.c in Sources */ = {isa = PBXBuildFile; fileRef = 2767FC5119266A36000F61D3 /* testdest.c */; }; + 2767FC57192674C4000F61D3 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 2767FC58192674E0000F61D3 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 2767FC5F1926750C000F61D3 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 2767FC601926750C000F61D3 /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5A1926750C000F61D3 /* libiconv.dylib */; }; + 2767FC611926750C000F61D3 /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 2767FC621926750C000F61D3 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 2767FC631926750C000F61D3 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 2767FC641926750C000F61D3 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 2767FC6619267538000F61D3 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 2767FC6719267538000F61D3 /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 2767FC6819267538000F61D3 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 2767FC6919267538000F61D3 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 2767FC6A19267538000F61D3 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 2767FC6B192685E6000F61D3 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 2767FC6C192685E6000F61D3 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 2767FC6D192685E6000F61D3 /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5A1926750C000F61D3 /* libiconv.dylib */; }; + 2767FC6E192685E6000F61D3 /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 2767FC6F192685E6000F61D3 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 2767FC70192685E6000F61D3 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 2767FC71192685E6000F61D3 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 2767FC7219268F06000F61D3 /* dest-job.c in Sources */ = {isa = PBXBuildFile; fileRef = 72CF95E018A13543000FCAE4 /* dest-job.c */; }; + 2767FC7319268F09000F61D3 /* dest-localization.c in Sources */ = {isa = PBXBuildFile; fileRef = 72CF95E118A13543000FCAE4 /* dest-localization.c */; }; + 2767FC7419268F0C000F61D3 /* dest-options.c in Sources */ = {isa = PBXBuildFile; fileRef = 72CF95E218A13543000FCAE4 /* dest-options.c */; }; + 278C58E3136B647200836530 /* testhttp.c in Sources */ = {isa = PBXBuildFile; fileRef = 278C58E2136B647200836530 /* testhttp.c */; }; + 278C58E9136B64B000836530 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 278C58EA136B64B000836530 /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 278C58EB136B64B000836530 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 278C58EC136B64B000836530 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 279AE6F52395B80F004DD600 /* libpam.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 279AE6F42395B80F004DD600 /* libpam.tbd */; }; + 27A034821A8BDC3A00650675 /* lpadmin.c in Sources */ = {isa = PBXBuildFile; fileRef = 2732E08D137A3F5200FAFEF6 /* lpadmin.c */; }; + 27A034851A8BDC5C00650675 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 7200511218F492F200E7B81B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 720DD6CD1358FD720064AA82 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 720DD6D31358FDDE0064AA82 /* snmp.c in Sources */ = {isa = PBXBuildFile; fileRef = 720DD6D21358FDDE0064AA82 /* snmp.c */; }; + 720DD6D413590AB90064AA82 /* ieee1284.c in Sources */ = {isa = PBXBuildFile; fileRef = 724379CA1334000E009631B9 /* ieee1284.c */; }; + 720E854320164E7B00C6C411 /* ipp-file.c in Sources */ = {isa = PBXBuildFile; fileRef = 720E854120164E7A00C6C411 /* ipp-file.c */; }; + 720E854420164E7B00C6C411 /* ipp-file.c in Sources */ = {isa = PBXBuildFile; fileRef = 720E854120164E7A00C6C411 /* ipp-file.c */; }; + 720E854520164E7B00C6C411 /* ipp-vars.c in Sources */ = {isa = PBXBuildFile; fileRef = 720E854220164E7A00C6C411 /* ipp-vars.c */; }; + 720E854620164E7B00C6C411 /* ipp-vars.c in Sources */ = {isa = PBXBuildFile; fileRef = 720E854220164E7A00C6C411 /* ipp-vars.c */; }; + 72220EB61333052D00FCA411 /* adminutil.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EB51333052D00FCA411 /* adminutil.c */; }; + 72220EC41333056300FCA411 /* adminutil.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EB71333056300FCA411 /* adminutil.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220EC51333056300FCA411 /* array.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EB81333056300FCA411 /* array.c */; }; + 72220EC61333056300FCA411 /* array.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EB91333056300FCA411 /* array.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220EC71333056300FCA411 /* ppd-attr.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EBA1333056300FCA411 /* ppd-attr.c */; }; + 72220EC81333056300FCA411 /* auth.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EBB1333056300FCA411 /* auth.c */; }; + 72220EC91333056300FCA411 /* backchannel.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EBC1333056300FCA411 /* backchannel.c */; }; + 72220ECA1333056300FCA411 /* backend.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EBD1333056300FCA411 /* backend.c */; }; + 72220ECB1333056300FCA411 /* backend.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EBE1333056300FCA411 /* backend.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220ECC1333056300FCA411 /* ppd-conflicts.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EBF1333056300FCA411 /* ppd-conflicts.c */; }; + 72220ECD1333056300FCA411 /* cups-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EC01333056300FCA411 /* cups-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 72220ECE1333056300FCA411 /* cups.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EC11333056300FCA411 /* cups.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220ECF1333056300FCA411 /* ppd-custom.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EC21333056300FCA411 /* ppd-custom.c */; }; + 72220F0B133305BB00FCA411 /* debug.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED1133305BB00FCA411 /* debug.c */; }; + 72220F0C133305BB00FCA411 /* dest.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED2133305BB00FCA411 /* dest.c */; }; + 72220F0D133305BB00FCA411 /* dir.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED3133305BB00FCA411 /* dir.c */; }; + 72220F0E133305BB00FCA411 /* dir.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220ED4133305BB00FCA411 /* dir.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220F0F133305BB00FCA411 /* ppd-emit.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED5133305BB00FCA411 /* ppd-emit.c */; }; + 72220F10133305BB00FCA411 /* encode.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED6133305BB00FCA411 /* encode.c */; }; + 72220F11133305BB00FCA411 /* file-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220ED7133305BB00FCA411 /* file-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 72220F12133305BB00FCA411 /* file.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220ED8133305BB00FCA411 /* file.c */; }; + 72220F13133305BB00FCA411 /* file.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220ED9133305BB00FCA411 /* file.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220F14133305BB00FCA411 /* getdevices.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDA133305BB00FCA411 /* getdevices.c */; }; + 72220F15133305BB00FCA411 /* getifaddrs.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDB133305BB00FCA411 /* getifaddrs.c */; }; + 72220F16133305BB00FCA411 /* getputfile.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDC133305BB00FCA411 /* getputfile.c */; }; + 72220F17133305BB00FCA411 /* globals.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDD133305BB00FCA411 /* globals.c */; }; + 72220F18133305BB00FCA411 /* http-addr.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDE133305BB00FCA411 /* http-addr.c */; }; + 72220F19133305BB00FCA411 /* http-addrlist.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EDF133305BB00FCA411 /* http-addrlist.c */; }; + 72220F1A133305BB00FCA411 /* http-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EE0133305BB00FCA411 /* http-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 72220F1B133305BB00FCA411 /* http-support.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE1133305BB00FCA411 /* http-support.c */; }; + 72220F1C133305BB00FCA411 /* http.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE2133305BB00FCA411 /* http.c */; }; + 72220F1D133305BB00FCA411 /* http.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EE3133305BB00FCA411 /* http.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220F1E133305BB00FCA411 /* ipp-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EE4133305BB00FCA411 /* ipp-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 72220F1F133305BB00FCA411 /* ipp-support.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE5133305BB00FCA411 /* ipp-support.c */; }; + 72220F20133305BB00FCA411 /* ipp.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE6133305BB00FCA411 /* ipp.c */; }; + 72220F21133305BB00FCA411 /* ipp.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EE7133305BB00FCA411 /* ipp.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220F22133305BB00FCA411 /* langprintf.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EE8133305BB00FCA411 /* langprintf.c */; }; + 72220F23133305BB00FCA411 /* language-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EE9133305BB00FCA411 /* language-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 72220F24133305BB00FCA411 /* language.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EEA133305BB00FCA411 /* language.c */; }; + 72220F25133305BB00FCA411 /* language.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EEB133305BB00FCA411 /* language.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220F26133305BB00FCA411 /* ppd-localize.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EEC133305BB00FCA411 /* ppd-localize.c */; }; + 72220F27133305BB00FCA411 /* ppd-mark.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EED133305BB00FCA411 /* ppd-mark.c */; }; + 72220F28133305BB00FCA411 /* md5-internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EEE133305BB00FCA411 /* md5-internal.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 72220F29133305BB00FCA411 /* md5.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EEF133305BB00FCA411 /* md5.c */; }; + 72220F2A133305BB00FCA411 /* md5passwd.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF0133305BB00FCA411 /* md5passwd.c */; }; + 72220F2B133305BB00FCA411 /* notify.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF1133305BB00FCA411 /* notify.c */; }; + 72220F2C133305BB00FCA411 /* options.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF2133305BB00FCA411 /* options.c */; }; + 72220F2D133305BB00FCA411 /* ppd-page.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF3133305BB00FCA411 /* ppd-page.c */; }; + 72220F2E133305BB00FCA411 /* ppd-cache.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF4133305BB00FCA411 /* ppd-cache.c */; }; + 72220F2F133305BB00FCA411 /* ppd-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EF5133305BB00FCA411 /* ppd-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 72220F30133305BB00FCA411 /* ppd.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF6133305BB00FCA411 /* ppd.c */; }; + 72220F31133305BB00FCA411 /* ppd.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EF7133305BB00FCA411 /* ppd.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220F32133305BB00FCA411 /* pwg-media.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EF8133305BB00FCA411 /* pwg-media.c */; }; + 72220F33133305BB00FCA411 /* pwg-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EF9133305BB00FCA411 /* pwg-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 72220F35133305BB00FCA411 /* request.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EFB133305BB00FCA411 /* request.c */; }; + 72220F36133305BB00FCA411 /* sidechannel.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EFC133305BB00FCA411 /* sidechannel.c */; }; + 72220F37133305BB00FCA411 /* sidechannel.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EFD133305BB00FCA411 /* sidechannel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220F38133305BB00FCA411 /* snmp-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EFE133305BB00FCA411 /* snmp-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 72220F39133305BB00FCA411 /* snmp.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220EFF133305BB00FCA411 /* snmp.c */; }; + 72220F3A133305BB00FCA411 /* snprintf.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F00133305BB00FCA411 /* snprintf.c */; }; + 72220F3B133305BB00FCA411 /* string-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220F01133305BB00FCA411 /* string-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 72220F3C133305BB00FCA411 /* string.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F02133305BB00FCA411 /* string.c */; }; + 72220F3D133305BB00FCA411 /* tempfile.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F03133305BB00FCA411 /* tempfile.c */; }; + 72220F3E133305BB00FCA411 /* thread-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220F04133305BB00FCA411 /* thread-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 72220F3F133305BB00FCA411 /* thread.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F05133305BB00FCA411 /* thread.c */; }; + 72220F40133305BB00FCA411 /* transcode.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F06133305BB00FCA411 /* transcode.c */; }; + 72220F41133305BB00FCA411 /* transcode.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220F07133305BB00FCA411 /* transcode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220F42133305BB00FCA411 /* usersys.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F08133305BB00FCA411 /* usersys.c */; }; + 72220F43133305BB00FCA411 /* util.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F09133305BB00FCA411 /* util.c */; }; + 72220F44133305BB00FCA411 /* versioning.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220F0A133305BB00FCA411 /* versioning.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72220F481333063D00FCA411 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220F471333063D00FCA411 /* config.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 72220F6613330A7000FCA411 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 72220F9013330B0C00FCA411 /* auth.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F6913330B0C00FCA411 /* auth.c */; }; + 72220F9113330B0C00FCA411 /* banners.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F6B13330B0C00FCA411 /* banners.c */; }; + 72220F9213330B0C00FCA411 /* cert.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F6D13330B0C00FCA411 /* cert.c */; }; + 72220F9313330B0C00FCA411 /* classes.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F6F13330B0C00FCA411 /* classes.c */; }; + 72220F9413330B0C00FCA411 /* client.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F7113330B0C00FCA411 /* client.c */; }; + 72220F9513330B0C00FCA411 /* conf.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F7313330B0C00FCA411 /* conf.c */; }; + 72220F9613330B0C00FCA411 /* dirsvc.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F7613330B0C00FCA411 /* dirsvc.c */; }; + 72220F9713330B0C00FCA411 /* env.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F7813330B0C00FCA411 /* env.c */; }; + 72220F9813330B0C00FCA411 /* ipp.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F7913330B0C00FCA411 /* ipp.c */; }; + 72220F9913330B0C00FCA411 /* job.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F7A13330B0C00FCA411 /* job.c */; }; + 72220F9A13330B0C00FCA411 /* listen.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F7C13330B0C00FCA411 /* listen.c */; }; + 72220F9B13330B0C00FCA411 /* log.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F7D13330B0C00FCA411 /* log.c */; }; + 72220F9C13330B0C00FCA411 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F7E13330B0C00FCA411 /* main.c */; }; + 72220F9D13330B0C00FCA411 /* network.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F7F13330B0C00FCA411 /* network.c */; }; + 72220F9E13330B0C00FCA411 /* policy.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F8113330B0C00FCA411 /* policy.c */; }; + 72220F9F13330B0C00FCA411 /* printers.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F8313330B0C00FCA411 /* printers.c */; }; + 72220FA013330B0C00FCA411 /* process.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F8513330B0C00FCA411 /* process.c */; }; + 72220FA113330B0C00FCA411 /* quotas.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F8613330B0C00FCA411 /* quotas.c */; }; + 72220FA313330B0C00FCA411 /* select.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F8813330B0C00FCA411 /* select.c */; }; + 72220FA413330B0C00FCA411 /* server.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F8913330B0C00FCA411 /* server.c */; }; + 72220FA513330B0C00FCA411 /* statbuf.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F8A13330B0C00FCA411 /* statbuf.c */; }; + 72220FA613330B0C00FCA411 /* subscriptions.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F8C13330B0C00FCA411 /* subscriptions.c */; }; + 72220FA713330B0C00FCA411 /* sysman.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220F8E13330B0C00FCA411 /* sysman.c */; }; + 72220FB613330BCE00FCA411 /* filter.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220FB213330BCE00FCA411 /* filter.c */; }; + 72220FB713330BCE00FCA411 /* mime.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220FB313330BCE00FCA411 /* mime.c */; }; + 72220FB813330BCE00FCA411 /* mime.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220FB413330BCE00FCA411 /* mime.h */; }; + 72220FB913330BCE00FCA411 /* type.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220FB513330BCE00FCA411 /* type.c */; }; + 72220FBA13330BEE00FCA411 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 72220FBF13330C1000FCA411 /* libcupsmime.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220FAC13330B2200FCA411 /* libcupsmime.dylib */; }; + 722A24EF2178D00D000CAB20 /* debug-internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 722A24EE2178D00C000CAB20 /* debug-internal.h */; }; + 722A24F02178D00D000CAB20 /* debug-internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 722A24EE2178D00C000CAB20 /* debug-internal.h */; }; + 722A24F12178D00D000CAB20 /* debug-internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 722A24EE2178D00C000CAB20 /* debug-internal.h */; }; + 722A24F32178D091000CAB20 /* debug-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 722A24F22178D090000CAB20 /* debug-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 722A24F42178D091000CAB20 /* debug-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 722A24F22178D090000CAB20 /* debug-private.h */; }; + 722A24F52178D091000CAB20 /* debug-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 722A24F22178D090000CAB20 /* debug-private.h */; }; + 7234F4201378A16F00D3E9C9 /* array-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 7234F41F1378A16F00D3E9C9 /* array-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 724379081333E4A5009631B9 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 7243790D1333E4E3009631B9 /* ipp.c in Sources */ = {isa = PBXBuildFile; fileRef = 7243790A1333E4E3009631B9 /* ipp.c */; }; + 7243790E1333E4E3009631B9 /* network.c in Sources */ = {isa = PBXBuildFile; fileRef = 7243790B1333E4E3009631B9 /* network.c */; }; + 7243790F1333E4E3009631B9 /* snmp-supplies.c in Sources */ = {isa = PBXBuildFile; fileRef = 7243790C1333E4E3009631B9 /* snmp-supplies.c */; }; + 724379131333E516009631B9 /* runloop.c in Sources */ = {isa = PBXBuildFile; fileRef = 724379121333E516009631B9 /* runloop.c */; }; + 724379221333E928009631B9 /* network.c in Sources */ = {isa = PBXBuildFile; fileRef = 7243790B1333E4E3009631B9 /* network.c */; }; + 724379231333E928009631B9 /* runloop.c in Sources */ = {isa = PBXBuildFile; fileRef = 724379121333E516009631B9 /* runloop.c */; }; + 724379241333E928009631B9 /* snmp-supplies.c in Sources */ = {isa = PBXBuildFile; fileRef = 7243790C1333E4E3009631B9 /* snmp-supplies.c */; }; + 724379271333E93D009631B9 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 724379291333E952009631B9 /* lpd.c in Sources */ = {isa = PBXBuildFile; fileRef = 724379281333E952009631B9 /* lpd.c */; }; + 7243793B1333FB9D009631B9 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 7243793D1333FD19009631B9 /* socket.c in Sources */ = {isa = PBXBuildFile; fileRef = 7243793C1333FD19009631B9 /* socket.c */; }; + 724379401333FD4B009631B9 /* network.c in Sources */ = {isa = PBXBuildFile; fileRef = 7243790B1333E4E3009631B9 /* network.c */; }; + 724379411333FD4B009631B9 /* runloop.c in Sources */ = {isa = PBXBuildFile; fileRef = 724379121333E516009631B9 /* runloop.c */; }; + 724379421333FD4B009631B9 /* snmp-supplies.c in Sources */ = {isa = PBXBuildFile; fileRef = 7243790C1333E4E3009631B9 /* snmp-supplies.c */; }; + 724379511333FEBB009631B9 /* dnssd.c in Sources */ = {isa = PBXBuildFile; fileRef = 724379501333FEBB009631B9 /* dnssd.c */; }; + 724379561333FF04009631B9 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 724379661333FF3B009631B9 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 724379C71333FFC7009631B9 /* usb.c in Sources */ = {isa = PBXBuildFile; fileRef = 724379C51333FFC7009631B9 /* usb.c */; }; + 724379CB1334000E009631B9 /* ieee1284.c in Sources */ = {isa = PBXBuildFile; fileRef = 724379CA1334000E009631B9 /* ieee1284.c */; }; + 724FA52A1CC0370C0092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 724FA52B1CC0370C0092477B /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5A1926750C000F61D3 /* libiconv.dylib */; }; + 724FA52C1CC0370C0092477B /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 724FA52D1CC0370C0092477B /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 724FA52E1CC0370C0092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 724FA52F1CC0370C0092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 724FA5301CC0370C0092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA5361CC0372F0092477B /* testadmin.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF041192E3544001EF690 /* testadmin.c */; }; + 724FA53D1CC037370092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 724FA53E1CC037370092477B /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5A1926750C000F61D3 /* libiconv.dylib */; }; + 724FA53F1CC037370092477B /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 724FA5401CC037370092477B /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 724FA5411CC037370092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 724FA5421CC037370092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 724FA5431CC037370092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA5491CC037460092477B /* testarray.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF042192E3544001EF690 /* testarray.c */; }; + 724FA5501CC037500092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 724FA5511CC037500092477B /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5A1926750C000F61D3 /* libiconv.dylib */; }; + 724FA5521CC037500092477B /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 724FA5531CC037500092477B /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 724FA5541CC037500092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 724FA5551CC037500092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 724FA5561CC037500092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA55C1CC0375F0092477B /* testcache.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF043192E3544001EF690 /* testcache.c */; }; + 724FA5631CC037670092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 724FA5641CC037670092477B /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5A1926750C000F61D3 /* libiconv.dylib */; }; + 724FA5651CC037670092477B /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 724FA5661CC037670092477B /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 724FA5671CC037670092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 724FA5681CC037670092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 724FA5691CC037670092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA56F1CC037760092477B /* testconflicts.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF044192E3544001EF690 /* testconflicts.c */; }; + 724FA5761CC037810092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA5771CC037810092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 724FA5781CC037810092477B /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5A1926750C000F61D3 /* libiconv.dylib */; }; + 724FA5791CC037810092477B /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 724FA57A1CC037810092477B /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 724FA57B1CC037810092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 724FA57C1CC037810092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 724FA5821CC0378E0092477B /* testfile.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF045192E3544001EF690 /* testfile.c */; }; + 724FA5891CC037980092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA58A1CC037980092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA58B1CC037980092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA58C1CC037980092477B /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EF1536167A005426E1 /* libiconv.dylib */; }; + 724FA58D1CC037980092477B /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7F01536167A005426E1 /* libresolv.dylib */; }; + 724FA58E1CC037980092477B /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EC1536161C005426E1 /* libz.dylib */; }; + 724FA58F1CC037980092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA5951CC037A50092477B /* testi18n.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF046192E3544001EF690 /* testi18n.c */; }; + 724FA59C1CC037AA0092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA59D1CC037AA0092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA59E1CC037AA0092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA59F1CC037AA0092477B /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EF1536167A005426E1 /* libiconv.dylib */; }; + 724FA5A01CC037AA0092477B /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7F01536167A005426E1 /* libresolv.dylib */; }; + 724FA5A11CC037AA0092477B /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EC1536161C005426E1 /* libz.dylib */; }; + 724FA5A21CC037AA0092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA5A81CC037B70092477B /* testipp.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF047192E3544001EF690 /* testipp.c */; }; + 724FA5AF1CC037C60092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA5B01CC037C60092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA5B11CC037C60092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA5B21CC037C60092477B /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EF1536167A005426E1 /* libiconv.dylib */; }; + 724FA5B31CC037C60092477B /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7F01536167A005426E1 /* libresolv.dylib */; }; + 724FA5B41CC037C60092477B /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EC1536161C005426E1 /* libz.dylib */; }; + 724FA5B51CC037C60092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA5BB1CC037D30092477B /* testlang.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF048192E3544001EF690 /* testlang.c */; }; + 724FA5C21CC037D90092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA5C31CC037D90092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA5C41CC037D90092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA5C51CC037D90092477B /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EF1536167A005426E1 /* libiconv.dylib */; }; + 724FA5C61CC037D90092477B /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7F01536167A005426E1 /* libresolv.dylib */; }; + 724FA5C71CC037D90092477B /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EC1536161C005426E1 /* libz.dylib */; }; + 724FA5C81CC037D90092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA5CE1CC037E50092477B /* testlpd.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF04D192E3602001EF690 /* testlpd.c */; }; + 724FA5D71CC037F00092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA5D81CC037F00092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA5D91CC037F00092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA5DA1CC037F00092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA5DB1CC037F00092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 724FA5E21CC037FD0092477B /* testoptions.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF049192E3544001EF690 /* testoptions.c */; }; + 724FA5EB1CC038040092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA5EC1CC038040092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA5ED1CC038040092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA5EE1CC038040092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA5EF1CC038040092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 724FA5F61CC0380F0092477B /* testppd.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF04A192E3544001EF690 /* testppd.c */; }; + 724FA5FF1CC038190092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA6001CC038190092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA6011CC038190092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA6021CC038190092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA6031CC038190092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 724FA60A1CC038250092477B /* testpwg.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF04B192E3544001EF690 /* testpwg.c */; }; + 724FA6131CC0382B0092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA6141CC0382B0092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA6151CC0382B0092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA6161CC0382B0092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA6171CC0382B0092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 724FA61E1CC0383B0092477B /* testraster.c in Sources */ = {isa = PBXBuildFile; fileRef = 27F89DA21B3AC43B00E5A4B7 /* testraster.c */; }; + 724FA6271CC038410092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA6281CC038410092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA6291CC038410092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA62A1CC038410092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA62B1CC038410092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 724FA6321CC038510092477B /* testsnmp.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF04C192E3544001EF690 /* testsnmp.c */; }; + 724FA63B1CC038560092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA63C1CC038560092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA63D1CC038560092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA63E1CC038560092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA63F1CC038560092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 724FA6461CC038650092477B /* testspeed.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF04E192E3602001EF690 /* testspeed.c */; }; + 724FA64F1CC0386E0092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA6501CC0386E0092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA6511CC0386E0092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA6521CC0386E0092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA6531CC0386E0092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 724FA65A1CC038790092477B /* testsub.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF04F192E3602001EF690 /* testsub.c */; }; + 724FA6661CC038A50092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA6671CC038A50092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA6681CC038A50092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA6691CC038A50092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA66A1CC038A50092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 724FA66B1CC038A50092477B /* libcupsmime.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220FAC13330B2200FCA411 /* libcupsmime.dylib */; }; + 724FA6711CC038B30092477B /* test1284.c in Sources */ = {isa = PBXBuildFile; fileRef = 724FA65B1CC0389F0092477B /* test1284.c */; }; + 724FA6781CC038BD0092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 724FA6791CC038BD0092477B /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5A1926750C000F61D3 /* libiconv.dylib */; }; + 724FA67A1CC038BD0092477B /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 724FA67B1CC038BD0092477B /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 724FA67C1CC038BD0092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 724FA67D1CC038BD0092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 724FA67E1CC038BD0092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA6841CC038CA0092477B /* testbackend.c in Sources */ = {isa = PBXBuildFile; fileRef = 724FA65C1CC0389F0092477B /* testbackend.c */; }; + 724FA68D1CC038D90092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA68E1CC038D90092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA68F1CC038D90092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA6901CC038D90092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA6911CC038D90092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 724FA6981CC038E70092477B /* testsupplies.c in Sources */ = {isa = PBXBuildFile; fileRef = 724FA65D1CC0389F0092477B /* testsupplies.c */; }; + 724FA69F1CC039200092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC591926750C000F61D3 /* CoreFoundation.framework */; }; + 724FA6A01CC039200092477B /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5A1926750C000F61D3 /* libiconv.dylib */; }; + 724FA6A11CC039200092477B /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5B1926750C000F61D3 /* libresolv.dylib */; }; + 724FA6A21CC039200092477B /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5C1926750C000F61D3 /* libz.dylib */; }; + 724FA6A31CC039200092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5D1926750C000F61D3 /* Security.framework */; }; + 724FA6A41CC039200092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */; }; + 724FA6A51CC039200092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA6AB1CC0392E0092477B /* testcgi.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF03D192E3498001EF690 /* testcgi.c */; }; + 724FA6B21CC0393E0092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA6B31CC0393E0092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA6B41CC0393E0092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA6B51CC0393E0092477B /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EF1536167A005426E1 /* libiconv.dylib */; }; + 724FA6B61CC0393E0092477B /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7F01536167A005426E1 /* libresolv.dylib */; }; + 724FA6B71CC0393E0092477B /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EC1536161C005426E1 /* libz.dylib */; }; + 724FA6B81CC0393E0092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA6BE1CC0394C0092477B /* testhi.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF03E192E3498001EF690 /* testhi.c */; }; + 724FA6C71CC0395A0092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA6C81CC0395A0092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA6C91CC0395A0092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA6CA1CC0395A0092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA6CB1CC0395A0092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 724FA6D21CC039680092477B /* testtemplate.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF03F192E3498001EF690 /* testtemplate.c */; }; + 724FA6E01CC039DE0092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA6E11CC039DE0092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA6E21CC039DE0092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA6E31CC039DE0092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA6E41CC039DE0092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 724FA6EB1CC039EB0092477B /* testnotify.c in Sources */ = {isa = PBXBuildFile; fileRef = 724FA6D71CC039D00092477B /* testnotify.c */; }; + 724FA6F51CC03A210092477B /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 724FA6F61CC03A210092477B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 724FA6F71CC03A210092477B /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 724FA6F81CC03A210092477B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 724FA6F91CC03A210092477B /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 724FA7001CC03A2F0092477B /* testcatalog.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 724FA6EC1CC03A1D0092477B /* testcatalog.cxx */; }; + 724FA7141CC03A990092477B /* filter.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220FB213330BCE00FCA411 /* filter.c */; }; + 724FA7151CC03A990092477B /* mime.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220FB313330BCE00FCA411 /* mime.c */; }; + 724FA7161CC03A990092477B /* type.c in Sources */ = {isa = PBXBuildFile; fileRef = 72220FB513330BCE00FCA411 /* type.c */; }; + 724FA71A1CC03A990092477B /* mime.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220FB413330BCE00FCA411 /* mime.h */; }; + 724FA71B1CC03A990092477B /* mime-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 7271883C1374AB14001A2036 /* mime-private.h */; }; + 724FA7241CC03AAF0092477B /* ppdc-array.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5F51333315100317ECB /* ppdc-array.cxx */; }; + 724FA7251CC03AAF0092477B /* ppdc-attr.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5F61333315100317ECB /* ppdc-attr.cxx */; }; + 724FA7261CC03AAF0092477B /* ppdc-catalog.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5F71333315100317ECB /* ppdc-catalog.cxx */; }; + 724FA7271CC03AAF0092477B /* ppdc-choice.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5F81333315100317ECB /* ppdc-choice.cxx */; }; + 724FA7281CC03AAF0092477B /* ppdc-constraint.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5F91333315100317ECB /* ppdc-constraint.cxx */; }; + 724FA7291CC03AAF0092477B /* ppdc-driver.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5FA1333315100317ECB /* ppdc-driver.cxx */; }; + 724FA72A1CC03AAF0092477B /* ppdc-file.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5FB1333315100317ECB /* ppdc-file.cxx */; }; + 724FA72B1CC03AAF0092477B /* ppdc-filter.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5FC1333315100317ECB /* ppdc-filter.cxx */; }; + 724FA72C1CC03AAF0092477B /* ppdc-font.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5FD1333315100317ECB /* ppdc-font.cxx */; }; + 724FA72D1CC03AAF0092477B /* ppdc-group.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5FE1333315100317ECB /* ppdc-group.cxx */; }; + 724FA72E1CC03AAF0092477B /* ppdc-import.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF5FF1333315100317ECB /* ppdc-import.cxx */; }; + 724FA72F1CC03AAF0092477B /* ppdc-mediasize.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6001333315100317ECB /* ppdc-mediasize.cxx */; }; + 724FA7301CC03AAF0092477B /* ppdc-message.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6011333315100317ECB /* ppdc-message.cxx */; }; + 724FA7311CC03AAF0092477B /* ppdc-option.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6021333315100317ECB /* ppdc-option.cxx */; }; + 724FA7321CC03AAF0092477B /* ppdc-profile.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6041333315100317ECB /* ppdc-profile.cxx */; }; + 724FA7331CC03AAF0092477B /* ppdc-shared.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6051333315100317ECB /* ppdc-shared.cxx */; }; + 724FA7341CC03AAF0092477B /* ppdc-source.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6061333315100317ECB /* ppdc-source.cxx */; }; + 724FA7351CC03AAF0092477B /* ppdc-string.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6071333315100317ECB /* ppdc-string.cxx */; }; + 724FA7361CC03AAF0092477B /* ppdc-variable.cxx in Sources */ = {isa = PBXBuildFile; fileRef = 274FF6081333315100317ECB /* ppdc-variable.cxx */; }; + 724FA73C1CC03AAF0092477B /* ppdc-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 274FF6031333315100317ECB /* ppdc-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 724FA7491CC03ACC0092477B /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 724FA7511CC03AF20092477B /* help-index.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF033192E3498001EF690 /* help-index.c */; }; + 724FA7521CC03AF20092477B /* help.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF035192E3498001EF690 /* help.c */; }; + 724FA7531CC03AF20092477B /* html.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF036192E3498001EF690 /* html.c */; }; + 724FA7541CC03AF20092477B /* ipp-var.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF037192E3498001EF690 /* ipp-var.c */; }; + 724FA7551CC03AF20092477B /* search.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF03B192E3498001EF690 /* search.c */; }; + 724FA7561CC03AF20092477B /* template.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF03C192E3498001EF690 /* template.c */; }; + 724FA7571CC03AF20092477B /* var.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF040192E3498001EF690 /* var.c */; }; + 724FA75D1CC03AF60092477B /* help-index.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF033192E3498001EF690 /* help-index.c */; }; + 724FA75E1CC03AF60092477B /* help.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF035192E3498001EF690 /* help.c */; }; + 724FA75F1CC03AF60092477B /* html.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF036192E3498001EF690 /* html.c */; }; + 724FA7601CC03AF60092477B /* ipp-var.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF037192E3498001EF690 /* ipp-var.c */; }; + 724FA7611CC03AF60092477B /* search.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF03B192E3498001EF690 /* search.c */; }; + 724FA7621CC03AF60092477B /* template.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF03C192E3498001EF690 /* template.c */; }; + 724FA7631CC03AF60092477B /* var.c in Sources */ = {isa = PBXBuildFile; fileRef = 727EF040192E3498001EF690 /* var.c */; }; + 724FA76C1CC03B4D0092477B /* cgi-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 727EF030192E3498001EF690 /* cgi-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 724FA76D1CC03B4D0092477B /* cgi.h in Headers */ = {isa = PBXBuildFile; fileRef = 727EF031192E3498001EF690 /* cgi.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 724FA76F1CC03B820092477B /* cgi-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 727EF030192E3498001EF690 /* cgi-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 724FA7701CC03B820092477B /* cgi.h in Headers */ = {isa = PBXBuildFile; fileRef = 727EF031192E3498001EF690 /* cgi.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 7253C454216E97FF00494ADD /* raster-error.c in Sources */ = {isa = PBXBuildFile; fileRef = 72F75A691336FA8A004BB496 /* raster-error.c */; }; + 7253C455216E980000494ADD /* raster-error.c in Sources */ = {isa = PBXBuildFile; fileRef = 72F75A691336FA8A004BB496 /* raster-error.c */; }; + 7253C456216E980200494ADD /* raster-error.c in Sources */ = {isa = PBXBuildFile; fileRef = 72F75A691336FA8A004BB496 /* raster-error.c */; }; + 7253C457216E981000494ADD /* raster-stream.c in Sources */ = {isa = PBXBuildFile; fileRef = 72F75A6B1336FA8A004BB496 /* raster-stream.c */; }; + 7253C458216E981200494ADD /* raster-stream.c in Sources */ = {isa = PBXBuildFile; fileRef = 72F75A6B1336FA8A004BB496 /* raster-stream.c */; }; + 7253C459216E981200494ADD /* raster-stream.c in Sources */ = {isa = PBXBuildFile; fileRef = 72F75A6B1336FA8A004BB496 /* raster-stream.c */; }; + 7253C45A216E981900494ADD /* raster-interpret.c in Sources */ = {isa = PBXBuildFile; fileRef = 72F75A6A1336FA8A004BB496 /* raster-interpret.c */; }; + 7253C45B216E981A00494ADD /* raster-interpret.c in Sources */ = {isa = PBXBuildFile; fileRef = 72F75A6A1336FA8A004BB496 /* raster-interpret.c */; }; + 7253C45E216ED51500494ADD /* raster-interstub.c in Sources */ = {isa = PBXBuildFile; fileRef = 7253C45C216ED51400494ADD /* raster-interstub.c */; }; + 7253C460216ED51500494ADD /* raster-interstub.c in Sources */ = {isa = PBXBuildFile; fileRef = 7253C45C216ED51400494ADD /* raster-interstub.c */; }; + 7253C461216ED51500494ADD /* raster-interstub.c in Sources */ = {isa = PBXBuildFile; fileRef = 7253C45C216ED51400494ADD /* raster-interstub.c */; }; + 7253C462216ED51500494ADD /* raster-interstub.c in Sources */ = {isa = PBXBuildFile; fileRef = 7253C45C216ED51400494ADD /* raster-interstub.c */; }; + 7253C463216ED51500494ADD /* raster-stubs.c in Sources */ = {isa = PBXBuildFile; fileRef = 7253C45D216ED51500494ADD /* raster-stubs.c */; }; + 7253C464216ED51500494ADD /* raster-stubs.c in Sources */ = {isa = PBXBuildFile; fileRef = 7253C45D216ED51500494ADD /* raster-stubs.c */; }; + 7253C465216ED51500494ADD /* raster-stubs.c in Sources */ = {isa = PBXBuildFile; fileRef = 7253C45D216ED51500494ADD /* raster-stubs.c */; }; + 7253C466216ED51500494ADD /* raster-stubs.c in Sources */ = {isa = PBXBuildFile; fileRef = 7253C45D216ED51500494ADD /* raster-stubs.c */; }; + 7253C467216ED51500494ADD /* raster-stubs.c in Sources */ = {isa = PBXBuildFile; fileRef = 7253C45D216ED51500494ADD /* raster-stubs.c */; }; + 7253C468216ED5D300494ADD /* raster.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EFA133305BB00FCA411 /* raster.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7253C469216ED5D400494ADD /* raster.h in Headers */ = {isa = PBXBuildFile; fileRef = 72220EFA133305BB00FCA411 /* raster.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7253C46B216ED5E400494ADD /* raster-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 2767FC76192696A0000F61D3 /* raster-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 7253C46C216ED5E500494ADD /* raster-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 2767FC76192696A0000F61D3 /* raster-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 7253C46F216ED69200494ADD /* pwg.h in Headers */ = {isa = PBXBuildFile; fileRef = 2767FC7519269687000F61D3 /* pwg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7253C470216ED69400494ADD /* pwg.h in Headers */ = {isa = PBXBuildFile; fileRef = 2767FC7519269687000F61D3 /* pwg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7253C471216ED6C400494ADD /* array-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 7234F41F1378A16F00D3E9C9 /* array-private.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 7258EAED134594EB009286F1 /* rastertopwg.c in Sources */ = {isa = PBXBuildFile; fileRef = 7258EAEC134594EB009286F1 /* rastertopwg.c */; }; + 7258EAF413459B6D009286F1 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 7258EAF513459B6D009286F1 /* libcupsimage.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72F75A611336F9A3004BB496 /* libcupsimage.dylib */; }; + 726AD702135E8A90002C930D /* ippeveprinter.c in Sources */ = {isa = PBXBuildFile; fileRef = 726AD701135E8A90002C930D /* ippeveprinter.c */; }; + 7271883D1374AB14001A2036 /* mime-private.h in Headers */ = {isa = PBXBuildFile; fileRef = 7271883C1374AB14001A2036 /* mime-private.h */; }; + 727AD5B719100A58009F6862 /* tls.c in Sources */ = {isa = PBXBuildFile; fileRef = 727AD5B619100A58009F6862 /* tls.c */; }; + 727AD5B819100A58009F6862 /* tls.c in Sources */ = {isa = PBXBuildFile; fileRef = 727AD5B619100A58009F6862 /* tls.c */; }; + 7284F9F01BFCCDB10026F886 /* hash.c in Sources */ = {isa = PBXBuildFile; fileRef = 7284F9EF1BFCCD940026F886 /* hash.c */; }; + 7284F9F11BFCCDB20026F886 /* hash.c in Sources */ = {isa = PBXBuildFile; fileRef = 7284F9EF1BFCCD940026F886 /* hash.c */; }; + 728FB7E91536161C005426E1 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 728FB7EA1536161C005426E1 /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 728FB7EB1536161C005426E1 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 728FB7ED1536161C005426E1 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EC1536161C005426E1 /* libz.dylib */; }; + 728FB7EE15361642005426E1 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 728FB7F11536167A005426E1 /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EF1536167A005426E1 /* libiconv.dylib */; }; + 728FB7F21536167A005426E1 /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7F01536167A005426E1 /* libresolv.dylib */; }; + 729181B4201155C1005E7560 /* libcupsimage_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 724FA70F1CC03A490092477B /* libcupsimage_static.a */; }; + 729181B5201155C1005E7560 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 729181B6201155C1005E7560 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 729181B7201155C1005E7560 /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 729181B8201155C1005E7560 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 729181B9201155C1005E7560 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 729181BF201155F1005E7560 /* testclient.c in Sources */ = {isa = PBXBuildFile; fileRef = 729181AB20115597005E7560 /* testclient.c */; }; + 72A8B3D71C188CB800A1A547 /* ppd-util.c in Sources */ = {isa = PBXBuildFile; fileRef = 72A8B3D61C188BDE00A1A547 /* ppd-util.c */; }; + 72A8B3D81C188CB900A1A547 /* ppd-util.c in Sources */ = {isa = PBXBuildFile; fileRef = 72A8B3D61C188BDE00A1A547 /* ppd-util.c */; }; + 72BFD5FB191AF0A30005DA37 /* libcups_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 72A4332F155844CF002E172D /* libcups_static.a */; }; + 72BFD5FC191AF0A30005DA37 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 72BFD5FD191AF0A30005DA37 /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 72BFD5FE191AF0A30005DA37 /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EF1536167A005426E1 /* libiconv.dylib */; }; + 72BFD5FF191AF0A30005DA37 /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7F01536167A005426E1 /* libresolv.dylib */; }; + 72BFD600191AF0A30005DA37 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EC1536161C005426E1 /* libz.dylib */; }; + 72BFD601191AF0A30005DA37 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 72BFD602191AF1270005DA37 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 72BFD603191AF1270005DA37 /* GSS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72D53A2915B49110003F877F /* GSS.framework */; }; + 72BFD604191AF1270005DA37 /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 72BFD605191AF1270005DA37 /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EF1536167A005426E1 /* libiconv.dylib */; }; + 72BFD606191AF1270005DA37 /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7F01536167A005426E1 /* libresolv.dylib */; }; + 72BFD607191AF1270005DA37 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 728FB7EC1536161C005426E1 /* libz.dylib */; }; + 72BFD608191AF1270005DA37 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 72BFD609191AF14C0005DA37 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 72C16CB9137B195D007E4BF4 /* file.c in Sources */ = {isa = PBXBuildFile; fileRef = 72C16CB8137B195D007E4BF4 /* file.c */; }; + 72CEF95618A966E000FA9B81 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 72CF95E318A13543000FCAE4 /* dest-job.c in Sources */ = {isa = PBXBuildFile; fileRef = 72CF95E018A13543000FCAE4 /* dest-job.c */; }; + 72CF95E418A13543000FCAE4 /* dest-localization.c in Sources */ = {isa = PBXBuildFile; fileRef = 72CF95E118A13543000FCAE4 /* dest-localization.c */; }; + 72CF95E518A13543000FCAE4 /* dest-options.c in Sources */ = {isa = PBXBuildFile; fileRef = 72CF95E218A13543000FCAE4 /* dest-options.c */; }; + 72CF95EC18A19134000FCAE4 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; + 72CF95F318A19165000FCAE4 /* ippfind.c in Sources */ = {isa = PBXBuildFile; fileRef = 72CF95F218A19165000FCAE4 /* ippfind.c */; }; + 72D53A2A15B49110003F877F /* GSS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72D53A2915B49110003F877F /* GSS.framework */; }; + 72D53A2D15B4913D003F877F /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72D53A2C15B4913D003F877F /* IOKit.framework */; }; + 72D53A2E15B4915B003F877F /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 72D53A2F15B49174003F877F /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 72D53A3015B4923F003F877F /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E5136B64AF00836530 /* CoreFoundation.framework */; }; + 72D53A3115B4923F003F877F /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E7136B64B000836530 /* Security.framework */; }; + 72D53A3215B4923F003F877F /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E8136B64B000836530 /* SystemConfiguration.framework */; }; + 72D53A3415B4925B003F877F /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72D53A3315B4925B003F877F /* ApplicationServices.framework */; }; + 72D53A3515B49270003F877F /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72D53A2C15B4913D003F877F /* IOKit.framework */; }; + 72D53A3815B4929D003F877F /* colorman.c in Sources */ = {isa = PBXBuildFile; fileRef = 72D53A3615B4929D003F877F /* colorman.c */; }; + 72D53A3A15B492FA003F877F /* libpam.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72D53A3915B492FA003F877F /* libpam.dylib */; }; + 72D53A3B15B4930A003F877F /* GSS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72D53A2915B49110003F877F /* GSS.framework */; }; + 72D53A3C15B4930A003F877F /* Kerberos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 278C58E6136B64B000836530 /* Kerberos.framework */; }; + 72F75A5C1336F988004BB496 /* cupstestppd.c in Sources */ = {isa = PBXBuildFile; fileRef = 72F75A5B1336F988004BB496 /* cupstestppd.c */; }; + 72F75A671336FA38004BB496 /* libcups.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 72220EAE1333047D00FCA411 /* libcups.dylib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 270CCDB1135E3CDE00007BE2 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 270CCDA6135E3C9E00007BE2; + remoteInfo = testmime; + }; + 270CCDB7135E3CFD00007BE2 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 270D02151D707E0200EA9403 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 270D02271D707E5100EA9403 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 270D02131D707E0200EA9403; + remoteInfo = testcreds; + }; + 271284901CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 271284921CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA7581CC03AF60092477B; + remoteInfo = libcupscgi_static; + }; + 271284941CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA7011CC03A490092477B; + remoteInfo = libcupsimage_static; + }; + 271284961CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA7101CC03A990092477B; + remoteInfo = libcupsmime_static; + }; + 271284981CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA7201CC03AAF0092477B; + remoteInfo = libcupsppdc_static; + }; + 2712849A1CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA65E1CC038A50092477B; + remoteInfo = test1284; + }; + 2712849C1CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA5241CC0370C0092477B; + remoteInfo = testadmin; + }; + 2712849E1CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA5371CC037370092477B; + remoteInfo = testarray; + }; + 271284A01CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA6721CC038BD0092477B; + remoteInfo = testbackend; + }; + 271284A21CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA54A1CC037500092477B; + remoteInfo = testcache; + }; + 271284A41CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA6ED1CC03A210092477B; + remoteInfo = testcatalog; + }; + 271284A61CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA6991CC039200092477B; + remoteInfo = testcgi; + }; + 271284A81CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA55D1CC037670092477B; + remoteInfo = testconflicts; + }; + 271284AA1CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA5701CC037810092477B; + remoteInfo = testfile; + }; + 271284AC1CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA6AC1CC0393E0092477B; + remoteInfo = testhi; + }; + 271284AE1CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA5831CC037980092477B; + remoteInfo = testi18n; + }; + 271284B01CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA5961CC037AA0092477B; + remoteInfo = testipp; + }; + 271284B21CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA5A91CC037C60092477B; + remoteInfo = testlang; + }; + 271284B41CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA5BC1CC037D90092477B; + remoteInfo = testlpd; + }; + 271284B61CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA6D81CC039DE0092477B; + remoteInfo = testnotify; + }; + 271284B81CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA5CF1CC037F00092477B; + remoteInfo = testoptions; + }; + 271284BA1CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA5E31CC038040092477B; + remoteInfo = testppd; + }; + 271284BC1CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA5F71CC038190092477B; + remoteInfo = testpwg; + }; + 271284BE1CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA60B1CC0382B0092477B; + remoteInfo = testraster; + }; + 271284C01CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA61F1CC038410092477B; + remoteInfo = testsnmp; + }; + 271284C21CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA6331CC038560092477B; + remoteInfo = testspeed; + }; + 271284C41CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA6471CC0386E0092477B; + remoteInfo = testsub; + }; + 271284C61CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA6851CC038D90092477B; + remoteInfo = testsupplies; + }; + 271284C81CC11FA500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA6BF1CC0395A0092477B; + remoteInfo = testtemplate; + }; + 271284CA1CC122D000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA7581CC03AF60092477B; + remoteInfo = libcupscgi_static; + }; + 271284CC1CC122E400E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA7201CC03AAF0092477B; + remoteInfo = libcupsppdc_static; + }; + 271284CE1CC122ED00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA7581CC03AF60092477B; + remoteInfo = libcupscgi_static; + }; + 271284D31CC1232500E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA7581CC03AF60092477B; + remoteInfo = libcupscgi_static; + }; + 271284D51CC1234D00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA7101CC03A990092477B; + remoteInfo = libcupsmime_static; + }; + 271284E31CC1261900E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271284F01CC1264B00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 2712850A1CC1267A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285171CC1269700E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285241CC126AA00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285311CC1270B00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 2712853E1CC1271E00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 2712854B1CC1272D00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285581CC1274300E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285651CC1275200E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285721CC1276400E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 2712857D1CC1295A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271284E11CC1261900E517C7; + remoteInfo = cancel; + }; + 2712857F1CC1295A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271284EE1CC1264B00E517C7; + remoteInfo = cupsaccept; + }; + 271285831CC1295A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285081CC1267A00E517C7; + remoteInfo = lp; + }; + 271285851CC1295A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285151CC1269700E517C7; + remoteInfo = lpc; + }; + 271285871CC1295A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285221CC126AA00E517C7; + remoteInfo = lpinfo; + }; + 271285891CC1295A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2712852F1CC1270B00E517C7; + remoteInfo = lpmove; + }; + 2712858B1CC1295A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2712853C1CC1271E00E517C7; + remoteInfo = lpoptions; + }; + 2712858D1CC1295A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285491CC1272D00E517C7; + remoteInfo = lpq; + }; + 2712858F1CC1295A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285561CC1274300E517C7; + remoteInfo = lpr; + }; + 271285911CC1295A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285631CC1275200E517C7; + remoteInfo = lprm; + }; + 271285931CC1295A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285701CC1276400E517C7; + remoteInfo = lpstat; + }; + 271285971CC12D1300E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285A51CC12D3A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285B31CC12D4E00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285C11CC12D5E00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285CF1CC12DBF00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285DC1CC12DDF00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285E91CC12E2D00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271285F71CC12EEB00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271286091CC12F0B00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271286191CC12F1A00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271286341CC12F9000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285951CC12D1300E517C7; + remoteInfo = admin.cgi; + }; + 271286361CC12F9000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285A31CC12D3A00E517C7; + remoteInfo = classes.cgi; + }; + 271286381CC12F9000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285CD1CC12DBF00E517C7; + remoteInfo = commandtops; + }; + 2712863A1CC12F9000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285DA1CC12DDF00E517C7; + remoteInfo = gziptoany; + }; + 2712863C1CC12F9000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285B11CC12D4E00E517C7; + remoteInfo = jobs.cgi; + }; + 2712863E1CC12F9000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285BF1CC12D5E00E517C7; + remoteInfo = printers.cgi; + }; + 271286401CC12F9000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285E71CC12E2D00E517C7; + remoteInfo = pstops; + }; + 271286421CC12F9000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271285F51CC12EEB00E517C7; + remoteInfo = rastertoepson; + }; + 271286441CC12F9000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271286051CC12F0B00E517C7; + remoteInfo = rastertohp; + }; + 271286461CC12F9000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271286151CC12F1A00E517C7; + remoteInfo = rastertolabel; + }; + 271286591CC1309000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 2712866F1CC1310E00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 271286891CC13DC000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 2712869A1CC13DF100E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 271286AB1CC13DFF00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 271286BC1CC13E2100E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271286CD1CC13E5B00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271286DB1CC13EF400E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271286981CC13DF100E517C7; + remoteInfo = po2strings; + }; + 271286DD1CC13EF400E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271286A91CC13DFF00E517C7; + remoteInfo = strings2po; + }; + 271286DF1CC13EF400E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271286571CC1309000E517C7; + remoteInfo = tlscheck; + }; + 271286E11CC13F0100E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271286BA1CC13E2100E517C7; + remoteInfo = bcp; + }; + 271286E31CC13F0100E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271286CB1CC13E5B00E517C7; + remoteInfo = tbcp; + }; + 271286E71CC13F2000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271286F71CC13F3F00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 271287051CC13F8F00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271286E51CC13F2000E517C7; + remoteInfo = mailto; + }; + 271287071CC13F8F00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271286F51CC13F3F00E517C7; + remoteInfo = rss; + }; + 2712870B1CC13FAB00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 2712871B1CC13FFA00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 271287091CC13FAB00E517C7; + remoteInfo = mantohtml; + }; + 2712872E1CC140DF00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 271287301CC140DF00E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724FA7201CC03AAF0092477B; + remoteInfo = libcupsppdc_static; + }; + 271287351CC1411000E517C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2712871E1CC140BE00E517C7; + remoteInfo = genstrings; + }; + 273B1EC1226B3F2600428143 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 273B1E9A226B3E4800428143; + remoteInfo = ippevepcl; + }; + 273B1EC3226B3F2600428143 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 273B1EAB226B3E5200428143; + remoteInfo = ippeveps; + }; + 273B1EC5226B41E600428143 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 273B1EC8226B420500428143 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 273B1ECB226B421700428143 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 273BF6C81333B5410022CAAB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 273BF6DD1333B6370022CAAB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 273BF6BC1333B5000022CAAB; + remoteInfo = testcups; + }; + 274770D32345342B0089BC31 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 274770E32345347D0089BC31 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274770D12345342B0089BC31; + remoteInfo = testthreads; + }; + 274FF5DB13332CF900317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 274FF5E213332D4300317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 274FF5E413332D4300317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220FAB13330B2200FCA411; + remoteInfo = libcupsmime; + }; + 274FF5E613332D4300317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220F5A13330A5A00FCA411; + remoteInfo = cupsd; + }; + 274FF5E813332D4300317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF5CB13332B1F00317ECB; + remoteInfo = "cups-driverd"; + }; + 274FF5F2133330FD00317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 274FF61F1333316200317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF5ED133330C800317ECB; + remoteInfo = libcupsppdc; + }; + 274FF621133331D300317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF5ED133330C800317ECB; + remoteInfo = libcupsppdc; + }; + 274FF6331333335200317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 274FF6381333348400317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6281333333600317ECB; + remoteInfo = "cups-deviced"; + }; + 274FF647133335A300317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF63D1333358B00317ECB; + remoteInfo = "cups-exec"; + }; + 274FF659133339D900317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 274FF65D13333A3400317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF64E133339C400317ECB; + remoteInfo = "cups-lpd"; + }; + 274FF68113333B3C00317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 274FF68313333B3C00317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220FAB13330B2200FCA411; + remoteInfo = libcupsmime; + }; + 274FF6E11333B33F00317ECB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF67713333B2F00317ECB; + remoteInfo = cupsfilter; + }; + 276683651337A9D6000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 2766836A1337AA25000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2766835B1337A9B6000D33D0; + remoteInfo = cupsctl; + }; + 276683AD1337ACF9000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 276683AF1337ACF9000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF5ED133330C800317ECB; + remoteInfo = libcupsppdc; + }; + 276683B31337AD18000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 276683B51337AD18000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF5ED133330C800317ECB; + remoteInfo = libcupsppdc; + }; + 276683BB1337AE49000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 276683BD1337AE49000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF5ED133330C800317ECB; + remoteInfo = libcupsppdc; + }; + 276683BF1337B1AD000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 276683C11337B1AD000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF5ED133330C800317ECB; + remoteInfo = libcupsppdc; + }; + 276683C51337B1BC000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 276683C71337B1BC000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF5ED133330C800317ECB; + remoteInfo = libcupsppdc; + }; + 276683D61337B24A000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2766836F1337AC79000D33D0; + remoteInfo = ppdc; + }; + 276683D81337B24A000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2766837C1337AC8C000D33D0; + remoteInfo = ppdhtml; + }; + 276683DA1337B24A000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 276683891337AC97000D33D0; + remoteInfo = ppdi; + }; + 276683DC1337B24A000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 276683961337ACA2000D33D0; + remoteInfo = ppdmerge; + }; + 276683DE1337B24A000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 276683A31337ACAB000D33D0; + remoteInfo = ppdpo; + }; + 276683E01337B299000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 276683E31337B2BA000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72F75A601336F9A3004BB496; + remoteInfo = libcupsimage; + }; + 276683FB1337F7B3000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 276683FE1337F7C5000D33D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 276683EF1337F78E000D33D0; + remoteInfo = ipptool; + }; + 2767FC4819266A0D000F61D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 2767FC5319267469000F61D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 276683EF1337F78E000D33D0; + remoteInfo = ipptool; + }; + 2767FC5519267469000F61D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2767FC4619266A0D000F61D3; + remoteInfo = testdest; + }; + 278C58D5136B641D00836530 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 278C58CA136B640300836530; + remoteInfo = testhttp; + }; + 278C58D7136B642F00836530 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 27A034831A8BDC4A00650675 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 27A034861A8BDC6900650675 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 27A0347A1A8BDB1200650675; + remoteInfo = lpadmin; + }; + 720DD6CE1358FD790064AA82 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 720DD6D01358FDBE0064AA82 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 720DD6C11358FD5F0064AA82; + remoteInfo = snmp; + }; + 72220F6413330A6500FCA411 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 72220FBB13330C0500FCA411 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 72220FBD13330C0B00FCA411 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220FAB13330B2200FCA411; + remoteInfo = libcupsmime; + }; + 724379061333E49B009631B9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 724379101333E4EA009631B9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724378FC1333E43E009631B9; + remoteInfo = ipp; + }; + 724379251333E932009631B9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 7243792A1333E962009631B9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724379171333E532009631B9; + remoteInfo = lpd; + }; + 724379391333FB95009631B9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 7243793E1333FD23009631B9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7243792F1333FB85009631B9; + remoteInfo = socket; + }; + 724379521333FECE009631B9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 724379461333FEA9009631B9; + remoteInfo = dnssd; + }; + 724379541333FEFE009631B9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 724379641333FF2E009631B9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 724379C21333FF7D009631B9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7243795A1333FF1D009631B9; + remoteInfo = usb; + }; + 724FA5261CC0370C0092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA5391CC037370092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA54C1CC037500092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA55F1CC037670092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA5721CC037810092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA5851CC037980092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA5981CC037AA0092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA5AB1CC037C60092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA5BE1CC037D90092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA5D11CC037F00092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA5E51CC038040092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA5F91CC038190092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA60D1CC0382B0092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA6211CC038410092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA6351CC038560092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA6491CC0386E0092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA6601CC038A50092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA6741CC038BD0092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA6871CC038D90092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA69B1CC039200092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA6AE1CC0393E0092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA6C11CC0395A0092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA6DA1CC039DE0092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA6EF1CC03A210092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 724FA7431CC03ACC0092477B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 7258EAEE13459ADA009286F1 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7258EAE1134594C4009286F1; + remoteInfo = rastertopwg; + }; + 7258EAF013459B67009286F1 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 726AD703135E8AA1002C930D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 726AD6F6135E88F0002C930D; + remoteInfo = ippserver; + }; + 729181B0201155C1005E7560 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 729181C02011560E005E7560 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2712866B1CC1310E00E517C7; + remoteInfo = rasterbench; + }; + 729181C22011560E005E7560 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 729181AC201155C1005E7560; + remoteInfo = testclient; + }; + 72BEA8D319AFA89C0085F0F3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 726AD6F6135E88F0002C930D; + remoteInfo = ippserver; + }; + 72BEA8D519AFA8A00085F0F3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72CF95E618A19134000FCAE4; + remoteInfo = ippfind; + }; + 72BEA8D719AFA8BB0085F0F3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 274FF6891333B1C400317ECB; + remoteInfo = libcups_static; + }; + 72CF95E818A19134000FCAE4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 72F75A651336FA30004BB496 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72220EAD1333047D00FCA411; + remoteInfo = libcups; + }; + 72F75A701336FACD004BB496 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72F75A601336F9A3004BB496; + remoteInfo = libcupsimage; + }; + 72F75A721336FACD004BB496 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 72BF96371333042100B1EAD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 72F75A511336F950004BB496; + remoteInfo = cupstestppd; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 270CCDA5135E3C9E00007BE2 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 270D02201D707E0200EA9403 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271284E81CC1261900E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271284F51CC1264B00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 2712850F1CC1267A00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 2712851C1CC1269700E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271285291CC126AA00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271285361CC1270B00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271285431CC1271E00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271285501CC1272D00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 2712855D1CC1274300E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 2712856A1CC1275200E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271285771CC1276400E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 2712859C1CC12D1300E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271285AB1CC12D3A00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271285B91CC12D4E00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271285C71CC12D5E00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271285D41CC12DBF00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271285E11CC12DDF00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271285EE1CC12E2D00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271285FC1CC12EEB00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 2712860F1CC12F0B00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 2712861F1CC12F1A00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271286631CC1309000E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271286791CC1310E00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271286921CC13DC000E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271286A31CC13DF100E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271286B41CC13DFF00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271286C51CC13E2100E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271286D51CC13E5B00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271286EF1CC13F2000E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271286FF1CC13F3F00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271287141CC13FAB00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 271287281CC140BE00E517C7 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 273B1EA6226B3E4800428143 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 273B1EB7226B3E5200428143 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 273BF6BB1333B5000022CAAB /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 274770DC2345342B0089BC31 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 274FF5CA13332B1F00317ECB /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 274FF6271333333600317ECB /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 274FF63C1333358B00317ECB /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 274FF64D133339C400317ECB /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 274FF67613333B2F00317ECB /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 2766835A1337A9B6000D33D0 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 2766836E1337AC79000D33D0 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 2766837B1337AC8C000D33D0 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 276683881337AC97000D33D0 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 276683951337ACA2000D33D0 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 276683A21337ACAB000D33D0 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 276683EE1337F78E000D33D0 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 2767FC4C19266A0D000F61D3 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 278C58C9136B640300836530 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 27A034791A8BDB1200650675 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 720DD6C01358FD5F0064AA82 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 72220F5913330A5A00FCA411 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724378FB1333E43E009631B9 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724379161333E532009631B9 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 7243792E1333FB85009631B9 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724379451333FEA9009631B9 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724379591333FF1D009631B9 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA5311CC0370C0092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA5441CC037370092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA5571CC037500092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA56A1CC037670092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA57D1CC037810092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA5901CC037980092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA5A31CC037AA0092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA5B61CC037C60092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA5C91CC037D90092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA5DD1CC037F00092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA5F11CC038040092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA6051CC038190092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA6191CC0382B0092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA62D1CC038410092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA6411CC038560092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA6551CC0386E0092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA66C1CC038A50092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA67F1CC038BD0092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA6931CC038D90092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA6A61CC039200092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA6B91CC0393E0092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA6CD1CC0395A0092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA6E61CC039DE0092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 724FA6FB1CC03A210092477B /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 7258EAE0134594C4009286F1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 726AD6F5135E88F0002C930D /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 729181BA201155C1005E7560 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 72CF95ED18A19134000FCAE4 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; + 72F75A501336F950004BB496 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 2706965A1CADF3E200FFE5FB /* libcups_ios.a */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcups_ios.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 270B267D17F5C06700C8A3A9 /* tls-darwin.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = "tls-darwin.c"; path = "../cups/tls-darwin.c"; sourceTree = ""; }; + 270B267E17F5C06700C8A3A9 /* tls-gnutls.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = "tls-gnutls.c"; path = "../cups/tls-gnutls.c"; sourceTree = ""; }; + 270B268117F5C5D600C8A3A9 /* tls-sspi.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = "tls-sspi.c"; path = "../cups/tls-sspi.c"; sourceTree = ""; }; + 270CCDA7135E3C9E00007BE2 /* testmime */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testmime; sourceTree = BUILT_PRODUCTS_DIR; }; + 270CCDBB135E3D3E00007BE2 /* testmime.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testmime.c; path = ../scheduler/testmime.c; sourceTree = ""; }; + 270D02241D707E0200EA9403 /* testcreds */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testcreds; sourceTree = BUILT_PRODUCTS_DIR; }; + 270D02251D707E3700EA9403 /* testcreds.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testcreds.c; path = ../cups/testcreds.c; sourceTree = ""; }; + 271284DD1CC125FC00E517C7 /* lpc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = lpc.c; path = ../berkeley/lpc.c; sourceTree = ""; }; + 271284DE1CC125FC00E517C7 /* lpq.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = lpq.c; path = ../berkeley/lpq.c; sourceTree = ""; }; + 271284DF1CC125FC00E517C7 /* lpr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = lpr.c; path = ../berkeley/lpr.c; sourceTree = ""; }; + 271284E01CC125FC00E517C7 /* lprm.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = lprm.c; path = ../berkeley/lprm.c; sourceTree = ""; }; + 271284EC1CC1261900E517C7 /* cancel */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = cancel; sourceTree = BUILT_PRODUCTS_DIR; }; + 271284F91CC1264B00E517C7 /* cupsaccept */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = cupsaccept; sourceTree = BUILT_PRODUCTS_DIR; }; + 271285131CC1267A00E517C7 /* lp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = lp; sourceTree = BUILT_PRODUCTS_DIR; }; + 271285201CC1269700E517C7 /* lpc */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = lpc; sourceTree = BUILT_PRODUCTS_DIR; }; + 2712852D1CC126AA00E517C7 /* lpinfo */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = lpinfo; sourceTree = BUILT_PRODUCTS_DIR; }; + 2712853A1CC1270B00E517C7 /* lpmove */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = lpmove; sourceTree = BUILT_PRODUCTS_DIR; }; + 271285471CC1271E00E517C7 /* lpoptions */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = lpoptions; sourceTree = BUILT_PRODUCTS_DIR; }; + 271285541CC1272D00E517C7 /* lpq */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = lpq; sourceTree = BUILT_PRODUCTS_DIR; }; + 271285611CC1274300E517C7 /* lpr */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = lpr; sourceTree = BUILT_PRODUCTS_DIR; }; + 2712856E1CC1275200E517C7 /* lprm */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = lprm; sourceTree = BUILT_PRODUCTS_DIR; }; + 2712857B1CC1276400E517C7 /* lpstat */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = lpstat; sourceTree = BUILT_PRODUCTS_DIR; }; + 271285A01CC12D1300E517C7 /* admin.cgi */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = admin.cgi; sourceTree = BUILT_PRODUCTS_DIR; }; + 271285AF1CC12D3A00E517C7 /* classes.cgi */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = classes.cgi; sourceTree = BUILT_PRODUCTS_DIR; }; + 271285BD1CC12D4E00E517C7 /* jobs.cgi */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = jobs.cgi; sourceTree = BUILT_PRODUCTS_DIR; }; + 271285CB1CC12D5E00E517C7 /* printers.cgi */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = printers.cgi; sourceTree = BUILT_PRODUCTS_DIR; }; + 271285D81CC12DBF00E517C7 /* commandtops */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = commandtops; sourceTree = BUILT_PRODUCTS_DIR; }; + 271285E51CC12DDF00E517C7 /* gziptoany */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = gziptoany; sourceTree = BUILT_PRODUCTS_DIR; }; + 271285F21CC12E2E00E517C7 /* pstops */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = pstops; sourceTree = BUILT_PRODUCTS_DIR; }; + 271286001CC12EEB00E517C7 /* rastertoepson */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = rastertoepson; sourceTree = BUILT_PRODUCTS_DIR; }; + 271286131CC12F0B00E517C7 /* rastertohp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = rastertohp; sourceTree = BUILT_PRODUCTS_DIR; }; + 271286231CC12F1A00E517C7 /* rastertolabel */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = rastertolabel; sourceTree = BUILT_PRODUCTS_DIR; }; + 271286671CC1309000E517C7 /* tlscheck */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = tlscheck; sourceTree = BUILT_PRODUCTS_DIR; }; + 271286681CC130BD00E517C7 /* tlscheck.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tlscheck.c; path = ../cups/tlscheck.c; sourceTree = ""; }; + 2712866A1CC130FF00E517C7 /* rasterbench.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = rasterbench.c; path = ../cups/rasterbench.c; sourceTree = ""; }; + 2712867D1CC1310E00E517C7 /* rasterbench */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = rasterbench; sourceTree = BUILT_PRODUCTS_DIR; }; + 271286801CC1396100E517C7 /* bcp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = bcp.c; path = ../monitor/bcp.c; sourceTree = ""; }; + 271286811CC1396100E517C7 /* tbcp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tbcp.c; path = ../monitor/tbcp.c; sourceTree = ""; }; + 271286831CC13D9600E517C7 /* checkpo.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = checkpo.c; path = ../locale/checkpo.c; sourceTree = ""; }; + 271286841CC13D9600E517C7 /* cups.pot */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = cups.pot; path = ../locale/cups.pot; sourceTree = ""; }; + 271286851CC13D9600E517C7 /* po2strings.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = po2strings.c; path = ../locale/po2strings.c; sourceTree = ""; }; + 271286861CC13D9600E517C7 /* strings2po.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = strings2po.c; path = ../locale/strings2po.c; sourceTree = ""; }; + 271286961CC13DC000E517C7 /* checkpo */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = checkpo; sourceTree = BUILT_PRODUCTS_DIR; }; + 271286A71CC13DF100E517C7 /* po2strings */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = po2strings; sourceTree = BUILT_PRODUCTS_DIR; }; + 271286B81CC13DFF00E517C7 /* strings2po */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = strings2po; sourceTree = BUILT_PRODUCTS_DIR; }; + 271286C91CC13E2100E517C7 /* bcp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = bcp; sourceTree = BUILT_PRODUCTS_DIR; }; + 271286D91CC13E5B00E517C7 /* tbcp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = tbcp; sourceTree = BUILT_PRODUCTS_DIR; }; + 271286F31CC13F2000E517C7 /* mailto */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = mailto; sourceTree = BUILT_PRODUCTS_DIR; }; + 271287031CC13F3F00E517C7 /* rss */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = rss; sourceTree = BUILT_PRODUCTS_DIR; }; + 271287181CC13FAB00E517C7 /* mantohtml */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = mantohtml; sourceTree = BUILT_PRODUCTS_DIR; }; + 271287191CC13FDB00E517C7 /* mantohtml.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = mantohtml.c; path = ../man/mantohtml.c; sourceTree = ""; }; + 2712871D1CC140B400E517C7 /* genstrings.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = genstrings.cxx; path = ../ppdc/genstrings.cxx; sourceTree = ""; }; + 2712872C1CC140BE00E517C7 /* genstrings */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = genstrings; sourceTree = BUILT_PRODUCTS_DIR; }; + 2732E089137A3F5200FAFEF6 /* cancel.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = cancel.c; path = ../systemv/cancel.c; sourceTree = ""; }; + 2732E08A137A3F5200FAFEF6 /* cupsaccept.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = cupsaccept.c; path = ../systemv/cupsaccept.c; sourceTree = ""; }; + 2732E08C137A3F5200FAFEF6 /* lp.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = lp.c; path = ../systemv/lp.c; sourceTree = ""; }; + 2732E08D137A3F5200FAFEF6 /* lpadmin.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = lpadmin.c; path = ../systemv/lpadmin.c; sourceTree = ""; }; + 2732E08E137A3F5200FAFEF6 /* lpinfo.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = lpinfo.c; path = ../systemv/lpinfo.c; sourceTree = ""; }; + 2732E08F137A3F5200FAFEF6 /* lpmove.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = lpmove.c; path = ../systemv/lpmove.c; sourceTree = ""; }; + 2732E090137A3F5200FAFEF6 /* lpoptions.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = lpoptions.c; path = ../systemv/lpoptions.c; sourceTree = ""; }; + 2732E092137A3F5200FAFEF6 /* lpstat.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = lpstat.c; path = ../systemv/lpstat.c; sourceTree = ""; }; + 273B1EAA226B3E4800428143 /* ippevepcl */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ippevepcl; sourceTree = BUILT_PRODUCTS_DIR; }; + 273B1EBB226B3E5200428143 /* ippeveps */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ippeveps; sourceTree = BUILT_PRODUCTS_DIR; }; + 273B1EBC226B3EE300428143 /* ippeveps.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = ippeveps.c; path = ../tools/ippeveps.c; sourceTree = ""; }; + 273B1EBD226B3EE300428143 /* ippevecommon.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = ippevecommon.h; path = ../tools/ippevecommon.h; sourceTree = ""; }; + 273B1EBE226B3EE300428143 /* ippevepcl.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = ippevepcl.c; path = ../tools/ippevepcl.c; sourceTree = ""; }; + 273BF6BD1333B5000022CAAB /* testcups */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testcups; sourceTree = BUILT_PRODUCTS_DIR; }; + 273BF6C61333B5370022CAAB /* testcups.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testcups.c; path = ../cups/testcups.c; sourceTree = ""; }; + 274561471F545B2E000378E4 /* cupspm.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = cupspm.md; path = ../cups/cupspm.md; sourceTree = ""; }; + 274561481F545B2E000378E4 /* api-admin.header */ = {isa = PBXFileReference; lastKnownFileType = text; name = "api-admin.header"; path = "../cups/api-admin.header"; sourceTree = ""; }; + 274561491F545B2E000378E4 /* api-admin.shtml */ = {isa = PBXFileReference; lastKnownFileType = text.html.other; name = "api-admin.shtml"; path = "../cups/api-admin.shtml"; sourceTree = ""; }; + 274770E02345342B0089BC31 /* testthreads */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testthreads; sourceTree = BUILT_PRODUCTS_DIR; }; + 274770E1234534660089BC31 /* testthreads.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testthreads.c; path = ../cups/testthreads.c; sourceTree = ""; }; + 274FF5CC13332B1F00317ECB /* cups-driverd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "cups-driverd"; sourceTree = BUILT_PRODUCTS_DIR; }; + 274FF5D613332CC700317ECB /* cups-driverd.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "cups-driverd.cxx"; path = "../scheduler/cups-driverd.cxx"; sourceTree = ""; }; + 274FF5D713332CC700317ECB /* util.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = util.c; path = ../scheduler/util.c; sourceTree = ""; }; + 274FF5D813332CC700317ECB /* util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = util.h; path = ../scheduler/util.h; sourceTree = ""; }; + 274FF5EE133330C800317ECB /* libcupsppdc.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcupsppdc.dylib; sourceTree = BUILT_PRODUCTS_DIR; }; + 274FF5F51333315100317ECB /* ppdc-array.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-array.cxx"; path = "../ppdc/ppdc-array.cxx"; sourceTree = ""; }; + 274FF5F61333315100317ECB /* ppdc-attr.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-attr.cxx"; path = "../ppdc/ppdc-attr.cxx"; sourceTree = ""; }; + 274FF5F71333315100317ECB /* ppdc-catalog.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-catalog.cxx"; path = "../ppdc/ppdc-catalog.cxx"; sourceTree = ""; }; + 274FF5F81333315100317ECB /* ppdc-choice.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-choice.cxx"; path = "../ppdc/ppdc-choice.cxx"; sourceTree = ""; }; + 274FF5F91333315100317ECB /* ppdc-constraint.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-constraint.cxx"; path = "../ppdc/ppdc-constraint.cxx"; sourceTree = ""; }; + 274FF5FA1333315100317ECB /* ppdc-driver.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-driver.cxx"; path = "../ppdc/ppdc-driver.cxx"; sourceTree = ""; }; + 274FF5FB1333315100317ECB /* ppdc-file.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-file.cxx"; path = "../ppdc/ppdc-file.cxx"; sourceTree = ""; }; + 274FF5FC1333315100317ECB /* ppdc-filter.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-filter.cxx"; path = "../ppdc/ppdc-filter.cxx"; sourceTree = ""; }; + 274FF5FD1333315100317ECB /* ppdc-font.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-font.cxx"; path = "../ppdc/ppdc-font.cxx"; sourceTree = ""; }; + 274FF5FE1333315100317ECB /* ppdc-group.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-group.cxx"; path = "../ppdc/ppdc-group.cxx"; sourceTree = ""; }; + 274FF5FF1333315100317ECB /* ppdc-import.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-import.cxx"; path = "../ppdc/ppdc-import.cxx"; sourceTree = ""; }; + 274FF6001333315100317ECB /* ppdc-mediasize.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-mediasize.cxx"; path = "../ppdc/ppdc-mediasize.cxx"; sourceTree = ""; }; + 274FF6011333315100317ECB /* ppdc-message.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-message.cxx"; path = "../ppdc/ppdc-message.cxx"; sourceTree = ""; }; + 274FF6021333315100317ECB /* ppdc-option.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-option.cxx"; path = "../ppdc/ppdc-option.cxx"; sourceTree = ""; }; + 274FF6031333315100317ECB /* ppdc-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "ppdc-private.h"; path = "../ppdc/ppdc-private.h"; sourceTree = ""; }; + 274FF6041333315100317ECB /* ppdc-profile.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-profile.cxx"; path = "../ppdc/ppdc-profile.cxx"; sourceTree = ""; }; + 274FF6051333315100317ECB /* ppdc-shared.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-shared.cxx"; path = "../ppdc/ppdc-shared.cxx"; sourceTree = ""; }; + 274FF6061333315100317ECB /* ppdc-source.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-source.cxx"; path = "../ppdc/ppdc-source.cxx"; sourceTree = ""; }; + 274FF6071333315100317ECB /* ppdc-string.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-string.cxx"; path = "../ppdc/ppdc-string.cxx"; sourceTree = ""; }; + 274FF6081333315100317ECB /* ppdc-variable.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "ppdc-variable.cxx"; path = "../ppdc/ppdc-variable.cxx"; sourceTree = ""; }; + 274FF6091333315100317ECB /* ppdc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ppdc.h; path = ../ppdc/ppdc.h; sourceTree = ""; }; + 274FF6291333333600317ECB /* cups-deviced */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "cups-deviced"; sourceTree = BUILT_PRODUCTS_DIR; }; + 274FF6351333344400317ECB /* cups-deviced.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "cups-deviced.c"; path = "../scheduler/cups-deviced.c"; sourceTree = ""; }; + 274FF63E1333358B00317ECB /* cups-exec */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "cups-exec"; sourceTree = BUILT_PRODUCTS_DIR; }; + 274FF6491333398D00317ECB /* cups-exec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "cups-exec.c"; path = "../scheduler/cups-exec.c"; sourceTree = ""; }; + 274FF64F133339C400317ECB /* cups-lpd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "cups-lpd"; sourceTree = BUILT_PRODUCTS_DIR; }; + 274FF65B133339FC00317ECB /* cups-lpd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "cups-lpd.c"; path = "../scheduler/cups-lpd.c"; sourceTree = ""; }; + 274FF67813333B2F00317ECB /* cupsfilter */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = cupsfilter; sourceTree = BUILT_PRODUCTS_DIR; }; + 274FF68713333B6E00317ECB /* cupsfilter.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = cupsfilter.c; path = ../scheduler/cupsfilter.c; sourceTree = ""; }; + 276683561337A8C5000D33D0 /* cups.strings */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = cups.strings; path = ../locale/cups.strings; sourceTree = ""; }; + 2766835C1337A9B6000D33D0 /* cupsctl */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = cupsctl; sourceTree = BUILT_PRODUCTS_DIR; }; + 276683681337AA00000D33D0 /* cupsctl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = cupsctl.c; path = ../systemv/cupsctl.c; sourceTree = ""; }; + 276683701337AC79000D33D0 /* ppdc */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ppdc; sourceTree = BUILT_PRODUCTS_DIR; }; + 2766837D1337AC8C000D33D0 /* ppdhtml */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ppdhtml; sourceTree = BUILT_PRODUCTS_DIR; }; + 2766838A1337AC97000D33D0 /* ppdi */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ppdi; sourceTree = BUILT_PRODUCTS_DIR; }; + 276683971337ACA2000D33D0 /* ppdmerge */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ppdmerge; sourceTree = BUILT_PRODUCTS_DIR; }; + 276683A41337ACAB000D33D0 /* ppdpo */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ppdpo; sourceTree = BUILT_PRODUCTS_DIR; }; + 276683CC1337B201000D33D0 /* ppdc.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ppdc.cxx; path = ../ppdc/ppdc.cxx; sourceTree = ""; }; + 276683CE1337B20D000D33D0 /* ppdhtml.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ppdhtml.cxx; path = ../ppdc/ppdhtml.cxx; sourceTree = ""; }; + 276683D01337B21A000D33D0 /* ppdi.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ppdi.cxx; path = ../ppdc/ppdi.cxx; sourceTree = ""; }; + 276683D21337B228000D33D0 /* ppdmerge.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ppdmerge.cxx; path = ../ppdc/ppdmerge.cxx; sourceTree = ""; }; + 276683D41337B237000D33D0 /* ppdpo.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ppdpo.cxx; path = ../ppdc/ppdpo.cxx; sourceTree = ""; }; + 276683F01337F78E000D33D0 /* ipptool */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ipptool; sourceTree = BUILT_PRODUCTS_DIR; }; + 276683F91337F7A9000D33D0 /* ipptool.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ipptool.c; path = ../tools/ipptool.c; sourceTree = ""; }; + 2767FC5019266A0D000F61D3 /* testdest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testdest; sourceTree = BUILT_PRODUCTS_DIR; }; + 2767FC5119266A36000F61D3 /* testdest.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testdest.c; path = ../cups/testdest.c; sourceTree = ""; }; + 2767FC591926750C000F61D3 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; }; + 2767FC5A1926750C000F61D3 /* libiconv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libiconv.dylib; path = usr/lib/libiconv.dylib; sourceTree = SDKROOT; }; + 2767FC5B1926750C000F61D3 /* libresolv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libresolv.dylib; path = usr/lib/libresolv.dylib; sourceTree = SDKROOT; }; + 2767FC5C1926750C000F61D3 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; }; + 2767FC5D1926750C000F61D3 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; + 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; + 2767FC7519269687000F61D3 /* pwg.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = pwg.h; path = ../cups/pwg.h; sourceTree = ""; }; + 2767FC76192696A0000F61D3 /* raster-private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "raster-private.h"; path = "../cups/raster-private.h"; sourceTree = ""; }; + 278C58CB136B640300836530 /* testhttp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testhttp; sourceTree = BUILT_PRODUCTS_DIR; }; + 278C58E2136B647200836530 /* testhttp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testhttp.c; path = ../cups/testhttp.c; sourceTree = ""; }; + 278C58E5136B64AF00836530 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = ""; }; + 278C58E6136B64B000836530 /* Kerberos.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Kerberos.framework; path = /System/Library/Frameworks/Kerberos.framework; sourceTree = ""; }; + 278C58E7136B64B000836530 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = /System/Library/Frameworks/Security.framework; sourceTree = ""; }; + 278C58E8136B64B000836530 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = /System/Library/Frameworks/SystemConfiguration.framework; sourceTree = ""; }; + 279AE6F42395B80F004DD600 /* libpam.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libpam.tbd; path = usr/lib/libpam.tbd; sourceTree = SDKROOT; }; + 27A0347B1A8BDB1300650675 /* lpadmin */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = lpadmin; sourceTree = BUILT_PRODUCTS_DIR; }; + 27D3037D134148CB00F022B1 /* libcups2.def */ = {isa = PBXFileReference; lastKnownFileType = text; name = libcups2.def; path = ../cups/libcups2.def; sourceTree = ""; }; + 27F89DA21B3AC43B00E5A4B7 /* testraster.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testraster.c; path = ../cups/testraster.c; sourceTree = ""; }; + 720DD6C21358FD5F0064AA82 /* snmp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = snmp; sourceTree = BUILT_PRODUCTS_DIR; }; + 720DD6D21358FDDE0064AA82 /* snmp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = snmp.c; path = ../backend/snmp.c; sourceTree = ""; }; + 720E854120164E7A00C6C411 /* ipp-file.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ipp-file.c"; path = "../cups/ipp-file.c"; sourceTree = ""; }; + 720E854220164E7A00C6C411 /* ipp-vars.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ipp-vars.c"; path = "../cups/ipp-vars.c"; sourceTree = ""; }; + 72220EAE1333047D00FCA411 /* libcups.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcups.dylib; sourceTree = BUILT_PRODUCTS_DIR; }; + 72220EB51333052D00FCA411 /* adminutil.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = adminutil.c; path = ../cups/adminutil.c; sourceTree = ""; }; + 72220EB71333056300FCA411 /* adminutil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = adminutil.h; path = ../cups/adminutil.h; sourceTree = ""; }; + 72220EB81333056300FCA411 /* array.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = array.c; path = ../cups/array.c; sourceTree = ""; }; + 72220EB91333056300FCA411 /* array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = array.h; path = ../cups/array.h; sourceTree = ""; }; + 72220EBA1333056300FCA411 /* ppd-attr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ppd-attr.c"; path = "../cups/ppd-attr.c"; sourceTree = ""; }; + 72220EBB1333056300FCA411 /* auth.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = auth.c; path = ../cups/auth.c; sourceTree = ""; }; + 72220EBC1333056300FCA411 /* backchannel.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = backchannel.c; path = ../cups/backchannel.c; sourceTree = ""; }; + 72220EBD1333056300FCA411 /* backend.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = backend.c; path = ../cups/backend.c; sourceTree = ""; }; + 72220EBE1333056300FCA411 /* backend.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = backend.h; path = ../cups/backend.h; sourceTree = ""; }; + 72220EBF1333056300FCA411 /* ppd-conflicts.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ppd-conflicts.c"; path = "../cups/ppd-conflicts.c"; sourceTree = ""; }; + 72220EC01333056300FCA411 /* cups-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "cups-private.h"; path = "../cups/cups-private.h"; sourceTree = ""; }; + 72220EC11333056300FCA411 /* cups.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = cups.h; path = ../cups/cups.h; sourceTree = ""; }; + 72220EC21333056300FCA411 /* ppd-custom.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ppd-custom.c"; path = "../cups/ppd-custom.c"; sourceTree = ""; }; + 72220ED1133305BB00FCA411 /* debug.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = debug.c; path = ../cups/debug.c; sourceTree = ""; }; + 72220ED2133305BB00FCA411 /* dest.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dest.c; path = ../cups/dest.c; sourceTree = ""; }; + 72220ED3133305BB00FCA411 /* dir.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dir.c; path = ../cups/dir.c; sourceTree = ""; }; + 72220ED4133305BB00FCA411 /* dir.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = dir.h; path = ../cups/dir.h; sourceTree = ""; }; + 72220ED5133305BB00FCA411 /* ppd-emit.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ppd-emit.c"; path = "../cups/ppd-emit.c"; sourceTree = ""; }; + 72220ED6133305BB00FCA411 /* encode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = encode.c; path = ../cups/encode.c; sourceTree = ""; }; + 72220ED7133305BB00FCA411 /* file-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "file-private.h"; path = "../cups/file-private.h"; sourceTree = ""; }; + 72220ED8133305BB00FCA411 /* file.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = file.c; path = ../cups/file.c; sourceTree = ""; }; + 72220ED9133305BB00FCA411 /* file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = file.h; path = ../cups/file.h; sourceTree = ""; }; + 72220EDA133305BB00FCA411 /* getdevices.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = getdevices.c; path = ../cups/getdevices.c; sourceTree = ""; }; + 72220EDB133305BB00FCA411 /* getifaddrs.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = getifaddrs.c; path = ../cups/getifaddrs.c; sourceTree = ""; }; + 72220EDC133305BB00FCA411 /* getputfile.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = getputfile.c; path = ../cups/getputfile.c; sourceTree = ""; }; + 72220EDD133305BB00FCA411 /* globals.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = globals.c; path = ../cups/globals.c; sourceTree = ""; }; + 72220EDE133305BB00FCA411 /* http-addr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "http-addr.c"; path = "../cups/http-addr.c"; sourceTree = ""; }; + 72220EDF133305BB00FCA411 /* http-addrlist.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "http-addrlist.c"; path = "../cups/http-addrlist.c"; sourceTree = ""; }; + 72220EE0133305BB00FCA411 /* http-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "http-private.h"; path = "../cups/http-private.h"; sourceTree = ""; }; + 72220EE1133305BB00FCA411 /* http-support.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "http-support.c"; path = "../cups/http-support.c"; sourceTree = ""; }; + 72220EE2133305BB00FCA411 /* http.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = http.c; path = ../cups/http.c; sourceTree = ""; }; + 72220EE3133305BB00FCA411 /* http.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = http.h; path = ../cups/http.h; sourceTree = ""; wrapsLines = 1; }; + 72220EE4133305BB00FCA411 /* ipp-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "ipp-private.h"; path = "../cups/ipp-private.h"; sourceTree = ""; }; + 72220EE5133305BB00FCA411 /* ipp-support.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ipp-support.c"; path = "../cups/ipp-support.c"; sourceTree = ""; }; + 72220EE6133305BB00FCA411 /* ipp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ipp.c; path = ../cups/ipp.c; sourceTree = ""; }; + 72220EE7133305BB00FCA411 /* ipp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ipp.h; path = ../cups/ipp.h; sourceTree = ""; }; + 72220EE8133305BB00FCA411 /* langprintf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = langprintf.c; path = ../cups/langprintf.c; sourceTree = ""; }; + 72220EE9133305BB00FCA411 /* language-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "language-private.h"; path = "../cups/language-private.h"; sourceTree = ""; }; + 72220EEA133305BB00FCA411 /* language.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = language.c; path = ../cups/language.c; sourceTree = ""; }; + 72220EEB133305BB00FCA411 /* language.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = language.h; path = ../cups/language.h; sourceTree = ""; }; + 72220EEC133305BB00FCA411 /* ppd-localize.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ppd-localize.c"; path = "../cups/ppd-localize.c"; sourceTree = ""; }; + 72220EED133305BB00FCA411 /* ppd-mark.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ppd-mark.c"; path = "../cups/ppd-mark.c"; sourceTree = ""; }; + 72220EEE133305BB00FCA411 /* md5-internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "md5-internal.h"; path = "../cups/md5-internal.h"; sourceTree = ""; }; + 72220EEF133305BB00FCA411 /* md5.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = md5.c; path = ../cups/md5.c; sourceTree = ""; }; + 72220EF0133305BB00FCA411 /* md5passwd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = md5passwd.c; path = ../cups/md5passwd.c; sourceTree = ""; }; + 72220EF1133305BB00FCA411 /* notify.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = notify.c; path = ../cups/notify.c; sourceTree = ""; }; + 72220EF2133305BB00FCA411 /* options.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = options.c; path = ../cups/options.c; sourceTree = ""; }; + 72220EF3133305BB00FCA411 /* ppd-page.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ppd-page.c"; path = "../cups/ppd-page.c"; sourceTree = ""; }; + 72220EF4133305BB00FCA411 /* ppd-cache.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ppd-cache.c"; path = "../cups/ppd-cache.c"; sourceTree = ""; }; + 72220EF5133305BB00FCA411 /* ppd-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "ppd-private.h"; path = "../cups/ppd-private.h"; sourceTree = ""; }; + 72220EF6133305BB00FCA411 /* ppd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ppd.c; path = ../cups/ppd.c; sourceTree = ""; }; + 72220EF7133305BB00FCA411 /* ppd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ppd.h; path = ../cups/ppd.h; sourceTree = ""; }; + 72220EF8133305BB00FCA411 /* pwg-media.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "pwg-media.c"; path = "../cups/pwg-media.c"; sourceTree = ""; }; + 72220EF9133305BB00FCA411 /* pwg-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "pwg-private.h"; path = "../cups/pwg-private.h"; sourceTree = ""; }; + 72220EFA133305BB00FCA411 /* raster.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = raster.h; path = ../cups/raster.h; sourceTree = ""; }; + 72220EFB133305BB00FCA411 /* request.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = request.c; path = ../cups/request.c; sourceTree = ""; }; + 72220EFC133305BB00FCA411 /* sidechannel.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sidechannel.c; path = ../cups/sidechannel.c; sourceTree = ""; }; + 72220EFD133305BB00FCA411 /* sidechannel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = sidechannel.h; path = ../cups/sidechannel.h; sourceTree = ""; }; + 72220EFE133305BB00FCA411 /* snmp-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "snmp-private.h"; path = "../cups/snmp-private.h"; sourceTree = ""; }; + 72220EFF133305BB00FCA411 /* snmp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = snmp.c; path = ../cups/snmp.c; sourceTree = ""; }; + 72220F00133305BB00FCA411 /* snprintf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = snprintf.c; path = ../cups/snprintf.c; sourceTree = ""; }; + 72220F01133305BB00FCA411 /* string-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "string-private.h"; path = "../cups/string-private.h"; sourceTree = ""; }; + 72220F02133305BB00FCA411 /* string.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = string.c; path = ../cups/string.c; sourceTree = ""; }; + 72220F03133305BB00FCA411 /* tempfile.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tempfile.c; path = ../cups/tempfile.c; sourceTree = ""; }; + 72220F04133305BB00FCA411 /* thread-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "thread-private.h"; path = "../cups/thread-private.h"; sourceTree = ""; }; + 72220F05133305BB00FCA411 /* thread.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = thread.c; path = ../cups/thread.c; sourceTree = ""; }; + 72220F06133305BB00FCA411 /* transcode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = transcode.c; path = ../cups/transcode.c; sourceTree = ""; }; + 72220F07133305BB00FCA411 /* transcode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = transcode.h; path = ../cups/transcode.h; sourceTree = ""; }; + 72220F08133305BB00FCA411 /* usersys.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = usersys.c; path = ../cups/usersys.c; sourceTree = ""; }; + 72220F09133305BB00FCA411 /* util.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = util.c; path = ../cups/util.c; sourceTree = ""; }; + 72220F0A133305BB00FCA411 /* versioning.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = versioning.h; path = ../cups/versioning.h; sourceTree = ""; }; + 72220F471333063D00FCA411 /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = ""; }; + 72220F5B13330A5A00FCA411 /* cupsd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = cupsd; sourceTree = BUILT_PRODUCTS_DIR; }; + 72220F6913330B0C00FCA411 /* auth.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = auth.c; path = ../scheduler/auth.c; sourceTree = SOURCE_ROOT; }; + 72220F6A13330B0C00FCA411 /* auth.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = auth.h; path = ../scheduler/auth.h; sourceTree = SOURCE_ROOT; }; + 72220F6B13330B0C00FCA411 /* banners.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = banners.c; path = ../scheduler/banners.c; sourceTree = SOURCE_ROOT; }; + 72220F6C13330B0C00FCA411 /* banners.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = banners.h; path = ../scheduler/banners.h; sourceTree = SOURCE_ROOT; }; + 72220F6D13330B0C00FCA411 /* cert.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = cert.c; path = ../scheduler/cert.c; sourceTree = SOURCE_ROOT; }; + 72220F6E13330B0C00FCA411 /* cert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = cert.h; path = ../scheduler/cert.h; sourceTree = SOURCE_ROOT; }; + 72220F6F13330B0C00FCA411 /* classes.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = classes.c; path = ../scheduler/classes.c; sourceTree = SOURCE_ROOT; }; + 72220F7013330B0C00FCA411 /* classes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = classes.h; path = ../scheduler/classes.h; sourceTree = SOURCE_ROOT; }; + 72220F7113330B0C00FCA411 /* client.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = client.c; path = ../scheduler/client.c; sourceTree = SOURCE_ROOT; }; + 72220F7213330B0C00FCA411 /* client.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = client.h; path = ../scheduler/client.h; sourceTree = SOURCE_ROOT; }; + 72220F7313330B0C00FCA411 /* conf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = conf.c; path = ../scheduler/conf.c; sourceTree = SOURCE_ROOT; }; + 72220F7413330B0C00FCA411 /* conf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = conf.h; path = ../scheduler/conf.h; sourceTree = SOURCE_ROOT; }; + 72220F7513330B0C00FCA411 /* cupsd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = cupsd.h; path = ../scheduler/cupsd.h; sourceTree = SOURCE_ROOT; }; + 72220F7613330B0C00FCA411 /* dirsvc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dirsvc.c; path = ../scheduler/dirsvc.c; sourceTree = SOURCE_ROOT; }; + 72220F7713330B0C00FCA411 /* dirsvc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = dirsvc.h; path = ../scheduler/dirsvc.h; sourceTree = SOURCE_ROOT; }; + 72220F7813330B0C00FCA411 /* env.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = env.c; path = ../scheduler/env.c; sourceTree = SOURCE_ROOT; }; + 72220F7913330B0C00FCA411 /* ipp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ipp.c; path = ../scheduler/ipp.c; sourceTree = SOURCE_ROOT; }; + 72220F7A13330B0C00FCA411 /* job.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = job.c; path = ../scheduler/job.c; sourceTree = SOURCE_ROOT; }; + 72220F7B13330B0C00FCA411 /* job.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = job.h; path = ../scheduler/job.h; sourceTree = SOURCE_ROOT; }; + 72220F7C13330B0C00FCA411 /* listen.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = listen.c; path = ../scheduler/listen.c; sourceTree = SOURCE_ROOT; }; + 72220F7D13330B0C00FCA411 /* log.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = log.c; path = ../scheduler/log.c; sourceTree = SOURCE_ROOT; }; + 72220F7E13330B0C00FCA411 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = main.c; path = ../scheduler/main.c; sourceTree = SOURCE_ROOT; }; + 72220F7F13330B0C00FCA411 /* network.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = network.c; path = ../scheduler/network.c; sourceTree = SOURCE_ROOT; }; + 72220F8013330B0C00FCA411 /* network.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = network.h; path = ../scheduler/network.h; sourceTree = SOURCE_ROOT; }; + 72220F8113330B0C00FCA411 /* policy.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = policy.c; path = ../scheduler/policy.c; sourceTree = SOURCE_ROOT; }; + 72220F8213330B0C00FCA411 /* policy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = policy.h; path = ../scheduler/policy.h; sourceTree = SOURCE_ROOT; }; + 72220F8313330B0C00FCA411 /* printers.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = printers.c; path = ../scheduler/printers.c; sourceTree = SOURCE_ROOT; }; + 72220F8413330B0C00FCA411 /* printers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = printers.h; path = ../scheduler/printers.h; sourceTree = SOURCE_ROOT; }; + 72220F8513330B0C00FCA411 /* process.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = process.c; path = ../scheduler/process.c; sourceTree = SOURCE_ROOT; }; + 72220F8613330B0C00FCA411 /* quotas.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = quotas.c; path = ../scheduler/quotas.c; sourceTree = SOURCE_ROOT; }; + 72220F8813330B0C00FCA411 /* select.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = select.c; path = ../scheduler/select.c; sourceTree = SOURCE_ROOT; }; + 72220F8913330B0C00FCA411 /* server.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = server.c; path = ../scheduler/server.c; sourceTree = SOURCE_ROOT; }; + 72220F8A13330B0C00FCA411 /* statbuf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = statbuf.c; path = ../scheduler/statbuf.c; sourceTree = SOURCE_ROOT; }; + 72220F8B13330B0C00FCA411 /* statbuf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = statbuf.h; path = ../scheduler/statbuf.h; sourceTree = SOURCE_ROOT; }; + 72220F8C13330B0C00FCA411 /* subscriptions.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = subscriptions.c; path = ../scheduler/subscriptions.c; sourceTree = SOURCE_ROOT; }; + 72220F8D13330B0C00FCA411 /* subscriptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = subscriptions.h; path = ../scheduler/subscriptions.h; sourceTree = SOURCE_ROOT; }; + 72220F8E13330B0C00FCA411 /* sysman.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sysman.c; path = ../scheduler/sysman.c; sourceTree = SOURCE_ROOT; }; + 72220F8F13330B0C00FCA411 /* sysman.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = sysman.h; path = ../scheduler/sysman.h; sourceTree = SOURCE_ROOT; }; + 72220FAC13330B2200FCA411 /* libcupsmime.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcupsmime.dylib; sourceTree = BUILT_PRODUCTS_DIR; }; + 72220FB213330BCE00FCA411 /* filter.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = filter.c; path = ../scheduler/filter.c; sourceTree = ""; }; + 72220FB313330BCE00FCA411 /* mime.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = mime.c; path = ../scheduler/mime.c; sourceTree = ""; }; + 72220FB413330BCE00FCA411 /* mime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = mime.h; path = ../scheduler/mime.h; sourceTree = ""; }; + 72220FB513330BCE00FCA411 /* type.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = type.c; path = ../scheduler/type.c; sourceTree = ""; }; + 7226369B18AE6D19004ED309 /* org.cups.cups-lpd.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "org.cups.cups-lpd.plist"; path = "../scheduler/org.cups.cups-lpd.plist"; sourceTree = SOURCE_ROOT; }; + 7226369C18AE6D19004ED309 /* org.cups.cupsd.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = org.cups.cupsd.plist; path = ../scheduler/org.cups.cupsd.plist; sourceTree = SOURCE_ROOT; }; + 7226369D18AE73BB004ED309 /* config.h.in */ = {isa = PBXFileReference; lastKnownFileType = text; name = config.h.in; path = ../config.h.in; sourceTree = ""; }; + 722A24EE2178D00C000CAB20 /* debug-internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "debug-internal.h"; path = "../cups/debug-internal.h"; sourceTree = ""; }; + 722A24F22178D090000CAB20 /* debug-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "debug-private.h"; path = "../cups/debug-private.h"; sourceTree = ""; }; + 7234F41F1378A16F00D3E9C9 /* array-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "array-private.h"; path = "../cups/array-private.h"; sourceTree = ""; }; + 724378FD1333E43E009631B9 /* ipp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ipp; sourceTree = BUILT_PRODUCTS_DIR; }; + 724379091333E4E3009631B9 /* backend-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "backend-private.h"; path = "../backend/backend-private.h"; sourceTree = ""; }; + 7243790A1333E4E3009631B9 /* ipp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ipp.c; path = ../backend/ipp.c; sourceTree = ""; }; + 7243790B1333E4E3009631B9 /* network.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = network.c; path = ../backend/network.c; sourceTree = ""; }; + 7243790C1333E4E3009631B9 /* snmp-supplies.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "snmp-supplies.c"; path = "../backend/snmp-supplies.c"; sourceTree = ""; }; + 724379121333E516009631B9 /* runloop.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = runloop.c; path = ../backend/runloop.c; sourceTree = ""; }; + 724379181333E532009631B9 /* lpd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = lpd; sourceTree = BUILT_PRODUCTS_DIR; }; + 724379281333E952009631B9 /* lpd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = lpd.c; path = ../backend/lpd.c; sourceTree = ""; }; + 724379301333FB85009631B9 /* socket */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = socket; sourceTree = BUILT_PRODUCTS_DIR; }; + 7243793C1333FD19009631B9 /* socket.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = socket.c; path = ../backend/socket.c; sourceTree = ""; }; + 724379471333FEA9009631B9 /* dnssd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = dnssd; sourceTree = BUILT_PRODUCTS_DIR; }; + 724379501333FEBB009631B9 /* dnssd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dnssd.c; path = ../backend/dnssd.c; sourceTree = ""; }; + 7243795B1333FF1D009631B9 /* usb */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = usb; sourceTree = BUILT_PRODUCTS_DIR; }; + 724379C41333FFC7009631B9 /* usb-darwin.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "usb-darwin.c"; path = "../backend/usb-darwin.c"; sourceTree = ""; }; + 724379C51333FFC7009631B9 /* usb.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = usb.c; path = ../backend/usb.c; sourceTree = ""; }; + 724379CA1334000E009631B9 /* ieee1284.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ieee1284.c; path = ../backend/ieee1284.c; sourceTree = ""; }; + 72496E161A13A03B0051899C /* org.cups.cups-lpd.socket */ = {isa = PBXFileReference; lastKnownFileType = text; name = "org.cups.cups-lpd.socket"; path = "../scheduler/org.cups.cups-lpd.socket"; sourceTree = SOURCE_ROOT; }; + 72496E171A13A03B0051899C /* org.cups.cups-lpdAT.service.in */ = {isa = PBXFileReference; lastKnownFileType = text; name = "org.cups.cups-lpdAT.service.in"; path = "../scheduler/org.cups.cups-lpdAT.service.in"; sourceTree = SOURCE_ROOT; }; + 724FA5351CC0370C0092477B /* testadmin */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testadmin; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA5481CC037370092477B /* testarray */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testarray; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA55B1CC037500092477B /* testcache */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testcache; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA56E1CC037670092477B /* testconflicts */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testconflicts; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA5811CC037810092477B /* testfile */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testfile; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA5941CC037980092477B /* testi18n */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testi18n; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA5A71CC037AA0092477B /* testipp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testipp; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA5BA1CC037C60092477B /* testlang */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testlang; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA5CD1CC037D90092477B /* testlpd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testlpd; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA5E11CC037F00092477B /* testoptions */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testoptions; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA5F51CC038040092477B /* testppd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testppd; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA6091CC038190092477B /* testpwg */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testpwg; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA61D1CC0382B0092477B /* testraster */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testraster; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA6311CC038410092477B /* testsnmp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testsnmp; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA6451CC038560092477B /* testspeed */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testspeed; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA6591CC0386E0092477B /* testsub */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testsub; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA65B1CC0389F0092477B /* test1284.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = test1284.c; path = ../backend/test1284.c; sourceTree = ""; }; + 724FA65C1CC0389F0092477B /* testbackend.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testbackend.c; path = ../backend/testbackend.c; sourceTree = ""; }; + 724FA65D1CC0389F0092477B /* testsupplies.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testsupplies.c; path = ../backend/testsupplies.c; sourceTree = ""; }; + 724FA6701CC038A50092477B /* test1284 */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = test1284; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA6831CC038BD0092477B /* testbackend */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testbackend; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA6971CC038D90092477B /* testsupplies */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testsupplies; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA6AA1CC039200092477B /* testcgi */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testcgi; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA6BD1CC0393E0092477B /* testhi */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testhi; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA6D11CC0395A0092477B /* testtemplate */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testtemplate; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA6D41CC039D00092477B /* dbus.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = dbus.c; path = ../notifier/dbus.c; sourceTree = ""; }; + 724FA6D51CC039D00092477B /* mailto.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = mailto.c; path = ../notifier/mailto.c; sourceTree = ""; }; + 724FA6D61CC039D00092477B /* rss.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = rss.c; path = ../notifier/rss.c; sourceTree = ""; }; + 724FA6D71CC039D00092477B /* testnotify.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testnotify.c; path = ../notifier/testnotify.c; sourceTree = ""; }; + 724FA6EA1CC039DE0092477B /* testnotify */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testnotify; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA6EC1CC03A1D0092477B /* testcatalog.cxx */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = testcatalog.cxx; path = ../ppdc/testcatalog.cxx; sourceTree = ""; }; + 724FA6FF1CC03A210092477B /* testcatalog */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testcatalog; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA70F1CC03A490092477B /* libcupsimage_static.a */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcupsimage_static.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA71F1CC03A990092477B /* libcupsmime_static.a */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcupsmime_static.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA7401CC03AAF0092477B /* libcupsppdc_static.a */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcupsppdc_static.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA74F1CC03ACC0092477B /* libcupscgi.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcupscgi.dylib; sourceTree = BUILT_PRODUCTS_DIR; }; + 724FA76B1CC03AF60092477B /* libcupscgi_static.a */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcupscgi_static.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 7253C45C216ED51400494ADD /* raster-interstub.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "raster-interstub.c"; path = "../cups/raster-interstub.c"; sourceTree = ""; }; + 7253C45D216ED51500494ADD /* raster-stubs.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "raster-stubs.c"; path = "../cups/raster-stubs.c"; sourceTree = ""; }; + 7258EAE2134594C4009286F1 /* rastertopwg */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = rastertopwg; sourceTree = BUILT_PRODUCTS_DIR; }; + 7258EAEC134594EB009286F1 /* rastertopwg.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = rastertopwg.c; path = ../filter/rastertopwg.c; sourceTree = ""; }; + 72646E58203D0FCA00231A77 /* NOTICE */ = {isa = PBXFileReference; lastKnownFileType = text; name = NOTICE; path = ../NOTICE; sourceTree = ""; }; + 726AD6F7135E88F0002C930D /* ippeveprinter */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ippeveprinter; sourceTree = BUILT_PRODUCTS_DIR; }; + 726AD701135E8A90002C930D /* ippeveprinter.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ippeveprinter.c; path = ../tools/ippeveprinter.c; sourceTree = ""; }; + 7271881713746EA8001A2036 /* commandtops.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = commandtops.c; path = ../filter/commandtops.c; sourceTree = ""; }; + 7271881813746EA8001A2036 /* common.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = common.c; path = ../filter/common.c; sourceTree = ""; }; + 7271881913746EA8001A2036 /* common.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = common.h; path = ../filter/common.h; sourceTree = ""; }; + 7271881A13746EA8001A2036 /* gziptoany.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = gziptoany.c; path = ../filter/gziptoany.c; sourceTree = ""; }; + 7271882013746EA8001A2036 /* pstops.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = pstops.c; path = ../filter/pstops.c; sourceTree = ""; }; + 7271882113746EA8001A2036 /* rastertoepson.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = rastertoepson.c; path = ../filter/rastertoepson.c; sourceTree = ""; }; + 7271882213746EA8001A2036 /* rastertohp.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = rastertohp.c; path = ../filter/rastertohp.c; sourceTree = ""; }; + 7271882313746EA8001A2036 /* rastertolabel.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = rastertolabel.c; path = ../filter/rastertolabel.c; sourceTree = ""; }; + 7271883C1374AB14001A2036 /* mime-private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "mime-private.h"; path = "../scheduler/mime-private.h"; sourceTree = ""; }; + 727AD5B619100A58009F6862 /* tls.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tls.c; path = ../cups/tls.c; sourceTree = ""; }; + 727EF02F192E3498001EF690 /* admin.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = admin.c; path = "../cgi-bin/admin.c"; sourceTree = ""; wrapsLines = 1; }; + 727EF030192E3498001EF690 /* cgi-private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "cgi-private.h"; path = "../cgi-bin/cgi-private.h"; sourceTree = ""; }; + 727EF031192E3498001EF690 /* cgi.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = cgi.h; path = "../cgi-bin/cgi.h"; sourceTree = ""; }; + 727EF032192E3498001EF690 /* classes.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = classes.c; path = "../cgi-bin/classes.c"; sourceTree = ""; }; + 727EF033192E3498001EF690 /* help-index.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = "help-index.c"; path = "../cgi-bin/help-index.c"; sourceTree = ""; }; + 727EF034192E3498001EF690 /* help-index.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "help-index.h"; path = "../cgi-bin/help-index.h"; sourceTree = ""; }; + 727EF035192E3498001EF690 /* help.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = help.c; path = "../cgi-bin/help.c"; sourceTree = ""; }; + 727EF036192E3498001EF690 /* html.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = html.c; path = "../cgi-bin/html.c"; sourceTree = ""; }; + 727EF037192E3498001EF690 /* ipp-var.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = "ipp-var.c"; path = "../cgi-bin/ipp-var.c"; sourceTree = ""; }; + 727EF038192E3498001EF690 /* jobs.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = jobs.c; path = "../cgi-bin/jobs.c"; sourceTree = ""; }; + 727EF039192E3498001EF690 /* makedocset.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = makedocset.c; path = "../cgi-bin/makedocset.c"; sourceTree = ""; }; + 727EF03A192E3498001EF690 /* printers.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = printers.c; path = "../cgi-bin/printers.c"; sourceTree = ""; }; + 727EF03B192E3498001EF690 /* search.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = search.c; path = "../cgi-bin/search.c"; sourceTree = ""; }; + 727EF03C192E3498001EF690 /* template.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = template.c; path = "../cgi-bin/template.c"; sourceTree = ""; }; + 727EF03D192E3498001EF690 /* testcgi.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testcgi.c; path = "../cgi-bin/testcgi.c"; sourceTree = ""; }; + 727EF03E192E3498001EF690 /* testhi.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testhi.c; path = "../cgi-bin/testhi.c"; sourceTree = ""; }; + 727EF03F192E3498001EF690 /* testtemplate.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testtemplate.c; path = "../cgi-bin/testtemplate.c"; sourceTree = ""; }; + 727EF040192E3498001EF690 /* var.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = var.c; path = "../cgi-bin/var.c"; sourceTree = ""; }; + 727EF041192E3544001EF690 /* testadmin.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testadmin.c; path = ../cups/testadmin.c; sourceTree = ""; }; + 727EF042192E3544001EF690 /* testarray.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testarray.c; path = ../cups/testarray.c; sourceTree = ""; }; + 727EF043192E3544001EF690 /* testcache.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testcache.c; path = ../cups/testcache.c; sourceTree = ""; }; + 727EF044192E3544001EF690 /* testconflicts.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testconflicts.c; path = ../cups/testconflicts.c; sourceTree = ""; }; + 727EF045192E3544001EF690 /* testfile.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testfile.c; path = ../cups/testfile.c; sourceTree = ""; }; + 727EF046192E3544001EF690 /* testi18n.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testi18n.c; path = ../cups/testi18n.c; sourceTree = ""; }; + 727EF047192E3544001EF690 /* testipp.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testipp.c; path = ../cups/testipp.c; sourceTree = ""; }; + 727EF048192E3544001EF690 /* testlang.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testlang.c; path = ../cups/testlang.c; sourceTree = ""; }; + 727EF049192E3544001EF690 /* testoptions.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testoptions.c; path = ../cups/testoptions.c; sourceTree = ""; }; + 727EF04A192E3544001EF690 /* testppd.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testppd.c; path = ../cups/testppd.c; sourceTree = ""; }; + 727EF04B192E3544001EF690 /* testpwg.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testpwg.c; path = ../cups/testpwg.c; sourceTree = ""; }; + 727EF04C192E3544001EF690 /* testsnmp.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testsnmp.c; path = ../cups/testsnmp.c; sourceTree = ""; }; + 727EF04D192E3602001EF690 /* testlpd.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testlpd.c; path = ../scheduler/testlpd.c; sourceTree = ""; }; + 727EF04E192E3602001EF690 /* testspeed.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testspeed.c; path = ../scheduler/testspeed.c; sourceTree = ""; }; + 727EF04F192E3602001EF690 /* testsub.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = testsub.c; path = ../scheduler/testsub.c; sourceTree = ""; }; + 7284F9EF1BFCCD940026F886 /* hash.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = hash.c; path = ../cups/hash.c; sourceTree = ""; }; + 728FB7EC1536161C005426E1 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = /usr/lib/libz.dylib; sourceTree = ""; }; + 728FB7EF1536167A005426E1 /* libiconv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libiconv.dylib; path = /usr/lib/libiconv.dylib; sourceTree = ""; }; + 728FB7F01536167A005426E1 /* libresolv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libresolv.dylib; path = /usr/lib/libresolv.dylib; sourceTree = ""; }; + 729181AB20115597005E7560 /* testclient.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testclient.c; path = ../cups/testclient.c; sourceTree = ""; }; + 729181BE201155C1005E7560 /* testclient */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = testclient; sourceTree = BUILT_PRODUCTS_DIR; }; + 72A4332F155844CF002E172D /* libcups_static.a */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcups_static.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 72A8B3D61C188BDE00A1A547 /* ppd-util.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ppd-util.c"; path = "../cups/ppd-util.c"; sourceTree = ""; }; + 72C16CB8137B195D007E4BF4 /* file.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = file.c; path = ../scheduler/file.c; sourceTree = SOURCE_ROOT; }; + 72CF95E018A13543000FCAE4 /* dest-job.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "dest-job.c"; path = "../cups/dest-job.c"; sourceTree = ""; }; + 72CF95E118A13543000FCAE4 /* dest-localization.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "dest-localization.c"; path = "../cups/dest-localization.c"; sourceTree = ""; }; + 72CF95E218A13543000FCAE4 /* dest-options.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "dest-options.c"; path = "../cups/dest-options.c"; sourceTree = ""; }; + 72CF95F118A19134000FCAE4 /* ipptool copy */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "ipptool copy"; sourceTree = BUILT_PRODUCTS_DIR; }; + 72CF95F218A19165000FCAE4 /* ippfind.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ippfind.c; path = ../tools/ippfind.c; sourceTree = ""; }; + 72D53A2915B49110003F877F /* GSS.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GSS.framework; path = /System/Library/Frameworks/GSS.framework; sourceTree = ""; }; + 72D53A2C15B4913D003F877F /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; + 72D53A3315B4925B003F877F /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = ""; }; + 72D53A3615B4929D003F877F /* colorman.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = colorman.c; path = ../scheduler/colorman.c; sourceTree = ""; }; + 72D53A3715B4929D003F877F /* colorman.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = colorman.h; path = ../scheduler/colorman.h; sourceTree = ""; }; + 72D53A3915B492FA003F877F /* libpam.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libpam.dylib; path = /usr/lib/libpam.dylib; sourceTree = ""; }; + 72E65BA318DC797E00097E89 /* configure.ac */ = {isa = PBXFileReference; lastKnownFileType = text; name = configure.ac; path = ../configure.ac; sourceTree = ""; }; + 72E65BA418DC799B00097E89 /* cups-common.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-common.m4"; path = "../config-scripts/cups-common.m4"; sourceTree = ""; }; + 72E65BA518DC799B00097E89 /* cups-compiler.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-compiler.m4"; path = "../config-scripts/cups-compiler.m4"; sourceTree = ""; }; + 72E65BA618DC799B00097E89 /* cups-defaults.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-defaults.m4"; path = "../config-scripts/cups-defaults.m4"; sourceTree = ""; }; + 72E65BA718DC799B00097E89 /* cups-directories.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-directories.m4"; path = "../config-scripts/cups-directories.m4"; sourceTree = ""; }; + 72E65BA818DC799B00097E89 /* cups-dnssd.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-dnssd.m4"; path = "../config-scripts/cups-dnssd.m4"; sourceTree = ""; }; + 72E65BA918DC799B00097E89 /* cups-gssapi.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-gssapi.m4"; path = "../config-scripts/cups-gssapi.m4"; sourceTree = ""; }; + 72E65BAA18DC799B00097E89 /* cups-largefile.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-largefile.m4"; path = "../config-scripts/cups-largefile.m4"; sourceTree = ""; }; + 72E65BAB18DC799B00097E89 /* cups-startup.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-startup.m4"; path = "../config-scripts/cups-startup.m4"; sourceTree = ""; }; + 72E65BAC18DC799B00097E89 /* cups-libtool.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-libtool.m4"; path = "../config-scripts/cups-libtool.m4"; sourceTree = ""; }; + 72E65BAD18DC799B00097E89 /* cups-manpages.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-manpages.m4"; path = "../config-scripts/cups-manpages.m4"; sourceTree = ""; }; + 72E65BAE18DC799B00097E89 /* cups-network.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-network.m4"; path = "../config-scripts/cups-network.m4"; sourceTree = ""; }; + 72E65BAF18DC799B00097E89 /* cups-opsys.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-opsys.m4"; path = "../config-scripts/cups-opsys.m4"; sourceTree = ""; }; + 72E65BB018DC799B00097E89 /* cups-pam.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-pam.m4"; path = "../config-scripts/cups-pam.m4"; sourceTree = ""; }; + 72E65BB118DC799B00097E89 /* cups-poll.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-poll.m4"; path = "../config-scripts/cups-poll.m4"; sourceTree = ""; }; + 72E65BB318DC799B00097E89 /* cups-sharedlibs.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-sharedlibs.m4"; path = "../config-scripts/cups-sharedlibs.m4"; sourceTree = ""; }; + 72E65BB418DC799B00097E89 /* cups-ssl.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-ssl.m4"; path = "../config-scripts/cups-ssl.m4"; sourceTree = ""; }; + 72E65BB518DC799B00097E89 /* cups-threads.m4 */ = {isa = PBXFileReference; lastKnownFileType = text; name = "cups-threads.m4"; path = "../config-scripts/cups-threads.m4"; sourceTree = ""; }; + 72E65BB618DC79CC00097E89 /* cups-config.in */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; name = "cups-config.in"; path = "../cups-config.in"; sourceTree = ""; }; + 72E65BB718DC79CC00097E89 /* Makedefs.in */ = {isa = PBXFileReference; lastKnownFileType = text; name = Makedefs.in; path = ../Makedefs.in; sourceTree = ""; }; + 72E65BB918DC7A3600097E89 /* doc */ = {isa = PBXFileReference; lastKnownFileType = folder; name = doc; path = ../doc; sourceTree = ""; }; + 72E65BBA18DC7A3600097E89 /* man */ = {isa = PBXFileReference; lastKnownFileType = folder; name = man; path = ../man; sourceTree = ""; }; + 72E65BC118DC7A6B00097E89 /* api-filter.header */ = {isa = PBXFileReference; lastKnownFileType = text; name = "api-filter.header"; path = "../cups/api-filter.header"; sourceTree = ""; }; + 72E65BC218DC7A6B00097E89 /* api-filter.shtml */ = {isa = PBXFileReference; lastKnownFileType = text.html.other; name = "api-filter.shtml"; path = "../cups/api-filter.shtml"; sourceTree = ""; }; + 72E65BC718DC7A6B00097E89 /* api-ppd.header */ = {isa = PBXFileReference; lastKnownFileType = text; name = "api-ppd.header"; path = "../cups/api-ppd.header"; sourceTree = ""; }; + 72E65BC818DC7A6B00097E89 /* api-ppd.shtml */ = {isa = PBXFileReference; lastKnownFileType = text.html.other; name = "api-ppd.shtml"; path = "../cups/api-ppd.shtml"; sourceTree = ""; }; + 72E65BCB18DC7A9800097E89 /* api-raster.header */ = {isa = PBXFileReference; lastKnownFileType = text; name = "api-raster.header"; path = "../cups/api-raster.header"; sourceTree = ""; }; + 72E65BCC18DC7A9800097E89 /* api-raster.shtml */ = {isa = PBXFileReference; lastKnownFileType = text.html.other; name = "api-raster.shtml"; path = "../cups/api-raster.shtml"; sourceTree = ""; }; + 72E65BCD18DC7A9800097E89 /* postscript-driver.header */ = {isa = PBXFileReference; lastKnownFileType = text; name = "postscript-driver.header"; path = "../filter/postscript-driver.header"; sourceTree = ""; }; + 72E65BCE18DC7A9800097E89 /* postscript-driver.shtml */ = {isa = PBXFileReference; lastKnownFileType = text.html.other; name = "postscript-driver.shtml"; path = "../filter/postscript-driver.shtml"; sourceTree = ""; }; + 72E65BCF18DC7A9800097E89 /* ppd-compiler.header */ = {isa = PBXFileReference; lastKnownFileType = text; name = "ppd-compiler.header"; path = "../filter/ppd-compiler.header"; sourceTree = ""; }; + 72E65BD018DC7A9800097E89 /* ppd-compiler.shtml */ = {isa = PBXFileReference; lastKnownFileType = text.html.other; name = "ppd-compiler.shtml"; path = "../filter/ppd-compiler.shtml"; sourceTree = ""; }; + 72E65BD118DC7A9800097E89 /* raster-driver.header */ = {isa = PBXFileReference; lastKnownFileType = text; name = "raster-driver.header"; path = "../filter/raster-driver.header"; sourceTree = ""; }; + 72E65BD218DC7A9800097E89 /* raster-driver.shtml */ = {isa = PBXFileReference; lastKnownFileType = text.html.other; name = "raster-driver.shtml"; path = "../filter/raster-driver.shtml"; sourceTree = ""; }; + 72E65BD318DC7A9800097E89 /* spec-ppd.header */ = {isa = PBXFileReference; lastKnownFileType = text; name = "spec-ppd.header"; path = "../filter/spec-ppd.header"; sourceTree = ""; }; + 72E65BD418DC7A9800097E89 /* spec-ppd.shtml */ = {isa = PBXFileReference; lastKnownFileType = text.html.other; name = "spec-ppd.shtml"; path = "../filter/spec-ppd.shtml"; sourceTree = ""; }; + 72E65BD518DC818400097E89 /* org.cups.cups-lpd.plist.in */ = {isa = PBXFileReference; lastKnownFileType = text.xml; name = "org.cups.cups-lpd.plist.in"; path = "../scheduler/org.cups.cups-lpd.plist.in"; sourceTree = SOURCE_ROOT; }; + 72E65BD618DC818400097E89 /* org.cups.cupsd.path.in */ = {isa = PBXFileReference; lastKnownFileType = text; name = org.cups.cupsd.path.in; path = ../scheduler/org.cups.cupsd.path.in; sourceTree = SOURCE_ROOT; }; + 72E65BD718DC818400097E89 /* org.cups.cupsd.service.in */ = {isa = PBXFileReference; lastKnownFileType = text; name = org.cups.cupsd.service.in; path = ../scheduler/org.cups.cupsd.service.in; sourceTree = SOURCE_ROOT; }; + 72E65BD818DC818400097E89 /* org.cups.cupsd.socket.in */ = {isa = PBXFileReference; lastKnownFileType = text; name = org.cups.cupsd.socket.in; path = ../scheduler/org.cups.cupsd.socket.in; sourceTree = SOURCE_ROOT; }; + 72E65BD918DC850A00097E89 /* Makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; name = Makefile; path = ../Makefile; sourceTree = ""; }; + 72E65BDC18DC852700097E89 /* Makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; name = Makefile; path = ../scheduler/Makefile; sourceTree = SOURCE_ROOT; }; + 72E65BDE18DCA35700097E89 /* CHANGES.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = CHANGES.md; path = ../CHANGES.md; sourceTree = ""; xcLanguageSpecificationIdentifier = ""; }; + 72E65BDF18DCA35700097E89 /* CREDITS.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = CREDITS.md; path = ../CREDITS.md; sourceTree = ""; }; + 72E65BE018DCA35700097E89 /* INSTALL.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = INSTALL.md; path = ../INSTALL.md; sourceTree = ""; }; + 72E65BE218DCA35700097E89 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; + 72E65BE318DCA35700097E89 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; + 72F75A521336F950004BB496 /* cupstestppd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = cupstestppd; sourceTree = BUILT_PRODUCTS_DIR; }; + 72F75A5B1336F988004BB496 /* cupstestppd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = cupstestppd.c; path = ../systemv/cupstestppd.c; sourceTree = ""; }; + 72F75A611336F9A3004BB496 /* libcupsimage.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcupsimage.dylib; sourceTree = BUILT_PRODUCTS_DIR; }; + 72F75A691336FA8A004BB496 /* raster-error.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "raster-error.c"; path = "../cups/raster-error.c"; sourceTree = ""; }; + 72F75A6A1336FA8A004BB496 /* raster-interpret.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "raster-interpret.c"; path = "../cups/raster-interpret.c"; sourceTree = ""; }; + 72F75A6B1336FA8A004BB496 /* raster-stream.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "raster-stream.c"; path = "../cups/raster-stream.c"; sourceTree = ""; }; + 72F7F1D719D1C0CC00870B09 /* org.cups.usb-quirks */ = {isa = PBXFileReference; lastKnownFileType = text; name = "org.cups.usb-quirks"; path = "../backend/org.cups.usb-quirks"; sourceTree = ""; }; + 72FC29CF1A37A1CA00BDF935 /* usb-libusb.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = "usb-libusb.c"; path = "../backend/usb-libusb.c"; sourceTree = ""; }; + 72FC29D01A37A1CA00BDF935 /* usb-unix.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = "usb-unix.c"; path = "../backend/usb-unix.c"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 270696331CADF3E200FFE5FB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 270696341CADF3E200FFE5FB /* SystemConfiguration.framework in Frameworks */, + 270696351CADF3E200FFE5FB /* CoreFoundation.framework in Frameworks */, + 270696381CADF3E200FFE5FB /* libiconv.dylib in Frameworks */, + 270696391CADF3E200FFE5FB /* libresolv.dylib in Frameworks */, + 2706963A1CADF3E200FFE5FB /* libz.dylib in Frameworks */, + 2706963B1CADF3E200FFE5FB /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 270CCDA4135E3C9E00007BE2 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271284DC1CC1254C00E517C7 /* libcupsmime_static.a in Frameworks */, + 2767FC57192674C4000F61D3 /* libcups_static.a in Frameworks */, + 278C58E9136B64B000836530 /* CoreFoundation.framework in Frameworks */, + 278C58EA136B64B000836530 /* Kerberos.framework in Frameworks */, + 278C58EB136B64B000836530 /* Security.framework in Frameworks */, + 278C58EC136B64B000836530 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 270D02181D707E0200EA9403 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 270D02191D707E0200EA9403 /* libcups_static.a in Frameworks */, + 270D021A1D707E0200EA9403 /* CoreFoundation.framework in Frameworks */, + 270D021B1D707E0200EA9403 /* Kerberos.framework in Frameworks */, + 270D021C1D707E0200EA9403 /* libiconv.dylib in Frameworks */, + 270D021D1D707E0200EA9403 /* libresolv.dylib in Frameworks */, + 270D021E1D707E0200EA9403 /* libz.dylib in Frameworks */, + 270D021F1D707E0200EA9403 /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271284E61CC1261900E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271284E71CC1261900E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271284F31CC1264B00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271284F41CC1264B00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712850D1CC1267A00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712850E1CC1267A00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712851A1CC1269700E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712851B1CC1269700E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285271CC126AA00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285281CC126AA00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285341CC1270B00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285351CC1270B00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285411CC1271E00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285421CC1271E00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712854E1CC1272D00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712854F1CC1272D00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712855B1CC1274300E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712855C1CC1274300E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285681CC1275200E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285691CC1275200E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285751CC1276400E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285761CC1276400E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712859A1CC12D1300E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285A21CC12D2900E517C7 /* libcupscgi.dylib in Frameworks */, + 2712859B1CC12D1300E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285A81CC12D3A00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285A91CC12D3A00E517C7 /* libcupscgi.dylib in Frameworks */, + 271285AA1CC12D3A00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285B61CC12D4E00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285B71CC12D4E00E517C7 /* libcupscgi.dylib in Frameworks */, + 271285B81CC12D4E00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285C41CC12D5E00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285C51CC12D5E00E517C7 /* libcupscgi.dylib in Frameworks */, + 271285C61CC12D5E00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285D21CC12DBF00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285D31CC12DBF00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285DF1CC12DDF00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285E01CC12DDF00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285EC1CC12E2D00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285ED1CC12E2D00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285FA1CC12EEB00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286041CC12F0800E517C7 /* libcupsimage.dylib in Frameworks */, + 271285FB1CC12EEB00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712860C1CC12F0B00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712860D1CC12F0B00E517C7 /* libcupsimage.dylib in Frameworks */, + 2712860E1CC12F0B00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712861C1CC12F1A00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712861D1CC12F1A00E517C7 /* libcupsimage.dylib in Frameworks */, + 2712861E1CC12F1A00E517C7 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712865C1CC1309000E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712865D1CC1309000E517C7 /* libcups_static.a in Frameworks */, + 2712865E1CC1309000E517C7 /* CoreFoundation.framework in Frameworks */, + 2712865F1CC1309000E517C7 /* libresolv.dylib in Frameworks */, + 271286601CC1309000E517C7 /* libz.dylib in Frameworks */, + 271286611CC1309000E517C7 /* Security.framework in Frameworks */, + 271286621CC1309000E517C7 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271286721CC1310E00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286731CC1310E00E517C7 /* libcupsimage_static.a in Frameworks */, + 271286741CC1310E00E517C7 /* libcups_static.a in Frameworks */, + 271286751CC1310E00E517C7 /* CoreFoundation.framework in Frameworks */, + 271286761CC1310E00E517C7 /* Kerberos.framework in Frameworks */, + 271286771CC1310E00E517C7 /* Security.framework in Frameworks */, + 271286781CC1310E00E517C7 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712868C1CC13DC000E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712868D1CC13DC000E517C7 /* libcups_static.a in Frameworks */, + 2712868E1CC13DC000E517C7 /* CoreFoundation.framework in Frameworks */, + 2712868F1CC13DC000E517C7 /* Kerberos.framework in Frameworks */, + 271286901CC13DC000E517C7 /* Security.framework in Frameworks */, + 271286911CC13DC000E517C7 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712869D1CC13DF100E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712869E1CC13DF100E517C7 /* libcups_static.a in Frameworks */, + 2712869F1CC13DF100E517C7 /* CoreFoundation.framework in Frameworks */, + 271286A01CC13DF100E517C7 /* Kerberos.framework in Frameworks */, + 271286A11CC13DF100E517C7 /* Security.framework in Frameworks */, + 271286A21CC13DF100E517C7 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271286AE1CC13DFF00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286AF1CC13DFF00E517C7 /* libcups_static.a in Frameworks */, + 271286B01CC13DFF00E517C7 /* CoreFoundation.framework in Frameworks */, + 271286B11CC13DFF00E517C7 /* Kerberos.framework in Frameworks */, + 271286B21CC13DFF00E517C7 /* Security.framework in Frameworks */, + 271286B31CC13DFF00E517C7 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271286C01CC13E2100E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286C11CC13E2100E517C7 /* libcups.dylib in Frameworks */, + 271286C21CC13E2100E517C7 /* CoreFoundation.framework in Frameworks */, + 271286C31CC13E2100E517C7 /* IOKit.framework in Frameworks */, + 271286C41CC13E2100E517C7 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271286D01CC13E5B00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286D11CC13E5B00E517C7 /* libcups.dylib in Frameworks */, + 271286D21CC13E5B00E517C7 /* CoreFoundation.framework in Frameworks */, + 271286D31CC13E5B00E517C7 /* IOKit.framework in Frameworks */, + 271286D41CC13E5B00E517C7 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271286EA1CC13F2000E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286EB1CC13F2000E517C7 /* libcups.dylib in Frameworks */, + 271286EC1CC13F2000E517C7 /* CoreFoundation.framework in Frameworks */, + 271286ED1CC13F2000E517C7 /* IOKit.framework in Frameworks */, + 271286EE1CC13F2000E517C7 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271286FA1CC13F3F00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286FB1CC13F3F00E517C7 /* libcups.dylib in Frameworks */, + 271286FC1CC13F3F00E517C7 /* CoreFoundation.framework in Frameworks */, + 271286FD1CC13F3F00E517C7 /* IOKit.framework in Frameworks */, + 271286FE1CC13F3F00E517C7 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712870E1CC13FAB00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712870F1CC13FAB00E517C7 /* libcups_static.a in Frameworks */, + 271287101CC13FAB00E517C7 /* CoreFoundation.framework in Frameworks */, + 271287111CC13FAB00E517C7 /* Kerberos.framework in Frameworks */, + 271287121CC13FAB00E517C7 /* Security.framework in Frameworks */, + 271287131CC13FAB00E517C7 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271287251CC140BE00E517C7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271287341CC140F500E517C7 /* CoreFoundation.framework in Frameworks */, + 271287321CC140EB00E517C7 /* libcups_static.a in Frameworks */, + 271287331CC140EB00E517C7 /* libcupsppdc_static.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 273B1E9F226B3E4800428143 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 273B1EC7226B41F700428143 /* libcups.dylib in Frameworks */, + 273B1EA1226B3E4800428143 /* CoreFoundation.framework in Frameworks */, + 273B1EA2226B3E4800428143 /* libresolv.dylib in Frameworks */, + 273B1EA3226B3E4800428143 /* libz.dylib in Frameworks */, + 273B1EA4226B3E4800428143 /* Security.framework in Frameworks */, + 273B1EA5226B3E4800428143 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 273B1EB0226B3E5200428143 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 273B1ECD226B421E00428143 /* libcups.dylib in Frameworks */, + 273B1EB2226B3E5200428143 /* CoreFoundation.framework in Frameworks */, + 273B1EB3226B3E5200428143 /* libresolv.dylib in Frameworks */, + 273B1EB4226B3E5200428143 /* libz.dylib in Frameworks */, + 273B1EB5226B3E5200428143 /* Security.framework in Frameworks */, + 273B1EB6226B3E5200428143 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 273BF6BA1333B5000022CAAB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2767FC5F1926750C000F61D3 /* CoreFoundation.framework in Frameworks */, + 2767FC601926750C000F61D3 /* libiconv.dylib in Frameworks */, + 2767FC611926750C000F61D3 /* libresolv.dylib in Frameworks */, + 2767FC621926750C000F61D3 /* libz.dylib in Frameworks */, + 2767FC631926750C000F61D3 /* Security.framework in Frameworks */, + 2767FC641926750C000F61D3 /* SystemConfiguration.framework in Frameworks */, + 2767FC58192674E0000F61D3 /* libcups_static.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274770D62345342B0089BC31 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 274770D72345342B0089BC31 /* libcups_static.a in Frameworks */, + 274770D82345342B0089BC31 /* CoreFoundation.framework in Frameworks */, + 274770D92345342B0089BC31 /* Kerberos.framework in Frameworks */, + 274770DA2345342B0089BC31 /* Security.framework in Frameworks */, + 274770DB2345342B0089BC31 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF5C913332B1F00317ECB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 274FF5DD13332D0600317ECB /* libcups.dylib in Frameworks */, + 274FF6241333323B00317ECB /* libcupsppdc.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF5EB133330C800317ECB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7200511218F492F200E7B81B /* CoreFoundation.framework in Frameworks */, + 274FF6231333321400317ECB /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF6261333333600317ECB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 274FF6321333334A00317ECB /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF63B1333358B00317ECB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 72CEF95618A966E000FA9B81 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF64C133339C400317ECB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 274FF658133339D300317ECB /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF67513333B2F00317ECB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 274FF68513333B4300317ECB /* libcups.dylib in Frameworks */, + 274FF68613333B4300317ECB /* libcupsmime.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF6B91333B1C400317ECB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 72BFD609191AF14C0005DA37 /* SystemConfiguration.framework in Frameworks */, + 72BFD602191AF1270005DA37 /* CoreFoundation.framework in Frameworks */, + 72BFD603191AF1270005DA37 /* GSS.framework in Frameworks */, + 72BFD604191AF1270005DA37 /* Kerberos.framework in Frameworks */, + 72BFD605191AF1270005DA37 /* libiconv.dylib in Frameworks */, + 72BFD606191AF1270005DA37 /* libresolv.dylib in Frameworks */, + 72BFD607191AF1270005DA37 /* libz.dylib in Frameworks */, + 72BFD608191AF1270005DA37 /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 276683591337A9B6000D33D0 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683671337A9E0000D33D0 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2766836D1337AC79000D33D0 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683B11337AD06000D33D0 /* libcups.dylib in Frameworks */, + 276683B21337AD06000D33D0 /* libcupsppdc.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2766837A1337AC8C000D33D0 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683B71337AD23000D33D0 /* libcups.dylib in Frameworks */, + 276683B81337AD23000D33D0 /* libcupsppdc.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 276683871337AC97000D33D0 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683B91337AD31000D33D0 /* libcups.dylib in Frameworks */, + 276683BA1337AD31000D33D0 /* libcupsppdc.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 276683941337ACA2000D33D0 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683C31337B1B3000D33D0 /* libcups.dylib in Frameworks */, + 276683C41337B1B3000D33D0 /* libcupsppdc.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 276683A11337ACAB000D33D0 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683C91337B1C1000D33D0 /* libcups.dylib in Frameworks */, + 276683CA1337B1C1000D33D0 /* libcupsppdc.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 276683ED1337F78E000D33D0 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683FD1337F7B8000D33D0 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2767FC4B19266A0D000F61D3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2767FC6B192685E6000F61D3 /* libcups_static.a in Frameworks */, + 2767FC6C192685E6000F61D3 /* CoreFoundation.framework in Frameworks */, + 2767FC6D192685E6000F61D3 /* libiconv.dylib in Frameworks */, + 2767FC6E192685E6000F61D3 /* libresolv.dylib in Frameworks */, + 2767FC6F192685E6000F61D3 /* libz.dylib in Frameworks */, + 2767FC70192685E6000F61D3 /* Security.framework in Frameworks */, + 2767FC71192685E6000F61D3 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 278C58C8136B640300836530 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 72BFD5FB191AF0A30005DA37 /* libcups_static.a in Frameworks */, + 72BFD5FC191AF0A30005DA37 /* CoreFoundation.framework in Frameworks */, + 72BFD5FD191AF0A30005DA37 /* Kerberos.framework in Frameworks */, + 72BFD5FE191AF0A30005DA37 /* libiconv.dylib in Frameworks */, + 72BFD5FF191AF0A30005DA37 /* libresolv.dylib in Frameworks */, + 72BFD600191AF0A30005DA37 /* libz.dylib in Frameworks */, + 72BFD601191AF0A30005DA37 /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 27A034781A8BDB1200650675 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 27A034851A8BDC5C00650675 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 720DD6BF1358FD5F0064AA82 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 720DD6CD1358FD720064AA82 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72220EAB1333047D00FCA411 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 728FB7F11536167A005426E1 /* libiconv.dylib in Frameworks */, + 728FB7F21536167A005426E1 /* libresolv.dylib in Frameworks */, + 728FB7ED1536161C005426E1 /* libz.dylib in Frameworks */, + 728FB7E91536161C005426E1 /* CoreFoundation.framework in Frameworks */, + 72D53A2A15B49110003F877F /* GSS.framework in Frameworks */, + 728FB7EA1536161C005426E1 /* Kerberos.framework in Frameworks */, + 728FB7EB1536161C005426E1 /* Security.framework in Frameworks */, + 728FB7EE15361642005426E1 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72220F5813330A5A00FCA411 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 72D53A3A15B492FA003F877F /* libpam.dylib in Frameworks */, + 72220F6613330A7000FCA411 /* libcups.dylib in Frameworks */, + 72220FBF13330C1000FCA411 /* libcupsmime.dylib in Frameworks */, + 72D53A3415B4925B003F877F /* ApplicationServices.framework in Frameworks */, + 72D53A3015B4923F003F877F /* CoreFoundation.framework in Frameworks */, + 72D53A3B15B4930A003F877F /* GSS.framework in Frameworks */, + 72D53A3515B49270003F877F /* IOKit.framework in Frameworks */, + 72D53A3C15B4930A003F877F /* Kerberos.framework in Frameworks */, + 72D53A3115B4923F003F877F /* Security.framework in Frameworks */, + 72D53A3215B4923F003F877F /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72220FA913330B2200FCA411 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 72220FBA13330BEE00FCA411 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724378FA1333E43E009631B9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724379081333E4A5009631B9 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724379151333E532009631B9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724379271333E93D009631B9 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7243792D1333FB85009631B9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7243793B1333FB9D009631B9 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724379441333FEA9009631B9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724379561333FF04009631B9 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724379581333FF1D009631B9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724379661333FF3B009631B9 /* libcups.dylib in Frameworks */, + 72D53A2F15B49174003F877F /* CoreFoundation.framework in Frameworks */, + 72D53A2D15B4913D003F877F /* IOKit.framework in Frameworks */, + 72D53A2E15B4915B003F877F /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5291CC0370C0092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA52A1CC0370C0092477B /* CoreFoundation.framework in Frameworks */, + 724FA52B1CC0370C0092477B /* libiconv.dylib in Frameworks */, + 724FA52C1CC0370C0092477B /* libresolv.dylib in Frameworks */, + 724FA52D1CC0370C0092477B /* libz.dylib in Frameworks */, + 724FA52E1CC0370C0092477B /* Security.framework in Frameworks */, + 724FA52F1CC0370C0092477B /* SystemConfiguration.framework in Frameworks */, + 724FA5301CC0370C0092477B /* libcups_static.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA53C1CC037370092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA53D1CC037370092477B /* CoreFoundation.framework in Frameworks */, + 724FA53E1CC037370092477B /* libiconv.dylib in Frameworks */, + 724FA53F1CC037370092477B /* libresolv.dylib in Frameworks */, + 724FA5401CC037370092477B /* libz.dylib in Frameworks */, + 724FA5411CC037370092477B /* Security.framework in Frameworks */, + 724FA5421CC037370092477B /* SystemConfiguration.framework in Frameworks */, + 724FA5431CC037370092477B /* libcups_static.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA54F1CC037500092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5501CC037500092477B /* CoreFoundation.framework in Frameworks */, + 724FA5511CC037500092477B /* libiconv.dylib in Frameworks */, + 724FA5521CC037500092477B /* libresolv.dylib in Frameworks */, + 724FA5531CC037500092477B /* libz.dylib in Frameworks */, + 724FA5541CC037500092477B /* Security.framework in Frameworks */, + 724FA5551CC037500092477B /* SystemConfiguration.framework in Frameworks */, + 724FA5561CC037500092477B /* libcups_static.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5621CC037670092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5631CC037670092477B /* CoreFoundation.framework in Frameworks */, + 724FA5641CC037670092477B /* libiconv.dylib in Frameworks */, + 724FA5651CC037670092477B /* libresolv.dylib in Frameworks */, + 724FA5661CC037670092477B /* libz.dylib in Frameworks */, + 724FA5671CC037670092477B /* Security.framework in Frameworks */, + 724FA5681CC037670092477B /* SystemConfiguration.framework in Frameworks */, + 724FA5691CC037670092477B /* libcups_static.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5751CC037810092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5761CC037810092477B /* libcups_static.a in Frameworks */, + 724FA5771CC037810092477B /* CoreFoundation.framework in Frameworks */, + 724FA5781CC037810092477B /* libiconv.dylib in Frameworks */, + 724FA5791CC037810092477B /* libresolv.dylib in Frameworks */, + 724FA57A1CC037810092477B /* libz.dylib in Frameworks */, + 724FA57B1CC037810092477B /* Security.framework in Frameworks */, + 724FA57C1CC037810092477B /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5881CC037980092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5891CC037980092477B /* libcups_static.a in Frameworks */, + 724FA58A1CC037980092477B /* CoreFoundation.framework in Frameworks */, + 724FA58B1CC037980092477B /* Kerberos.framework in Frameworks */, + 724FA58C1CC037980092477B /* libiconv.dylib in Frameworks */, + 724FA58D1CC037980092477B /* libresolv.dylib in Frameworks */, + 724FA58E1CC037980092477B /* libz.dylib in Frameworks */, + 724FA58F1CC037980092477B /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA59B1CC037AA0092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA59C1CC037AA0092477B /* libcups_static.a in Frameworks */, + 724FA59D1CC037AA0092477B /* CoreFoundation.framework in Frameworks */, + 724FA59E1CC037AA0092477B /* Kerberos.framework in Frameworks */, + 724FA59F1CC037AA0092477B /* libiconv.dylib in Frameworks */, + 724FA5A01CC037AA0092477B /* libresolv.dylib in Frameworks */, + 724FA5A11CC037AA0092477B /* libz.dylib in Frameworks */, + 724FA5A21CC037AA0092477B /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5AE1CC037C60092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5AF1CC037C60092477B /* libcups_static.a in Frameworks */, + 724FA5B01CC037C60092477B /* CoreFoundation.framework in Frameworks */, + 724FA5B11CC037C60092477B /* Kerberos.framework in Frameworks */, + 724FA5B21CC037C60092477B /* libiconv.dylib in Frameworks */, + 724FA5B31CC037C60092477B /* libresolv.dylib in Frameworks */, + 724FA5B41CC037C60092477B /* libz.dylib in Frameworks */, + 724FA5B51CC037C60092477B /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5C11CC037D90092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5C21CC037D90092477B /* libcups_static.a in Frameworks */, + 724FA5C31CC037D90092477B /* CoreFoundation.framework in Frameworks */, + 724FA5C41CC037D90092477B /* Kerberos.framework in Frameworks */, + 724FA5C51CC037D90092477B /* libiconv.dylib in Frameworks */, + 724FA5C61CC037D90092477B /* libresolv.dylib in Frameworks */, + 724FA5C71CC037D90092477B /* libz.dylib in Frameworks */, + 724FA5C81CC037D90092477B /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5D61CC037F00092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5D71CC037F00092477B /* libcups_static.a in Frameworks */, + 724FA5D81CC037F00092477B /* CoreFoundation.framework in Frameworks */, + 724FA5D91CC037F00092477B /* Kerberos.framework in Frameworks */, + 724FA5DA1CC037F00092477B /* Security.framework in Frameworks */, + 724FA5DB1CC037F00092477B /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5EA1CC038040092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5EB1CC038040092477B /* libcups_static.a in Frameworks */, + 724FA5EC1CC038040092477B /* CoreFoundation.framework in Frameworks */, + 724FA5ED1CC038040092477B /* Kerberos.framework in Frameworks */, + 724FA5EE1CC038040092477B /* Security.framework in Frameworks */, + 724FA5EF1CC038040092477B /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5FE1CC038190092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5FF1CC038190092477B /* libcups_static.a in Frameworks */, + 724FA6001CC038190092477B /* CoreFoundation.framework in Frameworks */, + 724FA6011CC038190092477B /* Kerberos.framework in Frameworks */, + 724FA6021CC038190092477B /* Security.framework in Frameworks */, + 724FA6031CC038190092477B /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6121CC0382B0092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271284DA1CC1251400E517C7 /* libcupsimage_static.a in Frameworks */, + 724FA6131CC0382B0092477B /* libcups_static.a in Frameworks */, + 724FA6141CC0382B0092477B /* CoreFoundation.framework in Frameworks */, + 724FA6151CC0382B0092477B /* Kerberos.framework in Frameworks */, + 724FA6161CC0382B0092477B /* Security.framework in Frameworks */, + 724FA6171CC0382B0092477B /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6261CC038410092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA6271CC038410092477B /* libcups_static.a in Frameworks */, + 724FA6281CC038410092477B /* CoreFoundation.framework in Frameworks */, + 724FA6291CC038410092477B /* Kerberos.framework in Frameworks */, + 724FA62A1CC038410092477B /* Security.framework in Frameworks */, + 724FA62B1CC038410092477B /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA63A1CC038560092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA63B1CC038560092477B /* libcups_static.a in Frameworks */, + 724FA63C1CC038560092477B /* CoreFoundation.framework in Frameworks */, + 724FA63D1CC038560092477B /* Kerberos.framework in Frameworks */, + 724FA63E1CC038560092477B /* Security.framework in Frameworks */, + 724FA63F1CC038560092477B /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA64E1CC0386E0092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA64F1CC0386E0092477B /* libcups_static.a in Frameworks */, + 724FA6501CC0386E0092477B /* CoreFoundation.framework in Frameworks */, + 724FA6511CC0386E0092477B /* Kerberos.framework in Frameworks */, + 724FA6521CC0386E0092477B /* Security.framework in Frameworks */, + 724FA6531CC0386E0092477B /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6651CC038A50092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA6661CC038A50092477B /* libcups_static.a in Frameworks */, + 724FA6671CC038A50092477B /* CoreFoundation.framework in Frameworks */, + 724FA6681CC038A50092477B /* Kerberos.framework in Frameworks */, + 724FA6691CC038A50092477B /* Security.framework in Frameworks */, + 724FA66A1CC038A50092477B /* SystemConfiguration.framework in Frameworks */, + 724FA66B1CC038A50092477B /* libcupsmime.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6771CC038BD0092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA6781CC038BD0092477B /* CoreFoundation.framework in Frameworks */, + 724FA6791CC038BD0092477B /* libiconv.dylib in Frameworks */, + 724FA67A1CC038BD0092477B /* libresolv.dylib in Frameworks */, + 724FA67B1CC038BD0092477B /* libz.dylib in Frameworks */, + 724FA67C1CC038BD0092477B /* Security.framework in Frameworks */, + 724FA67D1CC038BD0092477B /* SystemConfiguration.framework in Frameworks */, + 724FA67E1CC038BD0092477B /* libcups_static.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA68C1CC038D90092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA68D1CC038D90092477B /* libcups_static.a in Frameworks */, + 724FA68E1CC038D90092477B /* CoreFoundation.framework in Frameworks */, + 724FA68F1CC038D90092477B /* Kerberos.framework in Frameworks */, + 724FA6901CC038D90092477B /* Security.framework in Frameworks */, + 724FA6911CC038D90092477B /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA69E1CC039200092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271284D71CC124D700E517C7 /* libcupscgi_static.a in Frameworks */, + 724FA69F1CC039200092477B /* CoreFoundation.framework in Frameworks */, + 724FA6A01CC039200092477B /* libiconv.dylib in Frameworks */, + 724FA6A11CC039200092477B /* libresolv.dylib in Frameworks */, + 724FA6A21CC039200092477B /* libz.dylib in Frameworks */, + 724FA6A31CC039200092477B /* Security.framework in Frameworks */, + 724FA6A41CC039200092477B /* SystemConfiguration.framework in Frameworks */, + 724FA6A51CC039200092477B /* libcups_static.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6B11CC0393E0092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271284D81CC124E300E517C7 /* libcupscgi_static.a in Frameworks */, + 724FA6B21CC0393E0092477B /* libcups_static.a in Frameworks */, + 724FA6B31CC0393E0092477B /* CoreFoundation.framework in Frameworks */, + 724FA6B41CC0393E0092477B /* Kerberos.framework in Frameworks */, + 724FA6B51CC0393E0092477B /* libiconv.dylib in Frameworks */, + 724FA6B61CC0393E0092477B /* libresolv.dylib in Frameworks */, + 724FA6B71CC0393E0092477B /* libz.dylib in Frameworks */, + 724FA6B81CC0393E0092477B /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6C61CC0395A0092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271284DB1CC1251F00E517C7 /* libcupscgi_static.a in Frameworks */, + 724FA6C71CC0395A0092477B /* libcups_static.a in Frameworks */, + 724FA6C81CC0395A0092477B /* CoreFoundation.framework in Frameworks */, + 724FA6C91CC0395A0092477B /* Kerberos.framework in Frameworks */, + 724FA6CA1CC0395A0092477B /* Security.framework in Frameworks */, + 724FA6CB1CC0395A0092477B /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6DF1CC039DE0092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA6E01CC039DE0092477B /* libcups_static.a in Frameworks */, + 724FA6E11CC039DE0092477B /* CoreFoundation.framework in Frameworks */, + 724FA6E21CC039DE0092477B /* Kerberos.framework in Frameworks */, + 724FA6E31CC039DE0092477B /* Security.framework in Frameworks */, + 724FA6E41CC039DE0092477B /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6F41CC03A210092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 271284D91CC124F000E517C7 /* libcupsppdc_static.a in Frameworks */, + 724FA6F51CC03A210092477B /* libcups_static.a in Frameworks */, + 724FA6F61CC03A210092477B /* CoreFoundation.framework in Frameworks */, + 724FA6F71CC03A210092477B /* Kerberos.framework in Frameworks */, + 724FA6F81CC03A210092477B /* Security.framework in Frameworks */, + 724FA6F91CC03A210092477B /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA7081CC03A490092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA7171CC03A990092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA7371CC03AAF0092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA7481CC03ACC0092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA7491CC03ACC0092477B /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA7641CC03AF60092477B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7258EADF134594C4009286F1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7258EAF413459B6D009286F1 /* libcups.dylib in Frameworks */, + 7258EAF513459B6D009286F1 /* libcupsimage.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 726AD6F4135E88F0002C930D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 279AE6F52395B80F004DD600 /* libpam.tbd in Frameworks */, + 273B1ECA226B420C00428143 /* libcups.dylib in Frameworks */, + 2767FC6619267538000F61D3 /* CoreFoundation.framework in Frameworks */, + 2767FC6719267538000F61D3 /* libresolv.dylib in Frameworks */, + 2767FC6819267538000F61D3 /* libz.dylib in Frameworks */, + 2767FC6919267538000F61D3 /* Security.framework in Frameworks */, + 2767FC6A19267538000F61D3 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 729181B3201155C1005E7560 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 729181B4201155C1005E7560 /* libcupsimage_static.a in Frameworks */, + 729181B5201155C1005E7560 /* libcups_static.a in Frameworks */, + 729181B6201155C1005E7560 /* CoreFoundation.framework in Frameworks */, + 729181B7201155C1005E7560 /* Kerberos.framework in Frameworks */, + 729181B8201155C1005E7560 /* Security.framework in Frameworks */, + 729181B9201155C1005E7560 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72CF95EB18A19134000FCAE4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 72CF95EC18A19134000FCAE4 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72F75A4F1336F950004BB496 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683E51337B2BE000D33D0 /* libcupsimage.dylib in Frameworks */, + 276683E21337B29C000D33D0 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72F75A5E1336F9A3004BB496 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 72F75A671336FA38004BB496 /* libcups.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 2712867F1CC1394100E517C7 /* monitors */ = { + isa = PBXGroup; + children = ( + 271286801CC1396100E517C7 /* bcp.c */, + 271286811CC1396100E517C7 /* tbcp.c */, + ); + name = monitors; + sourceTree = ""; + }; + 271286821CC13D7600E517C7 /* tools */ = { + isa = PBXGroup; + children = ( + 2712871D1CC140B400E517C7 /* genstrings.cxx */, + 271286831CC13D9600E517C7 /* checkpo.c */, + 271286841CC13D9600E517C7 /* cups.pot */, + 271287191CC13FDB00E517C7 /* mantohtml.c */, + 271286851CC13D9600E517C7 /* po2strings.c */, + 271286861CC13D9600E517C7 /* strings2po.c */, + ); + name = tools; + sourceTree = ""; + }; + 273BF6B81333B4A90022CAAB /* tests */ = { + isa = PBXGroup; + children = ( + 2712866A1CC130FF00E517C7 /* rasterbench.c */, + 724FA65B1CC0389F0092477B /* test1284.c */, + 727EF041192E3544001EF690 /* testadmin.c */, + 727EF042192E3544001EF690 /* testarray.c */, + 724FA65C1CC0389F0092477B /* testbackend.c */, + 727EF043192E3544001EF690 /* testcache.c */, + 724FA6EC1CC03A1D0092477B /* testcatalog.cxx */, + 727EF03D192E3498001EF690 /* testcgi.c */, + 729181AB20115597005E7560 /* testclient.c */, + 727EF044192E3544001EF690 /* testconflicts.c */, + 270D02251D707E3700EA9403 /* testcreds.c */, + 273BF6C61333B5370022CAAB /* testcups.c */, + 2767FC5119266A36000F61D3 /* testdest.c */, + 727EF045192E3544001EF690 /* testfile.c */, + 727EF03E192E3498001EF690 /* testhi.c */, + 278C58E2136B647200836530 /* testhttp.c */, + 727EF046192E3544001EF690 /* testi18n.c */, + 727EF047192E3544001EF690 /* testipp.c */, + 727EF048192E3544001EF690 /* testlang.c */, + 727EF04D192E3602001EF690 /* testlpd.c */, + 270CCDBB135E3D3E00007BE2 /* testmime.c */, + 724FA6D71CC039D00092477B /* testnotify.c */, + 727EF049192E3544001EF690 /* testoptions.c */, + 727EF04A192E3544001EF690 /* testppd.c */, + 727EF04B192E3544001EF690 /* testpwg.c */, + 27F89DA21B3AC43B00E5A4B7 /* testraster.c */, + 727EF04C192E3544001EF690 /* testsnmp.c */, + 727EF04E192E3602001EF690 /* testspeed.c */, + 727EF04F192E3602001EF690 /* testsub.c */, + 724FA65D1CC0389F0092477B /* testsupplies.c */, + 727EF03F192E3498001EF690 /* testtemplate.c */, + 274770E1234534660089BC31 /* testthreads.c */, + 271286681CC130BD00E517C7 /* tlscheck.c */, + ); + name = tests; + sourceTree = ""; + wrapsLines = 1; + }; + 274FF5D513332C2C00317ECB /* daemon */ = { + isa = PBXGroup; + children = ( + 274FF6351333344400317ECB /* cups-deviced.c */, + 274FF5D613332CC700317ECB /* cups-driverd.cxx */, + 274FF6491333398D00317ECB /* cups-exec.c */, + 274FF65B133339FC00317ECB /* cups-lpd.c */, + 274FF5D713332CC700317ECB /* util.c */, + 274FF5D813332CC700317ECB /* util.h */, + ); + name = daemon; + sourceTree = ""; + wrapsLines = 1; + }; + 274FF5F41333310400317ECB /* libcupsppdc */ = { + isa = PBXGroup; + children = ( + 274FF6091333315100317ECB /* ppdc.h */, + 274FF5F51333315100317ECB /* ppdc-array.cxx */, + 274FF5F61333315100317ECB /* ppdc-attr.cxx */, + 274FF5F71333315100317ECB /* ppdc-catalog.cxx */, + 274FF5F81333315100317ECB /* ppdc-choice.cxx */, + 274FF5F91333315100317ECB /* ppdc-constraint.cxx */, + 274FF5FA1333315100317ECB /* ppdc-driver.cxx */, + 274FF5FB1333315100317ECB /* ppdc-file.cxx */, + 274FF5FC1333315100317ECB /* ppdc-filter.cxx */, + 274FF5FD1333315100317ECB /* ppdc-font.cxx */, + 274FF5FE1333315100317ECB /* ppdc-group.cxx */, + 274FF5FF1333315100317ECB /* ppdc-import.cxx */, + 274FF6001333315100317ECB /* ppdc-mediasize.cxx */, + 274FF6011333315100317ECB /* ppdc-message.cxx */, + 274FF6021333315100317ECB /* ppdc-option.cxx */, + 274FF6031333315100317ECB /* ppdc-private.h */, + 274FF6041333315100317ECB /* ppdc-profile.cxx */, + 274FF6051333315100317ECB /* ppdc-shared.cxx */, + 274FF6061333315100317ECB /* ppdc-source.cxx */, + 274FF6071333315100317ECB /* ppdc-string.cxx */, + 274FF6081333315100317ECB /* ppdc-variable.cxx */, + ); + name = libcupsppdc; + sourceTree = ""; + wrapsLines = 1; + }; + 274FF67313333B0A00317ECB /* commands */ = { + isa = PBXGroup; + children = ( + 2732E089137A3F5200FAFEF6 /* cancel.c */, + 2732E08A137A3F5200FAFEF6 /* cupsaccept.c */, + 276683681337AA00000D33D0 /* cupsctl.c */, + 274FF68713333B6E00317ECB /* cupsfilter.c */, + 72F75A5B1336F988004BB496 /* cupstestppd.c */, + 273B1EBD226B3EE300428143 /* ippevecommon.h */, + 273B1EBE226B3EE300428143 /* ippevepcl.c */, + 726AD701135E8A90002C930D /* ippeveprinter.c */, + 273B1EBC226B3EE300428143 /* ippeveps.c */, + 72CF95F218A19165000FCAE4 /* ippfind.c */, + 276683F91337F7A9000D33D0 /* ipptool.c */, + 2732E08C137A3F5200FAFEF6 /* lp.c */, + 2732E08D137A3F5200FAFEF6 /* lpadmin.c */, + 271284DD1CC125FC00E517C7 /* lpc.c */, + 2732E08E137A3F5200FAFEF6 /* lpinfo.c */, + 2732E08F137A3F5200FAFEF6 /* lpmove.c */, + 2732E090137A3F5200FAFEF6 /* lpoptions.c */, + 271284DE1CC125FC00E517C7 /* lpq.c */, + 271284DF1CC125FC00E517C7 /* lpr.c */, + 271284E01CC125FC00E517C7 /* lprm.c */, + 2732E092137A3F5200FAFEF6 /* lpstat.c */, + ); + name = commands; + sourceTree = ""; + wrapsLines = 1; + }; + 276683CB1337B1CC000D33D0 /* ppdc tools */ = { + isa = PBXGroup; + children = ( + 276683CC1337B201000D33D0 /* ppdc.cxx */, + 276683CE1337B20D000D33D0 /* ppdhtml.cxx */, + 276683D01337B21A000D33D0 /* ppdi.cxx */, + 276683D21337B228000D33D0 /* ppdmerge.cxx */, + 276683D41337B237000D33D0 /* ppdpo.cxx */, + ); + name = "ppdc tools"; + sourceTree = ""; + wrapsLines = 1; + }; + 72220EAF1333047D00FCA411 /* Products */ = { + isa = PBXGroup; + children = ( + 72220F5B13330A5A00FCA411 /* cupsd */, + 274FF5CC13332B1F00317ECB /* cups-driverd */, + 274FF6291333333600317ECB /* cups-deviced */, + 274FF63E1333358B00317ECB /* cups-exec */, + 274FF64F133339C400317ECB /* cups-lpd */, + 274FF67813333B2F00317ECB /* cupsfilter */, + 273BF6BD1333B5000022CAAB /* testcups */, + 724378FD1333E43E009631B9 /* ipp */, + 724379181333E532009631B9 /* lpd */, + 724379301333FB85009631B9 /* socket */, + 724379471333FEA9009631B9 /* dnssd */, + 7243795B1333FF1D009631B9 /* usb */, + 72F75A521336F950004BB496 /* cupstestppd */, + 2766835C1337A9B6000D33D0 /* cupsctl */, + 276683701337AC79000D33D0 /* ppdc */, + 2766837D1337AC8C000D33D0 /* ppdhtml */, + 2766838A1337AC97000D33D0 /* ppdi */, + 276683971337ACA2000D33D0 /* ppdmerge */, + 276683A41337ACAB000D33D0 /* ppdpo */, + 276683F01337F78E000D33D0 /* ipptool */, + 7258EAE2134594C4009286F1 /* rastertopwg */, + 720DD6C21358FD5F0064AA82 /* snmp */, + 270CCDA7135E3C9E00007BE2 /* testmime */, + 726AD6F7135E88F0002C930D /* ippeveprinter */, + 278C58CB136B640300836530 /* testhttp */, + 72A4332F155844CF002E172D /* libcups_static.a */, + 72CF95F118A19134000FCAE4 /* ipptool copy */, + 2767FC5019266A0D000F61D3 /* testdest */, + 27A0347B1A8BDB1300650675 /* lpadmin */, + 2706965A1CADF3E200FFE5FB /* libcups_ios.a */, + 724FA5351CC0370C0092477B /* testadmin */, + 724FA5481CC037370092477B /* testarray */, + 724FA55B1CC037500092477B /* testcache */, + 724FA56E1CC037670092477B /* testconflicts */, + 724FA5811CC037810092477B /* testfile */, + 724FA5941CC037980092477B /* testi18n */, + 724FA5A71CC037AA0092477B /* testipp */, + 724FA5BA1CC037C60092477B /* testlang */, + 724FA5CD1CC037D90092477B /* testlpd */, + 724FA5E11CC037F00092477B /* testoptions */, + 724FA5F51CC038040092477B /* testppd */, + 724FA6091CC038190092477B /* testpwg */, + 724FA61D1CC0382B0092477B /* testraster */, + 724FA6311CC038410092477B /* testsnmp */, + 724FA6451CC038560092477B /* testspeed */, + 724FA6591CC0386E0092477B /* testsub */, + 724FA6701CC038A50092477B /* test1284 */, + 724FA6831CC038BD0092477B /* testbackend */, + 724FA6971CC038D90092477B /* testsupplies */, + 724FA6AA1CC039200092477B /* testcgi */, + 724FA6BD1CC0393E0092477B /* testhi */, + 724FA6D11CC0395A0092477B /* testtemplate */, + 724FA6EA1CC039DE0092477B /* testnotify */, + 724FA6FF1CC03A210092477B /* testcatalog */, + 724FA70F1CC03A490092477B /* libcupsimage_static.a */, + 724FA71F1CC03A990092477B /* libcupsmime_static.a */, + 724FA7401CC03AAF0092477B /* libcupsppdc_static.a */, + 724FA74F1CC03ACC0092477B /* libcupscgi.dylib */, + 724FA76B1CC03AF60092477B /* libcupscgi_static.a */, + 271284EC1CC1261900E517C7 /* cancel */, + 271284F91CC1264B00E517C7 /* cupsaccept */, + 271285131CC1267A00E517C7 /* lp */, + 271285201CC1269700E517C7 /* lpc */, + 2712852D1CC126AA00E517C7 /* lpinfo */, + 2712853A1CC1270B00E517C7 /* lpmove */, + 271285471CC1271E00E517C7 /* lpoptions */, + 271285541CC1272D00E517C7 /* lpq */, + 271285611CC1274300E517C7 /* lpr */, + 2712856E1CC1275200E517C7 /* lprm */, + 2712857B1CC1276400E517C7 /* lpstat */, + 271285A01CC12D1300E517C7 /* admin.cgi */, + 271285AF1CC12D3A00E517C7 /* classes.cgi */, + 271285BD1CC12D4E00E517C7 /* jobs.cgi */, + 271285CB1CC12D5E00E517C7 /* printers.cgi */, + 271285D81CC12DBF00E517C7 /* commandtops */, + 271285E51CC12DDF00E517C7 /* gziptoany */, + 271285F21CC12E2E00E517C7 /* pstops */, + 271286001CC12EEB00E517C7 /* rastertoepson */, + 271286131CC12F0B00E517C7 /* rastertohp */, + 271286231CC12F1A00E517C7 /* rastertolabel */, + 271286671CC1309000E517C7 /* tlscheck */, + 2712867D1CC1310E00E517C7 /* rasterbench */, + 271286961CC13DC000E517C7 /* checkpo */, + 271286A71CC13DF100E517C7 /* po2strings */, + 271286B81CC13DFF00E517C7 /* strings2po */, + 271286C91CC13E2100E517C7 /* bcp */, + 271286D91CC13E5B00E517C7 /* tbcp */, + 271286F31CC13F2000E517C7 /* mailto */, + 271287031CC13F3F00E517C7 /* rss */, + 271287181CC13FAB00E517C7 /* mantohtml */, + 2712872C1CC140BE00E517C7 /* genstrings */, + 270D02241D707E0200EA9403 /* testcreds */, + 729181BE201155C1005E7560 /* testclient */, + 273B1EAA226B3E4800428143 /* ippevepcl */, + 273B1EBB226B3E5200428143 /* ippeveps */, + 274770E02345342B0089BC31 /* testthreads */, + ); + name = Products; + sourceTree = ""; + }; + 72220EB41333050100FCA411 /* libcups */ = { + isa = PBXGroup; + children = ( + 72220EB51333052D00FCA411 /* adminutil.c */, + 72220EB81333056300FCA411 /* array.c */, + 72220EBB1333056300FCA411 /* auth.c */, + 72220EBC1333056300FCA411 /* backchannel.c */, + 72220EBD1333056300FCA411 /* backend.c */, + 276683561337A8C5000D33D0 /* cups.strings */, + 722A24EE2178D00C000CAB20 /* debug-internal.h */, + 72220ED1133305BB00FCA411 /* debug.c */, + 72CF95E018A13543000FCAE4 /* dest-job.c */, + 72CF95E118A13543000FCAE4 /* dest-localization.c */, + 72CF95E218A13543000FCAE4 /* dest-options.c */, + 72220ED2133305BB00FCA411 /* dest.c */, + 72220ED3133305BB00FCA411 /* dir.c */, + 72220ED4133305BB00FCA411 /* dir.h */, + 72220ED6133305BB00FCA411 /* encode.c */, + 72220ED8133305BB00FCA411 /* file.c */, + 72220EDA133305BB00FCA411 /* getdevices.c */, + 72220EDB133305BB00FCA411 /* getifaddrs.c */, + 72220EDC133305BB00FCA411 /* getputfile.c */, + 72220EDD133305BB00FCA411 /* globals.c */, + 7284F9EF1BFCCD940026F886 /* hash.c */, + 72220EDE133305BB00FCA411 /* http-addr.c */, + 72220EDF133305BB00FCA411 /* http-addrlist.c */, + 72220EE1133305BB00FCA411 /* http-support.c */, + 72220EE2133305BB00FCA411 /* http.c */, + 720E854120164E7A00C6C411 /* ipp-file.c */, + 72220EE5133305BB00FCA411 /* ipp-support.c */, + 720E854220164E7A00C6C411 /* ipp-vars.c */, + 72220EE6133305BB00FCA411 /* ipp.c */, + 72220EE8133305BB00FCA411 /* langprintf.c */, + 72220EEA133305BB00FCA411 /* language.c */, + 27D3037D134148CB00F022B1 /* libcups2.def */, + 72220EEE133305BB00FCA411 /* md5-internal.h */, + 72220EEF133305BB00FCA411 /* md5.c */, + 72220EF0133305BB00FCA411 /* md5passwd.c */, + 72220EF1133305BB00FCA411 /* notify.c */, + 72220EF2133305BB00FCA411 /* options.c */, + 72220EBA1333056300FCA411 /* ppd-attr.c */, + 72220EF4133305BB00FCA411 /* ppd-cache.c */, + 72220EBF1333056300FCA411 /* ppd-conflicts.c */, + 72220EC21333056300FCA411 /* ppd-custom.c */, + 72220ED5133305BB00FCA411 /* ppd-emit.c */, + 72220EEC133305BB00FCA411 /* ppd-localize.c */, + 72220EED133305BB00FCA411 /* ppd-mark.c */, + 72220EF3133305BB00FCA411 /* ppd-page.c */, + 72A8B3D61C188BDE00A1A547 /* ppd-util.c */, + 72220EF6133305BB00FCA411 /* ppd.c */, + 72220EF8133305BB00FCA411 /* pwg-media.c */, + 72F75A691336FA8A004BB496 /* raster-error.c */, + 72F75A6A1336FA8A004BB496 /* raster-interpret.c */, + 72F75A6B1336FA8A004BB496 /* raster-stream.c */, + 72220EFB133305BB00FCA411 /* request.c */, + 72220EFC133305BB00FCA411 /* sidechannel.c */, + 72220EFF133305BB00FCA411 /* snmp.c */, + 72220F00133305BB00FCA411 /* snprintf.c */, + 72220F02133305BB00FCA411 /* string.c */, + 72220F03133305BB00FCA411 /* tempfile.c */, + 72220F05133305BB00FCA411 /* thread.c */, + 270B267D17F5C06700C8A3A9 /* tls-darwin.c */, + 270B267E17F5C06700C8A3A9 /* tls-gnutls.c */, + 270B268117F5C5D600C8A3A9 /* tls-sspi.c */, + 727AD5B619100A58009F6862 /* tls.c */, + 72220F06133305BB00FCA411 /* transcode.c */, + 72220F08133305BB00FCA411 /* usersys.c */, + 72220F09133305BB00FCA411 /* util.c */, + ); + name = libcups; + sourceTree = ""; + wrapsLines = 1; + }; + 72220F45133305D000FCA411 /* Public Headers */ = { + isa = PBXGroup; + children = ( + 72220EB71333056300FCA411 /* adminutil.h */, + 72220EB91333056300FCA411 /* array.h */, + 72220EBE1333056300FCA411 /* backend.h */, + 72220EC11333056300FCA411 /* cups.h */, + 72220ED9133305BB00FCA411 /* file.h */, + 72220EE3133305BB00FCA411 /* http.h */, + 72220EE7133305BB00FCA411 /* ipp.h */, + 72220EEB133305BB00FCA411 /* language.h */, + 72220EF7133305BB00FCA411 /* ppd.h */, + 2767FC7519269687000F61D3 /* pwg.h */, + 72220EFA133305BB00FCA411 /* raster.h */, + 72220EFD133305BB00FCA411 /* sidechannel.h */, + 72220F07133305BB00FCA411 /* transcode.h */, + 72220F0A133305BB00FCA411 /* versioning.h */, + ); + name = "Public Headers"; + sourceTree = ""; + wrapsLines = 1; + }; + 72220F461333060C00FCA411 /* Private Headers */ = { + isa = PBXGroup; + children = ( + 7234F41F1378A16F00D3E9C9 /* array-private.h */, + 72220F471333063D00FCA411 /* config.h */, + 72220EC01333056300FCA411 /* cups-private.h */, + 722A24F22178D090000CAB20 /* debug-private.h */, + 72220ED7133305BB00FCA411 /* file-private.h */, + 72220EE0133305BB00FCA411 /* http-private.h */, + 72220EE4133305BB00FCA411 /* ipp-private.h */, + 72220EE9133305BB00FCA411 /* language-private.h */, + 72220EF5133305BB00FCA411 /* ppd-private.h */, + 72220EF9133305BB00FCA411 /* pwg-private.h */, + 2767FC76192696A0000F61D3 /* raster-private.h */, + 72220EFE133305BB00FCA411 /* snmp-private.h */, + 72220F01133305BB00FCA411 /* string-private.h */, + 72220F04133305BB00FCA411 /* thread-private.h */, + ); + name = "Private Headers"; + sourceTree = ""; + wrapsLines = 1; + }; + 72220F5D13330A5A00FCA411 /* cupsd */ = { + isa = PBXGroup; + children = ( + 72E65BDC18DC852700097E89 /* Makefile */, + 7226369B18AE6D19004ED309 /* org.cups.cups-lpd.plist */, + 72E65BD518DC818400097E89 /* org.cups.cups-lpd.plist.in */, + 72496E171A13A03B0051899C /* org.cups.cups-lpdAT.service.in */, + 72496E161A13A03B0051899C /* org.cups.cups-lpd.socket */, + 72E65BD618DC818400097E89 /* org.cups.cupsd.path.in */, + 7226369C18AE6D19004ED309 /* org.cups.cupsd.plist */, + 72E65BD718DC818400097E89 /* org.cups.cupsd.service.in */, + 72E65BD818DC818400097E89 /* org.cups.cupsd.socket.in */, + 72220F6913330B0C00FCA411 /* auth.c */, + 72220F6A13330B0C00FCA411 /* auth.h */, + 72220F6B13330B0C00FCA411 /* banners.c */, + 72220F6C13330B0C00FCA411 /* banners.h */, + 72220F6D13330B0C00FCA411 /* cert.c */, + 72220F6E13330B0C00FCA411 /* cert.h */, + 72220F6F13330B0C00FCA411 /* classes.c */, + 72220F7013330B0C00FCA411 /* classes.h */, + 72220F7113330B0C00FCA411 /* client.c */, + 72220F7213330B0C00FCA411 /* client.h */, + 72D53A3615B4929D003F877F /* colorman.c */, + 72D53A3715B4929D003F877F /* colorman.h */, + 72220F7313330B0C00FCA411 /* conf.c */, + 72220F7413330B0C00FCA411 /* conf.h */, + 72220F7513330B0C00FCA411 /* cupsd.h */, + 72220F7613330B0C00FCA411 /* dirsvc.c */, + 72220F7713330B0C00FCA411 /* dirsvc.h */, + 72220F7813330B0C00FCA411 /* env.c */, + 72C16CB8137B195D007E4BF4 /* file.c */, + 72220F7913330B0C00FCA411 /* ipp.c */, + 72220F7A13330B0C00FCA411 /* job.c */, + 72220F7B13330B0C00FCA411 /* job.h */, + 72220F7C13330B0C00FCA411 /* listen.c */, + 72220F7D13330B0C00FCA411 /* log.c */, + 72220F7E13330B0C00FCA411 /* main.c */, + 72220F7F13330B0C00FCA411 /* network.c */, + 72220F8013330B0C00FCA411 /* network.h */, + 72220F8113330B0C00FCA411 /* policy.c */, + 72220F8213330B0C00FCA411 /* policy.h */, + 72220F8313330B0C00FCA411 /* printers.c */, + 72220F8413330B0C00FCA411 /* printers.h */, + 72220F8513330B0C00FCA411 /* process.c */, + 72220F8613330B0C00FCA411 /* quotas.c */, + 72220F8813330B0C00FCA411 /* select.c */, + 72220F8913330B0C00FCA411 /* server.c */, + 72220F8A13330B0C00FCA411 /* statbuf.c */, + 72220F8B13330B0C00FCA411 /* statbuf.h */, + 72220F8C13330B0C00FCA411 /* subscriptions.c */, + 72220F8D13330B0C00FCA411 /* subscriptions.h */, + 72220F8E13330B0C00FCA411 /* sysman.c */, + 72220F8F13330B0C00FCA411 /* sysman.h */, + ); + name = cupsd; + path = .; + sourceTree = ""; + wrapsLines = 1; + }; + 72220FB013330B3400FCA411 /* libcupsmime */ = { + isa = PBXGroup; + children = ( + 72220FB413330BCE00FCA411 /* mime.h */, + 7271883C1374AB14001A2036 /* mime-private.h */, + 72220FB213330BCE00FCA411 /* filter.c */, + 72220FB313330BCE00FCA411 /* mime.c */, + 72220FB513330BCE00FCA411 /* type.c */, + ); + name = libcupsmime; + sourceTree = ""; + wrapsLines = 1; + }; + 72220FB113330B4A00FCA411 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 279AE6F42395B80F004DD600 /* libpam.tbd */, + 2767FC591926750C000F61D3 /* CoreFoundation.framework */, + 2767FC5A1926750C000F61D3 /* libiconv.dylib */, + 2767FC5B1926750C000F61D3 /* libresolv.dylib */, + 2767FC5C1926750C000F61D3 /* libz.dylib */, + 2767FC5D1926750C000F61D3 /* Security.framework */, + 2767FC5E1926750C000F61D3 /* SystemConfiguration.framework */, + 72D53A3915B492FA003F877F /* libpam.dylib */, + 72D53A3315B4925B003F877F /* ApplicationServices.framework */, + 72D53A2C15B4913D003F877F /* IOKit.framework */, + 72D53A2915B49110003F877F /* GSS.framework */, + 728FB7EF1536167A005426E1 /* libiconv.dylib */, + 728FB7F01536167A005426E1 /* libresolv.dylib */, + 728FB7EC1536161C005426E1 /* libz.dylib */, + 278C58E5136B64AF00836530 /* CoreFoundation.framework */, + 278C58E6136B64B000836530 /* Kerberos.framework */, + 278C58E7136B64B000836530 /* Security.framework */, + 278C58E8136B64B000836530 /* SystemConfiguration.framework */, + 72220EAE1333047D00FCA411 /* libcups.dylib */, + 72F75A611336F9A3004BB496 /* libcupsimage.dylib */, + 72220FAC13330B2200FCA411 /* libcupsmime.dylib */, + 274FF5EE133330C800317ECB /* libcupsppdc.dylib */, + ); + name = Frameworks; + sourceTree = ""; + }; + 724378F71333E3CE009631B9 /* backends */ = { + isa = PBXGroup; + children = ( + 724379091333E4E3009631B9 /* backend-private.h */, + 724379501333FEBB009631B9 /* dnssd.c */, + 724379CA1334000E009631B9 /* ieee1284.c */, + 7243790A1333E4E3009631B9 /* ipp.c */, + 724379281333E952009631B9 /* lpd.c */, + 7243790B1333E4E3009631B9 /* network.c */, + 724379121333E516009631B9 /* runloop.c */, + 7243790C1333E4E3009631B9 /* snmp-supplies.c */, + 720DD6D21358FDDE0064AA82 /* snmp.c */, + 7243793C1333FD19009631B9 /* socket.c */, + 724379C51333FFC7009631B9 /* usb.c */, + 724379C41333FFC7009631B9 /* usb-darwin.c */, + 72FC29CF1A37A1CA00BDF935 /* usb-libusb.c */, + 72FC29D01A37A1CA00BDF935 /* usb-unix.c */, + 72F7F1D719D1C0CC00870B09 /* org.cups.usb-quirks */, + ); + name = backends; + sourceTree = ""; + wrapsLines = 1; + }; + 724FA6D31CC0399D0092477B /* notifiers */ = { + isa = PBXGroup; + children = ( + 724FA6D41CC039D00092477B /* dbus.c */, + 724FA6D51CC039D00092477B /* mailto.c */, + 724FA6D61CC039D00092477B /* rss.c */, + ); + name = notifiers; + sourceTree = ""; + }; + 7258EADC134594A8009286F1 /* filters */ = { + isa = PBXGroup; + children = ( + 7271881713746EA8001A2036 /* commandtops.c */, + 7271881813746EA8001A2036 /* common.c */, + 7271881913746EA8001A2036 /* common.h */, + 7271881A13746EA8001A2036 /* gziptoany.c */, + 7271882013746EA8001A2036 /* pstops.c */, + 7271882113746EA8001A2036 /* rastertoepson.c */, + 7271882213746EA8001A2036 /* rastertohp.c */, + 7271882313746EA8001A2036 /* rastertolabel.c */, + 7258EAEC134594EB009286F1 /* rastertopwg.c */, + ); + name = filters; + sourceTree = ""; + wrapsLines = 1; + }; + 727EF02E192E3461001EF690 /* cgi-bin */ = { + isa = PBXGroup; + children = ( + 727EF02F192E3498001EF690 /* admin.c */, + 727EF030192E3498001EF690 /* cgi-private.h */, + 727EF031192E3498001EF690 /* cgi.h */, + 727EF032192E3498001EF690 /* classes.c */, + 727EF033192E3498001EF690 /* help-index.c */, + 727EF034192E3498001EF690 /* help-index.h */, + 727EF035192E3498001EF690 /* help.c */, + 727EF036192E3498001EF690 /* html.c */, + 727EF037192E3498001EF690 /* ipp-var.c */, + 727EF038192E3498001EF690 /* jobs.c */, + 727EF039192E3498001EF690 /* makedocset.c */, + 727EF03A192E3498001EF690 /* printers.c */, + 727EF03B192E3498001EF690 /* search.c */, + 727EF03C192E3498001EF690 /* template.c */, + 727EF040192E3498001EF690 /* var.c */, + ); + name = "cgi-bin"; + sourceTree = ""; + }; + 72BF96351333042100B1EAD7 = { + isa = PBXGroup; + children = ( + 72E65BA218DC796500097E89 /* Autoconf Files */, + 72E65BB818DC79F800097E89 /* Documentation */, + 72220F45133305D000FCA411 /* Public Headers */, + 72220F461333060C00FCA411 /* Private Headers */, + 72220EB41333050100FCA411 /* libcups */, + 72F75A681336FA42004BB496 /* libcupsimage */, + 72220FB013330B3400FCA411 /* libcupsmime */, + 274FF5F41333310400317ECB /* libcupsppdc */, + 724378F71333E3CE009631B9 /* backends */, + 727EF02E192E3461001EF690 /* cgi-bin */, + 274FF67313333B0A00317ECB /* commands */, + 72220F5D13330A5A00FCA411 /* cupsd */, + 274FF5D513332C2C00317ECB /* daemon */, + 7258EADC134594A8009286F1 /* filters */, + 2712867F1CC1394100E517C7 /* monitors */, + 724FA6D31CC0399D0092477B /* notifiers */, + 276683CB1337B1CC000D33D0 /* ppdc tools */, + 273BF6B81333B4A90022CAAB /* tests */, + 271286821CC13D7600E517C7 /* tools */, + 72220FB113330B4A00FCA411 /* Frameworks */, + 72220EAF1333047D00FCA411 /* Products */, + ); + indentWidth = 2; + sourceTree = ""; + tabWidth = 8; + wrapsLines = 1; + }; + 72E65BA218DC796500097E89 /* Autoconf Files */ = { + isa = PBXGroup; + children = ( + 72E65BD918DC850A00097E89 /* Makefile */, + 72E65BB718DC79CC00097E89 /* Makedefs.in */, + 72E65BA318DC797E00097E89 /* configure.ac */, + 7226369D18AE73BB004ED309 /* config.h.in */, + 72E65BB618DC79CC00097E89 /* cups-config.in */, + 72E65BA418DC799B00097E89 /* cups-common.m4 */, + 72E65BA518DC799B00097E89 /* cups-compiler.m4 */, + 72E65BA618DC799B00097E89 /* cups-defaults.m4 */, + 72E65BA718DC799B00097E89 /* cups-directories.m4 */, + 72E65BA818DC799B00097E89 /* cups-dnssd.m4 */, + 72E65BA918DC799B00097E89 /* cups-gssapi.m4 */, + 72E65BAA18DC799B00097E89 /* cups-largefile.m4 */, + 72E65BAB18DC799B00097E89 /* cups-startup.m4 */, + 72E65BAC18DC799B00097E89 /* cups-libtool.m4 */, + 72E65BAD18DC799B00097E89 /* cups-manpages.m4 */, + 72E65BAE18DC799B00097E89 /* cups-network.m4 */, + 72E65BAF18DC799B00097E89 /* cups-opsys.m4 */, + 72E65BB018DC799B00097E89 /* cups-pam.m4 */, + 72E65BB118DC799B00097E89 /* cups-poll.m4 */, + 72E65BB318DC799B00097E89 /* cups-sharedlibs.m4 */, + 72E65BB418DC799B00097E89 /* cups-ssl.m4 */, + 72E65BB518DC799B00097E89 /* cups-threads.m4 */, + ); + name = "Autoconf Files"; + sourceTree = ""; + }; + 72E65BB818DC79F800097E89 /* Documentation */ = { + isa = PBXGroup; + children = ( + 274561481F545B2E000378E4 /* api-admin.header */, + 274561491F545B2E000378E4 /* api-admin.shtml */, + 72E65BC118DC7A6B00097E89 /* api-filter.header */, + 72E65BC218DC7A6B00097E89 /* api-filter.shtml */, + 72E65BC718DC7A6B00097E89 /* api-ppd.header */, + 72E65BC818DC7A6B00097E89 /* api-ppd.shtml */, + 72E65BCB18DC7A9800097E89 /* api-raster.header */, + 72E65BCC18DC7A9800097E89 /* api-raster.shtml */, + 72E65BDE18DCA35700097E89 /* CHANGES.md */, + 72E65BDF18DCA35700097E89 /* CREDITS.md */, + 274561471F545B2E000378E4 /* cupspm.md */, + 72E65BB918DC7A3600097E89 /* doc */, + 72E65BE018DCA35700097E89 /* INSTALL.md */, + 72E65BE218DCA35700097E89 /* LICENSE */, + 72E65BBA18DC7A3600097E89 /* man */, + 72646E58203D0FCA00231A77 /* NOTICE */, + 72E65BCD18DC7A9800097E89 /* postscript-driver.header */, + 72E65BCE18DC7A9800097E89 /* postscript-driver.shtml */, + 72E65BCF18DC7A9800097E89 /* ppd-compiler.header */, + 72E65BD018DC7A9800097E89 /* ppd-compiler.shtml */, + 72E65BD118DC7A9800097E89 /* raster-driver.header */, + 72E65BD218DC7A9800097E89 /* raster-driver.shtml */, + 72E65BE318DCA35700097E89 /* README.md */, + 72E65BD318DC7A9800097E89 /* spec-ppd.header */, + 72E65BD418DC7A9800097E89 /* spec-ppd.shtml */, + ); + name = Documentation; + sourceTree = ""; + }; + 72F75A681336FA42004BB496 /* libcupsimage */ = { + isa = PBXGroup; + children = ( + 7253C45C216ED51400494ADD /* raster-interstub.c */, + 7253C45D216ED51500494ADD /* raster-stubs.c */, + ); + name = libcupsimage; + sourceTree = ""; + wrapsLines = 1; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 2706963C1CADF3E200FFE5FB /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 2706963E1CADF3E200FFE5FB /* array.h in Headers */, + 7253C469216ED5D400494ADD /* raster.h in Headers */, + 722A24F42178D091000CAB20 /* debug-private.h in Headers */, + 270696401CADF3E200FFE5FB /* cups-private.h in Headers */, + 7253C471216ED6C400494ADD /* array-private.h in Headers */, + 270696421CADF3E200FFE5FB /* file-private.h in Headers */, + 270696431CADF3E200FFE5FB /* http-private.h in Headers */, + 270696441CADF3E200FFE5FB /* ipp-private.h in Headers */, + 270696451CADF3E200FFE5FB /* language-private.h in Headers */, + 270696461CADF3E200FFE5FB /* md5-internal.h in Headers */, + 270696481CADF3E200FFE5FB /* pwg-private.h in Headers */, + 2706964A1CADF3E200FFE5FB /* string-private.h in Headers */, + 7253C46C216ED5E500494ADD /* raster-private.h in Headers */, + 2706964B1CADF3E200FFE5FB /* thread-private.h in Headers */, + 2706964C1CADF3E200FFE5FB /* config.h in Headers */, + 2706964D1CADF3E200FFE5FB /* cups.h in Headers */, + 722A24F02178D00D000CAB20 /* debug-internal.h in Headers */, + 2706964E1CADF3E200FFE5FB /* dir.h in Headers */, + 2706964F1CADF3E200FFE5FB /* file.h in Headers */, + 270696501CADF3E200FFE5FB /* http.h in Headers */, + 270696511CADF3E200FFE5FB /* ipp.h in Headers */, + 270696521CADF3E200FFE5FB /* language.h in Headers */, + 7253C470216ED69400494ADD /* pwg.h in Headers */, + 270696551CADF3E200FFE5FB /* transcode.h in Headers */, + 270696561CADF3E200FFE5FB /* versioning.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF5EC133330C800317ECB /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 274FF61E1333315100317ECB /* ppdc.h in Headers */, + 274FF6181333315100317ECB /* ppdc-private.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF6C11333B1C400317ECB /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 722A24F52178D091000CAB20 /* debug-private.h in Headers */, + 274FF6C61333B1C400317ECB /* dir.h in Headers */, + 722A24F12178D00D000CAB20 /* debug-internal.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72220EAC1333047D00FCA411 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 72220EC41333056300FCA411 /* adminutil.h in Headers */, + 72220EC61333056300FCA411 /* array.h in Headers */, + 72220ECB1333056300FCA411 /* backend.h in Headers */, + 72220ECE1333056300FCA411 /* cups.h in Headers */, + 7253C46B216ED5E400494ADD /* raster-private.h in Headers */, + 72220F0E133305BB00FCA411 /* dir.h in Headers */, + 72220F13133305BB00FCA411 /* file.h in Headers */, + 72220F1D133305BB00FCA411 /* http.h in Headers */, + 72220F21133305BB00FCA411 /* ipp.h in Headers */, + 72220F25133305BB00FCA411 /* language.h in Headers */, + 72220F31133305BB00FCA411 /* ppd.h in Headers */, + 722A24F32178D091000CAB20 /* debug-private.h in Headers */, + 72220F37133305BB00FCA411 /* sidechannel.h in Headers */, + 72220F41133305BB00FCA411 /* transcode.h in Headers */, + 72220F44133305BB00FCA411 /* versioning.h in Headers */, + 7234F4201378A16F00D3E9C9 /* array-private.h in Headers */, + 72220ECD1333056300FCA411 /* cups-private.h in Headers */, + 72220F11133305BB00FCA411 /* file-private.h in Headers */, + 72220F1A133305BB00FCA411 /* http-private.h in Headers */, + 72220F1E133305BB00FCA411 /* ipp-private.h in Headers */, + 72220F23133305BB00FCA411 /* language-private.h in Headers */, + 7253C46F216ED69200494ADD /* pwg.h in Headers */, + 72220F28133305BB00FCA411 /* md5-internal.h in Headers */, + 72220F2F133305BB00FCA411 /* ppd-private.h in Headers */, + 72220F33133305BB00FCA411 /* pwg-private.h in Headers */, + 72220F38133305BB00FCA411 /* snmp-private.h in Headers */, + 72220F3B133305BB00FCA411 /* string-private.h in Headers */, + 72220F3E133305BB00FCA411 /* thread-private.h in Headers */, + 722A24EF2178D00D000CAB20 /* debug-internal.h in Headers */, + 72220F481333063D00FCA411 /* config.h in Headers */, + 7253C468216ED5D300494ADD /* raster.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72220FAA13330B2200FCA411 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 72220FB813330BCE00FCA411 /* mime.h in Headers */, + 7271883D1374AB14001A2036 /* mime-private.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA70A1CC03A490092477B /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA7191CC03A990092477B /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA71A1CC03A990092477B /* mime.h in Headers */, + 724FA71B1CC03A990092477B /* mime-private.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA73A1CC03AAF0092477B /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA73C1CC03AAF0092477B /* ppdc-private.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA74A1CC03ACC0092477B /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA76D1CC03B4D0092477B /* cgi.h in Headers */, + 724FA76C1CC03B4D0092477B /* cgi-private.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA7661CC03AF60092477B /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA7701CC03B820092477B /* cgi.h in Headers */, + 724FA76F1CC03B820092477B /* cgi-private.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72F75A5F1336F9A3004BB496 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 270695FD1CADF3E200FFE5FB /* libcups_ios */ = { + isa = PBXNativeTarget; + buildConfigurationList = 270696571CADF3E200FFE5FB /* Build configuration list for PBXNativeTarget "libcups_ios" */; + buildPhases = ( + 270695FE1CADF3E200FFE5FB /* Sources */, + 270696331CADF3E200FFE5FB /* Frameworks */, + 2706963C1CADF3E200FFE5FB /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = libcups_ios; + productName = libcups; + productReference = 2706965A1CADF3E200FFE5FB /* libcups_ios.a */; + productType = "com.apple.product-type.library.dynamic"; + }; + 270CCDA6135E3C9E00007BE2 /* testmime */ = { + isa = PBXNativeTarget; + buildConfigurationList = 270CCDAF135E3C9E00007BE2 /* Build configuration list for PBXNativeTarget "testmime" */; + buildPhases = ( + 270CCDA3135E3C9E00007BE2 /* Sources */, + 270CCDA4135E3C9E00007BE2 /* Frameworks */, + 270CCDA5135E3C9E00007BE2 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271284D61CC1234D00E517C7 /* PBXTargetDependency */, + 270CCDB8135E3CFD00007BE2 /* PBXTargetDependency */, + ); + name = testmime; + productName = testmime; + productReference = 270CCDA7135E3C9E00007BE2 /* testmime */; + productType = "com.apple.product-type.tool"; + }; + 270D02131D707E0200EA9403 /* testcreds */ = { + isa = PBXNativeTarget; + buildConfigurationList = 270D02211D707E0200EA9403 /* Build configuration list for PBXNativeTarget "testcreds" */; + buildPhases = ( + 270D02161D707E0200EA9403 /* Sources */, + 270D02181D707E0200EA9403 /* Frameworks */, + 270D02201D707E0200EA9403 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 270D02141D707E0200EA9403 /* PBXTargetDependency */, + ); + name = testcreds; + productName = testhttp; + productReference = 270D02241D707E0200EA9403 /* testcreds */; + productType = "com.apple.product-type.tool"; + }; + 271284E11CC1261900E517C7 /* cancel */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271284E91CC1261900E517C7 /* Build configuration list for PBXNativeTarget "cancel" */; + buildPhases = ( + 271284E41CC1261900E517C7 /* Sources */, + 271284E61CC1261900E517C7 /* Frameworks */, + 271284E81CC1261900E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271284E21CC1261900E517C7 /* PBXTargetDependency */, + ); + name = cancel; + productName = cupsaddsmb; + productReference = 271284EC1CC1261900E517C7 /* cancel */; + productType = "com.apple.product-type.tool"; + }; + 271284EE1CC1264B00E517C7 /* cupsaccept */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271284F61CC1264B00E517C7 /* Build configuration list for PBXNativeTarget "cupsaccept" */; + buildPhases = ( + 271284F11CC1264B00E517C7 /* Sources */, + 271284F31CC1264B00E517C7 /* Frameworks */, + 271284F51CC1264B00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271284EF1CC1264B00E517C7 /* PBXTargetDependency */, + ); + name = cupsaccept; + productName = cupsaddsmb; + productReference = 271284F91CC1264B00E517C7 /* cupsaccept */; + productType = "com.apple.product-type.tool"; + }; + 271285081CC1267A00E517C7 /* lp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271285101CC1267A00E517C7 /* Build configuration list for PBXNativeTarget "lp" */; + buildPhases = ( + 2712850B1CC1267A00E517C7 /* Sources */, + 2712850D1CC1267A00E517C7 /* Frameworks */, + 2712850F1CC1267A00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285091CC1267A00E517C7 /* PBXTargetDependency */, + ); + name = lp; + productName = cupsaddsmb; + productReference = 271285131CC1267A00E517C7 /* lp */; + productType = "com.apple.product-type.tool"; + }; + 271285151CC1269700E517C7 /* lpc */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2712851D1CC1269700E517C7 /* Build configuration list for PBXNativeTarget "lpc" */; + buildPhases = ( + 271285181CC1269700E517C7 /* Sources */, + 2712851A1CC1269700E517C7 /* Frameworks */, + 2712851C1CC1269700E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285161CC1269700E517C7 /* PBXTargetDependency */, + ); + name = lpc; + productName = cupsaddsmb; + productReference = 271285201CC1269700E517C7 /* lpc */; + productType = "com.apple.product-type.tool"; + }; + 271285221CC126AA00E517C7 /* lpinfo */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2712852A1CC126AA00E517C7 /* Build configuration list for PBXNativeTarget "lpinfo" */; + buildPhases = ( + 271285251CC126AA00E517C7 /* Sources */, + 271285271CC126AA00E517C7 /* Frameworks */, + 271285291CC126AA00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285231CC126AA00E517C7 /* PBXTargetDependency */, + ); + name = lpinfo; + productName = cupsaddsmb; + productReference = 2712852D1CC126AA00E517C7 /* lpinfo */; + productType = "com.apple.product-type.tool"; + }; + 2712852F1CC1270B00E517C7 /* lpmove */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271285371CC1270B00E517C7 /* Build configuration list for PBXNativeTarget "lpmove" */; + buildPhases = ( + 271285321CC1270B00E517C7 /* Sources */, + 271285341CC1270B00E517C7 /* Frameworks */, + 271285361CC1270B00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285301CC1270B00E517C7 /* PBXTargetDependency */, + ); + name = lpmove; + productName = cupsaddsmb; + productReference = 2712853A1CC1270B00E517C7 /* lpmove */; + productType = "com.apple.product-type.tool"; + }; + 2712853C1CC1271E00E517C7 /* lpoptions */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271285441CC1271E00E517C7 /* Build configuration list for PBXNativeTarget "lpoptions" */; + buildPhases = ( + 2712853F1CC1271E00E517C7 /* Sources */, + 271285411CC1271E00E517C7 /* Frameworks */, + 271285431CC1271E00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 2712853D1CC1271E00E517C7 /* PBXTargetDependency */, + ); + name = lpoptions; + productName = cupsaddsmb; + productReference = 271285471CC1271E00E517C7 /* lpoptions */; + productType = "com.apple.product-type.tool"; + }; + 271285491CC1272D00E517C7 /* lpq */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271285511CC1272D00E517C7 /* Build configuration list for PBXNativeTarget "lpq" */; + buildPhases = ( + 2712854C1CC1272D00E517C7 /* Sources */, + 2712854E1CC1272D00E517C7 /* Frameworks */, + 271285501CC1272D00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 2712854A1CC1272D00E517C7 /* PBXTargetDependency */, + ); + name = lpq; + productName = cupsaddsmb; + productReference = 271285541CC1272D00E517C7 /* lpq */; + productType = "com.apple.product-type.tool"; + }; + 271285561CC1274300E517C7 /* lpr */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2712855E1CC1274300E517C7 /* Build configuration list for PBXNativeTarget "lpr" */; + buildPhases = ( + 271285591CC1274300E517C7 /* Sources */, + 2712855B1CC1274300E517C7 /* Frameworks */, + 2712855D1CC1274300E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285571CC1274300E517C7 /* PBXTargetDependency */, + ); + name = lpr; + productName = cupsaddsmb; + productReference = 271285611CC1274300E517C7 /* lpr */; + productType = "com.apple.product-type.tool"; + }; + 271285631CC1275200E517C7 /* lprm */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2712856B1CC1275200E517C7 /* Build configuration list for PBXNativeTarget "lprm" */; + buildPhases = ( + 271285661CC1275200E517C7 /* Sources */, + 271285681CC1275200E517C7 /* Frameworks */, + 2712856A1CC1275200E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285641CC1275200E517C7 /* PBXTargetDependency */, + ); + name = lprm; + productName = cupsaddsmb; + productReference = 2712856E1CC1275200E517C7 /* lprm */; + productType = "com.apple.product-type.tool"; + }; + 271285701CC1276400E517C7 /* lpstat */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271285781CC1276400E517C7 /* Build configuration list for PBXNativeTarget "lpstat" */; + buildPhases = ( + 271285731CC1276400E517C7 /* Sources */, + 271285751CC1276400E517C7 /* Frameworks */, + 271285771CC1276400E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285711CC1276400E517C7 /* PBXTargetDependency */, + ); + name = lpstat; + productName = cupsaddsmb; + productReference = 2712857B1CC1276400E517C7 /* lpstat */; + productType = "com.apple.product-type.tool"; + }; + 271285951CC12D1300E517C7 /* admin.cgi */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2712859D1CC12D1300E517C7 /* Build configuration list for PBXNativeTarget "admin.cgi" */; + buildPhases = ( + 271285981CC12D1300E517C7 /* Sources */, + 2712859A1CC12D1300E517C7 /* Frameworks */, + 2712859C1CC12D1300E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285961CC12D1300E517C7 /* PBXTargetDependency */, + ); + name = admin.cgi; + productName = cupsaddsmb; + productReference = 271285A01CC12D1300E517C7 /* admin.cgi */; + productType = "com.apple.product-type.tool"; + }; + 271285A31CC12D3A00E517C7 /* classes.cgi */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271285AC1CC12D3A00E517C7 /* Build configuration list for PBXNativeTarget "classes.cgi" */; + buildPhases = ( + 271285A61CC12D3A00E517C7 /* Sources */, + 271285A81CC12D3A00E517C7 /* Frameworks */, + 271285AB1CC12D3A00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285A41CC12D3A00E517C7 /* PBXTargetDependency */, + ); + name = classes.cgi; + productName = cupsaddsmb; + productReference = 271285AF1CC12D3A00E517C7 /* classes.cgi */; + productType = "com.apple.product-type.tool"; + }; + 271285B11CC12D4E00E517C7 /* jobs.cgi */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271285BA1CC12D4E00E517C7 /* Build configuration list for PBXNativeTarget "jobs.cgi" */; + buildPhases = ( + 271285B41CC12D4E00E517C7 /* Sources */, + 271285B61CC12D4E00E517C7 /* Frameworks */, + 271285B91CC12D4E00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285B21CC12D4E00E517C7 /* PBXTargetDependency */, + ); + name = jobs.cgi; + productName = cupsaddsmb; + productReference = 271285BD1CC12D4E00E517C7 /* jobs.cgi */; + productType = "com.apple.product-type.tool"; + }; + 271285BF1CC12D5E00E517C7 /* printers.cgi */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271285C81CC12D5E00E517C7 /* Build configuration list for PBXNativeTarget "printers.cgi" */; + buildPhases = ( + 271285C21CC12D5E00E517C7 /* Sources */, + 271285C41CC12D5E00E517C7 /* Frameworks */, + 271285C71CC12D5E00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285C01CC12D5E00E517C7 /* PBXTargetDependency */, + ); + name = printers.cgi; + productName = cupsaddsmb; + productReference = 271285CB1CC12D5E00E517C7 /* printers.cgi */; + productType = "com.apple.product-type.tool"; + }; + 271285CD1CC12DBF00E517C7 /* commandtops */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271285D51CC12DBF00E517C7 /* Build configuration list for PBXNativeTarget "commandtops" */; + buildPhases = ( + 271285D01CC12DBF00E517C7 /* Sources */, + 271285D21CC12DBF00E517C7 /* Frameworks */, + 271285D41CC12DBF00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285CE1CC12DBF00E517C7 /* PBXTargetDependency */, + ); + name = commandtops; + productName = cupsaddsmb; + productReference = 271285D81CC12DBF00E517C7 /* commandtops */; + productType = "com.apple.product-type.tool"; + }; + 271285DA1CC12DDF00E517C7 /* gziptoany */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271285E21CC12DDF00E517C7 /* Build configuration list for PBXNativeTarget "gziptoany" */; + buildPhases = ( + 271285DD1CC12DDF00E517C7 /* Sources */, + 271285DF1CC12DDF00E517C7 /* Frameworks */, + 271285E11CC12DDF00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285DB1CC12DDF00E517C7 /* PBXTargetDependency */, + ); + name = gziptoany; + productName = cupsaddsmb; + productReference = 271285E51CC12DDF00E517C7 /* gziptoany */; + productType = "com.apple.product-type.tool"; + }; + 271285E71CC12E2D00E517C7 /* pstops */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271285EF1CC12E2D00E517C7 /* Build configuration list for PBXNativeTarget "pstops" */; + buildPhases = ( + 271285EA1CC12E2D00E517C7 /* Sources */, + 271285EC1CC12E2D00E517C7 /* Frameworks */, + 271285EE1CC12E2D00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285E81CC12E2D00E517C7 /* PBXTargetDependency */, + ); + name = pstops; + productName = cupsaddsmb; + productReference = 271285F21CC12E2E00E517C7 /* pstops */; + productType = "com.apple.product-type.tool"; + }; + 271285F51CC12EEB00E517C7 /* rastertoepson */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271285FD1CC12EEB00E517C7 /* Build configuration list for PBXNativeTarget "rastertoepson" */; + buildPhases = ( + 271285F81CC12EEB00E517C7 /* Sources */, + 271285FA1CC12EEB00E517C7 /* Frameworks */, + 271285FC1CC12EEB00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271285F61CC12EEB00E517C7 /* PBXTargetDependency */, + ); + name = rastertoepson; + productName = cupsaddsmb; + productReference = 271286001CC12EEB00E517C7 /* rastertoepson */; + productType = "com.apple.product-type.tool"; + }; + 271286051CC12F0B00E517C7 /* rastertohp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271286101CC12F0B00E517C7 /* Build configuration list for PBXNativeTarget "rastertohp" */; + buildPhases = ( + 2712860A1CC12F0B00E517C7 /* Sources */, + 2712860C1CC12F0B00E517C7 /* Frameworks */, + 2712860F1CC12F0B00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271286081CC12F0B00E517C7 /* PBXTargetDependency */, + ); + name = rastertohp; + productName = cupsaddsmb; + productReference = 271286131CC12F0B00E517C7 /* rastertohp */; + productType = "com.apple.product-type.tool"; + }; + 271286151CC12F1A00E517C7 /* rastertolabel */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271286201CC12F1A00E517C7 /* Build configuration list for PBXNativeTarget "rastertolabel" */; + buildPhases = ( + 2712861A1CC12F1A00E517C7 /* Sources */, + 2712861C1CC12F1A00E517C7 /* Frameworks */, + 2712861F1CC12F1A00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271286181CC12F1A00E517C7 /* PBXTargetDependency */, + ); + name = rastertolabel; + productName = cupsaddsmb; + productReference = 271286231CC12F1A00E517C7 /* rastertolabel */; + productType = "com.apple.product-type.tool"; + }; + 271286571CC1309000E517C7 /* tlscheck */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271286641CC1309000E517C7 /* Build configuration list for PBXNativeTarget "tlscheck" */; + buildPhases = ( + 2712865A1CC1309000E517C7 /* Sources */, + 2712865C1CC1309000E517C7 /* Frameworks */, + 271286631CC1309000E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271286581CC1309000E517C7 /* PBXTargetDependency */, + ); + name = tlscheck; + productName = ippserver; + productReference = 271286671CC1309000E517C7 /* tlscheck */; + productType = "com.apple.product-type.tool"; + }; + 2712866B1CC1310E00E517C7 /* rasterbench */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2712867A1CC1310E00E517C7 /* Build configuration list for PBXNativeTarget "rasterbench" */; + buildPhases = ( + 271286701CC1310E00E517C7 /* Sources */, + 271286721CC1310E00E517C7 /* Frameworks */, + 271286791CC1310E00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 2712866E1CC1310E00E517C7 /* PBXTargetDependency */, + ); + name = rasterbench; + productName = testmime; + productReference = 2712867D1CC1310E00E517C7 /* rasterbench */; + productType = "com.apple.product-type.tool"; + }; + 271286871CC13DC000E517C7 /* checkpo */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271286931CC13DC000E517C7 /* Build configuration list for PBXNativeTarget "checkpo" */; + buildPhases = ( + 2712868A1CC13DC000E517C7 /* Sources */, + 2712868C1CC13DC000E517C7 /* Frameworks */, + 271286921CC13DC000E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271286881CC13DC000E517C7 /* PBXTargetDependency */, + ); + name = checkpo; + productName = testmime; + productReference = 271286961CC13DC000E517C7 /* checkpo */; + productType = "com.apple.product-type.tool"; + }; + 271286981CC13DF100E517C7 /* po2strings */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271286A41CC13DF100E517C7 /* Build configuration list for PBXNativeTarget "po2strings" */; + buildPhases = ( + 2712869B1CC13DF100E517C7 /* Sources */, + 2712869D1CC13DF100E517C7 /* Frameworks */, + 271286A31CC13DF100E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271286991CC13DF100E517C7 /* PBXTargetDependency */, + ); + name = po2strings; + productName = testmime; + productReference = 271286A71CC13DF100E517C7 /* po2strings */; + productType = "com.apple.product-type.tool"; + }; + 271286A91CC13DFF00E517C7 /* strings2po */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271286B51CC13DFF00E517C7 /* Build configuration list for PBXNativeTarget "strings2po" */; + buildPhases = ( + 271286AC1CC13DFF00E517C7 /* Sources */, + 271286AE1CC13DFF00E517C7 /* Frameworks */, + 271286B41CC13DFF00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271286AA1CC13DFF00E517C7 /* PBXTargetDependency */, + ); + name = strings2po; + productName = testmime; + productReference = 271286B81CC13DFF00E517C7 /* strings2po */; + productType = "com.apple.product-type.tool"; + }; + 271286BA1CC13E2100E517C7 /* bcp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271286C61CC13E2100E517C7 /* Build configuration list for PBXNativeTarget "bcp" */; + buildPhases = ( + 271286BD1CC13E2100E517C7 /* Sources */, + 271286C01CC13E2100E517C7 /* Frameworks */, + 271286C51CC13E2100E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271286BB1CC13E2100E517C7 /* PBXTargetDependency */, + ); + name = bcp; + productName = usb; + productReference = 271286C91CC13E2100E517C7 /* bcp */; + productType = "com.apple.product-type.tool"; + }; + 271286CB1CC13E5B00E517C7 /* tbcp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271286D61CC13E5B00E517C7 /* Build configuration list for PBXNativeTarget "tbcp" */; + buildPhases = ( + 271286CE1CC13E5B00E517C7 /* Sources */, + 271286D01CC13E5B00E517C7 /* Frameworks */, + 271286D51CC13E5B00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271286CC1CC13E5B00E517C7 /* PBXTargetDependency */, + ); + name = tbcp; + productName = usb; + productReference = 271286D91CC13E5B00E517C7 /* tbcp */; + productType = "com.apple.product-type.tool"; + }; + 271286E51CC13F2000E517C7 /* mailto */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271286F01CC13F2000E517C7 /* Build configuration list for PBXNativeTarget "mailto" */; + buildPhases = ( + 271286E81CC13F2000E517C7 /* Sources */, + 271286EA1CC13F2000E517C7 /* Frameworks */, + 271286EF1CC13F2000E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271286E61CC13F2000E517C7 /* PBXTargetDependency */, + ); + name = mailto; + productName = usb; + productReference = 271286F31CC13F2000E517C7 /* mailto */; + productType = "com.apple.product-type.tool"; + }; + 271286F51CC13F3F00E517C7 /* rss */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271287001CC13F3F00E517C7 /* Build configuration list for PBXNativeTarget "rss" */; + buildPhases = ( + 271286F81CC13F3F00E517C7 /* Sources */, + 271286FA1CC13F3F00E517C7 /* Frameworks */, + 271286FF1CC13F3F00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271286F61CC13F3F00E517C7 /* PBXTargetDependency */, + ); + name = rss; + productName = usb; + productReference = 271287031CC13F3F00E517C7 /* rss */; + productType = "com.apple.product-type.tool"; + }; + 271287091CC13FAB00E517C7 /* mantohtml */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271287151CC13FAB00E517C7 /* Build configuration list for PBXNativeTarget "mantohtml" */; + buildPhases = ( + 2712870C1CC13FAB00E517C7 /* Sources */, + 2712870E1CC13FAB00E517C7 /* Frameworks */, + 271287141CC13FAB00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 2712870A1CC13FAB00E517C7 /* PBXTargetDependency */, + ); + name = mantohtml; + productName = testmime; + productReference = 271287181CC13FAB00E517C7 /* mantohtml */; + productType = "com.apple.product-type.tool"; + }; + 2712871E1CC140BE00E517C7 /* genstrings */ = { + isa = PBXNativeTarget; + buildConfigurationList = 271287291CC140BE00E517C7 /* Build configuration list for PBXNativeTarget "genstrings" */; + buildPhases = ( + 271287231CC140BE00E517C7 /* Sources */, + 271287251CC140BE00E517C7 /* Frameworks */, + 271287281CC140BE00E517C7 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 2712872F1CC140DF00E517C7 /* PBXTargetDependency */, + 271287311CC140DF00E517C7 /* PBXTargetDependency */, + ); + name = genstrings; + productName = ppdc; + productReference = 2712872C1CC140BE00E517C7 /* genstrings */; + productType = "com.apple.product-type.tool"; + }; + 273B1E9A226B3E4800428143 /* ippevepcl */ = { + isa = PBXNativeTarget; + buildConfigurationList = 273B1EA7226B3E4800428143 /* Build configuration list for PBXNativeTarget "ippevepcl" */; + buildPhases = ( + 273B1E9D226B3E4800428143 /* Sources */, + 273B1E9F226B3E4800428143 /* Frameworks */, + 273B1EA6226B3E4800428143 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 273B1EC6226B41E600428143 /* PBXTargetDependency */, + ); + name = ippevepcl; + productName = ippserver; + productReference = 273B1EAA226B3E4800428143 /* ippevepcl */; + productType = "com.apple.product-type.tool"; + }; + 273B1EAB226B3E5200428143 /* ippeveps */ = { + isa = PBXNativeTarget; + buildConfigurationList = 273B1EB8226B3E5200428143 /* Build configuration list for PBXNativeTarget "ippeveps" */; + buildPhases = ( + 273B1EAE226B3E5200428143 /* Sources */, + 273B1EB0226B3E5200428143 /* Frameworks */, + 273B1EB7226B3E5200428143 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 273B1ECC226B421700428143 /* PBXTargetDependency */, + ); + name = ippeveps; + productName = ippserver; + productReference = 273B1EBB226B3E5200428143 /* ippeveps */; + productType = "com.apple.product-type.tool"; + }; + 273BF6BC1333B5000022CAAB /* testcups */ = { + isa = PBXNativeTarget; + buildConfigurationList = 273BF6C31333B5000022CAAB /* Build configuration list for PBXNativeTarget "testcups" */; + buildPhases = ( + 273BF6B91333B5000022CAAB /* Sources */, + 273BF6BA1333B5000022CAAB /* Frameworks */, + 273BF6BB1333B5000022CAAB /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 273BF6C91333B5410022CAAB /* PBXTargetDependency */, + ); + name = testcups; + productName = testcups; + productReference = 273BF6BD1333B5000022CAAB /* testcups */; + productType = "com.apple.product-type.tool"; + }; + 274770D12345342B0089BC31 /* testthreads */ = { + isa = PBXNativeTarget; + buildConfigurationList = 274770DD2345342B0089BC31 /* Build configuration list for PBXNativeTarget "testthreads" */; + buildPhases = ( + 274770D42345342B0089BC31 /* Sources */, + 274770D62345342B0089BC31 /* Frameworks */, + 274770DC2345342B0089BC31 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 274770D22345342B0089BC31 /* PBXTargetDependency */, + ); + name = testthreads; + productName = testmime; + productReference = 274770E02345342B0089BC31 /* testthreads */; + productType = "com.apple.product-type.tool"; + }; + 274FF5CB13332B1F00317ECB /* cups-driverd */ = { + isa = PBXNativeTarget; + buildConfigurationList = 274FF5D213332B1F00317ECB /* Build configuration list for PBXNativeTarget "cups-driverd" */; + buildPhases = ( + 274FF5C813332B1F00317ECB /* Sources */, + 274FF5C913332B1F00317ECB /* Frameworks */, + 274FF5CA13332B1F00317ECB /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 274FF5DC13332CF900317ECB /* PBXTargetDependency */, + 274FF6201333316200317ECB /* PBXTargetDependency */, + ); + name = "cups-driverd"; + productName = "cups-driverd"; + productReference = 274FF5CC13332B1F00317ECB /* cups-driverd */; + productType = "com.apple.product-type.tool"; + }; + 274FF5ED133330C800317ECB /* libcupsppdc */ = { + isa = PBXNativeTarget; + buildConfigurationList = 274FF5EF133330C800317ECB /* Build configuration list for PBXNativeTarget "libcupsppdc" */; + buildPhases = ( + 274FF5EA133330C800317ECB /* Sources */, + 274FF5EB133330C800317ECB /* Frameworks */, + 274FF5EC133330C800317ECB /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 274FF5F3133330FD00317ECB /* PBXTargetDependency */, + ); + name = libcupsppdc; + productName = libcupsppdc; + productReference = 274FF5EE133330C800317ECB /* libcupsppdc.dylib */; + productType = "com.apple.product-type.library.dynamic"; + }; + 274FF6281333333600317ECB /* cups-deviced */ = { + isa = PBXNativeTarget; + buildConfigurationList = 274FF62F1333333600317ECB /* Build configuration list for PBXNativeTarget "cups-deviced" */; + buildPhases = ( + 274FF6251333333600317ECB /* Sources */, + 274FF6261333333600317ECB /* Frameworks */, + 274FF6271333333600317ECB /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 274FF6341333335200317ECB /* PBXTargetDependency */, + ); + name = "cups-deviced"; + productName = "cups-deviced"; + productReference = 274FF6291333333600317ECB /* cups-deviced */; + productType = "com.apple.product-type.tool"; + }; + 274FF63D1333358B00317ECB /* cups-exec */ = { + isa = PBXNativeTarget; + buildConfigurationList = 274FF6441333358C00317ECB /* Build configuration list for PBXNativeTarget "cups-exec" */; + buildPhases = ( + 274FF63A1333358B00317ECB /* Sources */, + 274FF63B1333358B00317ECB /* Frameworks */, + 274FF63C1333358B00317ECB /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "cups-exec"; + productName = "cups-exec"; + productReference = 274FF63E1333358B00317ECB /* cups-exec */; + productType = "com.apple.product-type.tool"; + }; + 274FF64E133339C400317ECB /* cups-lpd */ = { + isa = PBXNativeTarget; + buildConfigurationList = 274FF655133339C400317ECB /* Build configuration list for PBXNativeTarget "cups-lpd" */; + buildPhases = ( + 274FF64B133339C400317ECB /* Sources */, + 274FF64C133339C400317ECB /* Frameworks */, + 274FF64D133339C400317ECB /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 274FF65A133339D900317ECB /* PBXTargetDependency */, + ); + name = "cups-lpd"; + productName = "cups-lpd"; + productReference = 274FF64F133339C400317ECB /* cups-lpd */; + productType = "com.apple.product-type.tool"; + }; + 274FF67713333B2F00317ECB /* cupsfilter */ = { + isa = PBXNativeTarget; + buildConfigurationList = 274FF67E13333B2F00317ECB /* Build configuration list for PBXNativeTarget "cupsfilter" */; + buildPhases = ( + 274FF67413333B2F00317ECB /* Sources */, + 274FF67513333B2F00317ECB /* Frameworks */, + 274FF67613333B2F00317ECB /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 274FF68213333B3C00317ECB /* PBXTargetDependency */, + 274FF68413333B3C00317ECB /* PBXTargetDependency */, + ); + name = cupsfilter; + productName = cupsfilter; + productReference = 274FF67813333B2F00317ECB /* cupsfilter */; + productType = "com.apple.product-type.tool"; + }; + 274FF6891333B1C400317ECB /* libcups_static */ = { + isa = PBXNativeTarget; + buildConfigurationList = 274FF6DD1333B1C400317ECB /* Build configuration list for PBXNativeTarget "libcups_static" */; + buildPhases = ( + 274FF68A1333B1C400317ECB /* Sources */, + 274FF6B91333B1C400317ECB /* Frameworks */, + 274FF6C11333B1C400317ECB /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = libcups_static; + productName = libcups; + productReference = 72A4332F155844CF002E172D /* libcups_static.a */; + productType = "com.apple.product-type.library.dynamic"; + }; + 2766835B1337A9B6000D33D0 /* cupsctl */ = { + isa = PBXNativeTarget; + buildConfigurationList = 276683621337A9B6000D33D0 /* Build configuration list for PBXNativeTarget "cupsctl" */; + buildPhases = ( + 276683581337A9B6000D33D0 /* Sources */, + 276683591337A9B6000D33D0 /* Frameworks */, + 2766835A1337A9B6000D33D0 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 276683661337A9D6000D33D0 /* PBXTargetDependency */, + ); + name = cupsctl; + productName = cupsctl; + productReference = 2766835C1337A9B6000D33D0 /* cupsctl */; + productType = "com.apple.product-type.tool"; + }; + 2766836F1337AC79000D33D0 /* ppdc */ = { + isa = PBXNativeTarget; + buildConfigurationList = 276683761337AC79000D33D0 /* Build configuration list for PBXNativeTarget "ppdc" */; + buildPhases = ( + 2766836C1337AC79000D33D0 /* Sources */, + 2766836D1337AC79000D33D0 /* Frameworks */, + 2766836E1337AC79000D33D0 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 276683AE1337ACF9000D33D0 /* PBXTargetDependency */, + 276683B01337ACF9000D33D0 /* PBXTargetDependency */, + ); + name = ppdc; + productName = ppdc; + productReference = 276683701337AC79000D33D0 /* ppdc */; + productType = "com.apple.product-type.tool"; + }; + 2766837C1337AC8C000D33D0 /* ppdhtml */ = { + isa = PBXNativeTarget; + buildConfigurationList = 276683831337AC8C000D33D0 /* Build configuration list for PBXNativeTarget "ppdhtml" */; + buildPhases = ( + 276683791337AC8C000D33D0 /* Sources */, + 2766837A1337AC8C000D33D0 /* Frameworks */, + 2766837B1337AC8C000D33D0 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 276683B41337AD18000D33D0 /* PBXTargetDependency */, + 276683B61337AD18000D33D0 /* PBXTargetDependency */, + ); + name = ppdhtml; + productName = ppdhtml; + productReference = 2766837D1337AC8C000D33D0 /* ppdhtml */; + productType = "com.apple.product-type.tool"; + }; + 276683891337AC97000D33D0 /* ppdi */ = { + isa = PBXNativeTarget; + buildConfigurationList = 276683901337AC97000D33D0 /* Build configuration list for PBXNativeTarget "ppdi" */; + buildPhases = ( + 276683861337AC97000D33D0 /* Sources */, + 276683871337AC97000D33D0 /* Frameworks */, + 276683881337AC97000D33D0 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 276683BC1337AE49000D33D0 /* PBXTargetDependency */, + 276683BE1337AE49000D33D0 /* PBXTargetDependency */, + ); + name = ppdi; + productName = ppdi; + productReference = 2766838A1337AC97000D33D0 /* ppdi */; + productType = "com.apple.product-type.tool"; + }; + 276683961337ACA2000D33D0 /* ppdmerge */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2766839D1337ACA2000D33D0 /* Build configuration list for PBXNativeTarget "ppdmerge" */; + buildPhases = ( + 276683931337ACA2000D33D0 /* Sources */, + 276683941337ACA2000D33D0 /* Frameworks */, + 276683951337ACA2000D33D0 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 276683C01337B1AD000D33D0 /* PBXTargetDependency */, + 276683C21337B1AD000D33D0 /* PBXTargetDependency */, + ); + name = ppdmerge; + productName = ppdmerge; + productReference = 276683971337ACA2000D33D0 /* ppdmerge */; + productType = "com.apple.product-type.tool"; + }; + 276683A31337ACAB000D33D0 /* ppdpo */ = { + isa = PBXNativeTarget; + buildConfigurationList = 276683AA1337ACAB000D33D0 /* Build configuration list for PBXNativeTarget "ppdpo" */; + buildPhases = ( + 276683A01337ACAB000D33D0 /* Sources */, + 276683A11337ACAB000D33D0 /* Frameworks */, + 276683A21337ACAB000D33D0 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 276683C61337B1BC000D33D0 /* PBXTargetDependency */, + 276683C81337B1BC000D33D0 /* PBXTargetDependency */, + ); + name = ppdpo; + productName = ppdpo; + productReference = 276683A41337ACAB000D33D0 /* ppdpo */; + productType = "com.apple.product-type.tool"; + }; + 276683EF1337F78E000D33D0 /* ipptool */ = { + isa = PBXNativeTarget; + buildConfigurationList = 276683F61337F78F000D33D0 /* Build configuration list for PBXNativeTarget "ipptool" */; + buildPhases = ( + 276683EC1337F78E000D33D0 /* Sources */, + 276683ED1337F78E000D33D0 /* Frameworks */, + 276683EE1337F78E000D33D0 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 276683FC1337F7B3000D33D0 /* PBXTargetDependency */, + ); + name = ipptool; + productName = ipptool; + productReference = 276683F01337F78E000D33D0 /* ipptool */; + productType = "com.apple.product-type.tool"; + }; + 2767FC4619266A0D000F61D3 /* testdest */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2767FC4D19266A0D000F61D3 /* Build configuration list for PBXNativeTarget "testdest" */; + buildPhases = ( + 2767FC4919266A0D000F61D3 /* Sources */, + 2767FC4B19266A0D000F61D3 /* Frameworks */, + 2767FC4C19266A0D000F61D3 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 2767FC4719266A0D000F61D3 /* PBXTargetDependency */, + ); + name = testdest; + productName = testcups; + productReference = 2767FC5019266A0D000F61D3 /* testdest */; + productType = "com.apple.product-type.tool"; + }; + 278C58CA136B640300836530 /* testhttp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 278C58D3136B640300836530 /* Build configuration list for PBXNativeTarget "testhttp" */; + buildPhases = ( + 278C58C7136B640300836530 /* Sources */, + 278C58C8136B640300836530 /* Frameworks */, + 278C58C9136B640300836530 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 278C58D8136B642F00836530 /* PBXTargetDependency */, + ); + name = testhttp; + productName = testhttp; + productReference = 278C58CB136B640300836530 /* testhttp */; + productType = "com.apple.product-type.tool"; + }; + 27A0347A1A8BDB1200650675 /* lpadmin */ = { + isa = PBXNativeTarget; + buildConfigurationList = 27A034811A8BDB1300650675 /* Build configuration list for PBXNativeTarget "lpadmin" */; + buildPhases = ( + 27A034771A8BDB1200650675 /* Sources */, + 27A034781A8BDB1200650675 /* Frameworks */, + 27A034791A8BDB1200650675 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 27A034841A8BDC4A00650675 /* PBXTargetDependency */, + ); + name = lpadmin; + productName = lpadmin; + productReference = 27A0347B1A8BDB1300650675 /* lpadmin */; + productType = "com.apple.product-type.tool"; + }; + 720DD6C11358FD5F0064AA82 /* snmp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 720DD6CB1358FD600064AA82 /* Build configuration list for PBXNativeTarget "snmp" */; + buildPhases = ( + 720DD6BE1358FD5F0064AA82 /* Sources */, + 720DD6BF1358FD5F0064AA82 /* Frameworks */, + 720DD6C01358FD5F0064AA82 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 720DD6CF1358FD790064AA82 /* PBXTargetDependency */, + ); + name = snmp; + productName = snmp; + productReference = 720DD6C21358FD5F0064AA82 /* snmp */; + productType = "com.apple.product-type.tool"; + }; + 72220EAD1333047D00FCA411 /* libcups */ = { + isa = PBXNativeTarget; + buildConfigurationList = 72220EB21333047D00FCA411 /* Build configuration list for PBXNativeTarget "libcups" */; + buildPhases = ( + 72220EAA1333047D00FCA411 /* Sources */, + 72220EAB1333047D00FCA411 /* Frameworks */, + 72220EAC1333047D00FCA411 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = libcups; + productName = libcups; + productReference = 72220EAE1333047D00FCA411 /* libcups.dylib */; + productType = "com.apple.product-type.library.dynamic"; + }; + 72220F5A13330A5A00FCA411 /* cupsd */ = { + isa = PBXNativeTarget; + buildConfigurationList = 72220F6113330A5A00FCA411 /* Build configuration list for PBXNativeTarget "cupsd" */; + buildPhases = ( + 72220F5713330A5A00FCA411 /* Sources */, + 72220F5813330A5A00FCA411 /* Frameworks */, + 72220F5913330A5A00FCA411 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 72220FBE13330C0B00FCA411 /* PBXTargetDependency */, + 72220F6513330A6500FCA411 /* PBXTargetDependency */, + ); + name = cupsd; + productName = cupsd; + productReference = 72220F5B13330A5A00FCA411 /* cupsd */; + productType = "com.apple.product-type.tool"; + }; + 72220FAB13330B2200FCA411 /* libcupsmime */ = { + isa = PBXNativeTarget; + buildConfigurationList = 72220FAD13330B2300FCA411 /* Build configuration list for PBXNativeTarget "libcupsmime" */; + buildPhases = ( + 72220FA813330B2200FCA411 /* Sources */, + 72220FA913330B2200FCA411 /* Frameworks */, + 72220FAA13330B2200FCA411 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 72220FBC13330C0500FCA411 /* PBXTargetDependency */, + ); + name = libcupsmime; + productName = libcupsmime; + productReference = 72220FAC13330B2200FCA411 /* libcupsmime.dylib */; + productType = "com.apple.product-type.library.dynamic"; + }; + 724378FC1333E43E009631B9 /* ipp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724379031333E43E009631B9 /* Build configuration list for PBXNativeTarget "ipp" */; + buildPhases = ( + 724378F91333E43E009631B9 /* Sources */, + 724378FA1333E43E009631B9 /* Frameworks */, + 724378FB1333E43E009631B9 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724379071333E49B009631B9 /* PBXTargetDependency */, + ); + name = ipp; + productName = ipp; + productReference = 724378FD1333E43E009631B9 /* ipp */; + productType = "com.apple.product-type.tool"; + }; + 724379171333E532009631B9 /* lpd */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7243791E1333E532009631B9 /* Build configuration list for PBXNativeTarget "lpd" */; + buildPhases = ( + 724379141333E532009631B9 /* Sources */, + 724379151333E532009631B9 /* Frameworks */, + 724379161333E532009631B9 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724379261333E932009631B9 /* PBXTargetDependency */, + ); + name = lpd; + productName = lpd; + productReference = 724379181333E532009631B9 /* lpd */; + productType = "com.apple.product-type.tool"; + }; + 7243792F1333FB85009631B9 /* socket */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724379361333FB85009631B9 /* Build configuration list for PBXNativeTarget "socket" */; + buildPhases = ( + 7243792C1333FB85009631B9 /* Sources */, + 7243792D1333FB85009631B9 /* Frameworks */, + 7243792E1333FB85009631B9 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 7243793A1333FB95009631B9 /* PBXTargetDependency */, + ); + name = socket; + productName = socket; + productReference = 724379301333FB85009631B9 /* socket */; + productType = "com.apple.product-type.tool"; + }; + 724379461333FEA9009631B9 /* dnssd */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7243794D1333FEA9009631B9 /* Build configuration list for PBXNativeTarget "dnssd" */; + buildPhases = ( + 724379431333FEA9009631B9 /* Sources */, + 724379441333FEA9009631B9 /* Frameworks */, + 724379451333FEA9009631B9 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724379551333FEFE009631B9 /* PBXTargetDependency */, + ); + name = dnssd; + productName = dnssd; + productReference = 724379471333FEA9009631B9 /* dnssd */; + productType = "com.apple.product-type.tool"; + }; + 7243795A1333FF1D009631B9 /* usb */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724379611333FF1D009631B9 /* Build configuration list for PBXNativeTarget "usb" */; + buildPhases = ( + 724379571333FF1D009631B9 /* Sources */, + 724379581333FF1D009631B9 /* Frameworks */, + 724379591333FF1D009631B9 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724379651333FF2E009631B9 /* PBXTargetDependency */, + ); + name = usb; + productName = usb; + productReference = 7243795B1333FF1D009631B9 /* usb */; + productType = "com.apple.product-type.tool"; + }; + 724FA5241CC0370C0092477B /* testadmin */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA5321CC0370C0092477B /* Build configuration list for PBXNativeTarget "testadmin" */; + buildPhases = ( + 724FA5271CC0370C0092477B /* Sources */, + 724FA5291CC0370C0092477B /* Frameworks */, + 724FA5311CC0370C0092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA5251CC0370C0092477B /* PBXTargetDependency */, + ); + name = testadmin; + productName = testcups; + productReference = 724FA5351CC0370C0092477B /* testadmin */; + productType = "com.apple.product-type.tool"; + }; + 724FA5371CC037370092477B /* testarray */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA5451CC037370092477B /* Build configuration list for PBXNativeTarget "testarray" */; + buildPhases = ( + 724FA53A1CC037370092477B /* Sources */, + 724FA53C1CC037370092477B /* Frameworks */, + 724FA5441CC037370092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA5381CC037370092477B /* PBXTargetDependency */, + ); + name = testarray; + productName = testcups; + productReference = 724FA5481CC037370092477B /* testarray */; + productType = "com.apple.product-type.tool"; + }; + 724FA54A1CC037500092477B /* testcache */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA5581CC037500092477B /* Build configuration list for PBXNativeTarget "testcache" */; + buildPhases = ( + 724FA54D1CC037500092477B /* Sources */, + 724FA54F1CC037500092477B /* Frameworks */, + 724FA5571CC037500092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA54B1CC037500092477B /* PBXTargetDependency */, + ); + name = testcache; + productName = testcups; + productReference = 724FA55B1CC037500092477B /* testcache */; + productType = "com.apple.product-type.tool"; + }; + 724FA55D1CC037670092477B /* testconflicts */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA56B1CC037670092477B /* Build configuration list for PBXNativeTarget "testconflicts" */; + buildPhases = ( + 724FA5601CC037670092477B /* Sources */, + 724FA5621CC037670092477B /* Frameworks */, + 724FA56A1CC037670092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA55E1CC037670092477B /* PBXTargetDependency */, + ); + name = testconflicts; + productName = testcups; + productReference = 724FA56E1CC037670092477B /* testconflicts */; + productType = "com.apple.product-type.tool"; + }; + 724FA5701CC037810092477B /* testfile */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA57E1CC037810092477B /* Build configuration list for PBXNativeTarget "testfile" */; + buildPhases = ( + 724FA5731CC037810092477B /* Sources */, + 724FA5751CC037810092477B /* Frameworks */, + 724FA57D1CC037810092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA5711CC037810092477B /* PBXTargetDependency */, + ); + name = testfile; + productName = testcups; + productReference = 724FA5811CC037810092477B /* testfile */; + productType = "com.apple.product-type.tool"; + }; + 724FA5831CC037980092477B /* testi18n */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA5911CC037980092477B /* Build configuration list for PBXNativeTarget "testi18n" */; + buildPhases = ( + 724FA5861CC037980092477B /* Sources */, + 724FA5881CC037980092477B /* Frameworks */, + 724FA5901CC037980092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA5841CC037980092477B /* PBXTargetDependency */, + ); + name = testi18n; + productName = testhttp; + productReference = 724FA5941CC037980092477B /* testi18n */; + productType = "com.apple.product-type.tool"; + }; + 724FA5961CC037AA0092477B /* testipp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA5A41CC037AA0092477B /* Build configuration list for PBXNativeTarget "testipp" */; + buildPhases = ( + 724FA5991CC037AA0092477B /* Sources */, + 724FA59B1CC037AA0092477B /* Frameworks */, + 724FA5A31CC037AA0092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA5971CC037AA0092477B /* PBXTargetDependency */, + ); + name = testipp; + productName = testhttp; + productReference = 724FA5A71CC037AA0092477B /* testipp */; + productType = "com.apple.product-type.tool"; + }; + 724FA5A91CC037C60092477B /* testlang */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA5B71CC037C60092477B /* Build configuration list for PBXNativeTarget "testlang" */; + buildPhases = ( + 724FA5AC1CC037C60092477B /* Sources */, + 724FA5AE1CC037C60092477B /* Frameworks */, + 724FA5B61CC037C60092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA5AA1CC037C60092477B /* PBXTargetDependency */, + ); + name = testlang; + productName = testhttp; + productReference = 724FA5BA1CC037C60092477B /* testlang */; + productType = "com.apple.product-type.tool"; + }; + 724FA5BC1CC037D90092477B /* testlpd */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA5CA1CC037D90092477B /* Build configuration list for PBXNativeTarget "testlpd" */; + buildPhases = ( + 724FA5BF1CC037D90092477B /* Sources */, + 724FA5C11CC037D90092477B /* Frameworks */, + 724FA5C91CC037D90092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA5BD1CC037D90092477B /* PBXTargetDependency */, + ); + name = testlpd; + productName = testhttp; + productReference = 724FA5CD1CC037D90092477B /* testlpd */; + productType = "com.apple.product-type.tool"; + }; + 724FA5CF1CC037F00092477B /* testoptions */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA5DE1CC037F00092477B /* Build configuration list for PBXNativeTarget "testoptions" */; + buildPhases = ( + 724FA5D41CC037F00092477B /* Sources */, + 724FA5D61CC037F00092477B /* Frameworks */, + 724FA5DD1CC037F00092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA5D01CC037F00092477B /* PBXTargetDependency */, + ); + name = testoptions; + productName = testmime; + productReference = 724FA5E11CC037F00092477B /* testoptions */; + productType = "com.apple.product-type.tool"; + }; + 724FA5E31CC038040092477B /* testppd */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA5F21CC038040092477B /* Build configuration list for PBXNativeTarget "testppd" */; + buildPhases = ( + 724FA5E81CC038040092477B /* Sources */, + 724FA5EA1CC038040092477B /* Frameworks */, + 724FA5F11CC038040092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA5E41CC038040092477B /* PBXTargetDependency */, + ); + name = testppd; + productName = testmime; + productReference = 724FA5F51CC038040092477B /* testppd */; + productType = "com.apple.product-type.tool"; + }; + 724FA5F71CC038190092477B /* testpwg */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA6061CC038190092477B /* Build configuration list for PBXNativeTarget "testpwg" */; + buildPhases = ( + 724FA5FC1CC038190092477B /* Sources */, + 724FA5FE1CC038190092477B /* Frameworks */, + 724FA6051CC038190092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA5F81CC038190092477B /* PBXTargetDependency */, + ); + name = testpwg; + productName = testmime; + productReference = 724FA6091CC038190092477B /* testpwg */; + productType = "com.apple.product-type.tool"; + }; + 724FA60B1CC0382B0092477B /* testraster */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA61A1CC0382B0092477B /* Build configuration list for PBXNativeTarget "testraster" */; + buildPhases = ( + 724FA6101CC0382B0092477B /* Sources */, + 724FA6121CC0382B0092477B /* Frameworks */, + 724FA6191CC0382B0092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA60C1CC0382B0092477B /* PBXTargetDependency */, + ); + name = testraster; + productName = testmime; + productReference = 724FA61D1CC0382B0092477B /* testraster */; + productType = "com.apple.product-type.tool"; + }; + 724FA61F1CC038410092477B /* testsnmp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA62E1CC038410092477B /* Build configuration list for PBXNativeTarget "testsnmp" */; + buildPhases = ( + 724FA6241CC038410092477B /* Sources */, + 724FA6261CC038410092477B /* Frameworks */, + 724FA62D1CC038410092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA6201CC038410092477B /* PBXTargetDependency */, + ); + name = testsnmp; + productName = testmime; + productReference = 724FA6311CC038410092477B /* testsnmp */; + productType = "com.apple.product-type.tool"; + }; + 724FA6331CC038560092477B /* testspeed */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA6421CC038560092477B /* Build configuration list for PBXNativeTarget "testspeed" */; + buildPhases = ( + 724FA6381CC038560092477B /* Sources */, + 724FA63A1CC038560092477B /* Frameworks */, + 724FA6411CC038560092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA6341CC038560092477B /* PBXTargetDependency */, + ); + name = testspeed; + productName = testmime; + productReference = 724FA6451CC038560092477B /* testspeed */; + productType = "com.apple.product-type.tool"; + }; + 724FA6471CC0386E0092477B /* testsub */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA6561CC0386E0092477B /* Build configuration list for PBXNativeTarget "testsub" */; + buildPhases = ( + 724FA64C1CC0386E0092477B /* Sources */, + 724FA64E1CC0386E0092477B /* Frameworks */, + 724FA6551CC0386E0092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA6481CC0386E0092477B /* PBXTargetDependency */, + ); + name = testsub; + productName = testmime; + productReference = 724FA6591CC0386E0092477B /* testsub */; + productType = "com.apple.product-type.tool"; + }; + 724FA65E1CC038A50092477B /* test1284 */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA66D1CC038A50092477B /* Build configuration list for PBXNativeTarget "test1284" */; + buildPhases = ( + 724FA6631CC038A50092477B /* Sources */, + 724FA6651CC038A50092477B /* Frameworks */, + 724FA66C1CC038A50092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA65F1CC038A50092477B /* PBXTargetDependency */, + ); + name = test1284; + productName = testmime; + productReference = 724FA6701CC038A50092477B /* test1284 */; + productType = "com.apple.product-type.tool"; + }; + 724FA6721CC038BD0092477B /* testbackend */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA6801CC038BD0092477B /* Build configuration list for PBXNativeTarget "testbackend" */; + buildPhases = ( + 724FA6751CC038BD0092477B /* Sources */, + 724FA6771CC038BD0092477B /* Frameworks */, + 724FA67F1CC038BD0092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA6731CC038BD0092477B /* PBXTargetDependency */, + ); + name = testbackend; + productName = testcups; + productReference = 724FA6831CC038BD0092477B /* testbackend */; + productType = "com.apple.product-type.tool"; + }; + 724FA6851CC038D90092477B /* testsupplies */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA6941CC038D90092477B /* Build configuration list for PBXNativeTarget "testsupplies" */; + buildPhases = ( + 724FA68A1CC038D90092477B /* Sources */, + 724FA68C1CC038D90092477B /* Frameworks */, + 724FA6931CC038D90092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA6861CC038D90092477B /* PBXTargetDependency */, + ); + name = testsupplies; + productName = testmime; + productReference = 724FA6971CC038D90092477B /* testsupplies */; + productType = "com.apple.product-type.tool"; + }; + 724FA6991CC039200092477B /* testcgi */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA6A71CC039200092477B /* Build configuration list for PBXNativeTarget "testcgi" */; + buildPhases = ( + 724FA69C1CC039200092477B /* Sources */, + 724FA69E1CC039200092477B /* Frameworks */, + 724FA6A61CC039200092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271284CB1CC122D000E517C7 /* PBXTargetDependency */, + 724FA69A1CC039200092477B /* PBXTargetDependency */, + ); + name = testcgi; + productName = testcups; + productReference = 724FA6AA1CC039200092477B /* testcgi */; + productType = "com.apple.product-type.tool"; + }; + 724FA6AC1CC0393E0092477B /* testhi */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA6BA1CC0393E0092477B /* Build configuration list for PBXNativeTarget "testhi" */; + buildPhases = ( + 724FA6AF1CC0393E0092477B /* Sources */, + 724FA6B11CC0393E0092477B /* Frameworks */, + 724FA6B91CC0393E0092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271284CF1CC122ED00E517C7 /* PBXTargetDependency */, + 724FA6AD1CC0393E0092477B /* PBXTargetDependency */, + ); + name = testhi; + productName = testhttp; + productReference = 724FA6BD1CC0393E0092477B /* testhi */; + productType = "com.apple.product-type.tool"; + }; + 724FA6BF1CC0395A0092477B /* testtemplate */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA6CE1CC0395A0092477B /* Build configuration list for PBXNativeTarget "testtemplate" */; + buildPhases = ( + 724FA6C41CC0395A0092477B /* Sources */, + 724FA6C61CC0395A0092477B /* Frameworks */, + 724FA6CD1CC0395A0092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271284D41CC1232500E517C7 /* PBXTargetDependency */, + 724FA6C01CC0395A0092477B /* PBXTargetDependency */, + ); + name = testtemplate; + productName = testmime; + productReference = 724FA6D11CC0395A0092477B /* testtemplate */; + productType = "com.apple.product-type.tool"; + }; + 724FA6D81CC039DE0092477B /* testnotify */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA6E71CC039DE0092477B /* Build configuration list for PBXNativeTarget "testnotify" */; + buildPhases = ( + 724FA6DD1CC039DE0092477B /* Sources */, + 724FA6DF1CC039DE0092477B /* Frameworks */, + 724FA6E61CC039DE0092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 724FA6D91CC039DE0092477B /* PBXTargetDependency */, + ); + name = testnotify; + productName = testmime; + productReference = 724FA6EA1CC039DE0092477B /* testnotify */; + productType = "com.apple.product-type.tool"; + }; + 724FA6ED1CC03A210092477B /* testcatalog */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA6FC1CC03A210092477B /* Build configuration list for PBXNativeTarget "testcatalog" */; + buildPhases = ( + 724FA6F21CC03A210092477B /* Sources */, + 724FA6F41CC03A210092477B /* Frameworks */, + 724FA6FB1CC03A210092477B /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 271284CD1CC122E400E517C7 /* PBXTargetDependency */, + 724FA6EE1CC03A210092477B /* PBXTargetDependency */, + ); + name = testcatalog; + productName = testmime; + productReference = 724FA6FF1CC03A210092477B /* testcatalog */; + productType = "com.apple.product-type.tool"; + }; + 724FA7011CC03A490092477B /* libcupsimage_static */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA70C1CC03A490092477B /* Build configuration list for PBXNativeTarget "libcupsimage_static" */; + buildPhases = ( + 724FA7041CC03A490092477B /* Sources */, + 724FA7081CC03A490092477B /* Frameworks */, + 724FA70A1CC03A490092477B /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = libcupsimage_static; + productName = libcupsimage; + productReference = 724FA70F1CC03A490092477B /* libcupsimage_static.a */; + productType = "com.apple.product-type.library.dynamic"; + }; + 724FA7101CC03A990092477B /* libcupsmime_static */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA71C1CC03A990092477B /* Build configuration list for PBXNativeTarget "libcupsmime_static" */; + buildPhases = ( + 724FA7131CC03A990092477B /* Sources */, + 724FA7171CC03A990092477B /* Frameworks */, + 724FA7191CC03A990092477B /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = libcupsmime_static; + productName = libcupsmime; + productReference = 724FA71F1CC03A990092477B /* libcupsmime_static.a */; + productType = "com.apple.product-type.library.dynamic"; + }; + 724FA7201CC03AAF0092477B /* libcupsppdc_static */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA73D1CC03AAF0092477B /* Build configuration list for PBXNativeTarget "libcupsppdc_static" */; + buildPhases = ( + 724FA7231CC03AAF0092477B /* Sources */, + 724FA7371CC03AAF0092477B /* Frameworks */, + 724FA73A1CC03AAF0092477B /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = libcupsppdc_static; + productName = libcupsppdc; + productReference = 724FA7401CC03AAF0092477B /* libcupsppdc_static.a */; + productType = "com.apple.product-type.library.dynamic"; + }; + 724FA7411CC03ACC0092477B /* libcupscgi */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA74C1CC03ACC0092477B /* Build configuration list for PBXNativeTarget "libcupscgi" */; + buildPhases = ( + 724FA7441CC03ACC0092477B /* Sources */, + 724FA7481CC03ACC0092477B /* Frameworks */, + 724FA74A1CC03ACC0092477B /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 724FA7421CC03ACC0092477B /* PBXTargetDependency */, + ); + name = libcupscgi; + productName = libcupsimage; + productReference = 724FA74F1CC03ACC0092477B /* libcupscgi.dylib */; + productType = "com.apple.product-type.library.dynamic"; + }; + 724FA7581CC03AF60092477B /* libcupscgi_static */ = { + isa = PBXNativeTarget; + buildConfigurationList = 724FA7681CC03AF60092477B /* Build configuration list for PBXNativeTarget "libcupscgi_static" */; + buildPhases = ( + 724FA75B1CC03AF60092477B /* Sources */, + 724FA7641CC03AF60092477B /* Frameworks */, + 724FA7661CC03AF60092477B /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = libcupscgi_static; + productName = libcupsimage; + productReference = 724FA76B1CC03AF60092477B /* libcupscgi_static.a */; + productType = "com.apple.product-type.library.dynamic"; + }; + 7258EAE1134594C4009286F1 /* rastertopwg */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7258EAE9134594C4009286F1 /* Build configuration list for PBXNativeTarget "rastertopwg" */; + buildPhases = ( + 7258EADE134594C4009286F1 /* Sources */, + 7258EADF134594C4009286F1 /* Frameworks */, + 7258EAE0134594C4009286F1 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 7258EAF113459B67009286F1 /* PBXTargetDependency */, + ); + name = rastertopwg; + productName = rastertopwg; + productReference = 7258EAE2134594C4009286F1 /* rastertopwg */; + productType = "com.apple.product-type.tool"; + }; + 726AD6F6135E88F0002C930D /* ippeveprinter */ = { + isa = PBXNativeTarget; + buildConfigurationList = 726AD6FE135E88F1002C930D /* Build configuration list for PBXNativeTarget "ippeveprinter" */; + buildPhases = ( + 726AD6F3135E88F0002C930D /* Sources */, + 726AD6F4135E88F0002C930D /* Frameworks */, + 726AD6F5135E88F0002C930D /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 273B1EC9226B420500428143 /* PBXTargetDependency */, + ); + name = ippeveprinter; + productName = ippserver; + productReference = 726AD6F7135E88F0002C930D /* ippeveprinter */; + productType = "com.apple.product-type.tool"; + }; + 729181AC201155C1005E7560 /* testclient */ = { + isa = PBXNativeTarget; + buildConfigurationList = 729181BB201155C1005E7560 /* Build configuration list for PBXNativeTarget "testclient" */; + buildPhases = ( + 729181B1201155C1005E7560 /* Sources */, + 729181B3201155C1005E7560 /* Frameworks */, + 729181BA201155C1005E7560 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 729181AF201155C1005E7560 /* PBXTargetDependency */, + ); + name = testclient; + productName = testmime; + productReference = 729181BE201155C1005E7560 /* testclient */; + productType = "com.apple.product-type.tool"; + }; + 72CF95E618A19134000FCAE4 /* ippfind */ = { + isa = PBXNativeTarget; + buildConfigurationList = 72CF95EE18A19134000FCAE4 /* Build configuration list for PBXNativeTarget "ippfind" */; + buildPhases = ( + 72CF95E918A19134000FCAE4 /* Sources */, + 72CF95EB18A19134000FCAE4 /* Frameworks */, + 72CF95ED18A19134000FCAE4 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 72CF95E718A19134000FCAE4 /* PBXTargetDependency */, + ); + name = ippfind; + productName = ipptool; + productReference = 72CF95F118A19134000FCAE4 /* ipptool copy */; + productType = "com.apple.product-type.tool"; + }; + 72F75A511336F950004BB496 /* cupstestppd */ = { + isa = PBXNativeTarget; + buildConfigurationList = 72F75A581336F951004BB496 /* Build configuration list for PBXNativeTarget "cupstestppd" */; + buildPhases = ( + 72F75A4E1336F950004BB496 /* Sources */, + 72F75A4F1336F950004BB496 /* Frameworks */, + 72F75A501336F950004BB496 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + 276683E41337B2BA000D33D0 /* PBXTargetDependency */, + 276683E11337B299000D33D0 /* PBXTargetDependency */, + ); + name = cupstestppd; + productName = cupstestppd; + productReference = 72F75A521336F950004BB496 /* cupstestppd */; + productType = "com.apple.product-type.tool"; + }; + 72F75A601336F9A3004BB496 /* libcupsimage */ = { + isa = PBXNativeTarget; + buildConfigurationList = 72F75A621336F9A3004BB496 /* Build configuration list for PBXNativeTarget "libcupsimage" */; + buildPhases = ( + 72F75A5D1336F9A3004BB496 /* Sources */, + 72F75A5E1336F9A3004BB496 /* Frameworks */, + 72F75A5F1336F9A3004BB496 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 72F75A661336FA30004BB496 /* PBXTargetDependency */, + ); + name = libcupsimage; + productName = libcupsimage; + productReference = 72F75A611336F9A3004BB496 /* libcupsimage.dylib */; + productType = "com.apple.product-type.library.dynamic"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 72BF96371333042100B1EAD7 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1100; + ORGANIZATIONNAME = "Apple Inc."; + TargetAttributes = { + 270695FD1CADF3E200FFE5FB = { + DevelopmentTeam = RU58A2256H; + }; + 27A0347A1A8BDB1200650675 = { + CreatedOnToolsVersion = 6.1.1; + }; + }; + }; + buildConfigurationList = 72BF963A1333042100B1EAD7 /* Build configuration list for PBXProject "CUPS" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 72BF96351333042100B1EAD7; + productRefGroup = 72220EAF1333047D00FCA411 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 274FF5DE13332D3000317ECB /* All */, + 273BF6D91333B6260022CAAB /* Tests */, + 72220EAD1333047D00FCA411 /* libcups */, + 270695FD1CADF3E200FFE5FB /* libcups_ios */, + 274FF6891333B1C400317ECB /* libcups_static */, + 724FA7411CC03ACC0092477B /* libcupscgi */, + 724FA7581CC03AF60092477B /* libcupscgi_static */, + 72F75A601336F9A3004BB496 /* libcupsimage */, + 724FA7011CC03A490092477B /* libcupsimage_static */, + 72220FAB13330B2200FCA411 /* libcupsmime */, + 724FA7101CC03A990092477B /* libcupsmime_static */, + 274FF5ED133330C800317ECB /* libcupsppdc */, + 724FA7201CC03AAF0092477B /* libcupsppdc_static */, + 271285951CC12D1300E517C7 /* admin.cgi */, + 271286BA1CC13E2100E517C7 /* bcp */, + 271284E11CC1261900E517C7 /* cancel */, + 271286871CC13DC000E517C7 /* checkpo */, + 271285A31CC12D3A00E517C7 /* classes.cgi */, + 271285CD1CC12DBF00E517C7 /* commandtops */, + 271284EE1CC1264B00E517C7 /* cupsaccept */, + 2766835B1337A9B6000D33D0 /* cupsctl */, + 72220F5A13330A5A00FCA411 /* cupsd */, + 274FF5CB13332B1F00317ECB /* cups-driverd */, + 274FF6281333333600317ECB /* cups-deviced */, + 274FF63D1333358B00317ECB /* cups-exec */, + 274FF64E133339C400317ECB /* cups-lpd */, + 274FF67713333B2F00317ECB /* cupsfilter */, + 72F75A511336F950004BB496 /* cupstestppd */, + 724379461333FEA9009631B9 /* dnssd */, + 2712871E1CC140BE00E517C7 /* genstrings */, + 271285DA1CC12DDF00E517C7 /* gziptoany */, + 724378FC1333E43E009631B9 /* ipp */, + 273B1E9A226B3E4800428143 /* ippevepcl */, + 726AD6F6135E88F0002C930D /* ippeveprinter */, + 273B1EAB226B3E5200428143 /* ippeveps */, + 72CF95E618A19134000FCAE4 /* ippfind */, + 276683EF1337F78E000D33D0 /* ipptool */, + 271285B11CC12D4E00E517C7 /* jobs.cgi */, + 271285081CC1267A00E517C7 /* lp */, + 27A0347A1A8BDB1200650675 /* lpadmin */, + 271285151CC1269700E517C7 /* lpc */, + 724379171333E532009631B9 /* lpd */, + 271285221CC126AA00E517C7 /* lpinfo */, + 2712852F1CC1270B00E517C7 /* lpmove */, + 2712853C1CC1271E00E517C7 /* lpoptions */, + 271285491CC1272D00E517C7 /* lpq */, + 271285561CC1274300E517C7 /* lpr */, + 271285631CC1275200E517C7 /* lprm */, + 271285701CC1276400E517C7 /* lpstat */, + 271286E51CC13F2000E517C7 /* mailto */, + 271287091CC13FAB00E517C7 /* mantohtml */, + 271286981CC13DF100E517C7 /* po2strings */, + 2766836F1337AC79000D33D0 /* ppdc */, + 2766837C1337AC8C000D33D0 /* ppdhtml */, + 276683891337AC97000D33D0 /* ppdi */, + 276683961337ACA2000D33D0 /* ppdmerge */, + 276683A31337ACAB000D33D0 /* ppdpo */, + 271285BF1CC12D5E00E517C7 /* printers.cgi */, + 271285E71CC12E2D00E517C7 /* pstops */, + 2712866B1CC1310E00E517C7 /* rasterbench */, + 271285F51CC12EEB00E517C7 /* rastertoepson */, + 271286051CC12F0B00E517C7 /* rastertohp */, + 271286151CC12F1A00E517C7 /* rastertolabel */, + 7258EAE1134594C4009286F1 /* rastertopwg */, + 271286F51CC13F3F00E517C7 /* rss */, + 720DD6C11358FD5F0064AA82 /* snmp */, + 7243792F1333FB85009631B9 /* socket */, + 271286A91CC13DFF00E517C7 /* strings2po */, + 271286CB1CC13E5B00E517C7 /* tbcp */, + 724FA65E1CC038A50092477B /* test1284 */, + 724FA5241CC0370C0092477B /* testadmin */, + 724FA5371CC037370092477B /* testarray */, + 724FA6721CC038BD0092477B /* testbackend */, + 724FA54A1CC037500092477B /* testcache */, + 724FA6ED1CC03A210092477B /* testcatalog */, + 724FA6991CC039200092477B /* testcgi */, + 729181AC201155C1005E7560 /* testclient */, + 724FA55D1CC037670092477B /* testconflicts */, + 270D02131D707E0200EA9403 /* testcreds */, + 273BF6BC1333B5000022CAAB /* testcups */, + 2767FC4619266A0D000F61D3 /* testdest */, + 724FA5701CC037810092477B /* testfile */, + 724FA6AC1CC0393E0092477B /* testhi */, + 278C58CA136B640300836530 /* testhttp */, + 724FA5831CC037980092477B /* testi18n */, + 724FA5961CC037AA0092477B /* testipp */, + 724FA5A91CC037C60092477B /* testlang */, + 724FA5BC1CC037D90092477B /* testlpd */, + 270CCDA6135E3C9E00007BE2 /* testmime */, + 724FA6D81CC039DE0092477B /* testnotify */, + 724FA5CF1CC037F00092477B /* testoptions */, + 724FA5E31CC038040092477B /* testppd */, + 724FA5F71CC038190092477B /* testpwg */, + 724FA60B1CC0382B0092477B /* testraster */, + 724FA61F1CC038410092477B /* testsnmp */, + 724FA6331CC038560092477B /* testspeed */, + 724FA6471CC0386E0092477B /* testsub */, + 724FA6851CC038D90092477B /* testsupplies */, + 724FA6BF1CC0395A0092477B /* testtemplate */, + 271286571CC1309000E517C7 /* tlscheck */, + 7243795A1333FF1D009631B9 /* usb */, + 274770D12345342B0089BC31 /* testthreads */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 270695FE1CADF3E200FFE5FB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 270696001CADF3E200FFE5FB /* array.c in Sources */, + 270696021CADF3E200FFE5FB /* auth.c in Sources */, + 270696071CADF3E200FFE5FB /* debug.c in Sources */, + 270696081CADF3E200FFE5FB /* dest.c in Sources */, + 270696091CADF3E200FFE5FB /* dir.c in Sources */, + 2706960B1CADF3E200FFE5FB /* encode.c in Sources */, + 2706960C1CADF3E200FFE5FB /* file.c in Sources */, + 2706960F1CADF3E200FFE5FB /* getputfile.c in Sources */, + 270696101CADF3E200FFE5FB /* globals.c in Sources */, + 270696111CADF3E200FFE5FB /* http-addr.c in Sources */, + 270696121CADF3E200FFE5FB /* http-addrlist.c in Sources */, + 270696131CADF3E200FFE5FB /* http-support.c in Sources */, + 7253C464216ED51500494ADD /* raster-stubs.c in Sources */, + 270696141CADF3E200FFE5FB /* http.c in Sources */, + 7253C458216E981200494ADD /* raster-stream.c in Sources */, + 270696161CADF3E200FFE5FB /* dest-options.c in Sources */, + 270696171CADF3E200FFE5FB /* ipp-support.c in Sources */, + 270696181CADF3E200FFE5FB /* ipp.c in Sources */, + 270696191CADF3E200FFE5FB /* langprintf.c in Sources */, + 2706961A1CADF3E200FFE5FB /* language.c in Sources */, + 2706961D1CADF3E200FFE5FB /* md5.c in Sources */, + 2706961E1CADF3E200FFE5FB /* md5passwd.c in Sources */, + 2706961F1CADF3E200FFE5FB /* hash.c in Sources */, + 270696201CADF3E200FFE5FB /* notify.c in Sources */, + 270696211CADF3E200FFE5FB /* options.c in Sources */, + 270696221CADF3E200FFE5FB /* tls.c in Sources */, + 270696251CADF3E200FFE5FB /* dest-job.c in Sources */, + 270696271CADF3E200FFE5FB /* pwg-media.c in Sources */, + 270696281CADF3E200FFE5FB /* dest-localization.c in Sources */, + 270696291CADF3E200FFE5FB /* request.c in Sources */, + 2706962C1CADF3E200FFE5FB /* snprintf.c in Sources */, + 2706962D1CADF3E200FFE5FB /* string.c in Sources */, + 7253C455216E980000494ADD /* raster-error.c in Sources */, + 2706965B1CAE1A9A00FFE5FB /* util.c in Sources */, + 2706962E1CADF3E200FFE5FB /* tempfile.c in Sources */, + 2706962F1CADF3E200FFE5FB /* thread.c in Sources */, + 270696301CADF3E200FFE5FB /* transcode.c in Sources */, + 270696311CADF3E200FFE5FB /* usersys.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 270CCDA3135E3C9E00007BE2 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 270CCDBC135E3D3E00007BE2 /* testmime.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 270D02161D707E0200EA9403 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 270D02261D707E3700EA9403 /* testcreds.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271284E41CC1261900E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271284ED1CC1262C00E517C7 /* cancel.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271284F11CC1264B00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271284FA1CC1265800E517C7 /* cupsaccept.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712850B1CC1267A00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285141CC1269400E517C7 /* lp.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285181CC1269700E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285211CC126A700E517C7 /* lpc.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285251CC126AA00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712852E1CC126BC00E517C7 /* lpinfo.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285321CC1270B00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712853B1CC1271B00E517C7 /* lpmove.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712853F1CC1271E00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285481CC1272900E517C7 /* lpoptions.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712854C1CC1272D00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285551CC1273C00E517C7 /* lpq.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285591CC1274300E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285621CC1274F00E517C7 /* lpr.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285661CC1275200E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712856F1CC1276000E517C7 /* lprm.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285731CC1276400E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712857C1CC1277000E517C7 /* lpstat.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285981CC12D1300E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285A11CC12D2100E517C7 /* admin.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285A61CC12D3A00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285B01CC12D4A00E517C7 /* classes.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285B41CC12D4E00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285BE1CC12D5C00E517C7 /* jobs.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285C21CC12D5E00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285CC1CC12D6D00E517C7 /* printers.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285D01CC12DBF00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285D91CC12DD000E517C7 /* commandtops.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285DD1CC12DDF00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285E61CC12DEF00E517C7 /* gziptoany.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285EA1CC12E2D00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271285F41CC12E4200E517C7 /* common.c in Sources */, + 271285F31CC12E3C00E517C7 /* pstops.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271285F81CC12EEB00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286011CC12EFA00E517C7 /* rastertoepson.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712860A1CC12F0B00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286141CC12F1800E517C7 /* rastertohp.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712861A1CC12F1A00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286241CC12F2600E517C7 /* rastertolabel.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712865A1CC1309000E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286691CC130C700E517C7 /* tlscheck.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271286701CC1310E00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712867E1CC1311D00E517C7 /* rasterbench.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712868A1CC13DC000E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286971CC13DEA00E517C7 /* checkpo.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712869B1CC13DF100E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286A81CC13DFD00E517C7 /* po2strings.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271286AC1CC13DFF00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286B91CC13E1000E517C7 /* strings2po.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271286BD1CC13E2100E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286CA1CC13E2E00E517C7 /* bcp.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271286CE1CC13E5B00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286DA1CC13E6A00E517C7 /* tbcp.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271286E81CC13F2000E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271286F41CC13F2F00E517C7 /* mailto.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271286F81CC13F3F00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271287041CC13F4C00E517C7 /* rss.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2712870C1CC13FAB00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712871A1CC13FE800E517C7 /* mantohtml.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 271287231CC140BE00E517C7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2712872D1CC140D200E517C7 /* genstrings.cxx in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 273B1E9D226B3E4800428143 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 273B1EBF226B3EF300428143 /* ippevepcl.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 273B1EAE226B3E5200428143 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 273B1EC0226B3EFF00428143 /* ippeveps.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 273BF6B91333B5000022CAAB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 273BF6C71333B5370022CAAB /* testcups.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274770D42345342B0089BC31 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 274770E2234534660089BC31 /* testthreads.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF5C813332B1F00317ECB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 274FF5D913332CC700317ECB /* cups-driverd.cxx in Sources */, + 274FF5DA13332CC700317ECB /* util.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF5EA133330C800317ECB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 274FF60A1333315100317ECB /* ppdc-array.cxx in Sources */, + 274FF60B1333315100317ECB /* ppdc-attr.cxx in Sources */, + 274FF60C1333315100317ECB /* ppdc-catalog.cxx in Sources */, + 274FF60D1333315100317ECB /* ppdc-choice.cxx in Sources */, + 274FF60E1333315100317ECB /* ppdc-constraint.cxx in Sources */, + 274FF60F1333315100317ECB /* ppdc-driver.cxx in Sources */, + 274FF6101333315100317ECB /* ppdc-file.cxx in Sources */, + 274FF6111333315100317ECB /* ppdc-filter.cxx in Sources */, + 274FF6121333315100317ECB /* ppdc-font.cxx in Sources */, + 274FF6131333315100317ECB /* ppdc-group.cxx in Sources */, + 274FF6141333315100317ECB /* ppdc-import.cxx in Sources */, + 274FF6151333315100317ECB /* ppdc-mediasize.cxx in Sources */, + 274FF6161333315100317ECB /* ppdc-message.cxx in Sources */, + 274FF6171333315100317ECB /* ppdc-option.cxx in Sources */, + 274FF6191333315100317ECB /* ppdc-profile.cxx in Sources */, + 274FF61A1333315100317ECB /* ppdc-shared.cxx in Sources */, + 274FF61B1333315100317ECB /* ppdc-source.cxx in Sources */, + 274FF61C1333315100317ECB /* ppdc-string.cxx in Sources */, + 274FF61D1333315100317ECB /* ppdc-variable.cxx in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF6251333333600317ECB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 274FF6361333344400317ECB /* cups-deviced.c in Sources */, + 274FF6371333345900317ECB /* util.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF63A1333358B00317ECB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 274FF64A1333398D00317ECB /* cups-exec.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF64B133339C400317ECB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 274FF65C133339FC00317ECB /* cups-lpd.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF67413333B2F00317ECB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 274FF68813333B6E00317ECB /* cupsfilter.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 274FF68A1333B1C400317ECB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 274FF68B1333B1C400317ECB /* adminutil.c in Sources */, + 274FF68C1333B1C400317ECB /* array.c in Sources */, + 7253C459216E981200494ADD /* raster-stream.c in Sources */, + 274FF68D1333B1C400317ECB /* ppd-attr.c in Sources */, + 274FF68E1333B1C400317ECB /* auth.c in Sources */, + 274FF68F1333B1C400317ECB /* backchannel.c in Sources */, + 720E854620164E7B00C6C411 /* ipp-vars.c in Sources */, + 274FF6901333B1C400317ECB /* backend.c in Sources */, + 274FF6911333B1C400317ECB /* ppd-conflicts.c in Sources */, + 274FF6921333B1C400317ECB /* ppd-custom.c in Sources */, + 274FF6931333B1C400317ECB /* debug.c in Sources */, + 274FF6941333B1C400317ECB /* dest.c in Sources */, + 274FF6951333B1C400317ECB /* dir.c in Sources */, + 274FF6961333B1C400317ECB /* ppd-emit.c in Sources */, + 274FF6971333B1C400317ECB /* encode.c in Sources */, + 274FF6981333B1C400317ECB /* file.c in Sources */, + 274FF6991333B1C400317ECB /* getdevices.c in Sources */, + 720E854420164E7B00C6C411 /* ipp-file.c in Sources */, + 274FF69A1333B1C400317ECB /* getifaddrs.c in Sources */, + 274FF69B1333B1C400317ECB /* getputfile.c in Sources */, + 274FF69C1333B1C400317ECB /* globals.c in Sources */, + 274FF69D1333B1C400317ECB /* http-addr.c in Sources */, + 274FF69E1333B1C400317ECB /* http-addrlist.c in Sources */, + 274FF69F1333B1C400317ECB /* http-support.c in Sources */, + 274FF6A01333B1C400317ECB /* http.c in Sources */, + 7253C45B216E981A00494ADD /* raster-interpret.c in Sources */, + 72A8B3D81C188CB900A1A547 /* ppd-util.c in Sources */, + 2767FC7419268F0C000F61D3 /* dest-options.c in Sources */, + 274FF6A11333B1C400317ECB /* ipp-support.c in Sources */, + 274FF6A21333B1C400317ECB /* ipp.c in Sources */, + 274FF6A31333B1C400317ECB /* langprintf.c in Sources */, + 274FF6A41333B1C400317ECB /* language.c in Sources */, + 274FF6A51333B1C400317ECB /* ppd-localize.c in Sources */, + 274FF6A61333B1C400317ECB /* ppd-mark.c in Sources */, + 274FF6A71333B1C400317ECB /* md5.c in Sources */, + 274FF6A81333B1C400317ECB /* md5passwd.c in Sources */, + 7284F9F11BFCCDB20026F886 /* hash.c in Sources */, + 274FF6A91333B1C400317ECB /* notify.c in Sources */, + 274FF6AA1333B1C400317ECB /* options.c in Sources */, + 727AD5B819100A58009F6862 /* tls.c in Sources */, + 7253C465216ED51500494ADD /* raster-stubs.c in Sources */, + 274FF6AB1333B1C400317ECB /* ppd-page.c in Sources */, + 7253C456216E980200494ADD /* raster-error.c in Sources */, + 274FF6AC1333B1C400317ECB /* ppd-cache.c in Sources */, + 2767FC7219268F06000F61D3 /* dest-job.c in Sources */, + 274FF6AD1333B1C400317ECB /* ppd.c in Sources */, + 274FF6AE1333B1C400317ECB /* pwg-media.c in Sources */, + 2767FC7319268F09000F61D3 /* dest-localization.c in Sources */, + 7253C460216ED51500494ADD /* raster-interstub.c in Sources */, + 274FF6AF1333B1C400317ECB /* request.c in Sources */, + 274FF6B01333B1C400317ECB /* sidechannel.c in Sources */, + 274FF6B11333B1C400317ECB /* snmp.c in Sources */, + 274FF6B21333B1C400317ECB /* snprintf.c in Sources */, + 274FF6B31333B1C400317ECB /* string.c in Sources */, + 274FF6B41333B1C400317ECB /* tempfile.c in Sources */, + 274FF6B51333B1C400317ECB /* thread.c in Sources */, + 274FF6B61333B1C400317ECB /* transcode.c in Sources */, + 274FF6B71333B1C400317ECB /* usersys.c in Sources */, + 274FF6B81333B1C400317ECB /* util.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 276683581337A9B6000D33D0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683691337AA00000D33D0 /* cupsctl.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2766836C1337AC79000D33D0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683CD1337B201000D33D0 /* ppdc.cxx in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 276683791337AC8C000D33D0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683CF1337B20D000D33D0 /* ppdhtml.cxx in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 276683861337AC97000D33D0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683D11337B21A000D33D0 /* ppdi.cxx in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 276683931337ACA2000D33D0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683D31337B228000D33D0 /* ppdmerge.cxx in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 276683A01337ACAB000D33D0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683D51337B237000D33D0 /* ppdpo.cxx in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 276683EC1337F78E000D33D0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 276683FA1337F7A9000D33D0 /* ipptool.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2767FC4919266A0D000F61D3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2767FC5219266A36000F61D3 /* testdest.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 278C58C7136B640300836530 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 278C58E3136B647200836530 /* testhttp.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 27A034771A8BDB1200650675 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 27A034821A8BDC3A00650675 /* lpadmin.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 720DD6BE1358FD5F0064AA82 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 720DD6D413590AB90064AA82 /* ieee1284.c in Sources */, + 720DD6D31358FDDE0064AA82 /* snmp.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72220EAA1333047D00FCA411 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 72220EB61333052D00FCA411 /* adminutil.c in Sources */, + 72220EC51333056300FCA411 /* array.c in Sources */, + 7253C457216E981000494ADD /* raster-stream.c in Sources */, + 72220EC71333056300FCA411 /* ppd-attr.c in Sources */, + 727AD5B719100A58009F6862 /* tls.c in Sources */, + 72220EC81333056300FCA411 /* auth.c in Sources */, + 720E854520164E7B00C6C411 /* ipp-vars.c in Sources */, + 72220EC91333056300FCA411 /* backchannel.c in Sources */, + 72220ECA1333056300FCA411 /* backend.c in Sources */, + 72220ECC1333056300FCA411 /* ppd-conflicts.c in Sources */, + 72220ECF1333056300FCA411 /* ppd-custom.c in Sources */, + 72220F0B133305BB00FCA411 /* debug.c in Sources */, + 72220F0C133305BB00FCA411 /* dest.c in Sources */, + 72220F0D133305BB00FCA411 /* dir.c in Sources */, + 72220F0F133305BB00FCA411 /* ppd-emit.c in Sources */, + 72220F10133305BB00FCA411 /* encode.c in Sources */, + 72220F12133305BB00FCA411 /* file.c in Sources */, + 720E854320164E7B00C6C411 /* ipp-file.c in Sources */, + 72220F14133305BB00FCA411 /* getdevices.c in Sources */, + 72220F15133305BB00FCA411 /* getifaddrs.c in Sources */, + 72220F16133305BB00FCA411 /* getputfile.c in Sources */, + 72220F17133305BB00FCA411 /* globals.c in Sources */, + 72220F18133305BB00FCA411 /* http-addr.c in Sources */, + 72220F19133305BB00FCA411 /* http-addrlist.c in Sources */, + 72220F1B133305BB00FCA411 /* http-support.c in Sources */, + 7253C45A216E981900494ADD /* raster-interpret.c in Sources */, + 72A8B3D71C188CB800A1A547 /* ppd-util.c in Sources */, + 72220F1C133305BB00FCA411 /* http.c in Sources */, + 72CF95E518A13543000FCAE4 /* dest-options.c in Sources */, + 72220F1F133305BB00FCA411 /* ipp-support.c in Sources */, + 72220F20133305BB00FCA411 /* ipp.c in Sources */, + 72220F22133305BB00FCA411 /* langprintf.c in Sources */, + 72220F24133305BB00FCA411 /* language.c in Sources */, + 72220F26133305BB00FCA411 /* ppd-localize.c in Sources */, + 72220F27133305BB00FCA411 /* ppd-mark.c in Sources */, + 72220F29133305BB00FCA411 /* md5.c in Sources */, + 7284F9F01BFCCDB10026F886 /* hash.c in Sources */, + 72220F2A133305BB00FCA411 /* md5passwd.c in Sources */, + 72220F2B133305BB00FCA411 /* notify.c in Sources */, + 72220F2C133305BB00FCA411 /* options.c in Sources */, + 7253C463216ED51500494ADD /* raster-stubs.c in Sources */, + 72220F2D133305BB00FCA411 /* ppd-page.c in Sources */, + 7253C454216E97FF00494ADD /* raster-error.c in Sources */, + 72220F2E133305BB00FCA411 /* ppd-cache.c in Sources */, + 72220F30133305BB00FCA411 /* ppd.c in Sources */, + 72220F32133305BB00FCA411 /* pwg-media.c in Sources */, + 72220F35133305BB00FCA411 /* request.c in Sources */, + 72220F36133305BB00FCA411 /* sidechannel.c in Sources */, + 7253C45E216ED51500494ADD /* raster-interstub.c in Sources */, + 72220F39133305BB00FCA411 /* snmp.c in Sources */, + 72220F3A133305BB00FCA411 /* snprintf.c in Sources */, + 72220F3C133305BB00FCA411 /* string.c in Sources */, + 72220F3D133305BB00FCA411 /* tempfile.c in Sources */, + 72CF95E418A13543000FCAE4 /* dest-localization.c in Sources */, + 72220F3F133305BB00FCA411 /* thread.c in Sources */, + 72220F40133305BB00FCA411 /* transcode.c in Sources */, + 72220F42133305BB00FCA411 /* usersys.c in Sources */, + 72220F43133305BB00FCA411 /* util.c in Sources */, + 72CF95E318A13543000FCAE4 /* dest-job.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72220F5713330A5A00FCA411 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 72220F9013330B0C00FCA411 /* auth.c in Sources */, + 72220F9113330B0C00FCA411 /* banners.c in Sources */, + 72220F9213330B0C00FCA411 /* cert.c in Sources */, + 72220F9313330B0C00FCA411 /* classes.c in Sources */, + 72220F9413330B0C00FCA411 /* client.c in Sources */, + 72220F9513330B0C00FCA411 /* conf.c in Sources */, + 72220F9613330B0C00FCA411 /* dirsvc.c in Sources */, + 72220F9713330B0C00FCA411 /* env.c in Sources */, + 72220F9813330B0C00FCA411 /* ipp.c in Sources */, + 72220F9913330B0C00FCA411 /* job.c in Sources */, + 72220F9A13330B0C00FCA411 /* listen.c in Sources */, + 72220F9B13330B0C00FCA411 /* log.c in Sources */, + 72220F9C13330B0C00FCA411 /* main.c in Sources */, + 72220F9D13330B0C00FCA411 /* network.c in Sources */, + 72220F9E13330B0C00FCA411 /* policy.c in Sources */, + 72220F9F13330B0C00FCA411 /* printers.c in Sources */, + 72220FA013330B0C00FCA411 /* process.c in Sources */, + 72220FA113330B0C00FCA411 /* quotas.c in Sources */, + 72220FA313330B0C00FCA411 /* select.c in Sources */, + 72220FA413330B0C00FCA411 /* server.c in Sources */, + 72220FA513330B0C00FCA411 /* statbuf.c in Sources */, + 72220FA613330B0C00FCA411 /* subscriptions.c in Sources */, + 72220FA713330B0C00FCA411 /* sysman.c in Sources */, + 72C16CB9137B195D007E4BF4 /* file.c in Sources */, + 72D53A3815B4929D003F877F /* colorman.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72220FA813330B2200FCA411 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 72220FB613330BCE00FCA411 /* filter.c in Sources */, + 72220FB713330BCE00FCA411 /* mime.c in Sources */, + 72220FB913330BCE00FCA411 /* type.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724378F91333E43E009631B9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7243790D1333E4E3009631B9 /* ipp.c in Sources */, + 7243790E1333E4E3009631B9 /* network.c in Sources */, + 7243790F1333E4E3009631B9 /* snmp-supplies.c in Sources */, + 724379131333E516009631B9 /* runloop.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724379141333E532009631B9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724379221333E928009631B9 /* network.c in Sources */, + 724379231333E928009631B9 /* runloop.c in Sources */, + 724379241333E928009631B9 /* snmp-supplies.c in Sources */, + 724379291333E952009631B9 /* lpd.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7243792C1333FB85009631B9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724379401333FD4B009631B9 /* network.c in Sources */, + 724379411333FD4B009631B9 /* runloop.c in Sources */, + 724379421333FD4B009631B9 /* snmp-supplies.c in Sources */, + 7243793D1333FD19009631B9 /* socket.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724379431333FEA9009631B9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724379511333FEBB009631B9 /* dnssd.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724379571333FF1D009631B9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724379C71333FFC7009631B9 /* usb.c in Sources */, + 724379CB1334000E009631B9 /* ieee1284.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5271CC0370C0092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5361CC0372F0092477B /* testadmin.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA53A1CC037370092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5491CC037460092477B /* testarray.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA54D1CC037500092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA55C1CC0375F0092477B /* testcache.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5601CC037670092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA56F1CC037760092477B /* testconflicts.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5731CC037810092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5821CC0378E0092477B /* testfile.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5861CC037980092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5951CC037A50092477B /* testi18n.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5991CC037AA0092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5A81CC037B70092477B /* testipp.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5AC1CC037C60092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5BB1CC037D30092477B /* testlang.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5BF1CC037D90092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5CE1CC037E50092477B /* testlpd.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5D41CC037F00092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5E21CC037FD0092477B /* testoptions.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5E81CC038040092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA5F61CC0380F0092477B /* testppd.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA5FC1CC038190092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA60A1CC038250092477B /* testpwg.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6101CC0382B0092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA61E1CC0383B0092477B /* testraster.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6241CC038410092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA6321CC038510092477B /* testsnmp.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6381CC038560092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA6461CC038650092477B /* testspeed.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA64C1CC0386E0092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA65A1CC038790092477B /* testsub.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6631CC038A50092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA6711CC038B30092477B /* test1284.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6751CC038BD0092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA6841CC038CA0092477B /* testbackend.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA68A1CC038D90092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 271284D21CC1231300E517C7 /* snmp-supplies.c in Sources */, + 724FA6981CC038E70092477B /* testsupplies.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA69C1CC039200092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA6AB1CC0392E0092477B /* testcgi.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6AF1CC0393E0092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA6BE1CC0394C0092477B /* testhi.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6C41CC0395A0092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA6D21CC039680092477B /* testtemplate.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6DD1CC039DE0092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA6EB1CC039EB0092477B /* testnotify.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA6F21CC03A210092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA7001CC03A2F0092477B /* testcatalog.cxx in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA7041CC03A490092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7253C467216ED51500494ADD /* raster-stubs.c in Sources */, + 7253C462216ED51500494ADD /* raster-interstub.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA7131CC03A990092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA7141CC03A990092477B /* filter.c in Sources */, + 724FA7151CC03A990092477B /* mime.c in Sources */, + 724FA7161CC03A990092477B /* type.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA7231CC03AAF0092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA7241CC03AAF0092477B /* ppdc-array.cxx in Sources */, + 724FA7251CC03AAF0092477B /* ppdc-attr.cxx in Sources */, + 724FA7261CC03AAF0092477B /* ppdc-catalog.cxx in Sources */, + 724FA7271CC03AAF0092477B /* ppdc-choice.cxx in Sources */, + 724FA7281CC03AAF0092477B /* ppdc-constraint.cxx in Sources */, + 724FA7291CC03AAF0092477B /* ppdc-driver.cxx in Sources */, + 724FA72A1CC03AAF0092477B /* ppdc-file.cxx in Sources */, + 724FA72B1CC03AAF0092477B /* ppdc-filter.cxx in Sources */, + 724FA72C1CC03AAF0092477B /* ppdc-font.cxx in Sources */, + 724FA72D1CC03AAF0092477B /* ppdc-group.cxx in Sources */, + 724FA72E1CC03AAF0092477B /* ppdc-import.cxx in Sources */, + 724FA72F1CC03AAF0092477B /* ppdc-mediasize.cxx in Sources */, + 724FA7301CC03AAF0092477B /* ppdc-message.cxx in Sources */, + 724FA7311CC03AAF0092477B /* ppdc-option.cxx in Sources */, + 724FA7321CC03AAF0092477B /* ppdc-profile.cxx in Sources */, + 724FA7331CC03AAF0092477B /* ppdc-shared.cxx in Sources */, + 724FA7341CC03AAF0092477B /* ppdc-source.cxx in Sources */, + 724FA7351CC03AAF0092477B /* ppdc-string.cxx in Sources */, + 724FA7361CC03AAF0092477B /* ppdc-variable.cxx in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA7441CC03ACC0092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA7511CC03AF20092477B /* help-index.c in Sources */, + 724FA7521CC03AF20092477B /* help.c in Sources */, + 724FA7531CC03AF20092477B /* html.c in Sources */, + 724FA7541CC03AF20092477B /* ipp-var.c in Sources */, + 724FA7551CC03AF20092477B /* search.c in Sources */, + 724FA7561CC03AF20092477B /* template.c in Sources */, + 724FA7571CC03AF20092477B /* var.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 724FA75B1CC03AF60092477B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 724FA75D1CC03AF60092477B /* help-index.c in Sources */, + 724FA75E1CC03AF60092477B /* help.c in Sources */, + 724FA75F1CC03AF60092477B /* html.c in Sources */, + 724FA7601CC03AF60092477B /* ipp-var.c in Sources */, + 724FA7611CC03AF60092477B /* search.c in Sources */, + 724FA7621CC03AF60092477B /* template.c in Sources */, + 724FA7631CC03AF60092477B /* var.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7258EADE134594C4009286F1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7258EAED134594EB009286F1 /* rastertopwg.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 726AD6F3135E88F0002C930D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 726AD702135E8A90002C930D /* ippeveprinter.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 729181B1201155C1005E7560 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 729181BF201155F1005E7560 /* testclient.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72CF95E918A19134000FCAE4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 72CF95F318A19165000FCAE4 /* ippfind.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72F75A4E1336F950004BB496 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 72F75A5C1336F988004BB496 /* cupstestppd.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 72F75A5D1336F9A3004BB496 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7253C466216ED51500494ADD /* raster-stubs.c in Sources */, + 7253C461216ED51500494ADD /* raster-interstub.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 270CCDB2135E3CDE00007BE2 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 270CCDA6135E3C9E00007BE2 /* testmime */; + targetProxy = 270CCDB1135E3CDE00007BE2 /* PBXContainerItemProxy */; + }; + 270CCDB8135E3CFD00007BE2 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 270CCDB7135E3CFD00007BE2 /* PBXContainerItemProxy */; + }; + 270D02141D707E0200EA9403 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 270D02151D707E0200EA9403 /* PBXContainerItemProxy */; + }; + 270D02281D707E5100EA9403 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 270D02131D707E0200EA9403 /* testcreds */; + targetProxy = 270D02271D707E5100EA9403 /* PBXContainerItemProxy */; + }; + 271284911CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 271284901CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284931CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA7581CC03AF60092477B /* libcupscgi_static */; + targetProxy = 271284921CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284951CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA7011CC03A490092477B /* libcupsimage_static */; + targetProxy = 271284941CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284971CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA7101CC03A990092477B /* libcupsmime_static */; + targetProxy = 271284961CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284991CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA7201CC03AAF0092477B /* libcupsppdc_static */; + targetProxy = 271284981CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 2712849B1CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA65E1CC038A50092477B /* test1284 */; + targetProxy = 2712849A1CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 2712849D1CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA5241CC0370C0092477B /* testadmin */; + targetProxy = 2712849C1CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 2712849F1CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA5371CC037370092477B /* testarray */; + targetProxy = 2712849E1CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284A11CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA6721CC038BD0092477B /* testbackend */; + targetProxy = 271284A01CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284A31CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA54A1CC037500092477B /* testcache */; + targetProxy = 271284A21CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284A51CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA6ED1CC03A210092477B /* testcatalog */; + targetProxy = 271284A41CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284A71CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA6991CC039200092477B /* testcgi */; + targetProxy = 271284A61CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284A91CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA55D1CC037670092477B /* testconflicts */; + targetProxy = 271284A81CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284AB1CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA5701CC037810092477B /* testfile */; + targetProxy = 271284AA1CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284AD1CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA6AC1CC0393E0092477B /* testhi */; + targetProxy = 271284AC1CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284AF1CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA5831CC037980092477B /* testi18n */; + targetProxy = 271284AE1CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284B11CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA5961CC037AA0092477B /* testipp */; + targetProxy = 271284B01CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284B31CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA5A91CC037C60092477B /* testlang */; + targetProxy = 271284B21CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284B51CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA5BC1CC037D90092477B /* testlpd */; + targetProxy = 271284B41CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284B71CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA6D81CC039DE0092477B /* testnotify */; + targetProxy = 271284B61CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284B91CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA5CF1CC037F00092477B /* testoptions */; + targetProxy = 271284B81CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284BB1CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA5E31CC038040092477B /* testppd */; + targetProxy = 271284BA1CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284BD1CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA5F71CC038190092477B /* testpwg */; + targetProxy = 271284BC1CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284BF1CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA60B1CC0382B0092477B /* testraster */; + targetProxy = 271284BE1CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284C11CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA61F1CC038410092477B /* testsnmp */; + targetProxy = 271284C01CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284C31CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA6331CC038560092477B /* testspeed */; + targetProxy = 271284C21CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284C51CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA6471CC0386E0092477B /* testsub */; + targetProxy = 271284C41CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284C71CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA6851CC038D90092477B /* testsupplies */; + targetProxy = 271284C61CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284C91CC11FA500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA6BF1CC0395A0092477B /* testtemplate */; + targetProxy = 271284C81CC11FA500E517C7 /* PBXContainerItemProxy */; + }; + 271284CB1CC122D000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA7581CC03AF60092477B /* libcupscgi_static */; + targetProxy = 271284CA1CC122D000E517C7 /* PBXContainerItemProxy */; + }; + 271284CD1CC122E400E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA7201CC03AAF0092477B /* libcupsppdc_static */; + targetProxy = 271284CC1CC122E400E517C7 /* PBXContainerItemProxy */; + }; + 271284CF1CC122ED00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA7581CC03AF60092477B /* libcupscgi_static */; + targetProxy = 271284CE1CC122ED00E517C7 /* PBXContainerItemProxy */; + }; + 271284D41CC1232500E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA7581CC03AF60092477B /* libcupscgi_static */; + targetProxy = 271284D31CC1232500E517C7 /* PBXContainerItemProxy */; + }; + 271284D61CC1234D00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA7101CC03A990092477B /* libcupsmime_static */; + targetProxy = 271284D51CC1234D00E517C7 /* PBXContainerItemProxy */; + }; + 271284E21CC1261900E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271284E31CC1261900E517C7 /* PBXContainerItemProxy */; + }; + 271284EF1CC1264B00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271284F01CC1264B00E517C7 /* PBXContainerItemProxy */; + }; + 271285091CC1267A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 2712850A1CC1267A00E517C7 /* PBXContainerItemProxy */; + }; + 271285161CC1269700E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285171CC1269700E517C7 /* PBXContainerItemProxy */; + }; + 271285231CC126AA00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285241CC126AA00E517C7 /* PBXContainerItemProxy */; + }; + 271285301CC1270B00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285311CC1270B00E517C7 /* PBXContainerItemProxy */; + }; + 2712853D1CC1271E00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 2712853E1CC1271E00E517C7 /* PBXContainerItemProxy */; + }; + 2712854A1CC1272D00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 2712854B1CC1272D00E517C7 /* PBXContainerItemProxy */; + }; + 271285571CC1274300E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285581CC1274300E517C7 /* PBXContainerItemProxy */; + }; + 271285641CC1275200E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285651CC1275200E517C7 /* PBXContainerItemProxy */; + }; + 271285711CC1276400E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285721CC1276400E517C7 /* PBXContainerItemProxy */; + }; + 2712857E1CC1295A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271284E11CC1261900E517C7 /* cancel */; + targetProxy = 2712857D1CC1295A00E517C7 /* PBXContainerItemProxy */; + }; + 271285801CC1295A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271284EE1CC1264B00E517C7 /* cupsaccept */; + targetProxy = 2712857F1CC1295A00E517C7 /* PBXContainerItemProxy */; + }; + 271285841CC1295A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285081CC1267A00E517C7 /* lp */; + targetProxy = 271285831CC1295A00E517C7 /* PBXContainerItemProxy */; + }; + 271285861CC1295A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285151CC1269700E517C7 /* lpc */; + targetProxy = 271285851CC1295A00E517C7 /* PBXContainerItemProxy */; + }; + 271285881CC1295A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285221CC126AA00E517C7 /* lpinfo */; + targetProxy = 271285871CC1295A00E517C7 /* PBXContainerItemProxy */; + }; + 2712858A1CC1295A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2712852F1CC1270B00E517C7 /* lpmove */; + targetProxy = 271285891CC1295A00E517C7 /* PBXContainerItemProxy */; + }; + 2712858C1CC1295A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2712853C1CC1271E00E517C7 /* lpoptions */; + targetProxy = 2712858B1CC1295A00E517C7 /* PBXContainerItemProxy */; + }; + 2712858E1CC1295A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285491CC1272D00E517C7 /* lpq */; + targetProxy = 2712858D1CC1295A00E517C7 /* PBXContainerItemProxy */; + }; + 271285901CC1295A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285561CC1274300E517C7 /* lpr */; + targetProxy = 2712858F1CC1295A00E517C7 /* PBXContainerItemProxy */; + }; + 271285921CC1295A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285631CC1275200E517C7 /* lprm */; + targetProxy = 271285911CC1295A00E517C7 /* PBXContainerItemProxy */; + }; + 271285941CC1295A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285701CC1276400E517C7 /* lpstat */; + targetProxy = 271285931CC1295A00E517C7 /* PBXContainerItemProxy */; + }; + 271285961CC12D1300E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285971CC12D1300E517C7 /* PBXContainerItemProxy */; + }; + 271285A41CC12D3A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285A51CC12D3A00E517C7 /* PBXContainerItemProxy */; + }; + 271285B21CC12D4E00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285B31CC12D4E00E517C7 /* PBXContainerItemProxy */; + }; + 271285C01CC12D5E00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285C11CC12D5E00E517C7 /* PBXContainerItemProxy */; + }; + 271285CE1CC12DBF00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285CF1CC12DBF00E517C7 /* PBXContainerItemProxy */; + }; + 271285DB1CC12DDF00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285DC1CC12DDF00E517C7 /* PBXContainerItemProxy */; + }; + 271285E81CC12E2D00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285E91CC12E2D00E517C7 /* PBXContainerItemProxy */; + }; + 271285F61CC12EEB00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271285F71CC12EEB00E517C7 /* PBXContainerItemProxy */; + }; + 271286081CC12F0B00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271286091CC12F0B00E517C7 /* PBXContainerItemProxy */; + }; + 271286181CC12F1A00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271286191CC12F1A00E517C7 /* PBXContainerItemProxy */; + }; + 271286351CC12F9000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285951CC12D1300E517C7 /* admin.cgi */; + targetProxy = 271286341CC12F9000E517C7 /* PBXContainerItemProxy */; + }; + 271286371CC12F9000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285A31CC12D3A00E517C7 /* classes.cgi */; + targetProxy = 271286361CC12F9000E517C7 /* PBXContainerItemProxy */; + }; + 271286391CC12F9000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285CD1CC12DBF00E517C7 /* commandtops */; + targetProxy = 271286381CC12F9000E517C7 /* PBXContainerItemProxy */; + }; + 2712863B1CC12F9000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285DA1CC12DDF00E517C7 /* gziptoany */; + targetProxy = 2712863A1CC12F9000E517C7 /* PBXContainerItemProxy */; + }; + 2712863D1CC12F9000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285B11CC12D4E00E517C7 /* jobs.cgi */; + targetProxy = 2712863C1CC12F9000E517C7 /* PBXContainerItemProxy */; + }; + 2712863F1CC12F9000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285BF1CC12D5E00E517C7 /* printers.cgi */; + targetProxy = 2712863E1CC12F9000E517C7 /* PBXContainerItemProxy */; + }; + 271286411CC12F9000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285E71CC12E2D00E517C7 /* pstops */; + targetProxy = 271286401CC12F9000E517C7 /* PBXContainerItemProxy */; + }; + 271286431CC12F9000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271285F51CC12EEB00E517C7 /* rastertoepson */; + targetProxy = 271286421CC12F9000E517C7 /* PBXContainerItemProxy */; + }; + 271286451CC12F9000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271286051CC12F0B00E517C7 /* rastertohp */; + targetProxy = 271286441CC12F9000E517C7 /* PBXContainerItemProxy */; + }; + 271286471CC12F9000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271286151CC12F1A00E517C7 /* rastertolabel */; + targetProxy = 271286461CC12F9000E517C7 /* PBXContainerItemProxy */; + }; + 271286581CC1309000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 271286591CC1309000E517C7 /* PBXContainerItemProxy */; + }; + 2712866E1CC1310E00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 2712866F1CC1310E00E517C7 /* PBXContainerItemProxy */; + }; + 271286881CC13DC000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 271286891CC13DC000E517C7 /* PBXContainerItemProxy */; + }; + 271286991CC13DF100E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 2712869A1CC13DF100E517C7 /* PBXContainerItemProxy */; + }; + 271286AA1CC13DFF00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 271286AB1CC13DFF00E517C7 /* PBXContainerItemProxy */; + }; + 271286BB1CC13E2100E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271286BC1CC13E2100E517C7 /* PBXContainerItemProxy */; + }; + 271286CC1CC13E5B00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271286CD1CC13E5B00E517C7 /* PBXContainerItemProxy */; + }; + 271286DC1CC13EF400E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271286981CC13DF100E517C7 /* po2strings */; + targetProxy = 271286DB1CC13EF400E517C7 /* PBXContainerItemProxy */; + }; + 271286DE1CC13EF400E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271286A91CC13DFF00E517C7 /* strings2po */; + targetProxy = 271286DD1CC13EF400E517C7 /* PBXContainerItemProxy */; + }; + 271286E01CC13EF400E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271286571CC1309000E517C7 /* tlscheck */; + targetProxy = 271286DF1CC13EF400E517C7 /* PBXContainerItemProxy */; + }; + 271286E21CC13F0100E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271286BA1CC13E2100E517C7 /* bcp */; + targetProxy = 271286E11CC13F0100E517C7 /* PBXContainerItemProxy */; + }; + 271286E41CC13F0100E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271286CB1CC13E5B00E517C7 /* tbcp */; + targetProxy = 271286E31CC13F0100E517C7 /* PBXContainerItemProxy */; + }; + 271286E61CC13F2000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271286E71CC13F2000E517C7 /* PBXContainerItemProxy */; + }; + 271286F61CC13F3F00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 271286F71CC13F3F00E517C7 /* PBXContainerItemProxy */; + }; + 271287061CC13F8F00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271286E51CC13F2000E517C7 /* mailto */; + targetProxy = 271287051CC13F8F00E517C7 /* PBXContainerItemProxy */; + }; + 271287081CC13F8F00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271286F51CC13F3F00E517C7 /* rss */; + targetProxy = 271287071CC13F8F00E517C7 /* PBXContainerItemProxy */; + }; + 2712870A1CC13FAB00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 2712870B1CC13FAB00E517C7 /* PBXContainerItemProxy */; + }; + 2712871C1CC13FFA00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 271287091CC13FAB00E517C7 /* mantohtml */; + targetProxy = 2712871B1CC13FFA00E517C7 /* PBXContainerItemProxy */; + }; + 2712872F1CC140DF00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 2712872E1CC140DF00E517C7 /* PBXContainerItemProxy */; + }; + 271287311CC140DF00E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724FA7201CC03AAF0092477B /* libcupsppdc_static */; + targetProxy = 271287301CC140DF00E517C7 /* PBXContainerItemProxy */; + }; + 271287361CC1411000E517C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2712871E1CC140BE00E517C7 /* genstrings */; + targetProxy = 271287351CC1411000E517C7 /* PBXContainerItemProxy */; + }; + 273B1EC2226B3F2600428143 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 273B1E9A226B3E4800428143 /* ippevepcl */; + targetProxy = 273B1EC1226B3F2600428143 /* PBXContainerItemProxy */; + }; + 273B1EC4226B3F2600428143 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 273B1EAB226B3E5200428143 /* ippeveps */; + targetProxy = 273B1EC3226B3F2600428143 /* PBXContainerItemProxy */; + }; + 273B1EC6226B41E600428143 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 273B1EC5226B41E600428143 /* PBXContainerItemProxy */; + }; + 273B1EC9226B420500428143 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 273B1EC8226B420500428143 /* PBXContainerItemProxy */; + }; + 273B1ECC226B421700428143 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 273B1ECB226B421700428143 /* PBXContainerItemProxy */; + }; + 273BF6C91333B5410022CAAB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 273BF6C81333B5410022CAAB /* PBXContainerItemProxy */; + }; + 273BF6DE1333B6370022CAAB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 273BF6BC1333B5000022CAAB /* testcups */; + targetProxy = 273BF6DD1333B6370022CAAB /* PBXContainerItemProxy */; + }; + 274770D22345342B0089BC31 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 274770D32345342B0089BC31 /* PBXContainerItemProxy */; + }; + 274770E42345347D0089BC31 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274770D12345342B0089BC31 /* testthreads */; + targetProxy = 274770E32345347D0089BC31 /* PBXContainerItemProxy */; + }; + 274FF5DC13332CF900317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 274FF5DB13332CF900317ECB /* PBXContainerItemProxy */; + }; + 274FF5E313332D4300317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 274FF5E213332D4300317ECB /* PBXContainerItemProxy */; + }; + 274FF5E513332D4300317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220FAB13330B2200FCA411 /* libcupsmime */; + targetProxy = 274FF5E413332D4300317ECB /* PBXContainerItemProxy */; + }; + 274FF5E713332D4300317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220F5A13330A5A00FCA411 /* cupsd */; + targetProxy = 274FF5E613332D4300317ECB /* PBXContainerItemProxy */; + }; + 274FF5E913332D4300317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF5CB13332B1F00317ECB /* cups-driverd */; + targetProxy = 274FF5E813332D4300317ECB /* PBXContainerItemProxy */; + }; + 274FF5F3133330FD00317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 274FF5F2133330FD00317ECB /* PBXContainerItemProxy */; + }; + 274FF6201333316200317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF5ED133330C800317ECB /* libcupsppdc */; + targetProxy = 274FF61F1333316200317ECB /* PBXContainerItemProxy */; + }; + 274FF622133331D300317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF5ED133330C800317ECB /* libcupsppdc */; + targetProxy = 274FF621133331D300317ECB /* PBXContainerItemProxy */; + }; + 274FF6341333335200317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 274FF6331333335200317ECB /* PBXContainerItemProxy */; + }; + 274FF6391333348400317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6281333333600317ECB /* cups-deviced */; + targetProxy = 274FF6381333348400317ECB /* PBXContainerItemProxy */; + }; + 274FF648133335A300317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF63D1333358B00317ECB /* cups-exec */; + targetProxy = 274FF647133335A300317ECB /* PBXContainerItemProxy */; + }; + 274FF65A133339D900317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 274FF659133339D900317ECB /* PBXContainerItemProxy */; + }; + 274FF65E13333A3400317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF64E133339C400317ECB /* cups-lpd */; + targetProxy = 274FF65D13333A3400317ECB /* PBXContainerItemProxy */; + }; + 274FF68213333B3C00317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 274FF68113333B3C00317ECB /* PBXContainerItemProxy */; + }; + 274FF68413333B3C00317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220FAB13330B2200FCA411 /* libcupsmime */; + targetProxy = 274FF68313333B3C00317ECB /* PBXContainerItemProxy */; + }; + 274FF6E21333B33F00317ECB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF67713333B2F00317ECB /* cupsfilter */; + targetProxy = 274FF6E11333B33F00317ECB /* PBXContainerItemProxy */; + }; + 276683661337A9D6000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 276683651337A9D6000D33D0 /* PBXContainerItemProxy */; + }; + 2766836B1337AA25000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2766835B1337A9B6000D33D0 /* cupsctl */; + targetProxy = 2766836A1337AA25000D33D0 /* PBXContainerItemProxy */; + }; + 276683AE1337ACF9000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 276683AD1337ACF9000D33D0 /* PBXContainerItemProxy */; + }; + 276683B01337ACF9000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF5ED133330C800317ECB /* libcupsppdc */; + targetProxy = 276683AF1337ACF9000D33D0 /* PBXContainerItemProxy */; + }; + 276683B41337AD18000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 276683B31337AD18000D33D0 /* PBXContainerItemProxy */; + }; + 276683B61337AD18000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF5ED133330C800317ECB /* libcupsppdc */; + targetProxy = 276683B51337AD18000D33D0 /* PBXContainerItemProxy */; + }; + 276683BC1337AE49000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 276683BB1337AE49000D33D0 /* PBXContainerItemProxy */; + }; + 276683BE1337AE49000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF5ED133330C800317ECB /* libcupsppdc */; + targetProxy = 276683BD1337AE49000D33D0 /* PBXContainerItemProxy */; + }; + 276683C01337B1AD000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 276683BF1337B1AD000D33D0 /* PBXContainerItemProxy */; + }; + 276683C21337B1AD000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF5ED133330C800317ECB /* libcupsppdc */; + targetProxy = 276683C11337B1AD000D33D0 /* PBXContainerItemProxy */; + }; + 276683C61337B1BC000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 276683C51337B1BC000D33D0 /* PBXContainerItemProxy */; + }; + 276683C81337B1BC000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF5ED133330C800317ECB /* libcupsppdc */; + targetProxy = 276683C71337B1BC000D33D0 /* PBXContainerItemProxy */; + }; + 276683D71337B24A000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2766836F1337AC79000D33D0 /* ppdc */; + targetProxy = 276683D61337B24A000D33D0 /* PBXContainerItemProxy */; + }; + 276683D91337B24A000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2766837C1337AC8C000D33D0 /* ppdhtml */; + targetProxy = 276683D81337B24A000D33D0 /* PBXContainerItemProxy */; + }; + 276683DB1337B24A000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 276683891337AC97000D33D0 /* ppdi */; + targetProxy = 276683DA1337B24A000D33D0 /* PBXContainerItemProxy */; + }; + 276683DD1337B24A000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 276683961337ACA2000D33D0 /* ppdmerge */; + targetProxy = 276683DC1337B24A000D33D0 /* PBXContainerItemProxy */; + }; + 276683DF1337B24A000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 276683A31337ACAB000D33D0 /* ppdpo */; + targetProxy = 276683DE1337B24A000D33D0 /* PBXContainerItemProxy */; + }; + 276683E11337B299000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 276683E01337B299000D33D0 /* PBXContainerItemProxy */; + }; + 276683E41337B2BA000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72F75A601336F9A3004BB496 /* libcupsimage */; + targetProxy = 276683E31337B2BA000D33D0 /* PBXContainerItemProxy */; + }; + 276683FC1337F7B3000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 276683FB1337F7B3000D33D0 /* PBXContainerItemProxy */; + }; + 276683FF1337F7C5000D33D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 276683EF1337F78E000D33D0 /* ipptool */; + targetProxy = 276683FE1337F7C5000D33D0 /* PBXContainerItemProxy */; + }; + 2767FC4719266A0D000F61D3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 2767FC4819266A0D000F61D3 /* PBXContainerItemProxy */; + }; + 2767FC5419267469000F61D3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 276683EF1337F78E000D33D0 /* ipptool */; + targetProxy = 2767FC5319267469000F61D3 /* PBXContainerItemProxy */; + }; + 2767FC5619267469000F61D3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2767FC4619266A0D000F61D3 /* testdest */; + targetProxy = 2767FC5519267469000F61D3 /* PBXContainerItemProxy */; + }; + 278C58D6136B641D00836530 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 278C58CA136B640300836530 /* testhttp */; + targetProxy = 278C58D5136B641D00836530 /* PBXContainerItemProxy */; + }; + 278C58D8136B642F00836530 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 278C58D7136B642F00836530 /* PBXContainerItemProxy */; + }; + 27A034841A8BDC4A00650675 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 27A034831A8BDC4A00650675 /* PBXContainerItemProxy */; + }; + 27A034871A8BDC6900650675 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 27A0347A1A8BDB1200650675 /* lpadmin */; + targetProxy = 27A034861A8BDC6900650675 /* PBXContainerItemProxy */; + }; + 720DD6CF1358FD790064AA82 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 720DD6CE1358FD790064AA82 /* PBXContainerItemProxy */; + }; + 720DD6D11358FDBE0064AA82 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 720DD6C11358FD5F0064AA82 /* snmp */; + targetProxy = 720DD6D01358FDBE0064AA82 /* PBXContainerItemProxy */; + }; + 72220F6513330A6500FCA411 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 72220F6413330A6500FCA411 /* PBXContainerItemProxy */; + }; + 72220FBC13330C0500FCA411 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 72220FBB13330C0500FCA411 /* PBXContainerItemProxy */; + }; + 72220FBE13330C0B00FCA411 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220FAB13330B2200FCA411 /* libcupsmime */; + targetProxy = 72220FBD13330C0B00FCA411 /* PBXContainerItemProxy */; + }; + 724379071333E49B009631B9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 724379061333E49B009631B9 /* PBXContainerItemProxy */; + }; + 724379111333E4EA009631B9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724378FC1333E43E009631B9 /* ipp */; + targetProxy = 724379101333E4EA009631B9 /* PBXContainerItemProxy */; + }; + 724379261333E932009631B9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 724379251333E932009631B9 /* PBXContainerItemProxy */; + }; + 7243792B1333E962009631B9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724379171333E532009631B9 /* lpd */; + targetProxy = 7243792A1333E962009631B9 /* PBXContainerItemProxy */; + }; + 7243793A1333FB95009631B9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 724379391333FB95009631B9 /* PBXContainerItemProxy */; + }; + 7243793F1333FD23009631B9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 7243792F1333FB85009631B9 /* socket */; + targetProxy = 7243793E1333FD23009631B9 /* PBXContainerItemProxy */; + }; + 724379531333FECE009631B9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 724379461333FEA9009631B9 /* dnssd */; + targetProxy = 724379521333FECE009631B9 /* PBXContainerItemProxy */; + }; + 724379551333FEFE009631B9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 724379541333FEFE009631B9 /* PBXContainerItemProxy */; + }; + 724379651333FF2E009631B9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 724379641333FF2E009631B9 /* PBXContainerItemProxy */; + }; + 724379C31333FF7D009631B9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 7243795A1333FF1D009631B9 /* usb */; + targetProxy = 724379C21333FF7D009631B9 /* PBXContainerItemProxy */; + }; + 724FA5251CC0370C0092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA5261CC0370C0092477B /* PBXContainerItemProxy */; + }; + 724FA5381CC037370092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA5391CC037370092477B /* PBXContainerItemProxy */; + }; + 724FA54B1CC037500092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA54C1CC037500092477B /* PBXContainerItemProxy */; + }; + 724FA55E1CC037670092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA55F1CC037670092477B /* PBXContainerItemProxy */; + }; + 724FA5711CC037810092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA5721CC037810092477B /* PBXContainerItemProxy */; + }; + 724FA5841CC037980092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA5851CC037980092477B /* PBXContainerItemProxy */; + }; + 724FA5971CC037AA0092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA5981CC037AA0092477B /* PBXContainerItemProxy */; + }; + 724FA5AA1CC037C60092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA5AB1CC037C60092477B /* PBXContainerItemProxy */; + }; + 724FA5BD1CC037D90092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA5BE1CC037D90092477B /* PBXContainerItemProxy */; + }; + 724FA5D01CC037F00092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA5D11CC037F00092477B /* PBXContainerItemProxy */; + }; + 724FA5E41CC038040092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA5E51CC038040092477B /* PBXContainerItemProxy */; + }; + 724FA5F81CC038190092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA5F91CC038190092477B /* PBXContainerItemProxy */; + }; + 724FA60C1CC0382B0092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA60D1CC0382B0092477B /* PBXContainerItemProxy */; + }; + 724FA6201CC038410092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA6211CC038410092477B /* PBXContainerItemProxy */; + }; + 724FA6341CC038560092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA6351CC038560092477B /* PBXContainerItemProxy */; + }; + 724FA6481CC0386E0092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA6491CC0386E0092477B /* PBXContainerItemProxy */; + }; + 724FA65F1CC038A50092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA6601CC038A50092477B /* PBXContainerItemProxy */; + }; + 724FA6731CC038BD0092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA6741CC038BD0092477B /* PBXContainerItemProxy */; + }; + 724FA6861CC038D90092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA6871CC038D90092477B /* PBXContainerItemProxy */; + }; + 724FA69A1CC039200092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA69B1CC039200092477B /* PBXContainerItemProxy */; + }; + 724FA6AD1CC0393E0092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA6AE1CC0393E0092477B /* PBXContainerItemProxy */; + }; + 724FA6C01CC0395A0092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA6C11CC0395A0092477B /* PBXContainerItemProxy */; + }; + 724FA6D91CC039DE0092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA6DA1CC039DE0092477B /* PBXContainerItemProxy */; + }; + 724FA6EE1CC03A210092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 724FA6EF1CC03A210092477B /* PBXContainerItemProxy */; + }; + 724FA7421CC03ACC0092477B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 724FA7431CC03ACC0092477B /* PBXContainerItemProxy */; + }; + 7258EAEF13459ADA009286F1 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 7258EAE1134594C4009286F1 /* rastertopwg */; + targetProxy = 7258EAEE13459ADA009286F1 /* PBXContainerItemProxy */; + }; + 7258EAF113459B67009286F1 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 7258EAF013459B67009286F1 /* PBXContainerItemProxy */; + }; + 726AD704135E8AA1002C930D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 726AD6F6135E88F0002C930D /* ippeveprinter */; + targetProxy = 726AD703135E8AA1002C930D /* PBXContainerItemProxy */; + }; + 729181AF201155C1005E7560 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 729181B0201155C1005E7560 /* PBXContainerItemProxy */; + }; + 729181C12011560E005E7560 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2712866B1CC1310E00E517C7 /* rasterbench */; + targetProxy = 729181C02011560E005E7560 /* PBXContainerItemProxy */; + }; + 729181C32011560E005E7560 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 729181AC201155C1005E7560 /* testclient */; + targetProxy = 729181C22011560E005E7560 /* PBXContainerItemProxy */; + }; + 72BEA8D419AFA89C0085F0F3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 726AD6F6135E88F0002C930D /* ippeveprinter */; + targetProxy = 72BEA8D319AFA89C0085F0F3 /* PBXContainerItemProxy */; + }; + 72BEA8D619AFA8A00085F0F3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72CF95E618A19134000FCAE4 /* ippfind */; + targetProxy = 72BEA8D519AFA8A00085F0F3 /* PBXContainerItemProxy */; + }; + 72BEA8D819AFA8BB0085F0F3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 274FF6891333B1C400317ECB /* libcups_static */; + targetProxy = 72BEA8D719AFA8BB0085F0F3 /* PBXContainerItemProxy */; + }; + 72CF95E718A19134000FCAE4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 72CF95E818A19134000FCAE4 /* PBXContainerItemProxy */; + }; + 72F75A661336FA30004BB496 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72220EAD1333047D00FCA411 /* libcups */; + targetProxy = 72F75A651336FA30004BB496 /* PBXContainerItemProxy */; + }; + 72F75A711336FACD004BB496 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72F75A601336F9A3004BB496 /* libcupsimage */; + targetProxy = 72F75A701336FACD004BB496 /* PBXContainerItemProxy */; + }; + 72F75A731336FACD004BB496 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 72F75A511336F950004BB496 /* cupstestppd */; + targetProxy = 72F75A721336FACD004BB496 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 270696581CADF3E200FFE5FB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_EXTENSION = a; + EXECUTABLE_PREFIX = ""; + PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/cups; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; + PUBLIC_HEADERS_FOLDER_PATH = /usr/include/cups; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = static; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; + }; + name = Debug; + }; + 270696591CADF3E200FFE5FB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_EXTENSION = a; + EXECUTABLE_PREFIX = ""; + PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/cups; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; + PUBLIC_HEADERS_FOLDER_PATH = /usr/include/cups; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = static; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; + }; + name = Release; + }; + 270CCDAD135E3C9E00007BE2 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 270CCDAE135E3C9E00007BE2 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 270D02221D707E0200EA9403 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 270D02231D707E0200EA9403 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271284EA1CC1261900E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271284EB1CC1261900E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271284F71CC1264B00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/sbin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271284F81CC1264B00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/sbin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271285111CC1267A00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271285121CC1267A00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 2712851E1CC1269700E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/sbin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 2712851F1CC1269700E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/sbin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 2712852B1CC126AA00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/sbin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 2712852C1CC126AA00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/sbin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271285381CC1270B00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271285391CC1270B00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271285451CC1271E00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271285461CC1271E00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271285521CC1272D00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271285531CC1272D00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 2712855F1CC1274300E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271285601CC1274300E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 2712856C1CC1275200E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 2712856D1CC1275200E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271285791CC1276400E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 2712857A1CC1276400E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 2712859E1CC12D1300E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = "/usr/libexec/cups/cgi-bin"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 2712859F1CC12D1300E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = "/usr/libexec/cups/cgi-bin"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271285AD1CC12D3A00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = "/usr/libexec/cups/cgi-bin"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271285AE1CC12D3A00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = "/usr/libexec/cups/cgi-bin"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271285BB1CC12D4E00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = "/usr/libexec/cups/cgi-bin"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271285BC1CC12D4E00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = "/usr/libexec/cups/cgi-bin"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271285C91CC12D5E00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = "/usr/libexec/cups/cgi-bin"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271285CA1CC12D5E00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = "/usr/libexec/cups/cgi-bin"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271285D61CC12DBF00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271285D71CC12DBF00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271285E31CC12DDF00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271285E41CC12DDF00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271285F01CC12E2D00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271285F11CC12E2D00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271285FE1CC12EEB00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271285FF1CC12EEB00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271286111CC12F0B00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271286121CC12F0B00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271286211CC12F1A00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271286221CC12F1A00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271286651CC1309000E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271286661CC1309000E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 2712867B1CC1310E00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 2712867C1CC1310E00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271286941CC13DC000E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271286951CC13DC000E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271286A51CC13DF100E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271286A61CC13DF100E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271286B61CC13DFF00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271286B71CC13DFF00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271286C71CC13E2100E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/monitor; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271286C81CC13E2100E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/monitor; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271286D71CC13E5B00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/monitor; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271286D81CC13E5B00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/monitor; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271286F11CC13F2000E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/notifier; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271286F21CC13F2000E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/notifier; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271287011CC13F3F00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/notifier; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271287021CC13F3F00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/notifier; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 271287161CC13FAB00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 271287171CC13FAB00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 2712872A1CC140BE00E517C7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 2712872B1CC140BE00E517C7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 273B1EA8226B3E4800428143 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/ippeveprinter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 273B1EA9226B3E4800428143 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/ippeveprinter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 273B1EB9226B3E5200428143 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/ippeveprinter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 273B1EBA226B3E5200428143 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/ippeveprinter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 273BF6C41333B5000022CAAB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 273BF6C51333B5000022CAAB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 273BF6DB1333B6270022CAAB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 273BF6DC1333B6270022CAAB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 274770DE2345342B0089BC31 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 274770DF2345342B0089BC31 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 274FF5D313332B1F00317ECB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/daemon; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 274FF5D413332B1F00317ECB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/daemon; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 274FF5E013332D3100317ECB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + }; + name = Debug; + }; + 274FF5E113332D3100317ECB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + }; + name = Release; + }; + 274FF5F0133330C800317ECB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/cups; + PRODUCT_NAME = "$(TARGET_NAME)"; + PUBLIC_HEADERS_FOLDER_PATH = /usr/include/cups; + }; + name = Debug; + }; + 274FF5F1133330C800317ECB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/cups; + PRODUCT_NAME = "$(TARGET_NAME)"; + PUBLIC_HEADERS_FOLDER_PATH = /usr/include/cups; + }; + name = Release; + }; + 274FF6301333333600317ECB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/daemon; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 274FF6311333333600317ECB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/daemon; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 274FF6451333358C00317ECB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/daemon; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 274FF6461333358C00317ECB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/daemon; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 274FF656133339C400317ECB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/daemon; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 274FF657133339C400317ECB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/daemon; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 274FF67F13333B2F00317ECB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 274FF68013333B2F00317ECB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 274FF6DE1333B1C400317ECB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_EXTENSION = a; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/local/lib; + PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/cups; + PRODUCT_NAME = libcups_static; + PUBLIC_HEADERS_FOLDER_PATH = /usr/include/cups; + STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = static; + }; + name = Debug; + }; + 274FF6DF1333B1C400317ECB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_EXTENSION = a; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/local/lib; + PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/cups; + PRODUCT_NAME = libcups_static; + PUBLIC_HEADERS_FOLDER_PATH = /usr/include/cups; + STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = static; + }; + name = Release; + }; + 276683631337A9B6000D33D0 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/sbin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 276683641337A9B6000D33D0 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/sbin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 276683771337AC79000D33D0 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 276683781337AC79000D33D0 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 276683841337AC8C000D33D0 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 276683851337AC8C000D33D0 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 276683911337AC97000D33D0 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 276683921337AC97000D33D0 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 2766839E1337ACA2000D33D0 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 2766839F1337ACA2000D33D0 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 276683AB1337ACAB000D33D0 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 276683AC1337ACAB000D33D0 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 276683F71337F78F000D33D0 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 276683F81337F78F000D33D0 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 2767FC4E19266A0D000F61D3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = testdest; + }; + name = Debug; + }; + 2767FC4F19266A0D000F61D3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = testdest; + }; + name = Release; + }; + 278C58D1136B640300836530 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 278C58D2136B640300836530 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 27A0347F1A8BDB1300650675 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + INSTALL_PATH = /usr/sbin; + MACOSX_DEPLOYMENT_TARGET = 10.10; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + }; + name = Debug; + }; + 27A034801A8BDB1300650675 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + INSTALL_PATH = /usr/sbin; + MACOSX_DEPLOYMENT_TARGET = 10.10; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + }; + name = Release; + }; + 720DD6C91358FD5F0064AA82 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/backend; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 720DD6CA1358FD5F0064AA82 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/backend; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 72220EB01333047D00FCA411 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + DYLIB_COMPATIBILITY_VERSION = 2.0.0; + DYLIB_CURRENT_VERSION = 2.12.0; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/cups; + PRODUCT_NAME = "$(TARGET_NAME)"; + PUBLIC_HEADERS_FOLDER_PATH = /usr/include/cups; + }; + name = Debug; + }; + 72220EB11333047D00FCA411 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + DYLIB_COMPATIBILITY_VERSION = 2.0.0; + DYLIB_CURRENT_VERSION = 2.12.0; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/cups; + PRODUCT_NAME = "$(TARGET_NAME)"; + PUBLIC_HEADERS_FOLDER_PATH = /usr/include/cups; + }; + name = Release; + }; + 72220F6213330A5A00FCA411 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/sbin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 72220F6313330A5A00FCA411 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/sbin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 72220FAE13330B2300FCA411 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 72220FAF13330B2300FCA411 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724379041333E43E009631B9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_MODE_FLAG = "u+rwX,go-rwX"; + INSTALL_PATH = /usr/libexec/cups/backend; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724379051333E43E009631B9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_MODE_FLAG = "u+rwX,go-rwX"; + INSTALL_PATH = /usr/libexec/cups/backend; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 7243791F1333E532009631B9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/backend; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724379201333E532009631B9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/backend; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724379371333FB85009631B9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/backend; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724379381333FB85009631B9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/backend; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 7243794E1333FEA9009631B9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/backend; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 7243794F1333FEA9009631B9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/backend; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724379621333FF1D009631B9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/backend; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724379631333FF1D009631B9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/backend; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA5331CC0370C0092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA5341CC0370C0092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA5461CC037370092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA5471CC037370092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA5591CC037500092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA55A1CC037500092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA56C1CC037670092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA56D1CC037670092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA57F1CC037810092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA5801CC037810092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA5921CC037980092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA5931CC037980092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA5A51CC037AA0092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA5A61CC037AA0092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA5B81CC037C60092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA5B91CC037C60092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA5CB1CC037D90092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA5CC1CC037D90092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA5DF1CC037F00092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA5E01CC037F00092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA5F31CC038040092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA5F41CC038040092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA6071CC038190092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA6081CC038190092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA61B1CC0382B0092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA61C1CC0382B0092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA62F1CC038410092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA6301CC038410092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA6431CC038560092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA6441CC038560092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA6571CC0386E0092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA6581CC0386E0092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA66E1CC038A50092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA66F1CC038A50092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA6811CC038BD0092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA6821CC038BD0092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA6951CC038D90092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA6961CC038D90092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA6A81CC039200092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA6A91CC039200092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA6BB1CC0393E0092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA6BC1CC0393E0092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA6CF1CC0395A0092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA6D01CC0395A0092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA6E81CC039DE0092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA6E91CC039DE0092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA6FD1CC03A210092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA6FE1CC03A210092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA70D1CC03A490092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_EXTENSION = a; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + MACH_O_TYPE = staticlib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA70E1CC03A490092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_EXTENSION = a; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + MACH_O_TYPE = staticlib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA71D1CC03A990092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_EXTENSION = a; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + MACH_O_TYPE = staticlib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA71E1CC03A990092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_EXTENSION = a; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + MACH_O_TYPE = staticlib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA73E1CC03AAF0092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_EXTENSION = a; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + MACH_O_TYPE = staticlib; + PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/cups; + PRODUCT_NAME = "$(TARGET_NAME)"; + PUBLIC_HEADERS_FOLDER_PATH = /usr/include/cups; + }; + name = Debug; + }; + 724FA73F1CC03AAF0092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_EXTENSION = a; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + MACH_O_TYPE = staticlib; + PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/cups; + PRODUCT_NAME = "$(TARGET_NAME)"; + PUBLIC_HEADERS_FOLDER_PATH = /usr/include/cups; + }; + name = Release; + }; + 724FA74D1CC03ACC0092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA74E1CC03ACC0092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 724FA7691CC03AF60092477B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_EXTENSION = a; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + MACH_O_TYPE = staticlib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 724FA76A1CC03AF60092477B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_EXTENSION = a; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + MACH_O_TYPE = staticlib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 7258EAEA134594C4009286F1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 7258EAEB134594C4009286F1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/libexec/cups/filter; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 726AD6FF135E88F1002C930D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 726AD700135E88F1002C930D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 729181BC201155C1005E7560 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 729181BD201155C1005E7560 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 72BF963C1333042100B1EAD7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPRESSION = lossless; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = NO; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = DEBUG; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES; + GCC_TREAT_WARNINGS_AS_ERRORS = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_SHADOW = YES; + GCC_WARN_SIGN_COMPARE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_LABEL = YES; + GCC_WARN_UNUSED_PARAMETER = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + ., + .., + ); + ONLY_ACTIVE_ARCH = YES; + OTHER_CFLAGS = ( + "-D_CUPS_SOURCE", + "-Wno-shorten-64-to-32", + ); + USE_HEADERMAP = NO; + }; + name = Debug; + }; + 72BF963D1333042100B1EAD7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPRESSION = "respect-asset-catalog"; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = NO; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES; + GCC_TREAT_WARNINGS_AS_ERRORS = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_SHADOW = YES; + GCC_WARN_SIGN_COMPARE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_LABEL = YES; + GCC_WARN_UNUSED_PARAMETER = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + ., + .., + ); + OTHER_CFLAGS = ( + "-D_CUPS_SOURCE", + "-Wno-shorten-64-to-32", + ); + USE_HEADERMAP = NO; + }; + name = Release; + }; + 72CF95EF18A19134000FCAE4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "ipptool copy"; + }; + name = Debug; + }; + 72CF95F018A19134000FCAE4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "ipptool copy"; + }; + name = Release; + }; + 72F75A591336F951004BB496 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 72F75A5A1336F951004BB496 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "-"; + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 72F75A631336F9A3004BB496 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 72F75A641336F9A3004BB496 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + INSTALL_PATH = /usr/lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 270696571CADF3E200FFE5FB /* Build configuration list for PBXNativeTarget "libcups_ios" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 270696581CADF3E200FFE5FB /* Debug */, + 270696591CADF3E200FFE5FB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 270CCDAF135E3C9E00007BE2 /* Build configuration list for PBXNativeTarget "testmime" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 270CCDAD135E3C9E00007BE2 /* Debug */, + 270CCDAE135E3C9E00007BE2 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 270D02211D707E0200EA9403 /* Build configuration list for PBXNativeTarget "testcreds" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 270D02221D707E0200EA9403 /* Debug */, + 270D02231D707E0200EA9403 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271284E91CC1261900E517C7 /* Build configuration list for PBXNativeTarget "cancel" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271284EA1CC1261900E517C7 /* Debug */, + 271284EB1CC1261900E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271284F61CC1264B00E517C7 /* Build configuration list for PBXNativeTarget "cupsaccept" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271284F71CC1264B00E517C7 /* Debug */, + 271284F81CC1264B00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271285101CC1267A00E517C7 /* Build configuration list for PBXNativeTarget "lp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271285111CC1267A00E517C7 /* Debug */, + 271285121CC1267A00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2712851D1CC1269700E517C7 /* Build configuration list for PBXNativeTarget "lpc" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2712851E1CC1269700E517C7 /* Debug */, + 2712851F1CC1269700E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2712852A1CC126AA00E517C7 /* Build configuration list for PBXNativeTarget "lpinfo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2712852B1CC126AA00E517C7 /* Debug */, + 2712852C1CC126AA00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271285371CC1270B00E517C7 /* Build configuration list for PBXNativeTarget "lpmove" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271285381CC1270B00E517C7 /* Debug */, + 271285391CC1270B00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271285441CC1271E00E517C7 /* Build configuration list for PBXNativeTarget "lpoptions" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271285451CC1271E00E517C7 /* Debug */, + 271285461CC1271E00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271285511CC1272D00E517C7 /* Build configuration list for PBXNativeTarget "lpq" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271285521CC1272D00E517C7 /* Debug */, + 271285531CC1272D00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2712855E1CC1274300E517C7 /* Build configuration list for PBXNativeTarget "lpr" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2712855F1CC1274300E517C7 /* Debug */, + 271285601CC1274300E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2712856B1CC1275200E517C7 /* Build configuration list for PBXNativeTarget "lprm" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2712856C1CC1275200E517C7 /* Debug */, + 2712856D1CC1275200E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271285781CC1276400E517C7 /* Build configuration list for PBXNativeTarget "lpstat" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271285791CC1276400E517C7 /* Debug */, + 2712857A1CC1276400E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2712859D1CC12D1300E517C7 /* Build configuration list for PBXNativeTarget "admin.cgi" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2712859E1CC12D1300E517C7 /* Debug */, + 2712859F1CC12D1300E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271285AC1CC12D3A00E517C7 /* Build configuration list for PBXNativeTarget "classes.cgi" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271285AD1CC12D3A00E517C7 /* Debug */, + 271285AE1CC12D3A00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271285BA1CC12D4E00E517C7 /* Build configuration list for PBXNativeTarget "jobs.cgi" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271285BB1CC12D4E00E517C7 /* Debug */, + 271285BC1CC12D4E00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271285C81CC12D5E00E517C7 /* Build configuration list for PBXNativeTarget "printers.cgi" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271285C91CC12D5E00E517C7 /* Debug */, + 271285CA1CC12D5E00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271285D51CC12DBF00E517C7 /* Build configuration list for PBXNativeTarget "commandtops" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271285D61CC12DBF00E517C7 /* Debug */, + 271285D71CC12DBF00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271285E21CC12DDF00E517C7 /* Build configuration list for PBXNativeTarget "gziptoany" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271285E31CC12DDF00E517C7 /* Debug */, + 271285E41CC12DDF00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271285EF1CC12E2D00E517C7 /* Build configuration list for PBXNativeTarget "pstops" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271285F01CC12E2D00E517C7 /* Debug */, + 271285F11CC12E2D00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271285FD1CC12EEB00E517C7 /* Build configuration list for PBXNativeTarget "rastertoepson" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271285FE1CC12EEB00E517C7 /* Debug */, + 271285FF1CC12EEB00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271286101CC12F0B00E517C7 /* Build configuration list for PBXNativeTarget "rastertohp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271286111CC12F0B00E517C7 /* Debug */, + 271286121CC12F0B00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271286201CC12F1A00E517C7 /* Build configuration list for PBXNativeTarget "rastertolabel" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271286211CC12F1A00E517C7 /* Debug */, + 271286221CC12F1A00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271286641CC1309000E517C7 /* Build configuration list for PBXNativeTarget "tlscheck" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271286651CC1309000E517C7 /* Debug */, + 271286661CC1309000E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2712867A1CC1310E00E517C7 /* Build configuration list for PBXNativeTarget "rasterbench" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2712867B1CC1310E00E517C7 /* Debug */, + 2712867C1CC1310E00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271286931CC13DC000E517C7 /* Build configuration list for PBXNativeTarget "checkpo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271286941CC13DC000E517C7 /* Debug */, + 271286951CC13DC000E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271286A41CC13DF100E517C7 /* Build configuration list for PBXNativeTarget "po2strings" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271286A51CC13DF100E517C7 /* Debug */, + 271286A61CC13DF100E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271286B51CC13DFF00E517C7 /* Build configuration list for PBXNativeTarget "strings2po" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271286B61CC13DFF00E517C7 /* Debug */, + 271286B71CC13DFF00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271286C61CC13E2100E517C7 /* Build configuration list for PBXNativeTarget "bcp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271286C71CC13E2100E517C7 /* Debug */, + 271286C81CC13E2100E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271286D61CC13E5B00E517C7 /* Build configuration list for PBXNativeTarget "tbcp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271286D71CC13E5B00E517C7 /* Debug */, + 271286D81CC13E5B00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271286F01CC13F2000E517C7 /* Build configuration list for PBXNativeTarget "mailto" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271286F11CC13F2000E517C7 /* Debug */, + 271286F21CC13F2000E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271287001CC13F3F00E517C7 /* Build configuration list for PBXNativeTarget "rss" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271287011CC13F3F00E517C7 /* Debug */, + 271287021CC13F3F00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271287151CC13FAB00E517C7 /* Build configuration list for PBXNativeTarget "mantohtml" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 271287161CC13FAB00E517C7 /* Debug */, + 271287171CC13FAB00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 271287291CC140BE00E517C7 /* Build configuration list for PBXNativeTarget "genstrings" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2712872A1CC140BE00E517C7 /* Debug */, + 2712872B1CC140BE00E517C7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 273B1EA7226B3E4800428143 /* Build configuration list for PBXNativeTarget "ippevepcl" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 273B1EA8226B3E4800428143 /* Debug */, + 273B1EA9226B3E4800428143 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 273B1EB8226B3E5200428143 /* Build configuration list for PBXNativeTarget "ippeveps" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 273B1EB9226B3E5200428143 /* Debug */, + 273B1EBA226B3E5200428143 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 273BF6C31333B5000022CAAB /* Build configuration list for PBXNativeTarget "testcups" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 273BF6C41333B5000022CAAB /* Debug */, + 273BF6C51333B5000022CAAB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 273BF6DA1333B6270022CAAB /* Build configuration list for PBXAggregateTarget "Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 273BF6DB1333B6270022CAAB /* Debug */, + 273BF6DC1333B6270022CAAB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 274770DD2345342B0089BC31 /* Build configuration list for PBXNativeTarget "testthreads" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 274770DE2345342B0089BC31 /* Debug */, + 274770DF2345342B0089BC31 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 274FF5D213332B1F00317ECB /* Build configuration list for PBXNativeTarget "cups-driverd" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 274FF5D313332B1F00317ECB /* Debug */, + 274FF5D413332B1F00317ECB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 274FF5DF13332D3100317ECB /* Build configuration list for PBXAggregateTarget "All" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 274FF5E013332D3100317ECB /* Debug */, + 274FF5E113332D3100317ECB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 274FF5EF133330C800317ECB /* Build configuration list for PBXNativeTarget "libcupsppdc" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 274FF5F0133330C800317ECB /* Debug */, + 274FF5F1133330C800317ECB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 274FF62F1333333600317ECB /* Build configuration list for PBXNativeTarget "cups-deviced" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 274FF6301333333600317ECB /* Debug */, + 274FF6311333333600317ECB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 274FF6441333358C00317ECB /* Build configuration list for PBXNativeTarget "cups-exec" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 274FF6451333358C00317ECB /* Debug */, + 274FF6461333358C00317ECB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 274FF655133339C400317ECB /* Build configuration list for PBXNativeTarget "cups-lpd" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 274FF656133339C400317ECB /* Debug */, + 274FF657133339C400317ECB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 274FF67E13333B2F00317ECB /* Build configuration list for PBXNativeTarget "cupsfilter" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 274FF67F13333B2F00317ECB /* Debug */, + 274FF68013333B2F00317ECB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 274FF6DD1333B1C400317ECB /* Build configuration list for PBXNativeTarget "libcups_static" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 274FF6DE1333B1C400317ECB /* Debug */, + 274FF6DF1333B1C400317ECB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 276683621337A9B6000D33D0 /* Build configuration list for PBXNativeTarget "cupsctl" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 276683631337A9B6000D33D0 /* Debug */, + 276683641337A9B6000D33D0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 276683761337AC79000D33D0 /* Build configuration list for PBXNativeTarget "ppdc" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 276683771337AC79000D33D0 /* Debug */, + 276683781337AC79000D33D0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 276683831337AC8C000D33D0 /* Build configuration list for PBXNativeTarget "ppdhtml" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 276683841337AC8C000D33D0 /* Debug */, + 276683851337AC8C000D33D0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 276683901337AC97000D33D0 /* Build configuration list for PBXNativeTarget "ppdi" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 276683911337AC97000D33D0 /* Debug */, + 276683921337AC97000D33D0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2766839D1337ACA2000D33D0 /* Build configuration list for PBXNativeTarget "ppdmerge" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2766839E1337ACA2000D33D0 /* Debug */, + 2766839F1337ACA2000D33D0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 276683AA1337ACAB000D33D0 /* Build configuration list for PBXNativeTarget "ppdpo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 276683AB1337ACAB000D33D0 /* Debug */, + 276683AC1337ACAB000D33D0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 276683F61337F78F000D33D0 /* Build configuration list for PBXNativeTarget "ipptool" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 276683F71337F78F000D33D0 /* Debug */, + 276683F81337F78F000D33D0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2767FC4D19266A0D000F61D3 /* Build configuration list for PBXNativeTarget "testdest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2767FC4E19266A0D000F61D3 /* Debug */, + 2767FC4F19266A0D000F61D3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 278C58D3136B640300836530 /* Build configuration list for PBXNativeTarget "testhttp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 278C58D1136B640300836530 /* Debug */, + 278C58D2136B640300836530 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 27A034811A8BDB1300650675 /* Build configuration list for PBXNativeTarget "lpadmin" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 27A0347F1A8BDB1300650675 /* Debug */, + 27A034801A8BDB1300650675 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 720DD6CB1358FD600064AA82 /* Build configuration list for PBXNativeTarget "snmp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 720DD6C91358FD5F0064AA82 /* Debug */, + 720DD6CA1358FD5F0064AA82 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 72220EB21333047D00FCA411 /* Build configuration list for PBXNativeTarget "libcups" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 72220EB01333047D00FCA411 /* Debug */, + 72220EB11333047D00FCA411 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 72220F6113330A5A00FCA411 /* Build configuration list for PBXNativeTarget "cupsd" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 72220F6213330A5A00FCA411 /* Debug */, + 72220F6313330A5A00FCA411 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 72220FAD13330B2300FCA411 /* Build configuration list for PBXNativeTarget "libcupsmime" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 72220FAE13330B2300FCA411 /* Debug */, + 72220FAF13330B2300FCA411 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724379031333E43E009631B9 /* Build configuration list for PBXNativeTarget "ipp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724379041333E43E009631B9 /* Debug */, + 724379051333E43E009631B9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7243791E1333E532009631B9 /* Build configuration list for PBXNativeTarget "lpd" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7243791F1333E532009631B9 /* Debug */, + 724379201333E532009631B9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724379361333FB85009631B9 /* Build configuration list for PBXNativeTarget "socket" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724379371333FB85009631B9 /* Debug */, + 724379381333FB85009631B9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7243794D1333FEA9009631B9 /* Build configuration list for PBXNativeTarget "dnssd" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7243794E1333FEA9009631B9 /* Debug */, + 7243794F1333FEA9009631B9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724379611333FF1D009631B9 /* Build configuration list for PBXNativeTarget "usb" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724379621333FF1D009631B9 /* Debug */, + 724379631333FF1D009631B9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA5321CC0370C0092477B /* Build configuration list for PBXNativeTarget "testadmin" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA5331CC0370C0092477B /* Debug */, + 724FA5341CC0370C0092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA5451CC037370092477B /* Build configuration list for PBXNativeTarget "testarray" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA5461CC037370092477B /* Debug */, + 724FA5471CC037370092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA5581CC037500092477B /* Build configuration list for PBXNativeTarget "testcache" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA5591CC037500092477B /* Debug */, + 724FA55A1CC037500092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA56B1CC037670092477B /* Build configuration list for PBXNativeTarget "testconflicts" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA56C1CC037670092477B /* Debug */, + 724FA56D1CC037670092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA57E1CC037810092477B /* Build configuration list for PBXNativeTarget "testfile" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA57F1CC037810092477B /* Debug */, + 724FA5801CC037810092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA5911CC037980092477B /* Build configuration list for PBXNativeTarget "testi18n" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA5921CC037980092477B /* Debug */, + 724FA5931CC037980092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA5A41CC037AA0092477B /* Build configuration list for PBXNativeTarget "testipp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA5A51CC037AA0092477B /* Debug */, + 724FA5A61CC037AA0092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA5B71CC037C60092477B /* Build configuration list for PBXNativeTarget "testlang" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA5B81CC037C60092477B /* Debug */, + 724FA5B91CC037C60092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA5CA1CC037D90092477B /* Build configuration list for PBXNativeTarget "testlpd" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA5CB1CC037D90092477B /* Debug */, + 724FA5CC1CC037D90092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA5DE1CC037F00092477B /* Build configuration list for PBXNativeTarget "testoptions" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA5DF1CC037F00092477B /* Debug */, + 724FA5E01CC037F00092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA5F21CC038040092477B /* Build configuration list for PBXNativeTarget "testppd" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA5F31CC038040092477B /* Debug */, + 724FA5F41CC038040092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA6061CC038190092477B /* Build configuration list for PBXNativeTarget "testpwg" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA6071CC038190092477B /* Debug */, + 724FA6081CC038190092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA61A1CC0382B0092477B /* Build configuration list for PBXNativeTarget "testraster" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA61B1CC0382B0092477B /* Debug */, + 724FA61C1CC0382B0092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA62E1CC038410092477B /* Build configuration list for PBXNativeTarget "testsnmp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA62F1CC038410092477B /* Debug */, + 724FA6301CC038410092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA6421CC038560092477B /* Build configuration list for PBXNativeTarget "testspeed" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA6431CC038560092477B /* Debug */, + 724FA6441CC038560092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA6561CC0386E0092477B /* Build configuration list for PBXNativeTarget "testsub" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA6571CC0386E0092477B /* Debug */, + 724FA6581CC0386E0092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA66D1CC038A50092477B /* Build configuration list for PBXNativeTarget "test1284" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA66E1CC038A50092477B /* Debug */, + 724FA66F1CC038A50092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA6801CC038BD0092477B /* Build configuration list for PBXNativeTarget "testbackend" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA6811CC038BD0092477B /* Debug */, + 724FA6821CC038BD0092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA6941CC038D90092477B /* Build configuration list for PBXNativeTarget "testsupplies" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA6951CC038D90092477B /* Debug */, + 724FA6961CC038D90092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA6A71CC039200092477B /* Build configuration list for PBXNativeTarget "testcgi" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA6A81CC039200092477B /* Debug */, + 724FA6A91CC039200092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA6BA1CC0393E0092477B /* Build configuration list for PBXNativeTarget "testhi" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA6BB1CC0393E0092477B /* Debug */, + 724FA6BC1CC0393E0092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA6CE1CC0395A0092477B /* Build configuration list for PBXNativeTarget "testtemplate" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA6CF1CC0395A0092477B /* Debug */, + 724FA6D01CC0395A0092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA6E71CC039DE0092477B /* Build configuration list for PBXNativeTarget "testnotify" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA6E81CC039DE0092477B /* Debug */, + 724FA6E91CC039DE0092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA6FC1CC03A210092477B /* Build configuration list for PBXNativeTarget "testcatalog" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA6FD1CC03A210092477B /* Debug */, + 724FA6FE1CC03A210092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA70C1CC03A490092477B /* Build configuration list for PBXNativeTarget "libcupsimage_static" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA70D1CC03A490092477B /* Debug */, + 724FA70E1CC03A490092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA71C1CC03A990092477B /* Build configuration list for PBXNativeTarget "libcupsmime_static" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA71D1CC03A990092477B /* Debug */, + 724FA71E1CC03A990092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA73D1CC03AAF0092477B /* Build configuration list for PBXNativeTarget "libcupsppdc_static" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA73E1CC03AAF0092477B /* Debug */, + 724FA73F1CC03AAF0092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA74C1CC03ACC0092477B /* Build configuration list for PBXNativeTarget "libcupscgi" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA74D1CC03ACC0092477B /* Debug */, + 724FA74E1CC03ACC0092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 724FA7681CC03AF60092477B /* Build configuration list for PBXNativeTarget "libcupscgi_static" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 724FA7691CC03AF60092477B /* Debug */, + 724FA76A1CC03AF60092477B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7258EAE9134594C4009286F1 /* Build configuration list for PBXNativeTarget "rastertopwg" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7258EAEA134594C4009286F1 /* Debug */, + 7258EAEB134594C4009286F1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 726AD6FE135E88F1002C930D /* Build configuration list for PBXNativeTarget "ippeveprinter" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 726AD6FF135E88F1002C930D /* Debug */, + 726AD700135E88F1002C930D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 729181BB201155C1005E7560 /* Build configuration list for PBXNativeTarget "testclient" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 729181BC201155C1005E7560 /* Debug */, + 729181BD201155C1005E7560 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 72BF963A1333042100B1EAD7 /* Build configuration list for PBXProject "CUPS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 72BF963C1333042100B1EAD7 /* Debug */, + 72BF963D1333042100B1EAD7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 72CF95EE18A19134000FCAE4 /* Build configuration list for PBXNativeTarget "ippfind" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 72CF95EF18A19134000FCAE4 /* Debug */, + 72CF95F018A19134000FCAE4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 72F75A581336F951004BB496 /* Build configuration list for PBXNativeTarget "cupstestppd" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 72F75A591336F951004BB496 /* Debug */, + 72F75A5A1336F951004BB496 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 72F75A621336F9A3004BB496 /* Build configuration list for PBXNativeTarget "libcupsimage" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 72F75A631336F9A3004BB496 /* Debug */, + 72F75A641336F9A3004BB496 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 72BF96371333042100B1EAD7 /* Project object */; +} diff --git a/xcode/README.txt b/xcode/README.txt new file mode 100644 index 0000000..44009c0 --- /dev/null +++ b/xcode/README.txt @@ -0,0 +1,5 @@ +README - CUPS on macOS/iOS - 2016-08-08 +--------------------------------------- + +This directory contains an Xcode project for building CUPS for macOS and the +CUPS library for iOS. diff --git a/xcode/config.h b/xcode/config.h new file mode 100644 index 0000000..38998ee --- /dev/null +++ b/xcode/config.h @@ -0,0 +1,699 @@ +/* + * Configuration file for CUPS and Xcode. + * + * Copyright 2007-2019 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products. + * + * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + */ + +#ifndef _CUPS_CONFIG_H_ +#define _CUPS_CONFIG_H_ + +#include +#include + + +/* + * Version of software... + */ + +#define CUPS_SVERSION "CUPS v2.3.1" +#define CUPS_MINIMAL "CUPS/2.3.1" + + +/* + * Default user and groups... + */ + +#define CUPS_DEFAULT_USER "_lp" +#define CUPS_DEFAULT_GROUP "_lp" +#define CUPS_DEFAULT_SYSTEM_GROUPS "admin" +#define CUPS_DEFAULT_PRINTOPERATOR_AUTH "@AUTHKEY(system.print.operator) @admin @lpadmin" +#define CUPS_DEFAULT_SYSTEM_AUTHKEY "system.print.admin" + + +/* + * Default file permissions... + */ + +#define CUPS_DEFAULT_CONFIG_FILE_PERM 0644 +#define CUPS_DEFAULT_LOG_FILE_PERM 0644 + + +/* + * Default logging settings... + */ + +#define CUPS_DEFAULT_LOG_LEVEL "warn" +#define CUPS_DEFAULT_ACCESS_LOG_LEVEL "none" + + +/* + * Default fatal error settings... + */ + +#define CUPS_DEFAULT_FATAL_ERRORS "config" + + +/* + * Default browsing settings... + */ + +#define CUPS_DEFAULT_BROWSING 1 +#define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "dnssd" +#define CUPS_DEFAULT_DEFAULT_SHARED 1 + + +/* + * Default IPP port... + */ + +#define CUPS_DEFAULT_IPP_PORT 631 + + +/* + * Default printcap file... + */ + +#define CUPS_DEFAULT_PRINTCAP "/Library/Preferences/org.cups.printers.plist" + + +/* + * Default Samba and LPD config files... + */ + +#define CUPS_DEFAULT_SMB_CONFIG_FILE "" +#define CUPS_DEFAULT_LPD_CONFIG_FILE "launchd:///System/Library/LaunchDaemons/org.cups.cups-lpd.plist" + + +/* + * Default MaxCopies value... + */ + +#define CUPS_DEFAULT_MAX_COPIES 9999 + + +/* + * Do we have domain socket support, and if so what is the default one? + */ + +#define CUPS_DEFAULT_DOMAINSOCKET "/private/var/run/cupsd" + + +/* + * Default WebInterface value... + */ + +#define CUPS_DEFAULT_WEBIF 0 + + +/* + * Where are files stored? + * + * Note: These are defaults, which can be overridden by environment + * variables at run-time... + */ + +#define CUPS_BINDIR "/usr/bin" +#define CUPS_CACHEDIR "/private/var/spool/cups/cache" +#define CUPS_DATADIR "/usr/share/cups" +#define CUPS_DOCROOT "/usr/share/doc/cups" +#define CUPS_FONTPATH "/usr/share/cups/fonts" +#define CUPS_LOCALEDIR "/usr/share/locale" +#define CUPS_LOGDIR "/private/var/log/cups" +#define CUPS_REQUESTS "/private/var/spool/cups" +#define CUPS_SBINDIR "/usr/sbin" +#define CUPS_SERVERBIN "/usr/libexec/cups" +#define CUPS_SERVERROOT "/private/etc/cups" +#define CUPS_STATEDIR "/private/etc/cups" + + +/* + * Do we have posix_spawn? + */ + +#define HAVE_POSIX_SPAWN 1 + + +/* + * Do we have ZLIB? + */ + +#define HAVE_LIBZ 1 +#define HAVE_INFLATECOPY 1 + + +/* + * Do we have PAM stuff? + */ + +#if TARGET_OS_OSX +# define HAVE_LIBPAM 1 +/* #undef HAVE_PAM_PAM_APPL_H */ +# define HAVE_PAM_SET_ITEM 1 +# define HAVE_PAM_SETCRED 1 +#endif /* TARGET_OS_OSX */ + + +/* + * Do we have ? + */ + +/* #undef HAVE_SHADOW_H */ + + +/* + * Do we have ? + */ + +/* #undef HAVE_CRYPT_H */ + + +/* + * Use ? + */ + +#define HAVE_STDINT_H 1 + + +/* + * Use , , and/or ? + */ + +#define HAVE_STRING_H 1 +#define HAVE_STRINGS_H 1 +/* #undef HAVE_BSTRING_H */ + + +/* + * Do we have the long long type? + */ + +#define HAVE_LONG_LONG 1 + +#ifdef HAVE_LONG_LONG +# define CUPS_LLFMT "%lld" +# define CUPS_LLCAST (long long) +#else +# define CUPS_LLFMT "%ld" +# define CUPS_LLCAST (long) +#endif /* HAVE_LONG_LONG */ + + +/* + * Do we have the strtoll() function? + */ + +#define HAVE_STRTOLL 1 + +#ifndef HAVE_STRTOLL +# define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base)) +#endif /* !HAVE_STRTOLL */ + + +/* + * Do we have the strXXX() functions? + */ + +#define HAVE_STRDUP 1 +#define HAVE_STRLCAT 1 +#define HAVE_STRLCPY 1 + + +/* + * Do we have the geteuid() function? + */ + +#define HAVE_GETEUID 1 + + +/* + * Do we have the setpgid() function? + */ + +#define HAVE_SETPGID 1 + + +/* + * Do we have the vsyslog() function? + */ + +#define HAVE_VSYSLOG 1 + + +/* + * Do we have the systemd journal functions? + */ + +/* #undef HAVE_SYSTEMD_SD_JOURNAL_H */ + + +/* + * Do we have the (v)snprintf() functions? + */ + +#define HAVE_SNPRINTF 1 +#define HAVE_VSNPRINTF 1 + + +/* + * What signal functions to use? + */ + +#define HAVE_SIGSET 1 +#define HAVE_SIGACTION 1 + + +/* + * What wait functions to use? + */ + +#define HAVE_WAITPID 1 +#define HAVE_WAIT3 1 + + +/* + * Do we have the mallinfo function and malloc.h? + */ + +/* #undef HAVE_MALLINFO */ +/* #undef HAVE_MALLOC_H */ + + +/* + * Do we have the POSIX ACL functions? + */ + +#define HAVE_ACL_INIT 1 + + +/* + * Do we have the langinfo.h header file? + */ + +#define HAVE_LANGINFO_H 1 + + +/* + * Which encryption libraries do we have? + */ + +#define HAVE_CDSASSL 1 +/* #undef HAVE_GNUTLS */ +/* #undef HAVE_SSPISSL */ +#define HAVE_SSL 1 + + +/* + * Do we have the gnutls_transport_set_pull_timeout_function function? + */ + +/* #undef HAVE_GNUTLS_TRANSPORT_SET_PULL_TIMEOUT_FUNCTION */ + + +/* + * Do we have the gnutls_priority_set_direct function? + */ + +/* #undef HAVE_GNUTLS_PRIORITY_SET_DIRECT */ + + +/* + * What Security framework headers do we have? + */ + +#if TARGET_OS_OSX +# define HAVE_AUTHORIZATION_H 1 +#endif /* TARGET_OS_OSX */ + +#define HAVE_SECCERTIFICATE_H 1 +#define HAVE_SECITEM_H 1 +#define HAVE_SECPOLICY_H 1 + + +/* + * Do we have the SecGenerateSelfSignedCertificate function? + */ + +#if !TARGET_OS_OSX +# define HAVE_SECGENERATESELFSIGNEDCERTIFICATE 1 +#endif /* !TARGET_OS_OSX */ + + +/* + * Do we have libpaper? + */ + +/* #undef HAVE_LIBPAPER */ + + +/* + * Do we have mDNSResponder for DNS Service Discovery (aka Bonjour)? + */ + +#define HAVE_DNSSD 1 + + +/* + * Do we have Avahi for DNS Service Discovery (aka Bonjour)? + */ + +/* #undef HAVE_AVAHI */ + + +/* + * Do we have ? + */ + +#define HAVE_SYS_IOCTL_H 1 + + +/* + * Does the "stat" structure contain the "st_gen" member? + */ + +#define HAVE_ST_GEN 1 + + +/* + * Does the "tm" structure contain the "tm_gmtoff" member? + */ + +#define HAVE_TM_GMTOFF 1 + + +/* + * Do we have rresvport_af()? + */ + +#define HAVE_RRESVPORT_AF 1 + + +/* + * Do we have getaddrinfo()? + */ + +#define HAVE_GETADDRINFO 1 + + +/* + * Do we have getnameinfo()? + */ + +#define HAVE_GETNAMEINFO 1 + + +/* + * Do we have getifaddrs()? + */ + +#define HAVE_GETIFADDRS 1 + + +/* + * Do we have hstrerror()? + */ + +#define HAVE_HSTRERROR 1 + + +/* + * Do we have res_init()? + */ + +#define HAVE_RES_INIT 1 + + +/* + * Do we have + */ + +#define HAVE_RESOLV_H 1 + + +/* + * Do we have the header file? + */ + +#define HAVE_SYS_SOCKIO_H 1 + + +/* + * Does the sockaddr structure contain an sa_len parameter? + */ + +/* #undef HAVE_STRUCT_SOCKADDR_SA_LEN */ + + +/* + * Do we have pthread support? + */ + +#define HAVE_PTHREAD_H 1 + + +/* + * Do we have on-demand support (launchd/systemd/upstart)? + */ + +#define HAVE_ONDEMAND 1 + + +/* + * Do we have launchd support? + */ + +#define HAVE_LAUNCH_H 1 +#define HAVE_LAUNCHD 1 + + +/* + * Do we have systemd support? + */ + +/* #undef HAVE_SYSTEMD */ + + +/* + * Do we have upstart support? + */ + +/* #undef HAVE_UPSTART */ + + +/* + * Do we have CoreFoundation public headers? + */ + +#define HAVE_COREFOUNDATION_H 1 + + +/* + * Do we have ApplicationServices public headers? + */ + +#if TARGET_OS_OSX +# define HAVE_APPLICATIONSERVICES_H 1 +#endif /* TARGET_OS_OSX */ + + +/* + * Do we have the SCDynamicStoreCopyComputerName function? + */ + +#if TARGET_OS_OSX +# define HAVE_SCDYNAMICSTORECOPYCOMPUTERNAME 1 +#endif /* TARGET_OS_OSX */ + + +/* + * Do we have the getgrouplist() function? + */ + +#define HAVE_GETGROUPLIST 1 + + +/* + * Do we have macOS 10.4's mbr_XXX functions? + */ + +#define HAVE_MEMBERSHIP_H 1 +#define HAVE_MBR_UID_TO_UUID 1 + + +/* + * Do we have Darwin's notify_post header and function? + */ + +#define HAVE_NOTIFY_H 1 +#define HAVE_NOTIFY_POST 1 + + +/* + * Do we have DBUS? + */ + +/* #undef HAVE_DBUS */ +/* #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND */ +/* #undef HAVE_DBUS_THREADS_INIT */ + + +/* + * Do we have the GSSAPI support library (for Kerberos support)? + */ + +#if TARGET_OS_OSX +# define HAVE_GSS_ACQUIRED_CRED_EX_F 1 +# define HAVE_GSS_C_NT_HOSTBASED_SERVICE 1 +# define HAVE_GSS_GSSAPI_H 1 +/* #undef HAVE_GSS_GSSAPI_SPI_H */ +# define HAVE_GSSAPI 1 +/* #undef HAVE_GSSAPI_GSSAPI_H */ +/* #undef HAVE_GSSAPI_H */ +#endif /* TARGET_OS_OSX */ + + +/* + * Default GSS service name... + */ + +#define CUPS_DEFAULT_GSSSERVICENAME "host" + + +/* + * Select/poll interfaces... + */ + +#define HAVE_POLL 1 +/* #undef HAVE_EPOLL */ +#define HAVE_KQUEUE 1 + + +/* + * Do we have the header? + */ + +#define HAVE_DLFCN_H 1 + + +/* + * Do we have ? + */ + +#define HAVE_SYS_PARAM_H 1 + + +/* + * Do we have ? + */ + +#define HAVE_SYS_UCRED_H 1 + + +/* + * Do we have removefile()? + */ + +#define HAVE_REMOVEFILE 1 + + +/* + * Do we have ? + */ + +#define HAVE_SANDBOX_H 1 + + +/* + * Which random number generator function to use... + */ + +#define HAVE_ARC4RANDOM 1 +#define HAVE_RANDOM 1 +#define HAVE_LRAND48 1 + +#ifdef HAVE_ARC4RANDOM +# define CUPS_RAND() arc4random() +# define CUPS_SRAND(v) +#elif defined(HAVE_RANDOM) +# define CUPS_RAND() random() +# define CUPS_SRAND(v) srandom(v) +#elif defined(HAVE_LRAND48) +# define CUPS_RAND() lrand48() +# define CUPS_SRAND(v) srand48(v) +#else +# define CUPS_RAND() rand() +# define CUPS_SRAND(v) srand(v) +#endif /* HAVE_ARC4RANDOM */ + + +/* + * Do we have libusb? + */ + +/* #undef HAVE_LIBUSB */ + + +/* + * Do we have libwrap and tcpd.h? + */ + +/* #undef HAVE_TCPD_H */ + + +/* + * Do we have ? + */ + +#define HAVE_ICONV_H 1 + + +/* + * Do we have statfs or statvfs and one of the corresponding headers? + */ + +#define HAVE_STATFS 1 +#define HAVE_STATVFS 1 +#define HAVE_SYS_MOUNT_H 1 +/* #undef HAVE_SYS_STATFS_H */ +#define HAVE_SYS_STATVFS_H 1 +/* #undef HAVE_SYS_VFS_H */ + + +/* + * Location of localization bundle, if any. + */ + +#if TARGET_OS_OSX +# define CUPS_BUNDLEDIR "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A" +#else +# define CUPS_BUNDLEDIR "/System/Library/PrivateFrameworks/PrintKit.framework/Versions/A" +#endif /* TARGET_OS_OSX */ + + +/* + * Do we have XPC? + */ + +#define HAVE_XPC 1 + + +/* + * Do we have the C99 abs() function? + */ + +#define HAVE_ABS 1 +#if !defined(HAVE_ABS) && !defined(abs) +# if defined(__GNUC__) || __STDC_VERSION__ >= 199901L +# define abs(x) _cups_abs(x) +static inline int _cups_abs(int i) { return (i < 0 ? -i : i); } +# elif defined(_MSC_VER) +# define abs(x) _cups_abs(x) +static __inline int _cups_abs(int i) { return (i < 0 ? -i : i); } +# else +# define abs(x) ((x) < 0 ? -(x) : (x)) +# endif /* __GNUC__ || __STDC_VERSION__ */ +#endif /* !HAVE_ABS && !abs */ + +#endif /* !_CUPS_CONFIG_H_ */